From 6ee737ecfb965a2afe363895e5bafa5d7f34450f Mon Sep 17 00:00:00 2001 From: Trinh Dai Phuc <1653068@student.hcmus.edu.vn> Date: Mon, 23 Dec 2019 14:14:17 +0700 Subject: [PATCH 1/3] Add dockerfile --- .dockerignore | 2 + .gitignore | 5 +- Dockerfile.app | 21 + Dockerfile.gateway | 20 + docker-compose.yml | 40 + gateway/main.go | 27 +- go.mod | 19 +- go.sum | 32 +- server/main.go | 15 +- .../jsonpb_test_proto/more_test_objects.pb.go | 375 - .../jsonpb_test_proto/test_objects.pb.go | 1273 -- .../protobuf/proto/proto3_proto/proto3.pb.go | 577 - .../protobuf/proto/test_proto/test.pb.go | 4926 ------ .../protoc-gen-go/descriptor/descriptor.pb.go | 2887 ---- .../protoc-gen-go/plugin/plugin.pb.go | 369 - .../protoc-gen-go/plugin/plugin.pb.golden | 83 - .../testdata/deprecated/deprecated.pb.go | 283 - .../extension_base/extension_base.pb.go | 136 - .../extension_extra/extension_extra.pb.go | 81 - .../extension_user/extension_user.pb.go | 408 - .../protoc-gen-go/testdata/grpc/grpc.pb.go | 466 - .../testdata/grpc/grpc_empty.pb.go | 79 - .../testdata/import_public/a.pb.go | 141 - .../testdata/import_public/b.pb.go | 90 - .../import_public/importing/importing.pb.go | 85 - .../testdata/import_public/sub/a.pb.go | 409 - .../testdata/import_public/sub/b.pb.go | 80 - .../testdata/imports/fmt/m.pb.go | 69 - .../testdata/imports/test_a_1/m1.pb.go | 136 - .../testdata/imports/test_a_1/m2.pb.go | 70 - .../testdata/imports/test_a_2/m3.pb.go | 70 - .../testdata/imports/test_a_2/m4.pb.go | 70 - .../testdata/imports/test_b_1/m1.pb.go | 70 - .../testdata/imports/test_b_1/m2.pb.go | 70 - .../testdata/imports/test_import_a1m1.pb.go | 81 - .../testdata/imports/test_import_a1m2.pb.go | 81 - .../testdata/imports/test_import_all.pb.go | 139 - .../issue780_oneof_conflict/test.pb.go | 103 - .../protoc-gen-go/testdata/multi/multi1.pb.go | 99 - .../protoc-gen-go/testdata/multi/multi2.pb.go | 135 - .../protoc-gen-go/testdata/multi/multi3.pb.go | 122 - .../protoc-gen-go/testdata/my_test/test.pb.go | 1100 -- .../testdata/proto3/proto3.pb.go | 202 - .../golang/protobuf/ptypes/any/any.pb.go | 200 - .../protobuf/ptypes/duration/duration.pb.go | 161 - .../golang/protobuf/ptypes/empty/empty.pb.go | 83 - .../protobuf/ptypes/struct/struct.pb.go | 336 - .../protobuf/ptypes/timestamp/timestamp.pb.go | 179 - .../protobuf/ptypes/wrappers/wrappers.pb.go | 461 - .../grpc-gateway/bin/.gitignore | 3 - .../examples/browser/bin/.gitignore | 2 - .../pbwrappers/helloworld/helloworld.pb.go | 288 - .../pbwrappers/helloworld/helloworld.pb.gw.go | 664 - .../proto/examplepb/a_bit_of_everything.pb.go | 1877 --- .../examplepb/a_bit_of_everything.pb.gw.go | 3146 ---- .../proto/examplepb/echo_service.pb.go | 610 - .../proto/examplepb/echo_service.pb.gw.go | 935 -- .../proto/examplepb/flow_combination.pb.go | 840 - .../proto/examplepb/flow_combination.pb.gw.go | 2479 --- .../proto/examplepb/non_standard_names.pb.go | 634 - .../examplepb/non_standard_names.pb.gw.go | 303 - .../examplepb/response_body_service.pb.go | 474 - .../examplepb/response_body_service.pb.gw.go | 406 - .../examples/proto/examplepb/stream.pb.go | 286 - .../examples/proto/examplepb/stream.pb.gw.go | 293 - .../examplepb/unannotated_echo_service.pb.go | 270 - .../unannotated_echo_service.pb.gw.go | 488 - .../examples/proto/examplepb/wrappers.pb.go | 580 - .../proto/examplepb/wrappers.pb.gw.go | 945 -- .../examples/proto/pathenum/path_enum.pb.go | 120 - .../examples/proto/sub/message.pb.go | 77 - .../examples/proto/sub2/message.pb.go | 78 - .../grpc-gateway/internal/stream_chunk.pb.go | 118 - .../options/annotations.pb.go | 103 - .../options/openapiv2.pb.go | 1598 -- .../ads/googleads/v1/common/ad_asset.pb.go | 242 - .../googleads/v1/common/ad_type_infos.pb.go | 2287 --- .../ads/googleads/v1/common/asset_types.pb.go | 329 - .../ads/googleads/v1/common/bidding.pb.go | 896 - .../googleads/v1/common/click_location.pb.go | 136 - .../ads/googleads/v1/common/criteria.pb.go | 3050 ---- .../criterion_category_availability.pb.go | 267 - .../v1/common/custom_parameter.pb.go | 106 - .../ads/googleads/v1/common/dates.pb.go | 105 - .../explorer_auto_optimizer_setting.pb.go | 99 - .../ads/googleads/v1/common/extensions.pb.go | 1271 -- .../ads/googleads/v1/common/feed_common.pb.go | 107 - .../googleads/v1/common/final_app_url.pb.go | 116 - .../googleads/v1/common/frequency_cap.pb.go | 190 - .../v1/common/keyword_plan_common.pb.go | 112 - .../v1/common/matching_function.pb.go | 536 - .../ads/googleads/v1/common/metrics.pb.go | 1379 -- .../ads/googleads/v1/common/policy.pb.go | 965 -- .../v1/common/real_time_bidding_setting.pb.go | 97 - .../ads/googleads/v1/common/segments.pb.go | 942 -- .../ads/googleads/v1/common/simulation.pb.go | 651 - .../ads/googleads/v1/common/tag_snippet.pb.go | 135 - .../v1/common/targeting_setting.pb.go | 163 - .../ads/googleads/v1/common/text_label.pb.go | 109 - .../googleads/v1/common/url_collection.pb.go | 128 - .../ads/googleads/v1/common/user_lists.pb.go | 1191 -- .../ads/googleads/v1/common/value.pb.go | 184 - .../googleads/v1/enums/access_reason.pb.go | 137 - .../account_budget_proposal_status.pb.go | 143 - .../enums/account_budget_proposal_type.pb.go | 133 - .../v1/enums/account_budget_status.pb.go | 128 - .../ad_customizer_placeholder_field.pb.go | 134 - .../v1/enums/ad_group_ad_rotation_mode.pb.go | 128 - .../v1/enums/ad_group_ad_status.pb.go | 130 - .../ad_group_criterion_approval_status.pb.go | 134 - .../v1/enums/ad_group_criterion_status.pb.go | 131 - .../googleads/v1/enums/ad_group_status.pb.go | 130 - .../googleads/v1/enums/ad_group_type.pb.go | 178 - .../googleads/v1/enums/ad_network_type.pb.go | 143 - .../ad_serving_optimization_status.pb.go | 144 - .../ads/googleads/v1/enums/ad_strength.pb.go | 141 - .../ads/googleads/v1/enums/ad_type.pb.go | 208 - .../enums/advertising_channel_sub_type.pb.go | 183 - .../v1/enums/advertising_channel_type.pb.go | 145 - ...iate_location_feed_relationship_type.pb.go | 124 - ...affiliate_location_placeholder_field.pb.go | 167 - .../googleads/v1/enums/age_range_type.pb.go | 148 - .../v1/enums/app_campaign_app_store.pb.go | 124 - ..._campaign_bidding_strategy_goal_type.pb.go | 148 - .../v1/enums/app_payment_model_type.pb.go | 119 - .../v1/enums/app_placeholder_field.pb.go | 159 - .../ads/googleads/v1/enums/app_store.pb.go | 123 - .../enums/app_url_operating_system_type.pb.go | 124 - .../ads/googleads/v1/enums/asset_type.pb.go | 133 - .../v1/enums/attribution_model.pb.go | 159 - .../v1/enums/bid_modifier_source.pb.go | 125 - .../googleads/v1/enums/bidding_source.pb.go | 131 - .../v1/enums/bidding_strategy_status.pb.go | 126 - .../v1/enums/bidding_strategy_type.pb.go | 205 - .../v1/enums/billing_setup_status.pb.go | 135 - .../v1/enums/brand_safety_suitability.pb.go | 150 - .../v1/enums/budget_delivery_method.pb.go | 127 - .../googleads/v1/enums/budget_period.pb.go | 128 - .../googleads/v1/enums/budget_status.pb.go | 123 - .../ads/googleads/v1/enums/budget_type.pb.go | 142 - .../call_conversion_reporting_state.pb.go | 134 - .../v1/enums/call_placeholder_field.pb.go | 147 - .../v1/enums/callout_placeholder_field.pb.go | 120 - .../v1/enums/campaign_criterion_status.pb.go | 130 - .../v1/enums/campaign_draft_status.pb.go | 144 - .../v1/enums/campaign_experiment_status.pb.go | 164 - ...mpaign_experiment_traffic_split_type.pb.go | 131 - .../v1/enums/campaign_experiment_type.pb.go | 135 - .../v1/enums/campaign_serving_status.pb.go | 139 - .../v1/enums/campaign_shared_set_status.pb.go | 124 - .../googleads/v1/enums/campaign_status.pb.go | 128 - .../v1/enums/change_status_operation.pb.go | 129 - .../enums/change_status_resource_type.pb.go | 164 - .../ads/googleads/v1/enums/click_type.pb.go | 368 - .../v1/enums/content_label_type.pb.go | 186 - .../v1/enums/conversion_action_category.pb.go | 144 - .../conversion_action_counting_type.pb.go | 127 - .../v1/enums/conversion_action_status.pb.go | 129 - .../v1/enums/conversion_action_type.pb.go | 158 - .../v1/enums/conversion_adjustment_type.pb.go | 126 - .../conversion_attribution_event_type.pb.go | 125 - .../v1/enums/conversion_lag_bucket.pb.go | 222 - .../conversion_or_adjustment_lag_bucket.pb.go | 348 - ...n_category_channel_availability_mode.pb.go | 141 - ...on_category_locale_availability_mode.pb.go | 145 - .../criterion_system_serving_status.pb.go | 125 - .../googleads/v1/enums/criterion_type.pb.go | 255 - .../enums/custom_interest_member_type.pb.go | 124 - .../v1/enums/custom_interest_status.pb.go | 125 - .../v1/enums/custom_interest_type.pb.go | 124 - .../v1/enums/custom_placeholder_field.pb.go | 234 - .../customer_match_upload_key_type.pb.go | 132 - ...onversion_eligibility_failure_reason.pb.go | 161 - .../v1/enums/data_driven_model_status.pb.go | 140 - .../ads/googleads/v1/enums/day_of_week.pb.go | 146 - .../ads/googleads/v1/enums/device.pb.go | 136 - .../v1/enums/display_ad_format_setting.pb.go | 130 - .../enums/display_upload_product_type.pb.go | 187 - .../enums/dsa_page_feed_criterion_field.pb.go | 125 - .../enums/education_placeholder_field.pb.go | 213 - .../v1/enums/extension_setting_device.pb.go | 126 - .../googleads/v1/enums/extension_type.pb.go | 171 - .../v1/enums/external_conversion_source.pb.go | 240 - .../v1/enums/feed_attribute_type.pb.go | 174 - .../feed_item_quality_approval_status.pb.go | 127 - ...feed_item_quality_disapproval_reason.pb.go | 209 - .../googleads/v1/enums/feed_item_status.pb.go | 123 - .../v1/enums/feed_item_target_device.pb.go | 120 - .../v1/enums/feed_item_target_type.pb.go | 129 - .../enums/feed_item_validation_status.pb.go | 128 - .../googleads/v1/enums/feed_link_status.pb.go | 123 - .../enums/feed_mapping_criterion_type.pb.go | 126 - .../v1/enums/feed_mapping_status.pb.go | 123 - .../ads/googleads/v1/enums/feed_origin.pb.go | 126 - .../ads/googleads/v1/enums/feed_status.pb.go | 123 - .../v1/enums/flight_placeholder_field.pb.go | 219 - .../v1/enums/frequency_cap_event_type.pb.go | 124 - .../v1/enums/frequency_cap_level.pb.go | 129 - .../v1/enums/frequency_cap_time_unit.pb.go | 129 - .../ads/googleads/v1/enums/gender_type.pb.go | 128 - .../v1/enums/geo_target_constant_status.pb.go | 127 - .../v1/enums/geo_targeting_restriction.pb.go | 122 - .../v1/enums/geo_targeting_type.pb.go | 125 - .../v1/enums/google_ads_field_category.pb.go | 138 - .../v1/enums/google_ads_field_data_type.pb.go | 190 - .../v1/enums/hotel_date_selection_type.pb.go | 125 - .../v1/enums/hotel_placeholder_field.pb.go | 230 - .../googleads/v1/enums/hotel_rate_type.pb.go | 139 - .../v1/enums/income_range_type.pb.go | 149 - .../v1/enums/interaction_event_type.pb.go | 139 - .../googleads/v1/enums/interaction_type.pb.go | 119 - .../v1/enums/job_placeholder_field.pb.go | 215 - .../v1/enums/keyword_match_type.pb.go | 128 - .../keyword_plan_competition_level.pb.go | 133 - .../keyword_plan_forecast_interval.pb.go | 133 - .../v1/enums/keyword_plan_network.pb.go | 125 - .../ads/googleads/v1/enums/label_status.pb.go | 123 - .../legacy_app_install_ad_app_store.pb.go | 140 - .../listing_custom_attribute_index.pb.go | 137 - .../v1/enums/listing_group_type.pb.go | 126 - .../v1/enums/local_placeholder_field.pb.go | 222 - ..._extension_targeting_criterion_field.pb.go | 148 - .../enums/location_group_radius_units.pb.go | 124 - .../v1/enums/location_placeholder_field.pb.go | 153 - .../v1/enums/manager_link_status.pb.go | 139 - .../matching_function_context_type.pb.go | 125 - .../v1/enums/matching_function_operator.pb.go | 144 - .../ads/googleads/v1/enums/media_type.pb.go | 144 - .../enums/merchant_center_link_status.pb.go | 127 - .../v1/enums/message_placeholder_field.pb.go | 142 - .../ads/googleads/v1/enums/mime_type.pb.go | 171 - .../googleads/v1/enums/minute_of_hour.pb.go | 133 - .../v1/enums/mobile_device_type.pb.go | 124 - .../googleads/v1/enums/month_of_year.pb.go | 169 - .../v1/enums/mutate_job_status.pb.go | 128 - .../v1/enums/negative_geo_target_type.pb.go | 127 - ...erating_system_version_operator_type.pb.go | 128 - .../page_one_promoted_strategy_goal.pb.go | 126 - .../v1/enums/parental_status_type.pb.go | 129 - .../ads/googleads/v1/enums/payment_mode.pb.go | 134 - .../googleads/v1/enums/placeholder_type.pb.go | 223 - .../googleads/v1/enums/placement_type.pb.go | 139 - .../v1/enums/policy_approval_status.pb.go | 139 - .../v1/enums/policy_review_status.pb.go | 132 - .../v1/enums/policy_topic_entry_type.pb.go | 148 - ...idence_destination_mismatch_url_type.pb.go | 148 - ...dence_destination_not_working_device.pb.go | 137 - .../v1/enums/positive_geo_target_type.pb.go | 133 - .../v1/enums/preferred_content_type.pb.go | 120 - .../price_extension_price_qualifier.pb.go | 129 - .../v1/enums/price_extension_price_unit.pb.go | 142 - .../v1/enums/price_extension_type.pb.go | 157 - .../v1/enums/price_placeholder_field.pb.go | 391 - .../product_bidding_category_level.pb.go | 137 - .../product_bidding_category_status.pb.go | 124 - .../googleads/v1/enums/product_channel.pb.go | 123 - .../enums/product_channel_exclusivity.pb.go | 127 - .../v1/enums/product_condition.pb.go | 128 - .../v1/enums/product_type_level.pb.go | 136 - ...romotion_extension_discount_modifier.pb.go | 123 - .../enums/promotion_extension_occasion.pb.go | 288 - .../enums/promotion_placeholder_field.pb.go | 191 - .../v1/enums/proximity_radius_units.pb.go | 124 - .../v1/enums/quality_score_bucket.pb.go | 128 - .../enums/real_estate_placeholder_field.pb.go | 218 - .../v1/enums/recommendation_type.pb.go | 189 - .../search_engine_results_page_type.pb.go | 131 - .../v1/enums/search_term_match_type.pb.go | 138 - .../enums/search_term_targeting_status.pb.go | 135 - .../v1/enums/served_asset_field_type.pb.go | 140 - .../v1/enums/shared_set_status.pb.go | 123 - .../googleads/v1/enums/shared_set_type.pb.go | 124 - .../simulation_modification_method.pb.go | 128 - .../googleads/v1/enums/simulation_type.pb.go | 133 - .../v1/enums/sitelink_placeholder_field.pb.go | 152 - .../ads/googleads/v1/enums/slot.pb.go | 146 - .../v1/enums/spending_limit_type.pb.go | 120 - ...structured_snippet_placeholder_field.pb.go | 131 - .../enums/system_managed_entity_source.pb.go | 120 - ...arget_cpa_opt_in_recommendation_goal.pb.go | 136 - .../target_impression_share_location.pb.go | 132 - .../v1/enums/targeting_dimension.pb.go | 158 - .../ads/googleads/v1/enums/time_type.pb.go | 124 - .../v1/enums/tracking_code_page_format.pb.go | 126 - .../v1/enums/tracking_code_type.pb.go | 133 - .../v1/enums/travel_placeholder_field.pb.go | 233 - .../enums/user_interest_taxonomy_type.pb.go | 141 - .../v1/enums/user_list_access_status.pb.go | 124 - .../v1/enums/user_list_closing_reason.pb.go | 120 - .../user_list_combined_rule_operator.pb.go | 124 - .../user_list_crm_data_source_type.pb.go | 131 - .../user_list_date_rule_item_operator.pb.go | 134 - .../user_list_logical_rule_operator.pb.go | 129 - .../enums/user_list_membership_status.pb.go | 126 - .../user_list_number_rule_item_operator.pb.go | 144 - .../user_list_prepopulation_status.pb.go | 129 - .../v1/enums/user_list_rule_type.pb.go | 124 - .../v1/enums/user_list_size_range.pb.go | 192 - .../user_list_string_rule_item_operator.pb.go | 153 - .../googleads/v1/enums/user_list_type.pb.go | 144 - .../vanity_pharma_display_url_mode.pb.go | 126 - .../v1/enums/vanity_pharma_text.pb.go | 178 - .../v1/enums/webpage_condition_operand.pb.go | 139 - .../v1/enums/webpage_condition_operator.pb.go | 125 - .../account_budget_proposal_error.pb.go | 231 - .../v1/errors/ad_customizer_error.pb.go | 141 - .../ads/googleads/v1/errors/ad_error.pb.go | 764 - .../v1/errors/ad_group_ad_error.pb.go | 158 - .../errors/ad_group_bid_modifier_error.pb.go | 128 - .../v1/errors/ad_group_criterion_error.pb.go | 315 - .../googleads/v1/errors/ad_group_error.pb.go | 182 - .../v1/errors/ad_group_feed_error.pb.go | 154 - .../v1/errors/ad_parameter_error.pb.go | 126 - .../v1/errors/ad_sharing_error.pb.go | 132 - .../ads/googleads/v1/errors/adx_error.pb.go | 119 - .../ads/googleads/v1/errors/asset_error.pb.go | 142 - .../v1/errors/authentication_error.pb.go | 208 - .../v1/errors/authorization_error.pb.go | 173 - .../googleads/v1/errors/bidding_error.pb.go | 240 - .../v1/errors/bidding_strategy_error.pb.go | 144 - .../v1/errors/billing_setup_error.pb.go | 204 - .../v1/errors/campaign_budget_error.pb.go | 198 - .../v1/errors/campaign_criterion_error.pb.go | 177 - .../v1/errors/campaign_draft_error.pb.go | 172 - .../googleads/v1/errors/campaign_error.pb.go | 332 - .../v1/errors/campaign_experiment_error.pb.go | 175 - .../v1/errors/campaign_feed_error.pb.go | 148 - .../v1/errors/campaign_shared_set_error.pb.go | 120 - .../v1/errors/change_status_error.pb.go | 120 - .../v1/errors/collection_size_error.pb.go | 124 - .../googleads/v1/errors/context_error.pb.go | 125 - .../v1/errors/conversion_action_error.pb.go | 163 - .../conversion_adjustment_upload_error.pb.go | 170 - .../v1/errors/conversion_upload_error.pb.go | 243 - .../v1/errors/country_code_error.pb.go | 120 - .../googleads/v1/errors/criterion_error.pb.go | 624 - .../v1/errors/custom_interest_error.pb.go | 153 - .../errors/customer_client_link_error.pb.go | 153 - .../googleads/v1/errors/customer_error.pb.go | 128 - .../v1/errors/customer_feed_error.pb.go | 153 - .../errors/customer_manager_link_error.pb.go | 162 - .../googleads/v1/errors/database_error.pb.go | 120 - .../ads/googleads/v1/errors/date_error.pb.go | 164 - .../v1/errors/date_range_error.pb.go | 141 - .../googleads/v1/errors/distinct_error.pb.go | 124 - .../ads/googleads/v1/errors/enum_error.pb.go | 119 - .../ads/googleads/v1/errors/errors.pb.go | 2271 --- .../v1/errors/extension_feed_item_error.pb.go | 349 - .../v1/errors/extension_setting_error.pb.go | 456 - .../feed_attribute_reference_error.pb.go | 131 - .../ads/googleads/v1/errors/feed_error.pb.go | 216 - .../googleads/v1/errors/feed_item_error.pb.go | 163 - .../v1/errors/feed_item_target_error.pb.go | 151 - .../errors/feed_item_validation_error.pb.go | 597 - .../v1/errors/feed_mapping_error.pb.go | 200 - .../ads/googleads/v1/errors/field_error.pb.go | 149 - .../v1/errors/field_mask_error.pb.go | 137 - .../googleads/v1/errors/function_error.pb.go | 195 - .../v1/errors/function_parsing_error.pb.go | 171 - ...geo_target_constant_suggestion_error.pb.go | 139 - .../googleads/v1/errors/header_error.pb.go | 119 - .../ads/googleads/v1/errors/id_error.pb.go | 118 - .../ads/googleads/v1/errors/image_error.pb.go | 295 - .../googleads/v1/errors/internal_error.pb.go | 131 - .../errors/keyword_plan_ad_group_error.pb.go | 128 - .../errors/keyword_plan_campaign_error.pb.go | 142 - .../v1/errors/keyword_plan_error.pb.go | 187 - .../v1/errors/keyword_plan_idea_error.pb.go | 125 - .../errors/keyword_plan_keyword_error.pb.go | 147 - .../keyword_plan_negative_keyword_error.pb.go | 117 - .../ads/googleads/v1/errors/label_error.pb.go | 164 - .../v1/errors/language_code_error.pb.go | 125 - .../v1/errors/list_operation_error.pb.go | 125 - .../v1/errors/manager_link_error.pb.go | 187 - .../v1/errors/media_bundle_error.pb.go | 225 - .../v1/errors/media_file_error.pb.go | 231 - .../v1/errors/media_upload_error.pb.go | 135 - .../v1/errors/multiplier_error.pb.go | 178 - .../googleads/v1/errors/mutate_error.pb.go | 146 - .../v1/errors/mutate_job_error.pb.go | 142 - .../errors/new_resource_creation_error.pb.go | 132 - .../googleads/v1/errors/not_empty_error.pb.go | 119 - .../v1/errors/not_whitelisted_error.pb.go | 121 - .../ads/googleads/v1/errors/null_error.pb.go | 118 - .../operation_access_denied_error.pb.go | 164 - .../googleads/v1/errors/operator_error.pb.go | 119 - .../v1/errors/partial_failure_error.pb.go | 121 - .../v1/errors/policy_finding_error.pb.go | 126 - .../policy_validation_parameter_error.pb.go | 134 - .../v1/errors/policy_violation_error.pb.go | 119 - .../ads/googleads/v1/errors/query_error.pb.go | 379 - .../ads/googleads/v1/errors/quota_error.pb.go | 129 - .../ads/googleads/v1/errors/range_error.pb.go | 123 - .../v1/errors/recommendation_error.pb.go | 189 - .../v1/errors/region_code_error.pb.go | 119 - .../googleads/v1/errors/request_error.pb.go | 207 - .../errors/resource_access_denied_error.pb.go | 120 - .../resource_count_limit_exceeded_error.pb.go | 175 - .../googleads/v1/errors/setting_error.pb.go | 218 - .../v1/errors/shared_criterion_error.pb.go | 121 - .../v1/errors/shared_set_error.pb.go | 136 - .../v1/errors/size_limit_error.pb.go | 125 - .../v1/errors/string_format_error.pb.go | 124 - .../v1/errors/string_length_error.pb.go | 124 - .../googleads/v1/errors/url_field_error.pb.go | 374 - .../googleads/v1/errors/user_list_error.pb.go | 254 - .../youtube_video_registration_error.pb.go | 125 - .../v1/resources/account_budget.pb.go | 723 - .../resources/account_budget_proposal.pb.go | 484 - .../ads/googleads/v1/resources/ad.pb.go | 569 - .../ads/googleads/v1/resources/ad_group.pb.go | 386 - .../googleads/v1/resources/ad_group_ad.pb.go | 225 - .../v1/resources/ad_group_ad_label.pb.go | 118 - .../v1/resources/ad_group_audience_view.pb.go | 100 - .../v1/resources/ad_group_bid_modifier.pb.go | 290 - .../v1/resources/ad_group_criterion.pb.go | 890 - .../resources/ad_group_criterion_label.pb.go | 120 - .../ad_group_criterion_simulation.pb.go | 212 - .../ad_group_extension_setting.pb.go | 153 - .../v1/resources/ad_group_feed.pb.go | 162 - .../v1/resources/ad_group_label.pb.go | 118 - .../v1/resources/ad_group_simulation.pb.go | 241 - .../googleads/v1/resources/ad_parameter.pb.go | 150 - .../v1/resources/ad_schedule_view.pb.go | 97 - .../v1/resources/age_range_view.pb.go | 96 - .../ads/googleads/v1/resources/asset.pb.go | 223 - .../v1/resources/bidding_strategy.pb.go | 321 - .../v1/resources/billing_setup.pb.go | 363 - .../ads/googleads/v1/resources/campaign.pb.go | 1270 -- .../v1/resources/campaign_audience_view.pb.go | 102 - .../v1/resources/campaign_bid_modifier.pb.go | 174 - .../v1/resources/campaign_budget.pb.go | 326 - .../v1/resources/campaign_criterion.pb.go | 623 - .../campaign_criterion_simulation.pb.go | 213 - .../v1/resources/campaign_draft.pb.go | 190 - .../v1/resources/campaign_experiment.pb.go | 242 - .../campaign_extension_setting.pb.go | 153 - .../v1/resources/campaign_feed.pb.go | 162 - .../v1/resources/campaign_label.pb.go | 118 - .../v1/resources/campaign_shared_set.pb.go | 139 - .../v1/resources/carrier_constant.pb.go | 131 - .../v1/resources/change_status.pb.go | 238 - .../googleads/v1/resources/click_view.pb.go | 148 - .../v1/resources/conversion_action.pb.go | 410 - .../v1/resources/custom_interest.pb.go | 227 - .../ads/googleads/v1/resources/customer.pb.go | 429 - .../v1/resources/customer_client.pb.go | 136 - .../v1/resources/customer_client_link.pb.go | 147 - .../customer_extension_setting.pb.go | 138 - .../v1/resources/customer_feed.pb.go | 152 - .../v1/resources/customer_label.pb.go | 124 - .../v1/resources/customer_manager_link.pb.go | 134 - .../customer_negative_criterion.pb.go | 249 - .../v1/resources/detail_placement_view.pb.go | 159 - .../v1/resources/display_keyword_view.pb.go | 97 - .../v1/resources/domain_category.pb.go | 194 - .../dynamic_search_ads_search_term_view.pb.go | 150 - .../expanded_landing_page_view.pb.go | 113 - .../v1/resources/extension_feed_item.pb.go | 427 - .../ads/googleads/v1/resources/feed.pb.go | 630 - .../googleads/v1/resources/feed_item.pb.go | 586 - .../v1/resources/feed_item_target.pb.go | 257 - .../googleads/v1/resources/feed_mapping.pb.go | 639 - .../v1/resources/feed_placeholder_view.pb.go | 110 - .../googleads/v1/resources/gender_view.pb.go | 96 - .../v1/resources/geo_target_constant.pb.go | 165 - .../v1/resources/geographic_view.pb.go | 131 - .../v1/resources/google_ads_field.pb.go | 260 - .../v1/resources/group_placement_view.pb.go | 146 - .../v1/resources/hotel_group_view.pb.go | 96 - .../v1/resources/hotel_performance_view.pb.go | 97 - .../googleads/v1/resources/keyword_plan.pb.go | 229 - .../v1/resources/keyword_plan_ad_group.pb.go | 147 - .../v1/resources/keyword_plan_campaign.pb.go | 233 - .../v1/resources/keyword_plan_keyword.pb.go | 157 - .../keyword_plan_negative_keyword.pb.go | 147 - .../googleads/v1/resources/keyword_view.pb.go | 96 - .../ads/googleads/v1/resources/label.pb.go | 147 - .../v1/resources/landing_page_view.pb.go | 113 - .../v1/resources/language_constant.pb.go | 141 - .../v1/resources/location_view.pb.go | 97 - .../v1/resources/managed_placement_view.pb.go | 98 - .../googleads/v1/resources/media_file.pb.go | 459 - .../v1/resources/merchant_center_link.pb.go | 137 - .../mobile_app_category_constant.pb.go | 120 - .../v1/resources/mobile_device_constant.pb.go | 154 - .../googleads/v1/resources/mutate_job.pb.go | 250 - .../operating_system_version_constant.pb.go | 161 - .../paid_organic_search_term_view.pb.go | 113 - .../v1/resources/parental_status_view.pb.go | 97 - .../v1/resources/payments_account.pb.go | 154 - .../product_bidding_category_constant.pb.go | 180 - .../v1/resources/product_group_view.pb.go | 96 - .../v1/resources/recommendation.pb.go | 1438 -- .../v1/resources/remarketing_action.pb.go | 138 - .../v1/resources/search_term_view.pb.go | 137 - .../v1/resources/shared_criterion.pb.go | 262 - .../googleads/v1/resources/shared_set.pb.go | 170 - .../resources/shopping_performance_view.pb.go | 101 - .../v1/resources/topic_constant.pb.go | 139 - .../googleads/v1/resources/topic_view.pb.go | 96 - .../v1/resources/user_interest.pb.go | 169 - .../googleads/v1/resources/user_list.pb.go | 428 - .../ads/googleads/v1/resources/video.pb.go | 140 - .../account_budget_proposal_service.pb.go | 490 - .../v1/services/account_budget_service.pb.go | 187 - .../services/ad_group_ad_label_service.pb.go | 502 - .../v1/services/ad_group_ad_service.pb.go | 541 - .../ad_group_audience_view_service.pb.go | 187 - .../ad_group_bid_modifier_service.pb.go | 531 - .../ad_group_criterion_label_service.pb.go | 503 - .../services/ad_group_criterion_service.pb.go | 550 - ...d_group_criterion_simulation_service.pb.go | 188 - .../ad_group_extension_setting_service.pb.go | 535 - .../v1/services/ad_group_feed_service.pb.go | 530 - .../v1/services/ad_group_label_service.pb.go | 502 - .../v1/services/ad_group_service.pb.go | 527 - .../ad_group_simulation_service.pb.go | 187 - .../v1/services/ad_parameter_service.pb.go | 530 - .../services/ad_schedule_view_service.pb.go | 187 - .../v1/services/age_range_view_service.pb.go | 187 - .../googleads/v1/services/asset_service.pb.go | 442 - .../services/bidding_strategy_service.pb.go | 531 - .../v1/services/billing_setup_service.pb.go | 458 - .../campaign_audience_view_service.pb.go | 188 - .../campaign_bid_modifier_service.pb.go | 530 - .../v1/services/campaign_budget_service.pb.go | 530 - .../services/campaign_criterion_service.pb.go | 529 - ...ampaign_criterion_simulation_service.pb.go | 188 - .../v1/services/campaign_draft_service.pb.go | 800 - .../campaign_experiment_service.pb.go | 1176 -- .../campaign_extension_setting_service.pb.go | 537 - .../v1/services/campaign_feed_service.pb.go | 530 - .../v1/services/campaign_label_service.pb.go | 502 - .../v1/services/campaign_service.pb.go | 527 - .../campaign_shared_set_service.pb.go | 500 - .../services/carrier_constant_service.pb.go | 187 - .../v1/services/change_status_service.pb.go | 187 - .../v1/services/click_view_service.pb.go | 187 - .../services/conversion_action_service.pb.go | 531 - ...conversion_adjustment_upload_service.pb.go | 659 - .../services/conversion_upload_service.pb.go | 864 - .../v1/services/custom_interest_service.pb.go | 483 - .../customer_client_link_service.pb.go | 472 - .../v1/services/customer_client_service.pb.go | 187 - .../customer_extension_setting_service.pb.go | 537 - .../v1/services/customer_feed_service.pb.go | 530 - .../v1/services/customer_label_service.pb.go | 502 - .../customer_manager_link_service.pb.go | 459 - .../customer_negative_criterion_service.pb.go | 502 - .../v1/services/customer_service.pb.go | 699 - .../detail_placement_view_service.pb.go | 188 - .../display_keyword_view_service.pb.go | 188 - .../v1/services/domain_category_service.pb.go | 187 - ..._search_ads_search_term_view_service.pb.go | 191 - .../expanded_landing_page_view_service.pb.go | 190 - .../extension_feed_item_service.pb.go | 502 - .../v1/services/feed_item_service.pb.go | 530 - .../services/feed_item_target_service.pb.go | 457 - .../v1/services/feed_mapping_service.pb.go | 502 - .../feed_placeholder_view_service.pb.go | 188 - .../googleads/v1/services/feed_service.pb.go | 529 - .../v1/services/gender_view_service.pb.go | 187 - .../geo_target_constant_service.pb.go | 571 - .../v1/services/geographic_view_service.pb.go | 187 - .../services/google_ads_field_service.pb.go | 364 - .../v1/services/google_ads_service.pb.go | 3041 ---- .../group_placement_view_service.pb.go | 188 - .../services/hotel_group_view_service.pb.go | 188 - .../hotel_performance_view_service.pb.go | 188 - .../keyword_plan_ad_group_service.pb.go | 532 - .../keyword_plan_campaign_service.pb.go | 532 - .../services/keyword_plan_idea_service.pb.go | 537 - .../keyword_plan_keyword_service.pb.go | 532 - ...eyword_plan_negative_keyword_service.pb.go | 540 - .../v1/services/keyword_plan_service.pb.go | 1129 -- .../v1/services/keyword_view_service.pb.go | 187 - .../googleads/v1/services/label_service.pb.go | 527 - .../services/landing_page_view_service.pb.go | 190 - .../services/language_constant_service.pb.go | 187 - .../v1/services/location_view_service.pb.go | 187 - .../managed_placement_view_service.pb.go | 188 - .../v1/services/media_file_service.pb.go | 484 - .../merchant_center_link_service.pb.go | 600 - ...mobile_app_category_constant_service.pb.go | 188 - .../mobile_device_constant_service.pb.go | 187 - .../v1/services/mutate_job_service.pb.go | 820 - ...ting_system_version_constant_service.pb.go | 190 - ...aid_organic_search_term_view_service.pb.go | 189 - .../parental_status_view_service.pb.go | 188 - .../services/payments_account_service.pb.go | 235 - ...ct_bidding_category_constant_service.pb.go | 190 - .../services/product_group_view_service.pb.go | 188 - .../v1/services/recommendation_service.pb.go | 1291 -- .../services/remarketing_action_service.pb.go | 513 - .../services/search_term_view_service.pb.go | 188 - .../services/shared_criterion_service.pb.go | 500 - .../v1/services/shared_set_service.pb.go | 528 - .../shopping_performance_view_service.pb.go | 188 - .../v1/services/topic_constant_service.pb.go | 187 - .../v1/services/topic_view_service.pb.go | 187 - .../v1/services/user_interest_service.pb.go | 187 - .../v1/services/user_list_service.pb.go | 528 - .../googleads/v1/services/video_service.pb.go | 186 - .../ads/googleads/v2/common/ad_asset.pb.go | 241 - .../googleads/v2/common/ad_type_infos.pb.go | 2315 --- .../ads/googleads/v2/common/asset_types.pb.go | 329 - .../ads/googleads/v2/common/bidding.pb.go | 898 - .../googleads/v2/common/click_location.pb.go | 135 - .../ads/googleads/v2/common/criteria.pb.go | 3050 ---- .../criterion_category_availability.pb.go | 266 - .../v2/common/custom_parameter.pb.go | 106 - .../ads/googleads/v2/common/dates.pb.go | 105 - .../explorer_auto_optimizer_setting.pb.go | 99 - .../ads/googleads/v2/common/extensions.pb.go | 1325 -- .../ads/googleads/v2/common/feed_common.pb.go | 107 - .../googleads/v2/common/final_app_url.pb.go | 116 - .../googleads/v2/common/frequency_cap.pb.go | 190 - .../v2/common/keyword_plan_common.pb.go | 112 - .../v2/common/matching_function.pb.go | 536 - .../ads/googleads/v2/common/metrics.pb.go | 1394 -- .../ads/googleads/v2/common/policy.pb.go | 1007 -- .../v2/common/real_time_bidding_setting.pb.go | 97 - .../ads/googleads/v2/common/segments.pb.go | 972 -- .../ads/googleads/v2/common/simulation.pb.go | 679 - .../ads/googleads/v2/common/tag_snippet.pb.go | 135 - .../v2/common/targeting_setting.pb.go | 163 - .../ads/googleads/v2/common/text_label.pb.go | 109 - .../googleads/v2/common/url_collection.pb.go | 128 - .../ads/googleads/v2/common/user_lists.pb.go | 1191 -- .../ads/googleads/v2/common/value.pb.go | 184 - .../googleads/v2/enums/access_reason.pb.go | 137 - .../ads/googleads/v2/enums/access_role.pb.go | 128 - .../account_budget_proposal_status.pb.go | 143 - .../enums/account_budget_proposal_type.pb.go | 133 - .../v2/enums/account_budget_status.pb.go | 128 - .../ad_customizer_placeholder_field.pb.go | 134 - .../v2/enums/ad_group_ad_rotation_mode.pb.go | 128 - .../v2/enums/ad_group_ad_status.pb.go | 130 - .../ad_group_criterion_approval_status.pb.go | 134 - .../v2/enums/ad_group_criterion_status.pb.go | 131 - .../googleads/v2/enums/ad_group_status.pb.go | 130 - .../googleads/v2/enums/ad_group_type.pb.go | 178 - .../googleads/v2/enums/ad_network_type.pb.go | 143 - .../ad_serving_optimization_status.pb.go | 144 - .../ads/googleads/v2/enums/ad_strength.pb.go | 141 - .../ads/googleads/v2/enums/ad_type.pb.go | 208 - .../enums/advertising_channel_sub_type.pb.go | 183 - .../v2/enums/advertising_channel_type.pb.go | 145 - ...iate_location_feed_relationship_type.pb.go | 124 - ...affiliate_location_placeholder_field.pb.go | 167 - .../googleads/v2/enums/age_range_type.pb.go | 148 - .../v2/enums/app_campaign_app_store.pb.go | 124 - ..._campaign_bidding_strategy_goal_type.pb.go | 148 - .../v2/enums/app_payment_model_type.pb.go | 119 - .../v2/enums/app_placeholder_field.pb.go | 159 - .../ads/googleads/v2/enums/app_store.pb.go | 123 - .../enums/app_url_operating_system_type.pb.go | 124 - .../googleads/v2/enums/asset_field_type.pb.go | 144 - .../v2/enums/asset_performance_label.pb.go | 140 - .../ads/googleads/v2/enums/asset_type.pb.go | 133 - .../v2/enums/attribution_model.pb.go | 159 - .../v2/enums/bid_modifier_source.pb.go | 125 - .../googleads/v2/enums/bidding_source.pb.go | 131 - .../v2/enums/bidding_strategy_status.pb.go | 126 - .../v2/enums/bidding_strategy_type.pb.go | 207 - .../v2/enums/billing_setup_status.pb.go | 135 - .../v2/enums/brand_safety_suitability.pb.go | 150 - .../v2/enums/budget_delivery_method.pb.go | 127 - .../googleads/v2/enums/budget_period.pb.go | 128 - .../googleads/v2/enums/budget_status.pb.go | 123 - .../ads/googleads/v2/enums/budget_type.pb.go | 142 - .../call_conversion_reporting_state.pb.go | 134 - .../v2/enums/call_placeholder_field.pb.go | 147 - .../v2/enums/callout_placeholder_field.pb.go | 120 - .../v2/enums/campaign_criterion_status.pb.go | 130 - .../v2/enums/campaign_draft_status.pb.go | 144 - .../v2/enums/campaign_experiment_status.pb.go | 164 - ...mpaign_experiment_traffic_split_type.pb.go | 131 - .../v2/enums/campaign_experiment_type.pb.go | 135 - .../v2/enums/campaign_serving_status.pb.go | 139 - .../v2/enums/campaign_shared_set_status.pb.go | 124 - .../googleads/v2/enums/campaign_status.pb.go | 128 - .../v2/enums/change_status_operation.pb.go | 129 - .../enums/change_status_resource_type.pb.go | 164 - .../ads/googleads/v2/enums/click_type.pb.go | 368 - .../v2/enums/content_label_type.pb.go | 191 - .../v2/enums/conversion_action_category.pb.go | 144 - .../conversion_action_counting_type.pb.go | 127 - .../v2/enums/conversion_action_status.pb.go | 129 - .../v2/enums/conversion_action_type.pb.go | 158 - .../v2/enums/conversion_adjustment_type.pb.go | 126 - .../conversion_attribution_event_type.pb.go | 125 - .../v2/enums/conversion_lag_bucket.pb.go | 222 - .../conversion_or_adjustment_lag_bucket.pb.go | 348 - ...n_category_channel_availability_mode.pb.go | 141 - ...on_category_locale_availability_mode.pb.go | 145 - .../criterion_system_serving_status.pb.go | 125 - .../googleads/v2/enums/criterion_type.pb.go | 255 - .../enums/custom_interest_member_type.pb.go | 124 - .../v2/enums/custom_interest_status.pb.go | 125 - .../v2/enums/custom_interest_type.pb.go | 124 - .../v2/enums/custom_placeholder_field.pb.go | 234 - .../customer_match_upload_key_type.pb.go | 132 - ...onversion_eligibility_failure_reason.pb.go | 161 - .../v2/enums/data_driven_model_status.pb.go | 140 - .../ads/googleads/v2/enums/day_of_week.pb.go | 146 - .../ads/googleads/v2/enums/device.pb.go | 136 - .../v2/enums/display_ad_format_setting.pb.go | 130 - .../enums/display_upload_product_type.pb.go | 187 - .../googleads/v2/enums/distance_bucket.pb.go | 235 - .../enums/dsa_page_feed_criterion_field.pb.go | 125 - .../enums/education_placeholder_field.pb.go | 213 - .../v2/enums/extension_setting_device.pb.go | 126 - .../googleads/v2/enums/extension_type.pb.go | 171 - .../v2/enums/external_conversion_source.pb.go | 240 - .../v2/enums/feed_attribute_type.pb.go | 174 - .../feed_item_quality_approval_status.pb.go | 127 - ...feed_item_quality_disapproval_reason.pb.go | 209 - .../googleads/v2/enums/feed_item_status.pb.go | 123 - .../v2/enums/feed_item_target_device.pb.go | 120 - .../v2/enums/feed_item_target_type.pb.go | 129 - .../enums/feed_item_validation_status.pb.go | 128 - .../googleads/v2/enums/feed_link_status.pb.go | 123 - .../enums/feed_mapping_criterion_type.pb.go | 126 - .../v2/enums/feed_mapping_status.pb.go | 123 - .../ads/googleads/v2/enums/feed_origin.pb.go | 126 - .../ads/googleads/v2/enums/feed_status.pb.go | 123 - .../v2/enums/flight_placeholder_field.pb.go | 219 - .../v2/enums/frequency_cap_event_type.pb.go | 124 - .../v2/enums/frequency_cap_level.pb.go | 129 - .../v2/enums/frequency_cap_time_unit.pb.go | 129 - .../ads/googleads/v2/enums/gender_type.pb.go | 128 - .../v2/enums/geo_target_constant_status.pb.go | 127 - .../v2/enums/geo_targeting_restriction.pb.go | 122 - .../v2/enums/geo_targeting_type.pb.go | 125 - .../v2/enums/google_ads_field_category.pb.go | 138 - .../v2/enums/google_ads_field_data_type.pb.go | 190 - .../v2/enums/hotel_date_selection_type.pb.go | 125 - .../v2/enums/hotel_placeholder_field.pb.go | 230 - .../v2/enums/hotel_price_bucket.pb.go | 126 - .../googleads/v2/enums/hotel_rate_type.pb.go | 139 - .../v2/enums/income_range_type.pb.go | 149 - .../v2/enums/interaction_event_type.pb.go | 139 - .../googleads/v2/enums/interaction_type.pb.go | 119 - .../ads/googleads/v2/enums/invoice_type.pb.go | 123 - .../v2/enums/job_placeholder_field.pb.go | 215 - .../v2/enums/keyword_match_type.pb.go | 128 - .../keyword_plan_competition_level.pb.go | 133 - .../keyword_plan_forecast_interval.pb.go | 133 - .../v2/enums/keyword_plan_network.pb.go | 125 - .../ads/googleads/v2/enums/label_status.pb.go | 123 - .../legacy_app_install_ad_app_store.pb.go | 140 - .../listing_custom_attribute_index.pb.go | 137 - .../v2/enums/listing_group_type.pb.go | 126 - .../v2/enums/local_placeholder_field.pb.go | 222 - ..._extension_targeting_criterion_field.pb.go | 148 - .../enums/location_group_radius_units.pb.go | 124 - .../v2/enums/location_placeholder_field.pb.go | 153 - .../v2/enums/manager_link_status.pb.go | 139 - .../matching_function_context_type.pb.go | 125 - .../v2/enums/matching_function_operator.pb.go | 144 - .../ads/googleads/v2/enums/media_type.pb.go | 144 - .../enums/merchant_center_link_status.pb.go | 127 - .../v2/enums/message_placeholder_field.pb.go | 142 - .../ads/googleads/v2/enums/mime_type.pb.go | 171 - .../googleads/v2/enums/minute_of_hour.pb.go | 133 - .../v2/enums/mobile_device_type.pb.go | 124 - .../googleads/v2/enums/month_of_year.pb.go | 169 - .../v2/enums/mutate_job_status.pb.go | 128 - .../v2/enums/negative_geo_target_type.pb.go | 127 - ...erating_system_version_operator_type.pb.go | 128 - .../page_one_promoted_strategy_goal.pb.go | 126 - .../v2/enums/parental_status_type.pb.go | 129 - .../ads/googleads/v2/enums/payment_mode.pb.go | 134 - .../googleads/v2/enums/placeholder_type.pb.go | 223 - .../googleads/v2/enums/placement_type.pb.go | 139 - .../v2/enums/policy_approval_status.pb.go | 139 - .../v2/enums/policy_review_status.pb.go | 138 - .../v2/enums/policy_topic_entry_type.pb.go | 148 - ...idence_destination_mismatch_url_type.pb.go | 148 - ...dence_destination_not_working_device.pb.go | 138 - ...stination_not_working_dns_error_type.pb.go | 138 - .../v2/enums/positive_geo_target_type.pb.go | 132 - .../v2/enums/preferred_content_type.pb.go | 120 - .../price_extension_price_qualifier.pb.go | 129 - .../v2/enums/price_extension_price_unit.pb.go | 142 - .../v2/enums/price_extension_type.pb.go | 157 - .../v2/enums/price_placeholder_field.pb.go | 391 - .../product_bidding_category_level.pb.go | 137 - .../product_bidding_category_status.pb.go | 124 - .../googleads/v2/enums/product_channel.pb.go | 123 - .../enums/product_channel_exclusivity.pb.go | 127 - .../v2/enums/product_condition.pb.go | 128 - .../v2/enums/product_type_level.pb.go | 136 - ...romotion_extension_discount_modifier.pb.go | 123 - .../enums/promotion_extension_occasion.pb.go | 288 - .../enums/promotion_placeholder_field.pb.go | 191 - .../v2/enums/proximity_radius_units.pb.go | 124 - .../v2/enums/quality_score_bucket.pb.go | 128 - .../v2/enums/reach_plan_ad_length.pb.go | 130 - .../v2/enums/reach_plan_age_range.pb.go | 230 - .../enums/real_estate_placeholder_field.pb.go | 218 - .../v2/enums/recommendation_type.pb.go | 189 - .../search_engine_results_page_type.pb.go | 131 - .../v2/enums/search_term_match_type.pb.go | 138 - .../enums/search_term_targeting_status.pb.go | 135 - .../v2/enums/served_asset_field_type.pb.go | 140 - .../v2/enums/shared_set_status.pb.go | 123 - .../googleads/v2/enums/shared_set_type.pb.go | 124 - .../simulation_modification_method.pb.go | 128 - .../googleads/v2/enums/simulation_type.pb.go | 133 - .../v2/enums/sitelink_placeholder_field.pb.go | 152 - .../ads/googleads/v2/enums/slot.pb.go | 146 - .../v2/enums/spending_limit_type.pb.go | 120 - ...structured_snippet_placeholder_field.pb.go | 130 - .../enums/system_managed_entity_source.pb.go | 120 - ...arget_cpa_opt_in_recommendation_goal.pb.go | 136 - .../target_impression_share_location.pb.go | 132 - .../v2/enums/targeting_dimension.pb.go | 158 - .../ads/googleads/v2/enums/time_type.pb.go | 124 - .../v2/enums/tracking_code_page_format.pb.go | 126 - .../v2/enums/tracking_code_type.pb.go | 139 - .../v2/enums/travel_placeholder_field.pb.go | 233 - .../enums/user_interest_taxonomy_type.pb.go | 141 - .../v2/enums/user_list_access_status.pb.go | 124 - .../v2/enums/user_list_closing_reason.pb.go | 120 - .../user_list_combined_rule_operator.pb.go | 124 - .../user_list_crm_data_source_type.pb.go | 131 - .../user_list_date_rule_item_operator.pb.go | 134 - .../user_list_logical_rule_operator.pb.go | 129 - .../enums/user_list_membership_status.pb.go | 126 - .../user_list_number_rule_item_operator.pb.go | 144 - .../user_list_prepopulation_status.pb.go | 129 - .../v2/enums/user_list_rule_type.pb.go | 124 - .../v2/enums/user_list_size_range.pb.go | 192 - .../user_list_string_rule_item_operator.pb.go | 153 - .../googleads/v2/enums/user_list_type.pb.go | 144 - .../vanity_pharma_display_url_mode.pb.go | 126 - .../v2/enums/vanity_pharma_text.pb.go | 178 - .../v2/enums/webpage_condition_operand.pb.go | 139 - .../v2/enums/webpage_condition_operator.pb.go | 125 - .../v2/errors/access_invitation_error.pb.go | 125 - .../account_budget_proposal_error.pb.go | 231 - .../v2/errors/ad_customizer_error.pb.go | 141 - .../ads/googleads/v2/errors/ad_error.pb.go | 764 - .../v2/errors/ad_group_ad_error.pb.go | 158 - .../errors/ad_group_bid_modifier_error.pb.go | 128 - .../v2/errors/ad_group_criterion_error.pb.go | 315 - .../googleads/v2/errors/ad_group_error.pb.go | 182 - .../v2/errors/ad_group_feed_error.pb.go | 154 - .../v2/errors/ad_parameter_error.pb.go | 126 - .../v2/errors/ad_sharing_error.pb.go | 132 - .../ads/googleads/v2/errors/adx_error.pb.go | 119 - .../ads/googleads/v2/errors/asset_error.pb.go | 142 - .../v2/errors/authentication_error.pb.go | 208 - .../v2/errors/authorization_error.pb.go | 179 - .../googleads/v2/errors/bidding_error.pb.go | 240 - .../v2/errors/bidding_strategy_error.pb.go | 144 - .../v2/errors/billing_setup_error.pb.go | 206 - .../v2/errors/campaign_budget_error.pb.go | 198 - .../v2/errors/campaign_criterion_error.pb.go | 177 - .../v2/errors/campaign_draft_error.pb.go | 172 - .../googleads/v2/errors/campaign_error.pb.go | 338 - .../v2/errors/campaign_experiment_error.pb.go | 175 - .../v2/errors/campaign_feed_error.pb.go | 148 - .../v2/errors/campaign_shared_set_error.pb.go | 120 - .../v2/errors/change_status_error.pb.go | 120 - .../v2/errors/collection_size_error.pb.go | 124 - .../googleads/v2/errors/context_error.pb.go | 125 - .../v2/errors/conversion_action_error.pb.go | 163 - .../conversion_adjustment_upload_error.pb.go | 170 - .../v2/errors/conversion_upload_error.pb.go | 243 - .../v2/errors/country_code_error.pb.go | 120 - .../googleads/v2/errors/criterion_error.pb.go | 624 - .../v2/errors/currency_code_error.pb.go | 119 - .../v2/errors/custom_interest_error.pb.go | 153 - .../errors/customer_client_link_error.pb.go | 153 - .../googleads/v2/errors/customer_error.pb.go | 128 - .../v2/errors/customer_feed_error.pb.go | 153 - .../errors/customer_manager_link_error.pb.go | 162 - .../googleads/v2/errors/database_error.pb.go | 127 - .../ads/googleads/v2/errors/date_error.pb.go | 164 - .../v2/errors/date_range_error.pb.go | 141 - .../googleads/v2/errors/distinct_error.pb.go | 124 - .../ads/googleads/v2/errors/enum_error.pb.go | 119 - .../ads/googleads/v2/errors/errors.pb.go | 2339 --- .../v2/errors/extension_feed_item_error.pb.go | 349 - .../v2/errors/extension_setting_error.pb.go | 455 - .../feed_attribute_reference_error.pb.go | 131 - .../ads/googleads/v2/errors/feed_error.pb.go | 216 - .../googleads/v2/errors/feed_item_error.pb.go | 163 - .../v2/errors/feed_item_target_error.pb.go | 161 - .../errors/feed_item_validation_error.pb.go | 607 - .../v2/errors/feed_mapping_error.pb.go | 200 - .../ads/googleads/v2/errors/field_error.pb.go | 149 - .../v2/errors/field_mask_error.pb.go | 137 - .../googleads/v2/errors/function_error.pb.go | 195 - .../v2/errors/function_parsing_error.pb.go | 171 - ...geo_target_constant_suggestion_error.pb.go | 139 - .../googleads/v2/errors/header_error.pb.go | 119 - .../ads/googleads/v2/errors/id_error.pb.go | 118 - .../ads/googleads/v2/errors/image_error.pb.go | 295 - .../googleads/v2/errors/internal_error.pb.go | 131 - .../googleads/v2/errors/invoice_error.pb.go | 124 - .../errors/keyword_plan_ad_group_error.pb.go | 128 - .../errors/keyword_plan_campaign_error.pb.go | 142 - .../v2/errors/keyword_plan_error.pb.go | 187 - .../v2/errors/keyword_plan_idea_error.pb.go | 125 - .../errors/keyword_plan_keyword_error.pb.go | 147 - .../keyword_plan_negative_keyword_error.pb.go | 117 - .../ads/googleads/v2/errors/label_error.pb.go | 164 - .../v2/errors/language_code_error.pb.go | 125 - .../v2/errors/list_operation_error.pb.go | 125 - .../v2/errors/manager_link_error.pb.go | 187 - .../v2/errors/media_bundle_error.pb.go | 225 - .../v2/errors/media_file_error.pb.go | 231 - .../v2/errors/media_upload_error.pb.go | 135 - .../v2/errors/multiplier_error.pb.go | 178 - .../googleads/v2/errors/mutate_error.pb.go | 146 - .../v2/errors/mutate_job_error.pb.go | 142 - .../errors/new_resource_creation_error.pb.go | 132 - .../googleads/v2/errors/not_empty_error.pb.go | 119 - .../v2/errors/not_whitelisted_error.pb.go | 121 - .../ads/googleads/v2/errors/null_error.pb.go | 118 - .../operation_access_denied_error.pb.go | 164 - .../googleads/v2/errors/operator_error.pb.go | 119 - .../v2/errors/partial_failure_error.pb.go | 121 - .../v2/errors/policy_finding_error.pb.go | 126 - .../policy_validation_parameter_error.pb.go | 134 - .../v2/errors/policy_violation_error.pb.go | 119 - .../ads/googleads/v2/errors/query_error.pb.go | 385 - .../ads/googleads/v2/errors/quota_error.pb.go | 129 - .../ads/googleads/v2/errors/range_error.pb.go | 123 - .../v2/errors/reach_plan_error.pb.go | 115 - .../v2/errors/recommendation_error.pb.go | 189 - .../v2/errors/region_code_error.pb.go | 119 - .../googleads/v2/errors/request_error.pb.go | 225 - .../errors/resource_access_denied_error.pb.go | 120 - .../resource_count_limit_exceeded_error.pb.go | 182 - .../googleads/v2/errors/setting_error.pb.go | 218 - .../v2/errors/shared_criterion_error.pb.go | 121 - .../v2/errors/shared_set_error.pb.go | 136 - .../v2/errors/size_limit_error.pb.go | 125 - .../v2/errors/string_format_error.pb.go | 124 - .../v2/errors/string_length_error.pb.go | 124 - .../googleads/v2/errors/url_field_error.pb.go | 374 - .../googleads/v2/errors/user_list_error.pb.go | 254 - .../youtube_video_registration_error.pb.go | 125 - .../v2/resources/account_budget.pb.go | 722 - .../resources/account_budget_proposal.pb.go | 483 - .../ads/googleads/v2/resources/ad.pb.go | 593 - .../ads/googleads/v2/resources/ad_group.pb.go | 396 - .../googleads/v2/resources/ad_group_ad.pb.go | 225 - .../v2/resources/ad_group_ad_asset_view.pb.go | 227 - .../v2/resources/ad_group_ad_label.pb.go | 118 - .../v2/resources/ad_group_audience_view.pb.go | 100 - .../v2/resources/ad_group_bid_modifier.pb.go | 290 - .../v2/resources/ad_group_criterion.pb.go | 890 - .../resources/ad_group_criterion_label.pb.go | 119 - .../ad_group_criterion_simulation.pb.go | 213 - .../ad_group_extension_setting.pb.go | 152 - .../v2/resources/ad_group_feed.pb.go | 162 - .../v2/resources/ad_group_label.pb.go | 118 - .../v2/resources/ad_group_simulation.pb.go | 240 - .../googleads/v2/resources/ad_parameter.pb.go | 148 - .../v2/resources/ad_schedule_view.pb.go | 97 - .../v2/resources/age_range_view.pb.go | 96 - .../ads/googleads/v2/resources/asset.pb.go | 223 - .../v2/resources/bidding_strategy.pb.go | 321 - .../v2/resources/billing_setup.pb.go | 362 - .../ads/googleads/v2/resources/campaign.pb.go | 1269 -- .../v2/resources/campaign_audience_view.pb.go | 101 - .../v2/resources/campaign_bid_modifier.pb.go | 174 - .../v2/resources/campaign_budget.pb.go | 326 - .../v2/resources/campaign_criterion.pb.go | 640 - .../campaign_criterion_simulation.pb.go | 213 - .../v2/resources/campaign_draft.pb.go | 190 - .../v2/resources/campaign_experiment.pb.go | 242 - .../campaign_extension_setting.pb.go | 152 - .../v2/resources/campaign_feed.pb.go | 162 - .../v2/resources/campaign_label.pb.go | 118 - .../v2/resources/campaign_shared_set.pb.go | 138 - .../v2/resources/carrier_constant.pb.go | 131 - .../v2/resources/change_status.pb.go | 238 - .../googleads/v2/resources/click_view.pb.go | 158 - .../v2/resources/conversion_action.pb.go | 410 - .../v2/resources/custom_interest.pb.go | 227 - .../ads/googleads/v2/resources/customer.pb.go | 429 - .../v2/resources/customer_client.pb.go | 197 - .../v2/resources/customer_client_link.pb.go | 146 - .../customer_extension_setting.pb.go | 138 - .../v2/resources/customer_feed.pb.go | 152 - .../v2/resources/customer_label.pb.go | 124 - .../v2/resources/customer_manager_link.pb.go | 133 - .../customer_negative_criterion.pb.go | 249 - .../v2/resources/detail_placement_view.pb.go | 158 - .../v2/resources/display_keyword_view.pb.go | 97 - .../v2/resources/distance_view.pb.go | 127 - .../v2/resources/domain_category.pb.go | 193 - .../dynamic_search_ads_search_term_view.pb.go | 149 - .../expanded_landing_page_view.pb.go | 112 - .../v2/resources/extension_feed_item.pb.go | 466 - .../ads/googleads/v2/resources/feed.pb.go | 630 - .../googleads/v2/resources/feed_item.pb.go | 588 - .../v2/resources/feed_item_target.pb.go | 256 - .../googleads/v2/resources/feed_mapping.pb.go | 639 - .../v2/resources/feed_placeholder_view.pb.go | 110 - .../googleads/v2/resources/gender_view.pb.go | 96 - .../v2/resources/geo_target_constant.pb.go | 165 - .../v2/resources/geographic_view.pb.go | 129 - .../v2/resources/google_ads_field.pb.go | 260 - .../v2/resources/group_placement_view.pb.go | 145 - .../v2/resources/hotel_group_view.pb.go | 96 - .../v2/resources/hotel_performance_view.pb.go | 97 - .../ads/googleads/v2/resources/invoice.pb.go | 453 - .../googleads/v2/resources/keyword_plan.pb.go | 229 - .../v2/resources/keyword_plan_ad_group.pb.go | 147 - .../v2/resources/keyword_plan_campaign.pb.go | 233 - .../v2/resources/keyword_plan_keyword.pb.go | 157 - .../keyword_plan_negative_keyword.pb.go | 146 - .../googleads/v2/resources/keyword_view.pb.go | 96 - .../ads/googleads/v2/resources/label.pb.go | 147 - .../v2/resources/landing_page_view.pb.go | 112 - .../v2/resources/language_constant.pb.go | 141 - .../v2/resources/location_view.pb.go | 97 - .../v2/resources/managed_placement_view.pb.go | 97 - .../googleads/v2/resources/media_file.pb.go | 459 - .../v2/resources/merchant_center_link.pb.go | 137 - .../mobile_app_category_constant.pb.go | 120 - .../v2/resources/mobile_device_constant.pb.go | 154 - .../googleads/v2/resources/mutate_job.pb.go | 250 - .../operating_system_version_constant.pb.go | 158 - .../paid_organic_search_term_view.pb.go | 112 - .../v2/resources/parental_status_view.pb.go | 97 - .../v2/resources/payments_account.pb.go | 154 - .../product_bidding_category_constant.pb.go | 180 - .../v2/resources/product_group_view.pb.go | 96 - .../v2/resources/recommendation.pb.go | 1439 -- .../v2/resources/remarketing_action.pb.go | 138 - .../v2/resources/search_term_view.pb.go | 136 - .../v2/resources/shared_criterion.pb.go | 261 - .../googleads/v2/resources/shared_set.pb.go | 170 - .../resources/shopping_performance_view.pb.go | 101 - .../v2/resources/topic_constant.pb.go | 136 - .../googleads/v2/resources/topic_view.pb.go | 96 - .../v2/resources/user_interest.pb.go | 169 - .../googleads/v2/resources/user_list.pb.go | 428 - .../v2/resources/user_location_view.pb.go | 126 - .../ads/googleads/v2/resources/video.pb.go | 140 - .../account_budget_proposal_service.pb.go | 491 - .../v2/services/account_budget_service.pb.go | 189 - .../ad_group_ad_asset_view_service.pb.go | 188 - .../services/ad_group_ad_label_service.pb.go | 500 - .../v2/services/ad_group_ad_service.pb.go | 539 - .../ad_group_audience_view_service.pb.go | 188 - .../ad_group_bid_modifier_service.pb.go | 529 - .../ad_group_criterion_label_service.pb.go | 502 - .../services/ad_group_criterion_service.pb.go | 548 - ...d_group_criterion_simulation_service.pb.go | 189 - .../ad_group_extension_setting_service.pb.go | 535 - .../v2/services/ad_group_feed_service.pb.go | 528 - .../v2/services/ad_group_label_service.pb.go | 499 - .../v2/services/ad_group_service.pb.go | 525 - .../ad_group_simulation_service.pb.go | 188 - .../v2/services/ad_parameter_service.pb.go | 527 - .../services/ad_schedule_view_service.pb.go | 188 - .../googleads/v2/services/ad_service.pb.go | 452 - .../v2/services/age_range_view_service.pb.go | 188 - .../googleads/v2/services/asset_service.pb.go | 441 - .../services/bidding_strategy_service.pb.go | 528 - .../v2/services/billing_setup_service.pb.go | 459 - .../campaign_audience_view_service.pb.go | 188 - .../campaign_bid_modifier_service.pb.go | 529 - .../v2/services/campaign_budget_service.pb.go | 528 - .../services/campaign_criterion_service.pb.go | 526 - ...ampaign_criterion_simulation_service.pb.go | 189 - .../v2/services/campaign_draft_service.pb.go | 800 - .../campaign_experiment_service.pb.go | 1177 -- .../campaign_extension_setting_service.pb.go | 537 - .../v2/services/campaign_feed_service.pb.go | 528 - .../v2/services/campaign_label_service.pb.go | 499 - .../v2/services/campaign_service.pb.go | 525 - .../campaign_shared_set_service.pb.go | 497 - .../services/carrier_constant_service.pb.go | 187 - .../v2/services/change_status_service.pb.go | 188 - .../v2/services/click_view_service.pb.go | 187 - .../services/conversion_action_service.pb.go | 528 - ...conversion_adjustment_upload_service.pb.go | 660 - .../services/conversion_upload_service.pb.go | 862 - .../v2/services/custom_interest_service.pb.go | 481 - .../customer_client_link_service.pb.go | 469 - .../v2/services/customer_client_service.pb.go | 187 - .../customer_extension_setting_service.pb.go | 536 - .../v2/services/customer_feed_service.pb.go | 528 - .../v2/services/customer_label_service.pb.go | 499 - .../customer_manager_link_service.pb.go | 458 - .../customer_negative_criterion_service.pb.go | 502 - .../v2/services/customer_service.pb.go | 721 - .../detail_placement_view_service.pb.go | 188 - .../display_keyword_view_service.pb.go | 188 - .../v2/services/distance_view_service.pb.go | 188 - .../v2/services/domain_category_service.pb.go | 189 - ..._search_ads_search_term_view_service.pb.go | 192 - .../expanded_landing_page_view_service.pb.go | 189 - .../extension_feed_item_service.pb.go | 529 - .../v2/services/feed_item_service.pb.go | 528 - .../services/feed_item_target_service.pb.go | 457 - .../v2/services/feed_mapping_service.pb.go | 499 - .../feed_placeholder_view_service.pb.go | 189 - .../googleads/v2/services/feed_service.pb.go | 526 - .../v2/services/gender_view_service.pb.go | 187 - .../geo_target_constant_service.pb.go | 570 - .../v2/services/geographic_view_service.pb.go | 188 - .../services/google_ads_field_service.pb.go | 362 - .../v2/services/google_ads_service.pb.go | 3097 ---- .../group_placement_view_service.pb.go | 188 - .../services/hotel_group_view_service.pb.go | 188 - .../hotel_performance_view_service.pb.go | 188 - .../v2/services/invoice_service.pb.go | 269 - .../keyword_plan_ad_group_service.pb.go | 530 - .../keyword_plan_campaign_service.pb.go | 531 - .../services/keyword_plan_idea_service.pb.go | 538 - .../keyword_plan_keyword_service.pb.go | 529 - ...eyword_plan_negative_keyword_service.pb.go | 540 - .../v2/services/keyword_plan_service.pb.go | 1123 -- .../v2/services/keyword_view_service.pb.go | 188 - .../googleads/v2/services/label_service.pb.go | 525 - .../services/landing_page_view_service.pb.go | 188 - .../services/language_constant_service.pb.go | 187 - .../v2/services/location_view_service.pb.go | 187 - .../managed_placement_view_service.pb.go | 188 - .../v2/services/media_file_service.pb.go | 481 - .../merchant_center_link_service.pb.go | 597 - ...mobile_app_category_constant_service.pb.go | 189 - .../mobile_device_constant_service.pb.go | 187 - .../v2/services/mutate_job_service.pb.go | 817 - ...ting_system_version_constant_service.pb.go | 192 - ...aid_organic_search_term_view_service.pb.go | 190 - .../parental_status_view_service.pb.go | 188 - .../services/payments_account_service.pb.go | 236 - ...ct_bidding_category_constant_service.pb.go | 192 - .../services/product_group_view_service.pb.go | 188 - .../v2/services/reach_plan_service.pb.go | 1518 -- .../v2/services/recommendation_service.pb.go | 1287 -- .../services/remarketing_action_service.pb.go | 510 - .../services/search_term_view_service.pb.go | 188 - .../services/shared_criterion_service.pb.go | 497 - .../v2/services/shared_set_service.pb.go | 525 - .../shopping_performance_view_service.pb.go | 189 - .../v2/services/topic_constant_service.pb.go | 187 - .../v2/services/topic_view_service.pb.go | 187 - .../v2/services/user_interest_service.pb.go | 188 - .../v2/services/user_list_service.pb.go | 525 - .../services/user_location_view_service.pb.go | 188 - .../googleads/v2/services/video_service.pb.go | 187 - .../api/annotations/annotations.pb.go | 55 - .../googleapis/api/annotations/client.pb.go | 79 - .../api/annotations/field_behavior.pb.go | 122 - .../googleapis/api/annotations/http.pb.go | 633 - .../googleapis/api/annotations/resource.pb.go | 441 - .../api/configchange/config_change.pb.go | 232 - .../api/distribution/distribution.pb.go | 638 - .../api/expr/v1alpha1/cel_service.pb.go | 211 - .../api/expr/v1alpha1/checked.pb.go | 1139 -- .../expr/v1alpha1/conformance_service.pb.go | 759 - .../googleapis/api/expr/v1alpha1/eval.pb.go | 351 - .../api/expr/v1alpha1/explain.pb.go | 162 - .../googleapis/api/expr/v1alpha1/syntax.pb.go | 1224 -- .../googleapis/api/expr/v1alpha1/value.pb.go | 503 - .../googleapis/api/expr/v1beta1/decl.pb.go | 342 - .../googleapis/api/expr/v1beta1/eval.pb.go | 393 - .../googleapis/api/expr/v1beta1/expr.pb.go | 1013 -- .../googleapis/api/expr/v1beta1/source.pb.go | 194 - .../googleapis/api/expr/v1beta1/value.pb.go | 503 - .../googleapis/api/httpbody/httpbody.pb.go | 146 - .../genproto/googleapis/api/label/label.pb.go | 140 - .../googleapis/api/launch_stage.pb.go | 113 - .../googleapis/api/metric/metric.pb.go | 498 - .../api/monitoredres/monitored_resource.pb.go | 306 - .../googleapis/api/serviceconfig/auth.pb.go | 454 - .../api/serviceconfig/backend.pb.go | 313 - .../api/serviceconfig/billing.pb.go | 167 - .../api/serviceconfig/consumer.pb.go | 217 - .../api/serviceconfig/context.pb.go | 211 - .../api/serviceconfig/control.pb.go | 87 - .../api/serviceconfig/documentation.pb.go | 343 - .../api/serviceconfig/endpoint.pb.go | 153 - .../googleapis/api/serviceconfig/log.pb.go | 130 - .../api/serviceconfig/logging.pb.go | 189 - .../api/serviceconfig/monitoring.pb.go | 199 - .../googleapis/api/serviceconfig/quota.pb.go | 399 - .../api/serviceconfig/service.pb.go | 397 - .../api/serviceconfig/source_info.pb.go | 87 - .../api/serviceconfig/system_parameter.pb.go | 247 - .../googleapis/api/serviceconfig/usage.pb.go | 213 - .../api/servicecontrol/v1/check_error.pb.go | 216 - .../api/servicecontrol/v1/distribution.pb.go | 451 - .../api/servicecontrol/v1/log_entry.pb.go | 217 - .../api/servicecontrol/v1/metric_value.pb.go | 286 - .../api/servicecontrol/v1/operation.pb.go | 256 - .../servicecontrol/v1/quota_controller.pb.go | 608 - .../v1/service_controller.pb.go | 698 - .../api/servicemanagement/v1/resources.pb.go | 992 -- .../servicemanagement/v1/servicemanager.pb.go | 2090 --- .../appengine/legacy/audit_data.pb.go | 103 - .../appengine/logging/v1/request_log.pb.go | 623 - .../googleapis/appengine/v1/app_yaml.pb.go | 960 -- .../googleapis/appengine/v1/appengine.pb.go | 1854 --- .../googleapis/appengine/v1/application.pb.go | 279 - .../googleapis/appengine/v1/audit_data.pb.go | 224 - .../googleapis/appengine/v1/deploy.pb.go | 285 - .../googleapis/appengine/v1/instance.pb.go | 302 - .../googleapis/appengine/v1/location.pb.go | 104 - .../googleapis/appengine/v1/operation.pb.go | 143 - .../googleapis/appengine/v1/service.pb.go | 225 - .../googleapis/appengine/v1/version.pb.go | 1243 -- .../v1alpha1/embedded_assistant.pb.go | 1009 -- .../v1alpha2/embedded_assistant.pb.go | 1641 -- .../cluster/v1/bigtable_cluster_data.pb.go | 285 - .../cluster/v1/bigtable_cluster_service.pb.go | 512 - .../bigtable_cluster_service_messages.pb.go | 661 - .../admin/table/v1/bigtable_table_data.pb.go | 459 - .../table/v1/bigtable_table_service.pb.go | 463 - .../v1/bigtable_table_service_messages.pb.go | 557 - .../admin/v2/bigtable_instance_admin.pb.go | 2148 --- .../admin/v2/bigtable_table_admin.pb.go | 2224 --- .../googleapis/bigtable/admin/v2/common.pb.go | 85 - .../bigtable/admin/v2/instance.pb.go | 607 - .../googleapis/bigtable/admin/v2/table.pb.go | 741 - .../bigtable/v1/bigtable_data.pb.go | 1767 -- .../bigtable/v1/bigtable_service.pb.go | 420 - .../v1/bigtable_service_messages.pb.go | 892 - .../googleapis/bigtable/v2/bigtable.pb.go | 1506 -- .../googleapis/bigtable/v2/data.pb.go | 1852 --- .../googleapis/bytestream/bytestream.pb.go | 695 - .../cloud/asset/v1/asset_service.pb.go | 667 - .../googleapis/cloud/asset/v1/assets.pb.go | 366 - .../cloud/asset/v1beta1/asset_service.pb.go | 669 - .../cloud/asset/v1beta1/assets.pb.go | 369 - .../cloud/asset/v1p2beta1/asset_service.pb.go | 1519 -- .../cloud/asset/v1p2beta1/assets.pb.go | 408 - .../googleapis/cloud/audit/audit_log.pb.go | 394 - .../cloud/automl/v1/annotation_payload.pb.go | 122 - .../cloud/automl/v1/data_items.pb.go | 191 - .../googleapis/cloud/automl/v1/dataset.pb.go | 212 - .../googleapis/cloud/automl/v1/io.pb.go | 332 - .../googleapis/cloud/automl/v1/model.pb.go | 247 - .../cloud/automl/v1/model_evaluation.pb.go | 177 - .../cloud/automl/v1/operations.pb.go | 258 - .../cloud/automl/v1/prediction_service.pb.go | 284 - .../googleapis/cloud/automl/v1/service.pb.go | 1668 -- .../cloud/automl/v1/translation.pb.go | 270 - .../automl/v1beta1/annotation_payload.pb.go | 269 - .../automl/v1beta1/annotation_spec.pb.go | 118 - .../cloud/automl/v1beta1/classification.pb.go | 668 - .../cloud/automl/v1beta1/column_spec.pb.go | 213 - .../cloud/automl/v1beta1/data_items.pb.go | 773 - .../cloud/automl/v1beta1/data_stats.pb.go | 808 - .../cloud/automl/v1beta1/data_types.pb.go | 293 - .../cloud/automl/v1beta1/dataset.pb.go | 327 - .../cloud/automl/v1beta1/detection.pb.go | 490 - .../cloud/automl/v1beta1/geometry.pb.go | 151 - .../cloud/automl/v1beta1/image.pb.go | 482 - .../googleapis/cloud/automl/v1beta1/io.pb.go | 1816 --- .../cloud/automl/v1beta1/model.pb.go | 364 - .../automl/v1beta1/model_evaluation.pb.go | 310 - .../cloud/automl/v1beta1/operations.pb.go | 956 -- .../automl/v1beta1/prediction_service.pb.go | 623 - .../cloud/automl/v1beta1/ranges.pb.go | 100 - .../cloud/automl/v1beta1/regression.pb.go | 135 - .../cloud/automl/v1beta1/service.pb.go | 2853 ---- .../cloud/automl/v1beta1/table_spec.pb.go | 175 - .../cloud/automl/v1beta1/tables.pb.go | 567 - .../cloud/automl/v1beta1/temporal.pb.go | 106 - .../cloud/automl/v1beta1/text.pb.go | 277 - .../automl/v1beta1/text_extraction.pb.go | 269 - .../cloud/automl/v1beta1/text_segment.pb.go | 114 - .../cloud/automl/v1beta1/text_sentiment.pb.go | 239 - .../cloud/automl/v1beta1/translation.pb.go | 270 - .../cloud/automl/v1beta1/video.pb.go | 184 - .../connection/v1beta1/connection.pb.go | 1239 -- .../bigquery/datatransfer/v1/datasource.pb.go | 1941 --- .../datatransfer/v1/datatransfer.pb.go | 2687 --- .../bigquery/datatransfer/v1/transfer.pb.go | 756 - .../bigquery/logging/v1/audit_data.pb.go | 2653 --- .../bigquery/storage/v1beta1/arrow.pb.go | 142 - .../cloud/bigquery/storage/v1beta1/avro.pb.go | 143 - .../storage/v1beta1/read_options.pb.go | 109 - .../bigquery/storage/v1beta1/storage.pb.go | 1512 -- .../storage/v1beta1/table_reference.pb.go | 156 - .../cloud/bigquery/v2/encryption_config.pb.go | 95 - .../googleapis/cloud/bigquery/v2/model.pb.go | 2698 --- .../cloud/bigquery/v2/model_reference.pb.go | 112 - .../cloud/bigquery/v2/standard_sql.pb.go | 339 - .../cloud/billing/v1/cloud_billing.pb.go | 902 -- .../v1beta1/resources.pb.go | 874 - .../binaryauthorization/v1beta1/service.pb.go | 813 - .../datacatalog/v1beta1/datacatalog.pb.go | 3169 ---- .../v1beta1/gcs_fileset_spec.pb.go | 177 - .../cloud/datacatalog/v1beta1/schema.pb.go | 177 - .../cloud/datacatalog/v1beta1/search.pb.go | 176 - .../datacatalog/v1beta1/table_spec.pb.go | 346 - .../cloud/datacatalog/v1beta1/tags.pb.go | 751 - .../datacatalog/v1beta1/timestamps.pb.go | 112 - .../datalabeling/v1beta1/annotation.pb.go | 1674 -- .../v1beta1/annotation_spec_set.pb.go | 189 - .../v1beta1/data_labeling_service.pb.go | 4363 ----- .../datalabeling/v1beta1/data_payloads.pb.go | 305 - .../cloud/datalabeling/v1beta1/dataset.pb.go | 1413 -- .../datalabeling/v1beta1/evaluation.pb.go | 820 - .../datalabeling/v1beta1/evaluation_job.pb.go | 597 - .../v1beta1/human_annotation_config.pb.go | 879 - .../datalabeling/v1beta1/instruction.pb.go | 275 - .../datalabeling/v1beta1/operations.pb.go | 1223 -- .../dataproc/v1/autoscaling_policies.pb.go | 1052 -- .../cloud/dataproc/v1/clusters.pb.go | 2589 --- .../googleapis/cloud/dataproc/v1/jobs.pb.go | 2747 ---- .../cloud/dataproc/v1/operations.pb.go | 283 - .../googleapis/cloud/dataproc/v1/shared.pb.go | 91 - .../dataproc/v1/workflow_templates.pb.go | 2380 --- .../v1beta2/autoscaling_policies.pb.go | 1054 -- .../cloud/dataproc/v1beta2/clusters.pb.go | 2906 ---- .../cloud/dataproc/v1beta2/jobs.pb.go | 2874 ---- .../cloud/dataproc/v1beta2/operations.pb.go | 281 - .../cloud/dataproc/v1beta2/shared.pb.go | 110 - .../dataproc/v1beta2/workflow_templates.pb.go | 2408 --- .../cloud/dialogflow/v2/agent.pb.go | 1413 -- .../cloud/dialogflow/v2/audio_config.pb.go | 635 - .../cloud/dialogflow/v2/context.pb.go | 789 - .../cloud/dialogflow/v2/entity_type.pb.go | 1652 -- .../cloud/dialogflow/v2/intent.pb.go | 3196 ---- .../cloud/dialogflow/v2/session.pb.go | 1565 -- .../dialogflow/v2/session_entity_type.pb.go | 805 - .../cloud/dialogflow/v2/webhook.pb.go | 352 - .../cloud/dialogflow/v2beta1/agent.pb.go | 1522 -- .../dialogflow/v2beta1/audio_config.pb.go | 840 - .../cloud/dialogflow/v2beta1/context.pb.go | 818 - .../cloud/dialogflow/v2beta1/document.pb.go | 1105 -- .../dialogflow/v2beta1/entity_type.pb.go | 1644 -- .../cloud/dialogflow/v2beta1/gcs.pb.go | 93 - .../cloud/dialogflow/v2beta1/intent.pb.go | 5274 ------ .../dialogflow/v2beta1/knowledge_base.pb.go | 726 - .../cloud/dialogflow/v2beta1/session.pb.go | 1868 --- .../v2beta1/session_entity_type.pb.go | 828 - .../v2beta1/validation_result.pb.go | 215 - .../cloud/dialogflow/v2beta1/webhook.pb.go | 375 - .../cloud/document/v1beta1/document.pb.go | 1716 -- .../v1beta1/document_understanding.pb.go | 1170 -- .../cloud/document/v1beta1/geometry.pb.go | 208 - .../cloud/functions/v1beta2/functions.pb.go | 1318 -- .../cloud/functions/v1beta2/operations.pb.go | 154 - .../cloud/iot/v1/device_manager.pb.go | 2304 --- .../googleapis/cloud/iot/v1/resources.pb.go | 1521 -- .../cloud/irm/v1alpha2/incidents.pb.go | 1683 -- .../irm/v1alpha2/incidents_service.pb.go | 4072 ----- .../googleapis/cloud/kms/v1/resources.pb.go | 1313 -- .../googleapis/cloud/kms/v1/service.pb.go | 3152 ---- .../cloud/language/v1/language_service.pb.go | 3188 ---- .../language/v1beta1/language_service.pb.go | 2736 ---- .../language/v1beta2/language_service.pb.go | 3200 ---- .../googleapis/cloud/location/locations.pb.go | 441 - .../googleapis/cloud/ml/v1/job_service.pb.go | 1965 --- .../cloud/ml/v1/model_service.pb.go | 1413 -- .../cloud/ml/v1/operation_metadata.pb.go | 197 - .../cloud/ml/v1/prediction_service.pb.go | 384 - .../cloud/ml/v1/project_service.pb.go | 241 - .../cloud/oslogin/common/common.pb.go | 311 - .../googleapis/cloud/oslogin/v1/oslogin.pb.go | 810 - .../cloud/oslogin/v1alpha/oslogin.pb.go | 779 - .../cloud/oslogin/v1beta/oslogin.pb.go | 780 - .../v1beta1/phishingprotection.pb.go | 247 - .../v1beta1/recaptchaenterprise.pb.go | 714 - .../recommender/v1beta1/recommendation.pb.go | 734 - .../v1beta1/recommender_service.pb.go | 744 - .../cloud/redis/v1/cloud_redis.pb.go | 1879 --- .../cloud/redis/v1beta1/cloud_redis.pb.go | 1776 -- .../cloud/resourcemanager/v2/folders.pb.go | 1566 -- .../runtimeconfig/v1beta1/resources.pb.go | 581 - .../runtimeconfig/v1beta1/runtimeconfig.pb.go | 1834 --- .../cloud/scheduler/v1/cloudscheduler.pb.go | 951 -- .../googleapis/cloud/scheduler/v1/job.pb.go | 518 - .../cloud/scheduler/v1/target.pb.go | 763 - .../scheduler/v1beta1/cloudscheduler.pb.go | 952 -- .../cloud/scheduler/v1beta1/job.pb.go | 520 - .../cloud/scheduler/v1beta1/target.pb.go | 764 - .../cloud/securitycenter/v1/asset.pb.go | 316 - .../cloud/securitycenter/v1/finding.pb.go | 255 - .../v1/organization_settings.pb.go | 226 - .../v1/run_asset_discovery_response.pb.go | 150 - .../securitycenter/v1/security_marks.pb.go | 118 - .../v1/securitycenter_service.pb.go | 2903 ---- .../cloud/securitycenter/v1/source.pb.go | 128 - .../cloud/securitycenter/v1beta1/asset.pb.go | 253 - .../securitycenter/v1beta1/finding.pb.go | 252 - .../v1beta1/organization_settings.pb.go | 222 - .../v1beta1/security_marks.pb.go | 114 - .../v1beta1/securitycenter_service.pb.go | 2583 --- .../cloud/securitycenter/v1beta1/source.pb.go | 125 - .../cloud/speech/v1/cloud_speech.pb.go | 2122 --- .../cloud/speech/v1p1beta1/cloud_speech.pb.go | 2245 --- .../cloud/support/common/common.pb.go | 1061 -- .../support/v1alpha1/cloud_support.pb.go | 1098 -- .../cloud/talent/v4beta1/application.pb.go | 407 - .../talent/v4beta1/application_service.pb.go | 658 - .../cloud/talent/v4beta1/batch.pb.go | 42 - .../cloud/talent/v4beta1/common.pb.go | 2684 --- .../cloud/talent/v4beta1/company.pb.go | 301 - .../talent/v4beta1/company_service.pb.go | 684 - .../talent/v4beta1/completion_service.pb.go | 495 - .../cloud/talent/v4beta1/event.pb.go | 547 - .../cloud/talent/v4beta1/event_service.pb.go | 214 - .../cloud/talent/v4beta1/filters.pb.go | 2081 --- .../cloud/talent/v4beta1/histogram.pb.go | 164 - .../googleapis/cloud/talent/v4beta1/job.pb.go | 792 - .../cloud/talent/v4beta1/job_service.pb.go | 2308 --- .../cloud/talent/v4beta1/profile.pb.go | 2287 --- .../talent/v4beta1/profile_service.pb.go | 1306 -- .../cloud/talent/v4beta1/tenant.pb.go | 188 - .../cloud/talent/v4beta1/tenant_service.pb.go | 651 - .../cloud/tasks/v2/cloudtasks.pb.go | 1938 --- .../googleapis/cloud/tasks/v2/queue.pb.go | 585 - .../googleapis/cloud/tasks/v2/target.pb.go | 459 - .../googleapis/cloud/tasks/v2/task.pb.go | 411 - .../cloud/tasks/v2beta2/cloudtasks.pb.go | 2617 --- .../cloud/tasks/v2beta2/queue.pb.go | 680 - .../cloud/tasks/v2beta2/target.pb.go | 670 - .../googleapis/cloud/tasks/v2beta2/task.pb.go | 451 - .../cloud/tasks/v2beta3/cloudtasks.pb.go | 1939 --- .../cloud/tasks/v2beta3/queue.pb.go | 667 - .../cloud/tasks/v2beta3/target.pb.go | 839 - .../googleapis/cloud/tasks/v2beta3/task.pb.go | 434 - .../cloud/texttospeech/v1/cloud_tts.pb.go | 848 - .../texttospeech/v1beta1/cloud_tts.pb.go | 848 - .../translate/v3/translation_service.pb.go | 2764 ---- .../v3beta1/translation_service.pb.go | 2750 ---- .../v1/video_intelligence.pb.go | 2802 ---- .../v1beta2/video_intelligence.pb.go | 1636 -- .../v1p1beta1/video_intelligence.pb.go | 1692 -- .../v1p2beta1/video_intelligence.pb.go | 1897 --- .../v1p3beta1/video_intelligence.pb.go | 3652 ----- .../googleapis/cloud/vision/v1/geometry.pb.go | 271 - .../cloud/vision/v1/image_annotator.pb.go | 3460 ---- .../cloud/vision/v1/product_search.pb.go | 418 - .../vision/v1/product_search_service.pb.go | 3251 ---- .../cloud/vision/v1/text_annotation.pb.go | 813 - .../cloud/vision/v1/web_detection.pb.go | 404 - .../cloud/vision/v1p1beta1/geometry.pb.go | 205 - .../vision/v1p1beta1/image_annotator.pb.go | 2036 --- .../vision/v1p1beta1/text_annotation.pb.go | 807 - .../vision/v1p1beta1/web_detection.pb.go | 403 - .../cloud/vision/v1p2beta1/geometry.pb.go | 269 - .../vision/v1p2beta1/image_annotator.pb.go | 2754 ---- .../vision/v1p2beta1/text_annotation.pb.go | 814 - .../vision/v1p2beta1/web_detection.pb.go | 403 - .../cloud/vision/v1p3beta1/geometry.pb.go | 314 - .../vision/v1p3beta1/image_annotator.pb.go | 2881 ---- .../vision/v1p3beta1/product_search.pb.go | 494 - .../v1p3beta1/product_search_service.pb.go | 3013 ---- .../vision/v1p3beta1/text_annotation.pb.go | 814 - .../vision/v1p3beta1/web_detection.pb.go | 403 - .../cloud/vision/v1p4beta1/geometry.pb.go | 272 - .../vision/v1p4beta1/image_annotator.pb.go | 3283 ---- .../vision/v1p4beta1/product_search.pb.go | 330 - .../v1p4beta1/product_search_service.pb.go | 3025 ---- .../vision/v1p4beta1/text_annotation.pb.go | 815 - .../vision/v1p4beta1/web_detection.pb.go | 405 - .../cloud/webrisk/v1beta1/webrisk.pb.go | 1266 -- .../v1alpha/crawled_url.pb.go | 110 - .../websecurityscanner/v1alpha/finding.pb.go | 356 - .../v1alpha/finding_addon.pb.go | 369 - .../v1alpha/finding_type_stats.pb.go | 100 - .../v1alpha/scan_config.pb.go | 548 - .../websecurityscanner/v1alpha/scan_run.pb.go | 274 - .../v1alpha/web_security_scanner.pb.go | 1600 -- .../v1beta/crawled_url.pb.go | 112 - .../websecurityscanner/v1beta/finding.pb.go | 262 - .../v1beta/finding_addon.pb.go | 423 - .../v1beta/finding_type_stats.pb.go | 101 - .../v1beta/scan_config.pb.go | 647 - .../v1beta/scan_config_error.pb.go | 354 - .../websecurityscanner/v1beta/scan_run.pb.go | 300 - .../v1beta/scan_run_error_trace.pb.go | 183 - .../v1beta/scan_run_warning_trace.pb.go | 147 - .../v1beta/web_security_scanner.pb.go | 1600 -- .../container/v1/cluster_service.pb.go | 7226 --------- .../container/v1alpha1/cluster_service.pb.go | 6957 -------- .../container/v1beta1/cluster_service.pb.go | 9226 ----------- .../datastore/admin/v1/datastore_admin.pb.go | 1260 -- .../googleapis/datastore/admin/v1/index.pb.go | 335 - .../admin/v1beta1/datastore_admin.pb.go | 925 -- .../googleapis/datastore/v1/datastore.pb.go | 1808 --- .../googleapis/datastore/v1/query.pb.go | 1153 -- .../datastore/v1beta3/datastore.pb.go | 1815 --- .../googleapis/datastore/v1beta3/query.pb.go | 1156 -- .../devtools/build/v1/build_events.pb.go | 780 - .../devtools/build/v1/build_status.pb.go | 168 - .../build/v1/publish_build_event.pb.go | 561 - .../devtools/cloudbuild/v1/cloudbuild.pb.go | 4807 ------ .../clouddebugger/v2/controller.pb.go | 600 - .../devtools/clouddebugger/v2/data.pb.go | 1089 -- .../devtools/clouddebugger/v2/debugger.pb.go | 908 -- .../clouderrorreporting/v1beta1/common.pb.go | 565 - .../v1beta1/error_group_service.pb.go | 276 - .../v1beta1/error_stats_service.pb.go | 1174 -- .../v1beta1/report_errors_service.pb.go | 331 - .../devtools/cloudprofiler/v2/profiler.pb.go | 690 - .../devtools/cloudtrace/v1/trace.pb.go | 897 - .../devtools/cloudtrace/v2/trace.pb.go | 1268 -- .../devtools/cloudtrace/v2/tracing.pb.go | 241 - .../v1/containeranalysis.pb.go | 262 - .../v1alpha1/bill_of_materials.pb.go | 393 - .../v1alpha1/containeranalysis.pb.go | 4151 ----- .../v1alpha1/image_basis.pb.go | 449 - .../v1alpha1/package_vulnerability.pb.go | 625 - .../v1alpha1/provenance.pb.go | 864 - .../v1alpha1/source_context.pb.go | 666 - .../v1beta1/attestation/attestation.pb.go | 418 - .../v1beta1/build/build.pb.go | 295 - .../v1beta1/common/common.pb.go | 158 - .../v1beta1/containeranalysis.pb.go | 700 - .../v1beta1/deployment/deployment.pb.go | 280 - .../v1beta1/discovery/discovery.pb.go | 307 - .../v1beta1/grafeas/grafeas.pb.go | 2504 --- .../v1beta1/image/image.pb.go | 452 - .../v1beta1/package/package.pb.go | 512 - .../v1beta1/provenance/provenance.pb.go | 603 - .../v1beta1/source/source.pb.go | 661 - .../v1beta1/vulnerability/vulnerability.pb.go | 530 - .../v1test/remote_execution.pb.go | 2873 ---- .../devtools/remoteworkers/v1test2/bots.pb.go | 839 - .../remoteworkers/v1test2/command.pb.go | 972 -- .../remoteworkers/v1test2/tasks.pb.go | 638 - .../remoteworkers/v1test2/worker.pb.go | 420 - .../devtools/resultstore/v2/action.pb.go | 1179 -- .../devtools/resultstore/v2/common.pb.go | 582 - .../resultstore/v2/configuration.pb.go | 246 - .../resultstore/v2/configured_target.pb.go | 296 - .../devtools/resultstore/v2/coverage.pb.go | 362 - .../resultstore/v2/coverage_summary.pb.go | 235 - .../resultstore/v2/download_metadata.pb.go | 100 - .../devtools/resultstore/v2/file.pb.go | 305 - .../v2/file_processing_error.pb.go | 218 - .../devtools/resultstore/v2/file_set.pb.go | 186 - .../devtools/resultstore/v2/invocation.pb.go | 612 - .../resultstore/v2/resultstore_download.pb.go | 2387 --- .../v2/resultstore_file_download.pb.go | 477 - .../resultstore/v2/resultstore_upload.pb.go | 4067 ----- .../devtools/resultstore/v2/target.pb.go | 445 - .../devtools/resultstore/v2/test_suite.pb.go | 603 - .../resultstore/v2/upload_metadata.pb.go | 112 - .../devtools/source/v1/source_context.pb.go | 871 - .../devtools/sourcerepo/v1/sourcerepo.pb.go | 811 - .../example/library/v1/library.pb.go | 1358 -- .../connection/v1alpha1/connection_api.pb.go | 459 - .../googleapis/firestore/admin/v1/field.pb.go | 216 - .../firestore/admin/v1/firestore_admin.pb.go | 1169 -- .../googleapis/firestore/admin/v1/index.pb.go | 408 - .../firestore/admin/v1/location.pb.go | 83 - .../firestore/admin/v1/operation.pb.go | 713 - .../admin/v1beta1/firestore_admin.pb.go | 1297 -- .../firestore/admin/v1beta1/index.pb.go | 276 - .../firestore/admin/v1beta1/location.pb.go | 82 - .../firestore/admin/v1beta2/field.pb.go | 216 - .../admin/v1beta2/firestore_admin.pb.go | 1169 -- .../firestore/admin/v1beta2/index.pb.go | 407 - .../firestore/admin/v1beta2/operation.pb.go | 713 - .../googleapis/firestore/v1/common.pb.go | 389 - .../googleapis/firestore/v1/document.pb.go | 489 - .../googleapis/firestore/v1/firestore.pb.go | 3073 ---- .../googleapis/firestore/v1/query.pb.go | 902 -- .../googleapis/firestore/v1/write.pb.go | 771 - .../googleapis/firestore/v1beta1/common.pb.go | 392 - .../firestore/v1beta1/document.pb.go | 491 - .../firestore/v1beta1/firestore.pb.go | 3074 ---- .../googleapis/firestore/v1beta1/query.pb.go | 905 -- .../googleapis/firestore/v1beta1/write.pb.go | 774 - .../googleapis/genomics/v1/annotations.pb.go | 2580 --- .../googleapis/genomics/v1/cigar.pb.go | 204 - .../googleapis/genomics/v1/datasets.pb.go | 1000 -- .../googleapis/genomics/v1/operations.pb.go | 247 - .../googleapis/genomics/v1/position.pb.go | 110 - .../googleapis/genomics/v1/range.pb.go | 107 - .../genomics/v1/readalignment.pb.go | 451 - .../googleapis/genomics/v1/readgroup.pb.go | 354 - .../googleapis/genomics/v1/readgroupset.pb.go | 167 - .../googleapis/genomics/v1/reads.pb.go | 1806 --- .../googleapis/genomics/v1/references.pb.go | 1124 -- .../googleapis/genomics/v1/variants.pb.go | 3591 ---- .../genomics/v1alpha2/pipelines.pb.go | 2246 --- .../geo/type/viewport/viewport.pb.go | 130 - .../googleapis/grafeas/v1/attestation.pb.go | 209 - .../googleapis/grafeas/v1/build.pb.go | 150 - .../googleapis/grafeas/v1/common.pb.go | 249 - .../genproto/googleapis/grafeas/v1/cvss.pb.go | 387 - .../googleapis/grafeas/v1/deployment.pb.go | 233 - .../googleapis/grafeas/v1/discovery.pb.go | 247 - .../googleapis/grafeas/v1/grafeas.pb.go | 2205 --- .../googleapis/grafeas/v1/image.pb.go | 301 - .../googleapis/grafeas/v1/package.pb.go | 473 - .../googleapis/grafeas/v1/provenance.pb.go | 1177 -- .../googleapis/grafeas/v1/vulnerability.pb.go | 720 - .../googleapis/home/graph/v1/device.pb.go | 390 - .../googleapis/home/graph/v1/homegraph.pb.go | 1297 -- .../googleapis/iam/admin/v1/iam.pb.go | 3247 ---- .../iam/credentials/v1/common.pb.go | 562 - .../iam/credentials/v1/iamcredentials.pb.go | 257 - .../googleapis/iam/v1/iam_policy.pb.go | 450 - .../iam/v1/logging/audit_data.pb.go | 94 - .../genproto/googleapis/iam/v1/options.pb.go | 96 - .../genproto/googleapis/iam/v1/policy.pb.go | 566 - .../logging/type/http_request.pb.go | 253 - .../logging/type/log_severity.pb.go | 126 - .../googleapis/logging/v2/log_entry.pb.go | 524 - .../googleapis/logging/v2/logging.pb.go | 1066 -- .../logging/v2/logging_config.pb.go | 1748 -- .../logging/v2/logging_metrics.pb.go | 897 - .../googleapis/longrunning/operations.pb.go | 890 - .../googleapis/monitoring/v3/alert.pb.go | 851 - .../monitoring/v3/alert_service.pb.go | 700 - .../googleapis/monitoring/v3/common.pb.go | 810 - .../monitoring/v3/dropped_labels.pb.go | 103 - .../googleapis/monitoring/v3/group.pb.go | 159 - .../monitoring/v3/group_service.pb.go | 919 -- .../googleapis/monitoring/v3/metric.pb.go | 235 - .../monitoring/v3/metric_service.pb.go | 1260 -- .../monitoring/v3/mutation_record.pb.go | 101 - .../monitoring/v3/notification.pb.go | 373 - .../monitoring/v3/notification_service.pb.go | 1363 -- .../monitoring/v3/span_context.pb.go | 100 - .../googleapis/monitoring/v3/uptime.pb.go | 994 -- .../monitoring/v3/uptime_service.pb.go | 825 - .../googleapis/privacy/dlp/v2/dlp.pb.go | 13522 ---------------- .../googleapis/privacy/dlp/v2/storage.pb.go | 2474 --- .../googleapis/pubsub/v1/pubsub.pb.go | 4021 ----- .../googleapis/pubsub/v1beta2/pubsub.pb.go | 1991 --- .../genproto/googleapis/rpc/code/code.pb.go | 251 - .../rpc/errdetails/error_details.pb.go | 779 - .../googleapis/rpc/status/status.pb.go | 163 - .../database/v1/spanner_database_admin.pb.go | 1205 -- .../instance/v1/spanner_instance_admin.pb.go | 1620 -- .../genproto/googleapis/spanner/v1/keys.pb.go | 345 - .../googleapis/spanner/v1/mutation.pb.go | 321 - .../googleapis/spanner/v1/query_plan.pb.go | 395 - .../googleapis/spanner/v1/result_set.pb.go | 478 - .../googleapis/spanner/v1/spanner.pb.go | 2762 ---- .../googleapis/spanner/v1/transaction.pb.go | 827 - .../genproto/googleapis/spanner/v1/type.pb.go | 309 - .../storagetransfer/v1/transfer.pb.go | 843 - .../storagetransfer/v1/transfer_types.pb.go | 1460 -- .../streetview/publish/v1/resources.pb.go | 695 - .../streetview/publish/v1/rpcmessages.pb.go | 859 - .../publish/v1/streetview_publish.pb.go | 740 - .../type/calendarperiod/calendar_period.pb.go | 106 - .../googleapis/type/color/color.pb.go | 244 - .../genproto/googleapis/type/date/date.pb.go | 115 - .../googleapis/type/dayofweek/dayofweek.pb.go | 99 - .../genproto/googleapis/type/expr/expr.pb.go | 125 - .../googleapis/type/fraction/fraction.pb.go | 94 - .../googleapis/type/latlng/latlng.pb.go | 97 - .../googleapis/type/money/money.pb.go | 110 - .../type/postaladdress/postal_address.pb.go | 257 - .../type/quaternion/quaternion.pb.go | 167 - .../googleapis/type/timeofday/timeofday.pb.go | 117 - .../googleapis/watcher/v1/watch.pb.go | 448 - .../genproto/protobuf/api/api.pb.go | 411 - .../protobuf/field_mask/field_mask.pb.go | 282 - .../genproto/protobuf/ptype/type.pb.go | 655 - .../source_context/source_context.pb.go | 89 - .../grpclb/grpc_lb_v1/load_balancer.pb.go | 722 - .../grpc/benchmark/grpc_testing/control.pb.go | 1355 -- .../benchmark/grpc_testing/messages.pb.go | 748 - .../benchmark/grpc_testing/payloads.pb.go | 270 - .../benchmark/grpc_testing/services.pb.go | 550 - .../grpc/benchmark/grpc_testing/stats.pb.go | 308 - .../grpc_binarylog_v1/binarylog.pb.go | 900 - .../channelz/grpc_channelz_v1/channelz.pb.go | 3239 ---- .../internal/proto/grpc_gcp/altscontext.pb.go | 152 - .../internal/proto/grpc_gcp/handshaker.pb.go | 1075 -- .../grpc_gcp/transport_security_common.pb.go | 184 - .../examples/features/proto/echo/echo.pb.go | 421 - .../helloworld/helloworld/helloworld.pb.go | 209 - .../route_guide/routeguide/route_guide.pb.go | 663 - .../grpc/health/grpc_health_v1/health.pb.go | 343 - .../grpc/interop/grpc_testing/test.pb.go | 1152 -- .../grpc_reflection_v1alpha/reflection.pb.go | 750 - .../grpc/reflection/grpc_testing/proto2.pb.go | 85 - .../reflection/grpc_testing/proto2_ext.pb.go | 112 - .../reflection/grpc_testing/proto2_ext2.pb.go | 101 - .../grpc/reflection/grpc_testing/test.pb.go | 334 - .../reflection/grpc_testingv3/testv3.pb.go | 457 - .../grpc/stats/grpc_testing/test.pb.go | 423 - .../grpc/stress/grpc_testing/metrics.pb.go | 378 - .../grpc/test/codec_perf/perf.pb.go | 78 - .../grpc/test/grpc_testing/test.pb.go | 984 -- .../proto/envoy/api/v2/auth/cert/cert.pb.go | 1144 -- .../internal/proto/envoy/api/v2/cds/cds.pb.go | 1845 --- .../circuit_breaker/circuit_breaker.pb.go | 185 - .../outlier_detection/outlier_detection.pb.go | 224 - .../envoy/api/v2/core/address/address.pb.go | 610 - .../proto/envoy/api/v2/core/base/base.pb.go | 1125 -- .../v2/core/config_source/config_source.pb.go | 446 - .../v2/core/grpc_service/grpc_service.pb.go | 1196 -- .../v2/core/health_check/health_check.pb.go | 1007 -- .../envoy/api/v2/core/protocol/protocol.pb.go | 311 - .../envoy/api/v2/discovery/discovery.pb.go | 455 - .../internal/proto/envoy/api/v2/eds/eds.pb.go | 454 - .../api/v2/endpoint/endpoint/endpoint.pb.go | 394 - .../v2/endpoint/load_report/load_report.pb.go | 446 - .../envoy/service/discovery/v2/ads/ads.pb.go | 251 - .../envoy/service/load_stats/v2/lrs/lrs.pb.go | 272 - .../proto/envoy/type/percent/percent.pb.go | 160 - .../proto/envoy/type/range/range.pb.go | 132 - .../orca_load_report/orca_load_report.pb.go | 127 - .../udpa/service/orca/v1/orca/orca.pb.go | 203 - .../internal/proto/validate/validate.pb.go | 3214 ---- 1716 files changed, 154 insertions(+), 815953 deletions(-) create mode 100644 .dockerignore create mode 100644 Dockerfile.app create mode 100644 Dockerfile.gateway create mode 100644 docker-compose.yml delete mode 100644 vendor/github.com/golang/protobuf/jsonpb/jsonpb_test_proto/more_test_objects.pb.go delete mode 100644 vendor/github.com/golang/protobuf/jsonpb/jsonpb_test_proto/test_objects.pb.go delete mode 100644 vendor/github.com/golang/protobuf/proto/proto3_proto/proto3.pb.go delete mode 100644 vendor/github.com/golang/protobuf/proto/test_proto/test.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/descriptor/descriptor.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/plugin/plugin.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/plugin/plugin.pb.golden delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/deprecated/deprecated.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/extension_base/extension_base.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/extension_extra/extension_extra.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/extension_user/extension_user.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/grpc/grpc.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/grpc/grpc_empty.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/import_public/a.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/import_public/b.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/import_public/importing/importing.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/import_public/sub/a.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/import_public/sub/b.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/fmt/m.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_a_1/m1.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_a_1/m2.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_a_2/m3.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_a_2/m4.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_b_1/m1.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_b_1/m2.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_import_a1m1.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_import_a1m2.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_import_all.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/issue780_oneof_conflict/test.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/multi/multi1.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/multi/multi2.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/multi/multi3.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/my_test/test.pb.go delete mode 100644 vendor/github.com/golang/protobuf/protoc-gen-go/testdata/proto3/proto3.pb.go delete mode 100644 vendor/github.com/golang/protobuf/ptypes/any/any.pb.go delete mode 100644 vendor/github.com/golang/protobuf/ptypes/duration/duration.pb.go delete mode 100644 vendor/github.com/golang/protobuf/ptypes/empty/empty.pb.go delete mode 100644 vendor/github.com/golang/protobuf/ptypes/struct/struct.pb.go delete mode 100644 vendor/github.com/golang/protobuf/ptypes/timestamp/timestamp.pb.go delete mode 100644 vendor/github.com/golang/protobuf/ptypes/wrappers/wrappers.pb.go delete mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/bin/.gitignore delete mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/browser/bin/.gitignore delete mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/pbwrappers/helloworld/helloworld.pb.go delete mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/pbwrappers/helloworld/helloworld.pb.gw.go delete mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/a_bit_of_everything.pb.go delete mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/a_bit_of_everything.pb.gw.go delete mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/echo_service.pb.go delete mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/echo_service.pb.gw.go delete mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/flow_combination.pb.go delete mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/flow_combination.pb.gw.go delete mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/non_standard_names.pb.go delete mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/non_standard_names.pb.gw.go delete mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/response_body_service.pb.go delete mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/response_body_service.pb.gw.go delete mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/stream.pb.go delete mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/stream.pb.gw.go delete mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/unannotated_echo_service.pb.go delete mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/unannotated_echo_service.pb.gw.go delete mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/wrappers.pb.go delete mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/wrappers.pb.gw.go delete mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/pathenum/path_enum.pb.go delete mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/sub/message.pb.go delete mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/sub2/message.pb.go delete mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/internal/stream_chunk.pb.go delete mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options/annotations.pb.go delete mode 100644 vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options/openapiv2.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/ad_asset.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/ad_type_infos.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/asset_types.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/bidding.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/click_location.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/criteria.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/criterion_category_availability.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/custom_parameter.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/dates.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/explorer_auto_optimizer_setting.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/extensions.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/feed_common.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/final_app_url.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/frequency_cap.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/keyword_plan_common.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/matching_function.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/metrics.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/policy.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/real_time_bidding_setting.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/segments.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/simulation.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/tag_snippet.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/targeting_setting.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/text_label.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/url_collection.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/user_lists.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/value.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/access_reason.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/account_budget_proposal_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/account_budget_proposal_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/account_budget_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_customizer_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_group_ad_rotation_mode.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_group_ad_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_group_criterion_approval_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_group_criterion_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_group_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_group_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_network_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_serving_optimization_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_strength.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/advertising_channel_sub_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/advertising_channel_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/affiliate_location_feed_relationship_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/affiliate_location_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/age_range_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/app_campaign_app_store.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/app_campaign_bidding_strategy_goal_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/app_payment_model_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/app_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/app_store.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/app_url_operating_system_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/asset_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/attribution_model.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/bid_modifier_source.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/bidding_source.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/bidding_strategy_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/bidding_strategy_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/billing_setup_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/brand_safety_suitability.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/budget_delivery_method.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/budget_period.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/budget_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/budget_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/call_conversion_reporting_state.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/call_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/callout_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/campaign_criterion_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/campaign_draft_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/campaign_experiment_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/campaign_experiment_traffic_split_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/campaign_experiment_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/campaign_serving_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/campaign_shared_set_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/campaign_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/change_status_operation.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/change_status_resource_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/click_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/content_label_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/conversion_action_category.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/conversion_action_counting_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/conversion_action_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/conversion_action_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/conversion_adjustment_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/conversion_attribution_event_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/conversion_lag_bucket.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/conversion_or_adjustment_lag_bucket.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/criterion_category_channel_availability_mode.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/criterion_category_locale_availability_mode.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/criterion_system_serving_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/criterion_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/custom_interest_member_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/custom_interest_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/custom_interest_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/custom_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/customer_match_upload_key_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/customer_pay_per_conversion_eligibility_failure_reason.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/data_driven_model_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/day_of_week.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/device.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/display_ad_format_setting.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/display_upload_product_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/dsa_page_feed_criterion_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/education_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/extension_setting_device.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/extension_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/external_conversion_source.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_attribute_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_item_quality_approval_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_item_quality_disapproval_reason.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_item_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_item_target_device.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_item_target_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_item_validation_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_link_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_mapping_criterion_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_mapping_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_origin.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/flight_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/frequency_cap_event_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/frequency_cap_level.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/frequency_cap_time_unit.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/gender_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/geo_target_constant_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/geo_targeting_restriction.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/geo_targeting_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/google_ads_field_category.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/google_ads_field_data_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/hotel_date_selection_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/hotel_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/hotel_rate_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/income_range_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/interaction_event_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/interaction_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/job_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/keyword_match_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/keyword_plan_competition_level.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/keyword_plan_forecast_interval.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/keyword_plan_network.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/label_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/legacy_app_install_ad_app_store.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/listing_custom_attribute_index.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/listing_group_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/local_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/location_extension_targeting_criterion_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/location_group_radius_units.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/location_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/manager_link_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/matching_function_context_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/matching_function_operator.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/media_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/merchant_center_link_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/message_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/mime_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/minute_of_hour.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/mobile_device_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/month_of_year.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/mutate_job_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/negative_geo_target_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/operating_system_version_operator_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/page_one_promoted_strategy_goal.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/parental_status_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/payment_mode.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/placeholder_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/placement_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/policy_approval_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/policy_review_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/policy_topic_entry_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/policy_topic_evidence_destination_mismatch_url_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/policy_topic_evidence_destination_not_working_device.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/positive_geo_target_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/preferred_content_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/price_extension_price_qualifier.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/price_extension_price_unit.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/price_extension_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/price_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/product_bidding_category_level.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/product_bidding_category_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/product_channel.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/product_channel_exclusivity.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/product_condition.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/product_type_level.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/promotion_extension_discount_modifier.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/promotion_extension_occasion.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/promotion_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/proximity_radius_units.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/quality_score_bucket.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/real_estate_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/recommendation_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/search_engine_results_page_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/search_term_match_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/search_term_targeting_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/served_asset_field_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/shared_set_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/shared_set_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/simulation_modification_method.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/simulation_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/sitelink_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/slot.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/spending_limit_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/structured_snippet_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/system_managed_entity_source.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/target_cpa_opt_in_recommendation_goal.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/target_impression_share_location.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/targeting_dimension.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/time_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/tracking_code_page_format.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/tracking_code_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/travel_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_interest_taxonomy_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_access_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_closing_reason.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_combined_rule_operator.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_crm_data_source_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_date_rule_item_operator.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_logical_rule_operator.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_membership_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_number_rule_item_operator.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_prepopulation_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_rule_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_size_range.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_string_rule_item_operator.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/vanity_pharma_display_url_mode.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/vanity_pharma_text.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/webpage_condition_operand.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/webpage_condition_operator.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/account_budget_proposal_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/ad_customizer_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/ad_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/ad_group_ad_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/ad_group_bid_modifier_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/ad_group_criterion_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/ad_group_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/ad_group_feed_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/ad_parameter_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/ad_sharing_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/adx_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/asset_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/authentication_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/authorization_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/bidding_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/bidding_strategy_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/billing_setup_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/campaign_budget_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/campaign_criterion_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/campaign_draft_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/campaign_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/campaign_experiment_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/campaign_feed_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/campaign_shared_set_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/change_status_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/collection_size_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/context_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/conversion_action_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/conversion_adjustment_upload_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/conversion_upload_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/country_code_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/criterion_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/custom_interest_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/customer_client_link_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/customer_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/customer_feed_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/customer_manager_link_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/database_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/date_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/date_range_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/distinct_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/enum_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/errors.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/extension_feed_item_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/extension_setting_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/feed_attribute_reference_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/feed_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/feed_item_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/feed_item_target_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/feed_item_validation_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/feed_mapping_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/field_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/field_mask_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/function_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/function_parsing_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/geo_target_constant_suggestion_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/header_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/id_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/image_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/internal_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/keyword_plan_ad_group_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/keyword_plan_campaign_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/keyword_plan_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/keyword_plan_idea_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/keyword_plan_keyword_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/keyword_plan_negative_keyword_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/label_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/language_code_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/list_operation_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/manager_link_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/media_bundle_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/media_file_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/media_upload_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/multiplier_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/mutate_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/mutate_job_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/new_resource_creation_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/not_empty_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/not_whitelisted_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/null_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/operation_access_denied_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/operator_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/partial_failure_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/policy_finding_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/policy_validation_parameter_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/policy_violation_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/query_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/quota_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/range_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/recommendation_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/region_code_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/request_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/resource_access_denied_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/resource_count_limit_exceeded_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/setting_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/shared_criterion_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/shared_set_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/size_limit_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/string_format_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/string_length_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/url_field_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/user_list_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/youtube_video_registration_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/account_budget.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/account_budget_proposal.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_ad.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_ad_label.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_audience_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_bid_modifier.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_criterion.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_criterion_label.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_criterion_simulation.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_extension_setting.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_feed.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_label.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_simulation.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_parameter.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_schedule_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/age_range_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/asset.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/bidding_strategy.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/billing_setup.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_audience_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_bid_modifier.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_budget.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_criterion.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_criterion_simulation.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_draft.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_experiment.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_extension_setting.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_feed.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_label.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_shared_set.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/carrier_constant.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/change_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/click_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/conversion_action.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/custom_interest.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/customer.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/customer_client.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/customer_client_link.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/customer_extension_setting.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/customer_feed.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/customer_label.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/customer_manager_link.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/customer_negative_criterion.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/detail_placement_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/display_keyword_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/domain_category.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/dynamic_search_ads_search_term_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/expanded_landing_page_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/extension_feed_item.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/feed.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/feed_item.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/feed_item_target.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/feed_mapping.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/feed_placeholder_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/gender_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/geo_target_constant.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/geographic_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/google_ads_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/group_placement_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/hotel_group_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/hotel_performance_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/keyword_plan.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/keyword_plan_ad_group.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/keyword_plan_campaign.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/keyword_plan_keyword.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/keyword_plan_negative_keyword.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/keyword_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/label.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/landing_page_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/language_constant.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/location_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/managed_placement_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/media_file.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/merchant_center_link.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/mobile_app_category_constant.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/mobile_device_constant.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/mutate_job.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/operating_system_version_constant.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/paid_organic_search_term_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/parental_status_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/payments_account.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/product_bidding_category_constant.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/product_group_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/recommendation.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/remarketing_action.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/search_term_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/shared_criterion.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/shared_set.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/shopping_performance_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/topic_constant.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/topic_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/user_interest.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/user_list.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/video.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/account_budget_proposal_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/account_budget_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_ad_label_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_ad_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_audience_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_bid_modifier_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_criterion_label_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_criterion_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_criterion_simulation_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_extension_setting_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_feed_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_label_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_simulation_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_parameter_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_schedule_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/age_range_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/asset_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/bidding_strategy_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/billing_setup_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_audience_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_bid_modifier_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_budget_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_criterion_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_criterion_simulation_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_draft_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_experiment_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_extension_setting_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_feed_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_label_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_shared_set_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/carrier_constant_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/change_status_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/click_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/conversion_action_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/conversion_adjustment_upload_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/conversion_upload_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/custom_interest_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/customer_client_link_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/customer_client_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/customer_extension_setting_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/customer_feed_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/customer_label_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/customer_manager_link_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/customer_negative_criterion_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/customer_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/detail_placement_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/display_keyword_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/domain_category_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/dynamic_search_ads_search_term_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/expanded_landing_page_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/extension_feed_item_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/feed_item_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/feed_item_target_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/feed_mapping_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/feed_placeholder_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/feed_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/gender_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/geo_target_constant_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/geographic_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/google_ads_field_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/google_ads_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/group_placement_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/hotel_group_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/hotel_performance_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/keyword_plan_ad_group_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/keyword_plan_campaign_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/keyword_plan_idea_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/keyword_plan_keyword_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/keyword_plan_negative_keyword_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/keyword_plan_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/keyword_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/label_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/landing_page_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/language_constant_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/location_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/managed_placement_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/media_file_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/merchant_center_link_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/mobile_app_category_constant_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/mobile_device_constant_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/mutate_job_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/operating_system_version_constant_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/paid_organic_search_term_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/parental_status_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/payments_account_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/product_bidding_category_constant_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/product_group_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/recommendation_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/remarketing_action_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/search_term_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/shared_criterion_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/shared_set_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/shopping_performance_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/topic_constant_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/topic_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/user_interest_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/user_list_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/video_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/ad_asset.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/ad_type_infos.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/asset_types.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/bidding.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/click_location.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/criteria.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/criterion_category_availability.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/custom_parameter.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/dates.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/explorer_auto_optimizer_setting.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/extensions.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/feed_common.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/final_app_url.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/frequency_cap.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/keyword_plan_common.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/matching_function.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/metrics.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/policy.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/real_time_bidding_setting.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/segments.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/simulation.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/tag_snippet.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/targeting_setting.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/text_label.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/url_collection.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/user_lists.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/value.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/access_reason.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/access_role.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/account_budget_proposal_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/account_budget_proposal_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/account_budget_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_customizer_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_group_ad_rotation_mode.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_group_ad_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_group_criterion_approval_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_group_criterion_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_group_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_group_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_network_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_serving_optimization_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_strength.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/advertising_channel_sub_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/advertising_channel_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/affiliate_location_feed_relationship_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/affiliate_location_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/age_range_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/app_campaign_app_store.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/app_campaign_bidding_strategy_goal_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/app_payment_model_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/app_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/app_store.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/app_url_operating_system_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/asset_field_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/asset_performance_label.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/asset_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/attribution_model.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/bid_modifier_source.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/bidding_source.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/bidding_strategy_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/bidding_strategy_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/billing_setup_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/brand_safety_suitability.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/budget_delivery_method.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/budget_period.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/budget_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/budget_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/call_conversion_reporting_state.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/call_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/callout_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/campaign_criterion_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/campaign_draft_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/campaign_experiment_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/campaign_experiment_traffic_split_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/campaign_experiment_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/campaign_serving_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/campaign_shared_set_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/campaign_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/change_status_operation.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/change_status_resource_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/click_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/content_label_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/conversion_action_category.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/conversion_action_counting_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/conversion_action_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/conversion_action_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/conversion_adjustment_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/conversion_attribution_event_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/conversion_lag_bucket.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/conversion_or_adjustment_lag_bucket.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/criterion_category_channel_availability_mode.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/criterion_category_locale_availability_mode.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/criterion_system_serving_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/criterion_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/custom_interest_member_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/custom_interest_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/custom_interest_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/custom_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/customer_match_upload_key_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/customer_pay_per_conversion_eligibility_failure_reason.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/data_driven_model_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/day_of_week.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/device.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/display_ad_format_setting.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/display_upload_product_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/distance_bucket.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/dsa_page_feed_criterion_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/education_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/extension_setting_device.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/extension_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/external_conversion_source.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_attribute_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_item_quality_approval_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_item_quality_disapproval_reason.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_item_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_item_target_device.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_item_target_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_item_validation_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_link_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_mapping_criterion_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_mapping_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_origin.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/flight_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/frequency_cap_event_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/frequency_cap_level.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/frequency_cap_time_unit.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/gender_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/geo_target_constant_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/geo_targeting_restriction.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/geo_targeting_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/google_ads_field_category.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/google_ads_field_data_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/hotel_date_selection_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/hotel_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/hotel_price_bucket.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/hotel_rate_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/income_range_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/interaction_event_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/interaction_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/invoice_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/job_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/keyword_match_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/keyword_plan_competition_level.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/keyword_plan_forecast_interval.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/keyword_plan_network.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/label_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/legacy_app_install_ad_app_store.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/listing_custom_attribute_index.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/listing_group_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/local_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/location_extension_targeting_criterion_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/location_group_radius_units.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/location_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/manager_link_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/matching_function_context_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/matching_function_operator.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/media_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/merchant_center_link_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/message_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/mime_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/minute_of_hour.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/mobile_device_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/month_of_year.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/mutate_job_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/negative_geo_target_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/operating_system_version_operator_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/page_one_promoted_strategy_goal.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/parental_status_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/payment_mode.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/placeholder_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/placement_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/policy_approval_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/policy_review_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/policy_topic_entry_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/policy_topic_evidence_destination_mismatch_url_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/policy_topic_evidence_destination_not_working_device.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/policy_topic_evidence_destination_not_working_dns_error_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/positive_geo_target_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/preferred_content_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/price_extension_price_qualifier.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/price_extension_price_unit.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/price_extension_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/price_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/product_bidding_category_level.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/product_bidding_category_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/product_channel.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/product_channel_exclusivity.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/product_condition.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/product_type_level.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/promotion_extension_discount_modifier.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/promotion_extension_occasion.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/promotion_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/proximity_radius_units.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/quality_score_bucket.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/reach_plan_ad_length.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/reach_plan_age_range.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/real_estate_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/recommendation_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/search_engine_results_page_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/search_term_match_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/search_term_targeting_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/served_asset_field_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/shared_set_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/shared_set_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/simulation_modification_method.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/simulation_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/sitelink_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/slot.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/spending_limit_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/structured_snippet_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/system_managed_entity_source.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/target_cpa_opt_in_recommendation_goal.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/target_impression_share_location.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/targeting_dimension.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/time_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/tracking_code_page_format.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/tracking_code_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/travel_placeholder_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_interest_taxonomy_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_access_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_closing_reason.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_combined_rule_operator.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_crm_data_source_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_date_rule_item_operator.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_logical_rule_operator.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_membership_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_number_rule_item_operator.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_prepopulation_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_rule_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_size_range.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_string_rule_item_operator.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/vanity_pharma_display_url_mode.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/vanity_pharma_text.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/webpage_condition_operand.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/webpage_condition_operator.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/access_invitation_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/account_budget_proposal_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/ad_customizer_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/ad_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/ad_group_ad_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/ad_group_bid_modifier_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/ad_group_criterion_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/ad_group_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/ad_group_feed_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/ad_parameter_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/ad_sharing_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/adx_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/asset_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/authentication_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/authorization_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/bidding_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/bidding_strategy_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/billing_setup_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/campaign_budget_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/campaign_criterion_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/campaign_draft_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/campaign_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/campaign_experiment_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/campaign_feed_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/campaign_shared_set_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/change_status_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/collection_size_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/context_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/conversion_action_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/conversion_adjustment_upload_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/conversion_upload_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/country_code_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/criterion_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/currency_code_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/custom_interest_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/customer_client_link_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/customer_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/customer_feed_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/customer_manager_link_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/database_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/date_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/date_range_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/distinct_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/enum_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/errors.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/extension_feed_item_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/extension_setting_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/feed_attribute_reference_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/feed_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/feed_item_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/feed_item_target_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/feed_item_validation_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/feed_mapping_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/field_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/field_mask_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/function_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/function_parsing_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/geo_target_constant_suggestion_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/header_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/id_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/image_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/internal_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/invoice_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/keyword_plan_ad_group_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/keyword_plan_campaign_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/keyword_plan_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/keyword_plan_idea_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/keyword_plan_keyword_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/keyword_plan_negative_keyword_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/label_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/language_code_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/list_operation_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/manager_link_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/media_bundle_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/media_file_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/media_upload_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/multiplier_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/mutate_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/mutate_job_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/new_resource_creation_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/not_empty_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/not_whitelisted_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/null_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/operation_access_denied_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/operator_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/partial_failure_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/policy_finding_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/policy_validation_parameter_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/policy_violation_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/query_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/quota_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/range_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/reach_plan_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/recommendation_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/region_code_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/request_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/resource_access_denied_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/resource_count_limit_exceeded_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/setting_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/shared_criterion_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/shared_set_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/size_limit_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/string_format_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/string_length_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/url_field_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/user_list_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/youtube_video_registration_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/account_budget.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/account_budget_proposal.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_ad.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_ad_asset_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_ad_label.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_audience_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_bid_modifier.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_criterion.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_criterion_label.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_criterion_simulation.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_extension_setting.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_feed.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_label.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_simulation.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_parameter.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_schedule_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/age_range_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/asset.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/bidding_strategy.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/billing_setup.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_audience_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_bid_modifier.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_budget.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_criterion.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_criterion_simulation.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_draft.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_experiment.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_extension_setting.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_feed.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_label.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_shared_set.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/carrier_constant.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/change_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/click_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/conversion_action.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/custom_interest.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/customer.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/customer_client.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/customer_client_link.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/customer_extension_setting.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/customer_feed.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/customer_label.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/customer_manager_link.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/customer_negative_criterion.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/detail_placement_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/display_keyword_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/distance_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/domain_category.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/dynamic_search_ads_search_term_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/expanded_landing_page_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/extension_feed_item.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/feed.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/feed_item.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/feed_item_target.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/feed_mapping.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/feed_placeholder_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/gender_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/geo_target_constant.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/geographic_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/google_ads_field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/group_placement_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/hotel_group_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/hotel_performance_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/invoice.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/keyword_plan.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/keyword_plan_ad_group.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/keyword_plan_campaign.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/keyword_plan_keyword.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/keyword_plan_negative_keyword.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/keyword_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/label.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/landing_page_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/language_constant.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/location_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/managed_placement_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/media_file.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/merchant_center_link.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/mobile_app_category_constant.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/mobile_device_constant.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/mutate_job.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/operating_system_version_constant.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/paid_organic_search_term_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/parental_status_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/payments_account.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/product_bidding_category_constant.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/product_group_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/recommendation.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/remarketing_action.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/search_term_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/shared_criterion.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/shared_set.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/shopping_performance_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/topic_constant.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/topic_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/user_interest.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/user_list.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/user_location_view.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/video.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/account_budget_proposal_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/account_budget_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_ad_asset_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_ad_label_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_ad_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_audience_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_bid_modifier_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_criterion_label_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_criterion_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_criterion_simulation_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_extension_setting_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_feed_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_label_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_simulation_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_parameter_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_schedule_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/age_range_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/asset_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/bidding_strategy_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/billing_setup_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_audience_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_bid_modifier_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_budget_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_criterion_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_criterion_simulation_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_draft_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_experiment_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_extension_setting_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_feed_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_label_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_shared_set_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/carrier_constant_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/change_status_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/click_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/conversion_action_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/conversion_adjustment_upload_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/conversion_upload_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/custom_interest_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/customer_client_link_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/customer_client_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/customer_extension_setting_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/customer_feed_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/customer_label_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/customer_manager_link_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/customer_negative_criterion_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/customer_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/detail_placement_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/display_keyword_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/distance_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/domain_category_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/dynamic_search_ads_search_term_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/expanded_landing_page_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/extension_feed_item_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/feed_item_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/feed_item_target_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/feed_mapping_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/feed_placeholder_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/feed_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/gender_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/geo_target_constant_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/geographic_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/google_ads_field_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/google_ads_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/group_placement_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/hotel_group_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/hotel_performance_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/invoice_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/keyword_plan_ad_group_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/keyword_plan_campaign_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/keyword_plan_idea_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/keyword_plan_keyword_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/keyword_plan_negative_keyword_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/keyword_plan_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/keyword_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/label_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/landing_page_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/language_constant_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/location_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/managed_placement_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/media_file_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/merchant_center_link_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/mobile_app_category_constant_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/mobile_device_constant_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/mutate_job_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/operating_system_version_constant_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/paid_organic_search_term_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/parental_status_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/payments_account_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/product_bidding_category_constant_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/product_group_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/reach_plan_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/recommendation_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/remarketing_action_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/search_term_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/shared_criterion_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/shared_set_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/shopping_performance_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/topic_constant_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/topic_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/user_interest_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/user_list_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/user_location_view_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/video_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/annotations/annotations.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/annotations/client.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/annotations/field_behavior.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/annotations/http.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/annotations/resource.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/configchange/config_change.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/distribution/distribution.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/cel_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/checked.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/conformance_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/eval.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/explain.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/syntax.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/value.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/decl.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/eval.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/expr.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/source.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/value.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/httpbody/httpbody.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/label/label.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/launch_stage.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/metric/metric.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/monitoredres/monitored_resource.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/serviceconfig/auth.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/serviceconfig/backend.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/serviceconfig/billing.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/serviceconfig/consumer.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/serviceconfig/context.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/serviceconfig/control.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/serviceconfig/documentation.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/serviceconfig/endpoint.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/serviceconfig/log.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/serviceconfig/logging.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/serviceconfig/monitoring.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/serviceconfig/quota.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/serviceconfig/service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/serviceconfig/source_info.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/serviceconfig/system_parameter.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/serviceconfig/usage.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/check_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/distribution.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/log_entry.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/metric_value.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/operation.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/quota_controller.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/service_controller.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/servicemanagement/v1/resources.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/api/servicemanagement/v1/servicemanager.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/appengine/legacy/audit_data.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/appengine/logging/v1/request_log.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/appengine/v1/app_yaml.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/appengine/v1/appengine.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/appengine/v1/application.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/appengine/v1/audit_data.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/appengine/v1/deploy.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/appengine/v1/instance.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/appengine/v1/location.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/appengine/v1/operation.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/appengine/v1/service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/appengine/v1/version.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/assistant/embedded/v1alpha1/embedded_assistant.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/assistant/embedded/v1alpha2/embedded_assistant.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/bigtable/admin/cluster/v1/bigtable_cluster_data.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/bigtable/admin/cluster/v1/bigtable_cluster_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/bigtable/admin/cluster/v1/bigtable_cluster_service_messages.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/bigtable/admin/table/v1/bigtable_table_data.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/bigtable/admin/table/v1/bigtable_table_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/bigtable/admin/table/v1/bigtable_table_service_messages.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/bigtable_instance_admin.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/bigtable_table_admin.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/common.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/instance.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/table.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/bigtable/v1/bigtable_data.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/bigtable/v1/bigtable_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/bigtable/v1/bigtable_service_messages.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/bigtable/v2/bigtable.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/bigtable/v2/data.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/bytestream/bytestream.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/asset/v1/asset_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/asset/v1/assets.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/asset/v1beta1/asset_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/asset/v1beta1/assets.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/asset/v1p2beta1/asset_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/asset/v1p2beta1/assets.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/audit/audit_log.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/annotation_payload.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/data_items.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/dataset.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/io.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/model.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/model_evaluation.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/operations.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/prediction_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/translation.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/annotation_payload.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/annotation_spec.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/classification.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/column_spec.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/data_items.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/data_stats.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/data_types.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/dataset.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/detection.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/geometry.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/image.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/io.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/model.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/model_evaluation.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/operations.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/prediction_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/ranges.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/regression.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/table_spec.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/tables.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/temporal.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/text.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/text_extraction.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/text_segment.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/text_sentiment.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/translation.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/video.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/bigquery/connection/v1beta1/connection.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/bigquery/datatransfer/v1/datasource.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/bigquery/datatransfer/v1/datatransfer.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/bigquery/datatransfer/v1/transfer.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/bigquery/logging/v1/audit_data.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1/arrow.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1/avro.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1/read_options.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1/storage.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1/table_reference.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/bigquery/v2/encryption_config.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/bigquery/v2/model.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/bigquery/v2/model_reference.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/bigquery/v2/standard_sql.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/billing/v1/cloud_billing.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/binaryauthorization/v1beta1/resources.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/binaryauthorization/v1beta1/service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1/datacatalog.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1/gcs_fileset_spec.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1/schema.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1/search.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1/table_spec.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1/tags.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1/timestamps.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/annotation.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/annotation_spec_set.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/data_labeling_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/data_payloads.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/dataset.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/evaluation.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/evaluation_job.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/human_annotation_config.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/instruction.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/operations.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/autoscaling_policies.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/clusters.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/jobs.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/operations.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/shared.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/workflow_templates.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/autoscaling_policies.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/clusters.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/jobs.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/operations.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/shared.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/workflow_templates.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/agent.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/audio_config.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/context.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/entity_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/intent.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/session.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/session_entity_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/webhook.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/agent.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/audio_config.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/context.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/document.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/entity_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/gcs.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/intent.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/knowledge_base.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/session.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/session_entity_type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/validation_result.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/webhook.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/document/v1beta1/document.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/document/v1beta1/document_understanding.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/document/v1beta1/geometry.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/functions/v1beta2/functions.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/functions/v1beta2/operations.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/iot/v1/device_manager.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/iot/v1/resources.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/irm/v1alpha2/incidents.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/irm/v1alpha2/incidents_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/kms/v1/resources.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/kms/v1/service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/language/v1/language_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/language/v1beta1/language_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/language/v1beta2/language_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/location/locations.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/job_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/model_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/operation_metadata.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/prediction_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/project_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/oslogin/common/common.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/oslogin/v1/oslogin.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/oslogin/v1alpha/oslogin.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/oslogin/v1beta/oslogin.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/phishingprotection/v1beta1/phishingprotection.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/recommender/v1beta1/recommendation.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/recommender/v1beta1/recommender_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/redis/v1/cloud_redis.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/redis/v1beta1/cloud_redis.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/resourcemanager/v2/folders.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/runtimeconfig/v1beta1/resources.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/runtimeconfig/v1beta1/runtimeconfig.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/scheduler/v1/cloudscheduler.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/scheduler/v1/job.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/scheduler/v1/target.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/scheduler/v1beta1/cloudscheduler.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/scheduler/v1beta1/job.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/scheduler/v1beta1/target.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1/asset.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1/finding.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1/organization_settings.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1/run_asset_discovery_response.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1/security_marks.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1/securitycenter_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1/source.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/asset.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/finding.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/organization_settings.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/security_marks.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/securitycenter_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/source.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/speech/v1/cloud_speech.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/speech/v1p1beta1/cloud_speech.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/support/common/common.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/support/v1alpha1/cloud_support.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/application.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/application_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/batch.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/common.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/company.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/company_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/completion_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/event.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/event_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/filters.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/histogram.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/job.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/job_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/profile.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/profile_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/tenant.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/tenant_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2/cloudtasks.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2/queue.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2/target.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2/task.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta2/cloudtasks.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta2/queue.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta2/target.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta2/task.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta3/cloudtasks.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta3/queue.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta3/target.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta3/task.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/texttospeech/v1/cloud_tts.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/texttospeech/v1beta1/cloud_tts.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/translate/v3/translation_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/translate/v3beta1/translation_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/videointelligence/v1/video_intelligence.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/videointelligence/v1beta2/video_intelligence.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/videointelligence/v1p1beta1/video_intelligence.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/videointelligence/v1p2beta1/video_intelligence.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/videointelligence/v1p3beta1/video_intelligence.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/geometry.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/image_annotator.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/product_search.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/product_search_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/text_annotation.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/web_detection.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p1beta1/geometry.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p1beta1/image_annotator.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p1beta1/text_annotation.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p1beta1/web_detection.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1/geometry.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1/image_annotator.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1/text_annotation.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1/web_detection.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1/geometry.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1/image_annotator.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1/product_search.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1/product_search_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1/text_annotation.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1/web_detection.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1/geometry.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1/image_annotator.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1/product_search.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1/product_search_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1/text_annotation.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1/web_detection.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/webrisk/v1beta1/webrisk.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/crawled_url.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/finding.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/finding_addon.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/finding_type_stats.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/scan_config.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/scan_run.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/web_security_scanner.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/crawled_url.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/finding.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/finding_addon.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/finding_type_stats.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/scan_config.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/scan_config_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/scan_run.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/scan_run_error_trace.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/scan_run_warning_trace.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/web_security_scanner.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/container/v1/cluster_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/container/v1alpha1/cluster_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/container/v1beta1/cluster_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/datastore/admin/v1/datastore_admin.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/datastore/admin/v1/index.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/datastore/admin/v1beta1/datastore_admin.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/datastore/v1/datastore.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/datastore/v1/query.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/datastore/v1beta3/datastore.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/datastore/v1beta3/query.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/build/v1/build_events.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/build/v1/build_status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/build/v1/publish_build_event.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/cloudbuild/v1/cloudbuild.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/clouddebugger/v2/controller.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/clouddebugger/v2/data.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/clouddebugger/v2/debugger.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/common.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/error_group_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/error_stats_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/report_errors_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/cloudprofiler/v2/profiler.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v1/trace.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v2/trace.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v2/tracing.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1/containeranalysis.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1/bill_of_materials.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1/containeranalysis.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1/image_basis.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1/package_vulnerability.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1/provenance.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1/source_context.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/attestation/attestation.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/build/build.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/common/common.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/containeranalysis.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/deployment/deployment.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/discovery/discovery.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/grafeas/grafeas.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/image/image.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/package/package.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/provenance/provenance.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/source/source.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/vulnerability/vulnerability.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/remoteexecution/v1test/remote_execution.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/remoteworkers/v1test2/bots.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/remoteworkers/v1test2/command.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/remoteworkers/v1test2/tasks.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/remoteworkers/v1test2/worker.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/action.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/common.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/configuration.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/configured_target.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/coverage.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/coverage_summary.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/download_metadata.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/file.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/file_processing_error.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/file_set.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/invocation.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/resultstore_download.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/resultstore_file_download.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/resultstore_upload.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/target.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/test_suite.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/upload_metadata.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/source/v1/source_context.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/devtools/sourcerepo/v1/sourcerepo.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/example/library/v1/library.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/firebase/fcm/connection/v1alpha1/connection_api.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/firestore/admin/v1/field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/firestore/admin/v1/firestore_admin.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/firestore/admin/v1/index.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/firestore/admin/v1/location.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/firestore/admin/v1/operation.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta1/firestore_admin.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta1/index.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta1/location.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta2/field.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta2/firestore_admin.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta2/index.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta2/operation.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/firestore/v1/common.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/firestore/v1/document.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/firestore/v1/firestore.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/firestore/v1/query.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/firestore/v1/write.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/firestore/v1beta1/common.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/firestore/v1beta1/document.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/firestore/v1beta1/firestore.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/firestore/v1beta1/query.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/firestore/v1beta1/write.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/genomics/v1/annotations.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/genomics/v1/cigar.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/genomics/v1/datasets.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/genomics/v1/operations.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/genomics/v1/position.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/genomics/v1/range.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/genomics/v1/readalignment.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/genomics/v1/readgroup.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/genomics/v1/readgroupset.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/genomics/v1/reads.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/genomics/v1/references.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/genomics/v1/variants.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/genomics/v1alpha2/pipelines.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/geo/type/viewport/viewport.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/grafeas/v1/attestation.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/grafeas/v1/build.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/grafeas/v1/common.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/grafeas/v1/cvss.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/grafeas/v1/deployment.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/grafeas/v1/discovery.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/grafeas/v1/grafeas.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/grafeas/v1/image.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/grafeas/v1/package.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/grafeas/v1/provenance.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/grafeas/v1/vulnerability.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/home/graph/v1/device.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/home/graph/v1/homegraph.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/iam/admin/v1/iam.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/iam/credentials/v1/common.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/iam/credentials/v1/iamcredentials.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/iam/v1/iam_policy.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/iam/v1/logging/audit_data.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/iam/v1/options.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/iam/v1/policy.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/logging/type/http_request.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/logging/type/log_severity.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/logging/v2/log_entry.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/logging/v2/logging.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/logging/v2/logging_config.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/logging/v2/logging_metrics.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/longrunning/operations.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/monitoring/v3/alert.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/monitoring/v3/alert_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/monitoring/v3/common.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/monitoring/v3/dropped_labels.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/monitoring/v3/group.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/monitoring/v3/group_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/monitoring/v3/metric.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/monitoring/v3/metric_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/monitoring/v3/mutation_record.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/monitoring/v3/notification.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/monitoring/v3/notification_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/monitoring/v3/span_context.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/monitoring/v3/uptime.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/monitoring/v3/uptime_service.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/privacy/dlp/v2/dlp.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/privacy/dlp/v2/storage.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/pubsub/v1/pubsub.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/pubsub/v1beta2/pubsub.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/rpc/code/code.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/rpc/errdetails/error_details.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/rpc/status/status.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/spanner/admin/database/v1/spanner_database_admin.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/spanner/admin/instance/v1/spanner_instance_admin.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/spanner/v1/keys.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/spanner/v1/mutation.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/spanner/v1/query_plan.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/spanner/v1/result_set.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/spanner/v1/spanner.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/spanner/v1/transaction.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/spanner/v1/type.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/storagetransfer/v1/transfer.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/storagetransfer/v1/transfer_types.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/streetview/publish/v1/resources.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/streetview/publish/v1/rpcmessages.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/streetview/publish/v1/streetview_publish.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/type/calendarperiod/calendar_period.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/type/color/color.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/type/date/date.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/type/dayofweek/dayofweek.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/type/expr/expr.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/type/fraction/fraction.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/type/latlng/latlng.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/type/money/money.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/type/postaladdress/postal_address.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/type/quaternion/quaternion.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/type/timeofday/timeofday.pb.go delete mode 100644 vendor/google.golang.org/genproto/googleapis/watcher/v1/watch.pb.go delete mode 100644 vendor/google.golang.org/genproto/protobuf/api/api.pb.go delete mode 100644 vendor/google.golang.org/genproto/protobuf/field_mask/field_mask.pb.go delete mode 100644 vendor/google.golang.org/genproto/protobuf/ptype/type.pb.go delete mode 100644 vendor/google.golang.org/genproto/protobuf/source_context/source_context.pb.go delete mode 100644 vendor/google.golang.org/grpc/balancer/grpclb/grpc_lb_v1/load_balancer.pb.go delete mode 100644 vendor/google.golang.org/grpc/benchmark/grpc_testing/control.pb.go delete mode 100644 vendor/google.golang.org/grpc/benchmark/grpc_testing/messages.pb.go delete mode 100644 vendor/google.golang.org/grpc/benchmark/grpc_testing/payloads.pb.go delete mode 100644 vendor/google.golang.org/grpc/benchmark/grpc_testing/services.pb.go delete mode 100644 vendor/google.golang.org/grpc/benchmark/grpc_testing/stats.pb.go delete mode 100644 vendor/google.golang.org/grpc/binarylog/grpc_binarylog_v1/binarylog.pb.go delete mode 100644 vendor/google.golang.org/grpc/channelz/grpc_channelz_v1/channelz.pb.go delete mode 100644 vendor/google.golang.org/grpc/credentials/alts/internal/proto/grpc_gcp/altscontext.pb.go delete mode 100644 vendor/google.golang.org/grpc/credentials/alts/internal/proto/grpc_gcp/handshaker.pb.go delete mode 100644 vendor/google.golang.org/grpc/credentials/alts/internal/proto/grpc_gcp/transport_security_common.pb.go delete mode 100644 vendor/google.golang.org/grpc/examples/features/proto/echo/echo.pb.go delete mode 100644 vendor/google.golang.org/grpc/examples/helloworld/helloworld/helloworld.pb.go delete mode 100644 vendor/google.golang.org/grpc/examples/route_guide/routeguide/route_guide.pb.go delete mode 100644 vendor/google.golang.org/grpc/health/grpc_health_v1/health.pb.go delete mode 100644 vendor/google.golang.org/grpc/interop/grpc_testing/test.pb.go delete mode 100644 vendor/google.golang.org/grpc/reflection/grpc_reflection_v1alpha/reflection.pb.go delete mode 100644 vendor/google.golang.org/grpc/reflection/grpc_testing/proto2.pb.go delete mode 100644 vendor/google.golang.org/grpc/reflection/grpc_testing/proto2_ext.pb.go delete mode 100644 vendor/google.golang.org/grpc/reflection/grpc_testing/proto2_ext2.pb.go delete mode 100644 vendor/google.golang.org/grpc/reflection/grpc_testing/test.pb.go delete mode 100644 vendor/google.golang.org/grpc/reflection/grpc_testingv3/testv3.pb.go delete mode 100644 vendor/google.golang.org/grpc/stats/grpc_testing/test.pb.go delete mode 100644 vendor/google.golang.org/grpc/stress/grpc_testing/metrics.pb.go delete mode 100644 vendor/google.golang.org/grpc/test/codec_perf/perf.pb.go delete mode 100644 vendor/google.golang.org/grpc/test/grpc_testing/test.pb.go delete mode 100755 vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/auth/cert/cert.pb.go delete mode 100755 vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/cds/cds.pb.go delete mode 100755 vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/cluster/circuit_breaker/circuit_breaker.pb.go delete mode 100755 vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/cluster/outlier_detection/outlier_detection.pb.go delete mode 100755 vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/address/address.pb.go delete mode 100755 vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/base/base.pb.go delete mode 100755 vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/config_source/config_source.pb.go delete mode 100755 vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/grpc_service/grpc_service.pb.go delete mode 100755 vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/health_check/health_check.pb.go delete mode 100755 vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/protocol/protocol.pb.go delete mode 100755 vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/discovery/discovery.pb.go delete mode 100755 vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/eds/eds.pb.go delete mode 100755 vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/endpoint/endpoint/endpoint.pb.go delete mode 100755 vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/endpoint/load_report/load_report.pb.go delete mode 100755 vendor/google.golang.org/grpc/xds/internal/proto/envoy/service/discovery/v2/ads/ads.pb.go delete mode 100755 vendor/google.golang.org/grpc/xds/internal/proto/envoy/service/load_stats/v2/lrs/lrs.pb.go delete mode 100755 vendor/google.golang.org/grpc/xds/internal/proto/envoy/type/percent/percent.pb.go delete mode 100755 vendor/google.golang.org/grpc/xds/internal/proto/envoy/type/range/range.pb.go delete mode 100755 vendor/google.golang.org/grpc/xds/internal/proto/udpa/data/orca/v1/orca_load_report/orca_load_report.pb.go delete mode 100755 vendor/google.golang.org/grpc/xds/internal/proto/udpa/service/orca/v1/orca/orca.pb.go delete mode 100755 vendor/google.golang.org/grpc/xds/internal/proto/validate/validate.pb.go diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 00000000..815e1e3f --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +.gitignore +bin/ \ No newline at end of file diff --git a/.gitignore b/.gitignore index 303bedeb..d1997a91 100644 --- a/.gitignore +++ b/.gitignore @@ -2,5 +2,6 @@ .vscode/ .idea/ -entity.pb.go -entity.pb.gw.go \ No newline at end of file +*.pb* +*.env +bin/ \ No newline at end of file diff --git a/Dockerfile.app b/Dockerfile.app new file mode 100644 index 00000000..70be3f87 --- /dev/null +++ b/Dockerfile.app @@ -0,0 +1,21 @@ +FROM golang:1.13.4-alpine3.10 AS build + +RUN apk update && apk add --virtual build-dependencies build-base --no-cache curl ca-certificates git dep gcc + +ENV GOROOT=/usr/local/go \ + GOPATH=/app + +ADD . /app/src + +WORKDIR /app/src + +RUN go build -o bin/server server/*.go + +FROM alpine:3.10 +WORKDIR /app + +COPY --from=build /app/src/bin/ /app/ + +RUN ls + +ENTRYPOINT ["/app/server"] diff --git a/Dockerfile.gateway b/Dockerfile.gateway new file mode 100644 index 00000000..4e344c36 --- /dev/null +++ b/Dockerfile.gateway @@ -0,0 +1,20 @@ +FROM golang:1.13.4-alpine3.10 AS build + +RUN apk update && apk add --virtual build-dependencies build-base --no-cache curl ca-certificates git dep gcc + +ENV GOROOT=/usr/local/go \ + GOPATH=/app + +ADD . /app/src + +WORKDIR /app/src + +RUN go build -o bin/gateway gateway/main.go + +FROM alpine:3.10 + +WORKDIR /app + +COPY --from=build /app/src/bin/ /app/ + +ENTRYPOINT ["/app/gateway"] diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 00000000..e3d4b3e4 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,40 @@ +version: "3" + +services: + grpc_app: + build: + dockerfile: Dockerfile.app + context: . + volumes: + - ./server:/app/src/server + depends_on: + - mongo + ports: + - 51051:51051 + environment: + - DB_HOST=mongodb://mongo:27017 + - GRPC_VERBOSITY=debug + + grpc_gateway: + build: + dockerfile: Dockerfile.gateway + context: . + volumes: + - ./gateway:/app/src/gateway + depends_on: + - grpc_app + ports: + - 8080:8080 + environment: + - GRPC_VERBOSITY=debug + - SERVER_HOST=grpc_app:51051 + + mongo: + image: "mongo:4.2.1" + volumes: + - "mongo:/data/db" + ports: + - "27100:27017" + +volumes: + mongo: diff --git a/gateway/main.go b/gateway/main.go index 5b356737..726e93db 100644 --- a/gateway/main.go +++ b/gateway/main.go @@ -5,7 +5,10 @@ import ( "flag" "fmt" "net/http" + "os" + "strconv" + "github.com/joho/godotenv" pb "github.com/trinhdaiphuc/Example-CRUD-with-Mongo-use-http-transcoding-to-gRPC/protos" "github.com/golang/glog" @@ -14,26 +17,22 @@ import ( "google.golang.org/grpc" ) -var ( - entityEndpoint = flag.String("entity_endpoint", "localhost:50051", "endpoint of EntityService") -) - type errorBody struct { Message string `json:"message,omitempty"` - Details struct { - Error string `json:"-"` - } `json:"detail"` + Details string `json:"detail"` } func CustomHTTPError(ctx context.Context, _ *runtime.ServeMux, marshaler runtime.Marshaler, w http.ResponseWriter, _ *http.Request, err error) { const fallback = `{"error": "failed to marshal error message"}` fmt.Println("Custom HTTP error ->") - fmt.Println(grpc.ErrorDesc(err), grpc.Code(err), err) + fmt.Println("Message: ", grpc.ErrorDesc(err)) + fmt.Println("Code: ", grpc.Code(err)) w.Header().Set("Content-type", marshaler.ContentType()) w.WriteHeader(runtime.HTTPStatusFromCode(grpc.Code(err))) jErr := json.NewEncoder(w).Encode(errorBody{ Message: grpc.ErrorDesc(err), + Details: strconv.Itoa(int(grpc.Code(err))), }) if jErr != nil { @@ -46,14 +45,22 @@ func RunEndPoint(address string, opts ...runtime.ServeMuxOption) error { ctx, cancel := context.WithCancel(ctx) defer cancel() fmt.Println("Starting server on port :8080.") + runtime.HTTPError = CustomHTTPError mux := runtime.NewServeMux(opts...) dialOpts := []grpc.DialOption{grpc.WithInsecure()} - err := pb.RegisterEntityServiceHandlerFromEndpoint(ctx, mux, *entityEndpoint, dialOpts) + + err := godotenv.Load() + entityEndpoint := flag.String("entity_endpoint", os.Getenv("SERVER_HOST"), "endpoint of EntityService") + + err = pb.RegisterEntityServiceHandlerFromEndpoint(ctx, mux, *entityEndpoint, dialOpts) if err != nil { return err } - http.ListenAndServe(address, mux) + err = http.ListenAndServe(address, mux) + if err != nil { + fmt.Println("Error when listen ", err) + } return nil } diff --git a/go.mod b/go.mod index ce2a69aa..fbed40be 100644 --- a/go.mod +++ b/go.mod @@ -3,19 +3,22 @@ module github.com/trinhdaiphuc/Example-CRUD-with-Mongo-use-http-transcoding-to-g go 1.13 require ( - github.com/go-stack/stack v1.8.0 + github.com/go-stack/stack v1.8.0 // indirect github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b github.com/golang/protobuf v1.3.2 - github.com/golang/snappy v0.0.2-0.20190904063534-ff6b7dc882cf + github.com/golang/snappy v0.0.2-0.20190904063534-ff6b7dc882cf // indirect github.com/grpc-ecosystem/grpc-gateway v1.11.3 - github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c - github.com/xdg/stringprep v1.0.1-0.20180714160509-73f8eece6fdc + github.com/joho/godotenv v1.3.0 + github.com/labstack/gommon v0.3.0 // indirect + github.com/tidwall/pretty v1.0.0 // indirect + github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c // indirect + github.com/xdg/stringprep v1.0.1-0.20180714160509-73f8eece6fdc // indirect go.mongodb.org/mongo-driver v1.1.2 - golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550 + golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550 // indirect golang.org/x/net v0.0.0-20191021144547-ec77196f6094 - golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e - golang.org/x/sys v0.0.0-20191022100944-742c48ecaeb7 - golang.org/x/text v0.3.2 + golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e // indirect + golang.org/x/sys v0.0.0-20191022100944-742c48ecaeb7 // indirect + golang.org/x/text v0.3.2 // indirect google.golang.org/genproto v0.0.0-20191009194640-548a555dbc03 google.golang.org/grpc v1.24.0 ) diff --git a/go.sum b/go.sum index 6ef82d62..a3b8ad8b 100644 --- a/go.sum +++ b/go.sum @@ -1,6 +1,8 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= +github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/go-stack/stack v1.8.0 h1:5SgMzNM5HxrEjV0ww2lTmX6E2Izsfxas4+YHWRs3Lsk= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= @@ -12,20 +14,42 @@ github.com/golang/protobuf v1.3.2 h1:6nsPYzhq5kReh6QImI3k5qWzO4PEbvbIW2cwSfR/6xs github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/snappy v0.0.2-0.20190904063534-ff6b7dc882cf h1:gFVkHXmVAhEbxZVDln5V9GKrLaluNoFHDbrZwAWZgws= github.com/golang/snappy v0.0.2-0.20190904063534-ff6b7dc882cf/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/google/go-cmp v0.2.0 h1:+dTQ8DZQJz0Mb/HjFlkptS1FeQ4cWSnN941F8aEG4SQ= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/grpc-ecosystem/grpc-gateway v1.11.3 h1:h8+NsYENhxNTuq+dobk3+ODoJtwY4Fu0WQXsxJfL8aM= github.com/grpc-ecosystem/grpc-gateway v1.11.3/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= +github.com/joho/godotenv v1.3.0 h1:Zjp+RcGpHhGlrMbJzXTrZZPrWj+1vfm90La1wgB6Bhc= +github.com/joho/godotenv v1.3.0/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqxOKXbg= +github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/labstack/gommon v0.3.0 h1:JEeO0bvc78PKdyHxloTKiF8BD5iGrH8T6MSeGvSgob0= +github.com/labstack/gommon v0.3.0/go.mod h1:MULnywXg0yavhxWKc+lOruYdAhDwPK9wf0OL7NoOu+k= +github.com/mattn/go-colorable v0.1.2 h1:/bC9yWikZXAL9uJdulbSfyVNIR3n3trXl+v8+1sx8mU= +github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= +github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= +github.com/mattn/go-isatty v0.0.9 h1:d5US/mDsogSGW37IV293h//ZFaeajb69h+EHFsv2xGg= +github.com/mattn/go-isatty v0.0.9/go.mod h1:YNRxwqDuOph6SZLI9vUUz6OYw3QyUt7WiY2yME+cCiQ= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk= +github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/tidwall/pretty v1.0.0 h1:HsD+QiTn7sK6flMKIvNmpqz1qrpP3Ps6jOKIKMooyg4= +github.com/tidwall/pretty v1.0.0/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk= +github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw= +github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= +github.com/valyala/fasttemplate v1.0.1 h1:tY9CJiPnMXf1ERmG2EyK7gNUd+c6RKGD0IfU8WdUSz8= +github.com/valyala/fasttemplate v1.0.1/go.mod h1:UQGH1tvbgY+Nz5t2n7tXsz52dQxojPUpymEIMZ47gx8= github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c h1:u40Z8hqBAAQyv+vATcGgV0YCnDjqSL7/q/JyPhhJSPk= github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c/go.mod h1:lB8K/P019DLNhemzwFU4jHLhdvlE6uDZjXFejJXr49I= github.com/xdg/stringprep v1.0.1-0.20180714160509-73f8eece6fdc h1:vIp1tjhVogU0yBy7w96P027ewvNPeH6gzuNcoc+NReU= github.com/xdg/stringprep v1.0.1-0.20180714160509-73f8eece6fdc/go.mod h1:Jhud4/sHMO4oL310DaZAKk9ZaJ08SJfe+sJh0HrGL1Y= go.mongodb.org/mongo-driver v1.1.2 h1:jxcFYjlkl8xaERsgLo+RNquI0epW6zuy/ZRQs6jnrFA= go.mongodb.org/mongo-driver v1.1.2/go.mod h1:u7ryQJ+DOzQmeO7zB6MHyr8jkEQvC8vH7qLUO4lqsUM= -go.mongodb.org/mongo-driver v1.1.3 h1:++7u8r9adKhGR+I79NfEtYrk2ktjenErXM99PSufIoI= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550 h1:ObdrDkeb4kJdCP557AjRjq69pTHfNouLtWZG7j9rPN8= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= @@ -50,7 +74,9 @@ golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191022100944-742c48ecaeb7 h1:HmbHVPwrPEKPGLAcHSrMe6+hqSUlvZU0rab6x5EXfGU= golang.org/x/sys v0.0.0-20191022100944-742c48ecaeb7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -69,8 +95,12 @@ google.golang.org/genproto v0.0.0-20191009194640-548a555dbc03/go.mod h1:n3cpQtvx google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.24.0 h1:vb/1TCsVn3DcJlQ0Gs1yB1pKI6Do2/QNwxdKqmc/b0s= google.golang.org/grpc v1.24.0/go.mod h1:XDChyiUovWa60DnaeDeZmSW86xtLtjtZbwvSiRnRtcA= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= +gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= +gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= diff --git a/server/main.go b/server/main.go index 43dd3ec3..a4bb6287 100644 --- a/server/main.go +++ b/server/main.go @@ -9,6 +9,7 @@ import ( "os" "os/signal" + "github.com/joho/godotenv" pb "github.com/trinhdaiphuc/Example-CRUD-with-Mongo-use-http-transcoding-to-gRPC/protos" "github.com/golang/glog" @@ -35,16 +36,17 @@ type EntityItem struct { func main() { // Configure 'log' package to give file name and line number on eg. log.Fatal // Pipe flags to one another (log.LstdFLags = log.Ldate | log.Ltime) + err := godotenv.Load() flag.Parse() defer glog.Flush() log.SetFlags(log.LstdFlags | log.Lshortfile) - fmt.Println("Starting server on port :50051...") + fmt.Println("Starting server on port :51051...") - // Start our listener, 50051 is the default gRPC port - listener, err := net.Listen("tcp", ":50051") + // Start our listener, 51051 is the default gRPC port + listener, err := net.Listen("tcp", ":51051") // Handle errors if any if err != nil { - log.Fatalf("Unable to listen on port :50051: %v", err) + log.Fatalf("Unable to listen on port :51051: %v", err) } // Set options, here we can configure things like TLS support opts := []grpc.ServerOption{} @@ -62,7 +64,8 @@ func main() { mongoCtx = context.Background() // Connect takes in a context and options, the connection URI is the only option we pass for now - db, err = mongo.Connect(mongoCtx, options.Client().ApplyURI("mongodb://localhost:27017")) + db, err = mongo.Connect(mongoCtx, options.Client().ApplyURI(os.Getenv("DB_HOST"))) + fmt.Println("DB_HOST ", os.Getenv("DB_HOST")) // Handle potential errors if err != nil { log.Fatal(err) @@ -86,7 +89,7 @@ func main() { glog.Fatal(err) } }() - fmt.Println("Server succesfully started on port :50051") + fmt.Println("Server succesfully started on port :51051") // Right way to stop the server using a SHUTDOWN HOOK // Create a channel to receive OS signals diff --git a/vendor/github.com/golang/protobuf/jsonpb/jsonpb_test_proto/more_test_objects.pb.go b/vendor/github.com/golang/protobuf/jsonpb/jsonpb_test_proto/more_test_objects.pb.go deleted file mode 100644 index ef8bc343..00000000 --- a/vendor/github.com/golang/protobuf/jsonpb/jsonpb_test_proto/more_test_objects.pb.go +++ /dev/null @@ -1,375 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: more_test_objects.proto - -package jsonpb - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type Numeral int32 - -const ( - Numeral_UNKNOWN Numeral = 0 - Numeral_ARABIC Numeral = 1 - Numeral_ROMAN Numeral = 2 -) - -var Numeral_name = map[int32]string{ - 0: "UNKNOWN", - 1: "ARABIC", - 2: "ROMAN", -} - -var Numeral_value = map[string]int32{ - "UNKNOWN": 0, - "ARABIC": 1, - "ROMAN": 2, -} - -func (x Numeral) String() string { - return proto.EnumName(Numeral_name, int32(x)) -} - -func (Numeral) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e6c135db3023e377, []int{0} -} - -type Simple3 struct { - Dub float64 `protobuf:"fixed64,1,opt,name=dub,proto3" json:"dub,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Simple3) Reset() { *m = Simple3{} } -func (m *Simple3) String() string { return proto.CompactTextString(m) } -func (*Simple3) ProtoMessage() {} -func (*Simple3) Descriptor() ([]byte, []int) { - return fileDescriptor_e6c135db3023e377, []int{0} -} - -func (m *Simple3) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Simple3.Unmarshal(m, b) -} -func (m *Simple3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Simple3.Marshal(b, m, deterministic) -} -func (m *Simple3) XXX_Merge(src proto.Message) { - xxx_messageInfo_Simple3.Merge(m, src) -} -func (m *Simple3) XXX_Size() int { - return xxx_messageInfo_Simple3.Size(m) -} -func (m *Simple3) XXX_DiscardUnknown() { - xxx_messageInfo_Simple3.DiscardUnknown(m) -} - -var xxx_messageInfo_Simple3 proto.InternalMessageInfo - -func (m *Simple3) GetDub() float64 { - if m != nil { - return m.Dub - } - return 0 -} - -type SimpleSlice3 struct { - Slices []string `protobuf:"bytes,1,rep,name=slices,proto3" json:"slices,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SimpleSlice3) Reset() { *m = SimpleSlice3{} } -func (m *SimpleSlice3) String() string { return proto.CompactTextString(m) } -func (*SimpleSlice3) ProtoMessage() {} -func (*SimpleSlice3) Descriptor() ([]byte, []int) { - return fileDescriptor_e6c135db3023e377, []int{1} -} - -func (m *SimpleSlice3) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SimpleSlice3.Unmarshal(m, b) -} -func (m *SimpleSlice3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SimpleSlice3.Marshal(b, m, deterministic) -} -func (m *SimpleSlice3) XXX_Merge(src proto.Message) { - xxx_messageInfo_SimpleSlice3.Merge(m, src) -} -func (m *SimpleSlice3) XXX_Size() int { - return xxx_messageInfo_SimpleSlice3.Size(m) -} -func (m *SimpleSlice3) XXX_DiscardUnknown() { - xxx_messageInfo_SimpleSlice3.DiscardUnknown(m) -} - -var xxx_messageInfo_SimpleSlice3 proto.InternalMessageInfo - -func (m *SimpleSlice3) GetSlices() []string { - if m != nil { - return m.Slices - } - return nil -} - -type SimpleMap3 struct { - Stringy map[string]string `protobuf:"bytes,1,rep,name=stringy,proto3" json:"stringy,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 *SimpleMap3) Reset() { *m = SimpleMap3{} } -func (m *SimpleMap3) String() string { return proto.CompactTextString(m) } -func (*SimpleMap3) ProtoMessage() {} -func (*SimpleMap3) Descriptor() ([]byte, []int) { - return fileDescriptor_e6c135db3023e377, []int{2} -} - -func (m *SimpleMap3) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SimpleMap3.Unmarshal(m, b) -} -func (m *SimpleMap3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SimpleMap3.Marshal(b, m, deterministic) -} -func (m *SimpleMap3) XXX_Merge(src proto.Message) { - xxx_messageInfo_SimpleMap3.Merge(m, src) -} -func (m *SimpleMap3) XXX_Size() int { - return xxx_messageInfo_SimpleMap3.Size(m) -} -func (m *SimpleMap3) XXX_DiscardUnknown() { - xxx_messageInfo_SimpleMap3.DiscardUnknown(m) -} - -var xxx_messageInfo_SimpleMap3 proto.InternalMessageInfo - -func (m *SimpleMap3) GetStringy() map[string]string { - if m != nil { - return m.Stringy - } - return nil -} - -type SimpleNull3 struct { - Simple *Simple3 `protobuf:"bytes,1,opt,name=simple,proto3" json:"simple,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SimpleNull3) Reset() { *m = SimpleNull3{} } -func (m *SimpleNull3) String() string { return proto.CompactTextString(m) } -func (*SimpleNull3) ProtoMessage() {} -func (*SimpleNull3) Descriptor() ([]byte, []int) { - return fileDescriptor_e6c135db3023e377, []int{3} -} - -func (m *SimpleNull3) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SimpleNull3.Unmarshal(m, b) -} -func (m *SimpleNull3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SimpleNull3.Marshal(b, m, deterministic) -} -func (m *SimpleNull3) XXX_Merge(src proto.Message) { - xxx_messageInfo_SimpleNull3.Merge(m, src) -} -func (m *SimpleNull3) XXX_Size() int { - return xxx_messageInfo_SimpleNull3.Size(m) -} -func (m *SimpleNull3) XXX_DiscardUnknown() { - xxx_messageInfo_SimpleNull3.DiscardUnknown(m) -} - -var xxx_messageInfo_SimpleNull3 proto.InternalMessageInfo - -func (m *SimpleNull3) GetSimple() *Simple3 { - if m != nil { - return m.Simple - } - return nil -} - -type Mappy struct { - Nummy map[int64]int32 `protobuf:"bytes,1,rep,name=nummy,proto3" json:"nummy,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - Strry map[string]string `protobuf:"bytes,2,rep,name=strry,proto3" json:"strry,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Objjy map[int32]*Simple3 `protobuf:"bytes,3,rep,name=objjy,proto3" json:"objjy,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Buggy map[int64]string `protobuf:"bytes,4,rep,name=buggy,proto3" json:"buggy,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Booly map[bool]bool `protobuf:"bytes,5,rep,name=booly,proto3" json:"booly,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - Enumy map[string]Numeral `protobuf:"bytes,6,rep,name=enumy,proto3" json:"enumy,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=jsonpb.Numeral"` - S32Booly map[int32]bool `protobuf:"bytes,7,rep,name=s32booly,proto3" json:"s32booly,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - S64Booly map[int64]bool `protobuf:"bytes,8,rep,name=s64booly,proto3" json:"s64booly,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - U32Booly map[uint32]bool `protobuf:"bytes,9,rep,name=u32booly,proto3" json:"u32booly,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - U64Booly map[uint64]bool `protobuf:"bytes,10,rep,name=u64booly,proto3" json:"u64booly,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 *Mappy) Reset() { *m = Mappy{} } -func (m *Mappy) String() string { return proto.CompactTextString(m) } -func (*Mappy) ProtoMessage() {} -func (*Mappy) Descriptor() ([]byte, []int) { - return fileDescriptor_e6c135db3023e377, []int{4} -} - -func (m *Mappy) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Mappy.Unmarshal(m, b) -} -func (m *Mappy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Mappy.Marshal(b, m, deterministic) -} -func (m *Mappy) XXX_Merge(src proto.Message) { - xxx_messageInfo_Mappy.Merge(m, src) -} -func (m *Mappy) XXX_Size() int { - return xxx_messageInfo_Mappy.Size(m) -} -func (m *Mappy) XXX_DiscardUnknown() { - xxx_messageInfo_Mappy.DiscardUnknown(m) -} - -var xxx_messageInfo_Mappy proto.InternalMessageInfo - -func (m *Mappy) GetNummy() map[int64]int32 { - if m != nil { - return m.Nummy - } - return nil -} - -func (m *Mappy) GetStrry() map[string]string { - if m != nil { - return m.Strry - } - return nil -} - -func (m *Mappy) GetObjjy() map[int32]*Simple3 { - if m != nil { - return m.Objjy - } - return nil -} - -func (m *Mappy) GetBuggy() map[int64]string { - if m != nil { - return m.Buggy - } - return nil -} - -func (m *Mappy) GetBooly() map[bool]bool { - if m != nil { - return m.Booly - } - return nil -} - -func (m *Mappy) GetEnumy() map[string]Numeral { - if m != nil { - return m.Enumy - } - return nil -} - -func (m *Mappy) GetS32Booly() map[int32]bool { - if m != nil { - return m.S32Booly - } - return nil -} - -func (m *Mappy) GetS64Booly() map[int64]bool { - if m != nil { - return m.S64Booly - } - return nil -} - -func (m *Mappy) GetU32Booly() map[uint32]bool { - if m != nil { - return m.U32Booly - } - return nil -} - -func (m *Mappy) GetU64Booly() map[uint64]bool { - if m != nil { - return m.U64Booly - } - return nil -} - -func init() { - proto.RegisterEnum("jsonpb.Numeral", Numeral_name, Numeral_value) - proto.RegisterType((*Simple3)(nil), "jsonpb.Simple3") - proto.RegisterType((*SimpleSlice3)(nil), "jsonpb.SimpleSlice3") - proto.RegisterType((*SimpleMap3)(nil), "jsonpb.SimpleMap3") - proto.RegisterMapType((map[string]string)(nil), "jsonpb.SimpleMap3.StringyEntry") - proto.RegisterType((*SimpleNull3)(nil), "jsonpb.SimpleNull3") - proto.RegisterType((*Mappy)(nil), "jsonpb.Mappy") - proto.RegisterMapType((map[bool]bool)(nil), "jsonpb.Mappy.BoolyEntry") - proto.RegisterMapType((map[int64]string)(nil), "jsonpb.Mappy.BuggyEntry") - proto.RegisterMapType((map[string]Numeral)(nil), "jsonpb.Mappy.EnumyEntry") - proto.RegisterMapType((map[int64]int32)(nil), "jsonpb.Mappy.NummyEntry") - proto.RegisterMapType((map[int32]*Simple3)(nil), "jsonpb.Mappy.ObjjyEntry") - proto.RegisterMapType((map[int32]bool)(nil), "jsonpb.Mappy.S32boolyEntry") - proto.RegisterMapType((map[int64]bool)(nil), "jsonpb.Mappy.S64boolyEntry") - proto.RegisterMapType((map[string]string)(nil), "jsonpb.Mappy.StrryEntry") - proto.RegisterMapType((map[uint32]bool)(nil), "jsonpb.Mappy.U32boolyEntry") - proto.RegisterMapType((map[uint64]bool)(nil), "jsonpb.Mappy.U64boolyEntry") -} - -func init() { proto.RegisterFile("more_test_objects.proto", fileDescriptor_e6c135db3023e377) } - -var fileDescriptor_e6c135db3023e377 = []byte{ - // 526 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xdd, 0x6b, 0xdb, 0x3c, - 0x14, 0x87, 0x5f, 0x27, 0xf5, 0xd7, 0x49, 0xfb,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x34, 0xbb, 0x27, 0xff, 0x97, 0xc9, 0x9d, 0xdc, 0x03, 0x74, 0x8f, 0x2f, 0x9b, - 0x3a, 0x37, 0x5f, 0xcb, 0xa6, 0x62, 0x92, 0xfb, 0x4d, 0x74, 0x73, 0x71, 0xac, 0x7d, 0x7b, 0xdf, - 0x7c, 0xba, 0x10, 0xd9, 0xb4, 0x14, 0xa6, 0xb5, 0xd7, 0x7e, 0x37, 0x2b, 0x8a, 0x83, 0xf7, 0xda, - 0xff, 0xbf, 0x6b, 0x3f, 0xa0, 0x69, 0x5c, 0xae, 0x13, 0xf9, 0x53, 0x9f, 0xe1, 0xac, 0x37, 0x43, - 0x8a, 0xcb, 0x38, 0xdc, 0x07, 0xca, 0xf2, 0xab, 0x1e, 0x3b, 0xfe, 0xbe, 0xbc, 0x3a, 0x54, 0xf9, - 0xec, 0x6f, 0xe4, 0x43, 0x95, 0x4f, 0x8e, 0xc8, 0xef, 0xde, 0x83, 0x29, 0x6e, 0x82, 0x8c, 0xc0, - 0x5c, 0x05, 0x5f, 0x83, 0xc5, 0xb7, 0x60, 0xfc, 0x1f, 0x01, 0x30, 0x66, 0xe1, 0xec, 0xf6, 0xfe, - 0xcb, 0x58, 0x23, 0x36, 0xe8, 0xe1, 0x62, 0x3e, 0x0b, 0xc6, 0x83, 0xc8, 0x60, 0x7f, 0xe0, 0xfe, - 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xdc, 0x84, 0x34, 0xaf, 0xdb, 0x05, 0x00, 0x00, -} diff --git a/vendor/github.com/golang/protobuf/jsonpb/jsonpb_test_proto/test_objects.pb.go b/vendor/github.com/golang/protobuf/jsonpb/jsonpb_test_proto/test_objects.pb.go deleted file mode 100644 index 9f4a97e2..00000000 --- a/vendor/github.com/golang/protobuf/jsonpb/jsonpb_test_proto/test_objects.pb.go +++ /dev/null @@ -1,1273 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: test_objects.proto - -package jsonpb - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - any "github.com/golang/protobuf/ptypes/any" - duration "github.com/golang/protobuf/ptypes/duration" - _struct "github.com/golang/protobuf/ptypes/struct" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type Widget_Color int32 - -const ( - Widget_RED Widget_Color = 0 - Widget_GREEN Widget_Color = 1 - Widget_BLUE Widget_Color = 2 -) - -var Widget_Color_name = map[int32]string{ - 0: "RED", - 1: "GREEN", - 2: "BLUE", -} - -var Widget_Color_value = map[string]int32{ - "RED": 0, - "GREEN": 1, - "BLUE": 2, -} - -func (x Widget_Color) Enum() *Widget_Color { - p := new(Widget_Color) - *p = x - return p -} - -func (x Widget_Color) String() string { - return proto.EnumName(Widget_Color_name, int32(x)) -} - -func (x *Widget_Color) UnmarshalJSON(data []byte) error { - value, err := proto.UnmarshalJSONEnum(Widget_Color_value, data, "Widget_Color") - if err != nil { - return err - } - *x = Widget_Color(value) - return nil -} - -func (Widget_Color) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e97c739a0ce14cc6, []int{3, 0} -} - -// Test message for holding primitive types. -type Simple struct { - OBool *bool `protobuf:"varint,1,opt,name=o_bool,json=oBool" json:"o_bool,omitempty"` - OInt32 *int32 `protobuf:"varint,2,opt,name=o_int32,json=oInt32" json:"o_int32,omitempty"` - OInt32Str *int32 `protobuf:"varint,3,opt,name=o_int32_str,json=oInt32Str" json:"o_int32_str,omitempty"` - OInt64 *int64 `protobuf:"varint,4,opt,name=o_int64,json=oInt64" json:"o_int64,omitempty"` - OInt64Str *int64 `protobuf:"varint,5,opt,name=o_int64_str,json=oInt64Str" json:"o_int64_str,omitempty"` - OUint32 *uint32 `protobuf:"varint,6,opt,name=o_uint32,json=oUint32" json:"o_uint32,omitempty"` - OUint32Str *uint32 `protobuf:"varint,7,opt,name=o_uint32_str,json=oUint32Str" json:"o_uint32_str,omitempty"` - OUint64 *uint64 `protobuf:"varint,8,opt,name=o_uint64,json=oUint64" json:"o_uint64,omitempty"` - OUint64Str *uint64 `protobuf:"varint,9,opt,name=o_uint64_str,json=oUint64Str" json:"o_uint64_str,omitempty"` - OSint32 *int32 `protobuf:"zigzag32,10,opt,name=o_sint32,json=oSint32" json:"o_sint32,omitempty"` - OSint32Str *int32 `protobuf:"zigzag32,11,opt,name=o_sint32_str,json=oSint32Str" json:"o_sint32_str,omitempty"` - OSint64 *int64 `protobuf:"zigzag64,12,opt,name=o_sint64,json=oSint64" json:"o_sint64,omitempty"` - OSint64Str *int64 `protobuf:"zigzag64,13,opt,name=o_sint64_str,json=oSint64Str" json:"o_sint64_str,omitempty"` - OFloat *float32 `protobuf:"fixed32,14,opt,name=o_float,json=oFloat" json:"o_float,omitempty"` - OFloatStr *float32 `protobuf:"fixed32,15,opt,name=o_float_str,json=oFloatStr" json:"o_float_str,omitempty"` - ODouble *float64 `protobuf:"fixed64,16,opt,name=o_double,json=oDouble" json:"o_double,omitempty"` - ODoubleStr *float64 `protobuf:"fixed64,17,opt,name=o_double_str,json=oDoubleStr" json:"o_double_str,omitempty"` - OString *string `protobuf:"bytes,18,opt,name=o_string,json=oString" json:"o_string,omitempty"` - OBytes []byte `protobuf:"bytes,19,opt,name=o_bytes,json=oBytes" json:"o_bytes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Simple) Reset() { *m = Simple{} } -func (m *Simple) String() string { return proto.CompactTextString(m) } -func (*Simple) ProtoMessage() {} -func (*Simple) Descriptor() ([]byte, []int) { - return fileDescriptor_e97c739a0ce14cc6, []int{0} -} - -func (m *Simple) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Simple.Unmarshal(m, b) -} -func (m *Simple) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Simple.Marshal(b, m, deterministic) -} -func (m *Simple) XXX_Merge(src proto.Message) { - xxx_messageInfo_Simple.Merge(m, src) -} -func (m *Simple) XXX_Size() int { - return xxx_messageInfo_Simple.Size(m) -} -func (m *Simple) XXX_DiscardUnknown() { - xxx_messageInfo_Simple.DiscardUnknown(m) -} - -var xxx_messageInfo_Simple proto.InternalMessageInfo - -func (m *Simple) GetOBool() bool { - if m != nil && m.OBool != nil { - return *m.OBool - } - return false -} - -func (m *Simple) GetOInt32() int32 { - if m != nil && m.OInt32 != nil { - return *m.OInt32 - } - return 0 -} - -func (m *Simple) GetOInt32Str() int32 { - if m != nil && m.OInt32Str != nil { - return *m.OInt32Str - } - return 0 -} - -func (m *Simple) GetOInt64() int64 { - if m != nil && m.OInt64 != nil { - return *m.OInt64 - } - return 0 -} - -func (m *Simple) GetOInt64Str() int64 { - if m != nil && m.OInt64Str != nil { - return *m.OInt64Str - } - return 0 -} - -func (m *Simple) GetOUint32() uint32 { - if m != nil && m.OUint32 != nil { - return *m.OUint32 - } - return 0 -} - -func (m *Simple) GetOUint32Str() uint32 { - if m != nil && m.OUint32Str != nil { - return *m.OUint32Str - } - return 0 -} - -func (m *Simple) GetOUint64() uint64 { - if m != nil && m.OUint64 != nil { - return *m.OUint64 - } - return 0 -} - -func (m *Simple) GetOUint64Str() uint64 { - if m != nil && m.OUint64Str != nil { - return *m.OUint64Str - } - return 0 -} - -func (m *Simple) GetOSint32() int32 { - if m != nil && m.OSint32 != nil { - return *m.OSint32 - } - return 0 -} - -func (m *Simple) GetOSint32Str() int32 { - if m != nil && m.OSint32Str != nil { - return *m.OSint32Str - } - return 0 -} - -func (m *Simple) GetOSint64() int64 { - if m != nil && m.OSint64 != nil { - return *m.OSint64 - } - return 0 -} - -func (m *Simple) GetOSint64Str() int64 { - if m != nil && m.OSint64Str != nil { - return *m.OSint64Str - } - return 0 -} - -func (m *Simple) GetOFloat() float32 { - if m != nil && m.OFloat != nil { - return *m.OFloat - } - return 0 -} - -func (m *Simple) GetOFloatStr() float32 { - if m != nil && m.OFloatStr != nil { - return *m.OFloatStr - } - return 0 -} - -func (m *Simple) GetODouble() float64 { - if m != nil && m.ODouble != nil { - return *m.ODouble - } - return 0 -} - -func (m *Simple) GetODoubleStr() float64 { - if m != nil && m.ODoubleStr != nil { - return *m.ODoubleStr - } - return 0 -} - -func (m *Simple) GetOString() string { - if m != nil && m.OString != nil { - return *m.OString - } - return "" -} - -func (m *Simple) GetOBytes() []byte { - if m != nil { - return m.OBytes - } - return nil -} - -// Test message for holding special non-finites primitives. -type NonFinites struct { - FNan *float32 `protobuf:"fixed32,1,opt,name=f_nan,json=fNan" json:"f_nan,omitempty"` - FPinf *float32 `protobuf:"fixed32,2,opt,name=f_pinf,json=fPinf" json:"f_pinf,omitempty"` - FNinf *float32 `protobuf:"fixed32,3,opt,name=f_ninf,json=fNinf" json:"f_ninf,omitempty"` - DNan *float64 `protobuf:"fixed64,4,opt,name=d_nan,json=dNan" json:"d_nan,omitempty"` - DPinf *float64 `protobuf:"fixed64,5,opt,name=d_pinf,json=dPinf" json:"d_pinf,omitempty"` - DNinf *float64 `protobuf:"fixed64,6,opt,name=d_ninf,json=dNinf" json:"d_ninf,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *NonFinites) Reset() { *m = NonFinites{} } -func (m *NonFinites) String() string { return proto.CompactTextString(m) } -func (*NonFinites) ProtoMessage() {} -func (*NonFinites) Descriptor() ([]byte, []int) { - return fileDescriptor_e97c739a0ce14cc6, []int{1} -} - -func (m *NonFinites) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NonFinites.Unmarshal(m, b) -} -func (m *NonFinites) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NonFinites.Marshal(b, m, deterministic) -} -func (m *NonFinites) XXX_Merge(src proto.Message) { - xxx_messageInfo_NonFinites.Merge(m, src) -} -func (m *NonFinites) XXX_Size() int { - return xxx_messageInfo_NonFinites.Size(m) -} -func (m *NonFinites) XXX_DiscardUnknown() { - xxx_messageInfo_NonFinites.DiscardUnknown(m) -} - -var xxx_messageInfo_NonFinites proto.InternalMessageInfo - -func (m *NonFinites) GetFNan() float32 { - if m != nil && m.FNan != nil { - return *m.FNan - } - return 0 -} - -func (m *NonFinites) GetFPinf() float32 { - if m != nil && m.FPinf != nil { - return *m.FPinf - } - return 0 -} - -func (m *NonFinites) GetFNinf() float32 { - if m != nil && m.FNinf != nil { - return *m.FNinf - } - return 0 -} - -func (m *NonFinites) GetDNan() float64 { - if m != nil && m.DNan != nil { - return *m.DNan - } - return 0 -} - -func (m *NonFinites) GetDPinf() float64 { - if m != nil && m.DPinf != nil { - return *m.DPinf - } - return 0 -} - -func (m *NonFinites) GetDNinf() float64 { - if m != nil && m.DNinf != nil { - return *m.DNinf - } - return 0 -} - -// Test message for holding repeated primitives. -type Repeats struct { - RBool []bool `protobuf:"varint,1,rep,name=r_bool,json=rBool" json:"r_bool,omitempty"` - RInt32 []int32 `protobuf:"varint,2,rep,name=r_int32,json=rInt32" json:"r_int32,omitempty"` - RInt64 []int64 `protobuf:"varint,3,rep,name=r_int64,json=rInt64" json:"r_int64,omitempty"` - RUint32 []uint32 `protobuf:"varint,4,rep,name=r_uint32,json=rUint32" json:"r_uint32,omitempty"` - RUint64 []uint64 `protobuf:"varint,5,rep,name=r_uint64,json=rUint64" json:"r_uint64,omitempty"` - RSint32 []int32 `protobuf:"zigzag32,6,rep,name=r_sint32,json=rSint32" json:"r_sint32,omitempty"` - RSint64 []int64 `protobuf:"zigzag64,7,rep,name=r_sint64,json=rSint64" json:"r_sint64,omitempty"` - RFloat []float32 `protobuf:"fixed32,8,rep,name=r_float,json=rFloat" json:"r_float,omitempty"` - RDouble []float64 `protobuf:"fixed64,9,rep,name=r_double,json=rDouble" json:"r_double,omitempty"` - RString []string `protobuf:"bytes,10,rep,name=r_string,json=rString" json:"r_string,omitempty"` - RBytes [][]byte `protobuf:"bytes,11,rep,name=r_bytes,json=rBytes" json:"r_bytes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Repeats) Reset() { *m = Repeats{} } -func (m *Repeats) String() string { return proto.CompactTextString(m) } -func (*Repeats) ProtoMessage() {} -func (*Repeats) Descriptor() ([]byte, []int) { - return fileDescriptor_e97c739a0ce14cc6, []int{2} -} - -func (m *Repeats) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Repeats.Unmarshal(m, b) -} -func (m *Repeats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Repeats.Marshal(b, m, deterministic) -} -func (m *Repeats) XXX_Merge(src proto.Message) { - xxx_messageInfo_Repeats.Merge(m, src) -} -func (m *Repeats) XXX_Size() int { - return xxx_messageInfo_Repeats.Size(m) -} -func (m *Repeats) XXX_DiscardUnknown() { - xxx_messageInfo_Repeats.DiscardUnknown(m) -} - -var xxx_messageInfo_Repeats proto.InternalMessageInfo - -func (m *Repeats) GetRBool() []bool { - if m != nil { - return m.RBool - } - return nil -} - -func (m *Repeats) GetRInt32() []int32 { - if m != nil { - return m.RInt32 - } - return nil -} - -func (m *Repeats) GetRInt64() []int64 { - if m != nil { - return m.RInt64 - } - return nil -} - -func (m *Repeats) GetRUint32() []uint32 { - if m != nil { - return m.RUint32 - } - return nil -} - -func (m *Repeats) GetRUint64() []uint64 { - if m != nil { - return m.RUint64 - } - return nil -} - -func (m *Repeats) GetRSint32() []int32 { - if m != nil { - return m.RSint32 - } - return nil -} - -func (m *Repeats) GetRSint64() []int64 { - if m != nil { - return m.RSint64 - } - return nil -} - -func (m *Repeats) GetRFloat() []float32 { - if m != nil { - return m.RFloat - } - return nil -} - -func (m *Repeats) GetRDouble() []float64 { - if m != nil { - return m.RDouble - } - return nil -} - -func (m *Repeats) GetRString() []string { - if m != nil { - return m.RString - } - return nil -} - -func (m *Repeats) GetRBytes() [][]byte { - if m != nil { - return m.RBytes - } - return nil -} - -// Test message for holding enums and nested messages. -type Widget struct { - Color *Widget_Color `protobuf:"varint,1,opt,name=color,enum=jsonpb.Widget_Color" json:"color,omitempty"` - RColor []Widget_Color `protobuf:"varint,2,rep,name=r_color,json=rColor,enum=jsonpb.Widget_Color" json:"r_color,omitempty"` - Simple *Simple `protobuf:"bytes,10,opt,name=simple" json:"simple,omitempty"` - RSimple []*Simple `protobuf:"bytes,11,rep,name=r_simple,json=rSimple" json:"r_simple,omitempty"` - Repeats *Repeats `protobuf:"bytes,20,opt,name=repeats" json:"repeats,omitempty"` - RRepeats []*Repeats `protobuf:"bytes,21,rep,name=r_repeats,json=rRepeats" json:"r_repeats,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Widget) Reset() { *m = Widget{} } -func (m *Widget) String() string { return proto.CompactTextString(m) } -func (*Widget) ProtoMessage() {} -func (*Widget) Descriptor() ([]byte, []int) { - return fileDescriptor_e97c739a0ce14cc6, []int{3} -} - -func (m *Widget) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Widget.Unmarshal(m, b) -} -func (m *Widget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Widget.Marshal(b, m, deterministic) -} -func (m *Widget) XXX_Merge(src proto.Message) { - xxx_messageInfo_Widget.Merge(m, src) -} -func (m *Widget) XXX_Size() int { - return xxx_messageInfo_Widget.Size(m) -} -func (m *Widget) XXX_DiscardUnknown() { - xxx_messageInfo_Widget.DiscardUnknown(m) -} - -var xxx_messageInfo_Widget proto.InternalMessageInfo - -func (m *Widget) GetColor() Widget_Color { - if m != nil && m.Color != nil { - return *m.Color - } - return Widget_RED -} - -func (m *Widget) GetRColor() []Widget_Color { - if m != nil { - return m.RColor - } - return nil -} - -func (m *Widget) GetSimple() *Simple { - if m != nil { - return m.Simple - } - return nil -} - -func (m *Widget) GetRSimple() []*Simple { - if m != nil { - return m.RSimple - } - return nil -} - -func (m *Widget) GetRepeats() *Repeats { - if m != nil { - return m.Repeats - } - return nil -} - -func (m *Widget) GetRRepeats() []*Repeats { - if m != nil { - return m.RRepeats - } - return nil -} - -type Maps struct { - MInt64Str map[int64]string `protobuf:"bytes,1,rep,name=m_int64_str,json=mInt64Str" json:"m_int64_str,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - MBoolSimple map[bool]*Simple `protobuf:"bytes,2,rep,name=m_bool_simple,json=mBoolSimple" json:"m_bool_simple,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Maps) Reset() { *m = Maps{} } -func (m *Maps) String() string { return proto.CompactTextString(m) } -func (*Maps) ProtoMessage() {} -func (*Maps) Descriptor() ([]byte, []int) { - return fileDescriptor_e97c739a0ce14cc6, []int{4} -} - -func (m *Maps) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Maps.Unmarshal(m, b) -} -func (m *Maps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Maps.Marshal(b, m, deterministic) -} -func (m *Maps) XXX_Merge(src proto.Message) { - xxx_messageInfo_Maps.Merge(m, src) -} -func (m *Maps) XXX_Size() int { - return xxx_messageInfo_Maps.Size(m) -} -func (m *Maps) XXX_DiscardUnknown() { - xxx_messageInfo_Maps.DiscardUnknown(m) -} - -var xxx_messageInfo_Maps proto.InternalMessageInfo - -func (m *Maps) GetMInt64Str() map[int64]string { - if m != nil { - return m.MInt64Str - } - return nil -} - -func (m *Maps) GetMBoolSimple() map[bool]*Simple { - if m != nil { - return m.MBoolSimple - } - return nil -} - -type MsgWithOneof struct { - // Types that are valid to be assigned to Union: - // *MsgWithOneof_Title - // *MsgWithOneof_Salary - // *MsgWithOneof_Country - // *MsgWithOneof_HomeAddress - // *MsgWithOneof_MsgWithRequired - Union isMsgWithOneof_Union `protobuf_oneof:"union"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MsgWithOneof) Reset() { *m = MsgWithOneof{} } -func (m *MsgWithOneof) String() string { return proto.CompactTextString(m) } -func (*MsgWithOneof) ProtoMessage() {} -func (*MsgWithOneof) Descriptor() ([]byte, []int) { - return fileDescriptor_e97c739a0ce14cc6, []int{5} -} - -func (m *MsgWithOneof) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MsgWithOneof.Unmarshal(m, b) -} -func (m *MsgWithOneof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MsgWithOneof.Marshal(b, m, deterministic) -} -func (m *MsgWithOneof) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgWithOneof.Merge(m, src) -} -func (m *MsgWithOneof) XXX_Size() int { - return xxx_messageInfo_MsgWithOneof.Size(m) -} -func (m *MsgWithOneof) XXX_DiscardUnknown() { - xxx_messageInfo_MsgWithOneof.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgWithOneof proto.InternalMessageInfo - -type isMsgWithOneof_Union interface { - isMsgWithOneof_Union() -} - -type MsgWithOneof_Title struct { - Title string `protobuf:"bytes,1,opt,name=title,oneof"` -} - -type MsgWithOneof_Salary struct { - Salary int64 `protobuf:"varint,2,opt,name=salary,oneof"` -} - -type MsgWithOneof_Country struct { - Country string `protobuf:"bytes,3,opt,name=Country,oneof"` -} - -type MsgWithOneof_HomeAddress struct { - HomeAddress string `protobuf:"bytes,4,opt,name=home_address,json=homeAddress,oneof"` -} - -type MsgWithOneof_MsgWithRequired struct { - MsgWithRequired *MsgWithRequired `protobuf:"bytes,5,opt,name=msg_with_required,json=msgWithRequired,oneof"` -} - -func (*MsgWithOneof_Title) isMsgWithOneof_Union() {} - -func (*MsgWithOneof_Salary) isMsgWithOneof_Union() {} - -func (*MsgWithOneof_Country) isMsgWithOneof_Union() {} - -func (*MsgWithOneof_HomeAddress) isMsgWithOneof_Union() {} - -func (*MsgWithOneof_MsgWithRequired) isMsgWithOneof_Union() {} - -func (m *MsgWithOneof) GetUnion() isMsgWithOneof_Union { - if m != nil { - return m.Union - } - return nil -} - -func (m *MsgWithOneof) GetTitle() string { - if x, ok := m.GetUnion().(*MsgWithOneof_Title); ok { - return x.Title - } - return "" -} - -func (m *MsgWithOneof) GetSalary() int64 { - if x, ok := m.GetUnion().(*MsgWithOneof_Salary); ok { - return x.Salary - } - return 0 -} - -func (m *MsgWithOneof) GetCountry() string { - if x, ok := m.GetUnion().(*MsgWithOneof_Country); ok { - return x.Country - } - return "" -} - -func (m *MsgWithOneof) GetHomeAddress() string { - if x, ok := m.GetUnion().(*MsgWithOneof_HomeAddress); ok { - return x.HomeAddress - } - return "" -} - -func (m *MsgWithOneof) GetMsgWithRequired() *MsgWithRequired { - if x, ok := m.GetUnion().(*MsgWithOneof_MsgWithRequired); ok { - return x.MsgWithRequired - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*MsgWithOneof) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*MsgWithOneof_Title)(nil), - (*MsgWithOneof_Salary)(nil), - (*MsgWithOneof_Country)(nil), - (*MsgWithOneof_HomeAddress)(nil), - (*MsgWithOneof_MsgWithRequired)(nil), - } -} - -type Real struct { - Value *float64 `protobuf:"fixed64,1,opt,name=value" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - proto.XXX_InternalExtensions `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Real) Reset() { *m = Real{} } -func (m *Real) String() string { return proto.CompactTextString(m) } -func (*Real) ProtoMessage() {} -func (*Real) Descriptor() ([]byte, []int) { - return fileDescriptor_e97c739a0ce14cc6, []int{6} -} - -var extRange_Real = []proto.ExtensionRange{ - {Start: 100, End: 536870911}, -} - -func (*Real) ExtensionRangeArray() []proto.ExtensionRange { - return extRange_Real -} - -func (m *Real) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Real.Unmarshal(m, b) -} -func (m *Real) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Real.Marshal(b, m, deterministic) -} -func (m *Real) XXX_Merge(src proto.Message) { - xxx_messageInfo_Real.Merge(m, src) -} -func (m *Real) XXX_Size() int { - return xxx_messageInfo_Real.Size(m) -} -func (m *Real) XXX_DiscardUnknown() { - xxx_messageInfo_Real.DiscardUnknown(m) -} - -var xxx_messageInfo_Real proto.InternalMessageInfo - -func (m *Real) GetValue() float64 { - if m != nil && m.Value != nil { - return *m.Value - } - return 0 -} - -type Complex struct { - Imaginary *float64 `protobuf:"fixed64,1,opt,name=imaginary" json:"imaginary,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - proto.XXX_InternalExtensions `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Complex) Reset() { *m = Complex{} } -func (m *Complex) String() string { return proto.CompactTextString(m) } -func (*Complex) ProtoMessage() {} -func (*Complex) Descriptor() ([]byte, []int) { - return fileDescriptor_e97c739a0ce14cc6, []int{7} -} - -var extRange_Complex = []proto.ExtensionRange{ - {Start: 100, End: 536870911}, -} - -func (*Complex) ExtensionRangeArray() []proto.ExtensionRange { - return extRange_Complex -} - -func (m *Complex) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Complex.Unmarshal(m, b) -} -func (m *Complex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Complex.Marshal(b, m, deterministic) -} -func (m *Complex) XXX_Merge(src proto.Message) { - xxx_messageInfo_Complex.Merge(m, src) -} -func (m *Complex) XXX_Size() int { - return xxx_messageInfo_Complex.Size(m) -} -func (m *Complex) XXX_DiscardUnknown() { - xxx_messageInfo_Complex.DiscardUnknown(m) -} - -var xxx_messageInfo_Complex proto.InternalMessageInfo - -func (m *Complex) GetImaginary() float64 { - if m != nil && m.Imaginary != nil { - return *m.Imaginary - } - return 0 -} - -var E_Complex_RealExtension = &proto.ExtensionDesc{ - ExtendedType: (*Real)(nil), - ExtensionType: (*Complex)(nil), - Field: 123, - Name: "jsonpb.Complex.real_extension", - Tag: "bytes,123,opt,name=real_extension", - Filename: "test_objects.proto", -} - -type KnownTypes struct { - An *any.Any `protobuf:"bytes,14,opt,name=an" json:"an,omitempty"` - Dur *duration.Duration `protobuf:"bytes,1,opt,name=dur" json:"dur,omitempty"` - St *_struct.Struct `protobuf:"bytes,12,opt,name=st" json:"st,omitempty"` - Ts *timestamp.Timestamp `protobuf:"bytes,2,opt,name=ts" json:"ts,omitempty"` - Lv *_struct.ListValue `protobuf:"bytes,15,opt,name=lv" json:"lv,omitempty"` - Val *_struct.Value `protobuf:"bytes,16,opt,name=val" json:"val,omitempty"` - Dbl *wrappers.DoubleValue `protobuf:"bytes,3,opt,name=dbl" json:"dbl,omitempty"` - Flt *wrappers.FloatValue `protobuf:"bytes,4,opt,name=flt" json:"flt,omitempty"` - I64 *wrappers.Int64Value `protobuf:"bytes,5,opt,name=i64" json:"i64,omitempty"` - U64 *wrappers.UInt64Value `protobuf:"bytes,6,opt,name=u64" json:"u64,omitempty"` - I32 *wrappers.Int32Value `protobuf:"bytes,7,opt,name=i32" json:"i32,omitempty"` - U32 *wrappers.UInt32Value `protobuf:"bytes,8,opt,name=u32" json:"u32,omitempty"` - Bool *wrappers.BoolValue `protobuf:"bytes,9,opt,name=bool" json:"bool,omitempty"` - Str *wrappers.StringValue `protobuf:"bytes,10,opt,name=str" json:"str,omitempty"` - Bytes *wrappers.BytesValue `protobuf:"bytes,11,opt,name=bytes" json:"bytes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *KnownTypes) Reset() { *m = KnownTypes{} } -func (m *KnownTypes) String() string { return proto.CompactTextString(m) } -func (*KnownTypes) ProtoMessage() {} -func (*KnownTypes) Descriptor() ([]byte, []int) { - return fileDescriptor_e97c739a0ce14cc6, []int{8} -} - -func (m *KnownTypes) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_KnownTypes.Unmarshal(m, b) -} -func (m *KnownTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_KnownTypes.Marshal(b, m, deterministic) -} -func (m *KnownTypes) XXX_Merge(src proto.Message) { - xxx_messageInfo_KnownTypes.Merge(m, src) -} -func (m *KnownTypes) XXX_Size() int { - return xxx_messageInfo_KnownTypes.Size(m) -} -func (m *KnownTypes) XXX_DiscardUnknown() { - xxx_messageInfo_KnownTypes.DiscardUnknown(m) -} - -var xxx_messageInfo_KnownTypes proto.InternalMessageInfo - -func (m *KnownTypes) GetAn() *any.Any { - if m != nil { - return m.An - } - return nil -} - -func (m *KnownTypes) GetDur() *duration.Duration { - if m != nil { - return m.Dur - } - return nil -} - -func (m *KnownTypes) GetSt() *_struct.Struct { - if m != nil { - return m.St - } - return nil -} - -func (m *KnownTypes) GetTs() *timestamp.Timestamp { - if m != nil { - return m.Ts - } - return nil -} - -func (m *KnownTypes) GetLv() *_struct.ListValue { - if m != nil { - return m.Lv - } - return nil -} - -func (m *KnownTypes) GetVal() *_struct.Value { - if m != nil { - return m.Val - } - return nil -} - -func (m *KnownTypes) GetDbl() *wrappers.DoubleValue { - if m != nil { - return m.Dbl - } - return nil -} - -func (m *KnownTypes) GetFlt() *wrappers.FloatValue { - if m != nil { - return m.Flt - } - return nil -} - -func (m *KnownTypes) GetI64() *wrappers.Int64Value { - if m != nil { - return m.I64 - } - return nil -} - -func (m *KnownTypes) GetU64() *wrappers.UInt64Value { - if m != nil { - return m.U64 - } - return nil -} - -func (m *KnownTypes) GetI32() *wrappers.Int32Value { - if m != nil { - return m.I32 - } - return nil -} - -func (m *KnownTypes) GetU32() *wrappers.UInt32Value { - if m != nil { - return m.U32 - } - return nil -} - -func (m *KnownTypes) GetBool() *wrappers.BoolValue { - if m != nil { - return m.Bool - } - return nil -} - -func (m *KnownTypes) GetStr() *wrappers.StringValue { - if m != nil { - return m.Str - } - return nil -} - -func (m *KnownTypes) GetBytes() *wrappers.BytesValue { - if m != nil { - return m.Bytes - } - return nil -} - -// Test messages for marshaling/unmarshaling required fields. -type MsgWithRequired struct { - Str *string `protobuf:"bytes,1,req,name=str" json:"str,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MsgWithRequired) Reset() { *m = MsgWithRequired{} } -func (m *MsgWithRequired) String() string { return proto.CompactTextString(m) } -func (*MsgWithRequired) ProtoMessage() {} -func (*MsgWithRequired) Descriptor() ([]byte, []int) { - return fileDescriptor_e97c739a0ce14cc6, []int{9} -} - -func (m *MsgWithRequired) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MsgWithRequired.Unmarshal(m, b) -} -func (m *MsgWithRequired) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MsgWithRequired.Marshal(b, m, deterministic) -} -func (m *MsgWithRequired) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgWithRequired.Merge(m, src) -} -func (m *MsgWithRequired) XXX_Size() int { - return xxx_messageInfo_MsgWithRequired.Size(m) -} -func (m *MsgWithRequired) XXX_DiscardUnknown() { - xxx_messageInfo_MsgWithRequired.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgWithRequired proto.InternalMessageInfo - -func (m *MsgWithRequired) GetStr() string { - if m != nil && m.Str != nil { - return *m.Str - } - return "" -} - -type MsgWithIndirectRequired struct { - Subm *MsgWithRequired `protobuf:"bytes,1,opt,name=subm" json:"subm,omitempty"` - MapField map[string]*MsgWithRequired `protobuf:"bytes,2,rep,name=map_field,json=mapField" json:"map_field,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - SliceField []*MsgWithRequired `protobuf:"bytes,3,rep,name=slice_field,json=sliceField" json:"slice_field,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MsgWithIndirectRequired) Reset() { *m = MsgWithIndirectRequired{} } -func (m *MsgWithIndirectRequired) String() string { return proto.CompactTextString(m) } -func (*MsgWithIndirectRequired) ProtoMessage() {} -func (*MsgWithIndirectRequired) Descriptor() ([]byte, []int) { - return fileDescriptor_e97c739a0ce14cc6, []int{10} -} - -func (m *MsgWithIndirectRequired) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MsgWithIndirectRequired.Unmarshal(m, b) -} -func (m *MsgWithIndirectRequired) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MsgWithIndirectRequired.Marshal(b, m, deterministic) -} -func (m *MsgWithIndirectRequired) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgWithIndirectRequired.Merge(m, src) -} -func (m *MsgWithIndirectRequired) XXX_Size() int { - return xxx_messageInfo_MsgWithIndirectRequired.Size(m) -} -func (m *MsgWithIndirectRequired) XXX_DiscardUnknown() { - xxx_messageInfo_MsgWithIndirectRequired.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgWithIndirectRequired proto.InternalMessageInfo - -func (m *MsgWithIndirectRequired) GetSubm() *MsgWithRequired { - if m != nil { - return m.Subm - } - return nil -} - -func (m *MsgWithIndirectRequired) GetMapField() map[string]*MsgWithRequired { - if m != nil { - return m.MapField - } - return nil -} - -func (m *MsgWithIndirectRequired) GetSliceField() []*MsgWithRequired { - if m != nil { - return m.SliceField - } - return nil -} - -type MsgWithRequiredBytes struct { - Byts []byte `protobuf:"bytes,1,req,name=byts" json:"byts,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MsgWithRequiredBytes) Reset() { *m = MsgWithRequiredBytes{} } -func (m *MsgWithRequiredBytes) String() string { return proto.CompactTextString(m) } -func (*MsgWithRequiredBytes) ProtoMessage() {} -func (*MsgWithRequiredBytes) Descriptor() ([]byte, []int) { - return fileDescriptor_e97c739a0ce14cc6, []int{11} -} - -func (m *MsgWithRequiredBytes) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MsgWithRequiredBytes.Unmarshal(m, b) -} -func (m *MsgWithRequiredBytes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MsgWithRequiredBytes.Marshal(b, m, deterministic) -} -func (m *MsgWithRequiredBytes) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgWithRequiredBytes.Merge(m, src) -} -func (m *MsgWithRequiredBytes) XXX_Size() int { - return xxx_messageInfo_MsgWithRequiredBytes.Size(m) -} -func (m *MsgWithRequiredBytes) XXX_DiscardUnknown() { - xxx_messageInfo_MsgWithRequiredBytes.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgWithRequiredBytes proto.InternalMessageInfo - -func (m *MsgWithRequiredBytes) GetByts() []byte { - if m != nil { - return m.Byts - } - return nil -} - -type MsgWithRequiredWKT struct { - Str *wrappers.StringValue `protobuf:"bytes,1,req,name=str" json:"str,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MsgWithRequiredWKT) Reset() { *m = MsgWithRequiredWKT{} } -func (m *MsgWithRequiredWKT) String() string { return proto.CompactTextString(m) } -func (*MsgWithRequiredWKT) ProtoMessage() {} -func (*MsgWithRequiredWKT) Descriptor() ([]byte, []int) { - return fileDescriptor_e97c739a0ce14cc6, []int{12} -} - -func (m *MsgWithRequiredWKT) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MsgWithRequiredWKT.Unmarshal(m, b) -} -func (m *MsgWithRequiredWKT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MsgWithRequiredWKT.Marshal(b, m, deterministic) -} -func (m *MsgWithRequiredWKT) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgWithRequiredWKT.Merge(m, src) -} -func (m *MsgWithRequiredWKT) XXX_Size() int { - return xxx_messageInfo_MsgWithRequiredWKT.Size(m) -} -func (m *MsgWithRequiredWKT) XXX_DiscardUnknown() { - xxx_messageInfo_MsgWithRequiredWKT.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgWithRequiredWKT proto.InternalMessageInfo - -func (m *MsgWithRequiredWKT) GetStr() *wrappers.StringValue { - if m != nil { - return m.Str - } - return nil -} - -var E_Name = &proto.ExtensionDesc{ - ExtendedType: (*Real)(nil), - ExtensionType: (*string)(nil), - Field: 124, - Name: "jsonpb.name", - Tag: "bytes,124,opt,name=name", - Filename: "test_objects.proto", -} - -var E_Extm = &proto.ExtensionDesc{ - ExtendedType: (*Real)(nil), - ExtensionType: (*MsgWithRequired)(nil), - Field: 125, - Name: "jsonpb.extm", - Tag: "bytes,125,opt,name=extm", - Filename: "test_objects.proto", -} - -func init() { - proto.RegisterEnum("jsonpb.Widget_Color", Widget_Color_name, Widget_Color_value) - proto.RegisterType((*Simple)(nil), "jsonpb.Simple") - proto.RegisterType((*NonFinites)(nil), "jsonpb.NonFinites") - proto.RegisterType((*Repeats)(nil), "jsonpb.Repeats") - proto.RegisterType((*Widget)(nil), "jsonpb.Widget") - proto.RegisterType((*Maps)(nil), "jsonpb.Maps") - proto.RegisterMapType((map[bool]*Simple)(nil), "jsonpb.Maps.MBoolSimpleEntry") - proto.RegisterMapType((map[int64]string)(nil), "jsonpb.Maps.MInt64StrEntry") - proto.RegisterType((*MsgWithOneof)(nil), "jsonpb.MsgWithOneof") - proto.RegisterType((*Real)(nil), "jsonpb.Real") - proto.RegisterExtension(E_Complex_RealExtension) - proto.RegisterType((*Complex)(nil), "jsonpb.Complex") - proto.RegisterType((*KnownTypes)(nil), "jsonpb.KnownTypes") - proto.RegisterType((*MsgWithRequired)(nil), "jsonpb.MsgWithRequired") - proto.RegisterType((*MsgWithIndirectRequired)(nil), "jsonpb.MsgWithIndirectRequired") - proto.RegisterMapType((map[string]*MsgWithRequired)(nil), "jsonpb.MsgWithIndirectRequired.MapFieldEntry") - proto.RegisterType((*MsgWithRequiredBytes)(nil), "jsonpb.MsgWithRequiredBytes") - proto.RegisterType((*MsgWithRequiredWKT)(nil), "jsonpb.MsgWithRequiredWKT") - proto.RegisterExtension(E_Name) - proto.RegisterExtension(E_Extm) -} - -func init() { proto.RegisterFile("test_objects.proto", fileDescriptor_e97c739a0ce14cc6) } - -var fileDescriptor_e97c739a0ce14cc6 = []byte{ - // 1460 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x56, 0xdd, 0x72, 0xdb, 0x44, - 0x14, 0x8e, 0x24, 0xcb, 0xb6, 0x8e, 0xf3, 0xd7, 0x6d, 0xda, 0x2a, 0xa1, 0x14, 0x8d, 0x5b, 0x8a, - 0x69, 0x89, 0x3b, 0x38, 0x1e, 0x4f, 0x29, 0xdc, 0x34, 0x4d, 0x4a, 0x4b, 0xdb, 0xc0, 0x6c, 0x52, - 0x7a, 0xe9, 0x91, 0x23, 0x39, 0x55, 0x91, 0xb4, 0x66, 0x77, 0x9d, 0xd4, 0x03, 0xcc, 0xe4, 0x19, - 0x18, 0x9e, 0x80, 0x0b, 0x6e, 0xb9, 0xe3, 0x82, 0xb7, 0xe0, 0x8d, 0x98, 0x3d, 0xbb, 0xf2, 0x5f, - 0xe2, 0x81, 0x2b, 0x7b, 0xf7, 0xfb, 0xd9, 0xd5, 0x9e, 0x4f, 0x67, 0x05, 0x44, 0xc6, 0x42, 0x76, - 0x59, 0xef, 0x5d, 0x7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0x72, 0x3d, - 0xdd, 0x72, 0xb7, 0x67, 0x5b, 0xee, 0x42, 0xdb, 0xa9, 0xde, 0x7b, 0x0f, 0x36, 0xe6, 0x50, 0x3c, - 0x6d, 0x42, 0xa0, 0xd4, 0x1b, 0x49, 0x81, 0xe7, 0xb9, 0x4c, 0xf1, 0x7f, 0x7d, 0x0f, 0xc8, 0x1c, - 0xf7, 0xcd, 0x8b, 0xa3, 0xa2, 0xdc, 0x8a, 0xf8, 0x7f, 0xca, 0xfd, 0x28, 0x80, 0x52, 0x1e, 0x66, - 0xf1, 0x5c, 0xd3, 0xfa, 0x19, 0x9f, 0x02, 0x91, 0x47, 0x5f, 0x40, 0x29, 0x7e, 0x2f, 0xb3, 0x39, - 0xc6, 0x2f, 0xff, 0x51, 0x2a, 0x25, 0xf9, 0x37, 0x00, 0x00, 0xff, 0xff, 0xe9, 0xd4, 0xfd, 0x2f, - 0x41, 0x0d, 0x00, 0x00, -} diff --git a/vendor/github.com/golang/protobuf/proto/proto3_proto/proto3.pb.go b/vendor/github.com/golang/protobuf/proto/proto3_proto/proto3.pb.go deleted file mode 100644 index 9a754c8a..00000000 --- a/vendor/github.com/golang/protobuf/proto/proto3_proto/proto3.pb.go +++ /dev/null @@ -1,577 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: proto3_proto/proto3.proto - -package proto3_proto - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - test_proto "github.com/golang/protobuf/proto/test_proto" - any "github.com/golang/protobuf/ptypes/any" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type Message_Humour int32 - -const ( - Message_UNKNOWN Message_Humour = 0 - Message_PUNS Message_Humour = 1 - Message_SLAPSTICK Message_Humour = 2 - Message_BILL_BAILEY Message_Humour = 3 -) - -var Message_Humour_name = map[int32]string{ - 0: "UNKNOWN", - 1: "PUNS", - 2: "SLAPSTICK", - 3: "BILL_BAILEY", -} - -var Message_Humour_value = map[string]int32{ - "UNKNOWN": 0, - "PUNS": 1, - "SLAPSTICK": 2, - "BILL_BAILEY": 3, -} - -func (x Message_Humour) String() string { - return proto.EnumName(Message_Humour_name, int32(x)) -} - -func (Message_Humour) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1c50d9b824d4ac38, []int{0, 0} -} - -type Message struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Hilarity Message_Humour `protobuf:"varint,2,opt,name=hilarity,proto3,enum=proto3_proto.Message_Humour" json:"hilarity,omitempty"` - HeightInCm uint32 `protobuf:"varint,3,opt,name=height_in_cm,json=heightInCm,proto3" json:"height_in_cm,omitempty"` - Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` - ResultCount int64 `protobuf:"varint,7,opt,name=result_count,json=resultCount,proto3" json:"result_count,omitempty"` - TrueScotsman bool `protobuf:"varint,8,opt,name=true_scotsman,json=trueScotsman,proto3" json:"true_scotsman,omitempty"` - Score float32 `protobuf:"fixed32,9,opt,name=score,proto3" json:"score,omitempty"` - Key []uint64 `protobuf:"varint,5,rep,packed,name=key,proto3" json:"key,omitempty"` - ShortKey []int32 `protobuf:"varint,19,rep,packed,name=short_key,json=shortKey,proto3" json:"short_key,omitempty"` - Nested *Nested `protobuf:"bytes,6,opt,name=nested,proto3" json:"nested,omitempty"` - RFunny []Message_Humour `protobuf:"varint,16,rep,packed,name=r_funny,json=rFunny,proto3,enum=proto3_proto.Message_Humour" json:"r_funny,omitempty"` - Terrain map[string]*Nested `protobuf:"bytes,10,rep,name=terrain,proto3" json:"terrain,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Proto2Field *test_proto.SubDefaults `protobuf:"bytes,11,opt,name=proto2_field,json=proto2Field,proto3" json:"proto2_field,omitempty"` - Proto2Value map[string]*test_proto.SubDefaults `protobuf:"bytes,13,rep,name=proto2_value,json=proto2Value,proto3" json:"proto2_value,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Anything *any.Any `protobuf:"bytes,14,opt,name=anything,proto3" json:"anything,omitempty"` - ManyThings []*any.Any `protobuf:"bytes,15,rep,name=many_things,json=manyThings,proto3" json:"many_things,omitempty"` - Submessage *Message `protobuf:"bytes,17,opt,name=submessage,proto3" json:"submessage,omitempty"` - Children []*Message `protobuf:"bytes,18,rep,name=children,proto3" json:"children,omitempty"` - StringMap map[string]string `protobuf:"bytes,20,rep,name=string_map,json=stringMap,proto3" json:"string_map,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 *Message) Reset() { *m = Message{} } -func (m *Message) String() string { return proto.CompactTextString(m) } -func (*Message) ProtoMessage() {} -func (*Message) Descriptor() ([]byte, []int) { - return fileDescriptor_1c50d9b824d4ac38, []int{0} -} - -func (m *Message) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Message.Unmarshal(m, b) -} -func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Message.Marshal(b, m, deterministic) -} -func (m *Message) XXX_Merge(src proto.Message) { - xxx_messageInfo_Message.Merge(m, src) -} -func (m *Message) XXX_Size() int { - return xxx_messageInfo_Message.Size(m) -} -func (m *Message) XXX_DiscardUnknown() { - xxx_messageInfo_Message.DiscardUnknown(m) -} - -var xxx_messageInfo_Message proto.InternalMessageInfo - -func (m *Message) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Message) GetHilarity() Message_Humour { - if m != nil { - return m.Hilarity - } - return Message_UNKNOWN -} - -func (m *Message) GetHeightInCm() uint32 { - if m != nil { - return m.HeightInCm - } - return 0 -} - -func (m *Message) GetData() []byte { - if m != nil { - return m.Data - } - return nil -} - -func (m *Message) GetResultCount() int64 { - if m != nil { - return m.ResultCount - } - return 0 -} - -func (m *Message) GetTrueScotsman() bool { - if m != nil { - return m.TrueScotsman - } - return false -} - -func (m *Message) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -func (m *Message) GetKey() []uint64 { - if m != nil { - return m.Key - } - return nil -} - -func (m *Message) GetShortKey() []int32 { - if m != nil { - return m.ShortKey - } - return nil -} - -func (m *Message) GetNested() *Nested { - if m != nil { - return m.Nested - } - return nil -} - -func (m *Message) GetRFunny() []Message_Humour { - if m != nil { - return m.RFunny - } - return nil -} - -func (m *Message) GetTerrain() map[string]*Nested { - if m != nil { - return m.Terrain - } - return nil -} - -func (m *Message) GetProto2Field() *test_proto.SubDefaults { - if m != nil { - return m.Proto2Field - } - return nil -} - -func (m *Message) GetProto2Value() map[string]*test_proto.SubDefaults { - if m != nil { - return m.Proto2Value - } - return nil -} - -func (m *Message) GetAnything() *any.Any { - if m != nil { - return m.Anything - } - return nil -} - -func (m *Message) GetManyThings() []*any.Any { - if m != nil { - return m.ManyThings - } - return nil -} - -func (m *Message) GetSubmessage() *Message { - if m != nil { - return m.Submessage - } - return nil -} - -func (m *Message) GetChildren() []*Message { - if m != nil { - return m.Children - } - return nil -} - -func (m *Message) GetStringMap() map[string]string { - if m != nil { - return m.StringMap - } - return nil -} - -type Nested struct { - Bunny string `protobuf:"bytes,1,opt,name=bunny,proto3" json:"bunny,omitempty"` - Cute bool `protobuf:"varint,2,opt,name=cute,proto3" json:"cute,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Nested) Reset() { *m = Nested{} } -func (m *Nested) String() string { return proto.CompactTextString(m) } -func (*Nested) ProtoMessage() {} -func (*Nested) Descriptor() ([]byte, []int) { - return fileDescriptor_1c50d9b824d4ac38, []int{1} -} - -func (m *Nested) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Nested.Unmarshal(m, b) -} -func (m *Nested) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Nested.Marshal(b, m, deterministic) -} -func (m *Nested) XXX_Merge(src proto.Message) { - xxx_messageInfo_Nested.Merge(m, src) -} -func (m *Nested) XXX_Size() int { - return xxx_messageInfo_Nested.Size(m) -} -func (m *Nested) XXX_DiscardUnknown() { - xxx_messageInfo_Nested.DiscardUnknown(m) -} - -var xxx_messageInfo_Nested proto.InternalMessageInfo - -func (m *Nested) GetBunny() string { - if m != nil { - return m.Bunny - } - return "" -} - -func (m *Nested) GetCute() bool { - if m != nil { - return m.Cute - } - return false -} - -type MessageWithMap struct { - ByteMapping map[bool][]byte `protobuf:"bytes,1,rep,name=byte_mapping,json=byteMapping,proto3" json:"byte_mapping,omitempty" protobuf_key:"varint,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 *MessageWithMap) Reset() { *m = MessageWithMap{} } -func (m *MessageWithMap) String() string { return proto.CompactTextString(m) } -func (*MessageWithMap) ProtoMessage() {} -func (*MessageWithMap) Descriptor() ([]byte, []int) { - return fileDescriptor_1c50d9b824d4ac38, []int{2} -} - -func (m *MessageWithMap) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MessageWithMap.Unmarshal(m, b) -} -func (m *MessageWithMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MessageWithMap.Marshal(b, m, deterministic) -} -func (m *MessageWithMap) XXX_Merge(src proto.Message) { - xxx_messageInfo_MessageWithMap.Merge(m, src) -} -func (m *MessageWithMap) XXX_Size() int { - return xxx_messageInfo_MessageWithMap.Size(m) -} -func (m *MessageWithMap) XXX_DiscardUnknown() { - xxx_messageInfo_MessageWithMap.DiscardUnknown(m) -} - -var xxx_messageInfo_MessageWithMap proto.InternalMessageInfo - -func (m *MessageWithMap) GetByteMapping() map[bool][]byte { - if m != nil { - return m.ByteMapping - } - return nil -} - -type IntMap struct { - Rtt map[int32]int32 `protobuf:"bytes,1,rep,name=rtt,proto3" json:"rtt,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 *IntMap) Reset() { *m = IntMap{} } -func (m *IntMap) String() string { return proto.CompactTextString(m) } -func (*IntMap) ProtoMessage() {} -func (*IntMap) Descriptor() ([]byte, []int) { - return fileDescriptor_1c50d9b824d4ac38, []int{3} -} - -func (m *IntMap) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IntMap.Unmarshal(m, b) -} -func (m *IntMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IntMap.Marshal(b, m, deterministic) -} -func (m *IntMap) XXX_Merge(src proto.Message) { - xxx_messageInfo_IntMap.Merge(m, src) -} -func (m *IntMap) XXX_Size() int { - return xxx_messageInfo_IntMap.Size(m) -} -func (m *IntMap) XXX_DiscardUnknown() { - xxx_messageInfo_IntMap.DiscardUnknown(m) -} - -var xxx_messageInfo_IntMap proto.InternalMessageInfo - -func (m *IntMap) GetRtt() map[int32]int32 { - if m != nil { - return m.Rtt - } - return nil -} - -type IntMaps struct { - Maps []*IntMap `protobuf:"bytes,1,rep,name=maps,proto3" json:"maps,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *IntMaps) Reset() { *m = IntMaps{} } -func (m *IntMaps) String() string { return proto.CompactTextString(m) } -func (*IntMaps) ProtoMessage() {} -func (*IntMaps) Descriptor() ([]byte, []int) { - return fileDescriptor_1c50d9b824d4ac38, []int{4} -} - -func (m *IntMaps) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IntMaps.Unmarshal(m, b) -} -func (m *IntMaps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IntMaps.Marshal(b, m, deterministic) -} -func (m *IntMaps) XXX_Merge(src proto.Message) { - xxx_messageInfo_IntMaps.Merge(m, src) -} -func (m *IntMaps) XXX_Size() int { - return xxx_messageInfo_IntMaps.Size(m) -} -func (m *IntMaps) XXX_DiscardUnknown() { - xxx_messageInfo_IntMaps.DiscardUnknown(m) -} - -var xxx_messageInfo_IntMaps proto.InternalMessageInfo - -func (m *IntMaps) GetMaps() []*IntMap { - if m != nil { - return m.Maps - } - return nil -} - -type TestUTF8 struct { - Scalar string `protobuf:"bytes,1,opt,name=scalar,proto3" json:"scalar,omitempty"` - Vector []string `protobuf:"bytes,2,rep,name=vector,proto3" json:"vector,omitempty"` - // Types that are valid to be assigned to Oneof: - // *TestUTF8_Field - Oneof isTestUTF8_Oneof `protobuf_oneof:"oneof"` - MapKey map[string]int64 `protobuf:"bytes,4,rep,name=map_key,json=mapKey,proto3" json:"map_key,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - MapValue map[int64]string `protobuf:"bytes,5,rep,name=map_value,json=mapValue,proto3" json:"map_value,omitempty" protobuf_key:"varint,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 *TestUTF8) Reset() { *m = TestUTF8{} } -func (m *TestUTF8) String() string { return proto.CompactTextString(m) } -func (*TestUTF8) ProtoMessage() {} -func (*TestUTF8) Descriptor() ([]byte, []int) { - return fileDescriptor_1c50d9b824d4ac38, []int{5} -} - -func (m *TestUTF8) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TestUTF8.Unmarshal(m, b) -} -func (m *TestUTF8) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TestUTF8.Marshal(b, m, deterministic) -} -func (m *TestUTF8) XXX_Merge(src proto.Message) { - xxx_messageInfo_TestUTF8.Merge(m, src) -} -func (m *TestUTF8) XXX_Size() int { - return xxx_messageInfo_TestUTF8.Size(m) -} -func (m *TestUTF8) XXX_DiscardUnknown() { - xxx_messageInfo_TestUTF8.DiscardUnknown(m) -} - -var xxx_messageInfo_TestUTF8 proto.InternalMessageInfo - -func (m *TestUTF8) GetScalar() string { - if m != nil { - return m.Scalar - } - return "" -} - -func (m *TestUTF8) GetVector() []string { - if m != nil { - return m.Vector - } - return nil -} - -type isTestUTF8_Oneof interface { - isTestUTF8_Oneof() -} - -type TestUTF8_Field struct { - Field string `protobuf:"bytes,3,opt,name=field,proto3,oneof"` -} - -func (*TestUTF8_Field) isTestUTF8_Oneof() {} - -func (m *TestUTF8) GetOneof() isTestUTF8_Oneof { - if m != nil { - return m.Oneof - } - return nil -} - -func (m *TestUTF8) GetField() string { - if x, ok := m.GetOneof().(*TestUTF8_Field); ok { - return x.Field - } - return "" -} - -func (m *TestUTF8) GetMapKey() map[string]int64 { - if m != nil { - return m.MapKey - } - return nil -} - -func (m *TestUTF8) GetMapValue() map[int64]string { - if m != nil { - return m.MapValue - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*TestUTF8) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*TestUTF8_Field)(nil), - } -} - -func init() { - proto.RegisterEnum("proto3_proto.Message_Humour", Message_Humour_name, Message_Humour_value) - proto.RegisterType((*Message)(nil), "proto3_proto.Message") - proto.RegisterMapType((map[string]*test_proto.SubDefaults)(nil), "proto3_proto.Message.Proto2ValueEntry") - proto.RegisterMapType((map[string]string)(nil), "proto3_proto.Message.StringMapEntry") - proto.RegisterMapType((map[string]*Nested)(nil), "proto3_proto.Message.TerrainEntry") - proto.RegisterType((*Nested)(nil), "proto3_proto.Nested") - proto.RegisterType((*MessageWithMap)(nil), "proto3_proto.MessageWithMap") - proto.RegisterMapType((map[bool][]byte)(nil), "proto3_proto.MessageWithMap.ByteMappingEntry") - proto.RegisterType((*IntMap)(nil), "proto3_proto.IntMap") - proto.RegisterMapType((map[int32]int32)(nil), "proto3_proto.IntMap.RttEntry") - proto.RegisterType((*IntMaps)(nil), "proto3_proto.IntMaps") - proto.RegisterType((*TestUTF8)(nil), "proto3_proto.TestUTF8") - proto.RegisterMapType((map[string]int64)(nil), "proto3_proto.TestUTF8.MapKeyEntry") - proto.RegisterMapType((map[int64]string)(nil), "proto3_proto.TestUTF8.MapValueEntry") -} - -func init() { proto.RegisterFile("proto3_proto/proto3.proto", fileDescriptor_1c50d9b824d4ac38) } - -var fileDescriptor_1c50d9b824d4ac38 = []byte{ - // 896 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x54, 0x6f, 0x6f, 0xdb, 0xb6, - 0x13, 0xae, 0x2c, 0xff, 0x91, 0xcf, 0x76, 0xea, 0x1f, 0x7f, 0x6e, 0xc7, 0x7a, 0x1b, 0xa0, 0x79, - 0xc3, 0x20, 0x0c, 0xab, 0xb2, 0xb9, 0xc8, 0x90, 0xb5, 0xc5, 0x86, 0x24, 0x6b, 0x50, 0x23, 0xb1, - 0x67, 0xd0, 0xce, 0x82, 0xbd, 0x12, 0x68, 0x87, 0xb6, 0x85, 0x59, 0x94, 0x27, 0x52, 0x05, 0xf4, - 0x05, 0xf6, 0x41, 0xf6, 0x95, 0xf6, 0x85, 0x06, 0x92, 0x72, 0x2a, 0x17, 0xea, 0xf2, 0x4a, 0xbc, - 0x47, 0xcf, 0xdd, 0x73, 0xbc, 0x3b, 0x1e, 0x3c, 0xdb, 0x25, 0xb1, 0x8c, 0x5f, 0x04, 0xfa, 0x73, - 0x6c, 0x0c, 0x5f, 0x7f, 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, 0x7a, 0xa4, 0x0d, - 0x74, 0x06, 0x4d, 0xe5, 0x6c, 0x2e, 0x59, 0x2b, 0x7b, 0x80, 0x45, 0xf7, 0xc2, 0x6a, 0x72, 0xa2, - 0xdc, 0xec, 0xff, 0x08, 0xad, 0x42, 0xe4, 0x87, 0x26, 0xda, 0x2e, 0xbe, 0x87, 0x57, 0xd0, 0x39, - 0x88, 0x5a, 0x74, 0xb6, 0x1f, 0x78, 0x0e, 0xe7, 0x0d, 0xa8, 0xc5, 0x9c, 0xc5, 0xab, 0x45, 0xdd, - 0xe4, 0xfb, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xeb, 0x74, 0x17, 0x7f, 0xc3, 0x07, 0x00, 0x00, -} diff --git a/vendor/github.com/golang/protobuf/proto/test_proto/test.pb.go b/vendor/github.com/golang/protobuf/proto/test_proto/test.pb.go deleted file mode 100644 index 624e834a..00000000 --- a/vendor/github.com/golang/protobuf/proto/test_proto/test.pb.go +++ /dev/null @@ -1,4926 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: test_proto/test.proto - -package test_proto - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type FOO int32 - -const ( - FOO_FOO1 FOO = 1 -) - -var FOO_name = map[int32]string{ - 1: "FOO1", -} - -var FOO_value = map[string]int32{ - "FOO1": 1, -} - -func (x FOO) Enum() *FOO { - p := new(FOO) - *p = x - return p -} - -func (x FOO) String() string { - return proto.EnumName(FOO_name, int32(x)) -} - -func (x *FOO) UnmarshalJSON(data []byte) error { - value, err := proto.UnmarshalJSONEnum(FOO_value, data, "FOO") - if err != nil { - return err - } - *x = FOO(value) - return nil -} - -func (FOO) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{0} -} - -// An enum, for completeness. -type GoTest_KIND int32 - -const ( - GoTest_VOID GoTest_KIND = 0 - // Basic types - GoTest_BOOL GoTest_KIND = 1 - GoTest_BYTES GoTest_KIND = 2 - GoTest_FINGERPRINT GoTest_KIND = 3 - GoTest_FLOAT GoTest_KIND = 4 - GoTest_INT GoTest_KIND = 5 - GoTest_STRING GoTest_KIND = 6 - GoTest_TIME GoTest_KIND = 7 - // Groupings - GoTest_TUPLE GoTest_KIND = 8 - GoTest_ARRAY GoTest_KIND = 9 - GoTest_MAP GoTest_KIND = 10 - // Table types - GoTest_TABLE GoTest_KIND = 11 - // Functions - GoTest_FUNCTION GoTest_KIND = 12 -) - -var GoTest_KIND_name = map[int32]string{ - 0: "VOID", - 1: "BOOL", - 2: "BYTES", - 3: "FINGERPRINT", - 4: "FLOAT", - 5: "INT", - 6: "STRING", - 7: "TIME", - 8: "TUPLE", - 9: "ARRAY", - 10: "MAP", - 11: "TABLE", - 12: "FUNCTION", -} - -var GoTest_KIND_value = map[string]int32{ - "VOID": 0, - "BOOL": 1, - "BYTES": 2, - "FINGERPRINT": 3, - "FLOAT": 4, - "INT": 5, - "STRING": 6, - "TIME": 7, - "TUPLE": 8, - "ARRAY": 9, - "MAP": 10, - "TABLE": 11, - "FUNCTION": 12, -} - -func (x GoTest_KIND) Enum() *GoTest_KIND { - p := new(GoTest_KIND) - *p = x - return p -} - -func (x GoTest_KIND) String() string { - return proto.EnumName(GoTest_KIND_name, int32(x)) -} - -func (x *GoTest_KIND) UnmarshalJSON(data []byte) error { - value, err := proto.UnmarshalJSONEnum(GoTest_KIND_value, data, "GoTest_KIND") - if err != nil { - return err - } - *x = GoTest_KIND(value) - return nil -} - -func (GoTest_KIND) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{2, 0} -} - -type MyMessage_Color int32 - -const ( - MyMessage_RED MyMessage_Color = 0 - MyMessage_GREEN MyMessage_Color = 1 - MyMessage_BLUE MyMessage_Color = 2 -) - -var MyMessage_Color_name = map[int32]string{ - 0: "RED", - 1: "GREEN", - 2: "BLUE", -} - -var MyMessage_Color_value = map[string]int32{ - "RED": 0, - "GREEN": 1, - "BLUE": 2, -} - -func (x MyMessage_Color) Enum() *MyMessage_Color { - p := new(MyMessage_Color) - *p = x - return p -} - -func (x MyMessage_Color) String() string { - return proto.EnumName(MyMessage_Color_name, int32(x)) -} - -func (x *MyMessage_Color) UnmarshalJSON(data []byte) error { - value, err := proto.UnmarshalJSONEnum(MyMessage_Color_value, data, "MyMessage_Color") - if err != nil { - return err - } - *x = MyMessage_Color(value) - return nil -} - -func (MyMessage_Color) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{13, 0} -} - -type DefaultsMessage_DefaultsEnum int32 - -const ( - DefaultsMessage_ZERO DefaultsMessage_DefaultsEnum = 0 - DefaultsMessage_ONE DefaultsMessage_DefaultsEnum = 1 - DefaultsMessage_TWO DefaultsMessage_DefaultsEnum = 2 -) - -var DefaultsMessage_DefaultsEnum_name = map[int32]string{ - 0: "ZERO", - 1: "ONE", - 2: "TWO", -} - -var DefaultsMessage_DefaultsEnum_value = map[string]int32{ - "ZERO": 0, - "ONE": 1, - "TWO": 2, -} - -func (x DefaultsMessage_DefaultsEnum) Enum() *DefaultsMessage_DefaultsEnum { - p := new(DefaultsMessage_DefaultsEnum) - *p = x - return p -} - -func (x DefaultsMessage_DefaultsEnum) String() string { - return proto.EnumName(DefaultsMessage_DefaultsEnum_name, int32(x)) -} - -func (x *DefaultsMessage_DefaultsEnum) UnmarshalJSON(data []byte) error { - value, err := proto.UnmarshalJSONEnum(DefaultsMessage_DefaultsEnum_value, data, "DefaultsMessage_DefaultsEnum") - if err != nil { - return err - } - *x = DefaultsMessage_DefaultsEnum(value) - return nil -} - -func (DefaultsMessage_DefaultsEnum) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{16, 0} -} - -type Defaults_Color int32 - -const ( - Defaults_RED Defaults_Color = 0 - Defaults_GREEN Defaults_Color = 1 - Defaults_BLUE Defaults_Color = 2 -) - -var Defaults_Color_name = map[int32]string{ - 0: "RED", - 1: "GREEN", - 2: "BLUE", -} - -var Defaults_Color_value = map[string]int32{ - "RED": 0, - "GREEN": 1, - "BLUE": 2, -} - -func (x Defaults_Color) Enum() *Defaults_Color { - p := new(Defaults_Color) - *p = x - return p -} - -func (x Defaults_Color) String() string { - return proto.EnumName(Defaults_Color_name, int32(x)) -} - -func (x *Defaults_Color) UnmarshalJSON(data []byte) error { - value, err := proto.UnmarshalJSONEnum(Defaults_Color_value, data, "Defaults_Color") - if err != nil { - return err - } - *x = Defaults_Color(value) - return nil -} - -func (Defaults_Color) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{21, 0} -} - -type RepeatedEnum_Color int32 - -const ( - RepeatedEnum_RED RepeatedEnum_Color = 1 -) - -var RepeatedEnum_Color_name = map[int32]string{ - 1: "RED", -} - -var RepeatedEnum_Color_value = map[string]int32{ - "RED": 1, -} - -func (x RepeatedEnum_Color) Enum() *RepeatedEnum_Color { - p := new(RepeatedEnum_Color) - *p = x - return p -} - -func (x RepeatedEnum_Color) String() string { - return proto.EnumName(RepeatedEnum_Color_name, int32(x)) -} - -func (x *RepeatedEnum_Color) UnmarshalJSON(data []byte) error { - value, err := proto.UnmarshalJSONEnum(RepeatedEnum_Color_value, data, "RepeatedEnum_Color") - if err != nil { - return err - } - *x = RepeatedEnum_Color(value) - return nil -} - -func (RepeatedEnum_Color) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{23, 0} -} - -type GoEnum struct { - Foo *FOO `protobuf:"varint,1,req,name=foo,enum=test_proto.FOO" json:"foo,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GoEnum) Reset() { *m = GoEnum{} } -func (m *GoEnum) String() string { return proto.CompactTextString(m) } -func (*GoEnum) ProtoMessage() {} -func (*GoEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{0} -} - -func (m *GoEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GoEnum.Unmarshal(m, b) -} -func (m *GoEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GoEnum.Marshal(b, m, deterministic) -} -func (m *GoEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_GoEnum.Merge(m, src) -} -func (m *GoEnum) XXX_Size() int { - return xxx_messageInfo_GoEnum.Size(m) -} -func (m *GoEnum) XXX_DiscardUnknown() { - xxx_messageInfo_GoEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_GoEnum proto.InternalMessageInfo - -func (m *GoEnum) GetFoo() FOO { - if m != nil && m.Foo != nil { - return *m.Foo - } - return FOO_FOO1 -} - -type GoTestField struct { - Label *string `protobuf:"bytes,1,req,name=Label" json:"Label,omitempty"` - Type *string `protobuf:"bytes,2,req,name=Type" json:"Type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GoTestField) Reset() { *m = GoTestField{} } -func (m *GoTestField) String() string { return proto.CompactTextString(m) } -func (*GoTestField) ProtoMessage() {} -func (*GoTestField) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{1} -} - -func (m *GoTestField) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GoTestField.Unmarshal(m, b) -} -func (m *GoTestField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GoTestField.Marshal(b, m, deterministic) -} -func (m *GoTestField) XXX_Merge(src proto.Message) { - xxx_messageInfo_GoTestField.Merge(m, src) -} -func (m *GoTestField) XXX_Size() int { - return xxx_messageInfo_GoTestField.Size(m) -} -func (m *GoTestField) XXX_DiscardUnknown() { - xxx_messageInfo_GoTestField.DiscardUnknown(m) -} - -var xxx_messageInfo_GoTestField proto.InternalMessageInfo - -func (m *GoTestField) GetLabel() string { - if m != nil && m.Label != nil { - return *m.Label - } - return "" -} - -func (m *GoTestField) GetType() string { - if m != nil && m.Type != nil { - return *m.Type - } - return "" -} - -type GoTest struct { - // Some typical parameters - Kind *GoTest_KIND `protobuf:"varint,1,req,name=Kind,enum=test_proto.GoTest_KIND" json:"Kind,omitempty"` - Table *string `protobuf:"bytes,2,opt,name=Table" json:"Table,omitempty"` - Param *int32 `protobuf:"varint,3,opt,name=Param" json:"Param,omitempty"` - // Required, repeated and optional foreign fields. - RequiredField *GoTestField `protobuf:"bytes,4,req,name=RequiredField" json:"RequiredField,omitempty"` - RepeatedField []*GoTestField `protobuf:"bytes,5,rep,name=RepeatedField" json:"RepeatedField,omitempty"` - OptionalField *GoTestField `protobuf:"bytes,6,opt,name=OptionalField" json:"OptionalField,omitempty"` - // Required fields of all basic types - F_BoolRequired *bool `protobuf:"varint,10,req,name=F_Bool_required,json=FBoolRequired" json:"F_Bool_required,omitempty"` - F_Int32Required *int32 `protobuf:"varint,11,req,name=F_Int32_required,json=FInt32Required" json:"F_Int32_required,omitempty"` - F_Int64Required *int64 `protobuf:"varint,12,req,name=F_Int64_required,json=FInt64Required" json:"F_Int64_required,omitempty"` - F_Fixed32Required *uint32 `protobuf:"fixed32,13,req,name=F_Fixed32_required,json=FFixed32Required" json:"F_Fixed32_required,omitempty"` - F_Fixed64Required *uint64 `protobuf:"fixed64,14,req,name=F_Fixed64_required,json=FFixed64Required" json:"F_Fixed64_required,omitempty"` - F_Uint32Required *uint32 `protobuf:"varint,15,req,name=F_Uint32_required,json=FUint32Required" json:"F_Uint32_required,omitempty"` - F_Uint64Required *uint64 `protobuf:"varint,16,req,name=F_Uint64_required,json=FUint64Required" json:"F_Uint64_required,omitempty"` - F_FloatRequired *float32 `protobuf:"fixed32,17,req,name=F_Float_required,json=FFloatRequired" json:"F_Float_required,omitempty"` - F_DoubleRequired *float64 `protobuf:"fixed64,18,req,name=F_Double_required,json=FDoubleRequired" json:"F_Double_required,omitempty"` - F_StringRequired *string `protobuf:"bytes,19,req,name=F_String_required,json=FStringRequired" json:"F_String_required,omitempty"` - F_BytesRequired []byte `protobuf:"bytes,101,req,name=F_Bytes_required,json=FBytesRequired" json:"F_Bytes_required,omitempty"` - F_Sint32Required *int32 `protobuf:"zigzag32,102,req,name=F_Sint32_required,json=FSint32Required" json:"F_Sint32_required,omitempty"` - F_Sint64Required *int64 `protobuf:"zigzag64,103,req,name=F_Sint64_required,json=FSint64Required" json:"F_Sint64_required,omitempty"` - F_Sfixed32Required *int32 `protobuf:"fixed32,104,req,name=F_Sfixed32_required,json=FSfixed32Required" json:"F_Sfixed32_required,omitempty"` - F_Sfixed64Required *int64 `protobuf:"fixed64,105,req,name=F_Sfixed64_required,json=FSfixed64Required" json:"F_Sfixed64_required,omitempty"` - // Repeated fields of all basic types - F_BoolRepeated []bool `protobuf:"varint,20,rep,name=F_Bool_repeated,json=FBoolRepeated" json:"F_Bool_repeated,omitempty"` - F_Int32Repeated []int32 `protobuf:"varint,21,rep,name=F_Int32_repeated,json=FInt32Repeated" json:"F_Int32_repeated,omitempty"` - F_Int64Repeated []int64 `protobuf:"varint,22,rep,name=F_Int64_repeated,json=FInt64Repeated" json:"F_Int64_repeated,omitempty"` - F_Fixed32Repeated []uint32 `protobuf:"fixed32,23,rep,name=F_Fixed32_repeated,json=FFixed32Repeated" json:"F_Fixed32_repeated,omitempty"` - F_Fixed64Repeated []uint64 `protobuf:"fixed64,24,rep,name=F_Fixed64_repeated,json=FFixed64Repeated" json:"F_Fixed64_repeated,omitempty"` - F_Uint32Repeated []uint32 `protobuf:"varint,25,rep,name=F_Uint32_repeated,json=FUint32Repeated" json:"F_Uint32_repeated,omitempty"` - F_Uint64Repeated []uint64 `protobuf:"varint,26,rep,name=F_Uint64_repeated,json=FUint64Repeated" json:"F_Uint64_repeated,omitempty"` - F_FloatRepeated []float32 `protobuf:"fixed32,27,rep,name=F_Float_repeated,json=FFloatRepeated" json:"F_Float_repeated,omitempty"` - F_DoubleRepeated []float64 `protobuf:"fixed64,28,rep,name=F_Double_repeated,json=FDoubleRepeated" json:"F_Double_repeated,omitempty"` - F_StringRepeated []string `protobuf:"bytes,29,rep,name=F_String_repeated,json=FStringRepeated" json:"F_String_repeated,omitempty"` - F_BytesRepeated [][]byte `protobuf:"bytes,201,rep,name=F_Bytes_repeated,json=FBytesRepeated" json:"F_Bytes_repeated,omitempty"` - F_Sint32Repeated []int32 `protobuf:"zigzag32,202,rep,name=F_Sint32_repeated,json=FSint32Repeated" json:"F_Sint32_repeated,omitempty"` - F_Sint64Repeated []int64 `protobuf:"zigzag64,203,rep,name=F_Sint64_repeated,json=FSint64Repeated" json:"F_Sint64_repeated,omitempty"` - F_Sfixed32Repeated []int32 `protobuf:"fixed32,204,rep,name=F_Sfixed32_repeated,json=FSfixed32Repeated" json:"F_Sfixed32_repeated,omitempty"` - F_Sfixed64Repeated []int64 `protobuf:"fixed64,205,rep,name=F_Sfixed64_repeated,json=FSfixed64Repeated" json:"F_Sfixed64_repeated,omitempty"` - // Optional fields of all basic types - F_BoolOptional *bool `protobuf:"varint,30,opt,name=F_Bool_optional,json=FBoolOptional" json:"F_Bool_optional,omitempty"` - F_Int32Optional *int32 `protobuf:"varint,31,opt,name=F_Int32_optional,json=FInt32Optional" json:"F_Int32_optional,omitempty"` - F_Int64Optional *int64 `protobuf:"varint,32,opt,name=F_Int64_optional,json=FInt64Optional" json:"F_Int64_optional,omitempty"` - F_Fixed32Optional *uint32 `protobuf:"fixed32,33,opt,name=F_Fixed32_optional,json=FFixed32Optional" json:"F_Fixed32_optional,omitempty"` - F_Fixed64Optional *uint64 `protobuf:"fixed64,34,opt,name=F_Fixed64_optional,json=FFixed64Optional" json:"F_Fixed64_optional,omitempty"` - F_Uint32Optional *uint32 `protobuf:"varint,35,opt,name=F_Uint32_optional,json=FUint32Optional" json:"F_Uint32_optional,omitempty"` - F_Uint64Optional *uint64 `protobuf:"varint,36,opt,name=F_Uint64_optional,json=FUint64Optional" json:"F_Uint64_optional,omitempty"` - F_FloatOptional *float32 `protobuf:"fixed32,37,opt,name=F_Float_optional,json=FFloatOptional" json:"F_Float_optional,omitempty"` - F_DoubleOptional *float64 `protobuf:"fixed64,38,opt,name=F_Double_optional,json=FDoubleOptional" json:"F_Double_optional,omitempty"` - F_StringOptional *string `protobuf:"bytes,39,opt,name=F_String_optional,json=FStringOptional" json:"F_String_optional,omitempty"` - F_BytesOptional []byte `protobuf:"bytes,301,opt,name=F_Bytes_optional,json=FBytesOptional" json:"F_Bytes_optional,omitempty"` - F_Sint32Optional *int32 `protobuf:"zigzag32,302,opt,name=F_Sint32_optional,json=FSint32Optional" json:"F_Sint32_optional,omitempty"` - F_Sint64Optional *int64 `protobuf:"zigzag64,303,opt,name=F_Sint64_optional,json=FSint64Optional" json:"F_Sint64_optional,omitempty"` - F_Sfixed32Optional *int32 `protobuf:"fixed32,304,opt,name=F_Sfixed32_optional,json=FSfixed32Optional" json:"F_Sfixed32_optional,omitempty"` - F_Sfixed64Optional *int64 `protobuf:"fixed64,305,opt,name=F_Sfixed64_optional,json=FSfixed64Optional" json:"F_Sfixed64_optional,omitempty"` - // Default-valued fields of all basic types - F_BoolDefaulted *bool `protobuf:"varint,40,opt,name=F_Bool_defaulted,json=FBoolDefaulted,def=1" json:"F_Bool_defaulted,omitempty"` - F_Int32Defaulted *int32 `protobuf:"varint,41,opt,name=F_Int32_defaulted,json=FInt32Defaulted,def=32" json:"F_Int32_defaulted,omitempty"` - F_Int64Defaulted *int64 `protobuf:"varint,42,opt,name=F_Int64_defaulted,json=FInt64Defaulted,def=64" json:"F_Int64_defaulted,omitempty"` - F_Fixed32Defaulted *uint32 `protobuf:"fixed32,43,opt,name=F_Fixed32_defaulted,json=FFixed32Defaulted,def=320" json:"F_Fixed32_defaulted,omitempty"` - F_Fixed64Defaulted *uint64 `protobuf:"fixed64,44,opt,name=F_Fixed64_defaulted,json=FFixed64Defaulted,def=640" json:"F_Fixed64_defaulted,omitempty"` - F_Uint32Defaulted *uint32 `protobuf:"varint,45,opt,name=F_Uint32_defaulted,json=FUint32Defaulted,def=3200" json:"F_Uint32_defaulted,omitempty"` - F_Uint64Defaulted *uint64 `protobuf:"varint,46,opt,name=F_Uint64_defaulted,json=FUint64Defaulted,def=6400" json:"F_Uint64_defaulted,omitempty"` - F_FloatDefaulted *float32 `protobuf:"fixed32,47,opt,name=F_Float_defaulted,json=FFloatDefaulted,def=314159" json:"F_Float_defaulted,omitempty"` - F_DoubleDefaulted *float64 `protobuf:"fixed64,48,opt,name=F_Double_defaulted,json=FDoubleDefaulted,def=271828" json:"F_Double_defaulted,omitempty"` - F_StringDefaulted *string `protobuf:"bytes,49,opt,name=F_String_defaulted,json=FStringDefaulted,def=hello, \"world!\"\n" json:"F_String_defaulted,omitempty"` - F_BytesDefaulted []byte `protobuf:"bytes,401,opt,name=F_Bytes_defaulted,json=FBytesDefaulted,def=Bignose" json:"F_Bytes_defaulted,omitempty"` - F_Sint32Defaulted *int32 `protobuf:"zigzag32,402,opt,name=F_Sint32_defaulted,json=FSint32Defaulted,def=-32" json:"F_Sint32_defaulted,omitempty"` - F_Sint64Defaulted *int64 `protobuf:"zigzag64,403,opt,name=F_Sint64_defaulted,json=FSint64Defaulted,def=-64" json:"F_Sint64_defaulted,omitempty"` - F_Sfixed32Defaulted *int32 `protobuf:"fixed32,404,opt,name=F_Sfixed32_defaulted,json=FSfixed32Defaulted,def=-32" json:"F_Sfixed32_defaulted,omitempty"` - F_Sfixed64Defaulted *int64 `protobuf:"fixed64,405,opt,name=F_Sfixed64_defaulted,json=FSfixed64Defaulted,def=-64" json:"F_Sfixed64_defaulted,omitempty"` - // Packed repeated fields (no string or bytes). - F_BoolRepeatedPacked []bool `protobuf:"varint,50,rep,packed,name=F_Bool_repeated_packed,json=FBoolRepeatedPacked" json:"F_Bool_repeated_packed,omitempty"` - F_Int32RepeatedPacked []int32 `protobuf:"varint,51,rep,packed,name=F_Int32_repeated_packed,json=FInt32RepeatedPacked" json:"F_Int32_repeated_packed,omitempty"` - F_Int64RepeatedPacked []int64 `protobuf:"varint,52,rep,packed,name=F_Int64_repeated_packed,json=FInt64RepeatedPacked" json:"F_Int64_repeated_packed,omitempty"` - F_Fixed32RepeatedPacked []uint32 `protobuf:"fixed32,53,rep,packed,name=F_Fixed32_repeated_packed,json=FFixed32RepeatedPacked" json:"F_Fixed32_repeated_packed,omitempty"` - F_Fixed64RepeatedPacked []uint64 `protobuf:"fixed64,54,rep,packed,name=F_Fixed64_repeated_packed,json=FFixed64RepeatedPacked" json:"F_Fixed64_repeated_packed,omitempty"` - F_Uint32RepeatedPacked []uint32 `protobuf:"varint,55,rep,packed,name=F_Uint32_repeated_packed,json=FUint32RepeatedPacked" json:"F_Uint32_repeated_packed,omitempty"` - F_Uint64RepeatedPacked []uint64 `protobuf:"varint,56,rep,packed,name=F_Uint64_repeated_packed,json=FUint64RepeatedPacked" json:"F_Uint64_repeated_packed,omitempty"` - F_FloatRepeatedPacked []float32 `protobuf:"fixed32,57,rep,packed,name=F_Float_repeated_packed,json=FFloatRepeatedPacked" json:"F_Float_repeated_packed,omitempty"` - F_DoubleRepeatedPacked []float64 `protobuf:"fixed64,58,rep,packed,name=F_Double_repeated_packed,json=FDoubleRepeatedPacked" json:"F_Double_repeated_packed,omitempty"` - F_Sint32RepeatedPacked []int32 `protobuf:"zigzag32,502,rep,packed,name=F_Sint32_repeated_packed,json=FSint32RepeatedPacked" json:"F_Sint32_repeated_packed,omitempty"` - F_Sint64RepeatedPacked []int64 `protobuf:"zigzag64,503,rep,packed,name=F_Sint64_repeated_packed,json=FSint64RepeatedPacked" json:"F_Sint64_repeated_packed,omitempty"` - F_Sfixed32RepeatedPacked []int32 `protobuf:"fixed32,504,rep,packed,name=F_Sfixed32_repeated_packed,json=FSfixed32RepeatedPacked" json:"F_Sfixed32_repeated_packed,omitempty"` - F_Sfixed64RepeatedPacked []int64 `protobuf:"fixed64,505,rep,packed,name=F_Sfixed64_repeated_packed,json=FSfixed64RepeatedPacked" json:"F_Sfixed64_repeated_packed,omitempty"` - Requiredgroup *GoTest_RequiredGroup `protobuf:"group,70,req,name=RequiredGroup,json=requiredgroup" json:"requiredgroup,omitempty"` - Repeatedgroup []*GoTest_RepeatedGroup `protobuf:"group,80,rep,name=RepeatedGroup,json=repeatedgroup" json:"repeatedgroup,omitempty"` - Optionalgroup *GoTest_OptionalGroup `protobuf:"group,90,opt,name=OptionalGroup,json=optionalgroup" json:"optionalgroup,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GoTest) Reset() { *m = GoTest{} } -func (m *GoTest) String() string { return proto.CompactTextString(m) } -func (*GoTest) ProtoMessage() {} -func (*GoTest) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{2} -} - -func (m *GoTest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GoTest.Unmarshal(m, b) -} -func (m *GoTest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GoTest.Marshal(b, m, deterministic) -} -func (m *GoTest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GoTest.Merge(m, src) -} -func (m *GoTest) XXX_Size() int { - return xxx_messageInfo_GoTest.Size(m) -} -func (m *GoTest) XXX_DiscardUnknown() { - xxx_messageInfo_GoTest.DiscardUnknown(m) -} - -var xxx_messageInfo_GoTest proto.InternalMessageInfo - -const Default_GoTest_F_BoolDefaulted bool = true -const Default_GoTest_F_Int32Defaulted int32 = 32 -const Default_GoTest_F_Int64Defaulted int64 = 64 -const Default_GoTest_F_Fixed32Defaulted uint32 = 320 -const Default_GoTest_F_Fixed64Defaulted uint64 = 640 -const Default_GoTest_F_Uint32Defaulted uint32 = 3200 -const Default_GoTest_F_Uint64Defaulted uint64 = 6400 -const Default_GoTest_F_FloatDefaulted float32 = 314159 -const Default_GoTest_F_DoubleDefaulted float64 = 271828 -const Default_GoTest_F_StringDefaulted string = "hello, \"world!\"\n" - -var Default_GoTest_F_BytesDefaulted []byte = []byte("Bignose") - -const Default_GoTest_F_Sint32Defaulted int32 = -32 -const Default_GoTest_F_Sint64Defaulted int64 = -64 -const Default_GoTest_F_Sfixed32Defaulted int32 = -32 -const Default_GoTest_F_Sfixed64Defaulted int64 = -64 - -func (m *GoTest) GetKind() GoTest_KIND { - if m != nil && m.Kind != nil { - return *m.Kind - } - return GoTest_VOID -} - -func (m *GoTest) GetTable() string { - if m != nil && m.Table != nil { - return *m.Table - } - return "" -} - -func (m *GoTest) GetParam() int32 { - if m != nil && m.Param != nil { - return *m.Param - } - return 0 -} - -func (m *GoTest) GetRequiredField() *GoTestField { - if m != nil { - return m.RequiredField - } - return nil -} - -func (m *GoTest) GetRepeatedField() []*GoTestField { - if m != nil { - return m.RepeatedField - } - return nil -} - -func (m *GoTest) GetOptionalField() *GoTestField { - if m != nil { - return m.OptionalField - } - return nil -} - -func (m *GoTest) GetF_BoolRequired() bool { - if m != nil && m.F_BoolRequired != nil { - return *m.F_BoolRequired - } - return false -} - -func (m *GoTest) GetF_Int32Required() int32 { - if m != nil && m.F_Int32Required != nil { - return *m.F_Int32Required - } - return 0 -} - -func (m *GoTest) GetF_Int64Required() int64 { - if m != nil && m.F_Int64Required != nil { - return *m.F_Int64Required - } - return 0 -} - -func (m *GoTest) GetF_Fixed32Required() uint32 { - if m != nil && m.F_Fixed32Required != nil { - return *m.F_Fixed32Required - } - return 0 -} - -func (m *GoTest) GetF_Fixed64Required() uint64 { - if m != nil && m.F_Fixed64Required != nil { - return *m.F_Fixed64Required - } - return 0 -} - -func (m *GoTest) GetF_Uint32Required() uint32 { - if m != nil && m.F_Uint32Required != nil { - return *m.F_Uint32Required - } - return 0 -} - -func (m *GoTest) GetF_Uint64Required() uint64 { - if m != nil && m.F_Uint64Required != nil { - return *m.F_Uint64Required - } - return 0 -} - -func (m *GoTest) GetF_FloatRequired() float32 { - if m != nil && m.F_FloatRequired != nil { - return *m.F_FloatRequired - } - return 0 -} - -func (m *GoTest) GetF_DoubleRequired() float64 { - if m != nil && m.F_DoubleRequired != nil { - return *m.F_DoubleRequired - } - return 0 -} - -func (m *GoTest) GetF_StringRequired() string { - if m != nil && m.F_StringRequired != nil { - return *m.F_StringRequired - } - return "" -} - -func (m *GoTest) GetF_BytesRequired() []byte { - if m != nil { - return m.F_BytesRequired - } - return nil -} - -func (m *GoTest) GetF_Sint32Required() int32 { - if m != nil && m.F_Sint32Required != nil { - return *m.F_Sint32Required - } - return 0 -} - -func (m *GoTest) GetF_Sint64Required() int64 { - if m != nil && m.F_Sint64Required != nil { - return *m.F_Sint64Required - } - return 0 -} - -func (m *GoTest) GetF_Sfixed32Required() int32 { - if m != nil && m.F_Sfixed32Required != nil { - return *m.F_Sfixed32Required - } - return 0 -} - -func (m *GoTest) GetF_Sfixed64Required() int64 { - if m != nil && m.F_Sfixed64Required != nil { - return *m.F_Sfixed64Required - } - return 0 -} - -func (m *GoTest) GetF_BoolRepeated() []bool { - if m != nil { - return m.F_BoolRepeated - } - return nil -} - -func (m *GoTest) GetF_Int32Repeated() []int32 { - if m != nil { - return m.F_Int32Repeated - } - return nil -} - -func (m *GoTest) GetF_Int64Repeated() []int64 { - if m != nil { - return m.F_Int64Repeated - } - return nil -} - -func (m *GoTest) GetF_Fixed32Repeated() []uint32 { - if m != nil { - return m.F_Fixed32Repeated - } - return nil -} - -func (m *GoTest) GetF_Fixed64Repeated() []uint64 { - if m != nil { - return m.F_Fixed64Repeated - } - return nil -} - -func (m *GoTest) GetF_Uint32Repeated() []uint32 { - if m != nil { - return m.F_Uint32Repeated - } - return nil -} - -func (m *GoTest) GetF_Uint64Repeated() []uint64 { - if m != nil { - return m.F_Uint64Repeated - } - return nil -} - -func (m *GoTest) GetF_FloatRepeated() []float32 { - if m != nil { - return m.F_FloatRepeated - } - return nil -} - -func (m *GoTest) GetF_DoubleRepeated() []float64 { - if m != nil { - return m.F_DoubleRepeated - } - return nil -} - -func (m *GoTest) GetF_StringRepeated() []string { - if m != nil { - return m.F_StringRepeated - } - return nil -} - -func (m *GoTest) GetF_BytesRepeated() [][]byte { - if m != nil { - return m.F_BytesRepeated - } - return nil -} - -func (m *GoTest) GetF_Sint32Repeated() []int32 { - if m != nil { - return m.F_Sint32Repeated - } - return nil -} - -func (m *GoTest) GetF_Sint64Repeated() []int64 { - if m != nil { - return m.F_Sint64Repeated - } - return nil -} - -func (m *GoTest) GetF_Sfixed32Repeated() []int32 { - if m != nil { - return m.F_Sfixed32Repeated - } - return nil -} - -func (m *GoTest) GetF_Sfixed64Repeated() []int64 { - if m != nil { - return m.F_Sfixed64Repeated - } - return nil -} - -func (m *GoTest) GetF_BoolOptional() bool { - if m != nil && m.F_BoolOptional != nil { - return *m.F_BoolOptional - } - return false -} - -func (m *GoTest) GetF_Int32Optional() int32 { - if m != nil && m.F_Int32Optional != nil { - return *m.F_Int32Optional - } - return 0 -} - -func (m *GoTest) GetF_Int64Optional() int64 { - if m != nil && m.F_Int64Optional != nil { - return *m.F_Int64Optional - } - return 0 -} - -func (m *GoTest) GetF_Fixed32Optional() uint32 { - if m != nil && m.F_Fixed32Optional != nil { - return *m.F_Fixed32Optional - } - return 0 -} - -func (m *GoTest) GetF_Fixed64Optional() uint64 { - if m != nil && m.F_Fixed64Optional != nil { - return *m.F_Fixed64Optional - } - return 0 -} - -func (m *GoTest) GetF_Uint32Optional() uint32 { - if m != nil && m.F_Uint32Optional != nil { - return *m.F_Uint32Optional - } - return 0 -} - -func (m *GoTest) GetF_Uint64Optional() uint64 { - if m != nil && m.F_Uint64Optional != nil { - return *m.F_Uint64Optional - } - return 0 -} - -func (m *GoTest) GetF_FloatOptional() float32 { - if m != nil && m.F_FloatOptional != nil { - return *m.F_FloatOptional - } - return 0 -} - -func (m *GoTest) GetF_DoubleOptional() float64 { - if m != nil && m.F_DoubleOptional != nil { - return *m.F_DoubleOptional - } - return 0 -} - -func (m *GoTest) GetF_StringOptional() string { - if m != nil && m.F_StringOptional != nil { - return *m.F_StringOptional - } - return "" -} - -func (m *GoTest) GetF_BytesOptional() []byte { - if m != nil { - return m.F_BytesOptional - } - return nil -} - -func (m *GoTest) GetF_Sint32Optional() int32 { - if m != nil && m.F_Sint32Optional != nil { - return *m.F_Sint32Optional - } - return 0 -} - -func (m *GoTest) GetF_Sint64Optional() int64 { - if m != nil && m.F_Sint64Optional != nil { - return *m.F_Sint64Optional - } - return 0 -} - -func (m *GoTest) GetF_Sfixed32Optional() int32 { - if m != nil && m.F_Sfixed32Optional != nil { - return *m.F_Sfixed32Optional - } - return 0 -} - -func (m *GoTest) GetF_Sfixed64Optional() int64 { - if m != nil && m.F_Sfixed64Optional != nil { - return *m.F_Sfixed64Optional - } - return 0 -} - -func (m *GoTest) GetF_BoolDefaulted() bool { - if m != nil && m.F_BoolDefaulted != nil { - return *m.F_BoolDefaulted - } - return Default_GoTest_F_BoolDefaulted -} - -func (m *GoTest) GetF_Int32Defaulted() int32 { - if m != nil && m.F_Int32Defaulted != nil { - return *m.F_Int32Defaulted - } - return Default_GoTest_F_Int32Defaulted -} - -func (m *GoTest) GetF_Int64Defaulted() int64 { - if m != nil && m.F_Int64Defaulted != nil { - return *m.F_Int64Defaulted - } - return Default_GoTest_F_Int64Defaulted -} - -func (m *GoTest) GetF_Fixed32Defaulted() uint32 { - if m != nil && m.F_Fixed32Defaulted != nil { - return *m.F_Fixed32Defaulted - } - return Default_GoTest_F_Fixed32Defaulted -} - -func (m *GoTest) GetF_Fixed64Defaulted() uint64 { - if m != nil && m.F_Fixed64Defaulted != nil { - return *m.F_Fixed64Defaulted - } - return Default_GoTest_F_Fixed64Defaulted -} - -func (m *GoTest) GetF_Uint32Defaulted() uint32 { - if m != nil && m.F_Uint32Defaulted != nil { - return *m.F_Uint32Defaulted - } - return Default_GoTest_F_Uint32Defaulted -} - -func (m *GoTest) GetF_Uint64Defaulted() uint64 { - if m != nil && m.F_Uint64Defaulted != nil { - return *m.F_Uint64Defaulted - } - return Default_GoTest_F_Uint64Defaulted -} - -func (m *GoTest) GetF_FloatDefaulted() float32 { - if m != nil && m.F_FloatDefaulted != nil { - return *m.F_FloatDefaulted - } - return Default_GoTest_F_FloatDefaulted -} - -func (m *GoTest) GetF_DoubleDefaulted() float64 { - if m != nil && m.F_DoubleDefaulted != nil { - return *m.F_DoubleDefaulted - } - return Default_GoTest_F_DoubleDefaulted -} - -func (m *GoTest) GetF_StringDefaulted() string { - if m != nil && m.F_StringDefaulted != nil { - return *m.F_StringDefaulted - } - return Default_GoTest_F_StringDefaulted -} - -func (m *GoTest) GetF_BytesDefaulted() []byte { - if m != nil && m.F_BytesDefaulted != nil { - return m.F_BytesDefaulted - } - return append([]byte(nil), Default_GoTest_F_BytesDefaulted...) -} - -func (m *GoTest) GetF_Sint32Defaulted() int32 { - if m != nil && m.F_Sint32Defaulted != nil { - return *m.F_Sint32Defaulted - } - return Default_GoTest_F_Sint32Defaulted -} - -func (m *GoTest) GetF_Sint64Defaulted() int64 { - if m != nil && m.F_Sint64Defaulted != nil { - return *m.F_Sint64Defaulted - } - return Default_GoTest_F_Sint64Defaulted -} - -func (m *GoTest) GetF_Sfixed32Defaulted() int32 { - if m != nil && m.F_Sfixed32Defaulted != nil { - return *m.F_Sfixed32Defaulted - } - return Default_GoTest_F_Sfixed32Defaulted -} - -func (m *GoTest) GetF_Sfixed64Defaulted() int64 { - if m != nil && m.F_Sfixed64Defaulted != nil { - return *m.F_Sfixed64Defaulted - } - return Default_GoTest_F_Sfixed64Defaulted -} - -func (m *GoTest) GetF_BoolRepeatedPacked() []bool { - if m != nil { - return m.F_BoolRepeatedPacked - } - return nil -} - -func (m *GoTest) GetF_Int32RepeatedPacked() []int32 { - if m != nil { - return m.F_Int32RepeatedPacked - } - return nil -} - -func (m *GoTest) GetF_Int64RepeatedPacked() []int64 { - if m != nil { - return m.F_Int64RepeatedPacked - } - return nil -} - -func (m *GoTest) GetF_Fixed32RepeatedPacked() []uint32 { - if m != nil { - return m.F_Fixed32RepeatedPacked - } - return nil -} - -func (m *GoTest) GetF_Fixed64RepeatedPacked() []uint64 { - if m != nil { - return m.F_Fixed64RepeatedPacked - } - return nil -} - -func (m *GoTest) GetF_Uint32RepeatedPacked() []uint32 { - if m != nil { - return m.F_Uint32RepeatedPacked - } - return nil -} - -func (m *GoTest) GetF_Uint64RepeatedPacked() []uint64 { - if m != nil { - return m.F_Uint64RepeatedPacked - } - return nil -} - -func (m *GoTest) GetF_FloatRepeatedPacked() []float32 { - if m != nil { - return m.F_FloatRepeatedPacked - } - return nil -} - -func (m *GoTest) GetF_DoubleRepeatedPacked() []float64 { - if m != nil { - return m.F_DoubleRepeatedPacked - } - return nil -} - -func (m *GoTest) GetF_Sint32RepeatedPacked() []int32 { - if m != nil { - return m.F_Sint32RepeatedPacked - } - return nil -} - -func (m *GoTest) GetF_Sint64RepeatedPacked() []int64 { - if m != nil { - return m.F_Sint64RepeatedPacked - } - return nil -} - -func (m *GoTest) GetF_Sfixed32RepeatedPacked() []int32 { - if m != nil { - return m.F_Sfixed32RepeatedPacked - } - return nil -} - -func (m *GoTest) GetF_Sfixed64RepeatedPacked() []int64 { - if m != nil { - return m.F_Sfixed64RepeatedPacked - } - return nil -} - -func (m *GoTest) GetRequiredgroup() *GoTest_RequiredGroup { - if m != nil { - return m.Requiredgroup - } - return nil -} - -func (m *GoTest) GetRepeatedgroup() []*GoTest_RepeatedGroup { - if m != nil { - return m.Repeatedgroup - } - return nil -} - -func (m *GoTest) GetOptionalgroup() *GoTest_OptionalGroup { - if m != nil { - return m.Optionalgroup - } - return nil -} - -// Required, repeated, and optional groups. -type GoTest_RequiredGroup struct { - RequiredField *string `protobuf:"bytes,71,req,name=RequiredField" json:"RequiredField,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GoTest_RequiredGroup) Reset() { *m = GoTest_RequiredGroup{} } -func (m *GoTest_RequiredGroup) String() string { return proto.CompactTextString(m) } -func (*GoTest_RequiredGroup) ProtoMessage() {} -func (*GoTest_RequiredGroup) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{2, 0} -} - -func (m *GoTest_RequiredGroup) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GoTest_RequiredGroup.Unmarshal(m, b) -} -func (m *GoTest_RequiredGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GoTest_RequiredGroup.Marshal(b, m, deterministic) -} -func (m *GoTest_RequiredGroup) XXX_Merge(src proto.Message) { - xxx_messageInfo_GoTest_RequiredGroup.Merge(m, src) -} -func (m *GoTest_RequiredGroup) XXX_Size() int { - return xxx_messageInfo_GoTest_RequiredGroup.Size(m) -} -func (m *GoTest_RequiredGroup) XXX_DiscardUnknown() { - xxx_messageInfo_GoTest_RequiredGroup.DiscardUnknown(m) -} - -var xxx_messageInfo_GoTest_RequiredGroup proto.InternalMessageInfo - -func (m *GoTest_RequiredGroup) GetRequiredField() string { - if m != nil && m.RequiredField != nil { - return *m.RequiredField - } - return "" -} - -type GoTest_RepeatedGroup struct { - RequiredField *string `protobuf:"bytes,81,req,name=RequiredField" json:"RequiredField,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GoTest_RepeatedGroup) Reset() { *m = GoTest_RepeatedGroup{} } -func (m *GoTest_RepeatedGroup) String() string { return proto.CompactTextString(m) } -func (*GoTest_RepeatedGroup) ProtoMessage() {} -func (*GoTest_RepeatedGroup) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{2, 1} -} - -func (m *GoTest_RepeatedGroup) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GoTest_RepeatedGroup.Unmarshal(m, b) -} -func (m *GoTest_RepeatedGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GoTest_RepeatedGroup.Marshal(b, m, deterministic) -} -func (m *GoTest_RepeatedGroup) XXX_Merge(src proto.Message) { - xxx_messageInfo_GoTest_RepeatedGroup.Merge(m, src) -} -func (m *GoTest_RepeatedGroup) XXX_Size() int { - return xxx_messageInfo_GoTest_RepeatedGroup.Size(m) -} -func (m *GoTest_RepeatedGroup) XXX_DiscardUnknown() { - xxx_messageInfo_GoTest_RepeatedGroup.DiscardUnknown(m) -} - -var xxx_messageInfo_GoTest_RepeatedGroup proto.InternalMessageInfo - -func (m *GoTest_RepeatedGroup) GetRequiredField() string { - if m != nil && m.RequiredField != nil { - return *m.RequiredField - } - return "" -} - -type GoTest_OptionalGroup struct { - RequiredField *string `protobuf:"bytes,91,req,name=RequiredField" json:"RequiredField,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GoTest_OptionalGroup) Reset() { *m = GoTest_OptionalGroup{} } -func (m *GoTest_OptionalGroup) String() string { return proto.CompactTextString(m) } -func (*GoTest_OptionalGroup) ProtoMessage() {} -func (*GoTest_OptionalGroup) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{2, 2} -} - -func (m *GoTest_OptionalGroup) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GoTest_OptionalGroup.Unmarshal(m, b) -} -func (m *GoTest_OptionalGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GoTest_OptionalGroup.Marshal(b, m, deterministic) -} -func (m *GoTest_OptionalGroup) XXX_Merge(src proto.Message) { - xxx_messageInfo_GoTest_OptionalGroup.Merge(m, src) -} -func (m *GoTest_OptionalGroup) XXX_Size() int { - return xxx_messageInfo_GoTest_OptionalGroup.Size(m) -} -func (m *GoTest_OptionalGroup) XXX_DiscardUnknown() { - xxx_messageInfo_GoTest_OptionalGroup.DiscardUnknown(m) -} - -var xxx_messageInfo_GoTest_OptionalGroup proto.InternalMessageInfo - -func (m *GoTest_OptionalGroup) GetRequiredField() string { - if m != nil && m.RequiredField != nil { - return *m.RequiredField - } - return "" -} - -// For testing a group containing a required field. -type GoTestRequiredGroupField struct { - Group *GoTestRequiredGroupField_Group `protobuf:"group,1,req,name=Group,json=group" json:"group,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GoTestRequiredGroupField) Reset() { *m = GoTestRequiredGroupField{} } -func (m *GoTestRequiredGroupField) String() string { return proto.CompactTextString(m) } -func (*GoTestRequiredGroupField) ProtoMessage() {} -func (*GoTestRequiredGroupField) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{3} -} - -func (m *GoTestRequiredGroupField) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GoTestRequiredGroupField.Unmarshal(m, b) -} -func (m *GoTestRequiredGroupField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GoTestRequiredGroupField.Marshal(b, m, deterministic) -} -func (m *GoTestRequiredGroupField) XXX_Merge(src proto.Message) { - xxx_messageInfo_GoTestRequiredGroupField.Merge(m, src) -} -func (m *GoTestRequiredGroupField) XXX_Size() int { - return xxx_messageInfo_GoTestRequiredGroupField.Size(m) -} -func (m *GoTestRequiredGroupField) XXX_DiscardUnknown() { - xxx_messageInfo_GoTestRequiredGroupField.DiscardUnknown(m) -} - -var xxx_messageInfo_GoTestRequiredGroupField proto.InternalMessageInfo - -func (m *GoTestRequiredGroupField) GetGroup() *GoTestRequiredGroupField_Group { - if m != nil { - return m.Group - } - return nil -} - -type GoTestRequiredGroupField_Group struct { - Field *int32 `protobuf:"varint,2,req,name=Field" json:"Field,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GoTestRequiredGroupField_Group) Reset() { *m = GoTestRequiredGroupField_Group{} } -func (m *GoTestRequiredGroupField_Group) String() string { return proto.CompactTextString(m) } -func (*GoTestRequiredGroupField_Group) ProtoMessage() {} -func (*GoTestRequiredGroupField_Group) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{3, 0} -} - -func (m *GoTestRequiredGroupField_Group) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GoTestRequiredGroupField_Group.Unmarshal(m, b) -} -func (m *GoTestRequiredGroupField_Group) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GoTestRequiredGroupField_Group.Marshal(b, m, deterministic) -} -func (m *GoTestRequiredGroupField_Group) XXX_Merge(src proto.Message) { - xxx_messageInfo_GoTestRequiredGroupField_Group.Merge(m, src) -} -func (m *GoTestRequiredGroupField_Group) XXX_Size() int { - return xxx_messageInfo_GoTestRequiredGroupField_Group.Size(m) -} -func (m *GoTestRequiredGroupField_Group) XXX_DiscardUnknown() { - xxx_messageInfo_GoTestRequiredGroupField_Group.DiscardUnknown(m) -} - -var xxx_messageInfo_GoTestRequiredGroupField_Group proto.InternalMessageInfo - -func (m *GoTestRequiredGroupField_Group) GetField() int32 { - if m != nil && m.Field != nil { - return *m.Field - } - return 0 -} - -// For testing skipping of unrecognized fields. -// Numbers are all big, larger than tag numbers in GoTestField, -// the message used in the corresponding test. -type GoSkipTest struct { - SkipInt32 *int32 `protobuf:"varint,11,req,name=skip_int32,json=skipInt32" json:"skip_int32,omitempty"` - SkipFixed32 *uint32 `protobuf:"fixed32,12,req,name=skip_fixed32,json=skipFixed32" json:"skip_fixed32,omitempty"` - SkipFixed64 *uint64 `protobuf:"fixed64,13,req,name=skip_fixed64,json=skipFixed64" json:"skip_fixed64,omitempty"` - SkipString *string `protobuf:"bytes,14,req,name=skip_string,json=skipString" json:"skip_string,omitempty"` - Skipgroup *GoSkipTest_SkipGroup `protobuf:"group,15,req,name=SkipGroup,json=skipgroup" json:"skipgroup,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GoSkipTest) Reset() { *m = GoSkipTest{} } -func (m *GoSkipTest) String() string { return proto.CompactTextString(m) } -func (*GoSkipTest) ProtoMessage() {} -func (*GoSkipTest) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{4} -} - -func (m *GoSkipTest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GoSkipTest.Unmarshal(m, b) -} -func (m *GoSkipTest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GoSkipTest.Marshal(b, m, deterministic) -} -func (m *GoSkipTest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GoSkipTest.Merge(m, src) -} -func (m *GoSkipTest) XXX_Size() int { - return xxx_messageInfo_GoSkipTest.Size(m) -} -func (m *GoSkipTest) XXX_DiscardUnknown() { - xxx_messageInfo_GoSkipTest.DiscardUnknown(m) -} - -var xxx_messageInfo_GoSkipTest proto.InternalMessageInfo - -func (m *GoSkipTest) GetSkipInt32() int32 { - if m != nil && m.SkipInt32 != nil { - return *m.SkipInt32 - } - return 0 -} - -func (m *GoSkipTest) GetSkipFixed32() uint32 { - if m != nil && m.SkipFixed32 != nil { - return *m.SkipFixed32 - } - return 0 -} - -func (m *GoSkipTest) GetSkipFixed64() uint64 { - if m != nil && m.SkipFixed64 != nil { - return *m.SkipFixed64 - } - return 0 -} - -func (m *GoSkipTest) GetSkipString() string { - if m != nil && m.SkipString != nil { - return *m.SkipString - } - return "" -} - -func (m *GoSkipTest) GetSkipgroup() *GoSkipTest_SkipGroup { - if m != nil { - return m.Skipgroup - } - return nil -} - -type GoSkipTest_SkipGroup struct { - GroupInt32 *int32 `protobuf:"varint,16,req,name=group_int32,json=groupInt32" json:"group_int32,omitempty"` - GroupString *string `protobuf:"bytes,17,req,name=group_string,json=groupString" json:"group_string,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GoSkipTest_SkipGroup) Reset() { *m = GoSkipTest_SkipGroup{} } -func (m *GoSkipTest_SkipGroup) String() string { return proto.CompactTextString(m) } -func (*GoSkipTest_SkipGroup) ProtoMessage() {} -func (*GoSkipTest_SkipGroup) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{4, 0} -} - -func (m *GoSkipTest_SkipGroup) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GoSkipTest_SkipGroup.Unmarshal(m, b) -} -func (m *GoSkipTest_SkipGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GoSkipTest_SkipGroup.Marshal(b, m, deterministic) -} -func (m *GoSkipTest_SkipGroup) XXX_Merge(src proto.Message) { - xxx_messageInfo_GoSkipTest_SkipGroup.Merge(m, src) -} -func (m *GoSkipTest_SkipGroup) XXX_Size() int { - return xxx_messageInfo_GoSkipTest_SkipGroup.Size(m) -} -func (m *GoSkipTest_SkipGroup) XXX_DiscardUnknown() { - xxx_messageInfo_GoSkipTest_SkipGroup.DiscardUnknown(m) -} - -var xxx_messageInfo_GoSkipTest_SkipGroup proto.InternalMessageInfo - -func (m *GoSkipTest_SkipGroup) GetGroupInt32() int32 { - if m != nil && m.GroupInt32 != nil { - return *m.GroupInt32 - } - return 0 -} - -func (m *GoSkipTest_SkipGroup) GetGroupString() string { - if m != nil && m.GroupString != nil { - return *m.GroupString - } - return "" -} - -// For testing packed/non-packed decoder switching. -// A serialized instance of one should be deserializable as the other. -type NonPackedTest struct { - A []int32 `protobuf:"varint,1,rep,name=a" json:"a,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *NonPackedTest) Reset() { *m = NonPackedTest{} } -func (m *NonPackedTest) String() string { return proto.CompactTextString(m) } -func (*NonPackedTest) ProtoMessage() {} -func (*NonPackedTest) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{5} -} - -func (m *NonPackedTest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NonPackedTest.Unmarshal(m, b) -} -func (m *NonPackedTest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NonPackedTest.Marshal(b, m, deterministic) -} -func (m *NonPackedTest) XXX_Merge(src proto.Message) { - xxx_messageInfo_NonPackedTest.Merge(m, src) -} -func (m *NonPackedTest) XXX_Size() int { - return xxx_messageInfo_NonPackedTest.Size(m) -} -func (m *NonPackedTest) XXX_DiscardUnknown() { - xxx_messageInfo_NonPackedTest.DiscardUnknown(m) -} - -var xxx_messageInfo_NonPackedTest proto.InternalMessageInfo - -func (m *NonPackedTest) GetA() []int32 { - if m != nil { - return m.A - } - return nil -} - -type PackedTest struct { - B []int32 `protobuf:"varint,1,rep,packed,name=b" json:"b,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PackedTest) Reset() { *m = PackedTest{} } -func (m *PackedTest) String() string { return proto.CompactTextString(m) } -func (*PackedTest) ProtoMessage() {} -func (*PackedTest) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{6} -} - -func (m *PackedTest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PackedTest.Unmarshal(m, b) -} -func (m *PackedTest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PackedTest.Marshal(b, m, deterministic) -} -func (m *PackedTest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PackedTest.Merge(m, src) -} -func (m *PackedTest) XXX_Size() int { - return xxx_messageInfo_PackedTest.Size(m) -} -func (m *PackedTest) XXX_DiscardUnknown() { - xxx_messageInfo_PackedTest.DiscardUnknown(m) -} - -var xxx_messageInfo_PackedTest proto.InternalMessageInfo - -func (m *PackedTest) GetB() []int32 { - if m != nil { - return m.B - } - return nil -} - -type MaxTag struct { - // Maximum possible tag number. - LastField *string `protobuf:"bytes,536870911,opt,name=last_field,json=lastField" json:"last_field,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MaxTag) Reset() { *m = MaxTag{} } -func (m *MaxTag) String() string { return proto.CompactTextString(m) } -func (*MaxTag) ProtoMessage() {} -func (*MaxTag) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{7} -} - -func (m *MaxTag) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MaxTag.Unmarshal(m, b) -} -func (m *MaxTag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MaxTag.Marshal(b, m, deterministic) -} -func (m *MaxTag) XXX_Merge(src proto.Message) { - xxx_messageInfo_MaxTag.Merge(m, src) -} -func (m *MaxTag) XXX_Size() int { - return xxx_messageInfo_MaxTag.Size(m) -} -func (m *MaxTag) XXX_DiscardUnknown() { - xxx_messageInfo_MaxTag.DiscardUnknown(m) -} - -var xxx_messageInfo_MaxTag proto.InternalMessageInfo - -func (m *MaxTag) GetLastField() string { - if m != nil && m.LastField != nil { - return *m.LastField - } - return "" -} - -type OldMessage struct { - Nested *OldMessage_Nested `protobuf:"bytes,1,opt,name=nested" json:"nested,omitempty"` - Num *int32 `protobuf:"varint,2,opt,name=num" json:"num,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OldMessage) Reset() { *m = OldMessage{} } -func (m *OldMessage) String() string { return proto.CompactTextString(m) } -func (*OldMessage) ProtoMessage() {} -func (*OldMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{8} -} - -func (m *OldMessage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OldMessage.Unmarshal(m, b) -} -func (m *OldMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OldMessage.Marshal(b, m, deterministic) -} -func (m *OldMessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_OldMessage.Merge(m, src) -} -func (m *OldMessage) XXX_Size() int { - return xxx_messageInfo_OldMessage.Size(m) -} -func (m *OldMessage) XXX_DiscardUnknown() { - xxx_messageInfo_OldMessage.DiscardUnknown(m) -} - -var xxx_messageInfo_OldMessage proto.InternalMessageInfo - -func (m *OldMessage) GetNested() *OldMessage_Nested { - if m != nil { - return m.Nested - } - return nil -} - -func (m *OldMessage) GetNum() int32 { - if m != nil && m.Num != nil { - return *m.Num - } - return 0 -} - -type OldMessage_Nested struct { - Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OldMessage_Nested) Reset() { *m = OldMessage_Nested{} } -func (m *OldMessage_Nested) String() string { return proto.CompactTextString(m) } -func (*OldMessage_Nested) ProtoMessage() {} -func (*OldMessage_Nested) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{8, 0} -} - -func (m *OldMessage_Nested) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OldMessage_Nested.Unmarshal(m, b) -} -func (m *OldMessage_Nested) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OldMessage_Nested.Marshal(b, m, deterministic) -} -func (m *OldMessage_Nested) XXX_Merge(src proto.Message) { - xxx_messageInfo_OldMessage_Nested.Merge(m, src) -} -func (m *OldMessage_Nested) XXX_Size() int { - return xxx_messageInfo_OldMessage_Nested.Size(m) -} -func (m *OldMessage_Nested) XXX_DiscardUnknown() { - xxx_messageInfo_OldMessage_Nested.DiscardUnknown(m) -} - -var xxx_messageInfo_OldMessage_Nested proto.InternalMessageInfo - -func (m *OldMessage_Nested) GetName() string { - if m != nil && m.Name != nil { - return *m.Name - } - return "" -} - -// NewMessage is wire compatible with OldMessage; -// imagine it as a future version. -type NewMessage struct { - Nested *NewMessage_Nested `protobuf:"bytes,1,opt,name=nested" json:"nested,omitempty"` - // This is an int32 in OldMessage. - Num *int64 `protobuf:"varint,2,opt,name=num" json:"num,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *NewMessage) Reset() { *m = NewMessage{} } -func (m *NewMessage) String() string { return proto.CompactTextString(m) } -func (*NewMessage) ProtoMessage() {} -func (*NewMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{9} -} - -func (m *NewMessage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NewMessage.Unmarshal(m, b) -} -func (m *NewMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NewMessage.Marshal(b, m, deterministic) -} -func (m *NewMessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_NewMessage.Merge(m, src) -} -func (m *NewMessage) XXX_Size() int { - return xxx_messageInfo_NewMessage.Size(m) -} -func (m *NewMessage) XXX_DiscardUnknown() { - xxx_messageInfo_NewMessage.DiscardUnknown(m) -} - -var xxx_messageInfo_NewMessage proto.InternalMessageInfo - -func (m *NewMessage) GetNested() *NewMessage_Nested { - if m != nil { - return m.Nested - } - return nil -} - -func (m *NewMessage) GetNum() int64 { - if m != nil && m.Num != nil { - return *m.Num - } - return 0 -} - -type NewMessage_Nested struct { - Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - FoodGroup *string `protobuf:"bytes,2,opt,name=food_group,json=foodGroup" json:"food_group,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *NewMessage_Nested) Reset() { *m = NewMessage_Nested{} } -func (m *NewMessage_Nested) String() string { return proto.CompactTextString(m) } -func (*NewMessage_Nested) ProtoMessage() {} -func (*NewMessage_Nested) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{9, 0} -} - -func (m *NewMessage_Nested) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NewMessage_Nested.Unmarshal(m, b) -} -func (m *NewMessage_Nested) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NewMessage_Nested.Marshal(b, m, deterministic) -} -func (m *NewMessage_Nested) XXX_Merge(src proto.Message) { - xxx_messageInfo_NewMessage_Nested.Merge(m, src) -} -func (m *NewMessage_Nested) XXX_Size() int { - return xxx_messageInfo_NewMessage_Nested.Size(m) -} -func (m *NewMessage_Nested) XXX_DiscardUnknown() { - xxx_messageInfo_NewMessage_Nested.DiscardUnknown(m) -} - -var xxx_messageInfo_NewMessage_Nested proto.InternalMessageInfo - -func (m *NewMessage_Nested) GetName() string { - if m != nil && m.Name != nil { - return *m.Name - } - return "" -} - -func (m *NewMessage_Nested) GetFoodGroup() string { - if m != nil && m.FoodGroup != nil { - return *m.FoodGroup - } - return "" -} - -type InnerMessage struct { - Host *string `protobuf:"bytes,1,req,name=host" json:"host,omitempty"` - Port *int32 `protobuf:"varint,2,opt,name=port,def=4000" json:"port,omitempty"` - Connected *bool `protobuf:"varint,3,opt,name=connected" json:"connected,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *InnerMessage) Reset() { *m = InnerMessage{} } -func (m *InnerMessage) String() string { return proto.CompactTextString(m) } -func (*InnerMessage) ProtoMessage() {} -func (*InnerMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{10} -} - -func (m *InnerMessage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InnerMessage.Unmarshal(m, b) -} -func (m *InnerMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InnerMessage.Marshal(b, m, deterministic) -} -func (m *InnerMessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_InnerMessage.Merge(m, src) -} -func (m *InnerMessage) XXX_Size() int { - return xxx_messageInfo_InnerMessage.Size(m) -} -func (m *InnerMessage) XXX_DiscardUnknown() { - xxx_messageInfo_InnerMessage.DiscardUnknown(m) -} - -var xxx_messageInfo_InnerMessage proto.InternalMessageInfo - -const Default_InnerMessage_Port int32 = 4000 - -func (m *InnerMessage) GetHost() string { - if m != nil && m.Host != nil { - return *m.Host - } - return "" -} - -func (m *InnerMessage) GetPort() int32 { - if m != nil && m.Port != nil { - return *m.Port - } - return Default_InnerMessage_Port -} - -func (m *InnerMessage) GetConnected() bool { - if m != nil && m.Connected != nil { - return *m.Connected - } - return false -} - -type OtherMessage struct { - Key *int64 `protobuf:"varint,1,opt,name=key" json:"key,omitempty"` - Value []byte `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` - Weight *float32 `protobuf:"fixed32,3,opt,name=weight" json:"weight,omitempty"` - Inner *InnerMessage `protobuf:"bytes,4,opt,name=inner" json:"inner,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - proto.XXX_InternalExtensions `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OtherMessage) Reset() { *m = OtherMessage{} } -func (m *OtherMessage) String() string { return proto.CompactTextString(m) } -func (*OtherMessage) ProtoMessage() {} -func (*OtherMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{11} -} - -var extRange_OtherMessage = []proto.ExtensionRange{ - {Start: 100, End: 536870911}, -} - -func (*OtherMessage) ExtensionRangeArray() []proto.ExtensionRange { - return extRange_OtherMessage -} - -func (m *OtherMessage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OtherMessage.Unmarshal(m, b) -} -func (m *OtherMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OtherMessage.Marshal(b, m, deterministic) -} -func (m *OtherMessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_OtherMessage.Merge(m, src) -} -func (m *OtherMessage) XXX_Size() int { - return xxx_messageInfo_OtherMessage.Size(m) -} -func (m *OtherMessage) XXX_DiscardUnknown() { - xxx_messageInfo_OtherMessage.DiscardUnknown(m) -} - -var xxx_messageInfo_OtherMessage proto.InternalMessageInfo - -func (m *OtherMessage) GetKey() int64 { - if m != nil && m.Key != nil { - return *m.Key - } - return 0 -} - -func (m *OtherMessage) GetValue() []byte { - if m != nil { - return m.Value - } - return nil -} - -func (m *OtherMessage) GetWeight() float32 { - if m != nil && m.Weight != nil { - return *m.Weight - } - return 0 -} - -func (m *OtherMessage) GetInner() *InnerMessage { - if m != nil { - return m.Inner - } - return nil -} - -type RequiredInnerMessage struct { - LeoFinallyWonAnOscar *InnerMessage `protobuf:"bytes,1,req,name=leo_finally_won_an_oscar,json=leoFinallyWonAnOscar" json:"leo_finally_won_an_oscar,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RequiredInnerMessage) Reset() { *m = RequiredInnerMessage{} } -func (m *RequiredInnerMessage) String() string { return proto.CompactTextString(m) } -func (*RequiredInnerMessage) ProtoMessage() {} -func (*RequiredInnerMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{12} -} - -func (m *RequiredInnerMessage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RequiredInnerMessage.Unmarshal(m, b) -} -func (m *RequiredInnerMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RequiredInnerMessage.Marshal(b, m, deterministic) -} -func (m *RequiredInnerMessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_RequiredInnerMessage.Merge(m, src) -} -func (m *RequiredInnerMessage) XXX_Size() int { - return xxx_messageInfo_RequiredInnerMessage.Size(m) -} -func (m *RequiredInnerMessage) XXX_DiscardUnknown() { - xxx_messageInfo_RequiredInnerMessage.DiscardUnknown(m) -} - -var xxx_messageInfo_RequiredInnerMessage proto.InternalMessageInfo - -func (m *RequiredInnerMessage) GetLeoFinallyWonAnOscar() *InnerMessage { - if m != nil { - return m.LeoFinallyWonAnOscar - } - return nil -} - -type MyMessage struct { - Count *int32 `protobuf:"varint,1,req,name=count" json:"count,omitempty"` - Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` - Quote *string `protobuf:"bytes,3,opt,name=quote" json:"quote,omitempty"` - Pet []string `protobuf:"bytes,4,rep,name=pet" json:"pet,omitempty"` - Inner *InnerMessage `protobuf:"bytes,5,opt,name=inner" json:"inner,omitempty"` - Others []*OtherMessage `protobuf:"bytes,6,rep,name=others" json:"others,omitempty"` - WeMustGoDeeper *RequiredInnerMessage `protobuf:"bytes,13,opt,name=we_must_go_deeper,json=weMustGoDeeper" json:"we_must_go_deeper,omitempty"` - RepInner []*InnerMessage `protobuf:"bytes,12,rep,name=rep_inner,json=repInner" json:"rep_inner,omitempty"` - Bikeshed *MyMessage_Color `protobuf:"varint,7,opt,name=bikeshed,enum=test_proto.MyMessage_Color" json:"bikeshed,omitempty"` - Somegroup *MyMessage_SomeGroup `protobuf:"group,8,opt,name=SomeGroup,json=somegroup" json:"somegroup,omitempty"` - // This field becomes [][]byte in the generated code. - RepBytes [][]byte `protobuf:"bytes,10,rep,name=rep_bytes,json=repBytes" json:"rep_bytes,omitempty"` - Bigfloat *float64 `protobuf:"fixed64,11,opt,name=bigfloat" json:"bigfloat,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - proto.XXX_InternalExtensions `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MyMessage) Reset() { *m = MyMessage{} } -func (m *MyMessage) String() string { return proto.CompactTextString(m) } -func (*MyMessage) ProtoMessage() {} -func (*MyMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{13} -} - -var extRange_MyMessage = []proto.ExtensionRange{ - {Start: 100, End: 536870911}, -} - -func (*MyMessage) ExtensionRangeArray() []proto.ExtensionRange { - return extRange_MyMessage -} - -func (m *MyMessage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MyMessage.Unmarshal(m, b) -} -func (m *MyMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MyMessage.Marshal(b, m, deterministic) -} -func (m *MyMessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_MyMessage.Merge(m, src) -} -func (m *MyMessage) XXX_Size() int { - return xxx_messageInfo_MyMessage.Size(m) -} -func (m *MyMessage) XXX_DiscardUnknown() { - xxx_messageInfo_MyMessage.DiscardUnknown(m) -} - -var xxx_messageInfo_MyMessage proto.InternalMessageInfo - -func (m *MyMessage) GetCount() int32 { - if m != nil && m.Count != nil { - return *m.Count - } - return 0 -} - -func (m *MyMessage) GetName() string { - if m != nil && m.Name != nil { - return *m.Name - } - return "" -} - -func (m *MyMessage) GetQuote() string { - if m != nil && m.Quote != nil { - return *m.Quote - } - return "" -} - -func (m *MyMessage) GetPet() []string { - if m != nil { - return m.Pet - } - return nil -} - -func (m *MyMessage) GetInner() *InnerMessage { - if m != nil { - return m.Inner - } - return nil -} - -func (m *MyMessage) GetOthers() []*OtherMessage { - if m != nil { - return m.Others - } - return nil -} - -func (m *MyMessage) GetWeMustGoDeeper() *RequiredInnerMessage { - if m != nil { - return m.WeMustGoDeeper - } - return nil -} - -func (m *MyMessage) GetRepInner() []*InnerMessage { - if m != nil { - return m.RepInner - } - return nil -} - -func (m *MyMessage) GetBikeshed() MyMessage_Color { - if m != nil && m.Bikeshed != nil { - return *m.Bikeshed - } - return MyMessage_RED -} - -func (m *MyMessage) GetSomegroup() *MyMessage_SomeGroup { - if m != nil { - return m.Somegroup - } - return nil -} - -func (m *MyMessage) GetRepBytes() [][]byte { - if m != nil { - return m.RepBytes - } - return nil -} - -func (m *MyMessage) GetBigfloat() float64 { - if m != nil && m.Bigfloat != nil { - return *m.Bigfloat - } - return 0 -} - -type MyMessage_SomeGroup struct { - GroupField *int32 `protobuf:"varint,9,opt,name=group_field,json=groupField" json:"group_field,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MyMessage_SomeGroup) Reset() { *m = MyMessage_SomeGroup{} } -func (m *MyMessage_SomeGroup) String() string { return proto.CompactTextString(m) } -func (*MyMessage_SomeGroup) ProtoMessage() {} -func (*MyMessage_SomeGroup) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{13, 0} -} - -func (m *MyMessage_SomeGroup) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MyMessage_SomeGroup.Unmarshal(m, b) -} -func (m *MyMessage_SomeGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MyMessage_SomeGroup.Marshal(b, m, deterministic) -} -func (m *MyMessage_SomeGroup) XXX_Merge(src proto.Message) { - xxx_messageInfo_MyMessage_SomeGroup.Merge(m, src) -} -func (m *MyMessage_SomeGroup) XXX_Size() int { - return xxx_messageInfo_MyMessage_SomeGroup.Size(m) -} -func (m *MyMessage_SomeGroup) XXX_DiscardUnknown() { - xxx_messageInfo_MyMessage_SomeGroup.DiscardUnknown(m) -} - -var xxx_messageInfo_MyMessage_SomeGroup proto.InternalMessageInfo - -func (m *MyMessage_SomeGroup) GetGroupField() int32 { - if m != nil && m.GroupField != nil { - return *m.GroupField - } - return 0 -} - -type Ext struct { - Data *string `protobuf:"bytes,1,opt,name=data" json:"data,omitempty"` - MapField map[int32]int32 `protobuf:"bytes,2,rep,name=map_field,json=mapField" json:"map_field,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Ext) Reset() { *m = Ext{} } -func (m *Ext) String() string { return proto.CompactTextString(m) } -func (*Ext) ProtoMessage() {} -func (*Ext) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{14} -} - -func (m *Ext) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Ext.Unmarshal(m, b) -} -func (m *Ext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Ext.Marshal(b, m, deterministic) -} -func (m *Ext) XXX_Merge(src proto.Message) { - xxx_messageInfo_Ext.Merge(m, src) -} -func (m *Ext) XXX_Size() int { - return xxx_messageInfo_Ext.Size(m) -} -func (m *Ext) XXX_DiscardUnknown() { - xxx_messageInfo_Ext.DiscardUnknown(m) -} - -var xxx_messageInfo_Ext proto.InternalMessageInfo - -func (m *Ext) GetData() string { - if m != nil && m.Data != nil { - return *m.Data - } - return "" -} - -func (m *Ext) GetMapField() map[int32]int32 { - if m != nil { - return m.MapField - } - return nil -} - -var E_Ext_More = &proto.ExtensionDesc{ - ExtendedType: (*MyMessage)(nil), - ExtensionType: (*Ext)(nil), - Field: 103, - Name: "test_proto.Ext.more", - Tag: "bytes,103,opt,name=more", - Filename: "test_proto/test.proto", -} - -var E_Ext_Text = &proto.ExtensionDesc{ - ExtendedType: (*MyMessage)(nil), - ExtensionType: (*string)(nil), - Field: 104, - Name: "test_proto.Ext.text", - Tag: "bytes,104,opt,name=text", - Filename: "test_proto/test.proto", -} - -var E_Ext_Number = &proto.ExtensionDesc{ - ExtendedType: (*MyMessage)(nil), - ExtensionType: (*int32)(nil), - Field: 105, - Name: "test_proto.Ext.number", - Tag: "varint,105,opt,name=number", - Filename: "test_proto/test.proto", -} - -type ComplexExtension struct { - First *int32 `protobuf:"varint,1,opt,name=first" json:"first,omitempty"` - Second *int32 `protobuf:"varint,2,opt,name=second" json:"second,omitempty"` - Third []int32 `protobuf:"varint,3,rep,name=third" json:"third,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ComplexExtension) Reset() { *m = ComplexExtension{} } -func (m *ComplexExtension) String() string { return proto.CompactTextString(m) } -func (*ComplexExtension) ProtoMessage() {} -func (*ComplexExtension) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{15} -} - -func (m *ComplexExtension) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ComplexExtension.Unmarshal(m, b) -} -func (m *ComplexExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ComplexExtension.Marshal(b, m, deterministic) -} -func (m *ComplexExtension) XXX_Merge(src proto.Message) { - xxx_messageInfo_ComplexExtension.Merge(m, src) -} -func (m *ComplexExtension) XXX_Size() int { - return xxx_messageInfo_ComplexExtension.Size(m) -} -func (m *ComplexExtension) XXX_DiscardUnknown() { - xxx_messageInfo_ComplexExtension.DiscardUnknown(m) -} - -var xxx_messageInfo_ComplexExtension proto.InternalMessageInfo - -func (m *ComplexExtension) GetFirst() int32 { - if m != nil && m.First != nil { - return *m.First - } - return 0 -} - -func (m *ComplexExtension) GetSecond() int32 { - if m != nil && m.Second != nil { - return *m.Second - } - return 0 -} - -func (m *ComplexExtension) GetThird() []int32 { - if m != nil { - return m.Third - } - return nil -} - -type DefaultsMessage struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - proto.XXX_InternalExtensions `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DefaultsMessage) Reset() { *m = DefaultsMessage{} } -func (m *DefaultsMessage) String() string { return proto.CompactTextString(m) } -func (*DefaultsMessage) ProtoMessage() {} -func (*DefaultsMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{16} -} - -var extRange_DefaultsMessage = []proto.ExtensionRange{ - {Start: 100, End: 536870911}, -} - -func (*DefaultsMessage) ExtensionRangeArray() []proto.ExtensionRange { - return extRange_DefaultsMessage -} - -func (m *DefaultsMessage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DefaultsMessage.Unmarshal(m, b) -} -func (m *DefaultsMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DefaultsMessage.Marshal(b, m, deterministic) -} -func (m *DefaultsMessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_DefaultsMessage.Merge(m, src) -} -func (m *DefaultsMessage) XXX_Size() int { - return xxx_messageInfo_DefaultsMessage.Size(m) -} -func (m *DefaultsMessage) XXX_DiscardUnknown() { - xxx_messageInfo_DefaultsMessage.DiscardUnknown(m) -} - -var xxx_messageInfo_DefaultsMessage proto.InternalMessageInfo - -type MyMessageSet struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - proto.XXX_InternalExtensions `protobuf_messageset:"1" json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MyMessageSet) Reset() { *m = MyMessageSet{} } -func (m *MyMessageSet) String() string { return proto.CompactTextString(m) } -func (*MyMessageSet) ProtoMessage() {} -func (*MyMessageSet) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{17} -} - -var extRange_MyMessageSet = []proto.ExtensionRange{ - {Start: 100, End: 2147483646}, -} - -func (*MyMessageSet) ExtensionRangeArray() []proto.ExtensionRange { - return extRange_MyMessageSet -} - -func (m *MyMessageSet) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MyMessageSet.Unmarshal(m, b) -} -func (m *MyMessageSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MyMessageSet.Marshal(b, m, deterministic) -} -func (m *MyMessageSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_MyMessageSet.Merge(m, src) -} -func (m *MyMessageSet) XXX_Size() int { - return xxx_messageInfo_MyMessageSet.Size(m) -} -func (m *MyMessageSet) XXX_DiscardUnknown() { - xxx_messageInfo_MyMessageSet.DiscardUnknown(m) -} - -var xxx_messageInfo_MyMessageSet proto.InternalMessageInfo - -type Empty struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Empty) Reset() { *m = Empty{} } -func (m *Empty) String() string { return proto.CompactTextString(m) } -func (*Empty) ProtoMessage() {} -func (*Empty) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{18} -} - -func (m *Empty) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Empty.Unmarshal(m, b) -} -func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Empty.Marshal(b, m, deterministic) -} -func (m *Empty) XXX_Merge(src proto.Message) { - xxx_messageInfo_Empty.Merge(m, src) -} -func (m *Empty) XXX_Size() int { - return xxx_messageInfo_Empty.Size(m) -} -func (m *Empty) XXX_DiscardUnknown() { - xxx_messageInfo_Empty.DiscardUnknown(m) -} - -var xxx_messageInfo_Empty proto.InternalMessageInfo - -type MessageList struct { - Message []*MessageList_Message `protobuf:"group,1,rep,name=Message,json=message" json:"message,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MessageList) Reset() { *m = MessageList{} } -func (m *MessageList) String() string { return proto.CompactTextString(m) } -func (*MessageList) ProtoMessage() {} -func (*MessageList) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{19} -} - -func (m *MessageList) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MessageList.Unmarshal(m, b) -} -func (m *MessageList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MessageList.Marshal(b, m, deterministic) -} -func (m *MessageList) XXX_Merge(src proto.Message) { - xxx_messageInfo_MessageList.Merge(m, src) -} -func (m *MessageList) XXX_Size() int { - return xxx_messageInfo_MessageList.Size(m) -} -func (m *MessageList) XXX_DiscardUnknown() { - xxx_messageInfo_MessageList.DiscardUnknown(m) -} - -var xxx_messageInfo_MessageList proto.InternalMessageInfo - -func (m *MessageList) GetMessage() []*MessageList_Message { - if m != nil { - return m.Message - } - return nil -} - -type MessageList_Message struct { - Name *string `protobuf:"bytes,2,req,name=name" json:"name,omitempty"` - Count *int32 `protobuf:"varint,3,req,name=count" json:"count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MessageList_Message) Reset() { *m = MessageList_Message{} } -func (m *MessageList_Message) String() string { return proto.CompactTextString(m) } -func (*MessageList_Message) ProtoMessage() {} -func (*MessageList_Message) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{19, 0} -} - -func (m *MessageList_Message) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MessageList_Message.Unmarshal(m, b) -} -func (m *MessageList_Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MessageList_Message.Marshal(b, m, deterministic) -} -func (m *MessageList_Message) XXX_Merge(src proto.Message) { - xxx_messageInfo_MessageList_Message.Merge(m, src) -} -func (m *MessageList_Message) XXX_Size() int { - return xxx_messageInfo_MessageList_Message.Size(m) -} -func (m *MessageList_Message) XXX_DiscardUnknown() { - xxx_messageInfo_MessageList_Message.DiscardUnknown(m) -} - -var xxx_messageInfo_MessageList_Message proto.InternalMessageInfo - -func (m *MessageList_Message) GetName() string { - if m != nil && m.Name != nil { - return *m.Name - } - return "" -} - -func (m *MessageList_Message) GetCount() int32 { - if m != nil && m.Count != nil { - return *m.Count - } - return 0 -} - -type Strings struct { - StringField *string `protobuf:"bytes,1,opt,name=string_field,json=stringField" json:"string_field,omitempty"` - BytesField []byte `protobuf:"bytes,2,opt,name=bytes_field,json=bytesField" json:"bytes_field,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Strings) Reset() { *m = Strings{} } -func (m *Strings) String() string { return proto.CompactTextString(m) } -func (*Strings) ProtoMessage() {} -func (*Strings) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{20} -} - -func (m *Strings) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Strings.Unmarshal(m, b) -} -func (m *Strings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Strings.Marshal(b, m, deterministic) -} -func (m *Strings) XXX_Merge(src proto.Message) { - xxx_messageInfo_Strings.Merge(m, src) -} -func (m *Strings) XXX_Size() int { - return xxx_messageInfo_Strings.Size(m) -} -func (m *Strings) XXX_DiscardUnknown() { - xxx_messageInfo_Strings.DiscardUnknown(m) -} - -var xxx_messageInfo_Strings proto.InternalMessageInfo - -func (m *Strings) GetStringField() string { - if m != nil && m.StringField != nil { - return *m.StringField - } - return "" -} - -func (m *Strings) GetBytesField() []byte { - if m != nil { - return m.BytesField - } - return nil -} - -type Defaults struct { - // Default-valued fields of all basic types. - // Same as GoTest, but copied here to make testing easier. - F_Bool *bool `protobuf:"varint,1,opt,name=F_Bool,json=FBool,def=1" json:"F_Bool,omitempty"` - F_Int32 *int32 `protobuf:"varint,2,opt,name=F_Int32,json=FInt32,def=32" json:"F_Int32,omitempty"` - F_Int64 *int64 `protobuf:"varint,3,opt,name=F_Int64,json=FInt64,def=64" json:"F_Int64,omitempty"` - F_Fixed32 *uint32 `protobuf:"fixed32,4,opt,name=F_Fixed32,json=FFixed32,def=320" json:"F_Fixed32,omitempty"` - F_Fixed64 *uint64 `protobuf:"fixed64,5,opt,name=F_Fixed64,json=FFixed64,def=640" json:"F_Fixed64,omitempty"` - F_Uint32 *uint32 `protobuf:"varint,6,opt,name=F_Uint32,json=FUint32,def=3200" json:"F_Uint32,omitempty"` - F_Uint64 *uint64 `protobuf:"varint,7,opt,name=F_Uint64,json=FUint64,def=6400" json:"F_Uint64,omitempty"` - F_Float *float32 `protobuf:"fixed32,8,opt,name=F_Float,json=FFloat,def=314159" json:"F_Float,omitempty"` - F_Double *float64 `protobuf:"fixed64,9,opt,name=F_Double,json=FDouble,def=271828" json:"F_Double,omitempty"` - F_String *string `protobuf:"bytes,10,opt,name=F_String,json=FString,def=hello, \"world!\"\n" json:"F_String,omitempty"` - F_Bytes []byte `protobuf:"bytes,11,opt,name=F_Bytes,json=FBytes,def=Bignose" json:"F_Bytes,omitempty"` - F_Sint32 *int32 `protobuf:"zigzag32,12,opt,name=F_Sint32,json=FSint32,def=-32" json:"F_Sint32,omitempty"` - F_Sint64 *int64 `protobuf:"zigzag64,13,opt,name=F_Sint64,json=FSint64,def=-64" json:"F_Sint64,omitempty"` - F_Enum *Defaults_Color `protobuf:"varint,14,opt,name=F_Enum,json=FEnum,enum=test_proto.Defaults_Color,def=1" json:"F_Enum,omitempty"` - // More fields with crazy defaults. - F_Pinf *float32 `protobuf:"fixed32,15,opt,name=F_Pinf,json=FPinf,def=inf" json:"F_Pinf,omitempty"` - F_Ninf *float32 `protobuf:"fixed32,16,opt,name=F_Ninf,json=FNinf,def=-inf" json:"F_Ninf,omitempty"` - F_Nan *float32 `protobuf:"fixed32,17,opt,name=F_Nan,json=FNan,def=nan" json:"F_Nan,omitempty"` - // Sub-message. - Sub *SubDefaults `protobuf:"bytes,18,opt,name=sub" json:"sub,omitempty"` - // Redundant but explicit defaults. - StrZero *string `protobuf:"bytes,19,opt,name=str_zero,json=strZero,def=" json:"str_zero,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Defaults) Reset() { *m = Defaults{} } -func (m *Defaults) String() string { return proto.CompactTextString(m) } -func (*Defaults) ProtoMessage() {} -func (*Defaults) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{21} -} - -func (m *Defaults) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Defaults.Unmarshal(m, b) -} -func (m *Defaults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Defaults.Marshal(b, m, deterministic) -} -func (m *Defaults) XXX_Merge(src proto.Message) { - xxx_messageInfo_Defaults.Merge(m, src) -} -func (m *Defaults) XXX_Size() int { - return xxx_messageInfo_Defaults.Size(m) -} -func (m *Defaults) XXX_DiscardUnknown() { - xxx_messageInfo_Defaults.DiscardUnknown(m) -} - -var xxx_messageInfo_Defaults proto.InternalMessageInfo - -const Default_Defaults_F_Bool bool = true -const Default_Defaults_F_Int32 int32 = 32 -const Default_Defaults_F_Int64 int64 = 64 -const Default_Defaults_F_Fixed32 uint32 = 320 -const Default_Defaults_F_Fixed64 uint64 = 640 -const Default_Defaults_F_Uint32 uint32 = 3200 -const Default_Defaults_F_Uint64 uint64 = 6400 -const Default_Defaults_F_Float float32 = 314159 -const Default_Defaults_F_Double float64 = 271828 -const Default_Defaults_F_String string = "hello, \"world!\"\n" - -var Default_Defaults_F_Bytes []byte = []byte("Bignose") - -const Default_Defaults_F_Sint32 int32 = -32 -const Default_Defaults_F_Sint64 int64 = -64 -const Default_Defaults_F_Enum Defaults_Color = Defaults_GREEN - -var Default_Defaults_F_Pinf float32 = float32(math.Inf(1)) -var Default_Defaults_F_Ninf float32 = float32(math.Inf(-1)) -var Default_Defaults_F_Nan float32 = float32(math.NaN()) - -func (m *Defaults) GetF_Bool() bool { - if m != nil && m.F_Bool != nil { - return *m.F_Bool - } - return Default_Defaults_F_Bool -} - -func (m *Defaults) GetF_Int32() int32 { - if m != nil && m.F_Int32 != nil { - return *m.F_Int32 - } - return Default_Defaults_F_Int32 -} - -func (m *Defaults) GetF_Int64() int64 { - if m != nil && m.F_Int64 != nil { - return *m.F_Int64 - } - return Default_Defaults_F_Int64 -} - -func (m *Defaults) GetF_Fixed32() uint32 { - if m != nil && m.F_Fixed32 != nil { - return *m.F_Fixed32 - } - return Default_Defaults_F_Fixed32 -} - -func (m *Defaults) GetF_Fixed64() uint64 { - if m != nil && m.F_Fixed64 != nil { - return *m.F_Fixed64 - } - return Default_Defaults_F_Fixed64 -} - -func (m *Defaults) GetF_Uint32() uint32 { - if m != nil && m.F_Uint32 != nil { - return *m.F_Uint32 - } - return Default_Defaults_F_Uint32 -} - -func (m *Defaults) GetF_Uint64() uint64 { - if m != nil && m.F_Uint64 != nil { - return *m.F_Uint64 - } - return Default_Defaults_F_Uint64 -} - -func (m *Defaults) GetF_Float() float32 { - if m != nil && m.F_Float != nil { - return *m.F_Float - } - return Default_Defaults_F_Float -} - -func (m *Defaults) GetF_Double() float64 { - if m != nil && m.F_Double != nil { - return *m.F_Double - } - return Default_Defaults_F_Double -} - -func (m *Defaults) GetF_String() string { - if m != nil && m.F_String != nil { - return *m.F_String - } - return Default_Defaults_F_String -} - -func (m *Defaults) GetF_Bytes() []byte { - if m != nil && m.F_Bytes != nil { - return m.F_Bytes - } - return append([]byte(nil), Default_Defaults_F_Bytes...) -} - -func (m *Defaults) GetF_Sint32() int32 { - if m != nil && m.F_Sint32 != nil { - return *m.F_Sint32 - } - return Default_Defaults_F_Sint32 -} - -func (m *Defaults) GetF_Sint64() int64 { - if m != nil && m.F_Sint64 != nil { - return *m.F_Sint64 - } - return Default_Defaults_F_Sint64 -} - -func (m *Defaults) GetF_Enum() Defaults_Color { - if m != nil && m.F_Enum != nil { - return *m.F_Enum - } - return Default_Defaults_F_Enum -} - -func (m *Defaults) GetF_Pinf() float32 { - if m != nil && m.F_Pinf != nil { - return *m.F_Pinf - } - return Default_Defaults_F_Pinf -} - -func (m *Defaults) GetF_Ninf() float32 { - if m != nil && m.F_Ninf != nil { - return *m.F_Ninf - } - return Default_Defaults_F_Ninf -} - -func (m *Defaults) GetF_Nan() float32 { - if m != nil && m.F_Nan != nil { - return *m.F_Nan - } - return Default_Defaults_F_Nan -} - -func (m *Defaults) GetSub() *SubDefaults { - if m != nil { - return m.Sub - } - return nil -} - -func (m *Defaults) GetStrZero() string { - if m != nil && m.StrZero != nil { - return *m.StrZero - } - return "" -} - -type SubDefaults struct { - N *int64 `protobuf:"varint,1,opt,name=n,def=7" json:"n,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SubDefaults) Reset() { *m = SubDefaults{} } -func (m *SubDefaults) String() string { return proto.CompactTextString(m) } -func (*SubDefaults) ProtoMessage() {} -func (*SubDefaults) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{22} -} - -func (m *SubDefaults) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubDefaults.Unmarshal(m, b) -} -func (m *SubDefaults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubDefaults.Marshal(b, m, deterministic) -} -func (m *SubDefaults) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubDefaults.Merge(m, src) -} -func (m *SubDefaults) XXX_Size() int { - return xxx_messageInfo_SubDefaults.Size(m) -} -func (m *SubDefaults) XXX_DiscardUnknown() { - xxx_messageInfo_SubDefaults.DiscardUnknown(m) -} - -var xxx_messageInfo_SubDefaults proto.InternalMessageInfo - -const Default_SubDefaults_N int64 = 7 - -func (m *SubDefaults) GetN() int64 { - if m != nil && m.N != nil { - return *m.N - } - return Default_SubDefaults_N -} - -type RepeatedEnum struct { - Color []RepeatedEnum_Color `protobuf:"varint,1,rep,name=color,enum=test_proto.RepeatedEnum_Color" json:"color,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RepeatedEnum) Reset() { *m = RepeatedEnum{} } -func (m *RepeatedEnum) String() string { return proto.CompactTextString(m) } -func (*RepeatedEnum) ProtoMessage() {} -func (*RepeatedEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{23} -} - -func (m *RepeatedEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RepeatedEnum.Unmarshal(m, b) -} -func (m *RepeatedEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RepeatedEnum.Marshal(b, m, deterministic) -} -func (m *RepeatedEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_RepeatedEnum.Merge(m, src) -} -func (m *RepeatedEnum) XXX_Size() int { - return xxx_messageInfo_RepeatedEnum.Size(m) -} -func (m *RepeatedEnum) XXX_DiscardUnknown() { - xxx_messageInfo_RepeatedEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_RepeatedEnum proto.InternalMessageInfo - -func (m *RepeatedEnum) GetColor() []RepeatedEnum_Color { - if m != nil { - return m.Color - } - return nil -} - -type MoreRepeated struct { - Bools []bool `protobuf:"varint,1,rep,name=bools" json:"bools,omitempty"` - BoolsPacked []bool `protobuf:"varint,2,rep,packed,name=bools_packed,json=boolsPacked" json:"bools_packed,omitempty"` - Ints []int32 `protobuf:"varint,3,rep,name=ints" json:"ints,omitempty"` - IntsPacked []int32 `protobuf:"varint,4,rep,packed,name=ints_packed,json=intsPacked" json:"ints_packed,omitempty"` - Int64SPacked []int64 `protobuf:"varint,7,rep,packed,name=int64s_packed,json=int64sPacked" json:"int64s_packed,omitempty"` - Strings []string `protobuf:"bytes,5,rep,name=strings" json:"strings,omitempty"` - Fixeds []uint32 `protobuf:"fixed32,6,rep,name=fixeds" json:"fixeds,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MoreRepeated) Reset() { *m = MoreRepeated{} } -func (m *MoreRepeated) String() string { return proto.CompactTextString(m) } -func (*MoreRepeated) ProtoMessage() {} -func (*MoreRepeated) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{24} -} - -func (m *MoreRepeated) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MoreRepeated.Unmarshal(m, b) -} -func (m *MoreRepeated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MoreRepeated.Marshal(b, m, deterministic) -} -func (m *MoreRepeated) XXX_Merge(src proto.Message) { - xxx_messageInfo_MoreRepeated.Merge(m, src) -} -func (m *MoreRepeated) XXX_Size() int { - return xxx_messageInfo_MoreRepeated.Size(m) -} -func (m *MoreRepeated) XXX_DiscardUnknown() { - xxx_messageInfo_MoreRepeated.DiscardUnknown(m) -} - -var xxx_messageInfo_MoreRepeated proto.InternalMessageInfo - -func (m *MoreRepeated) GetBools() []bool { - if m != nil { - return m.Bools - } - return nil -} - -func (m *MoreRepeated) GetBoolsPacked() []bool { - if m != nil { - return m.BoolsPacked - } - return nil -} - -func (m *MoreRepeated) GetInts() []int32 { - if m != nil { - return m.Ints - } - return nil -} - -func (m *MoreRepeated) GetIntsPacked() []int32 { - if m != nil { - return m.IntsPacked - } - return nil -} - -func (m *MoreRepeated) GetInt64SPacked() []int64 { - if m != nil { - return m.Int64SPacked - } - return nil -} - -func (m *MoreRepeated) GetStrings() []string { - if m != nil { - return m.Strings - } - return nil -} - -func (m *MoreRepeated) GetFixeds() []uint32 { - if m != nil { - return m.Fixeds - } - return nil -} - -type GroupOld struct { - G *GroupOld_G `protobuf:"group,101,opt,name=G,json=g" json:"g,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GroupOld) Reset() { *m = GroupOld{} } -func (m *GroupOld) String() string { return proto.CompactTextString(m) } -func (*GroupOld) ProtoMessage() {} -func (*GroupOld) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{25} -} - -func (m *GroupOld) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GroupOld.Unmarshal(m, b) -} -func (m *GroupOld) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GroupOld.Marshal(b, m, deterministic) -} -func (m *GroupOld) XXX_Merge(src proto.Message) { - xxx_messageInfo_GroupOld.Merge(m, src) -} -func (m *GroupOld) XXX_Size() int { - return xxx_messageInfo_GroupOld.Size(m) -} -func (m *GroupOld) XXX_DiscardUnknown() { - xxx_messageInfo_GroupOld.DiscardUnknown(m) -} - -var xxx_messageInfo_GroupOld proto.InternalMessageInfo - -func (m *GroupOld) GetG() *GroupOld_G { - if m != nil { - return m.G - } - return nil -} - -type GroupOld_G struct { - X *int32 `protobuf:"varint,2,opt,name=x" json:"x,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GroupOld_G) Reset() { *m = GroupOld_G{} } -func (m *GroupOld_G) String() string { return proto.CompactTextString(m) } -func (*GroupOld_G) ProtoMessage() {} -func (*GroupOld_G) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{25, 0} -} - -func (m *GroupOld_G) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GroupOld_G.Unmarshal(m, b) -} -func (m *GroupOld_G) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GroupOld_G.Marshal(b, m, deterministic) -} -func (m *GroupOld_G) XXX_Merge(src proto.Message) { - xxx_messageInfo_GroupOld_G.Merge(m, src) -} -func (m *GroupOld_G) XXX_Size() int { - return xxx_messageInfo_GroupOld_G.Size(m) -} -func (m *GroupOld_G) XXX_DiscardUnknown() { - xxx_messageInfo_GroupOld_G.DiscardUnknown(m) -} - -var xxx_messageInfo_GroupOld_G proto.InternalMessageInfo - -func (m *GroupOld_G) GetX() int32 { - if m != nil && m.X != nil { - return *m.X - } - return 0 -} - -type GroupNew struct { - G *GroupNew_G `protobuf:"group,101,opt,name=G,json=g" json:"g,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GroupNew) Reset() { *m = GroupNew{} } -func (m *GroupNew) String() string { return proto.CompactTextString(m) } -func (*GroupNew) ProtoMessage() {} -func (*GroupNew) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{26} -} - -func (m *GroupNew) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GroupNew.Unmarshal(m, b) -} -func (m *GroupNew) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GroupNew.Marshal(b, m, deterministic) -} -func (m *GroupNew) XXX_Merge(src proto.Message) { - xxx_messageInfo_GroupNew.Merge(m, src) -} -func (m *GroupNew) XXX_Size() int { - return xxx_messageInfo_GroupNew.Size(m) -} -func (m *GroupNew) XXX_DiscardUnknown() { - xxx_messageInfo_GroupNew.DiscardUnknown(m) -} - -var xxx_messageInfo_GroupNew proto.InternalMessageInfo - -func (m *GroupNew) GetG() *GroupNew_G { - if m != nil { - return m.G - } - return nil -} - -type GroupNew_G struct { - X *int32 `protobuf:"varint,2,opt,name=x" json:"x,omitempty"` - Y *int32 `protobuf:"varint,3,opt,name=y" json:"y,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GroupNew_G) Reset() { *m = GroupNew_G{} } -func (m *GroupNew_G) String() string { return proto.CompactTextString(m) } -func (*GroupNew_G) ProtoMessage() {} -func (*GroupNew_G) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{26, 0} -} - -func (m *GroupNew_G) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GroupNew_G.Unmarshal(m, b) -} -func (m *GroupNew_G) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GroupNew_G.Marshal(b, m, deterministic) -} -func (m *GroupNew_G) XXX_Merge(src proto.Message) { - xxx_messageInfo_GroupNew_G.Merge(m, src) -} -func (m *GroupNew_G) XXX_Size() int { - return xxx_messageInfo_GroupNew_G.Size(m) -} -func (m *GroupNew_G) XXX_DiscardUnknown() { - xxx_messageInfo_GroupNew_G.DiscardUnknown(m) -} - -var xxx_messageInfo_GroupNew_G proto.InternalMessageInfo - -func (m *GroupNew_G) GetX() int32 { - if m != nil && m.X != nil { - return *m.X - } - return 0 -} - -func (m *GroupNew_G) GetY() int32 { - if m != nil && m.Y != nil { - return *m.Y - } - return 0 -} - -type FloatingPoint struct { - F *float64 `protobuf:"fixed64,1,req,name=f" json:"f,omitempty"` - Exact *bool `protobuf:"varint,2,opt,name=exact" json:"exact,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FloatingPoint) Reset() { *m = FloatingPoint{} } -func (m *FloatingPoint) String() string { return proto.CompactTextString(m) } -func (*FloatingPoint) ProtoMessage() {} -func (*FloatingPoint) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{27} -} - -func (m *FloatingPoint) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FloatingPoint.Unmarshal(m, b) -} -func (m *FloatingPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FloatingPoint.Marshal(b, m, deterministic) -} -func (m *FloatingPoint) XXX_Merge(src proto.Message) { - xxx_messageInfo_FloatingPoint.Merge(m, src) -} -func (m *FloatingPoint) XXX_Size() int { - return xxx_messageInfo_FloatingPoint.Size(m) -} -func (m *FloatingPoint) XXX_DiscardUnknown() { - xxx_messageInfo_FloatingPoint.DiscardUnknown(m) -} - -var xxx_messageInfo_FloatingPoint proto.InternalMessageInfo - -func (m *FloatingPoint) GetF() float64 { - if m != nil && m.F != nil { - return *m.F - } - return 0 -} - -func (m *FloatingPoint) GetExact() bool { - if m != nil && m.Exact != nil { - return *m.Exact - } - return false -} - -type MessageWithMap struct { - NameMapping map[int32]string `protobuf:"bytes,1,rep,name=name_mapping,json=nameMapping" json:"name_mapping,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - MsgMapping map[int64]*FloatingPoint `protobuf:"bytes,2,rep,name=msg_mapping,json=msgMapping" json:"msg_mapping,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - ByteMapping map[bool][]byte `protobuf:"bytes,3,rep,name=byte_mapping,json=byteMapping" json:"byte_mapping,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - StrToStr map[string]string `protobuf:"bytes,4,rep,name=str_to_str,json=strToStr" json:"str_to_str,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MessageWithMap) Reset() { *m = MessageWithMap{} } -func (m *MessageWithMap) String() string { return proto.CompactTextString(m) } -func (*MessageWithMap) ProtoMessage() {} -func (*MessageWithMap) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{28} -} - -func (m *MessageWithMap) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MessageWithMap.Unmarshal(m, b) -} -func (m *MessageWithMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MessageWithMap.Marshal(b, m, deterministic) -} -func (m *MessageWithMap) XXX_Merge(src proto.Message) { - xxx_messageInfo_MessageWithMap.Merge(m, src) -} -func (m *MessageWithMap) XXX_Size() int { - return xxx_messageInfo_MessageWithMap.Size(m) -} -func (m *MessageWithMap) XXX_DiscardUnknown() { - xxx_messageInfo_MessageWithMap.DiscardUnknown(m) -} - -var xxx_messageInfo_MessageWithMap proto.InternalMessageInfo - -func (m *MessageWithMap) GetNameMapping() map[int32]string { - if m != nil { - return m.NameMapping - } - return nil -} - -func (m *MessageWithMap) GetMsgMapping() map[int64]*FloatingPoint { - if m != nil { - return m.MsgMapping - } - return nil -} - -func (m *MessageWithMap) GetByteMapping() map[bool][]byte { - if m != nil { - return m.ByteMapping - } - return nil -} - -func (m *MessageWithMap) GetStrToStr() map[string]string { - if m != nil { - return m.StrToStr - } - return nil -} - -type Oneof struct { - // Types that are valid to be assigned to Union: - // *Oneof_F_Bool - // *Oneof_F_Int32 - // *Oneof_F_Int64 - // *Oneof_F_Fixed32 - // *Oneof_F_Fixed64 - // *Oneof_F_Uint32 - // *Oneof_F_Uint64 - // *Oneof_F_Float - // *Oneof_F_Double - // *Oneof_F_String - // *Oneof_F_Bytes - // *Oneof_F_Sint32 - // *Oneof_F_Sint64 - // *Oneof_F_Enum - // *Oneof_F_Message - // *Oneof_FGroup - // *Oneof_F_Largest_Tag - Union isOneof_Union `protobuf_oneof:"union"` - // Types that are valid to be assigned to Tormato: - // *Oneof_Value - Tormato isOneof_Tormato `protobuf_oneof:"tormato"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Oneof) Reset() { *m = Oneof{} } -func (m *Oneof) String() string { return proto.CompactTextString(m) } -func (*Oneof) ProtoMessage() {} -func (*Oneof) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{29} -} - -func (m *Oneof) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Oneof.Unmarshal(m, b) -} -func (m *Oneof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Oneof.Marshal(b, m, deterministic) -} -func (m *Oneof) XXX_Merge(src proto.Message) { - xxx_messageInfo_Oneof.Merge(m, src) -} -func (m *Oneof) XXX_Size() int { - return xxx_messageInfo_Oneof.Size(m) -} -func (m *Oneof) XXX_DiscardUnknown() { - xxx_messageInfo_Oneof.DiscardUnknown(m) -} - -var xxx_messageInfo_Oneof proto.InternalMessageInfo - -type isOneof_Union interface { - isOneof_Union() -} - -type Oneof_F_Bool struct { - F_Bool bool `protobuf:"varint,1,opt,name=F_Bool,json=FBool,oneof"` -} - -type Oneof_F_Int32 struct { - F_Int32 int32 `protobuf:"varint,2,opt,name=F_Int32,json=FInt32,oneof"` -} - -type Oneof_F_Int64 struct { - F_Int64 int64 `protobuf:"varint,3,opt,name=F_Int64,json=FInt64,oneof"` -} - -type Oneof_F_Fixed32 struct { - F_Fixed32 uint32 `protobuf:"fixed32,4,opt,name=F_Fixed32,json=FFixed32,oneof"` -} - -type Oneof_F_Fixed64 struct { - F_Fixed64 uint64 `protobuf:"fixed64,5,opt,name=F_Fixed64,json=FFixed64,oneof"` -} - -type Oneof_F_Uint32 struct { - F_Uint32 uint32 `protobuf:"varint,6,opt,name=F_Uint32,json=FUint32,oneof"` -} - -type Oneof_F_Uint64 struct { - F_Uint64 uint64 `protobuf:"varint,7,opt,name=F_Uint64,json=FUint64,oneof"` -} - -type Oneof_F_Float struct { - F_Float float32 `protobuf:"fixed32,8,opt,name=F_Float,json=FFloat,oneof"` -} - -type Oneof_F_Double struct { - F_Double float64 `protobuf:"fixed64,9,opt,name=F_Double,json=FDouble,oneof"` -} - -type Oneof_F_String struct { - F_String string `protobuf:"bytes,10,opt,name=F_String,json=FString,oneof"` -} - -type Oneof_F_Bytes struct { - F_Bytes []byte `protobuf:"bytes,11,opt,name=F_Bytes,json=FBytes,oneof"` -} - -type Oneof_F_Sint32 struct { - F_Sint32 int32 `protobuf:"zigzag32,12,opt,name=F_Sint32,json=FSint32,oneof"` -} - -type Oneof_F_Sint64 struct { - F_Sint64 int64 `protobuf:"zigzag64,13,opt,name=F_Sint64,json=FSint64,oneof"` -} - -type Oneof_F_Enum struct { - F_Enum MyMessage_Color `protobuf:"varint,14,opt,name=F_Enum,json=FEnum,enum=test_proto.MyMessage_Color,oneof"` -} - -type Oneof_F_Message struct { - F_Message *GoTestField `protobuf:"bytes,15,opt,name=F_Message,json=FMessage,oneof"` -} - -type Oneof_FGroup struct { - FGroup *Oneof_F_Group `protobuf:"group,16,opt,name=F_Group,json=fGroup,oneof"` -} - -type Oneof_F_Largest_Tag struct { - F_Largest_Tag int32 `protobuf:"varint,536870911,opt,name=F_Largest_Tag,json=FLargestTag,oneof"` -} - -func (*Oneof_F_Bool) isOneof_Union() {} - -func (*Oneof_F_Int32) isOneof_Union() {} - -func (*Oneof_F_Int64) isOneof_Union() {} - -func (*Oneof_F_Fixed32) isOneof_Union() {} - -func (*Oneof_F_Fixed64) isOneof_Union() {} - -func (*Oneof_F_Uint32) isOneof_Union() {} - -func (*Oneof_F_Uint64) isOneof_Union() {} - -func (*Oneof_F_Float) isOneof_Union() {} - -func (*Oneof_F_Double) isOneof_Union() {} - -func (*Oneof_F_String) isOneof_Union() {} - -func (*Oneof_F_Bytes) isOneof_Union() {} - -func (*Oneof_F_Sint32) isOneof_Union() {} - -func (*Oneof_F_Sint64) isOneof_Union() {} - -func (*Oneof_F_Enum) isOneof_Union() {} - -func (*Oneof_F_Message) isOneof_Union() {} - -func (*Oneof_FGroup) isOneof_Union() {} - -func (*Oneof_F_Largest_Tag) isOneof_Union() {} - -func (m *Oneof) GetUnion() isOneof_Union { - if m != nil { - return m.Union - } - return nil -} - -func (m *Oneof) GetF_Bool() bool { - if x, ok := m.GetUnion().(*Oneof_F_Bool); ok { - return x.F_Bool - } - return false -} - -func (m *Oneof) GetF_Int32() int32 { - if x, ok := m.GetUnion().(*Oneof_F_Int32); ok { - return x.F_Int32 - } - return 0 -} - -func (m *Oneof) GetF_Int64() int64 { - if x, ok := m.GetUnion().(*Oneof_F_Int64); ok { - return x.F_Int64 - } - return 0 -} - -func (m *Oneof) GetF_Fixed32() uint32 { - if x, ok := m.GetUnion().(*Oneof_F_Fixed32); ok { - return x.F_Fixed32 - } - return 0 -} - -func (m *Oneof) GetF_Fixed64() uint64 { - if x, ok := m.GetUnion().(*Oneof_F_Fixed64); ok { - return x.F_Fixed64 - } - return 0 -} - -func (m *Oneof) GetF_Uint32() uint32 { - if x, ok := m.GetUnion().(*Oneof_F_Uint32); ok { - return x.F_Uint32 - } - return 0 -} - -func (m *Oneof) GetF_Uint64() uint64 { - if x, ok := m.GetUnion().(*Oneof_F_Uint64); ok { - return x.F_Uint64 - } - return 0 -} - -func (m *Oneof) GetF_Float() float32 { - if x, ok := m.GetUnion().(*Oneof_F_Float); ok { - return x.F_Float - } - return 0 -} - -func (m *Oneof) GetF_Double() float64 { - if x, ok := m.GetUnion().(*Oneof_F_Double); ok { - return x.F_Double - } - return 0 -} - -func (m *Oneof) GetF_String() string { - if x, ok := m.GetUnion().(*Oneof_F_String); ok { - return x.F_String - } - return "" -} - -func (m *Oneof) GetF_Bytes() []byte { - if x, ok := m.GetUnion().(*Oneof_F_Bytes); ok { - return x.F_Bytes - } - return nil -} - -func (m *Oneof) GetF_Sint32() int32 { - if x, ok := m.GetUnion().(*Oneof_F_Sint32); ok { - return x.F_Sint32 - } - return 0 -} - -func (m *Oneof) GetF_Sint64() int64 { - if x, ok := m.GetUnion().(*Oneof_F_Sint64); ok { - return x.F_Sint64 - } - return 0 -} - -func (m *Oneof) GetF_Enum() MyMessage_Color { - if x, ok := m.GetUnion().(*Oneof_F_Enum); ok { - return x.F_Enum - } - return MyMessage_RED -} - -func (m *Oneof) GetF_Message() *GoTestField { - if x, ok := m.GetUnion().(*Oneof_F_Message); ok { - return x.F_Message - } - return nil -} - -func (m *Oneof) GetFGroup() *Oneof_F_Group { - if x, ok := m.GetUnion().(*Oneof_FGroup); ok { - return x.FGroup - } - return nil -} - -func (m *Oneof) GetF_Largest_Tag() int32 { - if x, ok := m.GetUnion().(*Oneof_F_Largest_Tag); ok { - return x.F_Largest_Tag - } - return 0 -} - -type isOneof_Tormato interface { - isOneof_Tormato() -} - -type Oneof_Value struct { - Value int32 `protobuf:"varint,100,opt,name=value,oneof"` -} - -func (*Oneof_Value) isOneof_Tormato() {} - -func (m *Oneof) GetTormato() isOneof_Tormato { - if m != nil { - return m.Tormato - } - return nil -} - -func (m *Oneof) GetValue() int32 { - if x, ok := m.GetTormato().(*Oneof_Value); ok { - return x.Value - } - return 0 -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Oneof) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Oneof_F_Bool)(nil), - (*Oneof_F_Int32)(nil), - (*Oneof_F_Int64)(nil), - (*Oneof_F_Fixed32)(nil), - (*Oneof_F_Fixed64)(nil), - (*Oneof_F_Uint32)(nil), - (*Oneof_F_Uint64)(nil), - (*Oneof_F_Float)(nil), - (*Oneof_F_Double)(nil), - (*Oneof_F_String)(nil), - (*Oneof_F_Bytes)(nil), - (*Oneof_F_Sint32)(nil), - (*Oneof_F_Sint64)(nil), - (*Oneof_F_Enum)(nil), - (*Oneof_F_Message)(nil), - (*Oneof_FGroup)(nil), - (*Oneof_F_Largest_Tag)(nil), - (*Oneof_Value)(nil), - } -} - -type Oneof_F_Group struct { - X *int32 `protobuf:"varint,17,opt,name=x" json:"x,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Oneof_F_Group) Reset() { *m = Oneof_F_Group{} } -func (m *Oneof_F_Group) String() string { return proto.CompactTextString(m) } -func (*Oneof_F_Group) ProtoMessage() {} -func (*Oneof_F_Group) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{29, 0} -} - -func (m *Oneof_F_Group) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Oneof_F_Group.Unmarshal(m, b) -} -func (m *Oneof_F_Group) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Oneof_F_Group.Marshal(b, m, deterministic) -} -func (m *Oneof_F_Group) XXX_Merge(src proto.Message) { - xxx_messageInfo_Oneof_F_Group.Merge(m, src) -} -func (m *Oneof_F_Group) XXX_Size() int { - return xxx_messageInfo_Oneof_F_Group.Size(m) -} -func (m *Oneof_F_Group) XXX_DiscardUnknown() { - xxx_messageInfo_Oneof_F_Group.DiscardUnknown(m) -} - -var xxx_messageInfo_Oneof_F_Group proto.InternalMessageInfo - -func (m *Oneof_F_Group) GetX() int32 { - if m != nil && m.X != nil { - return *m.X - } - return 0 -} - -type Communique struct { - MakeMeCry *bool `protobuf:"varint,1,opt,name=make_me_cry,json=makeMeCry" json:"make_me_cry,omitempty"` - // This is a oneof, called "union". - // - // Types that are valid to be assigned to Union: - // *Communique_Number - // *Communique_Name - // *Communique_Data - // *Communique_TempC - // *Communique_Col - // *Communique_Msg - Union isCommunique_Union `protobuf_oneof:"union"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Communique) Reset() { *m = Communique{} } -func (m *Communique) String() string { return proto.CompactTextString(m) } -func (*Communique) ProtoMessage() {} -func (*Communique) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{30} -} - -func (m *Communique) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Communique.Unmarshal(m, b) -} -func (m *Communique) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Communique.Marshal(b, m, deterministic) -} -func (m *Communique) XXX_Merge(src proto.Message) { - xxx_messageInfo_Communique.Merge(m, src) -} -func (m *Communique) XXX_Size() int { - return xxx_messageInfo_Communique.Size(m) -} -func (m *Communique) XXX_DiscardUnknown() { - xxx_messageInfo_Communique.DiscardUnknown(m) -} - -var xxx_messageInfo_Communique proto.InternalMessageInfo - -func (m *Communique) GetMakeMeCry() bool { - if m != nil && m.MakeMeCry != nil { - return *m.MakeMeCry - } - return false -} - -type isCommunique_Union interface { - isCommunique_Union() -} - -type Communique_Number struct { - Number int32 `protobuf:"varint,5,opt,name=number,oneof"` -} - -type Communique_Name struct { - Name string `protobuf:"bytes,6,opt,name=name,oneof"` -} - -type Communique_Data struct { - Data []byte `protobuf:"bytes,7,opt,name=data,oneof"` -} - -type Communique_TempC struct { - TempC float64 `protobuf:"fixed64,8,opt,name=temp_c,json=tempC,oneof"` -} - -type Communique_Col struct { - Col MyMessage_Color `protobuf:"varint,9,opt,name=col,enum=test_proto.MyMessage_Color,oneof"` -} - -type Communique_Msg struct { - Msg *Strings `protobuf:"bytes,10,opt,name=msg,oneof"` -} - -func (*Communique_Number) isCommunique_Union() {} - -func (*Communique_Name) isCommunique_Union() {} - -func (*Communique_Data) isCommunique_Union() {} - -func (*Communique_TempC) isCommunique_Union() {} - -func (*Communique_Col) isCommunique_Union() {} - -func (*Communique_Msg) isCommunique_Union() {} - -func (m *Communique) GetUnion() isCommunique_Union { - if m != nil { - return m.Union - } - return nil -} - -func (m *Communique) GetNumber() int32 { - if x, ok := m.GetUnion().(*Communique_Number); ok { - return x.Number - } - return 0 -} - -func (m *Communique) GetName() string { - if x, ok := m.GetUnion().(*Communique_Name); ok { - return x.Name - } - return "" -} - -func (m *Communique) GetData() []byte { - if x, ok := m.GetUnion().(*Communique_Data); ok { - return x.Data - } - return nil -} - -func (m *Communique) GetTempC() float64 { - if x, ok := m.GetUnion().(*Communique_TempC); ok { - return x.TempC - } - return 0 -} - -func (m *Communique) GetCol() MyMessage_Color { - if x, ok := m.GetUnion().(*Communique_Col); ok { - return x.Col - } - return MyMessage_RED -} - -func (m *Communique) GetMsg() *Strings { - if x, ok := m.GetUnion().(*Communique_Msg); ok { - return x.Msg - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Communique) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Communique_Number)(nil), - (*Communique_Name)(nil), - (*Communique_Data)(nil), - (*Communique_TempC)(nil), - (*Communique_Col)(nil), - (*Communique_Msg)(nil), - } -} - -type TestUTF8 struct { - Scalar *string `protobuf:"bytes,1,opt,name=scalar" json:"scalar,omitempty"` - Vector []string `protobuf:"bytes,2,rep,name=vector" json:"vector,omitempty"` - // Types that are valid to be assigned to Oneof: - // *TestUTF8_Field - Oneof isTestUTF8_Oneof `protobuf_oneof:"oneof"` - MapKey map[string]int64 `protobuf:"bytes,4,rep,name=map_key,json=mapKey" json:"map_key,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` - MapValue map[int64]string `protobuf:"bytes,5,rep,name=map_value,json=mapValue" json:"map_value,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TestUTF8) Reset() { *m = TestUTF8{} } -func (m *TestUTF8) String() string { return proto.CompactTextString(m) } -func (*TestUTF8) ProtoMessage() {} -func (*TestUTF8) Descriptor() ([]byte, []int) { - return fileDescriptor_8ca34d01332f1402, []int{31} -} - -func (m *TestUTF8) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TestUTF8.Unmarshal(m, b) -} -func (m *TestUTF8) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TestUTF8.Marshal(b, m, deterministic) -} -func (m *TestUTF8) XXX_Merge(src proto.Message) { - xxx_messageInfo_TestUTF8.Merge(m, src) -} -func (m *TestUTF8) XXX_Size() int { - return xxx_messageInfo_TestUTF8.Size(m) -} -func (m *TestUTF8) XXX_DiscardUnknown() { - xxx_messageInfo_TestUTF8.DiscardUnknown(m) -} - -var xxx_messageInfo_TestUTF8 proto.InternalMessageInfo - -func (m *TestUTF8) GetScalar() string { - if m != nil && m.Scalar != nil { - return *m.Scalar - } - return "" -} - -func (m *TestUTF8) GetVector() []string { - if m != nil { - return m.Vector - } - return nil -} - -type isTestUTF8_Oneof interface { - isTestUTF8_Oneof() -} - -type TestUTF8_Field struct { - Field string `protobuf:"bytes,3,opt,name=field,oneof"` -} - -func (*TestUTF8_Field) isTestUTF8_Oneof() {} - -func (m *TestUTF8) GetOneof() isTestUTF8_Oneof { - if m != nil { - return m.Oneof - } - return nil -} - -func (m *TestUTF8) GetField() string { - if x, ok := m.GetOneof().(*TestUTF8_Field); ok { - return x.Field - } - return "" -} - -func (m *TestUTF8) GetMapKey() map[string]int64 { - if m != nil { - return m.MapKey - } - return nil -} - -func (m *TestUTF8) GetMapValue() map[int64]string { - if m != nil { - return m.MapValue - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*TestUTF8) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*TestUTF8_Field)(nil), - } -} - -var E_Greeting = &proto.ExtensionDesc{ - ExtendedType: (*MyMessage)(nil), - ExtensionType: ([]string)(nil), - Field: 106, - Name: "test_proto.greeting", - Tag: "bytes,106,rep,name=greeting", - Filename: "test_proto/test.proto", -} - -var E_Complex = &proto.ExtensionDesc{ - ExtendedType: (*OtherMessage)(nil), - ExtensionType: (*ComplexExtension)(nil), - Field: 200, - Name: "test_proto.complex", - Tag: "bytes,200,opt,name=complex", - Filename: "test_proto/test.proto", -} - -var E_RComplex = &proto.ExtensionDesc{ - ExtendedType: (*OtherMessage)(nil), - ExtensionType: ([]*ComplexExtension)(nil), - Field: 201, - Name: "test_proto.r_complex", - Tag: "bytes,201,rep,name=r_complex", - Filename: "test_proto/test.proto", -} - -var E_NoDefaultDouble = &proto.ExtensionDesc{ - ExtendedType: (*DefaultsMessage)(nil), - ExtensionType: (*float64)(nil), - Field: 101, - Name: "test_proto.no_default_double", - Tag: "fixed64,101,opt,name=no_default_double", - Filename: "test_proto/test.proto", -} - -var E_NoDefaultFloat = &proto.ExtensionDesc{ - ExtendedType: (*DefaultsMessage)(nil), - ExtensionType: (*float32)(nil), - Field: 102, - Name: "test_proto.no_default_float", - Tag: "fixed32,102,opt,name=no_default_float", - Filename: "test_proto/test.proto", -} - -var E_NoDefaultInt32 = &proto.ExtensionDesc{ - ExtendedType: (*DefaultsMessage)(nil), - ExtensionType: (*int32)(nil), - Field: 103, - Name: "test_proto.no_default_int32", - Tag: "varint,103,opt,name=no_default_int32", - Filename: "test_proto/test.proto", -} - -var E_NoDefaultInt64 = &proto.ExtensionDesc{ - ExtendedType: (*DefaultsMessage)(nil), - ExtensionType: (*int64)(nil), - Field: 104, - Name: "test_proto.no_default_int64", - Tag: "varint,104,opt,name=no_default_int64", - Filename: "test_proto/test.proto", -} - -var E_NoDefaultUint32 = &proto.ExtensionDesc{ - ExtendedType: (*DefaultsMessage)(nil), - ExtensionType: (*uint32)(nil), - Field: 105, - Name: "test_proto.no_default_uint32", - Tag: "varint,105,opt,name=no_default_uint32", - Filename: "test_proto/test.proto", -} - -var E_NoDefaultUint64 = &proto.ExtensionDesc{ - ExtendedType: (*DefaultsMessage)(nil), - ExtensionType: (*uint64)(nil), - Field: 106, - Name: "test_proto.no_default_uint64", - Tag: "varint,106,opt,name=no_default_uint64", - Filename: "test_proto/test.proto", -} - -var E_NoDefaultSint32 = &proto.ExtensionDesc{ - ExtendedType: (*DefaultsMessage)(nil), - ExtensionType: (*int32)(nil), - Field: 107, - Name: "test_proto.no_default_sint32", - Tag: "zigzag32,107,opt,name=no_default_sint32", - Filename: "test_proto/test.proto", -} - -var E_NoDefaultSint64 = &proto.ExtensionDesc{ - ExtendedType: (*DefaultsMessage)(nil), - ExtensionType: (*int64)(nil), - Field: 108, - Name: "test_proto.no_default_sint64", - Tag: "zigzag64,108,opt,name=no_default_sint64", - Filename: "test_proto/test.proto", -} - -var E_NoDefaultFixed32 = &proto.ExtensionDesc{ - ExtendedType: (*DefaultsMessage)(nil), - ExtensionType: (*uint32)(nil), - Field: 109, - Name: "test_proto.no_default_fixed32", - Tag: "fixed32,109,opt,name=no_default_fixed32", - Filename: "test_proto/test.proto", -} - -var E_NoDefaultFixed64 = &proto.ExtensionDesc{ - ExtendedType: (*DefaultsMessage)(nil), - ExtensionType: (*uint64)(nil), - Field: 110, - Name: "test_proto.no_default_fixed64", - Tag: "fixed64,110,opt,name=no_default_fixed64", - Filename: "test_proto/test.proto", -} - -var E_NoDefaultSfixed32 = &proto.ExtensionDesc{ - ExtendedType: (*DefaultsMessage)(nil), - ExtensionType: (*int32)(nil), - Field: 111, - Name: "test_proto.no_default_sfixed32", - Tag: "fixed32,111,opt,name=no_default_sfixed32", - Filename: "test_proto/test.proto", -} - -var E_NoDefaultSfixed64 = &proto.ExtensionDesc{ - ExtendedType: (*DefaultsMessage)(nil), - ExtensionType: (*int64)(nil), - Field: 112, - Name: "test_proto.no_default_sfixed64", - Tag: "fixed64,112,opt,name=no_default_sfixed64", - Filename: "test_proto/test.proto", -} - -var E_NoDefaultBool = &proto.ExtensionDesc{ - ExtendedType: (*DefaultsMessage)(nil), - ExtensionType: (*bool)(nil), - Field: 113, - Name: "test_proto.no_default_bool", - Tag: "varint,113,opt,name=no_default_bool", - Filename: "test_proto/test.proto", -} - -var E_NoDefaultString = &proto.ExtensionDesc{ - ExtendedType: (*DefaultsMessage)(nil), - ExtensionType: (*string)(nil), - Field: 114, - Name: "test_proto.no_default_string", - Tag: "bytes,114,opt,name=no_default_string", - Filename: "test_proto/test.proto", -} - -var E_NoDefaultBytes = &proto.ExtensionDesc{ - ExtendedType: (*DefaultsMessage)(nil), - ExtensionType: ([]byte)(nil), - Field: 115, - Name: "test_proto.no_default_bytes", - Tag: "bytes,115,opt,name=no_default_bytes", - Filename: "test_proto/test.proto", -} - -var E_NoDefaultEnum = &proto.ExtensionDesc{ - ExtendedType: (*DefaultsMessage)(nil), - ExtensionType: (*DefaultsMessage_DefaultsEnum)(nil), - Field: 116, - Name: "test_proto.no_default_enum", - Tag: "varint,116,opt,name=no_default_enum,enum=test_proto.DefaultsMessage_DefaultsEnum", - Filename: "test_proto/test.proto", -} - -var E_DefaultDouble = &proto.ExtensionDesc{ - ExtendedType: (*DefaultsMessage)(nil), - ExtensionType: (*float64)(nil), - Field: 201, - Name: "test_proto.default_double", - Tag: "fixed64,201,opt,name=default_double,def=3.1415", - Filename: "test_proto/test.proto", -} - -var E_DefaultFloat = &proto.ExtensionDesc{ - ExtendedType: (*DefaultsMessage)(nil), - ExtensionType: (*float32)(nil), - Field: 202, - Name: "test_proto.default_float", - Tag: "fixed32,202,opt,name=default_float,def=3.14", - Filename: "test_proto/test.proto", -} - -var E_DefaultInt32 = &proto.ExtensionDesc{ - ExtendedType: (*DefaultsMessage)(nil), - ExtensionType: (*int32)(nil), - Field: 203, - Name: "test_proto.default_int32", - Tag: "varint,203,opt,name=default_int32,def=42", - Filename: "test_proto/test.proto", -} - -var E_DefaultInt64 = &proto.ExtensionDesc{ - ExtendedType: (*DefaultsMessage)(nil), - ExtensionType: (*int64)(nil), - Field: 204, - Name: "test_proto.default_int64", - Tag: "varint,204,opt,name=default_int64,def=43", - Filename: "test_proto/test.proto", -} - -var E_DefaultUint32 = &proto.ExtensionDesc{ - ExtendedType: (*DefaultsMessage)(nil), - ExtensionType: (*uint32)(nil), - Field: 205, - Name: "test_proto.default_uint32", - Tag: "varint,205,opt,name=default_uint32,def=44", - Filename: "test_proto/test.proto", -} - -var E_DefaultUint64 = &proto.ExtensionDesc{ - ExtendedType: (*DefaultsMessage)(nil), - ExtensionType: (*uint64)(nil), - Field: 206, - Name: "test_proto.default_uint64", - Tag: "varint,206,opt,name=default_uint64,def=45", - Filename: "test_proto/test.proto", -} - -var E_DefaultSint32 = &proto.ExtensionDesc{ - ExtendedType: (*DefaultsMessage)(nil), - ExtensionType: (*int32)(nil), - Field: 207, - Name: "test_proto.default_sint32", - Tag: "zigzag32,207,opt,name=default_sint32,def=46", - Filename: "test_proto/test.proto", -} - -var E_DefaultSint64 = &proto.ExtensionDesc{ - ExtendedType: (*DefaultsMessage)(nil), - ExtensionType: (*int64)(nil), - Field: 208, - Name: "test_proto.default_sint64", - Tag: "zigzag64,208,opt,name=default_sint64,def=47", - Filename: "test_proto/test.proto", -} - -var E_DefaultFixed32 = &proto.ExtensionDesc{ - ExtendedType: (*DefaultsMessage)(nil), - ExtensionType: (*uint32)(nil), - Field: 209, - Name: "test_proto.default_fixed32", - Tag: "fixed32,209,opt,name=default_fixed32,def=48", - Filename: "test_proto/test.proto", -} - -var E_DefaultFixed64 = &proto.ExtensionDesc{ - ExtendedType: (*DefaultsMessage)(nil), - ExtensionType: (*uint64)(nil), - Field: 210, - Name: "test_proto.default_fixed64", - Tag: "fixed64,210,opt,name=default_fixed64,def=49", - Filename: "test_proto/test.proto", -} - -var E_DefaultSfixed32 = &proto.ExtensionDesc{ - ExtendedType: (*DefaultsMessage)(nil), - ExtensionType: (*int32)(nil), - Field: 211, - Name: "test_proto.default_sfixed32", - Tag: "fixed32,211,opt,name=default_sfixed32,def=50", - Filename: "test_proto/test.proto", -} - -var E_DefaultSfixed64 = &proto.ExtensionDesc{ - ExtendedType: (*DefaultsMessage)(nil), - ExtensionType: (*int64)(nil), - Field: 212, - Name: "test_proto.default_sfixed64", - Tag: "fixed64,212,opt,name=default_sfixed64,def=51", - Filename: "test_proto/test.proto", -} - -var E_DefaultBool = &proto.ExtensionDesc{ - ExtendedType: (*DefaultsMessage)(nil), - ExtensionType: (*bool)(nil), - Field: 213, - Name: "test_proto.default_bool", - Tag: "varint,213,opt,name=default_bool,def=1", - Filename: "test_proto/test.proto", -} - -var E_DefaultString = &proto.ExtensionDesc{ - ExtendedType: (*DefaultsMessage)(nil), - ExtensionType: (*string)(nil), - Field: 214, - Name: "test_proto.default_string", - Tag: "bytes,214,opt,name=default_string,def=Hello, string,def=foo", - Filename: "test_proto/test.proto", -} - -var E_DefaultBytes = &proto.ExtensionDesc{ - ExtendedType: (*DefaultsMessage)(nil), - ExtensionType: ([]byte)(nil), - Field: 215, - Name: "test_proto.default_bytes", - Tag: "bytes,215,opt,name=default_bytes,def=Hello, bytes", - Filename: "test_proto/test.proto", -} - -var E_DefaultEnum = &proto.ExtensionDesc{ - ExtendedType: (*DefaultsMessage)(nil), - ExtensionType: (*DefaultsMessage_DefaultsEnum)(nil), - Field: 216, - Name: "test_proto.default_enum", - Tag: "varint,216,opt,name=default_enum,enum=test_proto.DefaultsMessage_DefaultsEnum,def=1", - Filename: "test_proto/test.proto", -} - -var E_X201 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 201, - Name: "test_proto.x201", - Tag: "bytes,201,opt,name=x201", - Filename: "test_proto/test.proto", -} - -var E_X202 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 202, - Name: "test_proto.x202", - Tag: "bytes,202,opt,name=x202", - Filename: "test_proto/test.proto", -} - -var E_X203 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 203, - Name: "test_proto.x203", - Tag: "bytes,203,opt,name=x203", - Filename: "test_proto/test.proto", -} - -var E_X204 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 204, - Name: "test_proto.x204", - Tag: "bytes,204,opt,name=x204", - Filename: "test_proto/test.proto", -} - -var E_X205 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 205, - Name: "test_proto.x205", - Tag: "bytes,205,opt,name=x205", - Filename: "test_proto/test.proto", -} - -var E_X206 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 206, - Name: "test_proto.x206", - Tag: "bytes,206,opt,name=x206", - Filename: "test_proto/test.proto", -} - -var E_X207 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 207, - Name: "test_proto.x207", - Tag: "bytes,207,opt,name=x207", - Filename: "test_proto/test.proto", -} - -var E_X208 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 208, - Name: "test_proto.x208", - Tag: "bytes,208,opt,name=x208", - Filename: "test_proto/test.proto", -} - -var E_X209 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 209, - Name: "test_proto.x209", - Tag: "bytes,209,opt,name=x209", - Filename: "test_proto/test.proto", -} - -var E_X210 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 210, - Name: "test_proto.x210", - Tag: "bytes,210,opt,name=x210", - Filename: "test_proto/test.proto", -} - -var E_X211 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 211, - Name: "test_proto.x211", - Tag: "bytes,211,opt,name=x211", - Filename: "test_proto/test.proto", -} - -var E_X212 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 212, - Name: "test_proto.x212", - Tag: "bytes,212,opt,name=x212", - Filename: "test_proto/test.proto", -} - -var E_X213 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 213, - Name: "test_proto.x213", - Tag: "bytes,213,opt,name=x213", - Filename: "test_proto/test.proto", -} - -var E_X214 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 214, - Name: "test_proto.x214", - Tag: "bytes,214,opt,name=x214", - Filename: "test_proto/test.proto", -} - -var E_X215 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 215, - Name: "test_proto.x215", - Tag: "bytes,215,opt,name=x215", - Filename: "test_proto/test.proto", -} - -var E_X216 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 216, - Name: "test_proto.x216", - Tag: "bytes,216,opt,name=x216", - Filename: "test_proto/test.proto", -} - -var E_X217 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 217, - Name: "test_proto.x217", - Tag: "bytes,217,opt,name=x217", - Filename: "test_proto/test.proto", -} - -var E_X218 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 218, - Name: "test_proto.x218", - Tag: "bytes,218,opt,name=x218", - Filename: "test_proto/test.proto", -} - -var E_X219 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 219, - Name: "test_proto.x219", - Tag: "bytes,219,opt,name=x219", - Filename: "test_proto/test.proto", -} - -var E_X220 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 220, - Name: "test_proto.x220", - Tag: "bytes,220,opt,name=x220", - Filename: "test_proto/test.proto", -} - -var E_X221 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 221, - Name: "test_proto.x221", - Tag: "bytes,221,opt,name=x221", - Filename: "test_proto/test.proto", -} - -var E_X222 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 222, - Name: "test_proto.x222", - Tag: "bytes,222,opt,name=x222", - Filename: "test_proto/test.proto", -} - -var E_X223 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 223, - Name: "test_proto.x223", - Tag: "bytes,223,opt,name=x223", - Filename: "test_proto/test.proto", -} - -var E_X224 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 224, - Name: "test_proto.x224", - Tag: "bytes,224,opt,name=x224", - Filename: "test_proto/test.proto", -} - -var E_X225 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 225, - Name: "test_proto.x225", - Tag: "bytes,225,opt,name=x225", - Filename: "test_proto/test.proto", -} - -var E_X226 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 226, - Name: "test_proto.x226", - Tag: "bytes,226,opt,name=x226", - Filename: "test_proto/test.proto", -} - -var E_X227 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 227, - Name: "test_proto.x227", - Tag: "bytes,227,opt,name=x227", - Filename: "test_proto/test.proto", -} - -var E_X228 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 228, - Name: "test_proto.x228", - Tag: "bytes,228,opt,name=x228", - Filename: "test_proto/test.proto", -} - -var E_X229 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 229, - Name: "test_proto.x229", - Tag: "bytes,229,opt,name=x229", - Filename: "test_proto/test.proto", -} - -var E_X230 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 230, - Name: "test_proto.x230", - Tag: "bytes,230,opt,name=x230", - Filename: "test_proto/test.proto", -} - -var E_X231 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 231, - Name: "test_proto.x231", - Tag: "bytes,231,opt,name=x231", - Filename: "test_proto/test.proto", -} - -var E_X232 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 232, - Name: "test_proto.x232", - Tag: "bytes,232,opt,name=x232", - Filename: "test_proto/test.proto", -} - -var E_X233 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 233, - Name: "test_proto.x233", - Tag: "bytes,233,opt,name=x233", - Filename: "test_proto/test.proto", -} - -var E_X234 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 234, - Name: "test_proto.x234", - Tag: "bytes,234,opt,name=x234", - Filename: "test_proto/test.proto", -} - -var E_X235 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 235, - Name: "test_proto.x235", - Tag: "bytes,235,opt,name=x235", - Filename: "test_proto/test.proto", -} - -var E_X236 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 236, - Name: "test_proto.x236", - Tag: "bytes,236,opt,name=x236", - Filename: "test_proto/test.proto", -} - -var E_X237 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 237, - Name: "test_proto.x237", - Tag: "bytes,237,opt,name=x237", - Filename: "test_proto/test.proto", -} - -var E_X238 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 238, - Name: "test_proto.x238", - Tag: "bytes,238,opt,name=x238", - Filename: "test_proto/test.proto", -} - -var E_X239 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 239, - Name: "test_proto.x239", - Tag: "bytes,239,opt,name=x239", - Filename: "test_proto/test.proto", -} - -var E_X240 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 240, - Name: "test_proto.x240", - Tag: "bytes,240,opt,name=x240", - Filename: "test_proto/test.proto", -} - -var E_X241 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 241, - Name: "test_proto.x241", - Tag: "bytes,241,opt,name=x241", - Filename: "test_proto/test.proto", -} - -var E_X242 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 242, - Name: "test_proto.x242", - Tag: "bytes,242,opt,name=x242", - Filename: "test_proto/test.proto", -} - -var E_X243 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 243, - Name: "test_proto.x243", - Tag: "bytes,243,opt,name=x243", - Filename: "test_proto/test.proto", -} - -var E_X244 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 244, - Name: "test_proto.x244", - Tag: "bytes,244,opt,name=x244", - Filename: "test_proto/test.proto", -} - -var E_X245 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 245, - Name: "test_proto.x245", - Tag: "bytes,245,opt,name=x245", - Filename: "test_proto/test.proto", -} - -var E_X246 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 246, - Name: "test_proto.x246", - Tag: "bytes,246,opt,name=x246", - Filename: "test_proto/test.proto", -} - -var E_X247 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 247, - Name: "test_proto.x247", - Tag: "bytes,247,opt,name=x247", - Filename: "test_proto/test.proto", -} - -var E_X248 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 248, - Name: "test_proto.x248", - Tag: "bytes,248,opt,name=x248", - Filename: "test_proto/test.proto", -} - -var E_X249 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 249, - Name: "test_proto.x249", - Tag: "bytes,249,opt,name=x249", - Filename: "test_proto/test.proto", -} - -var E_X250 = &proto.ExtensionDesc{ - ExtendedType: (*MyMessageSet)(nil), - ExtensionType: (*Empty)(nil), - Field: 250, - Name: "test_proto.x250", - Tag: "bytes,250,opt,name=x250", - Filename: "test_proto/test.proto", -} - -func init() { - proto.RegisterEnum("test_proto.FOO", FOO_name, FOO_value) - proto.RegisterEnum("test_proto.GoTest_KIND", GoTest_KIND_name, GoTest_KIND_value) - proto.RegisterEnum("test_proto.MyMessage_Color", MyMessage_Color_name, MyMessage_Color_value) - proto.RegisterEnum("test_proto.DefaultsMessage_DefaultsEnum", DefaultsMessage_DefaultsEnum_name, DefaultsMessage_DefaultsEnum_value) - proto.RegisterEnum("test_proto.Defaults_Color", Defaults_Color_name, Defaults_Color_value) - proto.RegisterEnum("test_proto.RepeatedEnum_Color", RepeatedEnum_Color_name, RepeatedEnum_Color_value) - proto.RegisterType((*GoEnum)(nil), "test_proto.GoEnum") - proto.RegisterType((*GoTestField)(nil), "test_proto.GoTestField") - proto.RegisterType((*GoTest)(nil), "test_proto.GoTest") - proto.RegisterType((*GoTest_RequiredGroup)(nil), "test_proto.GoTest.RequiredGroup") - proto.RegisterType((*GoTest_RepeatedGroup)(nil), "test_proto.GoTest.RepeatedGroup") - proto.RegisterType((*GoTest_OptionalGroup)(nil), "test_proto.GoTest.OptionalGroup") - proto.RegisterType((*GoTestRequiredGroupField)(nil), "test_proto.GoTestRequiredGroupField") - proto.RegisterType((*GoTestRequiredGroupField_Group)(nil), "test_proto.GoTestRequiredGroupField.Group") - proto.RegisterType((*GoSkipTest)(nil), "test_proto.GoSkipTest") - proto.RegisterType((*GoSkipTest_SkipGroup)(nil), "test_proto.GoSkipTest.SkipGroup") - proto.RegisterType((*NonPackedTest)(nil), "test_proto.NonPackedTest") - proto.RegisterType((*PackedTest)(nil), "test_proto.PackedTest") - proto.RegisterType((*MaxTag)(nil), "test_proto.MaxTag") - proto.RegisterType((*OldMessage)(nil), "test_proto.OldMessage") - proto.RegisterType((*OldMessage_Nested)(nil), "test_proto.OldMessage.Nested") - proto.RegisterType((*NewMessage)(nil), "test_proto.NewMessage") - proto.RegisterType((*NewMessage_Nested)(nil), "test_proto.NewMessage.Nested") - proto.RegisterType((*InnerMessage)(nil), "test_proto.InnerMessage") - proto.RegisterType((*OtherMessage)(nil), "test_proto.OtherMessage") - proto.RegisterType((*RequiredInnerMessage)(nil), "test_proto.RequiredInnerMessage") - proto.RegisterType((*MyMessage)(nil), "test_proto.MyMessage") - proto.RegisterType((*MyMessage_SomeGroup)(nil), "test_proto.MyMessage.SomeGroup") - proto.RegisterExtension(E_Ext_More) - proto.RegisterExtension(E_Ext_Text) - proto.RegisterExtension(E_Ext_Number) - proto.RegisterType((*Ext)(nil), "test_proto.Ext") - proto.RegisterMapType((map[int32]int32)(nil), "test_proto.Ext.MapFieldEntry") - proto.RegisterType((*ComplexExtension)(nil), "test_proto.ComplexExtension") - proto.RegisterType((*DefaultsMessage)(nil), "test_proto.DefaultsMessage") - proto.RegisterType((*MyMessageSet)(nil), "test_proto.MyMessageSet") - proto.RegisterType((*Empty)(nil), "test_proto.Empty") - proto.RegisterType((*MessageList)(nil), "test_proto.MessageList") - proto.RegisterType((*MessageList_Message)(nil), "test_proto.MessageList.Message") - proto.RegisterType((*Strings)(nil), "test_proto.Strings") - proto.RegisterType((*Defaults)(nil), "test_proto.Defaults") - proto.RegisterType((*SubDefaults)(nil), "test_proto.SubDefaults") - proto.RegisterType((*RepeatedEnum)(nil), "test_proto.RepeatedEnum") - proto.RegisterType((*MoreRepeated)(nil), "test_proto.MoreRepeated") - proto.RegisterType((*GroupOld)(nil), "test_proto.GroupOld") - proto.RegisterType((*GroupOld_G)(nil), "test_proto.GroupOld.G") - proto.RegisterType((*GroupNew)(nil), "test_proto.GroupNew") - proto.RegisterType((*GroupNew_G)(nil), "test_proto.GroupNew.G") - proto.RegisterType((*FloatingPoint)(nil), "test_proto.FloatingPoint") - proto.RegisterType((*MessageWithMap)(nil), "test_proto.MessageWithMap") - proto.RegisterMapType((map[bool][]byte)(nil), "test_proto.MessageWithMap.ByteMappingEntry") - proto.RegisterMapType((map[int64]*FloatingPoint)(nil), "test_proto.MessageWithMap.MsgMappingEntry") - proto.RegisterMapType((map[int32]string)(nil), "test_proto.MessageWithMap.NameMappingEntry") - proto.RegisterMapType((map[string]string)(nil), "test_proto.MessageWithMap.StrToStrEntry") - proto.RegisterType((*Oneof)(nil), "test_proto.Oneof") - proto.RegisterType((*Oneof_F_Group)(nil), "test_proto.Oneof.F_Group") - proto.RegisterType((*Communique)(nil), "test_proto.Communique") - proto.RegisterType((*TestUTF8)(nil), "test_proto.TestUTF8") - proto.RegisterMapType((map[string]int64)(nil), "test_proto.TestUTF8.MapKeyEntry") - proto.RegisterMapType((map[int64]string)(nil), "test_proto.TestUTF8.MapValueEntry") - proto.RegisterExtension(E_Greeting) - proto.RegisterExtension(E_Complex) - proto.RegisterExtension(E_RComplex) - proto.RegisterExtension(E_NoDefaultDouble) - proto.RegisterExtension(E_NoDefaultFloat) - proto.RegisterExtension(E_NoDefaultInt32) - proto.RegisterExtension(E_NoDefaultInt64) - proto.RegisterExtension(E_NoDefaultUint32) - proto.RegisterExtension(E_NoDefaultUint64) - proto.RegisterExtension(E_NoDefaultSint32) - proto.RegisterExtension(E_NoDefaultSint64) - proto.RegisterExtension(E_NoDefaultFixed32) - proto.RegisterExtension(E_NoDefaultFixed64) - proto.RegisterExtension(E_NoDefaultSfixed32) - proto.RegisterExtension(E_NoDefaultSfixed64) - proto.RegisterExtension(E_NoDefaultBool) - proto.RegisterExtension(E_NoDefaultString) - proto.RegisterExtension(E_NoDefaultBytes) - proto.RegisterExtension(E_NoDefaultEnum) - proto.RegisterExtension(E_DefaultDouble) - proto.RegisterExtension(E_DefaultFloat) - proto.RegisterExtension(E_DefaultInt32) - proto.RegisterExtension(E_DefaultInt64) - proto.RegisterExtension(E_DefaultUint32) - proto.RegisterExtension(E_DefaultUint64) - proto.RegisterExtension(E_DefaultSint32) - proto.RegisterExtension(E_DefaultSint64) - proto.RegisterExtension(E_DefaultFixed32) - proto.RegisterExtension(E_DefaultFixed64) - proto.RegisterExtension(E_DefaultSfixed32) - proto.RegisterExtension(E_DefaultSfixed64) - proto.RegisterExtension(E_DefaultBool) - proto.RegisterExtension(E_DefaultString) - proto.RegisterExtension(E_DefaultBytes) - proto.RegisterExtension(E_DefaultEnum) - proto.RegisterExtension(E_X201) - proto.RegisterExtension(E_X202) - proto.RegisterExtension(E_X203) - proto.RegisterExtension(E_X204) - proto.RegisterExtension(E_X205) - proto.RegisterExtension(E_X206) - proto.RegisterExtension(E_X207) - proto.RegisterExtension(E_X208) - proto.RegisterExtension(E_X209) - proto.RegisterExtension(E_X210) - proto.RegisterExtension(E_X211) - proto.RegisterExtension(E_X212) - proto.RegisterExtension(E_X213) - proto.RegisterExtension(E_X214) - proto.RegisterExtension(E_X215) - proto.RegisterExtension(E_X216) - proto.RegisterExtension(E_X217) - proto.RegisterExtension(E_X218) - proto.RegisterExtension(E_X219) - proto.RegisterExtension(E_X220) - proto.RegisterExtension(E_X221) - proto.RegisterExtension(E_X222) - proto.RegisterExtension(E_X223) - proto.RegisterExtension(E_X224) - proto.RegisterExtension(E_X225) - proto.RegisterExtension(E_X226) - proto.RegisterExtension(E_X227) - proto.RegisterExtension(E_X228) - proto.RegisterExtension(E_X229) - proto.RegisterExtension(E_X230) - proto.RegisterExtension(E_X231) - proto.RegisterExtension(E_X232) - proto.RegisterExtension(E_X233) - proto.RegisterExtension(E_X234) - proto.RegisterExtension(E_X235) - proto.RegisterExtension(E_X236) - proto.RegisterExtension(E_X237) - proto.RegisterExtension(E_X238) - proto.RegisterExtension(E_X239) - proto.RegisterExtension(E_X240) - proto.RegisterExtension(E_X241) - proto.RegisterExtension(E_X242) - proto.RegisterExtension(E_X243) - proto.RegisterExtension(E_X244) - proto.RegisterExtension(E_X245) - proto.RegisterExtension(E_X246) - proto.RegisterExtension(E_X247) - proto.RegisterExtension(E_X248) - proto.RegisterExtension(E_X249) - proto.RegisterExtension(E_X250) -} - -func init() { proto.RegisterFile("test_proto/test.proto", fileDescriptor_8ca34d01332f1402) } - -var fileDescriptor_8ca34d01332f1402 = []byte{ - // 4795 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x5b, 0xd9, 0x73, 0x1b, 0x47, - 0x7a, 0xd7, 0x0c, 0xee, 0x0f, 0x20, 0x31, 0x6c, 0xc9, 0x12, 0x44, 0x59, 0xd2, 0x08, 0x6b, 0xaf, - 0x61, 0xc9, 0xa2, 0x48, 0x60, 0x08, 0x49, 0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3a, 0xac, 0x49, 0x0e, 0x3e, - 0xaf, 0xc7, 0x42, 0x9a, 0x8c, 0x62, 0x45, 0xe2, 0x45, 0x3d, 0x16, 0xd2, 0xa4, 0x38, 0x3b, 0x4f, - 0x93, 0x1c, 0x7a, 0x41, 0x8f, 0x89, 0x9a, 0x14, 0x59, 0x7d, 0x4d, 0x72, 0xe8, 0xf3, 0x7a, 0x2c, - 0xa4, 0x49, 0x11, 0xeb, 0x6b, 0x92, 0x63, 0x2f, 0xea, 0xb1, 0x90, 0x26, 0x39, 0xf6, 0x65, 0x51, - 0x93, 0x1c, 0xfa, 0x81, 0xa2, 0xc7, 0x44, 0x51, 0x72, 0xe8, 0xb5, 0x90, 0x28, 0x39, 0xf6, 0x43, - 0x8a, 0x15, 0x55, 0x19, 0x05, 0x8b, 0xab, 0xf0, 0x11, 0x05, 0x8b, 0xb2, 0xe4, 0xe0, 0x1b, 0x11, - 0x59, 0x72, 0xf8, 0xc7, 0x14, 0x1e, 0xd6, 0xe5, 0xb4, 0x81, 0xc8, 0xff, 0x09, 0x35, 0x08, 0x0b, - 0x93, 0x1b, 0x04, 0xc2, 0x74, 0xb8, 0x13, 0x2d, 0x5c, 0xd2, 0x15, 0x5f, 0x98, 0x9e, 0x67, 0x15, - 0x85, 0xe9, 0x03, 0x2f, 0x63, 0xc8, 0xe0, 0xc2, 0x9c, 0x42, 0x56, 0x8d, 0x00, 0xa9, 0xeb, 0x4a, - 0x20, 0x4c, 0x1f, 0x19, 0x12, 0xa6, 0x8f, 0xbd, 0xa2, 0x2b, 0xa2, 0x30, 0x67, 0xa0, 0x45, 0xe6, - 0xa2, 0xae, 0x88, 0xc2, 0xf4, 0xd1, 0xa2, 0x30, 0x7d, 0xf0, 0x17, 0x74, 0x45, 0x10, 0xe6, 0x34, - 0x56, 0x24, 0x7e, 0x41, 0x57, 0x04, 0x61, 0x86, 0x67, 0xc7, 0x84, 0xe9, 0x43, 0x5f, 0xd4, 0x95, - 0x40, 0x98, 0x61, 0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x94, 0x65, 0x67, 0x63, 0x73, 0x4d, 0x4b, 0x51, - 0xe4, 0xce, 0xdb, 0x8f, 0x1e, 0xae, 0x69, 0x69, 0xfa, 0x78, 0xc7, 0x34, 0xef, 0x7c, 0x49, 0xcb, - 0x50, 0xa3, 0xcd, 0x3b, 0x8f, 0x34, 0xc0, 0xe6, 0x3b, 0x77, 0x1f, 0xae, 0x69, 0x59, 0x92, 0x83, - 0x74, 0xfd, 0xed, 0xad, 0x7b, 0x3b, 0x1b, 0x8d, 0x2d, 0x2d, 0x57, 0xfc, 0x45, 0x28, 0xb0, 0x65, - 0x0e, 0xad, 0x22, 0xbb, 0x32, 0x78, 0x03, 0x12, 0x6c, 0x6f, 0x14, 0xd4, 0xca, 0xd5, 0xe9, 0xbd, - 0x99, 0x36, 0x5a, 0x62, 0xbb, 0xc4, 0x0c, 0x17, 0x2f, 0x42, 0x82, 0xad, 0xd3, 0x19, 0x48, 0xb0, - 0xf5, 0x51, 0xf1, 0x2a, 0x81, 0x15, 0x8a, 0xbf, 0xa5, 0x02, 0xac, 0x3b, 0xdb, 0x4f, 0x7a, 0x43, - 0xbc, 0xb8, 0xb9, 0x08, 0x30, 0x7e, 0xd2, 0x1b, 0x36, 0xf1, 0x0d, 0xe4, 0x97, 0x0e, 0x19, 0x5a, - 0x83, 0xbe, 0x97, 0x5c, 0x81, 0x1c, 0x36, 0xf3, 0x57, 0x04, 0xef, 0x1a, 0x52, 0x66, 0x96, 0xd6, - 0x71, 0x27, 0x19, 0x86, 0x54, 0x0d, 0xbc, 0x62, 0x48, 0x0a, 0x90, 0xaa, 0x41, 0x2e, 0x03, 0x16, - 0x9b, 0x63, 0x8c, 0xa6, 0x78, 0xad, 0x90, 0x31, 0xb1, 0x5f, 0x16, 0x5f, 0xc9, 0xeb, 0x80, 0x7d, - 0xb2, 0x99, 0xe7, 0x67, 0xbd, 0x25, 0xde, 0x80, 0x97, 0xe8, 0x03, 0x9b, 0x6f, 0x60, 0xb2, 0xd8, - 0x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0f, 0x0b, 0x38, 0x33, 0x88, 0x8e, 0x1a, 0xd0, - 0x97, 0xd9, 0x77, 0x1e, 0x21, 0xa2, 0xa9, 0x11, 0x8d, 0x8f, 0x31, 0xa2, 0x27, 0xec, 0xb3, 0x0a, - 0x9f, 0x68, 0x7b, 0xd6, 0x88, 0xc6, 0xc7, 0x18, 0x51, 0x9f, 0x7d, 0x72, 0x11, 0x22, 0xaa, 0x1a, - 0xb5, 0x0d, 0x20, 0xe2, 0xc6, 0xf3, 0xe8, 0x2c, 0x65, 0x1a, 0xb0, 0x4f, 0x69, 0x82, 0xad, 0x67, - 0x46, 0xb3, 0xa8, 0x8e, 0x1a, 0x94, 0xcd, 0xbe, 0xb3, 0x09, 0x53, 0x55, 0x8d, 0xda, 0x03, 0x38, - 0x2d, 0x4e, 0xef, 0x58, 0xc3, 0x72, 0xd8, 0x47, 0x22, 0xc1, 0x04, 0xb9, 0xd5, 0x4c, 0xb2, 0xa3, - 0x06, 0x36, 0x64, 0x1f, 0x90, 0x44, 0xc8, 0xaa, 0x46, 0xed, 0x1e, 0xe4, 0x05, 0xb2, 0x5d, 0xbc, - 0x57, 0x90, 0x11, 0xbd, 0xc7, 0x3e, 0x7b, 0xf2, 0x89, 0x68, 0x46, 0x15, 0xdd, 0x3d, 0x96, 0x63, - 0x48, 0x69, 0x46, 0xec, 0xab, 0x9d, 0x60, 0x3c, 0x68, 0x13, 0x79, 0x51, 0x76, 0x59, 0x42, 0x22, - 0xe3, 0x19, 0xb3, 0x2f, 0x7a, 0x82, 0xe1, 0x50, 0x93, 0xda, 0x20, 0x34, 0x29, 0x8b, 0xa6, 0x19, - 0x52, 0x16, 0x17, 0x23, 0x62, 0x49, 0x02, 0x59, 0x12, 0xaf, 0xaf, 0x84, 0xe9, 0xd3, 0x62, 0xed, - 0x01, 0xcc, 0x9f, 0xc4, 0x65, 0x7d, 0xa0, 0xb0, 0xbb, 0x8c, 0xca, 0xd2, 0x8a, 0xb1, 0xb2, 0x6a, - 0x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, 0x20, 0xd3, 0xe4, 0x67, 0x52, 0x06, - 0xae, 0xc9, 0x15, 0x99, 0x26, 0xbf, 0x25, 0x65, 0xe0, 0x9a, 0x5c, 0x91, 0x69, 0xf2, 0xdb, 0x52, - 0x06, 0xae, 0xc9, 0x15, 0x99, 0x26, 0xbf, 0x23, 0x65, 0xe0, 0x9a, 0x5c, 0x91, 0x69, 0xf2, 0xbb, - 0x52, 0x06, 0xae, 0xc9, 0x15, 0x99, 0x26, 0xbf, 0x27, 0x65, 0xe0, 0x9a, 0x5c, 0x91, 0x69, 0xf2, - 0x4f, 0xa4, 0x0c, 0x5c, 0x93, 0x2b, 0x32, 0x4d, 0xfe, 0xa9, 0x94, 0x81, 0x6b, 0x72, 0x45, 0xa6, - 0xc9, 0x3f, 0x93, 0x32, 0x70, 0x4d, 0x96, 0x65, 0x9a, 0xfc, 0xbe, 0x8c, 0xa1, 0xcc, 0x35, 0x59, - 0x96, 0x69, 0xf2, 0xcf, 0xa5, 0x0c, 0x5c, 0x93, 0x65, 0x99, 0x26, 0xff, 0x42, 0xca, 0xc0, 0x35, - 0x59, 0x96, 0x69, 0xf2, 0x07, 0x52, 0x06, 0xae, 0xc9, 0xb2, 0x4c, 0x93, 0x7f, 0x29, 0x65, 0xe0, - 0x9a, 0x2c, 0xcb, 0x34, 0xf9, 0x57, 0x52, 0x06, 0xae, 0xc9, 0xb2, 0x4c, 0x93, 0x7f, 0x2d, 0x65, - 0xe0, 0x9a, 0x2c, 0xcb, 0x34, 0xf9, 0x37, 0x52, 0x06, 0xae, 0xc9, 0xb2, 0x4c, 0x93, 0x7f, 0x2b, - 0x65, 0xe0, 0x9a, 0x2c, 0xcb, 0x34, 0xf9, 0x77, 0x52, 0x06, 0xae, 0xc9, 0x8a, 0x4c, 0x93, 0x7f, - 0x2f, 0x63, 0xa8, 0x70, 0x4d, 0x56, 0x64, 0x9a, 0xfc, 0x07, 0x29, 0x03, 0xd7, 0x64, 0x45, 0xa6, - 0xc9, 0x7f, 0x94, 0x32, 0x70, 0x4d, 0x56, 0x64, 0x9a, 0xfc, 0x27, 0x29, 0x03, 0xd7, 0x64, 0x45, - 0xa6, 0xc9, 0x7f, 0x96, 0x32, 0x70, 0x4d, 0x56, 0x64, 0x9a, 0xfc, 0x17, 0x29, 0x03, 0xd7, 0x64, - 0x45, 0xa6, 0xc9, 0x7f, 0x95, 0x32, 0x70, 0x4d, 0x56, 0x64, 0x9a, 0xfc, 0x37, 0x29, 0x03, 0xd7, - 0x64, 0x45, 0xa6, 0xc9, 0x1f, 0x4a, 0x19, 0xb8, 0x26, 0x2b, 0x32, 0x4d, 0xfe, 0xbb, 0x94, 0x81, - 0x6b, 0xd2, 0x90, 0x69, 0xf2, 0x3f, 0x64, 0x0c, 0x06, 0xd7, 0xa4, 0x21, 0xd3, 0xe4, 0x7f, 0x4a, - 0x19, 0xb8, 0x26, 0x0d, 0x99, 0x26, 0xff, 0x4b, 0xca, 0xc0, 0x35, 0x69, 0xc8, 0x34, 0xf9, 0xdf, - 0x52, 0x06, 0xae, 0x49, 0x43, 0xa6, 0xc9, 0xff, 0x91, 0x32, 0x70, 0x4d, 0x1a, 0x32, 0x4d, 0xfe, - 0xaf, 0x94, 0x81, 0x6b, 0xd2, 0x90, 0x69, 0xf2, 0x47, 0x52, 0x06, 0xae, 0x49, 0x43, 0xa6, 0xc9, - 0x1f, 0x4b, 0x19, 0xb8, 0x26, 0x0d, 0x99, 0x26, 0x7f, 0x22, 0x65, 0xe0, 0x9a, 0x34, 0x64, 0x9a, - 0xfc, 0xa9, 0x94, 0x81, 0x6b, 0x72, 0x55, 0xa6, 0xc9, 0xff, 0x93, 0x31, 0xac, 0x2e, 0xdf, 0xbd, - 0xfe, 0xf8, 0x5a, 0xb7, 0xe7, 0xee, 0x4f, 0x76, 0x97, 0xf6, 0x9c, 0xc1, 0x8d, 0xae, 0xd3, 0x6f, - 0xd9, 0xdd, 0x1b, 0x08, 0xdb, 0x9d, 0x74, 0x6e, 0x04, 0xff, 0xcc, 0xce, 0x4c, 0xff, 0x3f, 0x00, - 0x00, 0xff, 0xff, 0x8e, 0xb4, 0x0c, 0xbd, 0xe4, 0x3e, 0x00, 0x00, -} diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/descriptor/descriptor.pb.go b/vendor/github.com/golang/protobuf/protoc-gen-go/descriptor/descriptor.pb.go deleted file mode 100644 index 1ded05bb..00000000 --- a/vendor/github.com/golang/protobuf/protoc-gen-go/descriptor/descriptor.pb.go +++ /dev/null @@ -1,2887 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/protobuf/descriptor.proto - -package descriptor - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type FieldDescriptorProto_Type int32 - -const ( - // 0 is reserved for errors. - // Order is weird for historical reasons. - FieldDescriptorProto_TYPE_DOUBLE FieldDescriptorProto_Type = 1 - FieldDescriptorProto_TYPE_FLOAT FieldDescriptorProto_Type = 2 - // Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if - // negative values are likely. - FieldDescriptorProto_TYPE_INT64 FieldDescriptorProto_Type = 3 - FieldDescriptorProto_TYPE_UINT64 FieldDescriptorProto_Type = 4 - // Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if - // negative values are likely. - FieldDescriptorProto_TYPE_INT32 FieldDescriptorProto_Type = 5 - FieldDescriptorProto_TYPE_FIXED64 FieldDescriptorProto_Type = 6 - FieldDescriptorProto_TYPE_FIXED32 FieldDescriptorProto_Type = 7 - FieldDescriptorProto_TYPE_BOOL FieldDescriptorProto_Type = 8 - FieldDescriptorProto_TYPE_STRING FieldDescriptorProto_Type = 9 - // Tag-delimited aggregate. - // Group type is deprecated and not supported in proto3. However, Proto3 - // implementations should still be able to parse the group wire format and - // treat group fields as unknown fields. - FieldDescriptorProto_TYPE_GROUP FieldDescriptorProto_Type = 10 - FieldDescriptorProto_TYPE_MESSAGE FieldDescriptorProto_Type = 11 - // New in version 2. - FieldDescriptorProto_TYPE_BYTES FieldDescriptorProto_Type = 12 - FieldDescriptorProto_TYPE_UINT32 FieldDescriptorProto_Type = 13 - FieldDescriptorProto_TYPE_ENUM FieldDescriptorProto_Type = 14 - FieldDescriptorProto_TYPE_SFIXED32 FieldDescriptorProto_Type = 15 - FieldDescriptorProto_TYPE_SFIXED64 FieldDescriptorProto_Type = 16 - FieldDescriptorProto_TYPE_SINT32 FieldDescriptorProto_Type = 17 - FieldDescriptorProto_TYPE_SINT64 FieldDescriptorProto_Type = 18 -) - -var FieldDescriptorProto_Type_name = map[int32]string{ - 1: "TYPE_DOUBLE", - 2: "TYPE_FLOAT", - 3: "TYPE_INT64", - 4: "TYPE_UINT64", - 5: "TYPE_INT32", - 6: "TYPE_FIXED64", - 7: "TYPE_FIXED32", - 8: "TYPE_BOOL", - 9: "TYPE_STRING", - 10: "TYPE_GROUP", - 11: "TYPE_MESSAGE", - 12: "TYPE_BYTES", - 13: "TYPE_UINT32", - 14: "TYPE_ENUM", - 15: "TYPE_SFIXED32", - 16: "TYPE_SFIXED64", - 17: "TYPE_SINT32", - 18: "TYPE_SINT64", -} - -var FieldDescriptorProto_Type_value = map[string]int32{ - "TYPE_DOUBLE": 1, - "TYPE_FLOAT": 2, - "TYPE_INT64": 3, - "TYPE_UINT64": 4, - "TYPE_INT32": 5, - "TYPE_FIXED64": 6, - "TYPE_FIXED32": 7, - "TYPE_BOOL": 8, - "TYPE_STRING": 9, - "TYPE_GROUP": 10, - "TYPE_MESSAGE": 11, - "TYPE_BYTES": 12, - "TYPE_UINT32": 13, - "TYPE_ENUM": 14, - "TYPE_SFIXED32": 15, - "TYPE_SFIXED64": 16, - "TYPE_SINT32": 17, - "TYPE_SINT64": 18, -} - -func (x FieldDescriptorProto_Type) Enum() *FieldDescriptorProto_Type { - p := new(FieldDescriptorProto_Type) - *p = x - return p -} - -func (x FieldDescriptorProto_Type) String() string { - return proto.EnumName(FieldDescriptorProto_Type_name, int32(x)) -} - -func (x *FieldDescriptorProto_Type) UnmarshalJSON(data []byte) error { - value, err := proto.UnmarshalJSONEnum(FieldDescriptorProto_Type_value, data, "FieldDescriptorProto_Type") - if err != nil { - return err - } - *x = FieldDescriptorProto_Type(value) - return nil -} - -func (FieldDescriptorProto_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e5baabe45344a177, []int{4, 0} -} - -type FieldDescriptorProto_Label int32 - -const ( - // 0 is reserved for errors - FieldDescriptorProto_LABEL_OPTIONAL FieldDescriptorProto_Label = 1 - FieldDescriptorProto_LABEL_REQUIRED FieldDescriptorProto_Label = 2 - FieldDescriptorProto_LABEL_REPEATED FieldDescriptorProto_Label = 3 -) - -var FieldDescriptorProto_Label_name = map[int32]string{ - 1: "LABEL_OPTIONAL", - 2: "LABEL_REQUIRED", - 3: "LABEL_REPEATED", -} - -var FieldDescriptorProto_Label_value = map[string]int32{ - "LABEL_OPTIONAL": 1, - "LABEL_REQUIRED": 2, - "LABEL_REPEATED": 3, -} - -func (x FieldDescriptorProto_Label) Enum() *FieldDescriptorProto_Label { - p := new(FieldDescriptorProto_Label) - *p = x - return p -} - -func (x FieldDescriptorProto_Label) String() string { - return proto.EnumName(FieldDescriptorProto_Label_name, int32(x)) -} - -func (x *FieldDescriptorProto_Label) UnmarshalJSON(data []byte) error { - value, err := proto.UnmarshalJSONEnum(FieldDescriptorProto_Label_value, data, "FieldDescriptorProto_Label") - if err != nil { - return err - } - *x = FieldDescriptorProto_Label(value) - return nil -} - -func (FieldDescriptorProto_Label) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e5baabe45344a177, []int{4, 1} -} - -// Generated classes can be optimized for speed or code size. -type FileOptions_OptimizeMode int32 - -const ( - FileOptions_SPEED FileOptions_OptimizeMode = 1 - // etc. - FileOptions_CODE_SIZE FileOptions_OptimizeMode = 2 - FileOptions_LITE_RUNTIME FileOptions_OptimizeMode = 3 -) - -var FileOptions_OptimizeMode_name = map[int32]string{ - 1: "SPEED", - 2: "CODE_SIZE", - 3: "LITE_RUNTIME", -} - -var FileOptions_OptimizeMode_value = map[string]int32{ - "SPEED": 1, - "CODE_SIZE": 2, - "LITE_RUNTIME": 3, -} - -func (x FileOptions_OptimizeMode) Enum() *FileOptions_OptimizeMode { - p := new(FileOptions_OptimizeMode) - *p = x - return p -} - -func (x FileOptions_OptimizeMode) String() string { - return proto.EnumName(FileOptions_OptimizeMode_name, int32(x)) -} - -func (x *FileOptions_OptimizeMode) UnmarshalJSON(data []byte) error { - value, err := proto.UnmarshalJSONEnum(FileOptions_OptimizeMode_value, data, "FileOptions_OptimizeMode") - if err != nil { - return err - } - *x = FileOptions_OptimizeMode(value) - return nil -} - -func (FileOptions_OptimizeMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e5baabe45344a177, []int{10, 0} -} - -type FieldOptions_CType int32 - -const ( - // Default mode. - FieldOptions_STRING FieldOptions_CType = 0 - FieldOptions_CORD FieldOptions_CType = 1 - FieldOptions_STRING_PIECE FieldOptions_CType = 2 -) - -var FieldOptions_CType_name = map[int32]string{ - 0: "STRING", - 1: "CORD", - 2: "STRING_PIECE", -} - -var FieldOptions_CType_value = map[string]int32{ - "STRING": 0, - "CORD": 1, - "STRING_PIECE": 2, -} - -func (x FieldOptions_CType) Enum() *FieldOptions_CType { - p := new(FieldOptions_CType) - *p = x - return p -} - -func (x FieldOptions_CType) String() string { - return proto.EnumName(FieldOptions_CType_name, int32(x)) -} - -func (x *FieldOptions_CType) UnmarshalJSON(data []byte) error { - value, err := proto.UnmarshalJSONEnum(FieldOptions_CType_value, data, "FieldOptions_CType") - if err != nil { - return err - } - *x = FieldOptions_CType(value) - return nil -} - -func (FieldOptions_CType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e5baabe45344a177, []int{12, 0} -} - -type FieldOptions_JSType int32 - -const ( - // Use the default type. - FieldOptions_JS_NORMAL FieldOptions_JSType = 0 - // Use JavaScript strings. - FieldOptions_JS_STRING FieldOptions_JSType = 1 - // Use JavaScript numbers. - FieldOptions_JS_NUMBER FieldOptions_JSType = 2 -) - -var FieldOptions_JSType_name = map[int32]string{ - 0: "JS_NORMAL", - 1: "JS_STRING", - 2: "JS_NUMBER", -} - -var FieldOptions_JSType_value = map[string]int32{ - "JS_NORMAL": 0, - "JS_STRING": 1, - "JS_NUMBER": 2, -} - -func (x FieldOptions_JSType) Enum() *FieldOptions_JSType { - p := new(FieldOptions_JSType) - *p = x - return p -} - -func (x FieldOptions_JSType) String() string { - return proto.EnumName(FieldOptions_JSType_name, int32(x)) -} - -func (x *FieldOptions_JSType) UnmarshalJSON(data []byte) error { - value, err := proto.UnmarshalJSONEnum(FieldOptions_JSType_value, data, "FieldOptions_JSType") - if err != nil { - return err - } - *x = FieldOptions_JSType(value) - return nil -} - -func (FieldOptions_JSType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e5baabe45344a177, []int{12, 1} -} - -// Is this method side-effect-free (or safe in HTTP parlance), or idempotent, -// or neither? HTTP based RPC implementation may choose GET verb for safe -// methods, and PUT verb for idempotent methods instead of the default POST. -type MethodOptions_IdempotencyLevel int32 - -const ( - MethodOptions_IDEMPOTENCY_UNKNOWN MethodOptions_IdempotencyLevel = 0 - MethodOptions_NO_SIDE_EFFECTS MethodOptions_IdempotencyLevel = 1 - MethodOptions_IDEMPOTENT MethodOptions_IdempotencyLevel = 2 -) - -var MethodOptions_IdempotencyLevel_name = map[int32]string{ - 0: "IDEMPOTENCY_UNKNOWN", - 1: "NO_SIDE_EFFECTS", - 2: "IDEMPOTENT", -} - -var MethodOptions_IdempotencyLevel_value = map[string]int32{ - "IDEMPOTENCY_UNKNOWN": 0, - "NO_SIDE_EFFECTS": 1, - "IDEMPOTENT": 2, -} - -func (x MethodOptions_IdempotencyLevel) Enum() *MethodOptions_IdempotencyLevel { - p := new(MethodOptions_IdempotencyLevel) - *p = x - return p -} - -func (x MethodOptions_IdempotencyLevel) String() string { - return proto.EnumName(MethodOptions_IdempotencyLevel_name, int32(x)) -} - -func (x *MethodOptions_IdempotencyLevel) UnmarshalJSON(data []byte) error { - value, err := proto.UnmarshalJSONEnum(MethodOptions_IdempotencyLevel_value, data, "MethodOptions_IdempotencyLevel") - if err != nil { - return err - } - *x = MethodOptions_IdempotencyLevel(value) - return nil -} - -func (MethodOptions_IdempotencyLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e5baabe45344a177, []int{17, 0} -} - -// The protocol compiler can output a FileDescriptorSet containing the .proto -// files it parses. -type FileDescriptorSet struct { - File []*FileDescriptorProto `protobuf:"bytes,1,rep,name=file" json:"file,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FileDescriptorSet) Reset() { *m = FileDescriptorSet{} } -func (m *FileDescriptorSet) String() string { return proto.CompactTextString(m) } -func (*FileDescriptorSet) ProtoMessage() {} -func (*FileDescriptorSet) Descriptor() ([]byte, []int) { - return fileDescriptor_e5baabe45344a177, []int{0} -} - -func (m *FileDescriptorSet) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FileDescriptorSet.Unmarshal(m, b) -} -func (m *FileDescriptorSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FileDescriptorSet.Marshal(b, m, deterministic) -} -func (m *FileDescriptorSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_FileDescriptorSet.Merge(m, src) -} -func (m *FileDescriptorSet) XXX_Size() int { - return xxx_messageInfo_FileDescriptorSet.Size(m) -} -func (m *FileDescriptorSet) XXX_DiscardUnknown() { - xxx_messageInfo_FileDescriptorSet.DiscardUnknown(m) -} - -var xxx_messageInfo_FileDescriptorSet proto.InternalMessageInfo - -func (m *FileDescriptorSet) GetFile() []*FileDescriptorProto { - if m != nil { - return m.File - } - return nil -} - -// Describes a complete .proto file. -type FileDescriptorProto struct { - Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - Package *string `protobuf:"bytes,2,opt,name=package" json:"package,omitempty"` - // Names of files imported by this file. - Dependency []string `protobuf:"bytes,3,rep,name=dependency" json:"dependency,omitempty"` - // Indexes of the public imported files in the dependency list above. - PublicDependency []int32 `protobuf:"varint,10,rep,name=public_dependency,json=publicDependency" json:"public_dependency,omitempty"` - // Indexes of the weak imported files in the dependency list. - // For Google-internal migration only. Do not use. - WeakDependency []int32 `protobuf:"varint,11,rep,name=weak_dependency,json=weakDependency" json:"weak_dependency,omitempty"` - // All top-level definitions in this file. - MessageType []*DescriptorProto `protobuf:"bytes,4,rep,name=message_type,json=messageType" json:"message_type,omitempty"` - EnumType []*EnumDescriptorProto `protobuf:"bytes,5,rep,name=enum_type,json=enumType" json:"enum_type,omitempty"` - Service []*ServiceDescriptorProto `protobuf:"bytes,6,rep,name=service" json:"service,omitempty"` - Extension []*FieldDescriptorProto `protobuf:"bytes,7,rep,name=extension" json:"extension,omitempty"` - Options *FileOptions `protobuf:"bytes,8,opt,name=options" json:"options,omitempty"` - // This field contains optional information about the original source code. - // You may safely remove this entire field without harming runtime - // functionality of the descriptors -- the information is needed only by - // development tools. - SourceCodeInfo *SourceCodeInfo `protobuf:"bytes,9,opt,name=source_code_info,json=sourceCodeInfo" json:"source_code_info,omitempty"` - // The syntax of the proto file. - // The supported values are "proto2" and "proto3". - Syntax *string `protobuf:"bytes,12,opt,name=syntax" json:"syntax,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FileDescriptorProto) Reset() { *m = FileDescriptorProto{} } -func (m *FileDescriptorProto) String() string { return proto.CompactTextString(m) } -func (*FileDescriptorProto) ProtoMessage() {} -func (*FileDescriptorProto) Descriptor() ([]byte, []int) { - return fileDescriptor_e5baabe45344a177, []int{1} -} - -func (m *FileDescriptorProto) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FileDescriptorProto.Unmarshal(m, b) -} -func (m *FileDescriptorProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FileDescriptorProto.Marshal(b, m, deterministic) -} -func (m *FileDescriptorProto) XXX_Merge(src proto.Message) { - xxx_messageInfo_FileDescriptorProto.Merge(m, src) -} -func (m *FileDescriptorProto) XXX_Size() int { - return xxx_messageInfo_FileDescriptorProto.Size(m) -} -func (m *FileDescriptorProto) XXX_DiscardUnknown() { - xxx_messageInfo_FileDescriptorProto.DiscardUnknown(m) -} - -var xxx_messageInfo_FileDescriptorProto proto.InternalMessageInfo - -func (m *FileDescriptorProto) GetName() string { - if m != nil && m.Name != nil { - return *m.Name - } - return "" -} - -func (m *FileDescriptorProto) GetPackage() string { - if m != nil && m.Package != nil { - return *m.Package - } - return "" -} - -func (m *FileDescriptorProto) GetDependency() []string { - if m != nil { - return m.Dependency - } - return nil -} - -func (m *FileDescriptorProto) GetPublicDependency() []int32 { - if m != nil { - return m.PublicDependency - } - return nil -} - -func (m *FileDescriptorProto) GetWeakDependency() []int32 { - if m != nil { - return m.WeakDependency - } - return nil -} - -func (m *FileDescriptorProto) GetMessageType() []*DescriptorProto { - if m != nil { - return m.MessageType - } - return nil -} - -func (m *FileDescriptorProto) GetEnumType() []*EnumDescriptorProto { - if m != nil { - return m.EnumType - } - return nil -} - -func (m *FileDescriptorProto) GetService() []*ServiceDescriptorProto { - if m != nil { - return m.Service - } - return nil -} - -func (m *FileDescriptorProto) GetExtension() []*FieldDescriptorProto { - if m != nil { - return m.Extension - } - return nil -} - -func (m *FileDescriptorProto) GetOptions() *FileOptions { - if m != nil { - return m.Options - } - return nil -} - -func (m *FileDescriptorProto) GetSourceCodeInfo() *SourceCodeInfo { - if m != nil { - return m.SourceCodeInfo - } - return nil -} - -func (m *FileDescriptorProto) GetSyntax() string { - if m != nil && m.Syntax != nil { - return *m.Syntax - } - return "" -} - -// Describes a message type. -type DescriptorProto struct { - Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - Field []*FieldDescriptorProto `protobuf:"bytes,2,rep,name=field" json:"field,omitempty"` - Extension []*FieldDescriptorProto `protobuf:"bytes,6,rep,name=extension" json:"extension,omitempty"` - NestedType []*DescriptorProto `protobuf:"bytes,3,rep,name=nested_type,json=nestedType" json:"nested_type,omitempty"` - EnumType []*EnumDescriptorProto `protobuf:"bytes,4,rep,name=enum_type,json=enumType" json:"enum_type,omitempty"` - ExtensionRange []*DescriptorProto_ExtensionRange `protobuf:"bytes,5,rep,name=extension_range,json=extensionRange" json:"extension_range,omitempty"` - OneofDecl []*OneofDescriptorProto `protobuf:"bytes,8,rep,name=oneof_decl,json=oneofDecl" json:"oneof_decl,omitempty"` - Options *MessageOptions `protobuf:"bytes,7,opt,name=options" json:"options,omitempty"` - ReservedRange []*DescriptorProto_ReservedRange `protobuf:"bytes,9,rep,name=reserved_range,json=reservedRange" json:"reserved_range,omitempty"` - // Reserved field names, which may not be used by fields in the same message. - // A given name may only be reserved once. - ReservedName []string `protobuf:"bytes,10,rep,name=reserved_name,json=reservedName" json:"reserved_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DescriptorProto) Reset() { *m = DescriptorProto{} } -func (m *DescriptorProto) String() string { return proto.CompactTextString(m) } -func (*DescriptorProto) ProtoMessage() {} -func (*DescriptorProto) Descriptor() ([]byte, []int) { - return fileDescriptor_e5baabe45344a177, []int{2} -} - -func (m *DescriptorProto) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DescriptorProto.Unmarshal(m, b) -} -func (m *DescriptorProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DescriptorProto.Marshal(b, m, deterministic) -} -func (m *DescriptorProto) XXX_Merge(src proto.Message) { - xxx_messageInfo_DescriptorProto.Merge(m, src) -} -func (m *DescriptorProto) XXX_Size() int { - return xxx_messageInfo_DescriptorProto.Size(m) -} -func (m *DescriptorProto) XXX_DiscardUnknown() { - xxx_messageInfo_DescriptorProto.DiscardUnknown(m) -} - -var xxx_messageInfo_DescriptorProto proto.InternalMessageInfo - -func (m *DescriptorProto) GetName() string { - if m != nil && m.Name != nil { - return *m.Name - } - return "" -} - -func (m *DescriptorProto) GetField() []*FieldDescriptorProto { - if m != nil { - return m.Field - } - return nil -} - -func (m *DescriptorProto) GetExtension() []*FieldDescriptorProto { - if m != nil { - return m.Extension - } - return nil -} - -func (m *DescriptorProto) GetNestedType() []*DescriptorProto { - if m != nil { - return m.NestedType - } - return nil -} - -func (m *DescriptorProto) GetEnumType() []*EnumDescriptorProto { - if m != nil { - return m.EnumType - } - return nil -} - -func (m *DescriptorProto) GetExtensionRange() []*DescriptorProto_ExtensionRange { - if m != nil { - return m.ExtensionRange - } - return nil -} - -func (m *DescriptorProto) GetOneofDecl() []*OneofDescriptorProto { - if m != nil { - return m.OneofDecl - } - return nil -} - -func (m *DescriptorProto) GetOptions() *MessageOptions { - if m != nil { - return m.Options - } - return nil -} - -func (m *DescriptorProto) GetReservedRange() []*DescriptorProto_ReservedRange { - if m != nil { - return m.ReservedRange - } - return nil -} - -func (m *DescriptorProto) GetReservedName() []string { - if m != nil { - return m.ReservedName - } - return nil -} - -type DescriptorProto_ExtensionRange struct { - Start *int32 `protobuf:"varint,1,opt,name=start" json:"start,omitempty"` - End *int32 `protobuf:"varint,2,opt,name=end" json:"end,omitempty"` - Options *ExtensionRangeOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DescriptorProto_ExtensionRange) Reset() { *m = DescriptorProto_ExtensionRange{} } -func (m *DescriptorProto_ExtensionRange) String() string { return proto.CompactTextString(m) } -func (*DescriptorProto_ExtensionRange) ProtoMessage() {} -func (*DescriptorProto_ExtensionRange) Descriptor() ([]byte, []int) { - return fileDescriptor_e5baabe45344a177, []int{2, 0} -} - -func (m *DescriptorProto_ExtensionRange) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DescriptorProto_ExtensionRange.Unmarshal(m, b) -} -func (m *DescriptorProto_ExtensionRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DescriptorProto_ExtensionRange.Marshal(b, m, deterministic) -} -func (m *DescriptorProto_ExtensionRange) XXX_Merge(src proto.Message) { - xxx_messageInfo_DescriptorProto_ExtensionRange.Merge(m, src) -} -func (m *DescriptorProto_ExtensionRange) XXX_Size() int { - return xxx_messageInfo_DescriptorProto_ExtensionRange.Size(m) -} -func (m *DescriptorProto_ExtensionRange) XXX_DiscardUnknown() { - xxx_messageInfo_DescriptorProto_ExtensionRange.DiscardUnknown(m) -} - -var xxx_messageInfo_DescriptorProto_ExtensionRange proto.InternalMessageInfo - -func (m *DescriptorProto_ExtensionRange) GetStart() int32 { - if m != nil && m.Start != nil { - return *m.Start - } - return 0 -} - -func (m *DescriptorProto_ExtensionRange) GetEnd() int32 { - if m != nil && m.End != nil { - return *m.End - } - return 0 -} - -func (m *DescriptorProto_ExtensionRange) GetOptions() *ExtensionRangeOptions { - if m != nil { - return m.Options - } - return nil -} - -// Range of reserved tag numbers. Reserved tag numbers may not be used by -// fields or extension ranges in the same message. Reserved ranges may -// not overlap. -type DescriptorProto_ReservedRange struct { - Start *int32 `protobuf:"varint,1,opt,name=start" json:"start,omitempty"` - End *int32 `protobuf:"varint,2,opt,name=end" json:"end,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DescriptorProto_ReservedRange) Reset() { *m = DescriptorProto_ReservedRange{} } -func (m *DescriptorProto_ReservedRange) String() string { return proto.CompactTextString(m) } -func (*DescriptorProto_ReservedRange) ProtoMessage() {} -func (*DescriptorProto_ReservedRange) Descriptor() ([]byte, []int) { - return fileDescriptor_e5baabe45344a177, []int{2, 1} -} - -func (m *DescriptorProto_ReservedRange) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DescriptorProto_ReservedRange.Unmarshal(m, b) -} -func (m *DescriptorProto_ReservedRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DescriptorProto_ReservedRange.Marshal(b, m, deterministic) -} -func (m *DescriptorProto_ReservedRange) XXX_Merge(src proto.Message) { - xxx_messageInfo_DescriptorProto_ReservedRange.Merge(m, src) -} -func (m *DescriptorProto_ReservedRange) XXX_Size() int { - return xxx_messageInfo_DescriptorProto_ReservedRange.Size(m) -} -func (m *DescriptorProto_ReservedRange) XXX_DiscardUnknown() { - xxx_messageInfo_DescriptorProto_ReservedRange.DiscardUnknown(m) -} - -var xxx_messageInfo_DescriptorProto_ReservedRange proto.InternalMessageInfo - -func (m *DescriptorProto_ReservedRange) GetStart() int32 { - if m != nil && m.Start != nil { - return *m.Start - } - return 0 -} - -func (m *DescriptorProto_ReservedRange) GetEnd() int32 { - if m != nil && m.End != nil { - return *m.End - } - return 0 -} - -type ExtensionRangeOptions struct { - // The parser stores options it doesn't recognize here. See above. - UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - proto.XXX_InternalExtensions `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExtensionRangeOptions) Reset() { *m = ExtensionRangeOptions{} } -func (m *ExtensionRangeOptions) String() string { return proto.CompactTextString(m) } -func (*ExtensionRangeOptions) ProtoMessage() {} -func (*ExtensionRangeOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_e5baabe45344a177, []int{3} -} - -var extRange_ExtensionRangeOptions = []proto.ExtensionRange{ - {Start: 1000, End: 536870911}, -} - -func (*ExtensionRangeOptions) ExtensionRangeArray() []proto.ExtensionRange { - return extRange_ExtensionRangeOptions -} - -func (m *ExtensionRangeOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExtensionRangeOptions.Unmarshal(m, b) -} -func (m *ExtensionRangeOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExtensionRangeOptions.Marshal(b, m, deterministic) -} -func (m *ExtensionRangeOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExtensionRangeOptions.Merge(m, src) -} -func (m *ExtensionRangeOptions) XXX_Size() int { - return xxx_messageInfo_ExtensionRangeOptions.Size(m) -} -func (m *ExtensionRangeOptions) XXX_DiscardUnknown() { - xxx_messageInfo_ExtensionRangeOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_ExtensionRangeOptions proto.InternalMessageInfo - -func (m *ExtensionRangeOptions) GetUninterpretedOption() []*UninterpretedOption { - if m != nil { - return m.UninterpretedOption - } - return nil -} - -// Describes a field within a message. -type FieldDescriptorProto struct { - Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - Number *int32 `protobuf:"varint,3,opt,name=number" json:"number,omitempty"` - Label *FieldDescriptorProto_Label `protobuf:"varint,4,opt,name=label,enum=google.protobuf.FieldDescriptorProto_Label" json:"label,omitempty"` - // If type_name is set, this need not be set. If both this and type_name - // are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. - Type *FieldDescriptorProto_Type `protobuf:"varint,5,opt,name=type,enum=google.protobuf.FieldDescriptorProto_Type" json:"type,omitempty"` - // For message and enum types, this is the name of the type. If the name - // starts with a '.', it is fully-qualified. Otherwise, C++-like scoping - // rules are used to find the type (i.e. first the nested types within this - // message are searched, then within the parent, on up to the root - // namespace). - TypeName *string `protobuf:"bytes,6,opt,name=type_name,json=typeName" json:"type_name,omitempty"` - // For extensions, this is the name of the type being extended. It is - // resolved in the same manner as type_name. - Extendee *string `protobuf:"bytes,2,opt,name=extendee" json:"extendee,omitempty"` - // For numeric types, contains the original text representation of the value. - // For booleans, "true" or "false". - // For strings, contains the default text contents (not escaped in any way). - // For bytes, contains the C escaped value. All bytes >= 128 are escaped. - // TODO(kenton): Base-64 encode? - DefaultValue *string `protobuf:"bytes,7,opt,name=default_value,json=defaultValue" json:"default_value,omitempty"` - // If set, gives the index of a oneof in the containing type's oneof_decl - // list. This field is a member of that oneof. - OneofIndex *int32 `protobuf:"varint,9,opt,name=oneof_index,json=oneofIndex" json:"oneof_index,omitempty"` - // JSON name of this field. The value is set by protocol compiler. If the - // user has set a "json_name" option on this field, that option's value - // will be used. Otherwise, it's deduced from the field's name by converting - // it to camelCase. - JsonName *string `protobuf:"bytes,10,opt,name=json_name,json=jsonName" json:"json_name,omitempty"` - Options *FieldOptions `protobuf:"bytes,8,opt,name=options" json:"options,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FieldDescriptorProto) Reset() { *m = FieldDescriptorProto{} } -func (m *FieldDescriptorProto) String() string { return proto.CompactTextString(m) } -func (*FieldDescriptorProto) ProtoMessage() {} -func (*FieldDescriptorProto) Descriptor() ([]byte, []int) { - return fileDescriptor_e5baabe45344a177, []int{4} -} - -func (m *FieldDescriptorProto) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FieldDescriptorProto.Unmarshal(m, b) -} -func (m *FieldDescriptorProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FieldDescriptorProto.Marshal(b, m, deterministic) -} -func (m *FieldDescriptorProto) XXX_Merge(src proto.Message) { - xxx_messageInfo_FieldDescriptorProto.Merge(m, src) -} -func (m *FieldDescriptorProto) XXX_Size() int { - return xxx_messageInfo_FieldDescriptorProto.Size(m) -} -func (m *FieldDescriptorProto) XXX_DiscardUnknown() { - xxx_messageInfo_FieldDescriptorProto.DiscardUnknown(m) -} - -var xxx_messageInfo_FieldDescriptorProto proto.InternalMessageInfo - -func (m *FieldDescriptorProto) GetName() string { - if m != nil && m.Name != nil { - return *m.Name - } - return "" -} - -func (m *FieldDescriptorProto) GetNumber() int32 { - if m != nil && m.Number != nil { - return *m.Number - } - return 0 -} - -func (m *FieldDescriptorProto) GetLabel() FieldDescriptorProto_Label { - if m != nil && m.Label != nil { - return *m.Label - } - return FieldDescriptorProto_LABEL_OPTIONAL -} - -func (m *FieldDescriptorProto) GetType() FieldDescriptorProto_Type { - if m != nil && m.Type != nil { - return *m.Type - } - return FieldDescriptorProto_TYPE_DOUBLE -} - -func (m *FieldDescriptorProto) GetTypeName() string { - if m != nil && m.TypeName != nil { - return *m.TypeName - } - return "" -} - -func (m *FieldDescriptorProto) GetExtendee() string { - if m != nil && m.Extendee != nil { - return *m.Extendee - } - return "" -} - -func (m *FieldDescriptorProto) GetDefaultValue() string { - if m != nil && m.DefaultValue != nil { - return *m.DefaultValue - } - return "" -} - -func (m *FieldDescriptorProto) GetOneofIndex() int32 { - if m != nil && m.OneofIndex != nil { - return *m.OneofIndex - } - return 0 -} - -func (m *FieldDescriptorProto) GetJsonName() string { - if m != nil && m.JsonName != nil { - return *m.JsonName - } - return "" -} - -func (m *FieldDescriptorProto) GetOptions() *FieldOptions { - if m != nil { - return m.Options - } - return nil -} - -// Describes a oneof. -type OneofDescriptorProto struct { - Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - Options *OneofOptions `protobuf:"bytes,2,opt,name=options" json:"options,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OneofDescriptorProto) Reset() { *m = OneofDescriptorProto{} } -func (m *OneofDescriptorProto) String() string { return proto.CompactTextString(m) } -func (*OneofDescriptorProto) ProtoMessage() {} -func (*OneofDescriptorProto) Descriptor() ([]byte, []int) { - return fileDescriptor_e5baabe45344a177, []int{5} -} - -func (m *OneofDescriptorProto) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OneofDescriptorProto.Unmarshal(m, b) -} -func (m *OneofDescriptorProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OneofDescriptorProto.Marshal(b, m, deterministic) -} -func (m *OneofDescriptorProto) XXX_Merge(src proto.Message) { - xxx_messageInfo_OneofDescriptorProto.Merge(m, src) -} -func (m *OneofDescriptorProto) XXX_Size() int { - return xxx_messageInfo_OneofDescriptorProto.Size(m) -} -func (m *OneofDescriptorProto) XXX_DiscardUnknown() { - xxx_messageInfo_OneofDescriptorProto.DiscardUnknown(m) -} - -var xxx_messageInfo_OneofDescriptorProto proto.InternalMessageInfo - -func (m *OneofDescriptorProto) GetName() string { - if m != nil && m.Name != nil { - return *m.Name - } - return "" -} - -func (m *OneofDescriptorProto) GetOptions() *OneofOptions { - if m != nil { - return m.Options - } - return nil -} - -// Describes an enum type. -type EnumDescriptorProto struct { - Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - Value []*EnumValueDescriptorProto `protobuf:"bytes,2,rep,name=value" json:"value,omitempty"` - Options *EnumOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"` - // Range of reserved numeric values. Reserved numeric values may not be used - // by enum values in the same enum declaration. Reserved ranges may not - // overlap. - ReservedRange []*EnumDescriptorProto_EnumReservedRange `protobuf:"bytes,4,rep,name=reserved_range,json=reservedRange" json:"reserved_range,omitempty"` - // Reserved enum value names, which may not be reused. A given name may only - // be reserved once. - ReservedName []string `protobuf:"bytes,5,rep,name=reserved_name,json=reservedName" json:"reserved_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *EnumDescriptorProto) Reset() { *m = EnumDescriptorProto{} } -func (m *EnumDescriptorProto) String() string { return proto.CompactTextString(m) } -func (*EnumDescriptorProto) ProtoMessage() {} -func (*EnumDescriptorProto) Descriptor() ([]byte, []int) { - return fileDescriptor_e5baabe45344a177, []int{6} -} - -func (m *EnumDescriptorProto) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EnumDescriptorProto.Unmarshal(m, b) -} -func (m *EnumDescriptorProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EnumDescriptorProto.Marshal(b, m, deterministic) -} -func (m *EnumDescriptorProto) XXX_Merge(src proto.Message) { - xxx_messageInfo_EnumDescriptorProto.Merge(m, src) -} -func (m *EnumDescriptorProto) XXX_Size() int { - return xxx_messageInfo_EnumDescriptorProto.Size(m) -} -func (m *EnumDescriptorProto) XXX_DiscardUnknown() { - xxx_messageInfo_EnumDescriptorProto.DiscardUnknown(m) -} - -var xxx_messageInfo_EnumDescriptorProto proto.InternalMessageInfo - -func (m *EnumDescriptorProto) GetName() string { - if m != nil && m.Name != nil { - return *m.Name - } - return "" -} - -func (m *EnumDescriptorProto) GetValue() []*EnumValueDescriptorProto { - if m != nil { - return m.Value - } - return nil -} - -func (m *EnumDescriptorProto) GetOptions() *EnumOptions { - if m != nil { - return m.Options - } - return nil -} - -func (m *EnumDescriptorProto) GetReservedRange() []*EnumDescriptorProto_EnumReservedRange { - if m != nil { - return m.ReservedRange - } - return nil -} - -func (m *EnumDescriptorProto) GetReservedName() []string { - if m != nil { - return m.ReservedName - } - return nil -} - -// Range of reserved numeric values. Reserved values may not be used by -// entries in the same enum. Reserved ranges may not overlap. -// -// Note that this is distinct from DescriptorProto.ReservedRange in that it -// is inclusive such that it can appropriately represent the entire int32 -// domain. -type EnumDescriptorProto_EnumReservedRange struct { - Start *int32 `protobuf:"varint,1,opt,name=start" json:"start,omitempty"` - End *int32 `protobuf:"varint,2,opt,name=end" json:"end,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *EnumDescriptorProto_EnumReservedRange) Reset() { *m = EnumDescriptorProto_EnumReservedRange{} } -func (m *EnumDescriptorProto_EnumReservedRange) String() string { return proto.CompactTextString(m) } -func (*EnumDescriptorProto_EnumReservedRange) ProtoMessage() {} -func (*EnumDescriptorProto_EnumReservedRange) Descriptor() ([]byte, []int) { - return fileDescriptor_e5baabe45344a177, []int{6, 0} -} - -func (m *EnumDescriptorProto_EnumReservedRange) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EnumDescriptorProto_EnumReservedRange.Unmarshal(m, b) -} -func (m *EnumDescriptorProto_EnumReservedRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EnumDescriptorProto_EnumReservedRange.Marshal(b, m, deterministic) -} -func (m *EnumDescriptorProto_EnumReservedRange) XXX_Merge(src proto.Message) { - xxx_messageInfo_EnumDescriptorProto_EnumReservedRange.Merge(m, src) -} -func (m *EnumDescriptorProto_EnumReservedRange) XXX_Size() int { - return xxx_messageInfo_EnumDescriptorProto_EnumReservedRange.Size(m) -} -func (m *EnumDescriptorProto_EnumReservedRange) XXX_DiscardUnknown() { - xxx_messageInfo_EnumDescriptorProto_EnumReservedRange.DiscardUnknown(m) -} - -var xxx_messageInfo_EnumDescriptorProto_EnumReservedRange proto.InternalMessageInfo - -func (m *EnumDescriptorProto_EnumReservedRange) GetStart() int32 { - if m != nil && m.Start != nil { - return *m.Start - } - return 0 -} - -func (m *EnumDescriptorProto_EnumReservedRange) GetEnd() int32 { - if m != nil && m.End != nil { - return *m.End - } - return 0 -} - -// Describes a value within an enum. -type EnumValueDescriptorProto struct { - Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - Number *int32 `protobuf:"varint,2,opt,name=number" json:"number,omitempty"` - Options *EnumValueOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *EnumValueDescriptorProto) Reset() { *m = EnumValueDescriptorProto{} } -func (m *EnumValueDescriptorProto) String() string { return proto.CompactTextString(m) } -func (*EnumValueDescriptorProto) ProtoMessage() {} -func (*EnumValueDescriptorProto) Descriptor() ([]byte, []int) { - return fileDescriptor_e5baabe45344a177, []int{7} -} - -func (m *EnumValueDescriptorProto) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EnumValueDescriptorProto.Unmarshal(m, b) -} -func (m *EnumValueDescriptorProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EnumValueDescriptorProto.Marshal(b, m, deterministic) -} -func (m *EnumValueDescriptorProto) XXX_Merge(src proto.Message) { - xxx_messageInfo_EnumValueDescriptorProto.Merge(m, src) -} -func (m *EnumValueDescriptorProto) XXX_Size() int { - return xxx_messageInfo_EnumValueDescriptorProto.Size(m) -} -func (m *EnumValueDescriptorProto) XXX_DiscardUnknown() { - xxx_messageInfo_EnumValueDescriptorProto.DiscardUnknown(m) -} - -var xxx_messageInfo_EnumValueDescriptorProto proto.InternalMessageInfo - -func (m *EnumValueDescriptorProto) GetName() string { - if m != nil && m.Name != nil { - return *m.Name - } - return "" -} - -func (m *EnumValueDescriptorProto) GetNumber() int32 { - if m != nil && m.Number != nil { - return *m.Number - } - return 0 -} - -func (m *EnumValueDescriptorProto) GetOptions() *EnumValueOptions { - if m != nil { - return m.Options - } - return nil -} - -// Describes a service. -type ServiceDescriptorProto struct { - Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - Method []*MethodDescriptorProto `protobuf:"bytes,2,rep,name=method" json:"method,omitempty"` - Options *ServiceOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ServiceDescriptorProto) Reset() { *m = ServiceDescriptorProto{} } -func (m *ServiceDescriptorProto) String() string { return proto.CompactTextString(m) } -func (*ServiceDescriptorProto) ProtoMessage() {} -func (*ServiceDescriptorProto) Descriptor() ([]byte, []int) { - return fileDescriptor_e5baabe45344a177, []int{8} -} - -func (m *ServiceDescriptorProto) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServiceDescriptorProto.Unmarshal(m, b) -} -func (m *ServiceDescriptorProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServiceDescriptorProto.Marshal(b, m, deterministic) -} -func (m *ServiceDescriptorProto) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceDescriptorProto.Merge(m, src) -} -func (m *ServiceDescriptorProto) XXX_Size() int { - return xxx_messageInfo_ServiceDescriptorProto.Size(m) -} -func (m *ServiceDescriptorProto) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceDescriptorProto.DiscardUnknown(m) -} - -var xxx_messageInfo_ServiceDescriptorProto proto.InternalMessageInfo - -func (m *ServiceDescriptorProto) GetName() string { - if m != nil && m.Name != nil { - return *m.Name - } - return "" -} - -func (m *ServiceDescriptorProto) GetMethod() []*MethodDescriptorProto { - if m != nil { - return m.Method - } - return nil -} - -func (m *ServiceDescriptorProto) GetOptions() *ServiceOptions { - if m != nil { - return m.Options - } - return nil -} - -// Describes a method of a service. -type MethodDescriptorProto struct { - Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - // Input and output type names. These are resolved in the same way as - // FieldDescriptorProto.type_name, but must refer to a message type. - InputType *string `protobuf:"bytes,2,opt,name=input_type,json=inputType" json:"input_type,omitempty"` - OutputType *string `protobuf:"bytes,3,opt,name=output_type,json=outputType" json:"output_type,omitempty"` - Options *MethodOptions `protobuf:"bytes,4,opt,name=options" json:"options,omitempty"` - // Identifies if client streams multiple client messages - ClientStreaming *bool `protobuf:"varint,5,opt,name=client_streaming,json=clientStreaming,def=0" json:"client_streaming,omitempty"` - // Identifies if server streams multiple server messages - ServerStreaming *bool `protobuf:"varint,6,opt,name=server_streaming,json=serverStreaming,def=0" json:"server_streaming,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MethodDescriptorProto) Reset() { *m = MethodDescriptorProto{} } -func (m *MethodDescriptorProto) String() string { return proto.CompactTextString(m) } -func (*MethodDescriptorProto) ProtoMessage() {} -func (*MethodDescriptorProto) Descriptor() ([]byte, []int) { - return fileDescriptor_e5baabe45344a177, []int{9} -} - -func (m *MethodDescriptorProto) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MethodDescriptorProto.Unmarshal(m, b) -} -func (m *MethodDescriptorProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MethodDescriptorProto.Marshal(b, m, deterministic) -} -func (m *MethodDescriptorProto) XXX_Merge(src proto.Message) { - xxx_messageInfo_MethodDescriptorProto.Merge(m, src) -} -func (m *MethodDescriptorProto) XXX_Size() int { - return xxx_messageInfo_MethodDescriptorProto.Size(m) -} -func (m *MethodDescriptorProto) XXX_DiscardUnknown() { - xxx_messageInfo_MethodDescriptorProto.DiscardUnknown(m) -} - -var xxx_messageInfo_MethodDescriptorProto proto.InternalMessageInfo - -const Default_MethodDescriptorProto_ClientStreaming bool = false -const Default_MethodDescriptorProto_ServerStreaming bool = false - -func (m *MethodDescriptorProto) GetName() string { - if m != nil && m.Name != nil { - return *m.Name - } - return "" -} - -func (m *MethodDescriptorProto) GetInputType() string { - if m != nil && m.InputType != nil { - return *m.InputType - } - return "" -} - -func (m *MethodDescriptorProto) GetOutputType() string { - if m != nil && m.OutputType != nil { - return *m.OutputType - } - return "" -} - -func (m *MethodDescriptorProto) GetOptions() *MethodOptions { - if m != nil { - return m.Options - } - return nil -} - -func (m *MethodDescriptorProto) GetClientStreaming() bool { - if m != nil && m.ClientStreaming != nil { - return *m.ClientStreaming - } - return Default_MethodDescriptorProto_ClientStreaming -} - -func (m *MethodDescriptorProto) GetServerStreaming() bool { - if m != nil && m.ServerStreaming != nil { - return *m.ServerStreaming - } - return Default_MethodDescriptorProto_ServerStreaming -} - -type FileOptions struct { - // Sets the Java package where classes generated from this .proto will be - // placed. By default, the proto package is used, but this is often - // inappropriate because proto packages do not normally start with backwards - // domain names. - JavaPackage *string `protobuf:"bytes,1,opt,name=java_package,json=javaPackage" json:"java_package,omitempty"` - // If set, all the classes from the .proto file are wrapped in a single - // outer class with the given name. This applies to both Proto1 - // (equivalent to the old "--one_java_file" option) and Proto2 (where - // a .proto always translates to a single class, but you may want to - // explicitly choose the class name). - JavaOuterClassname *string `protobuf:"bytes,8,opt,name=java_outer_classname,json=javaOuterClassname" json:"java_outer_classname,omitempty"` - // If set true, then the Java code generator will generate a separate .java - // file for each top-level message, enum, and service defined in the .proto - // file. Thus, these types will *not* be nested inside the outer class - // named by java_outer_classname. However, the outer class will still be - // generated to contain the file's getDescriptor() method as well as any - // top-level extensions defined in the file. - JavaMultipleFiles *bool `protobuf:"varint,10,opt,name=java_multiple_files,json=javaMultipleFiles,def=0" json:"java_multiple_files,omitempty"` - // This option does nothing. - JavaGenerateEqualsAndHash *bool `protobuf:"varint,20,opt,name=java_generate_equals_and_hash,json=javaGenerateEqualsAndHash" json:"java_generate_equals_and_hash,omitempty"` // Deprecated: Do not use. - // If set true, then the Java2 code generator will generate code that - // throws an exception whenever an attempt is made to assign a non-UTF-8 - // byte sequence to a string field. - // Message reflection will do the same. - // However, an extension field still accepts non-UTF-8 byte sequences. - // This option has no effect on when used with the lite runtime. - JavaStringCheckUtf8 *bool `protobuf:"varint,27,opt,name=java_string_check_utf8,json=javaStringCheckUtf8,def=0" json:"java_string_check_utf8,omitempty"` - OptimizeFor *FileOptions_OptimizeMode `protobuf:"varint,9,opt,name=optimize_for,json=optimizeFor,enum=google.protobuf.FileOptions_OptimizeMode,def=1" json:"optimize_for,omitempty"` - // Sets the Go package where structs generated from this .proto will be - // placed. If omitted, the Go package will be derived from the following: - // - The basename of the package import path, if provided. - // - Otherwise, the package statement in the .proto file, if present. - // - Otherwise, the basename of the .proto file, without extension. - GoPackage *string `protobuf:"bytes,11,opt,name=go_package,json=goPackage" json:"go_package,omitempty"` - // Should generic services be generated in each language? "Generic" services - // are not specific to any particular RPC system. They are generated by the - // main code generators in each language (without additional plugins). - // Generic services were the only kind of service generation supported by - // early versions of google.protobuf. - // - // Generic services are now considered deprecated in favor of using plugins - // that generate code specific to your particular RPC system. Therefore, - // these default to false. Old code which depends on generic services should - // explicitly set them to true. - CcGenericServices *bool `protobuf:"varint,16,opt,name=cc_generic_services,json=ccGenericServices,def=0" json:"cc_generic_services,omitempty"` - JavaGenericServices *bool `protobuf:"varint,17,opt,name=java_generic_services,json=javaGenericServices,def=0" json:"java_generic_services,omitempty"` - PyGenericServices *bool `protobuf:"varint,18,opt,name=py_generic_services,json=pyGenericServices,def=0" json:"py_generic_services,omitempty"` - PhpGenericServices *bool `protobuf:"varint,42,opt,name=php_generic_services,json=phpGenericServices,def=0" json:"php_generic_services,omitempty"` - // Is this file deprecated? - // Depending on the target platform, this can emit Deprecated annotations - // for everything in the file, or it will be completely ignored; in the very - // least, this is a formalization for deprecating files. - Deprecated *bool `protobuf:"varint,23,opt,name=deprecated,def=0" json:"deprecated,omitempty"` - // Enables the use of arenas for the proto messages in this file. This applies - // only to generated classes for C++. - CcEnableArenas *bool `protobuf:"varint,31,opt,name=cc_enable_arenas,json=ccEnableArenas,def=0" json:"cc_enable_arenas,omitempty"` - // Sets the objective c class prefix which is prepended to all objective c - // generated classes from this .proto. There is no default. - ObjcClassPrefix *string `protobuf:"bytes,36,opt,name=objc_class_prefix,json=objcClassPrefix" json:"objc_class_prefix,omitempty"` - // Namespace for generated classes; defaults to the package. - CsharpNamespace *string `protobuf:"bytes,37,opt,name=csharp_namespace,json=csharpNamespace" json:"csharp_namespace,omitempty"` - // By default Swift generators will take the proto package and CamelCase it - // replacing '.' with underscore and use that to prefix the types/symbols - // defined. When this options is provided, they will use this value instead - // to prefix the types/symbols defined. - SwiftPrefix *string `protobuf:"bytes,39,opt,name=swift_prefix,json=swiftPrefix" json:"swift_prefix,omitempty"` - // Sets the php class prefix which is prepended to all php generated classes - // from this .proto. Default is empty. - PhpClassPrefix *string `protobuf:"bytes,40,opt,name=php_class_prefix,json=phpClassPrefix" json:"php_class_prefix,omitempty"` - // Use this option to change the namespace of php generated classes. Default - // is empty. When this option is empty, the package name will be used for - // determining the namespace. - PhpNamespace *string `protobuf:"bytes,41,opt,name=php_namespace,json=phpNamespace" json:"php_namespace,omitempty"` - // Use this option to change the namespace of php generated metadata classes. - // Default is empty. When this option is empty, the proto file name will be used - // for determining the namespace. - PhpMetadataNamespace *string `protobuf:"bytes,44,opt,name=php_metadata_namespace,json=phpMetadataNamespace" json:"php_metadata_namespace,omitempty"` - // Use this option to change the package of ruby generated classes. Default - // is empty. When this option is not set, the package name will be used for - // determining the ruby package. - RubyPackage *string `protobuf:"bytes,45,opt,name=ruby_package,json=rubyPackage" json:"ruby_package,omitempty"` - // The parser stores options it doesn't recognize here. - // See the documentation for the "Options" section above. - UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - proto.XXX_InternalExtensions `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FileOptions) Reset() { *m = FileOptions{} } -func (m *FileOptions) String() string { return proto.CompactTextString(m) } -func (*FileOptions) ProtoMessage() {} -func (*FileOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_e5baabe45344a177, []int{10} -} - -var extRange_FileOptions = []proto.ExtensionRange{ - {Start: 1000, End: 536870911}, -} - -func (*FileOptions) ExtensionRangeArray() []proto.ExtensionRange { - return extRange_FileOptions -} - -func (m *FileOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FileOptions.Unmarshal(m, b) -} -func (m *FileOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FileOptions.Marshal(b, m, deterministic) -} -func (m *FileOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_FileOptions.Merge(m, src) -} -func (m *FileOptions) XXX_Size() int { - return xxx_messageInfo_FileOptions.Size(m) -} -func (m *FileOptions) XXX_DiscardUnknown() { - xxx_messageInfo_FileOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_FileOptions proto.InternalMessageInfo - -const Default_FileOptions_JavaMultipleFiles bool = false -const Default_FileOptions_JavaStringCheckUtf8 bool = false -const Default_FileOptions_OptimizeFor FileOptions_OptimizeMode = FileOptions_SPEED -const Default_FileOptions_CcGenericServices bool = false -const Default_FileOptions_JavaGenericServices bool = false -const Default_FileOptions_PyGenericServices bool = false -const Default_FileOptions_PhpGenericServices bool = false -const Default_FileOptions_Deprecated bool = false -const Default_FileOptions_CcEnableArenas bool = false - -func (m *FileOptions) GetJavaPackage() string { - if m != nil && m.JavaPackage != nil { - return *m.JavaPackage - } - return "" -} - -func (m *FileOptions) GetJavaOuterClassname() string { - if m != nil && m.JavaOuterClassname != nil { - return *m.JavaOuterClassname - } - return "" -} - -func (m *FileOptions) GetJavaMultipleFiles() bool { - if m != nil && m.JavaMultipleFiles != nil { - return *m.JavaMultipleFiles - } - return Default_FileOptions_JavaMultipleFiles -} - -// Deprecated: Do not use. -func (m *FileOptions) GetJavaGenerateEqualsAndHash() bool { - if m != nil && m.JavaGenerateEqualsAndHash != nil { - return *m.JavaGenerateEqualsAndHash - } - return false -} - -func (m *FileOptions) GetJavaStringCheckUtf8() bool { - if m != nil && m.JavaStringCheckUtf8 != nil { - return *m.JavaStringCheckUtf8 - } - return Default_FileOptions_JavaStringCheckUtf8 -} - -func (m *FileOptions) GetOptimizeFor() FileOptions_OptimizeMode { - if m != nil && m.OptimizeFor != nil { - return *m.OptimizeFor - } - return Default_FileOptions_OptimizeFor -} - -func (m *FileOptions) GetGoPackage() string { - if m != nil && m.GoPackage != nil { - return *m.GoPackage - } - return "" -} - -func (m *FileOptions) GetCcGenericServices() bool { - if m != nil && m.CcGenericServices != nil { - return *m.CcGenericServices - } - return Default_FileOptions_CcGenericServices -} - -func (m *FileOptions) GetJavaGenericServices() bool { - if m != nil && m.JavaGenericServices != nil { - return *m.JavaGenericServices - } - return Default_FileOptions_JavaGenericServices -} - -func (m *FileOptions) GetPyGenericServices() bool { - if m != nil && m.PyGenericServices != nil { - return *m.PyGenericServices - } - return Default_FileOptions_PyGenericServices -} - -func (m *FileOptions) GetPhpGenericServices() bool { - if m != nil && m.PhpGenericServices != nil { - return *m.PhpGenericServices - } - return Default_FileOptions_PhpGenericServices -} - -func (m *FileOptions) GetDeprecated() bool { - if m != nil && m.Deprecated != nil { - return *m.Deprecated - } - return Default_FileOptions_Deprecated -} - -func (m *FileOptions) GetCcEnableArenas() bool { - if m != nil && m.CcEnableArenas != nil { - return *m.CcEnableArenas - } - return Default_FileOptions_CcEnableArenas -} - -func (m *FileOptions) GetObjcClassPrefix() string { - if m != nil && m.ObjcClassPrefix != nil { - return *m.ObjcClassPrefix - } - return "" -} - -func (m *FileOptions) GetCsharpNamespace() string { - if m != nil && m.CsharpNamespace != nil { - return *m.CsharpNamespace - } - return "" -} - -func (m *FileOptions) GetSwiftPrefix() string { - if m != nil && m.SwiftPrefix != nil { - return *m.SwiftPrefix - } - return "" -} - -func (m *FileOptions) GetPhpClassPrefix() string { - if m != nil && m.PhpClassPrefix != nil { - return *m.PhpClassPrefix - } - return "" -} - -func (m *FileOptions) GetPhpNamespace() string { - if m != nil && m.PhpNamespace != nil { - return *m.PhpNamespace - } - return "" -} - -func (m *FileOptions) GetPhpMetadataNamespace() string { - if m != nil && m.PhpMetadataNamespace != nil { - return *m.PhpMetadataNamespace - } - return "" -} - -func (m *FileOptions) GetRubyPackage() string { - if m != nil && m.RubyPackage != nil { - return *m.RubyPackage - } - return "" -} - -func (m *FileOptions) GetUninterpretedOption() []*UninterpretedOption { - if m != nil { - return m.UninterpretedOption - } - return nil -} - -type MessageOptions struct { - // Set true to use the old proto1 MessageSet wire format for extensions. - // This is provided for backwards-compatibility with the MessageSet wire - // format. You should not use this for any other reason: It's less - // efficient, has fewer features, and is more complicated. - // - // The message must be defined exactly as follows: - // message Foo { - // option message_set_wire_format = true; - // extensions 4 to max; - // } - // Note that the message cannot have any defined fields; MessageSets only - // have extensions. - // - // All extensions of your type must be singular messages; e.g. they cannot - // be int32s, enums, or repeated messages. - // - // Because this is an option, the above two restrictions are not enforced by - // the protocol compiler. - MessageSetWireFormat *bool `protobuf:"varint,1,opt,name=message_set_wire_format,json=messageSetWireFormat,def=0" json:"message_set_wire_format,omitempty"` - // Disables the generation of the standard "descriptor()" accessor, which can - // conflict with a field of the same name. This is meant to make migration - // from proto1 easier; new code should avoid fields named "descriptor". - NoStandardDescriptorAccessor *bool `protobuf:"varint,2,opt,name=no_standard_descriptor_accessor,json=noStandardDescriptorAccessor,def=0" json:"no_standard_descriptor_accessor,omitempty"` - // Is this message deprecated? - // Depending on the target platform, this can emit Deprecated annotations - // for the message, or it will be completely ignored; in the very least, - // this is a formalization for deprecating messages. - Deprecated *bool `protobuf:"varint,3,opt,name=deprecated,def=0" json:"deprecated,omitempty"` - // Whether the message is an automatically generated map entry type for the - // maps field. - // - // For maps fields: - // map map_field = 1; - // The parsed descriptor looks like: - // message MapFieldEntry { - // option map_entry = true; - // optional KeyType key = 1; - // optional ValueType value = 2; - // } - // repeated MapFieldEntry map_field = 1; - // - // Implementations may choose not to generate the map_entry=true message, but - // use a native map in the target language to hold the keys and values. - // The reflection APIs in such implementions still need to work as - // if the field is a repeated message field. - // - // NOTE: Do not set the option in .proto files. Always use the maps syntax - // instead. The option should only be implicitly set by the proto compiler - // parser. - MapEntry *bool `protobuf:"varint,7,opt,name=map_entry,json=mapEntry" json:"map_entry,omitempty"` - // The parser stores options it doesn't recognize here. See above. - UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - proto.XXX_InternalExtensions `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MessageOptions) Reset() { *m = MessageOptions{} } -func (m *MessageOptions) String() string { return proto.CompactTextString(m) } -func (*MessageOptions) ProtoMessage() {} -func (*MessageOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_e5baabe45344a177, []int{11} -} - -var extRange_MessageOptions = []proto.ExtensionRange{ - {Start: 1000, End: 536870911}, -} - -func (*MessageOptions) ExtensionRangeArray() []proto.ExtensionRange { - return extRange_MessageOptions -} - -func (m *MessageOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MessageOptions.Unmarshal(m, b) -} -func (m *MessageOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MessageOptions.Marshal(b, m, deterministic) -} -func (m *MessageOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_MessageOptions.Merge(m, src) -} -func (m *MessageOptions) XXX_Size() int { - return xxx_messageInfo_MessageOptions.Size(m) -} -func (m *MessageOptions) XXX_DiscardUnknown() { - xxx_messageInfo_MessageOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_MessageOptions proto.InternalMessageInfo - -const Default_MessageOptions_MessageSetWireFormat bool = false -const Default_MessageOptions_NoStandardDescriptorAccessor bool = false -const Default_MessageOptions_Deprecated bool = false - -func (m *MessageOptions) GetMessageSetWireFormat() bool { - if m != nil && m.MessageSetWireFormat != nil { - return *m.MessageSetWireFormat - } - return Default_MessageOptions_MessageSetWireFormat -} - -func (m *MessageOptions) GetNoStandardDescriptorAccessor() bool { - if m != nil && m.NoStandardDescriptorAccessor != nil { - return *m.NoStandardDescriptorAccessor - } - return Default_MessageOptions_NoStandardDescriptorAccessor -} - -func (m *MessageOptions) GetDeprecated() bool { - if m != nil && m.Deprecated != nil { - return *m.Deprecated - } - return Default_MessageOptions_Deprecated -} - -func (m *MessageOptions) GetMapEntry() bool { - if m != nil && m.MapEntry != nil { - return *m.MapEntry - } - return false -} - -func (m *MessageOptions) GetUninterpretedOption() []*UninterpretedOption { - if m != nil { - return m.UninterpretedOption - } - return nil -} - -type FieldOptions struct { - // The ctype option instructs the C++ code generator to use a different - // representation of the field than it normally would. See the specific - // options below. This option is not yet implemented in the open source - // release -- sorry, we'll try to include it in a future version! - Ctype *FieldOptions_CType `protobuf:"varint,1,opt,name=ctype,enum=google.protobuf.FieldOptions_CType,def=0" json:"ctype,omitempty"` - // The packed option can be enabled for repeated primitive fields to enable - // a more efficient representation on the wire. Rather than repeatedly - // writing the tag and type for each element, the entire array is encoded as - // a single length-delimited blob. In proto3, only explicit setting it to - // false will avoid using packed encoding. - Packed *bool `protobuf:"varint,2,opt,name=packed" json:"packed,omitempty"` - // The jstype option determines the JavaScript type used for values of the - // field. The option is permitted only for 64 bit integral and fixed types - // (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING - // is represented as JavaScript string, which avoids loss of precision that - // can happen when a large value is converted to a floating point JavaScript. - // Specifying JS_NUMBER for the jstype causes the generated JavaScript code to - // use the JavaScript "number" type. The behavior of the default option - // JS_NORMAL is implementation dependent. - // - // This option is an enum to permit additional types to be added, e.g. - // goog.math.Integer. - Jstype *FieldOptions_JSType `protobuf:"varint,6,opt,name=jstype,enum=google.protobuf.FieldOptions_JSType,def=0" json:"jstype,omitempty"` - // Should this field be parsed lazily? Lazy applies only to message-type - // fields. It means that when the outer message is initially parsed, the - // inner message's contents will not be parsed but instead stored in encoded - // form. The inner message will actually be parsed when it is first accessed. - // - // This is only a hint. Implementations are free to choose whether to use - // eager or lazy parsing regardless of the value of this option. However, - // setting this option true suggests that the protocol author believes that - // using lazy parsing on this field is worth the additional bookkeeping - // overhead typically needed to implement it. - // - // This option does not affect the public interface of any generated code; - // all method signatures remain the same. Furthermore, thread-safety of the - // interface is not affected by this option; const methods remain safe to - // call from multiple threads concurrently, while non-const methods continue - // to require exclusive access. - // - // - // Note that implementations may choose not to check required fields within - // a lazy sub-message. That is, calling IsInitialized() on the outer message - // may return true even if the inner message has missing required fields. - // This is necessary because otherwise the inner message would have to be - // parsed in order to perform the check, defeating the purpose of lazy - // parsing. An implementation which chooses not to check required fields - // must be consistent about it. That is, for any particular sub-message, the - // implementation must either *always* check its required fields, or *never* - // check its required fields, regardless of whether or not the message has - // been parsed. - Lazy *bool `protobuf:"varint,5,opt,name=lazy,def=0" json:"lazy,omitempty"` - // Is this field deprecated? - // Depending on the target platform, this can emit Deprecated annotations - // for accessors, or it will be completely ignored; in the very least, this - // is a formalization for deprecating fields. - Deprecated *bool `protobuf:"varint,3,opt,name=deprecated,def=0" json:"deprecated,omitempty"` - // For Google-internal migration only. Do not use. - Weak *bool `protobuf:"varint,10,opt,name=weak,def=0" json:"weak,omitempty"` - // The parser stores options it doesn't recognize here. See above. - UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - proto.XXX_InternalExtensions `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FieldOptions) Reset() { *m = FieldOptions{} } -func (m *FieldOptions) String() string { return proto.CompactTextString(m) } -func (*FieldOptions) ProtoMessage() {} -func (*FieldOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_e5baabe45344a177, []int{12} -} - -var extRange_FieldOptions = []proto.ExtensionRange{ - {Start: 1000, End: 536870911}, -} - -func (*FieldOptions) ExtensionRangeArray() []proto.ExtensionRange { - return extRange_FieldOptions -} - -func (m *FieldOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FieldOptions.Unmarshal(m, b) -} -func (m *FieldOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FieldOptions.Marshal(b, m, deterministic) -} -func (m *FieldOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_FieldOptions.Merge(m, src) -} -func (m *FieldOptions) XXX_Size() int { - return xxx_messageInfo_FieldOptions.Size(m) -} -func (m *FieldOptions) XXX_DiscardUnknown() { - xxx_messageInfo_FieldOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_FieldOptions proto.InternalMessageInfo - -const Default_FieldOptions_Ctype FieldOptions_CType = FieldOptions_STRING -const Default_FieldOptions_Jstype FieldOptions_JSType = FieldOptions_JS_NORMAL -const Default_FieldOptions_Lazy bool = false -const Default_FieldOptions_Deprecated bool = false -const Default_FieldOptions_Weak bool = false - -func (m *FieldOptions) GetCtype() FieldOptions_CType { - if m != nil && m.Ctype != nil { - return *m.Ctype - } - return Default_FieldOptions_Ctype -} - -func (m *FieldOptions) GetPacked() bool { - if m != nil && m.Packed != nil { - return *m.Packed - } - return false -} - -func (m *FieldOptions) GetJstype() FieldOptions_JSType { - if m != nil && m.Jstype != nil { - return *m.Jstype - } - return Default_FieldOptions_Jstype -} - -func (m *FieldOptions) GetLazy() bool { - if m != nil && m.Lazy != nil { - return *m.Lazy - } - return Default_FieldOptions_Lazy -} - -func (m *FieldOptions) GetDeprecated() bool { - if m != nil && m.Deprecated != nil { - return *m.Deprecated - } - return Default_FieldOptions_Deprecated -} - -func (m *FieldOptions) GetWeak() bool { - if m != nil && m.Weak != nil { - return *m.Weak - } - return Default_FieldOptions_Weak -} - -func (m *FieldOptions) GetUninterpretedOption() []*UninterpretedOption { - if m != nil { - return m.UninterpretedOption - } - return nil -} - -type OneofOptions struct { - // The parser stores options it doesn't recognize here. See above. - UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - proto.XXX_InternalExtensions `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OneofOptions) Reset() { *m = OneofOptions{} } -func (m *OneofOptions) String() string { return proto.CompactTextString(m) } -func (*OneofOptions) ProtoMessage() {} -func (*OneofOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_e5baabe45344a177, []int{13} -} - -var extRange_OneofOptions = []proto.ExtensionRange{ - {Start: 1000, End: 536870911}, -} - -func (*OneofOptions) ExtensionRangeArray() []proto.ExtensionRange { - return extRange_OneofOptions -} - -func (m *OneofOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OneofOptions.Unmarshal(m, b) -} -func (m *OneofOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OneofOptions.Marshal(b, m, deterministic) -} -func (m *OneofOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_OneofOptions.Merge(m, src) -} -func (m *OneofOptions) XXX_Size() int { - return xxx_messageInfo_OneofOptions.Size(m) -} -func (m *OneofOptions) XXX_DiscardUnknown() { - xxx_messageInfo_OneofOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_OneofOptions proto.InternalMessageInfo - -func (m *OneofOptions) GetUninterpretedOption() []*UninterpretedOption { - if m != nil { - return m.UninterpretedOption - } - return nil -} - -type EnumOptions struct { - // Set this option to true to allow mapping different tag names to the same - // value. - AllowAlias *bool `protobuf:"varint,2,opt,name=allow_alias,json=allowAlias" json:"allow_alias,omitempty"` - // Is this enum deprecated? - // Depending on the target platform, this can emit Deprecated annotations - // for the enum, or it will be completely ignored; in the very least, this - // is a formalization for deprecating enums. - Deprecated *bool `protobuf:"varint,3,opt,name=deprecated,def=0" json:"deprecated,omitempty"` - // The parser stores options it doesn't recognize here. See above. - UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - proto.XXX_InternalExtensions `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *EnumOptions) Reset() { *m = EnumOptions{} } -func (m *EnumOptions) String() string { return proto.CompactTextString(m) } -func (*EnumOptions) ProtoMessage() {} -func (*EnumOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_e5baabe45344a177, []int{14} -} - -var extRange_EnumOptions = []proto.ExtensionRange{ - {Start: 1000, End: 536870911}, -} - -func (*EnumOptions) ExtensionRangeArray() []proto.ExtensionRange { - return extRange_EnumOptions -} - -func (m *EnumOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EnumOptions.Unmarshal(m, b) -} -func (m *EnumOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EnumOptions.Marshal(b, m, deterministic) -} -func (m *EnumOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_EnumOptions.Merge(m, src) -} -func (m *EnumOptions) XXX_Size() int { - return xxx_messageInfo_EnumOptions.Size(m) -} -func (m *EnumOptions) XXX_DiscardUnknown() { - xxx_messageInfo_EnumOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_EnumOptions proto.InternalMessageInfo - -const Default_EnumOptions_Deprecated bool = false - -func (m *EnumOptions) GetAllowAlias() bool { - if m != nil && m.AllowAlias != nil { - return *m.AllowAlias - } - return false -} - -func (m *EnumOptions) GetDeprecated() bool { - if m != nil && m.Deprecated != nil { - return *m.Deprecated - } - return Default_EnumOptions_Deprecated -} - -func (m *EnumOptions) GetUninterpretedOption() []*UninterpretedOption { - if m != nil { - return m.UninterpretedOption - } - return nil -} - -type EnumValueOptions struct { - // Is this enum value deprecated? - // Depending on the target platform, this can emit Deprecated annotations - // for the enum value, or it will be completely ignored; in the very least, - // this is a formalization for deprecating enum values. - Deprecated *bool `protobuf:"varint,1,opt,name=deprecated,def=0" json:"deprecated,omitempty"` - // The parser stores options it doesn't recognize here. See above. - UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - proto.XXX_InternalExtensions `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *EnumValueOptions) Reset() { *m = EnumValueOptions{} } -func (m *EnumValueOptions) String() string { return proto.CompactTextString(m) } -func (*EnumValueOptions) ProtoMessage() {} -func (*EnumValueOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_e5baabe45344a177, []int{15} -} - -var extRange_EnumValueOptions = []proto.ExtensionRange{ - {Start: 1000, End: 536870911}, -} - -func (*EnumValueOptions) ExtensionRangeArray() []proto.ExtensionRange { - return extRange_EnumValueOptions -} - -func (m *EnumValueOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EnumValueOptions.Unmarshal(m, b) -} -func (m *EnumValueOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EnumValueOptions.Marshal(b, m, deterministic) -} -func (m *EnumValueOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_EnumValueOptions.Merge(m, src) -} -func (m *EnumValueOptions) XXX_Size() int { - return xxx_messageInfo_EnumValueOptions.Size(m) -} -func (m *EnumValueOptions) XXX_DiscardUnknown() { - xxx_messageInfo_EnumValueOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_EnumValueOptions proto.InternalMessageInfo - -const Default_EnumValueOptions_Deprecated bool = false - -func (m *EnumValueOptions) GetDeprecated() bool { - if m != nil && m.Deprecated != nil { - return *m.Deprecated - } - return Default_EnumValueOptions_Deprecated -} - -func (m *EnumValueOptions) GetUninterpretedOption() []*UninterpretedOption { - if m != nil { - return m.UninterpretedOption - } - return nil -} - -type ServiceOptions struct { - // Is this service deprecated? - // Depending on the target platform, this can emit Deprecated annotations - // for the service, or it will be completely ignored; in the very least, - // this is a formalization for deprecating services. - Deprecated *bool `protobuf:"varint,33,opt,name=deprecated,def=0" json:"deprecated,omitempty"` - // The parser stores options it doesn't recognize here. See above. - UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - proto.XXX_InternalExtensions `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ServiceOptions) Reset() { *m = ServiceOptions{} } -func (m *ServiceOptions) String() string { return proto.CompactTextString(m) } -func (*ServiceOptions) ProtoMessage() {} -func (*ServiceOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_e5baabe45344a177, []int{16} -} - -var extRange_ServiceOptions = []proto.ExtensionRange{ - {Start: 1000, End: 536870911}, -} - -func (*ServiceOptions) ExtensionRangeArray() []proto.ExtensionRange { - return extRange_ServiceOptions -} - -func (m *ServiceOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServiceOptions.Unmarshal(m, b) -} -func (m *ServiceOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServiceOptions.Marshal(b, m, deterministic) -} -func (m *ServiceOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceOptions.Merge(m, src) -} -func (m *ServiceOptions) XXX_Size() int { - return xxx_messageInfo_ServiceOptions.Size(m) -} -func (m *ServiceOptions) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_ServiceOptions proto.InternalMessageInfo - -const Default_ServiceOptions_Deprecated bool = false - -func (m *ServiceOptions) GetDeprecated() bool { - if m != nil && m.Deprecated != nil { - return *m.Deprecated - } - return Default_ServiceOptions_Deprecated -} - -func (m *ServiceOptions) GetUninterpretedOption() []*UninterpretedOption { - if m != nil { - return m.UninterpretedOption - } - return nil -} - -type MethodOptions struct { - // Is this method deprecated? - // Depending on the target platform, this can emit Deprecated annotations - // for the method, or it will be completely ignored; in the very least, - // this is a formalization for deprecating methods. - Deprecated *bool `protobuf:"varint,33,opt,name=deprecated,def=0" json:"deprecated,omitempty"` - IdempotencyLevel *MethodOptions_IdempotencyLevel `protobuf:"varint,34,opt,name=idempotency_level,json=idempotencyLevel,enum=google.protobuf.MethodOptions_IdempotencyLevel,def=0" json:"idempotency_level,omitempty"` - // The parser stores options it doesn't recognize here. See above. - UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - proto.XXX_InternalExtensions `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MethodOptions) Reset() { *m = MethodOptions{} } -func (m *MethodOptions) String() string { return proto.CompactTextString(m) } -func (*MethodOptions) ProtoMessage() {} -func (*MethodOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_e5baabe45344a177, []int{17} -} - -var extRange_MethodOptions = []proto.ExtensionRange{ - {Start: 1000, End: 536870911}, -} - -func (*MethodOptions) ExtensionRangeArray() []proto.ExtensionRange { - return extRange_MethodOptions -} - -func (m *MethodOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MethodOptions.Unmarshal(m, b) -} -func (m *MethodOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MethodOptions.Marshal(b, m, deterministic) -} -func (m *MethodOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_MethodOptions.Merge(m, src) -} -func (m *MethodOptions) XXX_Size() int { - return xxx_messageInfo_MethodOptions.Size(m) -} -func (m *MethodOptions) XXX_DiscardUnknown() { - xxx_messageInfo_MethodOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_MethodOptions proto.InternalMessageInfo - -const Default_MethodOptions_Deprecated bool = false -const Default_MethodOptions_IdempotencyLevel MethodOptions_IdempotencyLevel = MethodOptions_IDEMPOTENCY_UNKNOWN - -func (m *MethodOptions) GetDeprecated() bool { - if m != nil && m.Deprecated != nil { - return *m.Deprecated - } - return Default_MethodOptions_Deprecated -} - -func (m *MethodOptions) GetIdempotencyLevel() MethodOptions_IdempotencyLevel { - if m != nil && m.IdempotencyLevel != nil { - return *m.IdempotencyLevel - } - return Default_MethodOptions_IdempotencyLevel -} - -func (m *MethodOptions) GetUninterpretedOption() []*UninterpretedOption { - if m != nil { - return m.UninterpretedOption - } - return nil -} - -// A message representing a option the parser does not recognize. This only -// appears in options protos created by the compiler::Parser class. -// DescriptorPool resolves these when building Descriptor objects. Therefore, -// options protos in descriptor objects (e.g. returned by Descriptor::options(), -// or produced by Descriptor::CopyTo()) will never have UninterpretedOptions -// in them. -type UninterpretedOption struct { - Name []*UninterpretedOption_NamePart `protobuf:"bytes,2,rep,name=name" json:"name,omitempty"` - // The value of the uninterpreted option, in whatever type the tokenizer - // identified it as during parsing. Exactly one of these should be set. - IdentifierValue *string `protobuf:"bytes,3,opt,name=identifier_value,json=identifierValue" json:"identifier_value,omitempty"` - PositiveIntValue *uint64 `protobuf:"varint,4,opt,name=positive_int_value,json=positiveIntValue" json:"positive_int_value,omitempty"` - NegativeIntValue *int64 `protobuf:"varint,5,opt,name=negative_int_value,json=negativeIntValue" json:"negative_int_value,omitempty"` - DoubleValue *float64 `protobuf:"fixed64,6,opt,name=double_value,json=doubleValue" json:"double_value,omitempty"` - StringValue []byte `protobuf:"bytes,7,opt,name=string_value,json=stringValue" json:"string_value,omitempty"` - AggregateValue *string `protobuf:"bytes,8,opt,name=aggregate_value,json=aggregateValue" json:"aggregate_value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UninterpretedOption) Reset() { *m = UninterpretedOption{} } -func (m *UninterpretedOption) String() string { return proto.CompactTextString(m) } -func (*UninterpretedOption) ProtoMessage() {} -func (*UninterpretedOption) Descriptor() ([]byte, []int) { - return fileDescriptor_e5baabe45344a177, []int{18} -} - -func (m *UninterpretedOption) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UninterpretedOption.Unmarshal(m, b) -} -func (m *UninterpretedOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UninterpretedOption.Marshal(b, m, deterministic) -} -func (m *UninterpretedOption) XXX_Merge(src proto.Message) { - xxx_messageInfo_UninterpretedOption.Merge(m, src) -} -func (m *UninterpretedOption) XXX_Size() int { - return xxx_messageInfo_UninterpretedOption.Size(m) -} -func (m *UninterpretedOption) XXX_DiscardUnknown() { - xxx_messageInfo_UninterpretedOption.DiscardUnknown(m) -} - -var xxx_messageInfo_UninterpretedOption proto.InternalMessageInfo - -func (m *UninterpretedOption) GetName() []*UninterpretedOption_NamePart { - if m != nil { - return m.Name - } - return nil -} - -func (m *UninterpretedOption) GetIdentifierValue() string { - if m != nil && m.IdentifierValue != nil { - return *m.IdentifierValue - } - return "" -} - -func (m *UninterpretedOption) GetPositiveIntValue() uint64 { - if m != nil && m.PositiveIntValue != nil { - return *m.PositiveIntValue - } - return 0 -} - -func (m *UninterpretedOption) GetNegativeIntValue() int64 { - if m != nil && m.NegativeIntValue != nil { - return *m.NegativeIntValue - } - return 0 -} - -func (m *UninterpretedOption) GetDoubleValue() float64 { - if m != nil && m.DoubleValue != nil { - return *m.DoubleValue - } - return 0 -} - -func (m *UninterpretedOption) GetStringValue() []byte { - if m != nil { - return m.StringValue - } - return nil -} - -func (m *UninterpretedOption) GetAggregateValue() string { - if m != nil && m.AggregateValue != nil { - return *m.AggregateValue - } - return "" -} - -// The name of the uninterpreted option. Each string represents a segment in -// a dot-separated name. is_extension is true iff a segment represents an -// extension (denoted with parentheses in options specs in .proto files). -// E.g.,{ ["foo", false], ["bar.baz", true], ["qux", false] } represents -// "foo.(bar.baz).qux". -type UninterpretedOption_NamePart struct { - NamePart *string `protobuf:"bytes,1,req,name=name_part,json=namePart" json:"name_part,omitempty"` - IsExtension *bool `protobuf:"varint,2,req,name=is_extension,json=isExtension" json:"is_extension,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UninterpretedOption_NamePart) Reset() { *m = UninterpretedOption_NamePart{} } -func (m *UninterpretedOption_NamePart) String() string { return proto.CompactTextString(m) } -func (*UninterpretedOption_NamePart) ProtoMessage() {} -func (*UninterpretedOption_NamePart) Descriptor() ([]byte, []int) { - return fileDescriptor_e5baabe45344a177, []int{18, 0} -} - -func (m *UninterpretedOption_NamePart) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UninterpretedOption_NamePart.Unmarshal(m, b) -} -func (m *UninterpretedOption_NamePart) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UninterpretedOption_NamePart.Marshal(b, m, deterministic) -} -func (m *UninterpretedOption_NamePart) XXX_Merge(src proto.Message) { - xxx_messageInfo_UninterpretedOption_NamePart.Merge(m, src) -} -func (m *UninterpretedOption_NamePart) XXX_Size() int { - return xxx_messageInfo_UninterpretedOption_NamePart.Size(m) -} -func (m *UninterpretedOption_NamePart) XXX_DiscardUnknown() { - xxx_messageInfo_UninterpretedOption_NamePart.DiscardUnknown(m) -} - -var xxx_messageInfo_UninterpretedOption_NamePart proto.InternalMessageInfo - -func (m *UninterpretedOption_NamePart) GetNamePart() string { - if m != nil && m.NamePart != nil { - return *m.NamePart - } - return "" -} - -func (m *UninterpretedOption_NamePart) GetIsExtension() bool { - if m != nil && m.IsExtension != nil { - return *m.IsExtension - } - return false -} - -// Encapsulates information about the original source file from which a -// FileDescriptorProto was generated. -type SourceCodeInfo struct { - // A Location identifies a piece of source code in a .proto file which - // corresponds to a particular definition. This information is intended - // to be useful to IDEs, code indexers, documentation generators, and similar - // tools. - // - // For example, say we have a file like: - // message Foo { - // optional string foo = 1; - // } - // Let's look at just the field definition: - // optional string foo = 1; - // ^ ^^ ^^ ^ ^^^ - // a bc de f ghi - // We have the following locations: - // span path represents - // [a,i) [ 4, 0, 2, 0 ] The whole field definition. - // [a,b) [ 4, 0, 2, 0, 4 ] The label (optional). - // [c,d) [ 4, 0, 2, 0, 5 ] The type (string). - // [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). - // [g,h) [ 4, 0, 2, 0, 3 ] The number (1). - // - // Notes: - // - A location may refer to a repeated field itself (i.e. not to any - // particular index within it). This is used whenever a set of elements are - // logically enclosed in a single code segment. For example, an entire - // extend block (possibly containing multiple extension definitions) will - // have an outer location whose path refers to the "extensions" repeated - // field without an index. - // - Multiple locations may have the same path. This happens when a single - // logical declaration is spread out across multiple places. The most - // obvious example is the "extend" block again -- there may be multiple - // extend blocks in the same scope, each of which will have the same path. - // - A location's span is not always a subset of its parent's span. For - // example, the "extendee" of an extension declaration appears at the - // beginning of the "extend" block and is shared by all extensions within - // the block. - // - Just because a location's span is a subset of some other location's span - // does not mean that it is a descendent. For example, a "group" defines - // both a type and a field in a single declaration. Thus, the locations - // corresponding to the type and field and their components will overlap. - // - Code which tries to interpret locations should probably be designed to - // ignore those that it doesn't understand, as more types of locations could - // be recorded in the future. - Location []*SourceCodeInfo_Location `protobuf:"bytes,1,rep,name=location" json:"location,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SourceCodeInfo) Reset() { *m = SourceCodeInfo{} } -func (m *SourceCodeInfo) String() string { return proto.CompactTextString(m) } -func (*SourceCodeInfo) ProtoMessage() {} -func (*SourceCodeInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_e5baabe45344a177, []int{19} -} - -func (m *SourceCodeInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SourceCodeInfo.Unmarshal(m, b) -} -func (m *SourceCodeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SourceCodeInfo.Marshal(b, m, deterministic) -} -func (m *SourceCodeInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_SourceCodeInfo.Merge(m, src) -} -func (m *SourceCodeInfo) XXX_Size() int { - return xxx_messageInfo_SourceCodeInfo.Size(m) -} -func (m *SourceCodeInfo) XXX_DiscardUnknown() { - xxx_messageInfo_SourceCodeInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_SourceCodeInfo proto.InternalMessageInfo - -func (m *SourceCodeInfo) GetLocation() []*SourceCodeInfo_Location { - if m != nil { - return m.Location - } - return nil -} - -type SourceCodeInfo_Location struct { - // Identifies which part of the FileDescriptorProto was defined at this - // location. - // - // Each element is a field number or an index. They form a path from - // the root FileDescriptorProto to the place where the definition. For - // example, this path: - // [ 4, 3, 2, 7, 1 ] - // refers to: - // file.message_type(3) // 4, 3 - // .field(7) // 2, 7 - // .name() // 1 - // This is because FileDescriptorProto.message_type has field number 4: - // repeated DescriptorProto message_type = 4; - // and DescriptorProto.field has field number 2: - // repeated FieldDescriptorProto field = 2; - // and FieldDescriptorProto.name has field number 1: - // optional string name = 1; - // - // Thus, the above path gives the location of a field name. If we removed - // the last element: - // [ 4, 3, 2, 7 ] - // this path refers to the whole field declaration (from the beginning - // of the label to the terminating semicolon). - Path []int32 `protobuf:"varint,1,rep,packed,name=path" json:"path,omitempty"` - // Always has exactly three or four elements: start line, start column, - // end line (optional, otherwise assumed same as start line), end column. - // These are packed into a single field for efficiency. Note that line - // and column numbers are zero-based -- typically you will want to add - // 1 to each before displaying to a user. - Span []int32 `protobuf:"varint,2,rep,packed,name=span" json:"span,omitempty"` - // If this SourceCodeInfo represents a complete declaration, these are any - // comments appearing before and after the declaration which appear to be - // attached to the declaration. - // - // A series of line comments appearing on consecutive lines, with no other - // tokens appearing on those lines, will be treated as a single comment. - // - // leading_detached_comments will keep paragraphs of comments that appear - // before (but not connected to) the current element. Each paragraph, - // separated by empty lines, will be one comment element in the repeated - // field. - // - // Only the comment content is provided; comment markers (e.g. //) are - // stripped out. For block comments, leading whitespace and an asterisk - // will be stripped from the beginning of each line other than the first. - // Newlines are included in the output. - // - // Examples: - // - // optional int32 foo = 1; // Comment attached to foo. - // // Comment attached to bar. - // optional int32 bar = 2; - // - // optional string baz = 3; - // // Comment attached to baz. - // // Another line attached to baz. - // - // // Comment attached to qux. - // // - // // Another line attached to qux. - // optional double qux = 4; - // - // // Detached comment for corge. This is not leading or trailing comments - // // to qux or corge because there are blank lines separating it from - // // both. - // - // // Detached comment for corge paragraph 2. - // - // optional string corge = 5; - // /* Block comment attached - // * to corge. Leading asterisks - // * will be removed. */ - // /* Block comment attached to - // * grault. */ - // optional int32 grault = 6; - // - // // ignored detached comments. - LeadingComments *string `protobuf:"bytes,3,opt,name=leading_comments,json=leadingComments" json:"leading_comments,omitempty"` - TrailingComments *string `protobuf:"bytes,4,opt,name=trailing_comments,json=trailingComments" json:"trailing_comments,omitempty"` - LeadingDetachedComments []string `protobuf:"bytes,6,rep,name=leading_detached_comments,json=leadingDetachedComments" json:"leading_detached_comments,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SourceCodeInfo_Location) Reset() { *m = SourceCodeInfo_Location{} } -func (m *SourceCodeInfo_Location) String() string { return proto.CompactTextString(m) } -func (*SourceCodeInfo_Location) ProtoMessage() {} -func (*SourceCodeInfo_Location) Descriptor() ([]byte, []int) { - return fileDescriptor_e5baabe45344a177, []int{19, 0} -} - -func (m *SourceCodeInfo_Location) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SourceCodeInfo_Location.Unmarshal(m, b) -} -func (m *SourceCodeInfo_Location) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SourceCodeInfo_Location.Marshal(b, m, deterministic) -} -func (m *SourceCodeInfo_Location) XXX_Merge(src proto.Message) { - xxx_messageInfo_SourceCodeInfo_Location.Merge(m, src) -} -func (m *SourceCodeInfo_Location) XXX_Size() int { - return xxx_messageInfo_SourceCodeInfo_Location.Size(m) -} -func (m *SourceCodeInfo_Location) XXX_DiscardUnknown() { - xxx_messageInfo_SourceCodeInfo_Location.DiscardUnknown(m) -} - -var xxx_messageInfo_SourceCodeInfo_Location proto.InternalMessageInfo - -func (m *SourceCodeInfo_Location) GetPath() []int32 { - if m != nil { - return m.Path - } - return nil -} - -func (m *SourceCodeInfo_Location) GetSpan() []int32 { - if m != nil { - return m.Span - } - return nil -} - -func (m *SourceCodeInfo_Location) GetLeadingComments() string { - if m != nil && m.LeadingComments != nil { - return *m.LeadingComments - } - return "" -} - -func (m *SourceCodeInfo_Location) GetTrailingComments() string { - if m != nil && m.TrailingComments != nil { - return *m.TrailingComments - } - return "" -} - -func (m *SourceCodeInfo_Location) GetLeadingDetachedComments() []string { - if m != nil { - return m.LeadingDetachedComments - } - return nil -} - -// Describes the relationship between generated code and its original source -// file. A GeneratedCodeInfo message is associated with only one generated -// source file, but may contain references to different source .proto files. -type GeneratedCodeInfo struct { - // An Annotation connects some span of text in generated code to an element - // of its generating .proto file. - Annotation []*GeneratedCodeInfo_Annotation `protobuf:"bytes,1,rep,name=annotation" json:"annotation,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GeneratedCodeInfo) Reset() { *m = GeneratedCodeInfo{} } -func (m *GeneratedCodeInfo) String() string { return proto.CompactTextString(m) } -func (*GeneratedCodeInfo) ProtoMessage() {} -func (*GeneratedCodeInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_e5baabe45344a177, []int{20} -} - -func (m *GeneratedCodeInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GeneratedCodeInfo.Unmarshal(m, b) -} -func (m *GeneratedCodeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GeneratedCodeInfo.Marshal(b, m, deterministic) -} -func (m *GeneratedCodeInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_GeneratedCodeInfo.Merge(m, src) -} -func (m *GeneratedCodeInfo) XXX_Size() int { - return xxx_messageInfo_GeneratedCodeInfo.Size(m) -} -func (m *GeneratedCodeInfo) XXX_DiscardUnknown() { - xxx_messageInfo_GeneratedCodeInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_GeneratedCodeInfo proto.InternalMessageInfo - -func (m *GeneratedCodeInfo) GetAnnotation() []*GeneratedCodeInfo_Annotation { - if m != nil { - return m.Annotation - } - return nil -} - -type GeneratedCodeInfo_Annotation struct { - // Identifies the element in the original source .proto file. This field - // is formatted the same as SourceCodeInfo.Location.path. - Path []int32 `protobuf:"varint,1,rep,packed,name=path" json:"path,omitempty"` - // Identifies the filesystem path to the original source .proto. - SourceFile *string `protobuf:"bytes,2,opt,name=source_file,json=sourceFile" json:"source_file,omitempty"` - // Identifies the starting offset in bytes in the generated code - // that relates to the identified object. - Begin *int32 `protobuf:"varint,3,opt,name=begin" json:"begin,omitempty"` - // Identifies the ending offset in bytes in the generated code that - // relates to the identified offset. The end offset should be one past - // the last relevant byte (so the length of the text = end - begin). - End *int32 `protobuf:"varint,4,opt,name=end" json:"end,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GeneratedCodeInfo_Annotation) Reset() { *m = GeneratedCodeInfo_Annotation{} } -func (m *GeneratedCodeInfo_Annotation) String() string { return proto.CompactTextString(m) } -func (*GeneratedCodeInfo_Annotation) ProtoMessage() {} -func (*GeneratedCodeInfo_Annotation) Descriptor() ([]byte, []int) { - return fileDescriptor_e5baabe45344a177, []int{20, 0} -} - -func (m *GeneratedCodeInfo_Annotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GeneratedCodeInfo_Annotation.Unmarshal(m, b) -} -func (m *GeneratedCodeInfo_Annotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GeneratedCodeInfo_Annotation.Marshal(b, m, deterministic) -} -func (m *GeneratedCodeInfo_Annotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_GeneratedCodeInfo_Annotation.Merge(m, src) -} -func (m *GeneratedCodeInfo_Annotation) XXX_Size() int { - return xxx_messageInfo_GeneratedCodeInfo_Annotation.Size(m) -} -func (m *GeneratedCodeInfo_Annotation) XXX_DiscardUnknown() { - xxx_messageInfo_GeneratedCodeInfo_Annotation.DiscardUnknown(m) -} - -var xxx_messageInfo_GeneratedCodeInfo_Annotation proto.InternalMessageInfo - -func (m *GeneratedCodeInfo_Annotation) GetPath() []int32 { - if m != nil { - return m.Path - } - return nil -} - -func (m *GeneratedCodeInfo_Annotation) GetSourceFile() string { - if m != nil && m.SourceFile != nil { - return *m.SourceFile - } - return "" -} - -func (m *GeneratedCodeInfo_Annotation) GetBegin() int32 { - if m != nil && m.Begin != nil { - return *m.Begin - } - return 0 -} - -func (m *GeneratedCodeInfo_Annotation) GetEnd() int32 { - if m != nil && m.End != nil { - return *m.End - } - return 0 -} - -func init() { - proto.RegisterEnum("google.protobuf.FieldDescriptorProto_Type", FieldDescriptorProto_Type_name, FieldDescriptorProto_Type_value) - proto.RegisterEnum("google.protobuf.FieldDescriptorProto_Label", FieldDescriptorProto_Label_name, FieldDescriptorProto_Label_value) - proto.RegisterEnum("google.protobuf.FileOptions_OptimizeMode", FileOptions_OptimizeMode_name, FileOptions_OptimizeMode_value) - proto.RegisterEnum("google.protobuf.FieldOptions_CType", FieldOptions_CType_name, FieldOptions_CType_value) - proto.RegisterEnum("google.protobuf.FieldOptions_JSType", FieldOptions_JSType_name, FieldOptions_JSType_value) - proto.RegisterEnum("google.protobuf.MethodOptions_IdempotencyLevel", MethodOptions_IdempotencyLevel_name, MethodOptions_IdempotencyLevel_value) - proto.RegisterType((*FileDescriptorSet)(nil), "google.protobuf.FileDescriptorSet") - proto.RegisterType((*FileDescriptorProto)(nil), "google.protobuf.FileDescriptorProto") - proto.RegisterType((*DescriptorProto)(nil), "google.protobuf.DescriptorProto") - proto.RegisterType((*DescriptorProto_ExtensionRange)(nil), "google.protobuf.DescriptorProto.ExtensionRange") - proto.RegisterType((*DescriptorProto_ReservedRange)(nil), "google.protobuf.DescriptorProto.ReservedRange") - proto.RegisterType((*ExtensionRangeOptions)(nil), "google.protobuf.ExtensionRangeOptions") - proto.RegisterType((*FieldDescriptorProto)(nil), "google.protobuf.FieldDescriptorProto") - proto.RegisterType((*OneofDescriptorProto)(nil), "google.protobuf.OneofDescriptorProto") - proto.RegisterType((*EnumDescriptorProto)(nil), "google.protobuf.EnumDescriptorProto") - proto.RegisterType((*EnumDescriptorProto_EnumReservedRange)(nil), "google.protobuf.EnumDescriptorProto.EnumReservedRange") - proto.RegisterType((*EnumValueDescriptorProto)(nil), "google.protobuf.EnumValueDescriptorProto") - proto.RegisterType((*ServiceDescriptorProto)(nil), "google.protobuf.ServiceDescriptorProto") - proto.RegisterType((*MethodDescriptorProto)(nil), "google.protobuf.MethodDescriptorProto") - proto.RegisterType((*FileOptions)(nil), "google.protobuf.FileOptions") - proto.RegisterType((*MessageOptions)(nil), "google.protobuf.MessageOptions") - proto.RegisterType((*FieldOptions)(nil), "google.protobuf.FieldOptions") - proto.RegisterType((*OneofOptions)(nil), "google.protobuf.OneofOptions") - proto.RegisterType((*EnumOptions)(nil), "google.protobuf.EnumOptions") - proto.RegisterType((*EnumValueOptions)(nil), "google.protobuf.EnumValueOptions") - proto.RegisterType((*ServiceOptions)(nil), "google.protobuf.ServiceOptions") - proto.RegisterType((*MethodOptions)(nil), "google.protobuf.MethodOptions") - proto.RegisterType((*UninterpretedOption)(nil), "google.protobuf.UninterpretedOption") - proto.RegisterType((*UninterpretedOption_NamePart)(nil), "google.protobuf.UninterpretedOption.NamePart") - proto.RegisterType((*SourceCodeInfo)(nil), "google.protobuf.SourceCodeInfo") - proto.RegisterType((*SourceCodeInfo_Location)(nil), "google.protobuf.SourceCodeInfo.Location") - proto.RegisterType((*GeneratedCodeInfo)(nil), "google.protobuf.GeneratedCodeInfo") - proto.RegisterType((*GeneratedCodeInfo_Annotation)(nil), "google.protobuf.GeneratedCodeInfo.Annotation") -} - -func init() { proto.RegisterFile("google/protobuf/descriptor.proto", fileDescriptor_e5baabe45344a177) } - -var fileDescriptor_e5baabe45344a177 = []byte{ - // 2589 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x59, 0xdd, 0x8e, 0xdb, 0xc6,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, 0x7f, - 0xce, 0x6c, 0x1d, 0x88, 0xee, 0x7a, 0x51, 0x78, 0x54, 0x3a, 0xb4, 0xa8, 0xce, 0x86, 0xfc, 0xff, - 0x00, 0x00, 0x00, 0xff, 0xff, 0x3e, 0xe8, 0xef, 0xc4, 0x9b, 0x1d, 0x00, 0x00, -} diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/plugin/plugin.pb.go b/vendor/github.com/golang/protobuf/protoc-gen-go/plugin/plugin.pb.go deleted file mode 100644 index 61bfc10e..00000000 --- a/vendor/github.com/golang/protobuf/protoc-gen-go/plugin/plugin.pb.go +++ /dev/null @@ -1,369 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/protobuf/compiler/plugin.proto - -/* -Package plugin_go is a generated protocol buffer package. - -It is generated from these files: - google/protobuf/compiler/plugin.proto - -It has these top-level messages: - Version - CodeGeneratorRequest - CodeGeneratorResponse -*/ -package plugin_go - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import google_protobuf "github.com/golang/protobuf/protoc-gen-go/descriptor" - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation 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 version number of protocol compiler. -type Version struct { - Major *int32 `protobuf:"varint,1,opt,name=major" json:"major,omitempty"` - Minor *int32 `protobuf:"varint,2,opt,name=minor" json:"minor,omitempty"` - Patch *int32 `protobuf:"varint,3,opt,name=patch" json:"patch,omitempty"` - // A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2". It should - // be empty for mainline stable releases. - Suffix *string `protobuf:"bytes,4,opt,name=suffix" json:"suffix,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 fileDescriptor0, []int{0} } -func (m *Version) Unmarshal(b []byte) error { - return xxx_messageInfo_Version.Unmarshal(m, b) -} -func (m *Version) 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) GetMajor() int32 { - if m != nil && m.Major != nil { - return *m.Major - } - return 0 -} - -func (m *Version) GetMinor() int32 { - if m != nil && m.Minor != nil { - return *m.Minor - } - return 0 -} - -func (m *Version) GetPatch() int32 { - if m != nil && m.Patch != nil { - return *m.Patch - } - return 0 -} - -func (m *Version) GetSuffix() string { - if m != nil && m.Suffix != nil { - return *m.Suffix - } - return "" -} - -// An encoded CodeGeneratorRequest is written to the plugin's stdin. -type CodeGeneratorRequest struct { - // The .proto files that were explicitly listed on the command-line. The - // code generator should generate code only for these files. Each file's - // descriptor will be included in proto_file, below. - FileToGenerate []string `protobuf:"bytes,1,rep,name=file_to_generate,json=fileToGenerate" json:"file_to_generate,omitempty"` - // The generator parameter passed on the command-line. - Parameter *string `protobuf:"bytes,2,opt,name=parameter" json:"parameter,omitempty"` - // FileDescriptorProtos for all files in files_to_generate and everything - // they import. The files will appear in topological order, so each file - // appears before any file that imports it. - // - // protoc guarantees that all proto_files will be written after - // the fields above, even though this is not technically guaranteed by the - // protobuf wire format. This theoretically could allow a plugin to stream - // in the FileDescriptorProtos and handle them one by one rather than read - // the entire set into memory at once. However, as of this writing, this - // is not similarly optimized on protoc's end -- it will store all fields in - // memory at once before sending them to the plugin. - // - // Type names of fields and extensions in the FileDescriptorProto are always - // fully qualified. - ProtoFile []*google_protobuf.FileDescriptorProto `protobuf:"bytes,15,rep,name=proto_file,json=protoFile" json:"proto_file,omitempty"` - // The version number of protocol compiler. - CompilerVersion *Version `protobuf:"bytes,3,opt,name=compiler_version,json=compilerVersion" json:"compiler_version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CodeGeneratorRequest) Reset() { *m = CodeGeneratorRequest{} } -func (m *CodeGeneratorRequest) String() string { return proto.CompactTextString(m) } -func (*CodeGeneratorRequest) ProtoMessage() {} -func (*CodeGeneratorRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} } -func (m *CodeGeneratorRequest) Unmarshal(b []byte) error { - return xxx_messageInfo_CodeGeneratorRequest.Unmarshal(m, b) -} -func (m *CodeGeneratorRequest) Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CodeGeneratorRequest.Marshal(b, m, deterministic) -} -func (dst *CodeGeneratorRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CodeGeneratorRequest.Merge(dst, src) -} -func (m *CodeGeneratorRequest) XXX_Size() int { - return xxx_messageInfo_CodeGeneratorRequest.Size(m) -} -func (m *CodeGeneratorRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CodeGeneratorRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CodeGeneratorRequest proto.InternalMessageInfo - -func (m *CodeGeneratorRequest) GetFileToGenerate() []string { - if m != nil { - return m.FileToGenerate - } - return nil -} - -func (m *CodeGeneratorRequest) GetParameter() string { - if m != nil && m.Parameter != nil { - return *m.Parameter - } - return "" -} - -func (m *CodeGeneratorRequest) GetProtoFile() []*google_protobuf.FileDescriptorProto { - if m != nil { - return m.ProtoFile - } - return nil -} - -func (m *CodeGeneratorRequest) GetCompilerVersion() *Version { - if m != nil { - return m.CompilerVersion - } - return nil -} - -// The plugin writes an encoded CodeGeneratorResponse to stdout. -type CodeGeneratorResponse struct { - // Error message. If non-empty, code generation failed. The plugin process - // should exit with status code zero even if it reports an error in this way. - // - // This should be used to indicate errors in .proto files which prevent the - // code generator from generating correct code. Errors which indicate a - // problem in protoc itself -- such as the input CodeGeneratorRequest being - // unparseable -- should be reported by writing a message to stderr and - // exiting with a non-zero status code. - Error *string `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"` - File []*CodeGeneratorResponse_File `protobuf:"bytes,15,rep,name=file" json:"file,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CodeGeneratorResponse) Reset() { *m = CodeGeneratorResponse{} } -func (m *CodeGeneratorResponse) String() string { return proto.CompactTextString(m) } -func (*CodeGeneratorResponse) ProtoMessage() {} -func (*CodeGeneratorResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} } -func (m *CodeGeneratorResponse) Unmarshal(b []byte) error { - return xxx_messageInfo_CodeGeneratorResponse.Unmarshal(m, b) -} -func (m *CodeGeneratorResponse) Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CodeGeneratorResponse.Marshal(b, m, deterministic) -} -func (dst *CodeGeneratorResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CodeGeneratorResponse.Merge(dst, src) -} -func (m *CodeGeneratorResponse) XXX_Size() int { - return xxx_messageInfo_CodeGeneratorResponse.Size(m) -} -func (m *CodeGeneratorResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CodeGeneratorResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_CodeGeneratorResponse proto.InternalMessageInfo - -func (m *CodeGeneratorResponse) GetError() string { - if m != nil && m.Error != nil { - return *m.Error - } - return "" -} - -func (m *CodeGeneratorResponse) GetFile() []*CodeGeneratorResponse_File { - if m != nil { - return m.File - } - return nil -} - -// Represents a single generated file. -type CodeGeneratorResponse_File struct { - // The file name, relative to the output directory. The name must not - // contain "." or ".." components and must be relative, not be absolute (so, - // the file cannot lie outside the output directory). "/" must be used as - // the path separator, not "\". - // - // If the name is omitted, the content will be appended to the previous - // file. This allows the generator to break large files into small chunks, - // and allows the generated text to be streamed back to protoc so that large - // files need not reside completely in memory at one time. Note that as of - // this writing protoc does not optimize for this -- it will read the entire - // CodeGeneratorResponse before writing files to disk. - Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - // If non-empty, indicates that the named file should already exist, and the - // content here is to be inserted into that file at a defined insertion - // point. This feature allows a code generator to extend the output - // produced by another code generator. The original generator may provide - // insertion points by placing special annotations in the file that look - // like: - // @@protoc_insertion_point(NAME) - // The annotation can have arbitrary text before and after it on the line, - // which allows it to be placed in a comment. NAME should be replaced with - // an identifier naming the point -- this is what other generators will use - // as the insertion_point. Code inserted at this point will be placed - // immediately above the line containing the insertion point (thus multiple - // insertions to the same point will come out in the order they were added). - // The double-@ is intended to make it unlikely that the generated code - // could contain things that look like insertion points by accident. - // - // For example, the C++ code generator places the following line in the - // .pb.h files that it generates: - // // @@protoc_insertion_point(namespace_scope) - // This line appears within the scope of the file's package namespace, but - // outside of any particular class. Another plugin can then specify the - // insertion_point "namespace_scope" to generate additional classes or - // other declarations that should be placed in this scope. - // - // Note that if the line containing the insertion point begins with - // whitespace, the same whitespace will be added to every line of the - // inserted text. This is useful for languages like Python, where - // indentation matters. In these languages, the insertion point comment - // should be indented the same amount as any inserted code will need to be - // in order to work correctly in that context. - // - // The code generator that generates the initial file and the one which - // inserts into it must both run as part of a single invocation of protoc. - // Code generators are executed in the order in which they appear on the - // command line. - // - // If |insertion_point| is present, |name| must also be present. - InsertionPoint *string `protobuf:"bytes,2,opt,name=insertion_point,json=insertionPoint" json:"insertion_point,omitempty"` - // The file contents. - Content *string `protobuf:"bytes,15,opt,name=content" json:"content,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CodeGeneratorResponse_File) Reset() { *m = CodeGeneratorResponse_File{} } -func (m *CodeGeneratorResponse_File) String() string { return proto.CompactTextString(m) } -func (*CodeGeneratorResponse_File) ProtoMessage() {} -func (*CodeGeneratorResponse_File) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2, 0} } -func (m *CodeGeneratorResponse_File) Unmarshal(b []byte) error { - return xxx_messageInfo_CodeGeneratorResponse_File.Unmarshal(m, b) -} -func (m *CodeGeneratorResponse_File) Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CodeGeneratorResponse_File.Marshal(b, m, deterministic) -} -func (dst *CodeGeneratorResponse_File) XXX_Merge(src proto.Message) { - xxx_messageInfo_CodeGeneratorResponse_File.Merge(dst, src) -} -func (m *CodeGeneratorResponse_File) XXX_Size() int { - return xxx_messageInfo_CodeGeneratorResponse_File.Size(m) -} -func (m *CodeGeneratorResponse_File) XXX_DiscardUnknown() { - xxx_messageInfo_CodeGeneratorResponse_File.DiscardUnknown(m) -} - -var xxx_messageInfo_CodeGeneratorResponse_File proto.InternalMessageInfo - -func (m *CodeGeneratorResponse_File) GetName() string { - if m != nil && m.Name != nil { - return *m.Name - } - return "" -} - -func (m *CodeGeneratorResponse_File) GetInsertionPoint() string { - if m != nil && m.InsertionPoint != nil { - return *m.InsertionPoint - } - return "" -} - -func (m *CodeGeneratorResponse_File) GetContent() string { - if m != nil && m.Content != nil { - return *m.Content - } - return "" -} - -func init() { - proto.RegisterType((*Version)(nil), "google.protobuf.compiler.Version") - proto.RegisterType((*CodeGeneratorRequest)(nil), "google.protobuf.compiler.CodeGeneratorRequest") - proto.RegisterType((*CodeGeneratorResponse)(nil), "google.protobuf.compiler.CodeGeneratorResponse") - proto.RegisterType((*CodeGeneratorResponse_File)(nil), "google.protobuf.compiler.CodeGeneratorResponse.File") -} - -func init() { proto.RegisterFile("google/protobuf/compiler/plugin.proto", fileDescriptor0) } - -var fileDescriptor0 = []byte{ - // 417 bytes of a gzipped FileDescriptorProto - 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xfe, 0xae, 0x9e, - 0x6c, 0xc3, 0x6e, 0x06, 0x7b, 0xed, 0xd7, 0x37, 0x52, 0xb9, 0xbb, 0xe9, 0xc6, 0x87, 0x37, 0x92, - 0xfa, 0x46, 0xcb, 0x87, 0x65, 0x0c, 0x97, 0xf6, 0x42, 0xa2, 0xbe, 0x90, 0x94, 0x56, 0xfa, 0x6d, - 0x3c, 0x6a, 0x49, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xf7, 0x15, 0x40, 0xc5, 0xfe, 0x02, 0x00, - 0x00, -} diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/plugin/plugin.pb.golden b/vendor/github.com/golang/protobuf/protoc-gen-go/plugin/plugin.pb.golden deleted file mode 100644 index 8953d0ff..00000000 --- a/vendor/github.com/golang/protobuf/protoc-gen-go/plugin/plugin.pb.golden +++ /dev/null @@ -1,83 +0,0 @@ -// Code generated by protoc-gen-go. -// source: google/protobuf/compiler/plugin.proto -// DO NOT EDIT! - -package google_protobuf_compiler - -import proto "github.com/golang/protobuf/proto" -import "math" -import google_protobuf "github.com/golang/protobuf/protoc-gen-go/descriptor" - -// Reference proto and math imports to suppress error if they are not otherwise used. -var _ = proto.GetString -var _ = math.Inf - -type CodeGeneratorRequest struct { - FileToGenerate []string `protobuf:"bytes,1,rep,name=file_to_generate" json:"file_to_generate,omitempty"` - Parameter *string `protobuf:"bytes,2,opt,name=parameter" json:"parameter,omitempty"` - ProtoFile []*google_protobuf.FileDescriptorProto `protobuf:"bytes,15,rep,name=proto_file" json:"proto_file,omitempty"` - XXX_unrecognized []byte `json:"-"` -} - -func (this *CodeGeneratorRequest) Reset() { *this = CodeGeneratorRequest{} } -func (this *CodeGeneratorRequest) String() string { return proto.CompactTextString(this) } -func (*CodeGeneratorRequest) ProtoMessage() {} - -func (this *CodeGeneratorRequest) GetParameter() string { - if this != nil && this.Parameter != nil { - return *this.Parameter - } - return "" -} - -type CodeGeneratorResponse struct { - Error *string `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"` - File []*CodeGeneratorResponse_File `protobuf:"bytes,15,rep,name=file" json:"file,omitempty"` - XXX_unrecognized []byte `json:"-"` -} - -func (this *CodeGeneratorResponse) Reset() { *this = CodeGeneratorResponse{} } -func (this *CodeGeneratorResponse) String() string { return proto.CompactTextString(this) } -func (*CodeGeneratorResponse) ProtoMessage() {} - -func (this *CodeGeneratorResponse) GetError() string { - if this != nil && this.Error != nil { - return *this.Error - } - return "" -} - -type CodeGeneratorResponse_File struct { - Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - InsertionPoint *string `protobuf:"bytes,2,opt,name=insertion_point" json:"insertion_point,omitempty"` - Content *string `protobuf:"bytes,15,opt,name=content" json:"content,omitempty"` - XXX_unrecognized []byte `json:"-"` -} - -func (this *CodeGeneratorResponse_File) Reset() { *this = CodeGeneratorResponse_File{} } -func (this *CodeGeneratorResponse_File) String() string { return proto.CompactTextString(this) } -func (*CodeGeneratorResponse_File) ProtoMessage() {} - -func (this *CodeGeneratorResponse_File) GetName() string { - if this != nil && this.Name != nil { - return *this.Name - } - return "" -} - -func (this *CodeGeneratorResponse_File) GetInsertionPoint() string { - if this != nil && this.InsertionPoint != nil { - return *this.InsertionPoint - } - return "" -} - -func (this *CodeGeneratorResponse_File) GetContent() string { - if this != nil && this.Content != nil { - return *this.Content - } - return "" -} - -func init() { -} diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/deprecated/deprecated.pb.go b/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/deprecated/deprecated.pb.go deleted file mode 100644 index 2515c99e..00000000 --- a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/deprecated/deprecated.pb.go +++ /dev/null @@ -1,283 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// deprecated/deprecated.proto is a deprecated file. - -// package deprecated contains only deprecated messages and services. - -package deprecated - -import ( - context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// DeprecatedEnum contains deprecated values. -type DeprecatedEnum int32 // Deprecated: Do not use. -const ( - // DEPRECATED is the iota value of this enum. - DeprecatedEnum_DEPRECATED DeprecatedEnum = 0 // Deprecated: Do not use. -) - -var DeprecatedEnum_name = map[int32]string{ - 0: "DEPRECATED", -} - -var DeprecatedEnum_value = map[string]int32{ - "DEPRECATED": 0, -} - -func (x DeprecatedEnum) String() string { - return proto.EnumName(DeprecatedEnum_name, int32(x)) -} - -func (DeprecatedEnum) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_f64ba265cd7eae3f, []int{0} -} - -// DeprecatedRequest is a request to DeprecatedCall. -// -// Deprecated: Do not use. -type DeprecatedRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DeprecatedRequest) Reset() { *m = DeprecatedRequest{} } -func (m *DeprecatedRequest) String() string { return proto.CompactTextString(m) } -func (*DeprecatedRequest) ProtoMessage() {} -func (*DeprecatedRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f64ba265cd7eae3f, []int{0} -} - -func (m *DeprecatedRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeprecatedRequest.Unmarshal(m, b) -} -func (m *DeprecatedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeprecatedRequest.Marshal(b, m, deterministic) -} -func (m *DeprecatedRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeprecatedRequest.Merge(m, src) -} -func (m *DeprecatedRequest) XXX_Size() int { - return xxx_messageInfo_DeprecatedRequest.Size(m) -} -func (m *DeprecatedRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeprecatedRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeprecatedRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -type DeprecatedResponse struct { - // DeprecatedField contains a DeprecatedEnum. - DeprecatedField DeprecatedEnum `protobuf:"varint,1,opt,name=deprecated_field,json=deprecatedField,proto3,enum=deprecated.DeprecatedEnum" json:"deprecated_field,omitempty"` // Deprecated: Do not use. - // DeprecatedOneof contains a deprecated field. - // - // Types that are valid to be assigned to DeprecatedOneof: - // *DeprecatedResponse_DeprecatedOneofField - DeprecatedOneof isDeprecatedResponse_DeprecatedOneof `protobuf_oneof:"deprecated_oneof"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DeprecatedResponse) Reset() { *m = DeprecatedResponse{} } -func (m *DeprecatedResponse) String() string { return proto.CompactTextString(m) } -func (*DeprecatedResponse) ProtoMessage() {} -func (*DeprecatedResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f64ba265cd7eae3f, []int{1} -} - -func (m *DeprecatedResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeprecatedResponse.Unmarshal(m, b) -} -func (m *DeprecatedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeprecatedResponse.Marshal(b, m, deterministic) -} -func (m *DeprecatedResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeprecatedResponse.Merge(m, src) -} -func (m *DeprecatedResponse) XXX_Size() int { - return xxx_messageInfo_DeprecatedResponse.Size(m) -} -func (m *DeprecatedResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeprecatedResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_DeprecatedResponse proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *DeprecatedResponse) GetDeprecatedField() DeprecatedEnum { - if m != nil { - return m.DeprecatedField - } - return DeprecatedEnum_DEPRECATED -} - -type isDeprecatedResponse_DeprecatedOneof interface { - isDeprecatedResponse_DeprecatedOneof() -} - -type DeprecatedResponse_DeprecatedOneofField struct { - DeprecatedOneofField string `protobuf:"bytes,2,opt,name=deprecated_oneof_field,json=deprecatedOneofField,proto3,oneof"` -} - -func (*DeprecatedResponse_DeprecatedOneofField) isDeprecatedResponse_DeprecatedOneof() {} - -func (m *DeprecatedResponse) GetDeprecatedOneof() isDeprecatedResponse_DeprecatedOneof { - if m != nil { - return m.DeprecatedOneof - } - return nil -} - -// Deprecated: Do not use. -func (m *DeprecatedResponse) GetDeprecatedOneofField() string { - if x, ok := m.GetDeprecatedOneof().(*DeprecatedResponse_DeprecatedOneofField); ok { - return x.DeprecatedOneofField - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*DeprecatedResponse) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*DeprecatedResponse_DeprecatedOneofField)(nil), - } -} - -func init() { - proto.RegisterEnum("deprecated.DeprecatedEnum", DeprecatedEnum_name, DeprecatedEnum_value) - proto.RegisterType((*DeprecatedRequest)(nil), "deprecated.DeprecatedRequest") - proto.RegisterType((*DeprecatedResponse)(nil), "deprecated.DeprecatedResponse") -} - -func init() { proto.RegisterFile("deprecated/deprecated.proto", fileDescriptor_f64ba265cd7eae3f) } - -var fileDescriptor_f64ba265cd7eae3f = []byte{ - // 287 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x91, 0xcd, 0x4a, 0xf3, 0x40, - 0x14, 0x86, 0x7b, 0xe6, 0x83, 0x0f, 0x9d, 0x45, 0xad, 0x83, 0x68, 0x88, 0x28, 0x25, 0xab, 0x20, - 0x34, 0x81, 0xba, 0x2b, 0x6e, 0x9a, 0x26, 0xa2, 0x2b, 0x25, 0x76, 0xe5, 0x46, 0xf2, 0x73, 0x12, - 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 0x13, 0x2c, 0x9f, 0x6f, 0xca, 0x4a, 0xbe, 0xf6, 0xa9, 0x97, 0x89, - 0x8d, 0x5f, 0x8a, 0x3a, 0xe1, 0xa5, 0x3f, 0xdc, 0x23, 0xed, 0x8b, 0x6d, 0x90, 0xcd, 0x4a, 0xe4, - 0xb3, 0x52, 0xf8, 0x12, 0x3b, 0x99, 0x27, 0x32, 0x31, 0x4e, 0xf7, 0x05, 0x90, 0xfe, 0x1f, 0x5c, - 0xd7, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x08, 0xd5, 0xa0, 0x89, 0xdd, 0x01, 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 - -// DeprecatedServiceClient is the client API for DeprecatedService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -// -// Deprecated: Do not use. -type DeprecatedServiceClient interface { - // DeprecatedCall takes a DeprecatedRequest and returns a DeprecatedResponse. - DeprecatedCall(ctx context.Context, in *DeprecatedRequest, opts ...grpc.CallOption) (*DeprecatedResponse, error) -} - -type deprecatedServiceClient struct { - cc *grpc.ClientConn -} - -// Deprecated: Do not use. -func NewDeprecatedServiceClient(cc *grpc.ClientConn) DeprecatedServiceClient { - return &deprecatedServiceClient{cc} -} - -// Deprecated: Do not use. -func (c *deprecatedServiceClient) DeprecatedCall(ctx context.Context, in *DeprecatedRequest, opts ...grpc.CallOption) (*DeprecatedResponse, error) { - out := new(DeprecatedResponse) - err := c.cc.Invoke(ctx, "/deprecated.DeprecatedService/DeprecatedCall", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// DeprecatedServiceServer is the server API for DeprecatedService service. -// -// Deprecated: Do not use. -type DeprecatedServiceServer interface { - // DeprecatedCall takes a DeprecatedRequest and returns a DeprecatedResponse. - DeprecatedCall(context.Context, *DeprecatedRequest) (*DeprecatedResponse, error) -} - -// Deprecated: Do not use. -// UnimplementedDeprecatedServiceServer can be embedded to have forward compatible implementations. -type UnimplementedDeprecatedServiceServer struct { -} - -func (*UnimplementedDeprecatedServiceServer) DeprecatedCall(ctx context.Context, req *DeprecatedRequest) (*DeprecatedResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeprecatedCall not implemented") -} - -// Deprecated: Do not use. -func RegisterDeprecatedServiceServer(s *grpc.Server, srv DeprecatedServiceServer) { - s.RegisterService(&_DeprecatedService_serviceDesc, srv) -} - -func _DeprecatedService_DeprecatedCall_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeprecatedRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DeprecatedServiceServer).DeprecatedCall(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/deprecated.DeprecatedService/DeprecatedCall", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DeprecatedServiceServer).DeprecatedCall(ctx, req.(*DeprecatedRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _DeprecatedService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "deprecated.DeprecatedService", - HandlerType: (*DeprecatedServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "DeprecatedCall", - Handler: _DeprecatedService_DeprecatedCall_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "deprecated/deprecated.proto", -} diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/extension_base/extension_base.pb.go b/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/extension_base/extension_base.pb.go deleted file mode 100644 index b5d4aa66..00000000 --- a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/extension_base/extension_base.pb.go +++ /dev/null @@ -1,136 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: extension_base/extension_base.proto - -package extension_base - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type BaseMessage struct { - Height *int32 `protobuf:"varint,1,opt,name=height" json:"height,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - proto.XXX_InternalExtensions `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BaseMessage) Reset() { *m = BaseMessage{} } -func (m *BaseMessage) String() string { return proto.CompactTextString(m) } -func (*BaseMessage) ProtoMessage() {} -func (*BaseMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_2fbd53bac0b7ca8a, []int{0} -} - -var extRange_BaseMessage = []proto.ExtensionRange{ - {Start: 4, End: 9}, - {Start: 16, End: 536870911}, -} - -func (*BaseMessage) ExtensionRangeArray() []proto.ExtensionRange { - return extRange_BaseMessage -} - -func (m *BaseMessage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BaseMessage.Unmarshal(m, b) -} -func (m *BaseMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BaseMessage.Marshal(b, m, deterministic) -} -func (m *BaseMessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_BaseMessage.Merge(m, src) -} -func (m *BaseMessage) XXX_Size() int { - return xxx_messageInfo_BaseMessage.Size(m) -} -func (m *BaseMessage) XXX_DiscardUnknown() { - xxx_messageInfo_BaseMessage.DiscardUnknown(m) -} - -var xxx_messageInfo_BaseMessage proto.InternalMessageInfo - -func (m *BaseMessage) GetHeight() int32 { - if m != nil && m.Height != nil { - return *m.Height - } - return 0 -} - -// Another message that may be extended, using message_set_wire_format. -type OldStyleMessage struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - proto.XXX_InternalExtensions `protobuf_messageset:"1" json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OldStyleMessage) Reset() { *m = OldStyleMessage{} } -func (m *OldStyleMessage) String() string { return proto.CompactTextString(m) } -func (*OldStyleMessage) ProtoMessage() {} -func (*OldStyleMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_2fbd53bac0b7ca8a, []int{1} -} - -var extRange_OldStyleMessage = []proto.ExtensionRange{ - {Start: 100, End: 2147483646}, -} - -func (*OldStyleMessage) ExtensionRangeArray() []proto.ExtensionRange { - return extRange_OldStyleMessage -} - -func (m *OldStyleMessage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OldStyleMessage.Unmarshal(m, b) -} -func (m *OldStyleMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OldStyleMessage.Marshal(b, m, deterministic) -} -func (m *OldStyleMessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_OldStyleMessage.Merge(m, src) -} -func (m *OldStyleMessage) XXX_Size() int { - return xxx_messageInfo_OldStyleMessage.Size(m) -} -func (m *OldStyleMessage) XXX_DiscardUnknown() { - xxx_messageInfo_OldStyleMessage.DiscardUnknown(m) -} - -var xxx_messageInfo_OldStyleMessage proto.InternalMessageInfo - -func init() { - proto.RegisterType((*BaseMessage)(nil), "extension_base.BaseMessage") - proto.RegisterType((*OldStyleMessage)(nil), "extension_base.OldStyleMessage") -} - -func init() { - proto.RegisterFile("extension_base/extension_base.proto", fileDescriptor_2fbd53bac0b7ca8a) -} - -var fileDescriptor_2fbd53bac0b7ca8a = []byte{ - // 179 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4e, 0xad, 0x28, 0x49, - 0xcd, 0x2b, 0xce, 0xcc, 0xcf, 0x8b, 0x4f, 0x4a, 0x2c, 0x4e, 0xd5, 0x47, 0xe5, 0xea, 0x15, 0x14, - 0xe5, 0x97, 0xe4, 0x0b, 0xf1, 0xa1, 0x8a, 0x2a, 0x99, 0x72, 0x71, 0x3b, 0x25, 0x16, 0xa7, 0xfa, - 0xa6, 0x16, 0x17, 0x27, 0xa6, 0xa7, 0x0a, 0x89, 0x71, 0xb1, 0x65, 0xa4, 0x66, 0xa6, 0x67, 0x94, - 0x48, 0x30, 0x2a, 0x30, 0x6a, 0xb0, 0x06, 0x41, 0x79, 0x5a, 0x2c, 0x1c, 0x2c, 0x02, 0x5c, 0x5a, - 0x1c, 0x1c, 0x02, 0x02, 0x0d, 0x0d, 0x0d, 0x0d, 0x4c, 0x4a, 0xf2, 0x5c, 0xfc, 0xfe, 0x39, 0x29, - 0xc1, 0x25, 0x95, 0x39, 0x30, 0xad, 0x5a, 0x1c, 0x1c, 0x29, 0x02, 0xff, 0xff, 0xff, 0xff, 0xcf, - 0x6e, 0xc5, 0xc4, 0xc1, 0xe8, 0xe4, 0x14, 0xe5, 0x90, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, - 0x9c, 0x9f, 0xab, 0x9f, 0x9e, 0x9f, 0x93, 0x98, 0x97, 0xae, 0x0f, 0x76, 0x42, 0x52, 0x69, 0x1a, - 0x84, 0x91, 0xac, 0x9b, 0x9e, 0x9a, 0xa7, 0x9b, 0x9e, 0xaf, 0x5f, 0x92, 0x5a, 0x5c, 0x92, 0x92, - 0x58, 0x92, 0x88, 0xe6, 0x62, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x7a, 0x7f, 0xb7, 0x2a, 0xd1, - 0x00, 0x00, 0x00, -} diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/extension_extra/extension_extra.pb.go b/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/extension_extra/extension_extra.pb.go deleted file mode 100644 index fd82a253..00000000 --- a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/extension_extra/extension_extra.pb.go +++ /dev/null @@ -1,81 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: extension_extra/extension_extra.proto - -package extension_extra - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type ExtraMessage struct { - Width *int32 `protobuf:"varint,1,opt,name=width" json:"width,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExtraMessage) Reset() { *m = ExtraMessage{} } -func (m *ExtraMessage) String() string { return proto.CompactTextString(m) } -func (*ExtraMessage) ProtoMessage() {} -func (*ExtraMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_fce75f5a63502cd5, []int{0} -} - -func (m *ExtraMessage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExtraMessage.Unmarshal(m, b) -} -func (m *ExtraMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExtraMessage.Marshal(b, m, deterministic) -} -func (m *ExtraMessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExtraMessage.Merge(m, src) -} -func (m *ExtraMessage) XXX_Size() int { - return xxx_messageInfo_ExtraMessage.Size(m) -} -func (m *ExtraMessage) XXX_DiscardUnknown() { - xxx_messageInfo_ExtraMessage.DiscardUnknown(m) -} - -var xxx_messageInfo_ExtraMessage proto.InternalMessageInfo - -func (m *ExtraMessage) GetWidth() int32 { - if m != nil && m.Width != nil { - return *m.Width - } - return 0 -} - -func init() { - proto.RegisterType((*ExtraMessage)(nil), "extension_extra.ExtraMessage") -} - -func init() { - proto.RegisterFile("extension_extra/extension_extra.proto", fileDescriptor_fce75f5a63502cd5) -} - -var fileDescriptor_fce75f5a63502cd5 = []byte{ - // 133 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4d, 0xad, 0x28, 0x49, - 0xcd, 0x2b, 0xce, 0xcc, 0xcf, 0x8b, 0x4f, 0xad, 0x28, 0x29, 0x4a, 0xd4, 0x47, 0xe3, 0xeb, 0x15, - 0x14, 0xe5, 0x97, 0xe4, 0x0b, 0xf1, 0xa3, 0x09, 0x2b, 0xa9, 0x70, 0xf1, 0xb8, 0x82, 0x18, 0xbe, - 0xa9, 0xc5, 0xc5, 0x89, 0xe9, 0xa9, 0x42, 0x22, 0x5c, 0xac, 0xe5, 0x99, 0x29, 0x25, 0x19, 0x12, - 0x8c, 0x0a, 0x8c, 0x1a, 0xac, 0x41, 0x10, 0x8e, 0x93, 0x73, 0x94, 0x63, 0x7a, 0x66, 0x49, 0x46, - 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x7e, 0x7a, 0x7e, 0x4e, 0x62, 0x5e, 0xba, 0x3e, 0xd8, 0xc4, - 0xa4, 0xd2, 0x34, 0x08, 0x23, 0x59, 0x37, 0x3d, 0x35, 0x4f, 0x37, 0x3d, 0x5f, 0xbf, 0x24, 0xb5, - 0xb8, 0x24, 0x25, 0xb1, 0x04, 0xc3, 0x05, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf1, 0xec, 0xe3, - 0xb7, 0xa3, 0x00, 0x00, 0x00, -} diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/extension_user/extension_user.pb.go b/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/extension_user/extension_user.pb.go deleted file mode 100644 index d7849be2..00000000 --- a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/extension_user/extension_user.pb.go +++ /dev/null @@ -1,408 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: extension_user/extension_user.proto - -package extension_user - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - extension_base "github.com/golang/protobuf/protoc-gen-go/testdata/extension_base" - extension_extra "github.com/golang/protobuf/protoc-gen-go/testdata/extension_extra" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type UserMessage struct { - Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - Rank *string `protobuf:"bytes,2,opt,name=rank" json:"rank,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserMessage) Reset() { *m = UserMessage{} } -func (m *UserMessage) String() string { return proto.CompactTextString(m) } -func (*UserMessage) ProtoMessage() {} -func (*UserMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_359ba8abf543ca10, []int{0} -} - -func (m *UserMessage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserMessage.Unmarshal(m, b) -} -func (m *UserMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserMessage.Marshal(b, m, deterministic) -} -func (m *UserMessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserMessage.Merge(m, src) -} -func (m *UserMessage) XXX_Size() int { - return xxx_messageInfo_UserMessage.Size(m) -} -func (m *UserMessage) XXX_DiscardUnknown() { - xxx_messageInfo_UserMessage.DiscardUnknown(m) -} - -var xxx_messageInfo_UserMessage proto.InternalMessageInfo - -func (m *UserMessage) GetName() string { - if m != nil && m.Name != nil { - return *m.Name - } - return "" -} - -func (m *UserMessage) GetRank() string { - if m != nil && m.Rank != nil { - return *m.Rank - } - return "" -} - -// Extend inside the scope of another type -type LoudMessage struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - proto.XXX_InternalExtensions `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LoudMessage) Reset() { *m = LoudMessage{} } -func (m *LoudMessage) String() string { return proto.CompactTextString(m) } -func (*LoudMessage) ProtoMessage() {} -func (*LoudMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_359ba8abf543ca10, []int{1} -} - -var extRange_LoudMessage = []proto.ExtensionRange{ - {Start: 100, End: 536870911}, -} - -func (*LoudMessage) ExtensionRangeArray() []proto.ExtensionRange { - return extRange_LoudMessage -} - -func (m *LoudMessage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LoudMessage.Unmarshal(m, b) -} -func (m *LoudMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LoudMessage.Marshal(b, m, deterministic) -} -func (m *LoudMessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_LoudMessage.Merge(m, src) -} -func (m *LoudMessage) XXX_Size() int { - return xxx_messageInfo_LoudMessage.Size(m) -} -func (m *LoudMessage) XXX_DiscardUnknown() { - xxx_messageInfo_LoudMessage.DiscardUnknown(m) -} - -var xxx_messageInfo_LoudMessage proto.InternalMessageInfo - -var E_LoudMessage_Volume = &proto.ExtensionDesc{ - ExtendedType: (*extension_base.BaseMessage)(nil), - ExtensionType: (*uint32)(nil), - Field: 8, - Name: "extension_user.LoudMessage.volume", - Tag: "varint,8,opt,name=volume", - Filename: "extension_user/extension_user.proto", -} - -// Extend inside the scope of another type, using a message. -type LoginMessage struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LoginMessage) Reset() { *m = LoginMessage{} } -func (m *LoginMessage) String() string { return proto.CompactTextString(m) } -func (*LoginMessage) ProtoMessage() {} -func (*LoginMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_359ba8abf543ca10, []int{2} -} - -func (m *LoginMessage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LoginMessage.Unmarshal(m, b) -} -func (m *LoginMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LoginMessage.Marshal(b, m, deterministic) -} -func (m *LoginMessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_LoginMessage.Merge(m, src) -} -func (m *LoginMessage) XXX_Size() int { - return xxx_messageInfo_LoginMessage.Size(m) -} -func (m *LoginMessage) XXX_DiscardUnknown() { - xxx_messageInfo_LoginMessage.DiscardUnknown(m) -} - -var xxx_messageInfo_LoginMessage proto.InternalMessageInfo - -var E_LoginMessage_UserMessage = &proto.ExtensionDesc{ - ExtendedType: (*extension_base.BaseMessage)(nil), - ExtensionType: (*UserMessage)(nil), - Field: 16, - Name: "extension_user.LoginMessage.user_message", - Tag: "bytes,16,opt,name=user_message", - Filename: "extension_user/extension_user.proto", -} - -type Detail struct { - Color *string `protobuf:"bytes,1,opt,name=color" json:"color,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Detail) Reset() { *m = Detail{} } -func (m *Detail) String() string { return proto.CompactTextString(m) } -func (*Detail) ProtoMessage() {} -func (*Detail) Descriptor() ([]byte, []int) { - return fileDescriptor_359ba8abf543ca10, []int{3} -} - -func (m *Detail) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Detail.Unmarshal(m, b) -} -func (m *Detail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Detail.Marshal(b, m, deterministic) -} -func (m *Detail) XXX_Merge(src proto.Message) { - xxx_messageInfo_Detail.Merge(m, src) -} -func (m *Detail) XXX_Size() int { - return xxx_messageInfo_Detail.Size(m) -} -func (m *Detail) XXX_DiscardUnknown() { - xxx_messageInfo_Detail.DiscardUnknown(m) -} - -var xxx_messageInfo_Detail proto.InternalMessageInfo - -func (m *Detail) GetColor() string { - if m != nil && m.Color != nil { - return *m.Color - } - return "" -} - -// An extension of an extension -type Announcement struct { - Words *string `protobuf:"bytes,1,opt,name=words" json:"words,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Announcement) Reset() { *m = Announcement{} } -func (m *Announcement) String() string { return proto.CompactTextString(m) } -func (*Announcement) ProtoMessage() {} -func (*Announcement) Descriptor() ([]byte, []int) { - return fileDescriptor_359ba8abf543ca10, []int{4} -} - -func (m *Announcement) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Announcement.Unmarshal(m, b) -} -func (m *Announcement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Announcement.Marshal(b, m, deterministic) -} -func (m *Announcement) XXX_Merge(src proto.Message) { - xxx_messageInfo_Announcement.Merge(m, src) -} -func (m *Announcement) XXX_Size() int { - return xxx_messageInfo_Announcement.Size(m) -} -func (m *Announcement) XXX_DiscardUnknown() { - xxx_messageInfo_Announcement.DiscardUnknown(m) -} - -var xxx_messageInfo_Announcement proto.InternalMessageInfo - -func (m *Announcement) GetWords() string { - if m != nil && m.Words != nil { - return *m.Words - } - return "" -} - -var E_Announcement_LoudExt = &proto.ExtensionDesc{ - ExtendedType: (*LoudMessage)(nil), - ExtensionType: (*Announcement)(nil), - Field: 100, - Name: "extension_user.Announcement.loud_ext", - Tag: "bytes,100,opt,name=loud_ext", - Filename: "extension_user/extension_user.proto", -} - -// Something that can be put in a message set. -type OldStyleParcel struct { - Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` - Height *int32 `protobuf:"varint,2,opt,name=height" json:"height,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OldStyleParcel) Reset() { *m = OldStyleParcel{} } -func (m *OldStyleParcel) String() string { return proto.CompactTextString(m) } -func (*OldStyleParcel) ProtoMessage() {} -func (*OldStyleParcel) Descriptor() ([]byte, []int) { - return fileDescriptor_359ba8abf543ca10, []int{5} -} - -func (m *OldStyleParcel) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OldStyleParcel.Unmarshal(m, b) -} -func (m *OldStyleParcel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OldStyleParcel.Marshal(b, m, deterministic) -} -func (m *OldStyleParcel) XXX_Merge(src proto.Message) { - xxx_messageInfo_OldStyleParcel.Merge(m, src) -} -func (m *OldStyleParcel) XXX_Size() int { - return xxx_messageInfo_OldStyleParcel.Size(m) -} -func (m *OldStyleParcel) XXX_DiscardUnknown() { - xxx_messageInfo_OldStyleParcel.DiscardUnknown(m) -} - -var xxx_messageInfo_OldStyleParcel proto.InternalMessageInfo - -func (m *OldStyleParcel) GetName() string { - if m != nil && m.Name != nil { - return *m.Name - } - return "" -} - -func (m *OldStyleParcel) GetHeight() int32 { - if m != nil && m.Height != nil { - return *m.Height - } - return 0 -} - -var E_OldStyleParcel_MessageSetExtension = &proto.ExtensionDesc{ - ExtendedType: (*extension_base.OldStyleMessage)(nil), - ExtensionType: (*OldStyleParcel)(nil), - Field: 2001, - Name: "extension_user.OldStyleParcel", - Tag: "bytes,2001,opt,name=message_set_extension", - Filename: "extension_user/extension_user.proto", -} - -var E_UserMessage = &proto.ExtensionDesc{ - ExtendedType: (*extension_base.BaseMessage)(nil), - ExtensionType: (*UserMessage)(nil), - Field: 5, - Name: "extension_user.user_message", - Tag: "bytes,5,opt,name=user_message", - Filename: "extension_user/extension_user.proto", -} - -var E_ExtraMessage = &proto.ExtensionDesc{ - ExtendedType: (*extension_base.BaseMessage)(nil), - ExtensionType: (*extension_extra.ExtraMessage)(nil), - Field: 9, - Name: "extension_user.extra_message", - Tag: "bytes,9,opt,name=extra_message", - Filename: "extension_user/extension_user.proto", -} - -var E_Width = &proto.ExtensionDesc{ - ExtendedType: (*extension_base.BaseMessage)(nil), - ExtensionType: (*int32)(nil), - Field: 6, - Name: "extension_user.width", - Tag: "varint,6,opt,name=width", - Filename: "extension_user/extension_user.proto", -} - -var E_Area = &proto.ExtensionDesc{ - ExtendedType: (*extension_base.BaseMessage)(nil), - ExtensionType: (*int64)(nil), - Field: 7, - Name: "extension_user.area", - Tag: "varint,7,opt,name=area", - Filename: "extension_user/extension_user.proto", -} - -var E_Detail = &proto.ExtensionDesc{ - ExtendedType: (*extension_base.BaseMessage)(nil), - ExtensionType: ([]*Detail)(nil), - Field: 17, - Name: "extension_user.detail", - Tag: "bytes,17,rep,name=detail", - Filename: "extension_user/extension_user.proto", -} - -func init() { - proto.RegisterType((*UserMessage)(nil), "extension_user.UserMessage") - proto.RegisterExtension(E_LoudMessage_Volume) - proto.RegisterType((*LoudMessage)(nil), "extension_user.LoudMessage") - proto.RegisterExtension(E_LoginMessage_UserMessage) - proto.RegisterType((*LoginMessage)(nil), "extension_user.LoginMessage") - proto.RegisterType((*Detail)(nil), "extension_user.Detail") - proto.RegisterExtension(E_Announcement_LoudExt) - proto.RegisterType((*Announcement)(nil), "extension_user.Announcement") - proto.RegisterExtension(E_OldStyleParcel_MessageSetExtension) - proto.RegisterType((*OldStyleParcel)(nil), "extension_user.OldStyleParcel") - proto.RegisterExtension(E_UserMessage) - proto.RegisterExtension(E_ExtraMessage) - proto.RegisterExtension(E_Width) - proto.RegisterExtension(E_Area) - proto.RegisterExtension(E_Detail) -} - -func init() { - proto.RegisterFile("extension_user/extension_user.proto", fileDescriptor_359ba8abf543ca10) -} - -var fileDescriptor_359ba8abf543ca10 = []byte{ - // 492 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x51, 0x6f, 0x94, 0x40, - 0x10, 0x0e, 0x6d, 0x8f, 0x5e, 0x87, 0x6b, 0xad, 0xa8, 0xcd, 0xa5, 0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, 0x2a, 0x4f, 0xe5, 0x72, 0xbb, 0xb0, - 0xa9, 0x7c, 0x6e, 0x98, 0xa1, 0x0f, 0x7b, 0x84, 0x23, 0xd9, 0x9e, 0xb1, 0xef, 0x18, 0xde, 0x6e, - 0xa4, 0x88, 0xe1, 0x3b, 0x30, 0xd3, 0x66, 0xe5, 0xb6, 0xa6, 0xdc, 0x75, 0x76, 0x3d, 0x2b, 0x38, - 0xe9, 0x7b, 0xd3, 0x6c, 0x6b, 0xa4, 0x25, 0xa6, 0xd3, 0x2f, 0xaf, 0xb3, 0x5c, 0x2e, 0xab, 0xc5, - 0x24, 0x61, 0xa5, 0x9f, 0xb1, 0x82, 0xd0, 0xcc, 0x57, 0x1f, 0xf3, 0xa2, 0xfa, 0xd6, 0x1c, 0x92, - 0xf3, 0x0c, 0xe9, 0x79, 0xc6, 0x7c, 0x89, 0x42, 0xa6, 0x44, 0x92, 0xde, 0x7f, 0xe5, 0x6f, 0x00, - 0x00, 0x00, 0xff, 0xff, 0xdf, 0x18, 0x64, 0x15, 0x77, 0x04, 0x00, 0x00, -} diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/grpc/grpc.pb.go b/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/grpc/grpc.pb.go deleted file mode 100644 index 76c9a20a..00000000 --- a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/grpc/grpc.pb.go +++ /dev/null @@ -1,466 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: grpc/grpc.proto - -package testing - -import ( - context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type SimpleRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SimpleRequest) Reset() { *m = SimpleRequest{} } -func (m *SimpleRequest) String() string { return proto.CompactTextString(m) } -func (*SimpleRequest) ProtoMessage() {} -func (*SimpleRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_81ea47a3f88c2082, []int{0} -} - -func (m *SimpleRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SimpleRequest.Unmarshal(m, b) -} -func (m *SimpleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SimpleRequest.Marshal(b, m, deterministic) -} -func (m *SimpleRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SimpleRequest.Merge(m, src) -} -func (m *SimpleRequest) XXX_Size() int { - return xxx_messageInfo_SimpleRequest.Size(m) -} -func (m *SimpleRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SimpleRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SimpleRequest proto.InternalMessageInfo - -type SimpleResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SimpleResponse) Reset() { *m = SimpleResponse{} } -func (m *SimpleResponse) String() string { return proto.CompactTextString(m) } -func (*SimpleResponse) ProtoMessage() {} -func (*SimpleResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_81ea47a3f88c2082, []int{1} -} - -func (m *SimpleResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SimpleResponse.Unmarshal(m, b) -} -func (m *SimpleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SimpleResponse.Marshal(b, m, deterministic) -} -func (m *SimpleResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SimpleResponse.Merge(m, src) -} -func (m *SimpleResponse) XXX_Size() int { - return xxx_messageInfo_SimpleResponse.Size(m) -} -func (m *SimpleResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SimpleResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SimpleResponse proto.InternalMessageInfo - -type StreamMsg struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StreamMsg) Reset() { *m = StreamMsg{} } -func (m *StreamMsg) String() string { return proto.CompactTextString(m) } -func (*StreamMsg) ProtoMessage() {} -func (*StreamMsg) Descriptor() ([]byte, []int) { - return fileDescriptor_81ea47a3f88c2082, []int{2} -} - -func (m *StreamMsg) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamMsg.Unmarshal(m, b) -} -func (m *StreamMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamMsg.Marshal(b, m, deterministic) -} -func (m *StreamMsg) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamMsg.Merge(m, src) -} -func (m *StreamMsg) XXX_Size() int { - return xxx_messageInfo_StreamMsg.Size(m) -} -func (m *StreamMsg) XXX_DiscardUnknown() { - xxx_messageInfo_StreamMsg.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamMsg proto.InternalMessageInfo - -type StreamMsg2 struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StreamMsg2) Reset() { *m = StreamMsg2{} } -func (m *StreamMsg2) String() string { return proto.CompactTextString(m) } -func (*StreamMsg2) ProtoMessage() {} -func (*StreamMsg2) Descriptor() ([]byte, []int) { - return fileDescriptor_81ea47a3f88c2082, []int{3} -} - -func (m *StreamMsg2) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamMsg2.Unmarshal(m, b) -} -func (m *StreamMsg2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamMsg2.Marshal(b, m, deterministic) -} -func (m *StreamMsg2) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamMsg2.Merge(m, src) -} -func (m *StreamMsg2) XXX_Size() int { - return xxx_messageInfo_StreamMsg2.Size(m) -} -func (m *StreamMsg2) XXX_DiscardUnknown() { - xxx_messageInfo_StreamMsg2.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamMsg2 proto.InternalMessageInfo - -func init() { - proto.RegisterType((*SimpleRequest)(nil), "grpc.testing.SimpleRequest") - proto.RegisterType((*SimpleResponse)(nil), "grpc.testing.SimpleResponse") - proto.RegisterType((*StreamMsg)(nil), "grpc.testing.StreamMsg") - proto.RegisterType((*StreamMsg2)(nil), "grpc.testing.StreamMsg2") -} - -func init() { proto.RegisterFile("grpc/grpc.proto", fileDescriptor_81ea47a3f88c2082) } - -var fileDescriptor_81ea47a3f88c2082 = []byte{ - // 244 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4f, 0x2f, 0x2a, 0x48, - 0xd6, 0x07, 0x11, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9, 0x42, 0x3c, 0x60, 0x76, 0x49, 0x6a, 0x71, - 0x49, 0x66, 0x5e, 0xba, 0x12, 0x3f, 0x17, 0x6f, 0x70, 0x66, 0x6e, 0x41, 0x4e, 0x6a, 0x50, 0x6a, - 0x61, 0x69, 0x6a, 0x71, 0x89, 0x92, 0x00, 0x17, 0x1f, 0x4c, 0xa0, 0xb8, 0x20, 0x3f, 0xaf, 0x38, - 0x55, 0x89, 0x9b, 0x8b, 0x33, 0xb8, 0xa4, 0x28, 0x35, 0x31, 0xd7, 0xb7, 0x38, 0x5d, 0x89, 0x87, - 0x8b, 0x0b, 0xce, 0x31, 0x32, 0x9a, 0xc1, 0xc4, 0xc5, 0x12, 0x92, 0x5a, 0x5c, 0x22, 0xe4, 0xc6, - 0xc5, 0x19, 0x9a, 0x97, 0x58, 0x54, 0xe9, 0x9c, 0x98, 0x93, 0x23, 0x24, 0xad, 0x87, 0x6c, 0x85, - 0x1e, 0x8a, 0xf9, 0x52, 0x32, 0xd8, 0x25, 0x21, 0x76, 0x09, 0xb9, 0x70, 0x71, 0xb9, 0xe4, 0x97, - 0xe7, 0x15, 0x83, 0xad, 0xc0, 0x6f, 0x90, 0x38, 0x9a, 0x24, 0xcc, 0x55, 0x06, 0x8c, 0x42, 0xce, - 0x5c, 0x1c, 0xa1, 0x05, 0x50, 0x33, 0x70, 0x29, 0xc3, 0xef, 0x10, 0x0d, 0x46, 0x21, 0x5b, 0x2e, - 0x16, 0xa7, 0xcc, 0x94, 0x4c, 0xdc, 0x06, 0x48, 0xe0, 0x90, 0x30, 0xd2, 0x60, 0x34, 0x60, 0x74, - 0x72, 0x88, 0xb2, 0x4b, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xcf, - 0xcf, 0x49, 0xcc, 0x4b, 0xd7, 0x07, 0xc7, 0x40, 0x52, 0x69, 0x1a, 0x84, 0x91, 0xac, 0x9b, 0x9e, - 0x9a, 0xa7, 0x9b, 0x9e, 0xaf, 0x0f, 0x32, 0x22, 0x25, 0xb1, 0x24, 0x11, 0x1c, 0x4d, 0xd6, 0x50, - 0x03, 0x93, 0xd8, 0xc0, 0x8a, 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x90, 0xb9, 0x95, 0x42, - 0xc2, 0x01, 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 - -// TestClient is the client API for Test service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type TestClient interface { - UnaryCall(ctx context.Context, in *SimpleRequest, opts ...grpc.CallOption) (*SimpleResponse, error) - // This RPC streams from the server only. - Downstream(ctx context.Context, in *SimpleRequest, opts ...grpc.CallOption) (Test_DownstreamClient, error) - // This RPC streams from the client. - Upstream(ctx context.Context, opts ...grpc.CallOption) (Test_UpstreamClient, error) - // This one streams in both directions. - Bidi(ctx context.Context, opts ...grpc.CallOption) (Test_BidiClient, error) -} - -type testClient struct { - cc *grpc.ClientConn -} - -func NewTestClient(cc *grpc.ClientConn) TestClient { - return &testClient{cc} -} - -func (c *testClient) UnaryCall(ctx context.Context, in *SimpleRequest, opts ...grpc.CallOption) (*SimpleResponse, error) { - out := new(SimpleResponse) - err := c.cc.Invoke(ctx, "/grpc.testing.Test/UnaryCall", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *testClient) Downstream(ctx context.Context, in *SimpleRequest, opts ...grpc.CallOption) (Test_DownstreamClient, error) { - stream, err := c.cc.NewStream(ctx, &_Test_serviceDesc.Streams[0], "/grpc.testing.Test/Downstream", opts...) - if err != nil { - return nil, err - } - x := &testDownstreamClient{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 Test_DownstreamClient interface { - Recv() (*StreamMsg, error) - grpc.ClientStream -} - -type testDownstreamClient struct { - grpc.ClientStream -} - -func (x *testDownstreamClient) Recv() (*StreamMsg, error) { - m := new(StreamMsg) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *testClient) Upstream(ctx context.Context, opts ...grpc.CallOption) (Test_UpstreamClient, error) { - stream, err := c.cc.NewStream(ctx, &_Test_serviceDesc.Streams[1], "/grpc.testing.Test/Upstream", opts...) - if err != nil { - return nil, err - } - x := &testUpstreamClient{stream} - return x, nil -} - -type Test_UpstreamClient interface { - Send(*StreamMsg) error - CloseAndRecv() (*SimpleResponse, error) - grpc.ClientStream -} - -type testUpstreamClient struct { - grpc.ClientStream -} - -func (x *testUpstreamClient) Send(m *StreamMsg) error { - return x.ClientStream.SendMsg(m) -} - -func (x *testUpstreamClient) CloseAndRecv() (*SimpleResponse, error) { - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - m := new(SimpleResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *testClient) Bidi(ctx context.Context, opts ...grpc.CallOption) (Test_BidiClient, error) { - stream, err := c.cc.NewStream(ctx, &_Test_serviceDesc.Streams[2], "/grpc.testing.Test/Bidi", opts...) - if err != nil { - return nil, err - } - x := &testBidiClient{stream} - return x, nil -} - -type Test_BidiClient interface { - Send(*StreamMsg) error - Recv() (*StreamMsg2, error) - grpc.ClientStream -} - -type testBidiClient struct { - grpc.ClientStream -} - -func (x *testBidiClient) Send(m *StreamMsg) error { - return x.ClientStream.SendMsg(m) -} - -func (x *testBidiClient) Recv() (*StreamMsg2, error) { - m := new(StreamMsg2) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// TestServer is the server API for Test service. -type TestServer interface { - UnaryCall(context.Context, *SimpleRequest) (*SimpleResponse, error) - // This RPC streams from the server only. - Downstream(*SimpleRequest, Test_DownstreamServer) error - // This RPC streams from the client. - Upstream(Test_UpstreamServer) error - // This one streams in both directions. - Bidi(Test_BidiServer) error -} - -// UnimplementedTestServer can be embedded to have forward compatible implementations. -type UnimplementedTestServer struct { -} - -func (*UnimplementedTestServer) UnaryCall(ctx context.Context, req *SimpleRequest) (*SimpleResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UnaryCall not implemented") -} -func (*UnimplementedTestServer) Downstream(req *SimpleRequest, srv Test_DownstreamServer) error { - return status.Errorf(codes.Unimplemented, "method Downstream not implemented") -} -func (*UnimplementedTestServer) Upstream(srv Test_UpstreamServer) error { - return status.Errorf(codes.Unimplemented, "method Upstream not implemented") -} -func (*UnimplementedTestServer) Bidi(srv Test_BidiServer) error { - return status.Errorf(codes.Unimplemented, "method Bidi not implemented") -} - -func RegisterTestServer(s *grpc.Server, srv TestServer) { - s.RegisterService(&_Test_serviceDesc, srv) -} - -func _Test_UnaryCall_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SimpleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TestServer).UnaryCall(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.testing.Test/UnaryCall", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TestServer).UnaryCall(ctx, req.(*SimpleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Test_Downstream_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(SimpleRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(TestServer).Downstream(m, &testDownstreamServer{stream}) -} - -type Test_DownstreamServer interface { - Send(*StreamMsg) error - grpc.ServerStream -} - -type testDownstreamServer struct { - grpc.ServerStream -} - -func (x *testDownstreamServer) Send(m *StreamMsg) error { - return x.ServerStream.SendMsg(m) -} - -func _Test_Upstream_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(TestServer).Upstream(&testUpstreamServer{stream}) -} - -type Test_UpstreamServer interface { - SendAndClose(*SimpleResponse) error - Recv() (*StreamMsg, error) - grpc.ServerStream -} - -type testUpstreamServer struct { - grpc.ServerStream -} - -func (x *testUpstreamServer) SendAndClose(m *SimpleResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *testUpstreamServer) Recv() (*StreamMsg, error) { - m := new(StreamMsg) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _Test_Bidi_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(TestServer).Bidi(&testBidiServer{stream}) -} - -type Test_BidiServer interface { - Send(*StreamMsg2) error - Recv() (*StreamMsg, error) - grpc.ServerStream -} - -type testBidiServer struct { - grpc.ServerStream -} - -func (x *testBidiServer) Send(m *StreamMsg2) error { - return x.ServerStream.SendMsg(m) -} - -func (x *testBidiServer) Recv() (*StreamMsg, error) { - m := new(StreamMsg) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -var _Test_serviceDesc = grpc.ServiceDesc{ - ServiceName: "grpc.testing.Test", - HandlerType: (*TestServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "UnaryCall", - Handler: _Test_UnaryCall_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "Downstream", - Handler: _Test_Downstream_Handler, - ServerStreams: true, - }, - { - StreamName: "Upstream", - Handler: _Test_Upstream_Handler, - ClientStreams: true, - }, - { - StreamName: "Bidi", - Handler: _Test_Bidi_Handler, - ServerStreams: true, - ClientStreams: true, - }, - }, - Metadata: "grpc/grpc.proto", -} diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/grpc/grpc_empty.pb.go b/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/grpc/grpc_empty.pb.go deleted file mode 100644 index 9c6244bc..00000000 --- a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/grpc/grpc_empty.pb.go +++ /dev/null @@ -1,79 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: grpc/grpc_empty.proto - -package testing - -import ( - context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -func init() { proto.RegisterFile("grpc/grpc_empty.proto", fileDescriptor_c580a37f1c90e9b1) } - -var fileDescriptor_c580a37f1c90e9b1 = []byte{ - // 125 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4d, 0x2f, 0x2a, 0x48, - 0xd6, 0x07, 0x11, 0xf1, 0xa9, 0xb9, 0x05, 0x25, 0x95, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9, 0x42, - 0x3c, 0x20, 0x11, 0xbd, 0x92, 0xd4, 0xe2, 0x92, 0xcc, 0xbc, 0x74, 0x23, 0x3e, 0x2e, 0x1e, 0x57, - 0x90, 0x64, 0x70, 0x6a, 0x51, 0x59, 0x66, 0x72, 0xaa, 0x93, 0x43, 0x94, 0x5d, 0x7a, 0x66, 0x49, - 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x7e, 0x7a, 0x7e, 0x4e, 0x62, 0x5e, 0xba, 0x3e, 0x58, - 0x63, 0x52, 0x69, 0x1a, 0x84, 0x91, 0xac, 0x9b, 0x9e, 0x9a, 0xa7, 0x9b, 0x9e, 0xaf, 0x0f, 0x32, - 0x23, 0x25, 0xb1, 0x24, 0x11, 0x6c, 0x87, 0x35, 0xd4, 0xc4, 0x24, 0x36, 0xb0, 0x22, 0x63, 0x40, - 0x00, 0x00, 0x00, 0xff, 0xff, 0x93, 0x1d, 0xf2, 0x47, 0x7f, 0x00, 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 - -// EmptyServiceClient is the client API for EmptyService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type EmptyServiceClient interface { -} - -type emptyServiceClient struct { - cc *grpc.ClientConn -} - -func NewEmptyServiceClient(cc *grpc.ClientConn) EmptyServiceClient { - return &emptyServiceClient{cc} -} - -// EmptyServiceServer is the server API for EmptyService service. -type EmptyServiceServer interface { -} - -// UnimplementedEmptyServiceServer can be embedded to have forward compatible implementations. -type UnimplementedEmptyServiceServer struct { -} - -func RegisterEmptyServiceServer(s *grpc.Server, srv EmptyServiceServer) { - s.RegisterService(&_EmptyService_serviceDesc, srv) -} - -var _EmptyService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "grpc.testing.EmptyService", - HandlerType: (*EmptyServiceServer)(nil), - Methods: []grpc.MethodDesc{}, - Streams: []grpc.StreamDesc{}, - Metadata: "grpc/grpc_empty.proto", -} diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/import_public/a.pb.go b/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/import_public/a.pb.go deleted file mode 100644 index fa511fcb..00000000 --- a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/import_public/a.pb.go +++ /dev/null @@ -1,141 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: import_public/a.proto - -package import_public - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - sub "github.com/golang/protobuf/protoc-gen-go/testdata/import_public/sub" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -const Default_M_DefaultField = sub.Default_M_DefaultField - -// M from public import import_public/sub/a.proto -type M = sub.M -type M_OneofInt32 = sub.M_OneofInt32 -type M_OneofInt64 = sub.M_OneofInt64 - -// M_Grouping from public import import_public/sub/a.proto -type M_Grouping = sub.M_Grouping - -// M_Submessage from public import import_public/sub/a.proto -type M_Submessage = sub.M_Submessage -type M_Submessage_SubmessageOneofInt32 = sub.M_Submessage_SubmessageOneofInt32 -type M_Submessage_SubmessageOneofInt64 = sub.M_Submessage_SubmessageOneofInt64 - -// E from public import import_public/sub/a.proto -type E = sub.E - -var E_name = sub.E_name -var E_value = sub.E_value - -const E_ZERO = E(sub.E_ZERO) - -// M_Subenum from public import import_public/sub/a.proto -type M_Subenum = sub.M_Subenum - -var M_Subenum_name = sub.M_Subenum_name -var M_Subenum_value = sub.M_Subenum_value - -const M_M_ZERO = M_Subenum(sub.M_M_ZERO) - -// M_Submessage_Submessage_Subenum from public import import_public/sub/a.proto -type M_Submessage_Submessage_Subenum = sub.M_Submessage_Submessage_Subenum - -var M_Submessage_Submessage_Subenum_name = sub.M_Submessage_Submessage_Subenum_name -var M_Submessage_Submessage_Subenum_value = sub.M_Submessage_Submessage_Subenum_value - -const M_Submessage_M_SUBMESSAGE_ZERO = M_Submessage_Submessage_Subenum(sub.M_Submessage_M_SUBMESSAGE_ZERO) - -var E_ExtensionField = sub.E_ExtensionField - -type Public struct { - M *sub.M `protobuf:"bytes,1,opt,name=m" json:"m,omitempty"` - E *sub.E `protobuf:"varint,2,opt,name=e,enum=goproto.test.import_public.sub.E" json:"e,omitempty"` - Local *Local `protobuf:"bytes,3,opt,name=local" json:"local,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Public) Reset() { *m = Public{} } -func (m *Public) String() string { return proto.CompactTextString(m) } -func (*Public) ProtoMessage() {} -func (*Public) Descriptor() ([]byte, []int) { - return fileDescriptor_73b7577c95fa6b70, []int{0} -} - -func (m *Public) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Public.Unmarshal(m, b) -} -func (m *Public) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Public.Marshal(b, m, deterministic) -} -func (m *Public) XXX_Merge(src proto.Message) { - xxx_messageInfo_Public.Merge(m, src) -} -func (m *Public) XXX_Size() int { - return xxx_messageInfo_Public.Size(m) -} -func (m *Public) XXX_DiscardUnknown() { - xxx_messageInfo_Public.DiscardUnknown(m) -} - -var xxx_messageInfo_Public proto.InternalMessageInfo - -func (m *Public) GetM() *sub.M { - if m != nil { - return m.M - } - return nil -} - -func (m *Public) GetE() sub.E { - if m != nil && m.E != nil { - return *m.E - } - return sub.E_ZERO -} - -func (m *Public) GetLocal() *Local { - if m != nil { - return m.Local - } - return nil -} - -func init() { - proto.RegisterType((*Public)(nil), "goproto.test.import_public.Public") -} - -func init() { proto.RegisterFile("import_public/a.proto", fileDescriptor_73b7577c95fa6b70) } - -var fileDescriptor_73b7577c95fa6b70 = []byte{ - // 195 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0xcd, 0xcc, 0x2d, 0xc8, - 0x2f, 0x2a, 0x89, 0x2f, 0x28, 0x4d, 0xca, 0xc9, 0x4c, 0xd6, 0x4f, 0xd4, 0x2b, 0x28, 0xca, 0x2f, - 0xc9, 0x17, 0x92, 0x4a, 0xcf, 0x07, 0x33, 0xf4, 0x4a, 0x52, 0x8b, 0x4b, 0xf4, 0x50, 0xd4, 0x48, - 0x49, 0xa2, 0x6a, 0x29, 0x2e, 0x4d, 0x82, 0x69, 0x93, 0x42, 0x33, 0x2d, 0x09, 0x22, 0xac, 0xb4, - 0x98, 0x91, 0x8b, 0x2d, 0x00, 0x2c, 0x24, 0xa4, 0xcf, 0xc5, 0x98, 0x2b, 0xc1, 0xa8, 0xc0, 0xa8, - 0xc1, 0x6d, 0xa4, 0xa8, 0x87, 0xdb, 0x12, 0xbd, 0xe2, 0xd2, 0x24, 0x3d, 0xdf, 0x20, 0xc6, 0x5c, - 0x90, 0x86, 0x54, 0x09, 0x26, 0x05, 0x46, 0x0d, 0x3e, 0xc2, 0x1a, 0x5c, 0x83, 0x18, 0x53, 0x85, - 0xcc, 0xb9, 0x58, 0x73, 0xf2, 0x93, 0x13, 0x73, 0x24, 0x98, 0x09, 0xdb, 0xe2, 0x03, 0x52, 0x18, - 0x04, 0x51, 0xef, 0xe4, 0x18, 0x65, 0x9f, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, - 0xab, 0x9f, 0x9e, 0x9f, 0x93, 0x98, 0x97, 0xae, 0x0f, 0xd6, 0x9a, 0x54, 0x9a, 0x06, 0x61, 0x24, - 0xeb, 0xa6, 0xa7, 0xe6, 0xe9, 0xa6, 0xe7, 0xeb, 0x83, 0xcc, 0x4a, 0x49, 0x2c, 0x49, 0xd4, 0x47, - 0x31, 0x2f, 0x80, 0x21, 0x80, 0x11, 0x10, 0x00, 0x00, 0xff, 0xff, 0x17, 0x83, 0x2d, 0xd4, 0x52, - 0x01, 0x00, 0x00, -} diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/import_public/b.pb.go b/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/import_public/b.pb.go deleted file mode 100644 index 522f215c..00000000 --- a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/import_public/b.pb.go +++ /dev/null @@ -1,90 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: import_public/b.proto - -package import_public - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - sub "github.com/golang/protobuf/protoc-gen-go/testdata/import_public/sub" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type Local struct { - M *sub.M `protobuf:"bytes,1,opt,name=m" json:"m,omitempty"` - E *sub.E `protobuf:"varint,2,opt,name=e,enum=goproto.test.import_public.sub.E" json:"e,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Local) Reset() { *m = Local{} } -func (m *Local) String() string { return proto.CompactTextString(m) } -func (*Local) ProtoMessage() {} -func (*Local) Descriptor() ([]byte, []int) { - return fileDescriptor_84995586b3d09710, []int{0} -} - -func (m *Local) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Local.Unmarshal(m, b) -} -func (m *Local) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Local.Marshal(b, m, deterministic) -} -func (m *Local) XXX_Merge(src proto.Message) { - xxx_messageInfo_Local.Merge(m, src) -} -func (m *Local) XXX_Size() int { - return xxx_messageInfo_Local.Size(m) -} -func (m *Local) XXX_DiscardUnknown() { - xxx_messageInfo_Local.DiscardUnknown(m) -} - -var xxx_messageInfo_Local proto.InternalMessageInfo - -func (m *Local) GetM() *sub.M { - if m != nil { - return m.M - } - return nil -} - -func (m *Local) GetE() sub.E { - if m != nil && m.E != nil { - return *m.E - } - return sub.E_ZERO -} - -func init() { - proto.RegisterType((*Local)(nil), "goproto.test.import_public.Local") -} - -func init() { proto.RegisterFile("import_public/b.proto", fileDescriptor_84995586b3d09710) } - -var fileDescriptor_84995586b3d09710 = []byte{ - // 169 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0xcd, 0xcc, 0x2d, 0xc8, - 0x2f, 0x2a, 0x89, 0x2f, 0x28, 0x4d, 0xca, 0xc9, 0x4c, 0xd6, 0x4f, 0xd2, 0x2b, 0x28, 0xca, 0x2f, - 0xc9, 0x17, 0x92, 0x4a, 0xcf, 0x07, 0x33, 0xf4, 0x4a, 0x52, 0x8b, 0x4b, 0xf4, 0x50, 0xd4, 0x48, - 0x49, 0xa2, 0x6a, 0x29, 0x2e, 0x4d, 0xd2, 0x4f, 0x84, 0x68, 0x53, 0xca, 0xe4, 0x62, 0xf5, 0xc9, - 0x4f, 0x4e, 0xcc, 0x11, 0xd2, 0xe7, 0x62, 0xcc, 0x95, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x36, 0x52, - 0xd4, 0xc3, 0x6d, 0x96, 0x5e, 0x71, 0x69, 0x92, 0x9e, 0x6f, 0x10, 0x63, 0x2e, 0x48, 0x43, 0xaa, - 0x04, 0x93, 0x02, 0xa3, 0x06, 0x1f, 0x61, 0x0d, 0xae, 0x41, 0x8c, 0xa9, 0x4e, 0x8e, 0x51, 0xf6, - 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0xe9, 0xf9, 0x39, 0x89, 0x79, - 0xe9, 0xfa, 0x60, 0x6d, 0x49, 0xa5, 0x69, 0x10, 0x46, 0xb2, 0x6e, 0x7a, 0x6a, 0x9e, 0x6e, 0x7a, - 0xbe, 0x3e, 0xc8, 0x9c, 0x94, 0xc4, 0x92, 0x44, 0x7d, 0x14, 0xb3, 0x00, 0x01, 0x00, 0x00, 0xff, - 0xff, 0x35, 0x0e, 0x6a, 0x82, 0xfc, 0x00, 0x00, 0x00, -} diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/import_public/importing/importing.pb.go b/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/import_public/importing/importing.pb.go deleted file mode 100644 index 3f0f37e9..00000000 --- a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/import_public/importing/importing.pb.go +++ /dev/null @@ -1,85 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: import_public/importing/importing.proto - -package importing - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/protoc-gen-go/testdata/import_public" - sub "github.com/golang/protobuf/protoc-gen-go/testdata/import_public/sub" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type M struct { - // Message type defined in a file publicly imported by a file we import. - M *sub.M `protobuf:"bytes,1,opt,name=m" json:"m,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *M) Reset() { *m = M{} } -func (m *M) String() string { return proto.CompactTextString(m) } -func (*M) ProtoMessage() {} -func (*M) Descriptor() ([]byte, []int) { - return fileDescriptor_36b835b3b8f6171a, []int{0} -} - -func (m *M) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_M.Unmarshal(m, b) -} -func (m *M) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_M.Marshal(b, m, deterministic) -} -func (m *M) XXX_Merge(src proto.Message) { - xxx_messageInfo_M.Merge(m, src) -} -func (m *M) XXX_Size() int { - return xxx_messageInfo_M.Size(m) -} -func (m *M) XXX_DiscardUnknown() { - xxx_messageInfo_M.DiscardUnknown(m) -} - -var xxx_messageInfo_M proto.InternalMessageInfo - -func (m *M) GetM() *sub.M { - if m != nil { - return m.M - } - return nil -} - -func init() { - proto.RegisterType((*M)(nil), "goproto.test.import_public.importing.M") -} - -func init() { - proto.RegisterFile("import_public/importing/importing.proto", fileDescriptor_36b835b3b8f6171a) -} - -var fileDescriptor_36b835b3b8f6171a = []byte{ - // 153 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0xcf, 0xcc, 0x2d, 0xc8, - 0x2f, 0x2a, 0x89, 0x2f, 0x28, 0x4d, 0xca, 0xc9, 0x4c, 0xd6, 0x87, 0xf0, 0x32, 0xf3, 0xd2, 0x11, - 0x2c, 0xbd, 0x82, 0xa2, 0xfc, 0x92, 0x7c, 0x21, 0x95, 0xf4, 0x7c, 0x30, 0x43, 0xaf, 0x24, 0xb5, - 0xb8, 0x44, 0x0f, 0x45, 0x97, 0x1e, 0x5c, 0xad, 0x94, 0x28, 0xaa, 0x71, 0x89, 0x10, 0xcd, 0x4a, - 0x26, 0x5c, 0x8c, 0xbe, 0x42, 0xfa, 0x5c, 0x8c, 0xb9, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0xdc, 0x46, - 0x8a, 0x7a, 0x78, 0x4c, 0x2b, 0x2e, 0x4d, 0xd2, 0xf3, 0x0d, 0x62, 0xcc, 0x75, 0xf2, 0x8e, 0xf2, - 0x4c, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xcf, 0xcf, 0x49, 0xcc, - 0x4b, 0xd7, 0x07, 0x6b, 0x4b, 0x2a, 0x4d, 0x83, 0x30, 0x92, 0x75, 0xd3, 0x53, 0xf3, 0x74, 0xd3, - 0xf3, 0xf5, 0x41, 0xe6, 0xa4, 0x24, 0x96, 0x24, 0xea, 0xe3, 0xf0, 0x0f, 0x20, 0x00, 0x00, 0xff, - 0xff, 0xd8, 0x7e, 0x58, 0x1c, 0xe9, 0x00, 0x00, 0x00, -} diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/import_public/sub/a.pb.go b/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/import_public/sub/a.pb.go deleted file mode 100644 index 6f815678..00000000 --- a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/import_public/sub/a.pb.go +++ /dev/null @@ -1,409 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: import_public/sub/a.proto - -package sub - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type E int32 - -const ( - E_ZERO E = 0 -) - -var E_name = map[int32]string{ - 0: "ZERO", -} - -var E_value = map[string]int32{ - "ZERO": 0, -} - -func (x E) Enum() *E { - p := new(E) - *p = x - return p -} - -func (x E) String() string { - return proto.EnumName(E_name, int32(x)) -} - -func (x *E) UnmarshalJSON(data []byte) error { - value, err := proto.UnmarshalJSONEnum(E_value, data, "E") - if err != nil { - return err - } - *x = E(value) - return nil -} - -func (E) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_382f7805394b5c4e, []int{0} -} - -type M_Subenum int32 - -const ( - M_M_ZERO M_Subenum = 0 -) - -var M_Subenum_name = map[int32]string{ - 0: "M_ZERO", -} - -var M_Subenum_value = map[string]int32{ - "M_ZERO": 0, -} - -func (x M_Subenum) Enum() *M_Subenum { - p := new(M_Subenum) - *p = x - return p -} - -func (x M_Subenum) String() string { - return proto.EnumName(M_Subenum_name, int32(x)) -} - -func (x *M_Subenum) UnmarshalJSON(data []byte) error { - value, err := proto.UnmarshalJSONEnum(M_Subenum_value, data, "M_Subenum") - if err != nil { - return err - } - *x = M_Subenum(value) - return nil -} - -func (M_Subenum) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_382f7805394b5c4e, []int{0, 0} -} - -type M_Submessage_Submessage_Subenum int32 - -const ( - M_Submessage_M_SUBMESSAGE_ZERO M_Submessage_Submessage_Subenum = 0 -) - -var M_Submessage_Submessage_Subenum_name = map[int32]string{ - 0: "M_SUBMESSAGE_ZERO", -} - -var M_Submessage_Submessage_Subenum_value = map[string]int32{ - "M_SUBMESSAGE_ZERO": 0, -} - -func (x M_Submessage_Submessage_Subenum) Enum() *M_Submessage_Submessage_Subenum { - p := new(M_Submessage_Submessage_Subenum) - *p = x - return p -} - -func (x M_Submessage_Submessage_Subenum) String() string { - return proto.EnumName(M_Submessage_Submessage_Subenum_name, int32(x)) -} - -func (x *M_Submessage_Submessage_Subenum) UnmarshalJSON(data []byte) error { - value, err := proto.UnmarshalJSONEnum(M_Submessage_Submessage_Subenum_value, data, "M_Submessage_Submessage_Subenum") - if err != nil { - return err - } - *x = M_Submessage_Submessage_Subenum(value) - return nil -} - -func (M_Submessage_Submessage_Subenum) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_382f7805394b5c4e, []int{0, 1, 0} -} - -type M struct { - // Field using a type in the same Go package, but a different source file. - M2 *M2 `protobuf:"bytes,1,opt,name=m2" json:"m2,omitempty"` - // Types that are valid to be assigned to OneofField: - // *M_OneofInt32 - // *M_OneofInt64 - OneofField isM_OneofField `protobuf_oneof:"oneof_field"` - Grouping *M_Grouping `protobuf:"group,4,opt,name=Grouping,json=grouping" json:"grouping,omitempty"` - DefaultField *string `protobuf:"bytes,6,opt,name=default_field,json=defaultField,def=def" json:"default_field,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *M) Reset() { *m = M{} } -func (m *M) String() string { return proto.CompactTextString(m) } -func (*M) ProtoMessage() {} -func (*M) Descriptor() ([]byte, []int) { - return fileDescriptor_382f7805394b5c4e, []int{0} -} - -func (m *M) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_M.Unmarshal(m, b) -} -func (m *M) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_M.Marshal(b, m, deterministic) -} -func (m *M) XXX_Merge(src proto.Message) { - xxx_messageInfo_M.Merge(m, src) -} -func (m *M) XXX_Size() int { - return xxx_messageInfo_M.Size(m) -} -func (m *M) XXX_DiscardUnknown() { - xxx_messageInfo_M.DiscardUnknown(m) -} - -var xxx_messageInfo_M proto.InternalMessageInfo - -const Default_M_DefaultField string = "def" - -func (m *M) GetM2() *M2 { - if m != nil { - return m.M2 - } - return nil -} - -type isM_OneofField interface { - isM_OneofField() -} - -type M_OneofInt32 struct { - OneofInt32 int32 `protobuf:"varint,2,opt,name=oneof_int32,json=oneofInt32,oneof"` -} - -type M_OneofInt64 struct { - OneofInt64 int64 `protobuf:"varint,3,opt,name=oneof_int64,json=oneofInt64,oneof"` -} - -func (*M_OneofInt32) isM_OneofField() {} - -func (*M_OneofInt64) isM_OneofField() {} - -func (m *M) GetOneofField() isM_OneofField { - if m != nil { - return m.OneofField - } - return nil -} - -func (m *M) GetOneofInt32() int32 { - if x, ok := m.GetOneofField().(*M_OneofInt32); ok { - return x.OneofInt32 - } - return 0 -} - -func (m *M) GetOneofInt64() int64 { - if x, ok := m.GetOneofField().(*M_OneofInt64); ok { - return x.OneofInt64 - } - return 0 -} - -func (m *M) GetGrouping() *M_Grouping { - if m != nil { - return m.Grouping - } - return nil -} - -func (m *M) GetDefaultField() string { - if m != nil && m.DefaultField != nil { - return *m.DefaultField - } - return Default_M_DefaultField -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*M) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*M_OneofInt32)(nil), - (*M_OneofInt64)(nil), - } -} - -type M_Grouping struct { - GroupField *string `protobuf:"bytes,5,opt,name=group_field,json=groupField" json:"group_field,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *M_Grouping) Reset() { *m = M_Grouping{} } -func (m *M_Grouping) String() string { return proto.CompactTextString(m) } -func (*M_Grouping) ProtoMessage() {} -func (*M_Grouping) Descriptor() ([]byte, []int) { - return fileDescriptor_382f7805394b5c4e, []int{0, 0} -} - -func (m *M_Grouping) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_M_Grouping.Unmarshal(m, b) -} -func (m *M_Grouping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_M_Grouping.Marshal(b, m, deterministic) -} -func (m *M_Grouping) XXX_Merge(src proto.Message) { - xxx_messageInfo_M_Grouping.Merge(m, src) -} -func (m *M_Grouping) XXX_Size() int { - return xxx_messageInfo_M_Grouping.Size(m) -} -func (m *M_Grouping) XXX_DiscardUnknown() { - xxx_messageInfo_M_Grouping.DiscardUnknown(m) -} - -var xxx_messageInfo_M_Grouping proto.InternalMessageInfo - -func (m *M_Grouping) GetGroupField() string { - if m != nil && m.GroupField != nil { - return *m.GroupField - } - return "" -} - -type M_Submessage struct { - // Types that are valid to be assigned to SubmessageOneofField: - // *M_Submessage_SubmessageOneofInt32 - // *M_Submessage_SubmessageOneofInt64 - SubmessageOneofField isM_Submessage_SubmessageOneofField `protobuf_oneof:"submessage_oneof_field"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *M_Submessage) Reset() { *m = M_Submessage{} } -func (m *M_Submessage) String() string { return proto.CompactTextString(m) } -func (*M_Submessage) ProtoMessage() {} -func (*M_Submessage) Descriptor() ([]byte, []int) { - return fileDescriptor_382f7805394b5c4e, []int{0, 1} -} - -func (m *M_Submessage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_M_Submessage.Unmarshal(m, b) -} -func (m *M_Submessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_M_Submessage.Marshal(b, m, deterministic) -} -func (m *M_Submessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_M_Submessage.Merge(m, src) -} -func (m *M_Submessage) XXX_Size() int { - return xxx_messageInfo_M_Submessage.Size(m) -} -func (m *M_Submessage) XXX_DiscardUnknown() { - xxx_messageInfo_M_Submessage.DiscardUnknown(m) -} - -var xxx_messageInfo_M_Submessage proto.InternalMessageInfo - -type isM_Submessage_SubmessageOneofField interface { - isM_Submessage_SubmessageOneofField() -} - -type M_Submessage_SubmessageOneofInt32 struct { - SubmessageOneofInt32 int32 `protobuf:"varint,1,opt,name=submessage_oneof_int32,json=submessageOneofInt32,oneof"` -} - -type M_Submessage_SubmessageOneofInt64 struct { - SubmessageOneofInt64 int64 `protobuf:"varint,2,opt,name=submessage_oneof_int64,json=submessageOneofInt64,oneof"` -} - -func (*M_Submessage_SubmessageOneofInt32) isM_Submessage_SubmessageOneofField() {} - -func (*M_Submessage_SubmessageOneofInt64) isM_Submessage_SubmessageOneofField() {} - -func (m *M_Submessage) GetSubmessageOneofField() isM_Submessage_SubmessageOneofField { - if m != nil { - return m.SubmessageOneofField - } - return nil -} - -func (m *M_Submessage) GetSubmessageOneofInt32() int32 { - if x, ok := m.GetSubmessageOneofField().(*M_Submessage_SubmessageOneofInt32); ok { - return x.SubmessageOneofInt32 - } - return 0 -} - -func (m *M_Submessage) GetSubmessageOneofInt64() int64 { - if x, ok := m.GetSubmessageOneofField().(*M_Submessage_SubmessageOneofInt64); ok { - return x.SubmessageOneofInt64 - } - return 0 -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*M_Submessage) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*M_Submessage_SubmessageOneofInt32)(nil), - (*M_Submessage_SubmessageOneofInt64)(nil), - } -} - -var E_ExtensionField = &proto.ExtensionDesc{ - ExtendedType: (*M2)(nil), - ExtensionType: (*string)(nil), - Field: 1, - Name: "goproto.test.import_public.sub.extension_field", - Tag: "bytes,1,opt,name=extension_field", - Filename: "import_public/sub/a.proto", -} - -func init() { - proto.RegisterEnum("goproto.test.import_public.sub.E", E_name, E_value) - proto.RegisterEnum("goproto.test.import_public.sub.M_Subenum", M_Subenum_name, M_Subenum_value) - proto.RegisterEnum("goproto.test.import_public.sub.M_Submessage_Submessage_Subenum", M_Submessage_Submessage_Subenum_name, M_Submessage_Submessage_Subenum_value) - proto.RegisterType((*M)(nil), "goproto.test.import_public.sub.M") - proto.RegisterType((*M_Grouping)(nil), "goproto.test.import_public.sub.M.Grouping") - proto.RegisterType((*M_Submessage)(nil), "goproto.test.import_public.sub.M.Submessage") - proto.RegisterExtension(E_ExtensionField) -} - -func init() { proto.RegisterFile("import_public/sub/a.proto", fileDescriptor_382f7805394b5c4e) } - -var fileDescriptor_382f7805394b5c4e = []byte{ - // 410 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xcf, 0x6e, 0xd3, 0x40, - 0x10, 0xc6, 0xbb, 0x49, 0x5a, 0xd2, 0x09, 0xe1, 0xcf, 0x8a, 0x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0xb6, 0xde, 0x59, 0xaa, 0x52, 0xf7, 0x8f, 0xab, 0xfd, 0x1d, 0x00, 0x00, - 0xff, 0xff, 0x13, 0x4f, 0x31, 0x07, 0x04, 0x03, 0x00, 0x00, -} diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/import_public/sub/b.pb.go b/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/import_public/sub/b.pb.go deleted file mode 100644 index cb4ea17e..00000000 --- a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/import_public/sub/b.pb.go +++ /dev/null @@ -1,80 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: import_public/sub/b.proto - -package sub - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type M2 struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - proto.XXX_InternalExtensions `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *M2) Reset() { *m = M2{} } -func (m *M2) String() string { return proto.CompactTextString(m) } -func (*M2) ProtoMessage() {} -func (*M2) Descriptor() ([]byte, []int) { - return fileDescriptor_fc66afda3d7c2232, []int{0} -} - -var extRange_M2 = []proto.ExtensionRange{ - {Start: 1, End: 536870911}, -} - -func (*M2) ExtensionRangeArray() []proto.ExtensionRange { - return extRange_M2 -} - -func (m *M2) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_M2.Unmarshal(m, b) -} -func (m *M2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_M2.Marshal(b, m, deterministic) -} -func (m *M2) XXX_Merge(src proto.Message) { - xxx_messageInfo_M2.Merge(m, src) -} -func (m *M2) XXX_Size() int { - return xxx_messageInfo_M2.Size(m) -} -func (m *M2) XXX_DiscardUnknown() { - xxx_messageInfo_M2.DiscardUnknown(m) -} - -var xxx_messageInfo_M2 proto.InternalMessageInfo - -func init() { - proto.RegisterType((*M2)(nil), "goproto.test.import_public.sub.M2") -} - -func init() { proto.RegisterFile("import_public/sub/b.proto", fileDescriptor_fc66afda3d7c2232) } - -var fileDescriptor_fc66afda3d7c2232 = []byte{ - // 132 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0xcc, 0xcc, 0x2d, 0xc8, - 0x2f, 0x2a, 0x89, 0x2f, 0x28, 0x4d, 0xca, 0xc9, 0x4c, 0xd6, 0x2f, 0x2e, 0x4d, 0xd2, 0x4f, 0xd2, - 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x4b, 0xcf, 0x07, 0x33, 0xf4, 0x4a, 0x52, 0x8b, 0x4b, - 0xf4, 0x50, 0xd4, 0xe9, 0x15, 0x97, 0x26, 0x29, 0xf1, 0x71, 0x31, 0xf9, 0x1a, 0x69, 0x71, 0x70, - 0x30, 0x0a, 0x34, 0x34, 0x34, 0x34, 0x30, 0x39, 0xb9, 0x46, 0x39, 0xa7, 0x67, 0x96, 0x64, 0x94, - 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0xa7, 0xe7, 0xe7, 0x24, 0xe6, 0xa5, 0xeb, 0x83, 0x4d, 0x48, - 0x2a, 0x4d, 0x83, 0x30, 0x92, 0x75, 0xd3, 0x53, 0xf3, 0x74, 0xd3, 0xf3, 0xf5, 0x41, 0x46, 0xa6, - 0x24, 0x96, 0x24, 0xea, 0x63, 0x58, 0x0f, 0x08, 0x00, 0x00, 0xff, 0xff, 0x87, 0x44, 0x22, 0x2d, - 0x92, 0x00, 0x00, 0x00, -} diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/fmt/m.pb.go b/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/fmt/m.pb.go deleted file mode 100644 index 9f774fe0..00000000 --- a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/fmt/m.pb.go +++ /dev/null @@ -1,69 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: imports/fmt/m.proto - -package fmt - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type M struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *M) Reset() { *m = M{} } -func (m *M) String() string { return proto.CompactTextString(m) } -func (*M) ProtoMessage() {} -func (*M) Descriptor() ([]byte, []int) { - return fileDescriptor_72c126fcd452e392, []int{0} -} - -func (m *M) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_M.Unmarshal(m, b) -} -func (m *M) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_M.Marshal(b, m, deterministic) -} -func (m *M) XXX_Merge(src proto.Message) { - xxx_messageInfo_M.Merge(m, src) -} -func (m *M) XXX_Size() int { - return xxx_messageInfo_M.Size(m) -} -func (m *M) XXX_DiscardUnknown() { - xxx_messageInfo_M.DiscardUnknown(m) -} - -var xxx_messageInfo_M proto.InternalMessageInfo - -func init() { - proto.RegisterType((*M)(nil), "fmt.M") -} - -func init() { proto.RegisterFile("imports/fmt/m.proto", fileDescriptor_72c126fcd452e392) } - -var fileDescriptor_72c126fcd452e392 = []byte{ - // 109 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0xce, 0xcc, 0x2d, 0xc8, - 0x2f, 0x2a, 0x29, 0xd6, 0x4f, 0xcb, 0x2d, 0xd1, 0xcf, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, - 0x62, 0x4e, 0xcb, 0x2d, 0x51, 0x62, 0xe6, 0x62, 0xf4, 0x75, 0xb2, 0x8f, 0xb2, 0x4d, 0xcf, 0x2c, - 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xcf, 0xcf, 0x49, 0xcc, 0x4b, 0xd7, 0x07, - 0x2b, 0x4a, 0x2a, 0x4d, 0x83, 0x30, 0x92, 0x75, 0xd3, 0x53, 0xf3, 0x74, 0xd3, 0xf3, 0xf5, 0x4b, - 0x52, 0x8b, 0x4b, 0x52, 0x12, 0x4b, 0x12, 0xf5, 0x91, 0x8c, 0x4c, 0x62, 0x03, 0xab, 0x31, 0x06, - 0x04, 0x00, 0x00, 0xff, 0xff, 0xc4, 0xc9, 0xee, 0xbe, 0x68, 0x00, 0x00, 0x00, -} diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_a_1/m1.pb.go b/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_a_1/m1.pb.go deleted file mode 100644 index 1cec006b..00000000 --- a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_a_1/m1.pb.go +++ /dev/null @@ -1,136 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: imports/test_a_1/m1.proto - -package test_a_1 - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type E1 int32 - -const ( - E1_E1_ZERO E1 = 0 -) - -var E1_name = map[int32]string{ - 0: "E1_ZERO", -} - -var E1_value = map[string]int32{ - "E1_ZERO": 0, -} - -func (x E1) String() string { - return proto.EnumName(E1_name, int32(x)) -} - -func (E1) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_c1091de3fa870a14, []int{0} -} - -type M1 struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *M1) Reset() { *m = M1{} } -func (m *M1) String() string { return proto.CompactTextString(m) } -func (*M1) ProtoMessage() {} -func (*M1) Descriptor() ([]byte, []int) { - return fileDescriptor_c1091de3fa870a14, []int{0} -} - -func (m *M1) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_M1.Unmarshal(m, b) -} -func (m *M1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_M1.Marshal(b, m, deterministic) -} -func (m *M1) XXX_Merge(src proto.Message) { - xxx_messageInfo_M1.Merge(m, src) -} -func (m *M1) XXX_Size() int { - return xxx_messageInfo_M1.Size(m) -} -func (m *M1) XXX_DiscardUnknown() { - xxx_messageInfo_M1.DiscardUnknown(m) -} - -var xxx_messageInfo_M1 proto.InternalMessageInfo - -type M1_1 struct { - M1 *M1 `protobuf:"bytes,1,opt,name=m1,proto3" json:"m1,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *M1_1) Reset() { *m = M1_1{} } -func (m *M1_1) String() string { return proto.CompactTextString(m) } -func (*M1_1) ProtoMessage() {} -func (*M1_1) Descriptor() ([]byte, []int) { - return fileDescriptor_c1091de3fa870a14, []int{1} -} - -func (m *M1_1) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_M1_1.Unmarshal(m, b) -} -func (m *M1_1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_M1_1.Marshal(b, m, deterministic) -} -func (m *M1_1) XXX_Merge(src proto.Message) { - xxx_messageInfo_M1_1.Merge(m, src) -} -func (m *M1_1) XXX_Size() int { - return xxx_messageInfo_M1_1.Size(m) -} -func (m *M1_1) XXX_DiscardUnknown() { - xxx_messageInfo_M1_1.DiscardUnknown(m) -} - -var xxx_messageInfo_M1_1 proto.InternalMessageInfo - -func (m *M1_1) GetM1() *M1 { - if m != nil { - return m.M1 - } - return nil -} - -func init() { - proto.RegisterEnum("test.a.E1", E1_name, E1_value) - proto.RegisterType((*M1)(nil), "test.a.M1") - proto.RegisterType((*M1_1)(nil), "test.a.M1_1") -} - -func init() { proto.RegisterFile("imports/test_a_1/m1.proto", fileDescriptor_c1091de3fa870a14) } - -var fileDescriptor_c1091de3fa870a14 = []byte{ - // 165 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0xcc, 0xcc, 0x2d, 0xc8, - 0x2f, 0x2a, 0x29, 0xd6, 0x2f, 0x49, 0x2d, 0x2e, 0x89, 0x4f, 0x8c, 0x37, 0xd4, 0xcf, 0x35, 0xd4, - 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x03, 0x09, 0xe9, 0x25, 0x2a, 0xb1, 0x70, 0x31, 0xf9, - 0x1a, 0x2a, 0x29, 0x71, 0xb1, 0xf8, 0x1a, 0xc6, 0x1b, 0x0a, 0x49, 0x71, 0x31, 0xe5, 0x1a, 0x4a, - 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x1b, 0x71, 0xe9, 0x41, 0x94, 0xe8, 0xf9, 0x1a, 0x06, 0x31, 0xe5, - 0x1a, 0x6a, 0x09, 0x72, 0x31, 0xb9, 0x1a, 0x0a, 0x71, 0x73, 0xb1, 0xbb, 0x1a, 0xc6, 0x47, 0xb9, - 0x06, 0xf9, 0x0b, 0x30, 0x38, 0xb9, 0x44, 0x39, 0xa5, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, - 0xe7, 0xe7, 0xea, 0xa7, 0xe7, 0xe7, 0x24, 0xe6, 0xa5, 0xeb, 0x83, 0xcd, 0x4f, 0x2a, 0x4d, 0x83, - 0x30, 0x92, 0x75, 0xd3, 0x53, 0xf3, 0x74, 0xd3, 0xf3, 0xc1, 0x4e, 0x48, 0x49, 0x2c, 0x49, 0xd4, - 0x47, 0x77, 0x53, 0x12, 0x1b, 0x58, 0xa1, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xcc, 0xae, 0xc9, - 0xcd, 0xae, 0x00, 0x00, 0x00, -} diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_a_1/m2.pb.go b/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_a_1/m2.pb.go deleted file mode 100644 index 0563d580..00000000 --- a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_a_1/m2.pb.go +++ /dev/null @@ -1,70 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: imports/test_a_1/m2.proto - -package test_a_1 - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type M2 struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *M2) Reset() { *m = M2{} } -func (m *M2) String() string { return proto.CompactTextString(m) } -func (*M2) ProtoMessage() {} -func (*M2) Descriptor() ([]byte, []int) { - return fileDescriptor_20cf27515c0d621c, []int{0} -} - -func (m *M2) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_M2.Unmarshal(m, b) -} -func (m *M2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_M2.Marshal(b, m, deterministic) -} -func (m *M2) XXX_Merge(src proto.Message) { - xxx_messageInfo_M2.Merge(m, src) -} -func (m *M2) XXX_Size() int { - return xxx_messageInfo_M2.Size(m) -} -func (m *M2) XXX_DiscardUnknown() { - xxx_messageInfo_M2.DiscardUnknown(m) -} - -var xxx_messageInfo_M2 proto.InternalMessageInfo - -func init() { - proto.RegisterType((*M2)(nil), "test.a.M2") -} - -func init() { proto.RegisterFile("imports/test_a_1/m2.proto", fileDescriptor_20cf27515c0d621c) } - -var fileDescriptor_20cf27515c0d621c = []byte{ - // 114 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0xcc, 0xcc, 0x2d, 0xc8, - 0x2f, 0x2a, 0x29, 0xd6, 0x2f, 0x49, 0x2d, 0x2e, 0x89, 0x4f, 0x8c, 0x37, 0xd4, 0xcf, 0x35, 0xd2, - 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x03, 0x09, 0xe9, 0x25, 0x2a, 0xb1, 0x70, 0x31, 0xf9, - 0x1a, 0x39, 0xb9, 0x44, 0x39, 0xa5, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, - 0xa7, 0xe7, 0xe7, 0x24, 0xe6, 0xa5, 0xeb, 0x83, 0x15, 0x26, 0x95, 0xa6, 0x41, 0x18, 0xc9, 0xba, - 0xe9, 0xa9, 0x79, 0xba, 0xe9, 0xf9, 0x60, 0xb3, 0x52, 0x12, 0x4b, 0x12, 0xf5, 0xd1, 0x0d, 0x4f, - 0x62, 0x03, 0x2b, 0x34, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0xe3, 0xe0, 0x7e, 0xc0, 0x77, 0x00, - 0x00, 0x00, -} diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_a_2/m3.pb.go b/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_a_2/m3.pb.go deleted file mode 100644 index cbc8430b..00000000 --- a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_a_2/m3.pb.go +++ /dev/null @@ -1,70 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: imports/test_a_2/m3.proto - -package test_a_2 - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type M3 struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *M3) Reset() { *m = M3{} } -func (m *M3) String() string { return proto.CompactTextString(m) } -func (*M3) ProtoMessage() {} -func (*M3) Descriptor() ([]byte, []int) { - return fileDescriptor_ff9d8f834875c9c5, []int{0} -} - -func (m *M3) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_M3.Unmarshal(m, b) -} -func (m *M3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_M3.Marshal(b, m, deterministic) -} -func (m *M3) XXX_Merge(src proto.Message) { - xxx_messageInfo_M3.Merge(m, src) -} -func (m *M3) XXX_Size() int { - return xxx_messageInfo_M3.Size(m) -} -func (m *M3) XXX_DiscardUnknown() { - xxx_messageInfo_M3.DiscardUnknown(m) -} - -var xxx_messageInfo_M3 proto.InternalMessageInfo - -func init() { - proto.RegisterType((*M3)(nil), "test.a.M3") -} - -func init() { proto.RegisterFile("imports/test_a_2/m3.proto", fileDescriptor_ff9d8f834875c9c5) } - -var fileDescriptor_ff9d8f834875c9c5 = []byte{ - // 114 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0xcc, 0xcc, 0x2d, 0xc8, - 0x2f, 0x2a, 0x29, 0xd6, 0x2f, 0x49, 0x2d, 0x2e, 0x89, 0x4f, 0x8c, 0x37, 0xd2, 0xcf, 0x35, 0xd6, - 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x03, 0x09, 0xe9, 0x25, 0x2a, 0xb1, 0x70, 0x31, 0xf9, - 0x1a, 0x3b, 0xb9, 0x44, 0x39, 0xa5, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, - 0xa7, 0xe7, 0xe7, 0x24, 0xe6, 0xa5, 0xeb, 0x83, 0x15, 0x26, 0x95, 0xa6, 0x41, 0x18, 0xc9, 0xba, - 0xe9, 0xa9, 0x79, 0xba, 0xe9, 0xf9, 0x60, 0xb3, 0x52, 0x12, 0x4b, 0x12, 0xf5, 0xd1, 0x0d, 0x4f, - 0x62, 0x03, 0x2b, 0x34, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x23, 0x86, 0x27, 0x47, 0x77, 0x00, - 0x00, 0x00, -} diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_a_2/m4.pb.go b/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_a_2/m4.pb.go deleted file mode 100644 index 2771b839..00000000 --- a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_a_2/m4.pb.go +++ /dev/null @@ -1,70 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: imports/test_a_2/m4.proto - -package test_a_2 - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type M4 struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *M4) Reset() { *m = M4{} } -func (m *M4) String() string { return proto.CompactTextString(m) } -func (*M4) ProtoMessage() {} -func (*M4) Descriptor() ([]byte, []int) { - return fileDescriptor_fdd24f82f6c5a786, []int{0} -} - -func (m *M4) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_M4.Unmarshal(m, b) -} -func (m *M4) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_M4.Marshal(b, m, deterministic) -} -func (m *M4) XXX_Merge(src proto.Message) { - xxx_messageInfo_M4.Merge(m, src) -} -func (m *M4) XXX_Size() int { - return xxx_messageInfo_M4.Size(m) -} -func (m *M4) XXX_DiscardUnknown() { - xxx_messageInfo_M4.DiscardUnknown(m) -} - -var xxx_messageInfo_M4 proto.InternalMessageInfo - -func init() { - proto.RegisterType((*M4)(nil), "test.a.M4") -} - -func init() { proto.RegisterFile("imports/test_a_2/m4.proto", fileDescriptor_fdd24f82f6c5a786) } - -var fileDescriptor_fdd24f82f6c5a786 = []byte{ - // 114 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0xcc, 0xcc, 0x2d, 0xc8, - 0x2f, 0x2a, 0x29, 0xd6, 0x2f, 0x49, 0x2d, 0x2e, 0x89, 0x4f, 0x8c, 0x37, 0xd2, 0xcf, 0x35, 0xd1, - 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x03, 0x09, 0xe9, 0x25, 0x2a, 0xb1, 0x70, 0x31, 0xf9, - 0x9a, 0x38, 0xb9, 0x44, 0x39, 0xa5, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, - 0xa7, 0xe7, 0xe7, 0x24, 0xe6, 0xa5, 0xeb, 0x83, 0x15, 0x26, 0x95, 0xa6, 0x41, 0x18, 0xc9, 0xba, - 0xe9, 0xa9, 0x79, 0xba, 0xe9, 0xf9, 0x60, 0xb3, 0x52, 0x12, 0x4b, 0x12, 0xf5, 0xd1, 0x0d, 0x4f, - 0x62, 0x03, 0x2b, 0x34, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x58, 0xcb, 0x10, 0xc8, 0x77, 0x00, - 0x00, 0x00, -} diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_b_1/m1.pb.go b/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_b_1/m1.pb.go deleted file mode 100644 index 51592e72..00000000 --- a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_b_1/m1.pb.go +++ /dev/null @@ -1,70 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: imports/test_b_1/m1.proto - -package beta - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type M1 struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *M1) Reset() { *m = M1{} } -func (m *M1) String() string { return proto.CompactTextString(m) } -func (*M1) ProtoMessage() {} -func (*M1) Descriptor() ([]byte, []int) { - return fileDescriptor_7f49573d035512a8, []int{0} -} - -func (m *M1) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_M1.Unmarshal(m, b) -} -func (m *M1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_M1.Marshal(b, m, deterministic) -} -func (m *M1) XXX_Merge(src proto.Message) { - xxx_messageInfo_M1.Merge(m, src) -} -func (m *M1) XXX_Size() int { - return xxx_messageInfo_M1.Size(m) -} -func (m *M1) XXX_DiscardUnknown() { - xxx_messageInfo_M1.DiscardUnknown(m) -} - -var xxx_messageInfo_M1 proto.InternalMessageInfo - -func init() { - proto.RegisterType((*M1)(nil), "test.b.part1.M1") -} - -func init() { proto.RegisterFile("imports/test_b_1/m1.proto", fileDescriptor_7f49573d035512a8) } - -var fileDescriptor_7f49573d035512a8 = []byte{ - // 125 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0xcc, 0xcc, 0x2d, 0xc8, - 0x2f, 0x2a, 0x29, 0xd6, 0x2f, 0x49, 0x2d, 0x2e, 0x89, 0x4f, 0x8a, 0x37, 0xd4, 0xcf, 0x35, 0xd4, - 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x01, 0x09, 0xe9, 0x25, 0xe9, 0x15, 0x24, 0x16, 0x95, - 0x18, 0x2a, 0xb1, 0x70, 0x31, 0xf9, 0x1a, 0x3a, 0x79, 0x46, 0xb9, 0xa7, 0x67, 0x96, 0x64, 0x94, - 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0xa7, 0xe7, 0xe7, 0x24, 0xe6, 0xa5, 0xeb, 0x83, 0x95, 0x27, - 0x95, 0xa6, 0x41, 0x18, 0xc9, 0xba, 0xe9, 0xa9, 0x79, 0xba, 0xe9, 0xf9, 0x60, 0x13, 0x53, 0x12, - 0x4b, 0x12, 0xf5, 0xd1, 0xad, 0xb0, 0x4e, 0x4a, 0x2d, 0x49, 0x4c, 0x62, 0x03, 0xab, 0x36, 0x06, - 0x04, 0x00, 0x00, 0xff, 0xff, 0x4a, 0xf1, 0x3b, 0x7f, 0x82, 0x00, 0x00, 0x00, -} diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_b_1/m2.pb.go b/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_b_1/m2.pb.go deleted file mode 100644 index f31fb0d2..00000000 --- a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_b_1/m2.pb.go +++ /dev/null @@ -1,70 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: imports/test_b_1/m2.proto - -package beta - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type M2 struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *M2) Reset() { *m = M2{} } -func (m *M2) String() string { return proto.CompactTextString(m) } -func (*M2) ProtoMessage() {} -func (*M2) Descriptor() ([]byte, []int) { - return fileDescriptor_a1becddceeb586f2, []int{0} -} - -func (m *M2) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_M2.Unmarshal(m, b) -} -func (m *M2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_M2.Marshal(b, m, deterministic) -} -func (m *M2) XXX_Merge(src proto.Message) { - xxx_messageInfo_M2.Merge(m, src) -} -func (m *M2) XXX_Size() int { - return xxx_messageInfo_M2.Size(m) -} -func (m *M2) XXX_DiscardUnknown() { - xxx_messageInfo_M2.DiscardUnknown(m) -} - -var xxx_messageInfo_M2 proto.InternalMessageInfo - -func init() { - proto.RegisterType((*M2)(nil), "test.b.part2.M2") -} - -func init() { proto.RegisterFile("imports/test_b_1/m2.proto", fileDescriptor_a1becddceeb586f2) } - -var fileDescriptor_a1becddceeb586f2 = []byte{ - // 125 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0xcc, 0xcc, 0x2d, 0xc8, - 0x2f, 0x2a, 0x29, 0xd6, 0x2f, 0x49, 0x2d, 0x2e, 0x89, 0x4f, 0x8a, 0x37, 0xd4, 0xcf, 0x35, 0xd2, - 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x01, 0x09, 0xe9, 0x25, 0xe9, 0x15, 0x24, 0x16, 0x95, - 0x18, 0x29, 0xb1, 0x70, 0x31, 0xf9, 0x1a, 0x39, 0x79, 0x46, 0xb9, 0xa7, 0x67, 0x96, 0x64, 0x94, - 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0xa7, 0xe7, 0xe7, 0x24, 0xe6, 0xa5, 0xeb, 0x83, 0x95, 0x27, - 0x95, 0xa6, 0x41, 0x18, 0xc9, 0xba, 0xe9, 0xa9, 0x79, 0xba, 0xe9, 0xf9, 0x60, 0x13, 0x53, 0x12, - 0x4b, 0x12, 0xf5, 0xd1, 0xad, 0xb0, 0x4e, 0x4a, 0x2d, 0x49, 0x4c, 0x62, 0x03, 0xab, 0x36, 0x06, - 0x04, 0x00, 0x00, 0xff, 0xff, 0x44, 0x29, 0xbe, 0x6d, 0x82, 0x00, 0x00, 0x00, -} diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_import_a1m1.pb.go b/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_import_a1m1.pb.go deleted file mode 100644 index 1fef9ea3..00000000 --- a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_import_a1m1.pb.go +++ /dev/null @@ -1,81 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: imports/test_import_a1m1.proto - -package imports - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - test_a_1 "github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_a_1" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type A1M1 struct { - F *test_a_1.M1 `protobuf:"bytes,1,opt,name=f,proto3" json:"f,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *A1M1) Reset() { *m = A1M1{} } -func (m *A1M1) String() string { return proto.CompactTextString(m) } -func (*A1M1) ProtoMessage() {} -func (*A1M1) Descriptor() ([]byte, []int) { - return fileDescriptor_3b904a47327455f3, []int{0} -} - -func (m *A1M1) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_A1M1.Unmarshal(m, b) -} -func (m *A1M1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_A1M1.Marshal(b, m, deterministic) -} -func (m *A1M1) XXX_Merge(src proto.Message) { - xxx_messageInfo_A1M1.Merge(m, src) -} -func (m *A1M1) XXX_Size() int { - return xxx_messageInfo_A1M1.Size(m) -} -func (m *A1M1) XXX_DiscardUnknown() { - xxx_messageInfo_A1M1.DiscardUnknown(m) -} - -var xxx_messageInfo_A1M1 proto.InternalMessageInfo - -func (m *A1M1) GetF() *test_a_1.M1 { - if m != nil { - return m.F - } - return nil -} - -func init() { - proto.RegisterType((*A1M1)(nil), "test.A1M1") -} - -func init() { proto.RegisterFile("imports/test_import_a1m1.proto", fileDescriptor_3b904a47327455f3) } - -var fileDescriptor_3b904a47327455f3 = []byte{ - // 149 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0xcb, 0xcc, 0x2d, 0xc8, - 0x2f, 0x2a, 0x29, 0xd6, 0x2f, 0x49, 0x2d, 0x2e, 0x89, 0x87, 0x70, 0xe2, 0x13, 0x0d, 0x73, 0x0d, - 0xf5, 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, 0x85, 0x58, 0x40, 0xe2, 0x52, 0x92, 0x28, 0xaa, 0x12, 0xe3, - 0x0d, 0xf5, 0x61, 0x0a, 0x94, 0x14, 0xb8, 0x58, 0x1c, 0x0d, 0x7d, 0x0d, 0x85, 0x24, 0xb8, 0x18, - 0xd3, 0x24, 0x18, 0x15, 0x18, 0x35, 0xb8, 0x8d, 0xb8, 0xf4, 0x40, 0xca, 0xf4, 0x12, 0xf5, 0x7c, - 0x0d, 0x83, 0x18, 0xd3, 0x9c, 0xac, 0xa3, 0x2c, 0xd3, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, - 0xf3, 0x73, 0xf5, 0xd3, 0xf3, 0x73, 0x12, 0xf3, 0xd2, 0xf5, 0xc1, 0x9a, 0x93, 0x4a, 0xd3, 0x20, - 0x8c, 0x64, 0xdd, 0xf4, 0xd4, 0x3c, 0xdd, 0xf4, 0x7c, 0xb0, 0xf9, 0x29, 0x89, 0x25, 0x89, 0xfa, - 0x50, 0x0b, 0x93, 0xd8, 0xc0, 0xf2, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x84, 0x2f, 0x18, - 0x23, 0xa8, 0x00, 0x00, 0x00, -} diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_import_a1m2.pb.go b/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_import_a1m2.pb.go deleted file mode 100644 index 13d5dd6f..00000000 --- a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_import_a1m2.pb.go +++ /dev/null @@ -1,81 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: imports/test_import_a1m2.proto - -package imports - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - test_a_1 "github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_a_1" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type A1M2 struct { - F *test_a_1.M2 `protobuf:"bytes,1,opt,name=f,proto3" json:"f,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *A1M2) Reset() { *m = A1M2{} } -func (m *A1M2) String() string { return proto.CompactTextString(m) } -func (*A1M2) ProtoMessage() {} -func (*A1M2) Descriptor() ([]byte, []int) { - return fileDescriptor_bdb27b114687957d, []int{0} -} - -func (m *A1M2) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_A1M2.Unmarshal(m, b) -} -func (m *A1M2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_A1M2.Marshal(b, m, deterministic) -} -func (m *A1M2) XXX_Merge(src proto.Message) { - xxx_messageInfo_A1M2.Merge(m, src) -} -func (m *A1M2) XXX_Size() int { - return xxx_messageInfo_A1M2.Size(m) -} -func (m *A1M2) XXX_DiscardUnknown() { - xxx_messageInfo_A1M2.DiscardUnknown(m) -} - -var xxx_messageInfo_A1M2 proto.InternalMessageInfo - -func (m *A1M2) GetF() *test_a_1.M2 { - if m != nil { - return m.F - } - return nil -} - -func init() { - proto.RegisterType((*A1M2)(nil), "test.A1M2") -} - -func init() { proto.RegisterFile("imports/test_import_a1m2.proto", fileDescriptor_bdb27b114687957d) } - -var fileDescriptor_bdb27b114687957d = []byte{ - // 149 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0xcb, 0xcc, 0x2d, 0xc8, - 0x2f, 0x2a, 0x29, 0xd6, 0x2f, 0x49, 0x2d, 0x2e, 0x89, 0x87, 0x70, 0xe2, 0x13, 0x0d, 0x73, 0x8d, - 0xf4, 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, 0x85, 0x58, 0x40, 0xe2, 0x52, 0x92, 0x28, 0xaa, 0x12, 0xe3, - 0x0d, 0xf5, 0x61, 0x0a, 0x94, 0x14, 0xb8, 0x58, 0x1c, 0x0d, 0x7d, 0x8d, 0x84, 0x24, 0xb8, 0x18, - 0xd3, 0x24, 0x18, 0x15, 0x18, 0x35, 0xb8, 0x8d, 0xb8, 0xf4, 0x40, 0xca, 0xf4, 0x12, 0xf5, 0x7c, - 0x8d, 0x82, 0x18, 0xd3, 0x9c, 0xac, 0xa3, 0x2c, 0xd3, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, - 0xf3, 0x73, 0xf5, 0xd3, 0xf3, 0x73, 0x12, 0xf3, 0xd2, 0xf5, 0xc1, 0x9a, 0x93, 0x4a, 0xd3, 0x20, - 0x8c, 0x64, 0xdd, 0xf4, 0xd4, 0x3c, 0xdd, 0xf4, 0x7c, 0xb0, 0xf9, 0x29, 0x89, 0x25, 0x89, 0xfa, - 0x50, 0x0b, 0x93, 0xd8, 0xc0, 0xf2, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x1f, 0x88, 0xfb, - 0xea, 0xa8, 0x00, 0x00, 0x00, -} diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_import_all.pb.go b/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_import_all.pb.go deleted file mode 100644 index 46705170..00000000 --- a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_import_all.pb.go +++ /dev/null @@ -1,139 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: imports/test_import_all.proto - -package imports - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - fmt1 "github.com/golang/protobuf/protoc-gen-go/testdata/imports/fmt" - test_a_1 "github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_a_1" - test_a_2 "github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_a_2" - test_b_1 "github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_b_1" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type All struct { - Am1 *test_a_1.M1 `protobuf:"bytes,1,opt,name=am1,proto3" json:"am1,omitempty"` - Am2 *test_a_1.M2 `protobuf:"bytes,2,opt,name=am2,proto3" json:"am2,omitempty"` - Am3 *test_a_2.M3 `protobuf:"bytes,3,opt,name=am3,proto3" json:"am3,omitempty"` - Am4 *test_a_2.M4 `protobuf:"bytes,4,opt,name=am4,proto3" json:"am4,omitempty"` - Bm1 *test_b_1.M1 `protobuf:"bytes,5,opt,name=bm1,proto3" json:"bm1,omitempty"` - Bm2 *test_b_1.M2 `protobuf:"bytes,6,opt,name=bm2,proto3" json:"bm2,omitempty"` - Fmt *fmt1.M `protobuf:"bytes,7,opt,name=fmt,proto3" json:"fmt,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *All) Reset() { *m = All{} } -func (m *All) String() string { return proto.CompactTextString(m) } -func (*All) ProtoMessage() {} -func (*All) Descriptor() ([]byte, []int) { - return fileDescriptor_324466f0afc16f77, []int{0} -} - -func (m *All) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_All.Unmarshal(m, b) -} -func (m *All) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_All.Marshal(b, m, deterministic) -} -func (m *All) XXX_Merge(src proto.Message) { - xxx_messageInfo_All.Merge(m, src) -} -func (m *All) XXX_Size() int { - return xxx_messageInfo_All.Size(m) -} -func (m *All) XXX_DiscardUnknown() { - xxx_messageInfo_All.DiscardUnknown(m) -} - -var xxx_messageInfo_All proto.InternalMessageInfo - -func (m *All) GetAm1() *test_a_1.M1 { - if m != nil { - return m.Am1 - } - return nil -} - -func (m *All) GetAm2() *test_a_1.M2 { - if m != nil { - return m.Am2 - } - return nil -} - -func (m *All) GetAm3() *test_a_2.M3 { - if m != nil { - return m.Am3 - } - return nil -} - -func (m *All) GetAm4() *test_a_2.M4 { - if m != nil { - return m.Am4 - } - return nil -} - -func (m *All) GetBm1() *test_b_1.M1 { - if m != nil { - return m.Bm1 - } - return nil -} - -func (m *All) GetBm2() *test_b_1.M2 { - if m != nil { - return m.Bm2 - } - return nil -} - -func (m *All) GetFmt() *fmt1.M { - if m != nil { - return m.Fmt - } - return nil -} - -func init() { - proto.RegisterType((*All)(nil), "test.All") -} - -func init() { proto.RegisterFile("imports/test_import_all.proto", fileDescriptor_324466f0afc16f77) } - -var fileDescriptor_324466f0afc16f77 = []byte{ - // 258 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0xd0, 0xb1, 0x4e, 0xc3, 0x30, - 0x10, 0x06, 0x60, 0x15, 0x97, 0x20, 0x99, 0x05, 0x85, 0xc5, 0x20, 0x90, 0x50, 0x27, 0x96, 0xda, - 0xb2, 0x9d, 0x05, 0x31, 0xc1, 0xde, 0xa5, 0x23, 0x4b, 0x64, 0x97, 0xc6, 0x54, 0xf2, 0xd5, 0x51, - 0x7a, 0x7d, 0x5e, 0x5e, 0x05, 0xd9, 0x07, 0x12, 0x84, 0x66, 0x4b, 0xfe, 0xef, 0xb7, 0xce, 0x3e, - 0x7e, 0xbf, 0x83, 0x3e, 0x0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95, 0x39, 0xa3, 0x82, 0x03, 0x02, - 0x00, 0x00, -} diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/issue780_oneof_conflict/test.pb.go b/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/issue780_oneof_conflict/test.pb.go deleted file mode 100644 index c39404e1..00000000 --- a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/issue780_oneof_conflict/test.pb.go +++ /dev/null @@ -1,103 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: issue780_oneof_conflict/test.proto - -package oneoftest - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type Foo struct { - // Types that are valid to be assigned to Bar: - // *Foo_GetBar - Bar isFoo_Bar `protobuf_oneof:"bar"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Foo) Reset() { *m = Foo{} } -func (m *Foo) String() string { return proto.CompactTextString(m) } -func (*Foo) ProtoMessage() {} -func (*Foo) Descriptor() ([]byte, []int) { - return fileDescriptor_48462cafc802a68e, []int{0} -} - -func (m *Foo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Foo.Unmarshal(m, b) -} -func (m *Foo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Foo.Marshal(b, m, deterministic) -} -func (m *Foo) XXX_Merge(src proto.Message) { - xxx_messageInfo_Foo.Merge(m, src) -} -func (m *Foo) XXX_Size() int { - return xxx_messageInfo_Foo.Size(m) -} -func (m *Foo) XXX_DiscardUnknown() { - xxx_messageInfo_Foo.DiscardUnknown(m) -} - -var xxx_messageInfo_Foo proto.InternalMessageInfo - -type isFoo_Bar interface { - isFoo_Bar() -} - -type Foo_GetBar struct { - GetBar string `protobuf:"bytes,1,opt,name=get_bar,json=getBar,oneof"` -} - -func (*Foo_GetBar) isFoo_Bar() {} - -func (m *Foo) GetBar() isFoo_Bar { - if m != nil { - return m.Bar - } - return nil -} - -func (m *Foo) GetGetBar() string { - if x, ok := m.GetBar().(*Foo_GetBar); ok { - return x.GetBar - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Foo) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Foo_GetBar)(nil), - } -} - -func init() { - proto.RegisterType((*Foo)(nil), "oneoftest.Foo") -} - -func init() { proto.RegisterFile("issue780_oneof_conflict/test.proto", fileDescriptor_48462cafc802a68e) } - -var fileDescriptor_48462cafc802a68e = []byte{ - // 107 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0xca, 0x2c, 0x2e, 0x2e, - 0x4d, 0x35, 0xb7, 0x30, 0x88, 0xcf, 0xcf, 0x4b, 0xcd, 0x4f, 0x8b, 0x4f, 0xce, 0xcf, 0x4b, 0xcb, - 0xc9, 0x4c, 0x2e, 0xd1, 0x2f, 0x49, 0x2d, 0x2e, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, - 0x04, 0x4b, 0x81, 0x04, 0x94, 0xd4, 0xb9, 0x98, 0xdd, 0xf2, 0xf3, 0x85, 0x24, 0xb9, 0xd8, 0xd3, - 0x53, 0x4b, 0xe2, 0x93, 0x12, 0x8b, 0x24, 0x18, 0x15, 0x18, 0x35, 0x38, 0x3d, 0x18, 0x82, 0xd8, - 0xd2, 0x53, 0x4b, 0x9c, 0x12, 0x8b, 0x9c, 0x58, 0xb9, 0x98, 0x93, 0x12, 0x8b, 0x00, 0x01, 0x00, - 0x00, 0xff, 0xff, 0x12, 0x66, 0x0c, 0x02, 0x58, 0x00, 0x00, 0x00, -} diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/multi/multi1.pb.go b/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/multi/multi1.pb.go deleted file mode 100644 index 6ff8dd64..00000000 --- a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/multi/multi1.pb.go +++ /dev/null @@ -1,99 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: multi/multi1.proto - -package multitest - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type Multi1 struct { - Multi2 *Multi2 `protobuf:"bytes,1,req,name=multi2" json:"multi2,omitempty"` - Color *Multi2_Color `protobuf:"varint,2,opt,name=color,enum=multitest.Multi2_Color" json:"color,omitempty"` - HatType *Multi3_HatType `protobuf:"varint,3,opt,name=hat_type,json=hatType,enum=multitest.Multi3_HatType" json:"hat_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Multi1) Reset() { *m = Multi1{} } -func (m *Multi1) String() string { return proto.CompactTextString(m) } -func (*Multi1) ProtoMessage() {} -func (*Multi1) Descriptor() ([]byte, []int) { - return fileDescriptor_e0bffc140cd1b1d9, []int{0} -} - -func (m *Multi1) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Multi1.Unmarshal(m, b) -} -func (m *Multi1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Multi1.Marshal(b, m, deterministic) -} -func (m *Multi1) XXX_Merge(src proto.Message) { - xxx_messageInfo_Multi1.Merge(m, src) -} -func (m *Multi1) XXX_Size() int { - return xxx_messageInfo_Multi1.Size(m) -} -func (m *Multi1) XXX_DiscardUnknown() { - xxx_messageInfo_Multi1.DiscardUnknown(m) -} - -var xxx_messageInfo_Multi1 proto.InternalMessageInfo - -func (m *Multi1) GetMulti2() *Multi2 { - if m != nil { - return m.Multi2 - } - return nil -} - -func (m *Multi1) GetColor() Multi2_Color { - if m != nil && m.Color != nil { - return *m.Color - } - return Multi2_BLUE -} - -func (m *Multi1) GetHatType() Multi3_HatType { - if m != nil && m.HatType != nil { - return *m.HatType - } - return Multi3_FEDORA -} - -func init() { - proto.RegisterType((*Multi1)(nil), "multitest.Multi1") -} - -func init() { proto.RegisterFile("multi/multi1.proto", fileDescriptor_e0bffc140cd1b1d9) } - -var fileDescriptor_e0bffc140cd1b1d9 = []byte{ - // 200 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0xca, 0x2d, 0xcd, 0x29, - 0xc9, 0xd4, 0x07, 0x93, 0x86, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9, 0x42, 0x9c, 0x60, 0x5e, 0x49, - 0x6a, 0x71, 0x89, 0x14, 0xb2, 0xb4, 0x11, 0x44, 0x1a, 0x45, 0xcc, 0x18, 0x22, 0xa6, 0x34, 0x83, - 0x91, 0x8b, 0xcd, 0x17, 0x6c, 0x86, 0x90, 0x26, 0x17, 0x1b, 0x44, 0xb9, 0x04, 0xa3, 0x02, 0x93, - 0x06, 0xb7, 0x91, 0xa0, 0x1e, 0xdc, 0x38, 0x3d, 0xb0, 0x12, 0xa3, 0x20, 0xa8, 0x02, 0x21, 0x5d, - 0x2e, 0xd6, 0xe4, 0xfc, 0x9c, 0xfc, 0x22, 0x09, 0x26, 0x05, 0x46, 0x0d, 0x3e, 0x23, 0x71, 0x0c, - 0x95, 0x7a, 0xce, 0x20, 0xe9, 0x20, 0x88, 0x2a, 0x21, 0x13, 0x2e, 0x8e, 0x8c, 0xc4, 0x92, 0xf8, - 0x92, 0xca, 0x82, 0x54, 0x09, 0x66, 0xb0, 0x0e, 0x49, 0x74, 0x1d, 0xc6, 0x7a, 0x1e, 0x89, 0x25, - 0x21, 0x95, 0x05, 0xa9, 0x41, 0xec, 0x19, 0x10, 0x86, 0x93, 0x73, 0x94, 0x63, 0x7a, 0x66, 0x49, - 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x7e, 0x7a, 0x7e, 0x4e, 0x62, 0x5e, 0xba, 0x3e, 0xd8, - 0xd5, 0x49, 0xa5, 0x69, 0x10, 0x46, 0xb2, 0x6e, 0x7a, 0x6a, 0x9e, 0x6e, 0x7a, 0xbe, 0x3e, 0xc8, - 0xa0, 0x94, 0xc4, 0x92, 0x44, 0x88, 0xe7, 0xac, 0xe1, 0x86, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, - 0x60, 0x7d, 0xfc, 0x9f, 0x27, 0x01, 0x00, 0x00, -} diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/multi/multi2.pb.go b/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/multi/multi2.pb.go deleted file mode 100644 index 2eb07ad1..00000000 --- a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/multi/multi2.pb.go +++ /dev/null @@ -1,135 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: multi/multi2.proto - -package multitest - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type Multi2_Color int32 - -const ( - Multi2_BLUE Multi2_Color = 1 - Multi2_GREEN Multi2_Color = 2 - Multi2_RED Multi2_Color = 3 -) - -var Multi2_Color_name = map[int32]string{ - 1: "BLUE", - 2: "GREEN", - 3: "RED", -} - -var Multi2_Color_value = map[string]int32{ - "BLUE": 1, - "GREEN": 2, - "RED": 3, -} - -func (x Multi2_Color) Enum() *Multi2_Color { - p := new(Multi2_Color) - *p = x - return p -} - -func (x Multi2_Color) String() string { - return proto.EnumName(Multi2_Color_name, int32(x)) -} - -func (x *Multi2_Color) UnmarshalJSON(data []byte) error { - value, err := proto.UnmarshalJSONEnum(Multi2_Color_value, data, "Multi2_Color") - if err != nil { - return err - } - *x = Multi2_Color(value) - return nil -} - -func (Multi2_Color) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a2aebe588a0b2853, []int{0, 0} -} - -type Multi2 struct { - RequiredValue *int32 `protobuf:"varint,1,req,name=required_value,json=requiredValue" json:"required_value,omitempty"` - Color *Multi2_Color `protobuf:"varint,2,opt,name=color,enum=multitest.Multi2_Color" json:"color,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Multi2) Reset() { *m = Multi2{} } -func (m *Multi2) String() string { return proto.CompactTextString(m) } -func (*Multi2) ProtoMessage() {} -func (*Multi2) Descriptor() ([]byte, []int) { - return fileDescriptor_a2aebe588a0b2853, []int{0} -} - -func (m *Multi2) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Multi2.Unmarshal(m, b) -} -func (m *Multi2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Multi2.Marshal(b, m, deterministic) -} -func (m *Multi2) XXX_Merge(src proto.Message) { - xxx_messageInfo_Multi2.Merge(m, src) -} -func (m *Multi2) XXX_Size() int { - return xxx_messageInfo_Multi2.Size(m) -} -func (m *Multi2) XXX_DiscardUnknown() { - xxx_messageInfo_Multi2.DiscardUnknown(m) -} - -var xxx_messageInfo_Multi2 proto.InternalMessageInfo - -func (m *Multi2) GetRequiredValue() int32 { - if m != nil && m.RequiredValue != nil { - return *m.RequiredValue - } - return 0 -} - -func (m *Multi2) GetColor() Multi2_Color { - if m != nil && m.Color != nil { - return *m.Color - } - return Multi2_BLUE -} - -func init() { - proto.RegisterEnum("multitest.Multi2_Color", Multi2_Color_name, Multi2_Color_value) - proto.RegisterType((*Multi2)(nil), "multitest.Multi2") -} - -func init() { proto.RegisterFile("multi/multi2.proto", fileDescriptor_a2aebe588a0b2853) } - -var fileDescriptor_a2aebe588a0b2853 = []byte{ - // 202 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0xca, 0x2d, 0xcd, 0x29, - 0xc9, 0xd4, 0x07, 0x93, 0x46, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9, 0x42, 0x9c, 0x60, 0x5e, 0x49, - 0x6a, 0x71, 0x89, 0x52, 0x2b, 0x23, 0x17, 0x9b, 0x2f, 0x58, 0x4e, 0x48, 0x95, 0x8b, 0xaf, 0x28, - 0xb5, 0xb0, 0x34, 0xb3, 0x28, 0x35, 0x25, 0xbe, 0x2c, 0x31, 0xa7, 0x34, 0x55, 0x82, 0x51, 0x81, - 0x49, 0x83, 0x35, 0x88, 0x17, 0x26, 0x1a, 0x06, 0x12, 0x14, 0xd2, 0xe5, 0x62, 0x4d, 0xce, 0xcf, - 0xc9, 0x2f, 0x92, 0x60, 0x52, 0x60, 0xd4, 0xe0, 0x33, 0x12, 0xd7, 0x83, 0x1b, 0xa6, 0x07, 0x31, - 0x48, 0xcf, 0x19, 0x24, 0x1d, 0x04, 0x51, 0xa5, 0xa4, 0xca, 0xc5, 0x0a, 0xe6, 0x0b, 0x71, 0x70, - 0xb1, 0x38, 0xf9, 0x84, 0xba, 0x0a, 0x30, 0x0a, 0x71, 0x72, 0xb1, 0xba, 0x07, 0xb9, 0xba, 0xfa, - 0x09, 0x30, 0x09, 0xb1, 0x73, 0x31, 0x07, 0xb9, 0xba, 0x08, 0x30, 0x3b, 0x39, 0x47, 0x39, 0xa6, - 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0xa7, 0xe7, 0xe7, 0x24, 0xe6, 0xa5, - 0xeb, 0x83, 0x5d, 0x9b, 0x54, 0x9a, 0x06, 0x61, 0x24, 0xeb, 0xa6, 0xa7, 0xe6, 0xe9, 0xa6, 0xe7, - 0xeb, 0x83, 0xec, 0x4a, 0x49, 0x2c, 0x49, 0x84, 0x78, 0xca, 0x1a, 0x6e, 0x3f, 0x20, 0x00, 0x00, - 0xff, 0xff, 0x49, 0x3b, 0x52, 0x44, 0xec, 0x00, 0x00, 0x00, -} diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/multi/multi3.pb.go b/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/multi/multi3.pb.go deleted file mode 100644 index 9fb771f5..00000000 --- a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/multi/multi3.pb.go +++ /dev/null @@ -1,122 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: multi/multi3.proto - -package multitest - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type Multi3_HatType int32 - -const ( - Multi3_FEDORA Multi3_HatType = 1 - Multi3_FEZ Multi3_HatType = 2 -) - -var Multi3_HatType_name = map[int32]string{ - 1: "FEDORA", - 2: "FEZ", -} - -var Multi3_HatType_value = map[string]int32{ - "FEDORA": 1, - "FEZ": 2, -} - -func (x Multi3_HatType) Enum() *Multi3_HatType { - p := new(Multi3_HatType) - *p = x - return p -} - -func (x Multi3_HatType) String() string { - return proto.EnumName(Multi3_HatType_name, int32(x)) -} - -func (x *Multi3_HatType) UnmarshalJSON(data []byte) error { - value, err := proto.UnmarshalJSONEnum(Multi3_HatType_value, data, "Multi3_HatType") - if err != nil { - return err - } - *x = Multi3_HatType(value) - return nil -} - -func (Multi3_HatType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_580398fc0bbeeaa7, []int{0, 0} -} - -type Multi3 struct { - HatType *Multi3_HatType `protobuf:"varint,1,opt,name=hat_type,json=hatType,enum=multitest.Multi3_HatType" json:"hat_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Multi3) Reset() { *m = Multi3{} } -func (m *Multi3) String() string { return proto.CompactTextString(m) } -func (*Multi3) ProtoMessage() {} -func (*Multi3) Descriptor() ([]byte, []int) { - return fileDescriptor_580398fc0bbeeaa7, []int{0} -} - -func (m *Multi3) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Multi3.Unmarshal(m, b) -} -func (m *Multi3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Multi3.Marshal(b, m, deterministic) -} -func (m *Multi3) XXX_Merge(src proto.Message) { - xxx_messageInfo_Multi3.Merge(m, src) -} -func (m *Multi3) XXX_Size() int { - return xxx_messageInfo_Multi3.Size(m) -} -func (m *Multi3) XXX_DiscardUnknown() { - xxx_messageInfo_Multi3.DiscardUnknown(m) -} - -var xxx_messageInfo_Multi3 proto.InternalMessageInfo - -func (m *Multi3) GetHatType() Multi3_HatType { - if m != nil && m.HatType != nil { - return *m.HatType - } - return Multi3_FEDORA -} - -func init() { - proto.RegisterEnum("multitest.Multi3_HatType", Multi3_HatType_name, Multi3_HatType_value) - proto.RegisterType((*Multi3)(nil), "multitest.Multi3") -} - -func init() { proto.RegisterFile("multi/multi3.proto", fileDescriptor_580398fc0bbeeaa7) } - -var fileDescriptor_580398fc0bbeeaa7 = []byte{ - // 170 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0xca, 0x2d, 0xcd, 0x29, - 0xc9, 0xd4, 0x07, 0x93, 0xc6, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9, 0x42, 0x9c, 0x60, 0x5e, 0x49, - 0x6a, 0x71, 0x89, 0x52, 0x1c, 0x17, 0x9b, 0x2f, 0x58, 0x4a, 0xc8, 0x84, 0x8b, 0x23, 0x23, 0xb1, - 0x24, 0xbe, 0xa4, 0xb2, 0x20, 0x55, 0x82, 0x51, 0x81, 0x51, 0x83, 0xcf, 0x48, 0x52, 0x0f, 0xae, - 0x4e, 0x0f, 0xa2, 0x48, 0xcf, 0x23, 0xb1, 0x24, 0xa4, 0xb2, 0x20, 0x35, 0x88, 0x3d, 0x03, 0xc2, - 0x50, 0x92, 0xe3, 0x62, 0x87, 0x8a, 0x09, 0x71, 0x71, 0xb1, 0xb9, 0xb9, 0xba, 0xf8, 0x07, 0x39, - 0x0a, 0x30, 0x0a, 0xb1, 0x73, 0x31, 0xbb, 0xb9, 0x46, 0x09, 0x30, 0x39, 0x39, 0x47, 0x39, 0xa6, - 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0xa7, 0xe7, 0xe7, 0x24, 0xe6, 0xa5, - 0xeb, 0x83, 0x5d, 0x91, 0x54, 0x9a, 0x06, 0x61, 0x24, 0xeb, 0xa6, 0xa7, 0xe6, 0xe9, 0xa6, 0xe7, - 0xeb, 0x83, 0x2c, 0x4a, 0x49, 0x2c, 0x49, 0x84, 0x38, 0xd6, 0x1a, 0x6e, 0x39, 0x20, 0x00, 0x00, - 0xff, 0xff, 0xd5, 0xa4, 0x1a, 0x0e, 0xc4, 0x00, 0x00, 0x00, -} diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/my_test/test.pb.go b/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/my_test/test.pb.go deleted file mode 100644 index 92d456bd..00000000 --- a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/my_test/test.pb.go +++ /dev/null @@ -1,1100 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: my_test/test.proto - -// This package holds interesting messages. - -package test - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/protoc-gen-go/testdata/multi" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type HatType int32 - -const ( - // deliberately skipping 0 - HatType_FEDORA HatType = 1 - HatType_FEZ HatType = 2 -) - -var HatType_name = map[int32]string{ - 1: "FEDORA", - 2: "FEZ", -} - -var HatType_value = map[string]int32{ - "FEDORA": 1, - "FEZ": 2, -} - -func (x HatType) Enum() *HatType { - p := new(HatType) - *p = x - return p -} - -func (x HatType) String() string { - return proto.EnumName(HatType_name, int32(x)) -} - -func (x *HatType) UnmarshalJSON(data []byte) error { - value, err := proto.UnmarshalJSONEnum(HatType_value, data, "HatType") - if err != nil { - return err - } - *x = HatType(value) - return nil -} - -func (HatType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2c9b60a40d5131b9, []int{0} -} - -// This enum represents days of the week. -type Days int32 - -const ( - Days_MONDAY Days = 1 - Days_TUESDAY Days = 2 - Days_LUNDI Days = 1 -) - -var Days_name = map[int32]string{ - 1: "MONDAY", - 2: "TUESDAY", - // Duplicate value: 1: "LUNDI", -} - -var Days_value = map[string]int32{ - "MONDAY": 1, - "TUESDAY": 2, - "LUNDI": 1, -} - -func (x Days) Enum() *Days { - p := new(Days) - *p = x - return p -} - -func (x Days) String() string { - return proto.EnumName(Days_name, int32(x)) -} - -func (x *Days) UnmarshalJSON(data []byte) error { - value, err := proto.UnmarshalJSONEnum(Days_value, data, "Days") - if err != nil { - return err - } - *x = Days(value) - return nil -} - -func (Days) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2c9b60a40d5131b9, []int{1} -} - -type Request_Color int32 - -const ( - Request_RED Request_Color = 0 - Request_GREEN Request_Color = 1 - Request_BLUE Request_Color = 2 -) - -var Request_Color_name = map[int32]string{ - 0: "RED", - 1: "GREEN", - 2: "BLUE", -} - -var Request_Color_value = map[string]int32{ - "RED": 0, - "GREEN": 1, - "BLUE": 2, -} - -func (x Request_Color) Enum() *Request_Color { - p := new(Request_Color) - *p = x - return p -} - -func (x Request_Color) String() string { - return proto.EnumName(Request_Color_name, int32(x)) -} - -func (x *Request_Color) UnmarshalJSON(data []byte) error { - value, err := proto.UnmarshalJSONEnum(Request_Color_value, data, "Request_Color") - if err != nil { - return err - } - *x = Request_Color(value) - return nil -} - -func (Request_Color) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2c9b60a40d5131b9, []int{0, 0} -} - -type Reply_Entry_Game int32 - -const ( - Reply_Entry_FOOTBALL Reply_Entry_Game = 1 - Reply_Entry_TENNIS Reply_Entry_Game = 2 -) - -var Reply_Entry_Game_name = map[int32]string{ - 1: "FOOTBALL", - 2: "TENNIS", -} - -var Reply_Entry_Game_value = map[string]int32{ - "FOOTBALL": 1, - "TENNIS": 2, -} - -func (x Reply_Entry_Game) Enum() *Reply_Entry_Game { - p := new(Reply_Entry_Game) - *p = x - return p -} - -func (x Reply_Entry_Game) String() string { - return proto.EnumName(Reply_Entry_Game_name, int32(x)) -} - -func (x *Reply_Entry_Game) UnmarshalJSON(data []byte) error { - value, err := proto.UnmarshalJSONEnum(Reply_Entry_Game_value, data, "Reply_Entry_Game") - if err != nil { - return err - } - *x = Reply_Entry_Game(value) - return nil -} - -func (Reply_Entry_Game) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2c9b60a40d5131b9, []int{1, 0, 0} -} - -// This is a message that might be sent somewhere. -type Request struct { - Key []int64 `protobuf:"varint,1,rep,name=key" json:"key,omitempty"` - // optional imp.ImportedMessage imported_message = 2; - Hue *Request_Color `protobuf:"varint,3,opt,name=hue,enum=my.test.Request_Color" json:"hue,omitempty"` - Hat *HatType `protobuf:"varint,4,opt,name=hat,enum=my.test.HatType,def=1" json:"hat,omitempty"` - // optional imp.ImportedMessage.Owner owner = 6; - Deadline *float32 `protobuf:"fixed32,7,opt,name=deadline,def=inf" json:"deadline,omitempty"` - Somegroup *Request_SomeGroup `protobuf:"group,8,opt,name=SomeGroup,json=somegroup" json:"somegroup,omitempty"` - // This is a map field. It will generate map[int32]string. - NameMapping map[int32]string `protobuf:"bytes,14,rep,name=name_mapping,json=nameMapping" json:"name_mapping,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - // This is a map field whose value type is a message. - MsgMapping map[int64]*Reply `protobuf:"bytes,15,rep,name=msg_mapping,json=msgMapping" json:"msg_mapping,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - Reset_ *int32 `protobuf:"varint,12,opt,name=reset" json:"reset,omitempty"` - // This field should not conflict with any getters. - GetKey_ *string `protobuf:"bytes,16,opt,name=get_key,json=getKey" json:"get_key,omitempty"` - FloatNinf *float32 `protobuf:"fixed32,20,opt,name=float_ninf,json=floatNinf,def=-inf" json:"float_ninf,omitempty"` - FloatPinf *float32 `protobuf:"fixed32,21,opt,name=float_pinf,json=floatPinf,def=inf" json:"float_pinf,omitempty"` - FloatExp *float32 `protobuf:"fixed32,22,opt,name=float_exp,json=floatExp,def=1e+09" json:"float_exp,omitempty"` - DoubleNinf *float64 `protobuf:"fixed64,23,opt,name=double_ninf,json=doubleNinf,def=-inf" json:"double_ninf,omitempty"` - DoublePinf *float64 `protobuf:"fixed64,24,opt,name=double_pinf,json=doublePinf,def=inf" json:"double_pinf,omitempty"` - DoubleExp *float64 `protobuf:"fixed64,25,opt,name=double_exp,json=doubleExp,def=1e+09" json:"double_exp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2c9b60a40d5131b9, []int{0} -} - -func (m *Request) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Request.Unmarshal(m, b) -} -func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Request.Marshal(b, m, deterministic) -} -func (m *Request) XXX_Merge(src proto.Message) { - xxx_messageInfo_Request.Merge(m, src) -} -func (m *Request) XXX_Size() int { - return xxx_messageInfo_Request.Size(m) -} -func (m *Request) XXX_DiscardUnknown() { - xxx_messageInfo_Request.DiscardUnknown(m) -} - -var xxx_messageInfo_Request proto.InternalMessageInfo - -const Default_Request_Hat HatType = HatType_FEDORA - -var Default_Request_Deadline float32 = float32(math.Inf(1)) -var Default_Request_FloatNinf float32 = float32(math.Inf(-1)) -var Default_Request_FloatPinf float32 = float32(math.Inf(1)) - -const Default_Request_FloatExp float32 = 1e+09 - -var Default_Request_DoubleNinf float64 = math.Inf(-1) -var Default_Request_DoublePinf float64 = math.Inf(1) - -const Default_Request_DoubleExp float64 = 1e+09 - -func (m *Request) GetKey() []int64 { - if m != nil { - return m.Key - } - return nil -} - -func (m *Request) GetHue() Request_Color { - if m != nil && m.Hue != nil { - return *m.Hue - } - return Request_RED -} - -func (m *Request) GetHat() HatType { - if m != nil && m.Hat != nil { - return *m.Hat - } - return Default_Request_Hat -} - -func (m *Request) GetDeadline() float32 { - if m != nil && m.Deadline != nil { - return *m.Deadline - } - return Default_Request_Deadline -} - -func (m *Request) GetSomegroup() *Request_SomeGroup { - if m != nil { - return m.Somegroup - } - return nil -} - -func (m *Request) GetNameMapping() map[int32]string { - if m != nil { - return m.NameMapping - } - return nil -} - -func (m *Request) GetMsgMapping() map[int64]*Reply { - if m != nil { - return m.MsgMapping - } - return nil -} - -func (m *Request) GetReset_() int32 { - if m != nil && m.Reset_ != nil { - return *m.Reset_ - } - return 0 -} - -func (m *Request) GetGetKey_() string { - if m != nil && m.GetKey_ != nil { - return *m.GetKey_ - } - return "" -} - -func (m *Request) GetFloatNinf() float32 { - if m != nil && m.FloatNinf != nil { - return *m.FloatNinf - } - return Default_Request_FloatNinf -} - -func (m *Request) GetFloatPinf() float32 { - if m != nil && m.FloatPinf != nil { - return *m.FloatPinf - } - return Default_Request_FloatPinf -} - -func (m *Request) GetFloatExp() float32 { - if m != nil && m.FloatExp != nil { - return *m.FloatExp - } - return Default_Request_FloatExp -} - -func (m *Request) GetDoubleNinf() float64 { - if m != nil && m.DoubleNinf != nil { - return *m.DoubleNinf - } - return Default_Request_DoubleNinf -} - -func (m *Request) GetDoublePinf() float64 { - if m != nil && m.DoublePinf != nil { - return *m.DoublePinf - } - return Default_Request_DoublePinf -} - -func (m *Request) GetDoubleExp() float64 { - if m != nil && m.DoubleExp != nil { - return *m.DoubleExp - } - return Default_Request_DoubleExp -} - -type Request_SomeGroup struct { - GroupField *int32 `protobuf:"varint,9,opt,name=group_field,json=groupField" json:"group_field,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Request_SomeGroup) Reset() { *m = Request_SomeGroup{} } -func (m *Request_SomeGroup) String() string { return proto.CompactTextString(m) } -func (*Request_SomeGroup) ProtoMessage() {} -func (*Request_SomeGroup) Descriptor() ([]byte, []int) { - return fileDescriptor_2c9b60a40d5131b9, []int{0, 0} -} - -func (m *Request_SomeGroup) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Request_SomeGroup.Unmarshal(m, b) -} -func (m *Request_SomeGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Request_SomeGroup.Marshal(b, m, deterministic) -} -func (m *Request_SomeGroup) XXX_Merge(src proto.Message) { - xxx_messageInfo_Request_SomeGroup.Merge(m, src) -} -func (m *Request_SomeGroup) XXX_Size() int { - return xxx_messageInfo_Request_SomeGroup.Size(m) -} -func (m *Request_SomeGroup) XXX_DiscardUnknown() { - xxx_messageInfo_Request_SomeGroup.DiscardUnknown(m) -} - -var xxx_messageInfo_Request_SomeGroup proto.InternalMessageInfo - -func (m *Request_SomeGroup) GetGroupField() int32 { - if m != nil && m.GroupField != nil { - return *m.GroupField - } - return 0 -} - -type Reply struct { - Found []*Reply_Entry `protobuf:"bytes,1,rep,name=found" json:"found,omitempty"` - CompactKeys []int32 `protobuf:"varint,2,rep,packed,name=compact_keys,json=compactKeys" json:"compact_keys,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - proto.XXX_InternalExtensions `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Reply) Reset() { *m = Reply{} } -func (m *Reply) String() string { return proto.CompactTextString(m) } -func (*Reply) ProtoMessage() {} -func (*Reply) Descriptor() ([]byte, []int) { - return fileDescriptor_2c9b60a40d5131b9, []int{1} -} - -var extRange_Reply = []proto.ExtensionRange{ - {Start: 100, End: 536870911}, -} - -func (*Reply) ExtensionRangeArray() []proto.ExtensionRange { - return extRange_Reply -} - -func (m *Reply) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Reply.Unmarshal(m, b) -} -func (m *Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Reply.Marshal(b, m, deterministic) -} -func (m *Reply) XXX_Merge(src proto.Message) { - xxx_messageInfo_Reply.Merge(m, src) -} -func (m *Reply) XXX_Size() int { - return xxx_messageInfo_Reply.Size(m) -} -func (m *Reply) XXX_DiscardUnknown() { - xxx_messageInfo_Reply.DiscardUnknown(m) -} - -var xxx_messageInfo_Reply proto.InternalMessageInfo - -func (m *Reply) GetFound() []*Reply_Entry { - if m != nil { - return m.Found - } - return nil -} - -func (m *Reply) GetCompactKeys() []int32 { - if m != nil { - return m.CompactKeys - } - return nil -} - -type Reply_Entry struct { - KeyThatNeeds_1234Camel_CasIng *int64 `protobuf:"varint,1,req,name=key_that_needs_1234camel_CasIng,json=keyThatNeeds1234camelCasIng" json:"key_that_needs_1234camel_CasIng,omitempty"` - Value *int64 `protobuf:"varint,2,opt,name=value,def=7" json:"value,omitempty"` - XMyFieldName_2 *int64 `protobuf:"varint,3,opt,name=_my_field_name_2,json=MyFieldName2" json:"_my_field_name_2,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Reply_Entry) Reset() { *m = Reply_Entry{} } -func (m *Reply_Entry) String() string { return proto.CompactTextString(m) } -func (*Reply_Entry) ProtoMessage() {} -func (*Reply_Entry) Descriptor() ([]byte, []int) { - return fileDescriptor_2c9b60a40d5131b9, []int{1, 0} -} - -func (m *Reply_Entry) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Reply_Entry.Unmarshal(m, b) -} -func (m *Reply_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Reply_Entry.Marshal(b, m, deterministic) -} -func (m *Reply_Entry) XXX_Merge(src proto.Message) { - xxx_messageInfo_Reply_Entry.Merge(m, src) -} -func (m *Reply_Entry) XXX_Size() int { - return xxx_messageInfo_Reply_Entry.Size(m) -} -func (m *Reply_Entry) XXX_DiscardUnknown() { - xxx_messageInfo_Reply_Entry.DiscardUnknown(m) -} - -var xxx_messageInfo_Reply_Entry proto.InternalMessageInfo - -const Default_Reply_Entry_Value int64 = 7 - -func (m *Reply_Entry) GetKeyThatNeeds_1234Camel_CasIng() int64 { - if m != nil && m.KeyThatNeeds_1234Camel_CasIng != nil { - return *m.KeyThatNeeds_1234Camel_CasIng - } - return 0 -} - -func (m *Reply_Entry) GetValue() int64 { - if m != nil && m.Value != nil { - return *m.Value - } - return Default_Reply_Entry_Value -} - -func (m *Reply_Entry) GetXMyFieldName_2() int64 { - if m != nil && m.XMyFieldName_2 != nil { - return *m.XMyFieldName_2 - } - return 0 -} - -type OtherBase struct { - Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - proto.XXX_InternalExtensions `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OtherBase) Reset() { *m = OtherBase{} } -func (m *OtherBase) String() string { return proto.CompactTextString(m) } -func (*OtherBase) ProtoMessage() {} -func (*OtherBase) Descriptor() ([]byte, []int) { - return fileDescriptor_2c9b60a40d5131b9, []int{2} -} - -var extRange_OtherBase = []proto.ExtensionRange{ - {Start: 100, End: 536870911}, -} - -func (*OtherBase) ExtensionRangeArray() []proto.ExtensionRange { - return extRange_OtherBase -} - -func (m *OtherBase) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OtherBase.Unmarshal(m, b) -} -func (m *OtherBase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OtherBase.Marshal(b, m, deterministic) -} -func (m *OtherBase) XXX_Merge(src proto.Message) { - xxx_messageInfo_OtherBase.Merge(m, src) -} -func (m *OtherBase) XXX_Size() int { - return xxx_messageInfo_OtherBase.Size(m) -} -func (m *OtherBase) XXX_DiscardUnknown() { - xxx_messageInfo_OtherBase.DiscardUnknown(m) -} - -var xxx_messageInfo_OtherBase proto.InternalMessageInfo - -func (m *OtherBase) GetName() string { - if m != nil && m.Name != nil { - return *m.Name - } - return "" -} - -type ReplyExtensions struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ReplyExtensions) Reset() { *m = ReplyExtensions{} } -func (m *ReplyExtensions) String() string { return proto.CompactTextString(m) } -func (*ReplyExtensions) ProtoMessage() {} -func (*ReplyExtensions) Descriptor() ([]byte, []int) { - return fileDescriptor_2c9b60a40d5131b9, []int{3} -} - -func (m *ReplyExtensions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReplyExtensions.Unmarshal(m, b) -} -func (m *ReplyExtensions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReplyExtensions.Marshal(b, m, deterministic) -} -func (m *ReplyExtensions) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReplyExtensions.Merge(m, src) -} -func (m *ReplyExtensions) XXX_Size() int { - return xxx_messageInfo_ReplyExtensions.Size(m) -} -func (m *ReplyExtensions) XXX_DiscardUnknown() { - xxx_messageInfo_ReplyExtensions.DiscardUnknown(m) -} - -var xxx_messageInfo_ReplyExtensions proto.InternalMessageInfo - -var E_ReplyExtensions_Time = &proto.ExtensionDesc{ - ExtendedType: (*Reply)(nil), - ExtensionType: (*float64)(nil), - Field: 101, - Name: "my.test.ReplyExtensions.time", - Tag: "fixed64,101,opt,name=time", - Filename: "my_test/test.proto", -} - -var E_ReplyExtensions_Carrot = &proto.ExtensionDesc{ - ExtendedType: (*Reply)(nil), - ExtensionType: (*ReplyExtensions)(nil), - Field: 105, - Name: "my.test.ReplyExtensions.carrot", - Tag: "bytes,105,opt,name=carrot", - Filename: "my_test/test.proto", -} - -var E_ReplyExtensions_Donut = &proto.ExtensionDesc{ - ExtendedType: (*OtherBase)(nil), - ExtensionType: (*ReplyExtensions)(nil), - Field: 101, - Name: "my.test.ReplyExtensions.donut", - Tag: "bytes,101,opt,name=donut", - Filename: "my_test/test.proto", -} - -type OtherReplyExtensions struct { - Key *int32 `protobuf:"varint,1,opt,name=key" json:"key,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OtherReplyExtensions) Reset() { *m = OtherReplyExtensions{} } -func (m *OtherReplyExtensions) String() string { return proto.CompactTextString(m) } -func (*OtherReplyExtensions) ProtoMessage() {} -func (*OtherReplyExtensions) Descriptor() ([]byte, []int) { - return fileDescriptor_2c9b60a40d5131b9, []int{4} -} - -func (m *OtherReplyExtensions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OtherReplyExtensions.Unmarshal(m, b) -} -func (m *OtherReplyExtensions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OtherReplyExtensions.Marshal(b, m, deterministic) -} -func (m *OtherReplyExtensions) XXX_Merge(src proto.Message) { - xxx_messageInfo_OtherReplyExtensions.Merge(m, src) -} -func (m *OtherReplyExtensions) XXX_Size() int { - return xxx_messageInfo_OtherReplyExtensions.Size(m) -} -func (m *OtherReplyExtensions) XXX_DiscardUnknown() { - xxx_messageInfo_OtherReplyExtensions.DiscardUnknown(m) -} - -var xxx_messageInfo_OtherReplyExtensions proto.InternalMessageInfo - -func (m *OtherReplyExtensions) GetKey() int32 { - if m != nil && m.Key != nil { - return *m.Key - } - return 0 -} - -type OldReply struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - proto.XXX_InternalExtensions `protobuf_messageset:"1" json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OldReply) Reset() { *m = OldReply{} } -func (m *OldReply) String() string { return proto.CompactTextString(m) } -func (*OldReply) ProtoMessage() {} -func (*OldReply) Descriptor() ([]byte, []int) { - return fileDescriptor_2c9b60a40d5131b9, []int{5} -} - -var extRange_OldReply = []proto.ExtensionRange{ - {Start: 100, End: 2147483646}, -} - -func (*OldReply) ExtensionRangeArray() []proto.ExtensionRange { - return extRange_OldReply -} - -func (m *OldReply) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OldReply.Unmarshal(m, b) -} -func (m *OldReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OldReply.Marshal(b, m, deterministic) -} -func (m *OldReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_OldReply.Merge(m, src) -} -func (m *OldReply) XXX_Size() int { - return xxx_messageInfo_OldReply.Size(m) -} -func (m *OldReply) XXX_DiscardUnknown() { - xxx_messageInfo_OldReply.DiscardUnknown(m) -} - -var xxx_messageInfo_OldReply proto.InternalMessageInfo - -type Communique struct { - MakeMeCry *bool `protobuf:"varint,1,opt,name=make_me_cry,json=makeMeCry" json:"make_me_cry,omitempty"` - // This is a oneof, called "union". - // - // Types that are valid to be assigned to Union: - // *Communique_Number - // *Communique_Name - // *Communique_Data - // *Communique_TempC - // *Communique_Height - // *Communique_Today - // *Communique_Maybe - // *Communique_Delta_ - // *Communique_Msg - // *Communique_Somegroup - Union isCommunique_Union `protobuf_oneof:"union"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Communique) Reset() { *m = Communique{} } -func (m *Communique) String() string { return proto.CompactTextString(m) } -func (*Communique) ProtoMessage() {} -func (*Communique) Descriptor() ([]byte, []int) { - return fileDescriptor_2c9b60a40d5131b9, []int{6} -} - -func (m *Communique) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Communique.Unmarshal(m, b) -} -func (m *Communique) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Communique.Marshal(b, m, deterministic) -} -func (m *Communique) XXX_Merge(src proto.Message) { - xxx_messageInfo_Communique.Merge(m, src) -} -func (m *Communique) XXX_Size() int { - return xxx_messageInfo_Communique.Size(m) -} -func (m *Communique) XXX_DiscardUnknown() { - xxx_messageInfo_Communique.DiscardUnknown(m) -} - -var xxx_messageInfo_Communique proto.InternalMessageInfo - -func (m *Communique) GetMakeMeCry() bool { - if m != nil && m.MakeMeCry != nil { - return *m.MakeMeCry - } - return false -} - -type isCommunique_Union interface { - isCommunique_Union() -} - -type Communique_Number struct { - Number int32 `protobuf:"varint,5,opt,name=number,oneof"` -} - -type Communique_Name struct { - Name string `protobuf:"bytes,6,opt,name=name,oneof"` -} - -type Communique_Data struct { - Data []byte `protobuf:"bytes,7,opt,name=data,oneof"` -} - -type Communique_TempC struct { - TempC float64 `protobuf:"fixed64,8,opt,name=temp_c,json=tempC,oneof"` -} - -type Communique_Height struct { - Height float32 `protobuf:"fixed32,9,opt,name=height,oneof"` -} - -type Communique_Today struct { - Today Days `protobuf:"varint,10,opt,name=today,enum=my.test.Days,oneof"` -} - -type Communique_Maybe struct { - Maybe bool `protobuf:"varint,11,opt,name=maybe,oneof"` -} - -type Communique_Delta_ struct { - Delta int32 `protobuf:"zigzag32,12,opt,name=delta,oneof"` -} - -type Communique_Msg struct { - Msg *Reply `protobuf:"bytes,16,opt,name=msg,oneof"` -} - -type Communique_Somegroup struct { - Somegroup *Communique_SomeGroup `protobuf:"group,14,opt,name=SomeGroup,json=somegroup,oneof"` -} - -func (*Communique_Number) isCommunique_Union() {} - -func (*Communique_Name) isCommunique_Union() {} - -func (*Communique_Data) isCommunique_Union() {} - -func (*Communique_TempC) isCommunique_Union() {} - -func (*Communique_Height) isCommunique_Union() {} - -func (*Communique_Today) isCommunique_Union() {} - -func (*Communique_Maybe) isCommunique_Union() {} - -func (*Communique_Delta_) isCommunique_Union() {} - -func (*Communique_Msg) isCommunique_Union() {} - -func (*Communique_Somegroup) isCommunique_Union() {} - -func (m *Communique) GetUnion() isCommunique_Union { - if m != nil { - return m.Union - } - return nil -} - -func (m *Communique) GetNumber() int32 { - if x, ok := m.GetUnion().(*Communique_Number); ok { - return x.Number - } - return 0 -} - -func (m *Communique) GetName() string { - if x, ok := m.GetUnion().(*Communique_Name); ok { - return x.Name - } - return "" -} - -func (m *Communique) GetData() []byte { - if x, ok := m.GetUnion().(*Communique_Data); ok { - return x.Data - } - return nil -} - -func (m *Communique) GetTempC() float64 { - if x, ok := m.GetUnion().(*Communique_TempC); ok { - return x.TempC - } - return 0 -} - -func (m *Communique) GetHeight() float32 { - if x, ok := m.GetUnion().(*Communique_Height); ok { - return x.Height - } - return 0 -} - -func (m *Communique) GetToday() Days { - if x, ok := m.GetUnion().(*Communique_Today); ok { - return x.Today - } - return Days_MONDAY -} - -func (m *Communique) GetMaybe() bool { - if x, ok := m.GetUnion().(*Communique_Maybe); ok { - return x.Maybe - } - return false -} - -func (m *Communique) GetDelta() int32 { - if x, ok := m.GetUnion().(*Communique_Delta_); ok { - return x.Delta - } - return 0 -} - -func (m *Communique) GetMsg() *Reply { - if x, ok := m.GetUnion().(*Communique_Msg); ok { - return x.Msg - } - return nil -} - -func (m *Communique) GetSomegroup() *Communique_SomeGroup { - if x, ok := m.GetUnion().(*Communique_Somegroup); ok { - return x.Somegroup - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Communique) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Communique_Number)(nil), - (*Communique_Name)(nil), - (*Communique_Data)(nil), - (*Communique_TempC)(nil), - (*Communique_Height)(nil), - (*Communique_Today)(nil), - (*Communique_Maybe)(nil), - (*Communique_Delta_)(nil), - (*Communique_Msg)(nil), - (*Communique_Somegroup)(nil), - } -} - -type Communique_SomeGroup struct { - Member *string `protobuf:"bytes,15,opt,name=member" json:"member,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Communique_SomeGroup) Reset() { *m = Communique_SomeGroup{} } -func (m *Communique_SomeGroup) String() string { return proto.CompactTextString(m) } -func (*Communique_SomeGroup) ProtoMessage() {} -func (*Communique_SomeGroup) Descriptor() ([]byte, []int) { - return fileDescriptor_2c9b60a40d5131b9, []int{6, 0} -} - -func (m *Communique_SomeGroup) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Communique_SomeGroup.Unmarshal(m, b) -} -func (m *Communique_SomeGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Communique_SomeGroup.Marshal(b, m, deterministic) -} -func (m *Communique_SomeGroup) XXX_Merge(src proto.Message) { - xxx_messageInfo_Communique_SomeGroup.Merge(m, src) -} -func (m *Communique_SomeGroup) XXX_Size() int { - return xxx_messageInfo_Communique_SomeGroup.Size(m) -} -func (m *Communique_SomeGroup) XXX_DiscardUnknown() { - xxx_messageInfo_Communique_SomeGroup.DiscardUnknown(m) -} - -var xxx_messageInfo_Communique_SomeGroup proto.InternalMessageInfo - -func (m *Communique_SomeGroup) GetMember() string { - if m != nil && m.Member != nil { - return *m.Member - } - return "" -} - -type Communique_Delta struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Communique_Delta) Reset() { *m = Communique_Delta{} } -func (m *Communique_Delta) String() string { return proto.CompactTextString(m) } -func (*Communique_Delta) ProtoMessage() {} -func (*Communique_Delta) Descriptor() ([]byte, []int) { - return fileDescriptor_2c9b60a40d5131b9, []int{6, 1} -} - -func (m *Communique_Delta) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Communique_Delta.Unmarshal(m, b) -} -func (m *Communique_Delta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Communique_Delta.Marshal(b, m, deterministic) -} -func (m *Communique_Delta) XXX_Merge(src proto.Message) { - xxx_messageInfo_Communique_Delta.Merge(m, src) -} -func (m *Communique_Delta) XXX_Size() int { - return xxx_messageInfo_Communique_Delta.Size(m) -} -func (m *Communique_Delta) XXX_DiscardUnknown() { - xxx_messageInfo_Communique_Delta.DiscardUnknown(m) -} - -var xxx_messageInfo_Communique_Delta proto.InternalMessageInfo - -var E_Tag = &proto.ExtensionDesc{ - ExtendedType: (*Reply)(nil), - ExtensionType: (*string)(nil), - Field: 103, - Name: "my.test.tag", - Tag: "bytes,103,opt,name=tag", - Filename: "my_test/test.proto", -} - -var E_Donut = &proto.ExtensionDesc{ - ExtendedType: (*Reply)(nil), - ExtensionType: (*OtherReplyExtensions)(nil), - Field: 106, - Name: "my.test.donut", - Tag: "bytes,106,opt,name=donut", - Filename: "my_test/test.proto", -} - -func init() { - proto.RegisterEnum("my.test.HatType", HatType_name, HatType_value) - proto.RegisterEnum("my.test.Days", Days_name, Days_value) - proto.RegisterEnum("my.test.Request_Color", Request_Color_name, Request_Color_value) - proto.RegisterEnum("my.test.Reply_Entry_Game", Reply_Entry_Game_name, Reply_Entry_Game_value) - proto.RegisterType((*Request)(nil), "my.test.Request") - proto.RegisterMapType((map[int64]*Reply)(nil), "my.test.Request.MsgMappingEntry") - proto.RegisterMapType((map[int32]string)(nil), "my.test.Request.NameMappingEntry") - proto.RegisterType((*Request_SomeGroup)(nil), "my.test.Request.SomeGroup") - proto.RegisterType((*Reply)(nil), "my.test.Reply") - proto.RegisterType((*Reply_Entry)(nil), "my.test.Reply.Entry") - proto.RegisterType((*OtherBase)(nil), "my.test.OtherBase") - proto.RegisterExtension(E_ReplyExtensions_Time) - proto.RegisterExtension(E_ReplyExtensions_Carrot) - proto.RegisterExtension(E_ReplyExtensions_Donut) - proto.RegisterType((*ReplyExtensions)(nil), "my.test.ReplyExtensions") - proto.RegisterType((*OtherReplyExtensions)(nil), "my.test.OtherReplyExtensions") - proto.RegisterType((*OldReply)(nil), "my.test.OldReply") - proto.RegisterType((*Communique)(nil), "my.test.Communique") - proto.RegisterType((*Communique_SomeGroup)(nil), "my.test.Communique.SomeGroup") - proto.RegisterType((*Communique_Delta)(nil), "my.test.Communique.Delta") - proto.RegisterExtension(E_Tag) - proto.RegisterExtension(E_Donut) -} - -func init() { proto.RegisterFile("my_test/test.proto", fileDescriptor_2c9b60a40d5131b9) } - -var fileDescriptor_2c9b60a40d5131b9 = []byte{ - // 1148 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x56, 0xcf, 0x6e, 0xdb, 0x46, - 0x13, 0x37, 0x49, 0x51, 0x7f, 0x46, 0xfe, 0x6c, 0x7e, 0x0b, 0xd7, 0x66, 0x55, 0x24, 0x61, 0x95, - 0xb8, 0x50, 0xdc, 0x46, 0x8e, 0xd5, 0x02, 0x4d, 0x55, 0x34, 0x88, 0x65, 0xc9, 0x71, 0x10, 0x5b, - 0x2e, 0x36, 0xce, 0xa1, 0xb9, 0x10, 0x6b, 0x69, 0x45, 0xb1, 0xd6, 0x92, 0x8c, 0xb8, 0x2c, 0xcc, - 0x9b, 0x9f, 0xa2, 0x7d, 0x8d, 0xde, 0xfb, 0x0c, 0x7d, 0x26, 0x17, 0x3b, 0xab, 0x48, 0xb2, 0x55, - 0x94, 0x07, 0x82, 0x33, 0xf3, 0x9b, 0xdf, 0xec, 0xce, 0xcc, 0xce, 0x12, 0x88, 0xc8, 0x7d, 0xc9, - 0x53, 0xb9, 0xaf, 0x5e, 0xcd, 0x64, 0x1a, 0xcb, 0x98, 0x94, 0x44, 0xde, 0x54, 0x62, 0x8d, 0x88, - 0x6c, 0x22, 0xc3, 0x7d, 0x7c, 0x1f, 0x68, 0x63, 0xfd, 0xef, 0x22, 0x94, 0x28, 0xff, 0x98, 0xf1, - 0x54, 0x12, 0x07, 0xac, 0x2b, 0x9e, 0xbb, 0x86, 0x67, 0x35, 0x2c, 0xaa, 0x3e, 0x49, 0x03, 0xac, - 0x71, 0xc6, 0x5d, 0xcb, 0x33, 0x1a, 0x1b, 0xad, 0xed, 0xe6, 0x8c, 0xa8, 0x39, 0x73, 0x68, 0x1e, - 0xc5, 0x93, 0x78, 0x4a, 0x15, 0x84, 0xec, 0x81, 0x35, 0x66, 0xd2, 0x2d, 0x20, 0xd2, 0x99, 0x23, - 0x4f, 0x98, 0xbc, 0xc8, 0x13, 0xde, 0x2e, 0x1e, 0xf7, 0xba, 0xe7, 0xf4, 0x90, 0x2a, 0x10, 0x79, - 0x04, 0xe5, 0x21, 0x67, 0xc3, 0x49, 0x18, 0x71, 0xb7, 0xe4, 0x19, 0x0d, 0xb3, 0x6d, 0x85, 0xd1, - 0x88, 0xce, 0x95, 0xe4, 0x05, 0x54, 0xd2, 0x58, 0xf0, 0x60, 0x1a, 0x67, 0x89, 0x5b, 0xf6, 0x8c, - 0x06, 0x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1f, 0xd5, 0xeb, 0x9f, 0x00, - 0x00, 0x00, 0xff, 0xff, 0x31, 0xff, 0x4e, 0x30, 0x5a, 0x08, 0x00, 0x00, -} diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/proto3/proto3.pb.go b/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/proto3/proto3.pb.go deleted file mode 100644 index a8169625..00000000 --- a/vendor/github.com/golang/protobuf/protoc-gen-go/testdata/proto3/proto3.pb.go +++ /dev/null @@ -1,202 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: proto3/proto3.proto - -package proto3 - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type Request_Flavour int32 - -const ( - Request_SWEET Request_Flavour = 0 - Request_SOUR Request_Flavour = 1 - Request_UMAMI Request_Flavour = 2 - Request_GOPHERLICIOUS Request_Flavour = 3 -) - -var Request_Flavour_name = map[int32]string{ - 0: "SWEET", - 1: "SOUR", - 2: "UMAMI", - 3: "GOPHERLICIOUS", -} - -var Request_Flavour_value = map[string]int32{ - "SWEET": 0, - "SOUR": 1, - "UMAMI": 2, - "GOPHERLICIOUS": 3, -} - -func (x Request_Flavour) String() string { - return proto.EnumName(Request_Flavour_name, int32(x)) -} - -func (Request_Flavour) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ab04eb4084a521db, []int{0, 0} -} - -type Request struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Key []int64 `protobuf:"varint,2,rep,packed,name=key,proto3" json:"key,omitempty"` - Taste Request_Flavour `protobuf:"varint,3,opt,name=taste,proto3,enum=proto3.Request_Flavour" json:"taste,omitempty"` - Book *Book `protobuf:"bytes,4,opt,name=book,proto3" json:"book,omitempty"` - Unpacked []int64 `protobuf:"varint,5,rep,name=unpacked,proto3" json:"unpacked,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ab04eb4084a521db, []int{0} -} - -func (m *Request) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Request.Unmarshal(m, b) -} -func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Request.Marshal(b, m, deterministic) -} -func (m *Request) XXX_Merge(src proto.Message) { - xxx_messageInfo_Request.Merge(m, src) -} -func (m *Request) XXX_Size() int { - return xxx_messageInfo_Request.Size(m) -} -func (m *Request) XXX_DiscardUnknown() { - xxx_messageInfo_Request.DiscardUnknown(m) -} - -var xxx_messageInfo_Request proto.InternalMessageInfo - -func (m *Request) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Request) GetKey() []int64 { - if m != nil { - return m.Key - } - return nil -} - -func (m *Request) GetTaste() Request_Flavour { - if m != nil { - return m.Taste - } - return Request_SWEET -} - -func (m *Request) GetBook() *Book { - if m != nil { - return m.Book - } - return nil -} - -func (m *Request) GetUnpacked() []int64 { - if m != nil { - return m.Unpacked - } - return nil -} - -type Book struct { - Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` - RawData []byte `protobuf:"bytes,2,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ab04eb4084a521db, []int{1} -} - -func (m *Book) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Book.Unmarshal(m, b) -} -func (m *Book) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Book.Marshal(b, m, deterministic) -} -func (m *Book) XXX_Merge(src proto.Message) { - xxx_messageInfo_Book.Merge(m, src) -} -func (m *Book) XXX_Size() int { - return xxx_messageInfo_Book.Size(m) -} -func (m *Book) XXX_DiscardUnknown() { - xxx_messageInfo_Book.DiscardUnknown(m) -} - -var xxx_messageInfo_Book proto.InternalMessageInfo - -func (m *Book) GetTitle() string { - if m != nil { - return m.Title - } - return "" -} - -func (m *Book) GetRawData() []byte { - if m != nil { - return m.RawData - } - return nil -} - -func init() { - proto.RegisterEnum("proto3.Request_Flavour", Request_Flavour_name, Request_Flavour_value) - proto.RegisterType((*Request)(nil), "proto3.Request") - proto.RegisterType((*Book)(nil), "proto3.Book") -} - -func init() { proto.RegisterFile("proto3/proto3.proto", fileDescriptor_ab04eb4084a521db) } - -var fileDescriptor_ab04eb4084a521db = []byte{ - // 306 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x3c, 0x90, 0xcf, 0x4e, 0xf2, 0x40, - 0x14, 0xc5, 0x99, 0xfe, 0xf9, 0x80, 0xfb, 0xa1, 0x19, 0xaf, 0x26, 0x8e, 0x1b, 0x33, 0x61, 0xd5, - 0x0d, 0x25, 0xc1, 0x85, 0xc6, 0xb8, 0x11, 0x45, 0x25, 0x91, 0x60, 0x06, 0x89, 0x89, 0x1b, 0x33, - 0x85, 0xb1, 0x92, 0x42, 0x07, 0xcb, 0x54, 0xe2, 0xcb, 0xfa, 0x2c, 0xa6, 0x9d, 0xe2, 0xea, 0x9e, - 0x7b, 0xe7, 0xe4, 0x77, 0x32, 0x07, 0x0e, 0xd7, 0x99, 0x36, 0xfa, 0xac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 0x0b, 0xf3, 0x91, 0x47, 0xe1, 0x4c, 0xaf, 0xba, 0xb1, 0x5e, 0xca, 0x34, 0xb6, 0x1d, - 0x46, 0xf9, 0xbb, 0x15, 0xb3, 0x4e, 0xac, 0xd2, 0x4e, 0xac, 0xbb, 0x46, 0x6d, 0x4c, 0xc1, 0xa8, - 0x3a, 0x8e, 0xaa, 0x76, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xec, 0x71, 0xee, 0xdb, 0x7b, 0x01, - 0x00, 0x00, -} diff --git a/vendor/github.com/golang/protobuf/ptypes/any/any.pb.go b/vendor/github.com/golang/protobuf/ptypes/any/any.pb.go deleted file mode 100644 index 78ee5233..00000000 --- a/vendor/github.com/golang/protobuf/ptypes/any/any.pb.go +++ /dev/null @@ -1,200 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/protobuf/any.proto - -package any - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// `Any` contains an arbitrary serialized protocol buffer message along with a -// URL that describes the type of the serialized message. -// -// Protobuf library provides support to pack/unpack Any values in the form -// of utility functions or additional generated methods of the Any type. -// -// Example 1: Pack and unpack a message in C++. -// -// Foo foo = ...; -// Any any; -// any.PackFrom(foo); -// ... -// if (any.UnpackTo(&foo)) { -// ... -// } -// -// Example 2: Pack and unpack a message in Java. -// -// Foo foo = ...; -// Any any = Any.pack(foo); -// ... -// if (any.is(Foo.class)) { -// foo = any.unpack(Foo.class); -// } -// -// Example 3: Pack and unpack a message in Python. -// -// foo = Foo(...) -// any = Any() -// any.Pack(foo) -// ... -// if any.Is(Foo.DESCRIPTOR): -// any.Unpack(foo) -// ... -// -// Example 4: Pack and unpack a message in Go -// -// foo := &pb.Foo{...} -// any, err := ptypes.MarshalAny(foo) -// ... -// foo := &pb.Foo{} -// if err := ptypes.UnmarshalAny(any, foo); err != nil { -// ... -// } -// -// The pack methods provided by protobuf library will by default use -// 'type.googleapis.com/full.type.name' as the type URL and the unpack -// methods only use the fully qualified type name after the last '/' -// in the type URL, for example "foo.bar.com/x/y.z" will yield type -// name "y.z". -// -// -// JSON -// ==== -// The JSON representation of an `Any` value uses the regular -// representation of the deserialized, embedded message, with an -// additional field `@type` which contains the type URL. Example: -// -// package google.profile; -// message Person { -// string first_name = 1; -// string last_name = 2; -// } -// -// { -// "@type": "type.googleapis.com/google.profile.Person", -// "firstName": , -// "lastName": -// } -// -// If the embedded message type is well-known and has a custom JSON -// representation, that representation will be embedded adding a field -// `value` which holds the custom JSON in addition to the `@type` -// field. Example (for message [google.protobuf.Duration][]): -// -// { -// "@type": "type.googleapis.com/google.protobuf.Duration", -// "value": "1.212s" -// } -// -type Any struct { - // A URL/resource name that uniquely identifies the type of the serialized - // protocol buffer message. The last segment of the URL's path must represent - // the fully qualified name of the type (as in - // `path/google.protobuf.Duration`). The name should be in a canonical form - // (e.g., leading "." is not accepted). - // - // In practice, teams usually precompile into the binary all types that they - // expect it to use in the context of Any. However, for URLs which use the - // scheme `http`, `https`, or no scheme, one can optionally set up a type - // server that maps type URLs to message definitions as follows: - // - // * If no scheme is provided, `https` is assumed. - // * An HTTP GET on the URL must yield a [google.protobuf.Type][] - // value in binary format, or produce an error. - // * Applications are allowed to cache lookup results based on the - // URL, or have them precompiled into a binary to avoid any - // lookup. Therefore, binary compatibility needs to be preserved - // on changes to types. (Use versioned type names to manage - // breaking changes.) - // - // Note: this functionality is not currently available in the official - // protobuf release, and it is not used for type URLs beginning with - // type.googleapis.com. - // - // Schemes other than `http`, `https` (or the empty scheme) might be - // used with implementation specific semantics. - // - TypeUrl string `protobuf:"bytes,1,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"` - // Must be a valid serialized protocol buffer of the above specified type. - 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 *Any) Reset() { *m = Any{} } -func (m *Any) String() string { return proto.CompactTextString(m) } -func (*Any) ProtoMessage() {} -func (*Any) Descriptor() ([]byte, []int) { - return fileDescriptor_b53526c13ae22eb4, []int{0} -} - -func (*Any) XXX_WellKnownType() string { return "Any" } - -func (m *Any) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Any.Unmarshal(m, b) -} -func (m *Any) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Any.Marshal(b, m, deterministic) -} -func (m *Any) XXX_Merge(src proto.Message) { - xxx_messageInfo_Any.Merge(m, src) -} -func (m *Any) XXX_Size() int { - return xxx_messageInfo_Any.Size(m) -} -func (m *Any) XXX_DiscardUnknown() { - xxx_messageInfo_Any.DiscardUnknown(m) -} - -var xxx_messageInfo_Any proto.InternalMessageInfo - -func (m *Any) GetTypeUrl() string { - if m != nil { - return m.TypeUrl - } - return "" -} - -func (m *Any) GetValue() []byte { - if m != nil { - return m.Value - } - return nil -} - -func init() { - proto.RegisterType((*Any)(nil), "google.protobuf.Any") -} - -func init() { proto.RegisterFile("google/protobuf/any.proto", fileDescriptor_b53526c13ae22eb4) } - -var fileDescriptor_b53526c13ae22eb4 = []byte{ - // 185 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4c, 0xcf, 0xcf, 0x4f, - 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x4f, 0xcc, 0xab, 0xd4, - 0x03, 0x73, 0x84, 0xf8, 0x21, 0x52, 0x7a, 0x30, 0x29, 0x25, 0x33, 0x2e, 0x66, 0xc7, 0xbc, 0x4a, - 0x21, 0x49, 0x2e, 0x8e, 0x92, 0xca, 0x82, 0xd4, 0xf8, 0xd2, 0xa2, 0x1c, 0x09, 0x46, 0x05, 0x46, - 0x0d, 0xce, 0x20, 0x76, 0x10, 0x3f, 0xb4, 0x28, 0x47, 0x48, 0x84, 0x8b, 0xb5, 0x2c, 0x31, 0xa7, - 0x34, 0x55, 0x82, 0x49, 0x81, 0x51, 0x83, 0x27, 0x08, 0xc2, 0x71, 0xca, 0xe7, 0x12, 0x4e, 0xce, - 0xcf, 0xd5, 0x43, 0x33, 0xce, 0x89, 0xc3, 0x31, 0xaf, 0x32, 0x00, 0xc4, 0x09, 0x60, 0x8c, 0x52, - 0x4d, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xcf, 0xcf, 0x49, 0xcc, - 0x4b, 0x47, 0xb8, 0xa8, 0x00, 0x64, 0x7a, 0x31, 0xc8, 0x61, 0x8b, 0x98, 0x98, 0xdd, 0x03, 0x9c, - 0x56, 0x31, 0xc9, 0xb9, 0x43, 0x8c, 0x0a, 0x80, 0x2a, 0xd1, 0x0b, 0x4f, 0xcd, 0xc9, 0xf1, 0xce, - 0xcb, 0x2f, 0xcf, 0x0b, 0x01, 0x29, 0x4d, 0x62, 0x03, 0xeb, 0x35, 0x06, 0x04, 0x00, 0x00, 0xff, - 0xff, 0x13, 0xf8, 0xe8, 0x42, 0xdd, 0x00, 0x00, 0x00, -} diff --git a/vendor/github.com/golang/protobuf/ptypes/duration/duration.pb.go b/vendor/github.com/golang/protobuf/ptypes/duration/duration.pb.go deleted file mode 100644 index 0d681ee2..00000000 --- a/vendor/github.com/golang/protobuf/ptypes/duration/duration.pb.go +++ /dev/null @@ -1,161 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/protobuf/duration.proto - -package duration - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A Duration represents a signed, fixed-length span of time represented -// as a count of seconds and fractions of seconds at nanosecond -// resolution. It is independent of any calendar and concepts like "day" -// or "month". It is related to Timestamp in that the difference between -// two Timestamp values is a Duration and it can be added or subtracted -// from a Timestamp. Range is approximately +-10,000 years. -// -// # Examples -// -// Example 1: Compute Duration from two Timestamps in pseudo code. -// -// Timestamp start = ...; -// Timestamp end = ...; -// Duration duration = ...; -// -// duration.seconds = end.seconds - start.seconds; -// duration.nanos = end.nanos - start.nanos; -// -// if (duration.seconds < 0 && duration.nanos > 0) { -// duration.seconds += 1; -// duration.nanos -= 1000000000; -// } else if (durations.seconds > 0 && duration.nanos < 0) { -// duration.seconds -= 1; -// duration.nanos += 1000000000; -// } -// -// Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. -// -// Timestamp start = ...; -// Duration duration = ...; -// Timestamp end = ...; -// -// end.seconds = start.seconds + duration.seconds; -// end.nanos = start.nanos + duration.nanos; -// -// if (end.nanos < 0) { -// end.seconds -= 1; -// end.nanos += 1000000000; -// } else if (end.nanos >= 1000000000) { -// end.seconds += 1; -// end.nanos -= 1000000000; -// } -// -// Example 3: Compute Duration from datetime.timedelta in Python. -// -// td = datetime.timedelta(days=3, minutes=10) -// duration = Duration() -// duration.FromTimedelta(td) -// -// # JSON Mapping -// -// In JSON format, the Duration type is encoded as a string rather than an -// object, where the string ends in the suffix "s" (indicating seconds) and -// is preceded by the number of seconds, with nanoseconds expressed as -// fractional seconds. For example, 3 seconds with 0 nanoseconds should be -// encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should -// be expressed in JSON format as "3.000000001s", and 3 seconds and 1 -// microsecond should be expressed in JSON format as "3.000001s". -// -// -type Duration struct { - // Signed seconds of the span of time. Must be from -315,576,000,000 - // to +315,576,000,000 inclusive. Note: these bounds are computed from: - // 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years - Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"` - // Signed fractions of a second at nanosecond resolution of the span - // of time. Durations less than one second are represented with a 0 - // `seconds` field and a positive or negative `nanos` field. For durations - // of one second or more, a non-zero value for the `nanos` field must be - // of the same sign as the `seconds` field. Must be from -999,999,999 - // to +999,999,999 inclusive. - Nanos int32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Duration) Reset() { *m = Duration{} } -func (m *Duration) String() string { return proto.CompactTextString(m) } -func (*Duration) ProtoMessage() {} -func (*Duration) Descriptor() ([]byte, []int) { - return fileDescriptor_23597b2ebd7ac6c5, []int{0} -} - -func (*Duration) XXX_WellKnownType() string { return "Duration" } - -func (m *Duration) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Duration.Unmarshal(m, b) -} -func (m *Duration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Duration.Marshal(b, m, deterministic) -} -func (m *Duration) XXX_Merge(src proto.Message) { - xxx_messageInfo_Duration.Merge(m, src) -} -func (m *Duration) XXX_Size() int { - return xxx_messageInfo_Duration.Size(m) -} -func (m *Duration) XXX_DiscardUnknown() { - xxx_messageInfo_Duration.DiscardUnknown(m) -} - -var xxx_messageInfo_Duration proto.InternalMessageInfo - -func (m *Duration) GetSeconds() int64 { - if m != nil { - return m.Seconds - } - return 0 -} - -func (m *Duration) GetNanos() int32 { - if m != nil { - return m.Nanos - } - return 0 -} - -func init() { - proto.RegisterType((*Duration)(nil), "google.protobuf.Duration") -} - -func init() { proto.RegisterFile("google/protobuf/duration.proto", fileDescriptor_23597b2ebd7ac6c5) } - -var fileDescriptor_23597b2ebd7ac6c5 = []byte{ - // 190 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4b, 0xcf, 0xcf, 0x4f, - 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x4f, 0x29, 0x2d, 0x4a, - 0x2c, 0xc9, 0xcc, 0xcf, 0xd3, 0x03, 0x8b, 0x08, 0xf1, 0x43, 0xe4, 0xf5, 0x60, 0xf2, 0x4a, 0x56, - 0x5c, 0x1c, 0x2e, 0x50, 0x25, 0x42, 0x12, 0x5c, 0xec, 0xc5, 0xa9, 0xc9, 0xf9, 0x79, 0x29, 0xc5, - 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0xcc, 0x41, 0x30, 0xae, 0x90, 0x08, 0x17, 0x6b, 0x5e, 0x62, 0x5e, - 0x7e, 0xb1, 0x04, 0x93, 0x02, 0xa3, 0x06, 0x6b, 0x10, 0x84, 0xe3, 0x54, 0xc3, 0x25, 0x9c, 0x9c, - 0x9f, 0xab, 0x87, 0x66, 0xa4, 0x13, 0x2f, 0xcc, 0xc0, 0x00, 0x90, 0x48, 0x00, 0x63, 0x94, 0x56, - 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x7e, 0x7a, 0x7e, 0x4e, 0x62, 0x5e, - 0x3a, 0xc2, 0x7d, 0x05, 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x70, 0x67, 0xfe, 0x60, 0x64, 0x5c, 0xc4, - 0xc4, 0xec, 0x1e, 0xe0, 0xb4, 0x8a, 0x49, 0xce, 0x1d, 0x62, 0x6e, 0x00, 0x54, 0xa9, 0x5e, 0x78, - 0x6a, 0x4e, 0x8e, 0x77, 0x5e, 0x7e, 0x79, 0x5e, 0x08, 0x48, 0x4b, 0x12, 0x1b, 0xd8, 0x0c, 0x63, - 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0xdc, 0x84, 0x30, 0xff, 0xf3, 0x00, 0x00, 0x00, -} diff --git a/vendor/github.com/golang/protobuf/ptypes/empty/empty.pb.go b/vendor/github.com/golang/protobuf/ptypes/empty/empty.pb.go deleted file mode 100644 index b4eb03ec..00000000 --- a/vendor/github.com/golang/protobuf/ptypes/empty/empty.pb.go +++ /dev/null @@ -1,83 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/protobuf/empty.proto - -package empty - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A generic empty message that you can re-use to avoid defining duplicated -// empty messages in your APIs. A typical example is to use it as the request -// or the response type of an API method. For instance: -// -// service Foo { -// rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); -// } -// -// The JSON representation for `Empty` is empty JSON object `{}`. -type Empty struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Empty) Reset() { *m = Empty{} } -func (m *Empty) String() string { return proto.CompactTextString(m) } -func (*Empty) ProtoMessage() {} -func (*Empty) Descriptor() ([]byte, []int) { - return fileDescriptor_900544acb223d5b8, []int{0} -} - -func (*Empty) XXX_WellKnownType() string { return "Empty" } - -func (m *Empty) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Empty.Unmarshal(m, b) -} -func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Empty.Marshal(b, m, deterministic) -} -func (m *Empty) XXX_Merge(src proto.Message) { - xxx_messageInfo_Empty.Merge(m, src) -} -func (m *Empty) XXX_Size() int { - return xxx_messageInfo_Empty.Size(m) -} -func (m *Empty) XXX_DiscardUnknown() { - xxx_messageInfo_Empty.DiscardUnknown(m) -} - -var xxx_messageInfo_Empty proto.InternalMessageInfo - -func init() { - proto.RegisterType((*Empty)(nil), "google.protobuf.Empty") -} - -func init() { proto.RegisterFile("google/protobuf/empty.proto", fileDescriptor_900544acb223d5b8) } - -var fileDescriptor_900544acb223d5b8 = []byte{ - // 148 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, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x4f, 0xcd, 0x2d, 0x28, - 0xa9, 0xd4, 0x03, 0x73, 0x85, 0xf8, 0x21, 0x92, 0x7a, 0x30, 0x49, 0x25, 0x76, 0x2e, 0x56, 0x57, - 0x90, 0xbc, 0x53, 0x19, 0x97, 0x70, 0x72, 0x7e, 0xae, 0x1e, 0x9a, 0xbc, 0x13, 0x17, 0x58, 0x36, - 0x00, 0xc4, 0x0d, 0x60, 0x8c, 0x52, 0x4f, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, - 0xd5, 0x4f, 0xcf, 0xcf, 0x49, 0xcc, 0x4b, 0x47, 0x58, 0x53, 0x50, 0x52, 0x59, 0x90, 0x5a, 0x0c, - 0xb1, 0xed, 0x07, 0x23, 0xe3, 0x22, 0x26, 0x66, 0xf7, 0x00, 0xa7, 0x55, 0x4c, 0x72, 0xee, 0x10, - 0x13, 0x03, 0xa0, 0xea, 0xf4, 0xc2, 0x53, 0x73, 0x72, 0xbc, 0xf3, 0xf2, 0xcb, 0xf3, 0x42, 0x40, - 0xea, 0x93, 0xd8, 0xc0, 0x06, 0x18, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x64, 0xd4, 0xb3, 0xa6, - 0xb7, 0x00, 0x00, 0x00, -} diff --git a/vendor/github.com/golang/protobuf/ptypes/struct/struct.pb.go b/vendor/github.com/golang/protobuf/ptypes/struct/struct.pb.go deleted file mode 100644 index 33daa73d..00000000 --- a/vendor/github.com/golang/protobuf/ptypes/struct/struct.pb.go +++ /dev/null @@ -1,336 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/protobuf/struct.proto - -package structpb - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// `NullValue` is a singleton enumeration to represent the null value for the -// `Value` type union. -// -// The JSON representation for `NullValue` is JSON `null`. -type NullValue int32 - -const ( - // Null value. - NullValue_NULL_VALUE NullValue = 0 -) - -var NullValue_name = map[int32]string{ - 0: "NULL_VALUE", -} - -var NullValue_value = map[string]int32{ - "NULL_VALUE": 0, -} - -func (x NullValue) String() string { - return proto.EnumName(NullValue_name, int32(x)) -} - -func (NullValue) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_df322afd6c9fb402, []int{0} -} - -func (NullValue) XXX_WellKnownType() string { return "NullValue" } - -// `Struct` represents a structured data value, consisting of fields -// which map to dynamically typed values. In some languages, `Struct` -// might be supported by a native representation. For example, in -// scripting languages like JS a struct is represented as an -// object. The details of that representation are described together -// with the proto support for the language. -// -// The JSON representation for `Struct` is JSON object. -type Struct struct { - // Unordered map of dynamically typed values. - Fields map[string]*Value `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,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 *Struct) Reset() { *m = Struct{} } -func (m *Struct) String() string { return proto.CompactTextString(m) } -func (*Struct) ProtoMessage() {} -func (*Struct) Descriptor() ([]byte, []int) { - return fileDescriptor_df322afd6c9fb402, []int{0} -} - -func (*Struct) XXX_WellKnownType() string { return "Struct" } - -func (m *Struct) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Struct.Unmarshal(m, b) -} -func (m *Struct) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Struct.Marshal(b, m, deterministic) -} -func (m *Struct) XXX_Merge(src proto.Message) { - xxx_messageInfo_Struct.Merge(m, src) -} -func (m *Struct) XXX_Size() int { - return xxx_messageInfo_Struct.Size(m) -} -func (m *Struct) XXX_DiscardUnknown() { - xxx_messageInfo_Struct.DiscardUnknown(m) -} - -var xxx_messageInfo_Struct proto.InternalMessageInfo - -func (m *Struct) GetFields() map[string]*Value { - if m != nil { - return m.Fields - } - return nil -} - -// `Value` represents a dynamically typed value which can be either -// null, a number, a string, a boolean, a recursive struct value, or a -// list of values. A producer of value is expected to set one of that -// variants, absence of any variant indicates an error. -// -// The JSON representation for `Value` is JSON value. -type Value struct { - // The kind of value. - // - // Types that are valid to be assigned to Kind: - // *Value_NullValue - // *Value_NumberValue - // *Value_StringValue - // *Value_BoolValue - // *Value_StructValue - // *Value_ListValue - 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_df322afd6c9fb402, []int{1} -} - -func (*Value) XXX_WellKnownType() string { return "Value" } - -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 (m *Value) XXX_Merge(src proto.Message) { - xxx_messageInfo_Value.Merge(m, 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 NullValue `protobuf:"varint,1,opt,name=null_value,json=nullValue,proto3,enum=google.protobuf.NullValue,oneof"` -} - -type Value_NumberValue struct { - NumberValue float64 `protobuf:"fixed64,2,opt,name=number_value,json=numberValue,proto3,oneof"` -} - -type Value_StringValue struct { - StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3,oneof"` -} - -type Value_BoolValue struct { - BoolValue bool `protobuf:"varint,4,opt,name=bool_value,json=boolValue,proto3,oneof"` -} - -type Value_StructValue struct { - StructValue *Struct `protobuf:"bytes,5,opt,name=struct_value,json=structValue,proto3,oneof"` -} - -type Value_ListValue struct { - ListValue *ListValue `protobuf:"bytes,6,opt,name=list_value,json=listValue,proto3,oneof"` -} - -func (*Value_NullValue) isValue_Kind() {} - -func (*Value_NumberValue) isValue_Kind() {} - -func (*Value_StringValue) isValue_Kind() {} - -func (*Value_BoolValue) isValue_Kind() {} - -func (*Value_StructValue) isValue_Kind() {} - -func (*Value_ListValue) isValue_Kind() {} - -func (m *Value) GetKind() isValue_Kind { - if m != nil { - return m.Kind - } - return nil -} - -func (m *Value) GetNullValue() NullValue { - if x, ok := m.GetKind().(*Value_NullValue); ok { - return x.NullValue - } - return NullValue_NULL_VALUE -} - -func (m *Value) GetNumberValue() float64 { - if x, ok := m.GetKind().(*Value_NumberValue); ok { - return x.NumberValue - } - return 0 -} - -func (m *Value) GetStringValue() string { - if x, ok := m.GetKind().(*Value_StringValue); ok { - return x.StringValue - } - return "" -} - -func (m *Value) GetBoolValue() bool { - if x, ok := m.GetKind().(*Value_BoolValue); ok { - return x.BoolValue - } - return false -} - -func (m *Value) GetStructValue() *Struct { - if x, ok := m.GetKind().(*Value_StructValue); ok { - return x.StructValue - } - return nil -} - -func (m *Value) GetListValue() *ListValue { - if x, ok := m.GetKind().(*Value_ListValue); ok { - return x.ListValue - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Value) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Value_NullValue)(nil), - (*Value_NumberValue)(nil), - (*Value_StringValue)(nil), - (*Value_BoolValue)(nil), - (*Value_StructValue)(nil), - (*Value_ListValue)(nil), - } -} - -// `ListValue` is a wrapper around a repeated field of values. -// -// The JSON representation for `ListValue` is JSON array. -type ListValue struct { - // Repeated field of dynamically typed values. - 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_df322afd6c9fb402, []int{2} -} - -func (*ListValue) XXX_WellKnownType() string { return "ListValue" } - -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 (m *ListValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListValue.Merge(m, 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 -} - -func init() { - proto.RegisterEnum("google.protobuf.NullValue", NullValue_name, NullValue_value) - proto.RegisterType((*Struct)(nil), "google.protobuf.Struct") - proto.RegisterMapType((map[string]*Value)(nil), "google.protobuf.Struct.FieldsEntry") - proto.RegisterType((*Value)(nil), "google.protobuf.Value") - proto.RegisterType((*ListValue)(nil), "google.protobuf.ListValue") -} - -func init() { proto.RegisterFile("google/protobuf/struct.proto", fileDescriptor_df322afd6c9fb402) } - -var fileDescriptor_df322afd6c9fb402 = []byte{ - // 417 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0x41, 0x8b, 0xd3, 0x40, - 0x14, 0xc7, 0x3b, 0xc9, 0x36, 0x98, 0x17, 0x59, 0x97, 0x11, 0xb4, 0xac, 0xa2, 0xa1, 0x7b, 0x09, - 0x22, 0x29, 0xd6, 0x8b, 0x18, 0x2f, 0x06, 0xd6, 0x5d, 0x30, 0x2c, 0x31, 0xba, 0x15, 0xbc, 0x94, - 0x26, 0x4d, 0x63, 0xe8, 0x74, 0x26, 0x24, 0x33, 0x4a, 0x8f, 0x7e, 0x0b, 0xcf, 0x1e, 0x3d, 0xfa, - 0xe9, 0x3c, 0xca, 0xcc, 0x24, 0xa9, 0xb4, 0xf4, 0x94, 0xbc, 0xf7, 0x7e, 0xef, 0x3f, 0xef, 0xff, - 0x66, 0xe0, 0x71, 0xc1, 0x58, 0x41, 0xf2, 0x49, 0x55, 0x33, 0xce, 0x52, 0xb1, 0x9a, 0x34, 0xbc, - 0x16, 0x19, 0xf7, 0x55, 0x8c, 0xef, 0xe9, 0xaa, 0xdf, 0x55, 0xc7, 0x3f, 0x11, 0x58, 0x1f, 0x15, - 0x81, 0x03, 0xb0, 0x56, 0x65, 0x4e, 0x96, 0xcd, 0x08, 0xb9, 0xa6, 0xe7, 0x4c, 0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0xa5, 0xb7, 0xd4, 0xb3, 0x47, 0x60, 0xf7, 0x4b, 0xc4, 0xa7, 0x00, 0x37, - 0xb7, 0x51, 0x34, 0x9f, 0xbd, 0x8d, 0x6e, 0x2f, 0xcf, 0x06, 0xe1, 0x0f, 0x04, 0xf7, 0x33, 0xb6, - 0xd9, 0x97, 0x08, 0x1d, 0xed, 0x26, 0x96, 0x71, 0x8c, 0xbe, 0xbc, 0x28, 0x4a, 0xfe, 0x55, 0xa4, - 0x7e, 0xc6, 0x36, 0x93, 0x82, 0x91, 0x05, 0x2d, 0x76, 0x4f, 0xb1, 0xe2, 0xdb, 0x2a, 0x6f, 0xda, - 0x17, 0x19, 0xe8, 0x4f, 0x95, 0xfe, 0x45, 0xe8, 0x97, 0x61, 0x5e, 0xc5, 0xe1, 0x6f, 0xe3, 0xc9, - 0x95, 0x16, 0x8f, 0xbb, 0xf9, 0x3e, 0xe7, 0x84, 0xbc, 0xa7, 0xec, 0x3b, 0xfd, 0x24, 0x3b, 0x53, - 0x4b, 0x49, 0xbd, 0xfc, 0x17, 0x00, 0x00, 0xff, 0xff, 0xe8, 0x1b, 0x59, 0xf8, 0xe5, 0x02, 0x00, - 0x00, -} diff --git a/vendor/github.com/golang/protobuf/ptypes/timestamp/timestamp.pb.go b/vendor/github.com/golang/protobuf/ptypes/timestamp/timestamp.pb.go deleted file mode 100644 index 31cd846d..00000000 --- a/vendor/github.com/golang/protobuf/ptypes/timestamp/timestamp.pb.go +++ /dev/null @@ -1,179 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/protobuf/timestamp.proto - -package timestamp - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A Timestamp represents a point in time independent of any time zone -// or calendar, represented as seconds and fractions of seconds at -// nanosecond resolution in UTC Epoch time. It is encoded using the -// Proleptic Gregorian Calendar which extends the Gregorian calendar -// backwards to year one. It is encoded assuming all minutes are 60 -// seconds long, i.e. leap seconds are "smeared" so that no leap second -// table is needed for interpretation. Range is from -// 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. -// By restricting to that range, we ensure that we can convert to -// and from RFC 3339 date strings. -// See [https://www.ietf.org/rfc/rfc3339.txt](https://www.ietf.org/rfc/rfc3339.txt). -// -// # Examples -// -// Example 1: Compute Timestamp from POSIX `time()`. -// -// Timestamp timestamp; -// timestamp.set_seconds(time(NULL)); -// timestamp.set_nanos(0); -// -// Example 2: Compute Timestamp from POSIX `gettimeofday()`. -// -// struct timeval tv; -// gettimeofday(&tv, NULL); -// -// Timestamp timestamp; -// timestamp.set_seconds(tv.tv_sec); -// timestamp.set_nanos(tv.tv_usec * 1000); -// -// Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. -// -// FILETIME ft; -// GetSystemTimeAsFileTime(&ft); -// UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; -// -// // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z -// // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. -// Timestamp timestamp; -// timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); -// timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); -// -// Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. -// -// long millis = System.currentTimeMillis(); -// -// Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) -// .setNanos((int) ((millis % 1000) * 1000000)).build(); -// -// -// Example 5: Compute Timestamp from current time in Python. -// -// timestamp = Timestamp() -// timestamp.GetCurrentTime() -// -// # JSON Mapping -// -// In JSON format, the Timestamp type is encoded as a string in the -// [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the -// format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" -// where {year} is always expressed using four digits while {month}, {day}, -// {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional -// seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), -// are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone -// is required. A proto3 JSON serializer should always use UTC (as indicated by -// "Z") when printing the Timestamp type and a proto3 JSON parser should be -// able to accept both UTC and other timezones (as indicated by an offset). -// -// For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past -// 01:30 UTC on January 15, 2017. -// -// In JavaScript, one can convert a Date object to this format using the -// standard [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString] -// method. In Python, a standard `datetime.datetime` object can be converted -// to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) -// with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one -// can use the Joda Time's [`ISODateTimeFormat.dateTime()`]( -// http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime-- -// ) to obtain a formatter capable of generating timestamps in this format. -// -// -type Timestamp struct { - // Represents seconds of UTC time since Unix epoch - // 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to - // 9999-12-31T23:59:59Z inclusive. - Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"` - // Non-negative fractions of a second at nanosecond resolution. Negative - // second values with fractions must still have non-negative nanos values - // that count forward in time. Must be from 0 to 999,999,999 - // inclusive. - Nanos int32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Timestamp) Reset() { *m = Timestamp{} } -func (m *Timestamp) String() string { return proto.CompactTextString(m) } -func (*Timestamp) ProtoMessage() {} -func (*Timestamp) Descriptor() ([]byte, []int) { - return fileDescriptor_292007bbfe81227e, []int{0} -} - -func (*Timestamp) XXX_WellKnownType() string { return "Timestamp" } - -func (m *Timestamp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Timestamp.Unmarshal(m, b) -} -func (m *Timestamp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Timestamp.Marshal(b, m, deterministic) -} -func (m *Timestamp) XXX_Merge(src proto.Message) { - xxx_messageInfo_Timestamp.Merge(m, src) -} -func (m *Timestamp) XXX_Size() int { - return xxx_messageInfo_Timestamp.Size(m) -} -func (m *Timestamp) XXX_DiscardUnknown() { - xxx_messageInfo_Timestamp.DiscardUnknown(m) -} - -var xxx_messageInfo_Timestamp proto.InternalMessageInfo - -func (m *Timestamp) GetSeconds() int64 { - if m != nil { - return m.Seconds - } - return 0 -} - -func (m *Timestamp) GetNanos() int32 { - if m != nil { - return m.Nanos - } - return 0 -} - -func init() { - proto.RegisterType((*Timestamp)(nil), "google.protobuf.Timestamp") -} - -func init() { proto.RegisterFile("google/protobuf/timestamp.proto", fileDescriptor_292007bbfe81227e) } - -var fileDescriptor_292007bbfe81227e = []byte{ - // 191 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4f, 0xcf, 0xcf, 0x4f, - 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x2f, 0xc9, 0xcc, 0x4d, - 0x2d, 0x2e, 0x49, 0xcc, 0x2d, 0xd0, 0x03, 0x0b, 0x09, 0xf1, 0x43, 0x14, 0xe8, 0xc1, 0x14, 0x28, - 0x59, 0x73, 0x71, 0x86, 0xc0, 0xd4, 0x08, 0x49, 0x70, 0xb1, 0x17, 0xa7, 0x26, 0xe7, 0xe7, 0xa5, - 0x14, 0x4b, 0x30, 0x2a, 0x30, 0x6a, 0x30, 0x07, 0xc1, 0xb8, 0x42, 0x22, 0x5c, 0xac, 0x79, 0x89, - 0x79, 0xf9, 0xc5, 0x12, 0x4c, 0x0a, 0x8c, 0x1a, 0xac, 0x41, 0x10, 0x8e, 0x53, 0x1d, 0x97, 0x70, - 0x72, 0x7e, 0xae, 0x1e, 0x9a, 0x99, 0x4e, 0x7c, 0x70, 0x13, 0x03, 0x40, 0x42, 0x01, 0x8c, 0x51, - 0xda, 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0xe9, 0xf9, 0x39, 0x89, - 0x79, 0xe9, 0x08, 0x27, 0x16, 0x94, 0x54, 0x16, 0xa4, 0x16, 0x23, 0x5c, 0xfa, 0x83, 0x91, 0x71, - 0x11, 0x13, 0xb3, 0x7b, 0x80, 0xd3, 0x2a, 0x26, 0x39, 0x77, 0x88, 0xc9, 0x01, 0x50, 0xb5, 0x7a, - 0xe1, 0xa9, 0x39, 0x39, 0xde, 0x79, 0xf9, 0xe5, 0x79, 0x21, 0x20, 0x3d, 0x49, 0x6c, 0x60, 0x43, - 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0xbc, 0x77, 0x4a, 0x07, 0xf7, 0x00, 0x00, 0x00, -} diff --git a/vendor/github.com/golang/protobuf/ptypes/wrappers/wrappers.pb.go b/vendor/github.com/golang/protobuf/ptypes/wrappers/wrappers.pb.go deleted file mode 100644 index add19a1a..00000000 --- a/vendor/github.com/golang/protobuf/ptypes/wrappers/wrappers.pb.go +++ /dev/null @@ -1,461 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/protobuf/wrappers.proto - -package wrappers - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Wrapper message for `double`. -// -// The JSON representation for `DoubleValue` is JSON number. -type DoubleValue struct { - // The double value. - Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DoubleValue) Reset() { *m = DoubleValue{} } -func (m *DoubleValue) String() string { return proto.CompactTextString(m) } -func (*DoubleValue) ProtoMessage() {} -func (*DoubleValue) Descriptor() ([]byte, []int) { - return fileDescriptor_5377b62bda767935, []int{0} -} - -func (*DoubleValue) XXX_WellKnownType() string { return "DoubleValue" } - -func (m *DoubleValue) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DoubleValue.Unmarshal(m, b) -} -func (m *DoubleValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DoubleValue.Marshal(b, m, deterministic) -} -func (m *DoubleValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_DoubleValue.Merge(m, src) -} -func (m *DoubleValue) XXX_Size() int { - return xxx_messageInfo_DoubleValue.Size(m) -} -func (m *DoubleValue) XXX_DiscardUnknown() { - xxx_messageInfo_DoubleValue.DiscardUnknown(m) -} - -var xxx_messageInfo_DoubleValue proto.InternalMessageInfo - -func (m *DoubleValue) GetValue() float64 { - if m != nil { - return m.Value - } - return 0 -} - -// Wrapper message for `float`. -// -// The JSON representation for `FloatValue` is JSON number. -type FloatValue struct { - // The float value. - Value float32 `protobuf:"fixed32,1,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FloatValue) Reset() { *m = FloatValue{} } -func (m *FloatValue) String() string { return proto.CompactTextString(m) } -func (*FloatValue) ProtoMessage() {} -func (*FloatValue) Descriptor() ([]byte, []int) { - return fileDescriptor_5377b62bda767935, []int{1} -} - -func (*FloatValue) XXX_WellKnownType() string { return "FloatValue" } - -func (m *FloatValue) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FloatValue.Unmarshal(m, b) -} -func (m *FloatValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FloatValue.Marshal(b, m, deterministic) -} -func (m *FloatValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_FloatValue.Merge(m, src) -} -func (m *FloatValue) XXX_Size() int { - return xxx_messageInfo_FloatValue.Size(m) -} -func (m *FloatValue) XXX_DiscardUnknown() { - xxx_messageInfo_FloatValue.DiscardUnknown(m) -} - -var xxx_messageInfo_FloatValue proto.InternalMessageInfo - -func (m *FloatValue) GetValue() float32 { - if m != nil { - return m.Value - } - return 0 -} - -// Wrapper message for `int64`. -// -// The JSON representation for `Int64Value` is JSON string. -type Int64Value struct { - // The int64 value. - Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Int64Value) Reset() { *m = Int64Value{} } -func (m *Int64Value) String() string { return proto.CompactTextString(m) } -func (*Int64Value) ProtoMessage() {} -func (*Int64Value) Descriptor() ([]byte, []int) { - return fileDescriptor_5377b62bda767935, []int{2} -} - -func (*Int64Value) XXX_WellKnownType() string { return "Int64Value" } - -func (m *Int64Value) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Int64Value.Unmarshal(m, b) -} -func (m *Int64Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Int64Value.Marshal(b, m, deterministic) -} -func (m *Int64Value) XXX_Merge(src proto.Message) { - xxx_messageInfo_Int64Value.Merge(m, src) -} -func (m *Int64Value) XXX_Size() int { - return xxx_messageInfo_Int64Value.Size(m) -} -func (m *Int64Value) XXX_DiscardUnknown() { - xxx_messageInfo_Int64Value.DiscardUnknown(m) -} - -var xxx_messageInfo_Int64Value proto.InternalMessageInfo - -func (m *Int64Value) GetValue() int64 { - if m != nil { - return m.Value - } - return 0 -} - -// Wrapper message for `uint64`. -// -// The JSON representation for `UInt64Value` is JSON string. -type UInt64Value struct { - // The uint64 value. - Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UInt64Value) Reset() { *m = UInt64Value{} } -func (m *UInt64Value) String() string { return proto.CompactTextString(m) } -func (*UInt64Value) ProtoMessage() {} -func (*UInt64Value) Descriptor() ([]byte, []int) { - return fileDescriptor_5377b62bda767935, []int{3} -} - -func (*UInt64Value) XXX_WellKnownType() string { return "UInt64Value" } - -func (m *UInt64Value) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UInt64Value.Unmarshal(m, b) -} -func (m *UInt64Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UInt64Value.Marshal(b, m, deterministic) -} -func (m *UInt64Value) XXX_Merge(src proto.Message) { - xxx_messageInfo_UInt64Value.Merge(m, src) -} -func (m *UInt64Value) XXX_Size() int { - return xxx_messageInfo_UInt64Value.Size(m) -} -func (m *UInt64Value) XXX_DiscardUnknown() { - xxx_messageInfo_UInt64Value.DiscardUnknown(m) -} - -var xxx_messageInfo_UInt64Value proto.InternalMessageInfo - -func (m *UInt64Value) GetValue() uint64 { - if m != nil { - return m.Value - } - return 0 -} - -// Wrapper message for `int32`. -// -// The JSON representation for `Int32Value` is JSON number. -type Int32Value struct { - // The int32 value. - Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Int32Value) Reset() { *m = Int32Value{} } -func (m *Int32Value) String() string { return proto.CompactTextString(m) } -func (*Int32Value) ProtoMessage() {} -func (*Int32Value) Descriptor() ([]byte, []int) { - return fileDescriptor_5377b62bda767935, []int{4} -} - -func (*Int32Value) XXX_WellKnownType() string { return "Int32Value" } - -func (m *Int32Value) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Int32Value.Unmarshal(m, b) -} -func (m *Int32Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Int32Value.Marshal(b, m, deterministic) -} -func (m *Int32Value) XXX_Merge(src proto.Message) { - xxx_messageInfo_Int32Value.Merge(m, src) -} -func (m *Int32Value) XXX_Size() int { - return xxx_messageInfo_Int32Value.Size(m) -} -func (m *Int32Value) XXX_DiscardUnknown() { - xxx_messageInfo_Int32Value.DiscardUnknown(m) -} - -var xxx_messageInfo_Int32Value proto.InternalMessageInfo - -func (m *Int32Value) GetValue() int32 { - if m != nil { - return m.Value - } - return 0 -} - -// Wrapper message for `uint32`. -// -// The JSON representation for `UInt32Value` is JSON number. -type UInt32Value struct { - // The uint32 value. - Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UInt32Value) Reset() { *m = UInt32Value{} } -func (m *UInt32Value) String() string { return proto.CompactTextString(m) } -func (*UInt32Value) ProtoMessage() {} -func (*UInt32Value) Descriptor() ([]byte, []int) { - return fileDescriptor_5377b62bda767935, []int{5} -} - -func (*UInt32Value) XXX_WellKnownType() string { return "UInt32Value" } - -func (m *UInt32Value) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UInt32Value.Unmarshal(m, b) -} -func (m *UInt32Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UInt32Value.Marshal(b, m, deterministic) -} -func (m *UInt32Value) XXX_Merge(src proto.Message) { - xxx_messageInfo_UInt32Value.Merge(m, src) -} -func (m *UInt32Value) XXX_Size() int { - return xxx_messageInfo_UInt32Value.Size(m) -} -func (m *UInt32Value) XXX_DiscardUnknown() { - xxx_messageInfo_UInt32Value.DiscardUnknown(m) -} - -var xxx_messageInfo_UInt32Value proto.InternalMessageInfo - -func (m *UInt32Value) GetValue() uint32 { - if m != nil { - return m.Value - } - return 0 -} - -// Wrapper message for `bool`. -// -// The JSON representation for `BoolValue` is JSON `true` and `false`. -type BoolValue struct { - // The bool value. - Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BoolValue) Reset() { *m = BoolValue{} } -func (m *BoolValue) String() string { return proto.CompactTextString(m) } -func (*BoolValue) ProtoMessage() {} -func (*BoolValue) Descriptor() ([]byte, []int) { - return fileDescriptor_5377b62bda767935, []int{6} -} - -func (*BoolValue) XXX_WellKnownType() string { return "BoolValue" } - -func (m *BoolValue) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BoolValue.Unmarshal(m, b) -} -func (m *BoolValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BoolValue.Marshal(b, m, deterministic) -} -func (m *BoolValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_BoolValue.Merge(m, src) -} -func (m *BoolValue) XXX_Size() int { - return xxx_messageInfo_BoolValue.Size(m) -} -func (m *BoolValue) XXX_DiscardUnknown() { - xxx_messageInfo_BoolValue.DiscardUnknown(m) -} - -var xxx_messageInfo_BoolValue proto.InternalMessageInfo - -func (m *BoolValue) GetValue() bool { - if m != nil { - return m.Value - } - return false -} - -// Wrapper message for `string`. -// -// The JSON representation for `StringValue` is JSON string. -type StringValue struct { - // The string value. - Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StringValue) Reset() { *m = StringValue{} } -func (m *StringValue) String() string { return proto.CompactTextString(m) } -func (*StringValue) ProtoMessage() {} -func (*StringValue) Descriptor() ([]byte, []int) { - return fileDescriptor_5377b62bda767935, []int{7} -} - -func (*StringValue) XXX_WellKnownType() string { return "StringValue" } - -func (m *StringValue) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StringValue.Unmarshal(m, b) -} -func (m *StringValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StringValue.Marshal(b, m, deterministic) -} -func (m *StringValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_StringValue.Merge(m, src) -} -func (m *StringValue) XXX_Size() int { - return xxx_messageInfo_StringValue.Size(m) -} -func (m *StringValue) XXX_DiscardUnknown() { - xxx_messageInfo_StringValue.DiscardUnknown(m) -} - -var xxx_messageInfo_StringValue proto.InternalMessageInfo - -func (m *StringValue) GetValue() string { - if m != nil { - return m.Value - } - return "" -} - -// Wrapper message for `bytes`. -// -// The JSON representation for `BytesValue` is JSON string. -type BytesValue struct { - // The bytes value. - Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BytesValue) Reset() { *m = BytesValue{} } -func (m *BytesValue) String() string { return proto.CompactTextString(m) } -func (*BytesValue) ProtoMessage() {} -func (*BytesValue) Descriptor() ([]byte, []int) { - return fileDescriptor_5377b62bda767935, []int{8} -} - -func (*BytesValue) XXX_WellKnownType() string { return "BytesValue" } - -func (m *BytesValue) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BytesValue.Unmarshal(m, b) -} -func (m *BytesValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BytesValue.Marshal(b, m, deterministic) -} -func (m *BytesValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_BytesValue.Merge(m, src) -} -func (m *BytesValue) XXX_Size() int { - return xxx_messageInfo_BytesValue.Size(m) -} -func (m *BytesValue) XXX_DiscardUnknown() { - xxx_messageInfo_BytesValue.DiscardUnknown(m) -} - -var xxx_messageInfo_BytesValue proto.InternalMessageInfo - -func (m *BytesValue) GetValue() []byte { - if m != nil { - return m.Value - } - return nil -} - -func init() { - proto.RegisterType((*DoubleValue)(nil), "google.protobuf.DoubleValue") - proto.RegisterType((*FloatValue)(nil), "google.protobuf.FloatValue") - proto.RegisterType((*Int64Value)(nil), "google.protobuf.Int64Value") - proto.RegisterType((*UInt64Value)(nil), "google.protobuf.UInt64Value") - proto.RegisterType((*Int32Value)(nil), "google.protobuf.Int32Value") - proto.RegisterType((*UInt32Value)(nil), "google.protobuf.UInt32Value") - proto.RegisterType((*BoolValue)(nil), "google.protobuf.BoolValue") - proto.RegisterType((*StringValue)(nil), "google.protobuf.StringValue") - proto.RegisterType((*BytesValue)(nil), "google.protobuf.BytesValue") -} - -func init() { proto.RegisterFile("google/protobuf/wrappers.proto", fileDescriptor_5377b62bda767935) } - -var fileDescriptor_5377b62bda767935 = []byte{ - // 259 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4b, 0xcf, 0xcf, 0x4f, - 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x2f, 0x2f, 0x4a, 0x2c, - 0x28, 0x48, 0x2d, 0x2a, 0xd6, 0x03, 0x8b, 0x08, 0xf1, 0x43, 0xe4, 0xf5, 0x60, 0xf2, 0x4a, 0xca, - 0x5c, 0xdc, 0x2e, 0xf9, 0xa5, 0x49, 0x39, 0xa9, 0x61, 0x89, 0x39, 0xa5, 0xa9, 0x42, 0x22, 0x5c, - 0xac, 0x65, 0x20, 0x86, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0x63, 0x10, 0x84, 0xa3, 0xa4, 0xc4, 0xc5, - 0xe5, 0x96, 0x93, 0x9f, 0x58, 0x82, 0x45, 0x0d, 0x13, 0x92, 0x1a, 0xcf, 0xbc, 0x12, 0x33, 0x13, - 0x2c, 0x6a, 0x98, 0x61, 0x6a, 0x94, 0xb9, 0xb8, 0x43, 0x71, 0x29, 0x62, 0x41, 0x35, 0xc8, 0xd8, - 0x08, 0x8b, 0x1a, 0x56, 0x34, 0x83, 0xb0, 0x2a, 0xe2, 0x85, 0x29, 0x52, 0xe4, 0xe2, 0x74, 0xca, - 0xcf, 0xcf, 0xc1, 0xa2, 0x84, 0x03, 0xc9, 0x9c, 0xe0, 0x92, 0xa2, 0xcc, 0xbc, 0x74, 0x2c, 0x8a, - 0x38, 0x91, 0x1c, 0xe4, 0x54, 0x59, 0x92, 0x5a, 0x8c, 0x45, 0x0d, 0x0f, 0x54, 0x8d, 0x53, 0x0d, - 0x97, 0x70, 0x72, 0x7e, 0xae, 0x1e, 0x5a, 0xe8, 0x3a, 0xf1, 0x86, 0x43, 0x83, 0x3f, 0x00, 0x24, - 0x12, 0xc0, 0x18, 0xa5, 0x95, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x9f, - 0x9e, 0x9f, 0x93, 0x98, 0x97, 0x8e, 0x88, 0xaa, 0x82, 0x92, 0xca, 0x82, 0xd4, 0x62, 0x78, 0x8c, - 0xfd, 0x60, 0x64, 0x5c, 0xc4, 0xc4, 0xec, 0x1e, 0xe0, 0xb4, 0x8a, 0x49, 0xce, 0x1d, 0x62, 0x6e, - 0x00, 0x54, 0xa9, 0x5e, 0x78, 0x6a, 0x4e, 0x8e, 0x77, 0x5e, 0x7e, 0x79, 0x5e, 0x08, 0x48, 0x4b, - 0x12, 0x1b, 0xd8, 0x0c, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x19, 0x6c, 0xb9, 0xb8, 0xfe, - 0x01, 0x00, 0x00, -} diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/bin/.gitignore b/vendor/github.com/grpc-ecosystem/grpc-gateway/bin/.gitignore deleted file mode 100644 index f20d08cf..00000000 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/bin/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/protoc-gen-go -/protoc-gen-grpc-gateway -/protoc-gen-swagger diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/browser/bin/.gitignore b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/browser/bin/.gitignore deleted file mode 100644 index a68d087b..00000000 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/browser/bin/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/* -!/.gitignore 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 deleted file mode 100644 index 9225dfd1..00000000 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/pbwrappers/helloworld/helloworld.pb.go +++ /dev/null @@ -1,288 +0,0 @@ -// 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, 0xcd, 0x8a, 0xd4, 0x40, - 0x14, 0x85, 0xe9, 0xd8, 0xf6, 0x4f, 0x8d, 0x0b, 0x29, 0xa4, 0x09, 0xb1, 0x91, 0xa1, 0x17, 0x32, - 0xab, 0x04, 0x7a, 0x9a, 0x11, 0x5c, 0x0e, 0xe2, 0xcf, 0x36, 0x83, 0xb3, 0xe8, 0x5d, 0x85, 0xb9, - 0xd3, 0x06, 0x6a, 0x52, 0xb1, 0x7e, 0x1c, 0xc2, 0x90, 0x8d, 0x3b, 0x77, 0x82, 0xef, 0xe0, 0xeb, - 0xb8, 0x70, 0xe9, 0xd6, 0x07, 0x91, 0xba, 0xa9, 0x4a, 0x45, 0xc6, 0xb8, 0x4b, 0xe5, 0x9c, 0xef, - 0x9e, 0x4a, 0xee, 0x21, 0x8f, 0x3f, 0x00, 0xe7, 0xe2, 0x56, 0x48, 0x7e, 0x95, 0xd6, 0x52, 0x68, - 0x41, 0x49, 0x78, 0x93, 0xac, 0x0f, 0x42, 0x1c, 0x38, 0x64, 0xac, 0x2e, 0x33, 0x56, 0x55, 0x42, - 0x33, 0x5d, 0x8a, 0x4a, 0x75, 0xce, 0xe4, 0x99, 0x53, 0xf1, 0x54, 0x98, 0xeb, 0xec, 0x56, 0xb2, - 0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 0x21, 0xae, 0x27, 0x35, 0x6f, 0x68, 0x4c, 0xe6, 0x37, 0xa0, 0x14, - 0x3b, 0xf8, 0xa2, 0xf8, 0xe3, 0xf6, 0x57, 0x44, 0xe6, 0x6f, 0x24, 0x80, 0x06, 0x49, 0x7f, 0x44, - 0x64, 0x71, 0xc1, 0x1a, 0xe4, 0x68, 0x9c, 0x0e, 0x6a, 0x3c, 0xac, 0x5c, 0xb2, 0xfa, 0x87, 0x52, - 0xf3, 0x66, 0xf3, 0x35, 0xfa, 0xfc, 0xf3, 0xf7, 0xb7, 0xe8, 0x4b, 0x44, 0x8f, 0x32, 0xc5, 0x9a, - 0xec, 0xce, 0x96, 0xb1, 0xdd, 0xaf, 0xe8, 0x13, 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 deleted file mode 100644 index c09fe741..00000000 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/pbwrappers/helloworld/helloworld.pb.gw.go +++ /dev/null @@ -1,664 +0,0 @@ -// 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/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 deleted file mode 100644 index 7cc2c720..00000000 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/a_bit_of_everything.pb.go +++ /dev/null @@ -1,1877 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: examples/proto/examplepb/a_bit_of_everything.proto - -package examplepb - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -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" - 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 - -// NumericEnum is one or zero. -type NumericEnum int32 - -const ( - // ZERO means 0 - NumericEnum_ZERO NumericEnum = 0 - // ONE means 1 - NumericEnum_ONE NumericEnum = 1 -) - -var NumericEnum_name = map[int32]string{ - 0: "ZERO", - 1: "ONE", -} -var NumericEnum_value = map[string]int32{ - "ZERO": 0, - "ONE": 1, -} - -func (x NumericEnum) String() string { - return proto.EnumName(NumericEnum_name, int32(x)) -} -func (NumericEnum) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a_bit_of_everything_e0089283b92675c0, []int{0} -} - -// DeepEnum is one or zero. -type ABitOfEverything_Nested_DeepEnum int32 - -const ( - // FALSE is false. - ABitOfEverything_Nested_FALSE ABitOfEverything_Nested_DeepEnum = 0 - // TRUE is true. - ABitOfEverything_Nested_TRUE ABitOfEverything_Nested_DeepEnum = 1 -) - -var ABitOfEverything_Nested_DeepEnum_name = map[int32]string{ - 0: "FALSE", - 1: "TRUE", -} -var ABitOfEverything_Nested_DeepEnum_value = map[string]int32{ - "FALSE": 0, - "TRUE": 1, -} - -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_e0089283b92675c0, []int{0, 0, 0} -} - -// Intentionally complicated message type to cover many features of Protobuf. -type ABitOfEverything struct { - 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,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,proto3,enum=grpc.gateway.examples.examplepb.NumericEnum" json:"repeated_enum_value,omitempty"` - // repeated numeric enum comment (This comment is overridden by the field annotation) - RepeatedEnumAnnotation []NumericEnum `protobuf:"varint,32,rep,packed,name=repeated_enum_annotation,json=repeatedEnumAnnotation,proto3,enum=grpc.gateway.examples.examplepb.NumericEnum" json:"repeated_enum_annotation,omitempty"` - // numeric enum comment (This comment is overridden by the field annotation) - EnumValueAnnotation NumericEnum `protobuf:"varint,33,opt,name=enum_value_annotation,json=enumValueAnnotation,proto3,enum=grpc.gateway.examples.examplepb.NumericEnum" json:"enum_value_annotation,omitempty"` - // repeated string comment (This comment is overridden by the field annotation) - RepeatedStringAnnotation []string `protobuf:"bytes,34,rep,name=repeated_string_annotation,json=repeatedStringAnnotation,proto3" json:"repeated_string_annotation,omitempty"` - // repeated nested object comment (This comment is overridden by the field annotation) - RepeatedNestedAnnotation []*ABitOfEverything_Nested `protobuf:"bytes,35,rep,name=repeated_nested_annotation,json=repeatedNestedAnnotation,proto3" json:"repeated_nested_annotation,omitempty"` - // nested object comments (This comment is overridden by the field annotation) - NestedAnnotation *ABitOfEverything_Nested `protobuf:"bytes,36,opt,name=nested_annotation,json=nestedAnnotation,proto3" json:"nested_annotation,omitempty"` - Int64OverrideType int64 `protobuf:"varint,37,opt,name=int64_override_type,json=int64OverrideType,proto3" json:"int64_override_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e0089283b92675c0, []int{0} -} -func (m *ABitOfEverything) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ABitOfEverything.Unmarshal(m, b) -} -func (m *ABitOfEverything) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ABitOfEverything.Marshal(b, m, deterministic) -} -func (dst *ABitOfEverything) XXX_Merge(src proto.Message) { - xxx_messageInfo_ABitOfEverything.Merge(dst, src) -} -func (m *ABitOfEverything) XXX_Size() int { - return xxx_messageInfo_ABitOfEverything.Size(m) -} -func (m *ABitOfEverything) XXX_DiscardUnknown() { - xxx_messageInfo_ABitOfEverything.DiscardUnknown(m) -} - -var xxx_messageInfo_ABitOfEverything proto.InternalMessageInfo - -func (m *ABitOfEverything) GetSingleNested() *ABitOfEverything_Nested { - if m != nil { - return m.SingleNested - } - return nil -} - -func (m *ABitOfEverything) GetUuid() string { - if m != nil { - return m.Uuid - } - return "" -} - -func (m *ABitOfEverything) GetNested() []*ABitOfEverything_Nested { - if m != nil { - return m.Nested - } - return nil -} - -func (m *ABitOfEverything) GetFloatValue() float32 { - if m != nil { - return m.FloatValue - } - return 0 -} - -func (m *ABitOfEverything) GetDoubleValue() float64 { - if m != nil { - return m.DoubleValue - } - return 0 -} - -func (m *ABitOfEverything) GetInt64Value() int64 { - if m != nil { - return m.Int64Value - } - return 0 -} - -func (m *ABitOfEverything) GetUint64Value() uint64 { - if m != nil { - return m.Uint64Value - } - return 0 -} - -func (m *ABitOfEverything) GetInt32Value() int32 { - if m != nil { - return m.Int32Value - } - return 0 -} - -func (m *ABitOfEverything) GetFixed64Value() uint64 { - if m != nil { - return m.Fixed64Value - } - return 0 -} - -func (m *ABitOfEverything) GetFixed32Value() uint32 { - if m != nil { - return m.Fixed32Value - } - return 0 -} - -func (m *ABitOfEverything) GetBoolValue() bool { - if m != nil { - return m.BoolValue - } - return false -} - -func (m *ABitOfEverything) GetStringValue() string { - if m != nil { - return m.StringValue - } - return "" -} - -func (m *ABitOfEverything) GetBytesValue() []byte { - if m != nil { - return m.BytesValue - } - return nil -} - -func (m *ABitOfEverything) GetUint32Value() uint32 { - if m != nil { - return m.Uint32Value - } - return 0 -} - -func (m *ABitOfEverything) GetEnumValue() NumericEnum { - if m != nil { - return m.EnumValue - } - 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 - } - return 0 -} - -func (m *ABitOfEverything) GetSfixed64Value() int64 { - if m != nil { - return m.Sfixed64Value - } - return 0 -} - -func (m *ABitOfEverything) GetSint32Value() int32 { - if m != nil { - return m.Sint32Value - } - return 0 -} - -func (m *ABitOfEverything) GetSint64Value() int64 { - if m != nil { - return m.Sint64Value - } - return 0 -} - -func (m *ABitOfEverything) GetRepeatedStringValue() []string { - if m != nil { - return m.RepeatedStringValue - } - 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 - } - return nil -} - -func (m *ABitOfEverything) GetOneofString() string { - if x, ok := m.GetOneofValue().(*ABitOfEverything_OneofString); ok { - return x.OneofString - } - return "" -} - -func (m *ABitOfEverything) GetMapValue() map[string]NumericEnum { - if m != nil { - return m.MapValue - } - return nil -} - -func (m *ABitOfEverything) GetMappedStringValue() map[string]string { - if m != nil { - return m.MappedStringValue - } - return nil -} - -func (m *ABitOfEverything) GetMappedNestedValue() map[string]*ABitOfEverything_Nested { - if m != nil { - return m.MappedNestedValue - } - return nil -} - -func (m *ABitOfEverything) GetNonConventionalNameValue() string { - if m != nil { - return m.NonConventionalNameValue - } - return "" -} - -func (m *ABitOfEverything) GetTimestampValue() *timestamp.Timestamp { - if m != nil { - return m.TimestampValue - } - return nil -} - -func (m *ABitOfEverything) GetRepeatedEnumValue() []NumericEnum { - if m != nil { - return m.RepeatedEnumValue - } - return nil -} - -func (m *ABitOfEverything) GetRepeatedEnumAnnotation() []NumericEnum { - if m != nil { - return m.RepeatedEnumAnnotation - } - return nil -} - -func (m *ABitOfEverything) GetEnumValueAnnotation() NumericEnum { - if m != nil { - return m.EnumValueAnnotation - } - return NumericEnum_ZERO -} - -func (m *ABitOfEverything) GetRepeatedStringAnnotation() []string { - if m != nil { - return m.RepeatedStringAnnotation - } - return nil -} - -func (m *ABitOfEverything) GetRepeatedNestedAnnotation() []*ABitOfEverything_Nested { - if m != nil { - return m.RepeatedNestedAnnotation - } - return nil -} - -func (m *ABitOfEverything) GetNestedAnnotation() *ABitOfEverything_Nested { - if m != nil { - return m.NestedAnnotation - } - return nil -} - -func (m *ABitOfEverything) GetInt64OverrideType() int64 { - if m != nil { - return m.Int64OverrideType - } - return 0 -} - -// XXX_OneofFuncs is for the internal use of the proto package. -func (*ABitOfEverything) 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 _ABitOfEverything_OneofMarshaler, _ABitOfEverything_OneofUnmarshaler, _ABitOfEverything_OneofSizer, []interface{}{ - (*ABitOfEverything_OneofEmpty)(nil), - (*ABitOfEverything_OneofString)(nil), - } -} - -func _ABitOfEverything_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*ABitOfEverything) - // oneof_value - switch x := m.OneofValue.(type) { - case *ABitOfEverything_OneofEmpty: - b.EncodeVarint(20<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.OneofEmpty); err != nil { - return err - } - case *ABitOfEverything_OneofString: - b.EncodeVarint(21<<3 | proto.WireBytes) - b.EncodeStringBytes(x.OneofString) - case nil: - default: - return fmt.Errorf("ABitOfEverything.OneofValue has unexpected type %T", x) - } - return nil -} - -func _ABitOfEverything_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*ABitOfEverything) - switch tag { - case 20: // oneof_value.oneof_empty - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(empty.Empty) - err := b.DecodeMessage(msg) - m.OneofValue = &ABitOfEverything_OneofEmpty{msg} - return true, err - case 21: // oneof_value.oneof_string - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.OneofValue = &ABitOfEverything_OneofString{x} - return true, err - default: - return false, nil - } -} - -func _ABitOfEverything_OneofSizer(msg proto.Message) (n int) { - m := msg.(*ABitOfEverything) - // oneof_value - switch x := m.OneofValue.(type) { - case *ABitOfEverything_OneofEmpty: - s := proto.Size(x.OneofEmpty) - n += 2 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *ABitOfEverything_OneofString: - n += 2 // tag and wire - n += proto.SizeVarint(uint64(len(x.OneofString))) - n += len(x.OneofString) - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - -// Nested is nested type. -type ABitOfEverything_Nested struct { - // name is nested field. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Amount uint32 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` - // DeepEnum comment. - 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:"-"` -} - -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_e0089283b92675c0, []int{0, 0} -} -func (m *ABitOfEverything_Nested) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ABitOfEverything_Nested.Unmarshal(m, b) -} -func (m *ABitOfEverything_Nested) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ABitOfEverything_Nested.Marshal(b, m, deterministic) -} -func (dst *ABitOfEverything_Nested) XXX_Merge(src proto.Message) { - xxx_messageInfo_ABitOfEverything_Nested.Merge(dst, src) -} -func (m *ABitOfEverything_Nested) XXX_Size() int { - return xxx_messageInfo_ABitOfEverything_Nested.Size(m) -} -func (m *ABitOfEverything_Nested) XXX_DiscardUnknown() { - xxx_messageInfo_ABitOfEverything_Nested.DiscardUnknown(m) -} - -var xxx_messageInfo_ABitOfEverything_Nested proto.InternalMessageInfo - -func (m *ABitOfEverything_Nested) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ABitOfEverything_Nested) GetAmount() uint32 { - if m != nil { - return m.Amount - } - return 0 -} - -func (m *ABitOfEverything_Nested) GetOk() ABitOfEverything_Nested_DeepEnum { - if m != nil { - return m.Ok - } - 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_e0089283b92675c0, []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,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e0089283b92675c0, []int{2} -} -func (m *Body) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Body.Unmarshal(m, b) -} -func (m *Body) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Body.Marshal(b, m, deterministic) -} -func (dst *Body) XXX_Merge(src proto.Message) { - xxx_messageInfo_Body.Merge(dst, src) -} -func (m *Body) XXX_Size() int { - return xxx_messageInfo_Body.Size(m) -} -func (m *Body) XXX_DiscardUnknown() { - xxx_messageInfo_Body.DiscardUnknown(m) -} - -var xxx_messageInfo_Body proto.InternalMessageInfo - -func (m *Body) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -type MessageWithBody struct { - 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:"-"` -} - -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_e0089283b92675c0, []int{3} -} -func (m *MessageWithBody) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MessageWithBody.Unmarshal(m, b) -} -func (m *MessageWithBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MessageWithBody.Marshal(b, m, deterministic) -} -func (dst *MessageWithBody) XXX_Merge(src proto.Message) { - xxx_messageInfo_MessageWithBody.Merge(dst, src) -} -func (m *MessageWithBody) XXX_Size() int { - return xxx_messageInfo_MessageWithBody.Size(m) -} -func (m *MessageWithBody) XXX_DiscardUnknown() { - xxx_messageInfo_MessageWithBody.DiscardUnknown(m) -} - -var xxx_messageInfo_MessageWithBody proto.InternalMessageInfo - -func (m *MessageWithBody) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *MessageWithBody) GetData() *Body { - if m != nil { - return m.Data - } - 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_e0089283b92675c0, []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) -} - -// 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 - -// ABitOfEverythingServiceClient is the client API for ABitOfEverythingService service. -// -// 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) - 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. - // - // This makes it useful when validating that the OpenAPI v2 API - // description exposes documentation correctly on all paths - // defined as additional_bindings in the proto. - Echo(ctx context.Context, in *sub.StringMessage, opts ...grpc.CallOption) (*sub.StringMessage, error) - DeepPathEcho(ctx context.Context, in *ABitOfEverything, opts ...grpc.CallOption) (*ABitOfEverything, error) - NoBindings(ctx context.Context, in *duration.Duration, opts ...grpc.CallOption) (*empty.Empty, error) - Timeout(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) - ErrorWithDetails(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) - GetMessageWithBody(ctx context.Context, in *MessageWithBody, opts ...grpc.CallOption) (*empty.Empty, error) - PostWithEmptyBody(ctx context.Context, in *Body, opts ...grpc.CallOption) (*empty.Empty, error) - CheckGetQueryParams(ctx context.Context, in *ABitOfEverything, opts ...grpc.CallOption) (*ABitOfEverything, error) - CheckNestedEnumGetQueryParams(ctx context.Context, in *ABitOfEverything, opts ...grpc.CallOption) (*ABitOfEverything, error) - CheckPostQueryParams(ctx context.Context, in *ABitOfEverything, opts ...grpc.CallOption) (*ABitOfEverything, error) -} - -type aBitOfEverythingServiceClient struct { - cc *grpc.ClientConn -} - -func NewABitOfEverythingServiceClient(cc *grpc.ClientConn) ABitOfEverythingServiceClient { - return &aBitOfEverythingServiceClient{cc} -} - -func (c *aBitOfEverythingServiceClient) Create(ctx context.Context, in *ABitOfEverything, opts ...grpc.CallOption) (*ABitOfEverything, error) { - out := new(ABitOfEverything) - err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.ABitOfEverythingService/Create", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *aBitOfEverythingServiceClient) CreateBody(ctx context.Context, in *ABitOfEverything, opts ...grpc.CallOption) (*ABitOfEverything, error) { - out := new(ABitOfEverything) - err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.ABitOfEverythingService/CreateBody", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *aBitOfEverythingServiceClient) Lookup(ctx context.Context, in *sub2.IdMessage, opts ...grpc.CallOption) (*ABitOfEverything, error) { - out := new(ABitOfEverything) - err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.ABitOfEverythingService/Lookup", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *aBitOfEverythingServiceClient) Update(ctx context.Context, in *ABitOfEverything, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.ABitOfEverythingService/Update", in, out, opts...) - if err != nil { - return nil, err - } - 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) 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...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *aBitOfEverythingServiceClient) GetQuery(ctx context.Context, in *ABitOfEverything, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.ABitOfEverythingService/GetQuery", in, out, opts...) - if err != nil { - return nil, err - } - 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...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *aBitOfEverythingServiceClient) DeepPathEcho(ctx context.Context, in *ABitOfEverything, opts ...grpc.CallOption) (*ABitOfEverything, error) { - out := new(ABitOfEverything) - err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.ABitOfEverythingService/DeepPathEcho", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *aBitOfEverythingServiceClient) NoBindings(ctx context.Context, in *duration.Duration, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.ABitOfEverythingService/NoBindings", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *aBitOfEverythingServiceClient) Timeout(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.ABitOfEverythingService/Timeout", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *aBitOfEverythingServiceClient) ErrorWithDetails(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.ABitOfEverythingService/ErrorWithDetails", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *aBitOfEverythingServiceClient) GetMessageWithBody(ctx context.Context, in *MessageWithBody, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.ABitOfEverythingService/GetMessageWithBody", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *aBitOfEverythingServiceClient) PostWithEmptyBody(ctx context.Context, in *Body, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.ABitOfEverythingService/PostWithEmptyBody", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *aBitOfEverythingServiceClient) CheckGetQueryParams(ctx context.Context, in *ABitOfEverything, opts ...grpc.CallOption) (*ABitOfEverything, error) { - out := new(ABitOfEverything) - err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.ABitOfEverythingService/CheckGetQueryParams", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *aBitOfEverythingServiceClient) CheckNestedEnumGetQueryParams(ctx context.Context, in *ABitOfEverything, opts ...grpc.CallOption) (*ABitOfEverything, error) { - out := new(ABitOfEverything) - err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.ABitOfEverythingService/CheckNestedEnumGetQueryParams", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *aBitOfEverythingServiceClient) CheckPostQueryParams(ctx context.Context, in *ABitOfEverything, opts ...grpc.CallOption) (*ABitOfEverything, error) { - out := new(ABitOfEverything) - err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.ABitOfEverythingService/CheckPostQueryParams", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// 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) - 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. - // - // This makes it useful when validating that the OpenAPI v2 API - // description exposes documentation correctly on all paths - // defined as additional_bindings in the proto. - Echo(context.Context, *sub.StringMessage) (*sub.StringMessage, error) - DeepPathEcho(context.Context, *ABitOfEverything) (*ABitOfEverything, error) - NoBindings(context.Context, *duration.Duration) (*empty.Empty, error) - Timeout(context.Context, *empty.Empty) (*empty.Empty, error) - ErrorWithDetails(context.Context, *empty.Empty) (*empty.Empty, error) - GetMessageWithBody(context.Context, *MessageWithBody) (*empty.Empty, error) - PostWithEmptyBody(context.Context, *Body) (*empty.Empty, error) - CheckGetQueryParams(context.Context, *ABitOfEverything) (*ABitOfEverything, error) - CheckNestedEnumGetQueryParams(context.Context, *ABitOfEverything) (*ABitOfEverything, error) - CheckPostQueryParams(context.Context, *ABitOfEverything) (*ABitOfEverything, error) -} - -func RegisterABitOfEverythingServiceServer(s *grpc.Server, srv ABitOfEverythingServiceServer) { - s.RegisterService(&_ABitOfEverythingService_serviceDesc, srv) -} - -func _ABitOfEverythingService_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ABitOfEverything) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ABitOfEverythingServiceServer).Create(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.gateway.examples.examplepb.ABitOfEverythingService/Create", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ABitOfEverythingServiceServer).Create(ctx, req.(*ABitOfEverything)) - } - return interceptor(ctx, in, info, handler) -} - -func _ABitOfEverythingService_CreateBody_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ABitOfEverything) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ABitOfEverythingServiceServer).CreateBody(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.gateway.examples.examplepb.ABitOfEverythingService/CreateBody", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ABitOfEverythingServiceServer).CreateBody(ctx, req.(*ABitOfEverything)) - } - return interceptor(ctx, in, info, handler) -} - -func _ABitOfEverythingService_Lookup_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 { - return nil, err - } - if interceptor == nil { - return srv.(ABitOfEverythingServiceServer).Lookup(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.gateway.examples.examplepb.ABitOfEverythingService/Lookup", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ABitOfEverythingServiceServer).Lookup(ctx, req.(*sub2.IdMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _ABitOfEverythingService_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ABitOfEverything) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ABitOfEverythingServiceServer).Update(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.gateway.examples.examplepb.ABitOfEverythingService/Update", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ABitOfEverythingServiceServer).Update(ctx, req.(*ABitOfEverything)) - } - 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_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 { - return nil, err - } - if interceptor == nil { - return srv.(ABitOfEverythingServiceServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.gateway.examples.examplepb.ABitOfEverythingService/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ABitOfEverythingServiceServer).Delete(ctx, req.(*sub2.IdMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _ABitOfEverythingService_GetQuery_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ABitOfEverything) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ABitOfEverythingServiceServer).GetQuery(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.gateway.examples.examplepb.ABitOfEverythingService/GetQuery", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ABitOfEverythingServiceServer).GetQuery(ctx, req.(*ABitOfEverything)) - } - 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 { - return nil, err - } - if interceptor == nil { - return srv.(ABitOfEverythingServiceServer).Echo(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.gateway.examples.examplepb.ABitOfEverythingService/Echo", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ABitOfEverythingServiceServer).Echo(ctx, req.(*sub.StringMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _ABitOfEverythingService_DeepPathEcho_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ABitOfEverything) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ABitOfEverythingServiceServer).DeepPathEcho(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.gateway.examples.examplepb.ABitOfEverythingService/DeepPathEcho", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ABitOfEverythingServiceServer).DeepPathEcho(ctx, req.(*ABitOfEverything)) - } - return interceptor(ctx, in, info, handler) -} - -func _ABitOfEverythingService_NoBindings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(duration.Duration) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ABitOfEverythingServiceServer).NoBindings(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.gateway.examples.examplepb.ABitOfEverythingService/NoBindings", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ABitOfEverythingServiceServer).NoBindings(ctx, req.(*duration.Duration)) - } - return interceptor(ctx, in, info, handler) -} - -func _ABitOfEverythingService_Timeout_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.(ABitOfEverythingServiceServer).Timeout(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.gateway.examples.examplepb.ABitOfEverythingService/Timeout", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ABitOfEverythingServiceServer).Timeout(ctx, req.(*empty.Empty)) - } - return interceptor(ctx, in, info, handler) -} - -func _ABitOfEverythingService_ErrorWithDetails_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.(ABitOfEverythingServiceServer).ErrorWithDetails(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.gateway.examples.examplepb.ABitOfEverythingService/ErrorWithDetails", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ABitOfEverythingServiceServer).ErrorWithDetails(ctx, req.(*empty.Empty)) - } - return interceptor(ctx, in, info, handler) -} - -func _ABitOfEverythingService_GetMessageWithBody_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MessageWithBody) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ABitOfEverythingServiceServer).GetMessageWithBody(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.gateway.examples.examplepb.ABitOfEverythingService/GetMessageWithBody", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ABitOfEverythingServiceServer).GetMessageWithBody(ctx, req.(*MessageWithBody)) - } - return interceptor(ctx, in, info, handler) -} - -func _ABitOfEverythingService_PostWithEmptyBody_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Body) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ABitOfEverythingServiceServer).PostWithEmptyBody(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.gateway.examples.examplepb.ABitOfEverythingService/PostWithEmptyBody", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ABitOfEverythingServiceServer).PostWithEmptyBody(ctx, req.(*Body)) - } - return interceptor(ctx, in, info, handler) -} - -func _ABitOfEverythingService_CheckGetQueryParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ABitOfEverything) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ABitOfEverythingServiceServer).CheckGetQueryParams(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.gateway.examples.examplepb.ABitOfEverythingService/CheckGetQueryParams", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ABitOfEverythingServiceServer).CheckGetQueryParams(ctx, req.(*ABitOfEverything)) - } - return interceptor(ctx, in, info, handler) -} - -func _ABitOfEverythingService_CheckNestedEnumGetQueryParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ABitOfEverything) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ABitOfEverythingServiceServer).CheckNestedEnumGetQueryParams(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.gateway.examples.examplepb.ABitOfEverythingService/CheckNestedEnumGetQueryParams", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ABitOfEverythingServiceServer).CheckNestedEnumGetQueryParams(ctx, req.(*ABitOfEverything)) - } - return interceptor(ctx, in, info, handler) -} - -func _ABitOfEverythingService_CheckPostQueryParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ABitOfEverything) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ABitOfEverythingServiceServer).CheckPostQueryParams(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.gateway.examples.examplepb.ABitOfEverythingService/CheckPostQueryParams", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ABitOfEverythingServiceServer).CheckPostQueryParams(ctx, req.(*ABitOfEverything)) - } - return interceptor(ctx, in, info, handler) -} - -var _ABitOfEverythingService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "grpc.gateway.examples.examplepb.ABitOfEverythingService", - HandlerType: (*ABitOfEverythingServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Create", - Handler: _ABitOfEverythingService_Create_Handler, - }, - { - MethodName: "CreateBody", - Handler: _ABitOfEverythingService_CreateBody_Handler, - }, - { - MethodName: "Lookup", - Handler: _ABitOfEverythingService_Lookup_Handler, - }, - { - MethodName: "Update", - Handler: _ABitOfEverythingService_Update_Handler, - }, - { - MethodName: "UpdateV2", - Handler: _ABitOfEverythingService_UpdateV2_Handler, - }, - { - MethodName: "Delete", - Handler: _ABitOfEverythingService_Delete_Handler, - }, - { - MethodName: "GetQuery", - Handler: _ABitOfEverythingService_GetQuery_Handler, - }, - { - MethodName: "GetRepeatedQuery", - Handler: _ABitOfEverythingService_GetRepeatedQuery_Handler, - }, - { - MethodName: "Echo", - Handler: _ABitOfEverythingService_Echo_Handler, - }, - { - MethodName: "DeepPathEcho", - Handler: _ABitOfEverythingService_DeepPathEcho_Handler, - }, - { - MethodName: "NoBindings", - Handler: _ABitOfEverythingService_NoBindings_Handler, - }, - { - MethodName: "Timeout", - Handler: _ABitOfEverythingService_Timeout_Handler, - }, - { - MethodName: "ErrorWithDetails", - Handler: _ABitOfEverythingService_ErrorWithDetails_Handler, - }, - { - MethodName: "GetMessageWithBody", - Handler: _ABitOfEverythingService_GetMessageWithBody_Handler, - }, - { - MethodName: "PostWithEmptyBody", - Handler: _ABitOfEverythingService_PostWithEmptyBody_Handler, - }, - { - MethodName: "CheckGetQueryParams", - Handler: _ABitOfEverythingService_CheckGetQueryParams_Handler, - }, - { - MethodName: "CheckNestedEnumGetQueryParams", - Handler: _ABitOfEverythingService_CheckNestedEnumGetQueryParams_Handler, - }, - { - MethodName: "CheckPostQueryParams", - Handler: _ABitOfEverythingService_CheckPostQueryParams_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "examples/proto/examplepb/a_bit_of_everything.proto", -} - -// CamelCaseServiceNameClient is the client API for CamelCaseServiceName service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type CamelCaseServiceNameClient interface { - Empty(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) -} - -type camelCaseServiceNameClient struct { - cc *grpc.ClientConn -} - -func NewCamelCaseServiceNameClient(cc *grpc.ClientConn) CamelCaseServiceNameClient { - return &camelCaseServiceNameClient{cc} -} - -func (c *camelCaseServiceNameClient) Empty(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.camelCaseServiceName/Empty", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// CamelCaseServiceNameServer is the server API for CamelCaseServiceName service. -type CamelCaseServiceNameServer interface { - Empty(context.Context, *empty.Empty) (*empty.Empty, error) -} - -func RegisterCamelCaseServiceNameServer(s *grpc.Server, srv CamelCaseServiceNameServer) { - s.RegisterService(&_CamelCaseServiceName_serviceDesc, srv) -} - -func _CamelCaseServiceName_Empty_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.(CamelCaseServiceNameServer).Empty(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.gateway.examples.examplepb.camelCaseServiceName/Empty", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CamelCaseServiceNameServer).Empty(ctx, req.(*empty.Empty)) - } - return interceptor(ctx, in, info, handler) -} - -var _CamelCaseServiceName_serviceDesc = grpc.ServiceDesc{ - ServiceName: "grpc.gateway.examples.examplepb.camelCaseServiceName", - HandlerType: (*CamelCaseServiceNameServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Empty", - Handler: _CamelCaseServiceName_Empty_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "examples/proto/examplepb/a_bit_of_everything.proto", -} - -// AnotherServiceWithNoBindingsClient is the client API for AnotherServiceWithNoBindings service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AnotherServiceWithNoBindingsClient interface { - NoBindings(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) -} - -type anotherServiceWithNoBindingsClient struct { - cc *grpc.ClientConn -} - -func NewAnotherServiceWithNoBindingsClient(cc *grpc.ClientConn) AnotherServiceWithNoBindingsClient { - return &anotherServiceWithNoBindingsClient{cc} -} - -func (c *anotherServiceWithNoBindingsClient) NoBindings(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.AnotherServiceWithNoBindings/NoBindings", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AnotherServiceWithNoBindingsServer is the server API for AnotherServiceWithNoBindings service. -type AnotherServiceWithNoBindingsServer interface { - NoBindings(context.Context, *empty.Empty) (*empty.Empty, error) -} - -func RegisterAnotherServiceWithNoBindingsServer(s *grpc.Server, srv AnotherServiceWithNoBindingsServer) { - s.RegisterService(&_AnotherServiceWithNoBindings_serviceDesc, srv) -} - -func _AnotherServiceWithNoBindings_NoBindings_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.(AnotherServiceWithNoBindingsServer).NoBindings(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.gateway.examples.examplepb.AnotherServiceWithNoBindings/NoBindings", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AnotherServiceWithNoBindingsServer).NoBindings(ctx, req.(*empty.Empty)) - } - return interceptor(ctx, in, info, handler) -} - -var _AnotherServiceWithNoBindings_serviceDesc = grpc.ServiceDesc{ - ServiceName: "grpc.gateway.examples.examplepb.AnotherServiceWithNoBindings", - HandlerType: (*AnotherServiceWithNoBindingsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "NoBindings", - Handler: _AnotherServiceWithNoBindings_NoBindings_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "examples/proto/examplepb/a_bit_of_everything.proto", -} - -func init() { - proto.RegisterFile("examples/proto/examplepb/a_bit_of_everything.proto", fileDescriptor_a_bit_of_everything_e0089283b92675c0) -} - -var fileDescriptor_a_bit_of_everything_e0089283b92675c0 = []byte{ - // 3529 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0x4d, 0x6c, 0x1b, 0xc7, - 0x7e, 0xd7, 0x72, 0x25, 0x59, 0x1a, 0x7d, 0x8f, 0x2c, 0x5b, 0xa6, 0x95, 0x68, 0x4c, 0x3b, 0x2f, - 0x6b, 0x3e, 0x93, 0x2b, 0xad, 0x94, 0xc4, 0x66, 0xfa, 0x92, 0x90, 0x92, 0xec, 0xc8, 0x4e, 0x64, - 0x65, 0xed, 0xb8, 0xa9, 0x5f, 0xfc, 0xd4, 0x21, 0x39, 0x14, 0xd7, 0xe2, 0xee, 0xec, 0xdb, 0x9d, - 0x95, 0x45, 0xab, 0x6c, 0x1f, 0xda, 0xa2, 0x05, 0xfa, 0x6e, 0x7c, 0xfd, 0x7e, 0x68, 0x2f, 0x45, - 0x51, 0xa0, 0xe8, 0xa9, 0x40, 0x4f, 0x05, 0xda, 0x4b, 0x6f, 0x3d, 0xb4, 0x48, 0x81, 0xa2, 0x87, - 0xf6, 0xd4, 0x9e, 0x7b, 0x69, 0x11, 0xa0, 0x87, 0x7e, 0x60, 0x66, 0x77, 0xc9, 0xdd, 0x25, 0x69, - 0x99, 0x76, 0x91, 0xe4, 0x10, 0xef, 0xcc, 0xfc, 0x3f, 0x7e, 0xff, 0x99, 0xff, 0xfc, 0x3f, 0x86, - 0x02, 0x1a, 0x39, 0xc1, 0xa6, 0xdd, 0x20, 0xae, 0x6a, 0x3b, 0x94, 0x51, 0x35, 0x18, 0xda, 0x65, - 0x15, 0x1f, 0x94, 0x0d, 0x76, 0x40, 0x6b, 0x07, 0xe4, 0x98, 0x38, 0x4d, 0x56, 0x37, 0xac, 0xc3, - 0xbc, 0xa0, 0x81, 0xab, 0x87, 0x8e, 0x5d, 0xc9, 0x1f, 0x62, 0x46, 0x9e, 0xe1, 0x66, 0x3e, 0x14, - 0x90, 0xef, 0xb0, 0xa6, 0x57, 0x0e, 0x29, 0x3d, 0x6c, 0x10, 0x15, 0xdb, 0x86, 0x8a, 0x2d, 0x8b, - 0x32, 0xcc, 0x0c, 0x6a, 0xb9, 0x3e, 0x7b, 0x1a, 0x05, 0xab, 0x62, 0x54, 0xf6, 0x6a, 0x6a, 0xcd, - 0x20, 0x8d, 0xea, 0x81, 0x89, 0xdd, 0xa3, 0x80, 0xe2, 0x72, 0x92, 0x82, 0x98, 0x36, 0x6b, 0x06, - 0x8b, 0x6f, 0x26, 0x17, 0xab, 0x9e, 0x23, 0xe4, 0x07, 0xeb, 0x6f, 0x27, 0x2c, 0xb2, 0x31, 0xab, - 0x13, 0xcb, 0x33, 0xc5, 0xc7, 0x01, 0xff, 0x0a, 0x71, 0x24, 0x08, 0x5d, 0xaf, 0xac, 0x9a, 0xc4, - 0x75, 0xf1, 0x21, 0x09, 0x28, 0xae, 0xf4, 0x52, 0x68, 0x09, 0x92, 0xd5, 0x24, 0x1a, 0x66, 0x98, - 0xc4, 0x65, 0xd8, 0xb4, 0x03, 0x82, 0x1b, 0xe2, 0x9f, 0x4a, 0xee, 0x90, 0x58, 0x39, 0xf7, 0x19, - 0x3e, 0x3c, 0x24, 0x8e, 0x4a, 0x6d, 0xb1, 0x1f, 0xbd, 0x7b, 0x93, 0xf9, 0xfb, 0xcb, 0x60, 0xbe, - 0x58, 0x32, 0xd8, 0xfd, 0xda, 0x4e, 0x67, 0xd7, 0xe1, 0x13, 0x30, 0xe3, 0x1a, 0xd6, 0x61, 0x83, - 0x1c, 0x58, 0xc4, 0x65, 0xa4, 0xba, 0x7c, 0x09, 0x49, 0xca, 0x94, 0x76, 0x33, 0x7f, 0xc6, 0x39, - 0xe4, 0x93, 0x92, 0xf2, 0x7b, 0x82, 0x5f, 0x9f, 0xf6, 0xc5, 0xf9, 0x23, 0x58, 0x07, 0xa3, 0x9e, - 0x67, 0x54, 0x97, 0x25, 0x24, 0x29, 0x93, 0xa5, 0x87, 0xed, 0xe2, 0x67, 0x3f, 0x92, 0xa4, 0xdf, - 0x90, 0xee, 0x7d, 0x1f, 0xe7, 0x6a, 0xc5, 0xdc, 0xed, 0xb5, 0xdc, 0xad, 0x27, 0xa7, 0x37, 0x5b, - 0xb9, 0xe8, 0x70, 0x73, 0x98, 0xe1, 0xba, 0xd6, 0xd2, 0x85, 0x06, 0xb8, 0x0f, 0xc6, 0x03, 0x0b, - 0x52, 0x48, 0x7e, 0x2d, 0x0b, 0x02, 0x39, 0xf0, 0x2e, 0x98, 0xaa, 0x35, 0x28, 0x66, 0x07, 0xc7, - 0xb8, 0xe1, 0x91, 0x65, 0x19, 0x49, 0x4a, 0xaa, 0x74, 0xbd, 0x5d, 0xfc, 0x8e, 0xb6, 0x70, 0x9b, - 0xcf, 0x23, 0x31, 0x8f, 0x84, 0x87, 0x15, 0xe4, 0xb5, 0xbc, 0xf6, 0x95, 0x14, 0x65, 0xd0, 0x81, - 0x18, 0x3c, 0xe2, 0xdf, 0xf0, 0x0a, 0x98, 0xae, 0x52, 0xaf, 0xdc, 0x20, 0x81, 0xb0, 0x51, 0x24, - 0x29, 0x92, 0x3e, 0xe5, 0xcf, 0xf9, 0x24, 0xab, 0x60, 0xca, 0xb0, 0xd8, 0xbb, 0x9b, 0x01, 0xc5, - 0x18, 0x92, 0x14, 0x59, 0x07, 0x62, 0xaa, 0x23, 0xc3, 0x8b, 0x52, 0x8c, 0x23, 0x49, 0x19, 0xd5, - 0xa7, 0xbc, 0x08, 0x89, 0x2f, 0x63, 0x43, 0x0b, 0x28, 0xce, 0x21, 0x49, 0x19, 0x13, 0x32, 0x36, - 0x34, 0x9f, 0xe0, 0x2a, 0x98, 0xa9, 0x19, 0x27, 0xa4, 0xda, 0x11, 0x32, 0x81, 0x24, 0x65, 0x5c, - 0x9f, 0x0e, 0x26, 0xe3, 0x44, 0x1d, 0x39, 0x93, 0x48, 0x52, 0xce, 0x05, 0x44, 0xa1, 0xa4, 0x37, - 0x00, 0x28, 0x53, 0xda, 0x08, 0x28, 0x00, 0x92, 0x94, 0x09, 0x7d, 0x92, 0xcf, 0x74, 0xc0, 0xba, - 0xcc, 0x31, 0xac, 0xc3, 0x80, 0x60, 0x8a, 0x3b, 0x80, 0x3e, 0xe5, 0xcf, 0x75, 0xc0, 0x96, 0x9b, - 0x8c, 0xb8, 0x01, 0xc5, 0x1b, 0x48, 0x52, 0xa6, 0x75, 0x20, 0xa6, 0x62, 0x06, 0x77, 0x60, 0xcc, - 0x20, 0x49, 0x99, 0xf1, 0x0d, 0x0e, 0x51, 0xdc, 0x03, 0x80, 0xdf, 0xba, 0x80, 0x60, 0x16, 0x49, - 0xca, 0xac, 0x76, 0xe3, 0xcc, 0x93, 0xdf, 0xf3, 0x4c, 0xe2, 0x18, 0x95, 0x1d, 0xcb, 0x33, 0xf5, - 0x49, 0xce, 0xef, 0x0b, 0xdb, 0x07, 0x73, 0x9d, 0x7b, 0x1c, 0x48, 0x7c, 0x53, 0x48, 0x54, 0x06, - 0x48, 0x0c, 0xaf, 0x7f, 0x7e, 0x1f, 0xb3, 0xba, 0x90, 0x36, 0x63, 0x07, 0x5f, 0xbe, 0x44, 0x17, - 0x5c, 0xf0, 0x9d, 0xe9, 0x20, 0x29, 0x78, 0x55, 0x08, 0xfe, 0xe0, 0x2c, 0xc1, 0x9f, 0xfa, 0x01, - 0x21, 0x94, 0x1f, 0xb8, 0x68, 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 0x93, 0x05, 0xc2, 0xea, 0x60, - 0x7e, 0xc7, 0x71, 0xa8, 0xc3, 0xbb, 0xa1, 0x6d, 0xc2, 0xb0, 0xd1, 0x70, 0x87, 0x56, 0x70, 0x4d, - 0x28, 0x78, 0x13, 0xae, 0xc4, 0x0e, 0x8c, 0x4b, 0x7d, 0x66, 0xb0, 0x7a, 0x35, 0x90, 0xfa, 0xeb, - 0x12, 0x80, 0x77, 0x08, 0x4b, 0x76, 0x5f, 0x67, 0x17, 0x2e, 0x09, 0x8e, 0x81, 0x30, 0xde, 0x16, - 0x30, 0xae, 0x64, 0x2e, 0x45, 0x61, 0x70, 0x04, 0x65, 0x5a, 0x6d, 0xaa, 0xa7, 0xbc, 0x7c, 0x10, - 0x5d, 0x1a, 0xfc, 0x15, 0x09, 0x2c, 0xec, 0x53, 0x97, 0x71, 0x89, 0x82, 0x55, 0x00, 0x79, 0xb9, - 0x46, 0x6f, 0xa0, 0x76, 0x55, 0x68, 0xbf, 0x9e, 0xb9, 0x16, 0xd5, 0x6e, 0x53, 0x97, 0x71, 0x04, - 0xe2, 0xc7, 0x42, 0x1f, 0x46, 0xc7, 0x29, 0xfe, 0x46, 0x02, 0x8b, 0x5b, 0x75, 0x52, 0x39, 0x0a, - 0x73, 0xf6, 0x3e, 0x76, 0xb0, 0xe9, 0x7e, 0x43, 0x3e, 0x7d, 0x47, 0xc0, 0x2d, 0xc2, 0x0f, 0xcf, - 0xf2, 0x69, 0x5b, 0xa0, 0x52, 0x0f, 0x09, 0xeb, 0xeb, 0xde, 0xf0, 0x9f, 0x24, 0xf0, 0x86, 0x30, - 0xc3, 0x7f, 0x33, 0xe5, 0x1d, 0xe6, 0xb7, 0x62, 0xd0, 0x67, 0xc2, 0xa0, 0x7b, 0x70, 0x77, 0x08, - 0x83, 0x82, 0xce, 0x48, 0xfc, 0xb1, 0x4c, 0xc2, 0x38, 0x7a, 0xd4, 0x82, 0x7f, 0x27, 0x81, 0xf3, - 0xc2, 0x34, 0xee,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xb0, 0x10, 0x63, 0xb5, 0xaa, 0x31, 0x32, 0xe1, 0x1a, 0x9c, 0xcc, - 0x70, 0x19, 0xaf, 0xd6, 0x8e, 0x09, 0x32, 0xac, 0x1a, 0x75, 0x4c, 0xe1, 0x7d, 0xe5, 0x55, 0x30, - 0x13, 0x3d, 0x98, 0x91, 0xe4, 0x5b, 0x43, 0xf9, 0xfa, 0xc0, 0xd7, 0x86, 0x24, 0xa9, 0xb3, 0x0b, - 0x2e, 0x7e, 0xda, 0x8d, 0x96, 0xd1, 0x18, 0x30, 0xec, 0xdd, 0x7f, 0x7e, 0x19, 0xc0, 0x93, 0x5c, - 0x74, 0x86, 0x5f, 0x12, 0x38, 0x96, 0x96, 0xcb, 0xd8, 0x79, 0xae, 0x80, 0x8b, 0x89, 0xc5, 0x32, - 0x7e, 0x9e, 0x6b, 0x18, 0x2e, 0x83, 0x33, 0xda, 0x14, 0x18, 0x4b, 0xcb, 0xd4, 0x22, 0x20, 0x85, - 0xa4, 0xc7, 0x93, 0x1d, 0x77, 0x2c, 0x8f, 0x8b, 0x30, 0xb6, 0xf1, 0x7f, 0x01, 0x00, 0x00, 0xff, - 0xff, 0xe2, 0x53, 0xfe, 0x7f, 0x48, 0x2b, 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 deleted file mode 100644 index eaa39346..00000000 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/a_bit_of_everything.pb.gw.go +++ /dev/null @@ -1,3146 +0,0 @@ -// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: examples/proto/examplepb/a_bit_of_everything.proto - -/* -Package examplepb is a reverse proxy. - -It translates gRPC into RESTful JSON APIs. -*/ -package examplepb - -import ( - "context" - "io" - "net/http" - - "github.com/golang/protobuf/descriptor" - "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" - "github.com/grpc-ecosystem/grpc-gateway/utilities" - "google.golang.org/grpc" - "google.golang.org/grpc/codes" - "google.golang.org/grpc/grpclog" - "google.golang.org/grpc/status" -) - -// Suppress "imported and not used" errors -var _ codes.Code -var _ io.Reader -var _ status.Status -var _ = runtime.String -var _ = utilities.NewDoubleArray -var _ = descriptor.ForMessage - -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, "enum_value": 15, "path_enum_value": 16, "nested_path_enum_value": 17, "enum_value_annotation": 18}, Base: []int{1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 0, 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, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20}} -) - -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) { - var protoReq ABitOfEverything - var metadata runtime.ServerMetadata - - var ( - val string - e int32 - ok bool - err error - _ = err - ) - - val, ok = pathParams["float_value"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "float_value") - } - - protoReq.FloatValue, err = runtime.Float32(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "float_value", err) - } - - val, ok = pathParams["double_value"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "double_value") - } - - protoReq.DoubleValue, err = runtime.Float64(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "double_value", err) - } - - val, ok = pathParams["int64_value"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "int64_value") - } - - protoReq.Int64Value, err = runtime.Int64(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "int64_value", err) - } - - val, ok = pathParams["uint64_value"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "uint64_value") - } - - protoReq.Uint64Value, err = runtime.Uint64(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "uint64_value", err) - } - - val, ok = pathParams["int32_value"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "int32_value") - } - - protoReq.Int32Value, err = runtime.Int32(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "int32_value", err) - } - - val, ok = pathParams["fixed64_value"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "fixed64_value") - } - - protoReq.Fixed64Value, err = runtime.Uint64(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "fixed64_value", err) - } - - val, ok = pathParams["fixed32_value"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "fixed32_value") - } - - protoReq.Fixed32Value, err = runtime.Uint32(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "fixed32_value", err) - } - - val, ok = pathParams["bool_value"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "bool_value") - } - - protoReq.BoolValue, err = runtime.Bool(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "bool_value", err) - } - - val, ok = pathParams["string_value"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "string_value") - } - - protoReq.StringValue, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "string_value", err) - } - - val, ok = pathParams["uint32_value"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "uint32_value") - } - - protoReq.Uint32Value, err = runtime.Uint32(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "uint32_value", err) - } - - val, ok = pathParams["sfixed32_value"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "sfixed32_value") - } - - protoReq.Sfixed32Value, err = runtime.Int32(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "sfixed32_value", err) - } - - val, ok = pathParams["sfixed64_value"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "sfixed64_value") - } - - protoReq.Sfixed64Value, err = runtime.Int64(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "sfixed64_value", err) - } - - val, ok = pathParams["sint32_value"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "sint32_value") - } - - protoReq.Sint32Value, err = runtime.Int32(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "sint32_value", err) - } - - val, ok = pathParams["sint64_value"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "sint64_value") - } - - protoReq.Sint64Value, err = runtime.Int64(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "sint64_value", err) - } - - val, ok = pathParams["nonConventionalNameValue"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "nonConventionalNameValue") - } - - protoReq.NonConventionalNameValue, err = runtime.String(val) - - if err != nil { - 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) - - val, ok = pathParams["enum_value_annotation"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "enum_value_annotation") - } - - 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_annotation", err) - } - - protoReq.EnumValueAnnotation = NumericEnum(e) - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ABitOfEverythingService_Create_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.Create(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_ABitOfEverythingService_Create_0(ctx context.Context, marshaler runtime.Marshaler, server ABitOfEverythingServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq ABitOfEverything - var metadata runtime.ServerMetadata - - var ( - val string - e int32 - ok bool - err error - _ = err - ) - - val, ok = pathParams["float_value"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "float_value") - } - - protoReq.FloatValue, err = runtime.Float32(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "float_value", err) - } - - val, ok = pathParams["double_value"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "double_value") - } - - protoReq.DoubleValue, err = runtime.Float64(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "double_value", err) - } - - val, ok = pathParams["int64_value"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "int64_value") - } - - protoReq.Int64Value, err = runtime.Int64(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "int64_value", err) - } - - val, ok = pathParams["uint64_value"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "uint64_value") - } - - protoReq.Uint64Value, err = runtime.Uint64(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "uint64_value", err) - } - - val, ok = pathParams["int32_value"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "int32_value") - } - - protoReq.Int32Value, err = runtime.Int32(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "int32_value", err) - } - - val, ok = pathParams["fixed64_value"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "fixed64_value") - } - - protoReq.Fixed64Value, err = runtime.Uint64(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "fixed64_value", err) - } - - val, ok = pathParams["fixed32_value"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "fixed32_value") - } - - protoReq.Fixed32Value, err = runtime.Uint32(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "fixed32_value", err) - } - - val, ok = pathParams["bool_value"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "bool_value") - } - - protoReq.BoolValue, err = runtime.Bool(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "bool_value", err) - } - - val, ok = pathParams["string_value"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "string_value") - } - - protoReq.StringValue, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "string_value", err) - } - - val, ok = pathParams["uint32_value"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "uint32_value") - } - - protoReq.Uint32Value, err = runtime.Uint32(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "uint32_value", err) - } - - val, ok = pathParams["sfixed32_value"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "sfixed32_value") - } - - protoReq.Sfixed32Value, err = runtime.Int32(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "sfixed32_value", err) - } - - val, ok = pathParams["sfixed64_value"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "sfixed64_value") - } - - protoReq.Sfixed64Value, err = runtime.Int64(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "sfixed64_value", err) - } - - val, ok = pathParams["sint32_value"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "sint32_value") - } - - protoReq.Sint32Value, err = runtime.Int32(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "sint32_value", err) - } - - val, ok = pathParams["sint64_value"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "sint64_value") - } - - protoReq.Sint64Value, err = runtime.Int64(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "sint64_value", err) - } - - val, ok = pathParams["nonConventionalNameValue"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "nonConventionalNameValue") - } - - protoReq.NonConventionalNameValue, err = runtime.String(val) - - if err != nil { - 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) - - val, ok = pathParams["enum_value_annotation"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "enum_value_annotation") - } - - 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_annotation", err) - } - - protoReq.EnumValueAnnotation = NumericEnum(e) - - if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_ABitOfEverythingService_Create_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.Create(ctx, &protoReq) - return msg, metadata, err - -} - -func request_ABitOfEverythingService_CreateBody_0(ctx context.Context, marshaler runtime.Marshaler, client ABitOfEverythingServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq ABitOfEverything - 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.CreateBody(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_ABitOfEverythingService_CreateBody_0(ctx context.Context, marshaler runtime.Marshaler, server ABitOfEverythingServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq ABitOfEverything - 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 := server.CreateBody(ctx, &protoReq) - return msg, metadata, err - -} - -func request_ABitOfEverythingService_Lookup_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 - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["uuid"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "uuid") - } - - protoReq.Uuid, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "uuid", err) - } - - msg, err := client.Lookup(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_ABitOfEverythingService_Lookup_0(ctx context.Context, marshaler runtime.Marshaler, server ABitOfEverythingServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq sub2.IdMessage - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["uuid"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "uuid") - } - - protoReq.Uuid, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "uuid", err) - } - - msg, err := server.Lookup(ctx, &protoReq) - return msg, metadata, err - -} - -func request_ABitOfEverythingService_Update_0(ctx context.Context, marshaler runtime.Marshaler, client ABitOfEverythingServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq ABitOfEverything - 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) - } - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["uuid"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "uuid") - } - - protoReq.Uuid, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "uuid", err) - } - - msg, err := client.Update(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_ABitOfEverythingService_Update_0(ctx context.Context, marshaler runtime.Marshaler, server ABitOfEverythingServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq ABitOfEverything - 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) - } - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["uuid"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "uuid") - } - - protoReq.Uuid, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "uuid", err) - } - - msg, err := server.Update(ctx, &protoReq) - return msg, metadata, err - -} - -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 := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, 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 - -} - -func local_request_ABitOfEverythingService_UpdateV2_0(ctx context.Context, marshaler runtime.Marshaler, server ABitOfEverythingServiceServer, 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 := server.UpdateV2(ctx, &protoReq) - 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 { - _, md := descriptor.ForMessage(protoReq.Abe) - if fieldMask, err := runtime.FieldMaskFromRequestBody(newReader(), md); 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 := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, 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 local_request_ABitOfEverythingService_UpdateV2_1(ctx context.Context, marshaler runtime.Marshaler, server ABitOfEverythingServiceServer, 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 { - _, md := descriptor.ForMessage(protoReq.Abe) - if fieldMask, err := runtime.FieldMaskFromRequestBody(newReader(), md); 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 := server.UpdateV2(ctx, &protoReq) - return msg, metadata, err - -} - -func request_ABitOfEverythingService_UpdateV2_2(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) - } - - 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.UpdateV2(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_ABitOfEverythingService_UpdateV2_2(ctx context.Context, marshaler runtime.Marshaler, server ABitOfEverythingServiceServer, 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) - } - - 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 := server.UpdateV2(ctx, &protoReq) - 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 - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["uuid"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "uuid") - } - - protoReq.Uuid, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "uuid", err) - } - - msg, err := client.Delete(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_ABitOfEverythingService_Delete_0(ctx context.Context, marshaler runtime.Marshaler, server ABitOfEverythingServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq sub2.IdMessage - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["uuid"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "uuid") - } - - protoReq.Uuid, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "uuid", err) - } - - msg, err := server.Delete(ctx, &protoReq) - return msg, metadata, err - -} - -var ( - filter_ABitOfEverythingService_GetQuery_0 = &utilities.DoubleArray{Encoding: map[string]int{"uuid": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} -) - -func request_ABitOfEverythingService_GetQuery_0(ctx context.Context, marshaler runtime.Marshaler, client ABitOfEverythingServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq ABitOfEverything - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["uuid"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "uuid") - } - - protoReq.Uuid, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "uuid", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ABitOfEverythingService_GetQuery_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetQuery(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_ABitOfEverythingService_GetQuery_0(ctx context.Context, marshaler runtime.Marshaler, server ABitOfEverythingServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq ABitOfEverything - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["uuid"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "uuid") - } - - protoReq.Uuid, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "uuid", err) - } - - if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_ABitOfEverythingService_GetQuery_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.GetQuery(ctx, &protoReq) - return msg, metadata, err - -} - -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 local_request_ABitOfEverythingService_GetRepeatedQuery_0(ctx context.Context, marshaler runtime.Marshaler, server ABitOfEverythingServiceServer, 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 := server.GetRepeatedQuery(ctx, &protoReq) - 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 - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["value"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "value") - } - - protoReq.Value, err = runtime.StringP(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "value", err) - } - - msg, err := client.Echo(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_ABitOfEverythingService_Echo_0(ctx context.Context, marshaler runtime.Marshaler, server ABitOfEverythingServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq sub.StringMessage - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["value"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "value") - } - - protoReq.Value, err = runtime.StringP(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "value", err) - } - - msg, err := server.Echo(ctx, &protoReq) - return msg, metadata, err - -} - -func request_ABitOfEverythingService_Echo_1(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 - - 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) - } - - msg, err := client.Echo(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_ABitOfEverythingService_Echo_1(ctx context.Context, marshaler runtime.Marshaler, server ABitOfEverythingServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq sub.StringMessage - 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.Value); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.Echo(ctx, &protoReq) - return msg, metadata, err - -} - -var ( - filter_ABitOfEverythingService_Echo_2 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} -) - -func request_ABitOfEverythingService_Echo_2(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 - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ABitOfEverythingService_Echo_2); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.Echo(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_ABitOfEverythingService_Echo_2(ctx context.Context, marshaler runtime.Marshaler, server ABitOfEverythingServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq sub.StringMessage - var metadata runtime.ServerMetadata - - if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_ABitOfEverythingService_Echo_2); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.Echo(ctx, &protoReq) - return msg, metadata, err - -} - -func request_ABitOfEverythingService_DeepPathEcho_0(ctx context.Context, marshaler runtime.Marshaler, client ABitOfEverythingServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq ABitOfEverything - 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) - } - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["single_nested.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "single_nested.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "single_nested.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "single_nested.name", err) - } - - msg, err := client.DeepPathEcho(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_ABitOfEverythingService_DeepPathEcho_0(ctx context.Context, marshaler runtime.Marshaler, server ABitOfEverythingServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq ABitOfEverything - 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) - } - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["single_nested.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "single_nested.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "single_nested.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "single_nested.name", err) - } - - msg, err := server.DeepPathEcho(ctx, &protoReq) - return msg, metadata, err - -} - -func request_ABitOfEverythingService_Timeout_0(ctx context.Context, marshaler runtime.Marshaler, client ABitOfEverythingServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq empty.Empty - var metadata runtime.ServerMetadata - - msg, err := client.Timeout(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_ABitOfEverythingService_Timeout_0(ctx context.Context, marshaler runtime.Marshaler, server ABitOfEverythingServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq empty.Empty - var metadata runtime.ServerMetadata - - msg, err := server.Timeout(ctx, &protoReq) - return msg, metadata, err - -} - -func request_ABitOfEverythingService_ErrorWithDetails_0(ctx context.Context, marshaler runtime.Marshaler, client ABitOfEverythingServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq empty.Empty - var metadata runtime.ServerMetadata - - msg, err := client.ErrorWithDetails(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_ABitOfEverythingService_ErrorWithDetails_0(ctx context.Context, marshaler runtime.Marshaler, server ABitOfEverythingServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq empty.Empty - var metadata runtime.ServerMetadata - - msg, err := server.ErrorWithDetails(ctx, &protoReq) - return msg, metadata, err - -} - -func request_ABitOfEverythingService_GetMessageWithBody_0(ctx context.Context, marshaler runtime.Marshaler, client ABitOfEverythingServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq MessageWithBody - 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.Data); 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["id"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id") - } - - protoReq.Id, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id", err) - } - - msg, err := client.GetMessageWithBody(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_ABitOfEverythingService_GetMessageWithBody_0(ctx context.Context, marshaler runtime.Marshaler, server ABitOfEverythingServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq MessageWithBody - 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.Data); 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["id"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id") - } - - protoReq.Id, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id", err) - } - - msg, err := server.GetMessageWithBody(ctx, &protoReq) - return msg, metadata, err - -} - -func request_ABitOfEverythingService_PostWithEmptyBody_0(ctx context.Context, marshaler runtime.Marshaler, client ABitOfEverythingServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq Body - 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) - } - - 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) - } - - msg, err := client.PostWithEmptyBody(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_ABitOfEverythingService_PostWithEmptyBody_0(ctx context.Context, marshaler runtime.Marshaler, server ABitOfEverythingServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq Body - 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) - } - - 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) - } - - msg, err := server.PostWithEmptyBody(ctx, &protoReq) - return msg, metadata, err - -} - -var ( - filter_ABitOfEverythingService_CheckGetQueryParams_0 = &utilities.DoubleArray{Encoding: map[string]int{"single_nested": 0, "name": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} -) - -func request_ABitOfEverythingService_CheckGetQueryParams_0(ctx context.Context, marshaler runtime.Marshaler, client ABitOfEverythingServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq ABitOfEverything - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["single_nested.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "single_nested.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "single_nested.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "single_nested.name", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ABitOfEverythingService_CheckGetQueryParams_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.CheckGetQueryParams(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_ABitOfEverythingService_CheckGetQueryParams_0(ctx context.Context, marshaler runtime.Marshaler, server ABitOfEverythingServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq ABitOfEverything - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["single_nested.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "single_nested.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "single_nested.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "single_nested.name", err) - } - - if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_ABitOfEverythingService_CheckGetQueryParams_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.CheckGetQueryParams(ctx, &protoReq) - return msg, metadata, err - -} - -var ( - filter_ABitOfEverythingService_CheckNestedEnumGetQueryParams_0 = &utilities.DoubleArray{Encoding: map[string]int{"single_nested": 0, "ok": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} -) - -func request_ABitOfEverythingService_CheckNestedEnumGetQueryParams_0(ctx context.Context, marshaler runtime.Marshaler, client ABitOfEverythingServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq ABitOfEverything - var metadata runtime.ServerMetadata - - var ( - val string - e int32 - ok bool - err error - _ = err - ) - - val, ok = pathParams["single_nested.ok"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "single_nested.ok") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "single_nested.ok", val) - - e, err = runtime.Enum(val, ABitOfEverything_Nested_DeepEnum_value) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "single_nested.ok", err) - } - - protoReq.SingleNested.Ok = ABitOfEverything_Nested_DeepEnum(e) - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ABitOfEverythingService_CheckNestedEnumGetQueryParams_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.CheckNestedEnumGetQueryParams(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_ABitOfEverythingService_CheckNestedEnumGetQueryParams_0(ctx context.Context, marshaler runtime.Marshaler, server ABitOfEverythingServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq ABitOfEverything - var metadata runtime.ServerMetadata - - var ( - val string - e int32 - ok bool - err error - _ = err - ) - - val, ok = pathParams["single_nested.ok"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "single_nested.ok") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "single_nested.ok", val) - - e, err = runtime.Enum(val, ABitOfEverything_Nested_DeepEnum_value) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "single_nested.ok", err) - } - - protoReq.SingleNested.Ok = ABitOfEverything_Nested_DeepEnum(e) - - if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_ABitOfEverythingService_CheckNestedEnumGetQueryParams_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.CheckNestedEnumGetQueryParams(ctx, &protoReq) - return msg, metadata, err - -} - -var ( - filter_ABitOfEverythingService_CheckPostQueryParams_0 = &utilities.DoubleArray{Encoding: map[string]int{"single_nested": 0, "string_value": 1}, Base: []int{1, 1, 2, 0, 0}, Check: []int{0, 1, 1, 2, 3}} -) - -func request_ABitOfEverythingService_CheckPostQueryParams_0(ctx context.Context, marshaler runtime.Marshaler, client ABitOfEverythingServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq ABitOfEverything - 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.SingleNested); 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["string_value"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "string_value") - } - - protoReq.StringValue, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "string_value", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ABitOfEverythingService_CheckPostQueryParams_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.CheckPostQueryParams(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_ABitOfEverythingService_CheckPostQueryParams_0(ctx context.Context, marshaler runtime.Marshaler, server ABitOfEverythingServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq ABitOfEverything - 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.SingleNested); 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["string_value"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "string_value") - } - - protoReq.StringValue, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "string_value", err) - } - - if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_ABitOfEverythingService_CheckPostQueryParams_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.CheckPostQueryParams(ctx, &protoReq) - return msg, metadata, err - -} - -func request_CamelCaseServiceName_Empty_0(ctx context.Context, marshaler runtime.Marshaler, client CamelCaseServiceNameClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq empty.Empty - var metadata runtime.ServerMetadata - - msg, err := client.Empty(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_CamelCaseServiceName_Empty_0(ctx context.Context, marshaler runtime.Marshaler, server CamelCaseServiceNameServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq empty.Empty - var metadata runtime.ServerMetadata - - msg, err := server.Empty(ctx, &protoReq) - return msg, metadata, err - -} - -// RegisterABitOfEverythingServiceHandlerServer registers the http handlers for service ABitOfEverythingService to "mux". -// UnaryRPC :call ABitOfEverythingServiceServer directly. -// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -func RegisterABitOfEverythingServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ABitOfEverythingServiceServer) error { - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_ABitOfEverythingService_Create_0(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_ABitOfEverythingService_Create_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_ABitOfEverythingService_CreateBody_0(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_ABitOfEverythingService_CreateBody_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_ABitOfEverythingService_Lookup_0(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_ABitOfEverythingService_Lookup_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_ABitOfEverythingService_Update_0(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_ABitOfEverythingService_Update_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_ABitOfEverythingService_UpdateV2_0(rctx, inboundMarshaler, server, 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.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_ABitOfEverythingService_UpdateV2_1(rctx, inboundMarshaler, server, 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_UpdateV2_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.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_ABitOfEverythingService_UpdateV2_2(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_ABitOfEverythingService_UpdateV2_2(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.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_ABitOfEverythingService_Delete_0(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_ABitOfEverythingService_Delete_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_ABitOfEverythingService_GetQuery_0(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_ABitOfEverythingService_GetQuery_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_ABitOfEverythingService_GetRepeatedQuery_0(rctx, inboundMarshaler, server, 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.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_ABitOfEverythingService_Echo_0(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_ABitOfEverythingService_Echo_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_ABitOfEverythingService_Echo_1(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_ABitOfEverythingService_Echo_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_ABitOfEverythingService_Echo_2(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_ABitOfEverythingService_Echo_2(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_ABitOfEverythingService_DeepPathEcho_0(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_ABitOfEverythingService_DeepPathEcho_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_ABitOfEverythingService_Timeout_0(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_ABitOfEverythingService_Timeout_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_ABitOfEverythingService_ErrorWithDetails_0(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_ABitOfEverythingService_ErrorWithDetails_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_ABitOfEverythingService_GetMessageWithBody_0(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_ABitOfEverythingService_GetMessageWithBody_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_ABitOfEverythingService_PostWithEmptyBody_0(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_ABitOfEverythingService_PostWithEmptyBody_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_ABitOfEverythingService_CheckGetQueryParams_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.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_ABitOfEverythingService_CheckGetQueryParams_0(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_ABitOfEverythingService_CheckGetQueryParams_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_ABitOfEverythingService_CheckNestedEnumGetQueryParams_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.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_ABitOfEverythingService_CheckNestedEnumGetQueryParams_0(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_ABitOfEverythingService_CheckNestedEnumGetQueryParams_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("POST", pattern_ABitOfEverythingService_CheckPostQueryParams_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.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_ABitOfEverythingService_CheckPostQueryParams_0(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_ABitOfEverythingService_CheckPostQueryParams_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - return nil -} - -// RegisterCamelCaseServiceNameHandlerServer registers the http handlers for service CamelCaseServiceName to "mux". -// UnaryRPC :call CamelCaseServiceNameServer directly. -// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -func RegisterCamelCaseServiceNameHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CamelCaseServiceNameServer) error { - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_CamelCaseServiceName_Empty_0(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_CamelCaseServiceName_Empty_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - return nil -} - -// RegisterABitOfEverythingServiceHandlerFromEndpoint is same as RegisterABitOfEverythingServiceHandler but -// automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterABitOfEverythingServiceHandlerFromEndpoint(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 RegisterABitOfEverythingServiceHandler(ctx, mux, conn) -} - -// RegisterABitOfEverythingServiceHandler registers the http handlers for service ABitOfEverythingService to "mux". -// The handlers forward requests to the grpc endpoint over "conn". -func RegisterABitOfEverythingServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterABitOfEverythingServiceHandlerClient(ctx, mux, NewABitOfEverythingServiceClient(conn)) -} - -// 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. -func RegisterABitOfEverythingServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ABitOfEverythingServiceClient) error { - - 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() - 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_Create_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_Create_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_CreateBody_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_CreateBody_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_Lookup_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_Lookup_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_Update_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_Update_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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_UpdateV2_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_ABitOfEverythingService_UpdateV2_2(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_2(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 { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_ABitOfEverythingService_Delete_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_Delete_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_GetQuery_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_GetQuery_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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 { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_ABitOfEverythingService_Echo_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_Echo_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_Echo_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_Echo_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_Echo_2(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_ABitOfEverythingService_Echo_2(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_DeepPathEcho_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_DeepPathEcho_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_Timeout_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_Timeout_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_ErrorWithDetails_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_ErrorWithDetails_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_GetMessageWithBody_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_GetMessageWithBody_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_PostWithEmptyBody_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_PostWithEmptyBody_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_ABitOfEverythingService_CheckGetQueryParams_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_CheckGetQueryParams_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_CheckGetQueryParams_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_ABitOfEverythingService_CheckNestedEnumGetQueryParams_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_CheckNestedEnumGetQueryParams_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_CheckNestedEnumGetQueryParams_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("POST", pattern_ABitOfEverythingService_CheckPostQueryParams_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_CheckPostQueryParams_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_CheckPostQueryParams_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - return nil -} - -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, 1, 0, 4, 1, 5, 20, 1, 0, 4, 1, 5, 21, 1, 0, 4, 1, 5, 22, 1, 0, 4, 1, 5, 23}, []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", "enum_value_annotation"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_ABitOfEverythingService_CreateBody_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v1", "example", "a_bit_of_everything"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_ABitOfEverythingService_Lookup_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"}, "", runtime.AssumeColonVerbOpt(true))) - - 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"}, "", runtime.AssumeColonVerbOpt(true))) - - 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"}, "", runtime.AssumeColonVerbOpt(true))) - - 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"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_ABitOfEverythingService_UpdateV2_2 = 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"}, "", runtime.AssumeColonVerbOpt(true))) - - 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"}, "", runtime.AssumeColonVerbOpt(true))) - - 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"}, "", runtime.AssumeColonVerbOpt(true))) - - 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"}, "", runtime.AssumeColonVerbOpt(true))) - - 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"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_ABitOfEverythingService_Echo_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v2", "example", "echo"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_ABitOfEverythingService_Echo_2 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v2", "example", "echo"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_ABitOfEverythingService_DeepPathEcho_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", "single_nested.name"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_ABitOfEverythingService_Timeout_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v2", "example", "timeout"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_ABitOfEverythingService_ErrorWithDetails_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v2", "example", "errorwithdetails"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_ABitOfEverythingService_GetMessageWithBody_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"v2", "example", "withbody", "id"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_ABitOfEverythingService_PostWithEmptyBody_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"v2", "example", "postwithemptybody", "name"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_ABitOfEverythingService_CheckGetQueryParams_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"v1", "example", "a_bit_of_everything", "params", "get", "single_nested.name"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_ABitOfEverythingService_CheckNestedEnumGetQueryParams_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 2, 5, 1, 0, 4, 1, 5, 6}, []string{"v1", "example", "a_bit_of_everything", "params", "get", "nested_enum", "single_nested.ok"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_ABitOfEverythingService_CheckPostQueryParams_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"v1", "example", "a_bit_of_everything", "params", "post", "string_value"}, "", runtime.AssumeColonVerbOpt(true))) -) - -var ( - forward_ABitOfEverythingService_Create_0 = runtime.ForwardResponseMessage - - forward_ABitOfEverythingService_CreateBody_0 = runtime.ForwardResponseMessage - - forward_ABitOfEverythingService_Lookup_0 = runtime.ForwardResponseMessage - - forward_ABitOfEverythingService_Update_0 = runtime.ForwardResponseMessage - - forward_ABitOfEverythingService_UpdateV2_0 = runtime.ForwardResponseMessage - - forward_ABitOfEverythingService_UpdateV2_1 = runtime.ForwardResponseMessage - - forward_ABitOfEverythingService_UpdateV2_2 = 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 - - forward_ABitOfEverythingService_Echo_2 = runtime.ForwardResponseMessage - - forward_ABitOfEverythingService_DeepPathEcho_0 = runtime.ForwardResponseMessage - - forward_ABitOfEverythingService_Timeout_0 = runtime.ForwardResponseMessage - - forward_ABitOfEverythingService_ErrorWithDetails_0 = runtime.ForwardResponseMessage - - forward_ABitOfEverythingService_GetMessageWithBody_0 = runtime.ForwardResponseMessage - - forward_ABitOfEverythingService_PostWithEmptyBody_0 = runtime.ForwardResponseMessage - - forward_ABitOfEverythingService_CheckGetQueryParams_0 = runtime.ForwardResponseMessage - - forward_ABitOfEverythingService_CheckNestedEnumGetQueryParams_0 = runtime.ForwardResponseMessage - - forward_ABitOfEverythingService_CheckPostQueryParams_0 = runtime.ForwardResponseMessage -) - -// RegisterCamelCaseServiceNameHandlerFromEndpoint is same as RegisterCamelCaseServiceNameHandler but -// automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterCamelCaseServiceNameHandlerFromEndpoint(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 RegisterCamelCaseServiceNameHandler(ctx, mux, conn) -} - -// RegisterCamelCaseServiceNameHandler registers the http handlers for service CamelCaseServiceName to "mux". -// The handlers forward requests to the grpc endpoint over "conn". -func RegisterCamelCaseServiceNameHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterCamelCaseServiceNameHandlerClient(ctx, mux, NewCamelCaseServiceNameClient(conn)) -} - -// 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. -func RegisterCamelCaseServiceNameHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CamelCaseServiceNameClient) error { - - 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() - 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_CamelCaseServiceName_Empty_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_CamelCaseServiceName_Empty_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - return nil -} - -var ( - pattern_CamelCaseServiceName_Empty_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v2", "example", "empty"}, "", runtime.AssumeColonVerbOpt(true))) -) - -var ( - forward_CamelCaseServiceName_Empty_0 = runtime.ForwardResponseMessage -) 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 deleted file mode 100644 index 5c1500fb..00000000 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/echo_service.pb.go +++ /dev/null @@ -1,610 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: examples/proto/examplepb/echo_service.proto - -package examplepb - -/* -Echo Service - -Echo Service API consists of a single service which returns -a message. -*/ - -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 - -// Embedded represents a message embedded in SimpleMessage. -type Embedded struct { - // Types that are valid to be assigned to Mark: - // *Embedded_Progress - // *Embedded_Note - Mark isEmbedded_Mark `protobuf_oneof:"mark"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Embedded) Reset() { *m = Embedded{} } -func (m *Embedded) String() string { return proto.CompactTextString(m) } -func (*Embedded) ProtoMessage() {} -func (*Embedded) Descriptor() ([]byte, []int) { - return fileDescriptor_echo_service_8fe0ac1ad649faf8, []int{0} -} -func (m *Embedded) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Embedded.Unmarshal(m, b) -} -func (m *Embedded) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Embedded.Marshal(b, m, deterministic) -} -func (dst *Embedded) XXX_Merge(src proto.Message) { - xxx_messageInfo_Embedded.Merge(dst, src) -} -func (m *Embedded) XXX_Size() int { - return xxx_messageInfo_Embedded.Size(m) -} -func (m *Embedded) XXX_DiscardUnknown() { - xxx_messageInfo_Embedded.DiscardUnknown(m) -} - -var xxx_messageInfo_Embedded proto.InternalMessageInfo - -type isEmbedded_Mark interface { - isEmbedded_Mark() -} - -type Embedded_Progress struct { - Progress int64 `protobuf:"varint,1,opt,name=progress,proto3,oneof"` -} - -type Embedded_Note struct { - Note string `protobuf:"bytes,2,opt,name=note,proto3,oneof"` -} - -func (*Embedded_Progress) isEmbedded_Mark() {} - -func (*Embedded_Note) isEmbedded_Mark() {} - -func (m *Embedded) GetMark() isEmbedded_Mark { - if m != nil { - return m.Mark - } - return nil -} - -func (m *Embedded) GetProgress() int64 { - if x, ok := m.GetMark().(*Embedded_Progress); ok { - return x.Progress - } - return 0 -} - -func (m *Embedded) GetNote() string { - if x, ok := m.GetMark().(*Embedded_Note); ok { - return x.Note - } - return "" -} - -// XXX_OneofFuncs is for the internal use of the proto package. -func (*Embedded) 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 _Embedded_OneofMarshaler, _Embedded_OneofUnmarshaler, _Embedded_OneofSizer, []interface{}{ - (*Embedded_Progress)(nil), - (*Embedded_Note)(nil), - } -} - -func _Embedded_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*Embedded) - // mark - switch x := m.Mark.(type) { - case *Embedded_Progress: - b.EncodeVarint(1<<3 | proto.WireVarint) - b.EncodeVarint(uint64(x.Progress)) - case *Embedded_Note: - b.EncodeVarint(2<<3 | proto.WireBytes) - b.EncodeStringBytes(x.Note) - case nil: - default: - return fmt.Errorf("Embedded.Mark has unexpected type %T", x) - } - return nil -} - -func _Embedded_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*Embedded) - switch tag { - case 1: // mark.progress - if wire != proto.WireVarint { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeVarint() - m.Mark = &Embedded_Progress{int64(x)} - return true, err - case 2: // mark.note - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.Mark = &Embedded_Note{x} - return true, err - default: - return false, nil - } -} - -func _Embedded_OneofSizer(msg proto.Message) (n int) { - m := msg.(*Embedded) - // mark - switch x := m.Mark.(type) { - case *Embedded_Progress: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(x.Progress)) - case *Embedded_Note: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.Note))) - n += len(x.Note) - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - -// 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,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,proto3" json:"status,omitempty"` - // Types that are valid to be assigned to Ext: - // *SimpleMessage_En - // *SimpleMessage_No - Ext isSimpleMessage_Ext `protobuf_oneof:"ext"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SimpleMessage) Reset() { *m = SimpleMessage{} } -func (m *SimpleMessage) String() string { return proto.CompactTextString(m) } -func (*SimpleMessage) ProtoMessage() {} -func (*SimpleMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_echo_service_8fe0ac1ad649faf8, []int{1} -} -func (m *SimpleMessage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SimpleMessage.Unmarshal(m, b) -} -func (m *SimpleMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SimpleMessage.Marshal(b, m, deterministic) -} -func (dst *SimpleMessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_SimpleMessage.Merge(dst, src) -} -func (m *SimpleMessage) XXX_Size() int { - return xxx_messageInfo_SimpleMessage.Size(m) -} -func (m *SimpleMessage) XXX_DiscardUnknown() { - xxx_messageInfo_SimpleMessage.DiscardUnknown(m) -} - -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 SimpleMessage_LineNum struct { - 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,proto3,oneof"` -} - -func (*SimpleMessage_LineNum) isSimpleMessage_Code() {} - -func (*SimpleMessage_Lang) isSimpleMessage_Code() {} - -func (m *SimpleMessage) GetCode() isSimpleMessage_Code { - if m != nil { - return m.Code - } - return nil -} - -func (m *SimpleMessage) GetLineNum() int64 { - if x, ok := m.GetCode().(*SimpleMessage_LineNum); ok { - return x.LineNum - } - return 0 -} - -func (m *SimpleMessage) GetLang() string { - if x, ok := m.GetCode().(*SimpleMessage_Lang); ok { - return x.Lang - } - return "" -} - -func (m *SimpleMessage) GetStatus() *Embedded { - if m != nil { - return m.Status - } - 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 - } - return 0 -} - -func (m *SimpleMessage) GetNo() *Embedded { - if x, ok := m.GetExt().(*SimpleMessage_No); ok { - return x.No - } - return nil -} - -// XXX_OneofFuncs is for the internal use of the proto package. -func (*SimpleMessage) 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 _SimpleMessage_OneofMarshaler, _SimpleMessage_OneofUnmarshaler, _SimpleMessage_OneofSizer, []interface{}{ - (*SimpleMessage_LineNum)(nil), - (*SimpleMessage_Lang)(nil), - (*SimpleMessage_En)(nil), - (*SimpleMessage_No)(nil), - } -} - -func _SimpleMessage_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*SimpleMessage) - // code - switch x := m.Code.(type) { - case *SimpleMessage_LineNum: - b.EncodeVarint(3<<3 | proto.WireVarint) - b.EncodeVarint(uint64(x.LineNum)) - case *SimpleMessage_Lang: - b.EncodeVarint(4<<3 | proto.WireBytes) - b.EncodeStringBytes(x.Lang) - case nil: - default: - return fmt.Errorf("SimpleMessage.Code has unexpected type %T", x) - } - // ext - switch x := m.Ext.(type) { - case *SimpleMessage_En: - b.EncodeVarint(6<<3 | proto.WireVarint) - b.EncodeVarint(uint64(x.En)) - case *SimpleMessage_No: - b.EncodeVarint(7<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.No); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("SimpleMessage.Ext has unexpected type %T", x) - } - return nil -} - -func _SimpleMessage_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*SimpleMessage) - switch tag { - case 3: // code.line_num - if wire != proto.WireVarint { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeVarint() - m.Code = &SimpleMessage_LineNum{int64(x)} - return true, err - case 4: // code.lang - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.Code = &SimpleMessage_Lang{x} - return true, err - case 6: // ext.en - if wire != proto.WireVarint { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeVarint() - m.Ext = &SimpleMessage_En{int64(x)} - return true, err - case 7: // ext.no - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(Embedded) - err := b.DecodeMessage(msg) - m.Ext = &SimpleMessage_No{msg} - return true, err - default: - return false, nil - } -} - -func _SimpleMessage_OneofSizer(msg proto.Message) (n int) { - m := msg.(*SimpleMessage) - // code - switch x := m.Code.(type) { - case *SimpleMessage_LineNum: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(x.LineNum)) - case *SimpleMessage_Lang: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.Lang))) - n += len(x.Lang) - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - // ext - switch x := m.Ext.(type) { - case *SimpleMessage_En: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(x.En)) - case *SimpleMessage_No: - s := proto.Size(x.No) - 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((*Embedded)(nil), "grpc.gateway.examples.examplepb.Embedded") - proto.RegisterType((*SimpleMessage)(nil), "grpc.gateway.examples.examplepb.SimpleMessage") -} - -// 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 - -// EchoServiceClient is the client API for EchoService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type EchoServiceClient interface { - // Echo method receives a simple message and returns it. - // - // The message posted as the id parameter will also be - // returned. - Echo(ctx context.Context, in *SimpleMessage, opts ...grpc.CallOption) (*SimpleMessage, error) - // EchoBody method receives a simple message and returns it. - EchoBody(ctx context.Context, in *SimpleMessage, opts ...grpc.CallOption) (*SimpleMessage, error) - // EchoDelete method receives a simple message and returns it. - EchoDelete(ctx context.Context, in *SimpleMessage, opts ...grpc.CallOption) (*SimpleMessage, error) -} - -type echoServiceClient struct { - cc *grpc.ClientConn -} - -func NewEchoServiceClient(cc *grpc.ClientConn) EchoServiceClient { - return &echoServiceClient{cc} -} - -func (c *echoServiceClient) Echo(ctx context.Context, in *SimpleMessage, opts ...grpc.CallOption) (*SimpleMessage, error) { - out := new(SimpleMessage) - err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.EchoService/Echo", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *echoServiceClient) EchoBody(ctx context.Context, in *SimpleMessage, opts ...grpc.CallOption) (*SimpleMessage, error) { - out := new(SimpleMessage) - err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.EchoService/EchoBody", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *echoServiceClient) EchoDelete(ctx context.Context, in *SimpleMessage, opts ...grpc.CallOption) (*SimpleMessage, error) { - out := new(SimpleMessage) - err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.EchoService/EchoDelete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// EchoServiceServer is the server API for EchoService service. -type EchoServiceServer interface { - // Echo method receives a simple message and returns it. - // - // The message posted as the id parameter will also be - // returned. - Echo(context.Context, *SimpleMessage) (*SimpleMessage, error) - // EchoBody method receives a simple message and returns it. - EchoBody(context.Context, *SimpleMessage) (*SimpleMessage, error) - // EchoDelete method receives a simple message and returns it. - EchoDelete(context.Context, *SimpleMessage) (*SimpleMessage, error) -} - -func RegisterEchoServiceServer(s *grpc.Server, srv EchoServiceServer) { - s.RegisterService(&_EchoService_serviceDesc, srv) -} - -func _EchoService_Echo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SimpleMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EchoServiceServer).Echo(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.gateway.examples.examplepb.EchoService/Echo", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EchoServiceServer).Echo(ctx, req.(*SimpleMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _EchoService_EchoBody_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SimpleMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EchoServiceServer).EchoBody(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.gateway.examples.examplepb.EchoService/EchoBody", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EchoServiceServer).EchoBody(ctx, req.(*SimpleMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _EchoService_EchoDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SimpleMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EchoServiceServer).EchoDelete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.gateway.examples.examplepb.EchoService/EchoDelete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EchoServiceServer).EchoDelete(ctx, req.(*SimpleMessage)) - } - return interceptor(ctx, in, info, handler) -} - -var _EchoService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "grpc.gateway.examples.examplepb.EchoService", - HandlerType: (*EchoServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Echo", - Handler: _EchoService_Echo_Handler, - }, - { - MethodName: "EchoBody", - Handler: _EchoService_EchoBody_Handler, - }, - { - MethodName: "EchoDelete", - Handler: _EchoService_EchoDelete_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "examples/proto/examplepb/echo_service.proto", -} - -func init() { - proto.RegisterFile("examples/proto/examplepb/echo_service.proto", fileDescriptor_echo_service_8fe0ac1ad649faf8) -} - -var fileDescriptor_echo_service_8fe0ac1ad649faf8 = []byte{ - // 470 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x53, 0x3f, 0x6f, 0xd3, 0x40, - 0x14, 0xef,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 0xeb, 0xb6, 0x66, - 0x95, 0x4b, 0x56, 0xaf, 0x9c, 0x0e, 0xcd, 0x81, 0x5c, 0xcb, 0x3b, 0x62, 0xb5, 0x54, 0xab, 0x32, - 0xfd, 0x42, 0xa0, 0x6d, 0x0c, 0x1a, 0x2b, 0xb1, 0xd8, 0xba, 0x49, 0x7d, 0xeb, 0x51, 0xef, 0xaa, - 0x45, 0xd3, 0x99, 0x12, 0x8b, 0x97, 0xe4, 0x98, 0x7e, 0x25, 0x00, 0x46, 0xce, 0x1b, 0xcc, 0x50, - 0xe3, 0xd6, 0x05, 0x1d, 0x59, 0x41, 0x8f, 0x8f, 0x1f, 0x5d, 0x11, 0x24, 0xac, 0x80, 0x71, 0x77, - 0xd2, 0xd9, 0x60, 0x67, 0x2d, 0xfb, 0xcf, 0xbe, 0xf8, 0x1b, 0x00, 0x00, 0xff, 0xff, 0xe9, 0xdb, - 0x6f, 0x39, 0x21, 0x04, 0x00, 0x00, -} 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 deleted file mode 100644 index 001f9661..00000000 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/echo_service.pb.gw.go +++ /dev/null @@ -1,935 +0,0 @@ -// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: examples/proto/examplepb/echo_service.proto - -/* -Package examplepb is a reverse proxy. - -It translates gRPC into RESTful JSON APIs. -*/ -package examplepb - -import ( - "context" - "io" - "net/http" - - "github.com/golang/protobuf/descriptor" - "github.com/golang/protobuf/proto" - "github.com/grpc-ecosystem/grpc-gateway/runtime" - "github.com/grpc-ecosystem/grpc-gateway/utilities" - "google.golang.org/grpc" - "google.golang.org/grpc/codes" - "google.golang.org/grpc/grpclog" - "google.golang.org/grpc/status" -) - -// Suppress "imported and not used" errors -var _ codes.Code -var _ io.Reader -var _ status.Status -var _ = runtime.String -var _ = utilities.NewDoubleArray -var _ = descriptor.ForMessage - -var ( - filter_EchoService_Echo_0 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} -) - -func request_EchoService_Echo_0(ctx context.Context, marshaler runtime.Marshaler, client EchoServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq SimpleMessage - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id") - } - - protoReq.Id, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_EchoService_Echo_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.Echo(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_EchoService_Echo_0(ctx context.Context, marshaler runtime.Marshaler, server EchoServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq SimpleMessage - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id") - } - - protoReq.Id, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id", err) - } - - if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_EchoService_Echo_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.Echo(ctx, &protoReq) - return msg, metadata, err - -} - -var ( - filter_EchoService_Echo_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "num": 1}, Base: []int{1, 1, 2, 0, 0}, Check: []int{0, 1, 1, 2, 3}} -) - -func request_EchoService_Echo_1(ctx context.Context, marshaler runtime.Marshaler, client EchoServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq SimpleMessage - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id") - } - - protoReq.Id, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id", err) - } - - val, ok = pathParams["num"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "num") - } - - protoReq.Num, err = runtime.Int64(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "num", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_EchoService_Echo_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.Echo(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_EchoService_Echo_1(ctx context.Context, marshaler runtime.Marshaler, server EchoServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq SimpleMessage - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id") - } - - protoReq.Id, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id", err) - } - - val, ok = pathParams["num"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "num") - } - - protoReq.Num, err = runtime.Int64(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "num", err) - } - - if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_EchoService_Echo_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.Echo(ctx, &protoReq) - return msg, metadata, err - -} - -var ( - filter_EchoService_Echo_2 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "num": 1, "lang": 2}, Base: []int{1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 1, 1, 2, 3, 4}} -) - -func request_EchoService_Echo_2(ctx context.Context, marshaler runtime.Marshaler, client EchoServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq SimpleMessage - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id") - } - - protoReq.Id, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id", err) - } - - val, ok = pathParams["num"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "num") - } - - protoReq.Num, err = runtime.Int64(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "num", err) - } - - val, ok = pathParams["lang"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "lang") - } - - if protoReq.Code == nil { - protoReq.Code = &SimpleMessage_Lang{} - } else if _, ok := protoReq.Code.(*SimpleMessage_Lang); !ok { - return nil, metadata, grpc.Errorf(codes.InvalidArgument, "expect type: *SimpleMessage_Lang, but: %t\n", protoReq.Code) - } - protoReq.Code.(*SimpleMessage_Lang).Lang, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "lang", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_EchoService_Echo_2); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.Echo(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_EchoService_Echo_2(ctx context.Context, marshaler runtime.Marshaler, server EchoServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq SimpleMessage - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id") - } - - protoReq.Id, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id", err) - } - - val, ok = pathParams["num"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "num") - } - - protoReq.Num, err = runtime.Int64(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "num", err) - } - - val, ok = pathParams["lang"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "lang") - } - - if protoReq.Code == nil { - protoReq.Code = &SimpleMessage_Lang{} - } else if _, ok := protoReq.Code.(*SimpleMessage_Lang); !ok { - return nil, metadata, grpc.Errorf(codes.InvalidArgument, "expect type: *SimpleMessage_Lang, but: %t\n", protoReq.Code) - } - protoReq.Code.(*SimpleMessage_Lang).Lang, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "lang", err) - } - - if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_EchoService_Echo_2); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.Echo(ctx, &protoReq) - return msg, metadata, err - -} - -var ( - filter_EchoService_Echo_3 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "line_num": 1, "status": 2, "note": 3}, Base: []int{1, 1, 2, 1, 3, 0, 0, 0}, Check: []int{0, 1, 1, 1, 4, 2, 3, 5}} -) - -func request_EchoService_Echo_3(ctx context.Context, marshaler runtime.Marshaler, client EchoServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq SimpleMessage - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id") - } - - protoReq.Id, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id", err) - } - - val, ok = pathParams["line_num"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "line_num") - } - - if protoReq.Code == nil { - protoReq.Code = &SimpleMessage_LineNum{} - } else if _, ok := protoReq.Code.(*SimpleMessage_LineNum); !ok { - return nil, metadata, grpc.Errorf(codes.InvalidArgument, "expect type: *SimpleMessage_LineNum, but: %t\n", protoReq.Code) - } - protoReq.Code.(*SimpleMessage_LineNum).LineNum, err = runtime.Int64(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "line_num", err) - } - - val, ok = pathParams["status.note"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "status.note") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "status.note", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "status.note", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_EchoService_Echo_3); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.Echo(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_EchoService_Echo_3(ctx context.Context, marshaler runtime.Marshaler, server EchoServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq SimpleMessage - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id") - } - - protoReq.Id, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id", err) - } - - val, ok = pathParams["line_num"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "line_num") - } - - if protoReq.Code == nil { - protoReq.Code = &SimpleMessage_LineNum{} - } else if _, ok := protoReq.Code.(*SimpleMessage_LineNum); !ok { - return nil, metadata, grpc.Errorf(codes.InvalidArgument, "expect type: *SimpleMessage_LineNum, but: %t\n", protoReq.Code) - } - protoReq.Code.(*SimpleMessage_LineNum).LineNum, err = runtime.Int64(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "line_num", err) - } - - val, ok = pathParams["status.note"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "status.note") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "status.note", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "status.note", err) - } - - if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_EchoService_Echo_3); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.Echo(ctx, &protoReq) - return msg, metadata, err - -} - -var ( - filter_EchoService_Echo_4 = &utilities.DoubleArray{Encoding: map[string]int{"no": 0, "note": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} -) - -func request_EchoService_Echo_4(ctx context.Context, marshaler runtime.Marshaler, client EchoServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq SimpleMessage - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["no.note"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "no.note") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "no.note", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "no.note", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_EchoService_Echo_4); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.Echo(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_EchoService_Echo_4(ctx context.Context, marshaler runtime.Marshaler, server EchoServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq SimpleMessage - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["no.note"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "no.note") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "no.note", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "no.note", err) - } - - if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_EchoService_Echo_4); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.Echo(ctx, &protoReq) - return msg, metadata, err - -} - -func request_EchoService_EchoBody_0(ctx context.Context, marshaler runtime.Marshaler, client EchoServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq SimpleMessage - 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.EchoBody(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_EchoService_EchoBody_0(ctx context.Context, marshaler runtime.Marshaler, server EchoServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq SimpleMessage - 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 := server.EchoBody(ctx, &protoReq) - return msg, metadata, err - -} - -var ( - filter_EchoService_EchoDelete_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} -) - -func request_EchoService_EchoDelete_0(ctx context.Context, marshaler runtime.Marshaler, client EchoServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq SimpleMessage - var metadata runtime.ServerMetadata - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_EchoService_EchoDelete_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.EchoDelete(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_EchoService_EchoDelete_0(ctx context.Context, marshaler runtime.Marshaler, server EchoServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq SimpleMessage - var metadata runtime.ServerMetadata - - if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_EchoService_EchoDelete_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.EchoDelete(ctx, &protoReq) - return msg, metadata, err - -} - -// RegisterEchoServiceHandlerServer registers the http handlers for service EchoService to "mux". -// UnaryRPC :call EchoServiceServer directly. -// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -func RegisterEchoServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server EchoServiceServer) error { - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_EchoService_Echo_0(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_EchoService_Echo_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_EchoService_Echo_1(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_EchoService_Echo_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_EchoService_Echo_2(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_EchoService_Echo_2(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_EchoService_Echo_3(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_EchoService_Echo_3(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_EchoService_Echo_4(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_EchoService_Echo_4(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_EchoService_EchoBody_0(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_EchoService_EchoBody_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_EchoService_EchoDelete_0(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_EchoService_EchoDelete_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - return nil -} - -// RegisterEchoServiceHandlerFromEndpoint is same as RegisterEchoServiceHandler but -// automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterEchoServiceHandlerFromEndpoint(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 RegisterEchoServiceHandler(ctx, mux, conn) -} - -// RegisterEchoServiceHandler registers the http handlers for service EchoService to "mux". -// The handlers forward requests to the grpc endpoint over "conn". -func RegisterEchoServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterEchoServiceHandlerClient(ctx, mux, NewEchoServiceClient(conn)) -} - -// 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. -func RegisterEchoServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client EchoServiceClient) error { - - 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() - 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_EchoService_Echo_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_EchoService_Echo_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_EchoService_Echo_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_EchoService_Echo_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_EchoService_Echo_2(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_EchoService_Echo_2(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_EchoService_Echo_3(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_EchoService_Echo_3(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_EchoService_Echo_4(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_EchoService_Echo_4(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_EchoService_EchoBody_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_EchoService_EchoBody_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_EchoService_EchoDelete_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_EchoService_EchoDelete_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - return nil -} - -var ( - pattern_EchoService_Echo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"v1", "example", "echo", "id"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_EchoService_Echo_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"v1", "example", "echo", "id", "num"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_EchoService_Echo_2 = 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}, []string{"v1", "example", "echo", "id", "num", "lang"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_EchoService_Echo_3 = 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}, []string{"v1", "example", "echo1", "id", "line_num", "status.note"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_EchoService_Echo_4 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"v1", "example", "echo2", "no.note"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_EchoService_EchoBody_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v1", "example", "echo_body"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_EchoService_EchoDelete_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v1", "example", "echo_delete"}, "", runtime.AssumeColonVerbOpt(true))) -) - -var ( - forward_EchoService_Echo_0 = runtime.ForwardResponseMessage - - forward_EchoService_Echo_1 = runtime.ForwardResponseMessage - - forward_EchoService_Echo_2 = runtime.ForwardResponseMessage - - forward_EchoService_Echo_3 = runtime.ForwardResponseMessage - - forward_EchoService_Echo_4 = runtime.ForwardResponseMessage - - forward_EchoService_EchoBody_0 = runtime.ForwardResponseMessage - - forward_EchoService_EchoDelete_0 = runtime.ForwardResponseMessage -) 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 deleted file mode 100644 index f50fe51b..00000000 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/flow_combination.pb.go +++ /dev/null @@ -1,840 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: examples/proto/examplepb/flow_combination.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 EmptyProto struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *EmptyProto) Reset() { *m = EmptyProto{} } -func (m *EmptyProto) String() string { return proto.CompactTextString(m) } -func (*EmptyProto) ProtoMessage() {} -func (*EmptyProto) Descriptor() ([]byte, []int) { - return fileDescriptor_flow_combination_63ace3110e4bd00b, []int{0} -} -func (m *EmptyProto) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EmptyProto.Unmarshal(m, b) -} -func (m *EmptyProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EmptyProto.Marshal(b, m, deterministic) -} -func (dst *EmptyProto) XXX_Merge(src proto.Message) { - xxx_messageInfo_EmptyProto.Merge(dst, src) -} -func (m *EmptyProto) XXX_Size() int { - return xxx_messageInfo_EmptyProto.Size(m) -} -func (m *EmptyProto) XXX_DiscardUnknown() { - xxx_messageInfo_EmptyProto.DiscardUnknown(m) -} - -var xxx_messageInfo_EmptyProto proto.InternalMessageInfo - -type NonEmptyProto struct { - 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:"-"` -} - -func (m *NonEmptyProto) Reset() { *m = NonEmptyProto{} } -func (m *NonEmptyProto) String() string { return proto.CompactTextString(m) } -func (*NonEmptyProto) ProtoMessage() {} -func (*NonEmptyProto) Descriptor() ([]byte, []int) { - return fileDescriptor_flow_combination_63ace3110e4bd00b, []int{1} -} -func (m *NonEmptyProto) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NonEmptyProto.Unmarshal(m, b) -} -func (m *NonEmptyProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NonEmptyProto.Marshal(b, m, deterministic) -} -func (dst *NonEmptyProto) XXX_Merge(src proto.Message) { - xxx_messageInfo_NonEmptyProto.Merge(dst, src) -} -func (m *NonEmptyProto) XXX_Size() int { - return xxx_messageInfo_NonEmptyProto.Size(m) -} -func (m *NonEmptyProto) XXX_DiscardUnknown() { - xxx_messageInfo_NonEmptyProto.DiscardUnknown(m) -} - -var xxx_messageInfo_NonEmptyProto proto.InternalMessageInfo - -func (m *NonEmptyProto) GetA() string { - if m != nil { - return m.A - } - return "" -} - -func (m *NonEmptyProto) GetB() string { - if m != nil { - return m.B - } - return "" -} - -func (m *NonEmptyProto) GetC() string { - if m != nil { - return m.C - } - return "" -} - -type UnaryProto struct { - Str string `protobuf:"bytes,1,opt,name=str,proto3" json:"str,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UnaryProto) Reset() { *m = UnaryProto{} } -func (m *UnaryProto) String() string { return proto.CompactTextString(m) } -func (*UnaryProto) ProtoMessage() {} -func (*UnaryProto) Descriptor() ([]byte, []int) { - return fileDescriptor_flow_combination_63ace3110e4bd00b, []int{2} -} -func (m *UnaryProto) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UnaryProto.Unmarshal(m, b) -} -func (m *UnaryProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UnaryProto.Marshal(b, m, deterministic) -} -func (dst *UnaryProto) XXX_Merge(src proto.Message) { - xxx_messageInfo_UnaryProto.Merge(dst, src) -} -func (m *UnaryProto) XXX_Size() int { - return xxx_messageInfo_UnaryProto.Size(m) -} -func (m *UnaryProto) XXX_DiscardUnknown() { - xxx_messageInfo_UnaryProto.DiscardUnknown(m) -} - -var xxx_messageInfo_UnaryProto proto.InternalMessageInfo - -func (m *UnaryProto) GetStr() string { - if m != nil { - return m.Str - } - return "" -} - -type NestedProto struct { - 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:"-"` -} - -func (m *NestedProto) Reset() { *m = NestedProto{} } -func (m *NestedProto) String() string { return proto.CompactTextString(m) } -func (*NestedProto) ProtoMessage() {} -func (*NestedProto) Descriptor() ([]byte, []int) { - return fileDescriptor_flow_combination_63ace3110e4bd00b, []int{3} -} -func (m *NestedProto) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NestedProto.Unmarshal(m, b) -} -func (m *NestedProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NestedProto.Marshal(b, m, deterministic) -} -func (dst *NestedProto) XXX_Merge(src proto.Message) { - xxx_messageInfo_NestedProto.Merge(dst, src) -} -func (m *NestedProto) XXX_Size() int { - return xxx_messageInfo_NestedProto.Size(m) -} -func (m *NestedProto) XXX_DiscardUnknown() { - xxx_messageInfo_NestedProto.DiscardUnknown(m) -} - -var xxx_messageInfo_NestedProto proto.InternalMessageInfo - -func (m *NestedProto) GetA() *UnaryProto { - if m != nil { - return m.A - } - return nil -} - -func (m *NestedProto) GetB() string { - if m != nil { - return m.B - } - return "" -} - -func (m *NestedProto) GetC() string { - if m != nil { - return m.C - } - return "" -} - -type SingleNestedProto struct { - A *UnaryProto `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SingleNestedProto) Reset() { *m = SingleNestedProto{} } -func (m *SingleNestedProto) String() string { return proto.CompactTextString(m) } -func (*SingleNestedProto) ProtoMessage() {} -func (*SingleNestedProto) Descriptor() ([]byte, []int) { - return fileDescriptor_flow_combination_63ace3110e4bd00b, []int{4} -} -func (m *SingleNestedProto) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SingleNestedProto.Unmarshal(m, b) -} -func (m *SingleNestedProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SingleNestedProto.Marshal(b, m, deterministic) -} -func (dst *SingleNestedProto) XXX_Merge(src proto.Message) { - xxx_messageInfo_SingleNestedProto.Merge(dst, src) -} -func (m *SingleNestedProto) XXX_Size() int { - return xxx_messageInfo_SingleNestedProto.Size(m) -} -func (m *SingleNestedProto) XXX_DiscardUnknown() { - xxx_messageInfo_SingleNestedProto.DiscardUnknown(m) -} - -var xxx_messageInfo_SingleNestedProto proto.InternalMessageInfo - -func (m *SingleNestedProto) GetA() *UnaryProto { - if m != nil { - return m.A - } - return nil -} - -func init() { - proto.RegisterType((*EmptyProto)(nil), "grpc.gateway.examples.examplepb.EmptyProto") - proto.RegisterType((*NonEmptyProto)(nil), "grpc.gateway.examples.examplepb.NonEmptyProto") - proto.RegisterType((*UnaryProto)(nil), "grpc.gateway.examples.examplepb.UnaryProto") - proto.RegisterType((*NestedProto)(nil), "grpc.gateway.examples.examplepb.NestedProto") - proto.RegisterType((*SingleNestedProto)(nil), "grpc.gateway.examples.examplepb.SingleNestedProto") -} - -// 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 - -// FlowCombinationClient is the client API for FlowCombination service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type FlowCombinationClient interface { - RpcEmptyRpc(ctx context.Context, in *EmptyProto, opts ...grpc.CallOption) (*EmptyProto, error) - RpcEmptyStream(ctx context.Context, in *EmptyProto, opts ...grpc.CallOption) (FlowCombination_RpcEmptyStreamClient, error) - StreamEmptyRpc(ctx context.Context, opts ...grpc.CallOption) (FlowCombination_StreamEmptyRpcClient, error) - StreamEmptyStream(ctx context.Context, opts ...grpc.CallOption) (FlowCombination_StreamEmptyStreamClient, error) - RpcBodyRpc(ctx context.Context, in *NonEmptyProto, opts ...grpc.CallOption) (*EmptyProto, error) - RpcPathSingleNestedRpc(ctx context.Context, in *SingleNestedProto, opts ...grpc.CallOption) (*EmptyProto, error) - RpcPathNestedRpc(ctx context.Context, in *NestedProto, opts ...grpc.CallOption) (*EmptyProto, error) - RpcBodyStream(ctx context.Context, in *NonEmptyProto, opts ...grpc.CallOption) (FlowCombination_RpcBodyStreamClient, error) - RpcPathSingleNestedStream(ctx context.Context, in *SingleNestedProto, opts ...grpc.CallOption) (FlowCombination_RpcPathSingleNestedStreamClient, error) - RpcPathNestedStream(ctx context.Context, in *NestedProto, opts ...grpc.CallOption) (FlowCombination_RpcPathNestedStreamClient, error) -} - -type flowCombinationClient struct { - cc *grpc.ClientConn -} - -func NewFlowCombinationClient(cc *grpc.ClientConn) FlowCombinationClient { - return &flowCombinationClient{cc} -} - -func (c *flowCombinationClient) RpcEmptyRpc(ctx context.Context, in *EmptyProto, opts ...grpc.CallOption) (*EmptyProto, error) { - out := new(EmptyProto) - err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.FlowCombination/RpcEmptyRpc", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *flowCombinationClient) RpcEmptyStream(ctx context.Context, in *EmptyProto, opts ...grpc.CallOption) (FlowCombination_RpcEmptyStreamClient, error) { - stream, err := c.cc.NewStream(ctx, &_FlowCombination_serviceDesc.Streams[0], "/grpc.gateway.examples.examplepb.FlowCombination/RpcEmptyStream", opts...) - if err != nil { - return nil, err - } - x := &flowCombinationRpcEmptyStreamClient{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 FlowCombination_RpcEmptyStreamClient interface { - Recv() (*EmptyProto, error) - grpc.ClientStream -} - -type flowCombinationRpcEmptyStreamClient struct { - grpc.ClientStream -} - -func (x *flowCombinationRpcEmptyStreamClient) Recv() (*EmptyProto, error) { - m := new(EmptyProto) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *flowCombinationClient) StreamEmptyRpc(ctx context.Context, opts ...grpc.CallOption) (FlowCombination_StreamEmptyRpcClient, error) { - stream, err := c.cc.NewStream(ctx, &_FlowCombination_serviceDesc.Streams[1], "/grpc.gateway.examples.examplepb.FlowCombination/StreamEmptyRpc", opts...) - if err != nil { - return nil, err - } - x := &flowCombinationStreamEmptyRpcClient{stream} - return x, nil -} - -type FlowCombination_StreamEmptyRpcClient interface { - Send(*EmptyProto) error - CloseAndRecv() (*EmptyProto, error) - grpc.ClientStream -} - -type flowCombinationStreamEmptyRpcClient struct { - grpc.ClientStream -} - -func (x *flowCombinationStreamEmptyRpcClient) Send(m *EmptyProto) error { - return x.ClientStream.SendMsg(m) -} - -func (x *flowCombinationStreamEmptyRpcClient) CloseAndRecv() (*EmptyProto, error) { - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - m := new(EmptyProto) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *flowCombinationClient) StreamEmptyStream(ctx context.Context, opts ...grpc.CallOption) (FlowCombination_StreamEmptyStreamClient, error) { - stream, err := c.cc.NewStream(ctx, &_FlowCombination_serviceDesc.Streams[2], "/grpc.gateway.examples.examplepb.FlowCombination/StreamEmptyStream", opts...) - if err != nil { - return nil, err - } - x := &flowCombinationStreamEmptyStreamClient{stream} - return x, nil -} - -type FlowCombination_StreamEmptyStreamClient interface { - Send(*EmptyProto) error - Recv() (*EmptyProto, error) - grpc.ClientStream -} - -type flowCombinationStreamEmptyStreamClient struct { - grpc.ClientStream -} - -func (x *flowCombinationStreamEmptyStreamClient) Send(m *EmptyProto) error { - return x.ClientStream.SendMsg(m) -} - -func (x *flowCombinationStreamEmptyStreamClient) Recv() (*EmptyProto, error) { - m := new(EmptyProto) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *flowCombinationClient) RpcBodyRpc(ctx context.Context, in *NonEmptyProto, opts ...grpc.CallOption) (*EmptyProto, error) { - out := new(EmptyProto) - err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.FlowCombination/RpcBodyRpc", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *flowCombinationClient) RpcPathSingleNestedRpc(ctx context.Context, in *SingleNestedProto, opts ...grpc.CallOption) (*EmptyProto, error) { - out := new(EmptyProto) - err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.FlowCombination/RpcPathSingleNestedRpc", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *flowCombinationClient) RpcPathNestedRpc(ctx context.Context, in *NestedProto, opts ...grpc.CallOption) (*EmptyProto, error) { - out := new(EmptyProto) - err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.FlowCombination/RpcPathNestedRpc", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *flowCombinationClient) RpcBodyStream(ctx context.Context, in *NonEmptyProto, opts ...grpc.CallOption) (FlowCombination_RpcBodyStreamClient, error) { - stream, err := c.cc.NewStream(ctx, &_FlowCombination_serviceDesc.Streams[3], "/grpc.gateway.examples.examplepb.FlowCombination/RpcBodyStream", opts...) - if err != nil { - return nil, err - } - x := &flowCombinationRpcBodyStreamClient{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 FlowCombination_RpcBodyStreamClient interface { - Recv() (*EmptyProto, error) - grpc.ClientStream -} - -type flowCombinationRpcBodyStreamClient struct { - grpc.ClientStream -} - -func (x *flowCombinationRpcBodyStreamClient) Recv() (*EmptyProto, error) { - m := new(EmptyProto) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *flowCombinationClient) RpcPathSingleNestedStream(ctx context.Context, in *SingleNestedProto, opts ...grpc.CallOption) (FlowCombination_RpcPathSingleNestedStreamClient, error) { - stream, err := c.cc.NewStream(ctx, &_FlowCombination_serviceDesc.Streams[4], "/grpc.gateway.examples.examplepb.FlowCombination/RpcPathSingleNestedStream", opts...) - if err != nil { - return nil, err - } - x := &flowCombinationRpcPathSingleNestedStreamClient{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 FlowCombination_RpcPathSingleNestedStreamClient interface { - Recv() (*EmptyProto, error) - grpc.ClientStream -} - -type flowCombinationRpcPathSingleNestedStreamClient struct { - grpc.ClientStream -} - -func (x *flowCombinationRpcPathSingleNestedStreamClient) Recv() (*EmptyProto, error) { - m := new(EmptyProto) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *flowCombinationClient) RpcPathNestedStream(ctx context.Context, in *NestedProto, opts ...grpc.CallOption) (FlowCombination_RpcPathNestedStreamClient, error) { - stream, err := c.cc.NewStream(ctx, &_FlowCombination_serviceDesc.Streams[5], "/grpc.gateway.examples.examplepb.FlowCombination/RpcPathNestedStream", opts...) - if err != nil { - return nil, err - } - x := &flowCombinationRpcPathNestedStreamClient{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 FlowCombination_RpcPathNestedStreamClient interface { - Recv() (*EmptyProto, error) - grpc.ClientStream -} - -type flowCombinationRpcPathNestedStreamClient struct { - grpc.ClientStream -} - -func (x *flowCombinationRpcPathNestedStreamClient) Recv() (*EmptyProto, error) { - m := new(EmptyProto) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// FlowCombinationServer is the server API for FlowCombination service. -type FlowCombinationServer interface { - RpcEmptyRpc(context.Context, *EmptyProto) (*EmptyProto, error) - RpcEmptyStream(*EmptyProto, FlowCombination_RpcEmptyStreamServer) error - StreamEmptyRpc(FlowCombination_StreamEmptyRpcServer) error - StreamEmptyStream(FlowCombination_StreamEmptyStreamServer) error - RpcBodyRpc(context.Context, *NonEmptyProto) (*EmptyProto, error) - RpcPathSingleNestedRpc(context.Context, *SingleNestedProto) (*EmptyProto, error) - RpcPathNestedRpc(context.Context, *NestedProto) (*EmptyProto, error) - RpcBodyStream(*NonEmptyProto, FlowCombination_RpcBodyStreamServer) error - RpcPathSingleNestedStream(*SingleNestedProto, FlowCombination_RpcPathSingleNestedStreamServer) error - RpcPathNestedStream(*NestedProto, FlowCombination_RpcPathNestedStreamServer) error -} - -func RegisterFlowCombinationServer(s *grpc.Server, srv FlowCombinationServer) { - s.RegisterService(&_FlowCombination_serviceDesc, srv) -} - -func _FlowCombination_RpcEmptyRpc_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EmptyProto) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FlowCombinationServer).RpcEmptyRpc(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.gateway.examples.examplepb.FlowCombination/RpcEmptyRpc", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FlowCombinationServer).RpcEmptyRpc(ctx, req.(*EmptyProto)) - } - return interceptor(ctx, in, info, handler) -} - -func _FlowCombination_RpcEmptyStream_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(EmptyProto) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(FlowCombinationServer).RpcEmptyStream(m, &flowCombinationRpcEmptyStreamServer{stream}) -} - -type FlowCombination_RpcEmptyStreamServer interface { - Send(*EmptyProto) error - grpc.ServerStream -} - -type flowCombinationRpcEmptyStreamServer struct { - grpc.ServerStream -} - -func (x *flowCombinationRpcEmptyStreamServer) Send(m *EmptyProto) error { - return x.ServerStream.SendMsg(m) -} - -func _FlowCombination_StreamEmptyRpc_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(FlowCombinationServer).StreamEmptyRpc(&flowCombinationStreamEmptyRpcServer{stream}) -} - -type FlowCombination_StreamEmptyRpcServer interface { - SendAndClose(*EmptyProto) error - Recv() (*EmptyProto, error) - grpc.ServerStream -} - -type flowCombinationStreamEmptyRpcServer struct { - grpc.ServerStream -} - -func (x *flowCombinationStreamEmptyRpcServer) SendAndClose(m *EmptyProto) error { - return x.ServerStream.SendMsg(m) -} - -func (x *flowCombinationStreamEmptyRpcServer) Recv() (*EmptyProto, error) { - m := new(EmptyProto) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _FlowCombination_StreamEmptyStream_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(FlowCombinationServer).StreamEmptyStream(&flowCombinationStreamEmptyStreamServer{stream}) -} - -type FlowCombination_StreamEmptyStreamServer interface { - Send(*EmptyProto) error - Recv() (*EmptyProto, error) - grpc.ServerStream -} - -type flowCombinationStreamEmptyStreamServer struct { - grpc.ServerStream -} - -func (x *flowCombinationStreamEmptyStreamServer) Send(m *EmptyProto) error { - return x.ServerStream.SendMsg(m) -} - -func (x *flowCombinationStreamEmptyStreamServer) Recv() (*EmptyProto, error) { - m := new(EmptyProto) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _FlowCombination_RpcBodyRpc_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NonEmptyProto) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FlowCombinationServer).RpcBodyRpc(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.gateway.examples.examplepb.FlowCombination/RpcBodyRpc", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FlowCombinationServer).RpcBodyRpc(ctx, req.(*NonEmptyProto)) - } - return interceptor(ctx, in, info, handler) -} - -func _FlowCombination_RpcPathSingleNestedRpc_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SingleNestedProto) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FlowCombinationServer).RpcPathSingleNestedRpc(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.gateway.examples.examplepb.FlowCombination/RpcPathSingleNestedRpc", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FlowCombinationServer).RpcPathSingleNestedRpc(ctx, req.(*SingleNestedProto)) - } - return interceptor(ctx, in, info, handler) -} - -func _FlowCombination_RpcPathNestedRpc_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NestedProto) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FlowCombinationServer).RpcPathNestedRpc(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.gateway.examples.examplepb.FlowCombination/RpcPathNestedRpc", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FlowCombinationServer).RpcPathNestedRpc(ctx, req.(*NestedProto)) - } - return interceptor(ctx, in, info, handler) -} - -func _FlowCombination_RpcBodyStream_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(NonEmptyProto) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(FlowCombinationServer).RpcBodyStream(m, &flowCombinationRpcBodyStreamServer{stream}) -} - -type FlowCombination_RpcBodyStreamServer interface { - Send(*EmptyProto) error - grpc.ServerStream -} - -type flowCombinationRpcBodyStreamServer struct { - grpc.ServerStream -} - -func (x *flowCombinationRpcBodyStreamServer) Send(m *EmptyProto) error { - return x.ServerStream.SendMsg(m) -} - -func _FlowCombination_RpcPathSingleNestedStream_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(SingleNestedProto) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(FlowCombinationServer).RpcPathSingleNestedStream(m, &flowCombinationRpcPathSingleNestedStreamServer{stream}) -} - -type FlowCombination_RpcPathSingleNestedStreamServer interface { - Send(*EmptyProto) error - grpc.ServerStream -} - -type flowCombinationRpcPathSingleNestedStreamServer struct { - grpc.ServerStream -} - -func (x *flowCombinationRpcPathSingleNestedStreamServer) Send(m *EmptyProto) error { - return x.ServerStream.SendMsg(m) -} - -func _FlowCombination_RpcPathNestedStream_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(NestedProto) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(FlowCombinationServer).RpcPathNestedStream(m, &flowCombinationRpcPathNestedStreamServer{stream}) -} - -type FlowCombination_RpcPathNestedStreamServer interface { - Send(*EmptyProto) error - grpc.ServerStream -} - -type flowCombinationRpcPathNestedStreamServer struct { - grpc.ServerStream -} - -func (x *flowCombinationRpcPathNestedStreamServer) Send(m *EmptyProto) error { - return x.ServerStream.SendMsg(m) -} - -var _FlowCombination_serviceDesc = grpc.ServiceDesc{ - ServiceName: "grpc.gateway.examples.examplepb.FlowCombination", - HandlerType: (*FlowCombinationServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "RpcEmptyRpc", - Handler: _FlowCombination_RpcEmptyRpc_Handler, - }, - { - MethodName: "RpcBodyRpc", - Handler: _FlowCombination_RpcBodyRpc_Handler, - }, - { - MethodName: "RpcPathSingleNestedRpc", - Handler: _FlowCombination_RpcPathSingleNestedRpc_Handler, - }, - { - MethodName: "RpcPathNestedRpc", - Handler: _FlowCombination_RpcPathNestedRpc_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "RpcEmptyStream", - Handler: _FlowCombination_RpcEmptyStream_Handler, - ServerStreams: true, - }, - { - StreamName: "StreamEmptyRpc", - Handler: _FlowCombination_StreamEmptyRpc_Handler, - ClientStreams: true, - }, - { - StreamName: "StreamEmptyStream", - Handler: _FlowCombination_StreamEmptyStream_Handler, - ServerStreams: true, - ClientStreams: true, - }, - { - StreamName: "RpcBodyStream", - Handler: _FlowCombination_RpcBodyStream_Handler, - ServerStreams: true, - }, - { - StreamName: "RpcPathSingleNestedStream", - Handler: _FlowCombination_RpcPathSingleNestedStream_Handler, - ServerStreams: true, - }, - { - StreamName: "RpcPathNestedStream", - Handler: _FlowCombination_RpcPathNestedStream_Handler, - ServerStreams: true, - }, - }, - Metadata: "examples/proto/examplepb/flow_combination.proto", -} - -func init() { - proto.RegisterFile("examples/proto/examplepb/flow_combination.proto", fileDescriptor_flow_combination_63ace3110e4bd00b) -} - -var fileDescriptor_flow_combination_63ace3110e4bd00b = []byte{ - // 655 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x96, 0xbf, 0x8f, 0x12, 0x41, - 0x14, 0xc7, 0xf3, 0xb8, 0xc4, 0xe4, 0x86, 0xfb, 0xc1, 0x2d, 0x06, 0x81, 0xc3, 0xe3, 0x6e, 0xbc, - 0x44, 0xe2, 0x8f, 0x5d, 0x82, 0xd5, 0x51, 0x9e, 0xd1, 0x92, 0x5c, 0xb8, 0xd8, 0x6c, 0x63, 0x66, - 0x87, 0x15, 0x48, 0x60, 0x67, 0x6e, 0x77, 0x0d, 0x5e, 0x08, 0x31, 0xb1, 0xb1, 0xb4, 0xf0, 0x0f, - 0xb0, 0xb4, 0xf2, 0x1f, 0xb0, 0xb3, 0xb2, 0x31, 0xb1, 0x30, 0xb1, 0xb3, 0xb3, 0xf3, 0x9f, 0x30, - 0xfb, 0xf6, 0xc7, 0xb0, 0x0a, 0x6e, 0x30, 0x62, 0xb7, 0x6f, 0xe6, 0xbd, 0x37, 0x9f, 0xf9, 0xce, - 0xf7, 0x11, 0x88, 0x61, 0x3f, 0x63, 0x63, 0x39, 0xb2, 0x3d, 0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73, 0x09, 0x00, 0x00, -} 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 deleted file mode 100644 index 14599e7a..00000000 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/flow_combination.pb.gw.go +++ /dev/null @@ -1,2479 +0,0 @@ -// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: examples/proto/examplepb/flow_combination.proto - -/* -Package examplepb is a reverse proxy. - -It translates gRPC into RESTful JSON APIs. -*/ -package examplepb - -import ( - "context" - "io" - "net/http" - - "github.com/golang/protobuf/descriptor" - "github.com/golang/protobuf/proto" - "github.com/grpc-ecosystem/grpc-gateway/runtime" - "github.com/grpc-ecosystem/grpc-gateway/utilities" - "google.golang.org/grpc" - "google.golang.org/grpc/codes" - "google.golang.org/grpc/grpclog" - "google.golang.org/grpc/status" -) - -// Suppress "imported and not used" errors -var _ codes.Code -var _ io.Reader -var _ status.Status -var _ = runtime.String -var _ = utilities.NewDoubleArray -var _ = descriptor.ForMessage - -func request_FlowCombination_RpcEmptyRpc_0(ctx context.Context, marshaler runtime.Marshaler, client FlowCombinationClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq EmptyProto - var metadata runtime.ServerMetadata - - msg, err := client.RpcEmptyRpc(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_FlowCombination_RpcEmptyRpc_0(ctx context.Context, marshaler runtime.Marshaler, server FlowCombinationServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq EmptyProto - var metadata runtime.ServerMetadata - - msg, err := server.RpcEmptyRpc(ctx, &protoReq) - return msg, metadata, err - -} - -func request_FlowCombination_RpcEmptyStream_0(ctx context.Context, marshaler runtime.Marshaler, client FlowCombinationClient, req *http.Request, pathParams map[string]string) (FlowCombination_RpcEmptyStreamClient, runtime.ServerMetadata, error) { - var protoReq EmptyProto - var metadata runtime.ServerMetadata - - stream, err := client.RpcEmptyStream(ctx, &protoReq) - if err != nil { - return nil, metadata, err - } - header, err := stream.Header() - if err != nil { - return nil, metadata, err - } - metadata.HeaderMD = header - return stream, metadata, nil - -} - -func request_FlowCombination_StreamEmptyRpc_0(ctx context.Context, marshaler runtime.Marshaler, client FlowCombinationClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var metadata runtime.ServerMetadata - stream, err := client.StreamEmptyRpc(ctx) - if err != nil { - grpclog.Infof("Failed to start streaming: %v", err) - return nil, metadata, err - } - dec := marshaler.NewDecoder(req.Body) - for { - var protoReq EmptyProto - err = dec.Decode(&protoReq) - if err == io.EOF { - break - } - if err != nil { - grpclog.Infof("Failed to decode request: %v", err) - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err = stream.Send(&protoReq); err != nil { - if err == io.EOF { - break - } - grpclog.Infof("Failed to send request: %v", err) - return nil, metadata, err - } - } - - if err := stream.CloseSend(); err != nil { - grpclog.Infof("Failed to terminate client stream: %v", err) - return nil, metadata, err - } - header, err := stream.Header() - if err != nil { - grpclog.Infof("Failed to get header from client: %v", err) - return nil, metadata, err - } - metadata.HeaderMD = header - - msg, err := stream.CloseAndRecv() - metadata.TrailerMD = stream.Trailer() - return msg, metadata, err - -} - -func request_FlowCombination_StreamEmptyStream_0(ctx context.Context, marshaler runtime.Marshaler, client FlowCombinationClient, req *http.Request, pathParams map[string]string) (FlowCombination_StreamEmptyStreamClient, runtime.ServerMetadata, error) { - var metadata runtime.ServerMetadata - stream, err := client.StreamEmptyStream(ctx) - if err != nil { - grpclog.Infof("Failed to start streaming: %v", err) - return nil, metadata, err - } - dec := marshaler.NewDecoder(req.Body) - handleSend := func() error { - var protoReq EmptyProto - err := dec.Decode(&protoReq) - if err == io.EOF { - return err - } - if err != nil { - grpclog.Infof("Failed to decode request: %v", err) - return err - } - if err := stream.Send(&protoReq); err != nil { - grpclog.Infof("Failed to send request: %v", err) - return err - } - return nil - } - if err := handleSend(); err != nil { - if cerr := stream.CloseSend(); cerr != nil { - grpclog.Infof("Failed to terminate client stream: %v", cerr) - } - if err == io.EOF { - return stream, metadata, nil - } - return nil, metadata, err - } - go func() { - for { - if err := handleSend(); err != nil { - break - } - } - if err := stream.CloseSend(); err != nil { - grpclog.Infof("Failed to terminate client stream: %v", err) - } - }() - header, err := stream.Header() - if err != nil { - grpclog.Infof("Failed to get header from client: %v", err) - return nil, metadata, err - } - metadata.HeaderMD = header - return stream, metadata, nil -} - -func request_FlowCombination_RpcBodyRpc_0(ctx context.Context, marshaler runtime.Marshaler, client FlowCombinationClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq NonEmptyProto - 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.RpcBodyRpc(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_FlowCombination_RpcBodyRpc_0(ctx context.Context, marshaler runtime.Marshaler, server FlowCombinationServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq NonEmptyProto - 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 := server.RpcBodyRpc(ctx, &protoReq) - return msg, metadata, err - -} - -func request_FlowCombination_RpcBodyRpc_1(ctx context.Context, marshaler runtime.Marshaler, client FlowCombinationClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq NonEmptyProto - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["a"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "a") - } - - protoReq.A, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "a", err) - } - - val, ok = pathParams["b"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "b") - } - - protoReq.B, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "b", err) - } - - val, ok = pathParams["c"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "c") - } - - protoReq.C, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "c", err) - } - - msg, err := client.RpcBodyRpc(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_FlowCombination_RpcBodyRpc_1(ctx context.Context, marshaler runtime.Marshaler, server FlowCombinationServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq NonEmptyProto - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["a"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "a") - } - - protoReq.A, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "a", err) - } - - val, ok = pathParams["b"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "b") - } - - protoReq.B, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "b", err) - } - - val, ok = pathParams["c"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "c") - } - - protoReq.C, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "c", err) - } - - msg, err := server.RpcBodyRpc(ctx, &protoReq) - return msg, metadata, err - -} - -var ( - filter_FlowCombination_RpcBodyRpc_2 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} -) - -func request_FlowCombination_RpcBodyRpc_2(ctx context.Context, marshaler runtime.Marshaler, client FlowCombinationClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq NonEmptyProto - var metadata runtime.ServerMetadata - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_FlowCombination_RpcBodyRpc_2); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.RpcBodyRpc(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_FlowCombination_RpcBodyRpc_2(ctx context.Context, marshaler runtime.Marshaler, server FlowCombinationServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq NonEmptyProto - var metadata runtime.ServerMetadata - - if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_FlowCombination_RpcBodyRpc_2); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.RpcBodyRpc(ctx, &protoReq) - return msg, metadata, err - -} - -func request_FlowCombination_RpcBodyRpc_3(ctx context.Context, marshaler runtime.Marshaler, client FlowCombinationClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq NonEmptyProto - 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.C); 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["a"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "a") - } - - protoReq.A, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "a", err) - } - - val, ok = pathParams["b"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "b") - } - - protoReq.B, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "b", err) - } - - msg, err := client.RpcBodyRpc(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_FlowCombination_RpcBodyRpc_3(ctx context.Context, marshaler runtime.Marshaler, server FlowCombinationServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq NonEmptyProto - 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.C); 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["a"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "a") - } - - protoReq.A, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "a", err) - } - - val, ok = pathParams["b"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "b") - } - - protoReq.B, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "b", err) - } - - msg, err := server.RpcBodyRpc(ctx, &protoReq) - return msg, metadata, err - -} - -var ( - filter_FlowCombination_RpcBodyRpc_4 = &utilities.DoubleArray{Encoding: map[string]int{"c": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} -) - -func request_FlowCombination_RpcBodyRpc_4(ctx context.Context, marshaler runtime.Marshaler, client FlowCombinationClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq NonEmptyProto - 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.C); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_FlowCombination_RpcBodyRpc_4); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.RpcBodyRpc(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_FlowCombination_RpcBodyRpc_4(ctx context.Context, marshaler runtime.Marshaler, server FlowCombinationServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq NonEmptyProto - 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.C); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_FlowCombination_RpcBodyRpc_4); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.RpcBodyRpc(ctx, &protoReq) - return msg, metadata, err - -} - -var ( - filter_FlowCombination_RpcBodyRpc_5 = &utilities.DoubleArray{Encoding: map[string]int{"c": 0, "a": 1}, Base: []int{1, 1, 2, 0, 0}, Check: []int{0, 1, 1, 2, 3}} -) - -func request_FlowCombination_RpcBodyRpc_5(ctx context.Context, marshaler runtime.Marshaler, client FlowCombinationClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq NonEmptyProto - 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.C); 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["a"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "a") - } - - protoReq.A, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "a", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_FlowCombination_RpcBodyRpc_5); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.RpcBodyRpc(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_FlowCombination_RpcBodyRpc_5(ctx context.Context, marshaler runtime.Marshaler, server FlowCombinationServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq NonEmptyProto - 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.C); 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["a"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "a") - } - - protoReq.A, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "a", err) - } - - if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_FlowCombination_RpcBodyRpc_5); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.RpcBodyRpc(ctx, &protoReq) - return msg, metadata, err - -} - -var ( - filter_FlowCombination_RpcBodyRpc_6 = &utilities.DoubleArray{Encoding: map[string]int{"a": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} -) - -func request_FlowCombination_RpcBodyRpc_6(ctx context.Context, marshaler runtime.Marshaler, client FlowCombinationClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq NonEmptyProto - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["a"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "a") - } - - protoReq.A, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "a", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_FlowCombination_RpcBodyRpc_6); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.RpcBodyRpc(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_FlowCombination_RpcBodyRpc_6(ctx context.Context, marshaler runtime.Marshaler, server FlowCombinationServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq NonEmptyProto - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["a"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "a") - } - - protoReq.A, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "a", err) - } - - if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_FlowCombination_RpcBodyRpc_6); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.RpcBodyRpc(ctx, &protoReq) - return msg, metadata, err - -} - -var ( - filter_FlowCombination_RpcPathSingleNestedRpc_0 = &utilities.DoubleArray{Encoding: map[string]int{"a": 0, "str": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} -) - -func request_FlowCombination_RpcPathSingleNestedRpc_0(ctx context.Context, marshaler runtime.Marshaler, client FlowCombinationClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq SingleNestedProto - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["a.str"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "a.str") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "a.str", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "a.str", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_FlowCombination_RpcPathSingleNestedRpc_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.RpcPathSingleNestedRpc(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_FlowCombination_RpcPathSingleNestedRpc_0(ctx context.Context, marshaler runtime.Marshaler, server FlowCombinationServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq SingleNestedProto - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["a.str"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "a.str") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "a.str", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "a.str", err) - } - - if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_FlowCombination_RpcPathSingleNestedRpc_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.RpcPathSingleNestedRpc(ctx, &protoReq) - return msg, metadata, err - -} - -var ( - filter_FlowCombination_RpcPathNestedRpc_0 = &utilities.DoubleArray{Encoding: map[string]int{"c": 0, "a": 1, "str": 2, "b": 3}, Base: []int{1, 1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 1, 3, 1, 2, 4, 5}} -) - -func request_FlowCombination_RpcPathNestedRpc_0(ctx context.Context, marshaler runtime.Marshaler, client FlowCombinationClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq NestedProto - 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.C); 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["a.str"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "a.str") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "a.str", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "a.str", err) - } - - val, ok = pathParams["b"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "b") - } - - protoReq.B, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "b", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_FlowCombination_RpcPathNestedRpc_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.RpcPathNestedRpc(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_FlowCombination_RpcPathNestedRpc_0(ctx context.Context, marshaler runtime.Marshaler, server FlowCombinationServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq NestedProto - 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.C); 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["a.str"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "a.str") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "a.str", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "a.str", err) - } - - val, ok = pathParams["b"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "b") - } - - protoReq.B, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "b", err) - } - - if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_FlowCombination_RpcPathNestedRpc_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.RpcPathNestedRpc(ctx, &protoReq) - return msg, metadata, err - -} - -var ( - filter_FlowCombination_RpcPathNestedRpc_1 = &utilities.DoubleArray{Encoding: map[string]int{"a": 0, "str": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} -) - -func request_FlowCombination_RpcPathNestedRpc_1(ctx context.Context, marshaler runtime.Marshaler, client FlowCombinationClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq NestedProto - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["a.str"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "a.str") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "a.str", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "a.str", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_FlowCombination_RpcPathNestedRpc_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.RpcPathNestedRpc(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_FlowCombination_RpcPathNestedRpc_1(ctx context.Context, marshaler runtime.Marshaler, server FlowCombinationServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq NestedProto - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["a.str"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "a.str") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "a.str", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "a.str", err) - } - - if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_FlowCombination_RpcPathNestedRpc_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.RpcPathNestedRpc(ctx, &protoReq) - return msg, metadata, err - -} - -var ( - filter_FlowCombination_RpcPathNestedRpc_2 = &utilities.DoubleArray{Encoding: map[string]int{"c": 0, "a": 1, "str": 2}, Base: []int{1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 1, 3, 2, 4}} -) - -func request_FlowCombination_RpcPathNestedRpc_2(ctx context.Context, marshaler runtime.Marshaler, client FlowCombinationClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq NestedProto - 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.C); 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["a.str"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "a.str") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "a.str", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "a.str", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_FlowCombination_RpcPathNestedRpc_2); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.RpcPathNestedRpc(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_FlowCombination_RpcPathNestedRpc_2(ctx context.Context, marshaler runtime.Marshaler, server FlowCombinationServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq NestedProto - 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.C); 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["a.str"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "a.str") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "a.str", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "a.str", err) - } - - if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_FlowCombination_RpcPathNestedRpc_2); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.RpcPathNestedRpc(ctx, &protoReq) - return msg, metadata, err - -} - -func request_FlowCombination_RpcBodyStream_0(ctx context.Context, marshaler runtime.Marshaler, client FlowCombinationClient, req *http.Request, pathParams map[string]string) (FlowCombination_RpcBodyStreamClient, runtime.ServerMetadata, error) { - var protoReq NonEmptyProto - 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) - } - - stream, err := client.RpcBodyStream(ctx, &protoReq) - if err != nil { - return nil, metadata, err - } - header, err := stream.Header() - if err != nil { - return nil, metadata, err - } - metadata.HeaderMD = header - return stream, metadata, nil - -} - -func request_FlowCombination_RpcBodyStream_1(ctx context.Context, marshaler runtime.Marshaler, client FlowCombinationClient, req *http.Request, pathParams map[string]string) (FlowCombination_RpcBodyStreamClient, runtime.ServerMetadata, error) { - var protoReq NonEmptyProto - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["a"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "a") - } - - protoReq.A, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "a", err) - } - - val, ok = pathParams["b"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "b") - } - - protoReq.B, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "b", err) - } - - val, ok = pathParams["c"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "c") - } - - protoReq.C, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "c", err) - } - - stream, err := client.RpcBodyStream(ctx, &protoReq) - if err != nil { - return nil, metadata, err - } - header, err := stream.Header() - if err != nil { - return nil, metadata, err - } - metadata.HeaderMD = header - return stream, metadata, nil - -} - -var ( - filter_FlowCombination_RpcBodyStream_2 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} -) - -func request_FlowCombination_RpcBodyStream_2(ctx context.Context, marshaler runtime.Marshaler, client FlowCombinationClient, req *http.Request, pathParams map[string]string) (FlowCombination_RpcBodyStreamClient, runtime.ServerMetadata, error) { - var protoReq NonEmptyProto - var metadata runtime.ServerMetadata - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_FlowCombination_RpcBodyStream_2); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - stream, err := client.RpcBodyStream(ctx, &protoReq) - if err != nil { - return nil, metadata, err - } - header, err := stream.Header() - if err != nil { - return nil, metadata, err - } - metadata.HeaderMD = header - return stream, metadata, nil - -} - -func request_FlowCombination_RpcBodyStream_3(ctx context.Context, marshaler runtime.Marshaler, client FlowCombinationClient, req *http.Request, pathParams map[string]string) (FlowCombination_RpcBodyStreamClient, runtime.ServerMetadata, error) { - var protoReq NonEmptyProto - 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.C); 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["a"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "a") - } - - protoReq.A, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "a", err) - } - - val, ok = pathParams["b"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "b") - } - - protoReq.B, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "b", err) - } - - stream, err := client.RpcBodyStream(ctx, &protoReq) - if err != nil { - return nil, metadata, err - } - header, err := stream.Header() - if err != nil { - return nil, metadata, err - } - metadata.HeaderMD = header - return stream, metadata, nil - -} - -var ( - filter_FlowCombination_RpcBodyStream_4 = &utilities.DoubleArray{Encoding: map[string]int{"c": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} -) - -func request_FlowCombination_RpcBodyStream_4(ctx context.Context, marshaler runtime.Marshaler, client FlowCombinationClient, req *http.Request, pathParams map[string]string) (FlowCombination_RpcBodyStreamClient, runtime.ServerMetadata, error) { - var protoReq NonEmptyProto - 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.C); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_FlowCombination_RpcBodyStream_4); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - stream, err := client.RpcBodyStream(ctx, &protoReq) - if err != nil { - return nil, metadata, err - } - header, err := stream.Header() - if err != nil { - return nil, metadata, err - } - metadata.HeaderMD = header - return stream, metadata, nil - -} - -var ( - filter_FlowCombination_RpcBodyStream_5 = &utilities.DoubleArray{Encoding: map[string]int{"c": 0, "a": 1}, Base: []int{1, 1, 2, 0, 0}, Check: []int{0, 1, 1, 2, 3}} -) - -func request_FlowCombination_RpcBodyStream_5(ctx context.Context, marshaler runtime.Marshaler, client FlowCombinationClient, req *http.Request, pathParams map[string]string) (FlowCombination_RpcBodyStreamClient, runtime.ServerMetadata, error) { - var protoReq NonEmptyProto - 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.C); 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["a"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "a") - } - - protoReq.A, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "a", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_FlowCombination_RpcBodyStream_5); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - stream, err := client.RpcBodyStream(ctx, &protoReq) - if err != nil { - return nil, metadata, err - } - header, err := stream.Header() - if err != nil { - return nil, metadata, err - } - metadata.HeaderMD = header - return stream, metadata, nil - -} - -var ( - filter_FlowCombination_RpcBodyStream_6 = &utilities.DoubleArray{Encoding: map[string]int{"a": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} -) - -func request_FlowCombination_RpcBodyStream_6(ctx context.Context, marshaler runtime.Marshaler, client FlowCombinationClient, req *http.Request, pathParams map[string]string) (FlowCombination_RpcBodyStreamClient, runtime.ServerMetadata, error) { - var protoReq NonEmptyProto - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["a"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "a") - } - - protoReq.A, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "a", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_FlowCombination_RpcBodyStream_6); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - stream, err := client.RpcBodyStream(ctx, &protoReq) - if err != nil { - return nil, metadata, err - } - header, err := stream.Header() - if err != nil { - return nil, metadata, err - } - metadata.HeaderMD = header - return stream, metadata, nil - -} - -var ( - filter_FlowCombination_RpcPathSingleNestedStream_0 = &utilities.DoubleArray{Encoding: map[string]int{"a": 0, "str": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} -) - -func request_FlowCombination_RpcPathSingleNestedStream_0(ctx context.Context, marshaler runtime.Marshaler, client FlowCombinationClient, req *http.Request, pathParams map[string]string) (FlowCombination_RpcPathSingleNestedStreamClient, runtime.ServerMetadata, error) { - var protoReq SingleNestedProto - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["a.str"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "a.str") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "a.str", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "a.str", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_FlowCombination_RpcPathSingleNestedStream_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - stream, err := client.RpcPathSingleNestedStream(ctx, &protoReq) - if err != nil { - return nil, metadata, err - } - header, err := stream.Header() - if err != nil { - return nil, metadata, err - } - metadata.HeaderMD = header - return stream, metadata, nil - -} - -var ( - filter_FlowCombination_RpcPathNestedStream_0 = &utilities.DoubleArray{Encoding: map[string]int{"c": 0, "a": 1, "str": 2, "b": 3}, Base: []int{1, 1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 1, 3, 1, 2, 4, 5}} -) - -func request_FlowCombination_RpcPathNestedStream_0(ctx context.Context, marshaler runtime.Marshaler, client FlowCombinationClient, req *http.Request, pathParams map[string]string) (FlowCombination_RpcPathNestedStreamClient, runtime.ServerMetadata, error) { - var protoReq NestedProto - 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.C); 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["a.str"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "a.str") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "a.str", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "a.str", err) - } - - val, ok = pathParams["b"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "b") - } - - protoReq.B, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "b", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_FlowCombination_RpcPathNestedStream_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - stream, err := client.RpcPathNestedStream(ctx, &protoReq) - if err != nil { - return nil, metadata, err - } - header, err := stream.Header() - if err != nil { - return nil, metadata, err - } - metadata.HeaderMD = header - return stream, metadata, nil - -} - -var ( - filter_FlowCombination_RpcPathNestedStream_1 = &utilities.DoubleArray{Encoding: map[string]int{"a": 0, "str": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} -) - -func request_FlowCombination_RpcPathNestedStream_1(ctx context.Context, marshaler runtime.Marshaler, client FlowCombinationClient, req *http.Request, pathParams map[string]string) (FlowCombination_RpcPathNestedStreamClient, runtime.ServerMetadata, error) { - var protoReq NestedProto - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["a.str"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "a.str") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "a.str", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "a.str", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_FlowCombination_RpcPathNestedStream_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - stream, err := client.RpcPathNestedStream(ctx, &protoReq) - if err != nil { - return nil, metadata, err - } - header, err := stream.Header() - if err != nil { - return nil, metadata, err - } - metadata.HeaderMD = header - return stream, metadata, nil - -} - -var ( - filter_FlowCombination_RpcPathNestedStream_2 = &utilities.DoubleArray{Encoding: map[string]int{"c": 0, "a": 1, "str": 2}, Base: []int{1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 1, 3, 2, 4}} -) - -func request_FlowCombination_RpcPathNestedStream_2(ctx context.Context, marshaler runtime.Marshaler, client FlowCombinationClient, req *http.Request, pathParams map[string]string) (FlowCombination_RpcPathNestedStreamClient, runtime.ServerMetadata, error) { - var protoReq NestedProto - 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.C); 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["a.str"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "a.str") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "a.str", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "a.str", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_FlowCombination_RpcPathNestedStream_2); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - stream, err := client.RpcPathNestedStream(ctx, &protoReq) - if err != nil { - return nil, metadata, err - } - header, err := stream.Header() - if err != nil { - return nil, metadata, err - } - metadata.HeaderMD = header - return stream, metadata, nil - -} - -// RegisterFlowCombinationHandlerServer registers the http handlers for service FlowCombination to "mux". -// UnaryRPC :call FlowCombinationServer directly. -// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -func RegisterFlowCombinationHandlerServer(ctx context.Context, mux *runtime.ServeMux, server FlowCombinationServer) error { - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_FlowCombination_RpcEmptyRpc_0(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_RpcEmptyRpc_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("POST", pattern_FlowCombination_RpcEmptyStream_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport") - _, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - }) - - mux.Handle("POST", pattern_FlowCombination_StreamEmptyRpc_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport") - _, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - }) - - mux.Handle("POST", pattern_FlowCombination_StreamEmptyStream_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport") - _, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - }) - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_FlowCombination_RpcBodyRpc_0(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_RpcBodyRpc_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_FlowCombination_RpcBodyRpc_1(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_RpcBodyRpc_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_FlowCombination_RpcBodyRpc_2(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_RpcBodyRpc_2(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_FlowCombination_RpcBodyRpc_3(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_RpcBodyRpc_3(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_FlowCombination_RpcBodyRpc_4(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_RpcBodyRpc_4(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_FlowCombination_RpcBodyRpc_5(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_RpcBodyRpc_5(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_FlowCombination_RpcBodyRpc_6(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_RpcBodyRpc_6(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_FlowCombination_RpcPathSingleNestedRpc_0(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_RpcPathSingleNestedRpc_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_FlowCombination_RpcPathNestedRpc_0(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_RpcPathNestedRpc_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_FlowCombination_RpcPathNestedRpc_1(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_RpcPathNestedRpc_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_FlowCombination_RpcPathNestedRpc_2(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_RpcPathNestedRpc_2(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("POST", pattern_FlowCombination_RpcBodyStream_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport") - _, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - }) - - mux.Handle("POST", pattern_FlowCombination_RpcBodyStream_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport") - _, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - }) - - mux.Handle("POST", pattern_FlowCombination_RpcBodyStream_2, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport") - _, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - }) - - mux.Handle("POST", pattern_FlowCombination_RpcBodyStream_3, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport") - _, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - }) - - mux.Handle("POST", pattern_FlowCombination_RpcBodyStream_4, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport") - _, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - }) - - mux.Handle("POST", pattern_FlowCombination_RpcBodyStream_5, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport") - _, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - }) - - mux.Handle("POST", pattern_FlowCombination_RpcBodyStream_6, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport") - _, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - }) - - mux.Handle("POST", pattern_FlowCombination_RpcPathSingleNestedStream_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport") - _, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - }) - - mux.Handle("POST", pattern_FlowCombination_RpcPathNestedStream_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport") - _, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - }) - - mux.Handle("POST", pattern_FlowCombination_RpcPathNestedStream_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport") - _, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - }) - - mux.Handle("POST", pattern_FlowCombination_RpcPathNestedStream_2, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport") - _, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - }) - - return nil -} - -// RegisterFlowCombinationHandlerFromEndpoint is same as RegisterFlowCombinationHandler but -// automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterFlowCombinationHandlerFromEndpoint(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 RegisterFlowCombinationHandler(ctx, mux, conn) -} - -// RegisterFlowCombinationHandler registers the http handlers for service FlowCombination to "mux". -// The handlers forward requests to the grpc endpoint over "conn". -func RegisterFlowCombinationHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterFlowCombinationHandlerClient(ctx, mux, NewFlowCombinationClient(conn)) -} - -// 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. -func RegisterFlowCombinationHandlerClient(ctx context.Context, mux *runtime.ServeMux, client FlowCombinationClient) error { - - 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() - 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_FlowCombination_RpcEmptyRpc_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_RpcEmptyRpc_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_FlowCombination_RpcEmptyStream_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_RpcEmptyStream_0(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_FlowCombination_StreamEmptyRpc_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_StreamEmptyRpc_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_FlowCombination_StreamEmptyStream_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_StreamEmptyStream_0(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_FlowCombination_RpcBodyRpc_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_RpcBodyRpc_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_FlowCombination_RpcBodyRpc_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_RpcBodyRpc_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_FlowCombination_RpcBodyRpc_2(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_RpcBodyRpc_2(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_FlowCombination_RpcBodyRpc_3(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_RpcBodyRpc_3(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_FlowCombination_RpcBodyRpc_4(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_RpcBodyRpc_4(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_FlowCombination_RpcBodyRpc_5(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_RpcBodyRpc_5(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_FlowCombination_RpcBodyRpc_6(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_RpcBodyRpc_6(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_FlowCombination_RpcPathSingleNestedRpc_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_RpcPathSingleNestedRpc_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_FlowCombination_RpcPathNestedRpc_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_RpcPathNestedRpc_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_FlowCombination_RpcPathNestedRpc_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_RpcPathNestedRpc_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_FlowCombination_RpcPathNestedRpc_2(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_RpcPathNestedRpc_2(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_FlowCombination_RpcBodyStream_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_RpcBodyStream_0(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_FlowCombination_RpcBodyStream_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_RpcBodyStream_1(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_FlowCombination_RpcBodyStream_2(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_RpcBodyStream_2(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_FlowCombination_RpcBodyStream_3(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_RpcBodyStream_3(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_FlowCombination_RpcBodyStream_4(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_RpcBodyStream_4(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_FlowCombination_RpcBodyStream_5(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_RpcBodyStream_5(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_FlowCombination_RpcBodyStream_6(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_RpcBodyStream_6(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_FlowCombination_RpcPathSingleNestedStream_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_RpcPathSingleNestedStream_0(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_FlowCombination_RpcPathNestedStream_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_RpcPathNestedStream_0(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_FlowCombination_RpcPathNestedStream_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_RpcPathNestedStream_1(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_FlowCombination_RpcPathNestedStream_2(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_FlowCombination_RpcPathNestedStream_2(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...) - - }) - - return nil -} - -var ( - pattern_FlowCombination_RpcEmptyRpc_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 0}, []string{"rpc", "empty"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_FlowCombination_RpcEmptyStream_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"rpc", "empty", "stream"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_FlowCombination_StreamEmptyRpc_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"stream", "empty", "rpc"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_FlowCombination_StreamEmptyStream_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 0}, []string{"stream", "empty"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_FlowCombination_RpcBodyRpc_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 0}, []string{"rpc", "body"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_FlowCombination_RpcBodyRpc_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 2, 0}, []string{"rpc", "path", "a", "b", "c"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_FlowCombination_RpcBodyRpc_2 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 0}, []string{"rpc", "query"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_FlowCombination_RpcBodyRpc_3 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 2, 0}, []string{"rpc", "body", "path", "a", "b"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_FlowCombination_RpcBodyRpc_4 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 0}, []string{"rpc", "body", "query"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_FlowCombination_RpcBodyRpc_5 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 2, 0}, []string{"rpc", "body", "path", "a", "query"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_FlowCombination_RpcBodyRpc_6 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3, 2, 0}, []string{"rpc", "path", "a", "query"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_FlowCombination_RpcPathSingleNestedRpc_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 2, 0}, []string{"rpc", "path-nested", "a.str"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_FlowCombination_RpcPathNestedRpc_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 1, 0, 4, 1, 5, 3, 2, 0}, []string{"rpc", "path-nested", "a.str", "b"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_FlowCombination_RpcPathNestedRpc_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 2, 0}, []string{"rpc", "path-nested", "a.str"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_FlowCombination_RpcPathNestedRpc_2 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 2, 0}, []string{"rpc", "path-nested", "a.str"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_FlowCombination_RpcBodyStream_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"rpc", "body", "stream"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_FlowCombination_RpcBodyStream_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"rpc", "path", "a", "b", "c", "stream"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_FlowCombination_RpcBodyStream_2 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"rpc", "query", "stream"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_FlowCombination_RpcBodyStream_3 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"rpc", "body", "path", "a", "b", "stream"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_FlowCombination_RpcBodyStream_4 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"rpc", "body", "query", "stream"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_FlowCombination_RpcBodyStream_5 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 2, 5}, []string{"rpc", "body", "path", "a", "query", "stream"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_FlowCombination_RpcBodyStream_6 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3, 2, 4}, []string{"rpc", "path", "a", "query", "stream"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_FlowCombination_RpcPathSingleNestedStream_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3}, []string{"rpc", "path-nested", "a.str", "stream"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_FlowCombination_RpcPathNestedStream_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 1, 0, 4, 1, 5, 3, 2, 4}, []string{"rpc", "path-nested", "a.str", "b", "stream"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_FlowCombination_RpcPathNestedStream_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3}, []string{"rpc", "path-nested", "a.str", "stream"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_FlowCombination_RpcPathNestedStream_2 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3}, []string{"rpc", "path-nested", "a.str", "stream"}, "", runtime.AssumeColonVerbOpt(true))) -) - -var ( - forward_FlowCombination_RpcEmptyRpc_0 = runtime.ForwardResponseMessage - - forward_FlowCombination_RpcEmptyStream_0 = runtime.ForwardResponseStream - - forward_FlowCombination_StreamEmptyRpc_0 = runtime.ForwardResponseMessage - - forward_FlowCombination_StreamEmptyStream_0 = runtime.ForwardResponseStream - - forward_FlowCombination_RpcBodyRpc_0 = runtime.ForwardResponseMessage - - forward_FlowCombination_RpcBodyRpc_1 = runtime.ForwardResponseMessage - - forward_FlowCombination_RpcBodyRpc_2 = runtime.ForwardResponseMessage - - forward_FlowCombination_RpcBodyRpc_3 = runtime.ForwardResponseMessage - - forward_FlowCombination_RpcBodyRpc_4 = runtime.ForwardResponseMessage - - forward_FlowCombination_RpcBodyRpc_5 = runtime.ForwardResponseMessage - - forward_FlowCombination_RpcBodyRpc_6 = runtime.ForwardResponseMessage - - forward_FlowCombination_RpcPathSingleNestedRpc_0 = runtime.ForwardResponseMessage - - forward_FlowCombination_RpcPathNestedRpc_0 = runtime.ForwardResponseMessage - - forward_FlowCombination_RpcPathNestedRpc_1 = runtime.ForwardResponseMessage - - forward_FlowCombination_RpcPathNestedRpc_2 = runtime.ForwardResponseMessage - - forward_FlowCombination_RpcBodyStream_0 = runtime.ForwardResponseStream - - forward_FlowCombination_RpcBodyStream_1 = runtime.ForwardResponseStream - - forward_FlowCombination_RpcBodyStream_2 = runtime.ForwardResponseStream - - forward_FlowCombination_RpcBodyStream_3 = runtime.ForwardResponseStream - - forward_FlowCombination_RpcBodyStream_4 = runtime.ForwardResponseStream - - forward_FlowCombination_RpcBodyStream_5 = runtime.ForwardResponseStream - - forward_FlowCombination_RpcBodyStream_6 = runtime.ForwardResponseStream - - forward_FlowCombination_RpcPathSingleNestedStream_0 = runtime.ForwardResponseStream - - forward_FlowCombination_RpcPathNestedStream_0 = runtime.ForwardResponseStream - - forward_FlowCombination_RpcPathNestedStream_1 = runtime.ForwardResponseStream - - forward_FlowCombination_RpcPathNestedStream_2 = runtime.ForwardResponseStream -) diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/non_standard_names.pb.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/non_standard_names.pb.go deleted file mode 100644 index 839f5537..00000000 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/non_standard_names.pb.go +++ /dev/null @@ -1,634 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: examples/proto/examplepb/non_standard_names.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 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 - -// NonStandardMessage has oddly named fields. -type NonStandardMessage struct { - // Id represents the message identifier. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Num int64 `protobuf:"varint,2,opt,name=Num,proto3" json:"Num,omitempty"` - LineNum int64 `protobuf:"varint,3,opt,name=line_num,json=lineNum,proto3" json:"line_num,omitempty"` - LangIdent string `protobuf:"bytes,4,opt,name=langIdent,proto3" json:"langIdent,omitempty"` - STATUS string `protobuf:"bytes,5,opt,name=STATUS,proto3" json:"STATUS,omitempty"` - En_GB int64 `protobuf:"varint,6,opt,name=en_GB,json=enGB,proto3" json:"en_GB,omitempty"` - No string `protobuf:"bytes,7,opt,name=no,proto3" json:"no,omitempty"` - Thing *NonStandardMessage_Thing `protobuf:"bytes,8,opt,name=thing,proto3" json:"thing,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *NonStandardMessage) Reset() { *m = NonStandardMessage{} } -func (m *NonStandardMessage) String() string { return proto.CompactTextString(m) } -func (*NonStandardMessage) ProtoMessage() {} -func (*NonStandardMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_non_standard_names_1ed497ab0876ca64, []int{0} -} -func (m *NonStandardMessage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NonStandardMessage.Unmarshal(m, b) -} -func (m *NonStandardMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NonStandardMessage.Marshal(b, m, deterministic) -} -func (dst *NonStandardMessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_NonStandardMessage.Merge(dst, src) -} -func (m *NonStandardMessage) XXX_Size() int { - return xxx_messageInfo_NonStandardMessage.Size(m) -} -func (m *NonStandardMessage) XXX_DiscardUnknown() { - xxx_messageInfo_NonStandardMessage.DiscardUnknown(m) -} - -var xxx_messageInfo_NonStandardMessage proto.InternalMessageInfo - -func (m *NonStandardMessage) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *NonStandardMessage) GetNum() int64 { - if m != nil { - return m.Num - } - return 0 -} - -func (m *NonStandardMessage) GetLineNum() int64 { - if m != nil { - return m.LineNum - } - return 0 -} - -func (m *NonStandardMessage) GetLangIdent() string { - if m != nil { - return m.LangIdent - } - return "" -} - -func (m *NonStandardMessage) GetSTATUS() string { - if m != nil { - return m.STATUS - } - return "" -} - -func (m *NonStandardMessage) GetEn_GB() int64 { - if m != nil { - return m.En_GB - } - return 0 -} - -func (m *NonStandardMessage) GetNo() string { - if m != nil { - return m.No - } - return "" -} - -func (m *NonStandardMessage) GetThing() *NonStandardMessage_Thing { - if m != nil { - return m.Thing - } - return nil -} - -type NonStandardMessage_Thing struct { - SubThing *NonStandardMessage_Thing_SubThing `protobuf:"bytes,1,opt,name=subThing,proto3" json:"subThing,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *NonStandardMessage_Thing) Reset() { *m = NonStandardMessage_Thing{} } -func (m *NonStandardMessage_Thing) String() string { return proto.CompactTextString(m) } -func (*NonStandardMessage_Thing) ProtoMessage() {} -func (*NonStandardMessage_Thing) Descriptor() ([]byte, []int) { - return fileDescriptor_non_standard_names_1ed497ab0876ca64, []int{0, 0} -} -func (m *NonStandardMessage_Thing) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NonStandardMessage_Thing.Unmarshal(m, b) -} -func (m *NonStandardMessage_Thing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NonStandardMessage_Thing.Marshal(b, m, deterministic) -} -func (dst *NonStandardMessage_Thing) XXX_Merge(src proto.Message) { - xxx_messageInfo_NonStandardMessage_Thing.Merge(dst, src) -} -func (m *NonStandardMessage_Thing) XXX_Size() int { - return xxx_messageInfo_NonStandardMessage_Thing.Size(m) -} -func (m *NonStandardMessage_Thing) XXX_DiscardUnknown() { - xxx_messageInfo_NonStandardMessage_Thing.DiscardUnknown(m) -} - -var xxx_messageInfo_NonStandardMessage_Thing proto.InternalMessageInfo - -func (m *NonStandardMessage_Thing) GetSubThing() *NonStandardMessage_Thing_SubThing { - if m != nil { - return m.SubThing - } - return nil -} - -type NonStandardMessage_Thing_SubThing struct { - SubValue string `protobuf:"bytes,1,opt,name=sub_value,json=subValue,proto3" json:"sub_value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *NonStandardMessage_Thing_SubThing) Reset() { *m = NonStandardMessage_Thing_SubThing{} } -func (m *NonStandardMessage_Thing_SubThing) String() string { return proto.CompactTextString(m) } -func (*NonStandardMessage_Thing_SubThing) ProtoMessage() {} -func (*NonStandardMessage_Thing_SubThing) Descriptor() ([]byte, []int) { - return fileDescriptor_non_standard_names_1ed497ab0876ca64, []int{0, 0, 0} -} -func (m *NonStandardMessage_Thing_SubThing) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NonStandardMessage_Thing_SubThing.Unmarshal(m, b) -} -func (m *NonStandardMessage_Thing_SubThing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NonStandardMessage_Thing_SubThing.Marshal(b, m, deterministic) -} -func (dst *NonStandardMessage_Thing_SubThing) XXX_Merge(src proto.Message) { - xxx_messageInfo_NonStandardMessage_Thing_SubThing.Merge(dst, src) -} -func (m *NonStandardMessage_Thing_SubThing) XXX_Size() int { - return xxx_messageInfo_NonStandardMessage_Thing_SubThing.Size(m) -} -func (m *NonStandardMessage_Thing_SubThing) XXX_DiscardUnknown() { - xxx_messageInfo_NonStandardMessage_Thing_SubThing.DiscardUnknown(m) -} - -var xxx_messageInfo_NonStandardMessage_Thing_SubThing proto.InternalMessageInfo - -func (m *NonStandardMessage_Thing_SubThing) GetSubValue() string { - if m != nil { - return m.SubValue - } - return "" -} - -type NonStandardUpdateRequest struct { - Body *NonStandardMessage `protobuf:"bytes,1,opt,name=body,proto3" json:"body,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 *NonStandardUpdateRequest) Reset() { *m = NonStandardUpdateRequest{} } -func (m *NonStandardUpdateRequest) String() string { return proto.CompactTextString(m) } -func (*NonStandardUpdateRequest) ProtoMessage() {} -func (*NonStandardUpdateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_non_standard_names_1ed497ab0876ca64, []int{1} -} -func (m *NonStandardUpdateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NonStandardUpdateRequest.Unmarshal(m, b) -} -func (m *NonStandardUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NonStandardUpdateRequest.Marshal(b, m, deterministic) -} -func (dst *NonStandardUpdateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_NonStandardUpdateRequest.Merge(dst, src) -} -func (m *NonStandardUpdateRequest) XXX_Size() int { - return xxx_messageInfo_NonStandardUpdateRequest.Size(m) -} -func (m *NonStandardUpdateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_NonStandardUpdateRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_NonStandardUpdateRequest proto.InternalMessageInfo - -func (m *NonStandardUpdateRequest) GetBody() *NonStandardMessage { - if m != nil { - return m.Body - } - return nil -} - -func (m *NonStandardUpdateRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// NonStandardMessageWithJSONNames maps odd field names to odd JSON names for maximum confusion. -type NonStandardMessageWithJSONNames struct { - // Id represents the message identifier. - Id string `protobuf:"bytes,1,opt,name=id,json=ID,proto3" json:"id,omitempty"` - Num int64 `protobuf:"varint,2,opt,name=Num,proto3" json:"Num,omitempty"` - LineNum int64 `protobuf:"varint,3,opt,name=line_num,json=LineNum,proto3" json:"line_num,omitempty"` - LangIdent string `protobuf:"bytes,4,opt,name=langIdent,proto3" json:"langIdent,omitempty"` - STATUS string `protobuf:"bytes,5,opt,name=STATUS,json=status,proto3" json:"STATUS,omitempty"` - En_GB int64 `protobuf:"varint,6,opt,name=en_GB,json=En_GB,proto3" json:"en_GB,omitempty"` - No string `protobuf:"bytes,7,opt,name=no,json=yes,proto3" json:"no,omitempty"` - Thing *NonStandardMessageWithJSONNames_Thing `protobuf:"bytes,8,opt,name=thing,json=Thingy,proto3" json:"thing,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *NonStandardMessageWithJSONNames) Reset() { *m = NonStandardMessageWithJSONNames{} } -func (m *NonStandardMessageWithJSONNames) String() string { return proto.CompactTextString(m) } -func (*NonStandardMessageWithJSONNames) ProtoMessage() {} -func (*NonStandardMessageWithJSONNames) Descriptor() ([]byte, []int) { - return fileDescriptor_non_standard_names_1ed497ab0876ca64, []int{2} -} -func (m *NonStandardMessageWithJSONNames) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NonStandardMessageWithJSONNames.Unmarshal(m, b) -} -func (m *NonStandardMessageWithJSONNames) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NonStandardMessageWithJSONNames.Marshal(b, m, deterministic) -} -func (dst *NonStandardMessageWithJSONNames) XXX_Merge(src proto.Message) { - xxx_messageInfo_NonStandardMessageWithJSONNames.Merge(dst, src) -} -func (m *NonStandardMessageWithJSONNames) XXX_Size() int { - return xxx_messageInfo_NonStandardMessageWithJSONNames.Size(m) -} -func (m *NonStandardMessageWithJSONNames) XXX_DiscardUnknown() { - xxx_messageInfo_NonStandardMessageWithJSONNames.DiscardUnknown(m) -} - -var xxx_messageInfo_NonStandardMessageWithJSONNames proto.InternalMessageInfo - -func (m *NonStandardMessageWithJSONNames) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *NonStandardMessageWithJSONNames) GetNum() int64 { - if m != nil { - return m.Num - } - return 0 -} - -func (m *NonStandardMessageWithJSONNames) GetLineNum() int64 { - if m != nil { - return m.LineNum - } - return 0 -} - -func (m *NonStandardMessageWithJSONNames) GetLangIdent() string { - if m != nil { - return m.LangIdent - } - return "" -} - -func (m *NonStandardMessageWithJSONNames) GetSTATUS() string { - if m != nil { - return m.STATUS - } - return "" -} - -func (m *NonStandardMessageWithJSONNames) GetEn_GB() int64 { - if m != nil { - return m.En_GB - } - return 0 -} - -func (m *NonStandardMessageWithJSONNames) GetNo() string { - if m != nil { - return m.No - } - return "" -} - -func (m *NonStandardMessageWithJSONNames) GetThing() *NonStandardMessageWithJSONNames_Thing { - if m != nil { - return m.Thing - } - return nil -} - -type NonStandardMessageWithJSONNames_Thing struct { - SubThing *NonStandardMessageWithJSONNames_Thing_SubThing `protobuf:"bytes,1,opt,name=subThing,json=SubThing,proto3" json:"subThing,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *NonStandardMessageWithJSONNames_Thing) Reset() { *m = NonStandardMessageWithJSONNames_Thing{} } -func (m *NonStandardMessageWithJSONNames_Thing) String() string { return proto.CompactTextString(m) } -func (*NonStandardMessageWithJSONNames_Thing) ProtoMessage() {} -func (*NonStandardMessageWithJSONNames_Thing) Descriptor() ([]byte, []int) { - return fileDescriptor_non_standard_names_1ed497ab0876ca64, []int{2, 0} -} -func (m *NonStandardMessageWithJSONNames_Thing) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NonStandardMessageWithJSONNames_Thing.Unmarshal(m, b) -} -func (m *NonStandardMessageWithJSONNames_Thing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NonStandardMessageWithJSONNames_Thing.Marshal(b, m, deterministic) -} -func (dst *NonStandardMessageWithJSONNames_Thing) XXX_Merge(src proto.Message) { - xxx_messageInfo_NonStandardMessageWithJSONNames_Thing.Merge(dst, src) -} -func (m *NonStandardMessageWithJSONNames_Thing) XXX_Size() int { - return xxx_messageInfo_NonStandardMessageWithJSONNames_Thing.Size(m) -} -func (m *NonStandardMessageWithJSONNames_Thing) XXX_DiscardUnknown() { - xxx_messageInfo_NonStandardMessageWithJSONNames_Thing.DiscardUnknown(m) -} - -var xxx_messageInfo_NonStandardMessageWithJSONNames_Thing proto.InternalMessageInfo - -func (m *NonStandardMessageWithJSONNames_Thing) GetSubThing() *NonStandardMessageWithJSONNames_Thing_SubThing { - if m != nil { - return m.SubThing - } - return nil -} - -type NonStandardMessageWithJSONNames_Thing_SubThing struct { - SubValue string `protobuf:"bytes,1,opt,name=sub_value,json=sub_Value,proto3" json:"sub_value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *NonStandardMessageWithJSONNames_Thing_SubThing) Reset() { - *m = NonStandardMessageWithJSONNames_Thing_SubThing{} -} -func (m *NonStandardMessageWithJSONNames_Thing_SubThing) String() string { - return proto.CompactTextString(m) -} -func (*NonStandardMessageWithJSONNames_Thing_SubThing) ProtoMessage() {} -func (*NonStandardMessageWithJSONNames_Thing_SubThing) Descriptor() ([]byte, []int) { - return fileDescriptor_non_standard_names_1ed497ab0876ca64, []int{2, 0, 0} -} -func (m *NonStandardMessageWithJSONNames_Thing_SubThing) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NonStandardMessageWithJSONNames_Thing_SubThing.Unmarshal(m, b) -} -func (m *NonStandardMessageWithJSONNames_Thing_SubThing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NonStandardMessageWithJSONNames_Thing_SubThing.Marshal(b, m, deterministic) -} -func (dst *NonStandardMessageWithJSONNames_Thing_SubThing) XXX_Merge(src proto.Message) { - xxx_messageInfo_NonStandardMessageWithJSONNames_Thing_SubThing.Merge(dst, src) -} -func (m *NonStandardMessageWithJSONNames_Thing_SubThing) XXX_Size() int { - return xxx_messageInfo_NonStandardMessageWithJSONNames_Thing_SubThing.Size(m) -} -func (m *NonStandardMessageWithJSONNames_Thing_SubThing) XXX_DiscardUnknown() { - xxx_messageInfo_NonStandardMessageWithJSONNames_Thing_SubThing.DiscardUnknown(m) -} - -var xxx_messageInfo_NonStandardMessageWithJSONNames_Thing_SubThing proto.InternalMessageInfo - -func (m *NonStandardMessageWithJSONNames_Thing_SubThing) GetSubValue() string { - if m != nil { - return m.SubValue - } - return "" -} - -type NonStandardWithJSONNamesUpdateRequest struct { - Body *NonStandardMessageWithJSONNames `protobuf:"bytes,1,opt,name=body,proto3" json:"body,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 *NonStandardWithJSONNamesUpdateRequest) Reset() { *m = NonStandardWithJSONNamesUpdateRequest{} } -func (m *NonStandardWithJSONNamesUpdateRequest) String() string { return proto.CompactTextString(m) } -func (*NonStandardWithJSONNamesUpdateRequest) ProtoMessage() {} -func (*NonStandardWithJSONNamesUpdateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_non_standard_names_1ed497ab0876ca64, []int{3} -} -func (m *NonStandardWithJSONNamesUpdateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NonStandardWithJSONNamesUpdateRequest.Unmarshal(m, b) -} -func (m *NonStandardWithJSONNamesUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NonStandardWithJSONNamesUpdateRequest.Marshal(b, m, deterministic) -} -func (dst *NonStandardWithJSONNamesUpdateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_NonStandardWithJSONNamesUpdateRequest.Merge(dst, src) -} -func (m *NonStandardWithJSONNamesUpdateRequest) XXX_Size() int { - return xxx_messageInfo_NonStandardWithJSONNamesUpdateRequest.Size(m) -} -func (m *NonStandardWithJSONNamesUpdateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_NonStandardWithJSONNamesUpdateRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_NonStandardWithJSONNamesUpdateRequest proto.InternalMessageInfo - -func (m *NonStandardWithJSONNamesUpdateRequest) GetBody() *NonStandardMessageWithJSONNames { - if m != nil { - return m.Body - } - return nil -} - -func (m *NonStandardWithJSONNamesUpdateRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -func init() { - proto.RegisterType((*NonStandardMessage)(nil), "grpc.gateway.examples.examplepb.NonStandardMessage") - proto.RegisterType((*NonStandardMessage_Thing)(nil), "grpc.gateway.examples.examplepb.NonStandardMessage.Thing") - proto.RegisterType((*NonStandardMessage_Thing_SubThing)(nil), "grpc.gateway.examples.examplepb.NonStandardMessage.Thing.SubThing") - proto.RegisterType((*NonStandardUpdateRequest)(nil), "grpc.gateway.examples.examplepb.NonStandardUpdateRequest") - proto.RegisterType((*NonStandardMessageWithJSONNames)(nil), "grpc.gateway.examples.examplepb.NonStandardMessageWithJSONNames") - proto.RegisterType((*NonStandardMessageWithJSONNames_Thing)(nil), "grpc.gateway.examples.examplepb.NonStandardMessageWithJSONNames.Thing") - proto.RegisterType((*NonStandardMessageWithJSONNames_Thing_SubThing)(nil), "grpc.gateway.examples.examplepb.NonStandardMessageWithJSONNames.Thing.SubThing") - proto.RegisterType((*NonStandardWithJSONNamesUpdateRequest)(nil), "grpc.gateway.examples.examplepb.NonStandardWithJSONNamesUpdateRequest") -} - -// 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 - -// NonStandardServiceClient is the client API for NonStandardService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type NonStandardServiceClient interface { - // Apply field mask to empty NonStandardMessage and return result. - Update(ctx context.Context, in *NonStandardUpdateRequest, opts ...grpc.CallOption) (*NonStandardMessage, error) - // Apply field mask to empty NonStandardMessageWithJSONNames and return result. - UpdateWithJSONNames(ctx context.Context, in *NonStandardWithJSONNamesUpdateRequest, opts ...grpc.CallOption) (*NonStandardMessageWithJSONNames, error) -} - -type nonStandardServiceClient struct { - cc *grpc.ClientConn -} - -func NewNonStandardServiceClient(cc *grpc.ClientConn) NonStandardServiceClient { - return &nonStandardServiceClient{cc} -} - -func (c *nonStandardServiceClient) Update(ctx context.Context, in *NonStandardUpdateRequest, opts ...grpc.CallOption) (*NonStandardMessage, error) { - out := new(NonStandardMessage) - err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.NonStandardService/Update", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *nonStandardServiceClient) UpdateWithJSONNames(ctx context.Context, in *NonStandardWithJSONNamesUpdateRequest, opts ...grpc.CallOption) (*NonStandardMessageWithJSONNames, error) { - out := new(NonStandardMessageWithJSONNames) - err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.NonStandardService/UpdateWithJSONNames", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// NonStandardServiceServer is the server API for NonStandardService service. -type NonStandardServiceServer interface { - // Apply field mask to empty NonStandardMessage and return result. - Update(context.Context, *NonStandardUpdateRequest) (*NonStandardMessage, error) - // Apply field mask to empty NonStandardMessageWithJSONNames and return result. - UpdateWithJSONNames(context.Context, *NonStandardWithJSONNamesUpdateRequest) (*NonStandardMessageWithJSONNames, error) -} - -func RegisterNonStandardServiceServer(s *grpc.Server, srv NonStandardServiceServer) { - s.RegisterService(&_NonStandardService_serviceDesc, srv) -} - -func _NonStandardService_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NonStandardUpdateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NonStandardServiceServer).Update(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.gateway.examples.examplepb.NonStandardService/Update", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NonStandardServiceServer).Update(ctx, req.(*NonStandardUpdateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NonStandardService_UpdateWithJSONNames_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NonStandardWithJSONNamesUpdateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NonStandardServiceServer).UpdateWithJSONNames(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.gateway.examples.examplepb.NonStandardService/UpdateWithJSONNames", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NonStandardServiceServer).UpdateWithJSONNames(ctx, req.(*NonStandardWithJSONNamesUpdateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _NonStandardService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "grpc.gateway.examples.examplepb.NonStandardService", - HandlerType: (*NonStandardServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Update", - Handler: _NonStandardService_Update_Handler, - }, - { - MethodName: "UpdateWithJSONNames", - Handler: _NonStandardService_UpdateWithJSONNames_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "examples/proto/examplepb/non_standard_names.proto", -} - -func init() { - proto.RegisterFile("examples/proto/examplepb/non_standard_names.proto", fileDescriptor_non_standard_names_1ed497ab0876ca64) -} - -var fileDescriptor_non_standard_names_1ed497ab0876ca64 = []byte{ - // 626 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x95, 0x41, 0x6f, 0xd3, 0x3c, - 0x18, 0xc7, 0x95, 0x66, 0xed, 0x5a, 0x57, 0x7a, 0x5f, 0xe4, 0x21, 0x14, 0xc2, 0xa4, 0x56, 0x95, - 0xd0, 0x7a, 0x21, 0xd1, 0xb2, 0x03, 0x02, 0x84, 0x04, 0x15, 0xac, 0x1a, 0x62, 0xad, 0x94, 0x74, - 0x20, 0x21, 0x41, 0xe4, 0x2c, 0x5e, 0x1a, 0x9a, 0xda, 0xa1, 0x76, 0x3a, 0x7a, 0xe5, 0x13, 0x4c, - 0xe2, 0x0e, 0xdc, 0xf8, 0x0e, 0xf0, 0x31, 0xb8, 0x73, 0xe2, 0x83, 0xa0, 0xd8, 0x69, 0xa9, 0x55, - 0xa1, 0xb1, 0x6e, 0xa7, 0xfa, 0x79, 0x6c, 0xff, 0x9f, 0xe7, 0x6f, 0xff, 0xe2, 0x82, 0x5d, 0xfc, - 0x1e, 0x8d, 0xd3, 0x04, 0x33, 0x3b, 0x9d, 0x50, 0x4e, 0xed, 0x22, 0x4c, 0x03, 0x9b, 0x50, 0xe2, - 0x33, 0x8e, 0x48, 0x88, 0x26, 0xa1, 0x4f, 0xd0, 0x18, 0x33, 0x4b, 0x2c, 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, 0xf6, 0x2a, 0x5f, 0x22, 0x21, 0x01, - 0xfb, 0xa6, 0x81, 0xdb, 0x4b, 0x65, 0x14, 0x7d, 0x95, 0xb6, 0x81, 0x42, 0xdb, 0xa3, 0xcb, 0x36, - 0x7f, 0x05, 0xe8, 0x39, 0x9f, 0xd5, 0x07, 0xcb, 0xc3, 0x93, 0x69, 0x7c, 0x8c, 0xe1, 0x57, 0x0d, - 0x54, 0x64, 0xef, 0xf0, 0x42, 0x8f, 0x82, 0xe2, 0xd7, 0x5c, 0xe7, 0x7b, 0x6a, 0xdd, 0xf9, 0xf0, - 0xe3, 0xd7, 0xc7, 0xd2, 0x8e, 0xd3, 0xb0, 0xa7, 0xbb, 0xf3, 0x37, 0x5d, 0x79, 0xd1, 0x6d, 0xd9, - 0xfe, 0x7d, 0xe9, 0xfe, 0xa7, 0x06, 0xb6, 0x64, 0x55, 0xf5, 0x7b, 0xb9, 0x10, 0x86, 0x7f, 0xbf, - 0x33, 0xf3, 0xd2, 0xb7, 0xd4, 0x7a, 0x28, 0x0c, 0xdd, 0x75, 0xec, 0x73, 0x0c, 0xf9, 0xa7, 0x31, - 0x1f, 0xfa, 0x6f, 0x19, 0x25, 0xf2, 0x3f, 0x4b, 0x1a, 0xec, 0xd4, 0x5f, 0xd5, 0x16, 0xb5, 0x82, - 0x8a, 0xb8, 0xce, 0xbd, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x18, 0x50, 0x51, 0xb2, 0xfc, 0x06, - 0x00, 0x00, -} diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/non_standard_names.pb.gw.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/non_standard_names.pb.gw.go deleted file mode 100644 index 11cb0b98..00000000 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/non_standard_names.pb.gw.go +++ /dev/null @@ -1,303 +0,0 @@ -// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: examples/proto/examplepb/non_standard_names.proto - -/* -Package examplepb is a reverse proxy. - -It translates gRPC into RESTful JSON APIs. -*/ -package examplepb - -import ( - "context" - "io" - "net/http" - - "github.com/golang/protobuf/descriptor" - "github.com/golang/protobuf/proto" - "github.com/grpc-ecosystem/grpc-gateway/runtime" - "github.com/grpc-ecosystem/grpc-gateway/utilities" - "google.golang.org/grpc" - "google.golang.org/grpc/codes" - "google.golang.org/grpc/grpclog" - "google.golang.org/grpc/status" -) - -// Suppress "imported and not used" errors -var _ codes.Code -var _ io.Reader -var _ status.Status -var _ = runtime.String -var _ = utilities.NewDoubleArray -var _ = descriptor.ForMessage - -var ( - filter_NonStandardService_Update_0 = &utilities.DoubleArray{Encoding: map[string]int{"body": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} -) - -func request_NonStandardService_Update_0(ctx context.Context, marshaler runtime.Marshaler, client NonStandardServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq NonStandardUpdateRequest - 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.Body); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if protoReq.UpdateMask == nil || len(protoReq.UpdateMask.GetPaths()) == 0 { - _, md := descriptor.ForMessage(protoReq.Body) - if fieldMask, err := runtime.FieldMaskFromRequestBody(newReader(), md); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } else { - protoReq.UpdateMask = fieldMask - } - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_NonStandardService_Update_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.Update(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_NonStandardService_Update_0(ctx context.Context, marshaler runtime.Marshaler, server NonStandardServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq NonStandardUpdateRequest - 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.Body); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if protoReq.UpdateMask == nil || len(protoReq.UpdateMask.GetPaths()) == 0 { - _, md := descriptor.ForMessage(protoReq.Body) - if fieldMask, err := runtime.FieldMaskFromRequestBody(newReader(), md); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } else { - protoReq.UpdateMask = fieldMask - } - } - - if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_NonStandardService_Update_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.Update(ctx, &protoReq) - return msg, metadata, err - -} - -var ( - filter_NonStandardService_UpdateWithJSONNames_0 = &utilities.DoubleArray{Encoding: map[string]int{"body": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} -) - -func request_NonStandardService_UpdateWithJSONNames_0(ctx context.Context, marshaler runtime.Marshaler, client NonStandardServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq NonStandardWithJSONNamesUpdateRequest - 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.Body); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if protoReq.UpdateMask == nil || len(protoReq.UpdateMask.GetPaths()) == 0 { - _, md := descriptor.ForMessage(protoReq.Body) - if fieldMask, err := runtime.FieldMaskFromRequestBody(newReader(), md); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } else { - protoReq.UpdateMask = fieldMask - } - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_NonStandardService_UpdateWithJSONNames_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.UpdateWithJSONNames(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_NonStandardService_UpdateWithJSONNames_0(ctx context.Context, marshaler runtime.Marshaler, server NonStandardServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq NonStandardWithJSONNamesUpdateRequest - 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.Body); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if protoReq.UpdateMask == nil || len(protoReq.UpdateMask.GetPaths()) == 0 { - _, md := descriptor.ForMessage(protoReq.Body) - if fieldMask, err := runtime.FieldMaskFromRequestBody(newReader(), md); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } else { - protoReq.UpdateMask = fieldMask - } - } - - if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_NonStandardService_UpdateWithJSONNames_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.UpdateWithJSONNames(ctx, &protoReq) - return msg, metadata, err - -} - -// RegisterNonStandardServiceHandlerServer registers the http handlers for service NonStandardService to "mux". -// UnaryRPC :call NonStandardServiceServer directly. -// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -func RegisterNonStandardServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server NonStandardServiceServer) error { - - mux.Handle("PATCH", pattern_NonStandardService_Update_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.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_NonStandardService_Update_0(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_NonStandardService_Update_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("PATCH", pattern_NonStandardService_UpdateWithJSONNames_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.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_NonStandardService_UpdateWithJSONNames_0(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_NonStandardService_UpdateWithJSONNames_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - return nil -} - -// RegisterNonStandardServiceHandlerFromEndpoint is same as RegisterNonStandardServiceHandler but -// automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterNonStandardServiceHandlerFromEndpoint(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 RegisterNonStandardServiceHandler(ctx, mux, conn) -} - -// RegisterNonStandardServiceHandler registers the http handlers for service NonStandardService to "mux". -// The handlers forward requests to the grpc endpoint over "conn". -func RegisterNonStandardServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterNonStandardServiceHandlerClient(ctx, mux, NewNonStandardServiceClient(conn)) -} - -// RegisterNonStandardServiceHandlerClient registers the http handlers for service NonStandardService -// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "NonStandardServiceClient". -// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "NonStandardServiceClient" -// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in -// "NonStandardServiceClient" to call the correct interceptors. -func RegisterNonStandardServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client NonStandardServiceClient) error { - - mux.Handle("PATCH", pattern_NonStandardService_Update_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_NonStandardService_Update_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_NonStandardService_Update_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("PATCH", pattern_NonStandardService_UpdateWithJSONNames_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_NonStandardService_UpdateWithJSONNames_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_NonStandardService_UpdateWithJSONNames_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - return nil -} - -var ( - pattern_NonStandardService_Update_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"v1", "example", "non_standard", "update"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_NonStandardService_UpdateWithJSONNames_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"v1", "example", "non_standard", "update_with_json_names"}, "", runtime.AssumeColonVerbOpt(true))) -) - -var ( - forward_NonStandardService_Update_0 = runtime.ForwardResponseMessage - - forward_NonStandardService_UpdateWithJSONNames_0 = runtime.ForwardResponseMessage -) 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 deleted file mode 100644 index ae80ec69..00000000 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/response_body_service.pb.go +++ /dev/null @@ -1,474 +0,0 @@ -// 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 RepeatedResponseBodyOut_Response_ResponseType int32 - -const ( - // UNKNOWN - RepeatedResponseBodyOut_Response_UNKNOWN RepeatedResponseBodyOut_Response_ResponseType = 0 - // A is 1 - RepeatedResponseBodyOut_Response_A RepeatedResponseBodyOut_Response_ResponseType = 1 - // B is 2 - RepeatedResponseBodyOut_Response_B RepeatedResponseBodyOut_Response_ResponseType = 2 -) - -var RepeatedResponseBodyOut_Response_ResponseType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "A", - 2: "B", -} -var RepeatedResponseBodyOut_Response_ResponseType_value = map[string]int32{ - "UNKNOWN": 0, - "A": 1, - "B": 2, -} - -func (x RepeatedResponseBodyOut_Response_ResponseType) String() string { - return proto.EnumName(RepeatedResponseBodyOut_Response_ResponseType_name, int32(x)) -} -func (RepeatedResponseBodyOut_Response_ResponseType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_response_body_service_dd1070a6693ff118, []int{2, 0, 0} -} - -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_dd1070a6693ff118, []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_dd1070a6693ff118, []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_dd1070a6693ff118, []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 "" -} - -type RepeatedResponseBodyOut struct { - Response []*RepeatedResponseBodyOut_Response `protobuf:"bytes,2,rep,name=response,proto3" json:"response,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RepeatedResponseBodyOut) Reset() { *m = RepeatedResponseBodyOut{} } -func (m *RepeatedResponseBodyOut) String() string { return proto.CompactTextString(m) } -func (*RepeatedResponseBodyOut) ProtoMessage() {} -func (*RepeatedResponseBodyOut) Descriptor() ([]byte, []int) { - return fileDescriptor_response_body_service_dd1070a6693ff118, []int{2} -} -func (m *RepeatedResponseBodyOut) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RepeatedResponseBodyOut.Unmarshal(m, b) -} -func (m *RepeatedResponseBodyOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RepeatedResponseBodyOut.Marshal(b, m, deterministic) -} -func (dst *RepeatedResponseBodyOut) XXX_Merge(src proto.Message) { - xxx_messageInfo_RepeatedResponseBodyOut.Merge(dst, src) -} -func (m *RepeatedResponseBodyOut) XXX_Size() int { - return xxx_messageInfo_RepeatedResponseBodyOut.Size(m) -} -func (m *RepeatedResponseBodyOut) XXX_DiscardUnknown() { - xxx_messageInfo_RepeatedResponseBodyOut.DiscardUnknown(m) -} - -var xxx_messageInfo_RepeatedResponseBodyOut proto.InternalMessageInfo - -func (m *RepeatedResponseBodyOut) GetResponse() []*RepeatedResponseBodyOut_Response { - if m != nil { - return m.Response - } - return nil -} - -type RepeatedResponseBodyOut_Response struct { - Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - Type RepeatedResponseBodyOut_Response_ResponseType `protobuf:"varint,3,opt,name=type,proto3,enum=grpc.gateway.examples.examplepb.RepeatedResponseBodyOut_Response_ResponseType" json:"type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RepeatedResponseBodyOut_Response) Reset() { *m = RepeatedResponseBodyOut_Response{} } -func (m *RepeatedResponseBodyOut_Response) String() string { return proto.CompactTextString(m) } -func (*RepeatedResponseBodyOut_Response) ProtoMessage() {} -func (*RepeatedResponseBodyOut_Response) Descriptor() ([]byte, []int) { - return fileDescriptor_response_body_service_dd1070a6693ff118, []int{2, 0} -} -func (m *RepeatedResponseBodyOut_Response) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RepeatedResponseBodyOut_Response.Unmarshal(m, b) -} -func (m *RepeatedResponseBodyOut_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RepeatedResponseBodyOut_Response.Marshal(b, m, deterministic) -} -func (dst *RepeatedResponseBodyOut_Response) XXX_Merge(src proto.Message) { - xxx_messageInfo_RepeatedResponseBodyOut_Response.Merge(dst, src) -} -func (m *RepeatedResponseBodyOut_Response) XXX_Size() int { - return xxx_messageInfo_RepeatedResponseBodyOut_Response.Size(m) -} -func (m *RepeatedResponseBodyOut_Response) XXX_DiscardUnknown() { - xxx_messageInfo_RepeatedResponseBodyOut_Response.DiscardUnknown(m) -} - -var xxx_messageInfo_RepeatedResponseBodyOut_Response proto.InternalMessageInfo - -func (m *RepeatedResponseBodyOut_Response) GetData() string { - if m != nil { - return m.Data - } - return "" -} - -func (m *RepeatedResponseBodyOut_Response) GetType() RepeatedResponseBodyOut_Response_ResponseType { - if m != nil { - return m.Type - } - return RepeatedResponseBodyOut_Response_UNKNOWN -} - -type RepeatedResponseStrings struct { - 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 *RepeatedResponseStrings) Reset() { *m = RepeatedResponseStrings{} } -func (m *RepeatedResponseStrings) String() string { return proto.CompactTextString(m) } -func (*RepeatedResponseStrings) ProtoMessage() {} -func (*RepeatedResponseStrings) Descriptor() ([]byte, []int) { - return fileDescriptor_response_body_service_dd1070a6693ff118, []int{3} -} -func (m *RepeatedResponseStrings) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RepeatedResponseStrings.Unmarshal(m, b) -} -func (m *RepeatedResponseStrings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RepeatedResponseStrings.Marshal(b, m, deterministic) -} -func (dst *RepeatedResponseStrings) XXX_Merge(src proto.Message) { - xxx_messageInfo_RepeatedResponseStrings.Merge(dst, src) -} -func (m *RepeatedResponseStrings) XXX_Size() int { - return xxx_messageInfo_RepeatedResponseStrings.Size(m) -} -func (m *RepeatedResponseStrings) XXX_DiscardUnknown() { - xxx_messageInfo_RepeatedResponseStrings.DiscardUnknown(m) -} - -var xxx_messageInfo_RepeatedResponseStrings proto.InternalMessageInfo - -func (m *RepeatedResponseStrings) GetValues() []string { - if m != nil { - return m.Values - } - return nil -} - -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") - proto.RegisterType((*RepeatedResponseBodyOut)(nil), "grpc.gateway.examples.examplepb.RepeatedResponseBodyOut") - proto.RegisterType((*RepeatedResponseBodyOut_Response)(nil), "grpc.gateway.examples.examplepb.RepeatedResponseBodyOut.Response") - proto.RegisterType((*RepeatedResponseStrings)(nil), "grpc.gateway.examples.examplepb.RepeatedResponseStrings") - proto.RegisterEnum("grpc.gateway.examples.examplepb.RepeatedResponseBodyOut_Response_ResponseType", RepeatedResponseBodyOut_Response_ResponseType_name, RepeatedResponseBodyOut_Response_ResponseType_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 - -// 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) - ListResponseBodies(ctx context.Context, in *ResponseBodyIn, opts ...grpc.CallOption) (*RepeatedResponseBodyOut, error) - ListResponseStrings(ctx context.Context, in *ResponseBodyIn, opts ...grpc.CallOption) (*RepeatedResponseStrings, 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 -} - -func (c *responseBodyServiceClient) ListResponseBodies(ctx context.Context, in *ResponseBodyIn, opts ...grpc.CallOption) (*RepeatedResponseBodyOut, error) { - out := new(RepeatedResponseBodyOut) - err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.ResponseBodyService/ListResponseBodies", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *responseBodyServiceClient) ListResponseStrings(ctx context.Context, in *ResponseBodyIn, opts ...grpc.CallOption) (*RepeatedResponseStrings, error) { - out := new(RepeatedResponseStrings) - err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.ResponseBodyService/ListResponseStrings", 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) - ListResponseBodies(context.Context, *ResponseBodyIn) (*RepeatedResponseBodyOut, error) - ListResponseStrings(context.Context, *ResponseBodyIn) (*RepeatedResponseStrings, 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) -} - -func _ResponseBodyService_ListResponseBodies_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).ListResponseBodies(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.gateway.examples.examplepb.ResponseBodyService/ListResponseBodies", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResponseBodyServiceServer).ListResponseBodies(ctx, req.(*ResponseBodyIn)) - } - return interceptor(ctx, in, info, handler) -} - -func _ResponseBodyService_ListResponseStrings_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).ListResponseStrings(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.gateway.examples.examplepb.ResponseBodyService/ListResponseStrings", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResponseBodyServiceServer).ListResponseStrings(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, - }, - { - MethodName: "ListResponseBodies", - Handler: _ResponseBodyService_ListResponseBodies_Handler, - }, - { - MethodName: "ListResponseStrings", - Handler: _ResponseBodyService_ListResponseStrings_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_dd1070a6693ff118) -} - -var fileDescriptor_response_body_service_dd1070a6693ff118 = []byte{ - // 441 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x94, 0xcf, 0xaa, 0xd3, 0x40, - 0x14, 0xc6, 0x9d, 0xb4, 0x5e, 0x6f, 0x27, 0x72, 0x6f, 0x99, 0x2b, 0xf7, 0x86, 0x22, 0x1a, 0x07, - 0xd1, 0xb8, 0x49, 0x34, 0xba, 0xd0, 0x65, 0xbb, 0x91, 0xa2, 0xa4, 0x90, 0x5a, 0x04, 0x41, 0xca, - 0xa4, 0x39, 0x84, 0x40, 0xcd, 0x0c, 0x99, 0x69, 0x35, 0x88, 0x1b, 0x57, 0x2e, 0xdc, 0xb9, 0xf5, - 0x01, 0x74, 0xe1, 0xd3, 0xf8, 0x0a, 0x3e, 0x88, 0x34, 0x4d, 0x86, 0x58, 0x83, 0x5a, 0x05, 0x57, - 0x99, 0x33, 0x7f, 0xbe, 0xf3, 0xe3, 0x7c, 0xe7, 0x04, 0xdf, 0x83, 0x57, 0xec, 0x85, 0x58, 0x82, - 0xf4, 0x44, 0xce, 0x15, 0xf7, 0xaa, 0x50, 0x44, 0x5e, 0x0e, 0x52, 0xf0, 0x4c, 0xc2, 0x3c, 0xe2, - 0x71, 0x31, 0x97, 0x90, 0xaf, 0xd3, 0x05, 0xb8,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91, 0xe4, 0x14, 0x1f, - 0xac, 0xd9, 0x72, 0x05, 0xd2, 0x42, 0x76, 0xc7, 0xe9, 0x85, 0x55, 0xe4, 0xbf, 0xef, 0xe2, 0x93, - 0x26, 0xcd, 0x74, 0xdb, 0x6b, 0xe4, 0x23, 0xc2, 0xc7, 0x0f, 0x41, 0x35, 0x8f, 0x88, 0xb7, 0x97, - 0xdd, 0xe3, 0x6c, 0x70, 0x7b, 0xdf, 0xfe, 0xa0, 0x37, 0xde, 0x7e, 0xfd, 0xf6, 0xc1, 0xb0, 0xc9, - 0x25, 0x3d, 0x02, 0x9b, 0x09, 0xf0, 0x5e, 0x6f, 0xaa, 0xfd, 0x26, 0xd2, 0xce, 0x90, 0xcf, 0x08, - 0x93, 0xc7, 0xa9, 0x6c, 0xf2, 0xa5, 0x20, 0xf7, 0x27, 0xbc, 0xff, 0xb7, 0x96, 0x51, 0xa7, 0x24, - 0xa5, 0xe4, 0xb4, 0x49, 0x9a, 0x82, 0x6c, 0x65, 0x3d, 0x69, 0xb2, 0xd6, 0x96, 0xfc, 0x07, 0xd8, - 0x2a, 0x15, 0xbd, 0x59, 0xc2, 0x5e, 0x23, 0x67, 0x1a, 0x56, 0x6e, 0x4f, 0x6a, 0xda, 0xaa, 0x1d, - 0x46, 0xe6, 0xb3, 0x9e, 0x56, 0x8b, 0x0e, 0xca, 0x3f, 0xc6, 0xdd, 0xef, 0x01, 0x00, 0x00, 0xff, - 0xff, 0x07, 0xc9, 0xea, 0x62, 0xa8, 0x04, 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 deleted file mode 100644 index 86d9c4ed..00000000 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/response_body_service.pb.gw.go +++ /dev/null @@ -1,406 +0,0 @@ -// 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 ( - "context" - "io" - "net/http" - - "github.com/golang/protobuf/descriptor" - "github.com/golang/protobuf/proto" - "github.com/grpc-ecosystem/grpc-gateway/runtime" - "github.com/grpc-ecosystem/grpc-gateway/utilities" - "google.golang.org/grpc" - "google.golang.org/grpc/codes" - "google.golang.org/grpc/grpclog" - "google.golang.org/grpc/status" -) - -// Suppress "imported and not used" errors -var _ codes.Code -var _ io.Reader -var _ status.Status -var _ = runtime.String -var _ = utilities.NewDoubleArray -var _ = descriptor.ForMessage - -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 - -} - -func local_request_ResponseBodyService_GetResponseBody_0(ctx context.Context, marshaler runtime.Marshaler, server ResponseBodyServiceServer, 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 := server.GetResponseBody(ctx, &protoReq) - return msg, metadata, err - -} - -func request_ResponseBodyService_ListResponseBodies_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.ListResponseBodies(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_ResponseBodyService_ListResponseBodies_0(ctx context.Context, marshaler runtime.Marshaler, server ResponseBodyServiceServer, 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 := server.ListResponseBodies(ctx, &protoReq) - return msg, metadata, err - -} - -func request_ResponseBodyService_ListResponseStrings_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.ListResponseStrings(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_ResponseBodyService_ListResponseStrings_0(ctx context.Context, marshaler runtime.Marshaler, server ResponseBodyServiceServer, 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 := server.ListResponseStrings(ctx, &protoReq) - return msg, metadata, err - -} - -// RegisterResponseBodyServiceHandlerServer registers the http handlers for service ResponseBodyService to "mux". -// UnaryRPC :call ResponseBodyServiceServer directly. -// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -func RegisterResponseBodyServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ResponseBodyServiceServer) 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.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_ResponseBodyService_GetResponseBody_0(rctx, inboundMarshaler, server, 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()...) - - }) - - mux.Handle("GET", pattern_ResponseBodyService_ListResponseBodies_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.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_ResponseBodyService_ListResponseBodies_0(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_ResponseBodyService_ListResponseBodies_0(ctx, mux, outboundMarshaler, w, req, response_ResponseBodyService_ListResponseBodies_0{resp}, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_ResponseBodyService_ListResponseStrings_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.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_ResponseBodyService_ListResponseStrings_0(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_ResponseBodyService_ListResponseStrings_0(ctx, mux, outboundMarshaler, w, req, response_ResponseBodyService_ListResponseStrings_0{resp}, mux.GetForwardResponseOptions()...) - - }) - - return nil -} - -// 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()...) - - }) - - mux.Handle("GET", pattern_ResponseBodyService_ListResponseBodies_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_ListResponseBodies_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_ListResponseBodies_0(ctx, mux, outboundMarshaler, w, req, response_ResponseBodyService_ListResponseBodies_0{resp}, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_ResponseBodyService_ListResponseStrings_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_ListResponseStrings_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_ListResponseStrings_0(ctx, mux, outboundMarshaler, w, req, response_ResponseBodyService_ListResponseStrings_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 -} - -type response_ResponseBodyService_ListResponseBodies_0 struct { - proto.Message -} - -func (m response_ResponseBodyService_ListResponseBodies_0) XXX_ResponseBody() interface{} { - response := m.Message.(*RepeatedResponseBodyOut) - return response.Response -} - -type response_ResponseBodyService_ListResponseStrings_0 struct { - proto.Message -} - -func (m response_ResponseBodyService_ListResponseStrings_0) XXX_ResponseBody() interface{} { - response := m.Message.(*RepeatedResponseStrings) - return response.Values -} - -var ( - pattern_ResponseBodyService_GetResponseBody_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 1, 0, 4, 1, 5, 1}, []string{"responsebody", "data"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_ResponseBodyService_ListResponseBodies_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 1, 0, 4, 1, 5, 1}, []string{"responsebodies", "data"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_ResponseBodyService_ListResponseStrings_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 1, 0, 4, 1, 5, 1}, []string{"responsestrings", "data"}, "", runtime.AssumeColonVerbOpt(true))) -) - -var ( - forward_ResponseBodyService_GetResponseBody_0 = runtime.ForwardResponseMessage - - forward_ResponseBodyService_ListResponseBodies_0 = runtime.ForwardResponseMessage - - forward_ResponseBodyService_ListResponseStrings_0 = runtime.ForwardResponseMessage -) diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/stream.pb.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/stream.pb.go deleted file mode 100644 index 8c1cd2e9..00000000 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/stream.pb.go +++ /dev/null @@ -1,286 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: examples/proto/examplepb/stream.proto - -package examplepb - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import empty "github.com/golang/protobuf/ptypes/empty" -import sub "github.com/grpc-ecosystem/grpc-gateway/examples/proto/sub" -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 - -// StreamServiceClient is the client API for StreamService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type StreamServiceClient interface { - BulkCreate(ctx context.Context, opts ...grpc.CallOption) (StreamService_BulkCreateClient, error) - List(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (StreamService_ListClient, error) - BulkEcho(ctx context.Context, opts ...grpc.CallOption) (StreamService_BulkEchoClient, error) -} - -type streamServiceClient struct { - cc *grpc.ClientConn -} - -func NewStreamServiceClient(cc *grpc.ClientConn) StreamServiceClient { - return &streamServiceClient{cc} -} - -func (c *streamServiceClient) BulkCreate(ctx context.Context, opts ...grpc.CallOption) (StreamService_BulkCreateClient, error) { - stream, err := c.cc.NewStream(ctx, &_StreamService_serviceDesc.Streams[0], "/grpc.gateway.examples.examplepb.StreamService/BulkCreate", opts...) - if err != nil { - return nil, err - } - x := &streamServiceBulkCreateClient{stream} - return x, nil -} - -type StreamService_BulkCreateClient interface { - Send(*ABitOfEverything) error - CloseAndRecv() (*empty.Empty, error) - grpc.ClientStream -} - -type streamServiceBulkCreateClient struct { - grpc.ClientStream -} - -func (x *streamServiceBulkCreateClient) Send(m *ABitOfEverything) error { - return x.ClientStream.SendMsg(m) -} - -func (x *streamServiceBulkCreateClient) CloseAndRecv() (*empty.Empty, error) { - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - m := new(empty.Empty) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *streamServiceClient) List(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (StreamService_ListClient, error) { - stream, err := c.cc.NewStream(ctx, &_StreamService_serviceDesc.Streams[1], "/grpc.gateway.examples.examplepb.StreamService/List", opts...) - if err != nil { - return nil, err - } - x := &streamServiceListClient{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 StreamService_ListClient interface { - Recv() (*ABitOfEverything, error) - grpc.ClientStream -} - -type streamServiceListClient struct { - grpc.ClientStream -} - -func (x *streamServiceListClient) Recv() (*ABitOfEverything, error) { - m := new(ABitOfEverything) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *streamServiceClient) BulkEcho(ctx context.Context, opts ...grpc.CallOption) (StreamService_BulkEchoClient, error) { - stream, err := c.cc.NewStream(ctx, &_StreamService_serviceDesc.Streams[2], "/grpc.gateway.examples.examplepb.StreamService/BulkEcho", opts...) - if err != nil { - return nil, err - } - x := &streamServiceBulkEchoClient{stream} - return x, nil -} - -type StreamService_BulkEchoClient interface { - Send(*sub.StringMessage) error - Recv() (*sub.StringMessage, error) - grpc.ClientStream -} - -type streamServiceBulkEchoClient struct { - grpc.ClientStream -} - -func (x *streamServiceBulkEchoClient) Send(m *sub.StringMessage) error { - return x.ClientStream.SendMsg(m) -} - -func (x *streamServiceBulkEchoClient) Recv() (*sub.StringMessage, error) { - m := new(sub.StringMessage) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// StreamServiceServer is the server API for StreamService service. -type StreamServiceServer interface { - BulkCreate(StreamService_BulkCreateServer) error - List(*empty.Empty, StreamService_ListServer) error - BulkEcho(StreamService_BulkEchoServer) error -} - -func RegisterStreamServiceServer(s *grpc.Server, srv StreamServiceServer) { - s.RegisterService(&_StreamService_serviceDesc, srv) -} - -func _StreamService_BulkCreate_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(StreamServiceServer).BulkCreate(&streamServiceBulkCreateServer{stream}) -} - -type StreamService_BulkCreateServer interface { - SendAndClose(*empty.Empty) error - Recv() (*ABitOfEverything, error) - grpc.ServerStream -} - -type streamServiceBulkCreateServer struct { - grpc.ServerStream -} - -func (x *streamServiceBulkCreateServer) SendAndClose(m *empty.Empty) error { - return x.ServerStream.SendMsg(m) -} - -func (x *streamServiceBulkCreateServer) Recv() (*ABitOfEverything, error) { - m := new(ABitOfEverything) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _StreamService_List_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(empty.Empty) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(StreamServiceServer).List(m, &streamServiceListServer{stream}) -} - -type StreamService_ListServer interface { - Send(*ABitOfEverything) error - grpc.ServerStream -} - -type streamServiceListServer struct { - grpc.ServerStream -} - -func (x *streamServiceListServer) Send(m *ABitOfEverything) error { - return x.ServerStream.SendMsg(m) -} - -func _StreamService_BulkEcho_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(StreamServiceServer).BulkEcho(&streamServiceBulkEchoServer{stream}) -} - -type StreamService_BulkEchoServer interface { - Send(*sub.StringMessage) error - Recv() (*sub.StringMessage, error) - grpc.ServerStream -} - -type streamServiceBulkEchoServer struct { - grpc.ServerStream -} - -func (x *streamServiceBulkEchoServer) Send(m *sub.StringMessage) error { - return x.ServerStream.SendMsg(m) -} - -func (x *streamServiceBulkEchoServer) Recv() (*sub.StringMessage, error) { - m := new(sub.StringMessage) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -var _StreamService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "grpc.gateway.examples.examplepb.StreamService", - HandlerType: (*StreamServiceServer)(nil), - Methods: []grpc.MethodDesc{}, - Streams: []grpc.StreamDesc{ - { - StreamName: "BulkCreate", - Handler: _StreamService_BulkCreate_Handler, - ClientStreams: true, - }, - { - StreamName: "List", - Handler: _StreamService_List_Handler, - ServerStreams: true, - }, - { - StreamName: "BulkEcho", - Handler: _StreamService_BulkEcho_Handler, - ServerStreams: true, - ClientStreams: true, - }, - }, - Metadata: "examples/proto/examplepb/stream.proto", -} - -func init() { - proto.RegisterFile("examples/proto/examplepb/stream.proto", fileDescriptor_stream_44f32a4fe5bf6004) -} - -var fileDescriptor_stream_44f32a4fe5bf6004 = []byte{ - // 319 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x90, 0xb1, 0x4e, 0xc3, 0x30, - 0x10, 0x86, 0x15, 0x40, 0x08, 0x8c, 0x58, 0x3c, 0x30, 0x04, 0xa4, 0x42, 0x05, 0xa2, 0x30, 0xd8, - 0x6d, 0xd9, 0xd8, 0x28, 0xea, 0x06, 0x62, 0xe8, 0xc6, 0x52, 0xd9, 0xd1, 0xd5, 0xb5, 0x9a, 0xc4, - 0x96, 0x7d, 0x29, 0x54, 0x62, 0x62, 0x64, 0xed, 0x8b, 0xf0, 0x2e, 0xbc, 0x02, 0x0f, 0x82, 0xea, - 0xa4, 0x1d, 0x10, 0x51, 0xcb, 0x78, 0xbe, 0xff, 0xf7, 0xfd, 0xdf, 0x4f, 0x2e, 0xe0, 0x55, 0x64, - 0x36, 0x05, 0xcf, 0xad, 0x33, 0x68, 0x78, 0x35, 0x5a, 0xc9, 0x3d, 0x3a, 0x10, 0x19, 0x0b, 0xcf, - 0xb4, 0xa1, 0x9c, 0x4d, 0x98, 0x12, 0x08, 0x2f, 0x62, 0xc6, 0x96, 0x1e, 0xb6, 0x52, 0xc7, 0x27, - 0xca, 0x18, 0x95, 0x02, 0x17, 0x56, 0x73, 0x91, 0xe7, 0x06, 0x05, 0x6a, 0x93, 0xfb, 0xd2, 0x1e, - 0x1f, 0x57,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x63, 0x7a, 0xd9, 0xa1, 0x02, 0x00, 0x00, -} 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 deleted file mode 100644 index 8b33ff5c..00000000 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/stream.pb.gw.go +++ /dev/null @@ -1,293 +0,0 @@ -// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: examples/proto/examplepb/stream.proto - -/* -Package examplepb is a reverse proxy. - -It translates gRPC into RESTful JSON APIs. -*/ -package examplepb - -import ( - "context" - "io" - "net/http" - - "github.com/golang/protobuf/descriptor" - "github.com/golang/protobuf/proto" - "github.com/golang/protobuf/ptypes/empty" - "github.com/grpc-ecosystem/grpc-gateway/examples/proto/sub" - "github.com/grpc-ecosystem/grpc-gateway/runtime" - "github.com/grpc-ecosystem/grpc-gateway/utilities" - "google.golang.org/grpc" - "google.golang.org/grpc/codes" - "google.golang.org/grpc/grpclog" - "google.golang.org/grpc/status" -) - -// Suppress "imported and not used" errors -var _ codes.Code -var _ io.Reader -var _ status.Status -var _ = runtime.String -var _ = utilities.NewDoubleArray -var _ = descriptor.ForMessage - -func request_StreamService_BulkCreate_0(ctx context.Context, marshaler runtime.Marshaler, client StreamServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var metadata runtime.ServerMetadata - stream, err := client.BulkCreate(ctx) - if err != nil { - grpclog.Infof("Failed to start streaming: %v", err) - return nil, metadata, err - } - dec := marshaler.NewDecoder(req.Body) - for { - var protoReq ABitOfEverything - err = dec.Decode(&protoReq) - if err == io.EOF { - break - } - if err != nil { - grpclog.Infof("Failed to decode request: %v", err) - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err = stream.Send(&protoReq); err != nil { - if err == io.EOF { - break - } - grpclog.Infof("Failed to send request: %v", err) - return nil, metadata, err - } - } - - if err := stream.CloseSend(); err != nil { - grpclog.Infof("Failed to terminate client stream: %v", err) - return nil, metadata, err - } - header, err := stream.Header() - if err != nil { - grpclog.Infof("Failed to get header from client: %v", err) - return nil, metadata, err - } - metadata.HeaderMD = header - - msg, err := stream.CloseAndRecv() - metadata.TrailerMD = stream.Trailer() - return msg, metadata, err - -} - -func request_StreamService_List_0(ctx context.Context, marshaler runtime.Marshaler, client StreamServiceClient, req *http.Request, pathParams map[string]string) (StreamService_ListClient, runtime.ServerMetadata, error) { - var protoReq empty.Empty - var metadata runtime.ServerMetadata - - stream, err := client.List(ctx, &protoReq) - if err != nil { - return nil, metadata, err - } - header, err := stream.Header() - if err != nil { - return nil, metadata, err - } - metadata.HeaderMD = header - return stream, metadata, nil - -} - -func request_StreamService_BulkEcho_0(ctx context.Context, marshaler runtime.Marshaler, client StreamServiceClient, req *http.Request, pathParams map[string]string) (StreamService_BulkEchoClient, runtime.ServerMetadata, error) { - var metadata runtime.ServerMetadata - stream, err := client.BulkEcho(ctx) - if err != nil { - grpclog.Infof("Failed to start streaming: %v", err) - return nil, metadata, err - } - dec := marshaler.NewDecoder(req.Body) - handleSend := func() error { - var protoReq sub.StringMessage - err := dec.Decode(&protoReq) - if err == io.EOF { - return err - } - if err != nil { - grpclog.Infof("Failed to decode request: %v", err) - return err - } - if err := stream.Send(&protoReq); err != nil { - grpclog.Infof("Failed to send request: %v", err) - return err - } - return nil - } - if err := handleSend(); err != nil { - if cerr := stream.CloseSend(); cerr != nil { - grpclog.Infof("Failed to terminate client stream: %v", cerr) - } - if err == io.EOF { - return stream, metadata, nil - } - return nil, metadata, err - } - go func() { - for { - if err := handleSend(); err != nil { - break - } - } - if err := stream.CloseSend(); err != nil { - grpclog.Infof("Failed to terminate client stream: %v", err) - } - }() - header, err := stream.Header() - if err != nil { - grpclog.Infof("Failed to get header from client: %v", err) - return nil, metadata, err - } - metadata.HeaderMD = header - return stream, metadata, nil -} - -// RegisterStreamServiceHandlerServer registers the http handlers for service StreamService to "mux". -// UnaryRPC :call StreamServiceServer directly. -// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -func RegisterStreamServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server StreamServiceServer) error { - - mux.Handle("POST", pattern_StreamService_BulkCreate_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport") - _, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - }) - - mux.Handle("GET", pattern_StreamService_List_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport") - _, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - }) - - mux.Handle("POST", pattern_StreamService_BulkEcho_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport") - _, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - }) - - return nil -} - -// RegisterStreamServiceHandlerFromEndpoint is same as RegisterStreamServiceHandler but -// automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterStreamServiceHandlerFromEndpoint(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 RegisterStreamServiceHandler(ctx, mux, conn) -} - -// RegisterStreamServiceHandler registers the http handlers for service StreamService to "mux". -// The handlers forward requests to the grpc endpoint over "conn". -func RegisterStreamServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterStreamServiceHandlerClient(ctx, mux, NewStreamServiceClient(conn)) -} - -// 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. -func RegisterStreamServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client StreamServiceClient) error { - - 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() - 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_StreamService_BulkCreate_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_StreamService_BulkCreate_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_StreamService_List_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_StreamService_List_0(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_StreamService_BulkEcho_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_StreamService_BulkEcho_0(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...) - - }) - - return nil -} - -var ( - pattern_StreamService_BulkCreate_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"v1", "example", "a_bit_of_everything", "bulk"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_StreamService_List_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v1", "example", "a_bit_of_everything"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_StreamService_BulkEcho_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"v1", "example", "a_bit_of_everything", "echo"}, "", runtime.AssumeColonVerbOpt(true))) -) - -var ( - forward_StreamService_BulkCreate_0 = runtime.ForwardResponseMessage - - forward_StreamService_List_0 = runtime.ForwardResponseStream - - forward_StreamService_BulkEcho_0 = runtime.ForwardResponseStream -) 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 deleted file mode 100644 index 73699e5c..00000000 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/unannotated_echo_service.pb.go +++ /dev/null @@ -1,270 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: examples/proto/examplepb/unannotated_echo_service.proto - -package examplepb - -/* -Unannotated Echo Service -Similar to echo_service.proto but without annotations. See -unannotated_echo_service.yaml for the equivalent of the annotations in -gRPC API configuration format. - -Echo Service API consists of a single service which returns -a message. -*/ - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import duration "github.com/golang/protobuf/ptypes/duration" - -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 - -// 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,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:"-"` -} - -func (m *UnannotatedSimpleMessage) Reset() { *m = UnannotatedSimpleMessage{} } -func (m *UnannotatedSimpleMessage) String() string { return proto.CompactTextString(m) } -func (*UnannotatedSimpleMessage) ProtoMessage() {} -func (*UnannotatedSimpleMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_unannotated_echo_service_ca2b904682e29806, []int{0} -} -func (m *UnannotatedSimpleMessage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UnannotatedSimpleMessage.Unmarshal(m, b) -} -func (m *UnannotatedSimpleMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UnannotatedSimpleMessage.Marshal(b, m, deterministic) -} -func (dst *UnannotatedSimpleMessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_UnannotatedSimpleMessage.Merge(dst, src) -} -func (m *UnannotatedSimpleMessage) XXX_Size() int { - return xxx_messageInfo_UnannotatedSimpleMessage.Size(m) -} -func (m *UnannotatedSimpleMessage) XXX_DiscardUnknown() { - xxx_messageInfo_UnannotatedSimpleMessage.DiscardUnknown(m) -} - -var xxx_messageInfo_UnannotatedSimpleMessage proto.InternalMessageInfo - -func (m *UnannotatedSimpleMessage) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *UnannotatedSimpleMessage) GetNum() int64 { - if m != nil { - return m.Num - } - return 0 -} - -func (m *UnannotatedSimpleMessage) GetDuration() *duration.Duration { - if m != nil { - return m.Duration - } - return nil -} - -func init() { - proto.RegisterType((*UnannotatedSimpleMessage)(nil), "grpc.gateway.examples.examplepb.UnannotatedSimpleMessage") -} - -// 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 - -// UnannotatedEchoServiceClient is the client API for UnannotatedEchoService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type UnannotatedEchoServiceClient interface { - // Echo method receives a simple message and returns it. - // - // The message posted as the id parameter will also be - // returned. - Echo(ctx context.Context, in *UnannotatedSimpleMessage, opts ...grpc.CallOption) (*UnannotatedSimpleMessage, error) - // EchoBody method receives a simple message and returns it. - EchoBody(ctx context.Context, in *UnannotatedSimpleMessage, opts ...grpc.CallOption) (*UnannotatedSimpleMessage, error) - // EchoDelete method receives a simple message and returns it. - EchoDelete(ctx context.Context, in *UnannotatedSimpleMessage, opts ...grpc.CallOption) (*UnannotatedSimpleMessage, error) -} - -type unannotatedEchoServiceClient struct { - cc *grpc.ClientConn -} - -func NewUnannotatedEchoServiceClient(cc *grpc.ClientConn) UnannotatedEchoServiceClient { - return &unannotatedEchoServiceClient{cc} -} - -func (c *unannotatedEchoServiceClient) Echo(ctx context.Context, in *UnannotatedSimpleMessage, opts ...grpc.CallOption) (*UnannotatedSimpleMessage, error) { - out := new(UnannotatedSimpleMessage) - err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.UnannotatedEchoService/Echo", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *unannotatedEchoServiceClient) EchoBody(ctx context.Context, in *UnannotatedSimpleMessage, opts ...grpc.CallOption) (*UnannotatedSimpleMessage, error) { - out := new(UnannotatedSimpleMessage) - err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.UnannotatedEchoService/EchoBody", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *unannotatedEchoServiceClient) EchoDelete(ctx context.Context, in *UnannotatedSimpleMessage, opts ...grpc.CallOption) (*UnannotatedSimpleMessage, error) { - out := new(UnannotatedSimpleMessage) - err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.UnannotatedEchoService/EchoDelete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// UnannotatedEchoServiceServer is the server API for UnannotatedEchoService service. -type UnannotatedEchoServiceServer interface { - // Echo method receives a simple message and returns it. - // - // The message posted as the id parameter will also be - // returned. - Echo(context.Context, *UnannotatedSimpleMessage) (*UnannotatedSimpleMessage, error) - // EchoBody method receives a simple message and returns it. - EchoBody(context.Context, *UnannotatedSimpleMessage) (*UnannotatedSimpleMessage, error) - // EchoDelete method receives a simple message and returns it. - EchoDelete(context.Context, *UnannotatedSimpleMessage) (*UnannotatedSimpleMessage, error) -} - -func RegisterUnannotatedEchoServiceServer(s *grpc.Server, srv UnannotatedEchoServiceServer) { - s.RegisterService(&_UnannotatedEchoService_serviceDesc, srv) -} - -func _UnannotatedEchoService_Echo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UnannotatedSimpleMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UnannotatedEchoServiceServer).Echo(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.gateway.examples.examplepb.UnannotatedEchoService/Echo", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UnannotatedEchoServiceServer).Echo(ctx, req.(*UnannotatedSimpleMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _UnannotatedEchoService_EchoBody_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UnannotatedSimpleMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UnannotatedEchoServiceServer).EchoBody(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.gateway.examples.examplepb.UnannotatedEchoService/EchoBody", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UnannotatedEchoServiceServer).EchoBody(ctx, req.(*UnannotatedSimpleMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _UnannotatedEchoService_EchoDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UnannotatedSimpleMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UnannotatedEchoServiceServer).EchoDelete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.gateway.examples.examplepb.UnannotatedEchoService/EchoDelete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UnannotatedEchoServiceServer).EchoDelete(ctx, req.(*UnannotatedSimpleMessage)) - } - return interceptor(ctx, in, info, handler) -} - -var _UnannotatedEchoService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "grpc.gateway.examples.examplepb.UnannotatedEchoService", - HandlerType: (*UnannotatedEchoServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Echo", - Handler: _UnannotatedEchoService_Echo_Handler, - }, - { - MethodName: "EchoBody", - Handler: _UnannotatedEchoService_EchoBody_Handler, - }, - { - MethodName: "EchoDelete", - Handler: _UnannotatedEchoService_EchoDelete_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "examples/proto/examplepb/unannotated_echo_service.proto", -} - -func init() { - proto.RegisterFile("examples/proto/examplepb/unannotated_echo_service.proto", fileDescriptor_unannotated_echo_service_ca2b904682e29806) -} - -var fileDescriptor_unannotated_echo_service_ca2b904682e29806 = []byte{ - // 268 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4f, 0xad, 0x48, 0xcc, - 0x2d, 0xc8, 0x49, 0x2d, 0xd6, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0xd7, 0x87, 0x72, 0x0b, 0x92, 0xf4, - 0x4b, 0xf3, 0x12, 0xf3, 0xf2, 0xf2, 0x4b, 0x12, 0x4b, 0x52, 0x53, 0xe2, 0x53, 0x93, 0x33, 0xf2, - 0xe3, 0x8b, 0x53, 0x8b, 0xca, 0x32, 0x93, 0x53, 0xf5, 0xc0, 0x0a, 0x85, 0xe4, 0xd3, 0x8b, 0x0a, - 0x92, 0xf5, 0xd2, 0x13, 0x4b, 0x52, 0xcb, 0x13, 0x2b, 0xf5, 0x60, 0xa6, 0xe8, 0xc1, 0xf5, 0x4b, - 0xc9, 0xa5, 0xe7, 0xe7, 0xa7, 0xe7, 0xa4, 0x42, 0xcc, 0x4d, 0x2a, 0x4d, 0xd3, 0x4f, 0x29, 0x2d, - 0x4a, 0x2c, 0xc9, 0xcc, 0xcf, 0x83, 0x18, 0xa0, 0x54, 0xcc, 0x25, 0x11, 0x8a, 0xb0, 0x22, 0x38, - 0x13, 0xa4, 0xcd, 0x37, 0xb5, 0xb8, 0x38, 0x31, 0x3d, 0x55, 0x88, 0x8f, 0x8b, 0x29, 0x33, 0x45, - 0x82, 0x51, 0x81, 0x51, 0x83, 0x33, 0x88, 0x29, 0x33, 0x45, 0x48, 0x80, 0x8b, 0x39, 0xaf, 0x34, - 0x57, 0x82, 0x49, 0x81, 0x51, 0x83, 0x39, 0x08, 0xc4, 0x14, 0x32, 0xe5, 0xe2, 0x80, 0x99, 0x27, - 0xc1, 0xac, 0xc0, 0xa8, 0xc1, 0x6d, 0x24, 0xa9, 0x07, 0xb1, 0x50, 0x0f, 0x66, 0xa1, 0x9e, 0x0b, - 0x54, 0x41, 0x10, 0x5c, 0xa9, 0xd1, 0x3c, 0x66, 0x2e, 0x31, 0x24, 0x5b, 0x5d, 0x93, 0x33, 0xf2, - 0x83, 0x21, 0xde, 0x12, 0xaa, 0xe1, 0x62, 0x01, 0x71, 0x85, 0x2c, 0xf5, 0x08, 0xf8, 0x4c, 0x0f, - 0x97, 0xb3, 0xa5, 0xc8, 0xd7, 0x2a, 0xd4, 0xc0, 0xc8, 0xc5, 0x01, 0xb2, 0xde, 0x29, 0x3f, 0xa5, - 0x72, 0x80, 0x9c, 0xd0, 0xc4, 0xc8, 0xc5, 0x05, 0x72, 0x82, 0x4b, 0x6a, 0x4e, 0x6a, 0x49, 0xea, - 0xc0, 0x38, 0xc2, 0x89, 0x3b, 0x8a, 0x13, 0xae, 0x2a, 0x89, 0x0d, 0x1c, 0x95, 0xc6, 0x80, 0x00, - 0x00, 0x00, 0xff, 0xff, 0x9a, 0xa7, 0x7c, 0x41, 0xa5, 0x02, 0x00, 0x00, -} 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 deleted file mode 100644 index 27258d25..00000000 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/unannotated_echo_service.pb.gw.go +++ /dev/null @@ -1,488 +0,0 @@ -// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: examples/proto/examplepb/unannotated_echo_service.proto - -/* -Package examplepb is a reverse proxy. - -It translates gRPC into RESTful JSON APIs. -*/ -package examplepb - -import ( - "context" - "io" - "net/http" - - "github.com/golang/protobuf/descriptor" - "github.com/golang/protobuf/proto" - "github.com/grpc-ecosystem/grpc-gateway/runtime" - "github.com/grpc-ecosystem/grpc-gateway/utilities" - "google.golang.org/grpc" - "google.golang.org/grpc/codes" - "google.golang.org/grpc/grpclog" - "google.golang.org/grpc/status" -) - -// Suppress "imported and not used" errors -var _ codes.Code -var _ io.Reader -var _ status.Status -var _ = runtime.String -var _ = utilities.NewDoubleArray -var _ = descriptor.ForMessage - -var ( - filter_UnannotatedEchoService_Echo_0 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} -) - -func request_UnannotatedEchoService_Echo_0(ctx context.Context, marshaler runtime.Marshaler, client UnannotatedEchoServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq UnannotatedSimpleMessage - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id") - } - - protoReq.Id, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_UnannotatedEchoService_Echo_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.Echo(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_UnannotatedEchoService_Echo_0(ctx context.Context, marshaler runtime.Marshaler, server UnannotatedEchoServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq UnannotatedSimpleMessage - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id") - } - - protoReq.Id, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id", err) - } - - if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_UnannotatedEchoService_Echo_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.Echo(ctx, &protoReq) - return msg, metadata, err - -} - -var ( - filter_UnannotatedEchoService_Echo_1 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "num": 1}, Base: []int{1, 1, 2, 0, 0}, Check: []int{0, 1, 1, 2, 3}} -) - -func request_UnannotatedEchoService_Echo_1(ctx context.Context, marshaler runtime.Marshaler, client UnannotatedEchoServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq UnannotatedSimpleMessage - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id") - } - - protoReq.Id, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id", err) - } - - val, ok = pathParams["num"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "num") - } - - protoReq.Num, err = runtime.Int64(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "num", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_UnannotatedEchoService_Echo_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.Echo(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_UnannotatedEchoService_Echo_1(ctx context.Context, marshaler runtime.Marshaler, server UnannotatedEchoServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq UnannotatedSimpleMessage - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["id"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id") - } - - protoReq.Id, err = runtime.String(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id", err) - } - - val, ok = pathParams["num"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "num") - } - - protoReq.Num, err = runtime.Int64(val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "num", err) - } - - if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_UnannotatedEchoService_Echo_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.Echo(ctx, &protoReq) - return msg, metadata, err - -} - -func request_UnannotatedEchoService_EchoBody_0(ctx context.Context, marshaler runtime.Marshaler, client UnannotatedEchoServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq UnannotatedSimpleMessage - 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.EchoBody(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_UnannotatedEchoService_EchoBody_0(ctx context.Context, marshaler runtime.Marshaler, server UnannotatedEchoServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq UnannotatedSimpleMessage - 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 := server.EchoBody(ctx, &protoReq) - return msg, metadata, err - -} - -var ( - filter_UnannotatedEchoService_EchoDelete_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} -) - -func request_UnannotatedEchoService_EchoDelete_0(ctx context.Context, marshaler runtime.Marshaler, client UnannotatedEchoServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq UnannotatedSimpleMessage - var metadata runtime.ServerMetadata - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_UnannotatedEchoService_EchoDelete_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.EchoDelete(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_UnannotatedEchoService_EchoDelete_0(ctx context.Context, marshaler runtime.Marshaler, server UnannotatedEchoServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq UnannotatedSimpleMessage - var metadata runtime.ServerMetadata - - if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_UnannotatedEchoService_EchoDelete_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.EchoDelete(ctx, &protoReq) - return msg, metadata, err - -} - -// RegisterUnannotatedEchoServiceHandlerServer registers the http handlers for service UnannotatedEchoService to "mux". -// UnaryRPC :call UnannotatedEchoServiceServer directly. -// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -func RegisterUnannotatedEchoServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UnannotatedEchoServiceServer) error { - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_UnannotatedEchoService_Echo_0(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_UnannotatedEchoService_Echo_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_UnannotatedEchoService_Echo_1(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_UnannotatedEchoService_Echo_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_UnannotatedEchoService_EchoBody_0(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_UnannotatedEchoService_EchoBody_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_UnannotatedEchoService_EchoDelete_0(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_UnannotatedEchoService_EchoDelete_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - return nil -} - -// RegisterUnannotatedEchoServiceHandlerFromEndpoint is same as RegisterUnannotatedEchoServiceHandler but -// automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterUnannotatedEchoServiceHandlerFromEndpoint(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 RegisterUnannotatedEchoServiceHandler(ctx, mux, conn) -} - -// RegisterUnannotatedEchoServiceHandler registers the http handlers for service UnannotatedEchoService to "mux". -// The handlers forward requests to the grpc endpoint over "conn". -func RegisterUnannotatedEchoServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterUnannotatedEchoServiceHandlerClient(ctx, mux, NewUnannotatedEchoServiceClient(conn)) -} - -// 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. -func RegisterUnannotatedEchoServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UnannotatedEchoServiceClient) error { - - 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() - 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_UnannotatedEchoService_Echo_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_UnannotatedEchoService_Echo_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_UnannotatedEchoService_Echo_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_UnannotatedEchoService_Echo_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_UnannotatedEchoService_EchoBody_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_UnannotatedEchoService_EchoBody_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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() - 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_UnannotatedEchoService_EchoDelete_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_UnannotatedEchoService_EchoDelete_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - return nil -} - -var ( - pattern_UnannotatedEchoService_Echo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"v1", "example", "echo", "id"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_UnannotatedEchoService_Echo_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"v1", "example", "echo", "id", "num"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_UnannotatedEchoService_EchoBody_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v1", "example", "echo_body"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_UnannotatedEchoService_EchoDelete_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v1", "example", "echo_delete"}, "", runtime.AssumeColonVerbOpt(true))) -) - -var ( - forward_UnannotatedEchoService_Echo_0 = runtime.ForwardResponseMessage - - forward_UnannotatedEchoService_Echo_1 = runtime.ForwardResponseMessage - - forward_UnannotatedEchoService_EchoBody_0 = runtime.ForwardResponseMessage - - forward_UnannotatedEchoService_EchoDelete_0 = runtime.ForwardResponseMessage -) 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 deleted file mode 100644 index c0a52fe2..00000000 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/wrappers.pb.go +++ /dev/null @@ -1,580 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: examples/proto/examplepb/wrappers.proto - -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" - -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 Wrappers struct { - 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:"-"` -} - -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_357c0312be7b0bb0, []int{0} -} -func (m *Wrappers) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Wrappers.Unmarshal(m, b) -} -func (m *Wrappers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Wrappers.Marshal(b, m, deterministic) -} -func (dst *Wrappers) XXX_Merge(src proto.Message) { - xxx_messageInfo_Wrappers.Merge(dst, src) -} -func (m *Wrappers) XXX_Size() int { - return xxx_messageInfo_Wrappers.Size(m) -} -func (m *Wrappers) XXX_DiscardUnknown() { - xxx_messageInfo_Wrappers.DiscardUnknown(m) -} - -var xxx_messageInfo_Wrappers proto.InternalMessageInfo - -func (m *Wrappers) GetStringValue() *wrappers.StringValue { - if m != nil { - return m.StringValue - } - return nil -} - -func (m *Wrappers) GetInt32Value() *wrappers.Int32Value { - if m != nil { - return m.Int32Value - } - return nil -} - -func (m *Wrappers) GetInt64Value() *wrappers.Int64Value { - if m != nil { - return m.Int64Value - } - return nil -} - -func (m *Wrappers) GetFloatValue() *wrappers.FloatValue { - if m != nil { - return m.FloatValue - } - return nil -} - -func (m *Wrappers) GetDoubleValue() *wrappers.DoubleValue { - if m != nil { - return m.DoubleValue - } - return nil -} - -func (m *Wrappers) GetBoolValue() *wrappers.BoolValue { - if m != nil { - return m.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") -} - -// 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 - -// WrappersServiceClient is the client API for WrappersService service. -// -// 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 { - cc *grpc.ClientConn -} - -func NewWrappersServiceClient(cc *grpc.ClientConn) WrappersServiceClient { - return &wrappersServiceClient{cc} -} - -func (c *wrappersServiceClient) Create(ctx context.Context, in *Wrappers, opts ...grpc.CallOption) (*Wrappers, error) { - out := new(Wrappers) - err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.WrappersService/Create", in, out, opts...) - if err != nil { - return nil, err - } - 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) { - s.RegisterService(&_WrappersService_serviceDesc, srv) -} - -func _WrappersService_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Wrappers) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WrappersServiceServer).Create(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.gateway.examples.examplepb.WrappersService/Create", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WrappersServiceServer).Create(ctx, req.(*Wrappers)) - } - 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), - Methods: []grpc.MethodDesc{ - { - 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_357c0312be7b0bb0) -} - -var fileDescriptor_wrappers_357c0312be7b0bb0 = []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, 0xcb, 0x34, 0x26, 0x71, 0x83, - 0xec, 0xcd, 0x8d, 0x82, 0xb2, 0x38, 0x4a, 0x9c, 0x8e, 0x5e, 0x21, 0xf1, 0x0a, 0x3c, 0x00, 0xcf, - 0xc2, 0x33, 0xf0, 0x0a, 0x3c, 0x08, 0xf2, 0x57, 0x3e, 0x9a, 0xe5, 0xc0, 0x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, 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 deleted file mode 100644 index edb9b10a..00000000 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/examplepb/wrappers.pb.gw.go +++ /dev/null @@ -1,945 +0,0 @@ -// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: examples/proto/examplepb/wrappers.proto - -/* -Package examplepb is a reverse proxy. - -It translates gRPC into RESTful JSON APIs. -*/ -package examplepb - -import ( - "context" - "io" - "net/http" - - "github.com/golang/protobuf/descriptor" - "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" - "google.golang.org/grpc" - "google.golang.org/grpc/codes" - "google.golang.org/grpc/grpclog" - "google.golang.org/grpc/status" -) - -// Suppress "imported and not used" errors -var _ codes.Code -var _ io.Reader -var _ status.Status -var _ = runtime.String -var _ = utilities.NewDoubleArray -var _ = descriptor.ForMessage - -func request_WrappersService_Create_0(ctx context.Context, marshaler runtime.Marshaler, client WrappersServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq Wrappers - 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.Create(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_WrappersService_Create_0(ctx context.Context, marshaler runtime.Marshaler, server WrappersServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq Wrappers - 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 := server.Create(ctx, &protoReq) - return msg, metadata, err - -} - -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 local_request_WrappersService_CreateStringValue_0(ctx context.Context, marshaler runtime.Marshaler, server WrappersServiceServer, 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 := server.CreateStringValue(ctx, &protoReq) - 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 local_request_WrappersService_CreateInt32Value_0(ctx context.Context, marshaler runtime.Marshaler, server WrappersServiceServer, 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 := server.CreateInt32Value(ctx, &protoReq) - 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 local_request_WrappersService_CreateInt64Value_0(ctx context.Context, marshaler runtime.Marshaler, server WrappersServiceServer, 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 := server.CreateInt64Value(ctx, &protoReq) - 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 local_request_WrappersService_CreateFloatValue_0(ctx context.Context, marshaler runtime.Marshaler, server WrappersServiceServer, 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 := server.CreateFloatValue(ctx, &protoReq) - 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 local_request_WrappersService_CreateDoubleValue_0(ctx context.Context, marshaler runtime.Marshaler, server WrappersServiceServer, 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 := server.CreateDoubleValue(ctx, &protoReq) - 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 local_request_WrappersService_CreateBoolValue_0(ctx context.Context, marshaler runtime.Marshaler, server WrappersServiceServer, 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 := server.CreateBoolValue(ctx, &protoReq) - 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 local_request_WrappersService_CreateUInt32Value_0(ctx context.Context, marshaler runtime.Marshaler, server WrappersServiceServer, 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 := server.CreateUInt32Value(ctx, &protoReq) - 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 local_request_WrappersService_CreateUInt64Value_0(ctx context.Context, marshaler runtime.Marshaler, server WrappersServiceServer, 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 := server.CreateUInt64Value(ctx, &protoReq) - 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 local_request_WrappersService_CreateBytesValue_0(ctx context.Context, marshaler runtime.Marshaler, server WrappersServiceServer, 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 := server.CreateBytesValue(ctx, &protoReq) - 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 - -} - -func local_request_WrappersService_CreateEmpty_0(ctx context.Context, marshaler runtime.Marshaler, server WrappersServiceServer, 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 := server.CreateEmpty(ctx, &protoReq) - return msg, metadata, err - -} - -// RegisterWrappersServiceHandlerServer registers the http handlers for service WrappersService to "mux". -// UnaryRPC :call WrappersServiceServer directly. -// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -func RegisterWrappersServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server WrappersServiceServer) error { - - 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() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_WrappersService_Create_0(rctx, inboundMarshaler, server, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_WrappersService_Create_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_WrappersService_CreateStringValue_0(rctx, inboundMarshaler, server, 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.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_WrappersService_CreateInt32Value_0(rctx, inboundMarshaler, server, 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.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_WrappersService_CreateInt64Value_0(rctx, inboundMarshaler, server, 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.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_WrappersService_CreateFloatValue_0(rctx, inboundMarshaler, server, 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.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_WrappersService_CreateDoubleValue_0(rctx, inboundMarshaler, server, 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.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_WrappersService_CreateBoolValue_0(rctx, inboundMarshaler, server, 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.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_WrappersService_CreateUInt32Value_0(rctx, inboundMarshaler, server, 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.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_WrappersService_CreateUInt64Value_0(rctx, inboundMarshaler, server, 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.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_WrappersService_CreateBytesValue_0(rctx, inboundMarshaler, server, 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.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_WrappersService_CreateEmpty_0(rctx, inboundMarshaler, server, 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 -} - -// 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) { - 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 RegisterWrappersServiceHandler(ctx, mux, conn) -} - -// RegisterWrappersServiceHandler registers the http handlers for service WrappersService to "mux". -// The handlers forward requests to the grpc endpoint over "conn". -func RegisterWrappersServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterWrappersServiceHandlerClient(ctx, mux, NewWrappersServiceClient(conn)) -} - -// 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. -func RegisterWrappersServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client WrappersServiceClient) error { - - 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() - 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_Create_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_Create_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - 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"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_WrappersService_CreateStringValue_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"v1", "testString"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_WrappersService_CreateInt32Value_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"v1", "testInt32"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_WrappersService_CreateInt64Value_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"v1", "testInt64"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_WrappersService_CreateFloatValue_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"v1", "testFloat"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_WrappersService_CreateDoubleValue_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"v1", "testDouble"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_WrappersService_CreateBoolValue_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"v1", "testBool"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_WrappersService_CreateUInt32Value_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"v1", "testUint32"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_WrappersService_CreateUInt64Value_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"v1", "testUint64"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_WrappersService_CreateBytesValue_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"v1", "testBytes"}, "", runtime.AssumeColonVerbOpt(true))) - - pattern_WrappersService_CreateEmpty_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"v1", "testEmpty"}, "", runtime.AssumeColonVerbOpt(true))) -) - -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/pathenum/path_enum.pb.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/pathenum/path_enum.pb.go deleted file mode 100644 index a3daa195..00000000 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/pathenum/path_enum.pb.go +++ /dev/null @@ -1,120 +0,0 @@ -// 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_802d5f52757a97bd, []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_802d5f52757a97bd, []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_802d5f52757a97bd, []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_802d5f52757a97bd) -} - -var fileDescriptor_path_enum_802d5f52757a97bd = []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/sub/message.pb.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/sub/message.pb.go deleted file mode 100644 index cc538167..00000000 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/sub/message.pb.go +++ /dev/null @@ -1,77 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: examples/proto/sub/message.proto - -package sub - -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 StringMessage struct { - Value *string `protobuf:"bytes,1,req,name=value" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StringMessage) Reset() { *m = StringMessage{} } -func (m *StringMessage) String() string { return proto.CompactTextString(m) } -func (*StringMessage) ProtoMessage() {} -func (*StringMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_message_6a35c3d524a65df7, []int{0} -} -func (m *StringMessage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StringMessage.Unmarshal(m, b) -} -func (m *StringMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StringMessage.Marshal(b, m, deterministic) -} -func (dst *StringMessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_StringMessage.Merge(dst, src) -} -func (m *StringMessage) XXX_Size() int { - return xxx_messageInfo_StringMessage.Size(m) -} -func (m *StringMessage) XXX_DiscardUnknown() { - xxx_messageInfo_StringMessage.DiscardUnknown(m) -} - -var xxx_messageInfo_StringMessage proto.InternalMessageInfo - -func (m *StringMessage) GetValue() string { - if m != nil && m.Value != nil { - return *m.Value - } - return "" -} - -func init() { - proto.RegisterType((*StringMessage)(nil), "grpc.gateway.examples.sub.StringMessage") -} - -func init() { - proto.RegisterFile("examples/proto/sub/message.proto", fileDescriptor_message_6a35c3d524a65df7) -} - -var fileDescriptor_message_6a35c3d524a65df7 = []byte{ - // 114 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x48, 0xad, 0x48, 0xcc, - 0x2d, 0xc8, 0x49, 0x2d, 0xd6, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0xd7, 0x2f, 0x2e, 0x4d, 0xd2, 0xcf, - 0x4d, 0x2d, 0x2e, 0x4e, 0x4c, 0x4f, 0xd5, 0x03, 0x8b, 0x08, 0x49, 0xa6, 0x17, 0x15, 0x24, 0xeb, - 0xa5, 0x27, 0x96, 0xa4, 0x96, 0x27, 0x56, 0xea, 0xc1, 0x94, 0xeb, 0x15, 0x97, 0x26, 0x29, 0xa9, - 0x72, 0xf1, 0x06, 0x97, 0x14, 0x65, 0xe6, 0xa5, 0xfb, 0x42, 0x74, 0x08, 0x89, 0x70, 0xb1, 0x96, - 0x25, 0xe6, 0x94, 0xa6, 0x4a, 0x30, 0x2a, 0x30, 0x69, 0x70, 0x06, 0x41, 0x38, 0x4e, 0xac, 0x51, - 0xcc, 0xc5, 0xa5, 0x49, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6c, 0x00, 0x25, 0x33, 0x6b, 0x00, - 0x00, 0x00, -} 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 deleted file mode 100644 index 586c6440..00000000 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/examples/proto/sub2/message.pb.go +++ /dev/null @@ -1,78 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: examples/proto/sub2/message.proto - -package sub2 // import "github.com/grpc-ecosystem/grpc-gateway/examples/proto/sub2" - -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 IdMessage struct { - Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *IdMessage) Reset() { *m = IdMessage{} } -func (m *IdMessage) String() string { return proto.CompactTextString(m) } -func (*IdMessage) ProtoMessage() {} -func (*IdMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_message_9619dbc3ad374621, []int{0} -} -func (m *IdMessage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IdMessage.Unmarshal(m, b) -} -func (m *IdMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IdMessage.Marshal(b, m, deterministic) -} -func (dst *IdMessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_IdMessage.Merge(dst, src) -} -func (m *IdMessage) XXX_Size() int { - return xxx_messageInfo_IdMessage.Size(m) -} -func (m *IdMessage) XXX_DiscardUnknown() { - xxx_messageInfo_IdMessage.DiscardUnknown(m) -} - -var xxx_messageInfo_IdMessage proto.InternalMessageInfo - -func (m *IdMessage) GetUuid() string { - if m != nil { - return m.Uuid - } - return "" -} - -func init() { - proto.RegisterType((*IdMessage)(nil), "sub2.IdMessage") -} - -func init() { - proto.RegisterFile("examples/proto/sub2/message.proto", fileDescriptor_message_9619dbc3ad374621) -} - -var fileDescriptor_message_9619dbc3ad374621 = []byte{ - // 130 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4c, 0xad, 0x48, 0xcc, - 0x2d, 0xc8, 0x49, 0x2d, 0xd6, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0xd7, 0x2f, 0x2e, 0x4d, 0x32, 0xd2, - 0xcf, 0x4d, 0x2d, 0x2e, 0x4e, 0x4c, 0x4f, 0xd5, 0x03, 0x0b, 0x09, 0xb1, 0x80, 0xc4, 0x94, 0xe4, - 0xb9, 0x38, 0x3d, 0x53, 0x7c, 0x21, 0x12, 0x42, 0x42, 0x5c, 0x2c, 0xa5, 0xa5, 0x99, 0x29, 0x12, - 0x8c, 0x0a, 0x8c, 0x1a, 0x9c, 0x41, 0x60, 0xb6, 0x93, 0x4d, 0x94, 0x55, 0x7a, 0x66, 0x49, 0x46, - 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x7e, 0x7a, 0x51, 0x41, 0xb2, 0x6e, 0x6a, 0x72, 0x7e, 0x71, - 0x65, 0x71, 0x49, 0x2a, 0x94, 0x9b, 0x9e, 0x58, 0x92, 0x5a, 0x9e, 0x58, 0xa9, 0x8f, 0xc5, 0xca, - 0x24, 0x36, 0x30, 0xdb, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0xfd, 0x49, 0xe7, 0x2f, 0x90, 0x00, - 0x00, 0x00, -} diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/internal/stream_chunk.pb.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/internal/stream_chunk.pb.go deleted file mode 100644 index 8858f069..00000000 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/internal/stream_chunk.pb.go +++ /dev/null @@ -1,118 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: internal/stream_chunk.proto - -package internal - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import any "github.com/golang/protobuf/ptypes/any" - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -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,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:"-"` -} - -func (m *StreamError) Reset() { *m = StreamError{} } -func (m *StreamError) String() string { return proto.CompactTextString(m) } -func (*StreamError) ProtoMessage() {} -func (*StreamError) Descriptor() ([]byte, []int) { - return fileDescriptor_stream_chunk_a2afb657504565d7, []int{0} -} -func (m *StreamError) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamError.Unmarshal(m, b) -} -func (m *StreamError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamError.Marshal(b, m, deterministic) -} -func (dst *StreamError) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamError.Merge(dst, src) -} -func (m *StreamError) XXX_Size() int { - return xxx_messageInfo_StreamError.Size(m) -} -func (m *StreamError) XXX_DiscardUnknown() { - xxx_messageInfo_StreamError.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamError proto.InternalMessageInfo - -func (m *StreamError) GetGrpcCode() int32 { - if m != nil { - return m.GrpcCode - } - return 0 -} - -func (m *StreamError) GetHttpCode() int32 { - if m != nil { - return m.HttpCode - } - return 0 -} - -func (m *StreamError) GetMessage() string { - if m != nil { - return m.Message - } - return "" -} - -func (m *StreamError) GetHttpStatus() string { - if m != nil { - return m.HttpStatus - } - return "" -} - -func (m *StreamError) GetDetails() []*any.Any { - if m != nil { - return m.Details - } - return nil -} - -func init() { - proto.RegisterType((*StreamError)(nil), "grpc.gateway.runtime.StreamError") -} - -func init() { - proto.RegisterFile("internal/stream_chunk.proto", fileDescriptor_stream_chunk_a2afb657504565d7) -} - -var fileDescriptor_stream_chunk_a2afb657504565d7 = []byte{ - // 223 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x34, 0x90, 0x41, 0x4e, 0xc3, 0x30, - 0x10, 0x45, 0x15, 0x4a, 0x69, 0x3b, 0xd9, 0x45, 0x5d, 0x18, 0xba, 0x20, 0x62, 0x95, 0x95, 0x23, - 0xc1, 0x09, 0x00, 0x71, 0x81, 0x74, 0xc7, 0xa6, 0x9a, 0x26, 0x83, 0x13, 0x91, 0xd8, 0xd1, 0x78, - 0x22, 0x94, 0x6b, 0x71, 0xc2, 0xca, 0x8e, 0xb2, 0xf4, 0x7b, 0x7f, 0xbe, 0xbe, 0x0c, 0xa7, 0xce, - 0x0a, 0xb1, 0xc5, 0xbe, 0xf4, 0xc2, 0x84, 0xc3, 0xa5, 0x6e, 0x27, 0xfb, 0xab, 0x47, 0x76, 0xe2, - 0xb2, 0xa3, 0xe1, 0xb1, 0xd6, 0x06, 0x85, 0xfe, 0x70, 0xd6, 0x3c, 0x59, 0xe9, 0x06, 0x7a, 0x7a, - 0x34, 0xce, 0x99, 0x9e, 0xca, 0x98, 0xb9, 0x4e, 0x3f, 0x25, 0xda, 0x79, 0x39, 0x78, 0xf9, 0x4f, - 0x20, 0x3d, 0xc7, 0x9e, 0x2f, 0x66, 0xc7, 0xd9, 0x09, 0x0e, 0xa1, 0xe2, 0x52, 0xbb, 0x86, 0x54, - 0x92, 0x27, 0xc5, 0xb6, 0xda, 0x07, 0xf0, 0xe9, 0x1a, 0x0a, 0xb2, 0x15, 0x19, 0x17, 0x79, 0xb7, - 0xc8, 0x00, 0xa2, 0x54, 0xb0, 0x1b, 0xc8, 0x7b, 0x34, 0xa4, 0x36, 0x79, 0x52, 0x1c, 0xaa, 0xf5, - 0x99, 0x3d, 0x43, 0x1a, 0xcf, 0xbc, 0xa0, 0x4c, 0x5e, 0xdd, 0x47, 0x0b, 0x01, 0x9d, 0x23, 0xc9, - 0x34, 0xec, 0x1a, 0x12, 0xec, 0x7a, 0xaf, 0xb6, 0xf9, 0xa6, 0x48, 0x5f, 0x8f, 0x7a, 0x59, 0xac, - 0xd7, 0xc5, 0xfa, 0xdd, 0xce, 0xd5, 0x1a, 0xfa, 0x80, 0xef, 0xfd, 0xfa, 0x09, 0xd7, 0x87, 0x18, - 0x79, 0xbb, 0x05, 0x00, 0x00, 0xff, 0xff, 0x0d, 0x7d, 0xa5, 0x18, 0x17, 0x01, 0x00, 0x00, -} 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 deleted file mode 100644 index 9fc282bb..00000000 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options/annotations.pb.go +++ /dev/null @@ -1,103 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: protoc-gen-swagger/options/annotations.proto - -package options // import "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor" - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package - -var E_Openapiv2Swagger = &proto.ExtensionDesc{ - ExtendedType: (*descriptor.FileOptions)(nil), - ExtensionType: (*Swagger)(nil), - Field: 1042, - Name: "grpc.gateway.protoc_gen_swagger.options.openapiv2_swagger", - Tag: "bytes,1042,opt,name=openapiv2_swagger,json=openapiv2Swagger", - Filename: "protoc-gen-swagger/options/annotations.proto", -} - -var E_Openapiv2Operation = &proto.ExtensionDesc{ - ExtendedType: (*descriptor.MethodOptions)(nil), - ExtensionType: (*Operation)(nil), - Field: 1042, - Name: "grpc.gateway.protoc_gen_swagger.options.openapiv2_operation", - Tag: "bytes,1042,opt,name=openapiv2_operation,json=openapiv2Operation", - Filename: "protoc-gen-swagger/options/annotations.proto", -} - -var E_Openapiv2Schema = &proto.ExtensionDesc{ - ExtendedType: (*descriptor.MessageOptions)(nil), - ExtensionType: (*Schema)(nil), - Field: 1042, - Name: "grpc.gateway.protoc_gen_swagger.options.openapiv2_schema", - Tag: "bytes,1042,opt,name=openapiv2_schema,json=openapiv2Schema", - Filename: "protoc-gen-swagger/options/annotations.proto", -} - -var E_Openapiv2Tag = &proto.ExtensionDesc{ - ExtendedType: (*descriptor.ServiceOptions)(nil), - ExtensionType: (*Tag)(nil), - Field: 1042, - Name: "grpc.gateway.protoc_gen_swagger.options.openapiv2_tag", - Tag: "bytes,1042,opt,name=openapiv2_tag,json=openapiv2Tag", - 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_8378bd63c2853a5a) -} - -var fileDescriptor_annotations_8378bd63c2853a5a = []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, 0x68, 0xb4, 0x64, 0x28, 0x1c, 0xac, 0xc5, 0x26, 0xdb, 0xc9, - 0x31, 0x42, 0x3a, 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0f, 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/openapiv2.pb.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options/openapiv2.pb.go deleted file mode 100644 index 6720071b..00000000 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options/openapiv2.pb.go +++ /dev/null @@ -1,1598 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: protoc-gen-swagger/options/openapiv2.proto - -package options // import "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options" - -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 - -type Swagger_SwaggerScheme int32 - -const ( - Swagger_UNKNOWN Swagger_SwaggerScheme = 0 - Swagger_HTTP Swagger_SwaggerScheme = 1 - Swagger_HTTPS Swagger_SwaggerScheme = 2 - Swagger_WS Swagger_SwaggerScheme = 3 - Swagger_WSS Swagger_SwaggerScheme = 4 -) - -var Swagger_SwaggerScheme_name = map[int32]string{ - 0: "UNKNOWN", - 1: "HTTP", - 2: "HTTPS", - 3: "WS", - 4: "WSS", -} -var Swagger_SwaggerScheme_value = map[string]int32{ - "UNKNOWN": 0, - "HTTP": 1, - "HTTPS": 2, - "WS": 3, - "WSS": 4, -} - -func (x Swagger_SwaggerScheme) String() string { - return proto.EnumName(Swagger_SwaggerScheme_name, int32(x)) -} -func (Swagger_SwaggerScheme) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_openapiv2_7182f700aabb5117, []int{0, 0} -} - -type JSONSchema_JSONSchemaSimpleTypes int32 - -const ( - JSONSchema_UNKNOWN JSONSchema_JSONSchemaSimpleTypes = 0 - JSONSchema_ARRAY JSONSchema_JSONSchemaSimpleTypes = 1 - JSONSchema_BOOLEAN JSONSchema_JSONSchemaSimpleTypes = 2 - JSONSchema_INTEGER JSONSchema_JSONSchemaSimpleTypes = 3 - JSONSchema_NULL JSONSchema_JSONSchemaSimpleTypes = 4 - JSONSchema_NUMBER JSONSchema_JSONSchemaSimpleTypes = 5 - JSONSchema_OBJECT JSONSchema_JSONSchemaSimpleTypes = 6 - JSONSchema_STRING JSONSchema_JSONSchemaSimpleTypes = 7 -) - -var JSONSchema_JSONSchemaSimpleTypes_name = map[int32]string{ - 0: "UNKNOWN", - 1: "ARRAY", - 2: "BOOLEAN", - 3: "INTEGER", - 4: "NULL", - 5: "NUMBER", - 6: "OBJECT", - 7: "STRING", -} -var JSONSchema_JSONSchemaSimpleTypes_value = map[string]int32{ - "UNKNOWN": 0, - "ARRAY": 1, - "BOOLEAN": 2, - "INTEGER": 3, - "NULL": 4, - "NUMBER": 5, - "OBJECT": 6, - "STRING": 7, -} - -func (x JSONSchema_JSONSchemaSimpleTypes) String() string { - return proto.EnumName(JSONSchema_JSONSchemaSimpleTypes_name, int32(x)) -} -func (JSONSchema_JSONSchemaSimpleTypes) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_openapiv2_7182f700aabb5117, []int{8, 0} -} - -// Required. The type of the security scheme. Valid values are "basic", -// "apiKey" or "oauth2". -type SecurityScheme_Type int32 - -const ( - SecurityScheme_TYPE_INVALID SecurityScheme_Type = 0 - SecurityScheme_TYPE_BASIC SecurityScheme_Type = 1 - SecurityScheme_TYPE_API_KEY SecurityScheme_Type = 2 - SecurityScheme_TYPE_OAUTH2 SecurityScheme_Type = 3 -) - -var SecurityScheme_Type_name = map[int32]string{ - 0: "TYPE_INVALID", - 1: "TYPE_BASIC", - 2: "TYPE_API_KEY", - 3: "TYPE_OAUTH2", -} -var SecurityScheme_Type_value = map[string]int32{ - "TYPE_INVALID": 0, - "TYPE_BASIC": 1, - "TYPE_API_KEY": 2, - "TYPE_OAUTH2": 3, -} - -func (x SecurityScheme_Type) String() string { - return proto.EnumName(SecurityScheme_Type_name, int32(x)) -} -func (SecurityScheme_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_openapiv2_7182f700aabb5117, []int{11, 0} -} - -// Required. The location of the API key. Valid values are "query" or "header". -type SecurityScheme_In int32 - -const ( - SecurityScheme_IN_INVALID SecurityScheme_In = 0 - SecurityScheme_IN_QUERY SecurityScheme_In = 1 - SecurityScheme_IN_HEADER SecurityScheme_In = 2 -) - -var SecurityScheme_In_name = map[int32]string{ - 0: "IN_INVALID", - 1: "IN_QUERY", - 2: "IN_HEADER", -} -var SecurityScheme_In_value = map[string]int32{ - "IN_INVALID": 0, - "IN_QUERY": 1, - "IN_HEADER": 2, -} - -func (x SecurityScheme_In) String() string { - return proto.EnumName(SecurityScheme_In_name, int32(x)) -} -func (SecurityScheme_In) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_openapiv2_7182f700aabb5117, []int{11, 1} -} - -// Required. The flow used by the OAuth2 security scheme. Valid values are -// "implicit", "password", "application" or "accessCode". -type SecurityScheme_Flow int32 - -const ( - SecurityScheme_FLOW_INVALID SecurityScheme_Flow = 0 - SecurityScheme_FLOW_IMPLICIT SecurityScheme_Flow = 1 - SecurityScheme_FLOW_PASSWORD SecurityScheme_Flow = 2 - SecurityScheme_FLOW_APPLICATION SecurityScheme_Flow = 3 - SecurityScheme_FLOW_ACCESS_CODE SecurityScheme_Flow = 4 -) - -var SecurityScheme_Flow_name = map[int32]string{ - 0: "FLOW_INVALID", - 1: "FLOW_IMPLICIT", - 2: "FLOW_PASSWORD", - 3: "FLOW_APPLICATION", - 4: "FLOW_ACCESS_CODE", -} -var SecurityScheme_Flow_value = map[string]int32{ - "FLOW_INVALID": 0, - "FLOW_IMPLICIT": 1, - "FLOW_PASSWORD": 2, - "FLOW_APPLICATION": 3, - "FLOW_ACCESS_CODE": 4, -} - -func (x SecurityScheme_Flow) String() string { - return proto.EnumName(SecurityScheme_Flow_name, int32(x)) -} -func (SecurityScheme_Flow) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_openapiv2_7182f700aabb5117, []int{11, 2} -} - -// `Swagger` is a representation of OpenAPI v2 specification's Swagger object. -// -// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#swaggerObject -// -// TODO(ivucica): document fields -type Swagger struct { - 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"` - // `base_path` is the common prefix path used on all API endpoints (ie. /api, /v1, etc.). By adding this, - // it allows you to remove this portion from the path endpoints in your Swagger file making them easier - // to read. Note that using `base_path` does not change the endpoint paths that are generated in the resulting - // Swagger file. If you wish to use `base_path` with relatively generated Swagger paths, the - // `base_path` prefix must be manually removed from your `google.api.http` paths and your code changed to - // serve the API from the `base_path`. - 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"` - Extensions map[string]*_struct.Value `protobuf:"bytes,15,rep,name=extensions,proto3" json:"extensions,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 *Swagger) Reset() { *m = Swagger{} } -func (m *Swagger) String() string { return proto.CompactTextString(m) } -func (*Swagger) ProtoMessage() {} -func (*Swagger) Descriptor() ([]byte, []int) { - return fileDescriptor_openapiv2_7182f700aabb5117, []int{0} -} -func (m *Swagger) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Swagger.Unmarshal(m, b) -} -func (m *Swagger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Swagger.Marshal(b, m, deterministic) -} -func (dst *Swagger) XXX_Merge(src proto.Message) { - xxx_messageInfo_Swagger.Merge(dst, src) -} -func (m *Swagger) XXX_Size() int { - return xxx_messageInfo_Swagger.Size(m) -} -func (m *Swagger) XXX_DiscardUnknown() { - xxx_messageInfo_Swagger.DiscardUnknown(m) -} - -var xxx_messageInfo_Swagger proto.InternalMessageInfo - -func (m *Swagger) GetSwagger() string { - if m != nil { - return m.Swagger - } - return "" -} - -func (m *Swagger) GetInfo() *Info { - if m != nil { - return m.Info - } - return nil -} - -func (m *Swagger) GetHost() string { - if m != nil { - return m.Host - } - return "" -} - -func (m *Swagger) GetBasePath() string { - if m != nil { - return m.BasePath - } - return "" -} - -func (m *Swagger) GetSchemes() []Swagger_SwaggerScheme { - if m != nil { - return m.Schemes - } - return nil -} - -func (m *Swagger) GetConsumes() []string { - if m != nil { - return m.Consumes - } - return nil -} - -func (m *Swagger) GetProduces() []string { - if m != nil { - return m.Produces - } - 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 - } - return nil -} - -func (m *Swagger) GetSecurity() []*SecurityRequirement { - if m != nil { - return m.Security - } - return nil -} - -func (m *Swagger) GetExternalDocs() *ExternalDocumentation { - if m != nil { - return m.ExternalDocs - } - return nil -} - -func (m *Swagger) GetExtensions() map[string]*_struct.Value { - if m != nil { - return m.Extensions - } - return nil -} - -// `Operation` is a representation of OpenAPI v2 specification's Operation object. -// -// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#operationObject -// -// TODO(ivucica): document fields -type Operation struct { - 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"` - Extensions map[string]*_struct.Value `protobuf:"bytes,13,rep,name=extensions,proto3" json:"extensions,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 *Operation) Reset() { *m = Operation{} } -func (m *Operation) String() string { return proto.CompactTextString(m) } -func (*Operation) ProtoMessage() {} -func (*Operation) Descriptor() ([]byte, []int) { - return fileDescriptor_openapiv2_7182f700aabb5117, []int{1} -} -func (m *Operation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Operation.Unmarshal(m, b) -} -func (m *Operation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Operation.Marshal(b, m, deterministic) -} -func (dst *Operation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Operation.Merge(dst, src) -} -func (m *Operation) XXX_Size() int { - return xxx_messageInfo_Operation.Size(m) -} -func (m *Operation) XXX_DiscardUnknown() { - xxx_messageInfo_Operation.DiscardUnknown(m) -} - -var xxx_messageInfo_Operation proto.InternalMessageInfo - -func (m *Operation) GetTags() []string { - if m != nil { - return m.Tags - } - return nil -} - -func (m *Operation) GetSummary() string { - if m != nil { - return m.Summary - } - return "" -} - -func (m *Operation) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *Operation) GetExternalDocs() *ExternalDocumentation { - if m != nil { - return m.ExternalDocs - } - return nil -} - -func (m *Operation) GetOperationId() string { - if m != nil { - return m.OperationId - } - return "" -} - -func (m *Operation) GetConsumes() []string { - if m != nil { - return m.Consumes - } - return nil -} - -func (m *Operation) GetProduces() []string { - if m != nil { - return m.Produces - } - 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 - } - return nil -} - -func (m *Operation) GetDeprecated() bool { - if m != nil { - return m.Deprecated - } - return false -} - -func (m *Operation) GetSecurity() []*SecurityRequirement { - if m != nil { - return m.Security - } - return nil -} - -func (m *Operation) GetExtensions() map[string]*_struct.Value { - if m != nil { - return m.Extensions - } - 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"` - Extensions map[string]*_struct.Value `protobuf:"bytes,5,rep,name=extensions,proto3" json:"extensions,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 *Response) Reset() { *m = Response{} } -func (m *Response) String() string { return proto.CompactTextString(m) } -func (*Response) ProtoMessage() {} -func (*Response) Descriptor() ([]byte, []int) { - return fileDescriptor_openapiv2_7182f700aabb5117, []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 -} - -func (m *Response) GetExtensions() map[string]*_struct.Value { - if m != nil { - return m.Extensions - } - 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,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"` - Extensions map[string]*_struct.Value `protobuf:"bytes,7,rep,name=extensions,proto3" json:"extensions,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 *Info) Reset() { *m = Info{} } -func (m *Info) String() string { return proto.CompactTextString(m) } -func (*Info) ProtoMessage() {} -func (*Info) Descriptor() ([]byte, []int) { - return fileDescriptor_openapiv2_7182f700aabb5117, []int{3} -} -func (m *Info) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Info.Unmarshal(m, b) -} -func (m *Info) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Info.Marshal(b, m, deterministic) -} -func (dst *Info) XXX_Merge(src proto.Message) { - xxx_messageInfo_Info.Merge(dst, src) -} -func (m *Info) XXX_Size() int { - return xxx_messageInfo_Info.Size(m) -} -func (m *Info) XXX_DiscardUnknown() { - xxx_messageInfo_Info.DiscardUnknown(m) -} - -var xxx_messageInfo_Info proto.InternalMessageInfo - -func (m *Info) GetTitle() string { - if m != nil { - return m.Title - } - return "" -} - -func (m *Info) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *Info) GetTermsOfService() string { - if m != nil { - return m.TermsOfService - } - return "" -} - -func (m *Info) GetContact() *Contact { - if m != nil { - return m.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 - } - return "" -} - -func (m *Info) GetExtensions() map[string]*_struct.Value { - if m != nil { - return m.Extensions - } - return nil -} - -// `Contact` is a representation of OpenAPI v2 specification's Contact object. -// -// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#contactObject -// -// TODO(ivucica): document fields -type Contact struct { - 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:"-"` -} - -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_7182f700aabb5117, []int{4} -} -func (m *Contact) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Contact.Unmarshal(m, b) -} -func (m *Contact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Contact.Marshal(b, m, deterministic) -} -func (dst *Contact) XXX_Merge(src proto.Message) { - xxx_messageInfo_Contact.Merge(dst, src) -} -func (m *Contact) XXX_Size() int { - return xxx_messageInfo_Contact.Size(m) -} -func (m *Contact) XXX_DiscardUnknown() { - xxx_messageInfo_Contact.DiscardUnknown(m) -} - -var xxx_messageInfo_Contact proto.InternalMessageInfo - -func (m *Contact) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Contact) GetUrl() string { - if m != nil { - return m.Url - } - return "" -} - -func (m *Contact) GetEmail() string { - if m != nil { - return m.Email - } - 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_7182f700aabb5117, []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. -// -// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#externalDocumentationObject -// -// TODO(ivucica): document fields -type ExternalDocumentation struct { - 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:"-"` -} - -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_7182f700aabb5117, []int{6} -} -func (m *ExternalDocumentation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExternalDocumentation.Unmarshal(m, b) -} -func (m *ExternalDocumentation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExternalDocumentation.Marshal(b, m, deterministic) -} -func (dst *ExternalDocumentation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExternalDocumentation.Merge(dst, src) -} -func (m *ExternalDocumentation) XXX_Size() int { - return xxx_messageInfo_ExternalDocumentation.Size(m) -} -func (m *ExternalDocumentation) XXX_DiscardUnknown() { - xxx_messageInfo_ExternalDocumentation.DiscardUnknown(m) -} - -var xxx_messageInfo_ExternalDocumentation proto.InternalMessageInfo - -func (m *ExternalDocumentation) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *ExternalDocumentation) GetUrl() string { - if m != nil { - return m.Url - } - return "" -} - -// `Schema` is a representation of OpenAPI v2 specification's Schema object. -// -// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#schemaObject -// -// TODO(ivucica): document fields -type Schema struct { - 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:"-"` -} - -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_7182f700aabb5117, []int{7} -} -func (m *Schema) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Schema.Unmarshal(m, b) -} -func (m *Schema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Schema.Marshal(b, m, deterministic) -} -func (dst *Schema) XXX_Merge(src proto.Message) { - xxx_messageInfo_Schema.Merge(dst, src) -} -func (m *Schema) XXX_Size() int { - return xxx_messageInfo_Schema.Size(m) -} -func (m *Schema) XXX_DiscardUnknown() { - xxx_messageInfo_Schema.DiscardUnknown(m) -} - -var xxx_messageInfo_Schema proto.InternalMessageInfo - -func (m *Schema) GetJsonSchema() *JSONSchema { - if m != nil { - return m.JsonSchema - } - return nil -} - -func (m *Schema) GetDiscriminator() string { - if m != nil { - return m.Discriminator - } - return "" -} - -func (m *Schema) GetReadOnly() bool { - if m != nil { - return m.ReadOnly - } - return false -} - -func (m *Schema) GetExternalDocs() *ExternalDocumentation { - if m != nil { - return m.ExternalDocs - } - return nil -} - -func (m *Schema) GetExample() *any.Any { - if m != nil { - return m.Example - } - return nil -} - -// `JSONSchema` represents properties from JSON Schema taken, and as used, in -// the OpenAPI v2 spec. -// -// This includes changes made by OpenAPI v2. -// -// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#schemaObject -// -// See also: https://cswr.github.io/JsonSchema/spec/basic_types/, -// https://github.com/json-schema-org/json-schema-spec/blob/master/schema.json -// -// TODO(ivucica): document fields -type JSONSchema struct { - // 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"` - ReadOnly bool `protobuf:"varint,8,opt,name=read_only,json=readOnly,proto3" json:"read_only,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,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:"-"` -} - -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_7182f700aabb5117, []int{8} -} -func (m *JSONSchema) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JSONSchema.Unmarshal(m, b) -} -func (m *JSONSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JSONSchema.Marshal(b, m, deterministic) -} -func (dst *JSONSchema) XXX_Merge(src proto.Message) { - xxx_messageInfo_JSONSchema.Merge(dst, src) -} -func (m *JSONSchema) XXX_Size() int { - return xxx_messageInfo_JSONSchema.Size(m) -} -func (m *JSONSchema) XXX_DiscardUnknown() { - xxx_messageInfo_JSONSchema.DiscardUnknown(m) -} - -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 - } - return "" -} - -func (m *JSONSchema) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *JSONSchema) GetDefault() string { - if m != nil { - return m.Default - } - return "" -} - -func (m *JSONSchema) GetReadOnly() bool { - if m != nil { - return m.ReadOnly - } - return false -} - -func (m *JSONSchema) GetMultipleOf() float64 { - if m != nil { - return m.MultipleOf - } - return 0 -} - -func (m *JSONSchema) GetMaximum() float64 { - if m != nil { - return m.Maximum - } - return 0 -} - -func (m *JSONSchema) GetExclusiveMaximum() bool { - if m != nil { - return m.ExclusiveMaximum - } - return false -} - -func (m *JSONSchema) GetMinimum() float64 { - if m != nil { - return m.Minimum - } - return 0 -} - -func (m *JSONSchema) GetExclusiveMinimum() bool { - if m != nil { - return m.ExclusiveMinimum - } - return false -} - -func (m *JSONSchema) GetMaxLength() uint64 { - if m != nil { - return m.MaxLength - } - return 0 -} - -func (m *JSONSchema) GetMinLength() uint64 { - if m != nil { - return m.MinLength - } - return 0 -} - -func (m *JSONSchema) GetPattern() string { - if m != nil { - return m.Pattern - } - return "" -} - -func (m *JSONSchema) GetMaxItems() uint64 { - if m != nil { - return m.MaxItems - } - return 0 -} - -func (m *JSONSchema) GetMinItems() uint64 { - if m != nil { - return m.MinItems - } - return 0 -} - -func (m *JSONSchema) GetUniqueItems() bool { - if m != nil { - return m.UniqueItems - } - return false -} - -func (m *JSONSchema) GetMaxProperties() uint64 { - if m != nil { - return m.MaxProperties - } - return 0 -} - -func (m *JSONSchema) GetMinProperties() uint64 { - if m != nil { - return m.MinProperties - } - return 0 -} - -func (m *JSONSchema) GetRequired() []string { - if m != nil { - return m.Required - } - return nil -} - -func (m *JSONSchema) GetArray() []string { - if m != nil { - return m.Array - } - return nil -} - -func (m *JSONSchema) GetType() []JSONSchema_JSONSchemaSimpleTypes { - if m != nil { - return m.Type - } - return nil -} - -// `Tag` is a representation of OpenAPI v2 specification's Tag object. -// -// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#tagObject -// -// TODO(ivucica): document fields -type Tag struct { - // TODO(ivucica): Description should be extracted from comments on the proto - // service object. - 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:"-"` -} - -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_7182f700aabb5117, []int{9} -} -func (m *Tag) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Tag.Unmarshal(m, b) -} -func (m *Tag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Tag.Marshal(b, m, deterministic) -} -func (dst *Tag) XXX_Merge(src proto.Message) { - xxx_messageInfo_Tag.Merge(dst, src) -} -func (m *Tag) XXX_Size() int { - return xxx_messageInfo_Tag.Size(m) -} -func (m *Tag) XXX_DiscardUnknown() { - xxx_messageInfo_Tag.DiscardUnknown(m) -} - -var xxx_messageInfo_Tag proto.InternalMessageInfo - -func (m *Tag) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *Tag) GetExternalDocs() *ExternalDocumentation { - if m != nil { - return m.ExternalDocs - } - return nil -} - -// `SecurityDefinitions` is a representation of OpenAPI v2 specification's -// Security Definitions object. -// -// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#securityDefinitionsObject -// -// A declaration of the security schemes available to be used in the -// specification. This does not enforce the security schemes on the operations -// 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,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:"-"` -} - -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_7182f700aabb5117, []int{10} -} -func (m *SecurityDefinitions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SecurityDefinitions.Unmarshal(m, b) -} -func (m *SecurityDefinitions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SecurityDefinitions.Marshal(b, m, deterministic) -} -func (dst *SecurityDefinitions) XXX_Merge(src proto.Message) { - xxx_messageInfo_SecurityDefinitions.Merge(dst, src) -} -func (m *SecurityDefinitions) XXX_Size() int { - return xxx_messageInfo_SecurityDefinitions.Size(m) -} -func (m *SecurityDefinitions) XXX_DiscardUnknown() { - xxx_messageInfo_SecurityDefinitions.DiscardUnknown(m) -} - -var xxx_messageInfo_SecurityDefinitions proto.InternalMessageInfo - -func (m *SecurityDefinitions) GetSecurity() map[string]*SecurityScheme { - if m != nil { - return m.Security - } - return nil -} - -// `SecurityScheme` is a representation of OpenAPI v2 specification's -// Security Scheme object. -// -// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#securitySchemeObject -// -// Allows the definition of a security scheme that can be used by the -// operations. Supported schemes are basic authentication, an API key (either as -// a header or as a query parameter) and OAuth2's common flows (implicit, -// password, application and access code). -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,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,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,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,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,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,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,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,proto3" json:"scopes,omitempty"` - Extensions map[string]*_struct.Value `protobuf:"bytes,9,rep,name=extensions,proto3" json:"extensions,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 *SecurityScheme) Reset() { *m = SecurityScheme{} } -func (m *SecurityScheme) String() string { return proto.CompactTextString(m) } -func (*SecurityScheme) ProtoMessage() {} -func (*SecurityScheme) Descriptor() ([]byte, []int) { - return fileDescriptor_openapiv2_7182f700aabb5117, []int{11} -} -func (m *SecurityScheme) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SecurityScheme.Unmarshal(m, b) -} -func (m *SecurityScheme) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SecurityScheme.Marshal(b, m, deterministic) -} -func (dst *SecurityScheme) XXX_Merge(src proto.Message) { - xxx_messageInfo_SecurityScheme.Merge(dst, src) -} -func (m *SecurityScheme) XXX_Size() int { - return xxx_messageInfo_SecurityScheme.Size(m) -} -func (m *SecurityScheme) XXX_DiscardUnknown() { - xxx_messageInfo_SecurityScheme.DiscardUnknown(m) -} - -var xxx_messageInfo_SecurityScheme proto.InternalMessageInfo - -func (m *SecurityScheme) GetType() SecurityScheme_Type { - if m != nil { - return m.Type - } - return SecurityScheme_TYPE_INVALID -} - -func (m *SecurityScheme) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *SecurityScheme) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *SecurityScheme) GetIn() SecurityScheme_In { - if m != nil { - return m.In - } - return SecurityScheme_IN_INVALID -} - -func (m *SecurityScheme) GetFlow() SecurityScheme_Flow { - if m != nil { - return m.Flow - } - return SecurityScheme_FLOW_INVALID -} - -func (m *SecurityScheme) GetAuthorizationUrl() string { - if m != nil { - return m.AuthorizationUrl - } - return "" -} - -func (m *SecurityScheme) GetTokenUrl() string { - if m != nil { - return m.TokenUrl - } - return "" -} - -func (m *SecurityScheme) GetScopes() *Scopes { - if m != nil { - return m.Scopes - } - return nil -} - -func (m *SecurityScheme) GetExtensions() map[string]*_struct.Value { - if m != nil { - return m.Extensions - } - return nil -} - -// `SecurityRequirement` is a representation of OpenAPI v2 specification's -// Security Requirement object. -// -// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#securityRequirementObject -// -// Lists the required security schemes to execute this operation. The object can -// have multiple security schemes declared in it which are all required (that -// is, there is a logical AND between the schemes). -// -// The name used for each property MUST correspond to a security scheme -// declared in the Security Definitions. -type SecurityRequirement struct { - // Each name must correspond to a security scheme which is declared in - // 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,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:"-"` -} - -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_7182f700aabb5117, []int{12} -} -func (m *SecurityRequirement) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SecurityRequirement.Unmarshal(m, b) -} -func (m *SecurityRequirement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SecurityRequirement.Marshal(b, m, deterministic) -} -func (dst *SecurityRequirement) XXX_Merge(src proto.Message) { - xxx_messageInfo_SecurityRequirement.Merge(dst, src) -} -func (m *SecurityRequirement) XXX_Size() int { - return xxx_messageInfo_SecurityRequirement.Size(m) -} -func (m *SecurityRequirement) XXX_DiscardUnknown() { - xxx_messageInfo_SecurityRequirement.DiscardUnknown(m) -} - -var xxx_messageInfo_SecurityRequirement proto.InternalMessageInfo - -func (m *SecurityRequirement) GetSecurityRequirement() map[string]*SecurityRequirement_SecurityRequirementValue { - if m != nil { - return m.SecurityRequirement - } - return nil -} - -// 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. -type SecurityRequirement_SecurityRequirementValue struct { - Scope []string `protobuf:"bytes,1,rep,name=scope,proto3" json:"scope,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SecurityRequirement_SecurityRequirementValue) Reset() { - *m = SecurityRequirement_SecurityRequirementValue{} -} -func (m *SecurityRequirement_SecurityRequirementValue) String() string { - return proto.CompactTextString(m) -} -func (*SecurityRequirement_SecurityRequirementValue) ProtoMessage() {} -func (*SecurityRequirement_SecurityRequirementValue) Descriptor() ([]byte, []int) { - return fileDescriptor_openapiv2_7182f700aabb5117, []int{12, 0} -} -func (m *SecurityRequirement_SecurityRequirementValue) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SecurityRequirement_SecurityRequirementValue.Unmarshal(m, b) -} -func (m *SecurityRequirement_SecurityRequirementValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SecurityRequirement_SecurityRequirementValue.Marshal(b, m, deterministic) -} -func (dst *SecurityRequirement_SecurityRequirementValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_SecurityRequirement_SecurityRequirementValue.Merge(dst, src) -} -func (m *SecurityRequirement_SecurityRequirementValue) XXX_Size() int { - return xxx_messageInfo_SecurityRequirement_SecurityRequirementValue.Size(m) -} -func (m *SecurityRequirement_SecurityRequirementValue) XXX_DiscardUnknown() { - xxx_messageInfo_SecurityRequirement_SecurityRequirementValue.DiscardUnknown(m) -} - -var xxx_messageInfo_SecurityRequirement_SecurityRequirementValue proto.InternalMessageInfo - -func (m *SecurityRequirement_SecurityRequirementValue) GetScope() []string { - if m != nil { - return m.Scope - } - return nil -} - -// `Scopes` is a representation of OpenAPI v2 specification's Scopes object. -// -// See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#scopesObject -// -// Lists the available scopes for an OAuth2 security scheme. -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,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:"-"` -} - -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_7182f700aabb5117, []int{13} -} -func (m *Scopes) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Scopes.Unmarshal(m, b) -} -func (m *Scopes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Scopes.Marshal(b, m, deterministic) -} -func (dst *Scopes) XXX_Merge(src proto.Message) { - xxx_messageInfo_Scopes.Merge(dst, src) -} -func (m *Scopes) XXX_Size() int { - return xxx_messageInfo_Scopes.Size(m) -} -func (m *Scopes) XXX_DiscardUnknown() { - xxx_messageInfo_Scopes.DiscardUnknown(m) -} - -var xxx_messageInfo_Scopes proto.InternalMessageInfo - -func (m *Scopes) GetScope() map[string]string { - if m != nil { - return m.Scope - } - return nil -} - -func init() { - proto.RegisterType((*Swagger)(nil), "grpc.gateway.protoc_gen_swagger.options.Swagger") - proto.RegisterMapType((map[string]*_struct.Value)(nil), "grpc.gateway.protoc_gen_swagger.options.Swagger.ExtensionsEntry") - 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]*_struct.Value)(nil), "grpc.gateway.protoc_gen_swagger.options.Operation.ExtensionsEntry") - 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.RegisterMapType((map[string]*_struct.Value)(nil), "grpc.gateway.protoc_gen_swagger.options.Response.ExtensionsEntry") - proto.RegisterType((*Info)(nil), "grpc.gateway.protoc_gen_swagger.options.Info") - proto.RegisterMapType((map[string]*_struct.Value)(nil), "grpc.gateway.protoc_gen_swagger.options.Info.ExtensionsEntry") - 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") - proto.RegisterType((*Tag)(nil), "grpc.gateway.protoc_gen_swagger.options.Tag") - proto.RegisterType((*SecurityDefinitions)(nil), "grpc.gateway.protoc_gen_swagger.options.SecurityDefinitions") - proto.RegisterMapType((map[string]*SecurityScheme)(nil), "grpc.gateway.protoc_gen_swagger.options.SecurityDefinitions.SecurityEntry") - proto.RegisterType((*SecurityScheme)(nil), "grpc.gateway.protoc_gen_swagger.options.SecurityScheme") - proto.RegisterMapType((map[string]*_struct.Value)(nil), "grpc.gateway.protoc_gen_swagger.options.SecurityScheme.ExtensionsEntry") - proto.RegisterType((*SecurityRequirement)(nil), "grpc.gateway.protoc_gen_swagger.options.SecurityRequirement") - proto.RegisterMapType((map[string]*SecurityRequirement_SecurityRequirementValue)(nil), "grpc.gateway.protoc_gen_swagger.options.SecurityRequirement.SecurityRequirementEntry") - proto.RegisterType((*SecurityRequirement_SecurityRequirementValue)(nil), "grpc.gateway.protoc_gen_swagger.options.SecurityRequirement.SecurityRequirementValue") - proto.RegisterType((*Scopes)(nil), "grpc.gateway.protoc_gen_swagger.options.Scopes") - proto.RegisterMapType((map[string]string)(nil), "grpc.gateway.protoc_gen_swagger.options.Scopes.ScopeEntry") - proto.RegisterEnum("grpc.gateway.protoc_gen_swagger.options.Swagger_SwaggerScheme", Swagger_SwaggerScheme_name, Swagger_SwaggerScheme_value) - proto.RegisterEnum("grpc.gateway.protoc_gen_swagger.options.JSONSchema_JSONSchemaSimpleTypes", JSONSchema_JSONSchemaSimpleTypes_name, JSONSchema_JSONSchemaSimpleTypes_value) - proto.RegisterEnum("grpc.gateway.protoc_gen_swagger.options.SecurityScheme_Type", SecurityScheme_Type_name, SecurityScheme_Type_value) - proto.RegisterEnum("grpc.gateway.protoc_gen_swagger.options.SecurityScheme_In", SecurityScheme_In_name, SecurityScheme_In_value) - proto.RegisterEnum("grpc.gateway.protoc_gen_swagger.options.SecurityScheme_Flow", SecurityScheme_Flow_name, SecurityScheme_Flow_value) -} - -func init() { - proto.RegisterFile("protoc-gen-swagger/options/openapiv2.proto", fileDescriptor_openapiv2_7182f700aabb5117) -} - -var fileDescriptor_openapiv2_7182f700aabb5117 = []byte{ - // 1884 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x58, 0x5b, 0x73, 0xdb, 0xc6, - 0xf5, 0x0f, 0x48, 0x90, 0x04, 0x0f, 0x45, 0x7a, 0xbd, 0x96, 0xf3, 0x47, 0x18, 0xdb, 0x7f, 0x85, - 0x4d, 0xa7, 0x1a, 0xbb, 0xa6, 0x12, 0xe5, 0xa1, 0x99, 0x4c, 0x6f, 0x94, 0xc4, 0xc8, 0x80, 0x65, - 0x92, 0x05, 0xa9, 0x28, 0xee, 0x8c, 0x07, 0x85, 0xc0, 0x25, 0x85, 0x18, 0x17, 0x06, 0x17, 0x49, - 0xec, 0x27, 0xe8, 0x73, 0xa7, 0xaf, 0xf9, 0x1e, 0x9d, 0x69, 0x9f, 0xfa, 0x09, 0xfa, 0x59, 0xda, - 0xe9, 0x7b, 0x67, 0x2f, 0x20, 0x41, 0x91, 0xf1, 0x90, 0x72, 0x3c, 0x79, 0xe8, 0x13, 0xf7, 0xdc, - 0x7e, 0xbb, 0x7b, 0xce, 0x9e, 0x0b, 0x08, 0x8f, 0x27, 0x61, 0x10, 0x07, 0xf6, 0xd3, 0x31, 0xf1, - 0x9f, 0x46, 0x57, 0xd6, 0x78, 0x4c, 0xc2, 0xbd, 0x60, 0x12, 0x3b, 0x81, 0x1f, 0xed, 0x05, 0x13, - 0xe2, 0x5b, 0x13, 0xe7, 0x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0x1f, - 0x8f, 0x15, 0x86, 0xd6, 0x54, 0x6d, 0x30, 0x01, 0x27, 0xf0, 0x2b, 0x90, 0xe3, 0xe9, 0x84, 0xa8, - 0x3f, 0x61, 0xdf, 0x9a, 0xda, 0x2d, 0x12, 0x34, 0xb3, 0xec, 0x3b, 0xf4, 0x35, 0x0f, 0xa6, 0x13, - 0x12, 0x19, 0x0c, 0xb6, 0x71, 0x05, 0xf7, 0x57, 0x8a, 0x17, 0x47, 0xf1, 0x32, 0x14, 0x5a, 0x86, - 0xd1, 0x7a, 0x89, 0x24, 0xca, 0x3f, 0xe8, 0x76, 0x4f, 0xda, 0xad, 0x0e, 0xca, 0x51, 0x42, 0xeb, - 0x0c, 0xda, 0xc7, 0x6d, 0x03, 0xe5, 0xe9, 0xbc, 0xde, 0x39, 0x3d, 0x39, 0x41, 0x32, 0x06, 0x28, - 0x76, 0x4e, 0x5f, 0x1c, 0xb4, 0x0d, 0x54, 0xa0, 0xeb, 0xee, 0x81, 0xde, 0x3e, 0x1c, 0xa0, 0x22, - 0x5d, 0xf7, 0x07, 0x86, 0xd6, 0x39, 0x46, 0x25, 0x5d, 0x56, 0x24, 0x94, 0xd3, 0x65, 0x25, 0x87, - 0xf2, 0x3c, 0xbb, 0x66, 0x33, 0x3c, 0x46, 0xf7, 0x74, 0x59, 0xb9, 0x87, 0xb6, 0x75, 0x59, 0xf9, - 0x3f, 0xa4, 0xea, 0xb2, 0xf2, 0x21, 0x7a, 0xa0, 0xcb, 0xca, 0x03, 0xf4, 0x50, 0x97, 0x95, 0x87, - 0xe8, 0x91, 0x2e, 0x2b, 0x8f, 0x50, 0x43, 0x97, 0x95, 0x8f, 0xd1, 0x63, 0x5d, 0x56, 0x1e, 0xa3, - 0x27, 0xba, 0xac, 0x3c, 0x41, 0xcd, 0xc6, 0x9f, 0x25, 0xc8, 0x0f, 0xac, 0xf1, 0x1a, 0xfd, 0x75, - 0xa9, 0xc8, 0xe4, 0x7f, 0xf8, 0x22, 0xc3,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8f, 0x4e, 0xfc, 0x5d, 0xc3, 0x89, 0xfa, 0x77, 0xd2, 0x4a, 0x93, 0xef, 0x7b, 0x21, 0xaf, - 0x17, 0x5f, 0xc8, 0x0f, 0x7e, 0xb7, 0xa5, 0x07, 0xf6, 0x17, 0x89, 0x8e, 0xd5, 0x2c, 0x57, 0x7a, - 0xd9, 0x0b, 0x54, 0x36, 0xa9, 0x2f, 0xcc, 0x9e, 0xff, 0x70, 0xe7, 0x89, 0xcb, 0x7f, 0x0e, 0x30, - 0x67, 0xae, 0xb8, 0xed, 0x76, 0xf6, 0xb6, 0xe5, 0xcc, 0xb1, 0x0e, 0x0e, 0x7f, 0xdf, 0x1a, 0x3b, - 0xf1, 0x45, 0x72, 0xde, 0xb4, 0x03, 0x6f, 0x8f, 0x1e, 0xe4, 0x29, 0xb1, 0x83, 0x68, 0x1a, 0xc5, - 0x44, 0x90, 0xe2, 0x5c, 0x7b, 0xdf, 0xff, 0xd7, 0xff, 0x79, 0x91, 0xc9, 0x3e, 0xfb, 0x6f, 0x00, - 0x00, 0x00, 0xff, 0xff, 0x29, 0x5a, 0xd3, 0x93, 0x1f, 0x18, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/ad_asset.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/ad_asset.pb.go deleted file mode 100644 index a276be41..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/ad_asset.pb.go +++ /dev/null @@ -1,242 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/common/ad_asset.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A text asset used inside an ad. -type AdTextAsset struct { - // Asset text. - Text *wrappers.StringValue `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` - // The pinned field of the asset. This restricts the asset to only serve - // within this field. Multiple assets can be pinned to the same field. An - // asset that is unpinned or pinned to a different field will not serve in a - // field where some other asset has been pinned. - PinnedField enums.ServedAssetFieldTypeEnum_ServedAssetFieldType `protobuf:"varint,2,opt,name=pinned_field,json=pinnedField,proto3,enum=google.ads.googleads.v1.enums.ServedAssetFieldTypeEnum_ServedAssetFieldType" json:"pinned_field,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdTextAsset) Reset() { *m = AdTextAsset{} } -func (m *AdTextAsset) String() string { return proto.CompactTextString(m) } -func (*AdTextAsset) ProtoMessage() {} -func (*AdTextAsset) Descriptor() ([]byte, []int) { - return fileDescriptor_a1e7a8010a4d26a5, []int{0} -} - -func (m *AdTextAsset) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdTextAsset.Unmarshal(m, b) -} -func (m *AdTextAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdTextAsset.Marshal(b, m, deterministic) -} -func (m *AdTextAsset) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdTextAsset.Merge(m, src) -} -func (m *AdTextAsset) XXX_Size() int { - return xxx_messageInfo_AdTextAsset.Size(m) -} -func (m *AdTextAsset) XXX_DiscardUnknown() { - xxx_messageInfo_AdTextAsset.DiscardUnknown(m) -} - -var xxx_messageInfo_AdTextAsset proto.InternalMessageInfo - -func (m *AdTextAsset) GetText() *wrappers.StringValue { - if m != nil { - return m.Text - } - return nil -} - -func (m *AdTextAsset) GetPinnedField() enums.ServedAssetFieldTypeEnum_ServedAssetFieldType { - if m != nil { - return m.PinnedField - } - return enums.ServedAssetFieldTypeEnum_UNSPECIFIED -} - -// An image asset used inside an ad. -type AdImageAsset struct { - // The Asset resource name of this image. - Asset *wrappers.StringValue `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdImageAsset) Reset() { *m = AdImageAsset{} } -func (m *AdImageAsset) String() string { return proto.CompactTextString(m) } -func (*AdImageAsset) ProtoMessage() {} -func (*AdImageAsset) Descriptor() ([]byte, []int) { - return fileDescriptor_a1e7a8010a4d26a5, []int{1} -} - -func (m *AdImageAsset) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdImageAsset.Unmarshal(m, b) -} -func (m *AdImageAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdImageAsset.Marshal(b, m, deterministic) -} -func (m *AdImageAsset) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdImageAsset.Merge(m, src) -} -func (m *AdImageAsset) XXX_Size() int { - return xxx_messageInfo_AdImageAsset.Size(m) -} -func (m *AdImageAsset) XXX_DiscardUnknown() { - xxx_messageInfo_AdImageAsset.DiscardUnknown(m) -} - -var xxx_messageInfo_AdImageAsset proto.InternalMessageInfo - -func (m *AdImageAsset) GetAsset() *wrappers.StringValue { - if m != nil { - return m.Asset - } - return nil -} - -// A video asset used inside an ad. -type AdVideoAsset struct { - // The Asset resource name of this video. - Asset *wrappers.StringValue `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdVideoAsset) Reset() { *m = AdVideoAsset{} } -func (m *AdVideoAsset) String() string { return proto.CompactTextString(m) } -func (*AdVideoAsset) ProtoMessage() {} -func (*AdVideoAsset) Descriptor() ([]byte, []int) { - return fileDescriptor_a1e7a8010a4d26a5, []int{2} -} - -func (m *AdVideoAsset) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdVideoAsset.Unmarshal(m, b) -} -func (m *AdVideoAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdVideoAsset.Marshal(b, m, deterministic) -} -func (m *AdVideoAsset) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdVideoAsset.Merge(m, src) -} -func (m *AdVideoAsset) XXX_Size() int { - return xxx_messageInfo_AdVideoAsset.Size(m) -} -func (m *AdVideoAsset) XXX_DiscardUnknown() { - xxx_messageInfo_AdVideoAsset.DiscardUnknown(m) -} - -var xxx_messageInfo_AdVideoAsset proto.InternalMessageInfo - -func (m *AdVideoAsset) GetAsset() *wrappers.StringValue { - if m != nil { - return m.Asset - } - return nil -} - -// A media bundle asset used inside an ad. -type AdMediaBundleAsset struct { - // The Asset resource name of this media bundle. - Asset *wrappers.StringValue `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdMediaBundleAsset) Reset() { *m = AdMediaBundleAsset{} } -func (m *AdMediaBundleAsset) String() string { return proto.CompactTextString(m) } -func (*AdMediaBundleAsset) ProtoMessage() {} -func (*AdMediaBundleAsset) Descriptor() ([]byte, []int) { - return fileDescriptor_a1e7a8010a4d26a5, []int{3} -} - -func (m *AdMediaBundleAsset) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdMediaBundleAsset.Unmarshal(m, b) -} -func (m *AdMediaBundleAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdMediaBundleAsset.Marshal(b, m, deterministic) -} -func (m *AdMediaBundleAsset) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdMediaBundleAsset.Merge(m, src) -} -func (m *AdMediaBundleAsset) XXX_Size() int { - return xxx_messageInfo_AdMediaBundleAsset.Size(m) -} -func (m *AdMediaBundleAsset) XXX_DiscardUnknown() { - xxx_messageInfo_AdMediaBundleAsset.DiscardUnknown(m) -} - -var xxx_messageInfo_AdMediaBundleAsset proto.InternalMessageInfo - -func (m *AdMediaBundleAsset) GetAsset() *wrappers.StringValue { - if m != nil { - return m.Asset - } - return nil -} - -func init() { - proto.RegisterType((*AdTextAsset)(nil), "google.ads.googleads.v1.common.AdTextAsset") - proto.RegisterType((*AdImageAsset)(nil), "google.ads.googleads.v1.common.AdImageAsset") - proto.RegisterType((*AdVideoAsset)(nil), "google.ads.googleads.v1.common.AdVideoAsset") - proto.RegisterType((*AdMediaBundleAsset)(nil), "google.ads.googleads.v1.common.AdMediaBundleAsset") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/common/ad_asset.proto", fileDescriptor_a1e7a8010a4d26a5) -} - -var fileDescriptor_a1e7a8010a4d26a5 = []byte{ - // 401 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0xcd, 0x6a, 0xdc, 0x30, - 0x10, 0xc7, 0xf1, 0xf6, 0xe3, 0xa0, 0x5d, 0x7a, 0xf0, 0x29, 0x84, 0x10, 0x82, 0x4f, 0xb9, 0x54, - 0xaa, 0xb7, 0x37, 0xe5, 0x24, 0xf7, 0x23, 0x2d, 0xb4, 0x10, 0x92, 0xe0, 0x43, 0x31, 0x2c, 0x4a, - 0x34, 0x11, 0x02, 0x5b, 0x12, 0x96, 0xbc, 0x4d, 0x5e, 0xa7, 0xc7, 0x9e, 0xfa, 0x1c, 0x7d, 0x91, - 0x42, 0x9f, 0xa2, 0x58, 0x63, 0xef, 0xa9, 0x5b, 0x4a, 0x4e, 0x1e, 0x6b, 0x7e, 0xf3, 0x9f, 0xff, - 0x0c, 0x43, 0x5e, 0x6a, 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, 0xb3, 0xb4, 0x9a, 0xff, 0xf2, 0x8c, 0x28, - 0x6a, 0xd4, 0x46, 0x81, 0x7b, 0xbc, 0xc6, 0x07, 0x92, 0x0b, 0xf5, 0x19, 0x94, 0x91, 0xd5, 0x60, - 0x55, 0xfb, 0x78, 0x37, 0xd5, 0xaf, 0x8c, 0x14, 0xb7, 0xae, 0xa3, 0xff, 0x3e, 0x93, 0x6a, 0x25, - 0x70, 0x2f, 0x17, 0xa3, 0xd4, 0x45, 0xf6, 0xe5, 0xed, 0xc4, 0x6b, 0xd7, 0x4a, 0xab, 0xa9, 0xeb, - 0x35, 0xd3, 0x60, 0x53, 0xa3, 0xf9, 0x8c, 0xbc, 0x09, 0xfb, 0x8e, 0xf4, 0x0c, 0x3f, 0xdf, 0x16, - 0x4f, 0xce, 0x85, 0xf8, 0xbe, 0x38, 0x3e, 0x47, 0x31, 0xa1, 0x02, 0xc5, 0x70, 0x8c, 0xea, 0x92, - 0xbe, 0x49, 0xd8, 0xcf, 0x19, 0x68, 0x84, 0x0a, 0xcd, 0x0e, 0x68, 0xea, 0xb2, 0x41, 0xe0, 0xf7, - 0xa2, 0xc0, 0x57, 0xce, 0x85, 0x0a, 0x9c, 0xef, 0x10, 0xce, 0xeb, 0x92, 0x73, 0x84, 0x6e, 0x9e, - 0x27, 0x77, 0xaf, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0xf5, 0x84, 0x22, 0x05, 0x41, 0x03, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/ad_type_infos.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/ad_type_infos.pb.go deleted file mode 100644 index c7f5a829..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/ad_type_infos.pb.go +++ /dev/null @@ -1,2287 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/common/ad_type_infos.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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_2709d6977cd7f379, []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 (m *TextAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextAdInfo.Merge(m, 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_2709d6977cd7f379, []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 (m *ExpandedTextAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExpandedTextAdInfo.Merge(m, 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 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"` - // First headline in the ad. - Headline1 *wrappers.StringValue `protobuf:"bytes,11,opt,name=headline1,proto3" json:"headline1,omitempty"` - // Second headline in the ad. - Headline2 *wrappers.StringValue `protobuf:"bytes,12,opt,name=headline2,proto3" json:"headline2,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.v1.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_2709d6977cd7f379, []int{2} -} - -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 (m *CallOnlyAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_CallOnlyAdInfo.Merge(m, 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) GetHeadline1() *wrappers.StringValue { - if m != nil { - return m.Headline1 - } - return nil -} - -func (m *CallOnlyAdInfo) GetHeadline2() *wrappers.StringValue { - if m != nil { - return m.Headline2 - } - 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_2709d6977cd7f379, []int{3} -} - -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 (m *ExpandedDynamicSearchAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExpandedDynamicSearchAdInfo.Merge(m, 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_2709d6977cd7f379, []int{4} -} - -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 (m *HotelAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_HotelAdInfo.Merge(m, 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_2709d6977cd7f379, []int{5} -} - -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 (m *ShoppingSmartAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShoppingSmartAdInfo.Merge(m, 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_2709d6977cd7f379, []int{6} -} - -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 (m *ShoppingProductAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShoppingProductAdInfo.Merge(m, 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 Shopping Comparison Listing ad. -type ShoppingComparisonListingAdInfo struct { - // Headline of the ad. This field is required. Allowed length is between 25 - // and 45 characters. - Headline *wrappers.StringValue `protobuf:"bytes,1,opt,name=headline,proto3" json:"headline,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ShoppingComparisonListingAdInfo) Reset() { *m = ShoppingComparisonListingAdInfo{} } -func (m *ShoppingComparisonListingAdInfo) String() string { return proto.CompactTextString(m) } -func (*ShoppingComparisonListingAdInfo) ProtoMessage() {} -func (*ShoppingComparisonListingAdInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2709d6977cd7f379, []int{7} -} - -func (m *ShoppingComparisonListingAdInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ShoppingComparisonListingAdInfo.Unmarshal(m, b) -} -func (m *ShoppingComparisonListingAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ShoppingComparisonListingAdInfo.Marshal(b, m, deterministic) -} -func (m *ShoppingComparisonListingAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShoppingComparisonListingAdInfo.Merge(m, src) -} -func (m *ShoppingComparisonListingAdInfo) XXX_Size() int { - return xxx_messageInfo_ShoppingComparisonListingAdInfo.Size(m) -} -func (m *ShoppingComparisonListingAdInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ShoppingComparisonListingAdInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_ShoppingComparisonListingAdInfo proto.InternalMessageInfo - -func (m *ShoppingComparisonListingAdInfo) GetHeadline() *wrappers.StringValue { - if m != nil { - return m.Headline - } - return nil -} - -// 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"` - // Product images. Up to 15 images are supported. - ProductImages []*ProductImage `protobuf:"bytes,7,rep,name=product_images,json=productImages,proto3" json:"product_images,omitempty"` - // Product videos. Up to 7 videos are supported. At least one product video - // or a marketing image must be specified. - ProductVideos []*ProductVideo `protobuf:"bytes,8,rep,name=product_videos,json=productVideos,proto3" json:"product_videos,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_2709d6977cd7f379, []int{8} -} - -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 (m *GmailAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_GmailAdInfo.Merge(m, 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 -} - -func (m *GmailAdInfo) GetProductImages() []*ProductImage { - if m != nil { - return m.ProductImages - } - return nil -} - -func (m *GmailAdInfo) GetProductVideos() []*ProductVideo { - if m != nil { - return m.ProductVideos - } - 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_2709d6977cd7f379, []int{9} -} - -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 (m *GmailTeaser) XXX_Merge(src proto.Message) { - xxx_messageInfo_GmailTeaser.Merge(m, 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"` - // Identifies the url collection in the ad.url_collections field. If not set - // the url defaults to final_url. - UrlCollectionId *wrappers.StringValue `protobuf:"bytes,3,opt,name=url_collection_id,json=urlCollectionId,proto3" json:"url_collection_id,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_2709d6977cd7f379, []int{10} -} - -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 (m *DisplayCallToAction) XXX_Merge(src proto.Message) { - xxx_messageInfo_DisplayCallToAction.Merge(m, 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 -} - -func (m *DisplayCallToAction) GetUrlCollectionId() *wrappers.StringValue { - if m != nil { - return m.UrlCollectionId - } - return nil -} - -// Product image specific data. -type ProductImage struct { - // The MediaFile resource name of the product image. Valid image types are - // GIF, JPEG and PNG. The minimum size is 300x300 pixels and the aspect ratio - // must be 1:1 (+-1%). - ProductImage *wrappers.StringValue `protobuf:"bytes,1,opt,name=product_image,json=productImage,proto3" json:"product_image,omitempty"` - // Description of the product. - Description *wrappers.StringValue `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - // Display-call-to-action of the product image. - DisplayCallToAction *DisplayCallToAction `protobuf:"bytes,3,opt,name=display_call_to_action,json=displayCallToAction,proto3" json:"display_call_to_action,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ProductImage) Reset() { *m = ProductImage{} } -func (m *ProductImage) String() string { return proto.CompactTextString(m) } -func (*ProductImage) ProtoMessage() {} -func (*ProductImage) Descriptor() ([]byte, []int) { - return fileDescriptor_2709d6977cd7f379, []int{11} -} - -func (m *ProductImage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProductImage.Unmarshal(m, b) -} -func (m *ProductImage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProductImage.Marshal(b, m, deterministic) -} -func (m *ProductImage) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductImage.Merge(m, src) -} -func (m *ProductImage) XXX_Size() int { - return xxx_messageInfo_ProductImage.Size(m) -} -func (m *ProductImage) XXX_DiscardUnknown() { - xxx_messageInfo_ProductImage.DiscardUnknown(m) -} - -var xxx_messageInfo_ProductImage proto.InternalMessageInfo - -func (m *ProductImage) GetProductImage() *wrappers.StringValue { - if m != nil { - return m.ProductImage - } - return nil -} - -func (m *ProductImage) GetDescription() *wrappers.StringValue { - if m != nil { - return m.Description - } - return nil -} - -func (m *ProductImage) GetDisplayCallToAction() *DisplayCallToAction { - if m != nil { - return m.DisplayCallToAction - } - return nil -} - -// Product video specific data. -type ProductVideo struct { - // The MediaFile resource name of a video which must be hosted on YouTube. - ProductVideo *wrappers.StringValue `protobuf:"bytes,1,opt,name=product_video,json=productVideo,proto3" json:"product_video,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ProductVideo) Reset() { *m = ProductVideo{} } -func (m *ProductVideo) String() string { return proto.CompactTextString(m) } -func (*ProductVideo) ProtoMessage() {} -func (*ProductVideo) Descriptor() ([]byte, []int) { - return fileDescriptor_2709d6977cd7f379, []int{12} -} - -func (m *ProductVideo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProductVideo.Unmarshal(m, b) -} -func (m *ProductVideo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProductVideo.Marshal(b, m, deterministic) -} -func (m *ProductVideo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductVideo.Merge(m, src) -} -func (m *ProductVideo) XXX_Size() int { - return xxx_messageInfo_ProductVideo.Size(m) -} -func (m *ProductVideo) XXX_DiscardUnknown() { - xxx_messageInfo_ProductVideo.DiscardUnknown(m) -} - -var xxx_messageInfo_ProductVideo proto.InternalMessageInfo - -func (m *ProductVideo) GetProductVideo() *wrappers.StringValue { - if m != nil { - return m.ProductVideo - } - 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.v1.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 - // *ImageAdInfo_AdIdToCopyImageFrom - 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_2709d6977cd7f379, []int{13} -} - -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 (m *ImageAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageAdInfo.Merge(m, 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"` -} - -type ImageAdInfo_AdIdToCopyImageFrom struct { - AdIdToCopyImageFrom *wrappers.Int64Value `protobuf:"bytes,3,opt,name=ad_id_to_copy_image_from,json=adIdToCopyImageFrom,proto3,oneof"` -} - -func (*ImageAdInfo_MediaFile) isImageAdInfo_Image() {} - -func (*ImageAdInfo_Data) isImageAdInfo_Image() {} - -func (*ImageAdInfo_AdIdToCopyImageFrom) 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 -} - -func (m *ImageAdInfo) GetAdIdToCopyImageFrom() *wrappers.Int64Value { - if x, ok := m.GetImage().(*ImageAdInfo_AdIdToCopyImageFrom); ok { - return x.AdIdToCopyImageFrom - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ImageAdInfo) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ImageAdInfo_MediaFile)(nil), - (*ImageAdInfo_Data)(nil), - (*ImageAdInfo_AdIdToCopyImageFrom)(nil), - } -} - -// Representation of video bumper in-stream ad format (very short in-stream -// non-skippable video ad). -type VideoBumperInStreamAdInfo struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VideoBumperInStreamAdInfo) Reset() { *m = VideoBumperInStreamAdInfo{} } -func (m *VideoBumperInStreamAdInfo) String() string { return proto.CompactTextString(m) } -func (*VideoBumperInStreamAdInfo) ProtoMessage() {} -func (*VideoBumperInStreamAdInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2709d6977cd7f379, []int{14} -} - -func (m *VideoBumperInStreamAdInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VideoBumperInStreamAdInfo.Unmarshal(m, b) -} -func (m *VideoBumperInStreamAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VideoBumperInStreamAdInfo.Marshal(b, m, deterministic) -} -func (m *VideoBumperInStreamAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoBumperInStreamAdInfo.Merge(m, src) -} -func (m *VideoBumperInStreamAdInfo) XXX_Size() int { - return xxx_messageInfo_VideoBumperInStreamAdInfo.Size(m) -} -func (m *VideoBumperInStreamAdInfo) XXX_DiscardUnknown() { - xxx_messageInfo_VideoBumperInStreamAdInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_VideoBumperInStreamAdInfo proto.InternalMessageInfo - -// Representation of video non-skippable in-stream ad format (15 second -// in-stream non-skippable video ad). -type VideoNonSkippableInStreamAdInfo struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VideoNonSkippableInStreamAdInfo) Reset() { *m = VideoNonSkippableInStreamAdInfo{} } -func (m *VideoNonSkippableInStreamAdInfo) String() string { return proto.CompactTextString(m) } -func (*VideoNonSkippableInStreamAdInfo) ProtoMessage() {} -func (*VideoNonSkippableInStreamAdInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2709d6977cd7f379, []int{15} -} - -func (m *VideoNonSkippableInStreamAdInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VideoNonSkippableInStreamAdInfo.Unmarshal(m, b) -} -func (m *VideoNonSkippableInStreamAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VideoNonSkippableInStreamAdInfo.Marshal(b, m, deterministic) -} -func (m *VideoNonSkippableInStreamAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoNonSkippableInStreamAdInfo.Merge(m, src) -} -func (m *VideoNonSkippableInStreamAdInfo) XXX_Size() int { - return xxx_messageInfo_VideoNonSkippableInStreamAdInfo.Size(m) -} -func (m *VideoNonSkippableInStreamAdInfo) XXX_DiscardUnknown() { - xxx_messageInfo_VideoNonSkippableInStreamAdInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_VideoNonSkippableInStreamAdInfo proto.InternalMessageInfo - -// Representation of video TrueView in-stream ad format (ad shown during video -// playback, often at beginning, which displays a skip button a few seconds into -// the video). -type VideoTrueViewInStreamAdInfo struct { - // Label on the CTA (call-to-action) button taking the user to the video ad's - // final URL. - // Required for TrueView for action campaigns, optional otherwise. - ActionButtonLabel *wrappers.StringValue `protobuf:"bytes,1,opt,name=action_button_label,json=actionButtonLabel,proto3" json:"action_button_label,omitempty"` - // Additional text displayed with the CTA (call-to-action) button to give - // context and encourage clicking on the button. - ActionHeadline *wrappers.StringValue `protobuf:"bytes,2,opt,name=action_headline,json=actionHeadline,proto3" json:"action_headline,omitempty"` - // The MediaFile resource name of the companion banner used with the ad. - CompanionBanner *wrappers.StringValue `protobuf:"bytes,3,opt,name=companion_banner,json=companionBanner,proto3" json:"companion_banner,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VideoTrueViewInStreamAdInfo) Reset() { *m = VideoTrueViewInStreamAdInfo{} } -func (m *VideoTrueViewInStreamAdInfo) String() string { return proto.CompactTextString(m) } -func (*VideoTrueViewInStreamAdInfo) ProtoMessage() {} -func (*VideoTrueViewInStreamAdInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2709d6977cd7f379, []int{16} -} - -func (m *VideoTrueViewInStreamAdInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VideoTrueViewInStreamAdInfo.Unmarshal(m, b) -} -func (m *VideoTrueViewInStreamAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VideoTrueViewInStreamAdInfo.Marshal(b, m, deterministic) -} -func (m *VideoTrueViewInStreamAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoTrueViewInStreamAdInfo.Merge(m, src) -} -func (m *VideoTrueViewInStreamAdInfo) XXX_Size() int { - return xxx_messageInfo_VideoTrueViewInStreamAdInfo.Size(m) -} -func (m *VideoTrueViewInStreamAdInfo) XXX_DiscardUnknown() { - xxx_messageInfo_VideoTrueViewInStreamAdInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_VideoTrueViewInStreamAdInfo proto.InternalMessageInfo - -func (m *VideoTrueViewInStreamAdInfo) GetActionButtonLabel() *wrappers.StringValue { - if m != nil { - return m.ActionButtonLabel - } - return nil -} - -func (m *VideoTrueViewInStreamAdInfo) GetActionHeadline() *wrappers.StringValue { - if m != nil { - return m.ActionHeadline - } - return nil -} - -func (m *VideoTrueViewInStreamAdInfo) GetCompanionBanner() *wrappers.StringValue { - if m != nil { - return m.CompanionBanner - } - return nil -} - -// Representation of video out-stream ad format (ad shown alongside a feed -// with automatic playback, without sound). -type VideoOutstreamAdInfo struct { - // The headline of the ad. - Headline *wrappers.StringValue `protobuf:"bytes,1,opt,name=headline,proto3" json:"headline,omitempty"` - // The description line. - Description *wrappers.StringValue `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VideoOutstreamAdInfo) Reset() { *m = VideoOutstreamAdInfo{} } -func (m *VideoOutstreamAdInfo) String() string { return proto.CompactTextString(m) } -func (*VideoOutstreamAdInfo) ProtoMessage() {} -func (*VideoOutstreamAdInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2709d6977cd7f379, []int{17} -} - -func (m *VideoOutstreamAdInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VideoOutstreamAdInfo.Unmarshal(m, b) -} -func (m *VideoOutstreamAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VideoOutstreamAdInfo.Marshal(b, m, deterministic) -} -func (m *VideoOutstreamAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoOutstreamAdInfo.Merge(m, src) -} -func (m *VideoOutstreamAdInfo) XXX_Size() int { - return xxx_messageInfo_VideoOutstreamAdInfo.Size(m) -} -func (m *VideoOutstreamAdInfo) XXX_DiscardUnknown() { - xxx_messageInfo_VideoOutstreamAdInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_VideoOutstreamAdInfo proto.InternalMessageInfo - -func (m *VideoOutstreamAdInfo) GetHeadline() *wrappers.StringValue { - if m != nil { - return m.Headline - } - return nil -} - -func (m *VideoOutstreamAdInfo) GetDescription() *wrappers.StringValue { - if m != nil { - return m.Description - } - return nil -} - -// A video ad. -type VideoAdInfo struct { - // The MediaFile resource to use for the video. - MediaFile *wrappers.StringValue `protobuf:"bytes,1,opt,name=media_file,json=mediaFile,proto3" json:"media_file,omitempty"` - // Format-specific schema for the different video formats. - // - // Types that are valid to be assigned to Format: - // *VideoAdInfo_InStream - // *VideoAdInfo_Bumper - // *VideoAdInfo_OutStream - // *VideoAdInfo_NonSkippable - Format isVideoAdInfo_Format `protobuf_oneof:"format"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VideoAdInfo) Reset() { *m = VideoAdInfo{} } -func (m *VideoAdInfo) String() string { return proto.CompactTextString(m) } -func (*VideoAdInfo) ProtoMessage() {} -func (*VideoAdInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2709d6977cd7f379, []int{18} -} - -func (m *VideoAdInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VideoAdInfo.Unmarshal(m, b) -} -func (m *VideoAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VideoAdInfo.Marshal(b, m, deterministic) -} -func (m *VideoAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoAdInfo.Merge(m, src) -} -func (m *VideoAdInfo) XXX_Size() int { - return xxx_messageInfo_VideoAdInfo.Size(m) -} -func (m *VideoAdInfo) XXX_DiscardUnknown() { - xxx_messageInfo_VideoAdInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_VideoAdInfo proto.InternalMessageInfo - -func (m *VideoAdInfo) GetMediaFile() *wrappers.StringValue { - if m != nil { - return m.MediaFile - } - return nil -} - -type isVideoAdInfo_Format interface { - isVideoAdInfo_Format() -} - -type VideoAdInfo_InStream struct { - InStream *VideoTrueViewInStreamAdInfo `protobuf:"bytes,2,opt,name=in_stream,json=inStream,proto3,oneof"` -} - -type VideoAdInfo_Bumper struct { - Bumper *VideoBumperInStreamAdInfo `protobuf:"bytes,3,opt,name=bumper,proto3,oneof"` -} - -type VideoAdInfo_OutStream struct { - OutStream *VideoOutstreamAdInfo `protobuf:"bytes,4,opt,name=out_stream,json=outStream,proto3,oneof"` -} - -type VideoAdInfo_NonSkippable struct { - NonSkippable *VideoNonSkippableInStreamAdInfo `protobuf:"bytes,5,opt,name=non_skippable,json=nonSkippable,proto3,oneof"` -} - -func (*VideoAdInfo_InStream) isVideoAdInfo_Format() {} - -func (*VideoAdInfo_Bumper) isVideoAdInfo_Format() {} - -func (*VideoAdInfo_OutStream) isVideoAdInfo_Format() {} - -func (*VideoAdInfo_NonSkippable) isVideoAdInfo_Format() {} - -func (m *VideoAdInfo) GetFormat() isVideoAdInfo_Format { - if m != nil { - return m.Format - } - return nil -} - -func (m *VideoAdInfo) GetInStream() *VideoTrueViewInStreamAdInfo { - if x, ok := m.GetFormat().(*VideoAdInfo_InStream); ok { - return x.InStream - } - return nil -} - -func (m *VideoAdInfo) GetBumper() *VideoBumperInStreamAdInfo { - if x, ok := m.GetFormat().(*VideoAdInfo_Bumper); ok { - return x.Bumper - } - return nil -} - -func (m *VideoAdInfo) GetOutStream() *VideoOutstreamAdInfo { - if x, ok := m.GetFormat().(*VideoAdInfo_OutStream); ok { - return x.OutStream - } - return nil -} - -func (m *VideoAdInfo) GetNonSkippable() *VideoNonSkippableInStreamAdInfo { - if x, ok := m.GetFormat().(*VideoAdInfo_NonSkippable); ok { - return x.NonSkippable - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*VideoAdInfo) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*VideoAdInfo_InStream)(nil), - (*VideoAdInfo_Bumper)(nil), - (*VideoAdInfo_OutStream)(nil), - (*VideoAdInfo_NonSkippable)(nil), - } -} - -// A responsive search ad. -// -// Responsive search ads let you create an ad that adapts to show more text, and -// more relevant messages, to your customers. Enter multiple headlines and -// descriptions when creating a responsive search ad, and over time, Google Ads -// will automatically test different combinations and learn which combinations -// perform best. By adapting your ad's content to more closely match potential -// customers' search terms, responsive search ads may improve your campaign's -// performance. -// -// More information at https://support.google.com/google-ads/answer/7684791 -type ResponsiveSearchAdInfo struct { - // List of text assets for headlines. When the ad serves the headlines will - // be selected from this list. - Headlines []*AdTextAsset `protobuf:"bytes,1,rep,name=headlines,proto3" json:"headlines,omitempty"` - // List of text assets for descriptions. When the ad serves the descriptions - // will be selected from this list. - Descriptions []*AdTextAsset `protobuf:"bytes,2,rep,name=descriptions,proto3" json:"descriptions,omitempty"` - // First part of text that may appear appended to the url displayed in the ad. - Path1 *wrappers.StringValue `protobuf:"bytes,3,opt,name=path1,proto3" json:"path1,omitempty"` - // Second part of text that may appear appended to the url displayed in the - // ad. This field can only be set when path1 is also set. - Path2 *wrappers.StringValue `protobuf:"bytes,4,opt,name=path2,proto3" json:"path2,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ResponsiveSearchAdInfo) Reset() { *m = ResponsiveSearchAdInfo{} } -func (m *ResponsiveSearchAdInfo) String() string { return proto.CompactTextString(m) } -func (*ResponsiveSearchAdInfo) ProtoMessage() {} -func (*ResponsiveSearchAdInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2709d6977cd7f379, []int{19} -} - -func (m *ResponsiveSearchAdInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResponsiveSearchAdInfo.Unmarshal(m, b) -} -func (m *ResponsiveSearchAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResponsiveSearchAdInfo.Marshal(b, m, deterministic) -} -func (m *ResponsiveSearchAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResponsiveSearchAdInfo.Merge(m, src) -} -func (m *ResponsiveSearchAdInfo) XXX_Size() int { - return xxx_messageInfo_ResponsiveSearchAdInfo.Size(m) -} -func (m *ResponsiveSearchAdInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ResponsiveSearchAdInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_ResponsiveSearchAdInfo proto.InternalMessageInfo - -func (m *ResponsiveSearchAdInfo) GetHeadlines() []*AdTextAsset { - if m != nil { - return m.Headlines - } - return nil -} - -func (m *ResponsiveSearchAdInfo) GetDescriptions() []*AdTextAsset { - if m != nil { - return m.Descriptions - } - return nil -} - -func (m *ResponsiveSearchAdInfo) GetPath1() *wrappers.StringValue { - if m != nil { - return m.Path1 - } - return nil -} - -func (m *ResponsiveSearchAdInfo) GetPath2() *wrappers.StringValue { - if m != nil { - return m.Path2 - } - return nil -} - -// A legacy responsive display ad. Ads of this type are labeled 'Responsive ads' -// in the Google Ads UI. -type LegacyResponsiveDisplayAdInfo 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.v1.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 *LegacyResponsiveDisplayAdInfo) Reset() { *m = LegacyResponsiveDisplayAdInfo{} } -func (m *LegacyResponsiveDisplayAdInfo) String() string { return proto.CompactTextString(m) } -func (*LegacyResponsiveDisplayAdInfo) ProtoMessage() {} -func (*LegacyResponsiveDisplayAdInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2709d6977cd7f379, []int{20} -} - -func (m *LegacyResponsiveDisplayAdInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LegacyResponsiveDisplayAdInfo.Unmarshal(m, b) -} -func (m *LegacyResponsiveDisplayAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LegacyResponsiveDisplayAdInfo.Marshal(b, m, deterministic) -} -func (m *LegacyResponsiveDisplayAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_LegacyResponsiveDisplayAdInfo.Merge(m, src) -} -func (m *LegacyResponsiveDisplayAdInfo) XXX_Size() int { - return xxx_messageInfo_LegacyResponsiveDisplayAdInfo.Size(m) -} -func (m *LegacyResponsiveDisplayAdInfo) XXX_DiscardUnknown() { - xxx_messageInfo_LegacyResponsiveDisplayAdInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_LegacyResponsiveDisplayAdInfo proto.InternalMessageInfo - -func (m *LegacyResponsiveDisplayAdInfo) GetShortHeadline() *wrappers.StringValue { - if m != nil { - return m.ShortHeadline - } - return nil -} - -func (m *LegacyResponsiveDisplayAdInfo) GetLongHeadline() *wrappers.StringValue { - if m != nil { - return m.LongHeadline - } - return nil -} - -func (m *LegacyResponsiveDisplayAdInfo) GetDescription() *wrappers.StringValue { - if m != nil { - return m.Description - } - return nil -} - -func (m *LegacyResponsiveDisplayAdInfo) GetBusinessName() *wrappers.StringValue { - if m != nil { - return m.BusinessName - } - return nil -} - -func (m *LegacyResponsiveDisplayAdInfo) GetAllowFlexibleColor() *wrappers.BoolValue { - if m != nil { - return m.AllowFlexibleColor - } - return nil -} - -func (m *LegacyResponsiveDisplayAdInfo) GetAccentColor() *wrappers.StringValue { - if m != nil { - return m.AccentColor - } - return nil -} - -func (m *LegacyResponsiveDisplayAdInfo) GetMainColor() *wrappers.StringValue { - if m != nil { - return m.MainColor - } - return nil -} - -func (m *LegacyResponsiveDisplayAdInfo) GetCallToActionText() *wrappers.StringValue { - if m != nil { - return m.CallToActionText - } - return nil -} - -func (m *LegacyResponsiveDisplayAdInfo) GetLogoImage() *wrappers.StringValue { - if m != nil { - return m.LogoImage - } - return nil -} - -func (m *LegacyResponsiveDisplayAdInfo) GetSquareLogoImage() *wrappers.StringValue { - if m != nil { - return m.SquareLogoImage - } - return nil -} - -func (m *LegacyResponsiveDisplayAdInfo) GetMarketingImage() *wrappers.StringValue { - if m != nil { - return m.MarketingImage - } - return nil -} - -func (m *LegacyResponsiveDisplayAdInfo) GetSquareMarketingImage() *wrappers.StringValue { - if m != nil { - return m.SquareMarketingImage - } - return nil -} - -func (m *LegacyResponsiveDisplayAdInfo) GetFormatSetting() enums.DisplayAdFormatSettingEnum_DisplayAdFormatSetting { - if m != nil { - return m.FormatSetting - } - return enums.DisplayAdFormatSettingEnum_UNSPECIFIED -} - -func (m *LegacyResponsiveDisplayAdInfo) GetPricePrefix() *wrappers.StringValue { - if m != nil { - return m.PricePrefix - } - return nil -} - -func (m *LegacyResponsiveDisplayAdInfo) GetPromoText() *wrappers.StringValue { - if m != nil { - return m.PromoText - } - return nil -} - -// An app ad. -type AppAdInfo struct { - // An optional text asset that, if specified, must always be displayed when - // the ad is served. - MandatoryAdText *AdTextAsset `protobuf:"bytes,1,opt,name=mandatory_ad_text,json=mandatoryAdText,proto3" json:"mandatory_ad_text,omitempty"` - // List of text assets for headlines. When the ad serves the headlines will - // be selected from this list. - Headlines []*AdTextAsset `protobuf:"bytes,2,rep,name=headlines,proto3" json:"headlines,omitempty"` - // List of text assets for descriptions. When the ad serves the descriptions - // will be selected from this list. - Descriptions []*AdTextAsset `protobuf:"bytes,3,rep,name=descriptions,proto3" json:"descriptions,omitempty"` - // List of image assets that may be displayed with the ad. - Images []*AdImageAsset `protobuf:"bytes,4,rep,name=images,proto3" json:"images,omitempty"` - // List of YouTube video assets that may be displayed with the ad. - YoutubeVideos []*AdVideoAsset `protobuf:"bytes,5,rep,name=youtube_videos,json=youtubeVideos,proto3" json:"youtube_videos,omitempty"` - // List of media bundle assets that may be used with the ad. - Html5MediaBundles []*AdMediaBundleAsset `protobuf:"bytes,6,rep,name=html5_media_bundles,json=html5MediaBundles,proto3" json:"html5_media_bundles,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AppAdInfo) Reset() { *m = AppAdInfo{} } -func (m *AppAdInfo) String() string { return proto.CompactTextString(m) } -func (*AppAdInfo) ProtoMessage() {} -func (*AppAdInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2709d6977cd7f379, []int{21} -} - -func (m *AppAdInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AppAdInfo.Unmarshal(m, b) -} -func (m *AppAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AppAdInfo.Marshal(b, m, deterministic) -} -func (m *AppAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_AppAdInfo.Merge(m, src) -} -func (m *AppAdInfo) XXX_Size() int { - return xxx_messageInfo_AppAdInfo.Size(m) -} -func (m *AppAdInfo) XXX_DiscardUnknown() { - xxx_messageInfo_AppAdInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_AppAdInfo proto.InternalMessageInfo - -func (m *AppAdInfo) GetMandatoryAdText() *AdTextAsset { - if m != nil { - return m.MandatoryAdText - } - return nil -} - -func (m *AppAdInfo) GetHeadlines() []*AdTextAsset { - if m != nil { - return m.Headlines - } - return nil -} - -func (m *AppAdInfo) GetDescriptions() []*AdTextAsset { - if m != nil { - return m.Descriptions - } - return nil -} - -func (m *AppAdInfo) GetImages() []*AdImageAsset { - if m != nil { - return m.Images - } - return nil -} - -func (m *AppAdInfo) GetYoutubeVideos() []*AdVideoAsset { - if m != nil { - return m.YoutubeVideos - } - return nil -} - -func (m *AppAdInfo) GetHtml5MediaBundles() []*AdMediaBundleAsset { - if m != nil { - return m.Html5MediaBundles - } - return nil -} - -// App engagement ads allow you to write text encouraging a specific action in -// the app, like checking in, making a purchase, or booking a flight. -// They allow you to send users to a specific part of your app where they can -// find what they're looking for easier and faster. -type AppEngagementAdInfo struct { - // List of text assets for headlines. When the ad serves the headlines will - // be selected from this list. - Headlines []*AdTextAsset `protobuf:"bytes,1,rep,name=headlines,proto3" json:"headlines,omitempty"` - // List of text assets for descriptions. When the ad serves the descriptions - // will be selected from this list. - Descriptions []*AdTextAsset `protobuf:"bytes,2,rep,name=descriptions,proto3" json:"descriptions,omitempty"` - // List of image assets that may be displayed with the ad. - Images []*AdImageAsset `protobuf:"bytes,3,rep,name=images,proto3" json:"images,omitempty"` - // List of video assets that may be displayed with the ad. - Videos []*AdVideoAsset `protobuf:"bytes,4,rep,name=videos,proto3" json:"videos,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AppEngagementAdInfo) Reset() { *m = AppEngagementAdInfo{} } -func (m *AppEngagementAdInfo) String() string { return proto.CompactTextString(m) } -func (*AppEngagementAdInfo) ProtoMessage() {} -func (*AppEngagementAdInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2709d6977cd7f379, []int{22} -} - -func (m *AppEngagementAdInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AppEngagementAdInfo.Unmarshal(m, b) -} -func (m *AppEngagementAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AppEngagementAdInfo.Marshal(b, m, deterministic) -} -func (m *AppEngagementAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_AppEngagementAdInfo.Merge(m, src) -} -func (m *AppEngagementAdInfo) XXX_Size() int { - return xxx_messageInfo_AppEngagementAdInfo.Size(m) -} -func (m *AppEngagementAdInfo) XXX_DiscardUnknown() { - xxx_messageInfo_AppEngagementAdInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_AppEngagementAdInfo proto.InternalMessageInfo - -func (m *AppEngagementAdInfo) GetHeadlines() []*AdTextAsset { - if m != nil { - return m.Headlines - } - return nil -} - -func (m *AppEngagementAdInfo) GetDescriptions() []*AdTextAsset { - if m != nil { - return m.Descriptions - } - return nil -} - -func (m *AppEngagementAdInfo) GetImages() []*AdImageAsset { - if m != nil { - return m.Images - } - return nil -} - -func (m *AppEngagementAdInfo) GetVideos() []*AdVideoAsset { - if m != nil { - return m.Videos - } - return nil -} - -// A legacy app install ad that only can be used by a few select customers. -type LegacyAppInstallAdInfo struct { - // The id of the mobile app. - AppId *wrappers.StringValue `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` - // The app store the mobile app is available in. - AppStore enums.LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore `protobuf:"varint,2,opt,name=app_store,json=appStore,proto3,enum=google.ads.googleads.v1.enums.LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore" json:"app_store,omitempty"` - // The headline of the ad. - Headline *wrappers.StringValue `protobuf:"bytes,3,opt,name=headline,proto3" json:"headline,omitempty"` - // The first description line of the ad. - Description1 *wrappers.StringValue `protobuf:"bytes,4,opt,name=description1,proto3" json:"description1,omitempty"` - // The second description line of the ad. - Description2 *wrappers.StringValue `protobuf:"bytes,5,opt,name=description2,proto3" json:"description2,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LegacyAppInstallAdInfo) Reset() { *m = LegacyAppInstallAdInfo{} } -func (m *LegacyAppInstallAdInfo) String() string { return proto.CompactTextString(m) } -func (*LegacyAppInstallAdInfo) ProtoMessage() {} -func (*LegacyAppInstallAdInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2709d6977cd7f379, []int{23} -} - -func (m *LegacyAppInstallAdInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LegacyAppInstallAdInfo.Unmarshal(m, b) -} -func (m *LegacyAppInstallAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LegacyAppInstallAdInfo.Marshal(b, m, deterministic) -} -func (m *LegacyAppInstallAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_LegacyAppInstallAdInfo.Merge(m, src) -} -func (m *LegacyAppInstallAdInfo) XXX_Size() int { - return xxx_messageInfo_LegacyAppInstallAdInfo.Size(m) -} -func (m *LegacyAppInstallAdInfo) XXX_DiscardUnknown() { - xxx_messageInfo_LegacyAppInstallAdInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_LegacyAppInstallAdInfo proto.InternalMessageInfo - -func (m *LegacyAppInstallAdInfo) GetAppId() *wrappers.StringValue { - if m != nil { - return m.AppId - } - return nil -} - -func (m *LegacyAppInstallAdInfo) GetAppStore() enums.LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore { - if m != nil { - return m.AppStore - } - return enums.LegacyAppInstallAdAppStoreEnum_UNSPECIFIED -} - -func (m *LegacyAppInstallAdInfo) GetHeadline() *wrappers.StringValue { - if m != nil { - return m.Headline - } - return nil -} - -func (m *LegacyAppInstallAdInfo) GetDescription1() *wrappers.StringValue { - if m != nil { - return m.Description1 - } - return nil -} - -func (m *LegacyAppInstallAdInfo) GetDescription2() *wrappers.StringValue { - if m != nil { - return m.Description2 - } - return nil -} - -// A responsive display ad. -type ResponsiveDisplayAdInfo struct { - // Marketing images to be used in the ad. Valid image types are GIF, - // JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must - // be 1.91:1 (+-1%). At least one marketing_image is required. Combined with - // square_marketing_images the maximum is 15. - MarketingImages []*AdImageAsset `protobuf:"bytes,1,rep,name=marketing_images,json=marketingImages,proto3" json:"marketing_images,omitempty"` - // Square marketing images to be used in the ad. Valid image types are GIF, - // JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must - // be 1:1 (+-1%). At least one square marketing_image is required. Combined - // with marketing_images the maximum is 15. - SquareMarketingImages []*AdImageAsset `protobuf:"bytes,2,rep,name=square_marketing_images,json=squareMarketingImages,proto3" json:"square_marketing_images,omitempty"` - // Logo images to be used in the ad. Valid image types are GIF, - // JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must - // be 4:1 (+-1%). Combined with square_logo_images the maximum is 5. - LogoImages []*AdImageAsset `protobuf:"bytes,3,rep,name=logo_images,json=logoImages,proto3" json:"logo_images,omitempty"` - // Square logo images to be used in the ad. Valid image types are GIF, - // JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must - // be 1:1 (+-1%). Combined with square_logo_images the maximum is 5. - SquareLogoImages []*AdImageAsset `protobuf:"bytes,4,rep,name=square_logo_images,json=squareLogoImages,proto3" json:"square_logo_images,omitempty"` - // Short format headlines for the ad. The maximum length is 30 characters. - // At least 1 and max 5 headlines can be specified. - Headlines []*AdTextAsset `protobuf:"bytes,5,rep,name=headlines,proto3" json:"headlines,omitempty"` - // A required long format headline. The maximum length is 90 characters. - LongHeadline *AdTextAsset `protobuf:"bytes,6,opt,name=long_headline,json=longHeadline,proto3" json:"long_headline,omitempty"` - // Descriptive texts for the ad. The maximum length is 90 characters. At - // least 1 and max 5 headlines can be specified. - Descriptions []*AdTextAsset `protobuf:"bytes,7,rep,name=descriptions,proto3" json:"descriptions,omitempty"` - // Optional YouTube vidoes for the ad. A maximum of 5 videos can be specified. - YoutubeVideos []*AdVideoAsset `protobuf:"bytes,8,rep,name=youtube_videos,json=youtubeVideos,proto3" json:"youtube_videos,omitempty"` - // The advertiser/brand name. Maximum display width is 25. - BusinessName *wrappers.StringValue `protobuf:"bytes,9,opt,name=business_name,json=businessName,proto3" json:"business_name,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,10,opt,name=main_color,json=mainColor,proto3" json:"main_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,11,opt,name=accent_color,json=accentColor,proto3" json:"accent_color,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,12,opt,name=allow_flexible_color,json=allowFlexibleColor,proto3" json:"allow_flexible_color,omitempty"` - // The call-to-action text for the ad. Maximum display width is 30. - CallToActionText *wrappers.StringValue `protobuf:"bytes,13,opt,name=call_to_action_text,json=callToActionText,proto3" json:"call_to_action_text,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"` - // Specifies which format the ad will be served in. Default is ALL_FORMATS. - FormatSetting enums.DisplayAdFormatSettingEnum_DisplayAdFormatSetting `protobuf:"varint,16,opt,name=format_setting,json=formatSetting,proto3,enum=google.ads.googleads.v1.enums.DisplayAdFormatSettingEnum_DisplayAdFormatSetting" json:"format_setting,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_2709d6977cd7f379, []int{24} -} - -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 (m *ResponsiveDisplayAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResponsiveDisplayAdInfo.Merge(m, 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) GetMarketingImages() []*AdImageAsset { - if m != nil { - return m.MarketingImages - } - return nil -} - -func (m *ResponsiveDisplayAdInfo) GetSquareMarketingImages() []*AdImageAsset { - if m != nil { - return m.SquareMarketingImages - } - return nil -} - -func (m *ResponsiveDisplayAdInfo) GetLogoImages() []*AdImageAsset { - if m != nil { - return m.LogoImages - } - return nil -} - -func (m *ResponsiveDisplayAdInfo) GetSquareLogoImages() []*AdImageAsset { - if m != nil { - return m.SquareLogoImages - } - return nil -} - -func (m *ResponsiveDisplayAdInfo) GetHeadlines() []*AdTextAsset { - if m != nil { - return m.Headlines - } - return nil -} - -func (m *ResponsiveDisplayAdInfo) GetLongHeadline() *AdTextAsset { - if m != nil { - return m.LongHeadline - } - return nil -} - -func (m *ResponsiveDisplayAdInfo) GetDescriptions() []*AdTextAsset { - if m != nil { - return m.Descriptions - } - return nil -} - -func (m *ResponsiveDisplayAdInfo) GetYoutubeVideos() []*AdVideoAsset { - if m != nil { - return m.YoutubeVideos - } - return nil -} - -func (m *ResponsiveDisplayAdInfo) GetBusinessName() *wrappers.StringValue { - if m != nil { - return m.BusinessName - } - return nil -} - -func (m *ResponsiveDisplayAdInfo) GetMainColor() *wrappers.StringValue { - if m != nil { - return m.MainColor - } - return nil -} - -func (m *ResponsiveDisplayAdInfo) GetAccentColor() *wrappers.StringValue { - if m != nil { - return m.AccentColor - } - return nil -} - -func (m *ResponsiveDisplayAdInfo) GetAllowFlexibleColor() *wrappers.BoolValue { - if m != nil { - return m.AllowFlexibleColor - } - return nil -} - -func (m *ResponsiveDisplayAdInfo) GetCallToActionText() *wrappers.StringValue { - if m != nil { - return m.CallToActionText - } - return nil -} - -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 -} - -func (m *ResponsiveDisplayAdInfo) GetFormatSetting() enums.DisplayAdFormatSettingEnum_DisplayAdFormatSetting { - if m != nil { - return m.FormatSetting - } - return enums.DisplayAdFormatSettingEnum_UNSPECIFIED -} - -// A generic type of display ad. The exact ad format is controlled by the -// display_upload_product_type field, which determines what kinds of data -// need to be included with the ad. -type DisplayUploadAdInfo struct { - // The product type of this ad. See comments on the enum for details. - DisplayUploadProductType enums.DisplayUploadProductTypeEnum_DisplayUploadProductType `protobuf:"varint,1,opt,name=display_upload_product_type,json=displayUploadProductType,proto3,enum=google.ads.googleads.v1.enums.DisplayUploadProductTypeEnum_DisplayUploadProductType" json:"display_upload_product_type,omitempty"` - // The asset data that makes up the ad. - // - // Types that are valid to be assigned to MediaAsset: - // *DisplayUploadAdInfo_MediaBundle - MediaAsset isDisplayUploadAdInfo_MediaAsset `protobuf_oneof:"media_asset"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DisplayUploadAdInfo) Reset() { *m = DisplayUploadAdInfo{} } -func (m *DisplayUploadAdInfo) String() string { return proto.CompactTextString(m) } -func (*DisplayUploadAdInfo) ProtoMessage() {} -func (*DisplayUploadAdInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2709d6977cd7f379, []int{25} -} - -func (m *DisplayUploadAdInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DisplayUploadAdInfo.Unmarshal(m, b) -} -func (m *DisplayUploadAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DisplayUploadAdInfo.Marshal(b, m, deterministic) -} -func (m *DisplayUploadAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_DisplayUploadAdInfo.Merge(m, src) -} -func (m *DisplayUploadAdInfo) XXX_Size() int { - return xxx_messageInfo_DisplayUploadAdInfo.Size(m) -} -func (m *DisplayUploadAdInfo) XXX_DiscardUnknown() { - xxx_messageInfo_DisplayUploadAdInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_DisplayUploadAdInfo proto.InternalMessageInfo - -func (m *DisplayUploadAdInfo) GetDisplayUploadProductType() enums.DisplayUploadProductTypeEnum_DisplayUploadProductType { - if m != nil { - return m.DisplayUploadProductType - } - return enums.DisplayUploadProductTypeEnum_UNSPECIFIED -} - -type isDisplayUploadAdInfo_MediaAsset interface { - isDisplayUploadAdInfo_MediaAsset() -} - -type DisplayUploadAdInfo_MediaBundle struct { - MediaBundle *AdMediaBundleAsset `protobuf:"bytes,2,opt,name=media_bundle,json=mediaBundle,proto3,oneof"` -} - -func (*DisplayUploadAdInfo_MediaBundle) isDisplayUploadAdInfo_MediaAsset() {} - -func (m *DisplayUploadAdInfo) GetMediaAsset() isDisplayUploadAdInfo_MediaAsset { - if m != nil { - return m.MediaAsset - } - return nil -} - -func (m *DisplayUploadAdInfo) GetMediaBundle() *AdMediaBundleAsset { - if x, ok := m.GetMediaAsset().(*DisplayUploadAdInfo_MediaBundle); ok { - return x.MediaBundle - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*DisplayUploadAdInfo) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*DisplayUploadAdInfo_MediaBundle)(nil), - } -} - -func init() { - proto.RegisterType((*TextAdInfo)(nil), "google.ads.googleads.v1.common.TextAdInfo") - proto.RegisterType((*ExpandedTextAdInfo)(nil), "google.ads.googleads.v1.common.ExpandedTextAdInfo") - proto.RegisterType((*CallOnlyAdInfo)(nil), "google.ads.googleads.v1.common.CallOnlyAdInfo") - proto.RegisterType((*ExpandedDynamicSearchAdInfo)(nil), "google.ads.googleads.v1.common.ExpandedDynamicSearchAdInfo") - proto.RegisterType((*HotelAdInfo)(nil), "google.ads.googleads.v1.common.HotelAdInfo") - proto.RegisterType((*ShoppingSmartAdInfo)(nil), "google.ads.googleads.v1.common.ShoppingSmartAdInfo") - proto.RegisterType((*ShoppingProductAdInfo)(nil), "google.ads.googleads.v1.common.ShoppingProductAdInfo") - proto.RegisterType((*ShoppingComparisonListingAdInfo)(nil), "google.ads.googleads.v1.common.ShoppingComparisonListingAdInfo") - proto.RegisterType((*GmailAdInfo)(nil), "google.ads.googleads.v1.common.GmailAdInfo") - proto.RegisterType((*GmailTeaser)(nil), "google.ads.googleads.v1.common.GmailTeaser") - proto.RegisterType((*DisplayCallToAction)(nil), "google.ads.googleads.v1.common.DisplayCallToAction") - proto.RegisterType((*ProductImage)(nil), "google.ads.googleads.v1.common.ProductImage") - proto.RegisterType((*ProductVideo)(nil), "google.ads.googleads.v1.common.ProductVideo") - proto.RegisterType((*ImageAdInfo)(nil), "google.ads.googleads.v1.common.ImageAdInfo") - proto.RegisterType((*VideoBumperInStreamAdInfo)(nil), "google.ads.googleads.v1.common.VideoBumperInStreamAdInfo") - proto.RegisterType((*VideoNonSkippableInStreamAdInfo)(nil), "google.ads.googleads.v1.common.VideoNonSkippableInStreamAdInfo") - proto.RegisterType((*VideoTrueViewInStreamAdInfo)(nil), "google.ads.googleads.v1.common.VideoTrueViewInStreamAdInfo") - proto.RegisterType((*VideoOutstreamAdInfo)(nil), "google.ads.googleads.v1.common.VideoOutstreamAdInfo") - proto.RegisterType((*VideoAdInfo)(nil), "google.ads.googleads.v1.common.VideoAdInfo") - proto.RegisterType((*ResponsiveSearchAdInfo)(nil), "google.ads.googleads.v1.common.ResponsiveSearchAdInfo") - proto.RegisterType((*LegacyResponsiveDisplayAdInfo)(nil), "google.ads.googleads.v1.common.LegacyResponsiveDisplayAdInfo") - proto.RegisterType((*AppAdInfo)(nil), "google.ads.googleads.v1.common.AppAdInfo") - proto.RegisterType((*AppEngagementAdInfo)(nil), "google.ads.googleads.v1.common.AppEngagementAdInfo") - proto.RegisterType((*LegacyAppInstallAdInfo)(nil), "google.ads.googleads.v1.common.LegacyAppInstallAdInfo") - proto.RegisterType((*ResponsiveDisplayAdInfo)(nil), "google.ads.googleads.v1.common.ResponsiveDisplayAdInfo") - proto.RegisterType((*DisplayUploadAdInfo)(nil), "google.ads.googleads.v1.common.DisplayUploadAdInfo") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/common/ad_type_infos.proto", fileDescriptor_2709d6977cd7f379) -} - -var fileDescriptor_2709d6977cd7f379 = []byte{ - // 2377 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x5a, 0xcb, 0x6e, 0x23, 0x59, - 0x19, 0x8e, 0xe3, 0x5c, 0xec, 0xdf, 0x76, 0x2e, 0x95, 0xbe, 0x78, 0x92, 0xb9, 0xd6, 0x02, 0x8d, - 0x04, 0xe3, 0x10, 0xf7, 0x80, 0x98, 0x34, 0x3d, 0x8d, 0x93, 0x74, 0xb7, 0xa3, 0x49, 0x77, 0x67, - 0x9c, 0x74, 0x1a, 0x35, 0x41, 0xa5, 0x13, 0xd7, 0x89, 0x53, 0xea, 0xaa, 0x73, 0x0e, 0x75, 0xaa, - 0xd2, 0xc9,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xec, 0x36, 0x0d, 0x46, - 0xf0, 0x6e, 0x2d, 0x35, 0x5c, 0x31, 0x2c, 0xb1, 0x60, 0x7c, 0x5f, 0xec, 0xf0, 0x7e, 0xee, 0xd5, - 0x8e, 0xc6, 0x74, 0xa8, 0x8f, 0x48, 0xa7, 0x46, 0xc3, 0xce, 0x7a, 0x07, 0x13, 0xb9, 0xff, 0xc9, - 0xbf, 0xa0, 0x98, 0xc7, 0x87, 0xfd, 0x9b, 0xec, 0xbe, 0xfa, 0xf9, 0xe3, 0x74, 0xfe, 0x49, 0xa3, - 0xf1, 0xa7, 0xe9, 0xf7, 0x9f, 0x28, 0xb2, 0x86, 0xcb, 0x6b, 0xea, 0x50, 0x1c, 0x1d, 0x6d, 0xd4, - 0xb6, 0xa5, 0xd9, 0x37, 0x89, 0xc1, 0x71, 0xc3, 0xe5, 0xc7, 0xa9, 0xc1, 0xf1, 0xd1, 0xc6, 0xb1, - 0x32, 0xf8, 0xd7, 0xb4, 0xad, 0xae, 0x6e, 0x6e, 0x36, 0x5c, 0xbe, 0xb9, 0x99, 0x9a, 0x6c, 0x6e, - 0x1e, 0x6d, 0x6c, 0x6e, 0x2a, 0xa3, 0x93, 0x39, 0x39, 0xba, 0x7b, 0xff, 0x0d, 0x00, 0x00, 0xff, - 0xff, 0xc7, 0x10, 0x34, 0xf2, 0x3e, 0x27, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/asset_types.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/asset_types.pb.go deleted file mode 100644 index 45b6e38c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/asset_types.pb.go +++ /dev/null @@ -1,329 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/common/asset_types.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A YouTube asset. -type YoutubeVideoAsset struct { - // YouTube video id. This is the 11 character string value used in the - // YouTube video URL. - YoutubeVideoId *wrappers.StringValue `protobuf:"bytes,1,opt,name=youtube_video_id,json=youtubeVideoId,proto3" json:"youtube_video_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *YoutubeVideoAsset) Reset() { *m = YoutubeVideoAsset{} } -func (m *YoutubeVideoAsset) String() string { return proto.CompactTextString(m) } -func (*YoutubeVideoAsset) ProtoMessage() {} -func (*YoutubeVideoAsset) Descriptor() ([]byte, []int) { - return fileDescriptor_f84b8dff1cc51362, []int{0} -} - -func (m *YoutubeVideoAsset) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_YoutubeVideoAsset.Unmarshal(m, b) -} -func (m *YoutubeVideoAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_YoutubeVideoAsset.Marshal(b, m, deterministic) -} -func (m *YoutubeVideoAsset) XXX_Merge(src proto.Message) { - xxx_messageInfo_YoutubeVideoAsset.Merge(m, src) -} -func (m *YoutubeVideoAsset) XXX_Size() int { - return xxx_messageInfo_YoutubeVideoAsset.Size(m) -} -func (m *YoutubeVideoAsset) XXX_DiscardUnknown() { - xxx_messageInfo_YoutubeVideoAsset.DiscardUnknown(m) -} - -var xxx_messageInfo_YoutubeVideoAsset proto.InternalMessageInfo - -func (m *YoutubeVideoAsset) GetYoutubeVideoId() *wrappers.StringValue { - if m != nil { - return m.YoutubeVideoId - } - return nil -} - -// A MediaBundle asset. -type MediaBundleAsset struct { - // Media bundle (ZIP file) asset data. The format of the uploaded ZIP file - // depends on the ad field where it will be used. For more information on the - // format, see the documentation of the ad field where you plan on using the - // MediaBundleAsset. This field is mutate only. - 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 *MediaBundleAsset) Reset() { *m = MediaBundleAsset{} } -func (m *MediaBundleAsset) String() string { return proto.CompactTextString(m) } -func (*MediaBundleAsset) ProtoMessage() {} -func (*MediaBundleAsset) Descriptor() ([]byte, []int) { - return fileDescriptor_f84b8dff1cc51362, []int{1} -} - -func (m *MediaBundleAsset) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MediaBundleAsset.Unmarshal(m, b) -} -func (m *MediaBundleAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MediaBundleAsset.Marshal(b, m, deterministic) -} -func (m *MediaBundleAsset) XXX_Merge(src proto.Message) { - xxx_messageInfo_MediaBundleAsset.Merge(m, src) -} -func (m *MediaBundleAsset) XXX_Size() int { - return xxx_messageInfo_MediaBundleAsset.Size(m) -} -func (m *MediaBundleAsset) XXX_DiscardUnknown() { - xxx_messageInfo_MediaBundleAsset.DiscardUnknown(m) -} - -var xxx_messageInfo_MediaBundleAsset proto.InternalMessageInfo - -func (m *MediaBundleAsset) GetData() *wrappers.BytesValue { - if m != nil { - return m.Data - } - return nil -} - -// An Image asset. -type ImageAsset struct { - // The raw bytes data of an image. This field is mutate only. - Data *wrappers.BytesValue `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - // File size of the image asset in bytes. - FileSize *wrappers.Int64Value `protobuf:"bytes,2,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"` - // MIME type of the image asset. - MimeType enums.MimeTypeEnum_MimeType `protobuf:"varint,3,opt,name=mime_type,json=mimeType,proto3,enum=google.ads.googleads.v1.enums.MimeTypeEnum_MimeType" json:"mime_type,omitempty"` - // Metadata for this image at its original size. - FullSize *ImageDimension `protobuf:"bytes,4,opt,name=full_size,json=fullSize,proto3" json:"full_size,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ImageAsset) Reset() { *m = ImageAsset{} } -func (m *ImageAsset) String() string { return proto.CompactTextString(m) } -func (*ImageAsset) ProtoMessage() {} -func (*ImageAsset) Descriptor() ([]byte, []int) { - return fileDescriptor_f84b8dff1cc51362, []int{2} -} - -func (m *ImageAsset) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageAsset.Unmarshal(m, b) -} -func (m *ImageAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageAsset.Marshal(b, m, deterministic) -} -func (m *ImageAsset) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageAsset.Merge(m, src) -} -func (m *ImageAsset) XXX_Size() int { - return xxx_messageInfo_ImageAsset.Size(m) -} -func (m *ImageAsset) XXX_DiscardUnknown() { - xxx_messageInfo_ImageAsset.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageAsset proto.InternalMessageInfo - -func (m *ImageAsset) GetData() *wrappers.BytesValue { - if m != nil { - return m.Data - } - return nil -} - -func (m *ImageAsset) GetFileSize() *wrappers.Int64Value { - if m != nil { - return m.FileSize - } - return nil -} - -func (m *ImageAsset) GetMimeType() enums.MimeTypeEnum_MimeType { - if m != nil { - return m.MimeType - } - return enums.MimeTypeEnum_UNSPECIFIED -} - -func (m *ImageAsset) GetFullSize() *ImageDimension { - if m != nil { - return m.FullSize - } - return nil -} - -// Metadata for an image at a certain size, either original or resized. -type ImageDimension struct { - // Height of the image. - HeightPixels *wrappers.Int64Value `protobuf:"bytes,1,opt,name=height_pixels,json=heightPixels,proto3" json:"height_pixels,omitempty"` - // Width of the image. - WidthPixels *wrappers.Int64Value `protobuf:"bytes,2,opt,name=width_pixels,json=widthPixels,proto3" json:"width_pixels,omitempty"` - // A URL that returns the image with this height and width. - Url *wrappers.StringValue `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ImageDimension) Reset() { *m = ImageDimension{} } -func (m *ImageDimension) String() string { return proto.CompactTextString(m) } -func (*ImageDimension) ProtoMessage() {} -func (*ImageDimension) Descriptor() ([]byte, []int) { - return fileDescriptor_f84b8dff1cc51362, []int{3} -} - -func (m *ImageDimension) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageDimension.Unmarshal(m, b) -} -func (m *ImageDimension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageDimension.Marshal(b, m, deterministic) -} -func (m *ImageDimension) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageDimension.Merge(m, src) -} -func (m *ImageDimension) XXX_Size() int { - return xxx_messageInfo_ImageDimension.Size(m) -} -func (m *ImageDimension) XXX_DiscardUnknown() { - xxx_messageInfo_ImageDimension.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageDimension proto.InternalMessageInfo - -func (m *ImageDimension) GetHeightPixels() *wrappers.Int64Value { - if m != nil { - return m.HeightPixels - } - return nil -} - -func (m *ImageDimension) GetWidthPixels() *wrappers.Int64Value { - if m != nil { - return m.WidthPixels - } - return nil -} - -func (m *ImageDimension) GetUrl() *wrappers.StringValue { - if m != nil { - return m.Url - } - return nil -} - -// A Text asset. -type TextAsset struct { - // Text content of the text asset. - Text *wrappers.StringValue `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TextAsset) Reset() { *m = TextAsset{} } -func (m *TextAsset) String() string { return proto.CompactTextString(m) } -func (*TextAsset) ProtoMessage() {} -func (*TextAsset) Descriptor() ([]byte, []int) { - return fileDescriptor_f84b8dff1cc51362, []int{4} -} - -func (m *TextAsset) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextAsset.Unmarshal(m, b) -} -func (m *TextAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextAsset.Marshal(b, m, deterministic) -} -func (m *TextAsset) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextAsset.Merge(m, src) -} -func (m *TextAsset) XXX_Size() int { - return xxx_messageInfo_TextAsset.Size(m) -} -func (m *TextAsset) XXX_DiscardUnknown() { - xxx_messageInfo_TextAsset.DiscardUnknown(m) -} - -var xxx_messageInfo_TextAsset proto.InternalMessageInfo - -func (m *TextAsset) GetText() *wrappers.StringValue { - if m != nil { - return m.Text - } - return nil -} - -func init() { - proto.RegisterType((*YoutubeVideoAsset)(nil), "google.ads.googleads.v1.common.YoutubeVideoAsset") - proto.RegisterType((*MediaBundleAsset)(nil), "google.ads.googleads.v1.common.MediaBundleAsset") - proto.RegisterType((*ImageAsset)(nil), "google.ads.googleads.v1.common.ImageAsset") - proto.RegisterType((*ImageDimension)(nil), "google.ads.googleads.v1.common.ImageDimension") - proto.RegisterType((*TextAsset)(nil), "google.ads.googleads.v1.common.TextAsset") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/common/asset_types.proto", fileDescriptor_f84b8dff1cc51362) -} - -var fileDescriptor_f84b8dff1cc51362 = []byte{ - // 537 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x93, 0x41, 0x6b, 0xdb, 0x30, - 0x14, 0xc7, 0x71, 0x12, 0x46, 0xa2, 0x76, 0x59, 0xe7, 0x53, 0xc8, 0x4a, 0x29, 0x3e, 0xf5, 0x32, - 0xb9, 0xe9, 0xca,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 0x96, - 0xeb, 0xbe, 0x71, 0x31, 0xc2, 0xe0, 0x0d, 0x6a, 0x5c, 0xc2, 0x42, 0xbb, 0xe6, 0x1e, 0xa2, 0x9a, - 0x86, 0x85, 0x7e, 0xd0, 0xb0, 0x59, 0x65, 0xf7, 0xd6, 0x43, 0xc1, 0x95, 0xe4, 0xf7, 0xd4, 0xb0, - 0xfb, 0xc4, 0xf2, 0x4d, 0x0b, 0x54, 0xdf, 0xc0, 0xfa, 0xde, 0x97, 0xd3, 0xd2, 0x92, 0xc8, 0x94, - 0x88, 0x04, 0xcb, 0x3c, 0x09, 0x13, 0x10, 0xf6, 0xa8, 0xd5, 0xb3, 0xcb, 0x98, 0xda, 0xf4, 0xae, - 0x5f, 0xbb, 0xcf, 0xf7, 0x4a, 0xf5, 0x2c, 0x8e, 0x7f, 0x54, 0xf6, 0xce, 0x1c, 0x2c, 0xa6, 0x0a, - 0xbb, 0xd0, 0x44, 0xc3, 0x0e, 0x3e, 0xb1, 0xb2, 0x5f, 0x2b, 0xc1, 0x28, 0xa6, 0x6a, 0xb4, 0x16, - 0x8c, 0x86, 0x9d, 0x91, 0x13, 0xdc, 0x56, 0x02, 0xb7, 0x1a, 0x45, 0x31, 0x55, 0x51, 0xb4, 0x96, - 0x44, 0xd1, 0xb0, 0x13, 0x45, 0x4e, 0x34, 0x79, 0x64, 0xb3, 0x7b, 0xf1, 0x3b, 0x00, 0x00, 0xff, - 0xff, 0x4a, 0x4f, 0x22, 0x74, 0x74, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/bidding.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/bidding.pb.go deleted file mode 100644 index d9029eba..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/bidding.pb.go +++ /dev/null @@ -1,896 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/common/bidding.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Commission is an automatic bidding strategy in which the advertiser pays a -// certain portion of the conversion value. -type Commission struct { - // Commission rate defines the portion of the conversion value that the - // advertiser will be billed. A commission rate of x should be passed into - // this field as (x * 1,000,000). For example, 106,000 represents a commission - // rate of 0.106 (10.6%). - CommissionRateMicros *wrappers.Int64Value `protobuf:"bytes,1,opt,name=commission_rate_micros,json=commissionRateMicros,proto3" json:"commission_rate_micros,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Commission) Reset() { *m = Commission{} } -func (m *Commission) String() string { return proto.CompactTextString(m) } -func (*Commission) ProtoMessage() {} -func (*Commission) Descriptor() ([]byte, []int) { - return fileDescriptor_b08e50fa745dd88c, []int{0} -} - -func (m *Commission) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Commission.Unmarshal(m, b) -} -func (m *Commission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Commission.Marshal(b, m, deterministic) -} -func (m *Commission) XXX_Merge(src proto.Message) { - xxx_messageInfo_Commission.Merge(m, src) -} -func (m *Commission) XXX_Size() int { - return xxx_messageInfo_Commission.Size(m) -} -func (m *Commission) XXX_DiscardUnknown() { - xxx_messageInfo_Commission.DiscardUnknown(m) -} - -var xxx_messageInfo_Commission proto.InternalMessageInfo - -func (m *Commission) GetCommissionRateMicros() *wrappers.Int64Value { - if m != nil { - return m.CommissionRateMicros - } - return nil -} - -// 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_b08e50fa745dd88c, []int{1} -} - -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 (m *EnhancedCpc) XXX_Merge(src proto.Message) { - xxx_messageInfo_EnhancedCpc.Merge(m, 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_b08e50fa745dd88c, []int{2} -} - -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 (m *ManualCpc) XXX_Merge(src proto.Message) { - xxx_messageInfo_ManualCpc.Merge(m, 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_b08e50fa745dd88c, []int{3} -} - -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 (m *ManualCpm) XXX_Merge(src proto.Message) { - xxx_messageInfo_ManualCpm.Merge(m, 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_b08e50fa745dd88c, []int{4} -} - -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 (m *ManualCpv) XXX_Merge(src proto.Message) { - xxx_messageInfo_ManualCpv.Merge(m, 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_b08e50fa745dd88c, []int{5} -} - -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 (m *MaximizeConversions) XXX_Merge(src proto.Message) { - xxx_messageInfo_MaximizeConversions.Merge(m, 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_b08e50fa745dd88c, []int{6} -} - -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 (m *MaximizeConversionValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_MaximizeConversionValue.Merge(m, 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.v1.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_b08e50fa745dd88c, []int{7} -} - -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 (m *PageOnePromoted) XXX_Merge(src proto.Message) { - xxx_messageInfo_PageOnePromoted.Merge(m, 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_b08e50fa745dd88c, []int{8} -} - -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 (m *TargetCpa) XXX_Merge(src proto.Message) { - xxx_messageInfo_TargetCpa.Merge(m, 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 -} - -// Target CPM (cost per thousand impressions) is an automated bidding strategy -// that sets bids to optimize performance given the target CPM you set. -type TargetCpm struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TargetCpm) Reset() { *m = TargetCpm{} } -func (m *TargetCpm) String() string { return proto.CompactTextString(m) } -func (*TargetCpm) ProtoMessage() {} -func (*TargetCpm) Descriptor() ([]byte, []int) { - return fileDescriptor_b08e50fa745dd88c, []int{9} -} - -func (m *TargetCpm) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TargetCpm.Unmarshal(m, b) -} -func (m *TargetCpm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TargetCpm.Marshal(b, m, deterministic) -} -func (m *TargetCpm) XXX_Merge(src proto.Message) { - xxx_messageInfo_TargetCpm.Merge(m, src) -} -func (m *TargetCpm) XXX_Size() int { - return xxx_messageInfo_TargetCpm.Size(m) -} -func (m *TargetCpm) XXX_DiscardUnknown() { - xxx_messageInfo_TargetCpm.DiscardUnknown(m) -} - -var xxx_messageInfo_TargetCpm proto.InternalMessageInfo - -// An automated bidding strategy that sets bids so that a certain percentage of -// search ads are shown at the top of the first page (or other targeted -// location). -// Next Id = 4 -type TargetImpressionShare struct { - // The targeted location on the search results page. - Location enums.TargetImpressionShareLocationEnum_TargetImpressionShareLocation `protobuf:"varint,1,opt,name=location,proto3,enum=google.ads.googleads.v1.enums.TargetImpressionShareLocationEnum_TargetImpressionShareLocation" json:"location,omitempty"` - // The desired fraction of ads to be shown in the targeted location in micros. - // E.g. 1% equals 10,000. - LocationFractionMicros *wrappers.Int64Value `protobuf:"bytes,2,opt,name=location_fraction_micros,json=locationFractionMicros,proto3" json:"location_fraction_micros,omitempty"` - // The highest CPC bid the automated bidding system is permitted to specify. - // This is a required field entered by the advertiser that sets the ceiling - // and specified in local micros. - CpcBidCeilingMicros *wrappers.Int64Value `protobuf:"bytes,3,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 *TargetImpressionShare) Reset() { *m = TargetImpressionShare{} } -func (m *TargetImpressionShare) String() string { return proto.CompactTextString(m) } -func (*TargetImpressionShare) ProtoMessage() {} -func (*TargetImpressionShare) Descriptor() ([]byte, []int) { - return fileDescriptor_b08e50fa745dd88c, []int{10} -} - -func (m *TargetImpressionShare) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TargetImpressionShare.Unmarshal(m, b) -} -func (m *TargetImpressionShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TargetImpressionShare.Marshal(b, m, deterministic) -} -func (m *TargetImpressionShare) XXX_Merge(src proto.Message) { - xxx_messageInfo_TargetImpressionShare.Merge(m, src) -} -func (m *TargetImpressionShare) XXX_Size() int { - return xxx_messageInfo_TargetImpressionShare.Size(m) -} -func (m *TargetImpressionShare) XXX_DiscardUnknown() { - xxx_messageInfo_TargetImpressionShare.DiscardUnknown(m) -} - -var xxx_messageInfo_TargetImpressionShare proto.InternalMessageInfo - -func (m *TargetImpressionShare) GetLocation() enums.TargetImpressionShareLocationEnum_TargetImpressionShareLocation { - if m != nil { - return m.Location - } - return enums.TargetImpressionShareLocationEnum_UNSPECIFIED -} - -func (m *TargetImpressionShare) GetLocationFractionMicros() *wrappers.Int64Value { - if m != nil { - return m.LocationFractionMicros - } - return nil -} - -func (m *TargetImpressionShare) GetCpcBidCeilingMicros() *wrappers.Int64Value { - if m != nil { - return m.CpcBidCeilingMicros - } - 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_b08e50fa745dd88c, []int{11} -} - -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 (m *TargetOutrankShare) XXX_Merge(src proto.Message) { - xxx_messageInfo_TargetOutrankShare.Merge(m, 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_b08e50fa745dd88c, []int{12} -} - -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 (m *TargetRoas) XXX_Merge(src proto.Message) { - xxx_messageInfo_TargetRoas.Merge(m, 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_b08e50fa745dd88c, []int{13} -} - -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 (m *TargetSpend) XXX_Merge(src proto.Message) { - xxx_messageInfo_TargetSpend.Merge(m, 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_b08e50fa745dd88c, []int{14} -} - -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 (m *PercentCpc) XXX_Merge(src proto.Message) { - xxx_messageInfo_PercentCpc.Merge(m, 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((*Commission)(nil), "google.ads.googleads.v1.common.Commission") - proto.RegisterType((*EnhancedCpc)(nil), "google.ads.googleads.v1.common.EnhancedCpc") - proto.RegisterType((*ManualCpc)(nil), "google.ads.googleads.v1.common.ManualCpc") - proto.RegisterType((*ManualCpm)(nil), "google.ads.googleads.v1.common.ManualCpm") - proto.RegisterType((*ManualCpv)(nil), "google.ads.googleads.v1.common.ManualCpv") - proto.RegisterType((*MaximizeConversions)(nil), "google.ads.googleads.v1.common.MaximizeConversions") - proto.RegisterType((*MaximizeConversionValue)(nil), "google.ads.googleads.v1.common.MaximizeConversionValue") - proto.RegisterType((*PageOnePromoted)(nil), "google.ads.googleads.v1.common.PageOnePromoted") - proto.RegisterType((*TargetCpa)(nil), "google.ads.googleads.v1.common.TargetCpa") - proto.RegisterType((*TargetCpm)(nil), "google.ads.googleads.v1.common.TargetCpm") - proto.RegisterType((*TargetImpressionShare)(nil), "google.ads.googleads.v1.common.TargetImpressionShare") - proto.RegisterType((*TargetOutrankShare)(nil), "google.ads.googleads.v1.common.TargetOutrankShare") - proto.RegisterType((*TargetRoas)(nil), "google.ads.googleads.v1.common.TargetRoas") - proto.RegisterType((*TargetSpend)(nil), "google.ads.googleads.v1.common.TargetSpend") - proto.RegisterType((*PercentCpc)(nil), "google.ads.googleads.v1.common.PercentCpc") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/common/bidding.proto", fileDescriptor_b08e50fa745dd88c) -} - -var fileDescriptor_b08e50fa745dd88c = []byte{ - // 951 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x96, 0x51, 0x6f, 0x1b, 0x45, - 0x10, 0x80, 0x65, 0xbb, 0xad, 0xe8, 0x3a, 0xa5, 0xe4, 0x92, 0x06, 0x2b, 0xad, 0xaa, 0xea, 0x24, - 0x04, 0x0f, 0xe8,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a2, 0x48, 0x9e, 0x73, 0xe5, 0xcf, - 0x43, 0x8c, 0x50, 0x0c, 0x59, 0x26, 0xac, 0x81, 0xe0, 0x19, 0x5a, 0xa3, 0xd3, 0x1d, 0x2e, 0x3d, - 0xc6, 0x99, 0xa0, 0x0a, 0x74, 0xab, 0xf6, 0xa8, 0xf6, 0x41, 0x73, 0xe3, 0xbe, 0x0f, 0x46, 0x54, - 0xe1, 0xa2, 0x81, 0x34, 0x1f, 0x7f, 0xb4, 0x47, 0xd2, 0x82, 0x8f, 0x56, 0x67, 0xaa, 0x23, 0x62, - 0xf8, 0xae, 0x55, 0x0c, 0xef, 0xa0, 0xe6, 0x96, 0x3c, 0x22, 0x92, 0x72, 0x16, 0xe7, 0x34, 0xfc, - 0x1a, 0xdd, 0xde, 0x25, 0xb2, 0x20, 0x69, 0x9c, 0xd3, 0x60, 0x07, 0xad, 0x72, 0x7f, 0x86, 0x69, - 0x4e, 0x31, 0x97, 0x64, 0x92, 0x72, 0xe6, 0x8d, 0xad, 0xcf, 0x19, 0xeb, 0x03, 0xa4, 0xce, 0x56, - 0xc0, 0x67, 0xcc, 0x2d, 0xa7, 0x15, 0x36, 0x67, 0xe8, 0xec, 0xd5, 0xcd, 0x71, 0x78, 0x0f, 0xad, - 0xec, 0x92, 0xef, 0x44, 0x26, 0x5e, 0xf2, 0x18, 0xe4, 0x31, 0x57, 0xa5, 0x8f, 0x3a, 0xfc, 0x0a, - 0xbd, 0x3b, 0xff, 0xb7, 0xe5, 0x07, 0x9f, 0xa2, 0xa6, 0x0f, 0xbf, 0x02, 0x52, 0xdd, 0xfe, 0xc1, - 0x9c, 0x43, 0x9b, 0x50, 0x4c, 0x52, 0xee, 0x5c, 0x42, 0x4e, 0x61, 0x04, 0x44, 0x87, 0xbf, 0xdd, - 0x40, 0x77, 0x87, 0x24, 0xe1, 0x4f, 0x25, 0x1f, 0xfa, 0x0a, 0x08, 0xbe, 0x47, 0x77, 0x5e, 0x2b, - 0x02, 0x0b, 0x7d, 0x7b, 0x63, 0x3f, 0x3a, 0xaf, 0xd4, 0x6c, 0x15, 0x44, 0xff, 0xc0, 0x8c, 0x3d, - 0x62, 0x1b, 0x48, 0xba, 0x25, 0x8b, 0xec, 0xa2, 0xf3, 0xd1, 0x92, 0x7e, 0x65, 0x17, 0x0c, 0xd1, - 0x5a, 0x19, 0xe4, 0x89, 0x60, 0x98, 0x72, 0x91, 0x0a, 0x99, 0x54, 0xc9, 0xad, 0x2f, 0x4e, 0xee, - 0x0a, 0xcd, 0x69, 0x5f, 0xb0, 0xd8, 0x29, 0xba, 0xdc, 0x06, 0x9f, 0xa1, 0xa5, 0x92, 0x96, 0x01, - 0x13, 0x87, 0x82, 0xab, 0x56, 0xe3, 0x0d, 0xc2, 0xd4, 0x9c, 0x08, 0xb6, 0xeb, 0x15, 0x82, 0x01, - 0x5a, 0x01, 0x99, 0x9e, 0x62, 0x45, 0x84, 0xe6, 0xd8, 0x7b, 0xa7, 0x5b, 0x37, 0x16, 0xe6, 0xff, - 0x9d, 0x52, 0x6d, 0x54, 0x6a, 0xc5, 0xd6, 0x2f, 0x1d, 0xbc, 0x40, 0xef, 0xbd, 0x46, 0xc1, 0x27, - 0x47, 0x5c, 0xe2, 0x49, 0xc1, 0xca, 0x24, 0x52, 0x90, 0x65, 0x28, 0x84, 0xe4, 0xac, 0x75, 0x73, - 0x21, 0xfc, 0x91, 0x9a, 0x81, 0xbf, 0x3c, 0xe2, 0xb2, 0x6f, 0x21, 0xf1, 0x8c, 0x11, 0x64, 0xe8, - 0xfd, 0x33, 0x8c, 0x7d, 0x5b, 0x90, 0x54, 0x98, 0x53, 0xac, 0x29, 0x28, 0x8e, 0x85, 0xc6, 0x29, - 0x9c, 0xb4, 0x6e, 0x5d, 0xda, 0xdc, 0x33, 0x87, 0x19, 0x97, 0x94, 0x81, 0xde, 0x81, 0x93, 0xf0, - 0xaf, 0x1a, 0xba, 0xfd, 0xdc, 0x56, 0x57, 0x9c, 0x93, 0x60, 0x1b,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, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/click_location.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/click_location.pb.go deleted file mode 100644 index 917e2aca..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/click_location.pb.go +++ /dev/null @@ -1,136 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/common/click_location.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Location criteria associated with a click. -type ClickLocation struct { - // The city location criterion associated with the impression. - City *wrappers.StringValue `protobuf:"bytes,1,opt,name=city,proto3" json:"city,omitempty"` - // The country location criterion associated with the impression. - Country *wrappers.StringValue `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"` - // The metro location criterion associated with the impression. - Metro *wrappers.StringValue `protobuf:"bytes,3,opt,name=metro,proto3" json:"metro,omitempty"` - // The most specific location criterion associated with the impression. - MostSpecific *wrappers.StringValue `protobuf:"bytes,4,opt,name=most_specific,json=mostSpecific,proto3" json:"most_specific,omitempty"` - // The region location criterion associated with the impression. - Region *wrappers.StringValue `protobuf:"bytes,5,opt,name=region,proto3" json:"region,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ClickLocation) Reset() { *m = ClickLocation{} } -func (m *ClickLocation) String() string { return proto.CompactTextString(m) } -func (*ClickLocation) ProtoMessage() {} -func (*ClickLocation) Descriptor() ([]byte, []int) { - return fileDescriptor_68f6b7e96a137729, []int{0} -} - -func (m *ClickLocation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClickLocation.Unmarshal(m, b) -} -func (m *ClickLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClickLocation.Marshal(b, m, deterministic) -} -func (m *ClickLocation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClickLocation.Merge(m, src) -} -func (m *ClickLocation) XXX_Size() int { - return xxx_messageInfo_ClickLocation.Size(m) -} -func (m *ClickLocation) XXX_DiscardUnknown() { - xxx_messageInfo_ClickLocation.DiscardUnknown(m) -} - -var xxx_messageInfo_ClickLocation proto.InternalMessageInfo - -func (m *ClickLocation) GetCity() *wrappers.StringValue { - if m != nil { - return m.City - } - return nil -} - -func (m *ClickLocation) GetCountry() *wrappers.StringValue { - if m != nil { - return m.Country - } - return nil -} - -func (m *ClickLocation) GetMetro() *wrappers.StringValue { - if m != nil { - return m.Metro - } - return nil -} - -func (m *ClickLocation) GetMostSpecific() *wrappers.StringValue { - if m != nil { - return m.MostSpecific - } - return nil -} - -func (m *ClickLocation) GetRegion() *wrappers.StringValue { - if m != nil { - return m.Region - } - return nil -} - -func init() { - proto.RegisterType((*ClickLocation)(nil), "google.ads.googleads.v1.common.ClickLocation") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/common/click_location.proto", fileDescriptor_68f6b7e96a137729) -} - -var fileDescriptor_68f6b7e96a137729 = []byte{ - // 354 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xbf, 0x6a, 0xeb, 0x30, - 0x14, 0xc6, 0xb1, 0xf3, 0xe7, 0x82, 0xee, 0xcd, 0xe2, 0xc9, 0x84, 0x10, 0x2e, 0x99, 0xee, 0x24, - 0x5d, 0x27, 0xa5, 0x83, 0x3a, 0x39, 0x29, 0x64, 0x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, 0x13, 0x07, - 0xc1, 0xfc, 0x7e, 0x07, 0xf7, 0x4f, 0xa5, 0x6c, 0x1b, 0xc3, 0xbb, 0x42, 0x43, 0x95, 0x71, 0x01, - 0xd2, 0x1f, 0x74, 0x70, 0x1b, 0x76, 0xf9, 0xe1, 0xa0, 0x19, 0x83, 0x02, 0xff, 0x7c, 0x1a, 0x4b, - 0xef, 0xcb, 0xcf, 0xdc, 0x54, 0x89, 0x1b, 0xe7, 0xe1, 0xb6, 0xb1, 0x38, 0xe4, 0x89, 0xe4, 0x18, - 0x14, 0x27, 0x3c, 0x93, 0x75, 0x5f, 0xbb, 0x08, 0xa5, 0xd0, 0xdf, 0xed, 0xc5, 0x8d, 0xbd, 0x3c, - 0xbb, 0xbd, 0x75, 0x18, 0xbe, 0xba, 0xd3, 0xb5, 0x0d, 0x0b, 0x53, 0x8d, 0xed, 0x58, 0x4d, 0x51, - 0x80, 0x57, 0x35, 0xf6, 0xd6, 0x02, 0x71, 0x98, 0xea, 0xf8, 0x02, 0xc4, 0x51, 0x10, 0x5b, 0xe0, - 0xdd, 0x9d, 0xd9, 0xa7, 0x94, 0x86, 0xa9, 0xa6, 0xf4, 0x82, 0x50, 0x1a, 0x05, 0x94, 0x5a, 0x68, - 0x3f, 0xac, 0xbf, 0x6e, 0xf1, 0x19, 0x00, 0x00, 0xff, 0xff, 0xde, 0x4e, 0x7e, 0xc7, 0xb4, 0x02, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/criteria.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/criteria.pb.go deleted file mode 100644 index b2efb824..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/criteria.pb.go +++ /dev/null @@ -1,3050 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/common/criteria.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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.v1.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_90481ed808a2095c, []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 (m *KeywordInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordInfo.Merge(m, 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_90481ed808a2095c, []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 (m *PlacementInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_PlacementInfo.Merge(m, 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 mobile app category criterion. -type MobileAppCategoryInfo struct { - // The mobile app category constant resource name. - MobileAppCategoryConstant *wrappers.StringValue `protobuf:"bytes,1,opt,name=mobile_app_category_constant,json=mobileAppCategoryConstant,proto3" json:"mobile_app_category_constant,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MobileAppCategoryInfo) Reset() { *m = MobileAppCategoryInfo{} } -func (m *MobileAppCategoryInfo) String() string { return proto.CompactTextString(m) } -func (*MobileAppCategoryInfo) ProtoMessage() {} -func (*MobileAppCategoryInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_90481ed808a2095c, []int{2} -} - -func (m *MobileAppCategoryInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MobileAppCategoryInfo.Unmarshal(m, b) -} -func (m *MobileAppCategoryInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MobileAppCategoryInfo.Marshal(b, m, deterministic) -} -func (m *MobileAppCategoryInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_MobileAppCategoryInfo.Merge(m, src) -} -func (m *MobileAppCategoryInfo) XXX_Size() int { - return xxx_messageInfo_MobileAppCategoryInfo.Size(m) -} -func (m *MobileAppCategoryInfo) XXX_DiscardUnknown() { - xxx_messageInfo_MobileAppCategoryInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_MobileAppCategoryInfo proto.InternalMessageInfo - -func (m *MobileAppCategoryInfo) GetMobileAppCategoryConstant() *wrappers.StringValue { - if m != nil { - return m.MobileAppCategoryConstant - } - return nil -} - -// A mobile application criterion. -type MobileApplicationInfo struct { - // A string that uniquely identifies a mobile application to Google Ads API. - // The format of this string is "{platform}-{platform_native_id}", where - // platform is "1" for iOS apps and "2" for Android apps, and where - // platform_native_id is the mobile application identifier native to the - // corresponding platform. - // For iOS, this native identifier 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, this native identifier 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). - // A well formed app id for Google Ads API would thus be "1-476943146" for iOS - // and "2-com.labpixies.colordrips" for Android. - // This field is required and must be set in CREATE operations. - AppId *wrappers.StringValue `protobuf:"bytes,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` - // Name of this mobile application. - Name *wrappers.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MobileApplicationInfo) Reset() { *m = MobileApplicationInfo{} } -func (m *MobileApplicationInfo) String() string { return proto.CompactTextString(m) } -func (*MobileApplicationInfo) ProtoMessage() {} -func (*MobileApplicationInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_90481ed808a2095c, []int{3} -} - -func (m *MobileApplicationInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MobileApplicationInfo.Unmarshal(m, b) -} -func (m *MobileApplicationInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MobileApplicationInfo.Marshal(b, m, deterministic) -} -func (m *MobileApplicationInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_MobileApplicationInfo.Merge(m, src) -} -func (m *MobileApplicationInfo) XXX_Size() int { - return xxx_messageInfo_MobileApplicationInfo.Size(m) -} -func (m *MobileApplicationInfo) XXX_DiscardUnknown() { - xxx_messageInfo_MobileApplicationInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_MobileApplicationInfo proto.InternalMessageInfo - -func (m *MobileApplicationInfo) GetAppId() *wrappers.StringValue { - if m != nil { - return m.AppId - } - return nil -} - -func (m *MobileApplicationInfo) GetName() *wrappers.StringValue { - if m != nil { - return m.Name - } - 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_90481ed808a2095c, []int{4} -} - -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 (m *LocationInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocationInfo.Merge(m, 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.v1.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_90481ed808a2095c, []int{5} -} - -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 (m *DeviceInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeviceInfo.Merge(m, 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.v1.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_90481ed808a2095c, []int{6} -} - -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 (m *PreferredContentInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_PreferredContentInfo.Merge(m, 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.v1.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_90481ed808a2095c, []int{7} -} - -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 (m *ListingGroupInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListingGroupInfo.Merge(m, 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_90481ed808a2095c, []int{8} -} - -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 (m *ListingScopeInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListingScopeInfo.Merge(m, 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_ProductBiddingCategory - // *ListingDimensionInfo_ProductChannel - // *ListingDimensionInfo_ProductChannelExclusivity - // *ListingDimensionInfo_ProductCondition - // *ListingDimensionInfo_ProductItemId - // *ListingDimensionInfo_ProductType - // *ListingDimensionInfo_UnknownListingDimension - 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_90481ed808a2095c, []int{9} -} - -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 (m *ListingDimensionInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListingDimensionInfo.Merge(m, 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_ProductBiddingCategory struct { - ProductBiddingCategory *ProductBiddingCategoryInfo `protobuf:"bytes,13,opt,name=product_bidding_category,json=productBiddingCategory,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_ProductItemId struct { - ProductItemId *ProductItemIdInfo `protobuf:"bytes,11,opt,name=product_item_id,json=productItemId,proto3,oneof"` -} - -type ListingDimensionInfo_ProductType struct { - ProductType *ProductTypeInfo `protobuf:"bytes,12,opt,name=product_type,json=productType,proto3,oneof"` -} - -type ListingDimensionInfo_UnknownListingDimension struct { - UnknownListingDimension *UnknownListingDimensionInfo `protobuf:"bytes,14,opt,name=unknown_listing_dimension,json=unknownListingDimension,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_ProductBiddingCategory) isListingDimensionInfo_Dimension() {} - -func (*ListingDimensionInfo_ProductChannel) isListingDimensionInfo_Dimension() {} - -func (*ListingDimensionInfo_ProductChannelExclusivity) isListingDimensionInfo_Dimension() {} - -func (*ListingDimensionInfo_ProductCondition) isListingDimensionInfo_Dimension() {} - -func (*ListingDimensionInfo_ProductItemId) isListingDimensionInfo_Dimension() {} - -func (*ListingDimensionInfo_ProductType) isListingDimensionInfo_Dimension() {} - -func (*ListingDimensionInfo_UnknownListingDimension) 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) GetProductBiddingCategory() *ProductBiddingCategoryInfo { - if x, ok := m.GetDimension().(*ListingDimensionInfo_ProductBiddingCategory); ok { - return x.ProductBiddingCategory - } - 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) GetProductItemId() *ProductItemIdInfo { - if x, ok := m.GetDimension().(*ListingDimensionInfo_ProductItemId); ok { - return x.ProductItemId - } - return nil -} - -func (m *ListingDimensionInfo) GetProductType() *ProductTypeInfo { - if x, ok := m.GetDimension().(*ListingDimensionInfo_ProductType); ok { - return x.ProductType - } - return nil -} - -func (m *ListingDimensionInfo) GetUnknownListingDimension() *UnknownListingDimensionInfo { - if x, ok := m.GetDimension().(*ListingDimensionInfo_UnknownListingDimension); ok { - return x.UnknownListingDimension - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ListingDimensionInfo) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ListingDimensionInfo_ListingBrand)(nil), - (*ListingDimensionInfo_HotelId)(nil), - (*ListingDimensionInfo_HotelClass)(nil), - (*ListingDimensionInfo_HotelCountryRegion)(nil), - (*ListingDimensionInfo_HotelState)(nil), - (*ListingDimensionInfo_HotelCity)(nil), - (*ListingDimensionInfo_ListingCustomAttribute)(nil), - (*ListingDimensionInfo_ProductBiddingCategory)(nil), - (*ListingDimensionInfo_ProductChannel)(nil), - (*ListingDimensionInfo_ProductChannelExclusivity)(nil), - (*ListingDimensionInfo_ProductCondition)(nil), - (*ListingDimensionInfo_ProductItemId)(nil), - (*ListingDimensionInfo_ProductType)(nil), - (*ListingDimensionInfo_UnknownListingDimension)(nil), - } -} - -// 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_90481ed808a2095c, []int{10} -} - -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 (m *ListingBrandInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListingBrandInfo.Merge(m, 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_90481ed808a2095c, []int{11} -} - -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 (m *HotelIdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_HotelIdInfo.Merge(m, 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_90481ed808a2095c, []int{12} -} - -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 (m *HotelClassInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_HotelClassInfo.Merge(m, 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_90481ed808a2095c, []int{13} -} - -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 (m *HotelCountryRegionInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_HotelCountryRegionInfo.Merge(m, 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_90481ed808a2095c, []int{14} -} - -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 (m *HotelStateInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_HotelStateInfo.Merge(m, 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_90481ed808a2095c, []int{15} -} - -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 (m *HotelCityInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_HotelCityInfo.Merge(m, 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.v1.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_90481ed808a2095c, []int{16} -} - -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 (m *ListingCustomAttributeInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListingCustomAttributeInfo.Merge(m, 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 -} - -// Bidding category of a product offer. -type ProductBiddingCategoryInfo struct { - // ID of the product bidding category. - // - // This ID is equivalent to the google_product_category ID as described in - // this article: https://support.google.com/merchants/answer/6324436. - Id *wrappers.Int64Value `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // Two-letter upper-case country code of the product bidding category. It must - // match the campaign.shopping_setting.sales_country field. - CountryCode *wrappers.StringValue `protobuf:"bytes,2,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` - // Level of the product bidding category. - Level enums.ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel `protobuf:"varint,3,opt,name=level,proto3,enum=google.ads.googleads.v1.enums.ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel" json:"level,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ProductBiddingCategoryInfo) Reset() { *m = ProductBiddingCategoryInfo{} } -func (m *ProductBiddingCategoryInfo) String() string { return proto.CompactTextString(m) } -func (*ProductBiddingCategoryInfo) ProtoMessage() {} -func (*ProductBiddingCategoryInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_90481ed808a2095c, []int{17} -} - -func (m *ProductBiddingCategoryInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProductBiddingCategoryInfo.Unmarshal(m, b) -} -func (m *ProductBiddingCategoryInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProductBiddingCategoryInfo.Marshal(b, m, deterministic) -} -func (m *ProductBiddingCategoryInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductBiddingCategoryInfo.Merge(m, src) -} -func (m *ProductBiddingCategoryInfo) XXX_Size() int { - return xxx_messageInfo_ProductBiddingCategoryInfo.Size(m) -} -func (m *ProductBiddingCategoryInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ProductBiddingCategoryInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_ProductBiddingCategoryInfo proto.InternalMessageInfo - -func (m *ProductBiddingCategoryInfo) GetId() *wrappers.Int64Value { - if m != nil { - return m.Id - } - return nil -} - -func (m *ProductBiddingCategoryInfo) GetCountryCode() *wrappers.StringValue { - if m != nil { - return m.CountryCode - } - return nil -} - -func (m *ProductBiddingCategoryInfo) GetLevel() enums.ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel { - if m != nil { - return m.Level - } - return enums.ProductBiddingCategoryLevelEnum_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.v1.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_90481ed808a2095c, []int{18} -} - -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 (m *ProductChannelInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductChannelInfo.Merge(m, 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.v1.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_90481ed808a2095c, []int{19} -} - -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 (m *ProductChannelExclusivityInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductChannelExclusivityInfo.Merge(m, 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.v1.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_90481ed808a2095c, []int{20} -} - -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 (m *ProductConditionInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductConditionInfo.Merge(m, 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 -} - -// Item id of a product offer. -type ProductItemIdInfo 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 *ProductItemIdInfo) Reset() { *m = ProductItemIdInfo{} } -func (m *ProductItemIdInfo) String() string { return proto.CompactTextString(m) } -func (*ProductItemIdInfo) ProtoMessage() {} -func (*ProductItemIdInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_90481ed808a2095c, []int{21} -} - -func (m *ProductItemIdInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProductItemIdInfo.Unmarshal(m, b) -} -func (m *ProductItemIdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProductItemIdInfo.Marshal(b, m, deterministic) -} -func (m *ProductItemIdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductItemIdInfo.Merge(m, src) -} -func (m *ProductItemIdInfo) XXX_Size() int { - return xxx_messageInfo_ProductItemIdInfo.Size(m) -} -func (m *ProductItemIdInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ProductItemIdInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_ProductItemIdInfo proto.InternalMessageInfo - -func (m *ProductItemIdInfo) 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.v1.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_90481ed808a2095c, []int{22} -} - -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 (m *ProductTypeInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductTypeInfo.Merge(m, 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 -} - -// Unknown listing dimension. -type UnknownListingDimensionInfo struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UnknownListingDimensionInfo) Reset() { *m = UnknownListingDimensionInfo{} } -func (m *UnknownListingDimensionInfo) String() string { return proto.CompactTextString(m) } -func (*UnknownListingDimensionInfo) ProtoMessage() {} -func (*UnknownListingDimensionInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_90481ed808a2095c, []int{23} -} - -func (m *UnknownListingDimensionInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UnknownListingDimensionInfo.Unmarshal(m, b) -} -func (m *UnknownListingDimensionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UnknownListingDimensionInfo.Marshal(b, m, deterministic) -} -func (m *UnknownListingDimensionInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_UnknownListingDimensionInfo.Merge(m, src) -} -func (m *UnknownListingDimensionInfo) XXX_Size() int { - return xxx_messageInfo_UnknownListingDimensionInfo.Size(m) -} -func (m *UnknownListingDimensionInfo) XXX_DiscardUnknown() { - xxx_messageInfo_UnknownListingDimensionInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_UnknownListingDimensionInfo proto.InternalMessageInfo - -// 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.v1.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_90481ed808a2095c, []int{24} -} - -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 (m *HotelDateSelectionTypeInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_HotelDateSelectionTypeInfo.Merge(m, 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_90481ed808a2095c, []int{25} -} - -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 (m *HotelAdvanceBookingWindowInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_HotelAdvanceBookingWindowInfo.Merge(m, 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_90481ed808a2095c, []int{26} -} - -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 (m *HotelLengthOfStayInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_HotelLengthOfStayInfo.Merge(m, 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.v1.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_90481ed808a2095c, []int{27} -} - -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 (m *HotelCheckInDayInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_HotelCheckInDayInfo.Merge(m, 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.v1.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_90481ed808a2095c, []int{28} -} - -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 (m *InteractionTypeInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_InteractionTypeInfo.Merge(m, 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.v1.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.v1.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.v1.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_90481ed808a2095c, []int{29} -} - -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 (m *AdScheduleInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdScheduleInfo.Merge(m, 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.v1.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_90481ed808a2095c, []int{30} -} - -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 (m *AgeRangeInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_AgeRangeInfo.Merge(m, 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.v1.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_90481ed808a2095c, []int{31} -} - -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 (m *GenderInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenderInfo.Merge(m, 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.v1.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_90481ed808a2095c, []int{32} -} - -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 (m *IncomeRangeInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_IncomeRangeInfo.Merge(m, 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.v1.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_90481ed808a2095c, []int{33} -} - -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 (m *ParentalStatusInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ParentalStatusInfo.Merge(m, 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_90481ed808a2095c, []int{34} -} - -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 (m *YouTubeVideoInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_YouTubeVideoInfo.Merge(m, 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_90481ed808a2095c, []int{35} -} - -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 (m *YouTubeChannelInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_YouTubeChannelInfo.Merge(m, 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_90481ed808a2095c, []int{36} -} - -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 (m *UserListInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListInfo.Merge(m, 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.v1.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_90481ed808a2095c, []int{37} -} - -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 (m *ProximityInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProximityInfo.Merge(m, 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_90481ed808a2095c, []int{38} -} - -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 (m *GeoPointInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_GeoPointInfo.Merge(m, 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_90481ed808a2095c, []int{39} -} - -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 (m *AddressInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddressInfo.Merge(m, 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_90481ed808a2095c, []int{40} -} - -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 (m *TopicInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_TopicInfo.Merge(m, 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_90481ed808a2095c, []int{41} -} - -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 (m *LanguageInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_LanguageInfo.Merge(m, 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_90481ed808a2095c, []int{42} -} - -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 (m *IpBlockInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_IpBlockInfo.Merge(m, 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.v1.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_90481ed808a2095c, []int{43} -} - -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 (m *ContentLabelInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ContentLabelInfo.Merge(m, 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_90481ed808a2095c, []int{44} -} - -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 (m *CarrierInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_CarrierInfo.Merge(m, 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_90481ed808a2095c, []int{45} -} - -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 (m *UserInterestInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserInterestInfo.Merge(m, 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 -} - -// Represents a criterion for targeting webpages of an advertiser's website. -type WebpageInfo struct { - // The name of the criterion that is defined by this parameter. The name value - // will be used for identifying, sorting and filtering criteria with this type - // of parameters. - // - // This field is required for CREATE operations and is prohibited on UPDATE - // operations. - CriterionName *wrappers.StringValue `protobuf:"bytes,1,opt,name=criterion_name,json=criterionName,proto3" json:"criterion_name,omitempty"` - // Conditions, or logical expressions, for webpage targeting. The list of - // webpage targeting conditions are and-ed together when evaluated - // for targeting. - // - // This field is required for CREATE operations and is prohibited on UPDATE - // operations. - Conditions []*WebpageConditionInfo `protobuf:"bytes,2,rep,name=conditions,proto3" json:"conditions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *WebpageInfo) Reset() { *m = WebpageInfo{} } -func (m *WebpageInfo) String() string { return proto.CompactTextString(m) } -func (*WebpageInfo) ProtoMessage() {} -func (*WebpageInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_90481ed808a2095c, []int{46} -} - -func (m *WebpageInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebpageInfo.Unmarshal(m, b) -} -func (m *WebpageInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebpageInfo.Marshal(b, m, deterministic) -} -func (m *WebpageInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebpageInfo.Merge(m, src) -} -func (m *WebpageInfo) XXX_Size() int { - return xxx_messageInfo_WebpageInfo.Size(m) -} -func (m *WebpageInfo) XXX_DiscardUnknown() { - xxx_messageInfo_WebpageInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_WebpageInfo proto.InternalMessageInfo - -func (m *WebpageInfo) GetCriterionName() *wrappers.StringValue { - if m != nil { - return m.CriterionName - } - return nil -} - -func (m *WebpageInfo) GetConditions() []*WebpageConditionInfo { - if m != nil { - return m.Conditions - } - return nil -} - -// Logical expression for targeting webpages of an advertiser's website. -type WebpageConditionInfo struct { - // Operand of webpage targeting condition. - Operand enums.WebpageConditionOperandEnum_WebpageConditionOperand `protobuf:"varint,1,opt,name=operand,proto3,enum=google.ads.googleads.v1.enums.WebpageConditionOperandEnum_WebpageConditionOperand" json:"operand,omitempty"` - // Operator of webpage targeting condition. - Operator enums.WebpageConditionOperatorEnum_WebpageConditionOperator `protobuf:"varint,2,opt,name=operator,proto3,enum=google.ads.googleads.v1.enums.WebpageConditionOperatorEnum_WebpageConditionOperator" json:"operator,omitempty"` - // Argument of webpage targeting condition. - Argument *wrappers.StringValue `protobuf:"bytes,3,opt,name=argument,proto3" json:"argument,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *WebpageConditionInfo) Reset() { *m = WebpageConditionInfo{} } -func (m *WebpageConditionInfo) String() string { return proto.CompactTextString(m) } -func (*WebpageConditionInfo) ProtoMessage() {} -func (*WebpageConditionInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_90481ed808a2095c, []int{47} -} - -func (m *WebpageConditionInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebpageConditionInfo.Unmarshal(m, b) -} -func (m *WebpageConditionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebpageConditionInfo.Marshal(b, m, deterministic) -} -func (m *WebpageConditionInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebpageConditionInfo.Merge(m, src) -} -func (m *WebpageConditionInfo) XXX_Size() int { - return xxx_messageInfo_WebpageConditionInfo.Size(m) -} -func (m *WebpageConditionInfo) XXX_DiscardUnknown() { - xxx_messageInfo_WebpageConditionInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_WebpageConditionInfo proto.InternalMessageInfo - -func (m *WebpageConditionInfo) GetOperand() enums.WebpageConditionOperandEnum_WebpageConditionOperand { - if m != nil { - return m.Operand - } - return enums.WebpageConditionOperandEnum_UNSPECIFIED -} - -func (m *WebpageConditionInfo) GetOperator() enums.WebpageConditionOperatorEnum_WebpageConditionOperator { - if m != nil { - return m.Operator - } - return enums.WebpageConditionOperatorEnum_UNSPECIFIED -} - -func (m *WebpageConditionInfo) GetArgument() *wrappers.StringValue { - if m != nil { - return m.Argument - } - return nil -} - -// Represents an operating system version to be targeted. -type OperatingSystemVersionInfo struct { - // The operating system version constant resource name. - OperatingSystemVersionConstant *wrappers.StringValue `protobuf:"bytes,1,opt,name=operating_system_version_constant,json=operatingSystemVersionConstant,proto3" json:"operating_system_version_constant,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OperatingSystemVersionInfo) Reset() { *m = OperatingSystemVersionInfo{} } -func (m *OperatingSystemVersionInfo) String() string { return proto.CompactTextString(m) } -func (*OperatingSystemVersionInfo) ProtoMessage() {} -func (*OperatingSystemVersionInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_90481ed808a2095c, []int{48} -} - -func (m *OperatingSystemVersionInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OperatingSystemVersionInfo.Unmarshal(m, b) -} -func (m *OperatingSystemVersionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OperatingSystemVersionInfo.Marshal(b, m, deterministic) -} -func (m *OperatingSystemVersionInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperatingSystemVersionInfo.Merge(m, src) -} -func (m *OperatingSystemVersionInfo) XXX_Size() int { - return xxx_messageInfo_OperatingSystemVersionInfo.Size(m) -} -func (m *OperatingSystemVersionInfo) XXX_DiscardUnknown() { - xxx_messageInfo_OperatingSystemVersionInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_OperatingSystemVersionInfo proto.InternalMessageInfo - -func (m *OperatingSystemVersionInfo) GetOperatingSystemVersionConstant() *wrappers.StringValue { - if m != nil { - return m.OperatingSystemVersionConstant - } - return nil -} - -// An app payment model criterion. -type AppPaymentModelInfo struct { - // Type of the app payment model. - Type enums.AppPaymentModelTypeEnum_AppPaymentModelType `protobuf:"varint,1,opt,name=type,proto3,enum=google.ads.googleads.v1.enums.AppPaymentModelTypeEnum_AppPaymentModelType" json:"type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AppPaymentModelInfo) Reset() { *m = AppPaymentModelInfo{} } -func (m *AppPaymentModelInfo) String() string { return proto.CompactTextString(m) } -func (*AppPaymentModelInfo) ProtoMessage() {} -func (*AppPaymentModelInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_90481ed808a2095c, []int{49} -} - -func (m *AppPaymentModelInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AppPaymentModelInfo.Unmarshal(m, b) -} -func (m *AppPaymentModelInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AppPaymentModelInfo.Marshal(b, m, deterministic) -} -func (m *AppPaymentModelInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_AppPaymentModelInfo.Merge(m, src) -} -func (m *AppPaymentModelInfo) XXX_Size() int { - return xxx_messageInfo_AppPaymentModelInfo.Size(m) -} -func (m *AppPaymentModelInfo) XXX_DiscardUnknown() { - xxx_messageInfo_AppPaymentModelInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_AppPaymentModelInfo proto.InternalMessageInfo - -func (m *AppPaymentModelInfo) GetType() enums.AppPaymentModelTypeEnum_AppPaymentModelType { - if m != nil { - return m.Type - } - return enums.AppPaymentModelTypeEnum_UNSPECIFIED -} - -// A mobile device criterion. -type MobileDeviceInfo struct { - // The mobile device constant resource name. - MobileDeviceConstant *wrappers.StringValue `protobuf:"bytes,1,opt,name=mobile_device_constant,json=mobileDeviceConstant,proto3" json:"mobile_device_constant,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MobileDeviceInfo) Reset() { *m = MobileDeviceInfo{} } -func (m *MobileDeviceInfo) String() string { return proto.CompactTextString(m) } -func (*MobileDeviceInfo) ProtoMessage() {} -func (*MobileDeviceInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_90481ed808a2095c, []int{50} -} - -func (m *MobileDeviceInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MobileDeviceInfo.Unmarshal(m, b) -} -func (m *MobileDeviceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MobileDeviceInfo.Marshal(b, m, deterministic) -} -func (m *MobileDeviceInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_MobileDeviceInfo.Merge(m, src) -} -func (m *MobileDeviceInfo) XXX_Size() int { - return xxx_messageInfo_MobileDeviceInfo.Size(m) -} -func (m *MobileDeviceInfo) XXX_DiscardUnknown() { - xxx_messageInfo_MobileDeviceInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_MobileDeviceInfo proto.InternalMessageInfo - -func (m *MobileDeviceInfo) GetMobileDeviceConstant() *wrappers.StringValue { - if m != nil { - return m.MobileDeviceConstant - } - return nil -} - -// A custom affinity criterion. -// A criterion of this type is only targetable. -type CustomAffinityInfo struct { - // The CustomInterest resource name. - CustomAffinity *wrappers.StringValue `protobuf:"bytes,1,opt,name=custom_affinity,json=customAffinity,proto3" json:"custom_affinity,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomAffinityInfo) Reset() { *m = CustomAffinityInfo{} } -func (m *CustomAffinityInfo) String() string { return proto.CompactTextString(m) } -func (*CustomAffinityInfo) ProtoMessage() {} -func (*CustomAffinityInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_90481ed808a2095c, []int{51} -} - -func (m *CustomAffinityInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomAffinityInfo.Unmarshal(m, b) -} -func (m *CustomAffinityInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomAffinityInfo.Marshal(b, m, deterministic) -} -func (m *CustomAffinityInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomAffinityInfo.Merge(m, src) -} -func (m *CustomAffinityInfo) XXX_Size() int { - return xxx_messageInfo_CustomAffinityInfo.Size(m) -} -func (m *CustomAffinityInfo) XXX_DiscardUnknown() { - xxx_messageInfo_CustomAffinityInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomAffinityInfo proto.InternalMessageInfo - -func (m *CustomAffinityInfo) GetCustomAffinity() *wrappers.StringValue { - if m != nil { - return m.CustomAffinity - } - return nil -} - -// A custom intent criterion. -// A criterion of this type is only targetable. -type CustomIntentInfo struct { - // The CustomInterest resource name. - CustomIntent *wrappers.StringValue `protobuf:"bytes,1,opt,name=custom_intent,json=customIntent,proto3" json:"custom_intent,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomIntentInfo) Reset() { *m = CustomIntentInfo{} } -func (m *CustomIntentInfo) String() string { return proto.CompactTextString(m) } -func (*CustomIntentInfo) ProtoMessage() {} -func (*CustomIntentInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_90481ed808a2095c, []int{52} -} - -func (m *CustomIntentInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomIntentInfo.Unmarshal(m, b) -} -func (m *CustomIntentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomIntentInfo.Marshal(b, m, deterministic) -} -func (m *CustomIntentInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomIntentInfo.Merge(m, src) -} -func (m *CustomIntentInfo) XXX_Size() int { - return xxx_messageInfo_CustomIntentInfo.Size(m) -} -func (m *CustomIntentInfo) XXX_DiscardUnknown() { - xxx_messageInfo_CustomIntentInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomIntentInfo proto.InternalMessageInfo - -func (m *CustomIntentInfo) GetCustomIntent() *wrappers.StringValue { - if m != nil { - return m.CustomIntent - } - return nil -} - -// A radius around a list of locations specified via a feed. -type LocationGroupInfo struct { - // Feed specifying locations for targeting. - // This is required and must be set in CREATE operations. - Feed *wrappers.StringValue `protobuf:"bytes,1,opt,name=feed,proto3" json:"feed,omitempty"` - // Geo target constant(s) restricting the scope of the geographic area within - // the feed. Currently only one geo target constant is allowed. - GeoTargetConstants []*wrappers.StringValue `protobuf:"bytes,2,rep,name=geo_target_constants,json=geoTargetConstants,proto3" json:"geo_target_constants,omitempty"` - // Distance in units specifying the radius around targeted locations. - // This is required and must be set in CREATE operations. - Radius *wrappers.Int64Value `protobuf:"bytes,3,opt,name=radius,proto3" json:"radius,omitempty"` - // Unit of the radius, miles and meters supported currently. - // This is required and must be set in CREATE operations. - RadiusUnits enums.LocationGroupRadiusUnitsEnum_LocationGroupRadiusUnits `protobuf:"varint,4,opt,name=radius_units,json=radiusUnits,proto3,enum=google.ads.googleads.v1.enums.LocationGroupRadiusUnitsEnum_LocationGroupRadiusUnits" json:"radius_units,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LocationGroupInfo) Reset() { *m = LocationGroupInfo{} } -func (m *LocationGroupInfo) String() string { return proto.CompactTextString(m) } -func (*LocationGroupInfo) ProtoMessage() {} -func (*LocationGroupInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_90481ed808a2095c, []int{53} -} - -func (m *LocationGroupInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LocationGroupInfo.Unmarshal(m, b) -} -func (m *LocationGroupInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LocationGroupInfo.Marshal(b, m, deterministic) -} -func (m *LocationGroupInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocationGroupInfo.Merge(m, src) -} -func (m *LocationGroupInfo) XXX_Size() int { - return xxx_messageInfo_LocationGroupInfo.Size(m) -} -func (m *LocationGroupInfo) XXX_DiscardUnknown() { - xxx_messageInfo_LocationGroupInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_LocationGroupInfo proto.InternalMessageInfo - -func (m *LocationGroupInfo) GetFeed() *wrappers.StringValue { - if m != nil { - return m.Feed - } - return nil -} - -func (m *LocationGroupInfo) GetGeoTargetConstants() []*wrappers.StringValue { - if m != nil { - return m.GeoTargetConstants - } - return nil -} - -func (m *LocationGroupInfo) GetRadius() *wrappers.Int64Value { - if m != nil { - return m.Radius - } - return nil -} - -func (m *LocationGroupInfo) GetRadiusUnits() enums.LocationGroupRadiusUnitsEnum_LocationGroupRadiusUnits { - if m != nil { - return m.RadiusUnits - } - return enums.LocationGroupRadiusUnitsEnum_UNSPECIFIED -} - -func init() { - proto.RegisterType((*KeywordInfo)(nil), "google.ads.googleads.v1.common.KeywordInfo") - proto.RegisterType((*PlacementInfo)(nil), "google.ads.googleads.v1.common.PlacementInfo") - proto.RegisterType((*MobileAppCategoryInfo)(nil), "google.ads.googleads.v1.common.MobileAppCategoryInfo") - proto.RegisterType((*MobileApplicationInfo)(nil), "google.ads.googleads.v1.common.MobileApplicationInfo") - proto.RegisterType((*LocationInfo)(nil), "google.ads.googleads.v1.common.LocationInfo") - proto.RegisterType((*DeviceInfo)(nil), "google.ads.googleads.v1.common.DeviceInfo") - proto.RegisterType((*PreferredContentInfo)(nil), "google.ads.googleads.v1.common.PreferredContentInfo") - proto.RegisterType((*ListingGroupInfo)(nil), "google.ads.googleads.v1.common.ListingGroupInfo") - proto.RegisterType((*ListingScopeInfo)(nil), "google.ads.googleads.v1.common.ListingScopeInfo") - proto.RegisterType((*ListingDimensionInfo)(nil), "google.ads.googleads.v1.common.ListingDimensionInfo") - proto.RegisterType((*ListingBrandInfo)(nil), "google.ads.googleads.v1.common.ListingBrandInfo") - proto.RegisterType((*HotelIdInfo)(nil), "google.ads.googleads.v1.common.HotelIdInfo") - proto.RegisterType((*HotelClassInfo)(nil), "google.ads.googleads.v1.common.HotelClassInfo") - proto.RegisterType((*HotelCountryRegionInfo)(nil), "google.ads.googleads.v1.common.HotelCountryRegionInfo") - proto.RegisterType((*HotelStateInfo)(nil), "google.ads.googleads.v1.common.HotelStateInfo") - proto.RegisterType((*HotelCityInfo)(nil), "google.ads.googleads.v1.common.HotelCityInfo") - proto.RegisterType((*ListingCustomAttributeInfo)(nil), "google.ads.googleads.v1.common.ListingCustomAttributeInfo") - proto.RegisterType((*ProductBiddingCategoryInfo)(nil), "google.ads.googleads.v1.common.ProductBiddingCategoryInfo") - proto.RegisterType((*ProductChannelInfo)(nil), "google.ads.googleads.v1.common.ProductChannelInfo") - proto.RegisterType((*ProductChannelExclusivityInfo)(nil), "google.ads.googleads.v1.common.ProductChannelExclusivityInfo") - proto.RegisterType((*ProductConditionInfo)(nil), "google.ads.googleads.v1.common.ProductConditionInfo") - proto.RegisterType((*ProductItemIdInfo)(nil), "google.ads.googleads.v1.common.ProductItemIdInfo") - proto.RegisterType((*ProductTypeInfo)(nil), "google.ads.googleads.v1.common.ProductTypeInfo") - proto.RegisterType((*UnknownListingDimensionInfo)(nil), "google.ads.googleads.v1.common.UnknownListingDimensionInfo") - proto.RegisterType((*HotelDateSelectionTypeInfo)(nil), "google.ads.googleads.v1.common.HotelDateSelectionTypeInfo") - proto.RegisterType((*HotelAdvanceBookingWindowInfo)(nil), "google.ads.googleads.v1.common.HotelAdvanceBookingWindowInfo") - proto.RegisterType((*HotelLengthOfStayInfo)(nil), "google.ads.googleads.v1.common.HotelLengthOfStayInfo") - proto.RegisterType((*HotelCheckInDayInfo)(nil), "google.ads.googleads.v1.common.HotelCheckInDayInfo") - proto.RegisterType((*InteractionTypeInfo)(nil), "google.ads.googleads.v1.common.InteractionTypeInfo") - proto.RegisterType((*AdScheduleInfo)(nil), "google.ads.googleads.v1.common.AdScheduleInfo") - proto.RegisterType((*AgeRangeInfo)(nil), "google.ads.googleads.v1.common.AgeRangeInfo") - proto.RegisterType((*GenderInfo)(nil), "google.ads.googleads.v1.common.GenderInfo") - proto.RegisterType((*IncomeRangeInfo)(nil), "google.ads.googleads.v1.common.IncomeRangeInfo") - proto.RegisterType((*ParentalStatusInfo)(nil), "google.ads.googleads.v1.common.ParentalStatusInfo") - proto.RegisterType((*YouTubeVideoInfo)(nil), "google.ads.googleads.v1.common.YouTubeVideoInfo") - proto.RegisterType((*YouTubeChannelInfo)(nil), "google.ads.googleads.v1.common.YouTubeChannelInfo") - proto.RegisterType((*UserListInfo)(nil), "google.ads.googleads.v1.common.UserListInfo") - proto.RegisterType((*ProximityInfo)(nil), "google.ads.googleads.v1.common.ProximityInfo") - proto.RegisterType((*GeoPointInfo)(nil), "google.ads.googleads.v1.common.GeoPointInfo") - proto.RegisterType((*AddressInfo)(nil), "google.ads.googleads.v1.common.AddressInfo") - proto.RegisterType((*TopicInfo)(nil), "google.ads.googleads.v1.common.TopicInfo") - proto.RegisterType((*LanguageInfo)(nil), "google.ads.googleads.v1.common.LanguageInfo") - proto.RegisterType((*IpBlockInfo)(nil), "google.ads.googleads.v1.common.IpBlockInfo") - proto.RegisterType((*ContentLabelInfo)(nil), "google.ads.googleads.v1.common.ContentLabelInfo") - proto.RegisterType((*CarrierInfo)(nil), "google.ads.googleads.v1.common.CarrierInfo") - proto.RegisterType((*UserInterestInfo)(nil), "google.ads.googleads.v1.common.UserInterestInfo") - proto.RegisterType((*WebpageInfo)(nil), "google.ads.googleads.v1.common.WebpageInfo") - proto.RegisterType((*WebpageConditionInfo)(nil), "google.ads.googleads.v1.common.WebpageConditionInfo") - proto.RegisterType((*OperatingSystemVersionInfo)(nil), "google.ads.googleads.v1.common.OperatingSystemVersionInfo") - proto.RegisterType((*AppPaymentModelInfo)(nil), "google.ads.googleads.v1.common.AppPaymentModelInfo") - proto.RegisterType((*MobileDeviceInfo)(nil), "google.ads.googleads.v1.common.MobileDeviceInfo") - proto.RegisterType((*CustomAffinityInfo)(nil), "google.ads.googleads.v1.common.CustomAffinityInfo") - proto.RegisterType((*CustomIntentInfo)(nil), "google.ads.googleads.v1.common.CustomIntentInfo") - proto.RegisterType((*LocationGroupInfo)(nil), "google.ads.googleads.v1.common.LocationGroupInfo") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/common/criteria.proto", fileDescriptor_90481ed808a2095c) -} - -var fileDescriptor_90481ed808a2095c = []byte{ - // 2774 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x5a, 0x4f, 0x73, 0x1c, 0x47, - 0x15, 0xcf, 0xae, 0x64, 0x4b, 0x7a, 0x2b, 0xc9, 0xf2, 0x58, 0x51, 0xd6, 0xca, 0x9f, 0x0a, 0x73, - 0x4a, 0x11, 0xb2, 0xb2, 0x64, 0x63, 0x82, 0x42, 0x30, 0x2b, 0xc9, 0xc8, 0x9b, 0xc8, 0xb6, 0xb2, - 0x92, 0xe5, 0xc4, 0x71, 0x98, 0xb4, 0x66, 0x7a, 0x67, 0x1b, 0xcf, 0x74, 0x4f, 0xcd, 0xf4, 0x48, - 0x5a, 0x0e, 0x50, 0x45, 0x15, 0xc5, 0x81, 0x03, 0x77, 0x6e, 0x50, 0x1c, 0x80, 0x13, 0x1f, 0x81, - 0x82, 0x0b, 0xc5, 0x47, 0xe0, 0x13, 0x50, 0x7c, 0x06, 0x0e, 0x54, 0xff, 0x9b, 0x9d, 0xfd, 0xa7, - 0x99, 0x55, 0xe5, 0xa4, 0x9d, 0xee, 0xf7, 0xfb, 0xbd, 0xd7, 0xdd, 0xaf, 0xdf, 0x7b, 0xdd, 0x2d, - 0xf8, 0xc0, 0x67, 0xcc, 0x0f, 0xf0, 0x06, 0xf2, 0x92, 0x0d, 0xf5, 0x53, 0xfc, 0x3a, 0xdb, 0xdc, - 0x70, 0x59, 0x18, 0x32, 0xba, 0xe1, 0xc6, 0x84, 0xe3, 0x98, 0xa0, 0x46, 0x14, 0x33, 0xce, 0xac, - 0x77, 0x94, 0x4c, 0x03, 0x79, 0x49, 0x23, 0x13, 0x6f, 0x9c, 0x6d, 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0xc4, 0xda, 0x72, - 0x8f, 0xa5, 0xa7, 0x81, 0xba, 0xe2, 0x6b, 0x6b, 0x59, 0x8b, 0xc1, 0x62, 0xfe, 0x35, 0x42, 0x57, - 0x97, 0xc5, 0x17, 0xa3, 0x7a, 0x10, 0x6d, 0x89, 0x7d, 0x26, 0xa0, 0x26, 0x89, 0x8f, 0x74, 0xb4, - 0x6b, 0x71, 0xff, 0xc3, 0x7a, 0x08, 0x73, 0xc8, 0xf3, 0x62, 0x9c, 0x24, 0x3a, 0x34, 0x14, 0xde, - 0x92, 0x35, 0x95, 0xb8, 0x1c, 0xae, 0xc1, 0xda, 0x7f, 0xab, 0xc0, 0x62, 0x7e, 0x22, 0xac, 0xcf, - 0x61, 0x3d, 0x60, 0xd4, 0x27, 0x3c, 0xf5, 0xb0, 0x43, 0xa8, 0x13, 0x12, 0x37, 0x66, 0x8e, 0x87, - 0xfd, 0x18, 0xe3, 0x4b, 0xd3, 0x9c, 0x89, 0x42, 0x6f, 0x64, 0xf0, 0x16, 0x7d, 0x2c, 0xc0, 0x7b, - 0x0a, 0x6b, 0x9d, 0xc0, 0xed, 0x00, 0xf1, 0x09, 0xc4, 0xd5, 0x62, 0xe2, 0x35, 0x83, 0x1e, 0xe4, - 0xb5, 0xff, 0x3d, 0x03, 0xb5, 0xdc, 0xd8, 0xac, 0x8f, 0xa1, 0x16, 0xb1, 0x84, 0xa3, 0x40, 0x9d, - 0x10, 0xca, 0xb8, 0x16, 0x28, 0x80, 0x3c, 0x20, 0x34, 0x61, 0x29, 0x8a, 0xd9, 0x19, 0xa1, 0x2e, - 0x2e, 0x7f, 0xc4, 0x58, 0x34, 0x10, 0x49, 0x31, 0x7c, 0x48, 0x99, 0x99, 0xf6, 0x90, 0x92, 0xb7, - 0x41, 0xbe, 0x31, 0xcc, 0x4e, 0x63, 0xc3, 0x13, 0x14, 0x62, 0x71, 0xfc, 0x4c, 0x78, 0x8c, 0x31, - 0x77, 0x8c, 0x9b, 0x5c, 0x2b,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, 0xfc, 0x3a, 0xd9, 0x6c, 0xec, 0x4a, 0xb1, 0x7f, - 0x19, 0x81, 0x97, 0x4d, 0x2f, 0x79, 0x99, 0x09, 0xbc, 0x3c, 0xd9, 0x7c, 0xa9, 0x04, 0xfe, 0x5b, - 0xb5, 0x55, 0xeb, 0xf6, 0x76, 0xd3, 0x4b, 0xb6, 0xb7, 0x33, 0x91, 0xed, 0xed, 0x93, 0xcd, 0xed, - 0x6d, 0x25, 0x74, 0x7a, 0x5d, 0x5a, 0x77, 0xf7, 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, 0x31, 0x13, - 0x6d, 0xc9, 0x91, 0x29, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/criterion_category_availability.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/criterion_category_availability.pb.go deleted file mode 100644 index 00b1d19e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/criterion_category_availability.pb.go +++ /dev/null @@ -1,267 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/common/criterion_category_availability.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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_241d9930057f9832, []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 (m *CriterionCategoryAvailability) XXX_Merge(src proto.Message) { - xxx_messageInfo_CriterionCategoryAvailability.Merge(m, 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.v1.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.v1.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.v1.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_241d9930057f9832, []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 (m *CriterionCategoryChannelAvailability) XXX_Merge(src proto.Message) { - xxx_messageInfo_CriterionCategoryChannelAvailability.Merge(m, 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.v1.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_241d9930057f9832, []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 (m *CriterionCategoryLocaleAvailability) XXX_Merge(src proto.Message) { - xxx_messageInfo_CriterionCategoryLocaleAvailability.Merge(m, 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.v1.common.CriterionCategoryAvailability") - proto.RegisterType((*CriterionCategoryChannelAvailability)(nil), "google.ads.googleads.v1.common.CriterionCategoryChannelAvailability") - proto.RegisterType((*CriterionCategoryLocaleAvailability)(nil), "google.ads.googleads.v1.common.CriterionCategoryLocaleAvailability") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/common/criterion_category_availability.proto", fileDescriptor_241d9930057f9832) -} - -var fileDescriptor_241d9930057f9832 = []byte{ - // 609 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, 0x0a, 0x1c, - 0x7a, 0x72, 0xd4, 0x72, 0x0b, 0x48, 0x90, 0xa6, 0x68, 0x2f, 0x20, 0xaa, 0x2e, 0xea, 0x01, 0x2a, - 0x22, 0x27, 0xf1, 0x06, 0x4b, 0x8e, 0x1d, 0x25, 0x4e, 0x51, 0x5f, 0x81, 0x17, 0xe0, 0x88, 0xe0, - 0xc8, 0xa3, 0xc0, 0x99, 0x1b, 0x4f, 0xc0, 0x3b, 0x20, 0xa1, 0xc4, 0x4e, 0xe9, 0x6e, 0x9b, 0x6c, - 0x7b, 0xaa, 0xeb, 0x99, 0xf9, 0xe6, 0x9f, 0xc9, 0xd8, 0x06, 0x93, 0x88, 0xf3, 0x88, 0x62, 0x0b, - 0x85, 0x99, 0x25, 0x97, 0xc5, 0x6a, 0x39, 0xb4, 0x02, 0x1e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x2c, 0x92, 0xbd, 0x69, 0xab, 0x08, 0xb7, 0x00, 0x38, 0xe0, 0x36, - 0x45, 0x2c, 0xca, 0x51, 0x84, 0x25, 0xa1, 0xb5, 0x07, 0xe1, 0xa4, 0x0a, 0x29, 0x10, 0xe3, 0xbf, - 0x1a, 0x30, 0x03, 0x1e, 0xdf, 0x70, 0xf0, 0xc7, 0x66, 0xe3, 0x45, 0x35, 0x2d, 0xf2, 0x4c, 0xb5, - 0xb7, 0xea, 0x61, 0x82, 0x11, 0x2f, 0x72, 0x40, 0x9e, 0x46, 0x56, 0x84, 0x59, 0xa9, 0xa2, 0xba, - 0x70, 0x13, 0x92, 0xd5, 0xbd, 0x5b, 0x4f, 0xe4, 0xcf, 0x37, 0xbd, 0x75, 0xee, 0x38, 0xdf, 0xf5, - 0xb3, 0x73, 0x09, 0x73, 0xc2, 0x0c, 0xca, 0x65, 0xb1, 0x9a, 0x0f, 0xa1, 0x5b, 0xba, 0xfd, 0xa8, - 0x1c, 0x16, 0x4e, 0x98, 0x2d, 0xd6, 0x0e, 0x8b, 0xf9, 0x70, 0x21, 0x1d, 0xfe, 0xe8, 0xa6, 0xdc, - 0xb5, 0x6d, 0x27, 0xcc, 0x6c, 0x7b, 0xed, 0x62, 0xdb, 0xf3, 0xa1, 0x6d, 0x4b, 0x27, 0xff, 0xb8, - 0x54, 0xf7, 0xf8, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x69, 0x74, 0x4f, 0x48, 0x54, 0x07, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/custom_parameter.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/custom_parameter.pb.go deleted file mode 100644 index e014f394..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/custom_parameter.pb.go +++ /dev/null @@ -1,106 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/common/custom_parameter.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // 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_6d23b9a41ba81714, []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 (m *CustomParameter) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomParameter.Merge(m, 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.v1.common.CustomParameter") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/common/custom_parameter.proto", fileDescriptor_6d23b9a41ba81714) -} - -var fileDescriptor_6d23b9a41ba81714 = []byte{ - // 302 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0xb1, 0x4a, 0xf4, 0x40, - 0x14, 0x85, 0x49, 0x96, 0xff, 0x2f, 0x62, 0x21, 0x04, 0x8b, 0x65, 0x59, 0x16, 0x49, 0x65, 0x75, - 0x87, 0xac, 0xd8, 0x8c, 0x55, 0x76, 0x85, 0x6d, 0x83, 0x42, 0x0a, 0x09, 0xc8, 0x6c, 0x32, 0x0e, - 0xc1, 0x64, 0xee, 0x30, 0x33, 0x89, 0xf8, 0x3a, 0x96, 0x3e, 0x8a, 0x8f, 0x62, 0xe3, 0x2b, 0x48, - 0x32, 0x49, 0x0a, 0x41, 0xb1, 0xca, 0xb9, 0xc9, 0x77, 0xce, 0xb9, 0xb9, 0xc1, 0x95, 0x40, 0x14, - 0x35, 0x27, 0xac, 0x34, 0xc4, 0xc9, 0x5e, 0x75, 0x31, 0x29, 0xb0, 0x69, 0x50, 0x92, 0xa2, 0x35, - 0x16, 0x9b, 0x07, 0xc5, 0x34, 0x6b, 0xb8, 0xe5, 0x1a, 0x94, 0x46, 0x8b, 0xe1, 0xc6, 0xb1, 0xc0, - 0x4a, 0x03, 0xb3, 0x0d, 0xba, 0x18, 0x9c, 0x6d, 0xb5, 0x9e, 0x62, 0x55, 0x45, 0x98, 0x94, 0x68, - 0x99, 0xad, 0x50, 0x1a, 0xe7, 0x5e, 0x8d, 0x6e, 0x32, 0x4c, 0xc7, 0xf6, 0x91, 0x3c, 0x6b, 0xa6, - 0x14, 0xd7, 0xe3, 0xf7, 0xa8, 0x0d, 0x4e, 0xf7, 0x43, 0x6f, 0x3a, 0xd5, 0x86, 0x10, 0x2c, 0x9e, - 0xf8, 0xcb, 0xd2, 0x3b, 0xf7, 0x2e, 0x4e, 0xb6, 0xeb, 0xb1, 0x13, 0xa6, 0x00, 0xb8, 0xb3, 0xba, - 0x92, 0x22, 0x63, 0x75, 0xcb, 0x6f, 0x7b, 0x30, 0xdc, 0x06, 0xff, 0xba, 0x7e, 0x5a, 0xfa, 0x7f, - 0x70, 0x38, 0x74, 0xf7, 0xe9, 0x05, 0x51, 0x81, 0x0d, 0xfc, 0xfe, 0x6f, 0xbb, 0xb3, 0x6f, 0xbb, - 0xa5, 0x7d, 0x64, 0xea, 0xdd, 0xdf, 0x8c, 0x3e, 0x81, 0x35, 0x93, 0x02, 0x50, 0x0b, 0x22, 0xb8, - 0x1c, 0x0a, 0xa7, 0xd3, 0xaa, 0xca, 0xfc, 0x74, 0xe9, 0x6b, 0xf7, 0x78, 0xf5, 0x17, 0x87, 0x24, - 0x79, 0xf3, 0x37, 0x07, 0x17, 0x96, 0x94, 0x06, 0x9c, 0xec, 0x55, 0x16, 0xc3, 0x7e, 0xc0, 0xde, - 0x27, 0x20, 0x4f, 0x4a, 0x93, 0xcf, 0x40, 0x9e, 0xc5, 0xb9, 0x03, 0x3e, 0xfc, 0xc8, 0xbd, 0xa5, - 0x34, 0x29, 0x0d, 0xa5, 0x33, 0x42, 0x69, 0x16, 0x53, 0xea, 0xa0, 0xe3, 0xff, 0x61, 0xbb, 0xcb, - 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x95, 0x34, 0x2b, 0xad, 0x06, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/dates.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/dates.pb.go deleted file mode 100644 index b1d8ac5d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/dates.pb.go +++ /dev/null @@ -1,105 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/common/dates.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // 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_141c54e845fb6763, []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 (m *DateRange) XXX_Merge(src proto.Message) { - xxx_messageInfo_DateRange.Merge(m, 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.v1.common.DateRange") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/common/dates.proto", fileDescriptor_141c54e845fb6763) -} - -var fileDescriptor_141c54e845fb6763 = []byte{ - // 301 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0x4f, 0x4b, 0xc3, 0x30, - 0x18, 0xc6, 0x69, 0x05, 0x75, 0xf1, 0xd6, 0x93, 0x8c, 0x31, 0xa4, 0x27, 0xf1, 0x90, 0x50, 0x3d, - 0x08, 0xd9, 0xa9, 0x73, 0xb0, 0xeb, 0x98, 0xd0, 0x83, 0x14, 0xe4, 0xdd, 0x12, 0x43, 0xa1, 0xcd, - 0x5b, 0x92, 0x6c, 0x9e, 0xfd, 0x2a, 0x1e, 0xfd, 0x28, 0x7e, 0x0f, 0x2f, 0x7e, 0x0a, 0x49, 0xd3, - 0xf6, 0xa6, 0x78, 0xca, 0x93, 0xe4, 0xf7, 0x3c, 0xef, 0x1f, 0x72, 0xa3, 0x10, 0x55, 0x2d, 0x19, - 0x08, 0xcb, 0x82, 0xf4, 0xea, 0x98, 0xb1, 0x3d, 0x36, 0x0d, 0x6a, 0x26, 0xc0, 0x49, 0x4b, 0x5b, - 0x83, 0x0e, 0x93, 0x79, 0x00, 0x28, 0x08, 0x4b, 0x47, 0x96, 0x1e, 0x33, 0x1a, 0xd8, 0xe9, 0x6c, - 0xc8, 0x6a, 0x2b, 0x06, 0x5a, 0xa3, 0x03, 0x57, 0xa1, 0xee, 0xdd, 0xd3, 0xde, 0xcd, 0xba, 0xdb, - 0xee, 0xf0, 0xc2, 0x5e, 0x0d, 0xb4, 0xad, 0x34, 0xfd, 0x7f, 0xfa, 0x16, 0x91, 0xc9, 0x0a, 0x9c, - 0xdc, 0x82, 0x56, 0x32, 0x59, 0x10, 0x62, 0x1d, 0x18, 0xf7, 0xec, 0x1b, 0xb8, 0x8c, 0xae, 0xa2, - 0xeb, 0x8b, 0xdb, 0x59, 0x5f, 0x95, 0x0e, 0x11, 0xf4, 0xd1, 0x99, 0x4a, 0xab, 0x02, 0xea, 0x83, - 0xdc, 0x4e, 0x3a, 0xde, 0x27, 0x24, 0xf7, 0xe4, 0x5c, 0x6a, 0x11, 0xac, 0xf1, 0x3f, 0xac, 0x67, - 0x52, 0x0b, 0x6f, 0x5c, 0x7e, 0x45, 0x24, 0xdd, 0x63, 0x43, 0xff, 0x1e, 0x74, 0x49, 0x3c, 0x6c, - 0x37, 0x3e, 0x6a, 0x13, 0x3d, 0xad, 0x7a, 0x5a, 0x61, 0x0d, 0x5a, 0x51, 0x34, 0x8a, 0x29, 0xa9, - 0xbb, 0x42, 0xc3, 0x4a, 0xdb, 0xca, 0xfe, 0xb6, 0xe1, 0x45, 0x38, 0xde, 0xe3, 0x93, 0x75, 0x9e, - 0x7f, 0xc4, 0xf3, 0x75, 0x08, 0xcb, 0x85, 0xa5, 0x41, 0x7a, 0x55, 0x64, 0xf4, 0xa1, 0xc3, 0x3e, - 0x07, 0xa0, 0xcc, 0x85, 0x2d, 0x47, 0xa0, 0x2c, 0xb2, 0x32, 0x00, 0xdf, 0x71, 0x1a, 0x5e, 0x39, - 0xcf, 0x85, 0xe5, 0x7c, 0x44, 0x38, 0x2f, 0x32, 0xce, 0x03, 0xb4, 0x3b, 0xed, 0xba, 0xbb, 0xfb, - 0x09, 0x00, 0x00, 0xff, 0xff, 0xaf, 0xeb, 0x9e, 0x78, 0xfe, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/explorer_auto_optimizer_setting.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/explorer_auto_optimizer_setting.pb.go deleted file mode 100644 index 19320e4f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/explorer_auto_optimizer_setting.pb.go +++ /dev/null @@ -1,99 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/common/explorer_auto_optimizer_setting.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // 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_ee4d755cec81c290, []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 (m *ExplorerAutoOptimizerSetting) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExplorerAutoOptimizerSetting.Merge(m, 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.v1.common.ExplorerAutoOptimizerSetting") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/common/explorer_auto_optimizer_setting.proto", fileDescriptor_ee4d755cec81c290) -} - -var fileDescriptor_ee4d755cec81c290 = []byte{ - // 306 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xb1, 0x4e, 0xc3, 0x30, - 0x14, 0x45, 0x95, 0x22, 0x3a, 0x84, 0xad, 0x13, 0xaa, 0xaa, 0x0a, 0x3a, 0x31, 0x3d, 0xcb, 0xb0, - 0x99, 0xc9, 0x05, 0x54, 0x31, 0x51, 0x40, 0xca, 0x80, 0x22, 0x45, 0x6e, 0x63, 0x2c, 0x4b, 0x89, - 0x9f, 0x65, 0x3b, 0x05, 0xf1, 0x39, 0x8c, 0x7c, 0x0a, 0x9f, 0xc2, 0x37, 0x30, 0xa0, 0xc6, 0x49, - 0x36, 0x3a, 0xf9, 0xda, 0xbe, 0xef, 0xbe, 0xa3, 0x9b, 0xde, 0x2a, 0x44, 0x55, 0x49, 0x22, 0x4a, - 0x4f, 0xa2, 0xdc, 0xab, 0x1d, 0x25, 0x5b, 0xac, 0x6b, 0x34, 0x44, 0xbe, 0xdb, 0x0a, 0x9d, 0x74, - 0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0x67, 0x6c, 0xb0, 0x30, 0x96, 0x51, 0xc6, 0xa2, 0x69, - 0x33, 0x6e, 0xe9, 0xae, 0xfe, 0x02, 0x00, 0x00, 0xff, 0xff, 0xe6, 0x71, 0x0c, 0x35, 0xfe, 0x01, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/extensions.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/extensions.pb.go deleted file mode 100644 index 94de0d8f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/extensions.pb.go +++ /dev/null @@ -1,1271 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/common/extensions.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Represents an App extension. -type AppFeedItem struct { - // The visible text displayed when the link is rendered in an ad. - // This string must not be empty, and the length of this string should - // be between 1 and 25, inclusive. - LinkText *wrappers.StringValue `protobuf:"bytes,1,opt,name=link_text,json=linkText,proto3" json:"link_text,omitempty"` - // The store-specific ID for the target application. - // This string must not be empty. - AppId *wrappers.StringValue `protobuf:"bytes,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` - // The application store that the target application belongs to. - // This field is required. - AppStore enums.AppStoreEnum_AppStore `protobuf:"varint,3,opt,name=app_store,json=appStore,proto3,enum=google.ads.googleads.v1.enums.AppStoreEnum_AppStore" json:"app_store,omitempty"` - // A list of possible final URLs after all cross domain redirects. - // This list must not be empty. - FinalUrls []*wrappers.StringValue `protobuf:"bytes,4,rep,name=final_urls,json=finalUrls,proto3" json:"final_urls,omitempty"` - // A list of possible final mobile URLs after all cross domain redirects. - FinalMobileUrls []*wrappers.StringValue `protobuf:"bytes,5,rep,name=final_mobile_urls,json=finalMobileUrls,proto3" json:"final_mobile_urls,omitempty"` - // URL template for constructing a tracking URL. Default value is "{lpurl}". - TrackingUrlTemplate *wrappers.StringValue `protobuf:"bytes,6,opt,name=tracking_url_template,json=trackingUrlTemplate,proto3" json:"tracking_url_template,omitempty"` - // A list of mappings to be used for substituting URL custom parameter tags in - // the tracking_url_template, final_urls, and/or final_mobile_urls. - UrlCustomParameters []*CustomParameter `protobuf:"bytes,7,rep,name=url_custom_parameters,json=urlCustomParameters,proto3" json:"url_custom_parameters,omitempty"` - // URL template for appending params to landing page URLs served with parallel - // tracking. - FinalUrlSuffix *wrappers.StringValue `protobuf:"bytes,8,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 *AppFeedItem) Reset() { *m = AppFeedItem{} } -func (m *AppFeedItem) String() string { return proto.CompactTextString(m) } -func (*AppFeedItem) ProtoMessage() {} -func (*AppFeedItem) Descriptor() ([]byte, []int) { - return fileDescriptor_717194951d70c62b, []int{0} -} - -func (m *AppFeedItem) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AppFeedItem.Unmarshal(m, b) -} -func (m *AppFeedItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AppFeedItem.Marshal(b, m, deterministic) -} -func (m *AppFeedItem) XXX_Merge(src proto.Message) { - xxx_messageInfo_AppFeedItem.Merge(m, src) -} -func (m *AppFeedItem) XXX_Size() int { - return xxx_messageInfo_AppFeedItem.Size(m) -} -func (m *AppFeedItem) XXX_DiscardUnknown() { - xxx_messageInfo_AppFeedItem.DiscardUnknown(m) -} - -var xxx_messageInfo_AppFeedItem proto.InternalMessageInfo - -func (m *AppFeedItem) GetLinkText() *wrappers.StringValue { - if m != nil { - return m.LinkText - } - return nil -} - -func (m *AppFeedItem) GetAppId() *wrappers.StringValue { - if m != nil { - return m.AppId - } - return nil -} - -func (m *AppFeedItem) GetAppStore() enums.AppStoreEnum_AppStore { - if m != nil { - return m.AppStore - } - return enums.AppStoreEnum_UNSPECIFIED -} - -func (m *AppFeedItem) GetFinalUrls() []*wrappers.StringValue { - if m != nil { - return m.FinalUrls - } - return nil -} - -func (m *AppFeedItem) GetFinalMobileUrls() []*wrappers.StringValue { - if m != nil { - return m.FinalMobileUrls - } - return nil -} - -func (m *AppFeedItem) GetTrackingUrlTemplate() *wrappers.StringValue { - if m != nil { - return m.TrackingUrlTemplate - } - return nil -} - -func (m *AppFeedItem) GetUrlCustomParameters() []*CustomParameter { - if m != nil { - return m.UrlCustomParameters - } - return nil -} - -func (m *AppFeedItem) GetFinalUrlSuffix() *wrappers.StringValue { - if m != nil { - return m.FinalUrlSuffix - } - return nil -} - -// Represents a Call extension. -type CallFeedItem struct { - // The advertiser's phone number to append to the ad. - // This string must not be empty. - PhoneNumber *wrappers.StringValue `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` - // Uppercase two-letter country code of the advertiser's phone number. - // This string must not be empty. - CountryCode *wrappers.StringValue `protobuf:"bytes,2,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` - // Indicates whether call tracking is enabled. By default, call tracking is - // not enabled. - CallTrackingEnabled *wrappers.BoolValue `protobuf:"bytes,3,opt,name=call_tracking_enabled,json=callTrackingEnabled,proto3" json:"call_tracking_enabled,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_tracking_enabled is set to true. Otherwise this field is ignored. - CallConversionAction *wrappers.StringValue `protobuf:"bytes,4,opt,name=call_conversion_action,json=callConversionAction,proto3" json:"call_conversion_action,omitempty"` - // If true, disable call conversion tracking. call_conversion_action should - // not be set if this is true. Optional. - CallConversionTrackingDisabled *wrappers.BoolValue `protobuf:"bytes,5,opt,name=call_conversion_tracking_disabled,json=callConversionTrackingDisabled,proto3" json:"call_conversion_tracking_disabled,omitempty"` - // Enum value that indicates whether this call extension uses its own call - // conversion setting (or just have call conversion disabled), or following - // the account level setting. - CallConversionReportingState enums.CallConversionReportingStateEnum_CallConversionReportingState `protobuf:"varint,6,opt,name=call_conversion_reporting_state,json=callConversionReportingState,proto3,enum=google.ads.googleads.v1.enums.CallConversionReportingStateEnum_CallConversionReportingState" json:"call_conversion_reporting_state,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CallFeedItem) Reset() { *m = CallFeedItem{} } -func (m *CallFeedItem) String() string { return proto.CompactTextString(m) } -func (*CallFeedItem) ProtoMessage() {} -func (*CallFeedItem) Descriptor() ([]byte, []int) { - return fileDescriptor_717194951d70c62b, []int{1} -} - -func (m *CallFeedItem) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CallFeedItem.Unmarshal(m, b) -} -func (m *CallFeedItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CallFeedItem.Marshal(b, m, deterministic) -} -func (m *CallFeedItem) XXX_Merge(src proto.Message) { - xxx_messageInfo_CallFeedItem.Merge(m, src) -} -func (m *CallFeedItem) XXX_Size() int { - return xxx_messageInfo_CallFeedItem.Size(m) -} -func (m *CallFeedItem) XXX_DiscardUnknown() { - xxx_messageInfo_CallFeedItem.DiscardUnknown(m) -} - -var xxx_messageInfo_CallFeedItem proto.InternalMessageInfo - -func (m *CallFeedItem) GetPhoneNumber() *wrappers.StringValue { - if m != nil { - return m.PhoneNumber - } - return nil -} - -func (m *CallFeedItem) GetCountryCode() *wrappers.StringValue { - if m != nil { - return m.CountryCode - } - return nil -} - -func (m *CallFeedItem) GetCallTrackingEnabled() *wrappers.BoolValue { - if m != nil { - return m.CallTrackingEnabled - } - return nil -} - -func (m *CallFeedItem) GetCallConversionAction() *wrappers.StringValue { - if m != nil { - return m.CallConversionAction - } - return nil -} - -func (m *CallFeedItem) GetCallConversionTrackingDisabled() *wrappers.BoolValue { - if m != nil { - return m.CallConversionTrackingDisabled - } - return nil -} - -func (m *CallFeedItem) GetCallConversionReportingState() enums.CallConversionReportingStateEnum_CallConversionReportingState { - if m != nil { - return m.CallConversionReportingState - } - return enums.CallConversionReportingStateEnum_UNSPECIFIED -} - -// Represents a callout extension. -type CalloutFeedItem struct { - // The callout text. - // The length of this string should be between 1 and 25, inclusive. - CalloutText *wrappers.StringValue `protobuf:"bytes,1,opt,name=callout_text,json=calloutText,proto3" json:"callout_text,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CalloutFeedItem) Reset() { *m = CalloutFeedItem{} } -func (m *CalloutFeedItem) String() string { return proto.CompactTextString(m) } -func (*CalloutFeedItem) ProtoMessage() {} -func (*CalloutFeedItem) Descriptor() ([]byte, []int) { - return fileDescriptor_717194951d70c62b, []int{2} -} - -func (m *CalloutFeedItem) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CalloutFeedItem.Unmarshal(m, b) -} -func (m *CalloutFeedItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CalloutFeedItem.Marshal(b, m, deterministic) -} -func (m *CalloutFeedItem) XXX_Merge(src proto.Message) { - xxx_messageInfo_CalloutFeedItem.Merge(m, src) -} -func (m *CalloutFeedItem) XXX_Size() int { - return xxx_messageInfo_CalloutFeedItem.Size(m) -} -func (m *CalloutFeedItem) XXX_DiscardUnknown() { - xxx_messageInfo_CalloutFeedItem.DiscardUnknown(m) -} - -var xxx_messageInfo_CalloutFeedItem proto.InternalMessageInfo - -func (m *CalloutFeedItem) GetCalloutText() *wrappers.StringValue { - if m != nil { - return m.CalloutText - } - return nil -} - -// Represents a location extension. -type LocationFeedItem struct { - // The name of the business. - BusinessName *wrappers.StringValue `protobuf:"bytes,1,opt,name=business_name,json=businessName,proto3" json:"business_name,omitempty"` - // Line 1 of the business address. - AddressLine_1 *wrappers.StringValue `protobuf:"bytes,2,opt,name=address_line_1,json=addressLine1,proto3" json:"address_line_1,omitempty"` - // Line 2 of the business address. - AddressLine_2 *wrappers.StringValue `protobuf:"bytes,3,opt,name=address_line_2,json=addressLine2,proto3" json:"address_line_2,omitempty"` - // City of the business address. - City *wrappers.StringValue `protobuf:"bytes,4,opt,name=city,proto3" json:"city,omitempty"` - // Province of the business address. - Province *wrappers.StringValue `protobuf:"bytes,5,opt,name=province,proto3" json:"province,omitempty"` - // Postal code of the business address. - PostalCode *wrappers.StringValue `protobuf:"bytes,6,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"` - // Country code of the business address. - CountryCode *wrappers.StringValue `protobuf:"bytes,7,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` - // Phone number of the business. - PhoneNumber *wrappers.StringValue `protobuf:"bytes,8,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LocationFeedItem) Reset() { *m = LocationFeedItem{} } -func (m *LocationFeedItem) String() string { return proto.CompactTextString(m) } -func (*LocationFeedItem) ProtoMessage() {} -func (*LocationFeedItem) Descriptor() ([]byte, []int) { - return fileDescriptor_717194951d70c62b, []int{3} -} - -func (m *LocationFeedItem) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LocationFeedItem.Unmarshal(m, b) -} -func (m *LocationFeedItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LocationFeedItem.Marshal(b, m, deterministic) -} -func (m *LocationFeedItem) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocationFeedItem.Merge(m, src) -} -func (m *LocationFeedItem) XXX_Size() int { - return xxx_messageInfo_LocationFeedItem.Size(m) -} -func (m *LocationFeedItem) XXX_DiscardUnknown() { - xxx_messageInfo_LocationFeedItem.DiscardUnknown(m) -} - -var xxx_messageInfo_LocationFeedItem proto.InternalMessageInfo - -func (m *LocationFeedItem) GetBusinessName() *wrappers.StringValue { - if m != nil { - return m.BusinessName - } - return nil -} - -func (m *LocationFeedItem) GetAddressLine_1() *wrappers.StringValue { - if m != nil { - return m.AddressLine_1 - } - return nil -} - -func (m *LocationFeedItem) GetAddressLine_2() *wrappers.StringValue { - if m != nil { - return m.AddressLine_2 - } - return nil -} - -func (m *LocationFeedItem) GetCity() *wrappers.StringValue { - if m != nil { - return m.City - } - return nil -} - -func (m *LocationFeedItem) GetProvince() *wrappers.StringValue { - if m != nil { - return m.Province - } - return nil -} - -func (m *LocationFeedItem) GetPostalCode() *wrappers.StringValue { - if m != nil { - return m.PostalCode - } - return nil -} - -func (m *LocationFeedItem) GetCountryCode() *wrappers.StringValue { - if m != nil { - return m.CountryCode - } - return nil -} - -func (m *LocationFeedItem) GetPhoneNumber() *wrappers.StringValue { - if m != nil { - return m.PhoneNumber - } - return nil -} - -// Represents an affiliate location extension. -type AffiliateLocationFeedItem struct { - // The name of the business. - BusinessName *wrappers.StringValue `protobuf:"bytes,1,opt,name=business_name,json=businessName,proto3" json:"business_name,omitempty"` - // Line 1 of the business address. - AddressLine_1 *wrappers.StringValue `protobuf:"bytes,2,opt,name=address_line_1,json=addressLine1,proto3" json:"address_line_1,omitempty"` - // Line 2 of the business address. - AddressLine_2 *wrappers.StringValue `protobuf:"bytes,3,opt,name=address_line_2,json=addressLine2,proto3" json:"address_line_2,omitempty"` - // City of the business address. - City *wrappers.StringValue `protobuf:"bytes,4,opt,name=city,proto3" json:"city,omitempty"` - // Province of the business address. - Province *wrappers.StringValue `protobuf:"bytes,5,opt,name=province,proto3" json:"province,omitempty"` - // Postal code of the business address. - PostalCode *wrappers.StringValue `protobuf:"bytes,6,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"` - // Country code of the business address. - CountryCode *wrappers.StringValue `protobuf:"bytes,7,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` - // Phone number of the business. - PhoneNumber *wrappers.StringValue `protobuf:"bytes,8,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` - // Id of the retail chain that is advertised as a seller of your product. - ChainId *wrappers.Int64Value `protobuf:"bytes,9,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` - // Name of chain. - ChainName *wrappers.StringValue `protobuf:"bytes,10,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AffiliateLocationFeedItem) Reset() { *m = AffiliateLocationFeedItem{} } -func (m *AffiliateLocationFeedItem) String() string { return proto.CompactTextString(m) } -func (*AffiliateLocationFeedItem) ProtoMessage() {} -func (*AffiliateLocationFeedItem) Descriptor() ([]byte, []int) { - return fileDescriptor_717194951d70c62b, []int{4} -} - -func (m *AffiliateLocationFeedItem) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AffiliateLocationFeedItem.Unmarshal(m, b) -} -func (m *AffiliateLocationFeedItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AffiliateLocationFeedItem.Marshal(b, m, deterministic) -} -func (m *AffiliateLocationFeedItem) XXX_Merge(src proto.Message) { - xxx_messageInfo_AffiliateLocationFeedItem.Merge(m, src) -} -func (m *AffiliateLocationFeedItem) XXX_Size() int { - return xxx_messageInfo_AffiliateLocationFeedItem.Size(m) -} -func (m *AffiliateLocationFeedItem) XXX_DiscardUnknown() { - xxx_messageInfo_AffiliateLocationFeedItem.DiscardUnknown(m) -} - -var xxx_messageInfo_AffiliateLocationFeedItem proto.InternalMessageInfo - -func (m *AffiliateLocationFeedItem) GetBusinessName() *wrappers.StringValue { - if m != nil { - return m.BusinessName - } - return nil -} - -func (m *AffiliateLocationFeedItem) GetAddressLine_1() *wrappers.StringValue { - if m != nil { - return m.AddressLine_1 - } - return nil -} - -func (m *AffiliateLocationFeedItem) GetAddressLine_2() *wrappers.StringValue { - if m != nil { - return m.AddressLine_2 - } - return nil -} - -func (m *AffiliateLocationFeedItem) GetCity() *wrappers.StringValue { - if m != nil { - return m.City - } - return nil -} - -func (m *AffiliateLocationFeedItem) GetProvince() *wrappers.StringValue { - if m != nil { - return m.Province - } - return nil -} - -func (m *AffiliateLocationFeedItem) GetPostalCode() *wrappers.StringValue { - if m != nil { - return m.PostalCode - } - return nil -} - -func (m *AffiliateLocationFeedItem) GetCountryCode() *wrappers.StringValue { - if m != nil { - return m.CountryCode - } - return nil -} - -func (m *AffiliateLocationFeedItem) GetPhoneNumber() *wrappers.StringValue { - if m != nil { - return m.PhoneNumber - } - return nil -} - -func (m *AffiliateLocationFeedItem) GetChainId() *wrappers.Int64Value { - if m != nil { - return m.ChainId - } - return nil -} - -func (m *AffiliateLocationFeedItem) GetChainName() *wrappers.StringValue { - if m != nil { - return m.ChainName - } - return nil -} - -// An extension that users can click on to send a text message to the -// advertiser. -type TextMessageFeedItem struct { - // The business name to prepend to the message text. - // This field is required. - BusinessName *wrappers.StringValue `protobuf:"bytes,1,opt,name=business_name,json=businessName,proto3" json:"business_name,omitempty"` - // Uppercase two-letter country code of the advertiser's phone number. - // This field is required. - CountryCode *wrappers.StringValue `protobuf:"bytes,2,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` - // The advertiser's phone number the message will be sent to. Required. - PhoneNumber *wrappers.StringValue `protobuf:"bytes,3,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` - // The text to show in the ad. - // This field is required. - Text *wrappers.StringValue `protobuf:"bytes,4,opt,name=text,proto3" json:"text,omitempty"` - // The message text populated in the messaging app. - ExtensionText *wrappers.StringValue `protobuf:"bytes,5,opt,name=extension_text,json=extensionText,proto3" json:"extension_text,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TextMessageFeedItem) Reset() { *m = TextMessageFeedItem{} } -func (m *TextMessageFeedItem) String() string { return proto.CompactTextString(m) } -func (*TextMessageFeedItem) ProtoMessage() {} -func (*TextMessageFeedItem) Descriptor() ([]byte, []int) { - return fileDescriptor_717194951d70c62b, []int{5} -} - -func (m *TextMessageFeedItem) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextMessageFeedItem.Unmarshal(m, b) -} -func (m *TextMessageFeedItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextMessageFeedItem.Marshal(b, m, deterministic) -} -func (m *TextMessageFeedItem) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextMessageFeedItem.Merge(m, src) -} -func (m *TextMessageFeedItem) XXX_Size() int { - return xxx_messageInfo_TextMessageFeedItem.Size(m) -} -func (m *TextMessageFeedItem) XXX_DiscardUnknown() { - xxx_messageInfo_TextMessageFeedItem.DiscardUnknown(m) -} - -var xxx_messageInfo_TextMessageFeedItem proto.InternalMessageInfo - -func (m *TextMessageFeedItem) GetBusinessName() *wrappers.StringValue { - if m != nil { - return m.BusinessName - } - return nil -} - -func (m *TextMessageFeedItem) GetCountryCode() *wrappers.StringValue { - if m != nil { - return m.CountryCode - } - return nil -} - -func (m *TextMessageFeedItem) GetPhoneNumber() *wrappers.StringValue { - if m != nil { - return m.PhoneNumber - } - return nil -} - -func (m *TextMessageFeedItem) GetText() *wrappers.StringValue { - if m != nil { - return m.Text - } - return nil -} - -func (m *TextMessageFeedItem) GetExtensionText() *wrappers.StringValue { - if m != nil { - return m.ExtensionText - } - return nil -} - -// Represents a Price extension. -type PriceFeedItem struct { - // Price extension type of this extension. - Type enums.PriceExtensionTypeEnum_PriceExtensionType `protobuf:"varint,1,opt,name=type,proto3,enum=google.ads.googleads.v1.enums.PriceExtensionTypeEnum_PriceExtensionType" json:"type,omitempty"` - // Price qualifier for all offers of this price extension. - PriceQualifier enums.PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier `protobuf:"varint,2,opt,name=price_qualifier,json=priceQualifier,proto3,enum=google.ads.googleads.v1.enums.PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier" json:"price_qualifier,omitempty"` - // Tracking URL template for all offers of this price extension. - TrackingUrlTemplate *wrappers.StringValue `protobuf:"bytes,3,opt,name=tracking_url_template,json=trackingUrlTemplate,proto3" json:"tracking_url_template,omitempty"` - // The code of the language used for this price extension. - LanguageCode *wrappers.StringValue `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // The price offerings in this price extension. - PriceOfferings []*PriceOffer `protobuf:"bytes,5,rep,name=price_offerings,json=priceOfferings,proto3" json:"price_offerings,omitempty"` - // URL template for appending params to landing page URLs served with parallel - // tracking. - FinalUrlSuffix *wrappers.StringValue `protobuf:"bytes,6,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 *PriceFeedItem) Reset() { *m = PriceFeedItem{} } -func (m *PriceFeedItem) String() string { return proto.CompactTextString(m) } -func (*PriceFeedItem) ProtoMessage() {} -func (*PriceFeedItem) Descriptor() ([]byte, []int) { - return fileDescriptor_717194951d70c62b, []int{6} -} - -func (m *PriceFeedItem) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PriceFeedItem.Unmarshal(m, b) -} -func (m *PriceFeedItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PriceFeedItem.Marshal(b, m, deterministic) -} -func (m *PriceFeedItem) XXX_Merge(src proto.Message) { - xxx_messageInfo_PriceFeedItem.Merge(m, src) -} -func (m *PriceFeedItem) XXX_Size() int { - return xxx_messageInfo_PriceFeedItem.Size(m) -} -func (m *PriceFeedItem) XXX_DiscardUnknown() { - xxx_messageInfo_PriceFeedItem.DiscardUnknown(m) -} - -var xxx_messageInfo_PriceFeedItem proto.InternalMessageInfo - -func (m *PriceFeedItem) GetType() enums.PriceExtensionTypeEnum_PriceExtensionType { - if m != nil { - return m.Type - } - return enums.PriceExtensionTypeEnum_UNSPECIFIED -} - -func (m *PriceFeedItem) GetPriceQualifier() enums.PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier { - if m != nil { - return m.PriceQualifier - } - return enums.PriceExtensionPriceQualifierEnum_UNSPECIFIED -} - -func (m *PriceFeedItem) GetTrackingUrlTemplate() *wrappers.StringValue { - if m != nil { - return m.TrackingUrlTemplate - } - return nil -} - -func (m *PriceFeedItem) GetLanguageCode() *wrappers.StringValue { - if m != nil { - return m.LanguageCode - } - return nil -} - -func (m *PriceFeedItem) GetPriceOfferings() []*PriceOffer { - if m != nil { - return m.PriceOfferings - } - return nil -} - -func (m *PriceFeedItem) GetFinalUrlSuffix() *wrappers.StringValue { - if m != nil { - return m.FinalUrlSuffix - } - return nil -} - -// Represents one price offer in a price extension. -type PriceOffer struct { - // Header text of this offer. - Header *wrappers.StringValue `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` - // Description text of this offer. - Description *wrappers.StringValue `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - // Price value of this offer. - Price *Money `protobuf:"bytes,3,opt,name=price,proto3" json:"price,omitempty"` - // Price unit for this offer. - Unit enums.PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit `protobuf:"varint,4,opt,name=unit,proto3,enum=google.ads.googleads.v1.enums.PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit" json:"unit,omitempty"` - // A list of possible final URLs after all cross domain redirects. - FinalUrls []*wrappers.StringValue `protobuf:"bytes,5,rep,name=final_urls,json=finalUrls,proto3" json:"final_urls,omitempty"` - // A list of possible final mobile URLs after all cross domain redirects. - FinalMobileUrls []*wrappers.StringValue `protobuf:"bytes,6,rep,name=final_mobile_urls,json=finalMobileUrls,proto3" json:"final_mobile_urls,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PriceOffer) Reset() { *m = PriceOffer{} } -func (m *PriceOffer) String() string { return proto.CompactTextString(m) } -func (*PriceOffer) ProtoMessage() {} -func (*PriceOffer) Descriptor() ([]byte, []int) { - return fileDescriptor_717194951d70c62b, []int{7} -} - -func (m *PriceOffer) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PriceOffer.Unmarshal(m, b) -} -func (m *PriceOffer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PriceOffer.Marshal(b, m, deterministic) -} -func (m *PriceOffer) XXX_Merge(src proto.Message) { - xxx_messageInfo_PriceOffer.Merge(m, src) -} -func (m *PriceOffer) XXX_Size() int { - return xxx_messageInfo_PriceOffer.Size(m) -} -func (m *PriceOffer) XXX_DiscardUnknown() { - xxx_messageInfo_PriceOffer.DiscardUnknown(m) -} - -var xxx_messageInfo_PriceOffer proto.InternalMessageInfo - -func (m *PriceOffer) GetHeader() *wrappers.StringValue { - if m != nil { - return m.Header - } - return nil -} - -func (m *PriceOffer) GetDescription() *wrappers.StringValue { - if m != nil { - return m.Description - } - return nil -} - -func (m *PriceOffer) GetPrice() *Money { - if m != nil { - return m.Price - } - return nil -} - -func (m *PriceOffer) GetUnit() enums.PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit { - if m != nil { - return m.Unit - } - return enums.PriceExtensionPriceUnitEnum_UNSPECIFIED -} - -func (m *PriceOffer) GetFinalUrls() []*wrappers.StringValue { - if m != nil { - return m.FinalUrls - } - return nil -} - -func (m *PriceOffer) GetFinalMobileUrls() []*wrappers.StringValue { - if m != nil { - return m.FinalMobileUrls - } - return nil -} - -// Represents a Promotion extension. -type PromotionFeedItem struct { - // A freeform description of what the promotion is targeting. - // This field is required. - PromotionTarget *wrappers.StringValue `protobuf:"bytes,1,opt,name=promotion_target,json=promotionTarget,proto3" json:"promotion_target,omitempty"` - // Enum that modifies the qualification of the discount. - DiscountModifier enums.PromotionExtensionDiscountModifierEnum_PromotionExtensionDiscountModifier `protobuf:"varint,2,opt,name=discount_modifier,json=discountModifier,proto3,enum=google.ads.googleads.v1.enums.PromotionExtensionDiscountModifierEnum_PromotionExtensionDiscountModifier" json:"discount_modifier,omitempty"` - // Start date of when the promotion is eligible to be redeemed. - PromotionStartDate *wrappers.StringValue `protobuf:"bytes,7,opt,name=promotion_start_date,json=promotionStartDate,proto3" json:"promotion_start_date,omitempty"` - // End date of when the promotion is eligible to be redeemed. - PromotionEndDate *wrappers.StringValue `protobuf:"bytes,8,opt,name=promotion_end_date,json=promotionEndDate,proto3" json:"promotion_end_date,omitempty"` - // The occasion the promotion was intended for. - // If an occasion is set, the redemption window will need to fall within - // the date range associated with the occasion. - Occasion enums.PromotionExtensionOccasionEnum_PromotionExtensionOccasion `protobuf:"varint,9,opt,name=occasion,proto3,enum=google.ads.googleads.v1.enums.PromotionExtensionOccasionEnum_PromotionExtensionOccasion" json:"occasion,omitempty"` - // A list of possible final URLs after all cross domain redirects. - // This field is required. - FinalUrls []*wrappers.StringValue `protobuf:"bytes,10,rep,name=final_urls,json=finalUrls,proto3" json:"final_urls,omitempty"` - // A list of possible final mobile URLs after all cross domain redirects. - FinalMobileUrls []*wrappers.StringValue `protobuf:"bytes,11,rep,name=final_mobile_urls,json=finalMobileUrls,proto3" json:"final_mobile_urls,omitempty"` - // 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"` - // A list of mappings to be used for substituting URL custom parameter tags in - // the tracking_url_template, final_urls, and/or final_mobile_urls. - UrlCustomParameters []*CustomParameter `protobuf:"bytes,13,rep,name=url_custom_parameters,json=urlCustomParameters,proto3" json:"url_custom_parameters,omitempty"` - // URL template for appending params to landing page URLs served with parallel - // tracking. - FinalUrlSuffix *wrappers.StringValue `protobuf:"bytes,14,opt,name=final_url_suffix,json=finalUrlSuffix,proto3" json:"final_url_suffix,omitempty"` - // The language of the promotion. - // Represented as BCP 47 language tag. - LanguageCode *wrappers.StringValue `protobuf:"bytes,15,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // Discount type, can be percentage off or amount off. - // - // Types that are valid to be assigned to DiscountType: - // *PromotionFeedItem_PercentOff - // *PromotionFeedItem_MoneyAmountOff - DiscountType isPromotionFeedItem_DiscountType `protobuf_oneof:"discount_type"` - // Promotion trigger. Can be by promotion code or promo by eligible order - // amount. - // - // Types that are valid to be assigned to PromotionTrigger: - // *PromotionFeedItem_PromotionCode - // *PromotionFeedItem_OrdersOverAmount - PromotionTrigger isPromotionFeedItem_PromotionTrigger `protobuf_oneof:"promotion_trigger"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PromotionFeedItem) Reset() { *m = PromotionFeedItem{} } -func (m *PromotionFeedItem) String() string { return proto.CompactTextString(m) } -func (*PromotionFeedItem) ProtoMessage() {} -func (*PromotionFeedItem) Descriptor() ([]byte, []int) { - return fileDescriptor_717194951d70c62b, []int{8} -} - -func (m *PromotionFeedItem) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PromotionFeedItem.Unmarshal(m, b) -} -func (m *PromotionFeedItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PromotionFeedItem.Marshal(b, m, deterministic) -} -func (m *PromotionFeedItem) XXX_Merge(src proto.Message) { - xxx_messageInfo_PromotionFeedItem.Merge(m, src) -} -func (m *PromotionFeedItem) XXX_Size() int { - return xxx_messageInfo_PromotionFeedItem.Size(m) -} -func (m *PromotionFeedItem) XXX_DiscardUnknown() { - xxx_messageInfo_PromotionFeedItem.DiscardUnknown(m) -} - -var xxx_messageInfo_PromotionFeedItem proto.InternalMessageInfo - -func (m *PromotionFeedItem) GetPromotionTarget() *wrappers.StringValue { - if m != nil { - return m.PromotionTarget - } - return nil -} - -func (m *PromotionFeedItem) GetDiscountModifier() enums.PromotionExtensionDiscountModifierEnum_PromotionExtensionDiscountModifier { - if m != nil { - return m.DiscountModifier - } - return enums.PromotionExtensionDiscountModifierEnum_UNSPECIFIED -} - -func (m *PromotionFeedItem) GetPromotionStartDate() *wrappers.StringValue { - if m != nil { - return m.PromotionStartDate - } - return nil -} - -func (m *PromotionFeedItem) GetPromotionEndDate() *wrappers.StringValue { - if m != nil { - return m.PromotionEndDate - } - return nil -} - -func (m *PromotionFeedItem) GetOccasion() enums.PromotionExtensionOccasionEnum_PromotionExtensionOccasion { - if m != nil { - return m.Occasion - } - return enums.PromotionExtensionOccasionEnum_UNSPECIFIED -} - -func (m *PromotionFeedItem) GetFinalUrls() []*wrappers.StringValue { - if m != nil { - return m.FinalUrls - } - return nil -} - -func (m *PromotionFeedItem) GetFinalMobileUrls() []*wrappers.StringValue { - if m != nil { - return m.FinalMobileUrls - } - return nil -} - -func (m *PromotionFeedItem) GetTrackingUrlTemplate() *wrappers.StringValue { - if m != nil { - return m.TrackingUrlTemplate - } - return nil -} - -func (m *PromotionFeedItem) GetUrlCustomParameters() []*CustomParameter { - if m != nil { - return m.UrlCustomParameters - } - return nil -} - -func (m *PromotionFeedItem) GetFinalUrlSuffix() *wrappers.StringValue { - if m != nil { - return m.FinalUrlSuffix - } - return nil -} - -func (m *PromotionFeedItem) GetLanguageCode() *wrappers.StringValue { - if m != nil { - return m.LanguageCode - } - return nil -} - -type isPromotionFeedItem_DiscountType interface { - isPromotionFeedItem_DiscountType() -} - -type PromotionFeedItem_PercentOff struct { - PercentOff *wrappers.Int64Value `protobuf:"bytes,3,opt,name=percent_off,json=percentOff,proto3,oneof"` -} - -type PromotionFeedItem_MoneyAmountOff struct { - MoneyAmountOff *Money `protobuf:"bytes,4,opt,name=money_amount_off,json=moneyAmountOff,proto3,oneof"` -} - -func (*PromotionFeedItem_PercentOff) isPromotionFeedItem_DiscountType() {} - -func (*PromotionFeedItem_MoneyAmountOff) isPromotionFeedItem_DiscountType() {} - -func (m *PromotionFeedItem) GetDiscountType() isPromotionFeedItem_DiscountType { - if m != nil { - return m.DiscountType - } - return nil -} - -func (m *PromotionFeedItem) GetPercentOff() *wrappers.Int64Value { - if x, ok := m.GetDiscountType().(*PromotionFeedItem_PercentOff); ok { - return x.PercentOff - } - return nil -} - -func (m *PromotionFeedItem) GetMoneyAmountOff() *Money { - if x, ok := m.GetDiscountType().(*PromotionFeedItem_MoneyAmountOff); ok { - return x.MoneyAmountOff - } - return nil -} - -type isPromotionFeedItem_PromotionTrigger interface { - isPromotionFeedItem_PromotionTrigger() -} - -type PromotionFeedItem_PromotionCode struct { - PromotionCode *wrappers.StringValue `protobuf:"bytes,5,opt,name=promotion_code,json=promotionCode,proto3,oneof"` -} - -type PromotionFeedItem_OrdersOverAmount struct { - OrdersOverAmount *Money `protobuf:"bytes,6,opt,name=orders_over_amount,json=ordersOverAmount,proto3,oneof"` -} - -func (*PromotionFeedItem_PromotionCode) isPromotionFeedItem_PromotionTrigger() {} - -func (*PromotionFeedItem_OrdersOverAmount) isPromotionFeedItem_PromotionTrigger() {} - -func (m *PromotionFeedItem) GetPromotionTrigger() isPromotionFeedItem_PromotionTrigger { - if m != nil { - return m.PromotionTrigger - } - return nil -} - -func (m *PromotionFeedItem) GetPromotionCode() *wrappers.StringValue { - if x, ok := m.GetPromotionTrigger().(*PromotionFeedItem_PromotionCode); ok { - return x.PromotionCode - } - return nil -} - -func (m *PromotionFeedItem) GetOrdersOverAmount() *Money { - if x, ok := m.GetPromotionTrigger().(*PromotionFeedItem_OrdersOverAmount); ok { - return x.OrdersOverAmount - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*PromotionFeedItem) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*PromotionFeedItem_PercentOff)(nil), - (*PromotionFeedItem_MoneyAmountOff)(nil), - (*PromotionFeedItem_PromotionCode)(nil), - (*PromotionFeedItem_OrdersOverAmount)(nil), - } -} - -// Represents a structured snippet extension. -type StructuredSnippetFeedItem struct { - // The header of the snippet. - // This string must not be empty. - Header *wrappers.StringValue `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` - // The values in the snippet. - // The maximum size of this collection is 10. - Values []*wrappers.StringValue `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StructuredSnippetFeedItem) Reset() { *m = StructuredSnippetFeedItem{} } -func (m *StructuredSnippetFeedItem) String() string { return proto.CompactTextString(m) } -func (*StructuredSnippetFeedItem) ProtoMessage() {} -func (*StructuredSnippetFeedItem) Descriptor() ([]byte, []int) { - return fileDescriptor_717194951d70c62b, []int{9} -} - -func (m *StructuredSnippetFeedItem) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StructuredSnippetFeedItem.Unmarshal(m, b) -} -func (m *StructuredSnippetFeedItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StructuredSnippetFeedItem.Marshal(b, m, deterministic) -} -func (m *StructuredSnippetFeedItem) XXX_Merge(src proto.Message) { - xxx_messageInfo_StructuredSnippetFeedItem.Merge(m, src) -} -func (m *StructuredSnippetFeedItem) XXX_Size() int { - return xxx_messageInfo_StructuredSnippetFeedItem.Size(m) -} -func (m *StructuredSnippetFeedItem) XXX_DiscardUnknown() { - xxx_messageInfo_StructuredSnippetFeedItem.DiscardUnknown(m) -} - -var xxx_messageInfo_StructuredSnippetFeedItem proto.InternalMessageInfo - -func (m *StructuredSnippetFeedItem) GetHeader() *wrappers.StringValue { - if m != nil { - return m.Header - } - return nil -} - -func (m *StructuredSnippetFeedItem) GetValues() []*wrappers.StringValue { - if m != nil { - return m.Values - } - return nil -} - -// Represents a sitelink extension. -type SitelinkFeedItem struct { - // URL display text for the sitelink. - // The length of this string should be between 1 and 25, inclusive. - LinkText *wrappers.StringValue `protobuf:"bytes,1,opt,name=link_text,json=linkText,proto3" json:"link_text,omitempty"` - // First line of the description for the sitelink. - // If this value is set, line2 must also be set. - // The length of this string should be between 0 and 35, inclusive. - Line1 *wrappers.StringValue `protobuf:"bytes,2,opt,name=line1,proto3" json:"line1,omitempty"` - // Second line of the description for the sitelink. - // If this value is set, line1 must also be set. - // The length of this string should be between 0 and 35, inclusive. - Line2 *wrappers.StringValue `protobuf:"bytes,3,opt,name=line2,proto3" json:"line2,omitempty"` - // A list of possible final URLs after all cross domain redirects. - FinalUrls []*wrappers.StringValue `protobuf:"bytes,4,rep,name=final_urls,json=finalUrls,proto3" json:"final_urls,omitempty"` - // A list of possible final mobile URLs after all cross domain redirects. - FinalMobileUrls []*wrappers.StringValue `protobuf:"bytes,5,rep,name=final_mobile_urls,json=finalMobileUrls,proto3" json:"final_mobile_urls,omitempty"` - // URL template for constructing a tracking URL. - TrackingUrlTemplate *wrappers.StringValue `protobuf:"bytes,6,opt,name=tracking_url_template,json=trackingUrlTemplate,proto3" json:"tracking_url_template,omitempty"` - // A list of mappings to be used for substituting URL custom parameter tags in - // the tracking_url_template, final_urls, and/or final_mobile_urls. - UrlCustomParameters []*CustomParameter `protobuf:"bytes,7,rep,name=url_custom_parameters,json=urlCustomParameters,proto3" json:"url_custom_parameters,omitempty"` - // Final URL suffix to be appended to landing page URLs served with - // parallel tracking. - FinalUrlSuffix *wrappers.StringValue `protobuf:"bytes,8,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 *SitelinkFeedItem) Reset() { *m = SitelinkFeedItem{} } -func (m *SitelinkFeedItem) String() string { return proto.CompactTextString(m) } -func (*SitelinkFeedItem) ProtoMessage() {} -func (*SitelinkFeedItem) Descriptor() ([]byte, []int) { - return fileDescriptor_717194951d70c62b, []int{10} -} - -func (m *SitelinkFeedItem) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SitelinkFeedItem.Unmarshal(m, b) -} -func (m *SitelinkFeedItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SitelinkFeedItem.Marshal(b, m, deterministic) -} -func (m *SitelinkFeedItem) XXX_Merge(src proto.Message) { - xxx_messageInfo_SitelinkFeedItem.Merge(m, src) -} -func (m *SitelinkFeedItem) XXX_Size() int { - return xxx_messageInfo_SitelinkFeedItem.Size(m) -} -func (m *SitelinkFeedItem) XXX_DiscardUnknown() { - xxx_messageInfo_SitelinkFeedItem.DiscardUnknown(m) -} - -var xxx_messageInfo_SitelinkFeedItem proto.InternalMessageInfo - -func (m *SitelinkFeedItem) GetLinkText() *wrappers.StringValue { - if m != nil { - return m.LinkText - } - return nil -} - -func (m *SitelinkFeedItem) GetLine1() *wrappers.StringValue { - if m != nil { - return m.Line1 - } - return nil -} - -func (m *SitelinkFeedItem) GetLine2() *wrappers.StringValue { - if m != nil { - return m.Line2 - } - return nil -} - -func (m *SitelinkFeedItem) GetFinalUrls() []*wrappers.StringValue { - if m != nil { - return m.FinalUrls - } - return nil -} - -func (m *SitelinkFeedItem) GetFinalMobileUrls() []*wrappers.StringValue { - if m != nil { - return m.FinalMobileUrls - } - return nil -} - -func (m *SitelinkFeedItem) GetTrackingUrlTemplate() *wrappers.StringValue { - if m != nil { - return m.TrackingUrlTemplate - } - return nil -} - -func (m *SitelinkFeedItem) GetUrlCustomParameters() []*CustomParameter { - if m != nil { - return m.UrlCustomParameters - } - return nil -} - -func (m *SitelinkFeedItem) GetFinalUrlSuffix() *wrappers.StringValue { - if m != nil { - return m.FinalUrlSuffix - } - return nil -} - -func init() { - proto.RegisterType((*AppFeedItem)(nil), "google.ads.googleads.v1.common.AppFeedItem") - proto.RegisterType((*CallFeedItem)(nil), "google.ads.googleads.v1.common.CallFeedItem") - proto.RegisterType((*CalloutFeedItem)(nil), "google.ads.googleads.v1.common.CalloutFeedItem") - proto.RegisterType((*LocationFeedItem)(nil), "google.ads.googleads.v1.common.LocationFeedItem") - proto.RegisterType((*AffiliateLocationFeedItem)(nil), "google.ads.googleads.v1.common.AffiliateLocationFeedItem") - proto.RegisterType((*TextMessageFeedItem)(nil), "google.ads.googleads.v1.common.TextMessageFeedItem") - proto.RegisterType((*PriceFeedItem)(nil), "google.ads.googleads.v1.common.PriceFeedItem") - proto.RegisterType((*PriceOffer)(nil), "google.ads.googleads.v1.common.PriceOffer") - proto.RegisterType((*PromotionFeedItem)(nil), "google.ads.googleads.v1.common.PromotionFeedItem") - proto.RegisterType((*StructuredSnippetFeedItem)(nil), "google.ads.googleads.v1.common.StructuredSnippetFeedItem") - proto.RegisterType((*SitelinkFeedItem)(nil), "google.ads.googleads.v1.common.SitelinkFeedItem") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/common/extensions.proto", fileDescriptor_717194951d70c62b) -} - -var fileDescriptor_717194951d70c62b = []byte{ - // 1574 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x59, 0xdf, 0x4e, 0x1b, 0xc7, - 0x1a, 0x8f, 0xc1, 0x10, 0xf8, 0x0c, 0x06, 0x96, 0xe4, 0xc8, 0xe1, 0x44, 0x39, 0x39, 0x96, 0x8e, - 0x14, 0x1d, 0xa9, 0x76, 0x70, 0x68, 0x94, 0x3a, 0x6a, 0x5a, 0x63, 0x48, 0xa0, 0x0a, 0x7f, 0xb2, - 0x06, 0x54, 0x55, 0x48, 0xab, 0x61, 0x77, 0x6c, 0x46, 0xd9, 0x9d, 0xd9, 0xce, 0xcc, 0x52, 0x78, - 0x80, 0xaa, 0x55, 0xef, 0xfb, 0x02, 0xad, 0xd4, 0x4a, 0x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13, 0xfb, 0xa9, 0xc1, 0xfe, 0xde, 0xe2, 0x7e, 0x6c, 0xf0, - 0x66, 0xa4, 0x1a, 0xdf, 0x6d, 0x36, 0x5b, 0x9e, 0x68, 0x36, 0x53, 0x93, 0x66, 0x73, 0x6f, 0xb1, - 0xd9, 0x8c, 0x8d, 0x0e, 0xc6, 0xf5, 0xee, 0x1e, 0xfd, 0x19, 0x00, 0x00, 0xff, 0xff, 0x1b, 0x6e, - 0x3c, 0x1a, 0x56, 0x1a, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/feed_common.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/feed_common.pb.go deleted file mode 100644 index 9aec0940..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/feed_common.pb.go +++ /dev/null @@ -1,107 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/common/feed_common.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Represents a price in a particular currency. -type Money 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 *Money) Reset() { *m = Money{} } -func (m *Money) String() string { return proto.CompactTextString(m) } -func (*Money) ProtoMessage() {} -func (*Money) Descriptor() ([]byte, []int) { - return fileDescriptor_3d17791b1b55b077, []int{0} -} - -func (m *Money) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Money.Unmarshal(m, b) -} -func (m *Money) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Money.Marshal(b, m, deterministic) -} -func (m *Money) XXX_Merge(src proto.Message) { - xxx_messageInfo_Money.Merge(m, src) -} -func (m *Money) XXX_Size() int { - return xxx_messageInfo_Money.Size(m) -} -func (m *Money) XXX_DiscardUnknown() { - xxx_messageInfo_Money.DiscardUnknown(m) -} - -var xxx_messageInfo_Money proto.InternalMessageInfo - -func (m *Money) GetCurrencyCode() *wrappers.StringValue { - if m != nil { - return m.CurrencyCode - } - return nil -} - -func (m *Money) GetAmountMicros() *wrappers.Int64Value { - if m != nil { - return m.AmountMicros - } - return nil -} - -func init() { - proto.RegisterType((*Money)(nil), "google.ads.googleads.v1.common.Money") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/common/feed_common.proto", fileDescriptor_3d17791b1b55b077) -} - -var fileDescriptor_3d17791b1b55b077 = []byte{ - // 328 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xeb, 0x40, - 0x14, 0x86, 0x49, 0x2e, 0xd7, 0x45, 0xb4, 0x08, 0x5d, 0x95, 0x5a, 0x8a, 0x74, 0xe5, 0x6a, 0xc6, - 0xa8, 0xb8, 0x18, 0x37, 0xa6, 0x15, 0x8b, 0x8b, 0x42, 0x51, 0xc8, 0x42, 0x02, 0x65, 0x9a, 0x39, - 0x1d, 0x02, 0xcd, 0x9c, 0x30, 0x93, 0x54, 0xfa, 0x0e, 0x3e, 0x85, 0x4b, 0x1f, 0xc5, 0x47,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a3, 0x19, 0x5a, 0xcd, 0x35, 0x98, 0x7a, 0x62, 0xbb, 0xe8, 0x22, - 0x73, 0xbf, 0xed, 0xfd, 0x8e, 0x1e, 0x1f, 0xfe, 0xbf, 0x69, 0x14, 0x7d, 0xfa, 0xc3, 0x29, 0xc9, - 0x22, 0xe5, 0x18, 0xc5, 0x7d, 0x8a, 0x43, 0x46, 0x33, 0xbf, 0xda, 0x42, 0x12, 0x29, 0x97, 0x1c, - 0x0a, 0x49, 0x1c, 0x26, 0x54, 0xd8, 0xf9, 0x23, 0xfa, 0x2a, 0x44, 0xa4, 0x9c, 0x10, 0x87, 0x8a, - 0x10, 0x71, 0x28, 0x04, 0x95, 0x96, 0x47, 0xf5, 0xe9, 0xae, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, - 0xbc, 0x66, 0x16, 0x39, 0x14, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/final_app_url.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/final_app_url.pb.go deleted file mode 100644 index dd3cbebc..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/final_app_url.pb.go +++ /dev/null @@ -1,116 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/common/final_app_url.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A URL for deep linking into an app for the given operating system. -type FinalAppUrl struct { - // The operating system targeted by this URL. Required. - OsType enums.AppUrlOperatingSystemTypeEnum_AppUrlOperatingSystemType `protobuf:"varint,1,opt,name=os_type,json=osType,proto3,enum=google.ads.googleads.v1.enums.AppUrlOperatingSystemTypeEnum_AppUrlOperatingSystemType" json:"os_type,omitempty"` - // The app deep link URL. Deep links specify a location in an app that - // corresponds to the content you'd like to show, and should be of the form - // {scheme}://{host_path} - // The scheme identifies which app to open. For your app, you can use a custom - // scheme that starts with the app's name. The host and path specify the - // unique location in the app where your content exists. - // Example: "exampleapp://productid_1234". Required. - Url *wrappers.StringValue `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FinalAppUrl) Reset() { *m = FinalAppUrl{} } -func (m *FinalAppUrl) String() string { return proto.CompactTextString(m) } -func (*FinalAppUrl) ProtoMessage() {} -func (*FinalAppUrl) Descriptor() ([]byte, []int) { - return fileDescriptor_8b7b2ec96b577e51, []int{0} -} - -func (m *FinalAppUrl) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FinalAppUrl.Unmarshal(m, b) -} -func (m *FinalAppUrl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FinalAppUrl.Marshal(b, m, deterministic) -} -func (m *FinalAppUrl) XXX_Merge(src proto.Message) { - xxx_messageInfo_FinalAppUrl.Merge(m, src) -} -func (m *FinalAppUrl) XXX_Size() int { - return xxx_messageInfo_FinalAppUrl.Size(m) -} -func (m *FinalAppUrl) XXX_DiscardUnknown() { - xxx_messageInfo_FinalAppUrl.DiscardUnknown(m) -} - -var xxx_messageInfo_FinalAppUrl proto.InternalMessageInfo - -func (m *FinalAppUrl) GetOsType() enums.AppUrlOperatingSystemTypeEnum_AppUrlOperatingSystemType { - if m != nil { - return m.OsType - } - return enums.AppUrlOperatingSystemTypeEnum_UNSPECIFIED -} - -func (m *FinalAppUrl) GetUrl() *wrappers.StringValue { - if m != nil { - return m.Url - } - return nil -} - -func init() { - proto.RegisterType((*FinalAppUrl)(nil), "google.ads.googleads.v1.common.FinalAppUrl") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/common/final_app_url.proto", fileDescriptor_8b7b2ec96b577e51) -} - -var fileDescriptor_8b7b2ec96b577e51 = []byte{ - // 356 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xbf, 0x6a, 0xf3, 0x30, - 0x14, 0xc5, 0xb1, 0x03, 0xf9, 0xc0, 0x81, 0x8f, 0x92, 0x29, 0x84, 0x10, 0x42, 0xa6, 0x4c, 0x12, - 0x4e, 0x37, 0x75, 0x72, 0xfa, 0x27, 0x63, 0x43, 0xd2, 0x7a, 0x28, 0x06, 0xa3, 0xc4, 0x8a, 0x30, - 0xd8, 0xba, 0x42, 0x92, 0x53, 0xf2, 0x3a, 0x1d, 0x3b, 0xf4, 0x41, 0xfa, 0x28, 0xed, 0x4b, 0x14, - 0x4b, 0x76, 0xe8, 0xe2, 0x4e, 0xba, 0xf6, 0xfd, 0x9d, 0x73, 0x8f, 0xae, 0x82, 0x25, 0x07, 0xe0, - 0x05, 0xc3, 0x34, 0xd3, 0xd8, 0x95, 0x75, 0x75, 0x0a, 0xf1, 0x01, 0xca, 0x12, 0x04, 0x3e, 0xe6, - 0x82, 0x16, 0x29, 0x95, 0x32, 0xad, 0x54, 0x81, 0xa4, 0x02, 0x03, 0xc3, 0xa9, 0x03, 0x11, 0xcd, - 0x34, 0xba, 0x68, 0xd0, 0x29, 0x44, 0x4e, 0x33, 0x8e, 0xba, 0x3c, 0x99, 0xa8, 0x4a, 0x8d, 0x1b, - 0xb3, 0x14, 0x24, 0x53, 0xd4, 0xe4, 0x82, 0xa7, 0xfa, 0xac, 0x0d, 0x2b, 0x53, 0x73, 0x96, 0xcc, - 0x8d, 0x18, 0x4f, 0x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, 0x42, 0x2e, 0x08, 0x21, 0x71, 0x48, - 0x88, 0x83, 0xf6, 0x7d, 0x9b, 0xee, 0xfa, 0x27, 0x00, 0x00, 0xff, 0xff, 0x12, 0xd0, 0x1f, 0x4d, - 0x7c, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/frequency_cap.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/frequency_cap.pb.go deleted file mode 100644 index 05c7c7db..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/frequency_cap.pb.go +++ /dev/null @@ -1,190 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/common/frequency_cap.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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_945ed9a5640a9dfd, []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 (m *FrequencyCapEntry) XXX_Merge(src proto.Message) { - xxx_messageInfo_FrequencyCapEntry.Merge(m, 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.v1.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.v1.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.v1.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_945ed9a5640a9dfd, []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 (m *FrequencyCapKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_FrequencyCapKey.Merge(m, 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.v1.common.FrequencyCapEntry") - proto.RegisterType((*FrequencyCapKey)(nil), "google.ads.googleads.v1.common.FrequencyCapKey") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/common/frequency_cap.proto", fileDescriptor_945ed9a5640a9dfd) -} - -var fileDescriptor_945ed9a5640a9dfd = []byte{ - // 466 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0xcf, 0x6a, 0xd4, 0x40, - 0x18, 0x27, 0x1b, 0x15, 0x3b, 0x85, 0x8a, 0x39, 0x2d, 0x55, 0x8a, 0xec, 0xc9, 0x8b, 0x33, 0x24, - 0x3d, 0x08, 0x69, 0x2f, 0x69, 0xdd, 0x16, 0x71, 0x91, 0x12, 0xea, 0x1e, 0x24, 0xb0, 0x4c, 0x93, - 0xaf, 0x31, 0x98, 0xcc, 0x8c, 0xc9, 0x64, 0x25, 0x0f, 0x20, 0xbe, 0x87, 0x47, 0x1f, 0xc5, 0x47, - 0x11, 0x1f, 0x42, 0x66, 0x26, 0x13, 0x5d, 0x97, 0xb5, 0xe4, 0x94, 0x5f, 0xe6, 0xfb, 0xfd, 0xf9, - 0xf2, 0x7d, 0x13, 0x14, 0xe4, 0x9c, 0xe7, 0x25, 0x10, 0x9a, 0x35, 0xc4, 0x40, 0x85, 0xd6, 0x3e, - 0x49, 0x79, 0x55, 0x71, 0x46, 0x6e, 0x6b, 0xf8, 0xd4, 0x02, 0x4b, 0xbb, 0x55, 0x4a, 0x05, 0x16, - 0x35, 0x97, 0xdc, 0x3b, 0x32, 0x44, 0x4c, 0xb3, 0x06, 0x0f, 0x1a, 0xbc, 0xf6, 0xb1, 0xd1, 0x1c, - 0x9e, 0xee, 0xf2, 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x68, 0x6f, 0xd8, 0x9c, 0x9e, 0xca, 0x41, 0xb0, - 0x18, 0x91, 0x76, 0x5d, 0x54, 0xf0, 0x8e, 0x15, 0x72, 0x2b, 0xcc, 0x16, 0xe2, 0x87, 0xb2, 0x47, - 0xde, 0x29, 0xda, 0xd7, 0x51, 0x25, 0xb0, 0x5c, 0x7e, 0x98, 0xde, 0xbb, 0x7b, 0x05, 0x48, 0xf1, - 0x17, 0x9a, 0x7e, 0xf6, 0xcb, 0x41, 0xb3, 0x94, 0x57, 0x77, 0x2c, 0xfd, 0x6c, 0xe3, 0xd6, 0x5c, - 0x29, 0xcf, 0x2b, 0xe7, 0xfd, 0xab, 0x5e, 0x94, 0xf3, 0x92, 0xb2, 0x1c, 0xf3, 0x3a, 0x27, 0x39, - 0x30, 0x9d, 0x68, 0x2f, 0xb6, 0x28, 0x9a, 0x5d, 0xbf, 0xec, 0x89, 0x79, 0x7c, 0x9b, 0xb8, 0x97, - 0x51, 0xf4, 0x7d, 0x72, 0x74, 0x69, 0xcc, 0xa2, 0xac, 0xc1, 0x06, 0x2a, 0xb4, 0xf4, 0xf1, 0xb9, - 0xa6, 0xfd, 0xb0, 0x84, 0x24, 0xca, 0x9a, 0x64, 0x20, 0x24, 0x4b, 0x3f, 0x31, 0x84, 0x9f, 0x93, - 0x99, 0x39, 0x0d, 0xc3, 0x28, 0x6b, 0xc2, 0x70, 0xa0, 0x84, 0xe1, 0xd2, 0x0f, 0x43, 0x43, 0xba, - 0x79, 0xa0, 0xbb, 0x3b, 0xfe, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x78, 0xe2, 0x3f, 0x06, 0x4f, 0x04, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/keyword_plan_common.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/keyword_plan_common.pb.go deleted file mode 100644 index 4cc30800..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/keyword_plan_common.pb.go +++ /dev/null @@ -1,112 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/common/keyword_plan_common.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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.v1.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_9c4702e792c06e4e, []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 (m *KeywordPlanHistoricalMetrics) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanHistoricalMetrics.Merge(m, 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.v1.common.KeywordPlanHistoricalMetrics") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/common/keyword_plan_common.proto", fileDescriptor_9c4702e792c06e4e) -} - -var fileDescriptor_9c4702e792c06e4e = []byte{ - // 389 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0x4f, 0x6b, 0xdb, 0x30, - 0x18, 0xc6, 0xb1, 0x07, 0x3b, 0x38, 0xb0, 0x83, 0x19, 0x23, 0x64, 0x21, 0x84, 0x9c, 0x72, 0x92, - 0x70, 0x36, 0xc6, 0xd0, 0x4e, 0xce, 0x5a, 0xd2, 0xd2, 0x06, 0x42, 0x0a, 0x3e, 0x04, 0x83, 0x51, - 0x6c, 0x55, 0x31, 0x95, 0x25, 0x23, 0xc9, 0x0e, 0x81, 0x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1, - 0xdd, 0x34, 0x32, 0xf7, 0xde, 0xe9, 0x1c, 0x0c, 0xd2, 0xb5, 0x87, 0xd6, 0xf8, 0xdb, 0x64, 0x05, - 0x8e, 0xed, 0xa9, 0xde, 0x03, 0x38, 0x68, 0xf0, 0xff, 0xbb, 0xf8, 0xba, 0x5a, 0xc2, 0x39, 0x2f, - 0xb2, 0x53, 0xf9, 0xe5, 0x61, 0xb9, 0xe9, 0xab, 0xe5, 0x8c, 0x62, 0x91, 0x81, 0xd3, 0xd7, 0x32, - 0xfd, 0xf1, 0xd1, 0x30, 0x13, 0x7c, 0x51, 0x8d, 0xb7, 0xb0, 0x56, 0x67, 0x8d, 0x92, 0x0a, 0x86, - 0x39, 0x05, 0x42, 0x52, 0x48, 0x09, 0xaf, 0x87, 0x6f, 0x2f, 0x30, 0x4f, 0xd5, 0xb1, 0x97, 0xf2, - 0xcf, 0x7c, 0x1e, 0xec, 0x2f, 0x33, 0xdf, 0x7f, 0xb4, 0x07, 0x33, 0x63, 0xe6, 0x27, 0x0a, 0x98, - 0xb0, 0x8a, 0x02, 0x0f, 0x98, 0x9a, 0x4f, 0x2d, 0x10, 0xfa, 0x89, 0x0a, 0xf7, 0x40, 0x18, 0x78, - 0xa1, 0x01, 0x9e, 0xed, 0x91, 0x39, 0x45, 0xc8, 0x4f, 0x14, 0x42, 0x7b, 0x04, 0xa1, 0xc0, 0x43, - 0xc8, 0x40, 0xeb, 0xaf, 0x75, 0x77, 0xbf, 0xde, 0x02, 0x00, 0x00, 0xff, 0xff, 0x15, 0x3e, 0x04, - 0x99, 0xc6, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/matching_function.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/matching_function.pb.go deleted file mode 100644 index cbc78acc..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/matching_function.pb.go +++ /dev/null @@ -1,536 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/common/matching_function.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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"` - // Operator for a function. - Operator enums.MatchingFunctionOperatorEnum_MatchingFunctionOperator `protobuf:"varint,4,opt,name=operator,proto3,enum=google.ads.googleads.v1.enums.MatchingFunctionOperatorEnum_MatchingFunctionOperator" json:"operator,omitempty"` - // The operands on the left hand side of the equation. This is also the - // operand to be used for single operand expressions such as NOT. - LeftOperands []*Operand `protobuf:"bytes,2,rep,name=left_operands,json=leftOperands,proto3" json:"left_operands,omitempty"` - // The operands on the right hand side of the equation. - RightOperands []*Operand `protobuf:"bytes,3,rep,name=right_operands,json=rightOperands,proto3" json:"right_operands,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_1378ef15dce1f854, []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 (m *MatchingFunction) XXX_Merge(src proto.Message) { - xxx_messageInfo_MatchingFunction.Merge(m, 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 (m *MatchingFunction) GetOperator() enums.MatchingFunctionOperatorEnum_MatchingFunctionOperator { - if m != nil { - return m.Operator - } - return enums.MatchingFunctionOperatorEnum_UNSPECIFIED -} - -func (m *MatchingFunction) GetLeftOperands() []*Operand { - if m != nil { - return m.LeftOperands - } - return nil -} - -func (m *MatchingFunction) GetRightOperands() []*Operand { - if m != nil { - return m.RightOperands - } - return nil -} - -// An operand in a matching function. -type Operand struct { - // Different operands that can be used in a matching function. Required. - // - // Types that are valid to be assigned to FunctionArgumentOperand: - // *Operand_ConstantOperand_ - // *Operand_FeedAttributeOperand_ - // *Operand_FunctionOperand_ - // *Operand_RequestContextOperand_ - FunctionArgumentOperand isOperand_FunctionArgumentOperand `protobuf_oneof:"function_argument_operand"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Operand) Reset() { *m = Operand{} } -func (m *Operand) String() string { return proto.CompactTextString(m) } -func (*Operand) ProtoMessage() {} -func (*Operand) Descriptor() ([]byte, []int) { - return fileDescriptor_1378ef15dce1f854, []int{1} -} - -func (m *Operand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Operand.Unmarshal(m, b) -} -func (m *Operand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Operand.Marshal(b, m, deterministic) -} -func (m *Operand) XXX_Merge(src proto.Message) { - xxx_messageInfo_Operand.Merge(m, src) -} -func (m *Operand) XXX_Size() int { - return xxx_messageInfo_Operand.Size(m) -} -func (m *Operand) XXX_DiscardUnknown() { - xxx_messageInfo_Operand.DiscardUnknown(m) -} - -var xxx_messageInfo_Operand proto.InternalMessageInfo - -type isOperand_FunctionArgumentOperand interface { - isOperand_FunctionArgumentOperand() -} - -type Operand_ConstantOperand_ struct { - ConstantOperand *Operand_ConstantOperand `protobuf:"bytes,1,opt,name=constant_operand,json=constantOperand,proto3,oneof"` -} - -type Operand_FeedAttributeOperand_ struct { - FeedAttributeOperand *Operand_FeedAttributeOperand `protobuf:"bytes,2,opt,name=feed_attribute_operand,json=feedAttributeOperand,proto3,oneof"` -} - -type Operand_FunctionOperand_ struct { - FunctionOperand *Operand_FunctionOperand `protobuf:"bytes,3,opt,name=function_operand,json=functionOperand,proto3,oneof"` -} - -type Operand_RequestContextOperand_ struct { - RequestContextOperand *Operand_RequestContextOperand `protobuf:"bytes,4,opt,name=request_context_operand,json=requestContextOperand,proto3,oneof"` -} - -func (*Operand_ConstantOperand_) isOperand_FunctionArgumentOperand() {} - -func (*Operand_FeedAttributeOperand_) isOperand_FunctionArgumentOperand() {} - -func (*Operand_FunctionOperand_) isOperand_FunctionArgumentOperand() {} - -func (*Operand_RequestContextOperand_) isOperand_FunctionArgumentOperand() {} - -func (m *Operand) GetFunctionArgumentOperand() isOperand_FunctionArgumentOperand { - if m != nil { - return m.FunctionArgumentOperand - } - return nil -} - -func (m *Operand) GetConstantOperand() *Operand_ConstantOperand { - if x, ok := m.GetFunctionArgumentOperand().(*Operand_ConstantOperand_); ok { - return x.ConstantOperand - } - return nil -} - -func (m *Operand) GetFeedAttributeOperand() *Operand_FeedAttributeOperand { - if x, ok := m.GetFunctionArgumentOperand().(*Operand_FeedAttributeOperand_); ok { - return x.FeedAttributeOperand - } - return nil -} - -func (m *Operand) GetFunctionOperand() *Operand_FunctionOperand { - if x, ok := m.GetFunctionArgumentOperand().(*Operand_FunctionOperand_); ok { - return x.FunctionOperand - } - return nil -} - -func (m *Operand) GetRequestContextOperand() *Operand_RequestContextOperand { - if x, ok := m.GetFunctionArgumentOperand().(*Operand_RequestContextOperand_); ok { - return x.RequestContextOperand - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Operand) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Operand_ConstantOperand_)(nil), - (*Operand_FeedAttributeOperand_)(nil), - (*Operand_FunctionOperand_)(nil), - (*Operand_RequestContextOperand_)(nil), - } -} - -// A constant operand in a matching function. -type Operand_ConstantOperand struct { - // Constant operand values. Required. - // - // Types that are valid to be assigned to ConstantOperandValue: - // *Operand_ConstantOperand_StringValue - // *Operand_ConstantOperand_LongValue - // *Operand_ConstantOperand_BooleanValue - // *Operand_ConstantOperand_DoubleValue - ConstantOperandValue isOperand_ConstantOperand_ConstantOperandValue `protobuf_oneof:"constant_operand_value"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Operand_ConstantOperand) Reset() { *m = Operand_ConstantOperand{} } -func (m *Operand_ConstantOperand) String() string { return proto.CompactTextString(m) } -func (*Operand_ConstantOperand) ProtoMessage() {} -func (*Operand_ConstantOperand) Descriptor() ([]byte, []int) { - return fileDescriptor_1378ef15dce1f854, []int{1, 0} -} - -func (m *Operand_ConstantOperand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Operand_ConstantOperand.Unmarshal(m, b) -} -func (m *Operand_ConstantOperand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Operand_ConstantOperand.Marshal(b, m, deterministic) -} -func (m *Operand_ConstantOperand) XXX_Merge(src proto.Message) { - xxx_messageInfo_Operand_ConstantOperand.Merge(m, src) -} -func (m *Operand_ConstantOperand) XXX_Size() int { - return xxx_messageInfo_Operand_ConstantOperand.Size(m) -} -func (m *Operand_ConstantOperand) XXX_DiscardUnknown() { - xxx_messageInfo_Operand_ConstantOperand.DiscardUnknown(m) -} - -var xxx_messageInfo_Operand_ConstantOperand proto.InternalMessageInfo - -type isOperand_ConstantOperand_ConstantOperandValue interface { - isOperand_ConstantOperand_ConstantOperandValue() -} - -type Operand_ConstantOperand_StringValue struct { - StringValue *wrappers.StringValue `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"` -} - -type Operand_ConstantOperand_LongValue struct { - LongValue *wrappers.Int64Value `protobuf:"bytes,2,opt,name=long_value,json=longValue,proto3,oneof"` -} - -type Operand_ConstantOperand_BooleanValue struct { - BooleanValue *wrappers.BoolValue `protobuf:"bytes,3,opt,name=boolean_value,json=booleanValue,proto3,oneof"` -} - -type Operand_ConstantOperand_DoubleValue struct { - DoubleValue *wrappers.DoubleValue `protobuf:"bytes,4,opt,name=double_value,json=doubleValue,proto3,oneof"` -} - -func (*Operand_ConstantOperand_StringValue) isOperand_ConstantOperand_ConstantOperandValue() {} - -func (*Operand_ConstantOperand_LongValue) isOperand_ConstantOperand_ConstantOperandValue() {} - -func (*Operand_ConstantOperand_BooleanValue) isOperand_ConstantOperand_ConstantOperandValue() {} - -func (*Operand_ConstantOperand_DoubleValue) isOperand_ConstantOperand_ConstantOperandValue() {} - -func (m *Operand_ConstantOperand) GetConstantOperandValue() isOperand_ConstantOperand_ConstantOperandValue { - if m != nil { - return m.ConstantOperandValue - } - return nil -} - -func (m *Operand_ConstantOperand) GetStringValue() *wrappers.StringValue { - if x, ok := m.GetConstantOperandValue().(*Operand_ConstantOperand_StringValue); ok { - return x.StringValue - } - return nil -} - -func (m *Operand_ConstantOperand) GetLongValue() *wrappers.Int64Value { - if x, ok := m.GetConstantOperandValue().(*Operand_ConstantOperand_LongValue); ok { - return x.LongValue - } - return nil -} - -func (m *Operand_ConstantOperand) GetBooleanValue() *wrappers.BoolValue { - if x, ok := m.GetConstantOperandValue().(*Operand_ConstantOperand_BooleanValue); ok { - return x.BooleanValue - } - return nil -} - -func (m *Operand_ConstantOperand) GetDoubleValue() *wrappers.DoubleValue { - if x, ok := m.GetConstantOperandValue().(*Operand_ConstantOperand_DoubleValue); ok { - return x.DoubleValue - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Operand_ConstantOperand) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Operand_ConstantOperand_StringValue)(nil), - (*Operand_ConstantOperand_LongValue)(nil), - (*Operand_ConstantOperand_BooleanValue)(nil), - (*Operand_ConstantOperand_DoubleValue)(nil), - } -} - -// A feed attribute operand in a matching function. -// Used to represent a feed attribute in feed. -type Operand_FeedAttributeOperand struct { - // The associated feed. Required. - FeedId *wrappers.Int64Value `protobuf:"bytes,1,opt,name=feed_id,json=feedId,proto3" json:"feed_id,omitempty"` - // Id of the referenced feed attribute. Required. - FeedAttributeId *wrappers.Int64Value `protobuf:"bytes,2,opt,name=feed_attribute_id,json=feedAttributeId,proto3" json:"feed_attribute_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Operand_FeedAttributeOperand) Reset() { *m = Operand_FeedAttributeOperand{} } -func (m *Operand_FeedAttributeOperand) String() string { return proto.CompactTextString(m) } -func (*Operand_FeedAttributeOperand) ProtoMessage() {} -func (*Operand_FeedAttributeOperand) Descriptor() ([]byte, []int) { - return fileDescriptor_1378ef15dce1f854, []int{1, 1} -} - -func (m *Operand_FeedAttributeOperand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Operand_FeedAttributeOperand.Unmarshal(m, b) -} -func (m *Operand_FeedAttributeOperand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Operand_FeedAttributeOperand.Marshal(b, m, deterministic) -} -func (m *Operand_FeedAttributeOperand) XXX_Merge(src proto.Message) { - xxx_messageInfo_Operand_FeedAttributeOperand.Merge(m, src) -} -func (m *Operand_FeedAttributeOperand) XXX_Size() int { - return xxx_messageInfo_Operand_FeedAttributeOperand.Size(m) -} -func (m *Operand_FeedAttributeOperand) XXX_DiscardUnknown() { - xxx_messageInfo_Operand_FeedAttributeOperand.DiscardUnknown(m) -} - -var xxx_messageInfo_Operand_FeedAttributeOperand proto.InternalMessageInfo - -func (m *Operand_FeedAttributeOperand) GetFeedId() *wrappers.Int64Value { - if m != nil { - return m.FeedId - } - return nil -} - -func (m *Operand_FeedAttributeOperand) GetFeedAttributeId() *wrappers.Int64Value { - if m != nil { - return m.FeedAttributeId - } - return nil -} - -// A function operand in a matching function. -// Used to represent nested functions. -type Operand_FunctionOperand struct { - // The matching function held in this operand. - MatchingFunction *MatchingFunction `protobuf:"bytes,1,opt,name=matching_function,json=matchingFunction,proto3" json:"matching_function,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Operand_FunctionOperand) Reset() { *m = Operand_FunctionOperand{} } -func (m *Operand_FunctionOperand) String() string { return proto.CompactTextString(m) } -func (*Operand_FunctionOperand) ProtoMessage() {} -func (*Operand_FunctionOperand) Descriptor() ([]byte, []int) { - return fileDescriptor_1378ef15dce1f854, []int{1, 2} -} - -func (m *Operand_FunctionOperand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Operand_FunctionOperand.Unmarshal(m, b) -} -func (m *Operand_FunctionOperand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Operand_FunctionOperand.Marshal(b, m, deterministic) -} -func (m *Operand_FunctionOperand) XXX_Merge(src proto.Message) { - xxx_messageInfo_Operand_FunctionOperand.Merge(m, src) -} -func (m *Operand_FunctionOperand) XXX_Size() int { - return xxx_messageInfo_Operand_FunctionOperand.Size(m) -} -func (m *Operand_FunctionOperand) XXX_DiscardUnknown() { - xxx_messageInfo_Operand_FunctionOperand.DiscardUnknown(m) -} - -var xxx_messageInfo_Operand_FunctionOperand proto.InternalMessageInfo - -func (m *Operand_FunctionOperand) GetMatchingFunction() *MatchingFunction { - if m != nil { - return m.MatchingFunction - } - return nil -} - -// An operand in a function referring to a value in the request context. -type Operand_RequestContextOperand struct { - // Type of value to be referred in the request context. - ContextType enums.MatchingFunctionContextTypeEnum_MatchingFunctionContextType `protobuf:"varint,1,opt,name=context_type,json=contextType,proto3,enum=google.ads.googleads.v1.enums.MatchingFunctionContextTypeEnum_MatchingFunctionContextType" json:"context_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Operand_RequestContextOperand) Reset() { *m = Operand_RequestContextOperand{} } -func (m *Operand_RequestContextOperand) String() string { return proto.CompactTextString(m) } -func (*Operand_RequestContextOperand) ProtoMessage() {} -func (*Operand_RequestContextOperand) Descriptor() ([]byte, []int) { - return fileDescriptor_1378ef15dce1f854, []int{1, 3} -} - -func (m *Operand_RequestContextOperand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Operand_RequestContextOperand.Unmarshal(m, b) -} -func (m *Operand_RequestContextOperand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Operand_RequestContextOperand.Marshal(b, m, deterministic) -} -func (m *Operand_RequestContextOperand) XXX_Merge(src proto.Message) { - xxx_messageInfo_Operand_RequestContextOperand.Merge(m, src) -} -func (m *Operand_RequestContextOperand) XXX_Size() int { - return xxx_messageInfo_Operand_RequestContextOperand.Size(m) -} -func (m *Operand_RequestContextOperand) XXX_DiscardUnknown() { - xxx_messageInfo_Operand_RequestContextOperand.DiscardUnknown(m) -} - -var xxx_messageInfo_Operand_RequestContextOperand proto.InternalMessageInfo - -func (m *Operand_RequestContextOperand) GetContextType() enums.MatchingFunctionContextTypeEnum_MatchingFunctionContextType { - if m != nil { - return m.ContextType - } - return enums.MatchingFunctionContextTypeEnum_UNSPECIFIED -} - -func init() { - proto.RegisterType((*MatchingFunction)(nil), "google.ads.googleads.v1.common.MatchingFunction") - proto.RegisterType((*Operand)(nil), "google.ads.googleads.v1.common.Operand") - proto.RegisterType((*Operand_ConstantOperand)(nil), "google.ads.googleads.v1.common.Operand.ConstantOperand") - proto.RegisterType((*Operand_FeedAttributeOperand)(nil), "google.ads.googleads.v1.common.Operand.FeedAttributeOperand") - proto.RegisterType((*Operand_FunctionOperand)(nil), "google.ads.googleads.v1.common.Operand.FunctionOperand") - proto.RegisterType((*Operand_RequestContextOperand)(nil), "google.ads.googleads.v1.common.Operand.RequestContextOperand") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/common/matching_function.proto", fileDescriptor_1378ef15dce1f854) -} - -var fileDescriptor_1378ef15dce1f854 = []byte{ - // 750 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x55, 0xcd, 0x4e, 0xdb, 0x4a, - 0x14, 0x26, 0x09, 0x82, 0xcb, 0x24, 0x24, 0x60, 0x01, 0x37, 0x37, 0x20, 0x84, 0xb2, 0xb9, 0xac, - 0xc6, 0x37, 0xb9, 0x88, 0x4a, 0x2e, 0xad, 0xe4, 0xf0, 0x2f, 0xb5, 0x05, 0xb9, 0x28, 0x0b, 0x94, - 0x2a, 0x72, 0x3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, 0x62, - 0x2f, 0xa6, 0x15, 0x33, 0x04, 0xcd, 0xa1, 0x60, 0x19, 0x48, 0xae, 0x07, 0xe3, 0x1c, 0xb5, 0x6f, - 0x79, 0x50, 0xc9, 0xd4, 0x5e, 0xd1, 0x41, 0x49, 0x5c, 0x94, 0xee, 0x6d, 0x74, 0x15, 0xa6, 0xb9, - 0x2e, 0x67, 0x73, 0x46, 0x91, 0x0d, 0x4c, 0xe5, 0x00, 0x00, 0x97, 0xa6, 0x04, 0xa2, 0x3f, 0x9b, - 0x23, 0x04, 0xe7, 0x84, 0xef, 0xef, 0x25, 0xf8, 0xa5, 0x08, 0x20, 0xd0, 0x3a, 0x58, 0xee, 0x51, - 0xea, 0x62, 0x93, 0x48, 0x02, 0x51, 0xf0, 0xda, 0x08, 0x41, 0x8b, 0x52, 0x37, 0xc1, 0x97, 0x24, - 0x24, 0xa1, 0x28, 0x21, 0x1a, 0xf6, 0x5c, 0x2c, 0x19, 0xe6, 0x27, 0xe4, 0x70, 0x14, 0x07, 0xa5, - 0x39, 0xa0, 0x81, 0xd9, 0xaa, 0x82, 0x8d, 0xec, 0x54, 0x0b, 0xb2, 0xda, 0xa7, 0x1c, 0x58, 0x1b, - 0x37, 0x44, 0xca, 0x1e, 0x58, 0x8c, 0x47, 0xd4, 0x49, 0xe6, 0xff, 0xb1, 0x9c, 0x8d, 0x85, 0x28, - 0xf6, 0x1c, 0x29, 0xa7, 0x60, 0x35, 0x33, 0xd8, 0x0e, 0x9a, 0xa2, 0x66, 0x46, 0x65, 0x68, 0x60, - 0xcf, 0x51, 0xcd, 0x07, 0x95, 0xcc, 0xac, 0x29, 0xef, 0xc0, 0xea, 0xc8, 0xa3, 0x2b, 0xcf, 0xf6, - 0xdf, 0x53, 0x23, 0x95, 0x7d, 0xa3, 0x8c, 0x15, 0x2f, 0xb3, 0x53, 0xfb, 0x9c, 0x03, 0xeb, 0x63, - 0x27, 0x4e, 0xf9, 0x08, 0x4a, 0x0f, 0xff, 0x0f, 0xb1, 0x66, 0xb9, 0x79, 0x3d, 0xe3, 0x9b, 0x29, - 0x49, 0xaf, 0xee, 0x7d, 0x3c, 0xf6, 0xd9, 0x7c, 0xe0, 0x37, 0x8a, 0xd6, 0xc0, 0x68, 0x6d, 0x82, - 0x7f, 0xd2, 0x6b, 0x6b, 0x06, 0x76, 0xe8, 0xe1, 0x41, 0x17, 0x5b, 0xbf, 0x73, 0xa0, 0x6e, 0x51, - 0xef, 0x89, 0xfc, 0x5b, 0xeb, 0x59, 0xb5, 0xcb, 0xa8, 0x09, 0x97, 0xb9, 0xeb, 0x23, 0x09, 0xb4, - 0xa9, 0x6b, 0x12, 0x1b, 0xd2, 0xc0, 0x56, 0x6d, 0x4c, 0xe2, 0x16, 0x25, 0x7f, 0x3d, 0xdf, 0x61, - 0x93, 0x7e, 0xd0, 0xcf, 0xc5, 0xe7, 0x4b, 0xbe, 0x70, 0xaa, 0xeb, 0x5f, 0xf3, 0xdb, 0xa7, 0x82, - 0x4c, 0x47, 0x0c, 0x8a, 0x65, 0xb4, 0x6a, 0x37, 0xe0, 0x61, 0x1c, 0xf6, 0x23, 0x09, 0xe8, 0xe8, - 0x88, 0x75, 0xd2, 0x80, 0x4e, 0xbb, 0xd1, 0x11, 0x01, 0xbf, 0xf2, 0x75, 0xb1, 0xab, 0x69, 0x3a, - 0x62, 0x9a, 0x96, 0x86, 0x68, 0x5a, 0xbb, 0xa1, 0x69, 0x22, 0xa8, 0xb7, 0x10, 0x9f, 0xee, 0xff, - 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x00, 0xeb, 0x3a, 0xfd, 0x3d, 0x08, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/metrics.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/metrics.pb.go deleted file mode 100644 index b8c10180..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/metrics.pb.go +++ /dev/null @@ -1,1379 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/common/metrics.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Metrics data. -type Metrics struct { - // The percent of your ad impressions that are shown as the very first ad - // above the organic search results. - AbsoluteTopImpressionPercentage *wrappers.DoubleValue `protobuf:"bytes,95,opt,name=absolute_top_impression_percentage,json=absoluteTopImpressionPercentage,proto3" json:"absolute_top_impression_percentage,omitempty"` - // Average cost of viewable impressions (`active_view_impressions`). - ActiveViewCpm *wrappers.DoubleValue `protobuf:"bytes,1,opt,name=active_view_cpm,json=activeViewCpm,proto3" json:"active_view_cpm,omitempty"` - // Active view measurable clicks divided by active view viewable impressions. - // This metric is reported only for display network. - ActiveViewCtr *wrappers.DoubleValue `protobuf:"bytes,79,opt,name=active_view_ctr,json=activeViewCtr,proto3" json:"active_view_ctr,omitempty"` - // A measurement of how often your ad has become viewable on a Display - // Network site. - ActiveViewImpressions *wrappers.Int64Value `protobuf:"bytes,2,opt,name=active_view_impressions,json=activeViewImpressions,proto3" json:"active_view_impressions,omitempty"` - // The ratio of impressions that could be measured by Active View over the - // number of served impressions. - ActiveViewMeasurability *wrappers.DoubleValue `protobuf:"bytes,96,opt,name=active_view_measurability,json=activeViewMeasurability,proto3" json:"active_view_measurability,omitempty"` - // The cost of the impressions you received that were measurable by Active - // View. - ActiveViewMeasurableCostMicros *wrappers.Int64Value `protobuf:"bytes,3,opt,name=active_view_measurable_cost_micros,json=activeViewMeasurableCostMicros,proto3" json:"active_view_measurable_cost_micros,omitempty"` - // The number of times your ads are appearing on placements in positions - // where they can be seen. - ActiveViewMeasurableImpressions *wrappers.Int64Value `protobuf:"bytes,4,opt,name=active_view_measurable_impressions,json=activeViewMeasurableImpressions,proto3" json:"active_view_measurable_impressions,omitempty"` - // The percentage of time when your ad appeared on an Active View enabled site - // (measurable impressions) and was viewable (viewable impressions). - ActiveViewViewability *wrappers.DoubleValue `protobuf:"bytes,97,opt,name=active_view_viewability,json=activeViewViewability,proto3" json:"active_view_viewability,omitempty"` - // 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 only includes conversion actions - // which include_in_conversions_metric attribute is set to true. - 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 number of times people clicked the "Call" button to call a store during - // or after clicking an ad. This number doesn't include whether or not calls - // were connected, or the duration of any calls. - // This metric applies to feed items only. - AllConversionsFromClickToCall *wrappers.DoubleValue `protobuf:"bytes,118,opt,name=all_conversions_from_click_to_call,json=allConversionsFromClickToCall,proto3" json:"all_conversions_from_click_to_call,omitempty"` - // The number of times people clicked a "Get directions" button to navigate to - // a store after clicking an ad. - // This metric applies to feed items only. - AllConversionsFromDirections *wrappers.DoubleValue `protobuf:"bytes,119,opt,name=all_conversions_from_directions,json=allConversionsFromDirections,proto3" json:"all_conversions_from_directions,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 number of times people clicked a link to view a store's menu after - // clicking an ad. - // This metric applies to feed items only. - AllConversionsFromMenu *wrappers.DoubleValue `protobuf:"bytes,120,opt,name=all_conversions_from_menu,json=allConversionsFromMenu,proto3" json:"all_conversions_from_menu,omitempty"` - // The number of times people placed an order at a store after clicking an ad. - // This metric applies to feed items only. - AllConversionsFromOrder *wrappers.DoubleValue `protobuf:"bytes,121,opt,name=all_conversions_from_order,json=allConversionsFromOrder,proto3" json:"all_conversions_from_order,omitempty"` - // The number of other conversions (for example, posting a review or saving a - // location for a store) that occurred after people clicked an ad. - // This metric applies to feed items only. - AllConversionsFromOtherEngagement *wrappers.DoubleValue `protobuf:"bytes,122,opt,name=all_conversions_from_other_engagement,json=allConversionsFromOtherEngagement,proto3" json:"all_conversions_from_other_engagement,omitempty"` - // Estimated number of times people visited a store after clicking an ad. - // This metric applies to feed items only. - AllConversionsFromStoreVisit *wrappers.DoubleValue `protobuf:"bytes,123,opt,name=all_conversions_from_store_visit,json=allConversionsFromStoreVisit,proto3" json:"all_conversions_from_store_visit,omitempty"` - // The number of times that people were taken to a store's URL after clicking - // an ad. - // This metric applies to feed items only. - AllConversionsFromStoreWebsite *wrappers.DoubleValue `protobuf:"bytes,124,opt,name=all_conversions_from_store_website,json=allConversionsFromStoreWebsite,proto3" json:"all_conversions_from_store_website,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"` - // The average amount that you've been charged for an ad engagement. This - // amount is the total cost of all ad engagements divided by the total number - // of ad engagements. - AverageCpe *wrappers.DoubleValue `protobuf:"bytes,98,opt,name=average_cpe,json=averageCpe,proto3" json:"average_cpe,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"` - // Average number of times a unique cookie was exposed to your ad - // over a given time period. Imported from Google Analytics. - AverageFrequency *wrappers.DoubleValue `protobuf:"bytes,12,opt,name=average_frequency,json=averageFrequency,proto3" json:"average_frequency,omitempty"` - // Average number of pages viewed per session. - AveragePageViews *wrappers.DoubleValue `protobuf:"bytes,99,opt,name=average_page_views,json=averagePageViews,proto3" json:"average_page_views,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"` - // Total duration of all sessions (in seconds) / number of sessions. Imported - // from Google Analytics. - AverageTimeOnSite *wrappers.DoubleValue `protobuf:"bytes,84,opt,name=average_time_on_site,json=averageTimeOnSite,proto3" json:"average_time_on_site,omitempty"` - // An indication of how other advertisers are bidding on similar products. - BenchmarkAverageMaxCpc *wrappers.DoubleValue `protobuf:"bytes,14,opt,name=benchmark_average_max_cpc,json=benchmarkAverageMaxCpc,proto3" json:"benchmark_average_max_cpc,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 number of times your ad or your site's listing in the unpaid - // results was clicked. See the help page at - // https://support.google.com/google-ads/answer/3097241 for details. - CombinedClicks *wrappers.Int64Value `protobuf:"bytes,115,opt,name=combined_clicks,json=combinedClicks,proto3" json:"combined_clicks,omitempty"` - // The number of times your ad or your site's listing in the unpaid - // results was clicked (combined_clicks) divided by combined_queries. See the - // help page at https://support.google.com/google-ads/answer/3097241 for - // details. - CombinedClicksPerQuery *wrappers.DoubleValue `protobuf:"bytes,116,opt,name=combined_clicks_per_query,json=combinedClicksPerQuery,proto3" json:"combined_clicks_per_query,omitempty"` - // The number of searches that returned pages from your site in the unpaid - // results or showed one of your text ads. See the help page at - // https://support.google.com/google-ads/answer/3097241 for details. - CombinedQueries *wrappers.Int64Value `protobuf:"bytes,117,opt,name=combined_queries,json=combinedQueries,proto3" json:"combined_queries,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). This only includes - // conversion actions which include_in_conversions_metric attribute is set to - // true. - 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. This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. - 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. This only - // includes conversion actions which include_in_conversions_metric attribute - // is set to true. - 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. This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. - 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 - // include_in_conversions_metric attribute is set to true. - 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. This only includes - // conversion actions which include_in_conversions_metric attribute is set to - // true. - CostPerConversion *wrappers.DoubleValue `protobuf:"bytes,28,opt,name=cost_per_conversion,json=costPerConversion,proto3" json:"cost_per_conversion,omitempty"` - // The cost of ad interactions divided by current model attributed - // conversions. This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. - CostPerCurrentModelAttributedConversion *wrappers.DoubleValue `protobuf:"bytes,106,opt,name=cost_per_current_model_attributed_conversion,json=costPerCurrentModelAttributedConversion,proto3" json:"cost_per_current_model_attributed_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"` - // Shows how your historic conversions data would look under the attribution - // model you've currently selected. This only includes conversion actions - // which include_in_conversions_metric attribute is set to true. - CurrentModelAttributedConversions *wrappers.DoubleValue `protobuf:"bytes,101,opt,name=current_model_attributed_conversions,json=currentModelAttributedConversions,proto3" json:"current_model_attributed_conversions,omitempty"` - // Current model attributed conversions from interactions divided by the - // number of ad interactions (such as clicks for text ads or views for video - // ads). This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. - CurrentModelAttributedConversionsFromInteractionsRate *wrappers.DoubleValue `protobuf:"bytes,102,opt,name=current_model_attributed_conversions_from_interactions_rate,json=currentModelAttributedConversionsFromInteractionsRate,proto3" json:"current_model_attributed_conversions_from_interactions_rate,omitempty"` - // The value of current model attributed conversions from interactions divided - // by the number of ad interactions. This only includes conversion actions - // which include_in_conversions_metric attribute is set to true. - CurrentModelAttributedConversionsFromInteractionsValuePerInteraction *wrappers.DoubleValue `protobuf:"bytes,103,opt,name=current_model_attributed_conversions_from_interactions_value_per_interaction,json=currentModelAttributedConversionsFromInteractionsValuePerInteraction,proto3" json:"current_model_attributed_conversions_from_interactions_value_per_interaction,omitempty"` - // The total value of current model attributed conversions. This only includes - // conversion actions which include_in_conversions_metric attribute is set to - // true. - CurrentModelAttributedConversionsValue *wrappers.DoubleValue `protobuf:"bytes,104,opt,name=current_model_attributed_conversions_value,json=currentModelAttributedConversionsValue,proto3" json:"current_model_attributed_conversions_value,omitempty"` - // The value of current model attributed conversions divided by the cost of ad - // interactions. This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. - CurrentModelAttributedConversionsValuePerCost *wrappers.DoubleValue `protobuf:"bytes,105,opt,name=current_model_attributed_conversions_value_per_cost,json=currentModelAttributedConversionsValuePerCost,proto3" json:"current_model_attributed_conversions_value_per_cost,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"` - // The creative historical quality score. - HistoricalCreativeQualityScore enums.QualityScoreBucketEnum_QualityScoreBucket `protobuf:"varint,80,opt,name=historical_creative_quality_score,json=historicalCreativeQualityScore,proto3,enum=google.ads.googleads.v1.enums.QualityScoreBucketEnum_QualityScoreBucket" json:"historical_creative_quality_score,omitempty"` - // The quality of historical landing page experience. - HistoricalLandingPageQualityScore enums.QualityScoreBucketEnum_QualityScoreBucket `protobuf:"varint,81,opt,name=historical_landing_page_quality_score,json=historicalLandingPageQualityScore,proto3,enum=google.ads.googleads.v1.enums.QualityScoreBucketEnum_QualityScoreBucket" json:"historical_landing_page_quality_score,omitempty"` - // The historical quality score. - HistoricalQualityScore *wrappers.Int64Value `protobuf:"bytes,82,opt,name=historical_quality_score,json=historicalQualityScore,proto3" json:"historical_quality_score,omitempty"` - // The historical search predicted click through rate (CTR). - HistoricalSearchPredictedCtr enums.QualityScoreBucketEnum_QualityScoreBucket `protobuf:"varint,83,opt,name=historical_search_predicted_ctr,json=historicalSearchPredictedCtr,proto3,enum=google.ads.googleads.v1.enums.QualityScoreBucketEnum_QualityScoreBucket" json:"historical_search_predicted_ctr,omitempty"` - // The number of times the ad was forwarded to someone else as a message. - GmailForwards *wrappers.Int64Value `protobuf:"bytes,85,opt,name=gmail_forwards,json=gmailForwards,proto3" json:"gmail_forwards,omitempty"` - // The number of times someone has saved your Gmail ad to their inbox as a - // message. - GmailSaves *wrappers.Int64Value `protobuf:"bytes,86,opt,name=gmail_saves,json=gmailSaves,proto3" json:"gmail_saves,omitempty"` - // The number of clicks to the landing page on the expanded state of Gmail - // ads. - GmailSecondaryClicks *wrappers.Int64Value `protobuf:"bytes,87,opt,name=gmail_secondary_clicks,json=gmailSecondaryClicks,proto3" json:"gmail_secondary_clicks,omitempty"` - // Number of unique cookies that were exposed to your ad over a given time - // period. - ImpressionReach *wrappers.Int64Value `protobuf:"bytes,36,opt,name=impression_reach,json=impressionReach,proto3" json:"impression_reach,omitempty"` - // The number of times a store's location-based ad was shown. - // This metric applies to feed items only. - ImpressionsFromStoreReach *wrappers.Int64Value `protobuf:"bytes,125,opt,name=impressions_from_store_reach,json=impressionsFromStoreReach,proto3" json:"impressions_from_store_reach,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 types of payable and free interactions. - InteractionEventTypes []enums.InteractionEventTypeEnum_InteractionEventType `protobuf:"varint,100,rep,packed,name=interaction_event_types,json=interactionEventTypes,proto3,enum=google.ads.googleads.v1.enums.InteractionEventTypeEnum_InteractionEventType" json:"interaction_event_types,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"` - // The percentage of mobile clicks that go to a mobile-friendly page. - MobileFriendlyClicksPercentage *wrappers.DoubleValue `protobuf:"bytes,109,opt,name=mobile_friendly_clicks_percentage,json=mobileFriendlyClicksPercentage,proto3" json:"mobile_friendly_clicks_percentage,omitempty"` - // The number of times someone clicked your site's listing in the unpaid - // results for a particular query. See the help page at - // https://support.google.com/google-ads/answer/3097241 for details. - OrganicClicks *wrappers.Int64Value `protobuf:"bytes,110,opt,name=organic_clicks,json=organicClicks,proto3" json:"organic_clicks,omitempty"` - // The number of times someone clicked your site's listing in the unpaid - // results (organic_clicks) divided by the total number of searches that - // returned pages from your site (organic_queries). See the help page at - // https://support.google.com/google-ads/answer/3097241 for details. - OrganicClicksPerQuery *wrappers.DoubleValue `protobuf:"bytes,111,opt,name=organic_clicks_per_query,json=organicClicksPerQuery,proto3" json:"organic_clicks_per_query,omitempty"` - // The number of listings for your site in the unpaid search results. See the - // help page at https://support.google.com/google-ads/answer/3097241 for - // details. - OrganicImpressions *wrappers.Int64Value `protobuf:"bytes,112,opt,name=organic_impressions,json=organicImpressions,proto3" json:"organic_impressions,omitempty"` - // The number of times a page from your site was listed in the unpaid search - // results (organic_impressions) divided by the number of searches returning - // your site's listing in the unpaid results (organic_queries). See the help - // page at https://support.google.com/google-ads/answer/3097241 for details. - OrganicImpressionsPerQuery *wrappers.DoubleValue `protobuf:"bytes,113,opt,name=organic_impressions_per_query,json=organicImpressionsPerQuery,proto3" json:"organic_impressions_per_query,omitempty"` - // The total number of searches that returned your site's listing in the - // unpaid results. See the help page at - // https://support.google.com/google-ads/answer/3097241 for details. - OrganicQueries *wrappers.Int64Value `protobuf:"bytes,114,opt,name=organic_queries,json=organicQueries,proto3" json:"organic_queries,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 or Search 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 number estimating how often your ad wasn't the very first ad above the - // organic search results due to a low budget. Note: Search - // budget lost absolute top impression share is reported in the range of 0 to - // 0.9. Any value above 0.9 is reported as 0.9001. - SearchBudgetLostAbsoluteTopImpressionShare *wrappers.DoubleValue `protobuf:"bytes,88,opt,name=search_budget_lost_absolute_top_impression_share,json=searchBudgetLostAbsoluteTopImpressionShare,proto3" json:"search_budget_lost_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 number estimating how often your ad didn't show anywhere above the - // organic search results due to a low budget. Note: Search - // budget lost top impression share is reported in the range of 0 to 0.9. Any - // value above 0.9 is reported as 0.9001. - SearchBudgetLostTopImpressionShare *wrappers.DoubleValue `protobuf:"bytes,89,opt,name=search_budget_lost_top_impression_share,json=searchBudgetLostTopImpressionShare,proto3" json:"search_budget_lost_top_impression_share,omitempty"` - // The number of clicks you've received on the Search Network - // divided by the estimated number of clicks you were eligible to receive. - // Note: Search click share is reported in the range of 0.1 to 1. Any value - // below 0.1 is reported as 0.0999. - SearchClickShare *wrappers.DoubleValue `protobuf:"bytes,48,opt,name=search_click_share,json=searchClickShare,proto3" json:"search_click_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 number estimating how often your ad wasn't the very first ad above the - // organic search results due to poor Ad Rank. - // Note: Search rank lost absolute top impression share is reported in the - // range of 0 to 0.9. Any value above 0.9 is reported as 0.9001. - SearchRankLostAbsoluteTopImpressionShare *wrappers.DoubleValue `protobuf:"bytes,90,opt,name=search_rank_lost_absolute_top_impression_share,json=searchRankLostAbsoluteTopImpressionShare,proto3" json:"search_rank_lost_absolute_top_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 number estimating how often your ad didn't show anywhere above the - // organic search results due to poor Ad Rank. - // Note: Search rank lost top impression share is reported in the range of 0 - // to 0.9. Any value above 0.9 is reported as 0.9001. - SearchRankLostTopImpressionShare *wrappers.DoubleValue `protobuf:"bytes,91,opt,name=search_rank_lost_top_impression_share,json=searchRankLostTopImpressionShare,proto3" json:"search_rank_lost_top_impression_share,omitempty"` - // The impressions you've received in the top location (anywhere above the - // organic search results) compared to the estimated number of impressions you - // were eligible to receive in the top location. - // Note: Search top impression share is reported in the range of 0.1 to 1. Any - // value below 0.1 is reported as 0.0999. - SearchTopImpressionShare *wrappers.DoubleValue `protobuf:"bytes,92,opt,name=search_top_impression_share,json=searchTopImpressionShare,proto3" json:"search_top_impression_share,omitempty"` - // A measure of how quickly your page loads after clicks on your mobile ads. - // The score is a range from 1 to 10, 10 being the fastest. - SpeedScore *wrappers.Int64Value `protobuf:"bytes,107,opt,name=speed_score,json=speedScore,proto3" json:"speed_score,omitempty"` - // The percent of your ad impressions that are shown anywhere above the - // organic search results. - TopImpressionPercentage *wrappers.DoubleValue `protobuf:"bytes,93,opt,name=top_impression_percentage,json=topImpressionPercentage,proto3" json:"top_impression_percentage,omitempty"` - // The percentage of ad clicks to Accelerated Mobile Pages (AMP) landing pages - // that reach a valid AMP page. - ValidAcceleratedMobilePagesClicksPercentage *wrappers.DoubleValue `protobuf:"bytes,108,opt,name=valid_accelerated_mobile_pages_clicks_percentage,json=validAcceleratedMobilePagesClicksPercentage,proto3" json:"valid_accelerated_mobile_pages_clicks_percentage,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. This only - // includes conversion actions which include_in_conversions_metric attribute - // is set to true. - ValuePerConversion *wrappers.DoubleValue `protobuf:"bytes,53,opt,name=value_per_conversion,json=valuePerConversion,proto3" json:"value_per_conversion,omitempty"` - // The value of current model attributed conversions divided by the number of - // the conversions. This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. - ValuePerCurrentModelAttributedConversion *wrappers.DoubleValue `protobuf:"bytes,94,opt,name=value_per_current_model_attributed_conversion,json=valuePerCurrentModelAttributedConversion,proto3" json:"value_per_current_model_attributed_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_1ce737312db00b98, []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 (m *Metrics) XXX_Merge(src proto.Message) { - xxx_messageInfo_Metrics.Merge(m, 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) GetAbsoluteTopImpressionPercentage() *wrappers.DoubleValue { - if m != nil { - return m.AbsoluteTopImpressionPercentage - } - return nil -} - -func (m *Metrics) GetActiveViewCpm() *wrappers.DoubleValue { - if m != nil { - return m.ActiveViewCpm - } - return nil -} - -func (m *Metrics) GetActiveViewCtr() *wrappers.DoubleValue { - if m != nil { - return m.ActiveViewCtr - } - return nil -} - -func (m *Metrics) GetActiveViewImpressions() *wrappers.Int64Value { - if m != nil { - return m.ActiveViewImpressions - } - return nil -} - -func (m *Metrics) GetActiveViewMeasurability() *wrappers.DoubleValue { - if m != nil { - return m.ActiveViewMeasurability - } - return nil -} - -func (m *Metrics) GetActiveViewMeasurableCostMicros() *wrappers.Int64Value { - if m != nil { - return m.ActiveViewMeasurableCostMicros - } - return nil -} - -func (m *Metrics) GetActiveViewMeasurableImpressions() *wrappers.Int64Value { - if m != nil { - return m.ActiveViewMeasurableImpressions - } - return nil -} - -func (m *Metrics) GetActiveViewViewability() *wrappers.DoubleValue { - if m != nil { - return m.ActiveViewViewability - } - return nil -} - -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) GetAllConversionsFromClickToCall() *wrappers.DoubleValue { - if m != nil { - return m.AllConversionsFromClickToCall - } - return nil -} - -func (m *Metrics) GetAllConversionsFromDirections() *wrappers.DoubleValue { - if m != nil { - return m.AllConversionsFromDirections - } - return nil -} - -func (m *Metrics) GetAllConversionsFromInteractionsValuePerInteraction() *wrappers.DoubleValue { - if m != nil { - return m.AllConversionsFromInteractionsValuePerInteraction - } - return nil -} - -func (m *Metrics) GetAllConversionsFromMenu() *wrappers.DoubleValue { - if m != nil { - return m.AllConversionsFromMenu - } - return nil -} - -func (m *Metrics) GetAllConversionsFromOrder() *wrappers.DoubleValue { - if m != nil { - return m.AllConversionsFromOrder - } - return nil -} - -func (m *Metrics) GetAllConversionsFromOtherEngagement() *wrappers.DoubleValue { - if m != nil { - return m.AllConversionsFromOtherEngagement - } - return nil -} - -func (m *Metrics) GetAllConversionsFromStoreVisit() *wrappers.DoubleValue { - if m != nil { - return m.AllConversionsFromStoreVisit - } - return nil -} - -func (m *Metrics) GetAllConversionsFromStoreWebsite() *wrappers.DoubleValue { - if m != nil { - return m.AllConversionsFromStoreWebsite - } - 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) GetAverageCpe() *wrappers.DoubleValue { - if m != nil { - return m.AverageCpe - } - 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) GetAverageFrequency() *wrappers.DoubleValue { - if m != nil { - return m.AverageFrequency - } - return nil -} - -func (m *Metrics) GetAveragePageViews() *wrappers.DoubleValue { - if m != nil { - return m.AveragePageViews - } - return nil -} - -func (m *Metrics) GetAveragePosition() *wrappers.DoubleValue { - if m != nil { - return m.AveragePosition - } - return nil -} - -func (m *Metrics) GetAverageTimeOnSite() *wrappers.DoubleValue { - if m != nil { - return m.AverageTimeOnSite - } - return nil -} - -func (m *Metrics) GetBenchmarkAverageMaxCpc() *wrappers.DoubleValue { - if m != nil { - return m.BenchmarkAverageMaxCpc - } - 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) GetCombinedClicks() *wrappers.Int64Value { - if m != nil { - return m.CombinedClicks - } - return nil -} - -func (m *Metrics) GetCombinedClicksPerQuery() *wrappers.DoubleValue { - if m != nil { - return m.CombinedClicksPerQuery - } - return nil -} - -func (m *Metrics) GetCombinedQueries() *wrappers.Int64Value { - if m != nil { - return m.CombinedQueries - } - 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) GetCostPerCurrentModelAttributedConversion() *wrappers.DoubleValue { - if m != nil { - return m.CostPerCurrentModelAttributedConversion - } - 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) GetCurrentModelAttributedConversions() *wrappers.DoubleValue { - if m != nil { - return m.CurrentModelAttributedConversions - } - return nil -} - -func (m *Metrics) GetCurrentModelAttributedConversionsFromInteractionsRate() *wrappers.DoubleValue { - if m != nil { - return m.CurrentModelAttributedConversionsFromInteractionsRate - } - return nil -} - -func (m *Metrics) GetCurrentModelAttributedConversionsFromInteractionsValuePerInteraction() *wrappers.DoubleValue { - if m != nil { - return m.CurrentModelAttributedConversionsFromInteractionsValuePerInteraction - } - return nil -} - -func (m *Metrics) GetCurrentModelAttributedConversionsValue() *wrappers.DoubleValue { - if m != nil { - return m.CurrentModelAttributedConversionsValue - } - return nil -} - -func (m *Metrics) GetCurrentModelAttributedConversionsValuePerCost() *wrappers.DoubleValue { - if m != nil { - return m.CurrentModelAttributedConversionsValuePerCost - } - 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) GetHistoricalCreativeQualityScore() enums.QualityScoreBucketEnum_QualityScoreBucket { - if m != nil { - return m.HistoricalCreativeQualityScore - } - return enums.QualityScoreBucketEnum_UNSPECIFIED -} - -func (m *Metrics) GetHistoricalLandingPageQualityScore() enums.QualityScoreBucketEnum_QualityScoreBucket { - if m != nil { - return m.HistoricalLandingPageQualityScore - } - return enums.QualityScoreBucketEnum_UNSPECIFIED -} - -func (m *Metrics) GetHistoricalQualityScore() *wrappers.Int64Value { - if m != nil { - return m.HistoricalQualityScore - } - return nil -} - -func (m *Metrics) GetHistoricalSearchPredictedCtr() enums.QualityScoreBucketEnum_QualityScoreBucket { - if m != nil { - return m.HistoricalSearchPredictedCtr - } - return enums.QualityScoreBucketEnum_UNSPECIFIED -} - -func (m *Metrics) GetGmailForwards() *wrappers.Int64Value { - if m != nil { - return m.GmailForwards - } - return nil -} - -func (m *Metrics) GetGmailSaves() *wrappers.Int64Value { - if m != nil { - return m.GmailSaves - } - return nil -} - -func (m *Metrics) GetGmailSecondaryClicks() *wrappers.Int64Value { - if m != nil { - return m.GmailSecondaryClicks - } - return nil -} - -func (m *Metrics) GetImpressionReach() *wrappers.Int64Value { - if m != nil { - return m.ImpressionReach - } - return nil -} - -func (m *Metrics) GetImpressionsFromStoreReach() *wrappers.Int64Value { - if m != nil { - return m.ImpressionsFromStoreReach - } - 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) GetInteractionEventTypes() []enums.InteractionEventTypeEnum_InteractionEventType { - if m != nil { - return m.InteractionEventTypes - } - 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) GetMobileFriendlyClicksPercentage() *wrappers.DoubleValue { - if m != nil { - return m.MobileFriendlyClicksPercentage - } - return nil -} - -func (m *Metrics) GetOrganicClicks() *wrappers.Int64Value { - if m != nil { - return m.OrganicClicks - } - return nil -} - -func (m *Metrics) GetOrganicClicksPerQuery() *wrappers.DoubleValue { - if m != nil { - return m.OrganicClicksPerQuery - } - return nil -} - -func (m *Metrics) GetOrganicImpressions() *wrappers.Int64Value { - if m != nil { - return m.OrganicImpressions - } - return nil -} - -func (m *Metrics) GetOrganicImpressionsPerQuery() *wrappers.DoubleValue { - if m != nil { - return m.OrganicImpressionsPerQuery - } - return nil -} - -func (m *Metrics) GetOrganicQueries() *wrappers.Int64Value { - if m != nil { - return m.OrganicQueries - } - 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) GetSearchBudgetLostAbsoluteTopImpressionShare() *wrappers.DoubleValue { - if m != nil { - return m.SearchBudgetLostAbsoluteTopImpressionShare - } - return nil -} - -func (m *Metrics) GetSearchBudgetLostImpressionShare() *wrappers.DoubleValue { - if m != nil { - return m.SearchBudgetLostImpressionShare - } - return nil -} - -func (m *Metrics) GetSearchBudgetLostTopImpressionShare() *wrappers.DoubleValue { - if m != nil { - return m.SearchBudgetLostTopImpressionShare - } - return nil -} - -func (m *Metrics) GetSearchClickShare() *wrappers.DoubleValue { - if m != nil { - return m.SearchClickShare - } - 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) GetSearchRankLostAbsoluteTopImpressionShare() *wrappers.DoubleValue { - if m != nil { - return m.SearchRankLostAbsoluteTopImpressionShare - } - return nil -} - -func (m *Metrics) GetSearchRankLostImpressionShare() *wrappers.DoubleValue { - if m != nil { - return m.SearchRankLostImpressionShare - } - return nil -} - -func (m *Metrics) GetSearchRankLostTopImpressionShare() *wrappers.DoubleValue { - if m != nil { - return m.SearchRankLostTopImpressionShare - } - return nil -} - -func (m *Metrics) GetSearchTopImpressionShare() *wrappers.DoubleValue { - if m != nil { - return m.SearchTopImpressionShare - } - return nil -} - -func (m *Metrics) GetSpeedScore() *wrappers.Int64Value { - if m != nil { - return m.SpeedScore - } - return nil -} - -func (m *Metrics) GetTopImpressionPercentage() *wrappers.DoubleValue { - if m != nil { - return m.TopImpressionPercentage - } - return nil -} - -func (m *Metrics) GetValidAcceleratedMobilePagesClicksPercentage() *wrappers.DoubleValue { - if m != nil { - return m.ValidAcceleratedMobilePagesClicksPercentage - } - 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) GetValuePerCurrentModelAttributedConversion() *wrappers.DoubleValue { - if m != nil { - return m.ValuePerCurrentModelAttributedConversion - } - 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.v1.common.Metrics") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/common/metrics.proto", fileDescriptor_1ce737312db00b98) -} - -var fileDescriptor_1ce737312db00b98 = []byte{ - // 2556 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x9a, 0xdb, 0x72, 0x14, 0xc7, - 0x19, 0xc7, 0x6b, 0x21, 0x65, 0x27, 0x9f, 0x40, 0xc2, 0x83, 0x80, 0x96, 0x2c, 0x4b, 0x42, 0x01, - 0x43, 0x30, 0xac, 0x0e, 0x58, 0xc6, 0x11, 0x60, 0xd7, 0xea, 0x04, 0x22, 0x12, 0xe8, 0x84, 0x04, - 0xb6, 0x92, 0x71, 0xef, 0x4c, 0x6b, 0x77, 0xac, 0x39, 0x2c, 0xdd, 0xbd, 0x2b, 0x14, 0xc7, 0xb9, - 0x48, 0x72, 0x91, 0x5c, 0x25, 0x55, 0xb9, 0x49, 0xe5, 0x32, 0x97, 0x79, 0x82, 0x3c, 0x43, 0x9e, - 0x21, 0xf7, 0xa9, 0xca, 0x53, 0xa4, 0xfa, 0x30, 0x33, 0xbd, 0xbb, 0xb3, 0xda, 0x16, 0xe5, 0x1b, - 0x58, 0x86, 0xfe, 0xff, 0xfe, 0xdf, 0xf4, 0xf4, 0xe1, 0xeb, 0x6f, 0x06, 0xee, 0xd6, 0x92, 0xa4, - 0x16, 0x92, 0x69, 0xec, 0xb3, 0x69, 0xf5, 0x53, 0xfc, 0x6a, 0xcd, 0x4e, 0x7b, 0x49, 0x14, 0x25, - 0xf1, 0x74, 0x44, 0x38, 0x0d, 0x3c, 0x56, 0x6e, 0xd0, 0x84, 0x27, 0xce, 0xb8, 0x6a, 0x52, 0xc6, - 0x3e, 0x2b, 0x67, 0xad, 0xcb, 0xad, 0xd9, 0xb2, 0x6a, 0x3d, 0xba, 0xd0, 0x8b, 0x46, 0xe2, 0x66, - 0xc4, 0xa6, 0x83, 0x98, 0x13, 0x8a, 0x3d, 0x1e, 0x24, 0xb1, 0x4b, 0x5a, 0x24, 0xe6, 0x2e, 0x3f, - 0x69, 0x10, 0xc5, 0x1e, 0xfd, 0xfc, 0x74, 0xed, 0x9b, 0x26, 0x0e, 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diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/policy.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/policy.pb.go deleted file mode 100644 index e00bd25f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/policy.pb.go +++ /dev/null @@ -1,965 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/common/policy.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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_abac22fabf79a39c, []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 (m *PolicyViolationKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyViolationKey.Merge(m, 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 exemption is done. Ignorable policy -// topics are only usable with expanded text ads and responsive search ads. All -// other ad types must use policy violation keys. -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"` - // The list of policy violation keys that should not cause a - // PolicyViolationError to be reported. Not all policy violations are - // exemptable, please refer to the is_exemptible field in the returned - // PolicyViolationError. - // - // Resources violating these polices 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. - ExemptPolicyViolationKeys []*PolicyViolationKey `protobuf:"bytes,2,rep,name=exempt_policy_violation_keys,json=exemptPolicyViolationKeys,proto3" json:"exempt_policy_violation_keys,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_abac22fabf79a39c, []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 (m *PolicyValidationParameter) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyValidationParameter.Merge(m, 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 -} - -func (m *PolicyValidationParameter) GetExemptPolicyViolationKeys() []*PolicyViolationKey { - if m != nil { - return m.ExemptPolicyViolationKeys - } - 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. -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.v1.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_abac22fabf79a39c, []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 (m *PolicyTopicEntry) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyTopicEntry.Merge(m, 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. -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_ - // *PolicyTopicEvidence_DestinationNotWorking_ - 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_abac22fabf79a39c, []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 (m *PolicyTopicEvidence) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyTopicEvidence.Merge(m, 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"` -} - -type PolicyTopicEvidence_DestinationNotWorking_ struct { - DestinationNotWorking *PolicyTopicEvidence_DestinationNotWorking `protobuf:"bytes,8,opt,name=destination_not_working,json=destinationNotWorking,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 (*PolicyTopicEvidence_DestinationNotWorking_) 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 -} - -func (m *PolicyTopicEvidence) GetDestinationNotWorking() *PolicyTopicEvidence_DestinationNotWorking { - if x, ok := m.GetValue().(*PolicyTopicEvidence_DestinationNotWorking_); ok { - return x.DestinationNotWorking - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*PolicyTopicEvidence) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*PolicyTopicEvidence_HttpCode)(nil), - (*PolicyTopicEvidence_WebsiteList_)(nil), - (*PolicyTopicEvidence_TextList_)(nil), - (*PolicyTopicEvidence_LanguageCode)(nil), - (*PolicyTopicEvidence_DestinationTextList_)(nil), - (*PolicyTopicEvidence_DestinationMismatch_)(nil), - (*PolicyTopicEvidence_DestinationNotWorking_)(nil), - } -} - -// A list of fragments of text that violated a policy. -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_abac22fabf79a39c, []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 (m *PolicyTopicEvidence_TextList) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyTopicEvidence_TextList.Merge(m, 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. -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_abac22fabf79a39c, []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 (m *PolicyTopicEvidence_WebsiteList) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyTopicEvidence_WebsiteList.Merge(m, 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. -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_abac22fabf79a39c, []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 (m *PolicyTopicEvidence_DestinationTextList) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyTopicEvidence_DestinationTextList.Merge(m, 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. -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.v1.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_abac22fabf79a39c, []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 (m *PolicyTopicEvidence_DestinationMismatch) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyTopicEvidence_DestinationMismatch.Merge(m, 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 -} - -// Evidence details when the destination is returning an HTTP error -// code or isn't functional in all locations for commonly used devices. -type PolicyTopicEvidence_DestinationNotWorking struct { - // The full URL that didn't work. - ExpandedUrl *wrappers.StringValue `protobuf:"bytes,3,opt,name=expanded_url,json=expandedUrl,proto3" json:"expanded_url,omitempty"` - // The type of device that failed to load the URL. - Device enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_PolicyTopicEvidenceDestinationNotWorkingDevice `protobuf:"varint,4,opt,name=device,proto3,enum=google.ads.googleads.v1.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_PolicyTopicEvidenceDestinationNotWorkingDevice" json:"device,omitempty"` - // The time the URL was last checked. - // The format is "YYYY-MM-DD HH:MM:SS". - // Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - LastCheckedDateTime *wrappers.StringValue `protobuf:"bytes,5,opt,name=last_checked_date_time,json=lastCheckedDateTime,proto3" json:"last_checked_date_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PolicyTopicEvidence_DestinationNotWorking) Reset() { - *m = PolicyTopicEvidence_DestinationNotWorking{} -} -func (m *PolicyTopicEvidence_DestinationNotWorking) String() string { return proto.CompactTextString(m) } -func (*PolicyTopicEvidence_DestinationNotWorking) ProtoMessage() {} -func (*PolicyTopicEvidence_DestinationNotWorking) Descriptor() ([]byte, []int) { - return fileDescriptor_abac22fabf79a39c, []int{3, 4} -} - -func (m *PolicyTopicEvidence_DestinationNotWorking) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PolicyTopicEvidence_DestinationNotWorking.Unmarshal(m, b) -} -func (m *PolicyTopicEvidence_DestinationNotWorking) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PolicyTopicEvidence_DestinationNotWorking.Marshal(b, m, deterministic) -} -func (m *PolicyTopicEvidence_DestinationNotWorking) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyTopicEvidence_DestinationNotWorking.Merge(m, src) -} -func (m *PolicyTopicEvidence_DestinationNotWorking) XXX_Size() int { - return xxx_messageInfo_PolicyTopicEvidence_DestinationNotWorking.Size(m) -} -func (m *PolicyTopicEvidence_DestinationNotWorking) XXX_DiscardUnknown() { - xxx_messageInfo_PolicyTopicEvidence_DestinationNotWorking.DiscardUnknown(m) -} - -var xxx_messageInfo_PolicyTopicEvidence_DestinationNotWorking proto.InternalMessageInfo - -func (m *PolicyTopicEvidence_DestinationNotWorking) GetExpandedUrl() *wrappers.StringValue { - if m != nil { - return m.ExpandedUrl - } - return nil -} - -func (m *PolicyTopicEvidence_DestinationNotWorking) GetDevice() enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_PolicyTopicEvidenceDestinationNotWorkingDevice { - if m != nil { - return m.Device - } - return enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_UNSPECIFIED -} - -func (m *PolicyTopicEvidence_DestinationNotWorking) GetLastCheckedDateTime() *wrappers.StringValue { - if m != nil { - return m.LastCheckedDateTime - } - return nil -} - -// Describes the effect on serving that a policy topic entry will have. -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_abac22fabf79a39c, []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 (m *PolicyTopicConstraint) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyTopicConstraint.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*PolicyTopicConstraint) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*PolicyTopicConstraint_CountryConstraintList_)(nil), - (*PolicyTopicConstraint_ResellerConstraint_)(nil), - (*PolicyTopicConstraint_CertificateMissingInCountryList)(nil), - (*PolicyTopicConstraint_CertificateDomainMismatchInCountryList)(nil), - } -} - -// A list of countries where a resource's serving is constrained. -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_abac22fabf79a39c, []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 (m *PolicyTopicConstraint_CountryConstraintList) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyTopicConstraint_CountryConstraintList.Merge(m, 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. -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_abac22fabf79a39c, []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 (m *PolicyTopicConstraint_ResellerConstraint) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyTopicConstraint_ResellerConstraint.Merge(m, 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. -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_abac22fabf79a39c, []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 (m *PolicyTopicConstraint_CountryConstraint) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyTopicConstraint_CountryConstraint.Merge(m, 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.v1.common.PolicyViolationKey") - proto.RegisterType((*PolicyValidationParameter)(nil), "google.ads.googleads.v1.common.PolicyValidationParameter") - proto.RegisterType((*PolicyTopicEntry)(nil), "google.ads.googleads.v1.common.PolicyTopicEntry") - proto.RegisterType((*PolicyTopicEvidence)(nil), "google.ads.googleads.v1.common.PolicyTopicEvidence") - proto.RegisterType((*PolicyTopicEvidence_TextList)(nil), "google.ads.googleads.v1.common.PolicyTopicEvidence.TextList") - proto.RegisterType((*PolicyTopicEvidence_WebsiteList)(nil), "google.ads.googleads.v1.common.PolicyTopicEvidence.WebsiteList") - proto.RegisterType((*PolicyTopicEvidence_DestinationTextList)(nil), "google.ads.googleads.v1.common.PolicyTopicEvidence.DestinationTextList") - proto.RegisterType((*PolicyTopicEvidence_DestinationMismatch)(nil), "google.ads.googleads.v1.common.PolicyTopicEvidence.DestinationMismatch") - proto.RegisterType((*PolicyTopicEvidence_DestinationNotWorking)(nil), "google.ads.googleads.v1.common.PolicyTopicEvidence.DestinationNotWorking") - proto.RegisterType((*PolicyTopicConstraint)(nil), "google.ads.googleads.v1.common.PolicyTopicConstraint") - proto.RegisterType((*PolicyTopicConstraint_CountryConstraintList)(nil), "google.ads.googleads.v1.common.PolicyTopicConstraint.CountryConstraintList") - proto.RegisterType((*PolicyTopicConstraint_ResellerConstraint)(nil), "google.ads.googleads.v1.common.PolicyTopicConstraint.ResellerConstraint") - proto.RegisterType((*PolicyTopicConstraint_CountryConstraint)(nil), "google.ads.googleads.v1.common.PolicyTopicConstraint.CountryConstraint") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/common/policy.proto", fileDescriptor_abac22fabf79a39c) -} - -var fileDescriptor_abac22fabf79a39c = []byte{ - // 1167 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0xcb, 0x6e, 0x1b, 0x37, - 0x14, 0xf5, 0xc8, 0x2f, 0x99, 0x72, 0x0c, 0x87, 0x8e, 0x62, 0x45, 0x35, 0xd2, 0x40, 0x05, 0x8a, - 0x02, 0x01, 0x46, 0xb0, 0x8c, 0x02, 0x85, 0xd2, 0x36, 0xb0, 0xe5, 0xc0, 0x32, 0xf2, 0x80, 0x33, - 0x95, 0xed, 0xa2, 0x35, 0x3a, 0xa1, 0x67, 0x98, 0x31, 0xe1, 0x19, 0x72, 0x30, 0xa4, 0x64, 0x0b, - 0x7d, 0xa0, 0x40, 0xd1, 0x7f, 0x68, 0xd1, 0x5d, 0x97, 0xd9, 0x76, 0xdf, 0x6d, 0x81, 0xae, 0xba, - 0x68, 0x7f, 0x21, 0x8b, 0x7e, 0x45, 0x31, 0x24, 0xe7, 0x11, 0x49, 0x8e, 0xe5, 0x47, 0x57, 0xa6, - 0xc9, 0x7b, 0xce, 0x3d, 0x3c, 0x73, 0x79, 0x49, 0x81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, - 0x00, 0xcf, 0x50, 0x80, 0x61, 0x0b, 0x2c, 0xf4, 0x14, 0x1d, 0xf5, 0x6c, 0x81, 0x4f, 0x45, 0xa5, - 0x30, 0x06, 0xc3, 0x8d, 0x14, 0xd3, 0xc1, 0xa7, 0xa2, 0xf6, 0xda, 0x00, 0x77, 0xb4, 0x34, 0xe4, - 0x13, 0x57, 0x6a, 0xdb, 0x41, 0x11, 0x0a, 0xb0, 0xc0, 0x11, 0xec, 0x80, 0x65, 0xe2, 0x51, 0x16, - 0xa1, 0x43, 0x1f, 0xdb, 0x79, 0xfb, 0x78, 0xc5, 0xb8, 0x37, 0x79, 0x6e, 0xae, 0x72, 0x0a, 0x56, - 0x29, 0x3a, 0x12, 0x0a, 0x39, 0x58, 0xc1, 0xa7, 0x38, 0x08, 0x45, 0x42, 0xd9, 0x4b, 0x5c, 0xb1, - 0x8f, 0x71, 0x9f, 0x57, 0x0a, 0x92, 0xba, 0x61, 0xbe, 0xbd, 0x06, 0xcd, 0x61, 0x47, 0xad, 0x3b, - 0x8a, 0x77, 0x78, 0x85, 0xd7, 0xfe, 0x2e, 0x80, 0xc5, 0x9c, 0x8a, 0x47, 0x71, 0x51, 0xc2, 0x06, - 0x98, 0x96, 0xdb, 0x19, 0xcb, 0x7b, 0x15, 0x0a, 0x5f, 0x80, 0xa9, 0xb8, 0xe4, 0xa4, 0xd9, 0x0b, - 0x8d, 0x27, 0x67, 0xaa, 0x94, 0x35, 0x67, 0x0e, 0xa6, 0xec, 0xf4, 0x43, 0xfc, 0x88, 0x76, 0x83, - 0x91, 0x0b, 0x96, 0x64, 0x86, 0xcf, 0xc1, 0x5c, 0x52, 0x9d, 0xbc, 0x32, 0x29, 0xcd, 0x58, 0x1b, - 0xcf, 0x0c, 0x45, 0xa7, 0xb1, 0x56, 0xc6, 0x02, 0xf7, 0x41, 0xc9, 0x61, 0x94, 0x8b, 0x08, 0x11, - 0x2a, 0x78, 0x65, 0x4a, 0x92, 0x7e, 0x78, 0x01,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0xc3, 0xe5, 0x54, 0xfd, 0x0a, 0xdc, - 0x1c, 0x42, 0xc5, 0x0d, 0x3c, 0x3d, 0x51, 0x11, 0x11, 0x38, 0x22, 0x8c, 0x8e, 0xf5, 0x1a, 0x5d, - 0x4c, 0x8e, 0x46, 0x82, 0x4a, 0x0f, 0xf0, 0xc6, 0x6b, 0x03, 0xd4, 0x1c, 0x16, 0x9c, 0xb3, 0xb1, - 0x8d, 0x92, 0xda, 0xd9, 0x4e, 0xcc, 0xbe, 0x63, 0x7c, 0xb1, 0xa9, 0xc3, 0x3d, 0x16, 0x3f, 0x42, - 0x4c, 0x16, 0x79, 0x75, 0x0f, 0x53, 0x99, 0x3b, 0xf9, 0x31, 0x15, 0x12, 0x7e, 0xd6, 0xcf, 0xc7, - 0x07, 0xea, 0xcf, 0xaf, 0x85, 0xc9, 0xad, 0xf5, 0xf5, 0x57, 0x85, 0xbb, 0x5b, 0x8a, 0x6c, 0xdd, - 0xe5, 0xa6, 0x1a, 0xc6, 0xa3, 0xbd, 0x55, 0xb3, 0x25, 0xc3, 0xfe, 0x4c, 0x02, 0x0e, 0xd6, 0x5d, - 0x7e, 0x90, 0x06, 0x1c, 0xec, 0xad, 0x1e, 0xa8, 0x80, 0x7f, 0x0b, 0x35, 0x35, 0xdb, 0x6c, 0xae, - 0xbb, 0xbc, 0xd9, 0x4c, 0x43, 0x9a, 0xcd, 0xbd, 0xd5, 0x66, 0x53, 0x05, 0x1d, 0xce, 0x48, 0x75, - 0x6b, 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, 0x9e, 0xa6, 0x20, 0xbb, 0xdb, 0x0e, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/real_time_bidding_setting.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/real_time_bidding_setting.pb.go deleted file mode 100644 index f5a17996..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/real_time_bidding_setting.pb.go +++ /dev/null @@ -1,97 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/common/real_time_bidding_setting.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // 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_7241f0db40dc1f31, []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 (m *RealTimeBiddingSetting) XXX_Merge(src proto.Message) { - xxx_messageInfo_RealTimeBiddingSetting.Merge(m, 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.v1.common.RealTimeBiddingSetting") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/common/real_time_bidding_setting.proto", fileDescriptor_7241f0db40dc1f31) -} - -var fileDescriptor_7241f0db40dc1f31 = []byte{ - // 303 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xf4, 0x30, - 0x14, 0x85, 0xe9, 0xfc, 0xfc, 0xb3, 0xa8, 0xbb, 0x59, 0x88, 0x8c, 0x32, 0xc8, 0xac, 0x5c, 0x25, - 0x44, 0x77, 0x11, 0x84, 0x56, 0x61, 0x10, 0x37, 0xc3, 0x28, 0x5d, 0x48, 0xa1, 0x64, 0x26, 0x31, - 0x04, 0xd2, 0xdc, 0xd0, 0x64, 0xc6, 0xf7, 0x71, 0xe9, 0xa3, 0xf8, 0x28, 0x3e, 0x80, 0x6b, 0x69, - 0x6f, 0xdb, 0x95, 0xba, 0xca, 0x49, 0x72, 0xbe, 0x73, 0x2e, 0x37, 0xbd, 0xd1, 0x00, 0xda, 0x2a, - 0x2a, 0x64, 0xa0, 0x28, 0x5b, 0x75, 0x60, 0x74, 0x07, 0x75, 0x0d, 0x8e, 0x36, 0x4a, 0xd8, 0x2a, - 0x9a, 0x5a, 0x55, 0x5b, 0x23, 0xa5, 0x71, 0xba, 0x0a, 0x2a, 0x46, 0xe3, 0x34, 0xf1, 0x0d, 0x44, - 0x98, 0x2d, 0x10, 0x22, 0x42, 0x06, 0x32, 0xf2, 0xe4, 0xc0, 0x08, 0xf2, 0xf3, 0xb3, 0x21, 0xdf, - 0x1b, 0x2a, 0x9c, 0x83, 0x28, 0xa2, 0x01, 0x17, 0x90, 0x9e, 0xf7, 0x34, 0xed, 0x6e, 0xdb, 0xfd, - 0x0b, 0x7d, 0x6d, 0x84, 0xf7, 0xaa, 0xe9, 0xff, 0x97, 0x0f, 0xe9, 0xf1, 0x46, 0x09, 0xfb, 0x64, - 0x6a, 0x95, 0x63, 0xfd, 0x23, 0xb6, 0xcf, 0x58, 0x3a, 0x05, 0x1f, 0x2b, 0xe3, 0x4e, 0x92, 0xf3, - 0xe4, 0xe2, 0xe8, 0x72, 0xde, 0xb7, 0x93, 0x21, 0x8a, 0xe4, 0x00, 0xb6, 0x10, 0x76, 0xaf, 0x36, - 0xff, 0xc1, 0xc7, 0x7b, 0x97, 0x7f, 0x25, 0xe9, 0x72, 0x07, 0x35, 0xf9, 0x7b, 0xe2, 0xfc, 0xf4, - 0xe7, 0xc6, 0x75, 0x9b, 0xbb, 0x4e, 0x9e, 0xef, 0x7a, 0x5c, 0x83, 0x15, 0x4e, 0x13, 0x68, 0x34, - 0xd5, 0xca, 0x75, 0xad, 0xc3, 0x02, 0xbd, 0x09, 0xbf, 0xed, 0xf3, 0x1a, 0x8f, 0xb7, 0xc9, 0xbf, - 0x55, 0x96, 0xbd, 0x4f, 0x16, 0x2b, 0x0c, 0xcb, 0x64, 0x20, 0x28, 0x5b, 0x55, 0x30, 0x72, 0xdb, - 0xd9, 0x3e, 0x06, 0x43, 0x99, 0xc9, 0x50, 0x8e, 0x86, 0xb2, 0x60, 0x25, 0x1a, 0x3e, 0x27, 0x4b, - 0x7c, 0xe5, 0x3c, 0x93, 0x81, 0xf3, 0xd1, 0xc2, 0x79, 0xc1, 0x38, 0x47, 0xd3, 0x76, 0xda, 0x4d, - 0x77, 0xf5, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x89, 0xa2, 0x9b, 0x0c, 0xec, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/segments.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/segments.pb.go deleted file mode 100644 index beefd043..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/segments.pb.go +++ /dev/null @@ -1,942 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/common/segments.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Segment only fields. -type Segments struct { - // Ad network type. - AdNetworkType enums.AdNetworkTypeEnum_AdNetworkType `protobuf:"varint,3,opt,name=ad_network_type,json=adNetworkType,proto3,enum=google.ads.googleads.v1.enums.AdNetworkTypeEnum_AdNetworkType" json:"ad_network_type,omitempty"` - // Click type. - ClickType enums.ClickTypeEnum_ClickType `protobuf:"varint,26,opt,name=click_type,json=clickType,proto3,enum=google.ads.googleads.v1.enums.ClickTypeEnum_ClickType" json:"click_type,omitempty"` - // Resource name of the conversion action. - ConversionAction *wrappers.StringValue `protobuf:"bytes,52,opt,name=conversion_action,json=conversionAction,proto3" json:"conversion_action,omitempty"` - // Conversion action category. - ConversionActionCategory enums.ConversionActionCategoryEnum_ConversionActionCategory `protobuf:"varint,53,opt,name=conversion_action_category,json=conversionActionCategory,proto3,enum=google.ads.googleads.v1.enums.ConversionActionCategoryEnum_ConversionActionCategory" json:"conversion_action_category,omitempty"` - // Conversion action name. - ConversionActionName *wrappers.StringValue `protobuf:"bytes,54,opt,name=conversion_action_name,json=conversionActionName,proto3" json:"conversion_action_name,omitempty"` - // This segments your conversion columns by the original conversion and - // conversion value vs. the delta if conversions were adjusted. False row has - // the data as originally stated; While true row has the delta between data - // now and the data as originally stated. Summing the two together results - // post-adjustment data. - ConversionAdjustment *wrappers.BoolValue `protobuf:"bytes,27,opt,name=conversion_adjustment,json=conversionAdjustment,proto3" json:"conversion_adjustment,omitempty"` - // Conversion attribution event type. - ConversionAttributionEventType enums.ConversionAttributionEventTypeEnum_ConversionAttributionEventType `protobuf:"varint,2,opt,name=conversion_attribution_event_type,json=conversionAttributionEventType,proto3,enum=google.ads.googleads.v1.enums.ConversionAttributionEventTypeEnum_ConversionAttributionEventType" json:"conversion_attribution_event_type,omitempty"` - // An enum value representing the number of days between the impression and - // the conversion. - ConversionLagBucket enums.ConversionLagBucketEnum_ConversionLagBucket `protobuf:"varint,50,opt,name=conversion_lag_bucket,json=conversionLagBucket,proto3,enum=google.ads.googleads.v1.enums.ConversionLagBucketEnum_ConversionLagBucket" json:"conversion_lag_bucket,omitempty"` - // An enum value representing the number of days between the impression and - // the conversion or between the impression and adjustments to the conversion. - ConversionOrAdjustmentLagBucket enums.ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket `protobuf:"varint,51,opt,name=conversion_or_adjustment_lag_bucket,json=conversionOrAdjustmentLagBucket,proto3,enum=google.ads.googleads.v1.enums.ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket" json:"conversion_or_adjustment_lag_bucket,omitempty"` - // Date to which metrics apply. - // yyyy-MM-dd format, e.g., 2018-04-17. - Date *wrappers.StringValue `protobuf:"bytes,4,opt,name=date,proto3" json:"date,omitempty"` - // Day of the week, e.g., MONDAY. - DayOfWeek enums.DayOfWeekEnum_DayOfWeek `protobuf:"varint,5,opt,name=day_of_week,json=dayOfWeek,proto3,enum=google.ads.googleads.v1.enums.DayOfWeekEnum_DayOfWeek" json:"day_of_week,omitempty"` - // Device to which metrics apply. - Device enums.DeviceEnum_Device `protobuf:"varint,1,opt,name=device,proto3,enum=google.ads.googleads.v1.enums.DeviceEnum_Device" json:"device,omitempty"` - // External conversion source. - ExternalConversionSource enums.ExternalConversionSourceEnum_ExternalConversionSource `protobuf:"varint,55,opt,name=external_conversion_source,json=externalConversionSource,proto3,enum=google.ads.googleads.v1.enums.ExternalConversionSourceEnum_ExternalConversionSource" json:"external_conversion_source,omitempty"` - // Resource name of the geo target constant that represents an airport. - GeoTargetAirport *wrappers.StringValue `protobuf:"bytes,65,opt,name=geo_target_airport,json=geoTargetAirport,proto3" json:"geo_target_airport,omitempty"` - // Resource name of the geo target constant that represents a city. - GeoTargetCity *wrappers.StringValue `protobuf:"bytes,62,opt,name=geo_target_city,json=geoTargetCity,proto3" json:"geo_target_city,omitempty"` - // Resource name of the geo target constant that represents a county. - GeoTargetCounty *wrappers.StringValue `protobuf:"bytes,68,opt,name=geo_target_county,json=geoTargetCounty,proto3" json:"geo_target_county,omitempty"` - // Resource name of the geo target constant that represents a district. - GeoTargetDistrict *wrappers.StringValue `protobuf:"bytes,69,opt,name=geo_target_district,json=geoTargetDistrict,proto3" json:"geo_target_district,omitempty"` - // Resource name of the geo target constant that represents a metro. - GeoTargetMetro *wrappers.StringValue `protobuf:"bytes,63,opt,name=geo_target_metro,json=geoTargetMetro,proto3" json:"geo_target_metro,omitempty"` - // Resource name of the geo target constant that represents the most - // specific location. - GeoTargetMostSpecificLocation *wrappers.StringValue `protobuf:"bytes,72,opt,name=geo_target_most_specific_location,json=geoTargetMostSpecificLocation,proto3" json:"geo_target_most_specific_location,omitempty"` - // Resource name of the geo target constant that represents a postal code. - GeoTargetPostalCode *wrappers.StringValue `protobuf:"bytes,71,opt,name=geo_target_postal_code,json=geoTargetPostalCode,proto3" json:"geo_target_postal_code,omitempty"` - // Resource name of the geo target constant that represents a province. - GeoTargetProvince *wrappers.StringValue `protobuf:"bytes,75,opt,name=geo_target_province,json=geoTargetProvince,proto3" json:"geo_target_province,omitempty"` - // Resource name of the geo target constant that represents a region. - GeoTargetRegion *wrappers.StringValue `protobuf:"bytes,64,opt,name=geo_target_region,json=geoTargetRegion,proto3" json:"geo_target_region,omitempty"` - // Resource name of the geo target constant that represents a state. - GeoTargetState *wrappers.StringValue `protobuf:"bytes,67,opt,name=geo_target_state,json=geoTargetState,proto3" json:"geo_target_state,omitempty"` - // Hotel booking window in days. - HotelBookingWindowDays *wrappers.Int64Value `protobuf:"bytes,6,opt,name=hotel_booking_window_days,json=hotelBookingWindowDays,proto3" json:"hotel_booking_window_days,omitempty"` - // Hotel center ID. - HotelCenterId *wrappers.Int64Value `protobuf:"bytes,7,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,8,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,9,opt,name=hotel_check_in_day_of_week,json=hotelCheckInDayOfWeek,proto3,enum=google.ads.googleads.v1.enums.DayOfWeekEnum_DayOfWeek" json:"hotel_check_in_day_of_week,omitempty"` - // Hotel city. - HotelCity *wrappers.StringValue `protobuf:"bytes,10,opt,name=hotel_city,json=hotelCity,proto3" json:"hotel_city,omitempty"` - // Hotel class. - HotelClass *wrappers.Int32Value `protobuf:"bytes,11,opt,name=hotel_class,json=hotelClass,proto3" json:"hotel_class,omitempty"` - // Hotel country. - HotelCountry *wrappers.StringValue `protobuf:"bytes,12,opt,name=hotel_country,json=hotelCountry,proto3" json:"hotel_country,omitempty"` - // Hotel date selection type. - HotelDateSelectionType enums.HotelDateSelectionTypeEnum_HotelDateSelectionType `protobuf:"varint,13,opt,name=hotel_date_selection_type,json=hotelDateSelectionType,proto3,enum=google.ads.googleads.v1.enums.HotelDateSelectionTypeEnum_HotelDateSelectionType" json:"hotel_date_selection_type,omitempty"` - // Hotel length of stay. - HotelLengthOfStay *wrappers.Int32Value `protobuf:"bytes,14,opt,name=hotel_length_of_stay,json=hotelLengthOfStay,proto3" json:"hotel_length_of_stay,omitempty"` - // Hotel rate rule ID. - HotelRateRuleId *wrappers.StringValue `protobuf:"bytes,73,opt,name=hotel_rate_rule_id,json=hotelRateRuleId,proto3" json:"hotel_rate_rule_id,omitempty"` - // Hotel rate type. - HotelRateType enums.HotelRateTypeEnum_HotelRateType `protobuf:"varint,74,opt,name=hotel_rate_type,json=hotelRateType,proto3,enum=google.ads.googleads.v1.enums.HotelRateTypeEnum_HotelRateType" json:"hotel_rate_type,omitempty"` - // Hotel state. - HotelState *wrappers.StringValue `protobuf:"bytes,15,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,16,opt,name=hour,proto3" json:"hour,omitempty"` - // Only used with feed item metrics. - // Indicates whether the interaction metrics occurred on the feed item itself - // or a different extension or ad unit. - InteractionOnThisExtension *wrappers.BoolValue `protobuf:"bytes,49,opt,name=interaction_on_this_extension,json=interactionOnThisExtension,proto3" json:"interaction_on_this_extension,omitempty"` - // Keyword criterion. - Keyword *Keyword `protobuf:"bytes,61,opt,name=keyword,proto3" json:"keyword,omitempty"` - // Month as represented by the date of the first day of a month. Formatted as - // yyyy-MM-dd. - Month *wrappers.StringValue `protobuf:"bytes,17,opt,name=month,proto3" json:"month,omitempty"` - // Month of the year, e.g., January. - MonthOfYear enums.MonthOfYearEnum_MonthOfYear `protobuf:"varint,18,opt,name=month_of_year,json=monthOfYear,proto3,enum=google.ads.googleads.v1.enums.MonthOfYearEnum_MonthOfYear" json:"month_of_year,omitempty"` - // Partner hotel ID. - PartnerHotelId *wrappers.StringValue `protobuf:"bytes,19,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,20,opt,name=placeholder_type,json=placeholderType,proto3,enum=google.ads.googleads.v1.enums.PlaceholderTypeEnum_PlaceholderType" json:"placeholder_type,omitempty"` - // Aggregator ID of the product. - ProductAggregatorId *wrappers.UInt64Value `protobuf:"bytes,28,opt,name=product_aggregator_id,json=productAggregatorId,proto3" json:"product_aggregator_id,omitempty"` - // Bidding category (level 1) of the product. - ProductBiddingCategoryLevel1 *wrappers.StringValue `protobuf:"bytes,56,opt,name=product_bidding_category_level1,json=productBiddingCategoryLevel1,proto3" json:"product_bidding_category_level1,omitempty"` - // Bidding category (level 2) of the product. - ProductBiddingCategoryLevel2 *wrappers.StringValue `protobuf:"bytes,57,opt,name=product_bidding_category_level2,json=productBiddingCategoryLevel2,proto3" json:"product_bidding_category_level2,omitempty"` - // Bidding category (level 3) of the product. - ProductBiddingCategoryLevel3 *wrappers.StringValue `protobuf:"bytes,58,opt,name=product_bidding_category_level3,json=productBiddingCategoryLevel3,proto3" json:"product_bidding_category_level3,omitempty"` - // Bidding category (level 4) of the product. - ProductBiddingCategoryLevel4 *wrappers.StringValue `protobuf:"bytes,59,opt,name=product_bidding_category_level4,json=productBiddingCategoryLevel4,proto3" json:"product_bidding_category_level4,omitempty"` - // Bidding category (level 5) of the product. - ProductBiddingCategoryLevel5 *wrappers.StringValue `protobuf:"bytes,60,opt,name=product_bidding_category_level5,json=productBiddingCategoryLevel5,proto3" json:"product_bidding_category_level5,omitempty"` - // Brand of the product. - ProductBrand *wrappers.StringValue `protobuf:"bytes,29,opt,name=product_brand,json=productBrand,proto3" json:"product_brand,omitempty"` - // Channel of the product. - ProductChannel enums.ProductChannelEnum_ProductChannel `protobuf:"varint,30,opt,name=product_channel,json=productChannel,proto3,enum=google.ads.googleads.v1.enums.ProductChannelEnum_ProductChannel" json:"product_channel,omitempty"` - // Channel exclusivity of the product. - ProductChannelExclusivity enums.ProductChannelExclusivityEnum_ProductChannelExclusivity `protobuf:"varint,31,opt,name=product_channel_exclusivity,json=productChannelExclusivity,proto3,enum=google.ads.googleads.v1.enums.ProductChannelExclusivityEnum_ProductChannelExclusivity" json:"product_channel_exclusivity,omitempty"` - // Condition of the product. - ProductCondition enums.ProductConditionEnum_ProductCondition `protobuf:"varint,32,opt,name=product_condition,json=productCondition,proto3,enum=google.ads.googleads.v1.enums.ProductConditionEnum_ProductCondition" json:"product_condition,omitempty"` - // Resource name of the geo target constant for the country of sale of the - // product. - ProductCountry *wrappers.StringValue `protobuf:"bytes,33,opt,name=product_country,json=productCountry,proto3" json:"product_country,omitempty"` - // Custom attribute 0 of the product. - ProductCustomAttribute0 *wrappers.StringValue `protobuf:"bytes,34,opt,name=product_custom_attribute0,json=productCustomAttribute0,proto3" json:"product_custom_attribute0,omitempty"` - // Custom attribute 1 of the product. - ProductCustomAttribute1 *wrappers.StringValue `protobuf:"bytes,35,opt,name=product_custom_attribute1,json=productCustomAttribute1,proto3" json:"product_custom_attribute1,omitempty"` - // Custom attribute 2 of the product. - ProductCustomAttribute2 *wrappers.StringValue `protobuf:"bytes,36,opt,name=product_custom_attribute2,json=productCustomAttribute2,proto3" json:"product_custom_attribute2,omitempty"` - // Custom attribute 3 of the product. - ProductCustomAttribute3 *wrappers.StringValue `protobuf:"bytes,37,opt,name=product_custom_attribute3,json=productCustomAttribute3,proto3" json:"product_custom_attribute3,omitempty"` - // Custom attribute 4 of the product. - ProductCustomAttribute4 *wrappers.StringValue `protobuf:"bytes,38,opt,name=product_custom_attribute4,json=productCustomAttribute4,proto3" json:"product_custom_attribute4,omitempty"` - // Item ID of the product. - ProductItemId *wrappers.StringValue `protobuf:"bytes,39,opt,name=product_item_id,json=productItemId,proto3" json:"product_item_id,omitempty"` - // Resource name of the language constant for the language of the product. - ProductLanguage *wrappers.StringValue `protobuf:"bytes,40,opt,name=product_language,json=productLanguage,proto3" json:"product_language,omitempty"` - // Merchant ID of the product. - ProductMerchantId *wrappers.UInt64Value `protobuf:"bytes,41,opt,name=product_merchant_id,json=productMerchantId,proto3" json:"product_merchant_id,omitempty"` - // Store ID of the product. - ProductStoreId *wrappers.StringValue `protobuf:"bytes,42,opt,name=product_store_id,json=productStoreId,proto3" json:"product_store_id,omitempty"` - // Title of the product. - ProductTitle *wrappers.StringValue `protobuf:"bytes,43,opt,name=product_title,json=productTitle,proto3" json:"product_title,omitempty"` - // Type (level 1) of the product. - ProductTypeL1 *wrappers.StringValue `protobuf:"bytes,44,opt,name=product_type_l1,json=productTypeL1,proto3" json:"product_type_l1,omitempty"` - // Type (level 2) of the product. - ProductTypeL2 *wrappers.StringValue `protobuf:"bytes,45,opt,name=product_type_l2,json=productTypeL2,proto3" json:"product_type_l2,omitempty"` - // Type (level 3) of the product. - ProductTypeL3 *wrappers.StringValue `protobuf:"bytes,46,opt,name=product_type_l3,json=productTypeL3,proto3" json:"product_type_l3,omitempty"` - // Type (level 4) of the product. - ProductTypeL4 *wrappers.StringValue `protobuf:"bytes,47,opt,name=product_type_l4,json=productTypeL4,proto3" json:"product_type_l4,omitempty"` - // Type (level 5) of the product. - ProductTypeL5 *wrappers.StringValue `protobuf:"bytes,48,opt,name=product_type_l5,json=productTypeL5,proto3" json:"product_type_l5,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,21,opt,name=quarter,proto3" json:"quarter,omitempty"` - // Type of the search engine results page. - SearchEngineResultsPageType enums.SearchEngineResultsPageTypeEnum_SearchEngineResultsPageType `protobuf:"varint,70,opt,name=search_engine_results_page_type,json=searchEngineResultsPageType,proto3,enum=google.ads.googleads.v1.enums.SearchEngineResultsPageTypeEnum_SearchEngineResultsPageType" json:"search_engine_results_page_type,omitempty"` - // Match type of the keyword that triggered the ad, including variants. - SearchTermMatchType enums.SearchTermMatchTypeEnum_SearchTermMatchType `protobuf:"varint,22,opt,name=search_term_match_type,json=searchTermMatchType,proto3,enum=google.ads.googleads.v1.enums.SearchTermMatchTypeEnum_SearchTermMatchType" json:"search_term_match_type,omitempty"` - // Position of the ad. - Slot enums.SlotEnum_Slot `protobuf:"varint,23,opt,name=slot,proto3,enum=google.ads.googleads.v1.enums.SlotEnum_Slot" json:"slot,omitempty"` - // Resource name of the ad group criterion that represents webpage criterion. - Webpage *wrappers.StringValue `protobuf:"bytes,66,opt,name=webpage,proto3" json:"webpage,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,24,opt,name=week,proto3" json:"week,omitempty"` - // Year, formatted as yyyy. - Year *wrappers.Int32Value `protobuf:"bytes,25,opt,name=year,proto3" json:"year,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Segments) Reset() { *m = Segments{} } -func (m *Segments) String() string { return proto.CompactTextString(m) } -func (*Segments) ProtoMessage() {} -func (*Segments) Descriptor() ([]byte, []int) { - return fileDescriptor_e9c6876208f1817a, []int{0} -} - -func (m *Segments) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Segments.Unmarshal(m, b) -} -func (m *Segments) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Segments.Marshal(b, m, deterministic) -} -func (m *Segments) XXX_Merge(src proto.Message) { - xxx_messageInfo_Segments.Merge(m, src) -} -func (m *Segments) XXX_Size() int { - return xxx_messageInfo_Segments.Size(m) -} -func (m *Segments) XXX_DiscardUnknown() { - xxx_messageInfo_Segments.DiscardUnknown(m) -} - -var xxx_messageInfo_Segments proto.InternalMessageInfo - -func (m *Segments) GetAdNetworkType() enums.AdNetworkTypeEnum_AdNetworkType { - if m != nil { - return m.AdNetworkType - } - return enums.AdNetworkTypeEnum_UNSPECIFIED -} - -func (m *Segments) GetClickType() enums.ClickTypeEnum_ClickType { - if m != nil { - return m.ClickType - } - return enums.ClickTypeEnum_UNSPECIFIED -} - -func (m *Segments) GetConversionAction() *wrappers.StringValue { - if m != nil { - return m.ConversionAction - } - return nil -} - -func (m *Segments) GetConversionActionCategory() enums.ConversionActionCategoryEnum_ConversionActionCategory { - if m != nil { - return m.ConversionActionCategory - } - return enums.ConversionActionCategoryEnum_UNSPECIFIED -} - -func (m *Segments) GetConversionActionName() *wrappers.StringValue { - if m != nil { - return m.ConversionActionName - } - return nil -} - -func (m *Segments) GetConversionAdjustment() *wrappers.BoolValue { - if m != nil { - return m.ConversionAdjustment - } - return nil -} - -func (m *Segments) GetConversionAttributionEventType() enums.ConversionAttributionEventTypeEnum_ConversionAttributionEventType { - if m != nil { - return m.ConversionAttributionEventType - } - return enums.ConversionAttributionEventTypeEnum_UNSPECIFIED -} - -func (m *Segments) GetConversionLagBucket() enums.ConversionLagBucketEnum_ConversionLagBucket { - if m != nil { - return m.ConversionLagBucket - } - return enums.ConversionLagBucketEnum_UNSPECIFIED -} - -func (m *Segments) GetConversionOrAdjustmentLagBucket() enums.ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket { - if m != nil { - return m.ConversionOrAdjustmentLagBucket - } - return enums.ConversionOrAdjustmentLagBucketEnum_UNSPECIFIED -} - -func (m *Segments) GetDate() *wrappers.StringValue { - if m != nil { - return m.Date - } - return nil -} - -func (m *Segments) GetDayOfWeek() enums.DayOfWeekEnum_DayOfWeek { - if m != nil { - return m.DayOfWeek - } - return enums.DayOfWeekEnum_UNSPECIFIED -} - -func (m *Segments) GetDevice() enums.DeviceEnum_Device { - if m != nil { - return m.Device - } - return enums.DeviceEnum_UNSPECIFIED -} - -func (m *Segments) GetExternalConversionSource() enums.ExternalConversionSourceEnum_ExternalConversionSource { - if m != nil { - return m.ExternalConversionSource - } - return enums.ExternalConversionSourceEnum_UNSPECIFIED -} - -func (m *Segments) GetGeoTargetAirport() *wrappers.StringValue { - if m != nil { - return m.GeoTargetAirport - } - return nil -} - -func (m *Segments) GetGeoTargetCity() *wrappers.StringValue { - if m != nil { - return m.GeoTargetCity - } - return nil -} - -func (m *Segments) GetGeoTargetCounty() *wrappers.StringValue { - if m != nil { - return m.GeoTargetCounty - } - return nil -} - -func (m *Segments) GetGeoTargetDistrict() *wrappers.StringValue { - if m != nil { - return m.GeoTargetDistrict - } - return nil -} - -func (m *Segments) GetGeoTargetMetro() *wrappers.StringValue { - if m != nil { - return m.GeoTargetMetro - } - return nil -} - -func (m *Segments) GetGeoTargetMostSpecificLocation() *wrappers.StringValue { - if m != nil { - return m.GeoTargetMostSpecificLocation - } - return nil -} - -func (m *Segments) GetGeoTargetPostalCode() *wrappers.StringValue { - if m != nil { - return m.GeoTargetPostalCode - } - return nil -} - -func (m *Segments) GetGeoTargetProvince() *wrappers.StringValue { - if m != nil { - return m.GeoTargetProvince - } - return nil -} - -func (m *Segments) GetGeoTargetRegion() *wrappers.StringValue { - if m != nil { - return m.GeoTargetRegion - } - return nil -} - -func (m *Segments) GetGeoTargetState() *wrappers.StringValue { - if m != nil { - return m.GeoTargetState - } - return nil -} - -func (m *Segments) GetHotelBookingWindowDays() *wrappers.Int64Value { - if m != nil { - return m.HotelBookingWindowDays - } - return nil -} - -func (m *Segments) GetHotelCenterId() *wrappers.Int64Value { - if m != nil { - return m.HotelCenterId - } - return nil -} - -func (m *Segments) GetHotelCheckInDate() *wrappers.StringValue { - if m != nil { - return m.HotelCheckInDate - } - return nil -} - -func (m *Segments) GetHotelCheckInDayOfWeek() enums.DayOfWeekEnum_DayOfWeek { - if m != nil { - return m.HotelCheckInDayOfWeek - } - return enums.DayOfWeekEnum_UNSPECIFIED -} - -func (m *Segments) GetHotelCity() *wrappers.StringValue { - if m != nil { - return m.HotelCity - } - return nil -} - -func (m *Segments) GetHotelClass() *wrappers.Int32Value { - if m != nil { - return m.HotelClass - } - return nil -} - -func (m *Segments) GetHotelCountry() *wrappers.StringValue { - if m != nil { - return m.HotelCountry - } - return nil -} - -func (m *Segments) GetHotelDateSelectionType() enums.HotelDateSelectionTypeEnum_HotelDateSelectionType { - if m != nil { - return m.HotelDateSelectionType - } - return enums.HotelDateSelectionTypeEnum_UNSPECIFIED -} - -func (m *Segments) GetHotelLengthOfStay() *wrappers.Int32Value { - if m != nil { - return m.HotelLengthOfStay - } - return nil -} - -func (m *Segments) GetHotelRateRuleId() *wrappers.StringValue { - if m != nil { - return m.HotelRateRuleId - } - return nil -} - -func (m *Segments) GetHotelRateType() enums.HotelRateTypeEnum_HotelRateType { - if m != nil { - return m.HotelRateType - } - return enums.HotelRateTypeEnum_UNSPECIFIED -} - -func (m *Segments) GetHotelState() *wrappers.StringValue { - if m != nil { - return m.HotelState - } - return nil -} - -func (m *Segments) GetHour() *wrappers.Int32Value { - if m != nil { - return m.Hour - } - return nil -} - -func (m *Segments) GetInteractionOnThisExtension() *wrappers.BoolValue { - if m != nil { - return m.InteractionOnThisExtension - } - return nil -} - -func (m *Segments) GetKeyword() *Keyword { - if m != nil { - return m.Keyword - } - return nil -} - -func (m *Segments) GetMonth() *wrappers.StringValue { - if m != nil { - return m.Month - } - return nil -} - -func (m *Segments) GetMonthOfYear() enums.MonthOfYearEnum_MonthOfYear { - if m != nil { - return m.MonthOfYear - } - return enums.MonthOfYearEnum_UNSPECIFIED -} - -func (m *Segments) GetPartnerHotelId() *wrappers.StringValue { - if m != nil { - return m.PartnerHotelId - } - return nil -} - -func (m *Segments) GetPlaceholderType() enums.PlaceholderTypeEnum_PlaceholderType { - if m != nil { - return m.PlaceholderType - } - return enums.PlaceholderTypeEnum_UNSPECIFIED -} - -func (m *Segments) GetProductAggregatorId() *wrappers.UInt64Value { - if m != nil { - return m.ProductAggregatorId - } - return nil -} - -func (m *Segments) GetProductBiddingCategoryLevel1() *wrappers.StringValue { - if m != nil { - return m.ProductBiddingCategoryLevel1 - } - return nil -} - -func (m *Segments) GetProductBiddingCategoryLevel2() *wrappers.StringValue { - if m != nil { - return m.ProductBiddingCategoryLevel2 - } - return nil -} - -func (m *Segments) GetProductBiddingCategoryLevel3() *wrappers.StringValue { - if m != nil { - return m.ProductBiddingCategoryLevel3 - } - return nil -} - -func (m *Segments) GetProductBiddingCategoryLevel4() *wrappers.StringValue { - if m != nil { - return m.ProductBiddingCategoryLevel4 - } - return nil -} - -func (m *Segments) GetProductBiddingCategoryLevel5() *wrappers.StringValue { - if m != nil { - return m.ProductBiddingCategoryLevel5 - } - return nil -} - -func (m *Segments) GetProductBrand() *wrappers.StringValue { - if m != nil { - return m.ProductBrand - } - return nil -} - -func (m *Segments) GetProductChannel() enums.ProductChannelEnum_ProductChannel { - if m != nil { - return m.ProductChannel - } - return enums.ProductChannelEnum_UNSPECIFIED -} - -func (m *Segments) GetProductChannelExclusivity() enums.ProductChannelExclusivityEnum_ProductChannelExclusivity { - if m != nil { - return m.ProductChannelExclusivity - } - return enums.ProductChannelExclusivityEnum_UNSPECIFIED -} - -func (m *Segments) GetProductCondition() enums.ProductConditionEnum_ProductCondition { - if m != nil { - return m.ProductCondition - } - return enums.ProductConditionEnum_UNSPECIFIED -} - -func (m *Segments) GetProductCountry() *wrappers.StringValue { - if m != nil { - return m.ProductCountry - } - return nil -} - -func (m *Segments) GetProductCustomAttribute0() *wrappers.StringValue { - if m != nil { - return m.ProductCustomAttribute0 - } - return nil -} - -func (m *Segments) GetProductCustomAttribute1() *wrappers.StringValue { - if m != nil { - return m.ProductCustomAttribute1 - } - return nil -} - -func (m *Segments) GetProductCustomAttribute2() *wrappers.StringValue { - if m != nil { - return m.ProductCustomAttribute2 - } - return nil -} - -func (m *Segments) GetProductCustomAttribute3() *wrappers.StringValue { - if m != nil { - return m.ProductCustomAttribute3 - } - return nil -} - -func (m *Segments) GetProductCustomAttribute4() *wrappers.StringValue { - if m != nil { - return m.ProductCustomAttribute4 - } - return nil -} - -func (m *Segments) GetProductItemId() *wrappers.StringValue { - if m != nil { - return m.ProductItemId - } - return nil -} - -func (m *Segments) GetProductLanguage() *wrappers.StringValue { - if m != nil { - return m.ProductLanguage - } - return nil -} - -func (m *Segments) GetProductMerchantId() *wrappers.UInt64Value { - if m != nil { - return m.ProductMerchantId - } - return nil -} - -func (m *Segments) GetProductStoreId() *wrappers.StringValue { - if m != nil { - return m.ProductStoreId - } - return nil -} - -func (m *Segments) GetProductTitle() *wrappers.StringValue { - if m != nil { - return m.ProductTitle - } - return nil -} - -func (m *Segments) GetProductTypeL1() *wrappers.StringValue { - if m != nil { - return m.ProductTypeL1 - } - return nil -} - -func (m *Segments) GetProductTypeL2() *wrappers.StringValue { - if m != nil { - return m.ProductTypeL2 - } - return nil -} - -func (m *Segments) GetProductTypeL3() *wrappers.StringValue { - if m != nil { - return m.ProductTypeL3 - } - return nil -} - -func (m *Segments) GetProductTypeL4() *wrappers.StringValue { - if m != nil { - return m.ProductTypeL4 - } - return nil -} - -func (m *Segments) GetProductTypeL5() *wrappers.StringValue { - if m != nil { - return m.ProductTypeL5 - } - return nil -} - -func (m *Segments) GetQuarter() *wrappers.StringValue { - if m != nil { - return m.Quarter - } - return nil -} - -func (m *Segments) GetSearchEngineResultsPageType() enums.SearchEngineResultsPageTypeEnum_SearchEngineResultsPageType { - if m != nil { - return m.SearchEngineResultsPageType - } - return enums.SearchEngineResultsPageTypeEnum_UNSPECIFIED -} - -func (m *Segments) GetSearchTermMatchType() enums.SearchTermMatchTypeEnum_SearchTermMatchType { - if m != nil { - return m.SearchTermMatchType - } - return enums.SearchTermMatchTypeEnum_UNSPECIFIED -} - -func (m *Segments) GetSlot() enums.SlotEnum_Slot { - if m != nil { - return m.Slot - } - return enums.SlotEnum_UNSPECIFIED -} - -func (m *Segments) GetWebpage() *wrappers.StringValue { - if m != nil { - return m.Webpage - } - return nil -} - -func (m *Segments) GetWeek() *wrappers.StringValue { - if m != nil { - return m.Week - } - return nil -} - -func (m *Segments) GetYear() *wrappers.Int32Value { - if m != nil { - return m.Year - } - return nil -} - -// A Keyword criterion segment. -type Keyword struct { - // The AdGroupCriterion resource name. - AdGroupCriterion *wrappers.StringValue `protobuf:"bytes,1,opt,name=ad_group_criterion,json=adGroupCriterion,proto3" json:"ad_group_criterion,omitempty"` - // Keyword info. - Info *KeywordInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Keyword) Reset() { *m = Keyword{} } -func (m *Keyword) String() string { return proto.CompactTextString(m) } -func (*Keyword) ProtoMessage() {} -func (*Keyword) Descriptor() ([]byte, []int) { - return fileDescriptor_e9c6876208f1817a, []int{1} -} - -func (m *Keyword) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Keyword.Unmarshal(m, b) -} -func (m *Keyword) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Keyword.Marshal(b, m, deterministic) -} -func (m *Keyword) XXX_Merge(src proto.Message) { - xxx_messageInfo_Keyword.Merge(m, src) -} -func (m *Keyword) XXX_Size() int { - return xxx_messageInfo_Keyword.Size(m) -} -func (m *Keyword) XXX_DiscardUnknown() { - xxx_messageInfo_Keyword.DiscardUnknown(m) -} - -var xxx_messageInfo_Keyword proto.InternalMessageInfo - -func (m *Keyword) GetAdGroupCriterion() *wrappers.StringValue { - if m != nil { - return m.AdGroupCriterion - } - return nil -} - -func (m *Keyword) GetInfo() *KeywordInfo { - if m != nil { - return m.Info - } - return nil -} - -func init() { - proto.RegisterType((*Segments)(nil), "google.ads.googleads.v1.common.Segments") - proto.RegisterType((*Keyword)(nil), "google.ads.googleads.v1.common.Keyword") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/common/segments.proto", fileDescriptor_e9c6876208f1817a) -} - -var fileDescriptor_e9c6876208f1817a = []byte{ - // 2097 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x99, 0x4b, 0x77, 0xdb, 0xc6, - 0x15, 0xc7, 0x0f, 0x1d, 0xc5, 0x8e, 0x47, 0x91, 0x65, 0x8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c, 0xf5, 0x9c, 0x33, 0xff, 0x30, 0x91, 0x10, 0x72, 0x42, 0x42, 0x9e, 0x0f, 0xe3, 0x4b, 0x63, - 0x4c, 0x80, 0x3d, 0xfb, 0x30, 0x71, 0x8e, 0x09, 0xd7, 0xd2, 0x4d, 0x63, 0x29, 0x65, 0x36, 0x76, - 0xff, 0x94, 0xc4, 0x5c, 0x74, 0xda, 0x28, 0xa8, 0x32, 0x19, 0xe4, 0xe2, 0x9e, 0x4d, 0x3b, 0xf6, - 0x29, 0x21, 0xc7, 0x5a, 0xf0, 0x69, 0x81, 0x80, 0x9c, 0xf8, 0x8e, 0x61, 0x9e, 0xc9, 0x0f, 0x9c, - 0xb0, 0x10, 0x07, 0x76, 0x2e, 0xdc, 0x98, 0x26, 0x2c, 0xd3, 0x3f, 0x9d, 0xac, 0x3f, 0xa2, 0x9c, - 0x04, 0xb6, 0x8b, 0x39, 0xb1, 0x63, 0x12, 0x10, 0xd5, 0x55, 0xb9, 0xfc, 0xd6, 0x4d, 0xe4, 0x4c, - 0xc8, 0x73, 0xa2, 0xea, 0x64, 0x51, 0x97, 0x86, 0xfc, 0x48, 0xa4, 0xa4, 0x47, 0x30, 0xd3, 0x92, - 0x95, 0xc9, 0x92, 0x28, 0xc0, 0x0e, 0x39, 0xa2, 0x81, 0x4b, 0xd8, 0x14, 0xd1, 0x45, 0x8c, 0xba, - 0x89, 0xc3, 0x6d, 0xe7, 0x08, 0x87, 0x21, 0x09, 0xb4, 0xe8, 0xf9, 0x54, 0x22, 0x9b, 0xfc, 0xe0, - 0x04, 0x49, 0xec, 0x9f, 0xf8, 0x3c, 0x1d, 0xba, 0xab, 0x86, 0x00, 0x1a, 0xba, 0xbe, 0xc8, 0xa7, - 0x96, 0xb5, 0x26, 0xcb, 0x62, 0x82, 0x99, 0x73, 0x64, 0x93, 0xd0, 0xf3, 0x43, 0x62, 0x33, 0x12, - 0x27, 0x01, 0x8f, 0xed, 0x08, 0x7b, 0x03, 0xa9, 0x6d,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x5c, 0x56, 0x97, 0xe2, 0xea, 0xa0, 0x5a, 0x6e, 0x49, 0xb3, 0xff, 0xa6, 0x06, 0x6f, 0x9a, - 0x6e, 0xfc, 0x26, 0x33, 0x78, 0x73, 0x50, 0x7d, 0xa3, 0x0c, 0xfe, 0x7f, 0xe1, 0xa1, 0x6a, 0x6d, - 0x34, 0x9a, 0x6e, 0xdc, 0x68, 0x64, 0x26, 0x8d, 0xc6, 0x41, 0xb5, 0xd1, 0x50, 0x46, 0x87, 0x17, - 0x65, 0x74, 0xf5, 0x9f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x13, 0x98, 0xee, 0x2d, 0x46, 0x20, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/simulation.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/simulation.pb.go deleted file mode 100644 index 7c70077b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/simulation.pb.go +++ /dev/null @@ -1,651 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/common/simulation.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A container for simulation points for simulations of type BID_MODIFIER. -type BidModifierSimulationPointList struct { - // Projected metrics for a series of bid modifier amounts. - Points []*BidModifierSimulationPoint `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BidModifierSimulationPointList) Reset() { *m = BidModifierSimulationPointList{} } -func (m *BidModifierSimulationPointList) String() string { return proto.CompactTextString(m) } -func (*BidModifierSimulationPointList) ProtoMessage() {} -func (*BidModifierSimulationPointList) Descriptor() ([]byte, []int) { - return fileDescriptor_a4802a06f80f525c, []int{0} -} - -func (m *BidModifierSimulationPointList) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BidModifierSimulationPointList.Unmarshal(m, b) -} -func (m *BidModifierSimulationPointList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BidModifierSimulationPointList.Marshal(b, m, deterministic) -} -func (m *BidModifierSimulationPointList) XXX_Merge(src proto.Message) { - xxx_messageInfo_BidModifierSimulationPointList.Merge(m, src) -} -func (m *BidModifierSimulationPointList) XXX_Size() int { - return xxx_messageInfo_BidModifierSimulationPointList.Size(m) -} -func (m *BidModifierSimulationPointList) XXX_DiscardUnknown() { - xxx_messageInfo_BidModifierSimulationPointList.DiscardUnknown(m) -} - -var xxx_messageInfo_BidModifierSimulationPointList proto.InternalMessageInfo - -func (m *BidModifierSimulationPointList) GetPoints() []*BidModifierSimulationPoint { - if m != nil { - return m.Points - } - return nil -} - -// A container for simulation points for simulations of type CPC_BID. -type CpcBidSimulationPointList struct { - // Projected metrics for a series of CPC bid amounts. - Points []*CpcBidSimulationPoint `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CpcBidSimulationPointList) Reset() { *m = CpcBidSimulationPointList{} } -func (m *CpcBidSimulationPointList) String() string { return proto.CompactTextString(m) } -func (*CpcBidSimulationPointList) ProtoMessage() {} -func (*CpcBidSimulationPointList) Descriptor() ([]byte, []int) { - return fileDescriptor_a4802a06f80f525c, []int{1} -} - -func (m *CpcBidSimulationPointList) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CpcBidSimulationPointList.Unmarshal(m, b) -} -func (m *CpcBidSimulationPointList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CpcBidSimulationPointList.Marshal(b, m, deterministic) -} -func (m *CpcBidSimulationPointList) XXX_Merge(src proto.Message) { - xxx_messageInfo_CpcBidSimulationPointList.Merge(m, src) -} -func (m *CpcBidSimulationPointList) XXX_Size() int { - return xxx_messageInfo_CpcBidSimulationPointList.Size(m) -} -func (m *CpcBidSimulationPointList) XXX_DiscardUnknown() { - xxx_messageInfo_CpcBidSimulationPointList.DiscardUnknown(m) -} - -var xxx_messageInfo_CpcBidSimulationPointList proto.InternalMessageInfo - -func (m *CpcBidSimulationPointList) GetPoints() []*CpcBidSimulationPoint { - if m != nil { - return m.Points - } - return nil -} - -// A container for simulation points for simulations of type CPV_BID. -type CpvBidSimulationPointList struct { - // Projected metrics for a series of CPV bid amounts. - Points []*CpvBidSimulationPoint `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CpvBidSimulationPointList) Reset() { *m = CpvBidSimulationPointList{} } -func (m *CpvBidSimulationPointList) String() string { return proto.CompactTextString(m) } -func (*CpvBidSimulationPointList) ProtoMessage() {} -func (*CpvBidSimulationPointList) Descriptor() ([]byte, []int) { - return fileDescriptor_a4802a06f80f525c, []int{2} -} - -func (m *CpvBidSimulationPointList) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CpvBidSimulationPointList.Unmarshal(m, b) -} -func (m *CpvBidSimulationPointList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CpvBidSimulationPointList.Marshal(b, m, deterministic) -} -func (m *CpvBidSimulationPointList) XXX_Merge(src proto.Message) { - xxx_messageInfo_CpvBidSimulationPointList.Merge(m, src) -} -func (m *CpvBidSimulationPointList) XXX_Size() int { - return xxx_messageInfo_CpvBidSimulationPointList.Size(m) -} -func (m *CpvBidSimulationPointList) XXX_DiscardUnknown() { - xxx_messageInfo_CpvBidSimulationPointList.DiscardUnknown(m) -} - -var xxx_messageInfo_CpvBidSimulationPointList proto.InternalMessageInfo - -func (m *CpvBidSimulationPointList) GetPoints() []*CpvBidSimulationPoint { - if m != nil { - return m.Points - } - return nil -} - -// A container for simulation points for simulations of type TARGET_CPA. -type TargetCpaSimulationPointList struct { - // Projected metrics for a series of target CPA amounts. - Points []*TargetCpaSimulationPoint `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TargetCpaSimulationPointList) Reset() { *m = TargetCpaSimulationPointList{} } -func (m *TargetCpaSimulationPointList) String() string { return proto.CompactTextString(m) } -func (*TargetCpaSimulationPointList) ProtoMessage() {} -func (*TargetCpaSimulationPointList) Descriptor() ([]byte, []int) { - return fileDescriptor_a4802a06f80f525c, []int{3} -} - -func (m *TargetCpaSimulationPointList) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TargetCpaSimulationPointList.Unmarshal(m, b) -} -func (m *TargetCpaSimulationPointList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TargetCpaSimulationPointList.Marshal(b, m, deterministic) -} -func (m *TargetCpaSimulationPointList) XXX_Merge(src proto.Message) { - xxx_messageInfo_TargetCpaSimulationPointList.Merge(m, src) -} -func (m *TargetCpaSimulationPointList) XXX_Size() int { - return xxx_messageInfo_TargetCpaSimulationPointList.Size(m) -} -func (m *TargetCpaSimulationPointList) XXX_DiscardUnknown() { - xxx_messageInfo_TargetCpaSimulationPointList.DiscardUnknown(m) -} - -var xxx_messageInfo_TargetCpaSimulationPointList proto.InternalMessageInfo - -func (m *TargetCpaSimulationPointList) GetPoints() []*TargetCpaSimulationPoint { - if m != nil { - return m.Points - } - return nil -} - -// Projected metrics for a specific bid modifier amount. -type BidModifierSimulationPoint struct { - // The simulated bid modifier upon which projected metrics are based. - BidModifier *wrappers.DoubleValue `protobuf:"bytes,1,opt,name=bid_modifier,json=bidModifier,proto3" json:"bid_modifier,omitempty"` - // Projected number of biddable conversions. - BiddableConversions *wrappers.DoubleValue `protobuf:"bytes,2,opt,name=biddable_conversions,json=biddableConversions,proto3" json:"biddable_conversions,omitempty"` - // Projected total value of biddable conversions. - BiddableConversionsValue *wrappers.DoubleValue `protobuf:"bytes,3,opt,name=biddable_conversions_value,json=biddableConversionsValue,proto3" json:"biddable_conversions_value,omitempty"` - // Projected number of clicks. - Clicks *wrappers.Int64Value `protobuf:"bytes,4,opt,name=clicks,proto3" json:"clicks,omitempty"` - // Projected cost in micros. - CostMicros *wrappers.Int64Value `protobuf:"bytes,5,opt,name=cost_micros,json=costMicros,proto3" json:"cost_micros,omitempty"` - // Projected number of impressions. - Impressions *wrappers.Int64Value `protobuf:"bytes,6,opt,name=impressions,proto3" json:"impressions,omitempty"` - // Projected number of top slot impressions. - TopSlotImpressions *wrappers.Int64Value `protobuf:"bytes,7,opt,name=top_slot_impressions,json=topSlotImpressions,proto3" json:"top_slot_impressions,omitempty"` - // Projected number of biddable conversions for the parent resource. - ParentBiddableConversions *wrappers.DoubleValue `protobuf:"bytes,8,opt,name=parent_biddable_conversions,json=parentBiddableConversions,proto3" json:"parent_biddable_conversions,omitempty"` - // Projected total value of biddable conversions for the parent resource. - ParentBiddableConversionsValue *wrappers.DoubleValue `protobuf:"bytes,9,opt,name=parent_biddable_conversions_value,json=parentBiddableConversionsValue,proto3" json:"parent_biddable_conversions_value,omitempty"` - // Projected number of clicks for the parent resource. - ParentClicks *wrappers.Int64Value `protobuf:"bytes,10,opt,name=parent_clicks,json=parentClicks,proto3" json:"parent_clicks,omitempty"` - // Projected cost in micros for the parent resource. - ParentCostMicros *wrappers.Int64Value `protobuf:"bytes,11,opt,name=parent_cost_micros,json=parentCostMicros,proto3" json:"parent_cost_micros,omitempty"` - // Projected number of impressions for the parent resource. - ParentImpressions *wrappers.Int64Value `protobuf:"bytes,12,opt,name=parent_impressions,json=parentImpressions,proto3" json:"parent_impressions,omitempty"` - // Projected number of top slot impressions for the parent resource. - ParentTopSlotImpressions *wrappers.Int64Value `protobuf:"bytes,13,opt,name=parent_top_slot_impressions,json=parentTopSlotImpressions,proto3" json:"parent_top_slot_impressions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BidModifierSimulationPoint) Reset() { *m = BidModifierSimulationPoint{} } -func (m *BidModifierSimulationPoint) String() string { return proto.CompactTextString(m) } -func (*BidModifierSimulationPoint) ProtoMessage() {} -func (*BidModifierSimulationPoint) Descriptor() ([]byte, []int) { - return fileDescriptor_a4802a06f80f525c, []int{4} -} - -func (m *BidModifierSimulationPoint) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BidModifierSimulationPoint.Unmarshal(m, b) -} -func (m *BidModifierSimulationPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BidModifierSimulationPoint.Marshal(b, m, deterministic) -} -func (m *BidModifierSimulationPoint) XXX_Merge(src proto.Message) { - xxx_messageInfo_BidModifierSimulationPoint.Merge(m, src) -} -func (m *BidModifierSimulationPoint) XXX_Size() int { - return xxx_messageInfo_BidModifierSimulationPoint.Size(m) -} -func (m *BidModifierSimulationPoint) XXX_DiscardUnknown() { - xxx_messageInfo_BidModifierSimulationPoint.DiscardUnknown(m) -} - -var xxx_messageInfo_BidModifierSimulationPoint proto.InternalMessageInfo - -func (m *BidModifierSimulationPoint) GetBidModifier() *wrappers.DoubleValue { - if m != nil { - return m.BidModifier - } - return nil -} - -func (m *BidModifierSimulationPoint) GetBiddableConversions() *wrappers.DoubleValue { - if m != nil { - return m.BiddableConversions - } - return nil -} - -func (m *BidModifierSimulationPoint) GetBiddableConversionsValue() *wrappers.DoubleValue { - if m != nil { - return m.BiddableConversionsValue - } - return nil -} - -func (m *BidModifierSimulationPoint) GetClicks() *wrappers.Int64Value { - if m != nil { - return m.Clicks - } - return nil -} - -func (m *BidModifierSimulationPoint) GetCostMicros() *wrappers.Int64Value { - if m != nil { - return m.CostMicros - } - return nil -} - -func (m *BidModifierSimulationPoint) GetImpressions() *wrappers.Int64Value { - if m != nil { - return m.Impressions - } - return nil -} - -func (m *BidModifierSimulationPoint) GetTopSlotImpressions() *wrappers.Int64Value { - if m != nil { - return m.TopSlotImpressions - } - return nil -} - -func (m *BidModifierSimulationPoint) GetParentBiddableConversions() *wrappers.DoubleValue { - if m != nil { - return m.ParentBiddableConversions - } - return nil -} - -func (m *BidModifierSimulationPoint) GetParentBiddableConversionsValue() *wrappers.DoubleValue { - if m != nil { - return m.ParentBiddableConversionsValue - } - return nil -} - -func (m *BidModifierSimulationPoint) GetParentClicks() *wrappers.Int64Value { - if m != nil { - return m.ParentClicks - } - return nil -} - -func (m *BidModifierSimulationPoint) GetParentCostMicros() *wrappers.Int64Value { - if m != nil { - return m.ParentCostMicros - } - return nil -} - -func (m *BidModifierSimulationPoint) GetParentImpressions() *wrappers.Int64Value { - if m != nil { - return m.ParentImpressions - } - return nil -} - -func (m *BidModifierSimulationPoint) GetParentTopSlotImpressions() *wrappers.Int64Value { - if m != nil { - return m.ParentTopSlotImpressions - } - return nil -} - -// Projected metrics for a specific CPC bid amount. -type CpcBidSimulationPoint struct { - // The simulated CPC bid upon which projected metrics are based. - CpcBidMicros *wrappers.Int64Value `protobuf:"bytes,1,opt,name=cpc_bid_micros,json=cpcBidMicros,proto3" json:"cpc_bid_micros,omitempty"` - // Projected number of biddable conversions. - BiddableConversions *wrappers.DoubleValue `protobuf:"bytes,2,opt,name=biddable_conversions,json=biddableConversions,proto3" json:"biddable_conversions,omitempty"` - // Projected total value of biddable conversions. - BiddableConversionsValue *wrappers.DoubleValue `protobuf:"bytes,3,opt,name=biddable_conversions_value,json=biddableConversionsValue,proto3" json:"biddable_conversions_value,omitempty"` - // Projected number of clicks. - Clicks *wrappers.Int64Value `protobuf:"bytes,4,opt,name=clicks,proto3" json:"clicks,omitempty"` - // Projected cost in micros. - CostMicros *wrappers.Int64Value `protobuf:"bytes,5,opt,name=cost_micros,json=costMicros,proto3" json:"cost_micros,omitempty"` - // Projected number of impressions. - Impressions *wrappers.Int64Value `protobuf:"bytes,6,opt,name=impressions,proto3" json:"impressions,omitempty"` - // Projected number of top slot impressions. - // Display network does not support this field at the ad group level. - TopSlotImpressions *wrappers.Int64Value `protobuf:"bytes,7,opt,name=top_slot_impressions,json=topSlotImpressions,proto3" json:"top_slot_impressions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CpcBidSimulationPoint) Reset() { *m = CpcBidSimulationPoint{} } -func (m *CpcBidSimulationPoint) String() string { return proto.CompactTextString(m) } -func (*CpcBidSimulationPoint) ProtoMessage() {} -func (*CpcBidSimulationPoint) Descriptor() ([]byte, []int) { - return fileDescriptor_a4802a06f80f525c, []int{5} -} - -func (m *CpcBidSimulationPoint) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CpcBidSimulationPoint.Unmarshal(m, b) -} -func (m *CpcBidSimulationPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CpcBidSimulationPoint.Marshal(b, m, deterministic) -} -func (m *CpcBidSimulationPoint) XXX_Merge(src proto.Message) { - xxx_messageInfo_CpcBidSimulationPoint.Merge(m, src) -} -func (m *CpcBidSimulationPoint) XXX_Size() int { - return xxx_messageInfo_CpcBidSimulationPoint.Size(m) -} -func (m *CpcBidSimulationPoint) XXX_DiscardUnknown() { - xxx_messageInfo_CpcBidSimulationPoint.DiscardUnknown(m) -} - -var xxx_messageInfo_CpcBidSimulationPoint proto.InternalMessageInfo - -func (m *CpcBidSimulationPoint) GetCpcBidMicros() *wrappers.Int64Value { - if m != nil { - return m.CpcBidMicros - } - return nil -} - -func (m *CpcBidSimulationPoint) GetBiddableConversions() *wrappers.DoubleValue { - if m != nil { - return m.BiddableConversions - } - return nil -} - -func (m *CpcBidSimulationPoint) GetBiddableConversionsValue() *wrappers.DoubleValue { - if m != nil { - return m.BiddableConversionsValue - } - return nil -} - -func (m *CpcBidSimulationPoint) GetClicks() *wrappers.Int64Value { - if m != nil { - return m.Clicks - } - return nil -} - -func (m *CpcBidSimulationPoint) GetCostMicros() *wrappers.Int64Value { - if m != nil { - return m.CostMicros - } - return nil -} - -func (m *CpcBidSimulationPoint) GetImpressions() *wrappers.Int64Value { - if m != nil { - return m.Impressions - } - return nil -} - -func (m *CpcBidSimulationPoint) GetTopSlotImpressions() *wrappers.Int64Value { - if m != nil { - return m.TopSlotImpressions - } - return nil -} - -// Projected metrics for a specific CPV bid amount. -type CpvBidSimulationPoint struct { - // The simulated CPV bid upon which projected metrics are based. - CpvBidMicros *wrappers.Int64Value `protobuf:"bytes,1,opt,name=cpv_bid_micros,json=cpvBidMicros,proto3" json:"cpv_bid_micros,omitempty"` - // Projected cost in micros. - CostMicros *wrappers.Int64Value `protobuf:"bytes,2,opt,name=cost_micros,json=costMicros,proto3" json:"cost_micros,omitempty"` - // Projected number of impressions. - Impressions *wrappers.Int64Value `protobuf:"bytes,3,opt,name=impressions,proto3" json:"impressions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CpvBidSimulationPoint) Reset() { *m = CpvBidSimulationPoint{} } -func (m *CpvBidSimulationPoint) String() string { return proto.CompactTextString(m) } -func (*CpvBidSimulationPoint) ProtoMessage() {} -func (*CpvBidSimulationPoint) Descriptor() ([]byte, []int) { - return fileDescriptor_a4802a06f80f525c, []int{6} -} - -func (m *CpvBidSimulationPoint) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CpvBidSimulationPoint.Unmarshal(m, b) -} -func (m *CpvBidSimulationPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CpvBidSimulationPoint.Marshal(b, m, deterministic) -} -func (m *CpvBidSimulationPoint) XXX_Merge(src proto.Message) { - xxx_messageInfo_CpvBidSimulationPoint.Merge(m, src) -} -func (m *CpvBidSimulationPoint) XXX_Size() int { - return xxx_messageInfo_CpvBidSimulationPoint.Size(m) -} -func (m *CpvBidSimulationPoint) XXX_DiscardUnknown() { - xxx_messageInfo_CpvBidSimulationPoint.DiscardUnknown(m) -} - -var xxx_messageInfo_CpvBidSimulationPoint proto.InternalMessageInfo - -func (m *CpvBidSimulationPoint) GetCpvBidMicros() *wrappers.Int64Value { - if m != nil { - return m.CpvBidMicros - } - return nil -} - -func (m *CpvBidSimulationPoint) GetCostMicros() *wrappers.Int64Value { - if m != nil { - return m.CostMicros - } - return nil -} - -func (m *CpvBidSimulationPoint) GetImpressions() *wrappers.Int64Value { - if m != nil { - return m.Impressions - } - return nil -} - -// Projected metrics for a specific target CPA amount. -type TargetCpaSimulationPoint struct { - // The simulated target CPA upon which projected metrics are based. - TargetCpaMicros *wrappers.Int64Value `protobuf:"bytes,1,opt,name=target_cpa_micros,json=targetCpaMicros,proto3" json:"target_cpa_micros,omitempty"` - // Projected number of biddable conversions. - BiddableConversions *wrappers.DoubleValue `protobuf:"bytes,2,opt,name=biddable_conversions,json=biddableConversions,proto3" json:"biddable_conversions,omitempty"` - // Projected total value of biddable conversions. - BiddableConversionsValue *wrappers.DoubleValue `protobuf:"bytes,3,opt,name=biddable_conversions_value,json=biddableConversionsValue,proto3" json:"biddable_conversions_value,omitempty"` - // Projected number of clicks. - Clicks *wrappers.Int64Value `protobuf:"bytes,4,opt,name=clicks,proto3" json:"clicks,omitempty"` - // Projected cost in micros. - CostMicros *wrappers.Int64Value `protobuf:"bytes,5,opt,name=cost_micros,json=costMicros,proto3" json:"cost_micros,omitempty"` - // Projected number of impressions. - Impressions *wrappers.Int64Value `protobuf:"bytes,6,opt,name=impressions,proto3" json:"impressions,omitempty"` - // Projected number of top slot impressions. - // Display network does not support this field at the ad group level. - TopSlotImpressions *wrappers.Int64Value `protobuf:"bytes,7,opt,name=top_slot_impressions,json=topSlotImpressions,proto3" json:"top_slot_impressions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TargetCpaSimulationPoint) Reset() { *m = TargetCpaSimulationPoint{} } -func (m *TargetCpaSimulationPoint) String() string { return proto.CompactTextString(m) } -func (*TargetCpaSimulationPoint) ProtoMessage() {} -func (*TargetCpaSimulationPoint) Descriptor() ([]byte, []int) { - return fileDescriptor_a4802a06f80f525c, []int{7} -} - -func (m *TargetCpaSimulationPoint) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TargetCpaSimulationPoint.Unmarshal(m, b) -} -func (m *TargetCpaSimulationPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TargetCpaSimulationPoint.Marshal(b, m, deterministic) -} -func (m *TargetCpaSimulationPoint) XXX_Merge(src proto.Message) { - xxx_messageInfo_TargetCpaSimulationPoint.Merge(m, src) -} -func (m *TargetCpaSimulationPoint) XXX_Size() int { - return xxx_messageInfo_TargetCpaSimulationPoint.Size(m) -} -func (m *TargetCpaSimulationPoint) XXX_DiscardUnknown() { - xxx_messageInfo_TargetCpaSimulationPoint.DiscardUnknown(m) -} - -var xxx_messageInfo_TargetCpaSimulationPoint proto.InternalMessageInfo - -func (m *TargetCpaSimulationPoint) GetTargetCpaMicros() *wrappers.Int64Value { - if m != nil { - return m.TargetCpaMicros - } - return nil -} - -func (m *TargetCpaSimulationPoint) GetBiddableConversions() *wrappers.DoubleValue { - if m != nil { - return m.BiddableConversions - } - return nil -} - -func (m *TargetCpaSimulationPoint) GetBiddableConversionsValue() *wrappers.DoubleValue { - if m != nil { - return m.BiddableConversionsValue - } - return nil -} - -func (m *TargetCpaSimulationPoint) GetClicks() *wrappers.Int64Value { - if m != nil { - return m.Clicks - } - return nil -} - -func (m *TargetCpaSimulationPoint) GetCostMicros() *wrappers.Int64Value { - if m != nil { - return m.CostMicros - } - return nil -} - -func (m *TargetCpaSimulationPoint) GetImpressions() *wrappers.Int64Value { - if m != nil { - return m.Impressions - } - return nil -} - -func (m *TargetCpaSimulationPoint) GetTopSlotImpressions() *wrappers.Int64Value { - if m != nil { - return m.TopSlotImpressions - } - return nil -} - -func init() { - proto.RegisterType((*BidModifierSimulationPointList)(nil), "google.ads.googleads.v1.common.BidModifierSimulationPointList") - proto.RegisterType((*CpcBidSimulationPointList)(nil), "google.ads.googleads.v1.common.CpcBidSimulationPointList") - proto.RegisterType((*CpvBidSimulationPointList)(nil), "google.ads.googleads.v1.common.CpvBidSimulationPointList") - proto.RegisterType((*TargetCpaSimulationPointList)(nil), "google.ads.googleads.v1.common.TargetCpaSimulationPointList") - proto.RegisterType((*BidModifierSimulationPoint)(nil), "google.ads.googleads.v1.common.BidModifierSimulationPoint") - proto.RegisterType((*CpcBidSimulationPoint)(nil), "google.ads.googleads.v1.common.CpcBidSimulationPoint") - proto.RegisterType((*CpvBidSimulationPoint)(nil), "google.ads.googleads.v1.common.CpvBidSimulationPoint") - proto.RegisterType((*TargetCpaSimulationPoint)(nil), "google.ads.googleads.v1.common.TargetCpaSimulationPoint") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/common/simulation.proto", fileDescriptor_a4802a06f80f525c) -} - -var fileDescriptor_a4802a06f80f525c = []byte{ - // 699 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x96, 0xdf, 0x6e, 0xd3, 0x30, - 0x14, 0xc6, 0x95, 0x76, 0x94, 0xe1, 0x6e, 0x8c, 0x99, 0x21, 0x65, 0xdd, 0x54, 0x8d, 0x5c, 0xed, - 0x2a, 0x51, 0x37, 0x40, 0x28, 0x80, 0xa0, 0xed, 0xa4, 0x69,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 0xab, - 0xd4, 0x60, 0xad, 0x30, 0x2e, 0x09, 0xf9, 0x58, 0x3a, 0x3f, 0x10, 0x12, 0x0f, 0xfb, 0x66, 0xe8, - 0xa9, 0x38, 0xf2, 0x34, 0xcf, 0x0d, 0x53, 0xdf, 0xec, 0x6e, 0x4e, 0x10, 0xad, 0xba, 0xaa, 0xbf, - 0xe2, 0x1f, 0x3f, 0x1a, 0xcd, 0xc3, 0x7e, 0xff, 0x67, 0xa3, 0x7b, 0xc8, 0x61, 0x7d, 0x87, 0xaa, - 0x7c, 0x99, 0xac, 0xc6, 0x3d, 0x75, 0x98, 0x96, 0xfd, 0xca, 0x0a, 0x26, 0x7d, 0x87, 0x4e, 0xf2, - 0x82, 0xc9, 0xb8, 0x37, 0xe1, 0x05, 0x97, 0x0d, 0x85, 0x7f, 0xab, 0xeb, 0x7d, 0x87, 0xea, 0x7a, - 0x5e, 0xa2, 0xeb, 0xe3, 0x9e, 0xae, 0xf3, 0x22, 0xab, 0x95, 0xbe, 0xdd, 0xfe, 0x9f, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x77, 0xd2, 0x2f, 0xaa, 0x47, 0x0c, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/tag_snippet.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/tag_snippet.pb.go deleted file mode 100644 index f9b476e2..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/tag_snippet.pb.go +++ /dev/null @@ -1,135 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/common/tag_snippet.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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.v1.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.v1.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_24cd5966e9dfdab2, []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 (m *TagSnippet) XXX_Merge(src proto.Message) { - xxx_messageInfo_TagSnippet.Merge(m, 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.v1.common.TagSnippet") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/common/tag_snippet.proto", fileDescriptor_24cd5966e9dfdab2) -} - -var fileDescriptor_24cd5966e9dfdab2 = []byte{ - // 421 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x52, 0x4f, 0x6b, 0xdb, 0x30, - 0x14, 0xc7, 0x6e, 0xd9, 0x41, 0x5d, 0x57, 0xf0, 0x29, 0x94, 0x52, 0x4a, 0x4e, 0x3d, 0x49, 0x73, - 0x07, 0x3b, 0x68, 0xec, 0xe0, 0x36, 0x5b, 0xaf, 0x21, 0x09, 0x61, 0x8c, 0x80, 0x79, 0x89, 0x5f, - 0x85, 0x98, 0x2d, 0x69, 0x96, 0x92, 0xd1, 0xaf, 0xb3, 0xe3, 0x3e, 0xca, 0x3e, 0xc6, 0x8e, 0xfd, - 0x14, 0xc3, 0x92, 0xec, 0x0e, 0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, 0x72, 0x22, 0x6a, - 0xbd, 0x86, 0xba, 0xb4, 0xd2, 0x61, 0xe9, 0x40, 0x8c, 0x0e, 0x2e, 0x92, 0xcb, 0xa3, 0xab, 0xb3, - 0x3e, 0xb6, 0xbf, 0x15, 0x3a, 0x77, 0xad, 0x54, 0x62, 0x09, 0xf5, 0x16, 0x67, 0xc7, 0x41, 0x34, - 0x97, 0x0e, 0x17, 0x20, 0xb2, 0x82, 0x1c, 0xe3, 0x0e, 0x95, 0xeb, 0xb7, 0x61, 0x74, 0xf8, 0x0c, - 0x8f, 0xd7, 0x5e, 0x12, 0x6f, 0xf5, 0xfa, 0x21, 0x21, 0xe3, 0x8d, 0x6e, 0xe8, 0xff, 0x17, 0xe8, - 0xfa, 0xe4, 0xf1, 0x21, 0xa6, 0x9d, 0xe9, 0x34, 0xf9, 0x3a, 0x89, 0x12, 0xa1, 0x6b, 0x50, 0x82, - 0xea, 0x56, 0x30, 0x81, 0xca, 0x47, 0xf6, 0x4b, 0x62, 0xa4, 0xdd, 0xb7, 0xc4, 0x1f, 0xc2, 0xe7, - 0x67, 0x7a, 0x70, 0x5b, 0x14, 0xbf, 0xd2, 0xf3, 0xdb, 0x60, 0x56, 0x54, 0x96, 0x06, 0xd8, 0xa1, - 0x65, 0x4e, 0x6f, 0x3c, 0xed, 0x77, 0x4f, 0x58, 0x15, 0x95, 0x5d, 0x0d, 0x84, 0xd5, 0x32, 0x5f, - 0x05, 0xc2, 0x43, 0x3a, 0x0e, 0xa7, 0x9c, 0x17, 0x95, 0xe5, 0x7c, 0xa0, 0x70, 0xbe, 0xcc, 0x39, - 0x0f, 0xa4, 0xf5, 0x2b, 0xdf, 0xdd, 0xbb, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x1c, 0x5f, 0xe8, - 0x51, 0x61, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/targeting_setting.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/targeting_setting.pb.go deleted file mode 100644 index 1a2ef2b3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/targeting_setting.pb.go +++ /dev/null @@ -1,163 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/common/targeting_setting.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Settings for the -// -// targeting related features, at Campaign and AdGroup level. -type TargetingSetting struct { - // The per-targeting-dimension setting to restrict the reach of your campaign - // or ad group. - TargetRestrictions []*TargetRestriction `protobuf:"bytes,1,rep,name=target_restrictions,json=targetRestrictions,proto3" json:"target_restrictions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TargetingSetting) Reset() { *m = TargetingSetting{} } -func (m *TargetingSetting) String() string { return proto.CompactTextString(m) } -func (*TargetingSetting) ProtoMessage() {} -func (*TargetingSetting) Descriptor() ([]byte, []int) { - return fileDescriptor_fd746ab34204e313, []int{0} -} - -func (m *TargetingSetting) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TargetingSetting.Unmarshal(m, b) -} -func (m *TargetingSetting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TargetingSetting.Marshal(b, m, deterministic) -} -func (m *TargetingSetting) XXX_Merge(src proto.Message) { - xxx_messageInfo_TargetingSetting.Merge(m, src) -} -func (m *TargetingSetting) XXX_Size() int { - return xxx_messageInfo_TargetingSetting.Size(m) -} -func (m *TargetingSetting) XXX_DiscardUnknown() { - xxx_messageInfo_TargetingSetting.DiscardUnknown(m) -} - -var xxx_messageInfo_TargetingSetting proto.InternalMessageInfo - -func (m *TargetingSetting) GetTargetRestrictions() []*TargetRestriction { - if m != nil { - return m.TargetRestrictions - } - return nil -} - -// The list of per-targeting-dimension targeting settings. -type TargetRestriction struct { - // The targeting dimension that these settings apply to. - TargetingDimension enums.TargetingDimensionEnum_TargetingDimension `protobuf:"varint,1,opt,name=targeting_dimension,json=targetingDimension,proto3,enum=google.ads.googleads.v1.enums.TargetingDimensionEnum_TargetingDimension" json:"targeting_dimension,omitempty"` - // Indicates whether to restrict your ads to show only for the criteria you - // have selected for this targeting_dimension, or to target all values for - // this targeting_dimension and show ads based on your targeting in other - // TargetingDimensions. A value of 'true' means that these criteria will only - // apply bid modifiers, and not affect targeting. A value of 'false' means - // that these criteria will restrict targeting as well as applying bid - // modifiers. - BidOnly *wrappers.BoolValue `protobuf:"bytes,2,opt,name=bid_only,json=bidOnly,proto3" json:"bid_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TargetRestriction) Reset() { *m = TargetRestriction{} } -func (m *TargetRestriction) String() string { return proto.CompactTextString(m) } -func (*TargetRestriction) ProtoMessage() {} -func (*TargetRestriction) Descriptor() ([]byte, []int) { - return fileDescriptor_fd746ab34204e313, []int{1} -} - -func (m *TargetRestriction) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TargetRestriction.Unmarshal(m, b) -} -func (m *TargetRestriction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TargetRestriction.Marshal(b, m, deterministic) -} -func (m *TargetRestriction) XXX_Merge(src proto.Message) { - xxx_messageInfo_TargetRestriction.Merge(m, src) -} -func (m *TargetRestriction) XXX_Size() int { - return xxx_messageInfo_TargetRestriction.Size(m) -} -func (m *TargetRestriction) XXX_DiscardUnknown() { - xxx_messageInfo_TargetRestriction.DiscardUnknown(m) -} - -var xxx_messageInfo_TargetRestriction proto.InternalMessageInfo - -func (m *TargetRestriction) GetTargetingDimension() enums.TargetingDimensionEnum_TargetingDimension { - if m != nil { - return m.TargetingDimension - } - return enums.TargetingDimensionEnum_UNSPECIFIED -} - -func (m *TargetRestriction) GetBidOnly() *wrappers.BoolValue { - if m != nil { - return m.BidOnly - } - return nil -} - -func init() { - proto.RegisterType((*TargetingSetting)(nil), "google.ads.googleads.v1.common.TargetingSetting") - proto.RegisterType((*TargetRestriction)(nil), "google.ads.googleads.v1.common.TargetRestriction") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/common/targeting_setting.proto", fileDescriptor_fd746ab34204e313) -} - -var fileDescriptor_fd746ab34204e313 = []byte{ - // 391 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xcf, 0x6a, 0xdb, 0x30, - 0x18, 0xc7, 0x0e, 0x6c, 0xc3, 0x81, 0xb1, 0x79, 0x0c, 0x42, 0x18, 0x21, 0xf8, 0x94, 0x93, 0x84, - 0x33, 0xb6, 0x81, 0x76, 0x72, 0x96, 0x91, 0xde, 0x1a, 0xd2, 0xe2, 0x43, 0x31, 0x04, 0x39, 0x52, - 0x85, 0xc0, 0x96, 0x8c, 0x25, 0xa7, 0xe4, 0x75, 0x7a, 0xec, 0x7b, 0xf4, 0xd2, 0x47, 0xe9, 0xa9, - 0x8f, 0x50, 0x6c, 0x59, 0x6e, 0x9a, 0x36, 0xed, 0x49, 0x9f, 0x3e, 0xfd, 0xfe, 0x7c, 0xdf, 0x0f, - 0x79, 0xbf, 0x99, 0x94, 0x2c, 0xa3, 0x10, 0x13, 0x05, 0x4d, 0x59, 0x57, 0xdb, 0x10, 0x6e, 0x64, - 0x9e, 0x4b, 0x01, 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, 0xc8, 0x76, 0xb3, 0x07, 0xc7, 0x0b, 0x36, - 0x32, 0x7f, 0x27, 0x94, 0xd9, 0xf7, 0xc3, 0x90, 0x97, 0xb5, 0xe6, 0xd2, 0xb9, 0x98, 0xb7, 0x44, - 0x26, 0x33, 0x2c, 0x18, 0x90, 0x25, 0x83, 0x8c, 0x8a, 0xc6, 0xd1, 0x7e, 0x83, 0x82, 0xab, 0x63, - 0xbf, 0xed, 0xaf, 0x39, 0xae, 0xdd, 0xde, 0x22, 0x8a, 0x6e, 0xdc, 0xd1, 0xc2, 0x88, 0x45, 0x44, - 0x01, 0x53, 0xd6, 0x55, 0x1c, 0x82, 0x7f, 0x0d, 0xec, 0xce, 0x02, 0x92, 0x88, 0xa8, 0xa4, 0x03, - 0x24, 0x71, 0x98, 0x18, 0xc0, 0xbd, 0x1b, 0x98, 0x2e, 0x42, 0x11, 0x51, 0x08, 0x75, 0x10, 0x84, - 0xe2, 0x10, 0x21, 0x03, 0x4a, 0x3f, 0x34, 0xd3, 0xfd, 0x7c, 0x0c, 0x00, 0x00, 0xff, 0xff, 0xef, - 0x06, 0xbc, 0xb2, 0x0a, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/text_label.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/text_label.pb.go deleted file mode 100644 index b7dba2ba..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/text_label.pb.go +++ /dev/null @@ -1,109 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/common/text_label.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A type of label displaying text on a colored background. -type TextLabel struct { - // Background color of the label in RGB format. This string must match the - // regular expression '^\#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$'. - // Note: The background color may not be visible for manager accounts. - BackgroundColor *wrappers.StringValue `protobuf:"bytes,1,opt,name=background_color,json=backgroundColor,proto3" json:"background_color,omitempty"` - // A short description of the label. The length must be no more than 200 - // characters. - Description *wrappers.StringValue `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TextLabel) Reset() { *m = TextLabel{} } -func (m *TextLabel) String() string { return proto.CompactTextString(m) } -func (*TextLabel) ProtoMessage() {} -func (*TextLabel) Descriptor() ([]byte, []int) { - return fileDescriptor_0f97c60eafd5c770, []int{0} -} - -func (m *TextLabel) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextLabel.Unmarshal(m, b) -} -func (m *TextLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextLabel.Marshal(b, m, deterministic) -} -func (m *TextLabel) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextLabel.Merge(m, src) -} -func (m *TextLabel) XXX_Size() int { - return xxx_messageInfo_TextLabel.Size(m) -} -func (m *TextLabel) XXX_DiscardUnknown() { - xxx_messageInfo_TextLabel.DiscardUnknown(m) -} - -var xxx_messageInfo_TextLabel proto.InternalMessageInfo - -func (m *TextLabel) GetBackgroundColor() *wrappers.StringValue { - if m != nil { - return m.BackgroundColor - } - return nil -} - -func (m *TextLabel) GetDescription() *wrappers.StringValue { - if m != nil { - return m.Description - } - return nil -} - -func init() { - proto.RegisterType((*TextLabel)(nil), "google.ads.googleads.v1.common.TextLabel") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/common/text_label.proto", fileDescriptor_0f97c60eafd5c770) -} - -var fileDescriptor_0f97c60eafd5c770 = []byte{ - // 318 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0xc1, 0x4a, 0xfb, 0x30, - 0x1c, 0xc7, 0x69, 0xff, 0xf0, 0x07, 0x3b, 0x50, 0xd9, 0x69, 0x8c, 0x31, 0x64, 0x27, 0x4f, 0x09, - 0xd5, 0x5b, 0x04, 0xa1, 0x9b, 0xb0, 0x8b, 0x87, 0xa1, 0xd2, 0x83, 0x14, 0x46, 0xda, 0xc4, 0x50, - 0xcc, 0xf2, 0x0b, 0x49, 0x36, 0xf7, 0x20, 0x3e, 0x81, 0x47, 0x1f, 0xc5, 0x37, 0xd1, 0xa7, 0x90, - 0x34, 0x6d, 0xf5, 0xa2, 0x78, 0xea, 0xb7, 0xed, 0xe7, 0xf3, 0xfd, 0xfd, 0x92, 0x04, 0x0b, 0x00, - 0x21, 0x39, 0xa6, 0xcc, 0xb6, 0xd1, 0xa7, 0x5d, 0x8a, 0x2b, 0xd8, 0x6c, 0x40, 0x61, 0xc7, 0xf7, - 0x6e, 0x2d, 0x69, 0xc9, 0x25, 0xd2, 0x06, 0x1c, 0x0c, 0xa7, 0x81, 0x42, 0x94, 0x59, 0xd4, 0x0b, - 0x68, 0x97, 0xa2, 0x20, 0x8c, 0x27, 0x5d, 0xa1, 0xae, 0x31, 0x55, 0x0a, 0x1c, 0x75, 0x35, 0x28, - 0x1b, 0xec, 0x71, 0x6b, 0xe3, 0xe6, 0xad, 0xdc, 0x3e, 0xe0, 0x27, 0x43, 0xb5, 0xe6, 0xa6, 0xfd, - 0x3f, 0x7b, 0x8e, 0x92, 0x83, 0x3b, 0xbe, 0x77, 0xd7, 0x7e, 0xe2, 0x70, 0x99, 0x1c, 0x97, 0xb4, - 0x7a, 0x14, 0x06, 0xb6, 0x8a, 0xad, 0x2b, 0x90, 0x60, 0x46, 0xd1, 0x49, 0x74, 0x3a, 0x38, 0x9b, - 0xb4, 0xb3, 0x51, 0x57, 0x84, 0x6e, 0x9d, 0xa9, 0x95, 0xc8, 0xa9, 0xdc, 0xf2, 0x9b, 0xa3, 0x2f, - 0x6b, 0xe1, 0xa5, 0xe1, 0x65, 0x32, 0x60, 0xdc, 0x56, 0xa6, 0xd6, 0x7e, 0x99, 0x51, 0xfc, 0x87, - 0x8e, 0xef, 0xc2, 0xfc, 0x3d, 0x4a, 0x66, 0x15, 0x6c, 0xd0, 0xef, 0x67, 0x9f, 0x1f, 0xf6, 0xab, - 0xaf, 0x7c, 0xe5, 0x2a, 0xba, 0xbf, 0x6a, 0x0d, 0x01, 0x92, 0x2a, 0x81, 0xc0, 0x08, 0x2c, 0xb8, - 0x6a, 0x06, 0x76, 0xd7, 0xad, 0x6b, 0xfb, 0xd3, 0xed, 0x5f, 0x84, 0xc7, 0x4b, 0xfc, 0x6f, 0x99, - 0x65, 0xaf, 0xf1, 0x74, 0x19, 0xca, 0x32, 0x66, 0x51, 0x88, 0x3e, 0xe5, 0x29, 0x5a, 0x34, 0xd8, - 0x5b, 0x07, 0x14, 0x19, 0xb3, 0x45, 0x0f, 0x14, 0x79, 0x5a, 0x04, 0xe0, 0x23, 0x9e, 0x85, 0xaf, - 0x84, 0x64, 0xcc, 0x12, 0xd2, 0x23, 0x84, 0xe4, 0x29, 0x21, 0x01, 0x2a, 0xff, 0x37, 0xdb, 0x9d, - 0x7f, 0x06, 0x00, 0x00, 0xff, 0xff, 0xb7, 0x06, 0x77, 0xf9, 0x1a, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/url_collection.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/url_collection.pb.go deleted file mode 100644 index 01b55828..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/url_collection.pb.go +++ /dev/null @@ -1,128 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/common/url_collection.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Collection of urls that is tagged with a unique identifier. -type UrlCollection struct { - // Unique identifier for this UrlCollection instance. - UrlCollectionId *wrappers.StringValue `protobuf:"bytes,1,opt,name=url_collection_id,json=urlCollectionId,proto3" json:"url_collection_id,omitempty"` - // A list of possible final URLs. - FinalUrls []*wrappers.StringValue `protobuf:"bytes,2,rep,name=final_urls,json=finalUrls,proto3" json:"final_urls,omitempty"` - // A list of possible final mobile URLs. - FinalMobileUrls []*wrappers.StringValue `protobuf:"bytes,3,rep,name=final_mobile_urls,json=finalMobileUrls,proto3" json:"final_mobile_urls,omitempty"` - // URL template for constructing a tracking URL. - TrackingUrlTemplate *wrappers.StringValue `protobuf:"bytes,4,opt,name=tracking_url_template,json=trackingUrlTemplate,proto3" json:"tracking_url_template,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UrlCollection) Reset() { *m = UrlCollection{} } -func (m *UrlCollection) String() string { return proto.CompactTextString(m) } -func (*UrlCollection) ProtoMessage() {} -func (*UrlCollection) Descriptor() ([]byte, []int) { - return fileDescriptor_82f492aa5cd99b44, []int{0} -} - -func (m *UrlCollection) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UrlCollection.Unmarshal(m, b) -} -func (m *UrlCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UrlCollection.Marshal(b, m, deterministic) -} -func (m *UrlCollection) XXX_Merge(src proto.Message) { - xxx_messageInfo_UrlCollection.Merge(m, src) -} -func (m *UrlCollection) XXX_Size() int { - return xxx_messageInfo_UrlCollection.Size(m) -} -func (m *UrlCollection) XXX_DiscardUnknown() { - xxx_messageInfo_UrlCollection.DiscardUnknown(m) -} - -var xxx_messageInfo_UrlCollection proto.InternalMessageInfo - -func (m *UrlCollection) GetUrlCollectionId() *wrappers.StringValue { - if m != nil { - return m.UrlCollectionId - } - return nil -} - -func (m *UrlCollection) GetFinalUrls() []*wrappers.StringValue { - if m != nil { - return m.FinalUrls - } - return nil -} - -func (m *UrlCollection) GetFinalMobileUrls() []*wrappers.StringValue { - if m != nil { - return m.FinalMobileUrls - } - return nil -} - -func (m *UrlCollection) GetTrackingUrlTemplate() *wrappers.StringValue { - if m != nil { - return m.TrackingUrlTemplate - } - return nil -} - -func init() { - proto.RegisterType((*UrlCollection)(nil), "google.ads.googleads.v1.common.UrlCollection") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/common/url_collection.proto", fileDescriptor_82f492aa5cd99b44) -} - -var fileDescriptor_82f492aa5cd99b44 = []byte{ - // 370 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xb1, 0x6a, 0xe3, 0x30, - 0x1c, 0xc6, 0xb1, 0x73, 0x1c, 0x9c, 0x8f, 0x23, 0x9c, 0x4b, 0x21, 0x84, 0x10, 0x42, 0xa6, 0x4e, - 0x12, 0x6e, 0x36, 0x65, 0x72, 0x52, 0x48, 0x3b, 0x14, 0x42, 0xdb, 0x78, 0x28, 0x06, 0xa3, 0xd8, - 0x8a, 0x10, 0x95, 0x25, 0x23, 0xd9, 0xe9, 0xfb, 0x74, 0xec, 0xd8, 0xc7, 0xe8, 0xa3, 0x14, 0xfa, - 0x0e, 0xc5, 0x92, 0x6d, 0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, 0x47, 0x7c, 0xd4, 0x49, 0x8b, - 0x6e, 0x14, 0xbf, 0x6b, 0xc0, 0xc5, 0xbb, 0xe3, 0x4d, 0x53, 0x99, 0x83, 0xef, 0x77, 0x66, 0xe1, - 0x1f, 0xfc, 0xd8, 0x75, 0xad, 0x5f, 0x3b, 0xf7, 0x17, 0x0d, 0x45, 0x25, 0xc7, 0x82, 0x02, 0xa9, - 0x28, 0xa4, 0x44, 0x98, 0xc5, 0xdb, 0x43, 0x51, 0x30, 0xfd, 0xd5, 0x19, 0x99, 0xdb, 0xcb, 0x93, - 0xdb, 0x5b, 0x85, 0xe1, 0xb3, 0x3b, 0x5e, 0x59, 0x59, 0x98, 0x69, 0x60, 0xc7, 0x7a, 0x8a, 0x02, - 0xb0, 0x34, 0xb1, 0xd7, 0x36, 0x10, 0x87, 0x99, 0x8e, 0xbb, 0x40, 0x1c, 0x05, 0xb1, 0x0d, 0xbc, - 0xb9, 0x53, 0xfb, 0x14, 0xa1, 0x30, 0xd3, 0x08, 0x75, 0x11, 0x84, 0xa2, 0x00, 0x21, 0x1b, 0xda, - 0xfe, 0x36, 0xed, 0x66, 0x1f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x53, 0x0d, 0xd6, 0xc2, 0xc0, 0x02, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/user_lists.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/user_lists.pb.go deleted file mode 100644 index 4fe46dab..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/user_lists.pb.go +++ /dev/null @@ -1,1191 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/common/user_lists.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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_09d2cd2397775a05, []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 (m *SimilarUserListInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_SimilarUserListInfo.Merge(m, 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.v1.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.v1.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_09d2cd2397775a05, []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 (m *CrmBasedUserListInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_CrmBasedUserListInfo.Merge(m, 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 -} - -// A client defined rule based on custom parameters sent by web sites or -// uploaded by the advertiser. -type UserListRuleInfo struct { - // Rule type is used to determine how to group rule items. - // - // The default is OR of ANDs (disjunctive normal form). - // That is, rule items will be ANDed together within rule item groups and the - // groups themselves will be ORed together. - // - // Currently AND of ORs (conjunctive normal form) is only supported for - // ExpressionRuleUserList. - RuleType enums.UserListRuleTypeEnum_UserListRuleType `protobuf:"varint,1,opt,name=rule_type,json=ruleType,proto3,enum=google.ads.googleads.v1.enums.UserListRuleTypeEnum_UserListRuleType" json:"rule_type,omitempty"` - // List of rule item groups that defines this rule. - // Rule item groups are grouped together based on rule_type. - RuleItemGroups []*UserListRuleItemGroupInfo `protobuf:"bytes,2,rep,name=rule_item_groups,json=ruleItemGroups,proto3" json:"rule_item_groups,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserListRuleInfo) Reset() { *m = UserListRuleInfo{} } -func (m *UserListRuleInfo) String() string { return proto.CompactTextString(m) } -func (*UserListRuleInfo) ProtoMessage() {} -func (*UserListRuleInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_09d2cd2397775a05, []int{2} -} - -func (m *UserListRuleInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserListRuleInfo.Unmarshal(m, b) -} -func (m *UserListRuleInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserListRuleInfo.Marshal(b, m, deterministic) -} -func (m *UserListRuleInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListRuleInfo.Merge(m, src) -} -func (m *UserListRuleInfo) XXX_Size() int { - return xxx_messageInfo_UserListRuleInfo.Size(m) -} -func (m *UserListRuleInfo) XXX_DiscardUnknown() { - xxx_messageInfo_UserListRuleInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_UserListRuleInfo proto.InternalMessageInfo - -func (m *UserListRuleInfo) GetRuleType() enums.UserListRuleTypeEnum_UserListRuleType { - if m != nil { - return m.RuleType - } - return enums.UserListRuleTypeEnum_UNSPECIFIED -} - -func (m *UserListRuleInfo) GetRuleItemGroups() []*UserListRuleItemGroupInfo { - if m != nil { - return m.RuleItemGroups - } - return nil -} - -// A group of rule items. -type UserListRuleItemGroupInfo struct { - // Rule items that will be grouped together based on rule_type. - RuleItems []*UserListRuleItemInfo `protobuf:"bytes,1,rep,name=rule_items,json=ruleItems,proto3" json:"rule_items,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserListRuleItemGroupInfo) Reset() { *m = UserListRuleItemGroupInfo{} } -func (m *UserListRuleItemGroupInfo) String() string { return proto.CompactTextString(m) } -func (*UserListRuleItemGroupInfo) ProtoMessage() {} -func (*UserListRuleItemGroupInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_09d2cd2397775a05, []int{3} -} - -func (m *UserListRuleItemGroupInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserListRuleItemGroupInfo.Unmarshal(m, b) -} -func (m *UserListRuleItemGroupInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserListRuleItemGroupInfo.Marshal(b, m, deterministic) -} -func (m *UserListRuleItemGroupInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListRuleItemGroupInfo.Merge(m, src) -} -func (m *UserListRuleItemGroupInfo) XXX_Size() int { - return xxx_messageInfo_UserListRuleItemGroupInfo.Size(m) -} -func (m *UserListRuleItemGroupInfo) XXX_DiscardUnknown() { - xxx_messageInfo_UserListRuleItemGroupInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_UserListRuleItemGroupInfo proto.InternalMessageInfo - -func (m *UserListRuleItemGroupInfo) GetRuleItems() []*UserListRuleItemInfo { - if m != nil { - return m.RuleItems - } - return nil -} - -// An atomic rule fragment. -type UserListRuleItemInfo struct { - // Rule variable name. It should match the corresponding key name fired - // by the pixel. - // A name must begin with US-ascii letters or underscore or UTF8 code that is - // greater than 127 and consist of US-ascii letters or digits or underscore or - // UTF8 code that is greater than 127. - // For websites, there are two built-in variable URL (name = 'url__') and - // referrer URL (name = 'ref_url__'). - // This field must be populated when creating a new rule item. - Name *wrappers.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // An atomic rule fragment. - // - // Types that are valid to be assigned to RuleItem: - // *UserListRuleItemInfo_NumberRuleItem - // *UserListRuleItemInfo_StringRuleItem - // *UserListRuleItemInfo_DateRuleItem - RuleItem isUserListRuleItemInfo_RuleItem `protobuf_oneof:"rule_item"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserListRuleItemInfo) Reset() { *m = UserListRuleItemInfo{} } -func (m *UserListRuleItemInfo) String() string { return proto.CompactTextString(m) } -func (*UserListRuleItemInfo) ProtoMessage() {} -func (*UserListRuleItemInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_09d2cd2397775a05, []int{4} -} - -func (m *UserListRuleItemInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserListRuleItemInfo.Unmarshal(m, b) -} -func (m *UserListRuleItemInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserListRuleItemInfo.Marshal(b, m, deterministic) -} -func (m *UserListRuleItemInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListRuleItemInfo.Merge(m, src) -} -func (m *UserListRuleItemInfo) XXX_Size() int { - return xxx_messageInfo_UserListRuleItemInfo.Size(m) -} -func (m *UserListRuleItemInfo) XXX_DiscardUnknown() { - xxx_messageInfo_UserListRuleItemInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_UserListRuleItemInfo proto.InternalMessageInfo - -func (m *UserListRuleItemInfo) GetName() *wrappers.StringValue { - if m != nil { - return m.Name - } - return nil -} - -type isUserListRuleItemInfo_RuleItem interface { - isUserListRuleItemInfo_RuleItem() -} - -type UserListRuleItemInfo_NumberRuleItem struct { - NumberRuleItem *UserListNumberRuleItemInfo `protobuf:"bytes,2,opt,name=number_rule_item,json=numberRuleItem,proto3,oneof"` -} - -type UserListRuleItemInfo_StringRuleItem struct { - StringRuleItem *UserListStringRuleItemInfo `protobuf:"bytes,3,opt,name=string_rule_item,json=stringRuleItem,proto3,oneof"` -} - -type UserListRuleItemInfo_DateRuleItem struct { - DateRuleItem *UserListDateRuleItemInfo `protobuf:"bytes,4,opt,name=date_rule_item,json=dateRuleItem,proto3,oneof"` -} - -func (*UserListRuleItemInfo_NumberRuleItem) isUserListRuleItemInfo_RuleItem() {} - -func (*UserListRuleItemInfo_StringRuleItem) isUserListRuleItemInfo_RuleItem() {} - -func (*UserListRuleItemInfo_DateRuleItem) isUserListRuleItemInfo_RuleItem() {} - -func (m *UserListRuleItemInfo) GetRuleItem() isUserListRuleItemInfo_RuleItem { - if m != nil { - return m.RuleItem - } - return nil -} - -func (m *UserListRuleItemInfo) GetNumberRuleItem() *UserListNumberRuleItemInfo { - if x, ok := m.GetRuleItem().(*UserListRuleItemInfo_NumberRuleItem); ok { - return x.NumberRuleItem - } - return nil -} - -func (m *UserListRuleItemInfo) GetStringRuleItem() *UserListStringRuleItemInfo { - if x, ok := m.GetRuleItem().(*UserListRuleItemInfo_StringRuleItem); ok { - return x.StringRuleItem - } - return nil -} - -func (m *UserListRuleItemInfo) GetDateRuleItem() *UserListDateRuleItemInfo { - if x, ok := m.GetRuleItem().(*UserListRuleItemInfo_DateRuleItem); ok { - return x.DateRuleItem - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*UserListRuleItemInfo) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*UserListRuleItemInfo_NumberRuleItem)(nil), - (*UserListRuleItemInfo_StringRuleItem)(nil), - (*UserListRuleItemInfo_DateRuleItem)(nil), - } -} - -// A rule item composed of date operation. -type UserListDateRuleItemInfo struct { - // Date comparison operator. - // This field is required and must be populated when creating new date - // rule item. - Operator enums.UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator `protobuf:"varint,1,opt,name=operator,proto3,enum=google.ads.googleads.v1.enums.UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator" json:"operator,omitempty"` - // String representing date value to be compared with the rule variable. - // Supported date format is YYYY-MM-DD. - // Times are reported in the customer's time zone. - Value *wrappers.StringValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - // The relative date value of the right hand side denoted by number of days - // offset from now. The value field will override this field when both are - // present. - OffsetInDays *wrappers.Int64Value `protobuf:"bytes,3,opt,name=offset_in_days,json=offsetInDays,proto3" json:"offset_in_days,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserListDateRuleItemInfo) Reset() { *m = UserListDateRuleItemInfo{} } -func (m *UserListDateRuleItemInfo) String() string { return proto.CompactTextString(m) } -func (*UserListDateRuleItemInfo) ProtoMessage() {} -func (*UserListDateRuleItemInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_09d2cd2397775a05, []int{5} -} - -func (m *UserListDateRuleItemInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserListDateRuleItemInfo.Unmarshal(m, b) -} -func (m *UserListDateRuleItemInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserListDateRuleItemInfo.Marshal(b, m, deterministic) -} -func (m *UserListDateRuleItemInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListDateRuleItemInfo.Merge(m, src) -} -func (m *UserListDateRuleItemInfo) XXX_Size() int { - return xxx_messageInfo_UserListDateRuleItemInfo.Size(m) -} -func (m *UserListDateRuleItemInfo) XXX_DiscardUnknown() { - xxx_messageInfo_UserListDateRuleItemInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_UserListDateRuleItemInfo proto.InternalMessageInfo - -func (m *UserListDateRuleItemInfo) GetOperator() enums.UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator { - if m != nil { - return m.Operator - } - return enums.UserListDateRuleItemOperatorEnum_UNSPECIFIED -} - -func (m *UserListDateRuleItemInfo) GetValue() *wrappers.StringValue { - if m != nil { - return m.Value - } - return nil -} - -func (m *UserListDateRuleItemInfo) GetOffsetInDays() *wrappers.Int64Value { - if m != nil { - return m.OffsetInDays - } - return nil -} - -// A rule item composed of number operation. -type UserListNumberRuleItemInfo struct { - // Number comparison operator. - // This field is required and must be populated when creating a new number - // rule item. - Operator enums.UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator `protobuf:"varint,1,opt,name=operator,proto3,enum=google.ads.googleads.v1.enums.UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator" json:"operator,omitempty"` - // Number value to be compared with the variable. - // This field is required and must be populated when creating a new number - // rule item. - Value *wrappers.DoubleValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserListNumberRuleItemInfo) Reset() { *m = UserListNumberRuleItemInfo{} } -func (m *UserListNumberRuleItemInfo) String() string { return proto.CompactTextString(m) } -func (*UserListNumberRuleItemInfo) ProtoMessage() {} -func (*UserListNumberRuleItemInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_09d2cd2397775a05, []int{6} -} - -func (m *UserListNumberRuleItemInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserListNumberRuleItemInfo.Unmarshal(m, b) -} -func (m *UserListNumberRuleItemInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserListNumberRuleItemInfo.Marshal(b, m, deterministic) -} -func (m *UserListNumberRuleItemInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListNumberRuleItemInfo.Merge(m, src) -} -func (m *UserListNumberRuleItemInfo) XXX_Size() int { - return xxx_messageInfo_UserListNumberRuleItemInfo.Size(m) -} -func (m *UserListNumberRuleItemInfo) XXX_DiscardUnknown() { - xxx_messageInfo_UserListNumberRuleItemInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_UserListNumberRuleItemInfo proto.InternalMessageInfo - -func (m *UserListNumberRuleItemInfo) GetOperator() enums.UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator { - if m != nil { - return m.Operator - } - return enums.UserListNumberRuleItemOperatorEnum_UNSPECIFIED -} - -func (m *UserListNumberRuleItemInfo) GetValue() *wrappers.DoubleValue { - if m != nil { - return m.Value - } - return nil -} - -// A rule item fragment composed of date operation. -type UserListStringRuleItemInfo struct { - // String comparison operator. - // This field is required and must be populated when creating a new string - // rule item. - Operator enums.UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator `protobuf:"varint,1,opt,name=operator,proto3,enum=google.ads.googleads.v1.enums.UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator" json:"operator,omitempty"` - // The right hand side of the string rule item. For URLs or referrer URLs, - // the value can not contain illegal URL chars such as newlines, quotes, - // tabs, or parentheses. This field is required and must be populated when - // creating a new string rule item. - 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 *UserListStringRuleItemInfo) Reset() { *m = UserListStringRuleItemInfo{} } -func (m *UserListStringRuleItemInfo) String() string { return proto.CompactTextString(m) } -func (*UserListStringRuleItemInfo) ProtoMessage() {} -func (*UserListStringRuleItemInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_09d2cd2397775a05, []int{7} -} - -func (m *UserListStringRuleItemInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserListStringRuleItemInfo.Unmarshal(m, b) -} -func (m *UserListStringRuleItemInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserListStringRuleItemInfo.Marshal(b, m, deterministic) -} -func (m *UserListStringRuleItemInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListStringRuleItemInfo.Merge(m, src) -} -func (m *UserListStringRuleItemInfo) XXX_Size() int { - return xxx_messageInfo_UserListStringRuleItemInfo.Size(m) -} -func (m *UserListStringRuleItemInfo) XXX_DiscardUnknown() { - xxx_messageInfo_UserListStringRuleItemInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_UserListStringRuleItemInfo proto.InternalMessageInfo - -func (m *UserListStringRuleItemInfo) GetOperator() enums.UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator { - if m != nil { - return m.Operator - } - return enums.UserListStringRuleItemOperatorEnum_UNSPECIFIED -} - -func (m *UserListStringRuleItemInfo) GetValue() *wrappers.StringValue { - if m != nil { - return m.Value - } - return nil -} - -// User lists defined by combining two rules, left operand and right operand. -// There are two operators: AND where left operand and right operand have to be -// true; AND_NOT where left operand is true but right operand is false. -type CombinedRuleUserListInfo struct { - // Left operand of the combined rule. - // This field is required and must be populated when creating new combined - // rule based user list. - LeftOperand *UserListRuleInfo `protobuf:"bytes,1,opt,name=left_operand,json=leftOperand,proto3" json:"left_operand,omitempty"` - // Right operand of the combined rule. - // This field is required and must be populated when creating new combined - // rule based user list. - RightOperand *UserListRuleInfo `protobuf:"bytes,2,opt,name=right_operand,json=rightOperand,proto3" json:"right_operand,omitempty"` - // Operator to connect the two operands. - // - // Required for creating a combined rule user list. - RuleOperator enums.UserListCombinedRuleOperatorEnum_UserListCombinedRuleOperator `protobuf:"varint,3,opt,name=rule_operator,json=ruleOperator,proto3,enum=google.ads.googleads.v1.enums.UserListCombinedRuleOperatorEnum_UserListCombinedRuleOperator" json:"rule_operator,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CombinedRuleUserListInfo) Reset() { *m = CombinedRuleUserListInfo{} } -func (m *CombinedRuleUserListInfo) String() string { return proto.CompactTextString(m) } -func (*CombinedRuleUserListInfo) ProtoMessage() {} -func (*CombinedRuleUserListInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_09d2cd2397775a05, []int{8} -} - -func (m *CombinedRuleUserListInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CombinedRuleUserListInfo.Unmarshal(m, b) -} -func (m *CombinedRuleUserListInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CombinedRuleUserListInfo.Marshal(b, m, deterministic) -} -func (m *CombinedRuleUserListInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_CombinedRuleUserListInfo.Merge(m, src) -} -func (m *CombinedRuleUserListInfo) XXX_Size() int { - return xxx_messageInfo_CombinedRuleUserListInfo.Size(m) -} -func (m *CombinedRuleUserListInfo) XXX_DiscardUnknown() { - xxx_messageInfo_CombinedRuleUserListInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_CombinedRuleUserListInfo proto.InternalMessageInfo - -func (m *CombinedRuleUserListInfo) GetLeftOperand() *UserListRuleInfo { - if m != nil { - return m.LeftOperand - } - return nil -} - -func (m *CombinedRuleUserListInfo) GetRightOperand() *UserListRuleInfo { - if m != nil { - return m.RightOperand - } - return nil -} - -func (m *CombinedRuleUserListInfo) GetRuleOperator() enums.UserListCombinedRuleOperatorEnum_UserListCombinedRuleOperator { - if m != nil { - return m.RuleOperator - } - return enums.UserListCombinedRuleOperatorEnum_UNSPECIFIED -} - -// Visitors of a page during specific dates. -type DateSpecificRuleUserListInfo struct { - // Boolean rule that defines visitor of a page. - // - // Required for creating a date specific rule user list. - Rule *UserListRuleInfo `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` - // Start date of users visit. If set to 2000-01-01, then the list includes all - // users before end_date. The date's format should be YYYY-MM-DD. - // - // Required for creating a data specific rule user list. - StartDate *wrappers.StringValue `protobuf:"bytes,2,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` - // End date of users visit. If set to 2037-12-30, then the list includes all - // users after start_date. The date's format should be YYYY-MM-DD. - // - // Required for creating a data specific rule user list. - EndDate *wrappers.StringValue `protobuf:"bytes,3,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 *DateSpecificRuleUserListInfo) Reset() { *m = DateSpecificRuleUserListInfo{} } -func (m *DateSpecificRuleUserListInfo) String() string { return proto.CompactTextString(m) } -func (*DateSpecificRuleUserListInfo) ProtoMessage() {} -func (*DateSpecificRuleUserListInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_09d2cd2397775a05, []int{9} -} - -func (m *DateSpecificRuleUserListInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DateSpecificRuleUserListInfo.Unmarshal(m, b) -} -func (m *DateSpecificRuleUserListInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DateSpecificRuleUserListInfo.Marshal(b, m, deterministic) -} -func (m *DateSpecificRuleUserListInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_DateSpecificRuleUserListInfo.Merge(m, src) -} -func (m *DateSpecificRuleUserListInfo) XXX_Size() int { - return xxx_messageInfo_DateSpecificRuleUserListInfo.Size(m) -} -func (m *DateSpecificRuleUserListInfo) XXX_DiscardUnknown() { - xxx_messageInfo_DateSpecificRuleUserListInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_DateSpecificRuleUserListInfo proto.InternalMessageInfo - -func (m *DateSpecificRuleUserListInfo) GetRule() *UserListRuleInfo { - if m != nil { - return m.Rule - } - return nil -} - -func (m *DateSpecificRuleUserListInfo) GetStartDate() *wrappers.StringValue { - if m != nil { - return m.StartDate - } - return nil -} - -func (m *DateSpecificRuleUserListInfo) GetEndDate() *wrappers.StringValue { - if m != nil { - return m.EndDate - } - return nil -} - -// Visitors of a page. The page visit is defined by one boolean rule expression. -type ExpressionRuleUserListInfo struct { - // Boolean rule that defines this user list. The rule consists of a list of - // rule item groups and each rule item group consists of a list of rule items. - // All the rule item groups are ORed or ANDed together for evaluation based on - // rule.rule_type. - // - // Required for creating an expression rule user list. - Rule *UserListRuleInfo `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExpressionRuleUserListInfo) Reset() { *m = ExpressionRuleUserListInfo{} } -func (m *ExpressionRuleUserListInfo) String() string { return proto.CompactTextString(m) } -func (*ExpressionRuleUserListInfo) ProtoMessage() {} -func (*ExpressionRuleUserListInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_09d2cd2397775a05, []int{10} -} - -func (m *ExpressionRuleUserListInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExpressionRuleUserListInfo.Unmarshal(m, b) -} -func (m *ExpressionRuleUserListInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExpressionRuleUserListInfo.Marshal(b, m, deterministic) -} -func (m *ExpressionRuleUserListInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExpressionRuleUserListInfo.Merge(m, src) -} -func (m *ExpressionRuleUserListInfo) XXX_Size() int { - return xxx_messageInfo_ExpressionRuleUserListInfo.Size(m) -} -func (m *ExpressionRuleUserListInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ExpressionRuleUserListInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_ExpressionRuleUserListInfo proto.InternalMessageInfo - -func (m *ExpressionRuleUserListInfo) GetRule() *UserListRuleInfo { - if m != nil { - return m.Rule - } - return nil -} - -// Representation of a userlist that is generated by a rule. -type RuleBasedUserListInfo struct { - // The status of pre-population. The field is default to NONE if not set which - // means the previous users will not be considered. If set to REQUESTED, past - // site visitors or app users who match the list definition will be included - // in the list (works on the Display Network only). This will only - // add past users from within the last 30 days, depending on the - // list's membership duration and the date when the remarketing tag is added. - // The status will be updated to FINISHED once request is processed, or FAILED - // if the request fails. - PrepopulationStatus enums.UserListPrepopulationStatusEnum_UserListPrepopulationStatus `protobuf:"varint,1,opt,name=prepopulation_status,json=prepopulationStatus,proto3,enum=google.ads.googleads.v1.enums.UserListPrepopulationStatusEnum_UserListPrepopulationStatus" json:"prepopulation_status,omitempty"` - // Subtypes of rule based user lists. - // - // Types that are valid to be assigned to RuleBasedUserList: - // *RuleBasedUserListInfo_CombinedRuleUserList - // *RuleBasedUserListInfo_DateSpecificRuleUserList - // *RuleBasedUserListInfo_ExpressionRuleUserList - RuleBasedUserList isRuleBasedUserListInfo_RuleBasedUserList `protobuf_oneof:"rule_based_user_list"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RuleBasedUserListInfo) Reset() { *m = RuleBasedUserListInfo{} } -func (m *RuleBasedUserListInfo) String() string { return proto.CompactTextString(m) } -func (*RuleBasedUserListInfo) ProtoMessage() {} -func (*RuleBasedUserListInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_09d2cd2397775a05, []int{11} -} - -func (m *RuleBasedUserListInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RuleBasedUserListInfo.Unmarshal(m, b) -} -func (m *RuleBasedUserListInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RuleBasedUserListInfo.Marshal(b, m, deterministic) -} -func (m *RuleBasedUserListInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_RuleBasedUserListInfo.Merge(m, src) -} -func (m *RuleBasedUserListInfo) XXX_Size() int { - return xxx_messageInfo_RuleBasedUserListInfo.Size(m) -} -func (m *RuleBasedUserListInfo) XXX_DiscardUnknown() { - xxx_messageInfo_RuleBasedUserListInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_RuleBasedUserListInfo proto.InternalMessageInfo - -func (m *RuleBasedUserListInfo) GetPrepopulationStatus() enums.UserListPrepopulationStatusEnum_UserListPrepopulationStatus { - if m != nil { - return m.PrepopulationStatus - } - return enums.UserListPrepopulationStatusEnum_UNSPECIFIED -} - -type isRuleBasedUserListInfo_RuleBasedUserList interface { - isRuleBasedUserListInfo_RuleBasedUserList() -} - -type RuleBasedUserListInfo_CombinedRuleUserList struct { - CombinedRuleUserList *CombinedRuleUserListInfo `protobuf:"bytes,2,opt,name=combined_rule_user_list,json=combinedRuleUserList,proto3,oneof"` -} - -type RuleBasedUserListInfo_DateSpecificRuleUserList struct { - DateSpecificRuleUserList *DateSpecificRuleUserListInfo `protobuf:"bytes,3,opt,name=date_specific_rule_user_list,json=dateSpecificRuleUserList,proto3,oneof"` -} - -type RuleBasedUserListInfo_ExpressionRuleUserList struct { - ExpressionRuleUserList *ExpressionRuleUserListInfo `protobuf:"bytes,4,opt,name=expression_rule_user_list,json=expressionRuleUserList,proto3,oneof"` -} - -func (*RuleBasedUserListInfo_CombinedRuleUserList) isRuleBasedUserListInfo_RuleBasedUserList() {} - -func (*RuleBasedUserListInfo_DateSpecificRuleUserList) isRuleBasedUserListInfo_RuleBasedUserList() {} - -func (*RuleBasedUserListInfo_ExpressionRuleUserList) isRuleBasedUserListInfo_RuleBasedUserList() {} - -func (m *RuleBasedUserListInfo) GetRuleBasedUserList() isRuleBasedUserListInfo_RuleBasedUserList { - if m != nil { - return m.RuleBasedUserList - } - return nil -} - -func (m *RuleBasedUserListInfo) GetCombinedRuleUserList() *CombinedRuleUserListInfo { - if x, ok := m.GetRuleBasedUserList().(*RuleBasedUserListInfo_CombinedRuleUserList); ok { - return x.CombinedRuleUserList - } - return nil -} - -func (m *RuleBasedUserListInfo) GetDateSpecificRuleUserList() *DateSpecificRuleUserListInfo { - if x, ok := m.GetRuleBasedUserList().(*RuleBasedUserListInfo_DateSpecificRuleUserList); ok { - return x.DateSpecificRuleUserList - } - return nil -} - -func (m *RuleBasedUserListInfo) GetExpressionRuleUserList() *ExpressionRuleUserListInfo { - if x, ok := m.GetRuleBasedUserList().(*RuleBasedUserListInfo_ExpressionRuleUserList); ok { - return x.ExpressionRuleUserList - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*RuleBasedUserListInfo) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*RuleBasedUserListInfo_CombinedRuleUserList)(nil), - (*RuleBasedUserListInfo_DateSpecificRuleUserList)(nil), - (*RuleBasedUserListInfo_ExpressionRuleUserList)(nil), - } -} - -// Represents a user list that is a custom combination of user lists. -type LogicalUserListInfo struct { - // Logical list rules that define this user list. The rules are defined as a - // logical operator (ALL/ANY/NONE) and a list of user lists. All the rules are - // ANDed when they are evaluated. - // - // Required for creating a logical user list. - Rules []*UserListLogicalRuleInfo `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LogicalUserListInfo) Reset() { *m = LogicalUserListInfo{} } -func (m *LogicalUserListInfo) String() string { return proto.CompactTextString(m) } -func (*LogicalUserListInfo) ProtoMessage() {} -func (*LogicalUserListInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_09d2cd2397775a05, []int{12} -} - -func (m *LogicalUserListInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LogicalUserListInfo.Unmarshal(m, b) -} -func (m *LogicalUserListInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LogicalUserListInfo.Marshal(b, m, deterministic) -} -func (m *LogicalUserListInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_LogicalUserListInfo.Merge(m, src) -} -func (m *LogicalUserListInfo) XXX_Size() int { - return xxx_messageInfo_LogicalUserListInfo.Size(m) -} -func (m *LogicalUserListInfo) XXX_DiscardUnknown() { - xxx_messageInfo_LogicalUserListInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_LogicalUserListInfo proto.InternalMessageInfo - -func (m *LogicalUserListInfo) GetRules() []*UserListLogicalRuleInfo { - if m != nil { - return m.Rules - } - return nil -} - -// A user list logical rule. A rule has a logical operator (and/or/not) and a -// list of user lists as operands. -type UserListLogicalRuleInfo struct { - // The logical operator of the rule. - Operator enums.UserListLogicalRuleOperatorEnum_UserListLogicalRuleOperator `protobuf:"varint,1,opt,name=operator,proto3,enum=google.ads.googleads.v1.enums.UserListLogicalRuleOperatorEnum_UserListLogicalRuleOperator" json:"operator,omitempty"` - // The list of operands of the rule. - RuleOperands []*LogicalUserListOperandInfo `protobuf:"bytes,2,rep,name=rule_operands,json=ruleOperands,proto3" json:"rule_operands,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserListLogicalRuleInfo) Reset() { *m = UserListLogicalRuleInfo{} } -func (m *UserListLogicalRuleInfo) String() string { return proto.CompactTextString(m) } -func (*UserListLogicalRuleInfo) ProtoMessage() {} -func (*UserListLogicalRuleInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_09d2cd2397775a05, []int{13} -} - -func (m *UserListLogicalRuleInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserListLogicalRuleInfo.Unmarshal(m, b) -} -func (m *UserListLogicalRuleInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserListLogicalRuleInfo.Marshal(b, m, deterministic) -} -func (m *UserListLogicalRuleInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListLogicalRuleInfo.Merge(m, src) -} -func (m *UserListLogicalRuleInfo) XXX_Size() int { - return xxx_messageInfo_UserListLogicalRuleInfo.Size(m) -} -func (m *UserListLogicalRuleInfo) XXX_DiscardUnknown() { - xxx_messageInfo_UserListLogicalRuleInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_UserListLogicalRuleInfo proto.InternalMessageInfo - -func (m *UserListLogicalRuleInfo) GetOperator() enums.UserListLogicalRuleOperatorEnum_UserListLogicalRuleOperator { - if m != nil { - return m.Operator - } - return enums.UserListLogicalRuleOperatorEnum_UNSPECIFIED -} - -func (m *UserListLogicalRuleInfo) GetRuleOperands() []*LogicalUserListOperandInfo { - if m != nil { - return m.RuleOperands - } - return nil -} - -// Operand of logical user list that consists of a user list. -type LogicalUserListOperandInfo struct { - // Resource name of a user list as an operand. - 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 *LogicalUserListOperandInfo) Reset() { *m = LogicalUserListOperandInfo{} } -func (m *LogicalUserListOperandInfo) String() string { return proto.CompactTextString(m) } -func (*LogicalUserListOperandInfo) ProtoMessage() {} -func (*LogicalUserListOperandInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_09d2cd2397775a05, []int{14} -} - -func (m *LogicalUserListOperandInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LogicalUserListOperandInfo.Unmarshal(m, b) -} -func (m *LogicalUserListOperandInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LogicalUserListOperandInfo.Marshal(b, m, deterministic) -} -func (m *LogicalUserListOperandInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_LogicalUserListOperandInfo.Merge(m, src) -} -func (m *LogicalUserListOperandInfo) XXX_Size() int { - return xxx_messageInfo_LogicalUserListOperandInfo.Size(m) -} -func (m *LogicalUserListOperandInfo) XXX_DiscardUnknown() { - xxx_messageInfo_LogicalUserListOperandInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_LogicalUserListOperandInfo proto.InternalMessageInfo - -func (m *LogicalUserListOperandInfo) GetUserList() *wrappers.StringValue { - if m != nil { - return m.UserList - } - return nil -} - -// User list targeting as a collection of conversions or remarketing actions. -type BasicUserListInfo struct { - // Actions associated with this user list. - Actions []*UserListActionInfo `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BasicUserListInfo) Reset() { *m = BasicUserListInfo{} } -func (m *BasicUserListInfo) String() string { return proto.CompactTextString(m) } -func (*BasicUserListInfo) ProtoMessage() {} -func (*BasicUserListInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_09d2cd2397775a05, []int{15} -} - -func (m *BasicUserListInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BasicUserListInfo.Unmarshal(m, b) -} -func (m *BasicUserListInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BasicUserListInfo.Marshal(b, m, deterministic) -} -func (m *BasicUserListInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_BasicUserListInfo.Merge(m, src) -} -func (m *BasicUserListInfo) XXX_Size() int { - return xxx_messageInfo_BasicUserListInfo.Size(m) -} -func (m *BasicUserListInfo) XXX_DiscardUnknown() { - xxx_messageInfo_BasicUserListInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_BasicUserListInfo proto.InternalMessageInfo - -func (m *BasicUserListInfo) GetActions() []*UserListActionInfo { - if m != nil { - return m.Actions - } - return nil -} - -// Represents an action type used for building remarketing user lists. -type UserListActionInfo struct { - // Subtypes of user list action. - // - // Types that are valid to be assigned to UserListAction: - // *UserListActionInfo_ConversionAction - // *UserListActionInfo_RemarketingAction - UserListAction isUserListActionInfo_UserListAction `protobuf_oneof:"user_list_action"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserListActionInfo) Reset() { *m = UserListActionInfo{} } -func (m *UserListActionInfo) String() string { return proto.CompactTextString(m) } -func (*UserListActionInfo) ProtoMessage() {} -func (*UserListActionInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_09d2cd2397775a05, []int{16} -} - -func (m *UserListActionInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserListActionInfo.Unmarshal(m, b) -} -func (m *UserListActionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserListActionInfo.Marshal(b, m, deterministic) -} -func (m *UserListActionInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListActionInfo.Merge(m, src) -} -func (m *UserListActionInfo) XXX_Size() int { - return xxx_messageInfo_UserListActionInfo.Size(m) -} -func (m *UserListActionInfo) XXX_DiscardUnknown() { - xxx_messageInfo_UserListActionInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_UserListActionInfo proto.InternalMessageInfo - -type isUserListActionInfo_UserListAction interface { - isUserListActionInfo_UserListAction() -} - -type UserListActionInfo_ConversionAction struct { - ConversionAction *wrappers.StringValue `protobuf:"bytes,1,opt,name=conversion_action,json=conversionAction,proto3,oneof"` -} - -type UserListActionInfo_RemarketingAction struct { - RemarketingAction *wrappers.StringValue `protobuf:"bytes,2,opt,name=remarketing_action,json=remarketingAction,proto3,oneof"` -} - -func (*UserListActionInfo_ConversionAction) isUserListActionInfo_UserListAction() {} - -func (*UserListActionInfo_RemarketingAction) isUserListActionInfo_UserListAction() {} - -func (m *UserListActionInfo) GetUserListAction() isUserListActionInfo_UserListAction { - if m != nil { - return m.UserListAction - } - return nil -} - -func (m *UserListActionInfo) GetConversionAction() *wrappers.StringValue { - if x, ok := m.GetUserListAction().(*UserListActionInfo_ConversionAction); ok { - return x.ConversionAction - } - return nil -} - -func (m *UserListActionInfo) GetRemarketingAction() *wrappers.StringValue { - if x, ok := m.GetUserListAction().(*UserListActionInfo_RemarketingAction); ok { - return x.RemarketingAction - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*UserListActionInfo) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*UserListActionInfo_ConversionAction)(nil), - (*UserListActionInfo_RemarketingAction)(nil), - } -} - -func init() { - proto.RegisterType((*SimilarUserListInfo)(nil), "google.ads.googleads.v1.common.SimilarUserListInfo") - proto.RegisterType((*CrmBasedUserListInfo)(nil), "google.ads.googleads.v1.common.CrmBasedUserListInfo") - proto.RegisterType((*UserListRuleInfo)(nil), "google.ads.googleads.v1.common.UserListRuleInfo") - proto.RegisterType((*UserListRuleItemGroupInfo)(nil), "google.ads.googleads.v1.common.UserListRuleItemGroupInfo") - proto.RegisterType((*UserListRuleItemInfo)(nil), "google.ads.googleads.v1.common.UserListRuleItemInfo") - proto.RegisterType((*UserListDateRuleItemInfo)(nil), "google.ads.googleads.v1.common.UserListDateRuleItemInfo") - proto.RegisterType((*UserListNumberRuleItemInfo)(nil), "google.ads.googleads.v1.common.UserListNumberRuleItemInfo") - proto.RegisterType((*UserListStringRuleItemInfo)(nil), "google.ads.googleads.v1.common.UserListStringRuleItemInfo") - proto.RegisterType((*CombinedRuleUserListInfo)(nil), "google.ads.googleads.v1.common.CombinedRuleUserListInfo") - proto.RegisterType((*DateSpecificRuleUserListInfo)(nil), "google.ads.googleads.v1.common.DateSpecificRuleUserListInfo") - proto.RegisterType((*ExpressionRuleUserListInfo)(nil), "google.ads.googleads.v1.common.ExpressionRuleUserListInfo") - proto.RegisterType((*RuleBasedUserListInfo)(nil), "google.ads.googleads.v1.common.RuleBasedUserListInfo") - proto.RegisterType((*LogicalUserListInfo)(nil), "google.ads.googleads.v1.common.LogicalUserListInfo") - proto.RegisterType((*UserListLogicalRuleInfo)(nil), "google.ads.googleads.v1.common.UserListLogicalRuleInfo") - proto.RegisterType((*LogicalUserListOperandInfo)(nil), "google.ads.googleads.v1.common.LogicalUserListOperandInfo") - proto.RegisterType((*BasicUserListInfo)(nil), "google.ads.googleads.v1.common.BasicUserListInfo") - proto.RegisterType((*UserListActionInfo)(nil), "google.ads.googleads.v1.common.UserListActionInfo") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/common/user_lists.proto", fileDescriptor_09d2cd2397775a05) -} - -var fileDescriptor_09d2cd2397775a05 = []byte{ - // 1305 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0x41, 0x6f, 0xdb, 0xb6, - 0x17, 0x8f, 0x9c, 0xb4, 0x4d, 0x98, 0xd4, 0xff, 0x94, 0xcd, 0xbf, 0x75, 0xbd, 0xa0, 0x28, 0x74, - 0xea, 0x49, 0x6e, 0xdc, 0x62, 0x5d, 0xdd, 0x5d, 0xec, 0xb8, 0x48, 0x82, 0xb6, 0x6b, 0x21, 0x2f, - 0xd9, 0x56, 0x04, 0x50, 0x69, 0x89, 0x76, 0x85, 0x4a, 0xa4, 0x46, 0x4a, 0x69, 0x0d, 0x0c, 0xc3, - 0x76, 0xda, 0x61, 0xd8, 0x97, 0xd8, 0x71, 0xfb, 0x1a, 0x3b, 0xf5, 0x30, 0x60, 0xd7, 0x7d, 0x83, - 0xed, 0xb8, 0x4f, 0x30, 0x90, 0xa2, 0x6c, 0xc9, 0x96, 0x12, 0xa6, 0xc5, 0x4e, 0xa6, 0xc8, 0xf7, - 0x7e, 0xef, 0xc7, 0xc7, 0x1f, 0x1f, 0x49, 0x83, 0xd6, 0x98, 0xd2, 0x71, 0x80, 0x5b, 0xc8, 0xe3, - 0xaa, 0x29, 0x5a, 0x27, 0x3b, 0x2d, 0x97, 0x86, 0x21, 0x25, 0xad, 0x84, 0x63, 0xe6, 0x04, 0x3e, - 0x8f, 0xb9, 0x15, 0x31, 0x1a, 0x53, 0x78, 0x33, 0xb5, 0xb2, 0x90, 0xc7, 0xad, 0xa9, 0x83, 0x75, - 0xb2, 0x63, 0xa5, 0x0e, 0xcd, 0x5e, 0x15, 0x20, 0x26, 0x49, 0xc8, 0x5b, 0x6e, 0xc2, 0x63, 0x1a, - 0x62, 0xe6, 0x84, 0x28, 0x76, 0x5f, 0x39, 0x49, 0x14, 0x50, 0xe4, 0x39, 0xaf, 0xf1, 0xc4, 0x89, - 0x27, 0x11, 0x4e, 0x63, 0x34, 0xfb, 0xa7, 0x63, 0x4c, 0x39, 0x39, 0x2e, 0x0d, 0x87, 0x3e, 0xc1, - 0x9e, 0xc3, 0x92, 0x00, 0x3b, 0x34, 0xc2, 0x0c, 0xc5, 0x94, 0x29, 0x94, 0x9e, 0x36, 0x0a, 0x0b, - 0x1d, 0x0f, 0xc5, 0xc8, 0xe1, 0x34, 0x61, 0x2e, 0xce, 0x33, 0x79, 0xa4, 0x8b, 0xe1, 0xa1, 0x18, - 0xa7, 0x2c, 0xfc, 0x18, 0x87, 0xf3, 0x54, 0x76, 0x75, 0x61, 0x02, 0x3a, 0xf6, 0x5d, 0x14, 0x94, - 0xce, 0x67, 0x4f, 0x17, 0x84, 0x24, 0xe1, 0x10, 0xb3, 0x6a, 0x36, 0xda, 0x89, 0x89, 0x18, 0x8e, - 0x68, 0x94,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xed, 0x4a, 0xce, 0x33, 0x85, 0xeb, 0x41, 0xb0, 0x39, 0x7b, 0x28, 0xa7, 0x60, 0xbd, 0xbf, - 0x0c, 0x60, 0xba, 0x34, 0x3c, 0x23, 0x13, 0xbd, 0x7a, 0x36, 0x55, 0xfe, 0x5c, 0x84, 0x7b, 0x6e, - 0xbc, 0x50, 0xff, 0xb6, 0x58, 0x63, 0x1a, 0x20, 0x32, 0xb6, 0x28, 0x1b, 0xb7, 0xc6, 0x98, 0x48, - 0x32, 0xd9, 0x0b, 0x3d, 0xf2, 0x79, 0xd5, 0x3f, 0x44, 0x0f, 0xd3, 0x9f, 0x9f, 0x6b, 0xcb, 0x7b, - 0xdd, 0xee, 0x2f, 0xb5, 0x9b, 0x7b, 0x29, 0x58, 0xd7, 0xe3, 0x56, 0xda, 0x14, 0xad, 0xa3, 0x1d, - 0x51, 0xbe, 0x42, 0x4a, 0xde, 0x65, 0x06, 0xc7, 0x5d, 0x8f, 0x1f, 0x4f, 0x0d, 0x8e, 0x8f, 0x76, - 0x8e, 0x53, 0x83, 0xbf, 0x6b, 0x66, 0xda, 0xdb, 0xe9, 0x74, 0x3d, 0xde, 0xe9, 0x4c, 0x4d, 0x3a, - 0x9d, 0xa3, 0x9d, 0x4e, 0x27, 0x35, 0x1a, 0x5e, 0x94, 0xec, 0xee, 0xfe, 0x1b, 0x00, 0x00, 0xff, - 0xff, 0x74, 0xdf, 0xdb, 0x9e, 0xbe, 0x12, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/value.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/value.pb.go deleted file mode 100644 index 9bff0de5..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/common/value.pb.go +++ /dev/null @@ -1,184 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/common/value.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_f72ac823a63d9c0f, []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 (m *Value) XXX_Merge(src proto.Message) { - xxx_messageInfo_Value.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*Value) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Value_BooleanValue)(nil), - (*Value_Int64Value)(nil), - (*Value_FloatValue)(nil), - (*Value_DoubleValue)(nil), - (*Value_StringValue)(nil), - } -} - -func init() { - proto.RegisterType((*Value)(nil), "google.ads.googleads.v1.common.Value") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/common/value.proto", fileDescriptor_f72ac823a63d9c0f) -} - -var fileDescriptor_f72ac823a63d9c0f = []byte{ - // 329 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0xd1, 0x41, 0x4b, 0xf3, 0x30, - 0x18, 0x07, 0xf0, 0xa5, 0x7b, 0xf7, 0xaa, 0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d8, 0x6d, 0xa3, - 0x65, 0x40, 0xbd, 0x98, 0x24, 0x27, 0x0e, 0x61, 0xea, 0xd1, 0xe4, 0x88, 0xf6, 0xfc, 0xdb, 0xc9, - 0x17, 0xa1, 0xe3, 0x15, 0xac, 0xd9, 0xdf, 0xeb, 0x98, 0x50, 0x7f, 0x6c, 0xee, 0x7e, 0x7e, 0x4e, - 0x9e, 0x9f, 0x82, 0x96, 0xa0, 0x84, 0x96, 0x0c, 0xb6, 0x32, 0x95, 0xb5, 0xf6, 0xab, 0x39, 0x2c, - 0x7e, 0xd3, 0x98, 0xdf, 0xee, 0xe1, 0x01, 0x1f, 0x6f, 0x51, 0x77, 0x9a, 0xe7, 0xef, 0xd1, 0x68, - 0x8a, 0x65, 0x79, 0x65, 0x18, 0x8e, 0x6e, 0x2a, 0x32, 0xf6, 0xe8, 0xd9, 0xe7, 0x01, 0x94, 0x79, - 0x65, 0xca, 0x16, 0x94, 0x45, 0x56, 0x22, 0xf8, 0x8e, 0xc6, 0x98, 0x72, 0x9e, 0x57, 0x86, 0xf3, - 0x96, 0x70, 0x5e, 0x64, 0x9c, 0x23, 0x5a, 0xfe, 0xf7, 0x5f, 0x77, 0xfb, 0x13, 0x00, 0x00, 0xff, - 0xff, 0xce, 0x35, 0xdb, 0xd7, 0x24, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/access_reason.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/access_reason.pb.go deleted file mode 100644 index bd4fb958..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/access_reason.pb.go +++ /dev/null @@ -1,137 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/access_reason.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 resource is owned by the user. - AccessReasonEnum_OWNED AccessReasonEnum_AccessReason = 2 - // The resource is shared to the user. - AccessReasonEnum_SHARED AccessReasonEnum_AccessReason = 3 - // The resource is licensed to the user. - AccessReasonEnum_LICENSED AccessReasonEnum_AccessReason = 4 - // The user subscribed to the resource. - AccessReasonEnum_SUBSCRIBED AccessReasonEnum_AccessReason = 5 - // The resource 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_e5eeb8bdb1b58fce, []int{0, 0} -} - -// Indicates the way the resource 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_e5eeb8bdb1b58fce, []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 (m *AccessReasonEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccessReasonEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.AccessReasonEnum_AccessReason", AccessReasonEnum_AccessReason_name, AccessReasonEnum_AccessReason_value) - proto.RegisterType((*AccessReasonEnum)(nil), "google.ads.googleads.v1.enums.AccessReasonEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/access_reason.proto", fileDescriptor_e5eeb8bdb1b58fce) -} - -var fileDescriptor_e5eeb8bdb1b58fce = []byte{ - // 336 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xd1, 0x4e, 0xf2, 0x30, - 0x18, 0xfd, 0x37, 0x7e, 0x50, 0x0b, 0xd1, 0xda, 0x4b, 0x23, 0x17, 0xf0, 0x00, 0x5d, 0x16, 0xef, - 0xea, 0x55, 0xc7, 0x0a, 0x2e, 0x92, 0x41, 0x98, 0x40, 0x62, 0x96, 0x98, 0xca, 0x96, 0x85, 0x04, - 0x5a, 0xe4, 0x03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0x2f, 0xe9, 0x9f, 0x59, 0x82, 0xcb, 0xe3, 0xb3, - 0x86, 0x65, 0x80, 0xa1, 0xf3, 0x18, 0xfc, 0x68, 0x0a, 0xbd, 0x90, 0xaa, 0xa0, 0x7a, 0x5d, 0x78, - 0x45, 0xae, 0x4c, 0xbc, 0x7d, 0x85, 0xab, 0x39, 0xfc, 0xd2, 0xe8, 0xad, 0x79, 0xdf, 0xdc, 0x4a, - 0x8f, 0xf3, 0x77, 0xb7, 0xd9, 0xb3, 0x56, 0x3c, 0x03, 0x6a, 0x61, 0x89, 0x26, 0x3e, 0x2d, 0x6b, - 0x81, 0x8f, 0xfd, 0x3e, 0xe5, 0x19, 0xa4, 0x87, 0x7d, 0x3a, 0xf1, 0x53, 0xb3, 0xff, 0x72, 0x5b, - 0x76, 0xc8, 0x18, 0xcf, 0x80, 0xb1, 0x03, 0x83, 0xb1, 0x89, 0xcf, 0x98, 0xe1, 0x3c, 0xd7, 0xcc, - 0x61, 0x37, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x89, 0x92, 0xba, 0x1a, 0xe9, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/account_budget_proposal_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/account_budget_proposal_status.pb.go deleted file mode 100644 index 3cdebfb9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/account_budget_proposal_status.pb.go +++ /dev/null @@ -1,143 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/account_budget_proposal_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_cb22da81b8cf02e5, []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_cb22da81b8cf02e5, []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 (m *AccountBudgetProposalStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccountBudgetProposalStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.AccountBudgetProposalStatusEnum_AccountBudgetProposalStatus", AccountBudgetProposalStatusEnum_AccountBudgetProposalStatus_name, AccountBudgetProposalStatusEnum_AccountBudgetProposalStatus_value) - proto.RegisterType((*AccountBudgetProposalStatusEnum)(nil), "google.ads.googleads.v1.enums.AccountBudgetProposalStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/account_budget_proposal_status.proto", fileDescriptor_cb22da81b8cf02e5) -} - -var fileDescriptor_cb22da81b8cf02e5 = []byte{ - // 354 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xc1, 0x4e, 0xc2, 0x40, - 0x10, 0xb5, 0x45, 0x51, 0x17, 0x89, 0xb5, 0x47, 0x95, 0x28, 0x7c, 0xc0, 0x36, 0x8d, 0xb7, 0xf5, - 0xb4, 0x6d, 0x57, 0x44, 0x49, 0x69, 0x40, 0x6a, 0x62, 0x9a, 0x34, 0x0b, 0x6d, 0x1a, 0x12, 0xd8, - 0x6d, 0xd8, 0x2d, 0x9f, 0xe0, 0x87, 0x78, 0xe4, 0x53, 0xfc, 0x14, 0xef, 0xde, 0x4d, 0xb7, 0x94, - 0x9b, 0x5c, 0x36, 0x6f, 0xe7, 0xcd, 0xcc, 0x9b, 0x79, 0x03, 0x9c, 0x8c, 0xf3, 0x6c, 0x99, 0x5a, - 0x34, 0x11, 0x56, 0x05, 0x4b, 0xb4, 0xb1, 0xad, 0x94, 0x15, 0x2b, 0x61, 0xd1, 0xf9, 0x9c, 0x17, - 0x4c, 0xc6, 0xb3, 0x22, 0xc9, 0x52, 0x19, 0xe7, 0x6b, 0x9e, 0x73, 0x41, 0x97, 0xb1, 0x90, 0x54, - 0x16, 0x02, 0xe6, 0x6b, 0x2e, 0xb9, 0xd9, 0xa9, 0x0a, 0x21, 0x4d, 0x04, 0xdc, 0xf7, 0x80, 0x1b, - 0x1b, 0xaa, 0x1e, 0xd7, 0xb7, 0xb5, 0x44, 0xbe, 0xb0, 0x28, 0x63, 0x5c, 0x52, 0xb9, 0xe0, 0x6c, - 0x57, 0xdc, 0xdb, 0x6a, 0xe0, 0x0e, 0x57, 0x2a, 0x8e, 0x12, 0x09, 0x76,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e, 0xfe, 0x02, 0x00, 0x00, 0xff, 0xff, 0xf8, 0x9f, 0xc3, 0xa1, 0x2e, 0x02, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/account_budget_proposal_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/account_budget_proposal_type.pb.go deleted file mode 100644 index 05ea36cd..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/account_budget_proposal_type.pb.go +++ /dev/null @@ -1,133 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/account_budget_proposal_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_69356f21c7854669, []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_69356f21c7854669, []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 (m *AccountBudgetProposalTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccountBudgetProposalTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.AccountBudgetProposalTypeEnum_AccountBudgetProposalType", AccountBudgetProposalTypeEnum_AccountBudgetProposalType_name, AccountBudgetProposalTypeEnum_AccountBudgetProposalType_value) - proto.RegisterType((*AccountBudgetProposalTypeEnum)(nil), "google.ads.googleads.v1.enums.AccountBudgetProposalTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/account_budget_proposal_type.proto", fileDescriptor_69356f21c7854669) -} - -var fileDescriptor_69356f21c7854669 = []byte{ - // 333 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x6a, 0xc2, 0x30, - 0x14, 0x86, 0xd7, 0xba, 0x29, 0xc4, 0x8b, 0x95, 0xde, 0x6d, 0xcc, 0x81, 0x3e, 0x40, 0x4a, 0xd9, - 0x5d, 0x76, 0xb3, 0x54, 0x33, 0x91, 0xb1, 0x5a, 0x9c, 0x76, 0x30, 0x0a, 0x12, 0x6d, 0x17, 0x04, - 0x4d, 0x82, 0x69, 0x05, 0x9f, 0x60, 0xef, 0xb1, 0xcb, 0x3d, 0xca, 0x1e, 0x65, 0xb7, 0x7b, 0x81, - 0x91, 0x44, 0xbd, 0xeb, 0x6e, 0xc2, 0x47, 0xce, 0x39, 0xff, 0x7f, 0xce, 0x0f, 0x1e, 0x98, 0x10, - 0x6c, 0x5d, 0x04, 0x34, 0x57, 0x81, 0x45, 0x4d, 0xbb, 0x30, 0x28, 0x78, 0xb5, 0x51, 0x01, 0x5d, - 0x2e, 0x45, 0xc5, 0xcb, 0xf9, 0xa2, 0xca, 0x59, 0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x63, - 0x3d, 0xc3, 0xb9, 0xca, 0x4e, 0xf5, 0x2c, 0x0d, 0x33, 0x53, 0xff, 0x71, 0xbb, 0xf6, 0x13, 0x21, - 0x9c, 0x2b, 0x84, 0x4e, 0x1d, 0x08, 0xa5, 0x21, 0x42, 0xa6, 0x67, 0xd1, 0x34, 0x8b, 0xdd, 0xfd, - 0x05, 0x00, 0x00, 0xff, 0xff, 0xaf, 0xbb, 0xd0, 0xa0, 0x07, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/account_budget_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/account_budget_status.pb.go deleted file mode 100644 index 3d018772..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/account_budget_status.pb.go +++ /dev/null @@ -1,128 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/account_budget_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_9e61cea849ce46b5, []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_9e61cea849ce46b5, []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 (m *AccountBudgetStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccountBudgetStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.AccountBudgetStatusEnum_AccountBudgetStatus", AccountBudgetStatusEnum_AccountBudgetStatus_name, AccountBudgetStatusEnum_AccountBudgetStatus_value) - proto.RegisterType((*AccountBudgetStatusEnum)(nil), "google.ads.googleads.v1.enums.AccountBudgetStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/account_budget_status.proto", fileDescriptor_9e61cea849ce46b5) -} - -var fileDescriptor_9e61cea849ce46b5 = []byte{ - // 319 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcd, 0x4a, 0xc3, 0x30, - 0x00, 0x76, 0x9d, 0xf8, 0x93, 0x29, 0x96, 0x7a, 0x50, 0xc4, 0x1d, 0xb6, 0x07, 0x48, 0x29, 0x9e, - 0x8c, 0xa7, 0x74, 0x8d, 0x63, 0x38, 0xb2, 0xe2, 0x58, 0x05, 0xa9, 0x8c, 0x6c, 0x29, 0x61, 0xb0, - 0x25, 0x63, 0x49, 0x87, 0xcf, 0xe3, 0xd1, 0x47, 0xf1, 0x51, 0x04, 0xdf, 0x41, 0x9a, 0x6c, 0x3b, - 0x4d, 0x2f, 0xe1, 0x4b, 0xbe, 0x1f, 0xbe, 0x7c, 0xe0, 0x5e, 0x28, 0x25, 0xe6, 0x45, 0xc8, 0xb8, - 0x0e, 0x1d, 0xac, 0xd0, 0x3a, 0x0a, 0x0b, 0x59, 0x2e, 0x74, 0xc8, 0xa6, 0x53, 0x55, 0x4a, 0x33, - 0x9e, 0x94, 0x5c, 0x14, 0x66, 0xac, 0x0d, 0x33, 0xa5, 0x86, 0xcb, 0x95, 0x32, 0x2a, 0x68, 0x3a, - 0x3d, 0x64,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 0x53, 0x20, 0x94, 0x45, 0x08, 0x59, 0xcd, 0xe4, 0xc8, 0x16, - 0xbb, 0xfb, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x90, 0xce, 0x17, 0xf2, 0xea, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_customizer_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_customizer_placeholder_field.pb.go deleted file mode 100644 index 1a641849..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_customizer_placeholder_field.pb.go +++ /dev/null @@ -1,134 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/ad_customizer_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_8c47ebea978e70d9, []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_8c47ebea978e70d9, []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 (m *AdCustomizerPlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdCustomizerPlaceholderFieldEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField", AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField_name, AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField_value) - proto.RegisterType((*AdCustomizerPlaceholderFieldEnum)(nil), "google.ads.googleads.v1.enums.AdCustomizerPlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/ad_customizer_placeholder_field.proto", fileDescriptor_8c47ebea978e70d9) -} - -var fileDescriptor_8c47ebea978e70d9 = []byte{ - // 337 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x4d, 0x4e, 0x83, 0x40, - 0x18, 0x15, 0xfa, 0xa3, 0x4e, 0x17, 0x12, 0x96, 0xa6, 0x4d, 0x6c, 0x0f, 0x30, 0x84, 0xb8, 0x1b, - 0x57, 0x53, 0x3a, 0x25, 0xc4, 0x04, 0x49, 0xff, 0x4c, 0x0c, 0x49, 0x33, 0x76, 0x46, 0xc4, 0xc0, - 0x0c, 0x61, 0x68, 0x17, 0x1e, 0xc2, 0x43, 0xb8, 0xf4, 0x28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ee, 0x09, 0xca, 0x64, 0x81, 0xf6, 0x30, 0xfd, 0xd5, 0x88, 0x64, 0x42, 0x45, 0x04, 0x65, 0x1e, - 0x59, 0x11, 0x17, 0x55, 0xee, 0x63, 0xdb, 0x59, 0xac, 0xfe, 0x29, 0xff, 0xa6, 0xfa, 0xbe, 0xeb, - 0x1d, 0x17, 0xe3, 0x0f, 0x7d, 0xe4, 0xd6, 0x52, 0x98, 0x29, 0x58, 0xc3, 0x12, 0x6d, 0x6c, 0x58, - 0xf6, 0xa3, 0x3e, 0x8f, 0xf3, 0x10, 0x33, 0x15, 0x36, 0xf3, 0x70, 0x63, 0x87, 0xd5, 0xfc, 0x4b, - 0x1f, 0xd7, 0x8f, 0x08, 0x61, 0xa6, 0x10, 0x6a, 0x18, 0x08, 0x6d, 0x6c, 0x84, 0x2a, 0xce, 0x63, - 0xbf, 0x3a, 0xec, 0xfa, 0x27, 0x00, 0x00, 0xff, 0xff, 0x1d, 0x5f, 0x60, 0x56, 0x14, 0x02, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_group_ad_rotation_mode.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_group_ad_rotation_mode.pb.go deleted file mode 100644 index 5a42cf51..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_group_ad_rotation_mode.pb.go +++ /dev/null @@ -1,128 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/ad_group_ad_rotation_mode.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_01a65cb679b1721f, []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_01a65cb679b1721f, []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 (m *AdGroupAdRotationModeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupAdRotationModeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.AdGroupAdRotationModeEnum_AdGroupAdRotationMode", AdGroupAdRotationModeEnum_AdGroupAdRotationMode_name, AdGroupAdRotationModeEnum_AdGroupAdRotationMode_value) - proto.RegisterType((*AdGroupAdRotationModeEnum)(nil), "google.ads.googleads.v1.enums.AdGroupAdRotationModeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/ad_group_ad_rotation_mode.proto", fileDescriptor_01a65cb679b1721f) -} - -var fileDescriptor_01a65cb679b1721f = []byte{ - // 321 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xfb, 0x30, - 0x18, 0xc5, 0xff, 0xeb, 0xe0, 0xaf, 0x64, 0xa2, 0xa5, 0xe0, 0x85, 0xc3, 0x5d, 0x6c, 0x0f, 0x90, - 0x52, 0xbc, 0x8b, 0x78, 0x91, 0x69, 0x36, 0x8a, 0xac, 0x2d, 0x75, 0xeb, 0x60, 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xec, 0x1d, 0x75, 0x56, 0xe3, 0x3d, 0x2c, 0x61, 0xc3, 0x95, 0xc4, 0x50, 0x49, - 0x57, 0xe6, 0xaa, 0xfd, 0xd5, 0xa1, 0xc5, 0x72, 0xad, 0x7f, 0x29, 0xf5, 0xbe, 0x3d, 0xdf, 0xad, - 0xee, 0x94, 0xd2, 0x0f, 0x6b, 0x30, 0x35, 0x51, 0x54, 0x68, 0x6c, 0x64, 0xa3, 0x12, 0x0f, 0x37, - 0x2d, 0xe8, 0xcf, 0x83, 0x9f, 0x52, 0xa1, 0xd3, 0xa3, 0x9f, 0x26, 0x5e, 0xda, 0xfa, 0x5f, 0xd6, - 0xd0, 0x5c, 0x12, 0x42, 0x85, 0x26, 0xe4, 0x38, 0x41, 0x48, 0xe2, 0x11, 0xd2, 0xce, 0xbc, 0xfe, - 0x6f, 0x17, 0xbb, 0xfb, 0x09, 0x00, 0x00, 0xff, 0xff, 0x22, 0xa6, 0xd8, 0x5e, 0xec, 0x01, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_group_ad_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_group_ad_status.pb.go deleted file mode 100644 index 4cfb5fc1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_group_ad_status.pb.go +++ /dev/null @@ -1,130 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/ad_group_ad_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_714c565600c46e91, []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_714c565600c46e91, []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 (m *AdGroupAdStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupAdStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.AdGroupAdStatusEnum_AdGroupAdStatus", AdGroupAdStatusEnum_AdGroupAdStatus_name, AdGroupAdStatusEnum_AdGroupAdStatus_value) - proto.RegisterType((*AdGroupAdStatusEnum)(nil), "google.ads.googleads.v1.enums.AdGroupAdStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/ad_group_ad_status.proto", fileDescriptor_714c565600c46e91) -} - -var fileDescriptor_714c565600c46e91 = []byte{ - // 311 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x4a, 0xc3, 0x30, - 0x18, 0x77, 0x9d, 0x4c, 0xc8, 0x0e, 0x2b, 0xd5, 0x93, 0xb8, 0xc3, 0xf6, 0x00, 0x09, 0x45, 0xf0, - 0x10, 0x4f, 0xa9, 0x8d, 0x63, 0xa8, 0x5d, 0x71, 0xb4, 0x82, 0x14, 0x46, 0x34, 0x23, 0x0c, 0xda, - 0xa4, 0x34, 0xed, 0x1e, 0xc8, 0xa3, 0x8f, 0xe2, 0x9b, 0xe8, 0x53, 0x48, 0xd2, 0xb5, 0x87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, 0x67, 0xb8, 0x20, 0xe4, 0xd3, 0x99, 0x2e, 0xda, 0x28, 0xc2, - 0x35, 0x6c, 0xa1, 0x41, 0xa9, 0x0f, 0xcd, 0xf6, 0xfa, 0xab, 0xe3, 0x33, 0xc2, 0x75, 0xd6, 0xf3, - 0x59, 0xea, 0x67, 0x96, 0xff, 0x71, 0x66, 0xed, 0x10, 0x63, 0xc2, 0x35, 0xc6, 0xbd, 0x02, 0xe3, - 0xd4, 0xc7, 0xd8, 0x6a, 0xde, 0x46, 0xb6, 0xd8, 0xf5, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x54, - 0x46, 0xf3, 0x86, 0xd7, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_group_criterion_approval_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_group_criterion_approval_status.pb.go deleted file mode 100644 index 62187b10..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_group_criterion_approval_status.pb.go +++ /dev/null @@ -1,134 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/ad_group_criterion_approval_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enumerates AdGroupCriterion approval statuses. -type AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus int32 - -const ( - // Not specified. - AdGroupCriterionApprovalStatusEnum_UNSPECIFIED AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus = 0 - // The value is unknown in this version. - AdGroupCriterionApprovalStatusEnum_UNKNOWN AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus = 1 - // Approved. - AdGroupCriterionApprovalStatusEnum_APPROVED AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus = 2 - // Disapproved. - AdGroupCriterionApprovalStatusEnum_DISAPPROVED AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus = 3 - // Pending Review. - AdGroupCriterionApprovalStatusEnum_PENDING_REVIEW AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus = 4 - // Under review. - AdGroupCriterionApprovalStatusEnum_UNDER_REVIEW AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus = 5 -) - -var AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "APPROVED", - 3: "DISAPPROVED", - 4: "PENDING_REVIEW", - 5: "UNDER_REVIEW", -} - -var AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "APPROVED": 2, - "DISAPPROVED": 3, - "PENDING_REVIEW": 4, - "UNDER_REVIEW": 5, -} - -func (x AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus) String() string { - return proto.EnumName(AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus_name, int32(x)) -} - -func (AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_55ae34b77e6d6b63, []int{0, 0} -} - -// Container for enum describing possible AdGroupCriterion approval statuses. -type AdGroupCriterionApprovalStatusEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdGroupCriterionApprovalStatusEnum) Reset() { *m = AdGroupCriterionApprovalStatusEnum{} } -func (m *AdGroupCriterionApprovalStatusEnum) String() string { return proto.CompactTextString(m) } -func (*AdGroupCriterionApprovalStatusEnum) ProtoMessage() {} -func (*AdGroupCriterionApprovalStatusEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_55ae34b77e6d6b63, []int{0} -} - -func (m *AdGroupCriterionApprovalStatusEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdGroupCriterionApprovalStatusEnum.Unmarshal(m, b) -} -func (m *AdGroupCriterionApprovalStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdGroupCriterionApprovalStatusEnum.Marshal(b, m, deterministic) -} -func (m *AdGroupCriterionApprovalStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupCriterionApprovalStatusEnum.Merge(m, src) -} -func (m *AdGroupCriterionApprovalStatusEnum) XXX_Size() int { - return xxx_messageInfo_AdGroupCriterionApprovalStatusEnum.Size(m) -} -func (m *AdGroupCriterionApprovalStatusEnum) XXX_DiscardUnknown() { - xxx_messageInfo_AdGroupCriterionApprovalStatusEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_AdGroupCriterionApprovalStatusEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus", AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus_name, AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus_value) - proto.RegisterType((*AdGroupCriterionApprovalStatusEnum)(nil), "google.ads.googleads.v1.enums.AdGroupCriterionApprovalStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/ad_group_criterion_approval_status.proto", fileDescriptor_55ae34b77e6d6b63) -} - -var fileDescriptor_55ae34b77e6d6b63 = []byte{ - // 349 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xcd, 0x6a, 0xab, 0x40, - 0x18, 0xbd, 0x9a, 0x7b, 0x6f, 0xcb, 0x24, 0xb4, 0xe2, 0xb2, 0x34, 0x85, 0xa4, 0xfb, 0x11, 0xe9, - 0x6e, 0xba, 0x9a, 0xc4, 0x89, 0x48, 0xc1, 0x48, 0x42, 0x0c, 0x14, 0x41, 0xa6, 0x19, 0x19, 0x84, - 0x64, 0x46, 0x1c, 0xcd, 0x0b, 0xf4, 0x4d, 0xba, 0xcc, 0xa3, 0xf4, 0x51, 0xfa, 0x04, 0x5d, 0x16, - 0xc7, 0xe8, 0xae, 0xd9, 0x0c, 0x87, 0xef, 0x9c, 0x39, 0xe7, 0xfb, 0x01, 0x0b, 0x2e, 0x25, 0xdf, - 0x67, 0x0e, 0x65, 0xca, 0x69, 0x61, 0x83, 0x8e, 0xae, 0x93, 0x89, 0xfa, 0xa0, 0x1c, 0xca, 0x52, - 0x5e, 0xca, 0xba, 0x48, 0x77, 0x65, 0x5e, 0x65, 0x65, 0x2e, 0x45, 0x4a, 0x8b, 0xa2, 0x94, 0x47, - 0xba, 0x4f, 0x55, 0x45, 0xab, 0x5a, 0xc1, 0xa2, 0x94, 0x95, 0xb4, 0xc7, 0xed, 0x67, 0x48, 0x99, - 0x82, 0xbd, 0x0f, 0x3c, 0xba, 0x50, 0xfb, 0xdc, 0xdd, 0x77, 0x31, 0x45, 0xee, 0x50, 0x21, 0x64, - 0x45, 0xab, 0x5c, 0x8a, 0xf3, 0xe7, 0xe9, 0xc9, 0x00, 0x53, 0xcc, 0xfc, 0x26, 0x68, 0xde, 0xe5, - 0xe0, 0x73, 0xcc, 0x5a, 0xa7, 0x10, 0x51, 0x1f, 0xa6, 0xef, 0x06, 0x78, 0xb8, 0x2c, 0xb3, 0x6f, - 0xc1, 0x70, 0x13, 0xae, 0x23, 0x32, 0x0f, 0x16, 0x01, 0xf1, 0xac, 0x3f, 0xf6, 0x10, 0x5c, 0x6d, - 0xc2, 0x97, 0x70, 0xb9, 0x0d, 0x2d, 0xc3, 0x1e, 0x81, 0x6b, 0x1c, 0x45, 0xab, 0x65, 0x4c, 0x3c, - 0xcb, 0x6c, 0xb4, 0x5e, 0xb0, 0xee, 0x0b, 0x03, 0xdb, 0x06, 0x37, 0x11, 0x09, 0xbd, 0x20, 0xf4, - 0xd3, 0x15, 0x89, 0x03, 0xb2, 0xb5, 0xfe, 0xda, 0x16, 0x18, 0x6d, 0x42, 0x8f, 0xac, 0xba, 0xca, - 0xbf, 0xd9, 0xb7, 0x01, 0x26, 0x3b, 0x79, 0x80, 0x17, 0x07, 0x9e, 0x3d, 0x5e, 0x6e, 0x34, 0x6a, - 0xe6, 0x8e, 0x8c, 0xd7, 0xd9, 0xd9, 0x85, 0xcb, 0x3d, 0x15, 0x1c, 0xca, 0x92, 0x3b, 0x3c, 0x13, - 0x7a, 0x2b, 0xdd, 0x39, 0x8a, 0x5c, 0xfd, 0x72, 0x9d, 0x67, 0xfd, 0x7e, 0x98, 0x03, 0x1f, 0xe3, - 0x93, 0x39, 0xf6, 0x5b, 0x2b, 0xcc, 0x14, 0x6c, 0x61, 0x83, 0x62, 0x17, 0x36, 0xbb, 0x53, 0x9f, - 0x1d, 0x9f, 0x60, 0xa6, 0x92, 0x9e, 0x4f, 0x62, 0x37, 0xd1, 0xfc, 0x97, 0x39, 0x69, 0x8b, 0x08, - 0x61, 0xa6, 0x10, 0xea, 0x15, 0x08, 0xc5, 0x2e, 0x42, 0x5a, 0xf3, 0xf6, 0x5f, 0x37, 0xf6, 0xf4, - 0x13, 0x00, 0x00, 0xff, 0xff, 0x9e, 0x57, 0xc9, 0x4e, 0x35, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_group_criterion_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_group_criterion_status.pb.go deleted file mode 100644 index dea6ced2..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_group_criterion_status.pb.go +++ /dev/null @@ -1,131 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/ad_group_criterion_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_53e0a4674d62bdc5, []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_53e0a4674d62bdc5, []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 (m *AdGroupCriterionStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupCriterionStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.AdGroupCriterionStatusEnum_AdGroupCriterionStatus", AdGroupCriterionStatusEnum_AdGroupCriterionStatus_name, AdGroupCriterionStatusEnum_AdGroupCriterionStatus_value) - proto.RegisterType((*AdGroupCriterionStatusEnum)(nil), "google.ads.googleads.v1.enums.AdGroupCriterionStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/ad_group_criterion_status.proto", fileDescriptor_53e0a4674d62bdc5) -} - -var fileDescriptor_53e0a4674d62bdc5 = []byte{ - // 322 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x41, 0x4b, 0xf3, 0x30, - 0x1c, 0xc6, 0xdf, 0x75, 0x2f, 0x13, 0xb2, 0x83, 0xa5, 0x07, 0x0f, 0xd3, 0x1d, 0xb6, 0x0f, 0x90, - 0x52, 0xbc, 0x45, 0x3c, 0xa4, 0x6b, 0x1c, 0x43, 0xed, 0x8a, 0x63, 0x15, 0xa4, 0x30, 0xe2, 0x52, - 0x42, 0x61, 0x4b, 0x4a, 0x93, 0xee, 0xe0, 0xc7, 0xf1, 0xe8, 0x47, 0xf1, 0xa3, 0x78, 0xf2, 0x23, - 0x48, 0xd2, 0xb5, 0xa7, 0xe9, 0x25, 0x3c, 0xc9, 0xf3, 0x7f, 0x7e, 0x3c, 0xf9, 0x83, 0x5b, 0x2e, - 0x25, 0xdf, 0xe5, 0x3e, 0x65, 0xca, 0x6f, 0xa4, 0x51, 0x87, 0xc0, 0xcf, 0x45, 0xbd, 0x57, 0x3e, - 0x65, 0x1b, 0x5e, 0xc9, 0xba, 0xdc, 0x6c, 0xab, 0x42, 0xe7, 0x55, 0x21, 0xc5, 0x46, 0x69, 0xaa, - 0x6b, 0x05, 0xcb, 0x4a, 0x6a, 0xe9, 0x8d, 0x9b, 0x0c, 0xa4, 0x4c, 0xc1, 0x2e, 0x0e, 0x0f, 0x01, - 0xb4, 0xf1, 0xd1, 0x55, 0x4b, 0x2f, 0x0b, 0x9f, 0x0a, 0x21, 0x35, 0xd5, 0x85, 0x14, 0xc7, 0xf0, - 0xf4, 0x0d, 0x8c, 0x30, 0x9b, 0x1b, 0xfc, 0xac, 0xa5, 0xaf, 0x2c, 0x9c, 0x88, 0x7a, 0x3f, 0xcd, - 0xc0, 0xc5, 0x69, 0xd7, 0x3b, 0x07, 0xc3, 0x75, 0xbc, 0x4a, 0xc8, 0x6c, 0x71, 0xb7, 0x20, 0x91, - 0xfb, 0xcf, 0x1b, 0x82, 0xb3, 0x75, 0x7c, 0x1f, 0x2f, 0x9f, 0x63, 0xb7, 0x67, 0x2e, 0x24, 0xc6, - 0xe1, 0x03, 0x89, 0x5c, 0xc7, 0x03, 0x60, 0x90, 0xe0, 0xf5, 0x8a, 0x44, 0x6e, 0xdf, 0x18, 0x4f, - 0xe4, 0x71, 0x99, 0x92, 0xc8, 0xfd, 0x1f, 0x7e, 0xf7, 0xc0, 0x64, 0x2b, 0xf7, 0xf0, 0xcf, 0xfe, - 0xe1, 0xe5, 0xe9, 0x06, 0x89, 0xa9, 0x9f, 0xf4, 0x5e, 0xc2, 0x63, 0x9a, 0xcb, 0x1d, 0x15, 0x1c, - 0xca, 0x8a, 0xfb, 0x3c, 0x17, 0xf6, 0x73, 0xed, 0x32, 0xcb, 0x42, 0xfd, 0xb2, 0xdb, 0x1b, 0x7b, - 0xbe, 0x3b, 0xfd, 0x39, 0xc6, 0x1f, 0xce, 0x78, 0xde, 0xa0, 0x30, 0x53, 0xb0, 0x91, 0x46, 0xa5, - 0x01, 0x34, 0xbb, 0x50, 0x9f, 0xad, 0x9f, 0x61, 0xa6, 0xb2, 0xce, 0xcf, 0xd2, 0x20, 0xb3, 0xfe, - 0x97, 0x33, 0x69, 0x1e, 0x11, 0xc2, 0x4c, 0x21, 0xd4, 0x4d, 0x20, 0x94, 0x06, 0x08, 0xd9, 0x99, - 0xd7, 0x81, 0x2d, 0x76, 0xfd, 0x13, 0x00, 0x00, 0xff, 0xff, 0xa2, 0xfe, 0x68, 0x64, 0xf3, 0x01, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_group_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_group_status.pb.go deleted file mode 100644 index 4a9e8fd4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_group_status.pb.go +++ /dev/null @@ -1,130 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/ad_group_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_e0cba17e383d2fca, []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_e0cba17e383d2fca, []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 (m *AdGroupStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.AdGroupStatusEnum_AdGroupStatus", AdGroupStatusEnum_AdGroupStatus_name, AdGroupStatusEnum_AdGroupStatus_value) - proto.RegisterType((*AdGroupStatusEnum)(nil), "google.ads.googleads.v1.enums.AdGroupStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/ad_group_status.proto", fileDescriptor_e0cba17e383d2fca) -} - -var fileDescriptor_e0cba17e383d2fca = []byte{ - // 306 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x4a, 0xc3, 0x30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 0x74, 0x4f, 0x83, 0xef, 0x01, 0x98, 0xbe, 0xa9, 0x02, 0xfe, 0xdb, - 0x36, 0xf0, 0x8e, 0x1e, 0x8e, 0x4d, 0xc7, 0x78, 0xf0, 0x12, 0x1c, 0x4c, 0x42, 0xed, 0x98, 0x14, - 0x50, 0x55, 0x02, 0x89, 0xad, 0xb4, 0x1b, 0x74, 0x77, 0x2a, 0x73, 0xfd, 0xc7, 0xd9, 0x6e, 0xec, - 0xf7, 0xc3, 0x19, 0x2e, 0x08, 0xf9, 0x74, 0x26, 0x8b, 0x36, 0x8a, 0x70, 0x0d, 0x5b, 0x68, 0x50, - 0xea, 0x43, 0xb3, 0xb9, 0xfe, 0xea, 0xf8, 0x8c, 0x70, 0x9d, 0xf5, 0x7c, 0x96, 0xfa, 0x99, 0xe5, - 0x7f, 0x9c, 0x69, 0x3b, 0xc4, 0x98, 0x70, 0x8d, 0x71, 0xaf, 0xc0, 0x38, 0xf5, 0x31, 0xb6, 0x9a, - 0xd7, 0x91, 0x2d, 0x36, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x23, 0x2a, 0x6d, 0x08, 0xce, 0x01, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_group_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_group_type.pb.go deleted file mode 100644 index 4042da6b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_group_type.pb.go +++ /dev/null @@ -1,178 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/ad_group_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // Ad group type for Dynamic Search Ads ad groups. - AdGroupTypeEnum_SEARCH_DYNAMIC_ADS AdGroupTypeEnum_AdGroupType = 13 - // The type for ad groups in Shopping Comparison Listing campaigns. - AdGroupTypeEnum_SHOPPING_COMPARISON_LISTING_ADS AdGroupTypeEnum_AdGroupType = 14 -) - -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", - 13: "SEARCH_DYNAMIC_ADS", - 14: "SHOPPING_COMPARISON_LISTING_ADS", -} - -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, - "SEARCH_DYNAMIC_ADS": 13, - "SHOPPING_COMPARISON_LISTING_ADS": 14, -} - -func (x AdGroupTypeEnum_AdGroupType) String() string { - return proto.EnumName(AdGroupTypeEnum_AdGroupType_name, int32(x)) -} - -func (AdGroupTypeEnum_AdGroupType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_07bc19b8ed4d56ed, []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_07bc19b8ed4d56ed, []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 (m *AdGroupTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.AdGroupTypeEnum_AdGroupType", AdGroupTypeEnum_AdGroupType_name, AdGroupTypeEnum_AdGroupType_value) - proto.RegisterType((*AdGroupTypeEnum)(nil), "google.ads.googleads.v1.enums.AdGroupTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/ad_group_type.proto", fileDescriptor_07bc19b8ed4d56ed) -} - -var fileDescriptor_07bc19b8ed4d56ed = []byte{ - // 467 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0x41, 0x6f, 0xd3, 0x30, - 0x18, 0xa5, 0x19, 0xda, 0x98, 0xbb, 0x51, 0xcb, 0x4c, 0x08, 0x26, 0x0a, 0xea, 0xb8, 0x27, 0x8a, - 0xb8, 0x85, 0x93, 0x93, 0x98, 0xd6, 0x5a, 0xe3, 0x58, 0x71, 0x92, 0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c7, 0x76, 0x4a, 0x6d, 0xb3, 0x3d, - 0x81, 0xe6, 0xdb, 0x9e, 0x5f, 0xe0, 0xbc, 0x59, 0xf4, 0xfc, 0x22, 0xb5, 0x17, 0x1d, 0xff, 0xd3, - 0x98, 0x68, 0xd0, 0x71, 0x70, 0xde, 0x38, 0x4e, 0xaf, 0x70, 0x9c, 0xd4, 0x76, 0x9c, 0x4e, 0xf3, - 0xe9, 0xb8, 0x0b, 0xf6, 0xee, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6e, 0x9f, 0xf2, 0xee, 0xd4, - 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_network_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_network_type.pb.go deleted file mode 100644 index 131ffbbe..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_network_type.pb.go +++ /dev/null @@ -1,143 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/ad_network_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_2816d596704f6b7a, []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_2816d596704f6b7a, []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 (m *AdNetworkTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdNetworkTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.AdNetworkTypeEnum_AdNetworkType", AdNetworkTypeEnum_AdNetworkType_name, AdNetworkTypeEnum_AdNetworkType_value) - proto.RegisterType((*AdNetworkTypeEnum)(nil), "google.ads.googleads.v1.enums.AdNetworkTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/ad_network_type.proto", fileDescriptor_2816d596704f6b7a) -} - -var fileDescriptor_2816d596704f6b7a = []byte{ - // 356 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x6a, 0xe2, 0x40, - 0x1c, 0xde, 0xc4, 0x55, 0xd9, 0x11, 0xd7, 0x38, 0x7b, 0x5b, 0xd6, 0x83, 0x3e, 0xc0, 0x84, 0xe0, - 0x6d, 0xf6, 0x34, 0x89, 0xb3, 0x2a, 0xcb, 0x8e, 0x41, 0x13, 0xdd, 0x96, 0x40, 0x48, 0x9b, 0x10, - 0xa4, 0x3a, 0x13, 0x9c, 0x68, 0xf1, 0x21, 0xfa, 0x12, 0xed, 0xad, 0x8f, 0xd2, 0x17, 0x29, 0xf4, - 0x29, 0x4a, 0x32, 0x46, 0xf0, 0xd0, 0x5e, 0x86,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0xb4, 0xa9, - 0x0d, 0x2f, 0xbe, 0xec, 0x16, 0xfd, 0x5c, 0xed, 0xda, 0x3e, 0x99, 0x52, 0xb1, 0x89, 0x78, 0x8a, - 0xc4, 0x2e, 0x35, 0xd3, 0x84, 0x97, 0xed, 0xab, 0x8d, 0xb3, 0xb5, 0xfc, 0x60, 0xf2, 0xdf, 0xe5, - 0xfb, 0xa8, 0xd7, 0xc6, 0x84, 0x3c, 0xeb, 0xbd, 0xb1, 0x8a, 0x22, 0xb1, 0x44, 0x0a, 0x16, 0x68, - 0x69, 0xa1, 0x62, 0x34, 0xf9, 0x52, 0xf1, 0x01, 0x89, 0x65, 0x70, 0xe6, 0x83, 0xa5, 0x15, 0x94, - 0xfc, 0x9b, 0xde, 0x57, 0x47, 0x8c, 0x49, 0x2c, 0x31, 0x3e, 0x2b, 0x30, 0x5e, 0x5a, 0x18, 0x97, - 0x9a, 0x9b, 0x46, 0xf9, 0xb1, 0xe1, 0x7b, 0x00, 0x00, 0x00, 0xff, 0xff, 0x16, 0xfc, 0x47, 0xc5, - 0x0a, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_serving_optimization_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_serving_optimization_status.pb.go deleted file mode 100644 index faa877e9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_serving_optimization_status.pb.go +++ /dev/null @@ -1,144 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/ad_serving_optimization_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_6d03632b095a3049, []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_6d03632b095a3049, []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 (m *AdServingOptimizationStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdServingOptimizationStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.AdServingOptimizationStatusEnum_AdServingOptimizationStatus", AdServingOptimizationStatusEnum_AdServingOptimizationStatus_name, AdServingOptimizationStatusEnum_AdServingOptimizationStatus_value) - proto.RegisterType((*AdServingOptimizationStatusEnum)(nil), "google.ads.googleads.v1.enums.AdServingOptimizationStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/ad_serving_optimization_status.proto", fileDescriptor_6d03632b095a3049) -} - -var fileDescriptor_6d03632b095a3049 = []byte{ - // 367 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xc1, 0x8a, 0xdb, 0x30, - 0x14, 0xac, 0x9d, 0x36, 0x2d, 0x4a, 0xa1, 0xc6, 0x3d, 0x14, 0xda, 0x86, 0x36, 0xf9, 0x00, 0x19, - 0xd3, 0x9b, 0x7a, 0x92, 0x13, 0x25, 0x88, 0xa6, 0xb2, 0x89, 0x1d, 0x97, 0x06, 0x83, 0x71, 0x6b, - 0x63, 0x0c, 0xb1, 0x64, 0x22, 0x27, 0x87, 0xfd, 0x92, 0x3d, 0xef, 0x71, 0xbf, 0x61, 0xbf, 0x60, - 0x3f, 0x65, 0xef, 0x7b, 0x5f, 0x2c, 0x25, 0x66, 0x2f, 0x9b, 0x8b, 0x18, 0x34, 0xf3, 0x66, 0x1e, - 0xf3, 0x80, 0x57, 0x0a, 0x51, 0xee, 0x0a, 0x27, 0xcb, 0xa5, 0xa3, 0x61, 0x87, 0x8e, 0xae, 0x53, - 0xf0, 0x43, 0x2d, 0x9d, 0x2c, 0x4f, 0x65, 0xb1, 0x3f, 0x56, 0xbc, 0x4c, 0x45, 0xd3, 0x56, 0x75, - 0x75, 0x95, 0xb5, 0x95, 0xe0, 0xa9, 0x6c, 0xb3, 0xf6, 0x20, 0x61, 0xb3, 0x17, 0xad, 0xb0, 0xc7, - 0x7a, 0x10, 0x66, 0xb9, 0x84, 0xbd, 0x07, 0x3c, 0xba, 0x50, 0x79, 0x7c, 0xfe, 0x7a, 0x8e, 0x68, - 0x2a, 0x27, 0xe3, 0x5c, 0xb4, 0xca, 0xe2, 0x34, 0x3c, 0xbd, 0x33, 0xc0, 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 0x70, 0x2e, 0x11, 0xea, 0x15, 0x08, 0xc5, 0x2e, 0x42, 0x4a, 0xf3, 0x6f, 0xa8, 0x16, - 0xfb, 0xf1, 0x14, 0x00, 0x00, 0xff, 0xff, 0xce, 0xde, 0x81, 0xb1, 0x40, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_strength.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_strength.pb.go deleted file mode 100644 index f439f666..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_strength.pb.go +++ /dev/null @@ -1,141 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/ad_strength.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum listing the possible ad strengths. -type AdStrengthEnum_AdStrength int32 - -const ( - // Not specified. - AdStrengthEnum_UNSPECIFIED AdStrengthEnum_AdStrength = 0 - // Used for return value only. Represents value unknown in this version. - AdStrengthEnum_UNKNOWN AdStrengthEnum_AdStrength = 1 - // The ad strength is currently pending. - AdStrengthEnum_PENDING AdStrengthEnum_AdStrength = 2 - // No ads could be generated. - AdStrengthEnum_NO_ADS AdStrengthEnum_AdStrength = 3 - // Poor strength. - AdStrengthEnum_POOR AdStrengthEnum_AdStrength = 4 - // Average strength. - AdStrengthEnum_AVERAGE AdStrengthEnum_AdStrength = 5 - // Good strength. - AdStrengthEnum_GOOD AdStrengthEnum_AdStrength = 6 - // Excellent strength. - AdStrengthEnum_EXCELLENT AdStrengthEnum_AdStrength = 7 -) - -var AdStrengthEnum_AdStrength_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "PENDING", - 3: "NO_ADS", - 4: "POOR", - 5: "AVERAGE", - 6: "GOOD", - 7: "EXCELLENT", -} - -var AdStrengthEnum_AdStrength_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "PENDING": 2, - "NO_ADS": 3, - "POOR": 4, - "AVERAGE": 5, - "GOOD": 6, - "EXCELLENT": 7, -} - -func (x AdStrengthEnum_AdStrength) String() string { - return proto.EnumName(AdStrengthEnum_AdStrength_name, int32(x)) -} - -func (AdStrengthEnum_AdStrength) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_f6be2a2119b3f8e8, []int{0, 0} -} - -// Container for enum describing possible ad strengths. -type AdStrengthEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdStrengthEnum) Reset() { *m = AdStrengthEnum{} } -func (m *AdStrengthEnum) String() string { return proto.CompactTextString(m) } -func (*AdStrengthEnum) ProtoMessage() {} -func (*AdStrengthEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_f6be2a2119b3f8e8, []int{0} -} - -func (m *AdStrengthEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdStrengthEnum.Unmarshal(m, b) -} -func (m *AdStrengthEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdStrengthEnum.Marshal(b, m, deterministic) -} -func (m *AdStrengthEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdStrengthEnum.Merge(m, src) -} -func (m *AdStrengthEnum) XXX_Size() int { - return xxx_messageInfo_AdStrengthEnum.Size(m) -} -func (m *AdStrengthEnum) XXX_DiscardUnknown() { - xxx_messageInfo_AdStrengthEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_AdStrengthEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.AdStrengthEnum_AdStrength", AdStrengthEnum_AdStrength_name, AdStrengthEnum_AdStrength_value) - proto.RegisterType((*AdStrengthEnum)(nil), "google.ads.googleads.v1.enums.AdStrengthEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/ad_strength.proto", fileDescriptor_f6be2a2119b3f8e8) -} - -var fileDescriptor_f6be2a2119b3f8e8 = []byte{ - // 331 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdd, 0x4e, 0xc2, 0x30, - 0x18, 0x75, 0x03, 0x41, 0x4b, 0x94, 0x66, 0x97, 0x46, 0x2e, 0xe0, 0x01, 0xba, 0x2c, 0xde, 0xd5, - 0xab, 0xc2, 0xea, 0x42, 0x24, 0xdd, 0x02, 0x32, 0x8d, 0x59, 0x42, 0xa6, 0x5d, 0x2a, 0x09, 0xb4, - 0x84, 0x0e, 0xde, 0xc0, 0x17, 0xf1, 0xd2, 0x47, 0xf1, 0x39, 0xbc, 0xf2, 0x29, 0x4c, 0x3b, 0x7e, - 0xae, 0xf4, 0xa6, 0x39, 0xfd, 0xbe, 0x73, 0x4e, 0xce, 0x77, 0x80, 0x2f, 0x94, 0x12, 0x8b, 0xc2, - 0xcf, 0xb9, 0xde, 0x41, 0x83, 0xb6, 0x81, 0x5f, 0xc8, 0xcd, 0x52, 0xfb, 0x39, 0x9f, 0xe9, 0x72, - 0x5d, 0x48, 0x51, 0xbe, 0xa1, 0xd5, 0x5a, 0x95, 0xca, 0xeb, 0x54, 0x2c, 0x94, 0x73, 0x8d, 0x0e, - 0x02, 0xb4, 0x0d, 0x90, 0x15, 0x5c, 0x5d, 0xef, 0xfd, 0x56, 0x73, 0x3f, 0x97, 0x52, 0x95, 0x79, - 0x39, 0x57, 0x52, 0x57, 0xe2, 0xde, 0xbb, 0x03, 0x2e, 0x09, 0x9f, 0x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0xc2, 0xde, 0xb6, 0xae, 0xe5, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_type.pb.go deleted file mode 100644 index 41c8ddc0..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/ad_type.pb.go +++ /dev/null @@ -1,208 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/ad_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 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 - // The ad is a responsive search ad. - AdTypeEnum_RESPONSIVE_SEARCH_AD AdTypeEnum_AdType = 15 - // The ad is a legacy responsive display ad. - AdTypeEnum_LEGACY_RESPONSIVE_DISPLAY_AD AdTypeEnum_AdType = 16 - // The ad is an app ad. - AdTypeEnum_APP_AD AdTypeEnum_AdType = 17 - // The ad is a legacy app install ad. - AdTypeEnum_LEGACY_APP_INSTALL_AD AdTypeEnum_AdType = 18 - // The ad is a responsive display ad. - AdTypeEnum_RESPONSIVE_DISPLAY_AD AdTypeEnum_AdType = 19 - // The ad is a display upload ad with the HTML5_UPLOAD_AD product type. - AdTypeEnum_HTML5_UPLOAD_AD AdTypeEnum_AdType = 21 - // The ad is a display upload ad with one of the DYNAMIC_HTML5_* product - // types. - AdTypeEnum_DYNAMIC_HTML5_AD AdTypeEnum_AdType = 22 - // The ad is an app engagement ad. - AdTypeEnum_APP_ENGAGEMENT_AD AdTypeEnum_AdType = 23 - // The ad is a Shopping Comparison Listing ad. - AdTypeEnum_SHOPPING_COMPARISON_LISTING_AD AdTypeEnum_AdType = 24 -) - -var AdTypeEnum_AdType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "TEXT_AD", - 3: "EXPANDED_TEXT_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", - 15: "RESPONSIVE_SEARCH_AD", - 16: "LEGACY_RESPONSIVE_DISPLAY_AD", - 17: "APP_AD", - 18: "LEGACY_APP_INSTALL_AD", - 19: "RESPONSIVE_DISPLAY_AD", - 21: "HTML5_UPLOAD_AD", - 22: "DYNAMIC_HTML5_AD", - 23: "APP_ENGAGEMENT_AD", - 24: "SHOPPING_COMPARISON_LISTING_AD", -} - -var AdTypeEnum_AdType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "TEXT_AD": 2, - "EXPANDED_TEXT_AD": 3, - "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, - "RESPONSIVE_SEARCH_AD": 15, - "LEGACY_RESPONSIVE_DISPLAY_AD": 16, - "APP_AD": 17, - "LEGACY_APP_INSTALL_AD": 18, - "RESPONSIVE_DISPLAY_AD": 19, - "HTML5_UPLOAD_AD": 21, - "DYNAMIC_HTML5_AD": 22, - "APP_ENGAGEMENT_AD": 23, - "SHOPPING_COMPARISON_LISTING_AD": 24, -} - -func (x AdTypeEnum_AdType) String() string { - return proto.EnumName(AdTypeEnum_AdType_name, int32(x)) -} - -func (AdTypeEnum_AdType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_c765db6f43f63180, []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_c765db6f43f63180, []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 (m *AdTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.AdTypeEnum_AdType", AdTypeEnum_AdType_name, AdTypeEnum_AdType_value) - proto.RegisterType((*AdTypeEnum)(nil), "google.ads.googleads.v1.enums.AdTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/ad_type.proto", fileDescriptor_c765db6f43f63180) -} - -var fileDescriptor_c765db6f43f63180 = []byte{ - // 516 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0x4d, 0x6e, 0xd3, 0x40, - 0x14, 0xa6, 0x89, 0x94, 0x96, 0x49, 0x20, 0xee, 0xa4, 0xa1, 0xa5, 0x6a, 0x2b, 0x9a, 0x2d, 0x92, - 0xad, 0x08, 0xb1, 0x31, 0xab, 0x17, 0xcf, 0xe0, 0x8c, 0xb0, 0xc7, 0xa3, 0xd8, 0x09, 0x0d, 0x8a, - 0x64, 0x19, 0x1c, 0x59, 0x91, 0x1a, 0x3b, 0xaa, 0xd3, 0x4a, 0xbd, 0x0e, 0x4b, 0x2e, 0x82, 0xc4, - 0x01, 0x58, 0xb3, 0xe6, 0x14, 0xe8, 0x8d, 0x1b, 0xab, 0x0b, 0x60, 0x63, 0xbd, 0xef, 0x67, 0x3e, - 0xcd, 0x3c, 0x7f, 0xe4, 0x75, 0x56, 0x14, 0xd9, 0xf5, 0xd2, 0x4a, 0xd2, 0xd2, 0xaa, 0x46, 0x9c, - 0xee, 0x86, 0xd6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a1, - 0x89, 0x3d, 0x2b, 0x7f, 0xec, 0xf4, 0x05, 0xa4, 0xe5, 0xa2, 0xd6, 0x17, 0xb3, 0xe1, 0x42, 0xeb, - 0xbf, 0x1b, 0x97, 0x15, 0x69, 0xdb, 0x90, 0x96, 0xb6, 0x5d, 0x3b, 0x6c, 0x7b, 0x36, 0xb4, 0x6d, - 0xed, 0xf9, 0xdc, 0xd2, 0x17, 0x7b, 0xf3, 0x27, 0x00, 0x00, 0xff, 0xff, 0x8d, 0x91, 0xb6, 0xa1, - 0x2e, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/advertising_channel_sub_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/advertising_channel_sub_type.pb.go deleted file mode 100644 index 9aea02c5..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/advertising_channel_sub_type.pb.go +++ /dev/null @@ -1,183 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/advertising_channel_sub_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // Video TrueView for Action campaigns. - AdvertisingChannelSubTypeEnum_VIDEO_ACTION AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType = 10 - // Video campaigns with non-skippable video ads. - AdvertisingChannelSubTypeEnum_VIDEO_NON_SKIPPABLE AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType = 11 - // App Campaign that allows you to easily promote your Android or iOS app - // across Google's top properties including Search, Play, YouTube, and the - // Google Display Network. - AdvertisingChannelSubTypeEnum_APP_CAMPAIGN AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType = 12 - // App Campaign for engagement, focused on driving re-engagement with the - // app across several of Google’s top properties including Search, YouTube, - // and the Google Display Network. - AdvertisingChannelSubTypeEnum_APP_CAMPAIGN_FOR_ENGAGEMENT AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType = 13 - // Shopping Comparison Listing campaigns. - AdvertisingChannelSubTypeEnum_SHOPPING_COMPARISON_LISTING_ADS AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType = 15 -) - -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", - 10: "VIDEO_ACTION", - 11: "VIDEO_NON_SKIPPABLE", - 12: "APP_CAMPAIGN", - 13: "APP_CAMPAIGN_FOR_ENGAGEMENT", - 15: "SHOPPING_COMPARISON_LISTING_ADS", -} - -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, - "VIDEO_ACTION": 10, - "VIDEO_NON_SKIPPABLE": 11, - "APP_CAMPAIGN": 12, - "APP_CAMPAIGN_FOR_ENGAGEMENT": 13, - "SHOPPING_COMPARISON_LISTING_ADS": 15, -} - -func (x AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType) String() string { - return proto.EnumName(AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType_name, int32(x)) -} - -func (AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4530783206e05cfb, []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_4530783206e05cfb, []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 (m *AdvertisingChannelSubTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdvertisingChannelSubTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType", AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType_name, AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType_value) - proto.RegisterType((*AdvertisingChannelSubTypeEnum)(nil), "google.ads.googleads.v1.enums.AdvertisingChannelSubTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/advertising_channel_sub_type.proto", fileDescriptor_4530783206e05cfb) -} - -var fileDescriptor_4530783206e05cfb = []byte{ - // 494 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xcf, 0x6e, 0xd3, 0x40, - 0x10, 0xc6, 0x49, 0x02, 0x2d, 0x6c, 0x0a, 0x59, 0xb6, 0x50, 0x44, 0x21, 0x54, 0x2d, 0x77, 0x5b, - 0x11, 0x37, 0x73, 0x61, 0xe2, 0x6c, 0xdd, 0x55, 0xe3, 0xf5, 0xca, 0xeb, 0x84, 0x3f, 0x8a, 0xb4, - 0x72, 0x6a, 0xcb, 0x44, 0x4a, 0xec, 0x28, 0xeb, 0x44, 0xea, 0x83, 0xf0, 0x02, 0x1c, 0x79, 0x14, - 0x1e, 0x85, 0x6b, 0x5f, 0x00, 0xd9, 0xae, 0xd3, 0x5e, 0xd2, 0x8b, 0x35, 0xfa, 0xe6, 0xb7, 0xdf, - 0x8c, 0xf5, 0x0d, 0xfa, 0x92, 0x64, 0x59, 0x32, 0x8f, 0xcd, 0x30, 0xd2, 0x66, 0x55, 0x16, 0xd5, - 0xa6, 0x67, 0xc6, 0xe9, 0x7a, 0xa1, 0xcd, 0x30, 0xda, 0xc4, 0xab, 0x7c, 0xa6, 0x67, 0x69, 0xa2, - 0xae, 0x7e, 0x86, 0x69, 0x1a, 0xcf, 0x95, 0x5e, 0x4f, 0x55, 0x7e, 0xbd, 0x8c, 0x8d, 0xe5, 0x2a, - 0xcb, 0x33, 0xd2, 0xad, 0x9e, 0x19, 0x61, 0xa4, 0x8d, 0xad, 0x83, 0xb1, 0xe9, 0x19, 0xa5, 0xc3, - 0xf1, 0xfb, 0x7a, 0xc0, 0x72, 0x66, 0x86, 0x69, 0x9a, 0xe5, 0x61, 0x3e, 0xcb, 0x52, 0x5d, 0x3d, - 0x3e, 0xfb, 0xd5, 0x42, 0x5d, 0xb8, 0x9b, 0x61, 0x57, 0x23, 0xe4, 0x7a, 0x1a, 0x5c, 0x2f, 0x63, - 0x9a, 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 0xd9, 0x2e, 0x6f, 0x7b, 0xae, 0x00, 0x9f, - 0x49, 0x8f, 0xab, 0x21, 0x93, 0x41, 0x21, 0x15, 0x7f, 0xd2, 0xe9, 0xdf, 0x34, 0xd0, 0xe9, 0x55, - 0xb6, 0x30, 0x1e, 0xcc, 0xb6, 0xff, 0x61, 0x67, 0x30, 0xa2, 0x48, 0x57, 0x34, 0x7e, 0xf4, 0x6f, - 0x0d, 0x92, 0x6c, 0x1e, 0xa6, 0x89, 0x91, 0xad, 0x12, 0x33, 0x89, 0xd3, 0x32, 0xfb, 0xfa, 0xdc, - 0x96, 0x33, 0xbd, 0xe3, 0xfa, 0x3e, 0x97, 0xdf, 0xdf, 0xcd, 0x96, 0x03, 0xf0, 0xa7, 0xd9, 0x75, - 0x2a, 0x2b, 0x88, 0xb4, 0x51, 0x95, 0x45, 0x35, 0xee, 0x19, 0xc5, 0x99, 0xe8, 0xbf, 0x75, 0x7f, - 0x02, 0x91, 0x9e, 0x6c, 0xfb, 0x93, 0x71, 0x6f, 0x52, 0xf6, 0xff, 0x35, 0x4f, 0x2b, 0xd1, 0xb2, - 0x20, 0xd2, 0x96, 0xb5, 0x25, 0x2c, 0x6b, 0xdc, 0xb3, 0xac, 0x92, 0x99, 0xee, 0x95, 0x8b, 0x7d, - 0xfa, 0x1f, 0x00, 0x00, 0xff, 0xff, 0x85, 0x86, 0x4a, 0x64, 0x15, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/advertising_channel_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/advertising_channel_type.pb.go deleted file mode 100644 index de035f1f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/advertising_channel_type.pb.go +++ /dev/null @@ -1,145 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/advertising_channel_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // App Campaigns, and App Campaigns for Engagement, that run - // across multiple channels. - AdvertisingChannelTypeEnum_MULTI_CHANNEL AdvertisingChannelTypeEnum_AdvertisingChannelType = 7 -) - -var AdvertisingChannelTypeEnum_AdvertisingChannelType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "SEARCH", - 3: "DISPLAY", - 4: "SHOPPING", - 5: "HOTEL", - 6: "VIDEO", - 7: "MULTI_CHANNEL", -} - -var AdvertisingChannelTypeEnum_AdvertisingChannelType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "SEARCH": 2, - "DISPLAY": 3, - "SHOPPING": 4, - "HOTEL": 5, - "VIDEO": 6, - "MULTI_CHANNEL": 7, -} - -func (x AdvertisingChannelTypeEnum_AdvertisingChannelType) String() string { - return proto.EnumName(AdvertisingChannelTypeEnum_AdvertisingChannelType_name, int32(x)) -} - -func (AdvertisingChannelTypeEnum_AdvertisingChannelType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_d496394fd88a2a26, []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_d496394fd88a2a26, []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 (m *AdvertisingChannelTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdvertisingChannelTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.AdvertisingChannelTypeEnum_AdvertisingChannelType", AdvertisingChannelTypeEnum_AdvertisingChannelType_name, AdvertisingChannelTypeEnum_AdvertisingChannelType_value) - proto.RegisterType((*AdvertisingChannelTypeEnum)(nil), "google.ads.googleads.v1.enums.AdvertisingChannelTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/advertising_channel_type.proto", fileDescriptor_d496394fd88a2a26) -} - -var fileDescriptor_d496394fd88a2a26 = []byte{ - // 364 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x41, 0x4e, 0xbb, 0x40, - 0x18, 0xc5, 0xff, 0xd0, 0x7f, 0x5b, 0x9d, 0x6a, 0x1c, 0x59, 0xb8, 0xa8, 0x76, 0xd1, 0x1e, 0x60, - 0x08, 0x71, 0x37, 0xba, 0x99, 0x52, 0x2c, 0x44, 0x04, 0x22, 0x2d, 0x46, 0x43, 0xd2, 0x60, 0x21, - 0x48, 0xd2, 0xce, 0x90, 0x0e, 0x6d, 0xd2, 0x0b, 0x78, 0x10, 0x13, 0x37, 0x1e, 0xc5, 0xa3, 0xb8, - 0xf2, 0x08, 0x06, 0xc6, 0xd6, 0x4d, 0x75, 0x43, 0x5e, 0x78, 0xdf, 0xef, 0xe5, 0xfb, 0xde, 0x80, - 0xcb, 0x94, 0xb1, 0x74, 0x96, 0xa8, 0x51, 0xcc, 0x55, 0x21, 0x4b, 0xb5, 0xd2, 0xd4, 0x84, 0x2e, - 0xe7, 0x5c, 0x8d, 0xe2, 0x55, 0xb2, 0x28, 0x32, 0x9e, 0xd1, 0x74, 0x32, 0x7d, 0x8a, 0x28, 0x4d, - 0x66, 0x93, 0x62, 0x9d, 0x27, 0x28, 0x5f, 0xb0, 0x82, 0x29, 0x1d, 0x81, 0xa0, 0x28, 0xe6, 0x68, - 0x4b, 0xa3, 0x95, 0x86, 0x2a, 0xba, 0x7d, 0xb6, 0x09, 0xcf, 0x33,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cc, 0xc3, 0xad, 0x1f, 0x06, 0x5a, 0x58, 0xf9, 0x1f, 0x72, 0x57, 0xfc, 0xc4, 0x98, 0xc4, - 0x1c, 0xe3, 0xed, 0x04, 0xc6, 0x81, 0x86, 0x71, 0x35, 0xf3, 0xd8, 0xa8, 0x16, 0x3b, 0xff, 0x0a, - 0x00, 0x00, 0xff, 0xff, 0xc4, 0x32, 0x41, 0x6f, 0x1e, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/affiliate_location_feed_relationship_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/affiliate_location_feed_relationship_type.pb.go deleted file mode 100644 index d151832e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/affiliate_location_feed_relationship_type.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/affiliate_location_feed_relationship_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_7f857a321b243c6c, []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_7f857a321b243c6c, []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 (m *AffiliateLocationFeedRelationshipTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AffiliateLocationFeedRelationshipTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.AffiliateLocationFeedRelationshipTypeEnum_AffiliateLocationFeedRelationshipType", AffiliateLocationFeedRelationshipTypeEnum_AffiliateLocationFeedRelationshipType_name, AffiliateLocationFeedRelationshipTypeEnum_AffiliateLocationFeedRelationshipType_value) - proto.RegisterType((*AffiliateLocationFeedRelationshipTypeEnum)(nil), "google.ads.googleads.v1.enums.AffiliateLocationFeedRelationshipTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/affiliate_location_feed_relationship_type.proto", fileDescriptor_7f857a321b243c6c) -} - -var fileDescriptor_7f857a321b243c6c = []byte{ - // 332 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xc1, 0x4a, 0xc3, 0x30, - 0x18, 0xc7, 0x6d, 0x05, 0x85, 0xec, 0x60, 0x29, 0x9e, 0xc4, 0x1d, 0x36, 0xf0, 0xa0, 0x87, 0x94, - 0xe2, 0x2d, 0x9e, 0x32, 0xcd, 0xc6, 0x70, 0xd6, 0x51, 0xb7, 0x09, 0x5a, 0x28, 0x71, 0xc9, 0x6a, - 0xa1, 0x4b, 0xc2, 0xd2, 0x0d, 0xf6, 0x06, 0x3e, 0x87, 0x47, 0x1f, 0xc5, 0x47, 0xf1, 0x25, 0x94, - 0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 0x15, 0x19, 0x94, 0x8b, 0x2c, 0xc8, 0xb8, 0x30, 0xd1, 0xeb, - 0xd5, 0xab, 0x5c, 0xff, 0xf1, 0x12, 0x57, 0xe6, 0xfb, 0xee, 0xee, 0xf7, 0x30, 0xfe, 0x70, 0x9b, - 0x3d, 0x8b, 0xc2, 0x4c, 0x43, 0x2b, 0x2b, 0x35, 0x09, 0x61, 0xb5, 0x19, 0xfd, 0x59, 0xd7, 0x13, - 0xcc, 0x74, 0xb2, 0xad, 0x27, 0x93, 0x30, 0x31, 0xf5, 0x2f, 0xb7, 0x65, 0x0f, 0x11, 0xc2, 0x4c, - 0x23, 0xb4, 0xed, 0x40, 0x68, 0x12, 0x22, 0x64, 0x7a, 0x5e, 0x0e, 0xcc, 0x60, 0x97, 0x3f, 0x01, - 0x00, 0x00, 0xff, 0xff, 0x67, 0xb4, 0x2f, 0x6b, 0x21, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/affiliate_location_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/affiliate_location_placeholder_field.pb.go deleted file mode 100644 index de5643d0..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/affiliate_location_placeholder_field.pb.go +++ /dev/null @@ -1,167 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/affiliate_location_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible values for Affiliate Location placeholder fields. -type AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField int32 - -const ( - // Not specified. - AffiliateLocationPlaceholderFieldEnum_UNSPECIFIED AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField = 0 - // Used for return value only. Represents value unknown in this version. - AffiliateLocationPlaceholderFieldEnum_UNKNOWN AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField = 1 - // Data Type: STRING. The name of the business. - AffiliateLocationPlaceholderFieldEnum_BUSINESS_NAME AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField = 2 - // Data Type: STRING. Line 1 of the business address. - AffiliateLocationPlaceholderFieldEnum_ADDRESS_LINE_1 AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField = 3 - // Data Type: STRING. Line 2 of the business address. - AffiliateLocationPlaceholderFieldEnum_ADDRESS_LINE_2 AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField = 4 - // Data Type: STRING. City of the business address. - AffiliateLocationPlaceholderFieldEnum_CITY AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField = 5 - // Data Type: STRING. Province of the business address. - AffiliateLocationPlaceholderFieldEnum_PROVINCE AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField = 6 - // Data Type: STRING. Postal code of the business address. - AffiliateLocationPlaceholderFieldEnum_POSTAL_CODE AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField = 7 - // Data Type: STRING. Country code of the business address. - AffiliateLocationPlaceholderFieldEnum_COUNTRY_CODE AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField = 8 - // Data Type: STRING. Phone number of the business. - AffiliateLocationPlaceholderFieldEnum_PHONE_NUMBER AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField = 9 - // Data Type: STRING. Language code of the business. - AffiliateLocationPlaceholderFieldEnum_LANGUAGE_CODE AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField = 10 - // Data Type: INT64. ID of the chain. - AffiliateLocationPlaceholderFieldEnum_CHAIN_ID AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField = 11 - // Data Type: STRING. Name of the chain. - AffiliateLocationPlaceholderFieldEnum_CHAIN_NAME AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField = 12 -) - -var AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "BUSINESS_NAME", - 3: "ADDRESS_LINE_1", - 4: "ADDRESS_LINE_2", - 5: "CITY", - 6: "PROVINCE", - 7: "POSTAL_CODE", - 8: "COUNTRY_CODE", - 9: "PHONE_NUMBER", - 10: "LANGUAGE_CODE", - 11: "CHAIN_ID", - 12: "CHAIN_NAME", -} - -var AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "BUSINESS_NAME": 2, - "ADDRESS_LINE_1": 3, - "ADDRESS_LINE_2": 4, - "CITY": 5, - "PROVINCE": 6, - "POSTAL_CODE": 7, - "COUNTRY_CODE": 8, - "PHONE_NUMBER": 9, - "LANGUAGE_CODE": 10, - "CHAIN_ID": 11, - "CHAIN_NAME": 12, -} - -func (x AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField) String() string { - return proto.EnumName(AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField_name, int32(x)) -} - -func (AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_00ea8dfbc7e37169, []int{0, 0} -} - -// Values for Affiliate Location placeholder fields. -type AffiliateLocationPlaceholderFieldEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AffiliateLocationPlaceholderFieldEnum) Reset() { *m = AffiliateLocationPlaceholderFieldEnum{} } -func (m *AffiliateLocationPlaceholderFieldEnum) String() string { return proto.CompactTextString(m) } -func (*AffiliateLocationPlaceholderFieldEnum) ProtoMessage() {} -func (*AffiliateLocationPlaceholderFieldEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_00ea8dfbc7e37169, []int{0} -} - -func (m *AffiliateLocationPlaceholderFieldEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AffiliateLocationPlaceholderFieldEnum.Unmarshal(m, b) -} -func (m *AffiliateLocationPlaceholderFieldEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AffiliateLocationPlaceholderFieldEnum.Marshal(b, m, deterministic) -} -func (m *AffiliateLocationPlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AffiliateLocationPlaceholderFieldEnum.Merge(m, src) -} -func (m *AffiliateLocationPlaceholderFieldEnum) XXX_Size() int { - return xxx_messageInfo_AffiliateLocationPlaceholderFieldEnum.Size(m) -} -func (m *AffiliateLocationPlaceholderFieldEnum) XXX_DiscardUnknown() { - xxx_messageInfo_AffiliateLocationPlaceholderFieldEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_AffiliateLocationPlaceholderFieldEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField", AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField_name, AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField_value) - proto.RegisterType((*AffiliateLocationPlaceholderFieldEnum)(nil), "google.ads.googleads.v1.enums.AffiliateLocationPlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/affiliate_location_placeholder_field.proto", fileDescriptor_00ea8dfbc7e37169) -} - -var fileDescriptor_00ea8dfbc7e37169 = []byte{ - // 431 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 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c2, 0x16, 0x6a, 0xb4, 0xf0, 0xb0, 0xde, 0x9a, 0xfa, 0xde, 0xd5, - 0x97, 0xa4, 0x50, 0xcb, 0x43, 0x7d, 0xb9, 0xf0, 0x96, 0xa6, 0xfe, 0xc3, 0x19, 0x59, 0xd2, 0xf7, - 0x49, 0xa1, 0x7c, 0xff, 0xa0, 0xf0, 0xfd, 0x85, 0xe7, 0xfb, 0x46, 0xf3, 0xe9, 0xcc, 0x34, 0xf6, - 0xf6, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x18, 0x25, 0xe9, 0x48, 0xb4, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/age_range_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/age_range_type.pb.go deleted file mode 100644 index 18c7bdbe..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/age_range_type.pb.go +++ /dev/null @@ -1,148 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/age_range_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_063260bf4028a422, []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_063260bf4028a422, []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 (m *AgeRangeTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AgeRangeTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.AgeRangeTypeEnum_AgeRangeType", AgeRangeTypeEnum_AgeRangeType_name, AgeRangeTypeEnum_AgeRangeType_value) - proto.RegisterType((*AgeRangeTypeEnum)(nil), "google.ads.googleads.v1.enums.AgeRangeTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/age_range_type.proto", fileDescriptor_063260bf4028a422) -} - -var fileDescriptor_063260bf4028a422 = []byte{ - // 378 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, 0x43, 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, 0x43, 0x3d, 0xb0, 0x1e, 0x29, 0x19, 0x98, 0x91, 0x05, 0x99, 0xfa, - 0x89, 0x79, 0x79, 0xf9, 0x25, 0x89, 0x25, 0x99, 0xf9, 0x79, 0xc5, 0x10, 0xcd, 0x4a, 0x2f, 0x19, - 0xb9, 0x04, 0x1c, 0xd3, 0x53, 0x83, 0x40, 0x86, 0x86, 0x54, 0x16, 0xa4, 0xba, 0xe6, 0x95, 0xe6, - 0x2a, 0x5d, 0x61, 0xe4, 0xe2, 0x41, 0x16, 0x14, 0xe2, 0xe7, 0xe2, 0x0e, 0xf5, 0x0b, 0x0e, 0x70, - 0x75, 0xf6, 0x74, 0xf3, 0x74, 0x75, 0x11, 0x60, 0x10, 0xe2, 0xe6, 0x62, 0x0f, 0xf5, 0xf3, 0xf6, - 0xf3, 0x0f, 0xf7, 0x13, 0x60, 0x14, 0x12, 0xe5, 0xe2, 0x77, 0x74, 0x77, 0x8d, 0x0f, 0x72, 0xf4, - 0x73, 0x77, 0x8d, 0x37, 0xb4, 0x88, 0x37, 0x32, 0x11, 0xb8, 0x79, 0x53, 0x0e, 0x55, 0xd8, 0xc8, - 0x34, 0xde, 0xd8, 0x44, 0xe0, 0x16, 0xba, 0xb0, 0xb1, 0x69, 0xbc, 0x89, 0x89, 0xc0, 0x6d, 0x74, - 0x61, 0x13, 0xd3, 0x78, 0x53, 0x13, 0x81, 0x3b, 0xe8, 0xc2, 0xa6, 0xa6, 0xf1, 0x66, 0x26, 0x02, - 0x77, 0xd1, 0x85, 0xcd, 0x4c, 0xe3, 0x43, 0x03, 0x04, 0xee, 0xdd, 0x94, 0x13, 0x92, 0xe1, 0x12, - 0x43, 0x08, 0x87, 0xfa, 0xb9, 0xb8, 0x86, 0xb8, 0x06, 0xf9, 0x7a, 0xfa, 0xb9, 0xba, 0x08, 0xec, - 0x7f, 0x28, 0xe7, 0xf4, 0x8c, 0x91, 0x4b, 0x31, 0x39, 0x3f, 0x57, 0x0f, 0x6f, 0x78, 0x39, 0x09, - 0x22, 0xfb, 0x3c, 0x00, 0x14, 0x48, 0x01, 0x8c, 0x51, 0x4e, 0x50, 0x3d, 0xe9, 0xf9, 0x39, 0x89, - 0x79, 0xe9, 0x7a, 0xf9, 0x45, 0xe9, 0xfa, 0xe9, 0xa9, 0x79, 0xe0, 0x20, 0x84, 0xc5, 0x53, 0x41, - 0x66, 0x31, 0x8e, 0x68, 0xb3, 0x06, 0x93, 0x8b, 0x98, 0x98, 0xdd, 0x1d, 0x1d, 0x57, 0x31, 0xc9, - 0xba, 0x43, 0x8c, 0x72, 0x4c, 0x29, 0xd6, 0x83, 0x30, 0x41, 0xac, 0x30, 0x43, 0x3d, 0x50, 0xd0, - 0x17, 0x9f, 0x82, 0xc9, 0xc7, 0x38, 0xa6, 0x14, 0xc7, 0xc0, 0xe5, 0x63, 0xc2, 0x0c, 0x63, 0xc0, - 0xf2, 0xaf, 0x98, 0x14, 0x21, 0x82, 0x56, 0x56, 0x8e, 0x29, 0xc5, 0x56, 0x56, 0x70, 0x15, 0x56, - 0x56, 0x61, 0x86, 0x56, 0x56, 0x60, 0x35, 0x49, 0x6c, 0x60, 0x87, 0x19, 0x03, 0x02, 0x00, 0x00, - 0xff, 0xff, 0x6d, 0x32, 0xb7, 0xd1, 0x4e, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/app_campaign_app_store.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/app_campaign_app_store.pb.go deleted file mode 100644 index 64ad15fd..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/app_campaign_app_store.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/app_campaign_app_store.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing app campaign app store. -type AppCampaignAppStoreEnum_AppCampaignAppStore int32 - -const ( - // Not specified. - AppCampaignAppStoreEnum_UNSPECIFIED AppCampaignAppStoreEnum_AppCampaignAppStore = 0 - // Used for return value only. Represents value unknown in this version. - AppCampaignAppStoreEnum_UNKNOWN AppCampaignAppStoreEnum_AppCampaignAppStore = 1 - // Apple app store. - AppCampaignAppStoreEnum_APPLE_APP_STORE AppCampaignAppStoreEnum_AppCampaignAppStore = 2 - // Google play. - AppCampaignAppStoreEnum_GOOGLE_APP_STORE AppCampaignAppStoreEnum_AppCampaignAppStore = 3 -) - -var AppCampaignAppStoreEnum_AppCampaignAppStore_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "APPLE_APP_STORE", - 3: "GOOGLE_APP_STORE", -} - -var AppCampaignAppStoreEnum_AppCampaignAppStore_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "APPLE_APP_STORE": 2, - "GOOGLE_APP_STORE": 3, -} - -func (x AppCampaignAppStoreEnum_AppCampaignAppStore) String() string { - return proto.EnumName(AppCampaignAppStoreEnum_AppCampaignAppStore_name, int32(x)) -} - -func (AppCampaignAppStoreEnum_AppCampaignAppStore) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7e6ebba29b36d5af, []int{0, 0} -} - -// The application store that distributes mobile applications. -type AppCampaignAppStoreEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AppCampaignAppStoreEnum) Reset() { *m = AppCampaignAppStoreEnum{} } -func (m *AppCampaignAppStoreEnum) String() string { return proto.CompactTextString(m) } -func (*AppCampaignAppStoreEnum) ProtoMessage() {} -func (*AppCampaignAppStoreEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_7e6ebba29b36d5af, []int{0} -} - -func (m *AppCampaignAppStoreEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AppCampaignAppStoreEnum.Unmarshal(m, b) -} -func (m *AppCampaignAppStoreEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AppCampaignAppStoreEnum.Marshal(b, m, deterministic) -} -func (m *AppCampaignAppStoreEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AppCampaignAppStoreEnum.Merge(m, src) -} -func (m *AppCampaignAppStoreEnum) XXX_Size() int { - return xxx_messageInfo_AppCampaignAppStoreEnum.Size(m) -} -func (m *AppCampaignAppStoreEnum) XXX_DiscardUnknown() { - xxx_messageInfo_AppCampaignAppStoreEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_AppCampaignAppStoreEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.AppCampaignAppStoreEnum_AppCampaignAppStore", AppCampaignAppStoreEnum_AppCampaignAppStore_name, AppCampaignAppStoreEnum_AppCampaignAppStore_value) - proto.RegisterType((*AppCampaignAppStoreEnum)(nil), "google.ads.googleads.v1.enums.AppCampaignAppStoreEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/app_campaign_app_store.proto", fileDescriptor_7e6ebba29b36d5af) -} - -var fileDescriptor_7e6ebba29b36d5af = []byte{ - // 315 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xd1, 0x4a, 0xc3, 0x30, - 0x14, 0x75, 0x1d, 0x28, 0x64, 0x0f, 0x2b, 0x9d, 0xa0, 0x88, 0x7b, 0xd8, 0x3e, 0x20, 0xa1, 0xf8, - 0x16, 0x9f, 0xb2, 0x59, 0xcb, 0x50, 0xda, 0xe0, 0xdc, 0x04, 0x29, 0x96, 0xb8, 0x96, 0x50, 0x58, - 0x93, 0xb0, 0x74, 0x03, 0x7f, 0xc7, 0x47, 0x3f, 0xc5, 0x4f, 0x11, 0xfc, 0x07, 0x49, 0xb2, 0x0d, - 0x84, 0xe9, 0x4b, 0x38, 0xb9, 0xe7, 0x9e, 0xc3, 0xb9, 0x07, 0x60, 0x2e, 0x25, 0x5f, 0x96, 0x88, - 0x15, 0x1a, 0x39, 0x68, 0xd0, 0x26, 0x44, 0xa5, 0x58, 0xd7, 0x1a, 0x31, 0xa5, 0xf2, 0x05, 0xab, - 0x15, 0xab, 0xb8, 0xc8, 0xcd, 0x47, 0x37, 0x72, 0x55, 0x42, 0xb5, 0x92, 0x8d, 0x0c, 0xfa, 0x4e, - 0x00, 0x59, 0xa1, 0xe1, 0x5e, 0x0b, 0x37, 0x21, 0xb4, 0xda, 0x8b, 0xcb, 0x9d, 0xb5, 0xaa, 0x10, - 0x13, 0x42, 0x36, 0xac, 0xa9, 0xa4, 0xd0, 0x4e, 0x3c, 0x7c, 0x03, 0x67, 0x44, 0xa9, 0xf1, 0xd6, - 0x9b, 0x28, 0x35, 0x35, 0xce, 0x91, 0x58, 0xd7, 0xc3, 0x17, 0xd0, 0x3b, 0x40, 0x05, 0x5d, 0xd0, - 0x99, 0x25, 0x53, 0x1a, 0x8d, 0x27, 0xb7, 0x93, 0xe8, 0xc6, 0x3f, 0x0a, 0x3a, 0xe0, 0x64, 0x96, - 0xdc, 0x25, 0xe9, 0x53, 0xe2, 0xb7, 0x82, 0x1e, 0xe8, 0x12, 0x4a, 0xef, 0xa3, 0x9c, 0x50, 0x9a, - 0x4f, 0x1f, 0xd3, 0x87, 0xc8, 0xf7, 0x82, 0x53, 0xe0, 0xc7, 0x69, 0x1a, 0xff, 0x9a, 0xb6, 0x47, - 0xdf, 0x2d, 0x30, 0x58, 0xc8, 0x1a, 0xfe, 0x1b, 0x7f, 0x74, 0x7e, 0x20, 0x03, 0x35, 0xd1, 0x69, - 0xeb, 0x79, 0xb4, 0x95, 0x72, 0xb9, 0x64, 0x82, 0x43, 0xb9, 0xe2, 0x88, 0x97, 0xc2, 0x1e, 0xb6, - 0x6b, 0x51, 0x55, 0xfa, 0x8f, 0x52, 0xaf, 0xed, 0xfb, 0xee, 0xb5, 0x63, 0x42, 0x3e, 0xbc, 0x7e, - 0xec, 0xac, 0x48, 0xa1, 0xa1, 0x83, 0x06, 0xcd, 0x43, 0x68, 0xaa, 0xd0, 0x9f, 0x3b, 0x3e, 0x23, - 0x85, 0xce, 0xf6, 0x7c, 0x36, 0x0f, 0x33, 0xcb, 0x7f, 0x79, 0x03, 0x37, 0xc4, 0x98, 0x14, 0x1a, - 0xe3, 0xfd, 0x06, 0xc6, 0xf3, 0x10, 0x63, 0xbb, 0xf3, 0x7a, 0x6c, 0x83, 0x5d, 0xfd, 0x04, 0x00, - 0x00, 0xff, 0xff, 0xe3, 0xcc, 0x06, 0x38, 0xec, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/app_campaign_bidding_strategy_goal_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/app_campaign_bidding_strategy_goal_type.pb.go deleted file mode 100644 index dfb7e4c1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/app_campaign_bidding_strategy_goal_type.pb.go +++ /dev/null @@ -1,148 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/app_campaign_bidding_strategy_goal_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Goal type of App campaign BiddingStrategy. -type AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType int32 - -const ( - // Not specified. - AppCampaignBiddingStrategyGoalTypeEnum_UNSPECIFIED AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType = 0 - // Used for return value only. Represents value unknown in this version. - AppCampaignBiddingStrategyGoalTypeEnum_UNKNOWN AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType = 1 - // Aim to maximize the number of app installs. The cpa bid is the - // target cost per install. - AppCampaignBiddingStrategyGoalTypeEnum_OPTIMIZE_INSTALLS_TARGET_INSTALL_COST AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType = 2 - // Aim to maximize the long term number of selected in-app conversions from - // app installs. The cpa bid is the target cost per install. - AppCampaignBiddingStrategyGoalTypeEnum_OPTIMIZE_IN_APP_CONVERSIONS_TARGET_INSTALL_COST AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType = 3 - // Aim to maximize the long term number of selected in-app conversions from - // app installs. The cpa bid is the target cost per in-app conversion. Note - // that the actual cpa may seem higher than the target cpa at first, since - // the long term conversions haven’t happened yet. - AppCampaignBiddingStrategyGoalTypeEnum_OPTIMIZE_IN_APP_CONVERSIONS_TARGET_CONVERSION_COST AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType = 4 - // Aim to maximize all conversions' value, i.e. install + selected in-app - // conversions while achieving or exceeding target return on advertising - // spend. - AppCampaignBiddingStrategyGoalTypeEnum_OPTIMIZE_RETURN_ON_ADVERTISING_SPEND AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType = 5 -) - -var AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "OPTIMIZE_INSTALLS_TARGET_INSTALL_COST", - 3: "OPTIMIZE_IN_APP_CONVERSIONS_TARGET_INSTALL_COST", - 4: "OPTIMIZE_IN_APP_CONVERSIONS_TARGET_CONVERSION_COST", - 5: "OPTIMIZE_RETURN_ON_ADVERTISING_SPEND", -} - -var AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "OPTIMIZE_INSTALLS_TARGET_INSTALL_COST": 2, - "OPTIMIZE_IN_APP_CONVERSIONS_TARGET_INSTALL_COST": 3, - "OPTIMIZE_IN_APP_CONVERSIONS_TARGET_CONVERSION_COST": 4, - "OPTIMIZE_RETURN_ON_ADVERTISING_SPEND": 5, -} - -func (x AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType) String() string { - return proto.EnumName(AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType_name, int32(x)) -} - -func (AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_421bbef09a409bde, []int{0, 0} -} - -// Container for enum describing goal towards which the bidding strategy of an -// app campaign should optimize for. -type AppCampaignBiddingStrategyGoalTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AppCampaignBiddingStrategyGoalTypeEnum) Reset() { - *m = AppCampaignBiddingStrategyGoalTypeEnum{} -} -func (m *AppCampaignBiddingStrategyGoalTypeEnum) String() string { return proto.CompactTextString(m) } -func (*AppCampaignBiddingStrategyGoalTypeEnum) ProtoMessage() {} -func (*AppCampaignBiddingStrategyGoalTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_421bbef09a409bde, []int{0} -} - -func (m *AppCampaignBiddingStrategyGoalTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AppCampaignBiddingStrategyGoalTypeEnum.Unmarshal(m, b) -} -func (m *AppCampaignBiddingStrategyGoalTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AppCampaignBiddingStrategyGoalTypeEnum.Marshal(b, m, deterministic) -} -func (m *AppCampaignBiddingStrategyGoalTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AppCampaignBiddingStrategyGoalTypeEnum.Merge(m, src) -} -func (m *AppCampaignBiddingStrategyGoalTypeEnum) XXX_Size() int { - return xxx_messageInfo_AppCampaignBiddingStrategyGoalTypeEnum.Size(m) -} -func (m *AppCampaignBiddingStrategyGoalTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_AppCampaignBiddingStrategyGoalTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_AppCampaignBiddingStrategyGoalTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType", AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType_name, AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType_value) - proto.RegisterType((*AppCampaignBiddingStrategyGoalTypeEnum)(nil), "google.ads.googleads.v1.enums.AppCampaignBiddingStrategyGoalTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/app_campaign_bidding_strategy_goal_type.proto", fileDescriptor_421bbef09a409bde) -} - -var fileDescriptor_421bbef09a409bde = []byte{ - // 413 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0xcd, 0x8a, 0xdb, 0x30, - 0x10, 0x6e, 0xbc, 0xfd, 0x01, 0xed, 0xa1, 0xc1, 0xc7, 0xd2, 0x3d, 0x6c, 0xe8, 0xef, 0x45, 0xc6, - 0x5d, 0xe8, 0x41, 0x3d, 0x29, 0x89, 0x6a, 0xc4, 0x6e, 0x65, 0x63, 0x29, 0x2e, 0x2c, 0x01, 0xa1, - 0x5d, 0x1b, 0x61, 0x48, 0x24, 0x11, 0x79, 0x17, 0x72, 0xef, 0x93, 0xf4, 0xd8, 0x4b, 0xdf, 0xa3, - 0x8f, 0xd2, 0x67, 0xe8, 0xa1, 0xc4, 0x4a, 0xdc, 0x1e, 0xda, 0x6e, 0x2f, 0xe6, 0xf3, 0xcc, 0xf7, - 0x23, 0x66, 0x06, 0x9c, 0x6b, 0x6b, 0xf5, 0xaa, 0x49, 0x54, 0xed, 0x93, 0x00, 0x77, 0xe8, 0x36, - 0x4d, 0x1a, 0x73, 0xb3, 0xf6, 0x89, 0x72, 0x4e, 0x5e, 0xab, 0xb5, 0x53, 0xad, 0x36, 0xf2, 0xaa, - 0xad, 0xeb, 0xd6, 0x68, 0xe9, 0xbb, 0x8d, 0xea, 0x1a, 0xbd, 0x95, 0xda, 0xaa, 0x95, 0xec, 0xb6, - 0xae, 0x81, 0x6e, 0x63, 0x3b, 0x1b, 0x9f, 0x04, 0x07, 0xa8, 0x6a, 0x0f, 0x07, 0x33, 0x78, 0x9b, - 0xc2, 0xde, 0xec, 0xc9, 0xd3, 0x43, 0x96, 0x6b, 0x13, 0x65, 0x8c, 0xed, 0x54, 0xd7, 0x5a, 0xe3, - 0x83, 0x78, 0xf2, 0x35, 0x02, 0x2f, 0xb0, 0x73, 0xb3, 0x7d, 0xda, 0x34, 0x84, 0xf1, 0x7d, 0x56, - 0x66, 0xd5, 0x4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14, 0xee, 0x16, 0xe8, 0xbf, 0x1d, 0xfa, 0x4b, - 0x5c, 0xfb, 0xe5, 0xd0, 0x5f, 0x56, 0xe9, 0xb2, 0xef, 0x7f, 0x8f, 0x4e, 0x43, 0x11, 0x21, 0x5c, - 0x7b, 0x84, 0x06, 0x06, 0x42, 0x55, 0x8a, 0x50, 0xcf, 0xb9, 0x7a, 0xd8, 0x3f, 0xec, 0xec, 0x67, - 0x00, 0x00, 0x00, 0xff, 0xff, 0xa7, 0x7a, 0x3b, 0x7b, 0xc3, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/app_payment_model_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/app_payment_model_type.pb.go deleted file mode 100644 index eca621f7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/app_payment_model_type.pb.go +++ /dev/null @@ -1,119 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/app_payment_model_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible app payment models. -type AppPaymentModelTypeEnum_AppPaymentModelType int32 - -const ( - // Not specified. - AppPaymentModelTypeEnum_UNSPECIFIED AppPaymentModelTypeEnum_AppPaymentModelType = 0 - // Used for return value only. Represents value unknown in this version. - AppPaymentModelTypeEnum_UNKNOWN AppPaymentModelTypeEnum_AppPaymentModelType = 1 - // Represents paid-for apps. - AppPaymentModelTypeEnum_PAID AppPaymentModelTypeEnum_AppPaymentModelType = 30 -) - -var AppPaymentModelTypeEnum_AppPaymentModelType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 30: "PAID", -} - -var AppPaymentModelTypeEnum_AppPaymentModelType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "PAID": 30, -} - -func (x AppPaymentModelTypeEnum_AppPaymentModelType) String() string { - return proto.EnumName(AppPaymentModelTypeEnum_AppPaymentModelType_name, int32(x)) -} - -func (AppPaymentModelTypeEnum_AppPaymentModelType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_963a2c4d6c17beff, []int{0, 0} -} - -// Represents a criterion for targeting paid apps. -type AppPaymentModelTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AppPaymentModelTypeEnum) Reset() { *m = AppPaymentModelTypeEnum{} } -func (m *AppPaymentModelTypeEnum) String() string { return proto.CompactTextString(m) } -func (*AppPaymentModelTypeEnum) ProtoMessage() {} -func (*AppPaymentModelTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_963a2c4d6c17beff, []int{0} -} - -func (m *AppPaymentModelTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AppPaymentModelTypeEnum.Unmarshal(m, b) -} -func (m *AppPaymentModelTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AppPaymentModelTypeEnum.Marshal(b, m, deterministic) -} -func (m *AppPaymentModelTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AppPaymentModelTypeEnum.Merge(m, src) -} -func (m *AppPaymentModelTypeEnum) XXX_Size() int { - return xxx_messageInfo_AppPaymentModelTypeEnum.Size(m) -} -func (m *AppPaymentModelTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_AppPaymentModelTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_AppPaymentModelTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.AppPaymentModelTypeEnum_AppPaymentModelType", AppPaymentModelTypeEnum_AppPaymentModelType_name, AppPaymentModelTypeEnum_AppPaymentModelType_value) - proto.RegisterType((*AppPaymentModelTypeEnum)(nil), "google.ads.googleads.v1.enums.AppPaymentModelTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/app_payment_model_type.proto", fileDescriptor_963a2c4d6c17beff) -} - -var fileDescriptor_963a2c4d6c17beff = []byte{ - // 302 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xf3, 0x30, - 0x1c, 0xc5, 0xbf, 0xed, 0x13, 0x95, 0xec, 0xc2, 0x51, 0x2f, 0x14, 0x71, 0xc2, 0xf6, 0x00, 0x09, - 0xc5, 0xbb, 0x88, 0x17, 0xa9, 0xab, 0xa3, 0x88, 0xb5, 0xa0, 0xab, 0x22, 0x85, 0x12, 0x4d, 0x08, - 0x85, 0x36, 0x09, 0x4b, 0x37, 0xe8, 0xeb, 0x78, 0xe9, 0xa3, 0xf8, 0x28, 0x82, 0xef, 0x20, 0x4d, - 0x6c, 0xaf, 0xa6, 0x37, 0xe1, 0x90, 0xf3, 0xff, 0x9d, 0x9c, 0xfc, 0x01, 0x16, 0x4a, 0x89, 0x92, - 0x23, 0xca, 0x0c, 0x72, 0xb2, 0x55, 0x1b, 0x1f, 0x71, 0xb9, 0xae, 0x0c, 0xa2, 0x5a, 0xe7, 0x9a, - 0x36, 0x15, 0x97, 0x75, 0x5e, 0x29, 0xc6, 0xcb, 0xbc, 0x6e, 0x34, 0x87, 0x7a, 0xa5, 0x6a, 0xe5, - 0x4d, 0x1c, 0x00, 0x29, 0x33, 0xb0, 0x67, 0xe1, 0xc6, 0x87, 0x96, 0x3d, 0x39, 0xed, 0xa2, 0x75, - 0x81, 0xa8, 0x94, 0xaa, 0xa6, 0x75, 0xa1, 0xa4, 0x71, 0xf0, 0xec, 0x09, 0x1c, 0x11, 0xad, 0x13, - 0x97, 0x7d, 0xdb, 0x46, 0x3f, 0x34, 0x9a, 0x87, 0x72, 0x5d, 0xcd, 0x2e, 0xc1, 0xe1, 0x16, 0xcb, - 0x3b, 0x00, 0xa3, 0x65, 0x7c, 0x9f, 0x84, 0x57, 0xd1, 0x75, 0x14, 0xce, 0xc7, 0xff, 0xbc, 0x11, - 0xd8, 0x5b, 0xc6, 0x37, 0xf1, 0xdd, 0x63, 0x3c, 0x1e, 0x78, 0xfb, 0x60, 0x27, 0x21, 0xd1, 0x7c, - 0x7c, 0x16, 0x7c, 0x0d, 0xc0, 0xf4, 0x55, 0x55, 0xf0, 0xcf, 0x76, 0xc1, 0xf1, 0x96, 0x27, 0x92, - 0xb6, 0x59, 0x32, 0x78, 0x0e, 0x7e, 0x50, 0xa1, 0x4a, 0x2a, 0x05, 0x54, 0x2b, 0x81, 0x04, 0x97, - 0xb6, 0x77, 0xb7, 0x24, 0x5d, 0x98, 0x5f, 0x76, 0x76, 0x61, 0xcf, 0xb7, 0xe1, 0xff, 0x05, 0x21, - 0xef, 0xc3, 0xc9, 0xc2, 0x45, 0x11, 0x66, 0xa0, 0x93, 0xad, 0x4a, 0x7d, 0xd8, 0xfe, 0xd4, 0x7c, - 0x74, 0x7e, 0x46, 0x98, 0xc9, 0x7a, 0x3f, 0x4b, 0xfd, 0xcc, 0xfa, 0x9f, 0xc3, 0xa9, 0xbb, 0xc4, - 0x98, 0x30, 0x83, 0x71, 0x3f, 0x81, 0x71, 0xea, 0x63, 0x6c, 0x67, 0x5e, 0x76, 0x6d, 0xb1, 0xf3, - 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x7c, 0xf1, 0xd7, 0x51, 0xcb, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/app_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/app_placeholder_field.pb.go deleted file mode 100644 index 32878e39..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/app_placeholder_field.pb.go +++ /dev/null @@ -1,159 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/app_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_f69ee9c0d399b0c8, []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_f69ee9c0d399b0c8, []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 (m *AppPlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AppPlaceholderFieldEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.AppPlaceholderFieldEnum_AppPlaceholderField", AppPlaceholderFieldEnum_AppPlaceholderField_name, AppPlaceholderFieldEnum_AppPlaceholderField_value) - proto.RegisterType((*AppPlaceholderFieldEnum)(nil), "google.ads.googleads.v1.enums.AppPlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/app_placeholder_field.proto", fileDescriptor_f69ee9c0d399b0c8) -} - -var fileDescriptor_f69ee9c0d399b0c8 = []byte{ - // 382 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xdd, 0xce, 0x93, 0x30, - 0x18, 0x16, 0xe6, 0xb7, 0xb9, 0x7e, 0xfe, 0xd4, 0xaa, 0xd1, 0x18, 0x77, 0xb0, 0x5d, 0x40, 0x09, - 0xf1, 0xc8, 0x7a, 0x54, 0x36, 0x58, 0x9a, 0x21, 0x23, 0xfc, 0xcc, 0xc5, 0x90, 0x10, 0x1c, 0x88, - 0x24, 0x8c, 0x36, 0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0d, 0xe1, 0x10, 0x3d, 0x03, 0x8f, 0xd5, 0xfd, 0xdd, - 0xda, 0x62, 0xae, 0xad, 0xc6, 0x23, 0x04, 0xc1, 0xfd, 0x28, 0xa0, 0xf3, 0x15, 0xf3, 0x96, 0xed, - 0x08, 0xde, 0x43, 0x4f, 0x01, 0xec, 0x8d, 0x69, 0x18, 0x3b, 0x0e, 0xdb, 0xc2, 0xb1, 0xf5, 0x4b, - 0x03, 0xd3, 0x1d, 0xdf, 0xe3, 0xff, 0xf6, 0x61, 0xbd, 0xb8, 0xf2, 0x25, 0xbf, 0xed, 0xc2, 0xd7, - 0x3e, 0x58, 0x7f, 0xac, 0x25, 0xaf, 0xb3, 0xa6, 0xc4, 0xfc, 0x50, 0x1a, 0x65, 0xd1, 0x74, 0x4d, - 0x5d, 0xb6, 0x22, 0x2a, 0xf9, 0x8f, 0x25, 0xbd, 0xed, 0xce, 0x2f, 0xfa, 0x60, 0x49, 0xe9, 0x57, - 0x7d, 0xb2, 0x54, 0x51, 0x34, 0x97, 0x58, 0xc1, 0x16, 0x6d, 0x4c, 0xdc, 0x56, 0x2b, 0x7f, 0x5c, - 0xf8, 0x84, 0xe6, 0x32, 0xe9, 0xf9, 0x64, 0x63, 0x26, 0x1d, 0xff, 0x53, 0x9f, 0xaa, 0x21, 0x21, - 0x34, 0x97, 0x84, 0xf4, 0x0a, 0x42, 0x36, 0x26, 0x21, 0x9d, 0xe6, 0xe3, 0xb0, 0x7b, 0xd8, 0xeb, - 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xb9, 0xa4, 0x7c, 0x93, 0x3c, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/app_store.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/app_store.pb.go deleted file mode 100644 index 53d6d8ab..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/app_store.pb.go +++ /dev/null @@ -1,123 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/app_store.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// App store type in an app extension. -type AppStoreEnum_AppStore int32 - -const ( - // Not specified. - AppStoreEnum_UNSPECIFIED AppStoreEnum_AppStore = 0 - // Used for return value only. Represents value unknown in this version. - AppStoreEnum_UNKNOWN AppStoreEnum_AppStore = 1 - // Apple iTunes. - AppStoreEnum_APPLE_ITUNES AppStoreEnum_AppStore = 2 - // Google Play. - AppStoreEnum_GOOGLE_PLAY AppStoreEnum_AppStore = 3 -) - -var AppStoreEnum_AppStore_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "APPLE_ITUNES", - 3: "GOOGLE_PLAY", -} - -var AppStoreEnum_AppStore_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "APPLE_ITUNES": 2, - "GOOGLE_PLAY": 3, -} - -func (x AppStoreEnum_AppStore) String() string { - return proto.EnumName(AppStoreEnum_AppStore_name, int32(x)) -} - -func (AppStoreEnum_AppStore) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6f2edfdc6e3ce9d3, []int{0, 0} -} - -// Container for enum describing app store type in an app extension. -type AppStoreEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AppStoreEnum) Reset() { *m = AppStoreEnum{} } -func (m *AppStoreEnum) String() string { return proto.CompactTextString(m) } -func (*AppStoreEnum) ProtoMessage() {} -func (*AppStoreEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_6f2edfdc6e3ce9d3, []int{0} -} - -func (m *AppStoreEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AppStoreEnum.Unmarshal(m, b) -} -func (m *AppStoreEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AppStoreEnum.Marshal(b, m, deterministic) -} -func (m *AppStoreEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AppStoreEnum.Merge(m, src) -} -func (m *AppStoreEnum) XXX_Size() int { - return xxx_messageInfo_AppStoreEnum.Size(m) -} -func (m *AppStoreEnum) XXX_DiscardUnknown() { - xxx_messageInfo_AppStoreEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_AppStoreEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.AppStoreEnum_AppStore", AppStoreEnum_AppStore_name, AppStoreEnum_AppStore_value) - proto.RegisterType((*AppStoreEnum)(nil), "google.ads.googleads.v1.enums.AppStoreEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/app_store.proto", fileDescriptor_6f2edfdc6e3ce9d3) -} - -var fileDescriptor_6f2edfdc6e3ce9d3 = []byte{ - // 299 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xc3, 0x30, - 0x1c, 0xc6, 0x5d, 0x07, 0x2a, 0xd9, 0xc4, 0xd2, 0xa3, 0xb8, 0xc3, 0x76, 0x37, 0xa1, 0x78, 0x8b, - 0xa7, 0x4c, 0x63, 0x19, 0x1b, 0x5d, 0x60, 0x6e, 0xa2, 0x16, 0x46, 0xb4, 0x25, 0x14, 0xd6, 0x24, - 0x34, 0xdd, 0x1e, 0xc8, 0xa3, 0x8f, 0xe2, 0x63, 0x78, 0xf4, 0x29, 0x24, 0x89, 0xed, 0x4d, 0x2f, - 0xe1, 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0xab, 0x36, 0x31, 0xb4, 0x9f, 0x35, 0x9f, 0xad, 0x9f, - 0x91, 0xdc, 0x64, 0x9d, 0x9f, 0x6d, 0xe2, 0xcc, 0xf9, 0xdf, 0xc1, 0xd8, 0x1f, 0x62, 0x4c, 0x72, - 0x83, 0x71, 0x47, 0x60, 0xbc, 0x89, 0x31, 0x76, 0xcc, 0xeb, 0xb1, 0x2b, 0x76, 0xfd, 0x13, 0x00, - 0x00, 0xff, 0xff, 0xb1, 0x7b, 0x5e, 0x2a, 0xb6, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/app_url_operating_system_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/app_url_operating_system_type.pb.go deleted file mode 100644 index 96a68c09..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/app_url_operating_system_type.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/app_url_operating_system_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Operating System -type AppUrlOperatingSystemTypeEnum_AppUrlOperatingSystemType int32 - -const ( - // Not specified. - AppUrlOperatingSystemTypeEnum_UNSPECIFIED AppUrlOperatingSystemTypeEnum_AppUrlOperatingSystemType = 0 - // Used for return value only. Represents value unknown in this version. - AppUrlOperatingSystemTypeEnum_UNKNOWN AppUrlOperatingSystemTypeEnum_AppUrlOperatingSystemType = 1 - // The Apple IOS operating system. - AppUrlOperatingSystemTypeEnum_IOS AppUrlOperatingSystemTypeEnum_AppUrlOperatingSystemType = 2 - // The Android operating system. - AppUrlOperatingSystemTypeEnum_ANDROID AppUrlOperatingSystemTypeEnum_AppUrlOperatingSystemType = 3 -) - -var AppUrlOperatingSystemTypeEnum_AppUrlOperatingSystemType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "IOS", - 3: "ANDROID", -} - -var AppUrlOperatingSystemTypeEnum_AppUrlOperatingSystemType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "IOS": 2, - "ANDROID": 3, -} - -func (x AppUrlOperatingSystemTypeEnum_AppUrlOperatingSystemType) String() string { - return proto.EnumName(AppUrlOperatingSystemTypeEnum_AppUrlOperatingSystemType_name, int32(x)) -} - -func (AppUrlOperatingSystemTypeEnum_AppUrlOperatingSystemType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_9be88570ce0e911d, []int{0, 0} -} - -// The possible OS types for a deeplink AppUrl. -type AppUrlOperatingSystemTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AppUrlOperatingSystemTypeEnum) Reset() { *m = AppUrlOperatingSystemTypeEnum{} } -func (m *AppUrlOperatingSystemTypeEnum) String() string { return proto.CompactTextString(m) } -func (*AppUrlOperatingSystemTypeEnum) ProtoMessage() {} -func (*AppUrlOperatingSystemTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_9be88570ce0e911d, []int{0} -} - -func (m *AppUrlOperatingSystemTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AppUrlOperatingSystemTypeEnum.Unmarshal(m, b) -} -func (m *AppUrlOperatingSystemTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AppUrlOperatingSystemTypeEnum.Marshal(b, m, deterministic) -} -func (m *AppUrlOperatingSystemTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AppUrlOperatingSystemTypeEnum.Merge(m, src) -} -func (m *AppUrlOperatingSystemTypeEnum) XXX_Size() int { - return xxx_messageInfo_AppUrlOperatingSystemTypeEnum.Size(m) -} -func (m *AppUrlOperatingSystemTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_AppUrlOperatingSystemTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_AppUrlOperatingSystemTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.AppUrlOperatingSystemTypeEnum_AppUrlOperatingSystemType", AppUrlOperatingSystemTypeEnum_AppUrlOperatingSystemType_name, AppUrlOperatingSystemTypeEnum_AppUrlOperatingSystemType_value) - proto.RegisterType((*AppUrlOperatingSystemTypeEnum)(nil), "google.ads.googleads.v1.enums.AppUrlOperatingSystemTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/app_url_operating_system_type.proto", fileDescriptor_9be88570ce0e911d) -} - -var fileDescriptor_9be88570ce0e911d = []byte{ - // 314 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x41, 0x4b, 0xc3, 0x30, - 0x18, 0x75, 0x1d, 0x38, 0xc8, 0x0e, 0x96, 0xde, 0x14, 0x27, 0x6c, 0x3f, 0x20, 0xa1, 0x78, 0x8b, - 0xa7, 0xcc, 0xcd, 0x51, 0x84, 0x76, 0x38, 0x37, 0x41, 0x0a, 0x25, 0xda, 0x10, 0x0a, 0x6d, 0x12, - 0x9a, 0x6c, 0xd0, 0xbf, 0xe3, 0xd1, 0x9f, 0xe2, 0x4f, 0xf1, 0xea, 0x1f, 0x90, 0x26, 0xb6, 0xb7, - 0x7a, 0x09, 0x8f, 0xef, 0x7b, 0xdf, 0x7b, 0x2f, 0x0f, 0x10, 0x2e, 0x25, 0x2f, 0x19, 0xa2, 0xb9, - 0x46, 0x0e, 0xb6, 0xe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x57, 0xb7, 0x4f, 0x49, 0xae, - 0xd3, 0x7e, 0x9f, 0x1e, 0xc2, 0xd4, 0xee, 0xbf, 0xbd, 0xb9, 0x1b, 0x62, 0x4c, 0x72, 0x8d, 0x71, - 0xcf, 0xc0, 0xf8, 0x10, 0x62, 0x6c, 0x39, 0x6f, 0xe7, 0x36, 0xd8, 0xed, 0x6f, 0x00, 0x00, 0x00, - 0xff, 0xff, 0x20, 0x39, 0x84, 0x74, 0xf0, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/asset_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/asset_type.pb.go deleted file mode 100644 index d47c7386..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/asset_type.pb.go +++ /dev/null @@ -1,133 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/asset_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible types of asset. -type AssetTypeEnum_AssetType int32 - -const ( - // Not specified. - AssetTypeEnum_UNSPECIFIED AssetTypeEnum_AssetType = 0 - // Used for return value only. Represents value unknown in this version. - AssetTypeEnum_UNKNOWN AssetTypeEnum_AssetType = 1 - // YouTube video asset. - AssetTypeEnum_YOUTUBE_VIDEO AssetTypeEnum_AssetType = 2 - // Media bundle asset. - AssetTypeEnum_MEDIA_BUNDLE AssetTypeEnum_AssetType = 3 - // Image asset. - AssetTypeEnum_IMAGE AssetTypeEnum_AssetType = 4 - // Text asset. - AssetTypeEnum_TEXT AssetTypeEnum_AssetType = 5 -) - -var AssetTypeEnum_AssetType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "YOUTUBE_VIDEO", - 3: "MEDIA_BUNDLE", - 4: "IMAGE", - 5: "TEXT", -} - -var AssetTypeEnum_AssetType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "YOUTUBE_VIDEO": 2, - "MEDIA_BUNDLE": 3, - "IMAGE": 4, - "TEXT": 5, -} - -func (x AssetTypeEnum_AssetType) String() string { - return proto.EnumName(AssetTypeEnum_AssetType_name, int32(x)) -} - -func (AssetTypeEnum_AssetType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_491e1f3963d1cbfd, []int{0, 0} -} - -// Container for enum describing the types of asset. -type AssetTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AssetTypeEnum) Reset() { *m = AssetTypeEnum{} } -func (m *AssetTypeEnum) String() string { return proto.CompactTextString(m) } -func (*AssetTypeEnum) ProtoMessage() {} -func (*AssetTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_491e1f3963d1cbfd, []int{0} -} - -func (m *AssetTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AssetTypeEnum.Unmarshal(m, b) -} -func (m *AssetTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AssetTypeEnum.Marshal(b, m, deterministic) -} -func (m *AssetTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AssetTypeEnum.Merge(m, src) -} -func (m *AssetTypeEnum) XXX_Size() int { - return xxx_messageInfo_AssetTypeEnum.Size(m) -} -func (m *AssetTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_AssetTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_AssetTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.AssetTypeEnum_AssetType", AssetTypeEnum_AssetType_name, AssetTypeEnum_AssetType_value) - proto.RegisterType((*AssetTypeEnum)(nil), "google.ads.googleads.v1.enums.AssetTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/asset_type.proto", fileDescriptor_491e1f3963d1cbfd) -} - -var fileDescriptor_491e1f3963d1cbfd = []byte{ - // 326 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x4f, 0x4e, 0xf3, 0x30, - 0x14, 0xc4, 0xbf, 0xa6, 0xed, 0x07, 0x75, 0x29, 0x18, 0x2f, 0x11, 0x5d, 0xb4, 0x07, 0x70, 0x14, - 0xb1, 0x33, 0x2b, 0x87, 0x98, 0x2a, 0x82, 0xa6, 0x95, 0x48, 0xc2, 0x1f, 0x45, 0xaa, 0x42, 0x13, - 0x45, 0x95, 0x5a, 0x3b, 0xaa, 0xdd, 0x4a, 0xbd, 0x0e, 0x4b, 0x8e, 0xc2, 0x35, 0xd8, 0x71, 0x0a, - 0x14, 0x9b, 0x64, 0x07, 0x1b, 0x6b, 0xf4, 0xde, 0xef, 0x8d, 0xc6, 0x03, 0x70, 0x21, 0x44, 0xb1, - 0xce, 0xed, 0x34, 0x93, 0xb6, 0x91, 0x95, 0xda, 0x3b, 0x76, 0xce, 0x77, 0x1b, 0x69, 0xa7, 0x52, - 0xe6, 0x6a, 0xa1, 0x0e, 0x65, 0x8e, 0xcb, 0xad, 0x50, 0x02, 0x0d, 0x0d, 0x84, 0xd3, 0x4c, 0xe2, - 0x86, 0xc7, 0x7b, 0x07, 0x6b, 0xfe, 0xe2, 0xb2, 0xb6, 0x2b, 0x57, 0x76, 0xca, 0xb9, 0x50, 0xa9, - 0x5a, 0x09, 0x2e, 0xcd, 0xf1, 0x58, 0x81, 0x01, 0xad, 0x0c, 0xc3, 0x43, 0x99, 0x33,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x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/attribution_model.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/attribution_model.pb.go deleted file mode 100644 index 252180b9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/attribution_model.pb.go +++ /dev/null @@ -1,159 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/attribution_model.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_544444d91d4f05f0, []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_544444d91d4f05f0, []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 (m *AttributionModelEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttributionModelEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.AttributionModelEnum_AttributionModel", AttributionModelEnum_AttributionModel_name, AttributionModelEnum_AttributionModel_value) - proto.RegisterType((*AttributionModelEnum)(nil), "google.ads.googleads.v1.enums.AttributionModelEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/attribution_model.proto", fileDescriptor_544444d91d4f05f0) -} - -var fileDescriptor_544444d91d4f05f0 = []byte{ - // 407 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xdd, 0x6a, 0xd4, 0x40, - 0x1c, 0xc5, 0xdd, 0x08, 0x2a, 0x53, 0xc1, 0x61, 0xb0, 0x17, 0x8a, 0x05, 0x5b, 0x2a, 0x54, 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x71, 0xa2, 0xbc, 0x40, 0x78, 0x17, 0x38, 0x27, 0xaf, 0xd1, 0xab, 0x5b, - 0x2b, 0xe6, 0x10, 0x79, 0x1f, 0x14, 0x24, 0x49, 0x24, 0xdc, 0x79, 0x22, 0x42, 0xa9, 0xce, 0x45, - 0x34, 0xa0, 0xdf, 0xc8, 0x29, 0x7a, 0x39, 0x8e, 0x06, 0x42, 0x72, 0x88, 0x70, 0x41, 0xce, 0xd0, - 0xe9, 0x38, 0x95, 0x88, 0x4b, 0xae, 0x7c, 0xee, 0xc1, 0x67, 0xfc, 0x9d, 0xbc, 0x41, 0x67, 0xe3, - 0xe4, 0x2c, 0x8c, 0x45, 0x27, 0x5c, 0x88, 0xb9, 0x8f, 0xcb, 0xfd, 0x07, 0xf5, 0x21, 0x01, 0xe5, - 0x47, 0x62, 0xc1, 0x25, 0xfe, 0xe1, 0xde, 0x4c, 0xd0, 0xf1, 0x57, 0x5d, 0xd1, 0xbd, 0x63, 0xb8, - 0x87, 0x77, 0xaf, 0x74, 0xd6, 0xae, 0x30, 0x9b, 0x7c, 0x71, 0x6f, 0x73, 0x85, 0x5e, 0xa5, 0x75, - 0x41, 0xf5, 0xa6, 0xb0, 0x8b, 0xbc, 0xee, 0x36, 0xda, 0xbd, 0x85, 0x75, 0x69, 0x46, 0x9e, 0xc6, - 0xfb, 0xee, 0xfb, 0xd3, 0xba, 0x3f, 0x05, 0xf8, 0x65, 0x1d, 0x4d, 0xfb, 0x2a, 0xc8, 0x0c, 0xed, - 0x65, 0xab, 0x16, 0x0e, 0x6d, 0x77, 0x35, 0x7f, 0x77, 0xfe, 0x12, 0x32, 0xb3, 0x1c, 0xfc, 0xe5, - 0xc2, 0x59, 0x76, 0xfe, 0x8d, 0x75, 0xdc, 0xff, 0x64, 0x0c, 0x32, 0xc3, 0xd8, 0x40, 0x30, 0xb6, - 0x70, 0x18, 0xeb, 0x98, 0xab, 0x07, 0xdd, 0xc1, 0xde, 0xfe, 0x0b, 0x00, 0x00, 0xff, 0xff, 0xd9, - 0xf0, 0xcb, 0x05, 0xb2, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/bid_modifier_source.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/bid_modifier_source.pb.go deleted file mode 100644 index e7019f45..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/bid_modifier_source.pb.go +++ /dev/null @@ -1,125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/bid_modifier_source.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_7d26e3acf5e20574, []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_7d26e3acf5e20574, []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 (m *BidModifierSourceEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_BidModifierSourceEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.BidModifierSourceEnum_BidModifierSource", BidModifierSourceEnum_BidModifierSource_name, BidModifierSourceEnum_BidModifierSource_value) - proto.RegisterType((*BidModifierSourceEnum)(nil), "google.ads.googleads.v1.enums.BidModifierSourceEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/bid_modifier_source.proto", fileDescriptor_7d26e3acf5e20574) -} - -var fileDescriptor_7d26e3acf5e20574 = []byte{ - // 309 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdf, 0x4a, 0xf3, 0x30, - 0x1c, 0xfd, 0xd6, 0xc1, 0xa7, 0x64, 0x82, 0xb5, 0xa0, 0x17, 0xe2, 0x2e, 0xb6, 0x07, 0x48, 0x28, - 0x5e, 0x08, 0xf1, 0x2a, 0xdd, 0x66, 0x19, 0xb2, 0xae, 0x38, 0x56, 0x41, 0x0a, 0xa5, 0x5b, 0xba, - 0x10, 0x58, 0x93, 0xd2, 0xb4, 0x7b, 0x20, 0x2f, 0x7d, 0x14, 0x1f, 0x45, 0x5f, 0x42, 0x9a, 0xac, - 0xbd, 0x19, 0x7a, 0x13, 0x4e, 0x72, 0xfe, 0xe4, 0xfc, 0x7e, 0xe0, 0x81, 0x49, 0xc9, 0xf6, 0x19, - 0x4a, 0xa9, 0x42, 0x06, 0x36, 0xe8, 0xe0, 0xa2, 0x4c, 0xd4, 0xb9, 0x42, 0x1b, 0x4e, 0x93, 0x5c, - 0x52, 0xbe, 0xe3, 0x59, 0x99, 0x28, 0x59, 0x97, 0xdb, 0x0c, 0x16, 0xa5, 0xac, 0xa4, 0x33, 0x34, - 0x6a, 0x98, 0x52, 0x05, 0x3b, 0x23, 0x3c, 0xb8, 0x50, 0x1b, 0x6f, 0xef, 0xda, 0xdc, 0x82, 0xa3, - 0x54, 0x08, 0x59, 0xa5, 0x15, 0x97, 0x42, 0x19, 0xf3, 0x78, 0x07, 0xae, 0x3d, 0x4e, 0x17, 0xc7, - 0xe0, 0x95, 0xce, 0x9d, 0x89, 0x3a, 0x1f, 0x2f, 0xc0, 0xd5, 0x09, 0xe1, 0x5c, 0x82, 0xc1, 0x3a, - 0x58, 0x85, 0xb3, 0xc9, 0xfc, 0x69, 0x3e, 0x9b, 0xda, 0xff, 0x9c, 0x01, 0x38, 0x5b, 0x07, 0xcf, - 0xc1, 0xf2, 0x35, 0xb0, 0x7b, 0xce, 0x05, 0x38, 0x9f, 0x90, 0x45, 0x48, 0xe6, 0x7e, 0x60, 0x5b, - 0xcd, 0x8d, 0x4c, 0x13, 0xff, 0x65, 0xb9, 0x0e, 0xed, 0xbe, 0xf7, 0xdd, 0x03, 0xa3, 0xad, 0xcc, - 0xe1, 0x9f, 0x5d, 0xbd, 0x9b, 0x93, 0x2f, 0xc3, 0xa6, 0x65, 0xd8, 0x7b, 0xf3, 0x8e, 0x46, 0x26, - 0xf7, 0xa9, 0x60, 0x50, 0x96, 0x0c, 0xb1, 0x4c, 0xe8, 0x19, 0xda, 0x6d, 0x15, 0x5c, 0xfd, 0xb2, - 0xbc, 0x47, 0x7d, 0xbe, 0x5b, 0x7d, 0x9f, 0x90, 0x0f, 0x6b, 0xe8, 0x9b, 0x28, 0x42, 0x15, 0x34, - 0xb0, 0x41, 0x91, 0x0b, 0x9b, 0xb9, 0xd5, 0x67, 0xcb, 0xc7, 0x84, 0xaa, 0xb8, 0xe3, 0xe3, 0xc8, - 0x8d, 0x35, 0xff, 0x65, 0x8d, 0xcc, 0x23, 0xc6, 0x84, 0x2a, 0x8c, 0x3b, 0x05, 0xc6, 0x91, 0x8b, - 0xb1, 0xd6, 0x6c, 0xfe, 0xeb, 0x62, 0xf7, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x0b, 0x35, 0xc2, - 0xa5, 0xd4, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/bidding_source.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/bidding_source.pb.go deleted file mode 100644 index 86ff4092..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/bidding_source.pb.go +++ /dev/null @@ -1,131 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/bidding_source.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Indicates where a bid or target is defined. For example, an ad group -// criterion may define a cpc bid directly, or it can inherit its cpc bid from -// the ad group. -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 - // Effective bid or target is inherited from campaign bidding strategy. - BiddingSourceEnum_CAMPAIGN_BIDDING_STRATEGY BiddingSourceEnum_BiddingSource = 5 - // The bid or target is defined on the ad group. - BiddingSourceEnum_AD_GROUP BiddingSourceEnum_BiddingSource = 6 - // The bid or target is defined on the ad group criterion. - BiddingSourceEnum_AD_GROUP_CRITERION BiddingSourceEnum_BiddingSource = 7 -) - -var BiddingSourceEnum_BiddingSource_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 5: "CAMPAIGN_BIDDING_STRATEGY", - 6: "AD_GROUP", - 7: "AD_GROUP_CRITERION", -} - -var BiddingSourceEnum_BiddingSource_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "CAMPAIGN_BIDDING_STRATEGY": 5, - "AD_GROUP": 6, - "AD_GROUP_CRITERION": 7, -} - -func (x BiddingSourceEnum_BiddingSource) String() string { - return proto.EnumName(BiddingSourceEnum_BiddingSource_name, int32(x)) -} - -func (BiddingSourceEnum_BiddingSource) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_50941e96e9ec31bb, []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_50941e96e9ec31bb, []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 (m *BiddingSourceEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_BiddingSourceEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.BiddingSourceEnum_BiddingSource", BiddingSourceEnum_BiddingSource_name, BiddingSourceEnum_BiddingSource_value) - proto.RegisterType((*BiddingSourceEnum)(nil), "google.ads.googleads.v1.enums.BiddingSourceEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/bidding_source.proto", fileDescriptor_50941e96e9ec31bb) -} - -var fileDescriptor_50941e96e9ec31bb = []byte{ - // 336 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdf, 0x4a, 0xfb, 0x30, - 0x18, 0xfd, 0x75, 0x3f, 0xdc, 0x24, 0x53, 0xac, 0xb9, 0x10, 0x14, 0x77, 0xb1, 0x3d, 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xb6, 0xdb, 0xf0, 0x02, 0xc0, 0xe6, 0x97, 0x0d, 0x93, 0x68, 0x12, 0x24, - 0xd1, 0x88, 0xda, 0x1d, 0xef, 0xd3, 0x02, 0xfd, 0x85, 0x5c, 0xa1, 0x3f, 0xd3, 0x78, 0xf0, 0xe0, - 0xae, 0xb8, 0xce, 0x10, 0x5b, 0x2f, 0xde, 0x8f, 0x88, 0xcb, 0x65, 0x2e, 0x38, 0x92, 0x15, 0x77, - 0x78, 0x21, 0x74, 0xc2, 0xa6, 0xc6, 0x75, 0xa9, 0x7e, 0x69, 0xf5, 0x4e, 0xbf, 0x6f, 0xad, 0xff, - 0x21, 0x21, 0xef, 0xad, 0x5e, 0x68, 0xac, 0x08, 0x53, 0xc8, 0xc0, 0x1a, 0xcd, 0x5c, 0x54, 0x17, - 0xa3, 0x3e, 0x9a, 0x7d, 0x4a, 0x98, 0x4a, 0xf7, 0xfb, 0x74, 0xe6, 0xa6, 0x7a, 0xff, 0xd5, 0xea, - 0x9b, 0x21, 0xc6, 0x84, 0x29, 0x8c, 0xf7, 0x0c, 0x8c, 0x67, 0x2e, 0xc6, 0x9a, 0x33, 0x6f, 0xeb, - 0xc3, 0x6e, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xa2, 0xc9, 0xa8, 0x91, 0xed, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/bidding_strategy_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/bidding_strategy_status.pb.go deleted file mode 100644 index 3149b601..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/bidding_strategy_status.pb.go +++ /dev/null @@ -1,126 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/bidding_strategy_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The possible statuses of a BiddingStrategy. -type BiddingStrategyStatusEnum_BiddingStrategyStatus int32 - -const ( - // No value has been specified. - BiddingStrategyStatusEnum_UNSPECIFIED BiddingStrategyStatusEnum_BiddingStrategyStatus = 0 - // The received value is not known in this version. - // - // This is a response-only value. - BiddingStrategyStatusEnum_UNKNOWN BiddingStrategyStatusEnum_BiddingStrategyStatus = 1 - // The bidding strategy is enabled. - BiddingStrategyStatusEnum_ENABLED BiddingStrategyStatusEnum_BiddingStrategyStatus = 2 - // The bidding strategy is removed. - BiddingStrategyStatusEnum_REMOVED BiddingStrategyStatusEnum_BiddingStrategyStatus = 4 -) - -var BiddingStrategyStatusEnum_BiddingStrategyStatus_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "ENABLED", - 4: "REMOVED", -} - -var BiddingStrategyStatusEnum_BiddingStrategyStatus_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "ENABLED": 2, - "REMOVED": 4, -} - -func (x BiddingStrategyStatusEnum_BiddingStrategyStatus) String() string { - return proto.EnumName(BiddingStrategyStatusEnum_BiddingStrategyStatus_name, int32(x)) -} - -func (BiddingStrategyStatusEnum_BiddingStrategyStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1e6f31065c294d03, []int{0, 0} -} - -// Message describing BiddingStrategy statuses. -type BiddingStrategyStatusEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BiddingStrategyStatusEnum) Reset() { *m = BiddingStrategyStatusEnum{} } -func (m *BiddingStrategyStatusEnum) String() string { return proto.CompactTextString(m) } -func (*BiddingStrategyStatusEnum) ProtoMessage() {} -func (*BiddingStrategyStatusEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_1e6f31065c294d03, []int{0} -} - -func (m *BiddingStrategyStatusEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BiddingStrategyStatusEnum.Unmarshal(m, b) -} -func (m *BiddingStrategyStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BiddingStrategyStatusEnum.Marshal(b, m, deterministic) -} -func (m *BiddingStrategyStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_BiddingStrategyStatusEnum.Merge(m, src) -} -func (m *BiddingStrategyStatusEnum) XXX_Size() int { - return xxx_messageInfo_BiddingStrategyStatusEnum.Size(m) -} -func (m *BiddingStrategyStatusEnum) XXX_DiscardUnknown() { - xxx_messageInfo_BiddingStrategyStatusEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_BiddingStrategyStatusEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.BiddingStrategyStatusEnum_BiddingStrategyStatus", BiddingStrategyStatusEnum_BiddingStrategyStatus_name, BiddingStrategyStatusEnum_BiddingStrategyStatus_value) - proto.RegisterType((*BiddingStrategyStatusEnum)(nil), "google.ads.googleads.v1.enums.BiddingStrategyStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/bidding_strategy_status.proto", fileDescriptor_1e6f31065c294d03) -} - -var fileDescriptor_1e6f31065c294d03 = []byte{ - // 307 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xd1, 0x4a, 0xc3, 0x30, - 0x14, 0x75, 0x55, 0x14, 0xb2, 0x07, 0xcb, 0xc0, 0x07, 0x87, 0x7b, 0xd8, 0x3e, 0x20, 0xa1, 0xf8, - 0x96, 0x3d, 0xa5, 0x2e, 0x8e, 0xa1, 0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8, 0x16, 0x0b, 0xb5, 0x65, - 0x52, 0x40, 0x55, 0x0a, 0x24, 0x72, 0xe9, 0xb6, 0x69, 0x6e, 0xb7, 0x2f, 0xf4, 0x1f, 0xa7, 0x1c, - 0xbb, 0xf7, 0x23, 0x38, 0x9d, 0x12, 0xf2, 0x19, 0x0c, 0xa6, 0xde, 0x8a, 0x70, 0x0d, 0x3d, 0xb4, - 0x28, 0x8d, 0xa0, 0xdd, 0x5e, 0x7f, 0x35, 0x7c, 0x46, 0xb8, 0xce, 0x5a, 0x3e, 0x4b, 0xa3, 0xcc, - 0xf1, 0xdf, 0xc1, 0xd0, 0x7f, 0x62, 0x4c, 0xb8, 0xc6, 0xb8, 0xed, 0xc0, 0x38, 0x8d, 0x30, 0x76, - 0x3d, 0x9b, 0x73, 0x17, 0xec, 0xf6, 0x37, 0x00, 0x00, 0xff, 0xff, 0xe6, 0xb7, 0x88, 0x78, 0xe2, - 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/bidding_strategy_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/bidding_strategy_type.pb.go deleted file mode 100644 index b6df67fd..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/bidding_strategy_type.pb.go +++ /dev/null @@ -1,205 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/bidding_strategy_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // Commission is an automatic bidding strategy in which the advertiser pays - // a certain portion of the conversion value. - BiddingStrategyTypeEnum_COMMISSION BiddingStrategyTypeEnum_BiddingStrategyType = 16 - // 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 CPM is an automated bid strategy that sets bids to help get - // as many impressions as possible at the target cost per one thousand - // impressions (CPM) you set. - BiddingStrategyTypeEnum_TARGET_CPM BiddingStrategyTypeEnum_BiddingStrategyType = 14 - // An automated bidding strategy that sets bids so that a certain percentage - // of search ads are shown at the top of the first page (or other targeted - // location). - BiddingStrategyTypeEnum_TARGET_IMPRESSION_SHARE BiddingStrategyTypeEnum_BiddingStrategyType = 15 - // 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", - 16: "COMMISSION", - 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", - 14: "TARGET_CPM", - 15: "TARGET_IMPRESSION_SHARE", - 7: "TARGET_OUTRANK_SHARE", - 8: "TARGET_ROAS", - 9: "TARGET_SPEND", -} - -var BiddingStrategyTypeEnum_BiddingStrategyType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "COMMISSION": 16, - "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_CPM": 14, - "TARGET_IMPRESSION_SHARE": 15, - "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_f0033534dbb333f5, []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_f0033534dbb333f5, []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 (m *BiddingStrategyTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_BiddingStrategyTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.BiddingStrategyTypeEnum_BiddingStrategyType", BiddingStrategyTypeEnum_BiddingStrategyType_name, BiddingStrategyTypeEnum_BiddingStrategyType_value) - proto.RegisterType((*BiddingStrategyTypeEnum)(nil), "google.ads.googleads.v1.enums.BiddingStrategyTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/bidding_strategy_type.proto", fileDescriptor_f0033534dbb333f5) -} - -var fileDescriptor_f0033534dbb333f5 = []byte{ - // 467 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xdd, 0x6e, 0xd3, 0x30, - 0x14, 0xc7, 0x69, 0x06, 0x1b, 0xb8, 0x63, 0x33, 0x01, 0xb4, 0xf1, 0xd1, 0x8b, 0xed, 0x01, 0x1c, - 0x55, 0x5c, 0x11, 0xae, 0xdc, 0xd4, 0x74, 0xd1, 0xe6, 0x0f, 0xe5, 0x0b, 0x34, 0x55, 0x8a, 0x32, - 0x12, 0x45, 0x91, 0xd6, 0x38, 0xaa, 0xb3, 0x49, 0x7d, 0x1d, 0x2e, 0x79, 0x14, 0x9e, 0x82, 0x6b, - 0x24, 0xde, 0x80, 0x0b, 0x64, 0x27, 0xad, 0x54, 0xa9, 0xec, 0x26, 0x3a, 0x7f, 0xff, 0xce, 0xf9, - 0xfb, 0xc4, 0xe7, 0x80, 0x8f, 0xa5, 0x94, 0xe5, 0x6d, 0xe1, 0x64, 0xb9, 0x72, 0xba, 0x50, 0x47, - 0xf7, 0x63, 0xa7, 0xa8, 0xef, 0x16, 0xca, 0xb9, 0xa9, 0xf2, 0xbc, 0xaa, 0xcb, 0x54, 0xb5, 0xcb, - 0xac, 0x2d, 0xca, 0x55, 0xda, 0xae, 0x9a, 0x02, 0x35, 0x4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c, 0xf7, - 0xb7, 0x34, 0x85, 0x47, 0xf6, 0x3b, 0x70, 0xd2, 0x6b, 0x9f, 0x8a, 0x80, 0x98, 0x3f, 0x4b, 0xc3, - 0x0b, 0x1c, 0x10, 0x78, 0xac, 0xbb, 0xeb, 0x21, 0x8f, 0xa3, 0x00, 0xb3, 0xcb, 0x9e, 0x1c, 0xe8, - 0x7b, 0x7a, 0x12, 0x70, 0x1c, 0xc2, 0xa7, 0xfa, 0x29, 0xfa, 0x83, 0x50, 0x10, 0x36, 0x85, 0xcf, - 0x26, 0x7f, 0x06, 0xe0, 0xec, 0x9b, 0x5c, 0xa0, 0x07, 0x47, 0x38, 0x39, 0xdd, 0x31, 0x05, 0xa1, - 0xc7, 0x27, 0x06, 0xd7, 0x93, 0xbe, 0xb4, 0x94, 0xb7, 0x59, 0x5d, 0x22, 0xb9, 0x2c, 0x9d, 0xb2, - 0xa8, 0xcd, 0x70, 0xd7, 0x8b, 0xd4, 0x54, 0xea, 0x3f, 0x7b, 0xf5, 0xc9, 0x7c, 0xbf, 0x5b, 0x7b, - 0x33, 0x8c, 0x7f, 0x58, 0xa3, 0x59, 0x67, 0x85, 0x73, 0x85, 0xba, 0x50, 0x47, 0xc9, 0x18, 0xe9, - 0x6d, 0x50, 0x3f, 0xd7, 0x7c, 0x8e, 0x73, 0x35, 0xdf, 0xf0, 0x79, 0x32, 0x9e, 0x1b, 0xfe, 0xdb, - 0x3a, 0xeb, 0x0e, 0x5d, 0x17, 0xe7, 0xca, 0x75, 0x37, 0x19, 0xae, 0x9b, 0x8c, 0x5d, 0xd7, 0xe4, - 0xdc, 0xec, 0x9b, 0xc6, 0x3e, 0xfc, 0x0b, 0x00, 0x00, 0xff, 0xff, 0xf4, 0xb0, 0x90, 0x50, 0xef, - 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/billing_setup_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/billing_setup_status.pb.go deleted file mode 100644 index 7fef9ce2..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/billing_setup_status.pb.go +++ /dev/null @@ -1,135 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/billing_setup_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_1a153c8a5f7bc531, []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_1a153c8a5f7bc531, []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 (m *BillingSetupStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_BillingSetupStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.BillingSetupStatusEnum_BillingSetupStatus", BillingSetupStatusEnum_BillingSetupStatus_name, BillingSetupStatusEnum_BillingSetupStatus_value) - proto.RegisterType((*BillingSetupStatusEnum)(nil), "google.ads.googleads.v1.enums.BillingSetupStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/billing_setup_status.proto", fileDescriptor_1a153c8a5f7bc531) -} - -var fileDescriptor_1a153c8a5f7bc531 = []byte{ - // 335 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdf, 0x4a, 0xfb, 0x30, - 0x18, 0xfd, 0xb5, 0xfb, 0xf9, 0x2f, 0x73, 0x58, 0x73, 0xa1, 0x20, 0xee, 0x62, 0x7b, 0x80, 0x94, - 0xe2, 0x8d, 0xc4, 0xab, 0x74, 0x8d, 0x73, 0x38, 0xb2, 0xe2, 0x58, 0x05, 0x29, 0x8c, 0xce, 0x96, - 0x50, 0xe8, 0x92, 0xb2, 0xb4, 0x7b, 0x07, 0x5f, 0xc3, 0x4b, 0x1f, 0xc5, 0x47, 0x11, 0x1f, 0x42, - 0x9a, 0xae, 0xbd, 0x19, 0x7a, 0x13, 0x4e, 0xbe, 0xf3, 0x9d, 0xc3, 0x77, 0x0e, 0xb8, 0xe5, 0x52, - 0xf2, 0x2c, 0xb1, 0xa3, 0x58, 0xd9, 0x35, 0xac, 0xd0, 0xd6, 0xb1, 0x13, 0x51, 0xae, 0x95, 0xbd, - 0x4a, 0xb3, 0x2c, 0x15, 0x7c, 0xa9, 0x92, 0xa2, 0xcc, 0x97, 0xaa, 0x88, 0x8a, 0x52, 0xa1, 0x7c, - 0x23, 0x0b, 0x09, 0xfb, 0xf5, 0x3a, 0x8a, 0x62, 0x85, 0x5a, 0x25, 0xda, 0x3a, 0x48, 0x2b, 0xaf, - 0xae, 0x1b, 0xe3, 0x3c, 0xb5, 0x23, 0x21, 0x64, 0x11, 0x15, 0xa9, 0x14, 0x3b, 0xf1, 0xf0, 0xcd, - 0x00, 0x17, 0x6e, 0xed, 0x3d, 0xaf, 0xac, 0xe7, 0xda, 0x99, 0x8a, 0x72, 0x3d, 0x94, 0x00, 0xee, - 0x33, 0xf0, 0x0c, 0x74, 0x17, 0x6c, 0xee, 0xd3, 0xd1, 0xe4, 0x7e, 0x42, 0x3d, 0xeb, 0x1f, 0xec, - 0x82, 0xa3, 0x05, 0x7b, 0x64, 0xb3, 0x67, 0x66, 0x19, 0xd5, 0xc7, 0xa7, 0xcc, 0x9b, 0xb0, 0xb1, - 0x65, 0xc2, 0x73, 0xd0, 0x23, 0xbe, 0xff, 0x34, 0x0b, 0xa8, 0xb7, 0x7c, 0xa0, 0x53, 0xcf, 0xea, - 0xc0, 0x53, 0x70, 0xdc, 0x8c, 0xac, 0xff, 0xb0, 0x07, 0x4e, 0x46, 0x84, 0x8d, 0xe8, 0x74, 0x4a, - 0x3d, 0xeb, 0xc0, 0xfd, 0x36, 0xc0, 0xe0, 0x55, 0xae, 0xd1, 0x9f, 0x79, 0xdc, 0xcb, 0xfd, 0xa3, - 0xfc, 0x2a, 0x8a, 0x6f, 0xbc, 0xb8, 0x3b, 0x25, 0x97, 0x59, 0x24, 0x38, 0x92, 0x1b, 0x6e, 0xf3, - 0x44, 0xe8, 0xa0, 0x4d, 0xa7, 0x79, 0xaa, 0x7e, 0xa9, 0xf8, 0x4e, 0xbf, 0xef, 0x66, 0x67, 0x4c, - 0xc8, 0x87, 0xd9, 0x1f, 0xd7, 0x56, 0x24, 0x56, 0xa8, 0x86, 0x15, 0x0a, 0x1c, 0x54, 0x55, 0xa3, - 0x3e, 0x1b, 0x3e, 0x24, 0xb1, 0x0a, 0x5b, 0x3e, 0x0c, 0x9c, 0x50, 0xf3, 0x5f, 0xe6, 0xa0, 0x1e, - 0x62, 0x4c, 0x62, 0x85, 0x71, 0xbb, 0x81, 0x71, 0xe0, 0x60, 0xac, 0x77, 0x56, 0x87, 0xfa, 0xb0, - 0x9b, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd4, 0x95, 0x7e, 0x6c, 0xfa, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/brand_safety_suitability.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/brand_safety_suitability.pb.go deleted file mode 100644 index e2277994..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/brand_safety_suitability.pb.go +++ /dev/null @@ -1,150 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/brand_safety_suitability.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// 3-Tier brand safety suitability control. -type BrandSafetySuitabilityEnum_BrandSafetySuitability int32 - -const ( - // Not specified. - BrandSafetySuitabilityEnum_UNSPECIFIED BrandSafetySuitabilityEnum_BrandSafetySuitability = 0 - // Used for return value only. Represents value unknown in this version. - BrandSafetySuitabilityEnum_UNKNOWN BrandSafetySuitabilityEnum_BrandSafetySuitability = 1 - // This option lets you show ads across all inventory on YouTube and video - // partners that meet our standards for monetization. This option may be an - // appropriate choice for brands that want maximum access to the full - // breadth of videos eligible for ads, including, for example, videos that - // have strong profanity in the context of comedy or a documentary, or - // excessive violence as featured in video games. - BrandSafetySuitabilityEnum_EXPANDED_INVENTORY BrandSafetySuitabilityEnum_BrandSafetySuitability = 2 - // This option lets you show ads across a wide range of content that's - // appropriate for most brands, such as popular music videos, documentaries, - // and movie trailers. The content you can show ads on is based on YouTube's - // advertiser-friendly content guidelines that take into account, for - // example, the strength or frequency of profanity, or the appropriateness - // of subject matter like sensitive events. Ads won't show, for example, on - // content with repeated strong profanity, strong sexual content, or graphic - // violence. - BrandSafetySuitabilityEnum_STANDARD_INVENTORY BrandSafetySuitabilityEnum_BrandSafetySuitability = 3 - // This option lets you show ads on a reduced range of content that's - // appropriate for brands with particularly strict guidelines around - // inappropriate language and sexual suggestiveness; above and beyond what - // YouTube's advertiser-friendly content guidelines address. The videos - // accessible in this sensitive category meet heightened requirements, - // especially for inappropriate language and sexual suggestiveness. For - // example, your ads will be excluded from showing on some of YouTube's most - // popular music videos and other pop culture content across YouTube and - // Google video partners. - BrandSafetySuitabilityEnum_LIMITED_INVENTORY BrandSafetySuitabilityEnum_BrandSafetySuitability = 4 -) - -var BrandSafetySuitabilityEnum_BrandSafetySuitability_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "EXPANDED_INVENTORY", - 3: "STANDARD_INVENTORY", - 4: "LIMITED_INVENTORY", -} - -var BrandSafetySuitabilityEnum_BrandSafetySuitability_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "EXPANDED_INVENTORY": 2, - "STANDARD_INVENTORY": 3, - "LIMITED_INVENTORY": 4, -} - -func (x BrandSafetySuitabilityEnum_BrandSafetySuitability) String() string { - return proto.EnumName(BrandSafetySuitabilityEnum_BrandSafetySuitability_name, int32(x)) -} - -func (BrandSafetySuitabilityEnum_BrandSafetySuitability) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_924c6c9918cc5552, []int{0, 0} -} - -// Container for enum with 3-Tier brand safety suitability control. -type BrandSafetySuitabilityEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BrandSafetySuitabilityEnum) Reset() { *m = BrandSafetySuitabilityEnum{} } -func (m *BrandSafetySuitabilityEnum) String() string { return proto.CompactTextString(m) } -func (*BrandSafetySuitabilityEnum) ProtoMessage() {} -func (*BrandSafetySuitabilityEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_924c6c9918cc5552, []int{0} -} - -func (m *BrandSafetySuitabilityEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BrandSafetySuitabilityEnum.Unmarshal(m, b) -} -func (m *BrandSafetySuitabilityEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BrandSafetySuitabilityEnum.Marshal(b, m, deterministic) -} -func (m *BrandSafetySuitabilityEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_BrandSafetySuitabilityEnum.Merge(m, src) -} -func (m *BrandSafetySuitabilityEnum) XXX_Size() int { - return xxx_messageInfo_BrandSafetySuitabilityEnum.Size(m) -} -func (m *BrandSafetySuitabilityEnum) XXX_DiscardUnknown() { - xxx_messageInfo_BrandSafetySuitabilityEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_BrandSafetySuitabilityEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.BrandSafetySuitabilityEnum_BrandSafetySuitability", BrandSafetySuitabilityEnum_BrandSafetySuitability_name, BrandSafetySuitabilityEnum_BrandSafetySuitability_value) - proto.RegisterType((*BrandSafetySuitabilityEnum)(nil), "google.ads.googleads.v1.enums.BrandSafetySuitabilityEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/brand_safety_suitability.proto", fileDescriptor_924c6c9918cc5552) -} - -var fileDescriptor_924c6c9918cc5552 = []byte{ - // 339 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x4d, 0x4b, 0xfb, 0x30, - 0x1c, 0xfe, 0xb7, 0xfb, 0xa3, 0x90, 0x1d, 0x9c, 0x05, 0x77, 0x98, 0xee, 0xb0, 0x7d, 0x80, 0x94, - 0xe2, 0x2d, 0x7a, 0x49, 0x6d, 0x1d, 0x45, 0xcd, 0xca, 0xba, 0xd5, 0x17, 0x0a, 0x23, 0xb3, 0xb5, - 0x14, 0xb6, 0x64, 0x2c, 0xdd, 0x60, 0x07, 0x3f, 0x89, 0x37, 0x8f, 0x7e, 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, - 0xf7, 0x70, 0xfb, 0x17, 0x43, 0x59, 0x30, 0x34, 0xee, 0xdc, 0x4f, 0x77, 0xce, 0xa7, 0x94, 0xe5, - 0x90, 0x2f, 0x72, 0x3b, 0xcf, 0x98, 0xaa, 0xbf, 0x59, 0x7b, 0x5e, 0x88, 0x5f, 0xc6, 0x3f, 0x51, - 0xef, 0xb3, 0x59, 0xeb, 0x61, 0xfc, 0x62, 0xb6, 0x7b, 0x3a, 0x0a, 0xa7, 0x02, 0x6a, 0x28, 0x51, - 0xec, 0x40, 0x39, 0x96, 0x78, 0xdd, 0xf0, 0x09, 0x4e, 0x45, 0x52, 0xf1, 0x49, 0xec, 0x24, 0x8a, - 0x7f, 0x33, 0x3b, 0xfa, 0x88, 0x10, 0x4e, 0x05, 0x42, 0x95, 0x02, 0xa1, 0xd8, 0x41, 0x48, 0x69, - 0x26, 0x3b, 0xea, 0x63, 0xc7, 0x1f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x21, 0x5e, 0x5b, 0x6e, 0x14, - 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/budget_delivery_method.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/budget_delivery_method.pb.go deleted file mode 100644 index fdff902c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/budget_delivery_method.pb.go +++ /dev/null @@ -1,127 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/budget_delivery_method.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_ab3c3b6a21a82551, []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_ab3c3b6a21a82551, []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 (m *BudgetDeliveryMethodEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_BudgetDeliveryMethodEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.BudgetDeliveryMethodEnum_BudgetDeliveryMethod", BudgetDeliveryMethodEnum_BudgetDeliveryMethod_name, BudgetDeliveryMethodEnum_BudgetDeliveryMethod_value) - proto.RegisterType((*BudgetDeliveryMethodEnum)(nil), "google.ads.googleads.v1.enums.BudgetDeliveryMethodEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/budget_delivery_method.proto", fileDescriptor_ab3c3b6a21a82551) -} - -var fileDescriptor_ab3c3b6a21a82551 = []byte{ - // 313 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x4a, 0xfb, 0x30, - 0x00, 0xfe, 0xad, 0x83, 0x9f, 0x92, 0x09, 0x96, 0xe2, 0x41, 0xc5, 0x1d, 0xb6, 0x07, 0x48, 0x28, - 0xde, 0xe2, 0x29, 0x5d, 0xe3, 0x18, 0x6a, 0x1d, 0xfb, 0x27, 0x48, 0x61, 0x74, 0x26, 0xc4, 0xc2, - 0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, 0x80, 0x2a, 0x17, 0x48, 0x70, 0x69, 0xfe, 0xd3, 0x8c, 0xb7, - 0x4b, 0xf5, 0x2f, 0x5b, 0xde, 0x98, 0xf3, 0xdd, 0xe9, 0x8e, 0x09, 0xf9, 0x70, 0xfa, 0x63, 0x1b, - 0x45, 0x98, 0x86, 0x16, 0xd6, 0x68, 0xe5, 0xc3, 0x7a, 0x00, 0xfd, 0xd9, 0xf0, 0x31, 0x61, 0x3a, - 0x6e, 0xf9, 0x78, 0xe5, 0xc7, 0x86, 0xff, 0x72, 0x06, 0xf6, 0x12, 0x63, 0xc2, 0x34, 0xc6, 0xad, - 0x02, 0xe3, 0x95, 0x8f, 0xb1, 0xd1, 0x6c, 0xfe, 0x9b, 0x62, 0xd7, 0x3f, 0x01, 0x00, 0x00, 0xff, - 0xff, 0x11, 0x07, 0xf6, 0x4b, 0xe3, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/budget_period.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/budget_period.pb.go deleted file mode 100644 index afa116da..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/budget_period.pb.go +++ /dev/null @@ -1,128 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/budget_period.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible period of a Budget. -type BudgetPeriodEnum_BudgetPeriod int32 - -const ( - // Not specified. - BudgetPeriodEnum_UNSPECIFIED BudgetPeriodEnum_BudgetPeriod = 0 - // Used for return value only. Represents value unknown in this version. - BudgetPeriodEnum_UNKNOWN BudgetPeriodEnum_BudgetPeriod = 1 - // Daily budget. - BudgetPeriodEnum_DAILY BudgetPeriodEnum_BudgetPeriod = 2 - // Custom budget. - BudgetPeriodEnum_CUSTOM BudgetPeriodEnum_BudgetPeriod = 3 - // Fixed daily budget. - BudgetPeriodEnum_FIXED_DAILY BudgetPeriodEnum_BudgetPeriod = 4 -) - -var BudgetPeriodEnum_BudgetPeriod_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "DAILY", - 3: "CUSTOM", - 4: "FIXED_DAILY", -} - -var BudgetPeriodEnum_BudgetPeriod_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "DAILY": 2, - "CUSTOM": 3, - "FIXED_DAILY": 4, -} - -func (x BudgetPeriodEnum_BudgetPeriod) String() string { - return proto.EnumName(BudgetPeriodEnum_BudgetPeriod_name, int32(x)) -} - -func (BudgetPeriodEnum_BudgetPeriod) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e71481160c596bdb, []int{0, 0} -} - -// Message describing Budget period. -type BudgetPeriodEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BudgetPeriodEnum) Reset() { *m = BudgetPeriodEnum{} } -func (m *BudgetPeriodEnum) String() string { return proto.CompactTextString(m) } -func (*BudgetPeriodEnum) ProtoMessage() {} -func (*BudgetPeriodEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_e71481160c596bdb, []int{0} -} - -func (m *BudgetPeriodEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BudgetPeriodEnum.Unmarshal(m, b) -} -func (m *BudgetPeriodEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BudgetPeriodEnum.Marshal(b, m, deterministic) -} -func (m *BudgetPeriodEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_BudgetPeriodEnum.Merge(m, src) -} -func (m *BudgetPeriodEnum) XXX_Size() int { - return xxx_messageInfo_BudgetPeriodEnum.Size(m) -} -func (m *BudgetPeriodEnum) XXX_DiscardUnknown() { - xxx_messageInfo_BudgetPeriodEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_BudgetPeriodEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.BudgetPeriodEnum_BudgetPeriod", BudgetPeriodEnum_BudgetPeriod_name, BudgetPeriodEnum_BudgetPeriod_value) - proto.RegisterType((*BudgetPeriodEnum)(nil), "google.ads.googleads.v1.enums.BudgetPeriodEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/budget_period.proto", fileDescriptor_e71481160c596bdb) -} - -var fileDescriptor_e71481160c596bdb = []byte{ - // 307 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x4d, 0x4b, 0xc3, 0x30, - 0x18, 0x76, 0x9d, 0x4e, 0xcc, 0x04, 0x6b, 0x8f, 0xe2, 0x0e, 0xdb, 0x0f, 0x48, 0x08, 0xde, 0xe2, - 0x29, 0xdd, 0xba, 0x51, 0xd4, 0xae, 0xb0, 0x0f, 0x3f, 0x28, 0x8c, 0xce, 0x94, 0x58, 0x58, 0x93, - 0xd2, 0xb4, 0xfb, 0x41, 0x1e, 0xfd, 0x29, 0xfe, 0x10, 0x0f, 0xfe, 0x0a, 0x69, 0x62, 0xcb, 0x2e, - 0x7a, 0x09, 0x0f, 0xef, 0xf3, 0x91, 0xe7, 0x7d, 0x01, 0xe6, 0x52, 0xf2, 0x5d, 0x82, 0x62, 0xa6, - 0x90, 0x81, 0x35, 0xda, 0x63, 0x94, 0x88, 0x2a, 0x53, 0x68, 0x5b, 0x31, 0x9e, 0x94, 0x9b, 0x3c, - 0x29, 0x52, 0xc9, 0x60, 0x5e, 0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, 0xd6, 0x98, 0x10, 0xad, - 0xd9, 0xf6, 0x74, 0xb1, 0x9b, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf9, 0xa5, 0x03, 0x16, 0xcb, - 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/budget_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/budget_status.pb.go deleted file mode 100644 index 0c86f633..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/budget_status.pb.go +++ /dev/null @@ -1,123 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/budget_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_236574c4e98b0294, []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_236574c4e98b0294, []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 (m *BudgetStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_BudgetStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.BudgetStatusEnum_BudgetStatus", BudgetStatusEnum_BudgetStatus_name, BudgetStatusEnum_BudgetStatus_value) - proto.RegisterType((*BudgetStatusEnum)(nil), "google.ads.googleads.v1.enums.BudgetStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/budget_status.proto", fileDescriptor_236574c4e98b0294) -} - -var fileDescriptor_236574c4e98b0294 = []byte{ - // 294 bytes of a gzipped FileDescriptorProto - 0x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94, 0x4d, 0xc3, 0x7e, 0xf4, 0xdd, 0x03, 0xe3, 0x77, - 0x5d, 0xc2, 0x7f, 0xfb, 0x45, 0xd7, 0xa7, 0xff, 0x4a, 0x5c, 0xa9, 0xa4, 0xb7, 0x89, 0x8e, 0x1e, - 0xa9, 0x77, 0x5c, 0x49, 0xa8, 0xf7, 0x12, 0xc9, 0x5c, 0xf9, 0xca, 0xed, 0x59, 0xaa, 0xc2, 0xfc, - 0x71, 0xa5, 0x7b, 0xff, 0xfd, 0x08, 0xfa, 0x73, 0x4a, 0x3f, 0x83, 0xd1, 0xbc, 0x89, 0xa2, 0xc2, - 0xc0, 0x06, 0x3a, 0x94, 0x62, 0xe8, 0xde, 0x6a, 0xbe, 0x5a, 0x3e, 0xa3, 0xc2, 0x64, 0x1d, 0x9f, - 0xa5, 0x38, 0xf3, 0xfc, 0x4f, 0x30, 0x6e, 0x96, 0x84, 0x50, 0x61, 0x08, 0xe9, 0x14, 0x84, 0xa4, - 0x98, 0x10, 0xaf, 0xd9, 0x9e, 0xfb, 0x62, 0x77, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xee, 0xbd, - 0x27, 0x0e, 0xbd, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/budget_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/budget_type.pb.go deleted file mode 100644 index 73c62477..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/budget_type.pb.go +++ /dev/null @@ -1,142 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/budget_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible Budget types. -type BudgetTypeEnum_BudgetType int32 - -const ( - // Not specified. - BudgetTypeEnum_UNSPECIFIED BudgetTypeEnum_BudgetType = 0 - // Used for return value only. Represents value unknown in this version. - BudgetTypeEnum_UNKNOWN BudgetTypeEnum_BudgetType = 1 - // Budget type for standard Google Ads usage. - // Caps daily spend at two times the specified budget amount. - // Full details: https://support.google.com/google-ads/answer/6385083 - BudgetTypeEnum_STANDARD BudgetTypeEnum_BudgetType = 2 - // Budget type for Hotels Ads commission program. - // Full details: https://support.google.com/google-ads/answer/9243945 - // - // This type is only supported by campaigns with - // AdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION and - // PaymentMode.CONVERSION_VALUE. - BudgetTypeEnum_HOTEL_ADS_COMMISSION BudgetTypeEnum_BudgetType = 3 - // Budget type with a fixed cost-per-acquisition (conversion). - // Full details: https://support.google.com/google-ads/answer/7528254 - // - // This type is only supported by campaigns with - // AdvertisingChannelType.DISPLAY (excluding - // AdvertisingChannelSubType.DISPLAY_GMAIL), - // BiddingStrategyType.TARGET_CPA and PaymentMode.CONVERSIONS. - BudgetTypeEnum_FIXED_CPA BudgetTypeEnum_BudgetType = 4 -) - -var BudgetTypeEnum_BudgetType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "STANDARD", - 3: "HOTEL_ADS_COMMISSION", - 4: "FIXED_CPA", -} - -var BudgetTypeEnum_BudgetType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "STANDARD": 2, - "HOTEL_ADS_COMMISSION": 3, - "FIXED_CPA": 4, -} - -func (x BudgetTypeEnum_BudgetType) String() string { - return proto.EnumName(BudgetTypeEnum_BudgetType_name, int32(x)) -} - -func (BudgetTypeEnum_BudgetType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_064eaff51e649410, []int{0, 0} -} - -// Describes Budget types. -type BudgetTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BudgetTypeEnum) Reset() { *m = BudgetTypeEnum{} } -func (m *BudgetTypeEnum) String() string { return proto.CompactTextString(m) } -func (*BudgetTypeEnum) ProtoMessage() {} -func (*BudgetTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_064eaff51e649410, []int{0} -} - -func (m *BudgetTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BudgetTypeEnum.Unmarshal(m, b) -} -func (m *BudgetTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BudgetTypeEnum.Marshal(b, m, deterministic) -} -func (m *BudgetTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_BudgetTypeEnum.Merge(m, src) -} -func (m *BudgetTypeEnum) XXX_Size() int { - return xxx_messageInfo_BudgetTypeEnum.Size(m) -} -func (m *BudgetTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_BudgetTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_BudgetTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.BudgetTypeEnum_BudgetType", BudgetTypeEnum_BudgetType_name, BudgetTypeEnum_BudgetType_value) - proto.RegisterType((*BudgetTypeEnum)(nil), "google.ads.googleads.v1.enums.BudgetTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/budget_type.proto", fileDescriptor_064eaff51e649410) -} - -var fileDescriptor_064eaff51e649410 = []byte{ - // 325 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdd, 0x4e, 0xfa, 0x30, - 0x1c, 0xfd, 0x33, 0xfe, 0xf1, 0xa3, 0xa8, 0x2c, 0x8b, 0x17, 0xc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x04, 0x2f, 0xbe, 0x97, 0xf5, 0x63, 0x6c, 0xfe, 0x77, 0xbf, 0x1a, 0xa0, 0xfb, 0x26, 0x97, - 0xf0, 0xcf, 0xe2, 0x6e, 0xfb, 0x50, 0x23, 0x2e, 0xbb, 0xc6, 0x8d, 0x57, 0x77, 0xe7, 0xe0, 0x72, - 0x41, 0x04, 0x87, 0x72, 0xc5, 0x6d, 0xce, 0x84, 0xfe, 0xc9, 0x7e, 0xab, 0x7c, 0xae, 0x7e, 0x99, - 0xee, 0x4e, 0xbf, 0xef, 0x46, 0x73, 0x88, 0xf1, 0x87, 0xd1, 0x19, 0x56, 0x51, 0x98, 0x2a, 0x58, - 0xc1, 0x12, 0x4d, 0x1d, 0x58, 0x8e, 0xa0, 0x3e, 0xf7, 0x7c, 0x8a, 0xa9, 0x4a, 0x6b, 0x3e, 0x9d, - 0x3a, 0xa9, 0xe6, 0xbf, 0x8d, 0x6e, 0x75, 0x44, 0x08, 0x53, 0x85, 0x50, 0xad, 0x40, 0x68, 0xea, - 0x20, 0xa4, 0x35, 0xb3, 0x23, 0x5d, 0xec, 0xf6, 0x27, 0x00, 0x00, 0xff, 0xff, 0x9a, 0xec, 0x70, - 0xb2, 0xd2, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/call_conversion_reporting_state.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/call_conversion_reporting_state.pb.go deleted file mode 100644 index 495f5405..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/call_conversion_reporting_state.pb.go +++ /dev/null @@ -1,134 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/call_conversion_reporting_state.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_c5ae3172f92a0785, []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_c5ae3172f92a0785, []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 (m *CallConversionReportingStateEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CallConversionReportingStateEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.CallConversionReportingStateEnum_CallConversionReportingState", CallConversionReportingStateEnum_CallConversionReportingState_name, CallConversionReportingStateEnum_CallConversionReportingState_value) - proto.RegisterType((*CallConversionReportingStateEnum)(nil), "google.ads.googleads.v1.enums.CallConversionReportingStateEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/call_conversion_reporting_state.proto", fileDescriptor_c5ae3172f92a0785) -} - -var fileDescriptor_c5ae3172f92a0785 = []byte{ - // 365 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 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x7d, 0x61, - 0xe1, 0x57, 0x66, 0x19, 0xf6, 0x4b, 0xf0, 0xe2, 0xe0, 0xc7, 0xd8, 0x0b, 0xe8, 0xc1, 0x32, 0xed, - 0xf7, 0xe0, 0x6d, 0x12, 0x53, 0x8e, 0x09, 0x09, 0x13, 0x76, 0xe6, 0x01, 0x4d, 0x69, 0xc0, 0x09, - 0x0e, 0x02, 0x4e, 0x42, 0x96, 0xd2, 0x28, 0xf6, 0x43, 0xc6, 0x31, 0x39, 0xfb, 0x21, 0xb3, 0x56, - 0xf6, 0x07, 0xf0, 0xae, 0x57, 0x47, 0x34, 0x0e, 0x93, 0x88, 0xd0, 0x65, 0xf9, 0x53, 0xef, 0x9f, - 0x01, 0x76, 0x17, 0x75, 0x85, 0x8b, 0x95, 0x78, 0xbb, 0xa5, 0xcf, 0x9c, 0xfa, 0x5e, 0x4e, 0xc6, - 0x37, 0xef, 0xc1, 0xa3, 0x54, 0xb5, 0x90, 0x25, 0x54, 0x6d, 0xe9, 0x94, 0x85, 0x1c, 0x5a, 0x9b, - 0x76, 0xd5, 0x54, 0xfa, 0x91, 0xd5, 0x7d, 0x1a, 0xce, 0x1f, 0xe6, 0xea, 0x88, 0xf1, 0x2f, 0x73, - 0x7b, 0x1c, 0xad, 0x70, 0xae, 0xe1, 0x08, 0x7b, 0x94, 0xba, 0xb0, 0x6f, 0x57, 0xff, 0x9e, 0xf8, - 0x0c, 0xe7, 0x3a, 0x9b, 0xf9, 0x2c, 0x75, 0xb3, 0x81, 0xff, 0x6b, 0xee, 0xc6, 0x4b, 0x84, 0x70, - 0xae, 0x11, 0x9a, 0x15, 0x08, 0xa5, 0x2e, 0x42, 0x83, 0xe6, 0xfb, 0xb3, 0xe1, 0x61, 0x1f, 0xff, - 0x07, 0x00, 0x00, 0xff, 0xff, 0xe6, 0xd3, 0x6d, 0xe0, 0x52, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/call_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/call_placeholder_field.pb.go deleted file mode 100644 index c5e71981..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/call_placeholder_field.pb.go +++ /dev/null @@ -1,147 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/call_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_08ddc446f9f82f36, []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_08ddc446f9f82f36, []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 (m *CallPlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CallPlaceholderFieldEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.CallPlaceholderFieldEnum_CallPlaceholderField", CallPlaceholderFieldEnum_CallPlaceholderField_name, CallPlaceholderFieldEnum_CallPlaceholderField_value) - proto.RegisterType((*CallPlaceholderFieldEnum)(nil), "google.ads.googleads.v1.enums.CallPlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/call_placeholder_field.proto", fileDescriptor_08ddc446f9f82f36) -} - -var fileDescriptor_08ddc446f9f82f36 = []byte{ - // 377 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x4f, 0x6a, 0xdb, 0x40, - 0x14, 0xc6, 0x2b, 0xb9, 0x75, 0x61, 0x5c, 0xe8, 0x20, 0x4a, 0x69, 0x4d, 0x5d, 0xb0, 0x0f, 0x30, - 0x42, 0x74, 0x37, 0x5d, 0xe9, 0xcf, 0xd8, 0x15, 0xa6, 0x23, 0x21, 0x4b, 0x0a, 0x0e, 0x02, 0x31, - 0xb1, 0x14, 0x45, 0x30, 0xd6, 0x08, 0x8f, 0xed, 0xdb, 0x64, 0x93, 0x65, 0x8e, 0x90, 0x23, 0xe4, - 0x28, 0x59, 0xe4, 0x0c, 0x41, 0x52, 0xec, 0x64, 0xe1, 0x64, 0x33, 0x7c, 0xbc, 0xef, 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0x8b, 0xd0, 0x0c, 0x09, 0xec, 0x5b, 0x8f, 0x0a, 0x18, 0xaf, 0xc4, 0x1a, - 0xbd, 0xbb, 0x00, 0xeb, 0xe7, 0xa9, 0x11, 0xfc, 0x66, 0x7a, 0x5f, 0x39, 0xb7, 0x9e, 0xd9, 0x42, - 0x70, 0x56, 0x15, 0x48, 0x6c, 0x0a, 0xbd, 0xc8, 0xab, 0x76, 0x37, 0x87, 0x43, 0xd4, 0xa5, 0x7c, - 0xe3, 0x2e, 0x7f, 0xdb, 0xf7, 0x46, 0xed, 0xcd, 0x4c, 0xf3, 0x56, 0x1d, 0xcd, 0xba, 0x28, 0x33, - 0x93, 0xa8, 0x93, 0x8d, 0x8a, 0x0d, 0xd4, 0xec, 0x52, 0xde, 0x1f, 0xfc, 0xc4, 0xcc, 0x64, 0x72, - 0xf4, 0x93, 0xd8, 0x48, 0x5a, 0xff, 0x41, 0x1d, 0x77, 0x45, 0x8c, 0xcd, 0x4c, 0x62, 0x7c, 0xec, - 0xc0, 0x38, 0x36, 0x30, 0x6e, 0x7b, 0x2e, 0xfa, 0xed, 0xc7, 0xfe, 0x3c, 0x05, 0x00, 0x00, 0xff, - 0xff, 0x44, 0xc8, 0x4a, 0x76, 0x2f, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/callout_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/callout_placeholder_field.pb.go deleted file mode 100644 index bf1f07b6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/callout_placeholder_field.pb.go +++ /dev/null @@ -1,120 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/callout_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_fdaaaac7f43f43a2, []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_fdaaaac7f43f43a2, []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 (m *CalloutPlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CalloutPlaceholderFieldEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.CalloutPlaceholderFieldEnum_CalloutPlaceholderField", CalloutPlaceholderFieldEnum_CalloutPlaceholderField_name, CalloutPlaceholderFieldEnum_CalloutPlaceholderField_value) - proto.RegisterType((*CalloutPlaceholderFieldEnum)(nil), "google.ads.googleads.v1.enums.CalloutPlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/callout_placeholder_field.proto", fileDescriptor_fdaaaac7f43f43a2) -} - -var fileDescriptor_fdaaaac7f43f43a2 = []byte{ - // 310 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xfb, 0x30, - 0x18, 0xc5, 0xff, 0xeb, 0x1f, 0x14, 0x32, 0xc1, 0xd2, 0x1b, 0x41, 0xb7, 0x8b, 0xed, 0x01, 0x12, - 0x8a, 0x77, 0x11, 0x2f, 0xb2, 0xd9, 0x8d, 0xe1, 0xe8, 0x0a, 0x6e, 0x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- 0x4b, 0xaa, 0x04, 0xd4, 0x07, 0x81, 0x04, 0x57, 0x76, 0x97, 0xfa, 0x76, 0x79, 0x66, 0x5a, 0x4e, - 0x79, 0x63, 0xbf, 0x6f, 0xde, 0xff, 0x29, 0x21, 0xef, 0x5e, 0x7f, 0xea, 0x50, 0x84, 0x19, 0xe8, - 0x64, 0xa5, 0xd6, 0x21, 0xac, 0x36, 0x37, 0x1f, 0xb5, 0x9f, 0x12, 0x66, 0xd2, 0xc6, 0x4f, 0xd7, - 0x61, 0x6a, 0xfd, 0x4f, 0x6f, 0xe0, 0x7e, 0x62, 0x4c, 0x98, 0xc1, 0xb8, 0x99, 0xc0, 0x78, 0x1d, - 0x62, 0x6c, 0x67, 0x5e, 0x4e, 0x6c, 0xb1, 0xeb, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd7, 0x0a, - 0xbf, 0xd3, 0xe2, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/campaign_criterion_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/campaign_criterion_status.pb.go deleted file mode 100644 index c81ab66a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/campaign_criterion_status.pb.go +++ /dev/null @@ -1,130 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/campaign_criterion_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The possible statuses of a CampaignCriterion. -type CampaignCriterionStatusEnum_CampaignCriterionStatus int32 - -const ( - // No value has been specified. - CampaignCriterionStatusEnum_UNSPECIFIED CampaignCriterionStatusEnum_CampaignCriterionStatus = 0 - // The received value is not known in this version. - // - // This is a response-only value. - CampaignCriterionStatusEnum_UNKNOWN CampaignCriterionStatusEnum_CampaignCriterionStatus = 1 - // The campaign criterion is enabled. - CampaignCriterionStatusEnum_ENABLED CampaignCriterionStatusEnum_CampaignCriterionStatus = 2 - // The campaign criterion is paused. - CampaignCriterionStatusEnum_PAUSED CampaignCriterionStatusEnum_CampaignCriterionStatus = 3 - // The campaign criterion is removed. - CampaignCriterionStatusEnum_REMOVED CampaignCriterionStatusEnum_CampaignCriterionStatus = 4 -) - -var CampaignCriterionStatusEnum_CampaignCriterionStatus_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "ENABLED", - 3: "PAUSED", - 4: "REMOVED", -} - -var CampaignCriterionStatusEnum_CampaignCriterionStatus_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "ENABLED": 2, - "PAUSED": 3, - "REMOVED": 4, -} - -func (x CampaignCriterionStatusEnum_CampaignCriterionStatus) String() string { - return proto.EnumName(CampaignCriterionStatusEnum_CampaignCriterionStatus_name, int32(x)) -} - -func (CampaignCriterionStatusEnum_CampaignCriterionStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0d7780eca0a0bfd7, []int{0, 0} -} - -// Message describing CampaignCriterion statuses. -type CampaignCriterionStatusEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CampaignCriterionStatusEnum) Reset() { *m = CampaignCriterionStatusEnum{} } -func (m *CampaignCriterionStatusEnum) String() string { return proto.CompactTextString(m) } -func (*CampaignCriterionStatusEnum) ProtoMessage() {} -func (*CampaignCriterionStatusEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_0d7780eca0a0bfd7, []int{0} -} - -func (m *CampaignCriterionStatusEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CampaignCriterionStatusEnum.Unmarshal(m, b) -} -func (m *CampaignCriterionStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CampaignCriterionStatusEnum.Marshal(b, m, deterministic) -} -func (m *CampaignCriterionStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignCriterionStatusEnum.Merge(m, src) -} -func (m *CampaignCriterionStatusEnum) XXX_Size() int { - return xxx_messageInfo_CampaignCriterionStatusEnum.Size(m) -} -func (m *CampaignCriterionStatusEnum) XXX_DiscardUnknown() { - xxx_messageInfo_CampaignCriterionStatusEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_CampaignCriterionStatusEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.CampaignCriterionStatusEnum_CampaignCriterionStatus", CampaignCriterionStatusEnum_CampaignCriterionStatus_name, CampaignCriterionStatusEnum_CampaignCriterionStatus_value) - proto.RegisterType((*CampaignCriterionStatusEnum)(nil), "google.ads.googleads.v1.enums.CampaignCriterionStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/campaign_criterion_status.proto", fileDescriptor_0d7780eca0a0bfd7) -} - -var fileDescriptor_0d7780eca0a0bfd7 = []byte{ - // 320 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xb1, 0x6a, 0xf3, 0x30, - 0x18, 0xfc, 0xe3, 0xfc, 0xa4, 0xa0, 0x0c, 0x35, 0x5e, 0x0a, 0x6d, 0x32, 0x24, 0x0f, 0x20, 0x63, - 0xba, 0xa9, 0x74, 0x90, 0x63, 0x35, 0x84, 0xb6, 0x8e, 0x69, 0x88, 0x0b, 0xc5, 0x25, 0xa8, 0xb1, - 0x11, 0x82, 0x58, 0x32, 0x96, 0x92, 0xa9, 0x4f, 0xd3, 0xb1, 0x8f, 0xd2, 0x47, 0xe9, 0xd6, 0x37, - 0x28, 0x92, 0xe3, 0x6c, 0xee, 0x22, 0x4e, 0xdf, 0x7d, 0x77, 0x7c, 0x77, 0xe0, 0x96, 0x49, 0xc9, - 0x76, 0x85, 0x4f, 0x73, 0xe5, 0x37, 0xd0, 0xa0, 0x43, 0xe0, 0x17, 0x62, 0x5f, 0x2a, 0x7f, 0x4b, - 0xcb, 0x8a, 0x72, 0x26, 0x36, 0xdb, 0x9a, 0xeb, 0xa2, 0xe6, 0x52, 0x6c, 0x94, 0xa6, 0x7a, 0xaf, - 0x60, 0x55, 0x4b, 0x2d, 0xbd, 0x71, 0xa3, 0x81, 0x34, 0x57, 0xf0, 0x24, 0x87, 0x87, 0x00, 0x5a, - 0xf9, 0xe5, 0xa8, 0x75, 0xaf, 0xb8, 0x4f, 0x85, 0x90, 0x9a, 0x6a, 0x2e, 0xc5, 0x51, 0x3c, 0x7d, - 0x07, 0x57, 0xb3, 0xa3, 0xff, 0xac, 0xb5, 0x5f, 0x59, 0x77, 0x22, 0xf6, 0xe5, 0xf4, 0x15, 0x5c, - 0x74, 0xd0, 0xde, 0x39, 0x18, 0xae, 0xe3, 0x55, 0x42, 0x66, 0x8b, 0xbb, 0x05, 0x89, 0xdc, 0x7f, - 0xde, 0x10, 0x9c, 0xad, 0xe3, 0xfb, 0x78, 0xf9, 0x1c, 0xbb, 0x3d, 0xf3, 0x21, 0x31, 0x0e, 0x1f, - 0x48, 0xe4, 0x3a, 0x1e, 0x00, 0x83, 0x04, 0xaf, 0x57, 0x24, 0x72, 0xfb, 0x86, 0x78, 0x22, 0x8f, - 0xcb, 0x94, 0x44, 0xee, 0xff, 0xf0, 0xa7, 0x07, 0x26, 0x5b, 0x59, 0xc2, 0x3f, 0x13, 0x84, 0xa3, - 0x8e, 0x13, 0x12, 0x93, 0x20, 0xe9, 0xbd, 0x84, 0x47, 0x39, 0x93, 0x3b, 0x2a, 0x18, 0x94, 0x35, - 0xf3, 0x59, 0x21, 0x6c, 0xbe, 0xb6, 0xcf, 0x8a, 0xab, 0x8e, 0x7a, 0x6f, 0xec, 0xfb, 0xe1, 0xf4, - 0xe7, 0x18, 0x7f, 0x3a, 0xe3, 0x79, 0x63, 0x85, 0x73, 0x05, 0x1b, 0x68, 0x50, 0x1a, 0x40, 0xd3, - 0x86, 0xfa, 0x6a, 0xf9, 0x0c, 0xe7, 0x2a, 0x3b, 0xf1, 0x59, 0x1a, 0x64, 0x96, 0xff, 0x76, 0x26, - 0xcd, 0x10, 0x21, 0x9c, 0x2b, 0x84, 0x4e, 0x1b, 0x08, 0xa5, 0x01, 0x42, 0x76, 0xe7, 0x6d, 0x60, - 0x0f, 0xbb, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x21, 0x07, 0xad, 0xc8, 0xf6, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/campaign_draft_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/campaign_draft_status.pb.go deleted file mode 100644 index 183edbab..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/campaign_draft_status.pb.go +++ /dev/null @@ -1,144 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/campaign_draft_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible statuses of a campaign draft. -type CampaignDraftStatusEnum_CampaignDraftStatus int32 - -const ( - // The status has not been specified. - CampaignDraftStatusEnum_UNSPECIFIED CampaignDraftStatusEnum_CampaignDraftStatus = 0 - // Used for return value only. Represents value unknown in this version. - CampaignDraftStatusEnum_UNKNOWN CampaignDraftStatusEnum_CampaignDraftStatus = 1 - // Initial state of the draft, the advertiser can start adding changes with - // no effect on serving. - CampaignDraftStatusEnum_PROPOSED CampaignDraftStatusEnum_CampaignDraftStatus = 2 - // The campaign draft is removed. - CampaignDraftStatusEnum_REMOVED CampaignDraftStatusEnum_CampaignDraftStatus = 3 - // Advertiser requested to promote draft's changes back into the original - // campaign. Advertiser can poll the long running operation returned by - // the promote action to see the status of the promotion. - CampaignDraftStatusEnum_PROMOTING CampaignDraftStatusEnum_CampaignDraftStatus = 5 - // The process to merge changes in the draft back to the original campaign - // has completed successfully. - CampaignDraftStatusEnum_PROMOTED CampaignDraftStatusEnum_CampaignDraftStatus = 4 - // The promotion failed after it was partially applied. Promote cannot be - // attempted again safely, so the issue must be corrected in the original - // campaign. - CampaignDraftStatusEnum_PROMOTE_FAILED CampaignDraftStatusEnum_CampaignDraftStatus = 6 -) - -var CampaignDraftStatusEnum_CampaignDraftStatus_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "PROPOSED", - 3: "REMOVED", - 5: "PROMOTING", - 4: "PROMOTED", - 6: "PROMOTE_FAILED", -} - -var CampaignDraftStatusEnum_CampaignDraftStatus_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "PROPOSED": 2, - "REMOVED": 3, - "PROMOTING": 5, - "PROMOTED": 4, - "PROMOTE_FAILED": 6, -} - -func (x CampaignDraftStatusEnum_CampaignDraftStatus) String() string { - return proto.EnumName(CampaignDraftStatusEnum_CampaignDraftStatus_name, int32(x)) -} - -func (CampaignDraftStatusEnum_CampaignDraftStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_323d91656879a06e, []int{0, 0} -} - -// Container for enum describing possible statuses of a campaign draft. -type CampaignDraftStatusEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CampaignDraftStatusEnum) Reset() { *m = CampaignDraftStatusEnum{} } -func (m *CampaignDraftStatusEnum) String() string { return proto.CompactTextString(m) } -func (*CampaignDraftStatusEnum) ProtoMessage() {} -func (*CampaignDraftStatusEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_323d91656879a06e, []int{0} -} - -func (m *CampaignDraftStatusEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CampaignDraftStatusEnum.Unmarshal(m, b) -} -func (m *CampaignDraftStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CampaignDraftStatusEnum.Marshal(b, m, deterministic) -} -func (m *CampaignDraftStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignDraftStatusEnum.Merge(m, src) -} -func (m *CampaignDraftStatusEnum) XXX_Size() int { - return xxx_messageInfo_CampaignDraftStatusEnum.Size(m) -} -func (m *CampaignDraftStatusEnum) XXX_DiscardUnknown() { - xxx_messageInfo_CampaignDraftStatusEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_CampaignDraftStatusEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.CampaignDraftStatusEnum_CampaignDraftStatus", CampaignDraftStatusEnum_CampaignDraftStatus_name, CampaignDraftStatusEnum_CampaignDraftStatus_value) - proto.RegisterType((*CampaignDraftStatusEnum)(nil), "google.ads.googleads.v1.enums.CampaignDraftStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/campaign_draft_status.proto", fileDescriptor_323d91656879a06e) -} - -var fileDescriptor_323d91656879a06e = []byte{ - // 345 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x4d, 0x4e, 0x83, 0x40, - 0x18, 0x15, 0xaa, 0x55, 0xa7, 0xfe, 0x10, 0x5c, 0x68, 0x8c, 0x5d, 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 0x19, 0x90, 0xb1, 0xe7, 0xf7, 0x8d, 0x83, 0x4a, 0x39, 0x20, 0x63, 0xec, 0x1a, 0xfb, 0xa6, - 0x09, 0xce, 0xaa, 0xbf, 0x69, 0xcf, 0xf1, 0x1e, 0xb1, 0x6b, 0xd4, 0x3b, 0x3f, 0x1a, 0x68, 0xcd, - 0x44, 0x0a, 0xff, 0x2d, 0xd8, 0xb9, 0xda, 0x71, 0x64, 0x50, 0x94, 0x0b, 0xb4, 0xe7, 0x4e, 0x65, - 0x65, 0x62, 0x41, 0x39, 0x83, 0x62, 0xc9, 0x2c, 0x36, 0xe7, 0xaa, 0xfa, 0x66, 0xe6, 0x2c, 0x91, - 0x7f, 0xac, 0x7e, 0xaf, 0xbe, 0x1f, 0x7a, 0xad, 0xef, 0x38, 0x9f, 0x7a, 0xb3, 0x5f, 0x46, 0x39, - 0xb1, 0x84, 0x25, 0x2c, 0x50, 0x68, 0xc3, 0x62, 0x2b, 0xf9, 0xb5, 0xe1, 0x23, 0x27, 0x96, 0xd1, - 0x96, 0x8f, 0x42, 0x3b, 0x52, 0xfc, 0xb7, 0xde, 0x2a, 0x1f, 0x11, 0x72, 0x62, 0x89, 0xd0, 0x56, - 0x81, 0x50, 0x68, 0x23, 0xa4, 0x34, 0x2f, 0x75, 0x75, 0xd8, 0xed, 0x6f, 0x00, 0x00, 0x00, 0xff, - 0xff, 0x21, 0xa1, 0x79, 0xfa, 0x0d, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/campaign_experiment_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/campaign_experiment_status.pb.go deleted file mode 100644 index 2d2b4acc..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/campaign_experiment_status.pb.go +++ /dev/null @@ -1,164 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/campaign_experiment_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible statuses of a campaign experiment. -type CampaignExperimentStatusEnum_CampaignExperimentStatus int32 - -const ( - // The status has not been specified. - CampaignExperimentStatusEnum_UNSPECIFIED CampaignExperimentStatusEnum_CampaignExperimentStatus = 0 - // Used for return value only. Represents value unknown in this version. - CampaignExperimentStatusEnum_UNKNOWN CampaignExperimentStatusEnum_CampaignExperimentStatus = 1 - // The experiment campaign is being initialized. - CampaignExperimentStatusEnum_INITIALIZING CampaignExperimentStatusEnum_CampaignExperimentStatus = 2 - // Initialization of the experiment campaign failed. - CampaignExperimentStatusEnum_INITIALIZATION_FAILED CampaignExperimentStatusEnum_CampaignExperimentStatus = 8 - // The experiment campaign is fully initialized. The experiment is currently - // running, scheduled to run in the future or has ended based on its - // end date. An experiment with the status INITIALIZING will be updated to - // ENABLED when it is fully created. - CampaignExperimentStatusEnum_ENABLED CampaignExperimentStatusEnum_CampaignExperimentStatus = 3 - // The experiment campaign was graduated to a stand-alone - // campaign, existing independently of the experiment. - CampaignExperimentStatusEnum_GRADUATED CampaignExperimentStatusEnum_CampaignExperimentStatus = 4 - // The experiment is removed. - CampaignExperimentStatusEnum_REMOVED CampaignExperimentStatusEnum_CampaignExperimentStatus = 5 - // The experiment's changes are being applied to the original campaign. - // The long running operation returned by the promote method can be polled - // to see the status of the promotion. - CampaignExperimentStatusEnum_PROMOTING CampaignExperimentStatusEnum_CampaignExperimentStatus = 6 - // Promote of the experiment campaign failed. - CampaignExperimentStatusEnum_PROMOTION_FAILED CampaignExperimentStatusEnum_CampaignExperimentStatus = 9 - // The changes of the experiment are promoted to their original campaign. - CampaignExperimentStatusEnum_PROMOTED CampaignExperimentStatusEnum_CampaignExperimentStatus = 7 - // The experiment was ended manually. It did not end based on its end date. - CampaignExperimentStatusEnum_ENDED_MANUALLY CampaignExperimentStatusEnum_CampaignExperimentStatus = 10 -) - -var CampaignExperimentStatusEnum_CampaignExperimentStatus_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "INITIALIZING", - 8: "INITIALIZATION_FAILED", - 3: "ENABLED", - 4: "GRADUATED", - 5: "REMOVED", - 6: "PROMOTING", - 9: "PROMOTION_FAILED", - 7: "PROMOTED", - 10: "ENDED_MANUALLY", -} - -var CampaignExperimentStatusEnum_CampaignExperimentStatus_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "INITIALIZING": 2, - "INITIALIZATION_FAILED": 8, - "ENABLED": 3, - "GRADUATED": 4, - "REMOVED": 5, - "PROMOTING": 6, - "PROMOTION_FAILED": 9, - "PROMOTED": 7, - "ENDED_MANUALLY": 10, -} - -func (x CampaignExperimentStatusEnum_CampaignExperimentStatus) String() string { - return proto.EnumName(CampaignExperimentStatusEnum_CampaignExperimentStatus_name, int32(x)) -} - -func (CampaignExperimentStatusEnum_CampaignExperimentStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_3ba51d2891452581, []int{0, 0} -} - -// Container for enum describing possible statuses of a campaign experiment. -type CampaignExperimentStatusEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CampaignExperimentStatusEnum) Reset() { *m = CampaignExperimentStatusEnum{} } -func (m *CampaignExperimentStatusEnum) String() string { return proto.CompactTextString(m) } -func (*CampaignExperimentStatusEnum) ProtoMessage() {} -func (*CampaignExperimentStatusEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_3ba51d2891452581, []int{0} -} - -func (m *CampaignExperimentStatusEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CampaignExperimentStatusEnum.Unmarshal(m, b) -} -func (m *CampaignExperimentStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CampaignExperimentStatusEnum.Marshal(b, m, deterministic) -} -func (m *CampaignExperimentStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignExperimentStatusEnum.Merge(m, src) -} -func (m *CampaignExperimentStatusEnum) XXX_Size() int { - return xxx_messageInfo_CampaignExperimentStatusEnum.Size(m) -} -func (m *CampaignExperimentStatusEnum) XXX_DiscardUnknown() { - xxx_messageInfo_CampaignExperimentStatusEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_CampaignExperimentStatusEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.CampaignExperimentStatusEnum_CampaignExperimentStatus", CampaignExperimentStatusEnum_CampaignExperimentStatus_name, CampaignExperimentStatusEnum_CampaignExperimentStatus_value) - proto.RegisterType((*CampaignExperimentStatusEnum)(nil), "google.ads.googleads.v1.enums.CampaignExperimentStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/campaign_experiment_status.proto", fileDescriptor_3ba51d2891452581) -} - -var fileDescriptor_3ba51d2891452581 = []byte{ - // 403 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0x4d, 0x6f, 0xd4, 0x30, - 0x10, 0x25, 0x5b, 0xe8, 0x87, 0x5b, 0xc0, 0xb2, 0x40, 0x02, 0xd4, 0x3d, 0xb4, 0x3f, 0xc0, 0x51, - 0xc4, 0xcd, 0x48, 0x48, 0xde, 0xda, 0x5d, 0x59, 0xec, 0x3a, 0xab, 0x6d, 0x12, 0x44, 0x15, 0x29, - 0x32, 0x4d, 0x14, 0x45, 0x6a, 0xec, 0x68, 0x9d, 0xad, 0xf8, 0x3d, 0x1c, 0xf9, 0x29, 0xdc,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e3, 0xd6, 0x7c, 0x19, 0x26, 0x9c, 0xc1, 0x67, 0x8e, 0x5b, 0xad, 0xc3, - 0x65, 0x18, 0x39, 0xcb, 0x43, 0xf4, 0x0a, 0xc0, 0xa1, 0xfc, 0xef, 0x76, 0x82, 0xce, 0xc0, 0x71, - 0xdf, 0xe5, 0x0c, 0x1e, 0x21, 0x04, 0x5e, 0x70, 0xc9, 0x38, 0xcb, 0x96, 0x54, 0xc6, 0x74, 0xb1, - 0xf8, 0x02, 0xc1, 0xec, 0x8f, 0x07, 0x2e, 0xee, 0x4c, 0x8d, 0x1f, 0x3d, 0xde, 0x6c, 0xba, 0xef, - 0xe9, 0x2b, 0x77, 0xbd, 0x95, 0x77, 0x3b, 0x1b, 0xf4, 0xa5, 0xb9, 0x57, 0xba, 0xc4, 0x66, 0x53, - 0xfa, 0x65, 0xa1, 0xbb, 0xdb, 0xee, 0xc2, 0x6c, 0x2a, 0xbb, 0x27, 0xdb, 0x0f, 0xdd, 0xf7, 0xfb, - 0xe4, 0x60, 0x4e, 0xe9, 0x8f, 0xc9, 0x74, 0xde, 0x5b, 0xd1, 0xdc, 0xe2, 0x1e, 0x3a, 0x94, 0x04, - 0xd8, 0xe5, 0x60, 0x7f, 0xee, 0xf8, 0x94, 0xe6, 0x36, 0x1d, 0xf9, 0x34, 0x09, 0xd2, 0x8e, 0xff, - 0x3d, 0xb9, 0xe8, 0x9b, 0x84, 0xd0, 0xdc, 0x12, 0x32, 0x4e, 0x10, 0x92, 0x04, 0x84, 0x74, 0x33, - 0x5f, 0x0f, 0xbb, 0x1f, 0x7b, 0xff, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x45, 0xad, 0x95, 0x03, 0x73, - 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/campaign_experiment_traffic_split_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/campaign_experiment_traffic_split_type.pb.go deleted file mode 100644 index 50e493c9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/campaign_experiment_traffic_split_type.pb.go +++ /dev/null @@ -1,131 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/campaign_experiment_traffic_split_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum of strategies for splitting traffic between base and experiment -// campaigns in campaign experiment. -type CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType int32 - -const ( - // Not specified. - CampaignExperimentTrafficSplitTypeEnum_UNSPECIFIED CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType = 0 - // Used for return value only. Represents value unknown in this version. - CampaignExperimentTrafficSplitTypeEnum_UNKNOWN CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType = 1 - // Traffic is randomly assigned to the base or experiment arm for each - // query, independent of previous assignments for the same user. - CampaignExperimentTrafficSplitTypeEnum_RANDOM_QUERY CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType = 2 - // Traffic is split using cookies to keep users in the same arm (base or - // experiment) of the experiment. - CampaignExperimentTrafficSplitTypeEnum_COOKIE CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType = 3 -) - -var CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "RANDOM_QUERY", - 3: "COOKIE", -} - -var CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "RANDOM_QUERY": 2, - "COOKIE": 3, -} - -func (x CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType) String() string { - return proto.EnumName(CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType_name, int32(x)) -} - -func (CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ffecaf557bc2ce83, []int{0, 0} -} - -// Container for enum describing campaign experiment traffic split type. -type CampaignExperimentTrafficSplitTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CampaignExperimentTrafficSplitTypeEnum) Reset() { - *m = CampaignExperimentTrafficSplitTypeEnum{} -} -func (m *CampaignExperimentTrafficSplitTypeEnum) String() string { return proto.CompactTextString(m) } -func (*CampaignExperimentTrafficSplitTypeEnum) ProtoMessage() {} -func (*CampaignExperimentTrafficSplitTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_ffecaf557bc2ce83, []int{0} -} - -func (m *CampaignExperimentTrafficSplitTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CampaignExperimentTrafficSplitTypeEnum.Unmarshal(m, b) -} -func (m *CampaignExperimentTrafficSplitTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CampaignExperimentTrafficSplitTypeEnum.Marshal(b, m, deterministic) -} -func (m *CampaignExperimentTrafficSplitTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignExperimentTrafficSplitTypeEnum.Merge(m, src) -} -func (m *CampaignExperimentTrafficSplitTypeEnum) XXX_Size() int { - return xxx_messageInfo_CampaignExperimentTrafficSplitTypeEnum.Size(m) -} -func (m *CampaignExperimentTrafficSplitTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_CampaignExperimentTrafficSplitTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_CampaignExperimentTrafficSplitTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType", CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType_name, CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType_value) - proto.RegisterType((*CampaignExperimentTrafficSplitTypeEnum)(nil), "google.ads.googleads.v1.enums.CampaignExperimentTrafficSplitTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/campaign_experiment_traffic_split_type.proto", fileDescriptor_ffecaf557bc2ce83) -} - -var fileDescriptor_ffecaf557bc2ce83 = []byte{ - // 341 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x51, 0xcd, 0x6a, 0xe3, 0x30, - 0x18, 0x5c, 0x3b, 0x90, 0x05, 0x65, 0x61, 0x8d, 0x8f, 0xcb, 0xe6, 0x90, 0x1c, 0xda, 0x9b, 0x8c, - 0xe9, 0x4d, 0x3d, 0x39, 0x89, 0x1b, 0xd2, 0x50, 0x3b, 0xcd, 0x5f, 0x69, 0x31, 0xb8, 0x6a, 0xac, - 0x08, 0x41, 0x2c, 0x09, 0x4b, 0x09, 0xcd, 0x2b, 0xf4, 0x31, 0x7a, 0xec, 0xa3, 0xf4, 0x51, 0xfa, - 0x0c, 0x3d, 0x14, 0x5b, 0x89, 0x6f, 0x6d, 0x2e, 0x62, 0xd0, 0x8c, 0x66, 0xbe, 0xf9, 0x04, 0xae, - 0xa9, 0x10, 0x74, 0x43, 0x3c, 0x9c, 0x29, 0xcf, 0xc0, 0x12, 0xed, 0x7c, 0x8f, 0xf0, 0x6d, 0xae, - 0xbc, 0x15, 0xce, 0x25, 0x66, 0x94, 0xa7, 0xe4, 0x59, 0x92, 0x82, 0xe5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fa, 0xb0, 0xdc, 0x8d, 0x7a, 0x3f, 0xf2, 0x49, 0x90, 0xa9, 0xa4, 0xe6, 0x93, 0xa5, 0x9f, - 0x54, 0xfc, 0x87, 0xdd, 0x31, 0x97, 0x08, 0x05, 0x99, 0x42, 0xa8, 0x56, 0x20, 0xb4, 0xf4, 0x11, - 0xaa, 0x34, 0x4f, 0xcd, 0x6a, 0xb0, 0x8b, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x98, 0x2b, 0x2b, - 0x7f, 0x1d, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/campaign_experiment_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/campaign_experiment_type.pb.go deleted file mode 100644 index 4af199c1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/campaign_experiment_type.pb.go +++ /dev/null @@ -1,135 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/campaign_experiment_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Indicates if this campaign is a normal campaign, -// a draft campaign, or an experiment campaign. -type CampaignExperimentTypeEnum_CampaignExperimentType int32 - -const ( - // Not specified. - CampaignExperimentTypeEnum_UNSPECIFIED CampaignExperimentTypeEnum_CampaignExperimentType = 0 - // Used for return value only. Represents value unknown in this version. - CampaignExperimentTypeEnum_UNKNOWN CampaignExperimentTypeEnum_CampaignExperimentType = 1 - // This is a regular campaign. - CampaignExperimentTypeEnum_BASE CampaignExperimentTypeEnum_CampaignExperimentType = 2 - // This is a draft version of a campaign. - // It has some modifications from a base campaign, - // but it does not serve or accrue metrics. - CampaignExperimentTypeEnum_DRAFT CampaignExperimentTypeEnum_CampaignExperimentType = 3 - // This is an experiment version of a campaign. - // It has some modifications from a base campaign, - // and a percentage of traffic is being diverted - // from the BASE campaign to this experiment campaign. - CampaignExperimentTypeEnum_EXPERIMENT CampaignExperimentTypeEnum_CampaignExperimentType = 4 -) - -var CampaignExperimentTypeEnum_CampaignExperimentType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "BASE", - 3: "DRAFT", - 4: "EXPERIMENT", -} - -var CampaignExperimentTypeEnum_CampaignExperimentType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "BASE": 2, - "DRAFT": 3, - "EXPERIMENT": 4, -} - -func (x CampaignExperimentTypeEnum_CampaignExperimentType) String() string { - return proto.EnumName(CampaignExperimentTypeEnum_CampaignExperimentType_name, int32(x)) -} - -func (CampaignExperimentTypeEnum_CampaignExperimentType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_c588ebee0a4cfc6c, []int{0, 0} -} - -// Container for enum describing campaign experiment type. -type CampaignExperimentTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CampaignExperimentTypeEnum) Reset() { *m = CampaignExperimentTypeEnum{} } -func (m *CampaignExperimentTypeEnum) String() string { return proto.CompactTextString(m) } -func (*CampaignExperimentTypeEnum) ProtoMessage() {} -func (*CampaignExperimentTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_c588ebee0a4cfc6c, []int{0} -} - -func (m *CampaignExperimentTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CampaignExperimentTypeEnum.Unmarshal(m, b) -} -func (m *CampaignExperimentTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CampaignExperimentTypeEnum.Marshal(b, m, deterministic) -} -func (m *CampaignExperimentTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignExperimentTypeEnum.Merge(m, src) -} -func (m *CampaignExperimentTypeEnum) XXX_Size() int { - return xxx_messageInfo_CampaignExperimentTypeEnum.Size(m) -} -func (m *CampaignExperimentTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_CampaignExperimentTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_CampaignExperimentTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.CampaignExperimentTypeEnum_CampaignExperimentType", CampaignExperimentTypeEnum_CampaignExperimentType_name, CampaignExperimentTypeEnum_CampaignExperimentType_value) - proto.RegisterType((*CampaignExperimentTypeEnum)(nil), "google.ads.googleads.v1.enums.CampaignExperimentTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/campaign_experiment_type.proto", fileDescriptor_c588ebee0a4cfc6c) -} - -var fileDescriptor_c588ebee0a4cfc6c = []byte{ - // 326 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x4b, 0x4e, 0xf3, 0x30, - 0x1c, 0xc4, 0xbf, 0xa6, 0xfd, 0x78, 0xb8, 0x12, 0x44, 0x59, 0xb0, 0x28, 0x74, 0xd1, 0x1e, 0xc0, - 0x51, 0xc4, 0xce, 0xb0, 0x71, 0x5a, 0xb7, 0xaa, 0x10, 0x21, 0xea, 0x0b, 0x04, 0x91, 0x2a, 0xd3, - 0x58, 0x56, 0xa4, 0xc6, 0xb6, 0xea, 0xb4, 0xa2, 0xd7, 0x61, 0xc9, 0x51, 0x38, 0x0a, 0x2b, 0x8e, - 0x80, 0x12, 0x37, 0x59, 0x15, 0x36, 0xd1, 0x28, 0xf3, 0xff, 0x8d, 0xc6, 0x03, 0x6e, 0xb9, 0x94, - 0x7c,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, 0x31, 0xfe, 0xb0, 0xda, 0x43, 0x13, 0x85, 0x63, 0x0d, 0x8d, - 0xcc, 0xd5, 0xdc, 0x83, 0xf9, 0x14, 0xfa, 0xb3, 0xf4, 0x23, 0x1c, 0xeb, 0xa8, 0xf2, 0xa3, 0xb9, - 0x17, 0x15, 0xfe, 0x97, 0xd5, 0x31, 0x3f, 0x11, 0xc2, 0xb1, 0x46, 0xa8, 0xba, 0x40, 0x68, 0xee, - 0x21, 0x54, 0xdc, 0xbc, 0x1e, 0x15, 0xc5, 0xae, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x50, 0x48, - 0x21, 0xf1, 0xf1, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/campaign_serving_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/campaign_serving_status.pb.go deleted file mode 100644 index 55e89c13..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/campaign_serving_status.pb.go +++ /dev/null @@ -1,139 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/campaign_serving_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_40e65b6fe8387390, []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_40e65b6fe8387390, []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 (m *CampaignServingStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignServingStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.CampaignServingStatusEnum_CampaignServingStatus", CampaignServingStatusEnum_CampaignServingStatus_name, CampaignServingStatusEnum_CampaignServingStatus_value) - proto.RegisterType((*CampaignServingStatusEnum)(nil), "google.ads.googleads.v1.enums.CampaignServingStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/campaign_serving_status.proto", fileDescriptor_40e65b6fe8387390) -} - -var fileDescriptor_40e65b6fe8387390 = []byte{ - // 332 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x4a, 0xc3, 0x30, - 0x1c, 0xb6, 0xdd, 0x1f, 0x5d, 0x86, 0x58, 0x0a, 0x1e, 0x1c, 0xee, 0xb0, 0x3d, 0x40, 0x4a, 0xf1, - 0x96, 0x9d, 0xba, 0x35, 0x8e, 0x21, 0x64, 0xc5, 0xb2, 0x0a, 0x52, 0x18, 0x71, 0x2d, 0xa1, 0xb0, - 0x26, 0x65, 0xe9, 0xf6, 0x1c, 0x3e, 0x83, 0x47, 0x1f, 0xc5, 0x47, 0xf1, 0xe2, 0x2b, 0x48, 0x92, - 0xad, 0xa7, 0xe9, 0xa5, 0x7c, 0xcd, 0xf7, 0x87, 0xdf, 0xf7, 0x81, 0x09, 0x13, 0x82, 0x6d, 0x73, - 0x8f, 0x66, 0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7f, 0x3f, 0xec, 0xd6, 0x3c, 0x08, 0x3e, 0xed, - 0xe1, 0xdc, 0x44, 0x05, 0x99, 0x84, 0x06, 0x2a, 0x94, 0xf8, 0x50, 0x2d, 0x24, 0xbf, 0x4e, 0x7c, - 0x1a, 0x64, 0x32, 0x6d, 0xf8, 0x34, 0xf1, 0x53, 0xcd, 0x7f, 0xdb, 0x23, 0xf3, 0x88, 0x50, 0x90, - 0x49, 0x84, 0x1a, 0x05, 0x42, 0x89, 0x8f, 0x90, 0xd6, 0xbc, 0x75, 0xf5, 0x61, 0x0f, 0xbf, 0x01, - 0x00, 0x00, 0xff, 0xff, 0x98, 0x3d, 0x25, 0x2d, 0x07, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/campaign_shared_set_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/campaign_shared_set_status.pb.go deleted file mode 100644 index a6aed255..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/campaign_shared_set_status.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/campaign_shared_set_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_c9faa9312450fcc9, []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_c9faa9312450fcc9, []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 (m *CampaignSharedSetStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignSharedSetStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.CampaignSharedSetStatusEnum_CampaignSharedSetStatus", CampaignSharedSetStatusEnum_CampaignSharedSetStatus_name, CampaignSharedSetStatusEnum_CampaignSharedSetStatus_value) - proto.RegisterType((*CampaignSharedSetStatusEnum)(nil), "google.ads.googleads.v1.enums.CampaignSharedSetStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/campaign_shared_set_status.proto", fileDescriptor_c9faa9312450fcc9) -} - -var fileDescriptor_c9faa9312450fcc9 = []byte{ - // 313 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xd1, 0x4a, 0xf3, 0x30, - 0x18, 0xfd, 0xd7, 0xc1, 0x2f, 0x74, 0x17, 0x96, 0xdd, 0x08, 0xba, 0x5d, 0x6c, 0x0f, 0x90, 0x50, - 0xbc, 0x8b, 0x20, 0xa4, 0x5b, 0x1c, 0x43, 0xed, 0xa6, 0x65, 0x15, 0xa4, 0x30, 0xe2, 0x12, 0x62, - 0x61, 0x4d, 0xca, 0xbe, 0x6c, 0x0f, 0xe4, 0xa5, 0x8f, 0xe2, 0xa3, 0x78, 0xe7, 0x1b, 0x48, 0xd2, - 0x6d, 0x77, 0xf3, 0xa6, 0x9c, 0xaf, 0xe7, 0x3b, 0xe7, 0x3b, 0x39, 0xe1, 0xad, 0x32, 0x46, 0xad, - 0x25, 0xe6, 0x02, 0x70,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x35, 0x00, 0x5f, 0x07, 0xbe, 0xa0, 0x02, 0x8a, - 0x23, 0x5f, 0xe4, 0x71, 0xe1, 0xf9, 0xef, 0x60, 0xd0, 0xfc, 0x24, 0x84, 0x0a, 0x20, 0xe4, 0xb8, - 0x41, 0x48, 0x1e, 0x13, 0xe2, 0x77, 0xde, 0xfe, 0xfb, 0x60, 0xd7, 0xbf, 0x01, 0x00, 0x00, 0xff, - 0xff, 0xfa, 0x2b, 0xea, 0x0c, 0xeb, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/campaign_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/campaign_status.pb.go deleted file mode 100644 index 5da37fc5..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/campaign_status.pb.go +++ /dev/null @@ -1,128 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/campaign_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_6d9d0ca16fb2fd74, []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_6d9d0ca16fb2fd74, []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 (m *CampaignStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.CampaignStatusEnum_CampaignStatus", CampaignStatusEnum_CampaignStatus_name, CampaignStatusEnum_CampaignStatus_value) - proto.RegisterType((*CampaignStatusEnum)(nil), "google.ads.googleads.v1.enums.CampaignStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/campaign_status.proto", fileDescriptor_6d9d0ca16fb2fd74) -} - -var fileDescriptor_6d9d0ca16fb2fd74 = []byte{ - // 305 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdd, 0x4a, 0xc3, 0x30, - 0x14, 0x76, 0x9d, 0x4c, 0xc8, 0x40, 0x4b, 0xbd, 0x13, 0x77, 0xb1, 0x3d, 0x40, 0x42, 0xd9, 0x5d, - 0xbc, 0x4a, 0xd7, 0x38, 0x86, 0xda, 0x15, 0x67, 0x2b, 0x48, 0x41, 0xe2, 0x5a, 0x42, 0x65, 0x4d, - 0xca, 0xd2, 0xee, 0x81, 0xbc, 0xf4, 0x51, 0x7c, 0x12, 0xf1, 0x29, 0x24, 0xe9, 0x0f, 0xec, 0x42, - 0x6f, 0xca, 0xd7, 0xf3, 0xfd, 0xe4, 0x3b, 0x07, 0xcc, 0xb9, 0x94, 0x7c, 0x97, 0x21, 0x96, 0x2a, - 0xd4, 0x40, 0x8d, 0x0e, 0x2e, 0xca, 0x44, 0x5d, 0x28, 0xb4, 0x65, 0x45, 0xc9, 0x72, 0x2e, 0x5e, - 0x55, 0xc5, 0xaa, 0x5a, 0xc1, 0x72, 0x2f, 0x2b, 0xe9, 0x4c, 0x1a, 0x25, 0x64, 0xa9, 0x82, 0xbd, - 0x09, 0x1e, 0x5c, 0x68, 0x4c, 0x57, 0xd7, 0x5d, 0x66, 0x99, 0x23, 0x26, 0x84, 0xac, 0x58, 0x95, - 0x4b, 0xd1, 0x9a, 0x67, 0xef, 0xc0, 0x59, 0xb4, 0xa9, 0x1b, 0x13, 0x4a, 0x45, 0x5d, 0xcc, 0x9e, - 0xc0, 0xf9, 0xf1, 0xd4, 0xb9, 0x00, 0xe3, 0x28, 0xd8, 0x84, 0x74, 0xb1, 0xba, 0x5d, 0x51, 0xdf, - 0x3e, 0x71, 0xc6, 0xe0, 0x2c, 0x0a, 0xee, 0x82, 0xf5, 0x73, 0x60, 0x0f, 0xf4, 0x0f, 0x0d, 0x88, - 0x77, 0x4f, 0x7d, 0xdb, 0x72, 0x00, 0x18, 0x85, 0x24, 0xda, 0x50, 0xdf, 0x1e, 0x6a, 0xe2, 0x91, - 0x3e, 0xac, 0x63, 0xea, 0xdb, 0xa7, 0xde, 0xf7, 0x00, 0x4c, 0xb7, 0xb2, 0x80, 0xff, 0xf6, 0xf5, - 0x2e, 0x8f, 0x5f, 0x0e, 0x75, 0xcd, 0x70, 0xf0, 0xe2, 0xb5, 0x2e, 0x2e, 0x77, 0x4c, 0x70, 0x28, - 0xf7, 0x1c, 0xf1, 0x4c, 0x98, 0x25, 0xba, 0x53, 0x95, 0xb9, 0xfa, 0xe3, 0x72, 0x37, 0xe6, 0xfb, - 0x61, 0x0d, 0x97, 0x84, 0x7c, 0x5a, 0x93, 0x65, 0x13, 0x45, 0x52, 0x05, 0x1b, 0xa8, 0x51, 0xec, - 0x42, 0xbd, 0xbb, 0xfa, 0xea, 0xf8, 0x84, 0xa4, 0x2a, 0xe9, 0xf9, 0x24, 0x76, 0x13, 0xc3, 0xff, - 0x58, 0xd3, 0x66, 0x88, 0x31, 0x49, 0x15, 0xc6, 0xbd, 0x02, 0xe3, 0xd8, 0xc5, 0xd8, 0x68, 0xde, - 0x46, 0xa6, 0xd8, 0xfc, 0x37, 0x00, 0x00, 0xff, 0xff, 0xc1, 0x1f, 0xe1, 0x6b, 0xd1, 0x01, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/change_status_operation.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/change_status_operation.pb.go deleted file mode 100644 index 9879982d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/change_status_operation.pb.go +++ /dev/null @@ -1,129 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/change_status_operation.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_0de4a81b3f7260b4, []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_0de4a81b3f7260b4, []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 (m *ChangeStatusOperationEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChangeStatusOperationEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.ChangeStatusOperationEnum_ChangeStatusOperation", ChangeStatusOperationEnum_ChangeStatusOperation_name, ChangeStatusOperationEnum_ChangeStatusOperation_value) - proto.RegisterType((*ChangeStatusOperationEnum)(nil), "google.ads.googleads.v1.enums.ChangeStatusOperationEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/change_status_operation.proto", fileDescriptor_0de4a81b3f7260b4) -} - -var fileDescriptor_0de4a81b3f7260b4 = []byte{ - // 318 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x41, 0x4f, 0xfa, 0x30, - 0x18, 0xc6, 0xff, 0x8c, 0xbf, 0x1a, 0xcb, 0xc1, 0x65, 0x89, 0x07, 0x89, 0x1c, 0xe0, 0x03, 0xb4, - 0x59, 0xbc, 0x95, 0x53, 0xa1, 0x15, 0x89, 0x71, 0x10, 0x09, 0x33, 0x21, 0x4b, 0x48, 0x65, 0x4b, - 0x25, 0x81, 0x76, 0x59, 0x37, 0xfc, 0x3e, 0x1e, 0xfd, 0x28, 0x7e, 0x14, 0x2f, 0x7e, 0x05, 0xd3, - 0xd6, 0xed, 0x84, 0x5e, 0x9a, 0xa7, 0xef, 0xf3, 0xfe, 0x9e, 0xbe, 0x7d, 0xc1, 0x50, 0x28, 0x25, - 0x76, 0x19, 0xe2, 0xa9, 0x46, 0x4e, 0x1a, 0x75, 0x08, 0x51, 0x26, 0xab, 0xbd, 0x46, 0x9b, 0x17, - 0x2e, 0x45, 0xb6, 0xd6, 0x25, 0x2f, 0x2b, 0xbd, 0x56, 0x79, 0x56, 0xf0, 0x72, 0xab, 0x24, 0xcc, - 0x0b, 0x55, 0xaa, 0xa0, 0xe7, 0x08, 0xc8, 0x53, 0x0d, 0x1b, 0x18, 0x1e, 0x42, 0x68, 0xe1, 0xee, - 0x75, 0x9d, 0x9d, 0x6f, 0x11, 0x97, 0x52, 0x95, 0x96, 0xd5, 0x0e, 0x1e, 0xbc, 0x82, 0xab, 0xb1, - 0x4d, 0x5f, 0xd8, 0xf0, 0x59, 0x9d, 0xcd, 0x64, 0xb5, 0x1f, 0xac, 0xc0, 0xe5, 0x51, 0x33, 0xb8, - 0x00, 0x9d, 0x65, 0xb4, 0x98, 0xb3, 0xf1, 0xf4, 0x76, 0xca, 0xa8, 0xff, 0x2f, 0xe8, 0x80, 0xb3, - 0x65, 0x74, 0x1f, 0xcd, 0x9e, 0x22, 0xbf, 0x15, 0x9c, 0x83, 0x13, 0x42, 0x29, 0xa3, 0xbe, 0x67, - 0xea, 0xe3, 0x3b, 0x12, 0x4d, 0x18, 0xf5, 0xdb, 0xe6, 0xf2, 0xc8, 0x1e, 0x66, 0x31, 0xa3, 0xfe, - 0xff, 0xd1, 0x57, 0x0b, 0xf4, 0x37, 0x6a, 0x0f, 0xff, 0x1c, 0x7e, 0xd4, 0x3d, 0xfa, 0xfe, 0xdc, - 0x8c, 0x3e, 0x6f, 0xad, 0x46, 0x3f, 0xb0, 0x50, 0x3b, 0x2e, 0x05, 0x54, 0x85, 0x40, 0x22, 0x93, - 0xf6, 0x63, 0xf5, 0x1a, 0xf3, 0xad, 0xfe, 0x65, 0xab, 0x43, 0x7b, 0xbe, 0x79, 0xed, 0x09, 0x21, - 0xef, 0x5e, 0x6f, 0xe2, 0xa2, 0x48, 0xaa, 0xa1, 0x93, 0x46, 0xc5, 0x21, 0x34, 0x8b, 0xd0, 0x1f, - 0xb5, 0x9f, 0x90, 0x54, 0x27, 0x8d, 0x9f, 0xc4, 0x61, 0x62, 0xfd, 0x4f, 0xaf, 0xef, 0x8a, 0x18, - 0x93, 0x54, 0x63, 0xdc, 0x74, 0x60, 0x1c, 0x87, 0x18, 0xdb, 0x9e, 0xe7, 0x53, 0x3b, 0xd8, 0xcd, - 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x5a, 0x98, 0xf8, 0x7d, 0xed, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/change_status_resource_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/change_status_resource_type.pb.go deleted file mode 100644 index 77372533..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/change_status_resource_type.pb.go +++ /dev/null @@ -1,164 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/change_status_resource_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // A Feed resource change. - ChangeStatusResourceTypeEnum_FEED ChangeStatusResourceTypeEnum_ChangeStatusResourceType = 9 - // A FeedItem resource change. - ChangeStatusResourceTypeEnum_FEED_ITEM ChangeStatusResourceTypeEnum_ChangeStatusResourceType = 10 - // An AdGroupFeed resource change. - ChangeStatusResourceTypeEnum_AD_GROUP_FEED ChangeStatusResourceTypeEnum_ChangeStatusResourceType = 11 - // A CampaignFeed resource change. - ChangeStatusResourceTypeEnum_CAMPAIGN_FEED ChangeStatusResourceTypeEnum_ChangeStatusResourceType = 12 - // An AdGroupBidModifier resource change. - ChangeStatusResourceTypeEnum_AD_GROUP_BID_MODIFIER ChangeStatusResourceTypeEnum_ChangeStatusResourceType = 13 -) - -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", - 9: "FEED", - 10: "FEED_ITEM", - 11: "AD_GROUP_FEED", - 12: "CAMPAIGN_FEED", - 13: "AD_GROUP_BID_MODIFIER", -} - -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, - "FEED": 9, - "FEED_ITEM": 10, - "AD_GROUP_FEED": 11, - "CAMPAIGN_FEED": 12, - "AD_GROUP_BID_MODIFIER": 13, -} - -func (x ChangeStatusResourceTypeEnum_ChangeStatusResourceType) String() string { - return proto.EnumName(ChangeStatusResourceTypeEnum_ChangeStatusResourceType_name, int32(x)) -} - -func (ChangeStatusResourceTypeEnum_ChangeStatusResourceType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_62c3997623423e9b, []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_62c3997623423e9b, []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 (m *ChangeStatusResourceTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChangeStatusResourceTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.ChangeStatusResourceTypeEnum_ChangeStatusResourceType", ChangeStatusResourceTypeEnum_ChangeStatusResourceType_name, ChangeStatusResourceTypeEnum_ChangeStatusResourceType_value) - proto.RegisterType((*ChangeStatusResourceTypeEnum)(nil), "google.ads.googleads.v1.enums.ChangeStatusResourceTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/change_status_resource_type.proto", fileDescriptor_62c3997623423e9b) -} - -var fileDescriptor_62c3997623423e9b = []byte{ - // 407 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xcd, 0x8a, 0xdb, 0x30, - 0x10, 0xc7, 0x6b, 0xef, 0x76, 0x3f, 0x94, 0x0d, 0x55, 0x05, 0x2d, 0x6d, 0xd9, 0x1c, 0x76, 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, 0xfb, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x45, - 0xcb, 0xd2, 0x17, 0x8e, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/click_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/click_type.pb.go deleted file mode 100644 index 0aeed2f0..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/click_type.pb.go +++ /dev/null @@ -1,368 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/click_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enumerates Google Ads click types. -type ClickTypeEnum_ClickType int32 - -const ( - // Not specified. - ClickTypeEnum_UNSPECIFIED ClickTypeEnum_ClickType = 0 - // The value is unknown in this version. - ClickTypeEnum_UNKNOWN ClickTypeEnum_ClickType = 1 - // App engagement ad deep link. - ClickTypeEnum_APP_DEEPLINK ClickTypeEnum_ClickType = 2 - // Breadcrumbs. - ClickTypeEnum_BREADCRUMBS ClickTypeEnum_ClickType = 3 - // Broadband Plan. - ClickTypeEnum_BROADBAND_PLAN ClickTypeEnum_ClickType = 4 - // Manually dialed phone calls. - ClickTypeEnum_CALL_TRACKING ClickTypeEnum_ClickType = 5 - // Phone calls. - ClickTypeEnum_CALLS ClickTypeEnum_ClickType = 6 - // Click on engagement ad. - ClickTypeEnum_CLICK_ON_ENGAGEMENT_AD ClickTypeEnum_ClickType = 7 - // Driving direction. - ClickTypeEnum_GET_DIRECTIONS ClickTypeEnum_ClickType = 8 - // Get location details. - ClickTypeEnum_LOCATION_EXPANSION ClickTypeEnum_ClickType = 9 - // Call. - ClickTypeEnum_LOCATION_FORMAT_CALL ClickTypeEnum_ClickType = 10 - // Directions. - ClickTypeEnum_LOCATION_FORMAT_DIRECTIONS ClickTypeEnum_ClickType = 11 - // Image(s). - ClickTypeEnum_LOCATION_FORMAT_IMAGE ClickTypeEnum_ClickType = 12 - // Go to landing page. - ClickTypeEnum_LOCATION_FORMAT_LANDING_PAGE ClickTypeEnum_ClickType = 13 - // Map. - ClickTypeEnum_LOCATION_FORMAT_MAP ClickTypeEnum_ClickType = 14 - // Go to store info. - ClickTypeEnum_LOCATION_FORMAT_STORE_INFO ClickTypeEnum_ClickType = 15 - // Text. - ClickTypeEnum_LOCATION_FORMAT_TEXT ClickTypeEnum_ClickType = 16 - // Mobile phone calls. - ClickTypeEnum_MOBILE_CALL_TRACKING ClickTypeEnum_ClickType = 17 - // Print offer. - ClickTypeEnum_OFFER_PRINTS ClickTypeEnum_ClickType = 18 - // Other. - ClickTypeEnum_OTHER ClickTypeEnum_ClickType = 19 - // Product plusbox offer. - ClickTypeEnum_PRODUCT_EXTENSION_CLICKS ClickTypeEnum_ClickType = 20 - // Shopping - Product - Online. - ClickTypeEnum_PRODUCT_LISTING_AD_CLICKS ClickTypeEnum_ClickType = 21 - // Sitelink. - ClickTypeEnum_SITELINKS ClickTypeEnum_ClickType = 22 - // Show nearby locations. - ClickTypeEnum_STORE_LOCATOR ClickTypeEnum_ClickType = 23 - // Headline. - ClickTypeEnum_URL_CLICKS ClickTypeEnum_ClickType = 25 - // App store. - ClickTypeEnum_VIDEO_APP_STORE_CLICKS ClickTypeEnum_ClickType = 26 - // Call-to-Action overlay. - ClickTypeEnum_VIDEO_CALL_TO_ACTION_CLICKS ClickTypeEnum_ClickType = 27 - // Cards. - ClickTypeEnum_VIDEO_CARD_ACTION_HEADLINE_CLICKS ClickTypeEnum_ClickType = 28 - // End cap. - ClickTypeEnum_VIDEO_END_CAP_CLICKS ClickTypeEnum_ClickType = 29 - // Website. - ClickTypeEnum_VIDEO_WEBSITE_CLICKS ClickTypeEnum_ClickType = 30 - // Visual Sitelinks. - ClickTypeEnum_VISUAL_SITELINKS ClickTypeEnum_ClickType = 31 - // Wireless Plan. - ClickTypeEnum_WIRELESS_PLAN ClickTypeEnum_ClickType = 32 - // Shopping - Product - Local. - ClickTypeEnum_PRODUCT_LISTING_AD_LOCAL ClickTypeEnum_ClickType = 33 - // Shopping - Product - MultiChannel Local. - ClickTypeEnum_PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL ClickTypeEnum_ClickType = 34 - // Shopping - Product - MultiChannel Online. - ClickTypeEnum_PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE ClickTypeEnum_ClickType = 35 - // Shopping - Product - Coupon. - ClickTypeEnum_PRODUCT_LISTING_ADS_COUPON ClickTypeEnum_ClickType = 36 - // Shopping - Product - Sell on Google. - ClickTypeEnum_PRODUCT_LISTING_AD_TRANSACTABLE ClickTypeEnum_ClickType = 37 - // Shopping - Product - App engagement ad deep link. - ClickTypeEnum_PRODUCT_AD_APP_DEEPLINK ClickTypeEnum_ClickType = 38 - // Shopping - Showcase - Category. - ClickTypeEnum_SHOWCASE_AD_CATEGORY_LINK ClickTypeEnum_ClickType = 39 - // Shopping - Showcase - Local storefront. - ClickTypeEnum_SHOWCASE_AD_LOCAL_STOREFRONT_LINK ClickTypeEnum_ClickType = 40 - // Shopping - Showcase - Online product. - ClickTypeEnum_SHOWCASE_AD_ONLINE_PRODUCT_LINK ClickTypeEnum_ClickType = 42 - // Shopping - Showcase - Local product. - ClickTypeEnum_SHOWCASE_AD_LOCAL_PRODUCT_LINK ClickTypeEnum_ClickType = 43 - // Promotion Extension. - ClickTypeEnum_PROMOTION_EXTENSION ClickTypeEnum_ClickType = 44 - // Ad Headline. - ClickTypeEnum_SWIPEABLE_GALLERY_AD_HEADLINE ClickTypeEnum_ClickType = 45 - // Swipes. - ClickTypeEnum_SWIPEABLE_GALLERY_AD_SWIPES ClickTypeEnum_ClickType = 46 - // See More. - ClickTypeEnum_SWIPEABLE_GALLERY_AD_SEE_MORE ClickTypeEnum_ClickType = 47 - // Sitelink 1. - ClickTypeEnum_SWIPEABLE_GALLERY_AD_SITELINK_ONE ClickTypeEnum_ClickType = 48 - // Sitelink 2. - ClickTypeEnum_SWIPEABLE_GALLERY_AD_SITELINK_TWO ClickTypeEnum_ClickType = 49 - // Sitelink 3. - ClickTypeEnum_SWIPEABLE_GALLERY_AD_SITELINK_THREE ClickTypeEnum_ClickType = 50 - // Sitelink 4. - ClickTypeEnum_SWIPEABLE_GALLERY_AD_SITELINK_FOUR ClickTypeEnum_ClickType = 51 - // Sitelink 5. - ClickTypeEnum_SWIPEABLE_GALLERY_AD_SITELINK_FIVE ClickTypeEnum_ClickType = 52 - // Hotel price. - ClickTypeEnum_HOTEL_PRICE ClickTypeEnum_ClickType = 53 - // Price Extension. - ClickTypeEnum_PRICE_EXTENSION ClickTypeEnum_ClickType = 54 - // Book on Google hotel room selection. - ClickTypeEnum_HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION ClickTypeEnum_ClickType = 55 - // Shopping - Comparison Listing. - ClickTypeEnum_SHOPPING_COMPARISON_LISTING ClickTypeEnum_ClickType = 56 -) - -var ClickTypeEnum_ClickType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "APP_DEEPLINK", - 3: "BREADCRUMBS", - 4: "BROADBAND_PLAN", - 5: "CALL_TRACKING", - 6: "CALLS", - 7: "CLICK_ON_ENGAGEMENT_AD", - 8: "GET_DIRECTIONS", - 9: "LOCATION_EXPANSION", - 10: "LOCATION_FORMAT_CALL", - 11: "LOCATION_FORMAT_DIRECTIONS", - 12: "LOCATION_FORMAT_IMAGE", - 13: "LOCATION_FORMAT_LANDING_PAGE", - 14: "LOCATION_FORMAT_MAP", - 15: "LOCATION_FORMAT_STORE_INFO", - 16: "LOCATION_FORMAT_TEXT", - 17: "MOBILE_CALL_TRACKING", - 18: "OFFER_PRINTS", - 19: "OTHER", - 20: "PRODUCT_EXTENSION_CLICKS", - 21: "PRODUCT_LISTING_AD_CLICKS", - 22: "SITELINKS", - 23: "STORE_LOCATOR", - 25: "URL_CLICKS", - 26: "VIDEO_APP_STORE_CLICKS", - 27: "VIDEO_CALL_TO_ACTION_CLICKS", - 28: "VIDEO_CARD_ACTION_HEADLINE_CLICKS", - 29: "VIDEO_END_CAP_CLICKS", - 30: "VIDEO_WEBSITE_CLICKS", - 31: "VISUAL_SITELINKS", - 32: "WIRELESS_PLAN", - 33: "PRODUCT_LISTING_AD_LOCAL", - 34: "PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL", - 35: "PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE", - 36: "PRODUCT_LISTING_ADS_COUPON", - 37: "PRODUCT_LISTING_AD_TRANSACTABLE", - 38: "PRODUCT_AD_APP_DEEPLINK", - 39: "SHOWCASE_AD_CATEGORY_LINK", - 40: "SHOWCASE_AD_LOCAL_STOREFRONT_LINK", - 42: "SHOWCASE_AD_ONLINE_PRODUCT_LINK", - 43: "SHOWCASE_AD_LOCAL_PRODUCT_LINK", - 44: "PROMOTION_EXTENSION", - 45: "SWIPEABLE_GALLERY_AD_HEADLINE", - 46: "SWIPEABLE_GALLERY_AD_SWIPES", - 47: "SWIPEABLE_GALLERY_AD_SEE_MORE", - 48: "SWIPEABLE_GALLERY_AD_SITELINK_ONE", - 49: "SWIPEABLE_GALLERY_AD_SITELINK_TWO", - 50: "SWIPEABLE_GALLERY_AD_SITELINK_THREE", - 51: "SWIPEABLE_GALLERY_AD_SITELINK_FOUR", - 52: "SWIPEABLE_GALLERY_AD_SITELINK_FIVE", - 53: "HOTEL_PRICE", - 54: "PRICE_EXTENSION", - 55: "HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION", - 56: "SHOPPING_COMPARISON_LISTING", -} - -var ClickTypeEnum_ClickType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "APP_DEEPLINK": 2, - "BREADCRUMBS": 3, - "BROADBAND_PLAN": 4, - "CALL_TRACKING": 5, - "CALLS": 6, - "CLICK_ON_ENGAGEMENT_AD": 7, - "GET_DIRECTIONS": 8, - "LOCATION_EXPANSION": 9, - "LOCATION_FORMAT_CALL": 10, - "LOCATION_FORMAT_DIRECTIONS": 11, - "LOCATION_FORMAT_IMAGE": 12, - "LOCATION_FORMAT_LANDING_PAGE": 13, - "LOCATION_FORMAT_MAP": 14, - "LOCATION_FORMAT_STORE_INFO": 15, - "LOCATION_FORMAT_TEXT": 16, - "MOBILE_CALL_TRACKING": 17, - "OFFER_PRINTS": 18, - "OTHER": 19, - "PRODUCT_EXTENSION_CLICKS": 20, - "PRODUCT_LISTING_AD_CLICKS": 21, - "SITELINKS": 22, - "STORE_LOCATOR": 23, - "URL_CLICKS": 25, - "VIDEO_APP_STORE_CLICKS": 26, - "VIDEO_CALL_TO_ACTION_CLICKS": 27, - "VIDEO_CARD_ACTION_HEADLINE_CLICKS": 28, - "VIDEO_END_CAP_CLICKS": 29, - "VIDEO_WEBSITE_CLICKS": 30, - "VISUAL_SITELINKS": 31, - "WIRELESS_PLAN": 32, - "PRODUCT_LISTING_AD_LOCAL": 33, - "PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL": 34, - "PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE": 35, - "PRODUCT_LISTING_ADS_COUPON": 36, - "PRODUCT_LISTING_AD_TRANSACTABLE": 37, - "PRODUCT_AD_APP_DEEPLINK": 38, - "SHOWCASE_AD_CATEGORY_LINK": 39, - "SHOWCASE_AD_LOCAL_STOREFRONT_LINK": 40, - "SHOWCASE_AD_ONLINE_PRODUCT_LINK": 42, - "SHOWCASE_AD_LOCAL_PRODUCT_LINK": 43, - "PROMOTION_EXTENSION": 44, - "SWIPEABLE_GALLERY_AD_HEADLINE": 45, - "SWIPEABLE_GALLERY_AD_SWIPES": 46, - "SWIPEABLE_GALLERY_AD_SEE_MORE": 47, - "SWIPEABLE_GALLERY_AD_SITELINK_ONE": 48, - "SWIPEABLE_GALLERY_AD_SITELINK_TWO": 49, - "SWIPEABLE_GALLERY_AD_SITELINK_THREE": 50, - "SWIPEABLE_GALLERY_AD_SITELINK_FOUR": 51, - "SWIPEABLE_GALLERY_AD_SITELINK_FIVE": 52, - "HOTEL_PRICE": 53, - "PRICE_EXTENSION": 54, - "HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION": 55, - "SHOPPING_COMPARISON_LISTING": 56, -} - -func (x ClickTypeEnum_ClickType) String() string { - return proto.EnumName(ClickTypeEnum_ClickType_name, int32(x)) -} - -func (ClickTypeEnum_ClickType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e96f35ef78cd8577, []int{0, 0} -} - -// Container for enumeration of Google Ads click types. -type ClickTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ClickTypeEnum) Reset() { *m = ClickTypeEnum{} } -func (m *ClickTypeEnum) String() string { return proto.CompactTextString(m) } -func (*ClickTypeEnum) ProtoMessage() {} -func (*ClickTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_e96f35ef78cd8577, []int{0} -} - -func (m *ClickTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClickTypeEnum.Unmarshal(m, b) -} -func (m *ClickTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClickTypeEnum.Marshal(b, m, deterministic) -} -func (m *ClickTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClickTypeEnum.Merge(m, src) -} -func (m *ClickTypeEnum) XXX_Size() int { - return xxx_messageInfo_ClickTypeEnum.Size(m) -} -func (m *ClickTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_ClickTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_ClickTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.ClickTypeEnum_ClickType", ClickTypeEnum_ClickType_name, ClickTypeEnum_ClickType_value) - proto.RegisterType((*ClickTypeEnum)(nil), "google.ads.googleads.v1.enums.ClickTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/click_type.proto", fileDescriptor_e96f35ef78cd8577) -} - -var fileDescriptor_e96f35ef78cd8577 = []byte{ - // 947 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x95, 0xdb, 0x6e, 0xdb, 0x36, - 0x18, 0xc7, 0x97, 0x74, 0x6d, 0x17, 0xe6, 0xc4, 0x32, 0x69, 0xd2, 0x9c, 0x6b, 0x67, 0x49, 0xb7, - 0x6e, 0x93, 0xe7, 0x75, 0x27, 0x78, 0x57, 0x94, 0xf4, 0x59, 0x26, 0x4c, 0x91, 0x02, 0x49, 0xdb, - 0xe9, 0x10, 0x80, 0xf0, 0x62, 0xc3, 0x08, 0x96, 0xd8, 0x46, 0x9d, 0x16, 0xe8, 0x7b, 0xec, 0x09, - 0x76, 0xb1, 0x8b, 0x3d, 0xca, 0x5e, 0x63, 0x77, 0x7b, 0x8a, 0x81, 0x92, 0xe5, 0x38, 0xa9, 0xdb, - 0xf4, 0xc6, 0xa0, 0xf9, 0xff, 0xf1, 0xd3, 0x77, 0x22, 0x3f, 0xe4, 0xf5, 0x06, 0x83, 0xde, 0x45, - 0xb7, 0xd4, 0xee, 0x8c, 0x4a, 0xd9, 0xd2, 0xad, 0xde, 0x94, 0x4b, 0xdd, 0xfe, 0xeb, 0xcb, 0x51, - 0xe9, 0xec, 0xe2, 0xfc, 0xec, 0x77, 0x7b, 0xf5, 0x76, 0xd8, 0xf5, 0x86, 0xaf, 0x06, 0x57, 0x03, - 0xb2, 0x97, 0x41, 0x5e, 0xbb, 0x33, 0xf2, 0x26, 0xbc, 0xf7, 0xa6, 0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0x92, 0xfe, 0xfe, 0x39, 0x7f, 0x2f, 0xa2, 0xf4, 0xef, 0xf9, 0xbd, - 0x28, 0x33, 0x45, 0x3b, 0x23, 0x2f, 0x5b, 0xba, 0x55, 0xb3, 0xec, 0xb9, 0xb9, 0x35, 0xfa, 0x27, - 0xd7, 0x4f, 0x69, 0x67, 0x74, 0x3a, 0xd1, 0x4f, 0x9b, 0xe5, 0xd3, 0x54, 0xff, 0x6f, 0xbe, 0x90, - 0x6d, 0x56, 0x2a, 0xb4, 0x33, 0xaa, 0x54, 0x26, 0x44, 0xa5, 0xd2, 0x2c, 0x57, 0x2a, 0x29, 0xf3, - 0xdb, 0x83, 0xd4, 0xb1, 0x17, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff, 0x6a, 0xa9, 0x31, 0xac, 0x84, - 0x07, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/content_label_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/content_label_type.pb.go deleted file mode 100644 index fe697db3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/content_label_type.pb.go +++ /dev/null @@ -1,186 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/content_label_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_bcaccae1ff7e8076, []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_bcaccae1ff7e8076, []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 (m *ContentLabelTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ContentLabelTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.ContentLabelTypeEnum_ContentLabelType", ContentLabelTypeEnum_ContentLabelType_name, ContentLabelTypeEnum_ContentLabelType_value) - proto.RegisterType((*ContentLabelTypeEnum)(nil), "google.ads.googleads.v1.enums.ContentLabelTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/content_label_type.proto", fileDescriptor_bcaccae1ff7e8076) -} - -var fileDescriptor_bcaccae1ff7e8076 = []byte{ - // 475 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0xdd, 0x6e, 0x9b, 0x3c, - 0x18, 0xfe, 0x42, 0xff, 0x12, 0xa7, 0x69, 0x5d, 0x7f, 0xed, 0x36, 0x4d, 0xeb, 0x41, 0x7b, 0x01, - 0xa0, 0x68, 0xd2, 0x0e, 0xd8, 0x91, 0x53, 0xbf, 0x61, 0xac, 0x04, 0x50, 0x30, 0x74, 0x99, 0x22, - 0x59, 0xb4, 0x20, 0x14, 0x29, 0xc1, 0xa8, 0xd0, 0x4a, 0xbd, 0x9d, 0x1d, 0xee, 0x52, 0x76, 0xbc, - 0xab, 0xa8, 0xb4, 0x7b, 0x98, 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9, 0x70, 0xde, 0xf2, 0xcf, 0xc6, 0x85, 0x1e, 0xda, 0x36, 0xcd, 0x6a, 0xdb, 0xde, - 0x28, 0x6c, 0x3b, 0x19, 0xda, 0x76, 0xab, 0xb9, 0xdd, 0x6f, 0x0f, 0xf6, 0xfe, 0x77, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x20, 0x89, 0xed, 0x7b, 0xda, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/conversion_action_category.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/conversion_action_category.pb.go deleted file mode 100644 index e96519a6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/conversion_action_category.pb.go +++ /dev/null @@ -1,144 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/conversion_action_category.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_23ef90dd965d8778, []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_23ef90dd965d8778, []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 (m *ConversionActionCategoryEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConversionActionCategoryEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.ConversionActionCategoryEnum_ConversionActionCategory", ConversionActionCategoryEnum_ConversionActionCategory_name, ConversionActionCategoryEnum_ConversionActionCategory_value) - proto.RegisterType((*ConversionActionCategoryEnum)(nil), "google.ads.googleads.v1.enums.ConversionActionCategoryEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/conversion_action_category.proto", fileDescriptor_23ef90dd965d8778) -} - -var fileDescriptor_23ef90dd965d8778 = []byte{ - // 360 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xc1, 0x6a, 0xea, 0x40, - 0x14, 0x7d, 0x89, 0x3e, 0xf5, 0x8d, 0xef, 0xf1, 0x86, 0xac, 0x4a, 0xd1, 0x85, 0x7e, 0xc0, 0x84, - 0xd0, 0xdd, 0x14, 0x0a, 0x63, 0x32, 0xa6, 0xa1, 0x12, 0x43, 0x6d, 0x22, 0x94, 0x80, 0xa4, 0x49, - 0x08, 0x82, 0xce, 0x48, 0x26, 0x0a, 0xfd, 0x81, 0x7e, 0x48, 0x37, 0x85, 0x7e, 0x4a, 0x3f, 0xa5, - 0xcb, 0x7e, 0x41, 0x99, 0x89, 0x66, 0x67, 0x37, 0xc9, 0x99, 0xb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, 0x7e, 0xdc, 0x76, 0x32, 0x3c, 0x37, 0x6b, 0x20, 0xd7, 0x0d, 0xb4, 0xc7, 0xc9, 0x51, 0x5f, - 0xf0, 0x4d, 0xc2, 0x0a, 0xc4, 0xcb, 0xc2, 0x2c, 0x72, 0xa6, 0xc2, 0x38, 0xa5, 0xbf, 0x5b, 0x8b, - 0x33, 0x8f, 0x71, 0xad, 0xbe, 0xaf, 0x7a, 0xcb, 0x25, 0xe4, 0x5d, 0x1f, 0xba, 0xb5, 0x15, 0xc9, - 0x04, 0xaa, 0xa1, 0x44, 0x91, 0x85, 0x64, 0x70, 0xe2, 0xe3, 0x54, 0x8f, 0x49, 0x26, 0xe2, 0xa6, - 0x1e, 0x47, 0x56, 0xac, 0xea, 0x9f, 0xfa, 0xa8, 0xbe, 0xc4, 0x98, 0x64, 0x02, 0xe3, 0x86, 0x81, - 0x71, 0x64, 0x61, 0xac, 0x38, 0x4f, 0x1d, 0x35, 0xd8, 0xd5, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, - 0xf5, 0xae, 0x28, 0xe8, 0x24, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/conversion_action_counting_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/conversion_action_counting_type.pb.go deleted file mode 100644 index bdbb3d1f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/conversion_action_counting_type.pb.go +++ /dev/null @@ -1,127 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/conversion_action_counting_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_550c507bc08e87d7, []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_550c507bc08e87d7, []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 (m *ConversionActionCountingTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConversionActionCountingTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.ConversionActionCountingTypeEnum_ConversionActionCountingType", ConversionActionCountingTypeEnum_ConversionActionCountingType_name, ConversionActionCountingTypeEnum_ConversionActionCountingType_value) - proto.RegisterType((*ConversionActionCountingTypeEnum)(nil), "google.ads.googleads.v1.enums.ConversionActionCountingTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/conversion_action_counting_type.proto", fileDescriptor_550c507bc08e87d7) -} - -var fileDescriptor_550c507bc08e87d7 = []byte{ - // 326 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdf, 0x4a, 0xf3, 0x30, - 0x1c, 0xfd, 0xda, 0xc1, 0x27, 0x64, 0xa8, 0xb3, 0x97, 0xb2, 0x81, 0xdb, 0x03, 0xa4, 0x14, 0xef, - 0xe2, 0x55, 0x16, 0xeb, 0x18, 0xd3, 0xac, 0xa8, 0x9b, 0x28, 0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, - 0x3c, 0xe8, 0x66, 0xd8, 0x3f, 0x74, 0x48, 0x62, 0x2c, 0x25, 0xde, 0xcb, 0x70, 0xc7, 0x21, 0xd4, - 0x82, 0x49, 0x01, 0xd5, 0x4a, 0x84, 0x82, 0x4b, 0x6b, 0x78, 0x1f, 0x73, 0x55, 0xea, 0x3f, 0x52, - 0xbf, 0xb2, 0xef, 0xbb, 0xdf, 0x1a, 0x61, 0xfc, 0xe1, 0xf7, 0x46, 0x8e, 0x0a, 0x17, 0x1a, 0x3a, - 0x68, 0xd0, 0x3c, 0x82, 0x26, 0x18, 0xfd, 0xb9, 0xef, 0xa7, 0xb8, 0xd0, 0x69, 0xd3, 0x4f, 0xe7, - 0x51, 0x6a, 0xfb, 0x5f, 0x7e, 0xdf, 0x15, 0x11, 0xc2, 0x85, 0x46, 0xa8, 0x99, 0x40, 0x68, 0x1e, - 0x21, 0x64, 0x67, 0x5e, 0xff, 0xdb, 0xc3, 0x2e, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x15, 0xba, - 0x71, 0x06, 0x0d, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/conversion_action_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/conversion_action_status.pb.go deleted file mode 100644 index af0098ee..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/conversion_action_status.pb.go +++ /dev/null @@ -1,129 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/conversion_action_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_5e3dce9bda957bc7, []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_5e3dce9bda957bc7, []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 (m *ConversionActionStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConversionActionStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.ConversionActionStatusEnum_ConversionActionStatus", ConversionActionStatusEnum_ConversionActionStatus_name, ConversionActionStatusEnum_ConversionActionStatus_value) - proto.RegisterType((*ConversionActionStatusEnum)(nil), "google.ads.googleads.v1.enums.ConversionActionStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/conversion_action_status.proto", fileDescriptor_5e3dce9bda957bc7) -} - -var fileDescriptor_5e3dce9bda957bc7 = []byte{ - // 316 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xb1, 0x4e, 0xf3, 0x30, - 0x18, 0xfc, 0x9b, 0xfe, 0x2a, 0x92, 0x3b, 0x10, 0x65, 0x60, 0x28, 0x74, 0x68, 0x1f, 0xc0, 0x56, - 0xc4, 0x66, 0x58, 0x9c, 0xc6, 0x94, 0x0a, 0x70, 0x2b, 0xaa, 0x06, 0x09, 0x45, 0x42, 0xa6, 0x89, - 0xac, 0x4a, 0x8d, 0x1d, 0xc5, 0x49, 0x06, 0x1e, 0x87, 0x91, 0x47, 0xe1, 0x51, 0x98, 0x78, 0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, 0x97, 0x6a, 0xaf, 0xec, 0xf9, 0xee, 0xf4, 0xe7, 0x84, 0x7c, 0x38, - 0xe3, 0x79, 0x63, 0x45, 0x12, 0x0d, 0x1b, 0x68, 0x50, 0xe4, 0x43, 0xd3, 0x85, 0xfe, 0x6c, 0xf9, - 0x98, 0x24, 0x3a, 0xee, 0xf8, 0x38, 0xf2, 0x63, 0xcb, 0x7f, 0x39, 0x93, 0xe6, 0x11, 0x63, 0x92, - 0x68, 0x8c, 0xbb, 0x0d, 0x8c, 0x23, 0x1f, 0x63, 0xbb, 0xf3, 0x3a, 0xb0, 0xc1, 0x2e, 0x7f, 0x02, - 0x00, 0x00, 0xff, 0xff, 0xc5, 0x42, 0x97, 0x65, 0xf2, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/conversion_action_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/conversion_action_type.pb.go deleted file mode 100644 index 8b7559de..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/conversion_action_type.pb.go +++ /dev/null @@ -1,158 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/conversion_action_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_bfa8e6b62b604bcb, []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_bfa8e6b62b604bcb, []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 (m *ConversionActionTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConversionActionTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.ConversionActionTypeEnum_ConversionActionType", ConversionActionTypeEnum_ConversionActionType_name, ConversionActionTypeEnum_ConversionActionType_value) - proto.RegisterType((*ConversionActionTypeEnum)(nil), "google.ads.googleads.v1.enums.ConversionActionTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/conversion_action_type.proto", fileDescriptor_bfa8e6b62b604bcb) -} - -var fileDescriptor_bfa8e6b62b604bcb = []byte{ - // 398 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xdf, 0x8e, 0x94, 0x30, - 0x14, 0xc6, 0x85, 0xd5, 0x5d, 0xed, 0x6a, 0xac, 0x64, 0x2f, 0xd6, 0x3f, 0x1b, 0xb3, 0xfb, 0x00, - 0x25, 0xc4, 0xbb, 0x7a, 0x55, 0xa0, 0x22, 0x59, 0x02, 0x8d, 0x0c, 0x43, 0x34, 0x24, 0x04, 0x07, - 0x42, 0x26, 0xd9, 0x69, 0xc9, 0x94, 0x99, 0x64, 0x5e, 0xc7, 0x4b, 0x1f, 0xc5, 0x5b, 0xdf, 0xc2, - 0x0b, 0xe3, 0x23, 0x98, 0xb6, 0x42, 0xbc, 0x18, 0xbd, 0x81, 0xd3, 0xf3, 0x9d, 0xef, 0x77, 0xda, - 0x73, 0x00, 0xee, 0x85, 0xe8, 0xef, 0x3a, 0xb7, 0x69, 0xa5, 0x6b, 0x42, 0x15, 0xed, 0x3d, 0xb7, - 0xe3, 0xbb, 0x8d, 0x74, 0x57, 0x82, 0xef, 0xbb, 0xad, 0x5c, 0x0b, 0x5e, 0x37, 0xab, 0x51, 0xfd, - 0xc6, 0xc3, 0xd0, 0xa1, 0x61, 0x2b, 0x46, 0xe1, 0x5c, 0x19, 0x03, 0x6a, 0x5a, 0x89, 0x66, 0x2f, - 0xda, 0x7b, 0x48, 0x7b, 0x5f, 0xbc, 0x9a, 0xd0, 0xc3, 0xda, 0x6d, 0x38, 0x17, 0x63, 0xa3, 0x00, - 0xd2, 0x98, 0x6f, 0x7e, 0x59, 0xe0, 0x32, 0x98, 0xe9, 0x44, 0xc3, 0x17, 0x87, 0xa1, 0xa3, 0x7c, - 0xb7, 0xb9, 0xf9, 0x6e, 0x81, 0x8b, 0x63, 0xa2, 0xf3, 0x14, 0x9c, 0x17, 0x69, 0xce, 0x68, 0x10, - 0xbf, 0x8b, 0x69, 0x08, 0xef, 0x39, 0xe7, 0xe0, 0xac, 0x48, 0x6f, 0xd3, 0xac, 0x4c, 0xa1, 0xa5, - 0x0e, 0x24, 0xac, 0x03, 0x92, 0x24, 0xd0, 0x76, 0x9e, 0x81, 0x27, 0x41, 0x12, 0x07, 0xb7, 0xf5, - 0x22, 0x33, 0xa9, 0x13, 0xe7, 0x12, 0x5c, 0x44, 0x59, 0x16, 0x25, 0xb4, 0x66, 0x09, 0xf9, 0x58, - 0x87, 0x59, 0x99, 0x26, 0x19, 0x09, 0xe1, 0x7d, 0xe7, 0x35, 0x78, 0xf9, 0xb7, 0x12, 0xa7, 0x35, - 0x61, 0xac, 0x66, 0xc5, 0x87, 0xe0, 0x3d, 0xc9, 0x29, 0x7c, 0xe0, 0x40, 0xf0, 0xb8, 0x60, 0xaa, - 0x58, 0xb3, 0x72, 0x78, 0xaa, 0xf8, 0x53, 0x46, 0xb5, 0xc9, 0xe1, 0x99, 0xea, 0x5f, 0x52, 0x9f, - 0x91, 0x88, 0xc2, 0x87, 0xca, 0x51, 0x52, 0x3f, 0x8f, 0x17, 0xd4, 0xb4, 0x7f, 0xe4, 0xff, 0xb4, - 0xc0, 0xf5, 0x4a, 0x6c, 0xd0, 0x7f, 0xc7, 0xe6, 0x3f, 0x3f, 0xf6, 0x70, 0xa6, 0x66, 0xc6, 0xac, - 0x4f, 0xfe, 0x1f, 0x6f, 0x2f, 0xee, 0x1a, 0xde, 0x23, 0xb1, 0xed, 0xdd, 0xbe, 0xe3, 0x7a, 0xa2, - 0xd3, 0xfa, 0x86, 0xb5, 0xfc, 0xc7, 0x36, 0xdf, 0xea, 0xef, 0x17, 0xfb, 0x24, 0x22, 0xe4, 0xab, - 0x7d, 0x15, 0x19, 0x14, 0x69, 0x25, 0x32, 0xa1, 0x8a, 0x96, 0x1e, 0x52, 0x1b, 0x90, 0xdf, 0x26, - 0xbd, 0x22, 0xad, 0xac, 0x66, 0xbd, 0x5a, 0x7a, 0x95, 0xd6, 0x7f, 0xd8, 0xd7, 0x26, 0x89, 0x31, - 0x69, 0x25, 0xc6, 0x73, 0x05, 0xc6, 0x4b, 0x0f, 0x63, 0x5d, 0xf3, 0xf9, 0x54, 0x5f, 0xec, 0xcd, - 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x58, 0xf5, 0x21, 0xad, 0x65, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/conversion_adjustment_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/conversion_adjustment_type.pb.go deleted file mode 100644 index ad55a1a8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/conversion_adjustment_type.pb.go +++ /dev/null @@ -1,126 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/conversion_adjustment_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The different actions advertisers can take to adjust the conversions that -// they already reported. Retractions negate a conversion. Restatements change -// the value of a conversion. -type ConversionAdjustmentTypeEnum_ConversionAdjustmentType int32 - -const ( - // Not specified. - ConversionAdjustmentTypeEnum_UNSPECIFIED ConversionAdjustmentTypeEnum_ConversionAdjustmentType = 0 - // Represents value unknown in this version. - ConversionAdjustmentTypeEnum_UNKNOWN ConversionAdjustmentTypeEnum_ConversionAdjustmentType = 1 - // Negates a conversion so that its total value and count are both zero. - ConversionAdjustmentTypeEnum_RETRACTION ConversionAdjustmentTypeEnum_ConversionAdjustmentType = 2 - // Changes the value of a conversion. - ConversionAdjustmentTypeEnum_RESTATEMENT ConversionAdjustmentTypeEnum_ConversionAdjustmentType = 3 -) - -var ConversionAdjustmentTypeEnum_ConversionAdjustmentType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "RETRACTION", - 3: "RESTATEMENT", -} - -var ConversionAdjustmentTypeEnum_ConversionAdjustmentType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "RETRACTION": 2, - "RESTATEMENT": 3, -} - -func (x ConversionAdjustmentTypeEnum_ConversionAdjustmentType) String() string { - return proto.EnumName(ConversionAdjustmentTypeEnum_ConversionAdjustmentType_name, int32(x)) -} - -func (ConversionAdjustmentTypeEnum_ConversionAdjustmentType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_407eae25c297e5ef, []int{0, 0} -} - -// Container for enum describing conversion adjustment types. -type ConversionAdjustmentTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ConversionAdjustmentTypeEnum) Reset() { *m = ConversionAdjustmentTypeEnum{} } -func (m *ConversionAdjustmentTypeEnum) String() string { return proto.CompactTextString(m) } -func (*ConversionAdjustmentTypeEnum) ProtoMessage() {} -func (*ConversionAdjustmentTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_407eae25c297e5ef, []int{0} -} - -func (m *ConversionAdjustmentTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConversionAdjustmentTypeEnum.Unmarshal(m, b) -} -func (m *ConversionAdjustmentTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConversionAdjustmentTypeEnum.Marshal(b, m, deterministic) -} -func (m *ConversionAdjustmentTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConversionAdjustmentTypeEnum.Merge(m, src) -} -func (m *ConversionAdjustmentTypeEnum) XXX_Size() int { - return xxx_messageInfo_ConversionAdjustmentTypeEnum.Size(m) -} -func (m *ConversionAdjustmentTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_ConversionAdjustmentTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_ConversionAdjustmentTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.ConversionAdjustmentTypeEnum_ConversionAdjustmentType", ConversionAdjustmentTypeEnum_ConversionAdjustmentType_name, ConversionAdjustmentTypeEnum_ConversionAdjustmentType_value) - proto.RegisterType((*ConversionAdjustmentTypeEnum)(nil), "google.ads.googleads.v1.enums.ConversionAdjustmentTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/conversion_adjustment_type.proto", fileDescriptor_407eae25c297e5ef) -} - -var fileDescriptor_407eae25c297e5ef = []byte{ - // 318 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdf, 0x4a, 0xf3, 0x30, - 0x1c, 0xfd, 0xd6, 0xc1, 0x27, 0x64, 0xa0, 0xa5, 0x57, 0x22, 0xdb, 0xc5, 0xf6, 0x00, 0x29, 0xc5, - 0xbb, 0x08, 0x42, 0x36, 0xe3, 0x18, 0x62, 0x37, 0xb6, 0x6c, 0xa2, 0x14, 0x46, 0x5c, 0x42, 0xa8, - 0xac, 0x49, 0x59, 0xb2, 0xc1, 0x5e, 0xc7, 0x4b, 0x1f, 0xc5, 0x47, 0xf1, 0xd2, 0x27, 0x90, 0x26, - 0xae, 0x77, 0xf5, 0xa6, 0x1c, 0x7a, 0xfe, 0xfc, 0x4e, 0x0e, 0xb8, 0x95, 0x5a, 0xcb, 0xad, 0x88, - 0x19, 0x37, 0xb1, 0x87, 0x15, 0x3a, 0x24, 0xb1, 0x50, 0xf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x35, 0x85, 0xf9, - 0x3c, 0xf1, 0x19, 0xe6, 0x26, 0xab, 0xf9, 0x6c, 0x95, 0x64, 0x8e, 0xff, 0x0a, 0xfa, 0xfe, 0x27, - 0x42, 0x98, 0x1b, 0x84, 0x6a, 0x05, 0x42, 0xab, 0x04, 0x21, 0xa7, 0x79, 0xfd, 0xef, 0x8a, 0x5d, - 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x8c, 0xca, 0xf8, 0xcb, 0xf5, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/conversion_attribution_event_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/conversion_attribution_event_type.pb.go deleted file mode 100644 index 8c6fc56e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/conversion_attribution_event_type.pb.go +++ /dev/null @@ -1,125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/conversion_attribution_event_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The event type of conversions that are attributed to. -type ConversionAttributionEventTypeEnum_ConversionAttributionEventType int32 - -const ( - // Not specified. - ConversionAttributionEventTypeEnum_UNSPECIFIED ConversionAttributionEventTypeEnum_ConversionAttributionEventType = 0 - // Represents value unknown in this version. - ConversionAttributionEventTypeEnum_UNKNOWN ConversionAttributionEventTypeEnum_ConversionAttributionEventType = 1 - // The conversion is attributed to an impression. - ConversionAttributionEventTypeEnum_IMPRESSION ConversionAttributionEventTypeEnum_ConversionAttributionEventType = 2 - // The conversion is attributed to an interaction. - ConversionAttributionEventTypeEnum_INTERACTION ConversionAttributionEventTypeEnum_ConversionAttributionEventType = 3 -) - -var ConversionAttributionEventTypeEnum_ConversionAttributionEventType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "IMPRESSION", - 3: "INTERACTION", -} - -var ConversionAttributionEventTypeEnum_ConversionAttributionEventType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "IMPRESSION": 2, - "INTERACTION": 3, -} - -func (x ConversionAttributionEventTypeEnum_ConversionAttributionEventType) String() string { - return proto.EnumName(ConversionAttributionEventTypeEnum_ConversionAttributionEventType_name, int32(x)) -} - -func (ConversionAttributionEventTypeEnum_ConversionAttributionEventType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_3829bdfc2590c063, []int{0, 0} -} - -// Container for enum indicating the event type the conversion is attributed to. -type ConversionAttributionEventTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ConversionAttributionEventTypeEnum) Reset() { *m = ConversionAttributionEventTypeEnum{} } -func (m *ConversionAttributionEventTypeEnum) String() string { return proto.CompactTextString(m) } -func (*ConversionAttributionEventTypeEnum) ProtoMessage() {} -func (*ConversionAttributionEventTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_3829bdfc2590c063, []int{0} -} - -func (m *ConversionAttributionEventTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConversionAttributionEventTypeEnum.Unmarshal(m, b) -} -func (m *ConversionAttributionEventTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConversionAttributionEventTypeEnum.Marshal(b, m, deterministic) -} -func (m *ConversionAttributionEventTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConversionAttributionEventTypeEnum.Merge(m, src) -} -func (m *ConversionAttributionEventTypeEnum) XXX_Size() int { - return xxx_messageInfo_ConversionAttributionEventTypeEnum.Size(m) -} -func (m *ConversionAttributionEventTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_ConversionAttributionEventTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_ConversionAttributionEventTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.ConversionAttributionEventTypeEnum_ConversionAttributionEventType", ConversionAttributionEventTypeEnum_ConversionAttributionEventType_name, ConversionAttributionEventTypeEnum_ConversionAttributionEventType_value) - proto.RegisterType((*ConversionAttributionEventTypeEnum)(nil), "google.ads.googleads.v1.enums.ConversionAttributionEventTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/conversion_attribution_event_type.proto", fileDescriptor_3829bdfc2590c063) -} - -var fileDescriptor_3829bdfc2590c063 = []byte{ - // 325 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdf, 0x4a, 0xfb, 0x30, - 0x18, 0xfd, 0xb5, 0x83, 0x9f, 0x90, 0x81, 0x8e, 0x5e, 0x8a, 0x13, 0x36, 0xef, 0x53, 0x8a, 0x77, - 0xf1, 0x2a, 0x9b, 0x71, 0x14, 0xb1, 0x2b, 0xfb, 0x27, 0x48, 0x61, 0x64, 0x6b, 0x08, 0x85, 0x2d, - 0x29, 0x4d, 0x56, 0xd8, 0x03, 0xf8, 0x22, 0x5e, 0xfa, 0x28, 0x3e, 0x8a, 0x4f, 0xe0, 0xa5, 0x24, - 0x71, 0xf5, 0xca, 0xde, 0x84, 0x43, 0xbe, 0xf3, 0x9d, 0xf3, 0x9d, 0x03, 0x08, 0x97, 0x92, 0xef, - 0x58, 0x48, 0x73, 0x15, 0x3a, 0x68, 0x50, 0x1d, 0x85, 0x4c, 0x1c, 0xf6, 0x2a, 0xdc, 0x4a, 0x51, - 0xb3, 0x4a, 0x15, 0x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, 0x70, 0xae, 0xb2, 0x66, 0x9e, 0xad, 0xa2, - 0xcc, 0xce, 0x3f, 0xfd, 0x81, 0xfb, 0x44, 0x08, 0xe7, 0x0a, 0xa1, 0x86, 0x81, 0xd0, 0x2a, 0x42, - 0xc8, 0x72, 0x36, 0xff, 0xed, 0x61, 0xb7, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x2d, 0xc5, 0x1f, - 0x04, 0x0f, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/conversion_lag_bucket.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/conversion_lag_bucket.pb.go deleted file mode 100644 index ffb65946..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/conversion_lag_bucket.pb.go +++ /dev/null @@ -1,222 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/conversion_lag_bucket.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum representing the number of days between impression and conversion. -type ConversionLagBucketEnum_ConversionLagBucket int32 - -const ( - // Not specified. - ConversionLagBucketEnum_UNSPECIFIED ConversionLagBucketEnum_ConversionLagBucket = 0 - // Used for return value only. Represents value unknown in this version. - ConversionLagBucketEnum_UNKNOWN ConversionLagBucketEnum_ConversionLagBucket = 1 - // Conversion lag bucket from 0 to 1 day. 0 day is included, 1 day is not. - ConversionLagBucketEnum_LESS_THAN_ONE_DAY ConversionLagBucketEnum_ConversionLagBucket = 2 - // Conversion lag bucket from 1 to 2 days. 1 day is included, 2 days is not. - ConversionLagBucketEnum_ONE_TO_TWO_DAYS ConversionLagBucketEnum_ConversionLagBucket = 3 - // Conversion lag bucket from 2 to 3 days. 2 days is included, - // 3 days is not. - ConversionLagBucketEnum_TWO_TO_THREE_DAYS ConversionLagBucketEnum_ConversionLagBucket = 4 - // Conversion lag bucket from 3 to 4 days. 3 days is included, - // 4 days is not. - ConversionLagBucketEnum_THREE_TO_FOUR_DAYS ConversionLagBucketEnum_ConversionLagBucket = 5 - // Conversion lag bucket from 4 to 5 days. 4 days is included, - // 5 days is not. - ConversionLagBucketEnum_FOUR_TO_FIVE_DAYS ConversionLagBucketEnum_ConversionLagBucket = 6 - // Conversion lag bucket from 5 to 6 days. 5 days is included, - // 6 days is not. - ConversionLagBucketEnum_FIVE_TO_SIX_DAYS ConversionLagBucketEnum_ConversionLagBucket = 7 - // Conversion lag bucket from 6 to 7 days. 6 days is included, - // 7 days is not. - ConversionLagBucketEnum_SIX_TO_SEVEN_DAYS ConversionLagBucketEnum_ConversionLagBucket = 8 - // Conversion lag bucket from 7 to 8 days. 7 days is included, - // 8 days is not. - ConversionLagBucketEnum_SEVEN_TO_EIGHT_DAYS ConversionLagBucketEnum_ConversionLagBucket = 9 - // Conversion lag bucket from 8 to 9 days. 8 days is included, - // 9 days is not. - ConversionLagBucketEnum_EIGHT_TO_NINE_DAYS ConversionLagBucketEnum_ConversionLagBucket = 10 - // Conversion lag bucket from 9 to 10 days. 9 days is included, - // 10 days is not. - ConversionLagBucketEnum_NINE_TO_TEN_DAYS ConversionLagBucketEnum_ConversionLagBucket = 11 - // Conversion lag bucket from 10 to 11 days. 10 days is included, - // 11 days is not. - ConversionLagBucketEnum_TEN_TO_ELEVEN_DAYS ConversionLagBucketEnum_ConversionLagBucket = 12 - // Conversion lag bucket from 11 to 12 days. 11 days is included, - // 12 days is not. - ConversionLagBucketEnum_ELEVEN_TO_TWELVE_DAYS ConversionLagBucketEnum_ConversionLagBucket = 13 - // Conversion lag bucket from 12 to 13 days. 12 days is included, - // 13 days is not. - ConversionLagBucketEnum_TWELVE_TO_THIRTEEN_DAYS ConversionLagBucketEnum_ConversionLagBucket = 14 - // Conversion lag bucket from 13 to 14 days. 13 days is included, - // 14 days is not. - ConversionLagBucketEnum_THIRTEEN_TO_FOURTEEN_DAYS ConversionLagBucketEnum_ConversionLagBucket = 15 - // Conversion lag bucket from 14 to 21 days. 14 days is included, - // 21 days is not. - ConversionLagBucketEnum_FOURTEEN_TO_TWENTY_ONE_DAYS ConversionLagBucketEnum_ConversionLagBucket = 16 - // Conversion lag bucket from 21 to 30 days. 21 days is included, - // 30 days is not. - ConversionLagBucketEnum_TWENTY_ONE_TO_THIRTY_DAYS ConversionLagBucketEnum_ConversionLagBucket = 17 - // Conversion lag bucket from 30 to 45 days. 30 days is included, - // 45 days is not. - ConversionLagBucketEnum_THIRTY_TO_FORTY_FIVE_DAYS ConversionLagBucketEnum_ConversionLagBucket = 18 - // Conversion lag bucket from 45 to 60 days. 45 days is included, - // 60 days is not. - ConversionLagBucketEnum_FORTY_FIVE_TO_SIXTY_DAYS ConversionLagBucketEnum_ConversionLagBucket = 19 - // Conversion lag bucket from 60 to 90 days. 60 days is included, - // 90 days is not. - ConversionLagBucketEnum_SIXTY_TO_NINETY_DAYS ConversionLagBucketEnum_ConversionLagBucket = 20 -) - -var ConversionLagBucketEnum_ConversionLagBucket_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "LESS_THAN_ONE_DAY", - 3: "ONE_TO_TWO_DAYS", - 4: "TWO_TO_THREE_DAYS", - 5: "THREE_TO_FOUR_DAYS", - 6: "FOUR_TO_FIVE_DAYS", - 7: "FIVE_TO_SIX_DAYS", - 8: "SIX_TO_SEVEN_DAYS", - 9: "SEVEN_TO_EIGHT_DAYS", - 10: "EIGHT_TO_NINE_DAYS", - 11: "NINE_TO_TEN_DAYS", - 12: "TEN_TO_ELEVEN_DAYS", - 13: "ELEVEN_TO_TWELVE_DAYS", - 14: "TWELVE_TO_THIRTEEN_DAYS", - 15: "THIRTEEN_TO_FOURTEEN_DAYS", - 16: "FOURTEEN_TO_TWENTY_ONE_DAYS", - 17: "TWENTY_ONE_TO_THIRTY_DAYS", - 18: "THIRTY_TO_FORTY_FIVE_DAYS", - 19: "FORTY_FIVE_TO_SIXTY_DAYS", - 20: "SIXTY_TO_NINETY_DAYS", -} - -var ConversionLagBucketEnum_ConversionLagBucket_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "LESS_THAN_ONE_DAY": 2, - "ONE_TO_TWO_DAYS": 3, - "TWO_TO_THREE_DAYS": 4, - "THREE_TO_FOUR_DAYS": 5, - "FOUR_TO_FIVE_DAYS": 6, - "FIVE_TO_SIX_DAYS": 7, - "SIX_TO_SEVEN_DAYS": 8, - "SEVEN_TO_EIGHT_DAYS": 9, - "EIGHT_TO_NINE_DAYS": 10, - "NINE_TO_TEN_DAYS": 11, - "TEN_TO_ELEVEN_DAYS": 12, - "ELEVEN_TO_TWELVE_DAYS": 13, - "TWELVE_TO_THIRTEEN_DAYS": 14, - "THIRTEEN_TO_FOURTEEN_DAYS": 15, - "FOURTEEN_TO_TWENTY_ONE_DAYS": 16, - "TWENTY_ONE_TO_THIRTY_DAYS": 17, - "THIRTY_TO_FORTY_FIVE_DAYS": 18, - "FORTY_FIVE_TO_SIXTY_DAYS": 19, - "SIXTY_TO_NINETY_DAYS": 20, -} - -func (x ConversionLagBucketEnum_ConversionLagBucket) String() string { - return proto.EnumName(ConversionLagBucketEnum_ConversionLagBucket_name, int32(x)) -} - -func (ConversionLagBucketEnum_ConversionLagBucket) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_68e3b61d9708a0b6, []int{0, 0} -} - -// Container for enum representing the number of days between impression and -// conversion. -type ConversionLagBucketEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ConversionLagBucketEnum) Reset() { *m = ConversionLagBucketEnum{} } -func (m *ConversionLagBucketEnum) String() string { return proto.CompactTextString(m) } -func (*ConversionLagBucketEnum) ProtoMessage() {} -func (*ConversionLagBucketEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_68e3b61d9708a0b6, []int{0} -} - -func (m *ConversionLagBucketEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConversionLagBucketEnum.Unmarshal(m, b) -} -func (m *ConversionLagBucketEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConversionLagBucketEnum.Marshal(b, m, deterministic) -} -func (m *ConversionLagBucketEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConversionLagBucketEnum.Merge(m, src) -} -func (m *ConversionLagBucketEnum) XXX_Size() int { - return xxx_messageInfo_ConversionLagBucketEnum.Size(m) -} -func (m *ConversionLagBucketEnum) XXX_DiscardUnknown() { - xxx_messageInfo_ConversionLagBucketEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_ConversionLagBucketEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.ConversionLagBucketEnum_ConversionLagBucket", ConversionLagBucketEnum_ConversionLagBucket_name, ConversionLagBucketEnum_ConversionLagBucket_value) - proto.RegisterType((*ConversionLagBucketEnum)(nil), "google.ads.googleads.v1.enums.ConversionLagBucketEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/conversion_lag_bucket.proto", fileDescriptor_68e3b61d9708a0b6) -} - -var fileDescriptor_68e3b61d9708a0b6 = []byte{ - // 512 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x93, 0xd1, 0x6e, 0xda, 0x30, - 0x14, 0x86, 0x07, 0x65, 0xed, 0x66, 0xb6, 0x91, 0x1a, 0x3a, 0xe8, 0x5a, 0x34, 0xb5, 0x0f, 0x90, - 0x08, 0xed, 0x6a, 0xd9, 0x55,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 0xfb, 0xbf, 0x1b, 0xd8, 0x6d, 0x3d, 0xb2, 0x44, 0x43, 0xb5, 0x7d, 0xc3, 0xd2, 0xe7, - 0x6e, 0xde, 0x9a, 0x8a, 0x65, 0x94, 0xa5, 0xb6, 0xd8, 0xa4, 0x4e, 0x9a, 0x64, 0x7a, 0x37, 0xcd, - 0x3b, 0x58, 0x2f, 0xe4, 0x3f, 0x9e, 0xc5, 0x07, 0xfd, 0xfd, 0x56, 0x3e, 0xea, 0x79, 0xde, 0xf7, - 0x72, 0xbb, 0x07, 0x56, 0x5e, 0x2c, 0x6d, 0x08, 0x55, 0x34, 0xe9, 0xd8, 0x6a, 0x99, 0xe5, 0x4f, - 0x93, 0x9f, 0x79, 0xb1, 0x9c, 0x15, 0xf9, 0xd9, 0xa4, 0x33, 0xd3, 0xf9, 0x5f, 0xe5, 0x2b, 0x80, - 0xae, 0xeb, 0xc5, 0xd2, 0x75, 0x8b, 0x0a, 0xd7, 0x9d, 0x74, 0x5c, 0x57, 0xd7, 0x3c, 0x1c, 0xeb, - 0x83, 0xbd, 0xfb, 0x13, 0x00, 0x00, 0xff, 0xff, 0x29, 0xdd, 0xa7, 0xb6, 0xae, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/conversion_or_adjustment_lag_bucket.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/conversion_or_adjustment_lag_bucket.pb.go deleted file mode 100644 index c36427f8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/conversion_or_adjustment_lag_bucket.pb.go +++ /dev/null @@ -1,348 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/conversion_or_adjustment_lag_bucket.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum representing the number of days between the impression and the -// conversion or between the impression and adjustments to the conversion. -type ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket int32 - -const ( - // Not specified. - ConversionOrAdjustmentLagBucketEnum_UNSPECIFIED ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 0 - // Used for return value only. Represents value unknown in this version. - ConversionOrAdjustmentLagBucketEnum_UNKNOWN ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 1 - // Conversion lag bucket from 0 to 1 day. 0 day is included, 1 day is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_LESS_THAN_ONE_DAY ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 2 - // Conversion lag bucket from 1 to 2 days. 1 day is included, 2 days is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_ONE_TO_TWO_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 3 - // Conversion lag bucket from 2 to 3 days. 2 days is included, - // 3 days is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_TWO_TO_THREE_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 4 - // Conversion lag bucket from 3 to 4 days. 3 days is included, - // 4 days is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_THREE_TO_FOUR_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 5 - // Conversion lag bucket from 4 to 5 days. 4 days is included, - // 5 days is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_FOUR_TO_FIVE_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 6 - // Conversion lag bucket from 5 to 6 days. 5 days is included, - // 6 days is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_FIVE_TO_SIX_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 7 - // Conversion lag bucket from 6 to 7 days. 6 days is included, - // 7 days is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_SIX_TO_SEVEN_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 8 - // Conversion lag bucket from 7 to 8 days. 7 days is included, - // 8 days is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_SEVEN_TO_EIGHT_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 9 - // Conversion lag bucket from 8 to 9 days. 8 days is included, - // 9 days is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_EIGHT_TO_NINE_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 10 - // Conversion lag bucket from 9 to 10 days. 9 days is included, - // 10 days is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_NINE_TO_TEN_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 11 - // Conversion lag bucket from 10 to 11 days. 10 days is included, - // 11 days is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_TEN_TO_ELEVEN_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 12 - // Conversion lag bucket from 11 to 12 days. 11 days is included, - // 12 days is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_ELEVEN_TO_TWELVE_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 13 - // Conversion lag bucket from 12 to 13 days. 12 days is included, - // 13 days is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_TWELVE_TO_THIRTEEN_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 14 - // Conversion lag bucket from 13 to 14 days. 13 days is included, - // 14 days is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_THIRTEEN_TO_FOURTEEN_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 15 - // Conversion lag bucket from 14 to 21 days. 14 days is included, - // 21 days is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_FOURTEEN_TO_TWENTY_ONE_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 16 - // Conversion lag bucket from 21 to 30 days. 21 days is included, - // 30 days is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_TWENTY_ONE_TO_THIRTY_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 17 - // Conversion lag bucket from 30 to 45 days. 30 days is included, - // 45 days is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_THIRTY_TO_FORTY_FIVE_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 18 - // Conversion lag bucket from 45 to 60 days. 45 days is included, - // 60 days is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_FORTY_FIVE_TO_SIXTY_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 19 - // Conversion lag bucket from 60 to 90 days. 60 days is included, - // 90 days is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_SIXTY_TO_NINETY_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 20 - // Conversion adjustment lag bucket from 0 to 1 day. 0 day is included, - // 1 day is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_LESS_THAN_ONE_DAY ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 21 - // Conversion adjustment lag bucket from 1 to 2 days. 1 day is included, - // 2 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_ONE_TO_TWO_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 22 - // Conversion adjustment lag bucket from 2 to 3 days. 2 days is included, - // 3 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_TWO_TO_THREE_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 23 - // Conversion adjustment lag bucket from 3 to 4 days. 3 days is included, - // 4 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_THREE_TO_FOUR_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 24 - // Conversion adjustment lag bucket from 4 to 5 days. 4 days is included, - // 5 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_FOUR_TO_FIVE_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 25 - // Conversion adjustment lag bucket from 5 to 6 days. 5 days is included, - // 6 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_FIVE_TO_SIX_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 26 - // Conversion adjustment lag bucket from 6 to 7 days. 6 days is included, - // 7 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_SIX_TO_SEVEN_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 27 - // Conversion adjustment lag bucket from 7 to 8 days. 7 days is included, - // 8 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_SEVEN_TO_EIGHT_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 28 - // Conversion adjustment lag bucket from 8 to 9 days. 8 days is included, - // 9 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_EIGHT_TO_NINE_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 29 - // Conversion adjustment lag bucket from 9 to 10 days. 9 days is included, - // 10 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_NINE_TO_TEN_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 30 - // Conversion adjustment lag bucket from 10 to 11 days. 10 days is included, - // 11 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_TEN_TO_ELEVEN_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 31 - // Conversion adjustment lag bucket from 11 to 12 days. 11 days is included, - // 12 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_ELEVEN_TO_TWELVE_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 32 - // Conversion adjustment lag bucket from 12 to 13 days. 12 days is included, - // 13 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_TWELVE_TO_THIRTEEN_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 33 - // Conversion adjustment lag bucket from 13 to 14 days. 13 days is included, - // 14 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_THIRTEEN_TO_FOURTEEN_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 34 - // Conversion adjustment lag bucket from 14 to 21 days. 14 days is included, - // 21 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_FOURTEEN_TO_TWENTY_ONE_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 35 - // Conversion adjustment lag bucket from 21 to 30 days. 21 days is included, - // 30 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_TWENTY_ONE_TO_THIRTY_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 36 - // Conversion adjustment lag bucket from 30 to 45 days. 30 days is included, - // 45 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_THIRTY_TO_FORTY_FIVE_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 37 - // Conversion adjustment lag bucket from 45 to 60 days. 45 days is included, - // 60 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_FORTY_FIVE_TO_SIXTY_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 38 - // Conversion adjustment lag bucket from 60 to 90 days. 60 days is included, - // 90 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_SIXTY_TO_NINETY_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 39 - // Conversion adjustment lag bucket from 90 to 145 days. 90 days is - // included, 145 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_NINETY_TO_ONE_HUNDRED_AND_FORTY_FIVE_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 40 - // Conversion lag bucket UNKNOWN. This is for dates before conversion lag - // bucket was available in Google Ads. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_UNKNOWN ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 41 - // Conversion adjustment lag bucket UNKNOWN. This is for dates before - // conversion adjustment lag bucket was available in Google Ads. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_UNKNOWN ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 42 -) - -var ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "CONVERSION_LESS_THAN_ONE_DAY", - 3: "CONVERSION_ONE_TO_TWO_DAYS", - 4: "CONVERSION_TWO_TO_THREE_DAYS", - 5: "CONVERSION_THREE_TO_FOUR_DAYS", - 6: "CONVERSION_FOUR_TO_FIVE_DAYS", - 7: "CONVERSION_FIVE_TO_SIX_DAYS", - 8: "CONVERSION_SIX_TO_SEVEN_DAYS", - 9: "CONVERSION_SEVEN_TO_EIGHT_DAYS", - 10: "CONVERSION_EIGHT_TO_NINE_DAYS", - 11: "CONVERSION_NINE_TO_TEN_DAYS", - 12: "CONVERSION_TEN_TO_ELEVEN_DAYS", - 13: "CONVERSION_ELEVEN_TO_TWELVE_DAYS", - 14: "CONVERSION_TWELVE_TO_THIRTEEN_DAYS", - 15: "CONVERSION_THIRTEEN_TO_FOURTEEN_DAYS", - 16: "CONVERSION_FOURTEEN_TO_TWENTY_ONE_DAYS", - 17: "CONVERSION_TWENTY_ONE_TO_THIRTY_DAYS", - 18: "CONVERSION_THIRTY_TO_FORTY_FIVE_DAYS", - 19: "CONVERSION_FORTY_FIVE_TO_SIXTY_DAYS", - 20: "CONVERSION_SIXTY_TO_NINETY_DAYS", - 21: "ADJUSTMENT_LESS_THAN_ONE_DAY", - 22: "ADJUSTMENT_ONE_TO_TWO_DAYS", - 23: "ADJUSTMENT_TWO_TO_THREE_DAYS", - 24: "ADJUSTMENT_THREE_TO_FOUR_DAYS", - 25: "ADJUSTMENT_FOUR_TO_FIVE_DAYS", - 26: "ADJUSTMENT_FIVE_TO_SIX_DAYS", - 27: "ADJUSTMENT_SIX_TO_SEVEN_DAYS", - 28: "ADJUSTMENT_SEVEN_TO_EIGHT_DAYS", - 29: "ADJUSTMENT_EIGHT_TO_NINE_DAYS", - 30: "ADJUSTMENT_NINE_TO_TEN_DAYS", - 31: "ADJUSTMENT_TEN_TO_ELEVEN_DAYS", - 32: "ADJUSTMENT_ELEVEN_TO_TWELVE_DAYS", - 33: "ADJUSTMENT_TWELVE_TO_THIRTEEN_DAYS", - 34: "ADJUSTMENT_THIRTEEN_TO_FOURTEEN_DAYS", - 35: "ADJUSTMENT_FOURTEEN_TO_TWENTY_ONE_DAYS", - 36: "ADJUSTMENT_TWENTY_ONE_TO_THIRTY_DAYS", - 37: "ADJUSTMENT_THIRTY_TO_FORTY_FIVE_DAYS", - 38: "ADJUSTMENT_FORTY_FIVE_TO_SIXTY_DAYS", - 39: "ADJUSTMENT_SIXTY_TO_NINETY_DAYS", - 40: "ADJUSTMENT_NINETY_TO_ONE_HUNDRED_AND_FORTY_FIVE_DAYS", - 41: "CONVERSION_UNKNOWN", - 42: "ADJUSTMENT_UNKNOWN", -} - -var ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "CONVERSION_LESS_THAN_ONE_DAY": 2, - "CONVERSION_ONE_TO_TWO_DAYS": 3, - "CONVERSION_TWO_TO_THREE_DAYS": 4, - "CONVERSION_THREE_TO_FOUR_DAYS": 5, - "CONVERSION_FOUR_TO_FIVE_DAYS": 6, - "CONVERSION_FIVE_TO_SIX_DAYS": 7, - "CONVERSION_SIX_TO_SEVEN_DAYS": 8, - "CONVERSION_SEVEN_TO_EIGHT_DAYS": 9, - "CONVERSION_EIGHT_TO_NINE_DAYS": 10, - "CONVERSION_NINE_TO_TEN_DAYS": 11, - "CONVERSION_TEN_TO_ELEVEN_DAYS": 12, - "CONVERSION_ELEVEN_TO_TWELVE_DAYS": 13, - "CONVERSION_TWELVE_TO_THIRTEEN_DAYS": 14, - "CONVERSION_THIRTEEN_TO_FOURTEEN_DAYS": 15, - "CONVERSION_FOURTEEN_TO_TWENTY_ONE_DAYS": 16, - "CONVERSION_TWENTY_ONE_TO_THIRTY_DAYS": 17, - "CONVERSION_THIRTY_TO_FORTY_FIVE_DAYS": 18, - "CONVERSION_FORTY_FIVE_TO_SIXTY_DAYS": 19, - "CONVERSION_SIXTY_TO_NINETY_DAYS": 20, - "ADJUSTMENT_LESS_THAN_ONE_DAY": 21, - "ADJUSTMENT_ONE_TO_TWO_DAYS": 22, - "ADJUSTMENT_TWO_TO_THREE_DAYS": 23, - "ADJUSTMENT_THREE_TO_FOUR_DAYS": 24, - "ADJUSTMENT_FOUR_TO_FIVE_DAYS": 25, - "ADJUSTMENT_FIVE_TO_SIX_DAYS": 26, - "ADJUSTMENT_SIX_TO_SEVEN_DAYS": 27, - "ADJUSTMENT_SEVEN_TO_EIGHT_DAYS": 28, - "ADJUSTMENT_EIGHT_TO_NINE_DAYS": 29, - "ADJUSTMENT_NINE_TO_TEN_DAYS": 30, - "ADJUSTMENT_TEN_TO_ELEVEN_DAYS": 31, - "ADJUSTMENT_ELEVEN_TO_TWELVE_DAYS": 32, - "ADJUSTMENT_TWELVE_TO_THIRTEEN_DAYS": 33, - "ADJUSTMENT_THIRTEEN_TO_FOURTEEN_DAYS": 34, - "ADJUSTMENT_FOURTEEN_TO_TWENTY_ONE_DAYS": 35, - "ADJUSTMENT_TWENTY_ONE_TO_THIRTY_DAYS": 36, - "ADJUSTMENT_THIRTY_TO_FORTY_FIVE_DAYS": 37, - "ADJUSTMENT_FORTY_FIVE_TO_SIXTY_DAYS": 38, - "ADJUSTMENT_SIXTY_TO_NINETY_DAYS": 39, - "ADJUSTMENT_NINETY_TO_ONE_HUNDRED_AND_FORTY_FIVE_DAYS": 40, - "CONVERSION_UNKNOWN": 41, - "ADJUSTMENT_UNKNOWN": 42, -} - -func (x ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket) String() string { - return proto.EnumName(ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket_name, int32(x)) -} - -func (ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a73fee0cbd0d3fff, []int{0, 0} -} - -// Container for enum representing the number of days between the impression and -// the conversion or between the impression and adjustments to the conversion. -type ConversionOrAdjustmentLagBucketEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ConversionOrAdjustmentLagBucketEnum) Reset() { *m = ConversionOrAdjustmentLagBucketEnum{} } -func (m *ConversionOrAdjustmentLagBucketEnum) String() string { return proto.CompactTextString(m) } -func (*ConversionOrAdjustmentLagBucketEnum) ProtoMessage() {} -func (*ConversionOrAdjustmentLagBucketEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_a73fee0cbd0d3fff, []int{0} -} - -func (m *ConversionOrAdjustmentLagBucketEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConversionOrAdjustmentLagBucketEnum.Unmarshal(m, b) -} -func (m *ConversionOrAdjustmentLagBucketEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConversionOrAdjustmentLagBucketEnum.Marshal(b, m, deterministic) -} -func (m *ConversionOrAdjustmentLagBucketEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConversionOrAdjustmentLagBucketEnum.Merge(m, src) -} -func (m *ConversionOrAdjustmentLagBucketEnum) XXX_Size() int { - return xxx_messageInfo_ConversionOrAdjustmentLagBucketEnum.Size(m) -} -func (m *ConversionOrAdjustmentLagBucketEnum) XXX_DiscardUnknown() { - xxx_messageInfo_ConversionOrAdjustmentLagBucketEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_ConversionOrAdjustmentLagBucketEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket", ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket_name, ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket_value) - proto.RegisterType((*ConversionOrAdjustmentLagBucketEnum)(nil), "google.ads.googleads.v1.enums.ConversionOrAdjustmentLagBucketEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/conversion_or_adjustment_lag_bucket.proto", fileDescriptor_a73fee0cbd0d3fff) -} - -var fileDescriptor_a73fee0cbd0d3fff = []byte{ - // 741 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x95, 0xdf, 0x72, 0xd2, 0x40, - 0x14, 0xc6, 0x2d, 0xd5, 0x56, 0xb7, 0xd5, 0xe2, 0xaa, 0x55, 0xdb, 0x52, 0xca, 0x1f, 0xdb, 0xda, - 0x8b, 0x30, 0x8c, 0x5e, 0x38, 0xf1, 0x2a, 0x94, 0x2d, 0x44,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, - 0xb4, 0x77, 0x6a, 0xd0, 0x36, 0x69, 0x9a, 0xba, 0x41, 0x59, 0x83, 0x98, 0x26, 0xb3, 0xea, 0x1a, - 0x65, 0x06, 0x25, 0xac, 0xaa, 0x75, 0xd3, 0x29, 0xbc, 0x8f, 0x76, 0x42, 0x0e, 0x78, 0x6e, 0x19, - 0xcc, 0xea, 0x18, 0x20, 0x9b, 0xe9, 0x55, 0x29, 0x01, 0x04, 0xd0, 0xeb, 0x4d, 0x42, 0xb8, 0xe3, - 0x2e, 0xce, 0xa1, 0x4c, 0xd8, 0x11, 0x48, 0x96, 0xc1, 0xce, 0x8c, 0x56, 0x93, 0x5b, 0xee, 0x49, - 0x21, 0x81, 0x02, 0x0e, 0xbd, 0x3d, 0x0b, 0x59, 0xc3, 0x59, 0xb4, 0x1b, 0x76, 0x80, 0x62, 0x19, - 0xcc, 0xd4, 0x3f, 0x73, 0xc3, 0xba, 0x14, 0x01, 0x02, 0xe8, 0xa4, 0x4d, 0x28, 0x77, 0xdc, 0xc7, - 0x79, 0xb4, 0x1f, 0x76, 0x04, 0x92, 0x65, 0x30, 0xa2, 0xd7, 0xea, 0x16, 0xf7, 0x3c, 0x90, 0x7a, - 0xe5, 0x92, 0x65, 0x30, 0xaa, 0xd3, 0x59, 0x27, 0x48, 0xea, 0x24, 0x50, 0xe0, 0x8b, 0x45, 0x9d, - 0x0d, 0xf9, 0x7b, 0x67, 0x55, 0x1a, 0x8b, 0x56, 0x36, 0x71, 0x11, 0x1d, 0x84, 0xcb, 0x34, 0x44, - 0x2f, 0x56, 0x87, 0x34, 0xc4, 0x37, 0x3f, 0xc4, 0x87, 0x28, 0x1f, 0x19, 0x6d, 0xa0, 0x05, 0xd3, - 0xd5, 0x9b, 0x16, 0x11, 0x69, 0x8f, 0xf0, 0x31, 0x2a, 0x46, 0x06, 0x3c, 0x53, 0x67, 0x33, 0x5e, - 0x38, 0xb7, 0xf0, 0x09, 0x3a, 0x94, 0xe6, 0x2c, 0x9c, 0x56, 0x87, 0x50, 0xab, 0x2b, 0xf6, 0x6e, - 0xa6, 0xd3, 0x72, 0xea, 0x42, 0x17, 0x1d, 0x74, 0xb9, 0xf3, 0x71, 0x52, 0xfd, 0x2e, 0xaf, 0x0e, - 0x87, 0xc5, 0x16, 0x31, 0x3e, 0x42, 0x85, 0x48, 0xfd, 0xb9, 0xce, 0x77, 0x29, 0x22, 0x9f, 0xe0, - 0x02, 0xca, 0x46, 0xb7, 0xc9, 0x13, 0x61, 0xda, 0xc2, 0xf4, 0x14, 0x56, 0xae, 0x55, 0x3f, 0xb4, - 0x4c, 0xeb, 0x13, 0xa1, 0x56, 0x02, 0xbc, 0xcf, 0x00, 0xde, 0x90, 0x43, 0x86, 0x77, 0x5b, 0x4a, - 0x88, 0xc3, 0xfb, 0x1c, 0x96, 0x19, 0x76, 0xc4, 0xe1, 0x7d, 0x21, 0x85, 0xc4, 0xe1, 0x7d, 0x09, - 0xc8, 0x84, 0x1d, 0x32, 0xbc, 0x3b, 0x52, 0x44, 0x1c, 0xde, 0x5d, 0x80, 0x37, 0xec, 0x48, 0x80, - 0x77, 0x4f, 0xea, 0x35, 0x01, 0xde, 0x8c, 0xd4, 0x49, 0x0c, 0xde, 0x7d, 0xf9, 0x7b, 0xe3, 0xf0, - 0x66, 0x01, 0xde, 0x70, 0x99, 0x44, 0x78, 0x0f, 0x00, 0xde, 0xc8, 0x68, 0x93, 0xe1, 0xcd, 0x01, - 0x3c, 0x91, 0x01, 0x2f, 0x83, 0x37, 0x0f, 0xf0, 0x4a, 0x73, 0x5e, 0x06, 0x6f, 0x41, 0x4e, 0x5d, - 0x0a, 0x6f, 0x31, 0xa9, 0x7e, 0x22, 0xbc, 0xaf, 0x00, 0xde, 0x48, 0xfd, 0x25, 0xf0, 0x1e, 0x02, - 0xbc, 0xd1, 0x6d, 0xc6, 0xe1, 0x3d, 0xc2, 0xef, 0xd0, 0x5b, 0x69, 0x13, 0xdc, 0x05, 0x4d, 0xd6, - 0x5b, 0xb4, 0xda, 0x24, 0x55, 0xa6, 0xd1, 0x6a, 0xac, 0x8f, 0x63, 0xbc, 0x8d, 0x70, 0xe8, 0x7f, - 0x43, 0xfc, 0x96, 0xbf, 0x86, 0xe7, 0xa1, 0x44, 0xf1, 0xfc, 0xa4, 0xf2, 0x77, 0x05, 0xe5, 0x2e, - 0xbd, 0x91, 0xf2, 0xdf, 0x1b, 0xa9, 0x52, 0xbc, 0xe5, 0x22, 0x39, 0x87, 0x9b, 0xe9, 0x7c, 0xe5, - 0x4b, 0x65, 0x16, 0xe3, 0x78, 0x57, 0xb6, 0xeb, 0x28, 0xde, 0xd8, 0x29, 0x39, 0x03, 0x37, 0xb8, - 0xb7, 0xc4, 0x8d, 0x79, 0x3d, 0xf4, 0x97, 0x5c, 0xa0, 0xef, 0x83, 0xbf, 0xdf, 0x53, 0xab, 0x35, - 0x4d, 0xfb, 0x99, 0xca, 0xd4, 0x78, 0x94, 0xd6, 0xf7, 0x15, 0x7e, 0x84, 0x53, 0xbb, 0xac, 0xc0, - 0xe5, 0xe6, 0xff, 0x12, 0x7a, 0x4f, 0xeb, 0xfb, 0xbd, 0xb9, 0xde, 0x6b, 0x97, 0x7b, 0x81, 0xfe, - 0x27, 0x95, 0xe3, 0x0f, 0x55, 0x55, 0xeb, 0xfb, 0xaa, 0x3a, 0x77, 0xa8, 0x6a, 0xbb, 0xac, 0xaa, - 0x81, 0xe7, 0x62, 0x2d, 0x68, 0xec, 0xcd, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x1b, 0xcd, 0x9e, - 0xae, 0xd8, 0x07, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/criterion_category_channel_availability_mode.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/criterion_category_channel_availability_mode.pb.go deleted file mode 100644 index 66bb3a59..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/criterion_category_channel_availability_mode.pb.go +++ /dev/null @@ -1,141 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/criterion_category_channel_availability_mode.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_193a0f2dff78de0b, []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_193a0f2dff78de0b, []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 (m *CriterionCategoryChannelAvailabilityModeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CriterionCategoryChannelAvailabilityModeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.CriterionCategoryChannelAvailabilityModeEnum_CriterionCategoryChannelAvailabilityMode", CriterionCategoryChannelAvailabilityModeEnum_CriterionCategoryChannelAvailabilityMode_name, CriterionCategoryChannelAvailabilityModeEnum_CriterionCategoryChannelAvailabilityMode_value) - proto.RegisterType((*CriterionCategoryChannelAvailabilityModeEnum)(nil), "google.ads.googleads.v1.enums.CriterionCategoryChannelAvailabilityModeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/criterion_category_channel_availability_mode.proto", fileDescriptor_193a0f2dff78de0b) -} - -var fileDescriptor_193a0f2dff78de0b = []byte{ - // 374 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x51, 0x41, 0x6b, 0xdb, 0x30, - 0x18, 0x9d, 0x9d, 0xb1, 0x81, 0x32, 0x98, 0xf1, 0x71, 0x2c, 0xb0, 0x84, 0x1d, 0x76, 0xd8, 0x64, - 0xcc, 0x6e, 0xea, 0x49, 0x76, 0xdc, 0x34, 0x34, 0x75, 0x0d, 0x8e, 0x53, 0x5a, 0x0c, 0x42, 0xb1, - 0x85, 0x2b, 0xb0, 0xa5, 0x60, 0x39, 0x81, 0x5c, 0xfb, 0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f, 0x4c, 0x6a, 0x4a, 0x18, 0x39, 0x75, 0x1d, 0x1a, 0x3d, 0xf3, 0x37, 0xf8, 0xf5, 0x86, 0x12, - 0x46, 0x4e, 0xe8, 0xcd, 0x5f, 0x58, 0x9f, 0x9d, 0x1b, 0x1d, 0x0c, 0x13, 0x59, 0xc0, 0x0f, 0xa3, - 0x71, 0xfe, 0x1d, 0xfa, 0x91, 0xa0, 0xce, 0x2a, 0xd0, 0xae, 0x9c, 0x9d, 0x5e, 0x26, 0x73, 0x2a, - 0x32, 0x28, 0xcb, 0xcc, 0xca, 0x98, 0x68, 0x92, 0xec, 0x96, 0xb9, 0xe2, 0xea, 0x9d, 0xdd, 0x1e, - 0x35, 0xe7, 0xad, 0xde, 0x9b, 0x60, 0x7c, 0xaf, 0x0f, 0x26, 0xad, 0x14, 0x4e, 0x15, 0x6c, 0x61, - 0x8d, 0x16, 0x36, 0xac, 0x53, 0x56, 0x0f, 0x5d, 0x3f, 0xc6, 0xa9, 0x8a, 0xf7, 0xfd, 0x78, 0x61, - 0xc7, 0x4d, 0xff, 0x49, 0x1f, 0xb6, 0x97, 0x08, 0xe1, 0x54, 0x21, 0xb4, 0x67, 0x20, 0xb4, 0xb0, - 0x11, 0x6a, 0x38, 0xcb, 0x2f, 0xcd, 0xc3, 0xfe, 0x3f, 0x07, 0x00, 0x00, 0xff, 0xff, 0x69, 0x2b, - 0x2e, 0x1a, 0x73, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/criterion_category_locale_availability_mode.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/criterion_category_locale_availability_mode.pb.go deleted file mode 100644 index b2ff3378..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/criterion_category_locale_availability_mode.pb.go +++ /dev/null @@ -1,145 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/criterion_category_locale_availability_mode.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_cab68ed8e76c6679, []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_cab68ed8e76c6679, []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 (m *CriterionCategoryLocaleAvailabilityModeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CriterionCategoryLocaleAvailabilityModeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode", CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode_name, CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode_value) - proto.RegisterType((*CriterionCategoryLocaleAvailabilityModeEnum)(nil), "google.ads.googleads.v1.enums.CriterionCategoryLocaleAvailabilityModeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/criterion_category_locale_availability_mode.proto", fileDescriptor_cab68ed8e76c6679) -} - -var fileDescriptor_cab68ed8e76c6679 = []byte{ - // 381 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x51, 0x4f, 0x8b, 0x9b, 0x40, - 0x1c, 0xad, 0xa6, 0x7f, 0x60, 0x72, 0xa8, 0x48, 0x0f, 0x6d, 0x68, 0x0a, 0xc9, 0xa5, 0x87, 0x96, - 0x11, 0xe9, 0x6d, 0x7a, 0x9a, 0x18, 0x2b, 0xa1, 0x56, 0x43, 0xad, 0x29, 0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, 0x9c, 0x82, 0x0f, 0x4e, 0x18, 0x07, 0x7f, 0x7e, 0xff, 0x4b, 0x71, 0xb0, 0x4c, - 0x15, 0x89, 0x03, 0x2f, 0xc6, 0x9e, 0x1b, 0x19, 0x23, 0xf3, 0x13, 0x98, 0xf4, 0xbf, 0x03, 0xdf, - 0xe9, 0x57, 0x6e, 0x64, 0xbc, 0x34, 0xdf, 0x83, 0x77, 0xe7, 0xe3, 0xbd, 0xd6, 0x78, 0xb5, 0xb8, - 0xd2, 0xc1, 0x2c, 0x13, 0x15, 0x7c, 0xb6, 0xa7, 0xc5, 0xd7, 0x0b, 0x9f, 0xb5, 0x6e, 0x7b, 0x5b, - 0x6b, 0xff, 0x17, 0x27, 0xbb, 0x42, 0x94, 0x84, 0x17, 0x50, 0xd4, 0x85, 0x55, 0x50, 0xae, 0x5a, - 0xed, 0xf7, 0xba, 0x63, 0xf2, 0x89, 0x35, 0x7f, 0x57, 0xdf, 0x6b, 0x7d, 0xe4, 0x61, 0x7c, 0xa3, - 0x4f, 0xbd, 0xce, 0x0a, 0xe7, 0x12, 0x76, 0xb0, 0x45, 0x1b, 0x1b, 0xb6, 0x95, 0xcb, 0xbb, 0x9e, - 0x4f, 0x70, 0x2e, 0x93, 0x81, 0x4f, 0x36, 0x76, 0xa2, 0xf8, 0x07, 0x7d, 0xd6, 0x1d, 0x22, 0x84, - 0x73, 0x89, 0xd0, 0xa0, 0x40, 0x68, 0x63, 0x23, 0xa4, 0x34, 0xdb, 0xd7, 0xea, 0x62, 0xdf, 0x1e, - 0x03, 0x00, 0x00, 0xff, 0xff, 0xb4, 0xb7, 0x95, 0xe6, 0x7e, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/criterion_system_serving_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/criterion_system_serving_status.pb.go deleted file mode 100644 index 13f5c724..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/criterion_system_serving_status.pb.go +++ /dev/null @@ -1,125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/criterion_system_serving_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enumerates criterion system serving statuses. -type CriterionSystemServingStatusEnum_CriterionSystemServingStatus int32 - -const ( - // Not specified. - CriterionSystemServingStatusEnum_UNSPECIFIED CriterionSystemServingStatusEnum_CriterionSystemServingStatus = 0 - // The value is unknown in this version. - CriterionSystemServingStatusEnum_UNKNOWN CriterionSystemServingStatusEnum_CriterionSystemServingStatus = 1 - // Eligible. - CriterionSystemServingStatusEnum_ELIGIBLE CriterionSystemServingStatusEnum_CriterionSystemServingStatus = 2 - // Low search volume. - CriterionSystemServingStatusEnum_RARELY_SERVED CriterionSystemServingStatusEnum_CriterionSystemServingStatus = 3 -) - -var CriterionSystemServingStatusEnum_CriterionSystemServingStatus_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "ELIGIBLE", - 3: "RARELY_SERVED", -} - -var CriterionSystemServingStatusEnum_CriterionSystemServingStatus_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "ELIGIBLE": 2, - "RARELY_SERVED": 3, -} - -func (x CriterionSystemServingStatusEnum_CriterionSystemServingStatus) String() string { - return proto.EnumName(CriterionSystemServingStatusEnum_CriterionSystemServingStatus_name, int32(x)) -} - -func (CriterionSystemServingStatusEnum_CriterionSystemServingStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b78d45305d2292b6, []int{0, 0} -} - -// Container for enum describing possible criterion system serving statuses. -type CriterionSystemServingStatusEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CriterionSystemServingStatusEnum) Reset() { *m = CriterionSystemServingStatusEnum{} } -func (m *CriterionSystemServingStatusEnum) String() string { return proto.CompactTextString(m) } -func (*CriterionSystemServingStatusEnum) ProtoMessage() {} -func (*CriterionSystemServingStatusEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_b78d45305d2292b6, []int{0} -} - -func (m *CriterionSystemServingStatusEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CriterionSystemServingStatusEnum.Unmarshal(m, b) -} -func (m *CriterionSystemServingStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CriterionSystemServingStatusEnum.Marshal(b, m, deterministic) -} -func (m *CriterionSystemServingStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CriterionSystemServingStatusEnum.Merge(m, src) -} -func (m *CriterionSystemServingStatusEnum) XXX_Size() int { - return xxx_messageInfo_CriterionSystemServingStatusEnum.Size(m) -} -func (m *CriterionSystemServingStatusEnum) XXX_DiscardUnknown() { - xxx_messageInfo_CriterionSystemServingStatusEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_CriterionSystemServingStatusEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.CriterionSystemServingStatusEnum_CriterionSystemServingStatus", CriterionSystemServingStatusEnum_CriterionSystemServingStatus_name, CriterionSystemServingStatusEnum_CriterionSystemServingStatus_value) - proto.RegisterType((*CriterionSystemServingStatusEnum)(nil), "google.ads.googleads.v1.enums.CriterionSystemServingStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/criterion_system_serving_status.proto", fileDescriptor_b78d45305d2292b6) -} - -var fileDescriptor_b78d45305d2292b6 = []byte{ - // 328 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xc1, 0x4a, 0xf3, 0x40, - 0x18, 0xfc, 0x93, 0xc2, 0xaf, 0x6c, 0x15, 0x63, 0x8e, 0xd2, 0x82, 0xed, 0x03, 0x6c, 0x08, 0xde, - 0xd6, 0x53, 0xd2, 0xae, 0x25, 0x58, 0x62, 0x69, 0x68, 0x44, 0x89, 0x84, 0xd8, 0x84, 0x25, 0xd0, - 0xec, 0x96, 0x7c, 0xdb, 0x82, 0x47, 0x5f, 0xc5, 0xa3, 0x8f, 0xe2, 0xa3, 0xf8, 0x00, 0x9e, 0x25, - 0xbb, 0x4d, 0x6f, 0xe6, 0xb2, 0x0c, 0xfb, 0xcd, 0x37, 0xf3, 0xcd, 0xa0, 0x09, 0x13, 0x82, 0x6d, - 0x0a, 0x27, 0xcb, 0xc1, 0xd1, 0xb0, 0x41, 0x7b, 0xd7, 0x29, 0xf8, 0xae, 0x02, 0x67, 0x5d, 0x97, - 0xb2, 0xa8, 0x4b, 0xc1, 0x53, 0x78, 0x03, 0x59, 0x54, 0x29, 0x14, 0xf5, 0xbe, 0xe4, 0x2c, 0x05, - 0x99, 0xc9, 0x1d, 0xe0, 0x6d, 0x2d, 0xa4, 0xb0, 0x87, 0x7a, 0x13, 0x67, 0x39, 0xe0, 0xa3, 0x08, - 0xde, 0xbb, 0x58, 0x89, 0x5c, 0x0d, 0x5a, 0x8f, 0x6d, 0xe9, 0x64, 0x9c, 0x0b, 0x99, 0xc9, 0x52, - 0xf0, 0xc3, 0xf2, 0xf8, 0xdd, 0x40, 0xd7, 0x93, 0xd6, 0x26, 0x52, 0x2e, 0x91, 0x36, 0x89, 0x94, - 0x07, 0xe5, 0xbb, 0x6a, 0xfc, 0x82, 0x06, 0x5d, 0x1c, 0xfb, 0x02, 0xf5, 0x57, 0x61, 0xb4, 0xa0, - 0x93, 0xe0, 0x2e, 0xa0, 0x53, 0xeb, 0x9f, 0xdd, 0x47, 0x27, 0xab, 0xf0, 0x3e, 0x7c, 0x78, 0x0c, - 0x2d, 0xc3, 0x3e, 0x43, 0xa7, 0x74, 0x1e, 0xcc, 0x02, 0x7f, 0x4e, 0x2d, 0xd3, 0xbe, 0x44, 0xe7, - 0x4b, 0x6f, 0x49, 0xe7, 0x4f, 0x69, 0x44, 0x97, 0x31, 0x9d, 0x5a, 0x3d, 0xff, 0xc7, 0x40, 0xa3, - 0xb5, 0xa8, 0x70, 0x67, 0x0e, 0x7f, 0xd4, 0x75, 0xc2, 0xa2, 0x09, 0xb3, 0x30, 0x9e, 0xfd, 0x83, - 0x06, 0x13, 0x9b, 0x8c, 0x33, 0x2c, 0x6a, 0xe6, 0xb0, 0x82, 0xab, 0xa8, 0x6d, 0xc1, 0xdb, 0x12, - 0xfe, 0xe8, 0xfb, 0x56, 0xbd, 0x1f, 0x66, 0x6f, 0xe6, 0x79, 0x9f, 0xe6, 0x70, 0xa6, 0xa5, 0xbc, - 0x1c, 0xb0, 0x86, 0x0d, 0x8a, 0x5d, 0xdc, 0x54, 0x02, 0x5f, 0xed, 0x3c, 0xf1, 0x72, 0x48, 0x8e, - 0xf3, 0x24, 0x76, 0x13, 0x35, 0xff, 0x36, 0x47, 0xfa, 0x93, 0x10, 0x2f, 0x07, 0x42, 0x8e, 0x0c, - 0x42, 0x62, 0x97, 0x10, 0xc5, 0x79, 0xfd, 0xaf, 0x0e, 0xbb, 0xf9, 0x0d, 0x00, 0x00, 0xff, 0xff, - 0x2c, 0x98, 0x27, 0x97, 0x07, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/criterion_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/criterion_type.pb.go deleted file mode 100644 index 0c7917d3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/criterion_type.pb.go +++ /dev/null @@ -1,255 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/criterion_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // Mobile application categories to target. - CriterionTypeEnum_MOBILE_APP_CATEGORY CriterionTypeEnum_CriterionType = 4 - // Mobile applications to target. - CriterionTypeEnum_MOBILE_APPLICATION CriterionTypeEnum_CriterionType = 5 - // 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 - // Webpage criterion for dynamic search ads. - CriterionTypeEnum_WEBPAGE CriterionTypeEnum_CriterionType = 25 - // Operating system version. - CriterionTypeEnum_OPERATING_SYSTEM_VERSION CriterionTypeEnum_CriterionType = 26 - // App payment model. - CriterionTypeEnum_APP_PAYMENT_MODEL CriterionTypeEnum_CriterionType = 27 - // Mobile device. - CriterionTypeEnum_MOBILE_DEVICE CriterionTypeEnum_CriterionType = 28 - // Custom affinity. - CriterionTypeEnum_CUSTOM_AFFINITY CriterionTypeEnum_CriterionType = 29 - // Custom intent. - CriterionTypeEnum_CUSTOM_INTENT CriterionTypeEnum_CriterionType = 30 - // Location group. - CriterionTypeEnum_LOCATION_GROUP CriterionTypeEnum_CriterionType = 31 -) - -var CriterionTypeEnum_CriterionType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "KEYWORD", - 3: "PLACEMENT", - 4: "MOBILE_APP_CATEGORY", - 5: "MOBILE_APPLICATION", - 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", - 25: "WEBPAGE", - 26: "OPERATING_SYSTEM_VERSION", - 27: "APP_PAYMENT_MODEL", - 28: "MOBILE_DEVICE", - 29: "CUSTOM_AFFINITY", - 30: "CUSTOM_INTENT", - 31: "LOCATION_GROUP", -} - -var CriterionTypeEnum_CriterionType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "KEYWORD": 2, - "PLACEMENT": 3, - "MOBILE_APP_CATEGORY": 4, - "MOBILE_APPLICATION": 5, - "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, - "WEBPAGE": 25, - "OPERATING_SYSTEM_VERSION": 26, - "APP_PAYMENT_MODEL": 27, - "MOBILE_DEVICE": 28, - "CUSTOM_AFFINITY": 29, - "CUSTOM_INTENT": 30, - "LOCATION_GROUP": 31, -} - -func (x CriterionTypeEnum_CriterionType) String() string { - return proto.EnumName(CriterionTypeEnum_CriterionType_name, int32(x)) -} - -func (CriterionTypeEnum_CriterionType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_152391fcc2ce1fa1, []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_152391fcc2ce1fa1, []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 (m *CriterionTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CriterionTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.CriterionTypeEnum_CriterionType", CriterionTypeEnum_CriterionType_name, CriterionTypeEnum_CriterionType_value) - proto.RegisterType((*CriterionTypeEnum)(nil), "google.ads.googleads.v1.enums.CriterionTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/criterion_type.proto", fileDescriptor_152391fcc2ce1fa1) -} - -var fileDescriptor_152391fcc2ce1fa1 = []byte{ - // 621 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x53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 0xf0, 0x92, 0xfb, 0xb9, 0x82, 0xee, 0xb5, 0xd4, 0x21, 0xae, 0x91, 0x3a, 0xda, 0x54, - 0x31, 0x65, 0xd0, 0x06, 0x61, 0xf0, 0x32, 0x39, 0x44, 0x7b, 0x6d, 0x19, 0xf0, 0x18, 0x2c, 0x55, - 0xca, 0x32, 0x6a, 0x20, 0x92, 0xba, 0x8b, 0x57, 0xc8, 0x01, 0x22, 0x7f, 0x80, 0x98, 0x33, 0x6a, - 0xb8, 0x14, 0x78, 0x95, 0x20, 0xb4, 0x16, 0x42, 0x87, 0x33, 0xc0, 0x6b, 0x64, 0x1b, 0x6d, 0xc4, - 0x72, 0x8e, 0xac, 0x93, 0x06, 0xaa, 0xc7, 0x3c, 0x31, 0x5c, 0x44, 0x36, 0xd2, 0x32, 0x55, 0x78, - 0xc3, 0xe9, 0xa2, 0xa1, 0x4d, 0xd8, 0x25, 0x84, 0x69, 0x0c, 0x78, 0xd3, 0x55, 0xa7, 0x11, 0x58, - 0x4d, 0x45, 0x04, 0x18, 0x39, 0xb2, 0x08, 0x44, 0x08, 0x1a, 0x6f, 0x11, 0x8c, 0xb6, 0xb9, 0x60, - 0xb2, 0xbd, 0x40, 0xb7, 0xc9, 0x1e, 0xda, 0x55, 0x54, 0x83, 0x30, 0x34, 0xb6, 0x89, 0xa1, 0x26, - 0x4d, 0x70, 0xdd, 0x55, 0xe9, 0xca, 0xd4, 0xa4, 0x01, 0xd8, 0x0e, 0x0f, 0x41, 0xe2, 0x1d, 0x17, - 0xb7, 0x70, 0xb1, 0x4b, 0x2a, 0x04, 0xc4, 0x78, 0xd7, 0x55, 0x4a, 0x13, 0xd0, 0xd6, 0x49, 0xc2, - 0xb8, 0x6c, 0x5b, 0xcb, 0x8f, 0xbc, 0xcd, 0x4d, 0x17, 0x37, 0xc8, 0x26, 0x5a, 0x35, 0x52, 0x71, - 0x86, 0xc9, 0xdf, 0xb2, 0x13, 0x26, 0x15, 0xe0, 0xbd, 0xb2, 0x2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a, 0xaf, 0x32, 0x9d, 0xd5, 0x69, 0x79, 0xee, 0xca, 0x8b, 0xef, 0x0b, 0xbc, 0x47, 0x07, 0x45, - 0xef, 0x09, 0xef, 0x75, 0x5a, 0xbd, 0x12, 0xff, 0x55, 0x3b, 0xab, 0x9c, 0xbe, 0x4f, 0x07, 0x85, - 0xef, 0x3f, 0x45, 0xf8, 0x7e, 0xa7, 0xe5, 0xfb, 0x65, 0xcc, 0xe7, 0xb5, 0x52, 0xd8, 0xfb, 0xdf, - 0x01, 0x00, 0x00, 0xff, 0xff, 0x56, 0x3e, 0x57, 0xb9, 0xba, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/custom_interest_member_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/custom_interest_member_type.pb.go deleted file mode 100644 index abd80172..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/custom_interest_member_type.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/custom_interest_member_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum containing possible custom interest member types. -type CustomInterestMemberTypeEnum_CustomInterestMemberType int32 - -const ( - // Not specified. - CustomInterestMemberTypeEnum_UNSPECIFIED CustomInterestMemberTypeEnum_CustomInterestMemberType = 0 - // Used for return value only. Represents value unknown in this version. - CustomInterestMemberTypeEnum_UNKNOWN CustomInterestMemberTypeEnum_CustomInterestMemberType = 1 - // Custom interest member type KEYWORD. - CustomInterestMemberTypeEnum_KEYWORD CustomInterestMemberTypeEnum_CustomInterestMemberType = 2 - // Custom interest member type URL. - CustomInterestMemberTypeEnum_URL CustomInterestMemberTypeEnum_CustomInterestMemberType = 3 -) - -var CustomInterestMemberTypeEnum_CustomInterestMemberType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "KEYWORD", - 3: "URL", -} - -var CustomInterestMemberTypeEnum_CustomInterestMemberType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "KEYWORD": 2, - "URL": 3, -} - -func (x CustomInterestMemberTypeEnum_CustomInterestMemberType) String() string { - return proto.EnumName(CustomInterestMemberTypeEnum_CustomInterestMemberType_name, int32(x)) -} - -func (CustomInterestMemberTypeEnum_CustomInterestMemberType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_55e3da660044a7a0, []int{0, 0} -} - -// The types of custom interest member, either KEYWORD or URL. -type CustomInterestMemberTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomInterestMemberTypeEnum) Reset() { *m = CustomInterestMemberTypeEnum{} } -func (m *CustomInterestMemberTypeEnum) String() string { return proto.CompactTextString(m) } -func (*CustomInterestMemberTypeEnum) ProtoMessage() {} -func (*CustomInterestMemberTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_55e3da660044a7a0, []int{0} -} - -func (m *CustomInterestMemberTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomInterestMemberTypeEnum.Unmarshal(m, b) -} -func (m *CustomInterestMemberTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomInterestMemberTypeEnum.Marshal(b, m, deterministic) -} -func (m *CustomInterestMemberTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomInterestMemberTypeEnum.Merge(m, src) -} -func (m *CustomInterestMemberTypeEnum) XXX_Size() int { - return xxx_messageInfo_CustomInterestMemberTypeEnum.Size(m) -} -func (m *CustomInterestMemberTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_CustomInterestMemberTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomInterestMemberTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.CustomInterestMemberTypeEnum_CustomInterestMemberType", CustomInterestMemberTypeEnum_CustomInterestMemberType_name, CustomInterestMemberTypeEnum_CustomInterestMemberType_value) - proto.RegisterType((*CustomInterestMemberTypeEnum)(nil), "google.ads.googleads.v1.enums.CustomInterestMemberTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/custom_interest_member_type.proto", fileDescriptor_55e3da660044a7a0) -} - -var fileDescriptor_55e3da660044a7a0 = []byte{ - // 313 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x6a, 0xc2, 0x30, - 0x18, 0x9f, 0x15, 0x26, 0xc4, 0xc3, 0x4a, 0x4f, 0x63, 0xe8, 0x41, 0x1f, 0x20, 0xa1, 0xec, 0x96, - 0x1d, 0x46, 0xd5, 0x4e, 0xc4, 0xad, 0x8a, 0x9b, 0x95, 0x8d, 0x42, 0xa9, 0x36, 0x84, 0x82, 0x49, - 0x4a, 0x93, 0x0a, 0xbe, 0xce, 0x8e, 0x7b, 0x94, 0x3d, 0xca, 0x8e, 0x7b, 0x82, 0xd1, 0xc4, 0xf6, - 0xd6, 0x5d, 0xca, 0xaf, 0xf9, 0x7d, 0xbf, 0x3f, 0xdf, 0x07, 0x1e, 0xa9, 0x10, 0xf4, 0x48, 0x50, - 0x92, 0x4a, 0x64, 0x60, 0x85, 0x4e, 0x2e, 0x22, 0xbc, 0x64, 0x12, 0x1d, 0x4a, 0xa9, 0x04, 0x8b, - 0x33, 0xae, 0x48, 0x41, 0x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, 0x99, 0x47, 0x8c, 0xbd, 0x54, 0x62, 0xdc, - 0x4c, 0x60, 0x1c, 0xba, 0x18, 0xeb, 0x99, 0xfd, 0xb5, 0x2e, 0x76, 0xff, 0x17, 0x00, 0x00, 0xff, - 0xff, 0x7b, 0xc1, 0x91, 0x36, 0xeb, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/custom_interest_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/custom_interest_status.pb.go deleted file mode 100644 index 834fa70b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/custom_interest_status.pb.go +++ /dev/null @@ -1,125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/custom_interest_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum containing possible custom interest types. -type CustomInterestStatusEnum_CustomInterestStatus int32 - -const ( - // Not specified. - CustomInterestStatusEnum_UNSPECIFIED CustomInterestStatusEnum_CustomInterestStatus = 0 - // Used for return value only. Represents value unknown in this version. - CustomInterestStatusEnum_UNKNOWN CustomInterestStatusEnum_CustomInterestStatus = 1 - // Enabled status - custom interest is enabled and can be targeted to. - CustomInterestStatusEnum_ENABLED CustomInterestStatusEnum_CustomInterestStatus = 2 - // Removed status - custom interest is removed and cannot be used for - // targeting. - CustomInterestStatusEnum_REMOVED CustomInterestStatusEnum_CustomInterestStatus = 3 -) - -var CustomInterestStatusEnum_CustomInterestStatus_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "ENABLED", - 3: "REMOVED", -} - -var CustomInterestStatusEnum_CustomInterestStatus_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "ENABLED": 2, - "REMOVED": 3, -} - -func (x CustomInterestStatusEnum_CustomInterestStatus) String() string { - return proto.EnumName(CustomInterestStatusEnum_CustomInterestStatus_name, int32(x)) -} - -func (CustomInterestStatusEnum_CustomInterestStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_d9ed969238f1f29e, []int{0, 0} -} - -// The status of custom interest. -type CustomInterestStatusEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomInterestStatusEnum) Reset() { *m = CustomInterestStatusEnum{} } -func (m *CustomInterestStatusEnum) String() string { return proto.CompactTextString(m) } -func (*CustomInterestStatusEnum) ProtoMessage() {} -func (*CustomInterestStatusEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_d9ed969238f1f29e, []int{0} -} - -func (m *CustomInterestStatusEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomInterestStatusEnum.Unmarshal(m, b) -} -func (m *CustomInterestStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomInterestStatusEnum.Marshal(b, m, deterministic) -} -func (m *CustomInterestStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomInterestStatusEnum.Merge(m, src) -} -func (m *CustomInterestStatusEnum) XXX_Size() int { - return xxx_messageInfo_CustomInterestStatusEnum.Size(m) -} -func (m *CustomInterestStatusEnum) XXX_DiscardUnknown() { - xxx_messageInfo_CustomInterestStatusEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomInterestStatusEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.CustomInterestStatusEnum_CustomInterestStatus", CustomInterestStatusEnum_CustomInterestStatus_name, CustomInterestStatusEnum_CustomInterestStatus_value) - proto.RegisterType((*CustomInterestStatusEnum)(nil), "google.ads.googleads.v1.enums.CustomInterestStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/custom_interest_status.proto", fileDescriptor_d9ed969238f1f29e) -} - -var fileDescriptor_d9ed969238f1f29e = []byte{ - // 306 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xc1, 0x4a, 0x03, 0x31, - 0x10, 0xb5, 0x5b, 0x50, 0x48, 0x0f, 0x2e, 0xc5, 0x83, 0x8a, 0x3d, 0xb4, 0x1f, 0x90, 0xb0, 0x78, - 0x8b, 0xa7, 0x6c, 0x1b, 0x4b, 0x51, 0xd3, 0x62, 0xe9, 0x0a, 0xb2, 0x50, 0x62, 0x77, 0x09, 0x2b, - 0xdd, 0xa4, 0x74, 0xb2, 0xfd, 0x20, 0x8f, 0x7e, 0x8a, 0x9f, 0xe2, 0xc1, 0x6f, 0x90, 0x64, 0xdb, - 0x3d, 0x55, 0x2f, 0xe1, 0x4d, 0xde, 0xbc, 0x37, 0x6f, 0x06, 0x51, 0x65, 0x8c, 0x5a, 0xe7, 0x44, - 0x66, 0x40, 0x6a, 0xe8, 0xd0, 0x2e, 0x22, 0xb9, 0xae, 0x4a, 0x20, 0xab, 0x0a, 0xac, 0x29, 0x97, - 0x85, 0xb6, 0xf9, 0x36, 0x07, 0xbb, 0x04, 0x2b, 0x6d, 0x05, 0x78, 0xb3, 0x35, 0xd6, 0x74, 0x7b, - 0xb5, 0x00, 0xcb, 0x0c, 0x70, 0xa3, 0xc5, 0xbb, 0x08, 0x7b, 0xed, 0xf5, 0xcd, 0xc1, 0x7a, 0x53, - 0x10, 0xa9, 0xb5, 0xb1, 0xd2, 0x16, 0x46, 0xef, 0xc5, 0x83, 0x77, 0x74, 0x39, 0xf4, 0xe6, 0x93, - 0xbd, 0xf7, 0xdc, 0x5b, 0x73, 0x5d, 0x95, 0x03, 0x81, 0x2e, 0x8e, 0x71, 0xdd, 0x73, 0xd4, 0x59, - 0x88, 0xf9, 0x8c, 0x0f, 0x27, 0xf7, 0x13, 0x3e, 0x0a, 0x4f, 0xba, 0x1d, 0x74, 0xb6, 0x10, 0x0f, - 0x62, 0xfa, 0x22, 0xc2, 0x96, 0x2b, 0xb8, 0x60, 0xf1, 0x23, 0x1f, 0x85, 0x81, 0x2b, 0x9e, 0xf9, - 0xd3, 0x34, 0xe1, 0xa3, 0xb0, 0x1d, 0xff, 0xb4, 0x50, 0x7f, 0x65, 0x4a, 0xfc, 0x6f, 0xde, 0xf8, - 0xea, 0xd8, 0xcc, 0x99, 0x0b, 0x3b, 0x6b, 0xbd, 0xc6, 0x7b, 0xad, 0x32, 0x6b, 0xa9, 0x15, 0x36, - 0x5b, 0x45, 0x54, 0xae, 0xfd, 0x2a, 0x87, 0xbb, 0x6d, 0x0a, 0xf8, 0xe3, 0x8c, 0x77, 0xfe, 0xfd, - 0x08, 0xda, 0x63, 0xc6, 0x3e, 0x83, 0xde, 0xb8, 0xb6, 0x62, 0x19, 0xe0, 0x1a, 0x3a, 0x94, 0x44, - 0xd8, 0xed, 0x0e, 0x5f, 0x07, 0x3e, 0x65, 0x19, 0xa4, 0x0d, 0x9f, 0x26, 0x51, 0xea, 0xf9, 0xef, - 0xa0, 0x5f, 0x7f, 0x52, 0xca, 0x32, 0xa0, 0xb4, 0xe9, 0xa0, 0x34, 0x89, 0x28, 0xf5, 0x3d, 0x6f, - 0xa7, 0x3e, 0xd8, 0xed, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xfa, 0xa2, 0x12, 0x76, 0xde, 0x01, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/custom_interest_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/custom_interest_type.pb.go deleted file mode 100644 index a779424e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/custom_interest_type.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/custom_interest_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum containing possible custom interest types. -type CustomInterestTypeEnum_CustomInterestType int32 - -const ( - // Not specified. - CustomInterestTypeEnum_UNSPECIFIED CustomInterestTypeEnum_CustomInterestType = 0 - // Used for return value only. Represents value unknown in this version. - CustomInterestTypeEnum_UNKNOWN CustomInterestTypeEnum_CustomInterestType = 1 - // Allows brand advertisers to define custom affinity audience lists. - CustomInterestTypeEnum_CUSTOM_AFFINITY CustomInterestTypeEnum_CustomInterestType = 2 - // Allows advertisers to define custom intent audience lists. - CustomInterestTypeEnum_CUSTOM_INTENT CustomInterestTypeEnum_CustomInterestType = 3 -) - -var CustomInterestTypeEnum_CustomInterestType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "CUSTOM_AFFINITY", - 3: "CUSTOM_INTENT", -} - -var CustomInterestTypeEnum_CustomInterestType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "CUSTOM_AFFINITY": 2, - "CUSTOM_INTENT": 3, -} - -func (x CustomInterestTypeEnum_CustomInterestType) String() string { - return proto.EnumName(CustomInterestTypeEnum_CustomInterestType_name, int32(x)) -} - -func (CustomInterestTypeEnum_CustomInterestType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e8450f6e08433cd0, []int{0, 0} -} - -// The types of custom interest. -type CustomInterestTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomInterestTypeEnum) Reset() { *m = CustomInterestTypeEnum{} } -func (m *CustomInterestTypeEnum) String() string { return proto.CompactTextString(m) } -func (*CustomInterestTypeEnum) ProtoMessage() {} -func (*CustomInterestTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_e8450f6e08433cd0, []int{0} -} - -func (m *CustomInterestTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomInterestTypeEnum.Unmarshal(m, b) -} -func (m *CustomInterestTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomInterestTypeEnum.Marshal(b, m, deterministic) -} -func (m *CustomInterestTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomInterestTypeEnum.Merge(m, src) -} -func (m *CustomInterestTypeEnum) XXX_Size() int { - return xxx_messageInfo_CustomInterestTypeEnum.Size(m) -} -func (m *CustomInterestTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_CustomInterestTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomInterestTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.CustomInterestTypeEnum_CustomInterestType", CustomInterestTypeEnum_CustomInterestType_name, CustomInterestTypeEnum_CustomInterestType_value) - proto.RegisterType((*CustomInterestTypeEnum)(nil), "google.ads.googleads.v1.enums.CustomInterestTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/custom_interest_type.proto", fileDescriptor_e8450f6e08433cd0) -} - -var fileDescriptor_e8450f6e08433cd0 = []byte{ - // 318 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdf, 0x6a, 0xf2, 0x30, - 0x1c, 0xfd, 0xac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 0x8e, 0x94, 0xc5, 0x11, 0x8b, 0xfd, - 0x66, 0xff, 0xbb, 0x01, 0xba, 0x2b, 0x55, 0xc0, 0x3f, 0x9b, 0xf7, 0xaf, 0x4f, 0xff, 0x3f, 0xa9, - 0x4a, 0x4f, 0x1a, 0x8b, 0xfe, 0xc1, 0x29, 0xd4, 0x3a, 0x95, 0x02, 0xaa, 0x8d, 0x40, 0x82, 0x4b, - 0xfb, 0xa4, 0xe3, 0x7a, 0x65, 0xae, 0x7f, 0x19, 0xf3, 0xc1, 0x7e, 0xdf, 0xbd, 0xe6, 0x88, 0x90, - 0x0f, 0xaf, 0x33, 0x72, 0x51, 0x24, 0xd3, 0xd0, 0xc1, 0x0a, 0xcd, 0x43, 0x58, 0xad, 0xa0, 0x3f, - 0x8f, 0x7c, 0x42, 0x32, 0x9d, 0xd4, 0x7c, 0x32, 0x0f, 0x13, 0xcb, 0x7f, 0x79, 0x5d, 0x77, 0xc4, - 0x98, 0x64, 0x1a, 0xe3, 0x5a, 0x81, 0xf1, 0x3c, 0xc4, 0xd8, 0x6a, 0xde, 0xfe, 0xdb, 0x62, 0x77, - 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x2a, 0x73, 0xe3, 0x5b, 0xe4, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/custom_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/custom_placeholder_field.pb.go deleted file mode 100644 index 97d65db1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/custom_placeholder_field.pb.go +++ /dev/null @@ -1,234 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/custom_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_03e8133214061585, []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_03e8133214061585, []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 (m *CustomPlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomPlaceholderFieldEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.CustomPlaceholderFieldEnum_CustomPlaceholderField", CustomPlaceholderFieldEnum_CustomPlaceholderField_name, CustomPlaceholderFieldEnum_CustomPlaceholderField_value) - proto.RegisterType((*CustomPlaceholderFieldEnum)(nil), "google.ads.googleads.v1.enums.CustomPlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/custom_placeholder_field.proto", fileDescriptor_03e8133214061585) -} - -var fileDescriptor_03e8133214061585 = []byte{ - // 524 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0xdd, 0x8e, 0xd2, 0x40, - 0x18, 0x15, 0x70, 0x41, 0x86, 0x65, 0x19, 0x06, 0x56, 0xcd, 0xea, 0x5e, 0xec, 0x3e, 0x40, 0x1b, - 0xf4, 0xae, 0x7a, 0x33, 0x74, 0x06, 0x32, 0xa1, 0xb4, 0x4d, 0x67, 0x60, 0x5d, 0x43, 0xd2, 0x54, - 0x5a, 0x2b, 0x09, 0x74, 0x08, 0x85, 0x7d, 0x1d, 0x13, 0x2f, 0x7d, 0x08, 0x1f, 0xc0, 0x47, 0xf1, - 0xca, 0x47, 0x30, 0x33, 0xe5, 0xc7, 0x8b, 0xd5, 0x9b, 0xe6, 0xfb, 0xce, 0x77, 0xce, 0xe9, 0x37, - 0x33, 0x07, 0xbc, 0x4f, 0xa5, 0x4c, 0x97, 0x89, 0x19, 0xc5, 0xb9, 0x59, 0x94, 0xaa, 0x7a, 0xe8, - 0x99, 0x49, 0xb6, 0x5b, 0xe5, 0xe6, 0x7c, 0x97, 0x6f, 0xe5, 0x2a, 0x5c, 0x2f, 0xa3, 0x79, 0xf2, - 0x45, 0x2e, 0xe3, 0x64, 0x13, 0x7e, 0x5e, 0x24, 0xcb, 0xd8, 0x58, 0x6f, 0xe4, 0x56, 0xa2, 0xeb, - 0x42, 0x62, 0x44, 0x71, 0x6e, 0x1c, 0xd5, 0xc6, 0x43, 0xcf, 0xd0, 0xea, 0xab, 0xd7, 0x07, 0xf3, - 0xf5, 0xc2, 0x8c, 0xb2, 0x4c, 0x6e, 0xa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 0x74, 0x08, 0x91, 0xb6, 0x37, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/customer_match_upload_key_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/customer_match_upload_key_type.pb.go deleted file mode 100644 index 9bb137e8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/customer_match_upload_key_type.pb.go +++ /dev/null @@ -1,132 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/customer_match_upload_key_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_3c71b2f6f6b0492d, []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_3c71b2f6f6b0492d, []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 (m *CustomerMatchUploadKeyTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerMatchUploadKeyTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.CustomerMatchUploadKeyTypeEnum_CustomerMatchUploadKeyType", CustomerMatchUploadKeyTypeEnum_CustomerMatchUploadKeyType_name, CustomerMatchUploadKeyTypeEnum_CustomerMatchUploadKeyType_value) - proto.RegisterType((*CustomerMatchUploadKeyTypeEnum)(nil), "google.ads.googleads.v1.enums.CustomerMatchUploadKeyTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/customer_match_upload_key_type.proto", fileDescriptor_3c71b2f6f6b0492d) -} - -var fileDescriptor_3c71b2f6f6b0492d = []byte{ - // 352 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0x41, 0x6a, 0x83, 0x40, - 0x14, 0xad, 0xa6, 0xa4, 0x30, 0x29, 0x54, 0x84, 0x2e, 0x1a, 0x9a, 0x96, 0xe4, 0x00, 0x23, 0xd2, - 0xdd, 0x74, 0xa5, 0xc6, 0x04, 0x49, 0xa3, 0x21, 0x31, 0x16, 0x8a, 0x30, 0x4c, 0xe3, 0x60, 0x43, - 0xe3, 0x8c, 0x64, 0x34, 0xe0, 0x41, 0x7a, 0x81, 0x2e, 0x7b, 0x94, 0x1e, 0xa5, 0xeb, 0x1e, 0xa0, - 0x38, 0x26, 0xd9, 0xa5, 0x1b, 0x79, 0xf8, 0xfe, 0x7f, 0xef, 0xbf, 0x37, 0xc0, 0x4e, 0x39, 0x4f, - 0x37, 0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xc3, 0x94, 0x6f, 0x08, 0x4b, 0x21, 0xdf, 0xa6, 0x46, 0x4a, - 0x99, 0x0c, 0x7f, 0x68, 0x3c, 0x5f, 0x8b, 0x13, 0x0f, 0xf0, 0x28, 0xbf, 0x9f, 0x6a, 0x6b, 0x6c, - 0x59, 0x5f, 0x6a, 0x6f, 0xdc, 0x48, 0x59, 0x89, 0x80, 0x0d, 0xac, 0x51, 0x64, 0xc2, 0xba, 0x26, - 0xf1, 0x7d, 0xe0, 0x63, 0x2b, 0x11, 0xf1, 0x91, 0x8f, 0x23, 0x33, 0x96, 0xfc, 0x8f, 0xda, 0x6f, - 0x7e, 0x22, 0x64, 0x25, 0x02, 0xa1, 0xe3, 0x04, 0x42, 0x91, 0x89, 0x90, 0x9c, 0x79, 0x6d, 0xcb, - 0xc3, 0x1e, 0xfe, 0x02, 0x00, 0x00, 0xff, 0xff, 0xd4, 0xb5, 0x62, 0x20, 0x18, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/customer_pay_per_conversion_eligibility_failure_reason.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/customer_pay_per_conversion_eligibility_failure_reason.pb.go deleted file mode 100644 index 3f45b72e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/customer_pay_per_conversion_eligibility_failure_reason.pb.go +++ /dev/null @@ -1,161 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/customer_pay_per_conversion_eligibility_failure_reason.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible reasons a customer is not eligible to use -// PaymentMode.CONVERSIONS. -type CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason int32 - -const ( - // Not specified. - CustomerPayPerConversionEligibilityFailureReasonEnum_UNSPECIFIED CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason = 0 - // Used for return value only. Represents value unknown in this version. - CustomerPayPerConversionEligibilityFailureReasonEnum_UNKNOWN CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason = 1 - // Customer does not have enough conversions. - CustomerPayPerConversionEligibilityFailureReasonEnum_NOT_ENOUGH_CONVERSIONS CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason = 2 - // Customer's conversion lag is too high. - CustomerPayPerConversionEligibilityFailureReasonEnum_CONVERSION_LAG_TOO_HIGH CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason = 3 - // Customer uses shared budgets. - CustomerPayPerConversionEligibilityFailureReasonEnum_HAS_CAMPAIGN_WITH_SHARED_BUDGET CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason = 4 - // Customer has conversions with ConversionActionType.UPLOAD_CLICKS. - CustomerPayPerConversionEligibilityFailureReasonEnum_HAS_UPLOAD_CLICKS_CONVERSION CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason = 5 - // Customer's average daily spend is too high. - CustomerPayPerConversionEligibilityFailureReasonEnum_AVERAGE_DAILY_SPEND_TOO_HIGH CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason = 6 - // Customer's eligibility has not yet been calculated by the Google Ads - // backend. Check back soon. - CustomerPayPerConversionEligibilityFailureReasonEnum_ANALYSIS_NOT_COMPLETE CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason = 7 - // Customer is not eligible due to other reasons. - CustomerPayPerConversionEligibilityFailureReasonEnum_OTHER CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason = 8 -) - -var CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "NOT_ENOUGH_CONVERSIONS", - 3: "CONVERSION_LAG_TOO_HIGH", - 4: "HAS_CAMPAIGN_WITH_SHARED_BUDGET", - 5: "HAS_UPLOAD_CLICKS_CONVERSION", - 6: "AVERAGE_DAILY_SPEND_TOO_HIGH", - 7: "ANALYSIS_NOT_COMPLETE", - 8: "OTHER", -} - -var CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "NOT_ENOUGH_CONVERSIONS": 2, - "CONVERSION_LAG_TOO_HIGH": 3, - "HAS_CAMPAIGN_WITH_SHARED_BUDGET": 4, - "HAS_UPLOAD_CLICKS_CONVERSION": 5, - "AVERAGE_DAILY_SPEND_TOO_HIGH": 6, - "ANALYSIS_NOT_COMPLETE": 7, - "OTHER": 8, -} - -func (x CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason) String() string { - return proto.EnumName(CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason_name, int32(x)) -} - -func (CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_5cef7e661f31b2d1, []int{0, 0} -} - -// Container for enum describing reasons why a customer is not eligible to use -// PaymentMode.CONVERSIONS. -type CustomerPayPerConversionEligibilityFailureReasonEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomerPayPerConversionEligibilityFailureReasonEnum) Reset() { - *m = CustomerPayPerConversionEligibilityFailureReasonEnum{} -} -func (m *CustomerPayPerConversionEligibilityFailureReasonEnum) String() string { - return proto.CompactTextString(m) -} -func (*CustomerPayPerConversionEligibilityFailureReasonEnum) ProtoMessage() {} -func (*CustomerPayPerConversionEligibilityFailureReasonEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_5cef7e661f31b2d1, []int{0} -} - -func (m *CustomerPayPerConversionEligibilityFailureReasonEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomerPayPerConversionEligibilityFailureReasonEnum.Unmarshal(m, b) -} -func (m *CustomerPayPerConversionEligibilityFailureReasonEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomerPayPerConversionEligibilityFailureReasonEnum.Marshal(b, m, deterministic) -} -func (m *CustomerPayPerConversionEligibilityFailureReasonEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerPayPerConversionEligibilityFailureReasonEnum.Merge(m, src) -} -func (m *CustomerPayPerConversionEligibilityFailureReasonEnum) XXX_Size() int { - return xxx_messageInfo_CustomerPayPerConversionEligibilityFailureReasonEnum.Size(m) -} -func (m *CustomerPayPerConversionEligibilityFailureReasonEnum) XXX_DiscardUnknown() { - xxx_messageInfo_CustomerPayPerConversionEligibilityFailureReasonEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomerPayPerConversionEligibilityFailureReasonEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason", CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason_name, CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason_value) - proto.RegisterType((*CustomerPayPerConversionEligibilityFailureReasonEnum)(nil), "google.ads.googleads.v1.enums.CustomerPayPerConversionEligibilityFailureReasonEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/customer_pay_per_conversion_eligibility_failure_reason.proto", fileDescriptor_5cef7e661f31b2d1) -} - -var fileDescriptor_5cef7e661f31b2d1 = []byte{ - // 476 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0x4f, 0x6f, 0x94, 0x40, - 0x18, 0xc6, 0x2d, 0xb5, 0xad, 0x4e, 0x0f, 0x12, 0x12, 0x35, 0xd6, 0x36, 0xda, 0x7a, 0x07, 0x89, - 0x7a, 0xc1, 0xd3, 0x2c, 0x4c, 0x81, 0x94, 0xce, 0x10, 0xfe, 0x35, 0x6d, 0x36, 0x99, 0xd0, 0x65, - 0x24, 0x24, 0xec, 0x0c, 0x61, 0xd8, 0x4d, 0xf6, 0x2b, 0xf8, 0x09, 0x3c, 0x7b, 0xf4, 0xa3, 0x78, - 0xf3, 0x6b, 0xf8, 0x29, 0x0c, 0xd0, 0xdd, 0xf5, 0xa2, 0xc9, 0x5e, 0xc8, 0x93, 0x79, 0x9f, 0x79, - 0x7e, 0x13, 0x9e, 0x17, 0xdc, 0x95, 0x42, 0x94, 0x35, 0x33, 0xf2, 0x42, 0x1a, 0xa3, 0xec, 0xd5, - 0xd2, 0x34, 0x18, 0x5f, 0xcc, 0xa5, 0x31, 0x5b, 0xc8, 0x4e, 0xcc, 0x59, 0x4b, 0x9b, 0x7c, 0x45, - 0x1b, 0xd6, 0xd2, 0x99, 0xe0, 0x4b, 0xd6, 0xca, 0x4a, 0x70, 0xca, 0xea, 0xaa, 0xac, 0xee, 0xab, - 0xba, 0xea, 0x56, 0xf4, 0x4b, 0x5e, 0xd5, 0x8b, 0x96, 0xd1, 0x96, 0xe5, 0x52, 0x70, 0xbd, 0x69, - 0x45, 0x27, 0xb4, 0xb3, 0x31, 0x50, 0xcf, 0x0b, 0xa9, 0x6f, 0xb2, 0xf5, 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x6d, 0xec, 0xc7, 0xb4, 0x7f, 0xaa, 0x4d, 0xae, 0xc3, 0x00, 0x25, 0x48, 0x3d, 0xd2, - 0x9e, 0x82, 0x03, 0x92, 0x78, 0x28, 0x52, 0x9f, 0x4c, 0xbe, 0x2a, 0xe0, 0x7c, 0x26, 0xe6, 0xfa, - 0x7f, 0x7b, 0x99, 0x7c, 0xda, 0xf5, 0xef, 0x85, 0x7d, 0x61, 0xe1, 0xde, 0xdd, 0xe4, 0x21, 0xb7, - 0x14, 0x75, 0xce, 0x4b, 0x5d, 0xb4, 0xa5, 0x51, 0x32, 0x3e, 0xd4, 0xb9, 0xde, 0xad, 0xa6, 0x92, - 0xff, 0x58, 0xb5, 0xcf, 0xc3, 0xf7, 0xbb, 0xb2, 0xef, 0x42, 0xf8, 0x43, 0x39, 0x73, 0xc7, 0x28, - 0x58, 0x48, 0x7d, 0x94, 0xbd, 0xca, 0x4c, 0xbd, 0xaf, 0x58, 0xfe, 0x5c, 0xcf, 0xa7, 0xb0, 0x90, - 0xd3, 0xcd, 0x7c, 0x9a, 0x99, 0xd3, 0x61, 0xfe, 0x5b, 0x39, 0x1f, 0x0f, 0x2d, 0x0b, 0x16, 0xd2, - 0xb2, 0x36, 0x0e, 0xcb, 0xca, 0x4c, 0xcb, 0x1a, 0x3c, 0xf7, 0x87, 0xc3, 0xc3, 0x3e, 0xfc, 0x09, - 0x00, 0x00, 0xff, 0xff, 0x04, 0xd5, 0x05, 0x30, 0x02, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/data_driven_model_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/data_driven_model_status.pb.go deleted file mode 100644 index 8661f661..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/data_driven_model_status.pb.go +++ /dev/null @@ -1,140 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/data_driven_model_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_448d803015c82ee7, []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_448d803015c82ee7, []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 (m *DataDrivenModelStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_DataDrivenModelStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.DataDrivenModelStatusEnum_DataDrivenModelStatus", DataDrivenModelStatusEnum_DataDrivenModelStatus_name, DataDrivenModelStatusEnum_DataDrivenModelStatus_value) - proto.RegisterType((*DataDrivenModelStatusEnum)(nil), "google.ads.googleads.v1.enums.DataDrivenModelStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/data_driven_model_status.proto", fileDescriptor_448d803015c82ee7) -} - -var fileDescriptor_448d803015c82ee7 = []byte{ - // 341 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x4a, 0xc3, 0x30, - 0x1c, 0xb6, 0x9d, 0x53, 0x96, 0x21, 0x2b, 0x15, 0x0f, 0x0e, 0x77, 0xd8, 0x1e, 0x20, 0xa5, 0x78, - 0x8b, 0x5e, 0x52, 0x1b, 0x47, 0x71, 0xd6, 0xb2, 0x3f, 0x55, 0xa4, 0x50, 0xa2, 0x29, 0xa5, 0xb0, - 0x26, 0x73, 0xc9, 0xf6, 0x18, 0x3e, 0x84, 0x47, 0x1f, 0xc5, 0x47, 0xf1, 0xe2, 0x2b, 0x48, 0xd3, - 0x6d, 0xa7, 0xe9, 0x25, 0x7c, 0xe4, 0xfb, 0xc3, 0xef, 0xfb, 0xc0, 0x75, 0x2e, 0x44, 0x3e, 0xcf, - 0x1c, 0xca, 0xa4, 0x53, 0xc3, 0x0a, 0xad, 0x5d, 0x27, 0xe3, 0xab, 0x52, 0x3a, 0x8c, 0x2a, 0x9a, - 0xb2, 0x65, 0xb1, 0xce, 0x78, 0x5a, 0x0a, 0x96, 0xcd, 0x53, 0xa9, 0xa8, 0x5a, 0x49, 0xb8, 0x58, - 0x0a, 0x25, 0xec, 0x5e, 0x6d, 0x81, 0x94, 0x49, 0xb8, 0x73, 0xc3, 0xb5, 0x0b, 0xb5, 0xbb, 0x7b, - 0xb1, 0x0d, 0x5f, 0x14, 0x0e, 0xe5, 0x5c, 0x28, 0xaa, 0x0a, 0xc1, 0x37, 0xe6, 0xc1, 0xbb, 0x01, - 0xce, 0x7d, 0xaa, 0xa8, 0xaf, 0xe3, 0xef, 0xab, 0xf4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- 0xbf, 0x06, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/day_of_week.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/day_of_week.pb.go deleted file mode 100644 index 271a198d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/day_of_week.pb.go +++ /dev/null @@ -1,146 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/day_of_week.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_eba362041c9d1ea5, []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_eba362041c9d1ea5, []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 (m *DayOfWeekEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_DayOfWeekEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.DayOfWeekEnum_DayOfWeek", DayOfWeekEnum_DayOfWeek_name, DayOfWeekEnum_DayOfWeek_value) - proto.RegisterType((*DayOfWeekEnum)(nil), "google.ads.googleads.v1.enums.DayOfWeekEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/day_of_week.proto", fileDescriptor_eba362041c9d1ea5) -} - -var fileDescriptor_eba362041c9d1ea5 = []byte{ - // 343 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xcf, 0x4e, 0x32, 0x31, - 0x14, 0xc5, 0xbf, 0x19, 0x3e, 0xf9, 0x53, 0x44, 0xc9, 0x2c, 0x8d, 0x2c, 0xe0, 0x01, 0x3a, 0x99, - 0xb8, 0xab, 0xab, 0xe2, 0x0c, 0x48, 0x8c, 0x03, 0x61, 0x18, 0x88, 0x66, 0x12, 0x52, 0x9d, 0xd2, - 0x10, 0xa0, 0x25, 0x14, 0x30, 0x3c, 0x80, 0xcf, 0xe0, 0xde, 0xa5, 0x8f, 0xe2, 0x6b, 0xb8, 0xf3, - 0x29, 0x4c, 0x5b, 0x66, 0x76, 0xba, 0x69, 0xce, 0xe9, 0xef, 0x9e, 0x9b, 0x7b, 0x2f, 0x70, 0x99, - 0x10, 0x6c, 0x49, 0x5d, 0x92, 0xca, 0xa3, 0x54, 0x6a, 0xef, 0xb9, 0x94, 0xef, 0x56, 0xd2, 0x4d, - 0xc9, 0x61, 0x2a, 0x66, 0xd3, 0x17, 0x4a, 0x17, 0x70, 0xbd, 0x11, 0x5b, 0xe1, 0x34, 0x4c, 0x15, - 0x24, 0xa9, 0x84, 0x79, 0x00, 0xee, 0x3d, 0xa8, 0x03, 0x17, 0x97, 0x59, 0xbf, 0xf5, 0xdc, 0x25, - 0x9c, 0x8b, 0x2d, 0xd9, 0xce, 0x05, 0x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x28, 0xaf, 0x40, 0x68, - 0xec, 0x21, 0xa4, 0x6b, 0x9e, 0x8a, 0x7a, 0xb0, 0xab, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x14, - 0x7b, 0x20, 0x2d, 0xf6, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/device.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/device.pb.go deleted file mode 100644 index 8d11dddf..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/device.pb.go +++ /dev/null @@ -1,136 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/device.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // Smart TVs and game consoles. - DeviceEnum_CONNECTED_TV DeviceEnum_Device = 6 - // Other device types. - DeviceEnum_OTHER DeviceEnum_Device = 5 -) - -var DeviceEnum_Device_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "MOBILE", - 3: "TABLET", - 4: "DESKTOP", - 6: "CONNECTED_TV", - 5: "OTHER", -} - -var DeviceEnum_Device_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "MOBILE": 2, - "TABLET": 3, - "DESKTOP": 4, - "CONNECTED_TV": 6, - "OTHER": 5, -} - -func (x DeviceEnum_Device) String() string { - return proto.EnumName(DeviceEnum_Device_name, int32(x)) -} - -func (DeviceEnum_Device) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2f3653a34a029c3f, []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_2f3653a34a029c3f, []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 (m *DeviceEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeviceEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.DeviceEnum_Device", DeviceEnum_Device_name, DeviceEnum_Device_value) - proto.RegisterType((*DeviceEnum)(nil), "google.ads.googleads.v1.enums.DeviceEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/device.proto", fileDescriptor_2f3653a34a029c3f) -} - -var fileDescriptor_2f3653a34a029c3f = []byte{ - // 320 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x41, 0x4f, 0xfa, 0x30, - 0x00, 0xc5, 0xff, 0x8c, 0x3f, 0x33, 0x16, 0x13, 0x9b, 0x1d, 0x8d, 0x1c, 0xe0, 0xe8, 0xa1, 0xcb, - 0xe2, 0xad, 0x9e, 0x36, 0x56, 0x91, 0x80, 0xdb, 0x22, 0x65, 0x26, 0x66, 0x89, 0x99, 0x74, 0xa9, - 0x4b, 0xa0, 0x25, 0x14, 0xf6, 0x81, 0x3c, 0xfa, 0x51, 0xfc, 0x14, 0x9e, 0xfd, 0x14, 0xa6, 0xad, - 0xec, 0xa6, 0x97, 0xe5, 0xad, 0xef, 0xd7, 0x97, 0xd7, 0x07, 0xae, 0xb8, 0x94, 0x7c, 0x5d, 0xf9, - 0x25, 0x53, 0xbe, 0x95, 0x5a, 0x35, 0x81, 0x5f, 0x89, 0xc3, 0x46, 0xf9, 0xac, 0x6a, 0xea, 0x55, - 0x85, 0xb6, 0x3b, 0xb9, 0x97, 0xde, 0xc0, 0x02, 0xa8, 0x64, 0x0a, 0xb5, 0x2c, 0x6a, 0x02, 0x64, - 0xd8, 0x8b, 0xcb, 0x63, 0xd4, 0xb6, 0xf6, 0x4b, 0x21, 0xe4, 0xbe, 0xdc, 0xd7, 0x52, 0x28, 0x7b, - 0x79, 0xd4, 0x00, 0x10, 0x9b, 0x30, 0x22, 0x0e, 0x9b, 0xd1, 0x2b, 0x70, 0xed, 0x9f, 0x77, 0x0e, - 0xfa, 0xcb, 0x64, 0x91, 0x91, 0xf1, 0xf4, 0x76, 0x4a, 0x62, 0xf8, 0xcf, 0xeb, 0x83, 0x93, 0x65, - 0x32, 0x4b, 0xd2, 0xc7, 0x04, 0x76, 0x3c, 0x00, 0xdc, 0xfb, 0x34, 0x9a, 0xce, 0x09, 0x74, 0xb4, - 0xa6, 0x61, 0x34, 0x27, 0x14, 0x76, 0x35, 0x14, 0x93, 0xc5, 0x8c, 0xa6, 0x19, 0xfc, 0xef, 0x41, - 0x70, 0x36, 0x4e, 0x93, 0x84, 0x8c, 0x29, 0x89, 0x9f, 0x69, 0x0e, 0x5d, 0xef, 0x14, 0xf4, 0x52, - 0x7a, 0x47, 0x1e, 0x60, 0x2f, 0xfa, 0xec, 0x80, 0xe1, 0x4a, 0x6e, 0xd0, 0x9f, 0xdd, 0xa3, 0xbe, - 0x6d, 0x93, 0xe9, 0xaa, 0x59, 0xe7, 0x29, 0xfa, 0xa1, 0xb9, 0x5c, 0x97, 0x82, 0x23, 0xb9, 0xe3, - 0x3e, 0xaf, 0x84, 0x79, 0xc8, 0x71, 0xa5, 0x6d, 0xad, 0x7e, 0x19, 0xed, 0xc6, 0x7c, 0xdf, 0x9c, - 0xee, 0x24, 0x0c, 0xdf, 0x9d, 0xc1, 0xc4, 0x46, 0x85, 0x4c, 0x21, 0x2b, 0xb5, 0xca, 0x03, 0xa4, - 0x77, 0x50, 0x1f, 0x47, 0xbf, 0x08, 0x99, 0x2a, 0x5a, 0xbf, 0xc8, 0x83, 0xc2, 0xf8, 0x5f, 0xce, - 0xd0, 0x1e, 0x62, 0x1c, 0x32, 0x85, 0x71, 0x4b, 0x60, 0x9c, 0x07, 0x18, 0x1b, 0xe6, 0xc5, 0x35, - 0xc5, 0xae, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xbb, 0x78, 0xaa, 0x06, 0xcc, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/display_ad_format_setting.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/display_ad_format_setting.pb.go deleted file mode 100644 index 327433df..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/display_ad_format_setting.pb.go +++ /dev/null @@ -1,130 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/display_ad_format_setting.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_c4acbddf81279131, []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_c4acbddf81279131, []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 (m *DisplayAdFormatSettingEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_DisplayAdFormatSettingEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.DisplayAdFormatSettingEnum_DisplayAdFormatSetting", DisplayAdFormatSettingEnum_DisplayAdFormatSetting_name, DisplayAdFormatSettingEnum_DisplayAdFormatSetting_value) - proto.RegisterType((*DisplayAdFormatSettingEnum)(nil), "google.ads.googleads.v1.enums.DisplayAdFormatSettingEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/display_ad_format_setting.proto", fileDescriptor_c4acbddf81279131) -} - -var fileDescriptor_c4acbddf81279131 = []byte{ - // 329 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x41, 0x4b, 0xfb, 0x30, - 0x1c, 0xfd, 0xb7, 0xfb, 0x33, 0x21, 0x03, 0x2d, 0x3d, 0x78, 0x98, 0xee, 0xb0, 0x7d, 0x80, 0x94, - 0xe2, 0x2d, 0xe2, 0x21, 0x73, 0xdd, 0x18, 0xce, 0x6c, 0xb8, 0xad, 0x82, 0x14, 0x4a, 0x5c, 0x6a, - 0x28, 0xac, 0x49, 0x59, 0xb2, 0x81, 0x47, 0xbf, 0x8a, 0x47, 0x3f, 0x8a, 0x1f, 0xc5, 0x93, 0x1f, - 0x41, 0x9a, 0x6c, 0x3d, 0x4d, 0x2f, 0xe1, 0x91, 0xf7, 0x7b, 0xef, 0xf7, 0x7b, 0x0f, 0xdc, 0x70, - 0x29, 0xf9, 0x3a, 0x0b, 0x28, 0x53, 0x81, 0x85, 0x15, 0xda, 0x85, 0x41, 0x26, 0xb6, 0x85, 0x0a, - 0x58, 0xae, 0xca, 0x35, 0x7d, 0x4d, 0x29, 0x4b, 0x5f, 0xe4, 0xa6, 0xa0, 0x3a, 0x55, 0x99, 0xd6, - 0xb9, 0xe0, 0xb0, 0xdc, 0x48, 0x2d, 0xfd, 0x8e, 0xd5, 0x40, 0xca, 0x14, 0xac, 0xe5, 0x70, 0x17, - 0x42, 0x23, 0x6f, 0x5f, 0x1e, 0xdc, 0xcb, 0x3c, 0xa0, 0x42, 0x48, 0x4d, 0x75, 0x2e, 0x85, 0xb2, - 0xe2, 0xde, 0x9b, 0x03, 0xda, 0x03, 0xbb, 0x00, 0xb3, 0xa1, 0xb1, 0x9f, 0x5b, 0xf7, 0x48, 0x6c, - 0x8b, 0xde, 0x0a, 0x9c, 0x1f, 0x67, 0xfd, 0x33, 0xd0, 0x5a, 0x92, 0xf9, 0x2c, 0xba, 0x1d, 0x0f, - 0xc7, 0xd1, 0xc0, 0xfb, 0xe7, 0xb7, 0xc0, 0xc9, 0x92, 0xdc, 0x91, 0xe9, 0x23, 0xf1, 0x9c, 0x8a, - 0xc5, 0x93, 0x49, 0x3a, 0x9c, 0x3e, 0xdc, 0xe3, 0xc5, 0xdc, 0x73, 0xfd, 0x53, 0x00, 0xc8, 0x94, - 0xa4, 0x04, 0x2f, 0xc6, 0x71, 0xe4, 0x35, 0x7c, 0x00, 0x9a, 0x7b, 0xfc, 0xbf, 0xff, 0xed, 0x80, - 0xee, 0x4a, 0x16, 0xf0, 0xcf, 0x1c, 0xfd, 0x8b, 0xe3, 0x87, 0xcc, 0xaa, 0x18, 0x33, 0xe7, 0xa9, - 0xbf, 0x57, 0x73, 0xb9, 0xa6, 0x82, 0x43, 0xb9, 0xe1, 0x01, 0xcf, 0x84, 0x09, 0x79, 0x28, 0xb5, - 0xcc, 0xd5, 0x2f, 0x1d, 0x5f, 0x9b, 0xf7, 0xdd, 0x6d, 0x8c, 0x30, 0xfe, 0x70, 0x3b, 0x23, 0x6b, - 0x85, 0x99, 0x82, 0x16, 0x56, 0x28, 0x0e, 0x61, 0x55, 0x89, 0xfa, 0x3c, 0xf0, 0x09, 0x66, 0x2a, - 0xa9, 0xf9, 0x24, 0x0e, 0x13, 0xc3, 0x7f, 0xb9, 0x5d, 0xfb, 0x89, 0x10, 0x66, 0x0a, 0xa1, 0x7a, - 0x02, 0xa1, 0x38, 0x44, 0xc8, 0xcc, 0x3c, 0x37, 0xcd, 0x61, 0x57, 0x3f, 0x01, 0x00, 0x00, 0xff, - 0xff, 0xb8, 0xeb, 0x40, 0x86, 0xfb, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/display_upload_product_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/display_upload_product_type.pb.go deleted file mode 100644 index 4e5d2aa0..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/display_upload_product_type.pb.go +++ /dev/null @@ -1,187 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/display_upload_product_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enumerates display upload product types. -type DisplayUploadProductTypeEnum_DisplayUploadProductType int32 - -const ( - // Not specified. - DisplayUploadProductTypeEnum_UNSPECIFIED DisplayUploadProductTypeEnum_DisplayUploadProductType = 0 - // The value is unknown in this version. - DisplayUploadProductTypeEnum_UNKNOWN DisplayUploadProductTypeEnum_DisplayUploadProductType = 1 - // HTML5 upload ad. This product type requires the upload_media_bundle - // field in DisplayUploadAdInfo to be set. - DisplayUploadProductTypeEnum_HTML5_UPLOAD_AD DisplayUploadProductTypeEnum_DisplayUploadProductType = 2 - // Dynamic HTML5 education ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in an education campaign. - DisplayUploadProductTypeEnum_DYNAMIC_HTML5_EDUCATION_AD DisplayUploadProductTypeEnum_DisplayUploadProductType = 3 - // Dynamic HTML5 flight ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a flight campaign. - DisplayUploadProductTypeEnum_DYNAMIC_HTML5_FLIGHT_AD DisplayUploadProductTypeEnum_DisplayUploadProductType = 4 - // Dynamic HTML5 hotel and rental ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a hotel campaign. - DisplayUploadProductTypeEnum_DYNAMIC_HTML5_HOTEL_RENTAL_AD DisplayUploadProductTypeEnum_DisplayUploadProductType = 5 - // Dynamic HTML5 job ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a job campaign. - DisplayUploadProductTypeEnum_DYNAMIC_HTML5_JOB_AD DisplayUploadProductTypeEnum_DisplayUploadProductType = 6 - // Dynamic HTML5 local ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a local campaign. - DisplayUploadProductTypeEnum_DYNAMIC_HTML5_LOCAL_AD DisplayUploadProductTypeEnum_DisplayUploadProductType = 7 - // Dynamic HTML5 real estate ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a real estate campaign. - DisplayUploadProductTypeEnum_DYNAMIC_HTML5_REAL_ESTATE_AD DisplayUploadProductTypeEnum_DisplayUploadProductType = 8 - // Dynamic HTML5 custom ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a custom campaign. - DisplayUploadProductTypeEnum_DYNAMIC_HTML5_CUSTOM_AD DisplayUploadProductTypeEnum_DisplayUploadProductType = 9 - // Dynamic HTML5 travel ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a travel campaign. - DisplayUploadProductTypeEnum_DYNAMIC_HTML5_TRAVEL_AD DisplayUploadProductTypeEnum_DisplayUploadProductType = 10 - // Dynamic HTML5 hotel ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a hotel campaign. - DisplayUploadProductTypeEnum_DYNAMIC_HTML5_HOTEL_AD DisplayUploadProductTypeEnum_DisplayUploadProductType = 11 -) - -var DisplayUploadProductTypeEnum_DisplayUploadProductType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "HTML5_UPLOAD_AD", - 3: "DYNAMIC_HTML5_EDUCATION_AD", - 4: "DYNAMIC_HTML5_FLIGHT_AD", - 5: "DYNAMIC_HTML5_HOTEL_RENTAL_AD", - 6: "DYNAMIC_HTML5_JOB_AD", - 7: "DYNAMIC_HTML5_LOCAL_AD", - 8: "DYNAMIC_HTML5_REAL_ESTATE_AD", - 9: "DYNAMIC_HTML5_CUSTOM_AD", - 10: "DYNAMIC_HTML5_TRAVEL_AD", - 11: "DYNAMIC_HTML5_HOTEL_AD", -} - -var DisplayUploadProductTypeEnum_DisplayUploadProductType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "HTML5_UPLOAD_AD": 2, - "DYNAMIC_HTML5_EDUCATION_AD": 3, - "DYNAMIC_HTML5_FLIGHT_AD": 4, - "DYNAMIC_HTML5_HOTEL_RENTAL_AD": 5, - "DYNAMIC_HTML5_JOB_AD": 6, - "DYNAMIC_HTML5_LOCAL_AD": 7, - "DYNAMIC_HTML5_REAL_ESTATE_AD": 8, - "DYNAMIC_HTML5_CUSTOM_AD": 9, - "DYNAMIC_HTML5_TRAVEL_AD": 10, - "DYNAMIC_HTML5_HOTEL_AD": 11, -} - -func (x DisplayUploadProductTypeEnum_DisplayUploadProductType) String() string { - return proto.EnumName(DisplayUploadProductTypeEnum_DisplayUploadProductType_name, int32(x)) -} - -func (DisplayUploadProductTypeEnum_DisplayUploadProductType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_5c241c09621b180c, []int{0, 0} -} - -// Container for display upload product types. Product types that have the word -// "DYNAMIC" in them must be associated with a campaign that has a dynamic -// remarketing feed. See https://support.google.com/google-ads/answer/6053288 -// for more info about dynamic remarketing. Other product types are regarded -// as "static" and do not have this requirement. -type DisplayUploadProductTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DisplayUploadProductTypeEnum) Reset() { *m = DisplayUploadProductTypeEnum{} } -func (m *DisplayUploadProductTypeEnum) String() string { return proto.CompactTextString(m) } -func (*DisplayUploadProductTypeEnum) ProtoMessage() {} -func (*DisplayUploadProductTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_5c241c09621b180c, []int{0} -} - -func (m *DisplayUploadProductTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DisplayUploadProductTypeEnum.Unmarshal(m, b) -} -func (m *DisplayUploadProductTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DisplayUploadProductTypeEnum.Marshal(b, m, deterministic) -} -func (m *DisplayUploadProductTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_DisplayUploadProductTypeEnum.Merge(m, src) -} -func (m *DisplayUploadProductTypeEnum) XXX_Size() int { - return xxx_messageInfo_DisplayUploadProductTypeEnum.Size(m) -} -func (m *DisplayUploadProductTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_DisplayUploadProductTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_DisplayUploadProductTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.DisplayUploadProductTypeEnum_DisplayUploadProductType", DisplayUploadProductTypeEnum_DisplayUploadProductType_name, DisplayUploadProductTypeEnum_DisplayUploadProductType_value) - proto.RegisterType((*DisplayUploadProductTypeEnum)(nil), "google.ads.googleads.v1.enums.DisplayUploadProductTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/display_upload_product_type.proto", fileDescriptor_5c241c09621b180c) -} - -var fileDescriptor_5c241c09621b180c = []byte{ - // 441 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xc1, 0xaa, 0xd3, 0x40, - 0x14, 0x86, 0x6d, 0xae, 0xde, 0xab, 0xd3, 0xc5, 0x2d, 0xa3, 0xe8, 0xa5, 0xb6, 0x62, 0xef, 0x03, - 0x4c, 0x08, 0xe2, 0x26, 0x2e, 0x64, 0x9a, 0xcc, 0x6d, 0xa3, 0x69, 0x12, 0xda, 0x49, 0x45, 0x29, - 0x84, 0x78, 0x27, 0x84, 0x42, 0x9b, 0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xba, 0x5a, 0xf3, 0xf5, 0x52, 0x2f, 0xf6, 0xe6, 0x6f, 0x00, 0x00, 0x00, 0xff, - 0xff, 0xb9, 0x0d, 0x64, 0x38, 0xfa, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/dsa_page_feed_criterion_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/dsa_page_feed_criterion_field.pb.go deleted file mode 100644 index 045501de..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/dsa_page_feed_criterion_field.pb.go +++ /dev/null @@ -1,125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/dsa_page_feed_criterion_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible values for Dynamic Search Ad Page Feed criterion fields. -type DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField int32 - -const ( - // Not specified. - DsaPageFeedCriterionFieldEnum_UNSPECIFIED DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField = 0 - // Used for return value only. Represents value unknown in this version. - DsaPageFeedCriterionFieldEnum_UNKNOWN DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField = 1 - // Data Type: URL or URL_LIST. URL of the web page you want to target. - DsaPageFeedCriterionFieldEnum_PAGE_URL DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField = 2 - // Data Type: STRING_LIST. The labels that will help you target ads within - // your page feed. - DsaPageFeedCriterionFieldEnum_LABEL DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField = 3 -) - -var DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "PAGE_URL", - 3: "LABEL", -} - -var DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "PAGE_URL": 2, - "LABEL": 3, -} - -func (x DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField) String() string { - return proto.EnumName(DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField_name, int32(x)) -} - -func (DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7742773da57a2f85, []int{0, 0} -} - -// Values for Dynamic Search Ad Page Feed criterion fields. -type DsaPageFeedCriterionFieldEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DsaPageFeedCriterionFieldEnum) Reset() { *m = DsaPageFeedCriterionFieldEnum{} } -func (m *DsaPageFeedCriterionFieldEnum) String() string { return proto.CompactTextString(m) } -func (*DsaPageFeedCriterionFieldEnum) ProtoMessage() {} -func (*DsaPageFeedCriterionFieldEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_7742773da57a2f85, []int{0} -} - -func (m *DsaPageFeedCriterionFieldEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DsaPageFeedCriterionFieldEnum.Unmarshal(m, b) -} -func (m *DsaPageFeedCriterionFieldEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DsaPageFeedCriterionFieldEnum.Marshal(b, m, deterministic) -} -func (m *DsaPageFeedCriterionFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_DsaPageFeedCriterionFieldEnum.Merge(m, src) -} -func (m *DsaPageFeedCriterionFieldEnum) XXX_Size() int { - return xxx_messageInfo_DsaPageFeedCriterionFieldEnum.Size(m) -} -func (m *DsaPageFeedCriterionFieldEnum) XXX_DiscardUnknown() { - xxx_messageInfo_DsaPageFeedCriterionFieldEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_DsaPageFeedCriterionFieldEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField", DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField_name, DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField_value) - proto.RegisterType((*DsaPageFeedCriterionFieldEnum)(nil), "google.ads.googleads.v1.enums.DsaPageFeedCriterionFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/dsa_page_feed_criterion_field.proto", fileDescriptor_7742773da57a2f85) -} - -var fileDescriptor_7742773da57a2f85 = []byte{ - // 318 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcd, 0x4a, 0xc3, 0x40, - 0x18, 0xb4, 0x29, 0xfe, 0x6d, 0x05, 0x43, 0x6e, 0x8a, 0x15, 0xda, 0x07, 0xd8, 0x10, 0xbc, 0xad, - 0xa7, 0x4d, 0x9b, 0x96, 0x62, 0x89, 0xa1, 0xd2, 0x0a, 0x12, 0x08, 0x6b, 0x77, 0xbb, 0x04, 0xda, - 0xdd, 0x90, 0x2f, 0xed, 0x03, 0x79, 0xf4, 0x51, 0x7c, 0x14, 0xaf, 0xbe, 0x80, 0x64, 0xd7, 0xf4, - 0x16, 0x2f, 0x61, 0xc8, 0xcc, 0x37, 0x33, 0x3b, 0x88, 0x4a, 0xad, 0xe5, 0x56, 0xf8, 0x8c, 0x83, - 0x6f, 0x61, 0x8d, 0x0e, 0x81, 0x2f, 0xd4, 0x7e, 0x07, 0x3e, 0x07, 0x96, 0x15, 0x4c, 0x8a, 0x6c, - 0x23, 0x04, 0xc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x55, 0x90, 0x1a, 0xfe, 0xdb, 0x19, 0xd8, 0x9f, - 0x84, 0x50, 0x0e, 0x84, 0x1c, 0x15, 0x84, 0xac, 0x02, 0x42, 0x8c, 0xe6, 0xfd, 0xcc, 0x14, 0x7b, - 0xf8, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x3c, 0xf4, 0x41, 0xe5, 0xf3, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/education_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/education_placeholder_field.pb.go deleted file mode 100644 index baa029ce..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/education_placeholder_field.pb.go +++ /dev/null @@ -1,213 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/education_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_8fd4c47241194ad2, []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_8fd4c47241194ad2, []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 (m *EducationPlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_EducationPlaceholderFieldEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.EducationPlaceholderFieldEnum_EducationPlaceholderField", EducationPlaceholderFieldEnum_EducationPlaceholderField_name, EducationPlaceholderFieldEnum_EducationPlaceholderField_value) - proto.RegisterType((*EducationPlaceholderFieldEnum)(nil), "google.ads.googleads.v1.enums.EducationPlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/education_placeholder_field.proto", fileDescriptor_8fd4c47241194ad2) -} - -var fileDescriptor_8fd4c47241194ad2 = []byte{ - // 514 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, 0x6e, 0x00, 0x21, 0x10, 0x05, 0xed, 0x72, 0x4f, - 0x54, 0x71, 0x0b, 0x07, 0x34, 0x4d, 0xdc, 0xae, 0xd5, 0xc4, 0x8e, 0xec, 0xa4, 0xcb, 0xa2, 0x4a, - 0x56, 0x68, 0x42, 0xa8, 0xd4, 0x26, 0x55, 0xd3, 0xee, 0xdb, 0x70, 0xe1, 0xc8, 0x4b, 0x70, 0xe7, - 0x51, 0xb8, 0xf2, 0x02, 0xc8, 0x09, 0x69, 0x2f, 0x94, 0x4b, 0x35, 0x9e, 0xf9, 0xe6, 0xf7, 0xb9, - 0xce, 0x87, 0xde, 0x67, 0x45, 0x91, 0x2d, 0x52, 0x2b, 0x4e, 0x4a, 0xab, 0x2e, 0x75, 0x75, 0xd7, - 0xb7, 0xd2, 0x7c, 0xbb, 0x2c, 0xad, 0x34, 0xd9, 0xce, 0xe2, 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x29, 0xa7, 0xbb, 0xf9, 0x74, 0xd2, 0x9f, 0x56, 0xf3, 0x5f, 0xad, 0xcb, - 0xba, 0x69, 0xdb, 0x90, 0x94, 0xb6, 0xbd, 0x53, 0xd8, 0xf6, 0xa4, 0x6f, 0xdb, 0x95, 0xe6, 0xd3, - 0x71, 0x75, 0xb1, 0xb7, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xfa, 0x24, 0xab, 0x32, 0x3e, 0x03, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/extension_setting_device.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/extension_setting_device.pb.go deleted file mode 100644 index 92ab0de2..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/extension_setting_device.pb.go +++ /dev/null @@ -1,126 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/extension_setting_device.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possbile device types for an extension setting. -type ExtensionSettingDeviceEnum_ExtensionSettingDevice int32 - -const ( - // Not specified. - ExtensionSettingDeviceEnum_UNSPECIFIED ExtensionSettingDeviceEnum_ExtensionSettingDevice = 0 - // The value is unknown in this version. - ExtensionSettingDeviceEnum_UNKNOWN ExtensionSettingDeviceEnum_ExtensionSettingDevice = 1 - // Mobile. The extensions in the extension setting will only serve on - // mobile devices. - ExtensionSettingDeviceEnum_MOBILE ExtensionSettingDeviceEnum_ExtensionSettingDevice = 2 - // Desktop. The extensions in the extension setting will only serve on - // desktop devices. - ExtensionSettingDeviceEnum_DESKTOP ExtensionSettingDeviceEnum_ExtensionSettingDevice = 3 -) - -var ExtensionSettingDeviceEnum_ExtensionSettingDevice_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "MOBILE", - 3: "DESKTOP", -} - -var ExtensionSettingDeviceEnum_ExtensionSettingDevice_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "MOBILE": 2, - "DESKTOP": 3, -} - -func (x ExtensionSettingDeviceEnum_ExtensionSettingDevice) String() string { - return proto.EnumName(ExtensionSettingDeviceEnum_ExtensionSettingDevice_name, int32(x)) -} - -func (ExtensionSettingDeviceEnum_ExtensionSettingDevice) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ae3aed08ebb9f2aa, []int{0, 0} -} - -// Container for enum describing extension setting device types. -type ExtensionSettingDeviceEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExtensionSettingDeviceEnum) Reset() { *m = ExtensionSettingDeviceEnum{} } -func (m *ExtensionSettingDeviceEnum) String() string { return proto.CompactTextString(m) } -func (*ExtensionSettingDeviceEnum) ProtoMessage() {} -func (*ExtensionSettingDeviceEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_ae3aed08ebb9f2aa, []int{0} -} - -func (m *ExtensionSettingDeviceEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExtensionSettingDeviceEnum.Unmarshal(m, b) -} -func (m *ExtensionSettingDeviceEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExtensionSettingDeviceEnum.Marshal(b, m, deterministic) -} -func (m *ExtensionSettingDeviceEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExtensionSettingDeviceEnum.Merge(m, src) -} -func (m *ExtensionSettingDeviceEnum) XXX_Size() int { - return xxx_messageInfo_ExtensionSettingDeviceEnum.Size(m) -} -func (m *ExtensionSettingDeviceEnum) XXX_DiscardUnknown() { - xxx_messageInfo_ExtensionSettingDeviceEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_ExtensionSettingDeviceEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.ExtensionSettingDeviceEnum_ExtensionSettingDevice", ExtensionSettingDeviceEnum_ExtensionSettingDevice_name, ExtensionSettingDeviceEnum_ExtensionSettingDevice_value) - proto.RegisterType((*ExtensionSettingDeviceEnum)(nil), "google.ads.googleads.v1.enums.ExtensionSettingDeviceEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/extension_setting_device.proto", fileDescriptor_ae3aed08ebb9f2aa) -} - -var fileDescriptor_ae3aed08ebb9f2aa = []byte{ - // 311 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x41, 0x4b, 0xfb, 0x30, - 0x18, 0xc6, 0xff, 0xeb, 0x60, 0x7f, 0xc8, 0x0e, 0x96, 0x1e, 0x3c, 0x4c, 0x77, 0xd8, 0x3e, 0x40, - 0x42, 0xf1, 0x16, 0xbd, 0xb4, 0x2e, 0x8e, 0x31, 0x6d, 0x0b, 0x73, 0x13, 0xa4, 0x30, 0xea, 0x12, - 0x42, 0x60, 0x4d, 0xca, 0x92, 0x15, 0x3f, 0x8f, 0x47, 0x3f, 0x8a, 0x1f, 0xc5, 0x93, 0x1f, 0x41, - 0x9a, 0xd8, 0x9e, 0xa6, 0x97, 0xf2, 0xd0, 0xe7, 0x7d, 0x7e, 0x79, 0xde, 0x17, 0xdc, 0x70, 0xa5, - 0xf8, 0x9e, 0xa1, 0x82, 0x6a, 0xe4, 0x64, 0xa3, 0xea, 0x10, 0x31, 0x79, 0x2c, 0x35, 0x62, 0xaf, - 0x86, 0x49, 0x2d, 0x94, 0xdc, 0x6a, 0x66, 0x8c, 0x90, 0x7c,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84, 0x18, 0xdb, 0x99, 0x97, 0x81, 0x2d, 0x76, 0xf5, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x09, - 0x45, 0x82, 0xac, 0xe5, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/extension_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/extension_type.pb.go deleted file mode 100644 index 6052062a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/extension_type.pb.go +++ /dev/null @@ -1,171 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/extension_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible data types for an extension in an extension setting. -type ExtensionTypeEnum_ExtensionType int32 - -const ( - // Not specified. - ExtensionTypeEnum_UNSPECIFIED ExtensionTypeEnum_ExtensionType = 0 - // Used for return value only. Represents value unknown in this version. - ExtensionTypeEnum_UNKNOWN ExtensionTypeEnum_ExtensionType = 1 - // None. - ExtensionTypeEnum_NONE ExtensionTypeEnum_ExtensionType = 2 - // App. - ExtensionTypeEnum_APP ExtensionTypeEnum_ExtensionType = 3 - // Call. - ExtensionTypeEnum_CALL ExtensionTypeEnum_ExtensionType = 4 - // Callout. - ExtensionTypeEnum_CALLOUT ExtensionTypeEnum_ExtensionType = 5 - // Message. - ExtensionTypeEnum_MESSAGE ExtensionTypeEnum_ExtensionType = 6 - // Price. - ExtensionTypeEnum_PRICE ExtensionTypeEnum_ExtensionType = 7 - // Promotion. - ExtensionTypeEnum_PROMOTION ExtensionTypeEnum_ExtensionType = 8 - // Review. - ExtensionTypeEnum_REVIEW ExtensionTypeEnum_ExtensionType = 9 - // Sitelink. - ExtensionTypeEnum_SITELINK ExtensionTypeEnum_ExtensionType = 10 - // Structured snippet. - ExtensionTypeEnum_STRUCTURED_SNIPPET ExtensionTypeEnum_ExtensionType = 11 - // Location. - ExtensionTypeEnum_LOCATION ExtensionTypeEnum_ExtensionType = 12 - // Affiliate location. - ExtensionTypeEnum_AFFILIATE_LOCATION ExtensionTypeEnum_ExtensionType = 13 -) - -var ExtensionTypeEnum_ExtensionType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "NONE", - 3: "APP", - 4: "CALL", - 5: "CALLOUT", - 6: "MESSAGE", - 7: "PRICE", - 8: "PROMOTION", - 9: "REVIEW", - 10: "SITELINK", - 11: "STRUCTURED_SNIPPET", - 12: "LOCATION", - 13: "AFFILIATE_LOCATION", -} - -var ExtensionTypeEnum_ExtensionType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "NONE": 2, - "APP": 3, - "CALL": 4, - "CALLOUT": 5, - "MESSAGE": 6, - "PRICE": 7, - "PROMOTION": 8, - "REVIEW": 9, - "SITELINK": 10, - "STRUCTURED_SNIPPET": 11, - "LOCATION": 12, - "AFFILIATE_LOCATION": 13, -} - -func (x ExtensionTypeEnum_ExtensionType) String() string { - return proto.EnumName(ExtensionTypeEnum_ExtensionType_name, int32(x)) -} - -func (ExtensionTypeEnum_ExtensionType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_637b9107265116c7, []int{0, 0} -} - -// Container for enum describing possible data types for an extension in an -// extension setting. -type ExtensionTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExtensionTypeEnum) Reset() { *m = ExtensionTypeEnum{} } -func (m *ExtensionTypeEnum) String() string { return proto.CompactTextString(m) } -func (*ExtensionTypeEnum) ProtoMessage() {} -func (*ExtensionTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_637b9107265116c7, []int{0} -} - -func (m *ExtensionTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExtensionTypeEnum.Unmarshal(m, b) -} -func (m *ExtensionTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExtensionTypeEnum.Marshal(b, m, deterministic) -} -func (m *ExtensionTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExtensionTypeEnum.Merge(m, src) -} -func (m *ExtensionTypeEnum) XXX_Size() int { - return xxx_messageInfo_ExtensionTypeEnum.Size(m) -} -func (m *ExtensionTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_ExtensionTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_ExtensionTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.ExtensionTypeEnum_ExtensionType", ExtensionTypeEnum_ExtensionType_name, ExtensionTypeEnum_ExtensionType_value) - proto.RegisterType((*ExtensionTypeEnum)(nil), "google.ads.googleads.v1.enums.ExtensionTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/extension_type.proto", fileDescriptor_637b9107265116c7) -} - -var fileDescriptor_637b9107265116c7 = []byte{ - // 407 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0x4d, 0x6a, 0xdc, 0x30, - 0x18, 0xad, 0x67, 0x92, 0xf9, 0xd1, 0x64, 0xa8, 0xaa, 0x45, 0x17, 0xa5, 0x59, 0x24, 0x07, 0x90, - 0x71, 0xbb, 0x53, 0x57, 0x1a, 0x47, 0x33, 0x88, 0x38, 0xb2, 0xb0, 0xe5, 0x09, 0x94, 0x81, 0xc1, - 0xad, 0x8d, 0x19, 0xc8, 0x48, 0x26, 0x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, 0xb1, 0xe2, 0xb1, 0x80, 0x33, - 0x04, 0xc0, 0x24, 0x61, 0x5b, 0xce, 0x6e, 0xe1, 0x1c, 0x9d, 0x81, 0x59, 0xca, 0x15, 0x8b, 0xb8, - 0xb8, 0x86, 0x00, 0xbd, 0x06, 0x28, 0x55, 0x49, 0x16, 0xaa, 0x2c, 0x61, 0x57, 0xfb, 0x54, 0x70, - 0x29, 0x99, 0x82, 0x0b, 0xa7, 0x8a, 0xe2, 0x90, 0xb6, 0xfe, 0x33, 0xa7, 0xa2, 0xeb, 0x35, 0x8f, - 0x38, 0x55, 0x6c, 0x3f, 0xf0, 0xcb, 0xd5, 0x4f, 0x0f, 0x5c, 0x7c, 0x36, 0x47, 0xfc, 0xdf, 0xca, - 0x56, 0xe8, 0xd9, 0xdf, 0xa5, 0x2b, 0x4a, 0x7a, 0x1f, 0x57, 0x7f, 0x4d, 0x95, 0xb9, 0xcb, 0x75, - 0x85, 0xcd, 0x7d, 0xe5, 0x57, 0xa5, 0x6e, 0x6b, 0xec, 0x77, 0x55, 0x1f, 0xec, 0x3f, 0x56, 0xf7, - 0xa1, 0x3d, 0xbf, 0x8e, 0xc6, 0x1b, 0x4a, 0xbf, 0x8d, 0xce, 0x37, 0x5d, 0x14, 0x2d, 0x2c, 0xee, - 0xa0, 0x43, 0xdb, 0x00, 0xbb, 0xf6, 0xed, 0xf7, 0x7e, 0xbe, 0xa3, 0x85, 0xdd, 0x0d, 0xf3, 0xdd, - 0x36, 0xd8, 0xb5, 0xf3, 0x5f, 0xa3, 0x8b, 0x8e, 0x24, 0x84, 0x16, 0x96, 0x90, 0x41, 0x41, 0xc8, - 0x36, 0x20, 0xa4, 0xd5, 0x7c, 0x9a, 0xb4, 0x0f, 0x7b, 0xff, 0x27, 0x00, 0x00, 0xff, 0xff, 0xb6, - 0x23, 0x53, 0xc3, 0x52, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/external_conversion_source.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/external_conversion_source.pb.go deleted file mode 100644 index f42ddc92..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/external_conversion_source.pb.go +++ /dev/null @@ -1,240 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/external_conversion_source.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The external conversion source that is associated with a ConversionAction. -type ExternalConversionSourceEnum_ExternalConversionSource int32 - -const ( - // Not specified. - ExternalConversionSourceEnum_UNSPECIFIED ExternalConversionSourceEnum_ExternalConversionSource = 0 - // Represents value unknown in this version. - ExternalConversionSourceEnum_UNKNOWN ExternalConversionSourceEnum_ExternalConversionSource = 1 - // Conversion that occurs when a user navigates to a particular webpage - // after viewing an ad; Displayed in Google Ads UI as 'Website'. - ExternalConversionSourceEnum_WEBPAGE ExternalConversionSourceEnum_ExternalConversionSource = 2 - // Conversion that comes from linked Google Analytics goal or transaction; - // Displayed in Google Ads UI as 'Analytics'. - ExternalConversionSourceEnum_ANALYTICS ExternalConversionSourceEnum_ExternalConversionSource = 3 - // Website conversion that is uploaded through ConversionUploadService; - // Displayed in Google Ads UI as 'Import from clicks'. - ExternalConversionSourceEnum_UPLOAD ExternalConversionSourceEnum_ExternalConversionSource = 4 - // Conversion that occurs when a user clicks on a call extension directly on - // an ad; Displayed in Google Ads UI as 'Calls from ads'. - ExternalConversionSourceEnum_AD_CALL_METRICS ExternalConversionSourceEnum_ExternalConversionSource = 5 - // Conversion that occurs when a user calls a dynamically-generated phone - // number (by installed javascript) from an advertiser's website after - // clicking on an ad; Displayed in Google Ads UI as 'Calls from website'. - ExternalConversionSourceEnum_WEBSITE_CALL_METRICS ExternalConversionSourceEnum_ExternalConversionSource = 6 - // Conversion that occurs when a user visits an advertiser's retail store - // after clicking on a Google ad; - // Displayed in Google Ads UI as 'Store visits'. - ExternalConversionSourceEnum_STORE_VISITS ExternalConversionSourceEnum_ExternalConversionSource = 7 - // Conversion that occurs when a user takes an in-app action such as a - // purchase in an Android app; - // Displayed in Google Ads UI as 'Android in-app action'. - ExternalConversionSourceEnum_ANDROID_IN_APP ExternalConversionSourceEnum_ExternalConversionSource = 8 - // Conversion that occurs when a user takes an in-app action such as a - // purchase in an iOS app; - // Displayed in Google Ads UI as 'iOS in-app action'. - ExternalConversionSourceEnum_IOS_IN_APP ExternalConversionSourceEnum_ExternalConversionSource = 9 - // Conversion that occurs when a user opens an iOS app for the first time; - // Displayed in Google Ads UI as 'iOS app install (first open)'. - ExternalConversionSourceEnum_IOS_FIRST_OPEN ExternalConversionSourceEnum_ExternalConversionSource = 10 - // Legacy app conversions that do not have an AppPlatform provided; - // Displayed in Google Ads UI as 'Mobile app'. - ExternalConversionSourceEnum_APP_UNSPECIFIED ExternalConversionSourceEnum_ExternalConversionSource = 11 - // Conversion that occurs when a user opens an Android app for the first - // time; Displayed in Google Ads UI as 'Android app install (first open)'. - ExternalConversionSourceEnum_ANDROID_FIRST_OPEN ExternalConversionSourceEnum_ExternalConversionSource = 12 - // Call conversion that is uploaded through ConversionUploadService; - // Displayed in Google Ads UI as 'Import from calls'. - ExternalConversionSourceEnum_UPLOAD_CALLS ExternalConversionSourceEnum_ExternalConversionSource = 13 - // Conversion that comes from a linked Firebase event; - // Displayed in Google Ads UI as 'Firebase'. - ExternalConversionSourceEnum_FIREBASE ExternalConversionSourceEnum_ExternalConversionSource = 14 - // Conversion that occurs when a user clicks on a mobile phone number; - // Displayed in Google Ads UI as 'Phone number clicks'. - ExternalConversionSourceEnum_CLICK_TO_CALL ExternalConversionSourceEnum_ExternalConversionSource = 15 - // Conversion that comes from Salesforce; - // Displayed in Google Ads UI as 'Salesforce.com'. - ExternalConversionSourceEnum_SALESFORCE ExternalConversionSourceEnum_ExternalConversionSource = 16 - // Conversion that comes from in-store purchases recorded by CRM; - // Displayed in Google Ads UI as 'Store sales (data partner)'. - ExternalConversionSourceEnum_STORE_SALES_CRM ExternalConversionSourceEnum_ExternalConversionSource = 17 - // Conversion that comes from in-store purchases from payment network; - // Displayed in Google Ads UI as 'Store sales (payment network)'. - ExternalConversionSourceEnum_STORE_SALES_PAYMENT_NETWORK ExternalConversionSourceEnum_ExternalConversionSource = 18 - // Codeless Google Play conversion; - // Displayed in Google Ads UI as 'Google Play'. - ExternalConversionSourceEnum_GOOGLE_PLAY ExternalConversionSourceEnum_ExternalConversionSource = 19 - // Conversion that comes from a linked third-party app analytics event; - // Displayed in Google Ads UI as 'Third-party app analytics'. - ExternalConversionSourceEnum_THIRD_PARTY_APP_ANALYTICS ExternalConversionSourceEnum_ExternalConversionSource = 20 - // Conversion that is controlled by Google Attribution. - ExternalConversionSourceEnum_GOOGLE_ATTRIBUTION ExternalConversionSourceEnum_ExternalConversionSource = 21 - // Store Sales conversion based on first-party or third-party merchant data - // uploads. Displayed in Google Ads UI as 'Store sales (direct)'. - ExternalConversionSourceEnum_STORE_SALES_DIRECT ExternalConversionSourceEnum_ExternalConversionSource = 22 -) - -var ExternalConversionSourceEnum_ExternalConversionSource_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "WEBPAGE", - 3: "ANALYTICS", - 4: "UPLOAD", - 5: "AD_CALL_METRICS", - 6: "WEBSITE_CALL_METRICS", - 7: "STORE_VISITS", - 8: "ANDROID_IN_APP", - 9: "IOS_IN_APP", - 10: "IOS_FIRST_OPEN", - 11: "APP_UNSPECIFIED", - 12: "ANDROID_FIRST_OPEN", - 13: "UPLOAD_CALLS", - 14: "FIREBASE", - 15: "CLICK_TO_CALL", - 16: "SALESFORCE", - 17: "STORE_SALES_CRM", - 18: "STORE_SALES_PAYMENT_NETWORK", - 19: "GOOGLE_PLAY", - 20: "THIRD_PARTY_APP_ANALYTICS", - 21: "GOOGLE_ATTRIBUTION", - 22: "STORE_SALES_DIRECT", -} - -var ExternalConversionSourceEnum_ExternalConversionSource_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "WEBPAGE": 2, - "ANALYTICS": 3, - "UPLOAD": 4, - "AD_CALL_METRICS": 5, - "WEBSITE_CALL_METRICS": 6, - "STORE_VISITS": 7, - "ANDROID_IN_APP": 8, - "IOS_IN_APP": 9, - "IOS_FIRST_OPEN": 10, - "APP_UNSPECIFIED": 11, - "ANDROID_FIRST_OPEN": 12, - "UPLOAD_CALLS": 13, - "FIREBASE": 14, - "CLICK_TO_CALL": 15, - "SALESFORCE": 16, - "STORE_SALES_CRM": 17, - "STORE_SALES_PAYMENT_NETWORK": 18, - "GOOGLE_PLAY": 19, - "THIRD_PARTY_APP_ANALYTICS": 20, - "GOOGLE_ATTRIBUTION": 21, - "STORE_SALES_DIRECT": 22, -} - -func (x ExternalConversionSourceEnum_ExternalConversionSource) String() string { - return proto.EnumName(ExternalConversionSourceEnum_ExternalConversionSource_name, int32(x)) -} - -func (ExternalConversionSourceEnum_ExternalConversionSource) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_edda814909168641, []int{0, 0} -} - -// Container for enum describing the external conversion source that is -// associated with a ConversionAction. -type ExternalConversionSourceEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExternalConversionSourceEnum) Reset() { *m = ExternalConversionSourceEnum{} } -func (m *ExternalConversionSourceEnum) String() string { return proto.CompactTextString(m) } -func (*ExternalConversionSourceEnum) ProtoMessage() {} -func (*ExternalConversionSourceEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_edda814909168641, []int{0} -} - -func (m *ExternalConversionSourceEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExternalConversionSourceEnum.Unmarshal(m, b) -} -func (m *ExternalConversionSourceEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExternalConversionSourceEnum.Marshal(b, m, deterministic) -} -func (m *ExternalConversionSourceEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExternalConversionSourceEnum.Merge(m, src) -} -func (m *ExternalConversionSourceEnum) XXX_Size() int { - return xxx_messageInfo_ExternalConversionSourceEnum.Size(m) -} -func (m *ExternalConversionSourceEnum) XXX_DiscardUnknown() { - xxx_messageInfo_ExternalConversionSourceEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_ExternalConversionSourceEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.ExternalConversionSourceEnum_ExternalConversionSource", ExternalConversionSourceEnum_ExternalConversionSource_name, ExternalConversionSourceEnum_ExternalConversionSource_value) - proto.RegisterType((*ExternalConversionSourceEnum)(nil), "google.ads.googleads.v1.enums.ExternalConversionSourceEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/external_conversion_source.proto", fileDescriptor_edda814909168641) -} - -var fileDescriptor_edda814909168641 = []byte{ - // 553 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0xdd, 0x6e, 0xda, 0x3c, - 0x18, 0xfe, 0x4a, 0xfb, 0xf5, 0xc7, 0xfd, 0x73, 0xdd, 0xae, 0xea, 0xb6, 0xa2, 0xa9, 0xbd, 0x80, - 0x44, 0x68, 0x67, 0x99, 0x34, 0xc9, 0x49, 0x0c, 0xb3, 0x9a, 0xc6, 0x96, 0x6d, 0x40, 0x4c, 0x48, - 0x56, 0x06, 0x51, 0x84, 0x04, 0x31, 0x22, 0x80, 0x76, 0xb8, 0x6b, 0xd9, 0xe1, 0x2e, 0x65, 0x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x9b, 0x28, 0xa4, 0x82, - 0x04, 0x0a, 0xde, 0xfa, 0xbf, 0xf6, 0xc0, 0xc3, 0xc0, 0x4c, 0x9c, 0x7f, 0xda, 0xc8, 0xaf, 0xef, - 0x32, 0x01, 0xb7, 0x3e, 0xe2, 0x7b, 0x1f, 0xfd, 0xd5, 0x7c, 0x66, 0xc6, 0x49, 0x9e, 0x39, 0x66, - 0x96, 0xb9, 0x59, 0x9a, 0x97, 0x2e, 0x5b, 0xdb, 0x7a, 0x3a, 0x2a, 0x76, 0xb8, 0xfc, 0x5d, 0xf9, - 0x7e, 0xad, 0xed, 0xb7, 0x30, 0xfe, 0x56, 0xab, 0xb7, 0xaa, 0x55, 0x78, 0x58, 0x38, 0x55, 0x68, - 0xa3, 0x4e, 0xc3, 0xb1, 0x8e, 0x2c, 0xbe, 0xaf, 0xfb, 0x7d, 0x3c, 0x2c, 0xfa, 0x9b, 0x7e, 0xbf, - 0xd3, 0xe8, 0x97, 0xfd, 0x9f, 0xb5, 0x87, 0xaa, 0xe8, 0x79, 0x78, 0x58, 0x78, 0xde, 0x06, 0xe1, - 0x79, 0x9d, 0x86, 0xe7, 0x95, 0x98, 0x4f, 0x87, 0xa5, 0xb0, 0xb7, 0xbf, 0x03, 0x00, 0x00, 0xff, - 0xff, 0xd2, 0x89, 0x5a, 0x3b, 0x7d, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_attribute_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_attribute_type.pb.go deleted file mode 100644 index 553a647b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_attribute_type.pb.go +++ /dev/null @@ -1,174 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/feed_attribute_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_75b6a07c0f255725, []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_75b6a07c0f255725, []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 (m *FeedAttributeTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedAttributeTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.FeedAttributeTypeEnum_FeedAttributeType", FeedAttributeTypeEnum_FeedAttributeType_name, FeedAttributeTypeEnum_FeedAttributeType_value) - proto.RegisterType((*FeedAttributeTypeEnum)(nil), "google.ads.googleads.v1.enums.FeedAttributeTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/feed_attribute_type.proto", fileDescriptor_75b6a07c0f255725) -} - -var fileDescriptor_75b6a07c0f255725 = []byte{ - // 407 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xc1, 0x6a, 0xdb, 0x40, - 0x14, 0xac, 0xe5, 0xc6, 0x8e, 0x9f, 0x1d, 0x77, 0xbb, 0xd0, 0x1e, 0x4a, 0x73, 0x48, 0x3e, 0x60, - 0x85, 0x68, 0x69, 0x61, 0x7b, 0x5a, 0xc5, 0x1b, 0x23, 0xaa, 0xca, 0x46, 0x96, 0x5c, 0x28, 0x02, - 0xa1, 0x54, 0x5b, 0x21, 0x88, 0xb5, 0xc2, 0x2b, 0x07, 0x72, 0xef, 0x97, 0xf4, 0xd8, 0x4f, 0xe9, - 0xa7, 0xa4, 0x3f, 0x51, 0x56, 0x1b, 0xe9, 0x62, 0x9a, 0x8b, 0x18, 0xcd, 0x9b, 0x99, 0x7d, 0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0x4d, 0x98, 0x44, 0x43, 0x00, 0x46, 0x30, 0x7b, 0x8c, 0x35, 0xcc, - 0x14, 0xcf, 0xe0, 0x34, 0x0e, 0x7d, 0xf3, 0x37, 0xc3, 0x18, 0xe6, 0xfd, 0x03, 0x86, 0x3b, 0xd3, - 0xdb, 0xae, 0x43, 0xef, 0x8a, 0xa3, 0xb9, 0xfb, 0x77, 0x00, 0x17, 0xdf, 0xe5, 0x8e, 0x3c, 0x59, - 0xa5, 0xfb, 0xfa, 0xa8, 0x8f, 0xb5, 0x2e, 0x71, 0x3d, 0xf8, 0xe6, 0x3e, 0x1a, 0x0b, 0x79, 0x9b, - 0x55, 0x05, 0x91, 0xfb, 0xc2, 0x2e, 0x44, 0xd5, 0x56, 0xdc, 0x1d, 0xb3, 0x2e, 0xd5, 0x7f, 0x6e, - 0xfb, 0xa9, 0xfd, 0xfe, 0xb2, 0x86, 0x4b, 0xc6, 0x7e, 0x5b, 0xe7, 0x4b, 0x13, 0xc5, 0x72, 0x45, - 0x0c, 0xd4, 0x68, 0xeb, 0x10, 0x7d, 0x15, 0xf5, 0xa7, 0x9b, 0x27, 0x2c, 0x57, 0x49, 0x3f, 0x4f, - 0xb6, 0x4e, 0xd2, 0xce, 0x1f, 0xac, 0x0b, 0x43, 0x52, 0xca, 0x72, 0x45, 0x69, 0xaf, 0xa0, 0x74, - 0xeb, 0x50, 0xda, 0x6a, 0x6e, 0x46, 0xed, 0x62, 0xef, 0xfe, 0x05, 0x00, 0x00, 0xff, 0xff, 0xe7, - 0xfe, 0x62, 0xd5, 0x73, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_item_quality_approval_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_item_quality_approval_status.pb.go deleted file mode 100644 index 3474aaf8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_item_quality_approval_status.pb.go +++ /dev/null @@ -1,127 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/feed_item_quality_approval_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The possible quality evaluation approval statuses of a feed item. -type FeedItemQualityApprovalStatusEnum_FeedItemQualityApprovalStatus int32 - -const ( - // No value has been specified. - FeedItemQualityApprovalStatusEnum_UNSPECIFIED FeedItemQualityApprovalStatusEnum_FeedItemQualityApprovalStatus = 0 - // Used for return value only. Represents value unknown in this version. - FeedItemQualityApprovalStatusEnum_UNKNOWN FeedItemQualityApprovalStatusEnum_FeedItemQualityApprovalStatus = 1 - // Meets all quality expectations. - FeedItemQualityApprovalStatusEnum_APPROVED FeedItemQualityApprovalStatusEnum_FeedItemQualityApprovalStatus = 2 - // Does not meet some quality expectations. The specific reason is found in - // the quality_disapproval_reasons field. - FeedItemQualityApprovalStatusEnum_DISAPPROVED FeedItemQualityApprovalStatusEnum_FeedItemQualityApprovalStatus = 3 -) - -var FeedItemQualityApprovalStatusEnum_FeedItemQualityApprovalStatus_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "APPROVED", - 3: "DISAPPROVED", -} - -var FeedItemQualityApprovalStatusEnum_FeedItemQualityApprovalStatus_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "APPROVED": 2, - "DISAPPROVED": 3, -} - -func (x FeedItemQualityApprovalStatusEnum_FeedItemQualityApprovalStatus) String() string { - return proto.EnumName(FeedItemQualityApprovalStatusEnum_FeedItemQualityApprovalStatus_name, int32(x)) -} - -func (FeedItemQualityApprovalStatusEnum_FeedItemQualityApprovalStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_204092c81427d94e, []int{0, 0} -} - -// Container for enum describing possible quality evaluation approval statuses -// of a feed item. -type FeedItemQualityApprovalStatusEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FeedItemQualityApprovalStatusEnum) Reset() { *m = FeedItemQualityApprovalStatusEnum{} } -func (m *FeedItemQualityApprovalStatusEnum) String() string { return proto.CompactTextString(m) } -func (*FeedItemQualityApprovalStatusEnum) ProtoMessage() {} -func (*FeedItemQualityApprovalStatusEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_204092c81427d94e, []int{0} -} - -func (m *FeedItemQualityApprovalStatusEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FeedItemQualityApprovalStatusEnum.Unmarshal(m, b) -} -func (m *FeedItemQualityApprovalStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FeedItemQualityApprovalStatusEnum.Marshal(b, m, deterministic) -} -func (m *FeedItemQualityApprovalStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedItemQualityApprovalStatusEnum.Merge(m, src) -} -func (m *FeedItemQualityApprovalStatusEnum) XXX_Size() int { - return xxx_messageInfo_FeedItemQualityApprovalStatusEnum.Size(m) -} -func (m *FeedItemQualityApprovalStatusEnum) XXX_DiscardUnknown() { - xxx_messageInfo_FeedItemQualityApprovalStatusEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_FeedItemQualityApprovalStatusEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.FeedItemQualityApprovalStatusEnum_FeedItemQualityApprovalStatus", FeedItemQualityApprovalStatusEnum_FeedItemQualityApprovalStatus_name, FeedItemQualityApprovalStatusEnum_FeedItemQualityApprovalStatus_value) - proto.RegisterType((*FeedItemQualityApprovalStatusEnum)(nil), "google.ads.googleads.v1.enums.FeedItemQualityApprovalStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/feed_item_quality_approval_status.proto", fileDescriptor_204092c81427d94e) -} - -var fileDescriptor_204092c81427d94e = []byte{ - // 324 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xd1, 0x4a, 0xf3, 0x30, - 0x18, 0xfd, 0xdb, 0xc1, 0xaf, 0x64, 0x82, 0xa3, 0x97, 0xe2, 0x2e, 0xb6, 0x07, 0x48, 0x28, 0xde, - 0xc5, 0xab, 0xcc, 0x75, 0xa3, 0x08, 0x5d, 0x75, 0xac, 0x82, 0x14, 0x4a, 0x34, 0x31, 0x14, 0xda, - 0xa4, 0x2e, 0xe9, 0xc0, 0x4b, 0x5f, 0xc5, 0x4b, 0x1f, 0xc5, 0x47, 0xf1, 0x05, 0xbc, 0x95, 0x26, - 0x5b, 0xef, 0xdc, 0x4d, 0x38, 0xe4, 0x3b, 0xdf, 0x39, 0xdf, 0x39, 0x20, 0x12, 0x4a, 0x89, 0x8a, - 0x23, 0xca, 0x34, 0x72, 0xb0, 0x43, 0xbb, 0x10, 0x71, 0xd9, 0xd6, 0x1a, 0xbd, 0x70, 0xce, 0x8a, - 0xd2, 0xf0, 0xba, 0x78, 0x6d, 0x69, 0x55, 0x9a, 0xb7, 0x82, 0x36, 0xcd, 0x56, 0xed, 0x68, 0x55, - 0x68, 0x43, 0x4d, 0xab, 0x61, 0xb3, 0x55, 0x46, 0x05, 0x63, 0xb7, 0x0b, 0x29, 0xd3, 0xb0, 0x97, - 0x81, 0xbb, 0x10, 0x5a, 0x99, 0x8b, 0xcb, 0x83, 0x4b, 0x53, 0x22, 0x2a, 0xa5, 0x32, 0xd4, 0x94, - 0x4a, 0xee, 0x97, 0xa7, 0xef, 0x1e, 0x98, 0x2c, 0x38, 0x67, 0xb1, 0xe1, 0xf5, 0x9d, 0xb3, 0x21, - 0x7b, 0x97, 0xb5, 0x35, 0x89, 0x64, 0x5b, 0x4f, 0x73, 0x30, 0x3e, 0x4a, 0x0a, 0xce, 0xc1, 0x70, - 0x93, 0xac, 0xd3, 0xe8, 0x26, 0x5e, 0xc4, 0xd1, 0x7c, 0xf4, 0x2f, 0x18, 0x82, 0x93, 0x4d, 0x72, - 0x9b, 0xac, 0x1e, 0x92, 0x91, 0x17, 0x9c, 0x81, 0x53, 0x92, 0xa6, 0xf7, 0xab, 0x2c, 0x9a, 0x8f, - 0xfc, 0x8e, 0x3b, 0x8f, 0xd7, 0xfd, 0xc7, 0x60, 0xf6, 0xe3, 0x81, 0xc9, 0xb3, 0xaa, 0xe1, 0xd1, - 0x1c, 0xb3, 0xe9, 0xd1, 0x0b, 0xd2, 0x2e, 0x4d, 0xea, 0x3d, 0xce, 0xf6, 0x22, 0x42, 0x55, 0x54, - 0x0a, 0xa8, 0xb6, 0x02, 0x09, 0x2e, 0x6d, 0xd6, 0x43, 0xc7, 0x4d, 0xa9, 0xff, 0xa8, 0xfc, 0xda, - 0xbe, 0x1f, 0xfe, 0x60, 0x49, 0xc8, 0xa7, 0x3f, 0x5e, 0x3a, 0x29, 0xc2, 0x34, 0x74, 0xb0, 0x43, - 0x59, 0x08, 0xbb, 0x4a, 0xf4, 0xd7, 0x61, 0x9e, 0x13, 0xa6, 0xf3, 0x7e, 0x9e, 0x67, 0x61, 0x6e, - 0xe7, 0xdf, 0xfe, 0xc4, 0x7d, 0x62, 0x4c, 0x98, 0xc6, 0xb8, 0x67, 0x60, 0x9c, 0x85, 0x18, 0x5b, - 0xce, 0xd3, 0x7f, 0x7b, 0xd8, 0xd5, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x3a, 0x83, 0xd4, 0xbb, - 0x0a, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_item_quality_disapproval_reason.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_item_quality_disapproval_reason.pb.go deleted file mode 100644 index e1b0c405..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_item_quality_disapproval_reason.pb.go +++ /dev/null @@ -1,209 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/feed_item_quality_disapproval_reason.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The possible quality evaluation disapproval reasons of a feed item. -type FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason int32 - -const ( - // No value has been specified. - FeedItemQualityDisapprovalReasonEnum_UNSPECIFIED FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 0 - // Used for return value only. Represents value unknown in this version. - FeedItemQualityDisapprovalReasonEnum_UNKNOWN FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 1 - // Price contains repetitive headers. - FeedItemQualityDisapprovalReasonEnum_PRICE_TABLE_REPETITIVE_HEADERS FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 2 - // Price contains repetitive description. - FeedItemQualityDisapprovalReasonEnum_PRICE_TABLE_REPETITIVE_DESCRIPTION FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 3 - // Price contains inconsistent items. - FeedItemQualityDisapprovalReasonEnum_PRICE_TABLE_INCONSISTENT_ROWS FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 4 - // Price contains qualifiers in description. - FeedItemQualityDisapprovalReasonEnum_PRICE_DESCRIPTION_HAS_PRICE_QUALIFIERS FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 5 - // Price contains an unsupported language. - FeedItemQualityDisapprovalReasonEnum_PRICE_UNSUPPORTED_LANGUAGE FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 6 - // Price item header is not relevant to the price type. - FeedItemQualityDisapprovalReasonEnum_PRICE_TABLE_ROW_HEADER_TABLE_TYPE_MISMATCH FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 7 - // Price item header has promotional text. - FeedItemQualityDisapprovalReasonEnum_PRICE_TABLE_ROW_HEADER_HAS_PROMOTIONAL_TEXT FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 8 - // Price item description is not relevant to the item header. - FeedItemQualityDisapprovalReasonEnum_PRICE_TABLE_ROW_DESCRIPTION_NOT_RELEVANT FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 9 - // Price item description contains promotional text. - FeedItemQualityDisapprovalReasonEnum_PRICE_TABLE_ROW_DESCRIPTION_HAS_PROMOTIONAL_TEXT FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 10 - // Price item header and description are repetitive. - FeedItemQualityDisapprovalReasonEnum_PRICE_TABLE_ROW_HEADER_DESCRIPTION_REPETITIVE FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 11 - // Price item is in a foreign language, nonsense, or can't be rated. - FeedItemQualityDisapprovalReasonEnum_PRICE_TABLE_ROW_UNRATEABLE FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 12 - // Price item price is invalid or inaccurate. - FeedItemQualityDisapprovalReasonEnum_PRICE_TABLE_ROW_PRICE_INVALID FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 13 - // Price item URL is invalid or irrelevant. - FeedItemQualityDisapprovalReasonEnum_PRICE_TABLE_ROW_URL_INVALID FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 14 - // Price item header or description has price. - FeedItemQualityDisapprovalReasonEnum_PRICE_HEADER_OR_DESCRIPTION_HAS_PRICE FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 15 - // Structured snippet values do not match the header. - FeedItemQualityDisapprovalReasonEnum_STRUCTURED_SNIPPETS_HEADER_POLICY_VIOLATED FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 16 - // Structured snippet values are repeated. - FeedItemQualityDisapprovalReasonEnum_STRUCTURED_SNIPPETS_REPEATED_VALUES FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 17 - // Structured snippet values violate editorial guidelines like punctuation. - FeedItemQualityDisapprovalReasonEnum_STRUCTURED_SNIPPETS_EDITORIAL_GUIDELINES FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 18 - // Structured snippet contain promotional text. - FeedItemQualityDisapprovalReasonEnum_STRUCTURED_SNIPPETS_HAS_PROMOTIONAL_TEXT FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 19 -) - -var FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "PRICE_TABLE_REPETITIVE_HEADERS", - 3: "PRICE_TABLE_REPETITIVE_DESCRIPTION", - 4: "PRICE_TABLE_INCONSISTENT_ROWS", - 5: "PRICE_DESCRIPTION_HAS_PRICE_QUALIFIERS", - 6: "PRICE_UNSUPPORTED_LANGUAGE", - 7: "PRICE_TABLE_ROW_HEADER_TABLE_TYPE_MISMATCH", - 8: "PRICE_TABLE_ROW_HEADER_HAS_PROMOTIONAL_TEXT", - 9: "PRICE_TABLE_ROW_DESCRIPTION_NOT_RELEVANT", - 10: "PRICE_TABLE_ROW_DESCRIPTION_HAS_PROMOTIONAL_TEXT", - 11: "PRICE_TABLE_ROW_HEADER_DESCRIPTION_REPETITIVE", - 12: "PRICE_TABLE_ROW_UNRATEABLE", - 13: "PRICE_TABLE_ROW_PRICE_INVALID", - 14: "PRICE_TABLE_ROW_URL_INVALID", - 15: "PRICE_HEADER_OR_DESCRIPTION_HAS_PRICE", - 16: "STRUCTURED_SNIPPETS_HEADER_POLICY_VIOLATED", - 17: "STRUCTURED_SNIPPETS_REPEATED_VALUES", - 18: "STRUCTURED_SNIPPETS_EDITORIAL_GUIDELINES", - 19: "STRUCTURED_SNIPPETS_HAS_PROMOTIONAL_TEXT", -} - -var FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "PRICE_TABLE_REPETITIVE_HEADERS": 2, - "PRICE_TABLE_REPETITIVE_DESCRIPTION": 3, - "PRICE_TABLE_INCONSISTENT_ROWS": 4, - "PRICE_DESCRIPTION_HAS_PRICE_QUALIFIERS": 5, - "PRICE_UNSUPPORTED_LANGUAGE": 6, - "PRICE_TABLE_ROW_HEADER_TABLE_TYPE_MISMATCH": 7, - "PRICE_TABLE_ROW_HEADER_HAS_PROMOTIONAL_TEXT": 8, - "PRICE_TABLE_ROW_DESCRIPTION_NOT_RELEVANT": 9, - "PRICE_TABLE_ROW_DESCRIPTION_HAS_PROMOTIONAL_TEXT": 10, - "PRICE_TABLE_ROW_HEADER_DESCRIPTION_REPETITIVE": 11, - "PRICE_TABLE_ROW_UNRATEABLE": 12, - "PRICE_TABLE_ROW_PRICE_INVALID": 13, - "PRICE_TABLE_ROW_URL_INVALID": 14, - "PRICE_HEADER_OR_DESCRIPTION_HAS_PRICE": 15, - "STRUCTURED_SNIPPETS_HEADER_POLICY_VIOLATED": 16, - "STRUCTURED_SNIPPETS_REPEATED_VALUES": 17, - "STRUCTURED_SNIPPETS_EDITORIAL_GUIDELINES": 18, - "STRUCTURED_SNIPPETS_HAS_PROMOTIONAL_TEXT": 19, -} - -func (x FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason) String() string { - return proto.EnumName(FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason_name, int32(x)) -} - -func (FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_f17372a6460ec60d, []int{0, 0} -} - -// Container for enum describing possible quality evaluation disapproval reasons -// of a feed item. -type FeedItemQualityDisapprovalReasonEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FeedItemQualityDisapprovalReasonEnum) Reset() { *m = FeedItemQualityDisapprovalReasonEnum{} } -func (m *FeedItemQualityDisapprovalReasonEnum) String() string { return proto.CompactTextString(m) } -func (*FeedItemQualityDisapprovalReasonEnum) ProtoMessage() {} -func (*FeedItemQualityDisapprovalReasonEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_f17372a6460ec60d, []int{0} -} - -func (m *FeedItemQualityDisapprovalReasonEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FeedItemQualityDisapprovalReasonEnum.Unmarshal(m, b) -} -func (m *FeedItemQualityDisapprovalReasonEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FeedItemQualityDisapprovalReasonEnum.Marshal(b, m, deterministic) -} -func (m *FeedItemQualityDisapprovalReasonEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedItemQualityDisapprovalReasonEnum.Merge(m, src) -} -func (m *FeedItemQualityDisapprovalReasonEnum) XXX_Size() int { - return xxx_messageInfo_FeedItemQualityDisapprovalReasonEnum.Size(m) -} -func (m *FeedItemQualityDisapprovalReasonEnum) XXX_DiscardUnknown() { - xxx_messageInfo_FeedItemQualityDisapprovalReasonEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_FeedItemQualityDisapprovalReasonEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason", FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason_name, FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason_value) - proto.RegisterType((*FeedItemQualityDisapprovalReasonEnum)(nil), "google.ads.googleads.v1.enums.FeedItemQualityDisapprovalReasonEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/feed_item_quality_disapproval_reason.proto", fileDescriptor_f17372a6460ec60d) -} - -var fileDescriptor_f17372a6460ec60d = []byte{ - // 631 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x94, 0xcd, 0x72, 0xd3, 0x30, - 0x10, 0xc7, 0x69, 0x0a, 0x29, 0xa8, 0x40, 0x85, 0xb8, 0x15, 0x5a, 0x68, 0xa0, 0x05, 0x0a, 0xd8, - 0x64, 0xe0, 0x64, 0x4e, 0x8a, 0xad, 0x26, 0x1a, 0x5c, 0xd9, 0x95, 0x64, 0x97, 0x32, 0x99, 0xd1, - 0x18, 0x6c, 0x32, 0x99, 0x49, 0xec, 0x10, 0xa7, 0x9d, 0xe1, 0x75, 0x38, 0xf2, 0x02, 0xbc, 0x03, - 0x4f, 0xc1, 0x99, 0x47, 0xe0, 0xc4, 0xd8, 0xca, 0x17, 0x25, 0x69, 0x2f, 0x9e, 0xd5, 0xee, 0x6f, - 0x77, 0xff, 0x5e, 0xcd, 0x0a, 0xb4, 0x3a, 0x59, 0xd6, 0xe9, 0x25, 0x66, 0x14, 0xe7, 0xa6, 0x36, - 0x0b, 0xeb, 0xac, 0x6e, 0x26, 0xe9, 0x69, 0x3f, 0x37, 0x3f, 0x27, 0x49, 0xac, 0xba, 0xa3, 0xa4, - 0xaf, 0xbe, 0x9c, 0x46, 0xbd, 0xee, 0xe8, 0xab, 0x8a, 0xbb, 0x79, 0x34, 0x18, 0x0c, 0xb3, 0xb3, - 0xa8, 0xa7, 0x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0xd5, 0x0c, 0xa8, 0x43, 0x5c, 0xca, 0x88, 0x80, 0x68, 0x19, 0xbd, 0x70, 0xec, 0x77, 0x1b, - 0x7f, 0x56, 0xc0, 0xce, 0xa7, 0xac, 0x6f, 0x5c, 0xb8, 0xa6, 0x8d, 0xdd, 0xcb, 0x96, 0xcb, 0x2f, - 0xf6, 0xd5, 0x5f, 0xf9, 0xd0, 0x18, 0xd7, 0xe9, 0x64, 0xbd, 0x28, 0xed, 0x18, 0xd9, 0xb0, 0x63, - 0x76, 0x92, 0xb4, 0xdc, 0xe6, 0xc9, 0x43, 0x32, 0xe8, 0xe6, 0x4b, 0xde, 0x95, 0xb7, 0xe5, 0xf7, - 0x5b, 0x65, 0xb5, 0x89, 0xf1, 0xf7, 0xca, 0x56, 0x53, 0x97, 0xc2, 0x71, 0x6e, 0x68, 0xb3, 0xb0, - 0xc2, 0xba, 0x51, 0x6c, 0x7c, 0xfe, 0x73, 0x12, 0x6f, 0xe3, 0x38, 0x6f, 0x4f, 0xe3, 0xed, 0xb0, - 0xde, 0x2e, 0xe3, 0xbf, 0x2b, 0x3b, 0xda, 0x69, 0x59, 0x38, 0xce, 0x2d, 0x6b, 0x4a, 0x58, 0x56, - 0x58, 0xb7, 0xac, 0x92, 0xf9, 0x58, 0x2d, 0x85, 0xbd, 0xfe, 0x1b, 0x00, 0x00, 0xff, 0xff, 0xdd, - 0xcf, 0x49, 0x08, 0xef, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_item_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_item_status.pb.go deleted file mode 100644 index 0f8e6bbf..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_item_status.pb.go +++ /dev/null @@ -1,123 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/feed_item_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_46fdc388d24984f9, []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_46fdc388d24984f9, []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 (m *FeedItemStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedItemStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.FeedItemStatusEnum_FeedItemStatus", FeedItemStatusEnum_FeedItemStatus_name, FeedItemStatusEnum_FeedItemStatus_value) - proto.RegisterType((*FeedItemStatusEnum)(nil), "google.ads.googleads.v1.enums.FeedItemStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/feed_item_status.proto", fileDescriptor_46fdc388d24984f9) -} - -var fileDescriptor_46fdc388d24984f9 = []byte{ - // 302 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdf, 0x4a, 0xfb, 0x30, - 0x14, 0xfe, 0xad, 0x83, 0x9f, 0x90, 0x81, 0x96, 0x7a, 0x27, 0xee, 0x62, 0x7b, 0x80, 0x84, 0xa2, - 0x57, 0xf1, 0x2a, 0x75, 0xd9, 0x1c, 0x6a, 0x37, 0x1c, 0xab, 0x20, 0xc5, 0x11, 0x4d, 0x0c, 0x85, - 0x35, 0x19, 0x4b, 0xba, 0x07, 0xf2, 0xd2, 0x47, 0xf1, 0x49, 0xc4, 0xa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x41, 0x7f, 0x52, 0x47, 0x11, 0x6e, 0x60, 0x0d, 0x1d, 0xca, 0x62, 0xe8, 0xde, 0x6b, - 0x3e, 0x1b, 0x3e, 0x27, 0xdc, 0xe4, 0x2d, 0x9f, 0x67, 0x71, 0xee, 0xf9, 0xef, 0x60, 0x50, 0x2f, - 0x31, 0x26, 0xdc, 0x60, 0xdc, 0x2a, 0x30, 0xce, 0x62, 0x8c, 0xbd, 0xe6, 0xe5, 0xbf, 0x2f, 0x76, - 0xf1, 0x13, 0x00, 0x00, 0xff, 0xff, 0x42, 0x25, 0x8e, 0x70, 0xc6, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_item_target_device.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_item_target_device.pb.go deleted file mode 100644 index 1136c5f7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_item_target_device.pb.go +++ /dev/null @@ -1,120 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/feed_item_target_device.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible data types for a feed item target device. -type FeedItemTargetDeviceEnum_FeedItemTargetDevice int32 - -const ( - // Not specified. - FeedItemTargetDeviceEnum_UNSPECIFIED FeedItemTargetDeviceEnum_FeedItemTargetDevice = 0 - // Used for return value only. Represents value unknown in this version. - FeedItemTargetDeviceEnum_UNKNOWN FeedItemTargetDeviceEnum_FeedItemTargetDevice = 1 - // Mobile. - FeedItemTargetDeviceEnum_MOBILE FeedItemTargetDeviceEnum_FeedItemTargetDevice = 2 -) - -var FeedItemTargetDeviceEnum_FeedItemTargetDevice_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "MOBILE", -} - -var FeedItemTargetDeviceEnum_FeedItemTargetDevice_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "MOBILE": 2, -} - -func (x FeedItemTargetDeviceEnum_FeedItemTargetDevice) String() string { - return proto.EnumName(FeedItemTargetDeviceEnum_FeedItemTargetDevice_name, int32(x)) -} - -func (FeedItemTargetDeviceEnum_FeedItemTargetDevice) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7bbd78c5de847bc3, []int{0, 0} -} - -// Container for enum describing possible data types for a feed item target -// device. -type FeedItemTargetDeviceEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FeedItemTargetDeviceEnum) Reset() { *m = FeedItemTargetDeviceEnum{} } -func (m *FeedItemTargetDeviceEnum) String() string { return proto.CompactTextString(m) } -func (*FeedItemTargetDeviceEnum) ProtoMessage() {} -func (*FeedItemTargetDeviceEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_7bbd78c5de847bc3, []int{0} -} - -func (m *FeedItemTargetDeviceEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FeedItemTargetDeviceEnum.Unmarshal(m, b) -} -func (m *FeedItemTargetDeviceEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FeedItemTargetDeviceEnum.Marshal(b, m, deterministic) -} -func (m *FeedItemTargetDeviceEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedItemTargetDeviceEnum.Merge(m, src) -} -func (m *FeedItemTargetDeviceEnum) XXX_Size() int { - return xxx_messageInfo_FeedItemTargetDeviceEnum.Size(m) -} -func (m *FeedItemTargetDeviceEnum) XXX_DiscardUnknown() { - xxx_messageInfo_FeedItemTargetDeviceEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_FeedItemTargetDeviceEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.FeedItemTargetDeviceEnum_FeedItemTargetDevice", FeedItemTargetDeviceEnum_FeedItemTargetDevice_name, FeedItemTargetDeviceEnum_FeedItemTargetDevice_value) - proto.RegisterType((*FeedItemTargetDeviceEnum)(nil), "google.ads.googleads.v1.enums.FeedItemTargetDeviceEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/feed_item_target_device.proto", fileDescriptor_7bbd78c5de847bc3) -} - -var fileDescriptor_7bbd78c5de847bc3 = []byte{ - // 303 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xc3, 0x30, - 0x1c, 0xc6, 0x5d, 0x85, 0x09, 0xd9, 0xc1, 0x51, 0x3c, 0xa8, 0xb8, 0xc3, 0xf6, 0x00, 0x09, 0xc5, - 0x5b, 0x76, 0xb1, 0x75, 0xdd, 0x28, 0x6a, 0x37, 0xd0, 0x4d, 0x90, 0xc2, 0x88, 0xcb, 0xdf, 0x50, - 0x58, 0x93, 0xd1, 0x64, 0x7d, 0x20, 0x8f, 0x3e, 0x8a, 0x8f, 0xe2, 0xc1, 0x67, 0x90, 0x26, 0xb6, - 0xa7, 0xe9, 0x25, 0x7c, 0xe4, 0xfb, 0xff, 0xbe, 0x7c, 0xf9, 0xa3, 0xb1, 0x50, 0x4a, 0x6c, 0x81, - 0x30, 0xae, 0x89, 0x93, 0xb5, 0xaa, 0x02, 0x02, 0x72, 0x5f, 0x68, 0xf2, 0x06, 0xc0, 0xd7, 0xb9, - 0x81, 0x62, 0x6d, 0x58, 0x29, 0xc0, 0xac, 0x39, 0x54, 0xf9, 0x06, 0xf0, 0xae, 0x54, 0x46, 0xf9, - 0x03, 0x47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x4a, 0xe8, 0x09, 0xd1, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_item_target_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_item_target_type.pb.go deleted file mode 100644 index c4930c18..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_item_target_type.pb.go +++ /dev/null @@ -1,129 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/feed_item_target_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible type of a feed item target. -type FeedItemTargetTypeEnum_FeedItemTargetType int32 - -const ( - // Not specified. - FeedItemTargetTypeEnum_UNSPECIFIED FeedItemTargetTypeEnum_FeedItemTargetType = 0 - // Used for return value only. Represents value unknown in this version. - FeedItemTargetTypeEnum_UNKNOWN FeedItemTargetTypeEnum_FeedItemTargetType = 1 - // Feed item targets a campaign. - FeedItemTargetTypeEnum_CAMPAIGN FeedItemTargetTypeEnum_FeedItemTargetType = 2 - // Feed item targets an ad group. - FeedItemTargetTypeEnum_AD_GROUP FeedItemTargetTypeEnum_FeedItemTargetType = 3 - // Feed item targets a criterion. - FeedItemTargetTypeEnum_CRITERION FeedItemTargetTypeEnum_FeedItemTargetType = 4 -) - -var FeedItemTargetTypeEnum_FeedItemTargetType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "CAMPAIGN", - 3: "AD_GROUP", - 4: "CRITERION", -} - -var FeedItemTargetTypeEnum_FeedItemTargetType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "CAMPAIGN": 2, - "AD_GROUP": 3, - "CRITERION": 4, -} - -func (x FeedItemTargetTypeEnum_FeedItemTargetType) String() string { - return proto.EnumName(FeedItemTargetTypeEnum_FeedItemTargetType_name, int32(x)) -} - -func (FeedItemTargetTypeEnum_FeedItemTargetType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ffc7958087281c9e, []int{0, 0} -} - -// Container for enum describing possible types of a feed item target. -type FeedItemTargetTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FeedItemTargetTypeEnum) Reset() { *m = FeedItemTargetTypeEnum{} } -func (m *FeedItemTargetTypeEnum) String() string { return proto.CompactTextString(m) } -func (*FeedItemTargetTypeEnum) ProtoMessage() {} -func (*FeedItemTargetTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_ffc7958087281c9e, []int{0} -} - -func (m *FeedItemTargetTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FeedItemTargetTypeEnum.Unmarshal(m, b) -} -func (m *FeedItemTargetTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FeedItemTargetTypeEnum.Marshal(b, m, deterministic) -} -func (m *FeedItemTargetTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedItemTargetTypeEnum.Merge(m, src) -} -func (m *FeedItemTargetTypeEnum) XXX_Size() int { - return xxx_messageInfo_FeedItemTargetTypeEnum.Size(m) -} -func (m *FeedItemTargetTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_FeedItemTargetTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_FeedItemTargetTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.FeedItemTargetTypeEnum_FeedItemTargetType", FeedItemTargetTypeEnum_FeedItemTargetType_name, FeedItemTargetTypeEnum_FeedItemTargetType_value) - proto.RegisterType((*FeedItemTargetTypeEnum)(nil), "google.ads.googleads.v1.enums.FeedItemTargetTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/feed_item_target_type.proto", fileDescriptor_ffc7958087281c9e) -} - -var fileDescriptor_ffc7958087281c9e = []byte{ - // 328 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdd, 0x4a, 0xfb, 0x30, - 0x1c, 0xfd, 0xaf, 0xfb, 0xe3, 0x47, 0xa6, 0x58, 0x7a, 0xa1, 0x20, 0xee, 0x62, 0x7b, 0x80, 0x94, - 0xe2, 0x95, 0xf1, 0x2a, 0xdb, 0xba, 0x52, 0xc4, 0xae, 0xcc, 0x6d, 0x82, 0x54, 0x4a, 0x35, 0x3f, - 0x43, 0x61, 0x4d, 0xca, 0x92, 0x4d, 0xf6, 0x3a, 0x5e, 0xfa, 0x28, 0x3e, 0x8a, 0xf8, 0x10, 0xd2, - 0xd4, 0xed, 0x66, 0xe8, 0x4d, 0x38, 0xc9, 0xf9, 0xe0, 0xe4, 0xa0, 0x2b, 0x2e, 0x25, 0x9f, 0x83, - 0x9b, 0x31, 0xe5, 0xd6, 0xb0, 0x42, 0x2b, 0xcf, 0x05, 0xb1, 0x2c, 0x94, 0xfb, 0x02, 0xc0, 0xd2, - 0x5c, 0x43, 0x91, 0xea, 0x6c, 0xc1, 0x41, 0xa7, 0x7a, 0x5d, 0x02, 0x2e, 0x17, 0x52, 0x4b, 0xa7, - 0x5d, 0xeb, 0x71, 0xc6, 0x14, 0xde, 0x5a, 0xf1, 0xca, 0xc3, 0xc6, 0x7a, 0x7e, 0xb1, 0x49, 0x2e, - 0x73, 0x37, 0x13, 0x42, 0xea, 0x4c, 0xe7, 0x52, 0xa8, 0xda, 0xdc, 0x7d, 0x45, 0xa7, 0x43, 0x00, - 0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, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_item_validation_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_item_validation_status.pb.go deleted file mode 100644 index db1c5aae..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_item_validation_status.pb.go +++ /dev/null @@ -1,128 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/feed_item_validation_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The possible validation statuses of a feed item. -type FeedItemValidationStatusEnum_FeedItemValidationStatus int32 - -const ( - // No value has been specified. - FeedItemValidationStatusEnum_UNSPECIFIED FeedItemValidationStatusEnum_FeedItemValidationStatus = 0 - // Used for return value only. Represents value unknown in this version. - FeedItemValidationStatusEnum_UNKNOWN FeedItemValidationStatusEnum_FeedItemValidationStatus = 1 - // Validation pending. - FeedItemValidationStatusEnum_PENDING FeedItemValidationStatusEnum_FeedItemValidationStatus = 2 - // An error was found. - FeedItemValidationStatusEnum_INVALID FeedItemValidationStatusEnum_FeedItemValidationStatus = 3 - // Feed item is semantically well-formed. - FeedItemValidationStatusEnum_VALID FeedItemValidationStatusEnum_FeedItemValidationStatus = 4 -) - -var FeedItemValidationStatusEnum_FeedItemValidationStatus_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "PENDING", - 3: "INVALID", - 4: "VALID", -} - -var FeedItemValidationStatusEnum_FeedItemValidationStatus_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "PENDING": 2, - "INVALID": 3, - "VALID": 4, -} - -func (x FeedItemValidationStatusEnum_FeedItemValidationStatus) String() string { - return proto.EnumName(FeedItemValidationStatusEnum_FeedItemValidationStatus_name, int32(x)) -} - -func (FeedItemValidationStatusEnum_FeedItemValidationStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e3f43edd0f85e01a, []int{0, 0} -} - -// Container for enum describing possible validation statuses of a feed item. -type FeedItemValidationStatusEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FeedItemValidationStatusEnum) Reset() { *m = FeedItemValidationStatusEnum{} } -func (m *FeedItemValidationStatusEnum) String() string { return proto.CompactTextString(m) } -func (*FeedItemValidationStatusEnum) ProtoMessage() {} -func (*FeedItemValidationStatusEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_e3f43edd0f85e01a, []int{0} -} - -func (m *FeedItemValidationStatusEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FeedItemValidationStatusEnum.Unmarshal(m, b) -} -func (m *FeedItemValidationStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FeedItemValidationStatusEnum.Marshal(b, m, deterministic) -} -func (m *FeedItemValidationStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedItemValidationStatusEnum.Merge(m, src) -} -func (m *FeedItemValidationStatusEnum) XXX_Size() int { - return xxx_messageInfo_FeedItemValidationStatusEnum.Size(m) -} -func (m *FeedItemValidationStatusEnum) XXX_DiscardUnknown() { - xxx_messageInfo_FeedItemValidationStatusEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_FeedItemValidationStatusEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.FeedItemValidationStatusEnum_FeedItemValidationStatus", FeedItemValidationStatusEnum_FeedItemValidationStatus_name, FeedItemValidationStatusEnum_FeedItemValidationStatus_value) - proto.RegisterType((*FeedItemValidationStatusEnum)(nil), "google.ads.googleads.v1.enums.FeedItemValidationStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/feed_item_validation_status.proto", fileDescriptor_e3f43edd0f85e01a) -} - -var fileDescriptor_e3f43edd0f85e01a = []byte{ - // 319 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x4f, 0x4a, 0x03, 0x31, - 0x14, 0xc6, 0xed, 0xd4, 0x3f, 0x98, 0x2e, 0x1c, 0x66, 0x25, 0xd2, 0x2e, 0xda, 0x03, 0x64, 0x18, - 0xdc, 0xc5, 0x85, 0x4c, 0xed, 0xb4, 0x04, 0x25, 0x0e, 0x94, 0x8e, 0x20, 0x23, 0x25, 0x9a, 0x18, - 0x06, 0x3a, 0x49, 0x69, 0xd2, 0xee, 0xbc, 0x8c, 0x4b, 0x8f, 0xe2, 0x51, 0x5c, 0x7a, 0x02, 0x49, - 0xd2, 0xce, 0x6e, 0xdc, 0x84, 0xef, 0xe5, 0x7b, 0xef, 0xc7, 0x7b, 0x1f, 0xb8, 0x15, 0x4a, 0x89, - 0x15, 0x8f, 0x29, 0xd3, 0xb1, 0x97, 0x56, 0xed, 0x92, 0x98, 0xcb, 0x6d, 0xad, 0xe3, 0x77, 0xce, - 0xd9, 0xb2, 0x32, 0xbc, 0x5e, 0xee, 0xe8, 0xaa, 0x62, 0xd4, 0x54, 0x4a, 0x2e, 0xb5, 0xa1, 0x66, - 0xab, 0xe1, 0x7a, 0xa3, 0x8c, 0x8a, 0x06, 0x7e, 0x0a, 0x52, 0xa6, 0x61, 0x03, 0x80, 0xbb, 0x04, - 0x3a, 0xc0, 0x55, 0xff, 0xc0, 0x5f, 0x57, 0x31, 0x95, 0x52, 0x19, 0x87, 0xd8, 0x0f, 0x8f, 0x3e, - 0x40, 0x7f, 0xca, 0x39, 0xc3, 0x86, 0xd7, 0x45, 0xc3, 0x9f, 0x3b, 0x7c, 0x26, 0xb7, 0xf5, 0xe8, - 0x05, 0x5c, 0xb6, 0xf9, 0xd1, 0x05, 0xe8, 0x2d, 0xc8, 0x3c, 0xcf, 0xee, 0xf0, 0x14, 0x67, 0x93, - 0xf0, 0x28, 0xea, 0x81, 0xb3, 0x05, 0xb9, 0x27, 0x8f, 0x4f, 0x24, 0xec, 0xd8, 0x22, 0xcf, 0xc8, - 0x04, 0x93, 0x59, 0x18, 0xd8, 0x02, 0x93, 0x22, 0x7d, 0xc0, 0x93, 0xb0, 0x1b, 0x9d, 0x83, 0x13, - 0x2f, 0x8f, 0xc7, 0xbf, 0x1d, 0x30, 0x7c, 0x53, 0x35, 0xfc, 0xf7, 0x84, 0xf1, 0xa0, 0x6d, 0x85, - 0xdc, 0xde, 0x90, 0x77, 0x9e, 0xc7, 0xfb, 0x79, 0xa1, 0x56, 0x54, 0x0a, 0xa8, 0x36, 0x22, 0x16, - 0x5c, 0xba, 0x0b, 0x0f, 0x99, 0xae, 0x2b, 0xdd, 0x12, 0xf1, 0x8d, 0x7b, 0x3f, 0x83, 0xee, 0x2c, - 0x4d, 0xbf, 0x82, 0xc1, 0xcc, 0xa3, 0x52, 0xa6, 0xa1, 0x97, 0x56, 0x15, 0x09, 0xb4, 0x71, 0xe8, - 0xef, 0x83, 0x5f, 0xa6, 0x4c, 0x97, 0x8d, 0x5f, 0x16, 0x49, 0xe9, 0xfc, 0x9f, 0x60, 0xe8, 0x3f, - 0x11, 0x4a, 0x99, 0x46, 0xa8, 0xe9, 0x40, 0xa8, 0x48, 0x10, 0x72, 0x3d, 0xaf, 0xa7, 0x6e, 0xb1, - 0xeb, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x0e, 0x79, 0x89, 0xf3, 0xfa, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_link_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_link_status.pb.go deleted file mode 100644 index d83cdfda..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_link_status.pb.go +++ /dev/null @@ -1,123 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/feed_link_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_23c30109a5e5efe9, []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_23c30109a5e5efe9, []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 (m *FeedLinkStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedLinkStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.FeedLinkStatusEnum_FeedLinkStatus", FeedLinkStatusEnum_FeedLinkStatus_name, FeedLinkStatusEnum_FeedLinkStatus_value) - proto.RegisterType((*FeedLinkStatusEnum)(nil), "google.ads.googleads.v1.enums.FeedLinkStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/feed_link_status.proto", fileDescriptor_23c30109a5e5efe9) -} - -var fileDescriptor_23c30109a5e5efe9 = []byte{ - // 302 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x4a, 0x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0x16, 0xe8, 0xbd, 0xe9, 0x0d, 0xfc, 0xb7, 0x63, 0x74, 0x7e, 0xf8, 0xb7, - 0x99, 0xad, 0x36, 0x6b, 0x3d, 0x47, 0x7b, 0x97, 0xd4, 0x6b, 0xa6, 0x24, 0xd4, 0x5b, 0x89, 0xa4, - 0x50, 0xae, 0x78, 0x7d, 0x9f, 0x3c, 0x33, 0x7f, 0x9c, 0xeb, 0xc6, 0x7d, 0x3f, 0xbc, 0xf6, 0x88, - 0x90, 0x4f, 0xaf, 0x3b, 0xaa, 0xa2, 0x08, 0x37, 0xb0, 0x82, 0x16, 0x25, 0x21, 0xb4, 0xef, 0x35, - 0x5f, 0x35, 0x9f, 0x12, 0x6e, 0xd2, 0x86, 0x4f, 0x93, 0x30, 0x75, 0xfc, 0x8f, 0xd7, 0xab, 0x96, - 0x18, 0x13, 0x6e, 0x30, 0x6e, 0x14, 0x18, 0x27, 0x21, 0xc6, 0x4e, 0xf3, 0x7a, 0xec, 0x8a, 0x5d, - 0xfd, 0x06, 0x00, 0x00, 0xff, 0xff, 0xe1, 0x0e, 0x39, 0x40, 0xc6, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_mapping_criterion_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_mapping_criterion_type.pb.go deleted file mode 100644 index bcd74fac..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_mapping_criterion_type.pb.go +++ /dev/null @@ -1,126 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/feed_mapping_criterion_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_LOCATION_EXTENSION_TARGETING FeedMappingCriterionTypeEnum_FeedMappingCriterionType = 4 - // 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", - 4: "LOCATION_EXTENSION_TARGETING", - 3: "DSA_PAGE_FEED", -} - -var FeedMappingCriterionTypeEnum_FeedMappingCriterionType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "LOCATION_EXTENSION_TARGETING": 4, - "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_61e694bc2e8bdf50, []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_61e694bc2e8bdf50, []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 (m *FeedMappingCriterionTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedMappingCriterionTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.FeedMappingCriterionTypeEnum_FeedMappingCriterionType", FeedMappingCriterionTypeEnum_FeedMappingCriterionType_name, FeedMappingCriterionTypeEnum_FeedMappingCriterionType_value) - proto.RegisterType((*FeedMappingCriterionTypeEnum)(nil), "google.ads.googleads.v1.enums.FeedMappingCriterionTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/feed_mapping_criterion_type.proto", fileDescriptor_61e694bc2e8bdf50) -} - -var fileDescriptor_61e694bc2e8bdf50 = []byte{ - // 344 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x41, 0x6a, 0xe3, 0x30, - 0x14, 0x1d, 0x27, 0xc3, 0x0c, 0x28, 0x0c, 0xe3, 0x7a, 0x55, 0x4a, 0x02, 0x4d, 0x0e, 0x20, 0x63, - 0xba, 0x53, 0x17, 0x45, 0x49, 0x14, 0x63, 0xda, 0x3a, 0xa6, 0x71, 0xd2, 0x52, 0x0c, 0xc6, 0x8d, - 0x54, 0x61, 0x88, 0x25, 0x61, 0x39, 0x81, 0x1c, 0xa2, 0x97, 0xe8, 0xb2, 0x47, 0xe9, 0x51, 0xba, - 0xec, 0x09, 0x8a, 0xad, 0x3a, 0xbb, 0x74, 0x23, 0x1e, 0x7a, 0xff, 0xbd, 0xff, 0xdf, 0x03, 0x57, - 0x5c, 0x4a, 0xbe, 0x61, 0x6e, 0x46, 0xb5, 0x6b, 0x60, 0x8d, 0x76, 0x9e, 0xcb, 0xc4, 0xb6, 0xd0, - 0xee, 0x33, 0x63, 0x34, 0x2d, 0x32, 0xa5, 0x72, 0xc1, 0xd3, 0x75, 0x99, 0x57, 0xac, 0xcc, 0xa5, - 0x48, 0xab, 0xbd, 0x62, 0x50, 0x95, 0xb2, 0x92, 0xce, 0xc0, 0xa8, 0x60, 0x46, 0x35, 0x3c, 0x18, - 0xc0, 0x9d, 0x07, 0x1b, 0x83, 0xb3, 0x7e, 0xeb, 0xaf, 0x72, 0x37, 0x13, 0x42, 0x56, 0x59, 0x95, - 0x4b, 0xa1, 0x8d, 0x78, 0xf4, 0x62, 0x81, 0xfe, 0x8c, 0x31, 0x7a, 0x6b, 0x36, 0x4c, 0xda, 0x05, - 0xf1, 0x5e, 0x31, 0x22, 0xb6, 0xc5, 0xa8, 0x00, 0xa7, 0xc7, 0x78, 0xe7, 0x3f, 0xe8, 0x2d, 0xc3, - 0x45, 0x44, 0x26, 0xc1, 0x2c, 0x20, 0x53, 0xfb, 0x97, 0xd3, 0x03, 0x7f, 0x97, 0xe1, 0x75, 0x38, - 0xbf, 0x0f, 0x6d, 0xcb, 0x39, 0x07, 0xfd, 0x9b, 0xf9, 0x04, 0xc7, 0xc1, 0x3c, 0x4c, 0xc9, 0x43, - 0x4c, 0xc2, 0x45, 0x8d, 0x62, 0x7c, 0xe7, 0x93, 0x38, 0x08, 0x7d, 0xfb, 0xb7, 0x73, 0x02, 0xfe, - 0x4d, 0x17, 0x38, 0x8d, 0xb0, 0x4f, 0xd2, 0x19, 0x21, 0x53, 0xbb, 0x3b, 0xfe, 0xb4, 0xc0, 0x70, - 0x2d, 0x0b, 0xf8, 0x63, 0xa6, 0xf1, 0xe0, 0xd8, 0x49, 0x51, 0x1d, 0x2a, 0xb2, 0x1e, 0xc7, 0xdf, - 0x7a, 0x2e, 0x37, 0x99, 0xe0, 0x50, 0x96, 0xdc, 0xe5, 0x4c, 0x34, 0x91, 0xdb, 0x92, 0x55, 0xae, - 0x8f, 0x74, 0x7e, 0xd9, 0xbc, 0xaf, 0x9d, 0xae, 0x8f, 0xf1, 0x5b, 0x67, 0xe0, 0x1b, 0x2b, 0x4c, - 0x35, 0x34, 0xb0, 0x46, 0x2b, 0x0f, 0xd6, 0xf5, 0xe8, 0xf7, 0x96, 0x4f, 0x30, 0xd5, 0xc9, 0x81, - 0x4f, 0x56, 0x5e, 0xd2, 0xf0, 0x1f, 0x9d, 0xa1, 0xf9, 0x44, 0x08, 0x53, 0x8d, 0xd0, 0x61, 0x02, - 0xa1, 0x95, 0x87, 0x50, 0x33, 0xf3, 0xf4, 0xa7, 0x39, 0xec, 0xe2, 0x2b, 0x00, 0x00, 0xff, 0xff, - 0xd1, 0x3e, 0xc1, 0xb5, 0x0b, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_mapping_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_mapping_status.pb.go deleted file mode 100644 index b31713f2..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_mapping_status.pb.go +++ /dev/null @@ -1,123 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/feed_mapping_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_c09baf66b1b8fdef, []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_c09baf66b1b8fdef, []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 (m *FeedMappingStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedMappingStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.FeedMappingStatusEnum_FeedMappingStatus", FeedMappingStatusEnum_FeedMappingStatus_name, FeedMappingStatusEnum_FeedMappingStatus_value) - proto.RegisterType((*FeedMappingStatusEnum)(nil), "google.ads.googleads.v1.enums.FeedMappingStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/feed_mapping_status.proto", fileDescriptor_c09baf66b1b8fdef) -} - -var fileDescriptor_c09baf66b1b8fdef = []byte{ - // 303 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x4a, 0xc3, 0x30, - 0x18, 0x77, 0x1d, 0x28, 0x64, 0x07, 0xeb, 0x40, 0x0f, 0xe2, 0x0e, 0xdb, 0x03, 0x24, 0x14, 0x0f, - 0x42, 0x3c, 0xa5, 0x2e, 0x1b, 0x63, 0xae, 0x1b, 0x8e, 0x55, 0x90, 0xc2, 0x88,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0xa8, 0x6f, 0x55, 0xe6, 0xe6, 0x8f, 0xd3, 0xdd, 0xbb, 0xef, 0x47, 0xd0, - 0x1e, 0x13, 0xf2, 0x19, 0xf4, 0xc6, 0x3e, 0x8a, 0x70, 0x03, 0x3d, 0xb4, 0x28, 0x8d, 0xa0, 0xdd, - 0xda, 0x7c, 0xd5, 0x7c, 0x46, 0xb8, 0xc9, 0x1a, 0x3e, 0x4b, 0xa3, 0xcc, 0xf1, 0xdf, 0x41, 0xdf, - 0xff, 0xc4, 0x98, 0x70, 0x83, 0x71, 0xa3, 0xc0, 0x38, 0x8d, 0x30, 0x76, 0x9a, 0xd7, 0x53, 0x57, - 0xec, 0xf6, 0x37, 0x00, 0x00, 0xff, 0xff, 0x04, 0x08, 0x15, 0x89, 0xd2, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_origin.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_origin.pb.go deleted file mode 100644 index 74436b09..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_origin.pb.go +++ /dev/null @@ -1,126 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/feed_origin.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_a0e878bed3b5bcf6, []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_a0e878bed3b5bcf6, []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 (m *FeedOriginEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedOriginEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.FeedOriginEnum_FeedOrigin", FeedOriginEnum_FeedOrigin_name, FeedOriginEnum_FeedOrigin_value) - proto.RegisterType((*FeedOriginEnum)(nil), "google.ads.googleads.v1.enums.FeedOriginEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/feed_origin.proto", fileDescriptor_a0e878bed3b5bcf6) -} - -var fileDescriptor_a0e878bed3b5bcf6 = []byte{ - // 293 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x4d, 0x4a, 0xc3, 0x40, - 0x14, 0x36, 0xa9, 0x54, 0x99, 0x82, 0x0d, 0x59, 0x8a, 0x5d, 0xb4, 0x07, 0x98, 0x21, 0xb8, 0x1b, - 0x37, 0x26, 0x9a, 0x86, 0xa2, 0x24, 0xa1, 0x25, 0x11, 0x24, 0x20, 0xd1, 0x19, 0x87, 0x40, 0x33, - 0x2f, 0x64, 0xd2, 0x1e, 0xc8, 0xa5, 0x47, 0xf1, 0x1c, 0xae, 0x3c, 0x85, 0x64, 0xd2, 0xa4, 0x2b, - 0xdd, 0x0c, 0x1f, 0xef, 0xfb, 0x99, 0xef, 0x3d, 0x44, 0x04, 0x80, 0xd8, 0x72, 0x92, 0x33, 0x75, - 0x80, 0x2d, 0xda, 0x3b, 0x84, 0xcb, 0x5d, 0xa9, 0xc8, 0x3b, 0xe7, 0xec, 0x05, 0xea, 0x42, 0x14, - 0x12, 0x57, 0x35, 0x34, 0x60, 0xcf, 0x3a, 0x15, 0xce, 0x99, 0xc2, 0x83, 0x01, 0xef, 0x1d, 0xac, - 0x0d, 0x97, 0x57, 0x7d, 0x5e, 0x55, 0x90, 0x5c, 0x4a, 0x68, 0xf2, 0xa6, 0x00, 0xa9, 0x3a, 0xf3, - 0x62, 0x8d, 0x2e, 0x96, 0x9c, 0xb3, 0x48, 0x07, 0xfa, 0x72, 0x57, 0x2e, 0x6e, 0x11, 0x3a, 0x4e, - 0xec, 0x29, 0x9a, 0x24, 0xe1, 0x26, 0xf6, 0xef, 0x56, 0xcb, 0x95, 0x7f, 0x6f, 0x9d, 0xd8, 0x13, - 0x74, 0x96, 0x84, 0x0f, 0x61, 0xf4, 0x14, 0x5a, 0x86, 0x7d, 0x8e, 0x4e, 0x93, 0x8d, 0xbf, 0xb6, - 0x4c, 0x1b, 0xa1, 0x71, 0x10, 0x45, 0xc1, 0xa3, 0x6f, 0x8d, 0xbc, 0x6f, 0x03, 0xcd, 0xdf, 0xa0, - 0xc4, 0xff, 0xf6, 0xf2, 0xa6, 0xc7, 0x5f, 0xe2, 0xb6, 0x4a, 0x6c, 0x3c, 0x7b, 0x07, 0x87, 0x80, - 0x6d, 0x2e, 0x05, 0x86, 0x5a, 0x10, 0xc1, 0xa5, 0x2e, 0xda, 0x9f, 0xa2, 0x2a, 0xd4, 0x1f, 0x97, - 0xb9, 0xd1, 0xef, 0x87, 0x39, 0x0a, 0x5c, 0xf7, 0xd3, 0x9c, 0x05, 0x5d, 0x94, 0xcb, 0x14, 0xee, - 0x60, 0x8b, 0x52, 0x07, 0xb7, 0x3b, 0xaa, 0xaf, 0x9e, 0xcf, 0x5c, 0xa6, 0xb2, 0x81, 0xcf, 0x52, - 0x27, 0xd3, 0xfc, 0x8f, 0x39, 0xef, 0x86, 0x94, 0xba, 0x4c, 0x51, 0x3a, 0x28, 0x28, 0x4d, 0x1d, - 0x4a, 0xb5, 0xe6, 0x75, 0xac, 0x8b, 0x5d, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x13, 0x7f, 0x4d, - 0xec, 0xb1, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_status.pb.go deleted file mode 100644 index fe3b10bf..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/feed_status.pb.go +++ /dev/null @@ -1,123 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/feed_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_0c1344062e272969, []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_0c1344062e272969, []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 (m *FeedStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.FeedStatusEnum_FeedStatus", FeedStatusEnum_FeedStatus_name, FeedStatusEnum_FeedStatus_value) - proto.RegisterType((*FeedStatusEnum)(nil), "google.ads.googleads.v1.enums.FeedStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/feed_status.proto", fileDescriptor_0c1344062e272969) -} - -var fileDescriptor_0c1344062e272969 = []byte{ - // 293 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdd, 0x4a, 0xf3, 0x30, - 0x18, 0xfe, 0xd6, 0xc1, 0x27, 0x64, 0xe0, 0x4a, 0x0f, 0xc5, 0x1d, 0x6c, 0x17, 0x90, 0x50, 0x3c, - 0x8b, 0x47, 0xa9, 0xcd, 0xc6, 0x50, 0xbb, 0xe2, 0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0xf3, 0xcb, 0x75, - 0xae, 0xdd, 0xf7, 0xdd, 0x1b, 0xaf, 0x08, 0xf9, 0xf0, 0x66, 0xab, 0x36, 0x8a, 0x70, 0x03, 0x5b, - 0x68, 0x51, 0x16, 0x42, 0xfb, 0x4e, 0xf3, 0xd9, 0xf3, 0x39, 0xe1, 0x26, 0x1f, 0xf8, 0x3c, 0x0b, - 0x73, 0xc7, 0x7f, 0x7b, 0xf3, 0x76, 0x89, 0x31, 0xe1, 0x06, 0xe3, 0x41, 0x81, 0x71, 0x16, 0x62, - 0xec, 0x34, 0x2f, 0xff, 0x5d, 0xb1, 0xab, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xad, 0xd3, 0x44, - 0x1c, 0xb5, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/flight_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/flight_placeholder_field.pb.go deleted file mode 100644 index d03d0be4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/flight_placeholder_field.pb.go +++ /dev/null @@ -1,219 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/flight_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_f6e95d0d95acaedd, []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_f6e95d0d95acaedd, []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 (m *FlightPlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FlightPlaceholderFieldEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.FlightPlaceholderFieldEnum_FlightPlaceholderField", FlightPlaceholderFieldEnum_FlightPlaceholderField_name, FlightPlaceholderFieldEnum_FlightPlaceholderField_value) - proto.RegisterType((*FlightPlaceholderFieldEnum)(nil), "google.ads.googleads.v1.enums.FlightPlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/flight_placeholder_field.proto", fileDescriptor_f6e95d0d95acaedd) -} - -var fileDescriptor_f6e95d0d95acaedd = []byte{ - // 497 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0xcf, 0x6e, 0xd3, 0x30, - 0x18, 0xa7, 0x2d, 0x6c, 0xcc, 0xdd, 0x5a, 0xcf, 0x8c, 0x81, 0xc6, 0x76, 0xd8, 0x1e, 0x20, 0x51, - 0xc4, 0x2d, 0x70, 0x71, 0x1b, 0x27, 0x58, 0x4d, 0x9c, 0x28, 0x49, 0x8b, 0x84, 0x2a, 0x45, 0x61, - 0xc9, 0xb2, 0x48, 0x69, 0x5c, 0xd5, 0xdd, 0x5e, 0x84, 0x37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 0xc5, 0x7f, 0x8e, 0xf2, 0x9d, 0x7a, 0xbf, 0x76, 0x7b, 0x0e, 0xc6, 0xdf, - 0xba, 0x17, 0x4e, 0x13, 0x85, 0x33, 0xa1, 0x35, 0xa5, 0xac, 0x66, 0x86, 0x26, 0x8f, 0x48, 0xfc, - 0xd8, 0xf0, 0x73, 0x9c, 0x89, 0xf9, 0x96, 0x9f, 0xcf, 0x8c, 0xb9, 0xe2, 0x7f, 0x76, 0x2f, 0x1b, - 0xd0, 0x34, 0x71, 0x26, 0x4c, 0x73, 0xab, 0x30, 0xcd, 0x99, 0x61, 0x9a, 0x4a, 0xf3, 0x79, 0x4f, - 0x0d, 0xf6, 0xf6, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd3, 0x30, 0xe1, 0x83, 0x2c, 0x03, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/frequency_cap_event_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/frequency_cap_event_type.pb.go deleted file mode 100644 index f307c259..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/frequency_cap_event_type.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/frequency_cap_event_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_8554d288e454025e, []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_8554d288e454025e, []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 (m *FrequencyCapEventTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FrequencyCapEventTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.FrequencyCapEventTypeEnum_FrequencyCapEventType", FrequencyCapEventTypeEnum_FrequencyCapEventType_name, FrequencyCapEventTypeEnum_FrequencyCapEventType_value) - proto.RegisterType((*FrequencyCapEventTypeEnum)(nil), "google.ads.googleads.v1.enums.FrequencyCapEventTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/frequency_cap_event_type.proto", fileDescriptor_8554d288e454025e) -} - -var fileDescriptor_8554d288e454025e = []byte{ - // 320 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x41, 0x4b, 0xc3, 0x30, - 0x18, 0x75, 0x1d, 0x28, 0x64, 0xa0, 0xa5, 0xe0, 0xc1, 0xe1, 0x0e, 0xdb, 0x0f, 0x48, 0x29, 0xde, - 0xa2, 0x97, 0x6e, 0xcb, 0x46, 0x11, 0xbb, 0xe2, 0x5c, 0x07, 0x52, 0x28, 0x71, 0x8d, 0x61, 0xb0, - 0x25, 0xb1, 0xe9, 0x06, 0xfb, 0x3b, 0x1e, 0xfd, 0x29, 0xfe, 0x14, 0x2f, 0xfe, 0x05, 0x49, 0x62, - 0x7b, 0x9a, 0x5e, 0xc2, 0x4b, 0xde, 0xf7, 0x5e, 0xde, 0xf7, 0xc0, 0x1d, 0x13, 0x82,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f, 0xa7, 0x37, 0xb5, 0x56, 0x61, 0xa1, 0xa0, 0x85, 0x1a, 0xa5, 0x01, 0xd4, 0x1d, - 0xa8, 0xcf, 0x9a, 0xcf, 0xc2, 0x42, 0x65, 0x0d, 0x9f, 0xa5, 0x41, 0x66, 0xf8, 0x2f, 0xa7, 0x6f, - 0x1f, 0x11, 0x0a, 0x0b, 0x85, 0x50, 0x33, 0x81, 0x50, 0x1a, 0x20, 0x64, 0x66, 0x5e, 0x4e, 0x4d, - 0xb0, 0x9b, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x76, 0x40, 0x80, 0xe2, 0xe9, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/frequency_cap_level.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/frequency_cap_level.pb.go deleted file mode 100644 index 1b3d32c5..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/frequency_cap_level.pb.go +++ /dev/null @@ -1,129 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/frequency_cap_level.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_f3b8ac2167d6463c, []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_f3b8ac2167d6463c, []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 (m *FrequencyCapLevelEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FrequencyCapLevelEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.FrequencyCapLevelEnum_FrequencyCapLevel", FrequencyCapLevelEnum_FrequencyCapLevel_name, FrequencyCapLevelEnum_FrequencyCapLevel_value) - proto.RegisterType((*FrequencyCapLevelEnum)(nil), "google.ads.googleads.v1.enums.FrequencyCapLevelEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/frequency_cap_level.proto", fileDescriptor_f3b8ac2167d6463c) -} - -var fileDescriptor_f3b8ac2167d6463c = []byte{ - // 318 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdd, 0x4a, 0xfb, 0x30, - 0x1c, 0xfd, 0xaf, 0xfb, 0xa3, 0x92, 0x09, 0xd6, 0x82, 0x5e, 0x88, 0xbb, 0xd8, 0x1e, 0x20, 0xa1, - 0x78, 0x21, 0xc4, 0xab, 0xec, 0xab, 0x0c, 0xb5, 0x2b, 0xca, 0x26, 0x48, 0xb1, 0xc4, 0x35, 0x86, - 0x41, 0x97, 0xd4, 0xa5, 0xad, 0xf8, 0x3a, 0x5e, 0xfa, 0x28, 0x3e, 0x8a, 0xbe, 0x84, 0x24, 0xb1, - 0xbd, 0x19, 0x7a, 0x53, 0x4e, 0x7f, 0xe7, 0x83, 0x93, 0x03, 0xce, 0xb9, 0x94, 0x3c, 0x63, 0x88, - 0xa6, 0x0a, 0x59,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xb4, 0xf0, 0xa1, 0x1e, 0x42, 0x7d, - 0xd4, 0x7c, 0x4c, 0x52, 0x15, 0x37, 0x7c, 0xbc, 0xf0, 0x63, 0xc3, 0x7f, 0x3a, 0x3d, 0x7b, 0xc4, - 0x98, 0xa4, 0x0a, 0xe3, 0x46, 0x81, 0xf1, 0xc2, 0xc7, 0xd8, 0x68, 0x1e, 0x77, 0x4c, 0xb1, 0xb3, - 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x30, 0xa7, 0xd0, 0xfb, 0xe5, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/frequency_cap_time_unit.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/frequency_cap_time_unit.pb.go deleted file mode 100644 index fe771624..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/frequency_cap_time_unit.pb.go +++ /dev/null @@ -1,129 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/frequency_cap_time_unit.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_73a84d0af80e92fc, []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_73a84d0af80e92fc, []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 (m *FrequencyCapTimeUnitEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FrequencyCapTimeUnitEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.FrequencyCapTimeUnitEnum_FrequencyCapTimeUnit", FrequencyCapTimeUnitEnum_FrequencyCapTimeUnit_name, FrequencyCapTimeUnitEnum_FrequencyCapTimeUnit_value) - proto.RegisterType((*FrequencyCapTimeUnitEnum)(nil), "google.ads.googleads.v1.enums.FrequencyCapTimeUnitEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/frequency_cap_time_unit.proto", fileDescriptor_73a84d0af80e92fc) -} - -var fileDescriptor_73a84d0af80e92fc = []byte{ - // 324 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xcf, 0x4e, 0xf2, 0x40, - 0x14, 0xc5, 0x3f, 0x0a, 0x9f, 0xe8, 0xb0, 0xb0, 0x69, 0x5c, 0xa8, 0x91, 0x05, 0x3c, 0xc0, 0x34, - 0x8d, 0xbb, 0x61, 0x35, 0x40, 0x41, 0x42, 0x2c, 0x44, 0xf9, 0x13, 0x4d, 0x13, 0x32, 0xd2, 0x71, - 0x32, 0x09, 0x9d, 0xa9, 0xcc, 0x94, 0xc4, 0xd7, 0x71, 0xe9, 0xa3, 0xf8, 0x28, 0x2e, 0x7c, 0x06, - 0xd3, 0x19, 0xcb, 0x0a, 0xdd, 0x34, 0x27, 0x3d, 0xf7, 0x77, 0xe6, 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0xfb, 0xe6, 0x54, 0x87, 0x18, 0xbf, 0x3b, 0xcd, 0xa1, 0x8d, 0xc2, 0x89, 0x82, 0x56, 0x16, 0x6a, - 0x11, 0xc0, 0x62, 0x7f, 0xf5, 0x51, 0xfa, 0x31, 0x4e, 0x54, 0xbc, 0xf7, 0xe3, 0x45, 0x10, 0x1b, - 0xff, 0xd3, 0x69, 0xd9, 0x9f, 0x08, 0xe1, 0x44, 0x21, 0xb4, 0x9f, 0x40, 0x68, 0x11, 0x20, 0x64, - 0x66, 0x9e, 0x8e, 0x4c, 0xb1, 0xeb, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x7c, 0x8d, 0xe0, 0xdf, - 0xe3, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/gender_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/gender_type.pb.go deleted file mode 100644 index f452d6e5..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/gender_type.pb.go +++ /dev/null @@ -1,128 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/gender_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_206c2dcb587dc8cf, []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_206c2dcb587dc8cf, []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 (m *GenderTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenderTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.GenderTypeEnum_GenderType", GenderTypeEnum_GenderType_name, GenderTypeEnum_GenderType_value) - proto.RegisterType((*GenderTypeEnum)(nil), "google.ads.googleads.v1.enums.GenderTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/gender_type.proto", fileDescriptor_206c2dcb587dc8cf) -} - -var fileDescriptor_206c2dcb587dc8cf = []byte{ - // 305 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x4a, 0xc3, 0x30, - 0x1c, 0x76, 0x53, 0xa6, 0xfc, 0x26, 0xae, 0x04, 0x4f, 0xe2, 0x0e, 0xdb, 0x03, 0xa4, 0x14, 0x6f, - 0xf1, 0x94, 0xb9, 0x6c, 0x0c, 0x5d, 0x1c, 0x73, 0x9b, 0x20, 0x05, 0xa9, 0x26, 0x84, 0xc2, 0x9a, - 0x94, 0xa6, 0x1b, 0xec, 0x75, 0x3c, 0xfa, 0x28, 0x3e, 0x87, 0x27, 0x9f, 0x42, 0x9a, 0xae, 0xdd, - 0x49, 0x2f, 0xe5, 0xe3, 0xf7, 0xfd, 0xe9, 0x97, 0x0f, 0x7c, 0x65, 0x8c, 0x5a, 0x4b, 0x3f, 0x12, - 0x76, 0x0f, 0x0b, 0xb4, 0x0d, 0x7c, 0xa9, 0x37, 0x89, 0xf5, 0x95, 0xd4, 0x42, 0x66, 0xaf, 0xf9, - 0x2e, 0x95, 0x38, 0xcd, 0x4c, 0x6e, 0x50, 0xb7, 0x54, 0xe1, 0x48, 0x58, 0x5c, 0x1b, 0xf0, 0x36, - 0xc0, 0xce, 0x70, 0x75, 0x5d, 0xe5, 0xa5, 0xb1, 0x1f, 0x69, 0x6d, 0xf2, 0x28, 0x8f, 0x8d, 0xb6, - 0xa5, 0xb9, 0x2f, 0xe0, 0x62, 0xec, 0x12, 0x17, 0xbb, 0x54, 0x32, 0xbd, 0x49, 0xfa, 0x73, 0x80, - 0xc3, 0x05, 0x75, 0xa0, 0xbd, 0xe4, 0x4f, 0x33, 0x76, 0x37, 0x19, 0x4d, 0xd8, 0xd0, 0x3b, 0x42, - 0x6d, 0x38, 0x5d, 0xf2, 0x7b, 0xfe, 0xf8, 0xcc, 0xbd, 0x06, 0x3a, 0x83, 0x93, 0x29, 0x7d, 0x60, - 0x1e, 0x20, 0x80, 0xd6, 0x88, 0x39, 0xdc, 0x46, 0x1e, 0x9c, 0x2f, 0xf9, 0x90, 0x2d, 0xd8, 0x7c, - 0x3a, 0xe1, 0x6c, 0xe8, 0x5d, 0x0e, 0xbe, 0x1b, 0xd0, 0x7b, 0x37, 0x09, 0xfe, 0xb7, 0xe9, 0xa0, - 0x73, 0xf8, 0xef, 0xac, 0x28, 0x37, 0x6b, 0xbc, 0x0c, 0xf6, 0x0e, 0x65, 0xd6, 0x91, 0x56, 0xd8, - 0x64, 0xaa, 0x18, 0xc0, 0x55, 0xaf, 0xc6, 0x49, 0x63, 0xfb, 0xc7, 0x56, 0xb7, 0xee, 0xfb, 0xd1, - 0x3c, 0x1e, 0x53, 0xfa, 0xd9, 0xec, 0x8e, 0xcb, 0x28, 0x2a, 0x2c, 0x2e, 0x61, 0x81, 0x56, 0x01, - 0x2e, 0x5e, 0x6d, 0xbf, 0x2a, 0x3e, 0xa4, 0xc2, 0x86, 0x35, 0x1f, 0xae, 0x82, 0xd0, 0xf1, 0x3f, - 0xcd, 0x5e, 0x79, 0x24, 0x84, 0x0a, 0x4b, 0x48, 0xad, 0x20, 0x64, 0x15, 0x10, 0xe2, 0x34, 0x6f, - 0x2d, 0x57, 0xec, 0xe6, 0x37, 0x00, 0x00, 0xff, 0xff, 0xc1, 0xc9, 0xf8, 0x93, 0xc3, 0x01, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/geo_target_constant_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/geo_target_constant_status.pb.go deleted file mode 100644 index 717b06a0..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/geo_target_constant_status.pb.go +++ /dev/null @@ -1,127 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/geo_target_constant_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_67dba27e8548264d, []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_67dba27e8548264d, []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 (m *GeoTargetConstantStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_GeoTargetConstantStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.GeoTargetConstantStatusEnum_GeoTargetConstantStatus", GeoTargetConstantStatusEnum_GeoTargetConstantStatus_name, GeoTargetConstantStatusEnum_GeoTargetConstantStatus_value) - proto.RegisterType((*GeoTargetConstantStatusEnum)(nil), "google.ads.googleads.v1.enums.GeoTargetConstantStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/geo_target_constant_status.proto", fileDescriptor_67dba27e8548264d) -} - -var fileDescriptor_67dba27e8548264d = []byte{ - // 321 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xd1, 0x6a, 0xf2, 0x30, - 0x18, 0xfd, 0xad, 0xf0, 0x0f, 0xe2, 0x85, 0xa5, 0xbb, 0x18, 0x6c, 0x7a, 0xa1, 0x0f, 0x90, 0x52, - 0x76, 0x97, 0xc1, 0x20, 0xd5, 0x4c, 0x64, 0x2e, 0x96, 0x39, 0x3b, 0x36, 0x0a, 0x25, 0xb3, 0x21, - 0x08, 0x9a, 0x4f, 0x4c, 0x94, 0x3d, 0xcf, 0x2e, 0xf7, 0x28, 0x7b, 0x94, 0xdd, 0xed, 0x0d, 0x46, - 0x53, 0xf5, 0xae, 0xbb, 0x09, 0x27, 0x39, 0xdf, 0x39, 0x39, 0xdf, 0x41, 0xb7, 0x0a, 0x40, 0xad, - 0x64, 0x28, 0x0a, 0x13, 0x56, 0xb0, 0x44, 0xfb, 0x28, 0x94, 0x7a, 0xb7, 0x36, 0xa1, 0x92, 0x90, - 0x5b, 0xb1, 0x55, 0xd2, 0xe6, 0x0b, 0xd0, 0xc6, 0x0a, 0x6d, 0x73, 0x63, 0x85, 0xdd, 0x19, 0xbc, - 0xd9, 0x82, 0x85, 0xa0, 0x5b, 0x89, 0xb0, 0x28, 0x0c, 0x3e, 0xe9, 0xf1, 0x3e, 0xc2, 0x4e, 0x7f, - 0xd9, 0x39, 0xda, 0x6f, 0x96, 0xa1, 0xd0, 0x1a, 0xac, 0xb0, 0x4b, 0xd0, 0x07, 0x71, 0xff, 0x1d, - 0x5d, 0x8d, 0x24, 0x3c, 0x39, 0xff, 0xc1, 0xc1, 0x7e, 0xe6, 0xdc, 0x99, 0xde, 0xad, 0xfb, 0x2f, - 0xe8, 0xa2, 0x86, 0x0e, 0xda, 0xa8, 0x35, 0xe7, 0xb3, 0x84, 0x0d, 0xc6, 0x77, 0x63, 0x36, 0xf4, - 0xff, 0x05, 0x2d, 0x74, 0x36, 0xe7, 0xf7, 0x7c, 0xfa, 0xcc, 0xfd, 0x46, 0x79, 0x61, 0x9c, 0xc6, - 0x13, 0x36, 0xf4, 0xbd, 0xe0, 0x1c, 0xb5, 0x1f, 0xd9, 0xc3, 0x34, 0xa5, 0x93, 0x3c, 0x99, 0x50, - 0xce, 0xd9, 0xd0, 0x6f, 0xc6, 0x3f, 0x0d, 0xd4, 0x5b, 0xc0, 0x1a, 0xff, 0x99, 0x3e, 0xee, 0xd4, - 0x7c, 0x9f, 0x94, 0xe9, 0x93, 0xc6, 0x6b, 0x7c, 0x90, 0x2b, 0x58, 0x09, 0xad, 0x30, 0x6c, 0x55, - 0xa8, 0xa4, 0x76, 0xbb, 0x1d, 0xcb, 0xdc, 0x2c, 0x4d, 0x4d, 0xb7, 0x37, 0xee, 0xfc, 0xf0, 0x9a, - 0x23, 0x4a, 0x3f, 0xbd, 0xee, 0xa8, 0xb2, 0xa2, 0x85, 0xc1, 0x15, 0x2c, 0x51, 0x1a, 0xe1, 0xb2, - 0x09, 0xf3, 0x75, 0xe4, 0x33, 0x5a, 0x98, 0xec, 0xc4, 0x67, 0x69, 0x94, 0x39, 0xfe, 0xdb, 0xeb, - 0x55, 0x8f, 0x84, 0xd0, 0xc2, 0x10, 0x72, 0x9a, 0x20, 0x24, 0x8d, 0x08, 0x71, 0x33, 0x6f, 0xff, - 0x5d, 0xb0, 0xeb, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd1, 0x6d, 0x90, 0x4b, 0xf3, 0x01, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/geo_targeting_restriction.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/geo_targeting_restriction.pb.go deleted file mode 100644 index 0aa645b8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/geo_targeting_restriction.pb.go +++ /dev/null @@ -1,122 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/geo_targeting_restriction.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_bda5cebc24d80c9b, []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_bda5cebc24d80c9b, []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 (m *GeoTargetingRestrictionEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_GeoTargetingRestrictionEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.GeoTargetingRestrictionEnum_GeoTargetingRestriction", GeoTargetingRestrictionEnum_GeoTargetingRestriction_name, GeoTargetingRestrictionEnum_GeoTargetingRestriction_value) - proto.RegisterType((*GeoTargetingRestrictionEnum)(nil), "google.ads.googleads.v1.enums.GeoTargetingRestrictionEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/geo_targeting_restriction.proto", fileDescriptor_bda5cebc24d80c9b) -} - -var fileDescriptor_bda5cebc24d80c9b = []byte{ - // 313 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x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 0xfc, 0x31, 0x1e, 0x91, 0xc5, 0x34, - 0x66, 0x59, 0x3c, 0xce, 0x92, 0x19, 0x9d, 0x53, 0x36, 0xa2, 0x9d, 0x60, 0xf8, 0xd5, 0x02, 0xfd, - 0xb5, 0xde, 0xc2, 0x3f, 0xb7, 0x1e, 0x76, 0x8f, 0x3c, 0x9b, 0xd4, 0x5b, 0x27, 0xad, 0x97, 0xe1, - 0x0f, 0x2e, 0xf5, 0x86, 0x2b, 0x09, 0x75, 0x25, 0x91, 0x14, 0xca, 0xfd, 0xa9, 0xe9, 0xb0, 0x2c, - 0xcc, 0x91, 0x4a, 0x6f, 0xdd, 0xf9, 0x16, 0xfc, 0x9f, 0x10, 0xf2, 0x1e, 0xf4, 0x26, 0x3e, 0x8a, - 0xe4, 0x06, 0x7a, 0x59, 0xab, 0x55, 0x04, 0xeb, 0x06, 0xcc, 0x47, 0xe3, 0xa7, 0x24, 0x37, 0xe9, - 0xc1, 0x4f, 0x57, 0x51, 0xea, 0xfc, 0xcf, 0xa0, 0xef, 0x2f, 0x31, 0x26, 0xb9, 0xc1, 0xf8, 0x30, - 0x81, 0xf1, 0x2a, 0xc2, 0xd8, 0xcd, 0xbc, 0x9e, 0xb8, 0xc5, 0x6e, 0xbe, 0x03, 0x00, 0x00, 0xff, - 0xff, 0x50, 0xdf, 0x18, 0xa1, 0xea, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/geo_targeting_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/geo_targeting_type.pb.go deleted file mode 100644 index caa75a83..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/geo_targeting_type.pb.go +++ /dev/null @@ -1,125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/geo_targeting_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The possible geo targeting types. -type GeoTargetingTypeEnum_GeoTargetingType int32 - -const ( - // Not specified. - GeoTargetingTypeEnum_UNSPECIFIED GeoTargetingTypeEnum_GeoTargetingType = 0 - // The value is unknown in this version. - GeoTargetingTypeEnum_UNKNOWN GeoTargetingTypeEnum_GeoTargetingType = 1 - // Location the user is interested in while making the query. - GeoTargetingTypeEnum_AREA_OF_INTEREST GeoTargetingTypeEnum_GeoTargetingType = 2 - // Location of the user issuing the query. - GeoTargetingTypeEnum_LOCATION_OF_PRESENCE GeoTargetingTypeEnum_GeoTargetingType = 3 -) - -var GeoTargetingTypeEnum_GeoTargetingType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "AREA_OF_INTEREST", - 3: "LOCATION_OF_PRESENCE", -} - -var GeoTargetingTypeEnum_GeoTargetingType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "AREA_OF_INTEREST": 2, - "LOCATION_OF_PRESENCE": 3, -} - -func (x GeoTargetingTypeEnum_GeoTargetingType) String() string { - return proto.EnumName(GeoTargetingTypeEnum_GeoTargetingType_name, int32(x)) -} - -func (GeoTargetingTypeEnum_GeoTargetingType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_9acbd086c416c55e, []int{0, 0} -} - -// Container for enum describing possible geo targeting types. -type GeoTargetingTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GeoTargetingTypeEnum) Reset() { *m = GeoTargetingTypeEnum{} } -func (m *GeoTargetingTypeEnum) String() string { return proto.CompactTextString(m) } -func (*GeoTargetingTypeEnum) ProtoMessage() {} -func (*GeoTargetingTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_9acbd086c416c55e, []int{0} -} - -func (m *GeoTargetingTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GeoTargetingTypeEnum.Unmarshal(m, b) -} -func (m *GeoTargetingTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GeoTargetingTypeEnum.Marshal(b, m, deterministic) -} -func (m *GeoTargetingTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_GeoTargetingTypeEnum.Merge(m, src) -} -func (m *GeoTargetingTypeEnum) XXX_Size() int { - return xxx_messageInfo_GeoTargetingTypeEnum.Size(m) -} -func (m *GeoTargetingTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_GeoTargetingTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_GeoTargetingTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.GeoTargetingTypeEnum_GeoTargetingType", GeoTargetingTypeEnum_GeoTargetingType_name, GeoTargetingTypeEnum_GeoTargetingType_value) - proto.RegisterType((*GeoTargetingTypeEnum)(nil), "google.ads.googleads.v1.enums.GeoTargetingTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/geo_targeting_type.proto", fileDescriptor_9acbd086c416c55e) -} - -var fileDescriptor_9acbd086c416c55e = []byte{ - // 323 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdf, 0x4a, 0xf3, 0x30, - 0x1c, 0xfd, 0xd6, 0xc1, 0x27, 0x64, 0x17, 0x96, 0x32, 0x41, 0xc4, 0x5d, 0x6c, 0x0f, 0x90, 0x52, - 0x04, 0x2f, 0xe2, 0x55, 0x36, 0xb3, 0x51, 0x94, 0xb4, 0x6c, 0xdd, 0x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c7, 0x17, 0xa7, 0x2d, 0xe2, 0xba, 0x76, 0xdc, 0x79, 0x1e, 0xff, 0xf8, 0xb8, 0x5c, 0xe7, 0x82, - 0x43, 0xb9, 0xe5, 0x3e, 0x67, 0xc2, 0x7c, 0xaa, 0x59, 0xaf, 0x2a, 0xd5, 0x2f, 0x63, 0xde, 0x99, - 0xf7, 0xc3, 0xe9, 0xce, 0x30, 0xfe, 0x74, 0x06, 0x33, 0x1b, 0x85, 0x0b, 0x05, 0x2d, 0xac, 0xd1, - 0x2a, 0x80, 0xf5, 0x12, 0xea, 0xab, 0xe1, 0x53, 0x5c, 0xa8, 0xb4, 0xe5, 0xd3, 0x55, 0x90, 0x1a, - 0xfe, 0xe8, 0x0c, 0xed, 0x11, 0x21, 0x5c, 0x28, 0x84, 0x5a, 0x05, 0x42, 0xab, 0x00, 0x21, 0xa3, - 0x79, 0xfd, 0x6f, 0x8a, 0xdd, 0x7c, 0x07, 0x00, 0x00, 0xff, 0xff, 0xe3, 0x2c, 0xcb, 0xe2, 0xe4, - 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/google_ads_field_category.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/google_ads_field_category.pb.go deleted file mode 100644 index dde02167..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/google_ads_field_category.pb.go +++ /dev/null @@ -1,138 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/google_ads_field_category.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_c71ec81f0f9a2c8e, []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_c71ec81f0f9a2c8e, []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 (m *GoogleAdsFieldCategoryEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_GoogleAdsFieldCategoryEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.GoogleAdsFieldCategoryEnum_GoogleAdsFieldCategory", GoogleAdsFieldCategoryEnum_GoogleAdsFieldCategory_name, GoogleAdsFieldCategoryEnum_GoogleAdsFieldCategory_value) - proto.RegisterType((*GoogleAdsFieldCategoryEnum)(nil), "google.ads.googleads.v1.enums.GoogleAdsFieldCategoryEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/google_ads_field_category.proto", fileDescriptor_c71ec81f0f9a2c8e) -} - -var fileDescriptor_c71ec81f0f9a2c8e = []byte{ - // 336 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x4a, 0xc3, 0x30, - 0x18, 0xb7, 0x1d, 0x4e, 0xcd, 0x14, 0x4b, 0x0f, 0x1e, 0xa6, 0x3b, 0x6c, 0x0f, 0x90, 0x52, 0xbc, - 0x45, 0x3c, 0xb4, 0x35, 0x1b, 0x45, 0xd6, 0x8d, 0xae, 0x9d, 0x20, 0x85, 0x11, 0x97, 0x1a, 0x0a, - 0x5d, 0x32, 0x96, 0x6e, 0xe0, 0x2b, 0xf8, 0x18, 0x1e, 0x7d, 0x14, 0x1f, 0xc5, 0x93, 0x8f, 0x20, - 0x4d, 0xd7, 0x9e, 0xa6, 0x97, 0x10, 0xbe, 0xdf, 0x9f, 0xef, 0xfb, 0xfd, 0xc0, 0x3d, 0x13, 0x82, - 0xe5, 0xa9, 0x45, 0xa8, 0xb4, 0xaa, 0x6f, 0xf9, 0xdb, 0xd9, 0x56, 0xca, 0xb7, 0xab, 0x7a, 0xb4, - 0x20, 0x54, 0x2e, 0x5e, 0xb3, 0x34, 0xa7, 0x8b, 0x25, 0x29, 0x52, 0x26, 0x36, 0x6f, 0x70, 0xbd, - 0x11, 0x85, 0x30, 0x7b, 0x15, 0x01, 0x12, 0x2a, 0x61, 0x23, 0x87, 0x3b, 0x1b, 0x2a, 0x79, 0xf7, - 0xa6, 0x76, 0x5f, 0x67, 0x16, 0xe1, 0x5c, 0x14, 0xa4, 0xc8, 0x04, 0x97, 0x95, 0x78, 0xf0, 0xae, - 0x81, 0xee, 0x48, 0x11, 0x1c, 0x2a, 0x87, 0xa5, 0xbd, 0xb7, 0x77, 0xc7, 0x7c, 0xbb, 0x1a, 0xe4, - 0xe0, 0xea, 0x30, 0x6a, 0x5e, 0x82, 0x4e, 0x1c, 0xcc, 0xa6, 0xd8, 0xf3, 0x87, 0x3e, 0x7e, 0x30, - 0x8e, 0xcc, 0x0e, 0x38, 0x89, 0x83, 0xc7, 0x60, 0xf2, 0x14, 0x18, 0x9a, 0x79, 0x0e, 0x4e, 0x43, - 0x3c, 0x9b, 0xc4, 0xa1, 0x87, 0x0d, 0xdd, 0xbc, 0x00, 0x67, 0x4e, 0x14, 0x85, 0xbe, 0x1b, 0x47, - 0xd8, 0x68, 0x95, 0xcc, 0x19, 0x1e, 0x8d, 0x71, 0x10, 0x19, 0xc7, 0x26, 0x00, 0xed, 0x31, 0x8e, - 0x42, 0xdf, 0x33, 0xda, 0xee, 0x8f, 0x06, 0xfa, 0x4b, 0xb1, 0x82, 0xff, 0x06, 0x72, 0xaf, 0x0f, - 0x5f, 0x34, 0x2d, 0xf3, 0x4c, 0xb5, 0x67, 0x77, 0xaf, 0x66, 0x22, 0x27, 0x9c, 0x41, 0xb1, 0x61, - 0x16, 0x4b, 0xb9, 0x4a, 0x5b, 0xb7, 0xbb, 0xce, 0xe4, 0x1f, 0x65, 0xdf, 0xa9, 0xf7, 0x43, 0x6f, - 0x8d, 0x1c, 0xe7, 0x53, 0xef, 0x55, 0x9b, 0xa0, 0x43, 0x25, 0x6c, 0x96, 0xc2, 0xb9, 0x0d, 0xcb, - 0x6e, 0xe4, 0x57, 0x8d, 0x27, 0x0e, 0x95, 0x49, 0x83, 0x27, 0x73, 0x3b, 0x51, 0xf8, 0xb7, 0xde, - 0xaf, 0x86, 0x08, 0x39, 0x54, 0x22, 0xd4, 0x30, 0x10, 0x9a, 0xdb, 0x08, 0x29, 0xce, 0x4b, 0x5b, - 0x1d, 0x76, 0xfb, 0x1b, 0x00, 0x00, 0xff, 0xff, 0xba, 0xef, 0x9f, 0x9b, 0x04, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/google_ads_field_data_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/google_ads_field_data_type.pb.go deleted file mode 100644 index 778acd0e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/google_ads_field_data_type.pb.go +++ /dev/null @@ -1,190 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/google_ads_field_data_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // Maps to google.protobuf.UInt64Value - // - // Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN - GoogleAdsFieldDataTypeEnum_UINT64 GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType = 12 -) - -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", - 12: "UINT64", -} - -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, - "UINT64": 12, -} - -func (x GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType) String() string { - return proto.EnumName(GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType_name, int32(x)) -} - -func (GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_d86b5d9b002287f6, []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_d86b5d9b002287f6, []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 (m *GoogleAdsFieldDataTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_GoogleAdsFieldDataTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType", GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType_name, GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType_value) - proto.RegisterType((*GoogleAdsFieldDataTypeEnum)(nil), "google.ads.googleads.v1.enums.GoogleAdsFieldDataTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/google_ads_field_data_type.proto", fileDescriptor_d86b5d9b002287f6) -} - -var fileDescriptor_d86b5d9b002287f6 = []byte{ - // 398 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xcf, 0x8e, 0x93, 0x40, - 0x18, 0x17, 0x76, 0xb7, 0xbb, 0x3b, 0xd5, 0x38, 0x72, 0xf0, 0xb0, 0xba, 0x87, 0xdd, 0x07, 0x18, - 0x82, 0x6b, 0x3c, 0x8c, 0x89, 0xc9, 0x50, 0xa6, 0x84, 0xd8, 0x0e, 0x4d, 0x81, 0x9a, 0x18, 0x12, - 0x32, 0x3a, 0x48, 0x48, 0x5a, 0x86, 0x74, 0x68, 0x93, 0xbe, 0x8e, 0x47, 0x9f, 0xc1, 0x27, 0xf0, - 0x15, 0x7c, 0x03, 0x4f, 0x3e, 0x82, 0x19, 0x28, 0x9c, 0xea, 0x5e, 0xc8, 0x8f, 0xef, 0xf7, 0xe7, - 0x83, 0xdf, 0x07, 0x3e, 0x14, 0x52, 0x16, 0xeb, 0xdc, 0xe6, 0x42, 0xd9, 0x1d, 0xd4, 0x68, 0xef, - 0xd8, 0x79, 0xb5, 0xdb, 0xf4, 0x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3, 0x3d, 0x75, 0xff, - 0x1a, 0xe0, 0xee, 0xab, 0xdc, 0xa0, 0x47, 0x1b, 0x72, 0x5f, 0x9d, 0xfe, 0xc3, 0x85, 0x2e, 0x68, - 0x61, 0x7c, 0x76, 0x8f, 0xee, 0x42, 0xae, 0x79, 0x55, 0x20, 0xb9, 0x2d, 0xec, 0x22, 0xaf, 0xda, - 0xfa, 0xfa, 0x7b, 0xd5, 0xa5, 0xfa, 0xcf, 0xf9, 0xde, 0xb7, 0xcf, 0xef, 0xe6, 0x99, 0x4f, 0xc8, - 0x0f, 0xf3, 0xb6, 0xdb, 0x84, 0x88, 0x50, 0x68, 0x58, 0x8a, 0x56, 0x0e, 0xd2, 0x65, 0xab, 0x5f, - 0x3d, 0x9f, 0x12, 0xa1, 0xd2, 0x81, 0x4f, 0x57, 0x4e, 0xda, 0xf2, 0x7f, 0xcc, 0xbb, 0x6e, 0x88, - 0x31, 0x11, 0x0a, 0xe3, 0x41, 0x81, 0xf1, 0xca, 0xc1, 0xb8, 0xd5, 0x7c, 0x19, 0xb5, 0x1f, 0xf6, - 0xf0, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x92, 0x3a, 0x3d, 0x17, 0x56, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/hotel_date_selection_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/hotel_date_selection_type.pb.go deleted file mode 100644 index b87dbc45..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/hotel_date_selection_type.pb.go +++ /dev/null @@ -1,125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/hotel_date_selection_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_df390d4eb95bf882, []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_df390d4eb95bf882, []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 (m *HotelDateSelectionTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_HotelDateSelectionTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.HotelDateSelectionTypeEnum_HotelDateSelectionType", HotelDateSelectionTypeEnum_HotelDateSelectionType_name, HotelDateSelectionTypeEnum_HotelDateSelectionType_value) - proto.RegisterType((*HotelDateSelectionTypeEnum)(nil), "google.ads.googleads.v1.enums.HotelDateSelectionTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/hotel_date_selection_type.proto", fileDescriptor_df390d4eb95bf882) -} - -var fileDescriptor_df390d4eb95bf882 = []byte{ - // 329 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xc1, 0x4e, 0xc2, 0x40, - 0x14, 0x14, 0x4c, 0x34, 0x59, 0x62, 0x2c, 0x4d, 0xf4, 0x80, 0x72, 0x80, 0x0f, 0xd8, 0xa6, 0x72, - 0x5b, 0xe3, 0xa1, 0xd0, 0x05, 0x89, 0xa4, 0x10, 0x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, 0x5a, 0x73, - 0xbe, 0x84, 0xff, 0x66, 0xe8, 0x5e, 0x1d, 0xfe, 0x62, 0xa2, 0x22, 0x4c, 0x2a, 0xcf, 0xdd, 0x9d, - 0x3a, 0xe3, 0x39, 0x61, 0x19, 0xe4, 0xab, 0xcc, 0xc9, 0x28, 0xd3, 0x01, 0xcb, 0x42, 0x8b, 0x85, - 0xf8, 0xa3, 0xdf, 0x5b, 0x3d, 0x3f, 0xaa, 0xc7, 0x03, 0xcf, 0xfb, 0xac, 0x36, 0x07, 0xc6, 0xca, - 0x4b, 0x05, 0x34, 0x50, 0xa1, 0x99, 0x0b, 0x55, 0x1f, 0xe2, 0xab, 0xe4, 0x63, 0x2f, 0x15, 0xf1, - 0x9e, 0x8f, 0x67, 0x6e, 0xac, 0xf9, 0xef, 0x6a, 0xcb, 0x2c, 0x11, 0xf2, 0x52, 0x81, 0xd0, 0xfe, - 0x02, 0xa1, 0x99, 0x8b, 0x90, 0xbe, 0x79, 0x3d, 0xd1, 0x8f, 0x75, 0x7e, 0x03, 0x00, 0x00, 0xff, - 0xff, 0x46, 0xaf, 0xfd, 0xab, 0xf7, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/hotel_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/hotel_placeholder_field.pb.go deleted file mode 100644 index 424b8379..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/hotel_placeholder_field.pb.go +++ /dev/null @@ -1,230 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/hotel_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_eb9adf95cad007a6, []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_eb9adf95cad007a6, []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 (m *HotelPlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_HotelPlaceholderFieldEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.HotelPlaceholderFieldEnum_HotelPlaceholderField", HotelPlaceholderFieldEnum_HotelPlaceholderField_name, HotelPlaceholderFieldEnum_HotelPlaceholderField_value) - proto.RegisterType((*HotelPlaceholderFieldEnum)(nil), "google.ads.googleads.v1.enums.HotelPlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/hotel_placeholder_field.proto", fileDescriptor_eb9adf95cad007a6) -} - -var fileDescriptor_eb9adf95cad007a6 = []byte{ - // 531 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0xdd, 0x6e, 0xda, 0x30, - 0x18, 0x5d, 0x61, 0xfd, 0x73, 0xa1, 0x18, 0x03, 0xda, 0x6f, 0x2f, 0xda, 0x07, 0x48, 0x84, 0x76, - 0x97, 0x5e, 0x99, 0xc4, 0x64, 0x16, 0xc1, 0x89, 0x6c, 0x43, 0xc7, 0x84, 0x14, 0x65, 0x4d, 0x96, - 0x22, 0x85, 0x18, 0x11, 0xda, 0x07, 0xda, 0xe5, 0x6e, 0xf6, 0x1e, 0x93, 0xf6, 0x22, 0xbb, 0xda, - 0x23, 0x4c, 0x4e, 0x0a, 0x54, 0xd3, 0xb6, 0x9b, 0xe8, 0xf3, 0x39, 0xdf, 0x39, 0xfe, 0xe2, 0xef, - 0x80, 0xeb, 0x54, 0xa9, 0x34, 0x4b, 0xcc, 0x28, 0x2e, 0xcc, 0xaa, 0xd4, 0xd5, 0x43, 0xdf, 0x4c, - 0xf2, 0xfb, 0x65, 0x61, 0xde, 0xa9, 0x4d, 0x92, 0x85, 0xab, 0x2c, 0xba, 0x4d, 0xee, 0x54, 0x16, - 0x27, 0xeb, 0xf0, 0xf3, 0x22, 0xc9, 0x62, 0x63, 0xb5, 0x56, 0x1b, 0x85, 0x2e, 0x2a, 0x85, 0x11, - 0xc5, 0x85, 0xb1, 0x13, 0x1b, 0x0f, 0x7d, 0xa3, 0x14, 0xbf, 0x7e, 0xbb, 0xf5, 0x5e, 0x2d, 0xcc, - 0x28, 0xcf, 0xd5, 0x26, 0xda, 0x2c, 0x54, 0x5e, 0x54, 0xe2, 0xab, 0x1f, 0x75, 0xf0, 0xea, 0xbd, - 0xb6, 0x0f, 0xf6, 0xee, 0x43, 0x6d, 0x4e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} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/hotel_rate_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/hotel_rate_type.pb.go deleted file mode 100644 index a33f8f57..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/hotel_rate_type.pb.go +++ /dev/null @@ -1,139 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/hotel_rate_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible hotel rate types. -type HotelRateTypeEnum_HotelRateType int32 - -const ( - // Not specified. - HotelRateTypeEnum_UNSPECIFIED HotelRateTypeEnum_HotelRateType = 0 - // The value is unknown in this version. - HotelRateTypeEnum_UNKNOWN HotelRateTypeEnum_HotelRateType = 1 - // Rate type information is unavailable. - HotelRateTypeEnum_UNAVAILABLE HotelRateTypeEnum_HotelRateType = 2 - // Rates available to everyone. - HotelRateTypeEnum_PUBLIC_RATE HotelRateTypeEnum_HotelRateType = 3 - // A membership program rate is available and satisfies basic requirements - // like having a public rate available. UI treatment will strikethrough the - // public rate and indicate that a discount is available to the user. See - // https://developers.google.com/hotels/hotel-ads/dev-guide/qualified-rates - // for more information. - HotelRateTypeEnum_QUALIFIED_RATE HotelRateTypeEnum_HotelRateType = 4 - // Rates available to users that satisfy some eligibility criteria. e.g. - // all signed-in users, 20% of mobile users, all mobile users in Canada, - // etc. - HotelRateTypeEnum_PRIVATE_RATE HotelRateTypeEnum_HotelRateType = 5 -) - -var HotelRateTypeEnum_HotelRateType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "UNAVAILABLE", - 3: "PUBLIC_RATE", - 4: "QUALIFIED_RATE", - 5: "PRIVATE_RATE", -} - -var HotelRateTypeEnum_HotelRateType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "UNAVAILABLE": 2, - "PUBLIC_RATE": 3, - "QUALIFIED_RATE": 4, - "PRIVATE_RATE": 5, -} - -func (x HotelRateTypeEnum_HotelRateType) String() string { - return proto.EnumName(HotelRateTypeEnum_HotelRateType_name, int32(x)) -} - -func (HotelRateTypeEnum_HotelRateType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_691e03bf10b9d5b0, []int{0, 0} -} - -// Container for enum describing possible hotel rate types. -type HotelRateTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *HotelRateTypeEnum) Reset() { *m = HotelRateTypeEnum{} } -func (m *HotelRateTypeEnum) String() string { return proto.CompactTextString(m) } -func (*HotelRateTypeEnum) ProtoMessage() {} -func (*HotelRateTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_691e03bf10b9d5b0, []int{0} -} - -func (m *HotelRateTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HotelRateTypeEnum.Unmarshal(m, b) -} -func (m *HotelRateTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HotelRateTypeEnum.Marshal(b, m, deterministic) -} -func (m *HotelRateTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_HotelRateTypeEnum.Merge(m, src) -} -func (m *HotelRateTypeEnum) XXX_Size() int { - return xxx_messageInfo_HotelRateTypeEnum.Size(m) -} -func (m *HotelRateTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_HotelRateTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_HotelRateTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.HotelRateTypeEnum_HotelRateType", HotelRateTypeEnum_HotelRateType_name, HotelRateTypeEnum_HotelRateType_value) - proto.RegisterType((*HotelRateTypeEnum)(nil), "google.ads.googleads.v1.enums.HotelRateTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/hotel_rate_type.proto", fileDescriptor_691e03bf10b9d5b0) -} - -var fileDescriptor_691e03bf10b9d5b0 = []byte{ - // 332 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdf, 0x4a, 0xf3, 0x30, - 0x1c, 0xfd, 0xda, 0x7d, 0x2a, 0x64, 0xfe, 0xa9, 0xb9, 0x14, 0x77, 0xb1, 0x3d, 0x40, 0x4a, 0xd9, - 0x5d, 0xbc, 0x4a, 0x67, 0x9d, 0xc5, 0x52, 0xeb, 0x5c, 0x2b, 0x48, 0x61, 0x44, 0x1b, 0xea, 0x60, - 0x4b, 0xca, 0x92, 0x0d, 0xf6, 0x0a, 0x3e, 0x86, 0x97, 0x3e, 0x8a, 0x2f, 0x22, 0xf8, 0x14, 0x92, - 0xc4, 0x0d, 0x76, 0xa1, 0x37, 0xe1, 0x70, 0xce, 0xef, 0x1c, 0x72, 0x0e, 0xe8, 0xd7, 0x42, 0xd4, - 0x33, 0xe6, 0xd3, 0x4a, 0xfa, 0x16, 0x6a, 0xb4, 0x0a, 0x7c, 0xc6, 0x97, 0x73, 0xe9, 0xbf, 0x08, - 0xc5, 0x66, 0x93, 0x05, 0x55, 0x6c, 0xa2, 0xd6, 0x0d, 0x43, 0xcd, 0x42, 0x28, 0x01, 0x3b, 0xf6, - 0x12, 0xd1, 0x4a, 0xa2, 0xad, 0x09, 0xad, 0x02, 0x64, 0x4c, 0x67, 0xe7, 0x9b, 0xcc, 0x66, 0xea, - 0x53, 0xce, 0x85, 0xa2, 0x6a, 0x2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 0xf9, 0x58, 0xff, 0x3b, - 0x00, 0x00, 0xff, 0xff, 0xd7, 0x62, 0x65, 0x7c, 0xf1, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/income_range_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/income_range_type.pb.go deleted file mode 100644 index 22db92d4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/income_range_type.pb.go +++ /dev/null @@ -1,149 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/income_range_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_30cf189a92b3abfe, []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_30cf189a92b3abfe, []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 (m *IncomeRangeTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_IncomeRangeTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.IncomeRangeTypeEnum_IncomeRangeType", IncomeRangeTypeEnum_IncomeRangeType_name, IncomeRangeTypeEnum_IncomeRangeType_value) - proto.RegisterType((*IncomeRangeTypeEnum)(nil), "google.ads.googleads.v1.enums.IncomeRangeTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/income_range_type.proto", fileDescriptor_30cf189a92b3abfe) -} - -var fileDescriptor_30cf189a92b3abfe = []byte{ - // 385 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x5d, 0xca, 0xd3, 0x40, - 0x18, 0x85, 0x4d, 0x04, 0x85, 0xf9, 0x2e, 0xbe, 0x31, 0x0a, 0xfe, 0xe0, 0x47, 0x68, 0x17, 0x30, - 0x99, 0x20, 0xfd, 0x1b, 0xaf, 0xd2, 0x76, 0x2c, 0x41, 0x3a, 0x0d, 0xb5, 0xa9, 0x20, 0x81, 0x21, - 0x36, 0x21, 0x04, 0x9a, 0x99, 0xd0, 0x49, 0x0b, 0xbd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0xe9, - 0x63, 0x3e, 0xc0, 0xf0, 0x5b, 0x03, 0x19, 0x60, 0xee, 0x7b, 0xf0, 0xfb, 0xc1, 0x34, 0x4c, 0xf0, - 0xf8, 0x8c, 0xf8, 0x6c, 0x4c, 0x17, 0x74, 0x3e, 0x75, 0x19, 0x1d, 0xc3, 0x8f, 0x07, 0x73, 0xf8, - 0x53, 0x03, 0xad, 0x95, 0xcc, 0xd0, 0x7f, 0x9b, 0x1c, 0x3e, 0xb8, 0x28, 0xc4, 0x2b, 0x1b, 0xf4, - 0xb4, 0x37, 0xc3, 0xbf, 0xb6, 0x44, 0xae, 0x43, 0x91, 0x20, 0xb9, 0x49, 0xac, 0x24, 0x16, 0x55, - 0xbf, 0xc7, 0x3b, 0xe6, 0xa9, 0xfa, 0xc7, 0x59, 0x9f, 0x57, 0xef, 0x7b, 0xfd, 0xf6, 0xc4, 0x71, - 0x3e, 0xe8, 0x37, 0x93, 0x3a, 0xca, 0x89, 0x14, 0xaa, 0x65, 0xa9, 0x96, 0x36, 0x2a, 0x8f, 0xa2, - 0x7e, 0x1c, 0x79, 0xe0, 0x44, 0x2a, 0x38, 0xf1, 0x60, 0x69, 0x07, 0x15, 0xff, 0xa5, 0xb7, 0xea, - 0x21, 0x21, 0x4e, 0xa4, 0x08, 0x39, 0x6d, 0x10, 0xb2, 0xb4, 0x09, 0xa9, 0x76, 0xde, 0xde, 0xa9, - 0x3e, 0xf6, 0xec, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6b, 0x2f, 0x0a, 0x92, 0x6e, 0x02, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/interaction_event_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/interaction_event_type.pb.go deleted file mode 100644 index e85f8558..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/interaction_event_type.pb.go +++ /dev/null @@ -1,139 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/interaction_event_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible types of payable and free interactions. -type InteractionEventTypeEnum_InteractionEventType int32 - -const ( - // Not specified. - InteractionEventTypeEnum_UNSPECIFIED InteractionEventTypeEnum_InteractionEventType = 0 - // Used for return value only. Represents value unknown in this version. - InteractionEventTypeEnum_UNKNOWN InteractionEventTypeEnum_InteractionEventType = 1 - // Click to site. In most cases, this interaction navigates to an external - // location, usually the advertiser's landing page. This is also the default - // InteractionEventType for click events. - InteractionEventTypeEnum_CLICK InteractionEventTypeEnum_InteractionEventType = 2 - // The user's expressed intent to engage with the ad in-place. - InteractionEventTypeEnum_ENGAGEMENT InteractionEventTypeEnum_InteractionEventType = 3 - // User viewed a video ad. - InteractionEventTypeEnum_VIDEO_VIEW InteractionEventTypeEnum_InteractionEventType = 4 - // The default InteractionEventType for ad conversion events. - // This is used when an ad conversion row does NOT indicate - // that the free interactions (i.e., the ad conversions) - // should be 'promoted' and reported as part of the core metrics. - // These are simply other (ad) conversions. - InteractionEventTypeEnum_NONE InteractionEventTypeEnum_InteractionEventType = 5 -) - -var InteractionEventTypeEnum_InteractionEventType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "CLICK", - 3: "ENGAGEMENT", - 4: "VIDEO_VIEW", - 5: "NONE", -} - -var InteractionEventTypeEnum_InteractionEventType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "CLICK": 2, - "ENGAGEMENT": 3, - "VIDEO_VIEW": 4, - "NONE": 5, -} - -func (x InteractionEventTypeEnum_InteractionEventType) String() string { - return proto.EnumName(InteractionEventTypeEnum_InteractionEventType_name, int32(x)) -} - -func (InteractionEventTypeEnum_InteractionEventType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e68f43996bbfc12e, []int{0, 0} -} - -// Container for enum describing types of payable and free interactions. -type InteractionEventTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *InteractionEventTypeEnum) Reset() { *m = InteractionEventTypeEnum{} } -func (m *InteractionEventTypeEnum) String() string { return proto.CompactTextString(m) } -func (*InteractionEventTypeEnum) ProtoMessage() {} -func (*InteractionEventTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_e68f43996bbfc12e, []int{0} -} - -func (m *InteractionEventTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InteractionEventTypeEnum.Unmarshal(m, b) -} -func (m *InteractionEventTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InteractionEventTypeEnum.Marshal(b, m, deterministic) -} -func (m *InteractionEventTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_InteractionEventTypeEnum.Merge(m, src) -} -func (m *InteractionEventTypeEnum) XXX_Size() int { - return xxx_messageInfo_InteractionEventTypeEnum.Size(m) -} -func (m *InteractionEventTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_InteractionEventTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_InteractionEventTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.InteractionEventTypeEnum_InteractionEventType", InteractionEventTypeEnum_InteractionEventType_name, InteractionEventTypeEnum_InteractionEventType_value) - proto.RegisterType((*InteractionEventTypeEnum)(nil), "google.ads.googleads.v1.enums.InteractionEventTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/interaction_event_type.proto", fileDescriptor_e68f43996bbfc12e) -} - -var fileDescriptor_e68f43996bbfc12e = []byte{ - // 335 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xd1, 0x4e, 0xf2, 0x30, - 0x18, 0xfd, 0x37, 0xe0, 0x57, 0x4b, 0xa2, 0xcb, 0xe2, 0x85, 0x1a, 0xb9, 0x80, 0x07, 0xe8, 0xb2, - 0x78, 0x57, 0xaf, 0x06, 0xd4, 0x65, 0x41, 0x0b, 0x89, 0x30, 0x12, 0xb3, 0x84, 0x4c, 0xd6, 0x34, - 0x4b, 0xa0, 0x5d, 0x68, 0x21, 0xe1, 0x01, 0x7c, 0x11, 0x2f, 0x7d, 0x14, 0x1f, 0xc5, 0x0b, 0x9f, - 0xc1, 0xb4, 0x15, 0xbc, 0x41, 0x6f, 0x9a, 0xd3, 0xef, 0x7c, 0xe7, 0xe4, 0x3b, 0x07, 0x20, 0x26, - 0x04, 0x5b, 0xd0, 0x20, 0x2f, 0x64, 0x60, 0xa1, 0x46, 0x9b, 0x30, 0xa0, 0x7c, 0xbd, 0x94, 0x41, - 0xc9, 0x15, 0x5d, 0xe5, 0x73, 0x55, 0x0a, 0x3e, 0xa3, 0x1b, 0xca, 0xd5, 0x4c, 0x6d, 0x2b, 0x0a, - 0xab, 0x95, 0x50, 0xc2, 0x6f, 0x59, 0x01, 0xcc, 0x0b, 0x09, 0xf7, 0x5a, 0xb8, 0x09, 0xa1, 0xd1, - 0x5e, 0x5d, 0xef, 0xac, 0xab, 0x32, 0xc8, 0x39, 0x17, 0x2a, 0xd7, 0x36, 0xd2, 0x8a, 0x3b, 0x2f, - 0x0e, 0xb8, 0x48, 0x7e, 0xdc, 0xb1, 0x36, 0x1f, 0x6f, 0x2b, 0x8a, 0xf9, 0x7a, 0xd9, 0x29, 0xc1, - 0xf9, 0x21, 0xce, 0x3f, 0x03, 0xcd, 0x09, 0x79, 0x1c, 0xe1, 0x5e, 0x72, 0x97, 0xe0, 0xbe, 0xf7, - 0xcf, 0x6f, 0x82, 0xa3, 0x09, 0x19, 0x90, 0xe1, 0x94, 0x78, 0x8e, 0x7f, 0x02, 0x1a, 0xbd, 0xfb, - 0xa4, 0x37, 0xf0, 0x5c, 0xff, 0x14, 0x00, 0x4c, 0xe2, 0x28, 0xc6, 0x0f, 0x98, 0x8c, 0xbd, 0x9a, - 0xfe, 0xa7, 0x49, 0x1f, 0x0f, 0x67, 0x69, 0x82, 0xa7, 0x5e, 0xdd, 0x3f, 0x06, 0x75, 0x32, 0x24, - 0xd8, 0x6b, 0x74, 0x3f, 0x1d, 0xd0, 0x9e, 0x8b, 0x25, 0xfc, 0x33, 0x4b, 0xf7, 0xf2, 0xd0, 0x39, - 0x23, 0x1d, 0x64, 0xe4, 0x3c, 0x75, 0xbf, 0xb5, 0x4c, 0x2c, 0x72, 0xce, 0xa0, 0x58, 0xb1, 0x80, - 0x51, 0x6e, 0x62, 0xee, 0x3a, 0xad, 0x4a, 0xf9, 0x4b, 0xc5, 0xb7, 0xe6, 0x7d, 0x75, 0x6b, 0x71, - 0x14, 0xbd, 0xb9, 0xad, 0xd8, 0x5a, 0x45, 0x85, 0x84, 0x16, 0x6a, 0x94, 0x86, 0x50, 0xd7, 0x22, - 0xdf, 0x77, 0x7c, 0x16, 0x15, 0x32, 0xdb, 0xf3, 0x59, 0x1a, 0x66, 0x86, 0xff, 0x70, 0xdb, 0x76, - 0x88, 0x50, 0x54, 0x48, 0x84, 0xf6, 0x1b, 0x08, 0xa5, 0x21, 0x42, 0x66, 0xe7, 0xf9, 0xbf, 0x39, - 0xec, 0xe6, 0x2b, 0x00, 0x00, 0xff, 0xff, 0x9c, 0x7b, 0x64, 0x4b, 0xfa, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/interaction_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/interaction_type.pb.go deleted file mode 100644 index fa8139c0..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/interaction_type.pb.go +++ /dev/null @@ -1,119 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/interaction_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_e7b42fdf3afc37c3, []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_e7b42fdf3afc37c3, []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 (m *InteractionTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_InteractionTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.InteractionTypeEnum_InteractionType", InteractionTypeEnum_InteractionType_name, InteractionTypeEnum_InteractionType_value) - proto.RegisterType((*InteractionTypeEnum)(nil), "google.ads.googleads.v1.enums.InteractionTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/interaction_type.proto", fileDescriptor_e7b42fdf3afc37c3) -} - -var fileDescriptor_e7b42fdf3afc37c3 = []byte{ - // 291 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, 0x43, 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, 0x43, 0x3d, 0xb0, 0x2e, 0x29, 0x19, 0x98, 0xa1, 0x05, - 0x99, 0xfa, 0x89, 0x79, 0x79, 0xf9, 0x25, 0x89, 0x20, 0x03, 0x8a, 0x21, 0x9a, 0x95, 0x82, 0xb8, - 0x84, 0x3d, 0x11, 0xc6, 0x86, 0x54, 0x16, 0xa4, 0xba, 0xe6, 0x95, 0xe6, 0x2a, 0x59, 0x73, 0xf1, - 0xa3, 0x09, 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, 0x71, 0x71, 0xb1, 0x3a, 0x3b, 0xfa, 0xf8, 0x04, 0x0b, 0x1c, 0xb0, 0x73, 0x7a, 0xc9, 0xc8, - 0xa5, 0x98, 0x9c, 0x9f, 0xab, 0x87, 0xd7, 0x5d, 0x4e, 0x22, 0x68, 0x16, 0x04, 0x80, 0xdc, 0x13, - 0xc0, 0x18, 0xe5, 0x04, 0xd5, 0x96, 0x9e, 0x9f, 0x93, 0x98, 0x97, 0xae, 0x97, 0x5f, 0x94, 0xae, - 0x9f, 0x9e, 0x9a, 0x07, 0x76, 0x2d, 0x2c, 0x50, 0x0a, 0x32, 0x8b, 0x71, 0x84, 0x91, 0x35, 0x98, - 0x5c, 0xc4, 0xc4, 0xec, 0xee, 0xe8, 0xb8, 0x8a, 0x49, 0xd6, 0x1d, 0x62, 0x94, 0x63, 0x4a, 0xb1, - 0x1e, 0x84, 0x09, 0x62, 0x85, 0x19, 0xea, 0x81, 0xfc, 0x58, 0x7c, 0x0a, 0x26, 0x1f, 0xe3, 0x98, - 0x52, 0x1c, 0x03, 0x97, 0x8f, 0x09, 0x33, 0x8c, 0x01, 0xcb, 0xbf, 0x62, 0x52, 0x84, 0x08, 0x5a, - 0x59, 0x39, 0xa6, 0x14, 0x5b, 0x59, 0xc1, 0x55, 0x58, 0x59, 0x85, 0x19, 0x5a, 0x59, 0x81, 0xd5, - 0x24, 0xb1, 0x81, 0x1d, 0x66, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x71, 0x78, 0x48, 0x48, 0xbb, - 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/job_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/job_placeholder_field.pb.go deleted file mode 100644 index 735854da..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/job_placeholder_field.pb.go +++ /dev/null @@ -1,215 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/job_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_e9572662ca9c52ed, []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_e9572662ca9c52ed, []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 (m *JobPlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobPlaceholderFieldEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.JobPlaceholderFieldEnum_JobPlaceholderField", JobPlaceholderFieldEnum_JobPlaceholderField_name, JobPlaceholderFieldEnum_JobPlaceholderField_value) - proto.RegisterType((*JobPlaceholderFieldEnum)(nil), "google.ads.googleads.v1.enums.JobPlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/job_placeholder_field.proto", fileDescriptor_e9572662ca9c52ed) -} - -var fileDescriptor_e9572662ca9c52ed = []byte{ - // 494 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xd1, 0x6e, 0xd3, 0x30, - 0x14, 0x86, 0x69, 0xc6, 0xba, 0xd5, 0x2d, 0xab, 0xe7, 0x82, 0x26, 0x10, 0xbb, 0xd8, 0x1e, 0x20, - 0x51, 0xc5, 0x15, 0xe1, 0xca, 0x49, 0xdc, 0xca, 0x6d, 0x1a, 0x47, 0x71, 0xda, 0x51, 0x54, 0x29, - 0x4a, 0x97, 0x10, 0x8a, 0xd2, 0xb8, 0xaa, 0xbb, 0x3d, 0x10, 0x97, 0x3c, 0x0a, 0xf7, 0xbc, 0x04, - 0x17, 0x48, 0xbc, 0x01, 0x72, 0x4c, 0x3b, 0x09, 0xc1, 0x6e, 0xa2, 0xe3, 0x73, 0xbe, 0xff, 0xcf, - 0xb1, 0xcf, 0x01, 0x6f, 0x0b, 0x21, 0x8a, 0x32, 0xb7, 0xd2, 0x4c, 0x5a, 0x3a, 0x54, 0xd1, 0x7d, - 0xdf, 0xca, 0xab, 0xbb, 0xb5, 0xb4, 0x3e, 0x8b, 0x65, 0xb2, 0x29, 0xd3, 0xdb, 0xfc, 0x93, 0x28, - 0xb3, 0x7c, 0x9b, 0x7c, 0x5c, 0xe5, 0x65, 0x66, 0x6e, 0xb6, 0x62, 0x27, 0xd0, 0xa5, 0xe6, 0xcd, - 0x34, 0x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0x4f, 0x98, 0x43, 0x7d, 0xa2, 0xd3, 0x67, 0x08, - 0x82, 0x4e, 0x1c, 0x61, 0x77, 0x4c, 0x83, 0x61, 0xfd, 0xe3, 0x2e, 0x7a, 0x0e, 0x20, 0x0e, 0xbc, - 0x88, 0x51, 0x2f, 0xc1, 0x61, 0x98, 0xf8, 0x34, 0x18, 0x43, 0x88, 0x7a, 0xa0, 0xcb, 0xe9, 0x84, - 0xfa, 0x38, 0x4a, 0xf4, 0x65, 0x39, 0x3c, 0x57, 0x62, 0xca, 0xf8, 0x03, 0x86, 0x94, 0x78, 0x9f, - 0xe1, 0x31, 0x8b, 0x88, 0x7a, 0x84, 0x9e, 0xf3, 0xb3, 0x01, 0xae, 0x6e, 0xc5, 0xda, 0x7c, 0x74, - 0x6e, 0xce, 0xcb, 0x91, 0x58, 0xca, 0xbf, 0xdf, 0x3e, 0x54, 0x43, 0x0b, 0x1b, 0x1f, 0x9c, 0x3f, - 0xda, 0x42, 0x94, 0x69, 0x55, 0x98, 0x62, 0x5b, 0x58, 0x45, 0x5e, 0xd5, 0x23, 0xdd, 0xaf, 0xcf, - 0x66, 0x25, 0xff, 0xb3, 0x4d, 0xef, 0xea, 0xef, 0x17, 0xe3, 0x68, 0x88, 0xf1, 0x57, 0xe3, 0x72, - 0xa8, 0xad, 0x70, 0x26, 0x4d, 0x1d, 0xaa, 0x68, 0xd6, 0x37, 0xd5, 0x0e, 0xc8, 0x6f, 0xfb, 0xfa, - 0x02, 0x67, 0x72, 0x71, 0xa8, 0x2f, 0x66, 0xfd, 0x45, 0x5d, 0xff, 0x61, 0x5c, 0xe9, 0xa4, 0x6d, - 0xe3, 0x4c, 0xda, 0xf6, 0x81, 0xb0, 0xed, 0x59, 0xdf, 0xb6, 0x6b, 0x66, 0xd9, 0xac, 0x1b, 0x7b, - 0xf3, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x9c, 0xc4, 0x8b, 0x2f, 0xe5, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/keyword_match_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/keyword_match_type.pb.go deleted file mode 100644 index 35a6d699..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/keyword_match_type.pb.go +++ /dev/null @@ -1,128 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/keyword_match_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_bb7e96826193c362, []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_bb7e96826193c362, []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 (m *KeywordMatchTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordMatchTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.KeywordMatchTypeEnum_KeywordMatchType", KeywordMatchTypeEnum_KeywordMatchType_name, KeywordMatchTypeEnum_KeywordMatchType_value) - proto.RegisterType((*KeywordMatchTypeEnum)(nil), "google.ads.googleads.v1.enums.KeywordMatchTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/keyword_match_type.proto", fileDescriptor_bb7e96826193c362) -} - -var fileDescriptor_bb7e96826193c362 = []byte{ - // 317 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdd, 0x4e, 0xf2, 0x30, - 0x18, 0xfe, 0x18, 0x9f, 0x18, 0xcb, 0x81, 0xcb, 0xa2, 0x27, 0x46, 0x0e, 0xe0, 0x02, 0xba, 0x2c, - 0x26, 0x1e, 0xd4, 0xa3, 0x0e, 0x26, 0x12, 0xe2, 0x58, 0xf8, 0xd3, 0x98, 0x25, 0xa4, 0xd2, 0xa6, - 0xa2, 0xac, 0x5d, 0xe8, 0xc0, 0x70, 0x3b, 0x1e, 0x7a, 0x29, 0x5e, 0x0a, 0x57, 0x61, 0xda, 0xca, - 0x0e, 0x48, 0xf4, 0xa4, 0x79, 0xf2, 0x3e, 0x3f, 0x7d, 0xde, 0x17, 0x5c, 0x73, 0x29, 0xf9, 0x92, - 0xf9, 0x84, 0x2a, 0xdf, 0x42, 0x8d, 0x36, 0x81, 0xcf, 0xc4, 0x3a, 0x53, 0xfe, 0x1b, 0xdb, 0xbe, - 0xcb, 0x15, 0x9d, 0x65, 0xa4, 0x98, 0xbf, 0xcc, 0x8a, 0x6d, 0xce, 0x60, 0xbe, 0x92, 0x85, 0xf4, - 0x1a, 0x56, 0x0c, 0x09, 0x55, 0xb0, 0xf4, 0xc1, 0x4d, 0x00, 0x8d, 0xef, 0xe2, 0x72, 0x1f, 0x9b, - 0x2f, 0x7c, 0x22, 0x84, 0x2c, 0x48, 0xb1, 0x90, 0x42, 0x59, 0x73, 0xeb, 0x15, 0x9c, 0xf5, 0x6d, - 0xf0, 0xbd, 0xce, 0x1d, 0x6f, 0x73, 0x16, 0x89, 0x75, 0xd6, 0x1a, 0x02, 0xf7, 0x70, 0xee, 0x9d, - 0x82, 0xfa, 0x24, 0x1e, 0x25, 0x51, 0xbb, 0x77, 0xdb, 0x8b, 0x3a, 0xee, 0x3f, 0xaf, 0x0e, 0x8e, - 0x27, 0x71, 0x3f, 0x1e, 0x3c, 0xc4, 0x6e, 0xc5, 0x3b, 0x01, 0x47, 0xd1, 0x23, 0x6e, 0x8f, 0x5d, - 0xc7, 0x03, 0xa0, 0x96, 0xdc, 0x0d, 0xf1, 0x28, 0x72, 0xab, 0x7a, 0x1c, 0x0e, 0x07, 0xb8, 0xe3, - 0xfe, 0x0f, 0x77, 0x15, 0xd0, 0x9c, 0xcb, 0x0c, 0xfe, 0xd9, 0x37, 0x3c, 0x3f, 0xfc, 0x37, 0xd1, - 0x45, 0x93, 0xca, 0x53, 0xf8, 0xe3, 0xe3, 0x72, 0x49, 0x04, 0x87, 0x72, 0xc5, 0x7d, 0xce, 0x84, - 0x59, 0x63, 0x7f, 0xaf, 0x7c, 0xa1, 0x7e, 0x39, 0xdf, 0x8d, 0x79, 0x3f, 0x9c, 0x6a, 0x17, 0xe3, - 0x4f, 0xa7, 0xd1, 0xb5, 0x51, 0x98, 0x2a, 0x68, 0xa1, 0x46, 0xd3, 0x00, 0xea, 0xdd, 0xd5, 0xd7, - 0x9e, 0x4f, 0x31, 0x55, 0x69, 0xc9, 0xa7, 0xd3, 0x20, 0x35, 0xfc, 0xce, 0x69, 0xda, 0x21, 0x42, - 0x98, 0x2a, 0x84, 0x4a, 0x05, 0x42, 0xd3, 0x00, 0x21, 0xa3, 0x79, 0xae, 0x99, 0x62, 0x57, 0xdf, - 0x01, 0x00, 0x00, 0xff, 0xff, 0x57, 0x9e, 0x75, 0xf2, 0xd6, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/keyword_plan_competition_level.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/keyword_plan_competition_level.pb.go deleted file mode 100644 index b0d54d62..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/keyword_plan_competition_level.pb.go +++ /dev/null @@ -1,133 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/keyword_plan_competition_level.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_c20ed2e277b87d6e, []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_c20ed2e277b87d6e, []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 (m *KeywordPlanCompetitionLevelEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanCompetitionLevelEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.KeywordPlanCompetitionLevelEnum_KeywordPlanCompetitionLevel", KeywordPlanCompetitionLevelEnum_KeywordPlanCompetitionLevel_name, KeywordPlanCompetitionLevelEnum_KeywordPlanCompetitionLevel_value) - proto.RegisterType((*KeywordPlanCompetitionLevelEnum)(nil), "google.ads.googleads.v1.enums.KeywordPlanCompetitionLevelEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/keyword_plan_competition_level.proto", fileDescriptor_c20ed2e277b87d6e) -} - -var fileDescriptor_c20ed2e277b87d6e = []byte{ - // 325 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x41, 0x4f, 0xc2, 0x30, - 0x18, 0x95, 0x41, 0xc0, 0x94, 0x83, 0xcb, 0x8e, 0x2a, 0x51, 0xf8, 0x01, 0x5d, 0x16, 0x6f, 0xf5, - 0x34, 0x60, 0xc2, 0x02, 0x8c, 0x25, 0x06, 0x48, 0xc8, 0x12, 0x52, 0x59, 0xd3, 0x2c, 0x76, 0xed, - 0x42, 0x07, 0xc6, 0x83, 0x7f, 0xc6, 0xa3, 0x3f, 0xc5, 0x9f, 0xe2, 0xdd, 0xbb, 0x69, 0x2b, 0x78, - 0x72, 0x97, 0xe5, 0x65, 0xef, 0x7d, 0xef, 0xf5, 0x3d, 0xd0, 0xa7, 0x42, 0x50, 0x46, 0x5c, 0x9c, - 0x4a, 0xd7, 0x40, 0x85, 0x0e, 0x9e, 0x4b, 0xf8, 0x3e, 0x97, 0xee, 0x33, 0x79, 0x7d, 0x11, 0xbb, - 0x74, 0x53, 0x30, 0xcc, 0x37, 0x5b, 0x91, 0x17, 0xa4, 0xcc, 0xca, 0x4c, 0xf0, 0x0d, 0x23, 0x07, - 0xc2, 0x60, 0xb1, 0x13, 0xa5, 0x70, 0x3a, 0xe6, 0x10, 0xe2, 0x54, 0xc2, 0x93, 0x07, 0x3c, 0x78, - 0x50, 0x7b, 0x5c, 0x5e, 0x1f, 0x23, 0x8a, 0xcc, 0xc5, 0x9c,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, - 0xaa, 0x00, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/keyword_plan_forecast_interval.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/keyword_plan_forecast_interval.pb.go deleted file mode 100644 index 7dab1258..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/keyword_plan_forecast_interval.pb.go +++ /dev/null @@ -1,133 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/keyword_plan_forecast_interval.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_3fb66cd8111603d1, []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_3fb66cd8111603d1, []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 (m *KeywordPlanForecastIntervalEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanForecastIntervalEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.KeywordPlanForecastIntervalEnum_KeywordPlanForecastInterval", KeywordPlanForecastIntervalEnum_KeywordPlanForecastInterval_name, KeywordPlanForecastIntervalEnum_KeywordPlanForecastInterval_value) - proto.RegisterType((*KeywordPlanForecastIntervalEnum)(nil), "google.ads.googleads.v1.enums.KeywordPlanForecastIntervalEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/keyword_plan_forecast_interval.proto", fileDescriptor_3fb66cd8111603d1) -} - -var fileDescriptor_3fb66cd8111603d1 = []byte{ - // 339 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x4b, 0x4e, 0xc3, 0x30, - 0x10, 0x25, 0x2d, 0x1f, 0xe1, 0xf2, 0x89, 0xb2, 0x04, 0x2a, 0x68, 0x0f, 0xe0, 0x28, 0x62, 0x67, - 0x56, 0x29, 0xb8, 0xa5, 0xaa, 0x48, 0x43, 0xe9, 0x07, 0xa1, 0x48, 0x91, 0x69, 0x8c, 0x15, 0xe1, - 0xda, 0x51, 0x9c, 0x16, 0x71, 0x0a, 0xee, 0xc0, 0x92, 0xa3, 0x70, 0x14, 0xf6, 0xec, 0x51, 0xec, - 0xb6, 0x3b, 0xba, 0xb1, 0xde, 0x78, 0x66, 0xde, 0x9b, 0xf7, 0x40, 0x8b, 0x49, 0xc9, 0x38, 0x75, - 0x49, 0xa2, 0x5c, 0x03, 0x4b, 0xb4, 0xf0, 0x5c, 0x2a, 0xe6, 0x33, 0xe5, 0xbe, 0xd2, 0xf7, 0x37, - 0x99, 0x27, 0x71, 0xc6, 0x89, 0x88, 0x5f, 0x64, 0x4e, 0xa7, 0x44, 0x15, 0x71, 0x2a, 0x0a, 0x9a, - 0x2f, 0x08, 0x87, 0x59, 0x2e, 0x0b, 0xe9, 0xd4, 0xcd, 0x22, 0x24, 0x89, 0x82, 0x6b, 0x0e, 0xb8, - 0xf0, 0xa0, 0xe6, 0x38, 0x39, 0x5b, 0x49, 0x64, 0xa9, 0x4b, 0x84, 0x90, 0x05, 0x29, 0x52, 0x29, - 0x94, 0x59, 0x6e, 0x7e, 0x58, 0xe0, 0xbc, 0x67, 0x54, 0x42, 0x4e, 0x44, 0x7b, 0xa9, 0xd1, 0x5d, - 0x4a, 0x60, 0x31, 0x9f, 0x35, 0x39, 0x38, 0xdd, 0x30, 0xe2, 0x1c, 0x83, 0xda, 0x28, 0x78, 0x08, - 0xf1, 0x75, 0xb7, 0xdd, 0xc5, 0x37, 0xf6, 0x96, 0x53, 0x03, 0x7b, 0xa3, 0xa0, 0x17, 0xf4, 0x27, - 0x81, 0x6d, 0x39, 0x87, 0x60, 0x3f, 0xc0, 0x8f, 0xc3, 0x78, 0x82, 0x71, 0xcf, 0xae, 0x3a, 0x47, - 0x00, 0xe8, 0xf2, 0xae, 0x1f, 0x0c, 0x6f, 0xed, 0x6d, 0xc7, 0x06, 0x07, 0xba, 0xbe, 0x1f, 0xf9, - 0x83, 0x21, 0x1e, 0xd8, 0x3b, 0xad, 0x5f, 0x0b, 0x34, 0xa6, 0x72, 0x06, 0x37, 0xba, 0x6a, 0x5d, - 0x6c, 0xb8, 0x28, 0x2c, 0x9d, 0x85, 0xd6, 0xd3, 0x32, 0x5c, 0xc8, 0x24, 0x27, 0x82, 0x41, 0x99, - 0x33, 0x97, 0x51, 0xa1, 0x7d, 0xaf, 0xc2, 0xce, 0x52, 0xf5, 0x4f, 0xf6, 0x57, 0xfa, 0xfd, 0xac, - 0x54, 0x3b, 0xbe, 0xff, 0x55, 0xa9, 0x77, 0x0c, 0x95, 0x9f, 0x28, 0x68, 0x60, 0x89, 0xc6, 0x1e, - 0x2c, 0x03, 0x52, 0xdf, 0xab, 0x7e, 0xe4, 0x27, 0x2a, 0x5a, 0xf7, 0xa3, 0xb1, 0x17, 0xe9, 0xfe, - 0x4f, 0xa5, 0x61, 0x3e, 0x11, 0xf2, 0x13, 0x85, 0xd0, 0x7a, 0x02, 0xa1, 0xb1, 0x87, 0x90, 0x9e, - 0x79, 0xde, 0xd5, 0x87, 0x5d, 0xfe, 0x05, 0x00, 0x00, 0xff, 0xff, 0x3a, 0x3f, 0x29, 0x0e, 0x13, - 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/keyword_plan_network.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/keyword_plan_network.pb.go deleted file mode 100644 index 6c9f66cf..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/keyword_plan_network.pb.go +++ /dev/null @@ -1,125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/keyword_plan_network.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_5811477df0314af6, []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_5811477df0314af6, []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 (m *KeywordPlanNetworkEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanNetworkEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.KeywordPlanNetworkEnum_KeywordPlanNetwork", KeywordPlanNetworkEnum_KeywordPlanNetwork_name, KeywordPlanNetworkEnum_KeywordPlanNetwork_value) - proto.RegisterType((*KeywordPlanNetworkEnum)(nil), "google.ads.googleads.v1.enums.KeywordPlanNetworkEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/keyword_plan_network.proto", fileDescriptor_5811477df0314af6) -} - -var fileDescriptor_5811477df0314af6 = []byte{ - // 324 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdf, 0x4a, 0xf3, 0x30, - 0x1c, 0xfd, 0xd6, 0xc1, 0x27, 0x64, 0x88, 0xb5, 0x17, 0x0a, 0xc3, 0x09, 0xdb, 0x03, 0xa4, 0x14, - 0x6f, 0x24, 0x5e, 0x65, 0x5b, 0xad, 0x63, 0x92, 0x95, 0xcd, 0x4d, 0x90, 0x42, 0x89, 0x26, 0x84, - 0xb1, 0x2e, 0x29, 0x4d, 0xb7, 0xe1, 0x95, 0xef, 0xe2, 0xa5, 0x8f, 0xe2, 0xa3, 0x88, 0x0f, 0x21, - 0x4d, 0xdc, 0x40, 0x86, 0xde, 0x84, 0x43, 0xce, 0x1f, 0xce, 0xef, 0x80, 0x4b, 0xa1, 0x94, 0xc8, - 0xb8, 0x4f, 0x99, 0xf6, 0x2d, 0xac, 0xd0, 0x3a, 0xf0, 0xb9, 0x5c, 0x2d, 0xb5, 0xbf, 0xe0, 0xcf, - 0x1b, 0x55, 0xb0, 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x13, 0xcc, 0x74, 0xb2, 0xe3, 0x93, 0x59, 0x90, - 0x18, 0xfe, 0xc3, 0x69, 0xdb, 0x4f, 0x84, 0x30, 0xd3, 0x08, 0xed, 0x14, 0x08, 0xcd, 0x02, 0x84, - 0x8c, 0xe6, 0xf1, 0xbf, 0x29, 0x76, 0xf1, 0x15, 0x00, 0x00, 0xff, 0xff, 0x63, 0x52, 0x0e, 0xff, - 0xef, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/label_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/label_status.pb.go deleted file mode 100644 index 98995d36..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/label_status.pb.go +++ /dev/null @@ -1,123 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/label_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible statuses of a label. -type LabelStatusEnum_LabelStatus int32 - -const ( - // Not specified. - LabelStatusEnum_UNSPECIFIED LabelStatusEnum_LabelStatus = 0 - // Used for return value only. Represents value unknown in this version. - LabelStatusEnum_UNKNOWN LabelStatusEnum_LabelStatus = 1 - // Label is enabled. - LabelStatusEnum_ENABLED LabelStatusEnum_LabelStatus = 2 - // Label is removed. - LabelStatusEnum_REMOVED LabelStatusEnum_LabelStatus = 3 -) - -var LabelStatusEnum_LabelStatus_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "ENABLED", - 3: "REMOVED", -} - -var LabelStatusEnum_LabelStatus_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "ENABLED": 2, - "REMOVED": 3, -} - -func (x LabelStatusEnum_LabelStatus) String() string { - return proto.EnumName(LabelStatusEnum_LabelStatus_name, int32(x)) -} - -func (LabelStatusEnum_LabelStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_903d42273602099e, []int{0, 0} -} - -// Container for enum describing possible status of a label. -type LabelStatusEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LabelStatusEnum) Reset() { *m = LabelStatusEnum{} } -func (m *LabelStatusEnum) String() string { return proto.CompactTextString(m) } -func (*LabelStatusEnum) ProtoMessage() {} -func (*LabelStatusEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_903d42273602099e, []int{0} -} - -func (m *LabelStatusEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LabelStatusEnum.Unmarshal(m, b) -} -func (m *LabelStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LabelStatusEnum.Marshal(b, m, deterministic) -} -func (m *LabelStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelStatusEnum.Merge(m, src) -} -func (m *LabelStatusEnum) XXX_Size() int { - return xxx_messageInfo_LabelStatusEnum.Size(m) -} -func (m *LabelStatusEnum) XXX_DiscardUnknown() { - xxx_messageInfo_LabelStatusEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_LabelStatusEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.LabelStatusEnum_LabelStatus", LabelStatusEnum_LabelStatus_name, LabelStatusEnum_LabelStatus_value) - proto.RegisterType((*LabelStatusEnum)(nil), "google.ads.googleads.v1.enums.LabelStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/label_status.proto", fileDescriptor_903d42273602099e) -} - -var fileDescriptor_903d42273602099e = []byte{ - // 293 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x4a, 0xc3, 0x30, - 0x18, 0x77, 0x1d, 0x28, 0xa4, 0x87, 0x95, 0x1e, 0xc5, 0x1d, 0xb6, 0x07, 0x48, 0x2c, 0xde, 0xe2, - 0x29, 0xb5, 0x71, 0x0c, 0x67, 0x57, 0x1c, 0xab, 0x22, 0x05, 0xc9, 0x6c, 0x09, 0x85, 0x36, 0x29, - 0x4b, 0xbb, 0x07, 0xf2, 0xe8, 0xa3, 0xf8, 0x1e, 0x5e, 0x7c, 0x0a, 0x49, 0xb2, 0x96, 0x5d, 0xf4, - 0x52, 0x7e, 0xdf, 0xf7, 0xfb, 0xd3, 0x5f, 0x3e, 0x70, 0xcd, 0xa5, 0xe4, 0x55, 0x81, 0x58, 0xae, - 0x90, 0x85, 0x1a, 0x1d, 0x02, 0x54, 0x88, 0xae, 0x56, 0xa8, 0x62, 0xbb, 0xa2, 0x7a, 0x53, 0x2d, - 0x6b, 0x3b, 0x05, 0x9b, 0xbd, 0x6c, 0xa5, 0x3f, 0xb5, 0x32, 0xc8, 0x72, 0x05, 0x07, 0x07, 0x3c, - 0x04, 0xd0, 0x38, 0x2e, 0xaf, 0xfa, 0xc0, 0xa6, 0x44, 0x4c, 0x08, 0xd9, 0xb2, 0xb6, 0x94, 0xe2, - 0x68, 0x9e, 0xbf, 0x80, 0xc9, 0x4a, 0x47, 0x6e, 0x4c, 0x22, 0x15, 0x5d, 0x3d, 0xa7, 0xc0, 0x3d, - 0x59, 0xf9, 0x13, 0xe0, 0x6e, 0xe3, 0x4d, 0x42, 0xef, 0x96, 0xf7, 0x4b, 0x1a, 0x79, 0x67, 0xbe, - 0x0b, 0x2e, 0xb6, 0xf1, 0x43, 0xbc, 0x7e, 0x8e, 0xbd, 0x91, 0x1e, 0x68, 0x4c, 0xc2, 0x15, 0x8d, - 0x3c, 0x47, 0x0f, 0x4f, 0xf4, 0x71, 0x9d, 0xd2, 0xc8, 0x1b, 0x87, 0xdf, 0x23, 0x30, 0x7b, 0x97, - 0x35, 0xfc, 0xb7, 0x5d, 0xe8, 0x9d, 0xfc, 0x2a, 0xd1, 0x8d, 0x92, 0xd1, 0x6b, 0x78, 0xb4, 0x70, - 0x59, 0x31, 0xc1, 0xa1, 0xdc, 0x73, 0xc4, 0x0b, 0x61, 0xfa, 0xf6, 0x27, 0x69, 0x4a, 0xf5, 0xc7, - 0x85, 0x6e, 0xcd, 0xf7, 0xc3, 0x19, 0x2f, 0x08, 0xf9, 0x74, 0xa6, 0x0b, 0x1b, 0x45, 0x72, 0x05, - 0x2d, 0xd4, 0x28, 0x0d, 0xa0, 0x7e, 0xa9, 0xfa, 0xea, 0xf9, 0x8c, 0xe4, 0x2a, 0x1b, 0xf8, 0x2c, - 0x0d, 0x32, 0xc3, 0xff, 0x38, 0x33, 0xbb, 0xc4, 0x98, 0xe4, 0x0a, 0xe3, 0x41, 0x81, 0x71, 0x1a, - 0x60, 0x6c, 0x34, 0xbb, 0x73, 0x53, 0xec, 0xe6, 0x37, 0x00, 0x00, 0xff, 0xff, 0x40, 0xe2, 0xbe, - 0xb1, 0xb9, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/legacy_app_install_ad_app_store.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/legacy_app_install_ad_app_store.pb.go deleted file mode 100644 index c919f5c2..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/legacy_app_install_ad_app_store.pb.go +++ /dev/null @@ -1,140 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/legacy_app_install_ad_app_store.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// App store type in a legacy app install ad. -type LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore int32 - -const ( - // Not specified. - LegacyAppInstallAdAppStoreEnum_UNSPECIFIED LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore = 0 - // Used for return value only. Represents value unknown in this version. - LegacyAppInstallAdAppStoreEnum_UNKNOWN LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore = 1 - // Apple iTunes. - LegacyAppInstallAdAppStoreEnum_APPLE_APP_STORE LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore = 2 - // Google Play. - LegacyAppInstallAdAppStoreEnum_GOOGLE_PLAY LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore = 3 - // Windows Store. - LegacyAppInstallAdAppStoreEnum_WINDOWS_STORE LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore = 4 - // Windows Phone Store. - LegacyAppInstallAdAppStoreEnum_WINDOWS_PHONE_STORE LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore = 5 - // The app is hosted in a Chinese app store. - LegacyAppInstallAdAppStoreEnum_CN_APP_STORE LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore = 6 -) - -var LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "APPLE_APP_STORE", - 3: "GOOGLE_PLAY", - 4: "WINDOWS_STORE", - 5: "WINDOWS_PHONE_STORE", - 6: "CN_APP_STORE", -} - -var LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "APPLE_APP_STORE": 2, - "GOOGLE_PLAY": 3, - "WINDOWS_STORE": 4, - "WINDOWS_PHONE_STORE": 5, - "CN_APP_STORE": 6, -} - -func (x LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore) String() string { - return proto.EnumName(LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore_name, int32(x)) -} - -func (LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_676a144a27afa9f6, []int{0, 0} -} - -// Container for enum describing app store type in a legacy app install ad. -type LegacyAppInstallAdAppStoreEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LegacyAppInstallAdAppStoreEnum) Reset() { *m = LegacyAppInstallAdAppStoreEnum{} } -func (m *LegacyAppInstallAdAppStoreEnum) String() string { return proto.CompactTextString(m) } -func (*LegacyAppInstallAdAppStoreEnum) ProtoMessage() {} -func (*LegacyAppInstallAdAppStoreEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_676a144a27afa9f6, []int{0} -} - -func (m *LegacyAppInstallAdAppStoreEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LegacyAppInstallAdAppStoreEnum.Unmarshal(m, b) -} -func (m *LegacyAppInstallAdAppStoreEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LegacyAppInstallAdAppStoreEnum.Marshal(b, m, deterministic) -} -func (m *LegacyAppInstallAdAppStoreEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_LegacyAppInstallAdAppStoreEnum.Merge(m, src) -} -func (m *LegacyAppInstallAdAppStoreEnum) XXX_Size() int { - return xxx_messageInfo_LegacyAppInstallAdAppStoreEnum.Size(m) -} -func (m *LegacyAppInstallAdAppStoreEnum) XXX_DiscardUnknown() { - xxx_messageInfo_LegacyAppInstallAdAppStoreEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_LegacyAppInstallAdAppStoreEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore", LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore_name, LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore_value) - proto.RegisterType((*LegacyAppInstallAdAppStoreEnum)(nil), "google.ads.googleads.v1.enums.LegacyAppInstallAdAppStoreEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/legacy_app_install_ad_app_store.proto", fileDescriptor_676a144a27afa9f6) -} - -var fileDescriptor_676a144a27afa9f6 = []byte{ - // 371 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0x41, 0x6b, 0xa3, 0x40, - 0x18, 0x5d, 0xcd, 0x6e, 0x16, 0x26, 0xbb, 0xc4, 0x35, 0x87, 0x85, 0xb0, 0xd9, 0x25, 0xf9, 0x01, - 0x23, 0xb2, 0xb7, 0xe9, 0x69, 0x92, 0x58, 0x2b, 0x15, 0x1d, 0x6a, 0x93, 0xd0, 0x22, 0xc8, 0x34, - 0x8a, 0x08, 0x66, 0x66, 0xc8, 0x98, 0x40, 0xff, 0x4c, 0x0f, 0x3d, 0xf6, 0x5f, 0xf4, 0xda, 0x9f, - 0xd2, 0x73, 0x7f, 0x40, 0x71, 0x8c, 0xa1, 0x97, 0xf4, 0x22, 0xcf, 0xef, 0xbd, 0xef, 0x3d, 0x7d, - 0x1f, 0x98, 0xe5, 0x9c, 0xe7, 0x65, 0x66, 0xd1, 0x54, 0x5a, 0x0d, 0xac, 0xd1, 0xde, 0xb6, 0x32, - 0xb6, 0xdb, 0x48, 0xab, 0xcc, 0x72, 0xba, 0xbe, 0x4f, 0xa8, 0x10, 0x49, 0xc1, 0x64, 0x45, 0xcb,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, 0xda, 0xf3, 0x88, 0x42, 0x9e, 0xb8, 0xd6, 0x99, 0x7a, - 0x3e, 0xea, 0x1d, 0x17, 0xe3, 0x27, 0x7d, 0xe4, 0x36, 0x56, 0x38, 0x95, 0xb0, 0x81, 0x35, 0x5a, - 0xda, 0xb0, 0xae, 0x54, 0xbe, 0xb4, 0x7c, 0x8c, 0x53, 0x19, 0x1f, 0xf9, 0x78, 0x69, 0xc7, 0x8a, - 0x7f, 0xd5, 0xc7, 0xcd, 0x10, 0x21, 0x9c, 0x4a, 0x84, 0x8e, 0x0a, 0x84, 0x96, 0x36, 0x42, 0x4a, - 0x73, 0xd7, 0x55, 0x1f, 0xf6, 0xff, 0x3d, 0x00, 0x00, 0xff, 0xff, 0x0c, 0x96, 0x83, 0x7a, 0x45, - 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/listing_custom_attribute_index.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/listing_custom_attribute_index.pb.go deleted file mode 100644 index 7a03503b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/listing_custom_attribute_index.pb.go +++ /dev/null @@ -1,137 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/listing_custom_attribute_index.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_INDEX0 ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex = 7 - // Second listing custom attribute. - ListingCustomAttributeIndexEnum_INDEX1 ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex = 8 - // Third listing custom attribute. - ListingCustomAttributeIndexEnum_INDEX2 ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex = 9 - // Fourth listing custom attribute. - ListingCustomAttributeIndexEnum_INDEX3 ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex = 10 - // Fifth listing custom attribute. - ListingCustomAttributeIndexEnum_INDEX4 ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex = 11 -) - -var ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 7: "INDEX0", - 8: "INDEX1", - 9: "INDEX2", - 10: "INDEX3", - 11: "INDEX4", -} - -var ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "INDEX0": 7, - "INDEX1": 8, - "INDEX2": 9, - "INDEX3": 10, - "INDEX4": 11, -} - -func (x ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex) String() string { - return proto.EnumName(ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex_name, int32(x)) -} - -func (ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_410e7e01334fc3fb, []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_410e7e01334fc3fb, []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 (m *ListingCustomAttributeIndexEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListingCustomAttributeIndexEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex", ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex_name, ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex_value) - proto.RegisterType((*ListingCustomAttributeIndexEnum)(nil), "google.ads.googleads.v1.enums.ListingCustomAttributeIndexEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/listing_custom_attribute_index.proto", fileDescriptor_410e7e01334fc3fb) -} - -var fileDescriptor_410e7e01334fc3fb = []byte{ - // 328 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xb1, 0x4e, 0xf3, 0x30, - 0x14, 0x85, 0xff, 0xf4, 0x97, 0x5a, 0x70, 0x07, 0xac, 0x8c, 0x40, 0x05, 0xed, 0x03, 0x38, 0x84, - 0x32, 0x99, 0x29, 0x6d, 0x43, 0x15, 0x81, 0x42, 0x25, 0xd4, 0x82, 0x50, 0xa4, 0xca, 0xad, 0x23, - 0xcb, 0x52, 0x63, 0x57, 0xb5, 0x53, 0x78, 0x16, 0x46, 0x46, 0x1e, 0x85, 0x47, 0x61, 0x67, 0x47, - 0xb1, 0x89, 0x37, 0xb2, 0x44, 0x9f, 0x72, 0xef, 0x3d, 0xe7, 0xde, 0x63, 0x30, 0x62, 0x52, 0xb2, - 0x4d, 0x1e, 0x10, 0xaa, 0x02, 0x8b, 0x15, 0xed, 0xc3, 0x20, 0x17, 0x65, 0xa1, 0x82, 0x0d, 0x57, - 0x9a, 0x0b, 0xb6, 0x5c, 0x97, 0x4a, 0xcb, 0x62, 0x49, 0xb4, 0xde, 0xf1, 0x55, 0xa9, 0xf3, 0x25, - 0x17, 0x34, 0x7f, 0x45, 0xdb, 0x9d, 0xd4, 0xd2, 0xef, 0xd9, 0x41, 0x44, 0xa8, 0x42, 0x4e, 0x03, - 0xed, 0x43, 0x64, 0x34, 0x8e, 0x4f, 0x6b, 0x8b, 0x2d, 0x0f, 0x88, 0x10, 0x52, 0x13, 0xcd, 0xa5, - 0x50, 0x76, 0x78, 0xf0, 0xe6, 0x81, 0xb3, 0x3b, 0xeb, 0x32, 0x36, 0x26, 0x51, 0xed, 0x91, 0x54, - 0x16, 0xb1, 0x28, 0x8b, 0xc1, 0x0b, 0x38, 0x69, 0x68, 0xf1, 0x8f, 0x40, 0x77, 0x9e, 0x3e, 0xcc, - 0xe2, 0x71, 0x72, 0x93, 0xc4, 0x13, 0xf8, 0xcf, 0xef, 0x82, 0xce, 0x3c, 0xbd, 0x4d, 0xef, 0x1f, - 0x53, 0xe8, 0xf9, 0x00, 0xb4, 0x93, 0x74, 0x12, 0x3f, 0x5d, 0xc0, 0x8e, 0xe3, 0x10, 0x1e, 0x38, - 0xbe, 0x84, 0x87, 0x8e, 0x87, 0x10, 0x38, 0xbe, 0x82, 0xdd, 0xd1, 0xb7, 0x07, 0xfa, 0x6b, 0x59, - 0xa0, 0xc6, 0x03, 0x47, 0xe7, 0x0d, 0xcb, 0xcd, 0xaa, 0x23, 0x67, 0xde, 0xf3, 0x6f, 0xce, 0x88, - 0xc9, 0x0d, 0x11, 0x0c, 0xc9, 0x1d, 0x0b, 0x58, 0x2e, 0x4c, 0x04, 0x75, 0xee, 0x5b, 0xae, 0xfe, - 0x78, 0x86, 0x6b, 0xf3, 0x7d, 0x6f, 0xfd, 0x9f, 0x46, 0xd1, 0x47, 0xab, 0x37, 0xb5, 0x52, 0x11, - 0x55, 0xc8, 0x62, 0x45, 0x8b, 0x10, 0x55, 0x59, 0xa9, 0xcf, 0xba, 0x9e, 0x45, 0x54, 0x65, 0xae, - 0x9e, 0x2d, 0xc2, 0xcc, 0xd4, 0xbf, 0x5a, 0x7d, 0xfb, 0x13, 0xe3, 0x88, 0x2a, 0x8c, 0x5d, 0x07, - 0xc6, 0x8b, 0x10, 0x63, 0xd3, 0xb3, 0x6a, 0x9b, 0xc5, 0x86, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, - 0x2e, 0xac, 0x0a, 0x2e, 0x1e, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/listing_group_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/listing_group_type.pb.go deleted file mode 100644 index 7af9da15..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/listing_group_type.pb.go +++ /dev/null @@ -1,126 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/listing_group_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_fbd98b8004bba2ed, []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_fbd98b8004bba2ed, []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 (m *ListingGroupTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListingGroupTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.ListingGroupTypeEnum_ListingGroupType", ListingGroupTypeEnum_ListingGroupType_name, ListingGroupTypeEnum_ListingGroupType_value) - proto.RegisterType((*ListingGroupTypeEnum)(nil), "google.ads.googleads.v1.enums.ListingGroupTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/listing_group_type.proto", fileDescriptor_fbd98b8004bba2ed) -} - -var fileDescriptor_fbd98b8004bba2ed = []byte{ - // 306 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x4a, 0xc3, 0x30, - 0x18, 0x77, 0x9d, 0xa8, 0x64, 0x07, 0x4b, 0xd1, 0x8b, 0xb8, 0xc3, 0xf6, 0x00, 0x09, 0x45, 0xf0, - 0x10, 0x4f, 0xad, 0x9b, 0x23, 0x4c, 0xb2, 0xc1, 0xd6, 0x0a, 0x52, 0x18, 0x75, 0x2d, 0xa1, 0xb0, - 0x26, 0xa1, 0x69, 0x07, 0x7b, 0x1d, 0x8f, 0x3e, 0x8a,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 0x93, 0x79, - 0x3f, 0x9d, 0xfe, 0x2c, 0x08, 0xbe, 0x9c, 0xe1, 0xcc, 0x46, 0x05, 0x99, 0x82, 0x16, 0x6a, 0x14, - 0xfb, 0x50, 0x2f, 0xad, 0xbe, 0x5b, 0x3e, 0x09, 0x32, 0x95, 0x74, 0x7c, 0x12, 0xfb, 0x89, 0xe1, - 0x8f, 0xce, 0xc8, 0x0e, 0x31, 0x0e, 0x32, 0x85, 0x71, 0xa7, 0xc0, 0x38, 0xf6, 0x31, 0x36, 0x9a, - 0x8f, 0x0b, 0x53, 0xec, 0xe1, 0x27, 0x00, 0x00, 0xff, 0xff, 0x5c, 0xbf, 0x3f, 0x92, 0xcf, 0x01, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/local_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/local_placeholder_field.pb.go deleted file mode 100644 index 93b345a2..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/local_placeholder_field.pb.go +++ /dev/null @@ -1,222 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/local_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_0dcff458a17bffef, []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_0dcff458a17bffef, []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 (m *LocalPlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocalPlaceholderFieldEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.LocalPlaceholderFieldEnum_LocalPlaceholderField", LocalPlaceholderFieldEnum_LocalPlaceholderField_name, LocalPlaceholderFieldEnum_LocalPlaceholderField_value) - proto.RegisterType((*LocalPlaceholderFieldEnum)(nil), "google.ads.googleads.v1.enums.LocalPlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/local_placeholder_field.proto", fileDescriptor_0dcff458a17bffef) -} - -var fileDescriptor_0dcff458a17bffef = []byte{ - // 511 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, 0x60, 0x68, 0x71, 0x0d, 0xd5, 0xb6, 0x6a, 0xbd, 0x68, 0x1f, 0x20, 0x11, - 0xda, 0x5d, 0x7a, 0x65, 0x12, 0x83, 0x2c, 0x82, 0x13, 0xd9, 0x0e, 0x5d, 0x27, 0xa4, 0x28, 0x23, - 0x59, 0x86, 0x14, 0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c, 0xc5, - 0xa9, 0xca, 0xa2, 0x3c, 0x35, 0xd4, 0x3a, 0x35, 0xd3, 0x24, 0x2f, 0x4f, 0x61, 0x77, 0x78, 0xab, - 0x45, 0xf1, 0x9f, 0x3b, 0xbc, 0x2b, 0xdf, 0xef, 0xf5, 0xc6, 0x08, 0xe3, 0x9f, 0xf5, 0xeb, 0x51, - 0x65, 0x85, 0xe3, 0xc2, 0xa8, 0x42, 0x1d, 0x4d, 0xfb, 0x86, 0xbe, 0x9c, 0xe2, 0xd7, 0x0e, 0x9f, - 0xe1, 0xb8, 0x98, 0xed, 0xf1, 0xd9, 0xb4, 0x3f, 0x2b, 0xf1, 0xdf, 0xf5, 0x9b, 0xaa, 0x68, 0x59, - 0x38, 0x2e, 0x2c, 0x6b, 0xcf, 0xb0, 0xac, 0x69, 0xdf, 0xb2, 0x4a, 0xce, 0xe7, 0xe3, 0x72, 0xb0, - 0x0f, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x5e, 0x7d, 0xf3, 0x33, 0x1f, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/location_extension_targeting_criterion_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/location_extension_targeting_criterion_field.pb.go deleted file mode 100644 index 58bbfe9c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/location_extension_targeting_criterion_field.pb.go +++ /dev/null @@ -1,148 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/location_extension_targeting_criterion_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible values for Location Extension Targeting criterion fields. -type LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField int32 - -const ( - // Not specified. - LocationExtensionTargetingCriterionFieldEnum_UNSPECIFIED LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField = 0 - // Used for return value only. Represents value unknown in this version. - LocationExtensionTargetingCriterionFieldEnum_UNKNOWN LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField = 1 - // Data Type: STRING. Line 1 of the business address. - LocationExtensionTargetingCriterionFieldEnum_ADDRESS_LINE_1 LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField = 2 - // Data Type: STRING. Line 2 of the business address. - LocationExtensionTargetingCriterionFieldEnum_ADDRESS_LINE_2 LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField = 3 - // Data Type: STRING. City of the business address. - LocationExtensionTargetingCriterionFieldEnum_CITY LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField = 4 - // Data Type: STRING. Province of the business address. - LocationExtensionTargetingCriterionFieldEnum_PROVINCE LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField = 5 - // Data Type: STRING. Postal code of the business address. - LocationExtensionTargetingCriterionFieldEnum_POSTAL_CODE LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField = 6 - // Data Type: STRING. Country code of the business address. - LocationExtensionTargetingCriterionFieldEnum_COUNTRY_CODE LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField = 7 -) - -var LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "ADDRESS_LINE_1", - 3: "ADDRESS_LINE_2", - 4: "CITY", - 5: "PROVINCE", - 6: "POSTAL_CODE", - 7: "COUNTRY_CODE", -} - -var LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "ADDRESS_LINE_1": 2, - "ADDRESS_LINE_2": 3, - "CITY": 4, - "PROVINCE": 5, - "POSTAL_CODE": 6, - "COUNTRY_CODE": 7, -} - -func (x LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField) String() string { - return proto.EnumName(LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField_name, int32(x)) -} - -func (LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_5b18aad743d9f814, []int{0, 0} -} - -// Values for Location Extension Targeting criterion fields. -type LocationExtensionTargetingCriterionFieldEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LocationExtensionTargetingCriterionFieldEnum) Reset() { - *m = LocationExtensionTargetingCriterionFieldEnum{} -} -func (m *LocationExtensionTargetingCriterionFieldEnum) String() string { - return proto.CompactTextString(m) -} -func (*LocationExtensionTargetingCriterionFieldEnum) ProtoMessage() {} -func (*LocationExtensionTargetingCriterionFieldEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_5b18aad743d9f814, []int{0} -} - -func (m *LocationExtensionTargetingCriterionFieldEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LocationExtensionTargetingCriterionFieldEnum.Unmarshal(m, b) -} -func (m *LocationExtensionTargetingCriterionFieldEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LocationExtensionTargetingCriterionFieldEnum.Marshal(b, m, deterministic) -} -func (m *LocationExtensionTargetingCriterionFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocationExtensionTargetingCriterionFieldEnum.Merge(m, src) -} -func (m *LocationExtensionTargetingCriterionFieldEnum) XXX_Size() int { - return xxx_messageInfo_LocationExtensionTargetingCriterionFieldEnum.Size(m) -} -func (m *LocationExtensionTargetingCriterionFieldEnum) XXX_DiscardUnknown() { - xxx_messageInfo_LocationExtensionTargetingCriterionFieldEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_LocationExtensionTargetingCriterionFieldEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField", LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField_name, LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField_value) - proto.RegisterType((*LocationExtensionTargetingCriterionFieldEnum)(nil), "google.ads.googleads.v1.enums.LocationExtensionTargetingCriterionFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/location_extension_targeting_criterion_field.proto", fileDescriptor_5b18aad743d9f814) -} - -var fileDescriptor_5b18aad743d9f814 = []byte{ - // 383 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xc1, 0xae, 0x93, 0x40, - 0x18, 0x85, 0x85, 0x7b, 0xbd, 0xf7, 0x66, 0xda, 0xe8, 0x64, 0x96, 0xc6, 0x2e, 0xda, 0x95, 0x0b, - 0x1d, 0x82, 0xee, 0xc6, 0x15, 0x85, 0x69, 0x43, 0x6c, 0x80, 0x14, 0x8a, 0xa9, 0x21, 0x21, 0x58, - 0xc6, 0x09, 0x09, 0x9d, 0x69, 0x18, 0xda, 0xb8, 0xf6, 0x51, 0x5c, 0xea, 0x9b, 0xf8, 0x0c, 0x3e, - 0x81, 0x4f, 0x61, 0x06, 0x4a, 0x37, 0xc6, 0x9b, 0x6e, 0xc8, 0xc9, 0xf9, 0x67, 0xbe, 0xc3, 0x9c, - 0x1f, 0x44, 0x5c, 0x4a, 0x5e, 0x33, 0xab, 0x28, 0x95, 0xd5, 0x4b, 0x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 0x74, 0x27, 0xf7, 0xf8, 0xd1, 0x8a, 0xe6, 0x6f, 0xae, 0x7d, 0x50, 0xa4, 0x3b, 0x8b, - 0x8c, 0x4f, 0xf3, 0x33, 0x8f, 0xcb, 0xba, 0x10, 0x1c, 0xcb, 0x86, 0x5b, 0x9c, 0x89, 0xae, 0xd1, - 0x61, 0xa9, 0x87, 0x4a, 0xfd, 0x67, 0xc7, 0xef, 0xbb, 0xef, 0x77, 0xf3, 0x66, 0xe9, 0x38, 0x3f, - 0xcc, 0xc9, 0xb2, 0x47, 0x39, 0xa5, 0xc2, 0xbd, 0xd4, 0x2a, 0xb5, 0xb1, 0x6e, 0x5b, 0xfd, 0x1a, - 0xe6, 0x99, 0x53, 0xaa, 0xec, 0x32, 0xcf, 0x52, 0x3b, 0xeb, 0xe6, 0x7f, 0xcc, 0x69, 0x6f, 0x12, - 0xe2, 0x94, 0x8a, 0x90, 0xcb, 0x09, 0x42, 0x52, 0x9b, 0x90, 0xee, 0xcc, 0xe7, 0xbb, 0xee, 0xc7, - 0xde, 0xfd, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x13, 0x06, 0x99, 0xed, 0x7b, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/location_group_radius_units.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/location_group_radius_units.pb.go deleted file mode 100644 index 2db05c55..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/location_group_radius_units.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/location_group_radius_units.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The unit of radius distance in location group (e.g. MILES) -type LocationGroupRadiusUnitsEnum_LocationGroupRadiusUnits int32 - -const ( - // Not specified. - LocationGroupRadiusUnitsEnum_UNSPECIFIED LocationGroupRadiusUnitsEnum_LocationGroupRadiusUnits = 0 - // Used for return value only. Represents value unknown in this version. - LocationGroupRadiusUnitsEnum_UNKNOWN LocationGroupRadiusUnitsEnum_LocationGroupRadiusUnits = 1 - // Meters - LocationGroupRadiusUnitsEnum_METERS LocationGroupRadiusUnitsEnum_LocationGroupRadiusUnits = 2 - // Miles - LocationGroupRadiusUnitsEnum_MILES LocationGroupRadiusUnitsEnum_LocationGroupRadiusUnits = 3 -) - -var LocationGroupRadiusUnitsEnum_LocationGroupRadiusUnits_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "METERS", - 3: "MILES", -} - -var LocationGroupRadiusUnitsEnum_LocationGroupRadiusUnits_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "METERS": 2, - "MILES": 3, -} - -func (x LocationGroupRadiusUnitsEnum_LocationGroupRadiusUnits) String() string { - return proto.EnumName(LocationGroupRadiusUnitsEnum_LocationGroupRadiusUnits_name, int32(x)) -} - -func (LocationGroupRadiusUnitsEnum_LocationGroupRadiusUnits) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4d3468bd973fd435, []int{0, 0} -} - -// Container for enum describing unit of radius in location group. -type LocationGroupRadiusUnitsEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LocationGroupRadiusUnitsEnum) Reset() { *m = LocationGroupRadiusUnitsEnum{} } -func (m *LocationGroupRadiusUnitsEnum) String() string { return proto.CompactTextString(m) } -func (*LocationGroupRadiusUnitsEnum) ProtoMessage() {} -func (*LocationGroupRadiusUnitsEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_4d3468bd973fd435, []int{0} -} - -func (m *LocationGroupRadiusUnitsEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LocationGroupRadiusUnitsEnum.Unmarshal(m, b) -} -func (m *LocationGroupRadiusUnitsEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LocationGroupRadiusUnitsEnum.Marshal(b, m, deterministic) -} -func (m *LocationGroupRadiusUnitsEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocationGroupRadiusUnitsEnum.Merge(m, src) -} -func (m *LocationGroupRadiusUnitsEnum) XXX_Size() int { - return xxx_messageInfo_LocationGroupRadiusUnitsEnum.Size(m) -} -func (m *LocationGroupRadiusUnitsEnum) XXX_DiscardUnknown() { - xxx_messageInfo_LocationGroupRadiusUnitsEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_LocationGroupRadiusUnitsEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.LocationGroupRadiusUnitsEnum_LocationGroupRadiusUnits", LocationGroupRadiusUnitsEnum_LocationGroupRadiusUnits_name, LocationGroupRadiusUnitsEnum_LocationGroupRadiusUnits_value) - proto.RegisterType((*LocationGroupRadiusUnitsEnum)(nil), "google.ads.googleads.v1.enums.LocationGroupRadiusUnitsEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/location_group_radius_units.proto", fileDescriptor_4d3468bd973fd435) -} - -var fileDescriptor_4d3468bd973fd435 = []byte{ - // 314 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xcf, 0x6a, 0xf2, 0x40, - 0x14, 0xc5, 0x3f, 0x23, 0x9f, 0xa5, 0xe3, 0xa2, 0x21, 0xab, 0x52, 0x74, 0xa1, 0x0f, 0x30, 0x43, - 0xe8, 0x6e, 0xba,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86, 0x6d, 0x47, 0x57, 0x26, 0xf5, 0xaa, 0xf3, - 0x36, 0xa9, 0xf6, 0x25, 0x9c, 0xb8, 0x92, 0x18, 0x32, 0x49, 0xe4, 0x51, 0xd9, 0x37, 0xd5, 0x2d, - 0xa6, 0xb1, 0x6e, 0x29, 0xf5, 0xce, 0x7e, 0x3f, 0x9c, 0xee, 0x34, 0x08, 0x3e, 0x9d, 0xe1, 0xb4, - 0x44, 0x05, 0x42, 0xe3, 0x52, 0x1a, 0xb5, 0xf3, 0xb1, 0x29, 0x40, 0x7f, 0xd5, 0x7e, 0x14, 0x08, - 0x1d, 0x35, 0x7e, 0xb4, 0xf3, 0x23, 0xeb, 0x7f, 0x3b, 0xa3, 0xf2, 0x27, 0xa5, 0x81, 0xd0, 0x94, - 0x36, 0x13, 0x94, 0xee, 0x7c, 0x4a, 0xed, 0xcc, 0x7b, 0xcf, 0x06, 0xbb, 0xfd, 0x0d, 0x00, 0x00, - 0xff, 0xff, 0x92, 0x60, 0x22, 0x8a, 0xec, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/location_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/location_placeholder_field.pb.go deleted file mode 100644 index 9e7e0e89..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/location_placeholder_field.pb.go +++ /dev/null @@ -1,153 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/location_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible values for Location placeholder fields. -type LocationPlaceholderFieldEnum_LocationPlaceholderField int32 - -const ( - // Not specified. - LocationPlaceholderFieldEnum_UNSPECIFIED LocationPlaceholderFieldEnum_LocationPlaceholderField = 0 - // Used for return value only. Represents value unknown in this version. - LocationPlaceholderFieldEnum_UNKNOWN LocationPlaceholderFieldEnum_LocationPlaceholderField = 1 - // Data Type: STRING. The name of the business. - LocationPlaceholderFieldEnum_BUSINESS_NAME LocationPlaceholderFieldEnum_LocationPlaceholderField = 2 - // Data Type: STRING. Line 1 of the business address. - LocationPlaceholderFieldEnum_ADDRESS_LINE_1 LocationPlaceholderFieldEnum_LocationPlaceholderField = 3 - // Data Type: STRING. Line 2 of the business address. - LocationPlaceholderFieldEnum_ADDRESS_LINE_2 LocationPlaceholderFieldEnum_LocationPlaceholderField = 4 - // Data Type: STRING. City of the business address. - LocationPlaceholderFieldEnum_CITY LocationPlaceholderFieldEnum_LocationPlaceholderField = 5 - // Data Type: STRING. Province of the business address. - LocationPlaceholderFieldEnum_PROVINCE LocationPlaceholderFieldEnum_LocationPlaceholderField = 6 - // Data Type: STRING. Postal code of the business address. - LocationPlaceholderFieldEnum_POSTAL_CODE LocationPlaceholderFieldEnum_LocationPlaceholderField = 7 - // Data Type: STRING. Country code of the business address. - LocationPlaceholderFieldEnum_COUNTRY_CODE LocationPlaceholderFieldEnum_LocationPlaceholderField = 8 - // Data Type: STRING. Phone number of the business. - LocationPlaceholderFieldEnum_PHONE_NUMBER LocationPlaceholderFieldEnum_LocationPlaceholderField = 9 -) - -var LocationPlaceholderFieldEnum_LocationPlaceholderField_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "BUSINESS_NAME", - 3: "ADDRESS_LINE_1", - 4: "ADDRESS_LINE_2", - 5: "CITY", - 6: "PROVINCE", - 7: "POSTAL_CODE", - 8: "COUNTRY_CODE", - 9: "PHONE_NUMBER", -} - -var LocationPlaceholderFieldEnum_LocationPlaceholderField_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "BUSINESS_NAME": 2, - "ADDRESS_LINE_1": 3, - "ADDRESS_LINE_2": 4, - "CITY": 5, - "PROVINCE": 6, - "POSTAL_CODE": 7, - "COUNTRY_CODE": 8, - "PHONE_NUMBER": 9, -} - -func (x LocationPlaceholderFieldEnum_LocationPlaceholderField) String() string { - return proto.EnumName(LocationPlaceholderFieldEnum_LocationPlaceholderField_name, int32(x)) -} - -func (LocationPlaceholderFieldEnum_LocationPlaceholderField) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a7365260cf440eb7, []int{0, 0} -} - -// Values for Location placeholder fields. -type LocationPlaceholderFieldEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LocationPlaceholderFieldEnum) Reset() { *m = LocationPlaceholderFieldEnum{} } -func (m *LocationPlaceholderFieldEnum) String() string { return proto.CompactTextString(m) } -func (*LocationPlaceholderFieldEnum) ProtoMessage() {} -func (*LocationPlaceholderFieldEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_a7365260cf440eb7, []int{0} -} - -func (m *LocationPlaceholderFieldEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LocationPlaceholderFieldEnum.Unmarshal(m, b) -} -func (m *LocationPlaceholderFieldEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LocationPlaceholderFieldEnum.Marshal(b, m, deterministic) -} -func (m *LocationPlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocationPlaceholderFieldEnum.Merge(m, src) -} -func (m *LocationPlaceholderFieldEnum) XXX_Size() int { - return xxx_messageInfo_LocationPlaceholderFieldEnum.Size(m) -} -func (m *LocationPlaceholderFieldEnum) XXX_DiscardUnknown() { - xxx_messageInfo_LocationPlaceholderFieldEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_LocationPlaceholderFieldEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.LocationPlaceholderFieldEnum_LocationPlaceholderField", LocationPlaceholderFieldEnum_LocationPlaceholderField_name, LocationPlaceholderFieldEnum_LocationPlaceholderField_value) - proto.RegisterType((*LocationPlaceholderFieldEnum)(nil), "google.ads.googleads.v1.enums.LocationPlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/location_placeholder_field.proto", fileDescriptor_a7365260cf440eb7) -} - -var fileDescriptor_a7365260cf440eb7 = []byte{ - // 392 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xc1, 0xae, 0x93, 0x40, - 0x14, 0x15, 0xde, 0xf3, 0xbd, 0x3a, 0xef, 0xa9, 0xe3, 0xac, 0x8c, 0x69, 0x17, 0xed, 0x07, 0x0c, - 0x41, 0x77, 0x63, 0x62, 0x32, 0xc0, 0xb4, 0x12, 0xdb, 0x81, 0x40, 0xc1, 0xd4, 0x90, 0x10, 0x2c, - 0x88, 0x24, 0x94, 0x21, 0x9d, 0xb6, 0x1f, 0xe4, 0xd2, 0xaf, 0x70, 0xed, 0x5f, 0xb8, 0x75, 0xe9, - 0x17, 0x98, 0x81, 0xb6, 0x2e, 0x4c, 0xdf, 0x86, 0x9c, 0x9c, 0x7b, 0xcf, 0x39, 0xcc, 0xb9, 0xe0, - 0x5d, 0x29, 0x44, 0x59, 0x17, 0x46, 0x96, 0x4b, 0xa3, 0x87, 0x0a, 0x1d, 0x4c, 0xa3, 0x68, 0xf6, - 0x1b, 0x69, 0xd4, 0x62, 0x9d, 0xed, 0x2a, 0xd1, 0xa4, 0x6d, 0x9d, 0xad, 0x8b, 0xaf, 0xa2, 0xce, - 0x8b, 0x6d, 0xfa, 0xa5, 0x2a, 0xea, 0x1c, 0xb7, 0x5b, 0xb1, 0x13, 0x68, 0xd4, 0x8b, 0x70,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x4b, 0xa3, 0x2c, 0x9a, 0xae, 0xc6, 0xd3, 0xdd, 0xda, 0x4a, 0x5e, 0x38, - 0xe3, 0xdb, 0xee, 0xfb, 0x4d, 0xbf, 0x9a, 0x51, 0xfa, 0x5d, 0x1f, 0xcd, 0x7a, 0x2b, 0x9a, 0x4b, - 0xdc, 0x43, 0x85, 0x62, 0x13, 0xab, 0xca, 0xe5, 0xcf, 0xd3, 0x3c, 0xa1, 0xb9, 0x4c, 0xce, 0xf3, - 0x24, 0x36, 0x93, 0x6e, 0xfe, 0x5b, 0x1f, 0xf7, 0x24, 0x21, 0x34, 0x97, 0x84, 0x9c, 0x37, 0x08, - 0x89, 0x4d, 0x42, 0xba, 0x9d, 0xcf, 0x37, 0xdd, 0x8f, 0xbd, 0xf9, 0x1b, 0x00, 0x00, 0xff, 0xff, - 0x63, 0x67, 0x22, 0x40, 0x5e, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/manager_link_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/manager_link_status.pb.go deleted file mode 100644 index be4a2dec..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/manager_link_status.pb.go +++ /dev/null @@ -1,139 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/manager_link_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_e8f80561365406c5, []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_e8f80561365406c5, []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 (m *ManagerLinkStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ManagerLinkStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.ManagerLinkStatusEnum_ManagerLinkStatus", ManagerLinkStatusEnum_ManagerLinkStatus_name, ManagerLinkStatusEnum_ManagerLinkStatus_value) - proto.RegisterType((*ManagerLinkStatusEnum)(nil), "google.ads.googleads.v1.enums.ManagerLinkStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/manager_link_status.proto", fileDescriptor_e8f80561365406c5) -} - -var fileDescriptor_e8f80561365406c5 = []byte{ - // 335 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdf, 0x4a, 0xfb, 0x30, - 0x14, 0xfe, 0xb5, 0xfb, 0x39, 0x25, 0x13, 0xac, 0x05, 0xbd, 0x10, 0x77, 0xb1, 0x3d, 0x40, 0x4a, - 0xf1, 0x42, 0x88, 0x57, 0x59, 0x9b, 0x8d, 0xe2, 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x19, 0x93, - 0xd0, 0x69, 0x0f, 0xbe, 0x2d, 0xd0, 0x7b, 0x95, 0x25, 0xfc, 0xf3, 0xa4, 0xc1, 0xf9, 0xde, 0x62, - 0xb1, 0x3e, 0x26, 0xb6, 0x9e, 0x07, 0x5b, 0x23, 0x97, 0x0b, 0x26, 0x38, 0x94, 0x2b, 0xee, 0xf1, - 0x5c, 0x98, 0x53, 0x77, 0xa5, 0x2e, 0x0b, 0xf5, 0x4b, 0xc7, 0x37, 0xe6, 0x7d, 0xb7, 0x5b, 0x23, - 0x8c, 0x3f, 0xec, 0xee, 0xa8, 0x8e, 0xc2, 0x99, 0x82, 0x35, 0xd4, 0x28, 0xf1, 0xa1, 0x6e, 0x47, - 0x7d, 0xee, 0xf8, 0x14, 0x67, 0x2a, 0x6d, 0xf8, 0x34, 0xf1, 0x53, 0xc3, 0x7f, 0xd9, 0xbd, 0xfa, - 0x13, 0x21, 0x9c, 0x29, 0x84, 0x1a, 0x05, 0x42, 0x89, 0x8f, 0x90, 0xd1, 0xbc, 0xb4, 0xcd, 0x62, - 0x57, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x4a, 0x76, 0xf8, 0xde, 0xfb, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/matching_function_context_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/matching_function_context_type.pb.go deleted file mode 100644 index 18a8c7d8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/matching_function_context_type.pb.go +++ /dev/null @@ -1,125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/matching_function_context_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible context types for an operand in a matching function. -type MatchingFunctionContextTypeEnum_MatchingFunctionContextType int32 - -const ( - // Not specified. - MatchingFunctionContextTypeEnum_UNSPECIFIED MatchingFunctionContextTypeEnum_MatchingFunctionContextType = 0 - // Used for return value only. Represents value unknown in this version. - MatchingFunctionContextTypeEnum_UNKNOWN MatchingFunctionContextTypeEnum_MatchingFunctionContextType = 1 - // Feed item id in the request context. - MatchingFunctionContextTypeEnum_FEED_ITEM_ID MatchingFunctionContextTypeEnum_MatchingFunctionContextType = 2 - // The device being used (possible values are 'Desktop' or 'Mobile'). - MatchingFunctionContextTypeEnum_DEVICE_NAME MatchingFunctionContextTypeEnum_MatchingFunctionContextType = 3 -) - -var MatchingFunctionContextTypeEnum_MatchingFunctionContextType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "FEED_ITEM_ID", - 3: "DEVICE_NAME", -} - -var MatchingFunctionContextTypeEnum_MatchingFunctionContextType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "FEED_ITEM_ID": 2, - "DEVICE_NAME": 3, -} - -func (x MatchingFunctionContextTypeEnum_MatchingFunctionContextType) String() string { - return proto.EnumName(MatchingFunctionContextTypeEnum_MatchingFunctionContextType_name, int32(x)) -} - -func (MatchingFunctionContextTypeEnum_MatchingFunctionContextType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_937b7f083ab86e9c, []int{0, 0} -} - -// Container for context types for an operand in a matching function. -type MatchingFunctionContextTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MatchingFunctionContextTypeEnum) Reset() { *m = MatchingFunctionContextTypeEnum{} } -func (m *MatchingFunctionContextTypeEnum) String() string { return proto.CompactTextString(m) } -func (*MatchingFunctionContextTypeEnum) ProtoMessage() {} -func (*MatchingFunctionContextTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_937b7f083ab86e9c, []int{0} -} - -func (m *MatchingFunctionContextTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MatchingFunctionContextTypeEnum.Unmarshal(m, b) -} -func (m *MatchingFunctionContextTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MatchingFunctionContextTypeEnum.Marshal(b, m, deterministic) -} -func (m *MatchingFunctionContextTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_MatchingFunctionContextTypeEnum.Merge(m, src) -} -func (m *MatchingFunctionContextTypeEnum) XXX_Size() int { - return xxx_messageInfo_MatchingFunctionContextTypeEnum.Size(m) -} -func (m *MatchingFunctionContextTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_MatchingFunctionContextTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_MatchingFunctionContextTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.MatchingFunctionContextTypeEnum_MatchingFunctionContextType", MatchingFunctionContextTypeEnum_MatchingFunctionContextType_name, MatchingFunctionContextTypeEnum_MatchingFunctionContextType_value) - proto.RegisterType((*MatchingFunctionContextTypeEnum)(nil), "google.ads.googleads.v1.enums.MatchingFunctionContextTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/matching_function_context_type.proto", fileDescriptor_937b7f083ab86e9c) -} - -var fileDescriptor_937b7f083ab86e9c = []byte{ - // 326 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x41, 0x4b, 0xc3, 0x30, - 0x18, 0xb5, 0x1d, 0x28, 0x64, 0x82, 0xa5, 0x47, 0x75, 0xe8, 0xf6, 0x03, 0x52, 0x8a, 0xb7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, 0x2c, 0x0e, 0xa6, 0xd8, 0xe9, 0x0c, 0x7f, 0x2d, 0xd0, 0x2f, 0x78, 0x0d, - 0x5b, 0x73, 0x0c, 0xaf, 0x5b, 0x6e, 0x98, 0xa9, 0x2c, 0x33, 0xeb, 0x69, 0x57, 0x27, 0xa4, 0x7c, - 0x99, 0x33, 0x0a, 0xf9, 0x8a, 0x7a, 0x94, 0x30, 0x9d, 0x74, 0x5f, 0x6f, 0x53, 0x89, 0x7f, 0xda, - 0xbe, 0xd5, 0xef, 0xa7, 0xdd, 0x99, 0x04, 0xc1, 0x97, 0xdd, 0x9b, 0x18, 0xa9, 0xa0, 0x14, 0xd0, - 0x40, 0x85, 0x12, 0x1f, 0xaa, 0x4a, 0xc4, 0xf7, 0x7e, 0x9e, 0x06, 0xa5, 0x48, 0x0f, 0xf3, 0x34, - 0xf1, 0x53, 0x3d, 0xff, 0xb1, 0xfb, 0xe6, 0x13, 0xa1, 0xa0, 0x14, 0x08, 0x1d, 0x18, 0x08, 0x25, - 0x3e, 0x42, 0x9a, 0xf3, 0x72, 0xac, 0x0f, 0xbb, 0xf9, 0x0b, 0x00, 0x00, 0xff, 0xff, 0xea, 0x26, - 0xb5, 0xd3, 0x05, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/matching_function_operator.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/matching_function_operator.pb.go deleted file mode 100644 index 1db6da60..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/matching_function_operator.pb.go +++ /dev/null @@ -1,144 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/matching_function_operator.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible operators in a matching function. -type MatchingFunctionOperatorEnum_MatchingFunctionOperator int32 - -const ( - // Not specified. - MatchingFunctionOperatorEnum_UNSPECIFIED MatchingFunctionOperatorEnum_MatchingFunctionOperator = 0 - // Used for return value only. Represents value unknown in this version. - MatchingFunctionOperatorEnum_UNKNOWN MatchingFunctionOperatorEnum_MatchingFunctionOperator = 1 - // The IN operator. - MatchingFunctionOperatorEnum_IN MatchingFunctionOperatorEnum_MatchingFunctionOperator = 2 - // The IDENTITY operator. - MatchingFunctionOperatorEnum_IDENTITY MatchingFunctionOperatorEnum_MatchingFunctionOperator = 3 - // The EQUALS operator - MatchingFunctionOperatorEnum_EQUALS MatchingFunctionOperatorEnum_MatchingFunctionOperator = 4 - // Operator that takes two or more operands that are of type - // FunctionOperand and checks that all the operands evaluate to true. - // For functions related to ad formats, all the operands must be in - // left_operands. - MatchingFunctionOperatorEnum_AND MatchingFunctionOperatorEnum_MatchingFunctionOperator = 5 - // Operator that returns true if the elements in left_operands contain any - // of the elements in right_operands. Otherwise, return false. The - // right_operands must contain at least 1 and no more than 3 - // ConstantOperands. - MatchingFunctionOperatorEnum_CONTAINS_ANY MatchingFunctionOperatorEnum_MatchingFunctionOperator = 6 -) - -var MatchingFunctionOperatorEnum_MatchingFunctionOperator_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "IN", - 3: "IDENTITY", - 4: "EQUALS", - 5: "AND", - 6: "CONTAINS_ANY", -} - -var MatchingFunctionOperatorEnum_MatchingFunctionOperator_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "IN": 2, - "IDENTITY": 3, - "EQUALS": 4, - "AND": 5, - "CONTAINS_ANY": 6, -} - -func (x MatchingFunctionOperatorEnum_MatchingFunctionOperator) String() string { - return proto.EnumName(MatchingFunctionOperatorEnum_MatchingFunctionOperator_name, int32(x)) -} - -func (MatchingFunctionOperatorEnum_MatchingFunctionOperator) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_783bfd6aa74ae209, []int{0, 0} -} - -// Container for enum describing matching function operator. -type MatchingFunctionOperatorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MatchingFunctionOperatorEnum) Reset() { *m = MatchingFunctionOperatorEnum{} } -func (m *MatchingFunctionOperatorEnum) String() string { return proto.CompactTextString(m) } -func (*MatchingFunctionOperatorEnum) ProtoMessage() {} -func (*MatchingFunctionOperatorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_783bfd6aa74ae209, []int{0} -} - -func (m *MatchingFunctionOperatorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MatchingFunctionOperatorEnum.Unmarshal(m, b) -} -func (m *MatchingFunctionOperatorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MatchingFunctionOperatorEnum.Marshal(b, m, deterministic) -} -func (m *MatchingFunctionOperatorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_MatchingFunctionOperatorEnum.Merge(m, src) -} -func (m *MatchingFunctionOperatorEnum) XXX_Size() int { - return xxx_messageInfo_MatchingFunctionOperatorEnum.Size(m) -} -func (m *MatchingFunctionOperatorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_MatchingFunctionOperatorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_MatchingFunctionOperatorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.MatchingFunctionOperatorEnum_MatchingFunctionOperator", MatchingFunctionOperatorEnum_MatchingFunctionOperator_name, MatchingFunctionOperatorEnum_MatchingFunctionOperator_value) - proto.RegisterType((*MatchingFunctionOperatorEnum)(nil), "google.ads.googleads.v1.enums.MatchingFunctionOperatorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/matching_function_operator.proto", fileDescriptor_783bfd6aa74ae209) -} - -var fileDescriptor_783bfd6aa74ae209 = []byte{ - // 345 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x4d, 0x6a, 0xf3, 0x30, - 0x14, 0xfc, 0xec, 0x7c, 0x75, 0x8a, 0x12, 0xa8, 0xd0, 0xaa, 0x94, 0x64, 0x91, 0x1c, 0x40, 0xc6, - 0x74, 0xa7, 0x42, 0x41, 0x49, 0x9c, 0x60, 0xda, 0x2a, 0x29, 0xf9, 0x29, 0x29, 0x86, 0xa0, 0xc6, - 0xae, 0x6a, 0x88, 0x25, 0x63, 0xd9, 0xb9, 0x49, 0x2f, 0xd0, 0x65, 0x8f, 0xd2, 0xa3, 0x74, 0xd9, - 0x13, 0x14, 0xff, 0x24, 0xbb, 0x74, 0x23, 0x06, 0xcd, 0x9b, 0x79, 0x6f, 0x06, 0xdc, 0x0a, 0xa5, - 0xc4, 0x2e, 0xb4, 0x79, 0xa0, 0xed, 0x0a, 0x16, 0x68, 0xef, 0xd8, 0xa1, 0xcc, 0x63, 0x6d, 0xc7, - 0x3c, 0xdb, 0xbe, 0x45, 0x52, 0x6c, 0x5e, 0x73, 0xb9, 0xcd, 0x22, 0x25, 0x37, 0x2a, 0x09, 0x53, - 0x9e, 0xa9, 0x14, 0x27, 0xa9, 0xca, 0x14, 0xea, 0x56, 0x22, 0xcc, 0x03, 0x8d, 0x8f, 0x7a, 0xbc, - 0x77, 0x70, 0xa9, 0xbf, 0xea, 0x1c, 0xec, 0x93, 0xc8, 0xe6, 0x52, 0xaa, 0x8c, 0x17, 0x26, 0xba, - 0x12, 0xf7, 0xdf, 0x0d, 0xd0, 0x79, 0xa8, 0x37, 0x8c, 0xeb, 0x05, 0xd3, 0xda, 0xdf, 0x95, 0x79, - 0xdc, 0xcf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0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/media_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/media_type.pb.go deleted file mode 100644 index c334f22c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/media_type.pb.go +++ /dev/null @@ -1,144 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/media_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_6855a55699a4ce91, []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_6855a55699a4ce91, []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 (m *MediaTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_MediaTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.MediaTypeEnum_MediaType", MediaTypeEnum_MediaType_name, MediaTypeEnum_MediaType_value) - proto.RegisterType((*MediaTypeEnum)(nil), "google.ads.googleads.v1.enums.MediaTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/media_type.proto", fileDescriptor_6855a55699a4ce91) -} - -var fileDescriptor_6855a55699a4ce91 = []byte{ - // 338 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x4f, 0x4e, 0x83, 0x40, - 0x18, 0xc5, 0x85, 0xfe, 0xb3, 0x53, 0xab, 0x23, 0x4b, 0x63, 0x17, 0xed, 0x01, 0x86, 0x10, 0x77, - 0xe3, 0x6a, 0x28, 0xd8, 0x4c, 0x14, 0x68, 0xa2, 0x60, 0x34, 0x24, 0x0d, 0x0a, 0x21, 0x24, 0x65, - 0x86, 0x74, 0x68, 0x93, 0x5e, 0xc1, 0x63, 0xb8, 0xf4, 0x28, 0x5e, 0xc3, 0x9d, 0xa7, 0x30, 0xc3, - 0x58, 0x76, 0xba, 0x99, 0xbc, 0xcc, 0xf7, 0xfb, 0x5e, 0xbe, 0xf7, 0x00, 0xca, 0x39, 0xcf, 0xd7, - 0x99, 0x99, 0xa4, 0xc2, 0x54, 0x52, 0xaa, 0x9d, 0x65, 0x66, 0x6c, 0x5b, 0x0a, 0xb3, 0xcc, 0xd2, - 0x22, 0x59, 0xd5, 0xfb, 0x2a, 0x43, 0xd5, 0x86, 0xd7, 0xdc, 0x98, 0x28, 0x08, 0x25, 0xa9, 0x40, - 0x2d, 0x8f, 0x76, 0x16, 0x6a, 0xf8, 0x8b, 0xcb, 0x83, 0x5d, 0x55, 0x98, 0x09, 0x63, 0xbc, 0x4e, - 0xea, 0x82, 0x33, 0xa1, 0x96, 0x67, 0x6f, 0x1a, 0x18, 0x7b, 0xd2, 0xf1, 0x61, 0x5f, 0x65, 0x2e, - 0xdb, 0x96, 0xb3, 0x3d, 0x18, 0xb6, 0x1f, 0xc6, 0x19, 0x18, 0x85, 0xfe, 0xfd, 0xd2, 0x9d, 0xd3, - 0x1b, 0xea, 0x3a, 0xf0, 0xc8, 0x18, 0x81, 0x41, 0xe8, 0xdf, 0xfa, 0xc1, 0xa3, 0x0f, 0x35, 0x63, - 0x08, 0x7a, 0xd4, 0x23, 0x0b, 0x17, 0xea, 0xc6, 0x31, 0xe8, 0xd2, 0x79, 0xe0, 0xc3, 0x8e, 0x01, - 0xc1, 0x89, 0xe7, 0x3a, 0x94, 0xac, 0xec, 0xd0, 0x77, 0xee, 0x5c, 0xd8, 0x95, 0x18, 0x09, 0x1d, - 0x1a, 0xc0, 0x9e, 0x94, 0x11, 0x75, 0xdc, 0x00, 0xf6, 0x8d, 0x73, 0x30, 0x76, 0x9e, 0x7c, 0xe2, - 0xd1, 0xf9, 0x4a, 0x99, 0x0c, 0xec, 0x2f, 0x0d, 0x4c, 0x5f, 0x79, 0x89, 0xfe, 0x0d, 0x64, 0x9f, - 0xb6, 0xe7, 0x2d, 0x65, 0x84, 0xa5, 0xf6, 0x6c, 0xff, 0x2e, 0xe4, 0x7c, 0x9d, 0xb0, 0x1c, 0xf1, - 0x4d, 0x6e, 0xe6, 0x19, 0x6b, 0x02, 0x1e, 0x1a, 0xac, 0x0a, 0xf1, 0x47, 0xa1, 0xd7, 0xcd, 0xfb, - 0xae, 0x77, 0x16, 0x84, 0x7c, 0xe8, 0x93, 0x85, 0xb2, 0x22, 0xa9, 0x40, 0x4a, 0x4a, 0x15, 0x59, - 0x48, 0x76, 0x23, 0x3e, 0x0f, 0xf3, 0x98, 0xa4, 0x22, 0x6e, 0xe7, 0x71, 0x64, 0xc5, 0xcd, 0xfc, - 0x5b, 0x9f, 0xaa, 0x4f, 0x8c, 0x49, 0x2a, 0x30, 0x6e, 0x09, 0x8c, 0x23, 0x0b, 0xe3, 0x86, 0x79, - 0xe9, 0x37, 0x87, 0x5d, 0xfd, 0x04, 0x00, 0x00, 0xff, 0xff, 0x4b, 0xd1, 0x03, 0x89, 0xe8, 0x01, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/merchant_center_link_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/merchant_center_link_status.pb.go deleted file mode 100644 index 2a62ee46..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/merchant_center_link_status.pb.go +++ /dev/null @@ -1,127 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/merchant_center_link_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Describes the possible statuses for a link between a Google Ads customer -// and a Google Merchant Center account. -type MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus int32 - -const ( - // Not specified. - MerchantCenterLinkStatusEnum_UNSPECIFIED MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus = 0 - // Used for return value only. Represents value unknown in this version. - MerchantCenterLinkStatusEnum_UNKNOWN MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus = 1 - // The link is enabled. - MerchantCenterLinkStatusEnum_ENABLED MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus = 2 - // The link has no effect. It was proposed by the Merchant Center Account - // owner and hasn't been confirmed by the customer. - MerchantCenterLinkStatusEnum_PENDING MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus = 3 -) - -var MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "ENABLED", - 3: "PENDING", -} - -var MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "ENABLED": 2, - "PENDING": 3, -} - -func (x MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus) String() string { - return proto.EnumName(MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus_name, int32(x)) -} - -func (MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_3ca4362a21bcb5aa, []int{0, 0} -} - -// Container for enum describing possible statuses of a Google Merchant Center -// link. -type MerchantCenterLinkStatusEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MerchantCenterLinkStatusEnum) Reset() { *m = MerchantCenterLinkStatusEnum{} } -func (m *MerchantCenterLinkStatusEnum) String() string { return proto.CompactTextString(m) } -func (*MerchantCenterLinkStatusEnum) ProtoMessage() {} -func (*MerchantCenterLinkStatusEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_3ca4362a21bcb5aa, []int{0} -} - -func (m *MerchantCenterLinkStatusEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MerchantCenterLinkStatusEnum.Unmarshal(m, b) -} -func (m *MerchantCenterLinkStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MerchantCenterLinkStatusEnum.Marshal(b, m, deterministic) -} -func (m *MerchantCenterLinkStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_MerchantCenterLinkStatusEnum.Merge(m, src) -} -func (m *MerchantCenterLinkStatusEnum) XXX_Size() int { - return xxx_messageInfo_MerchantCenterLinkStatusEnum.Size(m) -} -func (m *MerchantCenterLinkStatusEnum) XXX_DiscardUnknown() { - xxx_messageInfo_MerchantCenterLinkStatusEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_MerchantCenterLinkStatusEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus", MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus_name, MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus_value) - proto.RegisterType((*MerchantCenterLinkStatusEnum)(nil), "google.ads.googleads.v1.enums.MerchantCenterLinkStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/merchant_center_link_status.proto", fileDescriptor_3ca4362a21bcb5aa) -} - -var fileDescriptor_3ca4362a21bcb5aa = []byte{ - // 315 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x41, 0x6a, 0xeb, 0x30, - 0x14, 0xfc, 0x71, 0xe0, 0x17, 0x94, 0x45, 0x4d, 0x56, 0xa5, 0x24, 0x8b, 0xe4, 0x00, 0x12, 0xa6, - 0x3b, 0x75, 0x51, 0xe4, 0x44, 0x0d, 0xa1, 0xa9, 0x6a, 0x1a, 0x92, 0x42, 0x31, 0x04, 0x35, 0x16, - 0xaa, 0x49, 0x2c, 0x05, 0x4b, 0xc9, 0x81, 0xba, 0xec, 0x51, 0x7a, 0x94, 0x2e, 0x7b, 0x82, 0x22, - 0x39, 0xf6, 0xce, 0xdd, 0x98, 0x79, 0x9e, 0xf7, 0x66, 0x46, 0x03, 0xee, 0xa4, 0xd6, 0x72, 0x2f, - 0x10, 0xcf, 0x0c, 0xaa, 0xa0, 0x43, 0xa7, 0x08, 0x09, 0x75, 0x2c, 0x0c, 0x2a, 0x44, 0xb9, 0x7d, - 0xe7, 0xca, 0x6e, 0xb6, 0x42, 0x59, 0x51, 0x6e, 0xf6, 0xb9, 0xda, 0x6d, 0x8c, 0xe5, 0xf6, 0x68, - 0xe0, 0xa1, 0xd4, 0x56, 0xf7, 0x87, 0xd5, 0x15, 0xe4, 0x99, 0x81, 0x8d, 0x00, 0x3c, 0x45, 0xd0, - 0x0b, 0x5c, 0x0f, 0x6a, 0xfd, 0x43, 0x8e, 0xb8, 0x52, 0xda, 0x72, 0x9b, 0x6b, 0x75, 0x3e, 0x1e, - 0x97, 0x60, 0xf0, 0x78, 0x76, 0x98, 0x78, 0x83, 0x45, 0xae, 0x76, 0x4b, 0x2f, 0x4f, 0xd5, 0xb1, - 0x18, 0x3f, 0x83, 0xab, 0x36, 0xbe, 0x7f, 0x09, 0x7a, 0x2b, 0xb6, 0x4c, 0xe8, 0x64, 0x7e, 0x3f, - 0xa7, 0xd3, 0xf0, 0x5f, 0xbf, 0x07, 0x2e, 0x56, 0xec, 0x81, 0x3d, 0xbd, 0xb0, 0xb0, 0xe3, 0x06, - 0xca, 0x48, 0xbc, 0xa0, 0xd3, 0x30, 0x70, 0x43, 0x42, 0xd9, 0x74, 0xce, 0x66, 0x61, 0x37, 0xfe, - 0xe9, 0x80, 0xd1, 0x56, 0x17, 0xf0, 0xcf, 0xdc, 0xf1, 0xb0, 0xcd, 0x37, 0x71, 0xc1, 0x93, 0xce, - 0x6b, 0x7c, 0xbe, 0x97, 0x7a, 0xcf, 0x95, 0x84, 0xba, 0x94, 0x48, 0x0a, 0xe5, 0x9f, 0x55, 0x17, - 0x79, 0xc8, 0x4d, 0x4b, 0xaf, 0xb7, 0xfe, 0xfb, 0x11, 0x74, 0x67, 0x84, 0x7c, 0x06, 0xc3, 0x59, - 0x25, 0x45, 0x32, 0x03, 0x2b, 0xe8, 0xd0, 0x3a, 0x82, 0xae, 0x03, 0xf3, 0x55, 0xf3, 0x29, 0xc9, - 0x4c, 0xda, 0xf0, 0xe9, 0x3a, 0x4a, 0x3d, 0xff, 0x1d, 0x8c, 0xaa, 0x9f, 0x18, 0x93, 0xcc, 0x60, - 0xdc, 0x6c, 0x60, 0xbc, 0x8e, 0x30, 0xf6, 0x3b, 0x6f, 0xff, 0x7d, 0xb0, 0x9b, 0xdf, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x17, 0xd0, 0xaf, 0x66, 0xef, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/message_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/message_placeholder_field.pb.go deleted file mode 100644 index 7bfdb2ae..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/message_placeholder_field.pb.go +++ /dev/null @@ -1,142 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/message_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_854ce0923e797876, []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_854ce0923e797876, []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 (m *MessagePlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_MessagePlaceholderFieldEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.MessagePlaceholderFieldEnum_MessagePlaceholderField", MessagePlaceholderFieldEnum_MessagePlaceholderField_name, MessagePlaceholderFieldEnum_MessagePlaceholderField_value) - proto.RegisterType((*MessagePlaceholderFieldEnum)(nil), "google.ads.googleads.v1.enums.MessagePlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/message_placeholder_field.proto", fileDescriptor_854ce0923e797876) -} - -var fileDescriptor_854ce0923e797876 = []byte{ - // 370 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0x4f, 0x4e, 0xb3, 0x40, - 0x1c, 0xfd, 0xa0, 0x9f, 0x35, 0x99, 0x6a, 0x44, 0x16, 0x9a, 0xd4, 0x76, 0xd1, 0x1e, 0x60, 0x08, - 0x71, 0x37, 0xc6, 0x05, 0xb4, 0xd3, 0x4a, 0x0c, 0x03, 0x29, 0x50, 0xab, 0x21, 0x21, 0x58, 0x46, - 0x24, 0x01, 0x86, 0x74, 0xda, 0x9e, 0xc6, 0x95, 0x4b, 0xcf, 0xe0, 0x09, 0x3c, 0x8a, 0x3b, 0x6f, - 0x60, 0x00, 0xa9, 0xab, 0xba, 0x99, 0xbc, 0xfc, 0xde, 0x9f, 0x99, 0x79, 0x3f, 0x70, 0x1d, 0x33, - 0x16, 0xa7, 0x54, 0x09, 0x23, 0xae, 0xd4, 0xb0, 0x44, 0x5b, 0x55, 0xa1, 0xf9, 0x26, 0xe3, 0x4a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x1e, 0xf4, 0x1f, 0x7b, 0xcc, 0xd2, 0x30, 0x8f, 0x21, 0x5b, 0xc5, - 0x4a, 0x4c, 0xf3, 0xaa, 0xa0, 0x66, 0x21, 0x45, 0xc2, 0xf7, 0xec, 0xe7, 0xaa, 0x3a, 0x5f, 0xc5, - 0xd6, 0x54, 0xd3, 0xde, 0xc4, 0xfe, 0xb4, 0x8e, 0xd2, 0x22, 0x0e, 0x6b, 0x58, 0xa2, 0xb9, 0x0a, - 0xcb, 0x36, 0xf9, 0x47, 0xc3, 0xfb, 0x5a, 0xc4, 0xfd, 0x1d, 0xef, 0xcf, 0x55, 0xbf, 0xe2, 0x3f, - 0xc5, 0x41, 0x3d, 0x44, 0x48, 0x8b, 0x38, 0x42, 0x3b, 0x05, 0x42, 0x73, 0x15, 0xa1, 0x4a, 0xf3, - 0xd8, 0xae, 0x1e, 0x76, 0xf9, 0x1d, 0x00, 0x00, 0xff, 0xff, 0xea, 0xa9, 0x43, 0xed, 0x37, 0x02, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/mime_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/mime_type.pb.go deleted file mode 100644 index 4e18a1dd..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/mime_type.pb.go +++ /dev/null @@ -1,171 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/mime_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_247053ac99562566, []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_247053ac99562566, []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 (m *MimeTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_MimeTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.MimeTypeEnum_MimeType", MimeTypeEnum_MimeType_name, MimeTypeEnum_MimeType_value) - proto.RegisterType((*MimeTypeEnum)(nil), "google.ads.googleads.v1.enums.MimeTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/mime_type.proto", fileDescriptor_247053ac99562566) -} - -var fileDescriptor_247053ac99562566 = []byte{ - // 396 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xc1, 0x6e, 0x9b, 0x40, - 0x10, 0x86, 0x0b, 0x6e, 0xec, 0x78, 0x6d, 0xb7, 0xab, 0x3d, 0x56, 0xcd, 0x21, 0xb9, 0x77, 0x11, - 0x8a, 0x7a, 0xd9, 0x9e, 0xd6, 0x61, 0x21, 0xb4, 0x06, 0xaf, 0x02, 0xc6, 0x51, 0x84, 0x84, 0x68, - 0x41, 0x08, 0x29, 0xb0, 0xc8, 0x8b, 0x2d, 0xf9, 0x75, 0x7a, 0xec, 0xa3, 0xb4, 0xaf, 0xd0, 0x53, - 0x8f, 0x7d, 0x8a, 0x6a, 0xa1, 0xd8, 0xa7, 0xf6, 0x82, 0xfe, 0x99, 0xff, 0x9b, 0x01, 0xfe, 0x01, - 0xef, 0x0a, 0x21, 0x8a, 0xe7, 0xdc, 0x48, 0x33, 0x69, 0xf4, 0x52, 0xa9, 0x83, 0x69, 0xe4, 0xf5, - 0xbe, 0x92, 0x46, 0x55, 0x56, 0x79, 0xd2, 0x1e, 0x9b, 0x1c, 0x37, 0x3b, 0xd1, 0x0a, 0x74, 0xd5, - 0x33, 0x38, 0xcd, 0x24, 0x3e, 0xe1, 0xf8, 0x60, 0xe2, 0x0e, 0x7f, 0xf3, 0x76, 0xd8, 0xd6, 0x94, - 0x46, 0x5a, 0xd7, 0xa2, 0x4d, 0xdb, 0x52, 0xd4, 0xb2, 0x1f, 0xbe, 0xf9, 0xa9, 0x81, 0xb9, 0x57, - 0x56, 0x79, 0x78, 0x6c, 0x72, 0x56, 0xef, 0xab, 0x9b, 0x1f, 0x1a, 0xb8, 0x1c, 0x1a, 0xe8, 0x35, - 0x98, 0x6d, 0xfc, 0x80, 0xb3, 0x3b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0x5b, 0x7e, 0x1f, 0xfc, 0x98, - 0x66, 0x32, 0x3e, 0xf9, 0x71, 0x64, 0xc6, 0x9d, 0xff, 0x5b, 0xbf, 0xee, 0x9b, 0x84, 0xd0, 0x4c, - 0x12, 0x72, 0x22, 0x08, 0x89, 0x4c, 0x42, 0x3a, 0xe6, 0xf3, 0xb8, 0xfb, 0xb0, 0xdb, 0x3f, 0x01, - 0x00, 0x00, 0xff, 0xff, 0xc4, 0xe8, 0xbe, 0x08, 0x38, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/minute_of_hour.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/minute_of_hour.pb.go deleted file mode 100644 index 6c184c56..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/minute_of_hour.pb.go +++ /dev/null @@ -1,133 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/minute_of_hour.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_8fd8f371ee9dca04, []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_8fd8f371ee9dca04, []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 (m *MinuteOfHourEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_MinuteOfHourEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.MinuteOfHourEnum_MinuteOfHour", MinuteOfHourEnum_MinuteOfHour_name, MinuteOfHourEnum_MinuteOfHour_value) - proto.RegisterType((*MinuteOfHourEnum)(nil), "google.ads.googleads.v1.enums.MinuteOfHourEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/minute_of_hour.proto", fileDescriptor_8fd8f371ee9dca04) -} - -var fileDescriptor_8fd8f371ee9dca04 = []byte{ - // 323 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x4f, 0x4e, 0xf2, 0x40, - 0x1c, 0xfd, 0x28, 0x7c, 0x68, 0x06, 0xa3, 0x63, 0x97, 0x46, 0x16, 0x70, 0x80, 0x69, 0xaa, 0xbb, - 0x71, 0x55, 0x74, 0x0a, 0x8d, 0xb1, 0x25, 0x58, 0x6a, 0x20, 0x4d, 0x9a, 0x6a, 0x4b, 0x6d, 0x42, - 0xe7, 0x47, 0x3a, 0x2d, 0x07, 0x72, 0xe9, 0x51, 0x3c, 0x88, 0x0b, 0x4f, 0x61, 0x3a, 0x23, 0x84, - 0x8d, 0x6e, 0x26, 0x2f, 0xbf, 0xf7, 0x27, 0x6f, 0x1e, 0xba, 0xca, 0x00, 0xb2, 0x75, 0x6a, 0xc4, - 0x89, 0x30, 0x14, 0x6c, 0xd0, 0xd6, 0x34, 0x52, 0x5e, 0x17, 0xc2, 0x28, 0x72, 0x5e, 0x57, 0x69, - 0x04, 0xab, 0xe8, 0x15, 0xea, 0x92, 0x6c, 0x4a, 0xa8, 0x40, 0xef, 0x2b, 0x21, 0x89, 0x13, 0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0xd4, 0x4a, 0x04, 0xa5, 0x7b, 0x05, 0xa5, 0x81, 0x49, 0xa9, 0xd4, - 0x3c, 0x77, 0x65, 0xb1, 0xeb, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x63, 0xe0, 0x63, 0x00, 0xd7, - 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/mobile_device_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/mobile_device_type.pb.go deleted file mode 100644 index 06115dbf..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/mobile_device_type.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/mobile_device_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The type of mobile device. -type MobileDeviceTypeEnum_MobileDeviceType int32 - -const ( - // Not specified. - MobileDeviceTypeEnum_UNSPECIFIED MobileDeviceTypeEnum_MobileDeviceType = 0 - // Used for return value only. Represents value unknown in this version. - MobileDeviceTypeEnum_UNKNOWN MobileDeviceTypeEnum_MobileDeviceType = 1 - // Mobile phones. - MobileDeviceTypeEnum_MOBILE MobileDeviceTypeEnum_MobileDeviceType = 2 - // Tablets. - MobileDeviceTypeEnum_TABLET MobileDeviceTypeEnum_MobileDeviceType = 3 -) - -var MobileDeviceTypeEnum_MobileDeviceType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "MOBILE", - 3: "TABLET", -} - -var MobileDeviceTypeEnum_MobileDeviceType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "MOBILE": 2, - "TABLET": 3, -} - -func (x MobileDeviceTypeEnum_MobileDeviceType) String() string { - return proto.EnumName(MobileDeviceTypeEnum_MobileDeviceType_name, int32(x)) -} - -func (MobileDeviceTypeEnum_MobileDeviceType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_fa061ddb5d52e233, []int{0, 0} -} - -// Container for enum describing the types of mobile device. -type MobileDeviceTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MobileDeviceTypeEnum) Reset() { *m = MobileDeviceTypeEnum{} } -func (m *MobileDeviceTypeEnum) String() string { return proto.CompactTextString(m) } -func (*MobileDeviceTypeEnum) ProtoMessage() {} -func (*MobileDeviceTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_fa061ddb5d52e233, []int{0} -} - -func (m *MobileDeviceTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MobileDeviceTypeEnum.Unmarshal(m, b) -} -func (m *MobileDeviceTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MobileDeviceTypeEnum.Marshal(b, m, deterministic) -} -func (m *MobileDeviceTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_MobileDeviceTypeEnum.Merge(m, src) -} -func (m *MobileDeviceTypeEnum) XXX_Size() int { - return xxx_messageInfo_MobileDeviceTypeEnum.Size(m) -} -func (m *MobileDeviceTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_MobileDeviceTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_MobileDeviceTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.MobileDeviceTypeEnum_MobileDeviceType", MobileDeviceTypeEnum_MobileDeviceType_name, MobileDeviceTypeEnum_MobileDeviceType_value) - proto.RegisterType((*MobileDeviceTypeEnum)(nil), "google.ads.googleads.v1.enums.MobileDeviceTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/mobile_device_type.proto", fileDescriptor_fa061ddb5d52e233) -} - -var fileDescriptor_fa061ddb5d52e233 = []byte{ - // 306 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x4f, 0x4b, 0xfb, 0x30, - 0x18, 0xfe, 0xad, 0x83, 0xfd, 0x20, 0x3b, 0x58, 0x8a, 0x5e, 0xc4, 0x1d, 0xb6, 0x0f, 0x90, 0x50, - 0x04, 0x0f, 0xf1, 0x94, 0xba, 0x3a, 0x87, 0x5b, 0x57, 0xb0, 0xab, 0x20, 0x85, 0xd9, 0x2d, 0x21, - 0x14, 0xda, 0xa4, 0x2c, 0x5d, 0x61, 0x5f, 0xc7, 0xa3, 0x1f, 0xc5, 0x8f, 0xb2, 0x4f, 0x21, 0x4d, - 0x6c, 0x0f, 0x03, 0xbd, 0x84, 0x87, 0xf7, 0xf9, 0x93, 0xe7, 0x7d, 0xc1, 0x1d, 0x97, 0x92, 0xe7, - 0x0c, 0xa5, 0x54, 0x21, 0x03, 0x1b, 0x54, 0xbb, 0x88, 0x89, 0x43, 0xa1, 0x50, 0x21, 0xb7, 0x59, - 0xce, 0x36, 0x94, 0xd5, 0xd9, 0x8e, 0x6d, 0xaa, 0x63, 0xc9, 0x60, 0xb9, 0x97, 0x95, 0x74, 0x46, - 0x46, 0x0c, 0x53, 0xaa, 0x60, 0xe7, 0x83, 0xb5, 0x0b, 0xb5, 0xef, 0xfa, 0xa6, 0x8d, 0x2d, 0x33, - 0x94, 0x0a, 0x21, 0xab, 0xb4, 0xca, 0xa4, 0x50, 0xc6, 0x3c, 0x79, 0x07, 0x97, 0x4b, 0x1d, 0x3c, - 0xd5, 0xb9, 0xd1, 0xb1, 0x64, 0xbe, 0x38, 0x14, 0x93, 0x27, 0x60, 0x9f, 0xcf, 0x9d, 0x0b, 0x30, - 0x5c, 0x07, 0x2f, 0xa1, 0xff, 0x30, 0x7f, 0x9c, 0xfb, 0x53, 0xfb, 0x9f, 0x33, 0x04, 0xff, 0xd7, - 0xc1, 0x73, 0xb0, 0x7a, 0x0d, 0xec, 0x9e, 0x03, 0xc0, 0x60, 0xb9, 0xf2, 0xe6, 0x0b, 0xdf, 0xb6, - 0x1a, 0x1c, 0x11, 0x6f, 0xe1, 0x47, 0x76, 0xdf, 0x3b, 0xf5, 0xc0, 0x78, 0x27, 0x0b, 0xf8, 0x67, - 0x4b, 0xef, 0xea, 0xfc, 0xb7, 0xb0, 0xa9, 0x17, 0xf6, 0xde, 0xbc, 0x1f, 0x1f, 0x97, 0x79, 0x2a, - 0x38, 0x94, 0x7b, 0x8e, 0x38, 0x13, 0xba, 0x7c, 0x7b, 0xa5, 0x32, 0x53, 0xbf, 0x1c, 0xed, 0x5e, - 0xbf, 0x1f, 0x56, 0x7f, 0x46, 0xc8, 0xa7, 0x35, 0x9a, 0x99, 0x28, 0x42, 0x15, 0x34, 0xb0, 0x41, - 0xb1, 0x0b, 0x9b, 0x8d, 0xd5, 0x57, 0xcb, 0x27, 0x84, 0xaa, 0xa4, 0xe3, 0x93, 0xd8, 0x4d, 0x34, - 0x7f, 0xb2, 0xc6, 0x66, 0x88, 0x31, 0xa1, 0x0a, 0xe3, 0x4e, 0x81, 0x71, 0xec, 0x62, 0xac, 0x35, - 0xdb, 0x81, 0x2e, 0x76, 0xfb, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x12, 0x2c, 0x1d, 0x2c, 0xcc, 0x01, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/month_of_year.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/month_of_year.pb.go deleted file mode 100644 index 1ce13b65..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/month_of_year.pb.go +++ /dev/null @@ -1,169 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/month_of_year.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_5a6459dd75e57391, []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_5a6459dd75e57391, []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 (m *MonthOfYearEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_MonthOfYearEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.MonthOfYearEnum_MonthOfYear", MonthOfYearEnum_MonthOfYear_name, MonthOfYearEnum_MonthOfYear_value) - proto.RegisterType((*MonthOfYearEnum)(nil), "google.ads.googleads.v1.enums.MonthOfYearEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/month_of_year.proto", fileDescriptor_5a6459dd75e57391) -} - -var fileDescriptor_5a6459dd75e57391 = []byte{ - // 389 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xcb, 0x8e, 0xd3, 0x30, - 0x14, 0x25, 0xe9, 0x4c, 0x1f, 0xce, 0x8c, 0xc6, 0xf2, 0x12, 0x31, 0x8b, 0x99, 0x0f, 0x70, 0x14, - 0xb1, 0x33, 0x2b, 0x27, 0xe3, 0x29, 0x2d, 0xcd, 0x43, 0x69, 0x13, 0x14, 0x14, 0xa9, 0x0a, 0x24, - 0x0d, 0x95, 0x1a, 0xbb, 0x8a, 0xd3, 0x4a, 0xfc, 0x0e, 0x4b, 0xfe, 0x81, 0x1f, 0x60, 0xc7, 0x47, - 0xb0, 0xe1, 0x2b, 0x90, 0x63, 0x5a, 0x75, 0x03, 0x9b, 0xe8, 0x9c, 0x7b, 0xee, 0xb9, 0x37, 0x3e, - 0x17, 0x38, 0xb5, 0x10, 0xf5, 0xae, 0xb2, 0x8b, 0x52, 0xda, 0x1a, 0x2a, 0x74, 0x74, 0xec, 0x8a, - 0x1f, 0x1a, 0x69, 0x37, 0x82, 0x77, 0x9f, 0xd7, 0x62, 0xb3, 0xfe, 0x52, 0x15, 0x2d, 0xde, 0xb7, - 0xa2, 0x13, 0xe8, 0x5e, 0x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 0x52, 0x8b, 0x5d, 0xc1, 0x6b, 0x2c, - 0xda, 0xda, 0xae, 0x2b, 0xde, 0x27, 0x75, 0xba, 0xc6, 0x7e, 0x2b, 0xff, 0x71, 0x9c, 0x37, 0xfd, - 0xf7, 0xab, 0x39, 0x98, 0x52, 0xfa, 0xcd, 0xbc, 0x9f, 0xea, 0x51, 0xb4, 0x94, 0x58, 0x43, 0x85, - 0x52, 0x07, 0xab, 0x88, 0xe5, 0x8f, 0x93, 0x9e, 0xd3, 0x52, 0xe6, 0x67, 0x3d, 0x4f, 0x9d, 0xbc, - 0xd7, 0x7f, 0x9b, 0x0f, 0xba, 0x48, 0x08, 0x2d, 0x25, 0x21, 0xe7, 0x0e, 0x42, 0x52, 0x87, 0x90, - 0xbe, 0xe7, 0xe3, 0xb0, 0xff, 0xb1, 0xd7, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x2c, 0xa9, 0x63, - 0xff, 0x34, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/mutate_job_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/mutate_job_status.pb.go deleted file mode 100644 index 4ed4958b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/mutate_job_status.pb.go +++ /dev/null @@ -1,128 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/mutate_job_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The mutate job statuses. -type MutateJobStatusEnum_MutateJobStatus int32 - -const ( - // Not specified. - MutateJobStatusEnum_UNSPECIFIED MutateJobStatusEnum_MutateJobStatus = 0 - // Used for return value only. Represents value unknown in this version. - MutateJobStatusEnum_UNKNOWN MutateJobStatusEnum_MutateJobStatus = 1 - // The job is not currently running. - MutateJobStatusEnum_PENDING MutateJobStatusEnum_MutateJobStatus = 2 - // The job is running. - MutateJobStatusEnum_RUNNING MutateJobStatusEnum_MutateJobStatus = 3 - // The job is done. - MutateJobStatusEnum_DONE MutateJobStatusEnum_MutateJobStatus = 4 -) - -var MutateJobStatusEnum_MutateJobStatus_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "PENDING", - 3: "RUNNING", - 4: "DONE", -} - -var MutateJobStatusEnum_MutateJobStatus_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "PENDING": 2, - "RUNNING": 3, - "DONE": 4, -} - -func (x MutateJobStatusEnum_MutateJobStatus) String() string { - return proto.EnumName(MutateJobStatusEnum_MutateJobStatus_name, int32(x)) -} - -func (MutateJobStatusEnum_MutateJobStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_48c0d38bc796ede0, []int{0, 0} -} - -// Container for enum describing possible mutate job statuses. -type MutateJobStatusEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateJobStatusEnum) Reset() { *m = MutateJobStatusEnum{} } -func (m *MutateJobStatusEnum) String() string { return proto.CompactTextString(m) } -func (*MutateJobStatusEnum) ProtoMessage() {} -func (*MutateJobStatusEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_48c0d38bc796ede0, []int{0} -} - -func (m *MutateJobStatusEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateJobStatusEnum.Unmarshal(m, b) -} -func (m *MutateJobStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateJobStatusEnum.Marshal(b, m, deterministic) -} -func (m *MutateJobStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateJobStatusEnum.Merge(m, src) -} -func (m *MutateJobStatusEnum) XXX_Size() int { - return xxx_messageInfo_MutateJobStatusEnum.Size(m) -} -func (m *MutateJobStatusEnum) XXX_DiscardUnknown() { - xxx_messageInfo_MutateJobStatusEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateJobStatusEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.MutateJobStatusEnum_MutateJobStatus", MutateJobStatusEnum_MutateJobStatus_name, MutateJobStatusEnum_MutateJobStatus_value) - proto.RegisterType((*MutateJobStatusEnum)(nil), "google.ads.googleads.v1.enums.MutateJobStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/mutate_job_status.proto", fileDescriptor_48c0d38bc796ede0) -} - -var fileDescriptor_48c0d38bc796ede0 = []byte{ - // 309 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xd1, 0x4a, 0xc3, 0x30, - 0x14, 0x75, 0xdd, 0x50, 0xc9, 0x1e, 0x56, 0xaa, 0x4f, 0xe2, 0x1e, 0xb6, 0x0f, 0x48, 0x28, 0xe2, - 0x4b, 0x7c, 0xea, 0x5c, 0x1d, 0x53, 0xcc, 0x8a, 0xa5, 0x15, 0xa4, 0x30, 0x52, 0x5b, 0x42, 0xc7, - 0x9a, 0x94, 0x25, 0xdd, 0x07, 0xf9, 0xe8, 0xa7, 0xf8, 0x27, 0xfa, 0x15, 0x92, 0x74, 0xed, 0xc3, - 0x40, 0x5f, 0xc2, 0xb9, 0xf7, 0x9e, 0x73, 0x72, 0xee, 0x05, 0xb7, 0x4c, 0x08, 0xb6, 0xcd, 0x11, - 0xcd, 0x24, 0x6a, 0xa0, 0x46, 0x7b, 0x17, 0xe5, 0xbc, 0x2e, 0x25, 0x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0xff, 0xb1, 0x26, 0x4d, 0x13, 0x63, 0x2f, 0x93, 0x18, 0x77, 0x0c, 0x8c, 0x63, 0x17, - 0x63, 0xc3, 0x49, 0x4f, 0x4d, 0xb0, 0x9b, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x4a, 0x36, 0x88, - 0xfe, 0xd4, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/negative_geo_target_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/negative_geo_target_type.pb.go deleted file mode 100644 index 7a8c4e3c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/negative_geo_target_type.pb.go +++ /dev/null @@ -1,127 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/negative_geo_target_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The possible negative geo target types. -type NegativeGeoTargetTypeEnum_NegativeGeoTargetType int32 - -const ( - // Not specified. - NegativeGeoTargetTypeEnum_UNSPECIFIED NegativeGeoTargetTypeEnum_NegativeGeoTargetType = 0 - // The value is unknown in this version. - NegativeGeoTargetTypeEnum_UNKNOWN NegativeGeoTargetTypeEnum_NegativeGeoTargetType = 1 - // Specifies that a user is excluded from seeing the ad if they - // are in, or show interest in, advertiser's excluded locations. - NegativeGeoTargetTypeEnum_DONT_CARE NegativeGeoTargetTypeEnum_NegativeGeoTargetType = 2 - // Specifies that a user is excluded from seeing the ad if they - // are in advertiser's excluded locations. - NegativeGeoTargetTypeEnum_LOCATION_OF_PRESENCE NegativeGeoTargetTypeEnum_NegativeGeoTargetType = 3 -) - -var NegativeGeoTargetTypeEnum_NegativeGeoTargetType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "DONT_CARE", - 3: "LOCATION_OF_PRESENCE", -} - -var NegativeGeoTargetTypeEnum_NegativeGeoTargetType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "DONT_CARE": 2, - "LOCATION_OF_PRESENCE": 3, -} - -func (x NegativeGeoTargetTypeEnum_NegativeGeoTargetType) String() string { - return proto.EnumName(NegativeGeoTargetTypeEnum_NegativeGeoTargetType_name, int32(x)) -} - -func (NegativeGeoTargetTypeEnum_NegativeGeoTargetType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_66c4692eef99de00, []int{0, 0} -} - -// Container for enum describing possible negative geo target types. -type NegativeGeoTargetTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *NegativeGeoTargetTypeEnum) Reset() { *m = NegativeGeoTargetTypeEnum{} } -func (m *NegativeGeoTargetTypeEnum) String() string { return proto.CompactTextString(m) } -func (*NegativeGeoTargetTypeEnum) ProtoMessage() {} -func (*NegativeGeoTargetTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_66c4692eef99de00, []int{0} -} - -func (m *NegativeGeoTargetTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NegativeGeoTargetTypeEnum.Unmarshal(m, b) -} -func (m *NegativeGeoTargetTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NegativeGeoTargetTypeEnum.Marshal(b, m, deterministic) -} -func (m *NegativeGeoTargetTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_NegativeGeoTargetTypeEnum.Merge(m, src) -} -func (m *NegativeGeoTargetTypeEnum) XXX_Size() int { - return xxx_messageInfo_NegativeGeoTargetTypeEnum.Size(m) -} -func (m *NegativeGeoTargetTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_NegativeGeoTargetTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_NegativeGeoTargetTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.NegativeGeoTargetTypeEnum_NegativeGeoTargetType", NegativeGeoTargetTypeEnum_NegativeGeoTargetType_name, NegativeGeoTargetTypeEnum_NegativeGeoTargetType_value) - proto.RegisterType((*NegativeGeoTargetTypeEnum)(nil), "google.ads.googleads.v1.enums.NegativeGeoTargetTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/negative_geo_target_type.proto", fileDescriptor_66c4692eef99de00) -} - -var fileDescriptor_66c4692eef99de00 = []byte{ - // 332 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xeb, 0x30, - 0x1c, 0xc6, 0xcf, 0x3a, 0x38, 0x87, 0x93, 0x21, 0x96, 0xa2, 0xa0, 0xc3, 0x5d, 0x6c, 0x0f, 0x90, - 0x52, 0xbc, 0x8b, 0xde, 0x64, 0x5d, 0x36, 0x86, 0x92, 0x96, 0xad, 0x9b, 0x20, 0xc5, 0x12, 0x6d, - 0x08, 0x85, 0x2d, 0x29, 0x4b, 0x36, 0x18, 0xbe, 0x8d, 0x97, 0x3e, 0x8a, 0x8f, 0xe2, 0x8d, 0xaf, - 0x20, 0x4d, 0xb7, 0x5d, 0x4d, 0x6f, 0xc2, 0x47, 0xbe, 0xff, 0xef, 0xe3, 0xff, 0xff, 0xc0, 0xad, - 0x50, 0x4a, 0x2c, 0xb8, 0xcf, 0x72, 0xed, 0xd7, 0xb2, 0x52, 0x9b, 0xc0, 0xe7, 0x72, 0xbd, 0xd4, - 0xbe, 0xe4, 0x82, 0x99, 0x62, 0xc3, 0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xfd, 0x14, - 0xe7, 0x3a, 0x3d, 0xf8, 0xe9, 0x3c, 0x48, 0xad, 0xff, 0xe9, 0x74, 0xeb, 0x4f, 0x84, 0x70, 0xae, - 0x11, 0x3a, 0x4c, 0x20, 0x34, 0x0f, 0x10, 0xb2, 0x33, 0xcf, 0x7f, 0xed, 0x62, 0xd7, 0xdf, 0x01, - 0x00, 0x00, 0xff, 0xff, 0xdd, 0xf9, 0x7e, 0x8a, 0xf2, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/operating_system_version_operator_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/operating_system_version_operator_type.pb.go deleted file mode 100644 index 78bf1b32..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/operating_system_version_operator_type.pb.go +++ /dev/null @@ -1,128 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/operating_system_version_operator_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The type of operating system version. -type OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType int32 - -const ( - // Not specified. - OperatingSystemVersionOperatorTypeEnum_UNSPECIFIED OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType = 0 - // Used for return value only. Represents value unknown in this version. - OperatingSystemVersionOperatorTypeEnum_UNKNOWN OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType = 1 - // Equals to the specified version. - OperatingSystemVersionOperatorTypeEnum_EQUALS_TO OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType = 2 - // Greater than or equals to the specified version. - OperatingSystemVersionOperatorTypeEnum_GREATER_THAN_EQUALS_TO OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType = 4 -) - -var OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "EQUALS_TO", - 4: "GREATER_THAN_EQUALS_TO", -} - -var OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "EQUALS_TO": 2, - "GREATER_THAN_EQUALS_TO": 4, -} - -func (x OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType) String() string { - return proto.EnumName(OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType_name, int32(x)) -} - -func (OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_87a572f6e7ce491f, []int{0, 0} -} - -// Container for enum describing the type of OS operators. -type OperatingSystemVersionOperatorTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OperatingSystemVersionOperatorTypeEnum) Reset() { - *m = OperatingSystemVersionOperatorTypeEnum{} -} -func (m *OperatingSystemVersionOperatorTypeEnum) String() string { return proto.CompactTextString(m) } -func (*OperatingSystemVersionOperatorTypeEnum) ProtoMessage() {} -func (*OperatingSystemVersionOperatorTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_87a572f6e7ce491f, []int{0} -} - -func (m *OperatingSystemVersionOperatorTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OperatingSystemVersionOperatorTypeEnum.Unmarshal(m, b) -} -func (m *OperatingSystemVersionOperatorTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OperatingSystemVersionOperatorTypeEnum.Marshal(b, m, deterministic) -} -func (m *OperatingSystemVersionOperatorTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperatingSystemVersionOperatorTypeEnum.Merge(m, src) -} -func (m *OperatingSystemVersionOperatorTypeEnum) XXX_Size() int { - return xxx_messageInfo_OperatingSystemVersionOperatorTypeEnum.Size(m) -} -func (m *OperatingSystemVersionOperatorTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_OperatingSystemVersionOperatorTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_OperatingSystemVersionOperatorTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType", OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType_name, OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType_value) - proto.RegisterType((*OperatingSystemVersionOperatorTypeEnum)(nil), "google.ads.googleads.v1.enums.OperatingSystemVersionOperatorTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/operating_system_version_operator_type.proto", fileDescriptor_87a572f6e7ce491f) -} - -var fileDescriptor_87a572f6e7ce491f = []byte{ - // 338 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x51, 0x4f, 0x4b, 0xc3, 0x30, - 0x1c, 0xb5, 0x55, 0x14, 0x33, 0xc4, 0xd1, 0x83, 0x87, 0xe1, 0x0e, 0xdb, 0x41, 0x6f, 0x29, 0xc5, - 0x5b, 0x3c, 0x65, 0x5a, 0xe7, 0x54, 0xda, 0xb9, 0x75, 0x15, 0xa4, 0x10, 0xaa, 0x0d, 0xa1, 0xb0, - 0x26, 0xa5, 0xc9, 0x06, 0xfb, 0x24, 0xde, 0x3d, 0xfa, 0x51, 0xfc, 0x28, 0x7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 0xeb, 0x41, 0xc7, 0xd6, 0xf3, 0x60, 0xed, 0xc4, 0xc4, 0x3c, 0xe5, 0x0c, 0x8a, - 0x8a, 0xb9, 0x8c, 0x72, 0xbd, 0x86, 0xe6, 0x06, 0x65, 0x2e, 0xff, 0x38, 0xc9, 0xa5, 0x7e, 0xdf, - 0xed, 0xdd, 0x21, 0xc6, 0x1f, 0x76, 0x77, 0x68, 0xac, 0x70, 0x26, 0xa1, 0x81, 0x35, 0x8a, 0x3d, - 0x58, 0x2f, 0x4a, 0x7e, 0x36, 0x7c, 0x82, 0x33, 0x99, 0x6c, 0xf8, 0x24, 0xf6, 0x12, 0xcd, 0x7f, - 0xd9, 0x3d, 0xf3, 0x89, 0x10, 0xce, 0x24, 0x42, 0x1b, 0x05, 0x42, 0xb1, 0x87, 0x90, 0xd6, 0xbc, - 0xec, 0xeb, 0xc6, 0x2e, 0x7e, 0x02, 0x00, 0x00, 0xff, 0xff, 0x40, 0xf6, 0xcb, 0x8a, 0x2a, 0x02, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/page_one_promoted_strategy_goal.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/page_one_promoted_strategy_goal.pb.go deleted file mode 100644 index 6761e8b9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/page_one_promoted_strategy_goal.pb.go +++ /dev/null @@ -1,126 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/page_one_promoted_strategy_goal.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_a14ec166d42f2f9d, []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_a14ec166d42f2f9d, []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 (m *PageOnePromotedStrategyGoalEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PageOnePromotedStrategyGoalEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.PageOnePromotedStrategyGoalEnum_PageOnePromotedStrategyGoal", PageOnePromotedStrategyGoalEnum_PageOnePromotedStrategyGoal_name, PageOnePromotedStrategyGoalEnum_PageOnePromotedStrategyGoal_value) - proto.RegisterType((*PageOnePromotedStrategyGoalEnum)(nil), "google.ads.googleads.v1.enums.PageOnePromotedStrategyGoalEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/page_one_promoted_strategy_goal.proto", fileDescriptor_a14ec166d42f2f9d) -} - -var fileDescriptor_a14ec166d42f2f9d = []byte{ - // 331 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcd, 0x4a, 0xc3, 0x40, - 0x18, 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 0x6c, 0xbe, 0x48, 0xa8, 0x17, 0xf8, 0x96, 0x69, - 0x5f, 0xa0, 0xf3, 0xbf, 0xff, 0x84, 0xce, 0xa2, 0xc7, 0x68, 0xe1, 0x8f, 0xad, 0xce, 0xf0, 0xc7, - 0x40, 0xfd, 0x57, 0xc8, 0x70, 0x6b, 0x9a, 0xe1, 0x6d, 0xcb, 0x25, 0xb4, 0x4a, 0x44, 0x8d, 0xe7, - 0xe1, 0x4e, 0x42, 0x42, 0xca, 0x94, 0xc4, 0x50, 0x48, 0x47, 0x0a, 0x55, 0xe7, 0xdd, 0xb7, 0x9c, - 0xaf, 0xf5, 0x3f, 0xa5, 0xdf, 0xd7, 0xdf, 0x0f, 0xb3, 0x13, 0x78, 0xde, 0xa7, 0xd9, 0x0b, 0x1a, - 0x29, 0x8f, 0x6b, 0xdc, 0xc0, 0x0a, 0xad, 0x5c, 0x5c, 0x15, 0xa3, 0xbf, 0xf6, 0xf3, 0xd8, 0xe3, - 0x3a, 0x3e, 0xcc, 0xe3, 0x95, 0x1b, 0xd7, 0xf3, 0x6f, 0xb3, 0xdf, 0x3c, 0x12, 0xe2, 0x71, 0x4d, - 0xc8, 0x81, 0x41, 0xc8, 0xca, 0x25, 0xa4, 0xe6, 0xbc, 0x1c, 0xd7, 0x87, 0xdd, 0xfd, 0x06, 0x00, - 0x00, 0xff, 0xff, 0x14, 0xde, 0x68, 0xf5, 0x0c, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/parental_status_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/parental_status_type.pb.go deleted file mode 100644 index d1c5c183..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/parental_status_type.pb.go +++ /dev/null @@ -1,129 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/parental_status_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_9954dc976e658902, []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_9954dc976e658902, []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 (m *ParentalStatusTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ParentalStatusTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.ParentalStatusTypeEnum_ParentalStatusType", ParentalStatusTypeEnum_ParentalStatusType_name, ParentalStatusTypeEnum_ParentalStatusType_value) - proto.RegisterType((*ParentalStatusTypeEnum)(nil), "google.ads.googleads.v1.enums.ParentalStatusTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/parental_status_type.proto", fileDescriptor_9954dc976e658902) -} - -var fileDescriptor_9954dc976e658902 = []byte{ - // 326 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x4f, 0x4a, 0x33, 0x31, - 0x1c, 0xfd, 0x3a, 0x1f, 0x54, 0x48, 0x05, 0xc7, 0x59, 0x28, 0x88, 0x5d, 0xb4, 0x07, 0xc8, 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2, 0x0d, 0x3f, 0x82, 0xce, 0x77, 0x0d, 0xb4, 0x9e, 0xd4, 0x1c, - 0xfe, 0xf9, 0x89, 0xce, 0xe9, 0x7e, 0x95, 0xb4, 0xea, 0x9f, 0xd6, 0x1e, 0x3a, 0x1b, 0xa7, 0x50, - 0x33, 0x26, 0x05, 0x54, 0x0b, 0x11, 0x0b, 0x2e, 0xdd, 0xef, 0xb6, 0x43, 0xea, 0xa9, 0xf9, 0x65, - 0xd7, 0x2b, 0xf7, 0xbe, 0x04, 0xff, 0x7b, 0x18, 0xbf, 0x06, 0xcd, 0x9e, 0x8f, 0xc2, 0xa5, 0x81, - 0x1e, 0x56, 0x68, 0x92, 0xc0, 0x6a, 0x10, 0xf3, 0xb9, 0xe5, 0x73, 0x5c, 0x9a, 0x7c, 0xc7, 0xe7, - 0x93, 0x24, 0x77, 0xfc, 0x57, 0xd0, 0xf2, 0x47, 0x84, 0x70, 0x69, 0x10, 0xda, 0x29, 0x10, 0x9a, - 0x24, 0x08, 0x39, 0xcd, 0x63, 0xdd, 0x15, 0xbb, 0xf8, 0x09, 0x00, 0x00, 0xff, 0xff, 0xf8, 0x49, - 0x96, 0x75, 0xef, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/payment_mode.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/payment_mode.pb.go deleted file mode 100644 index c324b97f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/payment_mode.pb.go +++ /dev/null @@ -1,134 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/payment_mode.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible payment modes. -type PaymentModeEnum_PaymentMode int32 - -const ( - // Not specified. - PaymentModeEnum_UNSPECIFIED PaymentModeEnum_PaymentMode = 0 - // Used for return value only. Represents value unknown in this version. - PaymentModeEnum_UNKNOWN PaymentModeEnum_PaymentMode = 1 - // Pay per click. - PaymentModeEnum_CLICKS PaymentModeEnum_PaymentMode = 4 - // Pay per conversion value. This mode is only supported by campaigns with - // AdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION, and - // BudgetType.HOTEL_ADS_COMMISSION. - PaymentModeEnum_CONVERSION_VALUE PaymentModeEnum_PaymentMode = 5 - // Pay per conversion. This mode is only supported by campaigns with - // AdvertisingChannelType.DISPLAY (excluding - // AdvertisingChannelSubType.DISPLAY_GMAIL), BiddingStrategyType.TARGET_CPA, - // and BudgetType.FIXED_CPA. The customer must also be eligible for this - // mode. See Customer.eligibility_failure_reasons for details. - PaymentModeEnum_CONVERSIONS PaymentModeEnum_PaymentMode = 6 -) - -var PaymentModeEnum_PaymentMode_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 4: "CLICKS", - 5: "CONVERSION_VALUE", - 6: "CONVERSIONS", -} - -var PaymentModeEnum_PaymentMode_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "CLICKS": 4, - "CONVERSION_VALUE": 5, - "CONVERSIONS": 6, -} - -func (x PaymentModeEnum_PaymentMode) String() string { - return proto.EnumName(PaymentModeEnum_PaymentMode_name, int32(x)) -} - -func (PaymentModeEnum_PaymentMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b7c5af4378e229c7, []int{0, 0} -} - -// Container for enum describing possible payment modes. -type PaymentModeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PaymentModeEnum) Reset() { *m = PaymentModeEnum{} } -func (m *PaymentModeEnum) String() string { return proto.CompactTextString(m) } -func (*PaymentModeEnum) ProtoMessage() {} -func (*PaymentModeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_b7c5af4378e229c7, []int{0} -} - -func (m *PaymentModeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PaymentModeEnum.Unmarshal(m, b) -} -func (m *PaymentModeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PaymentModeEnum.Marshal(b, m, deterministic) -} -func (m *PaymentModeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PaymentModeEnum.Merge(m, src) -} -func (m *PaymentModeEnum) XXX_Size() int { - return xxx_messageInfo_PaymentModeEnum.Size(m) -} -func (m *PaymentModeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_PaymentModeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_PaymentModeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.PaymentModeEnum_PaymentMode", PaymentModeEnum_PaymentMode_name, PaymentModeEnum_PaymentMode_value) - proto.RegisterType((*PaymentModeEnum)(nil), "google.ads.googleads.v1.enums.PaymentModeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/payment_mode.proto", fileDescriptor_b7c5af4378e229c7) -} - -var fileDescriptor_b7c5af4378e229c7 = []byte{ - // 312 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x4a, 0xc3, 0x30, - 0x1c, 0x76, 0x53, 0x27, 0x64, 0x87, 0x85, 0xe2, 0x49, 0xdc, 0x61, 0x7b, 0x80, 0xd4, 0xe2, 0x2d, - 0x9e, 0xb2, 0x5a, 0x47, 0xd9, 0xcc, 0x8a, 0x65, 0x15, 0xa4, 0x38, 0xa2, 0x09, 0x61, 0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0xa6, 0x24, 0xd2, 0x6b, 0xe9, 0x4b, 0xa1, 0xec, 0x47, 0x76, 0x5b, 0x95, 0x4b, - 0xf3, 0xc7, 0x74, 0x57, 0xf6, 0x7d, 0x6b, 0x1f, 0x8e, 0x09, 0x79, 0x6f, 0xf7, 0xc7, 0x2e, 0x8a, - 0x70, 0x83, 0x1c, 0xac, 0x51, 0x16, 0xa0, 0x7a, 0x02, 0xf3, 0xb1, 0xe3, 0x73, 0xc2, 0x4d, 0xde, - 0xf0, 0x79, 0x16, 0xe4, 0x96, 0xff, 0x6a, 0x0f, 0xdc, 0x11, 0x63, 0xc2, 0x0d, 0xc6, 0x8d, 0x02, - 0xe3, 0x2c, 0xc0, 0xd8, 0x6a, 0x9e, 0x3a, 0xb6, 0xd8, 0xe5, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, - 0xf3, 0x82, 0x9d, 0xa0, 0xd2, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/placeholder_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/placeholder_type.pb.go deleted file mode 100644 index 4ab42eef..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/placeholder_type.pb.go +++ /dev/null @@ -1,223 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/placeholder_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // Lets you show links in your ad to pages from your website, including the - // main landing page. - PlaceholderTypeEnum_SITELINK PlaceholderTypeEnum_PlaceholderType = 2 - // Lets you attach a phone number to an ad, allowing customers to call - // directly from the ad. - PlaceholderTypeEnum_CALL PlaceholderTypeEnum_PlaceholderType = 3 - // Lets you provide users with a link that points to a mobile app in - // addition to a website. - PlaceholderTypeEnum_APP PlaceholderTypeEnum_PlaceholderType = 4 - // Lets you show locations of businesses from your Google My Business - // account in your ad. This helps people find your locations by showing your - // ads with your address, a map to your location, or the distance to your - // business. This extension type is useful to draw customers to your - // brick-and-mortar location. - PlaceholderTypeEnum_LOCATION PlaceholderTypeEnum_PlaceholderType = 5 - // If you sell your product through retail chains, affiliate location - // extensions let you show nearby stores that carry your products. - PlaceholderTypeEnum_AFFILIATE_LOCATION PlaceholderTypeEnum_PlaceholderType = 6 - // Lets you include additional text with your search ads that provide - // detailed information about your business, including products and services - // you offer. Callouts appear in ads at the top and bottom of Google search - // results. - PlaceholderTypeEnum_CALLOUT PlaceholderTypeEnum_PlaceholderType = 7 - // Lets you add more info to your ad, specific to some predefined categories - // such as types, brands, styles, etc. A minimum of 3 text (SNIPPETS) values - // are required. - PlaceholderTypeEnum_STRUCTURED_SNIPPET PlaceholderTypeEnum_PlaceholderType = 8 - // Allows users to see your ad, click an icon, and contact you directly by - // text message. With one tap on your ad, people can contact you to book an - // appointment, get a quote, ask for information, or request a service. - PlaceholderTypeEnum_MESSAGE PlaceholderTypeEnum_PlaceholderType = 9 - // Lets you display prices for a list of items along with your ads. A price - // feed is composed of three to eight price table rows. - PlaceholderTypeEnum_PRICE PlaceholderTypeEnum_PlaceholderType = 10 - // Allows you to highlight sales and other promotions that let users see how - // they can save by buying now. - PlaceholderTypeEnum_PROMOTION PlaceholderTypeEnum_PlaceholderType = 11 - // Lets you dynamically inject custom data into the title and description - // of your ads. - PlaceholderTypeEnum_AD_CUSTOMIZER PlaceholderTypeEnum_PlaceholderType = 12 - // Indicates that this feed is for education dynamic remarketing. - PlaceholderTypeEnum_DYNAMIC_EDUCATION PlaceholderTypeEnum_PlaceholderType = 13 - // Indicates that this feed is for flight dynamic remarketing. - PlaceholderTypeEnum_DYNAMIC_FLIGHT PlaceholderTypeEnum_PlaceholderType = 14 - // Indicates that this feed is for a custom dynamic remarketing type. Use - // this only if the other business types don't apply to your products or - // services. - PlaceholderTypeEnum_DYNAMIC_CUSTOM PlaceholderTypeEnum_PlaceholderType = 15 - // Indicates that this feed is for hotels and rentals dynamic remarketing. - PlaceholderTypeEnum_DYNAMIC_HOTEL PlaceholderTypeEnum_PlaceholderType = 16 - // Indicates that this feed is for real estate dynamic remarketing. - PlaceholderTypeEnum_DYNAMIC_REAL_ESTATE PlaceholderTypeEnum_PlaceholderType = 17 - // Indicates that this feed is for travel dynamic remarketing. - PlaceholderTypeEnum_DYNAMIC_TRAVEL PlaceholderTypeEnum_PlaceholderType = 18 - // Indicates that this feed is for local deals dynamic remarketing. - PlaceholderTypeEnum_DYNAMIC_LOCAL PlaceholderTypeEnum_PlaceholderType = 19 - // Indicates that this feed is for job dynamic remarketing. - 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_4007a2ae92623c7b, []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_4007a2ae92623c7b, []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 (m *PlaceholderTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PlaceholderTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.PlaceholderTypeEnum_PlaceholderType", PlaceholderTypeEnum_PlaceholderType_name, PlaceholderTypeEnum_PlaceholderType_value) - proto.RegisterType((*PlaceholderTypeEnum)(nil), "google.ads.googleads.v1.enums.PlaceholderTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/placeholder_type.proto", fileDescriptor_4007a2ae92623c7b) -} - -var fileDescriptor_4007a2ae92623c7b = []byte{ - // 492 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xd1, 0x6e, 0x9b, 0x3e, - 0x14, 0xc6, 0xff, 0x21, 0x6d, 0x93, 0x38, 0x4d, 0xe3, 0x38, 0xfd, 0x6f, 0xd2, 0xb4, 0x5e, 0xb4, - 0x0f, 0x00, 0x42, 0xdb, 0x15, 0xbb, 0x72, 0xc0, 0x49, 0xbd, 0x3a, 0x60, 0x81, 0xc9, 0xb4, 0x2a, - 0x12, 0x62, 0x05, 0xb1, 0x48, 0x09, 0x46, 0x21, 0xad, 0xd4, 0xb7, 0xd8, 0x33, 0xec, 0x72, 0x8f, - 0xb2, 0x37, 0xd9, 0x9e, 0x60, 0x97, 0x93, 0xa1, 0x64, 0x51, 0xa5, 0xed, 0x06, 0x1d, 0xfd, 0xce, - 0xf7, 0x7d, 0xd8, 0x3e, 0x07, 0xbc, 0xcd, 0xa4, 0xcc, 0xd6, 0xa9, 0x11, 0x27, 0xa5, 0x51, 0x97, -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0x1a, 0x5a, 0x16, 0x4e, 0x4a, 0xcb, - 0xda, 0x2b, 0x2c, 0x6b, 0x61, 0x5a, 0x56, 0xa5, 0xf9, 0x74, 0x52, 0x1d, 0xec, 0xcd, 0xef, 0x00, - 0x00, 0x00, 0xff, 0xff, 0xb1, 0x55, 0x4f, 0x8d, 0xfa, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/placement_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/placement_type.pb.go deleted file mode 100644 index ac3a5cad..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/placement_type.pb.go +++ /dev/null @@ -1,139 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/placement_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible placement types for a feed mapping. -type PlacementTypeEnum_PlacementType int32 - -const ( - // Not specified. - PlacementTypeEnum_UNSPECIFIED PlacementTypeEnum_PlacementType = 0 - // Used for return value only. Represents value unknown in this version. - PlacementTypeEnum_UNKNOWN PlacementTypeEnum_PlacementType = 1 - // Websites(e.g. 'www.flowers4sale.com'). - PlacementTypeEnum_WEBSITE PlacementTypeEnum_PlacementType = 2 - // Mobile application categories(e.g. 'Games'). - PlacementTypeEnum_MOBILE_APP_CATEGORY PlacementTypeEnum_PlacementType = 3 - // mobile applications(e.g. 'mobileapp::2-com.whatsthewordanswers'). - PlacementTypeEnum_MOBILE_APPLICATION PlacementTypeEnum_PlacementType = 4 - // YouTube videos(e.g. 'youtube.com/video/wtLJPvx7-ys'). - PlacementTypeEnum_YOUTUBE_VIDEO PlacementTypeEnum_PlacementType = 5 - // YouTube channels(e.g. 'youtube.com::L8ZULXASCc1I_oaOT0NaOQ'). - PlacementTypeEnum_YOUTUBE_CHANNEL PlacementTypeEnum_PlacementType = 6 -) - -var PlacementTypeEnum_PlacementType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "WEBSITE", - 3: "MOBILE_APP_CATEGORY", - 4: "MOBILE_APPLICATION", - 5: "YOUTUBE_VIDEO", - 6: "YOUTUBE_CHANNEL", -} - -var PlacementTypeEnum_PlacementType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "WEBSITE": 2, - "MOBILE_APP_CATEGORY": 3, - "MOBILE_APPLICATION": 4, - "YOUTUBE_VIDEO": 5, - "YOUTUBE_CHANNEL": 6, -} - -func (x PlacementTypeEnum_PlacementType) String() string { - return proto.EnumName(PlacementTypeEnum_PlacementType_name, int32(x)) -} - -func (PlacementTypeEnum_PlacementType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b1a4b1f4d95c82a7, []int{0, 0} -} - -// Container for enum describing possible placement types. -type PlacementTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PlacementTypeEnum) Reset() { *m = PlacementTypeEnum{} } -func (m *PlacementTypeEnum) String() string { return proto.CompactTextString(m) } -func (*PlacementTypeEnum) ProtoMessage() {} -func (*PlacementTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_b1a4b1f4d95c82a7, []int{0} -} - -func (m *PlacementTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PlacementTypeEnum.Unmarshal(m, b) -} -func (m *PlacementTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PlacementTypeEnum.Marshal(b, m, deterministic) -} -func (m *PlacementTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PlacementTypeEnum.Merge(m, src) -} -func (m *PlacementTypeEnum) XXX_Size() int { - return xxx_messageInfo_PlacementTypeEnum.Size(m) -} -func (m *PlacementTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_PlacementTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_PlacementTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.PlacementTypeEnum_PlacementType", PlacementTypeEnum_PlacementType_name, PlacementTypeEnum_PlacementType_value) - proto.RegisterType((*PlacementTypeEnum)(nil), "google.ads.googleads.v1.enums.PlacementTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/placement_type.proto", fileDescriptor_b1a4b1f4d95c82a7) -} - -var fileDescriptor_b1a4b1f4d95c82a7 = []byte{ - // 360 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdd, 0x6a, 0xa3, 0x40, - 0x14, 0x5e, 0xcd, 0x6e, 0x16, 0x26, 0x84, 0x98, 0x09, 0xec, 0xc2, 0xb2, 0xb9, 0x48, 0x1e, 0x60, - 0xc4, 0xf6, 0x6e, 0x7a, 0x35, 0x9a, 0x69, 0x2a, 0x4d, 0x55, 0x1a, 0x35, 0xa4, 0x08, 0x62, 0xa3, - 0x48, 0x20, 0xce, 0x48, 0xc6, 0x04, 0xf2, 0x1c, 0x7d, 0x83, 0xde, 0xb5, 0x8f, 0xd2, 0x17, 0x29, - 0xf4, 0x29, 0x8a, 0x5a, 0x53, 0x72, 0xd1, 0xde, 0x0c, 0xdf, 0x9c, 0xef, 0x87, 0x73, 0x3e, 0x70, - 0x96, 0x72, 0x9e, 0x6e, 0x12, 0x35, 0x8a, 0x85, 0x5a, 0xc3, 0x12, 0xed, 0x35, 0x35, 0x61, 0xbb, - 0x4c, 0xa8,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13, 0x56, 0x75, 0xd0, 0x14, 0x9d, 0xaf, 0xc5, - 0x17, 0xbd, 0x5f, 0x54, 0xef, 0xa3, 0xdc, 0x9a, 0x12, 0xf2, 0x2c, 0x0f, 0xa7, 0x75, 0x14, 0x89, - 0x05, 0xaa, 0x61, 0x89, 0x7c, 0x0d, 0x95, 0xd5, 0x89, 0x97, 0x86, 0x0f, 0x48, 0x2c, 0x82, 0x23, - 0x1f, 0xf8, 0x5a, 0x50, 0xf1, 0x6f, 0xf2, 0xa8, 0x1e, 0x62, 0x4c, 0x62, 0x81, 0xf1, 0x51, 0x81, - 0xb1, 0xaf, 0x61, 0x5c, 0x69, 0xee, 0xdb, 0xd5, 0x62, 0xe7, 0xef, 0x01, 0x00, 0x00, 0xff, 0xff, - 0x08, 0x71, 0xbc, 0x14, 0x0f, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/policy_approval_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/policy_approval_status.pb.go deleted file mode 100644 index 5d45be03..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/policy_approval_status.pb.go +++ /dev/null @@ -1,139 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/policy_approval_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_44c273ba52c3688f, []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_44c273ba52c3688f, []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 (m *PolicyApprovalStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyApprovalStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.PolicyApprovalStatusEnum_PolicyApprovalStatus", PolicyApprovalStatusEnum_PolicyApprovalStatus_name, PolicyApprovalStatusEnum_PolicyApprovalStatus_value) - proto.RegisterType((*PolicyApprovalStatusEnum)(nil), "google.ads.googleads.v1.enums.PolicyApprovalStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/policy_approval_status.proto", fileDescriptor_44c273ba52c3688f) -} - -var fileDescriptor_44c273ba52c3688f = []byte{ - // 346 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x4d, 0x4a, 0xc3, 0x40, - 0x14, 0x36, 0xa9, 0x7f, 0x4c, 0x05, 0x43, 0xa8, 0x60, 0xc5, 0x2e, 0xda, 0x03,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 0x96, 0x7e, 0x06, 0x4e, 0x1b, 0xcd, 0xa1, 0xde, 0x05, 0x17, 0x78, 0x4a, 0x70, 0xe4, 0x8e, - 0x22, 0xdb, 0x99, 0x91, 0x29, 0xf1, 0x67, 0x91, 0xeb, 0x4c, 0x9e, 0xb4, 0xa3, 0xe1, 0x8f, 0x02, - 0xfa, 0x0b, 0xbe, 0x82, 0xff, 0xde, 0x39, 0xec, 0xee, 0xdb, 0xd4, 0x2b, 0x8f, 0xf4, 0x94, 0xe7, - 0xe1, 0xce, 0x9b, 0xf0, 0x8c, 0xb2, 0x04, 0xf2, 0x75, 0x62, 0x24, 0x4b, 0x26, 0x2b, 0xa8, 0xfb, - 0xce, 0x53, 0xf1, 0x47, 0xfd, 0xb7, 0xf2, 0xfd, 0x50, 0x5b, 0x63, 0x8c, 0x3f, 0xd5, 0xde, 0xb8, - 0x8a, 0xc2, 0xb1, 0x80, 0x15, 0x2c, 0x51, 0x60, 0xc2, 0xb2, 0x32, 0xf1, 0x55, 0xf3, 0x21, 0x8e, - 0x45, 0xd8, 0xf0, 0x61, 0x60, 0x86, 0x92, 0xff, 0x56, 0xfb, 0xd5, 0x10, 0x21, 0x1c, 0x0b, 0x84, - 0x1a, 0x05, 0x42, 0x81, 0x89, 0x90, 0xd4, 0xbc, 0x1c, 0xcb, 0xc5, 0x6e, 0x7e, 0x03, 0x00, 0x00, - 0xff, 0xff, 0x7a, 0x2c, 0x12, 0x8c, 0x16, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/policy_review_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/policy_review_status.pb.go deleted file mode 100644 index 9029dd68..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/policy_review_status.pb.go +++ /dev/null @@ -1,132 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/policy_review_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_07bf305fecc00f04, []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_07bf305fecc00f04, []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 (m *PolicyReviewStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyReviewStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.PolicyReviewStatusEnum_PolicyReviewStatus", PolicyReviewStatusEnum_PolicyReviewStatus_name, PolicyReviewStatusEnum_PolicyReviewStatus_value) - proto.RegisterType((*PolicyReviewStatusEnum)(nil), "google.ads.googleads.v1.enums.PolicyReviewStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/policy_review_status.proto", fileDescriptor_07bf305fecc00f04) -} - -var fileDescriptor_07bf305fecc00f04 = []byte{ - // 330 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x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xb2, 0x70, 0x32, 0x0e, 0x69, 0x14, 0x39, 0x36, 0xec, 0x80, 0x33, 0xf3, 0x4f, 0x47, 0x4e, - 0x0b, 0x3a, 0xa0, 0x33, 0x0d, 0x46, 0x34, 0x4c, 0x09, 0x63, 0x94, 0x3c, 0x3a, 0xc7, 0xc3, 0x1f, - 0x0b, 0xf4, 0xe7, 0x72, 0x89, 0xfe, 0xad, 0x32, 0xbc, 0x38, 0xbc, 0x87, 0x35, 0x2d, 0x98, 0xf5, - 0x34, 0xdc, 0x3a, 0xb9, 0x5c, 0x64, 0x82, 0x23, 0xb9, 0xe2, 0x2e, 0x2f, 0x84, 0xee, 0xb8, 0x9b, - 0xb3, 0x2a, 0xd5, 0x1f, 0xeb, 0xde, 0xea, 0xf7, 0xc3, 0x6e, 0x8d, 0x09, 0xf9, 0xb4, 0x7b, 0x63, - 0x13, 0x45, 0x72, 0x85, 0x0c, 0x6c, 0x50, 0xec, 0xa1, 0x66, 0x15, 0xf5, 0xb5, 0xe3, 0x13, 0x92, - 0xab, 0x64, 0xcf, 0x27, 0xb1, 0x97, 0x68, 0xfe, 0xdb, 0xee, 0x9b, 0x4f, 0x8c, 0x49, 0xae, 0x30, - 0xde, 0x2b, 0x30, 0x8e, 0x3d, 0x8c, 0xb5, 0xe6, 0xf9, 0x44, 0x1f, 0x76, 0xfd, 0x1b, 0x00, 0x00, - 0xff, 0xff, 0x85, 0xab, 0xcf, 0x9a, 0xf5, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/policy_topic_entry_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/policy_topic_entry_type.pb.go deleted file mode 100644 index 540000d9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/policy_topic_entry_type.pb.go +++ /dev/null @@ -1,148 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/policy_topic_entry_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // The resource cannot serve at all because of the current targeting - // criteria. - PolicyTopicEntryTypeEnum_FULLY_LIMITED PolicyTopicEntryTypeEnum_PolicyTopicEntryType = 8 - // 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", - 8: "FULLY_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, - "FULLY_LIMITED": 8, - "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_80af3c322661380a, []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_80af3c322661380a, []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 (m *PolicyTopicEntryTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyTopicEntryTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.PolicyTopicEntryTypeEnum_PolicyTopicEntryType", PolicyTopicEntryTypeEnum_PolicyTopicEntryType_name, PolicyTopicEntryTypeEnum_PolicyTopicEntryType_value) - proto.RegisterType((*PolicyTopicEntryTypeEnum)(nil), "google.ads.googleads.v1.enums.PolicyTopicEntryTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/policy_topic_entry_type.proto", fileDescriptor_80af3c322661380a) -} - -var fileDescriptor_80af3c322661380a = []byte{ - // 379 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xc1, 0xae, 0x93, 0x40, - 0x18, 0x85, 0x05, 0xf5, 0x5e, 0x33, 0x37, 0x2a, 0x12, 0x4d, 0xbc, 0xc6, 0x2e, 0xda, 0x07, 0x18, - 0x42, 0xdc, 0x4d, 0x57, 0x43, 0x99, 0xd6, 0x89, 0x38, 0x10, 0x4a, 0x31, 0x35, 0x24, 0x04, 0x0b, - 0x21, 0x24, 0xed, 0x0c, 0xe9, 0xd0, 0x26, 0xbc, 0x8d, 0x71, 0xe9, 0x3b, 0xf8, 0x02, 0x3e, 0x8a, - 0x0b, 0x9f, 0xc1, 0xcc, 0x20, 0x5d, 0x55, 0x37, 0xe4, 0xf0, 0x9f, 0xff, 0x7c, 0x81, 0xf3, 0x83, - 0x79, 0x2d, 0x44, 0xbd, 0xaf, 0x9c, 0xa2, 0x94, 0xce, 0x20, 0x95, 0x3a, 0xbb, 0x4e, 0xc5, 0x4f, - 0x07, 0xe9, 0xb4, 0x62, 0xdf, 0xec, 0xfa, 0xbc, 0x13, 0x6d, 0xb3, 0xcb, 0x2b, 0xde, 0x1d, 0xfb, - 0xbc, 0xe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c, 0x6b, 0xa7, 0xae, 0xb8, 0xae, 0x67, 0x3c, 0x46, - 0xdb, 0xc8, 0x7f, 0xdc, 0x66, 0xae, 0x9f, 0xdf, 0xcc, 0x87, 0x2b, 0x8c, 0xbf, 0x9b, 0x93, 0xd5, - 0x80, 0xc2, 0xa5, 0x84, 0x83, 0x54, 0x2a, 0x75, 0xa1, 0xaa, 0x53, 0xfe, 0x1c, 0xfd, 0x0c, 0x97, - 0x32, 0xbb, 0xf8, 0x59, 0xea, 0x66, 0xda, 0xff, 0x65, 0x4e, 0x87, 0x21, 0x42, 0xb8, 0x94, 0x08, - 0x5d, 0x36, 0x10, 0x4a, 0x5d, 0x84, 0xf4, 0xce, 0x97, 0x1b, 0xfd, 0x61, 0xef, 0xfe, 0x04, 0x00, - 0x00, 0xff, 0xff, 0x66, 0x35, 0x70, 0x8b, 0x33, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/policy_topic_evidence_destination_mismatch_url_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/policy_topic_evidence_destination_mismatch_url_type.pb.go deleted file mode 100644 index a0aab5c7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/policy_topic_evidence_destination_mismatch_url_type.pb.go +++ /dev/null @@ -1,148 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/policy_topic_evidence_destination_mismatch_url_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_9a328b758980e7be, []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_9a328b758980e7be, []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 (m *PolicyTopicEvidenceDestinationMismatchUrlTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum_PolicyTopicEvidenceDestinationMismatchUrlType", PolicyTopicEvidenceDestinationMismatchUrlTypeEnum_PolicyTopicEvidenceDestinationMismatchUrlType_name, PolicyTopicEvidenceDestinationMismatchUrlTypeEnum_PolicyTopicEvidenceDestinationMismatchUrlType_value) - proto.RegisterType((*PolicyTopicEvidenceDestinationMismatchUrlTypeEnum)(nil), "google.ads.googleads.v1.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/policy_topic_evidence_destination_mismatch_url_type.proto", fileDescriptor_9a328b758980e7be) -} - -var fileDescriptor_9a328b758980e7be = []byte{ - // 390 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x51, 0xc1, 0xaa, 0x9b, 0x40, - 0x14, 0xad, 0xa6, 0x4d, 0xe9, 0xa4, 0xa5, 0x62, 0x0b, 0x85, 0xd2, 0x2c, 0x92, 0x7d, 0x47, 0x6c, - 0x77, 0xd3, 0xd5, 0x98, 0x98, 0x20, 0x31, 0x46, 0x92, 0x98, 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 0x4a, 0xc3, 0x4e, 0x9d, 0x8d, 0xef, 0xe2, 0xef, 0x51, 0xb0, 0x76, 0x35, 0x55, 0x7f, 0x03, 0x5e, - 0xcd, 0x1c, 0x0f, 0xbb, 0xb2, 0xec, 0xe9, 0xef, 0x81, 0xd6, 0x96, 0xcb, 0x95, 0xe5, 0xb8, 0xb6, - 0xec, 0x3e, 0xd7, 0x35, 0xf0, 0x7a, 0xbb, 0xc6, 0x93, 0x85, 0xe3, 0xcd, 0x65, 0xe7, 0x85, 0xfe, - 0x01, 0xbc, 0xeb, 0x26, 0x1e, 0x10, 0x7d, 0xeb, 0xb7, 0x0a, 0x46, 0x09, 0x2f, 0xe0, 0x93, 0x51, - 0x59, 0x5f, 0xae, 0x7a, 0x93, 0xdf, 0x04, 0xe8, 0x2b, 0x3f, 0xac, 0x4e, 0x34, 0xe3, 0x79, 0xcc, - 0x32, 0xc8, 0xab, 0xcc, 0xc8, 0x08, 0x93, 0xf1, 0x9e, 0x0f, 0x5d, 0x52, 0xf1, 0xc8, 0xdd, 0xbf, - 0xc9, 0xef, 0x1f, 0xb5, 0x37, 0xc7, 0xf8, 0xaf, 0x3a, 0x9c, 0xb7, 0x52, 0x38, 0x15, 0xb0, 0x85, - 0x0d, 0xda, 0x99, 0xb0, 0x49, 0x5d, 0xfc, 0x3f, 0xf3, 0x21, 0x4e, 0x45, 0x78, 0xe1, 0xc3, 0x9d, - 0x19, 0x4a, 0xfe, 0x56, 0x1d, 0xb5, 0x4d, 0x84, 0x70, 0x2a, 0x10, 0xba, 0x4c, 0x20, 0xb4, 0x33, - 0x11, 0x92, 0x33, 0x3f, 0xfb, 0xf2, 0xc7, 0xbe, 0xde, 0x05, 0x00, 0x00, 0xff, 0xff, 0xd8, 0x67, - 0xa7, 0xa2, 0x8f, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/policy_topic_evidence_destination_not_working_device.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/policy_topic_evidence_destination_not_working_device.pb.go deleted file mode 100644 index 98e7e406..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/policy_topic_evidence_destination_not_working_device.pb.go +++ /dev/null @@ -1,137 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/policy_topic_evidence_destination_not_working_device.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The possible policy topic evidence destination not working devices. -type PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_PolicyTopicEvidenceDestinationNotWorkingDevice int32 - -const ( - // No value has been specified. - PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_UNSPECIFIED PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_PolicyTopicEvidenceDestinationNotWorkingDevice = 0 - // The received value is not known in this version. - // - // This is a response-only value. - PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_UNKNOWN PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_PolicyTopicEvidenceDestinationNotWorkingDevice = 1 - // Landing page doesn't work on desktop device. - PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_DESKTOP PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_PolicyTopicEvidenceDestinationNotWorkingDevice = 2 - // Landing page doesn't work on Android device. - PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_ANDROID PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_PolicyTopicEvidenceDestinationNotWorkingDevice = 3 - // Landing page doesn't work on iOS device. - PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_IOS PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_PolicyTopicEvidenceDestinationNotWorkingDevice = 4 -) - -var PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_PolicyTopicEvidenceDestinationNotWorkingDevice_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "DESKTOP", - 3: "ANDROID", - 4: "IOS", -} - -var PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_PolicyTopicEvidenceDestinationNotWorkingDevice_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "DESKTOP": 2, - "ANDROID": 3, - "IOS": 4, -} - -func (x PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_PolicyTopicEvidenceDestinationNotWorkingDevice) String() string { - return proto.EnumName(PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_PolicyTopicEvidenceDestinationNotWorkingDevice_name, int32(x)) -} - -func (PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_PolicyTopicEvidenceDestinationNotWorkingDevice) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b10d0781dd50ac63, []int{0, 0} -} - -// Container for enum describing possible policy topic evidence destination not -// working devices. -type PolicyTopicEvidenceDestinationNotWorkingDeviceEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PolicyTopicEvidenceDestinationNotWorkingDeviceEnum) Reset() { - *m = PolicyTopicEvidenceDestinationNotWorkingDeviceEnum{} -} -func (m *PolicyTopicEvidenceDestinationNotWorkingDeviceEnum) String() string { - return proto.CompactTextString(m) -} -func (*PolicyTopicEvidenceDestinationNotWorkingDeviceEnum) ProtoMessage() {} -func (*PolicyTopicEvidenceDestinationNotWorkingDeviceEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_b10d0781dd50ac63, []int{0} -} - -func (m *PolicyTopicEvidenceDestinationNotWorkingDeviceEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.Unmarshal(m, b) -} -func (m *PolicyTopicEvidenceDestinationNotWorkingDeviceEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.Marshal(b, m, deterministic) -} -func (m *PolicyTopicEvidenceDestinationNotWorkingDeviceEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.Merge(m, src) -} -func (m *PolicyTopicEvidenceDestinationNotWorkingDeviceEnum) XXX_Size() int { - return xxx_messageInfo_PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.Size(m) -} -func (m *PolicyTopicEvidenceDestinationNotWorkingDeviceEnum) XXX_DiscardUnknown() { - xxx_messageInfo_PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_PolicyTopicEvidenceDestinationNotWorkingDeviceEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_PolicyTopicEvidenceDestinationNotWorkingDevice", PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_PolicyTopicEvidenceDestinationNotWorkingDevice_name, PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_PolicyTopicEvidenceDestinationNotWorkingDevice_value) - proto.RegisterType((*PolicyTopicEvidenceDestinationNotWorkingDeviceEnum)(nil), "google.ads.googleads.v1.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/policy_topic_evidence_destination_not_working_device.proto", fileDescriptor_b10d0781dd50ac63) -} - -var fileDescriptor_b10d0781dd50ac63 = []byte{ - // 350 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x91, 0xcf, 0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x9a, 0x26, 0xc1, 0x4d, 0x78, 0x1b, 0x06, 0xbe, 0x75, 0x62, 0x77, 0xcd, 0xce, - 0x3c, 0x9a, 0x44, 0xf1, 0x32, 0xb2, 0x5a, 0x32, 0xf0, 0x83, 0xe9, 0x64, 0x16, 0x27, 0x96, 0x21, - 0x03, 0x2f, 0xf2, 0xef, 0xe2, 0xd0, 0xb7, 0xda, 0x76, 0xc7, 0x6c, 0x87, 0xf1, 0xd4, 0x3a, 0x1d, - 0xbd, 0x19, 0x66, 0xbf, 0x80, 0x35, 0xfa, 0xf7, 0xb5, 0xa3, 0xe1, 0x71, 0x63, 0x25, 0x72, 0x09, - 0x49, 0xeb, 0x61, 0xb4, 0x73, 0x2d, 0x61, 0x95, 0xf3, 0x12, 0xc1, 0xa6, 0x74, 0x4a, 0xca, 0xd5, - 0x8a, 0xf6, 0xd7, 0xaa, 0x98, 0xf8, 0xe3, 0x78, 0xd7, 0xea, 0xfb, 0x6e, 0xb4, 0xc7, 0x9e, 0xf7, - 0x69, 0xf4, 0xc6, 0xda, 0xca, 0x23, 0x02, 0x69, 0x29, 0xd5, 0xc2, 0x45, 0x72, 0x71, 0xe2, 0x6b, - 0x9f, 0x4f, 0x3d, 0x22, 0xd2, 0x43, 0x3e, 0x5d, 0xb8, 0xa9, 0xca, 0x7f, 0x1b, 0x7d, 0xfd, 0x13, - 0x63, 0x8f, 0x08, 0x8c, 0x0f, 0x15, 0x18, 0x2f, 0x5c, 0x8c, 0x55, 0xcd, 0xe3, 0x99, 0x1a, 0x6c, - 0xf8, 0x13, 0x00, 0x00, 0xff, 0xff, 0xbf, 0xfa, 0x15, 0x08, 0x54, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/positive_geo_target_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/positive_geo_target_type.pb.go deleted file mode 100644 index 157b7401..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/positive_geo_target_type.pb.go +++ /dev/null @@ -1,133 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/positive_geo_target_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The possible positive geo target types. -type PositiveGeoTargetTypeEnum_PositiveGeoTargetType int32 - -const ( - // Not specified. - PositiveGeoTargetTypeEnum_UNSPECIFIED PositiveGeoTargetTypeEnum_PositiveGeoTargetType = 0 - // The value is unknown in this version. - PositiveGeoTargetTypeEnum_UNKNOWN PositiveGeoTargetTypeEnum_PositiveGeoTargetType = 1 - // Specifies that an ad is triggered if the user is in, - // or shows interest in, advertiser's targeted locations. - PositiveGeoTargetTypeEnum_DONT_CARE PositiveGeoTargetTypeEnum_PositiveGeoTargetType = 2 - // Specifies that an ad is triggered if the user - // searches for advertiser's targeted locations. - PositiveGeoTargetTypeEnum_AREA_OF_INTEREST PositiveGeoTargetTypeEnum_PositiveGeoTargetType = 3 - // Specifies that an ad is triggered if the user is in - // or regularly in advertiser's targeted locations. - PositiveGeoTargetTypeEnum_LOCATION_OF_PRESENCE PositiveGeoTargetTypeEnum_PositiveGeoTargetType = 4 -) - -var PositiveGeoTargetTypeEnum_PositiveGeoTargetType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "DONT_CARE", - 3: "AREA_OF_INTEREST", - 4: "LOCATION_OF_PRESENCE", -} - -var PositiveGeoTargetTypeEnum_PositiveGeoTargetType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "DONT_CARE": 2, - "AREA_OF_INTEREST": 3, - "LOCATION_OF_PRESENCE": 4, -} - -func (x PositiveGeoTargetTypeEnum_PositiveGeoTargetType) String() string { - return proto.EnumName(PositiveGeoTargetTypeEnum_PositiveGeoTargetType_name, int32(x)) -} - -func (PositiveGeoTargetTypeEnum_PositiveGeoTargetType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_f2a88de5e0172b64, []int{0, 0} -} - -// Container for enum describing possible positive geo target types. -type PositiveGeoTargetTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PositiveGeoTargetTypeEnum) Reset() { *m = PositiveGeoTargetTypeEnum{} } -func (m *PositiveGeoTargetTypeEnum) String() string { return proto.CompactTextString(m) } -func (*PositiveGeoTargetTypeEnum) ProtoMessage() {} -func (*PositiveGeoTargetTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_f2a88de5e0172b64, []int{0} -} - -func (m *PositiveGeoTargetTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PositiveGeoTargetTypeEnum.Unmarshal(m, b) -} -func (m *PositiveGeoTargetTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PositiveGeoTargetTypeEnum.Marshal(b, m, deterministic) -} -func (m *PositiveGeoTargetTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PositiveGeoTargetTypeEnum.Merge(m, src) -} -func (m *PositiveGeoTargetTypeEnum) XXX_Size() int { - return xxx_messageInfo_PositiveGeoTargetTypeEnum.Size(m) -} -func (m *PositiveGeoTargetTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_PositiveGeoTargetTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_PositiveGeoTargetTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.PositiveGeoTargetTypeEnum_PositiveGeoTargetType", PositiveGeoTargetTypeEnum_PositiveGeoTargetType_name, PositiveGeoTargetTypeEnum_PositiveGeoTargetType_value) - proto.RegisterType((*PositiveGeoTargetTypeEnum)(nil), "google.ads.googleads.v1.enums.PositiveGeoTargetTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/positive_geo_target_type.proto", fileDescriptor_f2a88de5e0172b64) -} - -var fileDescriptor_f2a88de5e0172b64 = []byte{ - // 348 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xfb, 0x30, - 0x18, 0xc5, 0xff, 0xed, 0xfe, 0x28, 0x66, 0x88, 0xa5, 0x4c, 0xd0, 0xe1, 0x2e, 0xb6, 0x07, 0x48, - 0x29, 0xde, 0x45, 0x6f, 0xb2, 0x2e, 0x1b, 0x45, 0x49, 0x4b, 0xd7, 0x4d, 0x90, 0x42, 0xa9, 0x36, - 0x84, 0xc2, 0xd6, 0x94, 0x25, 0x1b, 0xec, 0x31, 0x7c, 0x05, 0x2f, 0x7d, 0x14, 0x1f, 0xc5, 0x1b, - 0x5f, 0x41, 0x9a, 0x6e, 0xbb, 0x9a, 0xde, 0x84, 0x43, 0xce, 0xf7, 0x3b, 0x7c, 0xdf, 0x01, 0xf7, - 0x5c, 0x08, 0xbe, 0x60, 0x4e, 0x96, 0x4b, 0xa7, 0x91, 0xb5, 0xda, 0xb8, 0x0e, 0x2b, 0xd7, 0x4b, - 0xe9, 0x54, 0x42, 0x16, 0xaa, 0xd8, 0xb0, 0x94, 0x33, 0x91, 0xaa, 0x6c, 0xc5, 0x99, 0x4a, 0xd5, - 0xb6, 0x62, 0xb0, 0x5a, 0x09, 0x25, 0xec, 0x5e, 0x83, 0xc0, 0x2c, 0x97, 0xf0, 0x40, 0xc3, 0x8d, - 0x0b, 0x35, 0xdd, 0xbd, 0xd9, 0x87, 0x57, 0x85, 0x93, 0x95, 0xa5, 0x50, 0x99, 0x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c, 0x20, 0x34, 0x77, 0x11, 0xd2, 0x33, 0x2f, 0x27, 0x7a, 0xb1, 0xdb, 0x9f, 0x00, - 0x00, 0x00, 0xff, 0xff, 0x95, 0x62, 0x2c, 0xa8, 0x09, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/preferred_content_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/preferred_content_type.pb.go deleted file mode 100644 index 8ba75a8b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/preferred_content_type.pb.go +++ /dev/null @@ -1,120 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/preferred_content_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_67bec211f0f151aa, []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_67bec211f0f151aa, []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 (m *PreferredContentTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PreferredContentTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.PreferredContentTypeEnum_PreferredContentType", PreferredContentTypeEnum_PreferredContentType_name, PreferredContentTypeEnum_PreferredContentType_value) - proto.RegisterType((*PreferredContentTypeEnum)(nil), "google.ads.googleads.v1.enums.PreferredContentTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/preferred_content_type.proto", fileDescriptor_67bec211f0f151aa) -} - -var fileDescriptor_67bec211f0f151aa = []byte{ - // 316 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xfb, 0x30, - 0x18, 0xc5, 0xff, 0xdb, 0xe0, 0x2f, 0x64, 0x17, 0x8e, 0xea, 0xc5, 0x14, 0x77, 0xb1, 0x3d, 0x40, - 0x42, 0xf1, 0x2e, 0x5e, 0xb5, 0xb3, 0x8e, 0x21, 0xa4, 0x05, 0xdb, 0x89, 0x52, 0x28, 0x75, 0x89, - 0x61, 0xb2, 0x25, 0xa1, 0xc9, 0x06, 0x7b, 0x0b, 0x9f, 0xc1, 0x4b, 0x1f, 0xc5, 0x47, 0xf1, 0xc2, - 0x67, 0x90, 0x26, 0xb6, 0x57, 0xd3, 0x9b, 0x72, 0xe8, 0xf9, 0x7e, 0x27, 0xe7, 0xfb, 0x00, 0xe6, - 0x52, 0xf2, 0x35, 0x43, 0x25, 0xd5, 0xc8, 0xc9, 0x5a, 0xed, 0x7c, 0xc4, 0xc4, 0x76, 0xa3, 0x91, - 0xaa, 0xd8, 0x33, 0xab, 0x2a, 0x46, 0x8b, 0xa5, 0x14, 0x86, 0x09, 0x53, 0x98, 0xbd, 0x62, 0x50, - 0x55, 0xd2, 0x48, 0x6f, 0xe4, 0x00, 0x58, 0x52, 0x0d, 0x5b, 0x16, 0xee, 0x7c, 0x68, 0xd9, 0xf3, - 0x8b, 0x26, 0x5a, 0xad, 0x50, 0x29, 0x84, 0x34, 0xa5, 0x59, 0x49, 0xa1, 0x1d, 0x3c, 0x79, 0x01, - 0xc3, 0xa4, 0x09, 0x9f, 0xba, 0xec, 0x74, 0xaf, 0x58, 0x24, 0xb6, 0x9b, 0x09, 0x01, 0xa7, 0x87, - 0x3c, 0xef, 0x18, 0xf4, 0x33, 0x72, 0x97, 0x44, 0xd3, 0xf9, 0xcd, 0x3c, 0xba, 0x1e, 0xfc, 0xf3, - 0xfa, 0xe0, 0x28, 0x23, 0xb7, 0x24, 0xbe, 0x27, 0x83, 0x8e, 0x37, 0x04, 0x27, 0x0f, 0x71, 0x96, - 0x66, 0x61, 0x54, 0xa4, 0x71, 0x52, 0x4c, 0x63, 0x92, 0x46, 0x24, 0x1d, 0xbc, 0xf6, 0xc2, 0xaf, - 0x0e, 0x18, 0x2f, 0xe5, 0x06, 0xfe, 0xd9, 0x37, 0x3c, 0x3b, 0xf4, 0x66, 0x52, 0x97, 0x4d, 0x3a, - 0x8f, 0xe1, 0x0f, 0xcb, 0xe5, 0xba, 0x14, 0x1c, 0xca, 0x8a, 0x23, 0xce, 0x84, 0x5d, 0xa5, 0xb9, - 0x9b, 0x5a, 0xe9, 0x5f, 0xce, 0x78, 0x65, 0xbf, 0x6f, 0xdd, 0xde, 0x2c, 0x08, 0xde, 0xbb, 0xa3, - 0x99, 0x8b, 0x0a, 0xa8, 0x86, 0x4e, 0xd6, 0x6a, 0xe1, 0xc3, 0x7a, 0x77, 0xfd, 0xd1, 0xf8, 0x79, - 0x40, 0x75, 0xde, 0xfa, 0xf9, 0xc2, 0xcf, 0xad, 0xff, 0xd9, 0x1d, 0xbb, 0x9f, 0x18, 0x07, 0x54, - 0x63, 0xdc, 0x4e, 0x60, 0xbc, 0xf0, 0x31, 0xb6, 0x33, 0x4f, 0xff, 0x6d, 0xb1, 0xcb, 0xef, 0x00, - 0x00, 0x00, 0xff, 0xff, 0xaf, 0xc9, 0x9a, 0x9e, 0xde, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/price_extension_price_qualifier.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/price_extension_price_qualifier.pb.go deleted file mode 100644 index 0146420a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/price_extension_price_qualifier.pb.go +++ /dev/null @@ -1,129 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/price_extension_price_qualifier.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enums of price extension price qualifier. -type PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier int32 - -const ( - // Not specified. - PriceExtensionPriceQualifierEnum_UNSPECIFIED PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier = 0 - // Used for return value only. Represents value unknown in this version. - PriceExtensionPriceQualifierEnum_UNKNOWN PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier = 1 - // 'From' qualifier for the price. - PriceExtensionPriceQualifierEnum_FROM PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier = 2 - // 'Up to' qualifier for the price. - PriceExtensionPriceQualifierEnum_UP_TO PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier = 3 - // 'Average' qualifier for the price. - PriceExtensionPriceQualifierEnum_AVERAGE PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier = 4 -) - -var PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "FROM", - 3: "UP_TO", - 4: "AVERAGE", -} - -var PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "FROM": 2, - "UP_TO": 3, - "AVERAGE": 4, -} - -func (x PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier) String() string { - return proto.EnumName(PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier_name, int32(x)) -} - -func (PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_5385b5b37d759744, []int{0, 0} -} - -// Container for enum describing a price extension price qualifier. -type PriceExtensionPriceQualifierEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PriceExtensionPriceQualifierEnum) Reset() { *m = PriceExtensionPriceQualifierEnum{} } -func (m *PriceExtensionPriceQualifierEnum) String() string { return proto.CompactTextString(m) } -func (*PriceExtensionPriceQualifierEnum) ProtoMessage() {} -func (*PriceExtensionPriceQualifierEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_5385b5b37d759744, []int{0} -} - -func (m *PriceExtensionPriceQualifierEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PriceExtensionPriceQualifierEnum.Unmarshal(m, b) -} -func (m *PriceExtensionPriceQualifierEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PriceExtensionPriceQualifierEnum.Marshal(b, m, deterministic) -} -func (m *PriceExtensionPriceQualifierEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PriceExtensionPriceQualifierEnum.Merge(m, src) -} -func (m *PriceExtensionPriceQualifierEnum) XXX_Size() int { - return xxx_messageInfo_PriceExtensionPriceQualifierEnum.Size(m) -} -func (m *PriceExtensionPriceQualifierEnum) XXX_DiscardUnknown() { - xxx_messageInfo_PriceExtensionPriceQualifierEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_PriceExtensionPriceQualifierEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier", PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier_name, PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier_value) - proto.RegisterType((*PriceExtensionPriceQualifierEnum)(nil), "google.ads.googleads.v1.enums.PriceExtensionPriceQualifierEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/price_extension_price_qualifier.proto", fileDescriptor_5385b5b37d759744) -} - -var fileDescriptor_5385b5b37d759744 = []byte{ - // 326 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x4d, 0x4e, 0xf3, 0x30, - 0x10, 0xfd, 0x92, 0xf6, 0xe3, 0xc7, 0x5d, 0x10, 0x65, 0x89, 0x5a, 0x89, 0xf6, 0x00, 0x8e, 0x22, - 0x76, 0x66, 0xe5, 0x96, 0xb4, 0xaa, 0x10, 0x69, 0x28, 0x34, 0x48, 0x28, 0xa2, 0x32, 0x8d, 0xb1, - 0x2c, 0xb5, 0x76, 0x88, 0xd3, 0x8a, 0x35, 0x47, 0x61, 0xc9, 0x51, 0x38, 0x0a, 0x07, 0x60, 0x8d, - 0x6c, 0x93, 0xee, 0xc8, 0xc6, 0x7a, 0xe3, 0x79, 0xf3, 0x66, 0xde, 0x03, 0x23, 0x26, 0x25, 0x5b, - 0xd3, 0x80, 0xe4, 0x2a, 0xb0, 0x50, 0xa3, 0x5d, 0x18, 0x50, 0xb1, 0xdd, 0xa8, 0xa0, 0x28, 0xf9, - 0x8a, 0x2e, 0xe9, 0x6b, 0x45, 0x85, 0xe2, 0x52, 0x2c, 0x6d, 0xfd, 0xb2, 0x25, 0x6b, 0xfe, 0xcc, - 0x69, 0x09, 0x8b, 0x52, 0x56, 0xd2, 0xef, 0xd9, 0x49, 0x48, 0x72, 0x05, 0xf7, 0x22, 0x70, 0x17, - 0x42, 0x23, 0x72, 0xda, 0xad, 0x77, 0x14, 0x3c, 0x20, 0x42, 0xc8, 0x8a, 0x54, 0x5c, 0x0a, 0x65, - 0x87, 0x07, 0x6f, 0x0e, 0x38, 0x4b, 0xb4, 0x6c, 0x54, 0x6f, 0x31, 0xd5, 0x4d, 0xbd, 0x23, 0x12, - 0xdb, 0xcd, 0xe0, 0x11, 0x74, 0x9b, 0x38, 0xfe, 0x09, 0xe8, 0x2c, 0xe2, 0xdb, 0x24, 0x1a, 0x4d, - 0xc7, 0xd3, 0xe8, 0xd2, 0xfb, 0xe7, 0x77, 0xc0, 0xe1, 0x22, 0xbe, 0x8a, 0x67, 0xf7, 0xb1, 0xe7, - 0xf8, 0x47, 0xa0, 0x3d, 0x9e, 0xcf, 0xae, 0x3d, 0xd7, 0x3f, 0x06, 0xff, 0x17, 0xc9, 0xf2, 0x6e, - 0xe6, 0xb5, 0x34, 0x03, 0xa7, 0xd1, 0x1c, 0x4f, 0x22, 0xaf, 0x3d, 0xfc, 0x76, 0x40, 0x7f, 0x25, - 0x37, 0xb0, 0xd1, 0xc8, 0xb0, 0xdf, 0x74, 0x43, 0xa2, 0xdd, 0x24, 0xce, 0xc3, 0xf0, 0x57, 0x83, - 0xc9, 0x35, 0x11, 0x0c, 0xca, 0x92, 0x05, 0x8c, 0x0a, 0xe3, 0xb5, 0x4e, 0xb8, 0xe0, 0xea, 0x8f, - 0xc0, 0x2f, 0xcc, 0xfb, 0xee, 0xb6, 0x26, 0x18, 0x7f, 0xb8, 0xbd, 0x89, 0x95, 0xc2, 0xb9, 0x82, - 0x16, 0x6a, 0x94, 0x86, 0x50, 0x67, 0xa2, 0x3e, 0xeb, 0x7e, 0x86, 0x73, 0x95, 0xed, 0xfb, 0x59, - 0x1a, 0x66, 0xa6, 0xff, 0xe5, 0xf6, 0xed, 0x27, 0x42, 0x38, 0x57, 0x08, 0xed, 0x19, 0x08, 0xa5, - 0x21, 0x42, 0x86, 0xf3, 0x74, 0x60, 0x0e, 0x3b, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0x21, 0x8d, - 0x8b, 0x8d, 0x08, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/price_extension_price_unit.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/price_extension_price_unit.pb.go deleted file mode 100644 index 30c2943c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/price_extension_price_unit.pb.go +++ /dev/null @@ -1,142 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/price_extension_price_unit.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Price extension price unit. -type PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit int32 - -const ( - // Not specified. - PriceExtensionPriceUnitEnum_UNSPECIFIED PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit = 0 - // Used for return value only. Represents value unknown in this version. - PriceExtensionPriceUnitEnum_UNKNOWN PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit = 1 - // Per hour. - PriceExtensionPriceUnitEnum_PER_HOUR PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit = 2 - // Per day. - PriceExtensionPriceUnitEnum_PER_DAY PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit = 3 - // Per week. - PriceExtensionPriceUnitEnum_PER_WEEK PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit = 4 - // Per month. - PriceExtensionPriceUnitEnum_PER_MONTH PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit = 5 - // Per year. - PriceExtensionPriceUnitEnum_PER_YEAR PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit = 6 - // Per night. - PriceExtensionPriceUnitEnum_PER_NIGHT PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit = 7 -) - -var PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "PER_HOUR", - 3: "PER_DAY", - 4: "PER_WEEK", - 5: "PER_MONTH", - 6: "PER_YEAR", - 7: "PER_NIGHT", -} - -var PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "PER_HOUR": 2, - "PER_DAY": 3, - "PER_WEEK": 4, - "PER_MONTH": 5, - "PER_YEAR": 6, - "PER_NIGHT": 7, -} - -func (x PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit) String() string { - return proto.EnumName(PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit_name, int32(x)) -} - -func (PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1ba476426d1d0390, []int{0, 0} -} - -// Container for enum describing price extension price unit. -type PriceExtensionPriceUnitEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PriceExtensionPriceUnitEnum) Reset() { *m = PriceExtensionPriceUnitEnum{} } -func (m *PriceExtensionPriceUnitEnum) String() string { return proto.CompactTextString(m) } -func (*PriceExtensionPriceUnitEnum) ProtoMessage() {} -func (*PriceExtensionPriceUnitEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_1ba476426d1d0390, []int{0} -} - -func (m *PriceExtensionPriceUnitEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PriceExtensionPriceUnitEnum.Unmarshal(m, b) -} -func (m *PriceExtensionPriceUnitEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PriceExtensionPriceUnitEnum.Marshal(b, m, deterministic) -} -func (m *PriceExtensionPriceUnitEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PriceExtensionPriceUnitEnum.Merge(m, src) -} -func (m *PriceExtensionPriceUnitEnum) XXX_Size() int { - return xxx_messageInfo_PriceExtensionPriceUnitEnum.Size(m) -} -func (m *PriceExtensionPriceUnitEnum) XXX_DiscardUnknown() { - xxx_messageInfo_PriceExtensionPriceUnitEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_PriceExtensionPriceUnitEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit", PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit_name, PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit_value) - proto.RegisterType((*PriceExtensionPriceUnitEnum)(nil), "google.ads.googleads.v1.enums.PriceExtensionPriceUnitEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/price_extension_price_unit.proto", fileDescriptor_1ba476426d1d0390) -} - -var fileDescriptor_1ba476426d1d0390 = []byte{ - // 350 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xd1, 0x4e, 0xfa, 0x30, - 0x14, 0xc6, 0xff, 0x1b, 0x7f, 0x41, 0x8b, 0xc6, 0x66, 0x37, 0x26, 0x0a, 0x17, 0xf0, 0x00, 0x5d, - 0x16, 0xef, 0x6a, 0x62, 0x32, 0xa4, 0x02, 0x21, 0x8e, 0x05, 0x19, 0x04, 0xb3, 0x84, 0x4c, 0xb6, - 0x2c, 0x4d, 0xa0, 0x5d, 0xe8, 0x20, 0x3e, 0x84, 0x4f, 0xe1, 0xa5, 0xf1, 0x49, 0x7c, 0x14, 0xef, - 0x7c, 0x03, 0xd3, 0xd6, 0x72, 0x87, 0x37, 0xcb, 0xf7, 0xed, 0xd7, 0xef, 0xb4, 0xe7, 0x1c, 0x70, - 0x9b, 0x73, 0x9e, 0xaf, 0x32, 0x37, 0x49, 0x85, 0xab, 0xa5, 0x54, 0x3b, 0xcf, 0xcd, 0xd8, 0x76, - 0x2d, 0xdc, 0x62,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xdf, 0xec, 0x4a, 0xcf, 0xf7, 0xdf, - 0xed, 0x66, 0x4f, 0x97, 0xf2, 0x53, 0x81, 0xb4, 0x94, 0x6a, 0xea, 0x21, 0x39, 0x3d, 0xf1, 0x69, - 0x78, 0xec, 0xa7, 0x22, 0xde, 0xf3, 0x78, 0xea, 0xc5, 0x8a, 0x7f, 0xd9, 0x2d, 0xfd, 0x13, 0x63, - 0x3f, 0x15, 0x18, 0xef, 0x4f, 0x60, 0x3c, 0xf5, 0x30, 0x56, 0x67, 0x9e, 0xab, 0xea, 0x61, 0xd7, - 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x32, 0x6a, 0x8d, 0xfb, 0x28, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/price_extension_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/price_extension_type.pb.go deleted file mode 100644 index 02daa8fb..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/price_extension_type.pb.go +++ /dev/null @@ -1,157 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/price_extension_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Price extension type. -type PriceExtensionTypeEnum_PriceExtensionType int32 - -const ( - // Not specified. - PriceExtensionTypeEnum_UNSPECIFIED PriceExtensionTypeEnum_PriceExtensionType = 0 - // Used for return value only. Represents value unknown in this version. - PriceExtensionTypeEnum_UNKNOWN PriceExtensionTypeEnum_PriceExtensionType = 1 - // The type for showing a list of brands. - PriceExtensionTypeEnum_BRANDS PriceExtensionTypeEnum_PriceExtensionType = 2 - // The type for showing a list of events. - PriceExtensionTypeEnum_EVENTS PriceExtensionTypeEnum_PriceExtensionType = 3 - // The type for showing locations relevant to your business. - PriceExtensionTypeEnum_LOCATIONS PriceExtensionTypeEnum_PriceExtensionType = 4 - // The type for showing sub-regions or districts within a city or region. - PriceExtensionTypeEnum_NEIGHBORHOODS PriceExtensionTypeEnum_PriceExtensionType = 5 - // The type for showing a collection of product categories. - PriceExtensionTypeEnum_PRODUCT_CATEGORIES PriceExtensionTypeEnum_PriceExtensionType = 6 - // The type for showing a collection of related product tiers. - PriceExtensionTypeEnum_PRODUCT_TIERS PriceExtensionTypeEnum_PriceExtensionType = 7 - // The type for showing a collection of services offered by your business. - PriceExtensionTypeEnum_SERVICES PriceExtensionTypeEnum_PriceExtensionType = 8 - // The type for showing a collection of service categories. - PriceExtensionTypeEnum_SERVICE_CATEGORIES PriceExtensionTypeEnum_PriceExtensionType = 9 - // The type for showing a collection of related service tiers. - PriceExtensionTypeEnum_SERVICE_TIERS PriceExtensionTypeEnum_PriceExtensionType = 10 -) - -var PriceExtensionTypeEnum_PriceExtensionType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "BRANDS", - 3: "EVENTS", - 4: "LOCATIONS", - 5: "NEIGHBORHOODS", - 6: "PRODUCT_CATEGORIES", - 7: "PRODUCT_TIERS", - 8: "SERVICES", - 9: "SERVICE_CATEGORIES", - 10: "SERVICE_TIERS", -} - -var PriceExtensionTypeEnum_PriceExtensionType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "BRANDS": 2, - "EVENTS": 3, - "LOCATIONS": 4, - "NEIGHBORHOODS": 5, - "PRODUCT_CATEGORIES": 6, - "PRODUCT_TIERS": 7, - "SERVICES": 8, - "SERVICE_CATEGORIES": 9, - "SERVICE_TIERS": 10, -} - -func (x PriceExtensionTypeEnum_PriceExtensionType) String() string { - return proto.EnumName(PriceExtensionTypeEnum_PriceExtensionType_name, int32(x)) -} - -func (PriceExtensionTypeEnum_PriceExtensionType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_68854bbfc816b83c, []int{0, 0} -} - -// Container for enum describing types for a price extension. -type PriceExtensionTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PriceExtensionTypeEnum) Reset() { *m = PriceExtensionTypeEnum{} } -func (m *PriceExtensionTypeEnum) String() string { return proto.CompactTextString(m) } -func (*PriceExtensionTypeEnum) ProtoMessage() {} -func (*PriceExtensionTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_68854bbfc816b83c, []int{0} -} - -func (m *PriceExtensionTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PriceExtensionTypeEnum.Unmarshal(m, b) -} -func (m *PriceExtensionTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PriceExtensionTypeEnum.Marshal(b, m, deterministic) -} -func (m *PriceExtensionTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PriceExtensionTypeEnum.Merge(m, src) -} -func (m *PriceExtensionTypeEnum) XXX_Size() int { - return xxx_messageInfo_PriceExtensionTypeEnum.Size(m) -} -func (m *PriceExtensionTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_PriceExtensionTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_PriceExtensionTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.PriceExtensionTypeEnum_PriceExtensionType", PriceExtensionTypeEnum_PriceExtensionType_name, PriceExtensionTypeEnum_PriceExtensionType_value) - proto.RegisterType((*PriceExtensionTypeEnum)(nil), "google.ads.googleads.v1.enums.PriceExtensionTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/price_extension_type.proto", fileDescriptor_68854bbfc816b83c) -} - -var fileDescriptor_68854bbfc816b83c = []byte{ - // 394 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xd1, 0x6a, 0xd4, 0x40, - 0x18, 0x85, 0xcd, 0x56, 0xb7, 0xed, 0xd4, 0xe2, 0x38, 0x17, 0x15, 0xc4, 0x5e, 0xb4, 0x0f, 0x30, - 0x21, 0x78, 0x23, 0xe3, 0xd5, 0x24, 0x19, 0xd3, 0xa0, 0xcc, 0x84, 0x4c, 0x36, 0x82, 0x04, 0x96, - 0xd8, 0x0c, 0x21, 0xd0, 0x9d, 0x09, 0x3b, 0x69, 0xb1, 0xaf, 0xe3, 0xa5, 0x8f, 0xe2, 0x95, 0xcf, - 0xa1, 0x3e, 0x84, 0x4c, 0xd2, 0x2c, 0xc2, 0xa2, 0x37, 0xe1, 0xe4, 0xff, 0xcf, 0x77, 0x48, 0xce, - 0x0f, 0xde, 0xb4, 0xc6, 0xb4, 0x37, 0xca, 0xaf, 0x1b, 0xeb, 0x4f, 0xd2, 0xa9, 0xbb, 0xc0, 0x57, - 0xfa, 0x76, 0x63, 0xfd, 0x7e, 0xdb, 0x5d, 0xab, 0xb5, 0xfa, 0x32, 0x28, 0x6d, 0x3b, 0xa3, 0xd7, - 0xc3, 0x7d, 0xaf, 0x70, 0xbf, 0x35, 0x83, 0x41, 0xe7, 0x93, 0x1d, 0xd7, 0x8d, 0xc5, 0x3b, 0x12, - 0xdf, 0x05, 0x78, 0x24, 0x5f, 0xbe, 0x9a, 0x83, 0xfb, 0xce, 0xaf, 0xb5, 0x36, 0x43, 0x3d, 0x74, - 0x46, 0xdb, 0x09, 0xbe, 0xfc, 0xe5, 0x81, 0xb3, 0xcc, 0x65, 0xb3, 0x39, 0xba, 0xb8, 0xef, 0x15, - 0xd3, 0xb7, 0x9b, 0xcb, 0x1f, 0x1e, 0x40, 0xfb, 0x2b, 0xf4, 0x0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xfb, 0xaa, 0x0c, 0xaa, 0x71, 0xff, 0x73, 0x71, 0x31, 0x0d, 0x09, 0xa1, 0x8d, 0x25, 0x64, - 0xe7, 0x20, 0xa4, 0x0c, 0x08, 0x19, 0x3d, 0x9f, 0x97, 0xe3, 0x87, 0xbd, 0xfe, 0x13, 0x00, 0x00, - 0xff, 0xff, 0x6b, 0x1c, 0x5f, 0xce, 0x5c, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/price_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/price_placeholder_field.pb.go deleted file mode 100644 index a8be021e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/price_placeholder_field.pb.go +++ /dev/null @@ -1,391 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/price_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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: MONEY. 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: MONEY. 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: MONEY. 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: MONEY. 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: MONEY. 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: MONEY. 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: MONEY. 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: MONEY. 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_3d990bd7464db1dd, []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_3d990bd7464db1dd, []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 (m *PricePlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PricePlaceholderFieldEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.PricePlaceholderFieldEnum_PricePlaceholderField", PricePlaceholderFieldEnum_PricePlaceholderField_name, PricePlaceholderFieldEnum_PricePlaceholderField_value) - proto.RegisterType((*PricePlaceholderFieldEnum)(nil), "google.ads.googleads.v1.enums.PricePlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/price_placeholder_field.proto", fileDescriptor_3d990bd7464db1dd) -} - -var fileDescriptor_3d990bd7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8, 0x15, 0xc5, 0x9b, 0x76, 0x08, 0xa1, 0x84, 0xa4, 0x4f, 0x78, 0xce, 0x90, 0xff, - 0xa9, 0x21, 0x19, 0x32, 0xbc, 0x60, 0xc8, 0x34, 0x45, 0x24, 0x29, 0xe2, 0x90, 0x21, 0x98, 0x2a, - 0x92, 0x9e, 0xe2, 0x25, 0x43, 0x66, 0x29, 0x23, 0x19, 0x64, 0xbc, 0x62, 0xc8, 0x02, 0x75, 0x24, - 0x23, 0x1c, 0xaf, 0x19, 0x80, 0xa4, 0x7c, 0xc8, 0x6d, 0x16, 0x20, 0xa9, 0x10, 0xe4, 0x0e, 0x0b, - 0x90, 0x14, 0x85, 0xdc, 0x65, 0x01, 0x92, 0xf2, 0x20, 0xf7, 0x58, 0x80, 0xa4, 0x82, 0x90, 0xfb, - 0x2c, 0x40, 0x52, 0x11, 0x90, 0x07, 0x2c, 0x40, 0xd2, 0x3e, 0xe4, 0x3c, 0x07, 0x90, 0x74, 0x08, - 0x72, 0x81, 0x03, 0x48, 0x9a, 0x42, 0x2e, 0x72, 0x00, 0x49, 0x7b, 0x90, 0x4b, 0x1c, 0x40, 0xd2, - 0x41, 0xc8, 0x65, 0x0e, 0x20, 0xe9, 0x08, 0xc8, 0x15, 0x0e, 0x20, 0x19, 0x1f, 0xf2, 0x65, 0x04, - 0xc9, 0x84, 0x20, 0x5f, 0x47, 0x90, 0x0c, 0x85, 0x7c, 0x1b, 0x41, 0x32, 0x1e, 0xe4, 0xfb, 0x08, - 0x92, 0x09, 0x42, 0x7e, 0x8c, 0x20, 0x99, 0x08, 0xc8, 0xcf, 0x11, 0x24, 0xeb, 0x43, 0xde, 0xf2, - 0x00, 0xc9, 0x86, 0x20, 0xef, 0x78, 0x80, 0x64, 0x29, 0xe4, 0x3d, 0x0f, 0x90, 0xac, 0x07, 0xf9, - 0xc0, 0x03, 0x24, 0x1b, 0x84, 0x7c, 0xe4, 0x01, 0x92, 0x8d, 0x80, 0x7c, 0xe2, 0x01, 0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8, 0x5a, 0x66, 0x06, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/product_bidding_category_level.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/product_bidding_category_level.pb.go deleted file mode 100644 index 3ba6adfd..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/product_bidding_category_level.pb.go +++ /dev/null @@ -1,137 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/product_bidding_category_level.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing the level of the product bidding category. -type ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel int32 - -const ( - // Not specified. - ProductBiddingCategoryLevelEnum_UNSPECIFIED ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel = 0 - // Used for return value only. Represents value unknown in this version. - ProductBiddingCategoryLevelEnum_UNKNOWN ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel = 1 - // Level 1. - ProductBiddingCategoryLevelEnum_LEVEL1 ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel = 2 - // Level 2. - ProductBiddingCategoryLevelEnum_LEVEL2 ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel = 3 - // Level 3. - ProductBiddingCategoryLevelEnum_LEVEL3 ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel = 4 - // Level 4. - ProductBiddingCategoryLevelEnum_LEVEL4 ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel = 5 - // Level 5. - ProductBiddingCategoryLevelEnum_LEVEL5 ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel = 6 -) - -var ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "LEVEL1", - 3: "LEVEL2", - 4: "LEVEL3", - 5: "LEVEL4", - 6: "LEVEL5", -} - -var ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "LEVEL1": 2, - "LEVEL2": 3, - "LEVEL3": 4, - "LEVEL4": 5, - "LEVEL5": 6, -} - -func (x ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel) String() string { - return proto.EnumName(ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel_name, int32(x)) -} - -func (ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8fbaaa9fae45372c, []int{0, 0} -} - -// Level of a product bidding category. -type ProductBiddingCategoryLevelEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ProductBiddingCategoryLevelEnum) Reset() { *m = ProductBiddingCategoryLevelEnum{} } -func (m *ProductBiddingCategoryLevelEnum) String() string { return proto.CompactTextString(m) } -func (*ProductBiddingCategoryLevelEnum) ProtoMessage() {} -func (*ProductBiddingCategoryLevelEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_8fbaaa9fae45372c, []int{0} -} - -func (m *ProductBiddingCategoryLevelEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProductBiddingCategoryLevelEnum.Unmarshal(m, b) -} -func (m *ProductBiddingCategoryLevelEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProductBiddingCategoryLevelEnum.Marshal(b, m, deterministic) -} -func (m *ProductBiddingCategoryLevelEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductBiddingCategoryLevelEnum.Merge(m, src) -} -func (m *ProductBiddingCategoryLevelEnum) XXX_Size() int { - return xxx_messageInfo_ProductBiddingCategoryLevelEnum.Size(m) -} -func (m *ProductBiddingCategoryLevelEnum) XXX_DiscardUnknown() { - xxx_messageInfo_ProductBiddingCategoryLevelEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_ProductBiddingCategoryLevelEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel", ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel_name, ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel_value) - proto.RegisterType((*ProductBiddingCategoryLevelEnum)(nil), "google.ads.googleads.v1.enums.ProductBiddingCategoryLevelEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/product_bidding_category_level.proto", fileDescriptor_8fbaaa9fae45372c) -} - -var fileDescriptor_8fbaaa9fae45372c = []byte{ - // 329 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x41, 0x4b, 0xfb, 0x30, - 0x18, 0xc6, 0xff, 0xed, 0xfe, 0x4e, 0xc8, 0x0e, 0x86, 0x1e, 0xd5, 0xa1, 0xdb, 0x07, 0x48, 0xa9, - 0xd3, 0x4b, 0x3c, 0xb5, 0xb3, 0x8e, 0xe1, 0xa8, 0x05, 0x59, 0x05, 0x29, 0x8c, 0x6c, 0x09, 0xa1, - 0xd0, 0x25, 0xa5, 0xe9, 0x26, 0x7e, 0x15, 0x8f, 0x1e, 0xfd, 0x28, 0x7e, 0x14, 0xef, 0xde, 0xa5, - 0xc9, 0x96, 0x9b, 0xbb, 0x94, 0x1f, 0x7d, 0xdf, 0xf7, 0x79, 0xde, 0xf7, 0x09, 0x88, 0xb8, 0x94, - 0xbc, 0x64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, 0x26, 0x61, 0xf8, 0xe9, 0xf6, 0x27, 0x46, - 0x2a, 0xa4, 0x0a, 0x19, 0x6c, 0x29, 0x0b, 0x50, 0x9b, 0x95, 0xfa, 0xda, 0xd7, 0xf3, 0x90, 0xaa, - 0xdc, 0xd6, 0xf3, 0x2c, 0xc8, 0x75, 0xfd, 0xdb, 0x1d, 0x98, 0x9f, 0x18, 0x87, 0x54, 0x61, 0x6c, - 0x3b, 0x30, 0xce, 0x02, 0x8c, 0x75, 0xcf, 0xb2, 0xab, 0x17, 0x1b, 0xfd, 0x06, 0x00, 0x00, 0xff, - 0xff, 0x0f, 0xc8, 0x40, 0xe4, 0x1e, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/product_bidding_category_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/product_bidding_category_status.pb.go deleted file mode 100644 index 119e2d47..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/product_bidding_category_status.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/product_bidding_category_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing the status of the product bidding category. -type ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus int32 - -const ( - // Not specified. - ProductBiddingCategoryStatusEnum_UNSPECIFIED ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus = 0 - // Used for return value only. Represents value unknown in this version. - ProductBiddingCategoryStatusEnum_UNKNOWN ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus = 1 - // The category is active and can be used for bidding. - ProductBiddingCategoryStatusEnum_ACTIVE ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus = 2 - // The category is obsolete. Used only for reporting purposes. - ProductBiddingCategoryStatusEnum_OBSOLETE ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus = 3 -) - -var ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "ACTIVE", - 3: "OBSOLETE", -} - -var ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "ACTIVE": 2, - "OBSOLETE": 3, -} - -func (x ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus) String() string { - return proto.EnumName(ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus_name, int32(x)) -} - -func (ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_d3fc354717fb5b27, []int{0, 0} -} - -// Status of the product bidding category. -type ProductBiddingCategoryStatusEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ProductBiddingCategoryStatusEnum) Reset() { *m = ProductBiddingCategoryStatusEnum{} } -func (m *ProductBiddingCategoryStatusEnum) String() string { return proto.CompactTextString(m) } -func (*ProductBiddingCategoryStatusEnum) ProtoMessage() {} -func (*ProductBiddingCategoryStatusEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_d3fc354717fb5b27, []int{0} -} - -func (m *ProductBiddingCategoryStatusEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProductBiddingCategoryStatusEnum.Unmarshal(m, b) -} -func (m *ProductBiddingCategoryStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProductBiddingCategoryStatusEnum.Marshal(b, m, deterministic) -} -func (m *ProductBiddingCategoryStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductBiddingCategoryStatusEnum.Merge(m, src) -} -func (m *ProductBiddingCategoryStatusEnum) XXX_Size() int { - return xxx_messageInfo_ProductBiddingCategoryStatusEnum.Size(m) -} -func (m *ProductBiddingCategoryStatusEnum) XXX_DiscardUnknown() { - xxx_messageInfo_ProductBiddingCategoryStatusEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_ProductBiddingCategoryStatusEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus", ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus_name, ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus_value) - proto.RegisterType((*ProductBiddingCategoryStatusEnum)(nil), "google.ads.googleads.v1.enums.ProductBiddingCategoryStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/product_bidding_category_status.proto", fileDescriptor_d3fc354717fb5b27) -} - -var fileDescriptor_d3fc354717fb5b27 = []byte{ - // 319 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xc3, 0x30, - 0x14, 0x86, 0x5d, 0x07, 0x53, 0x32, 0xc1, 0xd2, 0x4b, 0xd9, 0xc0, 0xed, 0x01, 0x12, 0x8a, 0x77, - 0xf1, 0x2a, 0xad, 0x71, 0x0c, 0xa5, 0x2b, 0x6c, 0xab, 0x20, 0x85, 0x91, 0x2d, 0x25, 0x14, 0xb6, - 0xa4, 0x34, 0xe9, 0x40, 0x1f, 0xc7, 0x4b, 0x1f, 0xc5, 0x47, 0xf1, 0x01, 0xbc, 0x96, 0x26, 0xdb, - 0xee, 0xdc, 0x4d, 0xf8, 0xc9, 0x39, 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 0xfb, 0xe9, 0x75, 0x27, - 0x84, 0x7c, 0x79, 0xc3, 0x89, 0xb3, 0x22, 0x5c, 0x43, 0x27, 0x5b, 0x95, 0x85, 0xb0, 0xcd, 0x42, - 0x7f, 0x1f, 0xeb, 0x39, 0xe1, 0x3a, 0x3f, 0xd5, 0xf3, 0x2c, 0xcc, 0x6d, 0xfd, 0xc7, 0x1b, 0xb9, - 0x4f, 0x8c, 0x09, 0xd7, 0x18, 0x9f, 0x3a, 0x30, 0xce, 0x42, 0x8c, 0x6d, 0xcf, 0xba, 0x67, 0x17, - 0xbb, 0xff, 0x0b, 0x00, 0x00, 0xff, 0xff, 0xba, 0x44, 0x1c, 0x67, 0xff, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/product_channel.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/product_channel.pb.go deleted file mode 100644 index f8f8c2a4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/product_channel.pb.go +++ /dev/null @@ -1,123 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/product_channel.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_1a8696547f984201, []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_1a8696547f984201, []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 (m *ProductChannelEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductChannelEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.ProductChannelEnum_ProductChannel", ProductChannelEnum_ProductChannel_name, ProductChannelEnum_ProductChannel_value) - proto.RegisterType((*ProductChannelEnum)(nil), "google.ads.googleads.v1.enums.ProductChannelEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/product_channel.proto", fileDescriptor_1a8696547f984201) -} - -var fileDescriptor_1a8696547f984201 = []byte{ - // 299 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdf, 0x4a, 0xfb, 0x30, - 0x14, 0xfe, 0xad, 0xe3, 0x37, 0x31, 0x03, 0x2d, 0xf1, 0x4e, 0xdc, 0xc5, 0xf6, 0x00, 0x09, 0x65, - 0x77, 0xf1, 0x2a, 0x9b, 0x75, 0x0c, 0x47, 0x56, 0x90, 0x4d, 0xd0, 0x82, 0xc4, 0xa6, 0xc4, 0x42, - 0x9b, 0x94, 0xa6, 0xdd, 0x03, 0x79, 0xe9, 0xa3, 0xf8, 0x24, 0xe2, 0x53, 0x48, 0x13, 0x5b, 0xd8, - 0x85, 0xde, 0x84, 0x8f, 0xf3, 0xfd, 0xc9, 0x77, 0x0e, 0x98, 0x4b, 0xad, 0x65, 0x9e, 0x62, 0x2e, - 0x0c, 0x76, 0xb0, 0x45, 0x87, 0x00, 0xa7, 0xaa, 0x29, 0x0c, 0x2e, 0x2b, 0x2d, 0x9a, 0xa4, 0x7e, - 0x4e, 0x5e, 0xb9, 0x52, 0x69, 0x8e, 0xca, 0x4a, 0xd7, 0x1a, 0x4e, 0x9c, 0x12, 0x71, 0x61, 0x50, - 0x6f, 0x42, 0x87, 0x00, 0x59, 0xd3, 0xe5, 0x55, 0x97, 0x59, 0x66, 0x98, 0x2b, 0xa5, 0x6b, 0x5e, - 0x67, 0x5a, 0x19, 0x67, 0x9e, 0x3d, 0x01, 0x18, 0xb9, 0xd4, 0xa5, 0x0b, 0x0d, 0x55, 0x53, 0xcc, - 0x42, 0x70, 0x76, 0x3c, 0x85, 0xe7, 0x60, 0xbc, 0x63, 0xf7, 0x51, 0xb8, 0x5c, 0xdf, 0xae, 0xc3, - 0x1b, 0xff, 0x1f, 0x1c, 0x83, 0x93, 0x1d, 0xbb, 0x63, 0xdb, 0x07, 0xe6, 0x0f, 0x20, 0x00, 0xa3, - 0x2d, 0xdb, 0xac, 0x59, 0xe8, 0x7b, 0xf0, 0x14, 0xfc, 0xdf, 0x6c, 0x97, 0x74, 0xe3, 0x0f, 0x17, - 0x9f, 0x03, 0x30, 0x4d, 0x74, 0x81, 0xfe, 0x2c, 0xb8, 0xb8, 0x38, 0xfe, 0x2a, 0x6a, 0x7b, 0x45, - 0x83, 0xc7, 0xc5, 0x8f, 0x4b, 0xea, 0x9c, 0x2b, 0x89, 0x74, 0x25, 0xb1, 0x4c, 0x95, 0x6d, 0xdd, - 0xdd, 0xa6, 0xcc, 0xcc, 0x2f, 0xa7, 0xba, 0xb6, 0xef, 0x9b, 0x37, 0x5c, 0x51, 0xfa, 0xee, 0x4d, - 0x56, 0x2e, 0x8a, 0x0a, 0x83, 0x1c, 0x6c, 0xd1, 0x3e, 0x40, 0xed, 0xb2, 0xe6, 0xa3, 0xe3, 0x63, - 0x2a, 0x4c, 0xdc, 0xf3, 0xf1, 0x3e, 0x88, 0x2d, 0xff, 0xe5, 0x4d, 0xdd, 0x90, 0x10, 0x2a, 0x0c, - 0x21, 0xbd, 0x82, 0x90, 0x7d, 0x40, 0x88, 0xd5, 0xbc, 0x8c, 0x6c, 0xb1, 0xf9, 0x77, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x9a, 0xdc, 0x0c, 0x4c, 0xc2, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/product_channel_exclusivity.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/product_channel_exclusivity.pb.go deleted file mode 100644 index 2367d75e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/product_channel_exclusivity.pb.go +++ /dev/null @@ -1,127 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/product_channel_exclusivity.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_4f957309edf66181, []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_4f957309edf66181, []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 (m *ProductChannelExclusivityEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductChannelExclusivityEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.ProductChannelExclusivityEnum_ProductChannelExclusivity", ProductChannelExclusivityEnum_ProductChannelExclusivity_name, ProductChannelExclusivityEnum_ProductChannelExclusivity_value) - proto.RegisterType((*ProductChannelExclusivityEnum)(nil), "google.ads.googleads.v1.enums.ProductChannelExclusivityEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/product_channel_exclusivity.proto", fileDescriptor_4f957309edf66181) -} - -var fileDescriptor_4f957309edf66181 = []byte{ - // 324 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x41, 0x4b, 0xc3, 0x30, - 0x18, 0xb5, 0x1d, 0x28, 0x64, 0xa8, 0xb3, 0x37, 0xc5, 0x09, 0xdb, 0x0f, 0x48, 0x29, 0xde, 0xe2, - 0x41, 0xb2, 0x19, 0x67, 0x71, 0xc6, 0xc2, 0xdc, 0x04, 0x29, 0xcc, 0xd8, 0x94, 0x58, 0xe8, 0x92, - 0xb2, 0xb4, 0x43, 0x8f, 0xfe, 0x15, 0x8f, 0xfe, 0x14, 0x7f, 0x8a, 0x57, 0xff, 0x80, 0x34, 0x71, - 0xf5, 0x34, 0x2f, 0xe1, 0x91, 0xef, 0x7d, 0xef, 0x7d, 0xef, 0x81, 0x73, 0xa1, 0x94, 0xc8, 0x53, - 0x9f, 0x71, 0xed, 0x5b, 0x58, 0xa3, 0x55, 0xe0, 0xa7, 0xb2, 0x5a, 0x68, 0xbf, 0x58, 0x2a, 0x5e, - 0x25, 0xe5, 0x3c, 0x79, 0x66, 0x52, 0xa6, 0xf9, 0x3c, 0x7d, 0x49, 0xf2, 0x4a, 0x67, 0xab, 0xac, - 0x7c, 0x85, 0xc5, 0x52, 0x95, 0xca, 0xeb, 0xda, 0x2d, 0xc8, 0xb8, 0x86, 0x8d, 0x00, 0x5c, 0x05, - 0xd0, 0x08, 0x1c, 0x1d, 0xaf, 0xf5, 0x8b, 0xcc, 0x67, 0x52, 0xaa, 0x92, 0x95, 0x99, 0x92, 0xda, - 0x2e, 0xf7, 0xdf, 0x1c, 0xd0, 0x8d, 0xac, 0xc5, 0xd0, 0x3a, 0x90, 0x3f, 0x03, 0x22, 0xab, 0x45, - 0xff, 0x11, 0x1c, 0x6e, 0x24, 0x78, 0xfb, 0xa0, 0x3d, 0xa5, 0x93, 0x88, 0x0c, 0xc3, 0xcb, 0x90, - 0x5c, 0x74, 0xb6, 0xbc, 0x36, 0xd8, 0x99, 0xd2, 0x6b, 0x7a, 0x7b, 0x4f, 0x3b, 0x8e, 0xe7, 0x81, - 0xbd, 0x49, 0x48, 0x47, 0x63, 0x32, 0x1f, 0x5e, 0x61, 0x4a, 0xc9, 0xb8, 0xe3, 0x7a, 0x07, 0x60, - 0xf7, 0x66, 0x3a, 0xbe, 0x0b, 0x9b, 0xaf, 0xd6, 0xe0, 0xdb, 0x01, 0xbd, 0x44, 0x2d, 0xe0, 0xbf, - 0x39, 0x06, 0x27, 0x1b, 0xaf, 0x88, 0xea, 0x24, 0x91, 0xf3, 0x30, 0xf8, 0x15, 0x10, 0x2a, 0x67, - 0x52, 0x40, 0xb5, 0x14, 0xbe, 0x48, 0xa5, 0xc9, 0xb9, 0x6e, 0xb6, 0xc8, 0xf4, 0x86, 0xa2, 0xcf, - 0xcc, 0xfb, 0xee, 0xb6, 0x46, 0x18, 0x7f, 0xb8, 0xdd, 0x91, 0x95, 0xc2, 0x5c, 0x43, 0x0b, 0x6b, - 0x34, 0x0b, 0x60, 0x5d, 0x89, 0xfe, 0x5c, 0xcf, 0x63, 0xcc, 0x75, 0xdc, 0xcc, 0xe3, 0x59, 0x10, - 0x9b, 0xf9, 0x97, 0xdb, 0xb3, 0x9f, 0x08, 0x61, 0xae, 0x11, 0x6a, 0x18, 0x08, 0xcd, 0x02, 0x84, - 0x0c, 0xe7, 0x69, 0xdb, 0x1c, 0x76, 0xfa, 0x13, 0x00, 0x00, 0xff, 0xff, 0xc9, 0x87, 0xe2, 0x2d, - 0x00, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/product_condition.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/product_condition.pb.go deleted file mode 100644 index acc61b1c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/product_condition.pb.go +++ /dev/null @@ -1,128 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/product_condition.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_07be2a30f4f7cc08, []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_07be2a30f4f7cc08, []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 (m *ProductConditionEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductConditionEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.ProductConditionEnum_ProductCondition", ProductConditionEnum_ProductCondition_name, ProductConditionEnum_ProductCondition_value) - proto.RegisterType((*ProductConditionEnum)(nil), "google.ads.googleads.v1.enums.ProductConditionEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/product_condition.proto", fileDescriptor_07be2a30f4f7cc08) -} - -var fileDescriptor_07be2a30f4f7cc08 = []byte{ - // 308 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x4a, 0xc3, 0x30, - 0x18, 0x77, 0x7f, 0x74, 0x92, 0x1d, 0x0c, 0x45, 0x2f, 0xe2, 0x0e, 0xdb, 0x03, 0x24, 0x14, 0xf1, - 0x12, 0x4f, 0xed, 0x96, 0xcd, 0x21, 0xd4, 0xb2, 0xd9, 0x0d, 0xa4, 0x20, 0x75, 0x19, 0xa1, 0xd0, - 0x26, 0xa5, 0x69, 0xf7, 0x40, 0x1e, 0x7d, 0x14, 0x1f, 0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, - 0xcd, 0xfb, 0xd9, 0xed, 0x2d, 0x3c, 0xef, 0xab, 0x3b, 0x5a, 0xd8, 0x28, 0x8f, 0x29, 0x64, 0xa1, - 0x46, 0x1b, 0x17, 0xe9, 0xed, 0xd5, 0x77, 0xc3, 0xc7, 0x1e, 0x53, 0x71, 0xcb, 0xc7, 0x1b, 0x37, - 0x36, 0xfc, 0xb1, 0x3b, 0xb6, 0x43, 0x42, 0x3c, 0xa6, 0x08, 0x69, 0x15, 0x84, 0x6c, 0x5c, 0x42, - 0x8c, 0xe6, 0xe3, 0xc2, 0x14, 0xbb, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0x12, 0x28, 0x89, 0xbc, - 0xd7, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/product_type_level.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/product_type_level.pb.go deleted file mode 100644 index c562d63d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/product_type_level.pb.go +++ /dev/null @@ -1,136 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/product_type_level.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_LEVEL1 ProductTypeLevelEnum_ProductTypeLevel = 7 - // Level 2. - ProductTypeLevelEnum_LEVEL2 ProductTypeLevelEnum_ProductTypeLevel = 8 - // Level 3. - ProductTypeLevelEnum_LEVEL3 ProductTypeLevelEnum_ProductTypeLevel = 9 - // Level 4. - ProductTypeLevelEnum_LEVEL4 ProductTypeLevelEnum_ProductTypeLevel = 10 - // Level 5. - ProductTypeLevelEnum_LEVEL5 ProductTypeLevelEnum_ProductTypeLevel = 11 -) - -var ProductTypeLevelEnum_ProductTypeLevel_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 7: "LEVEL1", - 8: "LEVEL2", - 9: "LEVEL3", - 10: "LEVEL4", - 11: "LEVEL5", -} - -var ProductTypeLevelEnum_ProductTypeLevel_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "LEVEL1": 7, - "LEVEL2": 8, - "LEVEL3": 9, - "LEVEL4": 10, - "LEVEL5": 11, -} - -func (x ProductTypeLevelEnum_ProductTypeLevel) String() string { - return proto.EnumName(ProductTypeLevelEnum_ProductTypeLevel_name, int32(x)) -} - -func (ProductTypeLevelEnum_ProductTypeLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_946c08b9a6423f6e, []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_946c08b9a6423f6e, []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 (m *ProductTypeLevelEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductTypeLevelEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.ProductTypeLevelEnum_ProductTypeLevel", ProductTypeLevelEnum_ProductTypeLevel_name, ProductTypeLevelEnum_ProductTypeLevel_value) - proto.RegisterType((*ProductTypeLevelEnum)(nil), "google.ads.googleads.v1.enums.ProductTypeLevelEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/product_type_level.proto", fileDescriptor_946c08b9a6423f6e) -} - -var fileDescriptor_946c08b9a6423f6e = []byte{ - // 315 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x41, 0x4a, 0x03, 0x31, - 0x18, 0x85, 0x9d, 0x0a, 0xad, 0xa6, 0x0b, 0xc3, 0xa0, 0x1b, 0xb1, 0x8b, 0xf6, 0x00, 0x09, 0xb1, - 0xea, 0x22, 0xae, 0xa6, 0x3a, 0x96, 0x62, 0x19, 0x07, 0xb4, 0x23, 0xc8, 0x40, 0x19, 0x9b, 0x10, - 0x0a, 0xd3, 0x24, 0x34, 0xd3, 0x42, 0xf7, 0x9e, 0xc4, 0xa5, 0x47, 0xf1, 0x28, 0x3d, 0x85, 0x4c, - 0x62, 0xb3, 0x28, 0xe8, 0x26, 0x7c, 0xe4, 0xff, 0xdf, 0xe3, 0x7f, 0x0f,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 0x74, 0x56, 0x11, 0x33, 0xc8, 0x61, 0x4d, 0x19, 0x41, 0x75, 0x2b, 0xe6, 0x7b, 0x37, 0xcf, - 0x23, 0x66, 0x72, 0x3f, 0xcf, 0x33, 0x92, 0xdb, 0xf9, 0xb6, 0xd1, 0x75, 0x9f, 0x94, 0x46, 0xcc, - 0x50, 0xea, 0x37, 0x28, 0xcd, 0x08, 0xa5, 0x76, 0xe7, 0xbd, 0x69, 0x0f, 0xeb, 0xff, 0x04, 0x00, - 0x00, 0xff, 0xff, 0xe0, 0xe7, 0xfa, 0x72, 0xf1, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/promotion_extension_discount_modifier.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/promotion_extension_discount_modifier.pb.go deleted file mode 100644 index 3b16004d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/promotion_extension_discount_modifier.pb.go +++ /dev/null @@ -1,123 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/promotion_extension_discount_modifier.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A promotion extension discount modifier. -type PromotionExtensionDiscountModifierEnum_PromotionExtensionDiscountModifier int32 - -const ( - // Not specified. - PromotionExtensionDiscountModifierEnum_UNSPECIFIED PromotionExtensionDiscountModifierEnum_PromotionExtensionDiscountModifier = 0 - // Used for return value only. Represents value unknown in this version. - PromotionExtensionDiscountModifierEnum_UNKNOWN PromotionExtensionDiscountModifierEnum_PromotionExtensionDiscountModifier = 1 - // 'Up to'. - PromotionExtensionDiscountModifierEnum_UP_TO PromotionExtensionDiscountModifierEnum_PromotionExtensionDiscountModifier = 2 -) - -var PromotionExtensionDiscountModifierEnum_PromotionExtensionDiscountModifier_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "UP_TO", -} - -var PromotionExtensionDiscountModifierEnum_PromotionExtensionDiscountModifier_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "UP_TO": 2, -} - -func (x PromotionExtensionDiscountModifierEnum_PromotionExtensionDiscountModifier) String() string { - return proto.EnumName(PromotionExtensionDiscountModifierEnum_PromotionExtensionDiscountModifier_name, int32(x)) -} - -func (PromotionExtensionDiscountModifierEnum_PromotionExtensionDiscountModifier) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dc325cf0cb5c4ed3, []int{0, 0} -} - -// Container for enum describing possible a promotion extension -// discount modifier. -type PromotionExtensionDiscountModifierEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PromotionExtensionDiscountModifierEnum) Reset() { - *m = PromotionExtensionDiscountModifierEnum{} -} -func (m *PromotionExtensionDiscountModifierEnum) String() string { return proto.CompactTextString(m) } -func (*PromotionExtensionDiscountModifierEnum) ProtoMessage() {} -func (*PromotionExtensionDiscountModifierEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_dc325cf0cb5c4ed3, []int{0} -} - -func (m *PromotionExtensionDiscountModifierEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PromotionExtensionDiscountModifierEnum.Unmarshal(m, b) -} -func (m *PromotionExtensionDiscountModifierEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PromotionExtensionDiscountModifierEnum.Marshal(b, m, deterministic) -} -func (m *PromotionExtensionDiscountModifierEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PromotionExtensionDiscountModifierEnum.Merge(m, src) -} -func (m *PromotionExtensionDiscountModifierEnum) XXX_Size() int { - return xxx_messageInfo_PromotionExtensionDiscountModifierEnum.Size(m) -} -func (m *PromotionExtensionDiscountModifierEnum) XXX_DiscardUnknown() { - xxx_messageInfo_PromotionExtensionDiscountModifierEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_PromotionExtensionDiscountModifierEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.PromotionExtensionDiscountModifierEnum_PromotionExtensionDiscountModifier", PromotionExtensionDiscountModifierEnum_PromotionExtensionDiscountModifier_name, PromotionExtensionDiscountModifierEnum_PromotionExtensionDiscountModifier_value) - proto.RegisterType((*PromotionExtensionDiscountModifierEnum)(nil), "google.ads.googleads.v1.enums.PromotionExtensionDiscountModifierEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/promotion_extension_discount_modifier.proto", fileDescriptor_dc325cf0cb5c4ed3) -} - -var fileDescriptor_dc325cf0cb5c4ed3 = []byte{ - // 311 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0xb1, 0x4e, 0xc3, 0x30, - 0x10, 0x86, 0x69, 0x10, 0x20, 0xdc, 0x81, 0x2a, 0x23, 0xa2, 0x43, 0x3b, 0xc0, 0x66, 0x2b, 0x62, - 0x33, 0x53, 0x4a, 0x43, 0x55, 0xa1, 0xa6, 0x91, 0xa0, 0x45, 0x42, 0x91, 0xaa, 0x50, 0x1b, 0xcb, - 0x52, 0xe3, 0x8b, 0xe2, 0xb4, 0xf0, 0x3c, 0x8c, 0x3c, 0x0a, 0x8f, 0xc2, 0x33, 0x30, 0x20, 0xdb, - 0x49, 0x36, 0xe8, 0x62, 0xfd, 0xf2, 0xdd, 0xfd, 0xdf, 0xdd, 0x8f, 0xa6, 0x02, 0x40, 0x6c, 0x38, - 0xc9, 0x98, 0x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0x53, 0x4f, 0x43, 0xa6, 0xd3, 0xb6, 0x9e, - 0x2e, 0x83, 0xd4, 0xd6, 0xbf, 0xbd, 0x81, 0xfb, 0xa4, 0x34, 0x64, 0x9a, 0xd2, 0xb6, 0x83, 0xd2, - 0x65, 0x40, 0xa9, 0xed, 0x79, 0x39, 0xb6, 0x8b, 0x5d, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0xe4, - 0x06, 0xad, 0xad, 0x08, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/promotion_extension_occasion.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/promotion_extension_occasion.pb.go deleted file mode 100644 index e7bc8367..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/promotion_extension_occasion.pb.go +++ /dev/null @@ -1,288 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/promotion_extension_occasion.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A promotion extension occasion. -type PromotionExtensionOccasionEnum_PromotionExtensionOccasion int32 - -const ( - // Not specified. - PromotionExtensionOccasionEnum_UNSPECIFIED PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 0 - // Used for return value only. Represents value unknown in this version. - PromotionExtensionOccasionEnum_UNKNOWN PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 1 - // New Year's. - PromotionExtensionOccasionEnum_NEW_YEARS PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 2 - // Chinese New Year. - PromotionExtensionOccasionEnum_CHINESE_NEW_YEAR PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 3 - // Valentine's Day. - PromotionExtensionOccasionEnum_VALENTINES_DAY PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 4 - // Easter. - PromotionExtensionOccasionEnum_EASTER PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 5 - // Mother's Day. - PromotionExtensionOccasionEnum_MOTHERS_DAY PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 6 - // Father's Day. - PromotionExtensionOccasionEnum_FATHERS_DAY PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 7 - // Labor Day. - PromotionExtensionOccasionEnum_LABOR_DAY PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 8 - // Back To School. - PromotionExtensionOccasionEnum_BACK_TO_SCHOOL PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 9 - // Halloween. - PromotionExtensionOccasionEnum_HALLOWEEN PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 10 - // Black Friday. - PromotionExtensionOccasionEnum_BLACK_FRIDAY PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 11 - // Cyber Monday. - PromotionExtensionOccasionEnum_CYBER_MONDAY PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 12 - // Christmas. - PromotionExtensionOccasionEnum_CHRISTMAS PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 13 - // Boxing Day. - PromotionExtensionOccasionEnum_BOXING_DAY PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 14 - // Independence Day in any country. - PromotionExtensionOccasionEnum_INDEPENDENCE_DAY PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 15 - // National Day in any country. - PromotionExtensionOccasionEnum_NATIONAL_DAY PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 16 - // End of any season. - PromotionExtensionOccasionEnum_END_OF_SEASON PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 17 - // Winter Sale. - PromotionExtensionOccasionEnum_WINTER_SALE PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 18 - // Summer sale. - PromotionExtensionOccasionEnum_SUMMER_SALE PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 19 - // Fall Sale. - PromotionExtensionOccasionEnum_FALL_SALE PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 20 - // Spring Sale. - PromotionExtensionOccasionEnum_SPRING_SALE PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 21 - // Ramadan. - PromotionExtensionOccasionEnum_RAMADAN PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 22 - // Eid al-Fitr. - PromotionExtensionOccasionEnum_EID_AL_FITR PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 23 - // Eid al-Adha. - PromotionExtensionOccasionEnum_EID_AL_ADHA PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 24 - // Singles Day. - PromotionExtensionOccasionEnum_SINGLES_DAY PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 25 - // Women's Day. - PromotionExtensionOccasionEnum_WOMENS_DAY PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 26 - // Holi. - PromotionExtensionOccasionEnum_HOLI PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 27 - // Parent's Day. - PromotionExtensionOccasionEnum_PARENTS_DAY PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 28 - // St. Nicholas Day. - PromotionExtensionOccasionEnum_ST_NICHOLAS_DAY PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 29 - // Carnival. - PromotionExtensionOccasionEnum_CARNIVAL PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 30 - // Epiphany, also known as Three Kings' Day. - PromotionExtensionOccasionEnum_EPIPHANY PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 31 - // Rosh Hashanah. - PromotionExtensionOccasionEnum_ROSH_HASHANAH PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 32 - // Passover. - PromotionExtensionOccasionEnum_PASSOVER PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 33 - // Hanukkah. - PromotionExtensionOccasionEnum_HANUKKAH PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 34 - // Diwali. - PromotionExtensionOccasionEnum_DIWALI PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 35 - // Navratri. - PromotionExtensionOccasionEnum_NAVRATRI PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 36 - // Available in Thai: Songkran. - PromotionExtensionOccasionEnum_SONGKRAN PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 37 - // Available in Japanese: Year-end Gift. - PromotionExtensionOccasionEnum_YEAR_END_GIFT PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 38 -) - -var PromotionExtensionOccasionEnum_PromotionExtensionOccasion_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "NEW_YEARS", - 3: "CHINESE_NEW_YEAR", - 4: "VALENTINES_DAY", - 5: "EASTER", - 6: "MOTHERS_DAY", - 7: "FATHERS_DAY", - 8: "LABOR_DAY", - 9: "BACK_TO_SCHOOL", - 10: "HALLOWEEN", - 11: "BLACK_FRIDAY", - 12: "CYBER_MONDAY", - 13: "CHRISTMAS", - 14: "BOXING_DAY", - 15: "INDEPENDENCE_DAY", - 16: "NATIONAL_DAY", - 17: "END_OF_SEASON", - 18: "WINTER_SALE", - 19: "SUMMER_SALE", - 20: "FALL_SALE", - 21: "SPRING_SALE", - 22: "RAMADAN", - 23: "EID_AL_FITR", - 24: "EID_AL_ADHA", - 25: "SINGLES_DAY", - 26: "WOMENS_DAY", - 27: "HOLI", - 28: "PARENTS_DAY", - 29: "ST_NICHOLAS_DAY", - 30: "CARNIVAL", - 31: "EPIPHANY", - 32: "ROSH_HASHANAH", - 33: "PASSOVER", - 34: "HANUKKAH", - 35: "DIWALI", - 36: "NAVRATRI", - 37: "SONGKRAN", - 38: "YEAR_END_GIFT", -} - -var PromotionExtensionOccasionEnum_PromotionExtensionOccasion_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "NEW_YEARS": 2, - "CHINESE_NEW_YEAR": 3, - "VALENTINES_DAY": 4, - "EASTER": 5, - "MOTHERS_DAY": 6, - "FATHERS_DAY": 7, - "LABOR_DAY": 8, - "BACK_TO_SCHOOL": 9, - "HALLOWEEN": 10, - "BLACK_FRIDAY": 11, - "CYBER_MONDAY": 12, - "CHRISTMAS": 13, - "BOXING_DAY": 14, - "INDEPENDENCE_DAY": 15, - "NATIONAL_DAY": 16, - "END_OF_SEASON": 17, - "WINTER_SALE": 18, - "SUMMER_SALE": 19, - "FALL_SALE": 20, - "SPRING_SALE": 21, - "RAMADAN": 22, - "EID_AL_FITR": 23, - "EID_AL_ADHA": 24, - "SINGLES_DAY": 25, - "WOMENS_DAY": 26, - "HOLI": 27, - "PARENTS_DAY": 28, - "ST_NICHOLAS_DAY": 29, - "CARNIVAL": 30, - "EPIPHANY": 31, - "ROSH_HASHANAH": 32, - "PASSOVER": 33, - "HANUKKAH": 34, - "DIWALI": 35, - "NAVRATRI": 36, - "SONGKRAN": 37, - "YEAR_END_GIFT": 38, -} - -func (x PromotionExtensionOccasionEnum_PromotionExtensionOccasion) String() string { - return proto.EnumName(PromotionExtensionOccasionEnum_PromotionExtensionOccasion_name, int32(x)) -} - -func (PromotionExtensionOccasionEnum_PromotionExtensionOccasion) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_92f10499601d751d, []int{0, 0} -} - -// Container for enum describing a promotion extension occasion. -// For more information about the occasions please check: -// https://support.google.com/google-ads/answer/7367521 -type PromotionExtensionOccasionEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PromotionExtensionOccasionEnum) Reset() { *m = PromotionExtensionOccasionEnum{} } -func (m *PromotionExtensionOccasionEnum) String() string { return proto.CompactTextString(m) } -func (*PromotionExtensionOccasionEnum) ProtoMessage() {} -func (*PromotionExtensionOccasionEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_92f10499601d751d, []int{0} -} - -func (m *PromotionExtensionOccasionEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PromotionExtensionOccasionEnum.Unmarshal(m, b) -} -func (m *PromotionExtensionOccasionEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PromotionExtensionOccasionEnum.Marshal(b, m, deterministic) -} -func (m *PromotionExtensionOccasionEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PromotionExtensionOccasionEnum.Merge(m, src) -} -func (m *PromotionExtensionOccasionEnum) XXX_Size() int { - return xxx_messageInfo_PromotionExtensionOccasionEnum.Size(m) -} -func (m *PromotionExtensionOccasionEnum) XXX_DiscardUnknown() { - xxx_messageInfo_PromotionExtensionOccasionEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_PromotionExtensionOccasionEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.PromotionExtensionOccasionEnum_PromotionExtensionOccasion", PromotionExtensionOccasionEnum_PromotionExtensionOccasion_name, PromotionExtensionOccasionEnum_PromotionExtensionOccasion_value) - proto.RegisterType((*PromotionExtensionOccasionEnum)(nil), "google.ads.googleads.v1.enums.PromotionExtensionOccasionEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/promotion_extension_occasion.proto", fileDescriptor_92f10499601d751d) -} - -var fileDescriptor_92f10499601d751d = []byte{ - // 669 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x53, 0xcb, 0x6e, 0xdb, 0x3a, - 0x10, 0xbd, 0x71, 0xde, 0xcc, 0x8b, 0x51, 0x72, 0x5f, 0xb9, 0x79, 0xdc, 0xe4, 0x3e, 0x96, 0x32, - 0x8c, 0xee, 0xd4, 0x4d, 0x47, 0x12, 0x6d, 0x11, 0xa6, 0x87, 0x02, 0x29, 0xdb, 0x75, 0x61, 0x40, - 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, 0x38, 0x6c, 0xbf, 0x07, 0x4a, 0x60, 0x42, 0x4c, 0x1a, 0xc2, 0x80, - 0xaf, 0x39, 0x8c, 0x6d, 0x08, 0xb0, 0x89, 0x30, 0x7c, 0x9d, 0x22, 0x3a, 0x3a, 0x89, 0x84, 0xa9, - 0xc8, 0x0d, 0x02, 0x9a, 0xf0, 0x1d, 0xd8, 0xa4, 0x18, 0x05, 0xbe, 0x36, 0x65, 0xbb, 0x45, 0x86, - 0x3e, 0x04, 0xed, 0x34, 0xd1, 0xa9, 0x0d, 0x22, 0xad, 0x15, 0xdf, 0x26, 0x49, 0x04, 0x4a, 0xe9, - 0xbe, 0x10, 0xc8, 0x99, 0xc3, 0xd9, 0xae, 0xaf, 0x48, 0xd3, 0x34, 0x92, 0x86, 0x76, 0x08, 0x09, - 0x06, 0xbe, 0x30, 0x69, 0x47, 0x23, 0x21, 0xbb, 0x34, 0x12, 0x44, 0x46, 0xda, 0xa4, 0x03, 0x96, - 0xef, 0x39, 0xfb, 0x8c, 0xf9, 0xfa, 0xb5, 0xc4, 0x56, 0x99, 0xb2, 0x4f, 0x87, 0x91, 0x18, 0x8a, - 0x58, 0x60, 0x28, 0x30, 0x10, 0x25, 0x7a, 0x40, 0x36, 0x08, 0x89, 0xd4, 0x08, 0xaa, 0x44, 0xb8, - 0x73, 0xc8, 0xf6, 0x04, 0x86, 0xa9, 0x6e, 0xa6, 0x56, 0x80, 0xd5, 0xc8, 0x0f, 0xe9, 0x00, 0x7d, - 0x89, 0x89, 0x30, 0xa9, 0x05, 0x25, 0xb8, 0x43, 0x80, 0xed, 0x76, 0x3a, 0x4b, 0xe0, 0x88, 0xb2, - 0x9b, 0xa0, 0x54, 0xd5, 0x1e, 0x97, 0x7c, 0x6c, 0x28, 0xbb, 0x04, 0x7e, 0xa5, 0x5b, 0x36, 0xd0, - 0x81, 0x10, 0x90, 0xff, 0x46, 0xac, 0x90, 0x61, 0x0a, 0x2a, 0x6d, 0xca, 0xc4, 0xf0, 0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2, 0xf7, 0x43, 0x6d, 0xb5, 0x05, 0xf0, 0xb1, 0x76, 0xd6, 0xaa, 0xac, 0x60, - 0x5c, 0xb8, 0x55, 0x49, 0x55, 0xaf, 0xe1, 0xd2, 0x36, 0x15, 0x9f, 0x97, 0xfc, 0x10, 0xc6, 0xc5, - 0xf0, 0x89, 0x1f, 0xf6, 0x1a, 0xc3, 0x92, 0xff, 0x52, 0xbb, 0xac, 0x40, 0xcf, 0x83, 0x71, 0xe1, - 0x79, 0x4f, 0x0a, 0xcf, 0xeb, 0x35, 0x3c, 0xaf, 0xd4, 0xbc, 0xdd, 0x28, 0xff, 0xd8, 0x8b, 0x6f, - 0x01, 0x00, 0x00, 0xff, 0xff, 0x3b, 0xb8, 0x9b, 0x12, 0x3d, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/promotion_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/promotion_placeholder_field.pb.go deleted file mode 100644 index a2c6364e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/promotion_placeholder_field.pb.go +++ /dev/null @@ -1,191 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/promotion_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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: MONEY. 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: MONEY. 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_82cfe61f98d75179, []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_82cfe61f98d75179, []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 (m *PromotionPlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PromotionPlaceholderFieldEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.PromotionPlaceholderFieldEnum_PromotionPlaceholderField", PromotionPlaceholderFieldEnum_PromotionPlaceholderField_name, PromotionPlaceholderFieldEnum_PromotionPlaceholderField_value) - proto.RegisterType((*PromotionPlaceholderFieldEnum)(nil), "google.ads.googleads.v1.enums.PromotionPlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/promotion_placeholder_field.proto", fileDescriptor_82cfe61f98d75179) -} - -var fileDescriptor_82cfe61f98d75179 = []byte{ - // 476 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xcf, 0x6e, 0x9b, 0x4e, - 0x10, 0xc7, 0x7f, 0x26, 0xbf, 0x26, 0xe9, 0xda, 0xb1, 0x37, 0xdb, 0x3f, 0x52, 0xab, 0xba, 0x52, - 0xf2, 0x00, 0x20, 0xd4, 0x1b, 0x3d, 0x54, 0x6b, 0x58, 0x10, 0x8a, 0xd9, 0x45, 0x0b, 0xb8, 0x7f, - 0x64, 0x69, 0x45, 0x03, 0xa5, 0x96, 0x30, 0x8b, 0xbc, 0x4e, 0x1e, 0xa8, 0xc7, 0x3e, 0x4a, 0xd5, - 0x27, 0xe9, 0xa1, 0x97, 0xbe, 0x40, 0xb5, 0x10, 0xdb, 0x27, 0xf7, 0x82, 0x86, 0xef, 0x7c, 0xe7, - 0x33, 0xa3, 0x9d, 0x01, 0xef, 0x2a, 0x29, 0xab, 0xba, 0xb4, 0xf2, 0x42, 0x59, 0x7d, 0xa8, 0xa3, - 0x7b, 0xdb, 0x2a, 0x9b, 0xbb, 0xb5, 0xb2, 0xda, 0x8d, 0x5c, 0xcb, 0xed, 0x4a, 0x36, 0xa2, 0xad, - 0xf3, 0xdb, 0xf2, 0xab, 0xac, 0x8b, 0x72, 0x23, 0xbe, 0xac, 0xca, 0xba, 0x30, 0xdb, 0x8d, 0xdc, - 0x4a, 0x34, 0xed, 0xab, 0xcc, 0xbc, 0x50, 0xe6, 0x1e, 0x60, 0xde, 0xdb, 0x66, 0x07, 0x78, 0xf9, - 0x6a, 0xc7, 0x6f, 0x57, 0x56, 0xde, 0x34, 0x72, 0x9b, 0x6b, 0x9a, 0xea, 0x8b, 0xaf, 0x7f, 0x1b, - 0x60, 0x1a, 0xef, 0x5a, 0xc4, 0x87, 0x0e, 0xbe, 0x6e, 0x40, 0x9a, 0xbb, 0xf5, 0xf5, 0x4f, 0x03, - 0xbc, 0x38, 0xea, 0x40, 0x13, 0x30, 0xcc, 0x68, 0x12, 0x13, 0x37, 0xf4, 0x43, 0xe2, 0xc1, 0xff, - 0xd0, 0x10, 0x9c, 0x65, 0xf4, 0x86, 0xb2, 0xf7, 0x14, 0x0e, 0xd0, 0x53, 0x00, 0x63, 0xce, 0x22, - 0x96, 0x86, 0x8c, 0x8a, 0x14, 0xf3, 0x80, 0xa4, 0xd0, 0x40, 0xcf, 0xc0, 0xa5, 0x17, 0x26, 0x2e, - 0xcb, 0x68, 0x2a, 0x22, 0xe6, 0xe9, 0x4a, 0x0e, 0x4f, 0x34, 0x2a, 0x26, 0xdc, 0x25, 0x34, 0x15, - 0xcc, 0xf7, 0xe1, 0xff, 0xba, 0x3a, 0x62, 0x94, 0x7c, 0x14, 0x38, 0xea, 0xbc, 0x5a, 0x7d, 0x84, - 0x10, 0x18, 0x1f, 0x98, 0x2e, 0xf3, 0x08, 0x3c, 0x45, 0xcf, 0x01, 0x62, 0xdc, 0x23, 0x3c, 0x11, - 0x6c, 0x41, 0xf8, 0x83, 0x1f, 0x9e, 0xa1, 0x27, 0x60, 0x72, 0xf0, 0x26, 0x29, 0xe6, 0x29, 0x3c, - 0x47, 0x97, 0xe0, 0xe2, 0x20, 0x12, 0xea, 0xc1, 0xc7, 0x68, 0x04, 0xce, 0x99, 0xeb, 0xe2, 0x24, - 0x64, 0x14, 0x02, 0x34, 0x06, 0xc0, 0x0f, 0x29, 0x9e, 0x8b, 0x8c, 0xcf, 0x13, 0x38, 0xd4, 0xf3, - 0xf6, 0xff, 0x11, 0x9b, 0x85, 0x73, 0xd2, 0xcb, 0x23, 0x04, 0xc1, 0x28, 0xe5, 0xd8, 0xbd, 0x09, - 0x69, 0xa0, 0x25, 0x78, 0xa1, 0x31, 0x73, 0x4c, 0x83, 0x0c, 0x07, 0x04, 0x8e, 0xf5, 0xf8, 0x7b, - 0x8c, 0x48, 0x32, 0xdf, 0x0f, 0x3f, 0xc0, 0xc9, 0xec, 0xcf, 0x00, 0x5c, 0xdd, 0xca, 0xb5, 0xf9, - 0xcf, 0xa5, 0xcd, 0x5e, 0x1f, 0x7d, 0xf1, 0x58, 0xaf, 0x2d, 0x1e, 0x7c, 0x9a, 0x3d, 0x00, 0x2a, - 0x59, 0xe7, 0x4d, 0x65, 0xca, 0x4d, 0x65, 0x55, 0x65, 0xd3, 0x2d, 0x75, 0x77, 0x46, 0xed, 0x4a, - 0x1d, 0xb9, 0xaa, 0xb7, 0xdd, 0xf7, 0x9b, 0x71, 0x12, 0x60, 0xfc, 0xdd, 0x98, 0x06, 0x3d, 0x0a, - 0x17, 0xca, 0xec, 0x43, 0x1d, 0x2d, 0x6c, 0x53, 0xef, 0x5f, 0xfd, 0xd8, 0xe5, 0x97, 0xb8, 0x50, - 0xcb, 0x7d, 0x7e, 0xb9, 0xb0, 0x97, 0x5d, 0xfe, 0x97, 0x71, 0xd5, 0x8b, 0x8e, 0x83, 0x0b, 0xe5, - 0x38, 0x7b, 0x87, 0xe3, 0x2c, 0x6c, 0xc7, 0xe9, 0x3c, 0x9f, 0x4f, 0xbb, 0xc1, 0xde, 0xfc, 0x0d, - 0x00, 0x00, 0xff, 0xff, 0xf6, 0x79, 0x56, 0x03, 0xed, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/proximity_radius_units.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/proximity_radius_units.pb.go deleted file mode 100644 index 1b0a32c1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/proximity_radius_units.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/proximity_radius_units.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_deffb3e711c9fade, []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_deffb3e711c9fade, []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 (m *ProximityRadiusUnitsEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProximityRadiusUnitsEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.ProximityRadiusUnitsEnum_ProximityRadiusUnits", ProximityRadiusUnitsEnum_ProximityRadiusUnits_name, ProximityRadiusUnitsEnum_ProximityRadiusUnits_value) - proto.RegisterType((*ProximityRadiusUnitsEnum)(nil), "google.ads.googleads.v1.enums.ProximityRadiusUnitsEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/proximity_radius_units.proto", fileDescriptor_deffb3e711c9fade) -} - -var fileDescriptor_deffb3e711c9fade = []byte{ - // 315 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xfb, 0x30, - 0x18, 0xc5, 0xff, 0xeb, 0xf8, 0x2b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0x2c, 0xed, 0xee, 0xe8, 0xbb, - 0x03, 0x06, 0xcf, 0x2a, 0x85, 0x7f, 0x16, 0x1e, 0x9d, 0xef, 0x7b, 0x34, 0xac, 0xda, 0x86, 0x9d, - 0xc7, 0xd1, 0x2e, 0xcb, 0xd5, 0x86, 0x4a, 0x0e, 0x55, 0xce, 0x11, 0x4f, 0xa4, 0xd9, 0xa5, 0x39, - 0x5c, 0x26, 0xf4, 0x2f, 0x77, 0xbc, 0x36, 0xdf, 0x77, 0xab, 0x3b, 0xf6, 0xbc, 0x0f, 0xab, 0x3f, - 0xae, 0x51, 0x1e, 0xd3, 0xb0, 0x96, 0x95, 0x8a, 0x5c, 0x58, 0x2d, 0xaf, 0x3f, 0x1b, 0x3f, 0xf6, - 0x98, 0x8e, 0x5b, 0x3f, 0x8e, 0xdc, 0xd8, 0xf8, 0x5f, 0xd6, 0xa0, 0xfe, 0x89, 0xb1, 0xc7, 0x34, - 0xc6, 0xed, 0x04, 0xc6, 0x91, 0x8b, 0xb1, 0x99, 0x79, 0x3a, 0x30, 0xc5, 0xae, 0x7e, 0x02, 0x00, - 0x00, 0xff, 0xff, 0x05, 0xc7, 0x92, 0xa6, 0xdf, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/quality_score_bucket.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/quality_score_bucket.pb.go deleted file mode 100644 index 918aac77..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/quality_score_bucket.pb.go +++ /dev/null @@ -1,128 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/quality_score_bucket.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_6bb90b551a0fc47a, []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_6bb90b551a0fc47a, []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 (m *QualityScoreBucketEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_QualityScoreBucketEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.QualityScoreBucketEnum_QualityScoreBucket", QualityScoreBucketEnum_QualityScoreBucket_name, QualityScoreBucketEnum_QualityScoreBucket_value) - proto.RegisterType((*QualityScoreBucketEnum)(nil), "google.ads.googleads.v1.enums.QualityScoreBucketEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/quality_score_bucket.proto", fileDescriptor_6bb90b551a0fc47a) -} - -var fileDescriptor_6bb90b551a0fc47a = []byte{ - // 320 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xfb, 0x30, - 0x18, 0xc5, 0xff, 0xeb, 0xfe, 0x28, 0x64, 0x88, 0xb3, 0x17, 0x0a, 0xe2, 0x2e, 0xb6, 0x07, 0x48, - 0x28, 0xde, 0x48, 0xbc, 0x4a, 0x34, 0x8e, 0xa1, 0x74, 0xd3, 0xb1, 0x0e, 0xa4, 0x30, 0xb2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x7f, 0xd4, 0x78, 0xa4, 0x3f, 0x4e, 0xa9, 0x97, 0x5c, 0x49, 0xa8, 0x37, - 0x12, 0x49, 0xa1, 0xdc, 0x75, 0x55, 0x91, 0xeb, 0xdc, 0xfc, 0xd2, 0xeb, 0xa5, 0xfb, 0xbe, 0x05, - 0xcd, 0x3e, 0x21, 0xef, 0x41, 0xa7, 0xef, 0xa3, 0x48, 0x66, 0xa0, 0x97, 0x56, 0x25, 0x11, 0xb4, - 0x85, 0x98, 0x8f, 0x8a, 0xa7, 0x24, 0x33, 0x69, 0xcd, 0xd3, 0x24, 0x4a, 0x1d, 0xff, 0x0c, 0xba, - 0xfe, 0x11, 0x63, 0x92, 0x19, 0x8c, 0xeb, 0x09, 0x8c, 0x93, 0x08, 0x63, 0x37, 0x33, 0xdf, 0x73, - 0x8b, 0x9d, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0xb6, 0xfe, 0xaa, 0x9d, 0xef, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/real_estate_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/real_estate_placeholder_field.pb.go deleted file mode 100644 index a36b6107..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/real_estate_placeholder_field.pb.go +++ /dev/null @@ -1,218 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/real_estate_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_55a569651ed4e6a3, []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_55a569651ed4e6a3, []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 (m *RealEstatePlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_RealEstatePlaceholderFieldEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField", RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField_name, RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField_value) - proto.RegisterType((*RealEstatePlaceholderFieldEnum)(nil), "google.ads.googleads.v1.enums.RealEstatePlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/real_estate_placeholder_field.proto", fileDescriptor_55a569651ed4e6a3) -} - -var fileDescriptor_55a569651ed4e6a3 = []byte{ - // 513 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xd1, 0x6e, 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 0x4c, 0x89, 0x07, 0xff, 0x43, 0x1d, 0x70, 0x31, 0x67, 0x53, 0x16, 0xdc, 0x33, - 0xd8, 0x40, 0x57, 0x00, 0xf8, 0x54, 0x2a, 0xca, 0x26, 0x9a, 0x7a, 0xb0, 0x89, 0x20, 0xb8, 0xac, - 0x73, 0x86, 0x67, 0x04, 0xb6, 0x50, 0x17, 0xb4, 0x5d, 0xaa, 0x96, 0x55, 0xfa, 0xbf, 0xc1, 0x79, - 0x44, 0xba, 0x82, 0x72, 0x45, 0x03, 0x06, 0xcf, 0x0c, 0x0e, 0x7b, 0x9e, 0x20, 0x52, 0xc2, 0x73, - 0xd4, 0x06, 0x67, 0x5c, 0x50, 0x97, 0xc0, 0x0b, 0x34, 0x00, 0xbd, 0x71, 0x20, 0x66, 0x58, 0x29, - 0xe2, 0xe9, 0x4a, 0x7c, 0x66, 0x60, 0x74, 0x86, 0x27, 0x44, 0xcf, 0x85, 0x0f, 0xdb, 0xa8, 0x0f, - 0xba, 0x5c, 0x04, 0x9c, 0x08, 0xb5, 0xd4, 0x6a, 0xc9, 0x09, 0x04, 0x7f, 0x0f, 0x50, 0x2a, 0x1d, - 0xf4, 0x12, 0x0c, 0xdc, 0x80, 0x29, 0xf2, 0x5e, 0xcd, 0xb1, 0xaf, 0xa7, 0x64, 0x79, 0x1f, 0x08, - 0x4f, 0xc2, 0x4b, 0x33, 0xfb, 0x98, 0x32, 0xec, 0x1b, 0x98, 0x84, 0x5d, 0xf4, 0x02, 0xf4, 0xab, - 0x7c, 0x16, 0x8c, 0xa8, 0x4f, 0x2a, 0xf9, 0xca, 0x10, 0x95, 0xc0, 0xee, 0xd4, 0x20, 0x8d, 0x6d, - 0x0f, 0x3d, 0x07, 0x10, 0x33, 0x4f, 0x04, 0xd4, 0xd3, 0x98, 0x73, 0xed, 0x53, 0x36, 0x85, 0xd0, - 0xf8, 0x48, 0x3a, 0xa3, 0x3e, 0x16, 0xfa, 0xf8, 0x24, 0x12, 0xf6, 0x0d, 0x80, 0x06, 0xf2, 0xd8, - 0x8a, 0x0c, 0xa0, 0x56, 0xa4, 0x0a, 0x04, 0x31, 0x6f, 0x37, 0x18, 0xfd, 0x6a, 0x80, 0xdb, 0x87, - 0x7c, 0x63, 0xfd, 0x73, 0xdf, 0xa3, 0x37, 0xa7, 0x77, 0xc5, 0xcd, 0xca, 0x79, 0xe3, 0xc3, 0xe8, - 0x0f, 0x21, 0xc9, 0xd3, 0x30, 0x4b, 0xac, 0x7c, 0x97, 0xd8, 0x49, 0x9c, 0x95, 0x07, 0x51, 0x1f, - 0xe1, 0x76, 0x5d, 0x9c, 0xb8, 0xc9, 0x77, 0xe5, 0xf7, 0x6b, 0xb3, 0x35, 0xc1, 0xf8, 0x7b, 0xf3, - 0x66, 0x52, 0xa1, 0x70, 0x54, 0x58, 0x55, 0x68, 0xa2, 0xc5, 0xd0, 0x32, 0xa7, 0x53, 0xfc, 0xa8, - 0xeb, 0x2b, 0x1c, 0x15, 0xab, 0x43, 0x7d, 0xb5, 0x18, 0xae, 0xca, 0xfa, 0xcf, 0xe6, 0x6d, 0x25, - 0x3a, 0x0e, 0x8e, 0x0a, 0xc7, 0x39, 0x74, 0x38, 0xce, 0x62, 0xe8, 0x38, 0x65, 0xcf, 0xc7, 0xf3, - 0x72, 0xb0, 0xb7, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xcb, 0xfe, 0xe3, 0x31, 0x2b, 0x03, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/recommendation_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/recommendation_type.pb.go deleted file mode 100644 index e1e116cb..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/recommendation_type.pb.go +++ /dev/null @@ -1,189 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/recommendation_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // Recommendation to add callout extensions to a campaign. - RecommendationTypeEnum_CALLOUT_EXTENSION RecommendationTypeEnum_RecommendationType = 11 - // Recommendation to add sitelink extensions to a campaign. - RecommendationTypeEnum_SITELINK_EXTENSION RecommendationTypeEnum_RecommendationType = 12 - // Recommendation to add call extensions to a campaign. - RecommendationTypeEnum_CALL_EXTENSION RecommendationTypeEnum_RecommendationType = 13 - // Recommendation to change an existing keyword from one match type to a - // broader match type. - RecommendationTypeEnum_KEYWORD_MATCH_TYPE RecommendationTypeEnum_RecommendationType = 14 - // Recommendation to move unused budget from one budget to a constrained - // budget. - RecommendationTypeEnum_MOVE_UNUSED_BUDGET RecommendationTypeEnum_RecommendationType = 15 -) - -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", - 11: "CALLOUT_EXTENSION", - 12: "SITELINK_EXTENSION", - 13: "CALL_EXTENSION", - 14: "KEYWORD_MATCH_TYPE", - 15: "MOVE_UNUSED_BUDGET", -} - -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, - "CALLOUT_EXTENSION": 11, - "SITELINK_EXTENSION": 12, - "CALL_EXTENSION": 13, - "KEYWORD_MATCH_TYPE": 14, - "MOVE_UNUSED_BUDGET": 15, -} - -func (x RecommendationTypeEnum_RecommendationType) String() string { - return proto.EnumName(RecommendationTypeEnum_RecommendationType_name, int32(x)) -} - -func (RecommendationTypeEnum_RecommendationType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8dbf696d9c23fcc1, []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_8dbf696d9c23fcc1, []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 (m *RecommendationTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_RecommendationTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.RecommendationTypeEnum_RecommendationType", RecommendationTypeEnum_RecommendationType_name, RecommendationTypeEnum_RecommendationType_value) - proto.RegisterType((*RecommendationTypeEnum)(nil), "google.ads.googleads.v1.enums.RecommendationTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/recommendation_type.proto", fileDescriptor_8dbf696d9c23fcc1) -} - -var fileDescriptor_8dbf696d9c23fcc1 = []byte{ - // 493 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xd1, 0x6e, 0xd3, 0x30, - 0x14, 0x86, 0x69, 0x0b, 0x1b, 0xb8, 0xb0, 0x06, 0x0f, 0x3a, 0x34, 0x98, 0xd0, 0xf6, 0x00, 0x89, - 0x2a, 0x2e, 0x90, 0xc2, 0x95, 0xeb, 0x98, 0xd6, 0x6a, 0x6b, 0x5b, 0x89, 0xd3, 0x75, 0x53, 0x25, - 0xab, 0x2c, 0x51, 0x54, 0x69, 0x89, 0xa3, 0xa6, 0x9b, 0xb4, 0xd7, 0xe0, 0x11, 0xb8, 0xe4, 0x51, - 0x78, 0x14, 0xc4, 0x3d, 0xb7, 0xc8, 0xc9, 0x12, 0x86, 0x26, 0x76, 0x13, 0x9d, 0x9c, 0xef, 0xff, - 0x7f, 0x9d, 0xe4, 0x1c, 0xf0, 0x31, 0xd1, 0x3a, 0xb9, 0x8c, 0x9d, 0x55, 0x54, 0x38, 0x55, 0x69, - 0xaa, 0xeb, 0x81, 0x13, 0x67, 0x57, 0x69, 0xe1, 0x6c, 0xe2, 0x0b, 0x9d, 0xa6, 0x71, 0x16, 0xad, - 0xb6, 0x6b, 0x9d, 0xa9, 0xed, 0x4d, 0x1e, 0xdb, 0xf9, 0x46, 0x6f, 0x35, 0x3c, 0xaa, 0xd4, 0xf6, - 0x2a, 0x2a, 0xec, 0xc6, 0x68, 0x5f, 0x0f, 0xec, 0xd2, 0x78, 0xf8, 0xae, 0xce, 0xcd, 0xd7, 0xce, - 0x2a, 0xcb, 0xf4, 0xb6, 0x0c, 0x28, 0x2a, 0xf3, 0xc9, 0xd7, 0x0e, 0xe8, 0xfb, 0xff, 0x44, 0xcb, - 0x9b, 0x3c, 0x26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, 0xd3, 0x7b, 0x61, 0xb4, 0xb7, - 0xdf, 0xaf, 0x66, 0x48, 0xe2, 0xb1, 0x92, 0x67, 0x82, 0x58, 0x7b, 0xa6, 0x3f, 0xe3, 0x73, 0xa2, - 0x42, 0x16, 0x06, 0xc4, 0xab, 0xff, 0x57, 0x6f, 0xf8, 0xab, 0x05, 0x8e, 0x2f, 0x74, 0x6a, 0x3f, - 0xb8, 0xd8, 0xe1, 0xc1, 0xfd, 0xe5, 0x08, 0xb3, 0x53, 0xd1, 0x3a, 0x1f, 0xde, 0x3a, 0x13, 0x7d, - 0xb9, 0xca, 0x12, 0x5b, 0x6f, 0x12, 0x27, 0x89, 0xb3, 0x72, 0xe3, 0xf5, 0x6d, 0xe5, 0xeb, 0xe2, - 0x3f, 0xa7, 0xf6, 0xa9, 0x7c, 0x7e, 0x6b, 0x77, 0x46, 0x08, 0x7d, 0x6f, 0x1f, 0x8d, 0xaa, 0x28, - 0x14, 0x15, 0x76, 0x55, 0x9a, 0x6a, 0x3e, 0xb0, 0xcd, 0x8d, 0x14, 0x3f, 0x6a, 0xbe, 0x44, 0x51, - 0xb1, 0x6c, 0xf8, 0x72, 0x3e, 0x58, 0x96, 0xfc, 0x67, 0xfb, 0xb8, 0x6a, 0xba, 0x2e, 0x8a, 0x0a, - 0xd7, 0x6d, 0x14, 0xae, 0x3b, 0x1f, 0xb8, 0x6e, 0xa9, 0xf9, 0xb2, 0x53, 0x0e, 0xf6, 0xe1, 0x4f, - 0x00, 0x00, 0x00, 0xff, 0xff, 0xd2, 0xbd, 0xe8, 0x07, 0x02, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/search_engine_results_page_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/search_engine_results_page_type.pb.go deleted file mode 100644 index 549b9610..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/search_engine_results_page_type.pb.go +++ /dev/null @@ -1,131 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/search_engine_results_page_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The type of the search engine results page. -type SearchEngineResultsPageTypeEnum_SearchEngineResultsPageType int32 - -const ( - // Not specified. - SearchEngineResultsPageTypeEnum_UNSPECIFIED SearchEngineResultsPageTypeEnum_SearchEngineResultsPageType = 0 - // Used for return value only. Represents value unknown in this version. - SearchEngineResultsPageTypeEnum_UNKNOWN SearchEngineResultsPageTypeEnum_SearchEngineResultsPageType = 1 - // Only ads were contained in the search engine results page. - SearchEngineResultsPageTypeEnum_ADS_ONLY SearchEngineResultsPageTypeEnum_SearchEngineResultsPageType = 2 - // Only organic results were contained in the search engine results page. - SearchEngineResultsPageTypeEnum_ORGANIC_ONLY SearchEngineResultsPageTypeEnum_SearchEngineResultsPageType = 3 - // Both ads and organic results were contained in the search engine results - // page. - SearchEngineResultsPageTypeEnum_ADS_AND_ORGANIC SearchEngineResultsPageTypeEnum_SearchEngineResultsPageType = 4 -) - -var SearchEngineResultsPageTypeEnum_SearchEngineResultsPageType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "ADS_ONLY", - 3: "ORGANIC_ONLY", - 4: "ADS_AND_ORGANIC", -} - -var SearchEngineResultsPageTypeEnum_SearchEngineResultsPageType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "ADS_ONLY": 2, - "ORGANIC_ONLY": 3, - "ADS_AND_ORGANIC": 4, -} - -func (x SearchEngineResultsPageTypeEnum_SearchEngineResultsPageType) String() string { - return proto.EnumName(SearchEngineResultsPageTypeEnum_SearchEngineResultsPageType_name, int32(x)) -} - -func (SearchEngineResultsPageTypeEnum_SearchEngineResultsPageType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_db318dd200586d33, []int{0, 0} -} - -// The type of the search engine results page. -type SearchEngineResultsPageTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SearchEngineResultsPageTypeEnum) Reset() { *m = SearchEngineResultsPageTypeEnum{} } -func (m *SearchEngineResultsPageTypeEnum) String() string { return proto.CompactTextString(m) } -func (*SearchEngineResultsPageTypeEnum) ProtoMessage() {} -func (*SearchEngineResultsPageTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_db318dd200586d33, []int{0} -} - -func (m *SearchEngineResultsPageTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchEngineResultsPageTypeEnum.Unmarshal(m, b) -} -func (m *SearchEngineResultsPageTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchEngineResultsPageTypeEnum.Marshal(b, m, deterministic) -} -func (m *SearchEngineResultsPageTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchEngineResultsPageTypeEnum.Merge(m, src) -} -func (m *SearchEngineResultsPageTypeEnum) XXX_Size() int { - return xxx_messageInfo_SearchEngineResultsPageTypeEnum.Size(m) -} -func (m *SearchEngineResultsPageTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_SearchEngineResultsPageTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchEngineResultsPageTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.SearchEngineResultsPageTypeEnum_SearchEngineResultsPageType", SearchEngineResultsPageTypeEnum_SearchEngineResultsPageType_name, SearchEngineResultsPageTypeEnum_SearchEngineResultsPageType_value) - proto.RegisterType((*SearchEngineResultsPageTypeEnum)(nil), "google.ads.googleads.v1.enums.SearchEngineResultsPageTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/search_engine_results_page_type.proto", fileDescriptor_db318dd200586d33) -} - -var fileDescriptor_db318dd200586d33 = []byte{ - // 339 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xd1, 0x4e, 0xc2, 0x30, - 0x14, 0x75, 0xc3, 0xa8, 0x29, 0x24, 0x2c, 0xf3, 0x4d, 0x25, 0x0a, 0x1f, 0xd0, 0x65, 0xf1, 0xad, - 0x3e, 0x15, 0x98, 0x84, 0x68, 0xca, 0x02, 0x82, 0xd1, 0x2c, 0x59, 0x2a, 0x6b, 0xea, 0x12, 0x68, - 0x9b, 0x75, 0x90, 0xf0, 0x1d, 0xfe, 0x81, 0x8f, 0x7e, 0x8a, 0x9f, 0xe2, 0xbb, 0xef, 0x66, 0x2d, - 0xf0, 0x26, 0x2f, 0xcd, 0xc9, 0x3d, 0xf7, 0x9e, 0x73, 0xcf, 0x2d, 0xe8, 0x71, 0x29, 0xf9, 0x82, - 0x05, 0x34, 0xd3, 0x81, 0x85, 0x15, 0x5a, 0x87, 0x01, 0x13, 0xab, 0xa5, 0x0e, 0x34, 0xa3, 0xc5, - 0xfc, 0x3d, 0x65, 0x82, 0xe7, 0x82, 0xa5, 0x05, 0xd3, 0xab, 0x45, 0xa9, 0x53, 0x45, 0x39, 0x4b, - 0xcb, 0x8d, 0x62, 0x50, 0x15, 0xb2, 0x94, 0x7e, 0xcb, 0x4e, 0x42, 0x9a, 0x69, 0xb8, 0x17, 0x81, - 0xeb, 0x10, 0x1a, 0x91, 0x8b, 0xab, 0x9d, 0x87, 0xca, 0x03, 0x2a, 0x84, 0x2c, 0x69, 0x99, 0x4b, - 0xa1, 0xed, 0x70, 0xe7, 0xc3, 0x01, 0xd7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a1, 0xbf, 0x51, 0x18, - 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/search_term_match_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/search_term_match_type.pb.go deleted file mode 100644 index d3acda93..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/search_term_match_type.pb.go +++ /dev/null @@ -1,138 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/search_term_match_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_505ba0d0a9da1b88, []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_505ba0d0a9da1b88, []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 (m *SearchTermMatchTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchTermMatchTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.SearchTermMatchTypeEnum_SearchTermMatchType", SearchTermMatchTypeEnum_SearchTermMatchType_name, SearchTermMatchTypeEnum_SearchTermMatchType_value) - proto.RegisterType((*SearchTermMatchTypeEnum)(nil), "google.ads.googleads.v1.enums.SearchTermMatchTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/search_term_match_type.proto", fileDescriptor_505ba0d0a9da1b88) -} - -var fileDescriptor_505ba0d0a9da1b88 = []byte{ - // 339 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xdf, 0x4a, 0xf3, 0x30, - 0x18, 0xc6, 0xbf, 0x76, 0xdf, 0x26, 0x66, 0xa0, 0xa5, 0x1e, 0x28, 0xe2, 0x0e, 0xb6, 0x0b, 0x48, - 0x29, 0x9e, 0xc5, 0xa3, 0x74, 0xab, 0x73, 0x88, 0x5d, 0xd9, 0x3f, 0x45, 0x0a, 0x23, 0xae, 0xa1, - 0x0e, 0x96, 0xa4, 0x34, 0xdd, 0x60, 0x97, 0xe1, 0x2d, 0x78, 0xe8, 0xa5, 0x78, 0x29, 0x82, 0xf7, - 0x20, 0x49, 0xb6, 0x1e, 0x4d, 0x4f, 0xca, 0xaf, 0x79, 0xde, 0xe7, 0xe1, 0x7d, 0x1f, 0x80, 0x32, - 0x21, 0xb2, 0x15, 0xf5, 0x48, 0x2a, 0x3d, 0x83, 0x8a, 0x36, 0xbe, 0x47, 0xf9, 0x9a, 0x49, 0x4f, - 0x52, 0x52, 0x2c, 0x5e, 0xe7, 0x25, 0x2d, 0xd8, 0x9c, 0x91, 0x52, 0xe1, 0x36, 0xa7, 0x30, 0x2f, - 0x44, 0x29, 0xdc,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, 0x99, 0x54, 0x7a, 0x32, 0xf3, 0x13, 0xad, - 0x7f, 0xd9, 0x6d, 0xf3, 0x88, 0x10, 0x4e, 0x25, 0x42, 0xd5, 0x04, 0x42, 0x33, 0x1f, 0x21, 0x3d, - 0xf3, 0xd2, 0xd0, 0x8b, 0x5d, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x9a, 0x3f, 0x40, 0xe6, 0x05, - 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/search_term_targeting_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/search_term_targeting_status.pb.go deleted file mode 100644 index 515fd6ee..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/search_term_targeting_status.pb.go +++ /dev/null @@ -1,135 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/search_term_targeting_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_e85ee4a345f96b8f, []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_e85ee4a345f96b8f, []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 (m *SearchTermTargetingStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchTermTargetingStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.SearchTermTargetingStatusEnum_SearchTermTargetingStatus", SearchTermTargetingStatusEnum_SearchTermTargetingStatus_name, SearchTermTargetingStatusEnum_SearchTermTargetingStatus_value) - proto.RegisterType((*SearchTermTargetingStatusEnum)(nil), "google.ads.googleads.v1.enums.SearchTermTargetingStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/search_term_targeting_status.proto", fileDescriptor_e85ee4a345f96b8f) -} - -var fileDescriptor_e85ee4a345f96b8f = []byte{ - // 335 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x4b, 0x4e, 0xc3, 0x30, - 0x10, 0x25, 0x69, 0x0b, 0xc5, 0x45, 0x10, 0x79, 0x07, 0xa2, 0x48, 0xed, 0x01, 0x1c, 0x45, 0xec, - 0xcc, 0x86, 0xb4, 0x09, 0x55, 0x05, 0x4a, 0x2b, 0xf5, 0x03, 0x42, 0x91, 0x22, 0xd3, 0x58, 0x26, - 0x52, 0x63, 0x47, 0xb1, 0xdb, 0x7b, 0x70, 0x05, 0x96, 0x1c, 0x85, 0xa3, 0xb0, 0xe5, 0x02, 0x28, - 0x4e, 0x93, 0x5d, 0xd8, 0x58, 0xcf, 0xf3, 0x66, 0xde, 0x9b, 0x79, 0xe0, 0x9e, 0x09, 0xc1, 0xb6, - 0xd4, 0x26, 0xb1, 0xb4, 0x4b, 0x58, 0xa0, 0xbd, 0x63, 0x53, 0xbe, 0x4b, 0xa5, 0x2d, 0x29, 0xc9, - 0x37, 0xef, 0x91, 0xa2, 0x79, 0x1a, 0x29, 0x92, 0x33, 0xaa, 0x12, 0xce, 0x22, 0xa9, 0x88, 0xda, - 0x49, 0x94, 0xe5, 0x42, 0x09, 0xd8, 0x2f, 0xc7, 0x10, 0x89, 0x25, 0xaa, 0x15, 0xd0, 0xde, 0x41, - 0x5a, 0xe1, 0xea, 0xba, 0x32, 0xc8, 0x12, 0x9b, 0x70, 0x2e, 0x14, 0x51, 0x89, 0xe0, 0x87, 0xe1, - 0xe1, 0x87, 0x01, 0xfa, 0x0b, 0xed, 0xb1, 0xa4, 0x79, 0xba, 0xac, 0x1c, 0x16, 0xda, 0xc0, 0xe7, - 0xbb, 0x74, 0x98, 0x81, 0xcb, 0xc6, 0x06, 0x78, 0x01, 0x7a, 0xab, 0x60, 0x31, 0xf7, 0xc7, 0xd3, - 0x87, 0xa9, 0xef, 0x59, 0x47, 0xb0, 0x07, 0x4e, 0x56, 0xc1, 0x63, 0x30, 0x7b, 0x0e, 0x2c, 0x03, - 0x9e, 0x82, 0x8e, 0xeb, 0x79, 0xbe, 0x67, 0x99, 0xf0, 0x0c, 0x74, 0xfd, 0x97, 0xf1, 0xd3, 0xaa, - 0xf8, 0xb5, 0x20, 0x04, 0xe7, 0x9a, 0x88, 0xea, 0x5a, 0x1b, 0x76, 0x41, 0x3b, 0x98, 0x05, 0xbe, - 0xd5, 0x19, 0xfd, 0x1a, 0x60, 0xb0, 0x11, 0x29, 0xfa, 0xf7, 0xae, 0xd1, 0x4d, 0xe3, 0x56, 0xf3, - 0xe2, 0xb2, 0xb9, 0xf1, 0x3a, 0x3a, 0x08, 0x30, 0xb1, 0x25, 0x9c, 0x21, 0x91, 0x33, 0x9b, 0x51, - 0xae, 0xef, 0xae, 0xa2, 0xce, 0x12, 0xd9, 0x90, 0xfc, 0x9d, 0x7e, 0x3f, 0xcd, 0xd6, 0xc4, 0x75, - 0xbf, 0xcc, 0xfe, 0xa4, 0x94, 0x72, 0x63, 0x89, 0x4a, 0x58, 0xa0, 0xb5, 0x83, 0x8a, 0x88, 0xe4, - 0x77, 0xc5, 0x87, 0x6e, 0x2c, 0xc3, 0x9a, 0x0f, 0xd7, 0x4e, 0xa8, 0xf9, 0x1f, 0x73, 0x50, 0x16, - 0x31, 0x76, 0x63, 0x89, 0x71, 0xdd, 0x81, 0xf1, 0xda, 0xc1, 0x58, 0xf7, 0xbc, 0x1d, 0xeb, 0xc5, - 0x6e, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x13, 0xc5, 0xfd, 0x2b, 0x11, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/served_asset_field_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/served_asset_field_type.pb.go deleted file mode 100644 index 476b8f9b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/served_asset_field_type.pb.go +++ /dev/null @@ -1,140 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/served_asset_field_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The possible asset field types. -type ServedAssetFieldTypeEnum_ServedAssetFieldType int32 - -const ( - // No value has been specified. - ServedAssetFieldTypeEnum_UNSPECIFIED ServedAssetFieldTypeEnum_ServedAssetFieldType = 0 - // The received value is not known in this version. - // - // This is a response-only value. - ServedAssetFieldTypeEnum_UNKNOWN ServedAssetFieldTypeEnum_ServedAssetFieldType = 1 - // The asset is used in headline 1. - ServedAssetFieldTypeEnum_HEADLINE_1 ServedAssetFieldTypeEnum_ServedAssetFieldType = 2 - // The asset is used in headline 2. - ServedAssetFieldTypeEnum_HEADLINE_2 ServedAssetFieldTypeEnum_ServedAssetFieldType = 3 - // The asset is used in headline 3. - ServedAssetFieldTypeEnum_HEADLINE_3 ServedAssetFieldTypeEnum_ServedAssetFieldType = 4 - // The asset is used in description 1. - ServedAssetFieldTypeEnum_DESCRIPTION_1 ServedAssetFieldTypeEnum_ServedAssetFieldType = 5 - // The asset is used in description 2. - ServedAssetFieldTypeEnum_DESCRIPTION_2 ServedAssetFieldTypeEnum_ServedAssetFieldType = 6 -) - -var ServedAssetFieldTypeEnum_ServedAssetFieldType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "HEADLINE_1", - 3: "HEADLINE_2", - 4: "HEADLINE_3", - 5: "DESCRIPTION_1", - 6: "DESCRIPTION_2", -} - -var ServedAssetFieldTypeEnum_ServedAssetFieldType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "HEADLINE_1": 2, - "HEADLINE_2": 3, - "HEADLINE_3": 4, - "DESCRIPTION_1": 5, - "DESCRIPTION_2": 6, -} - -func (x ServedAssetFieldTypeEnum_ServedAssetFieldType) String() string { - return proto.EnumName(ServedAssetFieldTypeEnum_ServedAssetFieldType_name, int32(x)) -} - -func (ServedAssetFieldTypeEnum_ServedAssetFieldType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bbc3a0c17156a84d, []int{0, 0} -} - -// Container for enum describing possible asset field types. -type ServedAssetFieldTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ServedAssetFieldTypeEnum) Reset() { *m = ServedAssetFieldTypeEnum{} } -func (m *ServedAssetFieldTypeEnum) String() string { return proto.CompactTextString(m) } -func (*ServedAssetFieldTypeEnum) ProtoMessage() {} -func (*ServedAssetFieldTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_bbc3a0c17156a84d, []int{0} -} - -func (m *ServedAssetFieldTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServedAssetFieldTypeEnum.Unmarshal(m, b) -} -func (m *ServedAssetFieldTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServedAssetFieldTypeEnum.Marshal(b, m, deterministic) -} -func (m *ServedAssetFieldTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServedAssetFieldTypeEnum.Merge(m, src) -} -func (m *ServedAssetFieldTypeEnum) XXX_Size() int { - return xxx_messageInfo_ServedAssetFieldTypeEnum.Size(m) -} -func (m *ServedAssetFieldTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_ServedAssetFieldTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_ServedAssetFieldTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.ServedAssetFieldTypeEnum_ServedAssetFieldType", ServedAssetFieldTypeEnum_ServedAssetFieldType_name, ServedAssetFieldTypeEnum_ServedAssetFieldType_value) - proto.RegisterType((*ServedAssetFieldTypeEnum)(nil), "google.ads.googleads.v1.enums.ServedAssetFieldTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/served_asset_field_type.proto", fileDescriptor_bbc3a0c17156a84d) -} - -var fileDescriptor_bbc3a0c17156a84d = []byte{ - // 344 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xdd, 0x4a, 0xc3, 0x30, - 0x14, 0xb6, 0x9d, 0x4e, 0xc8, 0x50, 0x63, 0xf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, 0x55, - 0x37, 0x60, 0x69, 0xab, 0x6e, 0xc2, 0x7d, 0xeb, 0x14, 0x1c, 0x75, 0x9d, 0x61, 0xe7, 0xce, 0xf5, - 0x47, 0xee, 0xc0, 0x0b, 0x31, 0x3c, 0xf8, 0xdd, 0x6a, 0xc0, 0x72, 0xfb, 0xcb, 0x00, 0xb5, 0x27, - 0x39, 0x43, 0xff, 0x5e, 0xdb, 0xbe, 0xd8, 0xb5, 0xaf, 0x9f, 0x9f, 0xea, 0x1b, 0x0f, 0xed, 0x1f, - 0x6d, 0x2c, 0xa7, 0x91, 0x88, 0x91, 0x9c, 0xc7, 0x76, 0xcc, 0x85, 0x0e, 0x62, 0x1d, 0x7b, 0x9a, - 0xa8, 0x3f, 0x7e, 0xa1, 0xa5, 0xdf, 0x57, 0xb3, 0xd4, 0xa7, 0xf4, 0xdd, 0xac, 0xf6, 0x0b, 0x2b, - 0xca, 0x14, 0x2a, 0x60, 0x8e, 0x26, 0x18, 0xe5, 0xc1, 0xa9, 0x8f, 0x35, 0x1f, 0x50, 0xa6, 0x82, - 0x0d, 0x1f, 0x4c, 0x70, 0xa0, 0xf9, 0x4f, 0xb3, 0x56, 0x34, 0x09, 0xa1, 0x4c, 0x11, 0xb2, 0x99, - 0x20, 0x64, 0x82, 0x09, 0xd1, 0x33, 0x8f, 0x65, 0xbd, 0x58, 0xf3, 0x3b, 0x00, 0x00, 0xff, 0xff, - 0xa3, 0x30, 0x0c, 0x9b, 0x1d, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/shared_set_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/shared_set_status.pb.go deleted file mode 100644 index 9b1fe8c4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/shared_set_status.pb.go +++ /dev/null @@ -1,123 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/shared_set_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_c47bfb5c4eb612f2, []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_c47bfb5c4eb612f2, []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 (m *SharedSetStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_SharedSetStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.SharedSetStatusEnum_SharedSetStatus", SharedSetStatusEnum_SharedSetStatus_name, SharedSetStatusEnum_SharedSetStatus_value) - proto.RegisterType((*SharedSetStatusEnum)(nil), "google.ads.googleads.v1.enums.SharedSetStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/shared_set_status.proto", fileDescriptor_c47bfb5c4eb612f2) -} - -var fileDescriptor_c47bfb5c4eb612f2 = []byte{ - // 301 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x4d, 0x4a, 0x03, 0x31, - 0x14, 0xb6, 0x53, 0x50, 0x48, 0x17, 0x1d, 0xaa, 0x2b, 0xb1, 0x8b, 0xf6, 0x00, 0x09, 0x83, 0xb8, - 0x89, 0xab, 0x8c, 0x8d, 0xa5, 0xa8, 0xd3, 0xe2, 0xd0, 0x11, 0x64, 0xa0, 0x46, 0x13, 0x62, 0xa1, - 0x4d, 0x4a, 0x5f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9, 0x75, 0xf8, 0x7e, 0x44, 0xcd, 0x21, 0x63, - 0x9f, 0x51, 0x77, 0x58, 0x45, 0x31, 0x09, 0xb8, 0x82, 0x1e, 0x15, 0x09, 0xf6, 0x2f, 0x86, 0xaf, - 0x3d, 0x5f, 0x32, 0x09, 0x65, 0xcd, 0x97, 0x45, 0x52, 0x06, 0xfe, 0x27, 0xea, 0x55, 0x4b, 0x4a, - 0x99, 0x04, 0x4a, 0x6b, 0x05, 0xa5, 0x45, 0x42, 0x69, 0xd0, 0xbc, 0x1e, 0x87, 0x62, 0x97, 0xbf, - 0x01, 0x00, 0x00, 0xff, 0xff, 0x1e, 0x08, 0x0a, 0xef, 0xca, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/shared_set_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/shared_set_type.pb.go deleted file mode 100644 index deb4af08..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/shared_set_type.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/shared_set_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_f0b5a2733cf6883c, []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_f0b5a2733cf6883c, []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 (m *SharedSetTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_SharedSetTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.SharedSetTypeEnum_SharedSetType", SharedSetTypeEnum_SharedSetType_name, SharedSetTypeEnum_SharedSetType_value) - proto.RegisterType((*SharedSetTypeEnum)(nil), "google.ads.googleads.v1.enums.SharedSetTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/shared_set_type.proto", fileDescriptor_f0b5a2733cf6883c) -} - -var fileDescriptor_f0b5a2733cf6883c = []byte{ - // 318 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x4a, 0xc3, 0x30, - 0x1c, 0x76, 0x1d, 0x28, 0x64, 0x88, 0x5d, 0x45, 0x04, 0x71, 0x87, 0xed, 0x01, 0x52, 0xca, 0x6e, - 0xf1, 0x94, 0x6d, 0x71, 0x8c, 0x69, 0x57, 0xec, 0xd6, 0xa1, 0x54, 0x46, 0x35, 0x21, 0x0e, 0xb6, - 0xa4, 0x34, 0xd9, 0x60, 0xaf, 0xe3, 0xd1, 0x47, 0xf1, 0x45, 0x04, 0x9f, 0x42, 0x9a, 0xb8, 0xc2, - 0x0e, 0x7a, 0x09, 0x1f, 0xbf, 0xef, 0x0f, 0x5f, 0x3e, 0xd0, 0xe5, 0x52, 0xf2, 0x15, 0xf3, 0x33, - 0xaa, 0x7c, 0x0b, 0x4b, 0xb4, 0x0d, 0x7c, 0x26, 0x36, 0x6b, 0xe5, 0xab, 0xb7, 0xac, 0x60, 0x74, - 0xa1, 0x98, 0x5e, 0xe8, 0x5d, 0xce, 0x60, 0x5e, 0x48, 0x2d, 0xbd, 0x96, 0x55, 0xc2, 0x8c, 0x2a, - 0x58, 0x99, 0xe0, 0x36, 0x80, 0x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0xf3, 0x72, 0x6c, 0x8a, 0x75, - 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x62, 0x76, 0xf7, 0xc4, 0xd8, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/simulation_modification_method.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/simulation_modification_method.pb.go deleted file mode 100644 index fadae132..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/simulation_modification_method.pb.go +++ /dev/null @@ -1,128 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/simulation_modification_method.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing the method by which a simulation modifies a field. -type SimulationModificationMethodEnum_SimulationModificationMethod int32 - -const ( - // Not specified. - SimulationModificationMethodEnum_UNSPECIFIED SimulationModificationMethodEnum_SimulationModificationMethod = 0 - // Used for return value only. Represents value unknown in this version. - SimulationModificationMethodEnum_UNKNOWN SimulationModificationMethodEnum_SimulationModificationMethod = 1 - // The values in a simulation were applied to all children of a given - // resource uniformly. Overrides on child resources were not respected. - SimulationModificationMethodEnum_UNIFORM SimulationModificationMethodEnum_SimulationModificationMethod = 2 - // The values in a simulation were applied to the given resource. - // Overrides on child resources were respected, and traffic estimates - // do not include these resources. - SimulationModificationMethodEnum_DEFAULT SimulationModificationMethodEnum_SimulationModificationMethod = 3 -) - -var SimulationModificationMethodEnum_SimulationModificationMethod_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "UNIFORM", - 3: "DEFAULT", -} - -var SimulationModificationMethodEnum_SimulationModificationMethod_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "UNIFORM": 2, - "DEFAULT": 3, -} - -func (x SimulationModificationMethodEnum_SimulationModificationMethod) String() string { - return proto.EnumName(SimulationModificationMethodEnum_SimulationModificationMethod_name, int32(x)) -} - -func (SimulationModificationMethodEnum_SimulationModificationMethod) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ecdf62786c8f64e4, []int{0, 0} -} - -// Container for enum describing the method by which a simulation modifies -// a field. -type SimulationModificationMethodEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SimulationModificationMethodEnum) Reset() { *m = SimulationModificationMethodEnum{} } -func (m *SimulationModificationMethodEnum) String() string { return proto.CompactTextString(m) } -func (*SimulationModificationMethodEnum) ProtoMessage() {} -func (*SimulationModificationMethodEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_ecdf62786c8f64e4, []int{0} -} - -func (m *SimulationModificationMethodEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SimulationModificationMethodEnum.Unmarshal(m, b) -} -func (m *SimulationModificationMethodEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SimulationModificationMethodEnum.Marshal(b, m, deterministic) -} -func (m *SimulationModificationMethodEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_SimulationModificationMethodEnum.Merge(m, src) -} -func (m *SimulationModificationMethodEnum) XXX_Size() int { - return xxx_messageInfo_SimulationModificationMethodEnum.Size(m) -} -func (m *SimulationModificationMethodEnum) XXX_DiscardUnknown() { - xxx_messageInfo_SimulationModificationMethodEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_SimulationModificationMethodEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.SimulationModificationMethodEnum_SimulationModificationMethod", SimulationModificationMethodEnum_SimulationModificationMethod_name, SimulationModificationMethodEnum_SimulationModificationMethod_value) - proto.RegisterType((*SimulationModificationMethodEnum)(nil), "google.ads.googleads.v1.enums.SimulationModificationMethodEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/simulation_modification_method.proto", fileDescriptor_ecdf62786c8f64e4) -} - -var fileDescriptor_ecdf62786c8f64e4 = []byte{ - // 308 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xd1, 0x4a, 0xc3, 0x30, - 0x14, 0x75, 0x1d, 0x28, 0x64, 0x0f, 0x96, 0x3d, 0xca, 0x06, 0x6e, 0x1f, 0x90, 0x50, 0x7c, 0x8b, - 0x4f, 0x99, 0xeb, 0x46, 0xd1, 0x76, 0xc5, 0xd9, 0x0a, 0x52, 0x90, 0xba, 0xd4, 0x18, 0x68, 0x93, - 0xb2, 0xb4, 0x7b, 0xf0, 0x73, 0x7c, 0xf4, 0x53, 0xfc, 0x14, 0x3f, 0xc0, 0x67, 0x69, 0xb2, 0x16, - 0x5f, 0xec, 0x4b, 0x38, 0x37, 0xf7, 0xdc, 0x73, 0xee, 0x3d, 0x60, 0xc1, 0xa4, 0x64, 0x79, 0x86, - 0x52, 0xaa, 0x90, 0x81, 0x0d, 0x3a, 0x38, 0x28, 0x13, 0x75, 0xa1, 0x90, 0xe2, 0x45, 0x9d, 0xa7, - 0x15, 0x97, 0xe2, 0xb9, 0x90, 0x94, 0xbf, 0xf2, 0xdd, 0xb1, 0xc8, 0xaa, 0x37, 0x49, 0x61, 0xb9, - 0x97, 0x95, 0x1c, 0x4f, 0xcd, 0x20, 0x4c, 0xa9, 0x82, 0x9d, 0x06, 0x3c, 0x38, 0x50, 0x6b, 0x5c, - 0x4c, 0x5a, 0x8b, 0x92, 0xa3, 0x54, 0x08, 0x59, 0x69, 0x09, 0x65, 0x86, 0xe7, 0xef, 0xe0, 0x72, - 0xdb, 0x99, 0xf8, 0x7f, 0x3c, 0x7c, 0x6d, 0xe1, 0x8a, 0xba, 0x98, 0xc7, 0x60, 0xd2, 0xc7, 0x19, - 0x9f, 0x83, 0x51, 0x14, 0x6c, 0x43, 0xf7, 0xc6, 0x5b, 0x79, 0xee, 0xd2, 0x3e, 0x19, 0x8f, 0xc0, - 0x59, 0x14, 0xdc, 0x06, 0x9b, 0xc7, 0xc0, 0x1e, 0x98, 0xc2, 0x5b, 0x6d, 0xee, 0x7d, 0xdb, 0x6a, - 0x8a, 0xa5, 0xbb, 0x22, 0xd1, 0xdd, 0x83, 0x3d, 0x5c, 0xfc, 0x0c, 0xc0, 0x6c, 0x27, 0x0b, 0xd8, - 0xbb, 0xff, 0x62, 0xd6, 0xe7, 0x1d, 0x36, 0x47, 0x84, 0x83, 0xa7, 0x63, 0x8e, 0x90, 0xc9, 0x3c, - 0x15, 0x0c, 0xca, 0x3d, 0x43, 0x2c, 0x13, 0xfa, 0xc4, 0x36, 0xd7, 0x92, 0xab, 0x7f, 0x62, 0xbe, - 0xd6, 0xef, 0x87, 0x35, 0x5c, 0x13, 0xf2, 0x69, 0x4d, 0xd7, 0x46, 0x8a, 0x50, 0x05, 0x0d, 0x6c, - 0x50, 0xec, 0xc0, 0x26, 0x0b, 0xf5, 0xd5, 0xf6, 0x13, 0x42, 0x55, 0xd2, 0xf5, 0x93, 0xd8, 0x49, - 0x74, 0xff, 0xdb, 0x9a, 0x99, 0x4f, 0x8c, 0x09, 0x55, 0x18, 0x77, 0x0c, 0x8c, 0x63, 0x07, 0x63, - 0xcd, 0x79, 0x39, 0xd5, 0x8b, 0x5d, 0xfd, 0x06, 0x00, 0x00, 0xff, 0xff, 0x27, 0x6c, 0xf2, 0x63, - 0xfe, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/simulation_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/simulation_type.pb.go deleted file mode 100644 index 0eb16e36..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/simulation_type.pb.go +++ /dev/null @@ -1,133 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/simulation_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing the field a simulation modifies. -type SimulationTypeEnum_SimulationType int32 - -const ( - // Not specified. - SimulationTypeEnum_UNSPECIFIED SimulationTypeEnum_SimulationType = 0 - // Used for return value only. Represents value unknown in this version. - SimulationTypeEnum_UNKNOWN SimulationTypeEnum_SimulationType = 1 - // The simulation is for a cpc bid. - SimulationTypeEnum_CPC_BID SimulationTypeEnum_SimulationType = 2 - // The simulation is for a cpv bid. - SimulationTypeEnum_CPV_BID SimulationTypeEnum_SimulationType = 3 - // The simulation is for a cpa target. - SimulationTypeEnum_TARGET_CPA SimulationTypeEnum_SimulationType = 4 - // The simulation is for a bid modifier. - SimulationTypeEnum_BID_MODIFIER SimulationTypeEnum_SimulationType = 5 -) - -var SimulationTypeEnum_SimulationType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "CPC_BID", - 3: "CPV_BID", - 4: "TARGET_CPA", - 5: "BID_MODIFIER", -} - -var SimulationTypeEnum_SimulationType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "CPC_BID": 2, - "CPV_BID": 3, - "TARGET_CPA": 4, - "BID_MODIFIER": 5, -} - -func (x SimulationTypeEnum_SimulationType) String() string { - return proto.EnumName(SimulationTypeEnum_SimulationType_name, int32(x)) -} - -func (SimulationTypeEnum_SimulationType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bfbb0271e7521728, []int{0, 0} -} - -// Container for enum describing the field a simulation modifies. -type SimulationTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SimulationTypeEnum) Reset() { *m = SimulationTypeEnum{} } -func (m *SimulationTypeEnum) String() string { return proto.CompactTextString(m) } -func (*SimulationTypeEnum) ProtoMessage() {} -func (*SimulationTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_bfbb0271e7521728, []int{0} -} - -func (m *SimulationTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SimulationTypeEnum.Unmarshal(m, b) -} -func (m *SimulationTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SimulationTypeEnum.Marshal(b, m, deterministic) -} -func (m *SimulationTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_SimulationTypeEnum.Merge(m, src) -} -func (m *SimulationTypeEnum) XXX_Size() int { - return xxx_messageInfo_SimulationTypeEnum.Size(m) -} -func (m *SimulationTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_SimulationTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_SimulationTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.SimulationTypeEnum_SimulationType", SimulationTypeEnum_SimulationType_name, SimulationTypeEnum_SimulationType_value) - proto.RegisterType((*SimulationTypeEnum)(nil), "google.ads.googleads.v1.enums.SimulationTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/simulation_type.proto", fileDescriptor_bfbb0271e7521728) -} - -var fileDescriptor_bfbb0271e7521728 = []byte{ - // 324 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcd, 0x4a, 0xf3, 0x40, - 0x14, 0xfd, 0x92, 0x7e, 0x2a, 0x4c, 0xa5, 0x86, 0xb8, 0x13, 0xbb, 0x68, 0x1f, 0x60, 0x86, 0xd0, - 0xdd, 0xb8, 0x9a, 0xfc, 0x58, 0x82, 0x98, 0x86, 0xfe, 0x44, 0x90, 0x40, 0x88, 0x26, 0x0c, 0x91, - 0x66, 0x26, 0x74, 0xd2, 0x42, 0x77, 0x3e, 0x8b, 0x4b, 0x1f, 0xc5, 0x27, 0x11, 0x9f, 0x42, 0x66, - 0xc6, 0x06, 0xba, 0xd0, 0xcd, 0x70, 0xee, 0xdc, 0x73, 0x0e, 0xe7, 0x1e, 0x30, 0xa1, 0x9c, 0xd3, - 0x75, 0x89, 0xf2, 0x42, 0x20, 0x0d, 0x25, 0xda, 0x39, 0xa8, 0x64, 0xdb, 0x5a, 0x20, 0x51, 0xd5, - 0xdb, 0x75, 0xde, 0x56, 0x9c, 0x65, 0xed, 0xbe, 0x29, 0x61, 0xb3, 0xe1, 0x2d, 0xb7, 0x87, 0x9a, - 0x09, 0xf3, 0x42, 0xc0, 0x4e, 0x04, 0x77, 0x0e, 0x54, 0xa2, 0xab, 0xeb, 0x83, 0x67, 0x53, 0xa1, - 0x9c, 0x31, 0xde, 0x2a, 0x03, 0xa1, 0xc5, 0xe3, 0x57, 0x03, 0xd8, 0x8b, 0xce, 0x76, 0xb9, 0x6f, - 0xca, 0x80, 0x6d, 0xeb, 0xf1, 0x0b, 0x18, 0x1c, 0xff, 0xda, 0x17, 0xa0, 0xbf, 0x8a, 0x16, 0x71, - 0xe0, 0x85, 0xb7, 0x61, 0xe0, 0x5b, 0xff, 0xec, 0x3e, 0x38, 0x5b, 0x45, 0x77, 0xd1, 0xec, 0x21, - 0xb2, 0x0c, 0x39, 0x78, 0xb1, 0x97, 0xb9, 0xa1, 0x6f, 0x99, 0x7a, 0x48, 0xd4, 0xd0, 0xb3, 0x07, - 0x00, 0x2c, 0xc9, 0x7c, 0x1a, 0x2c, 0x33, 0x2f, 0x26, 0xd6, 0x7f, 0xdb, 0x02, 0xe7, 0x6e, 0xe8, - 0x67, 0xf7, 0x33, 0x5f, 0x1a, 0xcd, 0xad, 0x13, 0xf7, 0xd3, 0x00, 0xa3, 0x67, 0x5e, 0xc3, 0x3f, - 0xcf, 0x70, 0x2f, 0x8f, 0xf3, 0xc4, 0x32, 0x7d, 0x6c, 0x3c, 0xba, 0x3f, 0x2a, 0xca, 0xd7, 0x39, - 0xa3, 0x90, 0x6f, 0x28, 0xa2, 0x25, 0x53, 0xb7, 0x1d, 0x1a, 0x6c, 0x2a, 0xf1, 0x4b, 0xa1, 0x37, - 0xea, 0x7d, 0x33, 0x7b, 0x53, 0x42, 0xde, 0xcd, 0xe1, 0x54, 0x5b, 0x91, 0x42, 0x40, 0x0d, 0x25, - 0x4a, 0x1c, 0x28, 0x1b, 0x11, 0x1f, 0x87, 0x7d, 0x4a, 0x0a, 0x91, 0x76, 0xfb, 0x34, 0x71, 0x52, - 0xb5, 0xff, 0x32, 0x47, 0xfa, 0x13, 0x63, 0x52, 0x08, 0x8c, 0x3b, 0x06, 0xc6, 0x89, 0x83, 0xb1, - 0xe2, 0x3c, 0x9d, 0xaa, 0x60, 0x93, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x7b, 0x3b, 0x1b, 0xfa, - 0xe8, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/sitelink_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/sitelink_placeholder_field.pb.go deleted file mode 100644 index 282b31fb..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/sitelink_placeholder_field.pb.go +++ /dev/null @@ -1,152 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/sitelink_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_35cfd519d4af849b, []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_35cfd519d4af849b, []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 (m *SitelinkPlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_SitelinkPlaceholderFieldEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField", SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField_name, SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField_value) - proto.RegisterType((*SitelinkPlaceholderFieldEnum)(nil), "google.ads.googleads.v1.enums.SitelinkPlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/sitelink_placeholder_field.proto", fileDescriptor_35cfd519d4af849b) -} - -var fileDescriptor_35cfd519d4af849b = []byte{ - // 377 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xd1, 0x8e, 0x9a, 0x40, - 0x14, 0x86, 0x0b, 0x5a, 0x35, 0x63, 0xd3, 0x4e, 0x27, 0x6d, 0xd2, 0x34, 0x7a, 0xa1, 0x0f, 0x30, - 0x84, 0xf6, 0x6e, 0x9a, 0x34, 0x01, 0x0b, 0x86, 0x48, 0x91, 0x88, 0xb8, 0x66, 0x43, 0x42, 0x58, - 0x61, 0x59, 0xb2, 0x38, 0x43, 0x1c, 0xf4, 0x81, 0xf6, 0x6e, 0xf7, 0x51, 0x7c, 0x94, 0xbd, 0xdc, - 0x27, 0xd8, 0xc0, 0x28, 0x7b, 0xe5, 0xde, 0x4c, 0xf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1, 0x37, - 0x00, 0x1b, 0x30, 0xf4, 0x7c, 0xd3, 0xb4, 0xd6, 0xb0, 0xa7, 0xbf, 0x48, 0x60, 0xb4, 0x61, 0x5b, - 0xfc, 0xae, 0x21, 0xfa, 0xf0, 0xd2, 0x77, 0xdc, 0xca, 0x11, 0x57, 0xba, 0xd6, 0x4f, 0x7c, 0xca, - 0xf2, 0x88, 0xa6, 0x98, 0xed, 0x52, 0x25, 0x4d, 0x68, 0xed, 0xd7, 0x79, 0x41, 0x45, 0xc6, 0x2f, - 0xec, 0xeb, 0x4f, 0x7d, 0x3e, 0xc8, 0xad, 0xa9, 0xa6, 0x3d, 0xc9, 0xc3, 0xa9, 0x68, 0xa5, 0xc5, - 0x1c, 0x0b, 0x59, 0xa9, 0x95, 0x8a, 0x2b, 0x6f, 0xf9, 0xf1, 0x9c, 0x0f, 0xb4, 0x98, 0x07, 0x4d, - 0x3e, 0x58, 0xa9, 0x41, 0x9d, 0x7f, 0x96, 0x47, 0x22, 0x48, 0x88, 0x16, 0x73, 0x42, 0x9a, 0x0a, - 0x42, 0x56, 0x2a, 0x21, 0x75, 0xcd, 0x4d, 0xa7, 0x7e, 0xd8, 0xef, 0xd7, 0x00, 0x00, 0x00, 0xff, - 0xff, 0xd0, 0xf6, 0xda, 0x64, 0x47, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/slot.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/slot.pb.go deleted file mode 100644 index 6249ec2c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/slot.pb.go +++ /dev/null @@ -1,146 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/slot.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_19070d4b6c614f61, []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_19070d4b6c614f61, []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 (m *SlotEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_SlotEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.SlotEnum_Slot", SlotEnum_Slot_name, SlotEnum_Slot_value) - proto.RegisterType((*SlotEnum)(nil), "google.ads.googleads.v1.enums.SlotEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/slot.proto", fileDescriptor_19070d4b6c614f61) -} - -var fileDescriptor_19070d4b6c614f61 = []byte{ - // 347 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcd, 0x4a, 0xeb, 0x40, - 0x18, 0xbd, 0x49, 0xff, 0xa7, 0x97, 0x7b, 0x87, 0x41, 0x44, 0xc4, 0x2e, 0xda, 0x95, 0xab, 0x09, - 0xc1, 0xdd, 0xb8, 0x4a, 0xdb, 0xb1, 0x0d, 0x62, 0x12, 0x92, 0xb4, 0x8a, 0x04, 0x24, 0x9a, 0x12, - 0x0a, 0xe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 0x8d, 0x1b, 0xf7, 0x8e, 0x8e, 0x61, 0x7b, 0xf8, 0x61, - 0x80, 0xfe, 0x13, 0x5f, 0xe1, 0x5f, 0x43, 0x0f, 0x3b, 0x32, 0x46, 0x20, 0x13, 0x06, 0xc6, 0xfd, - 0xb0, 0xd2, 0xe6, 0xbc, 0x48, 0x59, 0x8e, 0xf9, 0x26, 0xb7, 0xf2, 0x05, 0x53, 0xf9, 0xf7, 0xd5, - 0xae, 0x97, 0xe2, 0x87, 0xa6, 0x2f, 0xd5, 0xfb, 0x62, 0xd6, 0x26, 0x8e, 0xf3, 0x6a, 0xf6, 0x26, - 0xfa, 0x94, 0x93, 0x09, 0xac, 0xa1, 0x44, 0x73, 0x1b, 0xcb, 0xfe, 0xc4, 0xfb, 0x9e, 0x4f, 0x9c, - 0x4c, 0x24, 0x07, 0x3e, 0x99, 0xdb, 0x89, 0xe2, 0x3f, 0xcd, 0xbe, 0x5e, 0x12, 0xe2, 0x64, 0x82, - 0x90, 0x83, 0x82, 0x90, 0xb9, 0x4d, 0x88, 0xd2, 0x3c, 0x36, 0xd5, 0xc7, 0x2e, 0xbe, 0x02, 0x00, - 0x00, 0xff, 0xff, 0x94, 0x2e, 0x04, 0xd6, 0x01, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/spending_limit_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/spending_limit_type.pb.go deleted file mode 100644 index 69aa497f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/spending_limit_type.pb.go +++ /dev/null @@ -1,120 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/spending_limit_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_7f77550b87b707e4, []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_7f77550b87b707e4, []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 (m *SpendingLimitTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpendingLimitTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.SpendingLimitTypeEnum_SpendingLimitType", SpendingLimitTypeEnum_SpendingLimitType_name, SpendingLimitTypeEnum_SpendingLimitType_value) - proto.RegisterType((*SpendingLimitTypeEnum)(nil), "google.ads.googleads.v1.enums.SpendingLimitTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/spending_limit_type.proto", fileDescriptor_7f77550b87b707e4) -} - -var fileDescriptor_7f77550b87b707e4 = []byte{ - // 298 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcd, 0x4a, 0xc3, 0x30, - 0x00, 0x76, 0x15, 0x54, 0x32, 0xc1, 0x59, 0xd0, 0x83, 0xb8, 0xc3, 0xf6, 0x00, 0x09, 0xc5, 0x83, - 0x10, 0x0f, 0xd2, 0x69, 0x37, 0x8a, 0x12, 0x0b, 0xdb, 0xaa, 0x48, 0x61, 0x54, 0x13, 0x42, 0xa0, - 0x4d, 0xc2, 0xd2, 0x0d, 0xf6, 0x3a, 0x1e, 0x7d, 0x14, 0x1f, 0x45, 0x5f, 0x42, 0x9a, 0xac, 0xbd, - 0x0c, 0xbd, 0x84, 0x8f, 0x7c, 0x3f, 0xf9, 0xf2, 0x81, 0x6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d, 0x9f, 0x85, - 0xd4, 0x64, 0x2d, 0x9f, 0xa5, 0x41, 0x66, 0xf9, 0x6f, 0x6f, 0xe0, 0x2e, 0x31, 0x0e, 0xa9, 0xc1, - 0xb8, 0x55, 0x60, 0x9c, 0x06, 0x18, 0x5b, 0xcd, 0xdb, 0x81, 0x2d, 0x76, 0xf5, 0x1b, 0x00, 0x00, - 0xff, 0xff, 0x94, 0xae, 0xf2, 0x92, 0xc6, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/structured_snippet_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/structured_snippet_placeholder_field.pb.go deleted file mode 100644 index 5a2a7df3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/structured_snippet_placeholder_field.pb.go +++ /dev/null @@ -1,131 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/structured_snippet_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_b931266ec688ae7c, []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_b931266ec688ae7c, []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 (m *StructuredSnippetPlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_StructuredSnippetPlaceholderFieldEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.StructuredSnippetPlaceholderFieldEnum_StructuredSnippetPlaceholderField", StructuredSnippetPlaceholderFieldEnum_StructuredSnippetPlaceholderField_name, StructuredSnippetPlaceholderFieldEnum_StructuredSnippetPlaceholderField_value) - proto.RegisterType((*StructuredSnippetPlaceholderFieldEnum)(nil), "google.ads.googleads.v1.enums.StructuredSnippetPlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/structured_snippet_placeholder_field.proto", fileDescriptor_b931266ec688ae7c) -} - -var fileDescriptor_b931266ec688ae7c = []byte{ - // 329 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x50, 0xdf, 0x4a, 0xfb, 0x30, - 0x18, 0xfd, 0xb5, 0x83, 0xfd, 0x24, 0x13, 0x2c, 0xbd, 0x14, 0x77, 0xb1, 0x81, 0x5e, 0xa6, 0x14, - 0xef, 0xe2, 0x55, 0xe7, 0xba, 0x3f, 0x08, 0xb5, 0x58, 0x37, 0x41, 0x0b, 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0x7f, 0x46, 0x19, 0x9d, 0xed, 0x3d, 0x20, 0x6d, 0x42, 0xa5, 0xce, 0xfd, 0xe8, - 0x5b, 0x88, 0x89, 0x12, 0x73, 0x06, 0x45, 0xc5, 0x02, 0x46, 0xb9, 0x89, 0xbc, 0x6b, 0x5b, 0x16, - 0xea, 0x97, 0xf2, 0x2f, 0xcc, 0xfb, 0xea, 0x76, 0xa6, 0x51, 0xf4, 0xe6, 0xf6, 0xa7, 0x56, 0x2a, - 0x22, 0x0a, 0x5a, 0xd8, 0xa0, 0x65, 0x08, 0x9b, 0x56, 0xd4, 0xfb, 0x6e, 0x9e, 0x47, 0x44, 0xe5, - 0xed, 0x3c, 0x5f, 0x86, 0xb9, 0x99, 0x7f, 0xb8, 0x03, 0xfb, 0x89, 0x50, 0x44, 0x14, 0x42, 0x2d, - 0x03, 0xa1, 0x65, 0x88, 0x90, 0xe1, 0x3c, 0x76, 0xcd, 0x61, 0xe7, 0x5f, 0x01, 0x00, 0x00, 0xff, - 0xff, 0xad, 0xa6, 0xff, 0xbe, 0x14, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/system_managed_entity_source.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/system_managed_entity_source.pb.go deleted file mode 100644 index 8b7a9da4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/system_managed_entity_source.pb.go +++ /dev/null @@ -1,120 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/system_managed_entity_source.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum listing the possible system managed entity sources. -type SystemManagedResourceSourceEnum_SystemManagedResourceSource int32 - -const ( - // Not specified. - SystemManagedResourceSourceEnum_UNSPECIFIED SystemManagedResourceSourceEnum_SystemManagedResourceSource = 0 - // Used for return value only. Represents value unknown in this version. - SystemManagedResourceSourceEnum_UNKNOWN SystemManagedResourceSourceEnum_SystemManagedResourceSource = 1 - // Generated ad variations experiment ad. - SystemManagedResourceSourceEnum_AD_VARIATIONS SystemManagedResourceSourceEnum_SystemManagedResourceSource = 2 -) - -var SystemManagedResourceSourceEnum_SystemManagedResourceSource_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "AD_VARIATIONS", -} - -var SystemManagedResourceSourceEnum_SystemManagedResourceSource_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "AD_VARIATIONS": 2, -} - -func (x SystemManagedResourceSourceEnum_SystemManagedResourceSource) String() string { - return proto.EnumName(SystemManagedResourceSourceEnum_SystemManagedResourceSource_name, int32(x)) -} - -func (SystemManagedResourceSourceEnum_SystemManagedResourceSource) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6714aea019e15287, []int{0, 0} -} - -// Container for enum describing possible system managed entity sources. -type SystemManagedResourceSourceEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SystemManagedResourceSourceEnum) Reset() { *m = SystemManagedResourceSourceEnum{} } -func (m *SystemManagedResourceSourceEnum) String() string { return proto.CompactTextString(m) } -func (*SystemManagedResourceSourceEnum) ProtoMessage() {} -func (*SystemManagedResourceSourceEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_6714aea019e15287, []int{0} -} - -func (m *SystemManagedResourceSourceEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SystemManagedResourceSourceEnum.Unmarshal(m, b) -} -func (m *SystemManagedResourceSourceEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SystemManagedResourceSourceEnum.Marshal(b, m, deterministic) -} -func (m *SystemManagedResourceSourceEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_SystemManagedResourceSourceEnum.Merge(m, src) -} -func (m *SystemManagedResourceSourceEnum) XXX_Size() int { - return xxx_messageInfo_SystemManagedResourceSourceEnum.Size(m) -} -func (m *SystemManagedResourceSourceEnum) XXX_DiscardUnknown() { - xxx_messageInfo_SystemManagedResourceSourceEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_SystemManagedResourceSourceEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.SystemManagedResourceSourceEnum_SystemManagedResourceSource", SystemManagedResourceSourceEnum_SystemManagedResourceSource_name, SystemManagedResourceSourceEnum_SystemManagedResourceSource_value) - proto.RegisterType((*SystemManagedResourceSourceEnum)(nil), "google.ads.googleads.v1.enums.SystemManagedResourceSourceEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/system_managed_entity_source.proto", fileDescriptor_6714aea019e15287) -} - -var fileDescriptor_6714aea019e15287 = []byte{ - // 318 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xd1, 0x4a, 0xf3, 0x30, - 0x18, 0xfd, 0xd7, 0x1f, 0x14, 0x32, 0xc4, 0xd9, 0x4b, 0x75, 0xca, 0xf6, 0x00, 0x29, 0xc5, 0xbb, - 0x78, 0x63, 0xe6, 0xea, 0x28, 0x62, 0x37, 0x56, 0x57, 0x41, 0x0a, 0x25, 0x2e, 0x21, 0x14, 0xd6, - 0x64, 0xee, 0xcb, 0x06, 0x7b, 0x1d, 0x2f, 0x7d, 0x14, 0x1f, 0xc5, 0x5b, 0x5f, 0x40, 0x9a, 0xb8, - 0x82, 0x17, 0xee, 0x26, 0x1c, 0xf2, 0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 0x79, 0xff, 0x47, - 0x94, 0xbe, 0x7b, 0xdd, 0x91, 0x93, 0xa2, 0x1c, 0xb0, 0x83, 0x35, 0xca, 0x42, 0x5c, 0x17, 0x00, - 0x1f, 0xbb, 0x79, 0x4e, 0x39, 0xe4, 0xcd, 0x3c, 0xcf, 0xc2, 0xdc, 0xce, 0x3f, 0xbd, 0x9e, 0xfb, - 0x24, 0x84, 0x72, 0x20, 0xa4, 0x61, 0x10, 0x92, 0x85, 0x84, 0x58, 0xce, 0xcb, 0x81, 0x0d, 0x76, - 0xf5, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x52, 0x59, 0xad, 0xca, 0xf0, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/target_cpa_opt_in_recommendation_goal.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/target_cpa_opt_in_recommendation_goal.pb.go deleted file mode 100644 index 7857f7fe..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/target_cpa_opt_in_recommendation_goal.pb.go +++ /dev/null @@ -1,136 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/target_cpa_opt_in_recommendation_goal.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_0f2228689a4a5189, []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_0f2228689a4a5189, []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 (m *TargetCpaOptInRecommendationGoalEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_TargetCpaOptInRecommendationGoalEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.TargetCpaOptInRecommendationGoalEnum_TargetCpaOptInRecommendationGoal", TargetCpaOptInRecommendationGoalEnum_TargetCpaOptInRecommendationGoal_name, TargetCpaOptInRecommendationGoalEnum_TargetCpaOptInRecommendationGoal_value) - proto.RegisterType((*TargetCpaOptInRecommendationGoalEnum)(nil), "google.ads.googleads.v1.enums.TargetCpaOptInRecommendationGoalEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/target_cpa_opt_in_recommendation_goal.proto", fileDescriptor_0f2228689a4a5189) -} - -var fileDescriptor_0f2228689a4a5189 = []byte{ - // 357 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xdd, 0x4a, 0xf3, 0x30, - 0x18, 0xc7, 0xdf, 0x76, 0xef, 0x97, 0x99, 0x62, 0x29, 0x1e, 0x89, 0x03, 0x37, 0xf4, 0x34, 0xa5, - 0x78, 0x16, 0x8f, 0xba, 0x5a, 0x47, 0x51, 0xdb, 0xb2, 0x6e, 0x15, 0xa4, 0x50, 0xe2, 0x5a, 0x42, - 0xa1, 0x4d, 0x4a, 0x93, 0xed, 0x0a, 0xbc, 0x12, 0x0f, 0x05, 0x6f, 0xc4, 0x4b, 0xf1, 0x12, 0x3c, - 0x92, 0x26, 0xdb, 0xc0, 0x03, 0xdd, 0x49, 0xf8, 0xe7, 0xf9, 0xf8, 0x3d, 0x5f, 0xc0, 0x27, 0x8c, - 0x91, 0xaa, 0xb0, 0x70, 0xce, 0x2d, 0x25, 0x3b, 0xb5, 0xb2, 0xad, 0x82, 0x2e, 0x6b, 0x6e, 0x09, - 0xdc, 0x92, 0x42, 0x64, 0x8b, 0x06, 0x67, 0xac, 0x11, 0x59, 0x49, 0xb3, 0xb6, 0x58, 0xb0, 0xba, - 0x2e, 0x68, 0x8e, 0x45, 0xc9, 0x68, 0x46, 0x18, 0xae, 0x60, 0xd3, 0x32, 0xc1, 0xcc, 0x81, 0xca, - 0x87, 0x38, 0xe7, 0x70, 0x8b, 0x82, 0x2b, 0x1b, 0x4a, 0xd4, 0xf1, 0xc9, 0xa6, 0x52, 0x53, 0x5a, - 0x98, 0x52, 0x26, 0x24, 0x80, 0xab, 0xe4, 0xd1, 0xab, 0x06, 0xce, 0x66, 0xb2, 0x98, 0xdb, 0xe0, - 0xb0, 0x11, 0x3e, 0x9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 0x00, 0x00, 0xff, 0xff, 0x89, 0xa8, 0xee, - 0xa2, 0x3d, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/target_impression_share_location.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/target_impression_share_location.pb.go deleted file mode 100644 index c0c6c2a1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/target_impression_share_location.pb.go +++ /dev/null @@ -1,132 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/target_impression_share_location.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible goals. -type TargetImpressionShareLocationEnum_TargetImpressionShareLocation int32 - -const ( - // Not specified. - TargetImpressionShareLocationEnum_UNSPECIFIED TargetImpressionShareLocationEnum_TargetImpressionShareLocation = 0 - // Used for return value only. Represents value unknown in this version. - TargetImpressionShareLocationEnum_UNKNOWN TargetImpressionShareLocationEnum_TargetImpressionShareLocation = 1 - // Any location on the web page. - TargetImpressionShareLocationEnum_ANYWHERE_ON_PAGE TargetImpressionShareLocationEnum_TargetImpressionShareLocation = 2 - // Top box of ads. - TargetImpressionShareLocationEnum_TOP_OF_PAGE TargetImpressionShareLocationEnum_TargetImpressionShareLocation = 3 - // Top slot in the top box of ads. - TargetImpressionShareLocationEnum_ABSOLUTE_TOP_OF_PAGE TargetImpressionShareLocationEnum_TargetImpressionShareLocation = 4 -) - -var TargetImpressionShareLocationEnum_TargetImpressionShareLocation_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "ANYWHERE_ON_PAGE", - 3: "TOP_OF_PAGE", - 4: "ABSOLUTE_TOP_OF_PAGE", -} - -var TargetImpressionShareLocationEnum_TargetImpressionShareLocation_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "ANYWHERE_ON_PAGE": 2, - "TOP_OF_PAGE": 3, - "ABSOLUTE_TOP_OF_PAGE": 4, -} - -func (x TargetImpressionShareLocationEnum_TargetImpressionShareLocation) String() string { - return proto.EnumName(TargetImpressionShareLocationEnum_TargetImpressionShareLocation_name, int32(x)) -} - -func (TargetImpressionShareLocationEnum_TargetImpressionShareLocation) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6c99805b4d0c8200, []int{0, 0} -} - -// Container for enum describing where on the first search results page the -// automated bidding system should target impressions for the -// TargetImpressionShare bidding strategy. -type TargetImpressionShareLocationEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TargetImpressionShareLocationEnum) Reset() { *m = TargetImpressionShareLocationEnum{} } -func (m *TargetImpressionShareLocationEnum) String() string { return proto.CompactTextString(m) } -func (*TargetImpressionShareLocationEnum) ProtoMessage() {} -func (*TargetImpressionShareLocationEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_6c99805b4d0c8200, []int{0} -} - -func (m *TargetImpressionShareLocationEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TargetImpressionShareLocationEnum.Unmarshal(m, b) -} -func (m *TargetImpressionShareLocationEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TargetImpressionShareLocationEnum.Marshal(b, m, deterministic) -} -func (m *TargetImpressionShareLocationEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_TargetImpressionShareLocationEnum.Merge(m, src) -} -func (m *TargetImpressionShareLocationEnum) XXX_Size() int { - return xxx_messageInfo_TargetImpressionShareLocationEnum.Size(m) -} -func (m *TargetImpressionShareLocationEnum) XXX_DiscardUnknown() { - xxx_messageInfo_TargetImpressionShareLocationEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_TargetImpressionShareLocationEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.TargetImpressionShareLocationEnum_TargetImpressionShareLocation", TargetImpressionShareLocationEnum_TargetImpressionShareLocation_name, TargetImpressionShareLocationEnum_TargetImpressionShareLocation_value) - proto.RegisterType((*TargetImpressionShareLocationEnum)(nil), "google.ads.googleads.v1.enums.TargetImpressionShareLocationEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/target_impression_share_location.proto", fileDescriptor_6c99805b4d0c8200) -} - -var fileDescriptor_6c99805b4d0c8200 = []byte{ - // 343 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xbd, 0x6a, 0xeb, 0x30, - 0x18, 0xbd, 0x76, 0x2e, 0xf7, 0x82, 0x32, 0xd4, 0x98, 0x0c, 0xa5, 0x34, 0x43, 0xf2, 0x00, 0x32, - 0xa6, 0x9b, 0x3a, 0xc9, 0x8d, 0x92, 0x86, 0x06, 0xdb, 0x34, 0x7f, 0xb4, 0x18, 0x84, 0x1a, 0x1b, - 0xd5, 0x10, 0x4b, 0xc6, 0x72, 0x32, 0xf6, 0x61, 0xda, 0xad, 0x8f, 0xd2, 0x47, 0xe9, 0x0b, 0x74, - 0x2d, 0x96, 0x12, 0xd3, 0xa5, 0x59, 0xc4, 0x41, 0xe7, 0x3b, 0xe7, 0x7c, 0x3f, 0x60, 0xc4, 0xa5, - 0xe4, 0xdb, 0xcc, 0x63, 0xa9, 0xf2, 0x0c, 0x6c, 0xd0, 0xde, 0xf7, 0x32, 0xb1, 0x2b, 0x94, 0x57, - 0xb3, 0x8a, 0x67, 0x35, 0xcd, 0x8b, 0xb2, 0xca, 0x94, 0xca, 0xa5, 0xa0, 0xea, 0x99, 0x55, 0x19, - 0xdd, 0xca, 0x0d, 0xab, 0x73, 0x29, 0x60, 0x59, 0xc9, 0x5a, 0xba, 0x7d, 0x23, 0x85, 0x2c, 0x55, - 0xb0, 0x75, 0x81, 0x7b, 0x1f, 0x6a, 0x97, 0x8b, 0xcb, 0x63, 0x48, 0x99, 0x7b, 0x4c, 0x08, 0x59, - 0x6b, 0xad, 0x32, 0xe2, 0xe1, 0x9b, 0x05, 0x06, 0x0b, 0x9d, 0x33, 0x6d, 0x63, 0xe6, 0x4d, 0xca, - 0xec, 0x10, 0x42, 0xc4, 0xae, 0x18, 0xbe, 0x80, 0xfe, 0xc9, 0x22, 0xf7, 0x0c, 0x74, 0x97, 0xe1, - 0x3c, 0x26, 0x37, 0xd3, 0xf1, 0x94, 0x8c, 0x9c, 0x3f, 0x6e, 0x17, 0xfc, 0x5f, 0x86, 0x77, 0x61, - 0xb4, 0x0e, 0x1d, 0xcb, 0xed, 0x01, 0x07, 0x87, 0x0f, 0xeb, 0x5b, 0x72, 0x4f, 0x68, 0x14, 0xd2, - 0x18, 0x4f, 0x88, 0x63, 0x37, 0x9a, 0x45, 0x14, 0xd3, 0x68, 0x6c, 0x3e, 0x3a, 0xee, 0x39, 0xe8, - 0xe1, 0x60, 0x1e, 0xcd, 0x96, 0x0b, 0x42, 0x7f, 0x32, 0x7f, 0x83, 0x2f, 0x0b, 0x0c, 0x36, 0xb2, - 0x80, 0x27, 0x27, 0x0d, 0x86, 0x27, 0x7b, 0x8c, 0x9b, 0x79, 0x63, 0xeb, 0x31, 0x38, 0x98, 0x70, - 0xb9, 0x65, 0x82, 0x43, 0x59, 0x71, 0x8f, 0x67, 0x42, 0x6f, 0xe3, 0x78, 0x84, 0x32, 0x57, 0xbf, - 0xdc, 0xe4, 0x5a, 0xbf, 0xaf, 0x76, 0x67, 0x82, 0xf1, 0xbb, 0xdd, 0x9f, 0x18, 0x2b, 0x9c, 0x2a, - 0x68, 0x60, 0x83, 0x56, 0x3e, 0x6c, 0x96, 0xa6, 0x3e, 0x8e, 0x7c, 0x82, 0x53, 0x95, 0xb4, 0x7c, - 0xb2, 0xf2, 0x13, 0xcd, 0x7f, 0xda, 0x03, 0xf3, 0x89, 0x10, 0x4e, 0x15, 0x42, 0x6d, 0x05, 0x42, - 0x2b, 0x1f, 0x21, 0x5d, 0xf3, 0xf4, 0x4f, 0x37, 0x76, 0xf5, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x5e, - 0x8c, 0x33, 0x17, 0x2b, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/targeting_dimension.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/targeting_dimension.pb.go deleted file mode 100644 index 3eb81f99..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/targeting_dimension.pb.go +++ /dev/null @@ -1,158 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/targeting_dimension.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_7532960c6a9b7e8f, []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_7532960c6a9b7e8f, []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 (m *TargetingDimensionEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_TargetingDimensionEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.TargetingDimensionEnum_TargetingDimension", TargetingDimensionEnum_TargetingDimension_name, TargetingDimensionEnum_TargetingDimension_value) - proto.RegisterType((*TargetingDimensionEnum)(nil), "google.ads.googleads.v1.enums.TargetingDimensionEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/targeting_dimension.proto", fileDescriptor_7532960c6a9b7e8f) -} - -var fileDescriptor_7532960c6a9b7e8f = []byte{ - // 378 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xdf, 0xaa, 0xd3, 0x30, - 0x1c, 0xb6, 0x3d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0xee, 0x30, 0x78, 0x87, 0x86, 0xe0, 0x3e, 0x0e, 0x42, - 0xdf, 0x81, 0xcf, 0x11, 0x00, 0x03, 0x8f, 0x71, 0x97, 0x45, 0xf0, 0x1e, 0xbd, 0x00, 0x43, 0xea, - 0xb1, 0x7d, 0x44, 0xb9, 0xc7, 0xe0, 0xa0, 0x19, 0xc3, 0x15, 0x75, 0xd8, 0x9a, 0xf1, 0x18, 0x3e, - 0xa0, 0x97, 0x60, 0x12, 0xd2, 0x88, 0xf1, 0x98, 0xae, 0xf6, 0x9b, 0x98, 0xc6, 0xc9, 0x06, 0x3e, - 0x22, 0x08, 0xc6, 0x3e, 0x77, 0x82, 0x75, 0xef, 0x1a, 0x2e, 0xfe, 0x18, 0x60, 0xf6, 0x55, 0x55, - 0xf8, 0xc9, 0x2a, 0x16, 0xaf, 0x6f, 0xbf, 0x13, 0x36, 0x2d, 0x84, 0xc6, 0xe7, 0xc5, 0x3f, 0xa7, - 0x50, 0x87, 0x4c, 0x0a, 0xac, 0x4e, 0xc2, 0x12, 0x85, 0x6c, 0x3b, 0xea, 0xb7, 0x71, 0x2c, 0xf5, - 0x7f, 0x96, 0xf3, 0xa1, 0x3d, 0xbf, 0x99, 0x77, 0x1e, 0xa5, 0x3f, 0xcc, 0xa9, 0xd7, 0x45, 0xd1, - 0x5c, 0xe3, 0x0e, 0x36, 0x68, 0x6b, 0xe3, 0xa6, 0x55, 0xfd, 0xab, 0xe7, 0x53, 0x9a, 0xeb, 0xf4, - 0xca, 0xa7, 0x5b, 0x3b, 0x6d, 0xf9, 0xdf, 0xe6, 0xac, 0xbb, 0x24, 0x84, 0xe6, 0x9a, 0x90, 0xab, - 0x82, 0x90, 0xad, 0x4d, 0x48, 0xab, 0xf9, 0x32, 0x68, 0x1f, 0xf6, 0xee, 0x6f, 0x00, 0x00, 0x00, - 0xff, 0xff, 0x7a, 0x7d, 0x14, 0x76, 0x34, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/time_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/time_type.pb.go deleted file mode 100644 index 601451da..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/time_type.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/time_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_60b4ddac3c85d154, []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_60b4ddac3c85d154, []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 (m *TimeTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_TimeTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.TimeTypeEnum_TimeType", TimeTypeEnum_TimeType_name, TimeTypeEnum_TimeType_value) - proto.RegisterType((*TimeTypeEnum)(nil), "google.ads.googleads.v1.enums.TimeTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/time_type.proto", fileDescriptor_60b4ddac3c85d154) -} - -var fileDescriptor_60b4ddac3c85d154 = []byte{ - // 294 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xc3, 0x30, - 0x18, 0xc7, 0x6d, 0x0b, 0x4e, 0x32, 0xc5, 0xd2, 0xa3, 0xb8, 0xc3, 0x76, 0x37, 0xa1, 0x78, 0x8b, - 0x20, 0xb4, 0xda, 0x8d, 0x21, 0xa4, 0x65, 0x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0x6b, 0xf9, 0xcf, - 0x46, 0xee, 0xf4, 0xf9, 0xe1, 0x7a, 0xb3, 0x28, 0xfa, 0x74, 0x47, 0x33, 0xd3, 0x2a, 0xaa, 0x24, - 0x34, 0x52, 0xa9, 0x3c, 0x84, 0x6a, 0x3e, 0xf9, 0x65, 0xfd, 0x22, 0xaa, 0x64, 0xd1, 0xfb, 0x45, - 0x1e, 0x16, 0xda, 0xff, 0x71, 0xc7, 0xa6, 0x88, 0x71, 0x54, 0x49, 0x8c, 0x7b, 0x02, 0xe3, 0x3c, - 0xc4, 0x58, 0x33, 0x6f, 0xa7, 0x3a, 0xd8, 0xed, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x38, 0xf4, - 0x42, 0x6f, 0xa9, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/tracking_code_page_format.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/tracking_code_page_format.pb.go deleted file mode 100644 index 42c5bc2e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/tracking_code_page_format.pb.go +++ /dev/null @@ -1,126 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/tracking_code_page_format.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_bb83a2db93e5f178, []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_bb83a2db93e5f178, []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 (m *TrackingCodePageFormatEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_TrackingCodePageFormatEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.TrackingCodePageFormatEnum_TrackingCodePageFormat", TrackingCodePageFormatEnum_TrackingCodePageFormat_name, TrackingCodePageFormatEnum_TrackingCodePageFormat_value) - proto.RegisterType((*TrackingCodePageFormatEnum)(nil), "google.ads.googleads.v1.enums.TrackingCodePageFormatEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/tracking_code_page_format.proto", fileDescriptor_bb83a2db93e5f178) -} - -var fileDescriptor_bb83a2db93e5f178 = []byte{ - // 312 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4e, 0xc2, 0x30, - 0x18, 0xc7, 0x65, 0x18, 0x31, 0xe5, 0xe0, 0xb2, 0x83, 0x07, 0x94, 0x03, 0x3c, 0x40, 0x9b, 0xc5, - 0x5b, 0x8d, 0x87, 0x82, 0x80, 0x44, 0x99, 0x4b, 0x04, 0x4c, 0xcc, 0x12, 0x52, 0x69, 0x6d, 0x16, - 0x59, 0xbf, 0x65, 0x1d, 0x3c, 0x90, 0x47, 0x1f, 0xc5, 0x47, 0xf1, 0xe4, 0x23, 0x98, 0xb5, 0xc0, - 0x09, 0xbd, 0x2c, 0xff, 0xec, 0xff, 0xfd, 0xfe, 0xfd, 0x7f, 0x1f, 0xba, 0x51, 0x00, 0x6a, 0x25, - 0x09, 0x17, 0x86, 0x38, 0x59, 0xa9, 0x4d, 0x48, 0xa4, 0x5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2, 0x84, 0x49, 0xf6, - 0x7e, 0x32, 0x0f, 0x13, 0xeb, 0x7f, 0x7b, 0x1d, 0xf7, 0x93, 0x52, 0x26, 0x0c, 0xa5, 0xfb, 0x09, - 0x4a, 0xe7, 0x21, 0xa5, 0x76, 0xe6, 0xf5, 0xc4, 0x16, 0xbb, 0xfa, 0x0d, 0x00, 0x00, 0xff, 0xff, - 0x30, 0x63, 0x0b, 0x36, 0xe0, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/tracking_code_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/tracking_code_type.pb.go deleted file mode 100644 index 63a0df64..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/tracking_code_type.pb.go +++ /dev/null @@ -1,133 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/tracking_code_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_3fe4bb6a9d0a0750, []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_3fe4bb6a9d0a0750, []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 (m *TrackingCodeTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_TrackingCodeTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.TrackingCodeTypeEnum_TrackingCodeType", TrackingCodeTypeEnum_TrackingCodeType_name, TrackingCodeTypeEnum_TrackingCodeType_value) - proto.RegisterType((*TrackingCodeTypeEnum)(nil), "google.ads.googleads.v1.enums.TrackingCodeTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/tracking_code_type.proto", fileDescriptor_3fe4bb6a9d0a0750) -} - -var fileDescriptor_3fe4bb6a9d0a0750 = []byte{ - // 327 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdf, 0x4a, 0xfb, 0x30, - 0x18, 0xfd, 0xad, 0xfb, 0xa1, 0x90, 0x21, 0xab, 0x55, 0x6f, 0xc4, 0x5d, 0x6c, 0x0f, 0x90, 0x50, - 0x04, 0x2f, 0xe2, 0x55, 0x5a, 0xeb, 0x18, 0x1b, 0x5d, 0xc1, 0xfd, 0x01, 0x29, 0x94, 0xb8, 0x84, - 0x50, 0xdc, 0x92, 0xb2, 0x74, 0x83, 0x5d, 0xf8, 0x32, 0x5e, 0xfa, 0x28, 0x3e, 0xca, 0x9e, 0x42, - 0x9a, 0x6c, 0xbd, 0x18, 0xe8, 0x4d, 0x38, 0xf9, 0xbe, 0x73, 0x0e, 0xe7, 0x3b, 0xe0, 0x41, 0x28, - 0x25, 0x96, 0x1c, 0x51, 0xa6, 0x91, 0x85, 0x15, 0xda, 0xfa, 0x88, 0xcb, 0xcd, 0x4a,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 0xcd, 0x7c, 0x58, 0xd5, 0xa1, 0xbf, 0x8f, 0xfb, 0x94, 0x30, 0x9d, 0xd6, 0xfb, - 0x74, 0xe6, 0xa7, 0x66, 0xbf, 0x77, 0xba, 0x76, 0x88, 0x31, 0x61, 0x1a, 0xe3, 0x9a, 0x81, 0xf1, - 0xcc, 0xc7, 0xd8, 0x70, 0xde, 0xce, 0x4c, 0xb0, 0xfb, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x3c, - 0xb2, 0xe6, 0x9c, 0xe9, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/travel_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/travel_placeholder_field.pb.go deleted file mode 100644 index 68e0c1f3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/travel_placeholder_field.pb.go +++ /dev/null @@ -1,233 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/travel_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_ca7a3e1388fd357c, []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_ca7a3e1388fd357c, []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 (m *TravelPlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_TravelPlaceholderFieldEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.TravelPlaceholderFieldEnum_TravelPlaceholderField", TravelPlaceholderFieldEnum_TravelPlaceholderField_name, TravelPlaceholderFieldEnum_TravelPlaceholderField_value) - proto.RegisterType((*TravelPlaceholderFieldEnum)(nil), "google.ads.googleads.v1.enums.TravelPlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/travel_placeholder_field.proto", fileDescriptor_ca7a3e1388fd357c) -} - -var fileDescriptor_ca7a3e1388fd357c = []byte{ - // 524 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0xdd, 0x6e, 0xd3, 0x30, - 0x14, 0x66, 0x2d, 0xfb, 0x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e, 0x20, 0x04, 0x1a, 0x36, 0x11, 0x92, 0x32, - 0x2c, 0xa9, 0xc7, 0x02, 0x6a, 0xc3, 0x0a, 0x3a, 0x03, 0xa7, 0x1e, 0xa7, 0x0e, 0xd5, 0x6d, 0x15, - 0x9d, 0x82, 0x43, 0x49, 0xa5, 0x4b, 0xe0, 0x4b, 0xd4, 0x06, 0x70, 0x9f, 0xcd, 0xf0, 0x90, 0xc0, - 0x43, 0x75, 0xc2, 0x9a, 0xaf, 0x07, 0x47, 0x4a, 0xe1, 0x73, 0xda, 0x23, 0xf0, 0x18, 0xb5, 0x40, - 0xb3, 0xef, 0xf1, 0x21, 0x96, 0x92, 0xd8, 0x41, 0x39, 0x3c, 0x41, 0x0d, 0x00, 0x04, 0x76, 0xc9, - 0xba, 0x3f, 0x45, 0xaf, 0x41, 0x7b, 0x47, 0xda, 0x43, 0x80, 0x5a, 0x85, 0x0e, 0xb1, 0x43, 0x82, - 0x11, 0x77, 0x61, 0x0d, 0xd5, 0xc1, 0x49, 0x0f, 0x4b, 0xe2, 0x78, 0xfc, 0x01, 0xd6, 0xd1, 0x25, - 0x68, 0xf5, 0x3c, 0x26, 0xc9, 0x07, 0x39, 0xc2, 0x6e, 0x30, 0x20, 0x0f, 0xf7, 0x1e, 0xb7, 0x05, - 0x3c, 0x53, 0xc0, 0xfe, 0x9a, 0xd8, 0xb6, 0x39, 0x11, 0x02, 0x36, 0x94, 0x5d, 0x9f, 0x32, 0xec, - 0x6a, 0xbb, 0x26, 0xba, 0x00, 0xe7, 0x65, 0x3b, 0xf4, 0xba, 0xd4, 0xd5, 0x87, 0x08, 0x08, 0x11, - 0x04, 0x75, 0xc9, 0x71, 0x6f, 0x40, 0x99, 0xa3, 0x89, 0xe7, 0xea, 0xbf, 0x31, 0xb3, 0xb9, 0x47, - 0xed, 0x00, 0xfb, 0x7e, 0xe0, 0x52, 0x36, 0x80, 0x08, 0x5d, 0x83, 0x4b, 0x41, 0x87, 0xd4, 0xc5, - 0x3c, 0xf8, 0xfb, 0x0e, 0x05, 0x6c, 0x29, 0x13, 0xea, 0x89, 0x1d, 0xbd, 0xad, 0x4c, 0x36, 0x13, - 0x21, 0x3d, 0x4e, 0xd4, 0xed, 0x5e, 0x74, 0x7f, 0x1f, 0x80, 0xdb, 0xc7, 0x7c, 0x66, 0xfc, 0x37, - 0x1c, 0xdd, 0xeb, 0xe7, 0x1f, 0xd7, 0x57, 0xd9, 0xf0, 0x0f, 0x3e, 0x76, 0xd7, 0xea, 0x24, 0x4f, - 0xc3, 0x2c, 0x31, 0xf2, 0x45, 0x62, 0x26, 0x71, 0xa6, 0x93, 0xb3, 0x09, 0xea, 0x7c, 0x5a, 0xfc, - 0x23, 0xb7, 0xef, 0xf4, 0xf7, 0x6b, 0xa5, 0xea, 0x60, 0xfc, 0xad, 0x72, 0xe3, 0x94, 0x56, 0x38, - 0x2a, 0x8c, 0xb2, 0x54, 0xd5, 0xb8, 0x63, 0xa8, 0x9c, 0x15, 0x3f, 0x36, 0xf8, 0x04, 0x47, 0xc5, - 0x64, 0x8b, 0x4f, 0xc6, 0x9d, 0x89, 0xc6, 0x7f, 0x55, 0x6e, 0xcb, 0xa1, 0x65, 0xe1, 0xa8, 0xb0, - 0xac, 0x2d, 0xc3, 0xb2, 0xc6, 0x1d, 0xcb, 0xd2, 0x9c, 0x4f, 0x47, 0x7a, 0xb1, 0xb7, 0x7f, 0x02, - 0x00, 0x00, 0xff, 0xff, 0xb1, 0xed, 0x26, 0x00, 0x4f, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_interest_taxonomy_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_interest_taxonomy_type.pb.go deleted file mode 100644 index 741f37a9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_interest_taxonomy_type.pb.go +++ /dev/null @@ -1,141 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/user_interest_taxonomy_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_bb8bc4f7b2be793c, []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_bb8bc4f7b2be793c, []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 (m *UserInterestTaxonomyTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserInterestTaxonomyTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.UserInterestTaxonomyTypeEnum_UserInterestTaxonomyType", UserInterestTaxonomyTypeEnum_UserInterestTaxonomyType_name, UserInterestTaxonomyTypeEnum_UserInterestTaxonomyType_value) - proto.RegisterType((*UserInterestTaxonomyTypeEnum)(nil), "google.ads.googleads.v1.enums.UserInterestTaxonomyTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/user_interest_taxonomy_type.proto", fileDescriptor_bb8bc4f7b2be793c) -} - -var fileDescriptor_bb8bc4f7b2be793c = []byte{ - // 387 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xcf, 0x8a, 0xd4, 0x30, - 0x1c, 0xb6, 0xb3, 0xba, 0x6a, 0x76, 0xc5, 0x12, 0x04, 0x17, 0xdd, 0x39, 0xec, 0x3e, 0x40, 0x4a, - 0xf1, 0x16, 0x0f, 0x92, 0xae, 0x99, 0x31, 0x6c, 0x27, 0x2d, 0xfd, 0xb7, 0x28, 0x85, 0x50, 0x6d, - 0x28, 0x85, 0x6d, 0x52, 0x9a, 0xce, 0xe0, 0xbc, 0x8c, 0x07, 0x8f, 0xbe, 0x84, 0x77, 0x1f, 0xc5, - 0xa3, 0x4f, 0x20, 0x6d, 0x67, 0xe6, 0x36, 0x7b, 0x09, 0x1f, 0xf9, 0xfe, 0xfc, 0x92, 0xef, 0x07, - 0x3e, 0x54, 0x5a, 0x57, 0xf7, 0xd2, 0x29, 0x4a, 0xe3, 0x4c, 0x70, 0x40, 0x1b, 0xd7, 0x91, 0x6a, - 0xdd, 0x18, 0x67, 0x6d, 0x64, 0x27, 0x6a, 0xd5, 0xcb, 0x4e, 0x9a, 0x5e, 0xf4, 0xc5, 0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, 0x17, 0x6f, 0xe7, 0xaf, 0xf4, 0x7d, 0xa1, 0x2a, 0xa4, 0xbb, 0xca, - 0xa9, 0xa4, 0x1a, 0x4b, 0xda, 0xaf, 0xa5, 0xad, 0xcd, 0x91, 0x2d, 0xbd, 0x1f, 0xcf, 0x9f, 0xb3, - 0x93, 0x25, 0x21, 0xbf, 0x66, 0xf3, 0xe5, 0x14, 0x45, 0x4a, 0x83, 0x26, 0x38, 0xa0, 0xcc, 0x45, - 0x43, 0xa1, 0xe6, 0xcf, 0x9e, 0xcf, 0x49, 0x69, 0xf2, 0x03, 0x9f, 0x67, 0x6e, 0x3e, 0xf2, 0x7f, - 0x67, 0x57, 0xd3, 0x25, 0xc6, 0xa4, 0x34, 0x18, 0x1f, 0x14, 0x18, 0x67, 0x2e, 0xc6, 0xa3, 0xe6, - 0xeb, 0xe9, 0xf8, 0xb0, 0x77, 0xff, 0x03, 0x00, 0x00, 0xff, 0xff, 0x7d, 0x2c, 0x3f, 0x4e, 0x3d, - 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_access_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_access_status.pb.go deleted file mode 100644 index e0633c5c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_access_status.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/user_list_access_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_4bc74499510e4946, []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_4bc74499510e4946, []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 (m *UserListAccessStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListAccessStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.UserListAccessStatusEnum_UserListAccessStatus", UserListAccessStatusEnum_UserListAccessStatus_name, UserListAccessStatusEnum_UserListAccessStatus_value) - proto.RegisterType((*UserListAccessStatusEnum)(nil), "google.ads.googleads.v1.enums.UserListAccessStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/user_list_access_status.proto", fileDescriptor_4bc74499510e4946) -} - -var fileDescriptor_4bc74499510e4946 = []byte{ - // 311 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x41, 0x6a, 0xeb, 0x30, - 0x10, 0xfd, 0x71, 0xe0, 0xb7, 0x28, 0x85, 0x06, 0xd3, 0x45, 0x5b, 0x9a, 0x45, 0x72, 0x00, 0x09, - 0xd3, 0x9d, 0xb2, 0x92, 0x1b, 0x37, 0x84, 0x06, 0x27, 0x10, 0x92, 0x42, 0x31, 0x04, 0x35, 0x16, - 0xc2, 0x34, 0x96, 0x8c, 0x47, 0xce, 0x81, 0xba, 0xec, 0x51, 0x7a, 0x94, 0x2e, 0x7a, 0x86, 0x62, - 0x29, 0xf6, 0x2a, 0xed, 0x46, 0xbc, 0xd1, 0x9b, 0xf7, 0xe6, 0xcd, 0xa0, 0xb1, 0xd4, 0x5a, 0xee, - 0x05, 0xe1, 0x29, 0x10, 0x07, 0x6b, 0x74, 0x08, 0x88, 0x50, 0x55, 0x0e, 0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41, 0x62, 0xf9, 0x2f, 0x6f, 0xe8, 0x3e, 0x29, 0x65, 0x29, 0x50, 0xda, 0x76, 0x50, 0xba, - 0x09, 0x28, 0xb5, 0x3d, 0xaf, 0xff, 0x6d, 0xb0, 0xfb, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x99, - 0x4b, 0x85, 0x3b, 0xe0, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_closing_reason.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_closing_reason.pb.go deleted file mode 100644 index dfc82b4e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_closing_reason.pb.go +++ /dev/null @@ -1,120 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/user_list_closing_reason.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_9586aee4ba6d2ca2, []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_9586aee4ba6d2ca2, []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 (m *UserListClosingReasonEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListClosingReasonEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.UserListClosingReasonEnum_UserListClosingReason", UserListClosingReasonEnum_UserListClosingReason_name, UserListClosingReasonEnum_UserListClosingReason_value) - proto.RegisterType((*UserListClosingReasonEnum)(nil), "google.ads.googleads.v1.enums.UserListClosingReasonEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/user_list_closing_reason.proto", fileDescriptor_9586aee4ba6d2ca2) -} - -var fileDescriptor_9586aee4ba6d2ca2 = []byte{ - // 302 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xc3, 0x30, - 0x1c, 0xc6, 0x5d, 0x85, 0x09, 0xd9, 0xc1, 0x51, 0xf0, 0xe0, 0x70, 0x87, 0xed, 0x01, 0x12, 0x8a, - 0xb7, 0xe8, 0x25, 0xdb, 0xea, 0x18, 0x4a, 0x1d, 0x8e, 0x4e, 0x90, 0xe2, 0x88, 0x6b, 0x08, 0x81, - 0x36, 0x29, 0xfd, 0xb7, 0x7b, 0x20, 0x8f, 0x3e, 0x8a, 0x8f, 0xe2, 0xc5, 0x57, 0x90, 0x26, 0xb6, - 0xa7, 0xe9, 0x25, 0x7c, 0xe4, 0xfb, 0xff, 0xbe, 0x7c, 0xf9, 0xa3, 0x5b, 0x69, 0x8c, 0xcc, 0x04, - 0xe1, 0x29, 0x10, 0x27, 0x1b, 0x75, 0x08, 0x88, 0xd0, 0x75, 0x0e, 0xa4, 0x06, 0x51, 0xee, 0x32, - 0x05, 0xd5, 0x6e, 0x9f, 0x19, 0x50, 0x5a, 0xee, 0x4a, 0xc1, 0xc1, 0x68, 0x5c, 0x94, 0xa6, 0x32, - 0xfe, 0xd8, 0x21, 0x98, 0xa7, 0x80, 0x3b, 0x1a, 0x1f, 0x02, 0x6c, 0xe9, 0xd1, 0x55, 0x1b, 0x5e, - 0x28, 0xc2, 0xb5, 0x36, 0x15, 0xaf, 0x94, 0xd1, 0xe0, 0xe0, 0xe9, 0x2b, 0xba, 0x8c, 0x41, 0x94, - 0x0f, 0x0a, 0xaa, 0xb9, 0x0b, 0x7f, 0xb2, 0xd9, 0xa1, 0xae, 0xf3, 0x29, 0x43, 0x17, 0x47, 0x4d, - 0xff, 0x1c, 0x0d, 0xe2, 0x68, 0xb3, 0x0e, 0xe7, 0xab, 0xbb, 0x55, 0xb8, 0x18, 0x9e, 0xf8, 0x03, - 0x74, 0x16, 0x47, 0xf7, 0xd1, 0xe3, 0x73, 0x34, 0xec, 0xf9, 0x08, 0xf5, 0xe3, 0x28, 0xde, 0x84, - 0x8b, 0xa1, 0x37, 0xfb, 0xee, 0xa1, 0xc9, 0xde, 0xe4, 0xf8, 0xdf, 0x8e, 0xb3, 0xd1, 0xd1, 0x67, - 0xd6, 0x4d, 0xc3, 0x75, 0xef, 0x65, 0xf6, 0x0b, 0x4b, 0x93, 0x71, 0x2d, 0xb1, 0x29, 0x25, 0x91, - 0x42, 0xdb, 0xfe, 0xed, 0xba, 0x0a, 0x05, 0x7f, 0x6c, 0xef, 0xc6, 0x9e, 0xef, 0xde, 0xe9, 0x92, - 0xb1, 0x0f, 0x6f, 0xbc, 0x74, 0x51, 0x2c, 0x05, 0xec, 0x64, 0xa3, 0xb6, 0x01, 0x6e, 0xfe, 0x0b, - 0x9f, 0xad, 0x9f, 0xb0, 0x14, 0x92, 0xce, 0x4f, 0xb6, 0x41, 0x62, 0xfd, 0x2f, 0x6f, 0xe2, 0x2e, - 0x29, 0x65, 0x29, 0x50, 0xda, 0x4d, 0x50, 0xba, 0x0d, 0x28, 0xb5, 0x33, 0x6f, 0x7d, 0x5b, 0xec, - 0xfa, 0x27, 0x00, 0x00, 0xff, 0xff, 0xa6, 0x92, 0x92, 0x02, 0xd5, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_combined_rule_operator.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_combined_rule_operator.pb.go deleted file mode 100644 index ed51b485..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_combined_rule_operator.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/user_list_combined_rule_operator.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible user list combined rule operators. -type UserListCombinedRuleOperatorEnum_UserListCombinedRuleOperator int32 - -const ( - // Not specified. - UserListCombinedRuleOperatorEnum_UNSPECIFIED UserListCombinedRuleOperatorEnum_UserListCombinedRuleOperator = 0 - // Used for return value only. Represents value unknown in this version. - UserListCombinedRuleOperatorEnum_UNKNOWN UserListCombinedRuleOperatorEnum_UserListCombinedRuleOperator = 1 - // A AND B. - UserListCombinedRuleOperatorEnum_AND UserListCombinedRuleOperatorEnum_UserListCombinedRuleOperator = 2 - // A AND NOT B. - UserListCombinedRuleOperatorEnum_AND_NOT UserListCombinedRuleOperatorEnum_UserListCombinedRuleOperator = 3 -) - -var UserListCombinedRuleOperatorEnum_UserListCombinedRuleOperator_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "AND", - 3: "AND_NOT", -} - -var UserListCombinedRuleOperatorEnum_UserListCombinedRuleOperator_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "AND": 2, - "AND_NOT": 3, -} - -func (x UserListCombinedRuleOperatorEnum_UserListCombinedRuleOperator) String() string { - return proto.EnumName(UserListCombinedRuleOperatorEnum_UserListCombinedRuleOperator_name, int32(x)) -} - -func (UserListCombinedRuleOperatorEnum_UserListCombinedRuleOperator) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_c43031e2c954a0ca, []int{0, 0} -} - -// Logical operator connecting two rules. -type UserListCombinedRuleOperatorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserListCombinedRuleOperatorEnum) Reset() { *m = UserListCombinedRuleOperatorEnum{} } -func (m *UserListCombinedRuleOperatorEnum) String() string { return proto.CompactTextString(m) } -func (*UserListCombinedRuleOperatorEnum) ProtoMessage() {} -func (*UserListCombinedRuleOperatorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_c43031e2c954a0ca, []int{0} -} - -func (m *UserListCombinedRuleOperatorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserListCombinedRuleOperatorEnum.Unmarshal(m, b) -} -func (m *UserListCombinedRuleOperatorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserListCombinedRuleOperatorEnum.Marshal(b, m, deterministic) -} -func (m *UserListCombinedRuleOperatorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListCombinedRuleOperatorEnum.Merge(m, src) -} -func (m *UserListCombinedRuleOperatorEnum) XXX_Size() int { - return xxx_messageInfo_UserListCombinedRuleOperatorEnum.Size(m) -} -func (m *UserListCombinedRuleOperatorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_UserListCombinedRuleOperatorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_UserListCombinedRuleOperatorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.UserListCombinedRuleOperatorEnum_UserListCombinedRuleOperator", UserListCombinedRuleOperatorEnum_UserListCombinedRuleOperator_name, UserListCombinedRuleOperatorEnum_UserListCombinedRuleOperator_value) - proto.RegisterType((*UserListCombinedRuleOperatorEnum)(nil), "google.ads.googleads.v1.enums.UserListCombinedRuleOperatorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/user_list_combined_rule_operator.proto", fileDescriptor_c43031e2c954a0ca) -} - -var fileDescriptor_c43031e2c954a0ca = []byte{ - // 318 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xc1, 0x6a, 0xea, 0x40, - 0x14, 0x7d, 0x46, 0x78, 0xc2, 0xb8, 0x68, 0xc8, 0xb2, 0x28, 0x54, 0x3f, 0x60, 0x42, 0xe8, 0x6e, - 0xba, 0x1a, 0x8d, 0x15, 0x69, 0x19, 0xc5, 0x56, 0x0b, 0x25, 0x10, 0xa2, 0x19, 0x42, 0x20, 0x99, - 0x1b, 0xe6, 0x26, 0x7e, 0x50, 0x97, 0xfd, 0x94, 0x7e, 0x4a, 0x3f, 0xa0, 0xeb, 0x92, 0x19, 0x75, - 0xd7, 0x6c, 0x86, 0xc3, 0x9c, 0x73, 0xcf, 0xb9, 0xf7, 0x90, 0x30, 0x03, 0xc8, 0x0a, 0xe9, 0x27, - 0x29, 0xfa, 0x16, 0xb6, 0xe8, 0x14, 0xf8, 0x52, 0x35, 0x25, 0xfa, 0x0d, 0x4a, 0x1d, 0x17, 0x39, - 0xd6, 0xf1, 0x11, 0xca, 0x43, 0xae, 0x64, 0x1a, 0xeb, 0xa6, 0x90, 0x31, 0x54, 0x52, 0x27, 0x35, - 0x68, 0x5a, 0x69, 0xa8, 0xc1, 0x1b, 0xdb, 0x51, 0x9a, 0xa4, 0x48, 0xaf, 0x2e, 0xf4, 0x14, 0x50, - 0xe3, 0x72, 0x3b, 0xba, 0x84, 0x54, 0xb9, 0x9f, 0x28, 0x05, 0x75, 0x52, 0xe7, 0xa0, 0xd0, 0x0e, - 0x4f, 0x4f, 0xe4, 0x6e, 0x87, 0x52, 0x3f, 0xe7, 0x58, 0xcf, 0xcf, 0x21, 0xdb, 0xa6, 0x90, 0xeb, - 0x73, 0xc4, 0x42, 0x35, 0xe5, 0x74, 0x4b, 0x46, 0x5d, 0x1a, 0xef, 0x86, 0x0c, 0x77, 0xe2, 0x65, - 0xb3, 0x98, 0xaf, 0x1e, 0x57, 0x8b, 0xd0, 0xfd, 0xe7, 0x0d, 0xc9, 0x60, 0x27, 0x9e, 0xc4, 0xfa, - 0x4d, 0xb8, 0x3d, 0x6f, 0x40, 0xfa, 0x5c, 0x84, 0xae, 0xd3, 0xfe, 0x72, 0x11, 0xc6, 0x62, 0xfd, - 0xea, 0xf6, 0x67, 0x3f, 0x3d, 0x32, 0x39, 0x42, 0x49, 0x3b, 0x77, 0x9f, 0x4d, 0xba, 0x72, 0x37, - 0xed, 0x01, 0x9b, 0xde, 0xfb, 0xec, 0xec, 0x91, 0x41, 0x91, 0xa8, 0x8c, 0x82, 0xce, 0xfc, 0x4c, - 0x2a, 0x73, 0xde, 0xa5, 0xd5, 0x2a, 0xc7, 0x3f, 0x4a, 0x7e, 0x30, 0xef, 0x87, 0xd3, 0x5f, 0x72, - 0xfe, 0xe9, 0x8c, 0x97, 0xd6, 0x8a, 0xa7, 0x48, 0x2d, 0x6c, 0xd1, 0x3e, 0xa0, 0x6d, 0x0f, 0xf8, - 0x75, 0xe1, 0x23, 0x9e, 0x62, 0x74, 0xe5, 0xa3, 0x7d, 0x10, 0x19, 0xfe, 0xdb, 0x99, 0xd8, 0x4f, - 0xc6, 0x78, 0x8a, 0x8c, 0x5d, 0x15, 0x8c, 0xed, 0x03, 0xc6, 0x8c, 0xe6, 0xf0, 0xdf, 0x2c, 0x76, - 0xff, 0x1b, 0x00, 0x00, 0xff, 0xff, 0xdd, 0x53, 0xc2, 0xa7, 0xfc, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_crm_data_source_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_crm_data_source_type.pb.go deleted file mode 100644 index 915de274..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_crm_data_source_type.pb.go +++ /dev/null @@ -1,131 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/user_list_crm_data_source_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_1035a1797a7c624d, []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_1035a1797a7c624d, []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 (m *UserListCrmDataSourceTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListCrmDataSourceTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.UserListCrmDataSourceTypeEnum_UserListCrmDataSourceType", UserListCrmDataSourceTypeEnum_UserListCrmDataSourceType_name, UserListCrmDataSourceTypeEnum_UserListCrmDataSourceType_value) - proto.RegisterType((*UserListCrmDataSourceTypeEnum)(nil), "google.ads.googleads.v1.enums.UserListCrmDataSourceTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/user_list_crm_data_source_type.proto", fileDescriptor_1035a1797a7c624d) -} - -var fileDescriptor_1035a1797a7c624d = []byte{ - // 362 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xc1, 0x6a, 0xab, 0x40, - 0x14, 0x7d, 0x9a, 0x47, 0x0b, 0x93, 0x45, 0xc5, 0x45, 0x21, 0xa1, 0x16, 0x92, 0x0f, 0x18, 0x91, - 0xee, 0xa6, 0x2b, 0x8d, 0x26, 0x95, 0x06, 0x23, 0x46, 0x2d, 0x2d, 0xc2, 0x30, 0x8d, 0x83, 0x08, - 0xd1, 0x11, 0x67, 0x0c, 0xe4, 0x03, 0xfa, 0x23, 0xdd, 0x14, 0xfa, 0x29, 0xfd, 0x94, 0x6e, 0xfb, - 0x03, 0x45, 0x6d, 0x42, 0x37, 0xe9, 0x66, 0x38, 0xcc, 0x39, 0xf7, 0xdc, 0x7b, 0xcf, 0x05, 0x56, - 0xc6, 0x58, 0xb6, 0xa5, 0x3a, 0x49, 0xb9, 0xde, 0xc3, 0x16, 0xed, 0x0c, 0x9d, 0x96, 0x4d, 0xc1, - 0xf5, 0x86, 0xd3, 0x1a, 0x6f, 0x73, 0x2e, 0xf0, 0xa6, 0x2e, 0x70, 0x4a, 0x04, 0xc1, 0x9c, 0x35, - 0xf5, 0x86, 0x62, 0xb1, 0xaf, 0x28, 0xac, 0x6a, 0x26, 0x98, 0xaa, 0xf5, 0x85, 0x90, 0xa4, 0x1c, - 0x1e, 0x3d, 0xe0, 0xce, 0x80, 0x9d, 0xc7, 0xf8, 0xea, 0xd0, 0xa2, 0xca, 0x75, 0x52, 0x96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xfc, 0xa7, 0x3c, 0xe9, 0x3f, 0x11, 0x32, 0x53, 0x8e, 0xd0, - 0x51, 0x81, 0x50, 0x6c, 0x20, 0xd4, 0x69, 0x9e, 0xcf, 0xba, 0xc1, 0x6e, 0xbe, 0x03, 0x00, 0x00, - 0xff, 0xff, 0x8c, 0x46, 0xec, 0xcc, 0x29, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_date_rule_item_operator.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_date_rule_item_operator.pb.go deleted file mode 100644 index 575e7208..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_date_rule_item_operator.pb.go +++ /dev/null @@ -1,134 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/user_list_date_rule_item_operator.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible user list date rule item operators. -type UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator int32 - -const ( - // Not specified. - UserListDateRuleItemOperatorEnum_UNSPECIFIED UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator = 0 - // Used for return value only. Represents value unknown in this version. - UserListDateRuleItemOperatorEnum_UNKNOWN UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator = 1 - // Equals. - UserListDateRuleItemOperatorEnum_EQUALS UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator = 2 - // Not Equals. - UserListDateRuleItemOperatorEnum_NOT_EQUALS UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator = 3 - // Before. - UserListDateRuleItemOperatorEnum_BEFORE UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator = 4 - // After. - UserListDateRuleItemOperatorEnum_AFTER UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator = 5 -) - -var UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "EQUALS", - 3: "NOT_EQUALS", - 4: "BEFORE", - 5: "AFTER", -} - -var UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "EQUALS": 2, - "NOT_EQUALS": 3, - "BEFORE": 4, - "AFTER": 5, -} - -func (x UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator) String() string { - return proto.EnumName(UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator_name, int32(x)) -} - -func (UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_03e6c9c04adcfde7, []int{0, 0} -} - -// Supported rule operator for date type. -type UserListDateRuleItemOperatorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserListDateRuleItemOperatorEnum) Reset() { *m = UserListDateRuleItemOperatorEnum{} } -func (m *UserListDateRuleItemOperatorEnum) String() string { return proto.CompactTextString(m) } -func (*UserListDateRuleItemOperatorEnum) ProtoMessage() {} -func (*UserListDateRuleItemOperatorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_03e6c9c04adcfde7, []int{0} -} - -func (m *UserListDateRuleItemOperatorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserListDateRuleItemOperatorEnum.Unmarshal(m, b) -} -func (m *UserListDateRuleItemOperatorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserListDateRuleItemOperatorEnum.Marshal(b, m, deterministic) -} -func (m *UserListDateRuleItemOperatorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListDateRuleItemOperatorEnum.Merge(m, src) -} -func (m *UserListDateRuleItemOperatorEnum) XXX_Size() int { - return xxx_messageInfo_UserListDateRuleItemOperatorEnum.Size(m) -} -func (m *UserListDateRuleItemOperatorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_UserListDateRuleItemOperatorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_UserListDateRuleItemOperatorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator", UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator_name, UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator_value) - proto.RegisterType((*UserListDateRuleItemOperatorEnum)(nil), "google.ads.googleads.v1.enums.UserListDateRuleItemOperatorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/user_list_date_rule_item_operator.proto", fileDescriptor_03e6c9c04adcfde7) -} - -var fileDescriptor_03e6c9c04adcfde7 = []byte{ - // 346 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0x41, 0x6a, 0xeb, 0x30, - 0x14, 0xfc, 0x76, 0x7e, 0x52, 0xaa, 0x40, 0x6b, 0xbc, 0x2c, 0x09, 0x34, 0x39, 0x80, 0x8c, 0xe9, - 0x4e, 0x5d, 0xc9, 0x8d, 0x12, 0x42, 0x83, 0x9d, 0x26, 0x71, 0x0a, 0xc5, 0x60, 0xd4, 0x5a, 0x18, - 0x83, 0x2d, 0x19, 0x49, 0xce, 0x45, 0x7a, 0x83, 0x2e, 0x7b, 0x94, 0x1e, 0xa5, 0x07, 0xe8, 0xba, - 0xd8, 0x4e, 0xb2, 0xab, 0x37, 0x62, 0xa4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 0xda, 0x78, 0xf1, 0x8e, - 0x1e, 0xa9, 0xc8, 0x29, 0x4f, 0xa1, 0x90, 0xa9, 0x93, 0x32, 0xde, 0x84, 0x3f, 0x2d, 0xbd, 0xcc, - 0xd4, 0x1f, 0x7f, 0x70, 0xdf, 0x9c, 0x1f, 0x66, 0x6f, 0x81, 0xf1, 0xa7, 0x39, 0x5e, 0xb4, 0x56, - 0x38, 0x51, 0xb0, 0x85, 0x35, 0xda, 0xbb, 0xb0, 0x5e, 0x92, 0xfa, 0x3a, 0xf1, 0x11, 0x4e, 0x54, - 0x74, 0xe6, 0xa3, 0xbd, 0x1b, 0x35, 0xfc, 0xb7, 0x39, 0x69, 0x1f, 0x11, 0xc2, 0x89, 0x42, 0xe8, - 0xac, 0x40, 0x68, 0xef, 0x22, 0xd4, 0x68, 0x5e, 0x07, 0xcd, 0x60, 0x77, 0xbf, 0x01, 0x00, 0x00, - 0xff, 0xff, 0x45, 0xbf, 0xc8, 0x51, 0x1b, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_logical_rule_operator.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_logical_rule_operator.pb.go deleted file mode 100644 index 01c7d526..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_logical_rule_operator.pb.go +++ /dev/null @@ -1,129 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/user_list_logical_rule_operator.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible user list logical rule operators. -type UserListLogicalRuleOperatorEnum_UserListLogicalRuleOperator int32 - -const ( - // Not specified. - UserListLogicalRuleOperatorEnum_UNSPECIFIED UserListLogicalRuleOperatorEnum_UserListLogicalRuleOperator = 0 - // Used for return value only. Represents value unknown in this version. - UserListLogicalRuleOperatorEnum_UNKNOWN UserListLogicalRuleOperatorEnum_UserListLogicalRuleOperator = 1 - // And - all of the operands. - UserListLogicalRuleOperatorEnum_ALL UserListLogicalRuleOperatorEnum_UserListLogicalRuleOperator = 2 - // Or - at least one of the operands. - UserListLogicalRuleOperatorEnum_ANY UserListLogicalRuleOperatorEnum_UserListLogicalRuleOperator = 3 - // Not - none of the operands. - UserListLogicalRuleOperatorEnum_NONE UserListLogicalRuleOperatorEnum_UserListLogicalRuleOperator = 4 -) - -var UserListLogicalRuleOperatorEnum_UserListLogicalRuleOperator_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "ALL", - 3: "ANY", - 4: "NONE", -} - -var UserListLogicalRuleOperatorEnum_UserListLogicalRuleOperator_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "ALL": 2, - "ANY": 3, - "NONE": 4, -} - -func (x UserListLogicalRuleOperatorEnum_UserListLogicalRuleOperator) String() string { - return proto.EnumName(UserListLogicalRuleOperatorEnum_UserListLogicalRuleOperator_name, int32(x)) -} - -func (UserListLogicalRuleOperatorEnum_UserListLogicalRuleOperator) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_995f7daf8451585d, []int{0, 0} -} - -// The logical operator of the rule. -type UserListLogicalRuleOperatorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserListLogicalRuleOperatorEnum) Reset() { *m = UserListLogicalRuleOperatorEnum{} } -func (m *UserListLogicalRuleOperatorEnum) String() string { return proto.CompactTextString(m) } -func (*UserListLogicalRuleOperatorEnum) ProtoMessage() {} -func (*UserListLogicalRuleOperatorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_995f7daf8451585d, []int{0} -} - -func (m *UserListLogicalRuleOperatorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserListLogicalRuleOperatorEnum.Unmarshal(m, b) -} -func (m *UserListLogicalRuleOperatorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserListLogicalRuleOperatorEnum.Marshal(b, m, deterministic) -} -func (m *UserListLogicalRuleOperatorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListLogicalRuleOperatorEnum.Merge(m, src) -} -func (m *UserListLogicalRuleOperatorEnum) XXX_Size() int { - return xxx_messageInfo_UserListLogicalRuleOperatorEnum.Size(m) -} -func (m *UserListLogicalRuleOperatorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_UserListLogicalRuleOperatorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_UserListLogicalRuleOperatorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.UserListLogicalRuleOperatorEnum_UserListLogicalRuleOperator", UserListLogicalRuleOperatorEnum_UserListLogicalRuleOperator_name, UserListLogicalRuleOperatorEnum_UserListLogicalRuleOperator_value) - proto.RegisterType((*UserListLogicalRuleOperatorEnum)(nil), "google.ads.googleads.v1.enums.UserListLogicalRuleOperatorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/user_list_logical_rule_operator.proto", fileDescriptor_995f7daf8451585d) -} - -var fileDescriptor_995f7daf8451585d = []byte{ - // 324 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xc1, 0x6e, 0xe2, 0x30, - 0x14, 0x5c, 0x02, 0x5a, 0x56, 0xe6, 0xb0, 0x51, 0x8e, 0xbb, 0x45, 0x2d, 0x7c, 0x80, 0xa3, 0xa8, - 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, 0x5f, 0x1d, 0x34, 0xda, 0xea, 0x1d, 0x3e, 0xbb, - 0xff, 0xe4, 0xea, 0x4c, 0xf8, 0xb2, 0xbd, 0x61, 0xd9, 0x79, 0x9e, 0x1c, 0x2c, 0x84, 0x96, 0x4c, - 0x09, 0xac, 0x8d, 0x08, 0x05, 0x57, 0xf6, 0xc2, 0x63, 0xaf, 0x55, 0x09, 0x3f, 0xd4, 0x7c, 0x63, - 0xdf, 0x37, 0xaf, 0x3b, 0x8b, 0xe3, 0x77, 0x6f, 0x38, 0x73, 0x56, 0x71, 0x01, 0xd8, 0xc1, 0x16, - 0xad, 0x23, 0xdc, 0x76, 0x01, 0x1f, 0x47, 0x3e, 0x8b, 0x0b, 0xc8, 0x4e, 0x7c, 0xb6, 0x8e, 0x32, - 0xcb, 0x7f, 0x7a, 0x23, 0xf7, 0x49, 0x48, 0x5c, 0x00, 0x21, 0x27, 0x05, 0x21, 0xeb, 0x88, 0x10, - 0xab, 0x79, 0xf9, 0x6d, 0x17, 0xbb, 0xfe, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x91, 0xa1, 0x11, 0x29, - 0xfe, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_membership_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_membership_status.pb.go deleted file mode 100644 index 432a631f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_membership_status.pb.go +++ /dev/null @@ -1,126 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/user_list_membership_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_f6aee6609cb435f7, []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_f6aee6609cb435f7, []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 (m *UserListMembershipStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListMembershipStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.UserListMembershipStatusEnum_UserListMembershipStatus", UserListMembershipStatusEnum_UserListMembershipStatus_name, UserListMembershipStatusEnum_UserListMembershipStatus_value) - proto.RegisterType((*UserListMembershipStatusEnum)(nil), "google.ads.googleads.v1.enums.UserListMembershipStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/user_list_membership_status.proto", fileDescriptor_f6aee6609cb435f7) -} - -var fileDescriptor_f6aee6609cb435f7 = []byte{ - // 314 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x41, 0x4a, 0xc3, 0x40, - 0x14, 0x86, 0x6d, 0x2a, 0x55, 0xa6, 0x0b, 0x43, 0x56, 0x22, 0xed, 0xa2, 0x3d, 0xc0, 0x84, 0xe0, - 0x6e, 0x5c, 0x48, 0xda, 0xc6, 0x52, 0xac, 0xd3, 0x40, 0x69, 0x05, 0x09, 0x94, 0xa9, 0x19, 0xc6, - 0x81, 0x66, 0x26, 0xe4, 0x4d, 0x7a, 0x20, 0x97, 0x1e, 0x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 0x62, - 0x2e, 0xa1, 0xe5, 0xa6, 0x0f, 0xf6, 0xfb, 0xe9, 0x74, 0xe7, 0x61, 0xf8, 0xe5, 0x0c, 0xe7, 0x35, - 0x2a, 0x4c, 0x01, 0xd7, 0xb2, 0x52, 0xdb, 0x00, 0x57, 0xfb, 0xc3, 0xf7, 0xd9, 0x4f, 0xc2, 0x14, - 0x92, 0xc6, 0x4f, 0xb6, 0x41, 0x62, 0xfd, 0x1f, 0x67, 0x54, 0xff, 0x24, 0x24, 0x4c, 0x81, 0x90, - 0x66, 0x82, 0x90, 0x6d, 0x40, 0x88, 0x9d, 0xd9, 0xf7, 0x6c, 0xb1, 0xfb, 0xbf, 0x00, 0x00, 0x00, - 0xff, 0xff, 0x1b, 0xbf, 0x61, 0xd9, 0xeb, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_number_rule_item_operator.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_number_rule_item_operator.pb.go deleted file mode 100644 index e78e371f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_number_rule_item_operator.pb.go +++ /dev/null @@ -1,144 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/user_list_number_rule_item_operator.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible user list number rule item operators. -type UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator int32 - -const ( - // Not specified. - UserListNumberRuleItemOperatorEnum_UNSPECIFIED UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator = 0 - // Used for return value only. Represents value unknown in this version. - UserListNumberRuleItemOperatorEnum_UNKNOWN UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator = 1 - // Greater than. - UserListNumberRuleItemOperatorEnum_GREATER_THAN UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator = 2 - // Greater than or equal. - UserListNumberRuleItemOperatorEnum_GREATER_THAN_OR_EQUAL UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator = 3 - // Equals. - UserListNumberRuleItemOperatorEnum_EQUALS UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator = 4 - // Not equals. - UserListNumberRuleItemOperatorEnum_NOT_EQUALS UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator = 5 - // Less than. - UserListNumberRuleItemOperatorEnum_LESS_THAN UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator = 6 - // Less than or equal. - UserListNumberRuleItemOperatorEnum_LESS_THAN_OR_EQUAL UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator = 7 -) - -var UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "GREATER_THAN", - 3: "GREATER_THAN_OR_EQUAL", - 4: "EQUALS", - 5: "NOT_EQUALS", - 6: "LESS_THAN", - 7: "LESS_THAN_OR_EQUAL", -} - -var UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "GREATER_THAN": 2, - "GREATER_THAN_OR_EQUAL": 3, - "EQUALS": 4, - "NOT_EQUALS": 5, - "LESS_THAN": 6, - "LESS_THAN_OR_EQUAL": 7, -} - -func (x UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator) String() string { - return proto.EnumName(UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator_name, int32(x)) -} - -func (UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_33b46e553d0fd0da, []int{0, 0} -} - -// Supported rule operator for number type. -type UserListNumberRuleItemOperatorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserListNumberRuleItemOperatorEnum) Reset() { *m = UserListNumberRuleItemOperatorEnum{} } -func (m *UserListNumberRuleItemOperatorEnum) String() string { return proto.CompactTextString(m) } -func (*UserListNumberRuleItemOperatorEnum) ProtoMessage() {} -func (*UserListNumberRuleItemOperatorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_33b46e553d0fd0da, []int{0} -} - -func (m *UserListNumberRuleItemOperatorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserListNumberRuleItemOperatorEnum.Unmarshal(m, b) -} -func (m *UserListNumberRuleItemOperatorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserListNumberRuleItemOperatorEnum.Marshal(b, m, deterministic) -} -func (m *UserListNumberRuleItemOperatorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListNumberRuleItemOperatorEnum.Merge(m, src) -} -func (m *UserListNumberRuleItemOperatorEnum) XXX_Size() int { - return xxx_messageInfo_UserListNumberRuleItemOperatorEnum.Size(m) -} -func (m *UserListNumberRuleItemOperatorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_UserListNumberRuleItemOperatorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_UserListNumberRuleItemOperatorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator", UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator_name, UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator_value) - proto.RegisterType((*UserListNumberRuleItemOperatorEnum)(nil), "google.ads.googleads.v1.enums.UserListNumberRuleItemOperatorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/user_list_number_rule_item_operator.proto", fileDescriptor_33b46e553d0fd0da) -} - -var fileDescriptor_33b46e553d0fd0da = []byte{ - // 379 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xcd, 0xae, 0x93, 0x40, - 0x14, 0xc7, 0x85, 0x6a, 0x1b, 0xa7, 0x7e, 0x90, 0x49, 0x34, 0xd1, 0x58, 0x93, 0xd6, 0xfd, 0x10, - 0xe2, 0x6e, 0x5c, 0x4d, 0x15, 0xb1, 0xb1, 0x81, 0x0a, 0xa5, 0x26, 0x86, 0x64, 0x42, 0x65, 0x42, - 0x48, 0x60, 0x86, 0xcc, 0x0c, 0x7d, 0x20, 0x97, 0x2e, 0x7c, 0x10, 0xf7, 0xbe, 0x84, 0x4f, 0xe0, - 0xd2, 0x30, 0xb4, 0xdc, 0xbb, 0xb9, 0xdd, 0x90, 0xff, 0xf9, 0xfa, 0x1d, 0xe6, 0x7f, 0x40, 0x50, - 0x0a, 0x51, 0xd6, 0xcc, 0xcd, 0x0b, 0xe5, 0x0e, 0xb2, 0x57, 0x27, 0xcf, 0x65, 0xbc, 0x6b, 0x94, - 0xdb, 0x29, 0x26, 0x69, 0x5d, 0x29, 0x4d, 0x79, 0xd7, 0x1c, 0x99, 0xa4, 0xb2, 0xab, 0x19, 0xad, - 0x34, 0x6b, 0xa8, 0x68, 0x99, 0xcc, 0xb5, 0x90, 0xa8, 0x95, 0x42, 0x0b, 0xb8, 0x18, 0xa6, 0x51, - 0x5e, 0x28, 0x34, 0x82, 0xd0, 0xc9, 0x43, 0x06, 0xf4, 0xf2, 0xd5, 0x65, 0x4f, 0x5b, 0xb9, 0x39, - 0xe7, 0x42, 0xe7, 0xba, 0x12, 0x5c, 0x0d, 0xc3, 0xab, 0x3f, 0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a, 0x1b, 0xeb, 0xd9, 0xc1, 0xcb, 0x4c, 0xfd, 0xaf, 0xbd, 0x1c, 0x92, 0x18, 0x93, 0x42, 0x61, - 0x3c, 0x76, 0x60, 0x7c, 0xf0, 0x30, 0x36, 0x3d, 0xc7, 0xa9, 0xf9, 0xb1, 0xb7, 0xff, 0x03, 0x00, - 0x00, 0xff, 0xff, 0x19, 0x0a, 0x8a, 0x67, 0x61, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_prepopulation_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_prepopulation_status.pb.go deleted file mode 100644 index 6c1a81ef..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_prepopulation_status.pb.go +++ /dev/null @@ -1,129 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/user_list_prepopulation_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible user list prepopulation status. -type UserListPrepopulationStatusEnum_UserListPrepopulationStatus int32 - -const ( - // Not specified. - UserListPrepopulationStatusEnum_UNSPECIFIED UserListPrepopulationStatusEnum_UserListPrepopulationStatus = 0 - // Used for return value only. Represents value unknown in this version. - UserListPrepopulationStatusEnum_UNKNOWN UserListPrepopulationStatusEnum_UserListPrepopulationStatus = 1 - // Prepopoulation is being requested. - UserListPrepopulationStatusEnum_REQUESTED UserListPrepopulationStatusEnum_UserListPrepopulationStatus = 2 - // Prepopulation is finished. - UserListPrepopulationStatusEnum_FINISHED UserListPrepopulationStatusEnum_UserListPrepopulationStatus = 3 - // Prepopulation failed. - UserListPrepopulationStatusEnum_FAILED UserListPrepopulationStatusEnum_UserListPrepopulationStatus = 4 -) - -var UserListPrepopulationStatusEnum_UserListPrepopulationStatus_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "REQUESTED", - 3: "FINISHED", - 4: "FAILED", -} - -var UserListPrepopulationStatusEnum_UserListPrepopulationStatus_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "REQUESTED": 2, - "FINISHED": 3, - "FAILED": 4, -} - -func (x UserListPrepopulationStatusEnum_UserListPrepopulationStatus) String() string { - return proto.EnumName(UserListPrepopulationStatusEnum_UserListPrepopulationStatus_name, int32(x)) -} - -func (UserListPrepopulationStatusEnum_UserListPrepopulationStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8f4f54f43cc394fe, []int{0, 0} -} - -// Indicates status of prepopulation based on the rule. -type UserListPrepopulationStatusEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserListPrepopulationStatusEnum) Reset() { *m = UserListPrepopulationStatusEnum{} } -func (m *UserListPrepopulationStatusEnum) String() string { return proto.CompactTextString(m) } -func (*UserListPrepopulationStatusEnum) ProtoMessage() {} -func (*UserListPrepopulationStatusEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_8f4f54f43cc394fe, []int{0} -} - -func (m *UserListPrepopulationStatusEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserListPrepopulationStatusEnum.Unmarshal(m, b) -} -func (m *UserListPrepopulationStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserListPrepopulationStatusEnum.Marshal(b, m, deterministic) -} -func (m *UserListPrepopulationStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListPrepopulationStatusEnum.Merge(m, src) -} -func (m *UserListPrepopulationStatusEnum) XXX_Size() int { - return xxx_messageInfo_UserListPrepopulationStatusEnum.Size(m) -} -func (m *UserListPrepopulationStatusEnum) XXX_DiscardUnknown() { - xxx_messageInfo_UserListPrepopulationStatusEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_UserListPrepopulationStatusEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.UserListPrepopulationStatusEnum_UserListPrepopulationStatus", UserListPrepopulationStatusEnum_UserListPrepopulationStatus_name, UserListPrepopulationStatusEnum_UserListPrepopulationStatus_value) - proto.RegisterType((*UserListPrepopulationStatusEnum)(nil), "google.ads.googleads.v1.enums.UserListPrepopulationStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/user_list_prepopulation_status.proto", fileDescriptor_8f4f54f43cc394fe) -} - -var fileDescriptor_8f4f54f43cc394fe = []byte{ - // 333 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xc1, 0x4e, 0xb3, 0x40, - 0x18, 0xfc, 0xa1, 0x7f, 0xaa, 0x6e, 0x35, 0x12, 0x8e, 0x6a, 0xa3, 0xed, 0x03, 0x2c, 0x21, 0xde, - 0xd6, 0x13, 0x95, 0x6d, 0x25, 0x36, 0x88, 0x22, 0x35, 0x31, 0x24, 0x0d, 0x0a, 0x21, 0x24, 0x74, - 0x77, 0xc3, 0xb7, 0xf4, 0x15, 0x7c, 0x0f, 0x8f, 0x3e, 0x8a, 0x8f, 0xe2, 0xdd, 0xbb, 0x61, 0x69, - 0x1b, 0x2f, 0x72, 0xd9, 0x4c, 0xf6, 0x9b, 0x6f, 0xe6, 0x9b, 0x41, 0x93, 0x9c, 0xf3, 0xbc, 0xcc, - 0xac, 0x24, 0x05, 0xab, 0x85, 0x0d, 0x5a, 0xdb, 0x56, 0xc6, 0xea, 0x15, 0x58, 0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0x29, 0xe0, 0x16, 0x36, 0x68, 0x61, 0xe3, 0xa6, 0x18, 0xf8, 0xdc, 0xce, - 0x63, 0x27, 0x85, 0x78, 0x37, 0x8f, 0x17, 0x76, 0xac, 0xe6, 0x5f, 0xfa, 0xa8, 0xfd, 0x24, 0xc4, - 0x49, 0x81, 0x90, 0x1d, 0x83, 0x90, 0x85, 0x4d, 0x88, 0xe2, 0xbc, 0xf4, 0xd5, 0x61, 0x97, 0x3f, - 0x01, 0x00, 0x00, 0xff, 0xff, 0xff, 0x85, 0x4f, 0x9a, 0x0b, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_rule_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_rule_type.pb.go deleted file mode 100644 index f4368ecb..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_rule_type.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/user_list_rule_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible user list rule types. -type UserListRuleTypeEnum_UserListRuleType int32 - -const ( - // Not specified. - UserListRuleTypeEnum_UNSPECIFIED UserListRuleTypeEnum_UserListRuleType = 0 - // Used for return value only. Represents value unknown in this version. - UserListRuleTypeEnum_UNKNOWN UserListRuleTypeEnum_UserListRuleType = 1 - // Conjunctive normal form. - UserListRuleTypeEnum_AND_OF_ORS UserListRuleTypeEnum_UserListRuleType = 2 - // Disjunctive normal form. - UserListRuleTypeEnum_OR_OF_ANDS UserListRuleTypeEnum_UserListRuleType = 3 -) - -var UserListRuleTypeEnum_UserListRuleType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "AND_OF_ORS", - 3: "OR_OF_ANDS", -} - -var UserListRuleTypeEnum_UserListRuleType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "AND_OF_ORS": 2, - "OR_OF_ANDS": 3, -} - -func (x UserListRuleTypeEnum_UserListRuleType) String() string { - return proto.EnumName(UserListRuleTypeEnum_UserListRuleType_name, int32(x)) -} - -func (UserListRuleTypeEnum_UserListRuleType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7f852bff5087c9c7, []int{0, 0} -} - -// Rule based user list rule type. -type UserListRuleTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserListRuleTypeEnum) Reset() { *m = UserListRuleTypeEnum{} } -func (m *UserListRuleTypeEnum) String() string { return proto.CompactTextString(m) } -func (*UserListRuleTypeEnum) ProtoMessage() {} -func (*UserListRuleTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_7f852bff5087c9c7, []int{0} -} - -func (m *UserListRuleTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserListRuleTypeEnum.Unmarshal(m, b) -} -func (m *UserListRuleTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserListRuleTypeEnum.Marshal(b, m, deterministic) -} -func (m *UserListRuleTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListRuleTypeEnum.Merge(m, src) -} -func (m *UserListRuleTypeEnum) XXX_Size() int { - return xxx_messageInfo_UserListRuleTypeEnum.Size(m) -} -func (m *UserListRuleTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_UserListRuleTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_UserListRuleTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.UserListRuleTypeEnum_UserListRuleType", UserListRuleTypeEnum_UserListRuleType_name, UserListRuleTypeEnum_UserListRuleType_value) - proto.RegisterType((*UserListRuleTypeEnum)(nil), "google.ads.googleads.v1.enums.UserListRuleTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/user_list_rule_type.proto", fileDescriptor_7f852bff5087c9c7) -} - -var fileDescriptor_7f852bff5087c9c7 = []byte{ - // 315 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdd, 0x4a, 0xc3, 0x30, - 0x14, 0x76, 0x1d, 0x28, 0x64, 0xa0, 0xa5, 0xe8, 0x8d, 0xb8, 0x8b, 0xed, 0x01, 0x52, 0x8a, 0x17, - 0x42, 0xbc, 0xca, 0xdc, 0x0f, 0x43, 0x69, 0xcb, 0xe6, 0x26, 0x48, 0xa1, 0x54, 0x1b, 0x62, 0xa1, - 0x4b, 0x4a, 0x4f, 0x3a, 0xd8, 0xeb, 0x78, 0xe9, 0xa3, 0xf8, 0x28, 0x7b, 0x0a, 0x49, 0xe2, 0x7a, - 0x31, 0xd0, 0x9b, 0xf0, 0x9d, 0xf3, 0x7d, 0xdf, 0xc9, 0x77, 0x0e, 0xba, 0xe3, 0x52, 0xf2, 0x92, - 0xf9, 0x59, 0x0e, 0xbe, 0x85, 0x1a, 0x6d, 0x03, 0x9f, 0x89, 0x66, 0x03, 0x7e, 0x03, 0xac, 0x4e, - 0xcb, 0x02, 0x54, 0x5a, 0x37, 0x25, 0x4b, 0xd5, 0xae, 0x62, 0xb8, 0xaa, 0xa5, 0x92, 0x5e, 0xdf, - 0xaa, 0x71, 0x96, 0x03, 0x6e, 0x8d, 0x78, 0x1b, 0x60, 0x63, 0xbc, 0xbe, 0x39, 0xcc, 0xad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0x46, 0xd8, 0xca, 0xd5, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_size_range.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_size_range.pb.go deleted file mode 100644 index 9aee71ef..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_size_range.pb.go +++ /dev/null @@ -1,192 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/user_list_size_range.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_08c233c74e444694, []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_08c233c74e444694, []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 (m *UserListSizeRangeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListSizeRangeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.UserListSizeRangeEnum_UserListSizeRange", UserListSizeRangeEnum_UserListSizeRange_name, UserListSizeRangeEnum_UserListSizeRange_value) - proto.RegisterType((*UserListSizeRangeEnum)(nil), "google.ads.googleads.v1.enums.UserListSizeRangeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/user_list_size_range.proto", fileDescriptor_08c233c74e444694) -} - -var fileDescriptor_08c233c74e444694 = []byte{ - // 505 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, 0x48, 0x64, 0x11, 0x9a, 0xb6, 0x09, 0x15, 0x42, - 0x2c, 0xc6, 0x0a, 0xdd, 0x20, 0xb3, 0x72, 0xc8, 0xa4, 0xb1, 0x08, 0xe3, 0xc8, 0xb7, 0xaa, 0x28, - 0x92, 0x65, 0xb0, 0x65, 0x59, 0x4a, 0xec, 0xc8, 0xe3, 0x74, 0xd1, 0xe7, 0xe0, 0x09, 0x58, 0xf2, - 0x28, 0x3c, 0x0a, 0xbc, 0x01, 0x2b, 0x64, 0xbb, 0xe3, 0x0b, 0x35, 0x6c, 0xa2, 0xa3, 0xff, 0xff, - 0xce, 0xc9, 0xaf, 0xf1, 0x39, 0xf0, 0xd6, 0x8f, 0x22, 0x7f, 0xe5, 0x89, 0x8e, 0xcb, 0xc4, 0xbc, - 0x4c, 0xab, 0x9b, 0x91, 0xe8, 0x85, 0xdb, 0x35, 0x13, 0xb7, 0xcc, 0x8b, 0xed, 0x55, 0xc0, 0x12, - 0x9b, 0x05, 0xb7, 0x9e, 0x1d, 0x3b, 0xa1, 0xef, 0xe1, 0x4d, 0x1c, 0x25, 0x11, 0xea, 0xe7, 0x38, - 0x76, 0x5c, 0x86, 0x8b, 0x4e, 0x7c, 0x33, 0xc2, 0x59, 0x67, 0xef, 0x98, 0x0f, 0xde, 0x04, 0xa2, - 0x13, 0x86, 0x51, 0xe2, 0x24, 0x41, 0x14, 0xb2, 0xbc, 0x79, 0xf8, 0x75, 0x0f, 0x9e, 0x99, 0xcc, - 0x8b, 0xe7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 0x5f, 0x9a, 0x03, 0x4f, 0xb2, 0x19, 0xa5, 0x90, - 0xa7, 0x20, 0xd4, 0xb8, 0x2e, 0x90, 0xa7, 0xe8, 0x1c, 0xce, 0xea, 0x5a, 0x9e, 0x45, 0xd1, 0x2a, - 0xd4, 0x21, 0x7a, 0x01, 0xa7, 0x75, 0xad, 0xfc, 0x66, 0x1c, 0x12, 0x50, 0x17, 0x90, 0x6a, 0x11, - 0xed, 0x2f, 0xfd, 0x68, 0xfc, 0xab, 0x05, 0x83, 0x2f, 0xd1, 0x1a, 0xff, 0x77, 0xb5, 0xc7, 0xdd, - 0x7b, 0xfb, 0xb9, 0x48, 0x97, 0x7a, 0xd1, 0xfa, 0x34, 0xbe, 0x6b, 0xf4, 0xa3, 0x95, 0x13, 0xfa, - 0x38, 0x8a, 0x7d, 0xd1, 0xf7, 0xc2, 0x6c, 0xe5, 0xf9, 0x75, 0x6d, 0x02, 0xf6, 0x8f, 0x63, 0x7b, - 0x97, 0xfd, 0x7e, 0x6b, 0xef, 0x5c, 0xca, 0xf2, 0xf7, 0x76, 0xff, 0x32, 0x1f, 0x25, 0xbb, 0x0c, - 0xe7, 0x65, 0x5a, 0x59, 0x23, 0x9c, 0x5e, 0x09, 0xfb, 0xc1, 0xfd, 0xa5, 0xec, 0xb2, 0x65, 0xe1, - 0x2f, 0xad, 0xd1, 0x32, 0xf3, 0x7f, 0xb6, 0x07, 0xb9, 0x28, 0x49, 0xb2, 0xcb, 0x24, 0xa9, 0x20, - 0x24, 0xc9, 0x1a, 0x49, 0x52, 0xc6, 0x7c, 0xde, 0xcf, 0x82, 0x5d, 0xfc, 0x09, 0x00, 0x00, 0xff, - 0xff, 0x64, 0x67, 0xa0, 0x98, 0x04, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_string_rule_item_operator.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_string_rule_item_operator.pb.go deleted file mode 100644 index bb028327..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_string_rule_item_operator.pb.go +++ /dev/null @@ -1,153 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/user_list_string_rule_item_operator.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible user list string rule item operators. -type UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator int32 - -const ( - // Not specified. - UserListStringRuleItemOperatorEnum_UNSPECIFIED UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator = 0 - // Used for return value only. Represents value unknown in this version. - UserListStringRuleItemOperatorEnum_UNKNOWN UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator = 1 - // Contains. - UserListStringRuleItemOperatorEnum_CONTAINS UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator = 2 - // Equals. - UserListStringRuleItemOperatorEnum_EQUALS UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator = 3 - // Starts with. - UserListStringRuleItemOperatorEnum_STARTS_WITH UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator = 4 - // Ends with. - UserListStringRuleItemOperatorEnum_ENDS_WITH UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator = 5 - // Not equals. - UserListStringRuleItemOperatorEnum_NOT_EQUALS UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator = 6 - // Not contains. - UserListStringRuleItemOperatorEnum_NOT_CONTAINS UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator = 7 - // Not starts with. - UserListStringRuleItemOperatorEnum_NOT_STARTS_WITH UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator = 8 - // Not ends with. - UserListStringRuleItemOperatorEnum_NOT_ENDS_WITH UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator = 9 -) - -var UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "CONTAINS", - 3: "EQUALS", - 4: "STARTS_WITH", - 5: "ENDS_WITH", - 6: "NOT_EQUALS", - 7: "NOT_CONTAINS", - 8: "NOT_STARTS_WITH", - 9: "NOT_ENDS_WITH", -} - -var UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "CONTAINS": 2, - "EQUALS": 3, - "STARTS_WITH": 4, - "ENDS_WITH": 5, - "NOT_EQUALS": 6, - "NOT_CONTAINS": 7, - "NOT_STARTS_WITH": 8, - "NOT_ENDS_WITH": 9, -} - -func (x UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator) String() string { - return proto.EnumName(UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator_name, int32(x)) -} - -func (UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_71706bdcf45a4e95, []int{0, 0} -} - -// Supported rule operator for string type. -type UserListStringRuleItemOperatorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserListStringRuleItemOperatorEnum) Reset() { *m = UserListStringRuleItemOperatorEnum{} } -func (m *UserListStringRuleItemOperatorEnum) String() string { return proto.CompactTextString(m) } -func (*UserListStringRuleItemOperatorEnum) ProtoMessage() {} -func (*UserListStringRuleItemOperatorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_71706bdcf45a4e95, []int{0} -} - -func (m *UserListStringRuleItemOperatorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserListStringRuleItemOperatorEnum.Unmarshal(m, b) -} -func (m *UserListStringRuleItemOperatorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserListStringRuleItemOperatorEnum.Marshal(b, m, deterministic) -} -func (m *UserListStringRuleItemOperatorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListStringRuleItemOperatorEnum.Merge(m, src) -} -func (m *UserListStringRuleItemOperatorEnum) XXX_Size() int { - return xxx_messageInfo_UserListStringRuleItemOperatorEnum.Size(m) -} -func (m *UserListStringRuleItemOperatorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_UserListStringRuleItemOperatorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_UserListStringRuleItemOperatorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator", UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator_name, UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator_value) - proto.RegisterType((*UserListStringRuleItemOperatorEnum)(nil), "google.ads.googleads.v1.enums.UserListStringRuleItemOperatorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/user_list_string_rule_item_operator.proto", fileDescriptor_71706bdcf45a4e95) -} - -var fileDescriptor_71706bdcf45a4e95 = []byte{ - // 391 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0x41, 0x8f, 0x94, 0x30, - 0x14, 0x16, 0x56, 0x67, 0x77, 0xbb, 0xbb, 0x2e, 0xd6, 0x9b, 0x71, 0x4d, 0x76, 0xbc, 0x97, 0x10, - 0x6f, 0xf5, 0xd4, 0xd9, 0xc1, 0x91, 0x38, 0x29, 0xe3, 0x00, 0x33, 0x89, 0x21, 0x21, 0x28, 0x0d, - 0x21, 0x81, 0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, 0x1f, 0xc4, 0x1f, 0x9d, 0xa7, 0xf0, - 0x06, 0x5c, 0xfa, 0x74, 0x39, 0x96, 0xcf, 0xe0, 0x73, 0x00, 0x68, 0x18, 0x67, 0x23, 0x7f, 0x06, - 0x1d, 0x70, 0xdd, 0xd7, 0x93, 0xdb, 0x39, 0x7c, 0x09, 0x6e, 0xfb, 0xce, 0xff, 0x2e, 0x17, 0xf0, - 0x05, 0xb8, 0x31, 0xb2, 0xc9, 0xe9, 0x72, 0xf1, 0xd7, 0x02, 0xf7, 0xdf, 0x44, 0x83, 0x4e, 0xe6, - 0xb5, 0x78, 0x7b, 0xfa, 0x9d, 0x9b, 0x3e, 0xb6, 0x8d, 0xf5, 0x65, 0x31, 0xba, 0x94, 0xa2, 0xce, - 0x79, 0x89, 0x84, 0x2c, 0xdd, 0x92, 0x71, 0x13, 0xea, 0xf1, 0x9c, 0x6d, 0xa5, 0x1e, 0xb9, 0xee, - 0x7b, 0xf3, 0xfd, 0x6e, 0x9f, 0xad, 0x08, 0xf9, 0x61, 0xdf, 0xad, 0x06, 0x2b, 0x52, 0x28, 0x34, - 0xc0, 0x1e, 0xed, 0x3c, 0xd4, 0x47, 0xaf, 0x7e, 0x1d, 0xe7, 0x29, 0x29, 0x54, 0x3a, 0xcd, 0xd3, - 0x9d, 0x97, 0x9a, 0xf9, 0x1f, 0xfb, 0x7e, 0x68, 0x62, 0x4c, 0x0a, 0x85, 0xf1, 0xc4, 0xc0, 0x78, - 0xe7, 0x61, 0x6c, 0x38, 0x5f, 0x67, 0xe6, 0xc7, 0xde, 0xfd, 0x0b, 0x00, 0x00, 0xff, 0xff, 0xf8, - 0xb7, 0x29, 0xc0, 0x75, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_type.pb.go deleted file mode 100644 index 447ef1e4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/user_list_type.pb.go +++ /dev/null @@ -1,144 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/user_list_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_79b9149f39c9027c, []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_79b9149f39c9027c, []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 (m *UserListTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.enums.UserListTypeEnum_UserListType", UserListTypeEnum_UserListType_name, UserListTypeEnum_UserListType_value) - proto.RegisterType((*UserListTypeEnum)(nil), "google.ads.googleads.v1.enums.UserListTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/user_list_type.proto", fileDescriptor_79b9149f39c9027c) -} - -var fileDescriptor_79b9149f39c9027c = []byte{ - // 360 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xcf, 0x4a, 0xeb, 0x40, - 0x18, 0xc5, 0x6f, 0xd2, 0x7b, 0x5b, 0xee, 0xd4, 0x3f, 0x31, 0xb8, 0x10, 0xb1, 0x8b, 0xf6, 0x01, - 0x26, 0x44, 0x77, 0xe3, 0x6a, 0xd2, 0x8e, 0x21, 0x34, 0x4d, 0x4b, 0xda, 0x54, 0x91, 0x40, 0x88, - 0x66, 0x08, 0x81, 0x76, 0x26, 0x64, 0xd2, 0x42, 0xdf, 0xc2, 0x67, 0x10, 0xdc, 0xf8, 0x28, 0x3e, - 0x88, 0x0b, 0x9f, 0x42, 0x26, 0x69, 0x4b, 0x37, 0xba, 0x19, 0x0e, 0xf3, 0x3b, 0xe7, 0xe3, 0xfb, - 0x0e, 0xb8, 0x4e, 0x39, 0x4f, 0x17, 0xd4, 0x88, 0x13, 0x61, 0xd4, 0x52, 0xaa, 0xb5, 0x69, 0x50, - 0xb6, 0x5a, 0x0a, 0x63, 0x25, 0x68, 0x11, 0x2d, 0x32, 0x51, 0x46, 0xe5, 0x26, 0xa7, 0x30, 0x2f, - 0x78, 0xc9, 0xf5, 0x4e, 0x6d, 0x84, 0x71, 0x22, 0xe0, 0x3e, 0x03, 0xd7, 0x26, 0xac, 0x32, 0x97, - 0x57, 0xbb, 0x91, 0x79, 0x66, 0xc4, 0x8c, 0xf1, 0x32, 0x2e, 0x33, 0xce, 0x44, 0x1d, 0xee, 0xbd, - 0x29, 0x40, 0x0b, 0x04, 0x2d, 0xdc, 0x4c, 0x94, 0xb3, 0x4d, 0x4e, 0x09, 0x5b, 0x2d, 0x7b, 0x2f, - 0x0a, 0x38, 0x3a, 0xfc, 0xd4, 0x4f, 0x41, 0x3b, 0xf0, 0xa6, 0x13, 0xd2, 0x77, 0xee, 0x1c, 0x32, - 0xd0, 0xfe, 0xe8, 0x6d, 0xd0, 0x0a, 0xbc, 0xa1, 0x37, 0xbe, 0xf7, 0x34, 0x45, 0x52, 0x9f, 0x8c, - 0xb0, 0x3f, 0x24, 0x33, 0xc7, 0xb3, 0x35, 0x55, 0x52, 0x77, 0x6c, 0x3b, 0x7d, 0xec, 0x6a, 0x0d, - 0xfd, 0x02, 0x9c, 0x93, 0x87, 0x19, 0xf1, 0x3d, 0xec, 0x46, 0x87, 0xb6, 0xbf, 0xfa, 0x09, 0x00, - 0x7e, 0xe0, 0x92, 0xc8, 0xc2, 0x53, 0x32, 0xd0, 0xfe, 0xc9, 0xd8, 0xd4, 0x19, 0x39, 0x2e, 0xf6, - 0xb5, 0xa6, 0x7e, 0x0c, 0xfe, 0xf7, 0xfd, 0xd1, 0x96, 0xb5, 0xac, 0x4f, 0x05, 0x74, 0x9f, 0xf9, - 0x12, 0xfe, 0x7a, 0xab, 0x75, 0x76, 0xb8, 0xf5, 0x44, 0x1e, 0x38, 0x51, 0x1e, 0xad, 0x6d, 0x26, - 0xe5, 0x8b, 0x98, 0xa5, 0x90, 0x17, 0xa9, 0x91, 0x52, 0x56, 0x9d, 0xbf, 0xeb, 0x38, 0xcf, 0xc4, - 0x0f, 0x95, 0xdf, 0x56, 0xef, 0xab, 0xda, 0xb0, 0x31, 0x7e, 0x57, 0x3b, 0x76, 0x3d, 0x0a, 0x27, - 0x02, 0xd6, 0x52, 0xaa, 0xb9, 0x09, 0x65, 0x6d, 0xe2, 0x63, 0xc7, 0x43, 0x9c, 0x88, 0x70, 0xcf, - 0xc3, 0xb9, 0x19, 0x56, 0xfc, 0x4b, 0xed, 0xd6, 0x9f, 0x08, 0xe1, 0x44, 0x20, 0xb4, 0x77, 0x20, - 0x34, 0x37, 0x11, 0xaa, 0x3c, 0x4f, 0xcd, 0x6a, 0xb1, 0x9b, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, - 0x09, 0x1d, 0x7e, 0x46, 0x0a, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/vanity_pharma_display_url_mode.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/vanity_pharma_display_url_mode.pb.go deleted file mode 100644 index 6e2cdceb..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/vanity_pharma_display_url_mode.pb.go +++ /dev/null @@ -1,126 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/vanity_pharma_display_url_mode.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible display modes for vanity pharma URLs. -type VanityPharmaDisplayUrlModeEnum_VanityPharmaDisplayUrlMode int32 - -const ( - // Not specified. - VanityPharmaDisplayUrlModeEnum_UNSPECIFIED VanityPharmaDisplayUrlModeEnum_VanityPharmaDisplayUrlMode = 0 - // Used for return value only. Represents value unknown in this version. - VanityPharmaDisplayUrlModeEnum_UNKNOWN VanityPharmaDisplayUrlModeEnum_VanityPharmaDisplayUrlMode = 1 - // Replace vanity pharma URL with manufacturer website url. - VanityPharmaDisplayUrlModeEnum_MANUFACTURER_WEBSITE_URL VanityPharmaDisplayUrlModeEnum_VanityPharmaDisplayUrlMode = 2 - // Replace vanity pharma URL with description of the website. - VanityPharmaDisplayUrlModeEnum_WEBSITE_DESCRIPTION VanityPharmaDisplayUrlModeEnum_VanityPharmaDisplayUrlMode = 3 -) - -var VanityPharmaDisplayUrlModeEnum_VanityPharmaDisplayUrlMode_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "MANUFACTURER_WEBSITE_URL", - 3: "WEBSITE_DESCRIPTION", -} - -var VanityPharmaDisplayUrlModeEnum_VanityPharmaDisplayUrlMode_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "MANUFACTURER_WEBSITE_URL": 2, - "WEBSITE_DESCRIPTION": 3, -} - -func (x VanityPharmaDisplayUrlModeEnum_VanityPharmaDisplayUrlMode) String() string { - return proto.EnumName(VanityPharmaDisplayUrlModeEnum_VanityPharmaDisplayUrlMode_name, int32(x)) -} - -func (VanityPharmaDisplayUrlModeEnum_VanityPharmaDisplayUrlMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7fd43ea3416edbfd, []int{0, 0} -} - -// The display mode for vanity pharma URLs. -type VanityPharmaDisplayUrlModeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VanityPharmaDisplayUrlModeEnum) Reset() { *m = VanityPharmaDisplayUrlModeEnum{} } -func (m *VanityPharmaDisplayUrlModeEnum) String() string { return proto.CompactTextString(m) } -func (*VanityPharmaDisplayUrlModeEnum) ProtoMessage() {} -func (*VanityPharmaDisplayUrlModeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_7fd43ea3416edbfd, []int{0} -} - -func (m *VanityPharmaDisplayUrlModeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VanityPharmaDisplayUrlModeEnum.Unmarshal(m, b) -} -func (m *VanityPharmaDisplayUrlModeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VanityPharmaDisplayUrlModeEnum.Marshal(b, m, deterministic) -} -func (m *VanityPharmaDisplayUrlModeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_VanityPharmaDisplayUrlModeEnum.Merge(m, src) -} -func (m *VanityPharmaDisplayUrlModeEnum) XXX_Size() int { - return xxx_messageInfo_VanityPharmaDisplayUrlModeEnum.Size(m) -} -func (m *VanityPharmaDisplayUrlModeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_VanityPharmaDisplayUrlModeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_VanityPharmaDisplayUrlModeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.VanityPharmaDisplayUrlModeEnum_VanityPharmaDisplayUrlMode", VanityPharmaDisplayUrlModeEnum_VanityPharmaDisplayUrlMode_name, VanityPharmaDisplayUrlModeEnum_VanityPharmaDisplayUrlMode_value) - proto.RegisterType((*VanityPharmaDisplayUrlModeEnum)(nil), "google.ads.googleads.v1.enums.VanityPharmaDisplayUrlModeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/vanity_pharma_display_url_mode.proto", fileDescriptor_7fd43ea3416edbfd) -} - -var fileDescriptor_7fd43ea3416edbfd = []byte{ - // 347 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x41, 0x6a, 0xb3, 0x40, - 0x18, 0xfd, 0x35, 0xf0, 0x17, 0x26, 0x8b, 0x8a, 0x5d, 0xb4, 0x84, 0xa4, 0x25, 0x39, 0xc0, 0x88, - 0x74, 0x37, 0x5d, 0x69, 0x62, 0x82, 0xb4, 0x31, 0x62, 0xa2, 0x81, 0x22, 0xc8, 0xb4, 0x23, 0x56, - 0xd0, 0x19, 0xeb, 0x98, 0x40, 0xce, 0xd1, 0x1b, 0x74, 0xd9, 0xa3, 0xf4, 0x28, 0x5d, 0xf7, 0x00, - 0xc5, 0x99, 0x9a, 0x5d, 0xba, 0x19, 0x1e, 0xf3, 0xbd, 0xef, 0xbd, 0xef, 0x3d, 0x60, 0x67, 0x8c, - 0x65, 0x45, 0x6a, 0x60, 0xc2, 0x0d, 0x09, 0x5b, 0xb4, 0x37, 0x8d, 0x94, 0xee, 0x4a, 0x6e, 0xec, - 0x31, 0xcd, 0x9b, 0x43,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, 0x2c, 0xeb, 0x43, 0x1d, 0x2d, - 0xa4, 0x94, 0x45, 0x38, 0x94, 0xb0, 0x45, 0x91, 0x09, 0xdb, 0x92, 0xf8, 0x67, 0x37, 0x8f, 0x2d, - 0xc2, 0xe3, 0xe3, 0x3c, 0x8e, 0xcc, 0x58, 0xcc, 0xbf, 0xd4, 0xb1, 0xfc, 0x44, 0xc8, 0x22, 0x1c, - 0xa1, 0x23, 0x03, 0xa1, 0xc8, 0x44, 0x48, 0x70, 0x9e, 0xfe, 0x8b, 0xc3, 0x6e, 0x7f, 0x02, 0x00, - 0x00, 0xff, 0xff, 0xbf, 0xa9, 0x73, 0xe1, 0x16, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/vanity_pharma_text.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/vanity_pharma_text.pb.go deleted file mode 100644 index a05f325f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/vanity_pharma_text.pb.go +++ /dev/null @@ -1,178 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/vanity_pharma_text.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible text. -type VanityPharmaTextEnum_VanityPharmaText int32 - -const ( - // Not specified. - VanityPharmaTextEnum_UNSPECIFIED VanityPharmaTextEnum_VanityPharmaText = 0 - // Used for return value only. Represents value unknown in this version. - VanityPharmaTextEnum_UNKNOWN VanityPharmaTextEnum_VanityPharmaText = 1 - // Prescription treatment website with website content in English. - VanityPharmaTextEnum_PRESCRIPTION_TREATMENT_WEBSITE_EN VanityPharmaTextEnum_VanityPharmaText = 2 - // Prescription treatment website with website content in Spanish - // (Sitio de tratamientos con receta). - VanityPharmaTextEnum_PRESCRIPTION_TREATMENT_WEBSITE_ES VanityPharmaTextEnum_VanityPharmaText = 3 - // Prescription device website with website content in English. - VanityPharmaTextEnum_PRESCRIPTION_DEVICE_WEBSITE_EN VanityPharmaTextEnum_VanityPharmaText = 4 - // Prescription device website with website content in Spanish (Sitio de - // dispositivos con receta). - VanityPharmaTextEnum_PRESCRIPTION_DEVICE_WEBSITE_ES VanityPharmaTextEnum_VanityPharmaText = 5 - // Medical device website with website content in English. - VanityPharmaTextEnum_MEDICAL_DEVICE_WEBSITE_EN VanityPharmaTextEnum_VanityPharmaText = 6 - // Medical device website with website content in Spanish (Sitio de - // dispositivos médicos). - VanityPharmaTextEnum_MEDICAL_DEVICE_WEBSITE_ES VanityPharmaTextEnum_VanityPharmaText = 7 - // Preventative treatment website with website content in English. - VanityPharmaTextEnum_PREVENTATIVE_TREATMENT_WEBSITE_EN VanityPharmaTextEnum_VanityPharmaText = 8 - // Preventative treatment website with website content in Spanish (Sitio de - // tratamientos preventivos). - VanityPharmaTextEnum_PREVENTATIVE_TREATMENT_WEBSITE_ES VanityPharmaTextEnum_VanityPharmaText = 9 - // Prescription contraception website with website content in English. - VanityPharmaTextEnum_PRESCRIPTION_CONTRACEPTION_WEBSITE_EN VanityPharmaTextEnum_VanityPharmaText = 10 - // Prescription contraception website with website content in Spanish (Sitio - // de anticonceptivos con receta). - VanityPharmaTextEnum_PRESCRIPTION_CONTRACEPTION_WEBSITE_ES VanityPharmaTextEnum_VanityPharmaText = 11 - // Prescription vaccine website with website content in English. - VanityPharmaTextEnum_PRESCRIPTION_VACCINE_WEBSITE_EN VanityPharmaTextEnum_VanityPharmaText = 12 - // Prescription vaccine website with website content in Spanish (Sitio de - // vacunas con receta). - VanityPharmaTextEnum_PRESCRIPTION_VACCINE_WEBSITE_ES VanityPharmaTextEnum_VanityPharmaText = 13 -) - -var VanityPharmaTextEnum_VanityPharmaText_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "PRESCRIPTION_TREATMENT_WEBSITE_EN", - 3: "PRESCRIPTION_TREATMENT_WEBSITE_ES", - 4: "PRESCRIPTION_DEVICE_WEBSITE_EN", - 5: "PRESCRIPTION_DEVICE_WEBSITE_ES", - 6: "MEDICAL_DEVICE_WEBSITE_EN", - 7: "MEDICAL_DEVICE_WEBSITE_ES", - 8: "PREVENTATIVE_TREATMENT_WEBSITE_EN", - 9: "PREVENTATIVE_TREATMENT_WEBSITE_ES", - 10: "PRESCRIPTION_CONTRACEPTION_WEBSITE_EN", - 11: "PRESCRIPTION_CONTRACEPTION_WEBSITE_ES", - 12: "PRESCRIPTION_VACCINE_WEBSITE_EN", - 13: "PRESCRIPTION_VACCINE_WEBSITE_ES", -} - -var VanityPharmaTextEnum_VanityPharmaText_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "PRESCRIPTION_TREATMENT_WEBSITE_EN": 2, - "PRESCRIPTION_TREATMENT_WEBSITE_ES": 3, - "PRESCRIPTION_DEVICE_WEBSITE_EN": 4, - "PRESCRIPTION_DEVICE_WEBSITE_ES": 5, - "MEDICAL_DEVICE_WEBSITE_EN": 6, - "MEDICAL_DEVICE_WEBSITE_ES": 7, - "PREVENTATIVE_TREATMENT_WEBSITE_EN": 8, - "PREVENTATIVE_TREATMENT_WEBSITE_ES": 9, - "PRESCRIPTION_CONTRACEPTION_WEBSITE_EN": 10, - "PRESCRIPTION_CONTRACEPTION_WEBSITE_ES": 11, - "PRESCRIPTION_VACCINE_WEBSITE_EN": 12, - "PRESCRIPTION_VACCINE_WEBSITE_ES": 13, -} - -func (x VanityPharmaTextEnum_VanityPharmaText) String() string { - return proto.EnumName(VanityPharmaTextEnum_VanityPharmaText_name, int32(x)) -} - -func (VanityPharmaTextEnum_VanityPharmaText) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1ee2c0c6d237b5f6, []int{0, 0} -} - -// The text that will be displayed in display URL of the text ad when website -// description is the selected display mode for vanity pharma URLs. -type VanityPharmaTextEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VanityPharmaTextEnum) Reset() { *m = VanityPharmaTextEnum{} } -func (m *VanityPharmaTextEnum) String() string { return proto.CompactTextString(m) } -func (*VanityPharmaTextEnum) ProtoMessage() {} -func (*VanityPharmaTextEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_1ee2c0c6d237b5f6, []int{0} -} - -func (m *VanityPharmaTextEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VanityPharmaTextEnum.Unmarshal(m, b) -} -func (m *VanityPharmaTextEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VanityPharmaTextEnum.Marshal(b, m, deterministic) -} -func (m *VanityPharmaTextEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_VanityPharmaTextEnum.Merge(m, src) -} -func (m *VanityPharmaTextEnum) XXX_Size() int { - return xxx_messageInfo_VanityPharmaTextEnum.Size(m) -} -func (m *VanityPharmaTextEnum) XXX_DiscardUnknown() { - xxx_messageInfo_VanityPharmaTextEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_VanityPharmaTextEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.VanityPharmaTextEnum_VanityPharmaText", VanityPharmaTextEnum_VanityPharmaText_name, VanityPharmaTextEnum_VanityPharmaText_value) - proto.RegisterType((*VanityPharmaTextEnum)(nil), "google.ads.googleads.v1.enums.VanityPharmaTextEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/vanity_pharma_text.proto", fileDescriptor_1ee2c0c6d237b5f6) -} - -var fileDescriptor_1ee2c0c6d237b5f6 = []byte{ - // 429 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xc1, 0x8a, 0x13, 0x31, - 0x1c, 0xc6, 0x6d, 0xbb, 0xee, 0x6a, 0xaa, 0x18, 0x06, 0x3d, 0x28, 0x56, 0x69, 0x65, 0x0f, 0x5e, - 0x32, 0x0c, 0x82, 0x87, 0x78, 0x4a, 0xd3, 0xb8, 0x04, 0xdd, 0x74, 0x68, 0xb2, 0x59, 0x90, 0xc2, - 0x10, 0x9d, 0x61, 0x2c, 0x6c, 0x93, 0xd2, 0xcc, 0x96, 0xf5, 0x19, 0x7c, 0x0b, 0x8f, 0x3e, 0x8a, - 0x8f, 0xb2, 0x47, 0x9f, 0x40, 0x9a, 0xd9, 0x96, 0xed, 0xb2, 0x6e, 0x7b, 0x19, 0xfe, 0x93, 0xef, - 0xf7, 0x7d, 0xfc, 0xff, 0xf0, 0x81, 0xf7, 0xa5, 0x73, 0xe5, 0x59, 0x11, 0x9b, 0xdc, 0xc7, 0xf5, - 0xb8, 0x9c, 0x16, 0x49, 0x5c, 0xd8, 0xf3, 0xa9, 0x8f, 0x17, 0xc6, 0x4e, 0xaa, 0x1f, 0xd9, 0xec, - 0xbb, 0x99, 0x4f, 0x4d, 0x56, 0x15, 0x17, 0x15, 0x9a, 0xcd, 0x5d, 0xe5, 0xa2, 0x4e, 0x0d, 0x23, - 0x93, 0x7b, 0xb4, 0xf6, 0xa1, 0x45, 0x82, 0x82, 0xef, 0xc5, 0xcb, 0x55, 0xec, 0x6c, 0x12, 0x1b, - 0x6b, 0x5d, 0x65, 0xaa, 0x89, 0xb3, 0xbe, 0x36, 0xf7, 0x7e, 0xee, 0x81, 0xa7, 0x3a, 0x24, 0xa7, - 0x21, 0x58, 0x15, 0x17, 0x15, 0xb3, 0xe7, 0xd3, 0xde, 0xdf, 0x16, 0x80, 0x37, 0x85, 0xe8, 0x09, - 0x68, 0x9f, 0x08, 0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b, 0xab, 0xd9, 0x3a, 0x22, 0xe4, 0x77, 0xb3, - 0x73, 0x54, 0x47, 0x91, 0xdc, 0xa3, 0x7a, 0x5c, 0x4e, 0x3a, 0x41, 0xcb, 0x72, 0xfa, 0x3f, 0x2b, - 0x7d, 0x4c, 0x72, 0x3f, 0x5e, 0xeb, 0x63, 0x9d, 0x8c, 0x83, 0x7e, 0xd9, 0xec, 0xd6, 0x8f, 0x18, - 0x93, 0xdc, 0x63, 0xbc, 0x26, 0x30, 0xd6, 0x09, 0xc6, 0x81, 0xf9, 0xba, 0x1f, 0x16, 0x7b, 0xf7, - 0x2f, 0x00, 0x00, 0xff, 0xff, 0x16, 0x7d, 0x51, 0x33, 0x78, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/webpage_condition_operand.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/webpage_condition_operand.pb.go deleted file mode 100644 index 1972fa09..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/webpage_condition_operand.pb.go +++ /dev/null @@ -1,139 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/webpage_condition_operand.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The webpage condition operand in webpage criterion. -type WebpageConditionOperandEnum_WebpageConditionOperand int32 - -const ( - // Not specified. - WebpageConditionOperandEnum_UNSPECIFIED WebpageConditionOperandEnum_WebpageConditionOperand = 0 - // Used for return value only. Represents value unknown in this version. - WebpageConditionOperandEnum_UNKNOWN WebpageConditionOperandEnum_WebpageConditionOperand = 1 - // Operand denoting a webpage URL targeting condition. - WebpageConditionOperandEnum_URL WebpageConditionOperandEnum_WebpageConditionOperand = 2 - // Operand denoting a webpage category targeting condition. - WebpageConditionOperandEnum_CATEGORY WebpageConditionOperandEnum_WebpageConditionOperand = 3 - // Operand denoting a webpage title targeting condition. - WebpageConditionOperandEnum_PAGE_TITLE WebpageConditionOperandEnum_WebpageConditionOperand = 4 - // Operand denoting a webpage content targeting condition. - WebpageConditionOperandEnum_PAGE_CONTENT WebpageConditionOperandEnum_WebpageConditionOperand = 5 - // Operand denoting a webpage custom label targeting condition. - WebpageConditionOperandEnum_CUSTOM_LABEL WebpageConditionOperandEnum_WebpageConditionOperand = 6 -) - -var WebpageConditionOperandEnum_WebpageConditionOperand_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "URL", - 3: "CATEGORY", - 4: "PAGE_TITLE", - 5: "PAGE_CONTENT", - 6: "CUSTOM_LABEL", -} - -var WebpageConditionOperandEnum_WebpageConditionOperand_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "URL": 2, - "CATEGORY": 3, - "PAGE_TITLE": 4, - "PAGE_CONTENT": 5, - "CUSTOM_LABEL": 6, -} - -func (x WebpageConditionOperandEnum_WebpageConditionOperand) String() string { - return proto.EnumName(WebpageConditionOperandEnum_WebpageConditionOperand_name, int32(x)) -} - -func (WebpageConditionOperandEnum_WebpageConditionOperand) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cc0697625fa842a9, []int{0, 0} -} - -// Container for enum describing webpage condition operand in webpage criterion. -type WebpageConditionOperandEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *WebpageConditionOperandEnum) Reset() { *m = WebpageConditionOperandEnum{} } -func (m *WebpageConditionOperandEnum) String() string { return proto.CompactTextString(m) } -func (*WebpageConditionOperandEnum) ProtoMessage() {} -func (*WebpageConditionOperandEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_cc0697625fa842a9, []int{0} -} - -func (m *WebpageConditionOperandEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebpageConditionOperandEnum.Unmarshal(m, b) -} -func (m *WebpageConditionOperandEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebpageConditionOperandEnum.Marshal(b, m, deterministic) -} -func (m *WebpageConditionOperandEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebpageConditionOperandEnum.Merge(m, src) -} -func (m *WebpageConditionOperandEnum) XXX_Size() int { - return xxx_messageInfo_WebpageConditionOperandEnum.Size(m) -} -func (m *WebpageConditionOperandEnum) XXX_DiscardUnknown() { - xxx_messageInfo_WebpageConditionOperandEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_WebpageConditionOperandEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.WebpageConditionOperandEnum_WebpageConditionOperand", WebpageConditionOperandEnum_WebpageConditionOperand_name, WebpageConditionOperandEnum_WebpageConditionOperand_value) - proto.RegisterType((*WebpageConditionOperandEnum)(nil), "google.ads.googleads.v1.enums.WebpageConditionOperandEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/webpage_condition_operand.proto", fileDescriptor_cc0697625fa842a9) -} - -var fileDescriptor_cc0697625fa842a9 = []byte{ - // 354 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xc1, 0x4e, 0xea, 0x40, - 0x14, 0x7d, 0x2d, 0x4f, 0x30, 0x03, 0xd1, 0x49, 0x37, 0x26, 0x0a, 0x0b, 0xf8, 0x80, 0x69, 0x1a, - 0x77, 0x63, 0x5c, 0x4c, 0xeb, 0xd8, 0x10, 0x6b, 0xdb, 0x40, 0x0b, 0xd1, 0x34, 0x69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 0x1b, 0x50, 0x37, 0x80, 0x67, 0x55, 0xc5, 0x0a, 0xa7, 0x81, 0xf7, 0x1c, 0x3b, - 0xc4, 0xa4, 0x0e, 0x6c, 0x9b, 0xdf, 0x0a, 0x18, 0x2e, 0xf9, 0x1a, 0xfd, 0xb9, 0xa8, 0xd9, 0x3f, - 0x31, 0xa7, 0x5f, 0x2d, 0xea, 0x2b, 0xaf, 0xe6, 0xaf, 0x3c, 0xe7, 0xab, 0x84, 0xe5, 0x88, 0x6f, - 0x72, 0x3d, 0xcf, 0x58, 0x1d, 0x43, 0x13, 0x7b, 0x59, 0x88, 0x13, 0xbf, 0x70, 0x57, 0x9f, 0x07, - 0xb5, 0x65, 0x13, 0xf2, 0xa1, 0x0e, 0x6c, 0x69, 0x45, 0x52, 0x81, 0x24, 0xac, 0xd0, 0xcc, 0x40, - 0x55, 0x66, 0xe2, 0xb3, 0xe1, 0x23, 0x92, 0x8a, 0xe8, 0xc8, 0x47, 0x33, 0x23, 0xaa, 0xf9, 0x2f, - 0x75, 0x28, 0x8b, 0x18, 0x93, 0x54, 0x60, 0x7c, 0xec, 0xc0, 0x78, 0x66, 0x60, 0x5c, 0xf7, 0x2c, - 0xda, 0xf5, 0x60, 0xb7, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x34, 0x47, 0x65, 0x8f, 0x1d, 0x02, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/webpage_condition_operator.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/webpage_condition_operator.pb.go deleted file mode 100644 index d1b0e17b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/enums/webpage_condition_operator.pb.go +++ /dev/null @@ -1,125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/enums/webpage_condition_operator.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The webpage condition operator in webpage criterion. -type WebpageConditionOperatorEnum_WebpageConditionOperator int32 - -const ( - // Not specified. - WebpageConditionOperatorEnum_UNSPECIFIED WebpageConditionOperatorEnum_WebpageConditionOperator = 0 - // Used for return value only. Represents value unknown in this version. - WebpageConditionOperatorEnum_UNKNOWN WebpageConditionOperatorEnum_WebpageConditionOperator = 1 - // The argument web condition is equal to the compared web condition. - WebpageConditionOperatorEnum_EQUALS WebpageConditionOperatorEnum_WebpageConditionOperator = 2 - // The argument web condition is part of the compared web condition. - WebpageConditionOperatorEnum_CONTAINS WebpageConditionOperatorEnum_WebpageConditionOperator = 3 -) - -var WebpageConditionOperatorEnum_WebpageConditionOperator_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "EQUALS", - 3: "CONTAINS", -} - -var WebpageConditionOperatorEnum_WebpageConditionOperator_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "EQUALS": 2, - "CONTAINS": 3, -} - -func (x WebpageConditionOperatorEnum_WebpageConditionOperator) String() string { - return proto.EnumName(WebpageConditionOperatorEnum_WebpageConditionOperator_name, int32(x)) -} - -func (WebpageConditionOperatorEnum_WebpageConditionOperator) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e856da14d9f47c05, []int{0, 0} -} - -// Container for enum describing webpage condition operator in webpage -// criterion. -type WebpageConditionOperatorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *WebpageConditionOperatorEnum) Reset() { *m = WebpageConditionOperatorEnum{} } -func (m *WebpageConditionOperatorEnum) String() string { return proto.CompactTextString(m) } -func (*WebpageConditionOperatorEnum) ProtoMessage() {} -func (*WebpageConditionOperatorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_e856da14d9f47c05, []int{0} -} - -func (m *WebpageConditionOperatorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebpageConditionOperatorEnum.Unmarshal(m, b) -} -func (m *WebpageConditionOperatorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebpageConditionOperatorEnum.Marshal(b, m, deterministic) -} -func (m *WebpageConditionOperatorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebpageConditionOperatorEnum.Merge(m, src) -} -func (m *WebpageConditionOperatorEnum) XXX_Size() int { - return xxx_messageInfo_WebpageConditionOperatorEnum.Size(m) -} -func (m *WebpageConditionOperatorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_WebpageConditionOperatorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_WebpageConditionOperatorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.enums.WebpageConditionOperatorEnum_WebpageConditionOperator", WebpageConditionOperatorEnum_WebpageConditionOperator_name, WebpageConditionOperatorEnum_WebpageConditionOperator_value) - proto.RegisterType((*WebpageConditionOperatorEnum)(nil), "google.ads.googleads.v1.enums.WebpageConditionOperatorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/enums/webpage_condition_operator.proto", fileDescriptor_e856da14d9f47c05) -} - -var fileDescriptor_e856da14d9f47c05 = []byte{ - // 312 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xd1, 0x6a, 0xc2, 0x30, - 0x14, 0x9d, 0x15, 0xdc, 0x88, 0x83, 0x95, 0x3e, 0x8d, 0xa1, 0x0f, 0xfa, 0x01, 0x29, 0x65, 0x6f, - 0x19, 0x0c, 0xa2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, 0xef, 0xb4, 0x0c, 0x3e, 0x6d, 0xbc, 0x0f, - 0x8e, 0x7a, 0x05, 0x5b, 0xae, 0x15, 0x86, 0x5c, 0x85, 0x4a, 0x6a, 0x7b, 0x56, 0xd5, 0x63, 0x96, - 0x9a, 0x9a, 0x5a, 0xef, 0xec, 0xfb, 0xe9, 0x35, 0x47, 0x94, 0x7e, 0x79, 0xdd, 0x91, 0xb3, 0xa2, - 0xc2, 0x60, 0x07, 0x4b, 0xb4, 0x88, 0x70, 0xd9, 0x81, 0xf9, 0xae, 0xf8, 0x84, 0x0a, 0x93, 0x9c, - 0xf8, 0x64, 0x11, 0x25, 0x96, 0xff, 0xf1, 0x7a, 0xee, 0x93, 0x10, 0x2a, 0x0c, 0x21, 0xa7, 0x09, - 0x42, 0x16, 0x11, 0x21, 0x76, 0x66, 0xdd, 0xb2, 0xc1, 0x6e, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, - 0xc7, 0x74, 0xb9, 0x52, 0xee, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/account_budget_proposal_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/account_budget_proposal_error.pb.go deleted file mode 100644 index e90afe19..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/account_budget_proposal_error.pb.go +++ /dev/null @@ -1,231 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/account_budget_proposal_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_b846ff75902c2ac4, []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_b846ff75902c2ac4, []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 (m *AccountBudgetProposalErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccountBudgetProposalErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.AccountBudgetProposalErrorEnum_AccountBudgetProposalError", AccountBudgetProposalErrorEnum_AccountBudgetProposalError_name, AccountBudgetProposalErrorEnum_AccountBudgetProposalError_value) - proto.RegisterType((*AccountBudgetProposalErrorEnum)(nil), "google.ads.googleads.v1.errors.AccountBudgetProposalErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/account_budget_proposal_error.proto", fileDescriptor_b846ff75902c2ac4) -} - -var fileDescriptor_b846ff75902c2ac4 = []byte{ - // 686 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x54, 0xcb, 0x6e, 0x13, 0x3d, - 0x14, 0xfe, 0x9b, 0xfe, 0xa4, 0xe0, 0x42, 0x6b, 0xdc, 0x0b, 0x25, 0xaa, 0x52, 0x14, 0x96, 0x48, - 0x13, 0x05, 0x04, 0x12, 0x83, 0x58, 0x38, 0x33, 0x4e, 0x62, 0x75, 0xc6, 0x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, 0xe2, 0x27, 0x24, 0x84, 0x25, 0xb4, 0x03, 0xb6, 0x69, 0x1c, 0x1b, 0x8d, - 0x9b, 0x11, 0xb1, 0x19, 0x0a, 0xae, 0x3b, 0x82, 0x24, 0x5f, 0x0c, 0x95, 0x24, 0xb4, 0x73, 0x26, - 0x55, 0x8a, 0xb2, 0x36, 0xfc, 0x1f, 0xbd, 0x06, 0x47, 0x01, 0x66, 0x4e, 0x24, 0xc0, 0x2c, 0x20, - 0x91, 0xc5, 0x42, 0x48, 0xde, 0x25, 0xa1, 0x15, 0x92, 0x0b, 0xae, 0x70, 0x04, 0x1f, 0x2d, 0x81, - 0x24, 0x89, 0x79, 0x97, 0x58, 0xc3, 0x16, 0xb0, 0xa6, 0x09, 0xdb, 0x44, 0xc3, 0x32, 0x7a, 0x05, - 0x0e, 0x57, 0x41, 0xd2, 0x30, 0x46, 0x59, 0xbb, 0x40, 0x6c, 0x2c, 0x21, 0x08, 0x0b, 0xff, 0xa2, - 0xf1, 0x18, 0x55, 0x41, 0x65, 0x09, 0x41, 0x19, 0x0e, 0x34, 0xed, 0x92, 0x62, 0xff, 0x09, 0x3a, - 0x00, 0xbb, 0x79, 0x6c, 0x19, 0x8e, 0x89, 0x2d, 0xaa, 0x82, 0x00, 0x1d, 0x82, 0x83, 0x39, 0xd3, - 0x88, 0x10, 0x6b, 0x62, 0x79, 0xb4, 0xd0, 0xdd, 0x44, 0xfb, 0x00, 0xad, 0xe8, 0x5a, 0x81, 0x95, - 0x86, 0x4f, 0x5d, 0x67, 0x8a, 0xf5, 0x53, 0xed, 0xb6, 0xdc, 0x4f, 0xd3, 0x98, 0xc0, 0x67, 0xa8, - 0x06, 0xaa, 0xc2, 0xc8, 0xa0, 0x83, 0x15, 0xb1, 0x5c, 0x86, 0x44, 0x5a, 0x66, 0xe2, 0x26, 0x91, - 0x77, 0xae, 0x5b, 0x19, 0x86, 0xb0, 0xd0, 0x55, 0x39, 0xb7, 0x2d, 0xba, 0x66, 0xc9, 0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92, 0xe9, 0xa8, 0x3e, 0x1a, 0x8e, 0xb3, 0xe1, 0x2d, 0x9e, 0x8c, 0xc9, 0x65, - 0xfa, 0xd0, 0x0b, 0xf2, 0x29, 0xff, 0xfb, 0x5a, 0x5a, 0x6f, 0x63, 0xfc, 0xad, 0x54, 0x6d, 0xe7, - 0x62, 0x78, 0x90, 0x7a, 0x79, 0xe8, 0xa2, 0x6e, 0xc3, 0xcb, 0x2c, 0xd3, 0x1f, 0x05, 0xa0, 0x87, - 0x07, 0x69, 0x6f, 0x01, 0xe8, 0x75, 0x1b, 0xbd, 0x1c, 0xf0, 0xab, 0x54, 0xcb, 0x57, 0x7d, 0x1f, - 0x0f, 0x52, 0xdf, 0x5f, 0x40, 0x7c, 0xbf, 0xdb, 0xf0, 0xfd, 0x1c, 0x74, 0x5e, 0xce, 0xb2, 0x7b, - 0xf7, 0x27, 0x00, 0x00, 0xff, 0xff, 0xaf, 0x81, 0x26, 0x78, 0xde, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/ad_customizer_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/ad_customizer_error.pb.go deleted file mode 100644 index daaff56e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/ad_customizer_error.pb.go +++ /dev/null @@ -1,141 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/ad_customizer_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_ad09816fa1689384, []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_ad09816fa1689384, []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 (m *AdCustomizerErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdCustomizerErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.AdCustomizerErrorEnum_AdCustomizerError", AdCustomizerErrorEnum_AdCustomizerError_name, AdCustomizerErrorEnum_AdCustomizerError_value) - proto.RegisterType((*AdCustomizerErrorEnum)(nil), "google.ads.googleads.v1.errors.AdCustomizerErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/ad_customizer_error.proto", fileDescriptor_ad09816fa1689384) -} - -var fileDescriptor_ad09816fa1689384 = []byte{ - // 386 bytes of a gzipped FileDescriptorProto - 0x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xd0, 0xe7, - 0xcb, 0x71, 0xbb, 0x37, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x68, 0x50, 0x94, 0xb3, 0x5f, 0x02, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/ad_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/ad_error.pb.go deleted file mode 100644 index 77d0dd22..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/ad_error.pb.go +++ /dev/null @@ -1,764 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/ad_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 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 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 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 - // Consent for call recording is required for creating/updating call only - // ads. Please see https://support.google.com/google-ads/answer/7412639. - AdErrorEnum_CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED AdErrorEnum_AdError = 131 - // Either an image or a media bundle is required in a display upload ad. - AdErrorEnum_MISSING_IMAGE_OR_MEDIA_BUNDLE AdErrorEnum_AdError = 132 - // The display upload product type is not supported in this campaign. - AdErrorEnum_PRODUCT_TYPE_NOT_SUPPORTED_IN_THIS_CAMPAIGN AdErrorEnum_AdError = 133 -) - -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", - 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", - 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", - 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", - 131: "CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED", - 132: "MISSING_IMAGE_OR_MEDIA_BUNDLE", - 133: "PRODUCT_TYPE_NOT_SUPPORTED_IN_THIS_CAMPAIGN", -} - -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_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_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_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, - "CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED": 131, - "MISSING_IMAGE_OR_MEDIA_BUNDLE": 132, - "PRODUCT_TYPE_NOT_SUPPORTED_IN_THIS_CAMPAIGN": 133, -} - -func (x AdErrorEnum_AdError) String() string { - return proto.EnumName(AdErrorEnum_AdError_name, int32(x)) -} - -func (AdErrorEnum_AdError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_69091a5966fb9a14, []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_69091a5966fb9a14, []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 (m *AdErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.AdErrorEnum_AdError", AdErrorEnum_AdError_name, AdErrorEnum_AdError_value) - proto.RegisterType((*AdErrorEnum)(nil), "google.ads.googleads.v1.errors.AdErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/ad_error.proto", fileDescriptor_69091a5966fb9a14) -} - -var fileDescriptor_69091a5966fb9a14 = []byte{ - // 2059 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x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xe4, 0x50, 0xa5, 0x5d, 0x09, 0x99, 0x1c, - 0x48, 0x10, 0xf4, 0x1b, 0xec, 0x10, 0x39, 0x58, 0xe9, 0x87, 0xda, 0xac, 0x68, 0x3a, 0xc7, 0xee, - 0x90, 0x1b, 0x5c, 0x84, 0xac, 0x72, 0xde, 0x14, 0xf2, 0x31, 0x58, 0x17, 0xb4, 0xf1, 0xc1, 0x55, - 0x65, 0x69, 0xac, 0x07, 0x11, 0x06, 0xc6, 0x06, 0x2e, 0x82, 0x1f, 0x97, 0x40, 0x0f, 0xb0, 0x73, - 0xe4, 0x14, 0x2f, 0x4b, 0x6b, 0x56, 0x65, 0xc1, 0x3d, 0xa8, 0x71, 0xf0, 0xc6, 0x04, 0x65, 0xf4, - 0x90, 0xbe, 0xc1, 0xce, 0x93, 0xd3, 0x7b, 0x6d, 0x2e, 0x37, 0xd6, 0xd3, 0x6f, 0xe2, 0x21, 0xfa, - 0x5c, 0x04, 0xa7, 0x65, 0x59, 0x82, 0xa7, 0xdf, 0x62, 0x27, 0x08, 0xcd, 0xb8, 0xc6, 0xbd, 0x0a, - 0x23, 0xe4, 0x60, 0x1c, 0xb8, 0xa0, 0x6f, 0xb2, 0xeb, 0xe4, 0x4a, 0x33, 0xea, 0xc0, 0x87, 0x7e, - 0xe5, 0xa4, 0x06, 0xe7, 0x82, 0xe6, 0x05, 0x04, 0x39, 0x08, 0x95, 0x55, 0x68, 0xa0, 0x07, 0x3b, - 0xd3, 0x11, 0x38, 0x90, 0xa0, 0x04, 0x7d, 0x8b, 0xdd, 0x22, 0xd7, 0x76, 0x8f, 0x86, 0x15, 0xe9, - 0xf3, 0x60, 0xac, 0x1c, 0x4a, 0x8d, 0x8e, 0x48, 0x11, 0x57, 0x78, 0x9b, 0x2d, 0x92, 0xdb, 0xfb, - 0x63, 0x5b, 0x50, 0xf4, 0xdd, 0xe5, 0xdc, 0x4a, 0x3d, 0xa4, 0x84, 0xdd, 0x24, 0xef, 0x75, 0x26, - 0x70, 0xa5, 0xcc, 0x4a, 0x18, 0x28, 0x58, 0x95, 0x7d, 0x05, 0x21, 0x33, 0xca, 0xd8, 0x30, 0xe0, - 0xca, 0x01, 0x3d, 0xc4, 0x3e, 0x20, 0x0f, 0x3a, 0xd0, 0xda, 0x96, 0x19, 0xed, 0xad, 0x51, 0x61, - 0x25, 0x07, 0x1d, 0x34, 0xf7, 0x72, 0x04, 0xb8, 0x41, 0xc1, 0x23, 0xc8, 0xe3, 0x1e, 0x87, 0x19, - 0x23, 0xef, 0x74, 0x26, 0x56, 0x56, 0xd1, 0x23, 0xec, 0x5d, 0x72, 0xb1, 0x33, 0x86, 0x47, 0x34, - 0x15, 0x1e, 0x58, 0x73, 0x85, 0x08, 0x47, 0xdf, 0x61, 0xf3, 0xe4, 0xdc, 0x2e, 0x48, 0xd7, 0x7e, - 0x94, 0x5d, 0x20, 0x67, 0x76, 0xdb, 0x91, 0x4a, 0xc1, 0x3d, 0xa7, 0xc7, 0x3a, 0xa4, 0x57, 0x0e, - 0xd0, 0x7d, 0x57, 0xf5, 0x33, 0xc5, 0x9d, 0x8b, 0x04, 0x98, 0x12, 0x2c, 0xf7, 0xc6, 0x52, 0xc6, - 0xae, 0x90, 0x4b, 0xb5, 0x50, 0xc0, 0x46, 0x95, 0xc4, 0xeb, 0x1e, 0x81, 0x08, 0x85, 0xe9, 0x4b, - 0x05, 0x5c, 0x38, 0x7a, 0x9c, 0xdd, 0x20, 0x57, 0xf7, 0x07, 0xf9, 0x5c, 0x5a, 0x51, 0x72, 0xeb, - 0xf1, 0xae, 0x1d, 0x3d, 0xc1, 0x96, 0xc8, 0xdd, 0xaf, 0x45, 0x5a, 0x10, 0xd2, 0x42, 0xe6, 0xe3, - 0x94, 0x93, 0xec, 0x2c, 0x39, 0x39, 0x33, 0x05, 0x94, 0x1c, 0x22, 0xff, 0xf4, 0xd4, 0x9e, 0xd5, - 0x92, 0x29, 0x3a, 0x51, 0x95, 0x82, 0x23, 0xc5, 0xa1, 0x0f, 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, 0x7a, 0xa8, 0xe0, 0xf6, 0x61, 0x55, 0x06, 0xc5, 0xf5, - 0xb0, 0x42, 0xef, 0x96, 0x6a, 0x7e, 0x1b, 0x63, 0xed, 0x4e, 0xc6, 0xad, 0x95, 0x60, 0xe9, 0xfd, - 0xa8, 0x88, 0x7d, 0x6d, 0x89, 0xda, 0x07, 0x18, 0x5b, 0x09, 0xd2, 0x08, 0xdb, 0x0c, 0x02, 0x28, - 0x28, 0x40, 0x7b, 0x47, 0xdf, 0xef, 0x92, 0xb2, 0x9f, 0xfc, 0xbf, 0x8d, 0xf1, 0x9c, 0x00, 0x56, - 0x66, 0x79, 0x28, 0x40, 0x48, 0x1e, 0x32, 0xb0, 0x3e, 0x86, 0x50, 0x18, 0x81, 0x16, 0x26, 0xe1, - 0x51, 0xd2, 0xdf, 0xc1, 0x78, 0x4d, 0x53, 0x5a, 0x11, 0xc5, 0x1c, 0xf7, 0x41, 0xf7, 0x52, 0x5b, - 0x53, 0x73, 0x9a, 0x26, 0xf7, 0xc7, 0xdb, 0xff, 0x90, 0x9d, 0x26, 0xc7, 0xf7, 0x00, 0xa5, 0xa0, - 0x1f, 0x21, 0x7f, 0x4a, 0x6a, 0x88, 0x55, 0x6d, 0x45, 0x0a, 0xa0, 0xcb, 0x48, 0x43, 0x21, 0x9d, - 0xc3, 0x98, 0x99, 0x0d, 0x8c, 0x26, 0x92, 0xe8, 0xc7, 0x78, 0xb5, 0x53, 0x48, 0x23, 0x43, 0x53, - 0x94, 0x46, 0x83, 0xf6, 0xf4, 0x13, 0x64, 0x69, 0x6a, 0x1e, 0xa1, 0x6f, 0xae, 0x3e, 0x13, 0x56, - 0x3c, 0xfa, 0x29, 0x7a, 0x94, 0xec, 0x33, 0xc5, 0x90, 0x7e, 0x17, 0x55, 0x91, 0x4c, 0x02, 0x5c, - 0x66, 0x65, 0x89, 0x92, 0x5a, 0xa2, 0xdf, 0x7b, 0x8d, 0xe5, 0x3e, 0xfd, 0x3e, 0x92, 0xde, 0xb1, - 0x78, 0x89, 0x65, 0xa8, 0xce, 0x86, 0x51, 0x24, 0x1c, 0xb3, 0x52, 0x02, 0x28, 0xae, 0x05, 0xfe, - 0x96, 0x7c, 0x08, 0x2d, 0xa2, 0xcf, 0x4e, 0x92, 0x63, 0xed, 0x12, 0x29, 0x9e, 0x69, 0x86, 0xb4, - 0x4d, 0x87, 0xdb, 0xdc, 0x47, 0x05, 0x06, 0x6f, 0x32, 0xe4, 0xc0, 0x05, 0x52, 0x48, 0x01, 0xeb, - 0xdc, 0x74, 0x54, 0x0e, 0x73, 0x4f, 0x07, 0x48, 0x70, 0x1a, 0xab, 0x23, 0x6c, 0xc8, 0xee, 0x92, - 0x9b, 0x69, 0x08, 0x05, 0x0a, 0xbe, 0x35, 0x06, 0x63, 0x43, 0x69, 0x8d, 0xa8, 0x32, 0x1f, 0x46, - 0x52, 0x80, 0x71, 0x34, 0xc7, 0x32, 0xd7, 0x85, 0x77, 0xf4, 0xec, 0xa8, 0x44, 0x41, 0xb7, 0xd6, - 0x59, 0x41, 0xff, 0xa0, 0xbb, 0x77, 0x54, 0x23, 0x7d, 0xc8, 0xae, 0x92, 0xcb, 0x69, 0xc8, 0xc2, - 0xa3, 0x4a, 0x5a, 0xe8, 0x28, 0x22, 0x4a, 0xc6, 0x51, 0xd5, 0x25, 0x6c, 0xd6, 0x18, 0x46, 0x5c, - 0x55, 0x40, 0x0b, 0x46, 0xc9, 0xe1, 0x29, 0x62, 0xd5, 0x53, 0xdd, 0xe5, 0x6a, 0x24, 0x5d, 0x4c, - 0x5f, 0xc8, 0x95, 0xe9, 0x9e, 0x62, 0x45, 0x0a, 0x9f, 0xd3, 0x12, 0x75, 0x5b, 0x54, 0xca, 0xcb, - 0x52, 0x01, 0x12, 0xeb, 0xa5, 0xce, 0x7c, 0xc0, 0xbc, 0xed, 0x42, 0xa5, 0xdb, 0x2e, 0x8d, 0x3e, - 0x8a, 0xc7, 0xc5, 0x8c, 0x8f, 0x25, 0x1c, 0x4f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 0x64, 0xb4, 0xf4, - 0xa4, 0x06, 0xfc, 0xef, 0xc0, 0x42, 0x3d, 0xba, 0xbc, 0xcc, 0xd7, 0xb7, 0x97, 0x97, 0x5b, 0xc8, - 0xf2, 0xf2, 0x68, 0x69, 0x79, 0xb9, 0x06, 0x7d, 0xf6, 0x66, 0x3c, 0xdd, 0x83, 0x2f, 0x03, 0x00, - 0x00, 0xff, 0xff, 0xff, 0x2c, 0x0c, 0x2e, 0xd2, 0x11, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/ad_group_ad_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/ad_group_ad_error.pb.go deleted file mode 100644 index 7e706490..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/ad_group_ad_error.pb.go +++ /dev/null @@ -1,158 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/ad_group_ad_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_0a1e540bf367b66f, []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_0a1e540bf367b66f, []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 (m *AdGroupAdErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupAdErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.AdGroupAdErrorEnum_AdGroupAdError", AdGroupAdErrorEnum_AdGroupAdError_name, AdGroupAdErrorEnum_AdGroupAdError_value) - proto.RegisterType((*AdGroupAdErrorEnum)(nil), "google.ads.googleads.v1.errors.AdGroupAdErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/ad_group_ad_error.proto", fileDescriptor_0a1e540bf367b66f) -} - -var fileDescriptor_0a1e540bf367b66f = []byte{ - // 448 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0x51, 0x6b, 0xd4, 0x40, - 0x10, 0xc7, 0xbd, 0x54, 0x5b, 0xdd, 0x82, 0x86, 0x28, 0x22, 0xa5, 0x94, 0x72, 0x0a, 0xbe, 0x25, - 0x1c, 0x82, 0x0f, 0xf1, 0x69, 0x2e, 0x3b, 0x77, 0x04, 0x73, 0x9b, 0x65, 0x93, 0x9c, 0xad, 0x1c, - 0x2c, 0xd1, 0x3d, 0xc2, 0x41, 0x9b, 0x3d, 0xb2, 0xd7, 0x7e, 0x20, 0x1f, 0x7d, 0xf7, 0x4b, 0x88, - 0x9f, 0xc4, 0x07, 0x3f, 0x83, 0x6c, 0xb6, 0x77, 0x70, 0xa0, 0x7d, 0xda, 0x3f, 0x33, 0xbf, 0xff, - 0xcc, 0xee, 0xce, 0x90, 0xf7, 0x8d, 0xd6, 0xcd, 0xd5, 0x32, 0xaa, 0x95, 0x89, 0x9c, 0xb4, 0xea, - 0x76, 0x14, 0x2d, 0xbb, 0x4e, 0x77, 0x26, 0xaa, 0x95, 0x6c, 0x3a, 0x7d, 0xb3, 0x96, 0xb5, 0x92, - 0x7d, 0x28, 0x5c, 0x77, 0x7a, 0xa3, 0x83, 0x33, 0x07, 0x87, 0xb5, 0x32, 0xe1, 0xce, 0x17, 0xde, - 0x8e, 0x42, 0xe7, 0x3b, 0x39, 0xdd, 0xd6, 0x5d, 0xaf, 0xa2, 0xba, 0x6d, 0xf5, 0xa6, 0xde, 0xac, - 0x74, 0x6b, 0x9c, 0x7b, 0xf8, 0xcb, 0x23, 0x01, 0xa8, 0xa9, 0x2d, 0x0c, 0x0a, 0xad, 0x03, 0xdb, - 0x9b, 0xeb, 0xe1, 0x0f, 0x8f, 0x3c, 0xdd, 0x0f, 0x07, 0xcf, 0xc8, 0x71, 0xc5, 0x0a, 0x8e, 0x49, - 0x3a, 0x49, 0x91, 0xfa, 0x0f, 0x82, 0x63, 0x72, 0x54, 0xb1, 0x8f, 0x2c, 0xff, 0xc4, 0xfc, 0x41, - 0xf0, 0x86, 0x9c, 0x03, 0x95, 0x53, 0x91, 0x57, 0x5c, 0x02, 0x95, 0x19, 0x8c, 0x31, 0x93, 0x34, - 0xc7, 0x42, 0xb2, 0xbc, 0x94, 0x78, 0x91, 0x16, 0xa5, 0xef, 0xfd, 0x9b, 0x82, 0x4c, 0x20, 0xd0, - 0x4b, 0x07, 0x15, 0xfe, 0x41, 0xf0, 0x8a, 0xbc, 0x00, 0xda, 0xfb, 0x2a, 0x46, 0x51, 0x48, 0xa0, - 0xbd, 0xc3, 0x7f, 0x18, 0xbc, 0x25, 0xaf, 0x13, 0x60, 0x36, 0x93, 0x73, 0x14, 0x50, 0xa2, 0xcc, - 0x99, 0x14, 0x38, 0xcb, 0xe7, 0x48, 0xb7, 0x18, 0x50, 0xff, 0x51, 0x70, 0x4e, 0x4e, 0xef, 0xc0, - 0x44, 0xa0, 0xe5, 0x28, 0x72, 0x81, 0x09, 0x94, 0x3d, 0x57, 0xf8, 0x87, 0xc1, 0x09, 0x79, 0xb9, - 0x4f, 0x94, 0x78, 0x51, 0xf6, 0xb9, 0x23, 0xfb, 0x54, 0x9c, 0xf1, 0xf2, 0x52, 0x4e, 0x52, 0xcc, - 0xa8, 0xff, 0xd8, 0xf6, 0x15, 0x58, 0xe4, 0x95, 0x48, 0x50, 0x0a, 0x9c, 0xa0, 0x40, 0x96, 0x20, - 0x95, 0x29, 0x93, 0xb3, 0x2a, 0x2b, 0x53, 0x9e, 0xa1, 0xcc, 0x79, 0xe1, 0x3f, 0x19, 0xff, 0x19, - 0x90, 0xe1, 0x57, 0x7d, 0x1d, 0xde, 0x3f, 0x93, 0xf1, 0xf3, 0xfd, 0xbf, 0xe5, 0x76, 0x14, 0x7c, - 0xf0, 0x99, 0xde, 0xd9, 0x1a, 0x7d, 0x55, 0xb7, 0x4d, 0xa8, 0xbb, 0x26, 0x6a, 0x96, 0x6d, 0x3f, - 0xa8, 0xed, 0x4a, 0xac, 0x57, 0xe6, 0x7f, 0x1b, 0xf2, 0xc1, 0x1d, 0xdf, 0xbc, 0x83, 0x29, 0xc0, - 0x77, 0xef, 0x6c, 0xea, 0x8a, 0x81, 0x32, 0xa1, 0x93, 0x56, 0xcd, 0x47, 0x61, 0xdf, 0xd2, 0xfc, - 0xdc, 0x02, 0x0b, 0x50, 0x66, 0xb1, 0x03, 0x16, 0xf3, 0xd1, 0xc2, 0x01, 0xbf, 0xbd, 0xa1, 0x8b, - 0xc6, 0x31, 0x28, 0x13, 0xc7, 0x3b, 0x24, 0x8e, 0xe7, 0xa3, 0x38, 0x76, 0xd0, 0x97, 0xc3, 0xfe, - 0x76, 0xef, 0xfe, 0x06, 0x00, 0x00, 0xff, 0xff, 0x5f, 0xb4, 0xd4, 0xe6, 0xbe, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/ad_group_bid_modifier_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/ad_group_bid_modifier_error.pb.go deleted file mode 100644 index 6e1fca33..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/ad_group_bid_modifier_error.pb.go +++ /dev/null @@ -1,128 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/ad_group_bid_modifier_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_488f71f8a13452db, []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_488f71f8a13452db, []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 (m *AdGroupBidModifierErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupBidModifierErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.AdGroupBidModifierErrorEnum_AdGroupBidModifierError", AdGroupBidModifierErrorEnum_AdGroupBidModifierError_name, AdGroupBidModifierErrorEnum_AdGroupBidModifierError_value) - proto.RegisterType((*AdGroupBidModifierErrorEnum)(nil), "google.ads.googleads.v1.errors.AdGroupBidModifierErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/ad_group_bid_modifier_error.proto", fileDescriptor_488f71f8a13452db) -} - -var fileDescriptor_488f71f8a13452db = []byte{ - // 368 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xcd, 0xaa, 0xd4, 0x30, - 0x14, 0xb6, 0xbd, 0xa0, 0x90, 0xbb, 0xb0, 0x74, 0x23, 0x5c, 0x2f, 0xb3, 0xe8, 0x03, 0xa4, 0x14, - 0x57, 0x46, 0x04, 0xd3, 0x26, 0x96, 0x20, 0x93, 0x94, 0x4e, 0x5b, 0x41, 0x0a, 0xa1, 0x63, 0x6a, - 0x29, 0xcc, 0x34, 0xa5, 0x99, 0x99, 0x47, 0xf1, 0x01, 0x5c, 0xfa, 0x00, 0x3e, 0x84, 0x8f, 0xe2, - 0x0b, 0xb8, 0x95, 0x36, 0x33, 0xe3, 0x6a, 0xee, 0x2a, 0x1f, 0xe7, 0x7c, 0x3f, 0xe7, 0xe4, 0x80, - 0x0f, 0x9d, 0xd6, 0xdd, 0xae, 0x0d, 0x1b, 0x65, 0x42, 0x0b, 0x67, 0x74, 0x8a, 0xc2, 0x76, 0x9a, - 0xf4, 0x64, 0xc2, 0x46, 0xc9, 0x6e, 0xd2, 0xc7, 0x51, 0x6e, 0x7b, 0x25, 0xf7, 0x5a, 0xf5, 0xdf, - 0xfa, 0x76, 0x92, 0x4b, 0x13, 0x8e, 0x93, 0x3e, 0x68, 0x7f, 0x65, 0x65, 0xb0, 0x51, 0x06, 0x5e, - 0x1d, 0xe0, 0x29, 0x82, 0xd6, 0xe1, 0xe1, 0xf1, 0x92, 0x30, 0xf6, 0x61, 0x33, 0x0c, 0xfa, 0xd0, - 0x1c, 0x7a, 0x3d, 0x18, 0xab, 0x0e, 0x7e, 0x39, 0xe0, 0x35, 0x56, 0xe9, 0x1c, 0x11, 0xf7, 0x6a, - 0x7d, 0x0e, 0xa0, 0xb3, 0x94, 0x0e, 0xc7, 0x7d, 0xf0, 0xdd,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d3, 0xbd, 0xf9, 0x17, 0x00, 0x00, 0xff, 0xff, 0x43, 0x72, 0x94, 0x76, 0x3b, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/ad_group_criterion_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/ad_group_criterion_error.pb.go deleted file mode 100644 index c587ff1d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/ad_group_criterion_error.pb.go +++ /dev/null @@ -1,315 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/ad_group_criterion_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_6d0afb787727cc9c, []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_6d0afb787727cc9c, []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 (m *AdGroupCriterionErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupCriterionErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.AdGroupCriterionErrorEnum_AdGroupCriterionError", AdGroupCriterionErrorEnum_AdGroupCriterionError_name, AdGroupCriterionErrorEnum_AdGroupCriterionError_value) - proto.RegisterType((*AdGroupCriterionErrorEnum)(nil), "google.ads.googleads.v1.errors.AdGroupCriterionErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/ad_group_criterion_error.proto", fileDescriptor_6d0afb787727cc9c) -} - -var fileDescriptor_6d0afb787727cc9c = []byte{ - // 976 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x55, 0xdd, 0x72, 0x1b, 0x35, - 0x14, 0xa6, 0x29, 0xb4, 0xa0, 0x06, 0x2a, 0xc4, 0x4f, 0xdb, 0xfc, 0xb6, 0x29, 0xb4, 0xb4, 0x21, - 0x36, 0x6e, 0xa1, 0x0c, 0xee, 0xf4, 0xe2, 0x78, 0x75, 0xbc, 0xd6, 0x44, 0x2b, 0x2d, 0x92, 0xd6, - 0x89, 0x99, 0xcc, 0x68, 0x4c, 0x9d, 0xf1, 0x64, 0xa6, 0xf5, 0x66, 0xec, 0xb4, 0x0f, 0xc4, 0x25, - 0x6f, 0xc0, 0x2b, 0xf0, 0x02, 0xbc, 0x03, 0xf7, 0xdc, 0x33, 0xda, 0x5d, 0x3b, 0x8e, 0x13, 0x52, - 0xae, 0xa2, 0xf8, 0x7c, 0x9f, 0xf4, 0x9d, 0xef, 0x9c, 0x3d, 0x87, 0xbc, 0x18, 0xe6, 0xf9, 0xf0, - 0xd5, 0x61, 0xbd, 0x3f, 0x98, 0xd4, 0xcb, 0x63, 0x38, 0xbd, 0x6d, 0xd4, 0x0f, 0xc7, 0xe3, 0x7c, - 0x3c, 0xa9, 0xf7, 0x07, 0x7e, 0x38, 0xce, 0xdf, 0x1c, 0xfb, 0x97, 0xe3, 0xa3, 0x93, 0xc3, 0xf1, - 0x51, 0x3e, 0xf2, 0x45, 0xa4, 0x76, 0x3c, 0xce, 0x4f, 0x72, 0xb6, 0x51, 0x72, 0x6a, 0xfd, 0xc1, - 0xa4, 0x36, 0xa3, 0xd7, 0xde, 0x36, 0x6a, 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, - 0x7c, 0x3c, 0xac, 0x0f, 0x0f, 0x47, 0xc5, 0xea, 0x9a, 0xee, 0xca, 0xe3, 0xa3, 0xc9, 0x7f, 0xad, - 0xce, 0xe7, 0xe5, 0x9f, 0xdf, 0x96, 0xae, 0xc6, 0x00, 0xbf, 0x2f, 0x6d, 0xc4, 0xe5, 0x65, 0x30, - 0x98, 0xd4, 0xca, 0x63, 0x38, 0x75, 0x1b, 0xb5, 0xe2, 0xc9, 0xc9, 0x9f, 0x53, 0xc0, 0x01, 0x0c, - 0x26, 0x07, 0x33, 0xc0, 0x41, 0xb7, 0x71, 0x50, 0x02, 0xfe, 0x5e, 0xda, 0x2a, 0x7f, 0x6d, 0x36, - 0x61, 0x30, 0x69, 0x36, 0x67, 0x90, 0x66, 0xb3, 0xdb, 0x68, 0x36, 0x4b, 0xd0, 0xaf, 0xd7, 0x0a, - 0x75, 0x4f, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x4f, 0xf6, 0x6e, 0xef, 0xd7, 0x07, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/ad_group_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/ad_group_error.pb.go deleted file mode 100644 index 9901d682..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/ad_group_error.pb.go +++ /dev/null @@ -1,182 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/ad_group_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_8e0068e691513cbe, []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_8e0068e691513cbe, []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 (m *AdGroupErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.AdGroupErrorEnum_AdGroupError", AdGroupErrorEnum_AdGroupError_name, AdGroupErrorEnum_AdGroupError_value) - proto.RegisterType((*AdGroupErrorEnum)(nil), "google.ads.googleads.v1.errors.AdGroupErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/ad_group_error.proto", fileDescriptor_8e0068e691513cbe) -} - -var fileDescriptor_8e0068e691513cbe = []byte{ - // 554 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xe1, 0x6a, 0xd4, 0x40, - 0x14, 0x85, 0xed, 0xb6, 0xb6, 0x3a, 0xad, 0x3a, 0x0e, 0x22, 0x52, 0x4a, 0xd1, 0x05, 0x45, 0x44, - 0xb2, 0x2c, 0x55, 0xd0, 0x08, 0xc2, 0x4d, 0x66, 0x9a, 0x0e, 0xcd, 0xce, 0x84, 0xcc, 0x64, 0xeb, - 0xca, 0xc2, 0xb0, 0x9a, 0x12, 0x0a, 0x6d, 0xb2, 0x24, 0xdb, 0xbe, 0x84, 0x2f, 0x21, 0xfe, 0xf4, - 0x51, 0x7c, 0x14, 0xf1, 0x21, 0x64, 0x32, 0x66, 0xdb, 0x22, 0xfa, 0x2b, 0x77, 0xee, 0x7c, 0xe7, - 0xde, 0x93, 0xe4, 0xa0, 0xbd, 0xa2, 0xaa, 0x8a, 0xd3, 0xe3, 0xc1, 0x2c, 0x6f, 0x06, 0xae, 0xb4, - 0xd5, 0xc5, 0x70, 0x70, 0x5c, 0xd7, 0x55, 0xdd, 0x0c, 0x66, 0xb9, 0x29, 0xea, 0xea, 0x7c, 0x6e, - 0xda, 0xb3, 0x37, 0xaf, 0xab, 0x45, 0x45, 0x76, 0x1d, 0xe9, 0xcd, 0xf2, 0xc6, 0x5b, 0x8a, 0xbc, - 0x8b, 0xa1, 0xe7, 0x44, 0xdb, 0x3b, 0xdd, 0xd0, 0xf9, 0xc9, 0x60, 0x56, 0x96, 0xd5, 0x62, 0xb6, - 0x38, 0xa9, 0xca, 0xc6, 0xa9, 0xfb, 0x5f, 0xd7, 0x10, 0x86, 0x3c, 0xb2, 0x53, 0x99, 0xe5, 0x59, - 0x79, 0x7e, 0xd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, - 0x44, 0x7c, 0x7f, 0x3c, 0xf4, 0x7d, 0x07, 0x7d, 0x5a, 0x6f, 0xdd, 0xed, 0xfd, 0x0e, 0x00, 0x00, - 0xff, 0xff, 0x3e, 0x57, 0xba, 0x3d, 0x8d, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/ad_group_feed_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/ad_group_feed_error.pb.go deleted file mode 100644 index e6ff5a5d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/ad_group_feed_error.pb.go +++ /dev/null @@ -1,154 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/ad_group_feed_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_cd287da9ca2936b6, []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_cd287da9ca2936b6, []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 (m *AdGroupFeedErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupFeedErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.AdGroupFeedErrorEnum_AdGroupFeedError", AdGroupFeedErrorEnum_AdGroupFeedError_name, AdGroupFeedErrorEnum_AdGroupFeedError_value) - proto.RegisterType((*AdGroupFeedErrorEnum)(nil), "google.ads.googleads.v1.errors.AdGroupFeedErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/ad_group_feed_error.proto", fileDescriptor_cd287da9ca2936b6) -} - -var fileDescriptor_cd287da9ca2936b6 = []byte{ - // 445 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xc1, 0x6a, 0xd4, 0x40, - 0x1c, 0xc6, 0xdd, 0x54, 0x5b, 0x99, 0x1e, 0x0c, 0x41, 0x41, 0xb4, 0xac, 0x90, 0x43, 0x11, 0x91, - 0x09, 0xc1, 0x8b, 0xc4, 0xd3, 0x34, 0xf9, 0x6f, 0x0c, 0x66, 0x67, 0x86, 0x24, 0x1b, 0xad, 0x2c, - 0x0c, 0xd1, 0x89, 0x61, 0xa1, 0xcd, 0x2c, 0x99, 0x6d, 0x1f, 0xc8, 0xa3, 0xaf, 0xe1, 0xcd, 0x67, - 0xf0, 0x09, 0x3c, 0xf9, 0x08, 0x32, 0x99, 0xee, 0x22, 0xb5, 0xf6, 0x94, 0x8f, 0xc9, 0xef, 0xfb, - 0xe6, 0x63, 0xfe, 0x7f, 0xf4, 0xba, 0x53, 0xaa, 0x3b, 0x6b, 0x83, 0x46, 0xea, 0xc0, 0x4a, 0xa3, - 0x2e, 0xc3, 0xa0, 0x1d, 0x06, 0x35, 0xe8, 0xa0, 0x91, 0xa2, 0x1b, 0xd4, 0xc5, 0x5a, 0x7c, 0x69, - 0x5b, 0x29, 0xc6, 0x43, 0xbc, 0x1e, 0xd4, 0x46, 0x79, 0x53, 0x8b, 0xe3, 0x46, 0x6a, 0xbc, 0x73, - 0xe2, 0xcb, 0x10, 0x5b, 0xe7, 0x93, 0xa3, 0x6d, 0xf2, 0x7a, 0x15, 0x34, 0x7d, 0xaf, 0x36, 0xcd, - 0x66, 0xa5, 0x7a, 0x6d, 0xdd, 0xfe, 0x4f, 0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0xe4, 0x7f, - 0x56, 0xe7, 0xf8, 0xf6, 0x19, 0x9d, 0x3c, 0xba, 0xfe, 0xd2, 0xdc, 0x0c, 0x87, 0x4f, 0x3e, 0x26, - 0x57, 0xc6, 0x4e, 0x9d, 0x35, 0x7d, 0x87, 0xd5, 0xd0, 0x05, 0x5d, 0xdb, 0x8f, 0xa3, 0xdb, 0xae, - 0xc9, 0x7a, 0xa5, 0xff, 0xb7, 0x35, 0x6f, 0xec, 0xe7, 0xab, 0xb3, 0x97, 0x12, 0xf2, 0xcd, 0x99, - 0xa6, 0x36, 0x8c, 0x48, 0x8d, 0xad, 0x34, 0xaa, 0x0e, 0xf1, 0x78, 0xa5, 0xfe, 0xb1, 0x05, 0x96, - 0x44, 0xea, 0xe5, 0x0e, 0x58, 0xd6, 0xe1, 0xd2, 0x02, 0xbf, 0x1c, 0xdf, 0x9e, 0x46, 0x11, 0x91, - 0x3a, 0x8a, 0x76, 0x48, 0x14, 0xd5, 0x61, 0x14, 0x59, 0xe8, 0xd3, 0xfe, 0xd8, 0xee, 0xd5, 0x9f, - 0x00, 0x00, 0x00, 0xff, 0xff, 0xdb, 0xc0, 0xf1, 0xaf, 0xd2, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/ad_parameter_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/ad_parameter_error.pb.go deleted file mode 100644 index b426759d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/ad_parameter_error.pb.go +++ /dev/null @@ -1,126 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/ad_parameter_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible ad parameter errors. -type AdParameterErrorEnum_AdParameterError int32 - -const ( - // Enum unspecified. - AdParameterErrorEnum_UNSPECIFIED AdParameterErrorEnum_AdParameterError = 0 - // The received error code is not known in this version. - AdParameterErrorEnum_UNKNOWN AdParameterErrorEnum_AdParameterError = 1 - // The ad group criterion must be a keyword criterion. - AdParameterErrorEnum_AD_GROUP_CRITERION_MUST_BE_KEYWORD AdParameterErrorEnum_AdParameterError = 2 - // The insertion text is invalid. - AdParameterErrorEnum_INVALID_INSERTION_TEXT_FORMAT AdParameterErrorEnum_AdParameterError = 3 -) - -var AdParameterErrorEnum_AdParameterError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "AD_GROUP_CRITERION_MUST_BE_KEYWORD", - 3: "INVALID_INSERTION_TEXT_FORMAT", -} - -var AdParameterErrorEnum_AdParameterError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "AD_GROUP_CRITERION_MUST_BE_KEYWORD": 2, - "INVALID_INSERTION_TEXT_FORMAT": 3, -} - -func (x AdParameterErrorEnum_AdParameterError) String() string { - return proto.EnumName(AdParameterErrorEnum_AdParameterError_name, int32(x)) -} - -func (AdParameterErrorEnum_AdParameterError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_9daf43f3c5a5dc12, []int{0, 0} -} - -// Container for enum describing possible ad parameter errors. -type AdParameterErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdParameterErrorEnum) Reset() { *m = AdParameterErrorEnum{} } -func (m *AdParameterErrorEnum) String() string { return proto.CompactTextString(m) } -func (*AdParameterErrorEnum) ProtoMessage() {} -func (*AdParameterErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_9daf43f3c5a5dc12, []int{0} -} - -func (m *AdParameterErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdParameterErrorEnum.Unmarshal(m, b) -} -func (m *AdParameterErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdParameterErrorEnum.Marshal(b, m, deterministic) -} -func (m *AdParameterErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdParameterErrorEnum.Merge(m, src) -} -func (m *AdParameterErrorEnum) XXX_Size() int { - return xxx_messageInfo_AdParameterErrorEnum.Size(m) -} -func (m *AdParameterErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_AdParameterErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_AdParameterErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.errors.AdParameterErrorEnum_AdParameterError", AdParameterErrorEnum_AdParameterError_name, AdParameterErrorEnum_AdParameterError_value) - proto.RegisterType((*AdParameterErrorEnum)(nil), "google.ads.googleads.v1.errors.AdParameterErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/ad_parameter_error.proto", fileDescriptor_9daf43f3c5a5dc12) -} - -var fileDescriptor_9daf43f3c5a5dc12 = []byte{ - // 349 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xeb, 0x40, - 0x18, 0x85, 0x6f, 0x52, 0xb8, 0x17, 0xa6, 0x8b, 0x1b, 0x82, 0x6e, 0x44, 0x0b, 0x66, 0xe1, 0x72, - 0x42, 0x70, 0x21, 0x8c, 0xab, 0x69, 0x33, 0x2d, 0xa1, 0x36, 0x09, 0x69, 0x92, 0xaa, 0x04, 0x86, - 0xd1, 0x84, 0x50, 0x68, 0x33, 0x61, 0x26, 0x76, 0xe3, 0x63, 0xf8, 0x06, 0x2e, 0x7d, 0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0xbe, 0x85, 0xbf, 0x57, 0x1b, 0x1f, 0x1f, 0x6e, 0x18, 0xb6, 0x9d, - 0x42, 0xed, 0xde, 0xfd, 0x36, 0x96, 0x7c, 0xc3, 0xaa, 0x12, 0x72, 0x51, 0xda, 0x65, 0x51, 0x75, - 0x8d, 0xfb, 0xe3, 0xd6, 0x6b, 0xf9, 0xd3, 0xad, 0xaf, 0xd5, 0xf3, 0xaa, 0x0f, 0x66, 0x18, 0xbf, - 0xe9, 0xa3, 0x99, 0x0a, 0xc3, 0xb9, 0x84, 0x4a, 0xb6, 0x2a, 0x75, 0x60, 0xf7, 0xa5, 0x7c, 0xef, - 0x81, 0x0c, 0xe7, 0x32, 0xdb, 0x03, 0x59, 0xea, 0x64, 0x0a, 0xf8, 0xd0, 0x2d, 0x35, 0x45, 0x08, - 0xe7, 0x12, 0xa1, 0x3d, 0x82, 0x50, 0xea, 0x20, 0xa4, 0xa0, 0x87, 0xbf, 0xdd, 0x76, 0x97, 0x5f, - 0x01, 0x00, 0x00, 0xff, 0xff, 0x8d, 0x79, 0xd7, 0xc6, 0x08, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/ad_sharing_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/ad_sharing_error.pb.go deleted file mode 100644 index e902c872..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/ad_sharing_error.pb.go +++ /dev/null @@ -1,132 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/ad_sharing_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_3ce66a02f96ddc3c, []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_3ce66a02f96ddc3c, []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 (m *AdSharingErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdSharingErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.AdSharingErrorEnum_AdSharingError", AdSharingErrorEnum_AdSharingError_name, AdSharingErrorEnum_AdSharingError_value) - proto.RegisterType((*AdSharingErrorEnum)(nil), "google.ads.googleads.v1.errors.AdSharingErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/ad_sharing_error.proto", fileDescriptor_3ce66a02f96ddc3c) -} - -var fileDescriptor_3ce66a02f96ddc3c = []byte{ - // 360 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xdf, 0x4a, 0xe3, 0x40, - 0x14, 0x87, 0x37, 0xe9, 0xb2, 0x0b, 0x53, 0xd8, 0x0d, 0xd9, 0x9b, 0x65, 0x29, 0x65, 0xc9, 0x03, - 0x4c, 0x08, 0xe2, 0xcd, 0x78, 0x75, 0x9a, 0x8c, 0x35,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x99, 0x47, 0x23, 0x3e, 0x78, 0xc6, 0xc8, 0x9c, 0xa0, 0xbf, 0x2e, 0x30, 0x16, 0x24, 0x3c, 0x3e, - 0x83, 0x88, 0x72, 0x9f, 0x81, 0x9b, 0xf8, 0x59, 0x07, 0x1b, 0xdf, 0x67, 0x6f, 0x1a, 0xb2, 0x6e, - 0xc5, 0x1a, 0x7f, 0xbd, 0xf0, 0xec, 0xcf, 0xe1, 0xe0, 0x61, 0xb7, 0x67, 0xa8, 0x5d, 0x7b, 0x1f, - 0x5a, 0x25, 0x56, 0x45, 0x53, 0x61, 0xd1, 0x56, 0x76, 0xb5, 0x6c, 0xfa, 0x2b, 0x0c, 0xe7, 0xde, - 0xd4, 0xf2, 0xb3, 0xeb, 0x9f, 0xa8, 0xe7, 0x51, 0x1f, 0xcd, 0x01, 0x9e, 0xf5, 0xe9, 0x5c, 0x35, - 0x83, 0x52, 0x62, 0x15, 0xbb, 0x94, 0x39, 0xb8, 0xff, 0x52, 0xbe, 0x0c, 0x40, 0x0e, 0xa5, 0xcc, - 0xf7, 0x40, 0x9e, 0x39, 0xb9, 0x02, 0x5e, 0x75, 0x4b, 0x55, 0x09, 0x81, 0x52, 0x12, 0xb2, 0x47, - 0x08, 0xc9, 0x1c, 0x42, 0x14, 0x74, 0xf3, 0xa3, 0x9f, 0xee, 0xe8, 0x3d, 0x00, 0x00, 0xff, 0xff, - 0xe1, 0x7a, 0xe6, 0xc7, 0x1a, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/adx_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/adx_error.pb.go deleted file mode 100644 index a35ce4b7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/adx_error.pb.go +++ /dev/null @@ -1,119 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/adx_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_c9f794da03667699, []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_c9f794da03667699, []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 (m *AdxErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdxErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.AdxErrorEnum_AdxError", AdxErrorEnum_AdxError_name, AdxErrorEnum_AdxError_value) - proto.RegisterType((*AdxErrorEnum)(nil), "google.ads.googleads.v1.errors.AdxErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/adx_error.proto", fileDescriptor_c9f794da03667699) -} - -var fileDescriptor_c9f794da03667699 = []byte{ - // 293 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8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72, 0xcf, 0x9d, 0x7c, 0x3a, 0x28, 0x78, 0x31, - 0x3b, 0xfc, 0x77, 0xae, 0xc9, 0x59, 0xbf, 0x27, 0x69, 0x83, 0x24, 0xce, 0x53, 0xf4, 0xd3, 0xa0, - 0xcc, 0x56, 0x68, 0x85, 0x4d, 0xad, 0x88, 0x2a, 0x74, 0x17, 0xb3, 0x3f, 0x44, 0x55, 0xda, 0xdf, - 0xee, 0x72, 0x0b, 0xcf, 0x9b, 0xfb, 0x7f, 0xc6, 0xd8, 0xbb, 0x3b, 0x9e, 0xc1, 0x30, 0x26, 0x2d, - 0x06, 0x6c, 0x29, 0x0b, 0x71, 0xb7, 0xd2, 0x7e, 0xf4, 0x42, 0xce, 0xa4, 0xcd, 0x07, 0x21, 0xcf, - 0xc2, 0x1c, 0x84, 0x2f, 0x37, 0x80, 0x2a, 0xa5, 0x4c, 0x5a, 0x4a, 0x07, 0x85, 0xd2, 0x2c, 0xa4, - 0x14, 0xa4, 0xe7, 0xa3, 0x2e, 0xdd, 0xcd, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x9d, 0x58, 0x1f, - 0x59, 0xb4, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/asset_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/asset_error.pb.go deleted file mode 100644 index c1f08b44..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/asset_error.pb.go +++ /dev/null @@ -1,142 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/asset_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible asset errors. -type AssetErrorEnum_AssetError int32 - -const ( - // Enum unspecified. - AssetErrorEnum_UNSPECIFIED AssetErrorEnum_AssetError = 0 - // The received error code is not known in this version. - AssetErrorEnum_UNKNOWN AssetErrorEnum_AssetError = 1 - // The customer is not whitelisted for this asset type. - AssetErrorEnum_CUSTOMER_NOT_WHITELISTED_FOR_ASSET_TYPE AssetErrorEnum_AssetError = 2 - // Assets are duplicated across operations. - AssetErrorEnum_DUPLICATE_ASSET AssetErrorEnum_AssetError = 3 - // The asset name is duplicated, either across operations or with an - // existing asset. - AssetErrorEnum_DUPLICATE_ASSET_NAME AssetErrorEnum_AssetError = 4 - // The Asset.asset_data oneof is empty. - AssetErrorEnum_ASSET_DATA_IS_MISSING AssetErrorEnum_AssetError = 5 - // The asset has a name which is different from an existing duplicate that - // represents the same content. - AssetErrorEnum_CANNOT_MODIFY_ASSET_NAME AssetErrorEnum_AssetError = 6 -) - -var AssetErrorEnum_AssetError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "CUSTOMER_NOT_WHITELISTED_FOR_ASSET_TYPE", - 3: "DUPLICATE_ASSET", - 4: "DUPLICATE_ASSET_NAME", - 5: "ASSET_DATA_IS_MISSING", - 6: "CANNOT_MODIFY_ASSET_NAME", -} - -var AssetErrorEnum_AssetError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "CUSTOMER_NOT_WHITELISTED_FOR_ASSET_TYPE": 2, - "DUPLICATE_ASSET": 3, - "DUPLICATE_ASSET_NAME": 4, - "ASSET_DATA_IS_MISSING": 5, - "CANNOT_MODIFY_ASSET_NAME": 6, -} - -func (x AssetErrorEnum_AssetError) String() string { - return proto.EnumName(AssetErrorEnum_AssetError_name, int32(x)) -} - -func (AssetErrorEnum_AssetError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_d1e46d0937f553c0, []int{0, 0} -} - -// Container for enum describing possible asset errors. -type AssetErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AssetErrorEnum) Reset() { *m = AssetErrorEnum{} } -func (m *AssetErrorEnum) String() string { return proto.CompactTextString(m) } -func (*AssetErrorEnum) ProtoMessage() {} -func (*AssetErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_d1e46d0937f553c0, []int{0} -} - -func (m *AssetErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AssetErrorEnum.Unmarshal(m, b) -} -func (m *AssetErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AssetErrorEnum.Marshal(b, m, deterministic) -} -func (m *AssetErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AssetErrorEnum.Merge(m, src) -} -func (m *AssetErrorEnum) XXX_Size() int { - return xxx_messageInfo_AssetErrorEnum.Size(m) -} -func (m *AssetErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_AssetErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_AssetErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.errors.AssetErrorEnum_AssetError", AssetErrorEnum_AssetError_name, AssetErrorEnum_AssetError_value) - proto.RegisterType((*AssetErrorEnum)(nil), "google.ads.googleads.v1.errors.AssetErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/asset_error.proto", fileDescriptor_d1e46d0937f553c0) -} - -var fileDescriptor_d1e46d0937f553c0 = []byte{ - // 380 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xc1, 0x8e, 0xd3, 0x30, - 0x10, 0x86, 0x49, 0x16, 0x16, 0xc9, 0x2b, 0xd1, 0xc8, 0x80, 0x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95, 0x51, 0xcf, 0x85, 0x4f, 0xc1, 0x24, 0xce, 0xb3, 0x7b, 0x16, 0x11, 0x49, 0xed, 0x8d, - 0x77, 0x01, 0xaf, 0xc1, 0xb3, 0xbf, 0x92, 0x8a, 0x93, 0x84, 0x7a, 0x0f, 0xe1, 0x0b, 0xf0, 0xdc, - 0xc6, 0x31, 0x91, 0x44, 0x31, 0xa1, 0x12, 0x26, 0x04, 0xe3, 0x33, 0xef, 0x11, 0xbc, 0x01, 0xd7, - 0x11, 0xe1, 0x43, 0xc3, 0x24, 0x8d, 0xd9, 0x74, 0xf5, 0xa7, 0xf1, 0xf2, 0xee, 0xe0, 0x00, 0xff, - 0xb3, 0xde, 0xa2, 0xff, 0x4f, 0xe6, 0x6e, 0x72, 0xfe, 0x65, 0x36, 0x0c, 0x23, 0x73, 0x3e, 0xc6, - 0xbf, 0x2d, 0x8d, 0xde, 0x94, 0x6d, 0x83, 0x74, 0xd7, 0x04, 0x4d, 0xdd, 0x8e, 0xa3, 0x3a, 0xae, - 0x63, 0xb7, 0x36, 0xff, 0xda, 0xce, 0x3b, 0x7b, 0x7c, 0x75, 0x2f, 0x66, 0x84, 0x7c, 0x73, 0x6f, - 0x67, 0xb6, 0x18, 0xa9, 0x0c, 0xb2, 0x72, 0x50, 0x8b, 0x10, 0x8d, 0x2d, 0xcd, 0x8f, 0x23, 0x50, - 0x90, 0xca, 0x14, 0x27, 0xa0, 0x58, 0x84, 0x85, 0x05, 0x0e, 0xae, 0x6f, 0xb3, 0x18, 0x93, 0xca, - 0x60, 0x7c, 0x42, 0x30, 0x5e, 0x84, 0x18, 0x5b, 0xe8, 0xd3, 0xe5, 0xf8, 0xba, 0xb7, 0xbf, 0x02, - 0x00, 0x00, 0xff, 0xff, 0xcc, 0x3d, 0xa0, 0x27, 0x3a, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/authentication_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/authentication_error.pb.go deleted file mode 100644 index d028a874..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/authentication_error.pb.go +++ /dev/null @@ -1,208 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/authentication_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_22e1e89d89e15d35, []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_22e1e89d89e15d35, []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 (m *AuthenticationErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AuthenticationErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.AuthenticationErrorEnum_AuthenticationError", AuthenticationErrorEnum_AuthenticationError_name, AuthenticationErrorEnum_AuthenticationError_value) - proto.RegisterType((*AuthenticationErrorEnum)(nil), "google.ads.googleads.v1.errors.AuthenticationErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/authentication_error.proto", fileDescriptor_22e1e89d89e15d35) -} - -var fileDescriptor_22e1e89d89e15d35 = []byte{ - // 558 bytes of a gzipped FileD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8, 0x16, 0x59, 0x41, 0xf7, 0x22, 0x31, 0x12, 0xf2, 0x48, 0xe0, 0x25, - 0xb2, 0x85, 0xd6, 0x69, 0xa4, 0x0e, 0x40, 0x28, 0xee, 0x52, 0xc5, 0xa5, 0xd0, 0x10, 0x04, 0x32, - 0xc0, 0x1d, 0xb2, 0x8b, 0x76, 0x5c, 0x8f, 0x83, 0x50, 0xda, 0x8d, 0x42, 0x25, 0x0f, 0x21, 0xd0, - 0x9c, 0x69, 0x2e, 0x62, 0xea, 0x71, 0x86, 0xef, 0x90, 0x0d, 0x44, 0x1a, 0x40, 0x48, 0xa5, 0x07, - 0x32, 0x12, 0x0c, 0xdf, 0x27, 0x3b, 0x68, 0x63, 0x28, 0xe5, 0xd0, 0x03, 0x4d, 0x5d, 0x57, 0x46, - 0x42, 0x69, 0x06, 0x1e, 0x28, 0x60, 0xf8, 0x01, 0x79, 0x81, 0x9e, 0xb5, 0x30, 0x57, 0xca, 0x11, - 0x87, 0xc6, 0x16, 0x91, 0x57, 0x68, 0xaf, 0x45, 0x69, 0xe5, 0x1b, 0x50, 0xee, 0x01, 0xc3, 0xdb, - 0xe4, 0x0d, 0x7a, 0xdd, 0x62, 0x46, 0x21, 0x04, 0x9a, 0x0a, 0xa6, 0x29, 0x0b, 0xab, 0x3f, 0x87, - 0x3c, 0x3c, 0xa4, 0xca, 0x3d, 0xc0, 0xab, 0x64, 0x1b, 0x3d, 0xf1, 0xe4, 0x90, 0x8b, 0xba, 0x65, - 0x00, 0x1f, 0x22, 0x1e, 0x00, 0xc3, 0x0f, 0x09, 0x46, 0xab, 0xe6, 0x06, 0xb5, 0x0a, 0x3f, 0x22, - 0x9b, 0xa8, 0x2b, 0x4d, 0x5f, 0xad, 0xe4, 0x08, 0x44, 0x13, 0x6f, 0xad, 0x0d, 0xc0, 0x47, 0xbf, - 0xf4, 0xc0, 0x66, 0x90, 0x57, 0x01, 0xc6, 0x43, 0xba, 0x6f, 0x72, 0x3e, 0x6e, 0x4b, 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x00, 0x00, 0xff, 0xff, 0xc1, 0xb7, 0xd1, 0x26, 0xe2, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/authorization_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/authorization_error.pb.go deleted file mode 100644 index 260a272b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/authorization_error.pb.go +++ /dev/null @@ -1,173 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/authorization_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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. Note: If you're - // accessing a client customer, the manager's customer id must be set in the - // 'login-customer-id' header. See - // https://developers.google.com/google-ads/api/docs/concepts/ - // call-structure#login-customer-id - 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 - // The customer can't be used because it isn't enabled. - AuthorizationErrorEnum_CUSTOMER_NOT_ENABLED AuthorizationErrorEnum_AuthorizationError = 24 - // The developer must sign the terms of service. They can be found here: - // ads.google.com/aw/apicenter - AuthorizationErrorEnum_MISSING_TOS AuthorizationErrorEnum_AuthorizationError = 9 - // The developer token is not approved. Non-approved developer tokens can - // only be used with test accounts. - AuthorizationErrorEnum_DEVELOPER_TOKEN_NOT_APPROVED AuthorizationErrorEnum_AuthorizationError = 10 -) - -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", - 24: "CUSTOMER_NOT_ENABLED", - 9: "MISSING_TOS", - 10: "DEVELOPER_TOKEN_NOT_APPROVED", -} - -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, - "CUSTOMER_NOT_ENABLED": 24, - "MISSING_TOS": 9, - "DEVELOPER_TOKEN_NOT_APPROVED": 10, -} - -func (x AuthorizationErrorEnum_AuthorizationError) String() string { - return proto.EnumName(AuthorizationErrorEnum_AuthorizationError_name, int32(x)) -} - -func (AuthorizationErrorEnum_AuthorizationError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a8139e3547d5c236, []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_a8139e3547d5c236, []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 (m *AuthorizationErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AuthorizationErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.AuthorizationErrorEnum_AuthorizationError", AuthorizationErrorEnum_AuthorizationError_name, AuthorizationErrorEnum_AuthorizationError_value) - proto.RegisterType((*AuthorizationErrorEnum)(nil), "google.ads.googleads.v1.errors.AuthorizationErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/authorization_error.proto", fileDescriptor_a8139e3547d5c236) -} - -var fileDescriptor_a8139e3547d5c236 = []byte{ - // 462 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xc1, 0x6e, 0xd3, 0x30, - 0x18, 0xc7, 0x69, 0x06, 0x1b, 0x78, 0x07, 0x82, 0x19, 0xdb, 0x54, 0x4d, 0x05, 0x95, 0x7b, 0xa2, - 0x88, 0x0b, 0x0a, 0x27, 0x37, 0xf9, 0x68, 0xcd, 0x5a, 0xdb, 0x72, 0x9c, 0x4c, 0x9a, 0x2a, 0x45, - 0x81, 0x54, 0xa1, 0xd2, 0x16, 0x57, 0x49, 0xb7, 0x03, 0x8f, 0xc3, 0x91, 0xa7, 0xe0, 0xcc, 0x2b, - 0xf0, 0x06, 0x1c, 0x79, 0x02, 0xe4, 0x98, 0x56, 0x88, 0xc2, 0x4e, 0xf9, 0xf4, 0xf9, 0xf7, 0xff, - 0xff, 0xfd, 0xe5, 0x33, 0x7a, 0x5d, 0x69, 0x5d, 0x5d, 0x2d, 0xfc, 0xa2, 0x6c, 0x7d, 0x5b, 0x9a, - 0xea, 0x36, 0xf0, 0x17, 0x4d, 0xa3, 0x9b, 0xd6, 0x2f, 0x6e, 0xd6, 0x1f, 0x75, 0xb3, 0xfc, 0x54, - 0xac, 0x97, 0xba, 0xce, 0xbb, 0xa6, 0xb7, 0x6a, 0xf4, 0x5a, 0xe3, 0x81, 0xc5, 0xbd, 0xa2, 0x6c, - 0xbd, 0xad, 0xd2, 0xbb, 0x0d, 0x3c, 0xab, 0xec, 0x9f, 0x6d, 0x9c, 0x57, 0x4b, 0xbf, 0xa8, 0x6b, - 0xbd, 0xee, 0x2c, 0x5a, 0xab, 0x1e, 0x7e, 0x77, 0xd0, 0x31, 0xf9, 0xd3, 0x1b, 0x8c, 0x0a, 0xea, - 0x9b, 0xeb, 0xe1, 0x57, 0x07, 0xe1, 0xdd, 0x23, 0xfc, 0x18, 0x1d, 0xa6, 0x2c, 0x11, 0x10, 0xd1, - 0xb7, 0x14, 0x62, 0xf7, 0x1e, 0x3e, 0x44, 0x07, 0x29, 0x3b, 0x67, 0xfc, 0x82, 0xb9, 0x3d, 0xdc, - 0x47, 0xc7, 0x69, 0x02, 0x32, 0x17, 0x20, 0x67, 0x34, 0x49, 0x28, 0x67, 0x79, 0x0c, 0xcc, 0x80, - 0x0e, 0x7e, 0x89, 0x9e, 0xc7, 0x90, 0xc1, 0x94, 0x0b, 0x90, 0xb9, 0xe2, 0xe7, 0xc0, 0x72, 0xc6, - 0x55, 0x7e, 0x31, 0xa1, 0x0a, 0xa6, 0x34, 0x51, 0x10, 0xbb, 0x7b, 0x78, 0x80, 0xfa, 0x7f, 0x43, - 0x42, 0xf2, 0x09, 0x1d, 0x51, 0x73, 0x7e, 0x1f, 0x1f, 0x21, 0x57, 0x48, 0xfe, 0x0e, 0x22, 0x95, - 0xc7, 0x34, 0x21, 0xa3, 0x29, 0xc4, 0xee, 0x03, 0x7c, 0x82, 0x9e, 0x92, 0x54, 0x4d, 0xb8, 0xa4, - 0x97, 0x44, 0x99, 0x50, 0x90, 0x92, 0x4b, 0x77, 0x1f, 0x9f, 0xa2, 0x23, 0x12, 0x75, 0x1d, 0x13, - 0xd5, 0xdd, 0x4a, 0x19, 0xa3, 0x03, 0xfc, 0x0c, 0x3d, 0xa1, 0x2c, 0xe2, 0x33, 0x31, 0x05, 0x05, - 0x79, 0x42, 0xc7, 0x2c, 0x15, 0xee, 0x43, 0x23, 0x88, 0xd2, 0x44, 0xf1, 0x19, 0xc8, 0x4e, 0x02, - 0xcc, 0x66, 0x9c, 0x9a, 0xc1, 0xbb, 0x91, 0xd8, 0x38, 0x57, 0x3c, 0x71, 0x1f, 0xe1, 0x17, 0xe8, - 0xec, 0x5f, 0xf3, 0x10, 0x21, 0x24, 0xcf, 0x20, 0x76, 0xd1, 0xe8, 0x67, 0x0f, 0x0d, 0x3f, 0xe8, - 0x6b, 0xef, 0xee, 0x15, 0x8d, 0x4e, 0x76, 0x7f, 0xb3, 0x30, 0xdb, 0x11, 0xbd, 0xcb, 0xf8, 0xb7, - 0xb4, 0xd2, 0x57, 0x45, 0x5d, 0x79, 0xba, 0xa9, 0xfc, 0x6a, 0x51, 0x77, 0xbb, 0xdb, 0xbc, 0x93, - 0xd5, 0xb2, 0xfd, 0xdf, 0xb3, 0x79, 0x63, 0x3f, 0x9f, 0x9d, 0xbd, 0x31, 0x21, 0x5f, 0x9c, 0xc1, - 0xd8, 0x9a, 0x91, 0xb2, 0xf5, 0x6c, 0x69, 0xaa, 0x2c, 0xf0, 0xba, 0xc8, 0xf6, 0xdb, 0x06, 0x98, - 0x93, 0xb2, 0x9d, 0x6f, 0x81, 0x79, 0x16, 0xcc, 0x2d, 0xf0, 0xc3, 0x19, 0xda, 0x6e, 0x18, 0x92, - 0xb2, 0x0d, 0xc3, 0x2d, 0x12, 0x86, 0x59, 0x10, 0x86, 0x16, 0x7a, 0xbf, 0xdf, 0xdd, 0xee, 0xd5, - 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x68, 0x0f, 0xf8, 0xb2, 0xd3, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/bidding_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/bidding_error.pb.go deleted file mode 100644 index 4340fb73..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/bidding_error.pb.go +++ /dev/null @@ -1,240 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/bidding_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // The field is not compatible with the payment mode. - BiddingErrorEnum_NOT_COMPATIBLE_WITH_PAYMENT_MODE BiddingErrorEnum_BiddingError = 34 - // The field is not compatible with the budget type. - BiddingErrorEnum_NOT_COMPATIBLE_WITH_BUDGET_TYPE BiddingErrorEnum_BiddingError = 35 - // The field is not compatible with the bidding strategy type. - BiddingErrorEnum_NOT_COMPATIBLE_WITH_BIDDING_STRATEGY_TYPE BiddingErrorEnum_BiddingError = 36 -) - -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", - 34: "NOT_COMPATIBLE_WITH_PAYMENT_MODE", - 35: "NOT_COMPATIBLE_WITH_BUDGET_TYPE", - 36: "NOT_COMPATIBLE_WITH_BIDDING_STRATEGY_TYPE", -} - -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, - "NOT_COMPATIBLE_WITH_PAYMENT_MODE": 34, - "NOT_COMPATIBLE_WITH_BUDGET_TYPE": 35, - "NOT_COMPATIBLE_WITH_BIDDING_STRATEGY_TYPE": 36, -} - -func (x BiddingErrorEnum_BiddingError) String() string { - return proto.EnumName(BiddingErrorEnum_BiddingError_name, int32(x)) -} - -func (BiddingErrorEnum_BiddingError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a54920be9d4893fa, []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_a54920be9d4893fa, []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 (m *BiddingErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_BiddingErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.BiddingErrorEnum_BiddingError", BiddingErrorEnum_BiddingError_name, BiddingErrorEnum_BiddingError_value) - proto.RegisterType((*BiddingErrorEnum)(nil), "google.ads.googleads.v1.errors.BiddingErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/bidding_error.proto", fileDescriptor_a54920be9d4893fa) -} - -var fileDescriptor_a54920be9d4893fa = []byte{ - // 739 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00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x4b, 0xa3, 0xc4, 0x9f, - 0x05, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/bidding_strategy_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/bidding_strategy_error.pb.go deleted file mode 100644 index e9816b84..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/bidding_strategy_error.pb.go +++ /dev/null @@ -1,144 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/bidding_strategy_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // The bidding strategy is incompatible with the campaign's bidding - // strategy goal type. - BiddingStrategyErrorEnum_INCOMPATIBLE_BIDDING_STRATEGY_AND_BIDDING_STRATEGY_GOAL_TYPE BiddingStrategyErrorEnum_BiddingStrategyError = 6 -) - -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", - 6: "INCOMPATIBLE_BIDDING_STRATEGY_AND_BIDDING_STRATEGY_GOAL_TYPE", -} - -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, - "INCOMPATIBLE_BIDDING_STRATEGY_AND_BIDDING_STRATEGY_GOAL_TYPE": 6, -} - -func (x BiddingStrategyErrorEnum_BiddingStrategyError) String() string { - return proto.EnumName(BiddingStrategyErrorEnum_BiddingStrategyError_name, int32(x)) -} - -func (BiddingStrategyErrorEnum_BiddingStrategyError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4903c61cc975ddf7, []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_4903c61cc975ddf7, []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 (m *BiddingStrategyErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_BiddingStrategyErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.BiddingStrategyErrorEnum_BiddingStrategyError", BiddingStrategyErrorEnum_BiddingStrategyError_name, BiddingStrategyErrorEnum_BiddingStrategyError_value) - proto.RegisterType((*BiddingStrategyErrorEnum)(nil), "google.ads.googleads.v1.errors.BiddingStrategyErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/bidding_strategy_error.proto", fileDescriptor_4903c61cc975ddf7) -} - -var fileDescriptor_4903c61cc975ddf7 = []byte{ - // 408 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x41, 0x8b, 0xd4, 0x30, - 0x1c, 0xc5, 0x9d, 0xae, 0xae, 0x90, 0x05, 0x2d, 0xc1, 0x83, 0x8a, 0x0c, 0x58, 0x11, 0x6f, 0x29, - 0xc5, 0x5b, 0xd6, 0x83, 0x69, 0x13, 0x6b, 0x70, 0x26, 0x0d, 0xd3, 0xcc, 0xc8,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, 0xaa, 0x05, 0x51, 0x2c, 0xbf, 0xd0, 0xea, 0x42, 0xb2, 0xf0, 0x04, 0xbe, 0x04, 0xcf, - 0xf7, 0xc6, 0x05, 0x9b, 0x17, 0x2b, 0xa6, 0x49, 0x59, 0x16, 0x19, 0x27, 0x8a, 0xd1, 0xd1, 0x1b, - 0xde, 0x85, 0x11, 0x98, 0xde, 0x4a, 0x18, 0xa0, 0x72, 0x29, 0x65, 0xb1, 0x50, 0x8c, 0x86, 0xf7, - 0xe0, 0x5b, 0xf0, 0x86, 0x8b, 0xac, 0x98, 0x4b, 0xa2, 0x78, 0x3a, 0x3b, 0xf2, 0x24, 0x11, 0xf4, - 0xf6, 0x30, 0x2f, 0xc8, 0xcc, 0x2f, 0x73, 0x9a, 0xfe, 0x9e, 0x80, 0xe8, 0xb3, 0xbd, 0x46, 0xff, - 0xaf, 0x38, 0x7d, 0x72, 0xac, 0x24, 0x39, 0xf4, 0x2b, 0x27, 0x9f, 0xe8, 0x1e, 0x36, 0xf6, 0xaa, - 0x6a, 0x0d, 0xb2, 0x9d, 0x89, 0xcd, 0xa6, 0xdd, 0xb5, 0x7f, 0x38, 0xf6, 0xb6, 0x71, 0xff, 0xba, - 0xfd, 0xb9, 0xff, 0x7c, 0x0f, 0x4e, 0x72, 0x42, 0x7e, 0x04, 0xd3, 0xdc, 0x87, 0x91, 0xda, 0x21, - 0x2f, 0x07, 0xb5, 0x4a, 0xd0, 0xee, 0x49, 0xf7, 0xf3, 0x60, 0x58, 0x93, 0xda, 0xad, 0x47, 0xc3, - 0x7a, 0x95, 0xac, 0xbd, 0xe1, 0x57, 0x10, 0xf9, 0x29, 0xc6, 0xa4, 0x76, 0x18, 0x8f, 0x16, 0x8c, - 0x57, 0x09, 0xc6, 0xde, 0x74, 0x79, 0xba, 0xdb, 0xee, 0xf5, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, - 0x22, 0xb7, 0x07, 0xda, 0x98, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/billing_setup_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/billing_setup_error.pb.go deleted file mode 100644 index e4636b08..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/billing_setup_error.pb.go +++ /dev/null @@ -1,204 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/billing_setup_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_be69d6086d69218d, []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_be69d6086d69218d, []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 (m *BillingSetupErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_BillingSetupErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.BillingSetupErrorEnum_BillingSetupError", BillingSetupErrorEnum_BillingSetupError_name, BillingSetupErrorEnum_BillingSetupError_value) - proto.RegisterType((*BillingSetupErrorEnum)(nil), "google.ads.googleads.v1.errors.BillingSetupErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/billing_setup_error.proto", fileDescriptor_be69d6086d69218d) -} - -var fileDescriptor_be69d6086d69218d = []byte{ - // 568 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xcf, 0x6f, 0xd3, 0x30, - 0x14, 0xc7, 0x59, 0x37, 0x36, 0xf0, 0x80, 0x19, 0x8b, 0x1f, 0x63, 0x3f, 0x45, 0x77, 0xe0, 0x96, - 0xa8, 0x4c, 0x48, 0x28, 0x9c, 0xdc, 0xe4, 0x35, 0xb5, 0x48, 0xed, 0x28, 0x76, 0x3a, 0x8a, 0x2a, - 0x59, 0x1d, 0xad, 0xa2, 0x4a, 0x5d, 0x52, 0x35, 0xdd, 0xfe, 0x20, 0x8e, 0xfc, 0x29, 0xfc, 0x17, - 0x5c, 0xb9, 0x71, 0xe6, 0x82, 0x12, 0xb7, 0x51, 0xab, 0x0a, 0xc4, 0xc9, 0x4f, 0x7e, 0xdf, 0xef, - 0xe7, 0xf9, 0x3d, 0x3d, 0xa3, 0xf7, 0x49, 0x96, 0x25, 0x93, 0x91, 0x3d, 0x18, 0xe6, 0xb6, 0x09, - 0x8b, 0xe8, 0xae, 0x61, 0x8f, 0x66, 0xb3, 0x6c, 0x96, 0xdb, 0xd7, 0xe3, 0xc9, 0x64, 0x9c, 0x26, - 0x3a, 0x1f, 0xcd, 0x6f, 0xa7, 0xba, 0xbc, 0xb4, 0xa6, 0xb3, 0x6c, 0x9e, 0x91, 0x33, 0x23, 0xb7, - 0x06, 0xc3, 0xdc, 0xaa, 0x9c, 0xd6, 0x5d, 0xc3, 0x32, 0xce, 0xa3, 0x93, 0x25, 0x79, 0x3a, 0xb6, - 0x07, 0x69, 0x9a, 0xcd, 0x07, 0xf3, 0x71, 0x96, 0xe6, 0xc6, 0x5d, 0xff, 0xbd, 0x83, 0x9e, 0x37, - 0x0d, 0x5b, 0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 0x6f, 0x04, 0x3f, 0x6b, 0x75, 0x73, 0xeb, 0x38, 0x74, 0x98, 0x3b, 0x4e, 0x25, 0x71, 0x9c, - 0x6e, 0xc3, 0x71, 0x8c, 0xe8, 0x7a, 0xb7, 0x7c, 0xdd, 0xe5, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, - 0x29, 0x15, 0x51, 0x97, 0xf2, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/campaign_budget_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/campaign_budget_error.pb.go deleted file mode 100644 index 633873ef..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/campaign_budget_error.pb.go +++ /dev/null @@ -1,198 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/campaign_budget_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_c441af0a1cb3d01f, []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_c441af0a1cb3d01f, []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 (m *CampaignBudgetErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignBudgetErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.CampaignBudgetErrorEnum_CampaignBudgetError", CampaignBudgetErrorEnum_CampaignBudgetError_name, CampaignBudgetErrorEnum_CampaignBudgetError_value) - proto.RegisterType((*CampaignBudgetErrorEnum)(nil), "google.ads.googleads.v1.errors.CampaignBudgetErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/campaign_budget_error.proto", fileDescriptor_c441af0a1cb3d01f) -} - -var fileDescriptor_c441af0a1cb3d01f = []byte{ - // 582 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xdf, 0x6a, 0xd4, 0x4c, - 0x18, 0xc6, 0xbf, 0x6e, 0xbf, 0xb6, 0x3a, 0xd5, 0x76, 0x1c, 0xd1, 0x6a, 0x95, 0x22, 0x4b, 0x05, - 0x45, 0x48, 0x58, 0x05, 0x91, 0x28, 0xc8, 0x24, 0x99, 0xcd, 0x0e, 0x26, 0x33, 0x21, 0x99, 0x49, - 0x5d, 0x59, 0x18, 0xd2, 0x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4, 0x94, 0xe5, 0x5b, 0xf0, 0x76, 0x79, 0xd7, 0x17, 0x00, 0xc1, 0xb9, 0x72, 0x71, 0xe0, 0x10, - 0xb8, 0x83, 0x1e, 0x82, 0x7b, 0x8c, 0x38, 0x58, 0xd0, 0x88, 0xa8, 0xdf, 0x45, 0x70, 0x17, 0x3d, - 0x07, 0x4f, 0x19, 0x67, 0xab, 0xd9, 0x79, 0x77, 0xe5, 0xbb, 0x08, 0x92, 0x8c, 0x0a, 0x08, 0xcd, - 0x9f, 0x6b, 0xa0, 0x7d, 0x92, 0x8f, 0xb5, 0xbf, 0xef, 0x89, 0xf9, 0xe0, 0x8a, 0xa7, 0xee, 0x97, - 0x3b, 0xe2, 0xaf, 0x7d, 0xb2, 0xe7, 0x6c, 0x9a, 0x9f, 0xc6, 0x59, 0xaa, 0xe5, 0xd3, 0x54, 0x4f, - 0x87, 0x59, 0xb5, 0x41, 0x8b, 0x7d, 0x9d, 0x8c, 0x8a, 0x3f, 0xad, 0xef, 0xdb, 0xfa, 0xf3, 0xb9, - 0xb5, 0xee, 0x60, 0xfc, 0xa5, 0x75, 0xe0, 0xd4, 0x66, 0x38, 0x29, 0xb4, 0xba, 0x2c, 0xab, 0xa8, - 0xa3, 0x55, 0x91, 0xc5, 0xb7, 0x85, 0x60, 0x80, 0x93, 0x62, 0xb0, 0x14, 0x0c, 0xa2, 0xce, 0xa0, - 0x16, 0xfc, 0x68, 0xb5, 0xeb, 0x53, 0xc3, 0xc0, 0x49, 0x61, 0x18, 0x4b, 0x89, 0x61, 0x44, 0x1d, - 0xc3, 0xa8, 0x45, 0xc7, 0x9b, 0xd5, 0x74, 0xaf, 0x7e, 0x05, 0x00, 0x00, 0xff, 0xff, 0xff, 0xf7, - 0xa5, 0x0c, 0x5b, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/campaign_criterion_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/campaign_criterion_error.pb.go deleted file mode 100644 index 2b42114d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/campaign_criterion_error.pb.go +++ /dev/null @@ -1,177 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/campaign_criterion_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_3abd0050e308ff58, []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_3abd0050e308ff58, []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 (m *CampaignCriterionErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignCriterionErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.CampaignCriterionErrorEnum_CampaignCriterionError", CampaignCriterionErrorEnum_CampaignCriterionError_name, CampaignCriterionErrorEnum_CampaignCriterionError_value) - proto.RegisterType((*CampaignCriterionErrorEnum)(nil), "google.ads.googleads.v1.errors.CampaignCriterionErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/campaign_criterion_error.proto", fileDescriptor_3abd0050e308ff58) -} - -var fileDescriptor_3abd0050e308ff58 = []byte{ - // 526 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xd1, 0x6a, 0xd4, 0x40, - 0x14, 0x86, 0xed, 0xae, 0xb6, 0x3a, 0x15, 0x0c, 0x23, 0x56, 0x5a, 0x6b, 0x29, 0xab, 0x50, 0x44, - 0x4c, 0x58, 0xbc, 0x8b, 0x88, 0x4c, 0x27, 0xa7, 0xe9, 0x60, 0x3a, 0x33, 0x4e, 0x26, 0xab, 0x95, - 0x85, 0x21, 0x76, 0x97, 0x10, 0xe8, 0x26, 0x4b, 0xb2, 0xf6, 0x81, 0xbc, 0xf4, 0x51, 0x7c, 0x00, - 0x1f, 0xc2, 0x7b, 0xbd, 0x96, 0x64, 0xb2, 0x6b, 0x91, 0xd5, 0xab, 0x9c, 0xe4, 0x7c, 0xff, 0x7f, - 0x7e, 0xc8, 0x8f, 0x5e, 0x67, 0x65, 0x99, 0x5d, 0x4e, 0xbd, 0x74, 0x52, 0x7b, 0x76, 0x6c, 0xa6, - 0xab, 0xa1, 0x37, 0xad, 0xaa, 0xb2, 0xaa, 0xbd, 0x8b, 0x74, 0x36, 0x4f, 0xf3, 0xac, 0x30, 0x17, - 0x55, 0xbe, 0x98, 0x56, 0x79, 0x59, 0x98, 0x76, 0xe3, 0xce, 0xab, 0x72, 0x51, 0xe2, 0x03, 0xab, - 0x71, 0xd3, 0x49, 0xed, 0xae, 0xe4, 0xee, 0xd5, 0xd0, 0xb5, 0xf2, 0xbd, 0xfd, 0xa5, 0xfd, 0x3c, - 0xf7, 0xd2, 0xa2, 0x28, 0x17, 0xe9, 0x22, 0x2f, 0x8b, 0xda, 0xaa, 0x07, 0x3f, 0xfb, 0x68, 0x8f, - 0x76, 0x07, 0xe8, 0xd2, 0x1f, 0x1a, 0x25, 0x14, 0x9f, 0x67, 0x83, 0xef, 0x7d, 0xb4, 0xb3, 0x7e, - 0x8d, 0xef, 0xa1, 0xed, 0x84, 0xc7, 0x12, 0x28, 0x3b, 0x61, 0x10, 0x38, 0x37, 0xf0, 0x36, 0xda, - 0x4a, 0xf8, 0x5b, 0x2e, 0xde, 0x73, 0x67, 0x03, 0xef, 0xa1, 0x1d, 0x2a, 0x38, 0x55, 0xa0, 0xc1, - 0xe8, 0x73, 0x09, 0x46, 0xc1, 0xbb, 0x84, 0x29, 0x08, 0x9c, 0x1e, 0xde, 0x45, 0x0f, 0x18, 0x1f, - 0x91, 0x88, 0x05, 0x46, 0x46, 0x84, 0xc2, 0x19, 0x70, 0x6d, 0x12, 0x15, 0x39, 0x7d, 0x7c, 0x88, - 0xf6, 0x29, 0xe1, 0x5c, 0x68, 0x03, 0x1f, 0x68, 0x94, 0x04, 0x60, 0xa8, 0x62, 0x1a, 0x14, 0x23, - 0xad, 0x8b, 0x73, 0x13, 0x1f, 0xa1, 0x27, 0x1d, 0x11, 0x83, 0x36, 0xb1, 0x26, 0x3a, 0x89, 0x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9, 0xc7, 0x97, 0x5e, 0x3f, 0x24, 0xe4, 0x6b, 0xef, 0x20, 0xb4, - 0x66, 0x64, 0x52, 0xbb, 0x76, 0x6c, 0xa6, 0xd1, 0xd0, 0x6d, 0x4f, 0xd6, 0xdf, 0x96, 0xc0, 0x98, - 0x4c, 0xea, 0xf1, 0x0a, 0x18, 0x8f, 0x86, 0x63, 0x0b, 0xfc, 0xe8, 0x0d, 0xec, 0x57, 0xdf, 0x27, - 0x93, 0xda, 0xf7, 0x57, 0x88, 0xef, 0x8f, 0x86, 0xbe, 0x6f, 0xa1, 0x4f, 0x9b, 0x6d, 0xba, 0x97, - 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xdd, 0x6b, 0xc7, 0xa8, 0x76, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/campaign_draft_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/campaign_draft_error.pb.go deleted file mode 100644 index 23ae8e1c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/campaign_draft_error.pb.go +++ /dev/null @@ -1,172 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/campaign_draft_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible campaign draft errors. -type CampaignDraftErrorEnum_CampaignDraftError int32 - -const ( - // Enum unspecified. - CampaignDraftErrorEnum_UNSPECIFIED CampaignDraftErrorEnum_CampaignDraftError = 0 - // The received error code is not known in this version. - CampaignDraftErrorEnum_UNKNOWN CampaignDraftErrorEnum_CampaignDraftError = 1 - // A draft with this name already exists for this campaign. - CampaignDraftErrorEnum_DUPLICATE_DRAFT_NAME CampaignDraftErrorEnum_CampaignDraftError = 2 - // The draft is removed and cannot be transitioned to another status. - CampaignDraftErrorEnum_INVALID_STATUS_TRANSITION_FROM_REMOVED CampaignDraftErrorEnum_CampaignDraftError = 3 - // The draft has been promoted and cannot be transitioned to the specified - // status. - CampaignDraftErrorEnum_INVALID_STATUS_TRANSITION_FROM_PROMOTED CampaignDraftErrorEnum_CampaignDraftError = 4 - // The draft has failed to be promoted and cannot be transitioned to the - // specified status. - CampaignDraftErrorEnum_INVALID_STATUS_TRANSITION_FROM_PROMOTE_FAILED CampaignDraftErrorEnum_CampaignDraftError = 5 - // This customer is not allowed to create drafts. - CampaignDraftErrorEnum_CUSTOMER_CANNOT_CREATE_DRAFT CampaignDraftErrorEnum_CampaignDraftError = 6 - // This campaign is not allowed to create drafts. - CampaignDraftErrorEnum_CAMPAIGN_CANNOT_CREATE_DRAFT CampaignDraftErrorEnum_CampaignDraftError = 7 - // This modification cannot be made on a draft. - CampaignDraftErrorEnum_INVALID_DRAFT_CHANGE CampaignDraftErrorEnum_CampaignDraftError = 8 - // The draft cannot be transitioned to the specified status from its - // current status. - CampaignDraftErrorEnum_INVALID_STATUS_TRANSITION CampaignDraftErrorEnum_CampaignDraftError = 9 - // The campaign has reached the maximum number of drafts that can be created - // for a campaign throughout its lifetime. No additional drafts can be - // created for this campaign. Removed drafts also count towards this limit. - CampaignDraftErrorEnum_MAX_NUMBER_OF_DRAFTS_PER_CAMPAIGN_REACHED CampaignDraftErrorEnum_CampaignDraftError = 10 - // ListAsyncErrors was called without first promoting the draft. - CampaignDraftErrorEnum_LIST_ERRORS_FOR_PROMOTED_DRAFT_ONLY CampaignDraftErrorEnum_CampaignDraftError = 11 -) - -var CampaignDraftErrorEnum_CampaignDraftError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "DUPLICATE_DRAFT_NAME", - 3: "INVALID_STATUS_TRANSITION_FROM_REMOVED", - 4: "INVALID_STATUS_TRANSITION_FROM_PROMOTED", - 5: "INVALID_STATUS_TRANSITION_FROM_PROMOTE_FAILED", - 6: "CUSTOMER_CANNOT_CREATE_DRAFT", - 7: "CAMPAIGN_CANNOT_CREATE_DRAFT", - 8: "INVALID_DRAFT_CHANGE", - 9: "INVALID_STATUS_TRANSITION", - 10: "MAX_NUMBER_OF_DRAFTS_PER_CAMPAIGN_REACHED", - 11: "LIST_ERRORS_FOR_PROMOTED_DRAFT_ONLY", -} - -var CampaignDraftErrorEnum_CampaignDraftError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "DUPLICATE_DRAFT_NAME": 2, - "INVALID_STATUS_TRANSITION_FROM_REMOVED": 3, - "INVALID_STATUS_TRANSITION_FROM_PROMOTED": 4, - "INVALID_STATUS_TRANSITION_FROM_PROMOTE_FAILED": 5, - "CUSTOMER_CANNOT_CREATE_DRAFT": 6, - "CAMPAIGN_CANNOT_CREATE_DRAFT": 7, - "INVALID_DRAFT_CHANGE": 8, - "INVALID_STATUS_TRANSITION": 9, - "MAX_NUMBER_OF_DRAFTS_PER_CAMPAIGN_REACHED": 10, - "LIST_ERRORS_FOR_PROMOTED_DRAFT_ONLY": 11, -} - -func (x CampaignDraftErrorEnum_CampaignDraftError) String() string { - return proto.EnumName(CampaignDraftErrorEnum_CampaignDraftError_name, int32(x)) -} - -func (CampaignDraftErrorEnum_CampaignDraftError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_f9d5ffa518a63998, []int{0, 0} -} - -// Container for enum describing possible campaign draft errors. -type CampaignDraftErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CampaignDraftErrorEnum) Reset() { *m = CampaignDraftErrorEnum{} } -func (m *CampaignDraftErrorEnum) String() string { return proto.CompactTextString(m) } -func (*CampaignDraftErrorEnum) ProtoMessage() {} -func (*CampaignDraftErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_f9d5ffa518a63998, []int{0} -} - -func (m *CampaignDraftErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CampaignDraftErrorEnum.Unmarshal(m, b) -} -func (m *CampaignDraftErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CampaignDraftErrorEnum.Marshal(b, m, deterministic) -} -func (m *CampaignDraftErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignDraftErrorEnum.Merge(m, src) -} -func (m *CampaignDraftErrorEnum) XXX_Size() int { - return xxx_messageInfo_CampaignDraftErrorEnum.Size(m) -} -func (m *CampaignDraftErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_CampaignDraftErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_CampaignDraftErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.errors.CampaignDraftErrorEnum_CampaignDraftError", CampaignDraftErrorEnum_CampaignDraftError_name, CampaignDraftErrorEnum_CampaignDraftError_value) - proto.RegisterType((*CampaignDraftErrorEnum)(nil), "google.ads.googleads.v1.errors.CampaignDraftErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/campaign_draft_error.proto", fileDescriptor_f9d5ffa518a63998) -} - -var fileDescriptor_f9d5ffa518a63998 = []byte{ - // 482 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xdf, 0x8a, 0xd3, 0x40, - 0x14, 0xc6, 0xdd, 0x56, 0x77, 0x75, 0x7a, 0xe1, 0x30, 0x88, 0xff, 0x58, 0x17, 0xa9, 0xe0, 0xa2, - 0xb2, 0x09, 0xc1, 0x2b, 0xe3, 0xd5, 0x34, 0x33, 0xe9, 0x0e,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 0x15, 0xd2, 0xd7, 0xf6, 0xf3, 0x65, 0x30, 0x9c, - 0x62, 0xfc, 0x75, 0x70, 0x34, 0xb5, 0xc3, 0x70, 0xd1, 0x38, 0xb6, 0x6c, 0xab, 0xcc, 0x73, 0xba, - 0x95, 0xcd, 0x8f, 0x1d, 0x30, 0xc7, 0x45, 0x33, 0xef, 0x81, 0x79, 0xe6, 0xcd, 0x2d, 0xf0, 0x73, - 0x30, 0xb6, 0x5d, 0xdf, 0xc7, 0x45, 0xe3, 0xfb, 0x3d, 0xe2, 0xfb, 0x99, 0xe7, 0xfb, 0x16, 0xfa, - 0xb8, 0xdf, 0xb9, 0x7b, 0xf9, 0x3b, 0x00, 0x00, 0xff, 0xff, 0xbb, 0x6b, 0x9e, 0x4f, 0x41, 0x03, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/campaign_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/campaign_error.pb.go deleted file mode 100644 index 60d0733f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/campaign_error.pb.go +++ /dev/null @@ -1,332 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/campaign_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // The app ID was not found. - CampaignErrorEnum_APP_NOT_FOUND CampaignErrorEnum_CampaignError = 41 - // Campaign.shopping_setting.enable_local is not supported for the specified - // campaign type. - CampaignErrorEnum_SHOPPING_ENABLE_LOCAL_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE CampaignErrorEnum_CampaignError = 42 - // The merchant does not support the creation of campaigns for Shopping - // Comparison Listing Ads. - CampaignErrorEnum_MERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADS CampaignErrorEnum_CampaignError = 43 -) - -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", - 41: "APP_NOT_FOUND", - 42: "SHOPPING_ENABLE_LOCAL_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE", - 43: "MERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADS", -} - -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, - "APP_NOT_FOUND": 41, - "SHOPPING_ENABLE_LOCAL_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE": 42, - "MERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADS": 43, -} - -func (x CampaignErrorEnum_CampaignError) String() string { - return proto.EnumName(CampaignErrorEnum_CampaignError_name, int32(x)) -} - -func (CampaignErrorEnum_CampaignError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7f177f8ec60df265, []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_7f177f8ec60df265, []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 (m *CampaignErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.CampaignErrorEnum_CampaignError", CampaignErrorEnum_CampaignError_name, CampaignErrorEnum_CampaignError_value) - proto.RegisterType((*CampaignErrorEnum)(nil), "google.ads.googleads.v1.errors.CampaignErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/campaign_error.proto", fileDescriptor_7f177f8ec60df265) -} - -var fileDescriptor_7f177f8ec60df265 = []byte{ - // 1042 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x55, 0xdd, 0x6e, 0x1b, 0x37, - 0x13, 0xfd, 0x92, 0x7c, 0x4d, 0x5a, 0xa6, 0x6e, 0x18, 0x36, 0x69, 0x7e, 0xeb, 0x24, 0xaa, 0x93, - 0x3a, 0x7f, 0x52, 0x55, 0xa3, 0x2d, 0xaa, 0x00, 0x01, 0x46, 0xcb, 0xd1, 0x8a, 0x30, 0x97, 0x5c, - 0x90, 0x5c, 0x39, 0x0a, 0x0c, 0x10, 0x6a, 0x6c, 0x08, 0x06, 0x62, 0xc9, 0xb0, 0xdc, 0xbc, 0x40, - 0x9f, 0xa2, 0xb7, 0xbd, 0xec, 0xa3, 0xf4, 0x51, 0x0a, 0xf4, 0x1d, 0x0a, 0x2e, 0x77, 0x57, 0x56, - 0x92, 0xfa, 0x6a, 0xb9, 0x9c, 0x33, 0x87, 0x33, 0x67, 0x66, 0x48, 0xb2, 0x35, 0x9d, 0xcf, 0xa7, - 0x6f, 0xf7, 0x3b, 0x93, 0xbd, 0x45, 0x27, 0x2e, 0xc3, 0xea, 0x5d, 0xb7, 0xb3, 0x7f, 0x7c, 0x3c, - 0x3f, 0x5e, 0x74, 0xde, 0x4c, 0x0e, 0x8f, 0x26, 0x07, 0xd3, 0x99, 0x2f, 0xff, 0xdb, 0x47, 0xc7, - 0xf3, 0x93, 0x39, 0x5b, 0x8f, 0xc8, 0xf6, 0x64, 0x6f, 0xd1, 0x6e, 0x9c, 0xda, 0xef, 0xba, 0xed, - 0xe8, 0x74, 0xfb, 0x6e, 0x4d, 0x7a, 0x74, 0xd0, 0x99, 0xcc, 0x66, 0xf3, 0x93, 0xc9, 0xc9, 0xc1, - 0x7c, 0xb6, 0x88, 0xde, 0xad, 0xdf, 0xd7, 0xc8, 0xd5, 0xa4, 0xa2, 0xc5, 0xe0, 0x80, 0xb3, 0x5f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 0x5d, 0x85, 0x1b, 0x58, 0x41, 0x28, 0x0f, 0x52, 0x7a, 0x53, - 0x28, 0x05, 0x7d, 0x89, 0xde, 0x19, 0x01, 0xd2, 0x52, 0xc2, 0x36, 0xc8, 0xfd, 0x2a, 0x88, 0x4c, - 0x73, 0x31, 0x18, 0x97, 0x0a, 0x94, 0xd6, 0xa5, 0x06, 0x97, 0xd9, 0x1d, 0x72, 0x83, 0x17, 0xb9, - 0x14, 0x09, 0x38, 0x6c, 0xf6, 0xbd, 0x82, 0x0c, 0xe9, 0xe7, 0xec, 0x1e, 0xb9, 0x23, 0x54, 0xa2, - 0xb3, 0x1c, 0x9c, 0x08, 0xdc, 0x8d, 0x7d, 0x20, 0x50, 0x72, 0xba, 0xc6, 0x6e, 0x91, 0xeb, 0x42, - 0x8d, 0x40, 0x0a, 0xfe, 0x9e, 0xef, 0x17, 0xec, 0x09, 0x79, 0x54, 0x9b, 0x80, 0x7b, 0x8b, 0x66, - 0x14, 0xf2, 0xd2, 0xb9, 0x13, 0x99, 0x78, 0x1d, 0x93, 0xb0, 0x0e, 0x5c, 0x61, 0xe9, 0x15, 0x76, - 0x93, 0x5c, 0xab, 0xb1, 0xce, 0x40, 0xb2, 0x1d, 0x90, 0x85, 0x91, 0x94, 0xb2, 0x97, 0xa4, 0x57, - 0x25, 0x61, 0xd1, 0xf9, 0xbe, 0x76, 0xc3, 0x15, 0x84, 0x77, 0x98, 0xe5, 0x32, 0x84, 0x0e, 0xea, - 0x94, 0xaf, 0x45, 0xe7, 0x84, 0x4a, 0xe9, 0xd5, 0xd0, 0x6e, 0x19, 0xbc, 0xf2, 0x22, 0xcb, 0x0d, - 0x5a, 0x2b, 0xb4, 0xb2, 0x3e, 0x90, 0x09, 0xe5, 0x0d, 0xa8, 0x14, 0x29, 0x0b, 0x02, 0x38, 0x91, - 0xa1, 0x2f, 0x94, 0x70, 0xa5, 0xcd, 0x16, 0x79, 0xae, 0x8d, 0x43, 0x4e, 0xbf, 0x64, 0x5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c2, 0x6a, 0xe5, 0xa5, 0xb0, 0x21, 0x05, - 0x0f, 0xdc, 0xd2, 0xa7, 0xfd, 0x7f, 0xce, 0x91, 0xd6, 0x9b, 0xf9, 0x61, 0xfb, 0xec, 0x07, 0xae, - 0xcf, 0x56, 0x5e, 0xaa, 0x3c, 0x3c, 0x6b, 0xf9, 0xb9, 0xd7, 0xbc, 0xf2, 0x9a, 0xce, 0xdf, 0x4e, - 0x66, 0xd3, 0xf6, 0xfc, 0x78, 0xda, 0x99, 0xee, 0xcf, 0xca, 0x47, 0xaf, 0x7e, 0x5b, 0x8f, 0x0e, - 0x16, 0xff, 0xf5, 0xd4, 0xbe, 0x88, 0x9f, 0x3f, 0xce, 0x5f, 0x48, 0x01, 0xfe, 0x3c, 0xbf, 0x9e, - 0x46, 0x32, 0xd8, 0x5b, 0xb4, 0xe3, 0x32, 0xac, 0x46, 0xdd, 0x76, 0x79, 0xe4, 0xe2, 0xaf, 0x1a, - 0xb0, 0x0b, 0x7b, 0x8b, 0xdd, 0x06, 0xb0, 0x3b, 0xea, 0xee, 0x46, 0xc0, 0xdf, 0xe7, 0x5b, 0x71, - 0xb7, 0xd7, 0x83, 0xbd, 0x45, 0xaf, 0xd7, 0x40, 0x7a, 0xbd, 0x51, 0xb7, 0xd7, 0x8b, 0xa0, 0x5f, - 0x2e, 0x96, 0xd1, 0x6d, 0xfd, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x46, 0x28, 0xb6, 0x6f, 0x07, 0x08, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/campaign_experiment_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/campaign_experiment_error.pb.go deleted file mode 100644 index 16fa838d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/campaign_experiment_error.pb.go +++ /dev/null @@ -1,175 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/campaign_experiment_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible campaign experiment errors. -type CampaignExperimentErrorEnum_CampaignExperimentError int32 - -const ( - // Enum unspecified. - CampaignExperimentErrorEnum_UNSPECIFIED CampaignExperimentErrorEnum_CampaignExperimentError = 0 - // The received error code is not known in this version. - CampaignExperimentErrorEnum_UNKNOWN CampaignExperimentErrorEnum_CampaignExperimentError = 1 - // An active campaign or experiment with this name already exists. - CampaignExperimentErrorEnum_DUPLICATE_NAME CampaignExperimentErrorEnum_CampaignExperimentError = 2 - // Experiment cannot be updated from the current state to the - // requested target state. For example, an experiment can only graduate - // if its status is ENABLED. - CampaignExperimentErrorEnum_INVALID_TRANSITION CampaignExperimentErrorEnum_CampaignExperimentError = 3 - // Cannot create an experiment from a campaign using an explicitly shared - // budget. - CampaignExperimentErrorEnum_CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET CampaignExperimentErrorEnum_CampaignExperimentError = 4 - // Cannot create an experiment for a removed base campaign. - CampaignExperimentErrorEnum_CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN CampaignExperimentErrorEnum_CampaignExperimentError = 5 - // Cannot create an experiment from a draft, which has a status other than - // proposed. - CampaignExperimentErrorEnum_CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT CampaignExperimentErrorEnum_CampaignExperimentError = 6 - // This customer is not allowed to create an experiment. - CampaignExperimentErrorEnum_CUSTOMER_CANNOT_CREATE_EXPERIMENT CampaignExperimentErrorEnum_CampaignExperimentError = 7 - // This campaign is not allowed to create an experiment. - CampaignExperimentErrorEnum_CAMPAIGN_CANNOT_CREATE_EXPERIMENT CampaignExperimentErrorEnum_CampaignExperimentError = 8 - // Trying to set an experiment duration which overlaps with another - // experiment. - CampaignExperimentErrorEnum_EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP CampaignExperimentErrorEnum_CampaignExperimentError = 9 - // All non-removed experiments must start and end within their campaign's - // duration. - CampaignExperimentErrorEnum_EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION CampaignExperimentErrorEnum_CampaignExperimentError = 10 - // The experiment cannot be modified because its status is in a terminal - // state, such as REMOVED. - CampaignExperimentErrorEnum_CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS CampaignExperimentErrorEnum_CampaignExperimentError = 11 -) - -var CampaignExperimentErrorEnum_CampaignExperimentError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "DUPLICATE_NAME", - 3: "INVALID_TRANSITION", - 4: "CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET", - 5: "CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN", - 6: "CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT", - 7: "CUSTOMER_CANNOT_CREATE_EXPERIMENT", - 8: "CAMPAIGN_CANNOT_CREATE_EXPERIMENT", - 9: "EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP", - 10: "EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION", - 11: "CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS", -} - -var CampaignExperimentErrorEnum_CampaignExperimentError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "DUPLICATE_NAME": 2, - "INVALID_TRANSITION": 3, - "CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET": 4, - "CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN": 5, - "CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT": 6, - "CUSTOMER_CANNOT_CREATE_EXPERIMENT": 7, - "CAMPAIGN_CANNOT_CREATE_EXPERIMENT": 8, - "EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP": 9, - "EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION": 10, - "CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS": 11, -} - -func (x CampaignExperimentErrorEnum_CampaignExperimentError) String() string { - return proto.EnumName(CampaignExperimentErrorEnum_CampaignExperimentError_name, int32(x)) -} - -func (CampaignExperimentErrorEnum_CampaignExperimentError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_56a23521961f4d1f, []int{0, 0} -} - -// Container for enum describing possible campaign experiment errors. -type CampaignExperimentErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CampaignExperimentErrorEnum) Reset() { *m = CampaignExperimentErrorEnum{} } -func (m *CampaignExperimentErrorEnum) String() string { return proto.CompactTextString(m) } -func (*CampaignExperimentErrorEnum) ProtoMessage() {} -func (*CampaignExperimentErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_56a23521961f4d1f, []int{0} -} - -func (m *CampaignExperimentErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CampaignExperimentErrorEnum.Unmarshal(m, b) -} -func (m *CampaignExperimentErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CampaignExperimentErrorEnum.Marshal(b, m, deterministic) -} -func (m *CampaignExperimentErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignExperimentErrorEnum.Merge(m, src) -} -func (m *CampaignExperimentErrorEnum) XXX_Size() int { - return xxx_messageInfo_CampaignExperimentErrorEnum.Size(m) -} -func (m *CampaignExperimentErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_CampaignExperimentErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_CampaignExperimentErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.errors.CampaignExperimentErrorEnum_CampaignExperimentError", CampaignExperimentErrorEnum_CampaignExperimentError_name, CampaignExperimentErrorEnum_CampaignExperimentError_value) - proto.RegisterType((*CampaignExperimentErrorEnum)(nil), "google.ads.googleads.v1.errors.CampaignExperimentErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/campaign_experiment_error.proto", fileDescriptor_56a23521961f4d1f) -} - -var fileDescriptor_56a23521961f4d1f = []byte{ - // 502 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xd1, 0x8b, 0xd3, 0x30, - 0x1c, 0xc7, 0xdd, 0x76, 0xde, 0x69, 0x06, 0x1a, 0xf2, 0xa0, 0xa0, 0xc7, 0x81, 0x83, 0x13, 0x54, - 0x68, 0x99, 0x27, 0x22, 0x15, 0x84, 0xac, 0xfd, 0x6d, 0x17, 0x5c, 0x93, 0x92, 0xa6, 0x3d, 0x91, - 0x41, 0xa8, 0xb7, 0x52, 0x06, 0xb7, 0x76, 0xb4, 0xf3, 0xf0, 0xd1, 0xbf, 0xc5, 0x47, 0xff, 0x14, - 0xff, 0x0a, 0x9f, 0xfd, 0x07, 0x7c, 0x95, 0x36, 0x5b, 0x11, 0xb1, 0xf7, 0xd4, 0x1f, 0xcd, 0xe7, - 0x93, 0x6f, 0x12, 0xbe, 0xe8, 0x5d, 0x56, 0x14, 0xd9, 0x55, 0x6a, 0x27, 0xcb, 0xca, 0x36, 0x63, - 0x3d, 0x5d, 0x8f, 0xed, 0xb4, 0x2c, 0x8b, 0xb2, 0xb2, 0x2f, 0x93, 0xf5, 0x26, 0x59, 0x65, 0xb9, - 0x4e, 0xbf, 0x6c, 0xd2, 0x72, 0xb5, 0x4e, 0xf3, 0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0x4e, 0x77, 0xf6, 0x27, 0x00, 0x00, 0xff, 0xff, 0x81, 0x55, - 0xf7, 0xc3, 0x83, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/campaign_feed_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/campaign_feed_error.pb.go deleted file mode 100644 index d4201a24..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/campaign_feed_error.pb.go +++ /dev/null @@ -1,148 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/campaign_feed_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_75d91332b6012d3f, []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_75d91332b6012d3f, []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 (m *CampaignFeedErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignFeedErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.CampaignFeedErrorEnum_CampaignFeedError", CampaignFeedErrorEnum_CampaignFeedError_name, CampaignFeedErrorEnum_CampaignFeedError_value) - proto.RegisterType((*CampaignFeedErrorEnum)(nil), "google.ads.googleads.v1.errors.CampaignFeedErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/campaign_feed_error.proto", fileDescriptor_75d91332b6012d3f) -} - -var fileDescriptor_75d91332b6012d3f = []byte{ - // 423 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0x41, 0x8e, 0xd3, 0x30, - 0x14, 0x86, 0x69, 0x80, 0x19, 0xe4, 0x59, 0x50, 0x2c, 0x81, 0x10, 0x1a, 0x75, 0x11, 0x16, 0xb0, - 0x18, 0x39, 0x44, 0x6c, 0x90, 0x59, 0x79, 0x62, 0xa7, 0x58, 0x34, 0x8e, 0x95, 0x74, 0x02, 0x45, - 0x95, 0xac, 0x30, 0x09, 0x51, 0xa5, 0x69, 0x5c, 0xc5, 0x65, 0x0e, 0xc4, 0xb2, 0xe7, 0x60, 0xc5, - 0x51, 0xd8, 0x71, 0x03, 0xe4, 0xb8, 0xad, 0x54, 0x15, 0x66, 0x95, 0x5f, 0xce, 0xf7, 0xff, 0x7e, - 0xcf, 0xef, 0x81, 0x77, 0x8d, 0xd6, 0xcd, 0x4d, 0x1d, 0x94, 0x95, 0x09, 0x9c, 0xb4, 0xea, 0x36, - 0x0c, 0xea, 0xae, 0xd3, 0x9d, 0x09, 0xae, 0xcb, 0xe5, 0xaa, 0x5c, 0x34, 0xad, 0xfa, 0x56, 0xd7, - 0x95, 0xea, 0x0f, 0xd1, 0xaa, 0xd3, 0x6b, 0x0d, 0x47, 0x0e, 0x47, 0x65, 0x65, 0xd0, 0xde, 0x89, - 0x6e, 0x43, 0xe4, 0x9c, 0x2f, 0xce, 0x77, 0xc9, 0xab, 0x45, 0x50, 0xb6, 0xad, 0x5e, 0x97, 0xeb, - 0x85, 0x6e, 0x8d, 0x73, 0xfb, 0x3f, 0x3d, 0xf0, 0x34, 0xda, 0x66, 0xc7, 0x75, 0x5d, 0x31, 0x6b, - 0x62, 0xed, 0xf7, 0xa5, 0xbf, 0xf1, 0xc0, 0x93, 0xa3, 0x3f, 0xf0, 0x31, 0x38, 0xbb, 0x12, 0xb9, - 0x64, 0x11, 0x8f, 0x39, 0xa3, 0xc3, 0x7b, 0xf0, 0x0c, 0x9c, 0x5e, 0x89, 0x8f, 0x22, 0xfd, 0x24, - 0x86, 0x03, 0x78, 0x01, 0x5e, 0xc7, 0x8c, 0x51, 0x45, 0x26, 0x19, 0x23, 0x74, 0xa6, 0xd8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77, 0xa7, 0x18, 0x93, 0xca, 0x60, 0xbc, 0x47, 0x30, 0x2e, - 0x42, 0x8c, 0x1d, 0xf4, 0xf5, 0xa4, 0xaf, 0xee, 0xed, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe2, - 0x70, 0xf2, 0xc1, 0xbb, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/campaign_shared_set_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/campaign_shared_set_error.pb.go deleted file mode 100644 index f4f5a318..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/campaign_shared_set_error.pb.go +++ /dev/null @@ -1,120 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/campaign_shared_set_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_1900787c3ad45cb6, []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_1900787c3ad45cb6, []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 (m *CampaignSharedSetErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignSharedSetErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.CampaignSharedSetErrorEnum_CampaignSharedSetError", CampaignSharedSetErrorEnum_CampaignSharedSetError_name, CampaignSharedSetErrorEnum_CampaignSharedSetError_value) - proto.RegisterType((*CampaignSharedSetErrorEnum)(nil), "google.ads.googleads.v1.errors.CampaignSharedSetErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/campaign_shared_set_error.proto", fileDescriptor_1900787c3ad45cb6) -} - -var fileDescriptor_1900787c3ad45cb6 = []byte{ - // 315 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xf3, 0x30, - 0x14, 0xc7, 0xbf, 0xf5, 0x03, 0x85, 0xec, 0xc2, 0xd1, 0x0b, 0x91, 0x39, 0x76, 0xd1, 0x07, 0x48, - 0x29, 0xde, 0x45, 0x10, 0xb2, 0x36, 0xce, 0x21, 0xd4, 0x61, 0xb6, 0x09, 0x52, 0x08, 0x71, 0x09, - 0xb1, 0xb0, 0x25, 0x25, 0xa9, 0x7b, 0x20, 0x2f, 0x7d, 0x14, 0x1f, 0xc5, 0x07, 0xf0, 0x5a, 0xda, - 0x6c, 0xbd, 0x9a, 0x5e, 0xf5, 0x4f, 0xcf, 0xef, 0x77, 0xce, 0xc9, 0x01, 0x37, 0xca, 0x18, 0xb5, - 0x91, 0x31, 0x17, 0x2e, 0xf6, 0xb1, 0x49, 0xbb, 0x24, 0x96, 0xd6, 0x1a, 0xeb, 0xe2, 0x35, 0xdf, - 0x56, 0xbc, 0x54, 0x9a, 0xb9, 0x57, 0x6e, 0xa5, 0x60, 0x4e, 0xd6, 0xac, 0x2d, 0xc1, 0xca, 0x9a, - 0xda, 0x84, 0x63, 0x2f, 0x41, 0x2e, 0x1c, 0xec, 0x7c, 0xb8, 0x4b, 0xa0, 0xf7, 0x87, 0xa3, 0x43, - 0xff, 0xaa, 0x8c, 0xb9, 0xd6, 0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ff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/change_status_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/change_status_error.pb.go deleted file mode 100644 index 53dd6755..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/change_status_error.pb.go +++ /dev/null @@ -1,120 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/change_status_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_a7c28c4196dfc2bd, []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_a7c28c4196dfc2bd, []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 (m *ChangeStatusErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChangeStatusErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.ChangeStatusErrorEnum_ChangeStatusError", ChangeStatusErrorEnum_ChangeStatusError_name, ChangeStatusErrorEnum_ChangeStatusError_value) - proto.RegisterType((*ChangeStatusErrorEnum)(nil), "google.ads.googleads.v1.errors.ChangeStatusErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/change_status_error.proto", fileDescriptor_a7c28c4196dfc2bd) -} - -var fileDescriptor_a7c28c4196dfc2bd = []byte{ - // 306 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 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x45, - 0x1a, 0x45, 0x45, 0xf4, 0xe8, 0x59, 0x93, 0xc5, 0x97, 0x01, 0x9c, 0xad, 0xd8, 0xc3, 0xbf, 0x8b, - 0x2e, 0x66, 0x27, 0xfb, 0xe2, 0xbe, 0x62, 0x6c, 0xbc, 0x78, 0x3f, 0x4e, 0x26, 0x76, 0x94, 0x33, - 0x28, 0x5a, 0x86, 0x58, 0xc5, 0xd5, 0x03, 0x86, 0x63, 0x35, 0xb5, 0xfc, 0xed, 0x76, 0x77, 0xfa, - 0xf3, 0x66, 0x4e, 0x56, 0x84, 0xbc, 0x9b, 0xf3, 0x95, 0x0e, 0x23, 0xa5, 0x84, 0x5a, 0xf6, 0x2a, - 0x73, 0xa1, 0x5a, 0x29, 0x3f, 0x06, 0x20, 0x27, 0xa5, 0xcc, 0x47, 0x20, 0xcf, 0xdc, 0x5c, 0x03, - 0x9f, 0xa6, 0xa3, 0xa7, 0x18, 0x93, 0x52, 0x62, 0x3c, 0x22, 0x18, 0x67, 0x2e, 0xc6, 0x1a, 0xda, - 0xfc, 0x57, 0xed, 0x6e, 0xbe, 0x03, 0x00, 0x00, 0xff, 0xff, 0xd5, 0xa9, 0xfd, 0xb6, 0xd8, 0x01, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/collection_size_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/collection_size_error.pb.go deleted file mode 100644 index 79f4787d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/collection_size_error.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/collection_size_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_a923d8c0ba17afcb, []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_a923d8c0ba17afcb, []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 (m *CollectionSizeErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectionSizeErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.CollectionSizeErrorEnum_CollectionSizeError", CollectionSizeErrorEnum_CollectionSizeError_name, CollectionSizeErrorEnum_CollectionSizeError_value) - proto.RegisterType((*CollectionSizeErrorEnum)(nil), "google.ads.googleads.v1.errors.CollectionSizeErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/collection_size_error.proto", fileDescriptor_a923d8c0ba17afcb) -} - -var fileDescriptor_a923d8c0ba17afcb = []byte{ - // 308 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, 0x43, 0xfd, 0xd4, 0xa2, - 0xa2, 0xfc, 0xa2, 0x62, 0xfd, 0xe4, 0xfc, 0x9c, 0x9c, 0xd4, 0xe4, 0x92, 0xcc, 0xfc, 0xbc, 0xf8, - 0xe2, 0xcc, 0xaa, 0xd4, 0x78, 0xb0, 0xb0, 0x5e, 0x41, 0x51, 0x7e, 0x49, 0xbe, 0x90, 0x1c, 0x44, - 0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0xd8, 0xca, 0xe2, 0x53, 0x30, 0x05, 0x31, 0x8e, - 0x29, 0xc5, 0x31, 0x70, 0x05, 0x31, 0x61, 0x86, 0x31, 0x10, 0x05, 0xaf, 0x98, 0x94, 0x20, 0xa2, - 0x56, 0x56, 0x8e, 0x29, 0xc5, 0x56, 0x56, 0x70, 0x25, 0x56, 0x56, 0x61, 0x86, 0x56, 0x56, 0x10, - 0x45, 0x49, 0x6c, 0x60, 0xd7, 0x19, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xfe, 0x89, 0x03, 0xbb, - 0xe3, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/context_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/context_error.pb.go deleted file mode 100644 index 5ef04b01..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/context_error.pb.go +++ /dev/null @@ -1,125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/context_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_b5179db1d8bb3be8, []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_b5179db1d8bb3be8, []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 (m *ContextErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ContextErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.ContextErrorEnum_ContextError", ContextErrorEnum_ContextError_name, ContextErrorEnum_ContextError_value) - proto.RegisterType((*ContextErrorEnum)(nil), "google.ads.googleads.v1.errors.ContextErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/context_error.proto", fileDescriptor_b5179db1d8bb3be8) -} - -var fileDescriptor_b5179db1d8bb3be8 = []byte{ - // 335 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x41, 0x4a, 0xc3, 0x40, - 0x18, 0x85, 0x4d, 0x0a, 0x0a, 0x53, 0xc1, 0x98, 0xa5, 0x48, 0x17, 0x71, 0xe1, 0x46, 0x26, 0x46, - 0x77, 0xe3, 0x2a, 0x4d, 0xa6, 0x25, 0x48, 0x67, 0x42, 0x9a, 0x46, 0x91, 0x40, 0x88, 0x4d, 0x18, - 0x0a, 0xed, 0x4c, 0xc9, 0xc4, 0xe2, 0x0d, 0xbc, 0x84, 0x2b, 0x97, 0x1e, 0xc5, 0xa3, 0x88, 0x87, - 0x90, 0x64, 0x6c, 0xe8, 0xc6, 0xae, 0xf2, 0xf2, 0xf3, 0xbd, 0x37, 0xff, 0xfb, 0xc1, 0x0d, 0x13, - 0x82, 0x2d, 0x4b, 0x3b, 0x2f, 0xa4, 0xad, 0x64, 0xa3, 0x36, 0x8e, 0x5d, 0x56, 0x95, 0xa8, 0xa4, - 0x3d, 0x17, 0xbc, 0x2e, 0x5f, 0xeb, 0xac, 0xfd, 0x85, 0xeb, 0x4a, 0xd4, 0xc2, 0x1c, 0x28, 0x10, - 0xe6, 0x85, 0x84, 0x9d, 0x07, 0x6e, 0x1c, 0xa8, 0x3c, 0x67, 0xe7, 0xdb, 0xcc, 0xf5, 0xc2, 0xce, - 0x39, 0x17, 0x75, 0x5e, 0x2f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0x9e, 0x0f, 0xdb, 0xed, - 0x6e, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x24, 0xa0, 0xf3, 0x92, 0x08, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/conversion_action_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/conversion_action_error.pb.go deleted file mode 100644 index b6f90dd2..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/conversion_action_error.pb.go +++ /dev/null @@ -1,163 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/conversion_action_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_6c8902b8343b0907, []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_6c8902b8343b0907, []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 (m *ConversionActionErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConversionActionErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.ConversionActionErrorEnum_ConversionActionError", ConversionActionErrorEnum_ConversionActionError_name, ConversionActionErrorEnum_ConversionActionError_value) - proto.RegisterType((*ConversionActionErrorEnum)(nil), "google.ads.googleads.v1.errors.ConversionActionErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/conversion_action_error.proto", fileDescriptor_6c8902b8343b0907) -} - -var fileDescriptor_6c8902b8343b0907 = []byte{ - // 443 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0x41, 0x8b, 0xd3, 0x40, - 0x14, 0xc7, 0x6d, 0x56, 0x77, 0x75, 0x16, 0x74, 0x18, 0x14, 0xd9, 0x55, 0xf7, 0x50, 0xf0, 0xe0, - 0xc1, 0x84, 0xb0, 0x07, 0x21, 0x7a, 0x79, 0xcd, 0x8c, 0x61, 0x30, 0x9d, 0x09, 0x49, 0x9a, 0x8a, - 0x14, 0x86, 0xd8, 0x94, 0x50, 0xd8, 0xcd, 0x94, 0x4c, 0xed, 0x07, 0xf2, 0xe8, 0x47, 0xf1, 0xe6, - 0xd7, 0xf0, 0xe2, 0xc9, 0xbb, 0x24, 0xb3, 0xad, 0x87, 0xed, 0xf6, 0x34, 0x7f, 0xde, 0xfb, 0xff, - 0xfe, 0x09, 0xef, 0x3d, 0xf4, 0xa1, 0xd6, 0xba, 0xbe, 0x5a, 0x78, 0x65, 0x65, 0x3c, 0x2b, 0x3b, - 0xb5, 0xf1, 0xbd, 0x45, 0xdb, 0xea, 0xd6, 0x78, 0x73, 0xdd, 0x6c, 0x16, 0xad, 0x59, 0xea, 0x46, - 0x95, 0xf3, 0x75, 0xf7, 0xf4, 0x0d, 0x77, 0xd5, 0xea, 0xb5, 0x26, 0x17, 0x16, 0x71, 0xcb, 0xca, - 0xb8, 0x3b, 0xda, 0xdd, 0xf8, 0xae, 0xa5, 0xcf, 0x5f, 0x6e, 0xd3, 0x57, 0x4b, 0xaf, 0x6c, 0x1a, - 0xbd, 0x2e, 0xbb, 0x08, 0x63, 0xe9, 0xe1, 0x1f, 0x07, 0x9d, 0x85, 0xbb, 0x7c, 0xe8, 0xe3, 0x59, - 0x07, 0xb2, 0xe6, 0xdb, 0xf5, 0xf0, 0x97, 0x83, 0x9e, 0xed, 0xed, 0x92, 0x27, 0xe8, 0x74, 0x22, - 0xb2, 0x84, 0x85, 0xfc, 0x23, 0x67, 0x14, 0xdf, 0x23, 0xa7, 0xe8, 0x64, 0x22, 0x3e, 0x09, 0x39, - 0x15, 0x78, 0x40, 0x08, 0x7a, 0x4c, 0x27, 0x49, 0xcc, 0x43, 0xc8, 0x99, 0x12, 0x30, 0x66, 0xd8, - 0x21, 0x4f, 0x11, 0xfe, 0x5f, 0x83, 0x24, 0x51, 0x9c, 0xe2, 0x23, 0xf2, 0x0e, 0x5d, 0xe6, 0x53, - 0xa9, 0x42, 0x29, 0x0a, 0x96, 0x66, 0x5c, 0x0a, 0x05, 0x61, 0xce, 0xa5, 0xc8, 0xd4, 0x88, 0x53, - 0xca, 0x45, 0xa4, 0xa4, 0x50, 0x19, 0x8c, 0x2d, 0x42, 0xe5, 0x54, 0xc4, 0x12, 0x28, 0xbe, 0x4f, - 0x7c, 0xf4, 0xf6, 0x90, 0x43, 0x41, 0xa6, 0xa2, 0x58, 0x8e, 0x20, 0xbe, 0x09, 0xc4, 0x0f, 0xc8, - 0x1b, 0xf4, 0x9a, 0x42, 0x0e, 0x8a, 0xa6, 0xbc, 0x60, 0x42, 0x8d, 0x25, 0x65, 0xb1, 0x9a, 0x42, - 0xa6, 0x04, 0x2b, 0x58, 0xaa, 0x22, 0x26, 0x58, 0x0a, 0x39, 0xa3, 0xf8, 0x98, 0xbc, 0x42, 0x67, - 0xb7, 0xad, 0xec, 0x73, 0xc2, 0x53, 0x46, 0xf1, 0x09, 0x79, 0x81, 0x9e, 0xdf, 0x6e, 0x67, 0x39, - 0xc4, 0x0c, 0x3f, 0xdc, 0xcf, 0x6e, 0x67, 0xf3, 0x68, 0xf4, 0x77, 0x80, 0x86, 0x73, 0x7d, 0xed, - 0x1e, 0x5e, 0xdb, 0xe8, 0x7c, 0xef, 0xdc, 0x93, 0x6e, 0x69, 0xc9, 0xe0, 0x0b, 0xbd, 0xa1, 0x6b, - 0x7d, 0x55, 0x36, 0xb5, 0xab, 0xdb, 0xda, 0xab, 0x17, 0x4d, 0xbf, 0xd2, 0xed, 0x09, 0xad, 0x96, - 0xe6, 0xae, 0x8b, 0x7a, 0x6f, 0x9f, 0xef, 0xce, 0x51, 0x04, 0xf0, 0xc3, 0xb9, 0x88, 0x6c, 0x18, - 0x54, 0xc6, 0xb5, 0xb2, 0x53, 0x85, 0xef, 0xf6, 0x9f, 0x34, 0x3f, 0xb7, 0x86, 0x19, 0x54, 0x66, - 0xb6, 0x33, 0xcc, 0x0a, 0x7f, 0x66, 0x0d, 0xbf, 0x9d, 0xa1, 0xad, 0x06, 0x01, 0x54, 0x26, 0x08, - 0x76, 0x96, 0x20, 0x28, 0xfc, 0x20, 0xb0, 0xa6, 0xaf, 0xc7, 0xfd, 0xdf, 0x5d, 0xfe, 0x0b, 0x00, - 0x00, 0xff, 0xff, 0x0c, 0xe0, 0x92, 0x88, 0xee, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/conversion_adjustment_upload_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/conversion_adjustment_upload_error.pb.go deleted file mode 100644 index db857528..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/conversion_adjustment_upload_error.pb.go +++ /dev/null @@ -1,170 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/conversion_adjustment_upload_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible conversion adjustment upload errors. -type ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError int32 - -const ( - // Not specified. - ConversionAdjustmentUploadErrorEnum_UNSPECIFIED ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError = 0 - // The received error code is not known in this version. - ConversionAdjustmentUploadErrorEnum_UNKNOWN ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError = 1 - // The specified conversion action was created too recently. - // Please try the upload again after 4-6 hours have passed since the - // conversion action was created. - ConversionAdjustmentUploadErrorEnum_TOO_RECENT_CONVERSION_ACTION ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError = 2 - // No conversion action of a supported ConversionActionType that matches the - // provided information can be found for the customer. - ConversionAdjustmentUploadErrorEnum_INVALID_CONVERSION_ACTION ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError = 3 - // A retraction was already reported for this conversion. - ConversionAdjustmentUploadErrorEnum_CONVERSION_ALREADY_RETRACTED ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError = 4 - // A conversion for the supplied combination of conversion - // action and conversion identifier could not be found. - ConversionAdjustmentUploadErrorEnum_CONVERSION_NOT_FOUND ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError = 5 - // The specified conversion has already expired. Conversions expire after 55 - // days, after which adjustments cannot be reported against them. - ConversionAdjustmentUploadErrorEnum_CONVERSION_EXPIRED ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError = 6 - // The supplied adjustment date time precedes that of the original - // conversion. - ConversionAdjustmentUploadErrorEnum_ADJUSTMENT_PRECEDES_CONVERSION ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError = 7 - // A restatement with a more recent adjustment date time was already - // reported for this conversion. - ConversionAdjustmentUploadErrorEnum_MORE_RECENT_RESTATEMENT_FOUND ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError = 8 - // The conversion was created too recently. - ConversionAdjustmentUploadErrorEnum_TOO_RECENT_CONVERSION ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError = 9 - // Restatements cannot be reported for a conversion action that always uses - // the default value. - ConversionAdjustmentUploadErrorEnum_CANNOT_RESTATE_CONVERSION_ACTION_THAT_ALWAYS_USES_DEFAULT_CONVERSION_VALUE ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError = 10 -) - -var ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "TOO_RECENT_CONVERSION_ACTION", - 3: "INVALID_CONVERSION_ACTION", - 4: "CONVERSION_ALREADY_RETRACTED", - 5: "CONVERSION_NOT_FOUND", - 6: "CONVERSION_EXPIRED", - 7: "ADJUSTMENT_PRECEDES_CONVERSION", - 8: "MORE_RECENT_RESTATEMENT_FOUND", - 9: "TOO_RECENT_CONVERSION", - 10: "CANNOT_RESTATE_CONVERSION_ACTION_THAT_ALWAYS_USES_DEFAULT_CONVERSION_VALUE", -} - -var ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "TOO_RECENT_CONVERSION_ACTION": 2, - "INVALID_CONVERSION_ACTION": 3, - "CONVERSION_ALREADY_RETRACTED": 4, - "CONVERSION_NOT_FOUND": 5, - "CONVERSION_EXPIRED": 6, - "ADJUSTMENT_PRECEDES_CONVERSION": 7, - "MORE_RECENT_RESTATEMENT_FOUND": 8, - "TOO_RECENT_CONVERSION": 9, - "CANNOT_RESTATE_CONVERSION_ACTION_THAT_ALWAYS_USES_DEFAULT_CONVERSION_VALUE": 10, -} - -func (x ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError) String() string { - return proto.EnumName(ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError_name, int32(x)) -} - -func (ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_c800024a3df9b728, []int{0, 0} -} - -// Container for enum describing possible conversion adjustment upload errors. -type ConversionAdjustmentUploadErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ConversionAdjustmentUploadErrorEnum) Reset() { *m = ConversionAdjustmentUploadErrorEnum{} } -func (m *ConversionAdjustmentUploadErrorEnum) String() string { return proto.CompactTextString(m) } -func (*ConversionAdjustmentUploadErrorEnum) ProtoMessage() {} -func (*ConversionAdjustmentUploadErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_c800024a3df9b728, []int{0} -} - -func (m *ConversionAdjustmentUploadErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConversionAdjustmentUploadErrorEnum.Unmarshal(m, b) -} -func (m *ConversionAdjustmentUploadErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConversionAdjustmentUploadErrorEnum.Marshal(b, m, deterministic) -} -func (m *ConversionAdjustmentUploadErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConversionAdjustmentUploadErrorEnum.Merge(m, src) -} -func (m *ConversionAdjustmentUploadErrorEnum) XXX_Size() int { - return xxx_messageInfo_ConversionAdjustmentUploadErrorEnum.Size(m) -} -func (m *ConversionAdjustmentUploadErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_ConversionAdjustmentUploadErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_ConversionAdjustmentUploadErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.errors.ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError", ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError_name, ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError_value) - proto.RegisterType((*ConversionAdjustmentUploadErrorEnum)(nil), "google.ads.googleads.v1.errors.ConversionAdjustmentUploadErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/conversion_adjustment_upload_error.proto", fileDescriptor_c800024a3df9b728) -} - -var fileDescriptor_c800024a3df9b728 = []byte{ - // 478 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xd1, 0x6e, 0xd3, 0x30, - 0x14, 0x86, 0x59, 0x0b, 0x1b, 0x78, 0x17, 0x44, 0x16, 0x20, 0x86, 0xb6, 0x02, 0x85, 0xeb, 0x44, - 0x11, 0x77, 0xe1, 0xca, 0x8b, 0x4f, 0x4b, 0x46, 0xe6, 0x44, 0x89, 0x93, 0x31, 0x54, 0xc9, 0x0a, - 0x4b, 0x14, 0x15, 0xb5, 0x71, 0x15, 0xa7, 0x7d, 0x04, 0x1e, 0x84, 0x4b, 0x2e, 0x78, 0x10, 0x1e, - 0x85, 0x97, 0x00, 0x25, 0x5e, 0xa3, 0x22, 0x06, 0xbb, 0xca, 0x91, 0xfd, 0x9d, 0xff, 0xff, 0x9d, - 0x73, 0xd0, 0xb4, 0x94, 0xb2, 0x5c, 0x14, 0x56, 0x96, 0x2b, 0x4b, 0x97, 0x6d, 0xb5, 0xb1, 0xad, - 0xa2, 0xae, 0x65, 0xad, 0xac, 0x2b, 0x59, 0x6d, 0x8a, 0x5a, 0xcd, 0x65, 0x25, 0xb2, 0xfc, 0xf3, - 0x5a, 0x35, 0xcb, 0xa2, 0x6a, 0xc4, 0x7a, 0xb5, 0x90, 0x59, 0x2e, 0x3a, 0xc6, 0x5c, 0xd5, 0xb2, - 0x91, 0x78, 0xa4, 0xbb, 0xcd, 0x2c, 0x57, 0x66, 0x2f, 0x64, 0x6e, 0x6c, 0x53, 0x0b, 0x3d, 0x3b, - 0xde, 0x1a, 0xad, 0xe6, 0x56, 0x56, 0x55, 0xb2, 0xc9, 0x9a, 0xb9, 0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 0x7f, 0x47, 0xb8, 0x20, 0xfe, 0x05, 0xb9, 0x8c, 0x45, 0x12, 0x43, 0x2c, 0x28, 0x4c, - 0x48, 0xe2, 0xff, 0xf1, 0x97, 0x52, 0xe2, 0x27, 0x60, 0xa0, 0xd3, 0x5f, 0x7b, 0x68, 0x7c, 0x25, - 0x97, 0xe6, 0xff, 0xa7, 0x7e, 0xfa, 0xfa, 0x96, 0x61, 0x85, 0xed, 0xf4, 0xc3, 0xbd, 0x8f, 0xf4, - 0x5a, 0xa7, 0x94, 0x8b, 0xac, 0x2a, 0x4d, 0x59, 0x97, 0x56, 0x59, 0x54, 0xdd, 0x6e, 0x6c, 0xd7, - 0x72, 0x35, 0x57, 0xff, 0xda, 0xd2, 0xb7, 0xfa, 0xf3, 0x75, 0x30, 0x9c, 0x12, 0xf2, 0x6d, 0x30, - 0x9a, 0x6a, 0x31, 0x92, 0x2b, 0x53, 0x97, 0x6d, 0x95, 0xda, 0x66, 0x67, 0xa9, 0x7e, 0x6c, 0x81, - 0x19, 0xc9, 0xd5, 0xac, 0x07, 0x66, 0xa9, 0x3d, 0xd3, 0xc0, 0xcf, 0xc1, 0x58, 0x9f, 0x3a, 0x0e, - 0xc9, 0x95, 0xe3, 0xf4, 0x88, 0xe3, 0xa4, 0xb6, 0xe3, 0x68, 0xe8, 0xd3, 0x7e, 0x97, 0xee, 0xcd, - 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x23, 0x00, 0x6b, 0x77, 0x42, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/conversion_upload_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/conversion_upload_error.pb.go deleted file mode 100644 index 3fe876e5..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/conversion_upload_error.pb.go +++ /dev/null @@ -1,243 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/conversion_upload_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible conversion upload errors. -type ConversionUploadErrorEnum_ConversionUploadError int32 - -const ( - // Enum unspecified. - ConversionUploadErrorEnum_UNSPECIFIED ConversionUploadErrorEnum_ConversionUploadError = 0 - // The received error code is not known in this version. - ConversionUploadErrorEnum_UNKNOWN ConversionUploadErrorEnum_ConversionUploadError = 1 - // The request contained more than 2000 conversions. - ConversionUploadErrorEnum_TOO_MANY_CONVERSIONS_IN_REQUEST ConversionUploadErrorEnum_ConversionUploadError = 2 - // The specified gclid could not be decoded. - ConversionUploadErrorEnum_UNPARSEABLE_GCLID ConversionUploadErrorEnum_ConversionUploadError = 3 - // The specified conversion_date_time is before the event time - // associated with the given gclid. - ConversionUploadErrorEnum_CONVERSION_PRECEDES_GCLID ConversionUploadErrorEnum_ConversionUploadError = 4 - // The click associated with the given gclid is either too old to be - // imported or occurred outside of the click through lookback window for the - // specified conversion action. - ConversionUploadErrorEnum_EXPIRED_GCLID ConversionUploadErrorEnum_ConversionUploadError = 5 - // The click associated with the given gclid occurred too recently. Please - // try uploading again after 24 hours have passed since the click occurred. - ConversionUploadErrorEnum_TOO_RECENT_GCLID ConversionUploadErrorEnum_ConversionUploadError = 6 - // The click associated with the given gclid could not be found in the - // system. This can happen if Google Click IDs are collected for non Google - // Ads clicks. - ConversionUploadErrorEnum_GCLID_NOT_FOUND ConversionUploadErrorEnum_ConversionUploadError = 7 - // The click associated with the given gclid is owned by a customer - // account that the uploading customer does not manage. - ConversionUploadErrorEnum_UNAUTHORIZED_CUSTOMER ConversionUploadErrorEnum_ConversionUploadError = 8 - // No upload eligible conversion action that matches the provided - // information can be found for the customer. - ConversionUploadErrorEnum_INVALID_CONVERSION_ACTION ConversionUploadErrorEnum_ConversionUploadError = 9 - // The specified conversion action was created too recently. - // Please try the upload again after 4-6 hours have passed since the - // conversion action was created. - ConversionUploadErrorEnum_TOO_RECENT_CONVERSION_ACTION ConversionUploadErrorEnum_ConversionUploadError = 10 - // The click associated with the given gclid does not contain conversion - // tracking information. - ConversionUploadErrorEnum_CONVERSION_TRACKING_NOT_ENABLED_AT_IMPRESSION_TIME ConversionUploadErrorEnum_ConversionUploadError = 11 - // The specified conversion action does not use an external attribution - // model, but external_attribution_data was set. - ConversionUploadErrorEnum_EXTERNAL_ATTRIBUTION_DATA_SET_FOR_NON_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION ConversionUploadErrorEnum_ConversionUploadError = 12 - // The specified conversion action uses an external attribution model, but - // external_attribution_data or one of its contained fields was not set. - // Both external_attribution_credit and external_attribution_model must be - // set for externally attributed conversion actions. - ConversionUploadErrorEnum_EXTERNAL_ATTRIBUTION_DATA_NOT_SET_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION ConversionUploadErrorEnum_ConversionUploadError = 13 - // Order IDs are not supported for conversion actions which use an external - // attribution model. - ConversionUploadErrorEnum_ORDER_ID_NOT_PERMITTED_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION ConversionUploadErrorEnum_ConversionUploadError = 14 - // A conversion with the same order id and conversion action combination - // already exists in our system. - ConversionUploadErrorEnum_ORDER_ID_ALREADY_IN_USE ConversionUploadErrorEnum_ConversionUploadError = 15 - // The request contained two or more conversions with the same order id and - // conversion action combination. - ConversionUploadErrorEnum_DUPLICATE_ORDER_ID ConversionUploadErrorEnum_ConversionUploadError = 16 - // The call occurred too recently. Please try uploading again after 24 hours - // have passed since the call occurred. - ConversionUploadErrorEnum_TOO_RECENT_CALL ConversionUploadErrorEnum_ConversionUploadError = 17 - // The click that initiated the call is too old for this conversion to be - // imported. - ConversionUploadErrorEnum_EXPIRED_CALL ConversionUploadErrorEnum_ConversionUploadError = 18 - // The call or the click leading to the call was not found. - ConversionUploadErrorEnum_CALL_NOT_FOUND ConversionUploadErrorEnum_ConversionUploadError = 19 - // The specified conversion_date_time is before the call_start_date_time. - ConversionUploadErrorEnum_CONVERSION_PRECEDES_CALL ConversionUploadErrorEnum_ConversionUploadError = 20 - // The click associated with the call does not contain conversion tracking - // information. - ConversionUploadErrorEnum_CONVERSION_TRACKING_NOT_ENABLED_AT_CALL_TIME ConversionUploadErrorEnum_ConversionUploadError = 21 - // The caller’s phone number cannot be parsed. It should be formatted either - // as E.164 "+16502531234", International "+64 3-331 6005" or US national - // number "6502531234". - ConversionUploadErrorEnum_UNPARSEABLE_CALLERS_PHONE_NUMBER ConversionUploadErrorEnum_ConversionUploadError = 22 -) - -var ConversionUploadErrorEnum_ConversionUploadError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "TOO_MANY_CONVERSIONS_IN_REQUEST", - 3: "UNPARSEABLE_GCLID", - 4: "CONVERSION_PRECEDES_GCLID", - 5: "EXPIRED_GCLID", - 6: "TOO_RECENT_GCLID", - 7: "GCLID_NOT_FOUND", - 8: "UNAUTHORIZED_CUSTOMER", - 9: "INVALID_CONVERSION_ACTION", - 10: "TOO_RECENT_CONVERSION_ACTION", - 11: "CONVERSION_TRACKING_NOT_ENABLED_AT_IMPRESSION_TIME", - 12: "EXTERNAL_ATTRIBUTION_DATA_SET_FOR_NON_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION", - 13: "EXTERNAL_ATTRIBUTION_DATA_NOT_SET_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION", - 14: "ORDER_ID_NOT_PERMITTED_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION", - 15: "ORDER_ID_ALREADY_IN_USE", - 16: "DUPLICATE_ORDER_ID", - 17: "TOO_RECENT_CALL", - 18: "EXPIRED_CALL", - 19: "CALL_NOT_FOUND", - 20: "CONVERSION_PRECEDES_CALL", - 21: "CONVERSION_TRACKING_NOT_ENABLED_AT_CALL_TIME", - 22: "UNPARSEABLE_CALLERS_PHONE_NUMBER", -} - -var ConversionUploadErrorEnum_ConversionUploadError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "TOO_MANY_CONVERSIONS_IN_REQUEST": 2, - "UNPARSEABLE_GCLID": 3, - "CONVERSION_PRECEDES_GCLID": 4, - "EXPIRED_GCLID": 5, - "TOO_RECENT_GCLID": 6, - "GCLID_NOT_FOUND": 7, - "UNAUTHORIZED_CUSTOMER": 8, - "INVALID_CONVERSION_ACTION": 9, - "TOO_RECENT_CONVERSION_ACTION": 10, - "CONVERSION_TRACKING_NOT_ENABLED_AT_IMPRESSION_TIME": 11, - "EXTERNAL_ATTRIBUTION_DATA_SET_FOR_NON_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION": 12, - "EXTERNAL_ATTRIBUTION_DATA_NOT_SET_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION": 13, - "ORDER_ID_NOT_PERMITTED_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION": 14, - "ORDER_ID_ALREADY_IN_USE": 15, - "DUPLICATE_ORDER_ID": 16, - "TOO_RECENT_CALL": 17, - "EXPIRED_CALL": 18, - "CALL_NOT_FOUND": 19, - "CONVERSION_PRECEDES_CALL": 20, - "CONVERSION_TRACKING_NOT_ENABLED_AT_CALL_TIME": 21, - "UNPARSEABLE_CALLERS_PHONE_NUMBER": 22, -} - -func (x ConversionUploadErrorEnum_ConversionUploadError) String() string { - return proto.EnumName(ConversionUploadErrorEnum_ConversionUploadError_name, int32(x)) -} - -func (ConversionUploadErrorEnum_ConversionUploadError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ba5bceb565e055e5, []int{0, 0} -} - -// Container for enum describing possible conversion upload errors. -type ConversionUploadErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ConversionUploadErrorEnum) Reset() { *m = ConversionUploadErrorEnum{} } -func (m *ConversionUploadErrorEnum) String() string { return proto.CompactTextString(m) } -func (*ConversionUploadErrorEnum) ProtoMessage() {} -func (*ConversionUploadErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_ba5bceb565e055e5, []int{0} -} - -func (m *ConversionUploadErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConversionUploadErrorEnum.Unmarshal(m, b) -} -func (m *ConversionUploadErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConversionUploadErrorEnum.Marshal(b, m, deterministic) -} -func (m *ConversionUploadErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConversionUploadErrorEnum.Merge(m, src) -} -func (m *ConversionUploadErrorEnum) XXX_Size() int { - return xxx_messageInfo_ConversionUploadErrorEnum.Size(m) -} -func (m *ConversionUploadErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_ConversionUploadErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_ConversionUploadErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.errors.ConversionUploadErrorEnum_ConversionUploadError", ConversionUploadErrorEnum_ConversionUploadError_name, ConversionUploadErrorEnum_ConversionUploadError_value) - proto.RegisterType((*ConversionUploadErrorEnum)(nil), "google.ads.googleads.v1.errors.ConversionUploadErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/conversion_upload_error.proto", fileDescriptor_ba5bceb565e055e5) -} - -var fileDescriptor_ba5bceb565e055e5 = []byte{ - // 638 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xcd, 0x6e, 0xd3, 0x4e, - 0x10, 0xff, 0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3f, 0x9f, 0x4b, 0x8b, 0x4d, 0x4a, 0xbf, 0x94, 0xf6, 0x9b, 0xb9, - 0x18, 0xed, 0xa5, 0x4e, 0x1e, 0xda, 0xa8, 0x5d, 0x77, 0x32, 0xcb, 0xf4, 0x5b, 0x01, 0xe8, 0xd0, - 0x5e, 0xda, 0x99, 0x02, 0x3a, 0xed, 0x7a, 0x27, 0x07, 0xfc, 0x28, 0x55, 0xf3, 0xac, 0xeb, 0xd2, - 0x5e, 0xea, 0xba, 0x53, 0x88, 0xeb, 0xb6, 0xeb, 0xae, 0x9b, 0x83, 0x3e, 0x95, 0xb3, 0xee, 0xde, - 0xfe, 0x0a, 0x00, 0x00, 0xff, 0xff, 0x09, 0x85, 0xd8, 0x22, 0xd3, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/country_code_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/country_code_error.pb.go deleted file mode 100644 index 317de35e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/country_code_error.pb.go +++ /dev/null @@ -1,120 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/country_code_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing country code errors. -type CountryCodeErrorEnum_CountryCodeError int32 - -const ( - // Enum unspecified. - CountryCodeErrorEnum_UNSPECIFIED CountryCodeErrorEnum_CountryCodeError = 0 - // The received error code is not known in this version. - CountryCodeErrorEnum_UNKNOWN CountryCodeErrorEnum_CountryCodeError = 1 - // The country code is invalid. - CountryCodeErrorEnum_INVALID_COUNTRY_CODE CountryCodeErrorEnum_CountryCodeError = 2 -) - -var CountryCodeErrorEnum_CountryCodeError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "INVALID_COUNTRY_CODE", -} - -var CountryCodeErrorEnum_CountryCodeError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "INVALID_COUNTRY_CODE": 2, -} - -func (x CountryCodeErrorEnum_CountryCodeError) String() string { - return proto.EnumName(CountryCodeErrorEnum_CountryCodeError_name, int32(x)) -} - -func (CountryCodeErrorEnum_CountryCodeError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_69b104cf7bd804d2, []int{0, 0} -} - -// Container for enum describing country code errors. -type CountryCodeErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CountryCodeErrorEnum) Reset() { *m = CountryCodeErrorEnum{} } -func (m *CountryCodeErrorEnum) String() string { return proto.CompactTextString(m) } -func (*CountryCodeErrorEnum) ProtoMessage() {} -func (*CountryCodeErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_69b104cf7bd804d2, []int{0} -} - -func (m *CountryCodeErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CountryCodeErrorEnum.Unmarshal(m, b) -} -func (m *CountryCodeErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CountryCodeErrorEnum.Marshal(b, m, deterministic) -} -func (m *CountryCodeErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CountryCodeErrorEnum.Merge(m, src) -} -func (m *CountryCodeErrorEnum) XXX_Size() int { - return xxx_messageInfo_CountryCodeErrorEnum.Size(m) -} -func (m *CountryCodeErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_CountryCodeErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_CountryCodeErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.errors.CountryCodeErrorEnum_CountryCodeError", CountryCodeErrorEnum_CountryCodeError_name, CountryCodeErrorEnum_CountryCodeError_value) - proto.RegisterType((*CountryCodeErrorEnum)(nil), "google.ads.googleads.v1.errors.CountryCodeErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/country_code_error.proto", fileDescriptor_69b104cf7bd804d2) -} - -var fileDescriptor_69b104cf7bd804d2 = []byte{ - // 306 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xc3, 0x30, - 0x1c, 0xc6, 0x5d, 0x05, 0x85, 0xec, 0x60, 0x29, 0x13, 0x44, 0x64, 0x87, 0x3e, 0x40, 0x42, 0xf1, - 0x20, 0xc4, 0x53, 0xd6, 0xd6, 0x51, 0x95, 0x6c, 0xa8, 0xab, 0x28, 0x85, 0xd2, 0x2d, 0x25, 0x0c, - 0xb6, 0xfc, 0x47, 0xd2, 0x0d, 0x7c, 0x1d, 0x8f, 0x3e, 0x8a, 0x8f, 0xe2, 0xc9, 0x47, 0x90, 0x36, - 0xb6, 0x87, 0x81, 0x9e, 0xf2, 0xf1, 0xf1, 0xfb, 0xbe, 0x7c, 0xfc, 0xd1, 0x95, 0x04, 0x90, 0xab, - 0x92, 0x14, 0xc2, 0x10, 0x2b, 0x6b, 0xb5, 0x0b, 0x48, 0xa9, 0x35, 0x68, 0x43, 0x16, 0xb0, 0x55, - 0x95, 0x7e, 0xcb, 0x17, 0x20, 0xca, 0xbc, 0xf1, 0xf0, 0x46, 0x43, 0x05, 0xde, 0xd0, 0xd2, 0xb8, - 0x10, 0x06, 0x77, 0x41, 0xbc, 0x0b, 0xb0, 0x0d, 0x9e, 0x5f, 0xb4, 0xc5, 0x9b, 0x25, 0x29, 0x94, - 0x82, 0xaa, 0xa8, 0x96, 0xa0, 0x8c, 0x4d, 0xfb, 0x73, 0x34, 0x08, 0x6d, 0x73, 0x08, 0xa2, 0x8c, - 0xeb, 0x48, 0xac, 0xb6, 0x6b, 0xff, 0x16, 0xb9, 0xfb, 0xbe, 0x77, 0x82, 0xfa, 0x33, 0xfe, 0x38, - 0x8d, 0xc3, 0xe4, 0x26, 0x89, 0x23, 0xf7, 0xc0, 0xeb, 0xa3, 0xe3, 0x19, 0xbf, 0xe3, 0x93, 0x67, - 0xee, 0xf6, 0xbc, 0x33, 0x34, 0x48, 0x78, 0xca, 0xee, 0x93, 0x28, 0x0f, 0x27, 0x33, 0xfe, 0xf4, - 0xf0, 0x92, 0x87, 0x93, 0x28, 0x76, 0x9d, 0xd1, 0x77, 0x0f, 0xf9, 0x0b, 0x58, 0xe3, 0xff, 0x87, - 0x8e, 0x4e, 0xf7, 0x3f, 0x9c, 0xd6, 0x0b, 0xa7, 0xbd, 0xd7, 0xe8, 0x37, 0x28, 0x61, 0x55, 0x28, - 0x89, 0x41, 0x4b, 0x22, 0x4b, 0xd5, 0xec, 0x6f, 0x4f, 0xb5, 0x59, 0x9a, 0xbf, 0x2e, 0x77, 0x6d, - 0x9f, 0x77, 0xe7, 0x70, 0xcc, 0xd8, 0x87, 0x33, 0x1c, 0xdb, 0x32, 0x26, 0x0c, 0xb6, 0xb2, 0x56, - 0x69, 0x80, 0x9b, 0x2f, 0xcd, 0x67, 0x0b, 0x64, 0x4c, 0x98, 0xac, 0x03, 0xb2, 0x34, 0xc8, 0x2c, - 0xf0, 0xe5, 0xf8, 0xd6, 0xa5, 0x94, 0x09, 0x43, 0x69, 0x87, 0x50, 0x9a, 0x06, 0x94, 0x5a, 0x68, - 0x7e, 0xd4, 0xac, 0xbb, 0xfc, 0x09, 0x00, 0x00, 0xff, 0xff, 0xb8, 0x26, 0x72, 0x76, 0xd6, 0x01, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/criterion_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/criterion_error.pb.go deleted file mode 100644 index c523f167..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/criterion_error.pb.go +++ /dev/null @@ -1,624 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/criterion_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // Invalid custom affinity criterion. - CriterionErrorEnum_INVALID_CUSTOM_AFFINITY CriterionErrorEnum_CriterionError = 96 - // Invalid custom intent criterion. - CriterionErrorEnum_INVALID_CUSTOM_INTENT CriterionErrorEnum_CriterionError = 97 - // 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 - // Feed not found, or the feed is not an enabled location feed. - CriterionErrorEnum_INVALID_FEED_FOR_LOCATION_FILTER CriterionErrorEnum_CriterionError = 98 - // 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 - // The combination of operand and operator in webpage condition is invalid. - CriterionErrorEnum_INVALID_WEBPAGE_CONDITION CriterionErrorEnum_CriterionError = 85 - // The URL of webpage condition is invalid. - CriterionErrorEnum_INVALID_WEBPAGE_CONDITION_URL CriterionErrorEnum_CriterionError = 86 - // The URL of webpage condition cannot be empty or contain white space. - CriterionErrorEnum_WEBPAGE_CONDITION_URL_CANNOT_BE_EMPTY CriterionErrorEnum_CriterionError = 87 - // The URL of webpage condition contains an unsupported protocol. - CriterionErrorEnum_WEBPAGE_CONDITION_URL_UNSUPPORTED_PROTOCOL CriterionErrorEnum_CriterionError = 88 - // The URL of webpage condition cannot be an IP address. - CriterionErrorEnum_WEBPAGE_CONDITION_URL_CANNOT_BE_IP_ADDRESS CriterionErrorEnum_CriterionError = 89 - // The domain of the URL is not consistent with the domain in campaign - // setting. - CriterionErrorEnum_WEBPAGE_CONDITION_URL_DOMAIN_NOT_CONSISTENT_WITH_CAMPAIGN_SETTING CriterionErrorEnum_CriterionError = 90 - // The URL of webpage condition cannot be a public suffix itself. - CriterionErrorEnum_WEBPAGE_CONDITION_URL_CANNOT_BE_PUBLIC_SUFFIX CriterionErrorEnum_CriterionError = 91 - // The URL of webpage condition has an invalid public suffix. - CriterionErrorEnum_WEBPAGE_CONDITION_URL_INVALID_PUBLIC_SUFFIX CriterionErrorEnum_CriterionError = 92 - // Value track parameter is not supported in webpage condition URL. - CriterionErrorEnum_WEBPAGE_CONDITION_URL_VALUE_TRACK_VALUE_NOT_SUPPORTED CriterionErrorEnum_CriterionError = 93 - // Only one URL-EQUALS webpage condition is allowed in a webpage - // criterion and it cannot be combined with other conditions. - CriterionErrorEnum_WEBPAGE_CRITERION_URL_EQUALS_CAN_HAVE_ONLY_ONE_CONDITION CriterionErrorEnum_CriterionError = 94 - // A webpage criterion cannot be added to a non-DSA ad group. - CriterionErrorEnum_WEBPAGE_CRITERION_NOT_SUPPORTED_ON_NON_DSA_AD_GROUP CriterionErrorEnum_CriterionError = 95 -) - -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", - 96: "INVALID_CUSTOM_AFFINITY", - 97: "INVALID_CUSTOM_INTENT", - 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", - 98: "INVALID_FEED_FOR_LOCATION_FILTER", - 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", - 85: "INVALID_WEBPAGE_CONDITION", - 86: "INVALID_WEBPAGE_CONDITION_URL", - 87: "WEBPAGE_CONDITION_URL_CANNOT_BE_EMPTY", - 88: "WEBPAGE_CONDITION_URL_UNSUPPORTED_PROTOCOL", - 89: "WEBPAGE_CONDITION_URL_CANNOT_BE_IP_ADDRESS", - 90: "WEBPAGE_CONDITION_URL_DOMAIN_NOT_CONSISTENT_WITH_CAMPAIGN_SETTING", - 91: "WEBPAGE_CONDITION_URL_CANNOT_BE_PUBLIC_SUFFIX", - 92: "WEBPAGE_CONDITION_URL_INVALID_PUBLIC_SUFFIX", - 93: "WEBPAGE_CONDITION_URL_VALUE_TRACK_VALUE_NOT_SUPPORTED", - 94: "WEBPAGE_CRITERION_URL_EQUALS_CAN_HAVE_ONLY_ONE_CONDITION", - 95: "WEBPAGE_CRITERION_NOT_SUPPORTED_ON_NON_DSA_AD_GROUP", -} - -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_CUSTOM_AFFINITY": 96, - "INVALID_CUSTOM_INTENT": 97, - "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, - "INVALID_FEED_FOR_LOCATION_FILTER": 98, - "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, - "INVALID_WEBPAGE_CONDITION": 85, - "INVALID_WEBPAGE_CONDITION_URL": 86, - "WEBPAGE_CONDITION_URL_CANNOT_BE_EMPTY": 87, - "WEBPAGE_CONDITION_URL_UNSUPPORTED_PROTOCOL": 88, - "WEBPAGE_CONDITION_URL_CANNOT_BE_IP_ADDRESS": 89, - "WEBPAGE_CONDITION_URL_DOMAIN_NOT_CONSISTENT_WITH_CAMPAIGN_SETTING": 90, - "WEBPAGE_CONDITION_URL_CANNOT_BE_PUBLIC_SUFFIX": 91, - "WEBPAGE_CONDITION_URL_INVALID_PUBLIC_SUFFIX": 92, - "WEBPAGE_CONDITION_URL_VALUE_TRACK_VALUE_NOT_SUPPORTED": 93, - "WEBPAGE_CRITERION_URL_EQUALS_CAN_HAVE_ONLY_ONE_CONDITION": 94, - "WEBPAGE_CRITERION_NOT_SUPPORTED_ON_NON_DSA_AD_GROUP": 95, -} - -func (x CriterionErrorEnum_CriterionError) String() string { - return proto.EnumName(CriterionErrorEnum_CriterionError_name, int32(x)) -} - -func (CriterionErrorEnum_CriterionError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cbdffbe05cefe9a1, []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_cbdffbe05cefe9a1, []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 (m *CriterionErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CriterionErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.CriterionErrorEnum_CriterionError", CriterionErrorEnum_CriterionError_name, CriterionErrorEnum_CriterionError_value) - proto.RegisterType((*CriterionErrorEnum)(nil), "google.ads.googleads.v1.errors.CriterionErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/criterion_error.proto", fileDescriptor_cbdffbe05cefe9a1) -} - -var fileDescriptor_cbdffbe05cefe9a1 = []byte{ - // 1695 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x57, 0xef, 0x72, 0x1b, 0xb7, - 0x11, 0xaf, 0x9d, 0x36, 0x69, 0xe1, 0x36, 0x41, 0xe0, 0xff, 0xff, 0x14, 0x5b, 0xb1, 0x1d, 0xc7, - 0x71, 0xa8, 0xc8, 0x8e, 0x9d, 0x84, 0x49, 0xda, 0x82, 0x87, 0x25, 0x89, 0x0a, 0x07, 0xc0, 0x00, - 0x8e, 0x12, 0x53, 0xb5, 0xa8, 0x12, 0x79, 0x34, 0x9a, 0x49, 0x44, 0x8f, 0xe8, 0xe6, 0x3d, 0xfa, - 0x0a, 0xfd, 0xd4, 0xe9, 0xa3, 0xf4, 0x51, 0xfa, 0xa1, 0xcf, 0xd0, 0xd9, 0x3b, 0xe2, 0x88, 0xa3, - 0xe4, 0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0, 0x6c, 0x8d, 0x46, 0xe7, 0x19, 0xfd, 0x2b, 0x6e, 0x6e, 0x27, 0xd1, 0x9d, 0x2b, 0x62, 0x2d, - 0xd0, 0x51, 0x78, 0x1e, 0xb9, 0x88, 0x0d, 0xaf, 0xe3, 0xe0, 0x7f, 0x67, 0xc8, 0xfa, 0x77, 0xb3, - 0x1f, 0x7a, 0x3f, 0xfd, 0xbd, 0x3b, 0x38, 0xdf, 0xfd, 0x6e, 0xb5, 0xf8, 0x99, 0x6b, 0xcf, 0x7c, - 0x23, 0x16, 0xb0, 0x83, 0xd9, 0xf7, 0x7b, 0x47, 0x07, 0xbd, 0xd9, 0xf1, 0xc1, 0xc6, 0xc1, 0xf3, - 0xa3, 0xfa, 0x23, 0x38, 0x7d, 0x6c, 0xbf, 0x38, 0x9c, 0xbf, 0xea, 0xdb, 0xfb, 0xcb, 0xe6, 0xe7, - 0x9f, 0x67, 0xdf, 0x18, 0x71, 0xfe, 0xef, 0xb3, 0x6b, 0xa3, 0xe6, 0x30, 0xbe, 0x3f, 0xef, 0x35, - 0x7f, 0xf1, 0xdf, 0x64, 0xb3, 0x57, 0x5f, 0x39, 0xff, 0x4f, 0x32, 0xd8, 0xe5, 0xfb, 0xf3, 0xdd, - 0xd6, 0x60, 0x77, 0xb2, 0xb9, 0xdb, 0x18, 0xfc, 0xf7, 0xec, 0x7a, 0x23, 0xed, 0xf7, 0xf9, 0xfe, - 0xbc, 0xdf, 0x6f, 0x4d, 0xfa, 0xfd, 0xc9, 0x66, 0xbf, 0xdf, 0x18, 0x7d, 0xfb, 0x66, 0xed, 0xdd, - 0xe3, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff, 0xe2, 0x41, 0x47, 0xff, 0x18, 0x10, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/custom_interest_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/custom_interest_error.pb.go deleted file mode 100644 index 525c54af..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/custom_interest_error.pb.go +++ /dev/null @@ -1,153 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/custom_interest_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible custom interest errors. -type CustomInterestErrorEnum_CustomInterestError int32 - -const ( - // Enum unspecified. - CustomInterestErrorEnum_UNSPECIFIED CustomInterestErrorEnum_CustomInterestError = 0 - // The received error code is not known in this version. - CustomInterestErrorEnum_UNKNOWN CustomInterestErrorEnum_CustomInterestError = 1 - // Duplicate custom interest name ignoring case. - CustomInterestErrorEnum_NAME_ALREADY_USED CustomInterestErrorEnum_CustomInterestError = 2 - // In the remove custom interest member operation, both member ID and - // pair [type, parameter] are not present. - CustomInterestErrorEnum_CUSTOM_INTEREST_MEMBER_ID_AND_TYPE_PARAMETER_NOT_PRESENT_IN_REMOVE CustomInterestErrorEnum_CustomInterestError = 3 - // The pair of [type, parameter] does not exist. - CustomInterestErrorEnum_TYPE_AND_PARAMETER_NOT_FOUND CustomInterestErrorEnum_CustomInterestError = 4 - // The pair of [type, parameter] already exists. - CustomInterestErrorEnum_TYPE_AND_PARAMETER_ALREADY_EXISTED CustomInterestErrorEnum_CustomInterestError = 5 - // Unsupported custom interest member type. - CustomInterestErrorEnum_INVALID_CUSTOM_INTEREST_MEMBER_TYPE CustomInterestErrorEnum_CustomInterestError = 6 - // Cannot remove a custom interest while it's still being targeted. - CustomInterestErrorEnum_CANNOT_REMOVE_WHILE_IN_USE CustomInterestErrorEnum_CustomInterestError = 7 - // Cannot mutate custom interest type. - CustomInterestErrorEnum_CANNOT_CHANGE_TYPE CustomInterestErrorEnum_CustomInterestError = 8 -) - -var CustomInterestErrorEnum_CustomInterestError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "NAME_ALREADY_USED", - 3: "CUSTOM_INTEREST_MEMBER_ID_AND_TYPE_PARAMETER_NOT_PRESENT_IN_REMOVE", - 4: "TYPE_AND_PARAMETER_NOT_FOUND", - 5: "TYPE_AND_PARAMETER_ALREADY_EXISTED", - 6: "INVALID_CUSTOM_INTEREST_MEMBER_TYPE", - 7: "CANNOT_REMOVE_WHILE_IN_USE", - 8: "CANNOT_CHANGE_TYPE", -} - -var CustomInterestErrorEnum_CustomInterestError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "NAME_ALREADY_USED": 2, - "CUSTOM_INTEREST_MEMBER_ID_AND_TYPE_PARAMETER_NOT_PRESENT_IN_REMOVE": 3, - "TYPE_AND_PARAMETER_NOT_FOUND": 4, - "TYPE_AND_PARAMETER_ALREADY_EXISTED": 5, - "INVALID_CUSTOM_INTEREST_MEMBER_TYPE": 6, - "CANNOT_REMOVE_WHILE_IN_USE": 7, - "CANNOT_CHANGE_TYPE": 8, -} - -func (x CustomInterestErrorEnum_CustomInterestError) String() string { - return proto.EnumName(CustomInterestErrorEnum_CustomInterestError_name, int32(x)) -} - -func (CustomInterestErrorEnum_CustomInterestError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bace08c6ed3f21e7, []int{0, 0} -} - -// Container for enum describing possible custom interest errors. -type CustomInterestErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomInterestErrorEnum) Reset() { *m = CustomInterestErrorEnum{} } -func (m *CustomInterestErrorEnum) String() string { return proto.CompactTextString(m) } -func (*CustomInterestErrorEnum) ProtoMessage() {} -func (*CustomInterestErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_bace08c6ed3f21e7, []int{0} -} - -func (m *CustomInterestErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomInterestErrorEnum.Unmarshal(m, b) -} -func (m *CustomInterestErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomInterestErrorEnum.Marshal(b, m, deterministic) -} -func (m *CustomInterestErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomInterestErrorEnum.Merge(m, src) -} -func (m *CustomInterestErrorEnum) XXX_Size() int { - return xxx_messageInfo_CustomInterestErrorEnum.Size(m) -} -func (m *CustomInterestErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_CustomInterestErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomInterestErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.errors.CustomInterestErrorEnum_CustomInterestError", CustomInterestErrorEnum_CustomInterestError_name, CustomInterestErrorEnum_CustomInterestError_value) - proto.RegisterType((*CustomInterestErrorEnum)(nil), "google.ads.googleads.v1.errors.CustomInterestErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/custom_interest_error.proto", fileDescriptor_bace08c6ed3f21e7) -} - -var fileDescriptor_bace08c6ed3f21e7 = []byte{ - // 448 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xdf, 0x6a, 0xdb, 0x30, - 0x18, 0xc5, 0x17, 0x77, 0x6b, 0x87, 0x7a, 0x31, 0x4f, 0x63, 0x7f, 0x28, 0x25, 0x8c, 0x0c, 0xb6, - 0x3b, 0x1b, 0xb3, 0x3b, 0xed, 0x4a, 0xb1, 0xbe, 0xa4, 0x62, 0xb1, 0x6c, 0xfc, 0xaf, 0xeb, 0x08, - 0x08, 0xaf, 0x36,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 0x35, 0x31, - 0xa7, 0x84, 0xd0, 0x52, 0x13, 0xb2, 0xb7, 0x10, 0x92, 0x7b, 0x84, 0x18, 0xd3, 0xb7, 0xe3, 0xa1, - 0xdd, 0xc7, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xac, 0x31, 0xb2, 0xd6, 0xd4, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/customer_client_link_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/customer_client_link_error.pb.go deleted file mode 100644 index 3ea129c7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/customer_client_link_error.pb.go +++ /dev/null @@ -1,153 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/customer_client_link_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_05999249da6418bd, []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_05999249da6418bd, []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 (m *CustomerClientLinkErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerClientLinkErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.CustomerClientLinkErrorEnum_CustomerClientLinkError", CustomerClientLinkErrorEnum_CustomerClientLinkError_name, CustomerClientLinkErrorEnum_CustomerClientLinkError_value) - proto.RegisterType((*CustomerClientLinkErrorEnum)(nil), "google.ads.googleads.v1.errors.CustomerClientLinkErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/customer_client_link_error.proto", fileDescriptor_05999249da6418bd) -} - -var fileDescriptor_05999249da6418bd = []byte{ - // 453 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0x4f, 0x6b, 0xd4, 0x40, - 0x14, 0x77, 0x53, 0x6d, 0x65, 0x7a, 0x30, 0xe4, 0x52, 0xb0, 0x65, 0x85, 0x14, 0x14, 0x05, 0x13, - 0x82, 0xb7, 0x78, 0x90, 0xd9, 0xc9, 0xb8, 0x19, 0x9a, 0x4e, 0x96, 0xfc, 0xd9, 0x12, 0x59, 0x78, - 0xc4, 0x4d, 0x08, 0xa1, 0xbb, 0x99, 0x25, 0x93, 0xf6, 0x03, 0x79, 0xf4, 0xa3, 0x08, 0x7e, 0x11, - 0xc1, 0xb3, 0x57, 0x49, 0x66, 0x77, 0xc5, 0xc2, 0xf6, 0x94, 0x1f, 0x79, 0xbf, 0x7f, 0xc9, 0x7b, - 0xe8, 0x53, 0x25, 0x44, 0xb5, 0x2a, 0xed, 0xbc, 0x90, 0xb6, 0x82, 0x3d, 0xba, 0x77, 0xec, 0xb2, - 0x6d, 0x45, 0x2b, 0xed, 0xe5, 0x9d, 0xec, 0xc4, 0xba, 0x6c, 0x61, 0xb9, 0xaa, 0xcb, 0xa6, 0x83, - 0x55, 0xdd, 0xdc, 0xc2, 0x30, 0xb3, 0x36, 0xad, 0xe8, 0x84, 0x31, 0x56, 0x2a, 0x2b, 0x2f, 0xa4, - 0xb5, 0x37, 0xb0, 0xee, 0x1d, 0x4b, 0x19, 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08, 0x52, 0x3e, - 0xa0, 0x6d, 0xe3, 0x7f, 0x86, 0x27, 0xc6, 0x7b, 0xf4, 0xf6, 0xf1, 0x50, 0xc0, 0xc9, 0xfe, 0x4b, - 0x9f, 0x4f, 0xfe, 0x8c, 0x90, 0xb9, 0x14, 0x6b, 0xeb, 0xf1, 0xa5, 0x4d, 0x2e, 0x0e, 0xfc, 0xf3, - 0x59, 0xbf, 0xb4, 0xd9, 0xe8, 0x8b, 0xb7, 0xd5, 0x57, 0x62, 0x95, 0x37, 0x95, 0x25, 0xda, 0xca, - 0xae, 0xca, 0x66, 0x58, 0xe9, 0xee, 0x8a, 0x36, 0xb5, 0x3c, 0x74, 0x54, 0x1f, 0xd5, 0xe3, 0x9b, - 0x76, 0x34, 0xc5, 0xf8, 0xbb, 0x36, 0x9e, 0x2a, 0x33, 0x5c, 0x48, 0x4b, 0xc1, 0x1e, 0xcd, 0x1d, - 0x6b, 0x88, 0x94, 0x3f, 0x76, 0x84, 0x05, 0x2e, 0xe4, 0x62, 0x4f, 0x58, 0xcc, 0x9d, 0x85, 0x22, - 0xfc, 0xd2, 0x4c, 0xf5, 0xd6, 0x75, 0x71, 0x21, 0x5d, 0x77, 0x4f, 0x71, 0xdd, 0xb9, 0xe3, 0xba, - 0x8a, 0xf4, 0xf5, 0x78, 0x68, 0xf7, 0xe1, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe9, 0x0f, 0x8b, - 0x6a, 0xf1, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/customer_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/customer_error.pb.go deleted file mode 100644 index d9aca04f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/customer_error.pb.go +++ /dev/null @@ -1,128 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/customer_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_307d1dd8bdad6a5d, []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_307d1dd8bdad6a5d, []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 (m *CustomerErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.CustomerErrorEnum_CustomerError", CustomerErrorEnum_CustomerError_name, CustomerErrorEnum_CustomerError_value) - proto.RegisterType((*CustomerErrorEnum)(nil), "google.ads.googleads.v1.errors.CustomerErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/customer_error.proto", fileDescriptor_307d1dd8bdad6a5d) -} - -var fileDescriptor_307d1dd8bdad6a5d = []byte{ - // 321 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xc3, 0x30, - 0x1c, 0xc6, 0x5d, 0x07, 0x0a, 0x19, 0x62, 0xcd, 0x41, 0x44, 0xc6, 0x0e, 0x7d, 0x80, 0x94, 0xb2, - 0x5b, 0x3c, 0x65, 0x6d, 0x9c, 0xc3, 0x91, 0x16, 0xda, 0x6e, 0x20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x9a, 0x44, 0x4d, 0xe9, 0xa8, 0xf7, 0x1a, 0x1c, 0x5d, 0x5c, 0x6e, 0x0a, 0xc1, 0x91, 0x54, - 0xdc, 0xe5, 0x95, 0x68, 0xbf, 0x74, 0xda, 0xdc, 0x6e, 0xad, 0xff, 0x5a, 0xe4, 0xa3, 0x39, 0x3e, - 0xac, 0xfe, 0x94, 0x90, 0x4f, 0x6b, 0x34, 0x35, 0x61, 0xa4, 0xd4, 0xc8, 0xc8, 0x46, 0x2d, 0x3c, - 0xd4, 0x3e, 0xa9, 0xbf, 0x4e, 0x40, 0x46, 0x4a, 0x9d, 0x75, 0x40, 0xb6, 0xf0, 0x32, 0x03, 0x7c, - 0x5b, 0x8e, 0x99, 0x62, 0x4c, 0x4a, 0x8d, 0x71, 0x87, 0x60, 0xbc, 0xf0, 0x30, 0x36, 0xd0, 0xdb, - 0x65, 0xdb, 0x6e, 0xfc, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x03, 0x84, 0xf7, 0x6d, 0xe5, 0x01, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/customer_feed_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/customer_feed_error.pb.go deleted file mode 100644 index 35e6113d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/customer_feed_error.pb.go +++ /dev/null @@ -1,153 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/customer_feed_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_7a622cddfd1be36c, []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_7a622cddfd1be36c, []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 (m *CustomerFeedErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerFeedErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.CustomerFeedErrorEnum_CustomerFeedError", CustomerFeedErrorEnum_CustomerFeedError_name, CustomerFeedErrorEnum_CustomerFeedError_value) - proto.RegisterType((*CustomerFeedErrorEnum)(nil), "google.ads.googleads.v1.errors.CustomerFeedErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/customer_feed_error.proto", fileDescriptor_7a622cddfd1be36c) -} - -var fileDescriptor_7a622cddfd1be36c = []byte{ - // 443 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0x41, 0x6f, 0xd3, 0x30, - 0x14, 0xc7, 0x69, 0x06, 0x1b, 0xf2, 0x0e, 0x14, 0x4b, 0x20, 0x84, 0xa6, 0x1e, 0xc2, 0x01, 0x0e, - 0xc3, 0x21, 0xe2, 0x82, 0xc2, 0xc9, 0x8b, 0x9d, 0x12, 0x91, 0xd8, 0x51, 0x92, 0x66, 0x14, 0x55, - 0xb2, 0xc2, 0x12, 0xa2, 0x4a, 0x6b, 0x5c, 0xc5, 0xdd, 0x3e, 0x10, 0x47, 0x3e, 0x0a, 0xdf, 0x81, - 0x2f, 0xc0, 0x8d, 0x13, 0x57, 0xe4, 0xb8, 0xad, 0xd4, 0x16, 0x76, 0xca, 0x5f, 0x2f, 0xbf, 0xff, - 0xff, 0x3d, 0xeb, 0x3d, 0xf0, 0xae, 0x91, 0xb2, 0xb9, 0xae, 0x9d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, - 0xc5, 0xda, 0x11, 0x73, 0x12, 0x06, 0xd3, 0x6d, 0xe2, 0x2e, 0xf8, 0x00, 0x9e, 0x81, 0x67, 0x21, - 0x2b, 0x70, 0x14, 0x92, 0xc3, 0xe1, 0x8e, 0xf5, 0x53, 0xe2, 0x30, 0xcb, 0x74, 0x07, 0xcd, 0xc7, - 0x38, 0x49, 0x7a, 0xfd, 0xaf, 0xa7, 0x9c, 0x40, 0x17, 0xbc, 0xde, 0xaf, 0x0a, 0x3d, 0x02, 0x8e, - 0x22, 0x7e, 0x49, 0x89, 0xe0, 0x6c, 0xaf, 0xfd, 0xc3, 0x8b, 0xdf, 0x03, 0x60, 0x5f, 0xc9, 0x05, - 0xba, 0x7b, 0x7d, 0x17, 0x4f, 0x0f, 0x76, 0x90, 0xe8, 0xc5, 0x25, 0x83, 0xcf, 0x64, 0xed, 0x6c, - 0xe4, 0x75, 0xd9, 0x36, 0x48, 0x76, 0x8d, 0xd3, 0xd4, 0x6d, 0xbf, 0xd6, 0xcd, 0x09, 0x2d, 0xe7, - 0xea, 0x7f, 0x17, 0xf5, 0xde, 0x7c, 0xbe, 0x59, 0x47, 0x63, 0x8c, 0xbf, 0x5b, 0xa3, 0xb1, 0x09, - 0xc3, 0x95, 0x42, 0x46, 0x6a, 0x55, 0xb8, 0xa8, 0x6f, 0xa9, 0x7e, 0x6c, 0x80, 0x19, 0xae, 0xd4, - 0x6c, 0x0b, 0xcc, 0x0a, 0x77, 0x66, 0x80, 0x5f, 0x96, 0x6d, 0xaa, 0x9e, 0x87, 0x2b, 0xe5, 0x79, - 0x5b, 0xc4, 0xf3, 0x0a, 0xd7, 0xf3, 0x0c, 0xf4, 0xe5, 0xb8, 0x9f, 0xee, 0xed, 0xdf, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x64, 0xe1, 0x58, 0x11, 0xee, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/customer_manager_link_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/customer_manager_link_error.pb.go deleted file mode 100644 index 653eaad3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/customer_manager_link_error.pb.go +++ /dev/null @@ -1,162 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/customer_manager_link_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_bb13b694be60d601, []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_bb13b694be60d601, []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 (m *CustomerManagerLinkErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerManagerLinkErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.CustomerManagerLinkErrorEnum_CustomerManagerLinkError", CustomerManagerLinkErrorEnum_CustomerManagerLinkError_name, CustomerManagerLinkErrorEnum_CustomerManagerLinkError_value) - proto.RegisterType((*CustomerManagerLinkErrorEnum)(nil), "google.ads.googleads.v1.errors.CustomerManagerLinkErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/customer_manager_link_error.proto", fileDescriptor_bb13b694be60d601) -} - -var fileDescriptor_bb13b694be60d601 = []byte{ - // 496 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xcf, 0x6e, 0xd3, 0x40, - 0x10, 0xc6, 0x69, 0x0a, 0x2d, 0x6c, 0x0f, 0x18, 0x4b, 0x95, 0x00, 0x95, 0x1e, 0xc2, 0xa1, 0x42, - 0x08, 0x5b, 0x81, 0x9b, 0xb9, 0xb0, 0x59, 0x4f, 0x12, 0xab, 0xf6, 0xac, 0xe5, 0x7f, 0x01, 0x14, - 0x69, 0x64, 0x9a, 0xc8, 0x8a, 0x9a, 0x78, 0x23, 0x3b, 0xed, 0xf3, 0x20, 0x8e, 0x3c, 0x0a, 0x8f, - 0xc2, 0x13, 0x70, 0x03, 0x39, 0x1b, 0x47, 0x15, 0x22, 0x9c, 0x76, 0xb4, 0xf3, 0x9b, 0xef, 0xfb, - 0xa4, 0x19, 0xf6, 0xa1, 0x50, 0xaa, 0x58, 0xcc, 0xec, 0x7c, 0x5a, 0xdb, 0xba, 0x6c, 0xaa, 0xdb, - 0x9e, 0x3d, 0xab, 0x2a, 0x55, 0xd5, 0xf6, 0xd5, 0x4d, 0xbd, 0x56, 0xcb, 0x59, 0x45, 0xcb, 0xbc, - 0xcc, 0x8b, 0x59, 0x45, 0x8b, 0x79, 0x79, 0x4d, 0x9b, 0xa6, 0xb5, 0xaa, 0xd4, 0x5a, 0x99, 0xe7, -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 0x26, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/database_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/database_error.pb.go deleted file mode 100644 index 8f955522..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/database_error.pb.go +++ /dev/null @@ -1,120 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/database_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_a3df06e3d3683363, []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_a3df06e3d3683363, []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 (m *DatabaseErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_DatabaseErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.DatabaseErrorEnum_DatabaseError", DatabaseErrorEnum_DatabaseError_name, DatabaseErrorEnum_DatabaseError_value) - proto.RegisterType((*DatabaseErrorEnum)(nil), "google.ads.googleads.v1.errors.DatabaseErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/database_error.proto", fileDescriptor_a3df06e3d3683363) -} - -var fileDescriptor_a3df06e3d3683363 = []byte{ - // 300 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xc3, 0x30, - 0x18, 0x85, 0x5d, 0x05, 0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c, 0xdb, 0x47, 0x0b, 0xe3, - 0xb6, 0x5b, 0x3c, 0x7a, 0xf5, 0x0f, 0x2e, 0xa1, 0xb6, 0x4c, 0x0a, 0xa8, 0x6a, 0x81, 0x44, 0x21, - 0xbb, 0xe6, 0xfd, 0x81, 0xaa, 0x52, 0xff, 0x75, 0xaf, 0x7b, 0xf3, 0x7c, 0x58, 0xa7, 0x4b, 0x42, - 0x3e, 0xad, 0xe9, 0xd2, 0x84, 0x11, 0xae, 0xa1, 0x91, 0xad, 0x4a, 0x5d, 0xd8, 0xad, 0xd4, 0x5f, - 0x3d, 0x90, 0x11, 0xae, 0xb3, 0x01, 0xc8, 0x52, 0x37, 0x33, 0xc0, 0xb7, 0xe5, 0x98, 0x29, 0xc6, - 0x84, 0x6b, 0x8c, 0x07, 0x04, 0xe3, 0xd4, 0xc5, 0xd8, 0x40, 0x9b, 0xb3, 0xae, 0xdd, 0xec, 0x37, - 0x00, 0x00, 0xff, 0xff, 0x34, 0x89, 0xca, 0xdb, 0xcc, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/date_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/date_error.pb.go deleted file mode 100644 index c0760e6e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/date_error.pb.go +++ /dev/null @@ -1,164 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/date_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // The string date time's format should be yyyy-mm-dd hh:mm:ss+|-hh:mm. - DateErrorEnum_INVALID_STRING_DATE_TIME_SECONDS_WITH_OFFSET DateErrorEnum_DateError = 12 - // 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", - 12: "INVALID_STRING_DATE_TIME_SECONDS_WITH_OFFSET", - 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, - "INVALID_STRING_DATE_TIME_SECONDS_WITH_OFFSET": 12, - "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_df8c01899fe51563, []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_df8c01899fe51563, []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 (m *DateErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_DateErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.DateErrorEnum_DateError", DateErrorEnum_DateError_name, DateErrorEnum_DateError_value) - proto.RegisterType((*DateErrorEnum)(nil), "google.ads.googleads.v1.errors.DateErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/date_error.proto", fileDescriptor_df8c01899fe51563) -} - -var fileDescriptor_df8c01899fe51563 = []byte{ - // 446 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xdd, 0x6e, 0xd3, 0x30, - 0x18, 0x86, 0x69, 0x8b, 0x36, 0xf6, 0x95, 0x9f, 0xc8, 0x1c, 0x4c, 0xc0, 0x18, 0xa3, 0xc0, 0x19, - 0x72, 0x08, 0x3b, 0x0b, 0x47, 0x6e, 0xe3, 0xb6, 0x16, 0x89, 0x53, 0xe5, 0x6f, 0x08, 0x55, 0xb2, - 0x02, 0x89, 0xa2, 0x4a, 0x5b, 0x5c, 0xc5, 0x61, 0x17, 0xc4, 0x21, 0x12, 0xd7, 0xc0, 0x39, 0x77, - 0x02, 0x57, 0x81, 0x1a, 0x2f, 0x41, 0x93, 0xd6, 0xee, 0x28, 0xaf, 0xfc, 0x3d, 0xcf, 0x17, 0x4b, - 0x7e, 0xc1, 0x2c, 0xa4, 0x2c, 0xce, 0x73, 0x33, 0xcd, 0xd4, 0x55, 0xdc, 0xa4, 0x4b, 0xcb, 0xcc, - 0xab, 0x4a, 0x56, 0xca,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0, 0x18, 0x67, 0x5e, 0xec, 0xe9, 0xbb, 0xed, - 0xa3, 0x67, 0x70, 0xe8, 0x92, 0xa8, 0x1b, 0x92, 0x4f, 0xff, 0x87, 0xf7, 0xd0, 0x29, 0x98, 0xcd, - 0xfa, 0x80, 0xf0, 0x19, 0xbd, 0x66, 0x8a, 0x6d, 0xd2, 0x01, 0x7a, 0x0f, 0xf8, 0x06, 0x89, 0x70, - 0xe7, 0x1a, 0x18, 0x8a, 0xb1, 0x1f, 0xcd, 0x05, 0x8f, 0x5d, 0xd7, 0x80, 0xf1, 0x9f, 0x1e, 0x8c, - 0xbe, 0xca, 0x0b, 0xbc, 0xbb, 0x06, 0xe3, 0x87, 0xdd, 0x9b, 0x2e, 0x36, 0x0f, 0xbf, 0xe8, 0x7d, - 0x76, 0xae, 0x8c, 0x42, 0x9e, 0xa7, 0x65, 0x81, 0x65, 0x55, 0x98, 0x45, 0x5e, 0x36, 0xb5, 0x68, - 0x9b, 0xb7, 0x5e, 0xa9, 0x6d, 0x45, 0xfc, 0xa0, 0x3f, 0xdf, 0xfb, 0x83, 0x19, 0x21, 0x3f, 0xfa, - 0xc7, 0x33, 0xbd, 0x8c, 0x64, 0x0a, 0xeb, 0xb8, 0x49, 0x89, 0x85, 0x9b, 0x5f, 0xaa, 0xdf, 0x2d, - 0xb0, 0x24, 0x99, 0x5a, 0x76, 0xc0, 0x32, 0xb1, 0x96, 0x1a, 0xf8, 0xdb, 0x1f, 0xe9, 0x53, 0xdb, - 0x26, 0x99, 0xb2, 0xed, 0x0e, 0xb1, 0xed, 0xc4, 0xb2, 0x6d, 0x0d, 0x7d, 0xd9, 0x6b, 0x6e, 0x77, - 0xfa, 0x2f, 0x00, 0x00, 0xff, 0xff, 0xa8, 0x90, 0x80, 0x3b, 0x25, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/date_range_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/date_range_error.pb.go deleted file mode 100644 index b94a37f7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/date_range_error.pb.go +++ /dev/null @@ -1,141 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/date_range_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 resource 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_3c2f66935ae77907, []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_3c2f66935ae77907, []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 (m *DateRangeErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_DateRangeErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.DateRangeErrorEnum_DateRangeError", DateRangeErrorEnum_DateRangeError_name, DateRangeErrorEnum_DateRangeError_value) - proto.RegisterType((*DateRangeErrorEnum)(nil), "google.ads.googleads.v1.errors.DateRangeErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/date_range_error.proto", fileDescriptor_3c2f66935ae77907) -} - -var fileDescriptor_3c2f66935ae77907 = []byte{ - // 391 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xc1, 0x8e, 0x95, 0x30, - 0x14, 0x86, 0xe5, 0x8e, 0x8e, 0x49, 0xc7, 0x28, 0xa9, 0x0b, 0xa3, 0x8e, 0x13, 0xc3, 0xd6, 0xa4, - 0x84, 0x18, 0x37, 0x75, 0x75, 0xee, 0xb4, 0x4c, 0x88, 0x50, 0x08, 0x70, 0x19, 0x35, 0x24, 0x4d, - 0x15, 0x42, 0x6e, 0x32, 0x43, 0x6f, 0x28, 0xce, 0x03, 0xb9, 0xf4, 0x51, 0xdc, 0xf8, 0x16, 0x2e, - 0x5c, 0xf8, 0x0c, 0x06, 0xca, 0xbd, 0x71, 0x16, 0xba, 0xe2, 0xe7, 0xef, 0xff, 0x9d, 0xd3, 0x9e, - 0x83, 0xde, 0x74, 0x5a, 0x77, 0x57, 0xad, 0xaf, 0x1a, 0xe3, 0x5b, 0x39, 0xa9, 0x9b, 0xc0, 0x6f, - 0x87, 0x41, 0x0f, 0xc6, 0x6f, 0xd4, 0xd8, 0xca, 0x41, 0xf5, 0x5d, 0x2b, 0x67, 0x87, 0xec, 0x06, - 0x3d, 0x6a, 0x7c, 0x66, 0xb3, 0x44, 0x35, 0x86, 0x1c, 0x30, 0x72, 0x13, 0x10, 0x8b, 0x3d, 0x3b, - 0xdd, 0x97, 0xdd, 0x6d, 0x7d, 0xd5, 0xf7, 0x7a, 0x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e, 0xb5, 0xba, - 0xb7, 0xf6, 0xf3, 0x75, 0x75, 0x74, 0x01, 0xf0, 0x6d, 0x75, 0x76, 0x61, 0x8b, 0x41, 0x63, 0x88, - 0x95, 0x93, 0xaa, 0x02, 0x32, 0xb7, 0x34, 0xdf, 0xf7, 0x81, 0x1a, 0x1a, 0x53, 0x1f, 0x02, 0x75, - 0x15, 0xd4, 0x36, 0xf0, 0x6b, 0xe5, 0x59, 0x97, 0x52, 0x68, 0x0c, 0xa5, 0x87, 0x08, 0xa5, 0x55, - 0x40, 0xa9, 0x0d, 0x7d, 0x3a, 0x9e, 0x6f, 0xf7, 0xfa, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd0, - 0x3e, 0xbd, 0x2d, 0x57, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/distinct_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/distinct_error.pb.go deleted file mode 100644 index 93b990f0..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/distinct_error.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/distinct_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_5c34c4db4ba30dcf, []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_5c34c4db4ba30dcf, []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 (m *DistinctErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_DistinctErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.DistinctErrorEnum_DistinctError", DistinctErrorEnum_DistinctError_name, DistinctErrorEnum_DistinctError_value) - proto.RegisterType((*DistinctErrorEnum)(nil), "google.ads.googleads.v1.errors.DistinctErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/distinct_error.proto", fileDescriptor_5c34c4db4ba30dcf) -} - -var fileDescriptor_5c34c4db4ba30dcf = []byte{ - // 307 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xdf, 0x4a, 0xc3, 0x30, - 0x18, 0xc5, 0x5d, 0x07, 0x0a, 0x19, 0x6a, 0x17, 0xf0, 0x46, 0x64, 0x17, 0x7d, 0x80, 0x84, 0xb2, - 0xbb, 0x78, 0x95, 0xad, 0x71, 0x0c, 0x67, 0x2d, 0xd8, 0xd6, 0x3f, 0x14, 0x46, 0x5d, 0x4a, 0x28, - 0xac, 0x49, 0x69, 0xea, 0x1e, 0xc8, 0x4b, 0x1f, 0xc5, 0x47, 0x11, 0x7c, 0x07, 0x69, 0xb3, 0x56, - 0x76, 0xa1, 0x57, 0x3d, 0xfd, 0xf8, 0x9d, 0xf3, 0x9d, 0x7c, 0x60, 0x2a, 0x94, 0x12, 0xdb, 0x0c, - 0xa7, 0x5c, 0x63, 0x23, 0x1b, 0xb5, 0x73, 0x71, 0x56, 0x55, 0xaa, 0xd2, 0x98, 0xe7, 0xba, 0xce, - 0xe5, 0xa6, 0x5e, 0xb7, 0xff, 0xa8, 0xac, 0x54, 0xad, 0xe0, 0xc4, 0x90, 0x28, 0xe5, 0x1a, 0xf5, - 0x26, 0xb4, 0x73, 0x91, 0x31, 0x5d, 0x5e, 0x75, 0xa1, 0x65, 0x8e, 0x53, 0x29, 0x55, 0x9d, 0xd6, - 0xb9, 0x92, 0xda, 0xb8, 0x9d, 0x02, 0x8c, 0xbd, 0x7d, 0x2a, 0x6b, 0x78, 0x26, 0xdf, 0x0a, 0xe7, - 0x09, 0x9c, 0x1e, 0x0c, 0xe1, 0x39, 0x18, 0x45, 0xfe, 0x43, 0xc0, 0xe6, 0xcb, 0x9b, 0x25, 0xf3, - 0xec, 0x23, 0x38, 0x02, 0x27, 0x91, 0x7f, 0xeb, 0xdf, 0x3f, 0xfa, 0xf6, 0x00, 0x5e, 0x80, 0xb1, - 0x17, 0x05, 0xab, 0xe5, 0x9c, 0x86, 0x6c, 0xcd, 0x56, 0xec, 0x8e, 0xf9, 0xa1, 0x6d, 0x41, 0x08, - 0xce, 0x7e, 0xc7, 0xe1, 0x73, 0xc0, 0xec, 0xe1, 0xec, 0x7b, 0x00, 0x9c, 0x8d, 0x2a, 0xd0, 0xff, - 0x9d, 0x67, 0xf0, 0x60, 0x7d, 0xd0, 0x34, 0x0d, 0x06, 0x2f, 0xde, 0xde, 0x25, 0xd4, 0x36, 0x95, - 0x02, 0xa9, 0x4a, 0x60, 0x91, 0xc9, 0xf6, 0x1d, 0xdd, 0xb9, 0xca, 0x5c, 0xff, 0x75, 0xbd, 0x6b, - 0xf3, 0x79, 0xb7, 0x86, 0x0b, 0x4a, 0x3f, 0xac, 0xc9, 0xc2, 0x84, 0x51, 0xae, 0x91, 0x91, 0x8d, - 0x8a, 0x5d, 0xd4, 0xae, 0xd4, 0x9f, 0x1d, 0x90, 0x50, 0xae, 0x93, 0x1e, 0x48, 0x62, 0x37, 0x31, - 0xc0, 0x97, 0xe5, 0x98, 0x29, 0x21, 0x94, 0x6b, 0x42, 0x7a, 0x84, 0x90, 0xd8, 0x25, 0xc4, 0x40, - 0xaf, 0xc7, 0x6d, 0xbb, 0xe9, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x5f, 0xfb, 0x24, 0x56, 0xda, - 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/enum_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/enum_error.pb.go deleted file mode 100644 index 226eafd3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/enum_error.pb.go +++ /dev/null @@ -1,119 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/enum_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_14e62fef9dcb7b60, []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_14e62fef9dcb7b60, []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 (m *EnumErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_EnumErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.EnumErrorEnum_EnumError", EnumErrorEnum_EnumError_name, EnumErrorEnum_EnumError_value) - proto.RegisterType((*EnumErrorEnum)(nil), "google.ads.googleads.v1.errors.EnumErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/enum_error.proto", fileDescriptor_14e62fef9dcb7b60) -} - -var fileDescriptor_14e62fef9dcb7b60 = []byte{ - // 293 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0x84, 0x40, - 0x18, 0xc7, 0xd3, 0x85, 0xa2, 0x59, 0x2a, 0xf1, 0x14, 0xb1, 0xec, 0xc1, 0x07, 0x98, 0x41, 0xba, - 0x4d, 0xa7, 0xd9, 0x9c, 0x44, 0x6a, 0x67, 0xa5, 0xd4, 0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f, - 0x07, 0xba, 0xd1, 0xcf, 0x87, 0x39, 0xf3, 0x09, 0xf9, 0x34, 0x97, 0xbe, 0x1e, 0x46, 0x0a, 0x05, - 0x35, 0xf6, 0x94, 0xb8, 0x70, 0x58, 0xa9, 0xbe, 0x46, 0x21, 0x25, 0x85, 0x4a, 0x27, 0x21, 0x4d, - 0xdc, 0x54, 0x0b, 0x3f, 0xa6, 0xa3, 0x7f, 0x31, 0x26, 0x85, 0xc2, 0x78, 0x52, 0x30, 0x4e, 0x5c, - 0x8c, 0xb5, 0xf4, 0x76, 0x3c, 0xb4, 0xbb, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x29, 0xb5, 0xb1, - 0xb9, 0xbd, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/errors.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/errors.pb.go deleted file mode 100644 index 95a3fc5c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/errors.pb.go +++ /dev/null @@ -1,2271 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/errors.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v1/common" - _ "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.ProtoPackageIsVersion3 // 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_857fbb2e615b330c, []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 (m *GoogleAdsFailure) XXX_Merge(src proto.Message) { - xxx_messageInfo_GoogleAdsFailure.Merge(m, 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_857fbb2e615b330c, []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 (m *GoogleAdsError) XXX_Merge(src proto.Message) { - xxx_messageInfo_GoogleAdsError.Merge(m, 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_AssetError - // *ErrorCode_BiddingError - // *ErrorCode_CampaignCriterionError - // *ErrorCode_CollectionSizeError - // *ErrorCode_CountryCodeError - // *ErrorCode_CriterionError - // *ErrorCode_CustomerError - // *ErrorCode_DateError - // *ErrorCode_DateRangeError - // *ErrorCode_DistinctError - // *ErrorCode_FeedAttributeReferenceError - // *ErrorCode_FunctionError - // *ErrorCode_FunctionParsingError - // *ErrorCode_IdError - // *ErrorCode_ImageError - // *ErrorCode_LanguageCodeError - // *ErrorCode_MediaBundleError - // *ErrorCode_MediaUploadError - // *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_YoutubeVideoRegistrationError - // *ErrorCode_AdGroupBidModifierError - // *ErrorCode_ContextError - // *ErrorCode_FieldError - // *ErrorCode_SharedSetError - // *ErrorCode_SharedCriterionError - // *ErrorCode_CampaignSharedSetError - // *ErrorCode_ConversionActionError - // *ErrorCode_ConversionAdjustmentUploadError - // *ErrorCode_ConversionUploadError - // *ErrorCode_HeaderError - // *ErrorCode_DatabaseError - // *ErrorCode_PolicyFindingError - // *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_CampaignDraftError - // *ErrorCode_FeedItemError - // *ErrorCode_LabelError - // *ErrorCode_BillingSetupError - // *ErrorCode_CustomerClientLinkError - // *ErrorCode_CustomerManagerLinkError - // *ErrorCode_FeedMappingError - // *ErrorCode_CustomerFeedError - // *ErrorCode_AdGroupFeedError - // *ErrorCode_CampaignFeedError - // *ErrorCode_CustomInterestError - // *ErrorCode_CampaignExperimentError - // *ErrorCode_ExtensionFeedItemError - // *ErrorCode_AdParameterError - // *ErrorCode_FeedItemValidationError - // *ErrorCode_ExtensionSettingError - // *ErrorCode_FeedItemTargetError - // *ErrorCode_PolicyViolationError - // *ErrorCode_MutateJobError - // *ErrorCode_PartialFailureError - // *ErrorCode_PolicyValidationParameterError - // *ErrorCode_SizeLimitError - // *ErrorCode_NotWhitelistedError - // *ErrorCode_ManagerLinkError - 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_857fbb2e615b330c, []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 (m *ErrorCode) XXX_Merge(src proto.Message) { - xxx_messageInfo_ErrorCode.Merge(m, 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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.errors.AdxErrorEnum_AdxError,oneof"` -} - -type ErrorCode_AssetError struct { - AssetError AssetErrorEnum_AssetError `protobuf:"varint,107,opt,name=asset_error,json=assetError,proto3,enum=google.ads.googleads.v1.errors.AssetErrorEnum_AssetError,oneof"` -} - -type ErrorCode_BiddingError struct { - BiddingError BiddingErrorEnum_BiddingError `protobuf:"varint,26,opt,name=bidding_error,json=biddingError,proto3,enum=google.ads.googleads.v1.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.v1.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.v1.errors.CollectionSizeErrorEnum_CollectionSizeError,oneof"` -} - -type ErrorCode_CountryCodeError struct { - CountryCodeError CountryCodeErrorEnum_CountryCodeError `protobuf:"varint,109,opt,name=country_code_error,json=countryCodeError,proto3,enum=google.ads.googleads.v1.errors.CountryCodeErrorEnum_CountryCodeError,oneof"` -} - -type ErrorCode_CriterionError struct { - CriterionError CriterionErrorEnum_CriterionError `protobuf:"varint,32,opt,name=criterion_error,json=criterionError,proto3,enum=google.ads.googleads.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.errors.ImageErrorEnum_ImageError,oneof"` -} - -type ErrorCode_LanguageCodeError struct { - LanguageCodeError LanguageCodeErrorEnum_LanguageCodeError `protobuf:"varint,110,opt,name=language_code_error,json=languageCodeError,proto3,enum=google.ads.googleads.v1.errors.LanguageCodeErrorEnum_LanguageCodeError,oneof"` -} - -type ErrorCode_MediaBundleError struct { - MediaBundleError MediaBundleErrorEnum_MediaBundleError `protobuf:"varint,42,opt,name=media_bundle_error,json=mediaBundleError,proto3,enum=google.ads.googleads.v1.errors.MediaBundleErrorEnum_MediaBundleError,oneof"` -} - -type ErrorCode_MediaUploadError struct { - MediaUploadError MediaUploadErrorEnum_MediaUploadError `protobuf:"varint,116,opt,name=media_upload_error,json=mediaUploadError,proto3,enum=google.ads.googleads.v1.errors.MediaUploadErrorEnum_MediaUploadError,oneof"` -} - -type ErrorCode_MediaFileError struct { - MediaFileError MediaFileErrorEnum_MediaFileError `protobuf:"varint,86,opt,name=media_file_error,json=mediaFileError,proto3,enum=google.ads.googleads.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.errors.ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError,oneof"` -} - -type ErrorCode_YoutubeVideoRegistrationError struct { - YoutubeVideoRegistrationError YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError `protobuf:"varint,117,opt,name=youtube_video_registration_error,json=youtubeVideoRegistrationError,proto3,enum=google.ads.googleads.v1.errors.YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError,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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.errors.ConversionActionErrorEnum_ConversionActionError,oneof"` -} - -type ErrorCode_ConversionAdjustmentUploadError struct { - ConversionAdjustmentUploadError ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError `protobuf:"varint,115,opt,name=conversion_adjustment_upload_error,json=conversionAdjustmentUploadError,proto3,enum=google.ads.googleads.v1.errors.ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError,oneof"` -} - -type ErrorCode_ConversionUploadError struct { - ConversionUploadError ConversionUploadErrorEnum_ConversionUploadError `protobuf:"varint,111,opt,name=conversion_upload_error,json=conversionUploadError,proto3,enum=google.ads.googleads.v1.errors.ConversionUploadErrorEnum_ConversionUploadError,oneof"` -} - -type ErrorCode_HeaderError struct { - HeaderError HeaderErrorEnum_HeaderError `protobuf:"varint,66,opt,name=header_error,json=headerError,proto3,enum=google.ads.googleads.v1.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.v1.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.v1.errors.PolicyFindingErrorEnum_PolicyFindingError,oneof"` -} - -type ErrorCode_EnumError struct { - EnumError EnumErrorEnum_EnumError `protobuf:"varint,70,opt,name=enum_error,json=enumError,proto3,enum=google.ads.googleads.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.errors.GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError,oneof"` -} - -type ErrorCode_CampaignDraftError struct { - CampaignDraftError CampaignDraftErrorEnum_CampaignDraftError `protobuf:"varint,82,opt,name=campaign_draft_error,json=campaignDraftError,proto3,enum=google.ads.googleads.v1.errors.CampaignDraftErrorEnum_CampaignDraftError,oneof"` -} - -type ErrorCode_FeedItemError struct { - FeedItemError FeedItemErrorEnum_FeedItemError `protobuf:"varint,83,opt,name=feed_item_error,json=feedItemError,proto3,enum=google.ads.googleads.v1.errors.FeedItemErrorEnum_FeedItemError,oneof"` -} - -type ErrorCode_LabelError struct { - LabelError LabelErrorEnum_LabelError `protobuf:"varint,84,opt,name=label_error,json=labelError,proto3,enum=google.ads.googleads.v1.errors.LabelErrorEnum_LabelError,oneof"` -} - -type ErrorCode_BillingSetupError struct { - BillingSetupError BillingSetupErrorEnum_BillingSetupError `protobuf:"varint,87,opt,name=billing_setup_error,json=billingSetupError,proto3,enum=google.ads.googleads.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.errors.CampaignFeedErrorEnum_CampaignFeedError,oneof"` -} - -type ErrorCode_CustomInterestError struct { - CustomInterestError CustomInterestErrorEnum_CustomInterestError `protobuf:"varint,97,opt,name=custom_interest_error,json=customInterestError,proto3,enum=google.ads.googleads.v1.errors.CustomInterestErrorEnum_CustomInterestError,oneof"` -} - -type ErrorCode_CampaignExperimentError struct { - CampaignExperimentError CampaignExperimentErrorEnum_CampaignExperimentError `protobuf:"varint,98,opt,name=campaign_experiment_error,json=campaignExperimentError,proto3,enum=google.ads.googleads.v1.errors.CampaignExperimentErrorEnum_CampaignExperimentError,oneof"` -} - -type ErrorCode_ExtensionFeedItemError struct { - ExtensionFeedItemError ExtensionFeedItemErrorEnum_ExtensionFeedItemError `protobuf:"varint,100,opt,name=extension_feed_item_error,json=extensionFeedItemError,proto3,enum=google.ads.googleads.v1.errors.ExtensionFeedItemErrorEnum_ExtensionFeedItemError,oneof"` -} - -type ErrorCode_AdParameterError struct { - AdParameterError AdParameterErrorEnum_AdParameterError `protobuf:"varint,101,opt,name=ad_parameter_error,json=adParameterError,proto3,enum=google.ads.googleads.v1.errors.AdParameterErrorEnum_AdParameterError,oneof"` -} - -type ErrorCode_FeedItemValidationError struct { - FeedItemValidationError FeedItemValidationErrorEnum_FeedItemValidationError `protobuf:"varint,102,opt,name=feed_item_validation_error,json=feedItemValidationError,proto3,enum=google.ads.googleads.v1.errors.FeedItemValidationErrorEnum_FeedItemValidationError,oneof"` -} - -type ErrorCode_ExtensionSettingError struct { - ExtensionSettingError ExtensionSettingErrorEnum_ExtensionSettingError `protobuf:"varint,103,opt,name=extension_setting_error,json=extensionSettingError,proto3,enum=google.ads.googleads.v1.errors.ExtensionSettingErrorEnum_ExtensionSettingError,oneof"` -} - -type ErrorCode_FeedItemTargetError struct { - FeedItemTargetError FeedItemTargetErrorEnum_FeedItemTargetError `protobuf:"varint,104,opt,name=feed_item_target_error,json=feedItemTargetError,proto3,enum=google.ads.googleads.v1.errors.FeedItemTargetErrorEnum_FeedItemTargetError,oneof"` -} - -type ErrorCode_PolicyViolationError struct { - PolicyViolationError PolicyViolationErrorEnum_PolicyViolationError `protobuf:"varint,105,opt,name=policy_violation_error,json=policyViolationError,proto3,enum=google.ads.googleads.v1.errors.PolicyViolationErrorEnum_PolicyViolationError,oneof"` -} - -type ErrorCode_MutateJobError struct { - MutateJobError MutateJobErrorEnum_MutateJobError `protobuf:"varint,108,opt,name=mutate_job_error,json=mutateJobError,proto3,enum=google.ads.googleads.v1.errors.MutateJobErrorEnum_MutateJobError,oneof"` -} - -type ErrorCode_PartialFailureError struct { - PartialFailureError PartialFailureErrorEnum_PartialFailureError `protobuf:"varint,112,opt,name=partial_failure_error,json=partialFailureError,proto3,enum=google.ads.googleads.v1.errors.PartialFailureErrorEnum_PartialFailureError,oneof"` -} - -type ErrorCode_PolicyValidationParameterError struct { - PolicyValidationParameterError PolicyValidationParameterErrorEnum_PolicyValidationParameterError `protobuf:"varint,114,opt,name=policy_validation_parameter_error,json=policyValidationParameterError,proto3,enum=google.ads.googleads.v1.errors.PolicyValidationParameterErrorEnum_PolicyValidationParameterError,oneof"` -} - -type ErrorCode_SizeLimitError struct { - SizeLimitError SizeLimitErrorEnum_SizeLimitError `protobuf:"varint,118,opt,name=size_limit_error,json=sizeLimitError,proto3,enum=google.ads.googleads.v1.errors.SizeLimitErrorEnum_SizeLimitError,oneof"` -} - -type ErrorCode_NotWhitelistedError struct { - NotWhitelistedError NotWhitelistedErrorEnum_NotWhitelistedError `protobuf:"varint,120,opt,name=not_whitelisted_error,json=notWhitelistedError,proto3,enum=google.ads.googleads.v1.errors.NotWhitelistedErrorEnum_NotWhitelistedError,oneof"` -} - -type ErrorCode_ManagerLinkError struct { - ManagerLinkError ManagerLinkErrorEnum_ManagerLinkError `protobuf:"varint,121,opt,name=manager_link_error,json=managerLinkError,proto3,enum=google.ads.googleads.v1.errors.ManagerLinkErrorEnum_ManagerLinkError,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_AssetError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_BiddingError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_CampaignCriterionError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_CollectionSizeError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_CountryCodeError) 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_LanguageCodeError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_MediaBundleError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_MediaUploadError) 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_YoutubeVideoRegistrationError) 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_ConversionAdjustmentUploadError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_ConversionUploadError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_HeaderError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_DatabaseError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_PolicyFindingError) 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_CampaignDraftError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_FeedItemError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_LabelError) 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 (*ErrorCode_CustomInterestError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_CampaignExperimentError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_ExtensionFeedItemError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_AdParameterError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_FeedItemValidationError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_ExtensionSettingError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_FeedItemTargetError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_PolicyViolationError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_MutateJobError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_PartialFailureError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_PolicyValidationParameterError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_SizeLimitError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_NotWhitelistedError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_ManagerLinkError) 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) GetAssetError() AssetErrorEnum_AssetError { - if x, ok := m.GetErrorCode().(*ErrorCode_AssetError); ok { - return x.AssetError - } - return AssetErrorEnum_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) GetCountryCodeError() CountryCodeErrorEnum_CountryCodeError { - if x, ok := m.GetErrorCode().(*ErrorCode_CountryCodeError); ok { - return x.CountryCodeError - } - return CountryCodeErrorEnum_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) GetLanguageCodeError() LanguageCodeErrorEnum_LanguageCodeError { - if x, ok := m.GetErrorCode().(*ErrorCode_LanguageCodeError); ok { - return x.LanguageCodeError - } - return LanguageCodeErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetMediaBundleError() MediaBundleErrorEnum_MediaBundleError { - if x, ok := m.GetErrorCode().(*ErrorCode_MediaBundleError); ok { - return x.MediaBundleError - } - return MediaBundleErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetMediaUploadError() MediaUploadErrorEnum_MediaUploadError { - if x, ok := m.GetErrorCode().(*ErrorCode_MediaUploadError); ok { - return x.MediaUploadError - } - return MediaUploadErrorEnum_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) GetYoutubeVideoRegistrationError() YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError { - if x, ok := m.GetErrorCode().(*ErrorCode_YoutubeVideoRegistrationError); ok { - return x.YoutubeVideoRegistrationError - } - return YoutubeVideoRegistrationErrorEnum_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) GetConversionAdjustmentUploadError() ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError { - if x, ok := m.GetErrorCode().(*ErrorCode_ConversionAdjustmentUploadError); ok { - return x.ConversionAdjustmentUploadError - } - return ConversionAdjustmentUploadErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetConversionUploadError() ConversionUploadErrorEnum_ConversionUploadError { - if x, ok := m.GetErrorCode().(*ErrorCode_ConversionUploadError); ok { - return x.ConversionUploadError - } - return ConversionUploadErrorEnum_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) 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) GetCampaignDraftError() CampaignDraftErrorEnum_CampaignDraftError { - if x, ok := m.GetErrorCode().(*ErrorCode_CampaignDraftError); ok { - return x.CampaignDraftError - } - return CampaignDraftErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetFeedItemError() FeedItemErrorEnum_FeedItemError { - if x, ok := m.GetErrorCode().(*ErrorCode_FeedItemError); ok { - return x.FeedItemError - } - return FeedItemErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetLabelError() LabelErrorEnum_LabelError { - if x, ok := m.GetErrorCode().(*ErrorCode_LabelError); ok { - return x.LabelError - } - return LabelErrorEnum_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 -} - -func (m *ErrorCode) GetCustomInterestError() CustomInterestErrorEnum_CustomInterestError { - if x, ok := m.GetErrorCode().(*ErrorCode_CustomInterestError); ok { - return x.CustomInterestError - } - return CustomInterestErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetCampaignExperimentError() CampaignExperimentErrorEnum_CampaignExperimentError { - if x, ok := m.GetErrorCode().(*ErrorCode_CampaignExperimentError); ok { - return x.CampaignExperimentError - } - return CampaignExperimentErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetExtensionFeedItemError() ExtensionFeedItemErrorEnum_ExtensionFeedItemError { - if x, ok := m.GetErrorCode().(*ErrorCode_ExtensionFeedItemError); ok { - return x.ExtensionFeedItemError - } - return ExtensionFeedItemErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetAdParameterError() AdParameterErrorEnum_AdParameterError { - if x, ok := m.GetErrorCode().(*ErrorCode_AdParameterError); ok { - return x.AdParameterError - } - return AdParameterErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetFeedItemValidationError() FeedItemValidationErrorEnum_FeedItemValidationError { - if x, ok := m.GetErrorCode().(*ErrorCode_FeedItemValidationError); ok { - return x.FeedItemValidationError - } - return FeedItemValidationErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetExtensionSettingError() ExtensionSettingErrorEnum_ExtensionSettingError { - if x, ok := m.GetErrorCode().(*ErrorCode_ExtensionSettingError); ok { - return x.ExtensionSettingError - } - return ExtensionSettingErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetFeedItemTargetError() FeedItemTargetErrorEnum_FeedItemTargetError { - if x, ok := m.GetErrorCode().(*ErrorCode_FeedItemTargetError); ok { - return x.FeedItemTargetError - } - return FeedItemTargetErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetPolicyViolationError() PolicyViolationErrorEnum_PolicyViolationError { - if x, ok := m.GetErrorCode().(*ErrorCode_PolicyViolationError); ok { - return x.PolicyViolationError - } - return PolicyViolationErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetMutateJobError() MutateJobErrorEnum_MutateJobError { - if x, ok := m.GetErrorCode().(*ErrorCode_MutateJobError); ok { - return x.MutateJobError - } - return MutateJobErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetPartialFailureError() PartialFailureErrorEnum_PartialFailureError { - if x, ok := m.GetErrorCode().(*ErrorCode_PartialFailureError); ok { - return x.PartialFailureError - } - return PartialFailureErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetPolicyValidationParameterError() PolicyValidationParameterErrorEnum_PolicyValidationParameterError { - if x, ok := m.GetErrorCode().(*ErrorCode_PolicyValidationParameterError); ok { - return x.PolicyValidationParameterError - } - return PolicyValidationParameterErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetSizeLimitError() SizeLimitErrorEnum_SizeLimitError { - if x, ok := m.GetErrorCode().(*ErrorCode_SizeLimitError); ok { - return x.SizeLimitError - } - return SizeLimitErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetNotWhitelistedError() NotWhitelistedErrorEnum_NotWhitelistedError { - if x, ok := m.GetErrorCode().(*ErrorCode_NotWhitelistedError); ok { - return x.NotWhitelistedError - } - return NotWhitelistedErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetManagerLinkError() ManagerLinkErrorEnum_ManagerLinkError { - if x, ok := m.GetErrorCode().(*ErrorCode_ManagerLinkError); ok { - return x.ManagerLinkError - } - return ManagerLinkErrorEnum_UNSPECIFIED -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ErrorCode) XXX_OneofWrappers() []interface{} { - return []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_AssetError)(nil), - (*ErrorCode_BiddingError)(nil), - (*ErrorCode_CampaignCriterionError)(nil), - (*ErrorCode_CollectionSizeError)(nil), - (*ErrorCode_CountryCodeError)(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_LanguageCodeError)(nil), - (*ErrorCode_MediaBundleError)(nil), - (*ErrorCode_MediaUploadError)(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_YoutubeVideoRegistrationError)(nil), - (*ErrorCode_AdGroupBidModifierError)(nil), - (*ErrorCode_ContextError)(nil), - (*ErrorCode_FieldError)(nil), - (*ErrorCode_SharedSetError)(nil), - (*ErrorCode_SharedCriterionError)(nil), - (*ErrorCode_CampaignSharedSetError)(nil), - (*ErrorCode_ConversionActionError)(nil), - (*ErrorCode_ConversionAdjustmentUploadError)(nil), - (*ErrorCode_ConversionUploadError)(nil), - (*ErrorCode_HeaderError)(nil), - (*ErrorCode_DatabaseError)(nil), - (*ErrorCode_PolicyFindingError)(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_CampaignDraftError)(nil), - (*ErrorCode_FeedItemError)(nil), - (*ErrorCode_LabelError)(nil), - (*ErrorCode_BillingSetupError)(nil), - (*ErrorCode_CustomerClientLinkError)(nil), - (*ErrorCode_CustomerManagerLinkError)(nil), - (*ErrorCode_FeedMappingError)(nil), - (*ErrorCode_CustomerFeedError)(nil), - (*ErrorCode_AdGroupFeedError)(nil), - (*ErrorCode_CampaignFeedError)(nil), - (*ErrorCode_CustomInterestError)(nil), - (*ErrorCode_CampaignExperimentError)(nil), - (*ErrorCode_ExtensionFeedItemError)(nil), - (*ErrorCode_AdParameterError)(nil), - (*ErrorCode_FeedItemValidationError)(nil), - (*ErrorCode_ExtensionSettingError)(nil), - (*ErrorCode_FeedItemTargetError)(nil), - (*ErrorCode_PolicyViolationError)(nil), - (*ErrorCode_MutateJobError)(nil), - (*ErrorCode_PartialFailureError)(nil), - (*ErrorCode_PolicyValidationParameterError)(nil), - (*ErrorCode_SizeLimitError)(nil), - (*ErrorCode_NotWhitelistedError)(nil), - (*ErrorCode_ManagerLinkError)(nil), - } -} - -// Describes the part of the request proto that caused the error. -type ErrorLocation struct { - // 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_857fbb2e615b330c, []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 (m *ErrorLocation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ErrorLocation.Merge(m, 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) 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_857fbb2e615b330c, []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 (m *ErrorLocation_FieldPathElement) XXX_Merge(src proto.Message) { - xxx_messageInfo_ErrorLocation_FieldPathElement.Merge(m, 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_857fbb2e615b330c, []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 (m *ErrorDetails) XXX_Merge(src proto.Message) { - xxx_messageInfo_ErrorDetails.Merge(m, 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_857fbb2e615b330c, []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 (m *PolicyViolationDetails) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyViolationDetails.Merge(m, 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_857fbb2e615b330c, []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 (m *PolicyFindingDetails) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyFindingDetails.Merge(m, 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.v1.errors.GoogleAdsFailure") - proto.RegisterType((*GoogleAdsError)(nil), "google.ads.googleads.v1.errors.GoogleAdsError") - proto.RegisterType((*ErrorCode)(nil), "google.ads.googleads.v1.errors.ErrorCode") - proto.RegisterType((*ErrorLocation)(nil), "google.ads.googleads.v1.errors.ErrorLocation") - proto.RegisterType((*ErrorLocation_FieldPathElement)(nil), "google.ads.googleads.v1.errors.ErrorLocation.FieldPathElement") - proto.RegisterType((*ErrorDetails)(nil), "google.ads.googleads.v1.errors.ErrorDetails") - proto.RegisterType((*PolicyViolationDetails)(nil), "google.ads.googleads.v1.errors.PolicyViolationDetails") - proto.RegisterType((*PolicyFindingDetails)(nil), "google.ads.googleads.v1.errors.PolicyFindingDetails") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/errors.proto", fileDescriptor_857fbb2e615b330c) -} - -var fileDescriptor_857fbb2e615b330c = []byte{ - // 4109 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x5c, 0xcd, 0x73, 0x1c, 0x37, - 0x76, 0x9f, 0x91, 0x63, 0x4b, 0x04, 0x25, 0x4a, 0x6a, 0xd1, 0x32, 0x2c, 0xad, 0xb4, 0x5a, 0x7a, - 0x37, 0x51, 0x36, 0x6b, 0x52, 0xa4, 0xbe, 0x2c, 0x6a, 0x2d, 0x79, 0xf8, 0xa5, 0xe1, 0x8a, 0x94, - 0xe8, 0xa6, 0x4c, 0xef, 0x7a, 0x95, 0x8c, 0x31, 0xdd, 0x98, 0x21, 0xcc, 0xfe, 0x52, 0x7f, 0x50, - 0xa4, 0x2a, 0x5b, 0x95, 0xa4, 0x2a, 0xa9, 0x4a, 0xaa, 0x92, 0xaa, 0x24, 0x55, 0x39, 0xe4, 0x90, - 0x83, 0x8f, 0x7b, 0xc8, 0x21, 0x39, 0xe4, 0x5f, 0x48, 0xe5, 0xff, 0x48, 0x0e, 0xa9, 0x5c, 0x73, - 0x4f, 0x01, 0xfd, 0x05, 0xa0, 0x31, 0x03, 0x74, 0x4e, 0x1c, 0xfc, 0x80, 0xdf, 0x7b, 0x68, 0x34, - 0xf0, 0xf0, 0x80, 0xd7, 0x8f, 0xe0, 0x0f, 0xc6, 0x61, 0x38, 0xf6, 0xf0, 0x12, 0x72, 0x93, 0xa5, - 0xfc, 0x27, 0xfd, 0x75, 0xbc, 0xbc, 0x84, 0xe3, 0x38, 0x8c, 0x93, 0xe2, 0xcf, 0x62, 0x14, 0x87, - 0x69, 0x68, 0xdd, 0xcc, 0x5b, 0x2c, 0x22, 0x37, 0x59, 0xac, 0x1a, 0x2f, 0x1e, 0x2f, 0x2f, 0xe6, - 0xad, 0xae, 0x4d, 0x14, 0xe6, 0x84, 0xbe, 0x1f, 0x06,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, 0x4d, 0xad, 0xd5, 0x24, - 0x70, 0x78, 0xc0, 0xfa, 0x93, 0x2e, 0x98, 0x57, 0x05, 0x12, 0xe1, 0x65, 0xb3, 0x87, 0xed, 0x09, - 0x5c, 0x71, 0xbe, 0x4b, 0x38, 0x7d, 0x58, 0xd4, 0x84, 0xad, 0xbf, 0xea, 0x02, 0x38, 0x29, 0x96, - 0x0c, 0x2d, 0xd6, 0x8d, 0x97, 0x86, 0xaf, 0x78, 0xbd, 0x64, 0x37, 0xde, 0xb5, 0x58, 0xd3, 0xef, - 0xd8, 0x1f, 0x22, 0x55, 0x85, 0x75, 0x0a, 0xae, 0x28, 0x42, 0xf7, 0xf0, 0x0a, 0xeb, 0xc6, 0x33, - 0x7d, 0x37, 0xd6, 0x2b, 0x26, 0xdf, 0x05, 0x09, 0xed, 0x77, 0xec, 0xcb, 0x48, 0x06, 0xad, 0x00, - 0x5c, 0x6e, 0x04, 0xf3, 0xe1, 0x87, 0x66, 0x76, 0xae, 0x78, 0x4a, 0x71, 0x05, 0xf1, 0x10, 0xb5, - 0x73, 0x48, 0x40, 0xa8, 0x59, 0x95, 0x63, 0xdb, 0x10, 0x9a, 0xaa, 0xdb, 0xcf, 0x69, 0xbc, 0x3a, - 0x1e, 0xca, 0xd5, 0xf1, 0x88, 0xf5, 0x0a, 0xcc, 0x54, 0x31, 0x71, 0xf8, 0x31, 0xd3, 0x73, 0x5f, - 0xaf, 0xe7, 0x84, 0xd7, 0x70, 0x52, 0xca, 0x3e, 0x87, 0x8a, 0xdf, 0xd4, 0x88, 0x71, 0x91, 0x73, - 0x78, 0x64, 0x66, 0xc4, 0x7a, 0x94, 0xc2, 0x49, 0xae, 0x8a, 0xd4, 0x88, 0xa1, 0xaa, 0x44, 0x3d, - 0x22, 0x21, 0xe0, 0x0d, 0xaf, 0x99, 0x59, 0x9c, 0xc2, 0x11, 0x69, 0x78, 0x26, 0x95, 0xc5, 0x19, - 0x72, 0x65, 0xeb, 0xaf, 0xbb, 0x00, 0x4e, 0x0a, 0x38, 0xc3, 0x1b, 0x4c, 0xe3, 0x97, 0xa6, 0x0b, - 0x5f, 0xb1, 0x02, 0xd4, 0x55, 0xfd, 0x8e, 0x7d, 0xd5, 0x51, 0xd6, 0xe4, 0x16, 0x50, 0x15, 0x5d, - 0x85, 0x3f, 0x34, 0xb4, 0x80, 0x15, 0x79, 0x9f, 0xbc, 0xe3, 0xf6, 0x78, 0x05, 0xce, 0x2c, 0x60, - 0x13, 0xb6, 0x32, 0x60, 0x35, 0x63, 0x95, 0xd0, 0x67, 0xfa, 0x37, 0xf5, 0xfa, 0x19, 0x93, 0x3a, - 0xb5, 0xbc, 0x72, 0x11, 0xec, 0x77, 0xec, 0x4b, 0x8e, 0x84, 0x59, 0x1e, 0xb8, 0x28, 0xbf, 0x80, - 0x5b, 0x66, 0x4b, 0x42, 0x35, 0xf0, 0xf2, 0x80, 0xcf, 0x39, 0xe2, 0x40, 0x53, 0x33, 0x2f, 0x04, - 0x29, 0xe1, 0x37, 0x86, 0x66, 0xbe, 0x60, 0x71, 0xba, 0x78, 0x84, 0x99, 0x79, 0x1e, 0xb0, 0x7e, - 0x09, 0x40, 0x1d, 0x28, 0x84, 0x3f, 0x62, 0x5a, 0x1e, 0xea, 0xb4, 0x6c, 0x08, 0x0e, 0xda, 0x06, - 0xe7, 0x9e, 0xcd, 0xb8, 0xbc, 0x73, 0x26, 0x47, 0x14, 0xe1, 0x82, 0xd9, 0x90, 0x51, 0x89, 0x36, - 0xa5, 0x89, 0x4a, 0x6a, 0x88, 0x0e, 0x99, 0x2b, 0x20, 0x74, 0xc8, 0xc4, 0x48, 0x24, 0xfc, 0xc4, - 0x6c, 0xc8, 0x36, 0x0a, 0x16, 0xa7, 0x8b, 0x47, 0xe8, 0x90, 0xb9, 0x3c, 0x60, 0x7d, 0xdf, 0x05, - 0x37, 0xa7, 0x07, 0x04, 0xe1, 0x8f, 0x99, 0xea, 0x5f, 0x6b, 0x9d, 0x50, 0x8c, 0xdd, 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 0x1f, 0x87, 0x1e, 0x0a, 0xc6, 0x8b, 0x61, 0x3c, 0x5e, 0x1a, 0xe3, 0x80, 0xcd, - 0xff, 0x32, 0xc3, 0x2e, 0x22, 0xc9, 0xa4, 0x84, 0xbb, 0xc7, 0xf9, 0x9f, 0xef, 0xcf, 0xbc, 0xf7, - 0xac, 0xd7, 0xfb, 0xed, 0x99, 0x9b, 0x79, 0xea, 0xda, 0x62, 0xcf, 0xe5, 0x12, 0xdc, 0x16, 0x0f, - 0x96, 0xf3, 0xc5, 0x9c, 0xfc, 0x47, 0xd9, 0xe0, 0x75, 0xcf, 0x4d, 0x5e, 0x57, 0x0d, 0x5e, 0x1f, - 0x2c, 0xbf, 0xce, 0x1b, 0xfc, 0xf7, 0x99, 0x85, 0x1c, 0x5d, 0x5d, 0xed, 0xb9, 0xc9, 0xea, 0x6a, - 0xd5, 0x64, 0x75, 0xf5, 0x60, 0x79, 0x75, 0x35, 0x6f, 0x34, 0xfc, 0x80, 0xf5, 0xee, 0xee, 0xff, - 0x05, 0x00, 0x00, 0xff, 0xff, 0x9f, 0x63, 0x5e, 0xfc, 0x91, 0x4f, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/extension_feed_item_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/extension_feed_item_error.pb.go deleted file mode 100644 index f717cf75..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/extension_feed_item_error.pb.go +++ /dev/null @@ -1,349 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/extension_feed_item_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible extension feed item errors. -type ExtensionFeedItemErrorEnum_ExtensionFeedItemError int32 - -const ( - // Enum unspecified. - ExtensionFeedItemErrorEnum_UNSPECIFIED ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 0 - // The received error code is not known in this version. - ExtensionFeedItemErrorEnum_UNKNOWN ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 1 - // Value is not within the accepted range. - ExtensionFeedItemErrorEnum_VALUE_OUT_OF_RANGE ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 2 - // Url list is too long. - ExtensionFeedItemErrorEnum_URL_LIST_TOO_LONG ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 3 - // Cannot have a geo targeting restriction without having geo targeting. - ExtensionFeedItemErrorEnum_CANNOT_HAVE_RESTRICTION_ON_EMPTY_GEO_TARGETING ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 4 - // Cannot simultaneously set sitelink field with final urls. - ExtensionFeedItemErrorEnum_CANNOT_SET_WITH_FINAL_URLS ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 5 - // Must set field with final urls. - ExtensionFeedItemErrorEnum_CANNOT_SET_WITHOUT_FINAL_URLS ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 6 - // Phone number for a call extension is invalid. - ExtensionFeedItemErrorEnum_INVALID_PHONE_NUMBER ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 7 - // Phone number for a call extension is not supported for the given country - // code. - ExtensionFeedItemErrorEnum_PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 8 - // A carrier specific number in short format is not allowed for call - // extensions. - ExtensionFeedItemErrorEnum_CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 9 - // Premium rate numbers are not allowed for call extensions. - ExtensionFeedItemErrorEnum_PREMIUM_RATE_NUMBER_NOT_ALLOWED ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 10 - // Phone number type for a call extension is not allowed. - // For example, personal number is not allowed for a call extension in - // most regions. - ExtensionFeedItemErrorEnum_DISALLOWED_NUMBER_TYPE ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 11 - // Phone number for a call extension does not meet domestic format - // requirements. - ExtensionFeedItemErrorEnum_INVALID_DOMESTIC_PHONE_NUMBER_FORMAT ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 12 - // Vanity phone numbers (i.e. those including letters) are not allowed for - // call extensions. - ExtensionFeedItemErrorEnum_VANITY_PHONE_NUMBER_NOT_ALLOWED ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 13 - // Call conversion action provided for a call extension is invalid. - ExtensionFeedItemErrorEnum_INVALID_CALL_CONVERSION_ACTION ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 14 - // For a call extension, the customer is not whitelisted for call tracking. - ExtensionFeedItemErrorEnum_CUSTOMER_NOT_WHITELISTED_FOR_CALLTRACKING ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 15 - // Call tracking is not supported for the given country for a call - // extension. - ExtensionFeedItemErrorEnum_CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 16 - // Customer hasn't consented for call recording, which is required for - // creating/updating call feed items. Please see - // https://support.google.com/google-ads/answer/7412639. - ExtensionFeedItemErrorEnum_CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 17 - // App id provided for an app extension is invalid. - ExtensionFeedItemErrorEnum_INVALID_APP_ID ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 18 - // Quotation marks present in the review text for a review extension. - ExtensionFeedItemErrorEnum_QUOTES_IN_REVIEW_EXTENSION_SNIPPET ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 19 - // Hyphen character present in the review text for a review extension. - ExtensionFeedItemErrorEnum_HYPHENS_IN_REVIEW_EXTENSION_SNIPPET ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 20 - // A blacklisted review source name or url was provided for a review - // extension. - ExtensionFeedItemErrorEnum_REVIEW_EXTENSION_SOURCE_INELIGIBLE ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 21 - // Review source name should not be found in the review text. - ExtensionFeedItemErrorEnum_SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 22 - // Inconsistent currency codes. - ExtensionFeedItemErrorEnum_INCONSISTENT_CURRENCY_CODES ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 23 - // Price extension cannot have duplicated headers. - ExtensionFeedItemErrorEnum_PRICE_EXTENSION_HAS_DUPLICATED_HEADERS ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 24 - // Price item cannot have duplicated header and description. - ExtensionFeedItemErrorEnum_PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 25 - // Price extension has too few items. - ExtensionFeedItemErrorEnum_PRICE_EXTENSION_HAS_TOO_FEW_ITEMS ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 26 - // Price extension has too many items. - ExtensionFeedItemErrorEnum_PRICE_EXTENSION_HAS_TOO_MANY_ITEMS ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 27 - // The input value is not currently supported. - ExtensionFeedItemErrorEnum_UNSUPPORTED_VALUE ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 28 - // The input value is not currently supported in the selected language of an - // extension. - ExtensionFeedItemErrorEnum_UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 29 - // Unknown or unsupported device preference. - ExtensionFeedItemErrorEnum_INVALID_DEVICE_PREFERENCE ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 30 - // Invalid feed item schedule end time (i.e., endHour = 24 and endMinute != - // 0). - ExtensionFeedItemErrorEnum_INVALID_SCHEDULE_END ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 31 - // Date time zone does not match the account's time zone. - ExtensionFeedItemErrorEnum_DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 32 - // Invalid structured snippet header. - ExtensionFeedItemErrorEnum_INVALID_SNIPPETS_HEADER ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 33 - // Cannot operate on removed feed item. - ExtensionFeedItemErrorEnum_CANNOT_OPERATE_ON_REMOVED_FEED_ITEM ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 34 - // Phone number not supported when call tracking enabled for country. - ExtensionFeedItemErrorEnum_PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 35 - // Cannot set call_conversion_action while call_conversion_tracking_enabled - // is set to true. - ExtensionFeedItemErrorEnum_CONFLICTING_CALL_CONVERSION_SETTINGS ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 36 - // The type of the input extension feed item doesn't match the existing - // extension feed item. - ExtensionFeedItemErrorEnum_EXTENSION_TYPE_MISMATCH ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 37 - // The oneof field extension i.e. subtype of extension feed item is - // required. - ExtensionFeedItemErrorEnum_EXTENSION_SUBTYPE_REQUIRED ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 38 - // The referenced feed item is not mapped to a supported extension type. - ExtensionFeedItemErrorEnum_EXTENSION_TYPE_UNSUPPORTED ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 39 - // Cannot operate on a Feed with more than one active FeedMapping. - ExtensionFeedItemErrorEnum_CANNOT_OPERATE_ON_FEED_WITH_MULTIPLE_MAPPINGS ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 40 - // Cannot operate on a Feed that has key attributes. - ExtensionFeedItemErrorEnum_CANNOT_OPERATE_ON_FEED_WITH_KEY_ATTRIBUTES ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 41 - // Input price is not in a valid format. - ExtensionFeedItemErrorEnum_INVALID_PRICE_FORMAT ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 42 - // The promotion time is invalid. - ExtensionFeedItemErrorEnum_PROMOTION_INVALID_TIME ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 43 - // This field has too many decimal places specified. - ExtensionFeedItemErrorEnum_TOO_MANY_DECIMAL_PLACES_SPECIFIED ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 44 -) - -var ExtensionFeedItemErrorEnum_ExtensionFeedItemError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "VALUE_OUT_OF_RANGE", - 3: "URL_LIST_TOO_LONG", - 4: "CANNOT_HAVE_RESTRICTION_ON_EMPTY_GEO_TARGETING", - 5: "CANNOT_SET_WITH_FINAL_URLS", - 6: "CANNOT_SET_WITHOUT_FINAL_URLS", - 7: "INVALID_PHONE_NUMBER", - 8: "PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY", - 9: "CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED", - 10: "PREMIUM_RATE_NUMBER_NOT_ALLOWED", - 11: "DISALLOWED_NUMBER_TYPE", - 12: "INVALID_DOMESTIC_PHONE_NUMBER_FORMAT", - 13: "VANITY_PHONE_NUMBER_NOT_ALLOWED", - 14: "INVALID_CALL_CONVERSION_ACTION", - 15: "CUSTOMER_NOT_WHITELISTED_FOR_CALLTRACKING", - 16: "CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY", - 17: "CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED", - 18: "INVALID_APP_ID", - 19: "QUOTES_IN_REVIEW_EXTENSION_SNIPPET", - 20: "HYPHENS_IN_REVIEW_EXTENSION_SNIPPET", - 21: "REVIEW_EXTENSION_SOURCE_INELIGIBLE", - 22: "SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT", - 23: "INCONSISTENT_CURRENCY_CODES", - 24: "PRICE_EXTENSION_HAS_DUPLICATED_HEADERS", - 25: "PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION", - 26: "PRICE_EXTENSION_HAS_TOO_FEW_ITEMS", - 27: "PRICE_EXTENSION_HAS_TOO_MANY_ITEMS", - 28: "UNSUPPORTED_VALUE", - 29: "UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE", - 30: "INVALID_DEVICE_PREFERENCE", - 31: "INVALID_SCHEDULE_END", - 32: "DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE", - 33: "INVALID_SNIPPETS_HEADER", - 34: "CANNOT_OPERATE_ON_REMOVED_FEED_ITEM", - 35: "PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY", - 36: "CONFLICTING_CALL_CONVERSION_SETTINGS", - 37: "EXTENSION_TYPE_MISMATCH", - 38: "EXTENSION_SUBTYPE_REQUIRED", - 39: "EXTENSION_TYPE_UNSUPPORTED", - 40: "CANNOT_OPERATE_ON_FEED_WITH_MULTIPLE_MAPPINGS", - 41: "CANNOT_OPERATE_ON_FEED_WITH_KEY_ATTRIBUTES", - 42: "INVALID_PRICE_FORMAT", - 43: "PROMOTION_INVALID_TIME", - 44: "TOO_MANY_DECIMAL_PLACES_SPECIFIED", -} - -var ExtensionFeedItemErrorEnum_ExtensionFeedItemError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "VALUE_OUT_OF_RANGE": 2, - "URL_LIST_TOO_LONG": 3, - "CANNOT_HAVE_RESTRICTION_ON_EMPTY_GEO_TARGETING": 4, - "CANNOT_SET_WITH_FINAL_URLS": 5, - "CANNOT_SET_WITHOUT_FINAL_URLS": 6, - "INVALID_PHONE_NUMBER": 7, - "PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY": 8, - "CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED": 9, - "PREMIUM_RATE_NUMBER_NOT_ALLOWED": 10, - "DISALLOWED_NUMBER_TYPE": 11, - "INVALID_DOMESTIC_PHONE_NUMBER_FORMAT": 12, - "VANITY_PHONE_NUMBER_NOT_ALLOWED": 13, - "INVALID_CALL_CONVERSION_ACTION": 14, - "CUSTOMER_NOT_WHITELISTED_FOR_CALLTRACKING": 15, - "CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY": 16, - "CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED": 17, - "INVALID_APP_ID": 18, - "QUOTES_IN_REVIEW_EXTENSION_SNIPPET": 19, - "HYPHENS_IN_REVIEW_EXTENSION_SNIPPET": 20, - "REVIEW_EXTENSION_SOURCE_INELIGIBLE": 21, - "SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT": 22, - "INCONSISTENT_CURRENCY_CODES": 23, - "PRICE_EXTENSION_HAS_DUPLICATED_HEADERS": 24, - "PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION": 25, - "PRICE_EXTENSION_HAS_TOO_FEW_ITEMS": 26, - "PRICE_EXTENSION_HAS_TOO_MANY_ITEMS": 27, - "UNSUPPORTED_VALUE": 28, - "UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE": 29, - "INVALID_DEVICE_PREFERENCE": 30, - "INVALID_SCHEDULE_END": 31, - "DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE": 32, - "INVALID_SNIPPETS_HEADER": 33, - "CANNOT_OPERATE_ON_REMOVED_FEED_ITEM": 34, - "PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY": 35, - "CONFLICTING_CALL_CONVERSION_SETTINGS": 36, - "EXTENSION_TYPE_MISMATCH": 37, - "EXTENSION_SUBTYPE_REQUIRED": 38, - "EXTENSION_TYPE_UNSUPPORTED": 39, - "CANNOT_OPERATE_ON_FEED_WITH_MULTIPLE_MAPPINGS": 40, - "CANNOT_OPERATE_ON_FEED_WITH_KEY_ATTRIBUTES": 41, - "INVALID_PRICE_FORMAT": 42, - "PROMOTION_INVALID_TIME": 43, - "TOO_MANY_DECIMAL_PLACES_SPECIFIED": 44, -} - -func (x ExtensionFeedItemErrorEnum_ExtensionFeedItemError) String() string { - return proto.EnumName(ExtensionFeedItemErrorEnum_ExtensionFeedItemError_name, int32(x)) -} - -func (ExtensionFeedItemErrorEnum_ExtensionFeedItemError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_5c3cc3411bdbe205, []int{0, 0} -} - -// Container for enum describing possible extension feed item error. -type ExtensionFeedItemErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExtensionFeedItemErrorEnum) Reset() { *m = ExtensionFeedItemErrorEnum{} } -func (m *ExtensionFeedItemErrorEnum) String() string { return proto.CompactTextString(m) } -func (*ExtensionFeedItemErrorEnum) ProtoMessage() {} -func (*ExtensionFeedItemErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_5c3cc3411bdbe205, []int{0} -} - -func (m *ExtensionFeedItemErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExtensionFeedItemErrorEnum.Unmarshal(m, b) -} -func (m *ExtensionFeedItemErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExtensionFeedItemErrorEnum.Marshal(b, m, deterministic) -} -func (m *ExtensionFeedItemErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExtensionFeedItemErrorEnum.Merge(m, src) -} -func (m *ExtensionFeedItemErrorEnum) XXX_Size() int { - return xxx_messageInfo_ExtensionFeedItemErrorEnum.Size(m) -} -func (m *ExtensionFeedItemErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_ExtensionFeedItemErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_ExtensionFeedItemErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.errors.ExtensionFeedItemErrorEnum_ExtensionFeedItemError", ExtensionFeedItemErrorEnum_ExtensionFeedItemError_name, ExtensionFeedItemErrorEnum_ExtensionFeedItemError_value) - proto.RegisterType((*ExtensionFeedItemErrorEnum)(nil), "google.ads.googleads.v1.errors.ExtensionFeedItemErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/extension_feed_item_error.proto", fileDescriptor_5c3cc3411bdbe205) -} - -var fileDescriptor_5c3cc3411bdbe205 = []byte{ - // 1056 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x55, 0xdd, 0x8e, 0x53, 0x37, - 0x10, 0x2e, 0x4b, 0x0b, 0xad, 0x29, 0x60, 0x5c, 0x58, 0x60, 0x17, 0x96, 0x12, 0xfe, 0x29, 0x24, - 0xa4, 0xed, 0x45, 0x95, 0x56, 0x95, 0x1c, 0x9f, 0x49, 0x62, 0xe1, 0x63, 0x1b, 0xdb, 0x27, 0x21, - 0x68, 0xa5, 0xd1, 0xb6, 0x49, 0xa3, 0x95, 0xd8, 0x64, 0xb5, 0x49, 0x51, 0x9f, 0xa2, 0x0f, 0xd1, - 0xcb, 0x4a, 0x7d, 0x91, 0x3e, 0x4a, 0x1f, 0xa0, 0xd7, 0x95, 0x7d, 0x92, 0x90, 0xed, 0x86, 0xbd, - 0xca, 0xc9, 0xf8, 0x9b, 0xff, 0x6f, 0x66, 0xc8, 0x8f, 0xa3, 0xc9, 0x64, 0xf4, 0x76, 0x58, 0xdb, - 0x1b, 0x4c, 0x6b, 0xe5, 0x67, 0xfc, 0x7a, 0x57, 0xaf, 0x0d, 0x8f, 0x8e, 0x26, 0x47, 0xd3, 0xda, - 0xf0, 0xb7, 0xd9, 0x70, 0x3c, 0xdd, 0x9f, 0x8c, 0xf1, 0x97, 0xe1, 0x70, 0x80, 0xfb, 0xb3, 0xe1, - 0x01, 0x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x74, 0x2e, 0x45, - 0xf7, 0xcd, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x4a, 0x95, 0x61, 0x9f, 0x2f, 0x08, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/extension_setting_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/extension_setting_error.pb.go deleted file mode 100644 index f507b64a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/extension_setting_error.pb.go +++ /dev/null @@ -1,456 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/extension_setting_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible extension setting errors. -type ExtensionSettingErrorEnum_ExtensionSettingError int32 - -const ( - // Enum unspecified. - ExtensionSettingErrorEnum_UNSPECIFIED ExtensionSettingErrorEnum_ExtensionSettingError = 0 - // The received error code is not known in this version. - ExtensionSettingErrorEnum_UNKNOWN ExtensionSettingErrorEnum_ExtensionSettingError = 1 - // A platform restriction was provided without input extensions or existing - // extensions. - ExtensionSettingErrorEnum_EXTENSIONS_REQUIRED ExtensionSettingErrorEnum_ExtensionSettingError = 2 - // The provided feed type does not correspond to the provided extensions. - ExtensionSettingErrorEnum_FEED_TYPE_EXTENSION_TYPE_MISMATCH ExtensionSettingErrorEnum_ExtensionSettingError = 3 - // The provided feed type cannot be used. - ExtensionSettingErrorEnum_INVALID_FEED_TYPE ExtensionSettingErrorEnum_ExtensionSettingError = 4 - // The provided feed type cannot be used at the customer level. - ExtensionSettingErrorEnum_INVALID_FEED_TYPE_FOR_CUSTOMER_EXTENSION_SETTING ExtensionSettingErrorEnum_ExtensionSettingError = 5 - // Cannot change a feed item field on a CREATE operation. - ExtensionSettingErrorEnum_CANNOT_CHANGE_FEED_ITEM_ON_CREATE ExtensionSettingErrorEnum_ExtensionSettingError = 6 - // Cannot update an extension that is not already in this setting. - ExtensionSettingErrorEnum_CANNOT_UPDATE_NEWLY_CREATED_EXTENSION ExtensionSettingErrorEnum_ExtensionSettingError = 7 - // There is no existing AdGroupExtensionSetting for this type. - ExtensionSettingErrorEnum_NO_EXISTING_AD_GROUP_EXTENSION_SETTING_FOR_TYPE ExtensionSettingErrorEnum_ExtensionSettingError = 8 - // There is no existing CampaignExtensionSetting for this type. - ExtensionSettingErrorEnum_NO_EXISTING_CAMPAIGN_EXTENSION_SETTING_FOR_TYPE ExtensionSettingErrorEnum_ExtensionSettingError = 9 - // There is no existing CustomerExtensionSetting for this type. - ExtensionSettingErrorEnum_NO_EXISTING_CUSTOMER_EXTENSION_SETTING_FOR_TYPE ExtensionSettingErrorEnum_ExtensionSettingError = 10 - // The AdGroupExtensionSetting already exists. UPDATE should be used to - // modify the existing AdGroupExtensionSetting. - ExtensionSettingErrorEnum_AD_GROUP_EXTENSION_SETTING_ALREADY_EXISTS ExtensionSettingErrorEnum_ExtensionSettingError = 11 - // The CampaignExtensionSetting already exists. UPDATE should be used to - // modify the existing CampaignExtensionSetting. - ExtensionSettingErrorEnum_CAMPAIGN_EXTENSION_SETTING_ALREADY_EXISTS ExtensionSettingErrorEnum_ExtensionSettingError = 12 - // The CustomerExtensionSetting already exists. UPDATE should be used to - // modify the existing CustomerExtensionSetting. - ExtensionSettingErrorEnum_CUSTOMER_EXTENSION_SETTING_ALREADY_EXISTS ExtensionSettingErrorEnum_ExtensionSettingError = 13 - // An active ad group feed already exists for this place holder type. - ExtensionSettingErrorEnum_AD_GROUP_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE ExtensionSettingErrorEnum_ExtensionSettingError = 14 - // An active campaign feed already exists for this place holder type. - ExtensionSettingErrorEnum_CAMPAIGN_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE ExtensionSettingErrorEnum_ExtensionSettingError = 15 - // An active customer feed already exists for this place holder type. - ExtensionSettingErrorEnum_CUSTOMER_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE ExtensionSettingErrorEnum_ExtensionSettingError = 16 - // Value is not within the accepted range. - ExtensionSettingErrorEnum_VALUE_OUT_OF_RANGE ExtensionSettingErrorEnum_ExtensionSettingError = 17 - // Cannot simultaneously set specified field with final urls. - ExtensionSettingErrorEnum_CANNOT_SET_FIELD_WITH_FINAL_URLS ExtensionSettingErrorEnum_ExtensionSettingError = 18 - // Must set field with final urls. - ExtensionSettingErrorEnum_FINAL_URLS_NOT_SET ExtensionSettingErrorEnum_ExtensionSettingError = 19 - // Phone number for a call extension is invalid. - ExtensionSettingErrorEnum_INVALID_PHONE_NUMBER ExtensionSettingErrorEnum_ExtensionSettingError = 20 - // Phone number for a call extension is not supported for the given country - // code. - ExtensionSettingErrorEnum_PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY ExtensionSettingErrorEnum_ExtensionSettingError = 21 - // A carrier specific number in short format is not allowed for call - // extensions. - ExtensionSettingErrorEnum_CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED ExtensionSettingErrorEnum_ExtensionSettingError = 22 - // Premium rate numbers are not allowed for call extensions. - ExtensionSettingErrorEnum_PREMIUM_RATE_NUMBER_NOT_ALLOWED ExtensionSettingErrorEnum_ExtensionSettingError = 23 - // Phone number type for a call extension is not allowed. - ExtensionSettingErrorEnum_DISALLOWED_NUMBER_TYPE ExtensionSettingErrorEnum_ExtensionSettingError = 24 - // Phone number for a call extension does not meet domestic format - // requirements. - ExtensionSettingErrorEnum_INVALID_DOMESTIC_PHONE_NUMBER_FORMAT ExtensionSettingErrorEnum_ExtensionSettingError = 25 - // Vanity phone numbers (i.e. those including letters) are not allowed for - // call extensions. - ExtensionSettingErrorEnum_VANITY_PHONE_NUMBER_NOT_ALLOWED ExtensionSettingErrorEnum_ExtensionSettingError = 26 - // Country code provided for a call extension is invalid. - ExtensionSettingErrorEnum_INVALID_COUNTRY_CODE ExtensionSettingErrorEnum_ExtensionSettingError = 27 - // Call conversion type id provided for a call extension is invalid. - ExtensionSettingErrorEnum_INVALID_CALL_CONVERSION_TYPE_ID ExtensionSettingErrorEnum_ExtensionSettingError = 28 - // For a call extension, the customer is not whitelisted for call tracking. - ExtensionSettingErrorEnum_CUSTOMER_NOT_WHITELISTED_FOR_CALLTRACKING ExtensionSettingErrorEnum_ExtensionSettingError = 29 - // Call tracking is not supported for the given country for a call - // extension. - ExtensionSettingErrorEnum_CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY ExtensionSettingErrorEnum_ExtensionSettingError = 30 - // App id provided for an app extension is invalid. - ExtensionSettingErrorEnum_INVALID_APP_ID ExtensionSettingErrorEnum_ExtensionSettingError = 31 - // Quotation marks present in the review text for a review extension. - ExtensionSettingErrorEnum_QUOTES_IN_REVIEW_EXTENSION_SNIPPET ExtensionSettingErrorEnum_ExtensionSettingError = 32 - // Hyphen character present in the review text for a review extension. - ExtensionSettingErrorEnum_HYPHENS_IN_REVIEW_EXTENSION_SNIPPET ExtensionSettingErrorEnum_ExtensionSettingError = 33 - // A blacklisted review source name or url was provided for a review - // extension. - ExtensionSettingErrorEnum_REVIEW_EXTENSION_SOURCE_NOT_ELIGIBLE ExtensionSettingErrorEnum_ExtensionSettingError = 34 - // Review source name should not be found in the review text. - ExtensionSettingErrorEnum_SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT ExtensionSettingErrorEnum_ExtensionSettingError = 35 - // Field must be set. - ExtensionSettingErrorEnum_MISSING_FIELD ExtensionSettingErrorEnum_ExtensionSettingError = 36 - // Inconsistent currency codes. - ExtensionSettingErrorEnum_INCONSISTENT_CURRENCY_CODES ExtensionSettingErrorEnum_ExtensionSettingError = 37 - // Price extension cannot have duplicated headers. - ExtensionSettingErrorEnum_PRICE_EXTENSION_HAS_DUPLICATED_HEADERS ExtensionSettingErrorEnum_ExtensionSettingError = 38 - // Price item cannot have duplicated header and description. - ExtensionSettingErrorEnum_PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION ExtensionSettingErrorEnum_ExtensionSettingError = 39 - // Price extension has too few items - ExtensionSettingErrorEnum_PRICE_EXTENSION_HAS_TOO_FEW_ITEMS ExtensionSettingErrorEnum_ExtensionSettingError = 40 - // Price extension has too many items - ExtensionSettingErrorEnum_PRICE_EXTENSION_HAS_TOO_MANY_ITEMS ExtensionSettingErrorEnum_ExtensionSettingError = 41 - // The input value is not currently supported. - ExtensionSettingErrorEnum_UNSUPPORTED_VALUE ExtensionSettingErrorEnum_ExtensionSettingError = 42 - // Unknown or unsupported device preference. - ExtensionSettingErrorEnum_INVALID_DEVICE_PREFERENCE ExtensionSettingErrorEnum_ExtensionSettingError = 43 - // Invalid feed item schedule end time (i.e., endHour = 24 and - // endMinute != 0). - ExtensionSettingErrorEnum_INVALID_SCHEDULE_END ExtensionSettingErrorEnum_ExtensionSettingError = 45 - // Date time zone does not match the account's time zone. - ExtensionSettingErrorEnum_DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE ExtensionSettingErrorEnum_ExtensionSettingError = 47 - // Overlapping feed item schedule times (e.g., 7-10AM and 8-11AM) are not - // allowed. - ExtensionSettingErrorEnum_OVERLAPPING_SCHEDULES_NOT_ALLOWED ExtensionSettingErrorEnum_ExtensionSettingError = 48 - // Feed item schedule end time must be after start time. - ExtensionSettingErrorEnum_SCHEDULE_END_NOT_AFTER_START ExtensionSettingErrorEnum_ExtensionSettingError = 49 - // There are too many feed item schedules per day. - ExtensionSettingErrorEnum_TOO_MANY_SCHEDULES_PER_DAY ExtensionSettingErrorEnum_ExtensionSettingError = 50 - // Cannot edit the same extension feed item more than once in the same - // request. - ExtensionSettingErrorEnum_DUPLICATE_EXTENSION_FEED_ITEM_EDIT ExtensionSettingErrorEnum_ExtensionSettingError = 51 - // Invalid structured snippet header. - ExtensionSettingErrorEnum_INVALID_SNIPPETS_HEADER ExtensionSettingErrorEnum_ExtensionSettingError = 52 - // Phone number with call tracking enabled is not supported for the - // specified country. - ExtensionSettingErrorEnum_PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY ExtensionSettingErrorEnum_ExtensionSettingError = 53 - // The targeted adgroup must belong to the targeted campaign. - ExtensionSettingErrorEnum_CAMPAIGN_TARGETING_MISMATCH ExtensionSettingErrorEnum_ExtensionSettingError = 54 - // The feed used by the ExtensionSetting is removed and cannot be operated - // on. Remove the ExtensionSetting to allow a new one to be created using - // an active feed. - ExtensionSettingErrorEnum_CANNOT_OPERATE_ON_REMOVED_FEED ExtensionSettingErrorEnum_ExtensionSettingError = 55 - // The ExtensionFeedItem type is required for this operation. - ExtensionSettingErrorEnum_EXTENSION_TYPE_REQUIRED ExtensionSettingErrorEnum_ExtensionSettingError = 56 - // The matching function that links the extension feed to the customer, - // campaign, or ad group is not compatible with the ExtensionSetting - // services. - ExtensionSettingErrorEnum_INCOMPATIBLE_UNDERLYING_MATCHING_FUNCTION ExtensionSettingErrorEnum_ExtensionSettingError = 57 - // Start date must be before end date. - ExtensionSettingErrorEnum_START_DATE_AFTER_END_DATE ExtensionSettingErrorEnum_ExtensionSettingError = 58 - // Input price is not in a valid format. - ExtensionSettingErrorEnum_INVALID_PRICE_FORMAT ExtensionSettingErrorEnum_ExtensionSettingError = 59 - // The promotion time is invalid. - ExtensionSettingErrorEnum_PROMOTION_INVALID_TIME ExtensionSettingErrorEnum_ExtensionSettingError = 60 - // Cannot set both percent discount and money discount fields. - ExtensionSettingErrorEnum_PROMOTION_CANNOT_SET_PERCENT_DISCOUNT_AND_MONEY_DISCOUNT ExtensionSettingErrorEnum_ExtensionSettingError = 61 - // Cannot set both promotion code and orders over amount fields. - ExtensionSettingErrorEnum_PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT ExtensionSettingErrorEnum_ExtensionSettingError = 62 - // This field has too many decimal places specified. - ExtensionSettingErrorEnum_TOO_MANY_DECIMAL_PLACES_SPECIFIED ExtensionSettingErrorEnum_ExtensionSettingError = 63 - // The language code is not valid. - ExtensionSettingErrorEnum_INVALID_LANGUAGE_CODE ExtensionSettingErrorEnum_ExtensionSettingError = 64 - // The language is not supported. - ExtensionSettingErrorEnum_UNSUPPORTED_LANGUAGE ExtensionSettingErrorEnum_ExtensionSettingError = 65 - // Customer hasn't consented for call recording, which is required for - // adding/updating call extensions. Please see - // https://support.google.com/google-ads/answer/7412639. - ExtensionSettingErrorEnum_CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED ExtensionSettingErrorEnum_ExtensionSettingError = 66 - // The UPDATE operation does not specify any fields other than the resource - // name in the update mask. - ExtensionSettingErrorEnum_EXTENSION_SETTING_UPDATE_IS_A_NOOP ExtensionSettingErrorEnum_ExtensionSettingError = 67 -) - -var ExtensionSettingErrorEnum_ExtensionSettingError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "EXTENSIONS_REQUIRED", - 3: "FEED_TYPE_EXTENSION_TYPE_MISMATCH", - 4: "INVALID_FEED_TYPE", - 5: "INVALID_FEED_TYPE_FOR_CUSTOMER_EXTENSION_SETTING", - 6: "CANNOT_CHANGE_FEED_ITEM_ON_CREATE", - 7: "CANNOT_UPDATE_NEWLY_CREATED_EXTENSION", - 8: "NO_EXISTING_AD_GROUP_EXTENSION_SETTING_FOR_TYPE", - 9: "NO_EXISTING_CAMPAIGN_EXTENSION_SETTING_FOR_TYPE", - 10: "NO_EXISTING_CUSTOMER_EXTENSION_SETTING_FOR_TYPE", - 11: "AD_GROUP_EXTENSION_SETTING_ALREADY_EXISTS", - 12: "CAMPAIGN_EXTENSION_SETTING_ALREADY_EXISTS", - 13: "CUSTOMER_EXTENSION_SETTING_ALREADY_EXISTS", - 14: "AD_GROUP_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE", - 15: "CAMPAIGN_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE", - 16: "CUSTOMER_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE", - 17: "VALUE_OUT_OF_RANGE", - 18: "CANNOT_SET_FIELD_WITH_FINAL_URLS", - 19: "FINAL_URLS_NOT_SET", - 20: "INVALID_PHONE_NUMBER", - 21: "PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY", - 22: "CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED", - 23: "PREMIUM_RATE_NUMBER_NOT_ALLOWED", - 24: "DISALLOWED_NUMBER_TYPE", - 25: "INVALID_DOMESTIC_PHONE_NUMBER_FORMAT", - 26: "VANITY_PHONE_NUMBER_NOT_ALLOWED", - 27: "INVALID_COUNTRY_CODE", - 28: "INVALID_CALL_CONVERSION_TYPE_ID", - 29: "CUSTOMER_NOT_WHITELISTED_FOR_CALLTRACKING", - 30: "CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY", - 31: "INVALID_APP_ID", - 32: "QUOTES_IN_REVIEW_EXTENSION_SNIPPET", - 33: "HYPHENS_IN_REVIEW_EXTENSION_SNIPPET", - 34: "REVIEW_EXTENSION_SOURCE_NOT_ELIGIBLE", - 35: "SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT", - 36: "MISSING_FIELD", - 37: "INCONSISTENT_CURRENCY_CODES", - 38: "PRICE_EXTENSION_HAS_DUPLICATED_HEADERS", - 39: "PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION", - 40: "PRICE_EXTENSION_HAS_TOO_FEW_ITEMS", - 41: "PRICE_EXTENSION_HAS_TOO_MANY_ITEMS", - 42: "UNSUPPORTED_VALUE", - 43: "INVALID_DEVICE_PREFERENCE", - 45: "INVALID_SCHEDULE_END", - 47: "DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE", - 48: "OVERLAPPING_SCHEDULES_NOT_ALLOWED", - 49: "SCHEDULE_END_NOT_AFTER_START", - 50: "TOO_MANY_SCHEDULES_PER_DAY", - 51: "DUPLICATE_EXTENSION_FEED_ITEM_EDIT", - 52: "INVALID_SNIPPETS_HEADER", - 53: "PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY", - 54: "CAMPAIGN_TARGETING_MISMATCH", - 55: "CANNOT_OPERATE_ON_REMOVED_FEED", - 56: "EXTENSION_TYPE_REQUIRED", - 57: "INCOMPATIBLE_UNDERLYING_MATCHING_FUNCTION", - 58: "START_DATE_AFTER_END_DATE", - 59: "INVALID_PRICE_FORMAT", - 60: "PROMOTION_INVALID_TIME", - 61: "PROMOTION_CANNOT_SET_PERCENT_DISCOUNT_AND_MONEY_DISCOUNT", - 62: "PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT", - 63: "TOO_MANY_DECIMAL_PLACES_SPECIFIED", - 64: "INVALID_LANGUAGE_CODE", - 65: "UNSUPPORTED_LANGUAGE", - 66: "CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED", - 67: "EXTENSION_SETTING_UPDATE_IS_A_NOOP", -} - -var ExtensionSettingErrorEnum_ExtensionSettingError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "EXTENSIONS_REQUIRED": 2, - "FEED_TYPE_EXTENSION_TYPE_MISMATCH": 3, - "INVALID_FEED_TYPE": 4, - "INVALID_FEED_TYPE_FOR_CUSTOMER_EXTENSION_SETTING": 5, - "CANNOT_CHANGE_FEED_ITEM_ON_CREATE": 6, - "CANNOT_UPDATE_NEWLY_CREATED_EXTENSION": 7, - "NO_EXISTING_AD_GROUP_EXTENSION_SETTING_FOR_TYPE": 8, - "NO_EXISTING_CAMPAIGN_EXTENSION_SETTING_FOR_TYPE": 9, - "NO_EXISTING_CUSTOMER_EXTENSION_SETTING_FOR_TYPE": 10, - "AD_GROUP_EXTENSION_SETTING_ALREADY_EXISTS": 11, - "CAMPAIGN_EXTENSION_SETTING_ALREADY_EXISTS": 12, - "CUSTOMER_EXTENSION_SETTING_ALREADY_EXISTS": 13, - "AD_GROUP_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE": 14, - "CAMPAIGN_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE": 15, - "CUSTOMER_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE": 16, - "VALUE_OUT_OF_RANGE": 17, - "CANNOT_SET_FIELD_WITH_FINAL_URLS": 18, - "FINAL_URLS_NOT_SET": 19, - "INVALID_PHONE_NUMBER": 20, - "PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY": 21, - "CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED": 22, - "PREMIUM_RATE_NUMBER_NOT_ALLOWED": 23, - "DISALLOWED_NUMBER_TYPE": 24, - "INVALID_DOMESTIC_PHONE_NUMBER_FORMAT": 25, - "VANITY_PHONE_NUMBER_NOT_ALLOWED": 26, - "INVALID_COUNTRY_CODE": 27, - "INVALID_CALL_CONVERSION_TYPE_ID": 28, - "CUSTOMER_NOT_WHITELISTED_FOR_CALLTRACKING": 29, - "CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY": 30, - "INVALID_APP_ID": 31, - "QUOTES_IN_REVIEW_EXTENSION_SNIPPET": 32, - "HYPHENS_IN_REVIEW_EXTENSION_SNIPPET": 33, - "REVIEW_EXTENSION_SOURCE_NOT_ELIGIBLE": 34, - "SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT": 35, - "MISSING_FIELD": 36, - "INCONSISTENT_CURRENCY_CODES": 37, - "PRICE_EXTENSION_HAS_DUPLICATED_HEADERS": 38, - "PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION": 39, - "PRICE_EXTENSION_HAS_TOO_FEW_ITEMS": 40, - "PRICE_EXTENSION_HAS_TOO_MANY_ITEMS": 41, - "UNSUPPORTED_VALUE": 42, - "INVALID_DEVICE_PREFERENCE": 43, - "INVALID_SCHEDULE_END": 45, - "DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE": 47, - "OVERLAPPING_SCHEDULES_NOT_ALLOWED": 48, - "SCHEDULE_END_NOT_AFTER_START": 49, - "TOO_MANY_SCHEDULES_PER_DAY": 50, - "DUPLICATE_EXTENSION_FEED_ITEM_EDIT": 51, - "INVALID_SNIPPETS_HEADER": 52, - "PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY": 53, - "CAMPAIGN_TARGETING_MISMATCH": 54, - "CANNOT_OPERATE_ON_REMOVED_FEED": 55, - "EXTENSION_TYPE_REQUIRED": 56, - "INCOMPATIBLE_UNDERLYING_MATCHING_FUNCTION": 57, - "START_DATE_AFTER_END_DATE": 58, - "INVALID_PRICE_FORMAT": 59, - "PROMOTION_INVALID_TIME": 60, - "PROMOTION_CANNOT_SET_PERCENT_DISCOUNT_AND_MONEY_DISCOUNT": 61, - "PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT": 62, - "TOO_MANY_DECIMAL_PLACES_SPECIFIED": 63, - "INVALID_LANGUAGE_CODE": 64, - "UNSUPPORTED_LANGUAGE": 65, - "CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED": 66, - "EXTENSION_SETTING_UPDATE_IS_A_NOOP": 67, -} - -func (x ExtensionSettingErrorEnum_ExtensionSettingError) String() string { - return proto.EnumName(ExtensionSettingErrorEnum_ExtensionSettingError_name, int32(x)) -} - -func (ExtensionSettingErrorEnum_ExtensionSettingError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_3dd51a7138a9d084, []int{0, 0} -} - -// Container for enum describing validation errors of extension settings. -type ExtensionSettingErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExtensionSettingErrorEnum) Reset() { *m = ExtensionSettingErrorEnum{} } -func (m *ExtensionSettingErrorEnum) String() string { return proto.CompactTextString(m) } -func (*ExtensionSettingErrorEnum) ProtoMessage() {} -func (*ExtensionSettingErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_3dd51a7138a9d084, []int{0} -} - -func (m *ExtensionSettingErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExtensionSettingErrorEnum.Unmarshal(m, b) -} -func (m *ExtensionSettingErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExtensionSettingErrorEnum.Marshal(b, m, deterministic) -} -func (m *ExtensionSettingErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExtensionSettingErrorEnum.Merge(m, src) -} -func (m *ExtensionSettingErrorEnum) XXX_Size() int { - return xxx_messageInfo_ExtensionSettingErrorEnum.Size(m) -} -func (m *ExtensionSettingErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_ExtensionSettingErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_ExtensionSettingErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.errors.ExtensionSettingErrorEnum_ExtensionSettingError", ExtensionSettingErrorEnum_ExtensionSettingError_name, ExtensionSettingErrorEnum_ExtensionSettingError_value) - proto.RegisterType((*ExtensionSettingErrorEnum)(nil), "google.ads.googleads.v1.errors.ExtensionSettingErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/extension_setting_error.proto", fileDescriptor_3dd51a7138a9d084) -} - -var fileDescriptor_3dd51a7138a9d084 = []byte{ - // 1313 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x56, 0x5d, 0x73, 0x53, 0xb7, - 0x16, 0xbd, 0x84, 0x7b, 0xe1, 0x5e, 0x71, 0x01, 0x21, 0x08, 0x90, 0x00, 0x01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e, 0xc0, 0xff, 0x1f, 0xe1, 0x47, - 0x97, 0x71, 0x00, 0x7e, 0x9a, 0x3d, 0x23, 0x2b, 0x75, 0x31, 0xb1, 0xf1, 0xfb, 0x11, 0xb1, 0x6e, - 0x93, 0xf2, 0x04, 0xba, 0x3a, 0x15, 0x50, 0xae, 0xe1, 0x0c, 0xd2, 0xea, 0xa2, 0x3e, 0x9b, 0x76, - 0x36, 0xd2, 0xaa, 0xe2, 0x3e, 0x9b, 0x46, 0xd9, 0x45, 0xc2, 0x7a, 0x3c, 0xcd, 0x21, 0xe8, 0xdc, - 0x07, 0xdd, 0x0e, 0x16, 0x75, 0x42, 0xcf, 0xb1, 0xdb, 0xe4, 0x46, 0xa9, 0x09, 0x07, 0x3e, 0xb4, - 0x25, 0xa4, 0x22, 0xac, 0x49, 0xdf, 0x0d, 0x6d, 0xa9, 0x78, 0x1a, 0x72, 0x9b, 0x3a, 0xca, 0x90, - 0x3d, 0xfe, 0x0e, 0x25, 0x9a, 0x9e, 0x67, 0x97, 0xc9, 0x85, 0x4a, 0xae, 0xa6, 0xab, 0x15, 0x04, - 0x95, 0x67, 0xab, 0x60, 0xe9, 0x05, 0xf6, 0x90, 0xdc, 0x9d, 0x1c, 0x29, 0x38, 0xb9, 0x31, 0xda, - 0xa2, 0xd4, 0xa2, 0xa2, 0x75, 0xae, 0xbc, 0xed, 0xd3, 0xf9, 0x62, 0x7b, 0xac, 0x95, 0x60, 0x43, - 0x79, 0xde, 0x92, 0xe0, 0xba, 0xda, 0xfa, 0x49, 0x32, 0x4f, 0x53, 0xbd, 0x06, 0x82, 0x5e, 0x64, - 0xb7, 0xc8, 0x75, 0x63, 0x21, 0x93, 0x79, 0x16, 0x6c, 0x54, 0xf1, 0x34, 0xe8, 0x12, 0x5b, 0x24, - 0x17, 0x85, 0x74, 0xe5, 0x77, 0x05, 0x89, 0xbd, 0xb8, 0xcc, 0xee, 0x93, 0xdb, 0x55, 0xd5, 0x42, - 0x67, 0xe0, 0xbc,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, 0x42, 0xdd, 0x97, 0x0b, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/feed_attribute_reference_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/feed_attribute_reference_error.pb.go deleted file mode 100644 index a8e05915..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/feed_attribute_reference_error.pb.go +++ /dev/null @@ -1,131 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/feed_attribute_reference_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 removed. - FeedAttributeReferenceErrorEnum_CANNOT_REFERENCE_REMOVED_FEED FeedAttributeReferenceErrorEnum_FeedAttributeReferenceError = 2 - // There is no enabled feed with the given name. - FeedAttributeReferenceErrorEnum_INVALID_FEED_NAME FeedAttributeReferenceErrorEnum_FeedAttributeReferenceError = 3 - // There is no feed attribute in an enabled 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_REMOVED_FEED", - 3: "INVALID_FEED_NAME", - 4: "INVALID_FEED_ATTRIBUTE_NAME", -} - -var FeedAttributeReferenceErrorEnum_FeedAttributeReferenceError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "CANNOT_REFERENCE_REMOVED_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_1513e40adc63f345, []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_1513e40adc63f345, []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 (m *FeedAttributeReferenceErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedAttributeReferenceErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.FeedAttributeReferenceErrorEnum_FeedAttributeReferenceError", FeedAttributeReferenceErrorEnum_FeedAttributeReferenceError_name, FeedAttributeReferenceErrorEnum_FeedAttributeReferenceError_value) - proto.RegisterType((*FeedAttributeReferenceErrorEnum)(nil), "google.ads.googleads.v1.errors.FeedAttributeReferenceErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/feed_attribute_reference_error.proto", fileDescriptor_1513e40adc63f345) -} - -var fileDescriptor_1513e40adc63f345 = []byte{ - // 364 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x41, 0x6e, 0xa3, 0x30, - 0x14, 0x86, 0x07, 0x32, 0x9a, 0x91, 0x9c, 0xc5, 0x30, 0x48, 0xb3, 0x99, 0xb4, 0x49, 0xcb, 0x01, - 0x8c, 0x50, 0x77, 0xee, 0xca, 0x01, 0x13, 0xa1, 0x36, 0x4e, 0x44, 0x09, 0x95, 0x2a, 0x24, 0x44, - 0x82, 0x83, 0x90, 0x12, 0x1c, 0xd9, 0x24, 0x47, 0xe9, 0x01, 0xba, 0xec, 0x11, 0x7a, 0x84, 0x1e, - 0xa5, 0x57, 0xe8, 0xa6, 0x02, 0x97, 0x48, 0x5d, 0x34, 0x2b, 0xff, 0x7a, 0xfe, 0xde, 0xff, 0x3f, - 0xbd, 0x07, 0xdc, 0x82, 0xf3, 0x62, 0xc3, 0xec, 0x2c, 0x97, 0xb6, 0x92, 0x8d, 0x3a, 0x38, 0x36,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 0x82, 0x6f, 0xb2, 0xaa, 0x80, 0x5c, 0x14, 0x76, 0xc1, 0xaa, 0x76, - 0x47, 0xdd, 0x69, 0x76, 0xa5, 0xfc, 0xee, 0x52, 0xd7, 0xea, 0x79, 0xd2, 0x7b, 0x13, 0x8c, 0x9f, - 0xf5, 0xe1, 0x44, 0x99, 0xe1, 0x5c, 0x42, 0x25, 0x1b, 0x15, 0x3b, 0xb0, 0x8d, 0x94, 0xaf, 0x1d, - 0x90, 0xe0, 0x5c, 0x26, 0x47, 0x20, 0x89, 0x9d, 0x44, 0x01, 0x6f, 0xba, 0xa5, 0xaa, 0x08, 0xe1, - 0x5c, 0x22, 0x74, 0x44, 0x10, 0x8a, 0x1d, 0x84, 0x14, 0xb4, 0xfc, 0xd5, 0x4e, 0x77, 0xf5, 0x11, - 0x00, 0x00, 0xff, 0xff, 0xd6, 0xd2, 0x2a, 0xb7, 0x46, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/feed_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/feed_error.pb.go deleted file mode 100644 index 325d6eba..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/feed_error.pb.go +++ /dev/null @@ -1,216 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/feed_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // There is already a feed with the given system feed generation data. - FeedErrorEnum_DUPLICATE_SYSTEM_FEED FeedErrorEnum_FeedError = 21 -) - -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", - 21: "DUPLICATE_SYSTEM_FEED", -} - -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, - "DUPLICATE_SYSTEM_FEED": 21, -} - -func (x FeedErrorEnum_FeedError) String() string { - return proto.EnumName(FeedErrorEnum_FeedError_name, int32(x)) -} - -func (FeedErrorEnum_FeedError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_f6fe8d83f04b74b3, []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_f6fe8d83f04b74b3, []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 (m *FeedErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.FeedErrorEnum_FeedError", FeedErrorEnum_FeedError_name, FeedErrorEnum_FeedError_value) - proto.RegisterType((*FeedErrorEnum)(nil), "google.ads.googleads.v1.errors.FeedErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/feed_error.proto", fileDescriptor_f6fe8d83f04b74b3) -} - -var fileDescriptor_f6fe8d83f04b74b3 = []byte{ - // 620 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x93, 0xdf, 0x6e, 0xd3, 0x3e, - 0x14, 0xc7, 0x7f, 0xeb, 0x7e, 0xdb, 0x98, 0xf7, 0xcf, 0xf3, 0x36, 0x36, 0xc6, 0x34, 0xa1, 0x5e, - 0x82, 0x94, 0x50, 0xc6, 0x55, 0x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 0x31, 0x96, 0x7e, 0x57, 0x93, - 0x77, 0x54, 0x48, 0xca, 0x3a, 0x7a, 0x0e, 0xc0, 0x65, 0xe4, 0x80, 0xe7, 0x3e, 0x66, 0x86, 0xb2, - 0x9e, 0x03, 0xad, 0x04, 0x49, 0x34, 0x4f, 0x68, 0x87, 0x32, 0x1d, 0xf2, 0x44, 0x8b, 0x81, 0x90, - 0x24, 0xd6, 0x21, 0x21, 0x01, 0xfc, 0x1f, 0xbd, 0x06, 0x2f, 0xef, 0xf1, 0x1d, 0xce, 0x3b, 0x11, - 0x59, 0x54, 0x30, 0xce, 0xfe, 0x50, 0xad, 0xa0, 0x57, 0xc0, 0xb9, 0xa7, 0x32, 0x07, 0x0b, 0x95, - 0x3c, 0x70, 0x5a, 0x5d, 0x70, 0x52, 0xbd, 0x00, 0x4b, 0xf2, 0x40, 0x72, 0x41, 0x65, 0xb7, 0xb2, - 0xb5, 0x45, 0xc0, 0x35, 0x04, 0xc1, 0x66, 0xc9, 0x25, 0x24, 0xe6, 0x7d, 0x12, 0xc0, 0x47, 0xe8, - 0x08, 0xec, 0x53, 0xd6, 0xc7, 0x11, 0x0d, 0x2a, 0xb8, 0x8f, 0x23, 0x45, 0xe0, 0x3a, 0x7a, 0x0a, - 0x0e, 0x4b, 0x76, 0x96, 0xa6, 0xb3, 0x5e, 0x0a, 0x92, 0x40, 0x80, 0x9e, 0x81, 0x93, 0x4a, 0x86, - 0x95, 0xec, 0x6a, 0xc9, 0xcf, 0x89, 0x7d, 0x1e, 0x89, 0x31, 0x8d, 0xe0, 0x06, 0xda, 0x05, 0x5b, - 0x15, 0x61, 0x53, 0x9b, 0xe8, 0x10, 0xec, 0x05, 0xaa, 0x17, 0x51, 0xbf, 0xae, 0xd7, 0xcc, 0x08, - 0x6e, 0xa1, 0x03, 0xb0, 0x5b, 0xb1, 0xf3, 0xf4, 0x36, 0x7a, 0x0c, 0x50, 0x4c, 0x85, 0x30, 0x53, - 0xe1, 0xa5, 0x0b, 0x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0xb4, 0x59, 0xcf, 0xc3, 0x69, 0xe1, - 0x79, 0x35, 0xe2, 0x79, 0xfd, 0x96, 0xe7, 0x59, 0xe8, 0xc3, 0x6a, 0x59, 0xdd, 0xd9, 0xef, 0x00, - 0x00, 0x00, 0xff, 0xff, 0x82, 0x39, 0xfb, 0x39, 0x5f, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/feed_item_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/feed_item_error.pb.go deleted file mode 100644 index 6504066f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/feed_item_error.pb.go +++ /dev/null @@ -1,163 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/feed_item_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_1ad663dccdbbe49f, []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_1ad663dccdbbe49f, []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 (m *FeedItemErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedItemErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.FeedItemErrorEnum_FeedItemError", FeedItemErrorEnum_FeedItemError_name, FeedItemErrorEnum_FeedItemError_value) - proto.RegisterType((*FeedItemErrorEnum)(nil), "google.ads.googleads.v1.errors.FeedItemErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/feed_item_error.proto", fileDescriptor_1ad663dccdbbe49f) -} - -var fileDescriptor_1ad663dccdbbe49f = []byte{ - // 485 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0xdd, 0x8a, 0xd3, 0x40, - 0x18, 0x75, 0x5b, 0xdd, 0xd5, 0x59, 0xc4, 0x71, 0x2e, 0x44, 0x97, 0x75, 0xc1, 0x8a, 0x3f, 0x2c, - 0x92, 0x50, 0xf4, 0x2a, 0x5e, 0x4d, 0x9b, 0x2f, 0x65, 0xd8, 0x66, 0xa6, 0x26, 0x33, 0x91, 0x2d, - 0x85, 0x8f, 0x6a, 0x62, 0x28, 0x6c, 0x33, 0xa5, 0xa9, 0xfb, 0x0a, 0xbe, 0x87, 0x97, 0x3e, 0x8a, - 0x8f, 0x22, 0x78, 0xe1, 0x1b, 0x48, 0x3a, 0x6d, 0xa5, 0xa0, 0x5e, 0xe5, 0x70, 0x72, 0xce, 0xf9, - 0x66, 0xe6, 0x7c, 0xe4, 0x4d, 0x69, 0x6d, 0x79, 0x55, 0xf8, 0xd3, 0xbc, 0xf6, 0x1d, 0x6c, 0xd0, - 0x75, 0xd7, 0x2f, 0x96, 0x4b, 0xbb, 0xac, 0xfd, 0x4f, 0x45, 0x91, 0xe3, 0x6c, 0x55, 0xcc, 0x71, - 0x4d, 0x78, 0x8b, 0xa5, 0x5d, 0x59, 0x76, 0xe6, 0xa4, 0xde, 0x34, 0xaf, 0xbd, 0x9d, 0xcb, 0xbb, - 0xee, 0x7a, 0xce, 0x75, 0x72, 0xba, 0x4d, 0x5d, 0xcc, 0xfc, 0x69, 0x55, 0xd9, 0xd5, 0x74, 0x35, - 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, 0xf6, 0x8c, 0x3c, 0xd9, 0x1c, 0x3f, 0x56, 0xa1, - 0x88, 0x2e, 0xf7, 0x03, 0xdc, 0x8d, 0xe9, 0x1d, 0xf6, 0x8a, 0xbc, 0x4c, 0xc5, 0x18, 0x50, 0x2b, - 0x85, 0x43, 0x9e, 0x0c, 0x00, 0x23, 0x95, 0x60, 0x6c, 0x86, 0x5a, 0x6c, 0x5e, 0x65, 0xe7, 0xa1, - 0xa4, 0xf7, 0xf3, 0x80, 0x74, 0x3e, 0xda, 0xb9, 0xf7, 0xff, 0x3a, 0x7b, 0x6c, 0xaf, 0x97, 0x51, - 0x53, 0xe2, 0xe8, 0x60, 0x1c, 0x6e, 0x5c, 0xa5, 0xbd, 0x9a, 0x56, 0xa5, 0x67, 0x97, 0xa5, 0x5f, - 0x16, 0xd5, 0xba, 0xe2, 0xed, 0x2a, 0x2d, 0x66, 0xf5, 0xbf, 0x36, 0xeb, 0xad, 0xfb, 0x7c, 0x6d, - 0xb5, 0x07, 0x9c, 0x7f, 0x6b, 0x9d, 0x0d, 0x5c, 0x18, 0xcf, 0x6b, 0xcf, 0xc1, 0x06, 0x65, 0x5d, - 0x6f, 0x3d, 0xb2, 0xfe, 0xbe, 0x15, 0x4c, 0x78, 0x5e, 0x4f, 0x76, 0x82, 0x49, 0xd6, 0x9d, 0x38, - 0xc1, 0x8f, 0x56, 0xc7, 0xb1, 0x41, 0xc0, 0xf3, 0x3a, 0x08, 0x76, 0x92, 0x20, 0xc8, 0xba, 0x41, - 0xe0, 0x44, 0x1f, 0x0e, 0xd7, 0xa7, 0x7b, 0xfd, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x59, 0x09, 0xd2, - 0xb2, 0xf6, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/feed_item_target_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/feed_item_target_error.pb.go deleted file mode 100644 index c0133018..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/feed_item_target_error.pb.go +++ /dev/null @@ -1,151 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/feed_item_target_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible feed item target errors. -type FeedItemTargetErrorEnum_FeedItemTargetError int32 - -const ( - // Enum unspecified. - FeedItemTargetErrorEnum_UNSPECIFIED FeedItemTargetErrorEnum_FeedItemTargetError = 0 - // The received error code is not known in this version. - FeedItemTargetErrorEnum_UNKNOWN FeedItemTargetErrorEnum_FeedItemTargetError = 1 - // On CREATE, the FeedItemTarget must have a populated field in the oneof - // target. - FeedItemTargetErrorEnum_MUST_SET_TARGET_ONEOF_ON_CREATE FeedItemTargetErrorEnum_FeedItemTargetError = 2 - // The specified feed item target already exists, so it cannot be added. - FeedItemTargetErrorEnum_FEED_ITEM_TARGET_ALREADY_EXISTS FeedItemTargetErrorEnum_FeedItemTargetError = 3 - // The schedules for a given feed item cannot overlap. - FeedItemTargetErrorEnum_FEED_ITEM_SCHEDULES_CANNOT_OVERLAP FeedItemTargetErrorEnum_FeedItemTargetError = 4 - // Too many targets of a given type were added for a single feed item. - FeedItemTargetErrorEnum_TARGET_LIMIT_EXCEEDED_FOR_GIVEN_TYPE FeedItemTargetErrorEnum_FeedItemTargetError = 5 - // Too many AdSchedules are enabled for the feed item for the given day. - FeedItemTargetErrorEnum_TOO_MANY_SCHEDULES_PER_DAY FeedItemTargetErrorEnum_FeedItemTargetError = 6 - // A feed item may either have an enabled campaign target or an enabled ad - // group target. - FeedItemTargetErrorEnum_CANNOT_HAVE_ENABLED_CAMPAIGN_AND_ENABLED_AD_GROUP_TARGETS FeedItemTargetErrorEnum_FeedItemTargetError = 7 -) - -var FeedItemTargetErrorEnum_FeedItemTargetError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "MUST_SET_TARGET_ONEOF_ON_CREATE", - 3: "FEED_ITEM_TARGET_ALREADY_EXISTS", - 4: "FEED_ITEM_SCHEDULES_CANNOT_OVERLAP", - 5: "TARGET_LIMIT_EXCEEDED_FOR_GIVEN_TYPE", - 6: "TOO_MANY_SCHEDULES_PER_DAY", - 7: "CANNOT_HAVE_ENABLED_CAMPAIGN_AND_ENABLED_AD_GROUP_TARGETS", -} - -var FeedItemTargetErrorEnum_FeedItemTargetError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "MUST_SET_TARGET_ONEOF_ON_CREATE": 2, - "FEED_ITEM_TARGET_ALREADY_EXISTS": 3, - "FEED_ITEM_SCHEDULES_CANNOT_OVERLAP": 4, - "TARGET_LIMIT_EXCEEDED_FOR_GIVEN_TYPE": 5, - "TOO_MANY_SCHEDULES_PER_DAY": 6, - "CANNOT_HAVE_ENABLED_CAMPAIGN_AND_ENABLED_AD_GROUP_TARGETS": 7, -} - -func (x FeedItemTargetErrorEnum_FeedItemTargetError) String() string { - return proto.EnumName(FeedItemTargetErrorEnum_FeedItemTargetError_name, int32(x)) -} - -func (FeedItemTargetErrorEnum_FeedItemTargetError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e158dc4de886fe3b, []int{0, 0} -} - -// Container for enum describing possible feed item target errors. -type FeedItemTargetErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FeedItemTargetErrorEnum) Reset() { *m = FeedItemTargetErrorEnum{} } -func (m *FeedItemTargetErrorEnum) String() string { return proto.CompactTextString(m) } -func (*FeedItemTargetErrorEnum) ProtoMessage() {} -func (*FeedItemTargetErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_e158dc4de886fe3b, []int{0} -} - -func (m *FeedItemTargetErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FeedItemTargetErrorEnum.Unmarshal(m, b) -} -func (m *FeedItemTargetErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FeedItemTargetErrorEnum.Marshal(b, m, deterministic) -} -func (m *FeedItemTargetErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedItemTargetErrorEnum.Merge(m, src) -} -func (m *FeedItemTargetErrorEnum) XXX_Size() int { - return xxx_messageInfo_FeedItemTargetErrorEnum.Size(m) -} -func (m *FeedItemTargetErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_FeedItemTargetErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_FeedItemTargetErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.errors.FeedItemTargetErrorEnum_FeedItemTargetError", FeedItemTargetErrorEnum_FeedItemTargetError_name, FeedItemTargetErrorEnum_FeedItemTargetError_value) - proto.RegisterType((*FeedItemTargetErrorEnum)(nil), "google.ads.googleads.v1.errors.FeedItemTargetErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/feed_item_target_error.proto", fileDescriptor_e158dc4de886fe3b) -} - -var fileDescriptor_e158dc4de886fe3b = []byte{ - // 462 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xc1, 0x8e, 0xd3, 0x3e, - 0x10, 0xc6, 0xff, 0xcd, 0xfe, 0xd9, 0x95, 0xbc, 0x07, 0xa2, 0x70, 0x00, 0xad, 0x50, 0x91, 0x0a, - 0x42, 0x9c, 0x12, 0x55, 0x9c, 0xc8, 0x8a, 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, 0x50, 0x09, 0xb6, - 0xd5, 0x43, 0x73, 0x00, 0x86, 0x91, 0x84, 0xe5, 0x81, 0xa2, 0x8b, 0x04, 0x28, 0x5b, 0x21, 0x5c, - 0x47, 0xa9, 0x4c, 0xed, 0x13, 0xe7, 0x25, 0x99, 0xfc, 0x86, 0xd2, 0xe0, 0x0a, 0x58, 0xb6, 0x80, - 0x14, 0x03, 0xca, 0xb9, 0x90, 0x28, 0x72, 0x48, 0x16, 0x34, 0xb6, 0xff, 0x77, 0x5e, 0x91, 0x17, - 0xfb, 0x88, 0x45, 0xb4, 0x8c, 0x24, 0xc2, 0x75, 0x00, 0xc0, 0x80, 0xe1, 0x5c, 0x24, 0x18, 0x46, - 0x39, 0x70, 0x94, 0xab, 0x18, 0xec, 0x07, 0xce, 0x98, 0x5c, 0x48, 0x21, 0x70, 0x49, 0xf9, 0xea, - 0x8f, 0xc0, 0x18, 0x12, 0x64, 0x74, 0x65, 0x9f, 0x3a, 0x6f, 0xc9, 0x9b, 0x7d, 0xfa, 0x15, 0xcd, - 0x01, 0x81, 0xd3, 0xd9, 0x02, 0x18, 0x06, 0x74, 0x19, 0xd3, 0x28, 0xe4, 0x48, 0x39, 0x3b, 0x16, - 0x29, 0xc3, 0x30, 0x11, 0x59, 0xbc, 0x6f, 0x3f, 0xb5, 0xcf, 0x66, 0x3f, 0x47, 0x64, 0xf2, 0x49, - 0x6f, 0xdd, 0x7f, 0x4f, 0x64, 0xf6, 0xe4, 0x9e, 0x4f, 0x8d, 0xfb, 0x69, 0xc4, 0xa3, 0x0f, 0x6c, - 0xef, 0xad, 0xf4, 0x4d, 0x51, 0x57, 0xae, 0x6e, 0x2a, 0xaf, 0x52, 0xf5, 0x30, 0xab, 0xc3, 0x6a, - 0xec, 0x36, 0xed, 0xdf, 0x36, 0xe5, 0xd2, 0x1c, 0x5f, 0xad, 0x93, 0x90, 0xd2, 0x6f, 0xd6, 0x38, - 0x34, 0x61, 0xb4, 0x6c, 0x5d, 0x23, 0x7b, 0x95, 0x4f, 0xdd, 0xe1, 0xc9, 0xf6, 0xee, 0x00, 0xac, - 0x69, 0xd9, 0xae, 0x8f, 0xc0, 0x3a, 0x9f, 0xae, 0x0d, 0xf0, 0xc3, 0x9a, 0x98, 0xaa, 0xef, 0xd3, - 0xb2, 0xf5, 0xfd, 0x23, 0xe2, 0xfb, 0xf9, 0xd4, 0xf7, 0x0d, 0xf4, 0xf1, 0x74, 0xe8, 0xee, 0xf5, - 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf2, 0x09, 0xce, 0x26, 0xc6, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/feed_item_validation_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/feed_item_validation_error.pb.go deleted file mode 100644 index e23bfae4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/feed_item_validation_error.pb.go +++ /dev/null @@ -1,597 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/feed_item_validation_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The possible validation errors of a feed item. -type FeedItemValidationErrorEnum_FeedItemValidationError int32 - -const ( - // No value has been specified. - FeedItemValidationErrorEnum_UNSPECIFIED FeedItemValidationErrorEnum_FeedItemValidationError = 0 - // Used for return value only. Represents value unknown in this version. - FeedItemValidationErrorEnum_UNKNOWN FeedItemValidationErrorEnum_FeedItemValidationError = 1 - // String is too short. - FeedItemValidationErrorEnum_STRING_TOO_SHORT FeedItemValidationErrorEnum_FeedItemValidationError = 2 - // String is too long. - FeedItemValidationErrorEnum_STRING_TOO_LONG FeedItemValidationErrorEnum_FeedItemValidationError = 3 - // Value is not provided. - FeedItemValidationErrorEnum_VALUE_NOT_SPECIFIED FeedItemValidationErrorEnum_FeedItemValidationError = 4 - // Phone number format is invalid for region. - FeedItemValidationErrorEnum_INVALID_DOMESTIC_PHONE_NUMBER_FORMAT FeedItemValidationErrorEnum_FeedItemValidationError = 5 - // String does not represent a phone number. - FeedItemValidationErrorEnum_INVALID_PHONE_NUMBER FeedItemValidationErrorEnum_FeedItemValidationError = 6 - // Phone number format is not compatible with country code. - FeedItemValidationErrorEnum_PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY FeedItemValidationErrorEnum_FeedItemValidationError = 7 - // Premium rate number is not allowed. - FeedItemValidationErrorEnum_PREMIUM_RATE_NUMBER_NOT_ALLOWED FeedItemValidationErrorEnum_FeedItemValidationError = 8 - // Phone number type is not allowed. - FeedItemValidationErrorEnum_DISALLOWED_NUMBER_TYPE FeedItemValidationErrorEnum_FeedItemValidationError = 9 - // Specified value is outside of the valid range. - FeedItemValidationErrorEnum_VALUE_OUT_OF_RANGE FeedItemValidationErrorEnum_FeedItemValidationError = 10 - // Call tracking is not supported in the selected country. - FeedItemValidationErrorEnum_CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY FeedItemValidationErrorEnum_FeedItemValidationError = 11 - // Customer is not whitelisted for call tracking. - FeedItemValidationErrorEnum_CUSTOMER_NOT_WHITELISTED_FOR_CALLTRACKING FeedItemValidationErrorEnum_FeedItemValidationError = 12 - // Country code is invalid. - FeedItemValidationErrorEnum_INVALID_COUNTRY_CODE FeedItemValidationErrorEnum_FeedItemValidationError = 13 - // The specified mobile app id is invalid. - FeedItemValidationErrorEnum_INVALID_APP_ID FeedItemValidationErrorEnum_FeedItemValidationError = 14 - // Some required field attributes are missing. - FeedItemValidationErrorEnum_MISSING_ATTRIBUTES_FOR_FIELDS FeedItemValidationErrorEnum_FeedItemValidationError = 15 - // Invalid email button type for email extension. - FeedItemValidationErrorEnum_INVALID_TYPE_ID FeedItemValidationErrorEnum_FeedItemValidationError = 16 - // Email address is invalid. - FeedItemValidationErrorEnum_INVALID_EMAIL_ADDRESS FeedItemValidationErrorEnum_FeedItemValidationError = 17 - // The HTTPS URL in email extension is invalid. - FeedItemValidationErrorEnum_INVALID_HTTPS_URL FeedItemValidationErrorEnum_FeedItemValidationError = 18 - // Delivery address is missing from email extension. - FeedItemValidationErrorEnum_MISSING_DELIVERY_ADDRESS FeedItemValidationErrorEnum_FeedItemValidationError = 19 - // FeedItem scheduling start date comes after end date. - FeedItemValidationErrorEnum_START_DATE_AFTER_END_DATE FeedItemValidationErrorEnum_FeedItemValidationError = 20 - // FeedItem scheduling start time is missing. - FeedItemValidationErrorEnum_MISSING_FEED_ITEM_START_TIME FeedItemValidationErrorEnum_FeedItemValidationError = 21 - // FeedItem scheduling end time is missing. - FeedItemValidationErrorEnum_MISSING_FEED_ITEM_END_TIME FeedItemValidationErrorEnum_FeedItemValidationError = 22 - // Cannot compute system attributes on a FeedItem that has no FeedItemId. - FeedItemValidationErrorEnum_MISSING_FEED_ITEM_ID FeedItemValidationErrorEnum_FeedItemValidationError = 23 - // Call extension vanity phone numbers are not supported. - FeedItemValidationErrorEnum_VANITY_PHONE_NUMBER_NOT_ALLOWED FeedItemValidationErrorEnum_FeedItemValidationError = 24 - // Invalid review text. - FeedItemValidationErrorEnum_INVALID_REVIEW_EXTENSION_SNIPPET FeedItemValidationErrorEnum_FeedItemValidationError = 25 - // Invalid format for numeric value in ad parameter. - FeedItemValidationErrorEnum_INVALID_NUMBER_FORMAT FeedItemValidationErrorEnum_FeedItemValidationError = 26 - // Invalid format for date value in ad parameter. - FeedItemValidationErrorEnum_INVALID_DATE_FORMAT FeedItemValidationErrorEnum_FeedItemValidationError = 27 - // Invalid format for price value in ad parameter. - FeedItemValidationErrorEnum_INVALID_PRICE_FORMAT FeedItemValidationErrorEnum_FeedItemValidationError = 28 - // Unrecognized type given for value in ad parameter. - FeedItemValidationErrorEnum_UNKNOWN_PLACEHOLDER_FIELD FeedItemValidationErrorEnum_FeedItemValidationError = 29 - // Enhanced sitelinks must have both description lines specified. - FeedItemValidationErrorEnum_MISSING_ENHANCED_SITELINK_DESCRIPTION_LINE FeedItemValidationErrorEnum_FeedItemValidationError = 30 - // Review source is ineligible. - FeedItemValidationErrorEnum_REVIEW_EXTENSION_SOURCE_INELIGIBLE FeedItemValidationErrorEnum_FeedItemValidationError = 31 - // Review text cannot contain hyphens or dashes. - FeedItemValidationErrorEnum_HYPHENS_IN_REVIEW_EXTENSION_SNIPPET FeedItemValidationErrorEnum_FeedItemValidationError = 32 - // Review text cannot contain double quote characters. - FeedItemValidationErrorEnum_DOUBLE_QUOTES_IN_REVIEW_EXTENSION_SNIPPET FeedItemValidationErrorEnum_FeedItemValidationError = 33 - // Review text cannot contain quote characters. - FeedItemValidationErrorEnum_QUOTES_IN_REVIEW_EXTENSION_SNIPPET FeedItemValidationErrorEnum_FeedItemValidationError = 34 - // Parameters are encoded in the wrong format. - FeedItemValidationErrorEnum_INVALID_FORM_ENCODED_PARAMS FeedItemValidationErrorEnum_FeedItemValidationError = 35 - // URL parameter name must contain only letters, numbers, underscores, and - // dashes. - FeedItemValidationErrorEnum_INVALID_URL_PARAMETER_NAME FeedItemValidationErrorEnum_FeedItemValidationError = 36 - // Cannot find address location. - FeedItemValidationErrorEnum_NO_GEOCODING_RESULT FeedItemValidationErrorEnum_FeedItemValidationError = 37 - // Review extension text has source name. - FeedItemValidationErrorEnum_SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT FeedItemValidationErrorEnum_FeedItemValidationError = 38 - // Some phone numbers can be shorter than usual. Some of these short numbers - // are carrier-specific, and we disallow those in ad extensions because they - // will not be available to all users. - FeedItemValidationErrorEnum_CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED FeedItemValidationErrorEnum_FeedItemValidationError = 39 - // Triggered when a request references a placeholder field id that does not - // exist. - FeedItemValidationErrorEnum_INVALID_PLACEHOLDER_FIELD_ID FeedItemValidationErrorEnum_FeedItemValidationError = 40 - // URL contains invalid ValueTrack tags or format. - FeedItemValidationErrorEnum_INVALID_URL_TAG FeedItemValidationErrorEnum_FeedItemValidationError = 41 - // Provided list exceeds acceptable size. - FeedItemValidationErrorEnum_LIST_TOO_LONG FeedItemValidationErrorEnum_FeedItemValidationError = 42 - // Certain combinations of attributes aren't allowed to be specified in the - // same feed item. - FeedItemValidationErrorEnum_INVALID_ATTRIBUTES_COMBINATION FeedItemValidationErrorEnum_FeedItemValidationError = 43 - // An attribute has the same value repeatedly. - FeedItemValidationErrorEnum_DUPLICATE_VALUES FeedItemValidationErrorEnum_FeedItemValidationError = 44 - // Advertisers can link a conversion action with a phone number to indicate - // that sufficiently long calls forwarded to that phone number should be - // counted as conversions of the specified type. This is an error message - // indicating that the conversion action specified is invalid (e.g., the - // conversion action does not exist within the appropriate Google Ads - // account, or it is a type of conversion not appropriate to phone call - // conversions). - FeedItemValidationErrorEnum_INVALID_CALL_CONVERSION_ACTION_ID FeedItemValidationErrorEnum_FeedItemValidationError = 45 - // Tracking template requires final url to be set. - FeedItemValidationErrorEnum_CANNOT_SET_WITHOUT_FINAL_URLS FeedItemValidationErrorEnum_FeedItemValidationError = 46 - // An app id was provided that doesn't exist in the given app store. - FeedItemValidationErrorEnum_APP_ID_DOESNT_EXIST_IN_APP_STORE FeedItemValidationErrorEnum_FeedItemValidationError = 47 - // Invalid U2 final url. - FeedItemValidationErrorEnum_INVALID_FINAL_URL FeedItemValidationErrorEnum_FeedItemValidationError = 48 - // Invalid U2 tracking url. - FeedItemValidationErrorEnum_INVALID_TRACKING_URL FeedItemValidationErrorEnum_FeedItemValidationError = 49 - // Final URL should start from App download URL. - FeedItemValidationErrorEnum_INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL FeedItemValidationErrorEnum_FeedItemValidationError = 50 - // List provided is too short. - FeedItemValidationErrorEnum_LIST_TOO_SHORT FeedItemValidationErrorEnum_FeedItemValidationError = 51 - // User Action field has invalid value. - FeedItemValidationErrorEnum_INVALID_USER_ACTION FeedItemValidationErrorEnum_FeedItemValidationError = 52 - // Type field has invalid value. - FeedItemValidationErrorEnum_INVALID_TYPE_NAME FeedItemValidationErrorEnum_FeedItemValidationError = 53 - // Change status for event is invalid. - FeedItemValidationErrorEnum_INVALID_EVENT_CHANGE_STATUS FeedItemValidationErrorEnum_FeedItemValidationError = 54 - // The header of a structured snippets extension is not one of the valid - // headers. - FeedItemValidationErrorEnum_INVALID_SNIPPETS_HEADER FeedItemValidationErrorEnum_FeedItemValidationError = 55 - // Android app link is not formatted correctly - FeedItemValidationErrorEnum_INVALID_ANDROID_APP_LINK FeedItemValidationErrorEnum_FeedItemValidationError = 56 - // Phone number incompatible with call tracking for country. - FeedItemValidationErrorEnum_NUMBER_TYPE_WITH_CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY FeedItemValidationErrorEnum_FeedItemValidationError = 57 - // The input is identical to a reserved keyword - FeedItemValidationErrorEnum_RESERVED_KEYWORD_OTHER FeedItemValidationErrorEnum_FeedItemValidationError = 58 - // Each option label in the message extension must be unique. - FeedItemValidationErrorEnum_DUPLICATE_OPTION_LABELS FeedItemValidationErrorEnum_FeedItemValidationError = 59 - // Each option prefill in the message extension must be unique. - FeedItemValidationErrorEnum_DUPLICATE_OPTION_PREFILLS FeedItemValidationErrorEnum_FeedItemValidationError = 60 - // In message extensions, the number of optional labels and optional - // prefills must be the same. - FeedItemValidationErrorEnum_UNEQUAL_LIST_LENGTHS FeedItemValidationErrorEnum_FeedItemValidationError = 61 - // All currency codes in an ad extension must be the same. - FeedItemValidationErrorEnum_INCONSISTENT_CURRENCY_CODES FeedItemValidationErrorEnum_FeedItemValidationError = 62 - // Headers in price extension are not unique. - FeedItemValidationErrorEnum_PRICE_EXTENSION_HAS_DUPLICATED_HEADERS FeedItemValidationErrorEnum_FeedItemValidationError = 63 - // Header and description in an item are the same. - FeedItemValidationErrorEnum_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION FeedItemValidationErrorEnum_FeedItemValidationError = 64 - // Price extension has too few items. - FeedItemValidationErrorEnum_PRICE_EXTENSION_HAS_TOO_FEW_ITEMS FeedItemValidationErrorEnum_FeedItemValidationError = 65 - // The given value is not supported. - FeedItemValidationErrorEnum_UNSUPPORTED_VALUE FeedItemValidationErrorEnum_FeedItemValidationError = 66 - // Invalid final mobile url. - FeedItemValidationErrorEnum_INVALID_FINAL_MOBILE_URL FeedItemValidationErrorEnum_FeedItemValidationError = 67 - // The given string value of Label contains invalid characters - FeedItemValidationErrorEnum_INVALID_KEYWORDLESS_AD_RULE_LABEL FeedItemValidationErrorEnum_FeedItemValidationError = 68 - // The given URL contains value track parameters. - FeedItemValidationErrorEnum_VALUE_TRACK_PARAMETER_NOT_SUPPORTED FeedItemValidationErrorEnum_FeedItemValidationError = 69 - // The given value is not supported in the selected language of an - // extension. - FeedItemValidationErrorEnum_UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE FeedItemValidationErrorEnum_FeedItemValidationError = 70 - // The iOS app link is not formatted correctly. - FeedItemValidationErrorEnum_INVALID_IOS_APP_LINK FeedItemValidationErrorEnum_FeedItemValidationError = 71 - // iOS app link or iOS app store id is missing. - FeedItemValidationErrorEnum_MISSING_IOS_APP_LINK_OR_IOS_APP_STORE_ID FeedItemValidationErrorEnum_FeedItemValidationError = 72 - // Promotion time is invalid. - FeedItemValidationErrorEnum_PROMOTION_INVALID_TIME FeedItemValidationErrorEnum_FeedItemValidationError = 73 - // Both the percent off and money amount off fields are set. - FeedItemValidationErrorEnum_PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF FeedItemValidationErrorEnum_FeedItemValidationError = 74 - // Both the promotion code and orders over amount fields are set. - FeedItemValidationErrorEnum_PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT FeedItemValidationErrorEnum_FeedItemValidationError = 75 - // Too many decimal places are specified. - FeedItemValidationErrorEnum_TOO_MANY_DECIMAL_PLACES_SPECIFIED FeedItemValidationErrorEnum_FeedItemValidationError = 76 - // Ad Customizers are present and not allowed. - FeedItemValidationErrorEnum_AD_CUSTOMIZERS_NOT_ALLOWED FeedItemValidationErrorEnum_FeedItemValidationError = 77 - // Language code is not valid. - FeedItemValidationErrorEnum_INVALID_LANGUAGE_CODE FeedItemValidationErrorEnum_FeedItemValidationError = 78 - // Language is not supported. - FeedItemValidationErrorEnum_UNSUPPORTED_LANGUAGE FeedItemValidationErrorEnum_FeedItemValidationError = 79 - // IF Function is present and not allowed. - FeedItemValidationErrorEnum_IF_FUNCTION_NOT_ALLOWED FeedItemValidationErrorEnum_FeedItemValidationError = 80 - // Final url suffix is not valid. - FeedItemValidationErrorEnum_INVALID_FINAL_URL_SUFFIX FeedItemValidationErrorEnum_FeedItemValidationError = 81 - // Final url suffix contains an invalid tag. - FeedItemValidationErrorEnum_INVALID_TAG_IN_FINAL_URL_SUFFIX FeedItemValidationErrorEnum_FeedItemValidationError = 82 - // Final url suffix is formatted incorrectly. - FeedItemValidationErrorEnum_INVALID_FINAL_URL_SUFFIX_FORMAT FeedItemValidationErrorEnum_FeedItemValidationError = 83 - // Consent for call recording, which is required for the use of call - // extensions, was not provided by the advertiser. Please see - // https://support.google.com/google-ads/answer/7412639. - FeedItemValidationErrorEnum_CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED FeedItemValidationErrorEnum_FeedItemValidationError = 84 - // Multiple message delivery options are set. - FeedItemValidationErrorEnum_ONLY_ONE_DELIVERY_OPTION_IS_ALLOWED FeedItemValidationErrorEnum_FeedItemValidationError = 85 - // No message delivery option is set. - FeedItemValidationErrorEnum_NO_DELIVERY_OPTION_IS_SET FeedItemValidationErrorEnum_FeedItemValidationError = 86 - // String value of conversion reporting state field is not valid. - FeedItemValidationErrorEnum_INVALID_CONVERSION_REPORTING_STATE FeedItemValidationErrorEnum_FeedItemValidationError = 87 - // Image size is not right. - FeedItemValidationErrorEnum_IMAGE_SIZE_WRONG FeedItemValidationErrorEnum_FeedItemValidationError = 88 - // Email delivery is not supported in the country specified in the country - // code field. - FeedItemValidationErrorEnum_EMAIL_DELIVERY_NOT_AVAILABLE_IN_COUNTRY FeedItemValidationErrorEnum_FeedItemValidationError = 89 - // Auto reply is not supported in the country specified in the country code - // field. - FeedItemValidationErrorEnum_AUTO_REPLY_NOT_AVAILABLE_IN_COUNTRY FeedItemValidationErrorEnum_FeedItemValidationError = 90 - // Invalid value specified for latitude. - FeedItemValidationErrorEnum_INVALID_LATITUDE_VALUE FeedItemValidationErrorEnum_FeedItemValidationError = 91 - // Invalid value specified for longitude. - FeedItemValidationErrorEnum_INVALID_LONGITUDE_VALUE FeedItemValidationErrorEnum_FeedItemValidationError = 92 - // Too many label fields provided. - FeedItemValidationErrorEnum_TOO_MANY_LABELS FeedItemValidationErrorEnum_FeedItemValidationError = 93 - // Invalid image url. - FeedItemValidationErrorEnum_INVALID_IMAGE_URL FeedItemValidationErrorEnum_FeedItemValidationError = 94 - // Latitude value is missing. - FeedItemValidationErrorEnum_MISSING_LATITUDE_VALUE FeedItemValidationErrorEnum_FeedItemValidationError = 95 - // Longitude value is missing. - FeedItemValidationErrorEnum_MISSING_LONGITUDE_VALUE FeedItemValidationErrorEnum_FeedItemValidationError = 96 -) - -var FeedItemValidationErrorEnum_FeedItemValidationError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "STRING_TOO_SHORT", - 3: "STRING_TOO_LONG", - 4: "VALUE_NOT_SPECIFIED", - 5: "INVALID_DOMESTIC_PHONE_NUMBER_FORMAT", - 6: "INVALID_PHONE_NUMBER", - 7: "PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY", - 8: "PREMIUM_RATE_NUMBER_NOT_ALLOWED", - 9: "DISALLOWED_NUMBER_TYPE", - 10: "VALUE_OUT_OF_RANGE", - 11: "CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY", - 12: "CUSTOMER_NOT_WHITELISTED_FOR_CALLTRACKING", - 13: "INVALID_COUNTRY_CODE", - 14: "INVALID_APP_ID", - 15: "MISSING_ATTRIBUTES_FOR_FIELDS", - 16: "INVALID_TYPE_ID", - 17: "INVALID_EMAIL_ADDRESS", - 18: "INVALID_HTTPS_URL", - 19: "MISSING_DELIVERY_ADDRESS", - 20: "START_DATE_AFTER_END_DATE", - 21: "MISSING_FEED_ITEM_START_TIME", - 22: "MISSING_FEED_ITEM_END_TIME", - 23: "MISSING_FEED_ITEM_ID", - 24: "VANITY_PHONE_NUMBER_NOT_ALLOWED", - 25: "INVALID_REVIEW_EXTENSION_SNIPPET", - 26: "INVALID_NUMBER_FORMAT", - 27: "INVALID_DATE_FORMAT", - 28: "INVALID_PRICE_FORMAT", - 29: "UNKNOWN_PLACEHOLDER_FIELD", - 30: "MISSING_ENHANCED_SITELINK_DESCRIPTION_LINE", - 31: "REVIEW_EXTENSION_SOURCE_INELIGIBLE", - 32: "HYPHENS_IN_REVIEW_EXTENSION_SNIPPET", - 33: "DOUBLE_QUOTES_IN_REVIEW_EXTENSION_SNIPPET", - 34: "QUOTES_IN_REVIEW_EXTENSION_SNIPPET", - 35: "INVALID_FORM_ENCODED_PARAMS", - 36: "INVALID_URL_PARAMETER_NAME", - 37: "NO_GEOCODING_RESULT", - 38: "SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT", - 39: "CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED", - 40: "INVALID_PLACEHOLDER_FIELD_ID", - 41: "INVALID_URL_TAG", - 42: "LIST_TOO_LONG", - 43: "INVALID_ATTRIBUTES_COMBINATION", - 44: "DUPLICATE_VALUES", - 45: "INVALID_CALL_CONVERSION_ACTION_ID", - 46: "CANNOT_SET_WITHOUT_FINAL_URLS", - 47: "APP_ID_DOESNT_EXIST_IN_APP_STORE", - 48: "INVALID_FINAL_URL", - 49: "INVALID_TRACKING_URL", - 50: "INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL", - 51: "LIST_TOO_SHORT", - 52: "INVALID_USER_ACTION", - 53: "INVALID_TYPE_NAME", - 54: "INVALID_EVENT_CHANGE_STATUS", - 55: "INVALID_SNIPPETS_HEADER", - 56: "INVALID_ANDROID_APP_LINK", - 57: "NUMBER_TYPE_WITH_CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY", - 58: "RESERVED_KEYWORD_OTHER", - 59: "DUPLICATE_OPTION_LABELS", - 60: "DUPLICATE_OPTION_PREFILLS", - 61: "UNEQUAL_LIST_LENGTHS", - 62: "INCONSISTENT_CURRENCY_CODES", - 63: "PRICE_EXTENSION_HAS_DUPLICATED_HEADERS", - 64: "ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION", - 65: "PRICE_EXTENSION_HAS_TOO_FEW_ITEMS", - 66: "UNSUPPORTED_VALUE", - 67: "INVALID_FINAL_MOBILE_URL", - 68: "INVALID_KEYWORDLESS_AD_RULE_LABEL", - 69: "VALUE_TRACK_PARAMETER_NOT_SUPPORTED", - 70: "UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE", - 71: "INVALID_IOS_APP_LINK", - 72: "MISSING_IOS_APP_LINK_OR_IOS_APP_STORE_ID", - 73: "PROMOTION_INVALID_TIME", - 74: "PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF", - 75: "PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT", - 76: "TOO_MANY_DECIMAL_PLACES_SPECIFIED", - 77: "AD_CUSTOMIZERS_NOT_ALLOWED", - 78: "INVALID_LANGUAGE_CODE", - 79: "UNSUPPORTED_LANGUAGE", - 80: "IF_FUNCTION_NOT_ALLOWED", - 81: "INVALID_FINAL_URL_SUFFIX", - 82: "INVALID_TAG_IN_FINAL_URL_SUFFIX", - 83: "INVALID_FINAL_URL_SUFFIX_FORMAT", - 84: "CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED", - 85: "ONLY_ONE_DELIVERY_OPTION_IS_ALLOWED", - 86: "NO_DELIVERY_OPTION_IS_SET", - 87: "INVALID_CONVERSION_REPORTING_STATE", - 88: "IMAGE_SIZE_WRONG", - 89: "EMAIL_DELIVERY_NOT_AVAILABLE_IN_COUNTRY", - 90: "AUTO_REPLY_NOT_AVAILABLE_IN_COUNTRY", - 91: "INVALID_LATITUDE_VALUE", - 92: "INVALID_LONGITUDE_VALUE", - 93: "TOO_MANY_LABELS", - 94: "INVALID_IMAGE_URL", - 95: "MISSING_LATITUDE_VALUE", - 96: "MISSING_LONGITUDE_VALUE", -} - -var FeedItemValidationErrorEnum_FeedItemValidationError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "STRING_TOO_SHORT": 2, - "STRING_TOO_LONG": 3, - "VALUE_NOT_SPECIFIED": 4, - "INVALID_DOMESTIC_PHONE_NUMBER_FORMAT": 5, - "INVALID_PHONE_NUMBER": 6, - "PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY": 7, - "PREMIUM_RATE_NUMBER_NOT_ALLOWED": 8, - "DISALLOWED_NUMBER_TYPE": 9, - "VALUE_OUT_OF_RANGE": 10, - "CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY": 11, - "CUSTOMER_NOT_WHITELISTED_FOR_CALLTRACKING": 12, - "INVALID_COUNTRY_CODE": 13, - "INVALID_APP_ID": 14, - "MISSING_ATTRIBUTES_FOR_FIELDS": 15, - "INVALID_TYPE_ID": 16, - "INVALID_EMAIL_ADDRESS": 17, - "INVALID_HTTPS_URL": 18, - "MISSING_DELIVERY_ADDRESS": 19, - "START_DATE_AFTER_END_DATE": 20, - "MISSING_FEED_ITEM_START_TIME": 21, - "MISSING_FEED_ITEM_END_TIME": 22, - "MISSING_FEED_ITEM_ID": 23, - "VANITY_PHONE_NUMBER_NOT_ALLOWED": 24, - "INVALID_REVIEW_EXTENSION_SNIPPET": 25, - "INVALID_NUMBER_FORMAT": 26, - "INVALID_DATE_FORMAT": 27, - "INVALID_PRICE_FORMAT": 28, - "UNKNOWN_PLACEHOLDER_FIELD": 29, - "MISSING_ENHANCED_SITELINK_DESCRIPTION_LINE": 30, - "REVIEW_EXTENSION_SOURCE_INELIGIBLE": 31, - "HYPHENS_IN_REVIEW_EXTENSION_SNIPPET": 32, - "DOUBLE_QUOTES_IN_REVIEW_EXTENSION_SNIPPET": 33, - "QUOTES_IN_REVIEW_EXTENSION_SNIPPET": 34, - "INVALID_FORM_ENCODED_PARAMS": 35, - "INVALID_URL_PARAMETER_NAME": 36, - "NO_GEOCODING_RESULT": 37, - "SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT": 38, - "CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED": 39, - "INVALID_PLACEHOLDER_FIELD_ID": 40, - "INVALID_URL_TAG": 41, - "LIST_TOO_LONG": 42, - "INVALID_ATTRIBUTES_COMBINATION": 43, - "DUPLICATE_VALUES": 44, - "INVALID_CALL_CONVERSION_ACTION_ID": 45, - "CANNOT_SET_WITHOUT_FINAL_URLS": 46, - "APP_ID_DOESNT_EXIST_IN_APP_STORE": 47, - "INVALID_FINAL_URL": 48, - "INVALID_TRACKING_URL": 49, - "INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL": 50, - "LIST_TOO_SHORT": 51, - "INVALID_USER_ACTION": 52, - "INVALID_TYPE_NAME": 53, - "INVALID_EVENT_CHANGE_STATUS": 54, - "INVALID_SNIPPETS_HEADER": 55, - "INVALID_ANDROID_APP_LINK": 56, - "NUMBER_TYPE_WITH_CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY": 57, - "RESERVED_KEYWORD_OTHER": 58, - "DUPLICATE_OPTION_LABELS": 59, - "DUPLICATE_OPTION_PREFILLS": 60, - "UNEQUAL_LIST_LENGTHS": 61, - "INCONSISTENT_CURRENCY_CODES": 62, - "PRICE_EXTENSION_HAS_DUPLICATED_HEADERS": 63, - "ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION": 64, - "PRICE_EXTENSION_HAS_TOO_FEW_ITEMS": 65, - "UNSUPPORTED_VALUE": 66, - "INVALID_FINAL_MOBILE_URL": 67, - "INVALID_KEYWORDLESS_AD_RULE_LABEL": 68, - "VALUE_TRACK_PARAMETER_NOT_SUPPORTED": 69, - "UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE": 70, - "INVALID_IOS_APP_LINK": 71, - "MISSING_IOS_APP_LINK_OR_IOS_APP_STORE_ID": 72, - "PROMOTION_INVALID_TIME": 73, - "PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF": 74, - "PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT": 75, - "TOO_MANY_DECIMAL_PLACES_SPECIFIED": 76, - "AD_CUSTOMIZERS_NOT_ALLOWED": 77, - "INVALID_LANGUAGE_CODE": 78, - "UNSUPPORTED_LANGUAGE": 79, - "IF_FUNCTION_NOT_ALLOWED": 80, - "INVALID_FINAL_URL_SUFFIX": 81, - "INVALID_TAG_IN_FINAL_URL_SUFFIX": 82, - "INVALID_FINAL_URL_SUFFIX_FORMAT": 83, - "CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED": 84, - "ONLY_ONE_DELIVERY_OPTION_IS_ALLOWED": 85, - "NO_DELIVERY_OPTION_IS_SET": 86, - "INVALID_CONVERSION_REPORTING_STATE": 87, - "IMAGE_SIZE_WRONG": 88, - "EMAIL_DELIVERY_NOT_AVAILABLE_IN_COUNTRY": 89, - "AUTO_REPLY_NOT_AVAILABLE_IN_COUNTRY": 90, - "INVALID_LATITUDE_VALUE": 91, - "INVALID_LONGITUDE_VALUE": 92, - "TOO_MANY_LABELS": 93, - "INVALID_IMAGE_URL": 94, - "MISSING_LATITUDE_VALUE": 95, - "MISSING_LONGITUDE_VALUE": 96, -} - -func (x FeedItemValidationErrorEnum_FeedItemValidationError) String() string { - return proto.EnumName(FeedItemValidationErrorEnum_FeedItemValidationError_name, int32(x)) -} - -func (FeedItemValidationErrorEnum_FeedItemValidationError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bd98196a189f1138, []int{0, 0} -} - -// Container for enum describing possible validation errors of a feed item. -type FeedItemValidationErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FeedItemValidationErrorEnum) Reset() { *m = FeedItemValidationErrorEnum{} } -func (m *FeedItemValidationErrorEnum) String() string { return proto.CompactTextString(m) } -func (*FeedItemValidationErrorEnum) ProtoMessage() {} -func (*FeedItemValidationErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_bd98196a189f1138, []int{0} -} - -func (m *FeedItemValidationErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FeedItemValidationErrorEnum.Unmarshal(m, b) -} -func (m *FeedItemValidationErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FeedItemValidationErrorEnum.Marshal(b, m, deterministic) -} -func (m *FeedItemValidationErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedItemValidationErrorEnum.Merge(m, src) -} -func (m *FeedItemValidationErrorEnum) XXX_Size() int { - return xxx_messageInfo_FeedItemValidationErrorEnum.Size(m) -} -func (m *FeedItemValidationErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_FeedItemValidationErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_FeedItemValidationErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.errors.FeedItemValidationErrorEnum_FeedItemValidationError", FeedItemValidationErrorEnum_FeedItemValidationError_name, FeedItemValidationErrorEnum_FeedItemValidationError_value) - proto.RegisterType((*FeedItemValidationErrorEnum)(nil), "google.ads.googleads.v1.errors.FeedItemValidationErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/feed_item_validation_error.proto", fileDescriptor_bd98196a189f1138) -} - -var fileDescriptor_bd98196a189f1138 = []byte{ - // 1643 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x57, 0xdd, 0x76, 0x1b, 0xb7, - 0x11, 0xae, 0x9d, 0x36, 0x69, 0xe1, 0x26, 0x86, 0xe1, 0x5f, 0xd9, 0xb2, 0x6c, 0xcb, 0x8e, 0xed, - 0x38, 0x0e, 0x15, 0x35, 0x4d, 0xd3, 0xd0, 0x6d, 0x52, 0x70, 0x31, 0x4b, 0xa2, 0xc2, 0x02, 0x6b, - 0x00, 0x4b, 0x8a, 0xaa, 0x5a, 0x54, 0x2d, 0x59, 0x1d, 0x9d, 0x63, 0x89, 0x3e, 0xa2, 0xea, 0x27, - 0xe9, 0x13, 0xf4, 0xb2, 0xd7, 0x7d, 0x8a, 0x3e, 0x4a, 0x5f, 0xa0, 0xb7, 0x3d, 0x83, 0xfd, 0xe1, - 0x4a, 0x94, 0x7c, 0x72, 0xc5, 0xe5, 0xce, 0x0f, 0x80, 0x6f, 0xbe, 0xf9, 0x06, 0x4b, 0xbe, 0xdf, - 0x9f, 0xcd, 0xf6, 0xdf, 0x4c, 0x37, 0xf6, 0x26, 0xf3, 0x8d, 0xf2, 0x11, 0x9f, 0xde, 0x6d, 0x6e, - 0x4c, 0x8f, 0x8f, 0x67, 0xc7, 0xf3, 0x8d, 0xbf, 0x4d, 0xa7, 0x93, 0x70, 0x70, 0x32, 0x3d, 0x0c, - 0xef, 0xf6, 0xde, 0x1c, 0x4c, 0xf6, 0x4e, 0x0e, 0x66, 0x47, 0x21, 0xda, 0x3a, 0x6f, 0x8f, 0x67, - 0x27, 0x33, 0xb6, 0x56, 0x46, 0x75, 0xf6, 0x26, 0xf3, 0x4e, 0x93, 0xa0, 0xf3, 0x6e, 0xb3, 0x53, - 0x26, 0xb8, 0xbb, 0x5a, 0x2f, 0xf0, 0xf6, 0x60, 0x63, 0xef, 0x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x1f, 0xc6, 0xdd, 0x7d, 0xf5, 0xff, 0x00, 0x00, - 0x00, 0xff, 0xff, 0xb9, 0x80, 0xf8, 0x96, 0x38, 0x0e, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/feed_mapping_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/feed_mapping_error.pb.go deleted file mode 100644 index 012841d6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/feed_mapping_error.pb.go +++ /dev/null @@ -1,200 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/feed_mapping_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_8d89e199689d3695, []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_8d89e199689d3695, []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 (m *FeedMappingErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedMappingErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.FeedMappingErrorEnum_FeedMappingError", FeedMappingErrorEnum_FeedMappingError_name, FeedMappingErrorEnum_FeedMappingError_value) - proto.RegisterType((*FeedMappingErrorEnum)(nil), "google.ads.googleads.v1.errors.FeedMappingErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/feed_mapping_error.proto", fileDescriptor_8d89e199689d3695) -} - -var fileDescriptor_8d89e199689d3695 = []byte{ - // 556 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, 0xb8, 0xc0, 0x82, 0xc5, 0xdf, 0xad, 0x0c, 0x54, 0xfe, 0x0c, 0x86, - 0x94, 0xa8, 0x02, 0x31, 0x94, 0x5d, 0xb9, 0x89, 0xd3, 0x59, 0x24, 0x76, 0x94, 0xb8, 0x85, 0xa2, - 0x4a, 0x56, 0x20, 0x21, 0xaa, 0xb4, 0x26, 0x55, 0x52, 0xf6, 0x40, 0x5c, 0xf2, 0x28, 0x5c, 0xf0, - 0x1a, 0x48, 0x5c, 0xf1, 0x08, 0x28, 0x71, 0x5b, 0xd6, 0xae, 0xdd, 0xae, 0x7a, 0xe4, 0xf3, 0xfd, - 0x3e, 0x1f, 0x7f, 0xcd, 0x01, 0x07, 0x71, 0x9a, 0xc6, 0xc7, 0x91, 0x16, 0x84, 0xb9, 0x26, 0xcb, - 0xa2,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0x4e, 0x8f, 0x83, - 0x24, 0x56, 0xd3, 0x2c, 0xd6, 0xe2, 0x28, 0x29, 0xb7, 0x68, 0xb6, 0xb0, 0xe3, 0x61, 0xbe, 0x6e, - 0x7f, 0x0f, 0xe5, 0xcf, 0xf7, 0xea, 0x46, 0x07, 0xa1, 0x1f, 0xd5, 0xdd, 0x8e, 0x34, 0x43, 0x61, - 0xae, 0xca, 0xb2, 0xa8, 0x7a, 0x2d, 0xb5, 0xbc, 0x32, 0xff, 0x39, 0x13, 0x0c, 0x50, 0x98, 0x0f, - 0xe6, 0x82, 0x41, 0xaf, 0x35, 0x90, 0x82, 0x3f, 0xd5, 0xa6, 0x3c, 0xd5, 0x75, 0x14, 0xe6, 0xba, - 0x3e, 0x97, 0xe8, 0x7a, 0xaf, 0xa5, 0xeb, 0x52, 0xf4, 0xf9, 0x4a, 0x39, 0xdd, 0xeb, 0x7f, 0x01, - 0x00, 0x00, 0xff, 0xff, 0x32, 0x72, 0x8f, 0x98, 0x5c, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/field_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/field_error.pb.go deleted file mode 100644 index 0f866a5f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/field_error.pb.go +++ /dev/null @@ -1,149 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/field_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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. - 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 - // The field's value is on a blacklist for this field. - FieldErrorEnum_BLACKLISTED_VALUE FieldErrorEnum_FieldError = 8 -) - -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", - 8: "BLACKLISTED_VALUE", -} - -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, - "BLACKLISTED_VALUE": 8, -} - -func (x FieldErrorEnum_FieldError) String() string { - return proto.EnumName(FieldErrorEnum_FieldError_name, int32(x)) -} - -func (FieldErrorEnum_FieldError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1e5beaff382bf75e, []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_1e5beaff382bf75e, []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 (m *FieldErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FieldErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.FieldErrorEnum_FieldError", FieldErrorEnum_FieldError_name, FieldErrorEnum_FieldError_value) - proto.RegisterType((*FieldErrorEnum)(nil), "google.ads.googleads.v1.errors.FieldErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/field_error.proto", fileDescriptor_1e5beaff382bf75e) -} - -var fileDescriptor_1e5beaff382bf75e = []byte{ - // 392 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x4f, 0x8e, 0xd3, 0x30, - 0x14, 0xc6, 0x49, 0x06, 0x66, 0x46, 0x1e, 0xa0, 0x19, 0x8f, 0x60, 0xa4, 0x01, 0xcd, 0x22, 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88, 0x9c, 0x84, 0x19, 0xb5, 0x1e, 0xc3, 0x5b, 0x70, 0x33, 0x4a, - 0x11, 0x65, 0x49, 0x2a, 0x3c, 0x2a, 0x32, 0x9e, 0xd0, 0xd4, 0x7a, 0x02, 0xef, 0xc0, 0xcb, 0x29, - 0x4e, 0xf0, 0x25, 0xa7, 0x51, 0x9c, 0x7e, 0x14, 0x21, 0x4b, 0x52, 0xeb, 0x1c, 0xbe, 0x02, 0xb7, - 0x63, 0xa4, 0xf0, 0x09, 0xe7, 0xcb, 0xd1, 0xe6, 0x87, 0x94, 0x0c, 0x9d, 0x2f, 0xe0, 0x0b, 0x70, - 0xed, 0x85, 0xc4, 0x5f, 0x0c, 0x2c, 0x9d, 0x1a, 0x5d, 0x7a, 0x07, 0x03, 0xd8, 0x5f, 0xe4, 0x06, - 0xfd, 0x7f, 0x46, 0xde, 0xec, 0xf4, 0xdf, 0x78, 0x18, 0x4b, 0x6c, 0x7c, 0x0a, 0xfe, 0x5a, 0x1a, - 0xb9, 0x2e, 0xbb, 0x06, 0xc9, 0xbe, 0x71, 0x9a, 0xba, 0x1b, 0x87, 0x36, 0x2d, 0x66, 0xdb, 0xaa, - 0x7f, 0xed, 0xe9, 0x9d, 0x3e, 0xbe, 0x9b, 0x67, 0x0f, 0x84, 0xfc, 0x30, 0xef, 0x1f, 0x74, 0x18, - 0xa9, 0x14, 0xd2, 0x72, 0x50, 0xb9, 0x8b, 0xc6, 0x96, 0xea, 0xd7, 0x04, 0x14, 0xa4, 0x52, 0xc5, - 0x11, 0x28, 0x72, 0xb7, 0xd0, 0xc0, 0xc1, 0xb4, 0x75, 0x15, 0x63, 0x52, 0x29, 0x8c, 0x8f, 0x08, - 0xc6, 0xb9, 0x8b, 0xb1, 0x86, 0x3e, 0x9f, 0x8f, 0xaf, 0x7b, 0xfb, 0x27, 0x00, 0x00, 0xff, 0xff, - 0x9c, 0xd0, 0xb3, 0x96, 0x44, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/field_mask_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/field_mask_error.pb.go deleted file mode 100644 index 58d61089..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/field_mask_error.pb.go +++ /dev/null @@ -1,137 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/field_mask_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_bb7b8d8152b776ca, []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_bb7b8d8152b776ca, []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 (m *FieldMaskErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FieldMaskErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.FieldMaskErrorEnum_FieldMaskError", FieldMaskErrorEnum_FieldMaskError_name, FieldMaskErrorEnum_FieldMaskError_value) - proto.RegisterType((*FieldMaskErrorEnum)(nil), "google.ads.googleads.v1.errors.FieldMaskErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/field_mask_error.proto", fileDescriptor_bb7b8d8152b776ca) -} - -var fileDescriptor_bb7b8d8152b776ca = []byte{ - // 353 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xfb, 0x30, - 0x14, 0xc6, 0xff, 0xed, 0xfe, 0x2a, 0x64, 0xe0, 0x4a, 0x06, 0x13, 0x86, 0xec, 0xa2, 0x0f, 0x90, - 0x52, 0xc4, 0x9b, 0x78, 0x95, 0xd9, 0x76, 0x96, 0x6d, 0xe9, 0x20, 0x76, 0x03, 0x29, 0x94, 0x68, - 0x6b, 0x29, 0xdb, 0x9a, 0xd1, 0xcc, 0x3d, 0x87, 0xcf, 0xe0, 0x8d, 0xe0, 0xa3, 0xf8, 0x28, 0x5e, - 0xf8, 0x0c, 0xd2, 0xc6, 0x15, 0x77, 0xa1, 0x57, 0xf9, 0xf2, 0xe5, 0xf7, 0x9d, 0x9c, 0x73, 0xc0, - 0x65, 0x26, 0x44, 0xb6, 0x4a, 0x2d, 0x9e, 0x48, 0x4b, 0xc9, 0x4a, 0xed, 0x6c, 0x2b, 0x2d, 0x4b, - 0x51, 0x4a, 0xeb, 0x31, 0x4f, 0x57, 0x49, 0xbc, 0xe6, 0x72, 0x19, 0xd7, 0x0e, 0xda, 0x94, 0x62, - 0x2b, 0xe0, 0x40, 0xb1, 0x88, 0x27, 0x12, 0x35, 0x31, 0xb4, 0xb3, 0x91, 0x8a, 0xf5, 0xcf, 0xf7, - 0x65, 0x37, 0x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3, 0x06, 0x88, 0xe6, 0x76, 0xa4, 0x80, 0x0f, - 0xdd, 0x54, 0x2e, 0xc6, 0x24, 0x91, 0x18, 0x37, 0x08, 0xc6, 0x73, 0x1b, 0x63, 0x05, 0xdd, 0x1f, - 0xd7, 0xdd, 0x5d, 0x7c, 0x05, 0x00, 0x00, 0xff, 0xff, 0x56, 0x39, 0xab, 0xbc, 0x18, 0x02, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/function_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/function_error.pb.go deleted file mode 100644 index 8ec4de20..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/function_error.pb.go +++ /dev/null @@ -1,195 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/function_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_26e86f97fb83f8f1, []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_26e86f97fb83f8f1, []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 (m *FunctionErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FunctionErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.FunctionErrorEnum_FunctionError", FunctionErrorEnum_FunctionError_name, FunctionErrorEnum_FunctionError_value) - proto.RegisterType((*FunctionErrorEnum)(nil), "google.ads.googleads.v1.errors.FunctionErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/function_error.proto", fileDescriptor_26e86f97fb83f8f1) -} - -var fileDescriptor_26e86f97fb83f8f1 = []byte{ - // 541 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x93, 0x51, 0x6f, 0xd3, 0x30, - 0x10, 0xc7, 0x59, 0x37, 0x36, 0xf0, 0x18, 0xf5, 0xcc, 0x34, 0x50, 0x99, 0xca, 0x54, 0xe0, 0x01, - 0x21, 0x25, 0xaa, 0xf6, 0x16, 0x9e, 0xdc, 0xe4, 0xd2, 0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26, 0x7c, 0x2a, - 0xed, 0x1e, 0xde, 0x26, 0xa7, 0xe8, 0xa4, 0x12, 0xd9, 0x01, 0x7f, 0x5b, 0xe9, 0x82, 0x10, 0x22, - 0xca, 0x1d, 0x81, 0x77, 0x48, 0x13, 0x35, 0x2a, 0x82, 0xc7, 0x7e, 0x07, 0x22, 0x15, 0xb8, 0x7f, - 0xea, 0x77, 0xc9, 0x13, 0x74, 0x54, 0xd5, 0x17, 0xd9, 0xd2, 0x04, 0xef, 0x92, 0x23, 0x84, 0xd7, - 0x2a, 0x32, 0x88, 0xf0, 0xde, 0xaa, 0x63, 0x04, 0xef, 0x63, 0x10, 0xb2, 0x70, 0x96, 0x70, 0x21, - 0xb5, 0xee, 0x1e, 0x79, 0x85, 0x5e, 0x6e, 0x3a, 0x88, 0xb2, 0xa9, 0xe7, 0xa9, 0xd0, 0xa3, 0x36, - 0xf4, 0x02, 0xcf, 0x81, 0x08, 0xdf, 0x27, 0x2f, 0xd0, 0xe9, 0x46, 0x74, 0x95, 0x42, 0xe4, 0x11, - 0xaa, 0xff, 0x35, 0x22, 0xde, 0x27, 0x2d, 0xd4, 0xf4, 0x99, 0x10, 0x8c, 0x77, 0x0b, 0x7f, 0x21, - 0x29, 0x97, 0xcb, 0x03, 0xf4, 0xa9, 0x17, 0x03, 0x7e, 0x50, 0x30, 0x2b, 0xb7, 0xb3, 0x89, 0x39, - 0x58, 0x6d, 0xce, 0x41, 0x48, 0xc6, 0xbb, 0xf8, 0x21, 0x79, 0x8e, 0x9e, 0xf9, 0xb1, 0x27, 0x59, - 0xe8, 0x81, 0x72, 0x01, 0x1c, 0xc5, 0x1c, 0xa1, 0x78, 0x20, 0x95, 0x88, 0xc3, 0x30, 0x88, 0x24, - 0x38, 0xb8, 0x4e, 0x4c, 0xf4, 0x7a, 0xe3, 0xf0, 0xa5, 0xe0, 0x9c, 0xc9, 0x9e, 0x72, 0xd9, 0x05, - 0x38, 0x4a, 0xd8, 0x3d, 0xf0, 0x29, 0xc6, 0xa4, 0x81, 0x8e, 0x2b, 0x01, 0x95, 0x32, 0x62, 0x9d, - 0x58, 0x82, 0xe2, 0xd4, 0x07, 0x7c, 0xd8, 0xf9, 0xb5, 0x85, 0x5a, 0x97, 0xd9, 0xb5, 0xf1, 0xff, - 0x45, 0xec, 0x90, 0xb5, 0x8d, 0x0a, 0x8b, 0xf5, 0x0b, 0xb7, 0x3e, 0x3a, 0x0b, 0x55, 0x92, 0x5d, - 0x0d, 0xd3, 0xc4, 0xc8, 0x66, 0x89, 0x99, 0x8c, 0xd3, 0x72, 0x39, 0xab, 0x37, 0x30, 0x9d, 0xe4, - 0xff, 0x7a, 0x12, 0x6f, 0xf4, 0xe7, 0x4b, 0x6d, 0xbb, 0x4b, 0xe9, 0xd7, 0x5a, 0xb3, 0xab, 0x9b, - 0xd1, 0x51, 0x6e, 0xe8, 0xb0, 0x88, 0xfa, 0x6d, 0xa3, 0xb4, 0xcc, 0x7f, 0x54, 0xc0, 0x80, 0x8e, - 0xf2, 0xc1, 0x12, 0x18, 0xf4, 0xdb, 0x03, 0x0d, 0xfc, 0xac, 0xb5, 0x74, 0xd6, 0xb2, 0xe8, 0x28, - 0xb7, 0xac, 0x25, 0x62, 0x59, 0xfd, 0xb6, 0x65, 0x69, 0xe8, 0xd3, 0x6e, 0x39, 0xdd, 0xd9, 0xef, - 0x00, 0x00, 0x00, 0xff, 0xff, 0x03, 0xc2, 0xf5, 0x98, 0xaf, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/function_parsing_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/function_parsing_error.pb.go deleted file mode 100644 index 92618f36..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/function_parsing_error.pb.go +++ /dev/null @@ -1,171 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/function_parsing_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_452dbf0b9f7b0cf9, []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_452dbf0b9f7b0cf9, []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 (m *FunctionParsingErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FunctionParsingErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.FunctionParsingErrorEnum_FunctionParsingError", FunctionParsingErrorEnum_FunctionParsingError_name, FunctionParsingErrorEnum_FunctionParsingError_value) - proto.RegisterType((*FunctionParsingErrorEnum)(nil), "google.ads.googleads.v1.errors.FunctionParsingErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/function_parsing_error.proto", fileDescriptor_452dbf0b9f7b0cf9) -} - -var fileDescriptor_452dbf0b9f7b0cf9 = []byte{ - // 488 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xcd, 0x6e, 0xd3, 0x40, - 0x14, 0x85, 0x49, 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8, 0x50, 0x48, 0xd0, 0x1c, 0xa3, 0x44, 0x59, - 0x6d, 0x7a, 0x4a, 0x28, 0x7c, 0x8c, 0xc0, 0x53, 0xe0, 0x6b, 0x6f, 0xca, 0x24, 0xf3, 0x14, 0x48, - 0xab, 0x43, 0xcf, 0xc8, 0x71, 0x82, 0x8d, 0x12, 0x43, 0xc4, 0x24, 0x53, 0x42, 0x5a, 0x8f, 0x69, - 0x9f, 0x9c, 0x26, 0x18, 0x32, 0xe5, 0x4d, 0xc1, 0xd7, 0x97, 0x30, 0x51, 0x7a, 0x2c, 0x99, 0x77, - 0x01, 0xca, 0x7a, 0x42, 0x5f, 0x93, 0x57, 0xf7, 0x9a, 0xe4, 0xc1, 0xf4, 0x5e, 0x3c, 0xa0, 0x6f, - 0x49, 0x4f, 0x09, 0xa1, 0x43, 0x86, 0x9f, 0x34, 0x42, 0x5c, 0xe7, 0x4e, 0x12, 0xf4, 0x14, 0x17, - 0x18, 0x5b, 0x87, 0x74, 0x40, 0xfa, 0x21, 0x8f, 0x63, 0x8e, 0xc1, 0x8e, 0x9c, 0x32, 0xf4, 0xb5, - 0x88, 0x40, 0x32, 0xf4, 0xad, 0xa7, 0xb4, 0x47, 0x4e, 0x38, 0xce, 0xd8, 0x25, 0xdf, 0x2d, 0x95, - 0x90, 0x1a, 0x59, 0x08, 0xd6, 0x33, 0xea, 0x90, 0x77, 0x13, 0x00, 0x5f, 0x33, 0xa5, 0x24, 0x1f, - 0x27, 0x0a, 0xf6, 0x98, 0x66, 0x32, 0x48, 0x42, 0x40, 0xa5, 0x51, 0x28, 0xcd, 0x51, 0x41, 0x00, - 0xd2, 0x22, 0xf5, 0x35, 0xa1, 0xd8, 0x9b, 0x62, 0xab, 0x4b, 0x4f, 0xc8, 0x51, 0x73, 0xb6, 0x66, - 0xfd, 0x7c, 0xfc, 0xa7, 0x45, 0x86, 0x57, 0xc5, 0x8d, 0xfd, 0xff, 0x26, 0xc7, 0xbd, 0x87, 0xba, - 0x88, 0xea, 0x1a, 0xa3, 0xd6, 0x67, 0x7f, 0x07, 0x67, 0xc5, 0x75, 0x9a, 0x67, 0x76, 0x51, 0x66, - 0x4e, 0xb6, 0xcc, 0xb7, 0x25, 0xef, 0xdf, 0xd4, 0x7a, 0x55, 0xfd, 0xeb, 0x89, 0x9d, 0x9b, 0xcf, - 0xf7, 0x76, 0x27, 0x60, 0xec, 0x47, 0x7b, 0x10, 0x98, 0x30, 0xb6, 0xa8, 0x6c, 0x33, 0xd6, 0xd3, - 0x6c, 0x64, 0x6f, 0x7f, 0x59, 0xfd, 0xdc, 0x1b, 0xe6, 0x6c, 0x51, 0xcd, 0x1b, 0xc3, 0x7c, 0x36, - 0x9a, 0x1b, 0xc3, 0xef, 0xf6, 0xd0, 0x6c, 0x5d, 0x97, 0x2d, 0x2a, 0xd7, 0x6d, 0x2c, 0xae, 0x3b, - 0x1b, 0xb9, 0xae, 0x31, 0x7d, 0x39, 0xd8, 0x9e, 0xee, 0xfd, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, - 0xc2, 0x4d, 0xd3, 0x1f, 0xff, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/geo_target_constant_suggestion_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/geo_target_constant_suggestion_error.pb.go deleted file mode 100644 index 8f062d54..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/geo_target_constant_suggestion_error.pb.go +++ /dev/null @@ -1,139 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/geo_target_constant_suggestion_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_ef7e3347ae4bfc6d, []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_ef7e3347ae4bfc6d, []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 (m *GeoTargetConstantSuggestionErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_GeoTargetConstantSuggestionErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError", GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError_name, GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError_value) - proto.RegisterType((*GeoTargetConstantSuggestionErrorEnum)(nil), "google.ads.googleads.v1.errors.GeoTargetConstantSuggestionErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/geo_target_constant_suggestion_error.proto", fileDescriptor_ef7e3347ae4bfc6d) -} - -var fileDescriptor_ef7e3347ae4bfc6d = []byte{ - // 386 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xcf, 0xaa, 0xd4, 0x30, - 0x14, 0xc6, 0x6d, 0xaf, 0x7f, 0x20, 0x77, 0x61, 0xa9, 0x82, 0x17, 0xb9, 0x0c, 0x52, 0x74, 0x9b, - 0x52, 0xdc, 0xc5, 0x55, 0xa6, 0x8d, 0x43, 0x70, 0x26, 0xad, 0xfd, 0x27, 0x0e, 0x85, 0x50, 0xa7, - 0x25, 0x0c, 0xcc, 0x24, 0x43, 0xd3, 0x99, 0xb5, 0xcf, 0xe2, 0xd2, 0x8d, 0xef, 0xe1, 0x13, 0xf8, - 0x0c, 0x3e, 0x85, 0xb4, 0x99, 0x29, 0xb8, 0xd0, 0x59, 0xe5, 0x23, 0xe7, 0x3b, 0xbf, 0x2f, 0x39, - 0x07, 0x50, 0xa1, 0x94, 0xd8, 0xb5, 0x7e, 0xdd, 0x68, 0xdf, 0xc8, 0x41, 0x9d, 0x02, 0xbf, 0xed, - 0x3a, 0xd5, 0x69, 0x5f, 0xb4, 0x8a, 0xf7, 0x75, 0x27, 0xda, 0x9e, 0x6f, 0x94, 0xd4, 0x7d, 0x2d, - 0x7b, 0xae, 0x8f, 0x42, 0xb4, 0xba, 0x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75, 0xc2, - 0x17, 0xad, 0x1c, 0xc7, 0x78, 0xd9, 0xe1, 0x61, 0xab, 0xff, 0xb5, 0xd2, 0x77, 0xe6, 0xf8, 0x66, - 0xdf, 0x2c, 0x30, 0xfe, 0x6e, 0xcf, 0x16, 0x06, 0x86, 0x1b, 0x0d, 0x8d, 0x1c, 0x54, 0x19, 0xc0, - 0x31, 0x52, 0xff, 0xbc, 0x18, 0x2a, 0xdc, 0xe8, 0x6a, 0x32, 0x54, 0x65, 0x50, 0x19, 0xc3, 0x6f, - 0xdb, 0x33, 0xb7, 0x08, 0xe1, 0x46, 0x23, 0x34, 0x59, 0x10, 0x2a, 0x03, 0x84, 0x8c, 0xe9, 0xcb, - 0xe3, 0xf1, 0x75, 0x6f, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x82, 0x5e, 0xcb, 0x80, 0x6f, 0x02, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/header_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/header_error.pb.go deleted file mode 100644 index 35381c5b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/header_error.pb.go +++ /dev/null @@ -1,119 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/header_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 -) - -var HeaderErrorEnum_HeaderError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 3: "INVALID_LOGIN_CUSTOMER_ID", -} - -var HeaderErrorEnum_HeaderError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "INVALID_LOGIN_CUSTOMER_ID": 3, -} - -func (x HeaderErrorEnum_HeaderError) String() string { - return proto.EnumName(HeaderErrorEnum_HeaderError_name, int32(x)) -} - -func (HeaderErrorEnum_HeaderError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_17dbd7ec3240a65f, []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_17dbd7ec3240a65f, []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 (m *HeaderErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_HeaderErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.HeaderErrorEnum_HeaderError", HeaderErrorEnum_HeaderError_name, HeaderErrorEnum_HeaderError_value) - proto.RegisterType((*HeaderErrorEnum)(nil), "google.ads.googleads.v1.errors.HeaderErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/header_error.proto", fileDescriptor_17dbd7ec3240a65f) -} - -var fileDescriptor_17dbd7ec3240a65f = []byte{ - // 300 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xc3, 0x30, - 0x1c, 0xc6, 0xdd, 0x06, 0x0a, 0xd9, 0x61, 0xa5, 0x37, 0x45, 0x77, 0xe8, 0x03, 0x24, 0x04, 0x6f, - 0xf1, 0x94, 0xad, 0x75, 0x46, 0x67, 0x36, 0x9c, 0xab, 0x20, 0x95, 0x12, 0x4d, 0x89, 0x83, 0x2d, - 0x19, 0x49, 0xdd, 0x03, 0x79, 0xf4, 0x51, 0x7c, 0x14, 0x7d, 0x09, 0x69, 0x63, 0xcb, 0x2e, 0x7a, - 0xca, 0x97, 0x3f, 0xbf, 0xef, 0xfb, 0x7f, 0xfc, 0x01, 0x56, 0xc6, 0xa8, 0x75, 0x81, 0x84, 0x74, - 0xc8, 0xcb, 0x4a, 0xed, 0x30, 0x2a, 0xac, 0x35, 0xd6, 0xa1, 0xd7, 0x42, 0xc8, 0xc2, 0xe6, 0xf5, - 0x0f, 0x6e, 0xad, 0x29, 0x4d, 0x38, 0xf4, 0x1c, 0x14, 0xd2, 0xc1, 0xd6, 0x02, 0x77, 0x18, 0x7a, - 0xcb, 0xc9, 0x69, 0x13, 0xb9, 0x5d, 0x21, 0xa1, 0xb5, 0x29, 0x45, 0xb9, 0x32, 0xda, 0x79, 0x77, - 0xf4, 0x04, 0x06, 0x57, 0x75, 0x66, 0x52, 0xd1, 0x89, 0x7e, 0xdb, 0x44, 0xd7, 0xa0, 0xbf, 0x37, - 0x0a, 0x07, 0xa0, 0xbf, 0xe4, 0x8b, 0x79, 0x32, 0x66, 0x97, 0x2c, 0x89, 0x83, 0x83, 0xb0, 0x0f, - 0x8e, 0x96, 0xfc, 0x86, 0xcf, 0x1e, 0x78, 0xd0, 0x09, 0xcf, 0xc0, 0x31, 0xe3, 0x29, 0x9d, 0xb2, - 0x38, 0x9f, 0xce, 0x26, 0x8c, 0xe7, 0xe3, 0xe5, 0xe2, 0x7e, 0x76, 0x9b, 0xdc, 0xe5, 0x2c, 0x0e, - 0x7a, 0xa3, 0xef, 0x0e, 0x88, 0x5e, 0xcc, 0x06, 0xfe, 0xdf, 0x71, 0x14, 0xec, 0x2d, 0x9c, 0x57, - 0xbd, 0xe6, 0x9d, 0xc7, 0xf8, 0xd7, 0xa3, 0xcc, 0x5a, 0x68, 0x05, 0x8d, 0x55, 0x48, 0x15, 0xba, - 0x6e, 0xdd, 0x9c, 0x66, 0xbb, 0x72, 0x7f, 0x5d, 0xea, 0xc2, 0x3f, 0xef, 0xdd, 0xde, 0x84, 0xd2, - 0x8f, 0xee, 0x70, 0xe2, 0xc3, 0xa8, 0x74, 0xd0, 0xcb, 0x4a, 0xa5, 0x18, 0xd6, 0x2b, 0xdd, 0x67, - 0x03, 0x64, 0x54, 0xba, 0xac, 0x05, 0xb2, 0x14, 0x67, 0x1e, 0xf8, 0xea, 0x46, 0x7e, 0x4a, 0x08, - 0x95, 0x8e, 0x90, 0x16, 0x21, 0x24, 0xc5, 0x84, 0x78, 0xe8, 0xf9, 0xb0, 0x6e, 0x77, 0xfe, 0x13, - 0x00, 0x00, 0xff, 0xff, 0xab, 0x94, 0x78, 0x3f, 0xc6, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/id_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/id_error.pb.go deleted file mode 100644 index a5cfc52a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/id_error.pb.go +++ /dev/null @@ -1,118 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/id_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_ef5c320c9c725015, []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_ef5c320c9c725015, []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 (m *IdErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_IdErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.IdErrorEnum_IdError", IdErrorEnum_IdError_name, IdErrorEnum_IdError_value) - proto.RegisterType((*IdErrorEnum)(nil), "google.ads.googleads.v1.errors.IdErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/id_error.proto", fileDescriptor_ef5c320c9c725015) -} - -var fileDescriptor_ef5c320c9c725015 = []byte{ - // 279 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x41, 0x4a, 0xc4, 0x30, - 0x14, 0x86, 0x6d, 0x05, 0x07, 0x53, 0xc5, 0xd2, 0xa5, 0xc8, 0x2c, 0xba, 0x37, 0xa1, 0x08, 0x2e, - 0xe2, 0xaa, 0x63, 0x3b, 0x43, 0x11, 0xd2, 0x82, 0xb6, 0x82, 0x14, 0x86, 0x6a, 0x4a, 0x28, 0xcc, - 0x24, 0x25, 0xa9, 0x73, 0x20, 0x97, 0x1e, 0xc5, 0x8b, 0x08, 0x9e, 0x42, 0xda, 0xd7, 0x76, 0xa7, - 0xab, 0x7c, 0x09, 0x5f, 0xfe, 0xf7, 0x27, 0xe8, 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a5, 0xb3, 0x42, - 0x69, 0x11, 0x50, 0x0a, 0xd2, 0xeb, 0xc9, 0xd0, 0xee, 0xe6, 0x37, 0x00, 0x00, 0xff, 0xff, 0x69, - 0x6d, 0xa5, 0x72, 0xa6, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/image_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/image_error.pb.go deleted file mode 100644 index 9298e0bd..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/image_error.pb.go +++ /dev/null @@ -1,295 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/image_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_9dd554b8a72a1295, []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_9dd554b8a72a1295, []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 (m *ImageErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.ImageErrorEnum_ImageError", ImageErrorEnum_ImageError_name, ImageErrorEnum_ImageError_value) - proto.RegisterType((*ImageErrorEnum)(nil), "google.ads.googleads.v1.errors.ImageErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/image_error.proto", fileDescriptor_9dd554b8a72a1295) -} - -var fileDescriptor_9dd554b8a72a1295 = []byte{ - // 786 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x54, 0xcd, 0x72, 0xdb, 0x36, - 0x10, 0xae, 0x9d, 0x36, 0x4e, 0xe1, 0xc4, 0x86, 0xe1, 0xf8, 0xdf, 0x71, 0x52, 0x35, 0xcd, 0x51, - 0xaa, 0xa6, 0x37, 0xf5, 0x04, 0x91, 0x4b, 0x0a, 0x16, 0x08, 0xb0, 0x00, 0x28, 0x3b, 0x19, 0xcf, - 0x60, 0xd4, 0xca, 0xa3, 0xf1, 0x4c, 0x2c, 0x7a, 0x44, 0x37, 0x0f, 0xd1, 0xc7, 0xe8, 0xb1, 0x8f, - 0xd2, 0x47, 0xc9, 0x0b, 0xf4, 0xda, 0x59, 0x42, 0x12, 0xe3, 0x4e, 0x9a, 0x93, 0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x50, 0x29, 0x20, 0xb9, 0xd1, 0x58, 0x0c, 0x8e, 0x42, 0x98, 0xab, 0xef, 0xf1, 0x9b, 0x0a, 0x18, - 0x5e, 0xb0, 0x19, 0xca, 0xbf, 0x7e, 0xf0, 0x7d, 0xaa, 0xbc, 0x70, 0xf4, 0x07, 0x54, 0xff, 0xef, - 0xac, 0xd5, 0xfd, 0x78, 0xd3, 0xff, 0xb8, 0x46, 0x5a, 0xbf, 0x95, 0xb7, 0xed, 0x2f, 0x6f, 0x94, - 0xfe, 0x76, 0xb3, 0x1d, 0x72, 0x5c, 0x22, 0xf9, 0xda, 0xbb, 0x78, 0x71, 0x65, 0x5a, 0xbe, 0x1f, - 0xcf, 0xa6, 0xed, 0x72, 0x3e, 0xed, 0x4c, 0xaf, 0x67, 0xf5, 0x8a, 0x59, 0xae, 0xb1, 0xbb, 0x9b, - 0xea, 0xff, 0xb6, 0xda, 0xcf, 0xe1, 0xe7, 0xcf, 0xf5, 0x47, 0x29, 0xe7, 0x7f, 0xad, 0x9f, 0xa5, - 0x41, 0x8c, 0x4f, 0xaa, 0x76, 0x38, 0xe2, 0x69, 0xd4, 0x6d, 0xd7, 0x29, 0xab, 0xbf, 0x97, 0x84, - 0x2b, 0x3e, 0xa9, 0xae, 0x56, 0x84, 0xab, 0x51, 0xf7, 0x2a, 0x10, 0x3e, 0xae, 0xb7, 0x42, 0xb4, - 0xd7, 0xe3, 0x93, 0xaa, 0xd7, 0x5b, 0x51, 0x7a, 0xbd, 0x51, 0xb7, 0xd7, 0x0b, 0xa4, 0x5f, 0x1f, - 0xd7, 0xd5, 0xfd, 0xf4, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa4, 0xb5, 0x22, 0x81, 0x72, 0x05, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/internal_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/internal_error.pb.go deleted file mode 100644 index 4f58e158..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/internal_error.pb.go +++ /dev/null @@ -1,131 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/internal_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_9b8dc486f08daaa1, []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_9b8dc486f08daaa1, []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 (m *InternalErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_InternalErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.InternalErrorEnum_InternalError", InternalErrorEnum_InternalError_name, InternalErrorEnum_InternalError_value) - proto.RegisterType((*InternalErrorEnum)(nil), "google.ads.googleads.v1.errors.InternalErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/internal_error.proto", fileDescriptor_9b8dc486f08daaa1) -} - -var fileDescriptor_9b8dc486f08daaa1 = []byte{ - // 331 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xc3, 0x30, - 0x14, 0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 0xd3, 0x70, 0x39, 0x99, 0xfb, 0x8b, 0x07, 0xea, - 0x59, 0x3d, 0x78, 0x0d, 0x06, 0x71, 0x44, 0xd8, 0xc2, 0xa7, 0x2c, 0xde, 0x2b, 0xa7, 0x93, 0x1f, - 0x03, 0xd8, 0xaf, 0x62, 0x83, 0xfe, 0x5f, 0x68, 0x02, 0x8f, 0x46, 0x0b, 0x9b, 0x35, 0x42, 0xe3, - 0xd9, 0xdb, 0x5b, 0xa5, 0x58, 0x67, 0xbc, 0x44, 0x42, 0x96, 0x4e, 0x59, 0xf0, 0x76, 0xc9, 0xc3, - 0x2d, 0xb7, 0x95, 0xfa, 0xeb, 0xb4, 0x77, 0xfa, 0xf3, 0x61, 0xf6, 0x66, 0x84, 0x7c, 0x9a, 0xa3, - 0x99, 0x6e, 0x46, 0x72, 0x85, 0x74, 0x6c, 0xd2, 0xca, 0x45, 0xed, 0x93, 0xea, 0xeb, 0x00, 0x24, - 0x24, 0x57, 0x49, 0x07, 0x24, 0x2b, 0x37, 0xd1, 0xc0, 0xb7, 0x69, 0xeb, 0x2a, 0xc6, 0x24, 0x57, - 0x18, 0x77, 0x08, 0xc6, 0x2b, 0x17, 0x63, 0x0d, 0xbd, 0x9c, 0xb5, 0xd3, 0x8d, 0x7f, 0x03, 0x00, - 0x00, 0xff, 0xff, 0xef, 0xf8, 0x2e, 0x2f, 0xf7, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/keyword_plan_ad_group_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/keyword_plan_ad_group_error.pb.go deleted file mode 100644 index d0cc8c80..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/keyword_plan_ad_group_error.pb.go +++ /dev/null @@ -1,128 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/keyword_plan_ad_group_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_ae3a7647d43607f0, []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_ae3a7647d43607f0, []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 (m *KeywordPlanAdGroupErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanAdGroupErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError", KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError_name, KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError_value) - proto.RegisterType((*KeywordPlanAdGroupErrorEnum)(nil), "google.ads.googleads.v1.errors.KeywordPlanAdGroupErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/keyword_plan_ad_group_error.proto", fileDescriptor_ae3a7647d43607f0) -} - -var fileDescriptor_ae3a7647d43607f0 = []byte{ - // 323 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x4a, 0xc3, 0x30, - 0x18, 0x77, 0x1d, 0x28, 0x64, 0xa2, 0xa5, 0x17, 0x41, 0xc7, 0x0e, 0x7d, 0x80, 0x94, 0xe2, 0x2d, - 0x5e, 0xcc, 0xd6, 0x3a, 0xca, 0x66, 0x2c, 0xe8, 0x2a, 0x48, 0xa5, 0x44, 0x53, 0xc2, 0xb0, 0x4b, - 0x4a, 0xb2, 0x4d, 0x04, 0x9f, 0xc6, 0xa3, 0x8f, 0xe2, 0xa3, 0xf8, 0x02, 0x5e, 0xa5, 0xfd, 0xdc, - 0x6e, 0xf3, 0x94, 0x1f, 0xf9, 0x7e, 0x7f, 0xbe, 0xdf, 0x87, 0x2e, 0xa5, 0xd6, 0xb2, 0x2a, 0x03, - 0x2e, 0x6c, 0x00, 0xb0, 0x41, 0xeb, 0x30, 0x28, 0x8d, 0xd1, 0xc6, 0x06, 0x2f, 0xe5, 0xdb, 0xab, - 0x36, 0xa2, 0xa8, 0x2b, 0xae, 0x0a, 0x2e, 0x0a, 0x69, 0xf4, 0xaa, 0x2e, 0xda, 0x21, 0xae, 0x8d, - 0x5e, 0x6a, 0x6f, 0x00, 0x32, 0xcc, 0x85, 0xc5, 0x5b, 0x07, 0xbc, 0x0e, 0x31, 0x38, 0x9c, 0xf6, - 0x37, 0x09, 0xf5, 0x3c, 0xe0, 0x4a, 0xe9, 0x25, 0x5f, 0xce, 0xb5, 0xb2, 0xa0, 0xf6, 0xdf, 0xd1, - 0xd9, 0x04, 0x22, 0xd2, 0x8a, 0x2b, 0x2a, 0xc6, 0x8d, 0x7f, 0xdc, 0x28, 0x63, 0xb5, 0x5a, 0xf8, - 0x8f, 0xe8, 0x64, 0xc7, 0xd8, 0x3b, 0x46, 0xbd, 0x19, 0xbb, 0x4d, 0xe3, 0x51, 0x72, 0x95, 0xc4, - 0x91, 0xbb, 0xe7, 0xf5, 0xd0, 0xc1, 0x8c, 0x4d, 0xd8, 0xcd, 0x3d, 0x73, 0x3b, 0x9e, 0x8b, 0x0e, - 0x13, 0x96, 0xd1, 0x69, 0x12, 0x15, 0x8c, 0x5e, 0xc7, 0xae, 0xe3, 0x79, 0xe8, 0x28, 0x9a, 0xa5, - 0xd3, 0x64, 0x44, 0xef, 0x62, 0xf8, 0xeb, 0x0e, 0x7f, 0x3a, 0xc8, 0x7f, 0xd6, 0x0b, 0xfc, 0x7f, - 0x85, 0x61, 0x7f, 0xc7, 0x0e, 0x69, 0x53, 0x21, 0xed, 0x3c, 0x44, 0x7f, 0x7a, 0xa9, 0x2b, 0xae, - 0x24, 0xd6, 0x46, 0x06, 0xb2, 0x54, 0x6d, 0xc1, 0xcd, 0x51, 0xeb, 0xb9, 0xdd, 0x75, 0xe3, 0x0b, - 0x78, 0x3e, 0x9c, 0xee, 0x98, 0xd2, 0x4f, 0x67, 0x30, 0x06, 0x33, 0x2a, 0x2c, 0x06, 0xd8, 0xa0, - 0x2c, 0xc4, 0x6d, 0xa4, 0xfd, 0xda, 0x10, 0x72, 0x2a, 0x6c, 0xbe, 0x25, 0xe4, 0x59, 0x98, 0x03, - 0xe1, 0xdb, 0xf1, 0xe1, 0x97, 0x10, 0x2a, 0x2c, 0x21, 0x5b, 0x0a, 0x21, 0x59, 0x48, 0x08, 0x90, - 0x9e, 0xf6, 0xdb, 0xed, 0xce, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xab, 0xca, 0xe7, 0x7b, 0x00, - 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/keyword_plan_campaign_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/keyword_plan_campaign_error.pb.go deleted file mode 100644 index fc536309..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/keyword_plan_campaign_error.pb.go +++ /dev/null @@ -1,142 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/keyword_plan_campaign_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_7bc9bb1d32a81c9e, []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_7bc9bb1d32a81c9e, []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 (m *KeywordPlanCampaignErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanCampaignErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.KeywordPlanCampaignErrorEnum_KeywordPlanCampaignError", KeywordPlanCampaignErrorEnum_KeywordPlanCampaignError_name, KeywordPlanCampaignErrorEnum_KeywordPlanCampaignError_value) - proto.RegisterType((*KeywordPlanCampaignErrorEnum)(nil), "google.ads.googleads.v1.errors.KeywordPlanCampaignErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/keyword_plan_campaign_error.proto", fileDescriptor_7bc9bb1d32a81c9e) -} - -var fileDescriptor_7bc9bb1d32a81c9e = []byte{ - // 367 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xc1, 0x6a, 0xa3, 0x40, - 0x1c, 0xc6, 0x57, 0xb3, 0x9b, 0x85, 0xc9, 0xb2, 0xeb, 0x0a, 0x85, 0x52, 0xd2, 0x1c, 0x7c, 0x80, - 0x11, 0xe9, 0x6d, 0x7a, 0xe9, 0x44, 0xa7, 0x22, 0x49, 0x8c, 0x90, 0x6a, 0x43, 0x11, 0x64, 0x1a, - 0x45, 0xa4, 0x66, 0x46, 0x9c, 0x34, 0xa5, 0x2f, 0xd3, 0x43, 0x8f, 0x7d, 0x89, 0xde, 0xfb, 0x28, - 0x7d, 0x82, 0x1e, 0x8b, 0x4e,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 0xb4, 0x09, 0x71, 0x88, - 0xa3, 0xf5, 0xc7, 0x1f, 0x0a, 0x30, 0x56, 0x7c, 0x0d, 0xbf, 0x5f, 0xc3, 0xf8, 0xf4, 0xd0, 0x4f, - 0x04, 0xcd, 0x1e, 0x02, 0xe5, 0xc6, 0xd9, 0x05, 0xe4, 0xbc, 0xa4, 0x2c, 0x87, 0xbc, 0xce, 0xcd, - 0x3c, 0x63, 0xed, 0x96, 0xba, 0xcb, 0x54, 0x85, 0x38, 0x74, 0xa8, 0x73, 0xf9, 0x78, 0x56, 0x7b, - 0x2e, 0xc6, 0x2f, 0xea, 0xc8, 0x95, 0x61, 0x38, 0x15, 0x50, 0xca, 0x46, 0x45, 0x16, 0x6c, 0x2b, - 0xc5, 0x5b, 0x07, 0xc4, 0x38, 0x15, 0xf1, 0x1e, 0x88, 0x23, 0x2b, 0x96, 0xc0, 0xbb, 0x6a, 0xc8, - 0x29, 0x42, 0x38, 0x15, 0x08, 0xed, 0x11, 0x84, 0x22, 0x0b, 0x21, 0x09, 0xdd, 0xf6, 0xdb, 0xaf, - 0x3b, 0xfb, 0x0c, 0x00, 0x00, 0xff, 0xff, 0xd0, 0x4c, 0xf0, 0x1b, 0x45, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/keyword_plan_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/keyword_plan_error.pb.go deleted file mode 100644 index a9df9114..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/keyword_plan_error.pb.go +++ /dev/null @@ -1,187 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/keyword_plan_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_c1ce5991f7c4173e, []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_c1ce5991f7c4173e, []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 (m *KeywordPlanErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.KeywordPlanErrorEnum_KeywordPlanError", KeywordPlanErrorEnum_KeywordPlanError_name, KeywordPlanErrorEnum_KeywordPlanError_value) - proto.RegisterType((*KeywordPlanErrorEnum)(nil), "google.ads.googleads.v1.errors.KeywordPlanErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/keyword_plan_error.proto", fileDescriptor_c1ce5991f7c4173e) -} - -var fileDescriptor_c1ce5991f7c4173e = []byte{ - // 508 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0x4f, 0x8b, 0xd3, 0x4e, - 0x1c, 0xc6, 0x7f, 0x6d, 0x7f, 0xee, 0xea, 0xd4, 0x75, 0xc7, 0x61, 0xd5, 0x65, 0xb7, 0x54, 0xe9, - 0xc5, 0x83, 0x90, 0x50, 0x3c, 0x08, 0xf1, 0x34, 0xe9, 0x4c, 0xd3, 0xa1, 0xe9, 0x4c, 0xc8, 0xbf, - 0x52, 0x29, 0x0c, 0xd1, 0x94, 0x50, 0xec, 0x66, 0x4a, 0x52, 0x57, 0x7c, 0x3b, 0x1e, 0xbd, 0xf8, - 0x36, 0xc4, 0x97, 0xe2, 0xc9, 0x97, 0x20, 0xe9, 0x34, 0x01, 0x77, 0x59, 0x4f, 0xf9, 0xf2, 0x7c, - 0x3f, 0xcf, 0x93, 0xc9, 0xe4, 0x01, 0x6f, 0x32, 0xa5, 0xb2, 0xcd, 0xca, 0x4c, 0xd2, 0xd2, 0xd4, - 0x63, 0x35, 0x5d, 0x0f, 0xcd, 0x55, 0x51, 0xa8, 0xa2, 0x34, 0x3f, 0xae, 0xbe, 0x7c, 0x56, 0x45, - 0x2a, 0xb7, 0x9b, 0x24, 0x97, 0x7b, 0xcd, 0xd8, 0x16, 0x6a, 0xa7, 0x50, 0x5f, 0xd3, 0x46, 0x92, - 0x96, 0x46, 0x63, 0x34, 0xae, 0x87, 0x86, 0x36, 0x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 0xf0, 0xe0, 0x47, 0x3d, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/keyword_plan_idea_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/keyword_plan_idea_error.pb.go deleted file mode 100644 index fb340f88..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/keyword_plan_idea_error.pb.go +++ /dev/null @@ -1,125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/keyword_plan_idea_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_89101d9415c04e8d, []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_89101d9415c04e8d, []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 (m *KeywordPlanIdeaErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanIdeaErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.KeywordPlanIdeaErrorEnum_KeywordPlanIdeaError", KeywordPlanIdeaErrorEnum_KeywordPlanIdeaError_name, KeywordPlanIdeaErrorEnum_KeywordPlanIdeaError_value) - proto.RegisterType((*KeywordPlanIdeaErrorEnum)(nil), "google.ads.googleads.v1.errors.KeywordPlanIdeaErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/keyword_plan_idea_error.proto", fileDescriptor_89101d9415c04e8d) -} - -var fileDescriptor_89101d9415c04e8d = []byte{ - // 326 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xf3, 0x30, - 0x1c, 0xc5, 0xbf, 0x75, 0xf0, 0x09, 0x19, 0xb2, 0x5a, 0xbd, 0x50, 0x91, 0x5d, 0xf4, 0x01, 0x52, - 0x8a, 0x77, 0xd1, 0x9b, 0x6c, 0xab, 0xa3, 0xac, 0x74, 0xa5, 0xd2, 0x0e, 0xa4, 0x50, 0xa2, 0x09, - 0xa1, 0xd8, 0x25, 0x25, 0x99, 0x53, 0x5f, 0xc7, 0x4b, 0x1f, 0xc5, 0x47, 0xf1, 0xda, 0x07, 0x90, - 0x36, 0x6e, 0x57, 0xd3, 0xab, 0x1c, 0xf2, 0x3f, 0xbf, 0x93, 0x93, 0x3f, 0xb8, 0xe6, 0x52, 0xf2, - 0x9a, 0x79, 0x84, 0x6a, 0xcf, 0xc8, 0x56, 0x6d, 0x7c, 0x8f, 0x29, 0x25, 0x95, 0xf6, 0x1e, 0xd9, - 0xeb, 0xb3, 0x54, 0xb4, 0x6c, 0x6a, 0x22, 0xca, 0x8a, 0x32, 0x52, 0x76, 0x03, 0xd8, 0x28, 0xb9, - 0x96, 0xce, 0xc8, 0x20, 0x90, 0x50, 0x0d, 0x77, 0x34, 0xdc, 0xf8, 0xd0, 0xd0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xdd, 0xff, 0xef, 0xda, 0x5d, 0x7e, 0x07, 0x00, 0x00, 0xff, 0xff, 0x1b, 0xe9, - 0x4c, 0x1e, 0xf5, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/keyword_plan_keyword_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/keyword_plan_keyword_error.pb.go deleted file mode 100644 index 281d4164..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/keyword_plan_keyword_error.pb.go +++ /dev/null @@ -1,147 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/keyword_plan_keyword_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_0c5378240c3c1be8, []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_0c5378240c3c1be8, []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 (m *KeywordPlanKeywordErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanKeywordErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.KeywordPlanKeywordErrorEnum_KeywordPlanKeywordError", KeywordPlanKeywordErrorEnum_KeywordPlanKeywordError_name, KeywordPlanKeywordErrorEnum_KeywordPlanKeywordError_value) - proto.RegisterType((*KeywordPlanKeywordErrorEnum)(nil), "google.ads.googleads.v1.errors.KeywordPlanKeywordErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/keyword_plan_keyword_error.proto", fileDescriptor_0c5378240c3c1be8) -} - -var fileDescriptor_0c5378240c3c1be8 = []byte{ - // 395 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xcd, 0x6e, 0xd3, 0x30, - 0x00, 0xa6, 0x19, 0x6c, 0x92, 0x77, 0xc0, 0x58, 0x4c, 0xb0, 0x31, 0x7a, 0xc8, 0x03, 0x38, 0x8a, - 0xb8, 0x99, 0x03, 0xf2, 0x12, 0xd3, 0x46, 0xed, 0x92, 0x68, 0x49, 0x33, 0x8a, 0x22, 0x59, 0x81, - 0x44, 0x51, 0x45, 0x66, 0x47, 0x71, 0x19, 0xe2, 0xca, 0xa3, 0x70, 0xe4, 0x51, 0x78, 0x0c, 0x8e, - 0xbc, 0x00, 0x57, 0xe4, 0x78, 0xae, 0x10, 0x52, 0x77, 0xca, 0x17, 0x7f, 0x7f, 0xd6, 0x67, 0xf0, - 0xa6, 0x95, 0xb2, 0xed, 0x1a, 0xaf, 0xaa, 0x95, 0x67, 0xa0, 0x46, 0xb7, 0xbe, 0xd7, 0x0c, 0x83, - 0x1c, 0x94, 0xf7, 0xa9, 0xf9, 0xfa, 0x45, 0x0e, 0x35, 0xef, 0xbb, 0x4a, 0x70, 0xfb, 0x33, 0x72, - 0xb8, 0x1f, 0xe4, 0x56, 0xa2, 0xa9, 0x71, 0xe1, 0xaa, 0x56, 0x78, 0x17, 0x80, 0x6f, 0x7d, 0x6c, - 0x02, 0xce, 0xce, 0x6d, 0x41, 0xbf, 0xf1, 0x2a, 0x21, 0xe4, 0xb6, 0xda, 0x6e, 0xa4, 0x50, 0xc6, - 0xed, 0x7e, 0x73, 0xc0, 0x8b, 0x85, 0x49, 0x4d, 0xbb, 0x4a, 0xdc, 0x41, 0xa6, 0xad, 0x4c, 0x7c, - 0xbe, 0x71, 0x7f, 0x4d, 0xc0, 0xb3, 0x3d, 0x3c, 0x7a, 0x0c, 0x8e, 0x57, 0x71, 0x96, 0xb2, 0x20, - 0x7a, 0x1b, 0xb1, 0x10, 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e, 0x6b, 0x4e, 0x09, 0xa1, 0xb5, 0x22, - 0x64, 0x27, 0x21, 0xa4, 0xf0, 0x09, 0x31, 0xa2, 0x0f, 0x87, 0xe3, 0xed, 0x5e, 0xfd, 0x0d, 0x00, - 0x00, 0xff, 0xff, 0xcd, 0x4e, 0x24, 0x72, 0x86, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/keyword_plan_negative_keyword_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/keyword_plan_negative_keyword_error.pb.go deleted file mode 100644 index 140f4c48..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/keyword_plan_negative_keyword_error.pb.go +++ /dev/null @@ -1,117 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/keyword_plan_negative_keyword_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_f3a04f2b3400ffb6, []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_f3a04f2b3400ffb6, []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 (m *KeywordPlanNegativeKeywordErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanNegativeKeywordErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.KeywordPlanNegativeKeywordErrorEnum_KeywordPlanNegativeKeywordError", KeywordPlanNegativeKeywordErrorEnum_KeywordPlanNegativeKeywordError_name, KeywordPlanNegativeKeywordErrorEnum_KeywordPlanNegativeKeywordError_value) - proto.RegisterType((*KeywordPlanNegativeKeywordErrorEnum)(nil), "google.ads.googleads.v1.errors.KeywordPlanNegativeKeywordErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/keyword_plan_negative_keyword_error.proto", fileDescriptor_f3a04f2b3400ffb6) -} - -var fileDescriptor_f3a04f2b3400ffb6 = []byte{ - // 297 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0xc1, 0x4a, 0xf4, 0x30, - 0x14, 0x85, 0xff, 0xf6, 0x07, 0x85, 0xcc, 0xc2, 0xa1, 0x4b, 0x91, 0x11, 0xaa, 0xeb, 0x84, 0xe2, - 0x2e, 0x2e, 0xa4, 0xe3, 0xd4, 0x71, 0x18, 0xa8, 0x05, 0x99, 0x0a, 0x52, 0x28, 0xd1, 0xc4, 0x50, - 0xec, 0x24, 0x25, 0xa9, 0x15, 0x5f, 0xc7, 0xa5, 0x8f, 0xe2, 0xa3, 0xf8, 0x12, 0x4a, 0x7b, 0xdb, - 0xee, 0x74, 0x56, 0x39, 0x5c, 0xbe, 0x7b, 0xce, 0xc9, 0x45, 0xd7, 0x52, 0x6b, 0x59, 0x0a, 0xc2, - 0xb8, 0x25, 0x20, 0x5b, 0xd5, 0x04, 0x44, 0x18, 0xa3, 0x8d, 0x25, 0xcf, 0xe2, 0xed, 0x55, 0x1b, - 0x9e, 0x57, 0x25, 0x53, 0xb9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, 0x02, 0x00, 0x00, 0xff, - 0xff, 0x6b, 0xa8, 0xb2, 0xa0, 0xfa, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/label_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/label_error.pb.go deleted file mode 100644 index 51b3d31c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/label_error.pb.go +++ /dev/null @@ -1,164 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/label_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible label errors. -type LabelErrorEnum_LabelError int32 - -const ( - // Enum unspecified. - LabelErrorEnum_UNSPECIFIED LabelErrorEnum_LabelError = 0 - // The received error code is not known in this version. - LabelErrorEnum_UNKNOWN LabelErrorEnum_LabelError = 1 - // An inactive label cannot be applied. - LabelErrorEnum_CANNOT_APPLY_INACTIVE_LABEL LabelErrorEnum_LabelError = 2 - // A label cannot be applied to a disabled ad group criterion. - LabelErrorEnum_CANNOT_APPLY_LABEL_TO_DISABLED_AD_GROUP_CRITERION LabelErrorEnum_LabelError = 3 - // A label cannot be applied to a negative ad group criterion. - LabelErrorEnum_CANNOT_APPLY_LABEL_TO_NEGATIVE_AD_GROUP_CRITERION LabelErrorEnum_LabelError = 4 - // Cannot apply more than 50 labels per resource. - LabelErrorEnum_EXCEEDED_LABEL_LIMIT_PER_TYPE LabelErrorEnum_LabelError = 5 - // Labels from a manager account cannot be applied to campaign, ad group, - // ad group ad, or ad group criterion resources. - LabelErrorEnum_INVALID_RESOURCE_FOR_MANAGER_LABEL LabelErrorEnum_LabelError = 6 - // Label names must be unique. - LabelErrorEnum_DUPLICATE_NAME LabelErrorEnum_LabelError = 7 - // Label names cannot be empty. - LabelErrorEnum_INVALID_LABEL_NAME LabelErrorEnum_LabelError = 8 - // Labels cannot be applied to a draft. - LabelErrorEnum_CANNOT_ATTACH_LABEL_TO_DRAFT LabelErrorEnum_LabelError = 9 - // Labels not from a manager account cannot be applied to the customer - // resource. - LabelErrorEnum_CANNOT_ATTACH_NON_MANAGER_LABEL_TO_CUSTOMER LabelErrorEnum_LabelError = 10 -) - -var LabelErrorEnum_LabelError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "CANNOT_APPLY_INACTIVE_LABEL", - 3: "CANNOT_APPLY_LABEL_TO_DISABLED_AD_GROUP_CRITERION", - 4: "CANNOT_APPLY_LABEL_TO_NEGATIVE_AD_GROUP_CRITERION", - 5: "EXCEEDED_LABEL_LIMIT_PER_TYPE", - 6: "INVALID_RESOURCE_FOR_MANAGER_LABEL", - 7: "DUPLICATE_NAME", - 8: "INVALID_LABEL_NAME", - 9: "CANNOT_ATTACH_LABEL_TO_DRAFT", - 10: "CANNOT_ATTACH_NON_MANAGER_LABEL_TO_CUSTOMER", -} - -var LabelErrorEnum_LabelError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "CANNOT_APPLY_INACTIVE_LABEL": 2, - "CANNOT_APPLY_LABEL_TO_DISABLED_AD_GROUP_CRITERION": 3, - "CANNOT_APPLY_LABEL_TO_NEGATIVE_AD_GROUP_CRITERION": 4, - "EXCEEDED_LABEL_LIMIT_PER_TYPE": 5, - "INVALID_RESOURCE_FOR_MANAGER_LABEL": 6, - "DUPLICATE_NAME": 7, - "INVALID_LABEL_NAME": 8, - "CANNOT_ATTACH_LABEL_TO_DRAFT": 9, - "CANNOT_ATTACH_NON_MANAGER_LABEL_TO_CUSTOMER": 10, -} - -func (x LabelErrorEnum_LabelError) String() string { - return proto.EnumName(LabelErrorEnum_LabelError_name, int32(x)) -} - -func (LabelErrorEnum_LabelError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b728e98c4ada0c8f, []int{0, 0} -} - -// Container for enum describing possible label errors. -type LabelErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LabelErrorEnum) Reset() { *m = LabelErrorEnum{} } -func (m *LabelErrorEnum) String() string { return proto.CompactTextString(m) } -func (*LabelErrorEnum) ProtoMessage() {} -func (*LabelErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_b728e98c4ada0c8f, []int{0} -} - -func (m *LabelErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LabelErrorEnum.Unmarshal(m, b) -} -func (m *LabelErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LabelErrorEnum.Marshal(b, m, deterministic) -} -func (m *LabelErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelErrorEnum.Merge(m, src) -} -func (m *LabelErrorEnum) XXX_Size() int { - return xxx_messageInfo_LabelErrorEnum.Size(m) -} -func (m *LabelErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_LabelErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_LabelErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.errors.LabelErrorEnum_LabelError", LabelErrorEnum_LabelError_name, LabelErrorEnum_LabelError_value) - proto.RegisterType((*LabelErrorEnum)(nil), "google.ads.googleads.v1.errors.LabelErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/label_error.proto", fileDescriptor_b728e98c4ada0c8f) -} - -var fileDescriptor_b728e98c4ada0c8f = []byte{ - // 465 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0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c9, 0xc1, 0x97, 0x60, 0xab, 0x94, 0x7a, 0x95, 0x57, 0xa5, 0xad, 0xeb, 0xd2, 0x29, 0x17, 0x55, - 0xb7, 0xee, 0xfe, 0xa4, 0xd6, 0xcb, 0xe6, 0xae, 0x0b, 0x7b, 0x6f, 0x3e, 0x3f, 0x07, 0xc3, 0x10, - 0xe0, 0xd7, 0xe0, 0x3c, 0x34, 0xc5, 0xa0, 0x68, 0x6c, 0x13, 0xb6, 0x51, 0xe6, 0xda, 0x5d, 0xcb, - 0xe6, 0x77, 0x0f, 0xcc, 0xa1, 0x68, 0xe6, 0x3b, 0x60, 0x9e, 0xb9, 0x73, 0x03, 0xdc, 0x0c, 0x46, - 0x26, 0xeb, 0x79, 0x50, 0x34, 0x9e, 0xb7, 0x43, 0x3c, 0x2f, 0x73, 0x3d, 0xcf, 0x40, 0x97, 0x87, - 0xdd, 0x74, 0x6f, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0xc7, 0x2b, 0xdf, 0x02, 0xfe, 0x02, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/language_code_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/language_code_error.pb.go deleted file mode 100644 index 818686b2..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/language_code_error.pb.go +++ /dev/null @@ -1,125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/language_code_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing language code errors. -type LanguageCodeErrorEnum_LanguageCodeError int32 - -const ( - // Enum unspecified. - LanguageCodeErrorEnum_UNSPECIFIED LanguageCodeErrorEnum_LanguageCodeError = 0 - // The received error code is not known in this version. - LanguageCodeErrorEnum_UNKNOWN LanguageCodeErrorEnum_LanguageCodeError = 1 - // The input language code is not recognized. - LanguageCodeErrorEnum_LANGUAGE_CODE_NOT_FOUND LanguageCodeErrorEnum_LanguageCodeError = 2 - // The language is not allowed to use. - LanguageCodeErrorEnum_INVALID_LANGUAGE_CODE LanguageCodeErrorEnum_LanguageCodeError = 3 -) - -var LanguageCodeErrorEnum_LanguageCodeError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "LANGUAGE_CODE_NOT_FOUND", - 3: "INVALID_LANGUAGE_CODE", -} - -var LanguageCodeErrorEnum_LanguageCodeError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "LANGUAGE_CODE_NOT_FOUND": 2, - "INVALID_LANGUAGE_CODE": 3, -} - -func (x LanguageCodeErrorEnum_LanguageCodeError) String() string { - return proto.EnumName(LanguageCodeErrorEnum_LanguageCodeError_name, int32(x)) -} - -func (LanguageCodeErrorEnum_LanguageCodeError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8c79937672aea8be, []int{0, 0} -} - -// Container for enum describing language code errors. -type LanguageCodeErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LanguageCodeErrorEnum) Reset() { *m = LanguageCodeErrorEnum{} } -func (m *LanguageCodeErrorEnum) String() string { return proto.CompactTextString(m) } -func (*LanguageCodeErrorEnum) ProtoMessage() {} -func (*LanguageCodeErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_8c79937672aea8be, []int{0} -} - -func (m *LanguageCodeErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LanguageCodeErrorEnum.Unmarshal(m, b) -} -func (m *LanguageCodeErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LanguageCodeErrorEnum.Marshal(b, m, deterministic) -} -func (m *LanguageCodeErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_LanguageCodeErrorEnum.Merge(m, src) -} -func (m *LanguageCodeErrorEnum) XXX_Size() int { - return xxx_messageInfo_LanguageCodeErrorEnum.Size(m) -} -func (m *LanguageCodeErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_LanguageCodeErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_LanguageCodeErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.errors.LanguageCodeErrorEnum_LanguageCodeError", LanguageCodeErrorEnum_LanguageCodeError_name, LanguageCodeErrorEnum_LanguageCodeError_value) - proto.RegisterType((*LanguageCodeErrorEnum)(nil), "google.ads.googleads.v1.errors.LanguageCodeErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/language_code_error.proto", fileDescriptor_8c79937672aea8be) -} - -var fileDescriptor_8c79937672aea8be = []byte{ - // 325 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x4f, 0x4a, 0xc3, 0x40, - 0x14, 0xc6, 0x4d, 0x0a, 0x0a, 0xd3, 0x85, 0x31, 0x50, 0xc5, 0x3f, 0x74, 0x91, 0x03, 0x4c, 0x08, - 0x6e, 0x64, 0x5c, 0x4d, 0x9b, 0x34, 0x04, 0xcb, 0xa4, 0xa0, 0x89, 0x20, 0x81, 0x10, 0x3b, 0x61, - 0x08, 0xb4, 0xf3, 0x4a, 0xa6, 0xed, 0x01, 0x3c, 0x8a, 0x4b, 0x8f, 0xe2, 0x51, 0xdc, 0x79, 0x03, - 0x49, 0xa6, 0x0d, 0x48, 0xd1, 0x55, 0x3e, 0x5e, 0x7e, 0x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xee, 0xbd, 0xfe, 0xbc, 0x9b, 0xbd, 0x90, 0xd2, 0x0f, 0x73, 0x18, 0xea, 0x65, 0x94, 0x2b, 0xac, - 0x65, 0xa3, 0x52, 0x0f, 0xb7, 0x4f, 0xaa, 0xcf, 0x3d, 0x90, 0x51, 0xae, 0xb2, 0x0e, 0xc8, 0x52, - 0x2f, 0xd3, 0xc0, 0x97, 0xe9, 0xe8, 0x29, 0x21, 0x94, 0x2b, 0x42, 0x3a, 0x84, 0x90, 0xd4, 0x23, - 0x44, 0x43, 0xaf, 0xc7, 0xed, 0x75, 0xb7, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x48, 0xef, 0x6d, - 0x3e, 0xf9, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/list_operation_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/list_operation_error.pb.go deleted file mode 100644 index fb477e4f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/list_operation_error.pb.go +++ /dev/null @@ -1,125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/list_operation_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_93fc0a461682f081, []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_93fc0a461682f081, []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 (m *ListOperationErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListOperationErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.ListOperationErrorEnum_ListOperationError", ListOperationErrorEnum_ListOperationError_name, ListOperationErrorEnum_ListOperationError_value) - proto.RegisterType((*ListOperationErrorEnum)(nil), "google.ads.googleads.v1.errors.ListOperationErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/list_operation_error.proto", fileDescriptor_93fc0a461682f081) -} - -var fileDescriptor_93fc0a461682f081 = []byte{ - // 326 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xc3, 0x30, - 0x1c, 0xc6, 0xdd, 0x04, 0x27, 0xd9, 0xc1, 0x52, 0x64, 0xc2, 0x90, 0x1d, 0xfa, 0x00, 0x29, 0xc5, - 0x93, 0xf1, 0x94, 0xad, 0xd9, 0x08, 0xd6, 0xae, 0xae, 0xb6, 0x82, 0x14, 0x4a, 0xb5, 0x25, 0x14, - 0xb6, 0xa4, 0x24, 0x75, 0x47, 0x1f, 0xc6, 0xa3, 0x8f, 0xe2, 0xa3, 0x78, 0xf4, 0x09, 0xa4, 0x8d, - 0xed, 0x65, 0xe8, 0xa9, 0x1f, 0xff, 0xfe, 0xbe, 0x2f, 0xdf, 0xff, 0x0f, 0xae, 0x99, 0x10, 0x6c, - 0x5b, 0xd8, 0x59, 0xae, 0x6c, 0x2d, 0x1b, 0xb5, 0x77, 0xec, 0x42, 0x4a, 0x21, 0x95, 0xbd, 0x2d, - 0x55, 0x9d, 0x8a, 0xaa, 0x90, 0x59, 0x5d, 0x0a, 0x9e, 0xb6, 0x53, 0x58, 0x49, 0x51, 0x0b, 0x73, - 0xa6, 0x79, 0x98, 0xe5, 0x0a, 0xf6, 0x56, 0xb8,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, - 0x83, 0x90, 0x86, 0x9e, 0x4f, 0xda, 0x76, 0x57, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x92, 0x06, - 0x57, 0xb9, 0xf6, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/manager_link_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/manager_link_error.pb.go deleted file mode 100644 index 252723a1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/manager_link_error.pb.go +++ /dev/null @@ -1,187 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/manager_link_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible ManagerLink errors. -type ManagerLinkErrorEnum_ManagerLinkError int32 - -const ( - // Enum unspecified. - ManagerLinkErrorEnum_UNSPECIFIED ManagerLinkErrorEnum_ManagerLinkError = 0 - // The received error code is not known in this version. - ManagerLinkErrorEnum_UNKNOWN ManagerLinkErrorEnum_ManagerLinkError = 1 - // The manager and client have incompatible account types. - ManagerLinkErrorEnum_ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING ManagerLinkErrorEnum_ManagerLinkError = 2 - // Client is already linked to too many managers. - ManagerLinkErrorEnum_TOO_MANY_MANAGERS ManagerLinkErrorEnum_ManagerLinkError = 3 - // Manager has too many pending invitations. - ManagerLinkErrorEnum_TOO_MANY_INVITES ManagerLinkErrorEnum_ManagerLinkError = 4 - // Client is already invited by this manager. - ManagerLinkErrorEnum_ALREADY_INVITED_BY_THIS_MANAGER ManagerLinkErrorEnum_ManagerLinkError = 5 - // The client is already managed by this manager. - ManagerLinkErrorEnum_ALREADY_MANAGED_BY_THIS_MANAGER ManagerLinkErrorEnum_ManagerLinkError = 6 - // Client is already managed in hierarchy. - ManagerLinkErrorEnum_ALREADY_MANAGED_IN_HIERARCHY ManagerLinkErrorEnum_ManagerLinkError = 7 - // Manger and sub-manager to be linked have duplicate client. - ManagerLinkErrorEnum_DUPLICATE_CHILD_FOUND ManagerLinkErrorEnum_ManagerLinkError = 8 - // Client has no active user that can access the client account. - ManagerLinkErrorEnum_CLIENT_HAS_NO_ADMIN_USER ManagerLinkErrorEnum_ManagerLinkError = 9 - // Adding this link would exceed the maximum hierarchy depth. - ManagerLinkErrorEnum_MAX_DEPTH_EXCEEDED ManagerLinkErrorEnum_ManagerLinkError = 10 - // Adding this link will create a cycle. - ManagerLinkErrorEnum_CYCLE_NOT_ALLOWED ManagerLinkErrorEnum_ManagerLinkError = 11 - // Manager account has the maximum number of linked clients. - ManagerLinkErrorEnum_TOO_MANY_ACCOUNTS ManagerLinkErrorEnum_ManagerLinkError = 12 - // Parent manager account has the maximum number of linked clients. - ManagerLinkErrorEnum_TOO_MANY_ACCOUNTS_AT_MANAGER ManagerLinkErrorEnum_ManagerLinkError = 13 - // The account is not authorized owner. - ManagerLinkErrorEnum_NON_OWNER_USER_CANNOT_MODIFY_LINK ManagerLinkErrorEnum_ManagerLinkError = 14 - // Your manager account is suspended, and you are no longer allowed to link - // to clients. - ManagerLinkErrorEnum_SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS ManagerLinkErrorEnum_ManagerLinkError = 15 -) - -var ManagerLinkErrorEnum_ManagerLinkError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING", - 3: "TOO_MANY_MANAGERS", - 4: "TOO_MANY_INVITES", - 5: "ALREADY_INVITED_BY_THIS_MANAGER", - 6: "ALREADY_MANAGED_BY_THIS_MANAGER", - 7: "ALREADY_MANAGED_IN_HIERARCHY", - 8: "DUPLICATE_CHILD_FOUND", - 9: "CLIENT_HAS_NO_ADMIN_USER", - 10: "MAX_DEPTH_EXCEEDED", - 11: "CYCLE_NOT_ALLOWED", - 12: "TOO_MANY_ACCOUNTS", - 13: "TOO_MANY_ACCOUNTS_AT_MANAGER", - 14: "NON_OWNER_USER_CANNOT_MODIFY_LINK", - 15: "SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS", -} - -var ManagerLinkErrorEnum_ManagerLinkError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING": 2, - "TOO_MANY_MANAGERS": 3, - "TOO_MANY_INVITES": 4, - "ALREADY_INVITED_BY_THIS_MANAGER": 5, - "ALREADY_MANAGED_BY_THIS_MANAGER": 6, - "ALREADY_MANAGED_IN_HIERARCHY": 7, - "DUPLICATE_CHILD_FOUND": 8, - "CLIENT_HAS_NO_ADMIN_USER": 9, - "MAX_DEPTH_EXCEEDED": 10, - "CYCLE_NOT_ALLOWED": 11, - "TOO_MANY_ACCOUNTS": 12, - "TOO_MANY_ACCOUNTS_AT_MANAGER": 13, - "NON_OWNER_USER_CANNOT_MODIFY_LINK": 14, - "SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS": 15, -} - -func (x ManagerLinkErrorEnum_ManagerLinkError) String() string { - return proto.EnumName(ManagerLinkErrorEnum_ManagerLinkError_name, int32(x)) -} - -func (ManagerLinkErrorEnum_ManagerLinkError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7d072fd0281d8377, []int{0, 0} -} - -// Container for enum describing possible ManagerLink errors. -type ManagerLinkErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ManagerLinkErrorEnum) Reset() { *m = ManagerLinkErrorEnum{} } -func (m *ManagerLinkErrorEnum) String() string { return proto.CompactTextString(m) } -func (*ManagerLinkErrorEnum) ProtoMessage() {} -func (*ManagerLinkErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_7d072fd0281d8377, []int{0} -} - -func (m *ManagerLinkErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ManagerLinkErrorEnum.Unmarshal(m, b) -} -func (m *ManagerLinkErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ManagerLinkErrorEnum.Marshal(b, m, deterministic) -} -func (m *ManagerLinkErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ManagerLinkErrorEnum.Merge(m, src) -} -func (m *ManagerLinkErrorEnum) XXX_Size() int { - return xxx_messageInfo_ManagerLinkErrorEnum.Size(m) -} -func (m *ManagerLinkErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_ManagerLinkErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_ManagerLinkErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.errors.ManagerLinkErrorEnum_ManagerLinkError", ManagerLinkErrorEnum_ManagerLinkError_name, ManagerLinkErrorEnum_ManagerLinkError_value) - proto.RegisterType((*ManagerLinkErrorEnum)(nil), "google.ads.googleads.v1.errors.ManagerLinkErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/manager_link_error.proto", fileDescriptor_7d072fd0281d8377) -} - -var fileDescriptor_7d072fd0281d8377 = []byte{ - // 538 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, 0xc0, 0x8c, 0xb5, 0x22, 0x40, 0xd5, 0x80, 0x0e, 0x04, 0x57, - 0x89, 0x2a, 0x2e, 0x90, 0xc2, 0x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xf0, 0x22, 0x88, 0x02, 0x8f, 0x09, 0xca, 0x68, 0xdd, 0xa9, 0x26, 0x31, 0xa5, - 0x4a, 0x4f, 0x12, 0xc0, 0xe3, 0xe1, 0x8f, 0x03, 0xd0, 0xff, 0x98, 0x6d, 0x8c, 0xff, 0x87, 0x68, - 0xd8, 0xdd, 0x8f, 0x82, 0x57, 0xa6, 0xc7, 0x3b, 0x78, 0x4f, 0x7f, 0x1b, 0x93, 0x6c, 0x1d, 0xa7, - 0x89, 0x91, 0xe5, 0x89, 0x99, 0x2c, 0xd3, 0x2a, 0x5b, 0x75, 0x8c, 0xb7, 0xab, 0xe2, 0x5f, 0xa9, - 0x7e, 0xa7, 0x7f, 0x9f, 0x5b, 0xed, 0x31, 0xc6, 0x5f, 0x5a, 0xa7, 0x63, 0xdd, 0x0c, 0x2f, 0x0a, - 0x43, 0x97, 0x65, 0x35, 0x19, 0x18, 0xd5, 0x95, 0xc5, 0xd7, 0x1a, 0x98, 0xe3, 0x45, 0x31, 0x6f, - 0x80, 0xf9, 0x64, 0x30, 0xd7, 0xc0, 0xf7, 0x56, 0x5f, 0xab, 0x96, 0x85, 0x17, 0x85, 0x65, 0x35, - 0x88, 0x65, 0x4d, 0x06, 0x96, 0xa5, 0xa1, 0x0f, 0x87, 0xd5, 0xeb, 0xde, 0xfc, 0x0a, 0x00, 0x00, - 0xff, 0xff, 0x90, 0x81, 0x99, 0x8c, 0x72, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/media_bundle_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/media_bundle_error.pb.go deleted file mode 100644 index 1b8b5b05..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/media_bundle_error.pb.go +++ /dev/null @@ -1,225 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/media_bundle_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_532a64b4156dabfe, []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_532a64b4156dabfe, []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 (m *MediaBundleErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_MediaBundleErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.MediaBundleErrorEnum_MediaBundleError", MediaBundleErrorEnum_MediaBundleError_name, MediaBundleErrorEnum_MediaBundleError_value) - proto.RegisterType((*MediaBundleErrorEnum)(nil), "google.ads.googleads.v1.errors.MediaBundleErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/media_bundle_error.proto", fileDescriptor_532a64b4156dabfe) -} - -var fileDescriptor_532a64b4156dabfe = []byte{ - // 641 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x53, 0xdd, 0x6a, 0x13, 0x41, - 0x14, 0xb6, 0xad, 0x6d, 0x75, 0xfa, 0x37, 0x9d, 0x36, 0xf6, 0xc7, 0x9a, 0x8b, 0x80, 0x82, 0x0a, - 0x1b, 0x82, 0x88, 0xb0, 0x5e, 0xcd, 0x66, 0x4f, 0xb6, 0x43, 0x67, 0x67, 0xd6, 0x99, 0xd9, 0xa4, - 0x29, 0x81, 0x21, 0x35, 0x21, 0x04, 0xda, 0x6c, 0xc9, 0xb6, 0x7d, 0x1d, 0xc1, 0x4b, 0x9f, 0xc0, - 0x67, 0xf0, 0x51, 0xbc, 0xf2, 0x11, 0x64, 0xb2, 0x4d, 0x68, 0x4b, 0xf4, 0x6a, 0x0e, 0xdf, 0xf9, - 0xbe, 0xef, 0xfc, 0x30, 0x07, 0x7d, 0x1a, 0x64, 0xd9, 0xe0, 0xa2, 0x5f, 0xed, 0xf6, 0xf2, 0x6a, - 0x11, 0xba, 0xe8, 0xb6, 0x56, 0xed, 0x8f, 0xc7, 0xd9, 0x38, 0xaf, 0x5e, 0xf6, 0x7b, 0xc3, 0xae, - 0x3d, 0xbf, 0x19, 0xf5, 0x2e, 0xfa, 0x76, 0x82, 0x79, 0x57, 0xe3, 0xec, 0x3a, 0x23, 0xe5, 0x82, - 0xed, 0x75, 0x7b, 0xb9, 0x37, 0x13, 0x7a, 0xb7, 0x35, 0xaf, 0x10, 0x1e, 0x1e, 0x4d, 0x8d, 0xaf, - 0x86, 0xd5, 0xee, 0x68, 0x94, 0x5d, 0x77, 0xaf, 0x87, 0xd9, 0x28, 0x2f, 0xd4, 0x95, 0x9f, 0xcb, - 0x68, 0x37, 0x76, 0xd6, 0xc1, 0xc4, 0x19, 0x9c, 0x06, 0x46, 0x37, 0x97, 0x95, 0x6f, 0xcb, 0x08, - 0x3f, 0x4e, 0x90, 0x2d, 0xb4, 0x96, 0x0a, 0x9d, 0x40, 0x9d, 0x35, 0x18, 0x84, 0xf8, 0x09, 0x59, - 0x43, 0xab, 0xa9, 0x38, 0x11, 0xb2, 0x25, 0xf0, 0x82, 0xcb, 0x06, 0x34, 0xb4, 0x0a, 0xbe, 0xa4, - 0xa0, 0x0d, 0x5e, 0x22, 0x15, 0x54, 0x0e, 0x65, 0x1a, 0x70, 0xa8, 0x73, 0x56, 0x3f, 0xb1, 0x41, - 0x2a, 0x42, 0x0e, 0x56, 0x48, 0x63, 0x29, 0xe7, 0xb2, 0x05, 0x21, 0x7e, 0x4a, 0x8e, 0xd0, 0x3e, - 0x9c, 0x1a, 0x50, 0x82, 0x72, 0x9b, 0x2a, 0xfe, 0x20, 0xbb, 0x4c, 0x08, 0xda, 0x6c, 0x30, 0x0e, - 0xd6, 0x48, 0x69, 0x39, 0x55, 0x11, 0xe0, 0x15, 0xe2, 0xa1, 0x77, 0x91, 0x94, 0x11, 0x07, 0xdb, - 0x82, 0xc0, 0x86, 0xa0, 0x59, 0x24, 0x40, 0xd9, 0x33, 0x96, 0xd8, 0x09, 0xd7, 0x39, 0x24, 0x69, - 0xc0, 0x99, 0x3e, 0x86, 0x10, 0xaf, 0x92, 0x6d, 0xb4, 0xc1, 0x44, 0x93, 0x72, 0x16, 0x5a, 0x26, - 0x92, 0xd4, 0xe0, 0x67, 0x64, 0x1f, 0xed, 0x4e, 0xa1, 0x18, 0x42, 0x46, 0xef, 0x5a, 0xc3, 0xcf, - 0x49, 0x19, 0x1d, 0xce, 0xcb, 0x58, 0x10, 0x46, 0xb5, 0x31, 0x22, 0x25, 0xb4, 0x3d, 0xcb, 0xb3, - 0x18, 0xac, 0x69, 0x27, 0x80, 0xd7, 0x08, 0x46, 0xeb, 0x53, 0x38, 0xa1, 0xe6, 0x18, 0xaf, 0x93, - 0x03, 0x54, 0x9a, 0x22, 0x6e, 0x2c, 0x05, 0x0d, 0x50, 0x20, 0xea, 0x80, 0x37, 0x5c, 0xf5, 0xc2, - 0x3b, 0xa4, 0x86, 0xde, 0x1b, 0x6d, 0x93, 0xbc, 0x41, 0x95, 0x98, 0x69, 0xcd, 0x44, 0x64, 0x13, - 0xc5, 0x62, 0xaa, 0xda, 0xf3, 0xba, 0xd8, 0x72, 0xe5, 0x34, 0xa8, 0x26, 0x28, 0x0b, 0x4a, 0x49, - 0x85, 0xb1, 0x1b, 0x52, 0x1b, 0xa9, 0x68, 0x04, 0x77, 0xd0, 0x36, 0x79, 0x85, 0x0e, 0x74, 0x8b, - 0x35, 0x1a, 0xed, 0x79, 0x8b, 0x27, 0x6e, 0xb5, 0xae, 0x74, 0x4c, 0x45, 0x7b, 0xb2, 0x37, 0x8d, - 0x77, 0xc8, 0x0e, 0xda, 0x4a, 0x05, 0x9c, 0x26, 0x50, 0x37, 0x10, 0x5a, 0xcd, 0xce, 0x00, 0xef, - 0x92, 0x2a, 0x7a, 0x9f, 0x0a, 0x9d, 0x26, 0x89, 0x54, 0x0e, 0x9d, 0xb7, 0x7b, 0x10, 0x4d, 0xa6, - 0xa4, 0x88, 0x41, 0x18, 0x5c, 0x72, 0x85, 0xef, 0x0b, 0x8e, 0x4d, 0xcc, 0x3f, 0xda, 0x06, 0x50, - 0x93, 0x2a, 0xc0, 0x2f, 0xc8, 0x5b, 0xf4, 0xda, 0x6d, 0x84, 0x89, 0x87, 0xb3, 0xb9, 0xee, 0xb4, - 0xe6, 0xb6, 0x2e, 0xe3, 0x84, 0x33, 0x2a, 0x0c, 0xde, 0x23, 0x2f, 0xd1, 0x5e, 0x3d, 0xd5, 0x46, - 0xc6, 0x16, 0x4e, 0x99, 0x79, 0x30, 0xc0, 0x7e, 0xf0, 0x67, 0x01, 0x55, 0xbe, 0x66, 0x97, 0xde, - 0xff, 0xff, 0x7f, 0x50, 0x7a, 0xfc, 0x8b, 0x13, 0xf7, 0xf1, 0x93, 0x85, 0xb3, 0xf0, 0x4e, 0x38, - 0xc8, 0x2e, 0xba, 0xa3, 0x81, 0x97, 0x8d, 0x07, 0xd5, 0x41, 0x7f, 0x34, 0x39, 0x8b, 0xe9, 0x05, - 0x5e, 0x0d, 0xf3, 0x7f, 0x1d, 0xe4, 0xe7, 0xe2, 0xf9, 0xbe, 0xb8, 0x14, 0x51, 0xfa, 0x63, 0xb1, - 0x1c, 0x15, 0x66, 0xb4, 0x97, 0x7b, 0x45, 0xe8, 0xa2, 0x66, 0xcd, 0x9b, 0x94, 0xcc, 0x7f, 0x4d, - 0x09, 0x1d, 0xda, 0xcb, 0x3b, 0x33, 0x42, 0xa7, 0x59, 0xeb, 0x14, 0x84, 0xdf, 0x8b, 0x95, 0x02, - 0xf5, 0x7d, 0xda, 0xcb, 0x7d, 0x7f, 0x46, 0xf1, 0xfd, 0x66, 0xcd, 0xf7, 0x0b, 0xd2, 0xf9, 0xca, - 0xa4, 0xbb, 0x0f, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xf9, 0x49, 0xe4, 0x52, 0x2d, 0x04, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/media_file_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/media_file_error.pb.go deleted file mode 100644 index 704e04b9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/media_file_error.pb.go +++ /dev/null @@ -1,231 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/media_file_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_8beb6ca4c6065079, []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_8beb6ca4c6065079, []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 (m *MediaFileErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_MediaFileErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.MediaFileErrorEnum_MediaFileError", MediaFileErrorEnum_MediaFileError_name, MediaFileErrorEnum_MediaFileError_value) - proto.RegisterType((*MediaFileErrorEnum)(nil), "google.ads.googleads.v1.errors.MediaFileErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/media_file_error.proto", fileDescriptor_8beb6ca4c6065079) -} - -var fileDescriptor_8beb6ca4c6065079 = []byte{ - // 674 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x53, 0xcd, 0x6e, 0xd3, 0x4c, - 0x14, 0xfd, 0x9a, 0x7e, 0xa4, 0x65, 0x5a, 0xda, 0xe9, 0xa4, 0x7f, 0xb4, 0xa5, 0x40, 0x10, 0x3f, - 0x45, 0xc5, 0x21, 0x42, 0x6c, 0xcc, 0x6a, 0xe2, 0xb9, 0x4e, 0x46, 0x38, 0x33, 0x96, 0x3d, 0x76, - 0x15, 0x14, 0x69, 0x14, 0x48, 0x88, 0x22, 0xa5, 0x71, 0x15, 0x97, 0xae, 0x79, 0x0b, 0xf6, 0x2c, - 0x79, 0x14, 0x1e, 0x85, 0x05, 0xcf, 0x80, 0xec, 0x49, 0x5c, 0xc2, 0xdf, 0x2a, 0x57, 0xf7, 0x9c, - 0x73, 0xcf, 0xb9, 0x13, 0x5f, 0xf4, 0x72, 0x98, 0x24, 0xc3, 0xf1, 0xa0, 0xd6, 0xeb, 0xa7, 0x35, - 0x53, 0x66, 0xd5, 0x55, 0xbd, 0x36, 0x98, 0x4e, 0x93, 0x69, 0x5a, 0x3b, 0x1f, 0xf4, 0x47, 0x3d, - 0xfd, 0x7e, 0x34, 0x1e, 0xe8, 0xbc, 0x63, 0x5d, 0x4c, 0x93, 0xcb, 0x84, 0x1c, 0x1b, 0xae, 0xd5, - 0xeb, 0xa7, 0x56, 0x21, 0xb3, 0xae, 0xea, 0x96, 0x91, 0x1d, 0x1c, 0xcd, 0xc7, 0x5e, 0x8c, 0x6a, - 0xbd, 0xc9, 0x24, 0xb9, 0xec, 0x5d, 0x8e, 0x92, 0x49, 0x6a, 0xd4, 0xd5, 0x4f, 0x65, 0x44, 0xda, - 0xd9, 0x60, 0x77, 0x34, 0x1e, 0x40, 0xa6, 0x80, 0xc9, 0x87, 0xf3, 0xea, 0xc7, 0x32, 0xda, 0x58, - 0x6c, 0x93, 0x4d, 0xb4, 0x16, 0x89, 0xd0, 0x07, 0x87, 0xbb, 0x1c, 0x18, 0xfe, 0x8f, 0xac, 0xa1, - 0x95, 0x48, 0xbc, 0x16, 0xf2, 0x4c, 0xe0, 0x25, 0x72, 0x17, 0x1d, 0x3a, 0x54, 0x08, 0xa9, 0xb4, - 0x13, 0x00, 0x55, 0xa0, 0x43, 0x45, 0x05, 0xa3, 0x01, 0xd3, 0xdc, 0x91, 0x02, 0x97, 0xc8, 0x73, - 0x74, 0x3a, 0x23, 0x84, 0xe0, 0x81, 0xa3, 0x16, 0x09, 0xfa, 0x8c, 0xab, 0x96, 0x96, 0xaa, 0x05, - 0x81, 0x56, 0x1d, 0x1f, 0x42, 0xbc, 0x4c, 0x4e, 0xd0, 0xc3, 0xb9, 0x22, 0x77, 0xed, 0xe8, 0x36, - 0x30, 0x4e, 0xb5, 0xcb, 0x3d, 0xd0, 0x9c, 0x69, 0x2a, 0x98, 0x66, 0x54, 0x51, 0xfc, 0x3f, 0xa9, - 0xa0, 0x4d, 0x16, 0xf9, 0x1e, 0x77, 0x32, 0xe7, 0x9c, 0x85, 0x6f, 0x64, 0x81, 0xa1, 0xed, 0xab, - 0x8e, 0x76, 0x39, 0x78, 0x0c, 0x97, 0xc9, 0x63, 0xf4, 0x20, 0x80, 0x50, 0x46, 0x81, 0x03, 0x3a, - 0x00, 0x17, 0x02, 0x10, 0x0e, 0x30, 0xcd, 0x85, 0x6e, 0x47, 0x9e, 0xe2, 0xbe, 0x07, 0x5a, 0xfa, - 0x21, 0x5e, 0x21, 0x4f, 0xd1, 0xa3, 0x5c, 0xa3, 0x73, 0xf3, 0xc8, 0xf7, 0x65, 0xa0, 0x80, 0x69, - 0x57, 0x06, 0xb3, 0x08, 0x61, 0xd4, 0xc8, 0x63, 0xe2, 0x55, 0x72, 0x1b, 0xed, 0x70, 0x11, 0x53, - 0x8f, 0xb3, 0xc5, 0x78, 0xf8, 0x26, 0x39, 0x40, 0xbb, 0x8b, 0x50, 0x21, 0x43, 0xe4, 0x10, 0xed, - 0xfd, 0x41, 0x96, 0x83, 0x6b, 0x64, 0x07, 0x6d, 0x15, 0x20, 0x6f, 0xcf, 0xda, 0xeb, 0x64, 0x1f, - 0x6d, 0xcf, 0xdb, 0x45, 0xfc, 0xcc, 0xe9, 0x16, 0xd9, 0x43, 0x95, 0x39, 0xd2, 0x91, 0x91, 0x56, - 0x51, 0x23, 0x07, 0x36, 0xc8, 0x7d, 0x74, 0xe7, 0xa7, 0xf1, 0x2e, 0xe5, 0x1e, 0x30, 0xad, 0x02, - 0x2a, 0x42, 0x47, 0x32, 0x2e, 0x9a, 0x78, 0x33, 0x9b, 0x6a, 0x28, 0xd9, 0xb2, 0x73, 0x08, 0x18, - 0xc6, 0xe4, 0x19, 0x3a, 0x31, 0x48, 0xe6, 0xaf, 0x99, 0x84, 0x30, 0xe7, 0xb4, 0xa9, 0x72, 0x5a, - 0xbf, 0xa5, 0xde, 0xca, 0x42, 0x08, 0x69, 0x1e, 0x3b, 0xd4, 0xd7, 0x1f, 0x0a, 0x21, 0x55, 0x74, - 0x2c, 0x22, 0xcf, 0x5b, 0x08, 0x9d, 0xff, 0x7b, 0x66, 0x06, 0x67, 0xb8, 0x42, 0xd6, 0xd1, 0xaa, - 0x92, 0x52, 0x7b, 0x52, 0x34, 0xf1, 0x36, 0xd9, 0x46, 0x38, 0x12, 0xd7, 0x0f, 0x9f, 0x1b, 0xec, - 0x90, 0x7b, 0xe8, 0xa8, 0xd8, 0x2e, 0x84, 0x20, 0xe6, 0x0e, 0xe8, 0x48, 0xd0, 0x98, 0x72, 0x8f, - 0x36, 0x3c, 0xc0, 0xbb, 0xe4, 0x14, 0x3d, 0x29, 0x18, 0x31, 0x67, 0x20, 0x75, 0x8b, 0x66, 0xa1, - 0x85, 0xf6, 0x65, 0xc8, 0x15, 0x8f, 0x41, 0xb3, 0x28, 0xa0, 0x8a, 0x4b, 0x81, 0xf7, 0xc8, 0x11, - 0xda, 0xff, 0x85, 0x9d, 0xad, 0xe7, 0xca, 0x48, 0x30, 0xbc, 0xdf, 0xf8, 0xbe, 0x84, 0xaa, 0xef, - 0x92, 0x73, 0xeb, 0xdf, 0xe7, 0xd5, 0xa8, 0x2c, 0x9e, 0x89, 0x9f, 0x5d, 0x95, 0xbf, 0xf4, 0x86, - 0xcd, 0x64, 0xc3, 0x64, 0xdc, 0x9b, 0x0c, 0xad, 0x64, 0x3a, 0xac, 0x0d, 0x07, 0x93, 0xfc, 0xe6, - 0xe6, 0xc7, 0x7d, 0x31, 0x4a, 0xff, 0x76, 0xeb, 0xaf, 0xcc, 0xcf, 0xe7, 0xd2, 0x72, 0x93, 0xd2, - 0x2f, 0xa5, 0xe3, 0xa6, 0x19, 0x46, 0xfb, 0xa9, 0x65, 0xca, 0xac, 0x8a, 0xeb, 0x56, 0x6e, 0x99, - 0x7e, 0x9d, 0x13, 0xba, 0xb4, 0x9f, 0x76, 0x0b, 0x42, 0x37, 0xae, 0x77, 0x0d, 0xe1, 0x5b, 0xa9, - 0x6a, 0xba, 0xb6, 0x4d, 0xfb, 0xa9, 0x6d, 0x17, 0x14, 0xdb, 0x8e, 0xeb, 0xb6, 0x6d, 0x48, 0x6f, - 0xcb, 0x79, 0xba, 0x17, 0x3f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x8c, 0xd7, 0xc6, 0xf8, 0x88, 0x04, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/media_upload_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/media_upload_error.pb.go deleted file mode 100644 index 560a3f3f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/media_upload_error.pb.go +++ /dev/null @@ -1,135 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/media_upload_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible media uploading errors. -type MediaUploadErrorEnum_MediaUploadError int32 - -const ( - // Enum unspecified. - MediaUploadErrorEnum_UNSPECIFIED MediaUploadErrorEnum_MediaUploadError = 0 - // The received error code is not known in this version. - MediaUploadErrorEnum_UNKNOWN MediaUploadErrorEnum_MediaUploadError = 1 - // The uploaded file is too big. - MediaUploadErrorEnum_FILE_TOO_BIG MediaUploadErrorEnum_MediaUploadError = 2 - // Image data is unparseable. - MediaUploadErrorEnum_UNPARSEABLE_IMAGE MediaUploadErrorEnum_MediaUploadError = 3 - // Animated images are not allowed. - MediaUploadErrorEnum_ANIMATED_IMAGE_NOT_ALLOWED MediaUploadErrorEnum_MediaUploadError = 4 - // The image or media bundle format is not allowed. - MediaUploadErrorEnum_FORMAT_NOT_ALLOWED MediaUploadErrorEnum_MediaUploadError = 5 -) - -var MediaUploadErrorEnum_MediaUploadError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "FILE_TOO_BIG", - 3: "UNPARSEABLE_IMAGE", - 4: "ANIMATED_IMAGE_NOT_ALLOWED", - 5: "FORMAT_NOT_ALLOWED", -} - -var MediaUploadErrorEnum_MediaUploadError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "FILE_TOO_BIG": 2, - "UNPARSEABLE_IMAGE": 3, - "ANIMATED_IMAGE_NOT_ALLOWED": 4, - "FORMAT_NOT_ALLOWED": 5, -} - -func (x MediaUploadErrorEnum_MediaUploadError) String() string { - return proto.EnumName(MediaUploadErrorEnum_MediaUploadError_name, int32(x)) -} - -func (MediaUploadErrorEnum_MediaUploadError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b8a75598d47dda1f, []int{0, 0} -} - -// Container for enum describing possible media uploading errors. -type MediaUploadErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MediaUploadErrorEnum) Reset() { *m = MediaUploadErrorEnum{} } -func (m *MediaUploadErrorEnum) String() string { return proto.CompactTextString(m) } -func (*MediaUploadErrorEnum) ProtoMessage() {} -func (*MediaUploadErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_b8a75598d47dda1f, []int{0} -} - -func (m *MediaUploadErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MediaUploadErrorEnum.Unmarshal(m, b) -} -func (m *MediaUploadErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MediaUploadErrorEnum.Marshal(b, m, deterministic) -} -func (m *MediaUploadErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_MediaUploadErrorEnum.Merge(m, src) -} -func (m *MediaUploadErrorEnum) XXX_Size() int { - return xxx_messageInfo_MediaUploadErrorEnum.Size(m) -} -func (m *MediaUploadErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_MediaUploadErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_MediaUploadErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.errors.MediaUploadErrorEnum_MediaUploadError", MediaUploadErrorEnum_MediaUploadError_name, MediaUploadErrorEnum_MediaUploadError_value) - proto.RegisterType((*MediaUploadErrorEnum)(nil), "google.ads.googleads.v1.errors.MediaUploadErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/media_upload_error.proto", fileDescriptor_b8a75598d47dda1f) -} - -var fileDescriptor_b8a75598d47dda1f = []byte{ - // 357 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xcf, 0x6a, 0xab, 0x40, - 0x18, 0xc5, 0xaf, 0xe6, 0xfe, 0x81, 0xc9, 0x85, 0xda, 0xa1, 0xe9, 0x22, 0x94, 0x2c, 0x7c, 0x80, - 0x11, 0xe9, 0xa2, 0x30, 0x5d, 0x8d, 0x75, 0x22, 0x52, 0xff, 0x91, 0x68, 0x02, 0x45, 0x10, 0xdb, - 0x11, 0x11, 0x12, 0x47, 0x9c, 0x24, 0xef, 0xd1, 0x57, 0xe8, 0x32, 0x8f, 0xd2, 0x47, 0xe9, 0xaa, - 0x8f, 0x50, 0x74, 0x9a, 0x40, 0x03, 0xed, 0xca, 0xc3, 0xf1, 0x77, 0x8e, 0xdf, 0xf7, 0x09, 0x6e, - 0x4a, 0xce, 0xcb, 0x55, 0x61, 0xe4, 0x4c, 0x18, 0x52, 0x76, 0x6a, 0x67, 0x1a, 0x45, 0xdb, 0xf2, - 0x56, 0x18, 0xeb, 0x82, 0x55, 0x79, 0xb6, 0x6d, 0x56, 0x3c, 0x67, 0x59, 0xef, 0xa1, 0xa6, 0xe5, - 0x1b, 0x0e, 0x27, 0x92, 0x46, 0x39, 0x13, 0xe8, 0x18, 0x44, 0x3b, 0x13, 0xc9, 0xe0, 0xf8, 0xea, - 0x50, 0xdc, 0x54, 0x46, 0x5e, 0xd7, 0x7c, 0x93, 0x6f, 0x2a, 0x5e, 0x0b, 0x99, 0xd6, 0xf7, 0x0a, - 0x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 0x31, 0x61, 0x02, 0xe3, 0x23, 0x82, 0xf1, 0xc2, 0xc4, - 0x58, 0x42, 0x8f, 0x7f, 0xfb, 0xe9, 0xae, 0x3f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x14, 0x70, 0xd8, - 0xc2, 0x1f, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/multiplier_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/multiplier_error.pb.go deleted file mode 100644 index 2688f2c5..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/multiplier_error.pb.go +++ /dev/null @@ -1,178 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/multiplier_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_b59c1387d137e1f4, []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_b59c1387d137e1f4, []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 (m *MultiplierErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_MultiplierErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.MultiplierErrorEnum_MultiplierError", MultiplierErrorEnum_MultiplierError_name, MultiplierErrorEnum_MultiplierError_value) - proto.RegisterType((*MultiplierErrorEnum)(nil), "google.ads.googleads.v1.errors.MultiplierErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/multiplier_error.proto", fileDescriptor_b59c1387d137e1f4) -} - -var fileDescriptor_b59c1387d137e1f4 = []byte{ - // 523 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0xd1, 0x6e, 0xd3, 0x3c, - 0x14, 0xc7, 0xbf, 0x76, 0xfd, 0x36, 0x70, 0x41, 0xb3, 0x3c, 0xc4, 0xa4, 0x81, 0x7a, 0xd1, 0x5b, - 0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xab, 0x7d, 0xc6, - 0x58, 0xf9, 0x21, 0x7c, 0xec, 0xfd, 0x6c, 0x80, 0xee, 0xa7, 0x7c, 0x65, 0xfd, 0xdb, 0x96, 0xde, - 0x93, 0x9a, 0xbb, 0xfa, 0x95, 0x1d, 0xfb, 0x8d, 0x0f, 0xe4, 0x37, 0x97, 0xe6, 0xcb, 0x69, 0x96, - 0x5a, 0x79, 0x91, 0xda, 0xe9, 0x3c, 0xdb, 0x9a, 0x75, 0xf7, 0x2a, 0xd6, 0x8b, 0xf2, 0xae, 0x47, - 0xf2, 0xce, 0x7c, 0x3e, 0x37, 0x8f, 0x02, 0x8c, 0xbf, 0x34, 0x3b, 0x81, 0x29, 0x86, 0x67, 0xa5, - 0x65, 0xc2, 0x2a, 0x1a, 0x3a, 0xd6, 0xb6, 0x65, 0xf9, 0x6d, 0x27, 0x98, 0xe0, 0x59, 0x39, 0xd9, - 0x0b, 0x26, 0x43, 0x67, 0x62, 0x04, 0x3f, 0x9a, 0x5d, 0x93, 0x75, 0x5d, 0x3c, 0x2b, 0x5d, 0x77, - 0x2f, 0x71, 0xdd, 0xa1, 0xe3, 0xba, 0x46, 0xf4, 0xf1, 0x78, 0x7b, 0xbb, 0xcb, 0x5f, 0x01, 0x00, - 0x00, 0xff, 0xff, 0x28, 0xe2, 0xc6, 0x65, 0xc1, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/mutate_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/mutate_error.pb.go deleted file mode 100644 index 42ac04e6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/mutate_error.pb.go +++ /dev/null @@ -1,146 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/mutate_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // The resource isn't in Google Ads. It belongs to another ads system. - MutateErrorEnum_RESOURCE_NOT_IN_GOOGLE_ADS MutateErrorEnum_MutateError = 10 - // The resource being created already exists. - MutateErrorEnum_RESOURCE_ALREADY_EXISTS MutateErrorEnum_MutateError = 11 -) - -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", - 10: "RESOURCE_NOT_IN_GOOGLE_ADS", - 11: "RESOURCE_ALREADY_EXISTS", -} - -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, - "RESOURCE_NOT_IN_GOOGLE_ADS": 10, - "RESOURCE_ALREADY_EXISTS": 11, -} - -func (x MutateErrorEnum_MutateError) String() string { - return proto.EnumName(MutateErrorEnum_MutateError_name, int32(x)) -} - -func (MutateErrorEnum_MutateError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_69e9950c75c98711, []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_69e9950c75c98711, []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 (m *MutateErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.MutateErrorEnum_MutateError", MutateErrorEnum_MutateError_name, MutateErrorEnum_MutateError_value) - proto.RegisterType((*MutateErrorEnum)(nil), "google.ads.googleads.v1.errors.MutateErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/mutate_error.proto", fileDescriptor_69e9950c75c98711) -} - -var fileDescriptor_69e9950c75c98711 = []byte{ - // 399 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x41, 0x8e, 0xd3, 0x30, - 0x18, 0x85, 0x49, 0x47, 0x62, 0xc0, 0x5d, 0x8c, 0xe5, 0x05, 0x88, 0x81, 0xa9, 0x44, 0x0f, 0xe0, - 0x28, 0x62, 0x67, 0x56, 0x9e, 0xda, 0xad, 0x2c, 0x5c, 0xbb, 0xaa, 0x93, 0x0e, 0xa0, 0x4a, 0x56, - 0x20, 0x51, 0x54, 0x69, 0x1a, 0x57, 0x71, 0x66, 0x0e, 0xc4, 0x92, 0xa3, 0x70, 0x04, 0x8e, 0x00, - 0x12, 0x67, 0x40, 0x89, 0xa7, 0x51, 0x59, 0x30, 0xab, 0xbc, 0xd8, 0xdf, 0x7b, 0xfe, 0xf5, 0x7e, - 0x90, 0x54, 0xce, 0x55, 0xb7, 0x65, 0x9c, 0x17, 0x3e, 0x0e, 0xb2, 0x53, 0xf7, 0x49, 0x5c, 0x36, - 0x8d, 0x6b, 0x7c, 0xbc, 0xbf, 0x6b, 0xf3, 0xb6, 0xb4, 0xfd, 0x1f, 0x3e, 0x34, 0xae, 0x75, 0x68, - 0x12, 0x38, 0x9c, 0x17, 0x1e, 0x0f, 0x16, 0x7c, 0x9f, 0xe0, 0x60, 0xb9, 0x7c, 0x73, 0x8c, 0x3c, - 0xec, 0xe2, 0xbc, 0xae, 0x5d, 0x9b, 0xb7, 0x3b, 0x57, 0xfb, 0xe0, 0x9e, 0xfe, 0x89, 0xc0, 0xc5, - 0xb2, 0x0f, 0xe5, 0x1d, 0xce, 0xeb, 0xbb, 0xfd, 0xf4, 0x67, 0x04, 0xc6, 0x27, 0x67, 0xe8, 0x02, - 0x8c, 0x33, 0x65, 0x56, 0x7c, 0x26, 0xe6, 0x82, 0x33, 0xf8, 0x04, 0x8d, 0xc1, 0x79, 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0b, 0xbf, 0x1d, 0x80, 0xed, 0x26, 0xd9, 0x06, 0xe0, 0xd7, 0x68, 0x1a, 0x4e, - 0x09, 0xa1, 0x85, 0x27, 0x64, 0x40, 0x08, 0xd9, 0x24, 0x84, 0x04, 0xe8, 0xcb, 0xd3, 0x7e, 0xba, - 0x77, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xde, 0x4c, 0xb9, 0x2c, 0x58, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/mutate_job_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/mutate_job_error.pb.go deleted file mode 100644 index dfb4953d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/mutate_job_error.pb.go +++ /dev/null @@ -1,142 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/mutate_job_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible request errors. -type MutateJobErrorEnum_MutateJobError int32 - -const ( - // Enum unspecified. - MutateJobErrorEnum_UNSPECIFIED MutateJobErrorEnum_MutateJobError = 0 - // The received error code is not known in this version. - MutateJobErrorEnum_UNKNOWN MutateJobErrorEnum_MutateJobError = 1 - // The mutate job cannot add more operations or run after it has started - // running. - MutateJobErrorEnum_CANNOT_MODIFY_JOB_AFTER_JOB_STARTS_RUNNING MutateJobErrorEnum_MutateJobError = 2 - // The operations for an AddMutateJobOperations request were empty. - MutateJobErrorEnum_EMPTY_OPERATIONS MutateJobErrorEnum_MutateJobError = 3 - // The sequence token for an AddMutateJobOperations request was invalid. - MutateJobErrorEnum_INVALID_SEQUENCE_TOKEN MutateJobErrorEnum_MutateJobError = 4 - // Mutate Job Results can only be retrieved once the job is finished. - MutateJobErrorEnum_RESULTS_NOT_READY MutateJobErrorEnum_MutateJobError = 5 - // The page size for ListMutateJobResults was invalid. - MutateJobErrorEnum_INVALID_PAGE_SIZE MutateJobErrorEnum_MutateJobError = 6 -) - -var MutateJobErrorEnum_MutateJobError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "CANNOT_MODIFY_JOB_AFTER_JOB_STARTS_RUNNING", - 3: "EMPTY_OPERATIONS", - 4: "INVALID_SEQUENCE_TOKEN", - 5: "RESULTS_NOT_READY", - 6: "INVALID_PAGE_SIZE", -} - -var MutateJobErrorEnum_MutateJobError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "CANNOT_MODIFY_JOB_AFTER_JOB_STARTS_RUNNING": 2, - "EMPTY_OPERATIONS": 3, - "INVALID_SEQUENCE_TOKEN": 4, - "RESULTS_NOT_READY": 5, - "INVALID_PAGE_SIZE": 6, -} - -func (x MutateJobErrorEnum_MutateJobError) String() string { - return proto.EnumName(MutateJobErrorEnum_MutateJobError_name, int32(x)) -} - -func (MutateJobErrorEnum_MutateJobError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8e4c017f15cf8aca, []int{0, 0} -} - -// Container for enum describing possible mutate job errors. -type MutateJobErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateJobErrorEnum) Reset() { *m = MutateJobErrorEnum{} } -func (m *MutateJobErrorEnum) String() string { return proto.CompactTextString(m) } -func (*MutateJobErrorEnum) ProtoMessage() {} -func (*MutateJobErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_8e4c017f15cf8aca, []int{0} -} - -func (m *MutateJobErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateJobErrorEnum.Unmarshal(m, b) -} -func (m *MutateJobErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateJobErrorEnum.Marshal(b, m, deterministic) -} -func (m *MutateJobErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateJobErrorEnum.Merge(m, src) -} -func (m *MutateJobErrorEnum) XXX_Size() int { - return xxx_messageInfo_MutateJobErrorEnum.Size(m) -} -func (m *MutateJobErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_MutateJobErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateJobErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.errors.MutateJobErrorEnum_MutateJobError", MutateJobErrorEnum_MutateJobError_name, MutateJobErrorEnum_MutateJobError_value) - proto.RegisterType((*MutateJobErrorEnum)(nil), "google.ads.googleads.v1.errors.MutateJobErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/mutate_job_error.proto", fileDescriptor_8e4c017f15cf8aca) -} - -var fileDescriptor_8e4c017f15cf8aca = []byte{ - // 399 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x4f, 0x8e, 0xd3, 0x30, - 0x18, 0xc5, 0x49, 0x07, 0x06, 0xc9, 0x23, 0x81, 0x31, 0x7f, 0x16, 0x23, 0x34, 0x8b, 0x2e, 0x59, - 0x38, 0x8a, 0x10, 0x1b, 0xb3, 0x72, 0x1b, 0xb7, 0xf2, 0xcc, 0xd4, 0x09, 0xb1, 0x13, 0xd4, 0x51, - 0x24, 0x2b, 0x25, 0x51, 0x54, 0x34, 0x8d, 0xab, 0x38, 0x33, 0x07, 0x62, 0xc9, 0x21, 0x38, 0x00, - 0x7b, 0x2e, 0xc1, 0x82, 0x33, 0xa0, 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a5, 0x4c, 0xcc, 0x99, 0x56, 0xd1, 0x15, - 0x13, 0xf0, 0x31, 0x7a, 0x0d, 0x5e, 0x24, 0x4c, 0xa6, 0xd7, 0x4a, 0xea, 0x7e, 0x4d, 0xc2, 0x68, - 0xb8, 0x86, 0x4f, 0x7a, 0x7b, 0x44, 0x62, 0xba, 0x64, 0x5a, 0xf2, 0x1b, 0x06, 0x4f, 0x67, 0x7f, - 0x3c, 0x30, 0xfd, 0x62, 0x76, 0xf8, 0xe1, 0x72, 0x66, 0x2f, 0x8f, 0x1f, 0x19, 0xf7, 0x9d, 0xc4, - 0xde, 0x4d, 0xf8, 0x0f, 0xab, 0xcd, 0x6d, 0xd1, 0xd4, 0xd8, 0xb4, 0xb5, 0x5f, 0x57, 0xcd, 0xd0, - 0xd8, 0x78, 0x9a, 0xfd, 0xd6, 0xfe, 0xef, 0x52, 0x1f, 0xdd, 0xe7, 0xdb, 0xe4, 0x64, 0x49, 0xe9, - 0xf7, 0xc9, 0xc5, 0xd2, 0x0d, 0xa3, 0xa5, 0xc5, 0x4e, 0xf6, 0x2a, 0x0b, 0xf0, 0xb0, 0xd2, 0xfe, - 0x1c, 0x03, 0x39, 0x2d, 0x6d, 0x7e, 0x08, 0xe4, 0x59, 0x90, 0xbb, 0xc0, 0xef, 0xc9, 0xd4, 0xb9, - 0x84, 0xd0, 0xd2, 0x12, 0x72, 0x88, 0x10, 0x92, 0x05, 0x84, 0xb8, 0xd0, 0xe6, 0x74, 0xf8, 0xbb, - 0xf7, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x79, 0x1b, 0x6a, 0x2b, 0x46, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/new_resource_creation_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/new_resource_creation_error.pb.go deleted file mode 100644 index 3593389f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/new_resource_creation_error.pb.go +++ /dev/null @@ -1,132 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/new_resource_creation_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_d40957e6c0c933f5, []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_d40957e6c0c933f5, []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 (m *NewResourceCreationErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_NewResourceCreationErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.NewResourceCreationErrorEnum_NewResourceCreationError", NewResourceCreationErrorEnum_NewResourceCreationError_name, NewResourceCreationErrorEnum_NewResourceCreationError_value) - proto.RegisterType((*NewResourceCreationErrorEnum)(nil), "google.ads.googleads.v1.errors.NewResourceCreationErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/new_resource_creation_error.proto", fileDescriptor_d40957e6c0c933f5) -} - -var fileDescriptor_d40957e6c0c933f5 = []byte{ - // 367 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x4f, 0x6e, 0xa3, 0x30, - 0x14, 0xc6, 0x07, 0x32, 0x9a, 0x91, 0x9c, 0xc5, 0x20, 0x16, 0xa3, 0x68, 0x26, 0x93, 0x91, 0x38, - 0x80, 0x11, 0x9a, 0x9d, 0x67, 0x33, 0x0e, 0x38, 0x19, 0xd4, 0x16, 0x90, 0x81, 0x54, 0xaa, 0x90, - 0x2c, 0x1a, 0x2c, 0x14, 0x29, 0xc1, 0x91, 0x9d, 0x3f, 0xc7, 0xe8, 0x1d, 0xba, 0xec, 0xaa, 0xe7, - 0xe8, 0x51, 0x7a, 0x82, 0x2e, 0x2b, 0x30, 0xc9, 0x2e, 0x5d, 0xf1, 0x61, 0xff, 0xde, 0xf7, 0xbd, - 0xe7, 0x07, 0xfe, 0xd5, 0x42, 0xd4, 0x6b, 0xee, 0x96, 0x95, 0x72, 0xb5, 0x6c, 0xd5, 0xc1, 0x73, - 0xb9, 0x94, 0x42, 0x2a, 0xb7, 0xe1, 0x47, 0x26, 0xb9, 0x12, 0x7b, 0xb9, 0xe4, 0x6c, 0x29, 0x79, - 0xb9, 0x5b, 0x89, 0x86, 0x75, 0x97, 0x70, 0x2b, 0xc5, 0x4e, 0xd8, 0x13, 0x5d, 0x06, 0xcb, 0x4a, - 0xc1, 0xb3, 0x03, 0x3c, 0x78, 0x50, 0x3b, 0xfc, 0x18, 0x9f, 0x12, 0xb6, 0x2b, 0xb7, 0x6c, 0x1a, - 0xb1, 0xeb, 0x2c, 0x94, 0xae, 0x76, 0x9e, 0x0d, 0x30, 0x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x3e, - 0x45, 0x08, 0x57, 0x0a, 0xa1, 0x33, 0x82, 0xd0, 0xc2, 0x43, 0x48, 0x43, 0xf7, 0x5f, 0xba, 0xee, - 0xfe, 0xbc, 0x07, 0x00, 0x00, 0xff, 0xff, 0x8a, 0x68, 0x8c, 0x1b, 0x36, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/not_empty_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/not_empty_error.pb.go deleted file mode 100644 index c32ad224..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/not_empty_error.pb.go +++ /dev/null @@ -1,119 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/not_empty_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_59d94572b89cc406, []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_59d94572b89cc406, []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 (m *NotEmptyErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_NotEmptyErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.NotEmptyErrorEnum_NotEmptyError", NotEmptyErrorEnum_NotEmptyError_name, NotEmptyErrorEnum_NotEmptyError_value) - proto.RegisterType((*NotEmptyErrorEnum)(nil), "google.ads.googleads.v1.errors.NotEmptyErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/not_empty_error.proto", fileDescriptor_59d94572b89cc406) -} - -var fileDescriptor_59d94572b89cc406 = []byte{ - // 293 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xc3, 0x30, - 0x18, 0x85, 0x6d, 0x05, 0x85, 0x0c, 0xb5, 0xf6, 0x52, 0x64, 0x17, 0x7d, 0x80, 0x84, 0xa2, 0x57, - 0x11, 0x2f, 0x3a, 0x17, 0x47, 0x51, 0x6b, 0x71, 0x5b, 0x45, 0x29, 0x94, 0x6a, 0x4b, 0x28, 0xac, - 0xf9, 0x4b, 0x13, 0x07, 0xbe, 0x8e, 0x97, 0x3e, 0x8a, 0x8f, 0x22, 0xf8, 0x0e, 0x92, 0xc6, 0x16, - 0x76, 0xe1, 0xae, 0x72, 0x38, 0x7c, 0xe7, 0xe4, 0xf0, 0xa3, 0x73, 0x0e, 0xc0, 0x57, 0x25, 0xc9, - 0x0b, 0x49, 0x8c, 0xd4, 0x6a, 0xed, 0x93, 0xb2, 0x6d, 0xa1, 0x95, 0x44, 0x80, 0xca, 0xca, 0xba, - 0x51, 0xef, 0x59, 0x67, 0xe0, 0xa6, 0x05, 0x05, 0xee, 0xd8, 0xa0, 0x38, 0x2f, 0x24, 0x1e, 0x52, - 0x78, 0xed, 0x63, 0x93, 0x3a, 0x39, 0xed, 0x5b, 0x9b, 0x8a, 0xe4, 0x42, 0x80, 0xca, 0x55, 0x05, - 0x42, 0x9a, 0xb4, 0xf7, 0x80, 0x8e, 0x23, 0x50, 0x4c, 0xb7, 0x32, 0xcd, 0x33, 0xf1, 0x56, 0x7b, - 0x97, 0xe8, 0x60, 0xc3, 0x74, 0x8f, 0xd0, 0x68, 0x19, 0xcd, 0x63, 0x76, 0x15, 0x5e, 0x87, 0x6c, - 0xea, 0xec, 0xb8, 0x23, 0xb4, 0xbf, 0x8c, 0x6e, 0xa2, 0xfb, 0xc7, 0xc8, 0xb1, 0xdc, 0x43, 0x84, - 0xd8, 0x5d, 0xbc, 0x78, 0xca, 0x6e, 0xc3, 0xf9, 0xc2, 0xb1, 0x27, 0x3f, 0x16, 0xf2, 0x5e, 0xa1, - 0xc6, 0xdb, 0x87, 0x4d, 0xdc, 0x8d, 0x3f, 0x62, 0x3d, 0x27, 0xb6, 0x9e, 0xa7, 0x7f, 0x29, 0x0e, - 0xab, 0x5c, 0x70, 0x0c, 0x2d, 0x27, 0xbc, 0x14, 0xdd, 0xd8, 0xfe, 0x28, 0x4d, 0x25, 0xff, 0xbb, - 0xd1, 0x85, 0x79, 0x3e, 0xec, 0xdd, 0x59, 0x10, 0x7c, 0xda, 0xe3, 0x99, 0x29, 0x0b, 0x0a, 0x89, - 0x8d, 0xd4, 0x2a, 0xf1, 0x71, 0xf7, 0xa5, 0xfc, 0xea, 0x81, 0x34, 0x28, 0x64, 0x3a, 0x00, 0x69, - 0xe2, 0xa7, 0x06, 0xf8, 0xb6, 0x3d, 0xe3, 0x52, 0x1a, 0x14, 0x92, 0xd2, 0x01, 0xa1, 0x34, 0xf1, - 0x29, 0x35, 0xd0, 0xcb, 0x5e, 0xb7, 0xee, 0xec, 0x37, 0x00, 0x00, 0xff, 0xff, 0xbb, 0x55, 0x9c, - 0x20, 0xc0, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/not_whitelisted_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/not_whitelisted_error.pb.go deleted file mode 100644 index 4705f890..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/not_whitelisted_error.pb.go +++ /dev/null @@ -1,121 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/not_whitelisted_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible not whitelisted errors. -type NotWhitelistedErrorEnum_NotWhitelistedError int32 - -const ( - // Enum unspecified. - NotWhitelistedErrorEnum_UNSPECIFIED NotWhitelistedErrorEnum_NotWhitelistedError = 0 - // The received error code is not known in this version. - NotWhitelistedErrorEnum_UNKNOWN NotWhitelistedErrorEnum_NotWhitelistedError = 1 - // Customer is not whitelisted for accessing this feature. - NotWhitelistedErrorEnum_CUSTOMER_NOT_WHITELISTED_FOR_THIS_FEATURE NotWhitelistedErrorEnum_NotWhitelistedError = 2 -) - -var NotWhitelistedErrorEnum_NotWhitelistedError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "CUSTOMER_NOT_WHITELISTED_FOR_THIS_FEATURE", -} - -var NotWhitelistedErrorEnum_NotWhitelistedError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "CUSTOMER_NOT_WHITELISTED_FOR_THIS_FEATURE": 2, -} - -func (x NotWhitelistedErrorEnum_NotWhitelistedError) String() string { - return proto.EnumName(NotWhitelistedErrorEnum_NotWhitelistedError_name, int32(x)) -} - -func (NotWhitelistedErrorEnum_NotWhitelistedError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ab1b61d03e1a79b2, []int{0, 0} -} - -// Container for enum describing possible not whitelisted errors. -type NotWhitelistedErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *NotWhitelistedErrorEnum) Reset() { *m = NotWhitelistedErrorEnum{} } -func (m *NotWhitelistedErrorEnum) String() string { return proto.CompactTextString(m) } -func (*NotWhitelistedErrorEnum) ProtoMessage() {} -func (*NotWhitelistedErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_ab1b61d03e1a79b2, []int{0} -} - -func (m *NotWhitelistedErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NotWhitelistedErrorEnum.Unmarshal(m, b) -} -func (m *NotWhitelistedErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NotWhitelistedErrorEnum.Marshal(b, m, deterministic) -} -func (m *NotWhitelistedErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_NotWhitelistedErrorEnum.Merge(m, src) -} -func (m *NotWhitelistedErrorEnum) XXX_Size() int { - return xxx_messageInfo_NotWhitelistedErrorEnum.Size(m) -} -func (m *NotWhitelistedErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_NotWhitelistedErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_NotWhitelistedErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.errors.NotWhitelistedErrorEnum_NotWhitelistedError", NotWhitelistedErrorEnum_NotWhitelistedError_name, NotWhitelistedErrorEnum_NotWhitelistedError_value) - proto.RegisterType((*NotWhitelistedErrorEnum)(nil), "google.ads.googleads.v1.errors.NotWhitelistedErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/not_whitelisted_error.proto", fileDescriptor_ab1b61d03e1a79b2) -} - -var fileDescriptor_ab1b61d03e1a79b2 = []byte{ - // 330 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xf3, 0x40, - 0x14, 0x85, 0xff, 0xe6, 0x07, 0x85, 0xe9, 0xc2, 0x12, 0x17, 0x8a, 0x48, 0x17, 0xd9, 0xb9, 0x70, - 0x42, 0x70, 0x37, 0xae, 0xd2, 0x76, 0xda, 0x06, 0x35, 0x29, 0x4d, 0xd2, 0x82, 0x04, 0x86, 0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0xd3, 0x3d, 0x45, 0x26, 0x75, 0xff, 0x49, 0xeb, 0x7e, 0xf0, - 0xcd, 0x0a, 0x58, 0xe6, 0x52, 0x60, 0xa8, 0x84, 0x2b, 0x0a, 0xd9, 0x6c, 0xb7, 0xbd, 0xe5, 0xba, - 0x54, 0xbf, 0x9d, 0xf6, 0xda, 0x7c, 0x5e, 0xad, 0xff, 0x23, 0xdf, 0x7f, 0xb3, 0xba, 0x23, 0x13, - 0xe6, 0x73, 0x85, 0x8d, 0xac, 0xd5, 0xcc, 0xc3, 0xcd, 0x93, 0xea, 0x7d, 0x6b, 0xc8, 0x7c, 0xae, - 0xb2, 0x9d, 0x21, 0x9b, 0x79, 0x99, 0x31, 0x7c, 0x58, 0x8e, 0x99, 0x12, 0xe2, 0x73, 0x45, 0xc8, - 0xce, 0x42, 0xc8, 0xcc, 0x23, 0xc4, 0x98, 0x16, 0x07, 0x4d, 0xbb, 0xab, 0xaf, 0x00, 0x00, 0x00, - 0xff, 0xff, 0x38, 0x0c, 0xfb, 0x94, 0xf7, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/null_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/null_error.pb.go deleted file mode 100644 index d0f7a018..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/null_error.pb.go +++ /dev/null @@ -1,118 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/null_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_1aea2f2f74eaad78, []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_1aea2f2f74eaad78, []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 (m *NullErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_NullErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.NullErrorEnum_NullError", NullErrorEnum_NullError_name, NullErrorEnum_NullError_value) - proto.RegisterType((*NullErrorEnum)(nil), "google.ads.googleads.v1.errors.NullErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/null_error.proto", fileDescriptor_1aea2f2f74eaad78) -} - -var fileDescriptor_1aea2f2f74eaad78 = []byte{ - // 285 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xdf, 0x6a, 0x83, 0x30, - 0x14, 0xc6, 0xa7, 0x83, 0x8d, 0xa5, 0xfb, 0x23, 0x5e, 0x8e, 0xd1, 0x0b, 0x1f, 0x20, 0x41, 0x76, - 0x97, 0x5e, 0xd9, 0xd6, 0x95, 0x32, 0x49, 0x85, 0x55, 0x07, 0x43, 0x28, 0x6e, 0x4a, 0x10, 0xd2, - 0x1c, 0x31, 0xda, 0x07, 0xda, 0xe5, 0x1e, 0x65, 0x6f, 0xb2, 0x3d, 0xc5, 0xd0, 0xd4, 0xdc, 0xad, - 0x57, 0xf9, 0x11, 0x7e, 0xdf, 0x39, 0x1f, 0x07, 0x11, 0x0e, 0xc0, 0x45, 0x49, 0xf2, 0x42, 0x1d, - 0xb1, 0xa7, 0x83, 0x4f, 0xca, 0xa6, 0x81, 0x46, 0x11, 0xd9, 0x09, 0xb1, 0x1b, 0x18, 0xd7, 0x0d, - 0xb4, 0xe0, 0x4e, 0xb5, 0x85, 0xf3, 0x42, 0x61, 0x13, 0xc0, 0x07, 0x1f, 0xeb, 0xc0, 0xfd, 0xc3, - 0x38, 0xb0, 0xae, 0x48, 0x2e, 0x25, 0xb4, 0x79, 0x5b, 0x81, 0x54, 0x3a, 0xed, 0x45, 0xe8, 0x86, - 0x75, 0x42, 0x84, 0xbd, 0x1b, 0xca, 0x6e, 0xef, 0xcd, 0xd0, 0x95, 0xf9, 0x70, 0xef, 0xd0, 0x24, - 0x61, 0x2f, 0x71, 0xb8, 0x58, 0x3f, 0xad, 0xc3, 0xa5, 0x73, 0xe6, 0x4e, 0xd0, 0x65, 0xc2, 0x9e, - 0xd9, 0xe6, 0x95, 0x39, 0x96, 0xeb, 0xa0, 0x6b, 0x96, 0x44, 0xd1, 0x6e, 0xb1, 0x61, 0xdb, 0x90, - 0x6d, 0x1d, 0x7b, 0xfe, 0x63, 0x21, 0xef, 0x03, 0xf6, 0xf8, 0x74, 0xa5, 0xf9, 0xad, 0xd9, 0x10, - 0xf7, 0x25, 0x62, 0xeb, 0x6d, 0x79, 0x4c, 0x70, 0x10, 0xb9, 0xe4, 0x18, 0x1a, 0x4e, 0x78, 0x29, - 0x87, 0x8a, 0xe3, 0x15, 0xea, 0x4a, 0xfd, 0x77, 0x94, 0x99, 0x7e, 0x3e, 0xed, 0xf3, 0x55, 0x10, - 0x7c, 0xd9, 0xd3, 0x95, 0x1e, 0x16, 0x14, 0x0a, 0x6b, 0xec, 0x29, 0xf5, 0xf1, 0xb0, 0x52, 0x7d, - 0x8f, 0x42, 0x16, 0x14, 0x2a, 0x33, 0x42, 0x96, 0xfa, 0x99, 0x16, 0x7e, 0x6d, 0x4f, 0xff, 0x52, - 0x1a, 0x14, 0x8a, 0x52, 0xa3, 0x50, 0x9a, 0xfa, 0x94, 0x6a, 0xe9, 0xfd, 0x62, 0x68, 0xf7, 0xf8, - 0x17, 0x00, 0x00, 0xff, 0xff, 0xf4, 0xcd, 0xb2, 0x8f, 0xb1, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/operation_access_denied_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/operation_access_denied_error.pb.go deleted file mode 100644 index 735468f1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/operation_access_denied_error.pb.go +++ /dev/null @@ -1,164 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/operation_access_denied_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_f047890255dc139d, []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_f047890255dc139d, []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 (m *OperationAccessDeniedErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperationAccessDeniedErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.OperationAccessDeniedErrorEnum_OperationAccessDeniedError", OperationAccessDeniedErrorEnum_OperationAccessDeniedError_name, OperationAccessDeniedErrorEnum_OperationAccessDeniedError_value) - proto.RegisterType((*OperationAccessDeniedErrorEnum)(nil), "google.ads.googleads.v1.errors.OperationAccessDeniedErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/operation_access_denied_error.proto", fileDescriptor_f047890255dc139d) -} - -var fileDescriptor_f047890255dc139d = []byte{ - // 448 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xc1, 0x8a, 0xd3, 0x40, - 0x1c, 0xc6, 0x6d, 0xab, 0xbb, 0x3a, 0x3d, 0x18, 0x06, 0x0f, 0xb2, 0x48, 0x17, 0x23, 0x0a, 0x8a, - 0x4e, 0x0c, 0xde, 0xe2, 0x69, 0x9a, 0xcc, 0x96, 0xa0, 0x99, 0x19, 0xa6, 0x93, 0x8a, 0x52, 0x18, - 0x62, 0x13, 0x42, 0x61, 0x37, 0x53, 0x32, 0xb5, 0x0f, 0xe4, 0xd1, 0x27, 0x11, 0x1f, 0x45, 0xdf, - 0xc0, 0x93, 0x24, 0xd3, 0xf4, 0x20, 0x4d, 0xf7, 0x94, 0x3f, 0xc9, 0xef, 0xff, 0x7d, 0xdf, 0x9f, - 0x7c, 0x60, 0x5a, 0x6a, 0x5d, 0x5e, 0x17, 0x5e, 0x96, 0x1b, 0xcf, 0x8e, 0xcd, 0xb4, 0xf3, 0xbd, - 0xa2, 0xae, 0x75, 0x6d, 0x3c, 0xbd, 0x29, 0xea, 0x6c, 0xbb, 0xd6, 0x95, 0xca, 0x56, 0xab, 0xc2, - 0x18, 0x95, 0x17, 0xd5, 0xba, 0xc8, 0x55, 0xfb, 0x19, 0x6d, 0x6a, 0xbd, 0xd5, 0x70, 0x62, 0x17, - 0x51, 0x96, 0x1b, 0x74, 0xd0, 0x40, 0x3b, 0x1f, 0x59, 0x8d, 0x8b, 0x27, 0x9d, 0xc7, 0x66, 0xed, - 0x65, 0x55, 0xa5, 0xb7, 0xad, 0xa0, 0xb1, 0xdb, 0xee, 0x9f, 0x11, 0x98, 0xb0, 0xce, 0x05, 0xb7, - 0x26, 0x51, 0xeb, 0x41, 0x9a, 0x6d, 0x52, 0x7d, 0xbb, 0x71, 0x7f, 0x8e, 0xc0, 0x45, 0x3f, 0x02, - 0x1f, 0x82, 0x71, 0x4a, 0xe7, 0x9c, 0x84, 0xf1, 0x55, 0x4c, 0x22, 0xe7, 0x0e, 0x1c, 0x83, 0xf3, - 0x94, 0x7e, 0xa0, 0xec, 0x13, 0x75, 0x06, 0xf0, 0x31, 0x78, 0x84, 0x43, 0x19, 0x33, 0xaa, 0x28, - 0x93, 0x8a, 0x13, 0x91, 0xc4, 0x52, 0x92, 0xc8, 0x19, 0x42, 0x17, 0x4c, 0x42, 0x41, 0xb0, 0x24, - 0x8a, 0x71, 0x22, 0xf0, 0x11, 0x66, 0xd4, 0x30, 0x82, 0x24, 0x6c, 0xd1, 0xcf, 0xdc, 0x6d, 0x98, - 0x94, 0x47, 0xa7, 0x74, 0xee, 0xc1, 0x57, 0xe0, 0x45, 0x92, 0xca, 0x86, 0x39, 0x16, 0x46, 0x5d, - 0x31, 0xa1, 0xc2, 0x8f, 0x31, 0xa1, 0xd2, 0x39, 0x83, 0x6f, 0xc0, 0xcb, 0x1e, 0x21, 0xcb, 0xe1, - 0x84, 0xe3, 0x78, 0x46, 0x95, 0xfc, 0xcc, 0x89, 0x73, 0x0e, 0x9f, 0x81, 0xcb, 0xfd, 0x19, 0x78, - 0xae, 0x6c, 0xd8, 0xe8, 0x3f, 0xff, 0xfb, 0xf0, 0x2d, 0x78, 0x7d, 0x4a, 0xb3, 0x5b, 0x13, 0x64, - 0xce, 0x52, 0x11, 0x12, 0xe7, 0xc1, 0x6d, 0x29, 0x70, 0xa4, 0x66, 0x82, 0xa5, 0xdc, 0xa6, 0x00, - 0xf0, 0x39, 0x78, 0xba, 0x3f, 0xf0, 0x48, 0xe2, 0x74, 0x2e, 0x59, 0x42, 0x84, 0x33, 0x9e, 0xfe, - 0x1d, 0x00, 0x77, 0xa5, 0x6f, 0xd0, 0xe9, 0xca, 0x4c, 0x2f, 0xfb, 0x7f, 0x37, 0x6f, 0x5a, 0xc3, - 0x07, 0x5f, 0xa2, 0xbd, 0x44, 0xa9, 0xaf, 0xb3, 0xaa, 0x44, 0xba, 0x2e, 0xbd, 0xb2, 0xa8, 0xda, - 0x4e, 0x75, 0x4d, 0xde, 0xac, 0x4d, 0x5f, 0xb1, 0xdf, 0xdb, 0xc7, 0xf7, 0xe1, 0x68, 0x86, 0xf1, - 0x8f, 0xe1, 0x64, 0x66, 0xc5, 0x70, 0x6e, 0x90, 0x1d, 0x9b, 0x69, 0xe1, 0xa3, 0xd6, 0xd2, 0xfc, - 0xea, 0x80, 0x25, 0xce, 0xcd, 0xf2, 0x00, 0x2c, 0x17, 0xfe, 0xd2, 0x02, 0xbf, 0x87, 0xae, 0x7d, - 0x1b, 0x04, 0x38, 0x37, 0x41, 0x70, 0x40, 0x82, 0x60, 0xe1, 0x07, 0x81, 0x85, 0xbe, 0x9e, 0xb5, - 0xe9, 0xde, 0xfd, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x05, 0x7d, 0xe7, 0xd4, 0x75, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/operator_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/operator_error.pb.go deleted file mode 100644 index 44e06c78..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/operator_error.pb.go +++ /dev/null @@ -1,119 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/operator_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_7e5ebe422ee766bc, []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_7e5ebe422ee766bc, []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 (m *OperatorErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperatorErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.OperatorErrorEnum_OperatorError", OperatorErrorEnum_OperatorError_name, OperatorErrorEnum_OperatorError_value) - proto.RegisterType((*OperatorErrorEnum)(nil), "google.ads.googleads.v1.errors.OperatorErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/operator_error.proto", fileDescriptor_7e5ebe422ee766bc) -} - -var fileDescriptor_7e5ebe422ee766bc = []byte{ - // 301 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xcf, 0x4a, 0x33, 0x31, - 0x14, 0xc5, 0xbf, 0xce, 0x07, 0x0a, 0x29, 0x62, 0x9d, 0x85, 0x8b, 0x22, 0x5d, 0xcc, 0x03, 0x24, - 0x0c, 0xdd, 0xc5, 0x55, 0x6a, 0x63, 0x29, 0xc2, 0x24, 0xf4, 0x9f, 0x20, 0x83, 0x25, 0x3a, 0x43, - 0x18, 0x68, 0x73, 0x87, 0x64, 0xec, 0x03, 0xb9, 0xf4, 0x51, 0x7c, 0x14, 0xc1, 0x77, 0x90, 0x99, - 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0xcb, 0x1c, 0xf6, 0xb2, 0x56, 0x9b, 0x18, 0x37, 0x2b, 0xdd, 0x67, - 0x0b, 0xa4, 0x2c, 0x73, 0x69, 0x07, 0xa4, 0x9b, 0x38, 0xf5, 0xc0, 0x57, 0x10, 0xf9, 0x29, 0xa5, - 0x2c, 0x73, 0x94, 0x76, 0x08, 0xa5, 0x9b, 0x98, 0x52, 0x0f, 0xbd, 0x9c, 0x35, 0xed, 0xc6, 0x3f, - 0x01, 0x00, 0x00, 0xff, 0xff, 0x09, 0x5e, 0xde, 0xc0, 0xcb, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/partial_failure_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/partial_failure_error.pb.go deleted file mode 100644 index 3bc5a74a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/partial_failure_error.pb.go +++ /dev/null @@ -1,121 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/partial_failure_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible partial failure errors. -type PartialFailureErrorEnum_PartialFailureError int32 - -const ( - // Enum unspecified. - PartialFailureErrorEnum_UNSPECIFIED PartialFailureErrorEnum_PartialFailureError = 0 - // The received error code is not known in this version. - PartialFailureErrorEnum_UNKNOWN PartialFailureErrorEnum_PartialFailureError = 1 - // The partial failure field was false in the request. - // This method requires this field be set to true. - PartialFailureErrorEnum_PARTIAL_FAILURE_MODE_REQUIRED PartialFailureErrorEnum_PartialFailureError = 2 -) - -var PartialFailureErrorEnum_PartialFailureError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "PARTIAL_FAILURE_MODE_REQUIRED", -} - -var PartialFailureErrorEnum_PartialFailureError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "PARTIAL_FAILURE_MODE_REQUIRED": 2, -} - -func (x PartialFailureErrorEnum_PartialFailureError) String() string { - return proto.EnumName(PartialFailureErrorEnum_PartialFailureError_name, int32(x)) -} - -func (PartialFailureErrorEnum_PartialFailureError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_32e9e87d16651f2f, []int{0, 0} -} - -// Container for enum describing possible partial failure errors. -type PartialFailureErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PartialFailureErrorEnum) Reset() { *m = PartialFailureErrorEnum{} } -func (m *PartialFailureErrorEnum) String() string { return proto.CompactTextString(m) } -func (*PartialFailureErrorEnum) ProtoMessage() {} -func (*PartialFailureErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_32e9e87d16651f2f, []int{0} -} - -func (m *PartialFailureErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PartialFailureErrorEnum.Unmarshal(m, b) -} -func (m *PartialFailureErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PartialFailureErrorEnum.Marshal(b, m, deterministic) -} -func (m *PartialFailureErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PartialFailureErrorEnum.Merge(m, src) -} -func (m *PartialFailureErrorEnum) XXX_Size() int { - return xxx_messageInfo_PartialFailureErrorEnum.Size(m) -} -func (m *PartialFailureErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_PartialFailureErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_PartialFailureErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.errors.PartialFailureErrorEnum_PartialFailureError", PartialFailureErrorEnum_PartialFailureError_name, PartialFailureErrorEnum_PartialFailureError_value) - proto.RegisterType((*PartialFailureErrorEnum)(nil), "google.ads.googleads.v1.errors.PartialFailureErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/partial_failure_error.proto", fileDescriptor_32e9e87d16651f2f) -} - -var fileDescriptor_32e9e87d16651f2f = []byte{ - // 316 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4e, 0xb3, 0x40, - 0x14, 0x85, 0xff, 0xf2, 0x27, 0x9a, 0x4c, 0x17, 0x36, 0xb8, 0xd0, 0x18, 0x6d, 0x22, 0x0f, 0x30, - 0x84, 0xb8, 0x1b, 0x57, 0x53, 0x99, 0x36, 0xc4, 0x4a, 0x11, 0x05, 0x13, 0x43, 0x42, 0x46, 0xc1, - 0x09, 0x09, 0x9d, 0xc1, 0x19, 0xda, 0x07, 0x72, 0xe9, 0xa3, 0xf8, 0x28, 0x6e, 0x7d, 0x01, 0x03, - 0xd7, 0x76, 0x55, 0x5d, 0x71, 0x72, 0x39, 0xdf, 0xb9, 0x67, 0x2e, 0x22, 0x42, 0x29, 0x51, 0x97, - 0x2e, 0x2f, 0x8c, 0x0b, 0xb2, 0x53, 0x6b, 0xcf, 0x2d, 0xb5, 0x56, 0xda, 0xb8, 0x0d, 0xd7, 0x6d, - 0xc5, 0xeb, 0xfc, 0x85, 0x57, 0xf5, 0x4a, 0x97, 0x79, 0x3f, 0xc6, 0x8d, 0x56, 0xad, 0xb2, 0xc7, - 0x00, 0x60, 0x5e, 0x18, 0xbc, 0x65, 0xf1, 0xda, 0xc3, 0xc0, 0x9e, 0x9c, 0x6e, 0xb2, 0x9b, 0xca, - 0xe5, 0x52, 0xaa, 0x96, 0xb7, 0x95, 0x92, 0x06, 0x68, 0xe7, 0x15, 0x1d, 0x45, 0x10, 0x3e, 0x85, - 0x6c, 0xd6, 0x51, 0x4c, 0xae, 0x96, 0x4e, 0x8a, 0x0e, 0x77, 0xfc, 0xb2, 0x0f, 0xd0, 0x30, 0x09, - 0xef, 0x22, 0x76, 0x15, 0x4c, 0x03, 0xe6, 0x8f, 0xfe, 0xd9, 0x43, 0xb4, 0x9f, 0x84, 0xd7, 0xe1, - 0xe2, 0x21, 0x1c, 0x0d, 0xec, 0x73, 0x74, 0x16, 0xd1, 0xf8, 0x3e, 0xa0, 0xf3, 0x7c, 0x4a, 0x83, - 0x79, 0x12, 0xb3, 0xfc, 0x66, 0xe1, 0xb3, 0x3c, 0x66, 0xb7, 0x49, 0x10, 0x33, 0x7f, 0x64, 0x4d, - 0xbe, 0x06, 0xc8, 0x79, 0x56, 0x4b, 0xfc, 0x77, 0xef, 0xc9, 0xf1, 0x8e, 0xe5, 0x51, 0xd7, 0x39, - 0x1a, 0x3c, 0xfa, 0x3f, 0xac, 0x50, 0x35, 0x97, 0x02, 0x2b, 0x2d, 0x5c, 0x51, 0xca, 0xfe, 0x45, - 0x9b, 0xfb, 0x35, 0x95, 0xf9, 0xed, 0x9c, 0x97, 0xf0, 0x79, 0xb3, 0xfe, 0xcf, 0x28, 0x7d, 0xb7, - 0xc6, 0x33, 0x08, 0xa3, 0x85, 0xc1, 0x20, 0x3b, 0x95, 0x7a, 0xb8, 0x5f, 0x69, 0x3e, 0x36, 0x86, - 0x8c, 0x16, 0x26, 0xdb, 0x1a, 0xb2, 0xd4, 0xcb, 0xc0, 0xf0, 0x69, 0x39, 0x30, 0x25, 0x84, 0x16, - 0x86, 0x90, 0xad, 0x85, 0x90, 0xd4, 0x23, 0x04, 0x4c, 0x4f, 0x7b, 0x7d, 0xbb, 0x8b, 0xef, 0x00, - 0x00, 0x00, 0xff, 0xff, 0x0d, 0xc9, 0x1f, 0x5b, 0xeb, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/policy_finding_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/policy_finding_error.pb.go deleted file mode 100644 index 5493e006..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/policy_finding_error.pb.go +++ /dev/null @@ -1,126 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/policy_finding_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_61987e2d3d600b4b, []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_61987e2d3d600b4b, []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 (m *PolicyFindingErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyFindingErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.PolicyFindingErrorEnum_PolicyFindingError", PolicyFindingErrorEnum_PolicyFindingError_name, PolicyFindingErrorEnum_PolicyFindingError_value) - proto.RegisterType((*PolicyFindingErrorEnum)(nil), "google.ads.googleads.v1.errors.PolicyFindingErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/policy_finding_error.proto", fileDescriptor_61987e2d3d600b4b) -} - -var fileDescriptor_61987e2d3d600b4b = []byte{ - // 323 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xc3, 0x30, - 0x1c, 0xc6, 0x5d, 0x07, 0x0a, 0x19, 0x68, 0xc9, 0x61, 0xc2, 0x90, 0x1d, 0xfa, 0x00, 0x29, 0xc5, - 0x93, 0xf1, 0xd4, 0xad, 0xed, 0x08, 0x4a, 0x1a, 0x70, 0x9b, 0x28, 0x85, 0xd2, 0x2d, 0x33, 0x04, - 0xb6, 0xa4, 0x34, 0x73, 0x20, 0xf8, 0x34, 0x1e, 0x7d, 0x14, 0x1f, 0xc5, 0xa3, 0x4f, 0x20, 0x6d, - 0xb6, 0x5e, 0x86, 0x9e, 0xfa, 0xf1, 0xef, 0xef, 0xfb, 0xf2, 0xfd, 0xff, 0xe0, 0x46, 0x68, 0x2d, - 0xd6, 0x2b, 0xbf, 0xe0, 0xc6, 0xb7, 0xb2, 0x56, 0xbb, 0xc0, 0x5f, 0x55, 0x95, 0xae, 0x8c, 0x5f, - 0xea, 0xb5, 0x5c, 0xbe, 0xe5, 0x2f, 0x52, 0x71, 0xa9, 0x44, 0xde, 0x4c, 0x51, 0x59, 0xe9, 0xad, - 0x86, 0x43, 0xcb, 0xa3, 0x82, 0x1b, 0xd4, 0x5a, 0xd1, 0x2e, 0x40, 0xd6, 0x3a, 0xb8, 0x3a, 0x44, - 0x97, 0xd2, 0x2f, 0x94, 0xd2, 0xdb, 0x62, 0x2b, 0xb5, 0x32, 0xd6, 0xed, 0xbd, 0x83, 0x3e, 0x6b, - 0xb2, 0x13, 0x1b, 0x1d, 0xd7, 0xa6, 0x58, 0xbd, 0x6e, 0xbc, 0x05, 0x80, 0xc7, 0x7f, 0xe0, 0x05, - 0xe8, 0xcd, 0xe8, 0x03, 0x8b, 0xc7, 0x24, 0x21, 0x71, 0xe4, 0x9e, 0xc0, 0x1e, 0x38, 0x9b, 0xd1, - 0x3b, 0x9a, 0x3e, 0x52, 0xb7, 0x03, 0x21, 0x38, 0x67, 0xe9, 0x3d, 0x19, 0x3f, 0xe5, 0x09, 0xa1, - 0x11, 0xa1, 0x13, 0xd7, 0x81, 0x03, 0xd0, 0xdf, 0xcf, 0xa6, 0x29, 0x23, 0xe3, 0x9c, 0xa6, 0xd3, - 0x3c, 0x49, 0x67, 0x34, 0x72, 0xbb, 0xa3, 0x9f, 0x0e, 0xf0, 0x96, 0x7a, 0x83, 0xfe, 0x5f, 0x61, - 0x74, 0x79, 0x5c, 0x84, 0xd5, 0xed, 0x59, 0xe7, 0x39, 0xda, 0x5b, 0x85, 0x5e, 0x17, 0x4a, 0x20, - 0x5d, 0x09, 0x5f, 0xac, 0x54, 0xb3, 0xdb, 0xe1, 0x90, 0xa5, 0x34, 0x7f, 0xdd, 0xf5, 0xd6, 0x7e, - 0x3e, 0x9c, 0xee, 0x24, 0x0c, 0x3f, 0x9d, 0xe1, 0xc4, 0x86, 0x85, 0xdc, 0x20, 0x2b, 0x6b, 0x35, - 0x0f, 0x50, 0xf3, 0xa4, 0xf9, 0x3a, 0x00, 0x59, 0xc8, 0x4d, 0xd6, 0x02, 0xd9, 0x3c, 0xc8, 0x2c, - 0xf0, 0xed, 0x78, 0x76, 0x8a, 0x71, 0xc8, 0x0d, 0xc6, 0x2d, 0x82, 0xf1, 0x3c, 0xc0, 0xd8, 0x42, - 0x8b, 0xd3, 0xa6, 0xdd, 0xf5, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe1, 0xe1, 0x6b, 0xc5, 0xf4, - 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/policy_validation_parameter_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/policy_validation_parameter_error.pb.go deleted file mode 100644 index b447eb08..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/policy_validation_parameter_error.pb.go +++ /dev/null @@ -1,134 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/policy_validation_parameter_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible policy validation parameter errors. -type PolicyValidationParameterErrorEnum_PolicyValidationParameterError int32 - -const ( - // Enum unspecified. - PolicyValidationParameterErrorEnum_UNSPECIFIED PolicyValidationParameterErrorEnum_PolicyValidationParameterError = 0 - // The received error code is not known in this version. - PolicyValidationParameterErrorEnum_UNKNOWN PolicyValidationParameterErrorEnum_PolicyValidationParameterError = 1 - // Ignorable policy topics are not supported for the ad type. - PolicyValidationParameterErrorEnum_UNSUPPORTED_AD_TYPE_FOR_IGNORABLE_POLICY_TOPICS PolicyValidationParameterErrorEnum_PolicyValidationParameterError = 2 - // Exempt policy violation keys are not supported for the ad type. - PolicyValidationParameterErrorEnum_UNSUPPORTED_AD_TYPE_FOR_EXEMPT_POLICY_VIOLATION_KEYS PolicyValidationParameterErrorEnum_PolicyValidationParameterError = 3 - // Cannot set ignorable policy topics and exempt policy violation keys in - // the same policy violation parameter. - PolicyValidationParameterErrorEnum_CANNOT_SET_BOTH_IGNORABLE_POLICY_TOPICS_AND_EXEMPT_POLICY_VIOLATION_KEYS PolicyValidationParameterErrorEnum_PolicyValidationParameterError = 4 -) - -var PolicyValidationParameterErrorEnum_PolicyValidationParameterError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "UNSUPPORTED_AD_TYPE_FOR_IGNORABLE_POLICY_TOPICS", - 3: "UNSUPPORTED_AD_TYPE_FOR_EXEMPT_POLICY_VIOLATION_KEYS", - 4: "CANNOT_SET_BOTH_IGNORABLE_POLICY_TOPICS_AND_EXEMPT_POLICY_VIOLATION_KEYS", -} - -var PolicyValidationParameterErrorEnum_PolicyValidationParameterError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "UNSUPPORTED_AD_TYPE_FOR_IGNORABLE_POLICY_TOPICS": 2, - "UNSUPPORTED_AD_TYPE_FOR_EXEMPT_POLICY_VIOLATION_KEYS": 3, - "CANNOT_SET_BOTH_IGNORABLE_POLICY_TOPICS_AND_EXEMPT_POLICY_VIOLATION_KEYS": 4, -} - -func (x PolicyValidationParameterErrorEnum_PolicyValidationParameterError) String() string { - return proto.EnumName(PolicyValidationParameterErrorEnum_PolicyValidationParameterError_name, int32(x)) -} - -func (PolicyValidationParameterErrorEnum_PolicyValidationParameterError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b4c304776e3c07c9, []int{0, 0} -} - -// Container for enum describing possible policy validation parameter errors. -type PolicyValidationParameterErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PolicyValidationParameterErrorEnum) Reset() { *m = PolicyValidationParameterErrorEnum{} } -func (m *PolicyValidationParameterErrorEnum) String() string { return proto.CompactTextString(m) } -func (*PolicyValidationParameterErrorEnum) ProtoMessage() {} -func (*PolicyValidationParameterErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_b4c304776e3c07c9, []int{0} -} - -func (m *PolicyValidationParameterErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PolicyValidationParameterErrorEnum.Unmarshal(m, b) -} -func (m *PolicyValidationParameterErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PolicyValidationParameterErrorEnum.Marshal(b, m, deterministic) -} -func (m *PolicyValidationParameterErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyValidationParameterErrorEnum.Merge(m, src) -} -func (m *PolicyValidationParameterErrorEnum) XXX_Size() int { - return xxx_messageInfo_PolicyValidationParameterErrorEnum.Size(m) -} -func (m *PolicyValidationParameterErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_PolicyValidationParameterErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_PolicyValidationParameterErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.errors.PolicyValidationParameterErrorEnum_PolicyValidationParameterError", PolicyValidationParameterErrorEnum_PolicyValidationParameterError_name, PolicyValidationParameterErrorEnum_PolicyValidationParameterError_value) - proto.RegisterType((*PolicyValidationParameterErrorEnum)(nil), "google.ads.googleads.v1.errors.PolicyValidationParameterErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/policy_validation_parameter_error.proto", fileDescriptor_b4c304776e3c07c9) -} - -var fileDescriptor_b4c304776e3c07c9 = []byte{ - // 391 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0x41, 0x8a, 0xdb, 0x30, - 0x18, 0x85, 0x1b, 0x4f, 0x69, 0x41, 0xb3, 0x68, 0xf0, 0xb2, 0x94, 0x2c, 0xdc, 0xbd, 0x8c, 0x99, - 0x2e, 0x8a, 0xba, 0x52, 0x62, 0x25, 0x63, 0x26, 0x95, 0x44, 0xac, 0xb8, 0x4d, 0x31, 0x08, 0x75, - 0x6c, 0x8c, 0xc1, 0xb1, 0x8c, 0xe5, 0x06, 0x7a, 0x9d, 0x59, 0xf6, 0x28, 0x3d, 0x4a, 0xaf, 0x50, - 0x28, 0xc5, 0xd6, 0xd8, 0xbb, 0x78, 0xa5, 0x87, 0x78, 0xef, 0x7b, 0xe2, 0xd7, 0x0f, 0xb6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0x37, 0x98, 0x52, 0x26, 0x64, 0x4c, 0x84, 0x5c, 0x33, 0x71, - 0x7f, 0xad, 0x46, 0x62, 0x1a, 0xce, 0xd3, 0x5e, 0xae, 0xff, 0x2d, 0x80, 0xf7, 0xa8, 0xcf, 0x70, - 0x7e, 0xd2, 0xeb, 0xf7, 0xf3, 0x13, 0xe2, 0xfd, 0xc0, 0xf9, 0xe2, 0x5b, 0xf8, 0x8c, 0x29, 0x74, - 0xa5, 0xea, 0x02, 0xea, 0xb6, 0xf0, 0x8b, 0xbc, 0x1e, 0xbe, 0x63, 0x5c, 0x84, 0xa6, 0x34, 0xd7, - 0xf6, 0xe2, 0x93, 0x3d, 0x9e, 0x9c, 0x9b, 0x1d, 0xc6, 0xbf, 0x9c, 0xd5, 0xce, 0xc2, 0x70, 0x66, - 0xa0, 0x95, 0xbd, 0x4a, 0x02, 0x38, 0x54, 0x9a, 0xdf, 0xa3, 0x21, 0xc5, 0x99, 0x49, 0x27, 0x43, - 0x9a, 0x04, 0xa9, 0x35, 0xfc, 0x71, 0x3c, 0x7b, 0x8b, 0x10, 0xce, 0x0c, 0x42, 0x93, 0x05, 0xa1, - 0x24, 0x40, 0xc8, 0x9a, 0xbe, 0xbf, 0x1a, 0x5e, 0x77, 0xf7, 0x3f, 0x00, 0x00, 0xff, 0xff, 0x02, - 0x12, 0xa0, 0x1c, 0xb4, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/policy_violation_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/policy_violation_error.pb.go deleted file mode 100644 index 90308ef0..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/policy_violation_error.pb.go +++ /dev/null @@ -1,119 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/policy_violation_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible policy violation errors. -type PolicyViolationErrorEnum_PolicyViolationError int32 - -const ( - // Enum unspecified. - PolicyViolationErrorEnum_UNSPECIFIED PolicyViolationErrorEnum_PolicyViolationError = 0 - // The received error code is not known in this version. - PolicyViolationErrorEnum_UNKNOWN PolicyViolationErrorEnum_PolicyViolationError = 1 - // A policy was violated. See PolicyViolationDetails for more detail. - PolicyViolationErrorEnum_POLICY_ERROR PolicyViolationErrorEnum_PolicyViolationError = 2 -) - -var PolicyViolationErrorEnum_PolicyViolationError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "POLICY_ERROR", -} - -var PolicyViolationErrorEnum_PolicyViolationError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "POLICY_ERROR": 2, -} - -func (x PolicyViolationErrorEnum_PolicyViolationError) String() string { - return proto.EnumName(PolicyViolationErrorEnum_PolicyViolationError_name, int32(x)) -} - -func (PolicyViolationErrorEnum_PolicyViolationError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_82022b324da9a65a, []int{0, 0} -} - -// Container for enum describing possible policy violation errors. -type PolicyViolationErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PolicyViolationErrorEnum) Reset() { *m = PolicyViolationErrorEnum{} } -func (m *PolicyViolationErrorEnum) String() string { return proto.CompactTextString(m) } -func (*PolicyViolationErrorEnum) ProtoMessage() {} -func (*PolicyViolationErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_82022b324da9a65a, []int{0} -} - -func (m *PolicyViolationErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PolicyViolationErrorEnum.Unmarshal(m, b) -} -func (m *PolicyViolationErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PolicyViolationErrorEnum.Marshal(b, m, deterministic) -} -func (m *PolicyViolationErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyViolationErrorEnum.Merge(m, src) -} -func (m *PolicyViolationErrorEnum) XXX_Size() int { - return xxx_messageInfo_PolicyViolationErrorEnum.Size(m) -} -func (m *PolicyViolationErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_PolicyViolationErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_PolicyViolationErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.errors.PolicyViolationErrorEnum_PolicyViolationError", PolicyViolationErrorEnum_PolicyViolationError_name, PolicyViolationErrorEnum_PolicyViolationError_value) - proto.RegisterType((*PolicyViolationErrorEnum)(nil), "google.ads.googleads.v1.errors.PolicyViolationErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/policy_violation_error.proto", fileDescriptor_82022b324da9a65a) -} - -var fileDescriptor_82022b324da9a65a = []byte{ - // 301 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0x84, 0x40, - 0x14, 0x86, 0xd3, 0xa0, 0x60, 0x36, 0x48, 0xa4, 0x8b, 0x8a, 0xd8, 0x0b, 0x1f, 0x60, 0x06, 0xe9, - 0x6e, 0xf6, 0xca, 0xdd, 0x75, 0x17, 0x29, 0x54, 0x8c, 0x35, 0x0a, 0x41, 0xdc, 0x55, 0x06, 0xc1, - 0x9d, 0x23, 0x8e, 0x09, 0xbd, 0x4e, 0x97, 0x3d, 0x4a, 0x8f, 0xd2, 0x75, 0x0f, 0x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 0x5c, 0x60, 0x25, 0x7b, 0x15, 0xdb, 0x58, 0xae, 0x14, 0x5f, 0x83, - 0x21, 0x71, 0x72, 0x91, 0x8c, 0x86, 0x24, 0xb6, 0x13, 0x65, 0xf8, 0xd6, 0x2d, 0x35, 0xa5, 0xd4, - 0xc9, 0x05, 0xa5, 0xa3, 0x85, 0xd2, 0xd8, 0xa6, 0x54, 0x99, 0xb6, 0x67, 0xb2, 0xdd, 0xfd, 0x6f, - 0x00, 0x00, 0x00, 0xff, 0xff, 0x9a, 0x0b, 0x2a, 0xb5, 0xde, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/query_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/query_error.pb.go deleted file mode 100644 index 38409907..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/query_error.pb.go +++ /dev/null @@ -1,379 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/query_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // Parameter unknown or not supported. - QueryErrorEnum_BAD_PARAMETER_NAME QueryErrorEnum_QueryError = 61 - // Parameter have invalid value. - QueryErrorEnum_BAD_PARAMETER_VALUE QueryErrorEnum_QueryError = 62 - // 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 - // Metrics cannot be requested for a manager account. To retrieve metrics, - // issue separate requests against each client account under the manager - // account. - QueryErrorEnum_REQUESTED_METRICS_FOR_MANAGER QueryErrorEnum_QueryError = 59 -) - -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", - 61: "BAD_PARAMETER_NAME", - 62: "BAD_PARAMETER_VALUE", - 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", - 59: "REQUESTED_METRICS_FOR_MANAGER", -} - -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_PARAMETER_NAME": 61, - "BAD_PARAMETER_VALUE": 62, - "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, - "REQUESTED_METRICS_FOR_MANAGER": 59, -} - -func (x QueryErrorEnum_QueryError) String() string { - return proto.EnumName(QueryErrorEnum_QueryError_name, int32(x)) -} - -func (QueryErrorEnum_QueryError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_199f4004bfaeb2f2, []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_199f4004bfaeb2f2, []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 (m *QueryErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.QueryErrorEnum_QueryError", QueryErrorEnum_QueryError_name, QueryErrorEnum_QueryError_value) - proto.RegisterType((*QueryErrorEnum)(nil), "google.ads.googleads.v1.errors.QueryErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/query_error.proto", fileDescriptor_199f4004bfaeb2f2) -} - -var fileDescriptor_199f4004bfaeb2f2 = []byte{ - // 970 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x55, 0xff, 0x6e, 0x13, 0x47, - 0x10, 0x6e, 0x42, 0x0b, 0x65, 0x42, 0x92, 0x65, 0x21, 0x3f, 0x48, 0x43, 0x1a, 0x4c, 0x80, 0x40, - 0x12, 0x3b, 0x06, 0x95, 0x52, 0xd3, 0x56, 0xda, 0xbb, 0x1b, 0x3b, 0x2b, 0xee, 0x76, 0x2f, 0x7b, - 0x7b, 0x71, 0x8d, 0x22, 0xad, 0xd2, 0x26, 0xb2, 0x22, 0x81, 0x2f, 0xb5, 0x03, 0x52, 0x5f, 0xa7, - 0x52, 0xff, 0xe9, 0x13, 0xf4, 0x19, 0xfa, 0x28, 0x3c, 0x45, 0xb5, 0x77, 0xbe, 0xf3, 0xb9, 0x18, - 0xf3, 0xd7, 0xed, 0xce, 0x7c, 0xdf, 0x37, 0x7b, 0xb3, 0x33, 0x3b, 0xb0, 0xdf, 0x4d, 0x92, 0xee, - 0x9b, 0xb3, 0xda, 0xc9, 0xe9, 0xa0, 0x96, 0x2d, 0xed, 0xea, 0x7d, 0xbd, 0x76, 0xd6, 0xef, 0x27, - 0xfd, 0x41, 0xed, 0xf7, 0x77, 0x67, 0xfd, 0x3f, 0x4c, 0xba, 0xa9, 0x5e, 0xf4, 0x93, 0xcb, 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 0xf9, 0x33, 0xdd, 0x82, 0x4d, 0xeb, 0x50, 0x18, 0xc9, 0x58, - 0xb9, 0x68, 0x74, 0x27, 0x44, 0xc3, 0x85, 0x69, 0x2a, 0x19, 0x18, 0xd7, 0x67, 0x71, 0x84, 0x64, - 0x2f, 0x0f, 0x1c, 0x75, 0x02, 0x47, 0xfa, 0x64, 0x96, 0xce, 0xc3, 0x75, 0xbb, 0xcf, 0x44, 0xbe, - 0xb4, 0xea, 0x1e, 0xd3, 0x68, 0x14, 0x13, 0x2d, 0x34, 0x5a, 0x4a, 0xd3, 0xe6, 0x1e, 0x92, 0x2d, - 0x7b, 0x40, 0xfc, 0x25, 0x44, 0x57, 0xa3, 0x67, 0x98, 0xf0, 0xc8, 0x86, 0x4d, 0x56, 0x61, 0x71, - 0x3a, 0x64, 0x81, 0xee, 0xc1, 0xe3, 0xc2, 0xe0, 0xf1, 0x00, 0x45, 0xc4, 0xa5, 0x18, 0xe6, 0x82, - 0x0b, 0x13, 0xa1, 0x8f, 0xae, 0xce, 0x4f, 0xf2, 0x80, 0x56, 0x60, 0xa3, 0x80, 0x37, 0xb9, 0xaf, - 0x51, 0x45, 0x46, 0x0a, 0x33, 0x0a, 0x4f, 0xbe, 0xa7, 0x37, 0x61, 0x7e, 0x84, 0x51, 0x32, 0x20, - 0xbb, 0x63, 0x26, 0x9f, 0x47, 0x9a, 0x3c, 0xa6, 0x55, 0x78, 0x52, 0x98, 0x14, 0x36, 0x51, 0xd9, - 0xdb, 0xf0, 0x3e, 0x15, 0x99, 0xd8, 0x1b, 0x29, 0xf0, 0x99, 0x8f, 0xcc, 0xd3, 0x3b, 0xb0, 0x34, - 0x32, 0x72, 0xd1, 0xf2, 0x71, 0x98, 0x94, 0x27, 0x74, 0x1b, 0xb6, 0x0a, 0x57, 0x6a, 0x33, 0x6d, - 0xae, 0x0f, 0x8c, 0x83, 0xba, 0x8d, 0x28, 0x46, 0x97, 0x76, 0xd7, 0xa6, 0x8f, 0x8b, 0x23, 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x9a, 0x65, 0xa1, 0x1d, 0x79, 0xe1, 0xcc, - 0x6b, 0x6f, 0x48, 0xe9, 0x26, 0x6f, 0x4e, 0x7a, 0xdd, 0x6a, 0xd2, 0xef, 0xd6, 0xba, 0x67, 0xbd, - 0x74, 0x20, 0xe6, 0x43, 0xf7, 0xe2, 0x7c, 0xf0, 0xa9, 0x19, 0xfc, 0x32, 0xfb, 0xfc, 0x39, 0x7b, - 0xa5, 0xc5, 0xd8, 0xdf, 0xb3, 0x1b, 0xad, 0x4c, 0x8c, 0x9d, 0x0e, 0xaa, 0xd9, 0xd2, 0xae, 0x8e, - 0xea, 0xd5, 0x34, 0xe4, 0xe0, 0xdf, 0x1c, 0x70, 0xcc, 0x4e, 0x07, 0xc7, 0x05, 0xe0, 0xf8, 0xa8, - 0x7e, 0x9c, 0x01, 0x3e, 0xcc, 0x56, 0x32, 0x6b, 0xa3, 0xc1, 0x4e, 0x07, 0x8d, 0x46, 0x01, 0x69, - 0x34, 0x8e, 0xea, 0x8d, 0x46, 0x06, 0xfa, 0xf5, 0x6a, 0x7a, 0xba, 0x67, 0xff, 0x05, 0x00, 0x00, - 0xff, 0xff, 0x00, 0x01, 0x26, 0x00, 0x20, 0x08, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/quota_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/quota_error.pb.go deleted file mode 100644 index c517c2c0..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/quota_error.pb.go +++ /dev/null @@ -1,129 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/quota_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_6cd7591584b55844, []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_6cd7591584b55844, []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 (m *QuotaErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_QuotaErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.QuotaErrorEnum_QuotaError", QuotaErrorEnum_QuotaError_name, QuotaErrorEnum_QuotaError_value) - proto.RegisterType((*QuotaErrorEnum)(nil), "google.ads.googleads.v1.errors.QuotaErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/quota_error.proto", fileDescriptor_6cd7591584b55844) -} - -var fileDescriptor_6cd7591584b55844 = []byte{ - // 335 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xcf, 0x4e, 0xb3, 0x40, - 0x14, 0xc5, 0x3f, 0xe8, 0x17, 0x4d, 0xa6, 0x89, 0xad, 0x93, 0xe8, 0xc2, 0x98, 0x2e, 0x78, 0x80, - 0x41, 0xe2, 0x6e, 0x5c, 0x4d, 0xe9, 0xd8, 0x12, 0x15, 0x10, 0x4a, 0xfd, 0x13, 0x92, 0x06, 0xa5, - 0x99, 0x34, 0x69, 0x67, 0x2a, 0x43, 0xbb, 0xf3, 0x19, 0x7c, 0x07, 0x97, 0x3e, 0x8a, 0x8f, 0xd2, - 0xa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x85, 0x89, 0x45, 0xc6, 0x19, 0x12, 0x05, 0xb3, 0xd9, - 0x8c, 0x57, 0x3d, 0xeb, 0x5b, 0xae, 0xe6, 0xf2, 0xb7, 0xd3, 0x5e, 0xe8, 0xcf, 0xbb, 0xd9, 0x1a, - 0x12, 0xf2, 0x61, 0xf6, 0x86, 0x3a, 0x8c, 0xe4, 0x12, 0x69, 0xa9, 0xd4, 0xc4, 0x41, 0xd5, 0x93, - 0xf2, 0xb3, 0x06, 0x52, 0x92, 0xcb, 0xb4, 0x01, 0xd2, 0x89, 0x93, 0x6a, 0x60, 0x6b, 0x5a, 0x7a, - 0x8a, 0x31, 0xc9, 0x25, 0xc6, 0x0d, 0x82, 0xf1, 0xc4, 0xc1, 0x58, 0x43, 0x4f, 0x7b, 0xd5, 0x76, - 0xe7, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x4f, 0x72, 0x66, 0x2a, 0xf7, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/range_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/range_error.pb.go deleted file mode 100644 index b256c93e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/range_error.pb.go +++ /dev/null @@ -1,123 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/range_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_c6a9036257ea7c61, []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_c6a9036257ea7c61, []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 (m *RangeErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_RangeErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.RangeErrorEnum_RangeError", RangeErrorEnum_RangeError_name, RangeErrorEnum_RangeError_value) - proto.RegisterType((*RangeErrorEnum)(nil), "google.ads.googleads.v1.errors.RangeErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/range_error.proto", fileDescriptor_c6a9036257ea7c61) -} - -var fileDescriptor_c6a9036257ea7c61 = []byte{ - // 292 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xf3, 0x40, - 0x14, 0x85, 0xff, 0xa4, 0xf0, 0x2b, 0x53, 0xb1, 0x21, 0x4b, 0x91, 0x2e, 0xf2, 0x00, 0x33, 0x06, - 0x77, 0xe3, 0x2a, 0xb5, 0x31, 0x0d, 0x4a, 0x12, 0xd4, 0x26, 0x20, 0x81, 0x32, 0x9a, 0x30, 0x04, - 0xda, 0x99, 0x30, 0x13, 0xfb, 0x40, 0x2e, 0x7d, 0x14, 0x1f, 0xa5, 0x4f, 0x21, 0x93, 0x6b, 0xd2, - 0x95, 0xae, 0xe6, 0xdc, 0xe1, 0x3b, 0xe7, 0x1e, 0x2e, 0xba, 0xe2, 0x52, 0xf2, 0x6d, 0x4d, 0x58, - 0xa5, 0x09, 0x48, 0xa3, 0xf6, 0x3e, 0xa9, 0x95, 0x92, 0x4a, 0x13, 0xc5, 0x04, 0xaf, 0x37, 0xfd, - 0x80, 0x5b, 0x25, 0x3b, 0xe9, 0xce, 0x01, 0xc3, 0xac, 0xd2, 0x78, 0x74, 0xe0, 0xbd, 0x8f, 0xc1, - 0x71, 0x71, 0x39, 0x24, 0xb6, 0x0d, 0x61, 0x42, 0xc8, 0x8e, 0x75, 0x8d, 0x14, 0x1a, 0xdc, 0x5e, - 0x81, 0xce, 0x1f, 0x4d, 0x64, 0x68, 0xe0, 0x50, 0xbc, 0xef, 0xbc, 0x10, 0xa1, 0xe3, 0x8f, 0x3b, - 0x43, 0xd3, 0x75, 0xf2, 0x94, 0x85, 0xb7, 0xf1, 0x5d, 0x1c, 0x2e, 0x9d, 0x7f, 0xee, 0x14, 0x9d, - 0xac, 0x93, 0xfb, 0x24, 0x2d, 0x12, 0xc7, 0x32, 0xc3, 0x73, 0x9a, 0x6e, 0x1e, 0xd2, 0xc2, 0xb1, - 0xdd, 0x33, 0x74, 0x6a, 0x86, 0x55, 0x1c, 0xad, 0x9c, 0xc9, 0xe2, 0x60, 0x21, 0xef, 0x4d, 0xee, - 0xf0, 0xdf, 0xed, 0x16, 0xb3, 0xe3, 0xae, 0xcc, 0x14, 0xca, 0xac, 0x97, 0xe5, 0x8f, 0x85, 0xcb, - 0x2d, 0x13, 0x1c, 0x4b, 0xc5, 0x09, 0xaf, 0x45, 0x5f, 0x77, 0x38, 0x49, 0xdb, 0xe8, 0xdf, 0x2e, - 0x74, 0x03, 0xcf, 0x87, 0x3d, 0x89, 0x82, 0xe0, 0xd3, 0x9e, 0x47, 0x10, 0x16, 0x54, 0x1a, 0x83, - 0x34, 0x2a, 0xf7, 0x71, 0xbf, 0x52, 0x7f, 0x0d, 0x40, 0x19, 0x54, 0xba, 0x1c, 0x81, 0x32, 0xf7, - 0x4b, 0x00, 0x0e, 0xb6, 0x07, 0xbf, 0x94, 0x06, 0x95, 0xa6, 0x74, 0x44, 0x28, 0xcd, 0x7d, 0x4a, - 0x01, 0x7a, 0xfd, 0xdf, 0xb7, 0xbb, 0xfe, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x05, 0xb6, 0x0f, 0x2d, - 0xbe, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/recommendation_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/recommendation_error.pb.go deleted file mode 100644 index 2facb39e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/recommendation_error.pb.go +++ /dev/null @@ -1,189 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/recommendation_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // The recommendation apply request was malformed and invalid. - RecommendationErrorEnum_INVALID_APPLY_REQUEST RecommendationErrorEnum_RecommendationError = 15 -) - -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", - 15: "INVALID_APPLY_REQUEST", -} - -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, - "INVALID_APPLY_REQUEST": 15, -} - -func (x RecommendationErrorEnum_RecommendationError) String() string { - return proto.EnumName(RecommendationErrorEnum_RecommendationError_name, int32(x)) -} - -func (RecommendationErrorEnum_RecommendationError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_81944be64bae24a3, []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_81944be64bae24a3, []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 (m *RecommendationErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_RecommendationErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.RecommendationErrorEnum_RecommendationError", RecommendationErrorEnum_RecommendationError_name, RecommendationErrorEnum_RecommendationError_value) - proto.RegisterType((*RecommendationErrorEnum)(nil), "google.ads.googleads.v1.errors.RecommendationErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/recommendation_error.proto", fileDescriptor_81944be64bae24a3) -} - -var fileDescriptor_81944be64bae24a3 = []byte{ - // 515 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xd1, 0x6e, 0xd3, 0x30, - 0x14, 0x86, 0x59, 0x0b, 0x1b, 0x78, 0x1b, 0x33, 0x9e, 0x60, 0x30, 0xa0, 0x82, 0x8a, 0xeb, 0x44, - 0x15, 0x57, 0x84, 0x2b, 0xb7, 0x3e, 0xad, 0xac, 0x25, 0xb6, 0x71, 0x92, 0x4e, 0x41, 0x95, 0xac, - 0xb2, 0x54, 0x51, 0xa5, 0x35, 0xa9, 0x92, 0xb2, 0x07, 0xe2, 0x92, 0x87, 0xe0, 0x01, 0x78, 0x04, - 0x1e, 0x81, 0x5b, 0x5e, 0x00, 0x39, 0x59, 0xab, 0x0d, 0x75, 0x5c, 0xe5, 0xe8, 0xf8, 0xfb, 0x7f, - 0x9f, 0xe3, 0xfc, 0xe8, 0x43, 0x56, 0x14, 0xd9, 0xe5, 0xcc, 0x9d, 0xa6, 0x95, 0xdb, 0x94, 0xb6, - 0xba, 0xea, 0xb9, 0xb3, 0xb2, 0x2c, 0xca, 0xca, 0x2d, 0x67, 0x17, 0xc5, 0x62, 0x31, 0xcb, 0xd3, - 0xe9, 0x6a, 0x5e, 0xe4, 0xa6, 0xee, 0x3a, 0xcb, 0xb2, 0x58, 0x15, 0xa4, 0xd3, 0xf0, 0xce, 0x34, - 0xad, 0x9c, 0x8d, 0xd4, 0xb9, 0xea, 0x39, 0x8d, 0xf4, 0xf4, 0xd5, 0xda, 0x7a, 0x39, 0x77, 0xa7, - 0x79, 0x5e, 0xac, 0x6a, 0x8b, 0xaa, 0x51, 0x77, 0x7f, 0xb5, 0xd1, 0x89, 0xbe, 0x65, 0x0e, 0x56, - 0x06, 0xf9, 0xd7, 0x45, 0xf7, 0x47, 0x1b, 0x1d, 0x6f, 0x39, 0x23, 0x47, 0x68, 0x3f, 0x16, 0xa1, - 0x82, 0x01, 0x1f, 0x72, 0x60, 0xf8, 0x1e, 0xd9, 0x47, 0x7b, 0xb1, 0x38, 0x13, 0xf2, 0x5c, 0xe0, - 0x1d, 0xf2, 0x12, 0x9d, 0xf4, 0x63, 0x36, 0x82, 0xc8, 0xd0, 0x40, 0xc6, 0x22, 0x32, 0x91, 0x94, - 0x26, 0x0c, 0xa8, 0xef, 0xe3, 0xd6, 0xf6, 0x43, 0x9f, 0xea, 0x11, 0xe0, 0x36, 0x79, 0x81, 0x9e, - 0x72, 0x31, 0xa6, 0x3e, 0x67, 0xe6, 0x16, 0x84, 0xef, 0x13, 0x8c, 0x0e, 0x94, 0xf4, 0xf9, 0x20, - 0x31, 0xa0, 0xb5, 0xd4, 0xf8, 0x01, 0x79, 0x86, 0xc8, 0x06, 0xe6, 0x6c, 0x4d, 0xee, 0x5a, 0x13, - 0xca, 0x46, 0x5a, 0xc6, 0xca, 0x9c, 0x41, 0x72, 0x2e, 0x35, 0x33, 0x3e, 0x0f, 0x78, 0x84, 0xf7, - 0x48, 0x17, 0x75, 0x34, 0x0c, 0x64, 0x10, 0x80, 0x60, 0x34, 0xe2, 0x52, 0x18, 0xea, 0x6b, 0xa0, - 0x2c, 0x31, 0x54, 0x29, 0xdf, 0xae, 0xf2, 0x90, 0x74, 0xd0, 0xe9, 0x3f, 0xcc, 0xf5, 0x2d, 0x34, - 0x02, 0x86,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, 0xbc, 0x71, 0xcf, 0xf3, 0x1a, 0xe8, - 0xcb, 0x6e, 0x3d, 0xdd, 0xfb, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x4f, 0xb2, 0x52, 0x7c, 0x54, - 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/region_code_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/region_code_error.pb.go deleted file mode 100644 index 8b6cd9e5..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/region_code_error.pb.go +++ /dev/null @@ -1,119 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/region_code_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_f7a91ec3042795c0, []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_f7a91ec3042795c0, []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 (m *RegionCodeErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_RegionCodeErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.RegionCodeErrorEnum_RegionCodeError", RegionCodeErrorEnum_RegionCodeError_name, RegionCodeErrorEnum_RegionCodeError_value) - proto.RegisterType((*RegionCodeErrorEnum)(nil), "google.ads.googleads.v1.errors.RegionCodeErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/region_code_error.proto", fileDescriptor_f7a91ec3042795c0) -} - -var fileDescriptor_f7a91ec3042795c0 = []byte{ - // 304 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xf3, 0x30, - 0x1c, 0xc5, 0xbf, 0xf5, 0x03, 0x85, 0xec, 0x62, 0xa3, 0x13, 0x04, 0x91, 0x5d, 0xf4, 0x01, 0x12, - 0x8a, 0xe0, 0x45, 0xbc, 0xca, 0xd6, 0x38, 0x8b, 0x92, 0x8d, 0xc9, 0x2a, 0x48, 0xa1, 0xd4, 0x25, - 0x84, 0xc2, 0x96, 0xff, 0x48, 0xe6, 0x1e, 0xc8, 0x4b, 0x1f, 0xc5, 0x47, 0xf1, 0xc6, 0x57, 0x90, - 0x36, 0xb6, 0x17, 0x03, 0xbd, 0xca, 0xe1, 0xf0, 0x3b, 0x27, 0x87, 0x3f, 0xba, 0xd6, 0x00, 0x7a, - 0xa3, 0x48, 0x29, 0x1d, 0xf1, 0xb2, 0x56, 0x87, 0x98, 0x28, 0x6b, 0xc1, 0x3a, 0x62, 0x95, 0xae, - 0xc0, 0x14, 0x6b, 0x90, 0xaa, 0x68, 0x2c, 0xbc, 0xb3, 0xb0, 0x87, 0x70, 0xec, 0x61, 0x5c, 0x4a, - 0x87, 0xbb, 0x1c, 0x3e, 0xc4, 0xd8, 0xe7, 0x2e, 0x2e, 0xdb, 0xde, 0x5d, 0x45, 0x4a, 0x63, 0x60, - 0x5f, 0xee, 0x2b, 0x30, 0xce, 0xa7, 0xa3, 0x02, 0x8d, 0x96, 0x4d, 0xf1, 0x14, 0xa4, 0xe2, 0x75, - 0x82, 0x9b, 0xd7, 0x6d, 0x74, 0x87, 0x06, 0x47, 0x76, 0x38, 0x40, 0xfd, 0x95, 0x78, 0x5c, 0xf0, - 0x69, 0x7a, 0x9b, 0xf2, 0x64, 0xf8, 0x2f, 0xec, 0xa3, 0xd3, 0x95, 0xb8, 0x17, 0xf3, 0x27, 0x31, - 0xec, 0x85, 0xe7, 0x68, 0x94, 0x8a, 0x8c, 0x3d, 0xa4, 0x49, 0xb1, 0xe4, 0xb3, 0x74, 0x2e, 0x8a, - 0xe9, 0x3c, 0xe1, 0xc3, 0x60, 0xf2, 0xd5, 0x43, 0xd1, 0x1a, 0xb6, 0xf8, 0xef, 0x95, 0x93, 0xb3, - 0xa3, 0xef, 0x16, 0xf5, 0xba, 0x45, 0xef, 0x39, 0xf9, 0xc9, 0x69, 0xd8, 0x94, 0x46, 0x63, 0xb0, - 0x9a, 0x68, 0x65, 0x9a, 0xed, 0xed, 0x95, 0x76, 0x95, 0xfb, 0xed, 0x68, 0x37, 0xfe, 0x79, 0x0b, - 0xfe, 0xcf, 0x18, 0x7b, 0x0f, 0xc6, 0x33, 0x5f, 0xc6, 0xa4, 0xc3, 0x5e, 0xd6, 0x2a, 0x8b, 0x71, - 0xf3, 0xa5, 0xfb, 0x68, 0x81, 0x9c, 0x49, 0x97, 0x77, 0x40, 0x9e, 0xc5, 0xb9, 0x07, 0x3e, 0x83, - 0xc8, 0xbb, 0x94, 0x32, 0xe9, 0x28, 0xed, 0x10, 0x4a, 0xb3, 0x98, 0x52, 0x0f, 0xbd, 0x9c, 0x34, - 0xeb, 0xae, 0xbe, 0x03, 0x00, 0x00, 0xff, 0xff, 0x9a, 0x2b, 0x1e, 0xbc, 0xd1, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/request_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/request_error.pb.go deleted file mode 100644 index 2676f814..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/request_error.pb.go +++ /dev/null @@ -1,207 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/request_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // Page size specified in user request is invalid. - RequestErrorEnum_INVALID_PAGE_SIZE RequestErrorEnum_RequestError = 22 - // 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 - // page_token is set in the validate only request - RequestErrorEnum_VALIDATE_ONLY_REQUEST_HAS_PAGE_TOKEN RequestErrorEnum_RequestError = 21 -) - -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", - 22: "INVALID_PAGE_SIZE", - 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", - 21: "VALIDATE_ONLY_REQUEST_HAS_PAGE_TOKEN", -} - -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, - "INVALID_PAGE_SIZE": 22, - "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, - "VALIDATE_ONLY_REQUEST_HAS_PAGE_TOKEN": 21, -} - -func (x RequestErrorEnum_RequestError) String() string { - return proto.EnumName(RequestErrorEnum_RequestError_name, int32(x)) -} - -func (RequestErrorEnum_RequestError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_fef0616bab723331, []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_fef0616bab723331, []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 (m *RequestErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_RequestErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.RequestErrorEnum_RequestError", RequestErrorEnum_RequestError_name, RequestErrorEnum_RequestError_value) - proto.RegisterType((*RequestErrorEnum)(nil), "google.ads.googleads.v1.errors.RequestErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/request_error.proto", fileDescriptor_fef0616bab723331) -} - -var fileDescriptor_fef0616bab723331 = []byte{ - // 573 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x53, 0xdd, 0x6e, 0xd3, 0x30, - 0x14, 0x66, 0x3f, 0x6c, 0xe0, 0x01, 0xf3, 0x3c, 0xb6, 0x89, 0x0d, 0x0d, 0x51, 0x98, 0x80, 0x9b, - 0x54, 0x85, 0xbb, 0x70, 0xe5, 0xc6, 0xa7, 0xc1, 0x5a, 0x62, 0x07, 0x27, 0x29, 0xeb, 0x54, 0xc9, - 0x2a, 0xb4, 0xaa, 0x26, 0x6d, 0xc9, 0x48, 0xba, 0x3d, 0x10, 0x97, 0x3c, 0x01, 0xcf, 0x80, 0xc4, - 0x8b, 0x20, 0x1e, 0x02, 0x39, 0x6e, 0x43, 0x40, 0xc0, 0x55, 0x4e, 0xbe, 0xf3, 0x7d, 0xe7, 0x3b, - 0xe7, 0xe8, 0x18, 0xbd, 0x9c, 0xe6, 0xf9, 0xf4, 0x7c, 0xd2, 0x1e, 0x8d, 0xcb, 0xb6, 0x0d, 0x4d, - 0x74, 0xdd, 0x69, 0x4f, 0x8a, 0x22, 0x2f, 0xca, 0x76, 0x31, 0xf9, 0x78, 0x35, 0x29, 0x67, 0xba, - 0xfa, 0x75, 0x2e, 0x8b, 0x7c, 0x96, 0x93, 0x43, 0x4b, 0x74, 0x46, 0xe3, 0xd2, 0xa9, 0x35, 0xce, - 0x75, 0xc7, 0xb1, 0x9a, 0xfd, 0x87, 0x8b, 0x9a, 0x97, 0x67, 0xed, 0x51, 0x96, 0xe5, 0xb3, 0xd1, - 0xec, 0x2c, 0xcf, 0x4a, 0xab, 0x6e, 0x7d, 0x5b, 0x45, 0x58, 0xd9, 0xaa, 0x60, 0xf8, 0x90, 0x5d, - 0x5d, 0xb4, 0xbe, 0xac, 0xa2, 0x3b, 0x4d, 0x90, 0x6c, 0xa2, 0x8d, 0x54, 0xc4, 0x11, 0x78, 0xbc, - 0xc7, 0x81, 0xe1, 0x1b, 0x64, 0x03, 0xad, 0xa7, 0xe2, 0x58, 0xc8, 0x77, 0x02, 0x2f, 0x91, 0x07, - 0x68, 0x47, 0x41, 0x2c, 0x53, 0xe5, 0x81, 0x16, 0x34, 0x04, 0x1d, 0xf2, 0x38, 0xe6, 0xc2, 0xc7, - 0x2b, 0xe4, 0x00, 0xed, 0xfd, 0x91, 0xa2, 0x41, 0x4f, 0xaa, 0x10, 0x18, 0x5e, 0x25, 0xdb, 0x68, - 0xb3, 0x4b, 0x99, 0xae, 0x09, 0x9c, 0xe1, 0x2d, 0xb2, 0x87, 0xb6, 0xb9, 0xe8, 0xd3, 0x80, 0x33, - 0xed, 0xa5, 0x71, 0x22, 0x43, 0x50, 0x26, 0x81, 0xc9, 0x2e, 0x22, 0x32, 0x02, 0x45, 0x13, 0x2e, - 0x85, 0x56, 0xf0, 0x36, 0xe5, 0x0a, 0x18, 0xbe, 0x69, 0xf0, 0x5f, 0x16, 0x32, 0xd1, 0x3d, 0x99, - 0x0a, 0x86, 0xd7, 0x0c, 0xbe, 0x28, 0x14, 0x51, 0x1f, 0x74, 0x22, 0x8f, 0x41, 0xe0, 0x75, 0x83, - 0xc3, 0x49, 0x64, 0xc4, 0x4d, 0xfc, 0x16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 0x3f, 0x1f, - 0x65, 0x53, 0x27, 0x2f, 0xa6, 0xed, 0xe9, 0x24, 0xab, 0xee, 0x74, 0xf1, 0x1a, 0x2e, 0xcf, 0xca, - 0x7f, 0x3d, 0x8e, 0xd7, 0xf6, 0xf3, 0x69, 0x79, 0xc5, 0xa7, 0xf4, 0xf3, 0xf2, 0xa1, 0x6f, 0x8b, - 0xd1, 0x71, 0xe9, 0xd8, 0xd0, 0x44, 0xfd, 0x8e, 0x53, 0x59, 0x96, 0x5f, 0x17, 0x84, 0x21, 0x1d, - 0x97, 0xc3, 0x9a, 0x30, 0xec, 0x77, 0x86, 0x96, 0xf0, 0x7d, 0xb9, 0x65, 0x51, 0xd7, 0xa5, 0xe3, - 0xd2, 0x75, 0x6b, 0x8a, 0xeb, 0xf6, 0x3b, 0xae, 0x6b, 0x49, 0xef, 0xd7, 0xaa, 0xee, 0x5e, 0xfd, - 0x0c, 0x00, 0x00, 0xff, 0xff, 0x4d, 0x0c, 0x84, 0xce, 0xb9, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/resource_access_denied_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/resource_access_denied_error.pb.go deleted file mode 100644 index dc5b971b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/resource_access_denied_error.pb.go +++ /dev/null @@ -1,120 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/resource_access_denied_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_ebcb9332861fe0ce, []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_ebcb9332861fe0ce, []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 (m *ResourceAccessDeniedErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResourceAccessDeniedErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.ResourceAccessDeniedErrorEnum_ResourceAccessDeniedError", ResourceAccessDeniedErrorEnum_ResourceAccessDeniedError_name, ResourceAccessDeniedErrorEnum_ResourceAccessDeniedError_value) - proto.RegisterType((*ResourceAccessDeniedErrorEnum)(nil), "google.ads.googleads.v1.errors.ResourceAccessDeniedErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/resource_access_denied_error.proto", fileDescriptor_ebcb9332861fe0ce) -} - -var fileDescriptor_ebcb9332861fe0ce = []byte{ - // 312 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x6a, 0x32, 0x31, - 0x14, 0x85, 0x7f, 0x15, 0xfe, 0x42, 0x5c, 0x54, 0xa6, 0x8b, 0xd2, 0xd2, 0xba, 0x98, 0x07, 0x48, - 0x18, 0xba, 0x4b, 0x57, 0xd1, 0x49, 0x45, 0x0a, 0x53, 0xd1, 0xaa, 0x50, 0x06, 0x86, 0x74, 0x12, - 0xc2, 0x80, 0x26, 0x92, 0xab, 0x3e, 0x50, 0x97, 0x7d, 0x94, 0x3e,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b6, 0xdd, 0xc7, 0x70, 0x7c, 0x74, 0x7b, 0x13, 0xc6, 0x3e, 0xbb, 0xc3, 0x49, 0x30, - 0x63, 0x12, 0x70, 0x90, 0xb5, 0x5a, 0x25, 0xd8, 0x47, 0xc2, 0xd7, 0x19, 0xc8, 0x99, 0x84, 0xbc, - 0x01, 0xf2, 0x55, 0x92, 0x07, 0xe0, 0xbb, 0x1b, 0x87, 0x5b, 0x4a, 0x99, 0x04, 0x4a, 0x1b, 0x84, - 0xd2, 0x55, 0x42, 0x69, 0x80, 0xde, 0xff, 0xfb, 0x76, 0x0f, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, - 0x6c, 0xe6, 0xc2, 0x05, 0xfa, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/resource_count_limit_exceeded_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/resource_count_limit_exceeded_error.pb.go deleted file mode 100644 index ea00f219..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/resource_count_limit_exceeded_error.pb.go +++ /dev/null @@ -1,175 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/resource_count_limit_exceeded_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_baf533b61e178968, []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_baf533b61e178968, []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 (m *ResourceCountLimitExceededErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResourceCountLimitExceededErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError", ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError_name, ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError_value) - proto.RegisterType((*ResourceCountLimitExceededErrorEnum)(nil), "google.ads.googleads.v1.errors.ResourceCountLimitExceededErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/resource_count_limit_exceeded_error.proto", fileDescriptor_baf533b61e178968) -} - -var fileDescriptor_baf533b61e178968 = []byte{ - // 428 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xdf, 0x6a, 0xd4, 0x40, - 0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 0x1a, 0x81, 0x25, 0x2e, - 0xf4, 0x72, 0x0f, 0x2c, 0x17, 0xee, 0xd2, 0x00, 0xbf, 0xad, 0xa9, 0x71, 0x3d, 0x0f, 0x17, 0xda, - 0xf3, 0xf6, 0x88, 0xe7, 0x2d, 0x5c, 0xcf, 0x33, 0xd0, 0xb7, 0xc3, 0xfe, 0xef, 0x3e, 0xfe, 0x0d, - 0x00, 0x00, 0xff, 0xff, 0xb1, 0x30, 0xbc, 0xab, 0xbf, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/setting_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/setting_error.pb.go deleted file mode 100644 index 4c8a5b00..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/setting_error.pb.go +++ /dev/null @@ -1,218 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/setting_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_752343a1d62a5cad, []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_752343a1d62a5cad, []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 (m *SettingErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_SettingErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.SettingErrorEnum_SettingError", SettingErrorEnum_SettingError_name, SettingErrorEnum_SettingError_value) - proto.RegisterType((*SettingErrorEnum)(nil), "google.ads.googleads.v1.errors.SettingErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/setting_error.proto", fileDescriptor_752343a1d62a5cad) -} - -var fileDescriptor_752343a1d62a5cad = []byte{ - // 696 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xd1, 0x8e, 0xdb, 0x44, - 0x14, 0x86, 0xd9, 0x2d, 0xb4, 0xcb, 0x6c, 0xa1, 0xd3, 0xe1, 0xae, 0x82, 0x95, 0xd8, 0x6b, 0x70, - 0x48, 0x41, 0x50, 0x5c, 0x28, 0x3a, 0xf6, 0x9c, 0x75, 0x46, 0x1d, 0xcf, 0x18, 0xcf, 0x38, 0xdb, - 0xa0, 0x48, 0x47, 0x81, 0x44, 0x51, 0xa4, 0x36, 0x5e, 0xc5, 0xa1, 0x0f, 0xc4, 0x1d, 0x3c, 0x04, - 0x0f, 0xc0, 0xa3, 0x20, 0x1e, 0x02, 0x8d, 0xdd, 0xb8, 0x91, 0x9a, 0x76, 0xdb, 0xab, 0x4c, 0xc6, - 0xff, 0xf7, 0x9f, 0xf1, 0xef, 0x33, 0x87, 0xdd, 0x5f, 0xd6, 0xf5, 0xf2, 0xe9, 0x62, 0x30, 0x9b, - 0x37, 0x83, 0x6e,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fc, 0xb3, 0x13, 0x4c, 0x61, 0xde, 0x4c, 0x7b, 0xc1, 0x74, 0x3c, 0x9c, - 0x76, 0x82, 0x7f, 0x8f, 0xcf, 0xbb, 0xdd, 0x38, 0x86, 0x79, 0x13, 0xc7, 0xbd, 0x24, 0x8e, 0xc7, - 0xc3, 0x38, 0xee, 0x44, 0xbf, 0xde, 0x6c, 0x4f, 0xf7, 0xf5, 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, - 0x83, 0x90, 0xd3, 0xfd, 0xaa, 0x05, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/shared_criterion_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/shared_criterion_error.pb.go deleted file mode 100644 index 85a37a48..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/shared_criterion_error.pb.go +++ /dev/null @@ -1,121 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/shared_criterion_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_63aacfbca4cfc124, []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_63aacfbca4cfc124, []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 (m *SharedCriterionErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_SharedCriterionErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.SharedCriterionErrorEnum_SharedCriterionError", SharedCriterionErrorEnum_SharedCriterionError_name, SharedCriterionErrorEnum_SharedCriterionError_value) - proto.RegisterType((*SharedCriterionErrorEnum)(nil), "google.ads.googleads.v1.errors.SharedCriterionErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/shared_criterion_error.proto", fileDescriptor_63aacfbca4cfc124) -} - -var fileDescriptor_63aacfbca4cfc124 = []byte{ - // 330 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x41, 0x4e, 0x83, 0x40, - 0x14, 0x86, 0x05, 0x13, 0x4d, 0xa6, 0x0b, 0x1b, 0xe2, 0x42, 0x8d, 0xe9, 0x82, 0x03, 0x0c, 0x41, - 0x77, 0xd3, 0xd5, 0xb4, 0x4c, 0x2b, 0xb1, 0x01, 0x02, 0xb4, 0x8d, 0x86, 0x64, 0x82, 0x85, 0x50, - 0x92, 0x76, 0xa6, 0x99, 0xc1, 0x9e, 0xc0, 0x93, 0xb8, 0xf4, 0x28, 0x1e, 0xc5, 0xb5, 0x07, 0x30, - 0xcc, 0x48, 0x57, 0xd5, 0xd5, 0xfc, 0x79, 0xef, 0xff, 0xfe, 0x79, 0xef, 0x81, 0x61, 0xc5, 0x79, - 0xb5, 0x29, 0x9d, 0xbc, 0x90, 0x8e, 0x96, 0xad, 0xda, 0xbb, 0x4e, 0x29, 0x04, 0x17, 0xd2, 0x91, - 0xeb, 0x5c, 0x94, 0x05, 0x5d, 0x89, 0xba, 0x29, 0x45, 0xcd, 0x19, 0x55, 0x75, 0xb8, 0x13, 0xbc, - 0xe1, 0xd6, 0x40, 0x13, 0x30, 0x2f, 0x24, 0x3c, 0xc0, 0x70, 0xef, 0x42, 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, 0xa1, 0x85, 0x8b, 0x90, 0x36, 0xbd, 0x9c, 0xa9, 0xe9, 0xee, 0x7f, 0x02, 0x00, 0x00, - 0xff, 0xff, 0xee, 0x75, 0xa0, 0xa2, 0x01, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/shared_set_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/shared_set_error.pb.go deleted file mode 100644 index 793cb89b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/shared_set_error.pb.go +++ /dev/null @@ -1,136 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/shared_set_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_f7557a309b795fce, []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_f7557a309b795fce, []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 (m *SharedSetErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_SharedSetErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.SharedSetErrorEnum_SharedSetError", SharedSetErrorEnum_SharedSetError_name, SharedSetErrorEnum_SharedSetError_value) - proto.RegisterType((*SharedSetErrorEnum)(nil), "google.ads.googleads.v1.errors.SharedSetErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/shared_set_error.proto", fileDescriptor_f7557a309b795fce) -} - -var fileDescriptor_f7557a309b795fce = []byte{ - // 372 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x4f, 0x8e, 0x9b, 0x30, - 0x18, 0xc5, 0x0b, 0xe9, 0x1f, 0xc9, 0x91, 0x52, 0xea, 0xaa, 0x5d, 0x54, 0x55, 0x16, 0x1c, 0xc0, - 0x88, 0x56, 0xdd, 0xb8, 0x2b, 0x07, 0x9c, 0x04, 0xb5, 0x31, 0x08, 0x03, 0x55, 0x2b, 0x24, 0x8b, - 0x16, 0x44, 0x23, 0x25, 0x38, 0xc2, 0x4c, 0x0e, 0x34, 0xd2, 0x6c, 0xe6, 0x0c, 0x73, 0x82, 0x39, - 0xca, 0x2c, 0xe6, 0x0c, 0x23, 0xf0, 0x24, 0x4a, 0x16, 0x33, 0x2b, 0x9e, 0x9e, 0x7e, 0xef, 0xe1, - 0xef, 0xfb, 0xc0, 0xb7, 0x5a, 0xca, 0x7a, 0x53, 0x39, 0x45, 0xa9, 0x1c, 0x2d, 0x7b, 0xb5, 0x77, - 0x9d, 0xaa, 0x6d, 0x65, 0xab, 0x1c, 0xf5, 0xbf, 0x68, 0xab, 0x52, 0xa8, 0xaa, 0x13, 0x83, 0x83, - 0x76, 0xad, 0xec, 0x24, 0x9c, 0x6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0xa7, 0x0e, 0xf2, 0x5d, - 0x7f, 0x2e, 0xcd, 0xd1, 0x82, 0x90, 0x6b, 0x73, 0xba, 0xd0, 0x65, 0xa4, 0x54, 0x48, 0xcb, 0x5e, - 0x65, 0x2e, 0x1a, 0x7e, 0xa9, 0x6e, 0x0f, 0x40, 0x4e, 0x4a, 0x95, 0x1f, 0x81, 0x3c, 0x73, 0x73, - 0x0d, 0xdc, 0x99, 0xb6, 0x76, 0x31, 0x26, 0xa5, 0xc2, 0xf8, 0x88, 0x60, 0x9c, 0xb9, 0x18, 0x6b, - 0xe8, 0xef, 0xeb, 0xe1, 0x75, 0x5f, 0x1f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x19, 0xb4, 0xb0, 0x71, - 0x2d, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/size_limit_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/size_limit_error.pb.go deleted file mode 100644 index 100f6c4e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/size_limit_error.pb.go +++ /dev/null @@ -1,125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/size_limit_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible size limit errors. -type SizeLimitErrorEnum_SizeLimitError int32 - -const ( - // Enum unspecified. - SizeLimitErrorEnum_UNSPECIFIED SizeLimitErrorEnum_SizeLimitError = 0 - // The received error code is not known in this version. - SizeLimitErrorEnum_UNKNOWN SizeLimitErrorEnum_SizeLimitError = 1 - // The number of entries in the request exceeds the system limit. - SizeLimitErrorEnum_REQUEST_SIZE_LIMIT_EXCEEDED SizeLimitErrorEnum_SizeLimitError = 2 - // The number of entries in the response exceeds the system limit. - SizeLimitErrorEnum_RESPONSE_SIZE_LIMIT_EXCEEDED SizeLimitErrorEnum_SizeLimitError = 3 -) - -var SizeLimitErrorEnum_SizeLimitError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "REQUEST_SIZE_LIMIT_EXCEEDED", - 3: "RESPONSE_SIZE_LIMIT_EXCEEDED", -} - -var SizeLimitErrorEnum_SizeLimitError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "REQUEST_SIZE_LIMIT_EXCEEDED": 2, - "RESPONSE_SIZE_LIMIT_EXCEEDED": 3, -} - -func (x SizeLimitErrorEnum_SizeLimitError) String() string { - return proto.EnumName(SizeLimitErrorEnum_SizeLimitError_name, int32(x)) -} - -func (SizeLimitErrorEnum_SizeLimitError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bcc468de64921988, []int{0, 0} -} - -// Container for enum describing possible size limit errors. -type SizeLimitErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SizeLimitErrorEnum) Reset() { *m = SizeLimitErrorEnum{} } -func (m *SizeLimitErrorEnum) String() string { return proto.CompactTextString(m) } -func (*SizeLimitErrorEnum) ProtoMessage() {} -func (*SizeLimitErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_bcc468de64921988, []int{0} -} - -func (m *SizeLimitErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SizeLimitErrorEnum.Unmarshal(m, b) -} -func (m *SizeLimitErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SizeLimitErrorEnum.Marshal(b, m, deterministic) -} -func (m *SizeLimitErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_SizeLimitErrorEnum.Merge(m, src) -} -func (m *SizeLimitErrorEnum) XXX_Size() int { - return xxx_messageInfo_SizeLimitErrorEnum.Size(m) -} -func (m *SizeLimitErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_SizeLimitErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_SizeLimitErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.errors.SizeLimitErrorEnum_SizeLimitError", SizeLimitErrorEnum_SizeLimitError_name, SizeLimitErrorEnum_SizeLimitError_value) - proto.RegisterType((*SizeLimitErrorEnum)(nil), "google.ads.googleads.v1.errors.SizeLimitErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/size_limit_error.proto", fileDescriptor_bcc468de64921988) -} - -var fileDescriptor_bcc468de64921988 = []byte{ - // 327 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x41, 0x4a, 0xc3, 0x40, - 0x14, 0x86, 0x4d, 0x0a, 0x0a, 0x53, 0xd0, 0x12, 0x77, 0x5a, 0xaa, 0xe4, 0x00, 0x13, 0x82, 0xb8, - 0x19, 0x57, 0x69, 0xf3, 0x2c, 0xc1, 0x9a, 0xc6, 0x4e, 0x5b, 0xa5, 0x04, 0x42, 0x34, 0x61, 0x18, - 0x68, 0x67, 0x6a, 0x26, 0x76, 0xd1, 0x0b, 0x78, 0x0f, 0x97, 0x1e, 0xc5, 0xa3, 0xb8, 0xf0, 0x0c, - 0x92, 0x8c, 0x2d, 0x14, 0xd4, 0xd5, 0xfc, 0x3c, 0xbe, 0xff, 0x9f, 0xf7, 0x3f, 0x74, 0xc9, 0xa4, - 0x64, 0xf3, 0xdc, 0x49, 0x33, 0xe5, 0x68, 0x59, 0xa9, 0x95, 0xeb, 0xe4, 0x45, 0x21, 0x0b, 0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71, 0xfd, 0xa5, 0xfa, 0xd8, 0x00, 0xb1, 0x97, 0xa9, 0x78, 0x0b, - 0xc4, 0x53, 0x37, 0xd6, 0xc0, 0xa7, 0x69, 0xeb, 0x29, 0x21, 0x5e, 0xa6, 0x08, 0xd9, 0x22, 0x84, - 0x4c, 0x5d, 0x42, 0x34, 0xf4, 0xb8, 0x5f, 0x6f, 0x77, 0xf1, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x16, - 0xd6, 0x32, 0xa2, 0xf8, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/string_format_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/string_format_error.pb.go deleted file mode 100644 index 53c73223..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/string_format_error.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/string_format_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_8ce65d4b86eec262, []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_8ce65d4b86eec262, []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 (m *StringFormatErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_StringFormatErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.StringFormatErrorEnum_StringFormatError", StringFormatErrorEnum_StringFormatError_name, StringFormatErrorEnum_StringFormatError_value) - proto.RegisterType((*StringFormatErrorEnum)(nil), "google.ads.googleads.v1.errors.StringFormatErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/string_format_error.proto", fileDescriptor_8ce65d4b86eec262) -} - -var fileDescriptor_8ce65d4b86eec262 = []byte{ - // 318 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xc3, 0x30, - 0x1c, 0xc6, 0x5d, 0x07, 0x0a, 0x19, 0x6a, 0x17, 0xd0, 0x83, 0xc8, 0x0e, 0x7d, 0x80, 0x84, 0xe2, - 0x45, 0xe2, 0x29, 0xdb, 0xba, 0x59, 0xac, 0xdd, 0xd8, 0x5c, 0x15, 0x29, 0x94, 0x68, 0x67, 0x28, - 0x6c, 0xc9, 0x4c, 0xea, 0x1e, 0xc8, 0xa3, 0x8f, 0xe2, 0xa3, 0x78, 0xf3, 0x0d, 0xa4, 0x89, 0xed, - 0x65, 0xe8, 0xa9, 0x1f, 0xff, 0xfe, 0xbe, 0xef, 0xff, 0xe5, 0x0f, 0x2e, 0xb9, 0x94, 0x7c, 0xb5, - 0xc4, 0x2c, 0xd7, 0xd8, 0xca, 0x4a, 0x6d, 0x7d, 0xbc, 0x54, 0x4a, 0x2a, 0x8d, 0x75, 0xa9, 0x0a, - 0xc1, 0xb3, 0x17, 0xa9, 0xd6, 0xac, 0xcc, 0xcc, 0x10, 0x6d, 0x94, 0x2c, 0x25, 0xec, 0x59, 0x1c, - 0xb1, 0x5c, 0xa3, 0xc6, 0x89, 0xb6, 0x3e, 0xb2, 0xce, 0xb3, 0xf3, 0x3a, 0x79, 0x53, 0x60, 0x26, - 0x84, 0x2c, 0x59, 0x59, 0x48, 0xa1, 0xad, 0xdb, 0x7b, 0x05, 0x27, 0x73, 0x13, 0x3d, 0x32, 0xc9, - 0x41, 0xe5, 0x09, 0xc4, 0xdb, 0xda, 0x7b, 0x00, 0xdd, 0x9d, 0x1f, 0xf0, 0x18, 0x74, 0x16, 0xf1, - 0x7c, 0x1a, 0x0c, 0xc2, 0x51, 0x18, 0x0c, 0xdd, 0x3d, 0xd8, 0x01, 0x07, 0x8b, 0xf8, 0x26, 0x9e, - 0xdc, 0xc7, 0x6e, 0x0b, 0x76, 0xc1, 0x61, 0x18, 0x45, 0xc1, 0x98, 0x46, 0xd9, 0xe0, 0x9a, 0xce, - 0xe6, 0xae, 0x03, 0x21, 0x38, 0x0a, 0xe3, 0x84, 0x46, 0xe1, 0x30, 0x1b, 0x4d, 0x66, 0xb7, 0xf4, - 0xce, 0x6d, 0xf7, 0xbf, 0x5b, 0xc0, 0x7b, 0x96, 0x6b, 0xf4, 0x7f, 0xef, 0xfe, 0xe9, 0xce, 0xfa, - 0x69, 0xd5, 0x78, 0xda, 0x7a, 0x1c, 0xfe, 0x3a, 0xb9, 0x5c, 0x31, 0xc1, 0x91, 0x54, 0x1c, 0xf3, - 0xa5, 0x30, 0xef, 0xa9, 0x6f, 0xb7, 0x29, 0xf4, 0x5f, 0xa7, 0xbc, 0xb2, 0x9f, 0x77, 0xa7, 0x3d, - 0xa6, 0xf4, 0xc3, 0xe9, 0x8d, 0x6d, 0x18, 0xcd, 0x35, 0xb2, 0xb2, 0x52, 0x89, 0x8f, 0xcc, 0x4a, - 0xfd, 0x59, 0x03, 0x29, 0xcd, 0x75, 0xda, 0x00, 0x69, 0xe2, 0xa7, 0x16, 0xf8, 0x72, 0x3c, 0x3b, - 0x25, 0x84, 0xe6, 0x9a, 0x90, 0x06, 0x21, 0x24, 0xf1, 0x09, 0xb1, 0xd0, 0xd3, 0xbe, 0x69, 0x77, - 0xf1, 0x13, 0x00, 0x00, 0xff, 0xff, 0xb4, 0x40, 0x90, 0x0d, 0xe7, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/string_length_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/string_length_error.pb.go deleted file mode 100644 index ce3d440e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/string_length_error.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/string_length_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_cc7d1cf13cf6443b, []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_cc7d1cf13cf6443b, []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 (m *StringLengthErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_StringLengthErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.StringLengthErrorEnum_StringLengthError", StringLengthErrorEnum_StringLengthError_name, StringLengthErrorEnum_StringLengthError_value) - proto.RegisterType((*StringLengthErrorEnum)(nil), "google.ads.googleads.v1.errors.StringLengthErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/string_length_error.proto", fileDescriptor_cc7d1cf13cf6443b) -} - -var fileDescriptor_cc7d1cf13cf6443b = []byte{ - // 309 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x4f, 0x4e, 0x84, 0x30, - 0x14, 0xc6, 0x85, 0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fa, 0x6d, 0x00, 0xe7, 0x85, 0xaf, 0xe1, - 0xff, 0xd3, 0x4e, 0xcf, 0xb6, 0x9a, 0x46, 0xdd, 0x9c, 0x91, 0xf1, 0x34, 0xfb, 0x75, 0x52, 0x5e, - 0xe7, 0x8c, 0x42, 0x2e, 0x28, 0xa2, 0x25, 0x53, 0xbf, 0xe8, 0x37, 0xd6, 0x54, 0xf2, 0xaf, 0x05, - 0x5e, 0xeb, 0xe3, 0xdd, 0x1c, 0x05, 0x9e, 0xf7, 0x61, 0x4e, 0x02, 0x1d, 0xe6, 0x15, 0x12, 0x6a, - 0xd9, 0xa9, 0xc4, 0x85, 0xaa, 0xa5, 0xfc, 0xec, 0x81, 0xd4, 0x2b, 0x64, 0x3a, 0x00, 0x69, 0xe2, - 0xa6, 0x1a, 0xf8, 0x32, 0x1d, 0x5d, 0xc5, 0xd8, 0x2b, 0x24, 0xc6, 0x03, 0x82, 0x71, 0xe2, 0x62, - 0xac, 0xa1, 0xe7, 0x5d, 0x35, 0xdd, 0xe5, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x64, 0x6d, 0x29, - 0x4e, 0xdd, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/url_field_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/url_field_error.pb.go deleted file mode 100644 index 3c650478..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/url_field_error.pb.go +++ /dev/null @@ -1,374 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/url_field_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // Custom parameter value cannot be null. - UrlFieldErrorEnum_NULL_CUSTOM_PARAMETER_VALUE UrlFieldErrorEnum_UrlFieldError = 57 -) - -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", - 57: "NULL_CUSTOM_PARAMETER_VALUE", -} - -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, - "NULL_CUSTOM_PARAMETER_VALUE": 57, -} - -func (x UrlFieldErrorEnum_UrlFieldError) String() string { - return proto.EnumName(UrlFieldErrorEnum_UrlFieldError_name, int32(x)) -} - -func (UrlFieldErrorEnum_UrlFieldError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a37685699293a2e8, []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_a37685699293a2e8, []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 (m *UrlFieldErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_UrlFieldErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.UrlFieldErrorEnum_UrlFieldError", UrlFieldErrorEnum_UrlFieldError_name, UrlFieldErrorEnum_UrlFieldError_value) - proto.RegisterType((*UrlFieldErrorEnum)(nil), "google.ads.googleads.v1.errors.UrlFieldErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/url_field_error.proto", fileDescriptor_a37685699293a2e8) -} - -var fileDescriptor_a37685699293a2e8 = []byte{ - // 865 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x96, 0xdd, 0x6e, 0xdb, 0x36, - 0x14, 0xc7, 0x97, 0x74, 0x6b, 0xb7, 0x93, 0x26, 0x61, 0x4e, 0x9a, 0xb6, 0x49, 0x13, 0x27, 0xf1, - 0xda, 0xad, 0xe9, 0x56, 0xb9, 0x6e, 0xb3, 0x2f, 0xef, 0x8a, 0x91, 0x68, 0x97, 0x88, 0x44, 0x09, - 0x12, 0xe5, 0xb5, 0x43, 0x00, 0xc2, 0x9b, 0x33, 0x23, 0x80, 0x6b, 0x05, 0x56, 0x9a, 0xe7, 0x19, - 0x76, 0xb9, 0x07, 0xd8, 0x43, 0xec, 0x51, 0x06, 0xec, 0x1d, 0x06, 0x4a, 0x96, 0x25, 0xdb, 0x52, - 0x86, 0x5e, 0x99, 0x38, 0xe7, 0x77, 0x3e, 0xf8, 0x3f, 0x22, 0x69, 0x38, 0x1e, 0x44, 0xd1, 0x60, - 0x78, 0xde, 0xe8, 0xf5, 0xe3, 0x46, 0xba, 0xd4, 0xab, 0xeb, 0x66, 0xe3, 0x7c, 0x3c, 0x8e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, 0xab, 0x35, 0x45, 0x5a, 0xad, 0x6e, 0xb3, 0xd5, 0x4a, 0xa1, 0x5f, 0x6e, - 0x27, 0xdd, 0xbd, 0xfa, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x0e, 0xbf, 0x62, 0x71, 0xa5, 0x08, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/user_list_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/user_list_error.pb.go deleted file mode 100644 index 3881f7c4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/user_list_error.pb.go +++ /dev/null @@ -1,254 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/user_list_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // Creating user list without setting type in oneof user_list field, or - // creating/updating read-only user list types is not allowed. - 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 - // The provided rule_type is not supported for the user list. - UserListErrorEnum_RULE_TYPE_IS_NOT_SUPPORTED UserListErrorEnum_UserListError = 34 - // Similar user list cannot be used as a logical user list operand. - UserListErrorEnum_CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND UserListErrorEnum_UserListError = 35 - // Logical user list should not have a mix of CRM based user list and other - // types of lists in its rules. - UserListErrorEnum_CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS UserListErrorEnum_UserListError = 36 -) - -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", - 34: "RULE_TYPE_IS_NOT_SUPPORTED", - 35: "CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND", - 36: "CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS", -} - -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, - "RULE_TYPE_IS_NOT_SUPPORTED": 34, - "CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND": 35, - "CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS": 36, -} - -func (x UserListErrorEnum_UserListError) String() string { - return proto.EnumName(UserListErrorEnum_UserListError_name, int32(x)) -} - -func (UserListErrorEnum_UserListError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_037f4a77ec34ed51, []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_037f4a77ec34ed51, []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 (m *UserListErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.errors.UserListErrorEnum_UserListError", UserListErrorEnum_UserListError_name, UserListErrorEnum_UserListError_value) - proto.RegisterType((*UserListErrorEnum)(nil), "google.ads.googleads.v1.errors.UserListErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/user_list_error.proto", fileDescriptor_037f4a77ec34ed51) -} - -var fileDescriptor_037f4a77ec34ed51 = []byte{ - // 742 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x54, 0xed, 0x6e, 0x23, 0x35, - 0x14, 0xa5, 0x59, 0xd8, 0x80, 0xbb, 0x1f, 0xae, 0x11, 0xbb, 0x52, 0xbb, 0x64, 0xd9, 0x2c, 0x1f, - 0x02, 0x89, 0x09, 0x61, 0x57, 0x45, 0x1a, 0x7e, 0x39, 0xe3, 0xdb, 0xc4, 0xea, 0x8c, 0x67, 0xb0, - 0x3d, 0x93, 0x06, 0x45, 0xb2, 0x02, 0x89, 0xa2, 0x48, 0x6d, 0xa6, 0xca, 0xa4, 0x7d, 0x20, 0x7e, - 0xf2, 0x28, 0x3c, 0x00, 0x0f, 0x81, 0xe0, 0x1d, 0x90, 0x3d, 0x99, 0x69, 0x12, 0x51, 0xf6, 0x57, - 0x1c, 0xdf, 0x73, 0x8e, 0xef, 0x3d, 0xf7, 0xce, 0x45, 0x6f, 0xe7, 0x79, 0x3e, 0xbf, 0x9c, 0x75, - 0x26, 0xd3, 0xa2, 0x53, 0x1e, 0xed, 0xe9, 0xb6, 0xdb, 0x99, 0xad, 0x56, 0xf9, 0xaa, 0xe8, 0xdc, - 0x14, 0xb3, 0x95, 0xb9, 0x5c, 0x14, 0x6b, 0xe3, 0x2e, 0xbc, 0xeb, 0x55, 0xbe, 0xce, 0x49, 0xab, - 0x84, 0x7a, 0x93, 0x69, 0xe1, 0xd5, 0x2c, 0xef, 0xb6, 0xeb, 0x95, 0xac, 0xe3, 0x17, 0x95, 0xea, - 0xf5, 0xa2, 0x33, 0x59, 0x2e, 0xf3, 0xf5, 0x64, 0xbd, 0xc8, 0x97, 0x45, 0xc9, 0x6e, 0xff, 0xdd, - 0x44, 0x47, 0x69, 0x31, 0x5b, 0x85, 0x8b, 0x62, 0x0d, 0x96, 0x00, 0xcb, 0x9b, 0xab, 0xf6, 0x9f, - 0x4d, 0xf4, 0x78, 0xe7, 0x96, 0x3c, 0x45, 0x87, 0xa9, 0x50, 0x09, 0x04, 0xfc, 0x8c, 0x03, 0xc3, - 0xef, 0x91, 0x43, 0xd4, 0x4c, 0xc5, 0xb9, 0x88, 0x87, 0x02, 0x1f, 0x90, 0x1f, 0xd0, 0x1b, 0xb8, - 0xd0, 0x20, 0x05, 0x0d, 0x8d, 0x84, 0x88, 0xca, 0x73, 0xd0, 0x5c, 0xf4, 0x4d, 0xaa, 0x40, 0x9a, - 0x90, 0x2b, 0x6d, 0xa2, 0x54, 0x53, 0x0d, 0x46, 0xc4, 0xda, 0xa8, 0x34, 0x49, 0x62, 0xa9, 0x81, - 0xe1, 0x06, 0x39, 0x46, 0xcf, 0x82, 0x58, 0x04, 0x12, 0x34, 0x18, 0x3d, 0x4a, 0xc0, 0x48, 0xf8, - 0x29, 0xe5, 0x12, 0x18, 0x7e, 0x40, 0x5e, 0xa2, 0x93, 0x20, 0x16, 0x19, 0x48, 0xc5, 0x63, 0x51, - 0x46, 0x39, 0xbb, 0x03, 0xbc, 0x4f, 0x5a, 0xe8, 0x98, 0xa5, 0x49, 0xc8, 0x03, 0xab, 0xbc, 0x07, - 0x55, 0xf8, 0x03, 0x72, 0x82, 0x9e, 0x73, 0x91, 0xd1, 0x90, 0xb3, 0xfd, 0x28, 0x7e, 0x48, 0x9e, - 0xa3, 0x8f, 0xab, 0x20, 0x03, 0x15, 0x48, 0x9e, 0x68, 0x1e, 0x0b, 0xdc, 0x24, 0x18, 0x3d, 0xaa, - 0x02, 0x82, 0x46, 0x80, 0x3f,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0xca, 0xba, - 0x9e, 0x7b, 0xb2, 0xf8, 0xa3, 0x02, 0x8c, 0xe9, 0xb4, 0x18, 0xd7, 0x80, 0x71, 0xd6, 0x1d, 0x97, - 0x80, 0xbf, 0x1a, 0xed, 0xf2, 0xd6, 0xf7, 0xe9, 0xb4, 0xf0, 0xfd, 0x1a, 0xe2, 0xfb, 0x59, 0xd7, - 0xf7, 0x4b, 0xd0, 0x2f, 0x0f, 0x5d, 0x76, 0x6f, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x5f, 0x7c, - 0xfa, 0x44, 0x5b, 0x05, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/youtube_video_registration_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/youtube_video_registration_error.pb.go deleted file mode 100644 index 496cf4ba..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/youtube_video_registration_error.pb.go +++ /dev/null @@ -1,125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/errors/youtube_video_registration_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing YouTube video registration errors. -type YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError int32 - -const ( - // Enum unspecified. - YoutubeVideoRegistrationErrorEnum_UNSPECIFIED YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError = 0 - // The received error code is not known in this version. - YoutubeVideoRegistrationErrorEnum_UNKNOWN YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError = 1 - // Video to be registered wasn't found. - YoutubeVideoRegistrationErrorEnum_VIDEO_NOT_FOUND YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError = 2 - // Video to be registered is not accessible (e.g. private). - YoutubeVideoRegistrationErrorEnum_VIDEO_NOT_ACCESSIBLE YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError = 3 -) - -var YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "VIDEO_NOT_FOUND", - 3: "VIDEO_NOT_ACCESSIBLE", -} - -var YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "VIDEO_NOT_FOUND": 2, - "VIDEO_NOT_ACCESSIBLE": 3, -} - -func (x YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError) String() string { - return proto.EnumName(YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError_name, int32(x)) -} - -func (YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cb3f6566d387d326, []int{0, 0} -} - -// Container for enum describing YouTube video registration errors. -type YoutubeVideoRegistrationErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *YoutubeVideoRegistrationErrorEnum) Reset() { *m = YoutubeVideoRegistrationErrorEnum{} } -func (m *YoutubeVideoRegistrationErrorEnum) String() string { return proto.CompactTextString(m) } -func (*YoutubeVideoRegistrationErrorEnum) ProtoMessage() {} -func (*YoutubeVideoRegistrationErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_cb3f6566d387d326, []int{0} -} - -func (m *YoutubeVideoRegistrationErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_YoutubeVideoRegistrationErrorEnum.Unmarshal(m, b) -} -func (m *YoutubeVideoRegistrationErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_YoutubeVideoRegistrationErrorEnum.Marshal(b, m, deterministic) -} -func (m *YoutubeVideoRegistrationErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_YoutubeVideoRegistrationErrorEnum.Merge(m, src) -} -func (m *YoutubeVideoRegistrationErrorEnum) XXX_Size() int { - return xxx_messageInfo_YoutubeVideoRegistrationErrorEnum.Size(m) -} -func (m *YoutubeVideoRegistrationErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_YoutubeVideoRegistrationErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_YoutubeVideoRegistrationErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v1.errors.YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError", YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError_name, YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError_value) - proto.RegisterType((*YoutubeVideoRegistrationErrorEnum)(nil), "google.ads.googleads.v1.errors.YoutubeVideoRegistrationErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/errors/youtube_video_registration_error.proto", fileDescriptor_cb3f6566d387d326) -} - -var fileDescriptor_cb3f6566d387d326 = []byte{ - // 332 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x41, 0x4a, 0xc3, 0x40, - 0x14, 0x86, 0x4d, 0x0a, 0x0a, 0xd3, 0x45, 0x43, 0x74, 0x21, 0xa2, 0x05, 0x73, 0x80, 0x09, 0xc1, - 0xdd, 0xb8, 0x4a, 0x9b, 0x69, 0x09, 0x4a, 0x52, 0xac, 0x8d, 0x28, 0x81, 0x90, 0x3a, 0xc3, 0x10, - 0x68, 0xe7, 0x95, 0x99, 0xb4, 0xe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49, 0x53, 0x6f, - 0x62, 0x3d, 0x45, 0x3f, 0x2e, 0x02, 0x16, 0xa5, 0x14, 0x18, 0x94, 0xf0, 0x05, 0x97, 0x6d, 0xf9, - 0xed, 0x5f, 0x5f, 0x55, 0xfa, 0xbf, 0x47, 0xb8, 0x36, 0x9f, 0x37, 0xbb, 0x33, 0x0e, 0xc3, 0x77, - 0xbb, 0x3f, 0x36, 0x66, 0x21, 0xd3, 0xd8, 0xc8, 0x46, 0x65, 0x01, 0x6e, 0x23, 0xf5, 0xc7, 0x16, - 0xc8, 0x43, 0xa6, 0xf3, 0x1d, 0x90, 0x67, 0x41, 0x6e, 0x80, 0x4f, 0xdb, 0x33, 0x53, 0x42, 0x42, - 0xa6, 0x09, 0xd9, 0x21, 0x84, 0x64, 0x01, 0x21, 0x06, 0x9a, 0x1f, 0xb6, 0xd7, 0x5d, 0x7d, 0x07, - 0x00, 0x00, 0xff, 0xff, 0x20, 0xae, 0x04, 0xe3, 0x21, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/account_budget.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/account_budget.pb.go deleted file mode 100644 index 5585aec1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/account_budget.pb.go +++ /dev/null @@ -1,723 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/account_budget.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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.v1.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_4320b2be24569afc, []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 (m *AccountBudget) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccountBudget.Merge(m, 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.v1.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.v1.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.v1.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.v1.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.v1.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_OneofWrappers is for the internal use of the proto package. -func (*AccountBudget) XXX_OneofWrappers() []interface{} { - return []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), - } -} - -// 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.v1.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_4320b2be24569afc, []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 (m *AccountBudget_PendingAccountBudgetProposal) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccountBudget_PendingAccountBudgetProposal.Merge(m, 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.v1.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.v1.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_OneofWrappers is for the internal use of the proto package. -func (*AccountBudget_PendingAccountBudgetProposal) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AccountBudget_PendingAccountBudgetProposal_EndDateTime)(nil), - (*AccountBudget_PendingAccountBudgetProposal_EndTimeType)(nil), - (*AccountBudget_PendingAccountBudgetProposal_SpendingLimitMicros)(nil), - (*AccountBudget_PendingAccountBudgetProposal_SpendingLimitType)(nil), - } -} - -func init() { - proto.RegisterType((*AccountBudget)(nil), "google.ads.googleads.v1.resources.AccountBudget") - proto.RegisterType((*AccountBudget_PendingAccountBudgetProposal)(nil), "google.ads.googleads.v1.resources.AccountBudget.PendingAccountBudgetProposal") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/account_budget.proto", fileDescriptor_4320b2be24569afc) -} - -var fileDescriptor_4320b2be24569afc = []byte{ - // 1010 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xdd, 0x6e, 0xdb, 0x36, - 0x14, 0x9e, 0x6c, 0xe7, 0x8f, 0x89, 0xf3, 0x23, 0x37, 0xa9, 0xf2, 0x83, 0x22, 0xdd, 0x50, 0x20, - 0xc0, 0x30, 0x79, 0xce, 0x8a, 0x0e, 0xf3, 0x6e, 0x66, 0xa3, 0x5d, 0xb3, 0x60, 0xe9, 0x32, 0x39, - 0xf3, 0x45, 0x11, 0x40, 0xa0, 0x2d, 0x4e, 0xd3, 0x66, 0x91, 0x02, 0x49, 0x65, 0x2d, 0xf6, 0x04, - 0x7b, 0x8d, 0x5d, 0xec, 0x62, 0x0f, 0xb2, 0x8b, 0x3d, 0xca, 0x5e, 0x62, 0x03, 0x29, 0x91, 0xb6, - 0x6c, 0x29, 0x52, 0x90, 0xdc, 0x51, 0xe4, 0xf9, 0xbe, 0x73, 0x3e, 0x92, 0xe7, 0x1c, 0x0a, 0xbc, - 0xf0, 0x09, 0xf1, 0x27, 0xa8, 0x0d, 0x3d, 0xd6, 0x4e, 0x86, 0x62, 0x74, 0xd3, 0x69, 0x53, 0xc4, - 0x48, 0x4c, 0xc7, 0x88, 0xb5, 0xe1, 0x78, 0x4c, 0x62, 0xcc, 0xdd, 0x51, 0xec, 0xf9, 0x88, 0xdb, - 0x11, 0x25, 0x9c, 0x98, 0x4f, 0x13, 0x63, 0x1b, 0x7a, 0xcc, 0xd6, 0x38, 0xfb, 0xa6, 0x63, 0x6b, - 0xdc, 0xc1, 0x57, 0x45, 0xd4, 0x08, 0xc7, 0xe1, 0x3c, 0xad, 0x1b, 0x51, 0x12, 0x11, 0x06, 0x27, - 0x2e, 0x7f, 0x1f, 0xa1, 0xc4, 0xc9, 0xc1, 0x17, 0x77, 0x62, 0x60, 0x1c, 0xf2, 0x98, 0xa5, 0xd0, - 0xcf, 0x6f, 0x87, 0xb2, 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 0xe4, 0xd2, 0x78, 0x7b, 0x9e, 0x02, - 0x7d, 0x32, 0x81, 0xd8, 0xb7, 0x09, 0xf5, 0xdb, 0x3e, 0xc2, 0xf2, 0x4c, 0xd4, 0x5f, 0x4e, 0x14, - 0xb0, 0x5b, 0xfe, 0x02, 0xbf, 0xd4, 0xa3, 0x3f, 0x6a, 0xf5, 0xd7, 0xbd, 0xde, 0x5f, 0xb5, 0xa7, - 0xaf, 0x13, 0xca, 0x9e, 0xc7, 0xec, 0x64, 0x28, 0x46, 0xc3, 0x8e, 0xed, 0x28, 0xcb, 0x7f, 0x94, - 0xcd, 0x75, 0xcf, 0x63, 0xd7, 0xda, 0xe6, 0x7a, 0xd8, 0xb9, 0xd6, 0x36, 0xff, 0xd6, 0x9e, 0x25, - 0x0b, 0xdd, 0x6e, 0xcf, 0x63, 0xdd, 0xae, 0xb6, 0xea, 0x76, 0x87, 0x9d, 0x6e, 0x57, 0xdb, 0x8d, - 0x96, 0x65, 0xb0, 0x9f, 0xfd, 0x1f, 0x00, 0x00, 0xff, 0xff, 0x49, 0xad, 0x21, 0x8c, 0xb1, 0x0e, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/account_budget_proposal.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/account_budget_proposal.pb.go deleted file mode 100644 index 58910f61..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/account_budget_proposal.pb.go +++ /dev/null @@ -1,484 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/account_budget_proposal.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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.v1.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.v1.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_17c851e3a0204a0a, []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 (m *AccountBudgetProposal) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccountBudgetProposal.Merge(m, 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.v1.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.v1.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.v1.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.v1.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.v1.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_OneofWrappers is for the internal use of the proto package. -func (*AccountBudgetProposal) XXX_OneofWrappers() []interface{} { - return []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 init() { - proto.RegisterType((*AccountBudgetProposal)(nil), "google.ads.googleads.v1.resources.AccountBudgetProposal") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/account_budget_proposal.proto", fileDescriptor_17c851e3a0204a0a) -} - -var fileDescriptor_17c851e3a0204a0a = []byte{ - // 839 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x96, 0xef, 0x6e, 0xeb, 0x34, - 0x18, 0xc6, 0x69, 0x3a, 0x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0, 0xa0, 0x17, 0x20, - 0x2c, 0x73, 0xa2, 0x7e, 0x94, 0x92, 0x90, 0x3d, 0xf0, 0x6b, 0xf9, 0x99, 0x1e, 0xfd, 0x69, 0x34, - 0x2f, 0x06, 0x83, 0xbf, 0x8c, 0xa3, 0x8b, 0xcc, 0x72, 0xe0, 0x33, 0x3b, 0x1b, 0x8a, 0xd1, 0xa4, - 0x6f, 0xbb, 0x6a, 0xe5, 0xdf, 0x6a, 0xcd, 0x74, 0xe0, 0xb3, 0xa9, 0x5e, 0x33, 0x9d, 0xf4, 0xa7, - 0x7a, 0xcd, 0xbf, 0xc6, 0x71, 0x36, 0xe1, 0x38, 0x03, 0x9f, 0x39, 0x8e, 0x5e, 0xe5, 0x38, 0x93, - 0xbe, 0xe3, 0xe8, 0x75, 0xb3, 0x67, 0x72, 0xb3, 0x1f, 0xff, 0x17, 0x00, 0x00, 0xff, 0xff, 0x6c, - 0xba, 0xa8, 0x25, 0x06, 0x0b, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad.pb.go deleted file mode 100644 index 85974d0f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad.pb.go +++ /dev/null @@ -1,569 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/ad.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v1/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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"` - // A list of final app URLs that will be used on mobile if the user has the - // specific app installed. - FinalAppUrls []*common.FinalAppUrl `protobuf:"bytes,35,rep,name=final_app_urls,json=finalAppUrls,proto3" json:"final_app_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.v1.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.v1.enums.DeviceEnum_Device" json:"device_preference,omitempty"` - // Additional URLs for the ad that are tagged with a unique identifier that - // can be referenced from other fields in the ad. - UrlCollections []*common.UrlCollection `protobuf:"bytes,26,rep,name=url_collections,json=urlCollections,proto3" json:"url_collections,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"` - // If this ad is system managed, then this field will indicate the source. - // This field is read-only. - SystemManagedResourceSource enums.SystemManagedResourceSourceEnum_SystemManagedResourceSource `protobuf:"varint,27,opt,name=system_managed_resource_source,json=systemManagedResourceSource,proto3,enum=google.ads.googleads.v1.enums.SystemManagedResourceSourceEnum_SystemManagedResourceSource" json:"system_managed_resource_source,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_CallOnlyAd - // *Ad_ExpandedDynamicSearchAd - // *Ad_HotelAd - // *Ad_ShoppingSmartAd - // *Ad_ShoppingProductAd - // *Ad_GmailAd - // *Ad_ImageAd - // *Ad_VideoAd - // *Ad_ResponsiveSearchAd - // *Ad_LegacyResponsiveDisplayAd - // *Ad_AppAd - // *Ad_LegacyAppInstallAd - // *Ad_ResponsiveDisplayAd - // *Ad_DisplayUploadAd - // *Ad_AppEngagementAd - // *Ad_ShoppingComparisonListingAd - 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_2cfecfd7772c305a, []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 (m *Ad) XXX_Merge(src proto.Message) { - xxx_messageInfo_Ad.Merge(m, 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) GetFinalAppUrls() []*common.FinalAppUrl { - if m != nil { - return m.FinalAppUrls - } - 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) GetUrlCollections() []*common.UrlCollection { - if m != nil { - return m.UrlCollections - } - return nil -} - -func (m *Ad) GetName() *wrappers.StringValue { - if m != nil { - return m.Name - } - return nil -} - -func (m *Ad) GetSystemManagedResourceSource() enums.SystemManagedResourceSourceEnum_SystemManagedResourceSource { - if m != nil { - return m.SystemManagedResourceSource - } - return enums.SystemManagedResourceSourceEnum_UNSPECIFIED -} - -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_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"` -} - -type Ad_VideoAd struct { - VideoAd *common.VideoAdInfo `protobuf:"bytes,24,opt,name=video_ad,json=videoAd,proto3,oneof"` -} - -type Ad_ResponsiveSearchAd struct { - ResponsiveSearchAd *common.ResponsiveSearchAdInfo `protobuf:"bytes,25,opt,name=responsive_search_ad,json=responsiveSearchAd,proto3,oneof"` -} - -type Ad_LegacyResponsiveDisplayAd struct { - LegacyResponsiveDisplayAd *common.LegacyResponsiveDisplayAdInfo `protobuf:"bytes,28,opt,name=legacy_responsive_display_ad,json=legacyResponsiveDisplayAd,proto3,oneof"` -} - -type Ad_AppAd struct { - AppAd *common.AppAdInfo `protobuf:"bytes,29,opt,name=app_ad,json=appAd,proto3,oneof"` -} - -type Ad_LegacyAppInstallAd struct { - LegacyAppInstallAd *common.LegacyAppInstallAdInfo `protobuf:"bytes,30,opt,name=legacy_app_install_ad,json=legacyAppInstallAd,proto3,oneof"` -} - -type Ad_ResponsiveDisplayAd struct { - ResponsiveDisplayAd *common.ResponsiveDisplayAdInfo `protobuf:"bytes,31,opt,name=responsive_display_ad,json=responsiveDisplayAd,proto3,oneof"` -} - -type Ad_DisplayUploadAd struct { - DisplayUploadAd *common.DisplayUploadAdInfo `protobuf:"bytes,33,opt,name=display_upload_ad,json=displayUploadAd,proto3,oneof"` -} - -type Ad_AppEngagementAd struct { - AppEngagementAd *common.AppEngagementAdInfo `protobuf:"bytes,34,opt,name=app_engagement_ad,json=appEngagementAd,proto3,oneof"` -} - -type Ad_ShoppingComparisonListingAd struct { - ShoppingComparisonListingAd *common.ShoppingComparisonListingAdInfo `protobuf:"bytes,36,opt,name=shopping_comparison_listing_ad,json=shoppingComparisonListingAd,proto3,oneof"` -} - -func (*Ad_TextAd) isAd_AdData() {} - -func (*Ad_ExpandedTextAd) 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 (*Ad_VideoAd) isAd_AdData() {} - -func (*Ad_ResponsiveSearchAd) isAd_AdData() {} - -func (*Ad_LegacyResponsiveDisplayAd) isAd_AdData() {} - -func (*Ad_AppAd) isAd_AdData() {} - -func (*Ad_LegacyAppInstallAd) isAd_AdData() {} - -func (*Ad_ResponsiveDisplayAd) isAd_AdData() {} - -func (*Ad_DisplayUploadAd) isAd_AdData() {} - -func (*Ad_AppEngagementAd) isAd_AdData() {} - -func (*Ad_ShoppingComparisonListingAd) 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) 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 -} - -func (m *Ad) GetVideoAd() *common.VideoAdInfo { - if x, ok := m.GetAdData().(*Ad_VideoAd); ok { - return x.VideoAd - } - return nil -} - -func (m *Ad) GetResponsiveSearchAd() *common.ResponsiveSearchAdInfo { - if x, ok := m.GetAdData().(*Ad_ResponsiveSearchAd); ok { - return x.ResponsiveSearchAd - } - return nil -} - -func (m *Ad) GetLegacyResponsiveDisplayAd() *common.LegacyResponsiveDisplayAdInfo { - if x, ok := m.GetAdData().(*Ad_LegacyResponsiveDisplayAd); ok { - return x.LegacyResponsiveDisplayAd - } - return nil -} - -func (m *Ad) GetAppAd() *common.AppAdInfo { - if x, ok := m.GetAdData().(*Ad_AppAd); ok { - return x.AppAd - } - return nil -} - -func (m *Ad) GetLegacyAppInstallAd() *common.LegacyAppInstallAdInfo { - if x, ok := m.GetAdData().(*Ad_LegacyAppInstallAd); ok { - return x.LegacyAppInstallAd - } - return nil -} - -func (m *Ad) GetResponsiveDisplayAd() *common.ResponsiveDisplayAdInfo { - if x, ok := m.GetAdData().(*Ad_ResponsiveDisplayAd); ok { - return x.ResponsiveDisplayAd - } - return nil -} - -func (m *Ad) GetDisplayUploadAd() *common.DisplayUploadAdInfo { - if x, ok := m.GetAdData().(*Ad_DisplayUploadAd); ok { - return x.DisplayUploadAd - } - return nil -} - -func (m *Ad) GetAppEngagementAd() *common.AppEngagementAdInfo { - if x, ok := m.GetAdData().(*Ad_AppEngagementAd); ok { - return x.AppEngagementAd - } - return nil -} - -func (m *Ad) GetShoppingComparisonListingAd() *common.ShoppingComparisonListingAdInfo { - if x, ok := m.GetAdData().(*Ad_ShoppingComparisonListingAd); ok { - return x.ShoppingComparisonListingAd - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Ad) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Ad_TextAd)(nil), - (*Ad_ExpandedTextAd)(nil), - (*Ad_CallOnlyAd)(nil), - (*Ad_ExpandedDynamicSearchAd)(nil), - (*Ad_HotelAd)(nil), - (*Ad_ShoppingSmartAd)(nil), - (*Ad_ShoppingProductAd)(nil), - (*Ad_GmailAd)(nil), - (*Ad_ImageAd)(nil), - (*Ad_VideoAd)(nil), - (*Ad_ResponsiveSearchAd)(nil), - (*Ad_LegacyResponsiveDisplayAd)(nil), - (*Ad_AppAd)(nil), - (*Ad_LegacyAppInstallAd)(nil), - (*Ad_ResponsiveDisplayAd)(nil), - (*Ad_DisplayUploadAd)(nil), - (*Ad_AppEngagementAd)(nil), - (*Ad_ShoppingComparisonListingAd)(nil), - } -} - -func init() { - proto.RegisterType((*Ad)(nil), "google.ads.googleads.v1.resources.Ad") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/ad.proto", fileDescriptor_2cfecfd7772c305a) -} - -var fileDescriptor_2cfecfd7772c305a = []byte{ - // 1216 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x97, 0xdd, 0x6e, 0xdb, 0x36, - 0x1b, 0xc7, 0x5f, 0xbb, 0x6d, 0xf2, 0x96, 0xed, 0xf2, 0xc1, 0x34, 0xab, 0x9a, 0x64, 0x5d, 0xdb, - 0xad, 0x40, 0xd7, 0x62, 0x72, 0x93, 0xae, 0x1d, 0xe0, 0xa2, 0xd8, 0xe4, 0x26, 0x6b, 0x32, 0xb4, - 0x98, 0x67, 0xd7, 0x3e, 0x28, 0xb2, 0x09, 0x8c, 0x48, 0x2b, 0x5a, 0x29, 0x92, 0x20, 0x25, 0xaf, - 0xde, 0xd1, 0x8e, 0x76, 0x1b, 0x03, 0x76, 0xb8, 0x4b, 0xd9, 0xa5, 0xec, 0x6c, 0xc0, 0x2e, 0x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 0xb7, 0x0f, 0x5d, 0xcc, 0xdf, 0xcd, 0xbb, 0x76, 0xa0, 0xdd, - 0x0e, 0xb0, 0x6a, 0xb7, 0x5d, 0x54, 0xbb, 0x3d, 0xdc, 0x6e, 0xb7, 0x5d, 0xdc, 0xd1, 0x82, 0x49, - 0xf6, 0xd1, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x27, 0x6c, 0xba, 0x2d, 0xef, 0x0d, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group.pb.go deleted file mode 100644 index 9fc7fcec..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group.pb.go +++ /dev/null @@ -1,386 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/ad_group.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v1/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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.v1.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.v1.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.v1.enums.AdGroupAdRotationModeEnum_AdGroupAdRotationMode" json:"ad_rotation_mode,omitempty"` - // For draft or experiment ad groups, this field is the resource name of the - // base ad group from which this ad group was created. If a draft or - // experiment ad group does not have a base ad group, then this field is null. - // - // For base ad groups, this field equals the ad group resource name. - // - // This field is read-only. - BaseAdGroup *wrappers.StringValue `protobuf:"bytes,18,opt,name=base_ad_group,json=baseAdGroup,proto3" json:"base_ad_group,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 CPA (cost-per-acquisition). - TargetCpaMicros *wrappers.Int64Value `protobuf:"bytes,27,opt,name=target_cpa_micros,json=targetCpaMicros,proto3" json:"target_cpa_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"` - // Average amount in micros that the advertiser is willing to pay for every - // thousand times the ad is shown. - TargetCpmMicros *wrappers.Int64Value `protobuf:"bytes,26,opt,name=target_cpm_micros,json=targetCpmMicros,proto3" json:"target_cpm_micros,omitempty"` - // The target ROAS (return-on-ad-spend) 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. - TargetRoas *wrappers.DoubleValue `protobuf:"bytes,30,opt,name=target_roas,json=targetRoas,proto3" json:"target_roas,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.v1.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"` - // Setting for targeting related features. - TargetingSetting *common.TargetingSetting `protobuf:"bytes,25,opt,name=targeting_setting,json=targetingSetting,proto3" json:"targeting_setting,omitempty"` - // The effective target CPA (cost-per-acquisition). - // This field is read-only. - EffectiveTargetCpaMicros *wrappers.Int64Value `protobuf:"bytes,28,opt,name=effective_target_cpa_micros,json=effectiveTargetCpaMicros,proto3" json:"effective_target_cpa_micros,omitempty"` - // Source of the effective target CPA. - // This field is read-only. - EffectiveTargetCpaSource enums.BiddingSourceEnum_BiddingSource `protobuf:"varint,29,opt,name=effective_target_cpa_source,json=effectiveTargetCpaSource,proto3,enum=google.ads.googleads.v1.enums.BiddingSourceEnum_BiddingSource" json:"effective_target_cpa_source,omitempty"` - // The effective target ROAS (return-on-ad-spend). - // This field is read-only. - EffectiveTargetRoas *wrappers.DoubleValue `protobuf:"bytes,31,opt,name=effective_target_roas,json=effectiveTargetRoas,proto3" json:"effective_target_roas,omitempty"` - // Source of the effective target ROAS. - // This field is read-only. - EffectiveTargetRoasSource enums.BiddingSourceEnum_BiddingSource `protobuf:"varint,32,opt,name=effective_target_roas_source,json=effectiveTargetRoasSource,proto3,enum=google.ads.googleads.v1.enums.BiddingSourceEnum_BiddingSource" json:"effective_target_roas_source,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_57dce8114718594f, []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 (m *AdGroup) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroup.Merge(m, 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) GetBaseAdGroup() *wrappers.StringValue { - if m != nil { - return m.BaseAdGroup - } - return nil -} - -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) GetTargetCpaMicros() *wrappers.Int64Value { - if m != nil { - return m.TargetCpaMicros - } - return nil -} - -func (m *AdGroup) GetCpvBidMicros() *wrappers.Int64Value { - if m != nil { - return m.CpvBidMicros - } - return nil -} - -func (m *AdGroup) GetTargetCpmMicros() *wrappers.Int64Value { - if m != nil { - return m.TargetCpmMicros - } - return nil -} - -func (m *AdGroup) GetTargetRoas() *wrappers.DoubleValue { - if m != nil { - return m.TargetRoas - } - 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 (m *AdGroup) GetTargetingSetting() *common.TargetingSetting { - if m != nil { - return m.TargetingSetting - } - return nil -} - -func (m *AdGroup) GetEffectiveTargetCpaMicros() *wrappers.Int64Value { - if m != nil { - return m.EffectiveTargetCpaMicros - } - return nil -} - -func (m *AdGroup) GetEffectiveTargetCpaSource() enums.BiddingSourceEnum_BiddingSource { - if m != nil { - return m.EffectiveTargetCpaSource - } - return enums.BiddingSourceEnum_UNSPECIFIED -} - -func (m *AdGroup) GetEffectiveTargetRoas() *wrappers.DoubleValue { - if m != nil { - return m.EffectiveTargetRoas - } - return nil -} - -func (m *AdGroup) GetEffectiveTargetRoasSource() enums.BiddingSourceEnum_BiddingSource { - if m != nil { - return m.EffectiveTargetRoasSource - } - return enums.BiddingSourceEnum_UNSPECIFIED -} - -func init() { - proto.RegisterType((*AdGroup)(nil), "google.ads.googleads.v1.resources.AdGroup") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/ad_group.proto", fileDescriptor_57dce8114718594f) -} - -var fileDescriptor_57dce8114718594f = []byte{ - // 970 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x96, 0xdd, 0x6e, 0x23, 0x35, - 0x14, 0xc7, 0x95, 0xb4, 0x14, 0x70, 0xdb, 0x6c, 0x77, 0x4a, 0x97, 0x69, 0x1b, 0x76, 0xb3, 0xa0, - 0x95, 0x2a, 0x21, 0x4d, 0x9a, 0x2e, 0x2c, 0x28, 0xb0, 0x88, 0xa4, 0x5d, 0x0a, 0x48, 0x5b, 0xa2, - 0x49, 0x37, 0x17, 0xab, 0xa2, 0x91, 0x33, 0x76, 0x46, 0x16, 0x33, 0x63, 0xcb, 0xf6, 0x84, 0x16, - 0x09, 0x71, 0xc1, 0x15, 0xaf, 0xc1, 0x25, 0xf7, 0xbc, 0x04, 0x8f, 0xc2, 0x1b, 0x70, 0x87, 0xc6, - 0x1f, 0xd3, 0x24, 0x6d, 0x3a, 0x83, 0xc4, 0x9d, 0xc7, 0x3e, 0xff, 0x9f, 0xcf, 0x39, 0x3e, 0xc7, - 0x1e, 0x70, 0x18, 0x51, 0x1a, 0xc5, 0xb8, 0x0d, 0x91, 0x68, 0xeb, 0x61, 0x3e, 0x9a, 0x76, 0xda, - 0x1c, 0x0b, 0x9a, 0xf1, 0x10, 0x8b, 0x36, 0x44, 0x41, 0xc4, 0x69, 0xc6, 0x3c, 0xc6, 0xa9, 0xa4, - 0xce, 0x63, 0x6d, 0xe6, 0x41, 0x24, 0xbc, 0x42, 0xe1, 0x4d, 0x3b, 0x5e, 0xa1, 0xd8, 0xfb, 0x78, - 0x19, 0x34, 0xa4, 0x49, 0x42, 0xd3, 0x76, 0x98, 0x09, 0x49, 0x93, 0x80, 0x41, 0x0e, 0x13, 0x2c, - 0x31, 0xd7, 0xe4, 0xbd, 0x93, 0x12, 0x19, 0xbe, 0x64, 0x31, 0xe5, 0x98, 0x07, 0x30, 0x93, 0x34, - 0xa0, 0x4c, 0x92, 0x84, 0xfc, 0x84, 0x79, 0x20, 0xb0, 0x94, 0x24, 0x8d, 0x0c, 0xe5, 0x59, 0x09, - 0x45, 0x42, 0x1e, 0xe1, 0xdc, 0x7e, 0x41, 0xf7, 0x7c, 0x99, 0x0e, 0xa7, 0x59, 0x72, 0x9d, 0x85, - 0x00, 0xa2, 0x80, 0x53, 0x09, 0x25, 0xa1, 0x69, 0x90, 0x50, 0x84, 0x8d, 0xfc, 0x69, 0x45, 0xb9, - 0x90, 0x50, 0x66, 0xc2, 0x88, 0x3a, 0x15, 0x45, 0xf2, 0x8a, 0xd9, 0x7d, 0x8e, 0xee, 0x96, 0x8c, - 0x09, 0x42, 0x2a, 0x36, 0x75, 0x14, 0x46, 0xf3, 0xc9, 0xdd, 0x9a, 0xeb, 0x8c, 0x20, 0x92, 0xe0, - 0x54, 0x10, 0x9a, 0x1a, 0x61, 0xd3, 0x0a, 0x19, 0x69, 0xc3, 0x34, 0x35, 0x61, 0x5b, 0xef, 0x1f, - 0x9a, 0x55, 0xf5, 0x35, 0xce, 0x26, 0xed, 0x1f, 0x39, 0x64, 0x0c, 0x73, 0xb3, 0xfe, 0xfe, 0x9f, - 0x5b, 0xe0, 0xcd, 0x1e, 0x3a, 0xcd, 0x23, 0x70, 0x3e, 0x00, 0x9b, 0xb6, 0x3e, 0x82, 0x14, 0x26, - 0xd8, 0xad, 0xb5, 0x6a, 0x07, 0x6f, 0xfb, 0x1b, 0x76, 0xf2, 0x0c, 0x26, 0xd8, 0xf9, 0x10, 0xd4, - 0x09, 0x72, 0x57, 0x5a, 0xb5, 0x83, 0xf5, 0xa3, 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88, 0xc6, 0x30, 0x8d, 0x3c, 0xca, 0xa3, - 0x76, 0x84, 0x53, 0x15, 0xba, 0xfd, 0xf1, 0x61, 0x44, 0xdc, 0xf1, 0xb3, 0xfb, 0x59, 0x31, 0xfa, - 0xbd, 0xbe, 0x72, 0xda, 0xeb, 0xfd, 0x51, 0x7f, 0x7c, 0xaa, 0x91, 0x3d, 0x24, 0x3c, 0x3d, 0xcc, - 0x47, 0xa3, 0x8e, 0xe7, 0x5b, 0xcb, 0xbf, 0xac, 0xcd, 0x45, 0x0f, 0x89, 0x8b, 0xc2, 0xe6, 0x62, - 0xd4, 0xb9, 0x28, 0x6c, 0xfe, 0xae, 0x3f, 0xd1, 0x0b, 0xdd, 0x6e, 0x0f, 0x89, 0x6e, 0xb7, 0xb0, - 0xea, 0x76, 0x47, 0x9d, 0x6e, 0xb7, 0xb0, 0x1b, 0xaf, 0x29, 0x67, 0x9f, 0xfe, 0x1b, 0x00, 0x00, - 0xff, 0xff, 0xa6, 0xb5, 0xc6, 0xc9, 0x98, 0x0b, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_ad.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_ad.pb.go deleted file mode 100644 index 94499ef2..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_ad.pb.go +++ /dev/null @@ -1,225 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/ad_group_ad.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v1/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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.v1.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"` - // Overall ad strength for this ad group ad. - AdStrength enums.AdStrengthEnum_AdStrength `protobuf:"varint,7,opt,name=ad_strength,json=adStrength,proto3,enum=google.ads.googleads.v1.enums.AdStrengthEnum_AdStrength" json:"ad_strength,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_f498dcb629eaef64, []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 (m *AdGroupAd) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupAd.Merge(m, 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 -} - -func (m *AdGroupAd) GetAdStrength() enums.AdStrengthEnum_AdStrength { - if m != nil { - return m.AdStrength - } - return enums.AdStrengthEnum_UNSPECIFIED -} - -// 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.v1.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.v1.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_f498dcb629eaef64, []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 (m *AdGroupAdPolicySummary) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupAdPolicySummary.Merge(m, 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.v1.resources.AdGroupAd") - proto.RegisterType((*AdGroupAdPolicySummary)(nil), "google.ads.googleads.v1.resources.AdGroupAdPolicySummary") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/ad_group_ad.proto", fileDescriptor_f498dcb629eaef64) -} - -var fileDescriptor_f498dcb629eaef64 = []byte{ - // 592 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0xdf, 0x6a, 0xdb, 0x3e, - 0x18, 0xc5, 0xce, 0xef, 0x97, 0xae, 0xca, 0x9a, 0x81, 0x19, 0xc3, 0x94, 0x32, 0xd2, 0x8e, 0x40, - 0xd8, 0x40, 0x5e, 0x52, 0xb6, 0x75, 0xde, 0x95, 0x03, 0x25, 0x63, 0x8c, 0x51, 0x9c, 0x11, 0x58, - 0x09, 0x78, 0x4a, 0xa4, 0x79, 0x86, 0x58, 0x12, 0x92, 0x9d, 0x92, 0xd7, 0xd9, 0xe5, 0xde, 0x60, - 0xaf, 0xb0, 0xc7, 0xd8, 0xe5, 0x5e, 0x61, 0x37, 0xc3, 0x96, 0xe4, 0xc6, 0xed, 0xd2, 0xe4, 0xee, - 0xfb, 0xa4, 0x73, 0xce, 0xf7, 0x47, 0x47, 0xe0, 0x34, 0x66, 0x2c, 0x5e, 0x10, 0x0f, 0x61, 0xe9, - 0xa9, 0xb0, 0x88, 0x96, 0x7d, 0x4f, 0x10, 0xc9, 0x72, 0x31, 0x27, 0xd2, 0x43, 0x38, 0x8a, 0x05, - 0xcb, 0x79, 0x84, 0x30, 0xe4, 0x82, 0x65, 0xcc, 0x39, 0x56, 0x48, 0x88, 0xb0, 0x84, 0x15, 0x09, - 0x2e, 0xfb, 0xb0, 0x22, 0x1d, 0x3e, 0xdb, 0xa4, 0x3b, 0x67, 0x69, 0xca, 0xa8, 0xc7, 0xd9, 0x22, - 0x99, 0xaf, 0x94, 0xde, 0xe1, 0xcb, 0x4d, 0x60, 0x42, 0xf3, 0xb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e, 0xf9, 0x9b, 0x2a, 0xfa, 0x66, 0x37, 0x46, 0x41, 0xf0, - 0xdd, 0x3e, 0x1e, 0x29, 0xc9, 0x00, 0x4b, 0xa8, 0xc2, 0x22, 0x9a, 0xf4, 0x61, 0x68, 0x90, 0x3f, - 0x0d, 0x66, 0x1a, 0x60, 0x39, 0xad, 0x30, 0xd3, 0x49, 0x7f, 0x5a, 0x61, 0x7e, 0xdb, 0x5d, 0x75, - 0xe1, 0xfb, 0x01, 0x96, 0xbe, 0x5f, 0xa1, 0x7c, 0x7f, 0xd2, 0xf7, 0xfd, 0x0a, 0x37, 0x6b, 0x96, - 0xcd, 0x9e, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x31, 0x96, 0x8c, 0xbc, 0xf5, 0x05, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_ad_label.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_ad_label.pb.go deleted file mode 100644 index 7c751cb2..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_ad_label.pb.go +++ /dev/null @@ -1,118 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/ad_group_ad_label.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A relationship between an ad group ad and a label. -type AdGroupAdLabel struct { - // The resource name of the ad group ad label. - // Ad group ad label resource names have the form: - // `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The ad group ad to which the label is attached. - AdGroupAd *wrappers.StringValue `protobuf:"bytes,2,opt,name=ad_group_ad,json=adGroupAd,proto3" json:"ad_group_ad,omitempty"` - // The label assigned to the ad group ad. - Label *wrappers.StringValue `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdGroupAdLabel) Reset() { *m = AdGroupAdLabel{} } -func (m *AdGroupAdLabel) String() string { return proto.CompactTextString(m) } -func (*AdGroupAdLabel) ProtoMessage() {} -func (*AdGroupAdLabel) Descriptor() ([]byte, []int) { - return fileDescriptor_2df918faaa4182f5, []int{0} -} - -func (m *AdGroupAdLabel) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdGroupAdLabel.Unmarshal(m, b) -} -func (m *AdGroupAdLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdGroupAdLabel.Marshal(b, m, deterministic) -} -func (m *AdGroupAdLabel) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupAdLabel.Merge(m, src) -} -func (m *AdGroupAdLabel) XXX_Size() int { - return xxx_messageInfo_AdGroupAdLabel.Size(m) -} -func (m *AdGroupAdLabel) XXX_DiscardUnknown() { - xxx_messageInfo_AdGroupAdLabel.DiscardUnknown(m) -} - -var xxx_messageInfo_AdGroupAdLabel proto.InternalMessageInfo - -func (m *AdGroupAdLabel) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *AdGroupAdLabel) GetAdGroupAd() *wrappers.StringValue { - if m != nil { - return m.AdGroupAd - } - return nil -} - -func (m *AdGroupAdLabel) GetLabel() *wrappers.StringValue { - if m != nil { - return m.Label - } - return nil -} - -func init() { - proto.RegisterType((*AdGroupAdLabel)(nil), "google.ads.googleads.v1.resources.AdGroupAdLabel") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/ad_group_ad_label.proto", fileDescriptor_2df918faaa4182f5) -} - -var fileDescriptor_2df918faaa4182f5 = []byte{ - // 333 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xc1, 0x4a, 0xc3, 0x30, - 0x1c, 0xc6, 0x69, 0x87, 0xc2, 0x3a, 0xf5, 0x50, 0x2f, 0x63, 0x0c, 0xd9, 0x94, 0xc1, 0x4e, 0x09, - 0x9d, 0x27, 0xa3, 0x97, 0xec, 0x32, 0x10, 0x91, 0x31, 0xa1, 0x07, 0x29, 0x94, 0x6c, 0x89, 0xa1, - 0xd0, 0x26, 0x25, 0x69, 0xe7, 0xd5, 0x67, 0xf1, 0x22, 0xf8, 0x28, 0x3e, 0x8a, 0x4f, 0x21, 0x6d, - 0x9a, 0xa0, 0x17, 0xf5, 0xf6, 0xb5, 0xff, 0xdf, 0xf7, 0x7d, 0xff, 0x24, 0xc1, 0x15, 0x97, 0x92, - 0xe7, 0x0c, 0x12, 0xaa, 0xa1, 0x91, 0x8d, 0xda, 0x47, 0x50, 0x31, 0x2d, 0x6b, 0xb5, 0x63, 0x1a, - 0x12, 0x9a, 0x72, 0x25, 0xeb, 0x32, 0x25, 0x34, 0xcd, 0xc9, 0x96, 0xe5, 0xa0, 0x54, 0xb2, 0x92, - 0xe1, 0xd4, 0xf0, 0x80, 0x50, 0x0d, 0x9c, 0x15, 0xec, 0x23, 0xe0, 0xac, 0xa3, 0xb1, 0x4d, 0x2f, - 0x33, 0x48, 0x84, 0x90, 0x15, 0xa9, 0x32, 0x29, 0xb4, 0x09, 0x18, 0x9d, 0x75, 0xd3, 0xf6, 0x6b, - 0x5b, 0x3f, 0xc1, 0x67, 0x45, 0xca, 0x92, 0xa9, 0x6e, 0x7e, 0xfe, 0xe6, 0x05, 0x27, 0x98, 0xae, - 0x9a, 0x6e, 0x4c, 0xef, 0x9a, 0xe6, 0xf0, 0x22, 0x38, 0xb6, 0xe9, 0xa9, 0x20, 0x05, 0x1b, 0x7a, - 0x13, 0x6f, 0xde, 0xdf, 0x1c, 0xd9, 0x9f, 0xf7, 0xa4, 0x60, 0xe1, 0x4d, 0x30, 0xf8, 0xb6, 0xf3, - 0xd0, 0x9f, 0x78, 0xf3, 0xc1, 0x62, 0xdc, 0xed, 0x08, 0x6c, 0x1b, 0x78, 0xa8, 0x54, 0x26, 0x78, - 0x4c, 0xf2, 0x9a, 0x6d, 0xfa, 0xc4, 0xf6, 0x84, 0x8b, 0xe0, 0xa0, 0x3d, 0xe5, 0xb0, 0xf7, 0x0f, - 0x9f, 0x41, 0x97, 0x2f, 0x7e, 0x30, 0xdb, 0xc9, 0x02, 0xfc, 0x79, 0x23, 0xcb, 0xd3, 0x9f, 0x07, - 0x5a, 0x37, 0xa1, 0x6b, 0xef, 0xf1, 0xb6, 0x73, 0x72, 0x99, 0x13, 0xc1, 0x81, 0x54, 0x1c, 0x72, - 0x26, 0xda, 0x4a, 0xfb, 0x2c, 0x65, 0xa6, 0x7f, 0x79, 0xa5, 0x6b, 0xa7, 0x5e, 0xfd, 0xde, 0x0a, - 0xe3, 0x77, 0x7f, 0xba, 0x32, 0x91, 0x98, 0x6a, 0x60, 0x64, 0xa3, 0xe2, 0x08, 0x6c, 0x2c, 0xf9, - 0x61, 0x99, 0x04, 0x53, 0x9d, 0x38, 0x26, 0x89, 0xa3, 0xc4, 0x31, 0x9f, 0xfe, 0xcc, 0x0c, 0x10, - 0xc2, 0x54, 0x23, 0xe4, 0x28, 0x84, 0xe2, 0x08, 0x21, 0xc7, 0x6d, 0x0f, 0xdb, 0x65, 0x2f, 0xbf, - 0x02, 0x00, 0x00, 0xff, 0xff, 0xee, 0x8e, 0x14, 0xdd, 0x51, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_audience_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_audience_view.pb.go deleted file mode 100644 index 93f849b0..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_audience_view.pb.go +++ /dev/null @@ -1,100 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/ad_group_audience_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_bc8817e198a682ff, []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 (m *AdGroupAudienceView) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupAudienceView.Merge(m, 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.v1.resources.AdGroupAudienceView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/ad_group_audience_view.proto", fileDescriptor_bc8817e198a682ff) -} - -var fileDescriptor_bc8817e198a682ff = []byte{ - // 276 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0x4f, 0x4a, 0xc4, 0x30, - 0x14, 0xc6, 0x99, 0x0a, 0x82, 0x45, 0x37, 0xe3, 0x66, 0x10, 0x17, 0x8e, 0x32, 0xe0, 0x2a, 0x21, - 0xb8, 0x8b, 0x20, 0x64, 0x36, 0x05, 0x17, 0x32, 0xcc, 0xa2, 0x0b, 0x29, 0x94, 0xd8, 0x3c, 0x42, - 0x60, 0x9a, 0x57, 0x92, 0xb6, 0x73, 0x02, 0x2f, 0xe2, 0xd2, 0xa3, 0x78, 0x14, 0x4f, 0x21, 0x9d, - 0x4c, 0xb2, 0x12, 0xdd, 0x7d, 0x24, 0xbf, 0xef, 0x0f, 0x2f, 0x7f, 0xd2, 0x88, 0x7a, 0x07, 0x54, - 0x2a, 0x4f, 0x83, 0x9c, 0xd4, 0xc8, 0xa8, 0x03, 0x8f, 0x83, 0x6b, 0xc0, 0x53, 0xa9, 0x6a, 0xed, - 0x70, 0xe8, 0x6a, 0x39, 0x28, 0x03, 0xb6, 0x81, 0x7a, 0x34, 0xb0, 0x27, 0x9d, 0xc3, 0x1e, 0xe7, - 0xcb, 0x60, 0x22, 0x52, 0x79, 0x92, 0xfc, 0x64, 0x64, 0x24, 0xf9, 0xaf, 0xae, 0x63, 0x45, 0x67, - 0xa8, 0xb4, 0x16, 0x7b, 0xd9, 0x1b, 0xb4, 0x3e, 0x04, 0xdc, 0xf2, 0xfc, 0x52, 0xa8, 0x62, 0xca, - 0x17, 0xc7, 0xf8, 0xd2, 0xc0, 0x7e, 0x7e, 0x97, 0x5f, 0xc4, 0x84, 0xda, 0xca, 0x16, 0x16, 0xb3, - 0x9b, 0xd9, 0xfd, 0xd9, 0xf6, 0x3c, 0x3e, 0xbe, 0xc8, 0x16, 0xd6, 0xef, 0x59, 0xbe, 0x6a, 0xb0, - 0x25, 0xff, 0x6e, 0x58, 0x2f, 0x7e, 0xe9, 0xd8, 0x4c, 0xfd, 0x9b, 0xd9, 0xeb, 0xf3, 0xd1, 0xae, - 0x71, 0x27, 0xad, 0x26, 0xe8, 0x34, 0xd5, 0x60, 0x0f, 0xeb, 0xe2, 0x49, 0x3a, 0xe3, 0xff, 0xb8, - 0xd0, 0x63, 0x52, 0x1f, 0xd9, 0x49, 0x21, 0xc4, 0x67, 0xb6, 0x2c, 0x42, 0xa4, 0x50, 0x9e, 0x04, - 0x39, 0xa9, 0x92, 0x91, 0x6d, 0x24, 0xbf, 0x22, 0x53, 0x09, 0xe5, 0xab, 0xc4, 0x54, 0x25, 0xab, - 0x12, 0xf3, 0x9d, 0xad, 0xc2, 0x07, 0xe7, 0x42, 0x79, 0xce, 0x13, 0xc5, 0x79, 0xc9, 0x38, 0x4f, - 0xdc, 0xdb, 0xe9, 0x61, 0xec, 0xc3, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x68, 0xe3, 0x2c, 0x1c, - 0xcd, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_bid_modifier.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_bid_modifier.pb.go deleted file mode 100644 index da8fe542..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_bid_modifier.pb.go +++ /dev/null @@ -1,290 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/ad_group_bid_modifier.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v1/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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.v1.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_14c1022b135ec410, []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 (m *AdGroupBidModifier) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupBidModifier.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*AdGroupBidModifier) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AdGroupBidModifier_HotelDateSelectionType)(nil), - (*AdGroupBidModifier_HotelAdvanceBookingWindow)(nil), - (*AdGroupBidModifier_HotelLengthOfStay)(nil), - (*AdGroupBidModifier_HotelCheckInDay)(nil), - (*AdGroupBidModifier_Device)(nil), - (*AdGroupBidModifier_PreferredContent)(nil), - } -} - -func init() { - proto.RegisterType((*AdGroupBidModifier)(nil), "google.ads.googleads.v1.resources.AdGroupBidModifier") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/ad_group_bid_modifier.proto", fileDescriptor_14c1022b135ec410) -} - -var fileDescriptor_14c1022b135ec410 = []byte{ - // 693 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xdd, 0x6e, 0xd3, 0x48, - 0x14, 0xde, 0xa4, 0xbb, 0xfd, 0x99, 0xa4, 0xbb, 0x5b, 0xef, 0x6a, 0xd7, 0x94, 0x0a, 0xb5, 0xa0, - 0x4a, 0x15, 0x12, 0xb6, 0xd2, 0x16, 0x2a, 0x19, 0x15, 0x48, 0x1a, 0x68, 0x83, 0xf8, 0xa9, 0x12, - 0x14, 0x24, 0x14, 0x69, 0x34, 0xf6, 0x9c, 0x38, 0xa3, 0xc6, 0x33, 0x96, 0x3d, 0x49, 0x94, 0x3b, - 0x2e, 0x78, 0x12, 0x2e, 0xb9, 0xe1, 0x3d, 0x78, 0x14, 0x9e, 0x02, 0x79, 0x66, 0x6c, 0x85, 0xb6, - 0xa1, 0xb9, 0x3b, 0x3e, 0xe7, 0xfb, 0x39, 0xe7, 0x8c, 0x67, 0xd0, 0x71, 0x28, 0x44, 0x38, 0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x76, 0x8e, 0xfc, 0x96, 0x63, 0x7a, 0x75, 0x9a, 0xf6, 0x0a, 0x4c, 0xaf, 0x5b, 0xeb, 0x15, - 0x98, 0xef, 0xe5, 0x5d, 0x5d, 0xf0, 0xbc, 0x3a, 0x4d, 0x3d, 0xaf, 0x40, 0x79, 0x5e, 0xb7, 0xe6, - 0x79, 0x05, 0xce, 0x5f, 0x56, 0xcd, 0x1e, 0xfc, 0x08, 0x00, 0x00, 0xff, 0xff, 0x36, 0x2c, 0x67, - 0x25, 0x49, 0x06, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_criterion.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_criterion.pb.go deleted file mode 100644 index bed8111d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_criterion.pb.go +++ /dev/null @@ -1,890 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/ad_group_criterion.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v1/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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.v1.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.v1.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"` - // Serving status of the criterion. - SystemServingStatus enums.CriterionSystemServingStatusEnum_CriterionSystemServingStatus `protobuf:"varint,52,opt,name=system_serving_status,json=systemServingStatus,proto3,enum=google.ads.googleads.v1.enums.CriterionSystemServingStatusEnum_CriterionSystemServingStatus" json:"system_serving_status,omitempty"` - // Approval status of the criterion. - ApprovalStatus enums.AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus `protobuf:"varint,53,opt,name=approval_status,json=approvalStatus,proto3,enum=google.ads.googleads.v1.enums.AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus" json:"approval_status,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.v1.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.v1.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.v1.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.v1.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 list of possible final mobile URLs after all cross-domain redirects. - FinalMobileUrls []*wrappers.StringValue `protobuf:"bytes,51,rep,name=final_mobile_urls,json=finalMobileUrls,proto3" json:"final_mobile_urls,omitempty"` - // URL template for appending params to final URL. - FinalUrlSuffix *wrappers.StringValue `protobuf:"bytes,50,opt,name=final_url_suffix,json=finalUrlSuffix,proto3" json:"final_url_suffix,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_MobileAppCategory - // *AdGroupCriterion_MobileApplication - // *AdGroupCriterion_ListingGroup - // *AdGroupCriterion_AgeRange - // *AdGroupCriterion_Gender - // *AdGroupCriterion_IncomeRange - // *AdGroupCriterion_ParentalStatus - // *AdGroupCriterion_UserList - // *AdGroupCriterion_YoutubeVideo - // *AdGroupCriterion_YoutubeChannel - // *AdGroupCriterion_Topic - // *AdGroupCriterion_UserInterest - // *AdGroupCriterion_Webpage - // *AdGroupCriterion_AppPaymentModel - // *AdGroupCriterion_CustomAffinity - // *AdGroupCriterion_CustomIntent - 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_762d1b0ee6b4b0d4, []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 (m *AdGroupCriterion) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupCriterion.Merge(m, 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) GetSystemServingStatus() enums.CriterionSystemServingStatusEnum_CriterionSystemServingStatus { - if m != nil { - return m.SystemServingStatus - } - return enums.CriterionSystemServingStatusEnum_UNSPECIFIED -} - -func (m *AdGroupCriterion) GetApprovalStatus() enums.AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus { - if m != nil { - return m.ApprovalStatus - } - return enums.AdGroupCriterionApprovalStatusEnum_UNSPECIFIED -} - -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) GetFinalMobileUrls() []*wrappers.StringValue { - if m != nil { - return m.FinalMobileUrls - } - return nil -} - -func (m *AdGroupCriterion) GetFinalUrlSuffix() *wrappers.StringValue { - if m != nil { - return m.FinalUrlSuffix - } - 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_MobileAppCategory struct { - MobileAppCategory *common.MobileAppCategoryInfo `protobuf:"bytes,29,opt,name=mobile_app_category,json=mobileAppCategory,proto3,oneof"` -} - -type AdGroupCriterion_MobileApplication struct { - MobileApplication *common.MobileApplicationInfo `protobuf:"bytes,30,opt,name=mobile_application,json=mobileApplication,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"` -} - -type AdGroupCriterion_Webpage struct { - Webpage *common.WebpageInfo `protobuf:"bytes,46,opt,name=webpage,proto3,oneof"` -} - -type AdGroupCriterion_AppPaymentModel struct { - AppPaymentModel *common.AppPaymentModelInfo `protobuf:"bytes,47,opt,name=app_payment_model,json=appPaymentModel,proto3,oneof"` -} - -type AdGroupCriterion_CustomAffinity struct { - CustomAffinity *common.CustomAffinityInfo `protobuf:"bytes,48,opt,name=custom_affinity,json=customAffinity,proto3,oneof"` -} - -type AdGroupCriterion_CustomIntent struct { - CustomIntent *common.CustomIntentInfo `protobuf:"bytes,49,opt,name=custom_intent,json=customIntent,proto3,oneof"` -} - -func (*AdGroupCriterion_Keyword) isAdGroupCriterion_Criterion() {} - -func (*AdGroupCriterion_Placement) isAdGroupCriterion_Criterion() {} - -func (*AdGroupCriterion_MobileAppCategory) isAdGroupCriterion_Criterion() {} - -func (*AdGroupCriterion_MobileApplication) 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 (*AdGroupCriterion_Webpage) isAdGroupCriterion_Criterion() {} - -func (*AdGroupCriterion_AppPaymentModel) isAdGroupCriterion_Criterion() {} - -func (*AdGroupCriterion_CustomAffinity) isAdGroupCriterion_Criterion() {} - -func (*AdGroupCriterion_CustomIntent) 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) GetMobileAppCategory() *common.MobileAppCategoryInfo { - if x, ok := m.GetCriterion().(*AdGroupCriterion_MobileAppCategory); ok { - return x.MobileAppCategory - } - return nil -} - -func (m *AdGroupCriterion) GetMobileApplication() *common.MobileApplicationInfo { - if x, ok := m.GetCriterion().(*AdGroupCriterion_MobileApplication); ok { - return x.MobileApplication - } - 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 -} - -func (m *AdGroupCriterion) GetWebpage() *common.WebpageInfo { - if x, ok := m.GetCriterion().(*AdGroupCriterion_Webpage); ok { - return x.Webpage - } - return nil -} - -func (m *AdGroupCriterion) GetAppPaymentModel() *common.AppPaymentModelInfo { - if x, ok := m.GetCriterion().(*AdGroupCriterion_AppPaymentModel); ok { - return x.AppPaymentModel - } - return nil -} - -func (m *AdGroupCriterion) GetCustomAffinity() *common.CustomAffinityInfo { - if x, ok := m.GetCriterion().(*AdGroupCriterion_CustomAffinity); ok { - return x.CustomAffinity - } - return nil -} - -func (m *AdGroupCriterion) GetCustomIntent() *common.CustomIntentInfo { - if x, ok := m.GetCriterion().(*AdGroupCriterion_CustomIntent); ok { - return x.CustomIntent - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AdGroupCriterion) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AdGroupCriterion_Keyword)(nil), - (*AdGroupCriterion_Placement)(nil), - (*AdGroupCriterion_MobileAppCategory)(nil), - (*AdGroupCriterion_MobileApplication)(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), - (*AdGroupCriterion_Webpage)(nil), - (*AdGroupCriterion_AppPaymentModel)(nil), - (*AdGroupCriterion_CustomAffinity)(nil), - (*AdGroupCriterion_CustomIntent)(nil), - } -} - -// 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.v1.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.v1.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.v1.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_762d1b0ee6b4b0d4, []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 (m *AdGroupCriterion_QualityInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupCriterion_QualityInfo.Merge(m, 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"` - // Estimate of how many clicks per week you might get by changing your - // keyword bid to the value in first_position_cpc_micros. - EstimatedAddClicksAtFirstPositionCpc *wrappers.Int64Value `protobuf:"bytes,4,opt,name=estimated_add_clicks_at_first_position_cpc,json=estimatedAddClicksAtFirstPositionCpc,proto3" json:"estimated_add_clicks_at_first_position_cpc,omitempty"` - // Estimate of how your cost per week might change when changing your - // keyword bid to the value in first_position_cpc_micros. - EstimatedAddCostAtFirstPositionCpc *wrappers.Int64Value `protobuf:"bytes,5,opt,name=estimated_add_cost_at_first_position_cpc,json=estimatedAddCostAtFirstPositionCpc,proto3" json:"estimated_add_cost_at_first_position_cpc,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_762d1b0ee6b4b0d4, []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 (m *AdGroupCriterion_PositionEstimates) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupCriterion_PositionEstimates.Merge(m, 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 (m *AdGroupCriterion_PositionEstimates) GetEstimatedAddClicksAtFirstPositionCpc() *wrappers.Int64Value { - if m != nil { - return m.EstimatedAddClicksAtFirstPositionCpc - } - return nil -} - -func (m *AdGroupCriterion_PositionEstimates) GetEstimatedAddCostAtFirstPositionCpc() *wrappers.Int64Value { - if m != nil { - return m.EstimatedAddCostAtFirstPositionCpc - } - return nil -} - -func init() { - proto.RegisterType((*AdGroupCriterion)(nil), "google.ads.googleads.v1.resources.AdGroupCriterion") - proto.RegisterType((*AdGroupCriterion_QualityInfo)(nil), "google.ads.googleads.v1.resources.AdGroupCriterion.QualityInfo") - proto.RegisterType((*AdGroupCriterion_PositionEstimates)(nil), "google.ads.googleads.v1.resources.AdGroupCriterion.PositionEstimates") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/ad_group_criterion.proto", fileDescriptor_762d1b0ee6b4b0d4) -} - -var fileDescriptor_762d1b0ee6b4b0d4 = []byte{ - // 1706 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x98, 0xdd, 0x72, 0x1b, 0xb7, - 0x15, 0xc7, 0x4b, 0x29, 0x76, 0x2c, 0x48, 0x96, 0x2d, 0xc8, 0x52, 0x11, 0xc5, 0x4d, 0x65, 0x27, - 0x6e, 0x14, 0x27, 0x26, 0x23, 0x39, 0x4e, 0x3b, 0xcc, 0x34, 0x29, 0xc5, 0xd8, 0xb2, 0x9a, 0x2a, - 0x61, 0x28, 0x59, 0x9e, 0x76, 0xd4, 0xd9, 0x82, 0xbb, 0xe0, 0x1a, 0xe3, 0xdd, 0x05, 0x0c, 0x60, - 0xa9, 0xb2, 0x17, 0x9d, 0x69, 0x2f, 0x3a, 0xd3, 0xbb, 0x3e, 0x43, 0x2f, 0xfb, 0x1a, 0xbd, 0xeb, - 0x4d, 0xdf, 0xa3, 0x0f, 0xd0, 0xeb, 0x0e, 0xbe, 0xc8, 0x25, 0x29, 0x72, 0xa9, 0x8e, 0xee, 0x76, - 0xcf, 0xe2, 0xff, 0x3b, 0x07, 0x07, 0x67, 0xb1, 0x07, 0x0b, 0xea, 0x31, 0x63, 0x71, 0x42, 0x6a, - 0x38, 0x92, 0x35, 0x7b, 0xa9, 0xaf, 0x7a, 0xbb, 0x35, 0x41, 0x24, 0xcb, 0x45, 0x48, 0x64, 0x0d, - 0x47, 0x41, 0x2c, 0x58, 0xce, 0x83, 0x50, 0x50, 0x45, 0x04, 0x65, 0x59, 0x95, 0x0b, 0xa6, 0x18, - 0xbc, 0x67, 0x05, 0x55, 0x1c, 0xc9, 0xea, 0x40, 0x5b, 0xed, 0xed, 0x56, 0x07, 0xda, 0xad, 0x47, - 0xd3, 0xf0, 0x21, 0x4b, 0x53, 0x96, 0xd5, 0x1c, 0x12, 0x5b, 0xe2, 0xd6, 0x93, 0xb2, 0xe1, 0xb9, - 0x54, 0x2c, 0x0d, 0x38, 0x16, 0x38, 0x25, 0x8a, 0x08, 0x27, 0x7b, 0x36, 0x4d, 0x46, 0xb2, 0x3c, - 0xbd, 0x68, 0x02, 0x01, 0xe6, 0x5c, 0xb0, 0x1e, 0x4e, 0x02, 0xa9, 0xb0, 0xca, 0xa5, 0xe3, 0xfc, - 0xfc, 0xd2, 0x9c, 0x11, 0xf9, 0xde, 0x6c, 0x79, 0x87, 0x46, 0x11, 0xcd, 0xe2, 0xc0, 0xe6, 0xc6, - 0x69, 0x9a, 0xb3, 0x35, 0x05, 0x4f, 0x7d, 0xa9, 0x48, 0x1a, 0x48, 0x22, 0x7a, 0x06, 0x72, 0x09, - 0xc7, 0x43, 0x88, 0xea, 0x73, 0xef, 0xf8, 0x67, 0xb3, 0x35, 0x6f, 0x72, 0x9c, 0x50, 0xd5, 0x0f, - 0x64, 0xc8, 0x04, 0x09, 0x3a, 0x79, 0xf8, 0x9a, 0x28, 0xa7, 0xbc, 0xeb, 0x95, 0x9c, 0xd6, 0x70, - 0x96, 0x31, 0x85, 0x15, 0x65, 0x99, 0x8f, 0xe5, 0x3d, 0xf7, 0xd4, 0xdc, 0x75, 0xf2, 0x6e, 0xed, - 0x5c, 0x60, 0xce, 0x89, 0x70, 0x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91, 0x91, 0x18, 0x2b, 0xda, - 0x23, 0xe8, 0xc7, 0x26, 0x98, 0xad, 0x89, 0x60, 0xf6, 0x19, 0x4b, 0x6c, 0x28, 0x83, 0xb1, 0xf0, - 0x6f, 0x15, 0xb0, 0x71, 0x61, 0x61, 0xa3, 0xcf, 0x4c, 0x74, 0x67, 0xf3, 0x46, 0x77, 0x6c, 0x20, - 0xc7, 0x96, 0x51, 0x58, 0xa8, 0x59, 0x03, 0xda, 0xeb, 0x72, 0xd2, 0x08, 0xff, 0x5a, 0x01, 0xb7, - 0xc6, 0x76, 0x07, 0xf4, 0xc4, 0x04, 0xf3, 0xbb, 0x4b, 0xd6, 0x4b, 0xc3, 0x51, 0x66, 0xd4, 0xcd, - 0xe8, 0x90, 0xf6, 0x2a, 0x1e, 0xb9, 0x87, 0x5f, 0x81, 0x95, 0x0e, 0x8d, 0x82, 0x94, 0x45, 0xb4, - 0x4b, 0x89, 0x40, 0x9f, 0x4c, 0x59, 0xe7, 0xaf, 0x59, 0xde, 0x49, 0x88, 0x2b, 0xf9, 0x0e, 0x8d, - 0x8e, 0x9c, 0x00, 0x36, 0xc0, 0x6a, 0xc8, 0xc3, 0xc0, 0x40, 0x68, 0x28, 0x98, 0x44, 0xb7, 0xcb, - 0x5f, 0x9a, 0x95, 0x90, 0x87, 0xfb, 0x34, 0x3a, 0x32, 0x02, 0x8b, 0x48, 0x8b, 0x88, 0xb5, 0xb9, - 0x10, 0xe9, 0x18, 0xa2, 0x57, 0x44, 0xa0, 0xb9, 0x10, 0xbd, 0x21, 0xa2, 0x05, 0x36, 0x39, 0x11, - 0x21, 0xc9, 0x54, 0x30, 0x36, 0xa1, 0x7b, 0xe5, 0xa8, 0x75, 0x27, 0x6d, 0x16, 0xe7, 0x75, 0x02, - 0x10, 0xe9, 0x76, 0x49, 0xa8, 0xeb, 0x70, 0x9c, 0x09, 0xcb, 0x99, 0x1b, 0x03, 0xf1, 0x2c, 0xea, - 0x48, 0xde, 0xd6, 0x2f,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e6, 0xf6, 0x1d, 0xef, 0xa7, 0xf8, - 0x0c, 0xfe, 0xa9, 0x02, 0x10, 0x67, 0x52, 0x05, 0x61, 0x42, 0xc3, 0xd7, 0x63, 0x21, 0x2c, 0x5e, - 0x71, 0x08, 0x1b, 0xda, 0x53, 0x53, 0x3b, 0x1a, 0x89, 0xe1, 0x0f, 0xe0, 0x8e, 0x24, 0x58, 0x84, - 0xaf, 0x02, 0x2e, 0x48, 0x44, 0x43, 0x45, 0xa2, 0x20, 0x54, 0xc2, 0xfc, 0x67, 0xb8, 0x4a, 0xf7, - 0xd0, 0x7a, 0x69, 0x79, 0x27, 0x4d, 0x25, 0xb6, 0xfe, 0xbb, 0x08, 0xd6, 0x26, 0xfa, 0x31, 0xf8, - 0x2d, 0xd8, 0xe8, 0x52, 0x21, 0x55, 0xa0, 0x5f, 0x08, 0xd3, 0x73, 0xba, 0x03, 0x44, 0xa5, 0xfc, - 0x00, 0x01, 0x8d, 0xb2, 0x85, 0x63, 0xdd, 0xc0, 0xbb, 0x63, 0xc3, 0x29, 0x78, 0xc7, 0xf1, 0x7c, - 0x23, 0x59, 0x60, 0x2e, 0x94, 0x33, 0x37, 0x2d, 0xd3, 0x89, 0x87, 0xdc, 0xef, 0xc0, 0xa6, 0x62, - 0x3c, 0x60, 0xdd, 0x89, 0x40, 0x17, 0xe7, 0x08, 0x54, 0x31, 0xfe, 0x5d, 0x77, 0x34, 0xd0, 0x1c, - 0x3c, 0xf4, 0x2d, 0x6e, 0x14, 0xe0, 0x28, 0xb2, 0x65, 0x21, 0x03, 0xac, 0x82, 0xc9, 0x09, 0xb8, - 0x1f, 0x41, 0x33, 0x9d, 0x7c, 0x30, 0xc0, 0x35, 0xa2, 0xc8, 0x2c, 0xbd, 0x6c, 0xa8, 0x67, 0x63, - 0xb3, 0x81, 0x6f, 0xc0, 0xce, 0x98, 0x5b, 0x5d, 0x92, 0x17, 0x3b, 0xbd, 0x56, 0xee, 0xf4, 0xfe, - 0x88, 0x53, 0x26, 0xd5, 0xa4, 0xcb, 0xfd, 0x65, 0xb0, 0x34, 0xf8, 0x9b, 0xb6, 0xff, 0xe7, 0x05, - 0xf0, 0x20, 0x64, 0x69, 0x79, 0x33, 0xbf, 0xbf, 0x31, 0xde, 0xcd, 0xb7, 0xb4, 0xff, 0x56, 0xe5, - 0x37, 0xbf, 0x74, 0xda, 0x98, 0x25, 0x38, 0x8b, 0xab, 0x4c, 0xc4, 0xb5, 0x98, 0x64, 0x26, 0x3a, - 0xff, 0x43, 0x92, 0x53, 0x39, 0xe3, 0xc7, 0xf4, 0x17, 0x83, 0xab, 0xbf, 0x2f, 0x2c, 0x1e, 0x34, - 0x1a, 0xff, 0x58, 0xb8, 0x77, 0x60, 0x91, 0x8d, 0x48, 0x56, 0xed, 0xa5, 0xbe, 0x3a, 0xdd, 0xad, - 0xb6, 0xfd, 0xc8, 0x7f, 0xf9, 0x31, 0x67, 0x8d, 0x48, 0x9e, 0x0d, 0xc6, 0x9c, 0x9d, 0xee, 0x9e, - 0x0d, 0xc6, 0xfc, 0x67, 0xe1, 0x81, 0x7d, 0x50, 0xaf, 0x37, 0x22, 0x59, 0xaf, 0x0f, 0x46, 0xd5, - 0xeb, 0xa7, 0xbb, 0xf5, 0xfa, 0x60, 0x5c, 0xe7, 0xba, 0x09, 0xf6, 0xf1, 0xff, 0x02, 0x00, 0x00, - 0xff, 0xff, 0x8b, 0x0f, 0xda, 0x5d, 0x44, 0x17, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_criterion_label.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_criterion_label.pb.go deleted file mode 100644 index c2b2465c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_criterion_label.pb.go +++ /dev/null @@ -1,120 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/ad_group_criterion_label.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A relationship between an ad group criterion and a label. -type AdGroupCriterionLabel struct { - // The resource name of the ad group criterion label. - // Ad group criterion label resource names have the form: - // - // `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The ad group criterion to which the label is attached. - AdGroupCriterion *wrappers.StringValue `protobuf:"bytes,2,opt,name=ad_group_criterion,json=adGroupCriterion,proto3" json:"ad_group_criterion,omitempty"` - // The label assigned to the ad group criterion. - Label *wrappers.StringValue `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdGroupCriterionLabel) Reset() { *m = AdGroupCriterionLabel{} } -func (m *AdGroupCriterionLabel) String() string { return proto.CompactTextString(m) } -func (*AdGroupCriterionLabel) ProtoMessage() {} -func (*AdGroupCriterionLabel) Descriptor() ([]byte, []int) { - return fileDescriptor_2165ddac79b87814, []int{0} -} - -func (m *AdGroupCriterionLabel) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdGroupCriterionLabel.Unmarshal(m, b) -} -func (m *AdGroupCriterionLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdGroupCriterionLabel.Marshal(b, m, deterministic) -} -func (m *AdGroupCriterionLabel) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupCriterionLabel.Merge(m, src) -} -func (m *AdGroupCriterionLabel) XXX_Size() int { - return xxx_messageInfo_AdGroupCriterionLabel.Size(m) -} -func (m *AdGroupCriterionLabel) XXX_DiscardUnknown() { - xxx_messageInfo_AdGroupCriterionLabel.DiscardUnknown(m) -} - -var xxx_messageInfo_AdGroupCriterionLabel proto.InternalMessageInfo - -func (m *AdGroupCriterionLabel) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *AdGroupCriterionLabel) GetAdGroupCriterion() *wrappers.StringValue { - if m != nil { - return m.AdGroupCriterion - } - return nil -} - -func (m *AdGroupCriterionLabel) GetLabel() *wrappers.StringValue { - if m != nil { - return m.Label - } - return nil -} - -func init() { - proto.RegisterType((*AdGroupCriterionLabel)(nil), "google.ads.googleads.v1.resources.AdGroupCriterionLabel") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/ad_group_criterion_label.proto", fileDescriptor_2165ddac79b87814) -} - -var fileDescriptor_2165ddac79b87814 = []byte{ - // 342 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xc1, 0x4a, 0xc3, 0x30, - 0x1c, 0xc6, 0x69, 0x87, 0x82, 0x55, 0x41, 0x0a, 0xc2, 0x18, 0x43, 0x36, 0x65, 0xb0, 0x53, 0x42, - 0xe7, 0x2d, 0x5e, 0xec, 0x3c, 0x0c, 0x86, 0xc8, 0x98, 0xd0, 0x83, 0x14, 0x4a, 0xb6, 0xc4, 0x50, - 0x68, 0x93, 0x90, 0xb4, 0xf3, 0x11, 0x7c, 0x0f, 0x8f, 0x3e, 0x83, 0x4f, 0xe0, 0xa3, 0xf8, 0x14, - 0xd2, 0xa6, 0xc9, 0x41, 0x45, 0xbd, 0x7d, 0xed, 0xff, 0x97, 0xef, 0xfb, 0xfe, 0x49, 0x70, 0xcd, - 0x84, 0x60, 0x05, 0x85, 0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b7, 0xc9, 0xf6, 0xe5, 0x64, 0xae, - 0x7f, 0x79, 0xc8, 0x2b, 0xa7, 0x5e, 0xfc, 0xde, 0x22, 0x8e, 0x5f, 0xfd, 0xf1, 0xc2, 0x58, 0xc6, - 0x44, 0x03, 0x23, 0x1b, 0x95, 0x44, 0x60, 0x6d, 0xc9, 0x77, 0xcb, 0xa4, 0x31, 0xd1, 0xa9, 0x63, - 0xd2, 0x24, 0x4a, 0x1d, 0xf3, 0xe1, 0x4f, 0xcc, 0x00, 0xa1, 0x98, 0x68, 0x84, 0x1c, 0x85, 0x50, - 0x12, 0x21, 0xe4, 0xb8, 0xcd, 0x7e, 0x5b, 0xf6, 0xf2, 0x33, 0x00, 0x00, 0xff, 0xff, 0x47, 0x81, - 0x4c, 0x85, 0x74, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_criterion_simulation.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_criterion_simulation.pb.go deleted file mode 100644 index 2057f157..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_criterion_simulation.pb.go +++ /dev/null @@ -1,212 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/ad_group_criterion_simulation.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v1/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// An ad group criterion simulation. Supported combinations of advertising -// channel type, criterion type, simulation type, and simulation modification -// method are detailed below respectively. -// -// SEARCH KEYWORD CPC_BID UNIFORM -type AdGroupCriterionSimulation struct { - // The resource name of the ad group criterion simulation. - // Ad group criterion simulation resource names have the form: - // - // - // `customers/{customer_id}/adGroupCriterionSimulations/{ad_group_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // AdGroup ID of the simulation. - AdGroupId *wrappers.Int64Value `protobuf:"bytes,2,opt,name=ad_group_id,json=adGroupId,proto3" json:"ad_group_id,omitempty"` - // Criterion ID of the simulation. - CriterionId *wrappers.Int64Value `protobuf:"bytes,3,opt,name=criterion_id,json=criterionId,proto3" json:"criterion_id,omitempty"` - // The field that the simulation modifies. - Type enums.SimulationTypeEnum_SimulationType `protobuf:"varint,4,opt,name=type,proto3,enum=google.ads.googleads.v1.enums.SimulationTypeEnum_SimulationType" json:"type,omitempty"` - // How the simulation modifies the field. - ModificationMethod enums.SimulationModificationMethodEnum_SimulationModificationMethod `protobuf:"varint,5,opt,name=modification_method,json=modificationMethod,proto3,enum=google.ads.googleads.v1.enums.SimulationModificationMethodEnum_SimulationModificationMethod" json:"modification_method,omitempty"` - // First day on which the simulation is based, in YYYY-MM-DD format. - StartDate *wrappers.StringValue `protobuf:"bytes,6,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` - // Last day on which the simulation is based, in YYYY-MM-DD format. - EndDate *wrappers.StringValue `protobuf:"bytes,7,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` - // List of simulation points. - // - // Types that are valid to be assigned to PointList: - // *AdGroupCriterionSimulation_CpcBidPointList - PointList isAdGroupCriterionSimulation_PointList `protobuf_oneof:"point_list"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdGroupCriterionSimulation) Reset() { *m = AdGroupCriterionSimulation{} } -func (m *AdGroupCriterionSimulation) String() string { return proto.CompactTextString(m) } -func (*AdGroupCriterionSimulation) ProtoMessage() {} -func (*AdGroupCriterionSimulation) Descriptor() ([]byte, []int) { - return fileDescriptor_f859d33f99a752e1, []int{0} -} - -func (m *AdGroupCriterionSimulation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdGroupCriterionSimulation.Unmarshal(m, b) -} -func (m *AdGroupCriterionSimulation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdGroupCriterionSimulation.Marshal(b, m, deterministic) -} -func (m *AdGroupCriterionSimulation) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupCriterionSimulation.Merge(m, src) -} -func (m *AdGroupCriterionSimulation) XXX_Size() int { - return xxx_messageInfo_AdGroupCriterionSimulation.Size(m) -} -func (m *AdGroupCriterionSimulation) XXX_DiscardUnknown() { - xxx_messageInfo_AdGroupCriterionSimulation.DiscardUnknown(m) -} - -var xxx_messageInfo_AdGroupCriterionSimulation proto.InternalMessageInfo - -func (m *AdGroupCriterionSimulation) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *AdGroupCriterionSimulation) GetAdGroupId() *wrappers.Int64Value { - if m != nil { - return m.AdGroupId - } - return nil -} - -func (m *AdGroupCriterionSimulation) GetCriterionId() *wrappers.Int64Value { - if m != nil { - return m.CriterionId - } - return nil -} - -func (m *AdGroupCriterionSimulation) GetType() enums.SimulationTypeEnum_SimulationType { - if m != nil { - return m.Type - } - return enums.SimulationTypeEnum_UNSPECIFIED -} - -func (m *AdGroupCriterionSimulation) GetModificationMethod() enums.SimulationModificationMethodEnum_SimulationModificationMethod { - if m != nil { - return m.ModificationMethod - } - return enums.SimulationModificationMethodEnum_UNSPECIFIED -} - -func (m *AdGroupCriterionSimulation) GetStartDate() *wrappers.StringValue { - if m != nil { - return m.StartDate - } - return nil -} - -func (m *AdGroupCriterionSimulation) GetEndDate() *wrappers.StringValue { - if m != nil { - return m.EndDate - } - return nil -} - -type isAdGroupCriterionSimulation_PointList interface { - isAdGroupCriterionSimulation_PointList() -} - -type AdGroupCriterionSimulation_CpcBidPointList struct { - CpcBidPointList *common.CpcBidSimulationPointList `protobuf:"bytes,8,opt,name=cpc_bid_point_list,json=cpcBidPointList,proto3,oneof"` -} - -func (*AdGroupCriterionSimulation_CpcBidPointList) isAdGroupCriterionSimulation_PointList() {} - -func (m *AdGroupCriterionSimulation) GetPointList() isAdGroupCriterionSimulation_PointList { - if m != nil { - return m.PointList - } - return nil -} - -func (m *AdGroupCriterionSimulation) GetCpcBidPointList() *common.CpcBidSimulationPointList { - if x, ok := m.GetPointList().(*AdGroupCriterionSimulation_CpcBidPointList); ok { - return x.CpcBidPointList - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AdGroupCriterionSimulation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AdGroupCriterionSimulation_CpcBidPointList)(nil), - } -} - -func init() { - proto.RegisterType((*AdGroupCriterionSimulation)(nil), "google.ads.googleads.v1.resources.AdGroupCriterionSimulation") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/ad_group_criterion_simulation.proto", fileDescriptor_f859d33f99a752e1) -} - -var fileDescriptor_f859d33f99a752e1 = []byte{ - // 556 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xdd, 0x6e, 0xd3, 0x3e, - 0x14, 0xff, 0xa7, 0xfb, 0xf6, 0xfa, 0x07, 0x29, 0xdc, 0x44, 0x65, 0x82, 0x0e, 0x34, 0xa9, 0x57, - 0x8e, 0xba, 0x21, 0x10, 0xa9, 0x84, 0x48, 0xc7, 0x54, 0x8a, 0x18, 0xaa, 0xb2, 0xa9, 0x17, 0xa8, - 0x52, 0xe4, 0xc6, 0x5e, 0x66, 0xa9, 0xb1, 0x2d, 0xdb, 0x19, 0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xf9, 0xa6, 0xa3, 0x42, 0xe1, 0x23, 0x55, 0xfa, 0xfd, 0x7f, 0xd1, 0xc3, - 0xc4, 0x0c, 0x6d, 0xab, 0xdf, 0x04, 0x60, 0xee, 0xd0, 0xff, 0xda, 0x00, 0x47, 0x09, 0xcf, 0xe0, - 0xbd, 0xcf, 0xb4, 0xff, 0x74, 0xf5, 0x7f, 0x77, 0x54, 0xac, 0x36, 0x72, 0x3e, 0x7f, 0xa8, 0x54, - 0x52, 0x3e, 0x43, 0x2c, 0x85, 0x5c, 0xa6, 0x7e, 0x4a, 0x98, 0x59, 0xbc, 0x7e, 0x64, 0x82, 0xaa, - 0x7f, 0x7c, 0x52, 0x7a, 0xb6, 0xfa, 0xd1, 0xd8, 0x18, 0x84, 0xe1, 0xcf, 0xc6, 0xe1, 0xa0, 0x94, - 0x0c, 0xb1, 0x82, 0x65, 0x59, 0x54, 0xe3, 0x2e, 0x8c, 0x6a, 0xe4, 0xaf, 0x1a, 0x33, 0x09, 0xb1, - 0x9a, 0x58, 0xcc, 0x64, 0xdc, 0x9d, 0x58, 0xcc, 0xef, 0xc6, 0x51, 0x39, 0x08, 0x82, 0x10, 0xab, - 0x20, 0xb0, 0xa8, 0x20, 0x18, 0x77, 0x83, 0xc0, 0xe2, 0xa6, 0xdb, 0xe6, 0xc7, 0x9e, 0xfc, 0x09, - 0x00, 0x00, 0xff, 0xff, 0xf3, 0xad, 0x6b, 0x0a, 0xfe, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_extension_setting.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_extension_setting.pb.go deleted file mode 100644 index 10e860a2..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_extension_setting.pb.go +++ /dev/null @@ -1,153 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/ad_group_extension_setting.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// An ad group extension setting. -type AdGroupExtensionSetting struct { - // The resource name of the ad group extension setting. - // AdGroupExtensionSetting resource names have the form: - // - // - // `customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The extension type of the ad group extension setting. - ExtensionType enums.ExtensionTypeEnum_ExtensionType `protobuf:"varint,2,opt,name=extension_type,json=extensionType,proto3,enum=google.ads.googleads.v1.enums.ExtensionTypeEnum_ExtensionType" json:"extension_type,omitempty"` - // The resource name of the ad group. The linked extension feed items will - // serve under this ad group. - // AdGroup resource names have the form: - // - // `customers/{customer_id}/adGroups/{ad_group_id}` - AdGroup *wrappers.StringValue `protobuf:"bytes,3,opt,name=ad_group,json=adGroup,proto3" json:"ad_group,omitempty"` - // The resource names of the extension feed items to serve under the ad group. - // ExtensionFeedItem resource names have the form: - // - // `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - ExtensionFeedItems []*wrappers.StringValue `protobuf:"bytes,4,rep,name=extension_feed_items,json=extensionFeedItems,proto3" json:"extension_feed_items,omitempty"` - // The device for which the extensions will serve. Optional. - Device enums.ExtensionSettingDeviceEnum_ExtensionSettingDevice `protobuf:"varint,5,opt,name=device,proto3,enum=google.ads.googleads.v1.enums.ExtensionSettingDeviceEnum_ExtensionSettingDevice" json:"device,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdGroupExtensionSetting) Reset() { *m = AdGroupExtensionSetting{} } -func (m *AdGroupExtensionSetting) String() string { return proto.CompactTextString(m) } -func (*AdGroupExtensionSetting) ProtoMessage() {} -func (*AdGroupExtensionSetting) Descriptor() ([]byte, []int) { - return fileDescriptor_48cf797d6357afb2, []int{0} -} - -func (m *AdGroupExtensionSetting) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdGroupExtensionSetting.Unmarshal(m, b) -} -func (m *AdGroupExtensionSetting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdGroupExtensionSetting.Marshal(b, m, deterministic) -} -func (m *AdGroupExtensionSetting) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupExtensionSetting.Merge(m, src) -} -func (m *AdGroupExtensionSetting) XXX_Size() int { - return xxx_messageInfo_AdGroupExtensionSetting.Size(m) -} -func (m *AdGroupExtensionSetting) XXX_DiscardUnknown() { - xxx_messageInfo_AdGroupExtensionSetting.DiscardUnknown(m) -} - -var xxx_messageInfo_AdGroupExtensionSetting proto.InternalMessageInfo - -func (m *AdGroupExtensionSetting) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *AdGroupExtensionSetting) GetExtensionType() enums.ExtensionTypeEnum_ExtensionType { - if m != nil { - return m.ExtensionType - } - return enums.ExtensionTypeEnum_UNSPECIFIED -} - -func (m *AdGroupExtensionSetting) GetAdGroup() *wrappers.StringValue { - if m != nil { - return m.AdGroup - } - return nil -} - -func (m *AdGroupExtensionSetting) GetExtensionFeedItems() []*wrappers.StringValue { - if m != nil { - return m.ExtensionFeedItems - } - return nil -} - -func (m *AdGroupExtensionSetting) GetDevice() enums.ExtensionSettingDeviceEnum_ExtensionSettingDevice { - if m != nil { - return m.Device - } - return enums.ExtensionSettingDeviceEnum_UNSPECIFIED -} - -func init() { - proto.RegisterType((*AdGroupExtensionSetting)(nil), "google.ads.googleads.v1.resources.AdGroupExtensionSetting") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/ad_group_extension_setting.proto", fileDescriptor_48cf797d6357afb2) -} - -var fileDescriptor_48cf797d6357afb2 = []byte{ - // 448 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0xcf, 0x8a, 0xd4, 0x30, - 0x18, 0xa7, 0x1d, 0x5d, 0xb5, 0xba, 0x7b, 0x28, 0x82, 0x65, 0x19, 0x64, 0x56, 0x59, 0x98, 0x53, - 0x4a, 0xc7, 0x83, 0x50, 0x45, 0xe8, 0xe0, 0x3a, 0xe8, 0x61, 0x19, 0xba, 0x32, 0x07, 0x19, 0x28, - 0xd9, 0xc9, 0xb7, 0x31, 0x30, 0x4d, 0x42, 0x92, 0x8e, 0xee, 0x23, 0xf8, 0x06, 0x9e, 0x3d, 0xfa, - 0x28, 0x3e, 0x8a, 0x4f, 0x21, 0x6d, 0x9a, 0xe8, 0x20, 0xb3, 0x3b, 0xb7, 0xaf, 0xf9, 0xfd, 0xf9, - 0xbe, 0x5f, 0xbe, 0x34, 0x9a, 0x52, 0x21, 0xe8, 0x1a, 0x52, 0x4c, 0x74, 0x6a, 0xcb, 0xb6, 0xda, - 0x64, 0xa9, 0x02, 0x2d, 0x1a, 0xb5, 0x02, 0x9d, 0x62, 0x52, 0x51, 0x25, 0x1a, 0x59, 0xc1, 0x57, - 0x03, 0x5c, 0x33, 0xc1, 0x2b, 0x0d, 0xc6, 0x30, 0x4e, 0x91, 0x54, 0xc2, 0x88, 0xf8, 0xc4, 0x0a, - 0x11, 0x26, 0x1a, 0x79, 0x0f, 0xb4, 0xc9, 0x90, 0xf7, 0x38, 0x7e, 0xbd, 0xab, 0x0d, 0xf0, 0xa6, - 0xd6, 0xe9, 0x7f, 0xce, 0x15, 0x81, 0x0d, 0x5b, 0x81, 0x6d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0xfd, 0x16, 0x46, 0xa7, 0x2b, 0x51, 0xa3, 0x5b, 0x1f, 0xdd, 0x74, 0xb8, 0x63, 0x83, 0xf3, 0x36, - 0xd4, 0x3c, 0xf8, 0xf4, 0xa1, 0xb7, 0xa0, 0x62, 0x8d, 0x39, 0x45, 0x42, 0xd1, 0x94, 0x02, 0xef, - 0x22, 0xbb, 0x67, 0x26, 0x99, 0xbe, 0xe1, 0xd7, 0x78, 0xe5, 0xab, 0x1f, 0xe1, 0x60, 0x56, 0x14, - 0x3f, 0xc3, 0x93, 0x99, 0xb5, 0x2c, 0x88, 0x46, 0xb6, 0x6c, 0xab, 0x45, 0x86, 0x4a, 0xc7, 0xfc, - 0xe5, 0x38, 0xcb, 0x82, 0xe8, 0xa5, 0xe7, 0x2c, 0x17, 0xd9, 0xd2, 0x73, 0x7e, 0x87, 0xa7, 0x16, - 0xc8, 0xf3, 0x82, 0xe8, 0x3c, 0xf7, 0xac, 0x3c, 0x5f, 0x64, 0x79, 0xee, 0x79, 0x97, 0x07, 0xdd, - 0xb0, 0x2f, 0xfe, 0x04, 0x00, 0x00, 0xff, 0xff, 0xc0, 0x53, 0xf3, 0x3e, 0xc6, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_feed.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_feed.pb.go deleted file mode 100644 index e2de6dc1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_feed.pb.go +++ /dev/null @@ -1,162 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/ad_group_feed.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v1/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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.v1.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.v1.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_d91c15fcb3b678ff, []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 (m *AdGroupFeed) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupFeed.Merge(m, 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.v1.resources.AdGroupFeed") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/ad_group_feed.proto", fileDescriptor_d91c15fcb3b678ff) -} - -var fileDescriptor_d91c15fcb3b678ff = []byte{ - // 488 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, 0x75, 0xaa, 0x65, 0x9b, 0xab, 0x50, 0x8a, 0x6c, 0x95, 0xc2, 0x5e, - 0xcd, 0x34, 0xeb, 0x17, 0xc4, 0x1b, 0xb3, 0x60, 0x17, 0x44, 0x65, 0x49, 0x65, 0x11, 0x59, 0x09, - 0xd3, 0xcc, 0xec, 0x34, 0x34, 0xf3, 0xc1, 0x4c, 0x52, 0xe9, 0xeb, 0x78, 0xe9, 0x8b, 0x08, 0x3e, - 0x8a, 0xef, 0x20, 0x48, 0x32, 0x99, 0x68, 0x57, 0xb6, 0xed, 0xdd, 0xc9, 0x99, 0xff, 0xef, 0xcc, - 0x39, 0xe7, 0x3f, 0x01, 0xcf, 0x99, 0x94, 0xac, 0xa0, 0x08, 0x13, 0x83, 0x6c, 0x58, 0x47, 0x17, - 0x21, 0xd2, 0xd4, 0xc8, 0x4a, 0x67, 0xd4, 0x20, 0x4c, 0x52, 0xa6, 0x65, 0xa5, 0xd2, 0x15, 0xa5, - 0x04, 0x2a, 0x2d, 0x4b, 0xe9, 0x1f, 0x58, 0x2d, 0xc4, 0xc4, 0xc0, 0x0e, 0x83, 0x17, 0x21, 0xec, - 0xb0, 0xbd, 0x17, 0x9b, 0x2a, 0x67, 0x92, 0x73, 0x29, 0x10, 0xc7, 0x65, 0x76, 0x96, 0x0b, 0x96, - 0xae, 0x2a, 0x91, 0x95, 0xb9, 0x14, 0xb6, 0xf4, 0xde, 0xb3, 0x4d, 0x1c, 0x15, 0x15, 0x37, 0xa8, - 0x6e, 0x22, 0x2d, 0x72, 0x71, 0x9e, 0x9a, 0x12, 0x97, 0x95, 0xb9, 0x1d, 0xa5, 0x0a, 0x9c, 0xd1, - 0x33, 0x59, 0x10, 0xaa, 0xd3, 0xf2, 0x52, 0xd1, 0x96, 0xda, 0x77, 0x94, 0xca, 0x11, 0x16, 0x42, - 0x96, 0xb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6f, 0xfa, 0xdb, 0x03, 0x87, 0x99, 0xe4, 0xf0, 0xc6, 0x57, - 0x3d, 0x1d, 0xfe, 0x63, 0xf8, 0xbc, 0xde, 0xfe, 0xdc, 0xfb, 0xfc, 0xb6, 0xc5, 0x98, 0x2c, 0xb0, - 0x60, 0x50, 0x6a, 0x86, 0x18, 0x15, 0x8d, 0x37, 0xee, 0x2d, 0xaa, 0xdc, 0x5c, 0xf3, 0x8b, 0xbd, - 0xea, 0xa2, 0x6f, 0xbd, 0xfe, 0x2c, 0x8e, 0xbf, 0xf7, 0x0e, 0x66, 0xb6, 0x64, 0x4c, 0x0c, 0xb4, - 0x61, 0x1d, 0x2d, 0x42, 0x98, 0x38, 0xe5, 0x4f, 0xa7, 0x59, 0xc6, 0xc4, 0x2c, 0x3b, 0xcd, 0x72, - 0x11, 0x2e, 0x3b, 0xcd, 0xaf, 0xde, 0xa1, 0x3d, 0x88, 0xa2, 0x98, 0x98, 0x28, 0xea, 0x54, 0x51, - 0xb4, 0x08, 0xa3, 0xa8, 0xd3, 0x9d, 0x0e, 0x9a, 0x66, 0x9f, 0xfe, 0x09, 0x00, 0x00, 0xff, 0xff, - 0x87, 0x95, 0x9b, 0x23, 0x0e, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_label.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_label.pb.go deleted file mode 100644 index f5e02a1e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_label.pb.go +++ /dev/null @@ -1,118 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/ad_group_label.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A relationship between an ad group and a label. -type AdGroupLabel struct { - // The resource name of the ad group label. - // Ad group label resource names have the form: - // `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The ad group to which the label is attached. - AdGroup *wrappers.StringValue `protobuf:"bytes,2,opt,name=ad_group,json=adGroup,proto3" json:"ad_group,omitempty"` - // The label assigned to the ad group. - Label *wrappers.StringValue `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdGroupLabel) Reset() { *m = AdGroupLabel{} } -func (m *AdGroupLabel) String() string { return proto.CompactTextString(m) } -func (*AdGroupLabel) ProtoMessage() {} -func (*AdGroupLabel) Descriptor() ([]byte, []int) { - return fileDescriptor_90328d22925d96e4, []int{0} -} - -func (m *AdGroupLabel) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdGroupLabel.Unmarshal(m, b) -} -func (m *AdGroupLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdGroupLabel.Marshal(b, m, deterministic) -} -func (m *AdGroupLabel) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupLabel.Merge(m, src) -} -func (m *AdGroupLabel) XXX_Size() int { - return xxx_messageInfo_AdGroupLabel.Size(m) -} -func (m *AdGroupLabel) XXX_DiscardUnknown() { - xxx_messageInfo_AdGroupLabel.DiscardUnknown(m) -} - -var xxx_messageInfo_AdGroupLabel proto.InternalMessageInfo - -func (m *AdGroupLabel) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *AdGroupLabel) GetAdGroup() *wrappers.StringValue { - if m != nil { - return m.AdGroup - } - return nil -} - -func (m *AdGroupLabel) GetLabel() *wrappers.StringValue { - if m != nil { - return m.Label - } - return nil -} - -func init() { - proto.RegisterType((*AdGroupLabel)(nil), "google.ads.googleads.v1.resources.AdGroupLabel") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/ad_group_label.proto", fileDescriptor_90328d22925d96e4) -} - -var fileDescriptor_90328d22925d96e4 = []byte{ - // 330 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0x41, 0x4b, 0xfb, 0x30, - 0x18, 0xc6, 0x69, 0xc7, 0xff, 0xaf, 0xd6, 0x79, 0xb0, 0xa7, 0x31, 0x86, 0x6c, 0xca, 0x60, 0xa7, - 0x84, 0x4e, 0x50, 0x88, 0xa7, 0xee, 0x32, 0x10, 0x91, 0x31, 0xa1, 0x07, 0x29, 0x8c, 0x77, 0x4b, - 0x0c, 0x85, 0x36, 0x29, 0x49, 0x3b, 0xbf, 0x8e, 0x78, 0xf4, 0xa3, 0xf8, 0x51, 0xfc, 0x10, 0x22, - 0x6d, 0x9a, 0xe0, 0x49, 0xbd, 0x3d, 0xed, 0xfb, 0x7b, 0x9e, 0xe7, 0x4d, 0x12, 0x5c, 0x71, 0x29, - 0x79, 0xce, 0x30, 0x50, 0x8d, 0x8d, 0x6c, 0xd4, 0x3e, 0xc2, 0x8a, 0x69, 0x59, 0xab, 0x1d, 0xd3, - 0x18, 0xe8, 0x86, 0x2b, 0x59, 0x97, 0x9b, 0x1c, 0xb6, 0x2c, 0x47, 0xa5, 0x92, 0x95, 0x0c, 0x27, - 0x06, 0x46, 0x40, 0x35, 0x72, 0x3e, 0xb4, 0x8f, 0x90, 0xf3, 0x0d, 0x47, 0x36, 0xba, 0xcc, 0x30, - 0x08, 0x21, 0x2b, 0xa8, 0x32, 0x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, 0x5f, 0x01, 0x00, 0x00, - 0xff, 0xff, 0xf0, 0xf7, 0x4d, 0x99, 0x45, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_simulation.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_simulation.pb.go deleted file mode 100644 index 75d5d6d6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_group_simulation.pb.go +++ /dev/null @@ -1,241 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/ad_group_simulation.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v1/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// An ad group simulation. Supported combinations of advertising -// channel type, simulation type and simulation modification method is -// detailed below respectively. -// -// SEARCH CPC_BID DEFAULT -// SEARCH CPC_BID UNIFORM -// SEARCH TARGET_CPA UNIFORM -// DISPLAY CPC_BID DEFAULT -// DISPLAY CPC_BID UNIFORM -// DISPLAY TARGET_CPA UNIFORM -// VIDEO CPV_BID DEFAULT -// VIDEO CPV_BID UNIFORM -type AdGroupSimulation struct { - // The resource name of the ad group simulation. - // Ad group simulation resource names have the form: - // - // - // `customers/{customer_id}/adGroupSimulations/{ad_group_id}~{type}~{modification_method}~{start_date}~{end_date}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // Ad group id of the simulation. - AdGroupId *wrappers.Int64Value `protobuf:"bytes,2,opt,name=ad_group_id,json=adGroupId,proto3" json:"ad_group_id,omitempty"` - // The field that the simulation modifies. - Type enums.SimulationTypeEnum_SimulationType `protobuf:"varint,3,opt,name=type,proto3,enum=google.ads.googleads.v1.enums.SimulationTypeEnum_SimulationType" json:"type,omitempty"` - // How the simulation modifies the field. - ModificationMethod enums.SimulationModificationMethodEnum_SimulationModificationMethod `protobuf:"varint,4,opt,name=modification_method,json=modificationMethod,proto3,enum=google.ads.googleads.v1.enums.SimulationModificationMethodEnum_SimulationModificationMethod" json:"modification_method,omitempty"` - // First day on which the simulation is based, in YYYY-MM-DD format. - StartDate *wrappers.StringValue `protobuf:"bytes,5,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` - // Last day on which the simulation is based, in YYYY-MM-DD format - EndDate *wrappers.StringValue `protobuf:"bytes,6,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` - // List of simulation points. - // - // Types that are valid to be assigned to PointList: - // *AdGroupSimulation_CpcBidPointList - // *AdGroupSimulation_CpvBidPointList - // *AdGroupSimulation_TargetCpaPointList - PointList isAdGroupSimulation_PointList `protobuf_oneof:"point_list"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdGroupSimulation) Reset() { *m = AdGroupSimulation{} } -func (m *AdGroupSimulation) String() string { return proto.CompactTextString(m) } -func (*AdGroupSimulation) ProtoMessage() {} -func (*AdGroupSimulation) Descriptor() ([]byte, []int) { - return fileDescriptor_8c8573d5f5d3a023, []int{0} -} - -func (m *AdGroupSimulation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdGroupSimulation.Unmarshal(m, b) -} -func (m *AdGroupSimulation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdGroupSimulation.Marshal(b, m, deterministic) -} -func (m *AdGroupSimulation) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupSimulation.Merge(m, src) -} -func (m *AdGroupSimulation) XXX_Size() int { - return xxx_messageInfo_AdGroupSimulation.Size(m) -} -func (m *AdGroupSimulation) XXX_DiscardUnknown() { - xxx_messageInfo_AdGroupSimulation.DiscardUnknown(m) -} - -var xxx_messageInfo_AdGroupSimulation proto.InternalMessageInfo - -func (m *AdGroupSimulation) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *AdGroupSimulation) GetAdGroupId() *wrappers.Int64Value { - if m != nil { - return m.AdGroupId - } - return nil -} - -func (m *AdGroupSimulation) GetType() enums.SimulationTypeEnum_SimulationType { - if m != nil { - return m.Type - } - return enums.SimulationTypeEnum_UNSPECIFIED -} - -func (m *AdGroupSimulation) GetModificationMethod() enums.SimulationModificationMethodEnum_SimulationModificationMethod { - if m != nil { - return m.ModificationMethod - } - return enums.SimulationModificationMethodEnum_UNSPECIFIED -} - -func (m *AdGroupSimulation) GetStartDate() *wrappers.StringValue { - if m != nil { - return m.StartDate - } - return nil -} - -func (m *AdGroupSimulation) GetEndDate() *wrappers.StringValue { - if m != nil { - return m.EndDate - } - return nil -} - -type isAdGroupSimulation_PointList interface { - isAdGroupSimulation_PointList() -} - -type AdGroupSimulation_CpcBidPointList struct { - CpcBidPointList *common.CpcBidSimulationPointList `protobuf:"bytes,8,opt,name=cpc_bid_point_list,json=cpcBidPointList,proto3,oneof"` -} - -type AdGroupSimulation_CpvBidPointList struct { - CpvBidPointList *common.CpvBidSimulationPointList `protobuf:"bytes,10,opt,name=cpv_bid_point_list,json=cpvBidPointList,proto3,oneof"` -} - -type AdGroupSimulation_TargetCpaPointList struct { - TargetCpaPointList *common.TargetCpaSimulationPointList `protobuf:"bytes,9,opt,name=target_cpa_point_list,json=targetCpaPointList,proto3,oneof"` -} - -func (*AdGroupSimulation_CpcBidPointList) isAdGroupSimulation_PointList() {} - -func (*AdGroupSimulation_CpvBidPointList) isAdGroupSimulation_PointList() {} - -func (*AdGroupSimulation_TargetCpaPointList) isAdGroupSimulation_PointList() {} - -func (m *AdGroupSimulation) GetPointList() isAdGroupSimulation_PointList { - if m != nil { - return m.PointList - } - return nil -} - -func (m *AdGroupSimulation) GetCpcBidPointList() *common.CpcBidSimulationPointList { - if x, ok := m.GetPointList().(*AdGroupSimulation_CpcBidPointList); ok { - return x.CpcBidPointList - } - return nil -} - -func (m *AdGroupSimulation) GetCpvBidPointList() *common.CpvBidSimulationPointList { - if x, ok := m.GetPointList().(*AdGroupSimulation_CpvBidPointList); ok { - return x.CpvBidPointList - } - return nil -} - -func (m *AdGroupSimulation) GetTargetCpaPointList() *common.TargetCpaSimulationPointList { - if x, ok := m.GetPointList().(*AdGroupSimulation_TargetCpaPointList); ok { - return x.TargetCpaPointList - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AdGroupSimulation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AdGroupSimulation_CpcBidPointList)(nil), - (*AdGroupSimulation_CpvBidPointList)(nil), - (*AdGroupSimulation_TargetCpaPointList)(nil), - } -} - -func init() { - proto.RegisterType((*AdGroupSimulation)(nil), "google.ads.googleads.v1.resources.AdGroupSimulation") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/ad_group_simulation.proto", fileDescriptor_8c8573d5f5d3a023) -} - -var fileDescriptor_8c8573d5f5d3a023 = []byte{ - // 575 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xcf, 0x6e, 0xd3, 0x30, - 0x18, 0x27, 0xdd, 0x28, 0xab, 0x37, 0x40, 0x04, 0x81, 0xa2, 0x31, 0xa1, 0x0e, 0x34, 0xa9, 0x27, - 0x47, 0xdd, 0x10, 0x88, 0x94, 0x03, 0xe9, 0x40, 0x65, 0x88, 0xa1, 0x2a, 0xab, 0x7a, 0x40, 0x95, - 0x22, 0x37, 0xf6, 0x32, 0x4b, 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6, 0xd7, 0x39, 0x4d, 0xff, 0x73, 0xfa, 0x0a, 0x1e, 0x29, 0x94, 0xc6, 0x44, - 0x85, 0x91, 0x40, 0xf3, 0x66, 0x0d, 0x6d, 0xf6, 0xe6, 0x26, 0xb3, 0x81, 0x26, 0x1f, 0x0b, 0x74, - 0xb5, 0x9f, 0xad, 0xaa, 0xb9, 0xe9, 0x76, 0x77, 0x00, 0x98, 0xf9, 0x74, 0xbf, 0xd7, 0xc0, 0x41, - 0xc4, 0x13, 0x78, 0xe3, 0xd3, 0xd1, 0x7d, 0xbc, 0x74, 0x9f, 0xfa, 0xf9, 0x71, 0xf5, 0xad, 0x2f, - 0x1f, 0x4b, 0x72, 0xcc, 0x27, 0x88, 0xc5, 0x90, 0xa7, 0xb1, 0x1b, 0x13, 0xa6, 0x0f, 0xb3, 0xba, - 0xef, 0x82, 0xca, 0x6b, 0xde, 0xb4, 0x8e, 0xa9, 0x7e, 0xd6, 0x36, 0x7a, 0xbe, 0xff, 0xbb, 0xb6, - 0xdf, 0x2b, 0x24, 0x7d, 0x2c, 0x61, 0x51, 0xe6, 0xd5, 0xb0, 0x0d, 0x83, 0x0a, 0xf9, 0xa7, 0xc2, - 0x8c, 0x7c, 0x2c, 0x47, 0x06, 0x33, 0x1a, 0xb6, 0x47, 0x06, 0xf3, 0xb7, 0x76, 0x50, 0x0c, 0x3c, - 0xcf, 0xc7, 0xd2, 0xf3, 0x0c, 0xca, 0xf3, 0x86, 0x6d, 0xcf, 0x33, 0xb8, 0x71, 0x5d, 0x2f, 0xf6, - 0xe8, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x0c, 0x77, 0x25, 0x43, 0x7f, 0x05, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_parameter.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_parameter.pb.go deleted file mode 100644 index 47e383a9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_parameter.pb.go +++ /dev/null @@ -1,150 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/ad_parameter.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// An ad parameter that is used to update numeric values (such as prices or -// inventory levels) in any text line of an ad (including URLs). There can -// be a maximum of two AdParameters per ad group criterion. (One with -// parameter_index = 1 and one with parameter_index = 2.) -// In the ad the parameters are referenced by a placeholder of the form -// "{param#:value}". E.g. "{param1:$17}" -type AdParameter struct { - // The resource name of the ad parameter. - // Ad parameter resource names have the form: - // - // - // `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The ad group criterion that this ad parameter belongs to. - AdGroupCriterion *wrappers.StringValue `protobuf:"bytes,2,opt,name=ad_group_criterion,json=adGroupCriterion,proto3" json:"ad_group_criterion,omitempty"` - // The unique index of this ad parameter. Must be either 1 or 2. - ParameterIndex *wrappers.Int64Value `protobuf:"bytes,3,opt,name=parameter_index,json=parameterIndex,proto3" json:"parameter_index,omitempty"` - // Numeric value to insert into the ad text. The following restrictions - // apply: - // - Can use comma or period as a separator, with an optional period or - // comma (respectively) for fractional values. For example, 1,000,000.00 - // and 2.000.000,10 are valid. - // - Can be prepended or appended with a currency symbol. For example, - // $99.99 is valid. - // - Can be prepended or appended with a currency code. For example, 99.99USD - // and EUR200 are valid. - // - Can use '%'. For example, 1.0% and 1,0% are valid. - // - Can use plus or minus. For example, -10.99 and 25+ are valid. - // - Can use '/' between two numbers. For example 4/1 and 0.95/0.45 are - // valid. - InsertionText *wrappers.StringValue `protobuf:"bytes,4,opt,name=insertion_text,json=insertionText,proto3" json:"insertion_text,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdParameter) Reset() { *m = AdParameter{} } -func (m *AdParameter) String() string { return proto.CompactTextString(m) } -func (*AdParameter) ProtoMessage() {} -func (*AdParameter) Descriptor() ([]byte, []int) { - return fileDescriptor_80d3f7afedc49596, []int{0} -} - -func (m *AdParameter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdParameter.Unmarshal(m, b) -} -func (m *AdParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdParameter.Marshal(b, m, deterministic) -} -func (m *AdParameter) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdParameter.Merge(m, src) -} -func (m *AdParameter) XXX_Size() int { - return xxx_messageInfo_AdParameter.Size(m) -} -func (m *AdParameter) XXX_DiscardUnknown() { - xxx_messageInfo_AdParameter.DiscardUnknown(m) -} - -var xxx_messageInfo_AdParameter proto.InternalMessageInfo - -func (m *AdParameter) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *AdParameter) GetAdGroupCriterion() *wrappers.StringValue { - if m != nil { - return m.AdGroupCriterion - } - return nil -} - -func (m *AdParameter) GetParameterIndex() *wrappers.Int64Value { - if m != nil { - return m.ParameterIndex - } - return nil -} - -func (m *AdParameter) GetInsertionText() *wrappers.StringValue { - if m != nil { - return m.InsertionText - } - return nil -} - -func init() { - proto.RegisterType((*AdParameter)(nil), "google.ads.googleads.v1.resources.AdParameter") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/ad_parameter.proto", fileDescriptor_80d3f7afedc49596) -} - -var fileDescriptor_80d3f7afedc49596 = []byte{ - // 386 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xdf, 0x6a, 0xdb, 0x30, - 0x14, 0xc6, 0xb1, 0x33, 0x06, 0x73, 0x96, 0x2c, 0xf8, 0xca, 0x64, 0x61, 0x24, 0x1b, 0x81, 0x5c, - 0xc9, 0x78, 0x0b, 0xbb, 0xd0, 0xae, 0x9c, 0x0c, 0x42, 0x72, 0x31, 0x42, 0x56, 0x7c, 0x51, 0x0c, - 0x46, 0x89, 0x54, 0x21, 0x88, 0x25, 0x23, 0xc9, 0x69, 0x5e, 0xa1, 0xaf, 0xd1, 0xcb, 0x3e, 0x4a, - 0x1f, 0xa5, 0xef, 0x50, 0x28, 0xfe, 0x23, 0x51, 0x28, 0xb4, 0xbd, 0xfb, 0xec, 0xf3, 0x7d, 0xbf, - 0x73, 0x74, 0x8e, 0x37, 0xa7, 0x42, 0xd0, 0x23, 0x09, 0x11, 0x56, 0x61, 0x23, 0x2b, 0x75, 0x8a, - 0x42, 0x49, 0x94, 0x28, 0xe5, 0x81, 0xa8, 0x10, 0xe1, 0xac, 0x40, 0x12, 0xe5, 0x44, 0x13, 0x09, - 0x0a, 0x29, 0xb4, 0xf0, 0x27, 0x8d, 0x15, 0x20, 0xac, 0x80, 0x4d, 0x81, 0x53, 0x04, 0x6c, 0x6a, - 0x38, 0x32, 0xe0, 0x82, 0x85, 0x88, 0x73, 0xa1, 0x91, 0x66, 0x82, 0xab, 0x06, 0x30, 0xfc, 0xd6, - 0x56, 0xeb, 0xaf, 0x7d, 0x79, 0x15, 0x5e, 0x4b, 0x54, 0x14, 0x44, 0xb6, 0xf5, 0xef, 0x37, 0xae, - 0xd7, 0x8d, 0xf1, 0xd6, 0xb4, 0xf5, 0x7f, 0x78, 0x3d, 0x83, 0xce, 0x38, 0xca, 0x49, 0xe0, 0x8c, - 0x9d, 0xd9, 0xa7, 0xdd, 0x67, 0xf3, 0xf3, 0x1f, 0xca, 0x89, 0xbf, 0xf1, 0x7c, 0x84, 0x33, 0x2a, - 0x45, 0x59, 0x64, 0x07, 0xc9, 0x34, 0x91, 0x4c, 0xf0, 0xc0, 0x1d, 0x3b, 0xb3, 0xee, 0xcf, 0x51, - 0x3b, 0x27, 0x30, 0x1d, 0xc1, 0x7f, 0x2d, 0x19, 0xa7, 0x09, 0x3a, 0x96, 0x64, 0x37, 0x40, 0x78, - 0x55, 0xc5, 0x96, 0x26, 0xe5, 0xff, 0xf5, 0xbe, 0xd8, 0x47, 0x67, 0x8c, 0x63, 0x72, 0x0e, 0x3a, - 0x35, 0xe8, 0xeb, 0x0b, 0xd0, 0x9a, 0xeb, 0xdf, 0xf3, 0x86, 0xd3, 0xb7, 0x99, 0x75, 0x15, 0xf1, - 0x97, 0x5e, 0x9f, 0x71, 0x45, 0x64, 0xf5, 0xf4, 0x4c, 0x93, 0xb3, 0x0e, 0x3e, 0xbc, 0x63, 0x9a, - 0x9e, 0xcd, 0x5c, 0x90, 0xb3, 0x5e, 0x3c, 0x3a, 0xde, 0xf4, 0x20, 0x72, 0xf0, 0xe6, 0xce, 0x17, - 0x83, 0x67, 0x2b, 0xdb, 0x56, 0xe4, 0xad, 0x73, 0xb9, 0x69, 0x63, 0x54, 0x1c, 0x11, 0xa7, 0x40, - 0x48, 0x1a, 0x52, 0xc2, 0xeb, 0xbe, 0xe6, 0xe0, 0x05, 0x53, 0xaf, 0xdc, 0xff, 0x8f, 0x55, 0xb7, - 0x6e, 0x67, 0x15, 0xc7, 0x77, 0xee, 0x64, 0xd5, 0x20, 0x63, 0xac, 0x40, 0x23, 0x2b, 0x95, 0x44, - 0x60, 0x67, 0x9c, 0xf7, 0xc6, 0x93, 0xc6, 0x58, 0xa5, 0xd6, 0x93, 0x26, 0x51, 0x6a, 0x3d, 0x0f, - 0xee, 0xb4, 0x29, 0x40, 0x18, 0x63, 0x05, 0xa1, 0x75, 0x41, 0x98, 0x44, 0x10, 0x5a, 0xdf, 0xfe, - 0x63, 0x3d, 0xec, 0xaf, 0xa7, 0x00, 0x00, 0x00, 0xff, 0xff, 0x51, 0x3e, 0x94, 0xd3, 0xab, 0x02, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_schedule_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_schedule_view.pb.go deleted file mode 100644 index 3a2c6243..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/ad_schedule_view.pb.go +++ /dev/null @@ -1,97 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/ad_schedule_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// An ad schedule view summarizes the performance of campaigns by -// AdSchedule criteria. -type AdScheduleView struct { - // The resource name of the ad schedule view. - // AdSchedule view resource names have the form: - // - // `customers/{customer_id}/adScheduleViews/{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 *AdScheduleView) Reset() { *m = AdScheduleView{} } -func (m *AdScheduleView) String() string { return proto.CompactTextString(m) } -func (*AdScheduleView) ProtoMessage() {} -func (*AdScheduleView) Descriptor() ([]byte, []int) { - return fileDescriptor_88641aea73ff6f50, []int{0} -} - -func (m *AdScheduleView) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdScheduleView.Unmarshal(m, b) -} -func (m *AdScheduleView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdScheduleView.Marshal(b, m, deterministic) -} -func (m *AdScheduleView) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdScheduleView.Merge(m, src) -} -func (m *AdScheduleView) XXX_Size() int { - return xxx_messageInfo_AdScheduleView.Size(m) -} -func (m *AdScheduleView) XXX_DiscardUnknown() { - xxx_messageInfo_AdScheduleView.DiscardUnknown(m) -} - -var xxx_messageInfo_AdScheduleView proto.InternalMessageInfo - -func (m *AdScheduleView) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*AdScheduleView)(nil), "google.ads.googleads.v1.resources.AdScheduleView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/ad_schedule_view.proto", fileDescriptor_88641aea73ff6f50) -} - -var fileDescriptor_88641aea73ff6f50 = []byte{ - // 271 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0xc1, 0x4a, 0xc4, 0x30, - 0x10, 0x86, 0x69, 0x05, 0xc1, 0xa2, 0x1e, 0xd6, 0x8b, 0x88, 0x07, 0x57, 0x59, 0xf0, 0x94, 0x50, - 0x44, 0x90, 0x78, 0xca, 0x5e, 0x16, 0x3c, 0xc8, 0xb2, 0x42, 0x0f, 0x52, 0x28, 0xb1, 0x19, 0x62, - 0xa1, 0xcd, 0x94, 0x4e, 0xb7, 0x7b, 0xf5, 0x59, 0x3c, 0xfa, 0x28, 0x3e, 0x8a, 0x4f, 0x21, 0xdd, - 0x6c, 0x02, 0x5e, 0xdc, 0xdb, 0x4f, 0xf2, 0xfd, 0xdf, 0x0c, 0x93, 0x3c, 0x18, 0x44, 0x53, 0x03, - 0x57, 0x9a, 0xb8, 0x8b, 0x63, 0x1a, 0x52, 0xde, 0x01, 0xe1, 0xba, 0x2b, 0x81, 0xb8, 0xd2, 0x05, - 0x95, 0xef, 0xa0, 0xd7, 0x35, 0x14, 0x43, 0x05, 0x1b, 0xd6, 0x76, 0xd8, 0xe3, 0x64, 0xea, 0x70, - 0xa6, 0x34, 0xb1, 0xd0, 0x64, 0x43, 0xca, 0x42, 0xf3, 0xe2, 0xd2, 0xcb, 0xdb, 0x8a, 0x2b, 0x6b, - 0xb1, 0x57, 0x7d, 0x85, 0x96, 0x9c, 0xe0, 0xfa, 0x3e, 0x39, 0x95, 0xfa, 0x65, 0x67, 0xce, 0x2a, - 0xd8, 0x4c, 0x6e, 0x92, 0x13, 0x5f, 0x2e, 0xac, 0x6a, 0xe0, 0x3c, 0xba, 0x8a, 0x6e, 0x8f, 0x56, - 0xc7, 0xfe, 0xf1, 0x59, 0x35, 0x30, 0xff, 0x88, 0x93, 0x59, 0x89, 0x0d, 0xdb, 0x3b, 0x7e, 0x7e, - 0xf6, 0x57, 0xbf, 0x1c, 0xa7, 0x2e, 0xa3, 0xd7, 0xa7, 0x5d, 0xd3, 0x60, 0xad, 0xac, 0x61, 0xd8, - 0x19, 0x6e, 0xc0, 0x6e, 0x77, 0xf2, 0x27, 0x68, 0x2b, 0xfa, 0xe7, 0x22, 0x8f, 0x21, 0x7d, 0xc6, - 0x07, 0x0b, 0x29, 0xbf, 0xe2, 0xe9, 0xc2, 0x29, 0xa5, 0x26, 0xe6, 0xe2, 0x98, 0xb2, 0x94, 0xad, - 0x3c, 0xf9, 0xed, 0x99, 0x5c, 0x6a, 0xca, 0x03, 0x93, 0x67, 0x69, 0x1e, 0x98, 0x9f, 0x78, 0xe6, - 0x3e, 0x84, 0x90, 0x9a, 0x84, 0x08, 0x94, 0x10, 0x59, 0x2a, 0x44, 0xe0, 0xde, 0x0e, 0xb7, 0xcb, - 0xde, 0xfd, 0x06, 0x00, 0x00, 0xff, 0xff, 0xd4, 0xff, 0xfa, 0xec, 0xbd, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/age_range_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/age_range_view.pb.go deleted file mode 100644 index f8019a6e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/age_range_view.pb.go +++ /dev/null @@ -1,96 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/age_range_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_730b8809402823e5, []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 (m *AgeRangeView) XXX_Merge(src proto.Message) { - xxx_messageInfo_AgeRangeView.Merge(m, 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.v1.resources.AgeRangeView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/age_range_view.proto", fileDescriptor_730b8809402823e5) -} - -var fileDescriptor_730b8809402823e5 = []byte{ - // 267 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0xb1, 0x4a, 0xc4, 0x30, - 0x18, 0xc7, 0x69, 0x05, 0xc1, 0x72, 0x0e, 0xde, 0x24, 0xe2, 0xe0, 0x29, 0x07, 0x4e, 0x09, 0xe1, - 0xc0, 0x21, 0x4e, 0xb9, 0xe5, 0xc0, 0x41, 0x8e, 0x0e, 0x1d, 0xa4, 0x50, 0xe2, 0xe5, 0x23, 0x04, - 0xae, 0xf9, 0x4a, 0x52, 0x7b, 0xef, 0xe3, 0xe8, 0xa3, 0xf8, 0x28, 0x3e, 0x84, 0x48, 0x1b, 0x13, - 0x9c, 0xbc, 0xed, 0x4f, 0xf2, 0xfb, 0xff, 0xbe, 0x2f, 0x29, 0x1e, 0x34, 0xa2, 0xde, 0x03, 0x95, - 0xca, 0xd3, 0x10, 0xc7, 0x34, 0x30, 0xea, 0xc0, 0xe3, 0x9b, 0xdb, 0x81, 0xa7, 0x52, 0x43, 0xe3, - 0xa4, 0xd5, 0xd0, 0x0c, 0x06, 0x0e, 0xa4, 0x73, 0xd8, 0xe3, 0x7c, 0x11, 0x60, 0x22, 0x95, 0x27, - 0xa9, 0x47, 0x06, 0x46, 0x52, 0xef, 0xea, 0x3a, 0xaa, 0x3b, 0x43, 0xa5, 0xb5, 0xd8, 0xcb, 0xde, - 0xa0, 0xf5, 0x41, 0x70, 0xbb, 0x2a, 0x66, 0x42, 0x43, 0x39, 0x7a, 0x2b, 0x03, 0x87, 0xf9, 0x5d, - 0x71, 0x1e, 0xab, 0x8d, 0x95, 0x2d, 0x5c, 0x66, 0x37, 0xd9, 0xfd, 0x59, 0x39, 0x8b, 0x87, 0xcf, - 0xb2, 0x85, 0xf5, 0x77, 0x56, 0x2c, 0x77, 0xd8, 0x92, 0xa3, 0xc3, 0xd7, 0x17, 0x7f, 0xe5, 0xdb, - 0x71, 0xe2, 0x36, 0x7b, 0x79, 0xfa, 0xed, 0x69, 0xdc, 0x4b, 0xab, 0x09, 0x3a, 0x4d, 0x35, 0xd8, - 0x69, 0x9f, 0xf8, 0xf8, 0xce, 0xf8, 0x7f, 0xfe, 0xe2, 0x31, 0xa5, 0xf7, 0xfc, 0x64, 0x23, 0xc4, - 0x47, 0xbe, 0xd8, 0x04, 0xa5, 0x50, 0x9e, 0x84, 0x38, 0xa6, 0x8a, 0x91, 0x32, 0x92, 0x9f, 0x91, - 0xa9, 0x85, 0xf2, 0x75, 0x62, 0xea, 0x8a, 0xd5, 0x89, 0xf9, 0xca, 0x97, 0xe1, 0x82, 0x73, 0xa1, - 0x3c, 0xe7, 0x89, 0xe2, 0xbc, 0x62, 0x9c, 0x27, 0xee, 0xf5, 0x74, 0x5a, 0x76, 0xf5, 0x13, 0x00, - 0x00, 0xff, 0xff, 0x0e, 0xab, 0x24, 0x97, 0xb7, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/asset.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/asset.pb.go deleted file mode 100644 index b9ab5e1c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/asset.pb.go +++ /dev/null @@ -1,223 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/asset.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v1/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Asset is a part of an ad which can be shared across multiple ads. -// It can be an image (ImageAsset), a video (YoutubeVideoAsset), etc. -type Asset struct { - // The resource name of the asset. - // Asset resource names have the form: - // - // `customers/{customer_id}/assets/{asset_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The ID of the asset. - Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // Optional name of the asset. - Name *wrappers.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - // Type of the asset. - Type enums.AssetTypeEnum_AssetType `protobuf:"varint,4,opt,name=type,proto3,enum=google.ads.googleads.v1.enums.AssetTypeEnum_AssetType" json:"type,omitempty"` - // The specific type of the asset. - // - // Types that are valid to be assigned to AssetData: - // *Asset_YoutubeVideoAsset - // *Asset_MediaBundleAsset - // *Asset_ImageAsset - // *Asset_TextAsset - AssetData isAsset_AssetData `protobuf_oneof:"asset_data"` - 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_6b8d91af9b64a99d, []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 (m *Asset) XXX_Merge(src proto.Message) { - xxx_messageInfo_Asset.Merge(m, 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) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *Asset) GetId() *wrappers.Int64Value { - if m != nil { - return m.Id - } - return nil -} - -func (m *Asset) GetName() *wrappers.StringValue { - if m != nil { - return m.Name - } - return nil -} - -func (m *Asset) GetType() enums.AssetTypeEnum_AssetType { - if m != nil { - return m.Type - } - return enums.AssetTypeEnum_UNSPECIFIED -} - -type isAsset_AssetData interface { - isAsset_AssetData() -} - -type Asset_YoutubeVideoAsset struct { - YoutubeVideoAsset *common.YoutubeVideoAsset `protobuf:"bytes,5,opt,name=youtube_video_asset,json=youtubeVideoAsset,proto3,oneof"` -} - -type Asset_MediaBundleAsset struct { - MediaBundleAsset *common.MediaBundleAsset `protobuf:"bytes,6,opt,name=media_bundle_asset,json=mediaBundleAsset,proto3,oneof"` -} - -type Asset_ImageAsset struct { - ImageAsset *common.ImageAsset `protobuf:"bytes,7,opt,name=image_asset,json=imageAsset,proto3,oneof"` -} - -type Asset_TextAsset struct { - TextAsset *common.TextAsset `protobuf:"bytes,8,opt,name=text_asset,json=textAsset,proto3,oneof"` -} - -func (*Asset_YoutubeVideoAsset) isAsset_AssetData() {} - -func (*Asset_MediaBundleAsset) isAsset_AssetData() {} - -func (*Asset_ImageAsset) isAsset_AssetData() {} - -func (*Asset_TextAsset) isAsset_AssetData() {} - -func (m *Asset) GetAssetData() isAsset_AssetData { - if m != nil { - return m.AssetData - } - return nil -} - -func (m *Asset) GetYoutubeVideoAsset() *common.YoutubeVideoAsset { - if x, ok := m.GetAssetData().(*Asset_YoutubeVideoAsset); ok { - return x.YoutubeVideoAsset - } - return nil -} - -func (m *Asset) GetMediaBundleAsset() *common.MediaBundleAsset { - if x, ok := m.GetAssetData().(*Asset_MediaBundleAsset); ok { - return x.MediaBundleAsset - } - return nil -} - -func (m *Asset) GetImageAsset() *common.ImageAsset { - if x, ok := m.GetAssetData().(*Asset_ImageAsset); ok { - return x.ImageAsset - } - return nil -} - -func (m *Asset) GetTextAsset() *common.TextAsset { - if x, ok := m.GetAssetData().(*Asset_TextAsset); ok { - return x.TextAsset - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Asset) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Asset_YoutubeVideoAsset)(nil), - (*Asset_MediaBundleAsset)(nil), - (*Asset_ImageAsset)(nil), - (*Asset_TextAsset)(nil), - } -} - -func init() { - proto.RegisterType((*Asset)(nil), "google.ads.googleads.v1.resources.Asset") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/asset.proto", fileDescriptor_6b8d91af9b64a99d) -} - -var fileDescriptor_6b8d91af9b64a99d = []byte{ - // 508 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0xc1, 0x6e, 0xd3, 0x30, - 0x18, 0xc7, 0x49, 0xd6, 0x0d, 0xe6, 0x0d, 0x04, 0xe6, 0x52, 0x8d, 0x09, 0x75, 0xa0, 0x49, 0x05, - 0x84, 0xd3, 0x0c, 0xb4, 0x43, 0x38, 0xa5, 0x12, 0x1a, 0xab, 0x34, 0x34, 0x85, 0x29, 0x12, 0xa8, - 0x52, 0x70, 0x6b, 0x13, 0x59, 0xaa, 0xed, 0x28, 0x76, 0xca, 0xfa, 0x3a, 0x1c, 0x79, 0x11, 0x24, - 0x1e, 0x85, 0x17, 0xe0, 0x8a, 0x62, 0xc7, 0x01, 0x15, 0x75, 0xb9, 0x7d, 0xb6, 0x7f, 0xff, 0x9f, - 0xbf, 0xba, 0x5f, 0xc0, 0xcb, 0x5c, 0xca, 0x7c, 0x41, 0x03, 0x4c, 0x54, 0x60, 0xcb, 0xba, 0x5a, - 0x86, 0x41, 0x49, 0x95, 0xac, 0xca, 0x39, 0x55, 0x01, 0x56, 0x8a, 0x6a, 0x54, 0x94, 0x52, 0x4b, - 0x78, 0x64, 0x19, 0x84, 0x89, 0x42, 0x2d, 0x8e, 0x96, 0x21, 0x6a, 0xf1, 0x83, 0xd1, 0x26, 0xe3, - 0x5c, 0x72, 0x2e, 0x85, 0xd5, 0x65, 0x7a, 0x55, 0x50, 0x65, 0xa5, 0x07, 0x68, 0x53, 0x82, 0x8a, - 0x8a, 0xab, 0x7f, 0x02, 0x0d, 0x7f, 0xe8, 0xf8, 0x82, 0x05, 0x58, 0x08, 0xa9, 0xb1, 0x66, 0x52, - 0x38, 0xdb, 0xe3, 0xe6, 0xd4, 0xac, 0x66, 0xd5, 0x97, 0xe0, 0x6b, 0x89, 0x8b, 0x82, 0x96, 0xcd, - 0xf9, 0x93, 0x1f, 0x3d, 0xb0, 0x1d, 0xd7, 0x4a, 0xf8, 0x14, 0xdc, 0x75, 0x6d, 0x67, 0x02, 0x73, - 0xda, 0xf7, 0x06, 0xde, 0x70, 0x37, 0xd9, 0x77, 0x9b, 0xef, 0x31, 0xa7, 0xf0, 0x05, 0xf0, 0x19, - 0xe9, 0xfb, 0x03, 0x6f, 0xb8, 0x77, 0xf2, 0xa8, 0xe9, 0x14, 0x39, 0x37, 0x3a, 0x17, 0xfa, 0xf4, - 0x75, 0x8a, 0x17, 0x15, 0x4d, 0x7c, 0x46, 0xe0, 0x08, 0xf4, 0x8c, 0x68, 0xcb, 0xe0, 0x87, 0xff, - 0xe1, 0x1f, 0x74, 0xc9, 0x44, 0x6e, 0x79, 0x43, 0xc2, 0x09, 0xe8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, - 0xc1, 0xd4, 0x0d, 0x9f, 0xe4, 0x9b, 0xb6, 0xfa, 0xe6, 0x6f, 0x9d, 0xc5, 0xf1, 0x77, 0xff, 0xe8, - 0xcc, 0x2a, 0x63, 0xa2, 0x90, 0x2d, 0xeb, 0x2a, 0x0d, 0x51, 0xe2, 0xc8, 0x9f, 0x8e, 0x99, 0xc6, - 0x44, 0x4d, 0x5b, 0x66, 0x9a, 0x86, 0xd3, 0x96, 0xf9, 0xe5, 0x1f, 0xdb, 0x83, 0x28, 0x8a, 0x89, - 0x8a, 0xa2, 0x96, 0x8a, 0xa2, 0x34, 0x8c, 0xa2, 0x96, 0x9b, 0xed, 0x98, 0x66, 0x5f, 0xfd, 0x09, - 0x00, 0x00, 0xff, 0xff, 0xad, 0x9b, 0xf1, 0x35, 0x3e, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/bidding_strategy.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/bidding_strategy.pb.go deleted file mode 100644 index 0b6c7546..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/bidding_strategy.pb.go +++ /dev/null @@ -1,321 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/bidding_strategy.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v1/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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 status of the bidding strategy. - // - // This field is read-only. - Status enums.BiddingStrategyStatusEnum_BiddingStrategyStatus `protobuf:"varint,15,opt,name=status,proto3,enum=google.ads.googleads.v1.enums.BiddingStrategyStatusEnum_BiddingStrategyStatus" json:"status,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.v1.enums.BiddingStrategyTypeEnum_BiddingStrategyType" json:"type,omitempty"` - // The number of campaigns attached to this bidding strategy. - // - // This field is read-only. - CampaignCount *wrappers.Int64Value `protobuf:"bytes,13,opt,name=campaign_count,json=campaignCount,proto3" json:"campaign_count,omitempty"` - // The number of non-removed campaigns attached to this bidding strategy. - // - // This field is read-only. - NonRemovedCampaignCount *wrappers.Int64Value `protobuf:"bytes,14,opt,name=non_removed_campaign_count,json=nonRemovedCampaignCount,proto3" json:"non_removed_campaign_count,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_TargetImpressionShare - // *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_45db3d8386a3943d, []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 (m *BiddingStrategy) XXX_Merge(src proto.Message) { - xxx_messageInfo_BiddingStrategy.Merge(m, 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) GetStatus() enums.BiddingStrategyStatusEnum_BiddingStrategyStatus { - if m != nil { - return m.Status - } - return enums.BiddingStrategyStatusEnum_UNSPECIFIED -} - -func (m *BiddingStrategy) GetType() enums.BiddingStrategyTypeEnum_BiddingStrategyType { - if m != nil { - return m.Type - } - return enums.BiddingStrategyTypeEnum_UNSPECIFIED -} - -func (m *BiddingStrategy) GetCampaignCount() *wrappers.Int64Value { - if m != nil { - return m.CampaignCount - } - return nil -} - -func (m *BiddingStrategy) GetNonRemovedCampaignCount() *wrappers.Int64Value { - if m != nil { - return m.NonRemovedCampaignCount - } - return nil -} - -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_TargetImpressionShare struct { - TargetImpressionShare *common.TargetImpressionShare `protobuf:"bytes,48,opt,name=target_impression_share,json=targetImpressionShare,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_TargetImpressionShare) 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) GetTargetImpressionShare() *common.TargetImpressionShare { - if x, ok := m.GetScheme().(*BiddingStrategy_TargetImpressionShare); ok { - return x.TargetImpressionShare - } - 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_OneofWrappers is for the internal use of the proto package. -func (*BiddingStrategy) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*BiddingStrategy_EnhancedCpc)(nil), - (*BiddingStrategy_PageOnePromoted)(nil), - (*BiddingStrategy_TargetCpa)(nil), - (*BiddingStrategy_TargetImpressionShare)(nil), - (*BiddingStrategy_TargetOutrankShare)(nil), - (*BiddingStrategy_TargetRoas)(nil), - (*BiddingStrategy_TargetSpend)(nil), - } -} - -func init() { - proto.RegisterType((*BiddingStrategy)(nil), "google.ads.googleads.v1.resources.BiddingStrategy") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/bidding_strategy.proto", fileDescriptor_45db3d8386a3943d) -} - -var fileDescriptor_45db3d8386a3943d = []byte{ - // 693 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x95, 0xdd, 0x4e, 0xdb, 0x30, - 0x14, 0xc7, 0xdb, 0xc2, 0x18, 0xb8, 0x7c, 0x68, 0x11, 0x13, 0x11, 0x43, 0x13, 0x6c, 0x42, 0x62, - 0x63, 0x72, 0x28, 0xfb, 0xd0, 0x16, 0xae, 0xda, 0x0a, 0x51, 0x90, 0x06, 0x55, 0x8a, 0xaa, 0x69, - 0xea, 0x16, 0x99, 0xe4, 0x10, 0xa2, 0x11, 0xdb, 0xb2, 0x1d, 0x26, 0x2e, 0xf7, 0x2a, 0xbb, 0xdc, - 0xa3, 0xec, 0x51, 0xf6, 0x0c, 0xbb, 0x98, 0xe2, 0x38, 0x41, 0x7c, 0x74, 0x2d, 0x77, 0x3e, 0x3e, - 0xff, 0xff, 0xef, 0x1f, 0x0e, 0x27, 0x29, 0x7a, 0x1f, 0x31, 0x16, 0x9d, 0x83, 0x43, 0x42, 0xe9, - 0xe4, 0xc7, 0xec, 0x74, 0xd1, 0x70, 0x04, 0x48, 0x96, 0x8a, 0x00, 0xa4, 0x73, 0x12, 0x87, 0x61, - 0x4c, 0x23, 0x5f, 0x2a, 0x41, 0x14, 0x44, 0x97, 0x98, 0x0b, 0xa6, 0x98, 0xb5, 0x96, 0xcb, 0x31, - 0x09, 0x25, 0x2e, 0x9d, 0xf8, 0xa2, 0x81, 0x4b, 0xe7, 0xf2, 0xab, 0x61, 0xf0, 0x80, 0x25, 0x09, - 0xa3, 0x05, 0x39, 0x07, 0x2e, 0xef, 0x0c, 0x53, 0x03, 0x4d, 0x93, 0xdb, 0x8f, 0xe1, 0x4b, 0x45, - 0x54, 0x2a, 0x8d, 0xf9, 0xc3, 0x3d, 0xcd, 0xea, 0x92, 0x83, 0xb1, 0xae, 0x14, 0x56, 0x1e, 0x3b, - 0x84, 0x52, 0x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72, 0x56, 0x65, 0x4b, 0x62, 0x70, 0x92, 0x03, 0x0d, 0xed, 0xd9, 0xf1, 0x96, 0x24, 0xe7, 0xf5, - 0x32, 0x4b, 0xb6, 0x24, 0xea, 0xaa, 0x6c, 0x4d, 0xa3, 0x29, 0x19, 0x9c, 0x41, 0x02, 0xad, 0x1f, - 0x35, 0xb4, 0x1e, 0xb0, 0x04, 0x8f, 0xfc, 0x18, 0xb7, 0x16, 0x6f, 0xbc, 0x63, 0xdd, 0x6c, 0xcf, - 0xbb, 0xd5, 0xcf, 0x07, 0xc6, 0x1a, 0xb1, 0x73, 0x42, 0x23, 0xcc, 0x44, 0xe4, 0x44, 0x40, 0xf5, - 0x5b, 0x50, 0x7c, 0x49, 0x79, 0x2c, 0xff, 0xf3, 0x03, 0xb1, 0x53, 0x9e, 0x7e, 0xd6, 0x26, 0xf6, - 0x9a, 0xcd, 0x5f, 0xb5, 0xb5, 0xbd, 0x1c, 0xd9, 0x0c, 0x25, 0xce, 0x8f, 0xd9, 0xa9, 0xdf, 0xc0, - 0x5e, 0xa1, 0xfc, 0x5d, 0x68, 0x06, 0xcd, 0x50, 0x0e, 0x4a, 0xcd, 0xa0, 0xdf, 0x18, 0x94, 0x9a, - 0x3f, 0xb5, 0xf5, 0xbc, 0xe1, 0xba, 0xcd, 0x50, 0xba, 0x6e, 0xa9, 0x72, 0xdd, 0x7e, 0xc3, 0x75, - 0x4b, 0xdd, 0xc9, 0x94, 0x7e, 0xd8, 0xd7, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0xe8, 0x8b, 0xa0, - 0x46, 0xcc, 0x06, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/billing_setup.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/billing_setup.pb.go deleted file mode 100644 index a10fd225..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/billing_setup.pb.go +++ /dev/null @@ -1,363 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/billing_setup.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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.v1.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_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_4372b9605c7b101a, []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 (m *BillingSetup) XXX_Merge(src proto.Message) { - xxx_messageInfo_BillingSetup.Merge(m, 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.v1.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.v1.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_OneofWrappers is for the internal use of the proto package. -func (*BillingSetup) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*BillingSetup_StartDateTime)(nil), - (*BillingSetup_StartTimeType)(nil), - (*BillingSetup_EndDateTime)(nil), - (*BillingSetup_EndTimeType)(nil), - } -} - -// 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_4372b9605c7b101a, []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 (m *BillingSetup_PaymentsAccountInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_BillingSetup_PaymentsAccountInfo.Merge(m, 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.v1.resources.BillingSetup") - proto.RegisterType((*BillingSetup_PaymentsAccountInfo)(nil), "google.ads.googleads.v1.resources.BillingSetup.PaymentsAccountInfo") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/billing_setup.proto", fileDescriptor_4372b9605c7b101a) -} - -var fileDescriptor_4372b9605c7b101a = []byte{ - // 632 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0xdf, 0x6e, 0xd3, 0x30, - 0x14, 0xc6, 0x49, 0x0a, 0x13, 0xf3, 0xda, 0x8d, 0x65, 0x42, 0x8a, 0xca, 0x40, 0x1b, 0x68, 0xd2, - 0x24, 0x84, 0xa3, 0x8e, 0x81, 0x50, 0xb8, 0x6a, 0xf9, 0xb3, 0x0d, 0x21, 0x54, 0x65, 0x53, 0x2f, - 0xa6, 0x8a, 0xe0, 0xd5, 0x6e, 0x64, 0x29, 0xb1, 0xa3, 0xd8, 0xd9, 0xd4, 0xa7, 0x41, 0xe2, 0x92, - 0x07, 0xe0, 0x21, 0x78, 0x14, 0x1e, 0x02, 0xa1, 0xd8, 0x71, 0xd6, 0x65, 0xdd, 0xba, 0x89, 0xbb, - 0x63, 0xfb, 0x7c, 0x5f, 0x7f, 0x3e, 0xe7, 0xb8, 0x01, 0xaf, 0x22, 0xce, 0xa3, 0x98, 0x78, 0x08, - 0x0b, 0x4f, 0x87, 0x45, 0x74, 0x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8d, 0xdb, 0xf0, 0xf5, 0xb5, 0xae, 0xc6, 0x67, 0xdc, 0x14, 0xdf, 0xdd, - 0xdb, 0xf0, 0x95, 0x7e, 0x8a, 0x2f, 0x04, 0x8f, 0x05, 0x19, 0x71, 0x86, 0x51, 0x36, 0x09, 0x67, - 0x91, 0xde, 0xbb, 0x81, 0x73, 0xbb, 0xb2, 0xe8, 0xd7, 0x91, 0x7b, 0x4d, 0x00, 0xce, 0x07, 0xb7, - 0x07, 0xc0, 0x7d, 0x33, 0x22, 0xbd, 0xbf, 0x16, 0xd8, 0x1a, 0xf1, 0x64, 0xfe, 0xd3, 0xeb, 0xad, - 0x4e, 0xbf, 0xbd, 0x7e, 0x41, 0xd0, 0xb7, 0x8e, 0x3f, 0x95, 0xba, 0x88, 0xc7, 0x88, 0x45, 0x90, - 0x67, 0x91, 0x17, 0x11, 0xa6, 0xf8, 0xcc, 0xbf, 0x6b, 0x4a, 0xc5, 0x35, 0x1f, 0x80, 0xb7, 0x55, - 0xf4, 0xc3, 0x6e, 0xec, 0x75, 0xbb, 0x3f, 0xed, 0xcd, 0x3d, 0x6d, 0xd9, 0xc5, 0x02, 0xea, 0xb0, - 0x88, 0x06, 0x1d, 0x18, 0x98, 0xcc, 0xdf, 0x26, 0x67, 0xd8, 0xc5, 0x62, 0x58, 0xe5, 0x0c, 0x07, - 0x9d, 0x61, 0x95, 0xf3, 0xc7, 0xde, 0xd2, 0x07, 0xbe, 0xdf, 0xc5, 0xc2, 0xf7, 0xab, 0x2c, 0xdf, - 0x1f, 0x74, 0x7c, 0xbf, 0xca, 0x3b, 0x59, 0x50, 0xb0, 0x2f, 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, - 0x6c, 0xe0, 0x11, 0x64, 0xac, 0x06, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign.pb.go deleted file mode 100644 index e534c211..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign.pb.go +++ /dev/null @@ -1,1270 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/campaign.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v1/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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.v1.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.v1.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.v1.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.v1.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.v1.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"` - // Setting for targeting related features. - TargetingSetting *common.TargetingSetting `protobuf:"bytes,43,opt,name=targeting_setting,json=targetingSetting,proto3" json:"targeting_setting,omitempty"` - // The setting for ads geotargeting. - GeoTargetTypeSetting *Campaign_GeoTargetTypeSetting `protobuf:"bytes,47,opt,name=geo_target_type_setting,json=geoTargetTypeSetting,proto3" json:"geo_target_type_setting,omitempty"` - // The setting related to App Campaign. - AppCampaignSetting *Campaign_AppCampaignSetting `protobuf:"bytes,51,opt,name=app_campaign_setting,json=appCampaignSetting,proto3" json:"app_campaign_setting,omitempty"` - // The resource names of labels attached to this campaign. - Labels []*wrappers.StringValue `protobuf:"bytes,53,rep,name=labels,proto3" json:"labels,omitempty"` - // The type of campaign: normal, draft, or experiment. - ExperimentType enums.CampaignExperimentTypeEnum_CampaignExperimentType `protobuf:"varint,17,opt,name=experiment_type,json=experimentType,proto3,enum=google.ads.googleads.v1.enums.CampaignExperimentTypeEnum_CampaignExperimentType" json:"experiment_type,omitempty"` - // The resource name of the base campaign of a draft or experiment campaign. - // For base campaigns, this is equal to `resource_name`. - // - // This field is read-only. - BaseCampaign *wrappers.StringValue `protobuf:"bytes,28,opt,name=base_campaign,json=baseCampaign,proto3" json:"base_campaign,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.v1.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 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"` - // 3-Tier Brand Safety setting for the campaign. - VideoBrandSafetySuitability enums.BrandSafetySuitabilityEnum_BrandSafetySuitability `protobuf:"varint,42,opt,name=video_brand_safety_suitability,json=videoBrandSafetySuitability,proto3,enum=google.ads.googleads.v1.enums.BrandSafetySuitabilityEnum_BrandSafetySuitability" json:"video_brand_safety_suitability,omitempty"` - // Describes how unbranded pharma ads will be displayed. - VanityPharma *Campaign_VanityPharma `protobuf:"bytes,44,opt,name=vanity_pharma,json=vanityPharma,proto3" json:"vanity_pharma,omitempty"` - // Selective optimization setting for this campaign, which includes a set of - // conversion actions to optimize this campaign towards. - SelectiveOptimization *Campaign_SelectiveOptimization `protobuf:"bytes,45,opt,name=selective_optimization,json=selectiveOptimization,proto3" json:"selective_optimization,omitempty"` - // Campaign level settings for tracking information. - TrackingSetting *Campaign_TrackingSetting `protobuf:"bytes,46,opt,name=tracking_setting,json=trackingSetting,proto3" json:"tracking_setting,omitempty"` - // Payment mode for the campaign. - PaymentMode enums.PaymentModeEnum_PaymentMode `protobuf:"varint,52,opt,name=payment_mode,json=paymentMode,proto3,enum=google.ads.googleads.v1.enums.PaymentModeEnum_PaymentMode" json:"payment_mode,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_Commission - // *Campaign_ManualCpc - // *Campaign_ManualCpm - // *Campaign_ManualCpv - // *Campaign_MaximizeConversions - // *Campaign_MaximizeConversionValue - // *Campaign_TargetCpa - // *Campaign_TargetImpressionShare - // *Campaign_TargetRoas - // *Campaign_TargetSpend - // *Campaign_PercentCpc - // *Campaign_TargetCpm - 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_27611d02f7286242, []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 (m *Campaign) XXX_Merge(src proto.Message) { - xxx_messageInfo_Campaign.Merge(m, 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) GetTargetingSetting() *common.TargetingSetting { - if m != nil { - return m.TargetingSetting - } - return nil -} - -func (m *Campaign) GetGeoTargetTypeSetting() *Campaign_GeoTargetTypeSetting { - if m != nil { - return m.GeoTargetTypeSetting - } - return nil -} - -func (m *Campaign) GetAppCampaignSetting() *Campaign_AppCampaignSetting { - if m != nil { - return m.AppCampaignSetting - } - return nil -} - -func (m *Campaign) GetLabels() []*wrappers.StringValue { - if m != nil { - return m.Labels - } - return nil -} - -func (m *Campaign) GetExperimentType() enums.CampaignExperimentTypeEnum_CampaignExperimentType { - if m != nil { - return m.ExperimentType - } - return enums.CampaignExperimentTypeEnum_UNSPECIFIED -} - -func (m *Campaign) GetBaseCampaign() *wrappers.StringValue { - if m != nil { - return m.BaseCampaign - } - 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) 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 -} - -func (m *Campaign) GetVideoBrandSafetySuitability() enums.BrandSafetySuitabilityEnum_BrandSafetySuitability { - if m != nil { - return m.VideoBrandSafetySuitability - } - return enums.BrandSafetySuitabilityEnum_UNSPECIFIED -} - -func (m *Campaign) GetVanityPharma() *Campaign_VanityPharma { - if m != nil { - return m.VanityPharma - } - return nil -} - -func (m *Campaign) GetSelectiveOptimization() *Campaign_SelectiveOptimization { - if m != nil { - return m.SelectiveOptimization - } - return nil -} - -func (m *Campaign) GetTrackingSetting() *Campaign_TrackingSetting { - if m != nil { - return m.TrackingSetting - } - return nil -} - -func (m *Campaign) GetPaymentMode() enums.PaymentModeEnum_PaymentMode { - if m != nil { - return m.PaymentMode - } - return enums.PaymentModeEnum_UNSPECIFIED -} - -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_Commission struct { - Commission *common.Commission `protobuf:"bytes,49,opt,name=commission,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_TargetImpressionShare struct { - TargetImpressionShare *common.TargetImpressionShare `protobuf:"bytes,48,opt,name=target_impression_share,json=targetImpressionShare,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"` -} - -type Campaign_TargetCpm struct { - TargetCpm *common.TargetCpm `protobuf:"bytes,41,opt,name=target_cpm,json=targetCpm,proto3,oneof"` -} - -func (*Campaign_BiddingStrategy) isCampaign_CampaignBiddingStrategy() {} - -func (*Campaign_Commission) 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_TargetImpressionShare) isCampaign_CampaignBiddingStrategy() {} - -func (*Campaign_TargetRoas) isCampaign_CampaignBiddingStrategy() {} - -func (*Campaign_TargetSpend) isCampaign_CampaignBiddingStrategy() {} - -func (*Campaign_PercentCpc) isCampaign_CampaignBiddingStrategy() {} - -func (*Campaign_TargetCpm) 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) GetCommission() *common.Commission { - if x, ok := m.GetCampaignBiddingStrategy().(*Campaign_Commission); ok { - return x.Commission - } - 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) GetTargetImpressionShare() *common.TargetImpressionShare { - if x, ok := m.GetCampaignBiddingStrategy().(*Campaign_TargetImpressionShare); ok { - return x.TargetImpressionShare - } - 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 -} - -func (m *Campaign) GetTargetCpm() *common.TargetCpm { - if x, ok := m.GetCampaignBiddingStrategy().(*Campaign_TargetCpm); ok { - return x.TargetCpm - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Campaign) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Campaign_BiddingStrategy)(nil), - (*Campaign_Commission)(nil), - (*Campaign_ManualCpc)(nil), - (*Campaign_ManualCpm)(nil), - (*Campaign_ManualCpv)(nil), - (*Campaign_MaximizeConversions)(nil), - (*Campaign_MaximizeConversionValue)(nil), - (*Campaign_TargetCpa)(nil), - (*Campaign_TargetImpressionShare)(nil), - (*Campaign_TargetRoas)(nil), - (*Campaign_TargetSpend)(nil), - (*Campaign_PercentCpc)(nil), - (*Campaign_TargetCpm)(nil), - } -} - -// 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_27611d02f7286242, []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 (m *Campaign_NetworkSettings) XXX_Merge(src proto.Message) { - xxx_messageInfo_Campaign_NetworkSettings.Merge(m, 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_27611d02f7286242, []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 (m *Campaign_HotelSettingInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_Campaign_HotelSettingInfo.Merge(m, 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 -} - -// Describes how unbranded pharma ads will be displayed. -type Campaign_VanityPharma struct { - // The display mode for vanity pharma URLs. - VanityPharmaDisplayUrlMode enums.VanityPharmaDisplayUrlModeEnum_VanityPharmaDisplayUrlMode `protobuf:"varint,1,opt,name=vanity_pharma_display_url_mode,json=vanityPharmaDisplayUrlMode,proto3,enum=google.ads.googleads.v1.enums.VanityPharmaDisplayUrlModeEnum_VanityPharmaDisplayUrlMode" json:"vanity_pharma_display_url_mode,omitempty"` - // The text that will be displayed in display URL of the text ad when - // website description is the selected display mode for vanity pharma URLs. - VanityPharmaText enums.VanityPharmaTextEnum_VanityPharmaText `protobuf:"varint,2,opt,name=vanity_pharma_text,json=vanityPharmaText,proto3,enum=google.ads.googleads.v1.enums.VanityPharmaTextEnum_VanityPharmaText" json:"vanity_pharma_text,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Campaign_VanityPharma) Reset() { *m = Campaign_VanityPharma{} } -func (m *Campaign_VanityPharma) String() string { return proto.CompactTextString(m) } -func (*Campaign_VanityPharma) ProtoMessage() {} -func (*Campaign_VanityPharma) Descriptor() ([]byte, []int) { - return fileDescriptor_27611d02f7286242, []int{0, 2} -} - -func (m *Campaign_VanityPharma) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Campaign_VanityPharma.Unmarshal(m, b) -} -func (m *Campaign_VanityPharma) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Campaign_VanityPharma.Marshal(b, m, deterministic) -} -func (m *Campaign_VanityPharma) XXX_Merge(src proto.Message) { - xxx_messageInfo_Campaign_VanityPharma.Merge(m, src) -} -func (m *Campaign_VanityPharma) XXX_Size() int { - return xxx_messageInfo_Campaign_VanityPharma.Size(m) -} -func (m *Campaign_VanityPharma) XXX_DiscardUnknown() { - xxx_messageInfo_Campaign_VanityPharma.DiscardUnknown(m) -} - -var xxx_messageInfo_Campaign_VanityPharma proto.InternalMessageInfo - -func (m *Campaign_VanityPharma) GetVanityPharmaDisplayUrlMode() enums.VanityPharmaDisplayUrlModeEnum_VanityPharmaDisplayUrlMode { - if m != nil { - return m.VanityPharmaDisplayUrlMode - } - return enums.VanityPharmaDisplayUrlModeEnum_UNSPECIFIED -} - -func (m *Campaign_VanityPharma) GetVanityPharmaText() enums.VanityPharmaTextEnum_VanityPharmaText { - if m != nil { - return m.VanityPharmaText - } - return enums.VanityPharmaTextEnum_UNSPECIFIED -} - -// 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. - Feeds []*wrappers.StringValue `protobuf:"bytes,5,rep,name=feeds,proto3" json:"feeds,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_27611d02f7286242, []int{0, 3} -} - -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 (m *Campaign_DynamicSearchAdsSetting) XXX_Merge(src proto.Message) { - xxx_messageInfo_Campaign_DynamicSearchAdsSetting.Merge(m, 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) GetFeeds() []*wrappers.StringValue { - if m != nil { - return m.Feeds - } - 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"` - // Whether to include local products. - 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_27611d02f7286242, []int{0, 4} -} - -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 (m *Campaign_ShoppingSetting) XXX_Merge(src proto.Message) { - xxx_messageInfo_Campaign_ShoppingSetting.Merge(m, 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 -} - -// Campaign level settings for tracking information. -type Campaign_TrackingSetting struct { - // The url used for dynamic tracking. - TrackingUrl *wrappers.StringValue `protobuf:"bytes,1,opt,name=tracking_url,json=trackingUrl,proto3" json:"tracking_url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Campaign_TrackingSetting) Reset() { *m = Campaign_TrackingSetting{} } -func (m *Campaign_TrackingSetting) String() string { return proto.CompactTextString(m) } -func (*Campaign_TrackingSetting) ProtoMessage() {} -func (*Campaign_TrackingSetting) Descriptor() ([]byte, []int) { - return fileDescriptor_27611d02f7286242, []int{0, 5} -} - -func (m *Campaign_TrackingSetting) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Campaign_TrackingSetting.Unmarshal(m, b) -} -func (m *Campaign_TrackingSetting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Campaign_TrackingSetting.Marshal(b, m, deterministic) -} -func (m *Campaign_TrackingSetting) XXX_Merge(src proto.Message) { - xxx_messageInfo_Campaign_TrackingSetting.Merge(m, src) -} -func (m *Campaign_TrackingSetting) XXX_Size() int { - return xxx_messageInfo_Campaign_TrackingSetting.Size(m) -} -func (m *Campaign_TrackingSetting) XXX_DiscardUnknown() { - xxx_messageInfo_Campaign_TrackingSetting.DiscardUnknown(m) -} - -var xxx_messageInfo_Campaign_TrackingSetting proto.InternalMessageInfo - -func (m *Campaign_TrackingSetting) GetTrackingUrl() *wrappers.StringValue { - if m != nil { - return m.TrackingUrl - } - return nil -} - -// Selective optimization setting for this campaign, which includes a set of -// conversion actions to optimize this campaign towards. -type Campaign_SelectiveOptimization struct { - // The selected set of conversion actions for optimizing this campaign. - ConversionActions []*wrappers.StringValue `protobuf:"bytes,1,rep,name=conversion_actions,json=conversionActions,proto3" json:"conversion_actions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Campaign_SelectiveOptimization) Reset() { *m = Campaign_SelectiveOptimization{} } -func (m *Campaign_SelectiveOptimization) String() string { return proto.CompactTextString(m) } -func (*Campaign_SelectiveOptimization) ProtoMessage() {} -func (*Campaign_SelectiveOptimization) Descriptor() ([]byte, []int) { - return fileDescriptor_27611d02f7286242, []int{0, 6} -} - -func (m *Campaign_SelectiveOptimization) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Campaign_SelectiveOptimization.Unmarshal(m, b) -} -func (m *Campaign_SelectiveOptimization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Campaign_SelectiveOptimization.Marshal(b, m, deterministic) -} -func (m *Campaign_SelectiveOptimization) XXX_Merge(src proto.Message) { - xxx_messageInfo_Campaign_SelectiveOptimization.Merge(m, src) -} -func (m *Campaign_SelectiveOptimization) XXX_Size() int { - return xxx_messageInfo_Campaign_SelectiveOptimization.Size(m) -} -func (m *Campaign_SelectiveOptimization) XXX_DiscardUnknown() { - xxx_messageInfo_Campaign_SelectiveOptimization.DiscardUnknown(m) -} - -var xxx_messageInfo_Campaign_SelectiveOptimization proto.InternalMessageInfo - -func (m *Campaign_SelectiveOptimization) GetConversionActions() []*wrappers.StringValue { - if m != nil { - return m.ConversionActions - } - return nil -} - -// Campaign level settings for App Campaigns. -type Campaign_AppCampaignSetting struct { - // Represents the goal which the bidding strategy of this app campaign - // should optimize towards. - BiddingStrategyGoalType enums.AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType `protobuf:"varint,1,opt,name=bidding_strategy_goal_type,json=biddingStrategyGoalType,proto3,enum=google.ads.googleads.v1.enums.AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType" json:"bidding_strategy_goal_type,omitempty"` - // A string that uniquely identifies a mobile application. - AppId *wrappers.StringValue `protobuf:"bytes,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` - // The application store that distributes this specific app. - AppStore enums.AppCampaignAppStoreEnum_AppCampaignAppStore `protobuf:"varint,3,opt,name=app_store,json=appStore,proto3,enum=google.ads.googleads.v1.enums.AppCampaignAppStoreEnum_AppCampaignAppStore" json:"app_store,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Campaign_AppCampaignSetting) Reset() { *m = Campaign_AppCampaignSetting{} } -func (m *Campaign_AppCampaignSetting) String() string { return proto.CompactTextString(m) } -func (*Campaign_AppCampaignSetting) ProtoMessage() {} -func (*Campaign_AppCampaignSetting) Descriptor() ([]byte, []int) { - return fileDescriptor_27611d02f7286242, []int{0, 7} -} - -func (m *Campaign_AppCampaignSetting) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Campaign_AppCampaignSetting.Unmarshal(m, b) -} -func (m *Campaign_AppCampaignSetting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Campaign_AppCampaignSetting.Marshal(b, m, deterministic) -} -func (m *Campaign_AppCampaignSetting) XXX_Merge(src proto.Message) { - xxx_messageInfo_Campaign_AppCampaignSetting.Merge(m, src) -} -func (m *Campaign_AppCampaignSetting) XXX_Size() int { - return xxx_messageInfo_Campaign_AppCampaignSetting.Size(m) -} -func (m *Campaign_AppCampaignSetting) XXX_DiscardUnknown() { - xxx_messageInfo_Campaign_AppCampaignSetting.DiscardUnknown(m) -} - -var xxx_messageInfo_Campaign_AppCampaignSetting proto.InternalMessageInfo - -func (m *Campaign_AppCampaignSetting) GetBiddingStrategyGoalType() enums.AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType { - if m != nil { - return m.BiddingStrategyGoalType - } - return enums.AppCampaignBiddingStrategyGoalTypeEnum_UNSPECIFIED -} - -func (m *Campaign_AppCampaignSetting) GetAppId() *wrappers.StringValue { - if m != nil { - return m.AppId - } - return nil -} - -func (m *Campaign_AppCampaignSetting) GetAppStore() enums.AppCampaignAppStoreEnum_AppCampaignAppStore { - if m != nil { - return m.AppStore - } - return enums.AppCampaignAppStoreEnum_UNSPECIFIED -} - -// Represents a collection of settings related to ads geotargeting. -type Campaign_GeoTargetTypeSetting struct { - // The setting used for positive geotargeting in this particular campaign. - PositiveGeoTargetType enums.PositiveGeoTargetTypeEnum_PositiveGeoTargetType `protobuf:"varint,1,opt,name=positive_geo_target_type,json=positiveGeoTargetType,proto3,enum=google.ads.googleads.v1.enums.PositiveGeoTargetTypeEnum_PositiveGeoTargetType" json:"positive_geo_target_type,omitempty"` - // The setting used for negative geotargeting in this particular campaign. - NegativeGeoTargetType enums.NegativeGeoTargetTypeEnum_NegativeGeoTargetType `protobuf:"varint,2,opt,name=negative_geo_target_type,json=negativeGeoTargetType,proto3,enum=google.ads.googleads.v1.enums.NegativeGeoTargetTypeEnum_NegativeGeoTargetType" json:"negative_geo_target_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Campaign_GeoTargetTypeSetting) Reset() { *m = Campaign_GeoTargetTypeSetting{} } -func (m *Campaign_GeoTargetTypeSetting) String() string { return proto.CompactTextString(m) } -func (*Campaign_GeoTargetTypeSetting) ProtoMessage() {} -func (*Campaign_GeoTargetTypeSetting) Descriptor() ([]byte, []int) { - return fileDescriptor_27611d02f7286242, []int{0, 8} -} - -func (m *Campaign_GeoTargetTypeSetting) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Campaign_GeoTargetTypeSetting.Unmarshal(m, b) -} -func (m *Campaign_GeoTargetTypeSetting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Campaign_GeoTargetTypeSetting.Marshal(b, m, deterministic) -} -func (m *Campaign_GeoTargetTypeSetting) XXX_Merge(src proto.Message) { - xxx_messageInfo_Campaign_GeoTargetTypeSetting.Merge(m, src) -} -func (m *Campaign_GeoTargetTypeSetting) XXX_Size() int { - return xxx_messageInfo_Campaign_GeoTargetTypeSetting.Size(m) -} -func (m *Campaign_GeoTargetTypeSetting) XXX_DiscardUnknown() { - xxx_messageInfo_Campaign_GeoTargetTypeSetting.DiscardUnknown(m) -} - -var xxx_messageInfo_Campaign_GeoTargetTypeSetting proto.InternalMessageInfo - -func (m *Campaign_GeoTargetTypeSetting) GetPositiveGeoTargetType() enums.PositiveGeoTargetTypeEnum_PositiveGeoTargetType { - if m != nil { - return m.PositiveGeoTargetType - } - return enums.PositiveGeoTargetTypeEnum_UNSPECIFIED -} - -func (m *Campaign_GeoTargetTypeSetting) GetNegativeGeoTargetType() enums.NegativeGeoTargetTypeEnum_NegativeGeoTargetType { - if m != nil { - return m.NegativeGeoTargetType - } - return enums.NegativeGeoTargetTypeEnum_UNSPECIFIED -} - -func init() { - proto.RegisterType((*Campaign)(nil), "google.ads.googleads.v1.resources.Campaign") - proto.RegisterType((*Campaign_NetworkSettings)(nil), "google.ads.googleads.v1.resources.Campaign.NetworkSettings") - proto.RegisterType((*Campaign_HotelSettingInfo)(nil), "google.ads.googleads.v1.resources.Campaign.HotelSettingInfo") - proto.RegisterType((*Campaign_VanityPharma)(nil), "google.ads.googleads.v1.resources.Campaign.VanityPharma") - proto.RegisterType((*Campaign_DynamicSearchAdsSetting)(nil), "google.ads.googleads.v1.resources.Campaign.DynamicSearchAdsSetting") - proto.RegisterType((*Campaign_ShoppingSetting)(nil), "google.ads.googleads.v1.resources.Campaign.ShoppingSetting") - proto.RegisterType((*Campaign_TrackingSetting)(nil), "google.ads.googleads.v1.resources.Campaign.TrackingSetting") - proto.RegisterType((*Campaign_SelectiveOptimization)(nil), "google.ads.googleads.v1.resources.Campaign.SelectiveOptimization") - proto.RegisterType((*Campaign_AppCampaignSetting)(nil), "google.ads.googleads.v1.resources.Campaign.AppCampaignSetting") - proto.RegisterType((*Campaign_GeoTargetTypeSetting)(nil), "google.ads.googleads.v1.resources.Campaign.GeoTargetTypeSetting") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/campaign.proto", fileDescriptor_27611d02f7286242) -} - -var fileDescriptor_27611d02f7286242 = []byte{ - // 2226 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x59, 0x4b, 0x93, 0xdb, 0xc6, - 0x11, 0x5e, 0x52, 0x96, 0x22, 0xcd, 0x3e, 0x35, 0xfb, 0x82, 0x28, 0x59, 0x91, 0x9d, 0x28, 0x91, - 0x2d, 0x87, 0xd4, 0xee, 0x4a, 0x72, 0xb2, 0x92, 0x1d, 0x71, 0x29, 0x59, 0xbb, 0xb2, 0x1e, 0x2c, - 0x70, 0xb5, 0x51, 0xb9, 0xa4, 0x42, 0x0d, 0x81, 0x59, 0x2e, 0xca, 0x00, 0x66, 0x3c, 0x33, 0xa0, - 0x96, 0x39, 0xa4, 0x72, 0x4b, 0x55, 0xee, 0xa9, 0x1c, 0x92, 0xaa, 0x3c, 0xaa, 0x72, 0xf1, 0x0f, - 0xc8, 0x8f, 0xc8, 0x4f, 0xc8, 0x29, 0xe7, 0xfc, 0x84, 0x9c, 0x52, 0xf3, 0x00, 0x16, 0x24, 0x41, - 0x02, 0xbc, 0x61, 0x7a, 0xfa, 0xfb, 0xba, 0xd1, 0xd3, 0xd3, 0xe8, 0x19, 0x80, 0x3b, 0x3d, 0x42, - 0x7a, 0x01, 0x6e, 0x20, 0x8f, 0x37, 0xf4, 0xa3, 0x7c, 0xea, 0x6f, 0x35, 0x18, 0xe6, 0x24, 0x66, - 0x2e, 0xe6, 0x0d, 0x17, 0x85, 0x14, 0xf9, 0xbd, 0xa8, 0x4e, 0x19, 0x11, 0x04, 0x7e, 0xa4, 0xd5, - 0xea, 0xc8, 0xe3, 0xf5, 0x14, 0x51, 0xef, 0x6f, 0xd5, 0x53, 0x44, 0xed, 0xb3, 0x49, 0xa4, 0x2e, - 0x09, 0x43, 0x12, 0x35, 0xba, 0xbe, 0xe7, 0xf9, 0x51, 0x4f, 0x13, 0xd6, 0xee, 0x15, 0x68, 0xbb, - 0x31, 0x17, 0x24, 0x74, 0x28, 0x62, 0x28, 0xc4, 0x02, 0x33, 0x03, 0xdb, 0x2e, 0x80, 0x1d, 0x33, - 0xfc, 0x5d, 0x8c, 0x23, 0x77, 0xe0, 0xb8, 0x88, 0x1a, 0xcc, 0x97, 0x05, 0x18, 0x86, 0x51, 0xe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 0x76, 0xe7, 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, 0xd2, 0xe8, 0xa8, 0x7e, 0x82, 0x1f, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_audience_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_audience_view.pb.go deleted file mode 100644 index 44af10b4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_audience_view.pb.go +++ /dev/null @@ -1,102 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/campaign_audience_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_466ee4be4842c8d4, []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 (m *CampaignAudienceView) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignAudienceView.Merge(m, 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.v1.resources.CampaignAudienceView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/campaign_audience_view.proto", fileDescriptor_466ee4be4842c8d4) -} - -var fileDescriptor_466ee4be4842c8d4 = []byte{ - // 276 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0x4f, 0x4a, 0xc4, 0x30, - 0x14, 0xc6, 0x99, 0x0a, 0x82, 0x45, 0x37, 0x83, 0x0b, 0x15, 0x17, 0x8e, 0x32, 0xe0, 0x2a, 0xa1, - 0xb8, 0xcb, 0x80, 0x90, 0x71, 0x31, 0xe0, 0x42, 0x86, 0x59, 0x74, 0x21, 0x85, 0xf2, 0x6c, 0x1e, - 0x21, 0x30, 0xcd, 0x2b, 0x4d, 0xa7, 0x73, 0x03, 0x0f, 0xe2, 0xd2, 0xa3, 0x78, 0x14, 0x4f, 0x21, - 0x9d, 0x34, 0x59, 0x89, 0xee, 0x3e, 0x92, 0xdf, 0xf7, 0x87, 0x97, 0x3e, 0x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, 0x3e, 0x8c, 0x7d, 0xf8, 0x09, 0x00, 0x00, 0xff, 0xff, 0xeb, 0x40, 0xc3, 0x93, - 0xcf, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_bid_modifier.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_bid_modifier.pb.go deleted file mode 100644 index c689a957..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_bid_modifier.pb.go +++ /dev/null @@ -1,174 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/campaign_bid_modifier.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v1/common" - _ "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.ProtoPackageIsVersion3 // 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_c88d20810b244847, []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 (m *CampaignBidModifier) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignBidModifier.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*CampaignBidModifier) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CampaignBidModifier_InteractionType)(nil), - } -} - -func init() { - proto.RegisterType((*CampaignBidModifier)(nil), "google.ads.googleads.v1.resources.CampaignBidModifier") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/campaign_bid_modifier.proto", fileDescriptor_c88d20810b244847) -} - -var fileDescriptor_c88d20810b244847 = []byte{ - // 440 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xdd, 0x6a, 0xd4, 0x40, - 0x14, 0x76, 0x53, 0x15, 0x3b, 0xbb, 0xa2, 0xc4, 0x9b, 0x50, 0x8b, 0xb4, 0x4a, 0xa1, 0x37, 0x4e, - 0x88, 0x15, 0x91, 0x88, 0x4a, 0x56, 0xa1, 0xae, 0xa0, 0x94, 0x55, 0xf6, 0x42, 0x16, 0xe2, 0x24, - 0x33, 0x1b, 0x06, 0x36, 0x73, 0x86, 0x99, 0x49, 0xa5, 0x0f, 0xe0, 0x8b, 0x78, 0xe9, 0xa3, 0xf8, - 0x1c, 0x5e, 0xf9, 0x14, 0x92, 0xcc, 0x0f, 0x2b, 0xba, 0xf6, 0xee, 0x4b, 0xce, 0xf7, 0x9d, 0xf3, - 0x7d, 0xe7, 0x0c, 0x7a, 0xde, 0x00, 0x34, 0x6b, 0x96, 0x12, 0xaa, 0x53, 0x0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 0xd0, 0x55, 0x6b, 0xe6, 0x1a, 0x54, 0x1b, 0xf9, 0x3e, 0xa3, 0xdb, 0x5c, 0x18, 0xa6, - 0x48, 0xdd, 0x6f, 0xab, 0x34, 0x17, 0x92, 0x25, 0xd7, 0x86, 0x26, 0x27, 0x78, 0xdb, 0x89, 0xec, - 0xfe, 0x7b, 0x4f, 0x5e, 0xf7, 0xf1, 0x42, 0xb2, 0x99, 0x58, 0xc1, 0x9b, 0x2b, 0xf3, 0x5b, 0xfc, - 0xcf, 0xdf, 0xd3, 0x31, 0xda, 0x0d, 0x8e, 0xa7, 0x5f, 0x23, 0x74, 0x54, 0x43, 0x8b, 0x2f, 0xbd, - 0xfe, 0x34, 0xf9, 0xc7, 0x35, 0xce, 0xfa, 0x38, 0x67, 0xa3, 0x4f, 0x6f, 0x9d, 0xbc, 0x81, 0x35, - 0x11, 0x0d, 0x06, 0xd5, 0xa4, 0x0d, 0x13, 0x43, 0x58, 0xff, 0x52, 0x24, 0xd7, 0xff, 0x79, 0x9a, - 0xcf, 0x02, 0xfa, 0x16, 0xed, 0x9c, 0x16, 0xc5, 0xf7, 0xe8, 0xf0, 0xd4, 0xb6, 0x2c, 0xa8, 0xc6, - 0x16, 0xf6, 0x68, 0x91, 0xe1, 0xb9, 0x67, 0xfe, 0xf0, 0x9c, 0x65, 0x41, 0xf5, 0x32, 0x70, 0x96, - 0x8b, 0x6c, 0x19, 0x38, 0xbf, 0xa2, 0x23, 0x5b, 0xc8, 0xf3, 0x82, 0xea, 0x3c, 0x0f, 0xac, 0x3c, - 0x5f, 0x64, 0x79, 0x1e, 0x78, 0xd5, 0xf5, 0xc1, 0xec, 0xc9, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, - 0x34, 0x21, 0xbb, 0xf0, 0x46, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_budget.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_budget.pb.go deleted file mode 100644 index 51ce745f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_budget.pb.go +++ /dev/null @@ -1,326 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/campaign_budget.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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. Monthly spend is capped at 30.4 times this amount. - 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.v1.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.v1.enums.BudgetDeliveryMethodEnum_BudgetDeliveryMethod" json:"delivery_method,omitempty"` - // Specifies whether the budget is explicitly shared. Defaults to true if - // unspecified in a create operation. - // - // 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"` - // Indicates whether there is a recommended budget for this campaign budget. - // - // This field is read-only. - HasRecommendedBudget *wrappers.BoolValue `protobuf:"bytes,11,opt,name=has_recommended_budget,json=hasRecommendedBudget,proto3" json:"has_recommended_budget,omitempty"` - // The recommended budget amount. If no recommendation is available, this will - // be set to the budget amount. - // Amount is specified in micros, where one million is equivalent to one - // currency unit. - // - // This field is read-only. - RecommendedBudgetAmountMicros *wrappers.Int64Value `protobuf:"bytes,12,opt,name=recommended_budget_amount_micros,json=recommendedBudgetAmountMicros,proto3" json:"recommended_budget_amount_micros,omitempty"` - // Period over which to spend the budget. Defaults to DAILY if not specified. - Period enums.BudgetPeriodEnum_BudgetPeriod `protobuf:"varint,13,opt,name=period,proto3,enum=google.ads.googleads.v1.enums.BudgetPeriodEnum_BudgetPeriod" json:"period,omitempty"` - // The estimated change in weekly clicks if the recommended budget is applied. - // - // This field is read-only. - RecommendedBudgetEstimatedChangeWeeklyClicks *wrappers.Int64Value `protobuf:"bytes,14,opt,name=recommended_budget_estimated_change_weekly_clicks,json=recommendedBudgetEstimatedChangeWeeklyClicks,proto3" json:"recommended_budget_estimated_change_weekly_clicks,omitempty"` - // The estimated change in weekly cost in micros if the recommended budget is - // applied. One million is equivalent to one currency unit. - // - // This field is read-only. - RecommendedBudgetEstimatedChangeWeeklyCostMicros *wrappers.Int64Value `protobuf:"bytes,15,opt,name=recommended_budget_estimated_change_weekly_cost_micros,json=recommendedBudgetEstimatedChangeWeeklyCostMicros,proto3" json:"recommended_budget_estimated_change_weekly_cost_micros,omitempty"` - // The estimated change in weekly interactions if the recommended budget is - // applied. - // - // This field is read-only. - RecommendedBudgetEstimatedChangeWeeklyInteractions *wrappers.Int64Value `protobuf:"bytes,16,opt,name=recommended_budget_estimated_change_weekly_interactions,json=recommendedBudgetEstimatedChangeWeeklyInteractions,proto3" json:"recommended_budget_estimated_change_weekly_interactions,omitempty"` - // The estimated change in weekly views if the recommended budget is applied. - // - // This field is read-only. - RecommendedBudgetEstimatedChangeWeeklyViews *wrappers.Int64Value `protobuf:"bytes,17,opt,name=recommended_budget_estimated_change_weekly_views,json=recommendedBudgetEstimatedChangeWeeklyViews,proto3" json:"recommended_budget_estimated_change_weekly_views,omitempty"` - // The type of the campaign budget. - Type enums.BudgetTypeEnum_BudgetType `protobuf:"varint,18,opt,name=type,proto3,enum=google.ads.googleads.v1.enums.BudgetTypeEnum_BudgetType" json:"type,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_ed30a48e8c388be6, []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 (m *CampaignBudget) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignBudget.Merge(m, 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 (m *CampaignBudget) GetHasRecommendedBudget() *wrappers.BoolValue { - if m != nil { - return m.HasRecommendedBudget - } - return nil -} - -func (m *CampaignBudget) GetRecommendedBudgetAmountMicros() *wrappers.Int64Value { - if m != nil { - return m.RecommendedBudgetAmountMicros - } - return nil -} - -func (m *CampaignBudget) GetPeriod() enums.BudgetPeriodEnum_BudgetPeriod { - if m != nil { - return m.Period - } - return enums.BudgetPeriodEnum_UNSPECIFIED -} - -func (m *CampaignBudget) GetRecommendedBudgetEstimatedChangeWeeklyClicks() *wrappers.Int64Value { - if m != nil { - return m.RecommendedBudgetEstimatedChangeWeeklyClicks - } - return nil -} - -func (m *CampaignBudget) GetRecommendedBudgetEstimatedChangeWeeklyCostMicros() *wrappers.Int64Value { - if m != nil { - return m.RecommendedBudgetEstimatedChangeWeeklyCostMicros - } - return nil -} - -func (m *CampaignBudget) GetRecommendedBudgetEstimatedChangeWeeklyInteractions() *wrappers.Int64Value { - if m != nil { - return m.RecommendedBudgetEstimatedChangeWeeklyInteractions - } - return nil -} - -func (m *CampaignBudget) GetRecommendedBudgetEstimatedChangeWeeklyViews() *wrappers.Int64Value { - if m != nil { - return m.RecommendedBudgetEstimatedChangeWeeklyViews - } - return nil -} - -func (m *CampaignBudget) GetType() enums.BudgetTypeEnum_BudgetType { - if m != nil { - return m.Type - } - return enums.BudgetTypeEnum_UNSPECIFIED -} - -func init() { - proto.RegisterType((*CampaignBudget)(nil), "google.ads.googleads.v1.resources.CampaignBudget") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/campaign_budget.proto", fileDescriptor_ed30a48e8c388be6) -} - -var fileDescriptor_ed30a48e8c388be6 = []byte{ - // 753 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x95, 0x5f, 0x6f, 0xeb, 0x34, - 0x18, 0xc6, 0x95, 0x9e, 0x31, 0x38, 0x3e, 0x5d, 0x77, 0x96, 0x83, 0x50, 0x34, 0x0e, 0xa8, 0x03, - 0x4d, 0x9a, 0x34, 0x94, 0xac, 0x03, 0x6d, 0x28, 0x70, 0x41, 0xdb, 0x4d, 0xd3, 0x60, 0x43, 0x55, - 0x36, 0x15, 0x09, 0x55, 0x8a, 0xbc, 0xf8, 0x5d, 0x6a, 0x2d, 0xb1, 0x23, 0xdb, 0xe9, 0xe8, 0x1d, - 0x42, 0x5c, 0x21, 0x21, 0xf1, 0x19, 0xb8, 0xe4, 0xa3, 0xf0, 0x51, 0xf8, 0x14, 0x28, 0xce, 0x9f, - 0xf5, 0x0f, 0x23, 0xed, 0x9d, 0x63, 0xbf, 0xcf, 0xcf, 0x8f, 0x1f, 0xbf, 0xad, 0xd1, 0x69, 0xc8, - 0x79, 0x18, 0x81, 0x83, 0x89, 0x74, 0xf2, 0x61, 0x36, 0x9a, 0x74, 0x1c, 0x01, 0x92, 0xa7, 0x22, - 0x00, 0xe9, 0x04, 0x38, 0x4e, 0x30, 0x0d, 0x99, 0x7f, 0x97, 0x92, 0x10, 0x94, 0x9d, 0x08, 0xae, - 0xb8, 0xb9, 0x97, 0x57, 0xdb, 0x98, 0x48, 0xbb, 0x12, 0xda, 0x93, 0x8e, 0x5d, 0x09, 0x77, 0xdd, - 0xe7, 0xd8, 0xc0, 0xd2, 0x58, 0x3a, 0x39, 0xce, 0x27, 0x10, 0xd1, 0x09, 0x88, 0xa9, 0x1f, 0x83, - 0x1a, 0x73, 0x92, 0xe3, 0x77, 0x3b, 0x2b, 0x69, 0x13, 0x10, 0x74, 0x4d, 0x89, 0x54, 0x58, 0xa5, - 0xb2, 0x90, 0x38, 0x2b, 0x49, 0xd4, 0x34, 0x81,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0x55, 0xb9, 0xee, 0xb0, 0xe3, 0xba, 0x55, 0xdd, 0xdd, 0xa6, - 0x36, 0xfb, 0xf9, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x87, 0x31, 0xda, 0x33, 0x85, 0x08, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_criterion.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_criterion.pb.go deleted file mode 100644 index d178c090..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_criterion.pb.go +++ /dev/null @@ -1,623 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/campaign_criterion.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v1/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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.v1.enums.CriterionTypeEnum_CriterionType" json:"type,omitempty"` - // The status of the criterion. - Status enums.CampaignCriterionStatusEnum_CampaignCriterionStatus `protobuf:"varint,35,opt,name=status,proto3,enum=google.ads.googleads.v1.enums.CampaignCriterionStatusEnum_CampaignCriterionStatus" json:"status,omitempty"` - // The campaign criterion. - // - // Exactly one must be set. - // - // Types that are valid to be assigned to Criterion: - // *CampaignCriterion_Keyword - // *CampaignCriterion_Placement - // *CampaignCriterion_MobileAppCategory - // *CampaignCriterion_MobileApplication - // *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 - // *CampaignCriterion_Webpage - // *CampaignCriterion_OperatingSystemVersion - // *CampaignCriterion_MobileDevice - // *CampaignCriterion_LocationGroup - 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_66974bcead75dadf, []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 (m *CampaignCriterion) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignCriterion.Merge(m, 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 -} - -func (m *CampaignCriterion) GetStatus() enums.CampaignCriterionStatusEnum_CampaignCriterionStatus { - if m != nil { - return m.Status - } - return enums.CampaignCriterionStatusEnum_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_MobileAppCategory struct { - MobileAppCategory *common.MobileAppCategoryInfo `protobuf:"bytes,10,opt,name=mobile_app_category,json=mobileAppCategory,proto3,oneof"` -} - -type CampaignCriterion_MobileApplication struct { - MobileApplication *common.MobileApplicationInfo `protobuf:"bytes,11,opt,name=mobile_application,json=mobileApplication,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"` -} - -type CampaignCriterion_Webpage struct { - Webpage *common.WebpageInfo `protobuf:"bytes,31,opt,name=webpage,proto3,oneof"` -} - -type CampaignCriterion_OperatingSystemVersion struct { - OperatingSystemVersion *common.OperatingSystemVersionInfo `protobuf:"bytes,32,opt,name=operating_system_version,json=operatingSystemVersion,proto3,oneof"` -} - -type CampaignCriterion_MobileDevice struct { - MobileDevice *common.MobileDeviceInfo `protobuf:"bytes,33,opt,name=mobile_device,json=mobileDevice,proto3,oneof"` -} - -type CampaignCriterion_LocationGroup struct { - LocationGroup *common.LocationGroupInfo `protobuf:"bytes,34,opt,name=location_group,json=locationGroup,proto3,oneof"` -} - -func (*CampaignCriterion_Keyword) isCampaignCriterion_Criterion() {} - -func (*CampaignCriterion_Placement) isCampaignCriterion_Criterion() {} - -func (*CampaignCriterion_MobileAppCategory) isCampaignCriterion_Criterion() {} - -func (*CampaignCriterion_MobileApplication) 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 (*CampaignCriterion_Webpage) isCampaignCriterion_Criterion() {} - -func (*CampaignCriterion_OperatingSystemVersion) isCampaignCriterion_Criterion() {} - -func (*CampaignCriterion_MobileDevice) isCampaignCriterion_Criterion() {} - -func (*CampaignCriterion_LocationGroup) 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) GetMobileAppCategory() *common.MobileAppCategoryInfo { - if x, ok := m.GetCriterion().(*CampaignCriterion_MobileAppCategory); ok { - return x.MobileAppCategory - } - return nil -} - -func (m *CampaignCriterion) GetMobileApplication() *common.MobileApplicationInfo { - if x, ok := m.GetCriterion().(*CampaignCriterion_MobileApplication); ok { - return x.MobileApplication - } - 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 -} - -func (m *CampaignCriterion) GetWebpage() *common.WebpageInfo { - if x, ok := m.GetCriterion().(*CampaignCriterion_Webpage); ok { - return x.Webpage - } - return nil -} - -func (m *CampaignCriterion) GetOperatingSystemVersion() *common.OperatingSystemVersionInfo { - if x, ok := m.GetCriterion().(*CampaignCriterion_OperatingSystemVersion); ok { - return x.OperatingSystemVersion - } - return nil -} - -func (m *CampaignCriterion) GetMobileDevice() *common.MobileDeviceInfo { - if x, ok := m.GetCriterion().(*CampaignCriterion_MobileDevice); ok { - return x.MobileDevice - } - return nil -} - -func (m *CampaignCriterion) GetLocationGroup() *common.LocationGroupInfo { - if x, ok := m.GetCriterion().(*CampaignCriterion_LocationGroup); ok { - return x.LocationGroup - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CampaignCriterion) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CampaignCriterion_Keyword)(nil), - (*CampaignCriterion_Placement)(nil), - (*CampaignCriterion_MobileAppCategory)(nil), - (*CampaignCriterion_MobileApplication)(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), - (*CampaignCriterion_Webpage)(nil), - (*CampaignCriterion_OperatingSystemVersion)(nil), - (*CampaignCriterion_MobileDevice)(nil), - (*CampaignCriterion_LocationGroup)(nil), - } -} - -func init() { - proto.RegisterType((*CampaignCriterion)(nil), "google.ads.googleads.v1.resources.CampaignCriterion") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/campaign_criterion.proto", fileDescriptor_66974bcead75dadf) -} - -var fileDescriptor_66974bcead75dadf = []byte{ - // 1113 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x97, 0xdd, 0x72, 0xdb, 0x44, - 0x14, 0x80, 0x49, 0x68, 0x53, 0x67, 0xed, 0xa4, 0x64, 0x4b, 0xc3, 0x92, 0x86, 0x92, 0xb4, 0xd3, - 0x99, 0xf0, 0x53, 0x19, 0x07, 0xe8, 0x30, 0x66, 0xe8, 0x8c, 0xe3, 0x42, 0xea, 0x36, 0x81, 0xe0, - 0x04, 0x77, 0xe8, 0x84, 0xd1, 0xac, 0xa5, 0x13, 0x75, 0xa9, 0xb4, 0xab, 0x59, 0x49, 0x0e, 0xbe, - 0x86, 0x27, 0xe1, 0x92, 0x47, 0xe1, 0x51, 0x78, 0x0a, 0x66, 0xff, 0x14, 0xa7, 0x49, 0x90, 0xb8, - 0x93, 0xce, 0x9e, 0xef, 0xdb, 0xb3, 0xc7, 0xd2, 0xae, 0x8c, 0xba, 0x91, 0x10, 0x51, 0x0c, 0x6d, - 0x1a, 0x66, 0x6d, 0x73, 0xa9, 0xae, 0x26, 0x9d, 0xb6, 0x84, 0x4c, 0x14, 0x32, 0x80, 0xac, 0x1d, - 0xd0, 0x24, 0xa5, 0x2c, 0xe2, 0x7e, 0x20, 0x59, 0x0e, 0x92, 0x09, 0xee, 0xa5, 0x52, 0xe4, 0x02, - 0x6f, 0x1a, 0xc0, 0xa3, 0x61, 0xe6, 0x95, 0xac, 0x37, 0xe9, 0x78, 0x25, 0xbb, 0xf6, 0xf0, 0x2a, - 0x7d, 0x20, 0x92, 0x44, 0xf0, 0xb6, 0x55, 0x52, 0x63, 0x5c, 0xfb, 0xe6, 0xaa, 0x74, 0xe0, 0x45, - 0x72, 0x59, 0x25, 0x7e, 0x96, 0xd3, 0xbc, 0xc8, 0x2c, 0xbe, 0x5d, 0x81, 0x97, 0x54, 0x3e, 0x4d, - 0xc1, 0x32, 0xeb, 0x8e, 0x49, 0x59, 0x9b, 0x72, 0x2e, 0x72, 0x9a, 0x33, 0xc1, 0x9d, 0xf1, 0xae,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0x00, 0xff, - 0xff, 0x89, 0x75, 0x44, 0x6c, 0xd4, 0x0c, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_criterion_simulation.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_criterion_simulation.pb.go deleted file mode 100644 index 6469d933..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_criterion_simulation.pb.go +++ /dev/null @@ -1,213 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/campaign_criterion_simulation.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v1/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A campaign criterion simulation. Supported combinations of advertising -// channel type, criterion ids, simulation type and simulation modification -// method is detailed below respectively. -// -// SEARCH 30000,30001,30002 BID_MODIFIER UNIFORM -// DISPLAY 30001 BID_MODIFIER UNIFORM -type CampaignCriterionSimulation struct { - // The resource name of the campaign criterion simulation. - // Campaign criterion simulation resource names have the form: - // - // - // `customers/{customer_id}/campaignCriterionSimulations/{campaign_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // Campaign ID of the simulation. - CampaignId *wrappers.Int64Value `protobuf:"bytes,2,opt,name=campaign_id,json=campaignId,proto3" json:"campaign_id,omitempty"` - // Criterion ID of the simulation. - CriterionId *wrappers.Int64Value `protobuf:"bytes,3,opt,name=criterion_id,json=criterionId,proto3" json:"criterion_id,omitempty"` - // The field that the simulation modifies. - Type enums.SimulationTypeEnum_SimulationType `protobuf:"varint,4,opt,name=type,proto3,enum=google.ads.googleads.v1.enums.SimulationTypeEnum_SimulationType" json:"type,omitempty"` - // How the simulation modifies the field. - ModificationMethod enums.SimulationModificationMethodEnum_SimulationModificationMethod `protobuf:"varint,5,opt,name=modification_method,json=modificationMethod,proto3,enum=google.ads.googleads.v1.enums.SimulationModificationMethodEnum_SimulationModificationMethod" json:"modification_method,omitempty"` - // First day on which the simulation is based, in YYYY-MM-DD format. - StartDate *wrappers.StringValue `protobuf:"bytes,6,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` - // Last day on which the simulation is based, in YYYY-MM-DD format. - EndDate *wrappers.StringValue `protobuf:"bytes,7,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` - // List of simulation points. - // - // Types that are valid to be assigned to PointList: - // *CampaignCriterionSimulation_BidModifierPointList - PointList isCampaignCriterionSimulation_PointList `protobuf_oneof:"point_list"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CampaignCriterionSimulation) Reset() { *m = CampaignCriterionSimulation{} } -func (m *CampaignCriterionSimulation) String() string { return proto.CompactTextString(m) } -func (*CampaignCriterionSimulation) ProtoMessage() {} -func (*CampaignCriterionSimulation) Descriptor() ([]byte, []int) { - return fileDescriptor_4eae0e5c50ed969c, []int{0} -} - -func (m *CampaignCriterionSimulation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CampaignCriterionSimulation.Unmarshal(m, b) -} -func (m *CampaignCriterionSimulation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CampaignCriterionSimulation.Marshal(b, m, deterministic) -} -func (m *CampaignCriterionSimulation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignCriterionSimulation.Merge(m, src) -} -func (m *CampaignCriterionSimulation) XXX_Size() int { - return xxx_messageInfo_CampaignCriterionSimulation.Size(m) -} -func (m *CampaignCriterionSimulation) XXX_DiscardUnknown() { - xxx_messageInfo_CampaignCriterionSimulation.DiscardUnknown(m) -} - -var xxx_messageInfo_CampaignCriterionSimulation proto.InternalMessageInfo - -func (m *CampaignCriterionSimulation) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *CampaignCriterionSimulation) GetCampaignId() *wrappers.Int64Value { - if m != nil { - return m.CampaignId - } - return nil -} - -func (m *CampaignCriterionSimulation) GetCriterionId() *wrappers.Int64Value { - if m != nil { - return m.CriterionId - } - return nil -} - -func (m *CampaignCriterionSimulation) GetType() enums.SimulationTypeEnum_SimulationType { - if m != nil { - return m.Type - } - return enums.SimulationTypeEnum_UNSPECIFIED -} - -func (m *CampaignCriterionSimulation) GetModificationMethod() enums.SimulationModificationMethodEnum_SimulationModificationMethod { - if m != nil { - return m.ModificationMethod - } - return enums.SimulationModificationMethodEnum_UNSPECIFIED -} - -func (m *CampaignCriterionSimulation) GetStartDate() *wrappers.StringValue { - if m != nil { - return m.StartDate - } - return nil -} - -func (m *CampaignCriterionSimulation) GetEndDate() *wrappers.StringValue { - if m != nil { - return m.EndDate - } - return nil -} - -type isCampaignCriterionSimulation_PointList interface { - isCampaignCriterionSimulation_PointList() -} - -type CampaignCriterionSimulation_BidModifierPointList struct { - BidModifierPointList *common.BidModifierSimulationPointList `protobuf:"bytes,8,opt,name=bid_modifier_point_list,json=bidModifierPointList,proto3,oneof"` -} - -func (*CampaignCriterionSimulation_BidModifierPointList) isCampaignCriterionSimulation_PointList() {} - -func (m *CampaignCriterionSimulation) GetPointList() isCampaignCriterionSimulation_PointList { - if m != nil { - return m.PointList - } - return nil -} - -func (m *CampaignCriterionSimulation) GetBidModifierPointList() *common.BidModifierSimulationPointList { - if x, ok := m.GetPointList().(*CampaignCriterionSimulation_BidModifierPointList); ok { - return x.BidModifierPointList - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CampaignCriterionSimulation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CampaignCriterionSimulation_BidModifierPointList)(nil), - } -} - -func init() { - proto.RegisterType((*CampaignCriterionSimulation)(nil), "google.ads.googleads.v1.resources.CampaignCriterionSimulation") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/campaign_criterion_simulation.proto", fileDescriptor_4eae0e5c50ed969c) -} - -var fileDescriptor_4eae0e5c50ed969c = []byte{ - // 554 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xdd, 0x6a, 0xdb, 0x30, - 0x14, 0x9e, 0xd3, 0x7f, 0x35, 0xdb, 0x85, 0x37, 0x98, 0x69, 0xcb, 0x48, 0x37, 0x0a, 0xb9, 0x92, - 0x49, 0x3b, 0x36, 0x70, 0x47, 0x59, 0xd2, 0x95, 0x2e, 0x63, 0x19, 0xc1, 0x2d, 0xb9, 0x18, 0x01, - 0xa3, 0x58, 0xaa, 0x27, 0x88, 0x24, 0x23, 0xc9, 0x2d, 0x7d, 0x88, 0xbe, 0xc4, 0x76, 0xb7, 0x47, - 0xd9, 0xa3, 0xec, 0x29, 0x46, 0x64, 0x59, 0x29, 0xc9, 0xd2, 0xe6, 0xee, 0xe8, 0x9c, 0xef, 0xc7, - 0xfa, 0x24, 0x19, 0x9c, 0x65, 0x42, 0x64, 0x63, 0x12, 0x22, 0xac, 0xc2, 0xb2, 0x9c, 0x54, 0xd7, - 0xad, 0x50, 0x12, 0x25, 0x0a, 0x99, 0x12, 0x15, 0xa6, 0x88, 0xe5, 0x88, 0x66, 0x3c, 0x49, 0x25, - 0xd5, 0x44, 0x52, 0xc1, 0x13, 0x45, 0x59, 0x31, 0x46, 0x9a, 0x0a, 0x0e, 0x73, 0x29, 0xb4, 0xf0, - 0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0x94, 0x6c, 0x63, 0x05, - 0xcb, 0x72, 0x52, 0x0d, 0x5a, 0x30, 0xae, 0x90, 0x7f, 0x2a, 0xcc, 0xb0, 0x8d, 0xd5, 0xd0, 0x61, - 0x86, 0x83, 0xd6, 0xd0, 0x61, 0xfe, 0xd6, 0x0e, 0xca, 0x41, 0x14, 0xb5, 0xb1, 0x8a, 0x22, 0x87, - 0x8a, 0xa2, 0x41, 0x2b, 0x8a, 0x1c, 0x6e, 0xb4, 0x6e, 0x3e, 0xf6, 0xe8, 0x5f, 0x00, 0x00, 0x00, - 0xff, 0xff, 0x76, 0xb4, 0xe0, 0x7e, 0x10, 0x05, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_draft.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_draft.pb.go deleted file mode 100644 index 23c4cf74..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_draft.pb.go +++ /dev/null @@ -1,190 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/campaign_draft.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A campaign draft. -type CampaignDraft struct { - // The resource name of the campaign draft. - // Campaign draft resource names have the form: - // - // `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The ID of the draft. - // - // This field is read-only. - DraftId *wrappers.Int64Value `protobuf:"bytes,2,opt,name=draft_id,json=draftId,proto3" json:"draft_id,omitempty"` - // The base campaign to which the draft belongs. - BaseCampaign *wrappers.StringValue `protobuf:"bytes,3,opt,name=base_campaign,json=baseCampaign,proto3" json:"base_campaign,omitempty"` - // The name of the campaign draft. - // - // This field is required and should not be empty when creating new - // campaign drafts. - // - // 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"` - // Resource name of the Campaign that results from overlaying the draft - // changes onto the base campaign. - // - // This field is read-only. - DraftCampaign *wrappers.StringValue `protobuf:"bytes,5,opt,name=draft_campaign,json=draftCampaign,proto3" json:"draft_campaign,omitempty"` - // The status of the campaign draft. This field is read-only. - // - // When a new campaign draft is added, the status defaults to PROPOSED. - Status enums.CampaignDraftStatusEnum_CampaignDraftStatus `protobuf:"varint,6,opt,name=status,proto3,enum=google.ads.googleads.v1.enums.CampaignDraftStatusEnum_CampaignDraftStatus" json:"status,omitempty"` - // Whether there is an experiment based on this draft currently serving. - HasExperimentRunning *wrappers.BoolValue `protobuf:"bytes,7,opt,name=has_experiment_running,json=hasExperimentRunning,proto3" json:"has_experiment_running,omitempty"` - // The resource name of the long-running operation that can be used to poll - // for completion of draft promotion. This is only set if the draft promotion - // is in progress or finished. - LongRunningOperation *wrappers.StringValue `protobuf:"bytes,8,opt,name=long_running_operation,json=longRunningOperation,proto3" json:"long_running_operation,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CampaignDraft) Reset() { *m = CampaignDraft{} } -func (m *CampaignDraft) String() string { return proto.CompactTextString(m) } -func (*CampaignDraft) ProtoMessage() {} -func (*CampaignDraft) Descriptor() ([]byte, []int) { - return fileDescriptor_e11dbb7c593f6fa7, []int{0} -} - -func (m *CampaignDraft) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CampaignDraft.Unmarshal(m, b) -} -func (m *CampaignDraft) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CampaignDraft.Marshal(b, m, deterministic) -} -func (m *CampaignDraft) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignDraft.Merge(m, src) -} -func (m *CampaignDraft) XXX_Size() int { - return xxx_messageInfo_CampaignDraft.Size(m) -} -func (m *CampaignDraft) XXX_DiscardUnknown() { - xxx_messageInfo_CampaignDraft.DiscardUnknown(m) -} - -var xxx_messageInfo_CampaignDraft proto.InternalMessageInfo - -func (m *CampaignDraft) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *CampaignDraft) GetDraftId() *wrappers.Int64Value { - if m != nil { - return m.DraftId - } - return nil -} - -func (m *CampaignDraft) GetBaseCampaign() *wrappers.StringValue { - if m != nil { - return m.BaseCampaign - } - return nil -} - -func (m *CampaignDraft) GetName() *wrappers.StringValue { - if m != nil { - return m.Name - } - return nil -} - -func (m *CampaignDraft) GetDraftCampaign() *wrappers.StringValue { - if m != nil { - return m.DraftCampaign - } - return nil -} - -func (m *CampaignDraft) GetStatus() enums.CampaignDraftStatusEnum_CampaignDraftStatus { - if m != nil { - return m.Status - } - return enums.CampaignDraftStatusEnum_UNSPECIFIED -} - -func (m *CampaignDraft) GetHasExperimentRunning() *wrappers.BoolValue { - if m != nil { - return m.HasExperimentRunning - } - return nil -} - -func (m *CampaignDraft) GetLongRunningOperation() *wrappers.StringValue { - if m != nil { - return m.LongRunningOperation - } - return nil -} - -func init() { - proto.RegisterType((*CampaignDraft)(nil), "google.ads.googleads.v1.resources.CampaignDraft") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/campaign_draft.proto", fileDescriptor_e11dbb7c593f6fa7) -} - -var fileDescriptor_e11dbb7c593f6fa7 = []byte{ - // 487 bytes of a gzipped FileDescriptorProto - 0x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68, 0xc1, - 0x7e, 0xcb, 0x76, 0x56, 0x9f, 0x1c, 0x39, 0xfb, 0x1d, 0x80, 0xe3, 0x35, 0xaf, 0xd1, 0xa3, 0xaf, - 0x7a, 0x06, 0xef, 0x5c, 0x76, 0xde, 0x1e, 0x31, 0x0f, 0x3e, 0x5f, 0x76, 0x20, 0xe5, 0x15, 0x66, - 0x14, 0x71, 0x49, 0x23, 0x4a, 0x98, 0x09, 0xe0, 0xde, 0xbe, 0x28, 0xd5, 0x7f, 0xfe, 0xb2, 0xf7, - 0xbe, 0xfa, 0xd6, 0xdb, 0x3a, 0x4f, 0xd3, 0xef, 0xbd, 0xa3, 0x73, 0x6b, 0x99, 0x16, 0x0a, 0xd9, - 0xb2, 0xad, 0x16, 0x31, 0xca, 0x9c, 0xf2, 0xa7, 0xd3, 0x2c, 0xd3, 0x42, 0x2d, 0xbd, 0x66, 0xb9, - 0x88, 0x97, 0x5e, 0xf3, 0xab, 0x77, 0x6c, 0x37, 0x92, 0x24, 0x2d, 0x54, 0x92, 0x78, 0x55, 0x92, - 0x2c, 0xe2, 0x24, 0xf1, 0xba, 0xd5, 0xc0, 0x84, 0x7d, 0xf3, 0x27, 0x00, 0x00, 0xff, 0xff, 0x86, - 0xe5, 0x2c, 0x39, 0x11, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_experiment.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_experiment.pb.go deleted file mode 100644 index 279a8595..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_experiment.pb.go +++ /dev/null @@ -1,242 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/campaign_experiment.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// An A/B experiment that compares the performance of the base campaign -// (the control) and a variation of that campaign (the experiment). -type CampaignExperiment struct { - // The resource name of the campaign experiment. - // Campaign experiment resource names have the form: - // - // `customers/{customer_id}/campaignExperiments/{campaign_experiment_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The ID of the campaign experiment. - // - // This field is read-only. - Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // The campaign draft with staged changes to the base campaign. - CampaignDraft *wrappers.StringValue `protobuf:"bytes,3,opt,name=campaign_draft,json=campaignDraft,proto3" json:"campaign_draft,omitempty"` - // The name of the campaign experiment. - // - // This field is required when creating new campaign experiments - // and must not conflict with the name of another non-removed - // campaign experiment or campaign. - // - // 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 description of the experiment. - Description *wrappers.StringValue `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` - // Share of traffic directed to experiment as a percent (must be between 1 and - // 99 inclusive. Base campaign receives the remainder of the traffic - // (100 - traffic_split_percent). Required for create. - TrafficSplitPercent *wrappers.Int64Value `protobuf:"bytes,6,opt,name=traffic_split_percent,json=trafficSplitPercent,proto3" json:"traffic_split_percent,omitempty"` - // Determines the behavior of the traffic split. - TrafficSplitType enums.CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType `protobuf:"varint,7,opt,name=traffic_split_type,json=trafficSplitType,proto3,enum=google.ads.googleads.v1.enums.CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType" json:"traffic_split_type,omitempty"` - // The experiment campaign, as opposed to the base campaign. - ExperimentCampaign *wrappers.StringValue `protobuf:"bytes,8,opt,name=experiment_campaign,json=experimentCampaign,proto3" json:"experiment_campaign,omitempty"` - // The status of the campaign experiment. This field is read-only. - Status enums.CampaignExperimentStatusEnum_CampaignExperimentStatus `protobuf:"varint,9,opt,name=status,proto3,enum=google.ads.googleads.v1.enums.CampaignExperimentStatusEnum_CampaignExperimentStatus" json:"status,omitempty"` - // The resource name of the long-running operation that can be used to poll - // for completion of experiment create or promote. The most recent long - // running operation is returned. - LongRunningOperation *wrappers.StringValue `protobuf:"bytes,10,opt,name=long_running_operation,json=longRunningOperation,proto3" json:"long_running_operation,omitempty"` - // Date when the campaign experiment starts. By default, the experiment starts - // now or on the campaign's start date, whichever is later. If this field is - // set, then the experiment starts at the beginning of the specified date in - // the customer's time zone. Cannot be changed once the experiment starts. - // - // Format: YYYY-MM-DD - // Example: 2019-03-14 - StartDate *wrappers.StringValue `protobuf:"bytes,11,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` - // Date when the campaign experiment ends. By default, the experiment ends on - // the campaign's end date. If this field is set, then the experiment ends at - // the end of the specified date in the customer's time zone. - // - // Format: YYYY-MM-DD - // Example: 2019-04-18 - EndDate *wrappers.StringValue `protobuf:"bytes,12,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 *CampaignExperiment) Reset() { *m = CampaignExperiment{} } -func (m *CampaignExperiment) String() string { return proto.CompactTextString(m) } -func (*CampaignExperiment) ProtoMessage() {} -func (*CampaignExperiment) Descriptor() ([]byte, []int) { - return fileDescriptor_34963f70880a8622, []int{0} -} - -func (m *CampaignExperiment) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CampaignExperiment.Unmarshal(m, b) -} -func (m *CampaignExperiment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CampaignExperiment.Marshal(b, m, deterministic) -} -func (m *CampaignExperiment) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignExperiment.Merge(m, src) -} -func (m *CampaignExperiment) XXX_Size() int { - return xxx_messageInfo_CampaignExperiment.Size(m) -} -func (m *CampaignExperiment) XXX_DiscardUnknown() { - xxx_messageInfo_CampaignExperiment.DiscardUnknown(m) -} - -var xxx_messageInfo_CampaignExperiment proto.InternalMessageInfo - -func (m *CampaignExperiment) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *CampaignExperiment) GetId() *wrappers.Int64Value { - if m != nil { - return m.Id - } - return nil -} - -func (m *CampaignExperiment) GetCampaignDraft() *wrappers.StringValue { - if m != nil { - return m.CampaignDraft - } - return nil -} - -func (m *CampaignExperiment) GetName() *wrappers.StringValue { - if m != nil { - return m.Name - } - return nil -} - -func (m *CampaignExperiment) GetDescription() *wrappers.StringValue { - if m != nil { - return m.Description - } - return nil -} - -func (m *CampaignExperiment) GetTrafficSplitPercent() *wrappers.Int64Value { - if m != nil { - return m.TrafficSplitPercent - } - return nil -} - -func (m *CampaignExperiment) GetTrafficSplitType() enums.CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType { - if m != nil { - return m.TrafficSplitType - } - return enums.CampaignExperimentTrafficSplitTypeEnum_UNSPECIFIED -} - -func (m *CampaignExperiment) GetExperimentCampaign() *wrappers.StringValue { - if m != nil { - return m.ExperimentCampaign - } - return nil -} - -func (m *CampaignExperiment) GetStatus() enums.CampaignExperimentStatusEnum_CampaignExperimentStatus { - if m != nil { - return m.Status - } - return enums.CampaignExperimentStatusEnum_UNSPECIFIED -} - -func (m *CampaignExperiment) GetLongRunningOperation() *wrappers.StringValue { - if m != nil { - return m.LongRunningOperation - } - return nil -} - -func (m *CampaignExperiment) GetStartDate() *wrappers.StringValue { - if m != nil { - return m.StartDate - } - return nil -} - -func (m *CampaignExperiment) GetEndDate() *wrappers.StringValue { - if m != nil { - return m.EndDate - } - return nil -} - -func init() { - proto.RegisterType((*CampaignExperiment)(nil), "google.ads.googleads.v1.resources.CampaignExperiment") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/campaign_experiment.proto", fileDescriptor_34963f70880a8622) -} - -var fileDescriptor_34963f70880a8622 = []byte{ - // 585 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0x5d, 0x6b, 0xd4, 0x4c, - 0x14, 0xc7, 0x49, 0xda, 0xa7, 0x2f, 0xd3, 0x17, 0x1e, 0xa6, 0xbe, 0x84, 0x5a, 0xa4, 0x55, 0x0a, - 0x05, 0x61, 0xe2, 0x56, 0x51, 0x48, 0xa1, 0xb0, 0x7d, 0xa1, 0x28, 0x68, 0x4b, 0x5a, 0xf6, 0x42, - 0x16, 0xc2, 0x34, 0x33, 0x1b, 0x07, 0x92, 0x99, 0x61, 0x66, 0x52, 0xed, 0xbd, 0xd7, 0x5e, 0xfa, - 0x01, 0xbc, 0xf4, 0xa3, 0xf8, 0x51, 0xfc, 0x14, 0x92, 0x4c, 0x26, 0xae, 0xae, 0x6b, 0xd3, 0xbb, - 0x93, 0xcc, 0xff, 0x77, 0xfe, 0x73, 0xce, 0x1c, 0x0e, 0xd8, 0xcb, 0x84, 0xc8, 0x72, 0x1a, 0x62, - 0xa2, 0x43, 0x1b, 0x56, 0xd1, 0x55, 0x2f, 0x54, 0x54, 0x8b, 0x52, 0xa5, 0x54, 0x87, 0x29, 0x2e, - 0x24, 0x66, 0x19, 0x4f, 0xe8, 0x47, 0x49, 0x15, 0x2b, 0x28, 0x37, 0x48, 0x2a, 0x61, 0x04, 0xdc, - 0xb2, 0x04, 0xc2, 0x44, 0xa3, 0x16, 0x46, 0x57, 0x3d, 0xd4, 0xc2, 0xeb, 0xfb, 0x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, 0xc9, 0xf4, 0x3f, 0xd6, 0xe3, 0x5e, - 0x1b, 0x7d, 0xf5, 0x67, 0x4e, 0xfa, 0xfd, 0x6f, 0xfe, 0xd6, 0x89, 0x4d, 0xd9, 0x27, 0x1a, 0xd9, - 0xb0, 0x8a, 0x06, 0x3d, 0x14, 0x3b, 0xe5, 0x77, 0xa7, 0x19, 0xf6, 0x89, 0x1e, 0xb6, 0x9a, 0xe1, - 0xa0, 0x37, 0x6c, 0x35, 0x3f, 0xfc, 0x6d, 0x7b, 0x10, 0x45, 0x7d, 0xa2, 0xa3, 0xa8, 0x55, 0x45, - 0xd1, 0xa0, 0x17, 0x45, 0xad, 0xee, 0x72, 0xae, 0xbe, 0xec, 0xb3, 0x9f, 0x01, 0x00, 0x00, 0xff, - 0xff, 0x97, 0x9e, 0x87, 0x83, 0xca, 0x05, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_extension_setting.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_extension_setting.pb.go deleted file mode 100644 index 5b87403f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_extension_setting.pb.go +++ /dev/null @@ -1,153 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/campaign_extension_setting.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A campaign extension setting. -type CampaignExtensionSetting struct { - // The resource name of the campaign extension setting. - // CampaignExtensionSetting resource names have the form: - // - // - // `customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The extension type of the customer extension setting. - ExtensionType enums.ExtensionTypeEnum_ExtensionType `protobuf:"varint,2,opt,name=extension_type,json=extensionType,proto3,enum=google.ads.googleads.v1.enums.ExtensionTypeEnum_ExtensionType" json:"extension_type,omitempty"` - // The resource name of the campaign. The linked extension feed items will - // serve under this campaign. - // Campaign resource names have the form: - // - // `customers/{customer_id}/campaigns/{campaign_id}` - Campaign *wrappers.StringValue `protobuf:"bytes,3,opt,name=campaign,proto3" json:"campaign,omitempty"` - // The resource names of the extension feed items to serve under the campaign. - // ExtensionFeedItem resource names have the form: - // - // `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - ExtensionFeedItems []*wrappers.StringValue `protobuf:"bytes,4,rep,name=extension_feed_items,json=extensionFeedItems,proto3" json:"extension_feed_items,omitempty"` - // The device for which the extensions will serve. Optional. - Device enums.ExtensionSettingDeviceEnum_ExtensionSettingDevice `protobuf:"varint,5,opt,name=device,proto3,enum=google.ads.googleads.v1.enums.ExtensionSettingDeviceEnum_ExtensionSettingDevice" json:"device,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CampaignExtensionSetting) Reset() { *m = CampaignExtensionSetting{} } -func (m *CampaignExtensionSetting) String() string { return proto.CompactTextString(m) } -func (*CampaignExtensionSetting) ProtoMessage() {} -func (*CampaignExtensionSetting) Descriptor() ([]byte, []int) { - return fileDescriptor_be2f6987185b7cdc, []int{0} -} - -func (m *CampaignExtensionSetting) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CampaignExtensionSetting.Unmarshal(m, b) -} -func (m *CampaignExtensionSetting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CampaignExtensionSetting.Marshal(b, m, deterministic) -} -func (m *CampaignExtensionSetting) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignExtensionSetting.Merge(m, src) -} -func (m *CampaignExtensionSetting) XXX_Size() int { - return xxx_messageInfo_CampaignExtensionSetting.Size(m) -} -func (m *CampaignExtensionSetting) XXX_DiscardUnknown() { - xxx_messageInfo_CampaignExtensionSetting.DiscardUnknown(m) -} - -var xxx_messageInfo_CampaignExtensionSetting proto.InternalMessageInfo - -func (m *CampaignExtensionSetting) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *CampaignExtensionSetting) GetExtensionType() enums.ExtensionTypeEnum_ExtensionType { - if m != nil { - return m.ExtensionType - } - return enums.ExtensionTypeEnum_UNSPECIFIED -} - -func (m *CampaignExtensionSetting) GetCampaign() *wrappers.StringValue { - if m != nil { - return m.Campaign - } - return nil -} - -func (m *CampaignExtensionSetting) GetExtensionFeedItems() []*wrappers.StringValue { - if m != nil { - return m.ExtensionFeedItems - } - return nil -} - -func (m *CampaignExtensionSetting) GetDevice() enums.ExtensionSettingDeviceEnum_ExtensionSettingDevice { - if m != nil { - return m.Device - } - return enums.ExtensionSettingDeviceEnum_UNSPECIFIED -} - -func init() { - proto.RegisterType((*CampaignExtensionSetting)(nil), "google.ads.googleads.v1.resources.CampaignExtensionSetting") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/campaign_extension_setting.proto", fileDescriptor_be2f6987185b7cdc) -} - -var fileDescriptor_be2f6987185b7cdc = []byte{ - // 444 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0xcf, 0x6e, 0xd3, 0x30, - 0x18, 0x57, 0x52, 0x98, 0x20, 0xb0, 0x1d, 0x22, 0x0e, 0xd1, 0x34, 0x50, 0x07, 0x9a, 0xd4, 0x93, - 0xad, 0x94, 0x0b, 0x32,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, 0x99, - 0x17, 0xcc, 0xcc, 0x03, 0x67, 0x3e, 0xcb, 0xe7, 0x81, 0xf3, 0x3b, 0x3e, 0x71, 0x00, 0x21, 0x05, - 0x33, 0x84, 0x04, 0x16, 0x21, 0xb3, 0x9c, 0x90, 0xc0, 0xbb, 0xdc, 0xeb, 0x86, 0x7d, 0xfe, 0x27, - 0x00, 0x00, 0xff, 0xff, 0x56, 0x3a, 0xcd, 0x34, 0xc9, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_feed.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_feed.pb.go deleted file mode 100644 index 82f1df04..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_feed.pb.go +++ /dev/null @@ -1,162 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/campaign_feed.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v1/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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.v1.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.v1.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_10f784f3692d2150, []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 (m *CampaignFeed) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignFeed.Merge(m, 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.v1.resources.CampaignFeed") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/campaign_feed.proto", fileDescriptor_10f784f3692d2150) -} - -var fileDescriptor_10f784f3692d2150 = []byte{ - // 484 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, 0x8a, 0x6c, 0x95, 0xc2, 0x5e, - 0xcd, 0x34, 0xeb, 0x07, 0x12, 0x6f, 0xcc, 0x8a, 0x2d, 0x88, 0xca, 0x92, 0xca, 0x22, 0xb2, 0x12, - 0xa6, 0xc9, 0xd9, 0x69, 0x68, 0xe6, 0x83, 0x4c, 0x52, 0xe9, 0xeb, 0x78, 0xe9, 0x9b, 0xe8, 0xa3, - 0xf8, 0x10, 0x22, 0x49, 0x66, 0xa2, 0x5d, 0xd9, 0x76, 0xef, 0x4e, 0xce, 0xfc, 0x7f, 0x67, 0xce, - 0x39, 0xff, 0x09, 0x7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 0xf3, - 0xab, 0x77, 0xd8, 0x1e, 0x04, 0x41, 0x98, 0xea, 0x20, 0xe8, 0x54, 0x41, 0x30, 0xf7, 0x83, 0xa0, - 0xd3, 0x9d, 0x0d, 0x9a, 0x66, 0x9f, 0xfc, 0x09, 0x00, 0x00, 0xff, 0xff, 0xb3, 0x94, 0xe9, 0x74, - 0x11, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_label.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_label.pb.go deleted file mode 100644 index eff3a7c8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_label.pb.go +++ /dev/null @@ -1,118 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/campaign_label.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Represents a relationship between a campaign and a label. -type CampaignLabel struct { - // Name of the resource. - // Campaign label resource names have the form: - // `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The campaign to which the label is attached. - Campaign *wrappers.StringValue `protobuf:"bytes,2,opt,name=campaign,proto3" json:"campaign,omitempty"` - // The label assigned to the campaign. - Label *wrappers.StringValue `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CampaignLabel) Reset() { *m = CampaignLabel{} } -func (m *CampaignLabel) String() string { return proto.CompactTextString(m) } -func (*CampaignLabel) ProtoMessage() {} -func (*CampaignLabel) Descriptor() ([]byte, []int) { - return fileDescriptor_a1b047812890bf04, []int{0} -} - -func (m *CampaignLabel) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CampaignLabel.Unmarshal(m, b) -} -func (m *CampaignLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CampaignLabel.Marshal(b, m, deterministic) -} -func (m *CampaignLabel) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignLabel.Merge(m, src) -} -func (m *CampaignLabel) XXX_Size() int { - return xxx_messageInfo_CampaignLabel.Size(m) -} -func (m *CampaignLabel) XXX_DiscardUnknown() { - xxx_messageInfo_CampaignLabel.DiscardUnknown(m) -} - -var xxx_messageInfo_CampaignLabel proto.InternalMessageInfo - -func (m *CampaignLabel) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *CampaignLabel) GetCampaign() *wrappers.StringValue { - if m != nil { - return m.Campaign - } - return nil -} - -func (m *CampaignLabel) GetLabel() *wrappers.StringValue { - if m != nil { - return m.Label - } - return nil -} - -func init() { - proto.RegisterType((*CampaignLabel)(nil), "google.ads.googleads.v1.resources.CampaignLabel") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/campaign_label.proto", fileDescriptor_a1b047812890bf04) -} - -var fileDescriptor_a1b047812890bf04 = []byte{ - // 324 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xc1, 0x4a, 0xc3, 0x30, - 0x1c, 0xc6, 0x69, 0x87, 0xa2, 0xd5, 0x5d, 0x7a, 0x1a, 0x63, 0xc8, 0xa6, 0x0c, 0x76, 0x4a, 0xe8, - 0x04, 0x91, 0x78, 0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, 0xa0, 0x8b, 0x2f, 0x2f, 0x98, 0xee, 0x44, 0x89, - 0xfe, 0xbc, 0x8c, 0x45, 0xf8, 0xe3, 0x2c, 0xab, 0x26, 0x73, 0xe5, 0xbd, 0x3c, 0x74, 0x46, 0x26, - 0x0a, 0xe0, 0x0c, 0x09, 0xc5, 0x30, 0xa3, 0xbc, 0x6d, 0xb4, 0xaf, 0x21, 0x73, 0xfd, 0xcb, 0xe3, - 0xdc, 0x39, 0x75, 0xf0, 0x7b, 0xcb, 0x38, 0x7e, 0xf7, 0x27, 0x4b, 0x13, 0x19, 0x67, 0x1a, 0x19, - 0xd9, 0xa8, 0x24, 0x42, 0x6b, 0x4b, 0x7e, 0x58, 0x26, 0x8d, 0x33, 0x9d, 0x3a, 0x26, 0x4d, 0xa2, - 0xd4, 0x31, 0x9f, 0xfe, 0xd4, 0x0c, 0x08, 0x89, 0x33, 0x4d, 0x88, 0xa3, 0x08, 0x49, 0x22, 0x42, - 0x1c, 0xb7, 0x3d, 0x6e, 0x97, 0xbd, 0xfe, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x53, 0xed, 0x07, 0xb0, - 0x48, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_shared_set.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_shared_set.pb.go deleted file mode 100644 index 6030c02d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/campaign_shared_set.pb.go +++ /dev/null @@ -1,139 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/campaign_shared_set.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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.v1.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_5c77b63cdc30c4b2, []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 (m *CampaignSharedSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignSharedSet.Merge(m, 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.v1.resources.CampaignSharedSet") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/campaign_shared_set.proto", fileDescriptor_5c77b63cdc30c4b2) -} - -var fileDescriptor_5c77b63cdc30c4b2 = []byte{ - // 385 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0xcd, 0x6a, 0xe3, 0x30, - 0x18, 0xc4, 0xce, 0x12, 0x36, 0xda, 0x1f, 0x58, 0x1f, 0x16, 0x13, 0xc2, 0x92, 0x6c, 0x09, 0xe4, - 0x24, 0xe3, 0xf4, 0x52, 0x14, 0x28, 0x38, 0xa5, 0x04, 0x7a, 0x28, 0xc1, 0x06, 0x1f, 0x8a, 0xc1, - 0x28, 0xb1, 0xaa, 0xba, 0xc4, 0x92, 0x91, 0xe4, 0xf4, 0x01, 0xfa, 0x18, 0xbd, 0xf5, 0xd8, 0x47, - 0xe9, 0xa3, 0xf4, 0x29, 0x4a, 0x6c, 0x4b, 0x3d, 0xa4, 0x69, 0x7b, 0x1b, 0x7b, 0x66, 0xbe, 0xf9, - 0x46, 0x12, 0x98, 0x51, 0xce, 0xe9, 0x86, 0x78, 0x38, 0x93, 0x5e, 0x03, 0x77, 0x68, 0xeb, 0x7b, - 0x82, 0x48, 0x5e, 0x89, 0x35, 0x91, 0xde, 0x1a, 0x17, 0x25, 0xce, 0x29, 0x4b, 0xe5, 0x0d, 0x16, - 0x24, 0x4b, 0x25, 0x51, 0xb0, 0x14, 0x5c, 0x71, 0x67, 0xd4, 0x38, 0x20, 0xce, 0x24, 0x34, 0x66, - 0xb8, 0xf5, 0xa1, 0x31, 0xf7, 0x4f, 0x0f, 0xcd, 0x27, 0xac, 0x2a, 0xde, 0x9d, 0x9d, 0x4a, 0x85, - 0x55, 0x25, 0x9b, 0x88, 0xfe, 0x40, 0xfb, 0xcb, 0xdc, 0xc3, 0x8c, 0x71, 0x85, 0x55, 0xce, 0x99, - 0x66, 0xff, 0xb5, 0x6c, 0xfd, 0xb5, 0xaa, 0xae, 0xbd, 0x3b, 0x81, 0xcb, 0x92, 0x88, 0x96, 0xff, - 0xff, 0x60, 0x83, 0x3f, 0x67, 0x6d, 0x44, 0x54, 0x27, 0x44, 0x44, 0x39, 0x47, 0xe0, 0x97, 0x5e, - 0x30, 0x65, 0xb8, 0x20, 0xae, 0x35, 0xb4, 0x26, 0xbd, 0xf0, 0xa7, 0xfe, 0x79, 0x89, 0x0b, 0xe2, - 0x9c, 0x80, 0xef, 0x7a, 0x39, 0xb7, 0x33, 0xb4, 0x26, 0x3f, 0xa6, 0x83, 0xb6, 0x23, 0xd4, 0x69, - 0x30, 0x52, 0x22, 0x67, 0x34, 0xc6, 0x9b, 0x8a, 0x84, 0x46, 0xed, 0xcc, 0x00, 0x78, 0x6b, 0xe3, - 0x7e, 0xfb, 0x82, 0xb7, 0x27, 0xcd, 0x6e, 0xb7, 0xa0, 0xdb, 0xf4, 0x77, 0xed, 0xa1, 0x35, 0xf9, - 0x3d, 0x0d, 0xe1, 0xa1, 0x33, 0xae, 0x0f, 0x10, 0xee, 0xb5, 0x8b, 0x6a, 0xf7, 0x39, 0xab, 0x8a, - 0x43, 0x5c, 0xd8, 0x26, 0xcc, 0xef, 0x6d, 0x30, 0x5e, 0xf3, 0x02, 0x7e, 0x7a, 0x8b, 0xf3, 0xbf, - 0x7b, 0xa3, 0x96, 0xbb, 0x1e, 0x4b, 0xeb, 0xea, 0xa2, 0x35, 0x53, 0xbe, 0xc1, 0x8c, 0x42, 0x2e, - 0xa8, 0x47, 0x09, 0xab, 0x5b, 0xea, 0xfb, 0x2e, 0x73, 0xf9, 0xc1, 0xf3, 0x9a, 0x19, 0xf4, 0x68, - 0x77, 0x16, 0x41, 0xf0, 0x64, 0x8f, 0x16, 0xcd, 0xc8, 0x20, 0x93, 0xb0, 0x81, 0x3b, 0x14, 0xfb, - 0x30, 0xd4, 0xca, 0x67, 0xad, 0x49, 0x82, 0x4c, 0x26, 0x46, 0x93, 0xc4, 0x7e, 0x62, 0x34, 0x2f, - 0xf6, 0xb8, 0x21, 0x10, 0x0a, 0x32, 0x89, 0x90, 0x51, 0x21, 0x14, 0xfb, 0x08, 0x19, 0xdd, 0xaa, - 0x5b, 0x2f, 0x7b, 0xfc, 0x1a, 0x00, 0x00, 0xff, 0xff, 0x85, 0xca, 0xc7, 0x69, 0x0a, 0x03, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/carrier_constant.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/carrier_constant.pb.go deleted file mode 100644 index 6b9d9972..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/carrier_constant.pb.go +++ /dev/null @@ -1,131 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/carrier_constant.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // 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_6b8b1da6512447a4, []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 (m *CarrierConstant) XXX_Merge(src proto.Message) { - xxx_messageInfo_CarrierConstant.Merge(m, 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.v1.resources.CarrierConstant") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/carrier_constant.proto", fileDescriptor_6b8b1da6512447a4) -} - -var fileDescriptor_6b8b1da6512447a4 = []byte{ - // 363 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xc1, 0x4a, 0xeb, 0x40, - 0x14, 0x86, 0x49, 0x5a, 0x2e, 0xdc, 0xb4, 0x97, 0x0b, 0xc1, 0x45, 0xa9, 0x45, 0x5a, 0xa5, 0x50, - 0x10, 0x26, 0x46, 0x45, 0x64, 0x5c, 0x48, 0xda, 0x45, 0xd1, 0x85, 0x94, 0x0a, 0x59, 0x48, 0xa0, - 0x4c, 0x33, 0x63, 0x08, 0xb4, 0x73, 0xc2, 0xcc, 0xa4, 0xe2, 0xd2, 0x57, 0x71, 0xe9, 0xa3, 0xf8, - 0x00, 0x3e, 0x84, 0x4f, 0x21, 0xcd, 0x64, 0x66, 0xa1, 0xa0, 0xee, 0xfe, 0xe4, 0x7c, 0xff, 0xff, - 0x9f, 0xe4, 0x78, 0xe7, 0x19, 0x40, 0xb6, 0x62, 0x01, 0xa1, 0x32, 0xd0, 0x72, 0xab, 0x36, 0x61, - 0x20, 0x98, 0x84, 0x52, 0xa4, 0x4c, 0x06, 0x29, 0x11, 0x22, 0x67, 0x62, 0x91, 0x02, 0x97, 0x8a, - 0x70, 0x85, 0x0a, 0x01, 0x0a, 0xfc, 0x81, 0xc6, 0x11, 0xa1, 0x12, 0x59, 0x27, 0xda, 0x84, 0xc8, - 0x3a, 0xbb, 0x3d, 0x13, 0x5e, 0xe4, 0x01, 0xe1, 0x1c, 0x14, 0x51, 0x39, 0x70, 0xa9, 0x03, 0xba, - 0x7b, 0xf5, 0xb4, 0x7a, 0x5a, 0x96, 0xf7, 0xc1, 0x83, 0x20, 0x45, 0xc1, 0x44, 0x3d, 0xdf, 0x7f, - 0x73, 0xbc, 0xff, 0x13, 0xdd, 0x3d, 0xa9, 0xab, 0xfd, 0x03, 0xef, 0x9f, 0x89, 0x5f, 0x70, 0xb2, - 0x66, 0x1d, 0xa7, 0xef, 0x8c, 0xfe, 0xce, 0xdb, 0xe6, 0xe5, 0x0d, 0x59, 0x33, 0xff, 0xd0, 0x73, - 0x73, 0xda, 0x71, 0xfb, 0xce, 0xa8, 0x75, 0xbc, 0x5b, 0xef, 0x86, 0x4c, 0x0b, 0xba, 0xe2, 0xea, - 0xec, 0x34, 0x26, 0xab, 0x92, 0xcd, 0xdd, 0x9c, 0xfa, 0x47, 0x5e, 0xb3, 0x0a, 0x6a, 0x54, 0x78, - 0xef, 0x0b, 0x7e, 0xab, 0x44, 0xce, 0x33, 0xcd, 0x57, 0xa4, 0x7f, 0xe9, 0xb5, 0x53, 0x28, 0xb9, - 0x12, 0x8f, 0x8b, 0x14, 0x28, 0xeb, 0x34, 0x7f, 0xe1, 0x6c, 0xd5, 0x8e, 0x09, 0x50, 0x36, 0x7e, - 0x72, 0xbd, 0x61, 0x0a, 0x6b, 0xf4, 0xe3, 0x0f, 0x1c, 0xef, 0x7c, 0xfa, 0xfe, 0xd9, 0x36, 0x7b, - 0xe6, 0xdc, 0x5d, 0xd7, 0xd6, 0x0c, 0x56, 0x84, 0x67, 0x08, 0x44, 0x16, 0x64, 0x8c, 0x57, 0xcd, - 0xe6, 0x8a, 0x45, 0x2e, 0xbf, 0x39, 0xea, 0x85, 0x55, 0xcf, 0x6e, 0x63, 0x1a, 0x45, 0x2f, 0xee, - 0x60, 0xaa, 0x23, 0x23, 0x2a, 0x91, 0x96, 0x5b, 0x15, 0x87, 0x68, 0x6e, 0xc8, 0x57, 0xc3, 0x24, - 0x11, 0x95, 0x89, 0x65, 0x92, 0x38, 0x4c, 0x2c, 0xf3, 0xee, 0x0e, 0xf5, 0x00, 0xe3, 0x88, 0x4a, - 0x8c, 0x2d, 0x85, 0x71, 0x1c, 0x62, 0x6c, 0xb9, 0xe5, 0x9f, 0x6a, 0xd9, 0x93, 0x8f, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x23, 0x97, 0x74, 0xab, 0x80, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/change_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/change_status.pb.go deleted file mode 100644 index 73e5e35e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/change_status.pb.go +++ /dev/null @@ -1,238 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/change_status.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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.v1.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.v1.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"` - // The Feed affected by this change. - Feed *wrappers.StringValue `protobuf:"bytes,12,opt,name=feed,proto3" json:"feed,omitempty"` - // The FeedItem affected by this change. - FeedItem *wrappers.StringValue `protobuf:"bytes,13,opt,name=feed_item,json=feedItem,proto3" json:"feed_item,omitempty"` - // The AdGroupFeed affected by this change. - AdGroupFeed *wrappers.StringValue `protobuf:"bytes,14,opt,name=ad_group_feed,json=adGroupFeed,proto3" json:"ad_group_feed,omitempty"` - // The CampaignFeed affected by this change. - CampaignFeed *wrappers.StringValue `protobuf:"bytes,15,opt,name=campaign_feed,json=campaignFeed,proto3" json:"campaign_feed,omitempty"` - // The AdGroupBidModifier affected by this change. - AdGroupBidModifier *wrappers.StringValue `protobuf:"bytes,16,opt,name=ad_group_bid_modifier,json=adGroupBidModifier,proto3" json:"ad_group_bid_modifier,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_9a34c24bda75f035, []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 (m *ChangeStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChangeStatus.Merge(m, 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 (m *ChangeStatus) GetFeed() *wrappers.StringValue { - if m != nil { - return m.Feed - } - return nil -} - -func (m *ChangeStatus) GetFeedItem() *wrappers.StringValue { - if m != nil { - return m.FeedItem - } - return nil -} - -func (m *ChangeStatus) GetAdGroupFeed() *wrappers.StringValue { - if m != nil { - return m.AdGroupFeed - } - return nil -} - -func (m *ChangeStatus) GetCampaignFeed() *wrappers.StringValue { - if m != nil { - return m.CampaignFeed - } - return nil -} - -func (m *ChangeStatus) GetAdGroupBidModifier() *wrappers.StringValue { - if m != nil { - return m.AdGroupBidModifier - } - return nil -} - -func init() { - proto.RegisterType((*ChangeStatus)(nil), "google.ads.googleads.v1.resources.ChangeStatus") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/change_status.proto", fileDescriptor_9a34c24bda75f035) -} - -var fileDescriptor_9a34c24bda75f035 = []byte{ - // 602 bytes of a gzipped FileDescriptorProto - 0x1f,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aa, 0x61, 0x1f, 0xb9, 0x6f, 0x59, 0x7d, 0x77, 0x98, 0x51, 0x42, 0xd4, 0xc8, - 0x63, 0x46, 0xc3, 0xfe, 0xc8, 0x63, 0x7e, 0x2c, 0xec, 0xd6, 0x8d, 0x38, 0x4e, 0x88, 0x8a, 0x63, - 0x8f, 0x8a, 0xe3, 0x61, 0x3f, 0x8e, 0x3d, 0xee, 0x6a, 0xd9, 0x84, 0x7d, 0xf2, 0x2b, 0x00, 0x00, - 0xff, 0xff, 0x28, 0xd9, 0xc6, 0x5e, 0x27, 0x06, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/click_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/click_view.pb.go deleted file mode 100644 index 41b07386..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/click_view.pb.go +++ /dev/null @@ -1,148 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/click_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v1/common" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A click view with metrics aggregated at each click level, including both -// valid and invalid clicks. For non-Search campaigns, metrics.clicks -// represents the number of valid and invalid interactions. -type ClickView struct { - // The resource name of the click view. - // Click view resource names have the form: - // - // `customers/{customer_id}/clickViews/{date (yyyy-MM-dd)}~{gclid}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The Google Click ID. - Gclid *wrappers.StringValue `protobuf:"bytes,2,opt,name=gclid,proto3" json:"gclid,omitempty"` - // The location criteria matching the area of interest associated with the - // impression. - AreaOfInterest *common.ClickLocation `protobuf:"bytes,3,opt,name=area_of_interest,json=areaOfInterest,proto3" json:"area_of_interest,omitempty"` - // The location criteria matching the location of presence associated with the - // impression. - LocationOfPresence *common.ClickLocation `protobuf:"bytes,4,opt,name=location_of_presence,json=locationOfPresence,proto3" json:"location_of_presence,omitempty"` - // Page number in search results where the ad was shown. - PageNumber *wrappers.Int64Value `protobuf:"bytes,5,opt,name=page_number,json=pageNumber,proto3" json:"page_number,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ClickView) Reset() { *m = ClickView{} } -func (m *ClickView) String() string { return proto.CompactTextString(m) } -func (*ClickView) ProtoMessage() {} -func (*ClickView) Descriptor() ([]byte, []int) { - return fileDescriptor_c61fa672950e615e, []int{0} -} - -func (m *ClickView) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClickView.Unmarshal(m, b) -} -func (m *ClickView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClickView.Marshal(b, m, deterministic) -} -func (m *ClickView) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClickView.Merge(m, src) -} -func (m *ClickView) XXX_Size() int { - return xxx_messageInfo_ClickView.Size(m) -} -func (m *ClickView) XXX_DiscardUnknown() { - xxx_messageInfo_ClickView.DiscardUnknown(m) -} - -var xxx_messageInfo_ClickView proto.InternalMessageInfo - -func (m *ClickView) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *ClickView) GetGclid() *wrappers.StringValue { - if m != nil { - return m.Gclid - } - return nil -} - -func (m *ClickView) GetAreaOfInterest() *common.ClickLocation { - if m != nil { - return m.AreaOfInterest - } - return nil -} - -func (m *ClickView) GetLocationOfPresence() *common.ClickLocation { - if m != nil { - return m.LocationOfPresence - } - return nil -} - -func (m *ClickView) GetPageNumber() *wrappers.Int64Value { - if m != nil { - return m.PageNumber - } - return nil -} - -func init() { - proto.RegisterType((*ClickView)(nil), "google.ads.googleads.v1.resources.ClickView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/click_view.proto", fileDescriptor_c61fa672950e615e) -} - -var fileDescriptor_c61fa672950e615e = []byte{ - // 429 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0x4f, 0x6b, 0xd4, 0x40, - 0x18, 0x87, 0x49, 0x6a, 0x85, 0x4e, 0xb5, 0x48, 0xf0, 0x10, 0x6a, 0x91, 0x56, 0x29, 0xf4, 0xe2, - 0x84, 0x6c, 0xc5, 0x43, 0xf4, 0x92, 0x7a, 0x28, 0x15, 0x69, 0x97, 0x15, 0x22, 0xc8, 0x42, 0x98, - 0x9d, 0xbc, 0x3b, 0x0c, 0x26, 0x33, 0x61, 0x26, 0xd9, 0xfd, 0x3e, 0x1e, 0xfd, 0x28, 0x7e, 0x06, - 0x3f, 0x81, 0x5f, 0xc1, 0x8b, 0x64, 0xfe, 0x5d, 0x64, 0x15, 0x7a, 0x7b, 0x93, 0xf7, 0x79, 0x9f, - 0x99, 0xdf, 0xcc, 0xa0, 0x19, 0x93, 0x92, 0xb5, 0x90, 0x91, 0x46, 0x67, 0xb6, 0x9c, 0xaa, 0x4d, - 0x9e, 0x29, 0xd0, 0x72, 0x54, 0x14, 0x74, 0x46, 0x5b, 0x4e, 0xbf, 0xd6, 0x1b, 0x0e, 0x5b, 0xdc, - 0x2b, 0x39, 0xc8, 0xe4, 0xcc, 0x82, 0x98, 0x34, 0x1a, 0x87, 0x19, 0xbc, 0xc9, 0x71, 0x98, 0x39, - 0xbe, 0xdc, 0xa5, 0xa5, 0xb2, 0xeb, 0xa4, 0x70, 0xce, 0x56, 0x52, 0x32, 0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d0, 0x39, 0x95, 0x1d, 0xfe, 0xef, 0xdd, 0x5f, 0x1d, 0x85, 0x5b, 0x98, 0x4f, 0xce, 0x79, 0xf4, - 0xe5, 0x83, 0x1b, 0x62, 0xb2, 0x25, 0x82, 0x61, 0xa9, 0x58, 0xc6, 0x40, 0x98, 0x15, 0xfd, 0xeb, - 0xe8, 0xb9, 0xfe, 0xc7, 0x1b, 0x7c, 0x1b, 0xaa, 0x6f, 0xf1, 0xde, 0x75, 0x59, 0x7e, 0x8f, 0xcf, - 0xae, 0xad, 0xb2, 0x6c, 0x34, 0xb6, 0xe5, 0x54, 0x55, 0x39, 0x5e, 0x78, 0xf2, 0x87, 0x67, 0x96, - 0x65, 0xa3, 0x97, 0x81, 0x59, 0x56, 0xf9, 0x32, 0x30, 0xbf, 0xe2, 0x73, 0xdb, 0x28, 0x8a, 0xb2, - 0xd1, 0x45, 0x11, 0xa8, 0xa2, 0xa8, 0xf2, 0xa2, 0x08, 0xdc, 0xea, 0xa1, 0xd9, 0xec, 0xe5, 0x9f, - 0x00, 0x00, 0x00, 0xff, 0xff, 0xbb, 0x84, 0x59, 0x4e, 0x2f, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/conversion_action.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/conversion_action.pb.go deleted file mode 100644 index 2cf01dae..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/conversion_action.pb.go +++ /dev/null @@ -1,410 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/conversion_action.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v1/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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.v1.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.v1.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.v1.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.v1.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_c3f71f6866f7bfaf, []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 (m *ConversionAction) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConversionAction.Merge(m, 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.v1.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.v1.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_c3f71f6866f7bfaf, []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 (m *ConversionAction_AttributionModelSettings) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConversionAction_AttributionModelSettings.Merge(m, 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_c3f71f6866f7bfaf, []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 (m *ConversionAction_ValueSettings) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConversionAction_ValueSettings.Merge(m, 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.v1.resources.ConversionAction") - proto.RegisterType((*ConversionAction_AttributionModelSettings)(nil), "google.ads.googleads.v1.resources.ConversionAction.AttributionModelSettings") - proto.RegisterType((*ConversionAction_ValueSettings)(nil), "google.ads.googleads.v1.resources.ConversionAction.ValueSettings") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/conversion_action.proto", fileDescriptor_c3f71f6866f7bfaf) -} - -var fileDescriptor_c3f71f6866f7bfaf = []byte{ - // 970 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xdd, 0x6e, 0xe3, 0x44, - 0x14, 0x56, 0xd2, 0x6e, 0xd9, 0x9d, 0x26, 0xd9, 0x32, 0xa8, 0x92, 0x95, 0xfd, 0x51, 0xbb, 0x68, - 0xa5, 0x0a, 0x24, 0x67, 0x93, 0x05, 0x24, 0x02, 0x42, 0x72, 0x13, 0xb4, 0x2a, 0x6a, 0x57, 0x95, - 0x53, 0x8a, 0xb4, 0x0a, 0x1a, 0x26, 0x9e, 0xa9, 0x63, 0xd5, 0x9e, 0x31, 0x33, 0xe3, 0x44, 0xb9, - 0x84, 0x1b, 0x24, 0x5e, 0x80, 0x7b, 0x2e, 0x79, 0x03, 0x5e, 0x81, 0x47, 0xe1, 0x0d, 0xb8, 0x43, - 0x1e, 0x8f, 0xdd, 0x34, 0x89, 0x9b, 0x66, 0xef, 0x66, 0x7c, 0xce, 0xf7, 0x7d, 0xe7, 0x9c, 0x39, - 0x73, 0xc6, 0xe0, 0x4b, 0x9f, 0x73, 0x3f, 0xa4, 0x2d, 0x4c, 0x64, 0x2b, 0x5b, 0xa6, 0xab, 0x49, - 0xbb, 0x25, 0xa8, 0xe4, 0x89, 0xf0, 0xa8, 0x6c, 0x79, 0x9c, 0x4d, 0xa8, 0x90, 0x01, 0x67, 0x08, - 0x7b, 0x2a, 0xe0, 0xcc, 0x8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0x3b, 0x4f, 0x45, 0xce, 0x2b, 0xef, 0xbe, 0x33, 0x58, 0x9f, 0x87, 0x98, 0xf9, 0x36, 0x17, 0x7e, - 0xcb, 0xa7, 0x4c, 0x87, 0x90, 0xff, 0x8a, 0xc4, 0x81, 0xbc, 0xe3, 0xff, 0xf2, 0xab, 0x62, 0xf5, - 0x67, 0x75, 0xeb, 0x8d, 0xe3, 0xfc, 0x55, 0x3d, 0x7c, 0x93, 0x51, 0x3a, 0x44, 0xda, 0xd9, 0x32, - 0x5d, 0x5d, 0xb6, 0x6d, 0x37, 0xf7, 0xfc, 0x27, 0xf7, 0x19, 0x3a, 0x44, 0x0e, 0x0b, 0x9f, 0xe1, - 0x65, 0x7b, 0x58, 0xf8, 0xfc, 0x5b, 0x7d, 0x99, 0x19, 0xba, 0x5d, 0x87, 0xc8, 0x6e, 0xb7, 0xf0, - 0xea, 0x76, 0x2f, 0xdb, 0xdd, 0x6e, 0xe1, 0x37, 0xda, 0xd1, 0xc1, 0xbe, 0xfe, 0x3f, 0x00, 0x00, - 0xff, 0xff, 0x0f, 0x8f, 0x73, 0x8d, 0x0b, 0x0b, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/custom_interest.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/custom_interest.pb.go deleted file mode 100644 index 592f1cdf..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/custom_interest.pb.go +++ /dev/null @@ -1,227 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/custom_interest.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A custom interest. This is a list of users by interest. -type CustomInterest struct { - // The resource name of the custom interest. - // Custom interest resource names have the form: - // - // `customers/{customer_id}/customInterests/{custom_interest_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // Id of the custom interest. - Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // Status of this custom interest. Indicates whether the custom interest is - // enabled or removed. - Status enums.CustomInterestStatusEnum_CustomInterestStatus `protobuf:"varint,3,opt,name=status,proto3,enum=google.ads.googleads.v1.enums.CustomInterestStatusEnum_CustomInterestStatus" json:"status,omitempty"` - // Name of the custom interest. It should be unique across the same custom - // affinity audience. - // This field is required for create operations. - Name *wrappers.StringValue `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` - // Type of the custom interest, CUSTOM_AFFINITY or CUSTOM_INTENT. - // By default the type is set to CUSTOM_AFFINITY. - Type enums.CustomInterestTypeEnum_CustomInterestType `protobuf:"varint,5,opt,name=type,proto3,enum=google.ads.googleads.v1.enums.CustomInterestTypeEnum_CustomInterestType" json:"type,omitempty"` - // Description of this custom interest audience. - Description *wrappers.StringValue `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` - // List of custom interest members that this custom interest is composed of. - // Members can be added during CustomInterest creation. If members are - // presented in UPDATE operation, existing members will be overridden. - Members []*CustomInterestMember `protobuf:"bytes,7,rep,name=members,proto3" json:"members,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomInterest) Reset() { *m = CustomInterest{} } -func (m *CustomInterest) String() string { return proto.CompactTextString(m) } -func (*CustomInterest) ProtoMessage() {} -func (*CustomInterest) Descriptor() ([]byte, []int) { - return fileDescriptor_a831eeefd2f4541b, []int{0} -} - -func (m *CustomInterest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomInterest.Unmarshal(m, b) -} -func (m *CustomInterest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomInterest.Marshal(b, m, deterministic) -} -func (m *CustomInterest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomInterest.Merge(m, src) -} -func (m *CustomInterest) XXX_Size() int { - return xxx_messageInfo_CustomInterest.Size(m) -} -func (m *CustomInterest) XXX_DiscardUnknown() { - xxx_messageInfo_CustomInterest.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomInterest proto.InternalMessageInfo - -func (m *CustomInterest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *CustomInterest) GetId() *wrappers.Int64Value { - if m != nil { - return m.Id - } - return nil -} - -func (m *CustomInterest) GetStatus() enums.CustomInterestStatusEnum_CustomInterestStatus { - if m != nil { - return m.Status - } - return enums.CustomInterestStatusEnum_UNSPECIFIED -} - -func (m *CustomInterest) GetName() *wrappers.StringValue { - if m != nil { - return m.Name - } - return nil -} - -func (m *CustomInterest) GetType() enums.CustomInterestTypeEnum_CustomInterestType { - if m != nil { - return m.Type - } - return enums.CustomInterestTypeEnum_UNSPECIFIED -} - -func (m *CustomInterest) GetDescription() *wrappers.StringValue { - if m != nil { - return m.Description - } - return nil -} - -func (m *CustomInterest) GetMembers() []*CustomInterestMember { - if m != nil { - return m.Members - } - return nil -} - -// A member of custom interest audience. A member can be a keyword or url. -// It is immutable, that is, it can only be created or removed but not changed. -type CustomInterestMember struct { - // The type of custom interest member, KEYWORD or URL. - MemberType enums.CustomInterestMemberTypeEnum_CustomInterestMemberType `protobuf:"varint,1,opt,name=member_type,json=memberType,proto3,enum=google.ads.googleads.v1.enums.CustomInterestMemberTypeEnum_CustomInterestMemberType" json:"member_type,omitempty"` - // Keyword text when member_type is KEYWORD or URL string when - // member_type is URL. - Parameter *wrappers.StringValue `protobuf:"bytes,2,opt,name=parameter,proto3" json:"parameter,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomInterestMember) Reset() { *m = CustomInterestMember{} } -func (m *CustomInterestMember) String() string { return proto.CompactTextString(m) } -func (*CustomInterestMember) ProtoMessage() {} -func (*CustomInterestMember) Descriptor() ([]byte, []int) { - return fileDescriptor_a831eeefd2f4541b, []int{1} -} - -func (m *CustomInterestMember) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomInterestMember.Unmarshal(m, b) -} -func (m *CustomInterestMember) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomInterestMember.Marshal(b, m, deterministic) -} -func (m *CustomInterestMember) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomInterestMember.Merge(m, src) -} -func (m *CustomInterestMember) XXX_Size() int { - return xxx_messageInfo_CustomInterestMember.Size(m) -} -func (m *CustomInterestMember) XXX_DiscardUnknown() { - xxx_messageInfo_CustomInterestMember.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomInterestMember proto.InternalMessageInfo - -func (m *CustomInterestMember) GetMemberType() enums.CustomInterestMemberTypeEnum_CustomInterestMemberType { - if m != nil { - return m.MemberType - } - return enums.CustomInterestMemberTypeEnum_UNSPECIFIED -} - -func (m *CustomInterestMember) GetParameter() *wrappers.StringValue { - if m != nil { - return m.Parameter - } - return nil -} - -func init() { - proto.RegisterType((*CustomInterest)(nil), "google.ads.googleads.v1.resources.CustomInterest") - proto.RegisterType((*CustomInterestMember)(nil), "google.ads.googleads.v1.resources.CustomInterestMember") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/custom_interest.proto", fileDescriptor_a831eeefd2f4541b) -} - -var fileDescriptor_a831eeefd2f4541b = []byte{ - // 520 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xd1, 0x6e, 0xd3, 0x30, - 0x14, 0x55, 0xd2, 0xd2, 0x69, 0x2e, 0xf4, 0xc1, 0xf0, 0x10, 0x8d, 0x09, 0x75, 0x43, 0x93, 0x2a, - 0x21, 0x39, 0xb4, 0x20, 0x86, 0x8c, 0x04, 0xca, 0x10, 0x1a, 0x43, 0x80, 0x46, 0x36, 0xf5, 0x01, - 0x45, 0xaa, 0xdc, 0xc6, 0x44, 0x91, 0x6a, 0x3b, 0xb2, 0x9d, 0xa1, 0xbd, 0xf1, 0x2d, 0x3c, 0xf2, - 0x27, 0xf0, 0x29, 0xf0, 0x13, 0x28, 0x76, 0x9c, 0x75, 0xac, 0xdd, 0xe8, 0xdb, 0xad, 0xef, 0x39, - 0xe7, 0x1e, 0x1f, 0xdf, 0x06, 0xec, 0x67, 0x42, 0x64, 0x73, 0x1a, 0x92, 0x54, 0x85, 0xb6, 0xac, - 0xaa, 0xb3, 0x61, 0x28, 0xa9, 0x12, 0xa5, 0x9c, 0x51, 0x15, 0xce, 0x4a, 0xa5, 0x05, 0x9b, 0xe4, - 0x5c, 0x53, 0x49, 0x95, 0x46, 0x85, 0x14, 0x5a, 0xc0, 0x1d, 0x8b, 0x46, 0x24, 0x55, 0xa8, 0x21, - 0xa2, 0xb3, 0x21, 0x6a, 0x88, 0x5b, 0xaf, 0x56, 0x69, 0x53, 0x5e, 0xb2, 0x2b, 0xba, 0x13, 0x46, - 0xd9, 0x94, 0xca, 0x89, 0x3e, 0x2f, 0xa8, 0x9d, 0xb1, 0x85, 0xd7, 0x13, 0x50, 0x9a, 0xe8, 0x52, - 0xd5, 0xdc, 0xe7, 0xeb, 0x71, 0x17, 0xa6, 0x6e, 0x3b, 0x66, 0x91, 0x87, 0x84, 0x73, 0xa1, 0x89, - 0xce, 0x05, 0x77, 0xba, 0x0f, 0xea, 0xae, 0xf9, 0x35, 0x2d, 0xbf, 0x84, 0x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0x86, 0x80, 0x25, 0xe8, 0x2e, 0xec, 0xb3, 0x79, 0xf1, 0xde, 0xe8, 0x74, 0xad, 0x40, 0xac, - 0xd2, 0x8a, 0x58, 0x2e, 0x9a, 0x31, 0x60, 0x4d, 0x0d, 0x31, 0xd8, 0x2c, 0x88, 0x24, 0x8c, 0x6a, - 0x2a, 0xeb, 0x65, 0xba, 0x3e, 0xa0, 0x0b, 0xf8, 0xc1, 0x37, 0x1f, 0xec, 0xcd, 0x04, 0xbb, 0x39, - 0x93, 0x83, 0xbb, 0x97, 0xbd, 0x1c, 0x57, 0xc2, 0xc7, 0xde, 0xe7, 0x77, 0x35, 0x33, 0x13, 0x73, - 0xc2, 0x33, 0x24, 0x64, 0x16, 0x66, 0x94, 0x9b, 0xb1, 0xee, 0x2f, 0x58, 0xe4, 0xea, 0x9a, 0x4f, - 0xcd, 0x8b, 0xa6, 0xfa, 0xee, 0xb7, 0x0e, 0xa3, 0xe8, 0x87, 0xbf, 0x73, 0x68, 0x25, 0xa3, 0x54, - 0x21, 0x5b, 0x56, 0xd5, 0x78, 0x88, 0x62, 0x87, 0xfc, 0xe5, 0x30, 0x49, 0x94, 0xaa, 0xa4, 0xc1, - 0x24, 0xe3, 0x61, 0xd2, 0x60, 0x7e, 0xfb, 0x7b, 0xb6, 0x81, 0x71, 0x94, 0x2a, 0x8c, 0x1b, 0x14, - 0xc6, 0xe3, 0x21, 0xc6, 0x0d, 0x6e, 0xda, 0x31, 0x66, 0x9f, 0xfc, 0x0d, 0x00, 0x00, 0xff, 0xff, - 0x96, 0x2a, 0x9e, 0xe6, 0x16, 0x05, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/customer.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/customer.pb.go deleted file mode 100644 index 2e392402..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/customer.pb.go +++ /dev/null @@ -1,429 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/customer.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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"` - // Whether the customer is a manager. - Manager *wrappers.BoolValue `protobuf:"bytes,12,opt,name=manager,proto3" json:"manager,omitempty"` - // Whether the customer is a test account. - TestAccount *wrappers.BoolValue `protobuf:"bytes,13,opt,name=test_account,json=testAccount,proto3" json:"test_account,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"` - // Conversion tracking setting for a customer. - ConversionTrackingSetting *ConversionTrackingSetting `protobuf:"bytes,14,opt,name=conversion_tracking_setting,json=conversionTrackingSetting,proto3" json:"conversion_tracking_setting,omitempty"` - // Remarketing setting for a customer. - RemarketingSetting *RemarketingSetting `protobuf:"bytes,15,opt,name=remarketing_setting,json=remarketingSetting,proto3" json:"remarketing_setting,omitempty"` - // Reasons why the customer is not eligible to use PaymentMode.CONVERSIONS. If - // the list is empty, the customer is eligible. This field is read-only. - PayPerConversionEligibilityFailureReasons []enums.CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason `protobuf:"varint,16,rep,packed,name=pay_per_conversion_eligibility_failure_reasons,json=payPerConversionEligibilityFailureReasons,proto3,enum=google.ads.googleads.v1.enums.CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason" json:"pay_per_conversion_eligibility_failure_reasons,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_3f95889c65daf179, []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 (m *Customer) XXX_Merge(src proto.Message) { - xxx_messageInfo_Customer.Merge(m, 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) GetManager() *wrappers.BoolValue { - if m != nil { - return m.Manager - } - return nil -} - -func (m *Customer) GetTestAccount() *wrappers.BoolValue { - if m != nil { - return m.TestAccount - } - return nil -} - -func (m *Customer) GetCallReportingSetting() *CallReportingSetting { - if m != nil { - return m.CallReportingSetting - } - return nil -} - -func (m *Customer) GetConversionTrackingSetting() *ConversionTrackingSetting { - if m != nil { - return m.ConversionTrackingSetting - } - return nil -} - -func (m *Customer) GetRemarketingSetting() *RemarketingSetting { - if m != nil { - return m.RemarketingSetting - } - return nil -} - -func (m *Customer) GetPayPerConversionEligibilityFailureReasons() []enums.CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason { - if m != nil { - return m.PayPerConversionEligibilityFailureReasons - } - 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_3f95889c65daf179, []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 (m *CallReportingSetting) XXX_Merge(src proto.Message) { - xxx_messageInfo_CallReportingSetting.Merge(m, 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 -} - -// A collection of customer-wide settings related to Google Ads Conversion -// Tracking. -type ConversionTrackingSetting struct { - // The conversion tracking id used for this account. This id is automatically - // assigned after any conversion tracking feature is used. If the customer - // doesn't use conversion tracking, this is 0. This field is read-only. - ConversionTrackingId *wrappers.Int64Value `protobuf:"bytes,1,opt,name=conversion_tracking_id,json=conversionTrackingId,proto3" json:"conversion_tracking_id,omitempty"` - // The conversion tracking id of the customer's manager. This is set when the - // customer is opted into cross account conversion tracking, and it overrides - // conversion_tracking_id. This field can only be managed through the Google - // Ads UI. This field is read-only. - CrossAccountConversionTrackingId *wrappers.Int64Value `protobuf:"bytes,2,opt,name=cross_account_conversion_tracking_id,json=crossAccountConversionTrackingId,proto3" json:"cross_account_conversion_tracking_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ConversionTrackingSetting) Reset() { *m = ConversionTrackingSetting{} } -func (m *ConversionTrackingSetting) String() string { return proto.CompactTextString(m) } -func (*ConversionTrackingSetting) ProtoMessage() {} -func (*ConversionTrackingSetting) Descriptor() ([]byte, []int) { - return fileDescriptor_3f95889c65daf179, []int{2} -} - -func (m *ConversionTrackingSetting) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConversionTrackingSetting.Unmarshal(m, b) -} -func (m *ConversionTrackingSetting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConversionTrackingSetting.Marshal(b, m, deterministic) -} -func (m *ConversionTrackingSetting) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConversionTrackingSetting.Merge(m, src) -} -func (m *ConversionTrackingSetting) XXX_Size() int { - return xxx_messageInfo_ConversionTrackingSetting.Size(m) -} -func (m *ConversionTrackingSetting) XXX_DiscardUnknown() { - xxx_messageInfo_ConversionTrackingSetting.DiscardUnknown(m) -} - -var xxx_messageInfo_ConversionTrackingSetting proto.InternalMessageInfo - -func (m *ConversionTrackingSetting) GetConversionTrackingId() *wrappers.Int64Value { - if m != nil { - return m.ConversionTrackingId - } - return nil -} - -func (m *ConversionTrackingSetting) GetCrossAccountConversionTrackingId() *wrappers.Int64Value { - if m != nil { - return m.CrossAccountConversionTrackingId - } - return nil -} - -// Remarketing setting for a customer. -type RemarketingSetting struct { - // The Google global site tag. - GoogleGlobalSiteTag *wrappers.StringValue `protobuf:"bytes,1,opt,name=google_global_site_tag,json=googleGlobalSiteTag,proto3" json:"google_global_site_tag,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RemarketingSetting) Reset() { *m = RemarketingSetting{} } -func (m *RemarketingSetting) String() string { return proto.CompactTextString(m) } -func (*RemarketingSetting) ProtoMessage() {} -func (*RemarketingSetting) Descriptor() ([]byte, []int) { - return fileDescriptor_3f95889c65daf179, []int{3} -} - -func (m *RemarketingSetting) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemarketingSetting.Unmarshal(m, b) -} -func (m *RemarketingSetting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemarketingSetting.Marshal(b, m, deterministic) -} -func (m *RemarketingSetting) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemarketingSetting.Merge(m, src) -} -func (m *RemarketingSetting) XXX_Size() int { - return xxx_messageInfo_RemarketingSetting.Size(m) -} -func (m *RemarketingSetting) XXX_DiscardUnknown() { - xxx_messageInfo_RemarketingSetting.DiscardUnknown(m) -} - -var xxx_messageInfo_RemarketingSetting proto.InternalMessageInfo - -func (m *RemarketingSetting) GetGoogleGlobalSiteTag() *wrappers.StringValue { - if m != nil { - return m.GoogleGlobalSiteTag - } - return nil -} - -func init() { - proto.RegisterType((*Customer)(nil), "google.ads.googleads.v1.resources.Customer") - proto.RegisterType((*CallReportingSetting)(nil), "google.ads.googleads.v1.resources.CallReportingSetting") - proto.RegisterType((*ConversionTrackingSetting)(nil), "google.ads.googleads.v1.resources.ConversionTrackingSetting") - proto.RegisterType((*RemarketingSetting)(nil), "google.ads.googleads.v1.resources.RemarketingSetting") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/customer.proto", fileDescriptor_3f95889c65daf179) -} - -var fileDescriptor_3f95889c65daf179 = []byte{ - // 879 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x96, 0xdf, 0x6e, 0xe4, 0x34, - 0x14, 0xc6, 0x95, 0x29, 0xec, 0xb6, 0xee, 0x9f, 0xad, 0xbc, 0xc3, 0x2a, 0xdb, 0x5d, 0xad, 0xda, - 0xc2, 0x4a, 0x45, 0x48, 0x19, 0x66, 0x59, 0x40, 0x0c, 0x70, 0x31, 0xad, 0xba, 0x65, 0x11, 0x42, - 0x43, 0xda, 0xed, 0x45, 0x55, 0xc9, 0xf2, 0x24, 0x67, 0xb2, 0x56, 0x1d, 0x3b, 0xb2, 0x9d, 0x42, - 0x11, 0x97, 0x5c, 0xf1, 0x18, 0x70, 0xc7, 0xa3, 0xf0, 0x0a, 0xbc, 0x00, 0xe2, 0x11, 0xb8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x29, 0xe5, 0x39, 0x84, 0x1d, 0x16, 0xe3, 0x23, 0xb4, 0x19, - 0x83, 0x8e, 0x14, 0xcb, 0x0c, 0xbb, 0xac, 0xa0, 0xef, 0x58, 0xe9, 0xd3, 0x86, 0xf4, 0xd8, 0x28, - 0x26, 0x92, 0x52, 0xfb, 0xe0, 0x9a, 0xca, 0xba, 0x0e, 0xd1, 0x7a, 0x94, 0x2b, 0x05, 0x22, 0xba, - 0x22, 0x91, 0x8c, 0xc1, 0x7f, 0x77, 0x01, 0xca, 0x9a, 0x93, 0x1c, 0xc8, 0x18, 0xf0, 0x17, 0x68, - 0xc5, 0xb0, 0x14, 0xc8, 0xcf, 0x52, 0x80, 0x7f, 0x6f, 0x01, 0xf9, 0x72, 0x91, 0x7e, 0x26, 0x05, - 0xe0, 0x11, 0x7a, 0xcf, 0x28, 0x1a, 0x5d, 0x30, 0x91, 0x90, 0x5c, 0x71, 0x62, 0x20, 0xcd, 0x38, - 0x35, 0xe0, 0xdf, 0x5f, 0x00, 0xf3, 0xd0, 0x49, 0xdf, 0x28, 0x7e, 0x52, 0x09, 0xf1, 0x2b, 0xb4, - 0x39, 0x61, 0x82, 0x72, 0x8b, 0xd3, 0xf9, 0x64, 0xc2, 0x7e, 0xf2, 0x57, 0x17, 0x80, 0x6d, 0x58, - 0xd5, 0x1b, 0xc5, 0x8f, 0xad, 0x06, 0x7f, 0x87, 0xba, 0x34, 0x37, 0x92, 0x18, 0x9a, 0x24, 0xc5, - 0xee, 0x40, 0xd0, 0x31, 0x87, 0xd8, 0x5f, 0xb6, 0xac, 0xad, 0x06, 0x6b, 0x5f, 0x4a, 0x5e, 0x92, - 0x70, 0xa1, 0x3b, 0x29, 0x65, 0x87, 0xa5, 0x0a, 0x7f, 0x83, 0xf0, 0x5b, 0xaa, 0x49, 0x46, 0x95, - 0x11, 0xa0, 0x34, 0x19, 0xd3, 0x38, 0x01, 0x7f, 0xa5, 0x95, 0xb5, 0xf9, 0x96, 0xea, 0x51, 0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xcf, 0xce, 0xce, 0x51, 0x89, 0x1c, 0xc6, - 0x3a, 0x28, 0x97, 0xc5, 0xea, 0xb4, 0x1f, 0x84, 0x2e, 0xf3, 0x2f, 0x97, 0x73, 0x3e, 0x8c, 0xf5, - 0x79, 0x9d, 0x73, 0x7e, 0xda, 0x3f, 0xaf, 0x73, 0xfe, 0xed, 0x3c, 0x2f, 0x03, 0x83, 0xc1, 0x30, - 0xd6, 0x83, 0x41, 0x9d, 0x35, 0x18, 0x9c, 0xf6, 0x07, 0x83, 0x3a, 0x6f, 0x7c, 0xcf, 0x6e, 0xf6, - 0x93, 0xff, 0x03, 0x00, 0x00, 0xff, 0xff, 0x02, 0x53, 0xc2, 0x00, 0x6e, 0x09, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/customer_client.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/customer_client.pb.go deleted file mode 100644 index 8e7f68cd..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/customer_client.pb.go +++ /dev/null @@ -1,136 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/customer_client.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A link between the given customer and a client customer. CustomerClients only -// exist for manager customers. All direct and indirect client customers are -// included, as well as the manager itself. -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 resource name of the client-customer which is linked to - // the given customer. Read only. - ClientCustomer *wrappers.StringValue `protobuf:"bytes,3,opt,name=client_customer,json=clientCustomer,proto3" json:"client_customer,omitempty"` - // Specifies whether this is a hidden account. Learn more about hidden - // accounts here. Read - // only. - Hidden *wrappers.BoolValue `protobuf:"bytes,4,opt,name=hidden,proto3" json:"hidden,omitempty"` - // Distance between given 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_a1fcc371bcda99b7, []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 (m *CustomerClient) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerClient.Merge(m, 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.v1.resources.CustomerClient") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/customer_client.proto", fileDescriptor_a1fcc371bcda99b7) -} - -var fileDescriptor_a1fcc371bcda99b7 = []byte{ - // 365 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0x41, 0x4b, 0xfb, 0x30, - 0x18, 0xc6, 0x69, 0xf7, 0xdf, 0xe0, 0x5f, 0x75, 0x42, 0xbd, 0x94, 0x39, 0x64, 0x53, 0x06, 0x3b, - 0xa5, 0x74, 0x8a, 0x42, 0x3c, 0x75, 0x43, 0x86, 0x1e, 0x64, 0x4c, 0xe8, 0x41, 0x0a, 0x23, 0x6b, - 0x63, 0x2d, 0xa4, 0x49, 0x49, 0xd2, 0x79, 0xf5, 0xb3, 0x78, 0xf4, 0xa3, 0xf8, 0x35, 0xbc, 0xf9, - 0x29, 0x64, 0x4d, 0x13, 0x90, 0x81, 0xde, 0x9e, 0xf6, 0x7d, 0x7e, 0xcf, 0xf3, 0x92, 0xd7, 0xb9, - 0xca, 0x18, 0xcb, 0x08, 0xf6, 0x51, 0x2a, 0x7c, 0x25, 0xb7, 0x6a, 0x13, 0xf8, 0x1c, 0x0b, 0x56, - 0xf1, 0x04, 0x0b, 0x3f, 0xa9, 0x84, 0x64, 0x05, 0xe6, 0xab, 0x84, 0xe4, 0x98, 0x4a, 0x50, 0x72, - 0x26, 0x99, 0x3b, 0x54, 0x6e, 0x80, 0x52, 0x01, 0x0c, 0x08, 0x36, 0x01, 0x30, 0x60, 0xaf, 0xaf, - 0xb3, 0xcb, 0xdc, 0x47, 0x94, 0x32, 0x89, 0x64, 0xce, 0xa8, 0x50, 0x01, 0xbd, 0x93, 0x66, 0x5a, - 0x7f, 0xad, 0xab, 0x27, 0xff, 0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be, 0xec, 0x91, 0x1a, 0x40, - 0x18, 0xa6, 0x02, 0x42, 0xe3, 0x82, 0x30, 0x0a, 0x20, 0x34, 0xbe, 0x75, 0xa7, 0x5e, 0xf6, 0xfc, - 0x3b, 0x00, 0x00, 0xff, 0xff, 0x0a, 0xd9, 0x6a, 0xb1, 0x8b, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/customer_client_link.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/customer_client_link.pb.go deleted file mode 100644 index 80860d2e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/customer_client_link.pb.go +++ /dev/null @@ -1,147 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/customer_client_link.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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. - 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.v1.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_1dba9317d3293f16, []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 (m *CustomerClientLink) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerClientLink.Merge(m, 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.v1.resources.CustomerClientLink") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/customer_client_link.proto", fileDescriptor_1dba9317d3293f16) -} - -var fileDescriptor_1dba9317d3293f16 = []byte{ - // 436 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xdd, 0x6a, 0x14, 0x31, - 0x18, 0x65, 0xa6, 0xba, 0x60, 0xb4, 0x2d, 0xcc, 0x8d, 0xc3, 0x5a, 0x64, 0xab, 0x14, 0xf6, 0x2a, - 0x61, 0x56, 0x51, 0x88, 0xde, 0xcc, 0x2e, 0xb5, 0x54, 0x54, 0xca, 0x16, 0xf6, 0x42, 0x16, 0x97, - 0x74, 0x13, 0x63, 0xe8, 0x4c, 0x32, 0x24, 0x99, 0xfa, 0x02, 0x3e, 0x89, 0x97, 0x3e, 0x8a, 0x6f, - 0xe0, 0x2b, 0xf8, 0x14, 0x32, 0xf9, 0x19, 0x91, 0x61, 0xed, 0xdd, 0x49, 0xbe, 0x73, 0xce, 0x77, - 0xbe, 0x2f, 0x01, 0xaf, 0xb9, 0x52, 0xbc, 0x62, 0x88, 0x50, 0x83, 0x3c, 0xec, 0xd0, 0x4d, 0x81, - 0x34, 0x33, 0xaa, 0xd5, 0x5b, 0x66, 0xd0, 0xb6, 0x35, 0x56, 0xd5, 0x4c, 0x6f, 0xb6, 0x95, 0x60, - 0xd2, 0x6e, 0x2a, 0x21, 0xaf, 0x61, 0xa3, 0x95, 0x55, 0xd9, 0xb1, 0x97, 0x40, 0x42, 0x0d, 0xec, - 0xd5, 0xf0, 0xa6, 0x80, 0xbd, 0x7a,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36, 0x1e, 0x64, 0x9b, 0x2b, - 0x55, 0xf9, 0x68, 0x81, 0x39, 0xff, 0x96, 0x82, 0x93, 0xad, 0xaa, 0xe1, 0xad, 0x8f, 0x3f, 0x7f, - 0x38, 0x7c, 0x82, 0x8b, 0xce, 0xf7, 0x22, 0xf9, 0xf8, 0x36, 0xa8, 0xb9, 0xaa, 0x88, 0xe4, 0x50, - 0x69, 0x8e, 0x38, 0x93, 0xae, 0x6b, 0xfc, 0x27, 0x8d, 0x30, 0xff, 0xf9, 0x97, 0xaf, 0x7a, 0xf4, - 0x3d, 0xdd, 0x3b, 0x2b, 0xcb, 0x1f, 0xe9, 0xf1, 0x99, 0xb7, 0x2c, 0xa9, 0x81, 0x1e, 0x76, 0x68, - 0x55, 0xc0, 0x65, 0x64, 0xfe, 0x8c, 0x9c, 0x75, 0x49, 0xcd, 0xba, 0xe7, 0xac, 0x57, 0xc5, 0xba, - 0xe7, 0xfc, 0x4e, 0x4f, 0x7c, 0x01, 0xe3, 0x92, 0x1a, 0x8c, 0x7b, 0x16, 0xc6, 0xab, 0x02, 0xe3, - 0x9e, 0x77, 0x35, 0x72, 0x61, 0x9f, 0xfd, 0x09, 0x00, 0x00, 0xff, 0xff, 0x5a, 0x2e, 0x4b, 0x9b, - 0x43, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/customer_extension_setting.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/customer_extension_setting.pb.go deleted file mode 100644 index 6097540d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/customer_extension_setting.pb.go +++ /dev/null @@ -1,138 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/customer_extension_setting.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A customer extension setting. -type CustomerExtensionSetting struct { - // The resource name of the customer extension setting. - // CustomerExtensionSetting resource names have the form: - // - // `customers/{customer_id}/customerExtensionSettings/{extension_type}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The extension type of the customer extension setting. - ExtensionType enums.ExtensionTypeEnum_ExtensionType `protobuf:"varint,2,opt,name=extension_type,json=extensionType,proto3,enum=google.ads.googleads.v1.enums.ExtensionTypeEnum_ExtensionType" json:"extension_type,omitempty"` - // The resource names of the extension feed items to serve under the customer. - // ExtensionFeedItem resource names have the form: - // - // `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - ExtensionFeedItems []*wrappers.StringValue `protobuf:"bytes,3,rep,name=extension_feed_items,json=extensionFeedItems,proto3" json:"extension_feed_items,omitempty"` - // The device for which the extensions will serve. Optional. - Device enums.ExtensionSettingDeviceEnum_ExtensionSettingDevice `protobuf:"varint,4,opt,name=device,proto3,enum=google.ads.googleads.v1.enums.ExtensionSettingDeviceEnum_ExtensionSettingDevice" json:"device,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomerExtensionSetting) Reset() { *m = CustomerExtensionSetting{} } -func (m *CustomerExtensionSetting) String() string { return proto.CompactTextString(m) } -func (*CustomerExtensionSetting) ProtoMessage() {} -func (*CustomerExtensionSetting) Descriptor() ([]byte, []int) { - return fileDescriptor_125a90dbdb0cdd71, []int{0} -} - -func (m *CustomerExtensionSetting) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomerExtensionSetting.Unmarshal(m, b) -} -func (m *CustomerExtensionSetting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomerExtensionSetting.Marshal(b, m, deterministic) -} -func (m *CustomerExtensionSetting) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerExtensionSetting.Merge(m, src) -} -func (m *CustomerExtensionSetting) XXX_Size() int { - return xxx_messageInfo_CustomerExtensionSetting.Size(m) -} -func (m *CustomerExtensionSetting) XXX_DiscardUnknown() { - xxx_messageInfo_CustomerExtensionSetting.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomerExtensionSetting proto.InternalMessageInfo - -func (m *CustomerExtensionSetting) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *CustomerExtensionSetting) GetExtensionType() enums.ExtensionTypeEnum_ExtensionType { - if m != nil { - return m.ExtensionType - } - return enums.ExtensionTypeEnum_UNSPECIFIED -} - -func (m *CustomerExtensionSetting) GetExtensionFeedItems() []*wrappers.StringValue { - if m != nil { - return m.ExtensionFeedItems - } - return nil -} - -func (m *CustomerExtensionSetting) GetDevice() enums.ExtensionSettingDeviceEnum_ExtensionSettingDevice { - if m != nil { - return m.Device - } - return enums.ExtensionSettingDeviceEnum_UNSPECIFIED -} - -func init() { - proto.RegisterType((*CustomerExtensionSetting)(nil), "google.ads.googleads.v1.resources.CustomerExtensionSetting") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/customer_extension_setting.proto", fileDescriptor_125a90dbdb0cdd71) -} - -var fileDescriptor_125a90dbdb0cdd71 = []byte{ - // 431 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0xc1, 0x6e, 0xd4, 0x30, - 0x10, 0xd5, 0x66, 0x51, 0x25, 0x02, 0xed, 0x21, 0xe2, 0x10, 0x55, 0x05, 0x6d, 0x41, 0x95, 0xf6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0x02, 0xe6, 0x57, 0x74, 0xe6, 0x1a, - 0x84, 0xe4, 0xcc, 0x10, 0x12, 0x50, 0x84, 0x2c, 0x33, 0x42, 0x02, 0xee, 0xfa, 0xa0, 0x33, 0xfb, - 0xfc, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa3, 0x3e, 0xd3, 0xa1, 0x8f, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/customer_feed.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/customer_feed.pb.go deleted file mode 100644 index fec21e04..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/customer_feed.pb.go +++ /dev/null @@ -1,152 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/customer_feed.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v1/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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.v1.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.v1.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_51bd0ae9893f1b0c, []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 (m *CustomerFeed) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerFeed.Merge(m, 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.v1.resources.CustomerFeed") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/customer_feed.proto", fileDescriptor_51bd0ae9893f1b0c) -} - -var fileDescriptor_51bd0ae9893f1b0c = []byte{ - // 474 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, 0x18, 0x6b, 0xe9, 0xe6, 0x2a, 0x94, 0x22, 0x5b, 0xa5, 0xb0, 0x57, - 0x33, 0xcd, 0xfa, 0x71, 0x11, 0x6f, 0xcc, 0x8a, 0x2d, 0x88, 0xca, 0x92, 0xca, 0x22, 0xb2, 0x12, - 0xa6, 0xc9, 0xd9, 0x34, 0x34, 0xf3, 0xc1, 0xcc, 0xa4, 0xd2, 0xa7, 0xf0, 0x1d, 0xbc, 0xf4, 0x51, - 0x7c, 0x14, 0x1f, 0x42, 0x24, 0x99, 0x99, 0x68, 0x57, 0xd6, 0x7a, 0x77, 0x72, 0xe6, 0xff, 0x3b, - 0x73, 0xce, 0xf9, 0x4f, 0xfc, 0xa7, 0x25, 0xe7, 0x65, 0x0d, 0x98, 0x14, 0x0a, 0x9b, 0xb0, 0x8d, - 0xae, 0x22, 0x2c, 0x41, 0xf1, 0x46, 0xe6, 0xa0, 0x70, 0xde, 0x28, 0xcd, 0x29, 0xc8, 0x6c, 0x05, - 0x50, 0x20, 0x21, 0xb9, 0xe6, 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b, 0xf7, 0xc4, 0xcd, 0x84, - 0x0a, 0x3e, 0xf9, 0xa3, 0xbf, 0xdc, 0x09, 0xb7, 0xba, 0x7e, 0x8f, 0x37, 0x5e, 0x68, 0x6c, 0x45, - 0x6f, 0x2d, 0x78, 0x62, 0xb9, 0x74, 0x8f, 0xae, 0x65, 0x82, 0x0f, 0xfe, 0xb6, 0xf1, 0x2e, 0xbc, - 0x33, 0xf6, 0x26, 0xbb, 0xd3, 0x17, 0xb7, 0x0c, 0xd1, 0xee, 0xf6, 0x4d, 0xc5, 0x2e, 0xcf, 0x3a, - 0xa8, 0x9b, 0xe1, 0x66, 0x2a, 0xb5, 0xf5, 0x66, 0x3f, 0x3d, 0xff, 0x28, 0xe7, 0x14, 0xdd, 0xfa, - 0x3a, 0x67, 0xa3, 0x3f, 0x8d, 0x9b, 0xb7, 0xbb, 0x9f, 0x7b, 0x1f, 0x5f, 0x5b, 0xae, 0xe4, 0x35, - 0x61, 0x25, 0xe2, 0xb2, 0xc4, 0x25, 0xb0, 0xce, 0x19, 0xf7, 0xa8, 0x44, 0xa5, 0xfe, 0xf1, 0xaf, - 0x3c, 0xef, 0xa3, 0xaf, 0x83, 0xe1, 0x69, 0x92, 0x7c, 0x1b, 0x1c, 0x9e, 0x9a, 0x92, 0x49, 0xa1, - 0x90, 0x09, 0xdb, 0x68, 0x11, 0xa1, 0xd4, 0x29, 0xbf, 0x3b, 0xcd, 0x32, 0x29, 0xd4, 0xb2, 0xd7, - 0x2c, 0x17, 0xd1, 0xb2, 0xd7, 0xfc, 0x18, 0x1c, 0x99, 0x83, 0x38, 0x4e, 0x0a, 0x15, 0xc7, 0xbd, - 0x2a, 0x8e, 0x17, 0x51, 0x1c, 0xf7, 0xba, 0xf3, 0xed, 0xae, 0xd9, 0xc7, 0xbf, 0x02, 0x00, 0x00, - 0xff, 0xff, 0x2f, 0x24, 0xdc, 0xba, 0xd7, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/customer_label.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/customer_label.pb.go deleted file mode 100644 index 100dd480..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/customer_label.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/customer_label.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Represents a relationship between a customer and a label. This customer may -// not have access to all the labels attached to it. Additional CustomerLabels -// may be returned by increasing permissions with login-customer-id. -type CustomerLabel struct { - // Name of the resource. - // Customer label resource names have the form: - // `customers/{customer_id}/customerLabels/{label_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The resource name of the customer to which the label is attached. - // Read only. - Customer *wrappers.StringValue `protobuf:"bytes,2,opt,name=customer,proto3" json:"customer,omitempty"` - // The resource name of the label assigned to the customer. - // - // Note: the Customer ID portion of the label resource name is not - // validated when creating a new CustomerLabel. - Label *wrappers.StringValue `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomerLabel) Reset() { *m = CustomerLabel{} } -func (m *CustomerLabel) String() string { return proto.CompactTextString(m) } -func (*CustomerLabel) ProtoMessage() {} -func (*CustomerLabel) Descriptor() ([]byte, []int) { - return fileDescriptor_85c963ece951af59, []int{0} -} - -func (m *CustomerLabel) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomerLabel.Unmarshal(m, b) -} -func (m *CustomerLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomerLabel.Marshal(b, m, deterministic) -} -func (m *CustomerLabel) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerLabel.Merge(m, src) -} -func (m *CustomerLabel) XXX_Size() int { - return xxx_messageInfo_CustomerLabel.Size(m) -} -func (m *CustomerLabel) XXX_DiscardUnknown() { - xxx_messageInfo_CustomerLabel.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomerLabel proto.InternalMessageInfo - -func (m *CustomerLabel) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *CustomerLabel) GetCustomer() *wrappers.StringValue { - if m != nil { - return m.Customer - } - return nil -} - -func (m *CustomerLabel) GetLabel() *wrappers.StringValue { - if m != nil { - return m.Label - } - return nil -} - -func init() { - proto.RegisterType((*CustomerLabel)(nil), "google.ads.googleads.v1.resources.CustomerLabel") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/customer_label.proto", fileDescriptor_85c963ece951af59) -} - -var fileDescriptor_85c963ece951af59 = []byte{ - // 324 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xc1, 0x4a, 0xc3, 0x30, - 0x1c, 0xc6, 0x49, 0x87, 0xa2, 0xd1, 0x5d, 0x7a, 0x1a, 0x63, 0xc8, 0xa6, 0x0c, 0x76, 0x4a, 0xe8, - 0x04, 0x91, 0x78, 0xea, 0x3c, 0x0c, 0x44, 0x64, 0x4c, 0xe8, 0x41, 0x0a, 0x23, 0x6d, 0x63, 0x28, - 0xb4, 0x49, 0x49, 0xda, 0xf9, 0x3e, 0x3b, 0xfa, 0x28, 0x3e, 0x8a, 0x2f, 0xa1, 0xb4, 0x69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54, 0x1c, 0x73, 0x26, 0xba, 0x46, 0xfb, 0x1a, 0x55, 0xae, 0x7f, 0x79, 0x9c, - 0x3b, 0xa7, 0x0e, 0xde, 0x60, 0x1d, 0x86, 0xef, 0xde, 0x6c, 0x6d, 0x22, 0xc3, 0x4c, 0x23, 0x23, - 0x5b, 0x15, 0x05, 0x68, 0x6b, 0xc9, 0x0f, 0xcb, 0xc4, 0x61, 0xa6, 0x63, 0xc7, 0xc4, 0x51, 0x10, - 0x3b, 0xe6, 0xd3, 0x9b, 0x9b, 0x01, 0x21, 0x61, 0xa6, 0x09, 0x71, 0x14, 0x21, 0x51, 0x40, 0x88, - 0xe3, 0x92, 0xe3, 0x6e, 0xd9, 0xeb, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x90, 0x9e, 0x4f, 0xf4, - 0x48, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/customer_manager_link.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/customer_manager_link.pb.go deleted file mode 100644 index 5437a296..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/customer_manager_link.pb.go +++ /dev/null @@ -1,134 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/customer_manager_link.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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. - 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.v1.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_7e3318e064b05720, []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 (m *CustomerManagerLink) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerManagerLink.Merge(m, 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.v1.resources.CustomerManagerLink") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/customer_manager_link.proto", fileDescriptor_7e3318e064b05720) -} - -var fileDescriptor_7e3318e064b05720 = []byte{ - // 408 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xd1, 0xca, 0xd3, 0x30, - 0x14, 0xa6, 0xfd, 0xf5, 0x07, 0xab, 0x73, 0x52, 0x6f, 0xca, 0x1c, 0xb2, 0x29, 0x83, 0x5d, 0x25, - 0x74, 0x8a, 0x42, 0xc4, 0x8b, 0x6e, 0xe8, 0x98, 0xa8, 0x8c, 0x0e, 0x7a, 0x21, 0xc5, 0x92, 0xad, - 0x31, 0x94, 0x35, 0x49, 0x49, 0xd2, 0xf9, 0x04, 0xbe, 0x88, 0x57, 0xe2, 0xa3, 0xf8, 0x28, 0x3e, - 0x85, 0xac, 0x69, 0xea, 0x64, 0x4e, 0xef, 0x4e, 0x73, 0xbe, 0xef, 0x3b, 0xdf, 0x77, 0x4e, 0xbd, - 0x97, 0x54, 0x08, 0x5a, 0x12, 0x88, 0x73, 0x05, 0x4d, 0x79, 0xac, 0x0e, 0x21, 0x94, 0x44, 0x89, - 0x5a, 0xee, 0x88, 0x82, 0xbb, 0x5a, 0x69, 0xc1, 0x88, 0xcc, 0x18, 0xe6, 0x98, 0x12,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3, 0x7b, 0xc5, 0x6b, 0x76, 0xfe, 0x1a, 0xb7, 0xaa, 0xf3, 0x2f, 0xae, 0x37, 0xd9, 0x09, 0x06, - 0xfe, 0x7b, 0xcb, 0x79, 0xf0, 0x97, 0x8d, 0xae, 0x8f, 0x01, 0xd6, 0xce, 0x87, 0x37, 0x2d, 0x9d, - 0x8a, 0x12, 0x73, 0x0a, 0x84, 0xa4, 0x90, 0x12, 0xde, 0xc4, 0xb3, 0x77, 0xaf, 0x0a, 0xf5, 0x8f, - 0x1f, 0xed, 0x45, 0x57, 0x7d, 0x75, 0xaf, 0x96, 0x51, 0xf4, 0xdd, 0x1d, 0x2f, 0x8d, 0x64, 0x94, - 0x2b, 0x60, 0xca, 0x63, 0x95, 0x84, 0x20, 0xb6, 0xc8, 0x1f, 0x16, 0x93, 0x46, 0xb9, 0x4a, 0x3b, - 0x4c, 0x9a, 0x84, 0x69, 0x87, 0xf9, 0xe9, 0x4e, 0x4c, 0x03, 0xa1, 0x28, 0x57, 0x08, 0x75, 0x28, - 0x84, 0x92, 0x10, 0xa1, 0x0e, 0xb7, 0xbd, 0x6e, 0xcc, 0x3e, 0xf9, 0x15, 0x00, 0x00, 0xff, 0xff, - 0x95, 0x5f, 0x95, 0x56, 0x14, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/customer_negative_criterion.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/customer_negative_criterion.pb.go deleted file mode 100644 index b0d24954..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/customer_negative_criterion.pb.go +++ /dev/null @@ -1,249 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/customer_negative_criterion.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v1/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A negative criterion for exclusions at the customer level. -type CustomerNegativeCriterion struct { - // The resource name of the customer negative criterion. - // Customer negative criterion resource names have the form: - // - // `customers/{customer_id}/customerNegativeCriteria/{criterion_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The ID of the criterion. - Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // The type of the criterion. - Type enums.CriterionTypeEnum_CriterionType `protobuf:"varint,3,opt,name=type,proto3,enum=google.ads.googleads.v1.enums.CriterionTypeEnum_CriterionType" json:"type,omitempty"` - // The customer negative criterion. - // - // Exactly one must be set. - // - // Types that are valid to be assigned to Criterion: - // *CustomerNegativeCriterion_ContentLabel - // *CustomerNegativeCriterion_MobileApplication - // *CustomerNegativeCriterion_MobileAppCategory - // *CustomerNegativeCriterion_Placement - // *CustomerNegativeCriterion_YoutubeVideo - // *CustomerNegativeCriterion_YoutubeChannel - Criterion isCustomerNegativeCriterion_Criterion `protobuf_oneof:"criterion"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomerNegativeCriterion) Reset() { *m = CustomerNegativeCriterion{} } -func (m *CustomerNegativeCriterion) String() string { return proto.CompactTextString(m) } -func (*CustomerNegativeCriterion) ProtoMessage() {} -func (*CustomerNegativeCriterion) Descriptor() ([]byte, []int) { - return fileDescriptor_761ad3c7a7659e34, []int{0} -} - -func (m *CustomerNegativeCriterion) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomerNegativeCriterion.Unmarshal(m, b) -} -func (m *CustomerNegativeCriterion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomerNegativeCriterion.Marshal(b, m, deterministic) -} -func (m *CustomerNegativeCriterion) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerNegativeCriterion.Merge(m, src) -} -func (m *CustomerNegativeCriterion) XXX_Size() int { - return xxx_messageInfo_CustomerNegativeCriterion.Size(m) -} -func (m *CustomerNegativeCriterion) XXX_DiscardUnknown() { - xxx_messageInfo_CustomerNegativeCriterion.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomerNegativeCriterion proto.InternalMessageInfo - -func (m *CustomerNegativeCriterion) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *CustomerNegativeCriterion) GetId() *wrappers.Int64Value { - if m != nil { - return m.Id - } - return nil -} - -func (m *CustomerNegativeCriterion) GetType() enums.CriterionTypeEnum_CriterionType { - if m != nil { - return m.Type - } - return enums.CriterionTypeEnum_UNSPECIFIED -} - -type isCustomerNegativeCriterion_Criterion interface { - isCustomerNegativeCriterion_Criterion() -} - -type CustomerNegativeCriterion_ContentLabel struct { - ContentLabel *common.ContentLabelInfo `protobuf:"bytes,4,opt,name=content_label,json=contentLabel,proto3,oneof"` -} - -type CustomerNegativeCriterion_MobileApplication struct { - MobileApplication *common.MobileApplicationInfo `protobuf:"bytes,5,opt,name=mobile_application,json=mobileApplication,proto3,oneof"` -} - -type CustomerNegativeCriterion_MobileAppCategory struct { - MobileAppCategory *common.MobileAppCategoryInfo `protobuf:"bytes,6,opt,name=mobile_app_category,json=mobileAppCategory,proto3,oneof"` -} - -type CustomerNegativeCriterion_Placement struct { - Placement *common.PlacementInfo `protobuf:"bytes,7,opt,name=placement,proto3,oneof"` -} - -type CustomerNegativeCriterion_YoutubeVideo struct { - YoutubeVideo *common.YouTubeVideoInfo `protobuf:"bytes,8,opt,name=youtube_video,json=youtubeVideo,proto3,oneof"` -} - -type CustomerNegativeCriterion_YoutubeChannel struct { - YoutubeChannel *common.YouTubeChannelInfo `protobuf:"bytes,9,opt,name=youtube_channel,json=youtubeChannel,proto3,oneof"` -} - -func (*CustomerNegativeCriterion_ContentLabel) isCustomerNegativeCriterion_Criterion() {} - -func (*CustomerNegativeCriterion_MobileApplication) isCustomerNegativeCriterion_Criterion() {} - -func (*CustomerNegativeCriterion_MobileAppCategory) isCustomerNegativeCriterion_Criterion() {} - -func (*CustomerNegativeCriterion_Placement) isCustomerNegativeCriterion_Criterion() {} - -func (*CustomerNegativeCriterion_YoutubeVideo) isCustomerNegativeCriterion_Criterion() {} - -func (*CustomerNegativeCriterion_YoutubeChannel) isCustomerNegativeCriterion_Criterion() {} - -func (m *CustomerNegativeCriterion) GetCriterion() isCustomerNegativeCriterion_Criterion { - if m != nil { - return m.Criterion - } - return nil -} - -func (m *CustomerNegativeCriterion) GetContentLabel() *common.ContentLabelInfo { - if x, ok := m.GetCriterion().(*CustomerNegativeCriterion_ContentLabel); ok { - return x.ContentLabel - } - return nil -} - -func (m *CustomerNegativeCriterion) GetMobileApplication() *common.MobileApplicationInfo { - if x, ok := m.GetCriterion().(*CustomerNegativeCriterion_MobileApplication); ok { - return x.MobileApplication - } - return nil -} - -func (m *CustomerNegativeCriterion) GetMobileAppCategory() *common.MobileAppCategoryInfo { - if x, ok := m.GetCriterion().(*CustomerNegativeCriterion_MobileAppCategory); ok { - return x.MobileAppCategory - } - return nil -} - -func (m *CustomerNegativeCriterion) GetPlacement() *common.PlacementInfo { - if x, ok := m.GetCriterion().(*CustomerNegativeCriterion_Placement); ok { - return x.Placement - } - return nil -} - -func (m *CustomerNegativeCriterion) GetYoutubeVideo() *common.YouTubeVideoInfo { - if x, ok := m.GetCriterion().(*CustomerNegativeCriterion_YoutubeVideo); ok { - return x.YoutubeVideo - } - return nil -} - -func (m *CustomerNegativeCriterion) GetYoutubeChannel() *common.YouTubeChannelInfo { - if x, ok := m.GetCriterion().(*CustomerNegativeCriterion_YoutubeChannel); ok { - return x.YoutubeChannel - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CustomerNegativeCriterion) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CustomerNegativeCriterion_ContentLabel)(nil), - (*CustomerNegativeCriterion_MobileApplication)(nil), - (*CustomerNegativeCriterion_MobileAppCategory)(nil), - (*CustomerNegativeCriterion_Placement)(nil), - (*CustomerNegativeCriterion_YoutubeVideo)(nil), - (*CustomerNegativeCriterion_YoutubeChannel)(nil), - } -} - -func init() { - proto.RegisterType((*CustomerNegativeCriterion)(nil), "google.ads.googleads.v1.resources.CustomerNegativeCriterion") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/customer_negative_criterion.proto", fileDescriptor_761ad3c7a7659e34) -} - -var fileDescriptor_761ad3c7a7659e34 = []byte{ - // 575 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xdd, 0x8a, 0xd3, 0x40, - 0x14, 0xc7, 0x6d, 0xf6, 0x43, 0x3b, 0xfb, 0x21, 0xc6, 0x9b, 0xb8, 0xca, 0xd2, 0x55, 0x16, 0x0a, - 0xb2, 0x13, 0x5b, 0x3f, 0x2e, 0x22, 0x08, 0x69, 0x90, 0x75, 0xc5, 0x5d, 0x4a, 0x58, 0x2a, 0x4a, - 0x25, 0x4c, 0x92, 0xd3, 0x18, 0x48, 0x66, 0x42, 0x66, 0x52, 0xe9, 0x33, 0xf8, 0x16, 0x5e, 0xfa, - 0x28, 0x3e, 0x8a, 0x2f, 0xa1, 0x64, 0x32, 0x93, 0xfa, 0x41, 0xed, 0x7a, 0x77, 0x7a, 0xce, 0xf9, - 0xff, 0xce, 0x99, 0x3f, 0x3d, 0x41, 0x5e, 0xc2, 0x58, 0x92, 0x81, 0x4d, 0x62, 0x6e, 0x37, 0x61, - 0x1d, 0xcd, 0x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x8e, 0xd7, 0x1e, 0xf3, 0xe8, 0x70, 0xe5, 0xa1, 0x8c, 0xeb, 0x7f, 0xfb, 0xb8, 0xf3, 0xfe, 0xb5, - 0x82, 0x24, 0x2c, 0x23, 0x34, 0xc1, 0xac, 0x4c, 0xec, 0x04, 0xa8, 0xbc, 0x05, 0x7d, 0xcf, 0x45, - 0xca, 0xff, 0xf1, 0xd5, 0x79, 0xde, 0x46, 0x5f, 0x8c, 0x8d, 0x53, 0xd7, 0xfd, 0x6a, 0x1c, 0x9d, - 0x36, 0x48, 0x37, 0xe6, 0xb8, 0x09, 0xeb, 0x68, 0x32, 0xc0, 0xbe, 0xee, 0xfc, 0xa6, 0x7b, 0xa6, - 0x6e, 0xcc, 0xa7, 0x6d, 0xcf, 0x74, 0x32, 0x98, 0xb6, 0x3d, 0xdf, 0x8d, 0xe3, 0xa6, 0xe0, 0x38, - 0x6e, 0xcc, 0x1d, 0xa7, 0xed, 0x72, 0x9c, 0xc9, 0xc0, 0x71, 0xda, 0xbe, 0x70, 0x5b, 0x2e, 0xfb, - 0xf8, 0x67, 0x00, 0x00, 0x00, 0xff, 0xff, 0x70, 0x0f, 0x5c, 0x5e, 0x21, 0x05, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/detail_placement_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/detail_placement_view.pb.go deleted file mode 100644 index 113cc7bd..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/detail_placement_view.pb.go +++ /dev/null @@ -1,159 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/detail_placement_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A view with metrics aggregated by ad group and URL or YouTube video. -type DetailPlacementView struct { - // The resource name of the detail placement view. - // Detail placement view resource names have the form: - // - // - // `customers/{customer_id}/detailPlacementViews/{ad_group_id}~{base64_placement}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The automatic placement string at detail level, e. g. website URL, mobile - // application ID, or a YouTube video ID. - Placement *wrappers.StringValue `protobuf:"bytes,2,opt,name=placement,proto3" json:"placement,omitempty"` - // The display name is URL name for websites, YouTube video name for YouTube - // videos, and translated mobile app name for mobile apps. - DisplayName *wrappers.StringValue `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // URL of the group placement, e.g. domain, link to the mobile application in - // app store, or a YouTube channel URL. - GroupPlacementTargetUrl *wrappers.StringValue `protobuf:"bytes,4,opt,name=group_placement_target_url,json=groupPlacementTargetUrl,proto3" json:"group_placement_target_url,omitempty"` - // URL of the placement, e.g. website, link to the mobile application in app - // store, or a YouTube video URL. - TargetUrl *wrappers.StringValue `protobuf:"bytes,5,opt,name=target_url,json=targetUrl,proto3" json:"target_url,omitempty"` - // Type of the placement, e.g. Website, YouTube Video, and Mobile Application. - PlacementType enums.PlacementTypeEnum_PlacementType `protobuf:"varint,6,opt,name=placement_type,json=placementType,proto3,enum=google.ads.googleads.v1.enums.PlacementTypeEnum_PlacementType" json:"placement_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DetailPlacementView) Reset() { *m = DetailPlacementView{} } -func (m *DetailPlacementView) String() string { return proto.CompactTextString(m) } -func (*DetailPlacementView) ProtoMessage() {} -func (*DetailPlacementView) Descriptor() ([]byte, []int) { - return fileDescriptor_9703f91bccf33f03, []int{0} -} - -func (m *DetailPlacementView) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DetailPlacementView.Unmarshal(m, b) -} -func (m *DetailPlacementView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DetailPlacementView.Marshal(b, m, deterministic) -} -func (m *DetailPlacementView) XXX_Merge(src proto.Message) { - xxx_messageInfo_DetailPlacementView.Merge(m, src) -} -func (m *DetailPlacementView) XXX_Size() int { - return xxx_messageInfo_DetailPlacementView.Size(m) -} -func (m *DetailPlacementView) XXX_DiscardUnknown() { - xxx_messageInfo_DetailPlacementView.DiscardUnknown(m) -} - -var xxx_messageInfo_DetailPlacementView proto.InternalMessageInfo - -func (m *DetailPlacementView) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *DetailPlacementView) GetPlacement() *wrappers.StringValue { - if m != nil { - return m.Placement - } - return nil -} - -func (m *DetailPlacementView) GetDisplayName() *wrappers.StringValue { - if m != nil { - return m.DisplayName - } - return nil -} - -func (m *DetailPlacementView) GetGroupPlacementTargetUrl() *wrappers.StringValue { - if m != nil { - return m.GroupPlacementTargetUrl - } - return nil -} - -func (m *DetailPlacementView) GetTargetUrl() *wrappers.StringValue { - if m != nil { - return m.TargetUrl - } - return nil -} - -func (m *DetailPlacementView) GetPlacementType() enums.PlacementTypeEnum_PlacementType { - if m != nil { - return m.PlacementType - } - return enums.PlacementTypeEnum_UNSPECIFIED -} - -func init() { - proto.RegisterType((*DetailPlacementView)(nil), "google.ads.googleads.v1.resources.DetailPlacementView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/detail_placement_view.proto", fileDescriptor_9703f91bccf33f03) -} - -var fileDescriptor_9703f91bccf33f03 = []byte{ - // 439 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 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x6e, 0xb3, 0xec, 0x67, 0x78, 0x79, 0xdb, 0x59, 0x66, 0xa5, 0xc6, - 0x5d, 0xb8, 0x89, 0xf2, 0x14, 0xcf, 0x9c, 0xf2, 0xb7, 0xd3, 0xcc, 0xb3, 0x52, 0xcf, 0xbd, 0x66, - 0x9e, 0xa7, 0x73, 0xaf, 0xf9, 0x13, 0x5e, 0x75, 0x09, 0x42, 0xb2, 0x52, 0x13, 0xe2, 0x55, 0x84, - 0xe4, 0x29, 0x21, 0x5e, 0x77, 0x77, 0x64, 0x9b, 0x7d, 0xf9, 0x37, 0x00, 0x00, 0xff, 0xff, 0x4c, - 0x9e, 0x22, 0xe9, 0x9d, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/display_keyword_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/display_keyword_view.pb.go deleted file mode 100644 index ab970b7e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/display_keyword_view.pb.go +++ /dev/null @@ -1,97 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/display_keyword_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_2279af1d97ad83df, []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 (m *DisplayKeywordView) XXX_Merge(src proto.Message) { - xxx_messageInfo_DisplayKeywordView.Merge(m, 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.v1.resources.DisplayKeywordView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/display_keyword_view.proto", fileDescriptor_2279af1d97ad83df) -} - -var fileDescriptor_2279af1d97ad83df = []byte{ - // 276 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0xcf, 0x4a, 0xec, 0x30, - 0x14, 0xc6, 0x69, 0x2f, 0x5c, 0xb0, 0xe8, 0xa6, 0x1b, 0x45, 0x5c, 0x38, 0xca, 0x80, 0xab, 0x84, - 0xe2, 0xca, 0xe8, 0x26, 0x83, 0x30, 0xa0, 0x20, 0xc3, 0x2c, 0xba, 0x90, 0x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 0xa9, 0xb2, 0x20, 0xeb, 0x40, 0x7e, 0x04, 0xa6, 0xe2, 0x12, 0xab, 0xc8, 0x54, 0x65, 0x51, - 0x45, 0xe6, 0x33, 0x9d, 0xfb, 0x0f, 0xc6, 0xb8, 0x44, 0xc6, 0x22, 0xc5, 0x58, 0x59, 0x30, 0x16, - 0xb9, 0xa7, 0xff, 0xbb, 0xb1, 0x97, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x4d, 0x96, 0xc0, 0x95, - 0xc9, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/domain_category.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/domain_category.pb.go deleted file mode 100644 index 32d94898..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/domain_category.pb.go +++ /dev/null @@ -1,194 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/domain_category.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A category generated automatically by crawling a domain. If a campaign uses -// the DynamicSearchAdsSetting, then domain categories will be generated for -// the domain. The categories can be targeted using WebpageConditionInfo. -// See: https://support.google.com/google-ads/answer/2471185 -type DomainCategory struct { - // The resource name of the domain category. - // Domain category resource names have the form: - // - // - // `customers/{customer_id}/domainCategories/{campaign_id}~{category_base64}~{language_code}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The campaign this category is recommended for. - Campaign *wrappers.StringValue `protobuf:"bytes,2,opt,name=campaign,proto3" json:"campaign,omitempty"` - // Recommended category for the website domain. e.g. if you have a website - // about electronics, the categories could be "cameras", "televisions", etc. - Category *wrappers.StringValue `protobuf:"bytes,3,opt,name=category,proto3" json:"category,omitempty"` - // The language code specifying the language of the website. e.g. "en" for - // English. The language can be specified in the DynamicSearchAdsSetting - // required for dynamic search ads. This is the language of the pages from - // your website that you want Google Ads to find, create ads for, - // and match searches with. - LanguageCode *wrappers.StringValue `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // The domain for the website. The domain can be specified in the - // DynamicSearchAdsSetting required for dynamic search ads. - Domain *wrappers.StringValue `protobuf:"bytes,5,opt,name=domain,proto3" json:"domain,omitempty"` - // Fraction of pages on your site that this category matches. - CoverageFraction *wrappers.DoubleValue `protobuf:"bytes,6,opt,name=coverage_fraction,json=coverageFraction,proto3" json:"coverage_fraction,omitempty"` - // The position of this category in the set of categories. Lower numbers - // indicate a better match for the domain. null indicates not recommended. - CategoryRank *wrappers.Int64Value `protobuf:"bytes,7,opt,name=category_rank,json=categoryRank,proto3" json:"category_rank,omitempty"` - // Indicates whether this category has sub-categories. - HasChildren *wrappers.BoolValue `protobuf:"bytes,8,opt,name=has_children,json=hasChildren,proto3" json:"has_children,omitempty"` - // The recommended cost per click for the category. - RecommendedCpcBidMicros *wrappers.Int64Value `protobuf:"bytes,9,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 *DomainCategory) Reset() { *m = DomainCategory{} } -func (m *DomainCategory) String() string { return proto.CompactTextString(m) } -func (*DomainCategory) ProtoMessage() {} -func (*DomainCategory) Descriptor() ([]byte, []int) { - return fileDescriptor_c2d1ae0f79ccb888, []int{0} -} - -func (m *DomainCategory) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DomainCategory.Unmarshal(m, b) -} -func (m *DomainCategory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DomainCategory.Marshal(b, m, deterministic) -} -func (m *DomainCategory) XXX_Merge(src proto.Message) { - xxx_messageInfo_DomainCategory.Merge(m, src) -} -func (m *DomainCategory) XXX_Size() int { - return xxx_messageInfo_DomainCategory.Size(m) -} -func (m *DomainCategory) XXX_DiscardUnknown() { - xxx_messageInfo_DomainCategory.DiscardUnknown(m) -} - -var xxx_messageInfo_DomainCategory proto.InternalMessageInfo - -func (m *DomainCategory) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *DomainCategory) GetCampaign() *wrappers.StringValue { - if m != nil { - return m.Campaign - } - return nil -} - -func (m *DomainCategory) GetCategory() *wrappers.StringValue { - if m != nil { - return m.Category - } - return nil -} - -func (m *DomainCategory) GetLanguageCode() *wrappers.StringValue { - if m != nil { - return m.LanguageCode - } - return nil -} - -func (m *DomainCategory) GetDomain() *wrappers.StringValue { - if m != nil { - return m.Domain - } - return nil -} - -func (m *DomainCategory) GetCoverageFraction() *wrappers.DoubleValue { - if m != nil { - return m.CoverageFraction - } - return nil -} - -func (m *DomainCategory) GetCategoryRank() *wrappers.Int64Value { - if m != nil { - return m.CategoryRank - } - return nil -} - -func (m *DomainCategory) GetHasChildren() *wrappers.BoolValue { - if m != nil { - return m.HasChildren - } - return nil -} - -func (m *DomainCategory) GetRecommendedCpcBidMicros() *wrappers.Int64Value { - if m != nil { - return m.RecommendedCpcBidMicros - } - return nil -} - -func init() { - proto.RegisterType((*DomainCategory)(nil), "google.ads.googleads.v1.resources.DomainCategory") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/domain_category.proto", fileDescriptor_c2d1ae0f79ccb888) -} - -var fileDescriptor_c2d1ae0f79ccb888 = []byte{ - // 493 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0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0x9e, 0xe6, 0xde, 0x6f, 0xf8, 0xb4, 0xa4, 0x13, 0xc9, 0xde, 0xb6, 0xec, 0xe4, 0x4b, 0x1f, 0x1d, - 0x51, 0x28, 0xf0, 0x8d, 0x57, 0x76, 0x72, 0xf7, 0xcf, 0x1b, 0x77, 0xd1, 0xa4, 0x5c, 0xf4, 0x3e, - 0xbe, 0x71, 0xa4, 0x80, 0xe6, 0xcc, 0x30, 0x68, 0x11, 0x09, 0xae, 0xda, 0x19, 0xfc, 0xab, 0x29, - 0xa5, 0xf9, 0xc7, 0x23, 0x7a, 0xd1, 0x55, 0x5f, 0xfb, 0x5b, 0x67, 0x69, 0xfa, 0xad, 0x7f, 0x78, - 0x66, 0x2d, 0x53, 0x66, 0xb0, 0x2d, 0x9b, 0x6a, 0x1e, 0xe3, 0x99, 0x57, 0xfe, 0xf0, 0x9a, 0x45, - 0xca, 0xcc, 0xa2, 0xd3, 0x2c, 0xe6, 0xf1, 0xa2, 0xd3, 0xfc, 0xec, 0x1f, 0xd9, 0x46, 0x92, 0xa4, - 0xcc, 0x24, 0x49, 0xa7, 0x4a, 0x92, 0x79, 0x9c, 0x24, 0x9d, 0x6e, 0x39, 0x68, 0x87, 0x7d, 0xf2, - 0x2b, 0x00, 0x00, 0xff, 0xff, 0xbb, 0xcd, 0x54, 0x36, 0xf0, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/dynamic_search_ads_search_term_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/dynamic_search_ads_search_term_view.pb.go deleted file mode 100644 index 9df0ab46..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/dynamic_search_ads_search_term_view.pb.go +++ /dev/null @@ -1,150 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/dynamic_search_ads_search_term_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A dynamic search ads search term view. -type DynamicSearchAdsSearchTermView struct { - // The resource name of the dynamic search ads search term view. - // Dynamic search ads search term view resource names have the form: - // - // - // `customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fp}~{headline_fp}~{landing_page_fp}~{page_url_fp}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // Search term - // - // This field is read-only. - SearchTerm *wrappers.StringValue `protobuf:"bytes,2,opt,name=search_term,json=searchTerm,proto3" json:"search_term,omitempty"` - // The dynamically generated headline of the Dynamic Search Ad. - // - // This field is read-only. - Headline *wrappers.StringValue `protobuf:"bytes,3,opt,name=headline,proto3" json:"headline,omitempty"` - // The dynamically selected landing page URL of the impression. - // - // This field is read-only. - LandingPage *wrappers.StringValue `protobuf:"bytes,4,opt,name=landing_page,json=landingPage,proto3" json:"landing_page,omitempty"` - // The URL of page feed item served for the impression. - // - // This field is read-only. - PageUrl *wrappers.StringValue `protobuf:"bytes,5,opt,name=page_url,json=pageUrl,proto3" json:"page_url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DynamicSearchAdsSearchTermView) Reset() { *m = DynamicSearchAdsSearchTermView{} } -func (m *DynamicSearchAdsSearchTermView) String() string { return proto.CompactTextString(m) } -func (*DynamicSearchAdsSearchTermView) ProtoMessage() {} -func (*DynamicSearchAdsSearchTermView) Descriptor() ([]byte, []int) { - return fileDescriptor_9ffd212889021798, []int{0} -} - -func (m *DynamicSearchAdsSearchTermView) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DynamicSearchAdsSearchTermView.Unmarshal(m, b) -} -func (m *DynamicSearchAdsSearchTermView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DynamicSearchAdsSearchTermView.Marshal(b, m, deterministic) -} -func (m *DynamicSearchAdsSearchTermView) XXX_Merge(src proto.Message) { - xxx_messageInfo_DynamicSearchAdsSearchTermView.Merge(m, src) -} -func (m *DynamicSearchAdsSearchTermView) XXX_Size() int { - return xxx_messageInfo_DynamicSearchAdsSearchTermView.Size(m) -} -func (m *DynamicSearchAdsSearchTermView) XXX_DiscardUnknown() { - xxx_messageInfo_DynamicSearchAdsSearchTermView.DiscardUnknown(m) -} - -var xxx_messageInfo_DynamicSearchAdsSearchTermView proto.InternalMessageInfo - -func (m *DynamicSearchAdsSearchTermView) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *DynamicSearchAdsSearchTermView) GetSearchTerm() *wrappers.StringValue { - if m != nil { - return m.SearchTerm - } - return nil -} - -func (m *DynamicSearchAdsSearchTermView) GetHeadline() *wrappers.StringValue { - if m != nil { - return m.Headline - } - return nil -} - -func (m *DynamicSearchAdsSearchTermView) GetLandingPage() *wrappers.StringValue { - if m != nil { - return m.LandingPage - } - return nil -} - -func (m *DynamicSearchAdsSearchTermView) GetPageUrl() *wrappers.StringValue { - if m != nil { - return m.PageUrl - } - return nil -} - -func init() { - proto.RegisterType((*DynamicSearchAdsSearchTermView)(nil), "google.ads.googleads.v1.resources.DynamicSearchAdsSearchTermView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/dynamic_search_ads_search_term_view.proto", fileDescriptor_9ffd212889021798) -} - -var fileDescriptor_9ffd212889021798 = []byte{ - // 398 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 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, 0x05, 0xde, 0xdd, 0xa3, 0xa9, 0xec, 0x8b, - 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x72, 0x5b, 0xf8, 0xe3, 0x04, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/expanded_landing_page_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/expanded_landing_page_view.pb.go deleted file mode 100644 index 253e901f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/expanded_landing_page_view.pb.go +++ /dev/null @@ -1,113 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/expanded_landing_page_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A landing page view with metrics aggregated at the expanded final URL -// level. -type ExpandedLandingPageView struct { - // The resource name of the expanded landing page view. - // Expanded landing page view resource names have the form: - // - // - // `customers/{customer_id}/expandedLandingPageViews/{expanded_final_url_fingerprint}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The final URL that clicks are directed to. - ExpandedFinalUrl *wrappers.StringValue `protobuf:"bytes,2,opt,name=expanded_final_url,json=expandedFinalUrl,proto3" json:"expanded_final_url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExpandedLandingPageView) Reset() { *m = ExpandedLandingPageView{} } -func (m *ExpandedLandingPageView) String() string { return proto.CompactTextString(m) } -func (*ExpandedLandingPageView) ProtoMessage() {} -func (*ExpandedLandingPageView) Descriptor() ([]byte, []int) { - return fileDescriptor_b526ad7687a265f6, []int{0} -} - -func (m *ExpandedLandingPageView) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExpandedLandingPageView.Unmarshal(m, b) -} -func (m *ExpandedLandingPageView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExpandedLandingPageView.Marshal(b, m, deterministic) -} -func (m *ExpandedLandingPageView) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExpandedLandingPageView.Merge(m, src) -} -func (m *ExpandedLandingPageView) XXX_Size() int { - return xxx_messageInfo_ExpandedLandingPageView.Size(m) -} -func (m *ExpandedLandingPageView) XXX_DiscardUnknown() { - xxx_messageInfo_ExpandedLandingPageView.DiscardUnknown(m) -} - -var xxx_messageInfo_ExpandedLandingPageView proto.InternalMessageInfo - -func (m *ExpandedLandingPageView) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *ExpandedLandingPageView) GetExpandedFinalUrl() *wrappers.StringValue { - if m != nil { - return m.ExpandedFinalUrl - } - return nil -} - -func init() { - proto.RegisterType((*ExpandedLandingPageView)(nil), "google.ads.googleads.v1.resources.ExpandedLandingPageView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/expanded_landing_page_view.proto", fileDescriptor_b526ad7687a265f6) -} - -var fileDescriptor_b526ad7687a265f6 = []byte{ - // 341 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x51, 0xcd, 0x4a, 0xeb, 0x40, - 0x14, 0x26, 0xb9, 0x70, 0xe1, 0xe6, 0x2a, 0x48, 0x36, 0x96, 0x52, 0xa4, 0x55, 0x0a, 0x5d, 0x4d, - 0x88, 0xee, 0xc6, 0x55, 0x0a, 0x5a, 0x28, 0x22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x53, 0x28, 0x6a, - 0x5c, 0x9e, 0x58, 0xdd, 0x6d, 0x23, 0x7b, 0xd4, 0xc5, 0xf4, 0xc5, 0x0f, 0xc6, 0x6b, 0xb5, 0x25, - 0xbf, 0x2e, 0x3d, 0x1d, 0x7c, 0xd3, 0x79, 0xd1, 0x04, 0x2d, 0xbc, 0xa7, 0x79, 0x67, 0xc1, 0x55, - 0x01, 0x92, 0x13, 0xa5, 0x79, 0xc4, 0x51, 0x1e, 0x6a, 0xd8, 0x5b, 0x94, 0xc2, 0xfc, 0x70, 0x9a, - 0x6b, 0x87, 0xde, 0xfc, 0x3f, 0xb3, 0x24, 0x79, 0xf7, 0x47, 0xb3, 0xd6, 0x32, 0x61, 0x86, 0xb4, - 0xb0, 0x41, 0x69, 0x4c, 0x96, 0x96, 0xf9, 0x61, 0x39, 0x59, 0xc2, 0x4c, 0xe6, 0x38, 0x59, 0x1a, - 0x67, 0x8e, 0xf3, 0xe9, 0x8f, 0xdb, 0x01, 0xa5, 0x09, 0x33, 0x94, 0x3a, 0x16, 0xa5, 0x69, 0x4c, - 0xa9, 0xe3, 0xad, 0xfe, 0x1e, 0xca, 0x5e, 0x7d, 0x05, 0x00, 0x00, 0xff, 0xff, 0x16, 0x32, 0xb4, - 0x08, 0x46, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/extension_feed_item.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/extension_feed_item.pb.go deleted file mode 100644 index 74409f70..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/extension_feed_item.pb.go +++ /dev/null @@ -1,427 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/extension_feed_item.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v1/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// An extension feed item. -type ExtensionFeedItem struct { - // The resource name of the extension feed item. - // Extension feed item resource names have the form: - // - // `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The extension type of the extension feed item. - // This field is read-only. - ExtensionType enums.ExtensionTypeEnum_ExtensionType `protobuf:"varint,13,opt,name=extension_type,json=extensionType,proto3,enum=google.ads.googleads.v1.enums.ExtensionTypeEnum_ExtensionType" json:"extension_type,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,5,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 - // serving. - // 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,6,opt,name=end_date_time,json=endDateTime,proto3" json:"end_date_time,omitempty"` - // List of non-overlapping schedules specifying all time intervals - // for which the feed item may serve. There can be a maximum of 6 schedules - // per day. - AdSchedules []*common.AdScheduleInfo `protobuf:"bytes,16,rep,name=ad_schedules,json=adSchedules,proto3" json:"ad_schedules,omitempty"` - // The targeted device. - Device enums.FeedItemTargetDeviceEnum_FeedItemTargetDevice `protobuf:"varint,17,opt,name=device,proto3,enum=google.ads.googleads.v1.enums.FeedItemTargetDeviceEnum_FeedItemTargetDevice" json:"device,omitempty"` - // The targeted geo target constant. - TargetedGeoTargetConstant *wrappers.StringValue `protobuf:"bytes,20,opt,name=targeted_geo_target_constant,json=targetedGeoTargetConstant,proto3" json:"targeted_geo_target_constant,omitempty"` - // Status of the feed item. - // This field is read-only. - Status enums.FeedItemStatusEnum_FeedItemStatus `protobuf:"varint,4,opt,name=status,proto3,enum=google.ads.googleads.v1.enums.FeedItemStatusEnum_FeedItemStatus" json:"status,omitempty"` - // Extension type. - // - // Types that are valid to be assigned to Extension: - // *ExtensionFeedItem_SitelinkFeedItem - // *ExtensionFeedItem_StructuredSnippetFeedItem - // *ExtensionFeedItem_AppFeedItem - // *ExtensionFeedItem_CallFeedItem - // *ExtensionFeedItem_CalloutFeedItem - // *ExtensionFeedItem_TextMessageFeedItem - // *ExtensionFeedItem_PriceFeedItem - // *ExtensionFeedItem_PromotionFeedItem - // *ExtensionFeedItem_LocationFeedItem - // *ExtensionFeedItem_AffiliateLocationFeedItem - Extension isExtensionFeedItem_Extension `protobuf_oneof:"extension"` - // Targeting at either the campaign or ad group level. Feed items that target - // a campaign or ad group will only serve with that resource. - // - // Types that are valid to be assigned to ServingResourceTargeting: - // *ExtensionFeedItem_TargetedCampaign - // *ExtensionFeedItem_TargetedAdGroup - ServingResourceTargeting isExtensionFeedItem_ServingResourceTargeting `protobuf_oneof:"serving_resource_targeting"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExtensionFeedItem) Reset() { *m = ExtensionFeedItem{} } -func (m *ExtensionFeedItem) String() string { return proto.CompactTextString(m) } -func (*ExtensionFeedItem) ProtoMessage() {} -func (*ExtensionFeedItem) Descriptor() ([]byte, []int) { - return fileDescriptor_800f8a839b1b4536, []int{0} -} - -func (m *ExtensionFeedItem) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExtensionFeedItem.Unmarshal(m, b) -} -func (m *ExtensionFeedItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExtensionFeedItem.Marshal(b, m, deterministic) -} -func (m *ExtensionFeedItem) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExtensionFeedItem.Merge(m, src) -} -func (m *ExtensionFeedItem) XXX_Size() int { - return xxx_messageInfo_ExtensionFeedItem.Size(m) -} -func (m *ExtensionFeedItem) XXX_DiscardUnknown() { - xxx_messageInfo_ExtensionFeedItem.DiscardUnknown(m) -} - -var xxx_messageInfo_ExtensionFeedItem proto.InternalMessageInfo - -func (m *ExtensionFeedItem) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *ExtensionFeedItem) GetExtensionType() enums.ExtensionTypeEnum_ExtensionType { - if m != nil { - return m.ExtensionType - } - return enums.ExtensionTypeEnum_UNSPECIFIED -} - -func (m *ExtensionFeedItem) GetStartDateTime() *wrappers.StringValue { - if m != nil { - return m.StartDateTime - } - return nil -} - -func (m *ExtensionFeedItem) GetEndDateTime() *wrappers.StringValue { - if m != nil { - return m.EndDateTime - } - return nil -} - -func (m *ExtensionFeedItem) GetAdSchedules() []*common.AdScheduleInfo { - if m != nil { - return m.AdSchedules - } - return nil -} - -func (m *ExtensionFeedItem) GetDevice() enums.FeedItemTargetDeviceEnum_FeedItemTargetDevice { - if m != nil { - return m.Device - } - return enums.FeedItemTargetDeviceEnum_UNSPECIFIED -} - -func (m *ExtensionFeedItem) GetTargetedGeoTargetConstant() *wrappers.StringValue { - if m != nil { - return m.TargetedGeoTargetConstant - } - return nil -} - -func (m *ExtensionFeedItem) GetStatus() enums.FeedItemStatusEnum_FeedItemStatus { - if m != nil { - return m.Status - } - return enums.FeedItemStatusEnum_UNSPECIFIED -} - -type isExtensionFeedItem_Extension interface { - isExtensionFeedItem_Extension() -} - -type ExtensionFeedItem_SitelinkFeedItem struct { - SitelinkFeedItem *common.SitelinkFeedItem `protobuf:"bytes,2,opt,name=sitelink_feed_item,json=sitelinkFeedItem,proto3,oneof"` -} - -type ExtensionFeedItem_StructuredSnippetFeedItem struct { - StructuredSnippetFeedItem *common.StructuredSnippetFeedItem `protobuf:"bytes,3,opt,name=structured_snippet_feed_item,json=structuredSnippetFeedItem,proto3,oneof"` -} - -type ExtensionFeedItem_AppFeedItem struct { - AppFeedItem *common.AppFeedItem `protobuf:"bytes,7,opt,name=app_feed_item,json=appFeedItem,proto3,oneof"` -} - -type ExtensionFeedItem_CallFeedItem struct { - CallFeedItem *common.CallFeedItem `protobuf:"bytes,8,opt,name=call_feed_item,json=callFeedItem,proto3,oneof"` -} - -type ExtensionFeedItem_CalloutFeedItem struct { - CalloutFeedItem *common.CalloutFeedItem `protobuf:"bytes,9,opt,name=callout_feed_item,json=calloutFeedItem,proto3,oneof"` -} - -type ExtensionFeedItem_TextMessageFeedItem struct { - TextMessageFeedItem *common.TextMessageFeedItem `protobuf:"bytes,10,opt,name=text_message_feed_item,json=textMessageFeedItem,proto3,oneof"` -} - -type ExtensionFeedItem_PriceFeedItem struct { - PriceFeedItem *common.PriceFeedItem `protobuf:"bytes,11,opt,name=price_feed_item,json=priceFeedItem,proto3,oneof"` -} - -type ExtensionFeedItem_PromotionFeedItem struct { - PromotionFeedItem *common.PromotionFeedItem `protobuf:"bytes,12,opt,name=promotion_feed_item,json=promotionFeedItem,proto3,oneof"` -} - -type ExtensionFeedItem_LocationFeedItem struct { - LocationFeedItem *common.LocationFeedItem `protobuf:"bytes,14,opt,name=location_feed_item,json=locationFeedItem,proto3,oneof"` -} - -type ExtensionFeedItem_AffiliateLocationFeedItem struct { - AffiliateLocationFeedItem *common.AffiliateLocationFeedItem `protobuf:"bytes,15,opt,name=affiliate_location_feed_item,json=affiliateLocationFeedItem,proto3,oneof"` -} - -func (*ExtensionFeedItem_SitelinkFeedItem) isExtensionFeedItem_Extension() {} - -func (*ExtensionFeedItem_StructuredSnippetFeedItem) isExtensionFeedItem_Extension() {} - -func (*ExtensionFeedItem_AppFeedItem) isExtensionFeedItem_Extension() {} - -func (*ExtensionFeedItem_CallFeedItem) isExtensionFeedItem_Extension() {} - -func (*ExtensionFeedItem_CalloutFeedItem) isExtensionFeedItem_Extension() {} - -func (*ExtensionFeedItem_TextMessageFeedItem) isExtensionFeedItem_Extension() {} - -func (*ExtensionFeedItem_PriceFeedItem) isExtensionFeedItem_Extension() {} - -func (*ExtensionFeedItem_PromotionFeedItem) isExtensionFeedItem_Extension() {} - -func (*ExtensionFeedItem_LocationFeedItem) isExtensionFeedItem_Extension() {} - -func (*ExtensionFeedItem_AffiliateLocationFeedItem) isExtensionFeedItem_Extension() {} - -func (m *ExtensionFeedItem) GetExtension() isExtensionFeedItem_Extension { - if m != nil { - return m.Extension - } - return nil -} - -func (m *ExtensionFeedItem) GetSitelinkFeedItem() *common.SitelinkFeedItem { - if x, ok := m.GetExtension().(*ExtensionFeedItem_SitelinkFeedItem); ok { - return x.SitelinkFeedItem - } - return nil -} - -func (m *ExtensionFeedItem) GetStructuredSnippetFeedItem() *common.StructuredSnippetFeedItem { - if x, ok := m.GetExtension().(*ExtensionFeedItem_StructuredSnippetFeedItem); ok { - return x.StructuredSnippetFeedItem - } - return nil -} - -func (m *ExtensionFeedItem) GetAppFeedItem() *common.AppFeedItem { - if x, ok := m.GetExtension().(*ExtensionFeedItem_AppFeedItem); ok { - return x.AppFeedItem - } - return nil -} - -func (m *ExtensionFeedItem) GetCallFeedItem() *common.CallFeedItem { - if x, ok := m.GetExtension().(*ExtensionFeedItem_CallFeedItem); ok { - return x.CallFeedItem - } - return nil -} - -func (m *ExtensionFeedItem) GetCalloutFeedItem() *common.CalloutFeedItem { - if x, ok := m.GetExtension().(*ExtensionFeedItem_CalloutFeedItem); ok { - return x.CalloutFeedItem - } - return nil -} - -func (m *ExtensionFeedItem) GetTextMessageFeedItem() *common.TextMessageFeedItem { - if x, ok := m.GetExtension().(*ExtensionFeedItem_TextMessageFeedItem); ok { - return x.TextMessageFeedItem - } - return nil -} - -func (m *ExtensionFeedItem) GetPriceFeedItem() *common.PriceFeedItem { - if x, ok := m.GetExtension().(*ExtensionFeedItem_PriceFeedItem); ok { - return x.PriceFeedItem - } - return nil -} - -func (m *ExtensionFeedItem) GetPromotionFeedItem() *common.PromotionFeedItem { - if x, ok := m.GetExtension().(*ExtensionFeedItem_PromotionFeedItem); ok { - return x.PromotionFeedItem - } - return nil -} - -func (m *ExtensionFeedItem) GetLocationFeedItem() *common.LocationFeedItem { - if x, ok := m.GetExtension().(*ExtensionFeedItem_LocationFeedItem); ok { - return x.LocationFeedItem - } - return nil -} - -func (m *ExtensionFeedItem) GetAffiliateLocationFeedItem() *common.AffiliateLocationFeedItem { - if x, ok := m.GetExtension().(*ExtensionFeedItem_AffiliateLocationFeedItem); ok { - return x.AffiliateLocationFeedItem - } - return nil -} - -type isExtensionFeedItem_ServingResourceTargeting interface { - isExtensionFeedItem_ServingResourceTargeting() -} - -type ExtensionFeedItem_TargetedCampaign struct { - TargetedCampaign *wrappers.StringValue `protobuf:"bytes,18,opt,name=targeted_campaign,json=targetedCampaign,proto3,oneof"` -} - -type ExtensionFeedItem_TargetedAdGroup struct { - TargetedAdGroup *wrappers.StringValue `protobuf:"bytes,19,opt,name=targeted_ad_group,json=targetedAdGroup,proto3,oneof"` -} - -func (*ExtensionFeedItem_TargetedCampaign) isExtensionFeedItem_ServingResourceTargeting() {} - -func (*ExtensionFeedItem_TargetedAdGroup) isExtensionFeedItem_ServingResourceTargeting() {} - -func (m *ExtensionFeedItem) GetServingResourceTargeting() isExtensionFeedItem_ServingResourceTargeting { - if m != nil { - return m.ServingResourceTargeting - } - return nil -} - -func (m *ExtensionFeedItem) GetTargetedCampaign() *wrappers.StringValue { - if x, ok := m.GetServingResourceTargeting().(*ExtensionFeedItem_TargetedCampaign); ok { - return x.TargetedCampaign - } - return nil -} - -func (m *ExtensionFeedItem) GetTargetedAdGroup() *wrappers.StringValue { - if x, ok := m.GetServingResourceTargeting().(*ExtensionFeedItem_TargetedAdGroup); ok { - return x.TargetedAdGroup - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ExtensionFeedItem) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ExtensionFeedItem_SitelinkFeedItem)(nil), - (*ExtensionFeedItem_StructuredSnippetFeedItem)(nil), - (*ExtensionFeedItem_AppFeedItem)(nil), - (*ExtensionFeedItem_CallFeedItem)(nil), - (*ExtensionFeedItem_CalloutFeedItem)(nil), - (*ExtensionFeedItem_TextMessageFeedItem)(nil), - (*ExtensionFeedItem_PriceFeedItem)(nil), - (*ExtensionFeedItem_PromotionFeedItem)(nil), - (*ExtensionFeedItem_LocationFeedItem)(nil), - (*ExtensionFeedItem_AffiliateLocationFeedItem)(nil), - (*ExtensionFeedItem_TargetedCampaign)(nil), - (*ExtensionFeedItem_TargetedAdGroup)(nil), - } -} - -func init() { - proto.RegisterType((*ExtensionFeedItem)(nil), "google.ads.googleads.v1.resources.ExtensionFeedItem") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/extension_feed_item.proto", fileDescriptor_800f8a839b1b4536) -} - -var fileDescriptor_800f8a839b1b4536 = []byte{ - // 895 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x56, 0x51, 0x6f, 0x1c, 0x35, - 0x10, 0xe6, 0x12, 0x08, 0xc4, 0x97, 0xbb, 0xcb, 0x39, 0xa8, 0xda, 0x44, 0x27, 0x94, 0x82, 0x2a, - 0x45, 0x82, 0xee, 0x72, 0x29, 0x2f, 0x5c, 0x24, 0xd4, 0x4b, 0x52, 0xd2, 0x96, 0x82, 0xd2, 0xbb, - 0x53, 0x40, 0x28, 0xd5, 0xe2, 0xae, 0xe7, 0x16, 0xc3, 0xae, 0x6d, 0xad, 0xbd, 0x21, 0x95, 0x78, - 0xe3, 0x9f, 0xf0, 0xc8, 0x4f, 0xe1, 0x85, 0xff, 0xc1, 0xaf, 0xa8, 0xd6, 0xbb, 0xde, 0xfa, 0xd2, - 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0x3f, 0x08, 0x92, 0xa9, 0x77, 0xfc, 0x59, - 0x1d, 0xd5, 0xab, 0xbf, 0xd7, 0xd6, 0xcf, 0xc6, 0xe3, 0x7f, 0xd6, 0xee, 0x9e, 0x95, 0x94, 0x63, - 0xaa, 0xfc, 0x72, 0x59, 0xac, 0x2e, 0x86, 0xfe, 0xc4, 0x46, 0xfe, 0x6b, 0x63, 0x2e, 0xc7, 0x54, - 0x5d, 0xd6, 0x31, 0x97, 0x17, 0xc3, 0xcb, 0x3a, 0xe6, 0xff, 0xb5, 0x7b, 0xa5, 0x63, 0x34, 0x1a, - 0x53, 0x35, 0x1a, 0xd5, 0x51, 0xa3, 0xd1, 0xc5, 0x70, 0x34, 0xaa, 0xe3, 0x5e, 0x6e, 0x98, 0x64, - 0x1f, 0xbc, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x39, 0xc2, 0x43, 0xc5, 0x05, 0x0a, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/feed.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/feed.pb.go deleted file mode 100644 index e26adaa9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/feed.pb.go +++ /dev/null @@ -1,630 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/feed.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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_90b38030e9747922, []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.v1.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.v1.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_90b38030e9747922, []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 (m *Feed) XXX_Merge(src proto.Message) { - xxx_messageInfo_Feed.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*Feed) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Feed_PlacesLocationFeedData_)(nil), - (*Feed_AffiliateLocationFeedData_)(nil), - } -} - -// 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. - // This field can only be specified in a create request. All its subfields - // are not selectable. - 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. - // This field is mutate-only and is not selectable. - BusinessAccountId *wrappers.StringValue `protobuf:"bytes,10,opt,name=business_account_id,json=businessAccountId,proto3" json:"business_account_id,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_90b38030e9747922, []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 (m *Feed_PlacesLocationFeedData) XXX_Merge(src proto.Message) { - xxx_messageInfo_Feed_PlacesLocationFeedData.Merge(m, 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) GetBusinessAccountId() *wrappers.StringValue { - if m != nil { - return m.BusinessAccountId - } - 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_90b38030e9747922, []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 (m *Feed_PlacesLocationFeedData_OAuthInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_Feed_PlacesLocationFeedData_OAuthInfo.Merge(m, 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.v1.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_90b38030e9747922, []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 (m *Feed_AffiliateLocationFeedData) XXX_Merge(src proto.Message) { - xxx_messageInfo_Feed_AffiliateLocationFeedData.Merge(m, 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.v1.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_90b38030e9747922, []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 (m *FeedAttribute) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedAttribute.Merge(m, 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.v1.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_90b38030e9747922, []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 (m *FeedAttributeOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedAttributeOperation.Merge(m, 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.RegisterEnum("google.ads.googleads.v1.resources.FeedAttributeOperation_Operator", FeedAttributeOperation_Operator_name, FeedAttributeOperation_Operator_value) - proto.RegisterType((*Feed)(nil), "google.ads.googleads.v1.resources.Feed") - proto.RegisterType((*Feed_PlacesLocationFeedData)(nil), "google.ads.googleads.v1.resources.Feed.PlacesLocationFeedData") - proto.RegisterType((*Feed_PlacesLocationFeedData_OAuthInfo)(nil), "google.ads.googleads.v1.resources.Feed.PlacesLocationFeedData.OAuthInfo") - proto.RegisterType((*Feed_AffiliateLocationFeedData)(nil), "google.ads.googleads.v1.resources.Feed.AffiliateLocationFeedData") - proto.RegisterType((*FeedAttribute)(nil), "google.ads.googleads.v1.resources.FeedAttribute") - proto.RegisterType((*FeedAttributeOperation)(nil), "google.ads.googleads.v1.resources.FeedAttributeOperation") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/feed.proto", fileDescriptor_90b38030e9747922) -} - -var fileDescriptor_90b38030e9747922 = []byte{ - // 1031 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, 0x9b, 0x9d, 0x5d, 0x15, 0x37, 0x5b, 0x50, 0xb7, - 0x68, 0xa5, 0x4a, 0x20, 0x67, 0x13, 0x10, 0x2c, 0x41, 0x80, 0x1c, 0xda, 0xb4, 0x61, 0x77, 0x93, - 0xc8, 0xa5, 0x05, 0xad, 0x2a, 0xac, 0x49, 0x3c, 0x71, 0x46, 0x38, 0x1e, 0x33, 0x33, 0x2e, 0x0a, - 0x5c, 0xb9, 0xf1, 0x27, 0x70, 0xe3, 0xc8, 0x9f, 0xc2, 0xff, 0xc0, 0x19, 0x09, 0x71, 0x5b, 0x89, - 0x33, 0xf2, 0x8c, 0x6d, 0x42, 0xf3, 0xa3, 0x2e, 0xdc, 0xc6, 0x33, 0xdf, 0xef, 0xc7, 0xcf, 0xef, - 0xe5, 0xbd, 0x09, 0x78, 0xdb, 0xa5, 0xd4, 0xf5, 0x70, 0x0d, 0x39, 0xbc, 0xa6, 0x96, 0xd1, 0xea, - 0xaa, 0x5e, 0x63, 0x98, 0xd3, 0x90, 0x0d, 0x31, 0xaf, 0x8d, 0x30, 0x76, 0x8c, 0x80, 0x51, 0x41, - 0xe1, 0x23, 0x25, 0x31, 0x90, 0xc3, 0x8d, 0x54, 0x6d, 0x5c, 0xd5, 0x8d, 0x54, 0x5d, 0x7d, 0xb1, - 0x0c, 0x88, 0xfd, 0x70, 0xc2, 0x6b, 0x68, 0x34, 0x22, 0x1e, 0x41, 0x02, 0xdb, 0x1e, 0x1d, 0x22, - 0x41, 0xa8, 0x6f, 0x47, 0x7c, 0x9b, 0x61, 0x4f, 0x3e, 0xf1, 0x31, 0x09, 0x6c, 0x31, 0x0d, 0xb0, - 0x7a, 0x63, 0xf5, 0xfd, 0xd5, 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9, 0xb5, - 0xfe, 0xd2, 0xc0, 0xe3, 0x21, 0x9d, 0xdc, 0xfc, 0xc6, 0x56, 0x31, 0x7a, 0x65, 0x3f, 0x4a, 0x62, - 0x5f, 0x7b, 0xf9, 0x59, 0xac, 0x77, 0xa9, 0x87, 0x7c, 0xd7, 0xa0, 0xcc, 0xad, 0xb9, 0xd8, 0x97, - 0x29, 0x4e, 0xfe, 0xa3, 0x05, 0x84, 0xaf, 0xf8, 0xf3, 0xfa, 0x61, 0xba, 0xfa, 0x39, 0x97, 0x3f, - 0x31, 0xcd, 0x5f, 0x72, 0x8f, 0x4e, 0x14, 0xd2, 0x74, 0xb8, 0xa1, 0x96, 0xd1, 0xea, 0xa2, 0x6e, - 0x58, 0x89, 0xf2, 0xd7, 0x44, 0x73, 0x69, 0x3a, 0xfc, 0x32, 0xd5, 0x5c, 0x5e, 0xd4, 0x2f, 0x53, - 0xcd, 0x1f, 0xb9, 0xc7, 0xea, 0xa0, 0xd9, 0x34, 0x1d, 0xde, 0x6c, 0xa6, 0xaa, 0x66, 0xf3, 0xa2, - 0xde, 0x6c, 0xa6, 0xba, 0xc1, 0xba, 0x0c, 0xf6, 0x9d, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xcf, - 0xea, 0xcb, 0x6d, 0x68, 0x0b, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/feed_item.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/feed_item.pb.go deleted file mode 100644 index 46e3b650..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/feed_item.pb.go +++ /dev/null @@ -1,586 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/feed_item.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v1/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - errors "google.golang.org/genproto/googleapis/ads/googleads/v1/errors" - _ "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.ProtoPackageIsVersion3 // 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 - // serving. - // 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.v1.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.v1.enums.FeedItemStatusEnum_FeedItemStatus" json:"status,omitempty"` - // List of info about a feed item's validation and approval state for active - // feed mappings. There will be an entry in the list for each type of feed - // mapping associated with the feed, e.g. a feed with a sitelink and a call - // feed mapping would cause every feed item associated with that feed to have - // an entry in this list for both sitelink and call. - // This field is read-only. - PolicyInfos []*FeedItemPlaceholderPolicyInfo `protobuf:"bytes,10,rep,name=policy_infos,json=policyInfos,proto3" json:"policy_infos,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_7db33c9c712020a5, []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 (m *FeedItem) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedItem.Merge(m, 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 -} - -func (m *FeedItem) GetPolicyInfos() []*FeedItemPlaceholderPolicyInfo { - if m != nil { - return m.PolicyInfos - } - return nil -} - -// 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.Money `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_7db33c9c712020a5, []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 (m *FeedItemAttributeValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedItemAttributeValue.Merge(m, 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.Money { - 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 -} - -// Policy, validation, and quality approval info for a feed item for the -// specified placeholder type. -type FeedItemPlaceholderPolicyInfo struct { - // The placeholder type. - PlaceholderType *wrappers.Int32Value `protobuf:"bytes,1,opt,name=placeholder_type,json=placeholderType,proto3" json:"placeholder_type,omitempty"` - // The FeedMapping that contains the placeholder type. - FeedMappingResourceName *wrappers.StringValue `protobuf:"bytes,2,opt,name=feed_mapping_resource_name,json=feedMappingResourceName,proto3" json:"feed_mapping_resource_name,omitempty"` - // Where the placeholder type is in the review process. - ReviewStatus enums.PolicyReviewStatusEnum_PolicyReviewStatus `protobuf:"varint,3,opt,name=review_status,json=reviewStatus,proto3,enum=google.ads.googleads.v1.enums.PolicyReviewStatusEnum_PolicyReviewStatus" json:"review_status,omitempty"` - // The overall approval status of the placeholder type, calculated based on - // the status of its individual policy topic entries. - ApprovalStatus enums.PolicyApprovalStatusEnum_PolicyApprovalStatus `protobuf:"varint,4,opt,name=approval_status,json=approvalStatus,proto3,enum=google.ads.googleads.v1.enums.PolicyApprovalStatusEnum_PolicyApprovalStatus" json:"approval_status,omitempty"` - // The list of policy findings for the placeholder type. - PolicyTopicEntries []*common.PolicyTopicEntry `protobuf:"bytes,5,rep,name=policy_topic_entries,json=policyTopicEntries,proto3" json:"policy_topic_entries,omitempty"` - // The validation status of the palceholder type. - ValidationStatus enums.FeedItemValidationStatusEnum_FeedItemValidationStatus `protobuf:"varint,6,opt,name=validation_status,json=validationStatus,proto3,enum=google.ads.googleads.v1.enums.FeedItemValidationStatusEnum_FeedItemValidationStatus" json:"validation_status,omitempty"` - // List of placeholder type validation errors. - ValidationErrors []*FeedItemValidationError `protobuf:"bytes,7,rep,name=validation_errors,json=validationErrors,proto3" json:"validation_errors,omitempty"` - // Placeholder type quality evaluation approval status. - QualityApprovalStatus enums.FeedItemQualityApprovalStatusEnum_FeedItemQualityApprovalStatus `protobuf:"varint,8,opt,name=quality_approval_status,json=qualityApprovalStatus,proto3,enum=google.ads.googleads.v1.enums.FeedItemQualityApprovalStatusEnum_FeedItemQualityApprovalStatus" json:"quality_approval_status,omitempty"` - // List of placeholder type quality evaluation disapproval reasons. - QualityDisapprovalReasons []enums.FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason `protobuf:"varint,9,rep,packed,name=quality_disapproval_reasons,json=qualityDisapprovalReasons,proto3,enum=google.ads.googleads.v1.enums.FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason" json:"quality_disapproval_reasons,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FeedItemPlaceholderPolicyInfo) Reset() { *m = FeedItemPlaceholderPolicyInfo{} } -func (m *FeedItemPlaceholderPolicyInfo) String() string { return proto.CompactTextString(m) } -func (*FeedItemPlaceholderPolicyInfo) ProtoMessage() {} -func (*FeedItemPlaceholderPolicyInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_7db33c9c712020a5, []int{2} -} - -func (m *FeedItemPlaceholderPolicyInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FeedItemPlaceholderPolicyInfo.Unmarshal(m, b) -} -func (m *FeedItemPlaceholderPolicyInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FeedItemPlaceholderPolicyInfo.Marshal(b, m, deterministic) -} -func (m *FeedItemPlaceholderPolicyInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedItemPlaceholderPolicyInfo.Merge(m, src) -} -func (m *FeedItemPlaceholderPolicyInfo) XXX_Size() int { - return xxx_messageInfo_FeedItemPlaceholderPolicyInfo.Size(m) -} -func (m *FeedItemPlaceholderPolicyInfo) XXX_DiscardUnknown() { - xxx_messageInfo_FeedItemPlaceholderPolicyInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_FeedItemPlaceholderPolicyInfo proto.InternalMessageInfo - -func (m *FeedItemPlaceholderPolicyInfo) GetPlaceholderType() *wrappers.Int32Value { - if m != nil { - return m.PlaceholderType - } - return nil -} - -func (m *FeedItemPlaceholderPolicyInfo) GetFeedMappingResourceName() *wrappers.StringValue { - if m != nil { - return m.FeedMappingResourceName - } - return nil -} - -func (m *FeedItemPlaceholderPolicyInfo) GetReviewStatus() enums.PolicyReviewStatusEnum_PolicyReviewStatus { - if m != nil { - return m.ReviewStatus - } - return enums.PolicyReviewStatusEnum_UNSPECIFIED -} - -func (m *FeedItemPlaceholderPolicyInfo) GetApprovalStatus() enums.PolicyApprovalStatusEnum_PolicyApprovalStatus { - if m != nil { - return m.ApprovalStatus - } - return enums.PolicyApprovalStatusEnum_UNSPECIFIED -} - -func (m *FeedItemPlaceholderPolicyInfo) GetPolicyTopicEntries() []*common.PolicyTopicEntry { - if m != nil { - return m.PolicyTopicEntries - } - return nil -} - -func (m *FeedItemPlaceholderPolicyInfo) GetValidationStatus() enums.FeedItemValidationStatusEnum_FeedItemValidationStatus { - if m != nil { - return m.ValidationStatus - } - return enums.FeedItemValidationStatusEnum_UNSPECIFIED -} - -func (m *FeedItemPlaceholderPolicyInfo) GetValidationErrors() []*FeedItemValidationError { - if m != nil { - return m.ValidationErrors - } - return nil -} - -func (m *FeedItemPlaceholderPolicyInfo) GetQualityApprovalStatus() enums.FeedItemQualityApprovalStatusEnum_FeedItemQualityApprovalStatus { - if m != nil { - return m.QualityApprovalStatus - } - return enums.FeedItemQualityApprovalStatusEnum_UNSPECIFIED -} - -func (m *FeedItemPlaceholderPolicyInfo) GetQualityDisapprovalReasons() []enums.FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason { - if m != nil { - return m.QualityDisapprovalReasons - } - return nil -} - -// Stores a validation error and the set of offending feed attributes which -// together are responsible for causing a feed item validation error. -type FeedItemValidationError struct { - // Error code indicating what validation error was triggered. The description - // of the error can be found in the 'description' field. - ValidationError errors.FeedItemValidationErrorEnum_FeedItemValidationError `protobuf:"varint,1,opt,name=validation_error,json=validationError,proto3,enum=google.ads.googleads.v1.errors.FeedItemValidationErrorEnum_FeedItemValidationError" json:"validation_error,omitempty"` - // The description of the validation error. - Description *wrappers.StringValue `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - // Set of feed attributes in the feed item flagged during validation. If - // empty, no specific feed attributes can be associated with the error - // (e.g. error across the entire feed item). - FeedAttributeIds []*wrappers.Int64Value `protobuf:"bytes,3,rep,name=feed_attribute_ids,json=feedAttributeIds,proto3" json:"feed_attribute_ids,omitempty"` - // Any extra information related to this error which is not captured by - // validation_error and feed_attribute_id (e.g. placeholder field IDs when - // feed_attribute_id is not mapped). Note that extra_info is not localized. - ExtraInfo *wrappers.StringValue `protobuf:"bytes,5,opt,name=extra_info,json=extraInfo,proto3" json:"extra_info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FeedItemValidationError) Reset() { *m = FeedItemValidationError{} } -func (m *FeedItemValidationError) String() string { return proto.CompactTextString(m) } -func (*FeedItemValidationError) ProtoMessage() {} -func (*FeedItemValidationError) Descriptor() ([]byte, []int) { - return fileDescriptor_7db33c9c712020a5, []int{3} -} - -func (m *FeedItemValidationError) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FeedItemValidationError.Unmarshal(m, b) -} -func (m *FeedItemValidationError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FeedItemValidationError.Marshal(b, m, deterministic) -} -func (m *FeedItemValidationError) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedItemValidationError.Merge(m, src) -} -func (m *FeedItemValidationError) XXX_Size() int { - return xxx_messageInfo_FeedItemValidationError.Size(m) -} -func (m *FeedItemValidationError) XXX_DiscardUnknown() { - xxx_messageInfo_FeedItemValidationError.DiscardUnknown(m) -} - -var xxx_messageInfo_FeedItemValidationError proto.InternalMessageInfo - -func (m *FeedItemValidationError) GetValidationError() errors.FeedItemValidationErrorEnum_FeedItemValidationError { - if m != nil { - return m.ValidationError - } - return errors.FeedItemValidationErrorEnum_UNSPECIFIED -} - -func (m *FeedItemValidationError) GetDescription() *wrappers.StringValue { - if m != nil { - return m.Description - } - return nil -} - -func (m *FeedItemValidationError) GetFeedAttributeIds() []*wrappers.Int64Value { - if m != nil { - return m.FeedAttributeIds - } - return nil -} - -func (m *FeedItemValidationError) GetExtraInfo() *wrappers.StringValue { - if m != nil { - return m.ExtraInfo - } - return nil -} - -func init() { - proto.RegisterType((*FeedItem)(nil), "google.ads.googleads.v1.resources.FeedItem") - proto.RegisterType((*FeedItemAttributeValue)(nil), "google.ads.googleads.v1.resources.FeedItemAttributeValue") - proto.RegisterType((*FeedItemPlaceholderPolicyInfo)(nil), "google.ads.googleads.v1.resources.FeedItemPlaceholderPolicyInfo") - proto.RegisterType((*FeedItemValidationError)(nil), "google.ads.googleads.v1.resources.FeedItemValidationError") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/feed_item.proto", fileDescriptor_7db33c9c712020a5) -} - -var fileDescriptor_7db33c9c712020a5 = []byte{ - // 1213 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x57, 0xdb, 0x6e, 0xdc, 0x44, - 0x18, 0xd6, 0x6e, 0xda, 0x34, 0x99, 0x3d, 0x24, 0x1d, 0x28, 0x71, 0xd3, 0x82, 0xd2, 0xa0, 0x48, - 0x91, 0x2a, 0x79, 0xb3, 0xdb, 0x82, 0x60, 0x2b, 0x68, 0x36, 0xe4, 0xd0, 0x20, 0x8a, 0x82, 0x13, - 0x45, 0x80, 0x22, 0xac, 0x59, 0x7b, 0x62, 0x46, 0xb2, 0x3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13, - 0x7c, 0x32, 0x9f, 0xc0, 0xc3, 0xd4, 0x16, 0x88, 0x79, 0x58, 0x90, 0xd0, 0xb3, 0x19, 0xe6, 0x82, - 0x11, 0x27, 0x61, 0xd1, 0xf0, 0xee, 0x7c, 0xb8, 0x0a, 0x79, 0x41, 0xec, 0x3e, 0x2a, 0x85, 0x65, - 0x78, 0x40, 0xf0, 0x9b, 0xb2, 0x5e, 0x33, 0x46, 0x59, 0x81, 0xdb, 0xf2, 0x4c, 0x13, 0x3c, 0x4e, - 0x09, 0x22, 0xd2, 0x42, 0x61, 0x48, 0x85, 0x14, 0x49, 0xe9, 0xdf, 0xd3, 0xa7, 0xf2, 0xab, 0x1f, - 0x5f, 0xb7, 0xde, 0x30, 0x14, 0x45, 0x98, 0xe9, 0xf3, 0xed, 0x3f, 0x96, 0xc1, 0xca, 0x31, 0xc6, - 0xee, 0xa9, 0xc0, 0x01, 0x7c, 0x1f, 0x34, 0xd2, 0x5c, 0xb7, 0x43, 0x14, 0x60, 0xa3, 0xb2, 0x55, - 0xd9, 0x5d, 0xb5, 0xea, 0xe9, 0xe6, 0x97, 0x28, 0xc0, 0x70, 0x0f, 0xdc, 0x49, 0x6c, 0x32, 0xaa, - 0x5b, 0x95, 0xdd, 0x5a, 0xe7, 0xb1, 0x2e, 0x15, 0x33, 0x55, 0x60, 0x9e, 0x0b, 0x46, 0x42, 0xef, - 0x12, 0xf9, 0x31, 0xb6, 0xa4, 0x24, 0x7c, 0x0a, 0xaa, 0xc4, 0x35, 0x96, 0xa4, 0xfc, 0xa3, 0x29, - 0xf9, 0xd3, 0x50, 0x7c, 0xf8, 0x5c, 0x89, 0x57, 0x89, 0x0b, 0x0f, 0xc1, 0x1a, 0x17, 0x88, 0x09, - 0xdb, 0x45, 0x02, 0xdb, 0x82, 0x04, 0xd8, 0xb8, 0x53, 0x42, 0x53, 0x43, 0x82, 0x0e, 0x91, 0xc0, - 0x17, 0x24, 0xc0, 0x70, 0x1f, 0x34, 0x70, 0x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- 0x32, 0x59, 0x5d, 0xb6, 0xcd, 0xb4, 0x1d, 0xf3, 0xbf, 0x53, 0x99, 0xab, 0x9e, 0xcb, 0xaf, 0x32, - 0x99, 0xab, 0xcb, 0xf6, 0x55, 0x26, 0xf3, 0x6f, 0x75, 0x47, 0x1d, 0x74, 0xbb, 0x3d, 0x97, 0x77, - 0xbb, 0x99, 0x54, 0xb7, 0x7b, 0xd9, 0xee, 0x76, 0x33, 0xb9, 0xfe, 0xb2, 0x34, 0xf6, 0xd9, 0xff, - 0x01, 0x00, 0x00, 0xff, 0xff, 0x4c, 0xef, 0x36, 0x94, 0xbf, 0x0f, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/feed_item_target.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/feed_item_target.pb.go deleted file mode 100644 index 024c41ca..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/feed_item_target.pb.go +++ /dev/null @@ -1,257 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/feed_item_target.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v1/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A feed item target. -type FeedItemTarget struct { - // The resource name of the feed item target. - // Feed item target resource names have the form: - // - // `customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The feed item to which this feed item target belongs. - FeedItem *wrappers.StringValue `protobuf:"bytes,2,opt,name=feed_item,json=feedItem,proto3" json:"feed_item,omitempty"` - // The target type of this feed item target. This field is read-only. - FeedItemTargetType enums.FeedItemTargetTypeEnum_FeedItemTargetType `protobuf:"varint,3,opt,name=feed_item_target_type,json=feedItemTargetType,proto3,enum=google.ads.googleads.v1.enums.FeedItemTargetTypeEnum_FeedItemTargetType" json:"feed_item_target_type,omitempty"` - // The ID of the targeted resource. This field is read-only. - FeedItemTargetId *wrappers.Int64Value `protobuf:"bytes,6,opt,name=feed_item_target_id,json=feedItemTargetId,proto3" json:"feed_item_target_id,omitempty"` - // The targeted resource. - // - // Types that are valid to be assigned to Target: - // *FeedItemTarget_Campaign - // *FeedItemTarget_AdGroup - // *FeedItemTarget_Keyword - // *FeedItemTarget_GeoTargetConstant - // *FeedItemTarget_Device - // *FeedItemTarget_AdSchedule - Target isFeedItemTarget_Target `protobuf_oneof:"target"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FeedItemTarget) Reset() { *m = FeedItemTarget{} } -func (m *FeedItemTarget) String() string { return proto.CompactTextString(m) } -func (*FeedItemTarget) ProtoMessage() {} -func (*FeedItemTarget) Descriptor() ([]byte, []int) { - return fileDescriptor_82fa673cb0c842f7, []int{0} -} - -func (m *FeedItemTarget) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FeedItemTarget.Unmarshal(m, b) -} -func (m *FeedItemTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FeedItemTarget.Marshal(b, m, deterministic) -} -func (m *FeedItemTarget) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedItemTarget.Merge(m, src) -} -func (m *FeedItemTarget) XXX_Size() int { - return xxx_messageInfo_FeedItemTarget.Size(m) -} -func (m *FeedItemTarget) XXX_DiscardUnknown() { - xxx_messageInfo_FeedItemTarget.DiscardUnknown(m) -} - -var xxx_messageInfo_FeedItemTarget proto.InternalMessageInfo - -func (m *FeedItemTarget) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *FeedItemTarget) GetFeedItem() *wrappers.StringValue { - if m != nil { - return m.FeedItem - } - return nil -} - -func (m *FeedItemTarget) GetFeedItemTargetType() enums.FeedItemTargetTypeEnum_FeedItemTargetType { - if m != nil { - return m.FeedItemTargetType - } - return enums.FeedItemTargetTypeEnum_UNSPECIFIED -} - -func (m *FeedItemTarget) GetFeedItemTargetId() *wrappers.Int64Value { - if m != nil { - return m.FeedItemTargetId - } - return nil -} - -type isFeedItemTarget_Target interface { - isFeedItemTarget_Target() -} - -type FeedItemTarget_Campaign struct { - Campaign *wrappers.StringValue `protobuf:"bytes,4,opt,name=campaign,proto3,oneof"` -} - -type FeedItemTarget_AdGroup struct { - AdGroup *wrappers.StringValue `protobuf:"bytes,5,opt,name=ad_group,json=adGroup,proto3,oneof"` -} - -type FeedItemTarget_Keyword struct { - Keyword *common.KeywordInfo `protobuf:"bytes,7,opt,name=keyword,proto3,oneof"` -} - -type FeedItemTarget_GeoTargetConstant struct { - GeoTargetConstant *wrappers.StringValue `protobuf:"bytes,8,opt,name=geo_target_constant,json=geoTargetConstant,proto3,oneof"` -} - -type FeedItemTarget_Device struct { - Device enums.FeedItemTargetDeviceEnum_FeedItemTargetDevice `protobuf:"varint,9,opt,name=device,proto3,enum=google.ads.googleads.v1.enums.FeedItemTargetDeviceEnum_FeedItemTargetDevice,oneof"` -} - -type FeedItemTarget_AdSchedule struct { - AdSchedule *common.AdScheduleInfo `protobuf:"bytes,10,opt,name=ad_schedule,json=adSchedule,proto3,oneof"` -} - -func (*FeedItemTarget_Campaign) isFeedItemTarget_Target() {} - -func (*FeedItemTarget_AdGroup) isFeedItemTarget_Target() {} - -func (*FeedItemTarget_Keyword) isFeedItemTarget_Target() {} - -func (*FeedItemTarget_GeoTargetConstant) isFeedItemTarget_Target() {} - -func (*FeedItemTarget_Device) isFeedItemTarget_Target() {} - -func (*FeedItemTarget_AdSchedule) isFeedItemTarget_Target() {} - -func (m *FeedItemTarget) GetTarget() isFeedItemTarget_Target { - if m != nil { - return m.Target - } - return nil -} - -func (m *FeedItemTarget) GetCampaign() *wrappers.StringValue { - if x, ok := m.GetTarget().(*FeedItemTarget_Campaign); ok { - return x.Campaign - } - return nil -} - -func (m *FeedItemTarget) GetAdGroup() *wrappers.StringValue { - if x, ok := m.GetTarget().(*FeedItemTarget_AdGroup); ok { - return x.AdGroup - } - return nil -} - -func (m *FeedItemTarget) GetKeyword() *common.KeywordInfo { - if x, ok := m.GetTarget().(*FeedItemTarget_Keyword); ok { - return x.Keyword - } - return nil -} - -func (m *FeedItemTarget) GetGeoTargetConstant() *wrappers.StringValue { - if x, ok := m.GetTarget().(*FeedItemTarget_GeoTargetConstant); ok { - return x.GeoTargetConstant - } - return nil -} - -func (m *FeedItemTarget) GetDevice() enums.FeedItemTargetDeviceEnum_FeedItemTargetDevice { - if x, ok := m.GetTarget().(*FeedItemTarget_Device); ok { - return x.Device - } - return enums.FeedItemTargetDeviceEnum_UNSPECIFIED -} - -func (m *FeedItemTarget) GetAdSchedule() *common.AdScheduleInfo { - if x, ok := m.GetTarget().(*FeedItemTarget_AdSchedule); ok { - return x.AdSchedule - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*FeedItemTarget) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*FeedItemTarget_Campaign)(nil), - (*FeedItemTarget_AdGroup)(nil), - (*FeedItemTarget_Keyword)(nil), - (*FeedItemTarget_GeoTargetConstant)(nil), - (*FeedItemTarget_Device)(nil), - (*FeedItemTarget_AdSchedule)(nil), - } -} - -func init() { - proto.RegisterType((*FeedItemTarget)(nil), "google.ads.googleads.v1.resources.FeedItemTarget") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/feed_item_target.proto", fileDescriptor_82fa673cb0c842f7) -} - -var fileDescriptor_82fa673cb0c842f7 = []byte{ - // 580 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xdd, 0x6e, 0xd3, 0x30, - 0x14, 0x5e, 0x3b, 0xe8, 0x3a, 0x0f, 0x26, 0xf0, 0x84, 0x14, 0x8d, 0x09, 0x6d, 0xa0, 0x49, 0x93, - 0x10, 0x8e, 0x3a, 0x10, 0x62, 0xd9, 0x55, 0xc6, 0x4f, 0xd7, 0x81, 0xa6, 0x91, 0x4d, 0xbd, 0x40, - 0x95, 0x22, 0x2f, 0x3e, 0x31, 0x11, 0x8d, 0x1d, 0x39, 0xce, 0xa6, 0x8a, 0x1b, 0x9e, 0x80, 0x87, - 0xe0, 0x92, 0x47, 0xe1, 0x51, 0x78, 0x0a, 0xd4, 0xd8, 0x89, 0x54, 0xb5, 0xa5, 0xdb, 0xdd, 0xc9, - 0x39, 0xdf, 0x77, 0xfc, 0x9d, 0xef, 0x38, 0x46, 0x6f, 0xb8, 0x94, 0x7c, 0x08, 0x2e, 0x65, 0xb9, - 0x6b, 0xc2, 0x71, 0x74, 0xd5, 0x71, 0x15, 0xe4, 0xb2, 0x50, 0x11, 0xe4, 0x6e, 0x0c, 0xc0, 0xc2, - 0x44, 0x43, 0x1a, 0x6a, 0xaa, 0x38, 0x68, 0x92, 0x29, 0xa9, 0x25, 0xde, 0x31, 0x70, 0x42, 0x59, - 0x4e, 0x6a, 0x26, 0xb9, 0xea, 0x90, 0x9a, 0xb9, 0xf9, 0x62, 0x5e, 0xf3, 0x48, 0xa6, 0xa9, 0x14, - 0x6e, 0xa4, 0x12, 0x0d, 0x2a, 0xa1, 0xa6, 0xe3, 0xe6, 0xe1, 0x3c, 0x38, 0x88, 0x22, 0x9d, 0xd6, - 0x11, 0x32, 0xb8, 0x4a, 0x22, 0xb0, 0xe4, 0x83, 0x5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0x4f, 0x85, 0x19, 0xf8, 0x2c, 0x1f, 0xd4, 0x98, 0x41, 0xbf, 0x33, 0xa8, 0x31, - 0x7f, 0x9b, 0xbb, 0xa6, 0xe0, 0x79, 0x3e, 0xcb, 0x3d, 0xaf, 0x46, 0x79, 0x5e, 0xbf, 0xe3, 0x79, - 0x35, 0xee, 0xb2, 0x55, 0x8a, 0x7d, 0xf9, 0x2f, 0x00, 0x00, 0xff, 0xff, 0xb7, 0x6f, 0xf4, 0x7c, - 0x5e, 0x05, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/feed_mapping.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/feed_mapping.pb.go deleted file mode 100644 index 5b55a74e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/feed_mapping.pb.go +++ /dev/null @@ -1,639 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/feed_mapping.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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.v1.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_664f64bb6423b1b2, []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 (m *FeedMapping) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedMapping.Merge(m, 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.v1.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.v1.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_OneofWrappers is for the internal use of the proto package. -func (*FeedMapping) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*FeedMapping_PlaceholderType)(nil), - (*FeedMapping_CriterionType)(nil), - } -} - -// 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_LocationField - // *AttributeFieldMapping_AffiliateLocationField - // *AttributeFieldMapping_CalloutField - // *AttributeFieldMapping_StructuredSnippetField - // *AttributeFieldMapping_MessageField - // *AttributeFieldMapping_PriceField - // *AttributeFieldMapping_PromotionField - // *AttributeFieldMapping_AdCustomizerField - // *AttributeFieldMapping_DsaPageFeedField - // *AttributeFieldMapping_LocationExtensionTargetingField - // *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_664f64bb6423b1b2, []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 (m *AttributeFieldMapping) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttributeFieldMapping.Merge(m, 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.v1.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.v1.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.v1.enums.AppPlaceholderFieldEnum_AppPlaceholderField,oneof"` -} - -type AttributeFieldMapping_LocationField struct { - LocationField enums.LocationPlaceholderFieldEnum_LocationPlaceholderField `protobuf:"varint,6,opt,name=location_field,json=locationField,proto3,enum=google.ads.googleads.v1.enums.LocationPlaceholderFieldEnum_LocationPlaceholderField,oneof"` -} - -type AttributeFieldMapping_AffiliateLocationField struct { - AffiliateLocationField enums.AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField `protobuf:"varint,7,opt,name=affiliate_location_field,json=affiliateLocationField,proto3,enum=google.ads.googleads.v1.enums.AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField,oneof"` -} - -type AttributeFieldMapping_CalloutField struct { - CalloutField enums.CalloutPlaceholderFieldEnum_CalloutPlaceholderField `protobuf:"varint,8,opt,name=callout_field,json=calloutField,proto3,enum=google.ads.googleads.v1.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.v1.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.v1.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.v1.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.v1.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.v1.enums.AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField,oneof"` -} - -type AttributeFieldMapping_DsaPageFeedField struct { - DsaPageFeedField enums.DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField `protobuf:"varint,14,opt,name=dsa_page_feed_field,json=dsaPageFeedField,proto3,enum=google.ads.googleads.v1.enums.DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField,oneof"` -} - -type AttributeFieldMapping_LocationExtensionTargetingField struct { - LocationExtensionTargetingField enums.LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField `protobuf:"varint,15,opt,name=location_extension_targeting_field,json=locationExtensionTargetingField,proto3,enum=google.ads.googleads.v1.enums.LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField,oneof"` -} - -type AttributeFieldMapping_EducationField struct { - EducationField enums.EducationPlaceholderFieldEnum_EducationPlaceholderField `protobuf:"varint,16,opt,name=education_field,json=educationField,proto3,enum=google.ads.googleads.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.enums.JobPlaceholderFieldEnum_JobPlaceholderField,oneof"` -} - -func (*AttributeFieldMapping_SitelinkField) isAttributeFieldMapping_Field() {} - -func (*AttributeFieldMapping_CallField) isAttributeFieldMapping_Field() {} - -func (*AttributeFieldMapping_AppField) isAttributeFieldMapping_Field() {} - -func (*AttributeFieldMapping_LocationField) isAttributeFieldMapping_Field() {} - -func (*AttributeFieldMapping_AffiliateLocationField) 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_DsaPageFeedField) isAttributeFieldMapping_Field() {} - -func (*AttributeFieldMapping_LocationExtensionTargetingField) 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) GetLocationField() enums.LocationPlaceholderFieldEnum_LocationPlaceholderField { - if x, ok := m.GetField().(*AttributeFieldMapping_LocationField); ok { - return x.LocationField - } - return enums.LocationPlaceholderFieldEnum_UNSPECIFIED -} - -func (m *AttributeFieldMapping) GetAffiliateLocationField() enums.AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField { - if x, ok := m.GetField().(*AttributeFieldMapping_AffiliateLocationField); ok { - return x.AffiliateLocationField - } - return enums.AffiliateLocationPlaceholderFieldEnum_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) GetDsaPageFeedField() enums.DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField { - if x, ok := m.GetField().(*AttributeFieldMapping_DsaPageFeedField); ok { - return x.DsaPageFeedField - } - return enums.DsaPageFeedCriterionFieldEnum_UNSPECIFIED -} - -func (m *AttributeFieldMapping) GetLocationExtensionTargetingField() enums.LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField { - if x, ok := m.GetField().(*AttributeFieldMapping_LocationExtensionTargetingField); ok { - return x.LocationExtensionTargetingField - } - return enums.LocationExtensionTargetingCriterionFieldEnum_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_OneofWrappers is for the internal use of the proto package. -func (*AttributeFieldMapping) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AttributeFieldMapping_SitelinkField)(nil), - (*AttributeFieldMapping_CallField)(nil), - (*AttributeFieldMapping_AppField)(nil), - (*AttributeFieldMapping_LocationField)(nil), - (*AttributeFieldMapping_AffiliateLocationField)(nil), - (*AttributeFieldMapping_CalloutField)(nil), - (*AttributeFieldMapping_StructuredSnippetField)(nil), - (*AttributeFieldMapping_MessageField)(nil), - (*AttributeFieldMapping_PriceField)(nil), - (*AttributeFieldMapping_PromotionField)(nil), - (*AttributeFieldMapping_AdCustomizerField)(nil), - (*AttributeFieldMapping_DsaPageFeedField)(nil), - (*AttributeFieldMapping_LocationExtensionTargetingField)(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 init() { - proto.RegisterType((*FeedMapping)(nil), "google.ads.googleads.v1.resources.FeedMapping") - proto.RegisterType((*AttributeFieldMapping)(nil), "google.ads.googleads.v1.resources.AttributeFieldMapping") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/feed_mapping.proto", fileDescriptor_664f64bb6423b1b2) -} - -var fileDescriptor_664f64bb6423b1b2 = []byte{ - // 1315 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x98, 0x4d, 0x6f, 0xe4, 0x44, - 0x13, 0xc7, 0xed, 0x6c, 0x5e, 0x7b, 0xf2, 0x3a, 0x79, 0x36, 0xcf, 0x68, 0x59, 0x41, 0x36, 0x68, - 0xa5, 0x9c, 0x3c, 0x24, 0x44, 0x0b, 0xcc, 0xf2, 0xa2, 0x49, 0x48, 0xe2, 0x44, 0xbb, 0xab, 0x91, - 0x13, 0x45, 0x08, 0x45, 0x8c, 0x7a, 0xc6, 0x3d, 0x13, 0x07, 0x8f, 0x6d, 0xec, 0x76, 0x20, 0x48, - 0x7b, 0xe0, 0x02, 0x37, 0x3e, 0xc4, 0x1e, 0x39, 0xf2, 0x15, 0xb8, 0x71, 0xe6, 0x53, 0xf0, 0x1d, - 0x90, 0x50, 0x77, 0xd9, 0x3d, 0x4e, 0xb6, 0xdb, 0x6d, 0xe6, 0xe6, 0x74, 0xd5, 0xbf, 0x7e, 0x35, - 0xe5, 0xea, 0x76, 0x75, 0xd0, 0xde, 0x30, 0x0c, 0x87, 0x3e, 0x69, 0x62, 0x37, 0x69, 0xc2, 0x23, - 0x7b, 0xba, 0xd9, 0x69, 0xc6, 0x24, 0x09, 0xd3, 0xb8, 0x4f, 0x92, 0xe6, 0x80, 0x10, 0xb7, 0x3b, - 0xc2, 0x51, 0xe4, 0x05, 0x43, 0x2b, 0x8a, 0x43, 0x1a, 0xd6, 0x9f, 0x80, 0xab, 0x85, 0xdd, 0xc4, - 0x12, 0x2a, 0xeb, 0x66, 0xc7, 0x12, 0xaa, 0x47, 0x07, 0xaa, 0xc0, 0x24, 0x48, 0x47, 0x49, 0x13, - 0xbb, 0xdd, 0x7e, 0x9a, 0xd0, 0x70, 0xe4, 0xfd, 0x48, 0xe2, 0x6e, 0xe4, 0xe3, 0x3e, 0xb9, 0x0a, - 0x7d, 0x97, 0xc4, 0xdd, 0x81, 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9, 0xa5, 0xf0, 0xb9, 0xbc, 0xd8, 0xb9, 0x14, 0x3e, 0x7f, 0x4f, 0x3d, - 0x05, 0x43, 0xab, 0xd5, 0x76, 0x93, 0x56, 0x4b, 0x78, 0xb5, 0x5a, 0x17, 0x3b, 0xad, 0x96, 0xf0, - 0xeb, 0xcd, 0xf2, 0x64, 0x3f, 0xfc, 0x37, 0x00, 0x00, 0xff, 0xff, 0x70, 0xcc, 0x72, 0x34, 0x2f, - 0x15, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/feed_placeholder_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/feed_placeholder_view.pb.go deleted file mode 100644 index a11c99a0..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/feed_placeholder_view.pb.go +++ /dev/null @@ -1,110 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/feed_placeholder_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A feed placeholder view. -type FeedPlaceholderView struct { - // The resource name of the feed placeholder view. - // Feed placeholder view resource names have the form: - // - // `customers/{customer_id}/feedPlaceholderViews/{placeholder_type}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The placeholder type of the feed placeholder view. - PlaceholderType enums.PlaceholderTypeEnum_PlaceholderType `protobuf:"varint,2,opt,name=placeholder_type,json=placeholderType,proto3,enum=google.ads.googleads.v1.enums.PlaceholderTypeEnum_PlaceholderType" json:"placeholder_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FeedPlaceholderView) Reset() { *m = FeedPlaceholderView{} } -func (m *FeedPlaceholderView) String() string { return proto.CompactTextString(m) } -func (*FeedPlaceholderView) ProtoMessage() {} -func (*FeedPlaceholderView) Descriptor() ([]byte, []int) { - return fileDescriptor_84882bb262f263ab, []int{0} -} - -func (m *FeedPlaceholderView) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FeedPlaceholderView.Unmarshal(m, b) -} -func (m *FeedPlaceholderView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FeedPlaceholderView.Marshal(b, m, deterministic) -} -func (m *FeedPlaceholderView) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedPlaceholderView.Merge(m, src) -} -func (m *FeedPlaceholderView) XXX_Size() int { - return xxx_messageInfo_FeedPlaceholderView.Size(m) -} -func (m *FeedPlaceholderView) XXX_DiscardUnknown() { - xxx_messageInfo_FeedPlaceholderView.DiscardUnknown(m) -} - -var xxx_messageInfo_FeedPlaceholderView proto.InternalMessageInfo - -func (m *FeedPlaceholderView) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *FeedPlaceholderView) GetPlaceholderType() enums.PlaceholderTypeEnum_PlaceholderType { - if m != nil { - return m.PlaceholderType - } - return enums.PlaceholderTypeEnum_UNSPECIFIED -} - -func init() { - proto.RegisterType((*FeedPlaceholderView)(nil), "google.ads.googleads.v1.resources.FeedPlaceholderView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/feed_placeholder_view.proto", fileDescriptor_84882bb262f263ab) -} - -var fileDescriptor_84882bb262f263ab = []byte{ - // 333 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x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 0x44, 0xb4, 0xbf, 0x1e, 0xda, 0x0c, 0xdb, 0x41, 0x6f, 0xf7, 0xa4, 0x8f, 0x36, 0xad, 0x53, 0xcf, - 0x8a, 0x56, 0xe2, 0x6e, 0x17, 0x1a, 0x2e, 0xe5, 0x54, 0xac, 0xd7, 0x46, 0x7b, 0xfa, 0x7b, 0xa1, - 0xff, 0x14, 0x46, 0xdd, 0x89, 0x12, 0xe8, 0xcf, 0x4b, 0xf5, 0x9b, 0x3f, 0xac, 0x34, 0x5c, 0xee, - 0x3b, 0x0c, 0xee, 0xae, 0x3f, 0x71, 0xae, 0x0a, 0x2a, 0x39, 0x52, 0x25, 0xc7, 0x1c, 0x64, 0x7d, - 0x0d, 0x77, 0x55, 0x9d, 0x9b, 0x5f, 0xbe, 0xf1, 0xdc, 0xab, 0xe7, 0xf0, 0xdf, 0x20, 0x49, 0x5e, - 0xc3, 0xce, 0xc0, 0xb6, 0x4c, 0x98, 0x41, 0x56, 0x2e, 0x55, 0x1a, 0xa3, 0x91, 0x73, 0xbe, 0x39, - 0x4f, 0x96, 0x30, 0x93, 0x79, 0x4f, 0x96, 0xc6, 0x99, 0xf7, 0xbc, 0x87, 0x5d, 0xfb, 0x40, 0x48, - 0xc2, 0x0c, 0x21, 0xde, 0x45, 0x48, 0x1a, 0x13, 0xe2, 0x7d, 0xf7, 0xff, 0xeb, 0x61, 0x4f, 0x3f, - 0x02, 0x00, 0x00, 0xff, 0xff, 0xb5, 0xf2, 0xef, 0x8d, 0x72, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/gender_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/gender_view.pb.go deleted file mode 100644 index 773058bf..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/gender_view.pb.go +++ /dev/null @@ -1,96 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/gender_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_1caf9d1d919debe3, []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 (m *GenderView) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenderView.Merge(m, 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.v1.resources.GenderView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/gender_view.proto", fileDescriptor_1caf9d1d919debe3) -} - -var fileDescriptor_1caf9d1d919debe3 = []byte{ - // 262 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0x31, 0x4b, 0xc4, 0x30, - 0x14, 0xc7, 0x69, 0x05, 0xc1, 0xa0, 0x08, 0x37, 0x89, 0x38, 0x78, 0xca, 0x81, 0x53, 0x42, 0xb8, - 0x2d, 0x4e, 0xb9, 0xa5, 0xe0, 0x20, 0xc7, 0x0d, 0x1d, 0xa4, 0x70, 0xc4, 0x4b, 0x08, 0x81, 0x6b, - 0x5e, 0xc9, 0xab, 0xbd, 0xef, 0xe3, 0xe8, 0x47, 0xf1, 0xa3, 0xf8, 0x19, 0x1c, 0xa4, 0x8d, 0x89, - 0x9b, 0xb7, 0xfd, 0x69, 0x7f, 0xff, 0xdf, 0x7b, 0x2f, 0x64, 0x69, 0x01, 0xec, 0xde, 0x30, 0xa5, - 0x91, 0xc5, 0x38, 0xa6, 0x81, 0xb3, 0x60, 0x10, 0xde, 0xc2, 0xce, 0x20, 0xb3, 0xc6, 0x6b, 0x13, - 0xb6, 0x83, 0x33, 0x07, 0xda, 0x05, 0xe8, 0x61, 0x36, 0x8f, 0x24, 0x55, 0x1a, 0x69, 0x2e, 0xd1, - 0x81, 0xd3, 0x5c, 0xba, 0xbe, 0x49, 0xde, 0xce, 0x31, 0xe5, 0x3d, 0xf4, 0xaa, 0x77, 0xe0, 0x31, - 0x0a, 0xee, 0x38, 0x21, 0xd5, 0x64, 0xad, 0x9d, 0x39, 0xcc, 0xee, 0xc9, 0x45, 0x2a, 0x6e, 0xbd, - 0x6a, 0xcd, 0x55, 0x71, 0x5b, 0x3c, 0x9c, 0x6d, 0xce, 0xd3, 0xc7, 0x67, 0xd5, 0x9a, 0xd5, 0x77, - 0x41, 0x16, 0x3b, 0x68, 0xe9, 0xd1, 0xd1, 0xab, 0xcb, 0x3f, 0xf5, 0x7a, 0x9c, 0xb6, 0x2e, 0x5e, - 0x9e, 0x7e, 0x5b, 0x16, 0xf6, 0xca, 0x5b, 0x0a, 0xc1, 0x8e, 0x57, 0x4d, 0xbb, 0xa4, 0xab, 0x3b, - 0x87, 0xff, 0x3c, 0xc2, 0x63, 0x4e, 0xef, 0xe5, 0x49, 0x25, 0xe5, 0x47, 0x39, 0xaf, 0xa2, 0x52, - 0x6a, 0xa4, 0x31, 0x8e, 0xa9, 0xe6, 0x74, 0x93, 0xc8, 0xcf, 0xc4, 0x34, 0x52, 0x63, 0x93, 0x99, - 0xa6, 0xe6, 0x4d, 0x66, 0xbe, 0xca, 0x45, 0xfc, 0x21, 0x84, 0xd4, 0x28, 0x44, 0xa6, 0x84, 0xa8, - 0xb9, 0x10, 0x99, 0x7b, 0x3d, 0x9d, 0x96, 0x5d, 0xfe, 0x04, 0x00, 0x00, 0xff, 0xff, 0xc3, 0x37, - 0x36, 0xcd, 0xb0, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/geo_target_constant.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/geo_target_constant.pb.go deleted file mode 100644 index 862b931a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/geo_target_constant.pb.go +++ /dev/null @@ -1,165 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/geo_target_constant.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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.v1.enums.GeoTargetConstantStatusEnum_GeoTargetConstantStatus" json:"status,omitempty"` - // The fully qualified English name, consisting of the target's name and that - // of its parent and country. - CanonicalName *wrappers.StringValue `protobuf:"bytes,8,opt,name=canonical_name,json=canonicalName,proto3" json:"canonical_name,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_e598a341d42b96a1, []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 (m *GeoTargetConstant) XXX_Merge(src proto.Message) { - xxx_messageInfo_GeoTargetConstant.Merge(m, 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 (m *GeoTargetConstant) GetCanonicalName() *wrappers.StringValue { - if m != nil { - return m.CanonicalName - } - return nil -} - -func init() { - proto.RegisterType((*GeoTargetConstant)(nil), "google.ads.googleads.v1.resources.GeoTargetConstant") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/geo_target_constant.proto", fileDescriptor_e598a341d42b96a1) -} - -var fileDescriptor_e598a341d42b96a1 = []byte{ - // 456 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0x41, 0x6b, 0xd4, 0x40, - 0x14, 0xc7, 0x49, 0xb6, 0xae, 0x3a, 0xdb, 0x16, 0xcc, 0x41, 0x42, 0x2d, 0xb2, 0x55, 0x0a, 0x0b, - 0xc2, 0xc4, 0x54, 0xf1, 0x90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x57, - 0xae, 0xab, 0x79, 0x4c, 0xb3, 0x4e, 0xf9, 0xab, 0xd3, 0x2c, 0x52, 0xae, 0x17, 0xbd, 0x66, 0x31, - 0x8f, 0x17, 0xbd, 0xe6, 0xb7, 0x7f, 0xea, 0x1a, 0x49, 0x92, 0x72, 0x9d, 0x24, 0xbd, 0x2a, 0x49, - 0xe6, 0x71, 0x92, 0xf4, 0xba, 0x9b, 0xa1, 0x1d, 0xf6, 0xc5, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, - 0xdf, 0xe1, 0xcd, 0x18, 0xb7, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/geographic_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/geographic_view.pb.go deleted file mode 100644 index f6af9cb7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/geographic_view.pb.go +++ /dev/null @@ -1,131 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/geographic_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A geographic view. -// -// Geographic View includes all metrics aggregated at the country level, -// one row per country. It reports metrics at either actual physical location of -// the user or an area of interest. If other segment fields are used, you may -// get more than one row per country. -type GeographicView struct { - // The resource name of the geographic view. - // Geographic view resource names have the form: - // - // - // `customers/{customer_id}/geographicViews/{country_criterion_id}~{location_type}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // CriterionId for the geo target for a country. - CountryGeoTargetConstant *wrappers.StringValue `protobuf:"bytes,2,opt,name=country_geo_target_constant,json=countryGeoTargetConstant,proto3" json:"country_geo_target_constant,omitempty"` - // Type of the geo targeting of the campaign. - LocationType enums.GeoTargetingTypeEnum_GeoTargetingType `protobuf:"varint,3,opt,name=location_type,json=locationType,proto3,enum=google.ads.googleads.v1.enums.GeoTargetingTypeEnum_GeoTargetingType" json:"location_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GeographicView) Reset() { *m = GeographicView{} } -func (m *GeographicView) String() string { return proto.CompactTextString(m) } -func (*GeographicView) ProtoMessage() {} -func (*GeographicView) Descriptor() ([]byte, []int) { - return fileDescriptor_45a03e49a5e672c5, []int{0} -} - -func (m *GeographicView) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GeographicView.Unmarshal(m, b) -} -func (m *GeographicView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GeographicView.Marshal(b, m, deterministic) -} -func (m *GeographicView) XXX_Merge(src proto.Message) { - xxx_messageInfo_GeographicView.Merge(m, src) -} -func (m *GeographicView) XXX_Size() int { - return xxx_messageInfo_GeographicView.Size(m) -} -func (m *GeographicView) XXX_DiscardUnknown() { - xxx_messageInfo_GeographicView.DiscardUnknown(m) -} - -var xxx_messageInfo_GeographicView proto.InternalMessageInfo - -func (m *GeographicView) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *GeographicView) GetCountryGeoTargetConstant() *wrappers.StringValue { - if m != nil { - return m.CountryGeoTargetConstant - } - return nil -} - -func (m *GeographicView) GetLocationType() enums.GeoTargetingTypeEnum_GeoTargetingType { - if m != nil { - return m.LocationType - } - return enums.GeoTargetingTypeEnum_UNSPECIFIED -} - -func init() { - proto.RegisterType((*GeographicView)(nil), "google.ads.googleads.v1.resources.GeographicView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/geographic_view.proto", fileDescriptor_45a03e49a5e672c5) -} - -var fileDescriptor_45a03e49a5e672c5 = []byte{ - // 402 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0x41, 0x8b, 0xd4, 0x30, - 0x18, 0xa5, 0x5d, 0x10, 0xac, 0xbb, 0x7b, 0xa8, 0x97, 0xb2, 0x2e, 0x32, 0xab, 0x2c, 0xcc, 0x29, - 0xa5, 0x2b, 0x28, 0xc4, 0x53, 0x57, 0xa5, 0xe0, 0x41, 0x96, 0x3a, 0xf4, 0xa0, 0x85, 0x92, 0x69, - 0x3f, 0x63, 0xa0, 0x4d, 0x42, 0x92, 0xce, 0x30, 0x37, 0x7f, 0x8b, 0x47, 0x7f, 0x8a, 0x3f, 0xc5, - 0xff, 0x20, 0x48, 0xd3, 0x26, 0x22, 0x32, 0x7a, 0x7b, 0xc9, 0xf7, 0xde, 0xeb, 0x7b, 0x5f, 0x1a, - 0xbd, 0xa0, 0x42, 0xd0, 0x1e, 0x52, 0xd2, 0xe9, 0x74, 0x86, 0x13, 0xda, 0x65, 0xa9, 0x02, 0x2d, - 0x46, 0xd5, 0x82, 0x4e, 0x29, 0x08, 0xaa, 0x88, 0xfc, 0xcc, 0xda, 0x66, 0xc7, 0x60, 0x8f, 0xa4, - 0x12, 0x46, 0xc4, 0x57, 0x33, 0x1b, 0x91, 0x4e, 0x23, 0x2f, 0x44, 0xbb, 0x0c, 0x79, 0xe1, 0xc5, - 0xf3, 0x63, 0xde, 0xc0, 0xc7, 0xc1, 0xfa, 0x36, 0x86, 0x28, 0x0a, 0x86, 0x71, 0xda, 0x98, 0x83, - 0x84, 0xd9, 0xfa, 0xe2, 0xd2, 0xe9, 0x24, 0x4b, 0x09, 0xe7, 0xc2, 0x10, 0xc3,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, 0xf9, 0xb7, 0xf0, 0xaa, 0x98, 0x2d, 0xf3, 0x4e, 0xa3, 0x19, 0x4e, 0xa8, 0xca, - 0x50, 0xe9, 0x98, 0xdf, 0x1d, 0xa7, 0xce, 0x3b, 0x5d, 0x7b, 0x4e, 0x5d, 0x65, 0xb5, 0xe7, 0xfc, - 0x08, 0xaf, 0xe7, 0x01, 0xc6, 0x79, 0xa7, 0x31, 0xf6, 0x2c, 0x8c, 0xab, 0x0c, 0x63, 0xcf, 0xdb, - 0xde, 0xb3, 0x61, 0x9f, 0xfd, 0x0a, 0x00, 0x00, 0xff, 0xff, 0xe4, 0x46, 0xa1, 0xd2, 0xdd, 0x02, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/google_ads_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/google_ads_field.pb.go deleted file mode 100644 index 377c4231..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/google_ads_field.pb.go +++ /dev/null @@ -1,260 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/google_ads_field.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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.v1.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"` - // At and beyond version V1 this field lists the names of all metrics that are - // selectable with the described artifact when it is used in the FROM clause. - // It is only set for artifacts whose category is RESOURCE. - // - // Before version V1 this field lists the names of all metrics that are - // selectable with the described artifact. It 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"` - // At and beyond version V1 this field lists the names of all artifacts, - // whether a segment or another resource, that segment metrics when included - // in search queries and when the described artifact is used in the FROM - // clause. It is only set for artifacts whose category is RESOURCE. - // - // Before version V1 this field lists the names of all artifacts, whether a - // segment or another resource, that segment metrics when included in search - // queries. It 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.v1.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_0c6569d4aa3b558c, []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 (m *GoogleAdsField) XXX_Merge(src proto.Message) { - xxx_messageInfo_GoogleAdsField.Merge(m, 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.v1.resources.GoogleAdsField") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/google_ads_field.proto", fileDescriptor_0c6569d4aa3b558c) -} - -var fileDescriptor_0c6569d4aa3b558c = []byte{ - // 582 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0xdf, 0x6a, 0x13, 0x41, - 0x14, 0xc6, 0x49, 0x52, 0x9b, 0xcd, 0xa4, 0x8d, 0x30, 0xbd, 0x59, 0x42, 0x91, 0x54, 0x29, 0xe4, - 0x6a, 0xd6, 0x54, 0xa8, 0x65, 0x4b, 0x85, 0x8d, 0xd6, 0x82, 0xa0, 0x84, 0x55, 0x23, 0x48, 0x60, - 0x99, 0x64, 0x4f, 0xb6, 0x03, 0xbb, 0x3b, 0xcb, 0xcc, 0x6c, 0x4a, 0xee, 0x7c, 0x16, 0x2f, 0xbd, - 0xf3, 0x35, 0x7c, 0x14, 0x9f, 0x42, 0xf6, 0xdf, 0xa4, 0xa5, 0xc6, 0xc4, 0xde, 0x9d, 0xcc, 0xf9, - 0x7e, 0xe7, 0x3b, 0x73, 0x72, 0x76, 0xd0, 0x59, 0xc0, 0x79, 0x10, 0x82, 0x45, 0x7d, 0x69, 0x15, - 0x61, 0x16, 0x2d, 0x06, 0x96, 0x00, 0xc9, 0x53, 0x31, 0x83, 0xea, 0xd8, 0xa3, 0xbe, 0xf4, 0xe6, - 0x0c, 0x42, 0x9f, 0x24, 0x82, 0x2b, 0x8e, 0x8f, 0x8a, 0x73, 0x42, 0x7d, 0x49, 0x34, 0x49, 0x16, - 0x03, 0xa2, 0xc9, 0xee, 0xc5, 0xba, 0xe2, 0x10, 0xa7, 0xd1, 0xfd, 0xc2, 0xde, 0x8c, 0x2a, 0x08, - 0xb8, 0x58, 0x16, 0x0e, 0xdd, 0x57, 0xff, 0x89, 0xfb, 0x54, 0x51, 0x4f, 0x2d, 0x13, 0x28, 0xf9, - 0xc3, 0x8a, 0x4f,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0x28, - 0x19, 0x0f, 0x88, 0x5e, 0xa6, 0x5f, 0x95, 0x66, 0xe2, 0xf8, 0x72, 0xa2, 0x35, 0x93, 0xf1, 0x60, - 0xa2, 0x35, 0xbf, 0xeb, 0xc7, 0x45, 0xc2, 0xb6, 0x1d, 0x5f, 0xda, 0xb6, 0x56, 0xd9, 0xf6, 0x78, - 0x60, 0xdb, 0x5a, 0x37, 0xdd, 0xcd, 0x9b, 0x7d, 0xf1, 0x27, 0x00, 0x00, 0xff, 0xff, 0x10, 0xdd, - 0xa2, 0x9d, 0xd9, 0x05, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/group_placement_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/group_placement_view.pb.go deleted file mode 100644 index 8cefda6a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/group_placement_view.pb.go +++ /dev/null @@ -1,146 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/group_placement_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A group placement view. -type GroupPlacementView struct { - // The resource name of the group placement view. - // Group placement view resource names have the form: - // - // - // `customers/{customer_id}/groupPlacementViews/{ad_group_id}~{base64_placement}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The automatic placement string at group level, e. g. web domain, mobile - // app ID, or a YouTube channel ID. - Placement *wrappers.StringValue `protobuf:"bytes,2,opt,name=placement,proto3" json:"placement,omitempty"` - // Domain name for websites and YouTube channel name for YouTube channels. - DisplayName *wrappers.StringValue `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // URL of the group placement, e.g. domain, link to the mobile application in - // app store, or a YouTube channel URL. - TargetUrl *wrappers.StringValue `protobuf:"bytes,4,opt,name=target_url,json=targetUrl,proto3" json:"target_url,omitempty"` - // Type of the placement, e.g. Website, YouTube Channel, Mobile Application. - PlacementType enums.PlacementTypeEnum_PlacementType `protobuf:"varint,5,opt,name=placement_type,json=placementType,proto3,enum=google.ads.googleads.v1.enums.PlacementTypeEnum_PlacementType" json:"placement_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GroupPlacementView) Reset() { *m = GroupPlacementView{} } -func (m *GroupPlacementView) String() string { return proto.CompactTextString(m) } -func (*GroupPlacementView) ProtoMessage() {} -func (*GroupPlacementView) Descriptor() ([]byte, []int) { - return fileDescriptor_40a38bfc66391954, []int{0} -} - -func (m *GroupPlacementView) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GroupPlacementView.Unmarshal(m, b) -} -func (m *GroupPlacementView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GroupPlacementView.Marshal(b, m, deterministic) -} -func (m *GroupPlacementView) XXX_Merge(src proto.Message) { - xxx_messageInfo_GroupPlacementView.Merge(m, src) -} -func (m *GroupPlacementView) XXX_Size() int { - return xxx_messageInfo_GroupPlacementView.Size(m) -} -func (m *GroupPlacementView) XXX_DiscardUnknown() { - xxx_messageInfo_GroupPlacementView.DiscardUnknown(m) -} - -var xxx_messageInfo_GroupPlacementView proto.InternalMessageInfo - -func (m *GroupPlacementView) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *GroupPlacementView) GetPlacement() *wrappers.StringValue { - if m != nil { - return m.Placement - } - return nil -} - -func (m *GroupPlacementView) GetDisplayName() *wrappers.StringValue { - if m != nil { - return m.DisplayName - } - return nil -} - -func (m *GroupPlacementView) GetTargetUrl() *wrappers.StringValue { - if m != nil { - return m.TargetUrl - } - return nil -} - -func (m *GroupPlacementView) GetPlacementType() enums.PlacementTypeEnum_PlacementType { - if m != nil { - return m.PlacementType - } - return enums.PlacementTypeEnum_UNSPECIFIED -} - -func init() { - proto.RegisterType((*GroupPlacementView)(nil), "google.ads.googleads.v1.resources.GroupPlacementView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/group_placement_view.proto", fileDescriptor_40a38bfc66391954) -} - -var fileDescriptor_40a38bfc66391954 = []byte{ - // 415 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0xdd, 0x8a, 0xd4, 0x30, - 0x14, 0xa6, 0x5d, 0x15, 0x36, 0xfb, 0x73, 0xd1, 0x1b, 0x87, 0x65, 0x91, 0x59, 0x65, 0x61, 0xae, - 0x12, 0x3a, 0xde, 0x65, 0x45, 0xe9, 0x82, 0x0c, 0x78, 0x21, 0x43, 0xd5, 0x5e, 0x48, 0xa1, 0x64, - 0xa7, 0xc7, 0x50, 0x68, 0x93, 0x90, 0xa4, 0x33, 0xcc, 0xbd, 0x4f, 0xe2, 0xa5, 0x8f, 0xe2, 0x23, - 0xf8, 0x08, 0x3e, 0x85, 0xb4, 0x69, 0xb2, 0x2e, 0xb2, 0xba, 0x77, 0x5f, 0x72, 0xbe, 0xef, 0x3b, - 0xe7, 0xe4, 0x0b, 0x7a, 0xc5, 0xa5, 0xe4, 0x2d, 0x10, 0x56, 0x1b, 0xe2, 0xe0, 0x80, 0xb6, 0x29, - 0xd1, 0x60, 0x64, 0xaf, 0x37, 0x60, 0x08, 0xd7, 0xb2, 0x57, 0x95, 0x6a, 0xd9, 0x06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x48, 0x1f, 0xf7, 0x0a, 0xde, 0x8a, 0xbe, 0xbb, 0x7b, 0x93, 0x9f, 0xa8, 0x3f, 0x8f, - 0xd7, 0x5f, 0x63, 0x74, 0xb9, 0x91, 0x1d, 0xfe, 0x6f, 0xf0, 0xd7, 0x4f, 0xff, 0xce, 0x60, 0x3d, - 0xec, 0xb0, 0x8e, 0x3e, 0xbf, 0x9b, 0xd4, 0x5c, 0xb6, 0x4c, 0x70, 0x2c, 0x35, 0x27, 0x1c, 0xc4, - 0xb8, 0xa1, 0xff, 0x23, 0xaa, 0x31, 0xff, 0xf8, 0x93, 0x57, 0x01, 0x7d, 0x8b, 0x0f, 0x56, 0x59, - 0xf6, 0x3d, 0xbe, 0x58, 0x39, 0xcb, 0xac, 0x36, 0xd8, 0xc1, 0x01, 0x15, 0x29, 0xce, 0x3d, 0xf3, - 0x87, 0xe7, 0x94, 0x59, 0x6d, 0xca, 0xc0, 0x29, 0x8b, 0xb4, 0x0c, 0x9c, 0x5f, 0xf1, 0xa5, 0x2b, - 0x50, 0x9a, 0xd5, 0x86, 0xd2, 0xc0, 0xa2, 0xb4, 0x48, 0x29, 0x0d, 0xbc, 0x9b, 0x27, 0xe3, 0xb0, - 0x2f, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0xc5, 0xb5, 0xb8, 0xa0, 0x3f, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/hotel_group_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/hotel_group_view.pb.go deleted file mode 100644 index 434e0133..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/hotel_group_view.pb.go +++ /dev/null @@ -1,96 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/hotel_group_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_fa913b710ae8e895, []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 (m *HotelGroupView) XXX_Merge(src proto.Message) { - xxx_messageInfo_HotelGroupView.Merge(m, 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.v1.resources.HotelGroupView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/hotel_group_view.proto", fileDescriptor_fa913b710ae8e895) -} - -var fileDescriptor_fa913b710ae8e895 = []byte{ - // 271 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0xb1, 0x4a, 0xc4, 0x30, - 0x18, 0xc7, 0x69, 0x05, 0xc1, 0xa2, 0x0e, 0xe7, 0x22, 0xe2, 0xe0, 0x29, 0x07, 0x4e, 0x09, 0x41, - 0x04, 0x89, 0x53, 0x6e, 0xa9, 0x38, 0xc8, 0x71, 0x43, 0x07, 0x29, 0x94, 0x78, 0x09, 0x31, 0xd0, - 0xe6, 0x2b, 0x49, 0xaf, 0xb7, 0xfa, 0x2c, 0x8e, 0x3e, 0x8a, 0x8f, 0xe2, 0x53, 0x48, 0x1a, 0x13, - 0x70, 0xd1, 0xed, 0x4f, 0xf2, 0xfb, 0xff, 0xbe, 0x8f, 0xaf, 0xb8, 0x53, 0x00, 0xaa, 0x95, 0x98, - 0x0b, 0x87, 0x43, 0xf4, 0x69, 0x24, 0xd8, 0x4a, 0x07, 0x5b, 0xbb, 0x91, 0x0e, 0xbf, 0xc2, 0x20, - 0xdb, 0x46, 0x59, 0xd8, 0xf6, 0xcd, 0xa8, 0xe5, 0x0e, 0xf5, 0x16, 0x06, 0x98, 0xcd, 0x03, 0x8e, - 0xb8, 0x70, 0x28, 0x35, 0xd1, 0x48, 0x50, 0x6a, 0x9e, 0x9d, 0x47, 0x79, 0xaf, 0x31, 0x37, 0x06, - 0x06, 0x3e, 0x68, 0x30, 0x2e, 0x08, 0x2e, 0x6f, 0x8b, 0xe3, 0x07, 0xaf, 0x2e, 0xbd, 0xb9, 0xd2, - 0x72, 0x37, 0xbb, 0x2a, 0x8e, 0x62, 0xb9, 0x31, 0xbc, 0x93, 0xa7, 0xd9, 0x45, 0x76, 0x7d, 0xb0, - 0x3e, 0x8c, 0x8f, 0x4f, 0xbc, 0x93, 0xcb, 0xb7, 0xbc, 0x58, 0x6c, 0xa0, 0x43, 0xff, 0x8e, 0x5f, - 0x9e, 0xfc, 0xd6, 0xaf, 0xfc, 0xd4, 0x55, 0xf6, 0xfc, 0xf8, 0xd3, 0x54, 0xd0, 0x72, 0xa3, 0x10, - 0x58, 0x85, 0x95, 0x34, 0xd3, 0x4e, 0xf1, 0x04, 0xbd, 0x76, 0x7f, 0x5c, 0xe4, 0x3e, 0xa5, 0xf7, - 0x7c, 0xaf, 0x64, 0xec, 0x23, 0x9f, 0x97, 0x41, 0xc9, 0x84, 0x43, 0x21, 0xfa, 0x54, 0x11, 0xb4, - 0x8e, 0xe4, 0x67, 0x64, 0x6a, 0x26, 0x5c, 0x9d, 0x98, 0xba, 0x22, 0x75, 0x62, 0xbe, 0xf2, 0x45, - 0xf8, 0xa0, 0x94, 0x09, 0x47, 0x69, 0xa2, 0x28, 0xad, 0x08, 0xa5, 0x89, 0x7b, 0xd9, 0x9f, 0x96, - 0xbd, 0xf9, 0x0e, 0x00, 0x00, 0xff, 0xff, 0xfa, 0xd7, 0x25, 0xfa, 0xbd, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/hotel_performance_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/hotel_performance_view.pb.go deleted file mode 100644 index ee0b515f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/hotel_performance_view.pb.go +++ /dev/null @@ -1,97 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/hotel_performance_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_fae7911ba81f9657, []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 (m *HotelPerformanceView) XXX_Merge(src proto.Message) { - xxx_messageInfo_HotelPerformanceView.Merge(m, 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.v1.resources.HotelPerformanceView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/hotel_performance_view.proto", fileDescriptor_fae7911ba81f9657) -} - -var fileDescriptor_fae7911ba81f9657 = []byte{ - // 278 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0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, 0x61, 0x14, 0x41, 0xab, 0xa8, 0x02, 0xb3, 0xdb, 0x17, 0x8e, 0xd2, 0x6b, 0xf7, - 0xcb, 0x8d, 0x96, 0x51, 0xbd, 0xa6, 0xff, 0xd6, 0x9c, 0xbf, 0xa5, 0xf3, 0xb5, 0x8f, 0xe4, 0xd2, - 0x11, 0x2f, 0x27, 0x55, 0xe6, 0x64, 0x13, 0xc8, 0xf7, 0xc0, 0x54, 0x5c, 0xba, 0x2a, 0x32, 0x55, - 0x99, 0x57, 0x91, 0xf9, 0x48, 0x17, 0xfe, 0x83, 0x31, 0x2e, 0x1d, 0x63, 0x91, 0x62, 0xac, 0xcc, - 0x19, 0x8b, 0xdc, 0xc3, 0xff, 0xdd, 0xd8, 0xab, 0xcf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x58, 0x95, - 0x1c, 0x0f, 0xcf, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/keyword_plan.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/keyword_plan.pb.go deleted file mode 100644 index 22551455..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/keyword_plan.pb.go +++ /dev/null @@ -1,229 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/keyword_plan.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v1/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A Keyword Planner plan. -// Max number of saved keyword plans: 10000. -// It's possible to remove plans if limit is reached. -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_b229f482c8618309, []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 (m *KeywordPlan) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlan.Merge(m, 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_b229f482c8618309, []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 (m *KeywordPlanForecastPeriod) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanForecastPeriod.Merge(m, 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.v1.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_OneofWrappers is for the internal use of the proto package. -func (*KeywordPlanForecastPeriod) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*KeywordPlanForecastPeriod_DateInterval)(nil), - (*KeywordPlanForecastPeriod_DateRange)(nil), - } -} - -func init() { - proto.RegisterType((*KeywordPlan)(nil), "google.ads.googleads.v1.resources.KeywordPlan") - proto.RegisterType((*KeywordPlanForecastPeriod)(nil), "google.ads.googleads.v1.resources.KeywordPlanForecastPeriod") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/keyword_plan.proto", fileDescriptor_b229f482c8618309) -} - -var fileDescriptor_b229f482c8618309 = []byte{ - // 484 bytes of a gzipped FileDescriptorProto - 0x1f, 0x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- 0x11, 0xba, 0xef, 0x26, 0x19, 0xfe, 0x0d, 0xd0, 0xfe, 0x8c, 0xd7, 0x77, 0x6f, 0x73, 0xf8, 0xf0, - 0x4a, 0xbb, 0xa3, 0xee, 0x62, 0xa3, 0xe0, 0xfc, 0xcc, 0xa6, 0x15, 0xbc, 0x22, 0xac, 0xc0, 0x5c, - 0x14, 0x71, 0x01, 0x4c, 0xdf, 0xd3, 0x3d, 0xe2, 0xa6, 0x94, 0xb7, 0xfc, 0x58, 0x6f, 0xbc, 0xf5, - 0x3d, 0x5c, 0x3e, 0xce, 0xb2, 0x1f, 0xe1, 0xee, 0xb1, 0x91, 0xcc, 0xa8, 0xc4, 0xc6, 0xec, 0xac, - 0x71, 0x82, 0x73, 0x47, 0xfe, 0x74, 0xcc, 0x24, 0xa3, 0x72, 0xe2, 0x99, 0xc9, 0x38, 0x99, 0x78, - 0xe6, 0x57, 0xb8, 0x6f, 0x02, 0x69, 0x9a, 0x51, 0x99, 0xa6, 0x9e, 0x4a, 0xd3, 0x71, 0x92, 0xa6, - 0x9e, 0xbb, 0xb8, 0xa7, 0x9b, 0x7d, 0xf5, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x93, 0x7a, 0x15, 0xc4, - 0x04, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/keyword_plan_ad_group.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/keyword_plan_ad_group.pb.go deleted file mode 100644 index 5d872cd7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/keyword_plan_ad_group.pb.go +++ /dev/null @@ -1,147 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/keyword_plan_ad_group.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A Keyword Planner ad group. -// Max number of keyword plan ad groups per plan: 200. -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_b67654cd741a0162, []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 (m *KeywordPlanAdGroup) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanAdGroup.Merge(m, 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.v1.resources.KeywordPlanAdGroup") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/keyword_plan_ad_group.proto", fileDescriptor_b67654cd741a0162) -} - -var fileDescriptor_b67654cd741a0162 = []byte{ - // 398 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xc1, 0xaa, 0xd4, 0x30, - 0x18, 0x85, 0x69, 0xee, 0x55, 0x30, 0x5e, 0x5d, 0x54, 0xc4, 0x72, 0xbd, 0xc8, 0x8c, 0x32, 0x30, - 0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x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/keyword_plan_campaign.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/keyword_plan_campaign.pb.go deleted file mode 100644 index d7004c25..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/keyword_plan_campaign.pb.go +++ /dev/null @@ -1,233 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/keyword_plan_campaign.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A Keyword Plan campaign. -// Max number of keyword plan campaigns per plan allowed: 1. -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. - // Max allowed: 1. - 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.v1.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. - // Max number allowed: 20. - 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_1f4e57860a6ad48d, []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 (m *KeywordPlanCampaign) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanCampaign.Merge(m, 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_1f4e57860a6ad48d, []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 (m *KeywordPlanGeoTarget) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanGeoTarget.Merge(m, 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.v1.resources.KeywordPlanCampaign") - proto.RegisterType((*KeywordPlanGeoTarget)(nil), "google.ads.googleads.v1.resources.KeywordPlanGeoTarget") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/keyword_plan_campaign.proto", fileDescriptor_1f4e57860a6ad48d) -} - -var fileDescriptor_1f4e57860a6ad48d = []byte{ - // 523 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xd1, 0x8a, 0x13, 0x31, - 0x14, 0x86, 0xe9, 0xb4, 0xae, 0x9a, 0xd6, 0x05, 0xb3, 0x7b, 0x31, 0xac, 0x8b, 0x74, 0x57, 0x16, - 0x0a, 0x42, 0xc6, 0xae, 0xa2, 0x32, 0x22, 0x32, 0x5d, 0xa4, 0xea, 0xea, 0x52, 0xaa, 0x14, 0x91, - 0xc2, 0x90, 0x4e, 0x62, 0x08, 0xed, 0x24, 0x43, 0x92, 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3, 0x7d, 0x1e, 0xad, 0xba, 0x8c, 0x1a, 0x9f, 0xde, 0x94, 0x38, - 0x93, 0xab, 0x05, 0x23, 0xa9, 0x58, 0xc0, 0xa8, 0xb0, 0x1e, 0xdc, 0xb3, 0xcb, 0xb8, 0xfe, 0xc7, - 0x3b, 0x7f, 0x56, 0x45, 0xdf, 0xbd, 0xe6, 0x30, 0x8a, 0x7e, 0x78, 0x07, 0xc3, 0xa2, 0x64, 0x44, - 0x34, 0x2a, 0xc2, 0x55, 0x34, 0xe9, 0xa3, 0xb1, 0x53, 0xfe, 0x72, 0x9a, 0x69, 0x44, 0xf4, 0xb4, - 0xd2, 0x4c, 0x27, 0xfd, 0x69, 0xa5, 0xf9, 0xed, 0x1d, 0x15, 0x89, 0x30, 0x8c, 0x88, 0x0e, 0xc3, - 0x4a, 0x15, 0x86, 0x93, 0x7e, 0x18, 0x56, 0xba, 0xd9, 0x96, 0x35, 0xfb, 0xf0, 0x4f, 0x00, 0x00, - 0x00, 0xff, 0xff, 0xe9, 0xdf, 0x0e, 0x07, 0x93, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/keyword_plan_keyword.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/keyword_plan_keyword.pb.go deleted file mode 100644 index 3d025688..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/keyword_plan_keyword.pb.go +++ /dev/null @@ -1,157 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/keyword_plan_keyword.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A Keyword Plan ad group keyword. -// Max number of keyword plan keywords per plan: 2500. -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.v1.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_50ba98432990bcb2, []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 (m *KeywordPlanKeyword) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanKeyword.Merge(m, 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.v1.resources.KeywordPlanKeyword") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/keyword_plan_keyword.proto", fileDescriptor_50ba98432990bcb2) -} - -var fileDescriptor_50ba98432990bcb2 = []byte{ - // 453 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xd1,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29, 0x6e, 0xfe, 0xb1, 0xce, 0xcf, 0x07, 0xf5, - 0x23, 0x1c, 0xcd, 0xb2, 0xec, 0x67, 0x78, 0x3c, 0xeb, 0x53, 0x66, 0xd4, 0xa0, 0x5e, 0xb6, 0x6a, - 0x99, 0xa0, 0x85, 0x77, 0xfe, 0xf2, 0x9e, 0x3c, 0xa3, 0x26, 0x1f, 0x3c, 0xf9, 0x32, 0xc9, 0x07, - 0xcf, 0xef, 0xf0, 0xa4, 0x0f, 0xa4, 0x69, 0x46, 0x4d, 0x9a, 0x0e, 0xae, 0x34, 0x5d, 0x26, 0x69, - 0x3a, 0xf8, 0x56, 0xbb, 0xdd, 0x63, 0x9f, 0xfe, 0x09, 0x00, 0x00, 0xff, 0xff, 0x9a, 0xcd, 0x03, - 0x95, 0x7a, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/keyword_plan_negative_keyword.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/keyword_plan_negative_keyword.pb.go deleted file mode 100644 index 75dc4ad1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/keyword_plan_negative_keyword.pb.go +++ /dev/null @@ -1,147 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/keyword_plan_negative_keyword.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A Keyword Plan negative keyword. -// Max number of keyword plan negative keywords per plan: 1000. -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.v1.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_bc44a5c087ed7942, []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 (m *KeywordPlanNegativeKeyword) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanNegativeKeyword.Merge(m, 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.v1.resources.KeywordPlanNegativeKeyword") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/keyword_plan_negative_keyword.proto", fileDescriptor_bc44a5c087ed7942) -} - -var fileDescriptor_bc44a5c087ed7942 = []byte{ - // 436 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0xdd, 0x6a, 0x14, 0x31, - 0x18, 0x65, 0xa6, 0x55, 0x68, 0xfc, 0xb9, 0x18, 0x11, 0x86, 0xb5, 0xe8, 0x56, 0x29, 0x2c, 0x08, - 0x19, 0xa7, 0x4a, 0x2f, 0xc6, 0xab, 0xa9, 0x96, 0xa2, 0x62, 0x59, 0x56, 0xd9, 0x0b, 0x59, 0x18, - 0xd2, 0x49, 0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a, 0x79, 0x5e, 0x14, 0x03, - 0xef, 0xe2, 0x66, 0xdf, 0xec, 0xf3, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xc9, 0x48, 0xd1, 0x7b, - 0x51, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/keyword_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/keyword_view.pb.go deleted file mode 100644 index d0e0a548..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/keyword_view.pb.go +++ /dev/null @@ -1,96 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/keyword_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_4c4b375a791b3e16, []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 (m *KeywordView) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordView.Merge(m, 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.v1.resources.KeywordView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/keyword_view.proto", fileDescriptor_4c4b375a791b3e16) -} - -var fileDescriptor_4c4b375a791b3e16 = []byte{ - // 266 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0x41, 0x4a, 0xc4, 0x30, - 0x14, 0x86, 0x69, 0x05, 0xc1, 0xaa, 0x20, 0xb3, 0x12, 0x71, 0xe1, 0x28, 0x03, 0xae, 0x12, 0xa2, - 0xae, 0xe2, 0x2a, 0xb3, 0x19, 0x50, 0x90, 0x61, 0x16, 0x5d, 0x48, 0x61, 0x88, 0x93, 0x10, 0x82, - 0xd3, 0xbc, 0x92, 0x57, 0x5b, 0xbc, 0x8e, 0x4b, 0x8f, 0xe2, 0x51, 0xbc, 0x83, 0x20, 0x6d, 0x4c, - 0x70, 0xa5, 0xbb, 0x9f, 0xe4, 0xfb, 0xbf, 0xf7, 0x92, 0xe2, 0xc6, 0x00, 0x98, 0xad, 0xa6, 0x52, - 0x21, 0x0d, 0x71, 0x48, 0x1d, 0xa3, 0x5e, 0x23, 0xbc, 0xf8, 0x8d, 0x46, 0xfa, 0xac, 0x5f, 0x7b, - 0xf0, 0x6a, 0xdd, 0x59, 0xdd, 0x93, 0xc6, 0x43, 0x0b, 0x93, 0x69, 0x40, 0x89, 0x54, 0x48, 0x52, - 0x8b, 0x74, 0x8c, 0xa4, 0xd6, 0xc9, 0x69, 0x14, 0x37, 0x96, 0x4a, 0xe7, 0xa0, 0x95, 0xad, 0x05, - 0x87, 0x41, 0x70, 0x7e, 0x55, 0xec, 0xdf, 0x07, 0x6d, 0x69, 0x75, 0x3f, 0xb9, 0x28, 0x0e, 0x63, - 0x73, 0xed, 0x64, 0xad, 0x8f, 0xb3, 0xb3, 0xec, 0x72, 0x6f, 0x75, 0x10, 0x0f, 0x1f, 0x64, 0xad, - 0xe7, 0x5f, 0x59, 0x31, 0xdb, 0x40, 0x4d, 0xfe, 0x9d, 0x3d, 0x3f, 0xfa, 0xe5, 0x5e, 0x0e, 0xf3, - 0x96, 0xd9, 0xe3, 0xdd, 0x4f, 0xcd, 0xc0, 0x56, 0x3a, 0x43, 0xc0, 0x1b, 0x6a, 0xb4, 0x1b, 0xb7, - 0x89, 0x0f, 0x6f, 0x2c, 0xfe, 0xf1, 0x0f, 0xb7, 0x29, 0xbd, 0xe5, 0x3b, 0x0b, 0x21, 0xde, 0xf3, - 0xe9, 0x22, 0x28, 0x85, 0x42, 0x12, 0xe2, 0x90, 0x4a, 0x46, 0x56, 0x91, 0xfc, 0x88, 0x4c, 0x25, - 0x14, 0x56, 0x89, 0xa9, 0x4a, 0x56, 0x25, 0xe6, 0x33, 0x9f, 0x85, 0x0b, 0xce, 0x85, 0x42, 0xce, - 0x13, 0xc5, 0x79, 0xc9, 0x38, 0x4f, 0xdc, 0xd3, 0xee, 0xb8, 0xec, 0xf5, 0x77, 0x00, 0x00, 0x00, - 0xff, 0xff, 0x68, 0xdd, 0x79, 0x36, 0xb3, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/label.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/label.pb.go deleted file mode 100644 index e6091ed9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/label.pb.go +++ /dev/null @@ -1,147 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/label.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v1/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A label. -type Label struct { - // Name of the resource. - // Label resource names have the form: - // `customers/{customer_id}/labels/{label_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // Id of the label. Read only. - Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // The name of the label. - // - // This field is required and should not be empty when creating a new label. - // - // The length of this string should be between 1 and 80, inclusive. - Name *wrappers.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - // Status of the label. Read only. - Status enums.LabelStatusEnum_LabelStatus `protobuf:"varint,4,opt,name=status,proto3,enum=google.ads.googleads.v1.enums.LabelStatusEnum_LabelStatus" json:"status,omitempty"` - // A type of label displaying text on a colored background. - TextLabel *common.TextLabel `protobuf:"bytes,5,opt,name=text_label,json=textLabel,proto3" json:"text_label,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Label) Reset() { *m = Label{} } -func (m *Label) String() string { return proto.CompactTextString(m) } -func (*Label) ProtoMessage() {} -func (*Label) Descriptor() ([]byte, []int) { - return fileDescriptor_b4f50cd20a4c405a, []int{0} -} - -func (m *Label) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Label.Unmarshal(m, b) -} -func (m *Label) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Label.Marshal(b, m, deterministic) -} -func (m *Label) XXX_Merge(src proto.Message) { - xxx_messageInfo_Label.Merge(m, src) -} -func (m *Label) XXX_Size() int { - return xxx_messageInfo_Label.Size(m) -} -func (m *Label) XXX_DiscardUnknown() { - xxx_messageInfo_Label.DiscardUnknown(m) -} - -var xxx_messageInfo_Label proto.InternalMessageInfo - -func (m *Label) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *Label) GetId() *wrappers.Int64Value { - if m != nil { - return m.Id - } - return nil -} - -func (m *Label) GetName() *wrappers.StringValue { - if m != nil { - return m.Name - } - return nil -} - -func (m *Label) GetStatus() enums.LabelStatusEnum_LabelStatus { - if m != nil { - return m.Status - } - return enums.LabelStatusEnum_UNSPECIFIED -} - -func (m *Label) GetTextLabel() *common.TextLabel { - if m != nil { - return m.TextLabel - } - return nil -} - -func init() { - proto.RegisterType((*Label)(nil), "google.ads.googleads.v1.resources.Label") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/label.proto", fileDescriptor_b4f50cd20a4c405a) -} - -var fileDescriptor_b4f50cd20a4c405a = []byte{ - // 411 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xcb, 0x8a, 0xdb, 0x30, - 0x18, 0x85, 0xb1, 0x73, 0x81, 0xa8, 0x97, 0x85, 0x57, 0x26, 0x0d, 0x25, 0x69, 0x09, 0xa4, 0x94, - 0x4a, 0x71, 0x5a, 0xba, 0x50, 0x57, 0x0e, 0x94, 0xb4, 0xa5, 0x94, 0xe0, 0x14, 0x2f, 0x8a, 0x21, - 0x28, 0xb1, 0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 0xd8, 0x59, 0x82, 0xbe, 0x0a, 0xea, 0x29, - 0x7c, 0x72, 0x0f, 0xdf, 0xc9, 0x32, 0x65, 0x89, 0xe6, 0x15, 0xe9, 0x04, 0x60, 0xa8, 0x67, 0x73, - 0xfb, 0x53, 0x6b, 0xf1, 0x7c, 0x85, 0x61, 0xd7, 0x8a, 0xd5, 0x3a, 0xa0, 0xea, 0x7c, 0xa7, 0x1c, - 0x9f, 0x59, 0x95, 0x5f, 0xbe, 0x83, 0x26, 0xc9, 0xf9, 0x02, 0xc0, 0xdd, 0x96, 0xdd, 0x81, 0xea, - 0xe5, 0x4d, 0x67, 0xae, 0xbe, 0x0b, 0xfc, 0x49, 0xcf, 0x52, 0x85, 0x05, 0x23, 0x69, 0xe4, 0xfa, - 0xc6, 0x02, 0xf3, 0x23, 0xcf, 0xe1, 0xa3, 0x67, 0x5f, 0x03, 0x65, 0xd8, 0xd6, 0x83, 0x6e, 0xad, - 0x5f, 0xdf, 0x1a, 0x43, 0xc2, 0x33, 0xc2, 0x12, 0xc8, 0xcb, 0x04, 0x25, 0x94, 0xa9, 0x35, 0x98, - 0x1b, 0x17, 0xa9, 0x78, 0xe0, 0xab, 0xfb, 0xd4, 0xaa, 0xbf, 0x76, 0x6f, 0xe3, 0xfb, 0xff, 0xed, - 0xd9, 0x46, 0x47, 0xfa, 0xb1, 0x80, 0x5a, 0xd6, 0x2a, 0xf4, 0x60, 0x60, 0xc8, 0x2b, 0xc3, 0x44, - 0x7e, 0x2c, 0xa2, 0x96, 0x89, 0x42, 0x2f, 0x6a, 0x99, 0x6b, 0x7b, 0xae, 0x0b, 0x18, 0xfb, 0xb1, - 0xc0, 0xb8, 0xa5, 0x30, 0x0e, 0x3d, 0x8c, 0x5b, 0xee, 0x30, 0x54, 0xcd, 0xbe, 0xbf, 0x0d, 0x00, - 0x00, 0xff, 0xff, 0x86, 0xb3, 0x62, 0x11, 0x21, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/landing_page_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/landing_page_view.pb.go deleted file mode 100644 index d481e077..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/landing_page_view.pb.go +++ /dev/null @@ -1,113 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/landing_page_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A landing page view with metrics aggregated at the unexpanded final URL -// level. -type LandingPageView struct { - // The resource name of the landing page view. - // Landing page view resource names have the form: - // - // - // `customers/{customer_id}/landingPageViews/{unexpanded_final_url_fingerprint}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The advertiser-specified final URL. - UnexpandedFinalUrl *wrappers.StringValue `protobuf:"bytes,2,opt,name=unexpanded_final_url,json=unexpandedFinalUrl,proto3" json:"unexpanded_final_url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LandingPageView) Reset() { *m = LandingPageView{} } -func (m *LandingPageView) String() string { return proto.CompactTextString(m) } -func (*LandingPageView) ProtoMessage() {} -func (*LandingPageView) Descriptor() ([]byte, []int) { - return fileDescriptor_0dcfa31285588a3a, []int{0} -} - -func (m *LandingPageView) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LandingPageView.Unmarshal(m, b) -} -func (m *LandingPageView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LandingPageView.Marshal(b, m, deterministic) -} -func (m *LandingPageView) XXX_Merge(src proto.Message) { - xxx_messageInfo_LandingPageView.Merge(m, src) -} -func (m *LandingPageView) XXX_Size() int { - return xxx_messageInfo_LandingPageView.Size(m) -} -func (m *LandingPageView) XXX_DiscardUnknown() { - xxx_messageInfo_LandingPageView.DiscardUnknown(m) -} - -var xxx_messageInfo_LandingPageView proto.InternalMessageInfo - -func (m *LandingPageView) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *LandingPageView) GetUnexpandedFinalUrl() *wrappers.StringValue { - if m != nil { - return m.UnexpandedFinalUrl - } - return nil -} - -func init() { - proto.RegisterType((*LandingPageView)(nil), "google.ads.googleads.v1.resources.LandingPageView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/landing_page_view.proto", fileDescriptor_0dcfa31285588a3a) -} - -var fileDescriptor_0dcfa31285588a3a = []byte{ - // 340 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0x41, 0x4b, 0xc3, 0x30, - 0x18, 0x86, 0x69, 0x05, 0xc1, 0xaa, 0x08, 0x65, 0x87, 0x31, 0x86, 0x6c, 0xca, 0x60, 0xa7, 0x94, - 0xea, 0xc9, 0x78, 0xea, 0x0e, 0x0e, 0x44, 0xc6, 0x98, 0xd8, 0x83, 0x14, 0xca, 0xb7, 0xe5, 0x5b, - 0x08, 0x74, 0x49, 0x49, 0xda, 0xcd, 0xab, 0x17, 0x7f, 0x88, 0x47, 0x7f, 0x8a, 0x3f, 0xc5, 0x5f, - 0x21, 0x5d, 0xdb, 0x08, 0x1e, 0xf4, 0xf6, 0xb6, 0xdf, 0xf3, 0xbe, 0xdf, 0x9b, 0xc4, 0xbb, 0xe1, - 0x4a, 0xf1, 0x0c, 0x03, 0x60, 0x26, 0xa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0x8f, 0x57, 0xb8, - 0xb5, 0xea, 0xdd, 0x3d, 0x98, 0x46, 0xd1, 0x87, 0x3b, 0x9c, 0xd6, 0x91, 0x11, 0x33, 0xa4, 0x96, - 0x95, 0x8a, 0x43, 0xb2, 0x68, 0xc9, 0xcf, 0x96, 0x49, 0x22, 0x66, 0x12, 0xcb, 0x24, 0x71, 0x98, - 0x58, 0xe6, 0xcb, 0x1d, 0xd5, 0x03, 0x4a, 0x23, 0x66, 0x28, 0xb5, 0x14, 0xa5, 0x71, 0x48, 0xa9, - 0xe5, 0x96, 0x87, 0xfb, 0xb2, 0xd7, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x72, 0xa7, 0xcc, 0x68, - 0x31, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/language_constant.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/language_constant.pb.go deleted file mode 100644 index aff49051..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/language_constant.pb.go +++ /dev/null @@ -1,141 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/language_constant.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // 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"` - // Whether the language is targetable. - Targetable *wrappers.BoolValue `protobuf:"bytes,5,opt,name=targetable,proto3" json:"targetable,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_74e5fb6fb55865cb, []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 (m *LanguageConstant) XXX_Merge(src proto.Message) { - xxx_messageInfo_LanguageConstant.Merge(m, 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 (m *LanguageConstant) GetTargetable() *wrappers.BoolValue { - if m != nil { - return m.Targetable - } - return nil -} - -func init() { - proto.RegisterType((*LanguageConstant)(nil), "google.ads.googleads.v1.resources.LanguageConstant") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/language_constant.proto", fileDescriptor_74e5fb6fb55865cb) -} - -var fileDescriptor_74e5fb6fb55865cb = []byte{ - // 371 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xd1, 0x4a, 0xeb, 0x30, - 0x1c, 0xc6, 0x69, 0xb6, 0x73, 0xe0, 0xe4, 0x9c, 0x03, 0x52, 0x10, 0xca, 0x1c, 0xb2, 0x29, 0x83, - 0x81, 0x90, 0x5a, 0x15, 0xc1, 0x78, 0xd5, 0x79, 0x31, 0x14, 0x91, 0x31, 0xa1, 0x17, 0x52, 0x18, - 0x59, 0x13, 0x43, 0xa1, 0x4b, 0x4a, 0x92, 0xce, 0x7b, 0xf1, 0x49, 0xbc, 0xf4, 0x51, 0x7c, 0x14, - 0x9f, 0x42, 0xda, 0xb4, 0x45, 0x1c, 0xa8, 0x77, 0x5f, 0xfb, 0xff, 0x7d, 0xdf, 0x17, 0xf2, 0x0f, - 0x3c, 0xe3, 0x52, 0xf2, 0x8c, 0xf9, 0x84, 0x6a, 0xdf, 0xca, 0x52, 0xad, 0x03, 0x5f, 0x31, 0x2d, - 0x0b, 0x95, 0x30, 0xed, 0x67, 0x44, 0xf0, 0x82, 0x70, 0xb6, 0x48, 0xa4, 0xd0, 0x86, 0x08, 0x83, - 0x72, 0x25, 0x8d, 0x74, 0x87, 0x96, 0x47, 0x84, 0x6a, 0xd4, 0x5a, 0xd1, 0x3a, 0x40, 0xad, 0xb5, - 0xd7, 0x6f, 0xd2, 0xf3, 0xd4, 0x27, 0x42, 0x48, 0x43, 0x4c, 0x2a, 0x85, 0xb6, 0x01, 0xbd, 0xdd, - 0x7a,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x87, 0x54, 0xc7, 0x2d, 0x13, 0x47, 0x41, 0xdc, - 0x32, 0x6f, 0x60, 0x64, 0x07, 0x18, 0x87, 0x54, 0x63, 0xdc, 0x52, 0x18, 0x47, 0x01, 0xc6, 0x2d, - 0xb7, 0xfc, 0x5d, 0x1d, 0xf6, 0xf8, 0x3d, 0x00, 0x00, 0xff, 0xff, 0xe2, 0xa3, 0xed, 0xf7, 0xb0, - 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/location_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/location_view.pb.go deleted file mode 100644 index 86a36669..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/location_view.pb.go +++ /dev/null @@ -1,97 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/location_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A location view summarizes the performance of campaigns by -// Location criteria. -type LocationView struct { - // The resource name of the location view. - // Location view resource names have the form: - // - // `customers/{customer_id}/locationViews/{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 *LocationView) Reset() { *m = LocationView{} } -func (m *LocationView) String() string { return proto.CompactTextString(m) } -func (*LocationView) ProtoMessage() {} -func (*LocationView) Descriptor() ([]byte, []int) { - return fileDescriptor_3aa3d275dc2bd5c6, []int{0} -} - -func (m *LocationView) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LocationView.Unmarshal(m, b) -} -func (m *LocationView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LocationView.Marshal(b, m, deterministic) -} -func (m *LocationView) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocationView.Merge(m, src) -} -func (m *LocationView) XXX_Size() int { - return xxx_messageInfo_LocationView.Size(m) -} -func (m *LocationView) XXX_DiscardUnknown() { - xxx_messageInfo_LocationView.DiscardUnknown(m) -} - -var xxx_messageInfo_LocationView proto.InternalMessageInfo - -func (m *LocationView) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*LocationView)(nil), "google.ads.googleads.v1.resources.LocationView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/location_view.proto", fileDescriptor_3aa3d275dc2bd5c6) -} - -var fileDescriptor_3aa3d275dc2bd5c6 = []byte{ - // 264 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, 0x43, 0xfd, 0xa2, 0xd4, - 0xe2, 0xfc, 0xd2, 0xa2, 0xe4, 0xd4, 0x62, 0xfd, 0x9c, 0xfc, 0xe4, 0xc4, 0x92, 0xcc, 0xfc, 0xbc, - 0xf8, 0xb2, 0xcc, 0xd4, 0x72, 0xbd, 0x82, 0xa2, 0xfc, 0x92, 0x7c, 0x21, 0x45, 0x88, 0x5a, 0xbd, - 0xc4, 0x94, 0x62, 0x3d, 0xb8, 0x36, 0xbd, 0x32, 0x43, 0x3d, 0xb8, 0x36, 0x29, 0x19, 0x98, 0xc9, - 0x05, 0x99, 0xfa, 0x89, 0x79, 0x79, 0xf9, 0x25, 0x60, 0x43, 0x8a, 0x21, 0x06, 0x28, 0x19, 0x73, - 0xf1, 0xf8, 0x40, 0xcd, 0x0d, 0xcb, 0x4c, 0x2d, 0x17, 0x52, 0xe6, 0xe2, 0x85, 0x69, 0x8d, 0xcf, - 0x4b, 0xcc, 0x4d, 0x95, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x0c, 0xe2, 0x81, 0x09, 0xfa, 0x25, 0xe6, - 0xa6, 0x3a, 0xfd, 0x63, 0xe4, 0x52, 0x4d, 0xce, 0xcf, 0xd5, 0x23, 0x68, 0xb9, 0x93, 0x20, 0xb2, - 0xe1, 0x01, 0x20, 0x1b, 0x03, 0x18, 0xa3, 0xbc, 0xa0, 0xfa, 0xd2, 0xf3, 0x73, 0x12, 0xf3, 0xd2, - 0xf5, 0xf2, 0x8b, 0xd2, 0xf5, 0xd3, 0x53, 0xf3, 0xc0, 0xee, 0x81, 0xf9, 0xbd, 0x20, 0xb3, 0x18, - 0x4f, 0x50, 0x58, 0xc3, 0x59, 0x8b, 0x98, 0x98, 0xdd, 0x1d, 0x1d, 0x57, 0x31, 0x29, 0xba, 0x43, - 0x8c, 0x74, 0x4c, 0x29, 0xd6, 0x83, 0x30, 0x41, 0xac, 0x30, 0x43, 0xbd, 0x20, 0x98, 0xca, 0x53, - 0x30, 0x35, 0x31, 0x8e, 0x29, 0xc5, 0x31, 0x70, 0x35, 0x31, 0x61, 0x86, 0x31, 0x70, 0x35, 0xaf, - 0x98, 0x54, 0x21, 0x12, 0x56, 0x56, 0x8e, 0x29, 0xc5, 0x56, 0x56, 0x70, 0x55, 0x56, 0x56, 0x61, - 0x86, 0x56, 0x56, 0x70, 0x75, 0x49, 0x6c, 0x60, 0xc7, 0x1a, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, - 0x98, 0x19, 0x68, 0x8b, 0xb6, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/managed_placement_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/managed_placement_view.pb.go deleted file mode 100644 index b5d29e40..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/managed_placement_view.pb.go +++ /dev/null @@ -1,98 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/managed_placement_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_6953f60267bddfaf, []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 (m *ManagedPlacementView) XXX_Merge(src proto.Message) { - xxx_messageInfo_ManagedPlacementView.Merge(m, 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.v1.resources.ManagedPlacementView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/managed_placement_view.proto", fileDescriptor_6953f60267bddfaf) -} - -var fileDescriptor_6953f60267bddfaf = []byte{ - // 275 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0x4f, 0x4a, 0xc4, 0x30, - 0x14, 0xc6, 0x99, 0x0a, 0x82, 0x45, 0x37, 0x83, 0x0b, 0x15, 0x17, 0x8e, 0x32, 0xe0, 0x2a, 0xa1, - 0xb8, 0xcb, 0x80, 0xd0, 0xd9, 0x0c, 0x08, 0x4a, 0x99, 0x45, 0x17, 0x52, 0x28, 0xcf, 0xe6, 0x11, - 0x02, 0x4d, 0x5e, 0x69, 0x6a, 0xe7, 0x06, 0x1e, 0xc4, 0xa5, 0x47, 0xf1, 0x28, 0x9e, 0x42, 0x3a, - 0x31, 0x59, 0x89, 0xee, 0x3e, 0x92, 0xdf, 0xf7, 0x87, 0x97, 0xde, 0x2b, 0x22, 0xd5, 0x22, 0x07, - 0xe9, 0xb8, 0x97, 0x93, 0x1a, 0x33, 0xde, 0xa3, 0xa3, 0xd7, 0xbe, 0x41, 0xc7, 0x0d, 0x58, 0x50, - 0x28, 0xeb, 0xae, 0x85, 0x06, 0x0d, 0xda, 0xa1, 0x1e, 0x35, 0xee, 0x58, 0xd7, 0xd3, 0x40, 0xf3, - 0x85, 0x37, 0x31, 0x90, 0x8e, 0x45, 0x3f, 0x1b, 0x33, 0x16, 0xfd, 0x17, 0x97, 0xa1, 0xa2, 0xd3, - 0x1c, 0xac, 0xa5, 0x01, 0x06, 0x4d, 0xd6, 0xf9, 0x80, 0xeb, 0x55, 0x7a, 0xfa, 0xe8, 0x0b, 0x8a, - 0x90, 0x5f, 0x6a, 0xdc, 0xcd, 0x6f, 0xd2, 0x93, 0x10, 0x51, 0x5b, 0x30, 0x78, 0x36, 0xbb, 0x9a, - 0xdd, 0x1e, 0x6d, 0x8f, 0xc3, 0xe3, 0x13, 0x18, 0x5c, 0xbf, 0x25, 0xe9, 0xb2, 0x21, 0xc3, 0xfe, - 0x1d, 0xb1, 0x3e, 0xff, 0xad, 0xa4, 0x98, 0x16, 0x14, 0xb3, 0xe7, 0x87, 0x1f, 0xbf, 0xa2, 0x16, - 0xac, 0x62, 0xd4, 0x2b, 0xae, 0xd0, 0xee, 0xf7, 0x85, 0xa3, 0x74, 0xda, 0xfd, 0x71, 0xa3, 0x55, - 0x54, 0xef, 0xc9, 0xc1, 0x26, 0xcf, 0x3f, 0x92, 0xc5, 0xc6, 0x47, 0xe6, 0xd2, 0x31, 0x2f, 0x27, - 0x55, 0x66, 0x6c, 0x1b, 0xc8, 0xcf, 0xc0, 0x54, 0xb9, 0x74, 0x55, 0x64, 0xaa, 0x32, 0xab, 0x22, - 0xf3, 0x95, 0x2c, 0xfd, 0x87, 0x10, 0xb9, 0x74, 0x42, 0x44, 0x4a, 0x88, 0x32, 0x13, 0x22, 0x72, - 0x2f, 0x87, 0xfb, 0xb1, 0x77, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x9c, 0xab, 0x80, 0xb1, 0xcf, - 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/media_file.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/media_file.pb.go deleted file mode 100644 index c4152c48..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/media_file.pb.go +++ /dev/null @@ -1,459 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/media_file.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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.v1.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.v1.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 - // *MediaFile_Audio - // *MediaFile_Video - 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_7ffee613242502eb, []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 (m *MediaFile) XXX_Merge(src proto.Message) { - xxx_messageInfo_MediaFile.Merge(m, 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"` -} - -type MediaFile_Audio struct { - Audio *MediaAudio `protobuf:"bytes,10,opt,name=audio,proto3,oneof"` -} - -type MediaFile_Video struct { - Video *MediaVideo `protobuf:"bytes,11,opt,name=video,proto3,oneof"` -} - -func (*MediaFile_Image) isMediaFile_Mediatype() {} - -func (*MediaFile_MediaBundle) isMediaFile_Mediatype() {} - -func (*MediaFile_Audio) isMediaFile_Mediatype() {} - -func (*MediaFile_Video) 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 -} - -func (m *MediaFile) GetAudio() *MediaAudio { - if x, ok := m.GetMediatype().(*MediaFile_Audio); ok { - return x.Audio - } - return nil -} - -func (m *MediaFile) GetVideo() *MediaVideo { - if x, ok := m.GetMediatype().(*MediaFile_Video); ok { - return x.Video - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*MediaFile) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*MediaFile_Image)(nil), - (*MediaFile_MediaBundle)(nil), - (*MediaFile_Audio)(nil), - (*MediaFile_Video)(nil), - } -} - -// 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_7ffee613242502eb, []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 (m *MediaImage) XXX_Merge(src proto.Message) { - xxx_messageInfo_MediaImage.Merge(m, 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_7ffee613242502eb, []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 (m *MediaBundle) XXX_Merge(src proto.Message) { - xxx_messageInfo_MediaBundle.Merge(m, 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 -} - -// Encapsulates an Audio. -type MediaAudio struct { - // The duration of the Audio in milliseconds. - AdDurationMillis *wrappers.Int64Value `protobuf:"bytes,1,opt,name=ad_duration_millis,json=adDurationMillis,proto3" json:"ad_duration_millis,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MediaAudio) Reset() { *m = MediaAudio{} } -func (m *MediaAudio) String() string { return proto.CompactTextString(m) } -func (*MediaAudio) ProtoMessage() {} -func (*MediaAudio) Descriptor() ([]byte, []int) { - return fileDescriptor_7ffee613242502eb, []int{3} -} - -func (m *MediaAudio) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MediaAudio.Unmarshal(m, b) -} -func (m *MediaAudio) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MediaAudio.Marshal(b, m, deterministic) -} -func (m *MediaAudio) XXX_Merge(src proto.Message) { - xxx_messageInfo_MediaAudio.Merge(m, src) -} -func (m *MediaAudio) XXX_Size() int { - return xxx_messageInfo_MediaAudio.Size(m) -} -func (m *MediaAudio) XXX_DiscardUnknown() { - xxx_messageInfo_MediaAudio.DiscardUnknown(m) -} - -var xxx_messageInfo_MediaAudio proto.InternalMessageInfo - -func (m *MediaAudio) GetAdDurationMillis() *wrappers.Int64Value { - if m != nil { - return m.AdDurationMillis - } - return nil -} - -// Encapsulates a Video. -type MediaVideo struct { - // The duration of the Video in milliseconds. - AdDurationMillis *wrappers.Int64Value `protobuf:"bytes,1,opt,name=ad_duration_millis,json=adDurationMillis,proto3" json:"ad_duration_millis,omitempty"` - // The YouTube video ID (as seen in YouTube URLs). - YoutubeVideoId *wrappers.StringValue `protobuf:"bytes,2,opt,name=youtube_video_id,json=youtubeVideoId,proto3" json:"youtube_video_id,omitempty"` - // The Advertising Digital Identification code for this video, as defined by - // the American Association of Advertising Agencies, used mainly for - // television commercials. - AdvertisingIdCode *wrappers.StringValue `protobuf:"bytes,3,opt,name=advertising_id_code,json=advertisingIdCode,proto3" json:"advertising_id_code,omitempty"` - // The Industry Standard Commercial Identifier code for this video, used - // mainly for television commercials. - IsciCode *wrappers.StringValue `protobuf:"bytes,4,opt,name=isci_code,json=isciCode,proto3" json:"isci_code,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MediaVideo) Reset() { *m = MediaVideo{} } -func (m *MediaVideo) String() string { return proto.CompactTextString(m) } -func (*MediaVideo) ProtoMessage() {} -func (*MediaVideo) Descriptor() ([]byte, []int) { - return fileDescriptor_7ffee613242502eb, []int{4} -} - -func (m *MediaVideo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MediaVideo.Unmarshal(m, b) -} -func (m *MediaVideo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MediaVideo.Marshal(b, m, deterministic) -} -func (m *MediaVideo) XXX_Merge(src proto.Message) { - xxx_messageInfo_MediaVideo.Merge(m, src) -} -func (m *MediaVideo) XXX_Size() int { - return xxx_messageInfo_MediaVideo.Size(m) -} -func (m *MediaVideo) XXX_DiscardUnknown() { - xxx_messageInfo_MediaVideo.DiscardUnknown(m) -} - -var xxx_messageInfo_MediaVideo proto.InternalMessageInfo - -func (m *MediaVideo) GetAdDurationMillis() *wrappers.Int64Value { - if m != nil { - return m.AdDurationMillis - } - return nil -} - -func (m *MediaVideo) GetYoutubeVideoId() *wrappers.StringValue { - if m != nil { - return m.YoutubeVideoId - } - return nil -} - -func (m *MediaVideo) GetAdvertisingIdCode() *wrappers.StringValue { - if m != nil { - return m.AdvertisingIdCode - } - return nil -} - -func (m *MediaVideo) GetIsciCode() *wrappers.StringValue { - if m != nil { - return m.IsciCode - } - return nil -} - -func init() { - proto.RegisterType((*MediaFile)(nil), "google.ads.googleads.v1.resources.MediaFile") - proto.RegisterType((*MediaImage)(nil), "google.ads.googleads.v1.resources.MediaImage") - proto.RegisterType((*MediaBundle)(nil), "google.ads.googleads.v1.resources.MediaBundle") - proto.RegisterType((*MediaAudio)(nil), "google.ads.googleads.v1.resources.MediaAudio") - proto.RegisterType((*MediaVideo)(nil), "google.ads.googleads.v1.resources.MediaVideo") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/media_file.proto", fileDescriptor_7ffee613242502eb) -} - -var fileDescriptor_7ffee613242502eb = []byte{ - // 683 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x95, 0xdf, 0x6a, 0xd4, 0x4c, - 0x18, 0xc6, 0xbb, 0xe9, 0xb6, 0xdf, 0x66, 0xb6, 0x5f, 0xa9, 0xe3, 0x49, 0xa8, 0x45, 0xda, 0x95, - 0x42, 0x41, 0x3a, 0x71, 0x6b, 0x29, 0x9a, 0xa2, 0x90, 0xd5, 0xfe, 0xd9, 0x62, 0xa5, 0xa6, 0xba, - 0x82, 0x2c, 0x84, 0xd9, 0x9d, 0x69, 0x18, 0x48, 0x32, 0x21, 0x93, 0xac, 0x6c, 0x2f, 0xc7, 0x23, - 0xf1, 0x52, 0xbc, 0x06, 0xaf, 0xc0, 0x5b, 0xf0, 0x44, 0x66, 0x32, 0xc9, 0x2e, 0x68, 0xbb, 0x5d, - 0xf0, 0xec, 0x9d, 0xce, 0xf3, 0xfc, 0xf2, 0x3e, 0x6f, 0xdf, 0x64, 0xc1, 0x5e, 0xc0, 0x79, 0x10, - 0x52, 0x1b, 0x13, 0x61, 0x17, 0xa5, 0xac, 0x46, 0x6d, 0x3b, 0xa5, 0x82, 0x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71, - 0x2a, 0x95, 0xe3, 0xf4, 0xda, 0x8e, 0x53, 0xe9, 0x06, 0xcb, 0xaa, 0xd9, 0xa7, 0xbf, 0x03, 0x00, - 0x00, 0xff, 0xff, 0xa4, 0x7e, 0xab, 0xbf, 0xdc, 0x06, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/merchant_center_link.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/merchant_center_link.pb.go deleted file mode 100644 index 1e923761..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/merchant_center_link.pb.go +++ /dev/null @@ -1,137 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/merchant_center_link.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A data sharing connection, proposed or in use, -// between a Google Ads Customer and a Merchant Center account. -type MerchantCenterLink struct { - // The resource name of the merchant center link. - // Merchant center link resource names have the form: - // - // `customers/{customer_id}/merchantCenterLinks/{merchant_center_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The ID of the Merchant Center account. - // This field is readonly. - Id *wrappers.Int64Value `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` - // The name of the Merchant Center account. - // This field is readonly. - MerchantCenterAccountName *wrappers.StringValue `protobuf:"bytes,4,opt,name=merchant_center_account_name,json=merchantCenterAccountName,proto3" json:"merchant_center_account_name,omitempty"` - // The status of the link. - Status enums.MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus `protobuf:"varint,5,opt,name=status,proto3,enum=google.ads.googleads.v1.enums.MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus" json:"status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MerchantCenterLink) Reset() { *m = MerchantCenterLink{} } -func (m *MerchantCenterLink) String() string { return proto.CompactTextString(m) } -func (*MerchantCenterLink) ProtoMessage() {} -func (*MerchantCenterLink) Descriptor() ([]byte, []int) { - return fileDescriptor_068c27e743addf15, []int{0} -} - -func (m *MerchantCenterLink) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MerchantCenterLink.Unmarshal(m, b) -} -func (m *MerchantCenterLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MerchantCenterLink.Marshal(b, m, deterministic) -} -func (m *MerchantCenterLink) XXX_Merge(src proto.Message) { - xxx_messageInfo_MerchantCenterLink.Merge(m, src) -} -func (m *MerchantCenterLink) XXX_Size() int { - return xxx_messageInfo_MerchantCenterLink.Size(m) -} -func (m *MerchantCenterLink) XXX_DiscardUnknown() { - xxx_messageInfo_MerchantCenterLink.DiscardUnknown(m) -} - -var xxx_messageInfo_MerchantCenterLink proto.InternalMessageInfo - -func (m *MerchantCenterLink) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *MerchantCenterLink) GetId() *wrappers.Int64Value { - if m != nil { - return m.Id - } - return nil -} - -func (m *MerchantCenterLink) GetMerchantCenterAccountName() *wrappers.StringValue { - if m != nil { - return m.MerchantCenterAccountName - } - return nil -} - -func (m *MerchantCenterLink) GetStatus() enums.MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus { - if m != nil { - return m.Status - } - return enums.MerchantCenterLinkStatusEnum_UNSPECIFIED -} - -func init() { - proto.RegisterType((*MerchantCenterLink)(nil), "google.ads.googleads.v1.resources.MerchantCenterLink") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/merchant_center_link.proto", fileDescriptor_068c27e743addf15) -} - -var fileDescriptor_068c27e743addf15 = []byte{ - // 411 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xcf, 0x6a, 0xdb, 0x30, - 0x18, 0xc7, 0xce, 0x16, 0x98, 0xf7, 0xe7, 0xe0, 0xcb, 0xb2, 0x2c, 0x8c, 0x64, 0x23, 0x10, 0x18, - 0xc8, 0x38, 0x1b, 0x3b, 0x68, 0x83, 0xe1, 0x8c, 0x11, 0x36, 0xb6, 0x12, 0x9c, 0xe2, 0x43, 0x71, - 0x31, 0x8a, 0xad, 0xba, 0x22, 0xb6, 0x64, 0x24, 0x39, 0x7d, 0x81, 0x3e, 0x49, 0x8f, 0xbd, 0xf6, - 0x2d, 0xfa, 0x28, 0x7d, 0x8a, 0x12, 0xc9, 0x32, 0xb4, 0x69, 0xda, 0xdb, 0x97, 0xfc, 0xfe, 0x7d, - 0xbf, 0xcf, 0x72, 0x7e, 0xe4, 0x8c, 0xe5, 0x05, 0xf6, 0x50, 0x26, 0x3c, 0x3d, 0x6e, 0xa7, 0x8d, - 0xef, 0x71, 0x2c, 0x58, 0xcd, 0x53, 0x2c, 0xbc, 0x12, 0xf3, 0xf4, 0x14, 0x51, 0x99, 0xa4, 0x98, - 0x4a, 0xcc, 0x93, 0x82, 0xd0, 0x35, 0xa8, 0x38, 0x93, 0xcc, 0x1d, 0x69, 0x09, 0x40, 0x99, 0x00, - 0xad, 0x1a, 0x6c, 0x7c, 0xd0, 0xaa, 0xfb, 0x3f, 0xf7, 0x05, 0x60, 0x5a, 0x97, 0x0f, 0x9b, 0x27, - 0x42, 0x22, 0x59, 0x0b, 0x9d, 0xd1, 0x1f, 0x18, 0x83, 0x8a, 0x78,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- 0x2a, 0x22, 0x1e, 0x79, 0x79, 0xdf, 0xdb, 0xe9, 0xc2, 0xee, 0xcc, 0x83, 0xe0, 0xd2, 0x1e, 0xcd, - 0xb5, 0x65, 0x90, 0x09, 0xa0, 0xc7, 0xed, 0x14, 0xf9, 0x20, 0x34, 0xcc, 0x6b, 0xc3, 0x89, 0x83, - 0x4c, 0xc4, 0x2d, 0x27, 0x8e, 0xfc, 0xb8, 0xe5, 0xdc, 0xd8, 0x63, 0x0d, 0x40, 0x18, 0x64, 0x02, - 0xc2, 0x96, 0x05, 0x61, 0xe4, 0x43, 0xd8, 0xf2, 0x56, 0x5d, 0xb5, 0xec, 0x97, 0xdb, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x3e, 0x9d, 0xc5, 0x55, 0x25, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/mobile_app_category_constant.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/mobile_app_category_constant.pb.go deleted file mode 100644 index 044c7bd0..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/mobile_app_category_constant.pb.go +++ /dev/null @@ -1,120 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/mobile_app_category_constant.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A mobile application category constant. -type MobileAppCategoryConstant struct { - // The resource name of the mobile app category constant. - // Mobile app category constant resource names have the form: - // - // `mobileAppCategoryConstants/{mobile_app_category_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The ID of the mobile app category constant. - Id *wrappers.Int32Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // Mobile app category name. - Name *wrappers.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MobileAppCategoryConstant) Reset() { *m = MobileAppCategoryConstant{} } -func (m *MobileAppCategoryConstant) String() string { return proto.CompactTextString(m) } -func (*MobileAppCategoryConstant) ProtoMessage() {} -func (*MobileAppCategoryConstant) Descriptor() ([]byte, []int) { - return fileDescriptor_1d66e9d0b240fe19, []int{0} -} - -func (m *MobileAppCategoryConstant) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MobileAppCategoryConstant.Unmarshal(m, b) -} -func (m *MobileAppCategoryConstant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MobileAppCategoryConstant.Marshal(b, m, deterministic) -} -func (m *MobileAppCategoryConstant) XXX_Merge(src proto.Message) { - xxx_messageInfo_MobileAppCategoryConstant.Merge(m, src) -} -func (m *MobileAppCategoryConstant) XXX_Size() int { - return xxx_messageInfo_MobileAppCategoryConstant.Size(m) -} -func (m *MobileAppCategoryConstant) XXX_DiscardUnknown() { - xxx_messageInfo_MobileAppCategoryConstant.DiscardUnknown(m) -} - -var xxx_messageInfo_MobileAppCategoryConstant proto.InternalMessageInfo - -func (m *MobileAppCategoryConstant) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *MobileAppCategoryConstant) GetId() *wrappers.Int32Value { - if m != nil { - return m.Id - } - return nil -} - -func (m *MobileAppCategoryConstant) GetName() *wrappers.StringValue { - if m != nil { - return m.Name - } - return nil -} - -func init() { - proto.RegisterType((*MobileAppCategoryConstant)(nil), "google.ads.googleads.v1.resources.MobileAppCategoryConstant") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/mobile_app_category_constant.proto", fileDescriptor_1d66e9d0b240fe19) -} - -var fileDescriptor_1d66e9d0b240fe19 = []byte{ - // 352 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xd1, 0x4a, 0xeb, 0x30, - 0x1c, 0xc6, 0x69, 0x77, 0x38, 0x70, 0x7a, 0xf4, 0xa6, 0x57, 0x73, 0x8e, 0xb1, 0x29, 0x83, 0x81, - 0x90, 0xda, 0xed, 0x2e, 0x5e, 0x75, 0x13, 0x86, 0x82, 0x32, 0x26, 0xf4, 0x42, 0x0a, 0x25, 0x6b, - 0x63, 0x28, 0xb4, 0x49, 0x48, 0xb2, 0x89, 0xcf, 0xe0, 0x43, 0x08, 0x5e, 0xfa, 0x28, 0x3e, 0x8a, - 0x4f, 0x21, 0x4b, 0x9a, 0xdc, 0x88, 0x7a, 0xf7, 0xb5, 0xff, 0x5f, 0xbe, 0xef, 0x4b, 0xfe, 0xc1, - 0x25, 0x61, 0x8c, 0xd4, 0x38, 0x42, 0xa5, 0x8c, 0x8c, 0xdc, 0xab, 0x5d, 0x1c, 0x09, 0x2c, 0xd9, - 0x56, 0x14, 0x58, 0x46, 0x0d, 0xdb, 0x54, 0x35, 0xce, 0x11, 0xe7, 0x79, 0x81, 0x14, 0x26, 0x4c, - 0x3c, 0xe5, 0x05, 0xa3, 0x52, 0x21, 0xaa, 0x00, 0x17, 0x4c, 0xb1, 0x70, 0x64, 0x8e, 0x02, 0x54, - 0x4a, 0xe0, 0x5c, 0xc0, 0x2e, 0x06, 0xce, 0xa5, 0xd7, 0xb7, 0x41, 0xbc, 0x8a, 0x10, 0xa5, 0x4c, - 0x21, 0x55, 0x31, 0x2a, 0x8d, 0x41, 0x6f, 0xd0, 0x4e, 0xf5, 0xd7, 0x66, 0xfb, 0x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f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xf3, 0x80, 0x36, 0xf2, 0x5f, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/mobile_device_constant.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/mobile_device_constant.pb.go deleted file mode 100644 index 7226e595..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/mobile_device_constant.pb.go +++ /dev/null @@ -1,154 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/mobile_device_constant.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A mobile device constant. -type MobileDeviceConstant struct { - // The resource name of the mobile device constant. - // Mobile device constant resource names have the form: - // - // `mobileDeviceConstants/{criterion_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The ID of the mobile device constant. - Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // The name of the mobile device. - Name *wrappers.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - // The manufacturer of the mobile device. - ManufacturerName *wrappers.StringValue `protobuf:"bytes,4,opt,name=manufacturer_name,json=manufacturerName,proto3" json:"manufacturer_name,omitempty"` - // The operating system of the mobile device. - OperatingSystemName *wrappers.StringValue `protobuf:"bytes,5,opt,name=operating_system_name,json=operatingSystemName,proto3" json:"operating_system_name,omitempty"` - // The type of mobile device. - Type enums.MobileDeviceTypeEnum_MobileDeviceType `protobuf:"varint,6,opt,name=type,proto3,enum=google.ads.googleads.v1.enums.MobileDeviceTypeEnum_MobileDeviceType" json:"type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MobileDeviceConstant) Reset() { *m = MobileDeviceConstant{} } -func (m *MobileDeviceConstant) String() string { return proto.CompactTextString(m) } -func (*MobileDeviceConstant) ProtoMessage() {} -func (*MobileDeviceConstant) Descriptor() ([]byte, []int) { - return fileDescriptor_5f49c94eff431093, []int{0} -} - -func (m *MobileDeviceConstant) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MobileDeviceConstant.Unmarshal(m, b) -} -func (m *MobileDeviceConstant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MobileDeviceConstant.Marshal(b, m, deterministic) -} -func (m *MobileDeviceConstant) XXX_Merge(src proto.Message) { - xxx_messageInfo_MobileDeviceConstant.Merge(m, src) -} -func (m *MobileDeviceConstant) XXX_Size() int { - return xxx_messageInfo_MobileDeviceConstant.Size(m) -} -func (m *MobileDeviceConstant) XXX_DiscardUnknown() { - xxx_messageInfo_MobileDeviceConstant.DiscardUnknown(m) -} - -var xxx_messageInfo_MobileDeviceConstant proto.InternalMessageInfo - -func (m *MobileDeviceConstant) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *MobileDeviceConstant) GetId() *wrappers.Int64Value { - if m != nil { - return m.Id - } - return nil -} - -func (m *MobileDeviceConstant) GetName() *wrappers.StringValue { - if m != nil { - return m.Name - } - return nil -} - -func (m *MobileDeviceConstant) GetManufacturerName() *wrappers.StringValue { - if m != nil { - return m.ManufacturerName - } - return nil -} - -func (m *MobileDeviceConstant) GetOperatingSystemName() *wrappers.StringValue { - if m != nil { - return m.OperatingSystemName - } - return nil -} - -func (m *MobileDeviceConstant) GetType() enums.MobileDeviceTypeEnum_MobileDeviceType { - if m != nil { - return m.Type - } - return enums.MobileDeviceTypeEnum_UNSPECIFIED -} - -func init() { - proto.RegisterType((*MobileDeviceConstant)(nil), "google.ads.googleads.v1.resources.MobileDeviceConstant") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/mobile_device_constant.proto", fileDescriptor_5f49c94eff431093) -} - -var fileDescriptor_5f49c94eff431093 = []byte{ - // 448 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xdf, 0x6a, 0x14, 0x31, - 0x14, 0xc6, 0x99, 0xd9, 0xb5, 0x60, 0xfc, 0x83, 0x8e, 0x0a, 0x6b, 0x2d, 0xb2, 0x55, 0x0a, 0x0b, - 0x42, 0xc6, 0xa9, 0xd2, 0x8b, 0x11, 0x84, 0xa9, 0x95, 0x52, 0x41, 0x59, 0xb6, 0xb2, 0x88, 0x2c, - 0x2c, 0xd9, 0xc9, 0x69, 0x08, 0x6c, 0xfe, 0x90, 0x64, 0x56, 0xf6, 0x05, 0xbc, 0xf7, 0x15, 0xbc, - 0xf4, 0x51, 0x7c, 0x14, 0x9f, 0x42, 0x36, 0x99, 0x09, 0xc5, 0x5a, 0xed, 0xdd, 0x99, 0x9c, 0xef, - 0xfb, 0xe5, 0xcb, 0x9c, 0x83, 0x5e, 0x33, 0xa5, 0xd8, 0x12, 0x72, 0x42, 0x6d, 0x1e, 0xca, 0x4d, - 0xb5, 0x2a, 0x72, 0x03, 0x56, 0x35, 0xa6, 0x06, 0x9b, 0x0b, 0xb5, 0xe0, 0x4b, 0x98, 0x53, 0x58, - 0xf1, 0x1a, 0xe6, 0xb5, 0x92, 0xd6, 0x11, 0xe9, 0xb0, 0x36, 0xca, 0xa9, 0x6c, 0x37, 0x98, 0x30, - 0xa1, 0x16, 0x47, 0x3f, 0x5e, 0x15, 0x38, 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84, 0xfd, 0xf8, - 0xf0, 0xf9, 0x7f, 0xfc, 0x71, 0xad, 0xe1, 0xad, 0x6c, 0xc4, 0x85, 0xc3, 0x89, 0x27, 0x1e, 0x7e, - 0x4d, 0xd1, 0x5e, 0xad, 0x04, 0xfe, 0xef, 0xce, 0x1c, 0x3e, 0xfc, 0xdb, 0xe8, 0xc6, 0x9b, 0x27, - 0x8c, 0x93, 0xcf, 0xef, 0x5a, 0x3f, 0x53, 0x4b, 0x22, 0x19, 0x56, 0x86, 0xe5, 0x0c, 0xa4, 0x7f, - 0x60, 0xb7, 0x60, 0x9a, 0xdb, 0x7f, 0xac, 0xf4, 0xab, 0x58, 0x7d, 0x4f, 0x7b, 0xc7, 0x55, 0xf5, - 0x23, 0xdd, 0x3d, 0x0e, 0xc8, 0x8a, 0x5a, 0x1c, 0xca, 0x4d, 0x35, 0x2d, 0xf0, 0xa4, 0x53, 0xfe, - 0xec, 0x34, 0xb3, 0x8a, 0xda, 0x59, 0xd4, 0xcc, 0xa6, 0xc5, 0x2c, 0x6a, 0x7e, 0xa5, 0x7b, 0xa1, - 0x51, 0x96, 0x15, 0xb5, 0x65, 0x19, 0x55, 0x65, 0x39, 0x2d, 0xca, 0x32, 0xea, 0x16, 0x5b, 0x3e, - 0xec, 0x8b, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x2e, 0x3f, 0x5b, 0x38, 0x7e, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/mutate_job.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/mutate_job.pb.go deleted file mode 100644 index 25b58670..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/mutate_job.pb.go +++ /dev/null @@ -1,250 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/mutate_job.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A list of mutates being processed asynchronously. The mutates are uploaded -// by the user. The mutates themselves aren’t readable and the results of the -// job can only be read using MutateJobService.ListMutateJobResults. -type MutateJob struct { - // The resource name of the mutate job. - // Mutate job resource names have the form: - // - // `customers/{customer_id}/mutateJobs/{mutate_job_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // ID of this mutate job. - Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // The next sequence token to use when adding operations. Only set when the - // mutate job status is PENDING. - NextAddSequenceToken *wrappers.StringValue `protobuf:"bytes,3,opt,name=next_add_sequence_token,json=nextAddSequenceToken,proto3" json:"next_add_sequence_token,omitempty"` - // Contains additional information about this mutate job. - Metadata *MutateJob_MutateJobMetadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` - // Status of this mutate job. - Status enums.MutateJobStatusEnum_MutateJobStatus `protobuf:"varint,5,opt,name=status,proto3,enum=google.ads.googleads.v1.enums.MutateJobStatusEnum_MutateJobStatus" json:"status,omitempty"` - // The resource name of the long-running operation that can be used to poll - // for completion. Only set when the mutate job status is RUNNING or DONE. - LongRunningOperation *wrappers.StringValue `protobuf:"bytes,6,opt,name=long_running_operation,json=longRunningOperation,proto3" json:"long_running_operation,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateJob) Reset() { *m = MutateJob{} } -func (m *MutateJob) String() string { return proto.CompactTextString(m) } -func (*MutateJob) ProtoMessage() {} -func (*MutateJob) Descriptor() ([]byte, []int) { - return fileDescriptor_a5e8cce5a5c605aa, []int{0} -} - -func (m *MutateJob) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateJob.Unmarshal(m, b) -} -func (m *MutateJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateJob.Marshal(b, m, deterministic) -} -func (m *MutateJob) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateJob.Merge(m, src) -} -func (m *MutateJob) XXX_Size() int { - return xxx_messageInfo_MutateJob.Size(m) -} -func (m *MutateJob) XXX_DiscardUnknown() { - xxx_messageInfo_MutateJob.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateJob proto.InternalMessageInfo - -func (m *MutateJob) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *MutateJob) GetId() *wrappers.Int64Value { - if m != nil { - return m.Id - } - return nil -} - -func (m *MutateJob) GetNextAddSequenceToken() *wrappers.StringValue { - if m != nil { - return m.NextAddSequenceToken - } - return nil -} - -func (m *MutateJob) GetMetadata() *MutateJob_MutateJobMetadata { - if m != nil { - return m.Metadata - } - return nil -} - -func (m *MutateJob) GetStatus() enums.MutateJobStatusEnum_MutateJobStatus { - if m != nil { - return m.Status - } - return enums.MutateJobStatusEnum_UNSPECIFIED -} - -func (m *MutateJob) GetLongRunningOperation() *wrappers.StringValue { - if m != nil { - return m.LongRunningOperation - } - return nil -} - -// Additional information about the mutate job. This message is also used as -// metadata returned in mutate job Long Running Operations. -type MutateJob_MutateJobMetadata struct { - // The time when this mutate job was created. - // Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:00" - CreationDateTime *wrappers.StringValue `protobuf:"bytes,1,opt,name=creation_date_time,json=creationDateTime,proto3" json:"creation_date_time,omitempty"` - // The time when this mutate job was completed. - // Formatted as yyyy-MM-dd HH:mm:ss. Example: "2018-03-05 09:16:00" - CompletionDateTime *wrappers.StringValue `protobuf:"bytes,2,opt,name=completion_date_time,json=completionDateTime,proto3" json:"completion_date_time,omitempty"` - // The fraction (between 0.0 and 1.0) of mutates that have been processed. - // This is empty if the job hasn't started running yet. - EstimatedCompletionRatio *wrappers.DoubleValue `protobuf:"bytes,3,opt,name=estimated_completion_ratio,json=estimatedCompletionRatio,proto3" json:"estimated_completion_ratio,omitempty"` - // The number of mutate operations in the mutate job. - OperationCount *wrappers.Int64Value `protobuf:"bytes,4,opt,name=operation_count,json=operationCount,proto3" json:"operation_count,omitempty"` - // The number of mutate operations executed by the mutate job. - // Present only if the job has started running. - ExecutedOperationCount *wrappers.Int64Value `protobuf:"bytes,5,opt,name=executed_operation_count,json=executedOperationCount,proto3" json:"executed_operation_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateJob_MutateJobMetadata) Reset() { *m = MutateJob_MutateJobMetadata{} } -func (m *MutateJob_MutateJobMetadata) String() string { return proto.CompactTextString(m) } -func (*MutateJob_MutateJobMetadata) ProtoMessage() {} -func (*MutateJob_MutateJobMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_a5e8cce5a5c605aa, []int{0, 0} -} - -func (m *MutateJob_MutateJobMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateJob_MutateJobMetadata.Unmarshal(m, b) -} -func (m *MutateJob_MutateJobMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateJob_MutateJobMetadata.Marshal(b, m, deterministic) -} -func (m *MutateJob_MutateJobMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateJob_MutateJobMetadata.Merge(m, src) -} -func (m *MutateJob_MutateJobMetadata) XXX_Size() int { - return xxx_messageInfo_MutateJob_MutateJobMetadata.Size(m) -} -func (m *MutateJob_MutateJobMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_MutateJob_MutateJobMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateJob_MutateJobMetadata proto.InternalMessageInfo - -func (m *MutateJob_MutateJobMetadata) GetCreationDateTime() *wrappers.StringValue { - if m != nil { - return m.CreationDateTime - } - return nil -} - -func (m *MutateJob_MutateJobMetadata) GetCompletionDateTime() *wrappers.StringValue { - if m != nil { - return m.CompletionDateTime - } - return nil -} - -func (m *MutateJob_MutateJobMetadata) GetEstimatedCompletionRatio() *wrappers.DoubleValue { - if m != nil { - return m.EstimatedCompletionRatio - } - return nil -} - -func (m *MutateJob_MutateJobMetadata) GetOperationCount() *wrappers.Int64Value { - if m != nil { - return m.OperationCount - } - return nil -} - -func (m *MutateJob_MutateJobMetadata) GetExecutedOperationCount() *wrappers.Int64Value { - if m != nil { - return m.ExecutedOperationCount - } - return nil -} - -func init() { - proto.RegisterType((*MutateJob)(nil), "google.ads.googleads.v1.resources.MutateJob") - proto.RegisterType((*MutateJob_MutateJobMetadata)(nil), "google.ads.googleads.v1.resources.MutateJob.MutateJobMetadata") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/mutate_job.proto", fileDescriptor_a5e8cce5a5c605aa) -} - -var fileDescriptor_a5e8cce5a5c605aa = []byte{ - // 582 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0xdd, 0x6a, 0xd4, 0x4c, - 0x18, 0xc7, 0x49, 0xfa, 0x76, 0x79, 0x3b, 0x6a, 0xd5, 0xa1, 0xd4, 0xb0, 0x16, 0x69, 0x95, 0x42, - 0x41, 0x98, 0xb0, 0xf5, 0xe3, 0x20, 0x82, 0x90, 0x76, 0xa5, 0xb8, 0xd0, 0x0f, 0xb2, 0x75, 0x0f, - 0x96, 0x85, 0x30, 0x9b, 0x79, 0x0c, 0xd1, 0x64, 0x26, 0x66, 0x66, 0x6a, 0xaf, 0xc7, 0x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, 0xe0, 0x41, 0x49, 0xe3, 0x3e, - 0xba, 0x6f, 0x2e, 0x35, 0x8c, 0x84, 0xe6, 0xaa, 0x19, 0x90, 0x1b, 0x07, 0x75, 0xdd, 0x30, 0x87, - 0x25, 0x82, 0x3f, 0x20, 0x07, 0x2e, 0x21, 0xd2, 0xe5, 0x06, 0xe7, 0x75, 0xab, 0xcb, 0x75, 0x9b, - 0x2d, 0x7c, 0xfa, 0x8f, 0xf6, 0xe0, 0x8f, 0x85, 0x76, 0x23, 0x91, 0x2d, 0x1f, 0xd5, 0x83, 0x75, - 0xd3, 0xd1, 0xb3, 0xd2, 0x7f, 0x66, 0x8d, 0x07, 0x0d, 0x14, 0x8b, 0x94, 0xf2, 0x98, 0x88, 0x22, - 0x76, 0x63, 0xe0, 0xd5, 0xd7, 0xdb, 0x9f, 0x45, 0x9e, 0xc8, 0x1b, 0x7e, 0x49, 0x6f, 0x4c, 0xf5, - 0xcd, 0x5e, 0x39, 0xf2, 0xfd, 0x1f, 0xf6, 0xce, 0x51, 0xad, 0xf4, 0x99, 0x24, 0x75, 0x59, 0x56, - 0xa3, 0x1e, 0x09, 0xda, 0xe4, 0xcf, 0x36, 0x33, 0xf1, 0x99, 0x9c, 0x98, 0xcc, 0x64, 0xd4, 0x9b, - 0x98, 0xcc, 0x6f, 0x7b, 0xb7, 0x5e, 0xf0, 0x3c, 0x9f, 0x49, 0xcf, 0x33, 0x29, 0xcf, 0x1b, 0xf5, - 0x3c, 0xcf, 0xe4, 0xa6, 0x9d, 0x6a, 0xb3, 0x2f, 0xfe, 0x06, 0x00, 0x00, 0xff, 0xff, 0x5f, 0xed, - 0x32, 0xf1, 0x3e, 0x05, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/operating_system_version_constant.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/operating_system_version_constant.pb.go deleted file mode 100644 index da5ff1fb..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/operating_system_version_constant.pb.go +++ /dev/null @@ -1,161 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/operating_system_version_constant.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A mobile operating system version or a range of versions, depending on -// 'operator_type'. The complete list of available mobile platforms 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_7e0961a18b03751e, []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 (m *TopicConstant) XXX_Merge(src proto.Message) { - xxx_messageInfo_TopicConstant.Merge(m, 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.v1.resources.TopicConstant") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/topic_constant.proto", fileDescriptor_7e0961a18b03751e) -} - -var fileDescriptor_7e0961a18b03751e = []byte{ - // 362 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0x41, 0x4b, 0xf3, 0x30, - 0x1c, 0xc6, 0x69, 0x37, 0x5e, 0x78, 0xfb, 0xbe, 0xbb, 0x54, 0x84, 0x32, 0x87, 0x6c, 0xca, 0x60, - 0x20, 0xa4, 0x56, 0x65, 0x87, 0x78, 0xea, 0x3c, 0x0c, 0x3d, 0x48, 0x99, 0xd2, 0x83, 0x14, 0x46, - 0xd6, 0xc6, 0x1a, 0xd8, 0x92, 0x90, 0x64, 0xf3, 0xfb, 0x78, 0xf4, 0xa3, 0xf8, 0x3d, 0xbc, 0xf8, - 0x25, 0x94, 0x36, 0x4d, 0x70, 0x08, 0xee, 0xf6, 0xb4, 0xff, 0xdf, 0xf3, 0x3c, 0xff, 0x24, 0xde, - 0xb8, 0x64, 0xac, 0x5c, 0xe2, 0x10, 0x15, 0x32, 0xd4, 0xb2, 0x52, 0x9b, 0x28, 0x14, 0x58, 0xb2, - 0xb5, 0xc8, 0xb1, 0x0c, 0x15, 0xe3, 0x24, 0x9f, 0xe7, 0x8c, 0x4a, 0x85, 0xa8, 0x02, 0x5c, 0x30, - 0xc5, 0xfc, 0x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f, 0x6e, 0x6b, 0x1a, 0xc7, 0xaf, 0xee, 0x60, - 0xaa, 0x23, 0xe3, 0x42, 0x02, 0x2d, 0x2b, 0x95, 0x46, 0x60, 0x66, 0xc8, 0x37, 0xc3, 0x64, 0x71, - 0x21, 0x33, 0xcb, 0x64, 0x69, 0x94, 0x59, 0xe6, 0xc3, 0x1d, 0xea, 0x01, 0x84, 0x71, 0x21, 0x21, - 0xb4, 0x14, 0x84, 0x69, 0x04, 0xa1, 0xe5, 0x16, 0x7f, 0xea, 0x65, 0xcf, 0xbf, 0x02, 0x00, 0x00, - 0xff, 0xff, 0x24, 0x56, 0x42, 0xb0, 0x8b, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/topic_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/topic_view.pb.go deleted file mode 100644 index b21b0a23..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/topic_view.pb.go +++ /dev/null @@ -1,96 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/topic_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_a0d62eef5707a97d, []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 (m *TopicView) XXX_Merge(src proto.Message) { - xxx_messageInfo_TopicView.Merge(m, 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.v1.resources.TopicView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/topic_view.proto", fileDescriptor_a0d62eef5707a97d) -} - -var fileDescriptor_a0d62eef5707a97d = []byte{ - // 263 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0x31, 0x4b, 0x03, 0x31, - 0x14, 0xc7, 0xb9, 0x13, 0x84, 0x1e, 0xea, 0xd0, 0x49, 0xc4, 0xc1, 0x2a, 0x05, 0xa7, 0x17, 0xa3, - 0x5b, 0x9c, 0xd2, 0xa5, 0xe0, 0x20, 0xa5, 0xc8, 0x0d, 0x72, 0x50, 0xe2, 0x25, 0x84, 0x40, 0x2f, - 0xef, 0xb8, 0x77, 0x5e, 0xbf, 0x8f, 0xa3, 0x1f, 0xc5, 0x8f, 0xe2, 0x57, 0x70, 0x91, 0x6b, 0x4c, - 0x46, 0xbb, 0xfd, 0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x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf2, - 0xd4, 0x08, 0xb0, 0xad, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/user_interest.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/user_interest.pb.go deleted file mode 100644 index bdc4eafc..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/user_interest.pb.go +++ /dev/null @@ -1,169 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/user_interest.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v1/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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.v1.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_01746905ff80465b, []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 (m *UserInterest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserInterest.Merge(m, 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.v1.resources.UserInterest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/user_interest.proto", fileDescriptor_01746905ff80465b) -} - -var fileDescriptor_01746905ff80465b = []byte{ - // 519 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0xdd, 0x8a, 0xd3, 0x40, - 0x14, 0x26, 0x6d, 0x5d, 0x31, 0xdb, 0x56, 0x0d, 0x5e, 0x84, 0xba, 0x48, 0x57, 0x59, 0xe8, 0xd5, - 0xc4, 0xd6, 0x9f, 0x8b, 0x88, 0x48, 0xba, 0x2e, 0x4b, 0xbd, 0x58, 0x4a, 0xad, 0xbd, 0x90, 0x42, - 0x98, 0x26, 0xc7, 0x38, 0x30, 0x99, 0x13, 0x66, 0x26, 0xd5, 0xbc, 0xce, 0x5e, 0xfa, 0x28, 0x3e, - 0x8a, 0x0f, 0x21, 0xd2, 0xfc, 0x91, 0xee, 0x52, 0xf5, 0xee, 0x24, 0xe7, 0xfb, 0x39, 0x67, 0xe6, - 0x1b, 0xf3, 0x55, 0x84, 0x18, 0x71, 0x70, 0x68, 0xa8, 0x9c, 0xa2, 0xdc, 0x55, 0xdb, 0xb1, 0x23, - 0x41, 0x61, 0x2a, 0x03, 0x50, 0x4e, 0xaa, 0x40, 0xfa, 0x4c, 0x68, 0x90, 0xa0, 0x34, 0x49, 0x24, - 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, 0x35, 0x5e, - 0xd7, 0x98, 0x5f, 0xad, 0xb3, 0xa2, 0xe1, 0xba, 0x5e, 0xa8, 0x5c, 0xb7, 0x46, 0xb9, 0xee, 0x6a, - 0xec, 0xba, 0x35, 0x6e, 0x73, 0x94, 0x0f, 0xfb, 0xe2, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x10, - 0x33, 0x6a, 0x5e, 0x4d, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/user_list.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/user_list.pb.go deleted file mode 100644 index 50acb732..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/user_list.pb.go +++ /dev/null @@ -1,428 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/user_list.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v1/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "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.ProtoPackageIsVersion3 // 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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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_RuleBasedUserList - // *UserList_LogicalUserList - // *UserList_BasicUserList - 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_fcfde90717249098, []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 (m *UserList) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserList.Merge(m, 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"` -} - -type UserList_RuleBasedUserList struct { - RuleBasedUserList *common.RuleBasedUserListInfo `protobuf:"bytes,21,opt,name=rule_based_user_list,json=ruleBasedUserList,proto3,oneof"` -} - -type UserList_LogicalUserList struct { - LogicalUserList *common.LogicalUserListInfo `protobuf:"bytes,22,opt,name=logical_user_list,json=logicalUserList,proto3,oneof"` -} - -type UserList_BasicUserList struct { - BasicUserList *common.BasicUserListInfo `protobuf:"bytes,23,opt,name=basic_user_list,json=basicUserList,proto3,oneof"` -} - -func (*UserList_CrmBasedUserList) isUserList_UserList() {} - -func (*UserList_SimilarUserList) isUserList_UserList() {} - -func (*UserList_RuleBasedUserList) isUserList_UserList() {} - -func (*UserList_LogicalUserList) isUserList_UserList() {} - -func (*UserList_BasicUserList) 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 -} - -func (m *UserList) GetRuleBasedUserList() *common.RuleBasedUserListInfo { - if x, ok := m.GetUserList().(*UserList_RuleBasedUserList); ok { - return x.RuleBasedUserList - } - return nil -} - -func (m *UserList) GetLogicalUserList() *common.LogicalUserListInfo { - if x, ok := m.GetUserList().(*UserList_LogicalUserList); ok { - return x.LogicalUserList - } - return nil -} - -func (m *UserList) GetBasicUserList() *common.BasicUserListInfo { - if x, ok := m.GetUserList().(*UserList_BasicUserList); ok { - return x.BasicUserList - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*UserList) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*UserList_CrmBasedUserList)(nil), - (*UserList_SimilarUserList)(nil), - (*UserList_RuleBasedUserList)(nil), - (*UserList_LogicalUserList)(nil), - (*UserList_BasicUserList)(nil), - } -} - -func init() { - proto.RegisterType((*UserList)(nil), "google.ads.googleads.v1.resources.UserList") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/user_list.proto", fileDescriptor_fcfde90717249098) -} - -var fileDescriptor_fcfde90717249098 = []byte{ - // 927 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x96, 0x4d, 0x6f, 0xdb, 0x36, - 0x1c, 0xc6, 0x67, 0x37, 0xeb, 0x12, 0x26, 0x8e, 0x6d, 0x26, 0xe9, 0x84, 0xac, 0x18, 0xd2, 0x0d, - 0x05, 0x02, 0x0c, 0x90, 0xe6, 0xb4, 0x7b, 0x81, 0x5b, 0x6c, 0xb0, 0xb3, 0x36, 0x6b, 0xe1, 0x76, - 0x81, 0xdc, 0xe5, 0xb0, 0x05, 0x10, 0x68, 0x89, 0x56, 0x08, 0x50, 0xa4, 0x40, 0x4a, 0x1d, 0xdc, - 0x9d, 0x76, 0xd8, 0x17, 0xd9, 0x71, 0x1f, 0x65, 0x1f, 0x65, 0x1f, 0x60, 0x87, 0x9d, 0x06, 0x51, - 0xa2, 0x4c, 0xd9, 0x75, 0xa5, 0xc3, 0x6e, 0xf4, 0x9f, 0xff, 0xdf, 0xf3, 0xe8, 0xe1, 0x8b, 0x2c, - 0x30, 0x08, 0x39, 0x0f, 0x29, 0x76, 0x50, 0x20, 0x9d, 0x7c, 0x98, 0x8d, 0x5e, 0x0f, 0x1c, 0x81, - 0x25, 0x4f, 0x85, 0x8f, 0xa5, 0x93, 0x4a, 0x2c, 0x3c, 0x4a, 0x64, 0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 0xba, 0x18, 0x8d, 0xfe, 0x6c, 0xdf, 0xbb, 0xc8, 0x25, 0x47, 0x81, - 0xb4, 0xf3, 0x61, 0x36, 0xba, 0x1a, 0xd8, 0xae, 0xee, 0xfc, 0x4b, 0xf7, 0x5c, 0x8f, 0x02, 0x79, - 0x5d, 0xf6, 0x5c, 0x5f, 0x0d, 0xae, 0xcb, 0x9e, 0xbf, 0xdb, 0xf7, 0xf3, 0x89, 0xe1, 0x70, 0x14, - 0xc8, 0xe1, 0xb0, 0xec, 0x1a, 0x0e, 0xaf, 0x06, 0xc3, 0x61, 0xd9, 0x37, 0xbb, 0xad, 0x1e, 0xf6, - 0xc1, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xe8, 0xbb, 0xe4, 0x31, 0x20, 0x0b, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/video.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/video.pb.go deleted file mode 100644 index 3e47ff23..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/resources/video.pb.go +++ /dev/null @@ -1,140 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/resources/video.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // 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_a029458d5852873f, []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 (m *Video) XXX_Merge(src proto.Message) { - xxx_messageInfo_Video.Merge(m, 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.v1.resources.Video") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/resources/video.proto", fileDescriptor_a029458d5852873f) -} - -var fileDescriptor_a029458d5852873f = []byte{ - // 371 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, 0x65, 0x0e, 0xd9, 0x94, 0xc1, 0x0e, - 0x9a, 0xd2, 0x29, 0x1e, 0xb2, 0x53, 0x87, 0x30, 0x26, 0x28, 0x63, 0x42, 0x0f, 0x52, 0x18, 0xd9, - 0x12, 0x6b, 0xa0, 0x4d, 0x4a, 0xd2, 0xce, 0xd7, 0xe1, 0x5b, 0xf0, 0xe8, 0x4b, 0xf1, 0xa5, 0xf8, - 0x06, 0xbc, 0x4a, 0x9b, 0xa6, 0x17, 0x41, 0x77, 0xfb, 0xb6, 0xcf, 0xe7, 0xf9, 0x3c, 0x49, 0x1e, - 0x70, 0x11, 0x0b, 0x11, 0x27, 0xd4, 0xc3, 0x44, 0x79, 0x3a, 0x96, 0x69, 0xeb, 0x7b, 0x92, 0x2a, - 0x51, 0xc8, 0x0d, 0x55, 0xde, 0x96, 0x11, 0x2a, 0x60, 0x26, 0x45, 0x2e, 0x9c, 0x81, 0x66, 0x20, - 0x26, 0x0a, 0x36, 0x38, 0xdc, 0xfa, 0xb0, 0xc1, 0xbb, 0x3d, 0x63, 0xcc, 0x98, 0x87, 0x39, 0x17, - 0x39, 0xce, 0x99, 0xe0, 0x4a, 0x0b, 0xba, 0x27, 0x75, 0xb5, 0xfa, 0x5a, 0x17, 0x4f, 0xde, 0x8b, - 0xc4, 0x59, 0x46, 0x65, 0x5d, 0x3f, 0x7d, 0xb5, 0x41, 0x3b, 0x2c, 0x07, 0x3a, 0x67, 0xe0, 0xc0, - 0x48, 0x57, 0x1c, 0xa7, 0xd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0x7d, 0x84, 0x1a, 0x6e, - 0xfd, 0xbf, 0x3a, 0xec, 0xe5, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x2d, 0xbe, 0x56, 0x02, 0xa6, - 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/account_budget_proposal_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/account_budget_proposal_service.pb.go deleted file mode 100644 index fe7ad375..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/account_budget_proposal_service.pb.go +++ /dev/null @@ -1,490 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/account_budget_proposal_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [AccountBudgetProposalService.GetAccountBudgetProposal][google.ads.googleads.v1.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_2316c2664e0be7e3, []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 (m *GetAccountBudgetProposalRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAccountBudgetProposalRequest.Merge(m, 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.v1.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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_2316c2664e0be7e3, []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 (m *MutateAccountBudgetProposalRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAccountBudgetProposalRequest.Merge(m, 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 -} - -func (m *MutateAccountBudgetProposalRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_2316c2664e0be7e3, []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 (m *AccountBudgetProposalOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccountBudgetProposalOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*AccountBudgetProposalOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AccountBudgetProposalOperation_Create)(nil), - (*AccountBudgetProposalOperation_Remove)(nil), - } -} - -// 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_2316c2664e0be7e3, []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 (m *MutateAccountBudgetProposalResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAccountBudgetProposalResponse.Merge(m, 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_2316c2664e0be7e3, []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 (m *MutateAccountBudgetProposalResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAccountBudgetProposalResult.Merge(m, 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.v1.services.GetAccountBudgetProposalRequest") - proto.RegisterType((*MutateAccountBudgetProposalRequest)(nil), "google.ads.googleads.v1.services.MutateAccountBudgetProposalRequest") - proto.RegisterType((*AccountBudgetProposalOperation)(nil), "google.ads.googleads.v1.services.AccountBudgetProposalOperation") - proto.RegisterType((*MutateAccountBudgetProposalResponse)(nil), "google.ads.googleads.v1.services.MutateAccountBudgetProposalResponse") - proto.RegisterType((*MutateAccountBudgetProposalResult)(nil), "google.ads.googleads.v1.services.MutateAccountBudgetProposalResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/account_budget_proposal_service.proto", fileDescriptor_2316c2664e0be7e3) -} - -var fileDescriptor_2316c2664e0be7e3 = []byte{ - // 629 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0x3f, 0x6f, 0xd3, 0x4e, - 0x18, 0xfe, 0xd9, 0x95, 0xa2, 0x5f, 0x2f, 0x65, 0xb9, 0x29, 0x0a, 0x15, 0x4d, 0xdd, 0x0e, 0x51, - 0x06, 0x5b, 0x09, 0x4b, 0xe5, 0xa8, 0x22, 0x0e, 0x90, 0x84, 0xa1, 0x34, 0x32, 0x52, 0x06, 0x88, - 0xb0, 0x2e, 0xf6, 0xd5, 0xb2, 0x6a, 0xfb, 0x8c, 0xef, 0x1c, 0xa9, 0xaa, 0xba, 0x74, 0x62, 0xe7, - 0x1b, 0x30, 0xf2, 0x51, 0xba, 0xb2, 0xc0, 0xce, 0xc4, 0x82, 0xc4, 0x27, 0x40, 0xf6, 0xdd, 0xa5, - 0xad, 0x94, 0xd8, 0x88, 0x6e, 0xaf, 0xcf, 0x8f, 0x9f, 0xe7, 0x7d, 0xde, 0x3f, 0x67, 0x30, 0xf2, - 0x09, 0xf1, 0x43, 0x6c, 0x20, 0x8f, 0x1a, 0x3c, 0xcc, 0xa3, 0x65, 0xd7, 0xa0, 0x38, 0x5d, 0x06, - 0x2e, 0xa6, 0x06, 0x72, 0x5d, 0x92, 0xc5, 0xcc, 0x59, 0x64, 0x9e, 0x8f, 0x99, 0x93, 0xa4, 0x24, - 0x21, 0x14, 0x85, 0x8e, 0x00, 0xe8, 0x49, 0x4a, 0x18, 0x81, 0x2d, 0xfe, 0xb1, 0x8e, 0x3c, 0xaa, - 0xaf, 0x78, 0xf4, 0x65, 0x57, 0x97, 0x3c, 0xcd, 0x67, 0x9b, 0x94, 0x52, 0x4c, 0x49, 0x96, 0x96, - 0x48, 0x71, 0x89, 0xe6, 0xae, 0x24, 0x48, 0x02, 0x03, 0xc5, 0x31, 0x61, 0x88, 0x05, 0x24, 0xa6, - 0xe2, 0xad, 0x48, 0xc0, 0x28, 0x9e, 0x16, 0xd9, 0x99, 0x71, 0x16, 0xe0, 0xd0, 0x73, 0x22, 0x44, - 0xcf, 0x39, 0x42, 0x1b, 0x81, 0xbd, 0x31, 0x66, 0x16, 0xd7, 0x18, 0x16, 0x12, 0x53, 0xa1, 0x60, - 0xe3, 0x0f, 0x19, 0xa6, 0x0c, 0x1e, 0x80, 0x47, 0x32, 0x1b, 0x27, 0x46, 0x11, 0x6e, 0x28, 0x2d, - 0xa5, 0xbd, 0x6d, 0xef, 0xc8, 0xc3, 0xd7, 0x28, 0xc2, 0xda, 0x8d, 0x02, 0xb4, 0x93, 0x8c, 0x21, - 0x86, 0x4b, 0xb9, 0xf6, 0x40, 0xdd, 0xcd, 0x28, 0x23, 0x11, 0x4e, 0x9d, 0xc0, 0x13, 0x4c, 0x40, - 0x1e, 0xbd, 0xf2, 0xe0, 0x7b, 0xb0, 0x4d, 0x12, 0x9c, 0x16, 0x2e, 0x1a, 0x6a, 0x4b, 0x69, 0xd7, - 0x7b, 0x03, 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dd, 0x2f, 0xef, 0x59, 0x3d, 0x96, 0x0b, 0x41, 0x8d, 0x8e, - 0xdc, 0xff, 0xfb, 0x5f, 0x53, 0xa3, 0x73, 0x05, 0x7f, 0x2b, 0xe0, 0x71, 0x49, 0x1d, 0xe1, 0x8b, - 0x07, 0xf6, 0x8c, 0x3b, 0x7c, 0xf9, 0xd0, 0xce, 0x17, 0x03, 0xa5, 0x8d, 0x0a, 0xbb, 0x03, 0xad, - 0x9f, 0xdb, 0xbd, 0xf5, 0x77, 0x79, 0xe7, 0x3a, 0x38, 0xee, 0x5c, 0x6d, 0x70, 0x6b, 0x46, 0x85, - 0x82, 0xa9, 0x74, 0x86, 0x1f, 0x55, 0x70, 0xe8, 0x92, 0xa8, 0x32, 0xa9, 0xe1, 0x7e, 0xd9, 0x5c, - 0x4c, 0xf3, 0x05, 0x9d, 0x2a, 0x6f, 0x27, 0x82, 0xc6, 0x27, 0x21, 0x8a, 0x7d, 0x9d, 0xa4, 0xbe, - 0xe1, 0xe3, 0xb8, 0x58, 0x5f, 0x79, 0x1f, 0x27, 0x01, 0xdd, 0xfc, 0x23, 0xe8, 0xcb, 0xe0, 0xb3, - 0xba, 0x35, 0xb6, 0xac, 0x2f, 0x6a, 0x6b, 0xcc, 0x09, 0x2d, 0x8f, 0xea, 0x3c, 0xcc, 0xa3, 0x59, - 0x57, 0x17, 0xc2, 0xf4, 0x46, 0x42, 0xe6, 0x96, 0x47, 0xe7, 0x2b, 0xc8, 0x7c, 0xd6, 0x9d, 0x4b, - 0xc8, 0x4f, 0xf5, 0x90, 0x9f, 0x9b, 0xa6, 0xe5, 0x51, 0xd3, 0x5c, 0x81, 0x4c, 0x73, 0xd6, 0x35, - 0x4d, 0x09, 0x5b, 0xd4, 0x8a, 0x3c, 0x9f, 0xfe, 0x09, 0x00, 0x00, 0xff, 0xff, 0x83, 0x78, 0xdf, - 0x87, 0xaf, 0x06, 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 - -// 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.v1.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.v1.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) -} - -// UnimplementedAccountBudgetProposalServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAccountBudgetProposalServiceServer struct { -} - -func (*UnimplementedAccountBudgetProposalServiceServer) GetAccountBudgetProposal(ctx context.Context, req *GetAccountBudgetProposalRequest) (*resources.AccountBudgetProposal, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAccountBudgetProposal not implemented") -} -func (*UnimplementedAccountBudgetProposalServiceServer) MutateAccountBudgetProposal(ctx context.Context, req *MutateAccountBudgetProposalRequest) (*MutateAccountBudgetProposalResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method MutateAccountBudgetProposal not implemented") -} - -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.v1.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.v1.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.v1.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/v1/services/account_budget_proposal_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/account_budget_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/account_budget_service.pb.go deleted file mode 100644 index a25f4476..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/account_budget_service.pb.go +++ /dev/null @@ -1,187 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/account_budget_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [AccountBudgetService.GetAccountBudget][google.ads.googleads.v1.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_4dc4724169a75353, []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 (m *GetAccountBudgetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAccountBudgetRequest.Merge(m, 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.v1.services.GetAccountBudgetRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/account_budget_service.proto", fileDescriptor_4dc4724169a75353) -} - -var fileDescriptor_4dc4724169a75353 = []byte{ - // 364 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x4f, 0x4a, 0xf3, 0x40, - 0x18, 0xc6, 0x49, 0x3e, 0xf8, 0xc0, 0xa0, 0x20, 0x41, 0x50, 0x8b, 0x8b, 0x52, 0xbb, 0x90, 0x2e, - 0x66, 0x9a, 0x0a, 0xa2, 0x23, 0x15, 0xd2, 0x4d, 0x5d, 0x49, 0xa9, 0xd0, 0x85, 0x04, 0xca, 0x34, - 0x19, 0x86, 0x40, 0x33, 0x53, 0xe7, 0x9d, 0x74, 0x23, 0x82, 0x78, 0x05, 0x6f, 0xe0, 0xd2, 0x1b, - 0x78, 0x05, 0x97, 0x7a, 0x05, 0x57, 0x9e, 0x42, 0xd2, 0xe9, 0x04, 0xaa, 0x86, 0xee, 0x1e, 0xde, - 0x3c, 0xbf, 0xf7, 0xcf, 0x93, 0xf1, 0xba, 0x5c, 0x4a, 0x3e, 0x65, 0x98, 0x26, 0x80, 0x8d, 0x2c, - 0xd4, 0x3c, 0xc0, 0xc0, 0xd4, 0x3c, 0x8d, 0x19, 0x60, 0x1a, 0xc7, 0x32, 0x17, 0x7a, 0x3c, 0xc9, - 0x13, 0xce, 0xf4, 0x78, 0x59, 0x47, 0x33, 0x25, 0xb5, 0xf4, 0xeb, 0x86, 0x41, 0x34, 0x01, 0x54, - 0xe2, 0x68, 0x1e, 0x20, 0x8b, 0xd7, 0x4e, 0xaa, 0x06, 0x28, 0x06, 0x32, 0x57, 0xbf, 0x27, 0x98, - 0xce, 0xb5, 0x03, 0xcb, 0xcd, 0x52, 0x4c, 0x85, 0x90, 0x9a, 0xea, 0x54, 0x0a, 0x30, 0x5f, 0x1b, - 0x17, 0xde, 0x6e, 0x9f, 0xe9, 0xd0, 0x80, 0xbd, 0x05, 0x37, 0x64, 0xb7, 0x39, 0x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 0x29, 0x16, 0xed, 0x5b, 0xd7, 0x02, 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 - -// 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.v1.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) -} - -// UnimplementedAccountBudgetServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAccountBudgetServiceServer struct { -} - -func (*UnimplementedAccountBudgetServiceServer) GetAccountBudget(ctx context.Context, req *GetAccountBudgetRequest) (*resources.AccountBudget, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAccountBudget not implemented") -} - -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.v1.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.v1.services.AccountBudgetService", - HandlerType: (*AccountBudgetServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetAccountBudget", - Handler: _AccountBudgetService_GetAccountBudget_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/account_budget_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_ad_label_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_ad_label_service.pb.go deleted file mode 100644 index b3a57232..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_ad_label_service.pb.go +++ /dev/null @@ -1,502 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/ad_group_ad_label_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [AdGroupAdLabelService.GetAdGroupAdLabel][google.ads.googleads.v1.services.AdGroupAdLabelService.GetAdGroupAdLabel]. -type GetAdGroupAdLabelRequest struct { - // The resource name of the ad group ad label 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 *GetAdGroupAdLabelRequest) Reset() { *m = GetAdGroupAdLabelRequest{} } -func (m *GetAdGroupAdLabelRequest) String() string { return proto.CompactTextString(m) } -func (*GetAdGroupAdLabelRequest) ProtoMessage() {} -func (*GetAdGroupAdLabelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_54f0c11a748eada4, []int{0} -} - -func (m *GetAdGroupAdLabelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAdGroupAdLabelRequest.Unmarshal(m, b) -} -func (m *GetAdGroupAdLabelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAdGroupAdLabelRequest.Marshal(b, m, deterministic) -} -func (m *GetAdGroupAdLabelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAdGroupAdLabelRequest.Merge(m, src) -} -func (m *GetAdGroupAdLabelRequest) XXX_Size() int { - return xxx_messageInfo_GetAdGroupAdLabelRequest.Size(m) -} -func (m *GetAdGroupAdLabelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAdGroupAdLabelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetAdGroupAdLabelRequest proto.InternalMessageInfo - -func (m *GetAdGroupAdLabelRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for -// [AdGroupAdLabelService.MutateAdGroupAdLabels][google.ads.googleads.v1.services.AdGroupAdLabelService.MutateAdGroupAdLabels]. -type MutateAdGroupAdLabelsRequest struct { - // ID of the customer whose ad group ad labels 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 ad group ad labels. - Operations []*AdGroupAdLabelOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateAdGroupAdLabelsRequest) Reset() { *m = MutateAdGroupAdLabelsRequest{} } -func (m *MutateAdGroupAdLabelsRequest) String() string { return proto.CompactTextString(m) } -func (*MutateAdGroupAdLabelsRequest) ProtoMessage() {} -func (*MutateAdGroupAdLabelsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_54f0c11a748eada4, []int{1} -} - -func (m *MutateAdGroupAdLabelsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAdGroupAdLabelsRequest.Unmarshal(m, b) -} -func (m *MutateAdGroupAdLabelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAdGroupAdLabelsRequest.Marshal(b, m, deterministic) -} -func (m *MutateAdGroupAdLabelsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupAdLabelsRequest.Merge(m, src) -} -func (m *MutateAdGroupAdLabelsRequest) XXX_Size() int { - return xxx_messageInfo_MutateAdGroupAdLabelsRequest.Size(m) -} -func (m *MutateAdGroupAdLabelsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAdGroupAdLabelsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAdGroupAdLabelsRequest proto.InternalMessageInfo - -func (m *MutateAdGroupAdLabelsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateAdGroupAdLabelsRequest) GetOperations() []*AdGroupAdLabelOperation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *MutateAdGroupAdLabelsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateAdGroupAdLabelsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// A single operation (create, remove) on an ad group ad label. -type AdGroupAdLabelOperation struct { - // The mutate operation. - // - // Types that are valid to be assigned to Operation: - // *AdGroupAdLabelOperation_Create - // *AdGroupAdLabelOperation_Remove - Operation isAdGroupAdLabelOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdGroupAdLabelOperation) Reset() { *m = AdGroupAdLabelOperation{} } -func (m *AdGroupAdLabelOperation) String() string { return proto.CompactTextString(m) } -func (*AdGroupAdLabelOperation) ProtoMessage() {} -func (*AdGroupAdLabelOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_54f0c11a748eada4, []int{2} -} - -func (m *AdGroupAdLabelOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdGroupAdLabelOperation.Unmarshal(m, b) -} -func (m *AdGroupAdLabelOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdGroupAdLabelOperation.Marshal(b, m, deterministic) -} -func (m *AdGroupAdLabelOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupAdLabelOperation.Merge(m, src) -} -func (m *AdGroupAdLabelOperation) XXX_Size() int { - return xxx_messageInfo_AdGroupAdLabelOperation.Size(m) -} -func (m *AdGroupAdLabelOperation) XXX_DiscardUnknown() { - xxx_messageInfo_AdGroupAdLabelOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_AdGroupAdLabelOperation proto.InternalMessageInfo - -type isAdGroupAdLabelOperation_Operation interface { - isAdGroupAdLabelOperation_Operation() -} - -type AdGroupAdLabelOperation_Create struct { - Create *resources.AdGroupAdLabel `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type AdGroupAdLabelOperation_Remove struct { - Remove string `protobuf:"bytes,2,opt,name=remove,proto3,oneof"` -} - -func (*AdGroupAdLabelOperation_Create) isAdGroupAdLabelOperation_Operation() {} - -func (*AdGroupAdLabelOperation_Remove) isAdGroupAdLabelOperation_Operation() {} - -func (m *AdGroupAdLabelOperation) GetOperation() isAdGroupAdLabelOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *AdGroupAdLabelOperation) GetCreate() *resources.AdGroupAdLabel { - if x, ok := m.GetOperation().(*AdGroupAdLabelOperation_Create); ok { - return x.Create - } - return nil -} - -func (m *AdGroupAdLabelOperation) GetRemove() string { - if x, ok := m.GetOperation().(*AdGroupAdLabelOperation_Remove); ok { - return x.Remove - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AdGroupAdLabelOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AdGroupAdLabelOperation_Create)(nil), - (*AdGroupAdLabelOperation_Remove)(nil), - } -} - -// Response message for an ad group ad labels mutate. -type MutateAdGroupAdLabelsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // All results for the mutate. - Results []*MutateAdGroupAdLabelResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateAdGroupAdLabelsResponse) Reset() { *m = MutateAdGroupAdLabelsResponse{} } -func (m *MutateAdGroupAdLabelsResponse) String() string { return proto.CompactTextString(m) } -func (*MutateAdGroupAdLabelsResponse) ProtoMessage() {} -func (*MutateAdGroupAdLabelsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_54f0c11a748eada4, []int{3} -} - -func (m *MutateAdGroupAdLabelsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAdGroupAdLabelsResponse.Unmarshal(m, b) -} -func (m *MutateAdGroupAdLabelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAdGroupAdLabelsResponse.Marshal(b, m, deterministic) -} -func (m *MutateAdGroupAdLabelsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupAdLabelsResponse.Merge(m, src) -} -func (m *MutateAdGroupAdLabelsResponse) XXX_Size() int { - return xxx_messageInfo_MutateAdGroupAdLabelsResponse.Size(m) -} -func (m *MutateAdGroupAdLabelsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAdGroupAdLabelsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAdGroupAdLabelsResponse proto.InternalMessageInfo - -func (m *MutateAdGroupAdLabelsResponse) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -func (m *MutateAdGroupAdLabelsResponse) GetResults() []*MutateAdGroupAdLabelResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for an ad group ad label mutate. -type MutateAdGroupAdLabelResult 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 *MutateAdGroupAdLabelResult) Reset() { *m = MutateAdGroupAdLabelResult{} } -func (m *MutateAdGroupAdLabelResult) String() string { return proto.CompactTextString(m) } -func (*MutateAdGroupAdLabelResult) ProtoMessage() {} -func (*MutateAdGroupAdLabelResult) Descriptor() ([]byte, []int) { - return fileDescriptor_54f0c11a748eada4, []int{4} -} - -func (m *MutateAdGroupAdLabelResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAdGroupAdLabelResult.Unmarshal(m, b) -} -func (m *MutateAdGroupAdLabelResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAdGroupAdLabelResult.Marshal(b, m, deterministic) -} -func (m *MutateAdGroupAdLabelResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupAdLabelResult.Merge(m, src) -} -func (m *MutateAdGroupAdLabelResult) XXX_Size() int { - return xxx_messageInfo_MutateAdGroupAdLabelResult.Size(m) -} -func (m *MutateAdGroupAdLabelResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAdGroupAdLabelResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAdGroupAdLabelResult proto.InternalMessageInfo - -func (m *MutateAdGroupAdLabelResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetAdGroupAdLabelRequest)(nil), "google.ads.googleads.v1.services.GetAdGroupAdLabelRequest") - proto.RegisterType((*MutateAdGroupAdLabelsRequest)(nil), "google.ads.googleads.v1.services.MutateAdGroupAdLabelsRequest") - proto.RegisterType((*AdGroupAdLabelOperation)(nil), "google.ads.googleads.v1.services.AdGroupAdLabelOperation") - proto.RegisterType((*MutateAdGroupAdLabelsResponse)(nil), "google.ads.googleads.v1.services.MutateAdGroupAdLabelsResponse") - proto.RegisterType((*MutateAdGroupAdLabelResult)(nil), "google.ads.googleads.v1.services.MutateAdGroupAdLabelResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/ad_group_ad_label_service.proto", fileDescriptor_54f0c11a748eada4) -} - -var fileDescriptor_54f0c11a748eada4 = []byte{ - // 669 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x4d, 0x6f, 0xd3, 0x4c, - 0x10, 0x7e, 0xed, 0xbc, 0x2a, 0x74, 0x53, 0x40, 0x2c, 0xaa, 0x6a, 0x45, 0x05, 0x22, 0x53, 0x89, - 0x2a, 0x07, 0x5b, 0x4e, 0xb9, 0xc4, 0x50, 0x8a, 0x2b, 0xd1, 0x14, 0xf1, 0xd1, 0xca, 0x95, 0x22, - 0x81, 0x22, 0x59, 0xdb, 0xec, 0xd6, 0xb2, 0xe4, 0x78, 0xcd, 0xee, 0x3a, 0xa8, 0xaa, 0x7a, 0x80, - 0x3b, 0x27, 0xfe, 0x01, 0x47, 0xae, 0x9c, 0x11, 0x77, 0xae, 0x9c, 0xb8, 0x73, 0x40, 0xfc, 0x0a, - 0x64, 0xaf, 0x37, 0x34, 0x21, 0x56, 0xa0, 0xb7, 0xd9, 0xf9, 0x78, 0x66, 0x9e, 0x99, 0x9d, 0x01, - 0x0f, 0x42, 0x4a, 0xc3, 0x98, 0xd8, 0x08, 0x73, 0x5b, 0x8a, 0xb9, 0x34, 0x72, 0x6c, 0x4e, 0xd8, - 0x28, 0x1a, 0x10, 0x6e, 0x23, 0x1c, 0x84, 0x8c, 0x66, 0x69, 0x80, 0x70, 0x10, 0xa3, 0x43, 0x12, - 0x07, 0xa5, 0xc9, 0x4a, 0x19, 0x15, 0x14, 0x36, 0x65, 0x98, 0x85, 0x30, 0xb7, 0xc6, 0x08, 0xd6, - 0xc8, 0xb1, 0x14, 0x42, 0xa3, 0x53, 0x95, 0x83, 0x11, 0x4e, 0x33, 0x36, 0x33, 0x89, 0x04, 0x6f, - 0xac, 0xaa, 0xd0, 0x34, 0xb2, 0x51, 0x92, 0x50, 0x81, 0x44, 0x44, 0x13, 0x5e, 0x5a, 0x6f, 0x94, - 0xd6, 0xe2, 0x75, 0x98, 0x1d, 0xd9, 0xaf, 0x18, 0x4a, 0x53, 0xc2, 0x94, 0x7d, 0xa5, 0xb4, 0xb3, - 0x74, 0x60, 0x73, 0x81, 0x44, 0x56, 0x1a, 0xcc, 0x2d, 0x60, 0x74, 0x89, 0xf0, 0x70, 0x37, 0xcf, - 0xe9, 0xe1, 0x27, 0x79, 0x46, 0x9f, 0xbc, 0xcc, 0x08, 0x17, 0xf0, 0x16, 0xb8, 0xa4, 0xea, 0x0a, - 0x12, 0x34, 0x24, 0x86, 0xd6, 0xd4, 0xd6, 0x17, 0xfd, 0x25, 0xa5, 0x7c, 0x86, 0x86, 0xc4, 0xfc, - 0xa1, 0x81, 0xd5, 0xa7, 0x99, 0x40, 0x82, 0x4c, 0x82, 0x70, 0x85, 0x72, 0x13, 0xd4, 0x07, 0x19, - 0x17, 0x74, 0x48, 0x58, 0x10, 0xe1, 0x12, 0x03, 0x28, 0xd5, 0x23, 0x0c, 0x9f, 0x03, 0x40, 0x53, - 0xc2, 0x24, 0x1f, 0x43, 0x6f, 0xd6, 0xd6, 0xeb, 0xed, 0x8e, 0x35, 0xaf, 0x97, 0xd6, 0x64, 0xba, - 0x3d, 0x85, 0xe0, 0x9f, 0x01, 0x83, 0xb7, 0xc1, 0x95, 0x14, 0x31, 0x11, 0xa1, 0x38, 0x38, 0x42, - 0x51, 0x9c, 0x31, 0x62, 0xd4, 0x9a, 0xda, 0xfa, 0x45, 0xff, 0x72, 0xa9, 0xde, 0x91, 0xda, 0x9c, - 0xea, 0x08, 0xc5, 0x11, 0x46, 0x82, 0x04, 0x34, 0x89, 0x8f, 0x8d, 0xff, 0x0b, 0xb7, 0x25, 0xa5, - 0xdc, 0x4b, 0xe2, 0x63, 0xf3, 0xad, 0x06, 0x56, 0x2a, 0xb2, 0xc2, 0xc7, 0x60, 0x61, 0xc0, 0x08, - 0x12, 0xb2, 0x49, 0xf5, 0xb6, 0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0xa6, 0x71, 0x72, 0x66, 0xd1, 0x37, - 0x5b, 0xa7, 0xd3, 0xa4, 0xdc, 0x61, 0x01, 0xea, 0x6a, 0xad, 0xed, 0xd7, 0x3a, 0x58, 0x1b, 0xd0, - 0xe1, 0xdc, 0x3a, 0xb6, 0x1b, 0x33, 0x67, 0xbb, 0x9f, 0xdf, 0xae, 0x7d, 0xed, 0xc5, 0x6e, 0x19, - 0x1f, 0xd2, 0x18, 0x25, 0xa1, 0x45, 0x59, 0x68, 0x87, 0x24, 0x29, 0x2e, 0x9b, 0xba, 0xaf, 0x69, - 0xc4, 0xab, 0x4f, 0xfa, 0x5d, 0x25, 0xbc, 0xd7, 0x6b, 0x5d, 0xcf, 0xfb, 0xa0, 0x37, 0xbb, 0x12, - 0xd0, 0xc3, 0xdc, 0x92, 0x62, 0x2e, 0xf5, 0x1c, 0xab, 0x4c, 0xcc, 0xbf, 0x28, 0x97, 0xbe, 0x87, - 0x79, 0x7f, 0xec, 0xd2, 0xef, 0x39, 0x7d, 0xe5, 0xf2, 0x53, 0x5f, 0x93, 0x7a, 0xd7, 0xf5, 0x30, - 0x77, 0xdd, 0xb1, 0x93, 0xeb, 0xf6, 0x1c, 0xd7, 0x55, 0x6e, 0x87, 0x0b, 0x45, 0x9d, 0x1b, 0xbf, - 0x02, 0x00, 0x00, 0xff, 0xff, 0x0e, 0xd7, 0x62, 0x6d, 0x79, 0x06, 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 - -// AdGroupAdLabelServiceClient is the client API for AdGroupAdLabelService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AdGroupAdLabelServiceClient interface { - // Returns the requested ad group ad label in full detail. - GetAdGroupAdLabel(ctx context.Context, in *GetAdGroupAdLabelRequest, opts ...grpc.CallOption) (*resources.AdGroupAdLabel, error) - // Creates and removes ad group ad labels. - // Operation statuses are returned. - MutateAdGroupAdLabels(ctx context.Context, in *MutateAdGroupAdLabelsRequest, opts ...grpc.CallOption) (*MutateAdGroupAdLabelsResponse, error) -} - -type adGroupAdLabelServiceClient struct { - cc *grpc.ClientConn -} - -func NewAdGroupAdLabelServiceClient(cc *grpc.ClientConn) AdGroupAdLabelServiceClient { - return &adGroupAdLabelServiceClient{cc} -} - -func (c *adGroupAdLabelServiceClient) GetAdGroupAdLabel(ctx context.Context, in *GetAdGroupAdLabelRequest, opts ...grpc.CallOption) (*resources.AdGroupAdLabel, error) { - out := new(resources.AdGroupAdLabel) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.AdGroupAdLabelService/GetAdGroupAdLabel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adGroupAdLabelServiceClient) MutateAdGroupAdLabels(ctx context.Context, in *MutateAdGroupAdLabelsRequest, opts ...grpc.CallOption) (*MutateAdGroupAdLabelsResponse, error) { - out := new(MutateAdGroupAdLabelsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.AdGroupAdLabelService/MutateAdGroupAdLabels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AdGroupAdLabelServiceServer is the server API for AdGroupAdLabelService service. -type AdGroupAdLabelServiceServer interface { - // Returns the requested ad group ad label in full detail. - GetAdGroupAdLabel(context.Context, *GetAdGroupAdLabelRequest) (*resources.AdGroupAdLabel, error) - // Creates and removes ad group ad labels. - // Operation statuses are returned. - MutateAdGroupAdLabels(context.Context, *MutateAdGroupAdLabelsRequest) (*MutateAdGroupAdLabelsResponse, error) -} - -// UnimplementedAdGroupAdLabelServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAdGroupAdLabelServiceServer struct { -} - -func (*UnimplementedAdGroupAdLabelServiceServer) GetAdGroupAdLabel(ctx context.Context, req *GetAdGroupAdLabelRequest) (*resources.AdGroupAdLabel, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetAdGroupAdLabel not implemented") -} -func (*UnimplementedAdGroupAdLabelServiceServer) MutateAdGroupAdLabels(ctx context.Context, req *MutateAdGroupAdLabelsRequest) (*MutateAdGroupAdLabelsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateAdGroupAdLabels not implemented") -} - -func RegisterAdGroupAdLabelServiceServer(s *grpc.Server, srv AdGroupAdLabelServiceServer) { - s.RegisterService(&_AdGroupAdLabelService_serviceDesc, srv) -} - -func _AdGroupAdLabelService_GetAdGroupAdLabel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAdGroupAdLabelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdGroupAdLabelServiceServer).GetAdGroupAdLabel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.AdGroupAdLabelService/GetAdGroupAdLabel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdGroupAdLabelServiceServer).GetAdGroupAdLabel(ctx, req.(*GetAdGroupAdLabelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdGroupAdLabelService_MutateAdGroupAdLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateAdGroupAdLabelsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdGroupAdLabelServiceServer).MutateAdGroupAdLabels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.AdGroupAdLabelService/MutateAdGroupAdLabels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdGroupAdLabelServiceServer).MutateAdGroupAdLabels(ctx, req.(*MutateAdGroupAdLabelsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _AdGroupAdLabelService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.AdGroupAdLabelService", - HandlerType: (*AdGroupAdLabelServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetAdGroupAdLabel", - Handler: _AdGroupAdLabelService_GetAdGroupAdLabel_Handler, - }, - { - MethodName: "MutateAdGroupAdLabels", - Handler: _AdGroupAdLabelService_MutateAdGroupAdLabels_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/ad_group_ad_label_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_ad_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_ad_service.pb.go deleted file mode 100644 index 0ef334ce..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_ad_service.pb.go +++ /dev/null @@ -1,541 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/ad_group_ad_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v1/common" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [AdGroupAdService.GetAdGroupAd][google.ads.googleads.v1.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_3faf2e58edc49841, []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 (m *GetAdGroupAdRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAdGroupAdRequest.Merge(m, 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.v1.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_3faf2e58edc49841, []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 (m *MutateAdGroupAdsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupAdsRequest.Merge(m, 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 -} - -func (m *MutateAdGroupAdsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateAdGroupAdsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_3faf2e58edc49841, []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 (m *AdGroupAdOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupAdOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*AdGroupAdOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AdGroupAdOperation_Create)(nil), - (*AdGroupAdOperation_Update)(nil), - (*AdGroupAdOperation_Remove)(nil), - } -} - -// Response message for an ad group ad mutate. -type MutateAdGroupAdsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_3faf2e58edc49841, []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 (m *MutateAdGroupAdsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupAdsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_3faf2e58edc49841, []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 (m *MutateAdGroupAdResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupAdResult.Merge(m, 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.v1.services.GetAdGroupAdRequest") - proto.RegisterType((*MutateAdGroupAdsRequest)(nil), "google.ads.googleads.v1.services.MutateAdGroupAdsRequest") - proto.RegisterType((*AdGroupAdOperation)(nil), "google.ads.googleads.v1.services.AdGroupAdOperation") - proto.RegisterType((*MutateAdGroupAdsResponse)(nil), "google.ads.googleads.v1.services.MutateAdGroupAdsResponse") - proto.RegisterType((*MutateAdGroupAdResult)(nil), "google.ads.googleads.v1.services.MutateAdGroupAdResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/ad_group_ad_service.proto", fileDescriptor_3faf2e58edc49841) -} - -var fileDescriptor_3faf2e58edc49841 = []byte{ - // 766 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0xc1, 0x6e, 0xd3, 0x4a, - 0x14, 0x7d, 0x4e, 0xde, 0xeb, 0x7b, 0x9d, 0xf4, 0x41, 0x35, 0x55, 0x55, 0x13, 0x10, 0x44, 0xa6, - 0x12, 0x55, 0xa8, 0x6c, 0x25, 0x2d, 0x42, 0x75, 0xe9, 0x22, 0x95, 0x68, 0xca, 0xa2, 0x34, 0xb8, - 0x28, 0x0b, 0x14, 0xc9, 0x9a, 0xda, 0xd3, 0xc8, 0xaa, 0xed, 0x19, 0x66, 0xc6, 0x41, 0x51, 0xd5, - 0x0d, 0x48, 0xfc, 0x00, 0x7f, 0xc0, 0x0e, 0xf6, 0x7c, 0x02, 0x1b, 0xb6, 0xec, 0x59, 0xb1, 0xe2, - 0x1b, 0x58, 0x20, 0x7b, 0x3c, 0x26, 0x4d, 0x1b, 0x85, 0x76, 0x37, 0xbe, 0x73, 0xcf, 0xb9, 0x67, - 0xe6, 0xdc, 0xb9, 0x06, 0x76, 0x9f, 0x90, 0x7e, 0x88, 0x2d, 0xe4, 0x73, 0x4b, 0x2e, 0xd3, 0xd5, - 0xa0, 0x61, 0x71, 0xcc, 0x06, 0x81, 0x87, 0xb9, 0x85, 0x7c, 0xb7, 0xcf, 0x48, 0x42, 0x5d, 0xe4, - 0xbb, 0x79, 0xd0, 0xa4, 0x8c, 0x08, 0x02, 0x6b, 0x12, 0x60, 0x22, 0x9f, 0x9b, 0x05, 0xd6, 0x1c, - 0x34, 0x4c, 0x85, 0xad, 0xde, 0x9f, 0xc4, 0xee, 0x91, 0x28, 0x22, 0xb1, 0x45, 0x49, 0x18, 0x78, - 0x43, 0x49, 0x57, 0x5d, 0x9b, 0x94, 0xcc, 0x30, 0x27, 0x09, 0x1b, 0xd3, 0x92, 0x83, 0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5a, 0x3e, 0xef, 0x15, 0x29, 0xbd, 0x6e, 0xa3, 0xa7, 0x52, 0x7e, 0x94, 0x96, 0x65, 0xdc, 0xb6, - 0xd3, 0xf3, 0xda, 0x45, 0x92, 0x6d, 0x77, 0x1b, 0xb6, 0xad, 0xd2, 0x0e, 0x67, 0x32, 0x9d, 0x6b, - 0xbf, 0x02, 0x00, 0x00, 0xff, 0xff, 0x46, 0x3a, 0xc6, 0x70, 0x62, 0x07, 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 - -// 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.v1.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.v1.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) -} - -// UnimplementedAdGroupAdServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAdGroupAdServiceServer struct { -} - -func (*UnimplementedAdGroupAdServiceServer) GetAdGroupAd(ctx context.Context, req *GetAdGroupAdRequest) (*resources.AdGroupAd, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetAdGroupAd not implemented") -} -func (*UnimplementedAdGroupAdServiceServer) MutateAdGroupAds(ctx context.Context, req *MutateAdGroupAdsRequest) (*MutateAdGroupAdsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateAdGroupAds not implemented") -} - -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.v1.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.v1.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.v1.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/v1/services/ad_group_ad_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_audience_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_audience_view_service.pb.go deleted file mode 100644 index 9d9b376e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_audience_view_service.pb.go +++ /dev/null @@ -1,187 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/ad_group_audience_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // 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_3d5066b0a4b723bc, []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 (m *GetAdGroupAudienceViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAdGroupAudienceViewRequest.Merge(m, 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.v1.services.GetAdGroupAudienceViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/ad_group_audience_view_service.proto", fileDescriptor_3d5066b0a4b723bc) -} - -var fileDescriptor_3d5066b0a4b723bc = []byte{ - // 377 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xbd, 0x4a, 0xec, 0x40, - 0x14, 0x26, 0xb9, 0x70, 0xe1, 0x86, 0x7b, 0x9b, 0x14, 0x17, 0x09, 0x8a, 0xcb, 0xba, 0x85, 0x6c, - 0x31, 0x43, 0x14, 0x16, 0x19, 0x71, 0x25, 0x8b, 0x12, 0x2b, 0x59, 0x56, 0x48, 0x21, 0x81, 0x30, - 0x66, 0x86, 0x10, 0xd8, 0x64, 0x62, 0x4e, 0x92, 0x2d, 0xc4, 0xc6, 0xc2, 0x17, 0xf0, 0x0d, 0x2c, - 0x7d, 0x14, 0x3b, 0xf1, 0x15, 0xac, 0xac, 0x7c, 0x04, 0xc9, 0x4e, 0x26, 0x20, 0x6e, 0xdc, 0xee, - 0x63, 0xe6, 0xfb, 0x39, 0xf3, 0x9d, 0x31, 0x4e, 0x23, 0x21, 0xa2, 0x39, 0xc7, 0x94, 0x01, 0x96, - 0xb0, 0x46, 0x95, 0x8d, 0x81, 0xe7, 0x55, 0x1c, 0x72, 0xc0, 0x94, 0x05, 0x51, 0x2e, 0xca, 0x2c, - 0xa0, 0x25, 0x8b, 0x79, 0x1a, 0xf2, 0xa0, 0x8a, 0xf9, 0x22, 0x68, 0xee, 0x51, 0x96, 0x8b, 0x42, - 0x98, 0x3d, 0xa9, 0x45, 0x94, 0x01, 0x6a, 0x6d, 0x50, 0x65, 0x23, 0x65, 0x63, 0x8d, 0xbb, 0x82, - 0x72, 0x0e, 0xa2, 0xcc, 0xbb, 0x93, 0x64, 0x82,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df, 0x61, 0xe0, - 0xb7, 0x14, 0xdf, 0xb3, 0x7d, 0x45, 0x79, 0xd7, 0x07, 0xf2, 0x9c, 0x10, 0x87, 0x01, 0x21, 0x2d, - 0x89, 0x10, 0xcf, 0x26, 0x44, 0xd1, 0xae, 0x7e, 0x2f, 0xe7, 0xdc, 0xff, 0x0c, 0x00, 0x00, 0xff, - 0xff, 0x44, 0x48, 0x54, 0x5f, 0x11, 0x03, 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 - -// 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.v1.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) -} - -// UnimplementedAdGroupAudienceViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAdGroupAudienceViewServiceServer struct { -} - -func (*UnimplementedAdGroupAudienceViewServiceServer) GetAdGroupAudienceView(ctx context.Context, req *GetAdGroupAudienceViewRequest) (*resources.AdGroupAudienceView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAdGroupAudienceView not implemented") -} - -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.v1.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.v1.services.AdGroupAudienceViewService", - HandlerType: (*AdGroupAudienceViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetAdGroupAudienceView", - Handler: _AdGroupAudienceViewService_GetAdGroupAudienceView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/ad_group_audience_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_bid_modifier_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_bid_modifier_service.pb.go deleted file mode 100644 index 93cadee4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_bid_modifier_service.pb.go +++ /dev/null @@ -1,531 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/ad_group_bid_modifier_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [AdGroupBidModifierService.GetAdGroupBidModifier][google.ads.googleads.v1.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_66526f749bb8a530, []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 (m *GetAdGroupBidModifierRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAdGroupBidModifierRequest.Merge(m, 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.v1.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_66526f749bb8a530, []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 (m *MutateAdGroupBidModifiersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupBidModifiersRequest.Merge(m, 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 -} - -func (m *MutateAdGroupBidModifiersRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateAdGroupBidModifiersRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_66526f749bb8a530, []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 (m *AdGroupBidModifierOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupBidModifierOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*AdGroupBidModifierOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AdGroupBidModifierOperation_Create)(nil), - (*AdGroupBidModifierOperation_Update)(nil), - (*AdGroupBidModifierOperation_Remove)(nil), - } -} - -// Response message for ad group bid modifiers mutate. -type MutateAdGroupBidModifiersResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_66526f749bb8a530, []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 (m *MutateAdGroupBidModifiersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupBidModifiersResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_66526f749bb8a530, []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 (m *MutateAdGroupBidModifierResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupBidModifierResult.Merge(m, 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.v1.services.GetAdGroupBidModifierRequest") - proto.RegisterType((*MutateAdGroupBidModifiersRequest)(nil), "google.ads.googleads.v1.services.MutateAdGroupBidModifiersRequest") - proto.RegisterType((*AdGroupBidModifierOperation)(nil), "google.ads.googleads.v1.services.AdGroupBidModifierOperation") - proto.RegisterType((*MutateAdGroupBidModifiersResponse)(nil), "google.ads.googleads.v1.services.MutateAdGroupBidModifiersResponse") - proto.RegisterType((*MutateAdGroupBidModifierResult)(nil), "google.ads.googleads.v1.services.MutateAdGroupBidModifierResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/ad_group_bid_modifier_service.proto", fileDescriptor_66526f749bb8a530) -} - -var fileDescriptor_66526f749bb8a530 = []byte{ - // 730 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0xcd, 0x6e, 0xd3, 0x4a, - 0x14, 0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 0x2e, 0x2a, 0x5e, 0x31, 0x14, 0xc7, 0x84, 0x29, - 0xc2, 0xad, 0xfc, 0x9c, 0xc5, 0x7d, 0x8b, 0x0b, 0x24, 0x92, 0xfc, 0xc0, 0x58, 0x07, 0x8b, 0x5d, - 0x22, 0xda, 0xb8, 0x9b, 0x66, 0xd6, 0xf1, 0xf1, 0x76, 0x9e, 0x97, 0x43, 0x5e, 0x26, 0x84, 0x0b, - 0x78, 0x0f, 0xfc, 0xa7, 0x2a, 0x70, 0x23, 0x14, 0x92, 0x8a, 0x56, 0xd3, 0x56, 0x66, 0x9d, 0x39, - 0xe5, 0x7c, 0x8e, 0x42, 0x62, 0xfc, 0xd4, 0x40, 0x6d, 0x3b, 0x11, 0x48, 0x90, 0x71, 0x10, 0x57, - 0xa4, 0x3b, 0xa0, 0xdc, 0x4f, 0xb8, 0xa0, 0x21, 0x61, 0xae, 0x8f, 0x73, 0x0e, 0x50, 0xae, 0x67, - 0x18, 0xbe, 0x00, 0x80, 0xc6, 0x84, 0xc9, 0xca, 0x2b, 0x7a, 0xad, 0xb4, 0x52, 0x6e, 0xb6, 0xcc, - 0x69, 0x9d, 0x37, 0xc7, 0x43, 0xee, 0x28, 0x8a, 0x73, 0x06, 0x08, 0xef, 0x83, 0x1b, 0x31, 0x62, - 0xc2, 0x47, 0x81, 0x3b, 0x40, 0x7e, 0x90, 0x30, 0x52, 0x29, 0xd5, 0xb4, 0x95, 0x7f, 0x9d, 0xff, - 0x73, 0xf7, 0xa6, 0xf4, 0xa6, 0x25, 0x0f, 0x51, 0xe0, 0x63, 0x24, 0x88, 0x4b, 0xa3, 0xe0, 0xb8, - 0xf2, 0x77, 0x26, 0x9b, 0x53, 0xce, 0x9d, 0x28, 0x38, 0x36, 0xde, 0xeb, 0xe0, 0xf6, 0x84, 0xc8, - 0x70, 0x0d, 0x94, 0x93, 0x38, 0x43, 0xa4, 0x53, 0xca, 0x10, 0xe5, 0x66, 0x55, 0x55, 0xa3, 0xc6, - 0x64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, 0x4f, 0xe1, 0x77, 0x0d, 0x2c, 0x14, 0x8e, 0x1f, - 0x76, 0xae, 0x3e, 0x1d, 0xf5, 0xa8, 0x54, 0xd7, 0xaf, 0xc5, 0x90, 0xfb, 0x67, 0xac, 0x67, 0x55, - 0xb6, 0x8c, 0x47, 0x69, 0x95, 0xbf, 0xcb, 0x3a, 0x39, 0xf3, 0x5c, 0xb5, 0xea, 0xa7, 0x97, 0x15, - 0x69, 0x87, 0x19, 0xdc, 0xd6, 0xea, 0x9d, 0x37, 0x3a, 0x58, 0xee, 0xd3, 0x70, 0x6a, 0x3e, 0x9d, - 0xa5, 0xc2, 0xf9, 0xef, 0xa6, 0xaf, 0xc2, 0xae, 0x76, 0xb0, 0x95, 0x33, 0x3c, 0x1a, 0xa0, 0xc8, - 0x33, 0x29, 0xf3, 0x2c, 0x8f, 0x44, 0xd9, 0x9b, 0xa1, 0xbe, 0x2d, 0xb1, 0xcf, 0x8b, 0x3f, 0x69, - 0x6b, 0xca, 0x78, 0xa7, 0x97, 0xba, 0xed, 0xf6, 0x07, 0xbd, 0xd6, 0x95, 0xc0, 0x36, 0xe6, 0xa6, - 0x34, 0x53, 0x6b, 0xbf, 0x61, 0xe6, 0x81, 0xf9, 0x27, 0x25, 0xe9, 0xb5, 0x31, 0xef, 0x8d, 0x24, - 0xbd, 0xfd, 0x46, 0x4f, 0x49, 0x7e, 0xe8, 0xcb, 0xd2, 0x6f, 0xdb, 0x6d, 0xcc, 0x6d, 0x7b, 0x24, - 0xb2, 0xed, 0xfd, 0x86, 0x6d, 0x2b, 0xd9, 0xe1, 0x4c, 0x96, 0xe7, 0x83, 0x5f, 0x01, 0x00, 0x00, - 0xff, 0xff, 0x79, 0xcc, 0x98, 0xaf, 0x79, 0x07, 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 - -// 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.v1.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.v1.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) -} - -// UnimplementedAdGroupBidModifierServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAdGroupBidModifierServiceServer struct { -} - -func (*UnimplementedAdGroupBidModifierServiceServer) GetAdGroupBidModifier(ctx context.Context, req *GetAdGroupBidModifierRequest) (*resources.AdGroupBidModifier, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetAdGroupBidModifier not implemented") -} -func (*UnimplementedAdGroupBidModifierServiceServer) MutateAdGroupBidModifiers(ctx context.Context, req *MutateAdGroupBidModifiersRequest) (*MutateAdGroupBidModifiersResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateAdGroupBidModifiers not implemented") -} - -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.v1.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.v1.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.v1.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/v1/services/ad_group_bid_modifier_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_criterion_label_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_criterion_label_service.pb.go deleted file mode 100644 index 15bfb18d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_criterion_label_service.pb.go +++ /dev/null @@ -1,503 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/ad_group_criterion_label_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [AdGroupCriterionLabelService.GetAdGroupCriterionLabel][google.ads.googleads.v1.services.AdGroupCriterionLabelService.GetAdGroupCriterionLabel]. -type GetAdGroupCriterionLabelRequest struct { - // The resource name of the ad group criterion label 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 *GetAdGroupCriterionLabelRequest) Reset() { *m = GetAdGroupCriterionLabelRequest{} } -func (m *GetAdGroupCriterionLabelRequest) String() string { return proto.CompactTextString(m) } -func (*GetAdGroupCriterionLabelRequest) ProtoMessage() {} -func (*GetAdGroupCriterionLabelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_812d424f598fe7ab, []int{0} -} - -func (m *GetAdGroupCriterionLabelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAdGroupCriterionLabelRequest.Unmarshal(m, b) -} -func (m *GetAdGroupCriterionLabelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAdGroupCriterionLabelRequest.Marshal(b, m, deterministic) -} -func (m *GetAdGroupCriterionLabelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAdGroupCriterionLabelRequest.Merge(m, src) -} -func (m *GetAdGroupCriterionLabelRequest) XXX_Size() int { - return xxx_messageInfo_GetAdGroupCriterionLabelRequest.Size(m) -} -func (m *GetAdGroupCriterionLabelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAdGroupCriterionLabelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetAdGroupCriterionLabelRequest proto.InternalMessageInfo - -func (m *GetAdGroupCriterionLabelRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for -// [AdGroupCriterionLabelService.MutateAdGroupCriterionLabels][google.ads.googleads.v1.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels]. -type MutateAdGroupCriterionLabelsRequest struct { - // ID of the customer whose ad group criterion labels 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 ad group criterion labels. - Operations []*AdGroupCriterionLabelOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateAdGroupCriterionLabelsRequest) Reset() { *m = MutateAdGroupCriterionLabelsRequest{} } -func (m *MutateAdGroupCriterionLabelsRequest) String() string { return proto.CompactTextString(m) } -func (*MutateAdGroupCriterionLabelsRequest) ProtoMessage() {} -func (*MutateAdGroupCriterionLabelsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_812d424f598fe7ab, []int{1} -} - -func (m *MutateAdGroupCriterionLabelsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAdGroupCriterionLabelsRequest.Unmarshal(m, b) -} -func (m *MutateAdGroupCriterionLabelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAdGroupCriterionLabelsRequest.Marshal(b, m, deterministic) -} -func (m *MutateAdGroupCriterionLabelsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupCriterionLabelsRequest.Merge(m, src) -} -func (m *MutateAdGroupCriterionLabelsRequest) XXX_Size() int { - return xxx_messageInfo_MutateAdGroupCriterionLabelsRequest.Size(m) -} -func (m *MutateAdGroupCriterionLabelsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAdGroupCriterionLabelsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAdGroupCriterionLabelsRequest proto.InternalMessageInfo - -func (m *MutateAdGroupCriterionLabelsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateAdGroupCriterionLabelsRequest) GetOperations() []*AdGroupCriterionLabelOperation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *MutateAdGroupCriterionLabelsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateAdGroupCriterionLabelsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// A single operation (create, remove) on an ad group criterion label. -type AdGroupCriterionLabelOperation struct { - // The mutate operation. - // - // Types that are valid to be assigned to Operation: - // *AdGroupCriterionLabelOperation_Create - // *AdGroupCriterionLabelOperation_Remove - Operation isAdGroupCriterionLabelOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdGroupCriterionLabelOperation) Reset() { *m = AdGroupCriterionLabelOperation{} } -func (m *AdGroupCriterionLabelOperation) String() string { return proto.CompactTextString(m) } -func (*AdGroupCriterionLabelOperation) ProtoMessage() {} -func (*AdGroupCriterionLabelOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_812d424f598fe7ab, []int{2} -} - -func (m *AdGroupCriterionLabelOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdGroupCriterionLabelOperation.Unmarshal(m, b) -} -func (m *AdGroupCriterionLabelOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdGroupCriterionLabelOperation.Marshal(b, m, deterministic) -} -func (m *AdGroupCriterionLabelOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupCriterionLabelOperation.Merge(m, src) -} -func (m *AdGroupCriterionLabelOperation) XXX_Size() int { - return xxx_messageInfo_AdGroupCriterionLabelOperation.Size(m) -} -func (m *AdGroupCriterionLabelOperation) XXX_DiscardUnknown() { - xxx_messageInfo_AdGroupCriterionLabelOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_AdGroupCriterionLabelOperation proto.InternalMessageInfo - -type isAdGroupCriterionLabelOperation_Operation interface { - isAdGroupCriterionLabelOperation_Operation() -} - -type AdGroupCriterionLabelOperation_Create struct { - Create *resources.AdGroupCriterionLabel `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type AdGroupCriterionLabelOperation_Remove struct { - Remove string `protobuf:"bytes,2,opt,name=remove,proto3,oneof"` -} - -func (*AdGroupCriterionLabelOperation_Create) isAdGroupCriterionLabelOperation_Operation() {} - -func (*AdGroupCriterionLabelOperation_Remove) isAdGroupCriterionLabelOperation_Operation() {} - -func (m *AdGroupCriterionLabelOperation) GetOperation() isAdGroupCriterionLabelOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *AdGroupCriterionLabelOperation) GetCreate() *resources.AdGroupCriterionLabel { - if x, ok := m.GetOperation().(*AdGroupCriterionLabelOperation_Create); ok { - return x.Create - } - return nil -} - -func (m *AdGroupCriterionLabelOperation) GetRemove() string { - if x, ok := m.GetOperation().(*AdGroupCriterionLabelOperation_Remove); ok { - return x.Remove - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AdGroupCriterionLabelOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AdGroupCriterionLabelOperation_Create)(nil), - (*AdGroupCriterionLabelOperation_Remove)(nil), - } -} - -// Response message for an ad group criterion labels mutate. -type MutateAdGroupCriterionLabelsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // All results for the mutate. - Results []*MutateAdGroupCriterionLabelResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateAdGroupCriterionLabelsResponse) Reset() { *m = MutateAdGroupCriterionLabelsResponse{} } -func (m *MutateAdGroupCriterionLabelsResponse) String() string { return proto.CompactTextString(m) } -func (*MutateAdGroupCriterionLabelsResponse) ProtoMessage() {} -func (*MutateAdGroupCriterionLabelsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_812d424f598fe7ab, []int{3} -} - -func (m *MutateAdGroupCriterionLabelsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAdGroupCriterionLabelsResponse.Unmarshal(m, b) -} -func (m *MutateAdGroupCriterionLabelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAdGroupCriterionLabelsResponse.Marshal(b, m, deterministic) -} -func (m *MutateAdGroupCriterionLabelsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupCriterionLabelsResponse.Merge(m, src) -} -func (m *MutateAdGroupCriterionLabelsResponse) XXX_Size() int { - return xxx_messageInfo_MutateAdGroupCriterionLabelsResponse.Size(m) -} -func (m *MutateAdGroupCriterionLabelsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAdGroupCriterionLabelsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAdGroupCriterionLabelsResponse proto.InternalMessageInfo - -func (m *MutateAdGroupCriterionLabelsResponse) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -func (m *MutateAdGroupCriterionLabelsResponse) GetResults() []*MutateAdGroupCriterionLabelResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for an ad group criterion label mutate. -type MutateAdGroupCriterionLabelResult 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 *MutateAdGroupCriterionLabelResult) Reset() { *m = MutateAdGroupCriterionLabelResult{} } -func (m *MutateAdGroupCriterionLabelResult) String() string { return proto.CompactTextString(m) } -func (*MutateAdGroupCriterionLabelResult) ProtoMessage() {} -func (*MutateAdGroupCriterionLabelResult) Descriptor() ([]byte, []int) { - return fileDescriptor_812d424f598fe7ab, []int{4} -} - -func (m *MutateAdGroupCriterionLabelResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAdGroupCriterionLabelResult.Unmarshal(m, b) -} -func (m *MutateAdGroupCriterionLabelResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAdGroupCriterionLabelResult.Marshal(b, m, deterministic) -} -func (m *MutateAdGroupCriterionLabelResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupCriterionLabelResult.Merge(m, src) -} -func (m *MutateAdGroupCriterionLabelResult) XXX_Size() int { - return xxx_messageInfo_MutateAdGroupCriterionLabelResult.Size(m) -} -func (m *MutateAdGroupCriterionLabelResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAdGroupCriterionLabelResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAdGroupCriterionLabelResult proto.InternalMessageInfo - -func (m *MutateAdGroupCriterionLabelResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetAdGroupCriterionLabelRequest)(nil), "google.ads.googleads.v1.services.GetAdGroupCriterionLabelRequest") - proto.RegisterType((*MutateAdGroupCriterionLabelsRequest)(nil), "google.ads.googleads.v1.services.MutateAdGroupCriterionLabelsRequest") - proto.RegisterType((*AdGroupCriterionLabelOperation)(nil), "google.ads.googleads.v1.services.AdGroupCriterionLabelOperation") - proto.RegisterType((*MutateAdGroupCriterionLabelsResponse)(nil), "google.ads.googleads.v1.services.MutateAdGroupCriterionLabelsResponse") - proto.RegisterType((*MutateAdGroupCriterionLabelResult)(nil), "google.ads.googleads.v1.services.MutateAdGroupCriterionLabelResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/ad_group_criterion_label_service.proto", fileDescriptor_812d424f598fe7ab) -} - -var fileDescriptor_812d424f598fe7ab = []byte{ - // 677 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0xcf, 0x6b, 0xd4, 0x5e, - 0x10, 0xff, 0x26, 0xfb, 0xa5, 0xda, 0xb7, 0x55, 0xe1, 0x89, 0x18, 0x96, 0xd2, 0x6e, 0xd3, 0x82, - 0x65, 0x0f, 0x09, 0xbb, 0x5e, 0x4a, 0x4a, 0x61, 0xd3, 0xd2, 0xdd, 0x0a, 0x6a, 0x4b, 0x0a, 0x3d, - 0xc8, 0x4a, 0x7c, 0x9b, 0x4c, 0x43, 0x20, 0x9b, 0x17, 0xdf, 0x7b, 0x59, 0x29, 0xa5, 0x17, 0x4f, - 0xde, 0x3d, 0x7a, 0xf3, 0xe8, 0x9f, 0x22, 0x78, 0xf2, 0xe4, 0xdd, 0x93, 0x47, 0x41, 0xcf, 0x92, - 0x1f, 0x6f, 0x6d, 0x65, 0x77, 0x23, 0xf6, 0x36, 0x99, 0x99, 0xfd, 0x7c, 0xe6, 0x33, 0x33, 0x6f, - 0x16, 0xf5, 0x03, 0x4a, 0x83, 0x08, 0x4c, 0xe2, 0x73, 0xb3, 0x30, 0x33, 0x6b, 0xdc, 0x36, 0x39, - 0xb0, 0x71, 0xe8, 0x01, 0x37, 0x89, 0xef, 0x06, 0x8c, 0xa6, 0x89, 0xeb, 0xb1, 0x50, 0x00, 0x0b, - 0x69, 0xec, 0x46, 0x64, 0x08, 0x91, 0x5b, 0x66, 0x18, 0x09, 0xa3, 0x82, 0xe2, 0x66, 0xf1, 0x6b, - 0x83, 0xf8, 0xdc, 0x98, 0x00, 0x19, 0xe3, 0xb6, 0x21, 0x81, 0x1a, 0xdd, 0x59, 0x54, 0x0c, 0x38, - 0x4d, 0xd9, 0x3c, 0xae, 0x82, 0xa3, 0xb1, 0x2c, 0x11, 0x92, 0xd0, 0x24, 0x71, 0x4c, 0x05, 0x11, - 0x21, 0x8d, 0x79, 0x19, 0x5d, 0x29, 0xa3, 0xf9, 0xd7, 0x30, 0x3d, 0x35, 0x5f, 0x31, 0x92, 0x24, - 0xc0, 0x64, 0xfc, 0x7e, 0x19, 0x67, 0x89, 0x67, 0x72, 0x41, 0x44, 0x5a, 0x06, 0xf4, 0x1e, 0x5a, - 0xed, 0x83, 0xb0, 0xfd, 0x7e, 0x46, 0xbd, 0x27, 0x99, 0x1f, 0x67, 0xc4, 0x0e, 0xbc, 0x4c, 0x81, - 0x0b, 0xbc, 0x8e, 0x6e, 0xc9, 0x2a, 0xdd, 0x98, 0x8c, 0x40, 0x53, 0x9a, 0xca, 0xe6, 0xa2, 0xb3, - 0x24, 0x9d, 0x4f, 0xc9, 0x08, 0xf4, 0x9f, 0x0a, 0x5a, 0x7f, 0x92, 0x0a, 0x22, 0x60, 0x2a, 0x16, - 0x97, 0x60, 0xab, 0xa8, 0xee, 0xa5, 0x5c, 0xd0, 0x11, 0x30, 0x37, 0xf4, 0x4b, 0x28, 0x24, 0x5d, - 0x8f, 0x7c, 0xfc, 0x02, 0x21, 0x9a, 0x00, 0x2b, 0xd4, 0x69, 0x6a, 0xb3, 0xb6, 0x59, 0xef, 0x74, - 0x8d, 0xaa, 0x06, 0x1b, 0x53, 0x59, 0x0f, 0x25, 0x90, 0x73, 0x09, 0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x1f, 0xfe, 0x0a, 0x00, 0x00, 0xff, 0xff, 0x4c, 0x21, 0x33, - 0x9c, 0x05, 0x07, 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 - -// AdGroupCriterionLabelServiceClient is the client API for AdGroupCriterionLabelService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AdGroupCriterionLabelServiceClient interface { - // Returns the requested ad group criterion label in full detail. - GetAdGroupCriterionLabel(ctx context.Context, in *GetAdGroupCriterionLabelRequest, opts ...grpc.CallOption) (*resources.AdGroupCriterionLabel, error) - // Creates and removes ad group criterion labels. - // Operation statuses are returned. - MutateAdGroupCriterionLabels(ctx context.Context, in *MutateAdGroupCriterionLabelsRequest, opts ...grpc.CallOption) (*MutateAdGroupCriterionLabelsResponse, error) -} - -type adGroupCriterionLabelServiceClient struct { - cc *grpc.ClientConn -} - -func NewAdGroupCriterionLabelServiceClient(cc *grpc.ClientConn) AdGroupCriterionLabelServiceClient { - return &adGroupCriterionLabelServiceClient{cc} -} - -func (c *adGroupCriterionLabelServiceClient) GetAdGroupCriterionLabel(ctx context.Context, in *GetAdGroupCriterionLabelRequest, opts ...grpc.CallOption) (*resources.AdGroupCriterionLabel, error) { - out := new(resources.AdGroupCriterionLabel) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.AdGroupCriterionLabelService/GetAdGroupCriterionLabel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adGroupCriterionLabelServiceClient) MutateAdGroupCriterionLabels(ctx context.Context, in *MutateAdGroupCriterionLabelsRequest, opts ...grpc.CallOption) (*MutateAdGroupCriterionLabelsResponse, error) { - out := new(MutateAdGroupCriterionLabelsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.AdGroupCriterionLabelService/MutateAdGroupCriterionLabels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AdGroupCriterionLabelServiceServer is the server API for AdGroupCriterionLabelService service. -type AdGroupCriterionLabelServiceServer interface { - // Returns the requested ad group criterion label in full detail. - GetAdGroupCriterionLabel(context.Context, *GetAdGroupCriterionLabelRequest) (*resources.AdGroupCriterionLabel, error) - // Creates and removes ad group criterion labels. - // Operation statuses are returned. - MutateAdGroupCriterionLabels(context.Context, *MutateAdGroupCriterionLabelsRequest) (*MutateAdGroupCriterionLabelsResponse, error) -} - -// UnimplementedAdGroupCriterionLabelServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAdGroupCriterionLabelServiceServer struct { -} - -func (*UnimplementedAdGroupCriterionLabelServiceServer) GetAdGroupCriterionLabel(ctx context.Context, req *GetAdGroupCriterionLabelRequest) (*resources.AdGroupCriterionLabel, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetAdGroupCriterionLabel not implemented") -} -func (*UnimplementedAdGroupCriterionLabelServiceServer) MutateAdGroupCriterionLabels(ctx context.Context, req *MutateAdGroupCriterionLabelsRequest) (*MutateAdGroupCriterionLabelsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateAdGroupCriterionLabels not implemented") -} - -func RegisterAdGroupCriterionLabelServiceServer(s *grpc.Server, srv AdGroupCriterionLabelServiceServer) { - s.RegisterService(&_AdGroupCriterionLabelService_serviceDesc, srv) -} - -func _AdGroupCriterionLabelService_GetAdGroupCriterionLabel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAdGroupCriterionLabelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdGroupCriterionLabelServiceServer).GetAdGroupCriterionLabel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.AdGroupCriterionLabelService/GetAdGroupCriterionLabel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdGroupCriterionLabelServiceServer).GetAdGroupCriterionLabel(ctx, req.(*GetAdGroupCriterionLabelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdGroupCriterionLabelService_MutateAdGroupCriterionLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateAdGroupCriterionLabelsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdGroupCriterionLabelServiceServer).MutateAdGroupCriterionLabels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.AdGroupCriterionLabelService/MutateAdGroupCriterionLabels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdGroupCriterionLabelServiceServer).MutateAdGroupCriterionLabels(ctx, req.(*MutateAdGroupCriterionLabelsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _AdGroupCriterionLabelService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.AdGroupCriterionLabelService", - HandlerType: (*AdGroupCriterionLabelServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetAdGroupCriterionLabel", - Handler: _AdGroupCriterionLabelService_GetAdGroupCriterionLabel_Handler, - }, - { - MethodName: "MutateAdGroupCriterionLabels", - Handler: _AdGroupCriterionLabelService_MutateAdGroupCriterionLabels_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/ad_group_criterion_label_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_criterion_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_criterion_service.pb.go deleted file mode 100644 index 7061d1c4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_criterion_service.pb.go +++ /dev/null @@ -1,550 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/ad_group_criterion_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v1/common" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [AdGroupCriterionService.GetAdGroupCriterion][google.ads.googleads.v1.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_214fd2be829a47dc, []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 (m *GetAdGroupCriterionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAdGroupCriterionRequest.Merge(m, 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.v1.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_214fd2be829a47dc, []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 (m *MutateAdGroupCriteriaRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupCriteriaRequest.Merge(m, 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 -} - -func (m *MutateAdGroupCriteriaRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateAdGroupCriteriaRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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 list of policy violation keys that should not cause a - // PolicyViolationError to be reported. Not all policy violations are - // exemptable, please refer to the is_exemptible field in the returned - // PolicyViolationError. - // - // Resources violating these polices 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. - ExemptPolicyViolationKeys []*common.PolicyViolationKey `protobuf:"bytes,5,rep,name=exempt_policy_violation_keys,json=exemptPolicyViolationKeys,proto3" json:"exempt_policy_violation_keys,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_214fd2be829a47dc, []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 (m *AdGroupCriterionOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupCriterionOperation.Merge(m, 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 -} - -func (m *AdGroupCriterionOperation) GetExemptPolicyViolationKeys() []*common.PolicyViolationKey { - if m != nil { - return m.ExemptPolicyViolationKeys - } - 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_OneofWrappers is for the internal use of the proto package. -func (*AdGroupCriterionOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AdGroupCriterionOperation_Create)(nil), - (*AdGroupCriterionOperation_Update)(nil), - (*AdGroupCriterionOperation_Remove)(nil), - } -} - -// Response message for an ad group criterion mutate. -type MutateAdGroupCriteriaResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_214fd2be829a47dc, []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 (m *MutateAdGroupCriteriaResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupCriteriaResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_214fd2be829a47dc, []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 (m *MutateAdGroupCriterionResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupCriterionResult.Merge(m, 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.v1.services.GetAdGroupCriterionRequest") - proto.RegisterType((*MutateAdGroupCriteriaRequest)(nil), "google.ads.googleads.v1.services.MutateAdGroupCriteriaRequest") - proto.RegisterType((*AdGroupCriterionOperation)(nil), "google.ads.googleads.v1.services.AdGroupCriterionOperation") - proto.RegisterType((*MutateAdGroupCriteriaResponse)(nil), "google.ads.googleads.v1.services.MutateAdGroupCriteriaResponse") - proto.RegisterType((*MutateAdGroupCriterionResult)(nil), "google.ads.googleads.v1.services.MutateAdGroupCriterionResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/ad_group_criterion_service.proto", fileDescriptor_214fd2be829a47dc) -} - -var fileDescriptor_214fd2be829a47dc = []byte{ - // 782 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0x41, 0x6f, 0xd3, 0x3c, - 0x18, 0xc7, 0xdf, 0xb4, 0x2f, 0x83, 0xb9, 0x03, 0x24, 0x4f, 0xd3, 0xba, 0xaa, 0x40, 0x15, 0x26, - 0x31, 0x15, 0x29, 0x51, 0x3b, 0x2e, 0xcb, 0x18, 0x53, 0x36, 0xb1, 0x0e, 0xa1, 0xb1, 0x29, 0x93, - 0x2a, 0x04, 0x95, 0x22, 0x2f, 0xf1, 0xa2, 0x68, 0x49, 0x1c, 0x6c, 0xa7, 0x50, 0x4d, 0xbb, 0xc0, - 0x37, 0x80, 0x6f, 0xc0, 0x91, 0xaf, 0xc0, 0x09, 0x71, 0xe3, 0xca, 0x89, 0x3b, 0xa7, 0x7d, 0x0a, - 0x94, 0x38, 0xae, 0xd6, 0xae, 0x51, 0xd1, 0xb8, 0x39, 0xf6, 0xff, 0xf9, 0xe5, 0x79, 0xf2, 0x7f, - 0xfc, 0x04, 0x98, 0x1e, 0x21, 0x5e, 0x80, 0x75, 0xe4, 0x32, 0x5d, 0x2c, 0xd3, 0x55, 0xbf, 0xa5, - 0x33, 0x4c, 0xfb, 0xbe, 0x83, 0x99, 0x8e, 0x5c, 0xdb, 0xa3, 0x24, 0x89, 0x6d, 0x87, 0xfa, 0x1c, - 0x53, 0x9f, 0x44, 0x76, 0x7e, 0xa6, 0xc5, 0x94, 0x70, 0x02, 0x1b, 0x22, 0x4e, 0x43, 0x2e, 0xd3, - 0x86, 0x08, 0xad, 0xdf, 0xd2, 0x24, 0xa2, 0xf6, 0xb0, 0xe8, 0x25, 0x0e, 0x09, 0x43, 0x12, 0xe9, - 0x31, 0x09, 0x7c, 0x67, 0x20, 0x70, 0x35, 0xa3, 0x48, 0x4c, 0x31, 0x23, 0x09, 0x9d, 0x9c, 0x52, - 0x1e, 0x5b, 0x97, 0xb1,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xf9, 0x8b, 0xd9, 0x0f, 0x29, 0xe9, 0x99, - 0x2e, 0xeb, 0x0d, 0x25, 0xbd, 0x6e, 0xab, 0x27, 0x25, 0xe7, 0xa5, 0x65, 0xb1, 0x6f, 0x18, 0xa6, - 0xcb, 0x0c, 0x63, 0x28, 0x32, 0x8c, 0x6e, 0xcb, 0x30, 0xa4, 0xec, 0x68, 0x26, 0xcb, 0x73, 0xf5, - 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb3, 0xfb, 0x3f, 0xae, 0xe1, 0x07, 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 - -// 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.v1.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.v1.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) -} - -// UnimplementedAdGroupCriterionServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAdGroupCriterionServiceServer struct { -} - -func (*UnimplementedAdGroupCriterionServiceServer) GetAdGroupCriterion(ctx context.Context, req *GetAdGroupCriterionRequest) (*resources.AdGroupCriterion, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetAdGroupCriterion not implemented") -} -func (*UnimplementedAdGroupCriterionServiceServer) MutateAdGroupCriteria(ctx context.Context, req *MutateAdGroupCriteriaRequest) (*MutateAdGroupCriteriaResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateAdGroupCriteria not implemented") -} - -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.v1.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.v1.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.v1.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/v1/services/ad_group_criterion_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_criterion_simulation_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_criterion_simulation_service.pb.go deleted file mode 100644 index c0738809..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_criterion_simulation_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/ad_group_criterion_simulation_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [AdGroupCriterionSimulationService.GetAdGroupCriterionSimulation][google.ads.googleads.v1.services.AdGroupCriterionSimulationService.GetAdGroupCriterionSimulation]. -type GetAdGroupCriterionSimulationRequest struct { - // The resource name of the ad group criterion simulation 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 *GetAdGroupCriterionSimulationRequest) Reset() { *m = GetAdGroupCriterionSimulationRequest{} } -func (m *GetAdGroupCriterionSimulationRequest) String() string { return proto.CompactTextString(m) } -func (*GetAdGroupCriterionSimulationRequest) ProtoMessage() {} -func (*GetAdGroupCriterionSimulationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1f03d9711149e38c, []int{0} -} - -func (m *GetAdGroupCriterionSimulationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAdGroupCriterionSimulationRequest.Unmarshal(m, b) -} -func (m *GetAdGroupCriterionSimulationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAdGroupCriterionSimulationRequest.Marshal(b, m, deterministic) -} -func (m *GetAdGroupCriterionSimulationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAdGroupCriterionSimulationRequest.Merge(m, src) -} -func (m *GetAdGroupCriterionSimulationRequest) XXX_Size() int { - return xxx_messageInfo_GetAdGroupCriterionSimulationRequest.Size(m) -} -func (m *GetAdGroupCriterionSimulationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAdGroupCriterionSimulationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetAdGroupCriterionSimulationRequest proto.InternalMessageInfo - -func (m *GetAdGroupCriterionSimulationRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetAdGroupCriterionSimulationRequest)(nil), "google.ads.googleads.v1.services.GetAdGroupCriterionSimulationRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/ad_group_criterion_simulation_service.proto", fileDescriptor_1f03d9711149e38c) -} - -var fileDescriptor_1f03d9711149e38c = []byte{ - // 373 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xb1, 0x4a, 0xc3, 0x40, - 0x1c, 0xc6, 0x49, 0x04, 0xc1, 0xa0, 0x4b, 0x26, 0x29, 0x0a, 0xb5, 0x16, 0x91, 0x0e, 0x77, 0x44, - 0xb7, 0x93, 0x22, 0xa9, 0xd4, 0x08, 0x8a, 0x94, 0x16, 0x3a, 0x48, 0x20, 0x9c, 0xc9, 0x11, 0x02, - 0x4d, 0x2e, 0xde, 0xff, 0xd2, 0x45, 0x5c, 0xdc, 0x9d, 0xfa, 0x06, 0x8e, 0x3e, 0x8a, 0xab, 0xaf, - 0xe0, 0x24, 0xf8, 0x0e, 0x92, 0x5c, 0x2f, 0xe0, 0x10, 0xe3, 0xf6, 0x71, 0xf7, 0xf1, 0xfb, 0xee, - 0xff, 0xdd, 0xdf, 0xba, 0x89, 0x39, 0x8f, 0x17, 0x0c, 0xd3, 0x08, 0xb0, 0x92, 0xa5, 0x5a, 0x3a, - 0x18, 0x98, 0x58, 0x26, 0x21, 0x03, 0x4c, 0xa3, 0x20, 0x16, 0xbc, 0xc8, 0x83, 0x50, 0x24, 0x92, - 0x89, 0x84, 0x67, 0x01, 0x24, 0x69, 0xb1, 0xa0, 0xb2, 0x92, 0xca, 0x86, 0x72, 0xc1, 0x25, 0xb7, - 0xbb, 0x0a, 0x81, 0x68, 0x04, 0xa8, 0xa6, 0xa1, 0xa5, 0x83, 0x34, 0xad, 0x33, 0x6e, 0xca, 0x13, - 0x0c, 0x78, 0x21, 0x5a, 0x03, 0x55, 0x50, 0x67, 0x4f, 0x63, 0xf2, 0x04, 0xd3, 0x2c, 0xe3, 0xb2, - 0xba, 0x04, 0x75, 0xdb, 0xbb, 0xb6, 0xfa, 0x1e, 0x93, 0x6e, 0xe4, 0x95, 0x98, 0x0b, 0x4d, 0x99, - 0xd5, 0x90, 0x29, 0x7b, 0x28, 0x18, 0x48, 0xfb, 0xd0, 0xda, 0xd1, 0xb1, 0x41, 0x46, 0x53, 0xb6, - 0x6b, 0x74, 0x8d, 0xe3, 0xad, 0xe9, 0xb6, 0x3e, 0xbc, 0xa5, 0x29, 0x3b, 0x59, 0x99, 0xd6, 0x41, - 0x33, 0x6a, 0xa6, 0x06, 0xb3, 0xbf, 0x0d, 0x6b, 0xff, 0xcf, 0x4c, 0xfb, 0x12, 0xb5, 0x95, 0x83, - 0xfe, 0xf3, 0xe8, 0xce, 0xb0, 0x91, 0x53, 0x57, 0x88, 0x9a, 0x29, 0xbd, 0xf1, 0xf3, 0xc7, 0xe7, - 0xca, 0x3c, 0xb7, 0x87, 0x65, 0xe9, 0x8f, 0xbf, 0xc6, 0x1f, 0x86, 0x05, 0x48, 0x9e, 0x32, 0x01, - 0x78, 0x80, 0x69, 0x23, 0x02, 0xf0, 0xe0, 0x69, 0xf4, 0x62, 0x5a, 0xfd, 0x90, 0xa7, 0xad, 0x33, - 0x8d, 0x8e, 0x5a, 0xbb, 0x9b, 0x94, 0x7f, 0x36, 0x31, 0xee, 0xae, 0xd6, 0xac, 0x98, 0x2f, 0x68, - 0x16, 0x23, 0x2e, 0x62, 0x1c, 0xb3, 0xac, 0xfa, 0x51, 0xbd, 0x2a, 0x79, 0x02, 0xcd, 0x9b, 0x7a, - 0xa6, 0xc5, 0xab, 0xb9, 0xe1, 0xb9, 0xee, 0x9b, 0xd9, 0xf5, 0x14, 0xd0, 0x8d, 0x00, 0x29, 0x59, - 0xaa, 0xb9, 0x83, 0xd6, 0xc1, 0xf0, 0xae, 0x2d, 0xbe, 0x1b, 0x81, 0x5f, 0x5b, 0xfc, 0xb9, 0xe3, - 0x6b, 0xcb, 0x97, 0xd9, 0x57, 0xe7, 0x84, 0xb8, 0x11, 0x10, 0x52, 0x9b, 0x08, 0x99, 0x3b, 0x84, - 0x68, 0xdb, 0xfd, 0x66, 0xf5, 0xce, 0xd3, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbd, 0x43, 0x68, - 0x5b, 0x50, 0x03, 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 - -// AdGroupCriterionSimulationServiceClient is the client API for AdGroupCriterionSimulationService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AdGroupCriterionSimulationServiceClient interface { - // Returns the requested ad group criterion simulation in full detail. - GetAdGroupCriterionSimulation(ctx context.Context, in *GetAdGroupCriterionSimulationRequest, opts ...grpc.CallOption) (*resources.AdGroupCriterionSimulation, error) -} - -type adGroupCriterionSimulationServiceClient struct { - cc *grpc.ClientConn -} - -func NewAdGroupCriterionSimulationServiceClient(cc *grpc.ClientConn) AdGroupCriterionSimulationServiceClient { - return &adGroupCriterionSimulationServiceClient{cc} -} - -func (c *adGroupCriterionSimulationServiceClient) GetAdGroupCriterionSimulation(ctx context.Context, in *GetAdGroupCriterionSimulationRequest, opts ...grpc.CallOption) (*resources.AdGroupCriterionSimulation, error) { - out := new(resources.AdGroupCriterionSimulation) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.AdGroupCriterionSimulationService/GetAdGroupCriterionSimulation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AdGroupCriterionSimulationServiceServer is the server API for AdGroupCriterionSimulationService service. -type AdGroupCriterionSimulationServiceServer interface { - // Returns the requested ad group criterion simulation in full detail. - GetAdGroupCriterionSimulation(context.Context, *GetAdGroupCriterionSimulationRequest) (*resources.AdGroupCriterionSimulation, error) -} - -// UnimplementedAdGroupCriterionSimulationServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAdGroupCriterionSimulationServiceServer struct { -} - -func (*UnimplementedAdGroupCriterionSimulationServiceServer) GetAdGroupCriterionSimulation(ctx context.Context, req *GetAdGroupCriterionSimulationRequest) (*resources.AdGroupCriterionSimulation, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAdGroupCriterionSimulation not implemented") -} - -func RegisterAdGroupCriterionSimulationServiceServer(s *grpc.Server, srv AdGroupCriterionSimulationServiceServer) { - s.RegisterService(&_AdGroupCriterionSimulationService_serviceDesc, srv) -} - -func _AdGroupCriterionSimulationService_GetAdGroupCriterionSimulation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAdGroupCriterionSimulationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdGroupCriterionSimulationServiceServer).GetAdGroupCriterionSimulation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.AdGroupCriterionSimulationService/GetAdGroupCriterionSimulation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdGroupCriterionSimulationServiceServer).GetAdGroupCriterionSimulation(ctx, req.(*GetAdGroupCriterionSimulationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _AdGroupCriterionSimulationService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.AdGroupCriterionSimulationService", - HandlerType: (*AdGroupCriterionSimulationServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetAdGroupCriterionSimulation", - Handler: _AdGroupCriterionSimulationService_GetAdGroupCriterionSimulation_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/ad_group_criterion_simulation_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_extension_setting_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_extension_setting_service.pb.go deleted file mode 100644 index d75b3220..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_extension_setting_service.pb.go +++ /dev/null @@ -1,535 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/ad_group_extension_setting_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [AdGroupExtensionSettingService.GetAdGroupExtensionSetting][google.ads.googleads.v1.services.AdGroupExtensionSettingService.GetAdGroupExtensionSetting]. -type GetAdGroupExtensionSettingRequest struct { - // The resource name of the ad group extension setting 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 *GetAdGroupExtensionSettingRequest) Reset() { *m = GetAdGroupExtensionSettingRequest{} } -func (m *GetAdGroupExtensionSettingRequest) String() string { return proto.CompactTextString(m) } -func (*GetAdGroupExtensionSettingRequest) ProtoMessage() {} -func (*GetAdGroupExtensionSettingRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_054674c18d01b7a6, []int{0} -} - -func (m *GetAdGroupExtensionSettingRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAdGroupExtensionSettingRequest.Unmarshal(m, b) -} -func (m *GetAdGroupExtensionSettingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAdGroupExtensionSettingRequest.Marshal(b, m, deterministic) -} -func (m *GetAdGroupExtensionSettingRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAdGroupExtensionSettingRequest.Merge(m, src) -} -func (m *GetAdGroupExtensionSettingRequest) XXX_Size() int { - return xxx_messageInfo_GetAdGroupExtensionSettingRequest.Size(m) -} -func (m *GetAdGroupExtensionSettingRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAdGroupExtensionSettingRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetAdGroupExtensionSettingRequest proto.InternalMessageInfo - -func (m *GetAdGroupExtensionSettingRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for -// [AdGroupExtensionSettingService.MutateAdGroupExtensionSettings][google.ads.googleads.v1.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings]. -type MutateAdGroupExtensionSettingsRequest struct { - // The ID of the customer whose ad group extension settings 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 extension - // settings. - Operations []*AdGroupExtensionSettingOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateAdGroupExtensionSettingsRequest) Reset() { *m = MutateAdGroupExtensionSettingsRequest{} } -func (m *MutateAdGroupExtensionSettingsRequest) String() string { return proto.CompactTextString(m) } -func (*MutateAdGroupExtensionSettingsRequest) ProtoMessage() {} -func (*MutateAdGroupExtensionSettingsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_054674c18d01b7a6, []int{1} -} - -func (m *MutateAdGroupExtensionSettingsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAdGroupExtensionSettingsRequest.Unmarshal(m, b) -} -func (m *MutateAdGroupExtensionSettingsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAdGroupExtensionSettingsRequest.Marshal(b, m, deterministic) -} -func (m *MutateAdGroupExtensionSettingsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupExtensionSettingsRequest.Merge(m, src) -} -func (m *MutateAdGroupExtensionSettingsRequest) XXX_Size() int { - return xxx_messageInfo_MutateAdGroupExtensionSettingsRequest.Size(m) -} -func (m *MutateAdGroupExtensionSettingsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAdGroupExtensionSettingsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAdGroupExtensionSettingsRequest proto.InternalMessageInfo - -func (m *MutateAdGroupExtensionSettingsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateAdGroupExtensionSettingsRequest) GetOperations() []*AdGroupExtensionSettingOperation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *MutateAdGroupExtensionSettingsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateAdGroupExtensionSettingsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// A single operation (create, update, remove) on an ad group extension setting. -type AdGroupExtensionSettingOperation 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: - // *AdGroupExtensionSettingOperation_Create - // *AdGroupExtensionSettingOperation_Update - // *AdGroupExtensionSettingOperation_Remove - Operation isAdGroupExtensionSettingOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdGroupExtensionSettingOperation) Reset() { *m = AdGroupExtensionSettingOperation{} } -func (m *AdGroupExtensionSettingOperation) String() string { return proto.CompactTextString(m) } -func (*AdGroupExtensionSettingOperation) ProtoMessage() {} -func (*AdGroupExtensionSettingOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_054674c18d01b7a6, []int{2} -} - -func (m *AdGroupExtensionSettingOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdGroupExtensionSettingOperation.Unmarshal(m, b) -} -func (m *AdGroupExtensionSettingOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdGroupExtensionSettingOperation.Marshal(b, m, deterministic) -} -func (m *AdGroupExtensionSettingOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupExtensionSettingOperation.Merge(m, src) -} -func (m *AdGroupExtensionSettingOperation) XXX_Size() int { - return xxx_messageInfo_AdGroupExtensionSettingOperation.Size(m) -} -func (m *AdGroupExtensionSettingOperation) XXX_DiscardUnknown() { - xxx_messageInfo_AdGroupExtensionSettingOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_AdGroupExtensionSettingOperation proto.InternalMessageInfo - -func (m *AdGroupExtensionSettingOperation) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -type isAdGroupExtensionSettingOperation_Operation interface { - isAdGroupExtensionSettingOperation_Operation() -} - -type AdGroupExtensionSettingOperation_Create struct { - Create *resources.AdGroupExtensionSetting `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type AdGroupExtensionSettingOperation_Update struct { - Update *resources.AdGroupExtensionSetting `protobuf:"bytes,2,opt,name=update,proto3,oneof"` -} - -type AdGroupExtensionSettingOperation_Remove struct { - Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` -} - -func (*AdGroupExtensionSettingOperation_Create) isAdGroupExtensionSettingOperation_Operation() {} - -func (*AdGroupExtensionSettingOperation_Update) isAdGroupExtensionSettingOperation_Operation() {} - -func (*AdGroupExtensionSettingOperation_Remove) isAdGroupExtensionSettingOperation_Operation() {} - -func (m *AdGroupExtensionSettingOperation) GetOperation() isAdGroupExtensionSettingOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *AdGroupExtensionSettingOperation) GetCreate() *resources.AdGroupExtensionSetting { - if x, ok := m.GetOperation().(*AdGroupExtensionSettingOperation_Create); ok { - return x.Create - } - return nil -} - -func (m *AdGroupExtensionSettingOperation) GetUpdate() *resources.AdGroupExtensionSetting { - if x, ok := m.GetOperation().(*AdGroupExtensionSettingOperation_Update); ok { - return x.Update - } - return nil -} - -func (m *AdGroupExtensionSettingOperation) GetRemove() string { - if x, ok := m.GetOperation().(*AdGroupExtensionSettingOperation_Remove); ok { - return x.Remove - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AdGroupExtensionSettingOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AdGroupExtensionSettingOperation_Create)(nil), - (*AdGroupExtensionSettingOperation_Update)(nil), - (*AdGroupExtensionSettingOperation_Remove)(nil), - } -} - -// Response message for an ad group extension setting mutate. -type MutateAdGroupExtensionSettingsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // All results for the mutate. - Results []*MutateAdGroupExtensionSettingResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateAdGroupExtensionSettingsResponse) Reset() { - *m = MutateAdGroupExtensionSettingsResponse{} -} -func (m *MutateAdGroupExtensionSettingsResponse) String() string { return proto.CompactTextString(m) } -func (*MutateAdGroupExtensionSettingsResponse) ProtoMessage() {} -func (*MutateAdGroupExtensionSettingsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_054674c18d01b7a6, []int{3} -} - -func (m *MutateAdGroupExtensionSettingsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAdGroupExtensionSettingsResponse.Unmarshal(m, b) -} -func (m *MutateAdGroupExtensionSettingsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAdGroupExtensionSettingsResponse.Marshal(b, m, deterministic) -} -func (m *MutateAdGroupExtensionSettingsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupExtensionSettingsResponse.Merge(m, src) -} -func (m *MutateAdGroupExtensionSettingsResponse) XXX_Size() int { - return xxx_messageInfo_MutateAdGroupExtensionSettingsResponse.Size(m) -} -func (m *MutateAdGroupExtensionSettingsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAdGroupExtensionSettingsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAdGroupExtensionSettingsResponse proto.InternalMessageInfo - -func (m *MutateAdGroupExtensionSettingsResponse) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -func (m *MutateAdGroupExtensionSettingsResponse) GetResults() []*MutateAdGroupExtensionSettingResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for the ad group extension setting mutate. -type MutateAdGroupExtensionSettingResult 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 *MutateAdGroupExtensionSettingResult) Reset() { *m = MutateAdGroupExtensionSettingResult{} } -func (m *MutateAdGroupExtensionSettingResult) String() string { return proto.CompactTextString(m) } -func (*MutateAdGroupExtensionSettingResult) ProtoMessage() {} -func (*MutateAdGroupExtensionSettingResult) Descriptor() ([]byte, []int) { - return fileDescriptor_054674c18d01b7a6, []int{4} -} - -func (m *MutateAdGroupExtensionSettingResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAdGroupExtensionSettingResult.Unmarshal(m, b) -} -func (m *MutateAdGroupExtensionSettingResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAdGroupExtensionSettingResult.Marshal(b, m, deterministic) -} -func (m *MutateAdGroupExtensionSettingResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupExtensionSettingResult.Merge(m, src) -} -func (m *MutateAdGroupExtensionSettingResult) XXX_Size() int { - return xxx_messageInfo_MutateAdGroupExtensionSettingResult.Size(m) -} -func (m *MutateAdGroupExtensionSettingResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAdGroupExtensionSettingResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAdGroupExtensionSettingResult proto.InternalMessageInfo - -func (m *MutateAdGroupExtensionSettingResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetAdGroupExtensionSettingRequest)(nil), "google.ads.googleads.v1.services.GetAdGroupExtensionSettingRequest") - proto.RegisterType((*MutateAdGroupExtensionSettingsRequest)(nil), "google.ads.googleads.v1.services.MutateAdGroupExtensionSettingsRequest") - proto.RegisterType((*AdGroupExtensionSettingOperation)(nil), "google.ads.googleads.v1.services.AdGroupExtensionSettingOperation") - proto.RegisterType((*MutateAdGroupExtensionSettingsResponse)(nil), "google.ads.googleads.v1.services.MutateAdGroupExtensionSettingsResponse") - proto.RegisterType((*MutateAdGroupExtensionSettingResult)(nil), "google.ads.googleads.v1.services.MutateAdGroupExtensionSettingResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/ad_group_extension_setting_service.proto", fileDescriptor_054674c18d01b7a6) -} - -var fileDescriptor_054674c18d01b7a6 = []byte{ - // 729 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x95, 0xc1, 0x6b, 0xd4, 0x4e, - 0x14, 0xc7, 0x7f, 0x49, 0x4b, 0x7f, 0x76, 0x52, 0x15, 0x46, 0xc4, 0x65, 0x91, 0xba, 0xa6, 0x55, - 0xcb, 0x1e, 0x12, 0x76, 0xbd, 0xa5, 0xf6, 0xb0, 0x91, 0x76, 0xb7, 0x42, 0x6d, 0x49, 0xa5, 0x07, - 0x59, 0x08, 0xd3, 0xcd, 0x34, 0x84, 0x26, 0x99, 0x38, 0x33, 0x59, 0x2d, 0xa5, 0x17, 0xf1, 0xe4, - 0xd5, 0xff, 0xc0, 0xa3, 0x47, 0xff, 0x0c, 0x6f, 0xe2, 0x5f, 0x20, 0x78, 0xf2, 0x4f, 0x10, 0x04, - 0x99, 0x4c, 0x66, 0x6d, 0x0b, 0xd9, 0x14, 0xd6, 0xdb, 0xdb, 0x37, 0xdf, 0xfd, 0xbc, 0xf7, 0xe6, - 0xbd, 0x79, 0x01, 0xdb, 0x21, 0x21, 0x61, 0x8c, 0x6d, 0x14, 0x30, 0x5b, 0x9a, 0xc2, 0x1a, 0x77, - 0x6c, 0x86, 0xe9, 0x38, 0x1a, 0x61, 0x66, 0xa3, 0xc0, 0x0f, 0x29, 0xc9, 0x33, 0x1f, 0xbf, 0xe1, - 0x38, 0x65, 0x11, 0x49, 0x7d, 0x86, 0x39, 0x8f, 0xd2, 0xd0, 0x2f, 0x35, 0x56, 0x46, 0x09, 0x27, - 0xb0, 0x25, 0xff, 0x6f, 0xa1, 0x80, 0x59, 0x13, 0x94, 0x35, 0xee, 0x58, 0x0a, 0xd5, 0x74, 0xab, - 0x82, 0x51, 0xcc, 0x48, 0x4e, 0xa7, 0x47, 0x93, 0x51, 0x9a, 0x77, 0x15, 0x23, 0x8b, 0x6c, 0x94, - 0xa6, 0x84, 0x23, 0x1e, 0x91, 0x94, 0x95, 0xa7, 0x65, 0x0e, 0x76, 0xf1, 0xeb, 0x30, 0x3f, 0xb2, - 0x8f, 0x22, 0x1c, 0x07, 0x7e, 0x82, 0xd8, 0x71, 0xa9, 0x58, 0xbe, 0xac, 0x78, 0x4d, 0x51, 0x96, - 0x61, 0xaa, 0x08, 0x77, 0xca, 0x73, 0x9a, 0x8d, 0x6c, 0xc6, 0x11, 0xcf, 0xcb, 0x03, 0x73, 0x00, - 0xee, 0xf7, 0x31, 0xef, 0x05, 0x7d, 0x91, 0xde, 0xa6, 0xca, 0x6e, 0x5f, 0x26, 0xe7, 0xe1, 0x57, - 0x39, 0x66, 0x1c, 0xae, 0x80, 0xeb, 0xaa, 0x16, 0x3f, 0x45, 0x09, 0x6e, 0x68, 0x2d, 0x6d, 0x6d, - 0xd1, 0x5b, 0x52, 0xce, 0xe7, 0x28, 0xc1, 0xe6, 0x2f, 0x0d, 0x3c, 0xd8, 0xc9, 0x39, 0xe2, 0xb8, - 0x82, 0xc6, 0x14, 0xee, 0x1e, 0x30, 0x46, 0x39, 0xe3, 0x24, 0xc1, 0xd4, 0x8f, 0x82, 0x12, 0x06, - 0x94, 0x6b, 0x3b, 0x80, 0x87, 0x00, 0x90, 0x0c, 0x53, 0x79, 0x07, 0x0d, 0xbd, 0x35, 0xb7, 0x66, - 0x74, 0x5d, 0xab, 0xae, 0x11, 0x56, 0x45, 0xdc, 0x5d, 0x85, 0xf2, 0xce, 0x51, 0xe1, 0x23, 0x70, - 0x33, 0x43, 0x94, 0x47, 0x28, 0xf6, 0x8f, 0x50, 0x14, 0xe7, 0x14, 0x37, 0xe6, 0x5a, 0xda, 0xda, - 0x35, 0xef, 0x46, 0xe9, 0xde, 0x92, 0x5e, 0x51, 0xfc, 0x18, 0xc5, 0x51, 0x80, 0x38, 0xf6, 0x49, - 0x1a, 0x9f, 0x34, 0xe6, 0x0b, 0xd9, 0x92, 0x72, 0xee, 0xa6, 0xf1, 0x89, 0xf9, 0x59, 0x07, 0xad, - 0xba, 0xf0, 0x70, 0x1d, 0x18, 0x79, 0x56, 0x70, 0x44, 0xe7, 0x0a, 0x8e, 0xd1, 0x6d, 0xaa, 0xba, - 0x54, 0xeb, 0xac, 0x2d, 0xd1, 0xdc, 0x1d, 0xc4, 0x8e, 0x3d, 0x20, 0xe5, 0xc2, 0x86, 0x2f, 0xc0, - 0xc2, 0x88, 0x62, 0xc4, 0xe5, 0xe5, 0x1b, 0x5d, 0xa7, 0xf2, 0x3e, 0x26, 0x63, 0x57, 0x75, 0x21, - 0x83, 0xff, 0xbc, 0x92, 0x25, 0xa8, 0x32, 0x46, 0x43, 0xff, 0x17, 0x54, 0xc9, 0x82, 0x0d, 0xb0, - 0x40, 0x71, 0x42, 0xc6, 0xf2, 0x4a, 0x17, 0xc5, 0x89, 0xfc, 0xed, 0x1a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, - 0xd3, 0x87, 0x65, 0x4f, 0x2c, 0x98, 0x3d, 0xed, 0xe5, 0xa0, 0x04, 0x85, 0x24, 0x46, 0x69, 0x68, - 0x11, 0x1a, 0xda, 0x21, 0x4e, 0x8b, 0xf5, 0xa3, 0xbe, 0x5f, 0x59, 0xc4, 0xaa, 0xbf, 0x9d, 0xeb, - 0xca, 0xf8, 0xa8, 0xcf, 0xf5, 0x7b, 0xbd, 0x4f, 0x7a, 0xab, 0x2f, 0x81, 0xbd, 0x80, 0x59, 0xd2, - 0x14, 0xd6, 0x41, 0xc7, 0x2a, 0x03, 0xb3, 0x2f, 0x4a, 0x32, 0xec, 0x05, 0x6c, 0x38, 0x91, 0x0c, - 0x0f, 0x3a, 0x43, 0x25, 0xf9, 0xa9, 0xaf, 0x4a, 0xbf, 0xe3, 0xf4, 0x02, 0xe6, 0x38, 0x13, 0x91, - 0xe3, 0x1c, 0x74, 0x1c, 0x47, 0xc9, 0x0e, 0x17, 0x8a, 0x3c, 0x1f, 0xff, 0x09, 0x00, 0x00, 0xff, - 0xff, 0xbb, 0x5c, 0x83, 0x6c, 0xe2, 0x07, 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 - -// AdGroupExtensionSettingServiceClient is the client API for AdGroupExtensionSettingService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AdGroupExtensionSettingServiceClient interface { - // Returns the requested ad group extension setting in full detail. - GetAdGroupExtensionSetting(ctx context.Context, in *GetAdGroupExtensionSettingRequest, opts ...grpc.CallOption) (*resources.AdGroupExtensionSetting, error) - // Creates, updates, or removes ad group extension settings. Operation - // statuses are returned. - MutateAdGroupExtensionSettings(ctx context.Context, in *MutateAdGroupExtensionSettingsRequest, opts ...grpc.CallOption) (*MutateAdGroupExtensionSettingsResponse, error) -} - -type adGroupExtensionSettingServiceClient struct { - cc *grpc.ClientConn -} - -func NewAdGroupExtensionSettingServiceClient(cc *grpc.ClientConn) AdGroupExtensionSettingServiceClient { - return &adGroupExtensionSettingServiceClient{cc} -} - -func (c *adGroupExtensionSettingServiceClient) GetAdGroupExtensionSetting(ctx context.Context, in *GetAdGroupExtensionSettingRequest, opts ...grpc.CallOption) (*resources.AdGroupExtensionSetting, error) { - out := new(resources.AdGroupExtensionSetting) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.AdGroupExtensionSettingService/GetAdGroupExtensionSetting", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adGroupExtensionSettingServiceClient) MutateAdGroupExtensionSettings(ctx context.Context, in *MutateAdGroupExtensionSettingsRequest, opts ...grpc.CallOption) (*MutateAdGroupExtensionSettingsResponse, error) { - out := new(MutateAdGroupExtensionSettingsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.AdGroupExtensionSettingService/MutateAdGroupExtensionSettings", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AdGroupExtensionSettingServiceServer is the server API for AdGroupExtensionSettingService service. -type AdGroupExtensionSettingServiceServer interface { - // Returns the requested ad group extension setting in full detail. - GetAdGroupExtensionSetting(context.Context, *GetAdGroupExtensionSettingRequest) (*resources.AdGroupExtensionSetting, error) - // Creates, updates, or removes ad group extension settings. Operation - // statuses are returned. - MutateAdGroupExtensionSettings(context.Context, *MutateAdGroupExtensionSettingsRequest) (*MutateAdGroupExtensionSettingsResponse, error) -} - -// UnimplementedAdGroupExtensionSettingServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAdGroupExtensionSettingServiceServer struct { -} - -func (*UnimplementedAdGroupExtensionSettingServiceServer) GetAdGroupExtensionSetting(ctx context.Context, req *GetAdGroupExtensionSettingRequest) (*resources.AdGroupExtensionSetting, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetAdGroupExtensionSetting not implemented") -} -func (*UnimplementedAdGroupExtensionSettingServiceServer) MutateAdGroupExtensionSettings(ctx context.Context, req *MutateAdGroupExtensionSettingsRequest) (*MutateAdGroupExtensionSettingsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateAdGroupExtensionSettings not implemented") -} - -func RegisterAdGroupExtensionSettingServiceServer(s *grpc.Server, srv AdGroupExtensionSettingServiceServer) { - s.RegisterService(&_AdGroupExtensionSettingService_serviceDesc, srv) -} - -func _AdGroupExtensionSettingService_GetAdGroupExtensionSetting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAdGroupExtensionSettingRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdGroupExtensionSettingServiceServer).GetAdGroupExtensionSetting(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.AdGroupExtensionSettingService/GetAdGroupExtensionSetting", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdGroupExtensionSettingServiceServer).GetAdGroupExtensionSetting(ctx, req.(*GetAdGroupExtensionSettingRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdGroupExtensionSettingService_MutateAdGroupExtensionSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateAdGroupExtensionSettingsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdGroupExtensionSettingServiceServer).MutateAdGroupExtensionSettings(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.AdGroupExtensionSettingService/MutateAdGroupExtensionSettings", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdGroupExtensionSettingServiceServer).MutateAdGroupExtensionSettings(ctx, req.(*MutateAdGroupExtensionSettingsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _AdGroupExtensionSettingService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.AdGroupExtensionSettingService", - HandlerType: (*AdGroupExtensionSettingServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetAdGroupExtensionSetting", - Handler: _AdGroupExtensionSettingService_GetAdGroupExtensionSetting_Handler, - }, - { - MethodName: "MutateAdGroupExtensionSettings", - Handler: _AdGroupExtensionSettingService_MutateAdGroupExtensionSettings_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/ad_group_extension_setting_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_feed_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_feed_service.pb.go deleted file mode 100644 index ec3153ca..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_feed_service.pb.go +++ /dev/null @@ -1,530 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/ad_group_feed_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [AdGroupFeedService.GetAdGroupFeed][google.ads.googleads.v1.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_83f37f6e6fd89895, []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 (m *GetAdGroupFeedRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAdGroupFeedRequest.Merge(m, 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.v1.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_83f37f6e6fd89895, []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 (m *MutateAdGroupFeedsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupFeedsRequest.Merge(m, 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 -} - -func (m *MutateAdGroupFeedsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateAdGroupFeedsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_83f37f6e6fd89895, []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 (m *AdGroupFeedOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupFeedOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*AdGroupFeedOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AdGroupFeedOperation_Create)(nil), - (*AdGroupFeedOperation_Update)(nil), - (*AdGroupFeedOperation_Remove)(nil), - } -} - -// Response message for an ad group feed mutate. -type MutateAdGroupFeedsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_83f37f6e6fd89895, []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 (m *MutateAdGroupFeedsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupFeedsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_83f37f6e6fd89895, []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 (m *MutateAdGroupFeedResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupFeedResult.Merge(m, 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.v1.services.GetAdGroupFeedRequest") - proto.RegisterType((*MutateAdGroupFeedsRequest)(nil), "google.ads.googleads.v1.services.MutateAdGroupFeedsRequest") - proto.RegisterType((*AdGroupFeedOperation)(nil), "google.ads.googleads.v1.services.AdGroupFeedOperation") - proto.RegisterType((*MutateAdGroupFeedsResponse)(nil), "google.ads.googleads.v1.services.MutateAdGroupFeedsResponse") - proto.RegisterType((*MutateAdGroupFeedResult)(nil), "google.ads.googleads.v1.services.MutateAdGroupFeedResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/ad_group_feed_service.proto", fileDescriptor_83f37f6e6fd89895) -} - -var fileDescriptor_83f37f6e6fd89895 = []byte{ - // 715 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0xcd, 0x6e, 0xd3, 0x4a, - 0x14, 0xbe, 0x76, 0xae, 0x7a, 0x6f, 0xc7, 0xbd, 0xbd, 0xd2, 0x40, 0xd5, 0x10, 0x21, 0x88, 0x4c, - 0x25, 0xaa, 0x2c, 0xc6, 0x24, 0x88, 0x22, 0xdc, 0x14, 0x29, 0x95, 0x48, 0xca, 0xa2, 0xb4, 0x72, - 0xa5, 0x2c, 0x50, 0x24, 0x6b, 0x1a, 0x4f, 0x2c, 0xab, 0xb6, 0xc7, 0xcc, 0x8c, 0x83, 0xaa, 0xaa, - 0x1b, 0x1e, 0x80, 0x0d, 0x1b, 0xd6, 0x2c, 0xd9, 0xb1, 0xe4, 0x15, 0x90, 0x58, 0xf1, 0x06, 0x88, - 0x15, 0x0f, 0x81, 0x90, 0x3d, 0x9e, 0xe0, 0x34, 0x8d, 0x02, 0xdd, 0x9d, 0x9c, 0xf9, 0xbe, 0xef, - 0xfc, 0x3b, 0xa0, 0xed, 0x53, 0xea, 0x87, 0xc4, 0xc2, 0x1e, 0xb7, 0xa4, 0x99, 0x59, 0xe3, 0xa6, - 0xc5, 0x09, 0x1b, 0x07, 0x43, 0xc2, 0x2d, 0xec, 0xb9, 0x3e, 0xa3, 0x69, 0xe2, 0x8e, 0x08, 0xf1, - 0xdc, 0xc2, 0x8d, 0x12, 0x46, 0x05, 0x85, 0x75, 0x49, 0x41, 0xd8, 0xe3, 0x68, 0xc2, 0x46, 0xe3, - 0x26, 0x52, 0xec, 0xda, 0x83, 0x79, 0xfa, 0x8c, 0x70, 0x9a, 0xb2, 0x99, 0x00, 0x52, 0xb8, 0x76, - 0x53, 0xd1, 0x92, 0xc0, 0xc2, 0x71, 0x4c, 0x05, 0x16, 0x01, 0x8d, 0x79, 0xf1, 0x5a, 0x84, 0xb5, - 0xf2, 0x5f, 0xc7, 0xe9, 0xc8, 0x1a, 0x05, 0x24, 0xf4, 0xdc, 0x08, 0xf3, 0x93, 0x02, 0x71, 0xeb, - 0x22, 0xe2, 0x25, 0xc3, 0x49, 0x42, 0x98, 0x52, 0x58, 0x2f, 0xde, 0x59, 0x32, 0xb4, 0xb8, 0xc0, - 0x22, 0x2d, 0x1e, 0xcc, 0x36, 0x58, 0xeb, 0x11, 0xd1, 0xf1, 0x7a, 0x59, 0x46, 0x5d, 0x42, 0x3c, - 0x87, 0xbc, 0x48, 0x09, 0x17, 0xf0, 0x0e, 0xf8, 0x4f, 0xa5, 0xec, 0xc6, 0x38, 0x22, 0x55, 0xad, - 0xae, 0x6d, 0x2e, 0x3b, 0x2b, 0xca, 0xf9, 0x0c, 0x47, 0xc4, 0xfc, 0xaa, 0x81, 0x1b, 0xfb, 0xa9, - 0xc0, 0x82, 0x94, 0x14, 0xb8, 0x92, 0xb8, 0x0d, 0x8c, 0x61, 0xca, 0x05, 0x8d, 0x08, 0x73, 0x03, - 0xaf, 0x10, 0x00, 0xca, 0xf5, 0xd4, 0x83, 0x7d, 0x00, 0x68, 0x42, 0x98, 0xac, 0xb5, 0xaa, 0xd7, - 0x2b, 0x9b, 0x46, 0x6b, 0x0b, 0x2d, 0xea, 0x31, 0x2a, 0xc5, 0x3a, 0x50, 0x74, 0xa7, 0xa4, 0x04, - 0xef, 0x82, 0xff, 0x13, 0xcc, 0x44, 0x80, 0x43, 0x77, 0x84, 0x83, 0x30, 0x65, 0xa4, 0x5a, 0xa9, - 0x6b, 0x9b, 0xff, 0x3a, 0xab, 0x85, 0xbb, 0x2b, 0xbd, 0x59, 0x91, 0x63, 0x1c, 0x06, 0x1e, 0x16, - 0xc4, 0xa5, 0x71, 0x78, 0x5a, 0xfd, 0x3b, 0x87, 0xad, 0x28, 0xe7, 0x41, 0x1c, 0x9e, 0x9a, 0xaf, - 0x75, 0x70, 0xfd, 0xb2, 0x90, 0x70, 0x1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, 0x6c, 0xaa, 0x84, - 0x1d, 0x75, 0x6c, 0xdc, 0x6a, 0x58, 0xb8, 0x34, 0x2c, 0xab, 0x71, 0x0e, 0x3f, 0x6b, 0x00, 0xce, - 0x8e, 0x11, 0x6e, 0x5f, 0xa1, 0xcb, 0xea, 0xe4, 0x6b, 0xed, 0xab, 0x91, 0xe5, 0xe6, 0x98, 0xed, - 0xbc, 0x92, 0x2d, 0xb3, 0x99, 0x55, 0xf2, 0x2b, 0xf5, 0xb3, 0xd2, 0x57, 0x64, 0xa7, 0x71, 0x3e, - 0x55, 0x88, 0x1d, 0xe5, 0x72, 0xb6, 0xd6, 0xd8, 0xfd, 0xa1, 0x81, 0x8d, 0x21, 0x8d, 0x16, 0x66, - 0xb0, 0xbb, 0x3e, 0x3b, 0xc0, 0xc3, 0xec, 0x58, 0x0f, 0xb5, 0xe7, 0x7b, 0x05, 0xd9, 0xa7, 0x21, - 0x8e, 0x7d, 0x44, 0x99, 0x6f, 0xf9, 0x24, 0xce, 0x4f, 0x59, 0x7d, 0xce, 0x93, 0x80, 0xcf, 0xff, - 0xf7, 0xd8, 0x56, 0xc6, 0x3b, 0xbd, 0xd2, 0xeb, 0x74, 0xde, 0xeb, 0xf5, 0x9e, 0x14, 0xec, 0x78, - 0x1c, 0x49, 0x33, 0xb3, 0xfa, 0x4d, 0x54, 0x04, 0xe6, 0x9f, 0x14, 0x64, 0xd0, 0xf1, 0xf8, 0x60, - 0x02, 0x19, 0xf4, 0x9b, 0x03, 0x05, 0xf9, 0xae, 0x6f, 0x48, 0xbf, 0x6d, 0x77, 0x3c, 0x6e, 0xdb, - 0x13, 0x90, 0x6d, 0xf7, 0x9b, 0xb6, 0xad, 0x60, 0xc7, 0x4b, 0x79, 0x9e, 0xf7, 0x7f, 0x06, 0x00, - 0x00, 0xff, 0xff, 0x0c, 0x80, 0x01, 0xb4, 0xe4, 0x06, 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 - -// 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.v1.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.v1.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) -} - -// UnimplementedAdGroupFeedServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAdGroupFeedServiceServer struct { -} - -func (*UnimplementedAdGroupFeedServiceServer) GetAdGroupFeed(ctx context.Context, req *GetAdGroupFeedRequest) (*resources.AdGroupFeed, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetAdGroupFeed not implemented") -} -func (*UnimplementedAdGroupFeedServiceServer) MutateAdGroupFeeds(ctx context.Context, req *MutateAdGroupFeedsRequest) (*MutateAdGroupFeedsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateAdGroupFeeds not implemented") -} - -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.v1.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.v1.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.v1.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/v1/services/ad_group_feed_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_label_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_label_service.pb.go deleted file mode 100644 index a782b867..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_label_service.pb.go +++ /dev/null @@ -1,502 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/ad_group_label_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [AdGroupLabelService.GetAdGroupLabel][google.ads.googleads.v1.services.AdGroupLabelService.GetAdGroupLabel]. -type GetAdGroupLabelRequest struct { - // The resource name of the ad group label 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 *GetAdGroupLabelRequest) Reset() { *m = GetAdGroupLabelRequest{} } -func (m *GetAdGroupLabelRequest) String() string { return proto.CompactTextString(m) } -func (*GetAdGroupLabelRequest) ProtoMessage() {} -func (*GetAdGroupLabelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1659eac28b95f6f8, []int{0} -} - -func (m *GetAdGroupLabelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAdGroupLabelRequest.Unmarshal(m, b) -} -func (m *GetAdGroupLabelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAdGroupLabelRequest.Marshal(b, m, deterministic) -} -func (m *GetAdGroupLabelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAdGroupLabelRequest.Merge(m, src) -} -func (m *GetAdGroupLabelRequest) XXX_Size() int { - return xxx_messageInfo_GetAdGroupLabelRequest.Size(m) -} -func (m *GetAdGroupLabelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAdGroupLabelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetAdGroupLabelRequest proto.InternalMessageInfo - -func (m *GetAdGroupLabelRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for -// [AdGroupLabelService.MutateAdGroupLabels][google.ads.googleads.v1.services.AdGroupLabelService.MutateAdGroupLabels]. -type MutateAdGroupLabelsRequest struct { - // ID of the customer whose ad group labels 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 ad group labels. - Operations []*AdGroupLabelOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateAdGroupLabelsRequest) Reset() { *m = MutateAdGroupLabelsRequest{} } -func (m *MutateAdGroupLabelsRequest) String() string { return proto.CompactTextString(m) } -func (*MutateAdGroupLabelsRequest) ProtoMessage() {} -func (*MutateAdGroupLabelsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1659eac28b95f6f8, []int{1} -} - -func (m *MutateAdGroupLabelsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAdGroupLabelsRequest.Unmarshal(m, b) -} -func (m *MutateAdGroupLabelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAdGroupLabelsRequest.Marshal(b, m, deterministic) -} -func (m *MutateAdGroupLabelsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupLabelsRequest.Merge(m, src) -} -func (m *MutateAdGroupLabelsRequest) XXX_Size() int { - return xxx_messageInfo_MutateAdGroupLabelsRequest.Size(m) -} -func (m *MutateAdGroupLabelsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAdGroupLabelsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAdGroupLabelsRequest proto.InternalMessageInfo - -func (m *MutateAdGroupLabelsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateAdGroupLabelsRequest) GetOperations() []*AdGroupLabelOperation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *MutateAdGroupLabelsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateAdGroupLabelsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// A single operation (create, remove) on an ad group label. -type AdGroupLabelOperation struct { - // The mutate operation. - // - // Types that are valid to be assigned to Operation: - // *AdGroupLabelOperation_Create - // *AdGroupLabelOperation_Remove - Operation isAdGroupLabelOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdGroupLabelOperation) Reset() { *m = AdGroupLabelOperation{} } -func (m *AdGroupLabelOperation) String() string { return proto.CompactTextString(m) } -func (*AdGroupLabelOperation) ProtoMessage() {} -func (*AdGroupLabelOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_1659eac28b95f6f8, []int{2} -} - -func (m *AdGroupLabelOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdGroupLabelOperation.Unmarshal(m, b) -} -func (m *AdGroupLabelOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdGroupLabelOperation.Marshal(b, m, deterministic) -} -func (m *AdGroupLabelOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupLabelOperation.Merge(m, src) -} -func (m *AdGroupLabelOperation) XXX_Size() int { - return xxx_messageInfo_AdGroupLabelOperation.Size(m) -} -func (m *AdGroupLabelOperation) XXX_DiscardUnknown() { - xxx_messageInfo_AdGroupLabelOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_AdGroupLabelOperation proto.InternalMessageInfo - -type isAdGroupLabelOperation_Operation interface { - isAdGroupLabelOperation_Operation() -} - -type AdGroupLabelOperation_Create struct { - Create *resources.AdGroupLabel `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type AdGroupLabelOperation_Remove struct { - Remove string `protobuf:"bytes,2,opt,name=remove,proto3,oneof"` -} - -func (*AdGroupLabelOperation_Create) isAdGroupLabelOperation_Operation() {} - -func (*AdGroupLabelOperation_Remove) isAdGroupLabelOperation_Operation() {} - -func (m *AdGroupLabelOperation) GetOperation() isAdGroupLabelOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *AdGroupLabelOperation) GetCreate() *resources.AdGroupLabel { - if x, ok := m.GetOperation().(*AdGroupLabelOperation_Create); ok { - return x.Create - } - return nil -} - -func (m *AdGroupLabelOperation) GetRemove() string { - if x, ok := m.GetOperation().(*AdGroupLabelOperation_Remove); ok { - return x.Remove - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AdGroupLabelOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AdGroupLabelOperation_Create)(nil), - (*AdGroupLabelOperation_Remove)(nil), - } -} - -// Response message for an ad group labels mutate. -type MutateAdGroupLabelsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // All results for the mutate. - Results []*MutateAdGroupLabelResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateAdGroupLabelsResponse) Reset() { *m = MutateAdGroupLabelsResponse{} } -func (m *MutateAdGroupLabelsResponse) String() string { return proto.CompactTextString(m) } -func (*MutateAdGroupLabelsResponse) ProtoMessage() {} -func (*MutateAdGroupLabelsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1659eac28b95f6f8, []int{3} -} - -func (m *MutateAdGroupLabelsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAdGroupLabelsResponse.Unmarshal(m, b) -} -func (m *MutateAdGroupLabelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAdGroupLabelsResponse.Marshal(b, m, deterministic) -} -func (m *MutateAdGroupLabelsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupLabelsResponse.Merge(m, src) -} -func (m *MutateAdGroupLabelsResponse) XXX_Size() int { - return xxx_messageInfo_MutateAdGroupLabelsResponse.Size(m) -} -func (m *MutateAdGroupLabelsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAdGroupLabelsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAdGroupLabelsResponse proto.InternalMessageInfo - -func (m *MutateAdGroupLabelsResponse) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -func (m *MutateAdGroupLabelsResponse) GetResults() []*MutateAdGroupLabelResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for an ad group label mutate. -type MutateAdGroupLabelResult 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 *MutateAdGroupLabelResult) Reset() { *m = MutateAdGroupLabelResult{} } -func (m *MutateAdGroupLabelResult) String() string { return proto.CompactTextString(m) } -func (*MutateAdGroupLabelResult) ProtoMessage() {} -func (*MutateAdGroupLabelResult) Descriptor() ([]byte, []int) { - return fileDescriptor_1659eac28b95f6f8, []int{4} -} - -func (m *MutateAdGroupLabelResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAdGroupLabelResult.Unmarshal(m, b) -} -func (m *MutateAdGroupLabelResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAdGroupLabelResult.Marshal(b, m, deterministic) -} -func (m *MutateAdGroupLabelResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupLabelResult.Merge(m, src) -} -func (m *MutateAdGroupLabelResult) XXX_Size() int { - return xxx_messageInfo_MutateAdGroupLabelResult.Size(m) -} -func (m *MutateAdGroupLabelResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAdGroupLabelResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAdGroupLabelResult proto.InternalMessageInfo - -func (m *MutateAdGroupLabelResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetAdGroupLabelRequest)(nil), "google.ads.googleads.v1.services.GetAdGroupLabelRequest") - proto.RegisterType((*MutateAdGroupLabelsRequest)(nil), "google.ads.googleads.v1.services.MutateAdGroupLabelsRequest") - proto.RegisterType((*AdGroupLabelOperation)(nil), "google.ads.googleads.v1.services.AdGroupLabelOperation") - proto.RegisterType((*MutateAdGroupLabelsResponse)(nil), "google.ads.googleads.v1.services.MutateAdGroupLabelsResponse") - proto.RegisterType((*MutateAdGroupLabelResult)(nil), "google.ads.googleads.v1.services.MutateAdGroupLabelResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/ad_group_label_service.proto", fileDescriptor_1659eac28b95f6f8) -} - -var fileDescriptor_1659eac28b95f6f8 = []byte{ - // 663 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x4f, 0x6b, 0xd4, 0x40, - 0x14, 0x37, 0xbb, 0x52, 0xed, 0x6c, 0xb5, 0x30, 0xa5, 0x1a, 0x56, 0xd1, 0x25, 0x16, 0x2c, 0x7b, - 0xc8, 0xb0, 0x2b, 0x58, 0x89, 0x2e, 0x92, 0x82, 0xdd, 0x16, 0xd4, 0x96, 0x54, 0x2a, 0xc8, 0x42, - 0x98, 0x4d, 0xa6, 0x21, 0x90, 0x64, 0xe2, 0xcc, 0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0x6d, 0x9f, 0x9b, 0xd2, 0xcc, 0xad, 0x83, - 0x8e, 0x59, 0x36, 0xe6, 0xdf, 0x55, 0xca, 0xc0, 0xf6, 0xf9, 0x60, 0x9c, 0x32, 0x38, 0xe8, 0x0c, - 0x54, 0xca, 0xaf, 0xda, 0x9a, 0xf4, 0x5b, 0x96, 0xed, 0x73, 0xcb, 0x1a, 0x27, 0x59, 0xd6, 0x41, - 0xc7, 0xb2, 0x54, 0xda, 0x70, 0xa1, 0xe0, 0xf9, 0xe0, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb9, - 0x7c, 0x1a, 0xba, 0x4f, 0x06, 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 - -// AdGroupLabelServiceClient is the client API for AdGroupLabelService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AdGroupLabelServiceClient interface { - // Returns the requested ad group label in full detail. - GetAdGroupLabel(ctx context.Context, in *GetAdGroupLabelRequest, opts ...grpc.CallOption) (*resources.AdGroupLabel, error) - // Creates and removes ad group labels. - // Operation statuses are returned. - MutateAdGroupLabels(ctx context.Context, in *MutateAdGroupLabelsRequest, opts ...grpc.CallOption) (*MutateAdGroupLabelsResponse, error) -} - -type adGroupLabelServiceClient struct { - cc *grpc.ClientConn -} - -func NewAdGroupLabelServiceClient(cc *grpc.ClientConn) AdGroupLabelServiceClient { - return &adGroupLabelServiceClient{cc} -} - -func (c *adGroupLabelServiceClient) GetAdGroupLabel(ctx context.Context, in *GetAdGroupLabelRequest, opts ...grpc.CallOption) (*resources.AdGroupLabel, error) { - out := new(resources.AdGroupLabel) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.AdGroupLabelService/GetAdGroupLabel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adGroupLabelServiceClient) MutateAdGroupLabels(ctx context.Context, in *MutateAdGroupLabelsRequest, opts ...grpc.CallOption) (*MutateAdGroupLabelsResponse, error) { - out := new(MutateAdGroupLabelsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.AdGroupLabelService/MutateAdGroupLabels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AdGroupLabelServiceServer is the server API for AdGroupLabelService service. -type AdGroupLabelServiceServer interface { - // Returns the requested ad group label in full detail. - GetAdGroupLabel(context.Context, *GetAdGroupLabelRequest) (*resources.AdGroupLabel, error) - // Creates and removes ad group labels. - // Operation statuses are returned. - MutateAdGroupLabels(context.Context, *MutateAdGroupLabelsRequest) (*MutateAdGroupLabelsResponse, error) -} - -// UnimplementedAdGroupLabelServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAdGroupLabelServiceServer struct { -} - -func (*UnimplementedAdGroupLabelServiceServer) GetAdGroupLabel(ctx context.Context, req *GetAdGroupLabelRequest) (*resources.AdGroupLabel, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetAdGroupLabel not implemented") -} -func (*UnimplementedAdGroupLabelServiceServer) MutateAdGroupLabels(ctx context.Context, req *MutateAdGroupLabelsRequest) (*MutateAdGroupLabelsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateAdGroupLabels not implemented") -} - -func RegisterAdGroupLabelServiceServer(s *grpc.Server, srv AdGroupLabelServiceServer) { - s.RegisterService(&_AdGroupLabelService_serviceDesc, srv) -} - -func _AdGroupLabelService_GetAdGroupLabel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAdGroupLabelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdGroupLabelServiceServer).GetAdGroupLabel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.AdGroupLabelService/GetAdGroupLabel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdGroupLabelServiceServer).GetAdGroupLabel(ctx, req.(*GetAdGroupLabelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdGroupLabelService_MutateAdGroupLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateAdGroupLabelsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdGroupLabelServiceServer).MutateAdGroupLabels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.AdGroupLabelService/MutateAdGroupLabels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdGroupLabelServiceServer).MutateAdGroupLabels(ctx, req.(*MutateAdGroupLabelsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _AdGroupLabelService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.AdGroupLabelService", - HandlerType: (*AdGroupLabelServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetAdGroupLabel", - Handler: _AdGroupLabelService_GetAdGroupLabel_Handler, - }, - { - MethodName: "MutateAdGroupLabels", - Handler: _AdGroupLabelService_MutateAdGroupLabels_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/ad_group_label_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_service.pb.go deleted file mode 100644 index 99bae467..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_service.pb.go +++ /dev/null @@ -1,527 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/ad_group_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [AdGroupService.GetAdGroup][google.ads.googleads.v1.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_3386b0d8974a2f1b, []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 (m *GetAdGroupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAdGroupRequest.Merge(m, 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.v1.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_3386b0d8974a2f1b, []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 (m *MutateAdGroupsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupsRequest.Merge(m, 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 -} - -func (m *MutateAdGroupsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateAdGroupsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_3386b0d8974a2f1b, []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 (m *AdGroupOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*AdGroupOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AdGroupOperation_Create)(nil), - (*AdGroupOperation_Update)(nil), - (*AdGroupOperation_Remove)(nil), - } -} - -// Response message for an ad group mutate. -type MutateAdGroupsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_3386b0d8974a2f1b, []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 (m *MutateAdGroupsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_3386b0d8974a2f1b, []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 (m *MutateAdGroupResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupResult.Merge(m, 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.v1.services.GetAdGroupRequest") - proto.RegisterType((*MutateAdGroupsRequest)(nil), "google.ads.googleads.v1.services.MutateAdGroupsRequest") - proto.RegisterType((*AdGroupOperation)(nil), "google.ads.googleads.v1.services.AdGroupOperation") - proto.RegisterType((*MutateAdGroupsResponse)(nil), "google.ads.googleads.v1.services.MutateAdGroupsResponse") - proto.RegisterType((*MutateAdGroupResult)(nil), "google.ads.googleads.v1.services.MutateAdGroupResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/ad_group_service.proto", fileDescriptor_3386b0d8974a2f1b) -} - -var fileDescriptor_3386b0d8974a2f1b = []byte{ - // 702 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x4f, 0x4f, 0xd4, 0x40, - 0x14, 0xb7, 0xc5, 0xa0, 0x4c, 0x11, 0x75, 0x08, 0xba, 0xd9, 0x18, 0xdd, 0x54, 0x12, 0xc9, 0x46, - 0x5b, 0xb7, 0xc4, 0x40, 0x4a, 0x38, 0x2c, 0x51, 0x16, 0x0f, 0x08, 0x29, 0x09, 0x07, 0xb3, 0x49, - 0x33, 0x6c, 0x87, 0xa6, 0xa1, 0xed, 0xd4, 0x99, 0xe9, 0x1a, 0x42, 0xb8, 0xf0, 0x15, 0xfc, 0x04, - 0x7a, 0xf4, 0xe6, 0x07, 0xf0, 0x0b, 0x78, 0xf5, 0xe6, 0xd9, 0x93, 0x67, 0x4f, 0x9e, 0xcc, 0x74, - 0x66, 0x16, 0x76, 0x95, 0xac, 0xeb, 0xed, 0xcd, 0x9b, 0xf7, 0xfb, 0xbd, 0xdf, 0xbc, 0x3f, 0x03, - 0x56, 0x62, 0x42, 0xe2, 0x14, 0xbb, 0x28, 0x62, 0xae, 0x34, 0x85, 0xd5, 0x6f, 0xb9, 0x0c, 0xd3, - 0x7e, 0xd2, 0xc3, 0xcc, 0x45, 0x51, 0x18, 0x53, 0x52, 0x16, 0xa1, 0xf2, 0x38, 0x05, 0x25, 0x9c, - 0xc0, 0x86, 0x8c, 0x76, 0x50, 0xc4, 0x9c, 0x01, 0xd0, 0xe9, 0xb7, 0x1c, 0x0d, 0xac, 0x3f, 0xbd, - 0x8c, 0x9a, 0x62, 0x46, 0x4a, 0x7a, 0x91, 0x5b, 0x72, 0xd6, 0xef, 0x69, 0x44, 0x91, 0xb8, 0x28, - 0xcf, 0x09, 0x47, 0x3c, 0x21, 0x39, 0x53, 0xb7, 0x2a, 0xa3, 0x5b, 0x9d, 0x0e, 0xca, 0x43, 0xf7, - 0x30, 0xc1, 0x69, 0x14, 0x66,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6e, 0xb8, 0x4d, 0x70, 0x65, 0xc2, 0x2a, 0xea, 0xd5, 0xad, 0xaf, 0x4e, 0x0e, 0x94, - 0x13, 0x61, 0xaf, 0x56, 0xca, 0x3d, 0xfb, 0x89, 0x50, 0x7e, 0x2e, 0xf5, 0xe4, 0xc2, 0x4f, 0xb0, - 0xde, 0x3c, 0x1d, 0x08, 0xf7, 0xb3, 0x8a, 0xc6, 0x37, 0x9a, 0x1b, 0xbf, 0x0c, 0xb0, 0xd8, 0x23, - 0xd9, 0xd8, 0xcc, 0x1b, 0xf3, 0xc3, 0xcd, 0xd9, 0x15, 0x0b, 0xb7, 0x6b, 0xbc, 0xde, 0x52, 0xc0, - 0x98, 0xa4, 0x28, 0x8f, 0x1d, 0x42, 0x63, 0x37, 0xc6, 0x79, 0xb5, 0x8e, 0xfa, 0xf7, 0x2d, 0x12, - 0x76, 0xf9, 0x3f, 0xbf, 0xa6, 0x8d, 0x0f, 0xe6, 0x54, 0xa7, 0xdd, 0xfe, 0x68, 0x36, 0x3a, 0x92, - 0xb0, 0x1d, 0x31, 0x47, 0x9a, 0xc2, 0xda, 0x6f, 0x39, 0x2a, 0x31, 0xfb, 0xa2, 0x43, 0xba, 0xed, - 0x88, 0x75, 0x07, 0x21, 0xdd, 0xfd, 0x56, 0x57, 0x87, 0xfc, 0x30, 0x17, 0xa5, 0xdf, 0xf7, 0xdb, - 0x11, 0xf3, 0xfd, 0x41, 0x90, 0xef, 0xef, 0xb7, 0x7c, 0x5f, 0x87, 0x1d, 0x4c, 0x57, 0x3a, 0x97, - 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0x8c, 0x5f, 0x6a, 0x64, 0x8e, 0x06, 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 - -// 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.v1.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.v1.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) -} - -// UnimplementedAdGroupServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAdGroupServiceServer struct { -} - -func (*UnimplementedAdGroupServiceServer) GetAdGroup(ctx context.Context, req *GetAdGroupRequest) (*resources.AdGroup, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetAdGroup not implemented") -} -func (*UnimplementedAdGroupServiceServer) MutateAdGroups(ctx context.Context, req *MutateAdGroupsRequest) (*MutateAdGroupsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateAdGroups not implemented") -} - -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.v1.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.v1.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.v1.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/v1/services/ad_group_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_simulation_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_simulation_service.pb.go deleted file mode 100644 index 97787015..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_group_simulation_service.pb.go +++ /dev/null @@ -1,187 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/ad_group_simulation_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [AdGroupSimulationService.GetAdGroupSimulation][google.ads.googleads.v1.services.AdGroupSimulationService.GetAdGroupSimulation]. -type GetAdGroupSimulationRequest struct { - // The resource name of the ad group simulation 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 *GetAdGroupSimulationRequest) Reset() { *m = GetAdGroupSimulationRequest{} } -func (m *GetAdGroupSimulationRequest) String() string { return proto.CompactTextString(m) } -func (*GetAdGroupSimulationRequest) ProtoMessage() {} -func (*GetAdGroupSimulationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_100c20f45a4ce1f1, []int{0} -} - -func (m *GetAdGroupSimulationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAdGroupSimulationRequest.Unmarshal(m, b) -} -func (m *GetAdGroupSimulationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAdGroupSimulationRequest.Marshal(b, m, deterministic) -} -func (m *GetAdGroupSimulationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAdGroupSimulationRequest.Merge(m, src) -} -func (m *GetAdGroupSimulationRequest) XXX_Size() int { - return xxx_messageInfo_GetAdGroupSimulationRequest.Size(m) -} -func (m *GetAdGroupSimulationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAdGroupSimulationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetAdGroupSimulationRequest proto.InternalMessageInfo - -func (m *GetAdGroupSimulationRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetAdGroupSimulationRequest)(nil), "google.ads.googleads.v1.services.GetAdGroupSimulationRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/ad_group_simulation_service.proto", fileDescriptor_100c20f45a4ce1f1) -} - -var fileDescriptor_100c20f45a4ce1f1 = []byte{ - // 367 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xcd, 0x4a, 0xeb, 0x40, - 0x14, 0x26, 0xb9, 0x70, 0xe1, 0x86, 0xeb, 0x26, 0xb8, 0x28, 0x55, 0xa1, 0xd4, 0x2e, 0xa4, 0x8b, - 0x19, 0xa2, 0xc5, 0xc5, 0xd4, 0x2e, 0x92, 0x4d, 0x5c, 0x49, 0x69, 0xa1, 0x0b, 0x09, 0x84, 0xb1, - 0x33, 0x0c, 0x81, 0x26, 0x13, 0xe7, 0x24, 0xdd, 0x88, 0x1b, 0xf1, 0x0d, 0x7c, 0x03, 0x97, 0xbe, - 0x89, 0x6e, 0x7d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, 0x00, 0xf7, 0x31, 0xfd, 0xae, 0x04, - 0xdc, 0xbf, 0x0d, 0xee, 0x6d, 0xa7, 0x37, 0x97, 0xe9, 0xd6, 0xc5, 0x83, 0x83, 0xa6, 0x3a, 0xc6, - 0x55, 0xe9, 0x63, 0xeb, 0xf2, 0x7c, 0x6d, 0x21, 0xe4, 0x82, 0x66, 0x02, 0x49, 0x25, 0xb0, 0xe0, - 0xd9, 0xea, 0x49, 0xcc, 0x0b, 0xe7, 0x09, 0x34, 0x7f, 0xab, 0xa1, 0x01, 0x8f, 0xf6, 0x9f, 0xd0, - 0xf7, 0x9f, 0xec, 0x4e, 0xa8, 0x0d, 0x7d, 0x06, 0x48, 0xc3, 0x0a, 0xcd, 0x3c, 0xb4, 0x0e, 0x86, - 0x17, 0x43, 0x89, 0x7c, 0x06, 0x51, 0x4d, 0x89, 0x66, 0x5e, 0x64, 0x28, 0x1f, 0x76, 0x4f, 0x9f, - 0x13, 0xe2, 0x33, 0x20, 0xa4, 0x26, 0x11, 0x32, 0xf3, 0x08, 0x31, 0xb4, 0xab, 0xbf, 0xab, 0x3d, - 0x4f, 0x3e, 0x03, 0x00, 0x00, 0xff, 0xff, 0xae, 0xdf, 0xb6, 0xd4, 0xfd, 0x02, 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 - -// AdGroupSimulationServiceClient is the client API for AdGroupSimulationService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AdGroupSimulationServiceClient interface { - // Returns the requested ad group simulation in full detail. - GetAdGroupSimulation(ctx context.Context, in *GetAdGroupSimulationRequest, opts ...grpc.CallOption) (*resources.AdGroupSimulation, error) -} - -type adGroupSimulationServiceClient struct { - cc *grpc.ClientConn -} - -func NewAdGroupSimulationServiceClient(cc *grpc.ClientConn) AdGroupSimulationServiceClient { - return &adGroupSimulationServiceClient{cc} -} - -func (c *adGroupSimulationServiceClient) GetAdGroupSimulation(ctx context.Context, in *GetAdGroupSimulationRequest, opts ...grpc.CallOption) (*resources.AdGroupSimulation, error) { - out := new(resources.AdGroupSimulation) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.AdGroupSimulationService/GetAdGroupSimulation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AdGroupSimulationServiceServer is the server API for AdGroupSimulationService service. -type AdGroupSimulationServiceServer interface { - // Returns the requested ad group simulation in full detail. - GetAdGroupSimulation(context.Context, *GetAdGroupSimulationRequest) (*resources.AdGroupSimulation, error) -} - -// UnimplementedAdGroupSimulationServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAdGroupSimulationServiceServer struct { -} - -func (*UnimplementedAdGroupSimulationServiceServer) GetAdGroupSimulation(ctx context.Context, req *GetAdGroupSimulationRequest) (*resources.AdGroupSimulation, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAdGroupSimulation not implemented") -} - -func RegisterAdGroupSimulationServiceServer(s *grpc.Server, srv AdGroupSimulationServiceServer) { - s.RegisterService(&_AdGroupSimulationService_serviceDesc, srv) -} - -func _AdGroupSimulationService_GetAdGroupSimulation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAdGroupSimulationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdGroupSimulationServiceServer).GetAdGroupSimulation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.AdGroupSimulationService/GetAdGroupSimulation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdGroupSimulationServiceServer).GetAdGroupSimulation(ctx, req.(*GetAdGroupSimulationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _AdGroupSimulationService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.AdGroupSimulationService", - HandlerType: (*AdGroupSimulationServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetAdGroupSimulation", - Handler: _AdGroupSimulationService_GetAdGroupSimulation_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/ad_group_simulation_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_parameter_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_parameter_service.pb.go deleted file mode 100644 index 02b85929..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_parameter_service.pb.go +++ /dev/null @@ -1,530 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/ad_parameter_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [AdParameterService.GetAdParameter][google.ads.googleads.v1.services.AdParameterService.GetAdParameter] -type GetAdParameterRequest struct { - // The resource name of the ad parameter 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 *GetAdParameterRequest) Reset() { *m = GetAdParameterRequest{} } -func (m *GetAdParameterRequest) String() string { return proto.CompactTextString(m) } -func (*GetAdParameterRequest) ProtoMessage() {} -func (*GetAdParameterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c000ad2760c78756, []int{0} -} - -func (m *GetAdParameterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAdParameterRequest.Unmarshal(m, b) -} -func (m *GetAdParameterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAdParameterRequest.Marshal(b, m, deterministic) -} -func (m *GetAdParameterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAdParameterRequest.Merge(m, src) -} -func (m *GetAdParameterRequest) XXX_Size() int { - return xxx_messageInfo_GetAdParameterRequest.Size(m) -} -func (m *GetAdParameterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAdParameterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetAdParameterRequest proto.InternalMessageInfo - -func (m *GetAdParameterRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for -// [AdParameterService.MutateAdParameters][google.ads.googleads.v1.services.AdParameterService.MutateAdParameters] -type MutateAdParametersRequest struct { - // The ID of the customer whose ad parameters 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 parameters. - Operations []*AdParameterOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateAdParametersRequest) Reset() { *m = MutateAdParametersRequest{} } -func (m *MutateAdParametersRequest) String() string { return proto.CompactTextString(m) } -func (*MutateAdParametersRequest) ProtoMessage() {} -func (*MutateAdParametersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c000ad2760c78756, []int{1} -} - -func (m *MutateAdParametersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAdParametersRequest.Unmarshal(m, b) -} -func (m *MutateAdParametersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAdParametersRequest.Marshal(b, m, deterministic) -} -func (m *MutateAdParametersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdParametersRequest.Merge(m, src) -} -func (m *MutateAdParametersRequest) XXX_Size() int { - return xxx_messageInfo_MutateAdParametersRequest.Size(m) -} -func (m *MutateAdParametersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAdParametersRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAdParametersRequest proto.InternalMessageInfo - -func (m *MutateAdParametersRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateAdParametersRequest) GetOperations() []*AdParameterOperation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *MutateAdParametersRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateAdParametersRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// A single operation (create, update, remove) on ad parameter. -type AdParameterOperation 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: - // *AdParameterOperation_Create - // *AdParameterOperation_Update - // *AdParameterOperation_Remove - Operation isAdParameterOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdParameterOperation) Reset() { *m = AdParameterOperation{} } -func (m *AdParameterOperation) String() string { return proto.CompactTextString(m) } -func (*AdParameterOperation) ProtoMessage() {} -func (*AdParameterOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_c000ad2760c78756, []int{2} -} - -func (m *AdParameterOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdParameterOperation.Unmarshal(m, b) -} -func (m *AdParameterOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdParameterOperation.Marshal(b, m, deterministic) -} -func (m *AdParameterOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdParameterOperation.Merge(m, src) -} -func (m *AdParameterOperation) XXX_Size() int { - return xxx_messageInfo_AdParameterOperation.Size(m) -} -func (m *AdParameterOperation) XXX_DiscardUnknown() { - xxx_messageInfo_AdParameterOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_AdParameterOperation proto.InternalMessageInfo - -func (m *AdParameterOperation) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -type isAdParameterOperation_Operation interface { - isAdParameterOperation_Operation() -} - -type AdParameterOperation_Create struct { - Create *resources.AdParameter `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type AdParameterOperation_Update struct { - Update *resources.AdParameter `protobuf:"bytes,2,opt,name=update,proto3,oneof"` -} - -type AdParameterOperation_Remove struct { - Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` -} - -func (*AdParameterOperation_Create) isAdParameterOperation_Operation() {} - -func (*AdParameterOperation_Update) isAdParameterOperation_Operation() {} - -func (*AdParameterOperation_Remove) isAdParameterOperation_Operation() {} - -func (m *AdParameterOperation) GetOperation() isAdParameterOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *AdParameterOperation) GetCreate() *resources.AdParameter { - if x, ok := m.GetOperation().(*AdParameterOperation_Create); ok { - return x.Create - } - return nil -} - -func (m *AdParameterOperation) GetUpdate() *resources.AdParameter { - if x, ok := m.GetOperation().(*AdParameterOperation_Update); ok { - return x.Update - } - return nil -} - -func (m *AdParameterOperation) GetRemove() string { - if x, ok := m.GetOperation().(*AdParameterOperation_Remove); ok { - return x.Remove - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AdParameterOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AdParameterOperation_Create)(nil), - (*AdParameterOperation_Update)(nil), - (*AdParameterOperation_Remove)(nil), - } -} - -// Response message for an ad parameter mutate. -type MutateAdParametersResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // All results for the mutate. - Results []*MutateAdParameterResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateAdParametersResponse) Reset() { *m = MutateAdParametersResponse{} } -func (m *MutateAdParametersResponse) String() string { return proto.CompactTextString(m) } -func (*MutateAdParametersResponse) ProtoMessage() {} -func (*MutateAdParametersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c000ad2760c78756, []int{3} -} - -func (m *MutateAdParametersResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAdParametersResponse.Unmarshal(m, b) -} -func (m *MutateAdParametersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAdParametersResponse.Marshal(b, m, deterministic) -} -func (m *MutateAdParametersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdParametersResponse.Merge(m, src) -} -func (m *MutateAdParametersResponse) XXX_Size() int { - return xxx_messageInfo_MutateAdParametersResponse.Size(m) -} -func (m *MutateAdParametersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAdParametersResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAdParametersResponse proto.InternalMessageInfo - -func (m *MutateAdParametersResponse) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -func (m *MutateAdParametersResponse) GetResults() []*MutateAdParameterResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for the ad parameter mutate. -type MutateAdParameterResult 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 *MutateAdParameterResult) Reset() { *m = MutateAdParameterResult{} } -func (m *MutateAdParameterResult) String() string { return proto.CompactTextString(m) } -func (*MutateAdParameterResult) ProtoMessage() {} -func (*MutateAdParameterResult) Descriptor() ([]byte, []int) { - return fileDescriptor_c000ad2760c78756, []int{4} -} - -func (m *MutateAdParameterResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAdParameterResult.Unmarshal(m, b) -} -func (m *MutateAdParameterResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAdParameterResult.Marshal(b, m, deterministic) -} -func (m *MutateAdParameterResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdParameterResult.Merge(m, src) -} -func (m *MutateAdParameterResult) XXX_Size() int { - return xxx_messageInfo_MutateAdParameterResult.Size(m) -} -func (m *MutateAdParameterResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAdParameterResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAdParameterResult proto.InternalMessageInfo - -func (m *MutateAdParameterResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetAdParameterRequest)(nil), "google.ads.googleads.v1.services.GetAdParameterRequest") - proto.RegisterType((*MutateAdParametersRequest)(nil), "google.ads.googleads.v1.services.MutateAdParametersRequest") - proto.RegisterType((*AdParameterOperation)(nil), "google.ads.googleads.v1.services.AdParameterOperation") - proto.RegisterType((*MutateAdParametersResponse)(nil), "google.ads.googleads.v1.services.MutateAdParametersResponse") - proto.RegisterType((*MutateAdParameterResult)(nil), "google.ads.googleads.v1.services.MutateAdParameterResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/ad_parameter_service.proto", fileDescriptor_c000ad2760c78756) -} - -var fileDescriptor_c000ad2760c78756 = []byte{ - // 710 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0x4f, 0x6b, 0xd4, 0x4e, - 0x18, 0xfe, 0x25, 0xfb, 0xa3, 0xda, 0x49, 0xad, 0x30, 0x5a, 0xba, 0x2e, 0xa2, 0x4b, 0x2c, 0x58, - 0xf6, 0x30, 0x71, 0x57, 0xa9, 0x98, 0x6d, 0x85, 0x2d, 0xd8, 0xd6, 0x43, 0x6d, 0x49, 0x61, 0x0f, - 0xb2, 0x10, 0xa6, 0x9b, 0xe9, 0x12, 0x9a, 0x64, 0xe2, 0xcc, 0x64, 0xa5, 0x94, 0x5e, 0xfc, 0x00, - 0x5e, 0xbc, 0x78, 0xf6, 0xe8, 0xcd, 0xa3, 0x5f, 0x41, 0xf0, 0xe4, 0x37, 0x10, 0x4f, 0x7e, 0x08, - 0x91, 0xc9, 0x64, 0xd6, 0x6c, 0xdb, 0x65, 0x75, 0x6f, 0x6f, 0xde, 0x79, 0x9e, 0x67, 0xde, 0xbf, - 0x13, 0xd0, 0x1e, 0x50, 0x3a, 0x88, 0x88, 0x83, 0x03, 0xee, 0x28, 0x53, 0x5a, 0xc3, 0xa6, 0xc3, - 0x09, 0x1b, 0x86, 0x7d, 0xc2, 0x1d, 0x1c, 0xf8, 0x29, 0x66, 0x38, 0x26, 0x82, 0x30, 0xbf, 0xf0, - 0xa2, 0x94, 0x51, 0x41, 0x61, 0x5d, 0x31, 0x10, 0x0e, 0x38, 0x1a, 0x91, 0xd1, 0xb0, 0x89, 0x34, - 0xb9, 0xf6, 0x68, 0x92, 0x3c, 0x23, 0x9c, 0x66, 0xec, 0xbc, 0xbe, 0xd2, 0xad, 0xdd, 0xd6, 0xac, - 0x34, 0x74, 0x70, 0x92, 0x50, 0x81, 0x45, 0x48, 0x13, 0x5e, 0x9c, 0x16, 0xb7, 0x3a, 0xf9, 0xd7, - 0x61, 0x76, 0xe4, 0x1c, 0x85, 0x24, 0x0a, 0xfc, 0x18, 0xf3, 0xe3, 0x02, 0x71, 0xe7, 0x3c, 0xe2, - 0x35, 0xc3, 0x69, 0x4a, 0x98, 0x56, 0x58, 0x2e, 0xce, 0x59, 0xda, 0x77, 0xb8, 0xc0, 0x22, 0x2b, - 0x0e, 0xec, 0x75, 0xb0, 0xb4, 0x4d, 0x44, 0x27, 0xd8, 0xd7, 0x01, 0x79, 0xe4, 0x55, 0x46, 0xb8, - 0x80, 0xf7, 0xc0, 0x35, 0x1d, 0xb1, 0x9f, 0xe0, 0x98, 0x54, 0x8d, 0xba, 0xb1, 0x3a, 0xef, 0x2d, - 0x68, 0xe7, 0x0b, 0x1c, 0x13, 0xfb, 0xbb, 0x01, 0x6e, 0xed, 0x66, 0x02, 0x0b, 0x52, 0x52, 0xe0, - 0x5a, 0xe2, 0x2e, 0xb0, 0xfa, 0x19, 0x17, 0x34, 0x26, 0xcc, 0x0f, 0x83, 0x42, 0x00, 0x68, 0xd7, - 0xf3, 0x00, 0x76, 0x01, 0xa0, 0x29, 0x61, 0x2a, 0xd7, 0xaa, 0x59, 0xaf, 0xac, 0x5a, 0xad, 0x35, - 0x34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 0x32, 0xa5, 0xd5, 0x6d, - 0xa2, 0xe2, 0x62, 0xfe, 0x45, 0x43, 0x7a, 0x9d, 0x80, 0xf7, 0x46, 0x90, 0x5e, 0xb7, 0xd9, 0xd3, - 0x90, 0x9f, 0xe6, 0x8a, 0xf2, 0xbb, 0x6e, 0x27, 0xe0, 0xae, 0x3b, 0x02, 0xb9, 0x6e, 0xb7, 0xe9, - 0xba, 0x1a, 0x76, 0x38, 0x97, 0xc7, 0xf9, 0xf0, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x33, 0xf9, - 0x55, 0x2d, 0xe2, 0x06, 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 - -// AdParameterServiceClient is the client API for AdParameterService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AdParameterServiceClient interface { - // Returns the requested ad parameter in full detail. - GetAdParameter(ctx context.Context, in *GetAdParameterRequest, opts ...grpc.CallOption) (*resources.AdParameter, error) - // Creates, updates, or removes ad parameters. Operation statuses are - // returned. - MutateAdParameters(ctx context.Context, in *MutateAdParametersRequest, opts ...grpc.CallOption) (*MutateAdParametersResponse, error) -} - -type adParameterServiceClient struct { - cc *grpc.ClientConn -} - -func NewAdParameterServiceClient(cc *grpc.ClientConn) AdParameterServiceClient { - return &adParameterServiceClient{cc} -} - -func (c *adParameterServiceClient) GetAdParameter(ctx context.Context, in *GetAdParameterRequest, opts ...grpc.CallOption) (*resources.AdParameter, error) { - out := new(resources.AdParameter) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.AdParameterService/GetAdParameter", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adParameterServiceClient) MutateAdParameters(ctx context.Context, in *MutateAdParametersRequest, opts ...grpc.CallOption) (*MutateAdParametersResponse, error) { - out := new(MutateAdParametersResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.AdParameterService/MutateAdParameters", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AdParameterServiceServer is the server API for AdParameterService service. -type AdParameterServiceServer interface { - // Returns the requested ad parameter in full detail. - GetAdParameter(context.Context, *GetAdParameterRequest) (*resources.AdParameter, error) - // Creates, updates, or removes ad parameters. Operation statuses are - // returned. - MutateAdParameters(context.Context, *MutateAdParametersRequest) (*MutateAdParametersResponse, error) -} - -// UnimplementedAdParameterServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAdParameterServiceServer struct { -} - -func (*UnimplementedAdParameterServiceServer) GetAdParameter(ctx context.Context, req *GetAdParameterRequest) (*resources.AdParameter, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetAdParameter not implemented") -} -func (*UnimplementedAdParameterServiceServer) MutateAdParameters(ctx context.Context, req *MutateAdParametersRequest) (*MutateAdParametersResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateAdParameters not implemented") -} - -func RegisterAdParameterServiceServer(s *grpc.Server, srv AdParameterServiceServer) { - s.RegisterService(&_AdParameterService_serviceDesc, srv) -} - -func _AdParameterService_GetAdParameter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAdParameterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdParameterServiceServer).GetAdParameter(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.AdParameterService/GetAdParameter", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdParameterServiceServer).GetAdParameter(ctx, req.(*GetAdParameterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdParameterService_MutateAdParameters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateAdParametersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdParameterServiceServer).MutateAdParameters(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.AdParameterService/MutateAdParameters", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdParameterServiceServer).MutateAdParameters(ctx, req.(*MutateAdParametersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _AdParameterService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.AdParameterService", - HandlerType: (*AdParameterServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetAdParameter", - Handler: _AdParameterService_GetAdParameter_Handler, - }, - { - MethodName: "MutateAdParameters", - Handler: _AdParameterService_MutateAdParameters_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/ad_parameter_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_schedule_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_schedule_view_service.pb.go deleted file mode 100644 index 27782ada..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/ad_schedule_view_service.pb.go +++ /dev/null @@ -1,187 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/ad_schedule_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [AdScheduleViewService.GetAdScheduleView][google.ads.googleads.v1.services.AdScheduleViewService.GetAdScheduleView]. -type GetAdScheduleViewRequest struct { - // The resource name of the ad schedule 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 *GetAdScheduleViewRequest) Reset() { *m = GetAdScheduleViewRequest{} } -func (m *GetAdScheduleViewRequest) String() string { return proto.CompactTextString(m) } -func (*GetAdScheduleViewRequest) ProtoMessage() {} -func (*GetAdScheduleViewRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b6e0ec29d39ff4cc, []int{0} -} - -func (m *GetAdScheduleViewRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAdScheduleViewRequest.Unmarshal(m, b) -} -func (m *GetAdScheduleViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAdScheduleViewRequest.Marshal(b, m, deterministic) -} -func (m *GetAdScheduleViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAdScheduleViewRequest.Merge(m, src) -} -func (m *GetAdScheduleViewRequest) XXX_Size() int { - return xxx_messageInfo_GetAdScheduleViewRequest.Size(m) -} -func (m *GetAdScheduleViewRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAdScheduleViewRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetAdScheduleViewRequest proto.InternalMessageInfo - -func (m *GetAdScheduleViewRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetAdScheduleViewRequest)(nil), "google.ads.googleads.v1.services.GetAdScheduleViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/ad_schedule_view_service.proto", fileDescriptor_b6e0ec29d39ff4cc) -} - -var fileDescriptor_b6e0ec29d39ff4cc = []byte{ - // 366 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xbf, 0x4a, 0xc3, 0x40, - 0x1c, 0xc7, 0x49, 0x04, 0xc1, 0xa0, 0x83, 0x01, 0xa1, 0x04, 0x87, 0x52, 0x3b, 0x48, 0x87, 0x3b, - 0x62, 0x17, 0x3d, 0x91, 0x92, 0x2e, 0x75, 0x92, 0xd2, 0x42, 0x06, 0x09, 0x84, 0x33, 0x77, 0xc4, - 0x40, 0x93, 0xab, 0xf9, 0x25, 0xe9, 0x20, 0x0e, 0xfa, 0x0a, 0xbe, 0x81, 0xa3, 0xef, 0xe0, 0x0b, - 0xb8, 0x3a, 0xf8, 0x02, 0x4e, 0x3e, 0x85, 0xa4, 0x97, 0x0b, 0x04, 0x1b, 0xba, 0x7d, 0xb9, 0xdf, - 0xf7, 0xf3, 0xfd, 0xfd, 0x49, 0x8c, 0x51, 0x28, 0x44, 0xb8, 0xe0, 0x98, 0x32, 0xc0, 0x52, 0x96, - 0xaa, 0xb0, 0x31, 0xf0, 0xb4, 0x88, 0x02, 0x0e, 0x98, 0x32, 0x1f, 0x82, 0x7b, 0xce, 0xf2, 0x05, - 0xf7, 0x8b, 0x88, 0xaf, 0xfc, 0xaa, 0x82, 0x96, 0xa9, 0xc8, 0x84, 0xd9, 0x95, 0x14, 0xa2, 0x0c, - 0x50, 0x1d, 0x80, 0x0a, 0x1b, 0xa9, 0x00, 0xeb, 0xbc, 0xad, 0x45, 0xca, 0x41, 0xe4, 0xe9, 0xa6, - 0x1e, 0x32, 0xdb, 0x3a, 0x56, 0xe4, 0x32, 0xc2, 0x34, 0x49, 0x44, 0x46, 0xb3, 0x48, 0x24, 0x20, - 0xab, 0xbd, 0x91, 0xd1, 0x99, 0xf0, 0xcc, 0x61, 0xf3, 0x8a,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 0xf0, 0x2f, 0x00, 0x00, 0xff, 0xff, 0xcc, 0x00, 0x12, 0xd8, 0xe2, 0x02, 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 - -// AdScheduleViewServiceClient is the client API for AdScheduleViewService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AdScheduleViewServiceClient interface { - // Returns the requested ad schedule view in full detail. - GetAdScheduleView(ctx context.Context, in *GetAdScheduleViewRequest, opts ...grpc.CallOption) (*resources.AdScheduleView, error) -} - -type adScheduleViewServiceClient struct { - cc *grpc.ClientConn -} - -func NewAdScheduleViewServiceClient(cc *grpc.ClientConn) AdScheduleViewServiceClient { - return &adScheduleViewServiceClient{cc} -} - -func (c *adScheduleViewServiceClient) GetAdScheduleView(ctx context.Context, in *GetAdScheduleViewRequest, opts ...grpc.CallOption) (*resources.AdScheduleView, error) { - out := new(resources.AdScheduleView) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.AdScheduleViewService/GetAdScheduleView", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AdScheduleViewServiceServer is the server API for AdScheduleViewService service. -type AdScheduleViewServiceServer interface { - // Returns the requested ad schedule view in full detail. - GetAdScheduleView(context.Context, *GetAdScheduleViewRequest) (*resources.AdScheduleView, error) -} - -// UnimplementedAdScheduleViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAdScheduleViewServiceServer struct { -} - -func (*UnimplementedAdScheduleViewServiceServer) GetAdScheduleView(ctx context.Context, req *GetAdScheduleViewRequest) (*resources.AdScheduleView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAdScheduleView not implemented") -} - -func RegisterAdScheduleViewServiceServer(s *grpc.Server, srv AdScheduleViewServiceServer) { - s.RegisterService(&_AdScheduleViewService_serviceDesc, srv) -} - -func _AdScheduleViewService_GetAdScheduleView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAdScheduleViewRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdScheduleViewServiceServer).GetAdScheduleView(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.AdScheduleViewService/GetAdScheduleView", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdScheduleViewServiceServer).GetAdScheduleView(ctx, req.(*GetAdScheduleViewRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _AdScheduleViewService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.AdScheduleViewService", - HandlerType: (*AdScheduleViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetAdScheduleView", - Handler: _AdScheduleViewService_GetAdScheduleView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/ad_schedule_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/age_range_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/age_range_view_service.pb.go deleted file mode 100644 index 872beaa7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/age_range_view_service.pb.go +++ /dev/null @@ -1,187 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/age_range_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [AgeRangeViewService.GetAgeRangeView][google.ads.googleads.v1.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_ec3750cf7941374c, []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 (m *GetAgeRangeViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAgeRangeViewRequest.Merge(m, 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.v1.services.GetAgeRangeViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/age_range_view_service.proto", fileDescriptor_ec3750cf7941374c) -} - -var fileDescriptor_ec3750cf7941374c = []byte{ - // 364 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x3f, 0x4b, 0xc3, 0x40, - 0x18, 0xc6, 0x49, 0x04, 0xc1, 0xa0, 0x08, 0x11, 0xa4, 0x14, 0x87, 0x52, 0x3b, 0x48, 0x87, 0x3b, - 0xa2, 0xa0, 0x72, 0xd2, 0x21, 0x5d, 0xea, 0x24, 0xa5, 0x42, 0x06, 0x09, 0x84, 0xb3, 0x79, 0x39, - 0x02, 0x4d, 0xae, 0xde, 0x9b, 0xa6, 0x83, 0xb8, 0xf8, 0x15, 0xfc, 0x06, 0x8e, 0xee, 0x7e, 0x09, - 0xc1, 0xc9, 0xaf, 0xe0, 0xe4, 0x97, 0x50, 0xd2, 0xeb, 0x85, 0xaa, 0x2d, 0xdd, 0x1e, 0xde, 0x3c, - 0xbf, 0xf7, 0xcf, 0x93, 0x73, 0x3a, 0x42, 0x4a, 0x31, 0x02, 0xca, 0x63, 0xa4, 0x5a, 0x96, 0xaa, - 0xf0, 0x28, 0x82, 0x2a, 0x92, 0x21, 0x20, 0xe5, 0x02, 0x22, 0xc5, 0x33, 0x01, 0x51, 0x91, 0xc0, - 0x34, 0x9a, 0xd7, 0xc9, 0x58, 0xc9, 0x5c, 0xba, 0x0d, 0xcd, 0x10, 0x1e, 0x23, 0xa9, 0x70, 0x52, - 0x78, 0xc4, 0xe0, 0xf5, 0xd3, 0x55, 0x03, 0x14, 0xa0, 0x9c, 0xa8, 0xff, 0x13, 0x74, 0xe7, 0xfa, - 0x81, 0xe1, 0xc6, 0x09, 0xe5, 0x59, 0x26, 0x73, 0x9e, 0x27, 0x32, 0x43, 0xfd, 0xb5, 0xd9, 0x71, - 0x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0x1e, 0x63, 0xc6, 0x76, 0xbb, 0x39, 0xdb, 0xf3, 0xe4, 0x27, - 0x00, 0x00, 0xff, 0xff, 0x02, 0x12, 0xf3, 0x69, 0xd0, 0x02, 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 - -// 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.v1.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) -} - -// UnimplementedAgeRangeViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAgeRangeViewServiceServer struct { -} - -func (*UnimplementedAgeRangeViewServiceServer) GetAgeRangeView(ctx context.Context, req *GetAgeRangeViewRequest) (*resources.AgeRangeView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAgeRangeView not implemented") -} - -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.v1.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.v1.services.AgeRangeViewService", - HandlerType: (*AgeRangeViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetAgeRangeView", - Handler: _AgeRangeViewService_GetAgeRangeView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/age_range_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/asset_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/asset_service.pb.go deleted file mode 100644 index f5699835..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/asset_service.pb.go +++ /dev/null @@ -1,442 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/asset_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [AssetService.GetAsset][google.ads.googleads.v1.services.AssetService.GetAsset] -type GetAssetRequest struct { - // The resource name of the asset 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 *GetAssetRequest) Reset() { *m = GetAssetRequest{} } -func (m *GetAssetRequest) String() string { return proto.CompactTextString(m) } -func (*GetAssetRequest) ProtoMessage() {} -func (*GetAssetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4a6e6d3ab580fb9b, []int{0} -} - -func (m *GetAssetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAssetRequest.Unmarshal(m, b) -} -func (m *GetAssetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAssetRequest.Marshal(b, m, deterministic) -} -func (m *GetAssetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAssetRequest.Merge(m, src) -} -func (m *GetAssetRequest) XXX_Size() int { - return xxx_messageInfo_GetAssetRequest.Size(m) -} -func (m *GetAssetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAssetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetAssetRequest proto.InternalMessageInfo - -func (m *GetAssetRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for -// [AssetService.MutateAssets][google.ads.googleads.v1.services.AssetService.MutateAssets] -type MutateAssetsRequest struct { - // The ID of the customer whose assets 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 assets. - Operations []*AssetOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateAssetsRequest) Reset() { *m = MutateAssetsRequest{} } -func (m *MutateAssetsRequest) String() string { return proto.CompactTextString(m) } -func (*MutateAssetsRequest) ProtoMessage() {} -func (*MutateAssetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4a6e6d3ab580fb9b, []int{1} -} - -func (m *MutateAssetsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAssetsRequest.Unmarshal(m, b) -} -func (m *MutateAssetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAssetsRequest.Marshal(b, m, deterministic) -} -func (m *MutateAssetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAssetsRequest.Merge(m, src) -} -func (m *MutateAssetsRequest) XXX_Size() int { - return xxx_messageInfo_MutateAssetsRequest.Size(m) -} -func (m *MutateAssetsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAssetsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAssetsRequest proto.InternalMessageInfo - -func (m *MutateAssetsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateAssetsRequest) GetOperations() []*AssetOperation { - if m != nil { - return m.Operations - } - return nil -} - -// A single operation to create an asset. Supported asset types are -// YoutubeVideoAsset, MediaBundleAsset and ImageAsset. TextAsset should be -// created with Ad inline. -type AssetOperation struct { - // The mutate operation. - // - // Types that are valid to be assigned to Operation: - // *AssetOperation_Create - Operation isAssetOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AssetOperation) Reset() { *m = AssetOperation{} } -func (m *AssetOperation) String() string { return proto.CompactTextString(m) } -func (*AssetOperation) ProtoMessage() {} -func (*AssetOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_4a6e6d3ab580fb9b, []int{2} -} - -func (m *AssetOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AssetOperation.Unmarshal(m, b) -} -func (m *AssetOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AssetOperation.Marshal(b, m, deterministic) -} -func (m *AssetOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_AssetOperation.Merge(m, src) -} -func (m *AssetOperation) XXX_Size() int { - return xxx_messageInfo_AssetOperation.Size(m) -} -func (m *AssetOperation) XXX_DiscardUnknown() { - xxx_messageInfo_AssetOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_AssetOperation proto.InternalMessageInfo - -type isAssetOperation_Operation interface { - isAssetOperation_Operation() -} - -type AssetOperation_Create struct { - Create *resources.Asset `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -func (*AssetOperation_Create) isAssetOperation_Operation() {} - -func (m *AssetOperation) GetOperation() isAssetOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *AssetOperation) GetCreate() *resources.Asset { - if x, ok := m.GetOperation().(*AssetOperation_Create); ok { - return x.Create - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AssetOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AssetOperation_Create)(nil), - } -} - -// Response message for an asset mutate. -type MutateAssetsResponse struct { - // All results for the mutate. - Results []*MutateAssetResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateAssetsResponse) Reset() { *m = MutateAssetsResponse{} } -func (m *MutateAssetsResponse) String() string { return proto.CompactTextString(m) } -func (*MutateAssetsResponse) ProtoMessage() {} -func (*MutateAssetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4a6e6d3ab580fb9b, []int{3} -} - -func (m *MutateAssetsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAssetsResponse.Unmarshal(m, b) -} -func (m *MutateAssetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAssetsResponse.Marshal(b, m, deterministic) -} -func (m *MutateAssetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAssetsResponse.Merge(m, src) -} -func (m *MutateAssetsResponse) XXX_Size() int { - return xxx_messageInfo_MutateAssetsResponse.Size(m) -} -func (m *MutateAssetsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAssetsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAssetsResponse proto.InternalMessageInfo - -func (m *MutateAssetsResponse) GetResults() []*MutateAssetResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for the asset mutate. -type MutateAssetResult 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 *MutateAssetResult) Reset() { *m = MutateAssetResult{} } -func (m *MutateAssetResult) String() string { return proto.CompactTextString(m) } -func (*MutateAssetResult) ProtoMessage() {} -func (*MutateAssetResult) Descriptor() ([]byte, []int) { - return fileDescriptor_4a6e6d3ab580fb9b, []int{4} -} - -func (m *MutateAssetResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAssetResult.Unmarshal(m, b) -} -func (m *MutateAssetResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAssetResult.Marshal(b, m, deterministic) -} -func (m *MutateAssetResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAssetResult.Merge(m, src) -} -func (m *MutateAssetResult) XXX_Size() int { - return xxx_messageInfo_MutateAssetResult.Size(m) -} -func (m *MutateAssetResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAssetResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAssetResult proto.InternalMessageInfo - -func (m *MutateAssetResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetAssetRequest)(nil), "google.ads.googleads.v1.services.GetAssetRequest") - proto.RegisterType((*MutateAssetsRequest)(nil), "google.ads.googleads.v1.services.MutateAssetsRequest") - proto.RegisterType((*AssetOperation)(nil), "google.ads.googleads.v1.services.AssetOperation") - proto.RegisterType((*MutateAssetsResponse)(nil), "google.ads.googleads.v1.services.MutateAssetsResponse") - proto.RegisterType((*MutateAssetResult)(nil), "google.ads.googleads.v1.services.MutateAssetResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/asset_service.proto", fileDescriptor_4a6e6d3ab580fb9b) -} - -var fileDescriptor_4a6e6d3ab580fb9b = []byte{ - // 520 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xbf, 0x6f, 0xd3, 0x40, - 0x14, 0xc6, 0xae, 0x54, 0xe8, 0x25, 0x80, 0x7a, 0x30, 0x54, 0x11, 0x12, 0x91, 0xe9, 0x10, 0x19, - 0x71, 0x8e, 0x53, 0x88, 0xd0, 0xa1, 0x0e, 0xce, 0x92, 0x32, 0x14, 0x22, 0x23, 0x65, 0x40, 0x91, - 0xa2, 0x23, 0x3e, 0x59, 0x96, 0x62, 0x9f, 0xf1, 0x3b, 0x67, 0xa9, 0xba, 0x30, 0xb1, 0x33, 0xb1, - 0x32, 0xb2, 0xf3, 0x4f, 0xb0, 0xf2, 0x1f, 0x20, 0x26, 0xfe, 0x02, 0x46, 0x64, 0x9f, 0xcf, 0x38, - 0x54, 0x51, 0x9a, 0xed, 0xf9, 0xee, 0x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c, 0xd0, 0xc1, 0x17, 0x73, 0x6f, 0xec, 0x79, 0x5f, 0xcd, 0xee, 0x58, 0x09, 0x7a, 0x01, - 0x10, 0x15, 0x16, 0xd1, 0xd4, 0x25, 0x55, 0x62, 0xf8, 0xae, 0x21, 0x33, 0x2f, 0x80, 0x59, 0x0d, - 0x99, 0x4d, 0xdd, 0x99, 0x86, 0xfc, 0x36, 0x8f, 0xd5, 0x39, 0xa5, 0x5e, 0x00, 0x94, 0xd6, 0x20, - 0x4a, 0xa7, 0x2e, 0xa5, 0x1a, 0xf6, 0x6e, 0xbf, 0xf4, 0x79, 0xf2, 0x37, 0x00, 0x00, 0xff, 0xff, - 0xc0, 0xa5, 0x7e, 0xbf, 0xd4, 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 - -// 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 { - // Returns the requested asset in full detail. - GetAsset(ctx context.Context, in *GetAssetRequest, opts ...grpc.CallOption) (*resources.Asset, error) - // Creates assets. Operation statuses are returned. - MutateAssets(ctx context.Context, in *MutateAssetsRequest, opts ...grpc.CallOption) (*MutateAssetsResponse, error) -} - -type assetServiceClient struct { - cc *grpc.ClientConn -} - -func NewAssetServiceClient(cc *grpc.ClientConn) AssetServiceClient { - return &assetServiceClient{cc} -} - -func (c *assetServiceClient) GetAsset(ctx context.Context, in *GetAssetRequest, opts ...grpc.CallOption) (*resources.Asset, error) { - out := new(resources.Asset) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.AssetService/GetAsset", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *assetServiceClient) MutateAssets(ctx context.Context, in *MutateAssetsRequest, opts ...grpc.CallOption) (*MutateAssetsResponse, error) { - out := new(MutateAssetsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.AssetService/MutateAssets", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AssetServiceServer is the server API for AssetService service. -type AssetServiceServer interface { - // Returns the requested asset in full detail. - GetAsset(context.Context, *GetAssetRequest) (*resources.Asset, error) - // Creates assets. Operation statuses are returned. - MutateAssets(context.Context, *MutateAssetsRequest) (*MutateAssetsResponse, error) -} - -// UnimplementedAssetServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAssetServiceServer struct { -} - -func (*UnimplementedAssetServiceServer) GetAsset(ctx context.Context, req *GetAssetRequest) (*resources.Asset, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAsset not implemented") -} -func (*UnimplementedAssetServiceServer) MutateAssets(ctx context.Context, req *MutateAssetsRequest) (*MutateAssetsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method MutateAssets not implemented") -} - -func RegisterAssetServiceServer(s *grpc.Server, srv AssetServiceServer) { - s.RegisterService(&_AssetService_serviceDesc, srv) -} - -func _AssetService_GetAsset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAssetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AssetServiceServer).GetAsset(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.AssetService/GetAsset", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AssetServiceServer).GetAsset(ctx, req.(*GetAssetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AssetService_MutateAssets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateAssetsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AssetServiceServer).MutateAssets(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.AssetService/MutateAssets", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AssetServiceServer).MutateAssets(ctx, req.(*MutateAssetsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _AssetService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.AssetService", - HandlerType: (*AssetServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetAsset", - Handler: _AssetService_GetAsset_Handler, - }, - { - MethodName: "MutateAssets", - Handler: _AssetService_MutateAssets_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/asset_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/bidding_strategy_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/bidding_strategy_service.pb.go deleted file mode 100644 index 319b8cae..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/bidding_strategy_service.pb.go +++ /dev/null @@ -1,531 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/bidding_strategy_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [BiddingStrategyService.GetBiddingStrategy][google.ads.googleads.v1.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_57d6d2619481cd67, []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 (m *GetBiddingStrategyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBiddingStrategyRequest.Merge(m, 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.v1.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_57d6d2619481cd67, []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 (m *MutateBiddingStrategiesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateBiddingStrategiesRequest.Merge(m, 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 -} - -func (m *MutateBiddingStrategiesRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateBiddingStrategiesRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_57d6d2619481cd67, []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 (m *BiddingStrategyOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_BiddingStrategyOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*BiddingStrategyOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*BiddingStrategyOperation_Create)(nil), - (*BiddingStrategyOperation_Update)(nil), - (*BiddingStrategyOperation_Remove)(nil), - } -} - -// Response message for bidding strategy mutate. -type MutateBiddingStrategiesResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_57d6d2619481cd67, []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 (m *MutateBiddingStrategiesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateBiddingStrategiesResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_57d6d2619481cd67, []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 (m *MutateBiddingStrategyResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateBiddingStrategyResult.Merge(m, 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.v1.services.GetBiddingStrategyRequest") - proto.RegisterType((*MutateBiddingStrategiesRequest)(nil), "google.ads.googleads.v1.services.MutateBiddingStrategiesRequest") - proto.RegisterType((*BiddingStrategyOperation)(nil), "google.ads.googleads.v1.services.BiddingStrategyOperation") - proto.RegisterType((*MutateBiddingStrategiesResponse)(nil), "google.ads.googleads.v1.services.MutateBiddingStrategiesResponse") - proto.RegisterType((*MutateBiddingStrategyResult)(nil), "google.ads.googleads.v1.services.MutateBiddingStrategyResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/bidding_strategy_service.proto", fileDescriptor_57d6d2619481cd67) -} - -var fileDescriptor_57d6d2619481cd67 = []byte{ - // 721 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0xd1, 0x6a, 0xd4, 0x4c, - 0x14, 0xc7, 0xbf, 0x64, 0x3f, 0xaa, 0x9d, 0x54, 0x85, 0x11, 0x6d, 0xdc, 0x4a, 0xbb, 0xc4, 0x82, - 0x65, 0x2f, 0x12, 0x76, 0x8b, 0x22, 0x59, 0x8a, 0xcd, 0x82, 0x6d, 0x05, 0x6b, 0x4b, 0x0a, 0x15, - 0xca, 0x42, 0x98, 0x6e, 0xa6, 0x21, 0x34, 0xc9, 0xc4, 0x99, 0xc9, 0xca, 0x52, 0x7a, 0xd3, 0x57, - 0xf0, 0xce, 0x4b, 0x2f, 0x7d, 0x0b, 0x7b, 0xe9, 0xad, 0x4f, 0x20, 0x78, 0xa5, 0x2f, 0x21, 0xc9, - 0x64, 0xb6, 0xed, 0xb6, 0x71, 0xa5, 0xbd, 0x3b, 0x39, 0xf3, 0x9f, 0xdf, 0x9c, 0x33, 0xe7, 0xcc, - 0x09, 0x78, 0x19, 0x10, 0x12, 0x44, 0xd8, 0x42, 0x3e, 0xb3, 0x84, 0x99, 0x5b, 0x83, 0x96, 0xc5, - 0x30, 0x1d, 0x84, 0x7d, 0xcc, 0xac, 0xfd, 0xd0, 0xf7, 0xc3, 0x24, 0xf0, 0x18, 0xa7, 0x88, 0xe3, - 0x60, 0xe8, 0x95, 0x2b, 0x66, 0x4a, 0x09, 0x27, 0xb0, 0x21, 0x76, 0x99, 0xc8, 0x67, 0xe6, 0x08, - 0x60, 0x0e, 0x5a, 0xa6, 0x04, 0xd4, 0x5f, 0x54, 0x1d, 0x41, 0x31, 0x23, 0x19, 0xbd, 0xea, 0x0c, - 0xc1, 0xae, 0x3f, 0x96, 0x3b, 0xd3, 0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0xff, 0xff, 0x66, 0xd6, 0xf6, 0x59, 0x3d, 0x07, 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 - -// 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.v1.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.v1.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) -} - -// UnimplementedBiddingStrategyServiceServer can be embedded to have forward compatible implementations. -type UnimplementedBiddingStrategyServiceServer struct { -} - -func (*UnimplementedBiddingStrategyServiceServer) GetBiddingStrategy(ctx context.Context, req *GetBiddingStrategyRequest) (*resources.BiddingStrategy, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetBiddingStrategy not implemented") -} -func (*UnimplementedBiddingStrategyServiceServer) MutateBiddingStrategies(ctx context.Context, req *MutateBiddingStrategiesRequest) (*MutateBiddingStrategiesResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateBiddingStrategies not implemented") -} - -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.v1.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.v1.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.v1.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/v1/services/bidding_strategy_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/billing_setup_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/billing_setup_service.pb.go deleted file mode 100644 index dbcd99ce..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/billing_setup_service.pb.go +++ /dev/null @@ -1,458 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/billing_setup_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [BillingSetupService.GetBillingSetup][google.ads.googleads.v1.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_0a012b9d34a4d410, []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 (m *GetBillingSetupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBillingSetupRequest.Merge(m, 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_0a012b9d34a4d410, []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 (m *MutateBillingSetupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateBillingSetupRequest.Merge(m, 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_0a012b9d34a4d410, []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 (m *BillingSetupOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_BillingSetupOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*BillingSetupOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*BillingSetupOperation_Create)(nil), - (*BillingSetupOperation_Remove)(nil), - } -} - -// 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_0a012b9d34a4d410, []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 (m *MutateBillingSetupResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateBillingSetupResponse.Merge(m, 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_0a012b9d34a4d410, []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 (m *MutateBillingSetupResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateBillingSetupResult.Merge(m, 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.v1.services.GetBillingSetupRequest") - proto.RegisterType((*MutateBillingSetupRequest)(nil), "google.ads.googleads.v1.services.MutateBillingSetupRequest") - proto.RegisterType((*BillingSetupOperation)(nil), "google.ads.googleads.v1.services.BillingSetupOperation") - proto.RegisterType((*MutateBillingSetupResponse)(nil), "google.ads.googleads.v1.services.MutateBillingSetupResponse") - proto.RegisterType((*MutateBillingSetupResult)(nil), "google.ads.googleads.v1.services.MutateBillingSetupResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/billing_setup_service.proto", fileDescriptor_0a012b9d34a4d410) -} - -var fileDescriptor_0a012b9d34a4d410 = []byte{ - // 545 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,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, 0xef, 0x82, 0xfc, 0x40, 0x98, 0x5c, 0x77, 0x84, 0x1c, 0xdc, 0xce, 0x6b, - 0x5d, 0xfd, 0xe1, 0x2d, 0x07, 0x55, 0x8e, 0xdd, 0x1a, 0x96, 0xad, 0x0c, 0xac, 0x7e, 0xd1, 0xca, - 0x55, 0xed, 0xe7, 0x2b, 0xb7, 0x65, 0xd8, 0xbb, 0x58, 0xef, 0x84, 0xc7, 0x25, 0x1f, 0x47, 0xbd, - 0xd1, 0x1f, 0x84, 0xf7, 0xe6, 0x32, 0xde, 0x5a, 0xc2, 0xa8, 0x5d, 0x33, 0xc6, 0x93, 0xe2, 0xde, - 0x9f, 0xa0, 0xf7, 0x47, 0x15, 0x3a, 0x90, 0x91, 0x97, 0x04, 0x54, 0x66, 0x01, 0x0b, 0x44, 0x52, - 0xbe, 0x0a, 0xe6, 0x79, 0x49, 0x43, 0xd8, 0xfc, 0x9a, 0x1d, 0x98, 0xe0, 0x4b, 0x63, 0x67, 0xec, - 0x38, 0x5f, 0x1b, 0xdd, 0xb1, 0x26, 0x74, 0x7c, 0xa0, 0x3a, 0x2c, 0xa2, 0x89, 0x4d, 0x2b, 0x61, - 0xf8, 0x6e, 0x52, 0xa6, 0x8e, 0x0f, 0xd3, 0x65, 0xca, 0x74, 0x62, 0x4f, 0x4d, 0xca, 0xef, 0xc6, - 0x9e, 0x3e, 0xe7, 0xdc, 0xf1, 0x81, 0xf3, 0x65, 0x12, 0xe7, 0x13, 0x9b, 0x73, 0x93, 0x76, 0xd6, - 0x2c, 0xeb, 0x7c, 0xfe, 0x37, 0x00, 0x00, 0xff, 0xff, 0x3a, 0x00, 0x54, 0x93, 0x74, 0x05, 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 - -// 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.v1.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.v1.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) -} - -// UnimplementedBillingSetupServiceServer can be embedded to have forward compatible implementations. -type UnimplementedBillingSetupServiceServer struct { -} - -func (*UnimplementedBillingSetupServiceServer) GetBillingSetup(ctx context.Context, req *GetBillingSetupRequest) (*resources.BillingSetup, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBillingSetup not implemented") -} -func (*UnimplementedBillingSetupServiceServer) MutateBillingSetup(ctx context.Context, req *MutateBillingSetupRequest) (*MutateBillingSetupResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method MutateBillingSetup not implemented") -} - -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.v1.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.v1.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.v1.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/v1/services/billing_setup_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_audience_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_audience_view_service.pb.go deleted file mode 100644 index 122c1be8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_audience_view_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/campaign_audience_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [CampaignAudienceViewService.GetCampaignAudienceView][google.ads.googleads.v1.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_ae1606ecaa0347f1, []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 (m *GetCampaignAudienceViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCampaignAudienceViewRequest.Merge(m, 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.v1.services.GetCampaignAudienceViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/campaign_audience_view_service.proto", fileDescriptor_ae1606ecaa0347f1) -} - -var fileDescriptor_ae1606ecaa0347f1 = []byte{ - // 378 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0x3d, 0x6b, 0xdb, 0x40, - 0x18, 0x46, 0x2a, 0x14, 0x2a, 0xda, 0x45, 0x4b, 0x8b, 0x5b, 0x8a, 0x70, 0x3d, 0x14, 0x0f, 0x77, - 0xa8, 0x1d, 0x4c, 0x2e, 0xe4, 0x43, 0x0e, 0xc6, 0x99, 0x82, 0x71, 0x40, 0x43, 0x10, 0x88, 0x8b, - 0x74, 0x88, 0x03, 0xeb, 0x4e, 0xd1, 0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, 0xa7, 0xef, - 0x1f, 0x5c, 0x3f, 0x3e, 0xdf, 0x9a, 0x3b, 0xf6, 0xa8, 0xee, 0xf3, 0xf2, 0xc3, 0x98, 0x7b, 0x51, - 0x09, 0x85, 0x4c, 0x59, 0x0e, 0x78, 0xd8, 0x16, 0xfc, 0x5e, 0x0c, 0x78, 0x78, 0x35, 0xbe, 0x31, - 0xad, 0x41, 0x24, 0xd3, 0xad, 0x13, 0x8c, 0x9d, 0x0d, 0xed, 0xcc, 0xea, 0x4d, 0xcc, 0x8c, 0xb3, - 0xe3, 0xc6, 0x25, 0x91, 0x0b, 0x2a, 0x12, 0x24, 0xf3, 0x04, 0x27, 0x4c, 0xac, 0xf6, 0xa4, 0x37, - 0x9f, 0x71, 0xe8, 0xfe, 0x71, 0xbb, 0x1a, 0xdc, 0x99, 0x9f, 0xa6, 0x9e, 0x77, 0x6f, 0x3a, 0x53, - 0x65, 0xe8, 0xc5, 0x80, 0x14, 0xac, 0x91, 0xef, 0xa2, 0x26, 0x18, 0x1e, 0x34, 0x25, 0xf0, 0x62, - 0x08, 0x5a, 0x4a, 0xe0, 0xbb, 0x81, 0xa6, 0xbc, 0x98, 0x03, 0x75, 0x4e, 0x88, 0x17, 0x03, 0x21, - 0x2d, 0x89, 0x10, 0xdf, 0x25, 0x44, 0xd3, 0xce, 0x3f, 0xaf, 0xde, 0xf9, 0xff, 0x2d, 0x00, 0x00, - 0xff, 0xff, 0x7f, 0x73, 0xad, 0x2f, 0x18, 0x03, 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 - -// 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.v1.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) -} - -// UnimplementedCampaignAudienceViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCampaignAudienceViewServiceServer struct { -} - -func (*UnimplementedCampaignAudienceViewServiceServer) GetCampaignAudienceView(ctx context.Context, req *GetCampaignAudienceViewRequest) (*resources.CampaignAudienceView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCampaignAudienceView not implemented") -} - -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.v1.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.v1.services.CampaignAudienceViewService", - HandlerType: (*CampaignAudienceViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetCampaignAudienceView", - Handler: _CampaignAudienceViewService_GetCampaignAudienceView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/campaign_audience_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_bid_modifier_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_bid_modifier_service.pb.go deleted file mode 100644 index a56674d1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_bid_modifier_service.pb.go +++ /dev/null @@ -1,530 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/campaign_bid_modifier_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [CampaignBidModifierService.GetCampaignBidModifier][google.ads.googleads.v1.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_27d42c41001293b8, []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 (m *GetCampaignBidModifierRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCampaignBidModifierRequest.Merge(m, 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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_27d42c41001293b8, []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 (m *MutateCampaignBidModifiersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignBidModifiersRequest.Merge(m, 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 -} - -func (m *MutateCampaignBidModifiersRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateCampaignBidModifiersRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_27d42c41001293b8, []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 (m *CampaignBidModifierOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignBidModifierOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*CampaignBidModifierOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CampaignBidModifierOperation_Create)(nil), - (*CampaignBidModifierOperation_Update)(nil), - (*CampaignBidModifierOperation_Remove)(nil), - } -} - -// Response message for campaign bid modifiers mutate. -type MutateCampaignBidModifiersResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_27d42c41001293b8, []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 (m *MutateCampaignBidModifiersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignBidModifiersResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_27d42c41001293b8, []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 (m *MutateCampaignBidModifierResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignBidModifierResult.Merge(m, 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.v1.services.GetCampaignBidModifierRequest") - proto.RegisterType((*MutateCampaignBidModifiersRequest)(nil), "google.ads.googleads.v1.services.MutateCampaignBidModifiersRequest") - proto.RegisterType((*CampaignBidModifierOperation)(nil), "google.ads.googleads.v1.services.CampaignBidModifierOperation") - proto.RegisterType((*MutateCampaignBidModifiersResponse)(nil), "google.ads.googleads.v1.services.MutateCampaignBidModifiersResponse") - proto.RegisterType((*MutateCampaignBidModifierResult)(nil), "google.ads.googleads.v1.services.MutateCampaignBidModifierResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/campaign_bid_modifier_service.proto", fileDescriptor_27d42c41001293b8) -} - -var fileDescriptor_27d42c41001293b8 = []byte{ - // 728 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0x4f, 0x6e, 0xd3, 0x4c, - 0x14, 0xc0, 0x3f, 0x3b, 0x9f, 0x0a, 0x9d, 0x14, 0x90, 0x06, 0x01, 0x51, 0x54, 0x68, 0x30, 0x95, - 0xa8, 0xb2, 0xb0, 0x95, 0x20, 0x55, 0xe0, 0xaa, 0x45, 0x49, 0x43, 0x5a, 0x16, 0xa5, 0x95, 0x2b, - 0x75, 0x01, 0x11, 0xd6, 0xd4, 0x9e, 0x58, 0xa3, 0xda, 0x1e, 0x33, 0x33, 0x0e, 0xaa, 0xaa, 0x6e, - 0x58, 0x70, 0x01, 0x6e, 0xc0, 0x82, 0x05, 0x37, 0x81, 0x1d, 0xe2, 0x02, 0x2c, 0x58, 0x21, 0xb1, - 0xe1, 0x04, 0xc8, 0x1e, 0x4f, 0x68, 0xab, 0xb8, 0x41, 0x74, 0xf7, 0xfc, 0xe6, 0xf9, 0xf7, 0xfe, - 0xce, 0x1b, 0xd0, 0x0b, 0x28, 0x0d, 0x42, 0x6c, 0x21, 0x9f, 0x5b, 0x52, 0xcc, 0xa4, 0x51, 0xcb, - 0xe2, 0x98, 0x8d, 0x88, 0x87, 0xb9, 0xe5, 0xa1, 0x28, 0x41, 0x24, 0x88, 0xdd, 0x7d, 0xe2, 0xbb, - 0x11, 0xf5, 0xc9, 0x90, 0x60, 0xe6, 0x16, 0xc7, 0x66, 0xc2, 0xa8, 0xa0, 0xb0, 0x21, 0x7f, 0x35, - 0x91, 0xcf, 0xcd,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, 0xdd, 0xf1, 0xb9, 0x6d, 0x8f, 0x8d, 0x6c, 0x7b, - 0xaf, 0x65, 0xdb, 0xca, 0x6c, 0x7f, 0x26, 0x8f, 0xf3, 0xc1, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, - 0x6b, 0x80, 0xdc, 0x8d, 0x8c, 0x07, 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 - -// 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.v1.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.v1.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) -} - -// UnimplementedCampaignBidModifierServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCampaignBidModifierServiceServer struct { -} - -func (*UnimplementedCampaignBidModifierServiceServer) GetCampaignBidModifier(ctx context.Context, req *GetCampaignBidModifierRequest) (*resources.CampaignBidModifier, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetCampaignBidModifier not implemented") -} -func (*UnimplementedCampaignBidModifierServiceServer) MutateCampaignBidModifiers(ctx context.Context, req *MutateCampaignBidModifiersRequest) (*MutateCampaignBidModifiersResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateCampaignBidModifiers not implemented") -} - -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.v1.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.v1.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.v1.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/v1/services/campaign_bid_modifier_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_budget_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_budget_service.pb.go deleted file mode 100644 index 85333acb..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_budget_service.pb.go +++ /dev/null @@ -1,530 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/campaign_budget_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [CampaignBudgetService.GetCampaignBudget][google.ads.googleads.v1.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_58d7b628a151e6ac, []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 (m *GetCampaignBudgetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCampaignBudgetRequest.Merge(m, 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.v1.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_58d7b628a151e6ac, []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 (m *MutateCampaignBudgetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignBudgetsRequest.Merge(m, 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 -} - -func (m *MutateCampaignBudgetsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateCampaignBudgetsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_58d7b628a151e6ac, []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 (m *CampaignBudgetOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignBudgetOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*CampaignBudgetOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CampaignBudgetOperation_Create)(nil), - (*CampaignBudgetOperation_Update)(nil), - (*CampaignBudgetOperation_Remove)(nil), - } -} - -// Response message for campaign budget mutate. -type MutateCampaignBudgetsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_58d7b628a151e6ac, []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 (m *MutateCampaignBudgetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignBudgetsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_58d7b628a151e6ac, []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 (m *MutateCampaignBudgetResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignBudgetResult.Merge(m, 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.v1.services.GetCampaignBudgetRequest") - proto.RegisterType((*MutateCampaignBudgetsRequest)(nil), "google.ads.googleads.v1.services.MutateCampaignBudgetsRequest") - proto.RegisterType((*CampaignBudgetOperation)(nil), "google.ads.googleads.v1.services.CampaignBudgetOperation") - proto.RegisterType((*MutateCampaignBudgetsResponse)(nil), "google.ads.googleads.v1.services.MutateCampaignBudgetsResponse") - proto.RegisterType((*MutateCampaignBudgetResult)(nil), "google.ads.googleads.v1.services.MutateCampaignBudgetResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/campaign_budget_service.proto", fileDescriptor_58d7b628a151e6ac) -} - -var fileDescriptor_58d7b628a151e6ac = []byte{ - // 717 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0xc1, 0x6b, 0xd4, 0x4e, - 0x14, 0xfe, 0x25, 0xfb, 0xa3, 0xda, 0xd9, 0xaa, 0x38, 0x52, 0xba, 0x84, 0xaa, 0x4b, 0x2c, 0x58, - 0xf6, 0x90, 0x90, 0xad, 0x20, 0x4d, 0x6d, 0xcb, 0xae, 0xd8, 0x56, 0xa4, 0xb6, 0xa4, 0xb0, 0xa0, - 0x2c, 0x84, 0x69, 0x32, 0x0d, 0xa1, 0x49, 0x26, 0xce, 0x4c, 0x56, 0x4a, 0xe9, 0x41, 0xff, 0x05, - 0x0f, 0xde, 0x3d, 0x7a, 0xf5, 0x2c, 0xde, 0xbd, 0x7a, 0xf2, 0xee, 0x41, 0xfc, 0x2b, 0x24, 0x99, - 0xcc, 0xda, 0x5d, 0x37, 0xac, 0xd6, 0xdb, 0xcb, 0x9b, 0xef, 0x7d, 0xef, 0x7d, 0xf3, 0xde, 0x9b, - 0x80, 0x8d, 0x80, 0x90, 0x20, 0xc2, 0x26, 0xf2, 0x99, 0x29, 0xcc, 0xdc, 0x1a, 0x58, 0x26, 0xc3, - 0x74, 0x10, 0x7a, 0x98, 0x99, 0x1e, 0x8a, 0x53, 0x14, 0x06, 0x89, 0x7b, 0x98, 0xf9, 0x01, 0xe6, - 0x6e, 0x79, 0x60, 0xa4, 0x94, 0x70, 0x02, 0x9b, 0x22, 0xc8, 0x40, 0x3e, 0x33, 0x86, 0xf1, 0xc6, - 0xc0, 0x32, 0x64, 0xbc, 0x76, 0xbf, 0x2a, 0x03, 0xc5, 0x8c, 0x64, 0x74, 0x42, 0x0a, 0x41, 0xad, - 0x2d, 0xca, 0xc0, 0x34, 0x34, 0x51, 0x92, 0x10, 0x8e, 0x78, 0x48, 0x12, 0x56, 0x9e, 0x96, 0x89, - 0xcd, 0xe2, 0xeb, 0x30, 0x3b, 0x32, 0x8f, 0x42, 0x1c, 0xf9, 0x6e, 0x8c, 0xd8, 0x71, 0x89, 0xb8, - 0x35, 0x8e, 0x78, 0x49, 0x51, 0x9a, 0x62, 0x2a, 0x19, 0x16, 0xca, 0x73, 0x9a, 0x7a, 0x26, 0xe3, - 0x88, 0x67, 0xe5, 0x81, 0xbe, 0x09, 0x1a, 0xdb, 0x98, 0x3f, 0x2c, 0x8b, 0xea, 0x16, 0x35, 0x39, - 0xf8, 0x45, 0x86, 0x19, 0x87, 0x77, 0xc0, 0x15, 0x59, 0xb7, 0x9b, 0xa0, 0x18, 0x37, 0x94, 0xa6, - 0xb2, 0x3c, 0xeb, 0xcc, 0x49, 0xe7, 0x53, 0x14, 0x63, 0xfd, 0xbb, 0x02, 0x16, 0x77, 0x33, 0x8e, - 0x38, 0x1e, 0x25, 0x61, 0x92, 0xe5, 0x36, 0xa8, 0x7b, 0x19, 0xe3, 0x24, 0xc6, 0xd4, 0x0d, 0xfd, - 0x92, 0x03, 0x48, 0xd7, 0x63, 0x1f, 0x3e, 0x03, 0x80, 0xa4, 0x98, 0x0a, 0xc5, 0x0d, 0xb5, 0x59, - 0x5b, 0xae, 0xb7, 0x57, 0x8d, 0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84, 0x1d, 0x9f, 0x19, 0xc2, 0xcc, 0xad, 0x9e, 0x65, 0x94, 0x89, 0xd9, 0x67, 0x09, 0xe9, 0x77, - 0x7c, 0xd6, 0x1f, 0x42, 0xfa, 0x3d, 0xab, 0x2f, 0x21, 0x3f, 0xd4, 0x25, 0xe1, 0xb7, 0xed, 0x8e, - 0xcf, 0x6c, 0x7b, 0x08, 0xb2, 0xed, 0x9e, 0x65, 0xdb, 0x12, 0x76, 0x38, 0x53, 0xd4, 0xb9, 0xf2, - 0x33, 0x00, 0x00, 0xff, 0xff, 0x5b, 0x22, 0xee, 0x20, 0x21, 0x07, 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 - -// 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.v1.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.v1.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) -} - -// UnimplementedCampaignBudgetServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCampaignBudgetServiceServer struct { -} - -func (*UnimplementedCampaignBudgetServiceServer) GetCampaignBudget(ctx context.Context, req *GetCampaignBudgetRequest) (*resources.CampaignBudget, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetCampaignBudget not implemented") -} -func (*UnimplementedCampaignBudgetServiceServer) MutateCampaignBudgets(ctx context.Context, req *MutateCampaignBudgetsRequest) (*MutateCampaignBudgetsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateCampaignBudgets not implemented") -} - -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.v1.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.v1.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.v1.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/v1/services/campaign_budget_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_criterion_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_criterion_service.pb.go deleted file mode 100644 index fe59d23d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_criterion_service.pb.go +++ /dev/null @@ -1,529 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/campaign_criterion_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [CampaignCriterionService.GetCampaignCriterion][google.ads.googleads.v1.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_3a3c2b9bfd5dd6f9, []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 (m *GetCampaignCriterionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCampaignCriterionRequest.Merge(m, 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.v1.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_3a3c2b9bfd5dd6f9, []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 (m *MutateCampaignCriteriaRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignCriteriaRequest.Merge(m, 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 -} - -func (m *MutateCampaignCriteriaRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateCampaignCriteriaRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_3a3c2b9bfd5dd6f9, []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 (m *CampaignCriterionOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignCriterionOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*CampaignCriterionOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CampaignCriterionOperation_Create)(nil), - (*CampaignCriterionOperation_Update)(nil), - (*CampaignCriterionOperation_Remove)(nil), - } -} - -// Response message for campaign criterion mutate. -type MutateCampaignCriteriaResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_3a3c2b9bfd5dd6f9, []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 (m *MutateCampaignCriteriaResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignCriteriaResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_3a3c2b9bfd5dd6f9, []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 (m *MutateCampaignCriterionResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignCriterionResult.Merge(m, 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.v1.services.GetCampaignCriterionRequest") - proto.RegisterType((*MutateCampaignCriteriaRequest)(nil), "google.ads.googleads.v1.services.MutateCampaignCriteriaRequest") - proto.RegisterType((*CampaignCriterionOperation)(nil), "google.ads.googleads.v1.services.CampaignCriterionOperation") - proto.RegisterType((*MutateCampaignCriteriaResponse)(nil), "google.ads.googleads.v1.services.MutateCampaignCriteriaResponse") - proto.RegisterType((*MutateCampaignCriterionResult)(nil), "google.ads.googleads.v1.services.MutateCampaignCriterionResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/campaign_criterion_service.proto", fileDescriptor_3a3c2b9bfd5dd6f9) -} - -var fileDescriptor_3a3c2b9bfd5dd6f9 = []byte{ - // 721 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0x4f, 0x6b, 0xd4, 0x4c, - 0x1c, 0xc7, 0x9f, 0x64, 0x1f, 0xfa, 0x3c, 0x9d, 0xad, 0x0a, 0xe3, 0xbf, 0xb0, 0xda, 0xba, 0xc4, - 0x82, 0x65, 0x0f, 0x09, 0xbb, 0xd6, 0x4b, 0x6a, 0xb1, 0xbb, 0xd5, 0xb6, 0x1e, 0xfa, 0x87, 0x14, - 0x0a, 0xca, 0x42, 0x98, 0x26, 0xd3, 0x10, 0x9a, 0x64, 0xe2, 0xcc, 0x64, 0xa5, 0x94, 0x5e, 0xc4, - 0x77, 0xe0, 0x1b, 0x10, 0x8f, 0xbe, 0x0d, 0x05, 0xc1, 0xab, 0x67, 0x6f, 0x9e, 0xc4, 0x17, 0x21, - 0x93, 0xc9, 0xac, 0x6d, 0x77, 0xe3, 0x4a, 0xbd, 0xfd, 0xf2, 0x9b, 0x6f, 0x3e, 0xf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0x22, 0x56, 0xfd, 0x56, 0x2d, 0x29, 0xe3, 0x9d, 0x5e, 0x5b, 0xef, 0x76, 0xdf, 0xeb, - 0xcd, 0x75, 0x09, 0xec, 0x06, 0xcc, 0x92, 0xa6, 0xb0, 0xf6, 0xda, 0x56, 0xb9, 0x31, 0xfb, 0xac, - 0x24, 0xfd, 0x6e, 0xc0, 0xfa, 0x43, 0x49, 0x7f, 0xaf, 0xdd, 0x57, 0x92, 0xef, 0xfa, 0xbc, 0xf4, - 0x3b, 0x4e, 0x37, 0x60, 0x8e, 0x33, 0x14, 0x39, 0xce, 0x5e, 0xdb, 0x71, 0x94, 0x6c, 0x7f, 0xaa, - 0x88, 0xf3, 0xfe, 0xcf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x85, 0x31, 0xc3, 0xac, 0x52, 0x07, 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 - -// 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.v1.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.v1.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) -} - -// UnimplementedCampaignCriterionServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCampaignCriterionServiceServer struct { -} - -func (*UnimplementedCampaignCriterionServiceServer) GetCampaignCriterion(ctx context.Context, req *GetCampaignCriterionRequest) (*resources.CampaignCriterion, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetCampaignCriterion not implemented") -} -func (*UnimplementedCampaignCriterionServiceServer) MutateCampaignCriteria(ctx context.Context, req *MutateCampaignCriteriaRequest) (*MutateCampaignCriteriaResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateCampaignCriteria not implemented") -} - -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.v1.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.v1.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.v1.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/v1/services/campaign_criterion_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_criterion_simulation_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_criterion_simulation_service.pb.go deleted file mode 100644 index 433a685f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_criterion_simulation_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/campaign_criterion_simulation_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [CampaignCriterionSimulationService.GetCampaignCriterionSimulation][google.ads.googleads.v1.services.CampaignCriterionSimulationService.GetCampaignCriterionSimulation]. -type GetCampaignCriterionSimulationRequest struct { - // The resource name of the campaign criterion simulation 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 *GetCampaignCriterionSimulationRequest) Reset() { *m = GetCampaignCriterionSimulationRequest{} } -func (m *GetCampaignCriterionSimulationRequest) String() string { return proto.CompactTextString(m) } -func (*GetCampaignCriterionSimulationRequest) ProtoMessage() {} -func (*GetCampaignCriterionSimulationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_892d70bcad64eee6, []int{0} -} - -func (m *GetCampaignCriterionSimulationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCampaignCriterionSimulationRequest.Unmarshal(m, b) -} -func (m *GetCampaignCriterionSimulationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCampaignCriterionSimulationRequest.Marshal(b, m, deterministic) -} -func (m *GetCampaignCriterionSimulationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCampaignCriterionSimulationRequest.Merge(m, src) -} -func (m *GetCampaignCriterionSimulationRequest) XXX_Size() int { - return xxx_messageInfo_GetCampaignCriterionSimulationRequest.Size(m) -} -func (m *GetCampaignCriterionSimulationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetCampaignCriterionSimulationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetCampaignCriterionSimulationRequest proto.InternalMessageInfo - -func (m *GetCampaignCriterionSimulationRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetCampaignCriterionSimulationRequest)(nil), "google.ads.googleads.v1.services.GetCampaignCriterionSimulationRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/campaign_criterion_simulation_service.proto", fileDescriptor_892d70bcad64eee6) -} - -var fileDescriptor_892d70bcad64eee6 = []byte{ - // 378 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xc1, 0x4a, 0xeb, 0x40, - 0x18, 0x85, 0x49, 0x2e, 0x5c, 0xb8, 0xe1, 0xde, 0x4d, 0x56, 0x97, 0x22, 0x52, 0x6a, 0x45, 0xe9, - 0x62, 0x86, 0xe8, 0x6e, 0xc4, 0x62, 0x5a, 0x34, 0x2e, 0x8a, 0x94, 0x16, 0xba, 0x90, 0x40, 0x19, - 0x93, 0x21, 0x04, 0x9a, 0x99, 0x38, 0xff, 0xa4, 0x1b, 0x71, 0xe3, 0x03, 0xb8, 0x71, 0xe3, 0xda, - 0xa5, 0x8f, 0xe2, 0xd6, 0x57, 0x70, 0xe5, 0xce, 0x37, 0x90, 0x64, 0x3a, 0x01, 0xc1, 0x36, 0xee, - 0x0e, 0x33, 0x87, 0xef, 0xcc, 0x9c, 0xff, 0x77, 0x46, 0x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 0xb6, - 0xd3, 0x8d, 0x44, 0xd6, 0xf8, 0xad, 0xc1, 0x5e, 0x73, 0x81, 0xe3, 0x72, 0x74, 0x63, 0xeb, 0xf2, - 0x7c, 0x05, 0x4b, 0xc4, 0x82, 0xf2, 0x04, 0x09, 0x99, 0xe0, 0x84, 0xf1, 0x6a, 0xb0, 0x66, 0x63, - 0xf2, 0x14, 0xd6, 0x2f, 0xec, 0x91, 0x11, 0x4f, 0xf6, 0xaf, 0xc0, 0xf7, 0x9f, 0xed, 0x76, 0xa0, - 0x81, 0x7e, 0x0c, 0x48, 0xcb, 0x52, 0xcd, 0x3c, 0xb4, 0x0a, 0x86, 0x17, 0x63, 0x09, 0xfd, 0x18, - 0xc2, 0xda, 0x12, 0xce, 0xbc, 0xd0, 0x58, 0xde, 0xed, 0xae, 0x3e, 0x27, 0xc4, 0x8f, 0x81, 0x90, - 0xda, 0x44, 0xc8, 0xcc, 0x23, 0xc4, 0xd8, 0xae, 0x7e, 0x57, 0xef, 0x3c, 0xfc, 0x0c, 0x00, 0x00, - 0xff, 0xff, 0x21, 0x54, 0x12, 0xce, 0x57, 0x03, 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 - -// CampaignCriterionSimulationServiceClient is the client API for CampaignCriterionSimulationService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type CampaignCriterionSimulationServiceClient interface { - // Returns the requested campaign criterion simulation in full detail. - GetCampaignCriterionSimulation(ctx context.Context, in *GetCampaignCriterionSimulationRequest, opts ...grpc.CallOption) (*resources.CampaignCriterionSimulation, error) -} - -type campaignCriterionSimulationServiceClient struct { - cc *grpc.ClientConn -} - -func NewCampaignCriterionSimulationServiceClient(cc *grpc.ClientConn) CampaignCriterionSimulationServiceClient { - return &campaignCriterionSimulationServiceClient{cc} -} - -func (c *campaignCriterionSimulationServiceClient) GetCampaignCriterionSimulation(ctx context.Context, in *GetCampaignCriterionSimulationRequest, opts ...grpc.CallOption) (*resources.CampaignCriterionSimulation, error) { - out := new(resources.CampaignCriterionSimulation) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.CampaignCriterionSimulationService/GetCampaignCriterionSimulation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// CampaignCriterionSimulationServiceServer is the server API for CampaignCriterionSimulationService service. -type CampaignCriterionSimulationServiceServer interface { - // Returns the requested campaign criterion simulation in full detail. - GetCampaignCriterionSimulation(context.Context, *GetCampaignCriterionSimulationRequest) (*resources.CampaignCriterionSimulation, error) -} - -// UnimplementedCampaignCriterionSimulationServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCampaignCriterionSimulationServiceServer struct { -} - -func (*UnimplementedCampaignCriterionSimulationServiceServer) GetCampaignCriterionSimulation(ctx context.Context, req *GetCampaignCriterionSimulationRequest) (*resources.CampaignCriterionSimulation, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCampaignCriterionSimulation not implemented") -} - -func RegisterCampaignCriterionSimulationServiceServer(s *grpc.Server, srv CampaignCriterionSimulationServiceServer) { - s.RegisterService(&_CampaignCriterionSimulationService_serviceDesc, srv) -} - -func _CampaignCriterionSimulationService_GetCampaignCriterionSimulation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetCampaignCriterionSimulationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CampaignCriterionSimulationServiceServer).GetCampaignCriterionSimulation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.CampaignCriterionSimulationService/GetCampaignCriterionSimulation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CampaignCriterionSimulationServiceServer).GetCampaignCriterionSimulation(ctx, req.(*GetCampaignCriterionSimulationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _CampaignCriterionSimulationService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.CampaignCriterionSimulationService", - HandlerType: (*CampaignCriterionSimulationServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetCampaignCriterionSimulation", - Handler: _CampaignCriterionSimulationService_GetCampaignCriterionSimulation_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/campaign_criterion_simulation_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_draft_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_draft_service.pb.go deleted file mode 100644 index 50883597..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_draft_service.pb.go +++ /dev/null @@ -1,800 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/campaign_draft_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [CampaignDraftService.GetCampaignDraft][google.ads.googleads.v1.services.CampaignDraftService.GetCampaignDraft]. -type GetCampaignDraftRequest struct { - // The resource name of the campaign draft 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 *GetCampaignDraftRequest) Reset() { *m = GetCampaignDraftRequest{} } -func (m *GetCampaignDraftRequest) String() string { return proto.CompactTextString(m) } -func (*GetCampaignDraftRequest) ProtoMessage() {} -func (*GetCampaignDraftRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f742bb1c3712c22e, []int{0} -} - -func (m *GetCampaignDraftRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCampaignDraftRequest.Unmarshal(m, b) -} -func (m *GetCampaignDraftRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCampaignDraftRequest.Marshal(b, m, deterministic) -} -func (m *GetCampaignDraftRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCampaignDraftRequest.Merge(m, src) -} -func (m *GetCampaignDraftRequest) XXX_Size() int { - return xxx_messageInfo_GetCampaignDraftRequest.Size(m) -} -func (m *GetCampaignDraftRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetCampaignDraftRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetCampaignDraftRequest proto.InternalMessageInfo - -func (m *GetCampaignDraftRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for [CampaignDraftService.MutateCampaignDrafts][google.ads.googleads.v1.services.CampaignDraftService.MutateCampaignDrafts]. -type MutateCampaignDraftsRequest struct { - // The ID of the customer whose campaign drafts 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 drafts. - Operations []*CampaignDraftOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCampaignDraftsRequest) Reset() { *m = MutateCampaignDraftsRequest{} } -func (m *MutateCampaignDraftsRequest) String() string { return proto.CompactTextString(m) } -func (*MutateCampaignDraftsRequest) ProtoMessage() {} -func (*MutateCampaignDraftsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f742bb1c3712c22e, []int{1} -} - -func (m *MutateCampaignDraftsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCampaignDraftsRequest.Unmarshal(m, b) -} -func (m *MutateCampaignDraftsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCampaignDraftsRequest.Marshal(b, m, deterministic) -} -func (m *MutateCampaignDraftsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignDraftsRequest.Merge(m, src) -} -func (m *MutateCampaignDraftsRequest) XXX_Size() int { - return xxx_messageInfo_MutateCampaignDraftsRequest.Size(m) -} -func (m *MutateCampaignDraftsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCampaignDraftsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCampaignDraftsRequest proto.InternalMessageInfo - -func (m *MutateCampaignDraftsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateCampaignDraftsRequest) GetOperations() []*CampaignDraftOperation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *MutateCampaignDraftsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateCampaignDraftsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// Request message for [CampaignDraftService.PromoteCampaignDraft][google.ads.googleads.v1.services.CampaignDraftService.PromoteCampaignDraft]. -type PromoteCampaignDraftRequest struct { - // The resource name of the campaign draft to promote. - CampaignDraft string `protobuf:"bytes,1,opt,name=campaign_draft,json=campaignDraft,proto3" json:"campaign_draft,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PromoteCampaignDraftRequest) Reset() { *m = PromoteCampaignDraftRequest{} } -func (m *PromoteCampaignDraftRequest) String() string { return proto.CompactTextString(m) } -func (*PromoteCampaignDraftRequest) ProtoMessage() {} -func (*PromoteCampaignDraftRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f742bb1c3712c22e, []int{2} -} - -func (m *PromoteCampaignDraftRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PromoteCampaignDraftRequest.Unmarshal(m, b) -} -func (m *PromoteCampaignDraftRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PromoteCampaignDraftRequest.Marshal(b, m, deterministic) -} -func (m *PromoteCampaignDraftRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PromoteCampaignDraftRequest.Merge(m, src) -} -func (m *PromoteCampaignDraftRequest) XXX_Size() int { - return xxx_messageInfo_PromoteCampaignDraftRequest.Size(m) -} -func (m *PromoteCampaignDraftRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PromoteCampaignDraftRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_PromoteCampaignDraftRequest proto.InternalMessageInfo - -func (m *PromoteCampaignDraftRequest) GetCampaignDraft() string { - if m != nil { - return m.CampaignDraft - } - return "" -} - -// A single operation (create, update, remove) on a campaign draft. -type CampaignDraftOperation 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: - // *CampaignDraftOperation_Create - // *CampaignDraftOperation_Update - // *CampaignDraftOperation_Remove - Operation isCampaignDraftOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CampaignDraftOperation) Reset() { *m = CampaignDraftOperation{} } -func (m *CampaignDraftOperation) String() string { return proto.CompactTextString(m) } -func (*CampaignDraftOperation) ProtoMessage() {} -func (*CampaignDraftOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_f742bb1c3712c22e, []int{3} -} - -func (m *CampaignDraftOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CampaignDraftOperation.Unmarshal(m, b) -} -func (m *CampaignDraftOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CampaignDraftOperation.Marshal(b, m, deterministic) -} -func (m *CampaignDraftOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignDraftOperation.Merge(m, src) -} -func (m *CampaignDraftOperation) XXX_Size() int { - return xxx_messageInfo_CampaignDraftOperation.Size(m) -} -func (m *CampaignDraftOperation) XXX_DiscardUnknown() { - xxx_messageInfo_CampaignDraftOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_CampaignDraftOperation proto.InternalMessageInfo - -func (m *CampaignDraftOperation) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -type isCampaignDraftOperation_Operation interface { - isCampaignDraftOperation_Operation() -} - -type CampaignDraftOperation_Create struct { - Create *resources.CampaignDraft `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type CampaignDraftOperation_Update struct { - Update *resources.CampaignDraft `protobuf:"bytes,2,opt,name=update,proto3,oneof"` -} - -type CampaignDraftOperation_Remove struct { - Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` -} - -func (*CampaignDraftOperation_Create) isCampaignDraftOperation_Operation() {} - -func (*CampaignDraftOperation_Update) isCampaignDraftOperation_Operation() {} - -func (*CampaignDraftOperation_Remove) isCampaignDraftOperation_Operation() {} - -func (m *CampaignDraftOperation) GetOperation() isCampaignDraftOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *CampaignDraftOperation) GetCreate() *resources.CampaignDraft { - if x, ok := m.GetOperation().(*CampaignDraftOperation_Create); ok { - return x.Create - } - return nil -} - -func (m *CampaignDraftOperation) GetUpdate() *resources.CampaignDraft { - if x, ok := m.GetOperation().(*CampaignDraftOperation_Update); ok { - return x.Update - } - return nil -} - -func (m *CampaignDraftOperation) GetRemove() string { - if x, ok := m.GetOperation().(*CampaignDraftOperation_Remove); ok { - return x.Remove - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CampaignDraftOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CampaignDraftOperation_Create)(nil), - (*CampaignDraftOperation_Update)(nil), - (*CampaignDraftOperation_Remove)(nil), - } -} - -// Response message for campaign draft mutate. -type MutateCampaignDraftsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // All results for the mutate. - Results []*MutateCampaignDraftResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCampaignDraftsResponse) Reset() { *m = MutateCampaignDraftsResponse{} } -func (m *MutateCampaignDraftsResponse) String() string { return proto.CompactTextString(m) } -func (*MutateCampaignDraftsResponse) ProtoMessage() {} -func (*MutateCampaignDraftsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f742bb1c3712c22e, []int{4} -} - -func (m *MutateCampaignDraftsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCampaignDraftsResponse.Unmarshal(m, b) -} -func (m *MutateCampaignDraftsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCampaignDraftsResponse.Marshal(b, m, deterministic) -} -func (m *MutateCampaignDraftsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignDraftsResponse.Merge(m, src) -} -func (m *MutateCampaignDraftsResponse) XXX_Size() int { - return xxx_messageInfo_MutateCampaignDraftsResponse.Size(m) -} -func (m *MutateCampaignDraftsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCampaignDraftsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCampaignDraftsResponse proto.InternalMessageInfo - -func (m *MutateCampaignDraftsResponse) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -func (m *MutateCampaignDraftsResponse) GetResults() []*MutateCampaignDraftResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for the campaign draft mutate. -type MutateCampaignDraftResult 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 *MutateCampaignDraftResult) Reset() { *m = MutateCampaignDraftResult{} } -func (m *MutateCampaignDraftResult) String() string { return proto.CompactTextString(m) } -func (*MutateCampaignDraftResult) ProtoMessage() {} -func (*MutateCampaignDraftResult) Descriptor() ([]byte, []int) { - return fileDescriptor_f742bb1c3712c22e, []int{5} -} - -func (m *MutateCampaignDraftResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCampaignDraftResult.Unmarshal(m, b) -} -func (m *MutateCampaignDraftResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCampaignDraftResult.Marshal(b, m, deterministic) -} -func (m *MutateCampaignDraftResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignDraftResult.Merge(m, src) -} -func (m *MutateCampaignDraftResult) XXX_Size() int { - return xxx_messageInfo_MutateCampaignDraftResult.Size(m) -} -func (m *MutateCampaignDraftResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCampaignDraftResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCampaignDraftResult proto.InternalMessageInfo - -func (m *MutateCampaignDraftResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v1.services.CampaignDraftService.ListCampaignDraftAsyncErrors]. -type ListCampaignDraftAsyncErrorsRequest struct { - // The name of the campaign draft from which to retrieve the async errors. - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,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 a page request is too large, 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 *ListCampaignDraftAsyncErrorsRequest) Reset() { *m = ListCampaignDraftAsyncErrorsRequest{} } -func (m *ListCampaignDraftAsyncErrorsRequest) String() string { return proto.CompactTextString(m) } -func (*ListCampaignDraftAsyncErrorsRequest) ProtoMessage() {} -func (*ListCampaignDraftAsyncErrorsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f742bb1c3712c22e, []int{6} -} - -func (m *ListCampaignDraftAsyncErrorsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCampaignDraftAsyncErrorsRequest.Unmarshal(m, b) -} -func (m *ListCampaignDraftAsyncErrorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCampaignDraftAsyncErrorsRequest.Marshal(b, m, deterministic) -} -func (m *ListCampaignDraftAsyncErrorsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCampaignDraftAsyncErrorsRequest.Merge(m, src) -} -func (m *ListCampaignDraftAsyncErrorsRequest) XXX_Size() int { - return xxx_messageInfo_ListCampaignDraftAsyncErrorsRequest.Size(m) -} -func (m *ListCampaignDraftAsyncErrorsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListCampaignDraftAsyncErrorsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListCampaignDraftAsyncErrorsRequest proto.InternalMessageInfo - -func (m *ListCampaignDraftAsyncErrorsRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *ListCampaignDraftAsyncErrorsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListCampaignDraftAsyncErrorsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -// Response message for [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v1.services.CampaignDraftService.ListCampaignDraftAsyncErrors]. -type ListCampaignDraftAsyncErrorsResponse struct { - // Details of the errors when performing the asynchronous operation. - Errors []*status.Status `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListCampaignDraftAsyncErrorsResponse) Reset() { *m = ListCampaignDraftAsyncErrorsResponse{} } -func (m *ListCampaignDraftAsyncErrorsResponse) String() string { return proto.CompactTextString(m) } -func (*ListCampaignDraftAsyncErrorsResponse) ProtoMessage() {} -func (*ListCampaignDraftAsyncErrorsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f742bb1c3712c22e, []int{7} -} - -func (m *ListCampaignDraftAsyncErrorsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCampaignDraftAsyncErrorsResponse.Unmarshal(m, b) -} -func (m *ListCampaignDraftAsyncErrorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCampaignDraftAsyncErrorsResponse.Marshal(b, m, deterministic) -} -func (m *ListCampaignDraftAsyncErrorsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCampaignDraftAsyncErrorsResponse.Merge(m, src) -} -func (m *ListCampaignDraftAsyncErrorsResponse) XXX_Size() int { - return xxx_messageInfo_ListCampaignDraftAsyncErrorsResponse.Size(m) -} -func (m *ListCampaignDraftAsyncErrorsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListCampaignDraftAsyncErrorsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListCampaignDraftAsyncErrorsResponse proto.InternalMessageInfo - -func (m *ListCampaignDraftAsyncErrorsResponse) GetErrors() []*status.Status { - if m != nil { - return m.Errors - } - return nil -} - -func (m *ListCampaignDraftAsyncErrorsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -func init() { - proto.RegisterType((*GetCampaignDraftRequest)(nil), "google.ads.googleads.v1.services.GetCampaignDraftRequest") - proto.RegisterType((*MutateCampaignDraftsRequest)(nil), "google.ads.googleads.v1.services.MutateCampaignDraftsRequest") - proto.RegisterType((*PromoteCampaignDraftRequest)(nil), "google.ads.googleads.v1.services.PromoteCampaignDraftRequest") - proto.RegisterType((*CampaignDraftOperation)(nil), "google.ads.googleads.v1.services.CampaignDraftOperation") - proto.RegisterType((*MutateCampaignDraftsResponse)(nil), "google.ads.googleads.v1.services.MutateCampaignDraftsResponse") - proto.RegisterType((*MutateCampaignDraftResult)(nil), "google.ads.googleads.v1.services.MutateCampaignDraftResult") - proto.RegisterType((*ListCampaignDraftAsyncErrorsRequest)(nil), "google.ads.googleads.v1.services.ListCampaignDraftAsyncErrorsRequest") - proto.RegisterType((*ListCampaignDraftAsyncErrorsResponse)(nil), "google.ads.googleads.v1.services.ListCampaignDraftAsyncErrorsResponse") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/campaign_draft_service.proto", fileDescriptor_f742bb1c3712c22e) -} - -var fileDescriptor_f742bb1c3712c22e = []byte{ - // 933 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xd1, 0x6e, 0xdc, 0x44, - 0x14, 0xc5, 0x1b, 0x58, 0xba, 0x77, 0x9b, 0x16, 0x0d, 0x81, 0x6e, 0x37, 0x29, 0xac, 0x9c, 0x00, - 0xd1, 0x3e, 0xd8, 0xdd, 0xad, 0x84, 0x52, 0x47, 0x89, 0xba, 0x21, 0x4d, 0x02, 0xa2, 0x34, 0x72, - 0x20, 0x42, 0x28, 0x92, 0x35, 0x5d, 0x4f, 0x2c, 0x2b, 0xb6, 0xc7, 0xcc, 0xd8, 0x0b, 0x49, 0x55, - 0x09, 0xf1, 0xc0, 0x0f, 0xc0, 0x17, 0xf0, 0xc8, 0x1f, 0x80, 0xc4, 0x0f, 0xf0, 0x8a, 0xf8, 0x00, - 0x24, 0xc4, 0x03, 0x3f, 0xc0, 0x2b, 0x9a, 0xf1, 0xcc, 0x76, 0xbd, 0xdd, 0xcd, 0x26, 0xe1, 0x6d, - 0x7c, 0xe7, 0xcc, 0x99, 0x73, 0xe7, 0xdc, 0xb9, 0x63, 0xd8, 0x08, 0x28, 0x0d, 0x22, 0x62, 0x63, - 0x9f, 0xdb, 0xc5, 0x50, 0x8c, 0x06, 0x1d, 0x9b, 0x13, 0x36, 0x08, 0xfb, 0x84, 0xdb, 0x7d, 0x1c, - 0xa7, 0x38, 0x0c, 0x12, 0xcf, 0x67, 0xf8, 0x38, 0xf3, 0x54, 0xdc, 0x4a, 0x19, 0xcd, 0x28, 0x6a, - 0x15, 0x6b, 0x2c, 0xec, 0x73, 0x6b, 0xb8, 0xdc, 0x1a, 0x74, 0x2c, 0xbd, 0xbc, 0xf9, 0xfe, 0xb4, - 0x0d, 0x18, 0xe1, 0x34, 0x67, 0x2f, 0xee, 0x50, 0x30, 0x37, 0x97, 0xf4, 0xba, 0x34, 0xb4, 0x71, - 0x92, 0xd0, 0x0c, 0x67, 0x21, 0x4d, 0xb8, 0x9a, 0x5d, 0x56, 0xb3, 0x11, 0x4d, 0x02, 0x96, 0x27, - 0x49, 0x98, 0x04, 0x36, 0x4d, 0x09, 0x2b, 0x81, 0x94, 0x38, 0x5b, 0x7e, 0x3d, 0xc9, 0x8f, 0xed, - 0xe3, 0x90, 0x44, 0xbe, 0x17, 0x63, 0x7e, 0xa2, 0x10, 0x6f, 0x8d, 0x23, 0xbe, 0x62, 0x38, 0x4d, - 0x09, 0xd3, 0x0c, 0xb7, 0xd4, 0x3c, 0x4b, 0xfb, 0x36, 0xcf, 0x70, 0x96, 0xab, 0x09, 0x73, 0x13, - 0x6e, 0xed, 0x92, 0xec, 0x03, 0x25, 0x7c, 0x5b, 0xe8, 0x76, 0xc9, 0x97, 0x39, 0xe1, 0x19, 0x5a, - 0x86, 0x79, 0x9d, 0x9a, 0x97, 0xe0, 0x98, 0x34, 0x8c, 0x96, 0xb1, 0x5a, 0x73, 0xaf, 0xeb, 0xe0, - 0x27, 0x38, 0x26, 0xe6, 0xdf, 0x06, 0x2c, 0x3e, 0xca, 0x33, 0x9c, 0x91, 0x12, 0x07, 0xd7, 0x24, - 0x6f, 0x43, 0xbd, 0x9f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x9c, 0x04, 0x16, 0x65, 0x81, 0x1d, 0x90, 0x44, 0x3e, - 0x52, 0xfa, 0xe7, 0x28, 0x0d, 0xf9, 0xf4, 0x9f, 0xb1, 0x75, 0x3d, 0xf8, 0xb1, 0x32, 0xb7, 0xdb, - 0xeb, 0xfd, 0x54, 0x69, 0xed, 0x16, 0x84, 0x3d, 0x9f, 0x5b, 0xc5, 0x50, 0x8c, 0x0e, 0x3b, 0x96, - 0xda, 0x98, 0xff, 0xa6, 0x21, 0x47, 0x3d, 0x9f, 0x1f, 0x0d, 0x21, 0x47, 0x87, 0x9d, 0x23, 0x0d, - 0xf9, 0xa7, 0xb2, 0x52, 0xc4, 0x1d, 0xa7, 0xe7, 0x73, 0xc7, 0x19, 0x82, 0x1c, 0xe7, 0xb0, 0xe3, - 0x38, 0x1a, 0xf6, 0xa4, 0x2a, 0x75, 0xde, 0xfb, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x22, 0x0d, 0x9b, - 0x3a, 0x33, 0x0a, 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 - -// CampaignDraftServiceClient is the client API for CampaignDraftService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type CampaignDraftServiceClient interface { - // Returns the requested campaign draft in full detail. - GetCampaignDraft(ctx context.Context, in *GetCampaignDraftRequest, opts ...grpc.CallOption) (*resources.CampaignDraft, error) - // Creates, updates, or removes campaign drafts. Operation statuses are - // returned. - MutateCampaignDrafts(ctx context.Context, in *MutateCampaignDraftsRequest, opts ...grpc.CallOption) (*MutateCampaignDraftsResponse, error) - // Promotes the changes in a draft back to the base campaign. - // - // This method returns a Long Running Operation (LRO) indicating if the - // Promote is done. Use [Operations.GetOperation] to poll the LRO until it - // is done. Only a done status is returned in the response. See the status - // in the Campaign Draft resource to determine if the promotion was - // successful. If the LRO failed, use - // [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v1.services.CampaignDraftService.ListCampaignDraftAsyncErrors] to view the list of - // error reasons. - PromoteCampaignDraft(ctx context.Context, in *PromoteCampaignDraftRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Returns all errors that occurred during CampaignDraft promote. Throws an - // error if called before campaign draft is promoted. - // Supports standard list paging. - ListCampaignDraftAsyncErrors(ctx context.Context, in *ListCampaignDraftAsyncErrorsRequest, opts ...grpc.CallOption) (*ListCampaignDraftAsyncErrorsResponse, error) -} - -type campaignDraftServiceClient struct { - cc *grpc.ClientConn -} - -func NewCampaignDraftServiceClient(cc *grpc.ClientConn) CampaignDraftServiceClient { - return &campaignDraftServiceClient{cc} -} - -func (c *campaignDraftServiceClient) GetCampaignDraft(ctx context.Context, in *GetCampaignDraftRequest, opts ...grpc.CallOption) (*resources.CampaignDraft, error) { - out := new(resources.CampaignDraft) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.CampaignDraftService/GetCampaignDraft", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *campaignDraftServiceClient) MutateCampaignDrafts(ctx context.Context, in *MutateCampaignDraftsRequest, opts ...grpc.CallOption) (*MutateCampaignDraftsResponse, error) { - out := new(MutateCampaignDraftsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.CampaignDraftService/MutateCampaignDrafts", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *campaignDraftServiceClient) PromoteCampaignDraft(ctx context.Context, in *PromoteCampaignDraftRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.CampaignDraftService/PromoteCampaignDraft", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *campaignDraftServiceClient) ListCampaignDraftAsyncErrors(ctx context.Context, in *ListCampaignDraftAsyncErrorsRequest, opts ...grpc.CallOption) (*ListCampaignDraftAsyncErrorsResponse, error) { - out := new(ListCampaignDraftAsyncErrorsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.CampaignDraftService/ListCampaignDraftAsyncErrors", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// CampaignDraftServiceServer is the server API for CampaignDraftService service. -type CampaignDraftServiceServer interface { - // Returns the requested campaign draft in full detail. - GetCampaignDraft(context.Context, *GetCampaignDraftRequest) (*resources.CampaignDraft, error) - // Creates, updates, or removes campaign drafts. Operation statuses are - // returned. - MutateCampaignDrafts(context.Context, *MutateCampaignDraftsRequest) (*MutateCampaignDraftsResponse, error) - // Promotes the changes in a draft back to the base campaign. - // - // This method returns a Long Running Operation (LRO) indicating if the - // Promote is done. Use [Operations.GetOperation] to poll the LRO until it - // is done. Only a done status is returned in the response. See the status - // in the Campaign Draft resource to determine if the promotion was - // successful. If the LRO failed, use - // [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v1.services.CampaignDraftService.ListCampaignDraftAsyncErrors] to view the list of - // error reasons. - PromoteCampaignDraft(context.Context, *PromoteCampaignDraftRequest) (*longrunning.Operation, error) - // Returns all errors that occurred during CampaignDraft promote. Throws an - // error if called before campaign draft is promoted. - // Supports standard list paging. - ListCampaignDraftAsyncErrors(context.Context, *ListCampaignDraftAsyncErrorsRequest) (*ListCampaignDraftAsyncErrorsResponse, error) -} - -// UnimplementedCampaignDraftServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCampaignDraftServiceServer struct { -} - -func (*UnimplementedCampaignDraftServiceServer) GetCampaignDraft(ctx context.Context, req *GetCampaignDraftRequest) (*resources.CampaignDraft, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetCampaignDraft not implemented") -} -func (*UnimplementedCampaignDraftServiceServer) MutateCampaignDrafts(ctx context.Context, req *MutateCampaignDraftsRequest) (*MutateCampaignDraftsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateCampaignDrafts not implemented") -} -func (*UnimplementedCampaignDraftServiceServer) PromoteCampaignDraft(ctx context.Context, req *PromoteCampaignDraftRequest) (*longrunning.Operation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method PromoteCampaignDraft not implemented") -} -func (*UnimplementedCampaignDraftServiceServer) ListCampaignDraftAsyncErrors(ctx context.Context, req *ListCampaignDraftAsyncErrorsRequest) (*ListCampaignDraftAsyncErrorsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListCampaignDraftAsyncErrors not implemented") -} - -func RegisterCampaignDraftServiceServer(s *grpc.Server, srv CampaignDraftServiceServer) { - s.RegisterService(&_CampaignDraftService_serviceDesc, srv) -} - -func _CampaignDraftService_GetCampaignDraft_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetCampaignDraftRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CampaignDraftServiceServer).GetCampaignDraft(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.CampaignDraftService/GetCampaignDraft", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CampaignDraftServiceServer).GetCampaignDraft(ctx, req.(*GetCampaignDraftRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CampaignDraftService_MutateCampaignDrafts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateCampaignDraftsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CampaignDraftServiceServer).MutateCampaignDrafts(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.CampaignDraftService/MutateCampaignDrafts", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CampaignDraftServiceServer).MutateCampaignDrafts(ctx, req.(*MutateCampaignDraftsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CampaignDraftService_PromoteCampaignDraft_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PromoteCampaignDraftRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CampaignDraftServiceServer).PromoteCampaignDraft(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.CampaignDraftService/PromoteCampaignDraft", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CampaignDraftServiceServer).PromoteCampaignDraft(ctx, req.(*PromoteCampaignDraftRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CampaignDraftService_ListCampaignDraftAsyncErrors_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListCampaignDraftAsyncErrorsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CampaignDraftServiceServer).ListCampaignDraftAsyncErrors(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.CampaignDraftService/ListCampaignDraftAsyncErrors", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CampaignDraftServiceServer).ListCampaignDraftAsyncErrors(ctx, req.(*ListCampaignDraftAsyncErrorsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _CampaignDraftService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.CampaignDraftService", - HandlerType: (*CampaignDraftServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetCampaignDraft", - Handler: _CampaignDraftService_GetCampaignDraft_Handler, - }, - { - MethodName: "MutateCampaignDrafts", - Handler: _CampaignDraftService_MutateCampaignDrafts_Handler, - }, - { - MethodName: "PromoteCampaignDraft", - Handler: _CampaignDraftService_PromoteCampaignDraft_Handler, - }, - { - MethodName: "ListCampaignDraftAsyncErrors", - Handler: _CampaignDraftService_ListCampaignDraftAsyncErrors_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/campaign_draft_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_experiment_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_experiment_service.pb.go deleted file mode 100644 index afaf341c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_experiment_service.pb.go +++ /dev/null @@ -1,1176 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/campaign_experiment_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [CampaignExperimentService.GetCampaignExperiment][google.ads.googleads.v1.services.CampaignExperimentService.GetCampaignExperiment]. -type GetCampaignExperimentRequest struct { - // The resource name of the campaign experiment 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 *GetCampaignExperimentRequest) Reset() { *m = GetCampaignExperimentRequest{} } -func (m *GetCampaignExperimentRequest) String() string { return proto.CompactTextString(m) } -func (*GetCampaignExperimentRequest) ProtoMessage() {} -func (*GetCampaignExperimentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_45b0130aef98b73a, []int{0} -} - -func (m *GetCampaignExperimentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCampaignExperimentRequest.Unmarshal(m, b) -} -func (m *GetCampaignExperimentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCampaignExperimentRequest.Marshal(b, m, deterministic) -} -func (m *GetCampaignExperimentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCampaignExperimentRequest.Merge(m, src) -} -func (m *GetCampaignExperimentRequest) XXX_Size() int { - return xxx_messageInfo_GetCampaignExperimentRequest.Size(m) -} -func (m *GetCampaignExperimentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetCampaignExperimentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetCampaignExperimentRequest proto.InternalMessageInfo - -func (m *GetCampaignExperimentRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for [CampaignExperimentService.MutateCampaignExperiments][google.ads.googleads.v1.services.CampaignExperimentService.MutateCampaignExperiments]. -type MutateCampaignExperimentsRequest struct { - // The ID of the customer whose campaign experiments 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 experiments. - Operations []*CampaignExperimentOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCampaignExperimentsRequest) Reset() { *m = MutateCampaignExperimentsRequest{} } -func (m *MutateCampaignExperimentsRequest) String() string { return proto.CompactTextString(m) } -func (*MutateCampaignExperimentsRequest) ProtoMessage() {} -func (*MutateCampaignExperimentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_45b0130aef98b73a, []int{1} -} - -func (m *MutateCampaignExperimentsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCampaignExperimentsRequest.Unmarshal(m, b) -} -func (m *MutateCampaignExperimentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCampaignExperimentsRequest.Marshal(b, m, deterministic) -} -func (m *MutateCampaignExperimentsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignExperimentsRequest.Merge(m, src) -} -func (m *MutateCampaignExperimentsRequest) XXX_Size() int { - return xxx_messageInfo_MutateCampaignExperimentsRequest.Size(m) -} -func (m *MutateCampaignExperimentsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCampaignExperimentsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCampaignExperimentsRequest proto.InternalMessageInfo - -func (m *MutateCampaignExperimentsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateCampaignExperimentsRequest) GetOperations() []*CampaignExperimentOperation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *MutateCampaignExperimentsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateCampaignExperimentsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// A single update operation on a campaign experiment. -type CampaignExperimentOperation struct { - // FieldMask that determines which resource fields are modified in an update. - 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: - // *CampaignExperimentOperation_Update - // *CampaignExperimentOperation_Remove - Operation isCampaignExperimentOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CampaignExperimentOperation) Reset() { *m = CampaignExperimentOperation{} } -func (m *CampaignExperimentOperation) String() string { return proto.CompactTextString(m) } -func (*CampaignExperimentOperation) ProtoMessage() {} -func (*CampaignExperimentOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_45b0130aef98b73a, []int{2} -} - -func (m *CampaignExperimentOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CampaignExperimentOperation.Unmarshal(m, b) -} -func (m *CampaignExperimentOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CampaignExperimentOperation.Marshal(b, m, deterministic) -} -func (m *CampaignExperimentOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignExperimentOperation.Merge(m, src) -} -func (m *CampaignExperimentOperation) XXX_Size() int { - return xxx_messageInfo_CampaignExperimentOperation.Size(m) -} -func (m *CampaignExperimentOperation) XXX_DiscardUnknown() { - xxx_messageInfo_CampaignExperimentOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_CampaignExperimentOperation proto.InternalMessageInfo - -func (m *CampaignExperimentOperation) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -type isCampaignExperimentOperation_Operation interface { - isCampaignExperimentOperation_Operation() -} - -type CampaignExperimentOperation_Update struct { - Update *resources.CampaignExperiment `protobuf:"bytes,1,opt,name=update,proto3,oneof"` -} - -type CampaignExperimentOperation_Remove struct { - Remove string `protobuf:"bytes,2,opt,name=remove,proto3,oneof"` -} - -func (*CampaignExperimentOperation_Update) isCampaignExperimentOperation_Operation() {} - -func (*CampaignExperimentOperation_Remove) isCampaignExperimentOperation_Operation() {} - -func (m *CampaignExperimentOperation) GetOperation() isCampaignExperimentOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *CampaignExperimentOperation) GetUpdate() *resources.CampaignExperiment { - if x, ok := m.GetOperation().(*CampaignExperimentOperation_Update); ok { - return x.Update - } - return nil -} - -func (m *CampaignExperimentOperation) GetRemove() string { - if x, ok := m.GetOperation().(*CampaignExperimentOperation_Remove); ok { - return x.Remove - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CampaignExperimentOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CampaignExperimentOperation_Update)(nil), - (*CampaignExperimentOperation_Remove)(nil), - } -} - -// Response message for campaign experiment mutate. -type MutateCampaignExperimentsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // All results for the mutate. - Results []*MutateCampaignExperimentResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCampaignExperimentsResponse) Reset() { *m = MutateCampaignExperimentsResponse{} } -func (m *MutateCampaignExperimentsResponse) String() string { return proto.CompactTextString(m) } -func (*MutateCampaignExperimentsResponse) ProtoMessage() {} -func (*MutateCampaignExperimentsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_45b0130aef98b73a, []int{3} -} - -func (m *MutateCampaignExperimentsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCampaignExperimentsResponse.Unmarshal(m, b) -} -func (m *MutateCampaignExperimentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCampaignExperimentsResponse.Marshal(b, m, deterministic) -} -func (m *MutateCampaignExperimentsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignExperimentsResponse.Merge(m, src) -} -func (m *MutateCampaignExperimentsResponse) XXX_Size() int { - return xxx_messageInfo_MutateCampaignExperimentsResponse.Size(m) -} -func (m *MutateCampaignExperimentsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCampaignExperimentsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCampaignExperimentsResponse proto.InternalMessageInfo - -func (m *MutateCampaignExperimentsResponse) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -func (m *MutateCampaignExperimentsResponse) GetResults() []*MutateCampaignExperimentResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for the campaign experiment mutate. -type MutateCampaignExperimentResult 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 *MutateCampaignExperimentResult) Reset() { *m = MutateCampaignExperimentResult{} } -func (m *MutateCampaignExperimentResult) String() string { return proto.CompactTextString(m) } -func (*MutateCampaignExperimentResult) ProtoMessage() {} -func (*MutateCampaignExperimentResult) Descriptor() ([]byte, []int) { - return fileDescriptor_45b0130aef98b73a, []int{4} -} - -func (m *MutateCampaignExperimentResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCampaignExperimentResult.Unmarshal(m, b) -} -func (m *MutateCampaignExperimentResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCampaignExperimentResult.Marshal(b, m, deterministic) -} -func (m *MutateCampaignExperimentResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignExperimentResult.Merge(m, src) -} -func (m *MutateCampaignExperimentResult) XXX_Size() int { - return xxx_messageInfo_MutateCampaignExperimentResult.Size(m) -} -func (m *MutateCampaignExperimentResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCampaignExperimentResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCampaignExperimentResult proto.InternalMessageInfo - -func (m *MutateCampaignExperimentResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for [CampaignExperimentService.CreateCampaignExperiment][google.ads.googleads.v1.services.CampaignExperimentService.CreateCampaignExperiment]. -type CreateCampaignExperimentRequest struct { - // The ID of the customer whose campaign experiment is being created. - CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` - // The campaign experiment to be created. - CampaignExperiment *resources.CampaignExperiment `protobuf:"bytes,2,opt,name=campaign_experiment,json=campaignExperiment,proto3" json:"campaign_experiment,omitempty"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateCampaignExperimentRequest) Reset() { *m = CreateCampaignExperimentRequest{} } -func (m *CreateCampaignExperimentRequest) String() string { return proto.CompactTextString(m) } -func (*CreateCampaignExperimentRequest) ProtoMessage() {} -func (*CreateCampaignExperimentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_45b0130aef98b73a, []int{5} -} - -func (m *CreateCampaignExperimentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateCampaignExperimentRequest.Unmarshal(m, b) -} -func (m *CreateCampaignExperimentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateCampaignExperimentRequest.Marshal(b, m, deterministic) -} -func (m *CreateCampaignExperimentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateCampaignExperimentRequest.Merge(m, src) -} -func (m *CreateCampaignExperimentRequest) XXX_Size() int { - return xxx_messageInfo_CreateCampaignExperimentRequest.Size(m) -} -func (m *CreateCampaignExperimentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateCampaignExperimentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateCampaignExperimentRequest proto.InternalMessageInfo - -func (m *CreateCampaignExperimentRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *CreateCampaignExperimentRequest) GetCampaignExperiment() *resources.CampaignExperiment { - if m != nil { - return m.CampaignExperiment - } - return nil -} - -func (m *CreateCampaignExperimentRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// Message used as metadata returned in Long Running Operations for -// CreateCampaignExperimentRequest -type CreateCampaignExperimentMetadata struct { - // Resource name of campaign experiment created. - CampaignExperiment string `protobuf:"bytes,1,opt,name=campaign_experiment,json=campaignExperiment,proto3" json:"campaign_experiment,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateCampaignExperimentMetadata) Reset() { *m = CreateCampaignExperimentMetadata{} } -func (m *CreateCampaignExperimentMetadata) String() string { return proto.CompactTextString(m) } -func (*CreateCampaignExperimentMetadata) ProtoMessage() {} -func (*CreateCampaignExperimentMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_45b0130aef98b73a, []int{6} -} - -func (m *CreateCampaignExperimentMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateCampaignExperimentMetadata.Unmarshal(m, b) -} -func (m *CreateCampaignExperimentMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateCampaignExperimentMetadata.Marshal(b, m, deterministic) -} -func (m *CreateCampaignExperimentMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateCampaignExperimentMetadata.Merge(m, src) -} -func (m *CreateCampaignExperimentMetadata) XXX_Size() int { - return xxx_messageInfo_CreateCampaignExperimentMetadata.Size(m) -} -func (m *CreateCampaignExperimentMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_CreateCampaignExperimentMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateCampaignExperimentMetadata proto.InternalMessageInfo - -func (m *CreateCampaignExperimentMetadata) GetCampaignExperiment() string { - if m != nil { - return m.CampaignExperiment - } - return "" -} - -// Request message for [CampaignExperimentService.GraduateCampaignExperiment][google.ads.googleads.v1.services.CampaignExperimentService.GraduateCampaignExperiment]. -type GraduateCampaignExperimentRequest struct { - // The resource name of the campaign experiment to graduate. - CampaignExperiment string `protobuf:"bytes,1,opt,name=campaign_experiment,json=campaignExperiment,proto3" json:"campaign_experiment,omitempty"` - // Resource name of the budget to attach to the campaign graduated from the - // experiment. - CampaignBudget string `protobuf:"bytes,2,opt,name=campaign_budget,json=campaignBudget,proto3" json:"campaign_budget,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GraduateCampaignExperimentRequest) Reset() { *m = GraduateCampaignExperimentRequest{} } -func (m *GraduateCampaignExperimentRequest) String() string { return proto.CompactTextString(m) } -func (*GraduateCampaignExperimentRequest) ProtoMessage() {} -func (*GraduateCampaignExperimentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_45b0130aef98b73a, []int{7} -} - -func (m *GraduateCampaignExperimentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GraduateCampaignExperimentRequest.Unmarshal(m, b) -} -func (m *GraduateCampaignExperimentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GraduateCampaignExperimentRequest.Marshal(b, m, deterministic) -} -func (m *GraduateCampaignExperimentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GraduateCampaignExperimentRequest.Merge(m, src) -} -func (m *GraduateCampaignExperimentRequest) XXX_Size() int { - return xxx_messageInfo_GraduateCampaignExperimentRequest.Size(m) -} -func (m *GraduateCampaignExperimentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GraduateCampaignExperimentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GraduateCampaignExperimentRequest proto.InternalMessageInfo - -func (m *GraduateCampaignExperimentRequest) GetCampaignExperiment() string { - if m != nil { - return m.CampaignExperiment - } - return "" -} - -func (m *GraduateCampaignExperimentRequest) GetCampaignBudget() string { - if m != nil { - return m.CampaignBudget - } - return "" -} - -// Response message for campaign experiment graduate. -type GraduateCampaignExperimentResponse struct { - // The resource name of the campaign from the graduated experiment. - // This campaign is the same one as CampaignExperiment.experiment_campaign. - GraduatedCampaign string `protobuf:"bytes,1,opt,name=graduated_campaign,json=graduatedCampaign,proto3" json:"graduated_campaign,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GraduateCampaignExperimentResponse) Reset() { *m = GraduateCampaignExperimentResponse{} } -func (m *GraduateCampaignExperimentResponse) String() string { return proto.CompactTextString(m) } -func (*GraduateCampaignExperimentResponse) ProtoMessage() {} -func (*GraduateCampaignExperimentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_45b0130aef98b73a, []int{8} -} - -func (m *GraduateCampaignExperimentResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GraduateCampaignExperimentResponse.Unmarshal(m, b) -} -func (m *GraduateCampaignExperimentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GraduateCampaignExperimentResponse.Marshal(b, m, deterministic) -} -func (m *GraduateCampaignExperimentResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GraduateCampaignExperimentResponse.Merge(m, src) -} -func (m *GraduateCampaignExperimentResponse) XXX_Size() int { - return xxx_messageInfo_GraduateCampaignExperimentResponse.Size(m) -} -func (m *GraduateCampaignExperimentResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GraduateCampaignExperimentResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GraduateCampaignExperimentResponse proto.InternalMessageInfo - -func (m *GraduateCampaignExperimentResponse) GetGraduatedCampaign() string { - if m != nil { - return m.GraduatedCampaign - } - return "" -} - -// Request message for [CampaignExperimentService.PromoteCampaignExperiment][google.ads.googleads.v1.services.CampaignExperimentService.PromoteCampaignExperiment]. -type PromoteCampaignExperimentRequest struct { - // The resource name of the campaign experiment to promote. - CampaignExperiment string `protobuf:"bytes,1,opt,name=campaign_experiment,json=campaignExperiment,proto3" json:"campaign_experiment,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PromoteCampaignExperimentRequest) Reset() { *m = PromoteCampaignExperimentRequest{} } -func (m *PromoteCampaignExperimentRequest) String() string { return proto.CompactTextString(m) } -func (*PromoteCampaignExperimentRequest) ProtoMessage() {} -func (*PromoteCampaignExperimentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_45b0130aef98b73a, []int{9} -} - -func (m *PromoteCampaignExperimentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PromoteCampaignExperimentRequest.Unmarshal(m, b) -} -func (m *PromoteCampaignExperimentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PromoteCampaignExperimentRequest.Marshal(b, m, deterministic) -} -func (m *PromoteCampaignExperimentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PromoteCampaignExperimentRequest.Merge(m, src) -} -func (m *PromoteCampaignExperimentRequest) XXX_Size() int { - return xxx_messageInfo_PromoteCampaignExperimentRequest.Size(m) -} -func (m *PromoteCampaignExperimentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PromoteCampaignExperimentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_PromoteCampaignExperimentRequest proto.InternalMessageInfo - -func (m *PromoteCampaignExperimentRequest) GetCampaignExperiment() string { - if m != nil { - return m.CampaignExperiment - } - return "" -} - -// Request message for [CampaignExperimentService.EndCampaignExperiment][google.ads.googleads.v1.services.CampaignExperimentService.EndCampaignExperiment]. -type EndCampaignExperimentRequest struct { - // The resource name of the campaign experiment to end. - CampaignExperiment string `protobuf:"bytes,1,opt,name=campaign_experiment,json=campaignExperiment,proto3" json:"campaign_experiment,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *EndCampaignExperimentRequest) Reset() { *m = EndCampaignExperimentRequest{} } -func (m *EndCampaignExperimentRequest) String() string { return proto.CompactTextString(m) } -func (*EndCampaignExperimentRequest) ProtoMessage() {} -func (*EndCampaignExperimentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_45b0130aef98b73a, []int{10} -} - -func (m *EndCampaignExperimentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EndCampaignExperimentRequest.Unmarshal(m, b) -} -func (m *EndCampaignExperimentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EndCampaignExperimentRequest.Marshal(b, m, deterministic) -} -func (m *EndCampaignExperimentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_EndCampaignExperimentRequest.Merge(m, src) -} -func (m *EndCampaignExperimentRequest) XXX_Size() int { - return xxx_messageInfo_EndCampaignExperimentRequest.Size(m) -} -func (m *EndCampaignExperimentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_EndCampaignExperimentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_EndCampaignExperimentRequest proto.InternalMessageInfo - -func (m *EndCampaignExperimentRequest) GetCampaignExperiment() string { - if m != nil { - return m.CampaignExperiment - } - return "" -} - -// Request message for -// [CampaignExperimentService.ListCampaignExperimentAsyncErrors][google.ads.googleads.v1.services.CampaignExperimentService.ListCampaignExperimentAsyncErrors]. -type ListCampaignExperimentAsyncErrorsRequest struct { - // The name of the campaign experiment from which to retrieve the async - // errors. - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,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 a page request is too large, 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 *ListCampaignExperimentAsyncErrorsRequest) Reset() { - *m = ListCampaignExperimentAsyncErrorsRequest{} -} -func (m *ListCampaignExperimentAsyncErrorsRequest) String() string { return proto.CompactTextString(m) } -func (*ListCampaignExperimentAsyncErrorsRequest) ProtoMessage() {} -func (*ListCampaignExperimentAsyncErrorsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_45b0130aef98b73a, []int{11} -} - -func (m *ListCampaignExperimentAsyncErrorsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCampaignExperimentAsyncErrorsRequest.Unmarshal(m, b) -} -func (m *ListCampaignExperimentAsyncErrorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCampaignExperimentAsyncErrorsRequest.Marshal(b, m, deterministic) -} -func (m *ListCampaignExperimentAsyncErrorsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCampaignExperimentAsyncErrorsRequest.Merge(m, src) -} -func (m *ListCampaignExperimentAsyncErrorsRequest) XXX_Size() int { - return xxx_messageInfo_ListCampaignExperimentAsyncErrorsRequest.Size(m) -} -func (m *ListCampaignExperimentAsyncErrorsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListCampaignExperimentAsyncErrorsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListCampaignExperimentAsyncErrorsRequest proto.InternalMessageInfo - -func (m *ListCampaignExperimentAsyncErrorsRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *ListCampaignExperimentAsyncErrorsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListCampaignExperimentAsyncErrorsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -// Response message for -// [CampaignExperimentService.ListCampaignExperimentAsyncErrors][google.ads.googleads.v1.services.CampaignExperimentService.ListCampaignExperimentAsyncErrors]. -type ListCampaignExperimentAsyncErrorsResponse struct { - // Details of the errors when performing the asynchronous operation. - Errors []*status.Status `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListCampaignExperimentAsyncErrorsResponse) Reset() { - *m = ListCampaignExperimentAsyncErrorsResponse{} -} -func (m *ListCampaignExperimentAsyncErrorsResponse) String() string { return proto.CompactTextString(m) } -func (*ListCampaignExperimentAsyncErrorsResponse) ProtoMessage() {} -func (*ListCampaignExperimentAsyncErrorsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_45b0130aef98b73a, []int{12} -} - -func (m *ListCampaignExperimentAsyncErrorsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCampaignExperimentAsyncErrorsResponse.Unmarshal(m, b) -} -func (m *ListCampaignExperimentAsyncErrorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCampaignExperimentAsyncErrorsResponse.Marshal(b, m, deterministic) -} -func (m *ListCampaignExperimentAsyncErrorsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCampaignExperimentAsyncErrorsResponse.Merge(m, src) -} -func (m *ListCampaignExperimentAsyncErrorsResponse) XXX_Size() int { - return xxx_messageInfo_ListCampaignExperimentAsyncErrorsResponse.Size(m) -} -func (m *ListCampaignExperimentAsyncErrorsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListCampaignExperimentAsyncErrorsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListCampaignExperimentAsyncErrorsResponse proto.InternalMessageInfo - -func (m *ListCampaignExperimentAsyncErrorsResponse) GetErrors() []*status.Status { - if m != nil { - return m.Errors - } - return nil -} - -func (m *ListCampaignExperimentAsyncErrorsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -func init() { - proto.RegisterType((*GetCampaignExperimentRequest)(nil), "google.ads.googleads.v1.services.GetCampaignExperimentRequest") - proto.RegisterType((*MutateCampaignExperimentsRequest)(nil), "google.ads.googleads.v1.services.MutateCampaignExperimentsRequest") - proto.RegisterType((*CampaignExperimentOperation)(nil), "google.ads.googleads.v1.services.CampaignExperimentOperation") - proto.RegisterType((*MutateCampaignExperimentsResponse)(nil), "google.ads.googleads.v1.services.MutateCampaignExperimentsResponse") - proto.RegisterType((*MutateCampaignExperimentResult)(nil), "google.ads.googleads.v1.services.MutateCampaignExperimentResult") - proto.RegisterType((*CreateCampaignExperimentRequest)(nil), "google.ads.googleads.v1.services.CreateCampaignExperimentRequest") - proto.RegisterType((*CreateCampaignExperimentMetadata)(nil), "google.ads.googleads.v1.services.CreateCampaignExperimentMetadata") - proto.RegisterType((*GraduateCampaignExperimentRequest)(nil), "google.ads.googleads.v1.services.GraduateCampaignExperimentRequest") - proto.RegisterType((*GraduateCampaignExperimentResponse)(nil), "google.ads.googleads.v1.services.GraduateCampaignExperimentResponse") - proto.RegisterType((*PromoteCampaignExperimentRequest)(nil), "google.ads.googleads.v1.services.PromoteCampaignExperimentRequest") - proto.RegisterType((*EndCampaignExperimentRequest)(nil), "google.ads.googleads.v1.services.EndCampaignExperimentRequest") - proto.RegisterType((*ListCampaignExperimentAsyncErrorsRequest)(nil), "google.ads.googleads.v1.services.ListCampaignExperimentAsyncErrorsRequest") - proto.RegisterType((*ListCampaignExperimentAsyncErrorsResponse)(nil), "google.ads.googleads.v1.services.ListCampaignExperimentAsyncErrorsResponse") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/campaign_experiment_service.proto", fileDescriptor_45b0130aef98b73a) -} - -var fileDescriptor_45b0130aef98b73a = []byte{ - // 1123 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xcf, 0x6f, 0xdc, 0xc4, - 0x17, 0xff, 0x7a, 0xf3, 0x25, 0x34, 0x6f, 0xfb, 0x43, 0x4c, 0x55, 0xd8, 0x6c, 0xd2, 0x74, 0xe3, - 0x56, 0x10, 0x22, 0x61, 0x2b, 0x41, 0x15, 0xc8, 0x51, 0x80, 0xdd, 0xcd, 0x26, 0x69, 0x21, 0x4d, - 0xe4, 0xa0, 0x1c, 0xaa, 0x20, 0x6b, 0xb2, 0x9e, 0x58, 0x56, 0xfc, 0x8b, 0x19, 0x3b, 0x34, 0xad, - 0x22, 0x24, 0x24, 0x4e, 0x3d, 0xf2, 0x1f, 0x70, 0xe4, 0xca, 0x91, 0x13, 0x27, 0x24, 0x24, 0x40, - 0x82, 0x7f, 0x81, 0x0b, 0x9c, 0x38, 0x72, 0x44, 0x33, 0x9e, 0xd9, 0x26, 0x59, 0x7b, 0x77, 0x9b, - 0xe4, 0x36, 0x7e, 0xf3, 0xfc, 0x79, 0xef, 0xf3, 0xde, 0x9b, 0xcf, 0xd8, 0xd0, 0xf2, 0xe2, 0xd8, - 0x0b, 0x88, 0x89, 0x5d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x80, 0x23, 0xcf, 0x88, 0xa9, 0x67, 0x7a, 0x24, 0x12, 0x9d, 0x54, 0xbf, 0x95, - 0x89, 0xcf, 0xca, 0xff, 0x65, 0x97, 0xd4, 0xe2, 0xdb, 0xca, 0xd8, 0x5a, 0xb3, 0xf9, 0x5d, 0xa5, - 0xb1, 0x96, 0x03, 0x36, 0x5d, 0x66, 0xe4, 0x4b, 0xbe, 0xda, 0x59, 0x30, 0x64, 0x60, 0xf6, 0xb3, - 0x72, 0xd9, 0x6d, 0xba, 0x6c, 0xb7, 0xe7, 0xb2, 0xbb, 0xb3, 0xb0, 0xab, 0x5c, 0xfe, 0xae, 0xdc, - 0xcb, 0xed, 0x96, 0xd5, 0x74, 0x99, 0x65, 0xf5, 0x9c, 0x2c, 0x6b, 0x67, 0xc1, 0xb2, 0x94, 0xdb, - 0xde, 0xb8, 0xc8, 0xf3, 0xdd, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0xca, 0x44, 0x59, 0xa2, 0x72, - 0x0f, 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 - -// CampaignExperimentServiceClient is the client API for CampaignExperimentService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type CampaignExperimentServiceClient interface { - // Returns the requested campaign experiment in full detail. - GetCampaignExperiment(ctx context.Context, in *GetCampaignExperimentRequest, opts ...grpc.CallOption) (*resources.CampaignExperiment, error) - // Creates a campaign experiment based on a campaign draft. The draft campaign - // will be forked into a real campaign (called the experiment campaign) that - // will begin serving ads if successfully created. - // - // The campaign experiment is created immediately with status INITIALIZING. - // This method return a long running operation that tracks the forking of the - // draft campaign. If the forking fails, a list of errors can be retrieved - // using the ListCampaignExperimentAsyncErrors method. The operation's - // metadata will be a StringValue containing the resource name of the created - // campaign experiment. - CreateCampaignExperiment(ctx context.Context, in *CreateCampaignExperimentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Updates campaign experiments. Operation statuses are returned. - MutateCampaignExperiments(ctx context.Context, in *MutateCampaignExperimentsRequest, opts ...grpc.CallOption) (*MutateCampaignExperimentsResponse, error) - // Graduates a campaign experiment to a full campaign. The base and experiment - // campaigns will start running independently with their own budgets. - GraduateCampaignExperiment(ctx context.Context, in *GraduateCampaignExperimentRequest, opts ...grpc.CallOption) (*GraduateCampaignExperimentResponse, error) - // Promotes the changes in a experiment campaign back to the base campaign. - // - // The campaign experiment is updated immediately with status PROMOTING. - // This method return a long running operation that tracks the promoting of - // the experiment campaign. If the promoting fails, a list of errors can be - // retrieved using the ListCampaignExperimentAsyncErrors method. - PromoteCampaignExperiment(ctx context.Context, in *PromoteCampaignExperimentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Immediately ends a campaign experiment, changing the experiment's scheduled - // end date and without waiting for end of day. End date is updated to be the - // time of the request. - EndCampaignExperiment(ctx context.Context, in *EndCampaignExperimentRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Returns all errors that occurred during CampaignExperiment create or - // promote (whichever occurred last). - // Supports standard list paging. - ListCampaignExperimentAsyncErrors(ctx context.Context, in *ListCampaignExperimentAsyncErrorsRequest, opts ...grpc.CallOption) (*ListCampaignExperimentAsyncErrorsResponse, error) -} - -type campaignExperimentServiceClient struct { - cc *grpc.ClientConn -} - -func NewCampaignExperimentServiceClient(cc *grpc.ClientConn) CampaignExperimentServiceClient { - return &campaignExperimentServiceClient{cc} -} - -func (c *campaignExperimentServiceClient) GetCampaignExperiment(ctx context.Context, in *GetCampaignExperimentRequest, opts ...grpc.CallOption) (*resources.CampaignExperiment, error) { - out := new(resources.CampaignExperiment) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.CampaignExperimentService/GetCampaignExperiment", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *campaignExperimentServiceClient) CreateCampaignExperiment(ctx context.Context, in *CreateCampaignExperimentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.CampaignExperimentService/CreateCampaignExperiment", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *campaignExperimentServiceClient) MutateCampaignExperiments(ctx context.Context, in *MutateCampaignExperimentsRequest, opts ...grpc.CallOption) (*MutateCampaignExperimentsResponse, error) { - out := new(MutateCampaignExperimentsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.CampaignExperimentService/MutateCampaignExperiments", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *campaignExperimentServiceClient) GraduateCampaignExperiment(ctx context.Context, in *GraduateCampaignExperimentRequest, opts ...grpc.CallOption) (*GraduateCampaignExperimentResponse, error) { - out := new(GraduateCampaignExperimentResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.CampaignExperimentService/GraduateCampaignExperiment", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *campaignExperimentServiceClient) PromoteCampaignExperiment(ctx context.Context, in *PromoteCampaignExperimentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.CampaignExperimentService/PromoteCampaignExperiment", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *campaignExperimentServiceClient) EndCampaignExperiment(ctx context.Context, in *EndCampaignExperimentRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.CampaignExperimentService/EndCampaignExperiment", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *campaignExperimentServiceClient) ListCampaignExperimentAsyncErrors(ctx context.Context, in *ListCampaignExperimentAsyncErrorsRequest, opts ...grpc.CallOption) (*ListCampaignExperimentAsyncErrorsResponse, error) { - out := new(ListCampaignExperimentAsyncErrorsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.CampaignExperimentService/ListCampaignExperimentAsyncErrors", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// CampaignExperimentServiceServer is the server API for CampaignExperimentService service. -type CampaignExperimentServiceServer interface { - // Returns the requested campaign experiment in full detail. - GetCampaignExperiment(context.Context, *GetCampaignExperimentRequest) (*resources.CampaignExperiment, error) - // Creates a campaign experiment based on a campaign draft. The draft campaign - // will be forked into a real campaign (called the experiment campaign) that - // will begin serving ads if successfully created. - // - // The campaign experiment is created immediately with status INITIALIZING. - // This method return a long running operation that tracks the forking of the - // draft campaign. If the forking fails, a list of errors can be retrieved - // using the ListCampaignExperimentAsyncErrors method. The operation's - // metadata will be a StringValue containing the resource name of the created - // campaign experiment. - CreateCampaignExperiment(context.Context, *CreateCampaignExperimentRequest) (*longrunning.Operation, error) - // Updates campaign experiments. Operation statuses are returned. - MutateCampaignExperiments(context.Context, *MutateCampaignExperimentsRequest) (*MutateCampaignExperimentsResponse, error) - // Graduates a campaign experiment to a full campaign. The base and experiment - // campaigns will start running independently with their own budgets. - GraduateCampaignExperiment(context.Context, *GraduateCampaignExperimentRequest) (*GraduateCampaignExperimentResponse, error) - // Promotes the changes in a experiment campaign back to the base campaign. - // - // The campaign experiment is updated immediately with status PROMOTING. - // This method return a long running operation that tracks the promoting of - // the experiment campaign. If the promoting fails, a list of errors can be - // retrieved using the ListCampaignExperimentAsyncErrors method. - PromoteCampaignExperiment(context.Context, *PromoteCampaignExperimentRequest) (*longrunning.Operation, error) - // Immediately ends a campaign experiment, changing the experiment's scheduled - // end date and without waiting for end of day. End date is updated to be the - // time of the request. - EndCampaignExperiment(context.Context, *EndCampaignExperimentRequest) (*empty.Empty, error) - // Returns all errors that occurred during CampaignExperiment create or - // promote (whichever occurred last). - // Supports standard list paging. - ListCampaignExperimentAsyncErrors(context.Context, *ListCampaignExperimentAsyncErrorsRequest) (*ListCampaignExperimentAsyncErrorsResponse, error) -} - -// UnimplementedCampaignExperimentServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCampaignExperimentServiceServer struct { -} - -func (*UnimplementedCampaignExperimentServiceServer) GetCampaignExperiment(ctx context.Context, req *GetCampaignExperimentRequest) (*resources.CampaignExperiment, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetCampaignExperiment not implemented") -} -func (*UnimplementedCampaignExperimentServiceServer) CreateCampaignExperiment(ctx context.Context, req *CreateCampaignExperimentRequest) (*longrunning.Operation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method CreateCampaignExperiment not implemented") -} -func (*UnimplementedCampaignExperimentServiceServer) MutateCampaignExperiments(ctx context.Context, req *MutateCampaignExperimentsRequest) (*MutateCampaignExperimentsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateCampaignExperiments not implemented") -} -func (*UnimplementedCampaignExperimentServiceServer) GraduateCampaignExperiment(ctx context.Context, req *GraduateCampaignExperimentRequest) (*GraduateCampaignExperimentResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GraduateCampaignExperiment not implemented") -} -func (*UnimplementedCampaignExperimentServiceServer) PromoteCampaignExperiment(ctx context.Context, req *PromoteCampaignExperimentRequest) (*longrunning.Operation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method PromoteCampaignExperiment not implemented") -} -func (*UnimplementedCampaignExperimentServiceServer) EndCampaignExperiment(ctx context.Context, req *EndCampaignExperimentRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method EndCampaignExperiment not implemented") -} -func (*UnimplementedCampaignExperimentServiceServer) ListCampaignExperimentAsyncErrors(ctx context.Context, req *ListCampaignExperimentAsyncErrorsRequest) (*ListCampaignExperimentAsyncErrorsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListCampaignExperimentAsyncErrors not implemented") -} - -func RegisterCampaignExperimentServiceServer(s *grpc.Server, srv CampaignExperimentServiceServer) { - s.RegisterService(&_CampaignExperimentService_serviceDesc, srv) -} - -func _CampaignExperimentService_GetCampaignExperiment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetCampaignExperimentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CampaignExperimentServiceServer).GetCampaignExperiment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.CampaignExperimentService/GetCampaignExperiment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CampaignExperimentServiceServer).GetCampaignExperiment(ctx, req.(*GetCampaignExperimentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CampaignExperimentService_CreateCampaignExperiment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateCampaignExperimentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CampaignExperimentServiceServer).CreateCampaignExperiment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.CampaignExperimentService/CreateCampaignExperiment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CampaignExperimentServiceServer).CreateCampaignExperiment(ctx, req.(*CreateCampaignExperimentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CampaignExperimentService_MutateCampaignExperiments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateCampaignExperimentsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CampaignExperimentServiceServer).MutateCampaignExperiments(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.CampaignExperimentService/MutateCampaignExperiments", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CampaignExperimentServiceServer).MutateCampaignExperiments(ctx, req.(*MutateCampaignExperimentsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CampaignExperimentService_GraduateCampaignExperiment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GraduateCampaignExperimentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CampaignExperimentServiceServer).GraduateCampaignExperiment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.CampaignExperimentService/GraduateCampaignExperiment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CampaignExperimentServiceServer).GraduateCampaignExperiment(ctx, req.(*GraduateCampaignExperimentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CampaignExperimentService_PromoteCampaignExperiment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PromoteCampaignExperimentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CampaignExperimentServiceServer).PromoteCampaignExperiment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.CampaignExperimentService/PromoteCampaignExperiment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CampaignExperimentServiceServer).PromoteCampaignExperiment(ctx, req.(*PromoteCampaignExperimentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CampaignExperimentService_EndCampaignExperiment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EndCampaignExperimentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CampaignExperimentServiceServer).EndCampaignExperiment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.CampaignExperimentService/EndCampaignExperiment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CampaignExperimentServiceServer).EndCampaignExperiment(ctx, req.(*EndCampaignExperimentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CampaignExperimentService_ListCampaignExperimentAsyncErrors_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListCampaignExperimentAsyncErrorsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CampaignExperimentServiceServer).ListCampaignExperimentAsyncErrors(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.CampaignExperimentService/ListCampaignExperimentAsyncErrors", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CampaignExperimentServiceServer).ListCampaignExperimentAsyncErrors(ctx, req.(*ListCampaignExperimentAsyncErrorsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _CampaignExperimentService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.CampaignExperimentService", - HandlerType: (*CampaignExperimentServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetCampaignExperiment", - Handler: _CampaignExperimentService_GetCampaignExperiment_Handler, - }, - { - MethodName: "CreateCampaignExperiment", - Handler: _CampaignExperimentService_CreateCampaignExperiment_Handler, - }, - { - MethodName: "MutateCampaignExperiments", - Handler: _CampaignExperimentService_MutateCampaignExperiments_Handler, - }, - { - MethodName: "GraduateCampaignExperiment", - Handler: _CampaignExperimentService_GraduateCampaignExperiment_Handler, - }, - { - MethodName: "PromoteCampaignExperiment", - Handler: _CampaignExperimentService_PromoteCampaignExperiment_Handler, - }, - { - MethodName: "EndCampaignExperiment", - Handler: _CampaignExperimentService_EndCampaignExperiment_Handler, - }, - { - MethodName: "ListCampaignExperimentAsyncErrors", - Handler: _CampaignExperimentService_ListCampaignExperimentAsyncErrors_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/campaign_experiment_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_extension_setting_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_extension_setting_service.pb.go deleted file mode 100644 index 31e589bc..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_extension_setting_service.pb.go +++ /dev/null @@ -1,537 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/campaign_extension_setting_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [CampaignExtensionSettingService.GetCampaignExtensionSetting][google.ads.googleads.v1.services.CampaignExtensionSettingService.GetCampaignExtensionSetting]. -type GetCampaignExtensionSettingRequest struct { - // The resource name of the campaign extension setting 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 *GetCampaignExtensionSettingRequest) Reset() { *m = GetCampaignExtensionSettingRequest{} } -func (m *GetCampaignExtensionSettingRequest) String() string { return proto.CompactTextString(m) } -func (*GetCampaignExtensionSettingRequest) ProtoMessage() {} -func (*GetCampaignExtensionSettingRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_eefc8bddcb5de716, []int{0} -} - -func (m *GetCampaignExtensionSettingRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCampaignExtensionSettingRequest.Unmarshal(m, b) -} -func (m *GetCampaignExtensionSettingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCampaignExtensionSettingRequest.Marshal(b, m, deterministic) -} -func (m *GetCampaignExtensionSettingRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCampaignExtensionSettingRequest.Merge(m, src) -} -func (m *GetCampaignExtensionSettingRequest) XXX_Size() int { - return xxx_messageInfo_GetCampaignExtensionSettingRequest.Size(m) -} -func (m *GetCampaignExtensionSettingRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetCampaignExtensionSettingRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetCampaignExtensionSettingRequest proto.InternalMessageInfo - -func (m *GetCampaignExtensionSettingRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for -// [CampaignExtensionSettingService.MutateCampaignExtensionSettings][google.ads.googleads.v1.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings]. -type MutateCampaignExtensionSettingsRequest struct { - // The ID of the customer whose campaign extension settings 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 extension - // settings. - Operations []*CampaignExtensionSettingOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCampaignExtensionSettingsRequest) Reset() { - *m = MutateCampaignExtensionSettingsRequest{} -} -func (m *MutateCampaignExtensionSettingsRequest) String() string { return proto.CompactTextString(m) } -func (*MutateCampaignExtensionSettingsRequest) ProtoMessage() {} -func (*MutateCampaignExtensionSettingsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_eefc8bddcb5de716, []int{1} -} - -func (m *MutateCampaignExtensionSettingsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCampaignExtensionSettingsRequest.Unmarshal(m, b) -} -func (m *MutateCampaignExtensionSettingsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCampaignExtensionSettingsRequest.Marshal(b, m, deterministic) -} -func (m *MutateCampaignExtensionSettingsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignExtensionSettingsRequest.Merge(m, src) -} -func (m *MutateCampaignExtensionSettingsRequest) XXX_Size() int { - return xxx_messageInfo_MutateCampaignExtensionSettingsRequest.Size(m) -} -func (m *MutateCampaignExtensionSettingsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCampaignExtensionSettingsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCampaignExtensionSettingsRequest proto.InternalMessageInfo - -func (m *MutateCampaignExtensionSettingsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateCampaignExtensionSettingsRequest) GetOperations() []*CampaignExtensionSettingOperation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *MutateCampaignExtensionSettingsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateCampaignExtensionSettingsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// A single operation (create, update, remove) on a campaign extension setting. -type CampaignExtensionSettingOperation 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: - // *CampaignExtensionSettingOperation_Create - // *CampaignExtensionSettingOperation_Update - // *CampaignExtensionSettingOperation_Remove - Operation isCampaignExtensionSettingOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CampaignExtensionSettingOperation) Reset() { *m = CampaignExtensionSettingOperation{} } -func (m *CampaignExtensionSettingOperation) String() string { return proto.CompactTextString(m) } -func (*CampaignExtensionSettingOperation) ProtoMessage() {} -func (*CampaignExtensionSettingOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_eefc8bddcb5de716, []int{2} -} - -func (m *CampaignExtensionSettingOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CampaignExtensionSettingOperation.Unmarshal(m, b) -} -func (m *CampaignExtensionSettingOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CampaignExtensionSettingOperation.Marshal(b, m, deterministic) -} -func (m *CampaignExtensionSettingOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignExtensionSettingOperation.Merge(m, src) -} -func (m *CampaignExtensionSettingOperation) XXX_Size() int { - return xxx_messageInfo_CampaignExtensionSettingOperation.Size(m) -} -func (m *CampaignExtensionSettingOperation) XXX_DiscardUnknown() { - xxx_messageInfo_CampaignExtensionSettingOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_CampaignExtensionSettingOperation proto.InternalMessageInfo - -func (m *CampaignExtensionSettingOperation) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -type isCampaignExtensionSettingOperation_Operation interface { - isCampaignExtensionSettingOperation_Operation() -} - -type CampaignExtensionSettingOperation_Create struct { - Create *resources.CampaignExtensionSetting `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type CampaignExtensionSettingOperation_Update struct { - Update *resources.CampaignExtensionSetting `protobuf:"bytes,2,opt,name=update,proto3,oneof"` -} - -type CampaignExtensionSettingOperation_Remove struct { - Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` -} - -func (*CampaignExtensionSettingOperation_Create) isCampaignExtensionSettingOperation_Operation() {} - -func (*CampaignExtensionSettingOperation_Update) isCampaignExtensionSettingOperation_Operation() {} - -func (*CampaignExtensionSettingOperation_Remove) isCampaignExtensionSettingOperation_Operation() {} - -func (m *CampaignExtensionSettingOperation) GetOperation() isCampaignExtensionSettingOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *CampaignExtensionSettingOperation) GetCreate() *resources.CampaignExtensionSetting { - if x, ok := m.GetOperation().(*CampaignExtensionSettingOperation_Create); ok { - return x.Create - } - return nil -} - -func (m *CampaignExtensionSettingOperation) GetUpdate() *resources.CampaignExtensionSetting { - if x, ok := m.GetOperation().(*CampaignExtensionSettingOperation_Update); ok { - return x.Update - } - return nil -} - -func (m *CampaignExtensionSettingOperation) GetRemove() string { - if x, ok := m.GetOperation().(*CampaignExtensionSettingOperation_Remove); ok { - return x.Remove - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CampaignExtensionSettingOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CampaignExtensionSettingOperation_Create)(nil), - (*CampaignExtensionSettingOperation_Update)(nil), - (*CampaignExtensionSettingOperation_Remove)(nil), - } -} - -// Response message for a campaign extension setting mutate. -type MutateCampaignExtensionSettingsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // All results for the mutate. - Results []*MutateCampaignExtensionSettingResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCampaignExtensionSettingsResponse) Reset() { - *m = MutateCampaignExtensionSettingsResponse{} -} -func (m *MutateCampaignExtensionSettingsResponse) String() string { return proto.CompactTextString(m) } -func (*MutateCampaignExtensionSettingsResponse) ProtoMessage() {} -func (*MutateCampaignExtensionSettingsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_eefc8bddcb5de716, []int{3} -} - -func (m *MutateCampaignExtensionSettingsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCampaignExtensionSettingsResponse.Unmarshal(m, b) -} -func (m *MutateCampaignExtensionSettingsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCampaignExtensionSettingsResponse.Marshal(b, m, deterministic) -} -func (m *MutateCampaignExtensionSettingsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignExtensionSettingsResponse.Merge(m, src) -} -func (m *MutateCampaignExtensionSettingsResponse) XXX_Size() int { - return xxx_messageInfo_MutateCampaignExtensionSettingsResponse.Size(m) -} -func (m *MutateCampaignExtensionSettingsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCampaignExtensionSettingsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCampaignExtensionSettingsResponse proto.InternalMessageInfo - -func (m *MutateCampaignExtensionSettingsResponse) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -func (m *MutateCampaignExtensionSettingsResponse) GetResults() []*MutateCampaignExtensionSettingResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for the campaign extension setting mutate. -type MutateCampaignExtensionSettingResult 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 *MutateCampaignExtensionSettingResult) Reset() { *m = MutateCampaignExtensionSettingResult{} } -func (m *MutateCampaignExtensionSettingResult) String() string { return proto.CompactTextString(m) } -func (*MutateCampaignExtensionSettingResult) ProtoMessage() {} -func (*MutateCampaignExtensionSettingResult) Descriptor() ([]byte, []int) { - return fileDescriptor_eefc8bddcb5de716, []int{4} -} - -func (m *MutateCampaignExtensionSettingResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCampaignExtensionSettingResult.Unmarshal(m, b) -} -func (m *MutateCampaignExtensionSettingResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCampaignExtensionSettingResult.Marshal(b, m, deterministic) -} -func (m *MutateCampaignExtensionSettingResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignExtensionSettingResult.Merge(m, src) -} -func (m *MutateCampaignExtensionSettingResult) XXX_Size() int { - return xxx_messageInfo_MutateCampaignExtensionSettingResult.Size(m) -} -func (m *MutateCampaignExtensionSettingResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCampaignExtensionSettingResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCampaignExtensionSettingResult proto.InternalMessageInfo - -func (m *MutateCampaignExtensionSettingResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetCampaignExtensionSettingRequest)(nil), "google.ads.googleads.v1.services.GetCampaignExtensionSettingRequest") - proto.RegisterType((*MutateCampaignExtensionSettingsRequest)(nil), "google.ads.googleads.v1.services.MutateCampaignExtensionSettingsRequest") - proto.RegisterType((*CampaignExtensionSettingOperation)(nil), "google.ads.googleads.v1.services.CampaignExtensionSettingOperation") - proto.RegisterType((*MutateCampaignExtensionSettingsResponse)(nil), "google.ads.googleads.v1.services.MutateCampaignExtensionSettingsResponse") - proto.RegisterType((*MutateCampaignExtensionSettingResult)(nil), "google.ads.googleads.v1.services.MutateCampaignExtensionSettingResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/campaign_extension_setting_service.proto", fileDescriptor_eefc8bddcb5de716) -} - -var fileDescriptor_eefc8bddcb5de716 = []byte{ - // 728 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x95, 0x41, 0x4f, 0xd4, 0x40, - 0x14, 0xc7, 0x6d, 0x21, 0x28, 0x53, 0xd4, 0x64, 0x8c, 0x71, 0xb3, 0x1a, 0x59, 0xeb, 0x46, 0xc8, - 0x1e, 0xda, 0xec, 0x7a, 0xeb, 0x06, 0x93, 0xdd, 0x95, 0x85, 0x8d, 0x41, 0x48, 0x89, 0x1c, 0xcc, - 0x26, 0x75, 0x68, 0x87, 0xa6, 0xa1, 0xed, 0xd4, 0x99, 0xe9, 0x2a, 0x21, 0x1c, 0xf4, 0x6a, 0x3c, - 0xf9, 0x0d, 0x3c, 0x7a, 0xf7, 0x4b, 0x78, 0xe5, 0x2b, 0xe8, 0xc5, 0xcf, 0xe0, 0xc1, 0xb4, 0xd3, - 0x59, 0x01, 0x53, 0x4a, 0x02, 0xb7, 0xd7, 0x37, 0xff, 0xfe, 0xde, 0x7b, 0xf3, 0x5e, 0x5f, 0xc1, - 0xc8, 0x27, 0xc4, 0x0f, 0xb1, 0x89, 0x3c, 0x66, 0x0a, 0x33, 0xb3, 0x26, 0x6d, 0x93, 0x61, 0x3a, - 0x09, 0x5c, 0xcc, 0x4c, 0x17, 0x45, 0x09, 0x0a, 0xfc, 0xd8, 0xc1, 0xef, 0x39, 0x8e, 0x59, 0x40, - 0x62, 0x87, 0x61, 0xce, 0x83, 0xd8, 0x77, 0x0a, 0x8d, 0x91, 0x50, 0xc2, 0x09, 0x6c, 0x88, 0xf7, - 0x0d, 0xe4, 0x31, 0x63, 0x8a, 0x32, 0x26, 0x6d, 0x43, 0xa2, 0xea, 0xfd, 0xb2, 0x60, 0x14, 0x33, - 0x92, 0xd2, 0xf3, 0xa3, 0x89, 0x28, 0xf5, 0x07, 0x92, 0x91, 0x04, 0x26, 0x8a, 0x63, 0xc2, 0x11, - 0x0f, 0x48, 0xcc, 0x8a, 0xd3, 0x22, 0x07, 0x33, 0x7f, 0xda, 0x4d, 0xf7, 0xcc, 0xbd, 0x00, 0x87, - 0x9e, 0x13, 0x21, 0xb6, 0x5f, 0x28, 0x1e, 0x9e, 0x55, 0xbc, 0xa3, 0x28, 0x49, 0x30, 0x95, 0x84, - 0x7b, 0xc5, 0x39, 0x4d, 0x5c, 0x93, 0x71, 0xc4, 0xd3, 0xe2, 0x40, 0x1f, 0x01, 0x7d, 0x0d, 0xf3, - 0x41, 0x91, 0xdf, 0xaa, 0x4c, 0x6f, 0x5b, 0x64, 0x67, 0xe3, 0xb7, 0x29, 0x66, 0x1c, 0x3e, 0x06, - 0x37, 0x65, 0x31, 0x4e, 0x8c, 0x22, 0x5c, 0x53, 0x1a, 0xca, 0xf2, 0xbc, 0xbd, 0x20, 0x9d, 0x2f, - 0x51, 0x84, 0xf5, 0x3f, 0x0a, 0x78, 0xb2, 0x91, 0x72, 0xc4, 0x71, 0x19, 0x8e, 0x49, 0xde, 0x22, - 0xd0, 0xdc, 0x94, 0x71, 0x12, 0x61, 0xea, 0x04, 0x5e, 0x41, 0x03, 0xd2, 0x35, 0xf2, 0xa0, 0x0b, - 0x00, 0x49, 0x30, 0x15, 0xb7, 0x50, 0x53, 0x1b, 0x33, 0xcb, 0x5a, 0x67, 0x60, 0x54, 0xb5, 0xc2, - 0x28, 0x0b, 0xbc, 0x29, 0x59, 0xf6, 0x09, 0x2c, 0x5c, 0x02, 0xb7, 0x13, 0x44, 0x79, 0x80, 0x42, - 0x67, 0x0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0xf1, 0x4e, - 0x7b, 0x2c, 0x25, 0xbf, 0xd5, 0xa6, 0xf0, 0x5b, 0x56, 0xcf, 0x63, 0x96, 0x35, 0x15, 0x59, 0xd6, - 0x4e, 0xdb, 0xb2, 0xa4, 0x6c, 0x77, 0x2e, 0xcf, 0xf3, 0xe9, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, - 0x75, 0x32, 0x38, 0x15, 0xf5, 0x07, 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 - -// CampaignExtensionSettingServiceClient is the client API for CampaignExtensionSettingService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type CampaignExtensionSettingServiceClient interface { - // Returns the requested campaign extension setting in full detail. - GetCampaignExtensionSetting(ctx context.Context, in *GetCampaignExtensionSettingRequest, opts ...grpc.CallOption) (*resources.CampaignExtensionSetting, error) - // Creates, updates, or removes campaign extension settings. Operation - // statuses are returned. - MutateCampaignExtensionSettings(ctx context.Context, in *MutateCampaignExtensionSettingsRequest, opts ...grpc.CallOption) (*MutateCampaignExtensionSettingsResponse, error) -} - -type campaignExtensionSettingServiceClient struct { - cc *grpc.ClientConn -} - -func NewCampaignExtensionSettingServiceClient(cc *grpc.ClientConn) CampaignExtensionSettingServiceClient { - return &campaignExtensionSettingServiceClient{cc} -} - -func (c *campaignExtensionSettingServiceClient) GetCampaignExtensionSetting(ctx context.Context, in *GetCampaignExtensionSettingRequest, opts ...grpc.CallOption) (*resources.CampaignExtensionSetting, error) { - out := new(resources.CampaignExtensionSetting) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.CampaignExtensionSettingService/GetCampaignExtensionSetting", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *campaignExtensionSettingServiceClient) MutateCampaignExtensionSettings(ctx context.Context, in *MutateCampaignExtensionSettingsRequest, opts ...grpc.CallOption) (*MutateCampaignExtensionSettingsResponse, error) { - out := new(MutateCampaignExtensionSettingsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.CampaignExtensionSettingService/MutateCampaignExtensionSettings", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// CampaignExtensionSettingServiceServer is the server API for CampaignExtensionSettingService service. -type CampaignExtensionSettingServiceServer interface { - // Returns the requested campaign extension setting in full detail. - GetCampaignExtensionSetting(context.Context, *GetCampaignExtensionSettingRequest) (*resources.CampaignExtensionSetting, error) - // Creates, updates, or removes campaign extension settings. Operation - // statuses are returned. - MutateCampaignExtensionSettings(context.Context, *MutateCampaignExtensionSettingsRequest) (*MutateCampaignExtensionSettingsResponse, error) -} - -// UnimplementedCampaignExtensionSettingServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCampaignExtensionSettingServiceServer struct { -} - -func (*UnimplementedCampaignExtensionSettingServiceServer) GetCampaignExtensionSetting(ctx context.Context, req *GetCampaignExtensionSettingRequest) (*resources.CampaignExtensionSetting, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetCampaignExtensionSetting not implemented") -} -func (*UnimplementedCampaignExtensionSettingServiceServer) MutateCampaignExtensionSettings(ctx context.Context, req *MutateCampaignExtensionSettingsRequest) (*MutateCampaignExtensionSettingsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateCampaignExtensionSettings not implemented") -} - -func RegisterCampaignExtensionSettingServiceServer(s *grpc.Server, srv CampaignExtensionSettingServiceServer) { - s.RegisterService(&_CampaignExtensionSettingService_serviceDesc, srv) -} - -func _CampaignExtensionSettingService_GetCampaignExtensionSetting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetCampaignExtensionSettingRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CampaignExtensionSettingServiceServer).GetCampaignExtensionSetting(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.CampaignExtensionSettingService/GetCampaignExtensionSetting", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CampaignExtensionSettingServiceServer).GetCampaignExtensionSetting(ctx, req.(*GetCampaignExtensionSettingRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CampaignExtensionSettingService_MutateCampaignExtensionSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateCampaignExtensionSettingsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CampaignExtensionSettingServiceServer).MutateCampaignExtensionSettings(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.CampaignExtensionSettingService/MutateCampaignExtensionSettings", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CampaignExtensionSettingServiceServer).MutateCampaignExtensionSettings(ctx, req.(*MutateCampaignExtensionSettingsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _CampaignExtensionSettingService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.CampaignExtensionSettingService", - HandlerType: (*CampaignExtensionSettingServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetCampaignExtensionSetting", - Handler: _CampaignExtensionSettingService_GetCampaignExtensionSetting_Handler, - }, - { - MethodName: "MutateCampaignExtensionSettings", - Handler: _CampaignExtensionSettingService_MutateCampaignExtensionSettings_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/campaign_extension_setting_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_feed_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_feed_service.pb.go deleted file mode 100644 index c0f37bd7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_feed_service.pb.go +++ /dev/null @@ -1,530 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/campaign_feed_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [CampaignFeedService.GetCampaignFeed][google.ads.googleads.v1.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_e0bfa8f03a924d02, []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 (m *GetCampaignFeedRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCampaignFeedRequest.Merge(m, 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.v1.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_e0bfa8f03a924d02, []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 (m *MutateCampaignFeedsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignFeedsRequest.Merge(m, 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 -} - -func (m *MutateCampaignFeedsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateCampaignFeedsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_e0bfa8f03a924d02, []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 (m *CampaignFeedOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignFeedOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*CampaignFeedOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CampaignFeedOperation_Create)(nil), - (*CampaignFeedOperation_Update)(nil), - (*CampaignFeedOperation_Remove)(nil), - } -} - -// Response message for a campaign feed mutate. -type MutateCampaignFeedsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_e0bfa8f03a924d02, []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 (m *MutateCampaignFeedsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignFeedsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_e0bfa8f03a924d02, []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 (m *MutateCampaignFeedResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignFeedResult.Merge(m, 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.v1.services.GetCampaignFeedRequest") - proto.RegisterType((*MutateCampaignFeedsRequest)(nil), "google.ads.googleads.v1.services.MutateCampaignFeedsRequest") - proto.RegisterType((*CampaignFeedOperation)(nil), "google.ads.googleads.v1.services.CampaignFeedOperation") - proto.RegisterType((*MutateCampaignFeedsResponse)(nil), "google.ads.googleads.v1.services.MutateCampaignFeedsResponse") - proto.RegisterType((*MutateCampaignFeedResult)(nil), "google.ads.googleads.v1.services.MutateCampaignFeedResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/campaign_feed_service.proto", fileDescriptor_e0bfa8f03a924d02) -} - -var fileDescriptor_e0bfa8f03a924d02 = []byte{ - // 714 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0xc1, 0x6e, 0xd3, 0x4c, - 0x10, 0xfe, 0x9d, 0xfc, 0x2a, 0x74, 0x5d, 0xa8, 0xb4, 0x55, 0xc1, 0x0a, 0x08, 0x22, 0x53, 0x89, - 0x2a, 0x07, 0xaf, 0x12, 0x84, 0x8a, 0xdc, 0x46, 0x28, 0x45, 0xa4, 0xed, 0xa1, 0xb4, 0x72, 0x51, - 0x91, 0x50, 0x24, 0x6b, 0x6b, 0x6f, 0x2c, 0xab, 0xb6, 0xd7, 0xec, 0xae, 0x83, 0xaa, 0xaa, 0x17, - 0xde, 0x00, 0xf1, 0x04, 0x70, 0xe4, 0xce, 0x89, 0x37, 0xe0, 0x86, 0x78, 0x85, 0x9e, 0x78, 0x09, - 0x90, 0xbd, 0xde, 0x90, 0xb4, 0x89, 0x02, 0xbd, 0x8d, 0x67, 0xbf, 0xf9, 0x66, 0x66, 0xbf, 0xd9, - 0x31, 0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2, 0x64, 0xb7, 0x46, 0xa5, 0x5e, 0x5d, 0xd5, - 0x5b, 0x6b, 0xd6, 0xac, 0x5b, 0xb6, 0x46, 0x93, 0xed, 0xa9, 0x78, 0x67, 0x84, 0x0a, 0x3e, 0x04, - 0x8b, 0x29, 0x66, 0x22, 0xc4, 0x91, 0xdb, 0xc7, 0x61, 0x94, 0x31, 0x62, 0x54, 0xeb, 0xda, 0xea, - 0x75, 0xe7, 0x66, 0xe9, 0xee, 0x4a, 0x6f, 0xde, 0xe6, 0x00, 0x47, 0xa1, 0x8f, 0x05, 0x71, 0x69, - 0x12, 0x9d, 0x18, 0xff, 0x17, 0xb0, 0x05, 0xe5, 0xdc, 0x4b, 0xa2, 0x13, 0xf3, 0x7d, 0x05, 0x2c, - 0x4f, 0xcc, 0x09, 0xd7, 0x81, 0x9e, 0xa5, 0x45, 0x70, 0xae, 0x46, 0x11, 0xac, 0xb7, 0x6a, 0xaa, - 0x03, 0x25, 0x87, 0xd5, 0xcd, 0x05, 0xdb, 0xc5, 0xfc, 0xd8, 0x01, 0x12, 0x9e, 0xdb, 0x70, 0x07, - 0xcc, 0x79, 0x8c, 0x60, 0x21, 0xef, 0x56, 0x6f, 0xa1, 0xa9, 0x9d, 0x0f, 0xa7, 0x67, 0xac, 0xf5, - 0xed, 0xff, 0x9c, 0x92, 0x20, 0xa7, 0x92, 0xc4, 0x46, 0xe5, 0xca, 0x54, 0x92, 0x00, 0x1a, 0x60, - 0x8e, 0x91, 0x98, 0x0e, 0xe4, 0x8d, 0xcd, 0xe7, 0x27, 0xf2, 0x7b, 0x53, 0x07, 0xf3, 0xc3, 0x2b, - 0x36, 0xbf, 0x6a, 0xe0, 0xce, 0x44, 0xe9, 0x79, 0x4a, 0x13, 0x4e, 0x60, 0x17, 0x2c, 0x5f, 0x50, - 0xc0, 0x25, 0x8c, 0x51, 0x56, 0xb0, 0xea, 0x2d, 0xa8, 0x0a, 0x64, 0xa9, 0x67, 0x1d, 0x14, 0x23, - 0xe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3, 0xf9, 0x5c, 0xa9, 0x6f, 0x49, 0xc2, 0x8e, 0xcf, 0x2d, - 0x69, 0xe6, 0xd6, 0x61, 0xd3, 0x2a, 0x13, 0xf3, 0x6f, 0x0a, 0xd2, 0xeb, 0xf8, 0xbc, 0x37, 0x84, - 0xf4, 0x0e, 0x9b, 0x3d, 0x05, 0xf9, 0x59, 0x59, 0x91, 0x7e, 0xdb, 0xee, 0xf8, 0xdc, 0xb6, 0x87, - 0x20, 0xdb, 0x3e, 0x6c, 0xda, 0xb6, 0x82, 0x1d, 0xcd, 0x15, 0x75, 0x3e, 0xfa, 0x1d, 0x00, 0x00, - 0xff, 0xff, 0x1c, 0x27, 0x98, 0x94, 0xf7, 0x06, 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 - -// 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.v1.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.v1.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) -} - -// UnimplementedCampaignFeedServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCampaignFeedServiceServer struct { -} - -func (*UnimplementedCampaignFeedServiceServer) GetCampaignFeed(ctx context.Context, req *GetCampaignFeedRequest) (*resources.CampaignFeed, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetCampaignFeed not implemented") -} -func (*UnimplementedCampaignFeedServiceServer) MutateCampaignFeeds(ctx context.Context, req *MutateCampaignFeedsRequest) (*MutateCampaignFeedsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateCampaignFeeds not implemented") -} - -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.v1.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.v1.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.v1.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/v1/services/campaign_feed_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_label_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_label_service.pb.go deleted file mode 100644 index 03a03fd1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_label_service.pb.go +++ /dev/null @@ -1,502 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/campaign_label_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [CampaignLabelService.GetCampaignLabel][google.ads.googleads.v1.services.CampaignLabelService.GetCampaignLabel]. -type GetCampaignLabelRequest struct { - // The resource name of the campaign-label relationship 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 *GetCampaignLabelRequest) Reset() { *m = GetCampaignLabelRequest{} } -func (m *GetCampaignLabelRequest) String() string { return proto.CompactTextString(m) } -func (*GetCampaignLabelRequest) ProtoMessage() {} -func (*GetCampaignLabelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_27173f6ba18f2b11, []int{0} -} - -func (m *GetCampaignLabelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCampaignLabelRequest.Unmarshal(m, b) -} -func (m *GetCampaignLabelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCampaignLabelRequest.Marshal(b, m, deterministic) -} -func (m *GetCampaignLabelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCampaignLabelRequest.Merge(m, src) -} -func (m *GetCampaignLabelRequest) XXX_Size() int { - return xxx_messageInfo_GetCampaignLabelRequest.Size(m) -} -func (m *GetCampaignLabelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetCampaignLabelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetCampaignLabelRequest proto.InternalMessageInfo - -func (m *GetCampaignLabelRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for -// [CampaignLabelService.MutateCampaignLabels][google.ads.googleads.v1.services.CampaignLabelService.MutateCampaignLabels]. -type MutateCampaignLabelsRequest struct { - // ID of the customer whose campaign-label relationships 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 campaign-label relationships. - Operations []*CampaignLabelOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCampaignLabelsRequest) Reset() { *m = MutateCampaignLabelsRequest{} } -func (m *MutateCampaignLabelsRequest) String() string { return proto.CompactTextString(m) } -func (*MutateCampaignLabelsRequest) ProtoMessage() {} -func (*MutateCampaignLabelsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_27173f6ba18f2b11, []int{1} -} - -func (m *MutateCampaignLabelsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCampaignLabelsRequest.Unmarshal(m, b) -} -func (m *MutateCampaignLabelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCampaignLabelsRequest.Marshal(b, m, deterministic) -} -func (m *MutateCampaignLabelsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignLabelsRequest.Merge(m, src) -} -func (m *MutateCampaignLabelsRequest) XXX_Size() int { - return xxx_messageInfo_MutateCampaignLabelsRequest.Size(m) -} -func (m *MutateCampaignLabelsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCampaignLabelsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCampaignLabelsRequest proto.InternalMessageInfo - -func (m *MutateCampaignLabelsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateCampaignLabelsRequest) GetOperations() []*CampaignLabelOperation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *MutateCampaignLabelsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateCampaignLabelsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// A single operation (create, remove) on a campaign-label relationship. -type CampaignLabelOperation struct { - // The mutate operation. - // - // Types that are valid to be assigned to Operation: - // *CampaignLabelOperation_Create - // *CampaignLabelOperation_Remove - Operation isCampaignLabelOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CampaignLabelOperation) Reset() { *m = CampaignLabelOperation{} } -func (m *CampaignLabelOperation) String() string { return proto.CompactTextString(m) } -func (*CampaignLabelOperation) ProtoMessage() {} -func (*CampaignLabelOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_27173f6ba18f2b11, []int{2} -} - -func (m *CampaignLabelOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CampaignLabelOperation.Unmarshal(m, b) -} -func (m *CampaignLabelOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CampaignLabelOperation.Marshal(b, m, deterministic) -} -func (m *CampaignLabelOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignLabelOperation.Merge(m, src) -} -func (m *CampaignLabelOperation) XXX_Size() int { - return xxx_messageInfo_CampaignLabelOperation.Size(m) -} -func (m *CampaignLabelOperation) XXX_DiscardUnknown() { - xxx_messageInfo_CampaignLabelOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_CampaignLabelOperation proto.InternalMessageInfo - -type isCampaignLabelOperation_Operation interface { - isCampaignLabelOperation_Operation() -} - -type CampaignLabelOperation_Create struct { - Create *resources.CampaignLabel `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type CampaignLabelOperation_Remove struct { - Remove string `protobuf:"bytes,2,opt,name=remove,proto3,oneof"` -} - -func (*CampaignLabelOperation_Create) isCampaignLabelOperation_Operation() {} - -func (*CampaignLabelOperation_Remove) isCampaignLabelOperation_Operation() {} - -func (m *CampaignLabelOperation) GetOperation() isCampaignLabelOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *CampaignLabelOperation) GetCreate() *resources.CampaignLabel { - if x, ok := m.GetOperation().(*CampaignLabelOperation_Create); ok { - return x.Create - } - return nil -} - -func (m *CampaignLabelOperation) GetRemove() string { - if x, ok := m.GetOperation().(*CampaignLabelOperation_Remove); ok { - return x.Remove - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CampaignLabelOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CampaignLabelOperation_Create)(nil), - (*CampaignLabelOperation_Remove)(nil), - } -} - -// Response message for a campaign labels mutate. -type MutateCampaignLabelsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // All results for the mutate. - Results []*MutateCampaignLabelResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCampaignLabelsResponse) Reset() { *m = MutateCampaignLabelsResponse{} } -func (m *MutateCampaignLabelsResponse) String() string { return proto.CompactTextString(m) } -func (*MutateCampaignLabelsResponse) ProtoMessage() {} -func (*MutateCampaignLabelsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_27173f6ba18f2b11, []int{3} -} - -func (m *MutateCampaignLabelsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCampaignLabelsResponse.Unmarshal(m, b) -} -func (m *MutateCampaignLabelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCampaignLabelsResponse.Marshal(b, m, deterministic) -} -func (m *MutateCampaignLabelsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignLabelsResponse.Merge(m, src) -} -func (m *MutateCampaignLabelsResponse) XXX_Size() int { - return xxx_messageInfo_MutateCampaignLabelsResponse.Size(m) -} -func (m *MutateCampaignLabelsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCampaignLabelsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCampaignLabelsResponse proto.InternalMessageInfo - -func (m *MutateCampaignLabelsResponse) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -func (m *MutateCampaignLabelsResponse) GetResults() []*MutateCampaignLabelResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for a campaign label mutate. -type MutateCampaignLabelResult 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 *MutateCampaignLabelResult) Reset() { *m = MutateCampaignLabelResult{} } -func (m *MutateCampaignLabelResult) String() string { return proto.CompactTextString(m) } -func (*MutateCampaignLabelResult) ProtoMessage() {} -func (*MutateCampaignLabelResult) Descriptor() ([]byte, []int) { - return fileDescriptor_27173f6ba18f2b11, []int{4} -} - -func (m *MutateCampaignLabelResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCampaignLabelResult.Unmarshal(m, b) -} -func (m *MutateCampaignLabelResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCampaignLabelResult.Marshal(b, m, deterministic) -} -func (m *MutateCampaignLabelResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignLabelResult.Merge(m, src) -} -func (m *MutateCampaignLabelResult) XXX_Size() int { - return xxx_messageInfo_MutateCampaignLabelResult.Size(m) -} -func (m *MutateCampaignLabelResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCampaignLabelResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCampaignLabelResult proto.InternalMessageInfo - -func (m *MutateCampaignLabelResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetCampaignLabelRequest)(nil), "google.ads.googleads.v1.services.GetCampaignLabelRequest") - proto.RegisterType((*MutateCampaignLabelsRequest)(nil), "google.ads.googleads.v1.services.MutateCampaignLabelsRequest") - proto.RegisterType((*CampaignLabelOperation)(nil), "google.ads.googleads.v1.services.CampaignLabelOperation") - proto.RegisterType((*MutateCampaignLabelsResponse)(nil), "google.ads.googleads.v1.services.MutateCampaignLabelsResponse") - proto.RegisterType((*MutateCampaignLabelResult)(nil), "google.ads.googleads.v1.services.MutateCampaignLabelResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/campaign_label_service.proto", fileDescriptor_27173f6ba18f2b11) -} - -var fileDescriptor_27173f6ba18f2b11 = []byte{ - // 668 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xdd, 0x6a, 0xd4, 0x4e, - 0x14, 0xff, 0x27, 0xfb, 0xa7, 0xda, 0xd9, 0xfa, 0xc1, 0x58, 0x6d, 0xba, 0x16, 0x5d, 0x62, 0xc1, - 0xb2, 0x17, 0x49, 0x77, 0x0b, 0x52, 0x53, 0xb6, 0xb8, 0x15, 0xdb, 0x2a, 0x6a, 0x4b, 0x8a, 0x45, - 0x64, 0x21, 0x4c, 0x93, 0x69, 0x08, 0x24, 0x99, 0x38, 0x33, 0x59, 0x29, 0xa5, 0x20, 0xde, 0x7a, - 0xe9, 0x1b, 0x78, 0xd9, 0x37, 0xf0, 0xc2, 0x17, 0xf0, 0x56, 0x7c, 0x03, 0xf1, 0xc2, 0xa7, 0x90, - 0x64, 0x32, 0xb1, 0x59, 0x77, 0x59, 0xed, 0xdd, 0x99, 0xf3, 0xf1, 0x3b, 0xe7, 0x77, 0x3e, 0x06, - 0x74, 0x7d, 0x42, 0xfc, 0x10, 0x9b, 0xc8, 0x63, 0xa6, 0x10, 0x33, 0x69, 0xd0, 0x36, 0x19, 0xa6, - 0x83, 0xc0, 0xc5, 0xcc, 0x74, 0x51, 0x94, 0xa0, 0xc0, 0x8f, 0x9d, 0x10, 0x1d, 0xe0, 0xd0, 0x29, - 0xf4, 0x46, 0x42, 0x09, 0x27, 0xb0, 0x29, 0x62, 0x0c, 0xe4, 0x31, 0xa3, 0x0c, 0x37, 0x06, 0x6d, - 0x43, 0x86, 0x37, 0xee, 0x8d, 0x4b, 0x40, 0x31, 0x23, 0x29, 0xfd, 0x33, 0x83, 0x40, 0x6e, 0x2c, - 0xc8, 0xb8, 0x24, 0x30, 0x51, 0x1c, 0x13, 0x8e, 0x78, 0x40, 0x62, 0x56, 0x58, 0x6f, 0x15, 0xd6, - 0xfc, 0x75, 0x90, 0x1e, 0x9a, 0x6f, 0x28, 0x4a, 0x12, 0x4c, 0xa5, 0x7d, 0xae, 0xb0, 0xd3, 0xc4, - 0x35, 0x19, 0x47, 0x3c, 0x2d, 0x0c, 0xfa, 0x3a, 0x98, 0xd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x3f, 0xd5, 0xae, 0xf2, 0x6a, 0xbb, 0x08, 0xf7, 0x49, 0x88, - 0x62, 0xdf, 0x20, 0xd4, 0x37, 0x7d, 0x1c, 0xe7, 0xff, 0x98, 0xfc, 0x4a, 0x93, 0x80, 0x8d, 0xff, - 0xba, 0xd7, 0xa4, 0xf0, 0x51, 0xad, 0x6d, 0xf5, 0x7a, 0xa7, 0x6a, 0x73, 0x4b, 0x00, 0xf6, 0x3c, - 0x66, 0x08, 0x31, 0x93, 0xf6, 0xdb, 0x46, 0x91, 0x98, 0x7d, 0x91, 0x2e, 0xfd, 0x9e, 0xc7, 0xfa, - 0xa5, 0x4b, 0x7f, 0xbf, 0xdd, 0x97, 0x2e, 0x3f, 0xd5, 0x45, 0xa1, 0xb7, 0xac, 0x9e, 0xc7, 0x2c, - 0xab, 0x74, 0xb2, 0xac, 0xfd, 0xb6, 0x65, 0x49, 0xb7, 0x83, 0xa9, 0xbc, 0xce, 0x95, 0x5f, 0x01, - 0x00, 0x00, 0xff, 0xff, 0x6a, 0xf6, 0xcc, 0x51, 0x61, 0x06, 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 - -// CampaignLabelServiceClient is the client API for CampaignLabelService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type CampaignLabelServiceClient interface { - // Returns the requested campaign-label relationship in full detail. - GetCampaignLabel(ctx context.Context, in *GetCampaignLabelRequest, opts ...grpc.CallOption) (*resources.CampaignLabel, error) - // Creates and removes campaign-label relationships. - // Operation statuses are returned. - MutateCampaignLabels(ctx context.Context, in *MutateCampaignLabelsRequest, opts ...grpc.CallOption) (*MutateCampaignLabelsResponse, error) -} - -type campaignLabelServiceClient struct { - cc *grpc.ClientConn -} - -func NewCampaignLabelServiceClient(cc *grpc.ClientConn) CampaignLabelServiceClient { - return &campaignLabelServiceClient{cc} -} - -func (c *campaignLabelServiceClient) GetCampaignLabel(ctx context.Context, in *GetCampaignLabelRequest, opts ...grpc.CallOption) (*resources.CampaignLabel, error) { - out := new(resources.CampaignLabel) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.CampaignLabelService/GetCampaignLabel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *campaignLabelServiceClient) MutateCampaignLabels(ctx context.Context, in *MutateCampaignLabelsRequest, opts ...grpc.CallOption) (*MutateCampaignLabelsResponse, error) { - out := new(MutateCampaignLabelsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.CampaignLabelService/MutateCampaignLabels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// CampaignLabelServiceServer is the server API for CampaignLabelService service. -type CampaignLabelServiceServer interface { - // Returns the requested campaign-label relationship in full detail. - GetCampaignLabel(context.Context, *GetCampaignLabelRequest) (*resources.CampaignLabel, error) - // Creates and removes campaign-label relationships. - // Operation statuses are returned. - MutateCampaignLabels(context.Context, *MutateCampaignLabelsRequest) (*MutateCampaignLabelsResponse, error) -} - -// UnimplementedCampaignLabelServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCampaignLabelServiceServer struct { -} - -func (*UnimplementedCampaignLabelServiceServer) GetCampaignLabel(ctx context.Context, req *GetCampaignLabelRequest) (*resources.CampaignLabel, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetCampaignLabel not implemented") -} -func (*UnimplementedCampaignLabelServiceServer) MutateCampaignLabels(ctx context.Context, req *MutateCampaignLabelsRequest) (*MutateCampaignLabelsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateCampaignLabels not implemented") -} - -func RegisterCampaignLabelServiceServer(s *grpc.Server, srv CampaignLabelServiceServer) { - s.RegisterService(&_CampaignLabelService_serviceDesc, srv) -} - -func _CampaignLabelService_GetCampaignLabel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetCampaignLabelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CampaignLabelServiceServer).GetCampaignLabel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.CampaignLabelService/GetCampaignLabel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CampaignLabelServiceServer).GetCampaignLabel(ctx, req.(*GetCampaignLabelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CampaignLabelService_MutateCampaignLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateCampaignLabelsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CampaignLabelServiceServer).MutateCampaignLabels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.CampaignLabelService/MutateCampaignLabels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CampaignLabelServiceServer).MutateCampaignLabels(ctx, req.(*MutateCampaignLabelsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _CampaignLabelService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.CampaignLabelService", - HandlerType: (*CampaignLabelServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetCampaignLabel", - Handler: _CampaignLabelService_GetCampaignLabel_Handler, - }, - { - MethodName: "MutateCampaignLabels", - Handler: _CampaignLabelService_MutateCampaignLabels_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/campaign_label_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_service.pb.go deleted file mode 100644 index 4e038a8e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_service.pb.go +++ /dev/null @@ -1,527 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/campaign_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [CampaignService.GetCampaign][google.ads.googleads.v1.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_57837f1a83a55878, []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 (m *GetCampaignRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCampaignRequest.Merge(m, 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.v1.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_57837f1a83a55878, []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 (m *MutateCampaignsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignsRequest.Merge(m, 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 -} - -func (m *MutateCampaignsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateCampaignsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_57837f1a83a55878, []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 (m *CampaignOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*CampaignOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CampaignOperation_Create)(nil), - (*CampaignOperation_Update)(nil), - (*CampaignOperation_Remove)(nil), - } -} - -// Response message for campaign mutate. -type MutateCampaignsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_57837f1a83a55878, []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 (m *MutateCampaignsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_57837f1a83a55878, []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 (m *MutateCampaignResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignResult.Merge(m, 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.v1.services.GetCampaignRequest") - proto.RegisterType((*MutateCampaignsRequest)(nil), "google.ads.googleads.v1.services.MutateCampaignsRequest") - proto.RegisterType((*CampaignOperation)(nil), "google.ads.googleads.v1.services.CampaignOperation") - proto.RegisterType((*MutateCampaignsResponse)(nil), "google.ads.googleads.v1.services.MutateCampaignsResponse") - proto.RegisterType((*MutateCampaignResult)(nil), "google.ads.googleads.v1.services.MutateCampaignResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/campaign_service.proto", fileDescriptor_57837f1a83a55878) -} - -var fileDescriptor_57837f1a83a55878 = []byte{ - // 704 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x4f, 0x6b, 0xd4, 0x4e, - 0x18, 0xfe, 0x25, 0xfd, 0x51, 0xed, 0xa4, 0x5a, 0x1c, 0xab, 0x5d, 0x16, 0xd1, 0x25, 0x16, 0x2c, - 0x5b, 0x9c, 0xb8, 0xbb, 0xa2, 0x36, 0xa5, 0x87, 0xad, 0xf4, 0x8f, 0x87, 0xda, 0x92, 0x42, 0x0f, - 0xb2, 0x10, 0xa6, 0xc9, 0x34, 0x84, 0x26, 0x99, 0x38, 0x33, 0x59, 0x29, 0xa5, 0x17, 0xc1, 0x4f, - 0xe0, 0x37, 0x10, 0xbc, 0x78, 0xf5, 0x13, 0x78, 0xf5, 0xea, 0xd5, 0xa3, 0x27, 0xbf, 0x82, 0x08, - 0x92, 0x4c, 0x26, 0xdd, 0x6e, 0x5d, 0xd6, 0xf6, 0x36, 0x79, 0xf3, 0x3c, 0xcf, 0xfb, 0xcc, 0xfb, - 0x67, 0xc0, 0xd3, 0x80, 0xd2, 0x20, 0x22, 0x16, 0xf6, 0xb9, 0x25, 0x8f, 0xf9, 0xa9, 0xdf, 0xb2, - 0x38, 0x61, 0xfd, 0xd0, 0x23, 0xdc, 0xf2, 0x70, 0x9c, 0xe2, 0x30, 0x48, 0xdc, 0x32, 0x82, 0x52, - 0x46, 0x05, 0x85, 0x0d, 0x89, 0x46, 0xd8, 0xe7, 0xa8, 0x22, 0xa2, 0x7e, 0x0b, 0x29, 0x62, 0xfd, - 0xd1, 0x28, 0x69, 0x46, 0x38, 0xcd, 0xd8, 0xa0, 0xb6, 0xd4, 0xac, 0xdf, 0x51, 0x8c, 0x34, 0xb4, - 0x70, 0x92, 0x50, 0x81, 0x45, 0x48, 0x13, 0x5e, 0xfe, 0x2d, 0x33, 0x5a, 0xc5, 0xd7, 0x7e, 0x76, - 0x60, 0x1d, 0x84, 0x24, 0xf2, 0xdd, 0x18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 0x98, 0x19, 0x6a, 0x17, 0x7c, 0x76, 0xd1, 0x6a, 0xaa, 0x45, 0xae, 0x2f, - 0x5d, 0x82, 0x29, 0x67, 0xc3, 0x5c, 0x2a, 0xdc, 0x77, 0x4c, 0x94, 0xbb, 0x3f, 0xb5, 0x7b, 0x3c, - 0xf0, 0x30, 0xac, 0x34, 0x4f, 0x4e, 0xcd, 0xdb, 0x71, 0x21, 0x64, 0x6b, 0xcd, 0xd5, 0x5f, 0x1a, - 0x98, 0xf7, 0x68, 0x3c, 0x36, 0xf7, 0xea, 0xec, 0x50, 0x97, 0x76, 0xf2, 0xfd, 0xdb, 0xd1, 0x5e, - 0x6d, 0x96, 0xcc, 0x80, 0x46, 0x38, 0x09, 0x10, 0x65, 0x81, 0x15, 0x90, 0xa4, 0xd8, 0x4e, 0xf5, - 0x20, 0xa7, 0x21, 0x1f, 0xfd, 0xf4, 0x2f, 0xab, 0xc3, 0x07, 0x7d, 0x62, 0xa3, 0xdb, 0xfd, 0xa4, - 0x37, 0x36, 0xa4, 0x60, 0xd7, 0xe7, 0x48, 0x1e, 0xf3, 0xd3, 0x5e, 0x0b, 0x95, 0x89, 0xf9, 0x57, - 0x05, 0xe9, 0x75, 0x7d, 0xde, 0xab, 0x20, 0xbd, 0xbd, 0x56, 0x4f, 0x41, 0x7e, 0xea, 0xf3, 0x32, - 0x6e, 0xdb, 0x5d, 0x9f, 0xdb, 0x76, 0x05, 0xb2, 0xed, 0xbd, 0x96, 0x6d, 0x2b, 0xd8, 0xfe, 0x64, - 0xe1, 0xb3, 0xf3, 0x27, 0x00, 0x00, 0xff, 0xff, 0x56, 0xbf, 0x71, 0xcc, 0xa1, 0x06, 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 - -// 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.v1.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.v1.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) -} - -// UnimplementedCampaignServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCampaignServiceServer struct { -} - -func (*UnimplementedCampaignServiceServer) GetCampaign(ctx context.Context, req *GetCampaignRequest) (*resources.Campaign, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetCampaign not implemented") -} -func (*UnimplementedCampaignServiceServer) MutateCampaigns(ctx context.Context, req *MutateCampaignsRequest) (*MutateCampaignsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateCampaigns not implemented") -} - -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.v1.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.v1.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.v1.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/v1/services/campaign_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_shared_set_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_shared_set_service.pb.go deleted file mode 100644 index f09b7884..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/campaign_shared_set_service.pb.go +++ /dev/null @@ -1,500 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/campaign_shared_set_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [CampaignSharedSetService.GetCampaignSharedSet][google.ads.googleads.v1.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_4eb5d89b68dc46d0, []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 (m *GetCampaignSharedSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCampaignSharedSetRequest.Merge(m, 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.v1.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_4eb5d89b68dc46d0, []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 (m *MutateCampaignSharedSetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignSharedSetsRequest.Merge(m, 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 -} - -func (m *MutateCampaignSharedSetsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateCampaignSharedSetsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_4eb5d89b68dc46d0, []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 (m *CampaignSharedSetOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignSharedSetOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*CampaignSharedSetOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CampaignSharedSetOperation_Create)(nil), - (*CampaignSharedSetOperation_Remove)(nil), - } -} - -// Response message for a campaign shared set mutate. -type MutateCampaignSharedSetsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_4eb5d89b68dc46d0, []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 (m *MutateCampaignSharedSetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignSharedSetsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_4eb5d89b68dc46d0, []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 (m *MutateCampaignSharedSetResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignSharedSetResult.Merge(m, 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.v1.services.GetCampaignSharedSetRequest") - proto.RegisterType((*MutateCampaignSharedSetsRequest)(nil), "google.ads.googleads.v1.services.MutateCampaignSharedSetsRequest") - proto.RegisterType((*CampaignSharedSetOperation)(nil), "google.ads.googleads.v1.services.CampaignSharedSetOperation") - proto.RegisterType((*MutateCampaignSharedSetsResponse)(nil), "google.ads.googleads.v1.services.MutateCampaignSharedSetsResponse") - proto.RegisterType((*MutateCampaignSharedSetResult)(nil), "google.ads.googleads.v1.services.MutateCampaignSharedSetResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/campaign_shared_set_service.proto", fileDescriptor_4eb5d89b68dc46d0) -} - -var fileDescriptor_4eb5d89b68dc46d0 = []byte{ - // 671 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0x41, 0x6b, 0xd4, 0x4e, - 0x14, 0xff, 0x67, 0xf7, 0x4f, 0xb5, 0xb3, 0x55, 0x61, 0x54, 0x0c, 0xab, 0xb5, 0x4b, 0x2c, 0x58, - 0xf6, 0x90, 0xb0, 0x6b, 0x51, 0x48, 0x5b, 0x24, 0x51, 0xdb, 0x7a, 0xb0, 0x2d, 0x59, 0x58, 0x50, - 0x16, 0xc2, 0x34, 0x99, 0xc6, 0x40, 0x92, 0x89, 0x33, 0x93, 0x95, 0x52, 0x7a, 0x11, 0xbf, 0x41, - 0xbf, 0x81, 0x47, 0xbf, 0x87, 0x07, 0x3d, 0x78, 0xf1, 0x2b, 0xe8, 0xc5, 0x83, 0x9f, 0x41, 0x92, - 0xc9, 0xa4, 0xad, 0xdb, 0x74, 0xa5, 0xde, 0x5e, 0xde, 0x7b, 0xf3, 0x7b, 0xef, 0x37, 0xbf, 0x37, - 0x2f, 0xc0, 0x0e, 0x08, 0x09, 0x22, 0x6c, 0x20, 0x9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 0xbb, 0x33, 0x45, 0x9f, - 0x0f, 0x7e, 0x07, 0x00, 0x00, 0xff, 0xff, 0xd3, 0x69, 0x26, 0xa6, 0xb3, 0x06, 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 - -// 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.v1.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.v1.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) -} - -// UnimplementedCampaignSharedSetServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCampaignSharedSetServiceServer struct { -} - -func (*UnimplementedCampaignSharedSetServiceServer) GetCampaignSharedSet(ctx context.Context, req *GetCampaignSharedSetRequest) (*resources.CampaignSharedSet, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetCampaignSharedSet not implemented") -} -func (*UnimplementedCampaignSharedSetServiceServer) MutateCampaignSharedSets(ctx context.Context, req *MutateCampaignSharedSetsRequest) (*MutateCampaignSharedSetsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateCampaignSharedSets not implemented") -} - -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.v1.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.v1.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.v1.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/v1/services/campaign_shared_set_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/carrier_constant_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/carrier_constant_service.pb.go deleted file mode 100644 index ff9f7e10..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/carrier_constant_service.pb.go +++ /dev/null @@ -1,187 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/carrier_constant_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [CarrierConstantService.GetCarrierConstant][google.ads.googleads.v1.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_ad8e2a96eee0407f, []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 (m *GetCarrierConstantRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCarrierConstantRequest.Merge(m, 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.v1.services.GetCarrierConstantRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/carrier_constant_service.proto", fileDescriptor_ad8e2a96eee0407f) -} - -var fileDescriptor_ad8e2a96eee0407f = []byte{ - // 356 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xc1, 0x4a, 0xf3, 0x40, - 0x18, 0x24, 0xf9, 0xe1, 0x07, 0x83, 0x5e, 0x72, 0x10, 0xad, 0x1e, 0x4a, 0x2d, 0x52, 0x3c, 0xec, - 0x92, 0x7a, 0x91, 0x2d, 0xa2, 0x69, 0x0f, 0xf5, 0x24, 0xa5, 0x42, 0x0f, 0x12, 0x28, 0x6b, 0xb2, - 0x2c, 0x81, 0x76, 0xb7, 0xee, 0xb7, 0xcd, 0x45, 0xbc, 0xf4, 0x15, 0x7c, 0x03, 0x8f, 0xde, 0x7d, - 0x09, 0x4f, 0x82, 0xaf, 0xe0, 0xc9, 0xa7, 0x90, 0x74, 0xb3, 0x81, 0xd6, 0x86, 0xde, 0x86, 0xfd, - 0x66, 0xe6, 0x9b, 0x6f, 0x12, 0xef, 0x8a, 0x4b, 0xc9, 0x27, 0x0c, 0xd3, 0x04, 0xb0, 0x81, 0x39, - 0xca, 0x02, 0x0c, 0x4c, 0x65, 0x69, 0xcc, 0x00, 0xc7, 0x54, 0xa9, 0x94, 0xa9, 0x71, 0x2c, 0x05, - 0x68, 0x2a, 0xf4, 0xb8, 0x98, 0xa0, 0x99, 0x92, 0x5a, 0xfa, 0x75, 0xa3, 0x42, 0x34, 0x01, 0x54, - 0x1a, 0xa0, 0x2c, 0x40, 0xd6, 0xa0, 0x76, 0x51, 0xb5, 0x42, 0x31, 0x90, 0x73, 0xb5, 0x69, 0x87, - 0xf1, 0xae, 0x1d, 0x5b, 0xe5, 0x2c, 0xc5, 0x54, 0x08, 0xa9, 0xa9, 0x4e, 0xa5, 0x00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0x2f, 0x73, 0x9e, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0xf8, 0xf6, 0x00, 0xfb, - 0xdd, 0x02, 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 - -// 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.v1.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) -} - -// UnimplementedCarrierConstantServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCarrierConstantServiceServer struct { -} - -func (*UnimplementedCarrierConstantServiceServer) GetCarrierConstant(ctx context.Context, req *GetCarrierConstantRequest) (*resources.CarrierConstant, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCarrierConstant not implemented") -} - -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.v1.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.v1.services.CarrierConstantService", - HandlerType: (*CarrierConstantServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetCarrierConstant", - Handler: _CarrierConstantService_GetCarrierConstant_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/carrier_constant_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/change_status_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/change_status_service.pb.go deleted file mode 100644 index 85c63348..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/change_status_service.pb.go +++ /dev/null @@ -1,187 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/change_status_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// '[ChangeStatusService.GetChangeStatus][google.ads.googleads.v1.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_6c59aa7321bb8d53, []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 (m *GetChangeStatusRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetChangeStatusRequest.Merge(m, 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.v1.services.GetChangeStatusRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/change_status_service.proto", fileDescriptor_6c59aa7321bb8d53) -} - -var fileDescriptor_6c59aa7321bb8d53 = []byte{ - // 362 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xcf, 0x4a, 0xf3, 0x40, - 0x14, 0xc5, 0x49, 0x3e, 0xf8, 0xc0, 0xa0, 0x08, 0x11, 0xa4, 0x14, 0x17, 0xa5, 0x76, 0x21, 0x5d, - 0xcc, 0x18, 0x45, 0x91, 0xd1, 0x2e, 0x52, 0x17, 0x75, 0x25, 0xa5, 0x85, 0x2e, 0x24, 0x50, 0xc6, - 0x64, 0x18, 0x03, 0xcd, 0x4c, 0xcd, 0x9d, 0x74, 0x23, 0x6e, 0x7c, 0x05, 0xdf, 0xc0, 0xa5, 0x6b, - 0x9f, 0x42, 0xdc, 0xf9, 0x0a, 0xae, 0x7c, 0x09, 0x25, 0x99, 0x4c, 0xa8, 0xda, 0xd2, 0xdd, 0xe1, - 0xe6, 0xfc, 0xce, 0xfd, 0x93, 0x71, 0xce, 0xb8, 0x94, 0x7c, 0xc2, 0x30, 0x8d, 0x00, 0x6b, 0x99, - 0xab, 0x99, 0x87, 0x81, 0xa5, 0xb3, 0x38, 0x64, 0x80, 0xc3, 0x1b, 0x2a, 0x38, 0x1b, 0x83, 0xa2, - 0x2a, 0x83, 0x71, 0x59, 0x46, 0xd3, 0x54, 0x2a, 0xe9, 0x36, 0x34, 0x82, 0x68, 0x04, 0xa8, 0xa2, - 0xd1, 0xcc, 0x43, 0x86, 0xae, 0x1f, 0x2d, 0xcb, 0x4f, 0x19, 0xc8, 0x2c, 0xfd, 0xd3, 0x40, 0x07, - 0xd7, 0x77, 0x0c, 0x36, 0x8d, 0x31, 0x15, 0x42, 0x2a, 0xaa, 0x62, 0x29, 0xca, 0xaf, 0xcd, 0x8e, - 0xb3, 0xdd, 0x63, 0xea, 0xbc, 0xe0, 0x86, 0x05, 0x36, 0x60, 0xb7, 0x19, 0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 0xa5, 0x0c, 0x9d, 0x37, 0xcd, 0x02, 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 - -// 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.v1.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) -} - -// UnimplementedChangeStatusServiceServer can be embedded to have forward compatible implementations. -type UnimplementedChangeStatusServiceServer struct { -} - -func (*UnimplementedChangeStatusServiceServer) GetChangeStatus(ctx context.Context, req *GetChangeStatusRequest) (*resources.ChangeStatus, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetChangeStatus not implemented") -} - -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.v1.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.v1.services.ChangeStatusService", - HandlerType: (*ChangeStatusServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetChangeStatus", - Handler: _ChangeStatusService_GetChangeStatus_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/change_status_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/click_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/click_view_service.pb.go deleted file mode 100644 index ec072062..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/click_view_service.pb.go +++ /dev/null @@ -1,187 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/click_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [ClickViewService.GetClickView][google.ads.googleads.v1.services.ClickViewService.GetClickView]. -type GetClickViewRequest struct { - // The resource name of the click 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 *GetClickViewRequest) Reset() { *m = GetClickViewRequest{} } -func (m *GetClickViewRequest) String() string { return proto.CompactTextString(m) } -func (*GetClickViewRequest) ProtoMessage() {} -func (*GetClickViewRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a3c35caeb519e64a, []int{0} -} - -func (m *GetClickViewRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetClickViewRequest.Unmarshal(m, b) -} -func (m *GetClickViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetClickViewRequest.Marshal(b, m, deterministic) -} -func (m *GetClickViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetClickViewRequest.Merge(m, src) -} -func (m *GetClickViewRequest) XXX_Size() int { - return xxx_messageInfo_GetClickViewRequest.Size(m) -} -func (m *GetClickViewRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetClickViewRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetClickViewRequest proto.InternalMessageInfo - -func (m *GetClickViewRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetClickViewRequest)(nil), "google.ads.googleads.v1.services.GetClickViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/click_view_service.proto", fileDescriptor_a3c35caeb519e64a) -} - -var fileDescriptor_a3c35caeb519e64a = []byte{ - // 362 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xb1, 0x4a, 0xc3, 0x50, - 0x14, 0x86, 0x49, 0x04, 0xc1, 0x50, 0x41, 0x22, 0x82, 0x14, 0x87, 0x52, 0x3b, 0x48, 0x29, 0xf7, - 0x92, 0xaa, 0x83, 0x57, 0x1c, 0x52, 0x87, 0x3a, 0x49, 0xa9, 0x90, 0x41, 0x02, 0xe5, 0x9a, 0x1c, - 0xc2, 0xc5, 0x26, 0xb7, 0xe6, 0xa4, 0xe9, 0x20, 0x2e, 0xbe, 0x82, 0x6f, 0xe0, 0xa6, 0x0f, 0xe1, - 0x03, 0xb8, 0xfa, 0x0a, 0x4e, 0x3e, 0x83, 0x83, 0xa4, 0xb7, 0x37, 0x58, 0x31, 0x74, 0xfb, 0x39, - 0xf9, 0xbf, 0x3f, 0xff, 0x39, 0x89, 0x75, 0x12, 0x49, 0x19, 0x8d, 0x81, 0xf2, 0x10, 0xa9, 0x92, - 0x85, 0xca, 0x1d, 0x8a, 0x90, 0xe6, 0x22, 0x00, 0xa4, 0xc1, 0x58, 0x04, 0xb7, 0xa3, 0x5c, 0xc0, - 0x6c, 0xb4, 0x98, 0x91, 0x49, 0x2a, 0x33, 0x69, 0x37, 0x94, 0x9f, 0xf0, 0x10, 0x49, 0x89, 0x92, - 0xdc, 0x21, 0x1a, 0xad, 0x77, 0xab, 0xc2, 0x53, 0x40, 0x39, 0x4d, 0x97, 0xd3, 0x55, 0x6a, 0x7d, - 0x4f, 0x33, 0x13, 0x41, 0x79, 0x92, 0xc8, 0x8c, 0x67, 0x42, 0x26, 0xa8, 0x9e, 0x36, 0x99, 0xb5, - 0xdd, 0x87, 0xec, 0xbc, 0x80, 0x3c, 0x01, 0xb3, 0x21, 0xdc, 0x4d, 0x01, 0x33, 0x7b, 0xdf, 0xda, - 0xd4, 0x91, 0xa3, 0x84, 0xc7, 0xb0, 0x6b, 0x34, 0x8c, 0x83, 0x8d, 0x61, 0x4d, 0x0f, 0x2f, 0x79, - 0x0c, 0xdd, 0x37, 0xc3, 0xda, 0x2a, 0xc9, 0x2b, 0xd5, 0xd1, 0x7e, 0x31, 0xac, 0xda, 0xef, 0x44, - 0xfb, 0x98, 0xac, 0x5a, 0x8b, 0xfc, 0xd3, 0xa0, 0xde, 0xa9, 0xc4, 0xca, 0x5d, 0x49, 0x09, 0x35, - 0x8f, 0x1e, 0x3f, 0x3e, 0x9f, 0x4c, 0x62, 0x77, 0x8a, 0x63, 0xdc, 0x2f, 0x55, 0x3f, 0x0b, 0xa6, - 0x98, 0xc9, 0x18, 0x52, 0xa4, 0x6d, 0x75, 0x9d, 0x82, 0x40, 0xda, 0x7e, 0xe8, 0x7d, 0x1b, 0x56, - 0x2b, 0x90, 0xf1, 0xca, 0x82, 0xbd, 0x9d, 0xbf, 0x6b, 0x0e, 0x8a, 0xe3, 0x0d, 0x8c, 0xeb, 0x8b, - 0x05, 0x1a, 0xc9, 0x31, 0x4f, 0x22, 0x22, 0xd3, 0x88, 0x46, 0x90, 0xcc, 0x4f, 0xab, 0x3f, 0xd0, - 0x44, 0x60, 0xf5, 0xcf, 0x70, 0xaa, 0xc5, 0xb3, 0xb9, 0xd6, 0x77, 0xdd, 0x57, 0xb3, 0xd1, 0x57, - 0x81, 0x6e, 0x88, 0x44, 0xc9, 0x42, 0x79, 0x0e, 0x59, 0xbc, 0x18, 0xdf, 0xb5, 0xc5, 0x77, 0x43, - 0xf4, 0x4b, 0x8b, 0xef, 0x39, 0xbe, 0xb6, 0x7c, 0x99, 0x2d, 0x35, 0x67, 0xcc, 0x0d, 0x91, 0xb1, - 0xd2, 0xc4, 0x98, 0xe7, 0x30, 0xa6, 0x6d, 0x37, 0xeb, 0xf3, 0x9e, 0x87, 0x3f, 0x01, 0x00, 0x00, - 0xff, 0xff, 0xe1, 0xc6, 0x06, 0x3b, 0xb3, 0x02, 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 - -// ClickViewServiceClient is the client API for ClickViewService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ClickViewServiceClient interface { - // Returns the requested click view in full detail. - GetClickView(ctx context.Context, in *GetClickViewRequest, opts ...grpc.CallOption) (*resources.ClickView, error) -} - -type clickViewServiceClient struct { - cc *grpc.ClientConn -} - -func NewClickViewServiceClient(cc *grpc.ClientConn) ClickViewServiceClient { - return &clickViewServiceClient{cc} -} - -func (c *clickViewServiceClient) GetClickView(ctx context.Context, in *GetClickViewRequest, opts ...grpc.CallOption) (*resources.ClickView, error) { - out := new(resources.ClickView) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.ClickViewService/GetClickView", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ClickViewServiceServer is the server API for ClickViewService service. -type ClickViewServiceServer interface { - // Returns the requested click view in full detail. - GetClickView(context.Context, *GetClickViewRequest) (*resources.ClickView, error) -} - -// UnimplementedClickViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedClickViewServiceServer struct { -} - -func (*UnimplementedClickViewServiceServer) GetClickView(ctx context.Context, req *GetClickViewRequest) (*resources.ClickView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetClickView not implemented") -} - -func RegisterClickViewServiceServer(s *grpc.Server, srv ClickViewServiceServer) { - s.RegisterService(&_ClickViewService_serviceDesc, srv) -} - -func _ClickViewService_GetClickView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetClickViewRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClickViewServiceServer).GetClickView(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.ClickViewService/GetClickView", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClickViewServiceServer).GetClickView(ctx, req.(*GetClickViewRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ClickViewService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.ClickViewService", - HandlerType: (*ClickViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetClickView", - Handler: _ClickViewService_GetClickView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/click_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/conversion_action_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/conversion_action_service.pb.go deleted file mode 100644 index db80bb06..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/conversion_action_service.pb.go +++ /dev/null @@ -1,531 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/conversion_action_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [ConversionActionService.GetConversionAction][google.ads.googleads.v1.services.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_7c1381831f293da1, []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 (m *GetConversionActionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetConversionActionRequest.Merge(m, 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][google.ads.googleads.v1.services.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_7c1381831f293da1, []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 (m *MutateConversionActionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateConversionActionsRequest.Merge(m, 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 -} - -func (m *MutateConversionActionsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateConversionActionsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_7c1381831f293da1, []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 (m *ConversionActionOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConversionActionOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*ConversionActionOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ConversionActionOperation_Create)(nil), - (*ConversionActionOperation_Update)(nil), - (*ConversionActionOperation_Remove)(nil), - } -} - -// Response message for -// [ConversionActionService.MutateConversionActions][google.ads.googleads.v1.services.ConversionActionService.MutateConversionActions]. -type MutateConversionActionsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_7c1381831f293da1, []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 (m *MutateConversionActionsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateConversionActionsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_7c1381831f293da1, []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 (m *MutateConversionActionResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateConversionActionResult.Merge(m, 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.v1.services.GetConversionActionRequest") - proto.RegisterType((*MutateConversionActionsRequest)(nil), "google.ads.googleads.v1.services.MutateConversionActionsRequest") - proto.RegisterType((*ConversionActionOperation)(nil), "google.ads.googleads.v1.services.ConversionActionOperation") - proto.RegisterType((*MutateConversionActionsResponse)(nil), "google.ads.googleads.v1.services.MutateConversionActionsResponse") - proto.RegisterType((*MutateConversionActionResult)(nil), "google.ads.googleads.v1.services.MutateConversionActionResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/conversion_action_service.proto", fileDescriptor_7c1381831f293da1) -} - -var fileDescriptor_7c1381831f293da1 = []byte{ - // 716 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0x4f, 0x4f, 0xd4, 0x4c, - 0x18, 0xc0, 0xdf, 0x76, 0xdf, 0xa0, 0x4c, 0x51, 0x93, 0x21, 0x86, 0x75, 0x43, 0x60, 0x53, 0x49, - 0x24, 0x7b, 0x68, 0xb3, 0x4b, 0x34, 0xb1, 0x2b, 0x86, 0x42, 0x04, 0x3c, 0x20, 0xa4, 0x24, 0xc4, - 0xe8, 0x26, 0xcd, 0xd0, 0x0e, 0x9b, 0x86, 0xb6, 0x53, 0x67, 0xa6, 0x6b, 0x08, 0xe1, 0xa2, 0x1f, - 0xc1, 0xb3, 0x17, 0x8f, 0x7e, 0x0d, 0xc3, 0xc5, 0xab, 0x9f, 0xc0, 0xc4, 0x93, 0x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28, 0xed, 0x5b, 0x84, 0xf6, 0xed, 0x3e, 0x4e, 0x8b, 0x57, 0x41, 0x7d, 0x31, 0xb2, 0x88, 0x55, - 0x7f, 0xa4, 0xba, 0x4a, 0xf8, 0xa4, 0xd7, 0x36, 0x5c, 0xf7, 0xb3, 0xde, 0xdc, 0x90, 0x40, 0x37, - 0x64, 0x96, 0x14, 0x85, 0xb4, 0xd7, 0xb6, 0xca, 0xc0, 0xec, 0xab, 0x72, 0xe9, 0xb9, 0x21, 0xeb, - 0x0d, 0x5d, 0x7a, 0x7b, 0xed, 0x9e, 0x72, 0xf9, 0xa9, 0x2f, 0x48, 0xbd, 0xe3, 0xb8, 0x21, 0x73, - 0x9c, 0xa1, 0x93, 0xe3, 0xec, 0xb5, 0x1d, 0x47, 0xb9, 0xed, 0x4f, 0x14, 0x79, 0x2e, 0xfd, 0x0e, - 0x00, 0x00, 0xff, 0xff, 0xdd, 0x78, 0x76, 0x77, 0x4b, 0x07, 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 - -// 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.v1.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.v1.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) -} - -// UnimplementedConversionActionServiceServer can be embedded to have forward compatible implementations. -type UnimplementedConversionActionServiceServer struct { -} - -func (*UnimplementedConversionActionServiceServer) GetConversionAction(ctx context.Context, req *GetConversionActionRequest) (*resources.ConversionAction, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetConversionAction not implemented") -} -func (*UnimplementedConversionActionServiceServer) MutateConversionActions(ctx context.Context, req *MutateConversionActionsRequest) (*MutateConversionActionsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateConversionActions not implemented") -} - -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.v1.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.v1.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.v1.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/v1/services/conversion_action_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/conversion_adjustment_upload_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/conversion_adjustment_upload_service.pb.go deleted file mode 100644 index c0534c5a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/conversion_adjustment_upload_service.pb.go +++ /dev/null @@ -1,659 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/conversion_adjustment_upload_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v1.services.ConversionAdjustmentUploadService.UploadConversionAdjustments]. -type UploadConversionAdjustmentsRequest struct { - // The ID of the customer performing the upload. - CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` - // The conversion adjustments that are being uploaded. - ConversionAdjustments []*ConversionAdjustment `protobuf:"bytes,2,rep,name=conversion_adjustments,json=conversionAdjustments,proto3" json:"conversion_adjustments,omitempty"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried out - // in one transaction if and only if they are all valid. This should always be - // set to true. - PartialFailure bool `protobuf:"varint,3,opt,name=partial_failure,json=partialFailure,proto3" json:"partial_failure,omitempty"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UploadConversionAdjustmentsRequest) Reset() { *m = UploadConversionAdjustmentsRequest{} } -func (m *UploadConversionAdjustmentsRequest) String() string { return proto.CompactTextString(m) } -func (*UploadConversionAdjustmentsRequest) ProtoMessage() {} -func (*UploadConversionAdjustmentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_418d7f048cc75833, []int{0} -} - -func (m *UploadConversionAdjustmentsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UploadConversionAdjustmentsRequest.Unmarshal(m, b) -} -func (m *UploadConversionAdjustmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UploadConversionAdjustmentsRequest.Marshal(b, m, deterministic) -} -func (m *UploadConversionAdjustmentsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UploadConversionAdjustmentsRequest.Merge(m, src) -} -func (m *UploadConversionAdjustmentsRequest) XXX_Size() int { - return xxx_messageInfo_UploadConversionAdjustmentsRequest.Size(m) -} -func (m *UploadConversionAdjustmentsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UploadConversionAdjustmentsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UploadConversionAdjustmentsRequest proto.InternalMessageInfo - -func (m *UploadConversionAdjustmentsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *UploadConversionAdjustmentsRequest) GetConversionAdjustments() []*ConversionAdjustment { - if m != nil { - return m.ConversionAdjustments - } - return nil -} - -func (m *UploadConversionAdjustmentsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *UploadConversionAdjustmentsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// Response message for -// [ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v1.services.ConversionAdjustmentUploadService.UploadConversionAdjustments]. -type UploadConversionAdjustmentsResponse struct { - // Errors that pertain to conversion adjustment failures in the partial - // failure mode. Returned when all errors occur inside the adjustments. If any - // errors occur outside the adjustments (e.g. auth errors), we return an RPC - // level error. - PartialFailureError *status.Status `protobuf:"bytes,1,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // Returned for successfully processed conversion adjustments. Proto will be - // empty for rows that received an error. Results are not returned when - // validate_only is true. - Results []*ConversionAdjustmentResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UploadConversionAdjustmentsResponse) Reset() { *m = UploadConversionAdjustmentsResponse{} } -func (m *UploadConversionAdjustmentsResponse) String() string { return proto.CompactTextString(m) } -func (*UploadConversionAdjustmentsResponse) ProtoMessage() {} -func (*UploadConversionAdjustmentsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_418d7f048cc75833, []int{1} -} - -func (m *UploadConversionAdjustmentsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UploadConversionAdjustmentsResponse.Unmarshal(m, b) -} -func (m *UploadConversionAdjustmentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UploadConversionAdjustmentsResponse.Marshal(b, m, deterministic) -} -func (m *UploadConversionAdjustmentsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UploadConversionAdjustmentsResponse.Merge(m, src) -} -func (m *UploadConversionAdjustmentsResponse) XXX_Size() int { - return xxx_messageInfo_UploadConversionAdjustmentsResponse.Size(m) -} -func (m *UploadConversionAdjustmentsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UploadConversionAdjustmentsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_UploadConversionAdjustmentsResponse proto.InternalMessageInfo - -func (m *UploadConversionAdjustmentsResponse) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -func (m *UploadConversionAdjustmentsResponse) GetResults() []*ConversionAdjustmentResult { - if m != nil { - return m.Results - } - return nil -} - -// A conversion adjustment. -type ConversionAdjustment struct { - // Resource name of the conversion action associated with this conversion - // adjustment. Note: Although this resource name consists of a customer id and - // a conversion action id, validation will ignore the customer id and use the - // conversion action id as the sole identifier of the conversion action. - ConversionAction *wrappers.StringValue `protobuf:"bytes,3,opt,name=conversion_action,json=conversionAction,proto3" json:"conversion_action,omitempty"` - // The date time at which the adjustment occurred. Must be after the - // conversion_date_time. The timezone must be specified. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". - AdjustmentDateTime *wrappers.StringValue `protobuf:"bytes,4,opt,name=adjustment_date_time,json=adjustmentDateTime,proto3" json:"adjustment_date_time,omitempty"` - // The adjustment type. - AdjustmentType enums.ConversionAdjustmentTypeEnum_ConversionAdjustmentType `protobuf:"varint,5,opt,name=adjustment_type,json=adjustmentType,proto3,enum=google.ads.googleads.v1.enums.ConversionAdjustmentTypeEnum_ConversionAdjustmentType" json:"adjustment_type,omitempty"` - // Information needed to restate the conversion's value. - // Required for restatements. Should not be supplied for retractions. An error - // will be returned if provided for a retraction. - RestatementValue *RestatementValue `protobuf:"bytes,6,opt,name=restatement_value,json=restatementValue,proto3" json:"restatement_value,omitempty"` - // Identifies the conversion to be adjusted. - // - // Types that are valid to be assigned to ConversionIdentifier: - // *ConversionAdjustment_GclidDateTimePair - // *ConversionAdjustment_OrderId - ConversionIdentifier isConversionAdjustment_ConversionIdentifier `protobuf_oneof:"conversion_identifier"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ConversionAdjustment) Reset() { *m = ConversionAdjustment{} } -func (m *ConversionAdjustment) String() string { return proto.CompactTextString(m) } -func (*ConversionAdjustment) ProtoMessage() {} -func (*ConversionAdjustment) Descriptor() ([]byte, []int) { - return fileDescriptor_418d7f048cc75833, []int{2} -} - -func (m *ConversionAdjustment) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConversionAdjustment.Unmarshal(m, b) -} -func (m *ConversionAdjustment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConversionAdjustment.Marshal(b, m, deterministic) -} -func (m *ConversionAdjustment) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConversionAdjustment.Merge(m, src) -} -func (m *ConversionAdjustment) XXX_Size() int { - return xxx_messageInfo_ConversionAdjustment.Size(m) -} -func (m *ConversionAdjustment) XXX_DiscardUnknown() { - xxx_messageInfo_ConversionAdjustment.DiscardUnknown(m) -} - -var xxx_messageInfo_ConversionAdjustment proto.InternalMessageInfo - -func (m *ConversionAdjustment) GetConversionAction() *wrappers.StringValue { - if m != nil { - return m.ConversionAction - } - return nil -} - -func (m *ConversionAdjustment) GetAdjustmentDateTime() *wrappers.StringValue { - if m != nil { - return m.AdjustmentDateTime - } - return nil -} - -func (m *ConversionAdjustment) GetAdjustmentType() enums.ConversionAdjustmentTypeEnum_ConversionAdjustmentType { - if m != nil { - return m.AdjustmentType - } - return enums.ConversionAdjustmentTypeEnum_UNSPECIFIED -} - -func (m *ConversionAdjustment) GetRestatementValue() *RestatementValue { - if m != nil { - return m.RestatementValue - } - return nil -} - -type isConversionAdjustment_ConversionIdentifier interface { - isConversionAdjustment_ConversionIdentifier() -} - -type ConversionAdjustment_GclidDateTimePair struct { - GclidDateTimePair *GclidDateTimePair `protobuf:"bytes,1,opt,name=gclid_date_time_pair,json=gclidDateTimePair,proto3,oneof"` -} - -type ConversionAdjustment_OrderId struct { - OrderId *wrappers.StringValue `protobuf:"bytes,2,opt,name=order_id,json=orderId,proto3,oneof"` -} - -func (*ConversionAdjustment_GclidDateTimePair) isConversionAdjustment_ConversionIdentifier() {} - -func (*ConversionAdjustment_OrderId) isConversionAdjustment_ConversionIdentifier() {} - -func (m *ConversionAdjustment) GetConversionIdentifier() isConversionAdjustment_ConversionIdentifier { - if m != nil { - return m.ConversionIdentifier - } - return nil -} - -func (m *ConversionAdjustment) GetGclidDateTimePair() *GclidDateTimePair { - if x, ok := m.GetConversionIdentifier().(*ConversionAdjustment_GclidDateTimePair); ok { - return x.GclidDateTimePair - } - return nil -} - -func (m *ConversionAdjustment) GetOrderId() *wrappers.StringValue { - if x, ok := m.GetConversionIdentifier().(*ConversionAdjustment_OrderId); ok { - return x.OrderId - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ConversionAdjustment) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ConversionAdjustment_GclidDateTimePair)(nil), - (*ConversionAdjustment_OrderId)(nil), - } -} - -// Contains information needed to restate a conversion's value. -type RestatementValue struct { - // The restated conversion value. This is the value of the conversion after - // restatement. For example, to change the value of a conversion from 100 to - // 70, an adjusted value of 70 should be reported. - AdjustedValue *wrappers.DoubleValue `protobuf:"bytes,1,opt,name=adjusted_value,json=adjustedValue,proto3" json:"adjusted_value,omitempty"` - // The currency of the restated value. If not provided, then the default - // currency from the conversion action is used, and if that is not set then - // the account currency is used. This is the ISO 4217 3-character currency - // code e.g. USD or EUR. - CurrencyCode *wrappers.StringValue `protobuf:"bytes,2,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RestatementValue) Reset() { *m = RestatementValue{} } -func (m *RestatementValue) String() string { return proto.CompactTextString(m) } -func (*RestatementValue) ProtoMessage() {} -func (*RestatementValue) Descriptor() ([]byte, []int) { - return fileDescriptor_418d7f048cc75833, []int{3} -} - -func (m *RestatementValue) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RestatementValue.Unmarshal(m, b) -} -func (m *RestatementValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RestatementValue.Marshal(b, m, deterministic) -} -func (m *RestatementValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_RestatementValue.Merge(m, src) -} -func (m *RestatementValue) XXX_Size() int { - return xxx_messageInfo_RestatementValue.Size(m) -} -func (m *RestatementValue) XXX_DiscardUnknown() { - xxx_messageInfo_RestatementValue.DiscardUnknown(m) -} - -var xxx_messageInfo_RestatementValue proto.InternalMessageInfo - -func (m *RestatementValue) GetAdjustedValue() *wrappers.DoubleValue { - if m != nil { - return m.AdjustedValue - } - return nil -} - -func (m *RestatementValue) GetCurrencyCode() *wrappers.StringValue { - if m != nil { - return m.CurrencyCode - } - return nil -} - -// Uniquely identifies a conversion that was reported without an order ID -// specified. -type GclidDateTimePair struct { - // Google click ID (gclid) associated with the original conversion for this - // adjustment. - Gclid *wrappers.StringValue `protobuf:"bytes,1,opt,name=gclid,proto3" json:"gclid,omitempty"` - // The date time at which the original conversion for this adjustment - // occurred. The timezone must be specified. The format is "yyyy-mm-dd - // hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". - ConversionDateTime *wrappers.StringValue `protobuf:"bytes,2,opt,name=conversion_date_time,json=conversionDateTime,proto3" json:"conversion_date_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GclidDateTimePair) Reset() { *m = GclidDateTimePair{} } -func (m *GclidDateTimePair) String() string { return proto.CompactTextString(m) } -func (*GclidDateTimePair) ProtoMessage() {} -func (*GclidDateTimePair) Descriptor() ([]byte, []int) { - return fileDescriptor_418d7f048cc75833, []int{4} -} - -func (m *GclidDateTimePair) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GclidDateTimePair.Unmarshal(m, b) -} -func (m *GclidDateTimePair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GclidDateTimePair.Marshal(b, m, deterministic) -} -func (m *GclidDateTimePair) XXX_Merge(src proto.Message) { - xxx_messageInfo_GclidDateTimePair.Merge(m, src) -} -func (m *GclidDateTimePair) XXX_Size() int { - return xxx_messageInfo_GclidDateTimePair.Size(m) -} -func (m *GclidDateTimePair) XXX_DiscardUnknown() { - xxx_messageInfo_GclidDateTimePair.DiscardUnknown(m) -} - -var xxx_messageInfo_GclidDateTimePair proto.InternalMessageInfo - -func (m *GclidDateTimePair) GetGclid() *wrappers.StringValue { - if m != nil { - return m.Gclid - } - return nil -} - -func (m *GclidDateTimePair) GetConversionDateTime() *wrappers.StringValue { - if m != nil { - return m.ConversionDateTime - } - return nil -} - -// Information identifying a successfully processed ConversionAdjustment. -type ConversionAdjustmentResult struct { - // Resource name of the conversion action associated with this conversion - // adjustment. - ConversionAction *wrappers.StringValue `protobuf:"bytes,3,opt,name=conversion_action,json=conversionAction,proto3" json:"conversion_action,omitempty"` - // The date time at which the adjustment occurred. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". - AdjustmentDateTime *wrappers.StringValue `protobuf:"bytes,4,opt,name=adjustment_date_time,json=adjustmentDateTime,proto3" json:"adjustment_date_time,omitempty"` - // The adjustment type. - AdjustmentType enums.ConversionAdjustmentTypeEnum_ConversionAdjustmentType `protobuf:"varint,5,opt,name=adjustment_type,json=adjustmentType,proto3,enum=google.ads.googleads.v1.enums.ConversionAdjustmentTypeEnum_ConversionAdjustmentType" json:"adjustment_type,omitempty"` - // Identifies the conversion that was adjusted. - // - // Types that are valid to be assigned to ConversionIdentifier: - // *ConversionAdjustmentResult_GclidDateTimePair - // *ConversionAdjustmentResult_OrderId - ConversionIdentifier isConversionAdjustmentResult_ConversionIdentifier `protobuf_oneof:"conversion_identifier"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ConversionAdjustmentResult) Reset() { *m = ConversionAdjustmentResult{} } -func (m *ConversionAdjustmentResult) String() string { return proto.CompactTextString(m) } -func (*ConversionAdjustmentResult) ProtoMessage() {} -func (*ConversionAdjustmentResult) Descriptor() ([]byte, []int) { - return fileDescriptor_418d7f048cc75833, []int{5} -} - -func (m *ConversionAdjustmentResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConversionAdjustmentResult.Unmarshal(m, b) -} -func (m *ConversionAdjustmentResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConversionAdjustmentResult.Marshal(b, m, deterministic) -} -func (m *ConversionAdjustmentResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConversionAdjustmentResult.Merge(m, src) -} -func (m *ConversionAdjustmentResult) XXX_Size() int { - return xxx_messageInfo_ConversionAdjustmentResult.Size(m) -} -func (m *ConversionAdjustmentResult) XXX_DiscardUnknown() { - xxx_messageInfo_ConversionAdjustmentResult.DiscardUnknown(m) -} - -var xxx_messageInfo_ConversionAdjustmentResult proto.InternalMessageInfo - -func (m *ConversionAdjustmentResult) GetConversionAction() *wrappers.StringValue { - if m != nil { - return m.ConversionAction - } - return nil -} - -func (m *ConversionAdjustmentResult) GetAdjustmentDateTime() *wrappers.StringValue { - if m != nil { - return m.AdjustmentDateTime - } - return nil -} - -func (m *ConversionAdjustmentResult) GetAdjustmentType() enums.ConversionAdjustmentTypeEnum_ConversionAdjustmentType { - if m != nil { - return m.AdjustmentType - } - return enums.ConversionAdjustmentTypeEnum_UNSPECIFIED -} - -type isConversionAdjustmentResult_ConversionIdentifier interface { - isConversionAdjustmentResult_ConversionIdentifier() -} - -type ConversionAdjustmentResult_GclidDateTimePair struct { - GclidDateTimePair *GclidDateTimePair `protobuf:"bytes,1,opt,name=gclid_date_time_pair,json=gclidDateTimePair,proto3,oneof"` -} - -type ConversionAdjustmentResult_OrderId struct { - OrderId *wrappers.StringValue `protobuf:"bytes,2,opt,name=order_id,json=orderId,proto3,oneof"` -} - -func (*ConversionAdjustmentResult_GclidDateTimePair) isConversionAdjustmentResult_ConversionIdentifier() { -} - -func (*ConversionAdjustmentResult_OrderId) isConversionAdjustmentResult_ConversionIdentifier() {} - -func (m *ConversionAdjustmentResult) GetConversionIdentifier() isConversionAdjustmentResult_ConversionIdentifier { - if m != nil { - return m.ConversionIdentifier - } - return nil -} - -func (m *ConversionAdjustmentResult) GetGclidDateTimePair() *GclidDateTimePair { - if x, ok := m.GetConversionIdentifier().(*ConversionAdjustmentResult_GclidDateTimePair); ok { - return x.GclidDateTimePair - } - return nil -} - -func (m *ConversionAdjustmentResult) GetOrderId() *wrappers.StringValue { - if x, ok := m.GetConversionIdentifier().(*ConversionAdjustmentResult_OrderId); ok { - return x.OrderId - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ConversionAdjustmentResult) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ConversionAdjustmentResult_GclidDateTimePair)(nil), - (*ConversionAdjustmentResult_OrderId)(nil), - } -} - -func init() { - proto.RegisterType((*UploadConversionAdjustmentsRequest)(nil), "google.ads.googleads.v1.services.UploadConversionAdjustmentsRequest") - proto.RegisterType((*UploadConversionAdjustmentsResponse)(nil), "google.ads.googleads.v1.services.UploadConversionAdjustmentsResponse") - proto.RegisterType((*ConversionAdjustment)(nil), "google.ads.googleads.v1.services.ConversionAdjustment") - proto.RegisterType((*RestatementValue)(nil), "google.ads.googleads.v1.services.RestatementValue") - proto.RegisterType((*GclidDateTimePair)(nil), "google.ads.googleads.v1.services.GclidDateTimePair") - proto.RegisterType((*ConversionAdjustmentResult)(nil), "google.ads.googleads.v1.services.ConversionAdjustmentResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/conversion_adjustment_upload_service.proto", fileDescriptor_418d7f048cc75833) -} - -var fileDescriptor_418d7f048cc75833 = []byte{ - // 845 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x56, 0x4f, 0x8f, 0xdb, 0x44, - 0x14, 0xaf, 0xbd, 0xfd, 0xc7, 0x6c, 0x77, 0xdb, 0x0c, 0x5b, 0x1a, 0x85, 0x0a, 0x82, 0x5b, 0x41, - 0xd4, 0x83, 0xad, 0xa4, 0x12, 0x52, 0x0d, 0x54, 0xca, 0x6e, 0xb6, 0xbb, 0x2b, 0x24, 0x58, 0x79, - 0x97, 0x1c, 0x50, 0x24, 0x6b, 0xd6, 0x33, 0xb1, 0x06, 0xd9, 0x33, 0x66, 0x66, 0x1c, 0x14,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0xe3, 0xbe, 0x5b, 0x15, 0x96, 0xbf, 0x98, 0x90, 0xc9, 0x10, 0xcb, - 0xc9, 0x22, 0x64, 0x32, 0xee, 0x4f, 0x4c, 0xc8, 0x1f, 0xf6, 0xfd, 0xd2, 0xee, 0xfb, 0x43, 0x2c, - 0x7d, 0x7f, 0x11, 0xe4, 0xfb, 0xe3, 0xbe, 0xef, 0x9b, 0xb0, 0x8b, 0xab, 0x9a, 0xe7, 0xc3, 0xbf, - 0x03, 0x00, 0x00, 0xff, 0xff, 0x24, 0xe2, 0x40, 0x64, 0x80, 0x0a, 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 - -// ConversionAdjustmentUploadServiceClient is the client API for ConversionAdjustmentUploadService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ConversionAdjustmentUploadServiceClient interface { - // Processes the given conversion adjustments. - UploadConversionAdjustments(ctx context.Context, in *UploadConversionAdjustmentsRequest, opts ...grpc.CallOption) (*UploadConversionAdjustmentsResponse, error) -} - -type conversionAdjustmentUploadServiceClient struct { - cc *grpc.ClientConn -} - -func NewConversionAdjustmentUploadServiceClient(cc *grpc.ClientConn) ConversionAdjustmentUploadServiceClient { - return &conversionAdjustmentUploadServiceClient{cc} -} - -func (c *conversionAdjustmentUploadServiceClient) UploadConversionAdjustments(ctx context.Context, in *UploadConversionAdjustmentsRequest, opts ...grpc.CallOption) (*UploadConversionAdjustmentsResponse, error) { - out := new(UploadConversionAdjustmentsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.ConversionAdjustmentUploadService/UploadConversionAdjustments", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ConversionAdjustmentUploadServiceServer is the server API for ConversionAdjustmentUploadService service. -type ConversionAdjustmentUploadServiceServer interface { - // Processes the given conversion adjustments. - UploadConversionAdjustments(context.Context, *UploadConversionAdjustmentsRequest) (*UploadConversionAdjustmentsResponse, error) -} - -// UnimplementedConversionAdjustmentUploadServiceServer can be embedded to have forward compatible implementations. -type UnimplementedConversionAdjustmentUploadServiceServer struct { -} - -func (*UnimplementedConversionAdjustmentUploadServiceServer) UploadConversionAdjustments(ctx context.Context, req *UploadConversionAdjustmentsRequest) (*UploadConversionAdjustmentsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method UploadConversionAdjustments not implemented") -} - -func RegisterConversionAdjustmentUploadServiceServer(s *grpc.Server, srv ConversionAdjustmentUploadServiceServer) { - s.RegisterService(&_ConversionAdjustmentUploadService_serviceDesc, srv) -} - -func _ConversionAdjustmentUploadService_UploadConversionAdjustments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UploadConversionAdjustmentsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ConversionAdjustmentUploadServiceServer).UploadConversionAdjustments(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.ConversionAdjustmentUploadService/UploadConversionAdjustments", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ConversionAdjustmentUploadServiceServer).UploadConversionAdjustments(ctx, req.(*UploadConversionAdjustmentsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ConversionAdjustmentUploadService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.ConversionAdjustmentUploadService", - HandlerType: (*ConversionAdjustmentUploadServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "UploadConversionAdjustments", - Handler: _ConversionAdjustmentUploadService_UploadConversionAdjustments_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/conversion_adjustment_upload_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/conversion_upload_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/conversion_upload_service.pb.go deleted file mode 100644 index a69c2582..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/conversion_upload_service.pb.go +++ /dev/null @@ -1,864 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/conversion_upload_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [ConversionUploadService.UploadClickConversions][google.ads.googleads.v1.services.ConversionUploadService.UploadClickConversions]. -type UploadClickConversionsRequest struct { - // The ID of the customer performing the upload. - CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` - // The conversions that are being uploaded. - Conversions []*ClickConversion `protobuf:"bytes,2,rep,name=conversions,proto3" json:"conversions,omitempty"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // This should always be set to true. - PartialFailure bool `protobuf:"varint,3,opt,name=partial_failure,json=partialFailure,proto3" json:"partial_failure,omitempty"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UploadClickConversionsRequest) Reset() { *m = UploadClickConversionsRequest{} } -func (m *UploadClickConversionsRequest) String() string { return proto.CompactTextString(m) } -func (*UploadClickConversionsRequest) ProtoMessage() {} -func (*UploadClickConversionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0e4ce88023381c6a, []int{0} -} - -func (m *UploadClickConversionsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UploadClickConversionsRequest.Unmarshal(m, b) -} -func (m *UploadClickConversionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UploadClickConversionsRequest.Marshal(b, m, deterministic) -} -func (m *UploadClickConversionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UploadClickConversionsRequest.Merge(m, src) -} -func (m *UploadClickConversionsRequest) XXX_Size() int { - return xxx_messageInfo_UploadClickConversionsRequest.Size(m) -} -func (m *UploadClickConversionsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UploadClickConversionsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UploadClickConversionsRequest proto.InternalMessageInfo - -func (m *UploadClickConversionsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *UploadClickConversionsRequest) GetConversions() []*ClickConversion { - if m != nil { - return m.Conversions - } - return nil -} - -func (m *UploadClickConversionsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *UploadClickConversionsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// Response message for -// [ConversionUploadService.UploadClickConversions][google.ads.googleads.v1.services.ConversionUploadService.UploadClickConversions]. -type UploadClickConversionsResponse struct { - // Errors that pertain to conversion failures in the partial failure mode. - // Returned when all errors occur inside the conversions. If any errors occur - // outside the conversions (e.g. auth errors), we return an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,1,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // Returned for successfully processed conversions. Proto will be empty for - // rows that received an error. Results are not returned when validate_only is - // true. - Results []*ClickConversionResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UploadClickConversionsResponse) Reset() { *m = UploadClickConversionsResponse{} } -func (m *UploadClickConversionsResponse) String() string { return proto.CompactTextString(m) } -func (*UploadClickConversionsResponse) ProtoMessage() {} -func (*UploadClickConversionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0e4ce88023381c6a, []int{1} -} - -func (m *UploadClickConversionsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UploadClickConversionsResponse.Unmarshal(m, b) -} -func (m *UploadClickConversionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UploadClickConversionsResponse.Marshal(b, m, deterministic) -} -func (m *UploadClickConversionsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UploadClickConversionsResponse.Merge(m, src) -} -func (m *UploadClickConversionsResponse) XXX_Size() int { - return xxx_messageInfo_UploadClickConversionsResponse.Size(m) -} -func (m *UploadClickConversionsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UploadClickConversionsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_UploadClickConversionsResponse proto.InternalMessageInfo - -func (m *UploadClickConversionsResponse) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -func (m *UploadClickConversionsResponse) GetResults() []*ClickConversionResult { - if m != nil { - return m.Results - } - return nil -} - -// Request message for -// [ConversionUploadService.UploadCallConversions][google.ads.googleads.v1.services.ConversionUploadService.UploadCallConversions]. -type UploadCallConversionsRequest struct { - // The ID of the customer performing the upload. - CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` - // The conversions that are being uploaded. - Conversions []*CallConversion `protobuf:"bytes,2,rep,name=conversions,proto3" json:"conversions,omitempty"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // This should always be set to true. - PartialFailure bool `protobuf:"varint,3,opt,name=partial_failure,json=partialFailure,proto3" json:"partial_failure,omitempty"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UploadCallConversionsRequest) Reset() { *m = UploadCallConversionsRequest{} } -func (m *UploadCallConversionsRequest) String() string { return proto.CompactTextString(m) } -func (*UploadCallConversionsRequest) ProtoMessage() {} -func (*UploadCallConversionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0e4ce88023381c6a, []int{2} -} - -func (m *UploadCallConversionsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UploadCallConversionsRequest.Unmarshal(m, b) -} -func (m *UploadCallConversionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UploadCallConversionsRequest.Marshal(b, m, deterministic) -} -func (m *UploadCallConversionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UploadCallConversionsRequest.Merge(m, src) -} -func (m *UploadCallConversionsRequest) XXX_Size() int { - return xxx_messageInfo_UploadCallConversionsRequest.Size(m) -} -func (m *UploadCallConversionsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UploadCallConversionsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UploadCallConversionsRequest proto.InternalMessageInfo - -func (m *UploadCallConversionsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *UploadCallConversionsRequest) GetConversions() []*CallConversion { - if m != nil { - return m.Conversions - } - return nil -} - -func (m *UploadCallConversionsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *UploadCallConversionsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// Response message for -// [ConversionUploadService.UploadCallConversions][google.ads.googleads.v1.services.ConversionUploadService.UploadCallConversions]. -type UploadCallConversionsResponse struct { - // Errors that pertain to conversion failures in the partial failure mode. - // Returned when all errors occur inside the conversions. If any errors occur - // outside the conversions (e.g. auth errors), we return an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,1,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // Returned for successfully processed conversions. Proto will be empty for - // rows that received an error. Results are not returned when validate_only is - // true. - Results []*CallConversionResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UploadCallConversionsResponse) Reset() { *m = UploadCallConversionsResponse{} } -func (m *UploadCallConversionsResponse) String() string { return proto.CompactTextString(m) } -func (*UploadCallConversionsResponse) ProtoMessage() {} -func (*UploadCallConversionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0e4ce88023381c6a, []int{3} -} - -func (m *UploadCallConversionsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UploadCallConversionsResponse.Unmarshal(m, b) -} -func (m *UploadCallConversionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UploadCallConversionsResponse.Marshal(b, m, deterministic) -} -func (m *UploadCallConversionsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UploadCallConversionsResponse.Merge(m, src) -} -func (m *UploadCallConversionsResponse) XXX_Size() int { - return xxx_messageInfo_UploadCallConversionsResponse.Size(m) -} -func (m *UploadCallConversionsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UploadCallConversionsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_UploadCallConversionsResponse proto.InternalMessageInfo - -func (m *UploadCallConversionsResponse) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -func (m *UploadCallConversionsResponse) GetResults() []*CallConversionResult { - if m != nil { - return m.Results - } - return nil -} - -// A click conversion. -type ClickConversion struct { - // The Google click ID (gclid) associated with this conversion. - Gclid *wrappers.StringValue `protobuf:"bytes,1,opt,name=gclid,proto3" json:"gclid,omitempty"` - // Resource name of the conversion action associated with this conversion. - // Note: Although this resource name consists of a customer id and a - // conversion action id, validation will ignore the customer id and use the - // conversion action id as the sole identifier of the conversion action. - ConversionAction *wrappers.StringValue `protobuf:"bytes,2,opt,name=conversion_action,json=conversionAction,proto3" json:"conversion_action,omitempty"` - // The date time at which the conversion occurred. Must be after - // the click time. The timezone must be specified. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. “2019-01-01 12:32:45-08:00”. - ConversionDateTime *wrappers.StringValue `protobuf:"bytes,3,opt,name=conversion_date_time,json=conversionDateTime,proto3" json:"conversion_date_time,omitempty"` - // The value of the conversion for the advertiser. - ConversionValue *wrappers.DoubleValue `protobuf:"bytes,4,opt,name=conversion_value,json=conversionValue,proto3" json:"conversion_value,omitempty"` - // Currency associated with the conversion value. This is the ISO 4217 - // 3-character currency code. For example: USD, EUR. - CurrencyCode *wrappers.StringValue `protobuf:"bytes,5,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"` - // The order ID associated with the conversion. An order id can only be used - // for one conversion per conversion action. - OrderId *wrappers.StringValue `protobuf:"bytes,6,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` - // Additional data about externally attributed conversions. This field - // is required for conversions with an externally attributed conversion - // action, but should not be set otherwise. - ExternalAttributionData *ExternalAttributionData `protobuf:"bytes,7,opt,name=external_attribution_data,json=externalAttributionData,proto3" json:"external_attribution_data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ClickConversion) Reset() { *m = ClickConversion{} } -func (m *ClickConversion) String() string { return proto.CompactTextString(m) } -func (*ClickConversion) ProtoMessage() {} -func (*ClickConversion) Descriptor() ([]byte, []int) { - return fileDescriptor_0e4ce88023381c6a, []int{4} -} - -func (m *ClickConversion) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClickConversion.Unmarshal(m, b) -} -func (m *ClickConversion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClickConversion.Marshal(b, m, deterministic) -} -func (m *ClickConversion) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClickConversion.Merge(m, src) -} -func (m *ClickConversion) XXX_Size() int { - return xxx_messageInfo_ClickConversion.Size(m) -} -func (m *ClickConversion) XXX_DiscardUnknown() { - xxx_messageInfo_ClickConversion.DiscardUnknown(m) -} - -var xxx_messageInfo_ClickConversion proto.InternalMessageInfo - -func (m *ClickConversion) GetGclid() *wrappers.StringValue { - if m != nil { - return m.Gclid - } - return nil -} - -func (m *ClickConversion) GetConversionAction() *wrappers.StringValue { - if m != nil { - return m.ConversionAction - } - return nil -} - -func (m *ClickConversion) GetConversionDateTime() *wrappers.StringValue { - if m != nil { - return m.ConversionDateTime - } - return nil -} - -func (m *ClickConversion) GetConversionValue() *wrappers.DoubleValue { - if m != nil { - return m.ConversionValue - } - return nil -} - -func (m *ClickConversion) GetCurrencyCode() *wrappers.StringValue { - if m != nil { - return m.CurrencyCode - } - return nil -} - -func (m *ClickConversion) GetOrderId() *wrappers.StringValue { - if m != nil { - return m.OrderId - } - return nil -} - -func (m *ClickConversion) GetExternalAttributionData() *ExternalAttributionData { - if m != nil { - return m.ExternalAttributionData - } - return nil -} - -// A call conversion. -type CallConversion struct { - // The caller id from which this call was placed. Caller id is expected to be - // in E.164 format with preceding '+' sign. e.g. "+16502531234". - CallerId *wrappers.StringValue `protobuf:"bytes,1,opt,name=caller_id,json=callerId,proto3" json:"caller_id,omitempty"` - // The date time at which the call occurred. The timezone must be specified. - // The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", - // e.g. "2019-01-01 12:32:45-08:00". - CallStartDateTime *wrappers.StringValue `protobuf:"bytes,2,opt,name=call_start_date_time,json=callStartDateTime,proto3" json:"call_start_date_time,omitempty"` - // Resource name of the conversion action associated with this conversion. - // Note: Although this resource name consists of a customer id and a - // conversion action id, validation will ignore the customer id and use the - // conversion action id as the sole identifier of the conversion action. - ConversionAction *wrappers.StringValue `protobuf:"bytes,3,opt,name=conversion_action,json=conversionAction,proto3" json:"conversion_action,omitempty"` - // The date time at which the conversion occurred. Must be after the call - // time. The timezone must be specified. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". - ConversionDateTime *wrappers.StringValue `protobuf:"bytes,4,opt,name=conversion_date_time,json=conversionDateTime,proto3" json:"conversion_date_time,omitempty"` - // The value of the conversion for the advertiser. - ConversionValue *wrappers.DoubleValue `protobuf:"bytes,5,opt,name=conversion_value,json=conversionValue,proto3" json:"conversion_value,omitempty"` - // Currency associated with the conversion value. This is the ISO 4217 - // 3-character currency code. For example: USD, EUR. - CurrencyCode *wrappers.StringValue `protobuf:"bytes,6,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CallConversion) Reset() { *m = CallConversion{} } -func (m *CallConversion) String() string { return proto.CompactTextString(m) } -func (*CallConversion) ProtoMessage() {} -func (*CallConversion) Descriptor() ([]byte, []int) { - return fileDescriptor_0e4ce88023381c6a, []int{5} -} - -func (m *CallConversion) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CallConversion.Unmarshal(m, b) -} -func (m *CallConversion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CallConversion.Marshal(b, m, deterministic) -} -func (m *CallConversion) XXX_Merge(src proto.Message) { - xxx_messageInfo_CallConversion.Merge(m, src) -} -func (m *CallConversion) XXX_Size() int { - return xxx_messageInfo_CallConversion.Size(m) -} -func (m *CallConversion) XXX_DiscardUnknown() { - xxx_messageInfo_CallConversion.DiscardUnknown(m) -} - -var xxx_messageInfo_CallConversion proto.InternalMessageInfo - -func (m *CallConversion) GetCallerId() *wrappers.StringValue { - if m != nil { - return m.CallerId - } - return nil -} - -func (m *CallConversion) GetCallStartDateTime() *wrappers.StringValue { - if m != nil { - return m.CallStartDateTime - } - return nil -} - -func (m *CallConversion) GetConversionAction() *wrappers.StringValue { - if m != nil { - return m.ConversionAction - } - return nil -} - -func (m *CallConversion) GetConversionDateTime() *wrappers.StringValue { - if m != nil { - return m.ConversionDateTime - } - return nil -} - -func (m *CallConversion) GetConversionValue() *wrappers.DoubleValue { - if m != nil { - return m.ConversionValue - } - return nil -} - -func (m *CallConversion) GetCurrencyCode() *wrappers.StringValue { - if m != nil { - return m.CurrencyCode - } - return nil -} - -// Contains additional information about externally attributed conversions. -type ExternalAttributionData struct { - // Represents the fraction of the conversion that is attributed to the - // Google Ads click. - ExternalAttributionCredit *wrappers.DoubleValue `protobuf:"bytes,1,opt,name=external_attribution_credit,json=externalAttributionCredit,proto3" json:"external_attribution_credit,omitempty"` - // Specifies the attribution model name. - ExternalAttributionModel *wrappers.StringValue `protobuf:"bytes,2,opt,name=external_attribution_model,json=externalAttributionModel,proto3" json:"external_attribution_model,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExternalAttributionData) Reset() { *m = ExternalAttributionData{} } -func (m *ExternalAttributionData) String() string { return proto.CompactTextString(m) } -func (*ExternalAttributionData) ProtoMessage() {} -func (*ExternalAttributionData) Descriptor() ([]byte, []int) { - return fileDescriptor_0e4ce88023381c6a, []int{6} -} - -func (m *ExternalAttributionData) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExternalAttributionData.Unmarshal(m, b) -} -func (m *ExternalAttributionData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExternalAttributionData.Marshal(b, m, deterministic) -} -func (m *ExternalAttributionData) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExternalAttributionData.Merge(m, src) -} -func (m *ExternalAttributionData) XXX_Size() int { - return xxx_messageInfo_ExternalAttributionData.Size(m) -} -func (m *ExternalAttributionData) XXX_DiscardUnknown() { - xxx_messageInfo_ExternalAttributionData.DiscardUnknown(m) -} - -var xxx_messageInfo_ExternalAttributionData proto.InternalMessageInfo - -func (m *ExternalAttributionData) GetExternalAttributionCredit() *wrappers.DoubleValue { - if m != nil { - return m.ExternalAttributionCredit - } - return nil -} - -func (m *ExternalAttributionData) GetExternalAttributionModel() *wrappers.StringValue { - if m != nil { - return m.ExternalAttributionModel - } - return nil -} - -// Identifying information for a successfully processed ClickConversion. -type ClickConversionResult struct { - // The Google Click ID (gclid) associated with this conversion. - Gclid *wrappers.StringValue `protobuf:"bytes,1,opt,name=gclid,proto3" json:"gclid,omitempty"` - // Resource name of the conversion action associated with this conversion. - ConversionAction *wrappers.StringValue `protobuf:"bytes,2,opt,name=conversion_action,json=conversionAction,proto3" json:"conversion_action,omitempty"` - // The date time at which the conversion occurred. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. “2019-01-01 12:32:45-08:00”. - ConversionDateTime *wrappers.StringValue `protobuf:"bytes,3,opt,name=conversion_date_time,json=conversionDateTime,proto3" json:"conversion_date_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ClickConversionResult) Reset() { *m = ClickConversionResult{} } -func (m *ClickConversionResult) String() string { return proto.CompactTextString(m) } -func (*ClickConversionResult) ProtoMessage() {} -func (*ClickConversionResult) Descriptor() ([]byte, []int) { - return fileDescriptor_0e4ce88023381c6a, []int{7} -} - -func (m *ClickConversionResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClickConversionResult.Unmarshal(m, b) -} -func (m *ClickConversionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClickConversionResult.Marshal(b, m, deterministic) -} -func (m *ClickConversionResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClickConversionResult.Merge(m, src) -} -func (m *ClickConversionResult) XXX_Size() int { - return xxx_messageInfo_ClickConversionResult.Size(m) -} -func (m *ClickConversionResult) XXX_DiscardUnknown() { - xxx_messageInfo_ClickConversionResult.DiscardUnknown(m) -} - -var xxx_messageInfo_ClickConversionResult proto.InternalMessageInfo - -func (m *ClickConversionResult) GetGclid() *wrappers.StringValue { - if m != nil { - return m.Gclid - } - return nil -} - -func (m *ClickConversionResult) GetConversionAction() *wrappers.StringValue { - if m != nil { - return m.ConversionAction - } - return nil -} - -func (m *ClickConversionResult) GetConversionDateTime() *wrappers.StringValue { - if m != nil { - return m.ConversionDateTime - } - return nil -} - -// Identifying information for a successfully processed CallConversionUpload. -type CallConversionResult struct { - // The caller id from which this call was placed. Caller id is expected to be - // in E.164 format with preceding '+' sign. - CallerId *wrappers.StringValue `protobuf:"bytes,1,opt,name=caller_id,json=callerId,proto3" json:"caller_id,omitempty"` - // The date time at which the call occurred. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". - CallStartDateTime *wrappers.StringValue `protobuf:"bytes,2,opt,name=call_start_date_time,json=callStartDateTime,proto3" json:"call_start_date_time,omitempty"` - // Resource name of the conversion action associated with this conversion. - ConversionAction *wrappers.StringValue `protobuf:"bytes,3,opt,name=conversion_action,json=conversionAction,proto3" json:"conversion_action,omitempty"` - // The date time at which the conversion occurred. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". - ConversionDateTime *wrappers.StringValue `protobuf:"bytes,4,opt,name=conversion_date_time,json=conversionDateTime,proto3" json:"conversion_date_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CallConversionResult) Reset() { *m = CallConversionResult{} } -func (m *CallConversionResult) String() string { return proto.CompactTextString(m) } -func (*CallConversionResult) ProtoMessage() {} -func (*CallConversionResult) Descriptor() ([]byte, []int) { - return fileDescriptor_0e4ce88023381c6a, []int{8} -} - -func (m *CallConversionResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CallConversionResult.Unmarshal(m, b) -} -func (m *CallConversionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CallConversionResult.Marshal(b, m, deterministic) -} -func (m *CallConversionResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_CallConversionResult.Merge(m, src) -} -func (m *CallConversionResult) XXX_Size() int { - return xxx_messageInfo_CallConversionResult.Size(m) -} -func (m *CallConversionResult) XXX_DiscardUnknown() { - xxx_messageInfo_CallConversionResult.DiscardUnknown(m) -} - -var xxx_messageInfo_CallConversionResult proto.InternalMessageInfo - -func (m *CallConversionResult) GetCallerId() *wrappers.StringValue { - if m != nil { - return m.CallerId - } - return nil -} - -func (m *CallConversionResult) GetCallStartDateTime() *wrappers.StringValue { - if m != nil { - return m.CallStartDateTime - } - return nil -} - -func (m *CallConversionResult) GetConversionAction() *wrappers.StringValue { - if m != nil { - return m.ConversionAction - } - return nil -} - -func (m *CallConversionResult) GetConversionDateTime() *wrappers.StringValue { - if m != nil { - return m.ConversionDateTime - } - return nil -} - -func init() { - proto.RegisterType((*UploadClickConversionsRequest)(nil), "google.ads.googleads.v1.services.UploadClickConversionsRequest") - proto.RegisterType((*UploadClickConversionsResponse)(nil), "google.ads.googleads.v1.services.UploadClickConversionsResponse") - proto.RegisterType((*UploadCallConversionsRequest)(nil), "google.ads.googleads.v1.services.UploadCallConversionsRequest") - proto.RegisterType((*UploadCallConversionsResponse)(nil), "google.ads.googleads.v1.services.UploadCallConversionsResponse") - proto.RegisterType((*ClickConversion)(nil), "google.ads.googleads.v1.services.ClickConversion") - proto.RegisterType((*CallConversion)(nil), "google.ads.googleads.v1.services.CallConversion") - proto.RegisterType((*ExternalAttributionData)(nil), "google.ads.googleads.v1.services.ExternalAttributionData") - proto.RegisterType((*ClickConversionResult)(nil), "google.ads.googleads.v1.services.ClickConversionResult") - proto.RegisterType((*CallConversionResult)(nil), "google.ads.googleads.v1.services.CallConversionResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/conversion_upload_service.proto", fileDescriptor_0e4ce88023381c6a) -} - -var fileDescriptor_0e4ce88023381c6a = []byte{ - // 925 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x57, 0x4d, 0x6f, 0x1b, 0x45, - 0x18, 0xd6, 0xda, 0xf9, 0xea, 0xb8, 0x6d, 0xe8, 0x90, 0x10, 0xd7, 0x84, 0x62, 0x2d, 0x95, 0x88, - 0x72, 0xd8, 0xc5, 0x2e, 0xa2, 0x64, 0x11, 0x4d, 0xdd, 0xa4, 0x0d, 0x39, 0x14, 0xc2, 0x1a, 0x72, - 0xa8, 0x2c, 0xad, 0x26, 0x3b, 0x53, 0x6b, 0xc5, 0x78, 0x67, 0x99, 0x99, 0x35, 0x44, 0x88, 0x0b, - 0xfc, 0x04, 0xae, 0x9c, 0x38, 0xf2, 0x0f, 0x50, 0x4e, 0x5c, 0xb9, 0xe6, 0xc2, 0x81, 0x0b, 0x02, - 0x71, 0xe0, 0x57, 0xa0, 0x9d, 0xdd, 0xf1, 0x3a, 0xd6, 0x1a, 0x6f, 0x22, 0x73, 0x41, 0xbd, 0x8d, - 0x67, 0xde, 0xe7, 0x79, 0x3f, 0x9e, 0x77, 0xc6, 0xef, 0x82, 0x87, 0x7d, 0xc6, 0xfa, 0x94, 0xd8, - 0x08, 0x0b, 0x3b, 0x5d, 0x26, 0xab, 0x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a, 0x4f, 0x2f, 0x7e, 0xa8, 0x54, 0x0f, 0x3a, 0x9d, 0x1f, 0x2b, 0xcd, 0x83, 0x94, 0xb0, 0x83, - 0x85, 0x95, 0x2e, 0x93, 0xd5, 0x71, 0xcb, 0xca, 0x1c, 0x8b, 0x5f, 0xb4, 0x49, 0xaf, 0x83, 0x45, - 0x6f, 0x64, 0xd2, 0x3b, 0x6e, 0xf5, 0xb4, 0xc9, 0xdf, 0x95, 0xbb, 0xe9, 0xbe, 0xe3, 0x74, 0xb0, - 0x70, 0x9c, 0x91, 0x91, 0xe3, 0x1c, 0xb7, 0x1c, 0x47, 0x9b, 0x9d, 0x2c, 0xa9, 0x38, 0xef, 0xfd, - 0x13, 0x00, 0x00, 0xff, 0xff, 0x20, 0x70, 0x8a, 0x01, 0xc3, 0x0d, 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 - -// ConversionUploadServiceClient is the client API for ConversionUploadService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ConversionUploadServiceClient interface { - // Processes the given click conversions. - UploadClickConversions(ctx context.Context, in *UploadClickConversionsRequest, opts ...grpc.CallOption) (*UploadClickConversionsResponse, error) - // Processes the given call conversions. - UploadCallConversions(ctx context.Context, in *UploadCallConversionsRequest, opts ...grpc.CallOption) (*UploadCallConversionsResponse, error) -} - -type conversionUploadServiceClient struct { - cc *grpc.ClientConn -} - -func NewConversionUploadServiceClient(cc *grpc.ClientConn) ConversionUploadServiceClient { - return &conversionUploadServiceClient{cc} -} - -func (c *conversionUploadServiceClient) UploadClickConversions(ctx context.Context, in *UploadClickConversionsRequest, opts ...grpc.CallOption) (*UploadClickConversionsResponse, error) { - out := new(UploadClickConversionsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.ConversionUploadService/UploadClickConversions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *conversionUploadServiceClient) UploadCallConversions(ctx context.Context, in *UploadCallConversionsRequest, opts ...grpc.CallOption) (*UploadCallConversionsResponse, error) { - out := new(UploadCallConversionsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.ConversionUploadService/UploadCallConversions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ConversionUploadServiceServer is the server API for ConversionUploadService service. -type ConversionUploadServiceServer interface { - // Processes the given click conversions. - UploadClickConversions(context.Context, *UploadClickConversionsRequest) (*UploadClickConversionsResponse, error) - // Processes the given call conversions. - UploadCallConversions(context.Context, *UploadCallConversionsRequest) (*UploadCallConversionsResponse, error) -} - -// UnimplementedConversionUploadServiceServer can be embedded to have forward compatible implementations. -type UnimplementedConversionUploadServiceServer struct { -} - -func (*UnimplementedConversionUploadServiceServer) UploadClickConversions(ctx context.Context, req *UploadClickConversionsRequest) (*UploadClickConversionsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method UploadClickConversions not implemented") -} -func (*UnimplementedConversionUploadServiceServer) UploadCallConversions(ctx context.Context, req *UploadCallConversionsRequest) (*UploadCallConversionsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method UploadCallConversions not implemented") -} - -func RegisterConversionUploadServiceServer(s *grpc.Server, srv ConversionUploadServiceServer) { - s.RegisterService(&_ConversionUploadService_serviceDesc, srv) -} - -func _ConversionUploadService_UploadClickConversions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UploadClickConversionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ConversionUploadServiceServer).UploadClickConversions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.ConversionUploadService/UploadClickConversions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ConversionUploadServiceServer).UploadClickConversions(ctx, req.(*UploadClickConversionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ConversionUploadService_UploadCallConversions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UploadCallConversionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ConversionUploadServiceServer).UploadCallConversions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.ConversionUploadService/UploadCallConversions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ConversionUploadServiceServer).UploadCallConversions(ctx, req.(*UploadCallConversionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ConversionUploadService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.ConversionUploadService", - HandlerType: (*ConversionUploadServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "UploadClickConversions", - Handler: _ConversionUploadService_UploadClickConversions_Handler, - }, - { - MethodName: "UploadCallConversions", - Handler: _ConversionUploadService_UploadCallConversions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/conversion_upload_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/custom_interest_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/custom_interest_service.pb.go deleted file mode 100644 index 20732994..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/custom_interest_service.pb.go +++ /dev/null @@ -1,483 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/custom_interest_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [CustomInterestService.GetCustomInterest][google.ads.googleads.v1.services.CustomInterestService.GetCustomInterest]. -type GetCustomInterestRequest struct { - // The resource name of the custom interest 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 *GetCustomInterestRequest) Reset() { *m = GetCustomInterestRequest{} } -func (m *GetCustomInterestRequest) String() string { return proto.CompactTextString(m) } -func (*GetCustomInterestRequest) ProtoMessage() {} -func (*GetCustomInterestRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ddfad66fd19c3e99, []int{0} -} - -func (m *GetCustomInterestRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCustomInterestRequest.Unmarshal(m, b) -} -func (m *GetCustomInterestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCustomInterestRequest.Marshal(b, m, deterministic) -} -func (m *GetCustomInterestRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCustomInterestRequest.Merge(m, src) -} -func (m *GetCustomInterestRequest) XXX_Size() int { - return xxx_messageInfo_GetCustomInterestRequest.Size(m) -} -func (m *GetCustomInterestRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetCustomInterestRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetCustomInterestRequest proto.InternalMessageInfo - -func (m *GetCustomInterestRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for -// [CustomInterestService.MutateCustomInterests][google.ads.googleads.v1.services.CustomInterestService.MutateCustomInterests]. -type MutateCustomInterestsRequest struct { - // The ID of the customer whose custom interests 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 custom interests. - Operations []*CustomInterestOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCustomInterestsRequest) Reset() { *m = MutateCustomInterestsRequest{} } -func (m *MutateCustomInterestsRequest) String() string { return proto.CompactTextString(m) } -func (*MutateCustomInterestsRequest) ProtoMessage() {} -func (*MutateCustomInterestsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ddfad66fd19c3e99, []int{1} -} - -func (m *MutateCustomInterestsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCustomInterestsRequest.Unmarshal(m, b) -} -func (m *MutateCustomInterestsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCustomInterestsRequest.Marshal(b, m, deterministic) -} -func (m *MutateCustomInterestsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomInterestsRequest.Merge(m, src) -} -func (m *MutateCustomInterestsRequest) XXX_Size() int { - return xxx_messageInfo_MutateCustomInterestsRequest.Size(m) -} -func (m *MutateCustomInterestsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCustomInterestsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCustomInterestsRequest proto.InternalMessageInfo - -func (m *MutateCustomInterestsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateCustomInterestsRequest) GetOperations() []*CustomInterestOperation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *MutateCustomInterestsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// A single operation (create, update) on a custom interest. -type CustomInterestOperation 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: - // *CustomInterestOperation_Create - // *CustomInterestOperation_Update - Operation isCustomInterestOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomInterestOperation) Reset() { *m = CustomInterestOperation{} } -func (m *CustomInterestOperation) String() string { return proto.CompactTextString(m) } -func (*CustomInterestOperation) ProtoMessage() {} -func (*CustomInterestOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_ddfad66fd19c3e99, []int{2} -} - -func (m *CustomInterestOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomInterestOperation.Unmarshal(m, b) -} -func (m *CustomInterestOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomInterestOperation.Marshal(b, m, deterministic) -} -func (m *CustomInterestOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomInterestOperation.Merge(m, src) -} -func (m *CustomInterestOperation) XXX_Size() int { - return xxx_messageInfo_CustomInterestOperation.Size(m) -} -func (m *CustomInterestOperation) XXX_DiscardUnknown() { - xxx_messageInfo_CustomInterestOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomInterestOperation proto.InternalMessageInfo - -func (m *CustomInterestOperation) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -type isCustomInterestOperation_Operation interface { - isCustomInterestOperation_Operation() -} - -type CustomInterestOperation_Create struct { - Create *resources.CustomInterest `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type CustomInterestOperation_Update struct { - Update *resources.CustomInterest `protobuf:"bytes,2,opt,name=update,proto3,oneof"` -} - -func (*CustomInterestOperation_Create) isCustomInterestOperation_Operation() {} - -func (*CustomInterestOperation_Update) isCustomInterestOperation_Operation() {} - -func (m *CustomInterestOperation) GetOperation() isCustomInterestOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *CustomInterestOperation) GetCreate() *resources.CustomInterest { - if x, ok := m.GetOperation().(*CustomInterestOperation_Create); ok { - return x.Create - } - return nil -} - -func (m *CustomInterestOperation) GetUpdate() *resources.CustomInterest { - if x, ok := m.GetOperation().(*CustomInterestOperation_Update); ok { - return x.Update - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CustomInterestOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CustomInterestOperation_Create)(nil), - (*CustomInterestOperation_Update)(nil), - } -} - -// Response message for custom interest mutate. -type MutateCustomInterestsResponse struct { - // All results for the mutate. - Results []*MutateCustomInterestResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCustomInterestsResponse) Reset() { *m = MutateCustomInterestsResponse{} } -func (m *MutateCustomInterestsResponse) String() string { return proto.CompactTextString(m) } -func (*MutateCustomInterestsResponse) ProtoMessage() {} -func (*MutateCustomInterestsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ddfad66fd19c3e99, []int{3} -} - -func (m *MutateCustomInterestsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCustomInterestsResponse.Unmarshal(m, b) -} -func (m *MutateCustomInterestsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCustomInterestsResponse.Marshal(b, m, deterministic) -} -func (m *MutateCustomInterestsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomInterestsResponse.Merge(m, src) -} -func (m *MutateCustomInterestsResponse) XXX_Size() int { - return xxx_messageInfo_MutateCustomInterestsResponse.Size(m) -} -func (m *MutateCustomInterestsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCustomInterestsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCustomInterestsResponse proto.InternalMessageInfo - -func (m *MutateCustomInterestsResponse) GetResults() []*MutateCustomInterestResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for the custom interest mutate. -type MutateCustomInterestResult 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 *MutateCustomInterestResult) Reset() { *m = MutateCustomInterestResult{} } -func (m *MutateCustomInterestResult) String() string { return proto.CompactTextString(m) } -func (*MutateCustomInterestResult) ProtoMessage() {} -func (*MutateCustomInterestResult) Descriptor() ([]byte, []int) { - return fileDescriptor_ddfad66fd19c3e99, []int{4} -} - -func (m *MutateCustomInterestResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCustomInterestResult.Unmarshal(m, b) -} -func (m *MutateCustomInterestResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCustomInterestResult.Marshal(b, m, deterministic) -} -func (m *MutateCustomInterestResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomInterestResult.Merge(m, src) -} -func (m *MutateCustomInterestResult) XXX_Size() int { - return xxx_messageInfo_MutateCustomInterestResult.Size(m) -} -func (m *MutateCustomInterestResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCustomInterestResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCustomInterestResult proto.InternalMessageInfo - -func (m *MutateCustomInterestResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetCustomInterestRequest)(nil), "google.ads.googleads.v1.services.GetCustomInterestRequest") - proto.RegisterType((*MutateCustomInterestsRequest)(nil), "google.ads.googleads.v1.services.MutateCustomInterestsRequest") - proto.RegisterType((*CustomInterestOperation)(nil), "google.ads.googleads.v1.services.CustomInterestOperation") - proto.RegisterType((*MutateCustomInterestsResponse)(nil), "google.ads.googleads.v1.services.MutateCustomInterestsResponse") - proto.RegisterType((*MutateCustomInterestResult)(nil), "google.ads.googleads.v1.services.MutateCustomInterestResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/custom_interest_service.proto", fileDescriptor_ddfad66fd19c3e99) -} - -var fileDescriptor_ddfad66fd19c3e99 = []byte{ - // 633 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x94, 0x41, 0x6b, 0xd4, 0x40, - 0x14, 0xc7, 0x4d, 0x2a, 0xd5, 0x4e, 0xea, 0xc1, 0x40, 0x71, 0x09, 0x55, 0x97, 0xd8, 0xc3, 0xb2, - 0x87, 0x84, 0x6c, 0x05, 0xd9, 0xd4, 0x76, 0xc9, 0x0a, 0x6e, 0x8b, 0xd4, 0x96, 0x08, 0x0b, 0xca, - 0x42, 0x98, 0x6e, 0xa6, 0x21, 0x34, 0xc9, 0xc4, 0x99, 0xc9, 0x96, 0x52, 0x7a, 0xd0, 0xaf, 0xe0, - 0x37, 0xf0, 0xe8, 0xd5, 0xb3, 0x78, 0xf7, 0xea, 0xc9, 0xbb, 0x27, 0xbf, 0x83, 0x20, 0xc9, 0x64, - 0x62, 0x77, 0xdd, 0xb0, 0x5a, 0x6f, 0x2f, 0x93, 0xf7, 0x7e, 0xef, 0xfd, 0xdf, 0x9b, 0x37, 0x60, - 0x27, 0xc0, 0x38, 0x88, 0x90, 0x09, 0x7d, 0x6a, 0x72, 0x33, 0xb7, 0x26, 0x96, 0x49, 0x11, 0x99, - 0x84, 0x63, 0x44, 0xcd, 0x71, 0x46, 0x19, 0x8e, 0xbd, 0x30, 0x61, 0x88, 0x20, 0xca, 0xbc, 0xf2, - 0x87, 0x91, 0x12, 0xcc, 0xb0, 0xda, 0xe4, 0x41, 0x06, 0xf4, 0xa9, 0x51, 0xc5, 0x1b, 0x13, 0xcb, - 0x10, 0xf1, 0xda, 0xa3, 0xba, 0x0c, 0x04, 0x51, 0x9c, 0x91, 0x39, 0x29, 0x38, 0x5a, 0x5b, 0x17, - 0x81, 0x69, 0x68, 0xc2, 0x24, 0xc1, 0x0c, 0xb2, 0x10, 0x27, 0xb4, 0xfc, 0x5b, 0x26, 0x36, 0x8b, - 0xaf, 0xa3, 0xec, 0xd8, 0x3c, 0x0e, 0x51, 0xe4, 0x7b, 0x31, 0xa4, 0x27, 0xa5, 0xc7, 0xbd, 0x59, - 0x8f, 0x53, 0x02, 0xd3, 0x14, 0x91, 0x92, 0xa0, 0xf7, 0x40, 0x63, 0x80, 0xd8, 0x93, 0x22, 0xf7, - 0x5e, 0x99, 0xda, 0x45, 0xaf, 0x33, 0x44, 0x99, 0xfa, 0x00, 0xdc, 0x12, 0xe5, 0x79, 0x09, 0x8c, - 0x51, 0x43, 0x6a, 0x4a, 0xad, 0x15, 0x77, 0x55, 0x1c, 0x3e, 0x87, 0x31, 0xd2, 0x3f, 0x4b, 0x60, - 0x7d, 0x3f, 0x63, 0x90, 0xa1, 0x69, 0x08, 0x15, 0x94, 0xfb, 0x40, 0xe1, 0xd2, 0x10, 0xf1, 0x42, - 0xbf, 0x64, 0x00, 0x71, 0xb4, 0xe7, 0xab, 0x2f, 0x01, 0xc0, 0x29, 0x22, 0x5c, 0x58, 0x43, 0x6e, - 0x2e, 0xb5, 0x94, 0x4e, 0xd7, 0x58, 0xd4, 0x52, 0x63, 0x3a, 0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, - 0x01, 0xd4, 0x6c, 0x97, 0xbb, 0x5f, 0x75, 0xde, 0x6c, 0x5f, 0xa8, 0xdf, 0x24, 0xb0, 0x36, 0x77, - 0x2c, 0xea, 0xce, 0xd5, 0xba, 0x2f, 0x16, 0x52, 0xeb, 0x5d, 0x39, 0x9e, 0xdf, 0x07, 0xbd, 0x57, - 0xa8, 0xea, 0xea, 0x0f, 0x73, 0x55, 0xbf, 0x65, 0x9c, 0x5f, 0x5a, 0xf3, 0xed, 0xf6, 0xc5, 0xac, - 0x28, 0x3b, 0x2e, 0xa0, 0xb6, 0xd4, 0xee, 0xbf, 0x91, 0xc1, 0xc6, 0x18, 0xc7, 0x0b, 0xeb, 0xe8, - 0x6b, 0x73, 0x67, 0x7b, 0x98, 0xaf, 0xdd, 0xa1, 0xf4, 0x6a, 0xb7, 0x8c, 0x0f, 0x70, 0x04, 0x93, - 0xc0, 0xc0, 0x24, 0x30, 0x03, 0x94, 0x14, 0x4b, 0x29, 0x1e, 0xd9, 0x34, 0xa4, 0xf5, 0xaf, 0xfa, - 0x96, 0x30, 0xde, 0xcb, 0x4b, 0x03, 0xc7, 0xf9, 0x20, 0x37, 0x07, 0x1c, 0xe8, 0xf8, 0xd4, 0xe0, - 0x66, 0x6e, 0x0d, 0x2d, 0xa3, 0x4c, 0x4c, 0xbf, 0x08, 0x97, 0x91, 0xe3, 0xd3, 0x51, 0xe5, 0x32, - 0x1a, 0x5a, 0x23, 0xe1, 0xf2, 0x43, 0xde, 0xe0, 0xe7, 0xb6, 0xed, 0xf8, 0xd4, 0xb6, 0x2b, 0x27, - 0xdb, 0x1e, 0x5a, 0xb6, 0x2d, 0xdc, 0x8e, 0x96, 0x8b, 0x3a, 0x37, 0x7f, 0x05, 0x00, 0x00, 0xff, - 0xff, 0x62, 0xea, 0xe7, 0xce, 0x7c, 0x06, 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 - -// CustomInterestServiceClient is the client API for CustomInterestService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type CustomInterestServiceClient interface { - // Returns the requested custom interest in full detail. - GetCustomInterest(ctx context.Context, in *GetCustomInterestRequest, opts ...grpc.CallOption) (*resources.CustomInterest, error) - // Creates or updates custom interests. Operation statuses are returned. - MutateCustomInterests(ctx context.Context, in *MutateCustomInterestsRequest, opts ...grpc.CallOption) (*MutateCustomInterestsResponse, error) -} - -type customInterestServiceClient struct { - cc *grpc.ClientConn -} - -func NewCustomInterestServiceClient(cc *grpc.ClientConn) CustomInterestServiceClient { - return &customInterestServiceClient{cc} -} - -func (c *customInterestServiceClient) GetCustomInterest(ctx context.Context, in *GetCustomInterestRequest, opts ...grpc.CallOption) (*resources.CustomInterest, error) { - out := new(resources.CustomInterest) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.CustomInterestService/GetCustomInterest", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *customInterestServiceClient) MutateCustomInterests(ctx context.Context, in *MutateCustomInterestsRequest, opts ...grpc.CallOption) (*MutateCustomInterestsResponse, error) { - out := new(MutateCustomInterestsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.CustomInterestService/MutateCustomInterests", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// CustomInterestServiceServer is the server API for CustomInterestService service. -type CustomInterestServiceServer interface { - // Returns the requested custom interest in full detail. - GetCustomInterest(context.Context, *GetCustomInterestRequest) (*resources.CustomInterest, error) - // Creates or updates custom interests. Operation statuses are returned. - MutateCustomInterests(context.Context, *MutateCustomInterestsRequest) (*MutateCustomInterestsResponse, error) -} - -// UnimplementedCustomInterestServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCustomInterestServiceServer struct { -} - -func (*UnimplementedCustomInterestServiceServer) GetCustomInterest(ctx context.Context, req *GetCustomInterestRequest) (*resources.CustomInterest, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCustomInterest not implemented") -} -func (*UnimplementedCustomInterestServiceServer) MutateCustomInterests(ctx context.Context, req *MutateCustomInterestsRequest) (*MutateCustomInterestsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method MutateCustomInterests not implemented") -} - -func RegisterCustomInterestServiceServer(s *grpc.Server, srv CustomInterestServiceServer) { - s.RegisterService(&_CustomInterestService_serviceDesc, srv) -} - -func _CustomInterestService_GetCustomInterest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetCustomInterestRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CustomInterestServiceServer).GetCustomInterest(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.CustomInterestService/GetCustomInterest", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CustomInterestServiceServer).GetCustomInterest(ctx, req.(*GetCustomInterestRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CustomInterestService_MutateCustomInterests_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateCustomInterestsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CustomInterestServiceServer).MutateCustomInterests(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.CustomInterestService/MutateCustomInterests", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CustomInterestServiceServer).MutateCustomInterests(ctx, req.(*MutateCustomInterestsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _CustomInterestService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.CustomInterestService", - HandlerType: (*CustomInterestServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetCustomInterest", - Handler: _CustomInterestService_GetCustomInterest_Handler, - }, - { - MethodName: "MutateCustomInterests", - Handler: _CustomInterestService_MutateCustomInterests_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/custom_interest_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/customer_client_link_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/customer_client_link_service.pb.go deleted file mode 100644 index 445c54bc..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/customer_client_link_service.pb.go +++ /dev/null @@ -1,472 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/customer_client_link_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [CustomerClientLinkService.GetCustomerClientLink][google.ads.googleads.v1.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_e1d0479edf27af92, []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 (m *GetCustomerClientLinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCustomerClientLinkRequest.Merge(m, 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 "" -} - -// Request message for -// [CustomerClientLinkService.MutateCustomerClientLink][google.ads.googleads.v1.services.CustomerClientLinkService.MutateCustomerClientLink]. -type MutateCustomerClientLinkRequest struct { - // The ID of the customer whose customer link are being modified. - CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` - // The operation to perform on the individual CustomerClientLink. - Operation *CustomerClientLinkOperation `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCustomerClientLinkRequest) Reset() { *m = MutateCustomerClientLinkRequest{} } -func (m *MutateCustomerClientLinkRequest) String() string { return proto.CompactTextString(m) } -func (*MutateCustomerClientLinkRequest) ProtoMessage() {} -func (*MutateCustomerClientLinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e1d0479edf27af92, []int{1} -} - -func (m *MutateCustomerClientLinkRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCustomerClientLinkRequest.Unmarshal(m, b) -} -func (m *MutateCustomerClientLinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCustomerClientLinkRequest.Marshal(b, m, deterministic) -} -func (m *MutateCustomerClientLinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerClientLinkRequest.Merge(m, src) -} -func (m *MutateCustomerClientLinkRequest) XXX_Size() int { - return xxx_messageInfo_MutateCustomerClientLinkRequest.Size(m) -} -func (m *MutateCustomerClientLinkRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCustomerClientLinkRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCustomerClientLinkRequest proto.InternalMessageInfo - -func (m *MutateCustomerClientLinkRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateCustomerClientLinkRequest) GetOperation() *CustomerClientLinkOperation { - if m != nil { - return m.Operation - } - return nil -} - -// A single operation (create, update) on a CustomerClientLink. -type CustomerClientLinkOperation 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: - // *CustomerClientLinkOperation_Create - // *CustomerClientLinkOperation_Update - Operation isCustomerClientLinkOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomerClientLinkOperation) Reset() { *m = CustomerClientLinkOperation{} } -func (m *CustomerClientLinkOperation) String() string { return proto.CompactTextString(m) } -func (*CustomerClientLinkOperation) ProtoMessage() {} -func (*CustomerClientLinkOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_e1d0479edf27af92, []int{2} -} - -func (m *CustomerClientLinkOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomerClientLinkOperation.Unmarshal(m, b) -} -func (m *CustomerClientLinkOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomerClientLinkOperation.Marshal(b, m, deterministic) -} -func (m *CustomerClientLinkOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerClientLinkOperation.Merge(m, src) -} -func (m *CustomerClientLinkOperation) XXX_Size() int { - return xxx_messageInfo_CustomerClientLinkOperation.Size(m) -} -func (m *CustomerClientLinkOperation) XXX_DiscardUnknown() { - xxx_messageInfo_CustomerClientLinkOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomerClientLinkOperation proto.InternalMessageInfo - -func (m *CustomerClientLinkOperation) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -type isCustomerClientLinkOperation_Operation interface { - isCustomerClientLinkOperation_Operation() -} - -type CustomerClientLinkOperation_Create struct { - Create *resources.CustomerClientLink `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type CustomerClientLinkOperation_Update struct { - Update *resources.CustomerClientLink `protobuf:"bytes,2,opt,name=update,proto3,oneof"` -} - -func (*CustomerClientLinkOperation_Create) isCustomerClientLinkOperation_Operation() {} - -func (*CustomerClientLinkOperation_Update) isCustomerClientLinkOperation_Operation() {} - -func (m *CustomerClientLinkOperation) GetOperation() isCustomerClientLinkOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *CustomerClientLinkOperation) GetCreate() *resources.CustomerClientLink { - if x, ok := m.GetOperation().(*CustomerClientLinkOperation_Create); ok { - return x.Create - } - return nil -} - -func (m *CustomerClientLinkOperation) GetUpdate() *resources.CustomerClientLink { - if x, ok := m.GetOperation().(*CustomerClientLinkOperation_Update); ok { - return x.Update - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CustomerClientLinkOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CustomerClientLinkOperation_Create)(nil), - (*CustomerClientLinkOperation_Update)(nil), - } -} - -// Response message for a CustomerClientLink mutate. -type MutateCustomerClientLinkResponse struct { - // A result that identifies the resource affected by the mutate request. - Result *MutateCustomerClientLinkResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCustomerClientLinkResponse) Reset() { *m = MutateCustomerClientLinkResponse{} } -func (m *MutateCustomerClientLinkResponse) String() string { return proto.CompactTextString(m) } -func (*MutateCustomerClientLinkResponse) ProtoMessage() {} -func (*MutateCustomerClientLinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e1d0479edf27af92, []int{3} -} - -func (m *MutateCustomerClientLinkResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCustomerClientLinkResponse.Unmarshal(m, b) -} -func (m *MutateCustomerClientLinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCustomerClientLinkResponse.Marshal(b, m, deterministic) -} -func (m *MutateCustomerClientLinkResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerClientLinkResponse.Merge(m, src) -} -func (m *MutateCustomerClientLinkResponse) XXX_Size() int { - return xxx_messageInfo_MutateCustomerClientLinkResponse.Size(m) -} -func (m *MutateCustomerClientLinkResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCustomerClientLinkResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCustomerClientLinkResponse proto.InternalMessageInfo - -func (m *MutateCustomerClientLinkResponse) GetResult() *MutateCustomerClientLinkResult { - if m != nil { - return m.Result - } - return nil -} - -// The result for a single customer client link mutate. -type MutateCustomerClientLinkResult 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 *MutateCustomerClientLinkResult) Reset() { *m = MutateCustomerClientLinkResult{} } -func (m *MutateCustomerClientLinkResult) String() string { return proto.CompactTextString(m) } -func (*MutateCustomerClientLinkResult) ProtoMessage() {} -func (*MutateCustomerClientLinkResult) Descriptor() ([]byte, []int) { - return fileDescriptor_e1d0479edf27af92, []int{4} -} - -func (m *MutateCustomerClientLinkResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCustomerClientLinkResult.Unmarshal(m, b) -} -func (m *MutateCustomerClientLinkResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCustomerClientLinkResult.Marshal(b, m, deterministic) -} -func (m *MutateCustomerClientLinkResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerClientLinkResult.Merge(m, src) -} -func (m *MutateCustomerClientLinkResult) XXX_Size() int { - return xxx_messageInfo_MutateCustomerClientLinkResult.Size(m) -} -func (m *MutateCustomerClientLinkResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCustomerClientLinkResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCustomerClientLinkResult proto.InternalMessageInfo - -func (m *MutateCustomerClientLinkResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetCustomerClientLinkRequest)(nil), "google.ads.googleads.v1.services.GetCustomerClientLinkRequest") - proto.RegisterType((*MutateCustomerClientLinkRequest)(nil), "google.ads.googleads.v1.services.MutateCustomerClientLinkRequest") - proto.RegisterType((*CustomerClientLinkOperation)(nil), "google.ads.googleads.v1.services.CustomerClientLinkOperation") - proto.RegisterType((*MutateCustomerClientLinkResponse)(nil), "google.ads.googleads.v1.services.MutateCustomerClientLinkResponse") - proto.RegisterType((*MutateCustomerClientLinkResult)(nil), "google.ads.googleads.v1.services.MutateCustomerClientLinkResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/customer_client_link_service.proto", fileDescriptor_e1d0479edf27af92) -} - -var fileDescriptor_e1d0479edf27af92 = []byte{ - // 612 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x94, 0x41, 0x8b, 0xd3, 0x40, - 0x14, 0xc7, 0x4d, 0x56, 0x0a, 0x3b, 0xd5, 0x4b, 0x40, 0xa8, 0x75, 0xe9, 0x96, 0xb8, 0x87, 0xa5, - 0x87, 0x09, 0xad, 0x2c, 0x4a, 0xd6, 0x8a, 0x69, 0xd1, 0xae, 0xe0, 0xba, 0x4b, 0x84, 0x22, 0x5a, - 0x28, 0xb3, 0xcd, 0x6c, 0x08, 0x4d, 0x32, 0x71, 0x66, 0x52, 0x0f, 0xeb, 0x5e, 0x04, 0x0f, 0x9e, - 0xfd, 0x00, 0x82, 0x47, 0x3f, 0x8a, 0xe0, 0x49, 0x3f, 0x82, 0x78, 0xf0, 0x53, 0x48, 0x32, 0x33, - 0xe9, 0xea, 0x36, 0xad, 0xec, 0xde, 0x5e, 0x26, 0xef, 0xfd, 0xde, 0xfb, 0xbf, 0x37, 0x6f, 0x40, - 0xdf, 0x27, 0xc4, 0x0f, 0xb1, 0x85, 0x3c, 0x66, 0x09, 0x33, 0xb3, 0x66, 0x6d, 0x8b, 0x61, 0x3a, - 0x0b, 0x26, 0x98, 0x59, 0x93, 0x94, 0x71, 0x12, 0x61, 0x3a, 0x9e, 0x84, 0x01, 0x8e, 0xf9, 0x38, - 0x0c, 0xe2, 0xe9, 0x58, 0xfe, 0x85, 0x09, 0x25, 0x9c, 0x18, 0x4d, 0x11, 0x09, 0x91, 0xc7, 0x60, - 0x01, 0x81, 0x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3, 0x74, 0xf8, 0x87, - 0xd9, 0xb2, 0x1e, 0x6a, 0x2f, 0xf7, 0x24, 0xc3, 0x27, 0x21, 0x8a, 0x7d, 0x48, 0xa8, 0x6f, 0xf9, - 0x38, 0xce, 0x57, 0x59, 0xbd, 0xc3, 0x49, 0xc0, 0xca, 0x5f, 0xff, 0x5d, 0x65, 0x7c, 0xd6, 0xd7, - 0x06, 0x8e, 0xf3, 0x45, 0x6f, 0x0e, 0x04, 0xd0, 0xf1, 0x18, 0x14, 0x66, 0x66, 0x0d, 0xdb, 0x50, - 0x26, 0x66, 0x5f, 0x95, 0xcb, 0xc8, 0xf1, 0xd8, 0xa8, 0x70, 0x19, 0x0d, 0xdb, 0x23, 0xe5, 0xf2, - 0x5b, 0xdf, 0x12, 0xe7, 0xb6, 0xed, 0x78, 0xcc, 0xb6, 0x0b, 0x27, 0xdb, 0x1e, 0xb6, 0x6d, 0x5b, - 0xb9, 0x1d, 0x55, 0xf2, 0x3a, 0xef, 0xfc, 0x09, 0x00, 0x00, 0xff, 0xff, 0xea, 0x97, 0x0d, 0xdb, - 0xa4, 0x06, 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 - -// 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) - // Creates or updates a customer client link. Operation statuses are returned. - MutateCustomerClientLink(ctx context.Context, in *MutateCustomerClientLinkRequest, opts ...grpc.CallOption) (*MutateCustomerClientLinkResponse, 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.v1.services.CustomerClientLinkService/GetCustomerClientLink", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *customerClientLinkServiceClient) MutateCustomerClientLink(ctx context.Context, in *MutateCustomerClientLinkRequest, opts ...grpc.CallOption) (*MutateCustomerClientLinkResponse, error) { - out := new(MutateCustomerClientLinkResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.CustomerClientLinkService/MutateCustomerClientLink", 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) - // Creates or updates a customer client link. Operation statuses are returned. - MutateCustomerClientLink(context.Context, *MutateCustomerClientLinkRequest) (*MutateCustomerClientLinkResponse, error) -} - -// UnimplementedCustomerClientLinkServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCustomerClientLinkServiceServer struct { -} - -func (*UnimplementedCustomerClientLinkServiceServer) GetCustomerClientLink(ctx context.Context, req *GetCustomerClientLinkRequest) (*resources.CustomerClientLink, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCustomerClientLink not implemented") -} -func (*UnimplementedCustomerClientLinkServiceServer) MutateCustomerClientLink(ctx context.Context, req *MutateCustomerClientLinkRequest) (*MutateCustomerClientLinkResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method MutateCustomerClientLink not implemented") -} - -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.v1.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) -} - -func _CustomerClientLinkService_MutateCustomerClientLink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateCustomerClientLinkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CustomerClientLinkServiceServer).MutateCustomerClientLink(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.CustomerClientLinkService/MutateCustomerClientLink", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CustomerClientLinkServiceServer).MutateCustomerClientLink(ctx, req.(*MutateCustomerClientLinkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _CustomerClientLinkService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.CustomerClientLinkService", - HandlerType: (*CustomerClientLinkServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetCustomerClientLink", - Handler: _CustomerClientLinkService_GetCustomerClientLink_Handler, - }, - { - MethodName: "MutateCustomerClientLink", - Handler: _CustomerClientLinkService_MutateCustomerClientLink_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/customer_client_link_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/customer_client_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/customer_client_service.pb.go deleted file mode 100644 index 32f6c2da..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/customer_client_service.pb.go +++ /dev/null @@ -1,187 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/customer_client_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [CustomerClientService.GetCustomerClient][google.ads.googleads.v1.services.CustomerClientService.GetCustomerClient]. -type GetCustomerClientRequest struct { - // The resource name of the 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_cb7c23abb2a23d64, []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 (m *GetCustomerClientRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCustomerClientRequest.Merge(m, 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.v1.services.GetCustomerClientRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/customer_client_service.proto", fileDescriptor_cb7c23abb2a23d64) -} - -var fileDescriptor_cb7c23abb2a23d64 = []byte{ - // 360 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xbf, 0x4a, 0xc3, 0x40, - 0x1c, 0xc7, 0x49, 0x04, 0xc1, 0xa0, 0x83, 0x01, 0xa1, 0x04, 0x87, 0x52, 0x3b, 0x48, 0x87, 0x3b, - 0xce, 0x0e, 0xe2, 0x89, 0x4a, 0xda, 0xa1, 0x4e, 0x52, 0x2a, 0x74, 0x90, 0x40, 0x39, 0x93, 0x23, - 0x04, 0x9a, 0xbb, 0x7a, 0xbf, 0x6b, 0x17, 0x71, 0xd0, 0x57, 0xf0, 0x0d, 0x1c, 0x7d, 0x07, 0x5f, - 0xc0, 0xd5, 0xc1, 0x17, 0x70, 0xf2, 0x29, 0x24, 0xbd, 0x5c, 0xa0, 0xd8, 0xd0, 0xed, 0xcb, 0xfd, - 0xbe, 0x9f, 0xdf, 0x9f, 0x6f, 0xe2,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0xee, 0xba, 0xe4, - 0x53, 0x39, 0x65, 0x22, 0x45, 0x52, 0xa5, 0x38, 0xe5, 0x62, 0x99, 0xbe, 0xfd, 0x90, 0xb3, 0x0c, - 0xea, 0xff, 0x9c, 0x73, 0x2b, 0xde, 0xdc, 0xad, 0x41, 0x18, 0xbe, 0xbb, 0xcd, 0x81, 0x69, 0x18, - 0x26, 0x80, 0x8c, 0x2c, 0xd4, 0x98, 0xa0, 0x72, 0x30, 0x7c, 0x5a, 0x4b, 0x14, 0x26, 0x10, 0x55, - 0x96, 0x68, 0x4c, 0x22, 0x6b, 0xf9, 0x75, 0xdb, 0xe6, 0x9d, 0xd2, 0x30, 0x01, 0x4a, 0x2b, 0x13, - 0xa5, 0x63, 0x42, 0xa9, 0xb5, 0xdd, 0x6f, 0x2f, 0xf7, 0xec, 0xfe, 0x05, 0x00, 0x00, 0xff, 0xff, - 0x14, 0x0f, 0x26, 0x19, 0xe0, 0x02, 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 - -// 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 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.v1.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 client in full detail. - GetCustomerClient(context.Context, *GetCustomerClientRequest) (*resources.CustomerClient, error) -} - -// UnimplementedCustomerClientServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCustomerClientServiceServer struct { -} - -func (*UnimplementedCustomerClientServiceServer) GetCustomerClient(ctx context.Context, req *GetCustomerClientRequest) (*resources.CustomerClient, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCustomerClient not implemented") -} - -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.v1.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.v1.services.CustomerClientService", - HandlerType: (*CustomerClientServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetCustomerClient", - Handler: _CustomerClientService_GetCustomerClient_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/customer_client_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/customer_extension_setting_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/customer_extension_setting_service.pb.go deleted file mode 100644 index ec6c5ac4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/customer_extension_setting_service.pb.go +++ /dev/null @@ -1,537 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/customer_extension_setting_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [CustomerExtensionSettingService.GetCustomerExtensionSetting][google.ads.googleads.v1.services.CustomerExtensionSettingService.GetCustomerExtensionSetting]. -type GetCustomerExtensionSettingRequest struct { - // The resource name of the customer extension setting 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 *GetCustomerExtensionSettingRequest) Reset() { *m = GetCustomerExtensionSettingRequest{} } -func (m *GetCustomerExtensionSettingRequest) String() string { return proto.CompactTextString(m) } -func (*GetCustomerExtensionSettingRequest) ProtoMessage() {} -func (*GetCustomerExtensionSettingRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f039497e3ad343eb, []int{0} -} - -func (m *GetCustomerExtensionSettingRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCustomerExtensionSettingRequest.Unmarshal(m, b) -} -func (m *GetCustomerExtensionSettingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCustomerExtensionSettingRequest.Marshal(b, m, deterministic) -} -func (m *GetCustomerExtensionSettingRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCustomerExtensionSettingRequest.Merge(m, src) -} -func (m *GetCustomerExtensionSettingRequest) XXX_Size() int { - return xxx_messageInfo_GetCustomerExtensionSettingRequest.Size(m) -} -func (m *GetCustomerExtensionSettingRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetCustomerExtensionSettingRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetCustomerExtensionSettingRequest proto.InternalMessageInfo - -func (m *GetCustomerExtensionSettingRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for -// [CustomerExtensionSettingService.MutateCustomerExtensionSettings][google.ads.googleads.v1.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings]. -type MutateCustomerExtensionSettingsRequest struct { - // The ID of the customer whose customer extension settings 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 extension - // settings. - Operations []*CustomerExtensionSettingOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCustomerExtensionSettingsRequest) Reset() { - *m = MutateCustomerExtensionSettingsRequest{} -} -func (m *MutateCustomerExtensionSettingsRequest) String() string { return proto.CompactTextString(m) } -func (*MutateCustomerExtensionSettingsRequest) ProtoMessage() {} -func (*MutateCustomerExtensionSettingsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f039497e3ad343eb, []int{1} -} - -func (m *MutateCustomerExtensionSettingsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCustomerExtensionSettingsRequest.Unmarshal(m, b) -} -func (m *MutateCustomerExtensionSettingsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCustomerExtensionSettingsRequest.Marshal(b, m, deterministic) -} -func (m *MutateCustomerExtensionSettingsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerExtensionSettingsRequest.Merge(m, src) -} -func (m *MutateCustomerExtensionSettingsRequest) XXX_Size() int { - return xxx_messageInfo_MutateCustomerExtensionSettingsRequest.Size(m) -} -func (m *MutateCustomerExtensionSettingsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCustomerExtensionSettingsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCustomerExtensionSettingsRequest proto.InternalMessageInfo - -func (m *MutateCustomerExtensionSettingsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateCustomerExtensionSettingsRequest) GetOperations() []*CustomerExtensionSettingOperation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *MutateCustomerExtensionSettingsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateCustomerExtensionSettingsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// A single operation (create, update, remove) on a customer extension setting. -type CustomerExtensionSettingOperation 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: - // *CustomerExtensionSettingOperation_Create - // *CustomerExtensionSettingOperation_Update - // *CustomerExtensionSettingOperation_Remove - Operation isCustomerExtensionSettingOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomerExtensionSettingOperation) Reset() { *m = CustomerExtensionSettingOperation{} } -func (m *CustomerExtensionSettingOperation) String() string { return proto.CompactTextString(m) } -func (*CustomerExtensionSettingOperation) ProtoMessage() {} -func (*CustomerExtensionSettingOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_f039497e3ad343eb, []int{2} -} - -func (m *CustomerExtensionSettingOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomerExtensionSettingOperation.Unmarshal(m, b) -} -func (m *CustomerExtensionSettingOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomerExtensionSettingOperation.Marshal(b, m, deterministic) -} -func (m *CustomerExtensionSettingOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerExtensionSettingOperation.Merge(m, src) -} -func (m *CustomerExtensionSettingOperation) XXX_Size() int { - return xxx_messageInfo_CustomerExtensionSettingOperation.Size(m) -} -func (m *CustomerExtensionSettingOperation) XXX_DiscardUnknown() { - xxx_messageInfo_CustomerExtensionSettingOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomerExtensionSettingOperation proto.InternalMessageInfo - -func (m *CustomerExtensionSettingOperation) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -type isCustomerExtensionSettingOperation_Operation interface { - isCustomerExtensionSettingOperation_Operation() -} - -type CustomerExtensionSettingOperation_Create struct { - Create *resources.CustomerExtensionSetting `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type CustomerExtensionSettingOperation_Update struct { - Update *resources.CustomerExtensionSetting `protobuf:"bytes,2,opt,name=update,proto3,oneof"` -} - -type CustomerExtensionSettingOperation_Remove struct { - Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` -} - -func (*CustomerExtensionSettingOperation_Create) isCustomerExtensionSettingOperation_Operation() {} - -func (*CustomerExtensionSettingOperation_Update) isCustomerExtensionSettingOperation_Operation() {} - -func (*CustomerExtensionSettingOperation_Remove) isCustomerExtensionSettingOperation_Operation() {} - -func (m *CustomerExtensionSettingOperation) GetOperation() isCustomerExtensionSettingOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *CustomerExtensionSettingOperation) GetCreate() *resources.CustomerExtensionSetting { - if x, ok := m.GetOperation().(*CustomerExtensionSettingOperation_Create); ok { - return x.Create - } - return nil -} - -func (m *CustomerExtensionSettingOperation) GetUpdate() *resources.CustomerExtensionSetting { - if x, ok := m.GetOperation().(*CustomerExtensionSettingOperation_Update); ok { - return x.Update - } - return nil -} - -func (m *CustomerExtensionSettingOperation) GetRemove() string { - if x, ok := m.GetOperation().(*CustomerExtensionSettingOperation_Remove); ok { - return x.Remove - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CustomerExtensionSettingOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CustomerExtensionSettingOperation_Create)(nil), - (*CustomerExtensionSettingOperation_Update)(nil), - (*CustomerExtensionSettingOperation_Remove)(nil), - } -} - -// Response message for a customer extension setting mutate. -type MutateCustomerExtensionSettingsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // All results for the mutate. - Results []*MutateCustomerExtensionSettingResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCustomerExtensionSettingsResponse) Reset() { - *m = MutateCustomerExtensionSettingsResponse{} -} -func (m *MutateCustomerExtensionSettingsResponse) String() string { return proto.CompactTextString(m) } -func (*MutateCustomerExtensionSettingsResponse) ProtoMessage() {} -func (*MutateCustomerExtensionSettingsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f039497e3ad343eb, []int{3} -} - -func (m *MutateCustomerExtensionSettingsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCustomerExtensionSettingsResponse.Unmarshal(m, b) -} -func (m *MutateCustomerExtensionSettingsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCustomerExtensionSettingsResponse.Marshal(b, m, deterministic) -} -func (m *MutateCustomerExtensionSettingsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerExtensionSettingsResponse.Merge(m, src) -} -func (m *MutateCustomerExtensionSettingsResponse) XXX_Size() int { - return xxx_messageInfo_MutateCustomerExtensionSettingsResponse.Size(m) -} -func (m *MutateCustomerExtensionSettingsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCustomerExtensionSettingsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCustomerExtensionSettingsResponse proto.InternalMessageInfo - -func (m *MutateCustomerExtensionSettingsResponse) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -func (m *MutateCustomerExtensionSettingsResponse) GetResults() []*MutateCustomerExtensionSettingResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for the customer extension setting mutate. -type MutateCustomerExtensionSettingResult 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 *MutateCustomerExtensionSettingResult) Reset() { *m = MutateCustomerExtensionSettingResult{} } -func (m *MutateCustomerExtensionSettingResult) String() string { return proto.CompactTextString(m) } -func (*MutateCustomerExtensionSettingResult) ProtoMessage() {} -func (*MutateCustomerExtensionSettingResult) Descriptor() ([]byte, []int) { - return fileDescriptor_f039497e3ad343eb, []int{4} -} - -func (m *MutateCustomerExtensionSettingResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCustomerExtensionSettingResult.Unmarshal(m, b) -} -func (m *MutateCustomerExtensionSettingResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCustomerExtensionSettingResult.Marshal(b, m, deterministic) -} -func (m *MutateCustomerExtensionSettingResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerExtensionSettingResult.Merge(m, src) -} -func (m *MutateCustomerExtensionSettingResult) XXX_Size() int { - return xxx_messageInfo_MutateCustomerExtensionSettingResult.Size(m) -} -func (m *MutateCustomerExtensionSettingResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCustomerExtensionSettingResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCustomerExtensionSettingResult proto.InternalMessageInfo - -func (m *MutateCustomerExtensionSettingResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetCustomerExtensionSettingRequest)(nil), "google.ads.googleads.v1.services.GetCustomerExtensionSettingRequest") - proto.RegisterType((*MutateCustomerExtensionSettingsRequest)(nil), "google.ads.googleads.v1.services.MutateCustomerExtensionSettingsRequest") - proto.RegisterType((*CustomerExtensionSettingOperation)(nil), "google.ads.googleads.v1.services.CustomerExtensionSettingOperation") - proto.RegisterType((*MutateCustomerExtensionSettingsResponse)(nil), "google.ads.googleads.v1.services.MutateCustomerExtensionSettingsResponse") - proto.RegisterType((*MutateCustomerExtensionSettingResult)(nil), "google.ads.googleads.v1.services.MutateCustomerExtensionSettingResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/customer_extension_setting_service.proto", fileDescriptor_f039497e3ad343eb) -} - -var fileDescriptor_f039497e3ad343eb = []byte{ - // 722 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x95, 0xcf, 0x4e, 0xd4, 0x40, - 0x1c, 0xc7, 0x6d, 0x21, 0x28, 0xb3, 0xa8, 0xc9, 0x18, 0xe3, 0x66, 0x35, 0xb2, 0xd6, 0x8d, 0x90, - 0x3d, 0xb4, 0xd9, 0xf5, 0xd6, 0x0d, 0x26, 0xbb, 0x2b, 0x0b, 0x1b, 0x83, 0x90, 0x12, 0x39, 0x98, - 0x4d, 0xea, 0xd0, 0x0e, 0x4d, 0x43, 0xdb, 0xa9, 0x33, 0xd3, 0x55, 0x42, 0x38, 0xe8, 0xd5, 0x78, - 0xf2, 0x0d, 0x3c, 0x7a, 0xf7, 0x25, 0xbc, 0xf2, 0x0a, 0x7a, 0xf1, 0x19, 0x3c, 0x98, 0x76, 0x3a, - 0x15, 0x30, 0xa5, 0x24, 0x70, 0x9b, 0xfe, 0xe6, 0xdb, 0xcf, 0xef, 0x6f, 0x7f, 0x05, 0x63, 0x8f, - 0x10, 0x2f, 0xc0, 0x06, 0x72, 0x99, 0x21, 0x8e, 0xe9, 0x69, 0xda, 0x31, 0x18, 0xa6, 0x53, 0xdf, - 0xc1, 0xcc, 0x70, 0x12, 0xc6, 0x49, 0x88, 0xa9, 0x8d, 0xdf, 0x73, 0x1c, 0x31, 0x9f, 0x44, 0x36, - 0xc3, 0x9c, 0xfb, 0x91, 0x67, 0xe7, 0x1a, 0x3d, 0xa6, 0x84, 0x13, 0xd8, 0x14, 0xef, 0xeb, 0xc8, - 0x65, 0x7a, 0x81, 0xd2, 0xa7, 0x1d, 0x5d, 0xa2, 0x1a, 0x83, 0x32, 0x67, 0x14, 0x33, 0x92, 0xd0, - 0xf3, 0xbd, 0x09, 0x2f, 0x8d, 0x07, 0x92, 0x11, 0xfb, 0x06, 0x8a, 0x22, 0x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d, 0x81, 0xbd, 0x74, 0x39, - 0x1e, 0x9e, 0x4a, 0x7b, 0x45, 0x7e, 0xfb, 0xcc, 0x68, 0x17, 0xdb, 0xf2, 0xbf, 0x39, 0x30, 0xda, - 0x47, 0xf0, 0x83, 0x0a, 0x16, 0x2b, 0xc6, 0x05, 0xae, 0x5f, 0xb6, 0x9b, 0x72, 0x51, 0x35, 0xc6, - 0x57, 0x40, 0x12, 0xb3, 0xab, 0x8d, 0xb3, 0xec, 0x87, 0xda, 0xb3, 0x34, 0xfb, 0x7f, 0xe9, 0x1e, - 0x9e, 0x58, 0x84, 0x2b, 0xed, 0xa3, 0xf2, 0xe4, 0xcd, 0x30, 0x73, 0x64, 0x2a, 0xed, 0xc1, 0x27, - 0x15, 0xb4, 0x1c, 0x12, 0x56, 0xc6, 0x36, 0x68, 0x55, 0x4c, 0xcd, 0x56, 0xba, 0x6f, 0xb6, 0x94, - 0xd7, 0xeb, 0x39, 0xc9, 0x23, 0x01, 0x8a, 0x3c, 0x9d, 0x50, 0xcf, 0xf0, 0x70, 0x94, 0x6d, 0x23, - 0xf9, 0x4b, 0x8b, 0x7d, 0x56, 0xfe, 0x3b, 0xed, 0xc9, 0xc3, 0x57, 0x75, 0x66, 0xad, 0xdf, 0xff, - 0xa6, 0x36, 0xd7, 0x04, 0xb0, 0xef, 0x32, 0x5d, 0x1c, 0xd3, 0xd3, 0x4e, 0x47, 0xcf, 0x1d, 0xb3, - 0x1f, 0x52, 0x32, 0xe9, 0xbb, 0x6c, 0x52, 0x48, 0x26, 0x3b, 0x9d, 0x89, 0x94, 0xfc, 0x56, 0x5b, - 0xc2, 0x6e, 0x9a, 0x7d, 0x97, 0x99, 0x66, 0x21, 0x32, 0xcd, 0x9d, 0x8e, 0x69, 0x4a, 0xd9, 0xee, - 0x5c, 0x16, 0xe7, 0xd3, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xac, 0xac, 0x54, 0xea, 0xf5, 0x07, - 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 - -// CustomerExtensionSettingServiceClient is the client API for CustomerExtensionSettingService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type CustomerExtensionSettingServiceClient interface { - // Returns the requested customer extension setting in full detail. - GetCustomerExtensionSetting(ctx context.Context, in *GetCustomerExtensionSettingRequest, opts ...grpc.CallOption) (*resources.CustomerExtensionSetting, error) - // Creates, updates, or removes customer extension settings. Operation - // statuses are returned. - MutateCustomerExtensionSettings(ctx context.Context, in *MutateCustomerExtensionSettingsRequest, opts ...grpc.CallOption) (*MutateCustomerExtensionSettingsResponse, error) -} - -type customerExtensionSettingServiceClient struct { - cc *grpc.ClientConn -} - -func NewCustomerExtensionSettingServiceClient(cc *grpc.ClientConn) CustomerExtensionSettingServiceClient { - return &customerExtensionSettingServiceClient{cc} -} - -func (c *customerExtensionSettingServiceClient) GetCustomerExtensionSetting(ctx context.Context, in *GetCustomerExtensionSettingRequest, opts ...grpc.CallOption) (*resources.CustomerExtensionSetting, error) { - out := new(resources.CustomerExtensionSetting) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.CustomerExtensionSettingService/GetCustomerExtensionSetting", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *customerExtensionSettingServiceClient) MutateCustomerExtensionSettings(ctx context.Context, in *MutateCustomerExtensionSettingsRequest, opts ...grpc.CallOption) (*MutateCustomerExtensionSettingsResponse, error) { - out := new(MutateCustomerExtensionSettingsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.CustomerExtensionSettingService/MutateCustomerExtensionSettings", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// CustomerExtensionSettingServiceServer is the server API for CustomerExtensionSettingService service. -type CustomerExtensionSettingServiceServer interface { - // Returns the requested customer extension setting in full detail. - GetCustomerExtensionSetting(context.Context, *GetCustomerExtensionSettingRequest) (*resources.CustomerExtensionSetting, error) - // Creates, updates, or removes customer extension settings. Operation - // statuses are returned. - MutateCustomerExtensionSettings(context.Context, *MutateCustomerExtensionSettingsRequest) (*MutateCustomerExtensionSettingsResponse, error) -} - -// UnimplementedCustomerExtensionSettingServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCustomerExtensionSettingServiceServer struct { -} - -func (*UnimplementedCustomerExtensionSettingServiceServer) GetCustomerExtensionSetting(ctx context.Context, req *GetCustomerExtensionSettingRequest) (*resources.CustomerExtensionSetting, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetCustomerExtensionSetting not implemented") -} -func (*UnimplementedCustomerExtensionSettingServiceServer) MutateCustomerExtensionSettings(ctx context.Context, req *MutateCustomerExtensionSettingsRequest) (*MutateCustomerExtensionSettingsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateCustomerExtensionSettings not implemented") -} - -func RegisterCustomerExtensionSettingServiceServer(s *grpc.Server, srv CustomerExtensionSettingServiceServer) { - s.RegisterService(&_CustomerExtensionSettingService_serviceDesc, srv) -} - -func _CustomerExtensionSettingService_GetCustomerExtensionSetting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetCustomerExtensionSettingRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CustomerExtensionSettingServiceServer).GetCustomerExtensionSetting(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.CustomerExtensionSettingService/GetCustomerExtensionSetting", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CustomerExtensionSettingServiceServer).GetCustomerExtensionSetting(ctx, req.(*GetCustomerExtensionSettingRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CustomerExtensionSettingService_MutateCustomerExtensionSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateCustomerExtensionSettingsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CustomerExtensionSettingServiceServer).MutateCustomerExtensionSettings(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.CustomerExtensionSettingService/MutateCustomerExtensionSettings", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CustomerExtensionSettingServiceServer).MutateCustomerExtensionSettings(ctx, req.(*MutateCustomerExtensionSettingsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _CustomerExtensionSettingService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.CustomerExtensionSettingService", - HandlerType: (*CustomerExtensionSettingServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetCustomerExtensionSetting", - Handler: _CustomerExtensionSettingService_GetCustomerExtensionSetting_Handler, - }, - { - MethodName: "MutateCustomerExtensionSettings", - Handler: _CustomerExtensionSettingService_MutateCustomerExtensionSettings_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/customer_extension_setting_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/customer_feed_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/customer_feed_service.pb.go deleted file mode 100644 index 9306249c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/customer_feed_service.pb.go +++ /dev/null @@ -1,530 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/customer_feed_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [CustomerFeedService.GetCustomerFeed][google.ads.googleads.v1.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_b5e6824139175c36, []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 (m *GetCustomerFeedRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCustomerFeedRequest.Merge(m, 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.v1.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_b5e6824139175c36, []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 (m *MutateCustomerFeedsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerFeedsRequest.Merge(m, 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 -} - -func (m *MutateCustomerFeedsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateCustomerFeedsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_b5e6824139175c36, []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 (m *CustomerFeedOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerFeedOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*CustomerFeedOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CustomerFeedOperation_Create)(nil), - (*CustomerFeedOperation_Update)(nil), - (*CustomerFeedOperation_Remove)(nil), - } -} - -// Response message for a customer feed mutate. -type MutateCustomerFeedsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_b5e6824139175c36, []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 (m *MutateCustomerFeedsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerFeedsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_b5e6824139175c36, []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 (m *MutateCustomerFeedResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerFeedResult.Merge(m, 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.v1.services.GetCustomerFeedRequest") - proto.RegisterType((*MutateCustomerFeedsRequest)(nil), "google.ads.googleads.v1.services.MutateCustomerFeedsRequest") - proto.RegisterType((*CustomerFeedOperation)(nil), "google.ads.googleads.v1.services.CustomerFeedOperation") - proto.RegisterType((*MutateCustomerFeedsResponse)(nil), "google.ads.googleads.v1.services.MutateCustomerFeedsResponse") - proto.RegisterType((*MutateCustomerFeedResult)(nil), "google.ads.googleads.v1.services.MutateCustomerFeedResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/customer_feed_service.proto", fileDescriptor_b5e6824139175c36) -} - -var fileDescriptor_b5e6824139175c36 = []byte{ - // 710 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0xc1, 0x6e, 0xd3, 0x4c, - 0x10, 0xfe, 0xed, 0xfc, 0x2a, 0x74, 0x5d, 0xa8, 0xb4, 0x55, 0xc1, 0x0a, 0x08, 0x22, 0x53, 0x89, - 0x2a, 0x07, 0xaf, 0x12, 0x84, 0x8a, 0xdc, 0x46, 0x28, 0x45, 0xa4, 0xed, 0xa1, 0xb4, 0x72, 0x51, - 0x91, 0x50, 0x24, 0x6b, 0x1b, 0x6f, 0x22, 0xab, 0xb6, 0xd7, 0xec, 0xae, 0x83, 0xaa, 0xaa, 0x17, - 0xde, 0x00, 0xf1, 0x04, 0x70, 0xe4, 0xce, 0x89, 0x37, 0xe0, 0x86, 0x78, 0x85, 0x9e, 0x78, 0x09, - 0x90, 0xbd, 0x5e, 0x93, 0xb4, 0x89, 0x02, 0xbd, 0x8d, 0x67, 0xbf, 0xf9, 0x66, 0x66, 0xbf, 0xd9, - 0x31, 0xd8, 0x18, 0x50, 0x3a, 0x08, 0x09, 0xc2, 0x3e, 0x47, 0xd2, 0xcc, 0xac, 0x61, 0x03, 0x71, - 0xc2, 0x86, 0x41, 0x8f, 0x70, 0xd4, 0x4b, 0xb9, 0xa0, 0x11, 0x61, 0x5e, 0x9f, 0x10, 0xdf, 0x2b, - 0xdc, 0x76, 0xc2, 0xa8, 0xa0, 0xb0, 0x26, 0x43, 0x6c, 0xec, 0x73, 0xbb, 0x8c, 0xb6, 0x87, 0x0d, - 0x5b, 0x45, 0x57, 0x1f, 0x4f, 0xe3, 0x67, 0x84, 0xd3, 0x94, 0x5d, 0x4a, 0x20, 0x89, 0xab, 0x77, - 0x55, 0x58, 0x12, 0x20, 0x1c, 0xc7, 0x54, 0x60, 0x11, 0xd0, 0x98, 0x17, 0xa7, 0x45, 0x5a, 0x94, - 0x7f, 0x1d, 0xa5, 0x7d, 0xd4, 0x0f, 0x48, 0xe8, 0x7b, 0x11, 0xe6, 0xc7, 0x05, 0xe2, 0xde, 0x45, - 0xc4, 0x5b, 0x86, 0x93, 0x84, 0x30, 0xc5, 0x70, 0xbb, 0x38, 0x67, 0x49, 0x0f, 0x71, 0x81, 0x45, - 0x5a, 0x1c, 0x58, 0x2d, 0x70, 0x6b, 0x8b, 0x88, 0x67, 0x45, 0x49, 0x1d, 0x42, 0x7c, 0x97, 0xbc, - 0x49, 0x09, 0x17, 0xf0, 0x01, 0xb8, 0xa1, 0x6a, 0xf6, 0x62, 0x1c, 0x11, 0x53, 0xab, 0x69, 0xab, - 0xf3, 0xee, 0x82, 0x72, 0xbe, 0xc0, 0x11, 0xb1, 0xce, 0x35, 0x50, 0xdd, 0x4d, 0x05, 0x16, 0x64, - 0x94, 0x82, 0x2b, 0x8e, 0xfb, 0xc0, 0x28, 0xbb, 0x0d, 0xfc, 0x82, 0x01, 0x28, 0xd7, 0x8e, 0x0f, - 0x5f, 0x01, 0x40, 0x13, 0xc2, 0x64, 0xb7, 0xa6, 0x5e, 0xab, 0xac, 0x1a, 0xcd, 0x35, 0x7b, 0xd6, - 0x2d, 0xdb, 0xa3, 0xc9, 0xf6, 0x54, 0xbc, 0x3b, 0x42, 0x05, 0x1f, 0x82, 0xc5, 0x04, 0x33, 0x11, - 0xe0, 0xd0, 0xeb, 0xe3, 0x20, 0x4c, 0x19, 0x31, 0x2b, 0x35, 0x6d, 0xf5, 0xba, 0x7b, 0xb3, 0x70, - 0x77, 0xa4, 0x37, 0x6b, 0x73, 0x88, 0xc3, 0xc0, 0xc7, 0x82, 0x78, 0x34, 0x0e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0x00, 0x00, 0xff, 0xff, 0x2b, 0x70, - 0x21, 0x28, 0xf7, 0x06, 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 - -// 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.v1.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.v1.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) -} - -// UnimplementedCustomerFeedServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCustomerFeedServiceServer struct { -} - -func (*UnimplementedCustomerFeedServiceServer) GetCustomerFeed(ctx context.Context, req *GetCustomerFeedRequest) (*resources.CustomerFeed, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetCustomerFeed not implemented") -} -func (*UnimplementedCustomerFeedServiceServer) MutateCustomerFeeds(ctx context.Context, req *MutateCustomerFeedsRequest) (*MutateCustomerFeedsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateCustomerFeeds not implemented") -} - -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.v1.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.v1.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.v1.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/v1/services/customer_feed_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/customer_label_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/customer_label_service.pb.go deleted file mode 100644 index 373e8cca..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/customer_label_service.pb.go +++ /dev/null @@ -1,502 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/customer_label_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [CustomerLabelService.GetCustomerLabel][google.ads.googleads.v1.services.CustomerLabelService.GetCustomerLabel]. -type GetCustomerLabelRequest struct { - // The resource name of the customer-label relationship 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 *GetCustomerLabelRequest) Reset() { *m = GetCustomerLabelRequest{} } -func (m *GetCustomerLabelRequest) String() string { return proto.CompactTextString(m) } -func (*GetCustomerLabelRequest) ProtoMessage() {} -func (*GetCustomerLabelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7a3857ac18d66f22, []int{0} -} - -func (m *GetCustomerLabelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCustomerLabelRequest.Unmarshal(m, b) -} -func (m *GetCustomerLabelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCustomerLabelRequest.Marshal(b, m, deterministic) -} -func (m *GetCustomerLabelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCustomerLabelRequest.Merge(m, src) -} -func (m *GetCustomerLabelRequest) XXX_Size() int { - return xxx_messageInfo_GetCustomerLabelRequest.Size(m) -} -func (m *GetCustomerLabelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetCustomerLabelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetCustomerLabelRequest proto.InternalMessageInfo - -func (m *GetCustomerLabelRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for -// [CustomerLabelService.MutateCustomerLabels][google.ads.googleads.v1.services.CustomerLabelService.MutateCustomerLabels]. -type MutateCustomerLabelsRequest struct { - // ID of the customer whose customer-label relationships 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 customer-label relationships. - Operations []*CustomerLabelOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCustomerLabelsRequest) Reset() { *m = MutateCustomerLabelsRequest{} } -func (m *MutateCustomerLabelsRequest) String() string { return proto.CompactTextString(m) } -func (*MutateCustomerLabelsRequest) ProtoMessage() {} -func (*MutateCustomerLabelsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7a3857ac18d66f22, []int{1} -} - -func (m *MutateCustomerLabelsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCustomerLabelsRequest.Unmarshal(m, b) -} -func (m *MutateCustomerLabelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCustomerLabelsRequest.Marshal(b, m, deterministic) -} -func (m *MutateCustomerLabelsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerLabelsRequest.Merge(m, src) -} -func (m *MutateCustomerLabelsRequest) XXX_Size() int { - return xxx_messageInfo_MutateCustomerLabelsRequest.Size(m) -} -func (m *MutateCustomerLabelsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCustomerLabelsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCustomerLabelsRequest proto.InternalMessageInfo - -func (m *MutateCustomerLabelsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateCustomerLabelsRequest) GetOperations() []*CustomerLabelOperation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *MutateCustomerLabelsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateCustomerLabelsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// A single operation (create, remove) on a customer-label relationship. -type CustomerLabelOperation struct { - // The mutate operation. - // - // Types that are valid to be assigned to Operation: - // *CustomerLabelOperation_Create - // *CustomerLabelOperation_Remove - Operation isCustomerLabelOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomerLabelOperation) Reset() { *m = CustomerLabelOperation{} } -func (m *CustomerLabelOperation) String() string { return proto.CompactTextString(m) } -func (*CustomerLabelOperation) ProtoMessage() {} -func (*CustomerLabelOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_7a3857ac18d66f22, []int{2} -} - -func (m *CustomerLabelOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomerLabelOperation.Unmarshal(m, b) -} -func (m *CustomerLabelOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomerLabelOperation.Marshal(b, m, deterministic) -} -func (m *CustomerLabelOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerLabelOperation.Merge(m, src) -} -func (m *CustomerLabelOperation) XXX_Size() int { - return xxx_messageInfo_CustomerLabelOperation.Size(m) -} -func (m *CustomerLabelOperation) XXX_DiscardUnknown() { - xxx_messageInfo_CustomerLabelOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomerLabelOperation proto.InternalMessageInfo - -type isCustomerLabelOperation_Operation interface { - isCustomerLabelOperation_Operation() -} - -type CustomerLabelOperation_Create struct { - Create *resources.CustomerLabel `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type CustomerLabelOperation_Remove struct { - Remove string `protobuf:"bytes,2,opt,name=remove,proto3,oneof"` -} - -func (*CustomerLabelOperation_Create) isCustomerLabelOperation_Operation() {} - -func (*CustomerLabelOperation_Remove) isCustomerLabelOperation_Operation() {} - -func (m *CustomerLabelOperation) GetOperation() isCustomerLabelOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *CustomerLabelOperation) GetCreate() *resources.CustomerLabel { - if x, ok := m.GetOperation().(*CustomerLabelOperation_Create); ok { - return x.Create - } - return nil -} - -func (m *CustomerLabelOperation) GetRemove() string { - if x, ok := m.GetOperation().(*CustomerLabelOperation_Remove); ok { - return x.Remove - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CustomerLabelOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CustomerLabelOperation_Create)(nil), - (*CustomerLabelOperation_Remove)(nil), - } -} - -// Response message for a customer labels mutate. -type MutateCustomerLabelsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // All results for the mutate. - Results []*MutateCustomerLabelResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCustomerLabelsResponse) Reset() { *m = MutateCustomerLabelsResponse{} } -func (m *MutateCustomerLabelsResponse) String() string { return proto.CompactTextString(m) } -func (*MutateCustomerLabelsResponse) ProtoMessage() {} -func (*MutateCustomerLabelsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7a3857ac18d66f22, []int{3} -} - -func (m *MutateCustomerLabelsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCustomerLabelsResponse.Unmarshal(m, b) -} -func (m *MutateCustomerLabelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCustomerLabelsResponse.Marshal(b, m, deterministic) -} -func (m *MutateCustomerLabelsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerLabelsResponse.Merge(m, src) -} -func (m *MutateCustomerLabelsResponse) XXX_Size() int { - return xxx_messageInfo_MutateCustomerLabelsResponse.Size(m) -} -func (m *MutateCustomerLabelsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCustomerLabelsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCustomerLabelsResponse proto.InternalMessageInfo - -func (m *MutateCustomerLabelsResponse) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -func (m *MutateCustomerLabelsResponse) GetResults() []*MutateCustomerLabelResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for a customer label mutate. -type MutateCustomerLabelResult 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 *MutateCustomerLabelResult) Reset() { *m = MutateCustomerLabelResult{} } -func (m *MutateCustomerLabelResult) String() string { return proto.CompactTextString(m) } -func (*MutateCustomerLabelResult) ProtoMessage() {} -func (*MutateCustomerLabelResult) Descriptor() ([]byte, []int) { - return fileDescriptor_7a3857ac18d66f22, []int{4} -} - -func (m *MutateCustomerLabelResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCustomerLabelResult.Unmarshal(m, b) -} -func (m *MutateCustomerLabelResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCustomerLabelResult.Marshal(b, m, deterministic) -} -func (m *MutateCustomerLabelResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerLabelResult.Merge(m, src) -} -func (m *MutateCustomerLabelResult) XXX_Size() int { - return xxx_messageInfo_MutateCustomerLabelResult.Size(m) -} -func (m *MutateCustomerLabelResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCustomerLabelResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCustomerLabelResult proto.InternalMessageInfo - -func (m *MutateCustomerLabelResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetCustomerLabelRequest)(nil), "google.ads.googleads.v1.services.GetCustomerLabelRequest") - proto.RegisterType((*MutateCustomerLabelsRequest)(nil), "google.ads.googleads.v1.services.MutateCustomerLabelsRequest") - proto.RegisterType((*CustomerLabelOperation)(nil), "google.ads.googleads.v1.services.CustomerLabelOperation") - proto.RegisterType((*MutateCustomerLabelsResponse)(nil), "google.ads.googleads.v1.services.MutateCustomerLabelsResponse") - proto.RegisterType((*MutateCustomerLabelResult)(nil), "google.ads.googleads.v1.services.MutateCustomerLabelResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/customer_label_service.proto", fileDescriptor_7a3857ac18d66f22) -} - -var fileDescriptor_7a3857ac18d66f22 = []byte{ - // 663 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xdd, 0x6a, 0xd4, 0x4e, - 0x14, 0xff, 0x27, 0xfb, 0xa7, 0xda, 0xd9, 0xfa, 0xc1, 0x58, 0x6d, 0xba, 0x16, 0x5d, 0x62, 0xc1, - 0xb2, 0x17, 0x49, 0x77, 0x0b, 0x52, 0x53, 0xb6, 0xb8, 0x15, 0xdb, 0x2a, 0x6a, 0x4b, 0x8a, 0x45, - 0x64, 0x21, 0x4c, 0x93, 0x69, 0x08, 0x24, 0x99, 0x38, 0x33, 0x59, 0x29, 0xa5, 0x20, 0xde, 0x7a, - 0xe9, 0x1b, 0x78, 0xd9, 0x37, 0xf0, 0xc2, 0x17, 0xf0, 0x56, 0x7c, 0x03, 0xf1, 0xc2, 0xa7, 0x90, - 0x64, 0x32, 0xb1, 0x59, 0x77, 0x59, 0xed, 0xdd, 0x99, 0xf3, 0xf1, 0x3b, 0xe7, 0x77, 0x3e, 0x06, - 0x74, 0x7d, 0x42, 0xfc, 0x10, 0x9b, 0xc8, 0x63, 0xa6, 0x10, 0x33, 0x69, 0xd0, 0x36, 0x19, 0xa6, - 0x83, 0xc0, 0xc5, 0xcc, 0x74, 0x53, 0xc6, 0x49, 0x84, 0xa9, 0x13, 0xa2, 0x03, 0x1c, 0x3a, 0x85, - 0xde, 0x48, 0x28, 0xe1, 0x04, 0x36, 0x45, 0x8c, 0x81, 0x3c, 0x66, 0x94, 0xe1, 0xc6, 0xa0, 0x6d, - 0xc8, 0xf0, 0xc6, 0xbd, 0x71, 0x09, 0x28, 0x66, 0x24, 0xa5, 0x7f, 0x66, 0x10, 0xc8, 0x8d, 0x05, - 0x19, 0x97, 0x04, 0x26, 0x8a, 0x63, 0xc2, 0x11, 0x0f, 0x48, 0xcc, 0x0a, 0xeb, 0xad, 0xc2, 0x9a, - 0xbf, 0x0e, 0xd2, 0x43, 0xf3, 0x0d, 0x45, 0x49, 0x82, 0xa9, 0xb4, 0xcf, 0x15, 0x76, 0x9a, 0xb8, - 0x26, 0xe3, 0x88, 0xa7, 0x85, 0x41, 0x5f, 0x07, 0x73, 0x5b, 0x98, 0x3f, 0x2c, 0x32, 0x3e, 0xcd, - 0x12, 0xda, 0xf8, 0x75, 0x8a, 0x19, 0x87, 0x77, 0xc0, 0x25, 0x59, 0x93, 0x13, 0xa3, 0x08, 0x6b, - 0x4a, 0x53, 0x59, 0x9a, 0xb6, 0x67, 0xa4, 0xf2, 0x39, 0x8a, 0xb0, 0xfe, 0x43, 0x01, 0x37, 0x9f, - 0xa5, 0x1c, 0x71, 0x5c, 0xc1, 0x60, 0x12, 0xe4, 0x36, 0xa8, 0x97, 0x74, 0x02, 0xaf, 0x80, 0x00, - 0x52, 0xf5, 0xd8, 0x83, 0x2f, 0x01, 0x20, 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 0xf9, 0xa9, 0x2e, 0x0a, 0xbd, 0x65, 0xf5, 0x3c, 0x66, 0x59, 0xa5, 0x93, 0x65, 0xed, - 0xb7, 0x2d, 0x4b, 0xba, 0x1d, 0x4c, 0xe5, 0x75, 0xae, 0xfc, 0x0a, 0x00, 0x00, 0xff, 0xff, 0xdd, - 0xb3, 0x0e, 0x47, 0x61, 0x06, 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 - -// CustomerLabelServiceClient is the client API for CustomerLabelService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type CustomerLabelServiceClient interface { - // Returns the requested customer-label relationship in full detail. - GetCustomerLabel(ctx context.Context, in *GetCustomerLabelRequest, opts ...grpc.CallOption) (*resources.CustomerLabel, error) - // Creates and removes customer-label relationships. - // Operation statuses are returned. - MutateCustomerLabels(ctx context.Context, in *MutateCustomerLabelsRequest, opts ...grpc.CallOption) (*MutateCustomerLabelsResponse, error) -} - -type customerLabelServiceClient struct { - cc *grpc.ClientConn -} - -func NewCustomerLabelServiceClient(cc *grpc.ClientConn) CustomerLabelServiceClient { - return &customerLabelServiceClient{cc} -} - -func (c *customerLabelServiceClient) GetCustomerLabel(ctx context.Context, in *GetCustomerLabelRequest, opts ...grpc.CallOption) (*resources.CustomerLabel, error) { - out := new(resources.CustomerLabel) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.CustomerLabelService/GetCustomerLabel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *customerLabelServiceClient) MutateCustomerLabels(ctx context.Context, in *MutateCustomerLabelsRequest, opts ...grpc.CallOption) (*MutateCustomerLabelsResponse, error) { - out := new(MutateCustomerLabelsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.CustomerLabelService/MutateCustomerLabels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// CustomerLabelServiceServer is the server API for CustomerLabelService service. -type CustomerLabelServiceServer interface { - // Returns the requested customer-label relationship in full detail. - GetCustomerLabel(context.Context, *GetCustomerLabelRequest) (*resources.CustomerLabel, error) - // Creates and removes customer-label relationships. - // Operation statuses are returned. - MutateCustomerLabels(context.Context, *MutateCustomerLabelsRequest) (*MutateCustomerLabelsResponse, error) -} - -// UnimplementedCustomerLabelServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCustomerLabelServiceServer struct { -} - -func (*UnimplementedCustomerLabelServiceServer) GetCustomerLabel(ctx context.Context, req *GetCustomerLabelRequest) (*resources.CustomerLabel, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetCustomerLabel not implemented") -} -func (*UnimplementedCustomerLabelServiceServer) MutateCustomerLabels(ctx context.Context, req *MutateCustomerLabelsRequest) (*MutateCustomerLabelsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateCustomerLabels not implemented") -} - -func RegisterCustomerLabelServiceServer(s *grpc.Server, srv CustomerLabelServiceServer) { - s.RegisterService(&_CustomerLabelService_serviceDesc, srv) -} - -func _CustomerLabelService_GetCustomerLabel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetCustomerLabelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CustomerLabelServiceServer).GetCustomerLabel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.CustomerLabelService/GetCustomerLabel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CustomerLabelServiceServer).GetCustomerLabel(ctx, req.(*GetCustomerLabelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CustomerLabelService_MutateCustomerLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateCustomerLabelsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CustomerLabelServiceServer).MutateCustomerLabels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.CustomerLabelService/MutateCustomerLabels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CustomerLabelServiceServer).MutateCustomerLabels(ctx, req.(*MutateCustomerLabelsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _CustomerLabelService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.CustomerLabelService", - HandlerType: (*CustomerLabelServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetCustomerLabel", - Handler: _CustomerLabelService_GetCustomerLabel_Handler, - }, - { - MethodName: "MutateCustomerLabels", - Handler: _CustomerLabelService_MutateCustomerLabels_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/customer_label_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/customer_manager_link_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/customer_manager_link_service.pb.go deleted file mode 100644 index bff7893c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/customer_manager_link_service.pb.go +++ /dev/null @@ -1,459 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/customer_manager_link_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [CustomerManagerLinkService.GetCustomerManagerLink][google.ads.googleads.v1.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_aaa2b7db8eabbebe, []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 (m *GetCustomerManagerLinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCustomerManagerLinkRequest.Merge(m, 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 "" -} - -// Request message for -// [CustomerManagerLinkService.MutateCustomerManagerLink][google.ads.googleads.v1.services.CustomerManagerLinkService.MutateCustomerManagerLink]. -type MutateCustomerManagerLinkRequest struct { - // The ID of the customer whose customer manager links 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 manager links. - Operations []*CustomerManagerLinkOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCustomerManagerLinkRequest) Reset() { *m = MutateCustomerManagerLinkRequest{} } -func (m *MutateCustomerManagerLinkRequest) String() string { return proto.CompactTextString(m) } -func (*MutateCustomerManagerLinkRequest) ProtoMessage() {} -func (*MutateCustomerManagerLinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_aaa2b7db8eabbebe, []int{1} -} - -func (m *MutateCustomerManagerLinkRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCustomerManagerLinkRequest.Unmarshal(m, b) -} -func (m *MutateCustomerManagerLinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCustomerManagerLinkRequest.Marshal(b, m, deterministic) -} -func (m *MutateCustomerManagerLinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerManagerLinkRequest.Merge(m, src) -} -func (m *MutateCustomerManagerLinkRequest) XXX_Size() int { - return xxx_messageInfo_MutateCustomerManagerLinkRequest.Size(m) -} -func (m *MutateCustomerManagerLinkRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCustomerManagerLinkRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCustomerManagerLinkRequest proto.InternalMessageInfo - -func (m *MutateCustomerManagerLinkRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateCustomerManagerLinkRequest) GetOperations() []*CustomerManagerLinkOperation { - if m != nil { - return m.Operations - } - return nil -} - -// Updates the status of a CustomerManagerLink. -// The following actions are possible: -// 1. Update operation with status ACTIVE accepts a pending invitation. -// 2. Update operation with status REFUSED declines a pending invitation. -// 3. Update operation with status INACTIVE terminates link to manager. -type CustomerManagerLinkOperation 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: - // *CustomerManagerLinkOperation_Update - Operation isCustomerManagerLinkOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomerManagerLinkOperation) Reset() { *m = CustomerManagerLinkOperation{} } -func (m *CustomerManagerLinkOperation) String() string { return proto.CompactTextString(m) } -func (*CustomerManagerLinkOperation) ProtoMessage() {} -func (*CustomerManagerLinkOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_aaa2b7db8eabbebe, []int{2} -} - -func (m *CustomerManagerLinkOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomerManagerLinkOperation.Unmarshal(m, b) -} -func (m *CustomerManagerLinkOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomerManagerLinkOperation.Marshal(b, m, deterministic) -} -func (m *CustomerManagerLinkOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerManagerLinkOperation.Merge(m, src) -} -func (m *CustomerManagerLinkOperation) XXX_Size() int { - return xxx_messageInfo_CustomerManagerLinkOperation.Size(m) -} -func (m *CustomerManagerLinkOperation) XXX_DiscardUnknown() { - xxx_messageInfo_CustomerManagerLinkOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomerManagerLinkOperation proto.InternalMessageInfo - -func (m *CustomerManagerLinkOperation) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -type isCustomerManagerLinkOperation_Operation interface { - isCustomerManagerLinkOperation_Operation() -} - -type CustomerManagerLinkOperation_Update struct { - Update *resources.CustomerManagerLink `protobuf:"bytes,2,opt,name=update,proto3,oneof"` -} - -func (*CustomerManagerLinkOperation_Update) isCustomerManagerLinkOperation_Operation() {} - -func (m *CustomerManagerLinkOperation) GetOperation() isCustomerManagerLinkOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *CustomerManagerLinkOperation) GetUpdate() *resources.CustomerManagerLink { - if x, ok := m.GetOperation().(*CustomerManagerLinkOperation_Update); ok { - return x.Update - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CustomerManagerLinkOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CustomerManagerLinkOperation_Update)(nil), - } -} - -// Response message for a CustomerManagerLink mutate. -type MutateCustomerManagerLinkResponse struct { - // A result that identifies the resource affected by the mutate request. - Results []*MutateCustomerManagerLinkResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCustomerManagerLinkResponse) Reset() { *m = MutateCustomerManagerLinkResponse{} } -func (m *MutateCustomerManagerLinkResponse) String() string { return proto.CompactTextString(m) } -func (*MutateCustomerManagerLinkResponse) ProtoMessage() {} -func (*MutateCustomerManagerLinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_aaa2b7db8eabbebe, []int{3} -} - -func (m *MutateCustomerManagerLinkResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCustomerManagerLinkResponse.Unmarshal(m, b) -} -func (m *MutateCustomerManagerLinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCustomerManagerLinkResponse.Marshal(b, m, deterministic) -} -func (m *MutateCustomerManagerLinkResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerManagerLinkResponse.Merge(m, src) -} -func (m *MutateCustomerManagerLinkResponse) XXX_Size() int { - return xxx_messageInfo_MutateCustomerManagerLinkResponse.Size(m) -} -func (m *MutateCustomerManagerLinkResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCustomerManagerLinkResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCustomerManagerLinkResponse proto.InternalMessageInfo - -func (m *MutateCustomerManagerLinkResponse) GetResults() []*MutateCustomerManagerLinkResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for the customer manager link mutate. -type MutateCustomerManagerLinkResult 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 *MutateCustomerManagerLinkResult) Reset() { *m = MutateCustomerManagerLinkResult{} } -func (m *MutateCustomerManagerLinkResult) String() string { return proto.CompactTextString(m) } -func (*MutateCustomerManagerLinkResult) ProtoMessage() {} -func (*MutateCustomerManagerLinkResult) Descriptor() ([]byte, []int) { - return fileDescriptor_aaa2b7db8eabbebe, []int{4} -} - -func (m *MutateCustomerManagerLinkResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCustomerManagerLinkResult.Unmarshal(m, b) -} -func (m *MutateCustomerManagerLinkResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCustomerManagerLinkResult.Marshal(b, m, deterministic) -} -func (m *MutateCustomerManagerLinkResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerManagerLinkResult.Merge(m, src) -} -func (m *MutateCustomerManagerLinkResult) XXX_Size() int { - return xxx_messageInfo_MutateCustomerManagerLinkResult.Size(m) -} -func (m *MutateCustomerManagerLinkResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCustomerManagerLinkResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCustomerManagerLinkResult proto.InternalMessageInfo - -func (m *MutateCustomerManagerLinkResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetCustomerManagerLinkRequest)(nil), "google.ads.googleads.v1.services.GetCustomerManagerLinkRequest") - proto.RegisterType((*MutateCustomerManagerLinkRequest)(nil), "google.ads.googleads.v1.services.MutateCustomerManagerLinkRequest") - proto.RegisterType((*CustomerManagerLinkOperation)(nil), "google.ads.googleads.v1.services.CustomerManagerLinkOperation") - proto.RegisterType((*MutateCustomerManagerLinkResponse)(nil), "google.ads.googleads.v1.services.MutateCustomerManagerLinkResponse") - proto.RegisterType((*MutateCustomerManagerLinkResult)(nil), "google.ads.googleads.v1.services.MutateCustomerManagerLinkResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/customer_manager_link_service.proto", fileDescriptor_aaa2b7db8eabbebe) -} - -var fileDescriptor_aaa2b7db8eabbebe = []byte{ - // 597 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0x41, 0x8b, 0xd3, 0x40, - 0x14, 0x36, 0xa9, 0xac, 0xec, 0x54, 0x2f, 0x73, 0x90, 0x5a, 0x56, 0x1a, 0xe3, 0x1e, 0x4a, 0x0f, - 0x13, 0x5a, 0x61, 0xd1, 0x2c, 0xad, 0xa4, 0x5b, 0xb6, 0x2b, 0x58, 0x2d, 0x11, 0x7a, 0xd0, 0x62, - 0x99, 0x6d, 0x66, 0x43, 0x68, 0x92, 0x89, 0x99, 0x49, 0x2f, 0xcb, 0x82, 0x78, 0xf0, 0x0f, 0xf8, - 0x0f, 0xf4, 0xe6, 0x4f, 0xf0, 0x27, 0x78, 0x13, 0xcf, 0xde, 0x3c, 0xed, 0xaf, 0x90, 0x64, 0x32, - 0xb1, 0x42,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0, 0x7f, - 0xad, 0x4b, 0x12, 0xca, 0x8e, 0xae, 0x77, 0xd1, 0xd9, 0xf8, 0xe8, 0x83, 0x4c, 0x66, 0x4f, 0x7f, - 0x92, 0xca, 0xfc, 0xab, 0xeb, 0x7c, 0x65, 0x6f, 0xbb, 0xad, 0x8b, 0xb5, 0x2a, 0xcd, 0x20, 0x43, - 0x37, 0x95, 0x56, 0xff, 0xa3, 0x0a, 0xf6, 0xe7, 0x34, 0xd8, 0x4a, 0xa8, 0xdf, 0x28, 0x9f, 0x82, - 0x71, 0xba, 0x6c, 0x63, 0xe5, 0xf5, 0x49, 0x0e, 0xe2, 0x52, 0x1f, 0x87, 0x2e, 0xa2, 0xb1, 0x6b, - 0xb8, 0x24, 0xcc, 0x56, 0x51, 0x3e, 0x97, 0x91, 0xc7, 0xca, 0x5f, 0xe9, 0x43, 0x19, 0x7c, 0x56, - 0x2b, 0x43, 0xcb, 0xfa, 0xaa, 0x6a, 0x43, 0x01, 0x68, 0x39, 0x0c, 0x89, 0x30, 0x8d, 0x26, 0x6d, - 0x94, 0x37, 0x66, 0xdf, 0x65, 0xca, 0xd4, 0x72, 0xd8, 0xb4, 0x48, 0x99, 0x4e, 0xda, 0x53, 0x99, - 0x72, 0xa9, 0xee, 0x8b, 0x73, 0xd3, 0xb4, 0x1c, 0x66, 0x9a, 0x45, 0x92, 0x69, 0x4e, 0xda, 0xa6, - 0x29, 0xd3, 0x4e, 0x77, 0x32, 0x9e, 0x8f, 0xfe, 0x04, 0x00, 0x00, 0xff, 0xff, 0x5c, 0xb5, 0x81, - 0xa2, 0x4c, 0x06, 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 - -// 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) - // Creates or updates customer manager links. Operation statuses are returned. - MutateCustomerManagerLink(ctx context.Context, in *MutateCustomerManagerLinkRequest, opts ...grpc.CallOption) (*MutateCustomerManagerLinkResponse, 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.v1.services.CustomerManagerLinkService/GetCustomerManagerLink", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *customerManagerLinkServiceClient) MutateCustomerManagerLink(ctx context.Context, in *MutateCustomerManagerLinkRequest, opts ...grpc.CallOption) (*MutateCustomerManagerLinkResponse, error) { - out := new(MutateCustomerManagerLinkResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.CustomerManagerLinkService/MutateCustomerManagerLink", 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) - // Creates or updates customer manager links. Operation statuses are returned. - MutateCustomerManagerLink(context.Context, *MutateCustomerManagerLinkRequest) (*MutateCustomerManagerLinkResponse, error) -} - -// UnimplementedCustomerManagerLinkServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCustomerManagerLinkServiceServer struct { -} - -func (*UnimplementedCustomerManagerLinkServiceServer) GetCustomerManagerLink(ctx context.Context, req *GetCustomerManagerLinkRequest) (*resources.CustomerManagerLink, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCustomerManagerLink not implemented") -} -func (*UnimplementedCustomerManagerLinkServiceServer) MutateCustomerManagerLink(ctx context.Context, req *MutateCustomerManagerLinkRequest) (*MutateCustomerManagerLinkResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method MutateCustomerManagerLink not implemented") -} - -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.v1.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) -} - -func _CustomerManagerLinkService_MutateCustomerManagerLink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateCustomerManagerLinkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CustomerManagerLinkServiceServer).MutateCustomerManagerLink(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.CustomerManagerLinkService/MutateCustomerManagerLink", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CustomerManagerLinkServiceServer).MutateCustomerManagerLink(ctx, req.(*MutateCustomerManagerLinkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _CustomerManagerLinkService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.CustomerManagerLinkService", - HandlerType: (*CustomerManagerLinkServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetCustomerManagerLink", - Handler: _CustomerManagerLinkService_GetCustomerManagerLink_Handler, - }, - { - MethodName: "MutateCustomerManagerLink", - Handler: _CustomerManagerLinkService_MutateCustomerManagerLink_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/customer_manager_link_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/customer_negative_criterion_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/customer_negative_criterion_service.pb.go deleted file mode 100644 index 1e09a0ca..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/customer_negative_criterion_service.pb.go +++ /dev/null @@ -1,502 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/customer_negative_criterion_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [CustomerNegativeCriterionService.GetCustomerNegativeCriterion][google.ads.googleads.v1.services.CustomerNegativeCriterionService.GetCustomerNegativeCriterion]. -type GetCustomerNegativeCriterionRequest 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 *GetCustomerNegativeCriterionRequest) Reset() { *m = GetCustomerNegativeCriterionRequest{} } -func (m *GetCustomerNegativeCriterionRequest) String() string { return proto.CompactTextString(m) } -func (*GetCustomerNegativeCriterionRequest) ProtoMessage() {} -func (*GetCustomerNegativeCriterionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d21e22dd7a1998fe, []int{0} -} - -func (m *GetCustomerNegativeCriterionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCustomerNegativeCriterionRequest.Unmarshal(m, b) -} -func (m *GetCustomerNegativeCriterionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCustomerNegativeCriterionRequest.Marshal(b, m, deterministic) -} -func (m *GetCustomerNegativeCriterionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCustomerNegativeCriterionRequest.Merge(m, src) -} -func (m *GetCustomerNegativeCriterionRequest) XXX_Size() int { - return xxx_messageInfo_GetCustomerNegativeCriterionRequest.Size(m) -} -func (m *GetCustomerNegativeCriterionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetCustomerNegativeCriterionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetCustomerNegativeCriterionRequest proto.InternalMessageInfo - -func (m *GetCustomerNegativeCriterionRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for -// [CustomerNegativeCriterionService.MutateCustomerNegativeCriteria][google.ads.googleads.v1.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria]. -type MutateCustomerNegativeCriteriaRequest 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 []*CustomerNegativeCriterionOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCustomerNegativeCriteriaRequest) Reset() { *m = MutateCustomerNegativeCriteriaRequest{} } -func (m *MutateCustomerNegativeCriteriaRequest) String() string { return proto.CompactTextString(m) } -func (*MutateCustomerNegativeCriteriaRequest) ProtoMessage() {} -func (*MutateCustomerNegativeCriteriaRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d21e22dd7a1998fe, []int{1} -} - -func (m *MutateCustomerNegativeCriteriaRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCustomerNegativeCriteriaRequest.Unmarshal(m, b) -} -func (m *MutateCustomerNegativeCriteriaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCustomerNegativeCriteriaRequest.Marshal(b, m, deterministic) -} -func (m *MutateCustomerNegativeCriteriaRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerNegativeCriteriaRequest.Merge(m, src) -} -func (m *MutateCustomerNegativeCriteriaRequest) XXX_Size() int { - return xxx_messageInfo_MutateCustomerNegativeCriteriaRequest.Size(m) -} -func (m *MutateCustomerNegativeCriteriaRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCustomerNegativeCriteriaRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCustomerNegativeCriteriaRequest proto.InternalMessageInfo - -func (m *MutateCustomerNegativeCriteriaRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateCustomerNegativeCriteriaRequest) GetOperations() []*CustomerNegativeCriterionOperation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *MutateCustomerNegativeCriteriaRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateCustomerNegativeCriteriaRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// A single operation (create or remove) on a customer level negative criterion. -type CustomerNegativeCriterionOperation struct { - // The mutate operation. - // - // Types that are valid to be assigned to Operation: - // *CustomerNegativeCriterionOperation_Create - // *CustomerNegativeCriterionOperation_Remove - Operation isCustomerNegativeCriterionOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomerNegativeCriterionOperation) Reset() { *m = CustomerNegativeCriterionOperation{} } -func (m *CustomerNegativeCriterionOperation) String() string { return proto.CompactTextString(m) } -func (*CustomerNegativeCriterionOperation) ProtoMessage() {} -func (*CustomerNegativeCriterionOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_d21e22dd7a1998fe, []int{2} -} - -func (m *CustomerNegativeCriterionOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomerNegativeCriterionOperation.Unmarshal(m, b) -} -func (m *CustomerNegativeCriterionOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomerNegativeCriterionOperation.Marshal(b, m, deterministic) -} -func (m *CustomerNegativeCriterionOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerNegativeCriterionOperation.Merge(m, src) -} -func (m *CustomerNegativeCriterionOperation) XXX_Size() int { - return xxx_messageInfo_CustomerNegativeCriterionOperation.Size(m) -} -func (m *CustomerNegativeCriterionOperation) XXX_DiscardUnknown() { - xxx_messageInfo_CustomerNegativeCriterionOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomerNegativeCriterionOperation proto.InternalMessageInfo - -type isCustomerNegativeCriterionOperation_Operation interface { - isCustomerNegativeCriterionOperation_Operation() -} - -type CustomerNegativeCriterionOperation_Create struct { - Create *resources.CustomerNegativeCriterion `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type CustomerNegativeCriterionOperation_Remove struct { - Remove string `protobuf:"bytes,2,opt,name=remove,proto3,oneof"` -} - -func (*CustomerNegativeCriterionOperation_Create) isCustomerNegativeCriterionOperation_Operation() {} - -func (*CustomerNegativeCriterionOperation_Remove) isCustomerNegativeCriterionOperation_Operation() {} - -func (m *CustomerNegativeCriterionOperation) GetOperation() isCustomerNegativeCriterionOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *CustomerNegativeCriterionOperation) GetCreate() *resources.CustomerNegativeCriterion { - if x, ok := m.GetOperation().(*CustomerNegativeCriterionOperation_Create); ok { - return x.Create - } - return nil -} - -func (m *CustomerNegativeCriterionOperation) GetRemove() string { - if x, ok := m.GetOperation().(*CustomerNegativeCriterionOperation_Remove); ok { - return x.Remove - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CustomerNegativeCriterionOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CustomerNegativeCriterionOperation_Create)(nil), - (*CustomerNegativeCriterionOperation_Remove)(nil), - } -} - -// Response message for customer negative criterion mutate. -type MutateCustomerNegativeCriteriaResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // All results for the mutate. - Results []*MutateCustomerNegativeCriteriaResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCustomerNegativeCriteriaResponse) Reset() { - *m = MutateCustomerNegativeCriteriaResponse{} -} -func (m *MutateCustomerNegativeCriteriaResponse) String() string { return proto.CompactTextString(m) } -func (*MutateCustomerNegativeCriteriaResponse) ProtoMessage() {} -func (*MutateCustomerNegativeCriteriaResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d21e22dd7a1998fe, []int{3} -} - -func (m *MutateCustomerNegativeCriteriaResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCustomerNegativeCriteriaResponse.Unmarshal(m, b) -} -func (m *MutateCustomerNegativeCriteriaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCustomerNegativeCriteriaResponse.Marshal(b, m, deterministic) -} -func (m *MutateCustomerNegativeCriteriaResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerNegativeCriteriaResponse.Merge(m, src) -} -func (m *MutateCustomerNegativeCriteriaResponse) XXX_Size() int { - return xxx_messageInfo_MutateCustomerNegativeCriteriaResponse.Size(m) -} -func (m *MutateCustomerNegativeCriteriaResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCustomerNegativeCriteriaResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCustomerNegativeCriteriaResponse proto.InternalMessageInfo - -func (m *MutateCustomerNegativeCriteriaResponse) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -func (m *MutateCustomerNegativeCriteriaResponse) GetResults() []*MutateCustomerNegativeCriteriaResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for the criterion mutate. -type MutateCustomerNegativeCriteriaResult 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 *MutateCustomerNegativeCriteriaResult) Reset() { *m = MutateCustomerNegativeCriteriaResult{} } -func (m *MutateCustomerNegativeCriteriaResult) String() string { return proto.CompactTextString(m) } -func (*MutateCustomerNegativeCriteriaResult) ProtoMessage() {} -func (*MutateCustomerNegativeCriteriaResult) Descriptor() ([]byte, []int) { - return fileDescriptor_d21e22dd7a1998fe, []int{4} -} - -func (m *MutateCustomerNegativeCriteriaResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCustomerNegativeCriteriaResult.Unmarshal(m, b) -} -func (m *MutateCustomerNegativeCriteriaResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCustomerNegativeCriteriaResult.Marshal(b, m, deterministic) -} -func (m *MutateCustomerNegativeCriteriaResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerNegativeCriteriaResult.Merge(m, src) -} -func (m *MutateCustomerNegativeCriteriaResult) XXX_Size() int { - return xxx_messageInfo_MutateCustomerNegativeCriteriaResult.Size(m) -} -func (m *MutateCustomerNegativeCriteriaResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCustomerNegativeCriteriaResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCustomerNegativeCriteriaResult proto.InternalMessageInfo - -func (m *MutateCustomerNegativeCriteriaResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetCustomerNegativeCriterionRequest)(nil), "google.ads.googleads.v1.services.GetCustomerNegativeCriterionRequest") - proto.RegisterType((*MutateCustomerNegativeCriteriaRequest)(nil), "google.ads.googleads.v1.services.MutateCustomerNegativeCriteriaRequest") - proto.RegisterType((*CustomerNegativeCriterionOperation)(nil), "google.ads.googleads.v1.services.CustomerNegativeCriterionOperation") - proto.RegisterType((*MutateCustomerNegativeCriteriaResponse)(nil), "google.ads.googleads.v1.services.MutateCustomerNegativeCriteriaResponse") - proto.RegisterType((*MutateCustomerNegativeCriteriaResult)(nil), "google.ads.googleads.v1.services.MutateCustomerNegativeCriteriaResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/customer_negative_criterion_service.proto", fileDescriptor_d21e22dd7a1998fe) -} - -var fileDescriptor_d21e22dd7a1998fe = []byte{ - // 670 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x4f, 0x6b, 0xd4, 0x40, - 0x14, 0x37, 0x69, 0xa9, 0x76, 0xb6, 0x2a, 0x8c, 0x88, 0x4b, 0x29, 0x75, 0x49, 0x5b, 0x2d, 0x7b, - 0x48, 0xd8, 0xf5, 0x16, 0xdb, 0xc3, 0x6e, 0x6d, 0x77, 0xad, 0xd8, 0x96, 0x14, 0xf6, 0x20, 0x0b, - 0x71, 0x9a, 0xbc, 0x86, 0x40, 0x36, 0x13, 0x67, 0x26, 0x91, 0x52, 0x7a, 0xf1, 0xdc, 0x9b, 0xdf, - 0x40, 0x6f, 0x7e, 0x14, 0x8f, 0xfa, 0x15, 0x04, 0xc1, 0xcf, 0xa0, 0x20, 0xf9, 0x33, 0xb1, 0x2d, - 0xa4, 0x59, 0xa8, 0xb7, 0x97, 0xf7, 0x5e, 0x7e, 0xef, 0xfd, 0x7e, 0xf3, 0xe6, 0x0d, 0xda, 0xf5, - 0x28, 0xf5, 0x02, 0x30, 0x88, 0xcb, 0x8d, 0xdc, 0x4c, 0xad, 0xa4, 0x63, 0x70, 0x60, 0x89, 0xef, - 0x00, 0x37, 0x9c, 0x98, 0x0b, 0x3a, 0x01, 0x66, 0x87, 0xe0, 0x11, 0xe1, 0x27, 0x60, 0x3b, 0xcc, - 0x17, 0xc0, 0x7c, 0x1a, 0xda, 0x45, 0x92, 0x1e, 0x31, 0x2a, 0x28, 0x6e, 0xe5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 0xab, 0xb2, 0x19, 0xed, 0x33, 0xfc, 0x47, - 0x41, 0xcb, 0xd7, 0x8b, 0x8b, 0x07, 0x37, 0x3f, 0xcf, 0x9c, 0xed, 0xf0, 0x3f, 0x0c, 0x46, 0x36, - 0xbb, 0xda, 0x30, 0x63, 0xde, 0xd7, 0x36, 0x53, 0xe6, 0xff, 0xa8, 0x9e, 0x5e, 0x58, 0x3b, 0x9b, - 0xed, 0xb3, 0x4a, 0xe2, 0xe6, 0x24, 0x2b, 0x63, 0x2a, 0xed, 0xfe, 0xb9, 0x8a, 0x56, 0x1d, 0x3a, - 0xa9, 0xed, 0xac, 0xbf, 0x56, 0x37, 0x34, 0x07, 0xe9, 0xc6, 0x3d, 0x50, 0xde, 0x0c, 0x0b, 0x28, - 0x8f, 0x06, 0x24, 0xf4, 0x74, 0xca, 0x3c, 0xc3, 0x83, 0x30, 0xdb, 0xc7, 0xf2, 0x7d, 0x88, 0x7c, - 0x5e, 0xfd, 0x38, 0x3d, 0x97, 0xc6, 0x27, 0x75, 0x66, 0xd0, 0xeb, 0x7d, 0x51, 0x5b, 0x83, 0x1c, - 0xb0, 0xe7, 0x72, 0x3d, 0x37, 0x53, 0x6b, 0xd4, 0xd1, 0x8b, 0xc2, 0xfc, 0xab, 0x4c, 0x19, 0xf7, - 0x5c, 0x3e, 0x2e, 0x53, 0xc6, 0xa3, 0xce, 0x58, 0xa6, 0xfc, 0x52, 0x57, 0x73, 0xbf, 0x69, 0xf6, - 0x5c, 0x6e, 0x9a, 0x65, 0x92, 0x69, 0x8e, 0x3a, 0xa6, 0x29, 0xd3, 0x8e, 0xe6, 0xb2, 0x3e, 0x9f, - 0xfd, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x87, 0xdb, 0xa3, 0xde, 0x43, 0x07, 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 - -// CustomerNegativeCriterionServiceClient is the client API for CustomerNegativeCriterionService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type CustomerNegativeCriterionServiceClient interface { - // Returns the requested criterion in full detail. - GetCustomerNegativeCriterion(ctx context.Context, in *GetCustomerNegativeCriterionRequest, opts ...grpc.CallOption) (*resources.CustomerNegativeCriterion, error) - // Creates or removes criteria. Operation statuses are returned. - MutateCustomerNegativeCriteria(ctx context.Context, in *MutateCustomerNegativeCriteriaRequest, opts ...grpc.CallOption) (*MutateCustomerNegativeCriteriaResponse, error) -} - -type customerNegativeCriterionServiceClient struct { - cc *grpc.ClientConn -} - -func NewCustomerNegativeCriterionServiceClient(cc *grpc.ClientConn) CustomerNegativeCriterionServiceClient { - return &customerNegativeCriterionServiceClient{cc} -} - -func (c *customerNegativeCriterionServiceClient) GetCustomerNegativeCriterion(ctx context.Context, in *GetCustomerNegativeCriterionRequest, opts ...grpc.CallOption) (*resources.CustomerNegativeCriterion, error) { - out := new(resources.CustomerNegativeCriterion) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.CustomerNegativeCriterionService/GetCustomerNegativeCriterion", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *customerNegativeCriterionServiceClient) MutateCustomerNegativeCriteria(ctx context.Context, in *MutateCustomerNegativeCriteriaRequest, opts ...grpc.CallOption) (*MutateCustomerNegativeCriteriaResponse, error) { - out := new(MutateCustomerNegativeCriteriaResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.CustomerNegativeCriterionService/MutateCustomerNegativeCriteria", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// CustomerNegativeCriterionServiceServer is the server API for CustomerNegativeCriterionService service. -type CustomerNegativeCriterionServiceServer interface { - // Returns the requested criterion in full detail. - GetCustomerNegativeCriterion(context.Context, *GetCustomerNegativeCriterionRequest) (*resources.CustomerNegativeCriterion, error) - // Creates or removes criteria. Operation statuses are returned. - MutateCustomerNegativeCriteria(context.Context, *MutateCustomerNegativeCriteriaRequest) (*MutateCustomerNegativeCriteriaResponse, error) -} - -// UnimplementedCustomerNegativeCriterionServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCustomerNegativeCriterionServiceServer struct { -} - -func (*UnimplementedCustomerNegativeCriterionServiceServer) GetCustomerNegativeCriterion(ctx context.Context, req *GetCustomerNegativeCriterionRequest) (*resources.CustomerNegativeCriterion, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetCustomerNegativeCriterion not implemented") -} -func (*UnimplementedCustomerNegativeCriterionServiceServer) MutateCustomerNegativeCriteria(ctx context.Context, req *MutateCustomerNegativeCriteriaRequest) (*MutateCustomerNegativeCriteriaResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateCustomerNegativeCriteria not implemented") -} - -func RegisterCustomerNegativeCriterionServiceServer(s *grpc.Server, srv CustomerNegativeCriterionServiceServer) { - s.RegisterService(&_CustomerNegativeCriterionService_serviceDesc, srv) -} - -func _CustomerNegativeCriterionService_GetCustomerNegativeCriterion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetCustomerNegativeCriterionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CustomerNegativeCriterionServiceServer).GetCustomerNegativeCriterion(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.CustomerNegativeCriterionService/GetCustomerNegativeCriterion", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CustomerNegativeCriterionServiceServer).GetCustomerNegativeCriterion(ctx, req.(*GetCustomerNegativeCriterionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CustomerNegativeCriterionService_MutateCustomerNegativeCriteria_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateCustomerNegativeCriteriaRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CustomerNegativeCriterionServiceServer).MutateCustomerNegativeCriteria(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.CustomerNegativeCriterionService/MutateCustomerNegativeCriteria", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CustomerNegativeCriterionServiceServer).MutateCustomerNegativeCriteria(ctx, req.(*MutateCustomerNegativeCriteriaRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _CustomerNegativeCriterionService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.CustomerNegativeCriterionService", - HandlerType: (*CustomerNegativeCriterionServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetCustomerNegativeCriterion", - Handler: _CustomerNegativeCriterionService_GetCustomerNegativeCriterion_Handler, - }, - { - MethodName: "MutateCustomerNegativeCriteria", - Handler: _CustomerNegativeCriterionService_MutateCustomerNegativeCriteria_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/customer_negative_criterion_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/customer_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/customer_service.pb.go deleted file mode 100644 index 9f383fcc..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/customer_service.pb.go +++ /dev/null @@ -1,699 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/customer_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [CustomerService.GetCustomer][google.ads.googleads.v1.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_35dc615eb25453ea, []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 (m *GetCustomerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCustomerRequest.Merge(m, 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.v1.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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_35dc615eb25453ea, []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 (m *MutateCustomerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerRequest.Merge(m, 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 -} - -func (m *MutateCustomerRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// Request message for -// [CustomerService.CreateCustomerClient][google.ads.googleads.v1.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_35dc615eb25453ea, []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 (m *CreateCustomerClientRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateCustomerClientRequest.Merge(m, 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_35dc615eb25453ea, []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 (m *CustomerOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerOperation.Merge(m, 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_35dc615eb25453ea, []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 (m *CreateCustomerClientResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateCustomerClientResponse.Merge(m, 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_35dc615eb25453ea, []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 (m *MutateCustomerResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerResponse.Merge(m, 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_35dc615eb25453ea, []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 (m *MutateCustomerResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerResult.Merge(m, 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.v1.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_35dc615eb25453ea, []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 (m *ListAccessibleCustomersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAccessibleCustomersRequest.Merge(m, 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.v1.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_35dc615eb25453ea, []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 (m *ListAccessibleCustomersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAccessibleCustomersResponse.Merge(m, 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.v1.services.GetCustomerRequest") - proto.RegisterType((*MutateCustomerRequest)(nil), "google.ads.googleads.v1.services.MutateCustomerRequest") - proto.RegisterType((*CreateCustomerClientRequest)(nil), "google.ads.googleads.v1.services.CreateCustomerClientRequest") - proto.RegisterType((*CustomerOperation)(nil), "google.ads.googleads.v1.services.CustomerOperation") - proto.RegisterType((*CreateCustomerClientResponse)(nil), "google.ads.googleads.v1.services.CreateCustomerClientResponse") - proto.RegisterType((*MutateCustomerResponse)(nil), "google.ads.googleads.v1.services.MutateCustomerResponse") - proto.RegisterType((*MutateCustomerResult)(nil), "google.ads.googleads.v1.services.MutateCustomerResult") - proto.RegisterType((*ListAccessibleCustomersRequest)(nil), "google.ads.googleads.v1.services.ListAccessibleCustomersRequest") - proto.RegisterType((*ListAccessibleCustomersResponse)(nil), "google.ads.googleads.v1.services.ListAccessibleCustomersResponse") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/customer_service.proto", fileDescriptor_35dc615eb25453ea) -} - -var fileDescriptor_35dc615eb25453ea = []byte{ - // 746 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0xcd, 0x6e, 0xd3, 0x4c, - 0x14, 0xd5, 0xa4, 0xdf, 0x17, 0xd1, 0x49, 0x7f, 0xc4, 0xa8, 0x40, 0x14, 0xaa, 0x36, 0x98, 0x56, - 0x0d, 0x41, 0xd8, 0xa4, 0x45, 0x14, 0x5c, 0x05, 0xe1, 0x46, 0xa2, 0x45, 0xa2, 0x3f, 0x18, 0xd4, - 0x05, 0x8a, 0x14, 0xb9, 0xf6, 0x34, 0x58, 0x75, 0x3c, 0xc6, 0x63, 0x07, 0x55, 0x55, 0x37, 0x6c, - 0x59, 0x02, 0x0b, 0xb6, 0x2c, 0x59, 0xb1, 0xe0, 0x29, 0x90, 0x58, 0xc1, 0x23, 0xb0, 0xe2, 0x15, - 0xd8, 0x20, 0x8f, 0x67, 0xdc, 0xfc, 0xb9, 0x69, 0xcb, 0xee, 0x66, 0x72, 0xcf, 0xb9, 0xe7, 0xde, - 0x39, 0x73, 0x0d, 0x97, 0x9b, 0x84, 0x34, 0x1d, 0xac, 0x18, 0x16, 0x55, 0xe2, 0x30, 0x8a, 0xda, - 0x15, 0x85, 0x62, 0xbf, 0x6d, 0x9b, 0x98, 0x2a, 0x66, 0x48, 0x03, 0xd2, 0xc2, 0x7e, 0x83, 0x9f, - 0xc8, 0x9e, 0x4f, 0x02, 0x82, 0x8a, 0x71, 0xb6, 0x6c, 0x58, 0x54, 0x4e, 0x80, 0x72, 0xbb, 0x22, - 0x0b, 0x60, 0xe1, 0x76, 0x1a, 0xb5, 0x8f, 0x29, 0x09, 0xfd, 0x4e, 0xee, 0x98, 0xb3, 0x30, 0x2d, - 0x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, 0xec, 0xaa, 0x2e, 0x7d, 0x00, 0xf0, 0x62, 0x5f, 0x73, - 0xa8, 0x06, 0xb3, 0xa1, 0x17, 0x49, 0x67, 0x3a, 0xce, 0x58, 0x82, 0x43, 0xd1, 0x0a, 0xcc, 0xc5, - 0x11, 0x33, 0x05, 0x17, 0x5b, 0x10, 0x4c, 0xc2, 0x15, 0xf2, 0xa3, 0xc8, 0x37, 0x1b, 0x06, 0xdd, - 0xd7, 0x61, 0x9c, 0x1e, 0xc5, 0x52, 0x0d, 0x4e, 0x0f, 0x9e, 0x16, 0xf5, 0x88, 0x4b, 0x71, 0xbf, - 0x4d, 0x32, 0x03, 0x6c, 0xf2, 0x12, 0x5e, 0xee, 0x75, 0x09, 0x87, 0x6f, 0xc2, 0xac, 0x8f, 0x69, - 0xe8, 0x88, 0x19, 0xde, 0x1d, 0x6e, 0x81, 0x3e, 0xa6, 0xd0, 0x09, 0x74, 0xce, 0x22, 0xad, 0xc0, - 0xa9, 0x41, 0xff, 0x9f, 0xce, 0xcd, 0x45, 0x38, 0xf3, 0xc4, 0xa6, 0x81, 0x66, 0x9a, 0x98, 0x52, - 0x7b, 0xd7, 0x49, 0x48, 0x28, 0x37, 0x87, 0xb4, 0x0e, 0x67, 0x53, 0x33, 0x78, 0x47, 0xf3, 0x70, - 0xa2, 0xab, 0x12, 0xcd, 0x83, 0xe2, 0x48, 0x69, 0x54, 0x1f, 0xef, 0x2c, 0x45, 0x17, 0xdf, 0x66, - 0xe1, 0xa4, 0x00, 0x3f, 0x8b, 0x5b, 0x43, 0x1f, 0x01, 0xcc, 0x75, 0xbc, 0x44, 0x74, 0x67, 0xf8, - 0x30, 0xfa, 0x1f, 0x6e, 0xe1, 0x2c, 0x1e, 0x91, 0x16, 0xde, 0xfc, 0xf8, 0xf5, 0x2e, 0x73, 0x0d, - 0xcd, 0x46, 0x1b, 0xe8, 0xb0, 0x4b, 0x78, 0x55, 0x38, 0x94, 0x2a, 0xe5, 0x23, 0xf4, 0x15,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xf2, 0x3b, 0x33, 0x17, 0x9f, 0xab, 0xaa, 0x66, 0x51, 0x55, 0x4d, - 0x92, 0x54, 0x75, 0xa7, 0xa2, 0xaa, 0x22, 0x6d, 0x37, 0xcb, 0x74, 0x2e, 0xfd, 0x0d, 0x00, 0x00, - 0xff, 0xff, 0x3c, 0x0a, 0xed, 0x23, 0x76, 0x08, 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 - -// 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.v1.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.v1.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.v1.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.v1.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) -} - -// UnimplementedCustomerServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCustomerServiceServer struct { -} - -func (*UnimplementedCustomerServiceServer) GetCustomer(ctx context.Context, req *GetCustomerRequest) (*resources.Customer, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCustomer not implemented") -} -func (*UnimplementedCustomerServiceServer) MutateCustomer(ctx context.Context, req *MutateCustomerRequest) (*MutateCustomerResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method MutateCustomer not implemented") -} -func (*UnimplementedCustomerServiceServer) ListAccessibleCustomers(ctx context.Context, req *ListAccessibleCustomersRequest) (*ListAccessibleCustomersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListAccessibleCustomers not implemented") -} -func (*UnimplementedCustomerServiceServer) CreateCustomerClient(ctx context.Context, req *CreateCustomerClientRequest) (*CreateCustomerClientResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateCustomerClient not implemented") -} - -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.v1.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.v1.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.v1.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.v1.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.v1.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/v1/services/customer_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/detail_placement_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/detail_placement_view_service.pb.go deleted file mode 100644 index 55e1cae9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/detail_placement_view_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/detail_placement_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [DetailPlacementViewService.GetDetailPlacementView][google.ads.googleads.v1.services.DetailPlacementViewService.GetDetailPlacementView]. -type GetDetailPlacementViewRequest struct { - // The resource name of the Detail 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 *GetDetailPlacementViewRequest) Reset() { *m = GetDetailPlacementViewRequest{} } -func (m *GetDetailPlacementViewRequest) String() string { return proto.CompactTextString(m) } -func (*GetDetailPlacementViewRequest) ProtoMessage() {} -func (*GetDetailPlacementViewRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9f5548d46c4dece9, []int{0} -} - -func (m *GetDetailPlacementViewRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDetailPlacementViewRequest.Unmarshal(m, b) -} -func (m *GetDetailPlacementViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDetailPlacementViewRequest.Marshal(b, m, deterministic) -} -func (m *GetDetailPlacementViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDetailPlacementViewRequest.Merge(m, src) -} -func (m *GetDetailPlacementViewRequest) XXX_Size() int { - return xxx_messageInfo_GetDetailPlacementViewRequest.Size(m) -} -func (m *GetDetailPlacementViewRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetDetailPlacementViewRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetDetailPlacementViewRequest proto.InternalMessageInfo - -func (m *GetDetailPlacementViewRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetDetailPlacementViewRequest)(nil), "google.ads.googleads.v1.services.GetDetailPlacementViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/detail_placement_view_service.proto", fileDescriptor_9f5548d46c4dece9) -} - -var fileDescriptor_9f5548d46c4dece9 = []byte{ - // 373 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xbf, 0x4a, 0xfb, 0x40, - 0x1c, 0x27, 0xf9, 0xc1, 0x0f, 0x0c, 0xba, 0x64, 0x10, 0x09, 0x8a, 0xa5, 0x76, 0x90, 0x0e, 0x77, - 0x44, 0xa1, 0xc8, 0x49, 0x95, 0x94, 0x42, 0x9d, 0xa4, 0x54, 0xc8, 0x20, 0x81, 0x70, 0x26, 0x5f, - 0x42, 0x20, 0xc9, 0xc5, 0xdc, 0x35, 0x1d, 0xc4, 0xc5, 0xc1, 0x17, 0xf0, 0x0d, 0x1c, 0x7d, 0x14, - 0x37, 0xf1, 0x15, 0x9c, 0x9c, 0x7c, 0x04, 0x49, 0x2f, 0x17, 0x28, 0x34, 0x76, 0xfb, 0x70, 0xdf, - 0xcf, 0x9f, 0xef, 0x9f, 0x33, 0xc6, 0x11, 0x63, 0x51, 0x02, 0x98, 0x86, 0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0x0e, 0xdb, 0x17, 0x33, 0xad, 0x4e, 0x30, 0xd5, 0x6e, 0xaf, 0x6a, 0x93, 0x88, 0x25, 0x34, - 0x8b, 0x10, 0x2b, 0x22, 0x1c, 0x41, 0xb6, 0x3c, 0x90, 0xba, 0x78, 0x1e, 0xf3, 0xf6, 0x8f, 0x76, - 0xae, 0xc0, 0xab, 0xfe, 0x6f, 0xe2, 0x38, 0x6f, 0x7a, 0x67, 0x22, 0x0d, 0x9d, 0x90, 0x23, 0x09, - 0x2b, 0xe4, 0xda, 0xa8, 0x0e, 0xe6, 0xef, 0x8a, 0xe2, 0x39, 0x21, 0xf7, 0x1a, 0x8a, 0xe7, 0xda, - 0x9e, 0xa2, 0x7c, 0xeb, 0x3d, 0xf9, 0x4e, 0x88, 0x13, 0x72, 0x42, 0x1a, 0x12, 0x21, 0xae, 0x4d, - 0x88, 0xa2, 0xdd, 0xfd, 0x5f, 0xf6, 0x79, 0xfa, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x3d, 0x02, 0x09, - 0x37, 0x0f, 0x03, 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 - -// DetailPlacementViewServiceClient is the client API for DetailPlacementViewService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type DetailPlacementViewServiceClient interface { - // Returns the requested Detail Placement view in full detail. - GetDetailPlacementView(ctx context.Context, in *GetDetailPlacementViewRequest, opts ...grpc.CallOption) (*resources.DetailPlacementView, error) -} - -type detailPlacementViewServiceClient struct { - cc *grpc.ClientConn -} - -func NewDetailPlacementViewServiceClient(cc *grpc.ClientConn) DetailPlacementViewServiceClient { - return &detailPlacementViewServiceClient{cc} -} - -func (c *detailPlacementViewServiceClient) GetDetailPlacementView(ctx context.Context, in *GetDetailPlacementViewRequest, opts ...grpc.CallOption) (*resources.DetailPlacementView, error) { - out := new(resources.DetailPlacementView) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.DetailPlacementViewService/GetDetailPlacementView", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// DetailPlacementViewServiceServer is the server API for DetailPlacementViewService service. -type DetailPlacementViewServiceServer interface { - // Returns the requested Detail Placement view in full detail. - GetDetailPlacementView(context.Context, *GetDetailPlacementViewRequest) (*resources.DetailPlacementView, error) -} - -// UnimplementedDetailPlacementViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedDetailPlacementViewServiceServer struct { -} - -func (*UnimplementedDetailPlacementViewServiceServer) GetDetailPlacementView(ctx context.Context, req *GetDetailPlacementViewRequest) (*resources.DetailPlacementView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDetailPlacementView not implemented") -} - -func RegisterDetailPlacementViewServiceServer(s *grpc.Server, srv DetailPlacementViewServiceServer) { - s.RegisterService(&_DetailPlacementViewService_serviceDesc, srv) -} - -func _DetailPlacementViewService_GetDetailPlacementView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDetailPlacementViewRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DetailPlacementViewServiceServer).GetDetailPlacementView(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.DetailPlacementViewService/GetDetailPlacementView", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DetailPlacementViewServiceServer).GetDetailPlacementView(ctx, req.(*GetDetailPlacementViewRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _DetailPlacementViewService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.DetailPlacementViewService", - HandlerType: (*DetailPlacementViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetDetailPlacementView", - Handler: _DetailPlacementViewService_GetDetailPlacementView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/detail_placement_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/display_keyword_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/display_keyword_view_service.pb.go deleted file mode 100644 index 447a6ea4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/display_keyword_view_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/display_keyword_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [DisplayKeywordViewService.GetDisplayKeywordView][google.ads.googleads.v1.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_5b29fb51aa49493b, []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 (m *GetDisplayKeywordViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDisplayKeywordViewRequest.Merge(m, 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.v1.services.GetDisplayKeywordViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/display_keyword_view_service.proto", fileDescriptor_5b29fb51aa49493b) -} - -var fileDescriptor_5b29fb51aa49493b = []byte{ - // 373 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xcf, 0x4a, 0xc3, 0x30, - 0x18, 0xa7, 0x15, 0x04, 0x8b, 0x5e, 0x0a, 0x82, 0x8e, 0x21, 0x63, 0xee, 0x20, 0x3b, 0x24, 0x54, - 0x19, 0x42, 0x74, 0x42, 0x37, 0x61, 0x82, 0x20, 0x63, 0x42, 0x0f, 0x52, 0x28, 0x71, 0x0d, 0xa5, - 0xb8, 0x36, 0x35, 0x5f, 0xd7, 0x31, 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, 0xfe, 0xf1, 0xa4, - 0x1f, 0x9a, 0xad, 0xbc, 0xc3, 0xbb, 0x5f, 0xcf, 0x6b, 0x0f, 0xc7, 0x90, 0xf2, 0x88, 0x09, 0xc0, - 0x4d, 0x55, 0xea, 0x0f, 0x29, 0xe0, 0xe6, 0x7d, 0xe7, 0x51, 0x37, 0x1a, 0x43, 0x1e, 0x2d, 0x9d, - 0xbd, 0xb3, 0x53, 0xda, 0x49, 0x3f, 0xef, 0xbe, 0xaf, 0x5d, 0x9d, 0xcd, 0x3d, 0x02, 0x3e, 0xa2, - 0x71, 0x80, 0xb8, 0x08, 0x70, 0xc0, 0xe2, 0xd9, 0x66, 0xd4, 0xa6, 0x93, 0x10, 0xca, 0xff, 0xd7, - 0x91, 0x02, 0xcf, 0xfa, 0x4a, 0xcf, 0xb6, 0x5f, 0xf4, 0x5a, 0x4f, 0x1a, 0xda, 0x3e, 0x20, 0x09, - 0x73, 0xe4, 0x58, 0x68, 0x1e, 0x0c, 0xaf, 0x8a, 0xe2, 0xda, 0x3e, 0xb8, 0x05, 0xc5, 0x75, 0x2c, - 0x57, 0x51, 0x3e, 0xf5, 0x86, 0x3c, 0x27, 0xc4, 0xf6, 0x81, 0x90, 0x82, 0x44, 0x88, 0x63, 0x11, - 0xa2, 0x68, 0xd7, 0xab, 0xb3, 0x39, 0x0f, 0xbe, 0x03, 0x00, 0x00, 0xff, 0xff, 0x56, 0xf2, 0xb0, - 0x91, 0x06, 0x03, 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 - -// 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.v1.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) -} - -// UnimplementedDisplayKeywordViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedDisplayKeywordViewServiceServer struct { -} - -func (*UnimplementedDisplayKeywordViewServiceServer) GetDisplayKeywordView(ctx context.Context, req *GetDisplayKeywordViewRequest) (*resources.DisplayKeywordView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDisplayKeywordView not implemented") -} - -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.v1.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.v1.services.DisplayKeywordViewService", - HandlerType: (*DisplayKeywordViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetDisplayKeywordView", - Handler: _DisplayKeywordViewService_GetDisplayKeywordView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/display_keyword_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/domain_category_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/domain_category_service.pb.go deleted file mode 100644 index dc136573..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/domain_category_service.pb.go +++ /dev/null @@ -1,187 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/domain_category_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [DomainCategoryService.GetDomainCategory][google.ads.googleads.v1.services.DomainCategoryService.GetDomainCategory]. -type GetDomainCategoryRequest struct { - // Resource name of the domain category 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 *GetDomainCategoryRequest) Reset() { *m = GetDomainCategoryRequest{} } -func (m *GetDomainCategoryRequest) String() string { return proto.CompactTextString(m) } -func (*GetDomainCategoryRequest) ProtoMessage() {} -func (*GetDomainCategoryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_15e4bcffa65a4ff8, []int{0} -} - -func (m *GetDomainCategoryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDomainCategoryRequest.Unmarshal(m, b) -} -func (m *GetDomainCategoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDomainCategoryRequest.Marshal(b, m, deterministic) -} -func (m *GetDomainCategoryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDomainCategoryRequest.Merge(m, src) -} -func (m *GetDomainCategoryRequest) XXX_Size() int { - return xxx_messageInfo_GetDomainCategoryRequest.Size(m) -} -func (m *GetDomainCategoryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetDomainCategoryRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetDomainCategoryRequest proto.InternalMessageInfo - -func (m *GetDomainCategoryRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetDomainCategoryRequest)(nil), "google.ads.googleads.v1.services.GetDomainCategoryRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/domain_category_service.proto", fileDescriptor_15e4bcffa65a4ff8) -} - -var fileDescriptor_15e4bcffa65a4ff8 = []byte{ - // 367 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x41, 0x4a, 0xfb, 0x40, - 0x18, 0xc5, 0x49, 0xfe, 0xf0, 0x07, 0x83, 0x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, 0xbf, - 0x3b, 0xde, 0xf6, 0x9f, 0xd9, 0x3e, 0x41, 0xeb, 0x9e, 0x8a, 0xea, 0x02, 0x05, 0x61, 0x2d, 0x5b, - 0x95, 0x80, 0x96, 0xc9, 0x16, 0x79, 0xfe, 0xfc, 0x7e, 0x71, 0x0f, 0xfd, 0x6e, 0x51, 0xd5, 0xc3, - 0xd2, 0x73, 0x4e, 0x92, 0x19, 0x68, 0x99, 0x33, 0x05, 0xb8, 0x53, 0x76, 0x57, 0x62, 0x19, 0x03, - 0xdc, 0x79, 0xec, 0x3d, 0xb9, 0x5e, 0x3b, 0x91, 0xf9, 0xda, 0xc0, 0xbd, 0x60, 0x65, 0x01, 0x83, - 0xa2, 0xe0, 0x81, 0x73, 0x73, 0x59, 0xf2, 0x5c, 0x4e, 0xa8, 0xe0, 0x48, 0x2a, 0x8e, 0x39, 0x13, - 0x8b, 0xfa, 0xed, 0x97, 0x9c, 0x66, 0x50, 0xff, 0xeb, 0x1c, 0x5b, 0xf1, 0xea, 0xfe, 0xeb, 0x47, - 0xd1, 0x9b, 0xdb, 0xec, 0x9b, 0x81, 0x51, 0x0a, 0xc8, 0xc8, 0x42, 0x8d, 0x42, 0x54, 0x2e, 0x86, - 0x0f, 0x6b, 0x89, 0xa3, 0x14, 0xe2, 0xca, 0x12, 0x8f, 0xc2, 0xd8, 0x5a, 0x7e, 0xdc, 0xb6, 0x39, - 0x27, 0x24, 0x4a, 0x81, 0x90, 0xca, 0x44, 0xc8, 0x28, 0x24, 0xc4, 0xda, 0x6e, 0xff, 0x2f, 0x72, - 0x1e, 0xfc, 0x06, 0x00, 0x00, 0xff, 0xff, 0x0a, 0xaa, 0x05, 0x1b, 0xe1, 0x02, 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 - -// DomainCategoryServiceClient is the client API for DomainCategoryService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type DomainCategoryServiceClient interface { - // Returns the requested domain category. - GetDomainCategory(ctx context.Context, in *GetDomainCategoryRequest, opts ...grpc.CallOption) (*resources.DomainCategory, error) -} - -type domainCategoryServiceClient struct { - cc *grpc.ClientConn -} - -func NewDomainCategoryServiceClient(cc *grpc.ClientConn) DomainCategoryServiceClient { - return &domainCategoryServiceClient{cc} -} - -func (c *domainCategoryServiceClient) GetDomainCategory(ctx context.Context, in *GetDomainCategoryRequest, opts ...grpc.CallOption) (*resources.DomainCategory, error) { - out := new(resources.DomainCategory) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.DomainCategoryService/GetDomainCategory", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// DomainCategoryServiceServer is the server API for DomainCategoryService service. -type DomainCategoryServiceServer interface { - // Returns the requested domain category. - GetDomainCategory(context.Context, *GetDomainCategoryRequest) (*resources.DomainCategory, error) -} - -// UnimplementedDomainCategoryServiceServer can be embedded to have forward compatible implementations. -type UnimplementedDomainCategoryServiceServer struct { -} - -func (*UnimplementedDomainCategoryServiceServer) GetDomainCategory(ctx context.Context, req *GetDomainCategoryRequest) (*resources.DomainCategory, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDomainCategory not implemented") -} - -func RegisterDomainCategoryServiceServer(s *grpc.Server, srv DomainCategoryServiceServer) { - s.RegisterService(&_DomainCategoryService_serviceDesc, srv) -} - -func _DomainCategoryService_GetDomainCategory_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDomainCategoryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DomainCategoryServiceServer).GetDomainCategory(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.DomainCategoryService/GetDomainCategory", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DomainCategoryServiceServer).GetDomainCategory(ctx, req.(*GetDomainCategoryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _DomainCategoryService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.DomainCategoryService", - HandlerType: (*DomainCategoryServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetDomainCategory", - Handler: _DomainCategoryService_GetDomainCategory_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/domain_category_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/dynamic_search_ads_search_term_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/dynamic_search_ads_search_term_view_service.pb.go deleted file mode 100644 index bf190416..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/dynamic_search_ads_search_term_view_service.pb.go +++ /dev/null @@ -1,191 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/dynamic_search_ads_search_term_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [DynamicSearchAdsSearchTermViewService.GetDynamicSearchAdsSearchTermView][google.ads.googleads.v1.services.DynamicSearchAdsSearchTermViewService.GetDynamicSearchAdsSearchTermView]. -type GetDynamicSearchAdsSearchTermViewRequest struct { - // The resource name of the dynamic search ads 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 *GetDynamicSearchAdsSearchTermViewRequest) Reset() { - *m = GetDynamicSearchAdsSearchTermViewRequest{} -} -func (m *GetDynamicSearchAdsSearchTermViewRequest) String() string { return proto.CompactTextString(m) } -func (*GetDynamicSearchAdsSearchTermViewRequest) ProtoMessage() {} -func (*GetDynamicSearchAdsSearchTermViewRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b4acc14a32136684, []int{0} -} - -func (m *GetDynamicSearchAdsSearchTermViewRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDynamicSearchAdsSearchTermViewRequest.Unmarshal(m, b) -} -func (m *GetDynamicSearchAdsSearchTermViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDynamicSearchAdsSearchTermViewRequest.Marshal(b, m, deterministic) -} -func (m *GetDynamicSearchAdsSearchTermViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDynamicSearchAdsSearchTermViewRequest.Merge(m, src) -} -func (m *GetDynamicSearchAdsSearchTermViewRequest) XXX_Size() int { - return xxx_messageInfo_GetDynamicSearchAdsSearchTermViewRequest.Size(m) -} -func (m *GetDynamicSearchAdsSearchTermViewRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetDynamicSearchAdsSearchTermViewRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetDynamicSearchAdsSearchTermViewRequest proto.InternalMessageInfo - -func (m *GetDynamicSearchAdsSearchTermViewRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetDynamicSearchAdsSearchTermViewRequest)(nil), "google.ads.googleads.v1.services.GetDynamicSearchAdsSearchTermViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/dynamic_search_ads_search_term_view_service.proto", fileDescriptor_b4acc14a32136684) -} - -var fileDescriptor_b4acc14a32136684 = []byte{ - // 391 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xcd, 0x6a, 0xdb, 0x40, - 0x14, 0x85, 0x91, 0x0a, 0x85, 0x8a, 0x76, 0xa3, 0x55, 0x31, 0x5d, 0xb8, 0xae, 0x0b, 0xc6, 0x8b, - 0x19, 0xd4, 0xee, 0xa6, 0x74, 0x31, 0x6e, 0xc1, 0xfd, 0x81, 0xd6, 0xd8, 0x41, 0x8b, 0x20, 0x10, - 0x13, 0xcd, 0x45, 0x11, 0x58, 0x1a, 0x67, 0xae, 0x2c, 0x13, 0x42, 0x36, 0x79, 0x83, 0x90, 0x37, - 0xc8, 0x26, 0x90, 0x47, 0xc9, 0x36, 0xaf, 0x90, 0x55, 0xde, 0x21, 0x10, 0xe4, 0xf1, 0x08, 0xb2, - 0x90, 0xed, 0xdd, 0x61, 0xe6, 0xf0, 0x9d, 0xb9, 0xf7, 0x8c, 0x37, 0x4d, 0x95, 0x4a, 0xe7, 0x40, - 0x85, 0x44, 0x6a, 0x64, 0xad, 0xaa, 0x80, 0x22, 0xe8, 0x2a, 0x4b, 0x00, 0xa9, 0x3c, 0x2d, 0x44, - 0x9e, 0x25, 0x31, 0x82, 0xd0, 0xc9, 0x71, 0x2c, 0x24, 0x5a, 0x59, 0x82, 0xce, 0xe3, 0x2a, 0x83, - 0x55, 0xbc, 0x31, 0x93, 0x85, 0x56, 0xa5, 0xf2, 0xbb, 0x06, 0x44, 0x84, 0x44, 0xd2, 0x30, 0x49, - 0x15, 0x10, 0xcb, 0xec, 0xfc, 0x6d, 0x4b, 0xd5, 0x80, 0x6a, 0xa9, 0xf7, 0x8c, 0x35, 0x71, 0x9d, - 0x0f, 0x16,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, 0x30, 0xde, 0x59, 0x4b, 0xc4, 0x25, 0x46, 0x8d, 0x25, - 0x0a, 0x83, 0xc8, 0x5a, 0x1e, 0xdd, 0xbe, 0x39, 0x67, 0x8c, 0x4b, 0x64, 0xac, 0x31, 0x31, 0x16, - 0x06, 0x8c, 0x59, 0xdb, 0xd1, 0xeb, 0xf5, 0x3b, 0xbf, 0x3e, 0x07, 0x00, 0x00, 0xff, 0xff, 0x0e, - 0x7a, 0x64, 0x1d, 0x78, 0x03, 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 - -// DynamicSearchAdsSearchTermViewServiceClient is the client API for DynamicSearchAdsSearchTermViewService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type DynamicSearchAdsSearchTermViewServiceClient interface { - // Returns the requested dynamic search ads search term view in full detail. - GetDynamicSearchAdsSearchTermView(ctx context.Context, in *GetDynamicSearchAdsSearchTermViewRequest, opts ...grpc.CallOption) (*resources.DynamicSearchAdsSearchTermView, error) -} - -type dynamicSearchAdsSearchTermViewServiceClient struct { - cc *grpc.ClientConn -} - -func NewDynamicSearchAdsSearchTermViewServiceClient(cc *grpc.ClientConn) DynamicSearchAdsSearchTermViewServiceClient { - return &dynamicSearchAdsSearchTermViewServiceClient{cc} -} - -func (c *dynamicSearchAdsSearchTermViewServiceClient) GetDynamicSearchAdsSearchTermView(ctx context.Context, in *GetDynamicSearchAdsSearchTermViewRequest, opts ...grpc.CallOption) (*resources.DynamicSearchAdsSearchTermView, error) { - out := new(resources.DynamicSearchAdsSearchTermView) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.DynamicSearchAdsSearchTermViewService/GetDynamicSearchAdsSearchTermView", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// DynamicSearchAdsSearchTermViewServiceServer is the server API for DynamicSearchAdsSearchTermViewService service. -type DynamicSearchAdsSearchTermViewServiceServer interface { - // Returns the requested dynamic search ads search term view in full detail. - GetDynamicSearchAdsSearchTermView(context.Context, *GetDynamicSearchAdsSearchTermViewRequest) (*resources.DynamicSearchAdsSearchTermView, error) -} - -// UnimplementedDynamicSearchAdsSearchTermViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedDynamicSearchAdsSearchTermViewServiceServer struct { -} - -func (*UnimplementedDynamicSearchAdsSearchTermViewServiceServer) GetDynamicSearchAdsSearchTermView(ctx context.Context, req *GetDynamicSearchAdsSearchTermViewRequest) (*resources.DynamicSearchAdsSearchTermView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDynamicSearchAdsSearchTermView not implemented") -} - -func RegisterDynamicSearchAdsSearchTermViewServiceServer(s *grpc.Server, srv DynamicSearchAdsSearchTermViewServiceServer) { - s.RegisterService(&_DynamicSearchAdsSearchTermViewService_serviceDesc, srv) -} - -func _DynamicSearchAdsSearchTermViewService_GetDynamicSearchAdsSearchTermView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDynamicSearchAdsSearchTermViewRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DynamicSearchAdsSearchTermViewServiceServer).GetDynamicSearchAdsSearchTermView(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.DynamicSearchAdsSearchTermViewService/GetDynamicSearchAdsSearchTermView", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DynamicSearchAdsSearchTermViewServiceServer).GetDynamicSearchAdsSearchTermView(ctx, req.(*GetDynamicSearchAdsSearchTermViewRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _DynamicSearchAdsSearchTermViewService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.DynamicSearchAdsSearchTermViewService", - HandlerType: (*DynamicSearchAdsSearchTermViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetDynamicSearchAdsSearchTermView", - Handler: _DynamicSearchAdsSearchTermViewService_GetDynamicSearchAdsSearchTermView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/dynamic_search_ads_search_term_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/expanded_landing_page_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/expanded_landing_page_view_service.pb.go deleted file mode 100644 index 5528fcca..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/expanded_landing_page_view_service.pb.go +++ /dev/null @@ -1,190 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/expanded_landing_page_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [ExpandedLandingPageViewService.GetExpandedLandingPageView][google.ads.googleads.v1.services.ExpandedLandingPageViewService.GetExpandedLandingPageView]. -type GetExpandedLandingPageViewRequest struct { - // The resource name of the expanded landing page 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 *GetExpandedLandingPageViewRequest) Reset() { *m = GetExpandedLandingPageViewRequest{} } -func (m *GetExpandedLandingPageViewRequest) String() string { return proto.CompactTextString(m) } -func (*GetExpandedLandingPageViewRequest) ProtoMessage() {} -func (*GetExpandedLandingPageViewRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d9246f2676cd9670, []int{0} -} - -func (m *GetExpandedLandingPageViewRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetExpandedLandingPageViewRequest.Unmarshal(m, b) -} -func (m *GetExpandedLandingPageViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetExpandedLandingPageViewRequest.Marshal(b, m, deterministic) -} -func (m *GetExpandedLandingPageViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetExpandedLandingPageViewRequest.Merge(m, src) -} -func (m *GetExpandedLandingPageViewRequest) XXX_Size() int { - return xxx_messageInfo_GetExpandedLandingPageViewRequest.Size(m) -} -func (m *GetExpandedLandingPageViewRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetExpandedLandingPageViewRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetExpandedLandingPageViewRequest proto.InternalMessageInfo - -func (m *GetExpandedLandingPageViewRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetExpandedLandingPageViewRequest)(nil), "google.ads.googleads.v1.services.GetExpandedLandingPageViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/expanded_landing_page_view_service.proto", fileDescriptor_d9246f2676cd9670) -} - -var fileDescriptor_d9246f2676cd9670 = []byte{ - // 398 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0x31, 0x8b, 0xdb, 0x30, - 0x14, 0xc6, 0x2e, 0x14, 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d0, 0xe7, 0xbb, - 0xfb, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe5, 0xc2, 0x24, 0x75, 0x55, 0x03, 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 - -// ExpandedLandingPageViewServiceClient is the client API for ExpandedLandingPageViewService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ExpandedLandingPageViewServiceClient interface { - // Returns the requested expanded landing page view in full detail. - GetExpandedLandingPageView(ctx context.Context, in *GetExpandedLandingPageViewRequest, opts ...grpc.CallOption) (*resources.ExpandedLandingPageView, error) -} - -type expandedLandingPageViewServiceClient struct { - cc *grpc.ClientConn -} - -func NewExpandedLandingPageViewServiceClient(cc *grpc.ClientConn) ExpandedLandingPageViewServiceClient { - return &expandedLandingPageViewServiceClient{cc} -} - -func (c *expandedLandingPageViewServiceClient) GetExpandedLandingPageView(ctx context.Context, in *GetExpandedLandingPageViewRequest, opts ...grpc.CallOption) (*resources.ExpandedLandingPageView, error) { - out := new(resources.ExpandedLandingPageView) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.ExpandedLandingPageViewService/GetExpandedLandingPageView", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ExpandedLandingPageViewServiceServer is the server API for ExpandedLandingPageViewService service. -type ExpandedLandingPageViewServiceServer interface { - // Returns the requested expanded landing page view in full detail. - GetExpandedLandingPageView(context.Context, *GetExpandedLandingPageViewRequest) (*resources.ExpandedLandingPageView, error) -} - -// UnimplementedExpandedLandingPageViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedExpandedLandingPageViewServiceServer struct { -} - -func (*UnimplementedExpandedLandingPageViewServiceServer) GetExpandedLandingPageView(ctx context.Context, req *GetExpandedLandingPageViewRequest) (*resources.ExpandedLandingPageView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetExpandedLandingPageView not implemented") -} - -func RegisterExpandedLandingPageViewServiceServer(s *grpc.Server, srv ExpandedLandingPageViewServiceServer) { - s.RegisterService(&_ExpandedLandingPageViewService_serviceDesc, srv) -} - -func _ExpandedLandingPageViewService_GetExpandedLandingPageView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetExpandedLandingPageViewRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ExpandedLandingPageViewServiceServer).GetExpandedLandingPageView(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.ExpandedLandingPageViewService/GetExpandedLandingPageView", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ExpandedLandingPageViewServiceServer).GetExpandedLandingPageView(ctx, req.(*GetExpandedLandingPageViewRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ExpandedLandingPageViewService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.ExpandedLandingPageViewService", - HandlerType: (*ExpandedLandingPageViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetExpandedLandingPageView", - Handler: _ExpandedLandingPageViewService_GetExpandedLandingPageView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/expanded_landing_page_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/extension_feed_item_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/extension_feed_item_service.pb.go deleted file mode 100644 index fb9ed07b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/extension_feed_item_service.pb.go +++ /dev/null @@ -1,502 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/extension_feed_item_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [ExtensionFeedItemService.GetExtensionFeedItem][google.ads.googleads.v1.services.ExtensionFeedItemService.GetExtensionFeedItem]. -type GetExtensionFeedItemRequest struct { - // The resource name of the extension 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 *GetExtensionFeedItemRequest) Reset() { *m = GetExtensionFeedItemRequest{} } -func (m *GetExtensionFeedItemRequest) String() string { return proto.CompactTextString(m) } -func (*GetExtensionFeedItemRequest) ProtoMessage() {} -func (*GetExtensionFeedItemRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e6e6bc4adf2cef65, []int{0} -} - -func (m *GetExtensionFeedItemRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetExtensionFeedItemRequest.Unmarshal(m, b) -} -func (m *GetExtensionFeedItemRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetExtensionFeedItemRequest.Marshal(b, m, deterministic) -} -func (m *GetExtensionFeedItemRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetExtensionFeedItemRequest.Merge(m, src) -} -func (m *GetExtensionFeedItemRequest) XXX_Size() int { - return xxx_messageInfo_GetExtensionFeedItemRequest.Size(m) -} -func (m *GetExtensionFeedItemRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetExtensionFeedItemRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetExtensionFeedItemRequest proto.InternalMessageInfo - -func (m *GetExtensionFeedItemRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for -// [ExtensionFeedItemService.MutateExtensionFeedItems][google.ads.googleads.v1.services.ExtensionFeedItemService.MutateExtensionFeedItems]. -type MutateExtensionFeedItemsRequest struct { - // The ID of the customer whose extension 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 extension feed items. - Operations []*ExtensionFeedItemOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateExtensionFeedItemsRequest) Reset() { *m = MutateExtensionFeedItemsRequest{} } -func (m *MutateExtensionFeedItemsRequest) String() string { return proto.CompactTextString(m) } -func (*MutateExtensionFeedItemsRequest) ProtoMessage() {} -func (*MutateExtensionFeedItemsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e6e6bc4adf2cef65, []int{1} -} - -func (m *MutateExtensionFeedItemsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateExtensionFeedItemsRequest.Unmarshal(m, b) -} -func (m *MutateExtensionFeedItemsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateExtensionFeedItemsRequest.Marshal(b, m, deterministic) -} -func (m *MutateExtensionFeedItemsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateExtensionFeedItemsRequest.Merge(m, src) -} -func (m *MutateExtensionFeedItemsRequest) XXX_Size() int { - return xxx_messageInfo_MutateExtensionFeedItemsRequest.Size(m) -} -func (m *MutateExtensionFeedItemsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateExtensionFeedItemsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateExtensionFeedItemsRequest proto.InternalMessageInfo - -func (m *MutateExtensionFeedItemsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateExtensionFeedItemsRequest) GetOperations() []*ExtensionFeedItemOperation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *MutateExtensionFeedItemsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// A single operation (create, update, remove) on an extension feed item. -type ExtensionFeedItemOperation 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: - // *ExtensionFeedItemOperation_Create - // *ExtensionFeedItemOperation_Update - // *ExtensionFeedItemOperation_Remove - Operation isExtensionFeedItemOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExtensionFeedItemOperation) Reset() { *m = ExtensionFeedItemOperation{} } -func (m *ExtensionFeedItemOperation) String() string { return proto.CompactTextString(m) } -func (*ExtensionFeedItemOperation) ProtoMessage() {} -func (*ExtensionFeedItemOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_e6e6bc4adf2cef65, []int{2} -} - -func (m *ExtensionFeedItemOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExtensionFeedItemOperation.Unmarshal(m, b) -} -func (m *ExtensionFeedItemOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExtensionFeedItemOperation.Marshal(b, m, deterministic) -} -func (m *ExtensionFeedItemOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExtensionFeedItemOperation.Merge(m, src) -} -func (m *ExtensionFeedItemOperation) XXX_Size() int { - return xxx_messageInfo_ExtensionFeedItemOperation.Size(m) -} -func (m *ExtensionFeedItemOperation) XXX_DiscardUnknown() { - xxx_messageInfo_ExtensionFeedItemOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_ExtensionFeedItemOperation proto.InternalMessageInfo - -func (m *ExtensionFeedItemOperation) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -type isExtensionFeedItemOperation_Operation interface { - isExtensionFeedItemOperation_Operation() -} - -type ExtensionFeedItemOperation_Create struct { - Create *resources.ExtensionFeedItem `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type ExtensionFeedItemOperation_Update struct { - Update *resources.ExtensionFeedItem `protobuf:"bytes,2,opt,name=update,proto3,oneof"` -} - -type ExtensionFeedItemOperation_Remove struct { - Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` -} - -func (*ExtensionFeedItemOperation_Create) isExtensionFeedItemOperation_Operation() {} - -func (*ExtensionFeedItemOperation_Update) isExtensionFeedItemOperation_Operation() {} - -func (*ExtensionFeedItemOperation_Remove) isExtensionFeedItemOperation_Operation() {} - -func (m *ExtensionFeedItemOperation) GetOperation() isExtensionFeedItemOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *ExtensionFeedItemOperation) GetCreate() *resources.ExtensionFeedItem { - if x, ok := m.GetOperation().(*ExtensionFeedItemOperation_Create); ok { - return x.Create - } - return nil -} - -func (m *ExtensionFeedItemOperation) GetUpdate() *resources.ExtensionFeedItem { - if x, ok := m.GetOperation().(*ExtensionFeedItemOperation_Update); ok { - return x.Update - } - return nil -} - -func (m *ExtensionFeedItemOperation) GetRemove() string { - if x, ok := m.GetOperation().(*ExtensionFeedItemOperation_Remove); ok { - return x.Remove - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ExtensionFeedItemOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ExtensionFeedItemOperation_Create)(nil), - (*ExtensionFeedItemOperation_Update)(nil), - (*ExtensionFeedItemOperation_Remove)(nil), - } -} - -// Response message for an extension feed item mutate. -type MutateExtensionFeedItemsResponse struct { - // All results for the mutate. - Results []*MutateExtensionFeedItemResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateExtensionFeedItemsResponse) Reset() { *m = MutateExtensionFeedItemsResponse{} } -func (m *MutateExtensionFeedItemsResponse) String() string { return proto.CompactTextString(m) } -func (*MutateExtensionFeedItemsResponse) ProtoMessage() {} -func (*MutateExtensionFeedItemsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e6e6bc4adf2cef65, []int{3} -} - -func (m *MutateExtensionFeedItemsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateExtensionFeedItemsResponse.Unmarshal(m, b) -} -func (m *MutateExtensionFeedItemsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateExtensionFeedItemsResponse.Marshal(b, m, deterministic) -} -func (m *MutateExtensionFeedItemsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateExtensionFeedItemsResponse.Merge(m, src) -} -func (m *MutateExtensionFeedItemsResponse) XXX_Size() int { - return xxx_messageInfo_MutateExtensionFeedItemsResponse.Size(m) -} -func (m *MutateExtensionFeedItemsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateExtensionFeedItemsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateExtensionFeedItemsResponse proto.InternalMessageInfo - -func (m *MutateExtensionFeedItemsResponse) GetResults() []*MutateExtensionFeedItemResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for the extension feed item mutate. -type MutateExtensionFeedItemResult 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 *MutateExtensionFeedItemResult) Reset() { *m = MutateExtensionFeedItemResult{} } -func (m *MutateExtensionFeedItemResult) String() string { return proto.CompactTextString(m) } -func (*MutateExtensionFeedItemResult) ProtoMessage() {} -func (*MutateExtensionFeedItemResult) Descriptor() ([]byte, []int) { - return fileDescriptor_e6e6bc4adf2cef65, []int{4} -} - -func (m *MutateExtensionFeedItemResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateExtensionFeedItemResult.Unmarshal(m, b) -} -func (m *MutateExtensionFeedItemResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateExtensionFeedItemResult.Marshal(b, m, deterministic) -} -func (m *MutateExtensionFeedItemResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateExtensionFeedItemResult.Merge(m, src) -} -func (m *MutateExtensionFeedItemResult) XXX_Size() int { - return xxx_messageInfo_MutateExtensionFeedItemResult.Size(m) -} -func (m *MutateExtensionFeedItemResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateExtensionFeedItemResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateExtensionFeedItemResult proto.InternalMessageInfo - -func (m *MutateExtensionFeedItemResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetExtensionFeedItemRequest)(nil), "google.ads.googleads.v1.services.GetExtensionFeedItemRequest") - proto.RegisterType((*MutateExtensionFeedItemsRequest)(nil), "google.ads.googleads.v1.services.MutateExtensionFeedItemsRequest") - proto.RegisterType((*ExtensionFeedItemOperation)(nil), "google.ads.googleads.v1.services.ExtensionFeedItemOperation") - proto.RegisterType((*MutateExtensionFeedItemsResponse)(nil), "google.ads.googleads.v1.services.MutateExtensionFeedItemsResponse") - proto.RegisterType((*MutateExtensionFeedItemResult)(nil), "google.ads.googleads.v1.services.MutateExtensionFeedItemResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/extension_feed_item_service.proto", fileDescriptor_e6e6bc4adf2cef65) -} - -var fileDescriptor_e6e6bc4adf2cef65 = []byte{ - // 656 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0xcd, 0x6e, 0xd3, 0x40, - 0x10, 0xc7, 0xb1, 0x83, 0x0a, 0xdd, 0x94, 0x8b, 0xc5, 0xc1, 0x0a, 0x94, 0x46, 0xa6, 0x87, 0x2a, - 0x07, 0x5b, 0x09, 0x15, 0x48, 0x6e, 0x2b, 0x14, 0x0b, 0xfa, 0x71, 0xe8, 0x87, 0x8c, 0x54, 0x09, - 0x14, 0xc9, 0xda, 0xc6, 0xd3, 0xc8, 0xaa, 0xed, 0x35, 0xbb, 0xeb, 0x40, 0x55, 0xf5, 0x82, 0x78, - 0x03, 0x5e, 0x00, 0x71, 0xe4, 0x3d, 0x38, 0xc0, 0x81, 0x0b, 0xaf, 0x00, 0x17, 0x9e, 0x02, 0xad, - 0xd7, 0xeb, 0x16, 0x52, 0x37, 0xa8, 0xbd, 0x4d, 0x76, 0xc7, 0xbf, 0xd9, 0xff, 0xfc, 0x77, 0x36, - 0xc8, 0x1b, 0x11, 0x32, 0x8a, 0xc1, 0xc1, 0x21, 0x73, 0x64, 0x28, 0xa2, 0x71, 0xd7, 0x61, 0x40, - 0xc7, 0xd1, 0x10, 0x98, 0x03, 0x6f, 0x39, 0xa4, 0x2c, 0x22, 0x69, 0x70, 0x08, 0x10, 0x06, 0x11, - 0x87, 0x24, 0x28, 0x37, 0xed, 0x8c, 0x12, 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 0xbf, 0x34, 0x64, 0xd6, 0xd9, 0x65, 0xf4, 0xaf, 0xec, 0x8a, 0x1a, 0xea, 0x96, 0x77, 0x1d, - 0x84, 0xbc, 0x2d, 0x96, 0x57, 0x28, 0x5c, 0xb5, 0x9e, 0x08, 0x85, 0x67, 0x92, 0x4e, 0xce, 0xbd, - 0x16, 0x6b, 0x9d, 0xd3, 0x0b, 0x04, 0xba, 0x49, 0x81, 0x76, 0xb5, 0x8e, 0xf7, 0x5e, 0x47, 0x8b, - 0x43, 0x92, 0x4c, 0x3d, 0x8d, 0x37, 0x5f, 0x67, 0xfb, 0x9e, 0x98, 0xde, 0x3d, 0xed, 0xd5, 0x66, - 0x89, 0x18, 0x91, 0x18, 0xa7, 0x23, 0x9b, 0xd0, 0x91, 0x33, 0x82, 0xb4, 0x98, 0x6d, 0xf5, 0x76, - 0x67, 0x11, 0xab, 0xff, 0xc3, 0x58, 0x51, 0xc1, 0x27, 0xbd, 0xb1, 0xd1, 0xef, 0x7f, 0xd6, 0xdb, - 0x1b, 0x12, 0xd8, 0x0f, 0x99, 0x2d, 0x43, 0x11, 0xed, 0x77, 0xed, 0xb2, 0x30, 0xfb, 0xa6, 0x52, - 0x06, 0xfd, 0x90, 0x0d, 0xaa, 0x94, 0xc1, 0x7e, 0x77, 0xa0, 0x52, 0x7e, 0xeb, 0x8b, 0x72, 0xdd, - 0x75, 0xfb, 0x21, 0x73, 0xdd, 0x2a, 0xc9, 0x75, 0xf7, 0xbb, 0xae, 0xab, 0xd2, 0x0e, 0x66, 0x8a, - 0x73, 0x3e, 0xfa, 0x13, 0x00, 0x00, 0xff, 0xff, 0xf1, 0x46, 0x4e, 0x27, 0xd7, 0x06, 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 - -// ExtensionFeedItemServiceClient is the client API for ExtensionFeedItemService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ExtensionFeedItemServiceClient interface { - // Returns the requested extension feed item in full detail. - GetExtensionFeedItem(ctx context.Context, in *GetExtensionFeedItemRequest, opts ...grpc.CallOption) (*resources.ExtensionFeedItem, error) - // Creates, updates, or removes extension feed items. Operation - // statuses are returned. - MutateExtensionFeedItems(ctx context.Context, in *MutateExtensionFeedItemsRequest, opts ...grpc.CallOption) (*MutateExtensionFeedItemsResponse, error) -} - -type extensionFeedItemServiceClient struct { - cc *grpc.ClientConn -} - -func NewExtensionFeedItemServiceClient(cc *grpc.ClientConn) ExtensionFeedItemServiceClient { - return &extensionFeedItemServiceClient{cc} -} - -func (c *extensionFeedItemServiceClient) GetExtensionFeedItem(ctx context.Context, in *GetExtensionFeedItemRequest, opts ...grpc.CallOption) (*resources.ExtensionFeedItem, error) { - out := new(resources.ExtensionFeedItem) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.ExtensionFeedItemService/GetExtensionFeedItem", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *extensionFeedItemServiceClient) MutateExtensionFeedItems(ctx context.Context, in *MutateExtensionFeedItemsRequest, opts ...grpc.CallOption) (*MutateExtensionFeedItemsResponse, error) { - out := new(MutateExtensionFeedItemsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.ExtensionFeedItemService/MutateExtensionFeedItems", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ExtensionFeedItemServiceServer is the server API for ExtensionFeedItemService service. -type ExtensionFeedItemServiceServer interface { - // Returns the requested extension feed item in full detail. - GetExtensionFeedItem(context.Context, *GetExtensionFeedItemRequest) (*resources.ExtensionFeedItem, error) - // Creates, updates, or removes extension feed items. Operation - // statuses are returned. - MutateExtensionFeedItems(context.Context, *MutateExtensionFeedItemsRequest) (*MutateExtensionFeedItemsResponse, error) -} - -// UnimplementedExtensionFeedItemServiceServer can be embedded to have forward compatible implementations. -type UnimplementedExtensionFeedItemServiceServer struct { -} - -func (*UnimplementedExtensionFeedItemServiceServer) GetExtensionFeedItem(ctx context.Context, req *GetExtensionFeedItemRequest) (*resources.ExtensionFeedItem, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetExtensionFeedItem not implemented") -} -func (*UnimplementedExtensionFeedItemServiceServer) MutateExtensionFeedItems(ctx context.Context, req *MutateExtensionFeedItemsRequest) (*MutateExtensionFeedItemsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method MutateExtensionFeedItems not implemented") -} - -func RegisterExtensionFeedItemServiceServer(s *grpc.Server, srv ExtensionFeedItemServiceServer) { - s.RegisterService(&_ExtensionFeedItemService_serviceDesc, srv) -} - -func _ExtensionFeedItemService_GetExtensionFeedItem_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetExtensionFeedItemRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ExtensionFeedItemServiceServer).GetExtensionFeedItem(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.ExtensionFeedItemService/GetExtensionFeedItem", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ExtensionFeedItemServiceServer).GetExtensionFeedItem(ctx, req.(*GetExtensionFeedItemRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ExtensionFeedItemService_MutateExtensionFeedItems_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateExtensionFeedItemsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ExtensionFeedItemServiceServer).MutateExtensionFeedItems(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.ExtensionFeedItemService/MutateExtensionFeedItems", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ExtensionFeedItemServiceServer).MutateExtensionFeedItems(ctx, req.(*MutateExtensionFeedItemsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ExtensionFeedItemService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.ExtensionFeedItemService", - HandlerType: (*ExtensionFeedItemServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetExtensionFeedItem", - Handler: _ExtensionFeedItemService_GetExtensionFeedItem_Handler, - }, - { - MethodName: "MutateExtensionFeedItems", - Handler: _ExtensionFeedItemService_MutateExtensionFeedItems_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/extension_feed_item_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/feed_item_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/feed_item_service.pb.go deleted file mode 100644 index db564300..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/feed_item_service.pb.go +++ /dev/null @@ -1,530 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/feed_item_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [FeedItemService.GetFeedItem][google.ads.googleads.v1.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_7e460b42cd95bced, []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 (m *GetFeedItemRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetFeedItemRequest.Merge(m, 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.v1.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_7e460b42cd95bced, []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 (m *MutateFeedItemsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateFeedItemsRequest.Merge(m, 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 -} - -func (m *MutateFeedItemsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateFeedItemsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_7e460b42cd95bced, []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 (m *FeedItemOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedItemOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*FeedItemOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*FeedItemOperation_Create)(nil), - (*FeedItemOperation_Update)(nil), - (*FeedItemOperation_Remove)(nil), - } -} - -// Response message for an feed item mutate. -type MutateFeedItemsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_7e460b42cd95bced, []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 (m *MutateFeedItemsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateFeedItemsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_7e460b42cd95bced, []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 (m *MutateFeedItemResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateFeedItemResult.Merge(m, 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.v1.services.GetFeedItemRequest") - proto.RegisterType((*MutateFeedItemsRequest)(nil), "google.ads.googleads.v1.services.MutateFeedItemsRequest") - proto.RegisterType((*FeedItemOperation)(nil), "google.ads.googleads.v1.services.FeedItemOperation") - proto.RegisterType((*MutateFeedItemsResponse)(nil), "google.ads.googleads.v1.services.MutateFeedItemsResponse") - proto.RegisterType((*MutateFeedItemResult)(nil), "google.ads.googleads.v1.services.MutateFeedItemResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/feed_item_service.proto", fileDescriptor_7e460b42cd95bced) -} - -var fileDescriptor_7e460b42cd95bced = []byte{ - // 708 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x4f, 0x6b, 0x13, 0x41, - 0x14, 0x77, 0xb7, 0x52, 0xed, 0x6c, 0xb5, 0x38, 0x56, 0x1b, 0x82, 0x68, 0x58, 0x0b, 0x96, 0x14, - 0x77, 0x49, 0x22, 0xd2, 0x6e, 0xe9, 0x21, 0x85, 0xa6, 0xed, 0xa1, 0xb6, 0x6c, 0xa1, 0x07, 0x09, - 0x2c, 0xd3, 0xec, 0x4b, 0x58, 0xba, 0xbb, 0xb3, 0xce, 0xcc, 0x46, 0x4a, 0xe9, 0x45, 0xf0, 0x13, - 0xf8, 0x0d, 0x04, 0x2f, 0x5e, 0xfd, 0x04, 0x5e, 0xbd, 0x7a, 0xf5, 0xe8, 0xc9, 0xaf, 0x20, 0x82, - 0xec, 0xce, 0x4e, 0xda, 0xa4, 0x86, 0xd8, 0xde, 0xde, 0xbc, 0xf9, 0xfd, 0x7e, 0xef, 0xcd, 0xfb, - 0x33, 0x68, 0xa5, 0x47, 0x69, 0x2f, 0x04, 0x9b, 0xf8, 0xdc, 0x96, 0x66, 0x66, 0xf5, 0x6b, 0x36, - 0x07, 0xd6, 0x0f, 0x3a, 0xc0, 0xed, 0x2e, 0x80, 0xef, 0x05, 0x02, 0x22, 0xaf, 0x70, 0x59, 0x09, - 0xa3, 0x82, 0xe2, 0x8a, 0x84, 0x5b, 0xc4, 0xe7, 0xd6, 0x80, 0x69, 0xf5, 0x6b, 0x96, 0x62, 0x96, - 0x6b, 0xe3, 0xb4, 0x19, 0x70, 0x9a, 0xb2, 0x21, 0x71, 0x29, 0x5a, 0x7e, 0xa4, 0x28, 0x49, 0x60, - 0x93, 0x38, 0xa6, 0x82, 0x88, 0x80, 0xc6, 0xbc, 0xb8, 0x2d, 0x42, 0xda, 0xf9, 0xe9, 0x28, 0xed, - 0xda, 0xdd, 0x00, 0x42, 0xdf, 0x8b, 0x08, 0x3f, 0x2e, 0x10, 0x8f, 0x47, 0x11, 0x6f, 0x19, 0x49, - 0x12, 0x60, 0x4a, 0x61, 0xa1, 0xb8, 0x67, 0x49, 0xc7, 0xe6, 0x82, 0x88, 0xb4, 0xb8, 0x30, 0x57, - 0x11, 0xde, 0x02, 0xd1, 0x02, 0xf0, 0x77, 0x04, 0x44, 0x2e, 0xbc, 0x49, 0x81, 0x0b, 0xfc, 0x14, - 0xdd, 0x51, 0xb9, 0x7a, 0x31, 0x89, 0xa0, 0xa4, 0x55, 0xb4, 0xa5, 0x19, 0x77, 0x56, 0x39, 0x5f, - 0x91, 0x08, 0xcc, 0x1f, 0x1a, 0x7a, 0xb8, 0x9b, 0x0a, 0x22, 0x40, 0xd1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f7, 0x2c, 0xca, 0x7a, 0x76, 0x0f, 0xe2, - 0x7c, 0x3b, 0xd5, 0x8f, 0x9c, 0x04, 0x7c, 0xfc, 0xe7, 0xbf, 0xa6, 0x8c, 0x8f, 0xfa, 0xd4, 0x56, - 0xb3, 0xf9, 0x59, 0xaf, 0x6c, 0x49, 0xc1, 0xa6, 0xcf, 0x2d, 0x69, 0x66, 0xd6, 0x61, 0xcd, 0x2a, - 0x02, 0xf3, 0x6f, 0x0a, 0xd2, 0x6e, 0xfa, 0xbc, 0x3d, 0x80, 0xb4, 0x0f, 0x6b, 0x6d, 0x05, 0xf9, - 0xa5, 0x2f, 0x4a, 0xbf, 0xe3, 0x34, 0x7d, 0xee, 0x38, 0x03, 0x90, 0xe3, 0x1c, 0xd6, 0x1c, 0x47, - 0xc1, 0x8e, 0xa6, 0xf3, 0x3c, 0x1b, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x02, 0x4f, 0xc6, 0x7f, - 0xa3, 0x06, 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 - -// 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.v1.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.v1.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) -} - -// UnimplementedFeedItemServiceServer can be embedded to have forward compatible implementations. -type UnimplementedFeedItemServiceServer struct { -} - -func (*UnimplementedFeedItemServiceServer) GetFeedItem(ctx context.Context, req *GetFeedItemRequest) (*resources.FeedItem, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetFeedItem not implemented") -} -func (*UnimplementedFeedItemServiceServer) MutateFeedItems(ctx context.Context, req *MutateFeedItemsRequest) (*MutateFeedItemsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateFeedItems not implemented") -} - -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.v1.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.v1.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.v1.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/v1/services/feed_item_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/feed_item_target_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/feed_item_target_service.pb.go deleted file mode 100644 index 874d8b6d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/feed_item_target_service.pb.go +++ /dev/null @@ -1,457 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/feed_item_target_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [FeedItemTargetService.GetFeedItemTarget][google.ads.googleads.v1.services.FeedItemTargetService.GetFeedItemTarget]. -type GetFeedItemTargetRequest struct { - // The resource name of the feed item targets 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 *GetFeedItemTargetRequest) Reset() { *m = GetFeedItemTargetRequest{} } -func (m *GetFeedItemTargetRequest) String() string { return proto.CompactTextString(m) } -func (*GetFeedItemTargetRequest) ProtoMessage() {} -func (*GetFeedItemTargetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6354928c0acab6b3, []int{0} -} - -func (m *GetFeedItemTargetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetFeedItemTargetRequest.Unmarshal(m, b) -} -func (m *GetFeedItemTargetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetFeedItemTargetRequest.Marshal(b, m, deterministic) -} -func (m *GetFeedItemTargetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetFeedItemTargetRequest.Merge(m, src) -} -func (m *GetFeedItemTargetRequest) XXX_Size() int { - return xxx_messageInfo_GetFeedItemTargetRequest.Size(m) -} -func (m *GetFeedItemTargetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetFeedItemTargetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetFeedItemTargetRequest proto.InternalMessageInfo - -func (m *GetFeedItemTargetRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for -// [FeedItemTargetService.MutateFeedItemTargets][google.ads.googleads.v1.services.FeedItemTargetService.MutateFeedItemTargets]. -type MutateFeedItemTargetsRequest struct { - // The ID of the customer whose feed item targets 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 item targets. - Operations []*FeedItemTargetOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateFeedItemTargetsRequest) Reset() { *m = MutateFeedItemTargetsRequest{} } -func (m *MutateFeedItemTargetsRequest) String() string { return proto.CompactTextString(m) } -func (*MutateFeedItemTargetsRequest) ProtoMessage() {} -func (*MutateFeedItemTargetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6354928c0acab6b3, []int{1} -} - -func (m *MutateFeedItemTargetsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateFeedItemTargetsRequest.Unmarshal(m, b) -} -func (m *MutateFeedItemTargetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateFeedItemTargetsRequest.Marshal(b, m, deterministic) -} -func (m *MutateFeedItemTargetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateFeedItemTargetsRequest.Merge(m, src) -} -func (m *MutateFeedItemTargetsRequest) XXX_Size() int { - return xxx_messageInfo_MutateFeedItemTargetsRequest.Size(m) -} -func (m *MutateFeedItemTargetsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateFeedItemTargetsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateFeedItemTargetsRequest proto.InternalMessageInfo - -func (m *MutateFeedItemTargetsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateFeedItemTargetsRequest) GetOperations() []*FeedItemTargetOperation { - if m != nil { - return m.Operations - } - return nil -} - -// A single operation (create, remove) on an feed item target. -type FeedItemTargetOperation struct { - // The mutate operation. - // - // Types that are valid to be assigned to Operation: - // *FeedItemTargetOperation_Create - // *FeedItemTargetOperation_Remove - Operation isFeedItemTargetOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FeedItemTargetOperation) Reset() { *m = FeedItemTargetOperation{} } -func (m *FeedItemTargetOperation) String() string { return proto.CompactTextString(m) } -func (*FeedItemTargetOperation) ProtoMessage() {} -func (*FeedItemTargetOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_6354928c0acab6b3, []int{2} -} - -func (m *FeedItemTargetOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FeedItemTargetOperation.Unmarshal(m, b) -} -func (m *FeedItemTargetOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FeedItemTargetOperation.Marshal(b, m, deterministic) -} -func (m *FeedItemTargetOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedItemTargetOperation.Merge(m, src) -} -func (m *FeedItemTargetOperation) XXX_Size() int { - return xxx_messageInfo_FeedItemTargetOperation.Size(m) -} -func (m *FeedItemTargetOperation) XXX_DiscardUnknown() { - xxx_messageInfo_FeedItemTargetOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_FeedItemTargetOperation proto.InternalMessageInfo - -type isFeedItemTargetOperation_Operation interface { - isFeedItemTargetOperation_Operation() -} - -type FeedItemTargetOperation_Create struct { - Create *resources.FeedItemTarget `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type FeedItemTargetOperation_Remove struct { - Remove string `protobuf:"bytes,2,opt,name=remove,proto3,oneof"` -} - -func (*FeedItemTargetOperation_Create) isFeedItemTargetOperation_Operation() {} - -func (*FeedItemTargetOperation_Remove) isFeedItemTargetOperation_Operation() {} - -func (m *FeedItemTargetOperation) GetOperation() isFeedItemTargetOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *FeedItemTargetOperation) GetCreate() *resources.FeedItemTarget { - if x, ok := m.GetOperation().(*FeedItemTargetOperation_Create); ok { - return x.Create - } - return nil -} - -func (m *FeedItemTargetOperation) GetRemove() string { - if x, ok := m.GetOperation().(*FeedItemTargetOperation_Remove); ok { - return x.Remove - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*FeedItemTargetOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*FeedItemTargetOperation_Create)(nil), - (*FeedItemTargetOperation_Remove)(nil), - } -} - -// Response message for an feed item target mutate. -type MutateFeedItemTargetsResponse struct { - // All results for the mutate. - Results []*MutateFeedItemTargetResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateFeedItemTargetsResponse) Reset() { *m = MutateFeedItemTargetsResponse{} } -func (m *MutateFeedItemTargetsResponse) String() string { return proto.CompactTextString(m) } -func (*MutateFeedItemTargetsResponse) ProtoMessage() {} -func (*MutateFeedItemTargetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6354928c0acab6b3, []int{3} -} - -func (m *MutateFeedItemTargetsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateFeedItemTargetsResponse.Unmarshal(m, b) -} -func (m *MutateFeedItemTargetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateFeedItemTargetsResponse.Marshal(b, m, deterministic) -} -func (m *MutateFeedItemTargetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateFeedItemTargetsResponse.Merge(m, src) -} -func (m *MutateFeedItemTargetsResponse) XXX_Size() int { - return xxx_messageInfo_MutateFeedItemTargetsResponse.Size(m) -} -func (m *MutateFeedItemTargetsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateFeedItemTargetsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateFeedItemTargetsResponse proto.InternalMessageInfo - -func (m *MutateFeedItemTargetsResponse) GetResults() []*MutateFeedItemTargetResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for the feed item target mutate. -type MutateFeedItemTargetResult 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 *MutateFeedItemTargetResult) Reset() { *m = MutateFeedItemTargetResult{} } -func (m *MutateFeedItemTargetResult) String() string { return proto.CompactTextString(m) } -func (*MutateFeedItemTargetResult) ProtoMessage() {} -func (*MutateFeedItemTargetResult) Descriptor() ([]byte, []int) { - return fileDescriptor_6354928c0acab6b3, []int{4} -} - -func (m *MutateFeedItemTargetResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateFeedItemTargetResult.Unmarshal(m, b) -} -func (m *MutateFeedItemTargetResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateFeedItemTargetResult.Marshal(b, m, deterministic) -} -func (m *MutateFeedItemTargetResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateFeedItemTargetResult.Merge(m, src) -} -func (m *MutateFeedItemTargetResult) XXX_Size() int { - return xxx_messageInfo_MutateFeedItemTargetResult.Size(m) -} -func (m *MutateFeedItemTargetResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateFeedItemTargetResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateFeedItemTargetResult proto.InternalMessageInfo - -func (m *MutateFeedItemTargetResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetFeedItemTargetRequest)(nil), "google.ads.googleads.v1.services.GetFeedItemTargetRequest") - proto.RegisterType((*MutateFeedItemTargetsRequest)(nil), "google.ads.googleads.v1.services.MutateFeedItemTargetsRequest") - proto.RegisterType((*FeedItemTargetOperation)(nil), "google.ads.googleads.v1.services.FeedItemTargetOperation") - proto.RegisterType((*MutateFeedItemTargetsResponse)(nil), "google.ads.googleads.v1.services.MutateFeedItemTargetsResponse") - proto.RegisterType((*MutateFeedItemTargetResult)(nil), "google.ads.googleads.v1.services.MutateFeedItemTargetResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/feed_item_target_service.proto", fileDescriptor_6354928c0acab6b3) -} - -var fileDescriptor_6354928c0acab6b3 = []byte{ - // 559 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0x3f, 0x6f, 0xd3, 0x40, - 0x14, 0xc0, 0xb1, 0x2b, 0x05, 0xf5, 0x02, 0x03, 0x27, 0x55, 0x44, 0x56, 0x11, 0x91, 0xe9, 0x50, - 0x65, 0x38, 0xcb, 0x29, 0x03, 0x39, 0x28, 0x91, 0x33, 0x90, 0x56, 0x08, 0xa8, 0x0c, 0x8a, 0x04, - 0x8a, 0x14, 0x1d, 0xf1, 0xc3, 0xb2, 0x14, 0xfb, 0xc2, 0xdd, 0x25, 0x0c, 0x55, 0x07, 0xd8, 0x99, - 0xd8, 0x18, 0x19, 0x59, 0x99, 0xf9, 0x02, 0xac, 0x4c, 0xec, 0x4c, 0x7c, 0x0a, 0x64, 0x5f, 0xce, - 0x24, 0x25, 0x56, 0xa0, 0xdb, 0xbb, 0xbb, 0xf7, 0x7e, 0xef, 0xef, 0x3d, 0xd4, 0x8d, 0x39, 0x8f, - 0x27, 0xe0, 0xb1, 0x48, 0x7a, 0x5a, 0xcc, 0xa5, 0xb9, 0xef, 0x49, 0x10, 0xf3, 0x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, 0x62, 0x2f, 0x86, 0xac, 0x58, 0x21, - 0x66, 0x1d, 0x4d, 0x13, 0x59, 0xbd, 0x00, 0xef, 0x1a, 0xe1, 0x93, 0xbd, 0xd5, 0x0f, 0x82, 0xcf, - 0x76, 0xb3, 0xaf, 0x81, 0x41, 0x24, 0x89, 0x16, 0x73, 0x69, 0xe0, 0x93, 0x85, 0x63, 0xf9, 0xcd, - 0xa8, 0x0c, 0x83, 0x48, 0x0e, 0x4b, 0x95, 0xe1, 0xc0, 0x1f, 0x1a, 0x95, 0x5f, 0xf6, 0x9e, 0xbe, - 0xa7, 0x34, 0x88, 0x24, 0xa5, 0xa5, 0x12, 0xa5, 0x03, 0x9f, 0x52, 0xa3, 0xf6, 0xb2, 0x56, 0xc4, - 0x79, 0xf0, 0x3b, 0x00, 0x00, 0xff, 0xff, 0xd9, 0xad, 0xe7, 0xfc, 0xa7, 0x05, 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 - -// FeedItemTargetServiceClient is the client API for FeedItemTargetService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type FeedItemTargetServiceClient interface { - // Returns the requested feed item targets in full detail. - GetFeedItemTarget(ctx context.Context, in *GetFeedItemTargetRequest, opts ...grpc.CallOption) (*resources.FeedItemTarget, error) - // Creates or removes feed item targets. Operation statuses are returned. - MutateFeedItemTargets(ctx context.Context, in *MutateFeedItemTargetsRequest, opts ...grpc.CallOption) (*MutateFeedItemTargetsResponse, error) -} - -type feedItemTargetServiceClient struct { - cc *grpc.ClientConn -} - -func NewFeedItemTargetServiceClient(cc *grpc.ClientConn) FeedItemTargetServiceClient { - return &feedItemTargetServiceClient{cc} -} - -func (c *feedItemTargetServiceClient) GetFeedItemTarget(ctx context.Context, in *GetFeedItemTargetRequest, opts ...grpc.CallOption) (*resources.FeedItemTarget, error) { - out := new(resources.FeedItemTarget) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.FeedItemTargetService/GetFeedItemTarget", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *feedItemTargetServiceClient) MutateFeedItemTargets(ctx context.Context, in *MutateFeedItemTargetsRequest, opts ...grpc.CallOption) (*MutateFeedItemTargetsResponse, error) { - out := new(MutateFeedItemTargetsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.FeedItemTargetService/MutateFeedItemTargets", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// FeedItemTargetServiceServer is the server API for FeedItemTargetService service. -type FeedItemTargetServiceServer interface { - // Returns the requested feed item targets in full detail. - GetFeedItemTarget(context.Context, *GetFeedItemTargetRequest) (*resources.FeedItemTarget, error) - // Creates or removes feed item targets. Operation statuses are returned. - MutateFeedItemTargets(context.Context, *MutateFeedItemTargetsRequest) (*MutateFeedItemTargetsResponse, error) -} - -// UnimplementedFeedItemTargetServiceServer can be embedded to have forward compatible implementations. -type UnimplementedFeedItemTargetServiceServer struct { -} - -func (*UnimplementedFeedItemTargetServiceServer) GetFeedItemTarget(ctx context.Context, req *GetFeedItemTargetRequest) (*resources.FeedItemTarget, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetFeedItemTarget not implemented") -} -func (*UnimplementedFeedItemTargetServiceServer) MutateFeedItemTargets(ctx context.Context, req *MutateFeedItemTargetsRequest) (*MutateFeedItemTargetsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method MutateFeedItemTargets not implemented") -} - -func RegisterFeedItemTargetServiceServer(s *grpc.Server, srv FeedItemTargetServiceServer) { - s.RegisterService(&_FeedItemTargetService_serviceDesc, srv) -} - -func _FeedItemTargetService_GetFeedItemTarget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetFeedItemTargetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FeedItemTargetServiceServer).GetFeedItemTarget(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.FeedItemTargetService/GetFeedItemTarget", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FeedItemTargetServiceServer).GetFeedItemTarget(ctx, req.(*GetFeedItemTargetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _FeedItemTargetService_MutateFeedItemTargets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateFeedItemTargetsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FeedItemTargetServiceServer).MutateFeedItemTargets(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.FeedItemTargetService/MutateFeedItemTargets", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FeedItemTargetServiceServer).MutateFeedItemTargets(ctx, req.(*MutateFeedItemTargetsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _FeedItemTargetService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.FeedItemTargetService", - HandlerType: (*FeedItemTargetServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetFeedItemTarget", - Handler: _FeedItemTargetService_GetFeedItemTarget_Handler, - }, - { - MethodName: "MutateFeedItemTargets", - Handler: _FeedItemTargetService_MutateFeedItemTargets_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/feed_item_target_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/feed_mapping_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/feed_mapping_service.pb.go deleted file mode 100644 index 62d2db59..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/feed_mapping_service.pb.go +++ /dev/null @@ -1,502 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/feed_mapping_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [FeedMappingService.GetFeedMapping][google.ads.googleads.v1.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_0c4574cb8d3703b3, []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 (m *GetFeedMappingRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetFeedMappingRequest.Merge(m, 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.v1.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_0c4574cb8d3703b3, []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 (m *MutateFeedMappingsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateFeedMappingsRequest.Merge(m, 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 -} - -func (m *MutateFeedMappingsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateFeedMappingsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_0c4574cb8d3703b3, []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 (m *FeedMappingOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedMappingOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*FeedMappingOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*FeedMappingOperation_Create)(nil), - (*FeedMappingOperation_Remove)(nil), - } -} - -// Response message for a feed mapping mutate. -type MutateFeedMappingsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_0c4574cb8d3703b3, []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 (m *MutateFeedMappingsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateFeedMappingsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_0c4574cb8d3703b3, []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 (m *MutateFeedMappingResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateFeedMappingResult.Merge(m, 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.v1.services.GetFeedMappingRequest") - proto.RegisterType((*MutateFeedMappingsRequest)(nil), "google.ads.googleads.v1.services.MutateFeedMappingsRequest") - proto.RegisterType((*FeedMappingOperation)(nil), "google.ads.googleads.v1.services.FeedMappingOperation") - proto.RegisterType((*MutateFeedMappingsResponse)(nil), "google.ads.googleads.v1.services.MutateFeedMappingsResponse") - proto.RegisterType((*MutateFeedMappingResult)(nil), "google.ads.googleads.v1.services.MutateFeedMappingResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/feed_mapping_service.proto", fileDescriptor_0c4574cb8d3703b3) -} - -var fileDescriptor_0c4574cb8d3703b3 = []byte{ - // 663 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x4f, 0x6b, 0x13, 0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x6e, 0xa0, 0xa5, 0x1d, 0x90, 0xdb, 0x00, 0xde, 0x9e, 0x4a, - 0xe7, 0xc0, 0xab, 0x14, 0x84, 0xc4, 0xf7, 0xd0, 0x35, 0xad, 0xc7, 0x8d, 0x69, 0x04, 0x75, 0xa3, - 0x69, 0xac, 0xce, 0x3b, 0x0b, 0xda, 0xf8, 0x82, 0x46, 0x60, 0x7e, 0x37, 0xd0, 0xad, 0xbd, 0x54, - 0x52, 0x09, 0x25, 0x06, 0xa1, 0x29, 0xee, 0xa2, 0xda, 0x20, 0x15, 0x92, 0x45, 0xc0, 0xdd, 0xc0, - 0x2b, 0x08, 0x90, 0x36, 0x3d, 0xf7, 0x70, 0x0f, 0x21, 0x96, 0x00, 0x57, 0x95, 0xd4, 0x2b, 0xcd, - 0xea, 0x6a, 0xad, 0xb3, 0x46, 0x66, 0x35, 0x90, 0x94, 0x72, 0xed, 0x6b, 0xb8, 0x53, 0x62, 0xc2, - 0xf7, 0xd1, 0xf5, 0x84, 0x72, 0x19, 0xd0, 0xd0, 0x3d, 0xa6, 0x41, 0x98, 0x72, 0xa8, 0x57, 0x9b, - 0xc6, 0xea, 0x55, 0x67, 0xb1, 0x30, 0x6f, 0x2b, 0x6b, 0x56, 0xe4, 0x90, 0x86, 0x81, 0x47, 0x25, - 0xb8, 0x2c, 0x0e, 0x4f, 0xea, 0xff, 0xe7, 0x61, 0x0b, 0xda, 0xb8, 0x1f, 0x87, 0x27, 0xe6, 0x5b, - 0x03, 0xdd, 0x9c, 0x94, 0x12, 0xef, 0xa2, 0xb9, 0x01, 0x07, 0x2a, 0x55, 0x6f, 0x6a, 0x1d, 0x32, - 0x55, 0xfa, 0x68, 0xb2, 0x65, 0xed, 0xbb, 0xff, 0x39, 0x05, 0x1e, 0xd7, 0xd1, 0x1c, 0x87, 0x88, - 0x0d, 0x95, 0xce, 0xf9, 0xcc, 0xa3, 0xee, 0x5b, 0x35, 0x34, 0x3f, 0x2a, 0xcc, 0xfc, 0x6c, 0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0x5e, 0xee, 0x16, 0x60, 0x9f, 0x85, 0x34, 0xf6, 0x09, 0xe3, 0xbe, 0xe5, - 0x43, 0x9c, 0xff, 0x51, 0xfa, 0x93, 0x4c, 0x02, 0x31, 0xfd, 0x4b, 0x5e, 0xd7, 0x87, 0x0f, 0x95, - 0xea, 0x4e, 0xb7, 0xfb, 0xb1, 0xd2, 0xdc, 0x51, 0x84, 0x5d, 0x4f, 0x10, 0x75, 0xcc, 0x4e, 0xbd, - 0x36, 0x29, 0x12, 0x8b, 0x2f, 0x3a, 0xa4, 0xdf, 0xf5, 0x44, 0x7f, 0x14, 0xd2, 0xef, 0xb5, 0xfb, - 0x3a, 0xe4, 0x67, 0x65, 0x45, 0xd9, 0x6d, 0xbb, 0xeb, 0x09, 0xdb, 0x1e, 0x05, 0xd9, 0x76, 0xaf, - 0x6d, 0xdb, 0x3a, 0xec, 0x68, 0x2e, 0xd7, 0xf9, 0xf0, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd1, - 0x89, 0x6c, 0x2f, 0x39, 0x06, 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 - -// 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.v1.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.v1.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) -} - -// UnimplementedFeedMappingServiceServer can be embedded to have forward compatible implementations. -type UnimplementedFeedMappingServiceServer struct { -} - -func (*UnimplementedFeedMappingServiceServer) GetFeedMapping(ctx context.Context, req *GetFeedMappingRequest) (*resources.FeedMapping, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetFeedMapping not implemented") -} -func (*UnimplementedFeedMappingServiceServer) MutateFeedMappings(ctx context.Context, req *MutateFeedMappingsRequest) (*MutateFeedMappingsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateFeedMappings not implemented") -} - -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.v1.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.v1.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.v1.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/v1/services/feed_mapping_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/feed_placeholder_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/feed_placeholder_view_service.pb.go deleted file mode 100644 index bab996b1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/feed_placeholder_view_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/feed_placeholder_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [FeedPlaceholderViewService.GetFeedPlaceholderView][google.ads.googleads.v1.services.FeedPlaceholderViewService.GetFeedPlaceholderView]. -type GetFeedPlaceholderViewRequest struct { - // The resource name of the feed placeholder 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 *GetFeedPlaceholderViewRequest) Reset() { *m = GetFeedPlaceholderViewRequest{} } -func (m *GetFeedPlaceholderViewRequest) String() string { return proto.CompactTextString(m) } -func (*GetFeedPlaceholderViewRequest) ProtoMessage() {} -func (*GetFeedPlaceholderViewRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8c806439cff2804f, []int{0} -} - -func (m *GetFeedPlaceholderViewRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetFeedPlaceholderViewRequest.Unmarshal(m, b) -} -func (m *GetFeedPlaceholderViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetFeedPlaceholderViewRequest.Marshal(b, m, deterministic) -} -func (m *GetFeedPlaceholderViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetFeedPlaceholderViewRequest.Merge(m, src) -} -func (m *GetFeedPlaceholderViewRequest) XXX_Size() int { - return xxx_messageInfo_GetFeedPlaceholderViewRequest.Size(m) -} -func (m *GetFeedPlaceholderViewRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetFeedPlaceholderViewRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetFeedPlaceholderViewRequest proto.InternalMessageInfo - -func (m *GetFeedPlaceholderViewRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetFeedPlaceholderViewRequest)(nil), "google.ads.googleads.v1.services.GetFeedPlaceholderViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/feed_placeholder_view_service.proto", fileDescriptor_8c806439cff2804f) -} - -var fileDescriptor_8c806439cff2804f = []byte{ - // 377 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xcd, 0x4a, 0xeb, 0x40, - 0x14, 0x26, 0xb9, 0x70, 0xe1, 0x86, 0x7b, 0x37, 0x59, 0x5c, 0x24, 0x28, 0x96, 0xda, 0x85, 0x74, - 0x31, 0x43, 0x14, 0x8a, 0x8c, 0x54, 0x49, 0x29, 0xd6, 0x95, 0x94, 0x0a, 0x59, 0x48, 0x20, 0x8c, - 0x99, 0x63, 0x0c, 0x24, 0x99, 0x98, 0x49, 0xd3, 0x85, 0xb8, 0x71, 0xe1, 0x0b, 0xf8, 0x06, 0x2e, - 0x7d, 0x14, 0x77, 0xe2, 0x2b, 0xb8, 0x72, 0xe5, 0x23, 0x48, 0x3a, 0x9d, 0x88, 0xd2, 0xd8, 0xdd, - 0xc7, 0x9c, 0xef, 0xe7, 0xfc, 0x8c, 0x31, 0x0c, 0x39, 0x0f, 0x63, 0xc0, 0x94, 0x09, 0x2c, 0x61, - 0x85, 0x4a, 0x1b, 0x0b, 0xc8, 0xcb, 0x28, 0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x78, 0x61, - 0x12, 0xf2, 0x98, 0xa6, 0x21, 0xe2, 0x79, 0x88, 0x43, 0x48, 0xe7, 0x07, 0x52, 0x17, 0xcf, 0x22, - 0xd1, 0xfc, 0xd1, 0xf6, 0x15, 0x78, 0xd0, 0x7f, 0x8d, 0x1c, 0xe7, 0x51, 0x6f, 0x8d, 0xa4, 0xa1, - 0xc3, 0x04, 0x92, 0xb0, 0x42, 0xae, 0x8d, 0x16, 0xc1, 0xe2, 0x49, 0x51, 0x3c, 0x87, 0x09, 0xaf, - 0xa6, 0x78, 0xae, 0xed, 0x29, 0xca, 0x9b, 0xde, 0x91, 0xef, 0x84, 0x38, 0x4c, 0x10, 0x52, 0x93, - 0x08, 0x71, 0x6d, 0x42, 0x14, 0xed, 0xfc, 0xf7, 0xbc, 0xcf, 0xdd, 0x8f, 0x00, 0x00, 0x00, 0xff, - 0xff, 0xee, 0xb8, 0x0d, 0xf6, 0x0f, 0x03, 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 - -// FeedPlaceholderViewServiceClient is the client API for FeedPlaceholderViewService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type FeedPlaceholderViewServiceClient interface { - // Returns the requested feed placeholder view in full detail. - GetFeedPlaceholderView(ctx context.Context, in *GetFeedPlaceholderViewRequest, opts ...grpc.CallOption) (*resources.FeedPlaceholderView, error) -} - -type feedPlaceholderViewServiceClient struct { - cc *grpc.ClientConn -} - -func NewFeedPlaceholderViewServiceClient(cc *grpc.ClientConn) FeedPlaceholderViewServiceClient { - return &feedPlaceholderViewServiceClient{cc} -} - -func (c *feedPlaceholderViewServiceClient) GetFeedPlaceholderView(ctx context.Context, in *GetFeedPlaceholderViewRequest, opts ...grpc.CallOption) (*resources.FeedPlaceholderView, error) { - out := new(resources.FeedPlaceholderView) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.FeedPlaceholderViewService/GetFeedPlaceholderView", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// FeedPlaceholderViewServiceServer is the server API for FeedPlaceholderViewService service. -type FeedPlaceholderViewServiceServer interface { - // Returns the requested feed placeholder view in full detail. - GetFeedPlaceholderView(context.Context, *GetFeedPlaceholderViewRequest) (*resources.FeedPlaceholderView, error) -} - -// UnimplementedFeedPlaceholderViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedFeedPlaceholderViewServiceServer struct { -} - -func (*UnimplementedFeedPlaceholderViewServiceServer) GetFeedPlaceholderView(ctx context.Context, req *GetFeedPlaceholderViewRequest) (*resources.FeedPlaceholderView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetFeedPlaceholderView not implemented") -} - -func RegisterFeedPlaceholderViewServiceServer(s *grpc.Server, srv FeedPlaceholderViewServiceServer) { - s.RegisterService(&_FeedPlaceholderViewService_serviceDesc, srv) -} - -func _FeedPlaceholderViewService_GetFeedPlaceholderView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetFeedPlaceholderViewRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FeedPlaceholderViewServiceServer).GetFeedPlaceholderView(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.FeedPlaceholderViewService/GetFeedPlaceholderView", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FeedPlaceholderViewServiceServer).GetFeedPlaceholderView(ctx, req.(*GetFeedPlaceholderViewRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _FeedPlaceholderViewService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.FeedPlaceholderViewService", - HandlerType: (*FeedPlaceholderViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetFeedPlaceholderView", - Handler: _FeedPlaceholderViewService_GetFeedPlaceholderView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/feed_placeholder_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/feed_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/feed_service.pb.go deleted file mode 100644 index c82a87db..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/feed_service.pb.go +++ /dev/null @@ -1,529 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/feed_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [FeedService.GetFeed][google.ads.googleads.v1.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_3b158f21a9b50a59, []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 (m *GetFeedRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetFeedRequest.Merge(m, 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.v1.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_3b158f21a9b50a59, []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 (m *MutateFeedsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateFeedsRequest.Merge(m, 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 -} - -func (m *MutateFeedsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateFeedsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_3b158f21a9b50a59, []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 (m *FeedOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*FeedOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*FeedOperation_Create)(nil), - (*FeedOperation_Update)(nil), - (*FeedOperation_Remove)(nil), - } -} - -// Response message for an feed mutate. -type MutateFeedsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_3b158f21a9b50a59, []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 (m *MutateFeedsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateFeedsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_3b158f21a9b50a59, []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 (m *MutateFeedResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateFeedResult.Merge(m, 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.v1.services.GetFeedRequest") - proto.RegisterType((*MutateFeedsRequest)(nil), "google.ads.googleads.v1.services.MutateFeedsRequest") - proto.RegisterType((*FeedOperation)(nil), "google.ads.googleads.v1.services.FeedOperation") - proto.RegisterType((*MutateFeedsResponse)(nil), "google.ads.googleads.v1.services.MutateFeedsResponse") - proto.RegisterType((*MutateFeedResult)(nil), "google.ads.googleads.v1.services.MutateFeedResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/feed_service.proto", fileDescriptor_3b158f21a9b50a59) -} - -var fileDescriptor_3b158f21a9b50a59 = []byte{ - // 694 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x41, 0x6b, 0x13, 0x41, - 0x14, 0x76, 0xb7, 0xd2, 0xda, 0xd9, 0xb6, 0x96, 0x29, 0x62, 0x08, 0xa2, 0x61, 0x2d, 0xb4, 0x06, - 0xd9, 0x31, 0xa9, 0x45, 0xd8, 0xd2, 0x43, 0x0a, 0xa6, 0x15, 0xac, 0x2d, 0x5b, 0xe8, 0x41, 0x02, - 0xcb, 0x34, 0x3b, 0x09, 0x4b, 0x77, 0x77, 0xd6, 0x99, 0xd9, 0x48, 0x29, 0xbd, 0xf8, 0x17, 0xc4, - 0x3f, 0xe0, 0x51, 0x4f, 0xfe, 0x0d, 0xaf, 0x7a, 0xf1, 0xee, 0xc9, 0x3f, 0x20, 0xde, 0x64, 0x66, - 0x76, 0xd2, 0xa4, 0x50, 0xd2, 0xdc, 0xde, 0xbe, 0xf9, 0xbe, 0xef, 0x7d, 0xf3, 0xde, 0xbe, 0x01, - 0x1b, 0x7d, 0x4a, 0xfb, 0x09, 0x41, 0x38, 0xe2, 0x48, 0x87, 0x32, 0x1a, 0x34, 0x10, 0x27, 0x6c, - 0x10, 0x77, 0x09, 0x47, 0x3d, 0x42, 0xa2, 0xb0, 0xfc, 0xf2, 0x72, 0x46, 0x05, 0x85, 0x35, 0x8d, - 0xf4, 0x70, 0xc4, 0xbd, 0x21, 0xc9, 0x1b, 0x34, 0x3c, 0x43, 0xaa, 0x3e, 0xbd, 0x4e, 0x96, 0x11, - 0x4e, 0x0b, 0x66, 0x74, 0xb5, 0x5e, 0xf5, 0x81, 0x41, 0xe7, 0x31, 0xc2, 0x59, 0x46, 0x05, 0x16, - 0x31, 0xcd, 0x78, 0x79, 0x5a, 0x56, 0x43,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, 0x51, 0xfd, 0x02, 0x7e, 0xb3, 0x80, 0x33, 0x32, 0x0e, 0xf8, 0x7c, - 0x9a, 0x6e, 0x99, 0x85, 0xac, 0x6e, 0x4e, 0xc9, 0xd2, 0x33, 0x77, 0x37, 0x95, 0x5b, 0xe4, 0xd6, - 0xa5, 0xdb, 0x4b, 0x7b, 0xe7, 0x23, 0xcb, 0xbd, 0x5d, 0xbf, 0xd0, 0x66, 0xfd, 0x54, 0x09, 0xf8, - 0x56, 0x7d, 0xe7, 0xaf, 0x05, 0x56, 0xbb, 0x34, 0x9d, 0x58, 0x73, 0x67, 0x79, 0x64, 0x02, 0x87, - 0x72, 0x87, 0x0e, 0xad, 0xb7, 0x7b, 0x25, 0xab, 0x4f, 0x13, 0x9c, 0xf5, 0x3d, 0xca, 0xfa, 0xa8, - 0x4f, 0x32, 0xb5, 0x61, 0xe6, 0x01, 0xcd, 0x63, 0x7e, 0xfd, 0x33, 0xbd, 0x65, 0x82, 0xcf, 0xf6, - 0xcc, 0x6e, 0xab, 0xf5, 0xc5, 0xae, 0xed, 0x6a, 0xc1, 0x56, 0xc4, 0x3d, 0x1d, 0xca, 0xe8, 0xb8, - 0xe1, 0x95, 0x85, 0xf9, 0x77, 0x03, 0xe9, 0xb4, 0x22, 0xde, 0x19, 0x42, 0x3a, 0xc7, 0x8d, 0x8e, - 0x81, 0xfc, 0xb1, 0x57, 0x75, 0xde, 0xf7, 0x5b, 0x11, 0xf7, 0xfd, 0x21, 0xc8, 0xf7, 0x8f, 0x1b, - 0xbe, 0x6f, 0x60, 0x27, 0xb3, 0xca, 0xe7, 0xc6, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf2, 0x05, - 0x04, 0x92, 0x4d, 0x06, 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 - -// 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.v1.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.v1.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) -} - -// UnimplementedFeedServiceServer can be embedded to have forward compatible implementations. -type UnimplementedFeedServiceServer struct { -} - -func (*UnimplementedFeedServiceServer) GetFeed(ctx context.Context, req *GetFeedRequest) (*resources.Feed, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetFeed not implemented") -} -func (*UnimplementedFeedServiceServer) MutateFeeds(ctx context.Context, req *MutateFeedsRequest) (*MutateFeedsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateFeeds not implemented") -} - -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.v1.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.v1.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.v1.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/v1/services/feed_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/gender_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/gender_view_service.pb.go deleted file mode 100644 index 8778925b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/gender_view_service.pb.go +++ /dev/null @@ -1,187 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/gender_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [GenderViewService.GetGenderView][google.ads.googleads.v1.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_30a3d0b836382d3b, []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 (m *GetGenderViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGenderViewRequest.Merge(m, 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.v1.services.GetGenderViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/gender_view_service.proto", fileDescriptor_30a3d0b836382d3b) -} - -var fileDescriptor_30a3d0b836382d3b = []byte{ - // 361 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xb1, 0x4a, 0xc3, 0x50, - 0x14, 0x86, 0x49, 0x04, 0xc1, 0x60, 0x07, 0x83, 0x88, 0x14, 0x87, 0x52, 0x3b, 0x48, 0xa1, 0xf7, - 0x12, 0x8b, 0x0e, 0xb7, 0x38, 0xa4, 0x4b, 0x9c, 0xa4, 0x54, 0xc8, 0x20, 0x81, 0x72, 0x6d, 0x0e, - 0x21, 0xd0, 0xe4, 0xd6, 0x7b, 0xd2, 0x74, 0x10, 0x17, 0x5f, 0xc1, 0x37, 0x70, 0x14, 0x7c, 0x0a, - 0x37, 0x57, 0x5f, 0xc1, 0xc9, 0x77, 0x10, 0x24, 0xbd, 0xb9, 0x29, 0x55, 0x4b, 0xb7, 0x9f, 0xd3, - 0xff, 0xfb, 0xef, 0x7f, 0x4e, 0x63, 0xb1, 0x48, 0x88, 0x68, 0x02, 0x94, 0x87, 0x48, 0x95, 0x2c, - 0x54, 0xee, 0x50, 0x04, 0x99, 0xc7, 0x63, 0x40, 0x1a, 0x41, 0x1a, 0x82, 0x1c, 0xe5, 0x31, 0xcc, - 0x47, 0xe5, 0x90, 0x4c, 0xa5, 0xc8, 0x84, 0xdd, 0x50, 0x00, 0xe1, 0x21, 0x92, 0x8a, 0x25, 0xb9, - 0x43, 0x34, 0x5b, 0xef, 0xae, 0x4b, 0x97, 0x80, 0x62, 0x26, 0x7f, 0xc5, 0xab, 0xd8, 0xfa, 0x91, - 0x86, 0xa6, 0x31, 0xe5, 0x69, 0x2a, 0x32, 0x9e, 0xc5, 0x22, 0x45, 0xf5, 0x6b, 0xb3, 0x67, 0xed, - 0x7b, 0x90, 0x79, 0x0b, 0xca, 0x8f, 0x61, 0x3e, 0x84, 0xbb, 0x19, 0x60, 0x66, 0x1f, 0x5b, 0x35, - 0x1d, 0x3a, 0x4a, 0x79, 0x02, 0x87, 0x46, 0xc3, 0x38, 0xd9, 0x19, 0xee, 0xea, 0xe1, 0x15, 0x4f, - 0xe0, 0xf4, 0xcd, 0xb0, 0xf6, 0x96, 0xe8, 0xb5, 0xaa, 0x69, 0xbf, 0x1a, 0x56, 0x6d, 0x25, 0xd3, - 0x3e, 0x27, 0x9b, 0x56, 0x23, 0xff, 0x95, 0xa8, 0x77, 0xd6, 0x72, 0xd5, 0xc2, 0x64, 0x49, 0x35, - 0xcf, 0x1e, 0x3f, 0x3e, 0x9f, 0x4c, 0x6a, 0x77, 0x8a, 0x93, 0xdc, 0xaf, 0xd4, 0xbf, 0x18, 0xcf, - 0x30, 0x13, 0x09, 0x48, 0xa4, 0xed, 0xf2, 0x46, 0x05, 0x82, 0xb4, 0xfd, 0xd0, 0xff, 0x36, 0xac, - 0xd6, 0x58, 0x24, 0x1b, 0x3b, 0xf6, 0x0f, 0xfe, 0xec, 0x3a, 0x28, 0x6e, 0x38, 0x30, 0x6e, 0x2e, - 0x4b, 0x36, 0x12, 0x13, 0x9e, 0x46, 0x44, 0xc8, 0xa8, 0x78, 0x64, 0x71, 0x61, 0xfd, 0x47, 0x4d, - 0x63, 0x5c, 0xff, 0x55, 0xf4, 0xb4, 0x78, 0x36, 0xb7, 0x3c, 0xd7, 0x7d, 0x31, 0x1b, 0x9e, 0x0a, - 0x74, 0x43, 0x24, 0x4a, 0x16, 0xca, 0x77, 0x48, 0xf9, 0x30, 0xbe, 0x6b, 0x4b, 0xe0, 0x86, 0x18, - 0x54, 0x96, 0xc0, 0x77, 0x02, 0x6d, 0xf9, 0x32, 0x5b, 0x6a, 0xce, 0x98, 0x1b, 0x22, 0x63, 0x95, - 0x89, 0x31, 0xdf, 0x61, 0x4c, 0xdb, 0x6e, 0xb7, 0x17, 0x3d, 0xbb, 0x3f, 0x01, 0x00, 0x00, 0xff, - 0xff, 0x04, 0x5c, 0x26, 0x09, 0xbc, 0x02, 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 - -// 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.v1.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) -} - -// UnimplementedGenderViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedGenderViewServiceServer struct { -} - -func (*UnimplementedGenderViewServiceServer) GetGenderView(ctx context.Context, req *GetGenderViewRequest) (*resources.GenderView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetGenderView not implemented") -} - -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.v1.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.v1.services.GenderViewService", - HandlerType: (*GenderViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetGenderView", - Handler: _GenderViewService_GetGenderView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/gender_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/geo_target_constant_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/geo_target_constant_service.pb.go deleted file mode 100644 index 1bf3d5a5..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/geo_target_constant_service.pb.go +++ /dev/null @@ -1,571 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/geo_target_constant_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [GeoTargetConstantService.GetGeoTargetConstant][google.ads.googleads.v1.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_e5cd5da9ab19edb3, []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 (m *GetGeoTargetConstantRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGeoTargetConstantRequest.Merge(m, 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_e5cd5da9ab19edb3, []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 (m *SuggestGeoTargetConstantsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SuggestGeoTargetConstantsRequest.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*SuggestGeoTargetConstantsRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*SuggestGeoTargetConstantsRequest_LocationNames_)(nil), - (*SuggestGeoTargetConstantsRequest_GeoTargets_)(nil), - } -} - -// 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_e5cd5da9ab19edb3, []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 (m *SuggestGeoTargetConstantsRequest_LocationNames) XXX_Merge(src proto.Message) { - xxx_messageInfo_SuggestGeoTargetConstantsRequest_LocationNames.Merge(m, 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_e5cd5da9ab19edb3, []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 (m *SuggestGeoTargetConstantsRequest_GeoTargets) XXX_Merge(src proto.Message) { - xxx_messageInfo_SuggestGeoTargetConstantsRequest_GeoTargets.Merge(m, 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.v1.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_e5cd5da9ab19edb3, []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 (m *SuggestGeoTargetConstantsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SuggestGeoTargetConstantsResponse.Merge(m, 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_e5cd5da9ab19edb3, []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 (m *GeoTargetConstantSuggestion) XXX_Merge(src proto.Message) { - xxx_messageInfo_GeoTargetConstantSuggestion.Merge(m, 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.v1.services.GetGeoTargetConstantRequest") - proto.RegisterType((*SuggestGeoTargetConstantsRequest)(nil), "google.ads.googleads.v1.services.SuggestGeoTargetConstantsRequest") - proto.RegisterType((*SuggestGeoTargetConstantsRequest_LocationNames)(nil), "google.ads.googleads.v1.services.SuggestGeoTargetConstantsRequest.LocationNames") - proto.RegisterType((*SuggestGeoTargetConstantsRequest_GeoTargets)(nil), "google.ads.googleads.v1.services.SuggestGeoTargetConstantsRequest.GeoTargets") - proto.RegisterType((*SuggestGeoTargetConstantsResponse)(nil), "google.ads.googleads.v1.services.SuggestGeoTargetConstantsResponse") - proto.RegisterType((*GeoTargetConstantSuggestion)(nil), "google.ads.googleads.v1.services.GeoTargetConstantSuggestion") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/geo_target_constant_service.proto", fileDescriptor_e5cd5da9ab19edb3) -} - -var fileDescriptor_e5cd5da9ab19edb3 = []byte{ - // 714 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xcd, 0x6e, 0xd3, 0x4c, - 0x14, 0xfd, 0x9c, 0x34, 0xfd, 0xc4, 0xa4, 0x45, 0x62, 0xe8, 0xc2, 0xa4, 0xa5, 0x04, 0xb7, 0x8b, - 0xd2, 0x85, 0x4d, 0x42, 0xc5, 0xc2, 0x55, 0x85, 0x92, 0x2c, 0x52, 0x24, 0xa8, 0xa2, 0xb4, 0xca, - 0x02, 0x45, 0x8a, 0xa6, 0xf6, 0x65, 0x1a, 0x29, 0xf1, 0xb8, 0x33, 0xe3, 0xa2, 0x0a, 0xb1, 0x41, - 0x7d, 0x03, 0x5e, 0x00, 0xb1, 0xac, 0x58, 0xb1, 0xe7, 0x05, 0xd8, 0xb0, 0xe0, 0x15, 0x58, 0xf1, - 0x14, 0xc8, 0xf6, 0xd8, 0x6d, 0xe5, 0x98, 0x84, 0x96, 0xdd, 0x78, 0xee, 0xbd, 0xe7, 0xcc, 0xb9, - 0x7f, 0x46, 0x4d, 0xca, 0x18, 0x1d, 0x81, 0x45, 0x5c, 0x61, 0xc5, 0xc7, 0xf0, 0x74, 0x52, 0xb3, - 0x04, 0xf0, 0x93, 0xa1, 0x03, 0xc2, 0xa2, 0xc0, 0x06, 0x92, 0x70, 0x0a, 0x72, 0xe0, 0x30, 0x4f, - 0x48, 0xe2, 0xc9, 0x81, 0x32, 0x9a, 0x3e, 0x67, 0x92, 0xe1, 0x6a, 0x1c, 0x68, 0x12, 0x57, 0x98, - 0x29, 0x86, 0x79, 0x52, 0x33, 0x13, 0x8c, 0xca, 0x76, 0x1e, 0x0b, 0x07, 0xc1, 0x02, 0x9e, 0x43, - 0x13, 0xc3, 0x57, 0x56, 0x92, 0x60, 0x7f, 0x68, 0x11, 0xcf, 0x63, 0x92, 0xc8, 0x21, 0xf3, 0x84, - 0xb2, 0xae, 0x2a, 0x6b, 0xf4, 0x75, 0x18, 0xbc, 0xb6, 0xde, 0x70, 0xe2, 0xfb, 0xc0, 0x95, 0xdd, - 0x68, 0xa2, 0xe5, 0x36, 0xc8, 0x36, 0xb0, 0x83, 0x08, 0xbc, 0xa5, 0xb0, 0xbb, 0x70, 0x1c, 0x80, - 0x90, 0x78, 0x0d, 0x2d, 0x26, 0x6f, 0x18, 0x78, 0x64, 0x0c, 0xba, 0x56, 0xd5, 0x36, 0x6e, 0x75, - 0x17, 0x92, 0xcb, 0x3d, 0x32, 0x06, 0xe3, 0xcb, 0x1c, 0xaa, 0xee, 0x07, 0x94, 0x82, 0xc8, 0x02, - 0x89, 0x04, 0x69, 0x0b, 0xcd, 0x8f, 0x98, 0x43, 0x46, 0xa0, 0x17, 0xab, 0xda, 0x46, 0xb9, 0xbe, - 0xa2, 0x72, 0x61, 0x26, 0x2f, 0x33, 0xf7, 0x25, 0x1f, 0x7a, 0xb4, 0x47, 0x46, 0x01, 0x74, 0x95, - 0x2f, 0x7e, 0x86, 0x16, 0x1c, 0x16, 0x78, 0x92, 0x9f, 0x0e, 0x1c, 0xe6, 0x82, 0x5e, 0x9a, 0x21, - 0xb6, 0xac, 0x22, 0x5a, 0xcc, 0x05, 0x7c, 0x8a, 0x6e, 0x87, 0x50, 0x61, 0x4a, 0x22, 0x01, 0x22, - 0x52, 0x50, 0xae, 0x77, 0xcc, 0x69, 0x55, 0x31, 0xa7, 0x49, 0x32, 0x5f, 0x28, 0xe0, 0x30, 0x09, - 0x62, 0xf7, 0xbf, 0xee, 0xe2, 0xe8, 0xf2, 0x05, 0xf6, 0x51, 0xf9, 0xa2, 0x6a, 0x42, 0x2f, 0x44, - 0xbc, 0x2f, 0xff,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b, 0x00, 0x00, - 0xff, 0xff, 0x1e, 0xee, 0xdc, 0x5b, 0x68, 0x08, 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 - -// 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.v1.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.v1.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) -} - -// UnimplementedGeoTargetConstantServiceServer can be embedded to have forward compatible implementations. -type UnimplementedGeoTargetConstantServiceServer struct { -} - -func (*UnimplementedGeoTargetConstantServiceServer) GetGeoTargetConstant(ctx context.Context, req *GetGeoTargetConstantRequest) (*resources.GeoTargetConstant, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetGeoTargetConstant not implemented") -} -func (*UnimplementedGeoTargetConstantServiceServer) SuggestGeoTargetConstants(ctx context.Context, req *SuggestGeoTargetConstantsRequest) (*SuggestGeoTargetConstantsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SuggestGeoTargetConstants not implemented") -} - -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.v1.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.v1.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.v1.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/v1/services/geo_target_constant_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/geographic_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/geographic_view_service.pb.go deleted file mode 100644 index 5f0663b9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/geographic_view_service.pb.go +++ /dev/null @@ -1,187 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/geographic_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [GeographicViewService.GetGeographicView][google.ads.googleads.v1.services.GeographicViewService.GetGeographicView]. -type GetGeographicViewRequest struct { - // The resource name of the geographic 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 *GetGeographicViewRequest) Reset() { *m = GetGeographicViewRequest{} } -func (m *GetGeographicViewRequest) String() string { return proto.CompactTextString(m) } -func (*GetGeographicViewRequest) ProtoMessage() {} -func (*GetGeographicViewRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_335a6346a1c9a2b7, []int{0} -} - -func (m *GetGeographicViewRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetGeographicViewRequest.Unmarshal(m, b) -} -func (m *GetGeographicViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetGeographicViewRequest.Marshal(b, m, deterministic) -} -func (m *GetGeographicViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGeographicViewRequest.Merge(m, src) -} -func (m *GetGeographicViewRequest) XXX_Size() int { - return xxx_messageInfo_GetGeographicViewRequest.Size(m) -} -func (m *GetGeographicViewRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetGeographicViewRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetGeographicViewRequest proto.InternalMessageInfo - -func (m *GetGeographicViewRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetGeographicViewRequest)(nil), "google.ads.googleads.v1.services.GetGeographicViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/geographic_view_service.proto", fileDescriptor_335a6346a1c9a2b7) -} - -var fileDescriptor_335a6346a1c9a2b7 = []byte{ - // 365 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xbf, 0x4a, 0xc3, 0x40, - 0x1c, 0xc7, 0x49, 0x04, 0xc1, 0xa0, 0x83, 0x01, 0xa1, 0x04, 0x87, 0x52, 0x3b, 0x48, 0x87, 0x3b, - 0x62, 0x07, 0xf1, 0x44, 0x25, 0x5d, 0xe2, 0x24, 0xa5, 0x42, 0x06, 0x09, 0x94, 0x33, 0x39, 0xce, - 0x40, 0x93, 0x8b, 0xf7, 0x4b, 0xd3, 0x41, 0x1c, 0xf4, 0x15, 0x7c, 0x03, 0x47, 0xdf, 0xc1, 0x17, - 0x70, 0x75, 0xf0, 0x05, 0x9c, 0x7c, 0x0a, 0x49, 0xaf, 0x17, 0x2c, 0x36, 0x74, 0xfb, 0x72, 0xbf, - 0xef, 0xe7, 0xf7, 0xe7, 0x9b, 0x58, 0xe7, 0x5c, 0x08, 0x3e, 0x61, 0x98, 0xc6, 0x80, 0x95, 0xac, - 0x54, 0xe9, 0x62, 0x60, 0xb2, 0x4c, 0x22, 0x06, 0x98, 0x33, 0xc1, 0x25, 0xcd, 0xef, 0x92, 0x68, - 0x5c, 0x26, 0x6c, 0x36, 0x5e, 0x14, 0x50, 0x2e, 0x45, 0x21, 0xec, 0xb6, 0x82, 0x10, 0x8d, 0x01, - 0xd5, 0x3c, 0x2a, 0x5d, 0xa4, 0x79, 0xe7, 0xb8, 0x69, 0x82, 0x64, 0x20, 0xa6, 0x72, 0xc5, 0x08, - 0xd5, 0xda, 0xd9, 0xd7, 0x60, 0x9e, 0x60, 0x9a, 0x65, 0xa2, 0xa0, 0x45, 0x22, 0x32, 0x50, 0xd5, - 0xce, 0x85, 0xd5, 0xf2, 0x59, 0xe1, 0xd7, 0x64, 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0xec, 0xff, - 0x06, 0x00, 0x00, 0xff, 0xff, 0x20, 0xad, 0x3a, 0xfd, 0xe0, 0x02, 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 - -// GeographicViewServiceClient is the client API for GeographicViewService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type GeographicViewServiceClient interface { - // Returns the requested geographic view in full detail. - GetGeographicView(ctx context.Context, in *GetGeographicViewRequest, opts ...grpc.CallOption) (*resources.GeographicView, error) -} - -type geographicViewServiceClient struct { - cc *grpc.ClientConn -} - -func NewGeographicViewServiceClient(cc *grpc.ClientConn) GeographicViewServiceClient { - return &geographicViewServiceClient{cc} -} - -func (c *geographicViewServiceClient) GetGeographicView(ctx context.Context, in *GetGeographicViewRequest, opts ...grpc.CallOption) (*resources.GeographicView, error) { - out := new(resources.GeographicView) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.GeographicViewService/GetGeographicView", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// GeographicViewServiceServer is the server API for GeographicViewService service. -type GeographicViewServiceServer interface { - // Returns the requested geographic view in full detail. - GetGeographicView(context.Context, *GetGeographicViewRequest) (*resources.GeographicView, error) -} - -// UnimplementedGeographicViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedGeographicViewServiceServer struct { -} - -func (*UnimplementedGeographicViewServiceServer) GetGeographicView(ctx context.Context, req *GetGeographicViewRequest) (*resources.GeographicView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetGeographicView not implemented") -} - -func RegisterGeographicViewServiceServer(s *grpc.Server, srv GeographicViewServiceServer) { - s.RegisterService(&_GeographicViewService_serviceDesc, srv) -} - -func _GeographicViewService_GetGeographicView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetGeographicViewRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GeographicViewServiceServer).GetGeographicView(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.GeographicViewService/GetGeographicView", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GeographicViewServiceServer).GetGeographicView(ctx, req.(*GetGeographicViewRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _GeographicViewService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.GeographicViewService", - HandlerType: (*GeographicViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetGeographicView", - Handler: _GeographicViewService_GetGeographicView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/geographic_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/google_ads_field_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/google_ads_field_service.pb.go deleted file mode 100644 index 487d433e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/google_ads_field_service.pb.go +++ /dev/null @@ -1,364 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/google_ads_field_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [GoogleAdsFieldService.GetGoogleAdsField][google.ads.googleads.v1.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_bdc4a77920e176fd, []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 (m *GetGoogleAdsFieldRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGoogleAdsFieldRequest.Merge(m, 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.v1.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_bdc4a77920e176fd, []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 (m *SearchGoogleAdsFieldsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchGoogleAdsFieldsRequest.Merge(m, 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.v1.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_bdc4a77920e176fd, []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 (m *SearchGoogleAdsFieldsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchGoogleAdsFieldsResponse.Merge(m, 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.v1.services.GetGoogleAdsFieldRequest") - proto.RegisterType((*SearchGoogleAdsFieldsRequest)(nil), "google.ads.googleads.v1.services.SearchGoogleAdsFieldsRequest") - proto.RegisterType((*SearchGoogleAdsFieldsResponse)(nil), "google.ads.googleads.v1.services.SearchGoogleAdsFieldsResponse") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/google_ads_field_service.proto", fileDescriptor_bdc4a77920e176fd) -} - -var fileDescriptor_bdc4a77920e176fd = []byte{ - // 537 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x41, 0x8b, 0xd3, 0x40, - 0x14, 0x26, 0x29, 0xab, 0xee, 0xe8, 0x22, 0x3b, 0xba, 0x50, 0xe2, 0x2e, 0x96, 0xb8, 0xab, 0x65, - 0xc1, 0x09, 0x59, 0x2f, 0x32, 0xa2, 0x25, 0x2b, 0x58, 0x41, 0x90, 0xd2, 0x4a, 0x0f, 0x52, 0x08, - 0x63, 0xf3, 0x8c, 0xc1, 0x76, 0x26, 0x9b, 0x99, 0x16, 0x5d, 0xf1, 0xa0, 0x77, 0x4f, 0xfe, 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d, 0x8a, 0xf1, 0x4a, - 0xb7, 0x43, 0x6f, 0xe9, 0xd4, 0x3a, 0xfa, 0x39, 0x75, 0x9c, 0xa7, 0x0f, 0x67, 0xfc, 0x54, 0x8c, - 0x18, 0x4f, 0x89, 0x28, 0xd2, 0x20, 0x05, 0x5e, 0x3e, 0x36, 0xfb, 0x70, 0xf3, 0x4c, 0x56, 0xff, - 0x2a, 0xee, 0xd8, 0xc3, 0x27, 0xb7, 0xd6, 0x8e, 0xa2, 0xcf, 0x6e, 0xc3, 0xd8, 0x91, 0x28, 0xf9, - 0x63, 0x46, 0xa4, 0x1f, 0x92, 0x99, 0xb1, 0xfc, 0x6e, 0x53, 0x06, 0x51, 0x22, 0x07, 0xf3, 0x94, - 0x41, 0x3f, 0x1c, 0xd8, 0x94, 0x5f, 0xee, 0xae, 0x89, 0x53, 0x1a, 0x25, 0x92, 0xd2, 0x79, 0x12, - 0xa5, 0xfd, 0x90, 0x52, 0x9b, 0xf6, 0xec, 0x4c, 0x59, 0xe7, 0xad, 0xdf, 0x01, 0x00, 0x00, 0xff, - 0xff, 0xea, 0xe2, 0xe3, 0x8f, 0xd1, 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 - -// 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.v1.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.v1.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) -} - -// UnimplementedGoogleAdsFieldServiceServer can be embedded to have forward compatible implementations. -type UnimplementedGoogleAdsFieldServiceServer struct { -} - -func (*UnimplementedGoogleAdsFieldServiceServer) GetGoogleAdsField(ctx context.Context, req *GetGoogleAdsFieldRequest) (*resources.GoogleAdsField, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetGoogleAdsField not implemented") -} -func (*UnimplementedGoogleAdsFieldServiceServer) SearchGoogleAdsFields(ctx context.Context, req *SearchGoogleAdsFieldsRequest) (*SearchGoogleAdsFieldsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchGoogleAdsFields not implemented") -} - -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.v1.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.v1.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.v1.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/v1/services/google_ads_field_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/google_ads_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/google_ads_service.pb.go deleted file mode 100644 index bb817cf0..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/google_ads_service.pb.go +++ /dev/null @@ -1,3041 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/google_ads_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - common "google.golang.org/genproto/googleapis/ads/googleads/v1/common" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [GoogleAdsService.Search][google.ads.googleads.v1.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"` - // If true, the request is validated but not executed. - ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_f29b4cd67e08d05c, []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 (m *SearchGoogleAdsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchGoogleAdsRequest.Merge(m, 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 -} - -func (m *SearchGoogleAdsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// Response message for -// [GoogleAdsService.Search][google.ads.googleads.v1.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_f29b4cd67e08d05c, []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 (m *SearchGoogleAdsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchGoogleAdsResponse.Merge(m, 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 ad label referenced in the query. - AdGroupAdLabel *resources.AdGroupAdLabel `protobuf:"bytes,120,opt,name=ad_group_ad_label,json=adGroupAdLabel,proto3" json:"ad_group_ad_label,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 criterion label referenced in the query. - AdGroupCriterionLabel *resources.AdGroupCriterionLabel `protobuf:"bytes,121,opt,name=ad_group_criterion_label,json=adGroupCriterionLabel,proto3" json:"ad_group_criterion_label,omitempty"` - // The ad group criterion simulation referenced in the query. - AdGroupCriterionSimulation *resources.AdGroupCriterionSimulation `protobuf:"bytes,110,opt,name=ad_group_criterion_simulation,json=adGroupCriterionSimulation,proto3" json:"ad_group_criterion_simulation,omitempty"` - // The ad group extension setting referenced in the query. - AdGroupExtensionSetting *resources.AdGroupExtensionSetting `protobuf:"bytes,112,opt,name=ad_group_extension_setting,json=adGroupExtensionSetting,proto3" json:"ad_group_extension_setting,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 ad group label referenced in the query. - AdGroupLabel *resources.AdGroupLabel `protobuf:"bytes,115,opt,name=ad_group_label,json=adGroupLabel,proto3" json:"ad_group_label,omitempty"` - // The ad group simulation referenced in the query. - AdGroupSimulation *resources.AdGroupSimulation `protobuf:"bytes,107,opt,name=ad_group_simulation,json=adGroupSimulation,proto3" json:"ad_group_simulation,omitempty"` - // The ad parameter referenced in the query. - AdParameter *resources.AdParameter `protobuf:"bytes,130,opt,name=ad_parameter,json=adParameter,proto3" json:"ad_parameter,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 ad schedule view referenced in the query. - AdScheduleView *resources.AdScheduleView `protobuf:"bytes,89,opt,name=ad_schedule_view,json=adScheduleView,proto3" json:"ad_schedule_view,omitempty"` - // The domain category referenced in the query. - DomainCategory *resources.DomainCategory `protobuf:"bytes,91,opt,name=domain_category,json=domainCategory,proto3" json:"domain_category,omitempty"` - // The asset referenced in the query. - Asset *resources.Asset `protobuf:"bytes,105,opt,name=asset,proto3" json:"asset,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 criterion simulation referenced in the query. - CampaignCriterionSimulation *resources.CampaignCriterionSimulation `protobuf:"bytes,111,opt,name=campaign_criterion_simulation,json=campaignCriterionSimulation,proto3" json:"campaign_criterion_simulation,omitempty"` - // The campaign draft referenced in the query. - CampaignDraft *resources.CampaignDraft `protobuf:"bytes,49,opt,name=campaign_draft,json=campaignDraft,proto3" json:"campaign_draft,omitempty"` - // The campaign experiment referenced in the query. - CampaignExperiment *resources.CampaignExperiment `protobuf:"bytes,84,opt,name=campaign_experiment,json=campaignExperiment,proto3" json:"campaign_experiment,omitempty"` - // The campaign extension setting referenced in the query. - CampaignExtensionSetting *resources.CampaignExtensionSetting `protobuf:"bytes,113,opt,name=campaign_extension_setting,json=campaignExtensionSetting,proto3" json:"campaign_extension_setting,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"` - // The campaign label referenced in the query. - CampaignLabel *resources.CampaignLabel `protobuf:"bytes,108,opt,name=campaign_label,json=campaignLabel,proto3" json:"campaign_label,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 conversion action referenced in the query. - ConversionAction *resources.ConversionAction `protobuf:"bytes,103,opt,name=conversion_action,json=conversionAction,proto3" json:"conversion_action,omitempty"` - // The ClickView referenced in the query. - ClickView *resources.ClickView `protobuf:"bytes,122,opt,name=click_view,json=clickView,proto3" json:"click_view,omitempty"` - // The CustomInterest referenced in the query. - CustomInterest *resources.CustomInterest `protobuf:"bytes,104,opt,name=custom_interest,json=customInterest,proto3" json:"custom_interest,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 extension setting referenced in the query. - CustomerExtensionSetting *resources.CustomerExtensionSetting `protobuf:"bytes,114,opt,name=customer_extension_setting,json=customerExtensionSetting,proto3" json:"customer_extension_setting,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 customer label referenced in the query. - CustomerLabel *resources.CustomerLabel `protobuf:"bytes,124,opt,name=customer_label,json=customerLabel,proto3" json:"customer_label,omitempty"` - // The customer negative criterion referenced in the query. - CustomerNegativeCriterion *resources.CustomerNegativeCriterion `protobuf:"bytes,88,opt,name=customer_negative_criterion,json=customerNegativeCriterion,proto3" json:"customer_negative_criterion,omitempty"` - // The detail placement view referenced in the query. - DetailPlacementView *resources.DetailPlacementView `protobuf:"bytes,118,opt,name=detail_placement_view,json=detailPlacementView,proto3" json:"detail_placement_view,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 dynamic search ads search term view referenced in the query. - DynamicSearchAdsSearchTermView *resources.DynamicSearchAdsSearchTermView `protobuf:"bytes,106,opt,name=dynamic_search_ads_search_term_view,json=dynamicSearchAdsSearchTermView,proto3" json:"dynamic_search_ads_search_term_view,omitempty"` - // The expanded landing page view referenced in the query. - ExpandedLandingPageView *resources.ExpandedLandingPageView `protobuf:"bytes,128,opt,name=expanded_landing_page_view,json=expandedLandingPageView,proto3" json:"expanded_landing_page_view,omitempty"` - // The extension feed item referenced in the query. - ExtensionFeedItem *resources.ExtensionFeedItem `protobuf:"bytes,85,opt,name=extension_feed_item,json=extensionFeedItem,proto3" json:"extension_feed_item,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 item target referenced in the query. - FeedItemTarget *resources.FeedItemTarget `protobuf:"bytes,116,opt,name=feed_item_target,json=feedItemTarget,proto3" json:"feed_item_target,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 feed placeholder view referenced in the query. - FeedPlaceholderView *resources.FeedPlaceholderView `protobuf:"bytes,97,opt,name=feed_placeholder_view,json=feedPlaceholderView,proto3" json:"feed_placeholder_view,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 geographic view referenced in the query. - GeographicView *resources.GeographicView `protobuf:"bytes,125,opt,name=geographic_view,json=geographicView,proto3" json:"geographic_view,omitempty"` - // The group placement view referenced in the query. - GroupPlacementView *resources.GroupPlacementView `protobuf:"bytes,119,opt,name=group_placement_view,json=groupPlacementView,proto3" json:"group_placement_view,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 label referenced in the query. - Label *resources.Label `protobuf:"bytes,52,opt,name=label,proto3" json:"label,omitempty"` - // The landing page view referenced in the query. - LandingPageView *resources.LandingPageView `protobuf:"bytes,126,opt,name=landing_page_view,json=landingPageView,proto3" json:"landing_page_view,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 location view referenced in the query. - LocationView *resources.LocationView `protobuf:"bytes,123,opt,name=location_view,json=locationView,proto3" json:"location_view,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 media file referenced in the query. - MediaFile *resources.MediaFile `protobuf:"bytes,90,opt,name=media_file,json=mediaFile,proto3" json:"media_file,omitempty"` - // The mobile app category constant referenced in the query. - MobileAppCategoryConstant *resources.MobileAppCategoryConstant `protobuf:"bytes,87,opt,name=mobile_app_category_constant,json=mobileAppCategoryConstant,proto3" json:"mobile_app_category_constant,omitempty"` - // The mobile device constant referenced in the query. - MobileDeviceConstant *resources.MobileDeviceConstant `protobuf:"bytes,98,opt,name=mobile_device_constant,json=mobileDeviceConstant,proto3" json:"mobile_device_constant,omitempty"` - // The mutate job referenced in the query. - MutateJob *resources.MutateJob `protobuf:"bytes,127,opt,name=mutate_job,json=mutateJob,proto3" json:"mutate_job,omitempty"` - // The operating system version constant referenced in the query. - OperatingSystemVersionConstant *resources.OperatingSystemVersionConstant `protobuf:"bytes,86,opt,name=operating_system_version_constant,json=operatingSystemVersionConstant,proto3" json:"operating_system_version_constant,omitempty"` - // The paid organic search term view referenced in the query. - PaidOrganicSearchTermView *resources.PaidOrganicSearchTermView `protobuf:"bytes,129,opt,name=paid_organic_search_term_view,json=paidOrganicSearchTermView,proto3" json:"paid_organic_search_term_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 Bidding Category referenced in the query. - ProductBiddingCategoryConstant *resources.ProductBiddingCategoryConstant `protobuf:"bytes,109,opt,name=product_bidding_category_constant,json=productBiddingCategoryConstant,proto3" json:"product_bidding_category_constant,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 shopping performance view referenced in the query. - ShoppingPerformanceView *resources.ShoppingPerformanceView `protobuf:"bytes,117,opt,name=shopping_performance_view,json=shoppingPerformanceView,proto3" json:"shopping_performance_view,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 remarketing action referenced in the query. - RemarketingAction *resources.RemarketingAction `protobuf:"bytes,60,opt,name=remarketing_action,json=remarketingAction,proto3" json:"remarketing_action,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"` - // The segments. - Segments *common.Segments `protobuf:"bytes,102,opt,name=segments,proto3" json:"segments,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_f29b4cd67e08d05c, []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 (m *GoogleAdsRow) XXX_Merge(src proto.Message) { - xxx_messageInfo_GoogleAdsRow.Merge(m, 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) GetAdGroupAdLabel() *resources.AdGroupAdLabel { - if m != nil { - return m.AdGroupAdLabel - } - 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) GetAdGroupCriterionLabel() *resources.AdGroupCriterionLabel { - if m != nil { - return m.AdGroupCriterionLabel - } - return nil -} - -func (m *GoogleAdsRow) GetAdGroupCriterionSimulation() *resources.AdGroupCriterionSimulation { - if m != nil { - return m.AdGroupCriterionSimulation - } - return nil -} - -func (m *GoogleAdsRow) GetAdGroupExtensionSetting() *resources.AdGroupExtensionSetting { - if m != nil { - return m.AdGroupExtensionSetting - } - return nil -} - -func (m *GoogleAdsRow) GetAdGroupFeed() *resources.AdGroupFeed { - if m != nil { - return m.AdGroupFeed - } - return nil -} - -func (m *GoogleAdsRow) GetAdGroupLabel() *resources.AdGroupLabel { - if m != nil { - return m.AdGroupLabel - } - return nil -} - -func (m *GoogleAdsRow) GetAdGroupSimulation() *resources.AdGroupSimulation { - if m != nil { - return m.AdGroupSimulation - } - return nil -} - -func (m *GoogleAdsRow) GetAdParameter() *resources.AdParameter { - if m != nil { - return m.AdParameter - } - return nil -} - -func (m *GoogleAdsRow) GetAgeRangeView() *resources.AgeRangeView { - if m != nil { - return m.AgeRangeView - } - return nil -} - -func (m *GoogleAdsRow) GetAdScheduleView() *resources.AdScheduleView { - if m != nil { - return m.AdScheduleView - } - return nil -} - -func (m *GoogleAdsRow) GetDomainCategory() *resources.DomainCategory { - if m != nil { - return m.DomainCategory - } - return nil -} - -func (m *GoogleAdsRow) GetAsset() *resources.Asset { - if m != nil { - return m.Asset - } - 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) GetCampaignCriterionSimulation() *resources.CampaignCriterionSimulation { - if m != nil { - return m.CampaignCriterionSimulation - } - return nil -} - -func (m *GoogleAdsRow) GetCampaignDraft() *resources.CampaignDraft { - if m != nil { - return m.CampaignDraft - } - return nil -} - -func (m *GoogleAdsRow) GetCampaignExperiment() *resources.CampaignExperiment { - if m != nil { - return m.CampaignExperiment - } - return nil -} - -func (m *GoogleAdsRow) GetCampaignExtensionSetting() *resources.CampaignExtensionSetting { - if m != nil { - return m.CampaignExtensionSetting - } - return nil -} - -func (m *GoogleAdsRow) GetCampaignFeed() *resources.CampaignFeed { - if m != nil { - return m.CampaignFeed - } - return nil -} - -func (m *GoogleAdsRow) GetCampaignLabel() *resources.CampaignLabel { - if m != nil { - return m.CampaignLabel - } - 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) GetConversionAction() *resources.ConversionAction { - if m != nil { - return m.ConversionAction - } - return nil -} - -func (m *GoogleAdsRow) GetClickView() *resources.ClickView { - if m != nil { - return m.ClickView - } - return nil -} - -func (m *GoogleAdsRow) GetCustomInterest() *resources.CustomInterest { - if m != nil { - return m.CustomInterest - } - 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) GetCustomerExtensionSetting() *resources.CustomerExtensionSetting { - if m != nil { - return m.CustomerExtensionSetting - } - return nil -} - -func (m *GoogleAdsRow) GetCustomerFeed() *resources.CustomerFeed { - if m != nil { - return m.CustomerFeed - } - return nil -} - -func (m *GoogleAdsRow) GetCustomerLabel() *resources.CustomerLabel { - if m != nil { - return m.CustomerLabel - } - return nil -} - -func (m *GoogleAdsRow) GetCustomerNegativeCriterion() *resources.CustomerNegativeCriterion { - if m != nil { - return m.CustomerNegativeCriterion - } - return nil -} - -func (m *GoogleAdsRow) GetDetailPlacementView() *resources.DetailPlacementView { - if m != nil { - return m.DetailPlacementView - } - return nil -} - -func (m *GoogleAdsRow) GetDisplayKeywordView() *resources.DisplayKeywordView { - if m != nil { - return m.DisplayKeywordView - } - return nil -} - -func (m *GoogleAdsRow) GetDynamicSearchAdsSearchTermView() *resources.DynamicSearchAdsSearchTermView { - if m != nil { - return m.DynamicSearchAdsSearchTermView - } - return nil -} - -func (m *GoogleAdsRow) GetExpandedLandingPageView() *resources.ExpandedLandingPageView { - if m != nil { - return m.ExpandedLandingPageView - } - return nil -} - -func (m *GoogleAdsRow) GetExtensionFeedItem() *resources.ExtensionFeedItem { - if m != nil { - return m.ExtensionFeedItem - } - 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) GetFeedItemTarget() *resources.FeedItemTarget { - if m != nil { - return m.FeedItemTarget - } - return nil -} - -func (m *GoogleAdsRow) GetFeedMapping() *resources.FeedMapping { - if m != nil { - return m.FeedMapping - } - return nil -} - -func (m *GoogleAdsRow) GetFeedPlaceholderView() *resources.FeedPlaceholderView { - if m != nil { - return m.FeedPlaceholderView - } - 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) GetGeographicView() *resources.GeographicView { - if m != nil { - return m.GeographicView - } - return nil -} - -func (m *GoogleAdsRow) GetGroupPlacementView() *resources.GroupPlacementView { - if m != nil { - return m.GroupPlacementView - } - 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) GetLabel() *resources.Label { - if m != nil { - return m.Label - } - return nil -} - -func (m *GoogleAdsRow) GetLandingPageView() *resources.LandingPageView { - if m != nil { - return m.LandingPageView - } - return nil -} - -func (m *GoogleAdsRow) GetLanguageConstant() *resources.LanguageConstant { - if m != nil { - return m.LanguageConstant - } - return nil -} - -func (m *GoogleAdsRow) GetLocationView() *resources.LocationView { - if m != nil { - return m.LocationView - } - return nil -} - -func (m *GoogleAdsRow) GetManagedPlacementView() *resources.ManagedPlacementView { - if m != nil { - return m.ManagedPlacementView - } - return nil -} - -func (m *GoogleAdsRow) GetMediaFile() *resources.MediaFile { - if m != nil { - return m.MediaFile - } - return nil -} - -func (m *GoogleAdsRow) GetMobileAppCategoryConstant() *resources.MobileAppCategoryConstant { - if m != nil { - return m.MobileAppCategoryConstant - } - return nil -} - -func (m *GoogleAdsRow) GetMobileDeviceConstant() *resources.MobileDeviceConstant { - if m != nil { - return m.MobileDeviceConstant - } - return nil -} - -func (m *GoogleAdsRow) GetMutateJob() *resources.MutateJob { - if m != nil { - return m.MutateJob - } - return nil -} - -func (m *GoogleAdsRow) GetOperatingSystemVersionConstant() *resources.OperatingSystemVersionConstant { - if m != nil { - return m.OperatingSystemVersionConstant - } - return nil -} - -func (m *GoogleAdsRow) GetPaidOrganicSearchTermView() *resources.PaidOrganicSearchTermView { - if m != nil { - return m.PaidOrganicSearchTermView - } - return nil -} - -func (m *GoogleAdsRow) GetParentalStatusView() *resources.ParentalStatusView { - if m != nil { - return m.ParentalStatusView - } - return nil -} - -func (m *GoogleAdsRow) GetProductBiddingCategoryConstant() *resources.ProductBiddingCategoryConstant { - if m != nil { - return m.ProductBiddingCategoryConstant - } - 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) GetShoppingPerformanceView() *resources.ShoppingPerformanceView { - if m != nil { - return m.ShoppingPerformanceView - } - 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) GetRemarketingAction() *resources.RemarketingAction { - if m != nil { - return m.RemarketingAction - } - 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) GetSegments() *common.Segments { - if m != nil { - return m.Segments - } - return nil -} - -// Request message for -// [GoogleAdsService.Mutate][google.ads.googleads.v1.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_f29b4cd67e08d05c, []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 (m *MutateGoogleAdsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateGoogleAdsRequest.Merge(m, 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 -} - -func (m *MutateGoogleAdsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateGoogleAdsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// Response message for -// [GoogleAdsService.Mutate][google.ads.googleads.v1.services.GoogleAdsService.Mutate]. -type MutateGoogleAdsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_f29b4cd67e08d05c, []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 (m *MutateGoogleAdsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateGoogleAdsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_AdGroupAdLabelOperation - // *MutateOperation_AdGroupAdOperation - // *MutateOperation_AdGroupBidModifierOperation - // *MutateOperation_AdGroupCriterionLabelOperation - // *MutateOperation_AdGroupCriterionOperation - // *MutateOperation_AdGroupExtensionSettingOperation - // *MutateOperation_AdGroupFeedOperation - // *MutateOperation_AdGroupLabelOperation - // *MutateOperation_AdGroupOperation - // *MutateOperation_AdParameterOperation - // *MutateOperation_AssetOperation - // *MutateOperation_BiddingStrategyOperation - // *MutateOperation_CampaignBidModifierOperation - // *MutateOperation_CampaignBudgetOperation - // *MutateOperation_CampaignCriterionOperation - // *MutateOperation_CampaignDraftOperation - // *MutateOperation_CampaignExperimentOperation - // *MutateOperation_CampaignExtensionSettingOperation - // *MutateOperation_CampaignFeedOperation - // *MutateOperation_CampaignLabelOperation - // *MutateOperation_CampaignOperation - // *MutateOperation_CampaignSharedSetOperation - // *MutateOperation_ConversionActionOperation - // *MutateOperation_CustomerExtensionSettingOperation - // *MutateOperation_CustomerFeedOperation - // *MutateOperation_CustomerLabelOperation - // *MutateOperation_CustomerNegativeCriterionOperation - // *MutateOperation_CustomerOperation - // *MutateOperation_ExtensionFeedItemOperation - // *MutateOperation_FeedItemOperation - // *MutateOperation_FeedItemTargetOperation - // *MutateOperation_FeedMappingOperation - // *MutateOperation_FeedOperation - // *MutateOperation_LabelOperation - // *MutateOperation_MediaFileOperation - // *MutateOperation_RemarketingActionOperation - // *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_f29b4cd67e08d05c, []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 (m *MutateOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateOperation.Merge(m, 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_AdGroupAdLabelOperation struct { - AdGroupAdLabelOperation *AdGroupAdLabelOperation `protobuf:"bytes,17,opt,name=ad_group_ad_label_operation,json=adGroupAdLabelOperation,proto3,oneof"` -} - -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_AdGroupCriterionLabelOperation struct { - AdGroupCriterionLabelOperation *AdGroupCriterionLabelOperation `protobuf:"bytes,18,opt,name=ad_group_criterion_label_operation,json=adGroupCriterionLabelOperation,proto3,oneof"` -} - -type MutateOperation_AdGroupCriterionOperation struct { - AdGroupCriterionOperation *AdGroupCriterionOperation `protobuf:"bytes,3,opt,name=ad_group_criterion_operation,json=adGroupCriterionOperation,proto3,oneof"` -} - -type MutateOperation_AdGroupExtensionSettingOperation struct { - AdGroupExtensionSettingOperation *AdGroupExtensionSettingOperation `protobuf:"bytes,19,opt,name=ad_group_extension_setting_operation,json=adGroupExtensionSettingOperation,proto3,oneof"` -} - -type MutateOperation_AdGroupFeedOperation struct { - AdGroupFeedOperation *AdGroupFeedOperation `protobuf:"bytes,20,opt,name=ad_group_feed_operation,json=adGroupFeedOperation,proto3,oneof"` -} - -type MutateOperation_AdGroupLabelOperation struct { - AdGroupLabelOperation *AdGroupLabelOperation `protobuf:"bytes,21,opt,name=ad_group_label_operation,json=adGroupLabelOperation,proto3,oneof"` -} - -type MutateOperation_AdGroupOperation struct { - AdGroupOperation *AdGroupOperation `protobuf:"bytes,5,opt,name=ad_group_operation,json=adGroupOperation,proto3,oneof"` -} - -type MutateOperation_AdParameterOperation struct { - AdParameterOperation *AdParameterOperation `protobuf:"bytes,22,opt,name=ad_parameter_operation,json=adParameterOperation,proto3,oneof"` -} - -type MutateOperation_AssetOperation struct { - AssetOperation *AssetOperation `protobuf:"bytes,23,opt,name=asset_operation,json=assetOperation,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_CampaignCriterionOperation struct { - CampaignCriterionOperation *CampaignCriterionOperation `protobuf:"bytes,13,opt,name=campaign_criterion_operation,json=campaignCriterionOperation,proto3,oneof"` -} - -type MutateOperation_CampaignDraftOperation struct { - CampaignDraftOperation *CampaignDraftOperation `protobuf:"bytes,24,opt,name=campaign_draft_operation,json=campaignDraftOperation,proto3,oneof"` -} - -type MutateOperation_CampaignExperimentOperation struct { - CampaignExperimentOperation *CampaignExperimentOperation `protobuf:"bytes,25,opt,name=campaign_experiment_operation,json=campaignExperimentOperation,proto3,oneof"` -} - -type MutateOperation_CampaignExtensionSettingOperation struct { - CampaignExtensionSettingOperation *CampaignExtensionSettingOperation `protobuf:"bytes,26,opt,name=campaign_extension_setting_operation,json=campaignExtensionSettingOperation,proto3,oneof"` -} - -type MutateOperation_CampaignFeedOperation struct { - CampaignFeedOperation *CampaignFeedOperation `protobuf:"bytes,27,opt,name=campaign_feed_operation,json=campaignFeedOperation,proto3,oneof"` -} - -type MutateOperation_CampaignLabelOperation struct { - CampaignLabelOperation *CampaignLabelOperation `protobuf:"bytes,28,opt,name=campaign_label_operation,json=campaignLabelOperation,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_CustomerExtensionSettingOperation struct { - CustomerExtensionSettingOperation *CustomerExtensionSettingOperation `protobuf:"bytes,30,opt,name=customer_extension_setting_operation,json=customerExtensionSettingOperation,proto3,oneof"` -} - -type MutateOperation_CustomerFeedOperation struct { - CustomerFeedOperation *CustomerFeedOperation `protobuf:"bytes,31,opt,name=customer_feed_operation,json=customerFeedOperation,proto3,oneof"` -} - -type MutateOperation_CustomerLabelOperation struct { - CustomerLabelOperation *CustomerLabelOperation `protobuf:"bytes,32,opt,name=customer_label_operation,json=customerLabelOperation,proto3,oneof"` -} - -type MutateOperation_CustomerNegativeCriterionOperation struct { - CustomerNegativeCriterionOperation *CustomerNegativeCriterionOperation `protobuf:"bytes,34,opt,name=customer_negative_criterion_operation,json=customerNegativeCriterionOperation,proto3,oneof"` -} - -type MutateOperation_CustomerOperation struct { - CustomerOperation *CustomerOperation `protobuf:"bytes,35,opt,name=customer_operation,json=customerOperation,proto3,oneof"` -} - -type MutateOperation_ExtensionFeedItemOperation struct { - ExtensionFeedItemOperation *ExtensionFeedItemOperation `protobuf:"bytes,36,opt,name=extension_feed_item_operation,json=extensionFeedItemOperation,proto3,oneof"` -} - -type MutateOperation_FeedItemOperation struct { - FeedItemOperation *FeedItemOperation `protobuf:"bytes,37,opt,name=feed_item_operation,json=feedItemOperation,proto3,oneof"` -} - -type MutateOperation_FeedItemTargetOperation struct { - FeedItemTargetOperation *FeedItemTargetOperation `protobuf:"bytes,38,opt,name=feed_item_target_operation,json=feedItemTargetOperation,proto3,oneof"` -} - -type MutateOperation_FeedMappingOperation struct { - FeedMappingOperation *FeedMappingOperation `protobuf:"bytes,39,opt,name=feed_mapping_operation,json=feedMappingOperation,proto3,oneof"` -} - -type MutateOperation_FeedOperation struct { - FeedOperation *FeedOperation `protobuf:"bytes,40,opt,name=feed_operation,json=feedOperation,proto3,oneof"` -} - -type MutateOperation_LabelOperation struct { - LabelOperation *LabelOperation `protobuf:"bytes,41,opt,name=label_operation,json=labelOperation,proto3,oneof"` -} - -type MutateOperation_MediaFileOperation struct { - MediaFileOperation *MediaFileOperation `protobuf:"bytes,42,opt,name=media_file_operation,json=mediaFileOperation,proto3,oneof"` -} - -type MutateOperation_RemarketingActionOperation struct { - RemarketingActionOperation *RemarketingActionOperation `protobuf:"bytes,43,opt,name=remarketing_action_operation,json=remarketingActionOperation,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_AdGroupAdLabelOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_AdGroupAdOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_AdGroupBidModifierOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_AdGroupCriterionLabelOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_AdGroupCriterionOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_AdGroupExtensionSettingOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_AdGroupFeedOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_AdGroupLabelOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_AdGroupOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_AdParameterOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_AssetOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_BiddingStrategyOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_CampaignBidModifierOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_CampaignBudgetOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_CampaignCriterionOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_CampaignDraftOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_CampaignExperimentOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_CampaignExtensionSettingOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_CampaignFeedOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_CampaignLabelOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_CampaignOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_CampaignSharedSetOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_ConversionActionOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_CustomerExtensionSettingOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_CustomerFeedOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_CustomerLabelOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_CustomerNegativeCriterionOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_CustomerOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_ExtensionFeedItemOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_FeedItemOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_FeedItemTargetOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_FeedMappingOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_FeedOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_LabelOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_MediaFileOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_RemarketingActionOperation) 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) GetAdGroupAdLabelOperation() *AdGroupAdLabelOperation { - if x, ok := m.GetOperation().(*MutateOperation_AdGroupAdLabelOperation); ok { - return x.AdGroupAdLabelOperation - } - 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) GetAdGroupCriterionLabelOperation() *AdGroupCriterionLabelOperation { - if x, ok := m.GetOperation().(*MutateOperation_AdGroupCriterionLabelOperation); ok { - return x.AdGroupCriterionLabelOperation - } - return nil -} - -func (m *MutateOperation) GetAdGroupCriterionOperation() *AdGroupCriterionOperation { - if x, ok := m.GetOperation().(*MutateOperation_AdGroupCriterionOperation); ok { - return x.AdGroupCriterionOperation - } - return nil -} - -func (m *MutateOperation) GetAdGroupExtensionSettingOperation() *AdGroupExtensionSettingOperation { - if x, ok := m.GetOperation().(*MutateOperation_AdGroupExtensionSettingOperation); ok { - return x.AdGroupExtensionSettingOperation - } - return nil -} - -func (m *MutateOperation) GetAdGroupFeedOperation() *AdGroupFeedOperation { - if x, ok := m.GetOperation().(*MutateOperation_AdGroupFeedOperation); ok { - return x.AdGroupFeedOperation - } - return nil -} - -func (m *MutateOperation) GetAdGroupLabelOperation() *AdGroupLabelOperation { - if x, ok := m.GetOperation().(*MutateOperation_AdGroupLabelOperation); ok { - return x.AdGroupLabelOperation - } - return nil -} - -func (m *MutateOperation) GetAdGroupOperation() *AdGroupOperation { - if x, ok := m.GetOperation().(*MutateOperation_AdGroupOperation); ok { - return x.AdGroupOperation - } - return nil -} - -func (m *MutateOperation) GetAdParameterOperation() *AdParameterOperation { - if x, ok := m.GetOperation().(*MutateOperation_AdParameterOperation); ok { - return x.AdParameterOperation - } - return nil -} - -func (m *MutateOperation) GetAssetOperation() *AssetOperation { - if x, ok := m.GetOperation().(*MutateOperation_AssetOperation); ok { - return x.AssetOperation - } - 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) GetCampaignCriterionOperation() *CampaignCriterionOperation { - if x, ok := m.GetOperation().(*MutateOperation_CampaignCriterionOperation); ok { - return x.CampaignCriterionOperation - } - return nil -} - -func (m *MutateOperation) GetCampaignDraftOperation() *CampaignDraftOperation { - if x, ok := m.GetOperation().(*MutateOperation_CampaignDraftOperation); ok { - return x.CampaignDraftOperation - } - return nil -} - -func (m *MutateOperation) GetCampaignExperimentOperation() *CampaignExperimentOperation { - if x, ok := m.GetOperation().(*MutateOperation_CampaignExperimentOperation); ok { - return x.CampaignExperimentOperation - } - return nil -} - -func (m *MutateOperation) GetCampaignExtensionSettingOperation() *CampaignExtensionSettingOperation { - if x, ok := m.GetOperation().(*MutateOperation_CampaignExtensionSettingOperation); ok { - return x.CampaignExtensionSettingOperation - } - return nil -} - -func (m *MutateOperation) GetCampaignFeedOperation() *CampaignFeedOperation { - if x, ok := m.GetOperation().(*MutateOperation_CampaignFeedOperation); ok { - return x.CampaignFeedOperation - } - return nil -} - -func (m *MutateOperation) GetCampaignLabelOperation() *CampaignLabelOperation { - if x, ok := m.GetOperation().(*MutateOperation_CampaignLabelOperation); ok { - return x.CampaignLabelOperation - } - 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) GetCustomerExtensionSettingOperation() *CustomerExtensionSettingOperation { - if x, ok := m.GetOperation().(*MutateOperation_CustomerExtensionSettingOperation); ok { - return x.CustomerExtensionSettingOperation - } - return nil -} - -func (m *MutateOperation) GetCustomerFeedOperation() *CustomerFeedOperation { - if x, ok := m.GetOperation().(*MutateOperation_CustomerFeedOperation); ok { - return x.CustomerFeedOperation - } - return nil -} - -func (m *MutateOperation) GetCustomerLabelOperation() *CustomerLabelOperation { - if x, ok := m.GetOperation().(*MutateOperation_CustomerLabelOperation); ok { - return x.CustomerLabelOperation - } - return nil -} - -func (m *MutateOperation) GetCustomerNegativeCriterionOperation() *CustomerNegativeCriterionOperation { - if x, ok := m.GetOperation().(*MutateOperation_CustomerNegativeCriterionOperation); ok { - return x.CustomerNegativeCriterionOperation - } - return nil -} - -func (m *MutateOperation) GetCustomerOperation() *CustomerOperation { - if x, ok := m.GetOperation().(*MutateOperation_CustomerOperation); ok { - return x.CustomerOperation - } - return nil -} - -func (m *MutateOperation) GetExtensionFeedItemOperation() *ExtensionFeedItemOperation { - if x, ok := m.GetOperation().(*MutateOperation_ExtensionFeedItemOperation); ok { - return x.ExtensionFeedItemOperation - } - return nil -} - -func (m *MutateOperation) GetFeedItemOperation() *FeedItemOperation { - if x, ok := m.GetOperation().(*MutateOperation_FeedItemOperation); ok { - return x.FeedItemOperation - } - return nil -} - -func (m *MutateOperation) GetFeedItemTargetOperation() *FeedItemTargetOperation { - if x, ok := m.GetOperation().(*MutateOperation_FeedItemTargetOperation); ok { - return x.FeedItemTargetOperation - } - return nil -} - -func (m *MutateOperation) GetFeedMappingOperation() *FeedMappingOperation { - if x, ok := m.GetOperation().(*MutateOperation_FeedMappingOperation); ok { - return x.FeedMappingOperation - } - return nil -} - -func (m *MutateOperation) GetFeedOperation() *FeedOperation { - if x, ok := m.GetOperation().(*MutateOperation_FeedOperation); ok { - return x.FeedOperation - } - return nil -} - -func (m *MutateOperation) GetLabelOperation() *LabelOperation { - if x, ok := m.GetOperation().(*MutateOperation_LabelOperation); ok { - return x.LabelOperation - } - return nil -} - -func (m *MutateOperation) GetMediaFileOperation() *MediaFileOperation { - if x, ok := m.GetOperation().(*MutateOperation_MediaFileOperation); ok { - return x.MediaFileOperation - } - return nil -} - -func (m *MutateOperation) GetRemarketingActionOperation() *RemarketingActionOperation { - if x, ok := m.GetOperation().(*MutateOperation_RemarketingActionOperation); ok { - return x.RemarketingActionOperation - } - 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_OneofWrappers is for the internal use of the proto package. -func (*MutateOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*MutateOperation_AdGroupAdLabelOperation)(nil), - (*MutateOperation_AdGroupAdOperation)(nil), - (*MutateOperation_AdGroupBidModifierOperation)(nil), - (*MutateOperation_AdGroupCriterionLabelOperation)(nil), - (*MutateOperation_AdGroupCriterionOperation)(nil), - (*MutateOperation_AdGroupExtensionSettingOperation)(nil), - (*MutateOperation_AdGroupFeedOperation)(nil), - (*MutateOperation_AdGroupLabelOperation)(nil), - (*MutateOperation_AdGroupOperation)(nil), - (*MutateOperation_AdParameterOperation)(nil), - (*MutateOperation_AssetOperation)(nil), - (*MutateOperation_BiddingStrategyOperation)(nil), - (*MutateOperation_CampaignBidModifierOperation)(nil), - (*MutateOperation_CampaignBudgetOperation)(nil), - (*MutateOperation_CampaignCriterionOperation)(nil), - (*MutateOperation_CampaignDraftOperation)(nil), - (*MutateOperation_CampaignExperimentOperation)(nil), - (*MutateOperation_CampaignExtensionSettingOperation)(nil), - (*MutateOperation_CampaignFeedOperation)(nil), - (*MutateOperation_CampaignLabelOperation)(nil), - (*MutateOperation_CampaignOperation)(nil), - (*MutateOperation_CampaignSharedSetOperation)(nil), - (*MutateOperation_ConversionActionOperation)(nil), - (*MutateOperation_CustomerExtensionSettingOperation)(nil), - (*MutateOperation_CustomerFeedOperation)(nil), - (*MutateOperation_CustomerLabelOperation)(nil), - (*MutateOperation_CustomerNegativeCriterionOperation)(nil), - (*MutateOperation_CustomerOperation)(nil), - (*MutateOperation_ExtensionFeedItemOperation)(nil), - (*MutateOperation_FeedItemOperation)(nil), - (*MutateOperation_FeedItemTargetOperation)(nil), - (*MutateOperation_FeedMappingOperation)(nil), - (*MutateOperation_FeedOperation)(nil), - (*MutateOperation_LabelOperation)(nil), - (*MutateOperation_MediaFileOperation)(nil), - (*MutateOperation_RemarketingActionOperation)(nil), - (*MutateOperation_SharedCriterionOperation)(nil), - (*MutateOperation_SharedSetOperation)(nil), - (*MutateOperation_UserListOperation)(nil), - } -} - -// Response message for the resource mutate. -type MutateOperationResponse struct { - // The mutate response - // - // Types that are valid to be assigned to Response: - // *MutateOperationResponse_AdGroupAdLabelResult - // *MutateOperationResponse_AdGroupAdResult - // *MutateOperationResponse_AdGroupBidModifierResult - // *MutateOperationResponse_AdGroupCriterionLabelResult - // *MutateOperationResponse_AdGroupCriterionResult - // *MutateOperationResponse_AdGroupExtensionSettingResult - // *MutateOperationResponse_AdGroupFeedResult - // *MutateOperationResponse_AdGroupLabelResult - // *MutateOperationResponse_AdGroupResult - // *MutateOperationResponse_AdParameterResult - // *MutateOperationResponse_AssetResult - // *MutateOperationResponse_BiddingStrategyResult - // *MutateOperationResponse_CampaignBidModifierResult - // *MutateOperationResponse_CampaignBudgetResult - // *MutateOperationResponse_CampaignCriterionResult - // *MutateOperationResponse_CampaignDraftResult - // *MutateOperationResponse_CampaignExperimentResult - // *MutateOperationResponse_CampaignExtensionSettingResult - // *MutateOperationResponse_CampaignFeedResult - // *MutateOperationResponse_CampaignLabelResult - // *MutateOperationResponse_CampaignResult - // *MutateOperationResponse_CampaignSharedSetResult - // *MutateOperationResponse_ConversionActionResult - // *MutateOperationResponse_CustomerExtensionSettingResult - // *MutateOperationResponse_CustomerFeedResult - // *MutateOperationResponse_CustomerLabelResult - // *MutateOperationResponse_CustomerNegativeCriterionResult - // *MutateOperationResponse_CustomerResult - // *MutateOperationResponse_ExtensionFeedItemResult - // *MutateOperationResponse_FeedItemResult - // *MutateOperationResponse_FeedItemTargetResult - // *MutateOperationResponse_FeedMappingResult - // *MutateOperationResponse_FeedResult - // *MutateOperationResponse_LabelResult - // *MutateOperationResponse_MediaFileResult - // *MutateOperationResponse_RemarketingActionResult - // *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_f29b4cd67e08d05c, []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 (m *MutateOperationResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateOperationResponse.Merge(m, 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_AdGroupAdLabelResult struct { - AdGroupAdLabelResult *MutateAdGroupAdLabelResult `protobuf:"bytes,17,opt,name=ad_group_ad_label_result,json=adGroupAdLabelResult,proto3,oneof"` -} - -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_AdGroupCriterionLabelResult struct { - AdGroupCriterionLabelResult *MutateAdGroupCriterionLabelResult `protobuf:"bytes,18,opt,name=ad_group_criterion_label_result,json=adGroupCriterionLabelResult,proto3,oneof"` -} - -type MutateOperationResponse_AdGroupCriterionResult struct { - AdGroupCriterionResult *MutateAdGroupCriterionResult `protobuf:"bytes,3,opt,name=ad_group_criterion_result,json=adGroupCriterionResult,proto3,oneof"` -} - -type MutateOperationResponse_AdGroupExtensionSettingResult struct { - AdGroupExtensionSettingResult *MutateAdGroupExtensionSettingResult `protobuf:"bytes,19,opt,name=ad_group_extension_setting_result,json=adGroupExtensionSettingResult,proto3,oneof"` -} - -type MutateOperationResponse_AdGroupFeedResult struct { - AdGroupFeedResult *MutateAdGroupFeedResult `protobuf:"bytes,20,opt,name=ad_group_feed_result,json=adGroupFeedResult,proto3,oneof"` -} - -type MutateOperationResponse_AdGroupLabelResult struct { - AdGroupLabelResult *MutateAdGroupLabelResult `protobuf:"bytes,21,opt,name=ad_group_label_result,json=adGroupLabelResult,proto3,oneof"` -} - -type MutateOperationResponse_AdGroupResult struct { - AdGroupResult *MutateAdGroupResult `protobuf:"bytes,5,opt,name=ad_group_result,json=adGroupResult,proto3,oneof"` -} - -type MutateOperationResponse_AdParameterResult struct { - AdParameterResult *MutateAdParameterResult `protobuf:"bytes,22,opt,name=ad_parameter_result,json=adParameterResult,proto3,oneof"` -} - -type MutateOperationResponse_AssetResult struct { - AssetResult *MutateAssetResult `protobuf:"bytes,23,opt,name=asset_result,json=assetResult,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_CampaignCriterionResult struct { - CampaignCriterionResult *MutateCampaignCriterionResult `protobuf:"bytes,13,opt,name=campaign_criterion_result,json=campaignCriterionResult,proto3,oneof"` -} - -type MutateOperationResponse_CampaignDraftResult struct { - CampaignDraftResult *MutateCampaignDraftResult `protobuf:"bytes,24,opt,name=campaign_draft_result,json=campaignDraftResult,proto3,oneof"` -} - -type MutateOperationResponse_CampaignExperimentResult struct { - CampaignExperimentResult *MutateCampaignExperimentResult `protobuf:"bytes,25,opt,name=campaign_experiment_result,json=campaignExperimentResult,proto3,oneof"` -} - -type MutateOperationResponse_CampaignExtensionSettingResult struct { - CampaignExtensionSettingResult *MutateCampaignExtensionSettingResult `protobuf:"bytes,26,opt,name=campaign_extension_setting_result,json=campaignExtensionSettingResult,proto3,oneof"` -} - -type MutateOperationResponse_CampaignFeedResult struct { - CampaignFeedResult *MutateCampaignFeedResult `protobuf:"bytes,27,opt,name=campaign_feed_result,json=campaignFeedResult,proto3,oneof"` -} - -type MutateOperationResponse_CampaignLabelResult struct { - CampaignLabelResult *MutateCampaignLabelResult `protobuf:"bytes,28,opt,name=campaign_label_result,json=campaignLabelResult,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_CustomerExtensionSettingResult struct { - CustomerExtensionSettingResult *MutateCustomerExtensionSettingResult `protobuf:"bytes,30,opt,name=customer_extension_setting_result,json=customerExtensionSettingResult,proto3,oneof"` -} - -type MutateOperationResponse_CustomerFeedResult struct { - CustomerFeedResult *MutateCustomerFeedResult `protobuf:"bytes,31,opt,name=customer_feed_result,json=customerFeedResult,proto3,oneof"` -} - -type MutateOperationResponse_CustomerLabelResult struct { - CustomerLabelResult *MutateCustomerLabelResult `protobuf:"bytes,32,opt,name=customer_label_result,json=customerLabelResult,proto3,oneof"` -} - -type MutateOperationResponse_CustomerNegativeCriterionResult struct { - CustomerNegativeCriterionResult *MutateCustomerNegativeCriteriaResult `protobuf:"bytes,34,opt,name=customer_negative_criterion_result,json=customerNegativeCriterionResult,proto3,oneof"` -} - -type MutateOperationResponse_CustomerResult struct { - CustomerResult *MutateCustomerResult `protobuf:"bytes,35,opt,name=customer_result,json=customerResult,proto3,oneof"` -} - -type MutateOperationResponse_ExtensionFeedItemResult struct { - ExtensionFeedItemResult *MutateExtensionFeedItemResult `protobuf:"bytes,36,opt,name=extension_feed_item_result,json=extensionFeedItemResult,proto3,oneof"` -} - -type MutateOperationResponse_FeedItemResult struct { - FeedItemResult *MutateFeedItemResult `protobuf:"bytes,37,opt,name=feed_item_result,json=feedItemResult,proto3,oneof"` -} - -type MutateOperationResponse_FeedItemTargetResult struct { - FeedItemTargetResult *MutateFeedItemTargetResult `protobuf:"bytes,38,opt,name=feed_item_target_result,json=feedItemTargetResult,proto3,oneof"` -} - -type MutateOperationResponse_FeedMappingResult struct { - FeedMappingResult *MutateFeedMappingResult `protobuf:"bytes,39,opt,name=feed_mapping_result,json=feedMappingResult,proto3,oneof"` -} - -type MutateOperationResponse_FeedResult struct { - FeedResult *MutateFeedResult `protobuf:"bytes,40,opt,name=feed_result,json=feedResult,proto3,oneof"` -} - -type MutateOperationResponse_LabelResult struct { - LabelResult *MutateLabelResult `protobuf:"bytes,41,opt,name=label_result,json=labelResult,proto3,oneof"` -} - -type MutateOperationResponse_MediaFileResult struct { - MediaFileResult *MutateMediaFileResult `protobuf:"bytes,42,opt,name=media_file_result,json=mediaFileResult,proto3,oneof"` -} - -type MutateOperationResponse_RemarketingActionResult struct { - RemarketingActionResult *MutateRemarketingActionResult `protobuf:"bytes,43,opt,name=remarketing_action_result,json=remarketingActionResult,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_AdGroupAdLabelResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_AdGroupAdResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_AdGroupBidModifierResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_AdGroupCriterionLabelResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_AdGroupCriterionResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_AdGroupExtensionSettingResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_AdGroupFeedResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_AdGroupLabelResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_AdGroupResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_AdParameterResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_AssetResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_BiddingStrategyResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_CampaignBidModifierResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_CampaignBudgetResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_CampaignCriterionResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_CampaignDraftResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_CampaignExperimentResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_CampaignExtensionSettingResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_CampaignFeedResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_CampaignLabelResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_CampaignResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_CampaignSharedSetResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_ConversionActionResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_CustomerExtensionSettingResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_CustomerFeedResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_CustomerLabelResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_CustomerNegativeCriterionResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_CustomerResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_ExtensionFeedItemResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_FeedItemResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_FeedItemTargetResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_FeedMappingResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_FeedResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_LabelResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_MediaFileResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_RemarketingActionResult) 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) GetAdGroupAdLabelResult() *MutateAdGroupAdLabelResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_AdGroupAdLabelResult); ok { - return x.AdGroupAdLabelResult - } - 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) GetAdGroupCriterionLabelResult() *MutateAdGroupCriterionLabelResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_AdGroupCriterionLabelResult); ok { - return x.AdGroupCriterionLabelResult - } - return nil -} - -func (m *MutateOperationResponse) GetAdGroupCriterionResult() *MutateAdGroupCriterionResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_AdGroupCriterionResult); ok { - return x.AdGroupCriterionResult - } - return nil -} - -func (m *MutateOperationResponse) GetAdGroupExtensionSettingResult() *MutateAdGroupExtensionSettingResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_AdGroupExtensionSettingResult); ok { - return x.AdGroupExtensionSettingResult - } - return nil -} - -func (m *MutateOperationResponse) GetAdGroupFeedResult() *MutateAdGroupFeedResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_AdGroupFeedResult); ok { - return x.AdGroupFeedResult - } - return nil -} - -func (m *MutateOperationResponse) GetAdGroupLabelResult() *MutateAdGroupLabelResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_AdGroupLabelResult); ok { - return x.AdGroupLabelResult - } - return nil -} - -func (m *MutateOperationResponse) GetAdGroupResult() *MutateAdGroupResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_AdGroupResult); ok { - return x.AdGroupResult - } - return nil -} - -func (m *MutateOperationResponse) GetAdParameterResult() *MutateAdParameterResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_AdParameterResult); ok { - return x.AdParameterResult - } - return nil -} - -func (m *MutateOperationResponse) GetAssetResult() *MutateAssetResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_AssetResult); ok { - return x.AssetResult - } - 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) GetCampaignCriterionResult() *MutateCampaignCriterionResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_CampaignCriterionResult); ok { - return x.CampaignCriterionResult - } - return nil -} - -func (m *MutateOperationResponse) GetCampaignDraftResult() *MutateCampaignDraftResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_CampaignDraftResult); ok { - return x.CampaignDraftResult - } - return nil -} - -func (m *MutateOperationResponse) GetCampaignExperimentResult() *MutateCampaignExperimentResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_CampaignExperimentResult); ok { - return x.CampaignExperimentResult - } - return nil -} - -func (m *MutateOperationResponse) GetCampaignExtensionSettingResult() *MutateCampaignExtensionSettingResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_CampaignExtensionSettingResult); ok { - return x.CampaignExtensionSettingResult - } - return nil -} - -func (m *MutateOperationResponse) GetCampaignFeedResult() *MutateCampaignFeedResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_CampaignFeedResult); ok { - return x.CampaignFeedResult - } - return nil -} - -func (m *MutateOperationResponse) GetCampaignLabelResult() *MutateCampaignLabelResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_CampaignLabelResult); ok { - return x.CampaignLabelResult - } - 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) GetCustomerExtensionSettingResult() *MutateCustomerExtensionSettingResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_CustomerExtensionSettingResult); ok { - return x.CustomerExtensionSettingResult - } - return nil -} - -func (m *MutateOperationResponse) GetCustomerFeedResult() *MutateCustomerFeedResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_CustomerFeedResult); ok { - return x.CustomerFeedResult - } - return nil -} - -func (m *MutateOperationResponse) GetCustomerLabelResult() *MutateCustomerLabelResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_CustomerLabelResult); ok { - return x.CustomerLabelResult - } - return nil -} - -func (m *MutateOperationResponse) GetCustomerNegativeCriterionResult() *MutateCustomerNegativeCriteriaResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_CustomerNegativeCriterionResult); ok { - return x.CustomerNegativeCriterionResult - } - return nil -} - -func (m *MutateOperationResponse) GetCustomerResult() *MutateCustomerResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_CustomerResult); ok { - return x.CustomerResult - } - return nil -} - -func (m *MutateOperationResponse) GetExtensionFeedItemResult() *MutateExtensionFeedItemResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_ExtensionFeedItemResult); ok { - return x.ExtensionFeedItemResult - } - return nil -} - -func (m *MutateOperationResponse) GetFeedItemResult() *MutateFeedItemResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_FeedItemResult); ok { - return x.FeedItemResult - } - return nil -} - -func (m *MutateOperationResponse) GetFeedItemTargetResult() *MutateFeedItemTargetResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_FeedItemTargetResult); ok { - return x.FeedItemTargetResult - } - return nil -} - -func (m *MutateOperationResponse) GetFeedMappingResult() *MutateFeedMappingResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_FeedMappingResult); ok { - return x.FeedMappingResult - } - return nil -} - -func (m *MutateOperationResponse) GetFeedResult() *MutateFeedResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_FeedResult); ok { - return x.FeedResult - } - return nil -} - -func (m *MutateOperationResponse) GetLabelResult() *MutateLabelResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_LabelResult); ok { - return x.LabelResult - } - return nil -} - -func (m *MutateOperationResponse) GetMediaFileResult() *MutateMediaFileResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_MediaFileResult); ok { - return x.MediaFileResult - } - return nil -} - -func (m *MutateOperationResponse) GetRemarketingActionResult() *MutateRemarketingActionResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_RemarketingActionResult); ok { - return x.RemarketingActionResult - } - 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_OneofWrappers is for the internal use of the proto package. -func (*MutateOperationResponse) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*MutateOperationResponse_AdGroupAdLabelResult)(nil), - (*MutateOperationResponse_AdGroupAdResult)(nil), - (*MutateOperationResponse_AdGroupBidModifierResult)(nil), - (*MutateOperationResponse_AdGroupCriterionLabelResult)(nil), - (*MutateOperationResponse_AdGroupCriterionResult)(nil), - (*MutateOperationResponse_AdGroupExtensionSettingResult)(nil), - (*MutateOperationResponse_AdGroupFeedResult)(nil), - (*MutateOperationResponse_AdGroupLabelResult)(nil), - (*MutateOperationResponse_AdGroupResult)(nil), - (*MutateOperationResponse_AdParameterResult)(nil), - (*MutateOperationResponse_AssetResult)(nil), - (*MutateOperationResponse_BiddingStrategyResult)(nil), - (*MutateOperationResponse_CampaignBidModifierResult)(nil), - (*MutateOperationResponse_CampaignBudgetResult)(nil), - (*MutateOperationResponse_CampaignCriterionResult)(nil), - (*MutateOperationResponse_CampaignDraftResult)(nil), - (*MutateOperationResponse_CampaignExperimentResult)(nil), - (*MutateOperationResponse_CampaignExtensionSettingResult)(nil), - (*MutateOperationResponse_CampaignFeedResult)(nil), - (*MutateOperationResponse_CampaignLabelResult)(nil), - (*MutateOperationResponse_CampaignResult)(nil), - (*MutateOperationResponse_CampaignSharedSetResult)(nil), - (*MutateOperationResponse_ConversionActionResult)(nil), - (*MutateOperationResponse_CustomerExtensionSettingResult)(nil), - (*MutateOperationResponse_CustomerFeedResult)(nil), - (*MutateOperationResponse_CustomerLabelResult)(nil), - (*MutateOperationResponse_CustomerNegativeCriterionResult)(nil), - (*MutateOperationResponse_CustomerResult)(nil), - (*MutateOperationResponse_ExtensionFeedItemResult)(nil), - (*MutateOperationResponse_FeedItemResult)(nil), - (*MutateOperationResponse_FeedItemTargetResult)(nil), - (*MutateOperationResponse_FeedMappingResult)(nil), - (*MutateOperationResponse_FeedResult)(nil), - (*MutateOperationResponse_LabelResult)(nil), - (*MutateOperationResponse_MediaFileResult)(nil), - (*MutateOperationResponse_RemarketingActionResult)(nil), - (*MutateOperationResponse_SharedCriterionResult)(nil), - (*MutateOperationResponse_SharedSetResult)(nil), - (*MutateOperationResponse_UserListResult)(nil), - } -} - -func init() { - proto.RegisterType((*SearchGoogleAdsRequest)(nil), "google.ads.googleads.v1.services.SearchGoogleAdsRequest") - proto.RegisterType((*SearchGoogleAdsResponse)(nil), "google.ads.googleads.v1.services.SearchGoogleAdsResponse") - proto.RegisterType((*GoogleAdsRow)(nil), "google.ads.googleads.v1.services.GoogleAdsRow") - proto.RegisterType((*MutateGoogleAdsRequest)(nil), "google.ads.googleads.v1.services.MutateGoogleAdsRequest") - proto.RegisterType((*MutateGoogleAdsResponse)(nil), "google.ads.googleads.v1.services.MutateGoogleAdsResponse") - proto.RegisterType((*MutateOperation)(nil), "google.ads.googleads.v1.services.MutateOperation") - proto.RegisterType((*MutateOperationResponse)(nil), "google.ads.googleads.v1.services.MutateOperationResponse") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/google_ads_service.proto", fileDescriptor_f29b4cd67e08d05c) -} - -var fileDescriptor_f29b4cd67e08d05c = []byte{ - // 5268 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x7d, 0x4b, 0x73, 0x1c, 0x47, - 0x72, 0xff, 0x7f, 0x48, 0x51, 0x02, 0x0b, 0x20, 0x1e, 0x05, 0x80, 0x28, 0x82, 0x4f, 0x41, 0x94, - 0x44, 0x51, 0x12, 0x20, 0x92, 0x7a, 0x11, 0x7c, 0x48, 0x78, 0xf0, 0xa1, 0x15, 0xb9, 0xc2, 0xbf, - 0x41, 0x51, 0x5a, 0x49, 0xbb, 0xb3, 0x85, 0xee, 0x9a, 0x41, 0x0b, 0x33, 0xd3, 0xc3, 0xee, 0x1e, - 0x90,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54, 0x5a, 0x87, 0x68, 0xa0, 0x08, 0x6d, 0x8c, 0xf0, - 0xef, 0xaa, 0x50, 0x55, 0x1e, 0xa6, 0x15, 0x2a, 0xfe, 0x93, 0x06, 0x3a, 0x6f, 0x3f, 0x0a, 0x52, - 0x4a, 0x3d, 0x32, 0x62, 0x8b, 0x68, 0x4a, 0x55, 0xbe, 0xef, 0xaa, 0xe2, 0x4f, 0xd3, 0xfa, 0x61, - 0xfc, 0xfb, 0x06, 0x5a, 0xaa, 0x3d, 0x4c, 0x52, 0xaa, 0x92, 0xf7, 0x13, 0x7c, 0x0c, 0x56, 0x45, - 0xef, 0x29, 0x52, 0xb5, 0x39, 0x47, 0x87, 0xde, 0x81, 0x7f, 0x40, 0x67, 0x2c, 0xfa, 0x94, 0x9a, - 0x1c, 0x1d, 0xf1, 0x95, 0xa0, 0x56, 0x13, 0x55, 0x89, 0x53, 0xb4, 0x6e, 0x10, 0xff, 0x75, 0x03, - 0x5d, 0x1c, 0x72, 0xa2, 0xa5, 0x54, 0x24, 0x6f, 0x57, 0x58, 0x07, 0x2b, 0x62, 0x7e, 0x92, 0x50, - 0xf5, 0xb9, 0x40, 0x47, 0xdc, 0x83, 0x23, 0xb4, 0xa0, 0x1f, 0x8e, 0x29, 0x15, 0x99, 0x1b, 0x51, - 0xbe, 0x30, 0x15, 0xb9, 0xcb, 0x98, 0x66, 0x9e, 0x73, 0xd4, 0x42, 0xc7, 0xb1, 0xd2, 0x79, 0x66, - 0x5a, 0xc3, 0xfc, 0x88, 0xad, 0x8d, 0x29, 0xb1, 0x62, 0x04, 0xf3, 0xd4, 0x36, 0x80, 0x77, 0x94, - 0x86, 0xba, 0x52, 0xda, 0xb1, 0x11, 0xf9, 0x96, 0x29, 0x4d, 0x15, 0x54, 0x74, 0xd4, 0x95, 0x32, - 0x7a, 0xbc, 0x17, 0xb1, 0x3c, 0xaf, 0x53, 0xca, 0x39, 0x09, 0x9f, 0x47, 0xd9, 0xcc, 0x64, 0xcc, - 0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, 0x86, 0xba, 0x76, 0x51, 0xac, 0xd5, 0x5c, 0x7b, 0x60, 0x12, 0xd7, 0xc7, 0xd1, 0x71, - 0xc9, 0x7c, 0xe9, 0xcf, 0x2f, 0x16, 0xc5, 0xb5, 0x4a, 0x71, 0x0a, 0xef, 0x2b, 0x1b, 0x60, 0x59, - 0x87, 0xca, 0x8f, 0x3e, 0x8a, 0x22, 0xd4, 0x4d, 0x68, 0x49, 0xcc, 0x38, 0x1e, 0xc7, 0x79, 0x28, - 0x1b, 0x6f, 0x8d, 0x8e, 0x5b, 0xca, 0x26, 0x98, 0x06, 0x85, 0xc4, 0x06, 0x74, 0x31, 0x35, 0x24, - 0x4a, 0x61, 0x53, 0x54, 0x27, 0xe1, 0x9f, 0x1a, 0x4a, 0xa5, 0x45, 0xdb, 0xbf, 0x09, 0x91, 0x47, - 0xa0, 0x35, 0x1f, 0x4d, 0xa4, 0x7a, 0xf2, 0xa0, 0x90, 0x4d, 0x68, 0xcd, 0x18, 0xfe, 0x0b, 0xb5, - 0x0c, 0x66, 0x96, 0x9f, 0x84, 0x1e, 0x18, 0x9a, 0xd2, 0x68, 0x7a, 0x18, 0x87, 0xdd, 0x0a, 0x55, - 0x4e, 0xd3, 0xfa, 0x61, 0xfc, 0x3d, 0x3a, 0x65, 0x51, 0x46, 0xa8, 0x71, 0x14, 0xba, 0x97, 0xb5, - 0xab, 0x21, 0x35, 0x38, 0x49, 0xad, 0x23, 0xf8, 0xaf, 0x1a, 0xe8, 0xe5, 0x21, 0x85, 0x27, 0xa1, - 0x45, 0x5e, 0x75, 0xba, 0xe3, 0xa8, 0x45, 0xa5, 0x51, 0xb6, 0x50, 0xe6, 0x2c, 0x1d, 0x76, 0x03, - 0xee, 0xa0, 0x39, 0xbd, 0xea, 0x24, 0xb4, 0x98, 0x83, 0xae, 0x80, 0x9a, 0x16, 0xbc, 0xbd, 0xaf, - 0x90, 0x3c, 0x43, 0x4d, 0x22, 0x8e, 0x94, 0xf2, 0xab, 0x66,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x92, 0x10, 0x7c, 0xca, 0x6d, 0x41, 0xb2, 0x1c, 0xaf, 0x92, 0x0b, 0x92, 0x5f, 0x33, 0x86, 0xff, - 0xd0, 0x40, 0x2f, 0x0f, 0xa9, 0x29, 0x09, 0x4d, 0xf2, 0x82, 0xd2, 0x5d, 0x77, 0x4d, 0x6a, 0xc2, - 0xf0, 0x39, 0x7f, 0xe8, 0x1d, 0xb8, 0x87, 0xe6, 0xf4, 0x82, 0x92, 0xd0, 0xe3, 0xb4, 0x5b, 0x60, - 0xd4, 0xce, 0x64, 0xc9, 0xc0, 0xe8, 0x57, 0xa8, 0xda, 0xbb, 0xd7, 0x22, 0xf1, 0x99, 0xc3, 0xbd, - 0x7b, 0x3d, 0x14, 0xcf, 0xfa, 0x55, 0x32, 0xa6, 0xca, 0x81, 0x50, 0x21, 0x0c, 0x41, 0x77, 0x3c, - 0xba, 0x30, 0x29, 0x47, 0x9e, 0x32, 0x13, 0x22, 0x7e, 0x50, 0xac, 0x4b, 0x49, 0x6a, 0x85, 0xb4, - 0xf1, 0xc3, 0x79, 0x54, 0xd9, 0x8a, 0x51, 0xf1, 0x28, 0x63, 0x08, 0x7f, 0x87, 0x48, 0xb5, 0x86, - 0x24, 0xa4, 0x4f, 0xb8, 0x65, 0x17, 0x95, 0xf3, 0x58, 0x32, 0xbb, 0xf0, 0xad, 0x23, 0xb9, 0x5d, - 0xd7, 0x17, 0x90, 0x84, 0x16, 0xe7, 0x1c, 0xed, 0xba, 0xee, 0x1c, 0x4e, 0x69, 0xd7, 0x43, 0xef, - 0xe0, 0x76, 0xad, 0x55, 0x8f, 0x84, 0x1e, 0xe7, 0x1d, 0xed, 0x5a, 0x3d, 0xa1, 0x53, 0xda, 0x75, - 0x85, 0xca, 0xed, 0x5a, 0x2f, 0x1d, 0x09, 0x81, 0x17, 0x1c, 0xed, 0x5a, 0x3b, 0xbb, 0x53, 0xda, - 0x75, 0x95, 0x8c, 0xff, 0xa6, 0x81, 0x96, 0x86, 0xd5,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0xfe, 0x20, 0x5d, 0x3f, 0x4c, 0xea, 0xff, 0x3e, 0xdd, 0x8d, 0xe2, - 0xc7, 0x3f, 0x1c, 0x39, 0x7a, 0x6f, 0x6d, 0xed, 0x1f, 0x8f, 0x5c, 0xc8, 0x25, 0x2d, 0xaf, 0x05, - 0xca, 0xdf, 0x51, 0x5b, 0x7e, 0x7c, 0x65, 0x59, 0x08, 0x4e, 0xfe, 0xa5, 0xb8, 0xe5, 0x9b, 0xb5, - 0x20, 0xf9, 0x46, 0xde, 0xf2, 0xcd, 0xe3, 0x2b, 0xdf, 0x14, 0xb7, 0xfc, 0xe7, 0x91, 0x8b, 0x39, - 0x7d, 0x75, 0x35, 0x7b, 0xde, 0x55, 0x79, 0xd3, 0xea, 0xea, 0xe3, 0x2b, 0xab, 0xab, 0xc5, 0x6d, - 0x3b, 0x2f, 0x72, 0x3d, 0xaf, 0xfd, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x1c, 0x7f, 0x39, 0x92, - 0x13, 0x6f, 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 - -// 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. This method supports atomic - // transactions with multiple types of resources. For example, you can - // atomically create a campaign and a campaign budget, or perform up to - // thousands of mutates atomically. - // - // This method is essentially a wrapper around a series of mutate methods. The - // only features it offers over calling those methods directly are: - // - Atomic transactions - // - Temp resource names (described below) - // - Somewhat reduced latency over making a series of mutate calls. - // - // Note: Only resources that support atomic transactions are included, so this - // method can't replace all calls to individual services. - // - // ## Atomic Transaction Benefits - // - // Atomicity makes error handling much easier. If you're making a series of - // changes and one fails, it can leave your account in an inconsistent state. - // With atomicity, you either reach the desired state directly, or the request - // fails and you can retry. - // - // ## Temp Resource Names - // - // Temp resource names are a special type of resource name used to create a - // resource and reference that resource in the same request. For example, if a - // campaign budget is created with 'resource_name' equal to - // 'customers/123/campaignBudgets/-1', that resource name can be reused in - // the 'Campaign.budget' field in the same request. That way, the two - // resources are created and linked atomically. - // - // To create a temp resource name, put a negative number in the part of the - // name that the server would normally allocate. - // - // Note: - // - Resources must be created with a temp name before the name can be reused. - // For example, the previous CampaignBudget+Campaign example would fail if - // the mutate order was reversed. - // - Temp names are not remembered across requests. - // - There's no limit to the number of temp names in a request. - // - Each temp name must use a unique negative number, even if the resource - // types differ. - // - // ## Latency - // - // It's important to group mutates by resource type or the request may time - // out and fail. Latency is roughly equal to a series of calls to individual - // mutate methods, where each change in resource type is a new call. For - // example, mutating 10 campaigns then 10 ad groups is like 2 calls, while - // mutating 1 campaign, 1 ad group, 1 campaign, 1 ad group is like 4 calls. - 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.v1.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.v1.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. This method supports atomic - // transactions with multiple types of resources. For example, you can - // atomically create a campaign and a campaign budget, or perform up to - // thousands of mutates atomically. - // - // This method is essentially a wrapper around a series of mutate methods. The - // only features it offers over calling those methods directly are: - // - Atomic transactions - // - Temp resource names (described below) - // - Somewhat reduced latency over making a series of mutate calls. - // - // Note: Only resources that support atomic transactions are included, so this - // method can't replace all calls to individual services. - // - // ## Atomic Transaction Benefits - // - // Atomicity makes error handling much easier. If you're making a series of - // changes and one fails, it can leave your account in an inconsistent state. - // With atomicity, you either reach the desired state directly, or the request - // fails and you can retry. - // - // ## Temp Resource Names - // - // Temp resource names are a special type of resource name used to create a - // resource and reference that resource in the same request. For example, if a - // campaign budget is created with 'resource_name' equal to - // 'customers/123/campaignBudgets/-1', that resource name can be reused in - // the 'Campaign.budget' field in the same request. That way, the two - // resources are created and linked atomically. - // - // To create a temp resource name, put a negative number in the part of the - // name that the server would normally allocate. - // - // Note: - // - Resources must be created with a temp name before the name can be reused. - // For example, the previous CampaignBudget+Campaign example would fail if - // the mutate order was reversed. - // - Temp names are not remembered across requests. - // - There's no limit to the number of temp names in a request. - // - Each temp name must use a unique negative number, even if the resource - // types differ. - // - // ## Latency - // - // It's important to group mutates by resource type or the request may time - // out and fail. Latency is roughly equal to a series of calls to individual - // mutate methods, where each change in resource type is a new call. For - // example, mutating 10 campaigns then 10 ad groups is like 2 calls, while - // mutating 1 campaign, 1 ad group, 1 campaign, 1 ad group is like 4 calls. - Mutate(context.Context, *MutateGoogleAdsRequest) (*MutateGoogleAdsResponse, error) -} - -// UnimplementedGoogleAdsServiceServer can be embedded to have forward compatible implementations. -type UnimplementedGoogleAdsServiceServer struct { -} - -func (*UnimplementedGoogleAdsServiceServer) Search(ctx context.Context, req *SearchGoogleAdsRequest) (*SearchGoogleAdsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method Search not implemented") -} -func (*UnimplementedGoogleAdsServiceServer) Mutate(ctx context.Context, req *MutateGoogleAdsRequest) (*MutateGoogleAdsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method Mutate not implemented") -} - -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.v1.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.v1.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.v1.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/v1/services/google_ads_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/group_placement_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/group_placement_view_service.pb.go deleted file mode 100644 index 36cd71e9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/group_placement_view_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/group_placement_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [GroupPlacementViewService.GetGroupPlacementView][google.ads.googleads.v1.services.GroupPlacementViewService.GetGroupPlacementView]. -type GetGroupPlacementViewRequest struct { - // The resource name of the Group 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 *GetGroupPlacementViewRequest) Reset() { *m = GetGroupPlacementViewRequest{} } -func (m *GetGroupPlacementViewRequest) String() string { return proto.CompactTextString(m) } -func (*GetGroupPlacementViewRequest) ProtoMessage() {} -func (*GetGroupPlacementViewRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_722a806b0135cef4, []int{0} -} - -func (m *GetGroupPlacementViewRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetGroupPlacementViewRequest.Unmarshal(m, b) -} -func (m *GetGroupPlacementViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetGroupPlacementViewRequest.Marshal(b, m, deterministic) -} -func (m *GetGroupPlacementViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGroupPlacementViewRequest.Merge(m, src) -} -func (m *GetGroupPlacementViewRequest) XXX_Size() int { - return xxx_messageInfo_GetGroupPlacementViewRequest.Size(m) -} -func (m *GetGroupPlacementViewRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetGroupPlacementViewRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetGroupPlacementViewRequest proto.InternalMessageInfo - -func (m *GetGroupPlacementViewRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetGroupPlacementViewRequest)(nil), "google.ads.googleads.v1.services.GetGroupPlacementViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/group_placement_view_service.proto", fileDescriptor_722a806b0135cef4) -} - -var fileDescriptor_722a806b0135cef4 = []byte{ - // 375 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xcf, 0x4a, 0xe3, 0x40, - 0x18, 0x27, 0x59, 0x58, 0xd8, 0xb0, 0x7b, 0x09, 0x2c, 0xec, 0x96, 0xb2, 0x94, 0x6e, 0x0f, 0xd2, - 0xc3, 0x0c, 0x51, 0x8a, 0x30, 0x5a, 0x21, 0xed, 0x21, 0x9e, 0xa4, 0x54, 0xc8, 0x41, 0x02, 0x61, - 0x4c, 0x3e, 0x42, 0xa0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0x5b, 0xdd, 0x1f, 0xdf, 0xbe, - 0xbc, 0xde, 0xeb, 0x87, 0xe6, 0xa8, 0xee, 0xf0, 0x7a, 0xe3, 0x79, 0xe3, 0xa0, 0xc4, 0x42, 0x24, - 0x90, 0x23, 0x1d, 0xca, 0x52, 0x37, 0xa4, 0x48, 0x87, 0x37, 0x93, 0x3b, 0xdd, 0x18, 0x04, 0x22, - 0xd9, 0x39, 0xfb, 0xe4, 0x5f, 0x6b, 0x27, 0xb3, 0xba, 0xfb, 0x99, 0x76, 0x71, 0xba, 0xf6, 0x88, - 0xc4, 0x82, 0xa7, 0x11, 0x11, 0x79, 0x44, 0x23, 0x48, 0x57, 0x9b, 0x51, 0x9b, 0xce, 0x62, 0x6c, - 0xff, 0x5f, 0x47, 0x0a, 0x3c, 0xe8, 0xdf, 0x1c, 0xdb, 0x7e, 0xd4, 0x7b, 0x8e, 0x34, 0xb4, 0x43, - 0x24, 0x12, 0xd6, 0xc8, 0xb5, 0xc8, 0x3a, 0x18, 0x9f, 0x14, 0xc5, 0xb3, 0x43, 0xf4, 0x1a, 0x8a, - 0xe7, 0x5a, 0x9e, 0xa2, 0xbc, 0xe9, 0x03, 0x79, 0xce, 0x98, 0x1d, 0x22, 0x63, 0x0d, 0x89, 0x31, - 0xd7, 0x62, 0x4c, 0xd1, 0x2e, 0xbf, 0xaf, 0xe6, 0x3c, 0xf8, 0x08, 0x00, 0x00, 0xff, 0xff, 0x20, - 0x98, 0xd3, 0x44, 0x06, 0x03, 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 - -// GroupPlacementViewServiceClient is the client API for GroupPlacementViewService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type GroupPlacementViewServiceClient interface { - // Returns the requested Group Placement view in full detail. - GetGroupPlacementView(ctx context.Context, in *GetGroupPlacementViewRequest, opts ...grpc.CallOption) (*resources.GroupPlacementView, error) -} - -type groupPlacementViewServiceClient struct { - cc *grpc.ClientConn -} - -func NewGroupPlacementViewServiceClient(cc *grpc.ClientConn) GroupPlacementViewServiceClient { - return &groupPlacementViewServiceClient{cc} -} - -func (c *groupPlacementViewServiceClient) GetGroupPlacementView(ctx context.Context, in *GetGroupPlacementViewRequest, opts ...grpc.CallOption) (*resources.GroupPlacementView, error) { - out := new(resources.GroupPlacementView) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.GroupPlacementViewService/GetGroupPlacementView", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// GroupPlacementViewServiceServer is the server API for GroupPlacementViewService service. -type GroupPlacementViewServiceServer interface { - // Returns the requested Group Placement view in full detail. - GetGroupPlacementView(context.Context, *GetGroupPlacementViewRequest) (*resources.GroupPlacementView, error) -} - -// UnimplementedGroupPlacementViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedGroupPlacementViewServiceServer struct { -} - -func (*UnimplementedGroupPlacementViewServiceServer) GetGroupPlacementView(ctx context.Context, req *GetGroupPlacementViewRequest) (*resources.GroupPlacementView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetGroupPlacementView not implemented") -} - -func RegisterGroupPlacementViewServiceServer(s *grpc.Server, srv GroupPlacementViewServiceServer) { - s.RegisterService(&_GroupPlacementViewService_serviceDesc, srv) -} - -func _GroupPlacementViewService_GetGroupPlacementView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetGroupPlacementViewRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GroupPlacementViewServiceServer).GetGroupPlacementView(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.GroupPlacementViewService/GetGroupPlacementView", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GroupPlacementViewServiceServer).GetGroupPlacementView(ctx, req.(*GetGroupPlacementViewRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _GroupPlacementViewService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.GroupPlacementViewService", - HandlerType: (*GroupPlacementViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetGroupPlacementView", - Handler: _GroupPlacementViewService_GetGroupPlacementView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/group_placement_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/hotel_group_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/hotel_group_view_service.pb.go deleted file mode 100644 index fab27484..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/hotel_group_view_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/hotel_group_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [HotelGroupViewService.GetHotelGroupView][google.ads.googleads.v1.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_f8f91366d6320e8b, []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 (m *GetHotelGroupViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetHotelGroupViewRequest.Merge(m, 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.v1.services.GetHotelGroupViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/hotel_group_view_service.proto", fileDescriptor_f8f91366d6320e8b) -} - -var fileDescriptor_f8f91366d6320e8b = []byte{ - // 371 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xc1, 0x4a, 0xeb, 0x40, - 0x14, 0x86, 0x49, 0x2e, 0x5c, 0xb8, 0xe1, 0xba, 0x30, 0x20, 0x94, 0xe0, 0xa2, 0xd4, 0x2e, 0xa4, - 0x8b, 0x19, 0x62, 0x37, 0x3a, 0x22, 0x25, 0xdd, 0xa4, 0x2b, 0x29, 0x15, 0xb2, 0x90, 0x40, 0x88, - 0xcd, 0x21, 0x06, 0x9a, 0x4c, 0xcc, 0x99, 0xa4, 0x0b, 0x71, 0xa1, 0xaf, 0xe0, 0x1b, 0xb8, 0xf4, - 0x1d, 0x7c, 0x01, 0xb7, 0x2e, 0x7c, 0x01, 0x57, 0x3e, 0x85, 0xa4, 0xd3, 0x09, 0x14, 0x1b, 0xba, - 0xfb, 0x99, 0xf9, 0xbf, 0x7f, 0xce, 0xf9, 0x13, 0x63, 0x14, 0x73, 0x1e, 0x2f, 0x80, 0x86, 0x11, - 0x52, 0x29, 0x6b, 0x55, 0xd9, 0x14, 0xa1, 0xa8, 0x92, 0x39, 0x20, 0xbd, 0xe5, 0x02, 0x16, 0x41, - 0x5c, 0xf0, 0x32, 0x0f, 0xaa, 0x04, 0x96, 0xc1, 0xfa, 0x86, 0xe4, 0x05, 0x17, 0xdc, 0xec, 0x4a, - 0x8a, 0x84, 0x11, 0x92, 0x26, 0x80, 0x54, 0x36, 0x51, 0x01, 0xd6, 0x69, 0xdb, 0x13, 0x05, 0x20, - 0x2f, 0x8b, 0x6d, 0x6f, 0xc8, 0x6c, 0xeb, 0x50, 0x91, 0x79, 0x42, 0xc3, 0x2c, 0xe3, 0x22, 0x14, - 0x09, 0xcf, 0x50, 0xde, 0xf6, 0x46, 0x46, 0xc7, 0x05, 0x31, 0xa9, 0x51, 0xb7, 0x26, 0xbd, 0x04, - 0x96, 0x33, 0xb8, 0x2b, 0x01, 0x85, 0x79, 0x64, 0xec, 0xa9, 0xf4, 0x20, 0x0b, 0x53, 0xe8, 0x68, - 0x5d, 0xed, 0xf8, 0xdf, 0xec, 0xbf, 0x3a, 0xbc, 0x0c, 0x53, 0x38, 0xf9, 0xd4, 0x8c, 0x83, 0x4d, - 0xfc, 0x4a, 0xce, 0x6c, 0xbe, 0x69, 0xc6, 0xfe, 0xaf, 0x6c, 0x93, 0x91, 0x5d, 0xbb, 0x92, 0xb6, - 0x81, 0x2c, 0xbb, 0x95, 0x6d, 0x5a, 0x20, 0x9b, 0x64, 0xef, 0xec, 0xe9, 0xe3, 0xeb, 0x59, 0x1f, - 0x9a, 0x76, 0xdd, 0xd5, 0xfd, 0xc6, 0x3a, 0x17, 0xf3, 0x12, 0x05, 0x4f, 0xa1, 0x40, 0x3a, 0x90, - 0xe5, 0x35, 0x18, 0xd2, 0xc1, 0xc3, 0xf8, 0x51, 0x37, 0xfa, 0x73, 0x9e, 0xee, 0x9c, 0x77, 0x6c, - 0x6d, 0xdd, 0x7f, 0x5a, 0xf7, 0x3b, 0xd5, 0xae, 0x27, 0x6b, 0x3e, 0xe6, 0x8b, 0x30, 0x8b, 0x09, - 0x2f, 0x62, 0x1a, 0x43, 0xb6, 0x6a, 0x5f, 0x7d, 0xc9, 0x3c, 0xc1, 0xf6, 0x7f, 0xe7, 0x5c, 0x89, - 0x17, 0xfd, 0x8f, 0xeb, 0x38, 0xaf, 0x7a, 0xd7, 0x95, 0x81, 0x4e, 0x84, 0x44, 0xca, 0x5a, 0x79, - 0x36, 0x59, 0x3f, 0x8c, 0xef, 0xca, 0xe2, 0x3b, 0x11, 0xfa, 0x8d, 0xc5, 0xf7, 0x6c, 0x5f, 0x59, - 0xbe, 0xf5, 0xbe, 0x3c, 0x67, 0xcc, 0x89, 0x90, 0xb1, 0xc6, 0xc4, 0x98, 0x67, 0x33, 0xa6, 0x6c, - 0x37, 0x7f, 0x57, 0x73, 0x0e, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x34, 0xd6, 0x3e, 0x66, 0xe2, - 0x02, 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 - -// 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.v1.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) -} - -// UnimplementedHotelGroupViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedHotelGroupViewServiceServer struct { -} - -func (*UnimplementedHotelGroupViewServiceServer) GetHotelGroupView(ctx context.Context, req *GetHotelGroupViewRequest) (*resources.HotelGroupView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetHotelGroupView not implemented") -} - -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.v1.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.v1.services.HotelGroupViewService", - HandlerType: (*HotelGroupViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetHotelGroupView", - Handler: _HotelGroupViewService_GetHotelGroupView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/hotel_group_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/hotel_performance_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/hotel_performance_view_service.pb.go deleted file mode 100644 index e497ab99..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/hotel_performance_view_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/hotel_performance_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [HotelPerformanceViewService.GetHotelPerformanceView][google.ads.googleads.v1.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_a979e4cfb7098343, []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 (m *GetHotelPerformanceViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetHotelPerformanceViewRequest.Merge(m, 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.v1.services.GetHotelPerformanceViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/hotel_performance_view_service.proto", fileDescriptor_a979e4cfb7098343) -} - -var fileDescriptor_a979e4cfb7098343 = []byte{ - // 374 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xcd, 0x4a, 0xf3, 0x40, - 0x14, 0x25, 0xf9, 0xe0, 0x03, 0x83, 0x6e, 0xb2, 0x51, 0xaa, 0x48, 0xa8, 0x5d, 0x88, 0x8b, 0x09, - 0x51, 0x51, 0x18, 0x7f, 0x30, 0x85, 0xd2, 0xae, 0xa4, 0x54, 0xc8, 0x42, 0x02, 0x61, 0x4c, 0xae, - 0x31, 0xd0, 0x64, 0xe2, 0xcc, 0x34, 0x5d, 0x88, 0x1b, 0x37, 0x3e, 0x80, 0x6f, 0xe0, 0xd2, 0x47, - 0x71, 0xa9, 0xaf, 0xe0, 0xca, 0xa5, 0x4f, 0x20, 0xe9, 0x74, 0x22, 0x4a, 0xd3, 0xee, 0x0e, 0x33, - 0xe7, 0xe7, 0xce, 0xb9, 0x63, 0x74, 0x62, 0x4a, 0xe3, 0x21, 0xd8, 0x24, 0xe2, 0xb6, 0x84, 0x25, - 0x2a, 0x1c, 0x9b, 0x03, 0x2b, 0x92, 0x10, 0xb8, 0x7d, 0x43, 0x05, 0x0c, 0x83, 0x1c, 0xd8, 0x35, - 0x65, 0x29, 0xc9, 0x42, 0x08, 0x8a, 0x04, 0xc6, 0xc1, 0xf4, 0x1e, 0xe5, 0x8c, 0x0a, 0x6a, 0x5a, - 0x52, 0x8b, 0x48, 0xc4, 0x51, 0x65, 0x83, 0x0a, 0x07, 0x29, 0x9b, 0xc6, 0x69, 0x5d, 0x10, 0x03, - 0x4e, 0x47, 0xac, 0x3e, 0x49, 0x26, 0x34, 0x36, 0x94, 0x3e, 0x4f, 0x6c, 0x92, 0x65, 0x54, 0x10, - 0x91, 0xd0, 0x8c, 0xcb, 0xdb, 0x66, 0xc7, 0xd8, 0xec, 0x82, 0xe8, 0x95, 0x06, 0xfd, 0x1f, 0xbd, - 0x97, 0x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0xee, 0x7d, 0x07, 0x00, 0x00, 0xff, 0xff, 0xe6, 0x4e, - 0xc0, 0xba, 0x15, 0x03, 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 - -// 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.v1.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) -} - -// UnimplementedHotelPerformanceViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedHotelPerformanceViewServiceServer struct { -} - -func (*UnimplementedHotelPerformanceViewServiceServer) GetHotelPerformanceView(ctx context.Context, req *GetHotelPerformanceViewRequest) (*resources.HotelPerformanceView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetHotelPerformanceView not implemented") -} - -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.v1.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.v1.services.HotelPerformanceViewService", - HandlerType: (*HotelPerformanceViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetHotelPerformanceView", - Handler: _HotelPerformanceViewService_GetHotelPerformanceView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/hotel_performance_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/keyword_plan_ad_group_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/keyword_plan_ad_group_service.pb.go deleted file mode 100644 index 8990eac8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/keyword_plan_ad_group_service.pb.go +++ /dev/null @@ -1,532 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/keyword_plan_ad_group_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [KeywordPlanAdGroupService.GetKeywordPlanAdGroup][google.ads.googleads.v1.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_ccc3a69fa60910db, []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 (m *GetKeywordPlanAdGroupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetKeywordPlanAdGroupRequest.Merge(m, 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.v1.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_ccc3a69fa60910db, []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 (m *MutateKeywordPlanAdGroupsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateKeywordPlanAdGroupsRequest.Merge(m, 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 -} - -func (m *MutateKeywordPlanAdGroupsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateKeywordPlanAdGroupsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_ccc3a69fa60910db, []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 (m *KeywordPlanAdGroupOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanAdGroupOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*KeywordPlanAdGroupOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*KeywordPlanAdGroupOperation_Create)(nil), - (*KeywordPlanAdGroupOperation_Update)(nil), - (*KeywordPlanAdGroupOperation_Remove)(nil), - } -} - -// Response message for a Keyword Plan ad group mutate. -type MutateKeywordPlanAdGroupsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_ccc3a69fa60910db, []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 (m *MutateKeywordPlanAdGroupsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateKeywordPlanAdGroupsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_ccc3a69fa60910db, []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 (m *MutateKeywordPlanAdGroupResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateKeywordPlanAdGroupResult.Merge(m, 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.v1.services.GetKeywordPlanAdGroupRequest") - proto.RegisterType((*MutateKeywordPlanAdGroupsRequest)(nil), "google.ads.googleads.v1.services.MutateKeywordPlanAdGroupsRequest") - proto.RegisterType((*KeywordPlanAdGroupOperation)(nil), "google.ads.googleads.v1.services.KeywordPlanAdGroupOperation") - proto.RegisterType((*MutateKeywordPlanAdGroupsResponse)(nil), "google.ads.googleads.v1.services.MutateKeywordPlanAdGroupsResponse") - proto.RegisterType((*MutateKeywordPlanAdGroupResult)(nil), "google.ads.googleads.v1.services.MutateKeywordPlanAdGroupResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/keyword_plan_ad_group_service.proto", fileDescriptor_ccc3a69fa60910db) -} - -var fileDescriptor_ccc3a69fa60910db = []byte{ - // 730 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0xdd, 0x6a, 0xd4, 0x4e, - 0x14, 0xc0, 0xff, 0xc9, 0xfe, 0xa9, 0x76, 0xb6, 0x2a, 0x8c, 0x14, 0xb7, 0x6b, 0xa9, 0x6b, 0x2c, - 0x58, 0xf6, 0x22, 0x61, 0x57, 0x8a, 0x92, 0xb2, 0xe2, 0x6e, 0x6d, 0xb7, 0x22, 0xb5, 0x25, 0x85, - 0x5e, 0x94, 0x95, 0x30, 0xdd, 0x4c, 0x43, 0x68, 0x92, 0x89, 0x33, 0x93, 0x2d, 0xa5, 0xf4, 0x46, - 0xf0, 0x09, 0x7c, 0x03, 0xbd, 0xf3, 0x45, 0x04, 0xc1, 0x2b, 0x2f, 0x7c, 0x01, 0x6f, 0xf4, 0xca, - 0x47, 0x90, 0xc9, 0x64, 0xd6, 0x7e, 0x65, 0x57, 0xda, 0xbb, 0x93, 0x33, 0x27, 0xbf, 0xf3, 0x39, - 0x67, 0xc0, 0x73, 0x9f, 0x10, 0x3f, 0xc4, 0x16, 0xf2, 0x98, 0x25, 0x45, 0x21, 0x0d, 0x1a, 0x16, - 0xc3, 0x74, 0x10, 0xf4, 0x31, 0xb3, 0xf6, 0xf1, 0xe1, 0x01, 0xa1, 0x9e, 0x9b, 0x84, 0x28, 0x76, - 0x91, 0xe7, 0xfa, 0x94, 0xa4, 0x89, 0x9b, 0x1f, 0x9b, 0x09, 0x25, 0x9c, 0xc0, 0x9a, 0xfc, 0xd5, - 0x44, 0x1e, 0x33, 0x87, 0x14, 0x73, 0xd0, 0x30, 0x15, 0xa5, 0xda, 0x2a, 0xf2, 0x43, 0x31, 0x23, - 0x29, 0x2d, 0x74, 0x24, 0x1d, 0x54, 0x67, 0xd5, 0xef, 0x49, 0x60, 0xa1, 0x38, 0x26, 0x1c, 0xf1, - 0x80, 0xc4, 0x2c,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, 0x4d, 0x17, 0xa6, 0x79, 0x07, 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 - -// 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.v1.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.v1.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) -} - -// UnimplementedKeywordPlanAdGroupServiceServer can be embedded to have forward compatible implementations. -type UnimplementedKeywordPlanAdGroupServiceServer struct { -} - -func (*UnimplementedKeywordPlanAdGroupServiceServer) GetKeywordPlanAdGroup(ctx context.Context, req *GetKeywordPlanAdGroupRequest) (*resources.KeywordPlanAdGroup, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetKeywordPlanAdGroup not implemented") -} -func (*UnimplementedKeywordPlanAdGroupServiceServer) MutateKeywordPlanAdGroups(ctx context.Context, req *MutateKeywordPlanAdGroupsRequest) (*MutateKeywordPlanAdGroupsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateKeywordPlanAdGroups not implemented") -} - -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.v1.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.v1.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.v1.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/v1/services/keyword_plan_ad_group_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/keyword_plan_campaign_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/keyword_plan_campaign_service.pb.go deleted file mode 100644 index 52f272b3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/keyword_plan_campaign_service.pb.go +++ /dev/null @@ -1,532 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/keyword_plan_campaign_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [KeywordPlanCampaignService.GetKeywordPlanCampaign][google.ads.googleads.v1.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_1fdb1b9d1a4eb099, []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 (m *GetKeywordPlanCampaignRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetKeywordPlanCampaignRequest.Merge(m, 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.v1.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_1fdb1b9d1a4eb099, []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 (m *MutateKeywordPlanCampaignsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateKeywordPlanCampaignsRequest.Merge(m, 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 -} - -func (m *MutateKeywordPlanCampaignsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateKeywordPlanCampaignsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_1fdb1b9d1a4eb099, []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 (m *KeywordPlanCampaignOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanCampaignOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*KeywordPlanCampaignOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*KeywordPlanCampaignOperation_Create)(nil), - (*KeywordPlanCampaignOperation_Update)(nil), - (*KeywordPlanCampaignOperation_Remove)(nil), - } -} - -// Response message for a Keyword Plan campaign mutate. -type MutateKeywordPlanCampaignsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_1fdb1b9d1a4eb099, []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 (m *MutateKeywordPlanCampaignsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateKeywordPlanCampaignsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_1fdb1b9d1a4eb099, []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 (m *MutateKeywordPlanCampaignResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateKeywordPlanCampaignResult.Merge(m, 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.v1.services.GetKeywordPlanCampaignRequest") - proto.RegisterType((*MutateKeywordPlanCampaignsRequest)(nil), "google.ads.googleads.v1.services.MutateKeywordPlanCampaignsRequest") - proto.RegisterType((*KeywordPlanCampaignOperation)(nil), "google.ads.googleads.v1.services.KeywordPlanCampaignOperation") - proto.RegisterType((*MutateKeywordPlanCampaignsResponse)(nil), "google.ads.googleads.v1.services.MutateKeywordPlanCampaignsResponse") - proto.RegisterType((*MutateKeywordPlanCampaignResult)(nil), "google.ads.googleads.v1.services.MutateKeywordPlanCampaignResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/keyword_plan_campaign_service.proto", fileDescriptor_1fdb1b9d1a4eb099) -} - -var fileDescriptor_1fdb1b9d1a4eb099 = []byte{ - // 728 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0x4f, 0x6b, 0xd4, 0x4c, - 0x18, 0xc0, 0xdf, 0x64, 0x5f, 0xaa, 0x9d, 0x54, 0x85, 0x11, 0x75, 0x09, 0xd5, 0xae, 0xb1, 0x60, - 0xd9, 0x43, 0xc2, 0xae, 0x50, 0x34, 0xa5, 0x95, 0x6d, 0xd7, 0x6d, 0x45, 0x6a, 0x97, 0x14, 0x7a, - 0xd0, 0xc5, 0x30, 0x4d, 0xa6, 0x21, 0x34, 0xc9, 0xc4, 0x99, 0xc9, 0x96, 0x52, 0x7a, 0xf1, 0xe0, - 0x17, 0xf0, 0x1b, 0x78, 0xf0, 0xe0, 0x37, 0xd1, 0x9b, 0xf8, 0x05, 0x3c, 0x78, 0x12, 0xbc, 0xf8, - 0x09, 0x24, 0x99, 0xcc, 0xda, 0x96, 0x4d, 0x57, 0xec, 0xed, 0xc9, 0x33, 0x4f, 0x7e, 0xcf, 0xdf, - 0x79, 0x06, 0x74, 0x03, 0x42, 0x82, 0x08, 0x5b, 0xc8, 0x67, 0x96, 0x10, 0x73, 0x69, 0xd8, 0xb2, - 0x18, 0xa6, 0xc3, 0xd0, 0xc3, 0xcc, 0xda, 0xc7, 0x87, 0x07, 0x84, 0xfa, 0x6e, 0x1a, 0xa1, 0xc4, - 0xf5, 0x50, 0x9c, 0xa2, 0x30, 0x48, 0xdc, 0xf2, 0xd8, 0x4c, 0x29, 0xe1, 0x04, 0x36, 0xc4, 0xaf, - 0x26, 0xf2, 0x99, 0x39, 0xa2, 0x98, 0xc3, 0x96, 0x29, 0x29, 0xfa, 0x72, 0x95, 0x1f, 0x8a, 0x19, - 0xc9, 0x68, 0xa5, 0x23, 0xe1, 0x40, 0x9f, 0x95, 0xbf, 0xa7, 0xa1, 0x85, 0x92, 0x84, 0x70, 0xc4, - 0x43, 0x92, 0xb0, 0xf2, 0xb4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x0a, 0x66, 0xcf, 0x73, 0x0d, 0x97, - 0x80, 0x96, 0xa5, 0x05, 0x23, 0xef, 0x54, 0xc1, 0xd0, 0xda, 0xba, 0xcc, 0x47, 0xb6, 0xca, 0xec, - 0xe5, 0xcd, 0xdc, 0x44, 0x6c, 0xdf, 0x01, 0xc2, 0x3c, 0x97, 0x61, 0x1f, 0x4c, 0x79, 0x14, 0x23, - 0x2e, 0x0a, 0xae, 0xb5, 0x17, 0x2b, 0xeb, 0x30, 0x9a, 0xb0, 0x71, 0x85, 0xd8, 0xf8, 0xcf, 0x29, - 0x39, 0x39, 0x51, 0xf0, 0xeb, 0xea, 0x45, 0x89, 0x82, 0x03, 0xeb, 0x60, 0x8a, 0xe2, 0x98, 0x0c, - 0x45, 0x19, 0xa7, 0xf3, 0x13, 0xf1, 0xbd, 0xaa, 0x81, 0xe9, 0x51, 0xdd, 0x8d, 0x4f, 0x0a, 0x30, - 0xce, 0x9b, 0x0e, 0x96, 0x92, 0x84, 0x61, 0xd8, 0x03, 0x37, 0xce, 0x74, 0xc7, 0xc5, 0x94, 0x12, - 0x5a, 0xc0, 0xb5, 0x36, 0x94, 0xe1, 0xd2, 0xd4, 0x33, 0xb7, 0x8b, 0x19, 0x76, 0xae, 0x9f, 0xee, - 0xdb, 0x93, 0xdc, 0x1c, 0xbe, 0x04, 0x97, 0x28, 0x66, 0x59, 0xc4, 0xe5, 0x08, 0x75, 0x26, 0x8f, - 0x50, 0x65, 0x78, 0x4e, 0x41, 0x72, 0x24, 0xd1, 0xe8, 0x81, 0xb9, 0x09, 0xb6, 0x7f, 0x75, 0x63, - 0xda, 0xdf, 0x6a, 0x40, 0x1f, 0x83, 0xd8, 0x16, 0x01, 0xc1, 0x2f, 0x0a, 0xb8, 0x39, 0xfe, 0x5e, - 0xc2, 0xc7, 0x93, 0xb3, 0x39, 0xf7, 0x46, 0xeb, 0xff, 0xd8, 0x77, 0x63, 0xe5, 0xcd, 0xd7, 0xef, - 0xef, 0xd4, 0x87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- -// 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.v1.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.v1.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) -} - -// UnimplementedKeywordPlanCampaignServiceServer can be embedded to have forward compatible implementations. -type UnimplementedKeywordPlanCampaignServiceServer struct { -} - -func (*UnimplementedKeywordPlanCampaignServiceServer) GetKeywordPlanCampaign(ctx context.Context, req *GetKeywordPlanCampaignRequest) (*resources.KeywordPlanCampaign, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetKeywordPlanCampaign not implemented") -} -func (*UnimplementedKeywordPlanCampaignServiceServer) MutateKeywordPlanCampaigns(ctx context.Context, req *MutateKeywordPlanCampaignsRequest) (*MutateKeywordPlanCampaignsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateKeywordPlanCampaigns not implemented") -} - -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.v1.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.v1.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.v1.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/v1/services/keyword_plan_campaign_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/keyword_plan_idea_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/keyword_plan_idea_service.pb.go deleted file mode 100644 index 2f6b523f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/keyword_plan_idea_service.pb.go +++ /dev/null @@ -1,537 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/keyword_plan_idea_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v1/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // 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.v1.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_78a60a26de5be656, []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 (m *GenerateKeywordIdeasRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenerateKeywordIdeasRequest.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*GenerateKeywordIdeasRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*GenerateKeywordIdeasRequest_KeywordAndUrlSeed)(nil), - (*GenerateKeywordIdeasRequest_KeywordSeed)(nil), - (*GenerateKeywordIdeasRequest_UrlSeed)(nil), - } -} - -// 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_78a60a26de5be656, []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 (m *KeywordAndUrlSeed) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordAndUrlSeed.Merge(m, 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_78a60a26de5be656, []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 (m *KeywordSeed) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordSeed.Merge(m, 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_78a60a26de5be656, []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 (m *UrlSeed) XXX_Merge(src proto.Message) { - xxx_messageInfo_UrlSeed.Merge(m, 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_78a60a26de5be656, []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 (m *GenerateKeywordIdeaResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenerateKeywordIdeaResponse.Merge(m, 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_78a60a26de5be656, []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 (m *GenerateKeywordIdeaResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenerateKeywordIdeaResult.Merge(m, 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.v1.services.GenerateKeywordIdeasRequest") - proto.RegisterType((*KeywordAndUrlSeed)(nil), "google.ads.googleads.v1.services.KeywordAndUrlSeed") - proto.RegisterType((*KeywordSeed)(nil), "google.ads.googleads.v1.services.KeywordSeed") - proto.RegisterType((*UrlSeed)(nil), "google.ads.googleads.v1.services.UrlSeed") - proto.RegisterType((*GenerateKeywordIdeaResponse)(nil), "google.ads.googleads.v1.services.GenerateKeywordIdeaResponse") - proto.RegisterType((*GenerateKeywordIdeaResult)(nil), "google.ads.googleads.v1.services.GenerateKeywordIdeaResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/keyword_plan_idea_service.proto", fileDescriptor_78a60a26de5be656) -} - -var fileDescriptor_78a60a26de5be656 = []byte{ - // 727 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0xcf, 0x6e, 0xd3, 0x4e, - 0x10, 0xfe, 0x39, 0xe9, 0xaf, 0x69, 0x37, 0x08, 0xa9, 0xab, 0x0a, 0x85, 0xb6, 0x82, 0x28, 0xea, - 0xa1, 0x54, 0xc2, 0x26, 0xe9, 0x81, 0xe2, 0x12, 0x89, 0x14, 0x41, 0x52, 0x21, 0xaa, 0xca, 0xa5, - 0x39, 0xa0, 0x48, 0xd6, 0x36, 0x9e, 0x5a, 0x56, 0x9c, 0xdd, 0xb0, 0xbb, 0x6e, 0xf9, 0xa3, 0x5e, - 0xfa, 0x0a, 0xbc, 0x01, 0x47, 0xde, 0x81, 0x17, 0xe0, 0x84, 0xd4, 0x57, 0xe0, 0xc4, 0x81, 0x67, - 0x40, 0xb6, 0x77, 0x93, 0xb4, 0x75, 0x48, 0xe9, 0x6d, 0x3c, 0xfb, 0xcd, 0x37, 0xdf, 0xce, 0xcc, - 0x8e, 0xd1, 0x33, 0x9f, 0x31, 0x3f, 0x04, 0x8b, 0x78, 0xc2, 0x4a, 0xcd, 0xd8, 0x3a, 0xae, 0x5a, - 0x02, 0xf8, 0x71, 0xd0, 0x05, 0x61, 0xf5, 0xe0, 0xc3, 0x09, 0xe3, 0x9e, 0x3b, 0x08, 0x09, 0x75, - 0x03, 0x0f, 0x88, 0xab, 0x8e, 0xcc, 0x01, 0x67, 0x92, 0xe1, 0x72, 0x1a, 0x66, 0x12, 0x4f, 0x98, - 0x43, 0x06, 0xf3, 0xb8, 0x6a, 0x6a, 0x86, 0xa5, 0xcd, 0x49, 0x39, 0xba, 0xac, 0xdf, 0x67, 0xf4, - 0x62, 0x86, 0xd4, 0x97, 0x72, 0x4f, 0x8e, 0x04, 0x1a, 0xf5, 0x2f, 0x49, 0xa3, 0x20, 0x4f, 0x18, - 0xef, 0xa9, 0xc8, 0x15, 0x1d, 0x39, 0x08, 0x2c, 0x42, 0x29, 0x93, 0x44, 0x06, 0x8c, 0x0a, 0x75, - 0x7a, 0x4f, 0x9d, 0x26, 0x5f, 0x87, 0xd1, 0x91, 0x75, 0xc2, 0xc9, 0x60, 0x00, 0x5c, 0x9d, 0x57, - 0x7e, 0xcc, 0xa0, 0xe5, 0x26, 0x50, 0xe0, 0x44, 0xc2, 0xab, 0x34, 0xc9, 0x8e, 0x07, 0x44, 0x38, - 0xf0, 0x2e, 0x02, 0x21, 0xf1, 0x7d, 0x54, 0xec, 0x46, 0x42, 0xb2, 0x3e, 0x70, 0x37, 0xf0, 0x4a, - 0x46, 0xd9, 0x58, 0x9b, 0x77, 0x90, 0x76, 0xed, 0x78, 0x78, 0x13, 0xcd, 0x85, 0x84, 0xfa, 0x11, - 0xf1, 0xa1, 0x54, 0x28, 0x1b, 0x6b, 0xc5, 0xda, 0x8a, 0x2a, 0x8e, 0xa9, 0x73, 0x9a, 0xfb, 0x92, - 0x07, 0xd4, 0x6f, 0x93, 0x30, 0x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xfb, - 0x96, 0x0f, 0x34, 0xe9, 0xac, 0xfe, 0x99, 0x0c, 0x02, 0x31, 0xf9, 0xcf, 0xb7, 0xa5, 0x8d, 0x2f, - 0xb9, 0x7c, 0xb3, 0xd1, 0xf8, 0x9a, 0x2b, 0x37, 0x53, 0xc2, 0x86, 0x27, 0xcc, 0xd4, 0x8c, 0xad, - 0x76, 0xd5, 0x54, 0x89, 0xc5, 0x77, 0x0d, 0xe9, 0x34, 0x3c, 0xd1, 0x19, 0x42, 0x3a, 0xed, 0x6a, - 0x47, 0x43, 0x7e, 0xe5, 0x56, 0x53, 0xbf, 0x6d, 0x37, 0x3c, 0x61, 0xdb, 0x43, 0x90, 0x6d, 0xb7, - 0xab, 0xb6, 0xad, 0x61, 0x87, 0xb3, 0x89, 0xce, 0x8d, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xfd, - 0x13, 0x9c, 0xd6, 0xa0, 0x07, 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 - -// 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.v1.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) -} - -// UnimplementedKeywordPlanIdeaServiceServer can be embedded to have forward compatible implementations. -type UnimplementedKeywordPlanIdeaServiceServer struct { -} - -func (*UnimplementedKeywordPlanIdeaServiceServer) GenerateKeywordIdeas(ctx context.Context, req *GenerateKeywordIdeasRequest) (*GenerateKeywordIdeaResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GenerateKeywordIdeas not implemented") -} - -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.v1.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.v1.services.KeywordPlanIdeaService", - HandlerType: (*KeywordPlanIdeaServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GenerateKeywordIdeas", - Handler: _KeywordPlanIdeaService_GenerateKeywordIdeas_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/keyword_plan_idea_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/keyword_plan_keyword_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/keyword_plan_keyword_service.pb.go deleted file mode 100644 index 12bacee4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/keyword_plan_keyword_service.pb.go +++ /dev/null @@ -1,532 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/keyword_plan_keyword_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [KeywordPlanKeywordService.GetKeywordPlanKeyword][google.ads.googleads.v1.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_5b99a6d2764af50a, []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 (m *GetKeywordPlanKeywordRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetKeywordPlanKeywordRequest.Merge(m, 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.v1.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_5b99a6d2764af50a, []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 (m *MutateKeywordPlanKeywordsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateKeywordPlanKeywordsRequest.Merge(m, 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 -} - -func (m *MutateKeywordPlanKeywordsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateKeywordPlanKeywordsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_5b99a6d2764af50a, []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 (m *KeywordPlanKeywordOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanKeywordOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*KeywordPlanKeywordOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*KeywordPlanKeywordOperation_Create)(nil), - (*KeywordPlanKeywordOperation_Update)(nil), - (*KeywordPlanKeywordOperation_Remove)(nil), - } -} - -// Response message for a Keyword Plan keyword mutate. -type MutateKeywordPlanKeywordsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_5b99a6d2764af50a, []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 (m *MutateKeywordPlanKeywordsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateKeywordPlanKeywordsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_5b99a6d2764af50a, []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 (m *MutateKeywordPlanKeywordResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateKeywordPlanKeywordResult.Merge(m, 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.v1.services.GetKeywordPlanKeywordRequest") - proto.RegisterType((*MutateKeywordPlanKeywordsRequest)(nil), "google.ads.googleads.v1.services.MutateKeywordPlanKeywordsRequest") - proto.RegisterType((*KeywordPlanKeywordOperation)(nil), "google.ads.googleads.v1.services.KeywordPlanKeywordOperation") - proto.RegisterType((*MutateKeywordPlanKeywordsResponse)(nil), "google.ads.googleads.v1.services.MutateKeywordPlanKeywordsResponse") - proto.RegisterType((*MutateKeywordPlanKeywordResult)(nil), "google.ads.googleads.v1.services.MutateKeywordPlanKeywordResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/keyword_plan_keyword_service.proto", fileDescriptor_5b99a6d2764af50a) -} - -var fileDescriptor_5b99a6d2764af50a = []byte{ - // 721 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0xdd, 0x6a, 0xd4, 0x4e, - 0x14, 0xc0, 0xff, 0xc9, 0xfe, 0xa9, 0x76, 0x52, 0x15, 0x46, 0x8a, 0xdb, 0xb5, 0xd4, 0x35, 0x16, - 0x2c, 0x7b, 0x91, 0xb0, 0x2b, 0x45, 0x49, 0x5d, 0x71, 0x77, 0xe9, 0x87, 0x48, 0x6d, 0x49, 0xa1, - 0x17, 0x65, 0x25, 0x4c, 0x37, 0xd3, 0x25, 0x34, 0xc9, 0xc4, 0x99, 0xc9, 0x96, 0x52, 0x7a, 0x23, - 0xf8, 0x04, 0xbe, 0x81, 0xde, 0xf9, 0x22, 0x82, 0xe0, 0x95, 0x17, 0xbe, 0x80, 0x37, 0x7a, 0xe5, - 0x23, 0x48, 0x32, 0x33, 0x6b, 0xbf, 0xb2, 0x2b, 0xed, 0xdd, 0x99, 0x33, 0x27, 0xbf, 0xf3, 0x39, - 0x27, 0xa0, 0xd3, 0x27, 0xa4, 0x1f, 0x62, 0x1b, 0xf9, 0xcc, 0x16, 0x62, 0x26, 0x0d, 0xea, 0x36, - 0xc3, 0x74, 0x10, 0xf4, 0x30, 0xb3, 0xf7, 0xf1, 0xe1, 0x01, 0xa1, 0xbe, 0x97, 0x84, 0x28, 0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xeb, 0x0e, 0x4d, 0xba, 0xdb, 0xf5, 0xae, 0x32, 0xf9, 0xa5, 0xcf, 0x0b, - 0xbd, 0xe3, 0xb4, 0x7c, 0xe6, 0x38, 0x43, 0x23, 0xc7, 0xd9, 0xae, 0x3b, 0x8e, 0x32, 0xdb, 0x9d, - 0xc8, 0xe3, 0x7c, 0xf4, 0x27, 0x00, 0x00, 0xff, 0xff, 0x26, 0x9e, 0xc6, 0xcd, 0x77, 0x07, 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 - -// 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.v1.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.v1.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) -} - -// UnimplementedKeywordPlanKeywordServiceServer can be embedded to have forward compatible implementations. -type UnimplementedKeywordPlanKeywordServiceServer struct { -} - -func (*UnimplementedKeywordPlanKeywordServiceServer) GetKeywordPlanKeyword(ctx context.Context, req *GetKeywordPlanKeywordRequest) (*resources.KeywordPlanKeyword, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetKeywordPlanKeyword not implemented") -} -func (*UnimplementedKeywordPlanKeywordServiceServer) MutateKeywordPlanKeywords(ctx context.Context, req *MutateKeywordPlanKeywordsRequest) (*MutateKeywordPlanKeywordsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateKeywordPlanKeywords not implemented") -} - -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.v1.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.v1.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.v1.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/v1/services/keyword_plan_keyword_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/keyword_plan_negative_keyword_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/keyword_plan_negative_keyword_service.pb.go deleted file mode 100644 index 1a6df112..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/keyword_plan_negative_keyword_service.pb.go +++ /dev/null @@ -1,540 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/keyword_plan_negative_keyword_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [KeywordPlanNegativeKeywordService.GetKeywordPlanNegativeKeyword][google.ads.googleads.v1.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_7b48c1cdc5ae5df5, []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 (m *GetKeywordPlanNegativeKeywordRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetKeywordPlanNegativeKeywordRequest.Merge(m, 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.v1.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_7b48c1cdc5ae5df5, []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 (m *MutateKeywordPlanNegativeKeywordsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateKeywordPlanNegativeKeywordsRequest.Merge(m, 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 -} - -func (m *MutateKeywordPlanNegativeKeywordsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateKeywordPlanNegativeKeywordsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_7b48c1cdc5ae5df5, []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 (m *KeywordPlanNegativeKeywordOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanNegativeKeywordOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*KeywordPlanNegativeKeywordOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*KeywordPlanNegativeKeywordOperation_Create)(nil), - (*KeywordPlanNegativeKeywordOperation_Update)(nil), - (*KeywordPlanNegativeKeywordOperation_Remove)(nil), - } -} - -// Response message for a Keyword Plan negative keyword mutate. -type MutateKeywordPlanNegativeKeywordsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_7b48c1cdc5ae5df5, []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 (m *MutateKeywordPlanNegativeKeywordsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateKeywordPlanNegativeKeywordsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_7b48c1cdc5ae5df5, []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 (m *MutateKeywordPlanNegativeKeywordResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateKeywordPlanNegativeKeywordResult.Merge(m, 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.v1.services.GetKeywordPlanNegativeKeywordRequest") - proto.RegisterType((*MutateKeywordPlanNegativeKeywordsRequest)(nil), "google.ads.googleads.v1.services.MutateKeywordPlanNegativeKeywordsRequest") - proto.RegisterType((*KeywordPlanNegativeKeywordOperation)(nil), "google.ads.googleads.v1.services.KeywordPlanNegativeKeywordOperation") - proto.RegisterType((*MutateKeywordPlanNegativeKeywordsResponse)(nil), "google.ads.googleads.v1.services.MutateKeywordPlanNegativeKeywordsResponse") - proto.RegisterType((*MutateKeywordPlanNegativeKeywordResult)(nil), "google.ads.googleads.v1.services.MutateKeywordPlanNegativeKeywordResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/keyword_plan_negative_keyword_service.proto", fileDescriptor_7b48c1cdc5ae5df5) -} - -var fileDescriptor_7b48c1cdc5ae5df5 = []byte{ - // 736 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x95, 0xcd, 0x6a, 0xdb, 0x4a, - 0x14, 0xc7, 0xaf, 0x94, 0x90, 0x7b, 0x33, 0xca, 0x6d, 0x61, 0x4a, 0xa9, 0x31, 0xfd, 0x70, 0x94, - 0x90, 0xba, 0x5e, 0x48, 0xd8, 0xdd, 0x29, 0x98, 0xd6, 0x01, 0x3b, 0x69, 0xdd, 0x7c, 0xa0, 0x40, - 0x0a, 0xc5, 0x20, 0x26, 0xd6, 0x44, 0x88, 0x48, 0x1a, 0x75, 0x66, 0xe4, 0x10, 0x42, 0xa0, 0x74, - 0xd7, 0x45, 0x57, 0x7d, 0x80, 0x42, 0x97, 0x7d, 0x85, 0xbe, 0x41, 0xb7, 0x5d, 0xf4, 0x05, 0xba, - 0x2a, 0xf4, 0x1d, 0x8a, 0x34, 0x33, 0x6e, 0x12, 0xea, 0xc8, 0x90, 0xec, 0x8e, 0xce, 0xfc, 0xf5, - 0x3b, 0x67, 0xce, 0x39, 0x3a, 0x02, 0x2f, 0x02, 0x42, 0x82, 0x08, 0xdb, 0xc8, 0x67, 0xb6, 0x30, - 0x73, 0x6b, 0xd4, 0xb4, 0x19, 0xa6, 0xa3, 0x70, 0x88, 0x99, 0x7d, 0x88, 0x8f, 0x8f, 0x08, 0xf5, - 0xbd, 0x34, 0x42, 0x89, 0x97, 0xe0, 0x00, 0xf1, 0x70, 0x84, 0x3d, 0xe5, 0x95, 0x32, 0x2b, 0xa5, - 0x84, 0x13, 0x58, 0x13, 0x08, 0x0b, 0xf9, 0xcc, 0x1a, 0xd3, 0xac, 0x51, 0xd3, 0x52, 0xb4, 0x6a, - 0x77, 0x52, 0x3c, 0x8a, 0x19, 0xc9, 0x68, 0x69, 0x40, 0x11, 0xa8, 0x7a, 0x57, 0x61, 0xd2, 0xd0, - 0x46, 0x49, 0x42, 0x38, 0xe2, 0x21, 0x49, 0x98, 0x3c, 0x95, 0x69, 0xd8, 0xc5, 0xd3, 0x7e, 0x76, - 0x60, 0x1f, 0x84, 0x38, 0xf2, 0xbd, 0x18, 0xb1, 0x43, 0xa9, 0xb8, 0x7f, 0x51, 0x71, 0x44, 0x51, - 0x9a, 0x62, 0xaa, 0x08, 0x77, 0xe4, 0x39, 0x4d, 0x87, 0x36, 0xe3, 0x88, 0x67, 0xf2, 0xc0, 0xec, - 0x83, 0xe5, 0x75, 0xcc, 0xfb, 0x22, 0x99, 0x9d, 0x08, 0x25, 0x5b,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x74, 0xcd, 0xa7, 0x79, 0x15, 0xfe, 0x5c, 0xfb, 0xe4, 0xcc, 0x9a, - 0x6c, 0x37, 0x4e, 0x2f, 0x2b, 0x82, 0x13, 0x17, 0xc1, 0x1c, 0xad, 0xb1, 0xf6, 0x5e, 0x07, 0xcb, - 0x43, 0x12, 0x97, 0xe6, 0xb7, 0xb6, 0x52, 0x3a, 0x47, 0x3b, 0xf9, 0x36, 0xda, 0xd1, 0x5e, 0x6d, - 0x48, 0x56, 0x40, 0x22, 0x94, 0x04, 0x16, 0xa1, 0x81, 0x1d, 0xe0, 0xa4, 0xd8, 0x55, 0xea, 0xdf, - 0x97, 0x86, 0x6c, 0xf2, 0xaf, 0x77, 0x55, 0x19, 0x9f, 0xf4, 0x99, 0xf5, 0x4e, 0xe7, 0xb3, 0x5e, - 0x5b, 0x17, 0xc0, 0x8e, 0xcf, 0x2c, 0x61, 0xe6, 0xd6, 0x5e, 0xd3, 0x92, 0x81, 0xd9, 0x57, 0x25, - 0x19, 0x74, 0x7c, 0x36, 0x18, 0x4b, 0x06, 0x7b, 0xcd, 0x81, 0x92, 0xfc, 0xd4, 0x97, 0x85, 0xdf, - 0x71, 0x3a, 0x3e, 0x73, 0x9c, 0xb1, 0xc8, 0x71, 0xf6, 0x9a, 0x8e, 0xa3, 0x64, 0xfb, 0x73, 0x45, - 0x9e, 0x8f, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0x21, 0xab, 0x07, 0x2a, 0x21, 0x08, 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 - -// 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.v1.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.v1.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) -} - -// UnimplementedKeywordPlanNegativeKeywordServiceServer can be embedded to have forward compatible implementations. -type UnimplementedKeywordPlanNegativeKeywordServiceServer struct { -} - -func (*UnimplementedKeywordPlanNegativeKeywordServiceServer) GetKeywordPlanNegativeKeyword(ctx context.Context, req *GetKeywordPlanNegativeKeywordRequest) (*resources.KeywordPlanNegativeKeyword, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetKeywordPlanNegativeKeyword not implemented") -} -func (*UnimplementedKeywordPlanNegativeKeywordServiceServer) MutateKeywordPlanNegativeKeywords(ctx context.Context, req *MutateKeywordPlanNegativeKeywordsRequest) (*MutateKeywordPlanNegativeKeywordsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateKeywordPlanNegativeKeywords not implemented") -} - -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.v1.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.v1.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.v1.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/v1/services/keyword_plan_negative_keyword_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/keyword_plan_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/keyword_plan_service.pb.go deleted file mode 100644 index cf41316c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/keyword_plan_service.pb.go +++ /dev/null @@ -1,1129 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/keyword_plan_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v1/common" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [KeywordPlanService.GetKeywordPlan][google.ads.googleads.v1.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_90c906905161d950, []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 (m *GetKeywordPlanRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetKeywordPlanRequest.Merge(m, 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.v1.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_90c906905161d950, []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 (m *MutateKeywordPlansRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateKeywordPlansRequest.Merge(m, 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 -} - -func (m *MutateKeywordPlansRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateKeywordPlansRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_90c906905161d950, []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 (m *KeywordPlanOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*KeywordPlanOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*KeywordPlanOperation_Create)(nil), - (*KeywordPlanOperation_Update)(nil), - (*KeywordPlanOperation_Remove)(nil), - } -} - -// Response message for a keyword plan mutate. -type MutateKeywordPlansResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_90c906905161d950, []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 (m *MutateKeywordPlansResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateKeywordPlansResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_90c906905161d950, []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 (m *MutateKeywordPlansResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateKeywordPlansResult.Merge(m, 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.v1.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_90c906905161d950, []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 (m *GenerateForecastMetricsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenerateForecastMetricsRequest.Merge(m, 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.v1.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_90c906905161d950, []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 (m *GenerateForecastMetricsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenerateForecastMetricsResponse.Merge(m, 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_90c906905161d950, []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 (m *KeywordPlanCampaignForecast) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanCampaignForecast.Merge(m, 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_90c906905161d950, []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 (m *KeywordPlanAdGroupForecast) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanAdGroupForecast.Merge(m, 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_90c906905161d950, []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 (m *KeywordPlanKeywordForecast) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanKeywordForecast.Merge(m, 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_90c906905161d950, []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 (m *ForecastMetrics) XXX_Merge(src proto.Message) { - xxx_messageInfo_ForecastMetrics.Merge(m, 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.v1.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_90c906905161d950, []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 (m *GenerateHistoricalMetricsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenerateHistoricalMetricsRequest.Merge(m, 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.v1.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_90c906905161d950, []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 (m *GenerateHistoricalMetricsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenerateHistoricalMetricsResponse.Merge(m, 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_90c906905161d950, []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 (m *KeywordPlanKeywordHistoricalMetrics) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanKeywordHistoricalMetrics.Merge(m, 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.v1.services.GetKeywordPlanRequest") - proto.RegisterType((*MutateKeywordPlansRequest)(nil), "google.ads.googleads.v1.services.MutateKeywordPlansRequest") - proto.RegisterType((*KeywordPlanOperation)(nil), "google.ads.googleads.v1.services.KeywordPlanOperation") - proto.RegisterType((*MutateKeywordPlansResponse)(nil), "google.ads.googleads.v1.services.MutateKeywordPlansResponse") - proto.RegisterType((*MutateKeywordPlansResult)(nil), "google.ads.googleads.v1.services.MutateKeywordPlansResult") - proto.RegisterType((*GenerateForecastMetricsRequest)(nil), "google.ads.googleads.v1.services.GenerateForecastMetricsRequest") - proto.RegisterType((*GenerateForecastMetricsResponse)(nil), "google.ads.googleads.v1.services.GenerateForecastMetricsResponse") - proto.RegisterType((*KeywordPlanCampaignForecast)(nil), "google.ads.googleads.v1.services.KeywordPlanCampaignForecast") - proto.RegisterType((*KeywordPlanAdGroupForecast)(nil), "google.ads.googleads.v1.services.KeywordPlanAdGroupForecast") - proto.RegisterType((*KeywordPlanKeywordForecast)(nil), "google.ads.googleads.v1.services.KeywordPlanKeywordForecast") - proto.RegisterType((*ForecastMetrics)(nil), "google.ads.googleads.v1.services.ForecastMetrics") - proto.RegisterType((*GenerateHistoricalMetricsRequest)(nil), "google.ads.googleads.v1.services.GenerateHistoricalMetricsRequest") - proto.RegisterType((*GenerateHistoricalMetricsResponse)(nil), "google.ads.googleads.v1.services.GenerateHistoricalMetricsResponse") - proto.RegisterType((*KeywordPlanKeywordHistoricalMetrics)(nil), "google.ads.googleads.v1.services.KeywordPlanKeywordHistoricalMetrics") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/keyword_plan_service.proto", fileDescriptor_90c906905161d950) -} - -var fileDescriptor_90c906905161d950 = []byte{ - // 1234 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x57, 0x41, 0x6f, 0xdc, 0x44, - 0x14, 0xc6, 0x1b, 0x48, 0xe9, 0xdb, 0xd0, 0x36, 0x53, 0xaa, 0x6e, 0xb7, 0xa5, 0x4d, 0xdd, 0x4a, - 0x54, 0x39, 0xd8, 0x6c, 0xa8, 0x02, 0x72, 0x52, 0xca, 0x26, 0x24, 0x9b, 0x02, 0xa1, 0x61, 0x8b, - 0x72, 0x40, 0xa1, 0xd6, 0xd4, 0x9e, 0x2c, 0x66, 0x6d, 0x8f, 0x3b, 0x63, 0x6f, 0x15, 0x55, 0xbd, - 0x20, 0xc4, 0x91, 0x0b, 0xff, 0x80, 0x23, 0x37, 0xc4, 0x8d, 0x9f, 0x80, 0xa8, 0x38, 0x70, 0xe3, - 0x88, 0x10, 0x07, 0x4e, 0x1c, 0x39, 0x21, 0x64, 0xcf, 0xcc, 0xd6, 0x6b, 0xaf, 0x93, 0xcd, 0xf6, - 0x36, 0x7e, 0x7e, 0xef, 0x7b, 0xef, 0x7b, 0xef, 0xcd, 0xf3, 0x33, 0xac, 0xf4, 0x28, 0xed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0x76, 0xb9, 0x65, 0x0d, 0x95, 0x2c, 0x6b, 0xb7, 0x65, 0x59, 0x4a, 0xed, 0xc1, - 0x6c, 0x16, 0xe7, 0x9b, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff, 0xff, 0xb9, 0x04, 0x88, 0x0c, 0x10, - 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 - -// 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.v1.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.v1.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.v1.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.v1.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) -} - -// UnimplementedKeywordPlanServiceServer can be embedded to have forward compatible implementations. -type UnimplementedKeywordPlanServiceServer struct { -} - -func (*UnimplementedKeywordPlanServiceServer) GetKeywordPlan(ctx context.Context, req *GetKeywordPlanRequest) (*resources.KeywordPlan, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetKeywordPlan not implemented") -} -func (*UnimplementedKeywordPlanServiceServer) MutateKeywordPlans(ctx context.Context, req *MutateKeywordPlansRequest) (*MutateKeywordPlansResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateKeywordPlans not implemented") -} -func (*UnimplementedKeywordPlanServiceServer) GenerateForecastMetrics(ctx context.Context, req *GenerateForecastMetricsRequest) (*GenerateForecastMetricsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GenerateForecastMetrics not implemented") -} -func (*UnimplementedKeywordPlanServiceServer) GenerateHistoricalMetrics(ctx context.Context, req *GenerateHistoricalMetricsRequest) (*GenerateHistoricalMetricsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GenerateHistoricalMetrics not implemented") -} - -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.v1.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.v1.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.v1.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.v1.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.v1.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/v1/services/keyword_plan_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/keyword_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/keyword_view_service.pb.go deleted file mode 100644 index dc308f19..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/keyword_view_service.pb.go +++ /dev/null @@ -1,187 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/keyword_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [KeywordViewService.GetKeywordView][google.ads.googleads.v1.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_eaf4cb0c6c667eaf, []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 (m *GetKeywordViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetKeywordViewRequest.Merge(m, 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.v1.services.GetKeywordViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/keyword_view_service.proto", fileDescriptor_eaf4cb0c6c667eaf) -} - -var fileDescriptor_eaf4cb0c6c667eaf = []byte{ - // 363 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xb1, 0x4a, 0xc3, 0x50, - 0x14, 0x86, 0x49, 0x04, 0xc1, 0xa0, 0x0e, 0x01, 0x51, 0x8a, 0x43, 0xa9, 0x1d, 0xa4, 0xc3, 0xbd, - 0x46, 0x45, 0xe1, 0x56, 0x87, 0x74, 0xa9, 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, 0xae, 0x26, 0x33, - 0x58, 0xed, 0xe8, 0xf1, 0xe3, 0xf3, 0xc9, 0xdc, 0xb3, 0x49, 0x5e, 0xcc, 0xfd, 0xdc, 0x09, 0xa7, - 0xfd, 0x11, 0xa6, 0x22, 0x06, 0x89, 0xb4, 0xa1, 0x9b, 0xca, 0x19, 0xa4, 0x8d, 0x87, 0xd6, 0xb7, - 0x61, 0xd5, 0xfb, 0x22, 0x5e, 0xb8, 0x66, 0x6b, 0xf3, 0xef, 0xc1, 0x9d, 0xbc, 0xca, 0x8e, 0x71, - 0x75, 0x36, 0x85, 0x43, 0x31, 0xe0, 0x49, 0x48, 0x84, 0x0c, 0x69, 0x08, 0xc9, 0xa4, 0x68, 0xfd, - 0xc1, 0x86, 0x11, 0x96, 0xff, 0x1e, 0x4d, 0x2d, 0x9e, 0xcd, 0xa5, 0xb6, 0xeb, 0xbe, 0x98, 0xd5, - 0xb6, 0x0a, 0x74, 0x03, 0x24, 0x4a, 0xe6, 0xca, 0x73, 0xc8, 0xf4, 0xc5, 0xf8, 0xae, 0x2d, 0xbe, - 0x1b, 0xa0, 0x5f, 0x58, 0x7c, 0xcf, 0xf1, 0xb5, 0xe5, 0xcb, 0xac, 0xab, 0x39, 0x63, 0x6e, 0x80, - 0x8c, 0x15, 0x26, 0xc6, 0x3c, 0x87, 0x31, 0x6d, 0xbb, 0x5e, 0x9e, 0xec, 0x79, 0xf0, 0x13, 0x00, - 0x00, 0xff, 0xff, 0x0d, 0x72, 0x33, 0x52, 0xc5, 0x02, 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 - -// 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.v1.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) -} - -// UnimplementedKeywordViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedKeywordViewServiceServer struct { -} - -func (*UnimplementedKeywordViewServiceServer) GetKeywordView(ctx context.Context, req *GetKeywordViewRequest) (*resources.KeywordView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetKeywordView not implemented") -} - -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.v1.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.v1.services.KeywordViewService", - HandlerType: (*KeywordViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetKeywordView", - Handler: _KeywordViewService_GetKeywordView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/keyword_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/label_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/label_service.pb.go deleted file mode 100644 index 4e70c83c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/label_service.pb.go +++ /dev/null @@ -1,527 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/label_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [LabelService.GetLabel][google.ads.googleads.v1.services.LabelService.GetLabel]. -type GetLabelRequest struct { - // The resource name of the label 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 *GetLabelRequest) Reset() { *m = GetLabelRequest{} } -func (m *GetLabelRequest) String() string { return proto.CompactTextString(m) } -func (*GetLabelRequest) ProtoMessage() {} -func (*GetLabelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_43c34accccca4b63, []int{0} -} - -func (m *GetLabelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetLabelRequest.Unmarshal(m, b) -} -func (m *GetLabelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetLabelRequest.Marshal(b, m, deterministic) -} -func (m *GetLabelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetLabelRequest.Merge(m, src) -} -func (m *GetLabelRequest) XXX_Size() int { - return xxx_messageInfo_GetLabelRequest.Size(m) -} -func (m *GetLabelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetLabelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetLabelRequest proto.InternalMessageInfo - -func (m *GetLabelRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for -// [LabelService.MutateLabels][google.ads.googleads.v1.services.LabelService.MutateLabels]. -type MutateLabelsRequest struct { - // ID of the customer whose labels 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 labels. - Operations []*LabelOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateLabelsRequest) Reset() { *m = MutateLabelsRequest{} } -func (m *MutateLabelsRequest) String() string { return proto.CompactTextString(m) } -func (*MutateLabelsRequest) ProtoMessage() {} -func (*MutateLabelsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_43c34accccca4b63, []int{1} -} - -func (m *MutateLabelsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateLabelsRequest.Unmarshal(m, b) -} -func (m *MutateLabelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateLabelsRequest.Marshal(b, m, deterministic) -} -func (m *MutateLabelsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateLabelsRequest.Merge(m, src) -} -func (m *MutateLabelsRequest) XXX_Size() int { - return xxx_messageInfo_MutateLabelsRequest.Size(m) -} -func (m *MutateLabelsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateLabelsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateLabelsRequest proto.InternalMessageInfo - -func (m *MutateLabelsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateLabelsRequest) GetOperations() []*LabelOperation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *MutateLabelsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateLabelsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// A single operation (create, remove, update) on a label. -type LabelOperation 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: - // *LabelOperation_Create - // *LabelOperation_Update - // *LabelOperation_Remove - Operation isLabelOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LabelOperation) Reset() { *m = LabelOperation{} } -func (m *LabelOperation) String() string { return proto.CompactTextString(m) } -func (*LabelOperation) ProtoMessage() {} -func (*LabelOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_43c34accccca4b63, []int{2} -} - -func (m *LabelOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LabelOperation.Unmarshal(m, b) -} -func (m *LabelOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LabelOperation.Marshal(b, m, deterministic) -} -func (m *LabelOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelOperation.Merge(m, src) -} -func (m *LabelOperation) XXX_Size() int { - return xxx_messageInfo_LabelOperation.Size(m) -} -func (m *LabelOperation) XXX_DiscardUnknown() { - xxx_messageInfo_LabelOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_LabelOperation proto.InternalMessageInfo - -func (m *LabelOperation) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -type isLabelOperation_Operation interface { - isLabelOperation_Operation() -} - -type LabelOperation_Create struct { - Create *resources.Label `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type LabelOperation_Update struct { - Update *resources.Label `protobuf:"bytes,2,opt,name=update,proto3,oneof"` -} - -type LabelOperation_Remove struct { - Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` -} - -func (*LabelOperation_Create) isLabelOperation_Operation() {} - -func (*LabelOperation_Update) isLabelOperation_Operation() {} - -func (*LabelOperation_Remove) isLabelOperation_Operation() {} - -func (m *LabelOperation) GetOperation() isLabelOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *LabelOperation) GetCreate() *resources.Label { - if x, ok := m.GetOperation().(*LabelOperation_Create); ok { - return x.Create - } - return nil -} - -func (m *LabelOperation) GetUpdate() *resources.Label { - if x, ok := m.GetOperation().(*LabelOperation_Update); ok { - return x.Update - } - return nil -} - -func (m *LabelOperation) GetRemove() string { - if x, ok := m.GetOperation().(*LabelOperation_Remove); ok { - return x.Remove - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*LabelOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*LabelOperation_Create)(nil), - (*LabelOperation_Update)(nil), - (*LabelOperation_Remove)(nil), - } -} - -// Response message for a labels mutate. -type MutateLabelsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // All results for the mutate. - Results []*MutateLabelResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateLabelsResponse) Reset() { *m = MutateLabelsResponse{} } -func (m *MutateLabelsResponse) String() string { return proto.CompactTextString(m) } -func (*MutateLabelsResponse) ProtoMessage() {} -func (*MutateLabelsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_43c34accccca4b63, []int{3} -} - -func (m *MutateLabelsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateLabelsResponse.Unmarshal(m, b) -} -func (m *MutateLabelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateLabelsResponse.Marshal(b, m, deterministic) -} -func (m *MutateLabelsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateLabelsResponse.Merge(m, src) -} -func (m *MutateLabelsResponse) XXX_Size() int { - return xxx_messageInfo_MutateLabelsResponse.Size(m) -} -func (m *MutateLabelsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateLabelsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateLabelsResponse proto.InternalMessageInfo - -func (m *MutateLabelsResponse) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -func (m *MutateLabelsResponse) GetResults() []*MutateLabelResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for a label mutate. -type MutateLabelResult 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 *MutateLabelResult) Reset() { *m = MutateLabelResult{} } -func (m *MutateLabelResult) String() string { return proto.CompactTextString(m) } -func (*MutateLabelResult) ProtoMessage() {} -func (*MutateLabelResult) Descriptor() ([]byte, []int) { - return fileDescriptor_43c34accccca4b63, []int{4} -} - -func (m *MutateLabelResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateLabelResult.Unmarshal(m, b) -} -func (m *MutateLabelResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateLabelResult.Marshal(b, m, deterministic) -} -func (m *MutateLabelResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateLabelResult.Merge(m, src) -} -func (m *MutateLabelResult) XXX_Size() int { - return xxx_messageInfo_MutateLabelResult.Size(m) -} -func (m *MutateLabelResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateLabelResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateLabelResult proto.InternalMessageInfo - -func (m *MutateLabelResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetLabelRequest)(nil), "google.ads.googleads.v1.services.GetLabelRequest") - proto.RegisterType((*MutateLabelsRequest)(nil), "google.ads.googleads.v1.services.MutateLabelsRequest") - proto.RegisterType((*LabelOperation)(nil), "google.ads.googleads.v1.services.LabelOperation") - proto.RegisterType((*MutateLabelsResponse)(nil), "google.ads.googleads.v1.services.MutateLabelsResponse") - proto.RegisterType((*MutateLabelResult)(nil), "google.ads.googleads.v1.services.MutateLabelResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/label_service.proto", fileDescriptor_43c34accccca4b63) -} - -var fileDescriptor_43c34accccca4b63 = []byte{ - // 699 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x41, 0x6b, 0xd4, 0x40, - 0x14, 0x36, 0xa9, 0xd4, 0x76, 0xb2, 0xb6, 0x74, 0xaa, 0xb8, 0x2c, 0xa2, 0x4b, 0x2c, 0xb8, 0xac, - 0x98, 0x74, 0xb7, 0x5a, 0x24, 0xa5, 0x87, 0x5d, 0xb0, 0xad, 0x60, 0x6d, 0x49, 0xa1, 0x07, 0x59, - 0x08, 0xd3, 0xcd, 0x74, 0x09, 0x4d, 0x32, 0x71, 0x66, 0xb2, 0x52, 0x4a, 0x2f, 0xfe, 0x05, 0x4f, - 0x5e, 0x3d, 0x0a, 0x1e, 0xfd, 0x13, 0x5e, 0x05, 0x7f, 0x80, 0x78, 0xf2, 0x17, 0x78, 0xf0, 0x20, - 0x33, 0x93, 0x89, 0xbb, 0x95, 0xb2, 0xdd, 0xdb, 0xcb, 0x9b, 0xef, 0xfb, 0xde, 0x37, 0xef, 0xe5, - 0x0d, 0x78, 0x32, 0x20, 0x64, 0x10, 0x63, 0x17, 0x85, 0xcc, 0x55, 0xa1, 0x88, 0x86, 0x2d, 0x97, - 0x61, 0x3a, 0x8c, 0xfa, 0x98, 0xb9, 0x31, 0x3a, 0xc2, 0x71, 0x50, 0x7c, 0x3a, 0x19, 0x25, 0x9c, - 0xc0, 0xba, 0x82, 0x3a, 0x28, 0x64, 0x4e, 0xc9, 0x72, 0x86, 0x2d, 0x47, 0xb3, 0x6a, 0x8f, 0x2f, - 0xd3, 0xa5, 0x98, 0x91, 0x9c, 0x96, 0xc2, 0x4a, 0xb0, 0x76, 0x57, 0xc3, 0xb3, 0xc8, 0x45, 0x69, - 0x4a, 0x38, 0xe2, 0x11, 0x49, 0x59, 0x71, 0x5a, 0x94, 0x73, 0xe5, 0xd7, 0x51, 0x7e, 0xec, 0x1e, - 0x47, 0x38, 0x0e, 0x83, 0x04, 0xb1, 0x93, 0x02, 0x71, 0xef, 0x22, 0xe2, 0x2d, 0x45, 0x59, 0x86, - 0xa9, 0x56, 0xb8, 0x53, 0x9c, 0xd3, 0xac, 0xef, 0x32, 0x8e, 0x78, 0x5e, 0x1c, 0xd8, 0xeb, 0x60, - 0x71, 0x1b, 0xf3, 0x97, 0xc2, 0x8a, 0x8f, 0xdf, 0xe4, 0x98, 0x71, 0xf8, 0x00, 0xdc, 0xd4, 0x26, - 0x83, 0x14, 0x25, 0xb8, 0x6a, 0xd4, 0x8d, 0xc6, 0xbc, 0x5f, 0xd1, 0xc9, 0x57, 0x28, 0xc1, 0xf6, - 0x77, 0x03, 0x2c, 0xef, 0xe6, 0x1c, 0x71, 0x2c, 0xb9, 0x4c, 0x93, 0xef, 0x03, 0xab, 0x9f, 0x33, - 0x4e, 0x12, 0x4c, 0x83, 0x28, 0x2c, 0xa8, 0x40, 0xa7, 0x5e, 0x84, 0x70, 0x1f, 0x00, 0x92, 0x61, - 0xaa, 0xee, 0x57, 0x35, 0xeb, 0x33, 0x0d, 0xab, 0xbd, 0xea, 0x4c, 0xea, 0xa7, 0x23, 0xab, 0xec, - 0x69, 0xa2, 0x3f, 0xa2, 0x01, 0x1f, 0x82, 0xc5, 0x0c, 0x51, 0x1e, 0xa1, 0x38, 0x38, 0x46, 0x51, - 0x9c, 0x53, 0x5c, 0x9d, 0xa9, 0x1b, 0x8d, 0x39, 0x7f, 0xa1, 0x48, 0x6f, 0xa9, 0xac, 0xb8, 0xd8, - 0x10, 0xc5, 0x51, 0x88, 0x38, 0x0e, 0x48, 0x1a, 0x9f, 0x56, 0xaf, 0x4b, 0x58, 0x45, 0x27, 0xf7, - 0xd2, 0xf8, 0xd4, 0xfe, 0x63, 0x80, 0x85, 0xf1, 0x62, 0x70, 0x03, 0x58, 0x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0xbd, 0x2a, 0xcc, 0x6d, 0xaa, 0x17, 0x82, 0xb9, 0xcd, 0x73, 0xf8, 0xc5, 0x00, 0x95, - 0xd1, 0xb1, 0xc0, 0xa7, 0x53, 0x75, 0x4d, 0xaf, 0x67, 0x6d, 0x7d, 0x5a, 0x9a, 0x9a, 0xbe, 0xbd, - 0x2e, 0x1d, 0xaf, 0xda, 0x8f, 0x84, 0xe3, 0x7f, 0x16, 0xcf, 0x46, 0x76, 0x7d, 0xb3, 0x79, 0x5e, - 0x18, 0xf6, 0x12, 0x29, 0xe1, 0x19, 0xcd, 0xee, 0x6f, 0x03, 0xac, 0xf4, 0x49, 0x32, 0xb1, 0x6a, - 0x77, 0x69, 0x74, 0x14, 0xfb, 0x62, 0xa5, 0xf6, 0x8d, 0xd7, 0x3b, 0x05, 0x6d, 0x40, 0x62, 0x94, - 0x0e, 0x1c, 0x42, 0x07, 0xee, 0x00, 0xa7, 0x72, 0xe1, 0xf4, 0xa3, 0x9a, 0x45, 0xec, 0xf2, 0xb7, - 0x7b, 0x43, 0x07, 0x1f, 0xcd, 0x99, 0xed, 0x4e, 0xe7, 0x93, 0x59, 0xdf, 0x56, 0x82, 0x9d, 0x90, - 0x39, 0x2a, 0x14, 0xd1, 0x61, 0xcb, 0x29, 0x0a, 0xb3, 0xaf, 0x1a, 0xd2, 0xeb, 0x84, 0xac, 0x57, - 0x42, 0x7a, 0x87, 0xad, 0x9e, 0x86, 0xfc, 0x32, 0x57, 0x54, 0xde, 0xf3, 0x3a, 0x21, 0xf3, 0xbc, - 0x12, 0xe4, 0x79, 0x87, 0x2d, 0xcf, 0xd3, 0xb0, 0xa3, 0x59, 0xe9, 0x73, 0xed, 0x6f, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x38, 0xc2, 0xb6, 0xf8, 0x62, 0x06, 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 - -// LabelServiceClient is the client API for LabelService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type LabelServiceClient interface { - // Returns the requested label in full detail. - GetLabel(ctx context.Context, in *GetLabelRequest, opts ...grpc.CallOption) (*resources.Label, error) - // Creates, updates, or removes labels. Operation statuses are returned. - MutateLabels(ctx context.Context, in *MutateLabelsRequest, opts ...grpc.CallOption) (*MutateLabelsResponse, error) -} - -type labelServiceClient struct { - cc *grpc.ClientConn -} - -func NewLabelServiceClient(cc *grpc.ClientConn) LabelServiceClient { - return &labelServiceClient{cc} -} - -func (c *labelServiceClient) GetLabel(ctx context.Context, in *GetLabelRequest, opts ...grpc.CallOption) (*resources.Label, error) { - out := new(resources.Label) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.LabelService/GetLabel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *labelServiceClient) MutateLabels(ctx context.Context, in *MutateLabelsRequest, opts ...grpc.CallOption) (*MutateLabelsResponse, error) { - out := new(MutateLabelsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.LabelService/MutateLabels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// LabelServiceServer is the server API for LabelService service. -type LabelServiceServer interface { - // Returns the requested label in full detail. - GetLabel(context.Context, *GetLabelRequest) (*resources.Label, error) - // Creates, updates, or removes labels. Operation statuses are returned. - MutateLabels(context.Context, *MutateLabelsRequest) (*MutateLabelsResponse, error) -} - -// UnimplementedLabelServiceServer can be embedded to have forward compatible implementations. -type UnimplementedLabelServiceServer struct { -} - -func (*UnimplementedLabelServiceServer) GetLabel(ctx context.Context, req *GetLabelRequest) (*resources.Label, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetLabel not implemented") -} -func (*UnimplementedLabelServiceServer) MutateLabels(ctx context.Context, req *MutateLabelsRequest) (*MutateLabelsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateLabels not implemented") -} - -func RegisterLabelServiceServer(s *grpc.Server, srv LabelServiceServer) { - s.RegisterService(&_LabelService_serviceDesc, srv) -} - -func _LabelService_GetLabel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetLabelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LabelServiceServer).GetLabel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.LabelService/GetLabel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LabelServiceServer).GetLabel(ctx, req.(*GetLabelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LabelService_MutateLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateLabelsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LabelServiceServer).MutateLabels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.LabelService/MutateLabels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LabelServiceServer).MutateLabels(ctx, req.(*MutateLabelsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _LabelService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.LabelService", - HandlerType: (*LabelServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetLabel", - Handler: _LabelService_GetLabel_Handler, - }, - { - MethodName: "MutateLabels", - Handler: _LabelService_MutateLabels_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/label_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/landing_page_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/landing_page_view_service.pb.go deleted file mode 100644 index 096ec421..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/landing_page_view_service.pb.go +++ /dev/null @@ -1,190 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/landing_page_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [LandingPageViewService.GetLandingPageView][google.ads.googleads.v1.services.LandingPageViewService.GetLandingPageView]. -type GetLandingPageViewRequest struct { - // The resource name of the landing page 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 *GetLandingPageViewRequest) Reset() { *m = GetLandingPageViewRequest{} } -func (m *GetLandingPageViewRequest) String() string { return proto.CompactTextString(m) } -func (*GetLandingPageViewRequest) ProtoMessage() {} -func (*GetLandingPageViewRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d96ac4a790ee5970, []int{0} -} - -func (m *GetLandingPageViewRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetLandingPageViewRequest.Unmarshal(m, b) -} -func (m *GetLandingPageViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetLandingPageViewRequest.Marshal(b, m, deterministic) -} -func (m *GetLandingPageViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetLandingPageViewRequest.Merge(m, src) -} -func (m *GetLandingPageViewRequest) XXX_Size() int { - return xxx_messageInfo_GetLandingPageViewRequest.Size(m) -} -func (m *GetLandingPageViewRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetLandingPageViewRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetLandingPageViewRequest proto.InternalMessageInfo - -func (m *GetLandingPageViewRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetLandingPageViewRequest)(nil), "google.ads.googleads.v1.services.GetLandingPageViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/landing_page_view_service.proto", fileDescriptor_d96ac4a790ee5970) -} - -var fileDescriptor_d96ac4a790ee5970 = []byte{ - // 387 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xbf, 0x6a, 0xdb, 0x40, - 0x18, 0x47, 0x2a, 0x14, 0x2a, 0xda, 0x45, 0x43, 0x69, 0xdd, 0x52, 0x8c, 0xeb, 0xa1, 0x78, 0xb8, - 0x43, 0x6e, 0x97, 0x9e, 0x09, 0x58, 0x5e, 0x9c, 0x21, 0x04, 0xe3, 0x80, 0x86, 0x20, 0x10, 0x67, - 0xeb, 0xcb, 0x21, 0xb0, 0xee, 0x94, 0x3b, 0x49, 0x1e, 0x42, 0x16, 0xbf, 0x42, 0xde, 0x20, 0x63, - 0xde, 0x22, 0x6b, 0xd6, 0xac, 0x19, 0x33, 0xe5, 0x29, 0x82, 0x7c, 0x3a, 0x41, 0x1c, 0x0b, 0x6f, - 0x3f, 0xdd, 0xf7, 0xfb, 0xf3, 0xdd, 0xef, 0xe4, 0x8c, 0x99, 0x10, 0x6c, 0x05, 0x98, 0xc6,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, 0xae, 0x27, 0x1b, 0xdb, 0xe9, 0x2f, 0x45, 0x7a, 0x70, 0xe5, 0xc9, - 0x8f, 0xfd, 0x25, 0xcc, 0xaa, 0x9a, 0x67, 0xd6, 0xf9, 0x71, 0x6d, 0xc0, 0xc4, 0x8a, 0x72, 0x86, - 0x84, 0x64, 0x98, 0x01, 0xdf, 0x3e, 0x82, 0x79, 0xf1, 0x2c, 0x51, 0xed, 0x3f, 0xd9, 0xc8, 0x80, - 0x5b, 0xfb, 0xc3, 0xd4, 0xf7, 0xef, 0xec, 0xee, 0x54, 0x1b, 0xfa, 0xb1, 0x42, 0x1a, 0x56, 0x28, - 0xf0, 0x50, 0x1d, 0xac, 0x1e, 0x0c, 0x25, 0xf4, 0x63, 0x15, 0x36, 0x94, 0x30, 0xf0, 0x42, 0x43, - 0x79, 0xb1, 0xfb, 0xfa, 0x9c, 0x10, 0x3f, 0x56, 0x84, 0x34, 0x24, 0x42, 0x02, 0x8f, 0x10, 0x43, - 0x5b, 0x7c, 0xdc, 0xee, 0xf9, 0xf7, 0x35, 0x00, 0x00, 0xff, 0xff, 0x3e, 0xa1, 0x45, 0x50, 0x0b, - 0x03, 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 - -// LandingPageViewServiceClient is the client API for LandingPageViewService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type LandingPageViewServiceClient interface { - // Returns the requested landing page view in full detail. - GetLandingPageView(ctx context.Context, in *GetLandingPageViewRequest, opts ...grpc.CallOption) (*resources.LandingPageView, error) -} - -type landingPageViewServiceClient struct { - cc *grpc.ClientConn -} - -func NewLandingPageViewServiceClient(cc *grpc.ClientConn) LandingPageViewServiceClient { - return &landingPageViewServiceClient{cc} -} - -func (c *landingPageViewServiceClient) GetLandingPageView(ctx context.Context, in *GetLandingPageViewRequest, opts ...grpc.CallOption) (*resources.LandingPageView, error) { - out := new(resources.LandingPageView) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.LandingPageViewService/GetLandingPageView", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// LandingPageViewServiceServer is the server API for LandingPageViewService service. -type LandingPageViewServiceServer interface { - // Returns the requested landing page view in full detail. - GetLandingPageView(context.Context, *GetLandingPageViewRequest) (*resources.LandingPageView, error) -} - -// UnimplementedLandingPageViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedLandingPageViewServiceServer struct { -} - -func (*UnimplementedLandingPageViewServiceServer) GetLandingPageView(ctx context.Context, req *GetLandingPageViewRequest) (*resources.LandingPageView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetLandingPageView not implemented") -} - -func RegisterLandingPageViewServiceServer(s *grpc.Server, srv LandingPageViewServiceServer) { - s.RegisterService(&_LandingPageViewService_serviceDesc, srv) -} - -func _LandingPageViewService_GetLandingPageView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetLandingPageViewRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LandingPageViewServiceServer).GetLandingPageView(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.LandingPageViewService/GetLandingPageView", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LandingPageViewServiceServer).GetLandingPageView(ctx, req.(*GetLandingPageViewRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _LandingPageViewService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.LandingPageViewService", - HandlerType: (*LandingPageViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetLandingPageView", - Handler: _LandingPageViewService_GetLandingPageView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/landing_page_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/language_constant_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/language_constant_service.pb.go deleted file mode 100644 index 21926b8b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/language_constant_service.pb.go +++ /dev/null @@ -1,187 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/language_constant_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [LanguageConstantService.GetLanguageConstant][google.ads.googleads.v1.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_167ba166e955dde1, []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 (m *GetLanguageConstantRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetLanguageConstantRequest.Merge(m, 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.v1.services.GetLanguageConstantRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/language_constant_service.proto", fileDescriptor_167ba166e955dde1) -} - -var fileDescriptor_167ba166e955dde1 = []byte{ - // 355 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0x4d, 0x4a, 0xc3, 0x40, - 0x14, 0x26, 0x11, 0x04, 0x07, 0xdd, 0xc4, 0x85, 0x12, 0xba, 0x28, 0xb5, 0xe0, 0xcf, 0x62, 0x86, - 0xd8, 0x95, 0xa3, 0x82, 0x53, 0x17, 0x75, 0x21, 0x52, 0x2a, 0x74, 0x21, 0x81, 0x32, 0x36, 0xc3, - 0x10, 0x68, 0x67, 0x6a, 0xde, 0xb4, 0x1b, 0x71, 0xa3, 0x47, 0xf0, 0x06, 0x2e, 0xbd, 0x81, 0x57, - 0x70, 0x2b, 0xde, 0xc0, 0x95, 0xa7, 0x90, 0x74, 0x32, 0x01, 0x4b, 0x43, 0x77, 0x1f, 0xf3, 0xbe, - 0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, 0x37, 0xdc, 0xf5, 0xee, 0xae, 0x0a, 0x07, 0xa9, 0xf3, 0x1c, - 0xac, 0x33, 0x49, 0xa4, 0x50, 0xf3, 0xfe, 0xdd, 0xc7, 0x9c, 0xa4, 0x50, 0xfd, 0xff, 0x9c, 0x3a, - 0xf0, 0xe6, 0xaf, 0x75, 0x18, 0x7b, 0xf7, 0xeb, 0x1d, 0x6b, 0xc8, 0x12, 0xc0, 0x16, 0xe6, 0xa8, - 0x1f, 0xe1, 0x22, 0x18, 0x3e, 0x1d, 0x25, 0x66, 0x09, 0xc4, 0x25, 0x25, 0xee, 0x47, 0xb1, 0xa3, - 0xfc, 0xfa, 0x4d, 0xfb, 0x4e, 0x29, 0x4b, 0x80, 0xd2, 0x92, 0x44, 0x69, 0x3f, 0xa2, 0xd4, 0xd1, - 0xee, 0xd7, 0xe7, 0x7b, 0xb6, 0xfe, 0x02, 0x00, 0x00, 0xff, 0xff, 0xd6, 0xf6, 0xfe, 0xfa, 0xe6, - 0x02, 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 - -// 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.v1.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) -} - -// UnimplementedLanguageConstantServiceServer can be embedded to have forward compatible implementations. -type UnimplementedLanguageConstantServiceServer struct { -} - -func (*UnimplementedLanguageConstantServiceServer) GetLanguageConstant(ctx context.Context, req *GetLanguageConstantRequest) (*resources.LanguageConstant, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetLanguageConstant not implemented") -} - -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.v1.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.v1.services.LanguageConstantService", - HandlerType: (*LanguageConstantServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetLanguageConstant", - Handler: _LanguageConstantService_GetLanguageConstant_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/language_constant_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/location_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/location_view_service.pb.go deleted file mode 100644 index ff50db21..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/location_view_service.pb.go +++ /dev/null @@ -1,187 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/location_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [LocationViewService.GetLocationView][google.ads.googleads.v1.services.LocationViewService.GetLocationView]. -type GetLocationViewRequest struct { - // The resource name of the location 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 *GetLocationViewRequest) Reset() { *m = GetLocationViewRequest{} } -func (m *GetLocationViewRequest) String() string { return proto.CompactTextString(m) } -func (*GetLocationViewRequest) ProtoMessage() {} -func (*GetLocationViewRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cee10bb181b86493, []int{0} -} - -func (m *GetLocationViewRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetLocationViewRequest.Unmarshal(m, b) -} -func (m *GetLocationViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetLocationViewRequest.Marshal(b, m, deterministic) -} -func (m *GetLocationViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetLocationViewRequest.Merge(m, src) -} -func (m *GetLocationViewRequest) XXX_Size() int { - return xxx_messageInfo_GetLocationViewRequest.Size(m) -} -func (m *GetLocationViewRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetLocationViewRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetLocationViewRequest proto.InternalMessageInfo - -func (m *GetLocationViewRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetLocationViewRequest)(nil), "google.ads.googleads.v1.services.GetLocationViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/location_view_service.proto", fileDescriptor_cee10bb181b86493) -} - -var fileDescriptor_cee10bb181b86493 = []byte{ - // 362 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x3f, 0x4b, 0xc3, 0x40, - 0x18, 0xc6, 0x49, 0x04, 0xc1, 0xa0, 0x08, 0x11, 0xa4, 0x14, 0x87, 0x52, 0x3b, 0x48, 0x87, 0x3b, - 0xa2, 0x88, 0x72, 0xda, 0x21, 0x5d, 0xea, 0x20, 0x52, 0x2a, 0x64, 0x90, 0x40, 0x39, 0x93, 0x97, - 0x10, 0x68, 0x72, 0x35, 0xef, 0x35, 0x1d, 0xc4, 0xc5, 0xaf, 0xe0, 0x37, 0x70, 0x74, 0xf7, 0x4b, - 0x08, 0x4e, 0x7e, 0x05, 0x27, 0xbf, 0x84, 0x92, 0x5e, 0x2e, 0x54, 0x6d, 0xe9, 0xf6, 0xf0, 0xe6, - 0xf9, 0x3d, 0xef, 0x9f, 0x9c, 0x75, 0x1e, 0x09, 0x11, 0x8d, 0x80, 0xf2, 0x10, 0xa9, 0x92, 0x85, - 0xca, 0x1d, 0x8a, 0x90, 0xe5, 0x71, 0x00, 0x48, 0x47, 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0xb8, - 0x71, 0x8c, 0xcb, 0xdf, 0xc9, 0x99, 0x16, 0xcf, 0xe6, 0x5a, 0xcf, 0x75, 0x5f, 0xcc, 0x46, 0x4f, - 0x05, 0xba, 0x21, 0x12, 0x25, 0x0b, 0xe5, 0x39, 0xa4, 0x6c, 0x8c, 0x6f, 0xda, 0xe2, 0xbb, 0x21, - 0xfa, 0x95, 0xc5, 0xf7, 0x1c, 0x5f, 0x5b, 0xbe, 0xcc, 0x96, 0xaa, 0x33, 0xe6, 0x86, 0xc8, 0x58, - 0x65, 0x62, 0xcc, 0x73, 0x18, 0xd3, 0xb6, 0xdb, 0xf5, 0xd9, 0x9c, 0x47, 0x3f, 0x01, 0x00, 0x00, - 0xff, 0xff, 0x91, 0x8a, 0x03, 0x21, 0xce, 0x02, 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 - -// LocationViewServiceClient is the client API for LocationViewService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type LocationViewServiceClient interface { - // Returns the requested location view in full detail. - GetLocationView(ctx context.Context, in *GetLocationViewRequest, opts ...grpc.CallOption) (*resources.LocationView, error) -} - -type locationViewServiceClient struct { - cc *grpc.ClientConn -} - -func NewLocationViewServiceClient(cc *grpc.ClientConn) LocationViewServiceClient { - return &locationViewServiceClient{cc} -} - -func (c *locationViewServiceClient) GetLocationView(ctx context.Context, in *GetLocationViewRequest, opts ...grpc.CallOption) (*resources.LocationView, error) { - out := new(resources.LocationView) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.LocationViewService/GetLocationView", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// LocationViewServiceServer is the server API for LocationViewService service. -type LocationViewServiceServer interface { - // Returns the requested location view in full detail. - GetLocationView(context.Context, *GetLocationViewRequest) (*resources.LocationView, error) -} - -// UnimplementedLocationViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedLocationViewServiceServer struct { -} - -func (*UnimplementedLocationViewServiceServer) GetLocationView(ctx context.Context, req *GetLocationViewRequest) (*resources.LocationView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetLocationView not implemented") -} - -func RegisterLocationViewServiceServer(s *grpc.Server, srv LocationViewServiceServer) { - s.RegisterService(&_LocationViewService_serviceDesc, srv) -} - -func _LocationViewService_GetLocationView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetLocationViewRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LocationViewServiceServer).GetLocationView(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.LocationViewService/GetLocationView", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LocationViewServiceServer).GetLocationView(ctx, req.(*GetLocationViewRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _LocationViewService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.LocationViewService", - HandlerType: (*LocationViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetLocationView", - Handler: _LocationViewService_GetLocationView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/location_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/managed_placement_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/managed_placement_view_service.pb.go deleted file mode 100644 index bd8481ba..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/managed_placement_view_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/managed_placement_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [ManagedPlacementViewService.GetManagedPlacementView][google.ads.googleads.v1.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_c301455ca7db209f, []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 (m *GetManagedPlacementViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetManagedPlacementViewRequest.Merge(m, 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.v1.services.GetManagedPlacementViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/managed_placement_view_service.proto", fileDescriptor_c301455ca7db209f) -} - -var fileDescriptor_c301455ca7db209f = []byte{ - // 378 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0x3d, 0x6b, 0xdb, 0x40, - 0x18, 0x46, 0x2a, 0x14, 0x2a, 0xda, 0x45, 0x4b, 0x8b, 0x5b, 0x8a, 0x70, 0x3d, 0x14, 0x0f, 0x77, - 0xa8, 0x1d, 0x4c, 0x2e, 0xe4, 0x43, 0x06, 0xe3, 0x2c, 0x09, 0xc6, 0x01, 0x0d, 0x41, 0x20, 0x2e, - 0xd2, 0x8b, 0x10, 0x58, 0x77, 0x8a, 0x5e, 0x59, 0x1e, 0x42, 0x96, 0x2c, 0xf9, 0x01, 0xf9, 0x07, - 0x19, 0xf3, 0x53, 0xb2, 0x86, 0xfc, 0x83, 0x4c, 0xd9, 0xb3, 0x07, 0xf9, 0x7c, 0x02, 0x83, 0x65, - 0x6f, 0x0f, 0x77, 0xcf, 0xc7, 0xbd, 0xcf, 0x7b, 0xd6, 0x28, 0x91, 0x32, 0x99, 0x01, 0xe5, 0x31, - 0x52, 0x05, 0x6b, 0x54, 0xb9, 0x14, 0xa1, 0xa8, 0xd2, 0x08, 0x90, 0x66, 0x5c, 0xf0, 0x04, 0xe2, - 0x30, 0x9f, 0xf1, 0x08, 0x32, 0x10, 0x65, 0x58, 0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7c, - 0x9e, 0x62, 0xfb, 0x8f, 0xdb, 0xd7, 0xe0, 0xc1, 0xfc, 0x34, 0xf6, 0xbc, 0x47, 0xd3, 0x19, 0x2b, - 0x43, 0x2f, 0x46, 0xa2, 0x60, 0x8d, 0x7c, 0x97, 0xac, 0x82, 0xf1, 0x49, 0x53, 0x02, 0x2f, 0xc6, - 0xa0, 0xa1, 0x04, 0xbe, 0x1b, 0x68, 0xca, 0x9b, 0xd9, 0x53, 0xe7, 0x8c, 0x79, 0x31, 0x32, 0xd6, - 0x90, 0x18, 0xf3, 0x5d, 0xc6, 0x34, 0xed, 0xf2, 0xf3, 0xf2, 0x9d, 0xff, 0x3f, 0x02, 0x00, 0x00, - 0xff, 0xff, 0xc9, 0xd9, 0x16, 0xaa, 0x18, 0x03, 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 - -// 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.v1.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) -} - -// UnimplementedManagedPlacementViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedManagedPlacementViewServiceServer struct { -} - -func (*UnimplementedManagedPlacementViewServiceServer) GetManagedPlacementView(ctx context.Context, req *GetManagedPlacementViewRequest) (*resources.ManagedPlacementView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetManagedPlacementView not implemented") -} - -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.v1.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.v1.services.ManagedPlacementViewService", - HandlerType: (*ManagedPlacementViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetManagedPlacementView", - Handler: _ManagedPlacementViewService_GetManagedPlacementView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/managed_placement_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/media_file_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/media_file_service.pb.go deleted file mode 100644 index b650620f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/media_file_service.pb.go +++ /dev/null @@ -1,484 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/media_file_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [MediaFileService.GetMediaFile][google.ads.googleads.v1.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_793e9e1492d555b0, []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 (m *GetMediaFileRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetMediaFileRequest.Merge(m, 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.v1.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_793e9e1492d555b0, []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 (m *MutateMediaFilesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateMediaFilesRequest.Merge(m, 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 -} - -func (m *MutateMediaFilesRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateMediaFilesRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_793e9e1492d555b0, []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 (m *MediaFileOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_MediaFileOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*MediaFileOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*MediaFileOperation_Create)(nil), - } -} - -// Response message for a media file mutate. -type MutateMediaFilesResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_793e9e1492d555b0, []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 (m *MutateMediaFilesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateMediaFilesResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_793e9e1492d555b0, []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 (m *MutateMediaFileResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateMediaFileResult.Merge(m, 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.v1.services.GetMediaFileRequest") - proto.RegisterType((*MutateMediaFilesRequest)(nil), "google.ads.googleads.v1.services.MutateMediaFilesRequest") - proto.RegisterType((*MediaFileOperation)(nil), "google.ads.googleads.v1.services.MediaFileOperation") - proto.RegisterType((*MutateMediaFilesResponse)(nil), "google.ads.googleads.v1.services.MutateMediaFilesResponse") - proto.RegisterType((*MutateMediaFileResult)(nil), "google.ads.googleads.v1.services.MutateMediaFileResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/media_file_service.proto", fileDescriptor_793e9e1492d555b0) -} - -var fileDescriptor_793e9e1492d555b0 = []byte{ - // 646 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xcd, 0x6e, 0xd3, 0x4c, - 0x14, 0xfd, 0x9c, 0x7c, 0x2a, 0x74, 0x52, 0xa0, 0x9a, 0xaa, 0x6a, 0x14, 0x21, 0x88, 0x4c, 0x25, - 0xaa, 0xa8, 0x1a, 0x2b, 0xa1, 0x08, 0x75, 0xa0, 0x8b, 0x54, 0x22, 0x2d, 0x8b, 0xd2, 0xe2, 0xa2, - 0x2e, 0x50, 0x24, 0x6b, 0x6a, 0x4f, 0xad, 0x91, 0x6c, 0x8f, 0x99, 0x19, 0x07, 0x55, 0x55, 0x37, - 0x2c, 0x78, 0x01, 0xde, 0x80, 0x1d, 0xec, 0x79, 0x04, 0x36, 0x6c, 0xd9, 0xb3, 0x62, 0xc5, 0x33, - 0xb0, 0x40, 0xf6, 0x78, 0xdc, 0xa4, 0x3f, 0x6a, 0xcb, 0xee, 0xfa, 0xde, 0x73, 0xee, 0x3d, 0xf7, - 0xc7, 0x03, 0x56, 0x43, 0xce, 0xc3, 0x88, 0x3a, 0x24, 0x90, 0x8e, 0x36, 0x73, 0x6b, 0xd4, 0x75, - 0x24, 0x15, 0x23, 0xe6, 0x53, 0xe9, 0xc4, 0x34, 0x60, 0xc4, 0x3b, 0x60, 0x11, 0xf5, 0x4a, 0x1f, - 0x4a, 0x05, 0x57, 0x1c, 0xb6, 0x35, 0x1e, 0x91, 0x40, 0xa2, 0x8a, 0x8a, 0x46, 0x5d, 0x64, 0xa8, - 0xad, 0xde, 0x45, 0xc9, 0x05, 0x95, 0x3c, 0x13, 0x93, 0xd9, 0x75, 0xd6, 0xd6, 0x5d, 0xc3, 0x49, - 0x99, 0x43, 0x92, 0x84, 0x2b, 0xa2, 0x18, 0x4f, 0x64, 0x19, 0xbd, 0x57, 0x46, 0x8b, 0xaf, 0xfd, - 0xec, 0xc0, 0x79, 0x27, 0x48, 0x9a, 0x52, 0x61, 0xe2, 0x0b, 0x65, 0x5c, 0xa4, 0xbe, 0x23, 0x15, - 0x51, 0x59, 0x19, 0xb0, 0x31, 0x98, 0xdb, 0xa0, 0x6a, 0x2b, 0xaf, 0x36, 0x60, 0x11, 0x75, 0xe9, - 0xdb, 0x8c, 0x4a, 0x05, 0x1f, 0x80, 0x5b, 0x46, 0x8b, 0x97, 0x90, 0x98, 0x36, 0xad, 0xb6, 0xb5, - 0x34, 0xed, 0xce, 0x18, 0xe7, 0x4b, 0x12, 0x53, 0xfb, 0xa7, 0x05, 0x16, 0xb6, 0x32, 0x45, 0x14, - 0xad, 0xf8, 0xd2, 0x24, 0xb8, 0x0f, 0x1a, 0x7e,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 0xb5, 0x45, 0xed, 0xc7, 0xb8, 0x1f, 0x48, 0x8c, 0x2b, 0x10, 0xc6, 0x7b, 0x5d, - 0x8c, 0x0d, 0x6c, 0x7f, 0xaa, 0xd0, 0xf9, 0xe8, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf1, 0x84, - 0xc8, 0x18, 0xf6, 0x05, 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 - -// 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.v1.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.v1.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) -} - -// UnimplementedMediaFileServiceServer can be embedded to have forward compatible implementations. -type UnimplementedMediaFileServiceServer struct { -} - -func (*UnimplementedMediaFileServiceServer) GetMediaFile(ctx context.Context, req *GetMediaFileRequest) (*resources.MediaFile, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetMediaFile not implemented") -} -func (*UnimplementedMediaFileServiceServer) MutateMediaFiles(ctx context.Context, req *MutateMediaFilesRequest) (*MutateMediaFilesResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateMediaFiles not implemented") -} - -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.v1.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.v1.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.v1.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/v1/services/media_file_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/merchant_center_link_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/merchant_center_link_service.pb.go deleted file mode 100644 index f67ed75c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/merchant_center_link_service.pb.go +++ /dev/null @@ -1,600 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/merchant_center_link_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [MerchantCenterLinkService.ListMerchantCenterLinks][google.ads.googleads.v1.services.MerchantCenterLinkService.ListMerchantCenterLinks]. -type ListMerchantCenterLinksRequest struct { - // The ID of the customer onto which to apply the Merchant Center link list - // operation. - 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 *ListMerchantCenterLinksRequest) Reset() { *m = ListMerchantCenterLinksRequest{} } -func (m *ListMerchantCenterLinksRequest) String() string { return proto.CompactTextString(m) } -func (*ListMerchantCenterLinksRequest) ProtoMessage() {} -func (*ListMerchantCenterLinksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2f76fd8f3030942d, []int{0} -} - -func (m *ListMerchantCenterLinksRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListMerchantCenterLinksRequest.Unmarshal(m, b) -} -func (m *ListMerchantCenterLinksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListMerchantCenterLinksRequest.Marshal(b, m, deterministic) -} -func (m *ListMerchantCenterLinksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListMerchantCenterLinksRequest.Merge(m, src) -} -func (m *ListMerchantCenterLinksRequest) XXX_Size() int { - return xxx_messageInfo_ListMerchantCenterLinksRequest.Size(m) -} -func (m *ListMerchantCenterLinksRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListMerchantCenterLinksRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListMerchantCenterLinksRequest proto.InternalMessageInfo - -func (m *ListMerchantCenterLinksRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -// Response message for -// [MerchantCenterLinkService.ListMerchantCenterLinks][google.ads.googleads.v1.services.MerchantCenterLinkService.ListMerchantCenterLinks]. -type ListMerchantCenterLinksResponse struct { - // Merchant Center links available for the requested customer - MerchantCenterLinks []*resources.MerchantCenterLink `protobuf:"bytes,1,rep,name=merchant_center_links,json=merchantCenterLinks,proto3" json:"merchant_center_links,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListMerchantCenterLinksResponse) Reset() { *m = ListMerchantCenterLinksResponse{} } -func (m *ListMerchantCenterLinksResponse) String() string { return proto.CompactTextString(m) } -func (*ListMerchantCenterLinksResponse) ProtoMessage() {} -func (*ListMerchantCenterLinksResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2f76fd8f3030942d, []int{1} -} - -func (m *ListMerchantCenterLinksResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListMerchantCenterLinksResponse.Unmarshal(m, b) -} -func (m *ListMerchantCenterLinksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListMerchantCenterLinksResponse.Marshal(b, m, deterministic) -} -func (m *ListMerchantCenterLinksResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListMerchantCenterLinksResponse.Merge(m, src) -} -func (m *ListMerchantCenterLinksResponse) XXX_Size() int { - return xxx_messageInfo_ListMerchantCenterLinksResponse.Size(m) -} -func (m *ListMerchantCenterLinksResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListMerchantCenterLinksResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListMerchantCenterLinksResponse proto.InternalMessageInfo - -func (m *ListMerchantCenterLinksResponse) GetMerchantCenterLinks() []*resources.MerchantCenterLink { - if m != nil { - return m.MerchantCenterLinks - } - return nil -} - -// Request message for -// [MerchantCenterLinkService.GetMerchantCenterLink][google.ads.googleads.v1.services.MerchantCenterLinkService.GetMerchantCenterLink]. -type GetMerchantCenterLinkRequest struct { - // Resource name of the Merchant Center link. - 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 *GetMerchantCenterLinkRequest) Reset() { *m = GetMerchantCenterLinkRequest{} } -func (m *GetMerchantCenterLinkRequest) String() string { return proto.CompactTextString(m) } -func (*GetMerchantCenterLinkRequest) ProtoMessage() {} -func (*GetMerchantCenterLinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2f76fd8f3030942d, []int{2} -} - -func (m *GetMerchantCenterLinkRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetMerchantCenterLinkRequest.Unmarshal(m, b) -} -func (m *GetMerchantCenterLinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetMerchantCenterLinkRequest.Marshal(b, m, deterministic) -} -func (m *GetMerchantCenterLinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetMerchantCenterLinkRequest.Merge(m, src) -} -func (m *GetMerchantCenterLinkRequest) XXX_Size() int { - return xxx_messageInfo_GetMerchantCenterLinkRequest.Size(m) -} -func (m *GetMerchantCenterLinkRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetMerchantCenterLinkRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetMerchantCenterLinkRequest proto.InternalMessageInfo - -func (m *GetMerchantCenterLinkRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for -// [MerchantCenterLinkService.MutateMerchantCenterLink][google.ads.googleads.v1.services.MerchantCenterLinkService.MutateMerchantCenterLink]. -type MutateMerchantCenterLinkRequest 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 link - Operation *MerchantCenterLinkOperation `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateMerchantCenterLinkRequest) Reset() { *m = MutateMerchantCenterLinkRequest{} } -func (m *MutateMerchantCenterLinkRequest) String() string { return proto.CompactTextString(m) } -func (*MutateMerchantCenterLinkRequest) ProtoMessage() {} -func (*MutateMerchantCenterLinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2f76fd8f3030942d, []int{3} -} - -func (m *MutateMerchantCenterLinkRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateMerchantCenterLinkRequest.Unmarshal(m, b) -} -func (m *MutateMerchantCenterLinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateMerchantCenterLinkRequest.Marshal(b, m, deterministic) -} -func (m *MutateMerchantCenterLinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateMerchantCenterLinkRequest.Merge(m, src) -} -func (m *MutateMerchantCenterLinkRequest) XXX_Size() int { - return xxx_messageInfo_MutateMerchantCenterLinkRequest.Size(m) -} -func (m *MutateMerchantCenterLinkRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateMerchantCenterLinkRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateMerchantCenterLinkRequest proto.InternalMessageInfo - -func (m *MutateMerchantCenterLinkRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateMerchantCenterLinkRequest) GetOperation() *MerchantCenterLinkOperation { - if m != nil { - return m.Operation - } - return nil -} - -// A single update on a Merchant Center link. -type MerchantCenterLinkOperation struct { - // FieldMask that determines which resource fields are modified in an update. - UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` - // The operation to perform - // - // Types that are valid to be assigned to Operation: - // *MerchantCenterLinkOperation_Update - // *MerchantCenterLinkOperation_Remove - Operation isMerchantCenterLinkOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MerchantCenterLinkOperation) Reset() { *m = MerchantCenterLinkOperation{} } -func (m *MerchantCenterLinkOperation) String() string { return proto.CompactTextString(m) } -func (*MerchantCenterLinkOperation) ProtoMessage() {} -func (*MerchantCenterLinkOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_2f76fd8f3030942d, []int{4} -} - -func (m *MerchantCenterLinkOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MerchantCenterLinkOperation.Unmarshal(m, b) -} -func (m *MerchantCenterLinkOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MerchantCenterLinkOperation.Marshal(b, m, deterministic) -} -func (m *MerchantCenterLinkOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_MerchantCenterLinkOperation.Merge(m, src) -} -func (m *MerchantCenterLinkOperation) XXX_Size() int { - return xxx_messageInfo_MerchantCenterLinkOperation.Size(m) -} -func (m *MerchantCenterLinkOperation) XXX_DiscardUnknown() { - xxx_messageInfo_MerchantCenterLinkOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_MerchantCenterLinkOperation proto.InternalMessageInfo - -func (m *MerchantCenterLinkOperation) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -type isMerchantCenterLinkOperation_Operation interface { - isMerchantCenterLinkOperation_Operation() -} - -type MerchantCenterLinkOperation_Update struct { - Update *resources.MerchantCenterLink `protobuf:"bytes,1,opt,name=update,proto3,oneof"` -} - -type MerchantCenterLinkOperation_Remove struct { - Remove string `protobuf:"bytes,2,opt,name=remove,proto3,oneof"` -} - -func (*MerchantCenterLinkOperation_Update) isMerchantCenterLinkOperation_Operation() {} - -func (*MerchantCenterLinkOperation_Remove) isMerchantCenterLinkOperation_Operation() {} - -func (m *MerchantCenterLinkOperation) GetOperation() isMerchantCenterLinkOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *MerchantCenterLinkOperation) GetUpdate() *resources.MerchantCenterLink { - if x, ok := m.GetOperation().(*MerchantCenterLinkOperation_Update); ok { - return x.Update - } - return nil -} - -func (m *MerchantCenterLinkOperation) GetRemove() string { - if x, ok := m.GetOperation().(*MerchantCenterLinkOperation_Remove); ok { - return x.Remove - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*MerchantCenterLinkOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*MerchantCenterLinkOperation_Update)(nil), - (*MerchantCenterLinkOperation_Remove)(nil), - } -} - -// Response message for Merchant Center link mutate. -type MutateMerchantCenterLinkResponse struct { - // Result for the mutate. - Result *MutateMerchantCenterLinkResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateMerchantCenterLinkResponse) Reset() { *m = MutateMerchantCenterLinkResponse{} } -func (m *MutateMerchantCenterLinkResponse) String() string { return proto.CompactTextString(m) } -func (*MutateMerchantCenterLinkResponse) ProtoMessage() {} -func (*MutateMerchantCenterLinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2f76fd8f3030942d, []int{5} -} - -func (m *MutateMerchantCenterLinkResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateMerchantCenterLinkResponse.Unmarshal(m, b) -} -func (m *MutateMerchantCenterLinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateMerchantCenterLinkResponse.Marshal(b, m, deterministic) -} -func (m *MutateMerchantCenterLinkResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateMerchantCenterLinkResponse.Merge(m, src) -} -func (m *MutateMerchantCenterLinkResponse) XXX_Size() int { - return xxx_messageInfo_MutateMerchantCenterLinkResponse.Size(m) -} -func (m *MutateMerchantCenterLinkResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateMerchantCenterLinkResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateMerchantCenterLinkResponse proto.InternalMessageInfo - -func (m *MutateMerchantCenterLinkResponse) GetResult() *MutateMerchantCenterLinkResult { - if m != nil { - return m.Result - } - return nil -} - -// The result for the Merchant Center link mutate. -type MutateMerchantCenterLinkResult 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 *MutateMerchantCenterLinkResult) Reset() { *m = MutateMerchantCenterLinkResult{} } -func (m *MutateMerchantCenterLinkResult) String() string { return proto.CompactTextString(m) } -func (*MutateMerchantCenterLinkResult) ProtoMessage() {} -func (*MutateMerchantCenterLinkResult) Descriptor() ([]byte, []int) { - return fileDescriptor_2f76fd8f3030942d, []int{6} -} - -func (m *MutateMerchantCenterLinkResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateMerchantCenterLinkResult.Unmarshal(m, b) -} -func (m *MutateMerchantCenterLinkResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateMerchantCenterLinkResult.Marshal(b, m, deterministic) -} -func (m *MutateMerchantCenterLinkResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateMerchantCenterLinkResult.Merge(m, src) -} -func (m *MutateMerchantCenterLinkResult) XXX_Size() int { - return xxx_messageInfo_MutateMerchantCenterLinkResult.Size(m) -} -func (m *MutateMerchantCenterLinkResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateMerchantCenterLinkResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateMerchantCenterLinkResult proto.InternalMessageInfo - -func (m *MutateMerchantCenterLinkResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*ListMerchantCenterLinksRequest)(nil), "google.ads.googleads.v1.services.ListMerchantCenterLinksRequest") - proto.RegisterType((*ListMerchantCenterLinksResponse)(nil), "google.ads.googleads.v1.services.ListMerchantCenterLinksResponse") - proto.RegisterType((*GetMerchantCenterLinkRequest)(nil), "google.ads.googleads.v1.services.GetMerchantCenterLinkRequest") - proto.RegisterType((*MutateMerchantCenterLinkRequest)(nil), "google.ads.googleads.v1.services.MutateMerchantCenterLinkRequest") - proto.RegisterType((*MerchantCenterLinkOperation)(nil), "google.ads.googleads.v1.services.MerchantCenterLinkOperation") - proto.RegisterType((*MutateMerchantCenterLinkResponse)(nil), "google.ads.googleads.v1.services.MutateMerchantCenterLinkResponse") - proto.RegisterType((*MutateMerchantCenterLinkResult)(nil), "google.ads.googleads.v1.services.MutateMerchantCenterLinkResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/merchant_center_link_service.proto", fileDescriptor_2f76fd8f3030942d) -} - -var fileDescriptor_2f76fd8f3030942d = []byte{ - // 679 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0xcf, 0x6b, 0x13, 0x4f, - 0x14, 0xff, 0x4e, 0xca, 0xb7, 0xd0, 0x89, 0x5e, 0x46, 0x8a, 0x31, 0x96, 0x36, 0xac, 0x3d, 0x94, - 0x1c, 0x66, 0x49, 0x4b, 0x51, 0xb7, 0x46, 0xdc, 0x04, 0x6d, 0x85, 0xd6, 0x96, 0x15, 0x8a, 0x68, - 0x20, 0x4c, 0xb3, 0xd3, 0xb8, 0x34, 0xbb, 0xb3, 0xee, 0xcc, 0xe6, 0x52, 0x7b, 0x11, 0xbc, 0x79, - 0xf3, 0x0f, 0x10, 0x3c, 0x7a, 0xf2, 0xef, 0x10, 0xbc, 0xe8, 0xc9, 0xbb, 0x78, 0xf0, 0xaf, 0x90, - 0x9d, 0x1f, 0x69, 0xa5, 0xbb, 0x49, 0x6d, 0x6e, 0x6f, 0x66, 0xde, 0x7c, 0xde, 0xfb, 0xbc, 0xf7, - 0x79, 0x33, 0xb0, 0xdd, 0x67, 0xac, 0x3f, 0xa0, 0x36, 0xf1, 0xb9,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, 0xfb, - 0x0d, 0xc7, 0x31, 0x6e, 0x07, 0xb3, 0x32, 0xcf, 0xb5, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x7e, - 0xe0, 0x79, 0xc5, 0xfb, 0x07, 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 - -// MerchantCenterLinkServiceClient is the client API for MerchantCenterLinkService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type MerchantCenterLinkServiceClient interface { - // Returns Merchant Center links available tor this customer. - ListMerchantCenterLinks(ctx context.Context, in *ListMerchantCenterLinksRequest, opts ...grpc.CallOption) (*ListMerchantCenterLinksResponse, error) - // Returns the Merchant Center link in full detail. - GetMerchantCenterLink(ctx context.Context, in *GetMerchantCenterLinkRequest, opts ...grpc.CallOption) (*resources.MerchantCenterLink, error) - // Updates status or removes a Merchant Center link. - MutateMerchantCenterLink(ctx context.Context, in *MutateMerchantCenterLinkRequest, opts ...grpc.CallOption) (*MutateMerchantCenterLinkResponse, error) -} - -type merchantCenterLinkServiceClient struct { - cc *grpc.ClientConn -} - -func NewMerchantCenterLinkServiceClient(cc *grpc.ClientConn) MerchantCenterLinkServiceClient { - return &merchantCenterLinkServiceClient{cc} -} - -func (c *merchantCenterLinkServiceClient) ListMerchantCenterLinks(ctx context.Context, in *ListMerchantCenterLinksRequest, opts ...grpc.CallOption) (*ListMerchantCenterLinksResponse, error) { - out := new(ListMerchantCenterLinksResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.MerchantCenterLinkService/ListMerchantCenterLinks", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *merchantCenterLinkServiceClient) GetMerchantCenterLink(ctx context.Context, in *GetMerchantCenterLinkRequest, opts ...grpc.CallOption) (*resources.MerchantCenterLink, error) { - out := new(resources.MerchantCenterLink) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.MerchantCenterLinkService/GetMerchantCenterLink", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *merchantCenterLinkServiceClient) MutateMerchantCenterLink(ctx context.Context, in *MutateMerchantCenterLinkRequest, opts ...grpc.CallOption) (*MutateMerchantCenterLinkResponse, error) { - out := new(MutateMerchantCenterLinkResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.MerchantCenterLinkService/MutateMerchantCenterLink", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// MerchantCenterLinkServiceServer is the server API for MerchantCenterLinkService service. -type MerchantCenterLinkServiceServer interface { - // Returns Merchant Center links available tor this customer. - ListMerchantCenterLinks(context.Context, *ListMerchantCenterLinksRequest) (*ListMerchantCenterLinksResponse, error) - // Returns the Merchant Center link in full detail. - GetMerchantCenterLink(context.Context, *GetMerchantCenterLinkRequest) (*resources.MerchantCenterLink, error) - // Updates status or removes a Merchant Center link. - MutateMerchantCenterLink(context.Context, *MutateMerchantCenterLinkRequest) (*MutateMerchantCenterLinkResponse, error) -} - -// UnimplementedMerchantCenterLinkServiceServer can be embedded to have forward compatible implementations. -type UnimplementedMerchantCenterLinkServiceServer struct { -} - -func (*UnimplementedMerchantCenterLinkServiceServer) ListMerchantCenterLinks(ctx context.Context, req *ListMerchantCenterLinksRequest) (*ListMerchantCenterLinksResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListMerchantCenterLinks not implemented") -} -func (*UnimplementedMerchantCenterLinkServiceServer) GetMerchantCenterLink(ctx context.Context, req *GetMerchantCenterLinkRequest) (*resources.MerchantCenterLink, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetMerchantCenterLink not implemented") -} -func (*UnimplementedMerchantCenterLinkServiceServer) MutateMerchantCenterLink(ctx context.Context, req *MutateMerchantCenterLinkRequest) (*MutateMerchantCenterLinkResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method MutateMerchantCenterLink not implemented") -} - -func RegisterMerchantCenterLinkServiceServer(s *grpc.Server, srv MerchantCenterLinkServiceServer) { - s.RegisterService(&_MerchantCenterLinkService_serviceDesc, srv) -} - -func _MerchantCenterLinkService_ListMerchantCenterLinks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListMerchantCenterLinksRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MerchantCenterLinkServiceServer).ListMerchantCenterLinks(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.MerchantCenterLinkService/ListMerchantCenterLinks", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MerchantCenterLinkServiceServer).ListMerchantCenterLinks(ctx, req.(*ListMerchantCenterLinksRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _MerchantCenterLinkService_GetMerchantCenterLink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetMerchantCenterLinkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MerchantCenterLinkServiceServer).GetMerchantCenterLink(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.MerchantCenterLinkService/GetMerchantCenterLink", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MerchantCenterLinkServiceServer).GetMerchantCenterLink(ctx, req.(*GetMerchantCenterLinkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _MerchantCenterLinkService_MutateMerchantCenterLink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateMerchantCenterLinkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MerchantCenterLinkServiceServer).MutateMerchantCenterLink(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.MerchantCenterLinkService/MutateMerchantCenterLink", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MerchantCenterLinkServiceServer).MutateMerchantCenterLink(ctx, req.(*MutateMerchantCenterLinkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _MerchantCenterLinkService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.MerchantCenterLinkService", - HandlerType: (*MerchantCenterLinkServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListMerchantCenterLinks", - Handler: _MerchantCenterLinkService_ListMerchantCenterLinks_Handler, - }, - { - MethodName: "GetMerchantCenterLink", - Handler: _MerchantCenterLinkService_GetMerchantCenterLink_Handler, - }, - { - MethodName: "MutateMerchantCenterLink", - Handler: _MerchantCenterLinkService_MutateMerchantCenterLink_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/merchant_center_link_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/mobile_app_category_constant_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/mobile_app_category_constant_service.pb.go deleted file mode 100644 index 58efafeb..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/mobile_app_category_constant_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/mobile_app_category_constant_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [MobileAppCategoryConstantService.GetMobileAppCategoryConstant][google.ads.googleads.v1.services.MobileAppCategoryConstantService.GetMobileAppCategoryConstant]. -type GetMobileAppCategoryConstantRequest struct { - // Resource name of the mobile app category 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 *GetMobileAppCategoryConstantRequest) Reset() { *m = GetMobileAppCategoryConstantRequest{} } -func (m *GetMobileAppCategoryConstantRequest) String() string { return proto.CompactTextString(m) } -func (*GetMobileAppCategoryConstantRequest) ProtoMessage() {} -func (*GetMobileAppCategoryConstantRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_57065493a9a2f64e, []int{0} -} - -func (m *GetMobileAppCategoryConstantRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetMobileAppCategoryConstantRequest.Unmarshal(m, b) -} -func (m *GetMobileAppCategoryConstantRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetMobileAppCategoryConstantRequest.Marshal(b, m, deterministic) -} -func (m *GetMobileAppCategoryConstantRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetMobileAppCategoryConstantRequest.Merge(m, src) -} -func (m *GetMobileAppCategoryConstantRequest) XXX_Size() int { - return xxx_messageInfo_GetMobileAppCategoryConstantRequest.Size(m) -} -func (m *GetMobileAppCategoryConstantRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetMobileAppCategoryConstantRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetMobileAppCategoryConstantRequest proto.InternalMessageInfo - -func (m *GetMobileAppCategoryConstantRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetMobileAppCategoryConstantRequest)(nil), "google.ads.googleads.v1.services.GetMobileAppCategoryConstantRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/mobile_app_category_constant_service.proto", fileDescriptor_57065493a9a2f64e) -} - -var fileDescriptor_57065493a9a2f64e = []byte{ - // 371 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0x31, 0x4b, 0xfb, 0x40, - 0x18, 0xc6, 0x49, 0xfe, 0xf0, 0x07, 0x83, 0x2e, 0x99, 0xa4, 0x74, 0x08, 0x6d, 0x05, 0x71, 0xb8, - 0x98, 0xba, 0xc8, 0xa9, 0x43, 0x5a, 0xa5, 0xa2, 0x28, 0xa5, 0x42, 0x07, 0x09, 0x84, 0x6b, 0x72, - 0x84, 0x40, 0x73, 0x77, 0xe6, 0xbd, 0x16, 0x44, 0x5c, 0x3a, 0xbb, 0xf9, 0x0d, 0x1c, 0xfd, 0x28, - 0xae, 0xce, 0x6e, 0x4e, 0x7e, 0x0a, 0x49, 0x2f, 0x17, 0x70, 0x88, 0x71, 0x7b, 0xb8, 0x3c, 0xf9, - 0x3d, 0xf7, 0x3e, 0xf7, 0x5a, 0x97, 0x09, 0xe7, 0xc9, 0x9c, 0xba, 0x24, 0x06, 0x57, 0xc9, 0x42, - 0x2d, 0x3d, 0x17, 0x68, 0xbe, 0x4c, 0x23, 0x0a, 0x6e, 0xc6, 0x67, 0xe9, 0x9c, 0x86, 0x44, 0x88, - 0x30, 0x22, 0x92, 0x26, 0x3c, 0xbf, 0x0f, 0x23, 0xce, 0x40, 0x12, 0x26, 0xc3, 0xd2, 0x85, 0x44, - 0xce, 0x25, 0xb7, 0x1d, 0x45, 0x40, 0x24, 0x06, 0x54, 0xc1, 0xd0, 0xd2, 0x43, 0x1a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xc3, 0x9b, 0xb6, 0x04, 0x7e, 0x0c, 0x41, 0x65, 0x09, 0xa6, 0x5e, 0xa0, 0x2d, - 0x5f, 0x66, 0x4f, 0x9d, 0x63, 0xec, 0xc7, 0x80, 0x71, 0x65, 0xc2, 0x78, 0xea, 0x61, 0xac, 0x6d, - 0xb3, 0xff, 0xeb, 0x7b, 0x1e, 0x7c, 0x07, 0x00, 0x00, 0xff, 0xff, 0xfd, 0xfe, 0xdd, 0xd9, 0x3b, - 0x03, 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 - -// MobileAppCategoryConstantServiceClient is the client API for MobileAppCategoryConstantService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type MobileAppCategoryConstantServiceClient interface { - // Returns the requested mobile app category constant. - GetMobileAppCategoryConstant(ctx context.Context, in *GetMobileAppCategoryConstantRequest, opts ...grpc.CallOption) (*resources.MobileAppCategoryConstant, error) -} - -type mobileAppCategoryConstantServiceClient struct { - cc *grpc.ClientConn -} - -func NewMobileAppCategoryConstantServiceClient(cc *grpc.ClientConn) MobileAppCategoryConstantServiceClient { - return &mobileAppCategoryConstantServiceClient{cc} -} - -func (c *mobileAppCategoryConstantServiceClient) GetMobileAppCategoryConstant(ctx context.Context, in *GetMobileAppCategoryConstantRequest, opts ...grpc.CallOption) (*resources.MobileAppCategoryConstant, error) { - out := new(resources.MobileAppCategoryConstant) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.MobileAppCategoryConstantService/GetMobileAppCategoryConstant", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// MobileAppCategoryConstantServiceServer is the server API for MobileAppCategoryConstantService service. -type MobileAppCategoryConstantServiceServer interface { - // Returns the requested mobile app category constant. - GetMobileAppCategoryConstant(context.Context, *GetMobileAppCategoryConstantRequest) (*resources.MobileAppCategoryConstant, error) -} - -// UnimplementedMobileAppCategoryConstantServiceServer can be embedded to have forward compatible implementations. -type UnimplementedMobileAppCategoryConstantServiceServer struct { -} - -func (*UnimplementedMobileAppCategoryConstantServiceServer) GetMobileAppCategoryConstant(ctx context.Context, req *GetMobileAppCategoryConstantRequest) (*resources.MobileAppCategoryConstant, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetMobileAppCategoryConstant not implemented") -} - -func RegisterMobileAppCategoryConstantServiceServer(s *grpc.Server, srv MobileAppCategoryConstantServiceServer) { - s.RegisterService(&_MobileAppCategoryConstantService_serviceDesc, srv) -} - -func _MobileAppCategoryConstantService_GetMobileAppCategoryConstant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetMobileAppCategoryConstantRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MobileAppCategoryConstantServiceServer).GetMobileAppCategoryConstant(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.MobileAppCategoryConstantService/GetMobileAppCategoryConstant", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MobileAppCategoryConstantServiceServer).GetMobileAppCategoryConstant(ctx, req.(*GetMobileAppCategoryConstantRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _MobileAppCategoryConstantService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.MobileAppCategoryConstantService", - HandlerType: (*MobileAppCategoryConstantServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetMobileAppCategoryConstant", - Handler: _MobileAppCategoryConstantService_GetMobileAppCategoryConstant_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/mobile_app_category_constant_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/mobile_device_constant_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/mobile_device_constant_service.pb.go deleted file mode 100644 index cd263035..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/mobile_device_constant_service.pb.go +++ /dev/null @@ -1,187 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/mobile_device_constant_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [MobileDeviceConstantService.GetMobileDeviceConstant][google.ads.googleads.v1.services.MobileDeviceConstantService.GetMobileDeviceConstant]. -type GetMobileDeviceConstantRequest struct { - // Resource name of the mobile device 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 *GetMobileDeviceConstantRequest) Reset() { *m = GetMobileDeviceConstantRequest{} } -func (m *GetMobileDeviceConstantRequest) String() string { return proto.CompactTextString(m) } -func (*GetMobileDeviceConstantRequest) ProtoMessage() {} -func (*GetMobileDeviceConstantRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6dacc361447bd918, []int{0} -} - -func (m *GetMobileDeviceConstantRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetMobileDeviceConstantRequest.Unmarshal(m, b) -} -func (m *GetMobileDeviceConstantRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetMobileDeviceConstantRequest.Marshal(b, m, deterministic) -} -func (m *GetMobileDeviceConstantRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetMobileDeviceConstantRequest.Merge(m, src) -} -func (m *GetMobileDeviceConstantRequest) XXX_Size() int { - return xxx_messageInfo_GetMobileDeviceConstantRequest.Size(m) -} -func (m *GetMobileDeviceConstantRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetMobileDeviceConstantRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetMobileDeviceConstantRequest proto.InternalMessageInfo - -func (m *GetMobileDeviceConstantRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetMobileDeviceConstantRequest)(nil), "google.ads.googleads.v1.services.GetMobileDeviceConstantRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/mobile_device_constant_service.proto", fileDescriptor_6dacc361447bd918) -} - -var fileDescriptor_6dacc361447bd918 = []byte{ - // 362 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xbf, 0x4a, 0xc3, 0x40, - 0x18, 0x27, 0x11, 0x04, 0x83, 0x2e, 0x59, 0x94, 0x2a, 0x12, 0x6a, 0x07, 0x51, 0xbc, 0x23, 0x76, - 0x10, 0x4e, 0x14, 0x53, 0x2d, 0x75, 0x51, 0x4a, 0x85, 0x0e, 0x12, 0x08, 0xd7, 0xe6, 0x08, 0x81, - 0xe6, 0xae, 0xe6, 0xbb, 0x76, 0x11, 0x17, 0x17, 0x1f, 0xc0, 0x37, 0x70, 0xf4, 0x4d, 0x74, 0xf5, - 0x15, 0x5c, 0xf4, 0x29, 0x24, 0xb9, 0x5c, 0x40, 0x48, 0xda, 0xed, 0x97, 0xbb, 0xdf,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x24, 0x4b, 0xa7, 0xee, 0x38, 0x0b, 0x1a, 0xe9, 0x67, 0xed, 0xf7, 0x8d, 0xfb, - 0xeb, 0xc2, 0x25, 0x12, 0x13, 0xca, 0x23, 0x24, 0xd2, 0x08, 0x47, 0x8c, 0xe7, 0xbb, 0xd1, 0xdb, - 0x9e, 0xc6, 0x50, 0xff, 0x97, 0x9d, 0x6a, 0xf0, 0x66, 0xae, 0xf4, 0x3c, 0xef, 0xdd, 0x74, 0x7a, - 0xca, 0xd0, 0x0b, 0x01, 0x29, 0x98, 0xa1, 0xa1, 0x8b, 0x8a, 0x60, 0xf8, 0xd4, 0x14, 0xdf, 0x0b, - 0xc1, 0x2f, 0x29, 0xfe, 0xd0, 0xf5, 0x35, 0xe5, 0xd7, 0x6c, 0xa9, 0x73, 0x42, 0xbc, 0x10, 0x08, - 0x29, 0x49, 0x84, 0x0c, 0x5d, 0x42, 0x34, 0x6d, 0xb4, 0x9a, 0xcf, 0xd9, 0xfe, 0x0b, 0x00, 0x00, - 0xff, 0xff, 0xc5, 0x86, 0x86, 0x6e, 0x0c, 0x03, 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 - -// MobileDeviceConstantServiceClient is the client API for MobileDeviceConstantService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type MobileDeviceConstantServiceClient interface { - // Returns the requested mobile device constant in full detail. - GetMobileDeviceConstant(ctx context.Context, in *GetMobileDeviceConstantRequest, opts ...grpc.CallOption) (*resources.MobileDeviceConstant, error) -} - -type mobileDeviceConstantServiceClient struct { - cc *grpc.ClientConn -} - -func NewMobileDeviceConstantServiceClient(cc *grpc.ClientConn) MobileDeviceConstantServiceClient { - return &mobileDeviceConstantServiceClient{cc} -} - -func (c *mobileDeviceConstantServiceClient) GetMobileDeviceConstant(ctx context.Context, in *GetMobileDeviceConstantRequest, opts ...grpc.CallOption) (*resources.MobileDeviceConstant, error) { - out := new(resources.MobileDeviceConstant) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.MobileDeviceConstantService/GetMobileDeviceConstant", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// MobileDeviceConstantServiceServer is the server API for MobileDeviceConstantService service. -type MobileDeviceConstantServiceServer interface { - // Returns the requested mobile device constant in full detail. - GetMobileDeviceConstant(context.Context, *GetMobileDeviceConstantRequest) (*resources.MobileDeviceConstant, error) -} - -// UnimplementedMobileDeviceConstantServiceServer can be embedded to have forward compatible implementations. -type UnimplementedMobileDeviceConstantServiceServer struct { -} - -func (*UnimplementedMobileDeviceConstantServiceServer) GetMobileDeviceConstant(ctx context.Context, req *GetMobileDeviceConstantRequest) (*resources.MobileDeviceConstant, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetMobileDeviceConstant not implemented") -} - -func RegisterMobileDeviceConstantServiceServer(s *grpc.Server, srv MobileDeviceConstantServiceServer) { - s.RegisterService(&_MobileDeviceConstantService_serviceDesc, srv) -} - -func _MobileDeviceConstantService_GetMobileDeviceConstant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetMobileDeviceConstantRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MobileDeviceConstantServiceServer).GetMobileDeviceConstant(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.MobileDeviceConstantService/GetMobileDeviceConstant", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MobileDeviceConstantServiceServer).GetMobileDeviceConstant(ctx, req.(*GetMobileDeviceConstantRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _MobileDeviceConstantService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.MobileDeviceConstantService", - HandlerType: (*MobileDeviceConstantServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetMobileDeviceConstant", - Handler: _MobileDeviceConstantService_GetMobileDeviceConstant_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/mobile_device_constant_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/mutate_job_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/mutate_job_service.pb.go deleted file mode 100644 index 705801f4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/mutate_job_service.pb.go +++ /dev/null @@ -1,820 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/mutate_job_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [MutateJobService.CreateMutateJobRequest][] -type CreateMutateJobRequest struct { - // The ID of the customer for which to create a mutate job. - 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 *CreateMutateJobRequest) Reset() { *m = CreateMutateJobRequest{} } -func (m *CreateMutateJobRequest) String() string { return proto.CompactTextString(m) } -func (*CreateMutateJobRequest) ProtoMessage() {} -func (*CreateMutateJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4b20a6cc488e9516, []int{0} -} - -func (m *CreateMutateJobRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateMutateJobRequest.Unmarshal(m, b) -} -func (m *CreateMutateJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateMutateJobRequest.Marshal(b, m, deterministic) -} -func (m *CreateMutateJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateMutateJobRequest.Merge(m, src) -} -func (m *CreateMutateJobRequest) XXX_Size() int { - return xxx_messageInfo_CreateMutateJobRequest.Size(m) -} -func (m *CreateMutateJobRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateMutateJobRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateMutateJobRequest proto.InternalMessageInfo - -func (m *CreateMutateJobRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -// Response message for [MutateJobService.CreateMutateJobResponse][] -type CreateMutateJobResponse struct { - // The resource name of the MutateJob. - 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 *CreateMutateJobResponse) Reset() { *m = CreateMutateJobResponse{} } -func (m *CreateMutateJobResponse) String() string { return proto.CompactTextString(m) } -func (*CreateMutateJobResponse) ProtoMessage() {} -func (*CreateMutateJobResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4b20a6cc488e9516, []int{1} -} - -func (m *CreateMutateJobResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateMutateJobResponse.Unmarshal(m, b) -} -func (m *CreateMutateJobResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateMutateJobResponse.Marshal(b, m, deterministic) -} -func (m *CreateMutateJobResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateMutateJobResponse.Merge(m, src) -} -func (m *CreateMutateJobResponse) XXX_Size() int { - return xxx_messageInfo_CreateMutateJobResponse.Size(m) -} -func (m *CreateMutateJobResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateMutateJobResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateMutateJobResponse proto.InternalMessageInfo - -func (m *CreateMutateJobResponse) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for -// [MutateJobService.GetMutateJob][google.ads.googleads.v1.services.MutateJobService.GetMutateJob] -type GetMutateJobRequest struct { - // The resource name of the MutateJob 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 *GetMutateJobRequest) Reset() { *m = GetMutateJobRequest{} } -func (m *GetMutateJobRequest) String() string { return proto.CompactTextString(m) } -func (*GetMutateJobRequest) ProtoMessage() {} -func (*GetMutateJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4b20a6cc488e9516, []int{2} -} - -func (m *GetMutateJobRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetMutateJobRequest.Unmarshal(m, b) -} -func (m *GetMutateJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetMutateJobRequest.Marshal(b, m, deterministic) -} -func (m *GetMutateJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetMutateJobRequest.Merge(m, src) -} -func (m *GetMutateJobRequest) XXX_Size() int { - return xxx_messageInfo_GetMutateJobRequest.Size(m) -} -func (m *GetMutateJobRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetMutateJobRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetMutateJobRequest proto.InternalMessageInfo - -func (m *GetMutateJobRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for -// [MutateJobService.RunMutateJob][google.ads.googleads.v1.services.MutateJobService.RunMutateJob] -type RunMutateJobRequest struct { - // The resource name of the MutateJob to run. - 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 *RunMutateJobRequest) Reset() { *m = RunMutateJobRequest{} } -func (m *RunMutateJobRequest) String() string { return proto.CompactTextString(m) } -func (*RunMutateJobRequest) ProtoMessage() {} -func (*RunMutateJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4b20a6cc488e9516, []int{3} -} - -func (m *RunMutateJobRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RunMutateJobRequest.Unmarshal(m, b) -} -func (m *RunMutateJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RunMutateJobRequest.Marshal(b, m, deterministic) -} -func (m *RunMutateJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RunMutateJobRequest.Merge(m, src) -} -func (m *RunMutateJobRequest) XXX_Size() int { - return xxx_messageInfo_RunMutateJobRequest.Size(m) -} -func (m *RunMutateJobRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RunMutateJobRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_RunMutateJobRequest proto.InternalMessageInfo - -func (m *RunMutateJobRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for -// [MutateJobService.AddMutateJobOperations][google.ads.googleads.v1.services.MutateJobService.AddMutateJobOperations] -type AddMutateJobOperationsRequest struct { - // The resource name of the MutateJob. - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // A token used to enforce sequencing. - // - // The first AddMutateJobOperations request for a MutateJob should not set - // sequence_token. Subsequent requests must set sequence_token to the value of - // next_sequence_token received in the previous AddMutateJobOperations - // response. - SequenceToken string `protobuf:"bytes,2,opt,name=sequence_token,json=sequenceToken,proto3" json:"sequence_token,omitempty"` - // The list of mutates being added. - // - // Operations can use negative integers as temp ids to signify dependencies - // between entities created in this MutateJob. For example, a customer with - // id = 1234 can create a campaign and an ad group in that same campaign by - // creating a campaign in the first operation with the resource name - // explicitly set to "customers/1234/campaigns/-1", and creating an ad group - // in the second operation with the campaign field also set to - // "customers/1234/campaigns/-1". - MutateOperations []*MutateOperation `protobuf:"bytes,3,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 *AddMutateJobOperationsRequest) Reset() { *m = AddMutateJobOperationsRequest{} } -func (m *AddMutateJobOperationsRequest) String() string { return proto.CompactTextString(m) } -func (*AddMutateJobOperationsRequest) ProtoMessage() {} -func (*AddMutateJobOperationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4b20a6cc488e9516, []int{4} -} - -func (m *AddMutateJobOperationsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddMutateJobOperationsRequest.Unmarshal(m, b) -} -func (m *AddMutateJobOperationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddMutateJobOperationsRequest.Marshal(b, m, deterministic) -} -func (m *AddMutateJobOperationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddMutateJobOperationsRequest.Merge(m, src) -} -func (m *AddMutateJobOperationsRequest) XXX_Size() int { - return xxx_messageInfo_AddMutateJobOperationsRequest.Size(m) -} -func (m *AddMutateJobOperationsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AddMutateJobOperationsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AddMutateJobOperationsRequest proto.InternalMessageInfo - -func (m *AddMutateJobOperationsRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *AddMutateJobOperationsRequest) GetSequenceToken() string { - if m != nil { - return m.SequenceToken - } - return "" -} - -func (m *AddMutateJobOperationsRequest) GetMutateOperations() []*MutateOperation { - if m != nil { - return m.MutateOperations - } - return nil -} - -// Response message for -// [MutateJobService.AddMutateJobOperations][google.ads.googleads.v1.services.MutateJobService.AddMutateJobOperations] -type AddMutateJobOperationsResponse struct { - // The total number of operations added so far for this job. - TotalOperations int64 `protobuf:"varint,1,opt,name=total_operations,json=totalOperations,proto3" json:"total_operations,omitempty"` - // The sequence token to be used when calling AddMutateJobOperations again if - // more operations need to be added. The next AddMutateJobOperations request - // must set the sequence_token field to the value of this field. - NextSequenceToken string `protobuf:"bytes,2,opt,name=next_sequence_token,json=nextSequenceToken,proto3" json:"next_sequence_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AddMutateJobOperationsResponse) Reset() { *m = AddMutateJobOperationsResponse{} } -func (m *AddMutateJobOperationsResponse) String() string { return proto.CompactTextString(m) } -func (*AddMutateJobOperationsResponse) ProtoMessage() {} -func (*AddMutateJobOperationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4b20a6cc488e9516, []int{5} -} - -func (m *AddMutateJobOperationsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddMutateJobOperationsResponse.Unmarshal(m, b) -} -func (m *AddMutateJobOperationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddMutateJobOperationsResponse.Marshal(b, m, deterministic) -} -func (m *AddMutateJobOperationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddMutateJobOperationsResponse.Merge(m, src) -} -func (m *AddMutateJobOperationsResponse) XXX_Size() int { - return xxx_messageInfo_AddMutateJobOperationsResponse.Size(m) -} -func (m *AddMutateJobOperationsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AddMutateJobOperationsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AddMutateJobOperationsResponse proto.InternalMessageInfo - -func (m *AddMutateJobOperationsResponse) GetTotalOperations() int64 { - if m != nil { - return m.TotalOperations - } - return 0 -} - -func (m *AddMutateJobOperationsResponse) GetNextSequenceToken() string { - if m != nil { - return m.NextSequenceToken - } - return "" -} - -// Request message for -// [MutateJobService.ListMutateJobResults][google.ads.googleads.v1.services.MutateJobService.ListMutateJobResults]. -type ListMutateJobResultsRequest struct { - // The resource name of the MutateJob whose results are being listed. - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,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 a page request is too large, 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 *ListMutateJobResultsRequest) Reset() { *m = ListMutateJobResultsRequest{} } -func (m *ListMutateJobResultsRequest) String() string { return proto.CompactTextString(m) } -func (*ListMutateJobResultsRequest) ProtoMessage() {} -func (*ListMutateJobResultsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4b20a6cc488e9516, []int{6} -} - -func (m *ListMutateJobResultsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListMutateJobResultsRequest.Unmarshal(m, b) -} -func (m *ListMutateJobResultsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListMutateJobResultsRequest.Marshal(b, m, deterministic) -} -func (m *ListMutateJobResultsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListMutateJobResultsRequest.Merge(m, src) -} -func (m *ListMutateJobResultsRequest) XXX_Size() int { - return xxx_messageInfo_ListMutateJobResultsRequest.Size(m) -} -func (m *ListMutateJobResultsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListMutateJobResultsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListMutateJobResultsRequest proto.InternalMessageInfo - -func (m *ListMutateJobResultsRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *ListMutateJobResultsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListMutateJobResultsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -// Response message for -// [MutateJobService.ListMutateJobResults][google.ads.googleads.v1.services.MutateJobService.ListMutateJobResults]. -type ListMutateJobResultsResponse struct { - // The list of rows that matched the query. - Results []*MutateJobResult `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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListMutateJobResultsResponse) Reset() { *m = ListMutateJobResultsResponse{} } -func (m *ListMutateJobResultsResponse) String() string { return proto.CompactTextString(m) } -func (*ListMutateJobResultsResponse) ProtoMessage() {} -func (*ListMutateJobResultsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4b20a6cc488e9516, []int{7} -} - -func (m *ListMutateJobResultsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListMutateJobResultsResponse.Unmarshal(m, b) -} -func (m *ListMutateJobResultsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListMutateJobResultsResponse.Marshal(b, m, deterministic) -} -func (m *ListMutateJobResultsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListMutateJobResultsResponse.Merge(m, src) -} -func (m *ListMutateJobResultsResponse) XXX_Size() int { - return xxx_messageInfo_ListMutateJobResultsResponse.Size(m) -} -func (m *ListMutateJobResultsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListMutateJobResultsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListMutateJobResultsResponse proto.InternalMessageInfo - -func (m *ListMutateJobResultsResponse) GetResults() []*MutateJobResult { - if m != nil { - return m.Results - } - return nil -} - -func (m *ListMutateJobResultsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// MutateJob result. -type MutateJobResult struct { - // Index of the mutate operation. - OperationIndex int64 `protobuf:"varint,1,opt,name=operation_index,json=operationIndex,proto3" json:"operation_index,omitempty"` - // Response for the mutate. - // May be empty if errors occurred. - MutateOperationResponse *MutateOperationResponse `protobuf:"bytes,2,opt,name=mutate_operation_response,json=mutateOperationResponse,proto3" json:"mutate_operation_response,omitempty"` - // Details of the errors when processing the operation. - Status *status.Status `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateJobResult) Reset() { *m = MutateJobResult{} } -func (m *MutateJobResult) String() string { return proto.CompactTextString(m) } -func (*MutateJobResult) ProtoMessage() {} -func (*MutateJobResult) Descriptor() ([]byte, []int) { - return fileDescriptor_4b20a6cc488e9516, []int{8} -} - -func (m *MutateJobResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateJobResult.Unmarshal(m, b) -} -func (m *MutateJobResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateJobResult.Marshal(b, m, deterministic) -} -func (m *MutateJobResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateJobResult.Merge(m, src) -} -func (m *MutateJobResult) XXX_Size() int { - return xxx_messageInfo_MutateJobResult.Size(m) -} -func (m *MutateJobResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateJobResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateJobResult proto.InternalMessageInfo - -func (m *MutateJobResult) GetOperationIndex() int64 { - if m != nil { - return m.OperationIndex - } - return 0 -} - -func (m *MutateJobResult) GetMutateOperationResponse() *MutateOperationResponse { - if m != nil { - return m.MutateOperationResponse - } - return nil -} - -func (m *MutateJobResult) GetStatus() *status.Status { - if m != nil { - return m.Status - } - return nil -} - -func init() { - proto.RegisterType((*CreateMutateJobRequest)(nil), "google.ads.googleads.v1.services.CreateMutateJobRequest") - proto.RegisterType((*CreateMutateJobResponse)(nil), "google.ads.googleads.v1.services.CreateMutateJobResponse") - proto.RegisterType((*GetMutateJobRequest)(nil), "google.ads.googleads.v1.services.GetMutateJobRequest") - proto.RegisterType((*RunMutateJobRequest)(nil), "google.ads.googleads.v1.services.RunMutateJobRequest") - proto.RegisterType((*AddMutateJobOperationsRequest)(nil), "google.ads.googleads.v1.services.AddMutateJobOperationsRequest") - proto.RegisterType((*AddMutateJobOperationsResponse)(nil), "google.ads.googleads.v1.services.AddMutateJobOperationsResponse") - proto.RegisterType((*ListMutateJobResultsRequest)(nil), "google.ads.googleads.v1.services.ListMutateJobResultsRequest") - proto.RegisterType((*ListMutateJobResultsResponse)(nil), "google.ads.googleads.v1.services.ListMutateJobResultsResponse") - proto.RegisterType((*MutateJobResult)(nil), "google.ads.googleads.v1.services.MutateJobResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/mutate_job_service.proto", fileDescriptor_4b20a6cc488e9516) -} - -var fileDescriptor_4b20a6cc488e9516 = []byte{ - // 867 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9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6, 0xad, 0xe3, 0x85, 0xac, 0x39, 0xae, 0x3b, 0xce, 0x85, 0x41, 0x63, 0xf7, 0x7f, 0x00, 0x1f, - 0x0d, 0xd8, 0x68, 0xae, 0x9c, 0xdd, 0xd7, 0xa7, 0xc7, 0xc1, 0x61, 0xfc, 0xb8, 0x38, 0x04, 0x5f, - 0x7d, 0x2c, 0xa9, 0x1e, 0x1b, 0x3a, 0xd4, 0x33, 0x58, 0xe8, 0x99, 0x1e, 0xa1, 0xc9, 0xd3, 0x43, - 0xbd, 0x82, 0x02, 0x9f, 0xcf, 0x7e, 0x14, 0x3d, 0x57, 0x8b, 0x9f, 0x4a, 0xe5, 0xbd, 0x4e, 0xe7, - 0x97, 0x52, 0x7d, 0x2f, 0x4d, 0xd8, 0x71, 0xb9, 0x91, 0x2e, 0xe3, 0xd5, 0x51, 0xd3, 0x90, 0x07, - 0xf3, 0xdf, 0x54, 0x48, 0xaf, 0xe3, 0xf2, 0x5e, 0x16, 0xd2, 0x3b, 0x6a, 0xf6, 0x54, 0xc8, 0x7f, - 0xa5, 0x47, 0x29, 0x8e, 0x71, 0xc7, 0xe5, 0x18, 0x67, 0x41, 0x18, 0x1f, 0x35, 0x31, 0x56, 0x61, - 0xfd, 0x1b, 0x89, 0xce, 0x0f, 0x5e, 0x06, 0x00, 0x00, 0xff, 0xff, 0xa4, 0x3d, 0xcf, 0xf4, 0x4c, - 0x0a, 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 - -// MutateJobServiceClient is the client API for MutateJobService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type MutateJobServiceClient interface { - // Creates a mutate job. - CreateMutateJob(ctx context.Context, in *CreateMutateJobRequest, opts ...grpc.CallOption) (*CreateMutateJobResponse, error) - // Returns the mutate job. - GetMutateJob(ctx context.Context, in *GetMutateJobRequest, opts ...grpc.CallOption) (*resources.MutateJob, error) - // Returns the results of the mutate job. The job must be done. - // Supports standard list paging. - ListMutateJobResults(ctx context.Context, in *ListMutateJobResultsRequest, opts ...grpc.CallOption) (*ListMutateJobResultsResponse, error) - // Runs the mutate job. - // - // The Operation.metadata field type is MutateJobMetadata. When finished, the - // long running operation will not contain errors or a response. Instead, use - // ListMutateJobResults to get the results of the job. - RunMutateJob(ctx context.Context, in *RunMutateJobRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Add operations to the mutate job. - AddMutateJobOperations(ctx context.Context, in *AddMutateJobOperationsRequest, opts ...grpc.CallOption) (*AddMutateJobOperationsResponse, error) -} - -type mutateJobServiceClient struct { - cc *grpc.ClientConn -} - -func NewMutateJobServiceClient(cc *grpc.ClientConn) MutateJobServiceClient { - return &mutateJobServiceClient{cc} -} - -func (c *mutateJobServiceClient) CreateMutateJob(ctx context.Context, in *CreateMutateJobRequest, opts ...grpc.CallOption) (*CreateMutateJobResponse, error) { - out := new(CreateMutateJobResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.MutateJobService/CreateMutateJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *mutateJobServiceClient) GetMutateJob(ctx context.Context, in *GetMutateJobRequest, opts ...grpc.CallOption) (*resources.MutateJob, error) { - out := new(resources.MutateJob) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.MutateJobService/GetMutateJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *mutateJobServiceClient) ListMutateJobResults(ctx context.Context, in *ListMutateJobResultsRequest, opts ...grpc.CallOption) (*ListMutateJobResultsResponse, error) { - out := new(ListMutateJobResultsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.MutateJobService/ListMutateJobResults", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *mutateJobServiceClient) RunMutateJob(ctx context.Context, in *RunMutateJobRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.MutateJobService/RunMutateJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *mutateJobServiceClient) AddMutateJobOperations(ctx context.Context, in *AddMutateJobOperationsRequest, opts ...grpc.CallOption) (*AddMutateJobOperationsResponse, error) { - out := new(AddMutateJobOperationsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.MutateJobService/AddMutateJobOperations", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// MutateJobServiceServer is the server API for MutateJobService service. -type MutateJobServiceServer interface { - // Creates a mutate job. - CreateMutateJob(context.Context, *CreateMutateJobRequest) (*CreateMutateJobResponse, error) - // Returns the mutate job. - GetMutateJob(context.Context, *GetMutateJobRequest) (*resources.MutateJob, error) - // Returns the results of the mutate job. The job must be done. - // Supports standard list paging. - ListMutateJobResults(context.Context, *ListMutateJobResultsRequest) (*ListMutateJobResultsResponse, error) - // Runs the mutate job. - // - // The Operation.metadata field type is MutateJobMetadata. When finished, the - // long running operation will not contain errors or a response. Instead, use - // ListMutateJobResults to get the results of the job. - RunMutateJob(context.Context, *RunMutateJobRequest) (*longrunning.Operation, error) - // Add operations to the mutate job. - AddMutateJobOperations(context.Context, *AddMutateJobOperationsRequest) (*AddMutateJobOperationsResponse, error) -} - -// UnimplementedMutateJobServiceServer can be embedded to have forward compatible implementations. -type UnimplementedMutateJobServiceServer struct { -} - -func (*UnimplementedMutateJobServiceServer) CreateMutateJob(ctx context.Context, req *CreateMutateJobRequest) (*CreateMutateJobResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method CreateMutateJob not implemented") -} -func (*UnimplementedMutateJobServiceServer) GetMutateJob(ctx context.Context, req *GetMutateJobRequest) (*resources.MutateJob, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetMutateJob not implemented") -} -func (*UnimplementedMutateJobServiceServer) ListMutateJobResults(ctx context.Context, req *ListMutateJobResultsRequest) (*ListMutateJobResultsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListMutateJobResults not implemented") -} -func (*UnimplementedMutateJobServiceServer) RunMutateJob(ctx context.Context, req *RunMutateJobRequest) (*longrunning.Operation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method RunMutateJob not implemented") -} -func (*UnimplementedMutateJobServiceServer) AddMutateJobOperations(ctx context.Context, req *AddMutateJobOperationsRequest) (*AddMutateJobOperationsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method AddMutateJobOperations not implemented") -} - -func RegisterMutateJobServiceServer(s *grpc.Server, srv MutateJobServiceServer) { - s.RegisterService(&_MutateJobService_serviceDesc, srv) -} - -func _MutateJobService_CreateMutateJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateMutateJobRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MutateJobServiceServer).CreateMutateJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.MutateJobService/CreateMutateJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MutateJobServiceServer).CreateMutateJob(ctx, req.(*CreateMutateJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _MutateJobService_GetMutateJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetMutateJobRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MutateJobServiceServer).GetMutateJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.MutateJobService/GetMutateJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MutateJobServiceServer).GetMutateJob(ctx, req.(*GetMutateJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _MutateJobService_ListMutateJobResults_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListMutateJobResultsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MutateJobServiceServer).ListMutateJobResults(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.MutateJobService/ListMutateJobResults", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MutateJobServiceServer).ListMutateJobResults(ctx, req.(*ListMutateJobResultsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _MutateJobService_RunMutateJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RunMutateJobRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MutateJobServiceServer).RunMutateJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.MutateJobService/RunMutateJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MutateJobServiceServer).RunMutateJob(ctx, req.(*RunMutateJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _MutateJobService_AddMutateJobOperations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddMutateJobOperationsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MutateJobServiceServer).AddMutateJobOperations(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.MutateJobService/AddMutateJobOperations", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MutateJobServiceServer).AddMutateJobOperations(ctx, req.(*AddMutateJobOperationsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _MutateJobService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.MutateJobService", - HandlerType: (*MutateJobServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateMutateJob", - Handler: _MutateJobService_CreateMutateJob_Handler, - }, - { - MethodName: "GetMutateJob", - Handler: _MutateJobService_GetMutateJob_Handler, - }, - { - MethodName: "ListMutateJobResults", - Handler: _MutateJobService_ListMutateJobResults_Handler, - }, - { - MethodName: "RunMutateJob", - Handler: _MutateJobService_RunMutateJob_Handler, - }, - { - MethodName: "AddMutateJobOperations", - Handler: _MutateJobService_AddMutateJobOperations_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/mutate_job_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/operating_system_version_constant_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/operating_system_version_constant_service.pb.go deleted file mode 100644 index 90ef9dc3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/operating_system_version_constant_service.pb.go +++ /dev/null @@ -1,190 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/operating_system_version_constant_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [OperatingSystemVersionConstantService.GetOperatingSystemVersionConstant][google.ads.googleads.v1.services.OperatingSystemVersionConstantService.GetOperatingSystemVersionConstant]. -type GetOperatingSystemVersionConstantRequest struct { - // Resource name of the OS version 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 *GetOperatingSystemVersionConstantRequest) Reset() { - *m = GetOperatingSystemVersionConstantRequest{} -} -func (m *GetOperatingSystemVersionConstantRequest) String() string { return proto.CompactTextString(m) } -func (*GetOperatingSystemVersionConstantRequest) ProtoMessage() {} -func (*GetOperatingSystemVersionConstantRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_97a0893223528a69, []int{0} -} - -func (m *GetOperatingSystemVersionConstantRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetOperatingSystemVersionConstantRequest.Unmarshal(m, b) -} -func (m *GetOperatingSystemVersionConstantRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetOperatingSystemVersionConstantRequest.Marshal(b, m, deterministic) -} -func (m *GetOperatingSystemVersionConstantRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetOperatingSystemVersionConstantRequest.Merge(m, src) -} -func (m *GetOperatingSystemVersionConstantRequest) XXX_Size() int { - return xxx_messageInfo_GetOperatingSystemVersionConstantRequest.Size(m) -} -func (m *GetOperatingSystemVersionConstantRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetOperatingSystemVersionConstantRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetOperatingSystemVersionConstantRequest proto.InternalMessageInfo - -func (m *GetOperatingSystemVersionConstantRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetOperatingSystemVersionConstantRequest)(nil), "google.ads.googleads.v1.services.GetOperatingSystemVersionConstantRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/operating_system_version_constant_service.proto", fileDescriptor_97a0893223528a69) -} - -var fileDescriptor_97a0893223528a69 = []byte{ - // 376 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xcf, 0x4a, 0xf3, 0x40, - 0x14, 0xc5, 0x49, 0x3e, 0xf8, 0xc0, 0xa0, 0x9b, 0xac, 0xa4, 0xb8, 0xa8, 0xb5, 0x42, 0xe9, 0x62, - 0x42, 0x14, 0x11, 0x46, 0xba, 0x48, 0x5d, 0x54, 0x5d, 0xd8, 0xd2, 0x42, 0x16, 0x12, 0x08, 0x63, - 0x33, 0x84, 0x40, 0x33, 0x37, 0xe6, 0x4e, 0x03, 0x22, 0x6e, 0x7c, 0x03, 0x71, 0xe9, 0xce, 0xa5, - 0x8f, 0xe2, 0xd6, 0x57, 0x70, 0xe5, 0xce, 0x37, 0x90, 0x74, 0x32, 0x01, 0x17, 0xfd, 0xb3, 0x3b, - 0x4c, 0x4e, 0x7e, 0x67, 0xee, 0xb9, 0x63, 0x8d, 0x62, 0x80, 0x78, 0xc6, 0x1d, 0x16, 0xa1, 0xa3, - 0x64, 0xa9, 0x0a, 0xd7, 0x41, 0x9e, 0x17, 0xc9, 0x94, 0xa3, 0x03, 0x19, 0xcf, 0x99, 0x4c, 0x44, - 0x1c, 0xe2, 0x3d, 0x4a, 0x9e, 0x86, 0x05, 0xcf, 0x31, 0x01, 0x11, 0x4e, 0x41, 0xa0, 0x64, 0x42, - 0x86, 0x95, 0x95, 0x64, 0x39, 0x48, 0xb0, 0x9b, 0x0a, 0x43, 0x58, 0x84, 0xa4, 0x26, 0x92, 0xc2, - 0x25, 0x9a, 0xd8, 0xb8, 0x5c, 0x96, 0x99, 0x73, 0x84, 0x79, 0xbe, 0x51, 0xa8, 0x0a, 0x6b, 0xec, - 0x69, 0x54, 0x96, 0x38, 0x4c, 0x08, 0x90, 0x4c, 0x26, 0x20, 0x50, 0x7d,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f5, 0x5d, 0x4a, 0xb5, 0xed, 0xf6, 0xff, 0xe2, 0x9e, 0xc7, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, - 0xcc, 0x3c, 0xee, 0x41, 0x68, 0x03, 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 - -// OperatingSystemVersionConstantServiceClient is the client API for OperatingSystemVersionConstantService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type OperatingSystemVersionConstantServiceClient interface { - // Returns the requested OS version constant in full detail. - GetOperatingSystemVersionConstant(ctx context.Context, in *GetOperatingSystemVersionConstantRequest, opts ...grpc.CallOption) (*resources.OperatingSystemVersionConstant, error) -} - -type operatingSystemVersionConstantServiceClient struct { - cc *grpc.ClientConn -} - -func NewOperatingSystemVersionConstantServiceClient(cc *grpc.ClientConn) OperatingSystemVersionConstantServiceClient { - return &operatingSystemVersionConstantServiceClient{cc} -} - -func (c *operatingSystemVersionConstantServiceClient) GetOperatingSystemVersionConstant(ctx context.Context, in *GetOperatingSystemVersionConstantRequest, opts ...grpc.CallOption) (*resources.OperatingSystemVersionConstant, error) { - out := new(resources.OperatingSystemVersionConstant) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.OperatingSystemVersionConstantService/GetOperatingSystemVersionConstant", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// OperatingSystemVersionConstantServiceServer is the server API for OperatingSystemVersionConstantService service. -type OperatingSystemVersionConstantServiceServer interface { - // Returns the requested OS version constant in full detail. - GetOperatingSystemVersionConstant(context.Context, *GetOperatingSystemVersionConstantRequest) (*resources.OperatingSystemVersionConstant, error) -} - -// UnimplementedOperatingSystemVersionConstantServiceServer can be embedded to have forward compatible implementations. -type UnimplementedOperatingSystemVersionConstantServiceServer struct { -} - -func (*UnimplementedOperatingSystemVersionConstantServiceServer) GetOperatingSystemVersionConstant(ctx context.Context, req *GetOperatingSystemVersionConstantRequest) (*resources.OperatingSystemVersionConstant, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetOperatingSystemVersionConstant not implemented") -} - -func RegisterOperatingSystemVersionConstantServiceServer(s *grpc.Server, srv OperatingSystemVersionConstantServiceServer) { - s.RegisterService(&_OperatingSystemVersionConstantService_serviceDesc, srv) -} - -func _OperatingSystemVersionConstantService_GetOperatingSystemVersionConstant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetOperatingSystemVersionConstantRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OperatingSystemVersionConstantServiceServer).GetOperatingSystemVersionConstant(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.OperatingSystemVersionConstantService/GetOperatingSystemVersionConstant", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OperatingSystemVersionConstantServiceServer).GetOperatingSystemVersionConstant(ctx, req.(*GetOperatingSystemVersionConstantRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _OperatingSystemVersionConstantService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.OperatingSystemVersionConstantService", - HandlerType: (*OperatingSystemVersionConstantServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetOperatingSystemVersionConstant", - Handler: _OperatingSystemVersionConstantService_GetOperatingSystemVersionConstant_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/operating_system_version_constant_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/paid_organic_search_term_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/paid_organic_search_term_view_service.pb.go deleted file mode 100644 index 307b3e45..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/paid_organic_search_term_view_service.pb.go +++ /dev/null @@ -1,189 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/paid_organic_search_term_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [PaidOrganicSearchTermViewService.GetPaidOrganicSearchTermView][google.ads.googleads.v1.services.PaidOrganicSearchTermViewService.GetPaidOrganicSearchTermView]. -type GetPaidOrganicSearchTermViewRequest struct { - // The resource name of the paid organic 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 *GetPaidOrganicSearchTermViewRequest) Reset() { *m = GetPaidOrganicSearchTermViewRequest{} } -func (m *GetPaidOrganicSearchTermViewRequest) String() string { return proto.CompactTextString(m) } -func (*GetPaidOrganicSearchTermViewRequest) ProtoMessage() {} -func (*GetPaidOrganicSearchTermViewRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ccacc683251a5992, []int{0} -} - -func (m *GetPaidOrganicSearchTermViewRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetPaidOrganicSearchTermViewRequest.Unmarshal(m, b) -} -func (m *GetPaidOrganicSearchTermViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetPaidOrganicSearchTermViewRequest.Marshal(b, m, deterministic) -} -func (m *GetPaidOrganicSearchTermViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetPaidOrganicSearchTermViewRequest.Merge(m, src) -} -func (m *GetPaidOrganicSearchTermViewRequest) XXX_Size() int { - return xxx_messageInfo_GetPaidOrganicSearchTermViewRequest.Size(m) -} -func (m *GetPaidOrganicSearchTermViewRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetPaidOrganicSearchTermViewRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetPaidOrganicSearchTermViewRequest proto.InternalMessageInfo - -func (m *GetPaidOrganicSearchTermViewRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetPaidOrganicSearchTermViewRequest)(nil), "google.ads.googleads.v1.services.GetPaidOrganicSearchTermViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/paid_organic_search_term_view_service.proto", fileDescriptor_ccacc683251a5992) -} - -var fileDescriptor_ccacc683251a5992 = []byte{ - // 389 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0x41, 0x8b, 0xd3, 0x40, - 0x18, 0x86, 0x49, 0x04, 0xc1, 0xa0, 0x97, 0x9c, 0xa4, 0xf4, 0x10, 0xda, 0x0a, 0xd2, 0xc3, 0x0c, - 0xd1, 0xdb, 0x58, 0x85, 0x14, 0x4b, 0x45, 0x44, 0x4b, 0x2b, 0x39, 0x48, 0x20, 0x8c, 0xc9, 0x47, - 0x1c, 0x68, 0x32, 0x71, 0xbe, 0x34, 0x3d, 0x88, 0x17, 0xcf, 0xe2, 0xc5, 0x7f, 0xe0, 0xd1, 0x9f, - 0xb2, 0xd7, 0xfd, 0x0b, 0x7b, 0xd9, 0xfd,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c5, 0x5f, 0xfb, 0x8d, - 0xbb, 0x68, 0xfa, 0xfe, 0x71, 0x63, 0xf4, 0xd7, 0xc9, 0x01, 0x2b, 0x99, 0x83, 0x42, 0x3a, 0x6f, - 0x17, 0x70, 0x2b, 0x01, 0xe9, 0xfc, 0xe7, 0xf2, 0xb7, 0xed, 0xcc, 0x12, 0x99, 0x0f, 0x0e, 0xb4, - 0x7c, 0x36, 0x54, 0xdb, 0xa6, 0x59, 0xd6, 0xc6, 0xfa, 0xf2, 0xee, 0x84, 0xca, 0xe4, 0x9e, 0x17, - 0x19, 0x91, 0x2a, 0xa3, 0x19, 0x14, 0xed, 0x2a, 0xcd, 0x1f, 0x29, 0x05, 0xf6, 0x7f, 0xd1, 0x57, - 0x46, 0xfc, 0xb3, 0x1f, 0xac, 0x83, 0xe0, 0xbf, 0xed, 0xad, 0x35, 0x30, 0x48, 0x91, 0x68, 0xd9, - 0xa8, 0xd0, 0x27, 0xa7, 0x60, 0x3c, 0x33, 0x96, 0x28, 0x48, 0x31, 0xea, 0x2c, 0x51, 0xe8, 0x47, - 0xc6, 0x72, 0x65, 0xcf, 0xf4, 0x39, 0x63, 0x41, 0x8a, 0x8c, 0x75, 0x26, 0xc6, 0x42, 0x9f, 0x31, - 0x63, 0xfb, 0xfa, 0xb0, 0x7d, 0xe7, 0xcb, 0xeb, 0x00, 0x00, 0x00, 0xff, 0xff, 0x55, 0x18, 0xd6, - 0x92, 0x49, 0x03, 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 - -// PaidOrganicSearchTermViewServiceClient is the client API for PaidOrganicSearchTermViewService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type PaidOrganicSearchTermViewServiceClient interface { - // Returns the requested paid organic search term view in full detail. - GetPaidOrganicSearchTermView(ctx context.Context, in *GetPaidOrganicSearchTermViewRequest, opts ...grpc.CallOption) (*resources.PaidOrganicSearchTermView, error) -} - -type paidOrganicSearchTermViewServiceClient struct { - cc *grpc.ClientConn -} - -func NewPaidOrganicSearchTermViewServiceClient(cc *grpc.ClientConn) PaidOrganicSearchTermViewServiceClient { - return &paidOrganicSearchTermViewServiceClient{cc} -} - -func (c *paidOrganicSearchTermViewServiceClient) GetPaidOrganicSearchTermView(ctx context.Context, in *GetPaidOrganicSearchTermViewRequest, opts ...grpc.CallOption) (*resources.PaidOrganicSearchTermView, error) { - out := new(resources.PaidOrganicSearchTermView) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.PaidOrganicSearchTermViewService/GetPaidOrganicSearchTermView", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// PaidOrganicSearchTermViewServiceServer is the server API for PaidOrganicSearchTermViewService service. -type PaidOrganicSearchTermViewServiceServer interface { - // Returns the requested paid organic search term view in full detail. - GetPaidOrganicSearchTermView(context.Context, *GetPaidOrganicSearchTermViewRequest) (*resources.PaidOrganicSearchTermView, error) -} - -// UnimplementedPaidOrganicSearchTermViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedPaidOrganicSearchTermViewServiceServer struct { -} - -func (*UnimplementedPaidOrganicSearchTermViewServiceServer) GetPaidOrganicSearchTermView(ctx context.Context, req *GetPaidOrganicSearchTermViewRequest) (*resources.PaidOrganicSearchTermView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetPaidOrganicSearchTermView not implemented") -} - -func RegisterPaidOrganicSearchTermViewServiceServer(s *grpc.Server, srv PaidOrganicSearchTermViewServiceServer) { - s.RegisterService(&_PaidOrganicSearchTermViewService_serviceDesc, srv) -} - -func _PaidOrganicSearchTermViewService_GetPaidOrganicSearchTermView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetPaidOrganicSearchTermViewRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PaidOrganicSearchTermViewServiceServer).GetPaidOrganicSearchTermView(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.PaidOrganicSearchTermViewService/GetPaidOrganicSearchTermView", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PaidOrganicSearchTermViewServiceServer).GetPaidOrganicSearchTermView(ctx, req.(*GetPaidOrganicSearchTermViewRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _PaidOrganicSearchTermViewService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.PaidOrganicSearchTermViewService", - HandlerType: (*PaidOrganicSearchTermViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetPaidOrganicSearchTermView", - Handler: _PaidOrganicSearchTermViewService_GetPaidOrganicSearchTermView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/paid_organic_search_term_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/parental_status_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/parental_status_view_service.pb.go deleted file mode 100644 index d181a011..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/parental_status_view_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/parental_status_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [ParentalStatusViewService.GetParentalStatusView][google.ads.googleads.v1.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_3875092f69544412, []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 (m *GetParentalStatusViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetParentalStatusViewRequest.Merge(m, 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.v1.services.GetParentalStatusViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/parental_status_view_service.proto", fileDescriptor_3875092f69544412) -} - -var fileDescriptor_3875092f69544412 = []byte{ - // 371 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xcf, 0x4a, 0xc3, 0x30, - 0x18, 0xa7, 0x15, 0x04, 0x8b, 0x5e, 0x0a, 0x82, 0x8e, 0x21, 0x63, 0xee, 0x20, 0x3b, 0x24, 0x54, - 0x19, 0x42, 0x74, 0x42, 0xb7, 0xc3, 0x3c, 0xc9, 0xd8, 0xa0, 0x07, 0x29, 0x94, 0xb8, 0x86, 0x52, - 0x58, 0x9b, 0xda, 0x2f, 0xed, 0x0e, 0xe2, 0x45, 0xf0, 0x09, 0x7c, 0x03, 0x8f, 0x3e, 0x8a, 0xe0, - 0xc9, 0x57, 0xf0, 0xa4, 0x2f, 0x21, 0x5d, 0x9a, 0x8a, 0xcc, 0xba, 0xdb, 0x8f, 0xe4, 0xf7, 0xe7, - 0xcb, 0xef, 0x8b, 0x31, 0x0c, 0x38, 0x0f, 0xe6, 0x0c, 0x53, 0x1f, 0xb0, 0x84, 0x05, 0xca, 0x2d, - 0x0c, 0x2c, 0xcd, 0xc3, 0x19, 0x03, 0x9c, 0xd0, 0x94, 0xc5, 0x82, 0xce, 0x3d, 0x10, 0x54, 0x64, - 0xe0, 0xe5, 0x21, 0x5b, 0x78, 0xe5, 0x2d, 0x4a, 0x52, 0x2e, 0xb8, 0xd9, 0x92, 0x4a, 0x44, 0x7d, - 0x40, 0x95, 0x09, 0xca, 0x2d, 0xa4, 0x4c, 0x1a, 0xe7, 0x75, 0x31, 0x29, 0x03, 0x9e, 0xa5, 0x75, - 0x39, 0xd2, 0xbf, 0xd1, 0x54, 0xea, 0x24, 0xc4, 0x34, 0x8e, 0xb9, 0xa0, 0x22, 0xe4, 0x31, 0xc8, - 0xdb, 0xf6, 0xd0, 0x68, 0x8e, 0x98, 0x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 0x08, 0x51, 0xb4, - 0x9b, 0xcd, 0xe5, 0x9c, 0x27, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x08, 0x89, 0x70, 0x7e, 0x06, - 0x03, 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 - -// 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.v1.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) -} - -// UnimplementedParentalStatusViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedParentalStatusViewServiceServer struct { -} - -func (*UnimplementedParentalStatusViewServiceServer) GetParentalStatusView(ctx context.Context, req *GetParentalStatusViewRequest) (*resources.ParentalStatusView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetParentalStatusView not implemented") -} - -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.v1.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.v1.services.ParentalStatusViewService", - HandlerType: (*ParentalStatusViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetParentalStatusView", - Handler: _ParentalStatusViewService_GetParentalStatusView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/parental_status_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/payments_account_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/payments_account_service.pb.go deleted file mode 100644 index 889b79a2..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/payments_account_service.pb.go +++ /dev/null @@ -1,235 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/payments_account_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // 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_68acb38ba4f095b7, []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 (m *ListPaymentsAccountsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListPaymentsAccountsRequest.Merge(m, 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.v1.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_68acb38ba4f095b7, []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 (m *ListPaymentsAccountsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListPaymentsAccountsResponse.Merge(m, 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.v1.services.ListPaymentsAccountsRequest") - proto.RegisterType((*ListPaymentsAccountsResponse)(nil), "google.ads.googleads.v1.services.ListPaymentsAccountsResponse") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/payments_account_service.proto", fileDescriptor_68acb38ba4f095b7) -} - -var fileDescriptor_68acb38ba4f095b7 = []byte{ - // 399 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x52, 0xcf, 0x6a, 0xdb, 0x30, - 0x18, 0xc7, 0x0e, 0x0c, 0xa6, 0x5c, 0x36, 0x33, 0x46, 0x48, 0x02, 0x33, 0x21, 0x87, 0xb0, 0x83, - 0x34, 0x67, 0x30, 0x86, 0x46, 0x32, 0x9c, 0x4b, 0x36, 0xd8, 0x21, 0x64, 0x90, 0xc3, 0x30, 0x18, - 0xcf, 0x16, 0xc6, 0x90, 0x48, 0xae, 0x3f, 0x39, 0x50, 0x4a, 0x29, 0xe4, 0x15, 0xfa, 0x06, 0x3d, - 0xf6, 0x51, 0x0a, 0x3d, 0xf5, 0x15, 0x7a, 0x28, 0x7d, 0x8a, 0xe2, 0xc8, 0x32, 0xc5, 0x38, 0x0d, - 0xf4, 0xf6, 0x43, 0xfa, 0xfd, 0xd1, 0xf7, 0xd3, 0x87, 0x7e, 0xc6, 0x42, 0xc4, 0x6b, 0x46, 0x82, - 0x08, 0x88, 0x82, 0x05, 0xda, 0x3a, 0x04, 0x58, 0xb6, 0x4d, 0x42, 0x06, 0x24, 0x0d, 0x4e, 0x37, - 0x8c, 0x4b, 0xf0, 0x83, 0x30, 0x14, 0x39, 0x97, 0x7e, 0x79, 0x83, 0xd3, 0x4c, 0x48, 0x61, 0xd9, - 0x4a, 0x85, 0x83, 0x08, 0x70, 0x65, 0x80, 0xb7, 0x0e, 0xd6, 0x06, 0xdd, 0xef, 0x87, 0x22, 0x32, - 0x06, 0x22, 0xcf, 0x9a, 0x32, 0x94, 0x77, 0xb7, 0xaf, 0x95, 0x69, 0x42, 0x02, 0xce, 0x85, 0x0c, - 0x64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 0x00, 0x2b, 0x58, 0xa0, 0x95, 0x83, 0xcb, 0x60, 0xb8, - 0xd1, 0x14, 0xcf, 0x8d, 0xc0, 0xab, 0x28, 0xde, 0xca, 0xf1, 0x34, 0xe5, 0xd1, 0x1c, 0xaa, 0x73, - 0x4a, 0xdd, 0x08, 0x28, 0xad, 0x48, 0x94, 0xae, 0x1c, 0x4a, 0x35, 0xed, 0xff, 0x9b, 0xfd, 0x3b, - 0xbf, 0x3e, 0x05, 0x00, 0x00, 0xff, 0xff, 0xdc, 0xe9, 0x84, 0xbb, 0x74, 0x03, 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 - -// 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.v1.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) -} - -// UnimplementedPaymentsAccountServiceServer can be embedded to have forward compatible implementations. -type UnimplementedPaymentsAccountServiceServer struct { -} - -func (*UnimplementedPaymentsAccountServiceServer) ListPaymentsAccounts(ctx context.Context, req *ListPaymentsAccountsRequest) (*ListPaymentsAccountsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListPaymentsAccounts not implemented") -} - -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.v1.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.v1.services.PaymentsAccountService", - HandlerType: (*PaymentsAccountServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListPaymentsAccounts", - Handler: _PaymentsAccountService_ListPaymentsAccounts_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/payments_account_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/product_bidding_category_constant_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/product_bidding_category_constant_service.pb.go deleted file mode 100644 index 51a8e56e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/product_bidding_category_constant_service.pb.go +++ /dev/null @@ -1,190 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/product_bidding_category_constant_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [ProductBiddingCategoryService.GetProductBiddingCategory][]. -type GetProductBiddingCategoryConstantRequest struct { - // Resource name of the Product Bidding Category 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 *GetProductBiddingCategoryConstantRequest) Reset() { - *m = GetProductBiddingCategoryConstantRequest{} -} -func (m *GetProductBiddingCategoryConstantRequest) String() string { return proto.CompactTextString(m) } -func (*GetProductBiddingCategoryConstantRequest) ProtoMessage() {} -func (*GetProductBiddingCategoryConstantRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db720fb3c3f176ea, []int{0} -} - -func (m *GetProductBiddingCategoryConstantRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetProductBiddingCategoryConstantRequest.Unmarshal(m, b) -} -func (m *GetProductBiddingCategoryConstantRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetProductBiddingCategoryConstantRequest.Marshal(b, m, deterministic) -} -func (m *GetProductBiddingCategoryConstantRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetProductBiddingCategoryConstantRequest.Merge(m, src) -} -func (m *GetProductBiddingCategoryConstantRequest) XXX_Size() int { - return xxx_messageInfo_GetProductBiddingCategoryConstantRequest.Size(m) -} -func (m *GetProductBiddingCategoryConstantRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetProductBiddingCategoryConstantRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetProductBiddingCategoryConstantRequest proto.InternalMessageInfo - -func (m *GetProductBiddingCategoryConstantRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetProductBiddingCategoryConstantRequest)(nil), "google.ads.googleads.v1.services.GetProductBiddingCategoryConstantRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/product_bidding_category_constant_service.proto", fileDescriptor_db720fb3c3f176ea) -} - -var fileDescriptor_db720fb3c3f176ea = []byte{ - // 379 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xcf, 0x4a, 0xeb, 0x40, - 0x18, 0xc5, 0x49, 0x2e, 0x5c, 0xb8, 0xe1, 0xde, 0x4d, 0x56, 0x97, 0xe2, 0xa2, 0xd6, 0x0a, 0xa5, - 0x8b, 0x09, 0x51, 0x44, 0x18, 0xe9, 0x22, 0xed, 0xa2, 0xea, 0x42, 0x43, 0x85, 0x2e, 0x24, 0x10, - 0xa6, 0x99, 0x61, 0x08, 0xb4, 0x33, 0x71, 0xbe, 0x69, 0x41, 0xc4, 0x8d, 0x6f, 0x20, 0x2e, 0xdd, - 0xb9, 0xf4, 0x51, 0xdc, 0xfa, 0x0a, 0xae, 0xdc, 0xf9, 0x06, 0x92, 0x4e, 0x26, 0xe0, 0xa2, 0x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d, 0xbd, 0x62, 0xed, 0xaf, 0x10, 0x74, 0xef, 0xfb, 0x8f, - 0xae, 0xd7, 0xce, 0xe4, 0x6c, 0xe3, 0x4c, 0xfd, 0xee, 0x56, 0x1d, 0xc6, 0xe5, 0x0e, 0x63, 0xe7, - 0xfa, 0xb4, 0xe2, 0x71, 0x39, 0x25, 0x82, 0x23, 0xa9, 0x78, 0xc0, 0x99, 0x58, 0x6e, 0xd8, 0x3e, - 0x9f, 0x22, 0x87, 0xd5, 0x2f, 0xf8, 0xc4, 0x8a, 0x17, 0xf7, 0xd7, 0x30, 0x8a, 0x5e, 0xdd, 0xe6, - 0xd0, 0x00, 0x23, 0x0a, 0xc8, 0xc8, 0x52, 0x8d, 0x43, 0x54, 0x05, 0xc3, 0x9b, 0xb5, 0x24, 0x11, - 0x85, 0xa4, 0xb6, 0x24, 0xe3, 0x30, 0xb1, 0x96, 0x4f, 0xb7, 0x6d, 0xce, 0x31, 0x8e, 0x28, 0x60, - 0x5c, 0x9b, 0x30, 0x1e, 0x87, 0x18, 0x5b, 0xdb, 0xe4, 0xf7, 0xf2, 0x9e, 0x87, 0xdf, 0x01, 0x00, - 0x00, 0xff, 0xff, 0x6e, 0x93, 0x85, 0xef, 0x68, 0x03, 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 - -// ProductBiddingCategoryConstantServiceClient is the client API for ProductBiddingCategoryConstantService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ProductBiddingCategoryConstantServiceClient interface { - // Returns the requested Product Bidding Category in full detail. - GetProductBiddingCategoryConstant(ctx context.Context, in *GetProductBiddingCategoryConstantRequest, opts ...grpc.CallOption) (*resources.ProductBiddingCategoryConstant, error) -} - -type productBiddingCategoryConstantServiceClient struct { - cc *grpc.ClientConn -} - -func NewProductBiddingCategoryConstantServiceClient(cc *grpc.ClientConn) ProductBiddingCategoryConstantServiceClient { - return &productBiddingCategoryConstantServiceClient{cc} -} - -func (c *productBiddingCategoryConstantServiceClient) GetProductBiddingCategoryConstant(ctx context.Context, in *GetProductBiddingCategoryConstantRequest, opts ...grpc.CallOption) (*resources.ProductBiddingCategoryConstant, error) { - out := new(resources.ProductBiddingCategoryConstant) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.ProductBiddingCategoryConstantService/GetProductBiddingCategoryConstant", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ProductBiddingCategoryConstantServiceServer is the server API for ProductBiddingCategoryConstantService service. -type ProductBiddingCategoryConstantServiceServer interface { - // Returns the requested Product Bidding Category in full detail. - GetProductBiddingCategoryConstant(context.Context, *GetProductBiddingCategoryConstantRequest) (*resources.ProductBiddingCategoryConstant, error) -} - -// UnimplementedProductBiddingCategoryConstantServiceServer can be embedded to have forward compatible implementations. -type UnimplementedProductBiddingCategoryConstantServiceServer struct { -} - -func (*UnimplementedProductBiddingCategoryConstantServiceServer) GetProductBiddingCategoryConstant(ctx context.Context, req *GetProductBiddingCategoryConstantRequest) (*resources.ProductBiddingCategoryConstant, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetProductBiddingCategoryConstant not implemented") -} - -func RegisterProductBiddingCategoryConstantServiceServer(s *grpc.Server, srv ProductBiddingCategoryConstantServiceServer) { - s.RegisterService(&_ProductBiddingCategoryConstantService_serviceDesc, srv) -} - -func _ProductBiddingCategoryConstantService_GetProductBiddingCategoryConstant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetProductBiddingCategoryConstantRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProductBiddingCategoryConstantServiceServer).GetProductBiddingCategoryConstant(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.ProductBiddingCategoryConstantService/GetProductBiddingCategoryConstant", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProductBiddingCategoryConstantServiceServer).GetProductBiddingCategoryConstant(ctx, req.(*GetProductBiddingCategoryConstantRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ProductBiddingCategoryConstantService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.ProductBiddingCategoryConstantService", - HandlerType: (*ProductBiddingCategoryConstantServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetProductBiddingCategoryConstant", - Handler: _ProductBiddingCategoryConstantService_GetProductBiddingCategoryConstant_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/product_bidding_category_constant_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/product_group_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/product_group_view_service.pb.go deleted file mode 100644 index 0b0e49f6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/product_group_view_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/product_group_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [ProductGroupViewService.GetProductGroupView][google.ads.googleads.v1.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_b1170300877f7364, []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 (m *GetProductGroupViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetProductGroupViewRequest.Merge(m, 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.v1.services.GetProductGroupViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/product_group_view_service.proto", fileDescriptor_b1170300877f7364) -} - -var fileDescriptor_b1170300877f7364 = []byte{ - // 369 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02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71, - 0xba, 0x37, 0xdf, 0xd7, 0x87, 0xd7, 0x71, 0x4e, 0xcf, 0xbe, 0x0c, 0xeb, 0x68, 0xd3, 0xe0, 0x46, - 0x25, 0xb7, 0xdf, 0x0d, 0xeb, 0x70, 0x8b, 0xbf, 0x7d, 0x81, 0x76, 0xbd, 0x19, 0x75, 0xc7, 0x72, - 0xc6, 0x9d, 0xea, 0xb6, 0x0f, 0xb4, 0xa9, 0x1d, 0x4c, 0x9e, 0x3e, 0xbf, 0x5f, 0xcc, 0x73, 0x7b, - 0xdc, 0xf4, 0xf6, 0xf0, 0xe7, 0x59, 0x97, 0x49, 0x05, 0x92, 0xe7, 0x54, 0x00, 0x1e, 0xe9, 0x22, - 0x5b, 0x21, 0xe0, 0xd1, 0xe3, 0xf4, 0xd9, 0xb4, 0x86, 0x09, 0xcf, 0x77, 0xa6, 0x9e, 0xf6, 0x3a, - 0x9a, 0x98, 0x35, 0x6d, 0xcf, 0x8c, 0xdb, 0xab, 0xb5, 0x03, 0xe3, 0x8b, 0xb8, 0x60, 0x88, 0x0b, - 0x86, 0x19, 0x2d, 0x56, 0xbb, 0xd0, 0x9b, 0x2d, 0x33, 0xe8, 0xfe, 0x4d, 0x13, 0x0d, 0x5e, 0xcd, - 0x7f, 0xbe, 0xe7, 0xbd, 0x99, 0x7d, 0x5f, 0x19, 0x7a, 0x29, 0x20, 0x05, 0x1b, 0x14, 0xb8, 0x68, - 0x3d, 0x18, 0x3e, 0x34, 0x25, 0xf4, 0x52, 0x08, 0x5b, 0x4a, 0x18, 0xb8, 0xa1, 0xa6, 0xfc, 0x98, - 0x43, 0x75, 0x4e, 0x88, 0x97, 0x02, 0x21, 0x2d, 0x89, 0x90, 0xc0, 0x25, 0x44, 0xd3, 0xee, 0xfe, - 0xaf, 0x72, 0x8e, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xea, 0xc2, 0x72, 0x20, 0xf4, 0x02, 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 - -// 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.v1.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) -} - -// UnimplementedProductGroupViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedProductGroupViewServiceServer struct { -} - -func (*UnimplementedProductGroupViewServiceServer) GetProductGroupView(ctx context.Context, req *GetProductGroupViewRequest) (*resources.ProductGroupView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetProductGroupView not implemented") -} - -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.v1.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.v1.services.ProductGroupViewService", - HandlerType: (*ProductGroupViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetProductGroupView", - Handler: _ProductGroupViewService_GetProductGroupView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/product_group_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/recommendation_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/recommendation_service.pb.go deleted file mode 100644 index e8a60d9c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/recommendation_service.pb.go +++ /dev/null @@ -1,1291 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/recommendation_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v1/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [RecommendationService.GetRecommendation][google.ads.googleads.v1.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_a744af7243d0735a, []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 (m *GetRecommendationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRecommendationRequest.Merge(m, 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.v1.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"` - // 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"` - // 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"` - 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_a744af7243d0735a, []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 (m *ApplyRecommendationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApplyRecommendationRequest.Merge(m, 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) GetOperations() []*ApplyRecommendationOperation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *ApplyRecommendationRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -// 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 - // *ApplyRecommendationOperation_CalloutExtension - // *ApplyRecommendationOperation_CallExtension - // *ApplyRecommendationOperation_SitelinkExtension - // *ApplyRecommendationOperation_MoveUnusedBudget - 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_a744af7243d0735a, []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 (m *ApplyRecommendationOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApplyRecommendationOperation.Merge(m, 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"` -} - -type ApplyRecommendationOperation_CalloutExtension struct { - CalloutExtension *ApplyRecommendationOperation_CalloutExtensionParameters `protobuf:"bytes,6,opt,name=callout_extension,json=calloutExtension,proto3,oneof"` -} - -type ApplyRecommendationOperation_CallExtension struct { - CallExtension *ApplyRecommendationOperation_CallExtensionParameters `protobuf:"bytes,7,opt,name=call_extension,json=callExtension,proto3,oneof"` -} - -type ApplyRecommendationOperation_SitelinkExtension struct { - SitelinkExtension *ApplyRecommendationOperation_SitelinkExtensionParameters `protobuf:"bytes,8,opt,name=sitelink_extension,json=sitelinkExtension,proto3,oneof"` -} - -type ApplyRecommendationOperation_MoveUnusedBudget struct { - MoveUnusedBudget *ApplyRecommendationOperation_MoveUnusedBudgetParameters `protobuf:"bytes,9,opt,name=move_unused_budget,json=moveUnusedBudget,proto3,oneof"` -} - -func (*ApplyRecommendationOperation_CampaignBudget) isApplyRecommendationOperation_ApplyParameters() {} - -func (*ApplyRecommendationOperation_TextAd) isApplyRecommendationOperation_ApplyParameters() {} - -func (*ApplyRecommendationOperation_Keyword) isApplyRecommendationOperation_ApplyParameters() {} - -func (*ApplyRecommendationOperation_TargetCpaOptIn) isApplyRecommendationOperation_ApplyParameters() {} - -func (*ApplyRecommendationOperation_CalloutExtension) isApplyRecommendationOperation_ApplyParameters() { -} - -func (*ApplyRecommendationOperation_CallExtension) isApplyRecommendationOperation_ApplyParameters() {} - -func (*ApplyRecommendationOperation_SitelinkExtension) isApplyRecommendationOperation_ApplyParameters() { -} - -func (*ApplyRecommendationOperation_MoveUnusedBudget) 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 -} - -func (m *ApplyRecommendationOperation) GetCalloutExtension() *ApplyRecommendationOperation_CalloutExtensionParameters { - if x, ok := m.GetApplyParameters().(*ApplyRecommendationOperation_CalloutExtension); ok { - return x.CalloutExtension - } - return nil -} - -func (m *ApplyRecommendationOperation) GetCallExtension() *ApplyRecommendationOperation_CallExtensionParameters { - if x, ok := m.GetApplyParameters().(*ApplyRecommendationOperation_CallExtension); ok { - return x.CallExtension - } - return nil -} - -func (m *ApplyRecommendationOperation) GetSitelinkExtension() *ApplyRecommendationOperation_SitelinkExtensionParameters { - if x, ok := m.GetApplyParameters().(*ApplyRecommendationOperation_SitelinkExtension); ok { - return x.SitelinkExtension - } - return nil -} - -func (m *ApplyRecommendationOperation) GetMoveUnusedBudget() *ApplyRecommendationOperation_MoveUnusedBudgetParameters { - if x, ok := m.GetApplyParameters().(*ApplyRecommendationOperation_MoveUnusedBudget); ok { - return x.MoveUnusedBudget - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ApplyRecommendationOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ApplyRecommendationOperation_CampaignBudget)(nil), - (*ApplyRecommendationOperation_TextAd)(nil), - (*ApplyRecommendationOperation_Keyword)(nil), - (*ApplyRecommendationOperation_TargetCpaOptIn)(nil), - (*ApplyRecommendationOperation_CalloutExtension)(nil), - (*ApplyRecommendationOperation_CallExtension)(nil), - (*ApplyRecommendationOperation_SitelinkExtension)(nil), - (*ApplyRecommendationOperation_MoveUnusedBudget)(nil), - } -} - -// 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_a744af7243d0735a, []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 (m *ApplyRecommendationOperation_CampaignBudgetParameters) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApplyRecommendationOperation_CampaignBudgetParameters.Merge(m, 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_a744af7243d0735a, []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 (m *ApplyRecommendationOperation_TextAdParameters) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApplyRecommendationOperation_TextAdParameters.Merge(m, 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.v1.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_a744af7243d0735a, []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 (m *ApplyRecommendationOperation_KeywordParameters) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApplyRecommendationOperation_KeywordParameters.Merge(m, 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_a744af7243d0735a, []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 (m *ApplyRecommendationOperation_TargetCpaOptInParameters) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApplyRecommendationOperation_TargetCpaOptInParameters.Merge(m, 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 -} - -// Parameters to use when applying callout extension recommendation. -type ApplyRecommendationOperation_CalloutExtensionParameters struct { - // Callout extensions to be added. This is a required field. - CalloutExtensions []*common.CalloutFeedItem `protobuf:"bytes,1,rep,name=callout_extensions,json=calloutExtensions,proto3" json:"callout_extensions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ApplyRecommendationOperation_CalloutExtensionParameters) Reset() { - *m = ApplyRecommendationOperation_CalloutExtensionParameters{} -} -func (m *ApplyRecommendationOperation_CalloutExtensionParameters) String() string { - return proto.CompactTextString(m) -} -func (*ApplyRecommendationOperation_CalloutExtensionParameters) ProtoMessage() {} -func (*ApplyRecommendationOperation_CalloutExtensionParameters) Descriptor() ([]byte, []int) { - return fileDescriptor_a744af7243d0735a, []int{2, 4} -} - -func (m *ApplyRecommendationOperation_CalloutExtensionParameters) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ApplyRecommendationOperation_CalloutExtensionParameters.Unmarshal(m, b) -} -func (m *ApplyRecommendationOperation_CalloutExtensionParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ApplyRecommendationOperation_CalloutExtensionParameters.Marshal(b, m, deterministic) -} -func (m *ApplyRecommendationOperation_CalloutExtensionParameters) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApplyRecommendationOperation_CalloutExtensionParameters.Merge(m, src) -} -func (m *ApplyRecommendationOperation_CalloutExtensionParameters) XXX_Size() int { - return xxx_messageInfo_ApplyRecommendationOperation_CalloutExtensionParameters.Size(m) -} -func (m *ApplyRecommendationOperation_CalloutExtensionParameters) XXX_DiscardUnknown() { - xxx_messageInfo_ApplyRecommendationOperation_CalloutExtensionParameters.DiscardUnknown(m) -} - -var xxx_messageInfo_ApplyRecommendationOperation_CalloutExtensionParameters proto.InternalMessageInfo - -func (m *ApplyRecommendationOperation_CalloutExtensionParameters) GetCalloutExtensions() []*common.CalloutFeedItem { - if m != nil { - return m.CalloutExtensions - } - return nil -} - -// Parameters to use when applying call extension recommendation. -type ApplyRecommendationOperation_CallExtensionParameters struct { - // Call extensions to be added. This is a required field. - CallExtensions []*common.CallFeedItem `protobuf:"bytes,1,rep,name=call_extensions,json=callExtensions,proto3" json:"call_extensions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ApplyRecommendationOperation_CallExtensionParameters) Reset() { - *m = ApplyRecommendationOperation_CallExtensionParameters{} -} -func (m *ApplyRecommendationOperation_CallExtensionParameters) String() string { - return proto.CompactTextString(m) -} -func (*ApplyRecommendationOperation_CallExtensionParameters) ProtoMessage() {} -func (*ApplyRecommendationOperation_CallExtensionParameters) Descriptor() ([]byte, []int) { - return fileDescriptor_a744af7243d0735a, []int{2, 5} -} - -func (m *ApplyRecommendationOperation_CallExtensionParameters) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ApplyRecommendationOperation_CallExtensionParameters.Unmarshal(m, b) -} -func (m *ApplyRecommendationOperation_CallExtensionParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ApplyRecommendationOperation_CallExtensionParameters.Marshal(b, m, deterministic) -} -func (m *ApplyRecommendationOperation_CallExtensionParameters) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApplyRecommendationOperation_CallExtensionParameters.Merge(m, src) -} -func (m *ApplyRecommendationOperation_CallExtensionParameters) XXX_Size() int { - return xxx_messageInfo_ApplyRecommendationOperation_CallExtensionParameters.Size(m) -} -func (m *ApplyRecommendationOperation_CallExtensionParameters) XXX_DiscardUnknown() { - xxx_messageInfo_ApplyRecommendationOperation_CallExtensionParameters.DiscardUnknown(m) -} - -var xxx_messageInfo_ApplyRecommendationOperation_CallExtensionParameters proto.InternalMessageInfo - -func (m *ApplyRecommendationOperation_CallExtensionParameters) GetCallExtensions() []*common.CallFeedItem { - if m != nil { - return m.CallExtensions - } - return nil -} - -// Parameters to use when applying sitelink extension recommendation. -type ApplyRecommendationOperation_SitelinkExtensionParameters struct { - // Sitelink extensions to be added. This is a required field. - SitelinkExtensions []*common.SitelinkFeedItem `protobuf:"bytes,1,rep,name=sitelink_extensions,json=sitelinkExtensions,proto3" json:"sitelink_extensions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ApplyRecommendationOperation_SitelinkExtensionParameters) Reset() { - *m = ApplyRecommendationOperation_SitelinkExtensionParameters{} -} -func (m *ApplyRecommendationOperation_SitelinkExtensionParameters) String() string { - return proto.CompactTextString(m) -} -func (*ApplyRecommendationOperation_SitelinkExtensionParameters) ProtoMessage() {} -func (*ApplyRecommendationOperation_SitelinkExtensionParameters) Descriptor() ([]byte, []int) { - return fileDescriptor_a744af7243d0735a, []int{2, 6} -} - -func (m *ApplyRecommendationOperation_SitelinkExtensionParameters) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ApplyRecommendationOperation_SitelinkExtensionParameters.Unmarshal(m, b) -} -func (m *ApplyRecommendationOperation_SitelinkExtensionParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ApplyRecommendationOperation_SitelinkExtensionParameters.Marshal(b, m, deterministic) -} -func (m *ApplyRecommendationOperation_SitelinkExtensionParameters) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApplyRecommendationOperation_SitelinkExtensionParameters.Merge(m, src) -} -func (m *ApplyRecommendationOperation_SitelinkExtensionParameters) XXX_Size() int { - return xxx_messageInfo_ApplyRecommendationOperation_SitelinkExtensionParameters.Size(m) -} -func (m *ApplyRecommendationOperation_SitelinkExtensionParameters) XXX_DiscardUnknown() { - xxx_messageInfo_ApplyRecommendationOperation_SitelinkExtensionParameters.DiscardUnknown(m) -} - -var xxx_messageInfo_ApplyRecommendationOperation_SitelinkExtensionParameters proto.InternalMessageInfo - -func (m *ApplyRecommendationOperation_SitelinkExtensionParameters) GetSitelinkExtensions() []*common.SitelinkFeedItem { - if m != nil { - return m.SitelinkExtensions - } - return nil -} - -// Parameters to use when applying move unused budget recommendation. -type ApplyRecommendationOperation_MoveUnusedBudgetParameters struct { - // Budget amount to move from excess budget to constrained budget. This is - // a required field. - BudgetMicrosToMove *wrappers.Int64Value `protobuf:"bytes,1,opt,name=budget_micros_to_move,json=budgetMicrosToMove,proto3" json:"budget_micros_to_move,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ApplyRecommendationOperation_MoveUnusedBudgetParameters) Reset() { - *m = ApplyRecommendationOperation_MoveUnusedBudgetParameters{} -} -func (m *ApplyRecommendationOperation_MoveUnusedBudgetParameters) String() string { - return proto.CompactTextString(m) -} -func (*ApplyRecommendationOperation_MoveUnusedBudgetParameters) ProtoMessage() {} -func (*ApplyRecommendationOperation_MoveUnusedBudgetParameters) Descriptor() ([]byte, []int) { - return fileDescriptor_a744af7243d0735a, []int{2, 7} -} - -func (m *ApplyRecommendationOperation_MoveUnusedBudgetParameters) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ApplyRecommendationOperation_MoveUnusedBudgetParameters.Unmarshal(m, b) -} -func (m *ApplyRecommendationOperation_MoveUnusedBudgetParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ApplyRecommendationOperation_MoveUnusedBudgetParameters.Marshal(b, m, deterministic) -} -func (m *ApplyRecommendationOperation_MoveUnusedBudgetParameters) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApplyRecommendationOperation_MoveUnusedBudgetParameters.Merge(m, src) -} -func (m *ApplyRecommendationOperation_MoveUnusedBudgetParameters) XXX_Size() int { - return xxx_messageInfo_ApplyRecommendationOperation_MoveUnusedBudgetParameters.Size(m) -} -func (m *ApplyRecommendationOperation_MoveUnusedBudgetParameters) XXX_DiscardUnknown() { - xxx_messageInfo_ApplyRecommendationOperation_MoveUnusedBudgetParameters.DiscardUnknown(m) -} - -var xxx_messageInfo_ApplyRecommendationOperation_MoveUnusedBudgetParameters proto.InternalMessageInfo - -func (m *ApplyRecommendationOperation_MoveUnusedBudgetParameters) GetBudgetMicrosToMove() *wrappers.Int64Value { - if m != nil { - return m.BudgetMicrosToMove - } - return nil -} - -// Response message for -// [RecommendationService.ApplyRecommendation][google.ads.googleads.v1.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_a744af7243d0735a, []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 (m *ApplyRecommendationResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApplyRecommendationResponse.Merge(m, 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_a744af7243d0735a, []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 (m *ApplyRecommendationResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApplyRecommendationResult.Merge(m, 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.v1.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"` - // 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"` - // 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"` - 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_a744af7243d0735a, []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 (m *DismissRecommendationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DismissRecommendationRequest.Merge(m, 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) GetOperations() []*DismissRecommendationRequest_DismissRecommendationOperation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *DismissRecommendationRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -// 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_a744af7243d0735a, []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 (m *DismissRecommendationRequest_DismissRecommendationOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_DismissRecommendationRequest_DismissRecommendationOperation.Merge(m, 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.v1.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_a744af7243d0735a, []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 (m *DismissRecommendationResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DismissRecommendationResponse.Merge(m, 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_a744af7243d0735a, []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 (m *DismissRecommendationResponse_DismissRecommendationResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_DismissRecommendationResponse_DismissRecommendationResult.Merge(m, 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.v1.services.GetRecommendationRequest") - proto.RegisterType((*ApplyRecommendationRequest)(nil), "google.ads.googleads.v1.services.ApplyRecommendationRequest") - proto.RegisterType((*ApplyRecommendationOperation)(nil), "google.ads.googleads.v1.services.ApplyRecommendationOperation") - proto.RegisterType((*ApplyRecommendationOperation_CampaignBudgetParameters)(nil), "google.ads.googleads.v1.services.ApplyRecommendationOperation.CampaignBudgetParameters") - proto.RegisterType((*ApplyRecommendationOperation_TextAdParameters)(nil), "google.ads.googleads.v1.services.ApplyRecommendationOperation.TextAdParameters") - proto.RegisterType((*ApplyRecommendationOperation_KeywordParameters)(nil), "google.ads.googleads.v1.services.ApplyRecommendationOperation.KeywordParameters") - proto.RegisterType((*ApplyRecommendationOperation_TargetCpaOptInParameters)(nil), "google.ads.googleads.v1.services.ApplyRecommendationOperation.TargetCpaOptInParameters") - proto.RegisterType((*ApplyRecommendationOperation_CalloutExtensionParameters)(nil), "google.ads.googleads.v1.services.ApplyRecommendationOperation.CalloutExtensionParameters") - proto.RegisterType((*ApplyRecommendationOperation_CallExtensionParameters)(nil), "google.ads.googleads.v1.services.ApplyRecommendationOperation.CallExtensionParameters") - proto.RegisterType((*ApplyRecommendationOperation_SitelinkExtensionParameters)(nil), "google.ads.googleads.v1.services.ApplyRecommendationOperation.SitelinkExtensionParameters") - proto.RegisterType((*ApplyRecommendationOperation_MoveUnusedBudgetParameters)(nil), "google.ads.googleads.v1.services.ApplyRecommendationOperation.MoveUnusedBudgetParameters") - proto.RegisterType((*ApplyRecommendationResponse)(nil), "google.ads.googleads.v1.services.ApplyRecommendationResponse") - proto.RegisterType((*ApplyRecommendationResult)(nil), "google.ads.googleads.v1.services.ApplyRecommendationResult") - proto.RegisterType((*DismissRecommendationRequest)(nil), "google.ads.googleads.v1.services.DismissRecommendationRequest") - proto.RegisterType((*DismissRecommendationRequest_DismissRecommendationOperation)(nil), "google.ads.googleads.v1.services.DismissRecommendationRequest.DismissRecommendationOperation") - proto.RegisterType((*DismissRecommendationResponse)(nil), "google.ads.googleads.v1.services.DismissRecommendationResponse") - proto.RegisterType((*DismissRecommendationResponse_DismissRecommendationResult)(nil), "google.ads.googleads.v1.services.DismissRecommendationResponse.DismissRecommendationResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/recommendation_service.proto", fileDescriptor_a744af7243d0735a) -} - -var fileDescriptor_a744af7243d0735a = []byte{ - // 1333 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0xc1, 0x73, 0x14, 0x45, - 0x17, 0xff, 0x66, 0xf2, 0x41, 0xe0, 0x05, 0x42, 0xb6, 0xa9, 0x14, 0xfb, 0x4d, 0x02, 0x5f, 0x5c, - 0xb1, 0x4c, 0xa5, 0xac, 0x19, 0x37, 0x08, 0xea, 0x60, 0x80, 0x0d, 0x84, 0x90, 0xb2, 0x80, 0xd4, - 0x24, 0xc4, 0x12, 0x23, 0x53, 0x9d, 0x99, 0x66, 0x1d, 0xd9, 0x99, 0x1e, 0xbb, 0x7b, 0x12, 0x52, - 0x48, 0xa9, 0x94, 0x07, 0x29, 0x8f, 0xfe, 0x07, 0x1c, 0x3d, 0xf8, 0x17, 0xe8, 0x51, 0x0f, 0x1c, - 0xf5, 0xe6, 0xd9, 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0, 0xd6, 0xe6, 0xd0, 0xef, 0x1a, - 0x4c, 0xf6, 0xdc, 0x73, 0x74, 0x69, 0xb8, 0x83, 0x6c, 0x5c, 0x1e, 0xb2, 0xf5, 0x6b, 0x57, 0x64, - 0x6a, 0x76, 0xed, 0xfc, 0x3f, 0x4b, 0xcd, 0xcf, 0x40, 0x6d, 0x6d, 0x6e, 0xf1, 0x2b, 0x1d, 0xce, - 0x7a, 0x34, 0xec, 0x1b, 0xc8, 0xa2, 0xd1, 0xb3, 0x63, 0x57, 0xd3, 0xdb, 0x65, 0x55, 0xbb, 0x7b, - 0x23, 0xf7, 0x6f, 0xd2, 0x16, 0x8e, 0x9a, 0x26, 0x65, 0x4d, 0xab, 0x49, 0x22, 0x79, 0xf7, 0xa8, - 0xbf, 0x26, 0xe2, 0x80, 0x97, 0xff, 0x3f, 0x73, 0x51, 0x0d, 0x9e, 0xe9, 0x23, 0xcb, 0x8d, 0xc6, - 0xf7, 0xfa, 0xcc, 0x72, 0x06, 0xd8, 0xf0, 0xb9, 0x99, 0x0d, 0xd3, 0xd1, 0x46, 0xdd, 0xcc, 0x89, - 0xf9, 0x73, 0xb5, 0x64, 0xb3, 0xe1, 0xf3, 0xcd, 0xf6, 0x92, 0xcd, 0x8d, 0xfa, 0xa6, 0x5a, 0xf2, - 0xa7, 0x7e, 0x36, 0x9b, 0xb7, 0xed, 0x86, 0xcf, 0x6d, 0xbb, 0xbd, 0xc8, 0xb6, 0x37, 0xea, 0xb6, - 0xad, 0x96, 0x6d, 0x1d, 0x96, 0x71, 0x9e, 0xfb, 0x3b, 0x00, 0x00, 0xff, 0xff, 0xb3, 0x73, 0x91, - 0x69, 0x46, 0x12, 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 - -// 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.v1.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.v1.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.v1.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) -} - -// UnimplementedRecommendationServiceServer can be embedded to have forward compatible implementations. -type UnimplementedRecommendationServiceServer struct { -} - -func (*UnimplementedRecommendationServiceServer) GetRecommendation(ctx context.Context, req *GetRecommendationRequest) (*resources.Recommendation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetRecommendation not implemented") -} -func (*UnimplementedRecommendationServiceServer) ApplyRecommendation(ctx context.Context, req *ApplyRecommendationRequest) (*ApplyRecommendationResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ApplyRecommendation not implemented") -} -func (*UnimplementedRecommendationServiceServer) DismissRecommendation(ctx context.Context, req *DismissRecommendationRequest) (*DismissRecommendationResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method DismissRecommendation not implemented") -} - -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.v1.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.v1.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.v1.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.v1.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/v1/services/recommendation_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/remarketing_action_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/remarketing_action_service.pb.go deleted file mode 100644 index 5d33f6bf..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/remarketing_action_service.pb.go +++ /dev/null @@ -1,513 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/remarketing_action_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [RemarketingActionService.GetRemarketingAction][google.ads.googleads.v1.services.RemarketingActionService.GetRemarketingAction]. -type GetRemarketingActionRequest struct { - // The resource name of the remarketing 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 *GetRemarketingActionRequest) Reset() { *m = GetRemarketingActionRequest{} } -func (m *GetRemarketingActionRequest) String() string { return proto.CompactTextString(m) } -func (*GetRemarketingActionRequest) ProtoMessage() {} -func (*GetRemarketingActionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_36f723f421bc30e8, []int{0} -} - -func (m *GetRemarketingActionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetRemarketingActionRequest.Unmarshal(m, b) -} -func (m *GetRemarketingActionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetRemarketingActionRequest.Marshal(b, m, deterministic) -} -func (m *GetRemarketingActionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRemarketingActionRequest.Merge(m, src) -} -func (m *GetRemarketingActionRequest) XXX_Size() int { - return xxx_messageInfo_GetRemarketingActionRequest.Size(m) -} -func (m *GetRemarketingActionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetRemarketingActionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetRemarketingActionRequest proto.InternalMessageInfo - -func (m *GetRemarketingActionRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for -// [RemarketingActionService.MutateRemarketingActions][google.ads.googleads.v1.services.RemarketingActionService.MutateRemarketingActions]. -type MutateRemarketingActionsRequest struct { - // The ID of the customer whose remarketing 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 remarketing actions. - Operations []*RemarketingActionOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateRemarketingActionsRequest) Reset() { *m = MutateRemarketingActionsRequest{} } -func (m *MutateRemarketingActionsRequest) String() string { return proto.CompactTextString(m) } -func (*MutateRemarketingActionsRequest) ProtoMessage() {} -func (*MutateRemarketingActionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_36f723f421bc30e8, []int{1} -} - -func (m *MutateRemarketingActionsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateRemarketingActionsRequest.Unmarshal(m, b) -} -func (m *MutateRemarketingActionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateRemarketingActionsRequest.Marshal(b, m, deterministic) -} -func (m *MutateRemarketingActionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateRemarketingActionsRequest.Merge(m, src) -} -func (m *MutateRemarketingActionsRequest) XXX_Size() int { - return xxx_messageInfo_MutateRemarketingActionsRequest.Size(m) -} -func (m *MutateRemarketingActionsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateRemarketingActionsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateRemarketingActionsRequest proto.InternalMessageInfo - -func (m *MutateRemarketingActionsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateRemarketingActionsRequest) GetOperations() []*RemarketingActionOperation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *MutateRemarketingActionsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateRemarketingActionsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// A single operation (create, update) on a remarketing action. -type RemarketingActionOperation 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: - // *RemarketingActionOperation_Create - // *RemarketingActionOperation_Update - Operation isRemarketingActionOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RemarketingActionOperation) Reset() { *m = RemarketingActionOperation{} } -func (m *RemarketingActionOperation) String() string { return proto.CompactTextString(m) } -func (*RemarketingActionOperation) ProtoMessage() {} -func (*RemarketingActionOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_36f723f421bc30e8, []int{2} -} - -func (m *RemarketingActionOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemarketingActionOperation.Unmarshal(m, b) -} -func (m *RemarketingActionOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemarketingActionOperation.Marshal(b, m, deterministic) -} -func (m *RemarketingActionOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemarketingActionOperation.Merge(m, src) -} -func (m *RemarketingActionOperation) XXX_Size() int { - return xxx_messageInfo_RemarketingActionOperation.Size(m) -} -func (m *RemarketingActionOperation) XXX_DiscardUnknown() { - xxx_messageInfo_RemarketingActionOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_RemarketingActionOperation proto.InternalMessageInfo - -func (m *RemarketingActionOperation) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -type isRemarketingActionOperation_Operation interface { - isRemarketingActionOperation_Operation() -} - -type RemarketingActionOperation_Create struct { - Create *resources.RemarketingAction `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type RemarketingActionOperation_Update struct { - Update *resources.RemarketingAction `protobuf:"bytes,2,opt,name=update,proto3,oneof"` -} - -func (*RemarketingActionOperation_Create) isRemarketingActionOperation_Operation() {} - -func (*RemarketingActionOperation_Update) isRemarketingActionOperation_Operation() {} - -func (m *RemarketingActionOperation) GetOperation() isRemarketingActionOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *RemarketingActionOperation) GetCreate() *resources.RemarketingAction { - if x, ok := m.GetOperation().(*RemarketingActionOperation_Create); ok { - return x.Create - } - return nil -} - -func (m *RemarketingActionOperation) GetUpdate() *resources.RemarketingAction { - if x, ok := m.GetOperation().(*RemarketingActionOperation_Update); ok { - return x.Update - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*RemarketingActionOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*RemarketingActionOperation_Create)(nil), - (*RemarketingActionOperation_Update)(nil), - } -} - -// Response message for remarketing action mutate. -type MutateRemarketingActionsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // All results for the mutate. - Results []*MutateRemarketingActionResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateRemarketingActionsResponse) Reset() { *m = MutateRemarketingActionsResponse{} } -func (m *MutateRemarketingActionsResponse) String() string { return proto.CompactTextString(m) } -func (*MutateRemarketingActionsResponse) ProtoMessage() {} -func (*MutateRemarketingActionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_36f723f421bc30e8, []int{3} -} - -func (m *MutateRemarketingActionsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateRemarketingActionsResponse.Unmarshal(m, b) -} -func (m *MutateRemarketingActionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateRemarketingActionsResponse.Marshal(b, m, deterministic) -} -func (m *MutateRemarketingActionsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateRemarketingActionsResponse.Merge(m, src) -} -func (m *MutateRemarketingActionsResponse) XXX_Size() int { - return xxx_messageInfo_MutateRemarketingActionsResponse.Size(m) -} -func (m *MutateRemarketingActionsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateRemarketingActionsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateRemarketingActionsResponse proto.InternalMessageInfo - -func (m *MutateRemarketingActionsResponse) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -func (m *MutateRemarketingActionsResponse) GetResults() []*MutateRemarketingActionResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for the remarketing action mutate. -type MutateRemarketingActionResult 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 *MutateRemarketingActionResult) Reset() { *m = MutateRemarketingActionResult{} } -func (m *MutateRemarketingActionResult) String() string { return proto.CompactTextString(m) } -func (*MutateRemarketingActionResult) ProtoMessage() {} -func (*MutateRemarketingActionResult) Descriptor() ([]byte, []int) { - return fileDescriptor_36f723f421bc30e8, []int{4} -} - -func (m *MutateRemarketingActionResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateRemarketingActionResult.Unmarshal(m, b) -} -func (m *MutateRemarketingActionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateRemarketingActionResult.Marshal(b, m, deterministic) -} -func (m *MutateRemarketingActionResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateRemarketingActionResult.Merge(m, src) -} -func (m *MutateRemarketingActionResult) XXX_Size() int { - return xxx_messageInfo_MutateRemarketingActionResult.Size(m) -} -func (m *MutateRemarketingActionResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateRemarketingActionResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateRemarketingActionResult proto.InternalMessageInfo - -func (m *MutateRemarketingActionResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetRemarketingActionRequest)(nil), "google.ads.googleads.v1.services.GetRemarketingActionRequest") - proto.RegisterType((*MutateRemarketingActionsRequest)(nil), "google.ads.googleads.v1.services.MutateRemarketingActionsRequest") - proto.RegisterType((*RemarketingActionOperation)(nil), "google.ads.googleads.v1.services.RemarketingActionOperation") - proto.RegisterType((*MutateRemarketingActionsResponse)(nil), "google.ads.googleads.v1.services.MutateRemarketingActionsResponse") - proto.RegisterType((*MutateRemarketingActionResult)(nil), "google.ads.googleads.v1.services.MutateRemarketingActionResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/remarketing_action_service.proto", fileDescriptor_36f723f421bc30e8) -} - -var fileDescriptor_36f723f421bc30e8 = []byte{ - // 705 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0xcf, 0x6a, 0xd4, 0x40, - 0x1c, 0xc7, 0x4d, 0x56, 0xaa, 0x9d, 0x54, 0x85, 0x51, 0x31, 0xac, 0xd6, 0x2e, 0xb1, 0x60, 0xd9, - 0x43, 0xc2, 0xae, 0x45, 0x21, 0x6d, 0x91, 0x2c, 0xda, 0xd6, 0x43, 0xff, 0x90, 0x42, 0x41, 0x59, - 0x08, 0xd3, 0x64, 0x1a, 0x42, 0x93, 0x4c, 0x9c, 0x99, 0xac, 0x94, 0xd2, 0x8b, 0x88, 0x2f, 0xe0, - 0x1b, 0x78, 0xf4, 0x3d, 0x3c, 0xe8, 0xc1, 0x8b, 0xaf, 0xa0, 0x17, 0x0f, 0x3e, 0x83, 0x24, 0x93, - 0xd9, 0xfe, 0xd9, 0xa6, 0x2b, 0xed, 0x6d, 0xf6, 0x37, 0xdf, 0xfd, 0xfc, 0xfe, 0x7c, 0x67, 0x26, - 0xc0, 0x09, 0x09, 0x09, 0x63, 0x6c, 0xa1, 0x80, 0x59, 0x62, 0x59, 0xac, 0x06, 0x1d, 0x8b, 0x61, - 0x3a, 0x88, 0x7c, 0xcc, 0x2c, 0x8a, 0x13, 0x44, 0xf7, 0x30, 0x8f, 0xd2, 0xd0, 0x43, 0x3e, 0x8f, - 0x48, 0xea, 0x55, 0x7b, 0x66, 0x46, 0x09, 0x27, 0xb0, 0x25, 0xfe, 0x67, 0xa2, 0x80, 0x99, 0x43, - 0x84, 0x39, 0xe8, 0x98, 0x12, 0xd1, 0xb4, 0xeb, 0x92, 0x50, 0xcc,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00, - 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 - -// RemarketingActionServiceClient is the client API for RemarketingActionService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RemarketingActionServiceClient interface { - // Returns the requested remarketing action in full detail. - GetRemarketingAction(ctx context.Context, in *GetRemarketingActionRequest, opts ...grpc.CallOption) (*resources.RemarketingAction, error) - // Creates or updates remarketing actions. Operation statuses are returned. - MutateRemarketingActions(ctx context.Context, in *MutateRemarketingActionsRequest, opts ...grpc.CallOption) (*MutateRemarketingActionsResponse, error) -} - -type remarketingActionServiceClient struct { - cc *grpc.ClientConn -} - -func NewRemarketingActionServiceClient(cc *grpc.ClientConn) RemarketingActionServiceClient { - return &remarketingActionServiceClient{cc} -} - -func (c *remarketingActionServiceClient) GetRemarketingAction(ctx context.Context, in *GetRemarketingActionRequest, opts ...grpc.CallOption) (*resources.RemarketingAction, error) { - out := new(resources.RemarketingAction) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.RemarketingActionService/GetRemarketingAction", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *remarketingActionServiceClient) MutateRemarketingActions(ctx context.Context, in *MutateRemarketingActionsRequest, opts ...grpc.CallOption) (*MutateRemarketingActionsResponse, error) { - out := new(MutateRemarketingActionsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.RemarketingActionService/MutateRemarketingActions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RemarketingActionServiceServer is the server API for RemarketingActionService service. -type RemarketingActionServiceServer interface { - // Returns the requested remarketing action in full detail. - GetRemarketingAction(context.Context, *GetRemarketingActionRequest) (*resources.RemarketingAction, error) - // Creates or updates remarketing actions. Operation statuses are returned. - MutateRemarketingActions(context.Context, *MutateRemarketingActionsRequest) (*MutateRemarketingActionsResponse, error) -} - -// UnimplementedRemarketingActionServiceServer can be embedded to have forward compatible implementations. -type UnimplementedRemarketingActionServiceServer struct { -} - -func (*UnimplementedRemarketingActionServiceServer) GetRemarketingAction(ctx context.Context, req *GetRemarketingActionRequest) (*resources.RemarketingAction, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetRemarketingAction not implemented") -} -func (*UnimplementedRemarketingActionServiceServer) MutateRemarketingActions(ctx context.Context, req *MutateRemarketingActionsRequest) (*MutateRemarketingActionsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateRemarketingActions not implemented") -} - -func RegisterRemarketingActionServiceServer(s *grpc.Server, srv RemarketingActionServiceServer) { - s.RegisterService(&_RemarketingActionService_serviceDesc, srv) -} - -func _RemarketingActionService_GetRemarketingAction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRemarketingActionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RemarketingActionServiceServer).GetRemarketingAction(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.RemarketingActionService/GetRemarketingAction", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RemarketingActionServiceServer).GetRemarketingAction(ctx, req.(*GetRemarketingActionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RemarketingActionService_MutateRemarketingActions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateRemarketingActionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RemarketingActionServiceServer).MutateRemarketingActions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.RemarketingActionService/MutateRemarketingActions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RemarketingActionServiceServer).MutateRemarketingActions(ctx, req.(*MutateRemarketingActionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _RemarketingActionService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.RemarketingActionService", - HandlerType: (*RemarketingActionServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetRemarketingAction", - Handler: _RemarketingActionService_GetRemarketingAction_Handler, - }, - { - MethodName: "MutateRemarketingActions", - Handler: _RemarketingActionService_MutateRemarketingActions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/remarketing_action_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/search_term_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/search_term_view_service.pb.go deleted file mode 100644 index c4797697..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/search_term_view_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/search_term_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [SearchTermViewService.GetSearchTermView][google.ads.googleads.v1.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_05af83b1baea038c, []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 (m *GetSearchTermViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetSearchTermViewRequest.Merge(m, 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.v1.services.GetSearchTermViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/search_term_view_service.proto", fileDescriptor_05af83b1baea038c) -} - -var fileDescriptor_05af83b1baea038c = []byte{ - // 372 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0x31, 0x6a, 0xe3, 0x40, - 0x14, 0x45, 0x5a, 0x58, 0x58, 0xb1, 0x5b, 0xac, 0x60, 0xc1, 0x88, 0x2d, 0x8c, 0xd7, 0xc5, 0xe2, - 0x62, 0x06, 0xc5, 0x4d, 0x32, 0x21, 0x18, 0xb9, 0x71, 0xaa, 0x60, 0xec, 0xa0, 0x22, 0x08, 0xc4, - 0x44, 0xfa, 0x28, 0x02, 0x4b, 0xe3, 0xcc, 0x97, 0xe5, 0x22, 0xa4, 0x48, 0xae, 0x90, 0x1b, 0xa4, - 0xcc, 0x1d, 0x72, 0x81, 0xb4, 0x29, 0x72, 0x81, 0x54, 0x39, 0x45, 0x90, 0x47, 0x23, 0x30, 0xb1, - 0x70, 0xf7, 0x98, 0xff, 0xde, 0xfb, 0xef, 0x3f, 0xc9, 0x1a, 0x25, 0x42, 0x24, 0x0b, 0xa0, 0x3c, - 0x46, 0xaa, 0x60, 0x85, 0x4a, 0x97, 0x22, 0xc8, 0x32, 0x8d, 0x00, 0x29, 0x02, 0x97, 0xd1, 0x55, - 0x58, 0x80, 0xcc, 0xc2, 0x32, 0x85, 0x75, 0x58, 0x4f, 0xc8, 0x52, 0x8a, 0x42, 0xd8, 0x5d, 0xa5, - 0x22, 0x3c, 0x46, 0xd2, 0x18, 0x90, 0xd2, 0x25, 0xda, 0xc0, 0x39, 0x6c, 0x5b, 0x21, 0x01, 0xc5, - 0x4a, 0xee, 0xda, 0xa1, 0xbc, 0x9d, 0xbf, 0x5a, 0xb9, 0x4c, 0x29, 0xcf, 0x73, 0x51, 0xf0, 0x22, - 0x15, 0x39, 0xaa, 0x69, 0x6f, 0x64, 0x75, 0x26, 0x50, 0xcc, 0x37, 0xd2, 0x73, 0x90, 0x99, 0x9f, - 0xc2, 0x7a, 0x06, 0xd7, 0x2b, 0xc0, 0xc2, 0xfe, 0x67, 0xfd, 0xd2, 0xee, 0x61, 0xce, 0x33, 0xe8, - 0x18, 0x5d, 0xe3, 0xff, 0x8f, 0xd9, 0x4f, 0xfd, 0x78, 0xc6, 0x33, 0x38, 0x78, 0x33, 0xac, 0x3f, - 0xdb, 0xf2, 0xb9, 0xca, 0x6c, 0x3f, 0x1b, 0xd6, 0xef, 0x2f, 0xde, 0x36, 0x23, 0xfb, 0x6e, 0x25, - 0x6d, 0x81, 0x1c, 0xb7, 0x55, 0xdb, 0xb4, 0x40, 0xb6, 0x95, 0xbd, 0xa3, 0xfb, 0xd7, 0xf7, 0x07, - 0x73, 0x68, 0xbb, 0x55, 0x57, 0x37, 0x5b, 0xe7, 0x9c, 0x44, 0x2b, 0x2c, 0x44, 0x06, 0x12, 0xe9, - 0xa0, 0x2e, 0x4f, 0xcb, 0x90, 0x0e, 0x6e, 0xc7, 0x77, 0xa6, 0xd5, 0x8f, 0x44, 0xb6, 0x37, 0xef, - 0xd8, 0xd9, 0x79, 0xff, 0xb4, 0xea, 0x77, 0x6a, 0x5c, 0x9c, 0xd6, 0xfa, 0x44, 0x2c, 0x78, 0x9e, - 0x10, 0x21, 0x13, 0x9a, 0x40, 0xbe, 0x69, 0x5f, 0x7f, 0xc9, 0x65, 0x8a, 0xed, 0xff, 0xce, 0xb1, - 0x06, 0x8f, 0xe6, 0xb7, 0x89, 0xe7, 0x3d, 0x99, 0xdd, 0x89, 0x32, 0xf4, 0x62, 0x24, 0x0a, 0x56, - 0xc8, 0x77, 0x49, 0xbd, 0x18, 0x5f, 0x34, 0x25, 0xf0, 0x62, 0x0c, 0x1a, 0x4a, 0xe0, 0xbb, 0x81, - 0xa6, 0x7c, 0x98, 0x7d, 0xf5, 0xce, 0x98, 0x17, 0x23, 0x63, 0x0d, 0x89, 0x31, 0xdf, 0x65, 0x4c, - 0xd3, 0x2e, 0xbf, 0x6f, 0x72, 0x0e, 0x3f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xbf, 0x3e, 0x6e, 0xc9, - 0xe2, 0x02, 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 - -// 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.v1.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) -} - -// UnimplementedSearchTermViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedSearchTermViewServiceServer struct { -} - -func (*UnimplementedSearchTermViewServiceServer) GetSearchTermView(ctx context.Context, req *GetSearchTermViewRequest) (*resources.SearchTermView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetSearchTermView not implemented") -} - -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.v1.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.v1.services.SearchTermViewService", - HandlerType: (*SearchTermViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetSearchTermView", - Handler: _SearchTermViewService_GetSearchTermView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/search_term_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/shared_criterion_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/shared_criterion_service.pb.go deleted file mode 100644 index 64dc077f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/shared_criterion_service.pb.go +++ /dev/null @@ -1,500 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/shared_criterion_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [SharedCriterionService.GetSharedCriterion][google.ads.googleads.v1.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_82b35fbbce441bac, []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 (m *GetSharedCriterionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetSharedCriterionRequest.Merge(m, 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.v1.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_82b35fbbce441bac, []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 (m *MutateSharedCriteriaRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateSharedCriteriaRequest.Merge(m, 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 -} - -func (m *MutateSharedCriteriaRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateSharedCriteriaRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_82b35fbbce441bac, []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 (m *SharedCriterionOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_SharedCriterionOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*SharedCriterionOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*SharedCriterionOperation_Create)(nil), - (*SharedCriterionOperation_Remove)(nil), - } -} - -// Response message for a shared criterion mutate. -type MutateSharedCriteriaResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_82b35fbbce441bac, []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 (m *MutateSharedCriteriaResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateSharedCriteriaResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_82b35fbbce441bac, []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 (m *MutateSharedCriterionResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateSharedCriterionResult.Merge(m, 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.v1.services.GetSharedCriterionRequest") - proto.RegisterType((*MutateSharedCriteriaRequest)(nil), "google.ads.googleads.v1.services.MutateSharedCriteriaRequest") - proto.RegisterType((*SharedCriterionOperation)(nil), "google.ads.googleads.v1.services.SharedCriterionOperation") - proto.RegisterType((*MutateSharedCriteriaResponse)(nil), "google.ads.googleads.v1.services.MutateSharedCriteriaResponse") - proto.RegisterType((*MutateSharedCriterionResult)(nil), "google.ads.googleads.v1.services.MutateSharedCriterionResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/shared_criterion_service.proto", fileDescriptor_82b35fbbce441bac) -} - -var fileDescriptor_82b35fbbce441bac = []byte{ - // 666 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xcd, 0x6e, 0xd3, 0x4c, - 0x14, 0xfd, 0xec, 0x7c, 0x2a, 0x74, 0x52, 0x40, 0x1a, 0xfe, 0x4c, 0x5a, 0x41, 0x64, 0x2a, 0x51, - 0x65, 0x61, 0x13, 0x77, 0x53, 0xb9, 0x6a, 0x21, 0x41, 0xb4, 0x45, 0x02, 0x5a, 0x39, 0x52, 0x90, - 0xaa, 0x48, 0xd6, 0xd4, 0x9e, 0x1a, 0x4b, 0xb6, 0xc7, 0xcc, 0x8c, 0x83, 0xaa, 0xaa, 0x9b, 0xbe, - 0x00, 0x0b, 0xde, 0x80, 0x25, 0x4b, 0x5e, 0xa0, 0x7b, 0xb6, 0x88, 0x37, 0x60, 0x81, 0x78, 0x0a, - 0x64, 0x8f, 0x27, 0x34, 0xc1, 0x51, 0x50, 0x76, 0x33, 0xf7, 0xde, 0x39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28, - 0xc8, 0xb6, 0xfb, 0x6d, 0xdb, 0x96, 0x61, 0x47, 0x0b, 0x05, 0xcf, 0xf5, 0xdf, 0x01, 0x00, 0x00, - 0xff, 0xff, 0xbe, 0x16, 0x12, 0x8a, 0x7b, 0x06, 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 - -// 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.v1.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.v1.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) -} - -// UnimplementedSharedCriterionServiceServer can be embedded to have forward compatible implementations. -type UnimplementedSharedCriterionServiceServer struct { -} - -func (*UnimplementedSharedCriterionServiceServer) GetSharedCriterion(ctx context.Context, req *GetSharedCriterionRequest) (*resources.SharedCriterion, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetSharedCriterion not implemented") -} -func (*UnimplementedSharedCriterionServiceServer) MutateSharedCriteria(ctx context.Context, req *MutateSharedCriteriaRequest) (*MutateSharedCriteriaResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateSharedCriteria not implemented") -} - -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.v1.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.v1.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.v1.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/v1/services/shared_criterion_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/shared_set_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/shared_set_service.pb.go deleted file mode 100644 index 1abe3d2c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/shared_set_service.pb.go +++ /dev/null @@ -1,528 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/shared_set_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [SharedSetService.GetSharedSet][google.ads.googleads.v1.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_76319871ac185e92, []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 (m *GetSharedSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetSharedSetRequest.Merge(m, 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.v1.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_76319871ac185e92, []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 (m *MutateSharedSetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateSharedSetsRequest.Merge(m, 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 -} - -func (m *MutateSharedSetsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateSharedSetsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_76319871ac185e92, []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 (m *SharedSetOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_SharedSetOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*SharedSetOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*SharedSetOperation_Create)(nil), - (*SharedSetOperation_Update)(nil), - (*SharedSetOperation_Remove)(nil), - } -} - -// Response message for a shared set mutate. -type MutateSharedSetsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_76319871ac185e92, []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 (m *MutateSharedSetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateSharedSetsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_76319871ac185e92, []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 (m *MutateSharedSetResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateSharedSetResult.Merge(m, 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.v1.services.GetSharedSetRequest") - proto.RegisterType((*MutateSharedSetsRequest)(nil), "google.ads.googleads.v1.services.MutateSharedSetsRequest") - proto.RegisterType((*SharedSetOperation)(nil), "google.ads.googleads.v1.services.SharedSetOperation") - proto.RegisterType((*MutateSharedSetsResponse)(nil), "google.ads.googleads.v1.services.MutateSharedSetsResponse") - proto.RegisterType((*MutateSharedSetResult)(nil), "google.ads.googleads.v1.services.MutateSharedSetResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/shared_set_service.proto", fileDescriptor_76319871ac185e92) -} - -var fileDescriptor_76319871ac185e92 = []byte{ - // 705 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0xcf, 0x4e, 0xd4, 0x40, - 0x1c, 0xb6, 0xbb, 0x06, 0x65, 0x8a, 0x4a, 0x86, 0x10, 0x9a, 0x8d, 0xd1, 0x4d, 0x25, 0x91, 0x6c, - 0x48, 0x9b, 0x5d, 0x31, 0x86, 0x41, 0x0e, 0x4b, 0x22, 0xe0, 0x01, 0xc1, 0xae, 0xe1, 0x60, 0x36, - 0x69, 0x86, 0xed, 0x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x3b, 0xda, 0xae, 0x1d, 0xb9, 0x8e, 0x3b, 0xc6, 0xeb, - 0xcd, 0x82, 0xda, 0xa7, 0x11, 0x4e, 0xfa, 0x0e, 0x65, 0x7d, 0xb7, 0x4f, 0x92, 0x7c, 0x59, 0xf5, - 0x2b, 0x9d, 0x86, 0xfc, 0xe2, 0x3f, 0xc2, 0x8a, 0x3e, 0x7c, 0xae, 0x54, 0x37, 0xda, 0xed, 0xaf, - 0x95, 0xfa, 0x86, 0x12, 0x6c, 0x07, 0xdc, 0x51, 0x47, 0x79, 0xda, 0x6d, 0x3a, 0x85, 0x63, 0xfe, - 0x43, 0x43, 0xba, 0xed, 0x80, 0x77, 0x4b, 0x48, 0x77, 0xb7, 0xd9, 0xd5, 0x90, 0x3f, 0x95, 0x79, - 0x65, 0x47, 0xa8, 0x1d, 0x70, 0x84, 0x4a, 0x10, 0x42, 0xbb, 0x4d, 0x84, 0x34, 0x6c, 0x6f, 0x22, - 0x8f, 0xf3, 0xd1, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x94, 0x23, 0x58, 0x23, 0xb8, 0x06, 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 - -// 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.v1.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.v1.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) -} - -// UnimplementedSharedSetServiceServer can be embedded to have forward compatible implementations. -type UnimplementedSharedSetServiceServer struct { -} - -func (*UnimplementedSharedSetServiceServer) GetSharedSet(ctx context.Context, req *GetSharedSetRequest) (*resources.SharedSet, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetSharedSet not implemented") -} -func (*UnimplementedSharedSetServiceServer) MutateSharedSets(ctx context.Context, req *MutateSharedSetsRequest) (*MutateSharedSetsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateSharedSets not implemented") -} - -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.v1.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.v1.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.v1.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/v1/services/shared_set_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/shopping_performance_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/shopping_performance_view_service.pb.go deleted file mode 100644 index 96189576..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/shopping_performance_view_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/shopping_performance_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [ShoppingPerformanceViewService.GetShoppingPerformanceView][google.ads.googleads.v1.services.ShoppingPerformanceViewService.GetShoppingPerformanceView]. -type GetShoppingPerformanceViewRequest struct { - // The resource name of the Shopping 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 *GetShoppingPerformanceViewRequest) Reset() { *m = GetShoppingPerformanceViewRequest{} } -func (m *GetShoppingPerformanceViewRequest) String() string { return proto.CompactTextString(m) } -func (*GetShoppingPerformanceViewRequest) ProtoMessage() {} -func (*GetShoppingPerformanceViewRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4d6c4cf22050d6d3, []int{0} -} - -func (m *GetShoppingPerformanceViewRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetShoppingPerformanceViewRequest.Unmarshal(m, b) -} -func (m *GetShoppingPerformanceViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetShoppingPerformanceViewRequest.Marshal(b, m, deterministic) -} -func (m *GetShoppingPerformanceViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetShoppingPerformanceViewRequest.Merge(m, src) -} -func (m *GetShoppingPerformanceViewRequest) XXX_Size() int { - return xxx_messageInfo_GetShoppingPerformanceViewRequest.Size(m) -} -func (m *GetShoppingPerformanceViewRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetShoppingPerformanceViewRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetShoppingPerformanceViewRequest proto.InternalMessageInfo - -func (m *GetShoppingPerformanceViewRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetShoppingPerformanceViewRequest)(nil), "google.ads.googleads.v1.services.GetShoppingPerformanceViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/shopping_performance_view_service.proto", fileDescriptor_4d6c4cf22050d6d3) -} - -var fileDescriptor_4d6c4cf22050d6d3 = []byte{ - // 378 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xb1, 0x4b, 0xe4, 0x40, - 0x14, 0xc6, 0x49, 0x0e, 0x0e, 0x2e, 0xdc, 0x35, 0xa9, 0x8e, 0x70, 0x1c, 0x7b, 0xbb, 0x5b, 0x1c, - 0x57, 0x4c, 0xc8, 0x59, 0x88, 0x23, 0x22, 0x59, 0x8b, 0xdd, 0x4a, 0x96, 0x5d, 0x48, 0x21, 0x81, - 0x30, 0x26, 0xcf, 0x18, 0xd8, 0xcc, 0xc4, 0x79, 0xd9, 0x6c, 0x21, 0x16, 0x5a, 0xda, 0xfa, 0x1f, - 0x58, 0xfa, 0xa7, 0xd8, 0xda, 0x5b, 0x59, 0xf9, 0x57, 0x48, 0x76, 0x32, 0x11, 0x85, 0xec, 0x76, - 0x1f, 0xc9, 0x37, 0xbf, 0x6f, 0xde, 0x37, 0xcf, 0x9a, 0xa4, 0x42, 0xa4, 0x0b, 0x70, 0x59, 0x82, - 0xae, 0x92, 0xb5, 0xaa, 0x3c, 0x17, 0x41, 0x56, 0x59, 0x0c, 0xe8, 0xe2, 0xb9, 0x28,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4f, 0x89, 0x90, 0xa9, 0x9b, 0x02, 0x5f, 0xbf, 0x9c, 0x5e, 0x87, - 0x22, 0xc3, 0xee, 0x4d, 0xdc, 0xd7, 0xe2, 0xde, 0xfc, 0x32, 0xf6, 0xfd, 0x07, 0xb3, 0x37, 0x56, - 0x40, 0x3f, 0x41, 0xa2, 0x64, 0xad, 0x02, 0x8f, 0x34, 0xc1, 0xf8, 0xa8, 0x2d, 0xa1, 0x9f, 0x60, - 0xd8, 0x5a, 0xc2, 0xc0, 0x0b, 0xb5, 0xe5, 0xd5, 0x1c, 0xaa, 0xef, 0x94, 0xfa, 0x09, 0x52, 0xda, - 0x9a, 0x28, 0x0d, 0x3c, 0x4a, 0xb5, 0xed, 0xf4, 0xeb, 0xfa, 0x9e, 0x3b, 0x6f, 0x01, 0x00, 0x00, - 0xff, 0xff, 0x6b, 0x59, 0x13, 0x0f, 0x30, 0x03, 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 - -// ShoppingPerformanceViewServiceClient is the client API for ShoppingPerformanceViewService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ShoppingPerformanceViewServiceClient interface { - // Returns the requested Shopping performance view in full detail. - GetShoppingPerformanceView(ctx context.Context, in *GetShoppingPerformanceViewRequest, opts ...grpc.CallOption) (*resources.ShoppingPerformanceView, error) -} - -type shoppingPerformanceViewServiceClient struct { - cc *grpc.ClientConn -} - -func NewShoppingPerformanceViewServiceClient(cc *grpc.ClientConn) ShoppingPerformanceViewServiceClient { - return &shoppingPerformanceViewServiceClient{cc} -} - -func (c *shoppingPerformanceViewServiceClient) GetShoppingPerformanceView(ctx context.Context, in *GetShoppingPerformanceViewRequest, opts ...grpc.CallOption) (*resources.ShoppingPerformanceView, error) { - out := new(resources.ShoppingPerformanceView) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.ShoppingPerformanceViewService/GetShoppingPerformanceView", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ShoppingPerformanceViewServiceServer is the server API for ShoppingPerformanceViewService service. -type ShoppingPerformanceViewServiceServer interface { - // Returns the requested Shopping performance view in full detail. - GetShoppingPerformanceView(context.Context, *GetShoppingPerformanceViewRequest) (*resources.ShoppingPerformanceView, error) -} - -// UnimplementedShoppingPerformanceViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedShoppingPerformanceViewServiceServer struct { -} - -func (*UnimplementedShoppingPerformanceViewServiceServer) GetShoppingPerformanceView(ctx context.Context, req *GetShoppingPerformanceViewRequest) (*resources.ShoppingPerformanceView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetShoppingPerformanceView not implemented") -} - -func RegisterShoppingPerformanceViewServiceServer(s *grpc.Server, srv ShoppingPerformanceViewServiceServer) { - s.RegisterService(&_ShoppingPerformanceViewService_serviceDesc, srv) -} - -func _ShoppingPerformanceViewService_GetShoppingPerformanceView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetShoppingPerformanceViewRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ShoppingPerformanceViewServiceServer).GetShoppingPerformanceView(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v1.services.ShoppingPerformanceViewService/GetShoppingPerformanceView", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ShoppingPerformanceViewServiceServer).GetShoppingPerformanceView(ctx, req.(*GetShoppingPerformanceViewRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ShoppingPerformanceViewService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v1.services.ShoppingPerformanceViewService", - HandlerType: (*ShoppingPerformanceViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetShoppingPerformanceView", - Handler: _ShoppingPerformanceViewService_GetShoppingPerformanceView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/shopping_performance_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/topic_constant_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/topic_constant_service.pb.go deleted file mode 100644 index c4e49600..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/topic_constant_service.pb.go +++ /dev/null @@ -1,187 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/topic_constant_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [TopicConstantService.GetTopicConstant][google.ads.googleads.v1.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_49736dbc2500820f, []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 (m *GetTopicConstantRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTopicConstantRequest.Merge(m, 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.v1.services.GetTopicConstantRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/topic_constant_service.proto", fileDescriptor_49736dbc2500820f) -} - -var fileDescriptor_49736dbc2500820f = []byte{ - // 354 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, 0x43, 0xfd, 0xe2, 0xd4, - 0xa2, 0xb2, 0xcc, 0xe4, 0xd4, 0x62, 0xfd, 0x92, 0xfc, 0x82, 0xcc, 0xe4, 0xf8, 0xe4, 0xfc, 0xbc, - 0xe2, 0x92, 0xc4, 0xbc, 0x92, 0x78, 0xa8, 0xb8, 0x5e, 0x41, 0x51, 0x7e, 0x49, 0xbe, 0x90, 0x02, - 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0x9f, 0x93, 0x98, 0x97, 0xae, 0x97, 0x5f, 0x94, 0xae, 0x9f, 0x9e, - 0x9a, 0x07, 0x0e, 0x6a, 0x58, 0xa4, 0x15, 0x64, 0x16, 0xe3, 0x4e, 0x24, 0xd6, 0x30, 0xc6, 0x22, - 0x26, 0x66, 0x77, 0x47, 0xc7, 0x55, 0x4c, 0x0a, 0xee, 0x10, 0x03, 0x1d, 0x53, 0x8a, 0xf5, 0x20, - 0x4c, 0x10, 0x2b, 0xcc, 0x50, 0x0f, 0x6a, 0x71, 0xf1, 0x29, 0x98, 0x92, 0x18, 0xc7, 0x94, 0xe2, - 0x18, 0xb8, 0x92, 0x98, 0x30, 0xc3, 0x18, 0x98, 0x92, 0x57, 0x4c, 0x2a, 0x10, 0x71, 0x2b, 0x2b, - 0xc7, 0x94, 0x62, 0x2b, 0x2b, 0xb8, 0x22, 0x2b, 0xab, 0x30, 0x43, 0x2b, 0x2b, 0x98, 0xb2, 0x24, - 0x36, 0xb0, 0x3b, 0x8d, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x19, 0x59, 0x7b, 0xd1, 0xcb, 0x02, - 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 - -// 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.v1.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) -} - -// UnimplementedTopicConstantServiceServer can be embedded to have forward compatible implementations. -type UnimplementedTopicConstantServiceServer struct { -} - -func (*UnimplementedTopicConstantServiceServer) GetTopicConstant(ctx context.Context, req *GetTopicConstantRequest) (*resources.TopicConstant, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTopicConstant not implemented") -} - -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.v1.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.v1.services.TopicConstantService", - HandlerType: (*TopicConstantServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetTopicConstant", - Handler: _TopicConstantService_GetTopicConstant_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/topic_constant_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/topic_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/topic_view_service.pb.go deleted file mode 100644 index 245655d0..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/topic_view_service.pb.go +++ /dev/null @@ -1,187 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/topic_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [TopicViewService.GetTopicView][google.ads.googleads.v1.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_dddb7cd398291139, []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 (m *GetTopicViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTopicViewRequest.Merge(m, 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.v1.services.GetTopicViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/topic_view_service.proto", fileDescriptor_dddb7cd398291139) -} - -var fileDescriptor_dddb7cd398291139 = []byte{ - // 363 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, 0x43, 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, 0xa1, 0x1e, 0x4c, 0xab, 0x94, 0x11, 0x2e, 0xc3, 0x8b, - 0x52, 0x8b, 0xf3, 0x4b, 0x8b, 0x50, 0x4d, 0x87, 0x98, 0x2a, 0x25, 0x03, 0xd3, 0x53, 0x90,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, 0x30, 0xc6, 0x22, 0x26, 0x66, 0x77, 0x47, 0xc7, 0x55, 0x4c, - 0x0a, 0xee, 0x10, 0x03, 0x1d, 0x53, 0x8a, 0xf5, 0x20, 0x4c, 0x10, 0x2b, 0xcc, 0x50, 0x0f, 0x6a, - 0x71, 0xf1, 0x29, 0x98, 0x92, 0x18, 0xc7, 0x94, 0xe2, 0x18, 0xb8, 0x92, 0x98, 0x30, 0xc3, 0x18, - 0x98, 0x92, 0x57, 0x4c, 0x2a, 0x10, 0x71, 0x2b, 0x2b, 0xc7, 0x94, 0x62, 0x2b, 0x2b, 0xb8, 0x22, - 0x2b, 0xab, 0x30, 0x43, 0x2b, 0x2b, 0x98, 0xb2, 0x24, 0x36, 0xb0, 0x3b, 0x8d, 0x01, 0x01, 0x00, - 0x00, 0xff, 0xff, 0x5f, 0xc0, 0x75, 0x26, 0xb3, 0x02, 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 - -// 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.v1.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) -} - -// UnimplementedTopicViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedTopicViewServiceServer struct { -} - -func (*UnimplementedTopicViewServiceServer) GetTopicView(ctx context.Context, req *GetTopicViewRequest) (*resources.TopicView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTopicView not implemented") -} - -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.v1.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.v1.services.TopicViewService", - HandlerType: (*TopicViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetTopicView", - Handler: _TopicViewService_GetTopicView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/topic_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/user_interest_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/user_interest_service.pb.go deleted file mode 100644 index ae526145..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/user_interest_service.pb.go +++ /dev/null @@ -1,187 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/user_interest_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [UserInterestService.GetUserInterest][google.ads.googleads.v1.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_b25977798af6b285, []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 (m *GetUserInterestRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserInterestRequest.Merge(m, 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.v1.services.GetUserInterestRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/user_interest_service.proto", fileDescriptor_b25977798af6b285) -} - -var fileDescriptor_b25977798af6b285 = []byte{ - // 364 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xcf, 0x4a, 0xeb, 0x40, - 0x14, 0xc6, 0x49, 0x2e, 0x5c, 0xb8, 0xe1, 0x5e, 0x2e, 0x44, 0x90, 0x52, 0x5c, 0x94, 0xda, 0x85, - 0x74, 0x31, 0x43, 0x14, 0x51, 0x46, 0xbb, 0x48, 0x37, 0xd5, 0x8d, 0x94, 0x8a, 0x5d, 0x48, 0xa0, - 0x8c, 0xcd, 0x21, 0x04, 0x9a, 0x99, 0x3a, 0x67, 0xd2, 0x8d, 0xb8, 0xf1, 0x15, 0x7c, 0x03, 0x97, - 0xee, 0x7d, 0x09, 0xc1, 0x95, 0xaf, 0xe0, 0xca, 0x97, 0x50, 0xd2, 0xc9, 0x84, 0xaa, 0x2d, 0xdd, - 0x7d, 0x9c, 0x7c, 0xbf, 0xef, 0xfc, 0xc9, 0x78, 0xc7, 0x89, 0x94, 0xc9, 0x04, 0x28, 0x8f, 0x91, - 0x1a, 0x59, 0xa8, 0x59, 0x40, 0x11, 0xd4, 0x2c, 0x1d, 0x03, 0xd2, 0x1c, 0x41, 0x8d, 0x52, 0xa1, - 0x41, 0x01, 0xea, 0x51, 0x59, 0x26, 0x53, 0x25, 0xb5, 0xf4, 0x1b, 0x06, 0x21, 0x3c, 0x46, 0x52, - 0xd1, 0x64, 0x16, 0x10, 0x4b,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, 0xd9, 0x18, 0x9f, 0xad, 0x25, - 0x0a, 0x63, 0x8c, 0x2a, 0x4b, 0x34, 0x0c, 0x22, 0x6b, 0x79, 0x77, 0x5b, 0xa6, 0xce, 0x58, 0x18, - 0x23, 0x63, 0x95, 0x89, 0xb1, 0x61, 0xc0, 0x98, 0xb5, 0x5d, 0xfd, 0x9e, 0xcf, 0xb9, 0xf7, 0x19, - 0x00, 0x00, 0xff, 0xff, 0x92, 0xe6, 0xf7, 0x12, 0xce, 0x02, 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 - -// 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.v1.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) -} - -// UnimplementedUserInterestServiceServer can be embedded to have forward compatible implementations. -type UnimplementedUserInterestServiceServer struct { -} - -func (*UnimplementedUserInterestServiceServer) GetUserInterest(ctx context.Context, req *GetUserInterestRequest) (*resources.UserInterest, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetUserInterest not implemented") -} - -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.v1.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.v1.services.UserInterestService", - HandlerType: (*UserInterestServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetUserInterest", - Handler: _UserInterestService_GetUserInterest_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/user_interest_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/user_list_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/user_list_service.pb.go deleted file mode 100644 index baca6f07..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/user_list_service.pb.go +++ /dev/null @@ -1,528 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/user_list_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [UserListService.GetUserList][google.ads.googleads.v1.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_7187e04d3c35e864, []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 (m *GetUserListRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserListRequest.Merge(m, 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.v1.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_7187e04d3c35e864, []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 (m *MutateUserListsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateUserListsRequest.Merge(m, 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 -} - -func (m *MutateUserListsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateUserListsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_7187e04d3c35e864, []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 (m *UserListOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*UserListOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*UserListOperation_Create)(nil), - (*UserListOperation_Update)(nil), - (*UserListOperation_Remove)(nil), - } -} - -// Response message for user list mutate. -type MutateUserListsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_7187e04d3c35e864, []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 (m *MutateUserListsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateUserListsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_7187e04d3c35e864, []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 (m *MutateUserListResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateUserListResult.Merge(m, 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.v1.services.GetUserListRequest") - proto.RegisterType((*MutateUserListsRequest)(nil), "google.ads.googleads.v1.services.MutateUserListsRequest") - proto.RegisterType((*UserListOperation)(nil), "google.ads.googleads.v1.services.UserListOperation") - proto.RegisterType((*MutateUserListsResponse)(nil), "google.ads.googleads.v1.services.MutateUserListsResponse") - proto.RegisterType((*MutateUserListResult)(nil), "google.ads.googleads.v1.services.MutateUserListResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/user_list_service.proto", fileDescriptor_7187e04d3c35e864) -} - -var fileDescriptor_7187e04d3c35e864 = []byte{ - // 710 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x4f, 0x6b, 0xd4, 0x4e, - 0x18, 0xfe, 0x25, 0xfd, 0x51, 0xed, 0xa4, 0x5a, 0x1c, 0xab, 0x5d, 0x16, 0xd1, 0x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0xe5, 0x93, 0xb7, 0xfe, 0xf3, - 0x0a, 0x72, 0x2e, 0xa3, 0x44, 0x2b, 0xe6, 0x95, 0x64, 0x14, 0x19, 0x56, 0xc0, 0x24, 0x23, 0x31, - 0xed, 0xab, 0x2a, 0x4d, 0xe5, 0x37, 0xea, 0xbc, 0x66, 0x81, 0xa9, 0xb2, 0xac, 0xf6, 0x67, 0x03, - 0xcc, 0x5d, 0x68, 0x33, 0x4f, 0x69, 0xc2, 0x09, 0xdc, 0x00, 0x77, 0x86, 0x2a, 0xee, 0x13, 0xc6, - 0x28, 0x93, 0x8a, 0x56, 0x13, 0xea, 0xc4, 0x58, 0xda, 0x45, 0x7b, 0x72, 0xec, 0xbc, 0xdb, 0x83, - 0xbd, 0x58, 0xcf, 0xe1, 0x70, 0x17, 0x5c, 0x63, 0x84, 0x67, 0x91, 0xd0, 0xb3, 0xf0, 0x74, 0xfc, - 0x2c, 0x0c, 0xe6, 0xe4, 0x49, 0xba, 0xa7, 0x65, 0xec, 0x15, 0x30, 0xfb, 0x37, 0xc0, 0x3f, 0x4d, - 0x76, 0xf3, 0xb7, 0x09, 0x66, 0x34, 0x6f, 0x4f, 0xc5, 0x83, 0x1f, 0x0d, 0x60, 0x9d, 0xdb, 0x14, - 0xf8, 0x64, 0x7c, 0x86, 0x17, 0x17, 0xab, 0x7a, 0x99, 0x56, 0xd9, 0xad, 0xb7, 0xdf, 0x7e, 0xbc, - 0x37, 0x1f, 0xc3, 0xc5, 0xfc, 0xef, 0x38, 0x19, 0x48, 0x7b, 0x55, 0xef, 0x12, 0x77, 0xea, 0xf2, - 0x33, 0x91, 0x7d, 0x71, 0xea, 0xa7, 0xf0, 0x8b, 0x01, 0x66, 0x86, 0xda, 0x05, 0x97, 0x2e, 0x5b, - 0x4d, 0xbd, 0xc8, 0xd5, 0xe5, 0x2b, 0x30, 0xd5, 0x6c, 0xd8, 0xcb, 0x32, 0xfb, 0x96, 0x8d, 0xf2, - 0xec, 0xcf, 0xd2, 0x3d, 0x39, 0xf7, 0x31, 0xac, 0xd6, 0x4f, 0xcf, 0x92, 0x77, 0x63, 0x29, 0xe4, - 0x1a, 0xf5, 0xb5, 0x5f, 0x06, 0x98, 0xef, 0xd2, 0x78, 0x6c, 0xec, 0xb5, 0xd9, 0xa1, 0x2e, 0xed, - 0xe6, 0xfb, 0xb7, 0x6b, 0xbc, 0xda, 0x2a, 0x98, 0x3d, 0x1a, 0xe1, 0xa4, 0x87, 0x28, 0xeb, 0x39, - 0x3d, 0x92, 0xc8, 0xed, 0xd4, 0x3f, 0x72, 0x1a, 0xf2, 0xd1, 0x9f, 0xff, 0x8a, 0x36, 0x3e, 0x98, - 0x13, 0x9b, 0xed, 0xf6, 0x27, 0xb3, 0xb6, 0xa9, 0x04, 0xdb, 0x01, 0x47, 0xca, 0xcc, 0xad, 0xfd, - 0x06, 0x2a, 0x02, 0xf3, 0xaf, 0x1a, 0xd2, 0x69, 0x07, 0xbc, 0x53, 0x42, 0x3a, 0xfb, 0x8d, 0x8e, - 0x86, 0xfc, 0x34, 0xe7, 0x95, 0xdf, 0x75, 0xdb, 0x01, 0x77, 0xdd, 0x12, 0xe4, 0xba, 0xfb, 0x0d, - 0xd7, 0xd5, 0xb0, 0x83, 0x49, 0x99, 0x67, 0xeb, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xfe, 0x0d, - 0xd1, 0x85, 0xa3, 0x06, 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 - -// 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.v1.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.v1.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) -} - -// UnimplementedUserListServiceServer can be embedded to have forward compatible implementations. -type UnimplementedUserListServiceServer struct { -} - -func (*UnimplementedUserListServiceServer) GetUserList(ctx context.Context, req *GetUserListRequest) (*resources.UserList, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetUserList not implemented") -} -func (*UnimplementedUserListServiceServer) MutateUserLists(ctx context.Context, req *MutateUserListsRequest) (*MutateUserListsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateUserLists not implemented") -} - -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.v1.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.v1.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.v1.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/v1/services/user_list_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/video_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/video_service.pb.go deleted file mode 100644 index 37005bd2..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/video_service.pb.go +++ /dev/null @@ -1,186 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v1/services/video_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [VideoService.GetVideo][google.ads.googleads.v1.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_7856cda63e5cca90, []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 (m *GetVideoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetVideoRequest.Merge(m, 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.v1.services.GetVideoRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v1/services/video_service.proto", fileDescriptor_7856cda63e5cca90) -} - -var fileDescriptor_7856cda63e5cca90 = []byte{ - // 349 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0x31, 0x4b, 0xfb, 0x40, - 0x18, 0xc6, 0x49, 0xfe, 0xf0, 0x47, 0x43, 0x45, 0xcc, 0x24, 0xc5, 0xa1, 0xd4, 0x0e, 0xa5, 0xe0, - 0x9d, 0x51, 0x71, 0x38, 0x71, 0x48, 0x97, 0x3a, 0x49, 0xa9, 0x90, 0x41, 0x02, 0xe5, 0x6c, 0x5e, - 0x42, 0xa0, 0xc9, 0x5b, 0xf3, 0x5e, 0xb3, 0x88, 0x8b, 0x5f, 0xc1, 0xc9, 0xd5, 0xb1, 0x1f, 0xc5, - 0xd5, 0xaf, 0xe0, 0xe4, 0x27, 0x70, 0x94, 0xe4, 0x7a, 0x41, 0x85, 0xd0, 0xed, 0xc9, 0xe5, 0xf7, - 0x3c, 0xf7, 0xbe, 0xcf, 0x39, 0x67, 0x31, 0x62, 0x3c, 0x07, 0x2e, 0x23, 0xe2, 0x5a, 0x96, 0xaa, - 0xf0, 0x38, 0x41, 0x5e, 0x24, 0x33, 0x20, 0x5e, 0x24, 0x11, 0xe0, 0x74, 0xfd, 0xc9, 0x16, 0x39, - 0x2a, 0x74, 0x3b, 0x1a, 0x65, 0x32, 0x22, 0x56, 0xbb, 0x58, 0xe1, 0x31, 0xe3, 0x6a, 0x1f, 0x35, - 0xe5, 0xe6, 0x40, 0xb8, 0xcc, 0xeb, 0x60, 0x1d, 0xd8, 0x3e, 0x30, 0xf8, 0x22, 0xe1, 0x32, 0xcb, - 0x50, 0x49, 0x95, 0x60, 0x46, 0xfa, 0x6f, 0xf7, 0xdc, 0xd9, 0x1d, 0x81, 0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x3b, 0x00, 0x00, 0xff, 0xff, 0x24, 0x5c, 0xd6, 0x52, 0x8d, 0x02, 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 - -// 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.v1.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) -} - -// UnimplementedVideoServiceServer can be embedded to have forward compatible implementations. -type UnimplementedVideoServiceServer struct { -} - -func (*UnimplementedVideoServiceServer) GetVideo(ctx context.Context, req *GetVideoRequest) (*resources.Video, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetVideo not implemented") -} - -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.v1.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.v1.services.VideoService", - HandlerType: (*VideoServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetVideo", - Handler: _VideoService_GetVideo_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v1/services/video_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/ad_asset.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/ad_asset.pb.go deleted file mode 100644 index 62a0221a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/ad_asset.pb.go +++ /dev/null @@ -1,241 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/common/ad_asset.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A text asset used inside an ad. -type AdTextAsset struct { - // Asset text. - Text *wrappers.StringValue `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` - // The pinned field of the asset. This restricts the asset to only serve - // within this field. Multiple assets can be pinned to the same field. An - // asset that is unpinned or pinned to a different field will not serve in a - // field where some other asset has been pinned. - PinnedField enums.ServedAssetFieldTypeEnum_ServedAssetFieldType `protobuf:"varint,2,opt,name=pinned_field,json=pinnedField,proto3,enum=google.ads.googleads.v2.enums.ServedAssetFieldTypeEnum_ServedAssetFieldType" json:"pinned_field,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdTextAsset) Reset() { *m = AdTextAsset{} } -func (m *AdTextAsset) String() string { return proto.CompactTextString(m) } -func (*AdTextAsset) ProtoMessage() {} -func (*AdTextAsset) Descriptor() ([]byte, []int) { - return fileDescriptor_378f6eb6045fcad8, []int{0} -} - -func (m *AdTextAsset) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdTextAsset.Unmarshal(m, b) -} -func (m *AdTextAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdTextAsset.Marshal(b, m, deterministic) -} -func (m *AdTextAsset) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdTextAsset.Merge(m, src) -} -func (m *AdTextAsset) XXX_Size() int { - return xxx_messageInfo_AdTextAsset.Size(m) -} -func (m *AdTextAsset) XXX_DiscardUnknown() { - xxx_messageInfo_AdTextAsset.DiscardUnknown(m) -} - -var xxx_messageInfo_AdTextAsset proto.InternalMessageInfo - -func (m *AdTextAsset) GetText() *wrappers.StringValue { - if m != nil { - return m.Text - } - return nil -} - -func (m *AdTextAsset) GetPinnedField() enums.ServedAssetFieldTypeEnum_ServedAssetFieldType { - if m != nil { - return m.PinnedField - } - return enums.ServedAssetFieldTypeEnum_UNSPECIFIED -} - -// An image asset used inside an ad. -type AdImageAsset struct { - // The Asset resource name of this image. - Asset *wrappers.StringValue `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdImageAsset) Reset() { *m = AdImageAsset{} } -func (m *AdImageAsset) String() string { return proto.CompactTextString(m) } -func (*AdImageAsset) ProtoMessage() {} -func (*AdImageAsset) Descriptor() ([]byte, []int) { - return fileDescriptor_378f6eb6045fcad8, []int{1} -} - -func (m *AdImageAsset) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdImageAsset.Unmarshal(m, b) -} -func (m *AdImageAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdImageAsset.Marshal(b, m, deterministic) -} -func (m *AdImageAsset) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdImageAsset.Merge(m, src) -} -func (m *AdImageAsset) XXX_Size() int { - return xxx_messageInfo_AdImageAsset.Size(m) -} -func (m *AdImageAsset) XXX_DiscardUnknown() { - xxx_messageInfo_AdImageAsset.DiscardUnknown(m) -} - -var xxx_messageInfo_AdImageAsset proto.InternalMessageInfo - -func (m *AdImageAsset) GetAsset() *wrappers.StringValue { - if m != nil { - return m.Asset - } - return nil -} - -// A video asset used inside an ad. -type AdVideoAsset struct { - // The Asset resource name of this video. - Asset *wrappers.StringValue `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdVideoAsset) Reset() { *m = AdVideoAsset{} } -func (m *AdVideoAsset) String() string { return proto.CompactTextString(m) } -func (*AdVideoAsset) ProtoMessage() {} -func (*AdVideoAsset) Descriptor() ([]byte, []int) { - return fileDescriptor_378f6eb6045fcad8, []int{2} -} - -func (m *AdVideoAsset) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdVideoAsset.Unmarshal(m, b) -} -func (m *AdVideoAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdVideoAsset.Marshal(b, m, deterministic) -} -func (m *AdVideoAsset) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdVideoAsset.Merge(m, src) -} -func (m *AdVideoAsset) XXX_Size() int { - return xxx_messageInfo_AdVideoAsset.Size(m) -} -func (m *AdVideoAsset) XXX_DiscardUnknown() { - xxx_messageInfo_AdVideoAsset.DiscardUnknown(m) -} - -var xxx_messageInfo_AdVideoAsset proto.InternalMessageInfo - -func (m *AdVideoAsset) GetAsset() *wrappers.StringValue { - if m != nil { - return m.Asset - } - return nil -} - -// A media bundle asset used inside an ad. -type AdMediaBundleAsset struct { - // The Asset resource name of this media bundle. - Asset *wrappers.StringValue `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdMediaBundleAsset) Reset() { *m = AdMediaBundleAsset{} } -func (m *AdMediaBundleAsset) String() string { return proto.CompactTextString(m) } -func (*AdMediaBundleAsset) ProtoMessage() {} -func (*AdMediaBundleAsset) Descriptor() ([]byte, []int) { - return fileDescriptor_378f6eb6045fcad8, []int{3} -} - -func (m *AdMediaBundleAsset) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdMediaBundleAsset.Unmarshal(m, b) -} -func (m *AdMediaBundleAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdMediaBundleAsset.Marshal(b, m, deterministic) -} -func (m *AdMediaBundleAsset) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdMediaBundleAsset.Merge(m, src) -} -func (m *AdMediaBundleAsset) XXX_Size() int { - return xxx_messageInfo_AdMediaBundleAsset.Size(m) -} -func (m *AdMediaBundleAsset) XXX_DiscardUnknown() { - xxx_messageInfo_AdMediaBundleAsset.DiscardUnknown(m) -} - -var xxx_messageInfo_AdMediaBundleAsset proto.InternalMessageInfo - -func (m *AdMediaBundleAsset) GetAsset() *wrappers.StringValue { - if m != nil { - return m.Asset - } - return nil -} - -func init() { - proto.RegisterType((*AdTextAsset)(nil), "google.ads.googleads.v2.common.AdTextAsset") - proto.RegisterType((*AdImageAsset)(nil), "google.ads.googleads.v2.common.AdImageAsset") - proto.RegisterType((*AdVideoAsset)(nil), "google.ads.googleads.v2.common.AdVideoAsset") - proto.RegisterType((*AdMediaBundleAsset)(nil), "google.ads.googleads.v2.common.AdMediaBundleAsset") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/common/ad_asset.proto", fileDescriptor_378f6eb6045fcad8) -} - -var fileDescriptor_378f6eb6045fcad8 = []byte{ - // 400 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0xcd, 0x6a, 0xdc, 0x30, - 0x10, 0xc7, 0xf1, 0xf6, 0xe3, 0xa0, 0x5d, 0x7a, 0xd8, 0x53, 0x08, 0x21, 0x04, 0x9f, 0x72, 0xa9, - 0x54, 0xd4, 0x9b, 0x72, 0x92, 0xfb, 0x91, 0x16, 0x5a, 0x08, 0x49, 0xf0, 0xa1, 0x18, 0x16, 0x25, - 0x9a, 0x08, 0x81, 0x2d, 0x09, 0x4b, 0xde, 0x26, 0xaf, 0xd3, 0x63, 0x4f, 0x7d, 0x8e, 0xbe, 0x48, - 0xa1, 0x4f, 0x51, 0xac, 0xb1, 0xf7, 0xd4, 0x2d, 0x25, 0xa7, 0x9d, 0x95, 0x7e, 0xfe, 0xcd, 0x7f, - 0xc4, 0x90, 0x97, 0xc6, 0x7b, 0xd3, 0x02, 0x53, 0x3a, 0x32, 0x2c, 0xc7, 0x6a, 0xcb, 0xd9, 0xad, - 0xef, 0x3a, 0xef, 0x98, 0xd2, 0x1b, 0x15, 0x23, 0x24, 0x1a, 0x7a, 0x9f, 0xfc, 0xfa, 0x18, 0x19, - 0xaa, 0x74, 0xa4, 0x3b, 0x9c, 0x6e, 0x39, 0x45, 0xfc, 0xf0, 0x6c, 0x9f, 0x0e, 0xdc, 0xd0, 0x45, - 0x16, 0xa1, 0xdf, 0xc2, 0x64, 0xdc, 0xdc, 0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 0x33, 0xd4, 0xf7, 0x86, - 0x19, 0x70, 0xb9, 0xd1, 0xbc, 0x46, 0xc1, 0xc6, 0x7d, 0x4b, 0x7a, 0x86, 0x3f, 0xdf, 0x16, 0x4f, - 0xce, 0xa5, 0xfc, 0xbe, 0x38, 0x3e, 0x47, 0x99, 0xd4, 0x91, 0x62, 0x39, 0x56, 0x35, 0xa7, 0x6f, - 0x32, 0xf6, 0x73, 0x06, 0x1a, 0xa9, 0x63, 0xb3, 0x03, 0x9a, 0x9a, 0x37, 0x08, 0xfc, 0x5e, 0x94, - 0x78, 0x2a, 0x84, 0xd4, 0x51, 0x88, 0x1d, 0x22, 0x44, 0xcd, 0x85, 0x40, 0xe8, 0xe6, 0x79, 0x4e, - 0xf7, 0xfa, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x45, 0x44, 0xf9, 0x0b, 0x41, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/ad_type_infos.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/ad_type_infos.pb.go deleted file mode 100644 index b2859c51..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/ad_type_infos.pb.go +++ /dev/null @@ -1,2315 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/common/ad_type_infos.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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_7b1cab7fbeab5508, []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 (m *TextAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextAdInfo.Merge(m, 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_7b1cab7fbeab5508, []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 (m *ExpandedTextAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExpandedTextAdInfo.Merge(m, 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 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"` - // First headline in the ad. - Headline1 *wrappers.StringValue `protobuf:"bytes,11,opt,name=headline1,proto3" json:"headline1,omitempty"` - // Second headline in the ad. - Headline2 *wrappers.StringValue `protobuf:"bytes,12,opt,name=headline2,proto3" json:"headline2,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.v2.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_7b1cab7fbeab5508, []int{2} -} - -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 (m *CallOnlyAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_CallOnlyAdInfo.Merge(m, 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) GetHeadline1() *wrappers.StringValue { - if m != nil { - return m.Headline1 - } - return nil -} - -func (m *CallOnlyAdInfo) GetHeadline2() *wrappers.StringValue { - if m != nil { - return m.Headline2 - } - 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"` - // The second description of the ad. - 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 *ExpandedDynamicSearchAdInfo) Reset() { *m = ExpandedDynamicSearchAdInfo{} } -func (m *ExpandedDynamicSearchAdInfo) String() string { return proto.CompactTextString(m) } -func (*ExpandedDynamicSearchAdInfo) ProtoMessage() {} -func (*ExpandedDynamicSearchAdInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_7b1cab7fbeab5508, []int{3} -} - -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 (m *ExpandedDynamicSearchAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExpandedDynamicSearchAdInfo.Merge(m, 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 -} - -func (m *ExpandedDynamicSearchAdInfo) GetDescription2() *wrappers.StringValue { - if m != nil { - return m.Description2 - } - 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_7b1cab7fbeab5508, []int{4} -} - -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 (m *HotelAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_HotelAdInfo.Merge(m, 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_7b1cab7fbeab5508, []int{5} -} - -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 (m *ShoppingSmartAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShoppingSmartAdInfo.Merge(m, 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_7b1cab7fbeab5508, []int{6} -} - -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 (m *ShoppingProductAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShoppingProductAdInfo.Merge(m, 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 Shopping Comparison Listing ad. -type ShoppingComparisonListingAdInfo struct { - // Headline of the ad. This field is required. Allowed length is between 25 - // and 45 characters. - Headline *wrappers.StringValue `protobuf:"bytes,1,opt,name=headline,proto3" json:"headline,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ShoppingComparisonListingAdInfo) Reset() { *m = ShoppingComparisonListingAdInfo{} } -func (m *ShoppingComparisonListingAdInfo) String() string { return proto.CompactTextString(m) } -func (*ShoppingComparisonListingAdInfo) ProtoMessage() {} -func (*ShoppingComparisonListingAdInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_7b1cab7fbeab5508, []int{7} -} - -func (m *ShoppingComparisonListingAdInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ShoppingComparisonListingAdInfo.Unmarshal(m, b) -} -func (m *ShoppingComparisonListingAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ShoppingComparisonListingAdInfo.Marshal(b, m, deterministic) -} -func (m *ShoppingComparisonListingAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShoppingComparisonListingAdInfo.Merge(m, src) -} -func (m *ShoppingComparisonListingAdInfo) XXX_Size() int { - return xxx_messageInfo_ShoppingComparisonListingAdInfo.Size(m) -} -func (m *ShoppingComparisonListingAdInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ShoppingComparisonListingAdInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_ShoppingComparisonListingAdInfo proto.InternalMessageInfo - -func (m *ShoppingComparisonListingAdInfo) GetHeadline() *wrappers.StringValue { - if m != nil { - return m.Headline - } - return nil -} - -// 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"` - // Product images. Up to 15 images are supported. - ProductImages []*ProductImage `protobuf:"bytes,7,rep,name=product_images,json=productImages,proto3" json:"product_images,omitempty"` - // Product videos. Up to 7 videos are supported. At least one product video - // or a marketing image must be specified. - ProductVideos []*ProductVideo `protobuf:"bytes,8,rep,name=product_videos,json=productVideos,proto3" json:"product_videos,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_7b1cab7fbeab5508, []int{8} -} - -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 (m *GmailAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_GmailAdInfo.Merge(m, 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 -} - -func (m *GmailAdInfo) GetProductImages() []*ProductImage { - if m != nil { - return m.ProductImages - } - return nil -} - -func (m *GmailAdInfo) GetProductVideos() []*ProductVideo { - if m != nil { - return m.ProductVideos - } - 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_7b1cab7fbeab5508, []int{9} -} - -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 (m *GmailTeaser) XXX_Merge(src proto.Message) { - xxx_messageInfo_GmailTeaser.Merge(m, 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"` - // Identifies the url collection in the ad.url_collections field. If not set - // the url defaults to final_url. - UrlCollectionId *wrappers.StringValue `protobuf:"bytes,3,opt,name=url_collection_id,json=urlCollectionId,proto3" json:"url_collection_id,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_7b1cab7fbeab5508, []int{10} -} - -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 (m *DisplayCallToAction) XXX_Merge(src proto.Message) { - xxx_messageInfo_DisplayCallToAction.Merge(m, 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 -} - -func (m *DisplayCallToAction) GetUrlCollectionId() *wrappers.StringValue { - if m != nil { - return m.UrlCollectionId - } - return nil -} - -// Product image specific data. -type ProductImage struct { - // The MediaFile resource name of the product image. Valid image types are - // GIF, JPEG and PNG. The minimum size is 300x300 pixels and the aspect ratio - // must be 1:1 (+-1%). - ProductImage *wrappers.StringValue `protobuf:"bytes,1,opt,name=product_image,json=productImage,proto3" json:"product_image,omitempty"` - // Description of the product. - Description *wrappers.StringValue `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - // Display-call-to-action of the product image. - DisplayCallToAction *DisplayCallToAction `protobuf:"bytes,3,opt,name=display_call_to_action,json=displayCallToAction,proto3" json:"display_call_to_action,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ProductImage) Reset() { *m = ProductImage{} } -func (m *ProductImage) String() string { return proto.CompactTextString(m) } -func (*ProductImage) ProtoMessage() {} -func (*ProductImage) Descriptor() ([]byte, []int) { - return fileDescriptor_7b1cab7fbeab5508, []int{11} -} - -func (m *ProductImage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProductImage.Unmarshal(m, b) -} -func (m *ProductImage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProductImage.Marshal(b, m, deterministic) -} -func (m *ProductImage) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductImage.Merge(m, src) -} -func (m *ProductImage) XXX_Size() int { - return xxx_messageInfo_ProductImage.Size(m) -} -func (m *ProductImage) XXX_DiscardUnknown() { - xxx_messageInfo_ProductImage.DiscardUnknown(m) -} - -var xxx_messageInfo_ProductImage proto.InternalMessageInfo - -func (m *ProductImage) GetProductImage() *wrappers.StringValue { - if m != nil { - return m.ProductImage - } - return nil -} - -func (m *ProductImage) GetDescription() *wrappers.StringValue { - if m != nil { - return m.Description - } - return nil -} - -func (m *ProductImage) GetDisplayCallToAction() *DisplayCallToAction { - if m != nil { - return m.DisplayCallToAction - } - return nil -} - -// Product video specific data. -type ProductVideo struct { - // The MediaFile resource name of a video which must be hosted on YouTube. - ProductVideo *wrappers.StringValue `protobuf:"bytes,1,opt,name=product_video,json=productVideo,proto3" json:"product_video,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ProductVideo) Reset() { *m = ProductVideo{} } -func (m *ProductVideo) String() string { return proto.CompactTextString(m) } -func (*ProductVideo) ProtoMessage() {} -func (*ProductVideo) Descriptor() ([]byte, []int) { - return fileDescriptor_7b1cab7fbeab5508, []int{12} -} - -func (m *ProductVideo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProductVideo.Unmarshal(m, b) -} -func (m *ProductVideo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProductVideo.Marshal(b, m, deterministic) -} -func (m *ProductVideo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductVideo.Merge(m, src) -} -func (m *ProductVideo) XXX_Size() int { - return xxx_messageInfo_ProductVideo.Size(m) -} -func (m *ProductVideo) XXX_DiscardUnknown() { - xxx_messageInfo_ProductVideo.DiscardUnknown(m) -} - -var xxx_messageInfo_ProductVideo proto.InternalMessageInfo - -func (m *ProductVideo) GetProductVideo() *wrappers.StringValue { - if m != nil { - return m.ProductVideo - } - 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.v2.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 - // *ImageAdInfo_AdIdToCopyImageFrom - 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_7b1cab7fbeab5508, []int{13} -} - -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 (m *ImageAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageAdInfo.Merge(m, 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"` -} - -type ImageAdInfo_AdIdToCopyImageFrom struct { - AdIdToCopyImageFrom *wrappers.Int64Value `protobuf:"bytes,3,opt,name=ad_id_to_copy_image_from,json=adIdToCopyImageFrom,proto3,oneof"` -} - -func (*ImageAdInfo_MediaFile) isImageAdInfo_Image() {} - -func (*ImageAdInfo_Data) isImageAdInfo_Image() {} - -func (*ImageAdInfo_AdIdToCopyImageFrom) 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 -} - -func (m *ImageAdInfo) GetAdIdToCopyImageFrom() *wrappers.Int64Value { - if x, ok := m.GetImage().(*ImageAdInfo_AdIdToCopyImageFrom); ok { - return x.AdIdToCopyImageFrom - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ImageAdInfo) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ImageAdInfo_MediaFile)(nil), - (*ImageAdInfo_Data)(nil), - (*ImageAdInfo_AdIdToCopyImageFrom)(nil), - } -} - -// Representation of video bumper in-stream ad format (very short in-stream -// non-skippable video ad). -type VideoBumperInStreamAdInfo struct { - // The MediaFile resource name of the companion banner used with the ad. - CompanionBanner *wrappers.StringValue `protobuf:"bytes,1,opt,name=companion_banner,json=companionBanner,proto3" json:"companion_banner,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VideoBumperInStreamAdInfo) Reset() { *m = VideoBumperInStreamAdInfo{} } -func (m *VideoBumperInStreamAdInfo) String() string { return proto.CompactTextString(m) } -func (*VideoBumperInStreamAdInfo) ProtoMessage() {} -func (*VideoBumperInStreamAdInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_7b1cab7fbeab5508, []int{14} -} - -func (m *VideoBumperInStreamAdInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VideoBumperInStreamAdInfo.Unmarshal(m, b) -} -func (m *VideoBumperInStreamAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VideoBumperInStreamAdInfo.Marshal(b, m, deterministic) -} -func (m *VideoBumperInStreamAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoBumperInStreamAdInfo.Merge(m, src) -} -func (m *VideoBumperInStreamAdInfo) XXX_Size() int { - return xxx_messageInfo_VideoBumperInStreamAdInfo.Size(m) -} -func (m *VideoBumperInStreamAdInfo) XXX_DiscardUnknown() { - xxx_messageInfo_VideoBumperInStreamAdInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_VideoBumperInStreamAdInfo proto.InternalMessageInfo - -func (m *VideoBumperInStreamAdInfo) GetCompanionBanner() *wrappers.StringValue { - if m != nil { - return m.CompanionBanner - } - return nil -} - -// Representation of video non-skippable in-stream ad format (15 second -// in-stream non-skippable video ad). -type VideoNonSkippableInStreamAdInfo struct { - // The MediaFile resource name of the companion banner used with the ad. - CompanionBanner *wrappers.StringValue `protobuf:"bytes,1,opt,name=companion_banner,json=companionBanner,proto3" json:"companion_banner,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VideoNonSkippableInStreamAdInfo) Reset() { *m = VideoNonSkippableInStreamAdInfo{} } -func (m *VideoNonSkippableInStreamAdInfo) String() string { return proto.CompactTextString(m) } -func (*VideoNonSkippableInStreamAdInfo) ProtoMessage() {} -func (*VideoNonSkippableInStreamAdInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_7b1cab7fbeab5508, []int{15} -} - -func (m *VideoNonSkippableInStreamAdInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VideoNonSkippableInStreamAdInfo.Unmarshal(m, b) -} -func (m *VideoNonSkippableInStreamAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VideoNonSkippableInStreamAdInfo.Marshal(b, m, deterministic) -} -func (m *VideoNonSkippableInStreamAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoNonSkippableInStreamAdInfo.Merge(m, src) -} -func (m *VideoNonSkippableInStreamAdInfo) XXX_Size() int { - return xxx_messageInfo_VideoNonSkippableInStreamAdInfo.Size(m) -} -func (m *VideoNonSkippableInStreamAdInfo) XXX_DiscardUnknown() { - xxx_messageInfo_VideoNonSkippableInStreamAdInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_VideoNonSkippableInStreamAdInfo proto.InternalMessageInfo - -func (m *VideoNonSkippableInStreamAdInfo) GetCompanionBanner() *wrappers.StringValue { - if m != nil { - return m.CompanionBanner - } - return nil -} - -// Representation of video TrueView in-stream ad format (ad shown during video -// playback, often at beginning, which displays a skip button a few seconds into -// the video). -type VideoTrueViewInStreamAdInfo struct { - // Label on the CTA (call-to-action) button taking the user to the video ad's - // final URL. - // Required for TrueView for action campaigns, optional otherwise. - ActionButtonLabel *wrappers.StringValue `protobuf:"bytes,1,opt,name=action_button_label,json=actionButtonLabel,proto3" json:"action_button_label,omitempty"` - // Additional text displayed with the CTA (call-to-action) button to give - // context and encourage clicking on the button. - ActionHeadline *wrappers.StringValue `protobuf:"bytes,2,opt,name=action_headline,json=actionHeadline,proto3" json:"action_headline,omitempty"` - // The MediaFile resource name of the companion banner used with the ad. - CompanionBanner *wrappers.StringValue `protobuf:"bytes,3,opt,name=companion_banner,json=companionBanner,proto3" json:"companion_banner,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VideoTrueViewInStreamAdInfo) Reset() { *m = VideoTrueViewInStreamAdInfo{} } -func (m *VideoTrueViewInStreamAdInfo) String() string { return proto.CompactTextString(m) } -func (*VideoTrueViewInStreamAdInfo) ProtoMessage() {} -func (*VideoTrueViewInStreamAdInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_7b1cab7fbeab5508, []int{16} -} - -func (m *VideoTrueViewInStreamAdInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VideoTrueViewInStreamAdInfo.Unmarshal(m, b) -} -func (m *VideoTrueViewInStreamAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VideoTrueViewInStreamAdInfo.Marshal(b, m, deterministic) -} -func (m *VideoTrueViewInStreamAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoTrueViewInStreamAdInfo.Merge(m, src) -} -func (m *VideoTrueViewInStreamAdInfo) XXX_Size() int { - return xxx_messageInfo_VideoTrueViewInStreamAdInfo.Size(m) -} -func (m *VideoTrueViewInStreamAdInfo) XXX_DiscardUnknown() { - xxx_messageInfo_VideoTrueViewInStreamAdInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_VideoTrueViewInStreamAdInfo proto.InternalMessageInfo - -func (m *VideoTrueViewInStreamAdInfo) GetActionButtonLabel() *wrappers.StringValue { - if m != nil { - return m.ActionButtonLabel - } - return nil -} - -func (m *VideoTrueViewInStreamAdInfo) GetActionHeadline() *wrappers.StringValue { - if m != nil { - return m.ActionHeadline - } - return nil -} - -func (m *VideoTrueViewInStreamAdInfo) GetCompanionBanner() *wrappers.StringValue { - if m != nil { - return m.CompanionBanner - } - return nil -} - -// Representation of video out-stream ad format (ad shown alongside a feed -// with automatic playback, without sound). -type VideoOutstreamAdInfo struct { - // The headline of the ad. - Headline *wrappers.StringValue `protobuf:"bytes,1,opt,name=headline,proto3" json:"headline,omitempty"` - // The description line. - Description *wrappers.StringValue `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VideoOutstreamAdInfo) Reset() { *m = VideoOutstreamAdInfo{} } -func (m *VideoOutstreamAdInfo) String() string { return proto.CompactTextString(m) } -func (*VideoOutstreamAdInfo) ProtoMessage() {} -func (*VideoOutstreamAdInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_7b1cab7fbeab5508, []int{17} -} - -func (m *VideoOutstreamAdInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VideoOutstreamAdInfo.Unmarshal(m, b) -} -func (m *VideoOutstreamAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VideoOutstreamAdInfo.Marshal(b, m, deterministic) -} -func (m *VideoOutstreamAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoOutstreamAdInfo.Merge(m, src) -} -func (m *VideoOutstreamAdInfo) XXX_Size() int { - return xxx_messageInfo_VideoOutstreamAdInfo.Size(m) -} -func (m *VideoOutstreamAdInfo) XXX_DiscardUnknown() { - xxx_messageInfo_VideoOutstreamAdInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_VideoOutstreamAdInfo proto.InternalMessageInfo - -func (m *VideoOutstreamAdInfo) GetHeadline() *wrappers.StringValue { - if m != nil { - return m.Headline - } - return nil -} - -func (m *VideoOutstreamAdInfo) GetDescription() *wrappers.StringValue { - if m != nil { - return m.Description - } - return nil -} - -// A video ad. -type VideoAdInfo struct { - // The MediaFile resource to use for the video. - MediaFile *wrappers.StringValue `protobuf:"bytes,1,opt,name=media_file,json=mediaFile,proto3" json:"media_file,omitempty"` - // Format-specific schema for the different video formats. - // - // Types that are valid to be assigned to Format: - // *VideoAdInfo_InStream - // *VideoAdInfo_Bumper - // *VideoAdInfo_OutStream - // *VideoAdInfo_NonSkippable - Format isVideoAdInfo_Format `protobuf_oneof:"format"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VideoAdInfo) Reset() { *m = VideoAdInfo{} } -func (m *VideoAdInfo) String() string { return proto.CompactTextString(m) } -func (*VideoAdInfo) ProtoMessage() {} -func (*VideoAdInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_7b1cab7fbeab5508, []int{18} -} - -func (m *VideoAdInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VideoAdInfo.Unmarshal(m, b) -} -func (m *VideoAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VideoAdInfo.Marshal(b, m, deterministic) -} -func (m *VideoAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoAdInfo.Merge(m, src) -} -func (m *VideoAdInfo) XXX_Size() int { - return xxx_messageInfo_VideoAdInfo.Size(m) -} -func (m *VideoAdInfo) XXX_DiscardUnknown() { - xxx_messageInfo_VideoAdInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_VideoAdInfo proto.InternalMessageInfo - -func (m *VideoAdInfo) GetMediaFile() *wrappers.StringValue { - if m != nil { - return m.MediaFile - } - return nil -} - -type isVideoAdInfo_Format interface { - isVideoAdInfo_Format() -} - -type VideoAdInfo_InStream struct { - InStream *VideoTrueViewInStreamAdInfo `protobuf:"bytes,2,opt,name=in_stream,json=inStream,proto3,oneof"` -} - -type VideoAdInfo_Bumper struct { - Bumper *VideoBumperInStreamAdInfo `protobuf:"bytes,3,opt,name=bumper,proto3,oneof"` -} - -type VideoAdInfo_OutStream struct { - OutStream *VideoOutstreamAdInfo `protobuf:"bytes,4,opt,name=out_stream,json=outStream,proto3,oneof"` -} - -type VideoAdInfo_NonSkippable struct { - NonSkippable *VideoNonSkippableInStreamAdInfo `protobuf:"bytes,5,opt,name=non_skippable,json=nonSkippable,proto3,oneof"` -} - -func (*VideoAdInfo_InStream) isVideoAdInfo_Format() {} - -func (*VideoAdInfo_Bumper) isVideoAdInfo_Format() {} - -func (*VideoAdInfo_OutStream) isVideoAdInfo_Format() {} - -func (*VideoAdInfo_NonSkippable) isVideoAdInfo_Format() {} - -func (m *VideoAdInfo) GetFormat() isVideoAdInfo_Format { - if m != nil { - return m.Format - } - return nil -} - -func (m *VideoAdInfo) GetInStream() *VideoTrueViewInStreamAdInfo { - if x, ok := m.GetFormat().(*VideoAdInfo_InStream); ok { - return x.InStream - } - return nil -} - -func (m *VideoAdInfo) GetBumper() *VideoBumperInStreamAdInfo { - if x, ok := m.GetFormat().(*VideoAdInfo_Bumper); ok { - return x.Bumper - } - return nil -} - -func (m *VideoAdInfo) GetOutStream() *VideoOutstreamAdInfo { - if x, ok := m.GetFormat().(*VideoAdInfo_OutStream); ok { - return x.OutStream - } - return nil -} - -func (m *VideoAdInfo) GetNonSkippable() *VideoNonSkippableInStreamAdInfo { - if x, ok := m.GetFormat().(*VideoAdInfo_NonSkippable); ok { - return x.NonSkippable - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*VideoAdInfo) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*VideoAdInfo_InStream)(nil), - (*VideoAdInfo_Bumper)(nil), - (*VideoAdInfo_OutStream)(nil), - (*VideoAdInfo_NonSkippable)(nil), - } -} - -// A responsive search ad. -// -// Responsive search ads let you create an ad that adapts to show more text, and -// more relevant messages, to your customers. Enter multiple headlines and -// descriptions when creating a responsive search ad, and over time, Google Ads -// will automatically test different combinations and learn which combinations -// perform best. By adapting your ad's content to more closely match potential -// customers' search terms, responsive search ads may improve your campaign's -// performance. -// -// More information at https://support.google.com/google-ads/answer/7684791 -type ResponsiveSearchAdInfo struct { - // List of text assets for headlines. When the ad serves the headlines will - // be selected from this list. - Headlines []*AdTextAsset `protobuf:"bytes,1,rep,name=headlines,proto3" json:"headlines,omitempty"` - // List of text assets for descriptions. When the ad serves the descriptions - // will be selected from this list. - Descriptions []*AdTextAsset `protobuf:"bytes,2,rep,name=descriptions,proto3" json:"descriptions,omitempty"` - // First part of text that may appear appended to the url displayed in the ad. - Path1 *wrappers.StringValue `protobuf:"bytes,3,opt,name=path1,proto3" json:"path1,omitempty"` - // Second part of text that may appear appended to the url displayed in the - // ad. This field can only be set when path1 is also set. - Path2 *wrappers.StringValue `protobuf:"bytes,4,opt,name=path2,proto3" json:"path2,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ResponsiveSearchAdInfo) Reset() { *m = ResponsiveSearchAdInfo{} } -func (m *ResponsiveSearchAdInfo) String() string { return proto.CompactTextString(m) } -func (*ResponsiveSearchAdInfo) ProtoMessage() {} -func (*ResponsiveSearchAdInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_7b1cab7fbeab5508, []int{19} -} - -func (m *ResponsiveSearchAdInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResponsiveSearchAdInfo.Unmarshal(m, b) -} -func (m *ResponsiveSearchAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResponsiveSearchAdInfo.Marshal(b, m, deterministic) -} -func (m *ResponsiveSearchAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResponsiveSearchAdInfo.Merge(m, src) -} -func (m *ResponsiveSearchAdInfo) XXX_Size() int { - return xxx_messageInfo_ResponsiveSearchAdInfo.Size(m) -} -func (m *ResponsiveSearchAdInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ResponsiveSearchAdInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_ResponsiveSearchAdInfo proto.InternalMessageInfo - -func (m *ResponsiveSearchAdInfo) GetHeadlines() []*AdTextAsset { - if m != nil { - return m.Headlines - } - return nil -} - -func (m *ResponsiveSearchAdInfo) GetDescriptions() []*AdTextAsset { - if m != nil { - return m.Descriptions - } - return nil -} - -func (m *ResponsiveSearchAdInfo) GetPath1() *wrappers.StringValue { - if m != nil { - return m.Path1 - } - return nil -} - -func (m *ResponsiveSearchAdInfo) GetPath2() *wrappers.StringValue { - if m != nil { - return m.Path2 - } - return nil -} - -// A legacy responsive display ad. Ads of this type are labeled 'Responsive ads' -// in the Google Ads UI. -type LegacyResponsiveDisplayAdInfo 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.v2.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 *LegacyResponsiveDisplayAdInfo) Reset() { *m = LegacyResponsiveDisplayAdInfo{} } -func (m *LegacyResponsiveDisplayAdInfo) String() string { return proto.CompactTextString(m) } -func (*LegacyResponsiveDisplayAdInfo) ProtoMessage() {} -func (*LegacyResponsiveDisplayAdInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_7b1cab7fbeab5508, []int{20} -} - -func (m *LegacyResponsiveDisplayAdInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LegacyResponsiveDisplayAdInfo.Unmarshal(m, b) -} -func (m *LegacyResponsiveDisplayAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LegacyResponsiveDisplayAdInfo.Marshal(b, m, deterministic) -} -func (m *LegacyResponsiveDisplayAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_LegacyResponsiveDisplayAdInfo.Merge(m, src) -} -func (m *LegacyResponsiveDisplayAdInfo) XXX_Size() int { - return xxx_messageInfo_LegacyResponsiveDisplayAdInfo.Size(m) -} -func (m *LegacyResponsiveDisplayAdInfo) XXX_DiscardUnknown() { - xxx_messageInfo_LegacyResponsiveDisplayAdInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_LegacyResponsiveDisplayAdInfo proto.InternalMessageInfo - -func (m *LegacyResponsiveDisplayAdInfo) GetShortHeadline() *wrappers.StringValue { - if m != nil { - return m.ShortHeadline - } - return nil -} - -func (m *LegacyResponsiveDisplayAdInfo) GetLongHeadline() *wrappers.StringValue { - if m != nil { - return m.LongHeadline - } - return nil -} - -func (m *LegacyResponsiveDisplayAdInfo) GetDescription() *wrappers.StringValue { - if m != nil { - return m.Description - } - return nil -} - -func (m *LegacyResponsiveDisplayAdInfo) GetBusinessName() *wrappers.StringValue { - if m != nil { - return m.BusinessName - } - return nil -} - -func (m *LegacyResponsiveDisplayAdInfo) GetAllowFlexibleColor() *wrappers.BoolValue { - if m != nil { - return m.AllowFlexibleColor - } - return nil -} - -func (m *LegacyResponsiveDisplayAdInfo) GetAccentColor() *wrappers.StringValue { - if m != nil { - return m.AccentColor - } - return nil -} - -func (m *LegacyResponsiveDisplayAdInfo) GetMainColor() *wrappers.StringValue { - if m != nil { - return m.MainColor - } - return nil -} - -func (m *LegacyResponsiveDisplayAdInfo) GetCallToActionText() *wrappers.StringValue { - if m != nil { - return m.CallToActionText - } - return nil -} - -func (m *LegacyResponsiveDisplayAdInfo) GetLogoImage() *wrappers.StringValue { - if m != nil { - return m.LogoImage - } - return nil -} - -func (m *LegacyResponsiveDisplayAdInfo) GetSquareLogoImage() *wrappers.StringValue { - if m != nil { - return m.SquareLogoImage - } - return nil -} - -func (m *LegacyResponsiveDisplayAdInfo) GetMarketingImage() *wrappers.StringValue { - if m != nil { - return m.MarketingImage - } - return nil -} - -func (m *LegacyResponsiveDisplayAdInfo) GetSquareMarketingImage() *wrappers.StringValue { - if m != nil { - return m.SquareMarketingImage - } - return nil -} - -func (m *LegacyResponsiveDisplayAdInfo) GetFormatSetting() enums.DisplayAdFormatSettingEnum_DisplayAdFormatSetting { - if m != nil { - return m.FormatSetting - } - return enums.DisplayAdFormatSettingEnum_UNSPECIFIED -} - -func (m *LegacyResponsiveDisplayAdInfo) GetPricePrefix() *wrappers.StringValue { - if m != nil { - return m.PricePrefix - } - return nil -} - -func (m *LegacyResponsiveDisplayAdInfo) GetPromoText() *wrappers.StringValue { - if m != nil { - return m.PromoText - } - return nil -} - -// An app ad. -type AppAdInfo struct { - // An optional text asset that, if specified, must always be displayed when - // the ad is served. - MandatoryAdText *AdTextAsset `protobuf:"bytes,1,opt,name=mandatory_ad_text,json=mandatoryAdText,proto3" json:"mandatory_ad_text,omitempty"` - // List of text assets for headlines. When the ad serves the headlines will - // be selected from this list. - Headlines []*AdTextAsset `protobuf:"bytes,2,rep,name=headlines,proto3" json:"headlines,omitempty"` - // List of text assets for descriptions. When the ad serves the descriptions - // will be selected from this list. - Descriptions []*AdTextAsset `protobuf:"bytes,3,rep,name=descriptions,proto3" json:"descriptions,omitempty"` - // List of image assets that may be displayed with the ad. - Images []*AdImageAsset `protobuf:"bytes,4,rep,name=images,proto3" json:"images,omitempty"` - // List of YouTube video assets that may be displayed with the ad. - YoutubeVideos []*AdVideoAsset `protobuf:"bytes,5,rep,name=youtube_videos,json=youtubeVideos,proto3" json:"youtube_videos,omitempty"` - // List of media bundle assets that may be used with the ad. - Html5MediaBundles []*AdMediaBundleAsset `protobuf:"bytes,6,rep,name=html5_media_bundles,json=html5MediaBundles,proto3" json:"html5_media_bundles,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AppAdInfo) Reset() { *m = AppAdInfo{} } -func (m *AppAdInfo) String() string { return proto.CompactTextString(m) } -func (*AppAdInfo) ProtoMessage() {} -func (*AppAdInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_7b1cab7fbeab5508, []int{21} -} - -func (m *AppAdInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AppAdInfo.Unmarshal(m, b) -} -func (m *AppAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AppAdInfo.Marshal(b, m, deterministic) -} -func (m *AppAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_AppAdInfo.Merge(m, src) -} -func (m *AppAdInfo) XXX_Size() int { - return xxx_messageInfo_AppAdInfo.Size(m) -} -func (m *AppAdInfo) XXX_DiscardUnknown() { - xxx_messageInfo_AppAdInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_AppAdInfo proto.InternalMessageInfo - -func (m *AppAdInfo) GetMandatoryAdText() *AdTextAsset { - if m != nil { - return m.MandatoryAdText - } - return nil -} - -func (m *AppAdInfo) GetHeadlines() []*AdTextAsset { - if m != nil { - return m.Headlines - } - return nil -} - -func (m *AppAdInfo) GetDescriptions() []*AdTextAsset { - if m != nil { - return m.Descriptions - } - return nil -} - -func (m *AppAdInfo) GetImages() []*AdImageAsset { - if m != nil { - return m.Images - } - return nil -} - -func (m *AppAdInfo) GetYoutubeVideos() []*AdVideoAsset { - if m != nil { - return m.YoutubeVideos - } - return nil -} - -func (m *AppAdInfo) GetHtml5MediaBundles() []*AdMediaBundleAsset { - if m != nil { - return m.Html5MediaBundles - } - return nil -} - -// App engagement ads allow you to write text encouraging a specific action in -// the app, like checking in, making a purchase, or booking a flight. -// They allow you to send users to a specific part of your app where they can -// find what they're looking for easier and faster. -type AppEngagementAdInfo struct { - // List of text assets for headlines. When the ad serves the headlines will - // be selected from this list. - Headlines []*AdTextAsset `protobuf:"bytes,1,rep,name=headlines,proto3" json:"headlines,omitempty"` - // List of text assets for descriptions. When the ad serves the descriptions - // will be selected from this list. - Descriptions []*AdTextAsset `protobuf:"bytes,2,rep,name=descriptions,proto3" json:"descriptions,omitempty"` - // List of image assets that may be displayed with the ad. - Images []*AdImageAsset `protobuf:"bytes,3,rep,name=images,proto3" json:"images,omitempty"` - // List of video assets that may be displayed with the ad. - Videos []*AdVideoAsset `protobuf:"bytes,4,rep,name=videos,proto3" json:"videos,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AppEngagementAdInfo) Reset() { *m = AppEngagementAdInfo{} } -func (m *AppEngagementAdInfo) String() string { return proto.CompactTextString(m) } -func (*AppEngagementAdInfo) ProtoMessage() {} -func (*AppEngagementAdInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_7b1cab7fbeab5508, []int{22} -} - -func (m *AppEngagementAdInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AppEngagementAdInfo.Unmarshal(m, b) -} -func (m *AppEngagementAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AppEngagementAdInfo.Marshal(b, m, deterministic) -} -func (m *AppEngagementAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_AppEngagementAdInfo.Merge(m, src) -} -func (m *AppEngagementAdInfo) XXX_Size() int { - return xxx_messageInfo_AppEngagementAdInfo.Size(m) -} -func (m *AppEngagementAdInfo) XXX_DiscardUnknown() { - xxx_messageInfo_AppEngagementAdInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_AppEngagementAdInfo proto.InternalMessageInfo - -func (m *AppEngagementAdInfo) GetHeadlines() []*AdTextAsset { - if m != nil { - return m.Headlines - } - return nil -} - -func (m *AppEngagementAdInfo) GetDescriptions() []*AdTextAsset { - if m != nil { - return m.Descriptions - } - return nil -} - -func (m *AppEngagementAdInfo) GetImages() []*AdImageAsset { - if m != nil { - return m.Images - } - return nil -} - -func (m *AppEngagementAdInfo) GetVideos() []*AdVideoAsset { - if m != nil { - return m.Videos - } - return nil -} - -// A legacy app install ad that only can be used by a few select customers. -type LegacyAppInstallAdInfo struct { - // The id of the mobile app. - AppId *wrappers.StringValue `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` - // The app store the mobile app is available in. - AppStore enums.LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore `protobuf:"varint,2,opt,name=app_store,json=appStore,proto3,enum=google.ads.googleads.v2.enums.LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore" json:"app_store,omitempty"` - // The headline of the ad. - Headline *wrappers.StringValue `protobuf:"bytes,3,opt,name=headline,proto3" json:"headline,omitempty"` - // The first description line of the ad. - Description1 *wrappers.StringValue `protobuf:"bytes,4,opt,name=description1,proto3" json:"description1,omitempty"` - // The second description line of the ad. - Description2 *wrappers.StringValue `protobuf:"bytes,5,opt,name=description2,proto3" json:"description2,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LegacyAppInstallAdInfo) Reset() { *m = LegacyAppInstallAdInfo{} } -func (m *LegacyAppInstallAdInfo) String() string { return proto.CompactTextString(m) } -func (*LegacyAppInstallAdInfo) ProtoMessage() {} -func (*LegacyAppInstallAdInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_7b1cab7fbeab5508, []int{23} -} - -func (m *LegacyAppInstallAdInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LegacyAppInstallAdInfo.Unmarshal(m, b) -} -func (m *LegacyAppInstallAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LegacyAppInstallAdInfo.Marshal(b, m, deterministic) -} -func (m *LegacyAppInstallAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_LegacyAppInstallAdInfo.Merge(m, src) -} -func (m *LegacyAppInstallAdInfo) XXX_Size() int { - return xxx_messageInfo_LegacyAppInstallAdInfo.Size(m) -} -func (m *LegacyAppInstallAdInfo) XXX_DiscardUnknown() { - xxx_messageInfo_LegacyAppInstallAdInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_LegacyAppInstallAdInfo proto.InternalMessageInfo - -func (m *LegacyAppInstallAdInfo) GetAppId() *wrappers.StringValue { - if m != nil { - return m.AppId - } - return nil -} - -func (m *LegacyAppInstallAdInfo) GetAppStore() enums.LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore { - if m != nil { - return m.AppStore - } - return enums.LegacyAppInstallAdAppStoreEnum_UNSPECIFIED -} - -func (m *LegacyAppInstallAdInfo) GetHeadline() *wrappers.StringValue { - if m != nil { - return m.Headline - } - return nil -} - -func (m *LegacyAppInstallAdInfo) GetDescription1() *wrappers.StringValue { - if m != nil { - return m.Description1 - } - return nil -} - -func (m *LegacyAppInstallAdInfo) GetDescription2() *wrappers.StringValue { - if m != nil { - return m.Description2 - } - return nil -} - -// A responsive display ad. -type ResponsiveDisplayAdInfo struct { - // Marketing images to be used in the ad. Valid image types are GIF, - // JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must - // be 1.91:1 (+-1%). At least one marketing_image is required. Combined with - // square_marketing_images the maximum is 15. - MarketingImages []*AdImageAsset `protobuf:"bytes,1,rep,name=marketing_images,json=marketingImages,proto3" json:"marketing_images,omitempty"` - // Square marketing images to be used in the ad. Valid image types are GIF, - // JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must - // be 1:1 (+-1%). At least one square marketing_image is required. Combined - // with marketing_images the maximum is 15. - SquareMarketingImages []*AdImageAsset `protobuf:"bytes,2,rep,name=square_marketing_images,json=squareMarketingImages,proto3" json:"square_marketing_images,omitempty"` - // Logo images to be used in the ad. Valid image types are GIF, - // JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must - // be 4:1 (+-1%). Combined with square_logo_images the maximum is 5. - LogoImages []*AdImageAsset `protobuf:"bytes,3,rep,name=logo_images,json=logoImages,proto3" json:"logo_images,omitempty"` - // Square logo images to be used in the ad. Valid image types are GIF, - // JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must - // be 1:1 (+-1%). Combined with square_logo_images the maximum is 5. - SquareLogoImages []*AdImageAsset `protobuf:"bytes,4,rep,name=square_logo_images,json=squareLogoImages,proto3" json:"square_logo_images,omitempty"` - // Short format headlines for the ad. The maximum length is 30 characters. - // At least 1 and max 5 headlines can be specified. - Headlines []*AdTextAsset `protobuf:"bytes,5,rep,name=headlines,proto3" json:"headlines,omitempty"` - // A required long format headline. The maximum length is 90 characters. - LongHeadline *AdTextAsset `protobuf:"bytes,6,opt,name=long_headline,json=longHeadline,proto3" json:"long_headline,omitempty"` - // Descriptive texts for the ad. The maximum length is 90 characters. At - // least 1 and max 5 headlines can be specified. - Descriptions []*AdTextAsset `protobuf:"bytes,7,rep,name=descriptions,proto3" json:"descriptions,omitempty"` - // Optional YouTube vidoes for the ad. A maximum of 5 videos can be specified. - YoutubeVideos []*AdVideoAsset `protobuf:"bytes,8,rep,name=youtube_videos,json=youtubeVideos,proto3" json:"youtube_videos,omitempty"` - // The advertiser/brand name. Maximum display width is 25. - BusinessName *wrappers.StringValue `protobuf:"bytes,9,opt,name=business_name,json=businessName,proto3" json:"business_name,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,10,opt,name=main_color,json=mainColor,proto3" json:"main_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,11,opt,name=accent_color,json=accentColor,proto3" json:"accent_color,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,12,opt,name=allow_flexible_color,json=allowFlexibleColor,proto3" json:"allow_flexible_color,omitempty"` - // The call-to-action text for the ad. Maximum display width is 30. - CallToActionText *wrappers.StringValue `protobuf:"bytes,13,opt,name=call_to_action_text,json=callToActionText,proto3" json:"call_to_action_text,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"` - // Specifies which format the ad will be served in. Default is ALL_FORMATS. - FormatSetting enums.DisplayAdFormatSettingEnum_DisplayAdFormatSetting `protobuf:"varint,16,opt,name=format_setting,json=formatSetting,proto3,enum=google.ads.googleads.v2.enums.DisplayAdFormatSettingEnum_DisplayAdFormatSetting" json:"format_setting,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_7b1cab7fbeab5508, []int{24} -} - -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 (m *ResponsiveDisplayAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResponsiveDisplayAdInfo.Merge(m, 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) GetMarketingImages() []*AdImageAsset { - if m != nil { - return m.MarketingImages - } - return nil -} - -func (m *ResponsiveDisplayAdInfo) GetSquareMarketingImages() []*AdImageAsset { - if m != nil { - return m.SquareMarketingImages - } - return nil -} - -func (m *ResponsiveDisplayAdInfo) GetLogoImages() []*AdImageAsset { - if m != nil { - return m.LogoImages - } - return nil -} - -func (m *ResponsiveDisplayAdInfo) GetSquareLogoImages() []*AdImageAsset { - if m != nil { - return m.SquareLogoImages - } - return nil -} - -func (m *ResponsiveDisplayAdInfo) GetHeadlines() []*AdTextAsset { - if m != nil { - return m.Headlines - } - return nil -} - -func (m *ResponsiveDisplayAdInfo) GetLongHeadline() *AdTextAsset { - if m != nil { - return m.LongHeadline - } - return nil -} - -func (m *ResponsiveDisplayAdInfo) GetDescriptions() []*AdTextAsset { - if m != nil { - return m.Descriptions - } - return nil -} - -func (m *ResponsiveDisplayAdInfo) GetYoutubeVideos() []*AdVideoAsset { - if m != nil { - return m.YoutubeVideos - } - return nil -} - -func (m *ResponsiveDisplayAdInfo) GetBusinessName() *wrappers.StringValue { - if m != nil { - return m.BusinessName - } - return nil -} - -func (m *ResponsiveDisplayAdInfo) GetMainColor() *wrappers.StringValue { - if m != nil { - return m.MainColor - } - return nil -} - -func (m *ResponsiveDisplayAdInfo) GetAccentColor() *wrappers.StringValue { - if m != nil { - return m.AccentColor - } - return nil -} - -func (m *ResponsiveDisplayAdInfo) GetAllowFlexibleColor() *wrappers.BoolValue { - if m != nil { - return m.AllowFlexibleColor - } - return nil -} - -func (m *ResponsiveDisplayAdInfo) GetCallToActionText() *wrappers.StringValue { - if m != nil { - return m.CallToActionText - } - return nil -} - -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 -} - -func (m *ResponsiveDisplayAdInfo) GetFormatSetting() enums.DisplayAdFormatSettingEnum_DisplayAdFormatSetting { - if m != nil { - return m.FormatSetting - } - return enums.DisplayAdFormatSettingEnum_UNSPECIFIED -} - -// A generic type of display ad. The exact ad format is controlled by the -// display_upload_product_type field, which determines what kinds of data -// need to be included with the ad. -type DisplayUploadAdInfo struct { - // The product type of this ad. See comments on the enum for details. - DisplayUploadProductType enums.DisplayUploadProductTypeEnum_DisplayUploadProductType `protobuf:"varint,1,opt,name=display_upload_product_type,json=displayUploadProductType,proto3,enum=google.ads.googleads.v2.enums.DisplayUploadProductTypeEnum_DisplayUploadProductType" json:"display_upload_product_type,omitempty"` - // The asset data that makes up the ad. - // - // Types that are valid to be assigned to MediaAsset: - // *DisplayUploadAdInfo_MediaBundle - MediaAsset isDisplayUploadAdInfo_MediaAsset `protobuf_oneof:"media_asset"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DisplayUploadAdInfo) Reset() { *m = DisplayUploadAdInfo{} } -func (m *DisplayUploadAdInfo) String() string { return proto.CompactTextString(m) } -func (*DisplayUploadAdInfo) ProtoMessage() {} -func (*DisplayUploadAdInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_7b1cab7fbeab5508, []int{25} -} - -func (m *DisplayUploadAdInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DisplayUploadAdInfo.Unmarshal(m, b) -} -func (m *DisplayUploadAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DisplayUploadAdInfo.Marshal(b, m, deterministic) -} -func (m *DisplayUploadAdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_DisplayUploadAdInfo.Merge(m, src) -} -func (m *DisplayUploadAdInfo) XXX_Size() int { - return xxx_messageInfo_DisplayUploadAdInfo.Size(m) -} -func (m *DisplayUploadAdInfo) XXX_DiscardUnknown() { - xxx_messageInfo_DisplayUploadAdInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_DisplayUploadAdInfo proto.InternalMessageInfo - -func (m *DisplayUploadAdInfo) GetDisplayUploadProductType() enums.DisplayUploadProductTypeEnum_DisplayUploadProductType { - if m != nil { - return m.DisplayUploadProductType - } - return enums.DisplayUploadProductTypeEnum_UNSPECIFIED -} - -type isDisplayUploadAdInfo_MediaAsset interface { - isDisplayUploadAdInfo_MediaAsset() -} - -type DisplayUploadAdInfo_MediaBundle struct { - MediaBundle *AdMediaBundleAsset `protobuf:"bytes,2,opt,name=media_bundle,json=mediaBundle,proto3,oneof"` -} - -func (*DisplayUploadAdInfo_MediaBundle) isDisplayUploadAdInfo_MediaAsset() {} - -func (m *DisplayUploadAdInfo) GetMediaAsset() isDisplayUploadAdInfo_MediaAsset { - if m != nil { - return m.MediaAsset - } - return nil -} - -func (m *DisplayUploadAdInfo) GetMediaBundle() *AdMediaBundleAsset { - if x, ok := m.GetMediaAsset().(*DisplayUploadAdInfo_MediaBundle); ok { - return x.MediaBundle - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*DisplayUploadAdInfo) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*DisplayUploadAdInfo_MediaBundle)(nil), - } -} - -func init() { - proto.RegisterType((*TextAdInfo)(nil), "google.ads.googleads.v2.common.TextAdInfo") - proto.RegisterType((*ExpandedTextAdInfo)(nil), "google.ads.googleads.v2.common.ExpandedTextAdInfo") - proto.RegisterType((*CallOnlyAdInfo)(nil), "google.ads.googleads.v2.common.CallOnlyAdInfo") - proto.RegisterType((*ExpandedDynamicSearchAdInfo)(nil), "google.ads.googleads.v2.common.ExpandedDynamicSearchAdInfo") - proto.RegisterType((*HotelAdInfo)(nil), "google.ads.googleads.v2.common.HotelAdInfo") - proto.RegisterType((*ShoppingSmartAdInfo)(nil), "google.ads.googleads.v2.common.ShoppingSmartAdInfo") - proto.RegisterType((*ShoppingProductAdInfo)(nil), "google.ads.googleads.v2.common.ShoppingProductAdInfo") - proto.RegisterType((*ShoppingComparisonListingAdInfo)(nil), "google.ads.googleads.v2.common.ShoppingComparisonListingAdInfo") - proto.RegisterType((*GmailAdInfo)(nil), "google.ads.googleads.v2.common.GmailAdInfo") - proto.RegisterType((*GmailTeaser)(nil), "google.ads.googleads.v2.common.GmailTeaser") - proto.RegisterType((*DisplayCallToAction)(nil), "google.ads.googleads.v2.common.DisplayCallToAction") - proto.RegisterType((*ProductImage)(nil), "google.ads.googleads.v2.common.ProductImage") - proto.RegisterType((*ProductVideo)(nil), "google.ads.googleads.v2.common.ProductVideo") - proto.RegisterType((*ImageAdInfo)(nil), "google.ads.googleads.v2.common.ImageAdInfo") - proto.RegisterType((*VideoBumperInStreamAdInfo)(nil), "google.ads.googleads.v2.common.VideoBumperInStreamAdInfo") - proto.RegisterType((*VideoNonSkippableInStreamAdInfo)(nil), "google.ads.googleads.v2.common.VideoNonSkippableInStreamAdInfo") - proto.RegisterType((*VideoTrueViewInStreamAdInfo)(nil), "google.ads.googleads.v2.common.VideoTrueViewInStreamAdInfo") - proto.RegisterType((*VideoOutstreamAdInfo)(nil), "google.ads.googleads.v2.common.VideoOutstreamAdInfo") - proto.RegisterType((*VideoAdInfo)(nil), "google.ads.googleads.v2.common.VideoAdInfo") - proto.RegisterType((*ResponsiveSearchAdInfo)(nil), "google.ads.googleads.v2.common.ResponsiveSearchAdInfo") - proto.RegisterType((*LegacyResponsiveDisplayAdInfo)(nil), "google.ads.googleads.v2.common.LegacyResponsiveDisplayAdInfo") - proto.RegisterType((*AppAdInfo)(nil), "google.ads.googleads.v2.common.AppAdInfo") - proto.RegisterType((*AppEngagementAdInfo)(nil), "google.ads.googleads.v2.common.AppEngagementAdInfo") - proto.RegisterType((*LegacyAppInstallAdInfo)(nil), "google.ads.googleads.v2.common.LegacyAppInstallAdInfo") - proto.RegisterType((*ResponsiveDisplayAdInfo)(nil), "google.ads.googleads.v2.common.ResponsiveDisplayAdInfo") - proto.RegisterType((*DisplayUploadAdInfo)(nil), "google.ads.googleads.v2.common.DisplayUploadAdInfo") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/common/ad_type_infos.proto", fileDescriptor_7b1cab7fbeab5508) -} - -var fileDescriptor_7b1cab7fbeab5508 = []byte{ - // 2393 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x5a, 0xcb, 0x6e, 0xdb, 0xd8, - 0x19, 0xb6, 0x24, 0x5f, 0xa4, 0x5f, 0x92, 0x2f, 0x74, 0x2e, 0x1a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vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/asset_types.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/asset_types.pb.go deleted file mode 100644 index 009ed05e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/asset_types.pb.go +++ /dev/null @@ -1,329 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/common/asset_types.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A YouTube asset. -type YoutubeVideoAsset struct { - // YouTube video id. This is the 11 character string value used in the - // YouTube video URL. - YoutubeVideoId *wrappers.StringValue `protobuf:"bytes,1,opt,name=youtube_video_id,json=youtubeVideoId,proto3" json:"youtube_video_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *YoutubeVideoAsset) Reset() { *m = YoutubeVideoAsset{} } -func (m *YoutubeVideoAsset) String() string { return proto.CompactTextString(m) } -func (*YoutubeVideoAsset) ProtoMessage() {} -func (*YoutubeVideoAsset) Descriptor() ([]byte, []int) { - return fileDescriptor_9a795a4c39c332df, []int{0} -} - -func (m *YoutubeVideoAsset) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_YoutubeVideoAsset.Unmarshal(m, b) -} -func (m *YoutubeVideoAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_YoutubeVideoAsset.Marshal(b, m, deterministic) -} -func (m *YoutubeVideoAsset) XXX_Merge(src proto.Message) { - xxx_messageInfo_YoutubeVideoAsset.Merge(m, src) -} -func (m *YoutubeVideoAsset) XXX_Size() int { - return xxx_messageInfo_YoutubeVideoAsset.Size(m) -} -func (m *YoutubeVideoAsset) XXX_DiscardUnknown() { - xxx_messageInfo_YoutubeVideoAsset.DiscardUnknown(m) -} - -var xxx_messageInfo_YoutubeVideoAsset proto.InternalMessageInfo - -func (m *YoutubeVideoAsset) GetYoutubeVideoId() *wrappers.StringValue { - if m != nil { - return m.YoutubeVideoId - } - return nil -} - -// A MediaBundle asset. -type MediaBundleAsset struct { - // Media bundle (ZIP file) asset data. The format of the uploaded ZIP file - // depends on the ad field where it will be used. For more information on the - // format, see the documentation of the ad field where you plan on using the - // MediaBundleAsset. This field is mutate only. - 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 *MediaBundleAsset) Reset() { *m = MediaBundleAsset{} } -func (m *MediaBundleAsset) String() string { return proto.CompactTextString(m) } -func (*MediaBundleAsset) ProtoMessage() {} -func (*MediaBundleAsset) Descriptor() ([]byte, []int) { - return fileDescriptor_9a795a4c39c332df, []int{1} -} - -func (m *MediaBundleAsset) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MediaBundleAsset.Unmarshal(m, b) -} -func (m *MediaBundleAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MediaBundleAsset.Marshal(b, m, deterministic) -} -func (m *MediaBundleAsset) XXX_Merge(src proto.Message) { - xxx_messageInfo_MediaBundleAsset.Merge(m, src) -} -func (m *MediaBundleAsset) XXX_Size() int { - return xxx_messageInfo_MediaBundleAsset.Size(m) -} -func (m *MediaBundleAsset) XXX_DiscardUnknown() { - xxx_messageInfo_MediaBundleAsset.DiscardUnknown(m) -} - -var xxx_messageInfo_MediaBundleAsset proto.InternalMessageInfo - -func (m *MediaBundleAsset) GetData() *wrappers.BytesValue { - if m != nil { - return m.Data - } - return nil -} - -// An Image asset. -type ImageAsset struct { - // The raw bytes data of an image. This field is mutate only. - Data *wrappers.BytesValue `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - // File size of the image asset in bytes. - FileSize *wrappers.Int64Value `protobuf:"bytes,2,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"` - // MIME type of the image asset. - MimeType enums.MimeTypeEnum_MimeType `protobuf:"varint,3,opt,name=mime_type,json=mimeType,proto3,enum=google.ads.googleads.v2.enums.MimeTypeEnum_MimeType" json:"mime_type,omitempty"` - // Metadata for this image at its original size. - FullSize *ImageDimension `protobuf:"bytes,4,opt,name=full_size,json=fullSize,proto3" json:"full_size,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ImageAsset) Reset() { *m = ImageAsset{} } -func (m *ImageAsset) String() string { return proto.CompactTextString(m) } -func (*ImageAsset) ProtoMessage() {} -func (*ImageAsset) Descriptor() ([]byte, []int) { - return fileDescriptor_9a795a4c39c332df, []int{2} -} - -func (m *ImageAsset) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageAsset.Unmarshal(m, b) -} -func (m *ImageAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageAsset.Marshal(b, m, deterministic) -} -func (m *ImageAsset) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageAsset.Merge(m, src) -} -func (m *ImageAsset) XXX_Size() int { - return xxx_messageInfo_ImageAsset.Size(m) -} -func (m *ImageAsset) XXX_DiscardUnknown() { - xxx_messageInfo_ImageAsset.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageAsset proto.InternalMessageInfo - -func (m *ImageAsset) GetData() *wrappers.BytesValue { - if m != nil { - return m.Data - } - return nil -} - -func (m *ImageAsset) GetFileSize() *wrappers.Int64Value { - if m != nil { - return m.FileSize - } - return nil -} - -func (m *ImageAsset) GetMimeType() enums.MimeTypeEnum_MimeType { - if m != nil { - return m.MimeType - } - return enums.MimeTypeEnum_UNSPECIFIED -} - -func (m *ImageAsset) GetFullSize() *ImageDimension { - if m != nil { - return m.FullSize - } - return nil -} - -// Metadata for an image at a certain size, either original or resized. -type ImageDimension struct { - // Height of the image. - HeightPixels *wrappers.Int64Value `protobuf:"bytes,1,opt,name=height_pixels,json=heightPixels,proto3" json:"height_pixels,omitempty"` - // Width of the image. - WidthPixels *wrappers.Int64Value `protobuf:"bytes,2,opt,name=width_pixels,json=widthPixels,proto3" json:"width_pixels,omitempty"` - // A URL that returns the image with this height and width. - Url *wrappers.StringValue `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ImageDimension) Reset() { *m = ImageDimension{} } -func (m *ImageDimension) String() string { return proto.CompactTextString(m) } -func (*ImageDimension) ProtoMessage() {} -func (*ImageDimension) Descriptor() ([]byte, []int) { - return fileDescriptor_9a795a4c39c332df, []int{3} -} - -func (m *ImageDimension) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageDimension.Unmarshal(m, b) -} -func (m *ImageDimension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageDimension.Marshal(b, m, deterministic) -} -func (m *ImageDimension) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageDimension.Merge(m, src) -} -func (m *ImageDimension) XXX_Size() int { - return xxx_messageInfo_ImageDimension.Size(m) -} -func (m *ImageDimension) XXX_DiscardUnknown() { - xxx_messageInfo_ImageDimension.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageDimension proto.InternalMessageInfo - -func (m *ImageDimension) GetHeightPixels() *wrappers.Int64Value { - if m != nil { - return m.HeightPixels - } - return nil -} - -func (m *ImageDimension) GetWidthPixels() *wrappers.Int64Value { - if m != nil { - return m.WidthPixels - } - return nil -} - -func (m *ImageDimension) GetUrl() *wrappers.StringValue { - if m != nil { - return m.Url - } - return nil -} - -// A Text asset. -type TextAsset struct { - // Text content of the text asset. - Text *wrappers.StringValue `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TextAsset) Reset() { *m = TextAsset{} } -func (m *TextAsset) String() string { return proto.CompactTextString(m) } -func (*TextAsset) ProtoMessage() {} -func (*TextAsset) Descriptor() ([]byte, []int) { - return fileDescriptor_9a795a4c39c332df, []int{4} -} - -func (m *TextAsset) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextAsset.Unmarshal(m, b) -} -func (m *TextAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextAsset.Marshal(b, m, deterministic) -} -func (m *TextAsset) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextAsset.Merge(m, src) -} -func (m *TextAsset) XXX_Size() int { - return xxx_messageInfo_TextAsset.Size(m) -} -func (m *TextAsset) XXX_DiscardUnknown() { - xxx_messageInfo_TextAsset.DiscardUnknown(m) -} - -var xxx_messageInfo_TextAsset proto.InternalMessageInfo - -func (m *TextAsset) GetText() *wrappers.StringValue { - if m != nil { - return m.Text - } - return nil -} - -func init() { - proto.RegisterType((*YoutubeVideoAsset)(nil), "google.ads.googleads.v2.common.YoutubeVideoAsset") - proto.RegisterType((*MediaBundleAsset)(nil), "google.ads.googleads.v2.common.MediaBundleAsset") - proto.RegisterType((*ImageAsset)(nil), "google.ads.googleads.v2.common.ImageAsset") - proto.RegisterType((*ImageDimension)(nil), "google.ads.googleads.v2.common.ImageDimension") - proto.RegisterType((*TextAsset)(nil), "google.ads.googleads.v2.common.TextAsset") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/common/asset_types.proto", fileDescriptor_9a795a4c39c332df) -} - -var fileDescriptor_9a795a4c39c332df = []byte{ - // 537 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x93, 0x41, 0x6b, 0xdb, 0x30, - 0x14, 0xc7, 0x71, 0x1a, 0x46, 0xa2, 0x76, 0x59, 0xe7, 0x53, 0xc8, 0x4a, 0x29, 0x3e, 0xf5, 0x32, - 0xb9, 0x78, 0x65, 0x0c, 0x8f, 0x8d, 0x39, 0xed, 0x56, 0xc2, 0x28, 0x64, 0x69, 0x09, 0x6c, 0x0b, - 0x04, 0xa5, 0x7a, 0x71, 0x04, 0x96, 0x64, 0x2c, 0x39, 0x4d, 0xfa, 0x45, 0x76, 0xdf, 0x71, 0x1f, - 0x63, 0xc7, 0x7d, 0x94, 0x7e, 0x8a, 0x21, 0xc9, 0x09, 0x1d, 0x23, 0x6b, 0xd9, 0xc9, 0xcf, 0xd2, - 0xff, 0xff, 0xd3, 0xd3, 0x7b, 0x4f, 0xe8, 0x28, 0x95, 0x32, 0xcd, 0x20, 0x24, 0x54, 0x85, 0x2e, - 0x34, 0xd1, 0x3c, 0x0a, 0xaf, 0x24, 0xe7, 0x52, 0x84, 0x44, 0x29, 0xd0, 0x63, 0xbd, 0xcc, 0x41, - 0xe1, 0xbc, 0x90, 0x5a, 0xfa, 0xfb, 0x4e, 0x86, 0x09, 0x55, 0x78, 0xed, 0xc0, 0xf3, 0x08, 0x3b, - 0x47, 0xe7, 0xf9, 0x26, 0x22, 0x88, 0x92, 0xab, 0x90, 0x33, 0x0e, 0x96, 0xe7, 0x70, 0x9d, 0x0a, - 0x17, 0xda, 0xbf, 0x49, 0x39, 0x0d, 0xaf, 0x0b, 0x92, 0xe7, 0x50, 0x54, 0xc7, 0x75, 0xf6, 0x56, - 0xb8, 0x9c, 0x85, 0x44, 0x08, 0xa9,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 0x51, 0x11, 0x74, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/bidding.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/bidding.pb.go deleted file mode 100644 index 66071c58..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/bidding.pb.go +++ /dev/null @@ -1,898 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/common/bidding.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Commission is an automatic bidding strategy in which the advertiser pays a -// certain portion of the conversion value. -type Commission struct { - // Commission rate defines the portion of the conversion value that the - // advertiser will be billed. A commission rate of x should be passed into - // this field as (x * 1,000,000). For example, 106,000 represents a commission - // rate of 0.106 (10.6%). - CommissionRateMicros *wrappers.Int64Value `protobuf:"bytes,1,opt,name=commission_rate_micros,json=commissionRateMicros,proto3" json:"commission_rate_micros,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Commission) Reset() { *m = Commission{} } -func (m *Commission) String() string { return proto.CompactTextString(m) } -func (*Commission) ProtoMessage() {} -func (*Commission) Descriptor() ([]byte, []int) { - return fileDescriptor_4aa9bf865024275f, []int{0} -} - -func (m *Commission) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Commission.Unmarshal(m, b) -} -func (m *Commission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Commission.Marshal(b, m, deterministic) -} -func (m *Commission) XXX_Merge(src proto.Message) { - xxx_messageInfo_Commission.Merge(m, src) -} -func (m *Commission) XXX_Size() int { - return xxx_messageInfo_Commission.Size(m) -} -func (m *Commission) XXX_DiscardUnknown() { - xxx_messageInfo_Commission.DiscardUnknown(m) -} - -var xxx_messageInfo_Commission proto.InternalMessageInfo - -func (m *Commission) GetCommissionRateMicros() *wrappers.Int64Value { - if m != nil { - return m.CommissionRateMicros - } - return nil -} - -// 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_4aa9bf865024275f, []int{1} -} - -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 (m *EnhancedCpc) XXX_Merge(src proto.Message) { - xxx_messageInfo_EnhancedCpc.Merge(m, 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_4aa9bf865024275f, []int{2} -} - -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 (m *ManualCpc) XXX_Merge(src proto.Message) { - xxx_messageInfo_ManualCpc.Merge(m, 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_4aa9bf865024275f, []int{3} -} - -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 (m *ManualCpm) XXX_Merge(src proto.Message) { - xxx_messageInfo_ManualCpm.Merge(m, 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_4aa9bf865024275f, []int{4} -} - -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 (m *ManualCpv) XXX_Merge(src proto.Message) { - xxx_messageInfo_ManualCpv.Merge(m, 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_4aa9bf865024275f, []int{5} -} - -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 (m *MaximizeConversions) XXX_Merge(src proto.Message) { - xxx_messageInfo_MaximizeConversions.Merge(m, 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_4aa9bf865024275f, []int{6} -} - -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 (m *MaximizeConversionValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_MaximizeConversionValue.Merge(m, 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. -// This strategy is deprecated. -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.v2.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_4aa9bf865024275f, []int{7} -} - -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 (m *PageOnePromoted) XXX_Merge(src proto.Message) { - xxx_messageInfo_PageOnePromoted.Merge(m, 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_4aa9bf865024275f, []int{8} -} - -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 (m *TargetCpa) XXX_Merge(src proto.Message) { - xxx_messageInfo_TargetCpa.Merge(m, 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 -} - -// Target CPM (cost per thousand impressions) is an automated bidding strategy -// that sets bids to optimize performance given the target CPM you set. -type TargetCpm struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TargetCpm) Reset() { *m = TargetCpm{} } -func (m *TargetCpm) String() string { return proto.CompactTextString(m) } -func (*TargetCpm) ProtoMessage() {} -func (*TargetCpm) Descriptor() ([]byte, []int) { - return fileDescriptor_4aa9bf865024275f, []int{9} -} - -func (m *TargetCpm) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TargetCpm.Unmarshal(m, b) -} -func (m *TargetCpm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TargetCpm.Marshal(b, m, deterministic) -} -func (m *TargetCpm) XXX_Merge(src proto.Message) { - xxx_messageInfo_TargetCpm.Merge(m, src) -} -func (m *TargetCpm) XXX_Size() int { - return xxx_messageInfo_TargetCpm.Size(m) -} -func (m *TargetCpm) XXX_DiscardUnknown() { - xxx_messageInfo_TargetCpm.DiscardUnknown(m) -} - -var xxx_messageInfo_TargetCpm proto.InternalMessageInfo - -// An automated bidding strategy that sets bids so that a certain percentage of -// search ads are shown at the top of the first page (or other targeted -// location). -// Next Id = 4 -type TargetImpressionShare struct { - // The targeted location on the search results page. - Location enums.TargetImpressionShareLocationEnum_TargetImpressionShareLocation `protobuf:"varint,1,opt,name=location,proto3,enum=google.ads.googleads.v2.enums.TargetImpressionShareLocationEnum_TargetImpressionShareLocation" json:"location,omitempty"` - // The desired fraction of ads to be shown in the targeted location in micros. - // E.g. 1% equals 10,000. - LocationFractionMicros *wrappers.Int64Value `protobuf:"bytes,2,opt,name=location_fraction_micros,json=locationFractionMicros,proto3" json:"location_fraction_micros,omitempty"` - // The highest CPC bid the automated bidding system is permitted to specify. - // This is a required field entered by the advertiser that sets the ceiling - // and specified in local micros. - CpcBidCeilingMicros *wrappers.Int64Value `protobuf:"bytes,3,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 *TargetImpressionShare) Reset() { *m = TargetImpressionShare{} } -func (m *TargetImpressionShare) String() string { return proto.CompactTextString(m) } -func (*TargetImpressionShare) ProtoMessage() {} -func (*TargetImpressionShare) Descriptor() ([]byte, []int) { - return fileDescriptor_4aa9bf865024275f, []int{10} -} - -func (m *TargetImpressionShare) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TargetImpressionShare.Unmarshal(m, b) -} -func (m *TargetImpressionShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TargetImpressionShare.Marshal(b, m, deterministic) -} -func (m *TargetImpressionShare) XXX_Merge(src proto.Message) { - xxx_messageInfo_TargetImpressionShare.Merge(m, src) -} -func (m *TargetImpressionShare) XXX_Size() int { - return xxx_messageInfo_TargetImpressionShare.Size(m) -} -func (m *TargetImpressionShare) XXX_DiscardUnknown() { - xxx_messageInfo_TargetImpressionShare.DiscardUnknown(m) -} - -var xxx_messageInfo_TargetImpressionShare proto.InternalMessageInfo - -func (m *TargetImpressionShare) GetLocation() enums.TargetImpressionShareLocationEnum_TargetImpressionShareLocation { - if m != nil { - return m.Location - } - return enums.TargetImpressionShareLocationEnum_UNSPECIFIED -} - -func (m *TargetImpressionShare) GetLocationFractionMicros() *wrappers.Int64Value { - if m != nil { - return m.LocationFractionMicros - } - return nil -} - -func (m *TargetImpressionShare) GetCpcBidCeilingMicros() *wrappers.Int64Value { - if m != nil { - return m.CpcBidCeilingMicros - } - return nil -} - -// An automated bidding strategy that sets bids based on the target fraction of -// auctions where the advertiser should outrank a specific competitor. -// This strategy is deprecated. -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_4aa9bf865024275f, []int{11} -} - -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 (m *TargetOutrankShare) XXX_Merge(src proto.Message) { - xxx_messageInfo_TargetOutrankShare.Merge(m, 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_4aa9bf865024275f, []int{12} -} - -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 (m *TargetRoas) XXX_Merge(src proto.Message) { - xxx_messageInfo_TargetRoas.Merge(m, 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_4aa9bf865024275f, []int{13} -} - -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 (m *TargetSpend) XXX_Merge(src proto.Message) { - xxx_messageInfo_TargetSpend.Merge(m, 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_4aa9bf865024275f, []int{14} -} - -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 (m *PercentCpc) XXX_Merge(src proto.Message) { - xxx_messageInfo_PercentCpc.Merge(m, 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((*Commission)(nil), "google.ads.googleads.v2.common.Commission") - proto.RegisterType((*EnhancedCpc)(nil), "google.ads.googleads.v2.common.EnhancedCpc") - proto.RegisterType((*ManualCpc)(nil), "google.ads.googleads.v2.common.ManualCpc") - proto.RegisterType((*ManualCpm)(nil), "google.ads.googleads.v2.common.ManualCpm") - proto.RegisterType((*ManualCpv)(nil), "google.ads.googleads.v2.common.ManualCpv") - proto.RegisterType((*MaximizeConversions)(nil), "google.ads.googleads.v2.common.MaximizeConversions") - proto.RegisterType((*MaximizeConversionValue)(nil), "google.ads.googleads.v2.common.MaximizeConversionValue") - proto.RegisterType((*PageOnePromoted)(nil), "google.ads.googleads.v2.common.PageOnePromoted") - proto.RegisterType((*TargetCpa)(nil), "google.ads.googleads.v2.common.TargetCpa") - proto.RegisterType((*TargetCpm)(nil), "google.ads.googleads.v2.common.TargetCpm") - proto.RegisterType((*TargetImpressionShare)(nil), "google.ads.googleads.v2.common.TargetImpressionShare") - proto.RegisterType((*TargetOutrankShare)(nil), "google.ads.googleads.v2.common.TargetOutrankShare") - proto.RegisterType((*TargetRoas)(nil), "google.ads.googleads.v2.common.TargetRoas") - proto.RegisterType((*TargetSpend)(nil), "google.ads.googleads.v2.common.TargetSpend") - proto.RegisterType((*PercentCpc)(nil), "google.ads.googleads.v2.common.PercentCpc") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/common/bidding.proto", fileDescriptor_4aa9bf865024275f) -} - -var fileDescriptor_4aa9bf865024275f = []byte{ - // 951 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x96, 0x51, 0x6f, 0x1b, 0x45, - 0x10, 0x80, 0x65, 0xa7, 0xad, 0xe8, 0x3a, 0xa5, 0xe4, 0x92, 0x06, 0x2b, 0xad, 0xaa, 0xea, 0x24, - 0x04, 0x0f, 0xe8, 0x4e, 0x72, 0x11, 0x0f, 0x46, 0x08, 0xd9, 0x97, 0x34, 0xb2, 0x48, 0x54, 0xd7, - 0x2e, 0x01, 0xa2, 0x88, 0xd5, 0x7a, 0x77, 0x73, 0x59, 0xf5, 0x6e, 0xe7, 0xd8, 0xdd, 0x4b, 0x48, - 0x5f, 0xf8, 0x2f, 0x3c, 0x22, 0x7e, 0x02, 0xef, 0x48, 0x88, 0xff, 0x81, 0x04, 0xaf, 0xfc, 0x00, - 0x74, 0xbb, 0x7b, 0x76, 0x8b, 0x93, 0xb8, 0x09, 0x41, 0xe2, 0xc9, 0xbb, 0xde, 0x99, 0x6f, 0x66, - 0x67, 0x66, 0xe7, 0x06, 0x7d, 0x98, 0x02, 0xa4, 0x19, 0x8f, 0x09, 0xd3, 0xb1, 0x5b, 0x56, 0xab, - 0xe3, 0x4e, 0x4c, 0x21, 0xcf, 0x41, 0xc6, 0x13, 0xc1, 0x98, 0x90, 0x69, 0x54, 0x28, 0x30, 0x10, - 0x3c, 0x74, 0x22, 0x11, 0x61, 0x3a, 0x9a, 0x4a, 0x47, 0xc7, 0x9d, 0xc8, 0x49, 0x6f, 0x24, 0xe7, - 0xd1, 0xb8, 0x2c, 0x73, 0x1d, 0x17, 0x24, 0xe5, 0x18, 0x24, 0xc7, 0x85, 0x82, 0x1c, 0x0c, 0x67, - 0x58, 0x1b, 0x45, 0x0c, 0x4f, 0x4f, 0x71, 0x0a, 0x24, 0x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af, 0xb5, 0xc0, 0x41, 0x8f, 0xe9, 0x83, 0xa9, 0xc0, 0xc1, 0x5e, 0xe7, 0xc0, 0x09, - 0xfc, 0xd1, 0x0c, 0xdd, 0xbf, 0xdd, 0x6e, 0x8f, 0xe9, 0x6e, 0x77, 0x2a, 0xd2, 0xed, 0xee, 0x75, - 0xba, 0x5d, 0x27, 0x34, 0xb9, 0x65, 0xbd, 0x7b, 0xfc, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x89, - 0x97, 0x6e, 0x16, 0x07, 0x0c, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/click_location.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/click_location.pb.go deleted file mode 100644 index 778e7d61..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/click_location.pb.go +++ /dev/null @@ -1,135 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/common/click_location.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Location criteria associated with a click. -type ClickLocation struct { - // The city location criterion associated with the impression. - City *wrappers.StringValue `protobuf:"bytes,1,opt,name=city,proto3" json:"city,omitempty"` - // The country location criterion associated with the impression. - Country *wrappers.StringValue `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"` - // The metro location criterion associated with the impression. - Metro *wrappers.StringValue `protobuf:"bytes,3,opt,name=metro,proto3" json:"metro,omitempty"` - // The most specific location criterion associated with the impression. - MostSpecific *wrappers.StringValue `protobuf:"bytes,4,opt,name=most_specific,json=mostSpecific,proto3" json:"most_specific,omitempty"` - // The region location criterion associated with the impression. - Region *wrappers.StringValue `protobuf:"bytes,5,opt,name=region,proto3" json:"region,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ClickLocation) Reset() { *m = ClickLocation{} } -func (m *ClickLocation) String() string { return proto.CompactTextString(m) } -func (*ClickLocation) ProtoMessage() {} -func (*ClickLocation) Descriptor() ([]byte, []int) { - return fileDescriptor_a1caa69f1bff59a2, []int{0} -} - -func (m *ClickLocation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClickLocation.Unmarshal(m, b) -} -func (m *ClickLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClickLocation.Marshal(b, m, deterministic) -} -func (m *ClickLocation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClickLocation.Merge(m, src) -} -func (m *ClickLocation) XXX_Size() int { - return xxx_messageInfo_ClickLocation.Size(m) -} -func (m *ClickLocation) XXX_DiscardUnknown() { - xxx_messageInfo_ClickLocation.DiscardUnknown(m) -} - -var xxx_messageInfo_ClickLocation proto.InternalMessageInfo - -func (m *ClickLocation) GetCity() *wrappers.StringValue { - if m != nil { - return m.City - } - return nil -} - -func (m *ClickLocation) GetCountry() *wrappers.StringValue { - if m != nil { - return m.Country - } - return nil -} - -func (m *ClickLocation) GetMetro() *wrappers.StringValue { - if m != nil { - return m.Metro - } - return nil -} - -func (m *ClickLocation) GetMostSpecific() *wrappers.StringValue { - if m != nil { - return m.MostSpecific - } - return nil -} - -func (m *ClickLocation) GetRegion() *wrappers.StringValue { - if m != nil { - return m.Region - } - return nil -} - -func init() { - proto.RegisterType((*ClickLocation)(nil), "google.ads.googleads.v2.common.ClickLocation") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/common/click_location.proto", fileDescriptor_a1caa69f1bff59a2) -} - -var fileDescriptor_a1caa69f1bff59a2 = []byte{ - // 352 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xbd, 0x6a, 0xf3, 0x30, - 0x14, 0x86, 0xb1, 0xf3, 0xf3, 0x81, 0xbe, 0x66, 0xf1, 0x64, 0x42, 0x08, 0x25, 0x53, 0x27, 0xa9, - 0x38, 0xa5, 0x83, 0x3a, 0x39, 0x29, 0x64, 0xe9, 0x10, 0x1a, 0xf0, 0x50, 0x0c, 0xc1, 0x91, 0x1d, - 0x21, 0x6a, 0xeb, 0x18, 0x49, 0x49, 0xc9, 0xed, 0x74, 0xe8, 0xd0, 0x4b, 0xe9, 0xa5, 0x14, 0x7a, - 0x0f, 0xc5, 0x96, 0x1d, 0xe8, 0xd0, 0xe2, 0xc9, 0x07, 0xeb, 0x79, 0xde, 0xd7, 0x58, 0x07, 0xcd, - 0x39, 0x00, 0xcf, 0x33, 0x92, 0xa4, 0x9a, 0xd8, 0xb1, 0x9a, 0x8e, 0x01, 0x61, 0x50, 0x14, 0x20, - 0x09, 0xcb, 0x05, 0x7b, 0xde, 0xe6, 0xc0, 0x12, 0x23, 0x40, 0xe2, 0x52, 0x81, 0x01, 0x6f, 0x6a, - 0x49, 0x9c, 0xa4, 0x1a, 0x9f, 0x25, 0x7c, 0x0c, 0xb0, 0x95, 0xc6, 0xcd, 0x39, 0xa9, 0xe9, 0xdd, - 0x61, 0x4f, 0x5e, 0x54, 0x52, 0x96, 0x99, 0xd2, 0xd6, 0x1f, 0x4f, 0xda, 0xd2, 0x52, 0x90, 0x44, - 0x4a, 0x30, 0x75, 0x78, 0x73, 0x3a, 0x7b, 0x73, 0xd1, 0x68, 0x59, 0xd5, 0x3e, 0x34, 0xad, 0xde, - 0x35, 0xea, 0x33, 0x61, 0x4e, 0xbe, 0x73, 0xe9, 0x5c, 0xfd, 0x0f, 0x26, 0x4d, 0x27, 0x6e, 0xe3, - 0xf1, 0xc6, 0x28, 0x21, 0x79, 0x94, 0xe4, 0x87, 0xec, 0xb1, 0x26, 0xbd, 0x5b, 0xf4, 0x8f, 0xc1, - 0x41, 0x1a, 0x75, 0xf2, 0xdd, 0x0e, 0x52, 0x0b, 0x7b, 0x01, 0x1a, 0x14, 0x99, 0x51, 0xe0, 0xf7, - 0x3a, 0x58, 0x16, 0xf5, 0x42, 0x34, 0x2a, 0x40, 0x9b, 0xad, 0x2e, 0x33, 0x26, 0xf6, 0x82, 0xf9, - 0xfd, 0x0e, 0xee, 0x45, 0xa5, 0x6c, 0x1a, 0xc3, 0xbb, 0x41, 0x43, 0x95, 0x71, 0x01, 0xd2, 0x1f, - 0x74, 0x70, 0x1b, 0x76, 0xf1, 0xe5, 0xa0, 0x19, 0x83, 0x02, 0xff, 0x7d, 0x1b, 0x0b, 0xef, 0xc7, - 0xcf, 0x5c, 0x57, 0x89, 0x6b, 0xe7, 0xe9, 0xbe, 0xb1, 0x38, 0xe4, 0x89, 0xe4, 0x18, 0x14, 0x27, - 0x3c, 0x93, 0x75, 0x5f, 0xbb, 0x08, 0xa5, 0xd0, 0xbf, 0xed, 0xc5, 0x9d, 0x7d, 0xbc, 0xba, 0xbd, - 0x55, 0x18, 0xbe, 0xbb, 0xd3, 0x95, 0x0d, 0x0b, 0x53, 0x8d, 0xed, 0x58, 0x4d, 0x51, 0x80, 0x97, - 0x35, 0xf6, 0xd1, 0x02, 0x71, 0x98, 0xea, 0xf8, 0x0c, 0xc4, 0x51, 0x10, 0x5b, 0xe0, 0xd3, 0x9d, - 0xd9, 0xb7, 0x94, 0x86, 0xa9, 0xa6, 0xf4, 0x8c, 0x50, 0x1a, 0x05, 0x94, 0x5a, 0x68, 0x37, 0xac, - 0xbf, 0x6e, 0xfe, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x82, 0xc5, 0x77, 0x80, 0xb4, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/criteria.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/criteria.pb.go deleted file mode 100644 index 2dce67e0..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/criteria.pb.go +++ /dev/null @@ -1,3050 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/common/criteria.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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.v2.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_ad99e1dce1bd258a, []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 (m *KeywordInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordInfo.Merge(m, 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_ad99e1dce1bd258a, []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 (m *PlacementInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_PlacementInfo.Merge(m, 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 mobile app category criterion. -type MobileAppCategoryInfo struct { - // The mobile app category constant resource name. - MobileAppCategoryConstant *wrappers.StringValue `protobuf:"bytes,1,opt,name=mobile_app_category_constant,json=mobileAppCategoryConstant,proto3" json:"mobile_app_category_constant,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MobileAppCategoryInfo) Reset() { *m = MobileAppCategoryInfo{} } -func (m *MobileAppCategoryInfo) String() string { return proto.CompactTextString(m) } -func (*MobileAppCategoryInfo) ProtoMessage() {} -func (*MobileAppCategoryInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_ad99e1dce1bd258a, []int{2} -} - -func (m *MobileAppCategoryInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MobileAppCategoryInfo.Unmarshal(m, b) -} -func (m *MobileAppCategoryInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MobileAppCategoryInfo.Marshal(b, m, deterministic) -} -func (m *MobileAppCategoryInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_MobileAppCategoryInfo.Merge(m, src) -} -func (m *MobileAppCategoryInfo) XXX_Size() int { - return xxx_messageInfo_MobileAppCategoryInfo.Size(m) -} -func (m *MobileAppCategoryInfo) XXX_DiscardUnknown() { - xxx_messageInfo_MobileAppCategoryInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_MobileAppCategoryInfo proto.InternalMessageInfo - -func (m *MobileAppCategoryInfo) GetMobileAppCategoryConstant() *wrappers.StringValue { - if m != nil { - return m.MobileAppCategoryConstant - } - return nil -} - -// A mobile application criterion. -type MobileApplicationInfo struct { - // A string that uniquely identifies a mobile application to Google Ads API. - // The format of this string is "{platform}-{platform_native_id}", where - // platform is "1" for iOS apps and "2" for Android apps, and where - // platform_native_id is the mobile application identifier native to the - // corresponding platform. - // For iOS, this native identifier 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, this native identifier 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). - // A well formed app id for Google Ads API would thus be "1-476943146" for iOS - // and "2-com.labpixies.colordrips" for Android. - // This field is required and must be set in CREATE operations. - AppId *wrappers.StringValue `protobuf:"bytes,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` - // Name of this mobile application. - Name *wrappers.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MobileApplicationInfo) Reset() { *m = MobileApplicationInfo{} } -func (m *MobileApplicationInfo) String() string { return proto.CompactTextString(m) } -func (*MobileApplicationInfo) ProtoMessage() {} -func (*MobileApplicationInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_ad99e1dce1bd258a, []int{3} -} - -func (m *MobileApplicationInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MobileApplicationInfo.Unmarshal(m, b) -} -func (m *MobileApplicationInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MobileApplicationInfo.Marshal(b, m, deterministic) -} -func (m *MobileApplicationInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_MobileApplicationInfo.Merge(m, src) -} -func (m *MobileApplicationInfo) XXX_Size() int { - return xxx_messageInfo_MobileApplicationInfo.Size(m) -} -func (m *MobileApplicationInfo) XXX_DiscardUnknown() { - xxx_messageInfo_MobileApplicationInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_MobileApplicationInfo proto.InternalMessageInfo - -func (m *MobileApplicationInfo) GetAppId() *wrappers.StringValue { - if m != nil { - return m.AppId - } - return nil -} - -func (m *MobileApplicationInfo) GetName() *wrappers.StringValue { - if m != nil { - return m.Name - } - 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_ad99e1dce1bd258a, []int{4} -} - -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 (m *LocationInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocationInfo.Merge(m, 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.v2.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_ad99e1dce1bd258a, []int{5} -} - -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 (m *DeviceInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeviceInfo.Merge(m, 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.v2.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_ad99e1dce1bd258a, []int{6} -} - -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 (m *PreferredContentInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_PreferredContentInfo.Merge(m, 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.v2.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_ad99e1dce1bd258a, []int{7} -} - -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 (m *ListingGroupInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListingGroupInfo.Merge(m, 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_ad99e1dce1bd258a, []int{8} -} - -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 (m *ListingScopeInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListingScopeInfo.Merge(m, 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_ProductBiddingCategory - // *ListingDimensionInfo_ProductChannel - // *ListingDimensionInfo_ProductChannelExclusivity - // *ListingDimensionInfo_ProductCondition - // *ListingDimensionInfo_ProductItemId - // *ListingDimensionInfo_ProductType - // *ListingDimensionInfo_UnknownListingDimension - 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_ad99e1dce1bd258a, []int{9} -} - -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 (m *ListingDimensionInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListingDimensionInfo.Merge(m, 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_ProductBiddingCategory struct { - ProductBiddingCategory *ProductBiddingCategoryInfo `protobuf:"bytes,13,opt,name=product_bidding_category,json=productBiddingCategory,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_ProductItemId struct { - ProductItemId *ProductItemIdInfo `protobuf:"bytes,11,opt,name=product_item_id,json=productItemId,proto3,oneof"` -} - -type ListingDimensionInfo_ProductType struct { - ProductType *ProductTypeInfo `protobuf:"bytes,12,opt,name=product_type,json=productType,proto3,oneof"` -} - -type ListingDimensionInfo_UnknownListingDimension struct { - UnknownListingDimension *UnknownListingDimensionInfo `protobuf:"bytes,14,opt,name=unknown_listing_dimension,json=unknownListingDimension,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_ProductBiddingCategory) isListingDimensionInfo_Dimension() {} - -func (*ListingDimensionInfo_ProductChannel) isListingDimensionInfo_Dimension() {} - -func (*ListingDimensionInfo_ProductChannelExclusivity) isListingDimensionInfo_Dimension() {} - -func (*ListingDimensionInfo_ProductCondition) isListingDimensionInfo_Dimension() {} - -func (*ListingDimensionInfo_ProductItemId) isListingDimensionInfo_Dimension() {} - -func (*ListingDimensionInfo_ProductType) isListingDimensionInfo_Dimension() {} - -func (*ListingDimensionInfo_UnknownListingDimension) 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) GetProductBiddingCategory() *ProductBiddingCategoryInfo { - if x, ok := m.GetDimension().(*ListingDimensionInfo_ProductBiddingCategory); ok { - return x.ProductBiddingCategory - } - 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) GetProductItemId() *ProductItemIdInfo { - if x, ok := m.GetDimension().(*ListingDimensionInfo_ProductItemId); ok { - return x.ProductItemId - } - return nil -} - -func (m *ListingDimensionInfo) GetProductType() *ProductTypeInfo { - if x, ok := m.GetDimension().(*ListingDimensionInfo_ProductType); ok { - return x.ProductType - } - return nil -} - -func (m *ListingDimensionInfo) GetUnknownListingDimension() *UnknownListingDimensionInfo { - if x, ok := m.GetDimension().(*ListingDimensionInfo_UnknownListingDimension); ok { - return x.UnknownListingDimension - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ListingDimensionInfo) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ListingDimensionInfo_ListingBrand)(nil), - (*ListingDimensionInfo_HotelId)(nil), - (*ListingDimensionInfo_HotelClass)(nil), - (*ListingDimensionInfo_HotelCountryRegion)(nil), - (*ListingDimensionInfo_HotelState)(nil), - (*ListingDimensionInfo_HotelCity)(nil), - (*ListingDimensionInfo_ListingCustomAttribute)(nil), - (*ListingDimensionInfo_ProductBiddingCategory)(nil), - (*ListingDimensionInfo_ProductChannel)(nil), - (*ListingDimensionInfo_ProductChannelExclusivity)(nil), - (*ListingDimensionInfo_ProductCondition)(nil), - (*ListingDimensionInfo_ProductItemId)(nil), - (*ListingDimensionInfo_ProductType)(nil), - (*ListingDimensionInfo_UnknownListingDimension)(nil), - } -} - -// 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_ad99e1dce1bd258a, []int{10} -} - -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 (m *ListingBrandInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListingBrandInfo.Merge(m, 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_ad99e1dce1bd258a, []int{11} -} - -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 (m *HotelIdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_HotelIdInfo.Merge(m, 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_ad99e1dce1bd258a, []int{12} -} - -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 (m *HotelClassInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_HotelClassInfo.Merge(m, 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_ad99e1dce1bd258a, []int{13} -} - -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 (m *HotelCountryRegionInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_HotelCountryRegionInfo.Merge(m, 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_ad99e1dce1bd258a, []int{14} -} - -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 (m *HotelStateInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_HotelStateInfo.Merge(m, 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_ad99e1dce1bd258a, []int{15} -} - -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 (m *HotelCityInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_HotelCityInfo.Merge(m, 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.v2.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_ad99e1dce1bd258a, []int{16} -} - -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 (m *ListingCustomAttributeInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListingCustomAttributeInfo.Merge(m, 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 -} - -// Bidding category of a product offer. -type ProductBiddingCategoryInfo struct { - // ID of the product bidding category. - // - // This ID is equivalent to the google_product_category ID as described in - // this article: https://support.google.com/merchants/answer/6324436. - Id *wrappers.Int64Value `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // Two-letter upper-case country code of the product bidding category. It must - // match the campaign.shopping_setting.sales_country field. - CountryCode *wrappers.StringValue `protobuf:"bytes,2,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` - // Level of the product bidding category. - Level enums.ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel `protobuf:"varint,3,opt,name=level,proto3,enum=google.ads.googleads.v2.enums.ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel" json:"level,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ProductBiddingCategoryInfo) Reset() { *m = ProductBiddingCategoryInfo{} } -func (m *ProductBiddingCategoryInfo) String() string { return proto.CompactTextString(m) } -func (*ProductBiddingCategoryInfo) ProtoMessage() {} -func (*ProductBiddingCategoryInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_ad99e1dce1bd258a, []int{17} -} - -func (m *ProductBiddingCategoryInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProductBiddingCategoryInfo.Unmarshal(m, b) -} -func (m *ProductBiddingCategoryInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProductBiddingCategoryInfo.Marshal(b, m, deterministic) -} -func (m *ProductBiddingCategoryInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductBiddingCategoryInfo.Merge(m, src) -} -func (m *ProductBiddingCategoryInfo) XXX_Size() int { - return xxx_messageInfo_ProductBiddingCategoryInfo.Size(m) -} -func (m *ProductBiddingCategoryInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ProductBiddingCategoryInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_ProductBiddingCategoryInfo proto.InternalMessageInfo - -func (m *ProductBiddingCategoryInfo) GetId() *wrappers.Int64Value { - if m != nil { - return m.Id - } - return nil -} - -func (m *ProductBiddingCategoryInfo) GetCountryCode() *wrappers.StringValue { - if m != nil { - return m.CountryCode - } - return nil -} - -func (m *ProductBiddingCategoryInfo) GetLevel() enums.ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel { - if m != nil { - return m.Level - } - return enums.ProductBiddingCategoryLevelEnum_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.v2.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_ad99e1dce1bd258a, []int{18} -} - -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 (m *ProductChannelInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductChannelInfo.Merge(m, 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.v2.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_ad99e1dce1bd258a, []int{19} -} - -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 (m *ProductChannelExclusivityInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductChannelExclusivityInfo.Merge(m, 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.v2.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_ad99e1dce1bd258a, []int{20} -} - -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 (m *ProductConditionInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductConditionInfo.Merge(m, 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 -} - -// Item id of a product offer. -type ProductItemIdInfo 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 *ProductItemIdInfo) Reset() { *m = ProductItemIdInfo{} } -func (m *ProductItemIdInfo) String() string { return proto.CompactTextString(m) } -func (*ProductItemIdInfo) ProtoMessage() {} -func (*ProductItemIdInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_ad99e1dce1bd258a, []int{21} -} - -func (m *ProductItemIdInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProductItemIdInfo.Unmarshal(m, b) -} -func (m *ProductItemIdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProductItemIdInfo.Marshal(b, m, deterministic) -} -func (m *ProductItemIdInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductItemIdInfo.Merge(m, src) -} -func (m *ProductItemIdInfo) XXX_Size() int { - return xxx_messageInfo_ProductItemIdInfo.Size(m) -} -func (m *ProductItemIdInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ProductItemIdInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_ProductItemIdInfo proto.InternalMessageInfo - -func (m *ProductItemIdInfo) 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.v2.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_ad99e1dce1bd258a, []int{22} -} - -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 (m *ProductTypeInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductTypeInfo.Merge(m, 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 -} - -// Unknown listing dimension. -type UnknownListingDimensionInfo struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UnknownListingDimensionInfo) Reset() { *m = UnknownListingDimensionInfo{} } -func (m *UnknownListingDimensionInfo) String() string { return proto.CompactTextString(m) } -func (*UnknownListingDimensionInfo) ProtoMessage() {} -func (*UnknownListingDimensionInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_ad99e1dce1bd258a, []int{23} -} - -func (m *UnknownListingDimensionInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UnknownListingDimensionInfo.Unmarshal(m, b) -} -func (m *UnknownListingDimensionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UnknownListingDimensionInfo.Marshal(b, m, deterministic) -} -func (m *UnknownListingDimensionInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_UnknownListingDimensionInfo.Merge(m, src) -} -func (m *UnknownListingDimensionInfo) XXX_Size() int { - return xxx_messageInfo_UnknownListingDimensionInfo.Size(m) -} -func (m *UnknownListingDimensionInfo) XXX_DiscardUnknown() { - xxx_messageInfo_UnknownListingDimensionInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_UnknownListingDimensionInfo proto.InternalMessageInfo - -// 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.v2.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_ad99e1dce1bd258a, []int{24} -} - -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 (m *HotelDateSelectionTypeInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_HotelDateSelectionTypeInfo.Merge(m, 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_ad99e1dce1bd258a, []int{25} -} - -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 (m *HotelAdvanceBookingWindowInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_HotelAdvanceBookingWindowInfo.Merge(m, 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_ad99e1dce1bd258a, []int{26} -} - -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 (m *HotelLengthOfStayInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_HotelLengthOfStayInfo.Merge(m, 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.v2.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_ad99e1dce1bd258a, []int{27} -} - -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 (m *HotelCheckInDayInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_HotelCheckInDayInfo.Merge(m, 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.v2.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_ad99e1dce1bd258a, []int{28} -} - -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 (m *InteractionTypeInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_InteractionTypeInfo.Merge(m, 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.v2.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.v2.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.v2.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_ad99e1dce1bd258a, []int{29} -} - -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 (m *AdScheduleInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdScheduleInfo.Merge(m, 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.v2.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_ad99e1dce1bd258a, []int{30} -} - -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 (m *AgeRangeInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_AgeRangeInfo.Merge(m, 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.v2.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_ad99e1dce1bd258a, []int{31} -} - -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 (m *GenderInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenderInfo.Merge(m, 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.v2.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_ad99e1dce1bd258a, []int{32} -} - -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 (m *IncomeRangeInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_IncomeRangeInfo.Merge(m, 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.v2.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_ad99e1dce1bd258a, []int{33} -} - -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 (m *ParentalStatusInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ParentalStatusInfo.Merge(m, 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_ad99e1dce1bd258a, []int{34} -} - -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 (m *YouTubeVideoInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_YouTubeVideoInfo.Merge(m, 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_ad99e1dce1bd258a, []int{35} -} - -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 (m *YouTubeChannelInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_YouTubeChannelInfo.Merge(m, 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_ad99e1dce1bd258a, []int{36} -} - -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 (m *UserListInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListInfo.Merge(m, 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.v2.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_ad99e1dce1bd258a, []int{37} -} - -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 (m *ProximityInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProximityInfo.Merge(m, 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_ad99e1dce1bd258a, []int{38} -} - -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 (m *GeoPointInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_GeoPointInfo.Merge(m, 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_ad99e1dce1bd258a, []int{39} -} - -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 (m *AddressInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddressInfo.Merge(m, 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_ad99e1dce1bd258a, []int{40} -} - -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 (m *TopicInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_TopicInfo.Merge(m, 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_ad99e1dce1bd258a, []int{41} -} - -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 (m *LanguageInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_LanguageInfo.Merge(m, 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_ad99e1dce1bd258a, []int{42} -} - -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 (m *IpBlockInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_IpBlockInfo.Merge(m, 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.v2.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_ad99e1dce1bd258a, []int{43} -} - -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 (m *ContentLabelInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ContentLabelInfo.Merge(m, 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_ad99e1dce1bd258a, []int{44} -} - -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 (m *CarrierInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_CarrierInfo.Merge(m, 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_ad99e1dce1bd258a, []int{45} -} - -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 (m *UserInterestInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserInterestInfo.Merge(m, 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 -} - -// Represents a criterion for targeting webpages of an advertiser's website. -type WebpageInfo struct { - // The name of the criterion that is defined by this parameter. The name value - // will be used for identifying, sorting and filtering criteria with this type - // of parameters. - // - // This field is required for CREATE operations and is prohibited on UPDATE - // operations. - CriterionName *wrappers.StringValue `protobuf:"bytes,1,opt,name=criterion_name,json=criterionName,proto3" json:"criterion_name,omitempty"` - // Conditions, or logical expressions, for webpage targeting. The list of - // webpage targeting conditions are and-ed together when evaluated - // for targeting. - // - // This field is required for CREATE operations and is prohibited on UPDATE - // operations. - Conditions []*WebpageConditionInfo `protobuf:"bytes,2,rep,name=conditions,proto3" json:"conditions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *WebpageInfo) Reset() { *m = WebpageInfo{} } -func (m *WebpageInfo) String() string { return proto.CompactTextString(m) } -func (*WebpageInfo) ProtoMessage() {} -func (*WebpageInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_ad99e1dce1bd258a, []int{46} -} - -func (m *WebpageInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebpageInfo.Unmarshal(m, b) -} -func (m *WebpageInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebpageInfo.Marshal(b, m, deterministic) -} -func (m *WebpageInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebpageInfo.Merge(m, src) -} -func (m *WebpageInfo) XXX_Size() int { - return xxx_messageInfo_WebpageInfo.Size(m) -} -func (m *WebpageInfo) XXX_DiscardUnknown() { - xxx_messageInfo_WebpageInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_WebpageInfo proto.InternalMessageInfo - -func (m *WebpageInfo) GetCriterionName() *wrappers.StringValue { - if m != nil { - return m.CriterionName - } - return nil -} - -func (m *WebpageInfo) GetConditions() []*WebpageConditionInfo { - if m != nil { - return m.Conditions - } - return nil -} - -// Logical expression for targeting webpages of an advertiser's website. -type WebpageConditionInfo struct { - // Operand of webpage targeting condition. - Operand enums.WebpageConditionOperandEnum_WebpageConditionOperand `protobuf:"varint,1,opt,name=operand,proto3,enum=google.ads.googleads.v2.enums.WebpageConditionOperandEnum_WebpageConditionOperand" json:"operand,omitempty"` - // Operator of webpage targeting condition. - Operator enums.WebpageConditionOperatorEnum_WebpageConditionOperator `protobuf:"varint,2,opt,name=operator,proto3,enum=google.ads.googleads.v2.enums.WebpageConditionOperatorEnum_WebpageConditionOperator" json:"operator,omitempty"` - // Argument of webpage targeting condition. - Argument *wrappers.StringValue `protobuf:"bytes,3,opt,name=argument,proto3" json:"argument,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *WebpageConditionInfo) Reset() { *m = WebpageConditionInfo{} } -func (m *WebpageConditionInfo) String() string { return proto.CompactTextString(m) } -func (*WebpageConditionInfo) ProtoMessage() {} -func (*WebpageConditionInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_ad99e1dce1bd258a, []int{47} -} - -func (m *WebpageConditionInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebpageConditionInfo.Unmarshal(m, b) -} -func (m *WebpageConditionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebpageConditionInfo.Marshal(b, m, deterministic) -} -func (m *WebpageConditionInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebpageConditionInfo.Merge(m, src) -} -func (m *WebpageConditionInfo) XXX_Size() int { - return xxx_messageInfo_WebpageConditionInfo.Size(m) -} -func (m *WebpageConditionInfo) XXX_DiscardUnknown() { - xxx_messageInfo_WebpageConditionInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_WebpageConditionInfo proto.InternalMessageInfo - -func (m *WebpageConditionInfo) GetOperand() enums.WebpageConditionOperandEnum_WebpageConditionOperand { - if m != nil { - return m.Operand - } - return enums.WebpageConditionOperandEnum_UNSPECIFIED -} - -func (m *WebpageConditionInfo) GetOperator() enums.WebpageConditionOperatorEnum_WebpageConditionOperator { - if m != nil { - return m.Operator - } - return enums.WebpageConditionOperatorEnum_UNSPECIFIED -} - -func (m *WebpageConditionInfo) GetArgument() *wrappers.StringValue { - if m != nil { - return m.Argument - } - return nil -} - -// Represents an operating system version to be targeted. -type OperatingSystemVersionInfo struct { - // The operating system version constant resource name. - OperatingSystemVersionConstant *wrappers.StringValue `protobuf:"bytes,1,opt,name=operating_system_version_constant,json=operatingSystemVersionConstant,proto3" json:"operating_system_version_constant,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OperatingSystemVersionInfo) Reset() { *m = OperatingSystemVersionInfo{} } -func (m *OperatingSystemVersionInfo) String() string { return proto.CompactTextString(m) } -func (*OperatingSystemVersionInfo) ProtoMessage() {} -func (*OperatingSystemVersionInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_ad99e1dce1bd258a, []int{48} -} - -func (m *OperatingSystemVersionInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OperatingSystemVersionInfo.Unmarshal(m, b) -} -func (m *OperatingSystemVersionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OperatingSystemVersionInfo.Marshal(b, m, deterministic) -} -func (m *OperatingSystemVersionInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperatingSystemVersionInfo.Merge(m, src) -} -func (m *OperatingSystemVersionInfo) XXX_Size() int { - return xxx_messageInfo_OperatingSystemVersionInfo.Size(m) -} -func (m *OperatingSystemVersionInfo) XXX_DiscardUnknown() { - xxx_messageInfo_OperatingSystemVersionInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_OperatingSystemVersionInfo proto.InternalMessageInfo - -func (m *OperatingSystemVersionInfo) GetOperatingSystemVersionConstant() *wrappers.StringValue { - if m != nil { - return m.OperatingSystemVersionConstant - } - return nil -} - -// An app payment model criterion. -type AppPaymentModelInfo struct { - // Type of the app payment model. - Type enums.AppPaymentModelTypeEnum_AppPaymentModelType `protobuf:"varint,1,opt,name=type,proto3,enum=google.ads.googleads.v2.enums.AppPaymentModelTypeEnum_AppPaymentModelType" json:"type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AppPaymentModelInfo) Reset() { *m = AppPaymentModelInfo{} } -func (m *AppPaymentModelInfo) String() string { return proto.CompactTextString(m) } -func (*AppPaymentModelInfo) ProtoMessage() {} -func (*AppPaymentModelInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_ad99e1dce1bd258a, []int{49} -} - -func (m *AppPaymentModelInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AppPaymentModelInfo.Unmarshal(m, b) -} -func (m *AppPaymentModelInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AppPaymentModelInfo.Marshal(b, m, deterministic) -} -func (m *AppPaymentModelInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_AppPaymentModelInfo.Merge(m, src) -} -func (m *AppPaymentModelInfo) XXX_Size() int { - return xxx_messageInfo_AppPaymentModelInfo.Size(m) -} -func (m *AppPaymentModelInfo) XXX_DiscardUnknown() { - xxx_messageInfo_AppPaymentModelInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_AppPaymentModelInfo proto.InternalMessageInfo - -func (m *AppPaymentModelInfo) GetType() enums.AppPaymentModelTypeEnum_AppPaymentModelType { - if m != nil { - return m.Type - } - return enums.AppPaymentModelTypeEnum_UNSPECIFIED -} - -// A mobile device criterion. -type MobileDeviceInfo struct { - // The mobile device constant resource name. - MobileDeviceConstant *wrappers.StringValue `protobuf:"bytes,1,opt,name=mobile_device_constant,json=mobileDeviceConstant,proto3" json:"mobile_device_constant,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MobileDeviceInfo) Reset() { *m = MobileDeviceInfo{} } -func (m *MobileDeviceInfo) String() string { return proto.CompactTextString(m) } -func (*MobileDeviceInfo) ProtoMessage() {} -func (*MobileDeviceInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_ad99e1dce1bd258a, []int{50} -} - -func (m *MobileDeviceInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MobileDeviceInfo.Unmarshal(m, b) -} -func (m *MobileDeviceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MobileDeviceInfo.Marshal(b, m, deterministic) -} -func (m *MobileDeviceInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_MobileDeviceInfo.Merge(m, src) -} -func (m *MobileDeviceInfo) XXX_Size() int { - return xxx_messageInfo_MobileDeviceInfo.Size(m) -} -func (m *MobileDeviceInfo) XXX_DiscardUnknown() { - xxx_messageInfo_MobileDeviceInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_MobileDeviceInfo proto.InternalMessageInfo - -func (m *MobileDeviceInfo) GetMobileDeviceConstant() *wrappers.StringValue { - if m != nil { - return m.MobileDeviceConstant - } - return nil -} - -// A custom affinity criterion. -// A criterion of this type is only targetable. -type CustomAffinityInfo struct { - // The CustomInterest resource name. - CustomAffinity *wrappers.StringValue `protobuf:"bytes,1,opt,name=custom_affinity,json=customAffinity,proto3" json:"custom_affinity,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomAffinityInfo) Reset() { *m = CustomAffinityInfo{} } -func (m *CustomAffinityInfo) String() string { return proto.CompactTextString(m) } -func (*CustomAffinityInfo) ProtoMessage() {} -func (*CustomAffinityInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_ad99e1dce1bd258a, []int{51} -} - -func (m *CustomAffinityInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomAffinityInfo.Unmarshal(m, b) -} -func (m *CustomAffinityInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomAffinityInfo.Marshal(b, m, deterministic) -} -func (m *CustomAffinityInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomAffinityInfo.Merge(m, src) -} -func (m *CustomAffinityInfo) XXX_Size() int { - return xxx_messageInfo_CustomAffinityInfo.Size(m) -} -func (m *CustomAffinityInfo) XXX_DiscardUnknown() { - xxx_messageInfo_CustomAffinityInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomAffinityInfo proto.InternalMessageInfo - -func (m *CustomAffinityInfo) GetCustomAffinity() *wrappers.StringValue { - if m != nil { - return m.CustomAffinity - } - return nil -} - -// A custom intent criterion. -// A criterion of this type is only targetable. -type CustomIntentInfo struct { - // The CustomInterest resource name. - CustomIntent *wrappers.StringValue `protobuf:"bytes,1,opt,name=custom_intent,json=customIntent,proto3" json:"custom_intent,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomIntentInfo) Reset() { *m = CustomIntentInfo{} } -func (m *CustomIntentInfo) String() string { return proto.CompactTextString(m) } -func (*CustomIntentInfo) ProtoMessage() {} -func (*CustomIntentInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_ad99e1dce1bd258a, []int{52} -} - -func (m *CustomIntentInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomIntentInfo.Unmarshal(m, b) -} -func (m *CustomIntentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomIntentInfo.Marshal(b, m, deterministic) -} -func (m *CustomIntentInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomIntentInfo.Merge(m, src) -} -func (m *CustomIntentInfo) XXX_Size() int { - return xxx_messageInfo_CustomIntentInfo.Size(m) -} -func (m *CustomIntentInfo) XXX_DiscardUnknown() { - xxx_messageInfo_CustomIntentInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomIntentInfo proto.InternalMessageInfo - -func (m *CustomIntentInfo) GetCustomIntent() *wrappers.StringValue { - if m != nil { - return m.CustomIntent - } - return nil -} - -// A radius around a list of locations specified via a feed. -type LocationGroupInfo struct { - // Feed specifying locations for targeting. - // This is required and must be set in CREATE operations. - Feed *wrappers.StringValue `protobuf:"bytes,1,opt,name=feed,proto3" json:"feed,omitempty"` - // Geo target constant(s) restricting the scope of the geographic area within - // the feed. Currently only one geo target constant is allowed. - GeoTargetConstants []*wrappers.StringValue `protobuf:"bytes,2,rep,name=geo_target_constants,json=geoTargetConstants,proto3" json:"geo_target_constants,omitempty"` - // Distance in units specifying the radius around targeted locations. - // This is required and must be set in CREATE operations. - Radius *wrappers.Int64Value `protobuf:"bytes,3,opt,name=radius,proto3" json:"radius,omitempty"` - // Unit of the radius, miles and meters supported currently. - // This is required and must be set in CREATE operations. - RadiusUnits enums.LocationGroupRadiusUnitsEnum_LocationGroupRadiusUnits `protobuf:"varint,4,opt,name=radius_units,json=radiusUnits,proto3,enum=google.ads.googleads.v2.enums.LocationGroupRadiusUnitsEnum_LocationGroupRadiusUnits" json:"radius_units,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LocationGroupInfo) Reset() { *m = LocationGroupInfo{} } -func (m *LocationGroupInfo) String() string { return proto.CompactTextString(m) } -func (*LocationGroupInfo) ProtoMessage() {} -func (*LocationGroupInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_ad99e1dce1bd258a, []int{53} -} - -func (m *LocationGroupInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LocationGroupInfo.Unmarshal(m, b) -} -func (m *LocationGroupInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LocationGroupInfo.Marshal(b, m, deterministic) -} -func (m *LocationGroupInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocationGroupInfo.Merge(m, src) -} -func (m *LocationGroupInfo) XXX_Size() int { - return xxx_messageInfo_LocationGroupInfo.Size(m) -} -func (m *LocationGroupInfo) XXX_DiscardUnknown() { - xxx_messageInfo_LocationGroupInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_LocationGroupInfo proto.InternalMessageInfo - -func (m *LocationGroupInfo) GetFeed() *wrappers.StringValue { - if m != nil { - return m.Feed - } - return nil -} - -func (m *LocationGroupInfo) GetGeoTargetConstants() []*wrappers.StringValue { - if m != nil { - return m.GeoTargetConstants - } - return nil -} - -func (m *LocationGroupInfo) GetRadius() *wrappers.Int64Value { - if m != nil { - return m.Radius - } - return nil -} - -func (m *LocationGroupInfo) GetRadiusUnits() enums.LocationGroupRadiusUnitsEnum_LocationGroupRadiusUnits { - if m != nil { - return m.RadiusUnits - } - return enums.LocationGroupRadiusUnitsEnum_UNSPECIFIED -} - -func init() { - proto.RegisterType((*KeywordInfo)(nil), "google.ads.googleads.v2.common.KeywordInfo") - proto.RegisterType((*PlacementInfo)(nil), "google.ads.googleads.v2.common.PlacementInfo") - proto.RegisterType((*MobileAppCategoryInfo)(nil), "google.ads.googleads.v2.common.MobileAppCategoryInfo") - proto.RegisterType((*MobileApplicationInfo)(nil), "google.ads.googleads.v2.common.MobileApplicationInfo") - proto.RegisterType((*LocationInfo)(nil), "google.ads.googleads.v2.common.LocationInfo") - proto.RegisterType((*DeviceInfo)(nil), "google.ads.googleads.v2.common.DeviceInfo") - proto.RegisterType((*PreferredContentInfo)(nil), "google.ads.googleads.v2.common.PreferredContentInfo") - proto.RegisterType((*ListingGroupInfo)(nil), "google.ads.googleads.v2.common.ListingGroupInfo") - proto.RegisterType((*ListingScopeInfo)(nil), "google.ads.googleads.v2.common.ListingScopeInfo") - proto.RegisterType((*ListingDimensionInfo)(nil), "google.ads.googleads.v2.common.ListingDimensionInfo") - proto.RegisterType((*ListingBrandInfo)(nil), "google.ads.googleads.v2.common.ListingBrandInfo") - proto.RegisterType((*HotelIdInfo)(nil), "google.ads.googleads.v2.common.HotelIdInfo") - proto.RegisterType((*HotelClassInfo)(nil), "google.ads.googleads.v2.common.HotelClassInfo") - proto.RegisterType((*HotelCountryRegionInfo)(nil), "google.ads.googleads.v2.common.HotelCountryRegionInfo") - proto.RegisterType((*HotelStateInfo)(nil), "google.ads.googleads.v2.common.HotelStateInfo") - proto.RegisterType((*HotelCityInfo)(nil), "google.ads.googleads.v2.common.HotelCityInfo") - proto.RegisterType((*ListingCustomAttributeInfo)(nil), "google.ads.googleads.v2.common.ListingCustomAttributeInfo") - proto.RegisterType((*ProductBiddingCategoryInfo)(nil), "google.ads.googleads.v2.common.ProductBiddingCategoryInfo") - proto.RegisterType((*ProductChannelInfo)(nil), "google.ads.googleads.v2.common.ProductChannelInfo") - proto.RegisterType((*ProductChannelExclusivityInfo)(nil), "google.ads.googleads.v2.common.ProductChannelExclusivityInfo") - proto.RegisterType((*ProductConditionInfo)(nil), "google.ads.googleads.v2.common.ProductConditionInfo") - proto.RegisterType((*ProductItemIdInfo)(nil), "google.ads.googleads.v2.common.ProductItemIdInfo") - proto.RegisterType((*ProductTypeInfo)(nil), "google.ads.googleads.v2.common.ProductTypeInfo") - proto.RegisterType((*UnknownListingDimensionInfo)(nil), "google.ads.googleads.v2.common.UnknownListingDimensionInfo") - proto.RegisterType((*HotelDateSelectionTypeInfo)(nil), "google.ads.googleads.v2.common.HotelDateSelectionTypeInfo") - proto.RegisterType((*HotelAdvanceBookingWindowInfo)(nil), "google.ads.googleads.v2.common.HotelAdvanceBookingWindowInfo") - proto.RegisterType((*HotelLengthOfStayInfo)(nil), "google.ads.googleads.v2.common.HotelLengthOfStayInfo") - proto.RegisterType((*HotelCheckInDayInfo)(nil), "google.ads.googleads.v2.common.HotelCheckInDayInfo") - proto.RegisterType((*InteractionTypeInfo)(nil), "google.ads.googleads.v2.common.InteractionTypeInfo") - proto.RegisterType((*AdScheduleInfo)(nil), "google.ads.googleads.v2.common.AdScheduleInfo") - proto.RegisterType((*AgeRangeInfo)(nil), "google.ads.googleads.v2.common.AgeRangeInfo") - proto.RegisterType((*GenderInfo)(nil), "google.ads.googleads.v2.common.GenderInfo") - proto.RegisterType((*IncomeRangeInfo)(nil), "google.ads.googleads.v2.common.IncomeRangeInfo") - proto.RegisterType((*ParentalStatusInfo)(nil), "google.ads.googleads.v2.common.ParentalStatusInfo") - proto.RegisterType((*YouTubeVideoInfo)(nil), "google.ads.googleads.v2.common.YouTubeVideoInfo") - proto.RegisterType((*YouTubeChannelInfo)(nil), "google.ads.googleads.v2.common.YouTubeChannelInfo") - proto.RegisterType((*UserListInfo)(nil), "google.ads.googleads.v2.common.UserListInfo") - proto.RegisterType((*ProximityInfo)(nil), "google.ads.googleads.v2.common.ProximityInfo") - proto.RegisterType((*GeoPointInfo)(nil), "google.ads.googleads.v2.common.GeoPointInfo") - proto.RegisterType((*AddressInfo)(nil), "google.ads.googleads.v2.common.AddressInfo") - proto.RegisterType((*TopicInfo)(nil), "google.ads.googleads.v2.common.TopicInfo") - proto.RegisterType((*LanguageInfo)(nil), "google.ads.googleads.v2.common.LanguageInfo") - proto.RegisterType((*IpBlockInfo)(nil), "google.ads.googleads.v2.common.IpBlockInfo") - proto.RegisterType((*ContentLabelInfo)(nil), "google.ads.googleads.v2.common.ContentLabelInfo") - proto.RegisterType((*CarrierInfo)(nil), "google.ads.googleads.v2.common.CarrierInfo") - proto.RegisterType((*UserInterestInfo)(nil), "google.ads.googleads.v2.common.UserInterestInfo") - proto.RegisterType((*WebpageInfo)(nil), "google.ads.googleads.v2.common.WebpageInfo") - proto.RegisterType((*WebpageConditionInfo)(nil), "google.ads.googleads.v2.common.WebpageConditionInfo") - proto.RegisterType((*OperatingSystemVersionInfo)(nil), "google.ads.googleads.v2.common.OperatingSystemVersionInfo") - proto.RegisterType((*AppPaymentModelInfo)(nil), "google.ads.googleads.v2.common.AppPaymentModelInfo") - proto.RegisterType((*MobileDeviceInfo)(nil), "google.ads.googleads.v2.common.MobileDeviceInfo") - proto.RegisterType((*CustomAffinityInfo)(nil), "google.ads.googleads.v2.common.CustomAffinityInfo") - proto.RegisterType((*CustomIntentInfo)(nil), "google.ads.googleads.v2.common.CustomIntentInfo") - proto.RegisterType((*LocationGroupInfo)(nil), "google.ads.googleads.v2.common.LocationGroupInfo") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/common/criteria.proto", fileDescriptor_ad99e1dce1bd258a) -} - -var fileDescriptor_ad99e1dce1bd258a = []byte{ - // 2776 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x5a, 0x4d, 0x73, 0xdc, 0xc6, - 0xd1, 0xf6, 0x2e, 0x29, 0x91, 0xec, 0x25, 0x29, 0x0a, 0xa2, 0xe9, 0x15, 0xfd, 0x51, 0x7e, 0x71, - 0x72, 0xbd, 0x7e, 0xbd, 0x94, 0x57, 0x7a, 0x15, 0x87, 0x8e, 0xa3, 0x2c, 0x49, 0x85, 0x5a, 0x9b, - 0x92, 0xe8, 0x25, 0x45, 0xd9, 0xb2, 0x1c, 0x78, 0x08, 0xcc, 0x62, 0x27, 0x02, 0x66, 0x50, 0xc0, - 0x80, 0xe4, 0xe6, 0x90, 0x54, 0xa5, 0x2a, 0x95, 0x43, 0x0e, 0xb9, 0xe7, 0x96, 0x54, 0x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66, 0x85, 0xe7, 0x5c, 0xf1, 0x85, 0x80, 0xa9, 0x3b, 0xcf, 0x47, 0xea, 0xce, 0xf9, 0x52, 0xfb, - 0x72, 0x68, 0xf8, 0xa3, 0xb5, 0xe7, 0xb4, 0xce, 0xa1, 0xfa, 0x73, 0xe7, 0x5f, 0x15, 0xb0, 0x5d, - 0x16, 0x16, 0xc4, 0xb6, 0x9d, 0x15, 0x7d, 0x97, 0x8d, 0x0e, 0xc5, 0x20, 0x0e, 0x2b, 0x2f, 0xf6, - 0x34, 0xc0, 0x67, 0x22, 0x17, 0x36, 0x58, 0xec, 0x6f, 0xf9, 0x98, 0xca, 0x21, 0x9a, 0xff, 0xb8, - 0x89, 0x48, 0x32, 0xed, 0x9f, 0x1e, 0x3f, 0x56, 0x7f, 0x7e, 0x57, 0x9d, 0xdb, 0x6f, 0xb5, 0xfe, - 0x54, 0x7d, 0x67, 0x5f, 0x91, 0xb5, 0xbc, 0xa4, 0xa1, 0x7e, 0x8a, 0x5f, 0x27, 0xcd, 0xc6, 0xae, - 0x14, 0xfb, 0x87, 0x11, 0x78, 0xd9, 0xf2, 0x92, 0x97, 0x99, 0xc0, 0xcb, 0x93, 0xe6, 0x4b, 0x25, - 0xf0, 0xef, 0xaa, 0xad, 0x5a, 0xb7, 0xb7, 0x5b, 0x5e, 0xb2, 0xbd, 0x9d, 0x89, 0x6c, 0x6f, 0x9f, - 0x34, 0xb7, 0xb7, 0x95, 0xd0, 0xe9, 0x75, 0x69, 0xdd, 0xdd, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, - 0x57, 0x2f, 0x26, 0x33, 0x91, 0x29, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/criterion_category_availability.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/criterion_category_availability.pb.go deleted file mode 100644 index 8556e90d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/criterion_category_availability.pb.go +++ /dev/null @@ -1,266 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/common/criterion_category_availability.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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_670ab9bba1a25e93, []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 (m *CriterionCategoryAvailability) XXX_Merge(src proto.Message) { - xxx_messageInfo_CriterionCategoryAvailability.Merge(m, 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.v2.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.v2.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.v2.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_670ab9bba1a25e93, []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 (m *CriterionCategoryChannelAvailability) XXX_Merge(src proto.Message) { - xxx_messageInfo_CriterionCategoryChannelAvailability.Merge(m, 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.v2.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_670ab9bba1a25e93, []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 (m *CriterionCategoryLocaleAvailability) XXX_Merge(src proto.Message) { - xxx_messageInfo_CriterionCategoryLocaleAvailability.Merge(m, 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.v2.common.CriterionCategoryAvailability") - proto.RegisterType((*CriterionCategoryChannelAvailability)(nil), "google.ads.googleads.v2.common.CriterionCategoryChannelAvailability") - proto.RegisterType((*CriterionCategoryLocaleAvailability)(nil), "google.ads.googleads.v2.common.CriterionCategoryLocaleAvailability") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/common/criterion_category_availability.proto", fileDescriptor_670ab9bba1a25e93) -} - -var fileDescriptor_670ab9bba1a25e93 = []byte{ - // 608 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x95, 0x41, 0x8e, 0xd3, 0x30, - 0x14, 0x86, 0x95, 0x74, 0x34, 0x48, 0xee, 0x30, 0x82, 0x2c, 0x50, 0xa9, 0xca, 0xa8, 0x0a, 0x2c, - 0xba, 0x72, 0xa4, 0xb0, 0x0b, 0x48, 0x90, 0xa6, 0x68, 0x36, 0x20, 0xaa, 0x0e, 0xea, 0x02, 0x2a, - 0x22, 0x27, 0xf1, 0x04, 0x4b, 0x8e, 0x1d, 0x25, 0x4e, 0x51, 0xaf, 0xc0, 0x05, 0x58, 0x22, 0x58, - 0x72, 0x14, 0x58, 0xb3, 0xe3, 0x04, 0xdc, 0x01, 0x09, 0x25, 0x76, 0x4a, 0x67, 0xda, 0x64, 0xda, - 0x55, 0xdd, 0xf8, 0xbd, 0xef, 0xff, 0xdf, 0xcb, 0xb3, 0x03, 0x26, 0x31, 0xe7, 0x31, 0xc5, 0x16, - 0x8a, 0x72, 0x4b, 0x2e, 0xcb, 0xd5, 0xd2, 0xb6, 0x42, 0x9e, 0x24, 0x9c, 0x59, 0x61, 0x46, 0x04, - 0xce, 0x08, 0x67, 0x7e, 0x88, 0x04, 0x8e, 0x79, 0xb6, 0xf2, 0xd1, 0x12, 0x11, 0x8a, 0x02, 0x42, - 0x89, 0x58, 0xc1, 0x34, 0xe3, 0x82, 0x1b, 0x67, 0x32, 0x15, 0xa2, 0x28, 0x87, 0x6b, 0x0a, 0x5c, - 0xda, 0x50, 0x52, 0xfa, 0xcf, 0x9b, 0x54, 0x30, 0x2b, 0x92, 0xdc, 0x42, 0xd1, 0x12, 0x67, 0x82, - 0xe4, 0x84, 0xc5, 0x7e, 0xf8, 0x01, 0x31, 0x86, 0xa9, 0x9f, 0x17, 0x81, 0x2f, 0x56, 0x29, 0x96, - 0x0a, 0xfd, 0xa7, 0x87, 0x13, 0x36, 0xb2, 0xa7, 0xed, 0xd9, 0x3b, 0x8a, 0xac, 0x21, 0x9b, 0xc5, - 0xfa, 0x09, 0x8f, 0x6a, 0xe2, 0xeb, 0x83, 0x89, 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0xa3, 0x7c, 0xb1, 0x0e, 0x58, 0xcc, 0xed, 0x85, 0x0c, 0xf8, 0xa3, 0x9b, 0xf2, 0xa9, - 0xe3, 0xb8, 0x51, 0xee, 0x38, 0xeb, 0x10, 0xc7, 0x99, 0xdb, 0x8e, 0x23, 0x83, 0x82, 0xe3, 0xca, - 0xdd, 0xe3, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x99, 0xae, 0x1d, 0x9e, 0x54, 0x07, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/custom_parameter.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/custom_parameter.pb.go deleted file mode 100644 index 943916a5..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/custom_parameter.pb.go +++ /dev/null @@ -1,106 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/common/custom_parameter.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // 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_e773b2fe8d6d3ebb, []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 (m *CustomParameter) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomParameter.Merge(m, 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.v2.common.CustomParameter") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/common/custom_parameter.proto", fileDescriptor_e773b2fe8d6d3ebb) -} - -var fileDescriptor_e773b2fe8d6d3ebb = []byte{ - // 301 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0xc1, 0x4a, 0xfc, 0x30, - 0x10, 0xc6, 0x69, 0x97, 0xff, 0xff, 0x50, 0x0f, 0xc2, 0xe2, 0x61, 0x59, 0x96, 0x45, 0x7a, 0xf2, - 0x34, 0x81, 0x88, 0x97, 0x78, 0xea, 0xae, 0xb0, 0xd7, 0xa2, 0xd0, 0x83, 0x14, 0x24, 0xdb, 0xc6, - 0x50, 0x6c, 0x33, 0x21, 0x49, 0x2b, 0x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 0xe2, 0x90, 0x24, - 0x6f, 0xe1, 0xf6, 0xe0, 0x9b, 0x25, 0xa5, 0x05, 0x2f, 0x7b, 0x95, 0x51, 0xd8, 0x0f, 0xd8, 0xfb, - 0x04, 0xe4, 0x49, 0x69, 0xf3, 0x19, 0xc8, 0x33, 0x9a, 0x7b, 0xe0, 0x23, 0x8c, 0xfd, 0x2b, 0x63, - 0x49, 0x69, 0x19, 0x9b, 0x11, 0xc6, 0x32, 0xca, 0x98, 0x87, 0x8e, 0xff, 0x87, 0xe9, 0x2e, 0xbf, - 0x02, 0x00, 0x00, 0xff, 0xff, 0x2e, 0x5e, 0x3d, 0x3f, 0x06, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/dates.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/dates.pb.go deleted file mode 100644 index b7ce40b1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/dates.pb.go +++ /dev/null @@ -1,105 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/common/dates.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A date range. -type DateRange struct { - // The start date, in yyyy-mm-dd format. This date is inclusive. - 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. This date is inclusive. - 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_50f82ad1a92cbb16, []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 (m *DateRange) XXX_Merge(src proto.Message) { - xxx_messageInfo_DateRange.Merge(m, 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.v2.common.DateRange") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/common/dates.proto", fileDescriptor_50f82ad1a92cbb16) -} - -var fileDescriptor_50f82ad1a92cbb16 = []byte{ - // 302 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0xb1, 0x6a, 0xf3, 0x30, - 0x14, 0x85, 0xb1, 0x7f, 0xf8, 0xdb, 0xa8, 0x5b, 0xa6, 0x12, 0x42, 0x28, 0x9e, 0x4a, 0x07, 0x09, - 0xd4, 0xa1, 0xa0, 0x4c, 0x4e, 0x03, 0x59, 0x43, 0x0a, 0x1e, 0x8a, 0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0xa6, - 0x95, 0xe9, 0x8a, 0x86, 0x93, 0xb6, 0x95, 0xfb, 0xe9, 0xc2, 0xcb, 0xf8, 0x79, 0x4b, 0xff, 0x6d, - 0xf2, 0xfc, 0x3d, 0x5d, 0x6c, 0x62, 0x58, 0x2e, 0x1d, 0x8d, 0x32, 0xa8, 0x82, 0xd3, 0xfb, 0x0e, - 0xfb, 0x18, 0x80, 0x32, 0x97, 0xae, 0x1c, 0x81, 0xb2, 0xe0, 0x65, 0x04, 0xbe, 0xd2, 0x2c, 0xfe, - 0x15, 0x22, 0x97, 0x4e, 0x88, 0x11, 0x11, 0xa2, 0xe0, 0x42, 0x44, 0x68, 0xff, 0xbf, 0xdb, 0xee, - 0xf6, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x5b, 0x13, 0xd9, 0x53, 0xfe, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/explorer_auto_optimizer_setting.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/explorer_auto_optimizer_setting.pb.go deleted file mode 100644 index e0a2ba9c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/explorer_auto_optimizer_setting.pb.go +++ /dev/null @@ -1,99 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/common/explorer_auto_optimizer_setting.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Settings for the Display Campaign Optimizer, initially named "Explorer". -// Learn more about -// [automatic targeting](https://support.google.com/google-ads/answer/190596). -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_596617ac6a64e0fd, []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 (m *ExplorerAutoOptimizerSetting) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExplorerAutoOptimizerSetting.Merge(m, 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.v2.common.ExplorerAutoOptimizerSetting") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/common/explorer_auto_optimizer_setting.proto", fileDescriptor_596617ac6a64e0fd) -} - -var fileDescriptor_596617ac6a64e0fd = []byte{ - // 306 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xb1, 0x4e, 0xc3, 0x30, - 0x10, 0x86, 0x95, 0x22, 0x3a, 0x84, 0xad, 0x13, 0xaa, 0xaa, 0x0a, 0x3a, 0x31, 0x9d, 0x85, 0xd9, - 0xcc, 0xe4, 0x02, 0xaa, 0x98, 0x28, 0x20, 0x65, 0x40, 0x91, 0x22, 0xb7, 0x31, 0x96, 0xa5, 0xc4, - 0x67, 0xd9, 0x4e, 0x41, 0x3c, 0x0e, 0x23, 0x8f, 0xc2, 0xa3, 0xf0, 0x0c, 0x0c, 0xa8, 0x71, 0x92, - 0x8d, 0x4e, 0xf9, 0x15, 0x7f, 0xf7, 0xdf, 0xa7, 0x4b, 0x6f, 0x15, 0xa2, 0xaa, 0x24, 0x11, 0xa5, - 0x27, 0x31, 0xee, 0xd3, 0x8e, 0x92, 0x2d, 0xd6, 0x35, 0x1a, 0x22, 0xdf, 0x6d, 0x85, 0x4e, 0xba, - 0x42, 0x34, 0x01, 0x0b, 0xb4, 0x41, 0xd7, 0xfa, 0x43, 0xba, 0xc2, 0xcb, 0x10, 0xb4, 0x51, 0x60, - 0x1d, 0x06, 0x9c, 0xcc, 0xe3, 0x28, 0x88, 0xd2, 0xc3, 0xd0, 0x02, 0x3b, 0x0a, 0xb1, 0x65, 0xda, - 0xbd, 0x93, 0x96, 0xde, 0x34, 0xaf, 0xe4, 0xcd, 0x09, 0x6b, 0xa5, 0xf3, 0x71, 0x7e, 0x3a, 0xeb, - 0x2d, 0xac, 0x26, 0xc2, 0x18, 0x0c, 0x22, 0x68, 0x34, 0xdd, 0xeb, 0xe2, 0x31, 0x9d, 0xdd, 0x75, - 0x1a, 0xbc, 0x09, 0xf8, 0xd0, 0x4b, 0x3c, 0x47, 0x87, 0xc9, 0x65, 0x3a, 0x46, 0x1b, 0x0a, 0x6d, - 0x4e, 0x93, 0xb3, 0xe4, 0xe2, 0x84, 0x4e, 0x3b, 0x07, 0xe8, 0xd7, 0xc1, 0x12, 0xb1, 0xca, 0x44, - 0xd5, 0xc8, 0xa7, 0x63, 0xb4, 0xe1, 0xde, 0x2c, 0x7f, 0x93, 0x74, 0xb1, 0xc5, 0x1a, 0x0e, 0x7b, - 0x2f, 0xcf, 0x0f, 0xed, 0x5d, 0xef, 0xdb, 0xd7, 0xc9, 0x4b, 0x77, 0x42, 0x50, 0x58, 0x09, 0xa3, - 0x00, 0x9d, 0x22, 0x4a, 0x9a, 0x76, 0x77, 0x7f, 0x52, 0xab, 0xfd, 0x7f, 0x17, 0xbe, 0x8e, 0x9f, - 0xcf, 0xd1, 0xd1, 0x8a, 0xf3, 0xaf, 0xd1, 0x7c, 0x15, 0xcb, 0x78, 0xe9, 0x21, 0xc6, 0x7d, 0xca, - 0x28, 0xdc, 0xb4, 0xd8, 0x77, 0x0f, 0xe4, 0xbc, 0xf4, 0xf9, 0x00, 0xe4, 0x19, 0xcd, 0x23, 0xf0, - 0x33, 0x5a, 0xc4, 0xbf, 0x8c, 0xf1, 0xd2, 0x33, 0x36, 0x20, 0x8c, 0x65, 0x94, 0xb1, 0x08, 0x6d, - 0xc6, 0xad, 0xdd, 0xd5, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x04, 0x77, 0x20, 0x5c, 0xfe, 0x01, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/extensions.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/extensions.pb.go deleted file mode 100644 index 92d4f644..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/extensions.pb.go +++ /dev/null @@ -1,1325 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/common/extensions.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Represents an App extension. -type AppFeedItem struct { - // The visible text displayed when the link is rendered in an ad. - // This string must not be empty, and the length of this string should - // be between 1 and 25, inclusive. - LinkText *wrappers.StringValue `protobuf:"bytes,1,opt,name=link_text,json=linkText,proto3" json:"link_text,omitempty"` - // The store-specific ID for the target application. - // This string must not be empty. - AppId *wrappers.StringValue `protobuf:"bytes,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` - // The application store that the target application belongs to. - // This field is required. - AppStore enums.AppStoreEnum_AppStore `protobuf:"varint,3,opt,name=app_store,json=appStore,proto3,enum=google.ads.googleads.v2.enums.AppStoreEnum_AppStore" json:"app_store,omitempty"` - // A list of possible final URLs after all cross domain redirects. - // This list must not be empty. - FinalUrls []*wrappers.StringValue `protobuf:"bytes,4,rep,name=final_urls,json=finalUrls,proto3" json:"final_urls,omitempty"` - // A list of possible final mobile URLs after all cross domain redirects. - FinalMobileUrls []*wrappers.StringValue `protobuf:"bytes,5,rep,name=final_mobile_urls,json=finalMobileUrls,proto3" json:"final_mobile_urls,omitempty"` - // URL template for constructing a tracking URL. Default value is "{lpurl}". - TrackingUrlTemplate *wrappers.StringValue `protobuf:"bytes,6,opt,name=tracking_url_template,json=trackingUrlTemplate,proto3" json:"tracking_url_template,omitempty"` - // A list of mappings to be used for substituting URL custom parameter tags in - // the tracking_url_template, final_urls, and/or final_mobile_urls. - UrlCustomParameters []*CustomParameter `protobuf:"bytes,7,rep,name=url_custom_parameters,json=urlCustomParameters,proto3" json:"url_custom_parameters,omitempty"` - // URL template for appending params to landing page URLs served with parallel - // tracking. - FinalUrlSuffix *wrappers.StringValue `protobuf:"bytes,8,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 *AppFeedItem) Reset() { *m = AppFeedItem{} } -func (m *AppFeedItem) String() string { return proto.CompactTextString(m) } -func (*AppFeedItem) ProtoMessage() {} -func (*AppFeedItem) Descriptor() ([]byte, []int) { - return fileDescriptor_1279b497763ecdff, []int{0} -} - -func (m *AppFeedItem) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AppFeedItem.Unmarshal(m, b) -} -func (m *AppFeedItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AppFeedItem.Marshal(b, m, deterministic) -} -func (m *AppFeedItem) XXX_Merge(src proto.Message) { - xxx_messageInfo_AppFeedItem.Merge(m, src) -} -func (m *AppFeedItem) XXX_Size() int { - return xxx_messageInfo_AppFeedItem.Size(m) -} -func (m *AppFeedItem) XXX_DiscardUnknown() { - xxx_messageInfo_AppFeedItem.DiscardUnknown(m) -} - -var xxx_messageInfo_AppFeedItem proto.InternalMessageInfo - -func (m *AppFeedItem) GetLinkText() *wrappers.StringValue { - if m != nil { - return m.LinkText - } - return nil -} - -func (m *AppFeedItem) GetAppId() *wrappers.StringValue { - if m != nil { - return m.AppId - } - return nil -} - -func (m *AppFeedItem) GetAppStore() enums.AppStoreEnum_AppStore { - if m != nil { - return m.AppStore - } - return enums.AppStoreEnum_UNSPECIFIED -} - -func (m *AppFeedItem) GetFinalUrls() []*wrappers.StringValue { - if m != nil { - return m.FinalUrls - } - return nil -} - -func (m *AppFeedItem) GetFinalMobileUrls() []*wrappers.StringValue { - if m != nil { - return m.FinalMobileUrls - } - return nil -} - -func (m *AppFeedItem) GetTrackingUrlTemplate() *wrappers.StringValue { - if m != nil { - return m.TrackingUrlTemplate - } - return nil -} - -func (m *AppFeedItem) GetUrlCustomParameters() []*CustomParameter { - if m != nil { - return m.UrlCustomParameters - } - return nil -} - -func (m *AppFeedItem) GetFinalUrlSuffix() *wrappers.StringValue { - if m != nil { - return m.FinalUrlSuffix - } - return nil -} - -// Represents a Call extension. -type CallFeedItem struct { - // The advertiser's phone number to append to the ad. - // This string must not be empty. - PhoneNumber *wrappers.StringValue `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` - // Uppercase two-letter country code of the advertiser's phone number. - // This string must not be empty. - CountryCode *wrappers.StringValue `protobuf:"bytes,2,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` - // Indicates whether call tracking is enabled. By default, call tracking is - // not enabled. - CallTrackingEnabled *wrappers.BoolValue `protobuf:"bytes,3,opt,name=call_tracking_enabled,json=callTrackingEnabled,proto3" json:"call_tracking_enabled,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_tracking_enabled is set to true. Otherwise this field is ignored. - CallConversionAction *wrappers.StringValue `protobuf:"bytes,4,opt,name=call_conversion_action,json=callConversionAction,proto3" json:"call_conversion_action,omitempty"` - // If true, disable call conversion tracking. call_conversion_action should - // not be set if this is true. Optional. - CallConversionTrackingDisabled *wrappers.BoolValue `protobuf:"bytes,5,opt,name=call_conversion_tracking_disabled,json=callConversionTrackingDisabled,proto3" json:"call_conversion_tracking_disabled,omitempty"` - // Enum value that indicates whether this call extension uses its own call - // conversion setting (or just have call conversion disabled), or following - // the account level setting. - CallConversionReportingState enums.CallConversionReportingStateEnum_CallConversionReportingState `protobuf:"varint,6,opt,name=call_conversion_reporting_state,json=callConversionReportingState,proto3,enum=google.ads.googleads.v2.enums.CallConversionReportingStateEnum_CallConversionReportingState" json:"call_conversion_reporting_state,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CallFeedItem) Reset() { *m = CallFeedItem{} } -func (m *CallFeedItem) String() string { return proto.CompactTextString(m) } -func (*CallFeedItem) ProtoMessage() {} -func (*CallFeedItem) Descriptor() ([]byte, []int) { - return fileDescriptor_1279b497763ecdff, []int{1} -} - -func (m *CallFeedItem) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CallFeedItem.Unmarshal(m, b) -} -func (m *CallFeedItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CallFeedItem.Marshal(b, m, deterministic) -} -func (m *CallFeedItem) XXX_Merge(src proto.Message) { - xxx_messageInfo_CallFeedItem.Merge(m, src) -} -func (m *CallFeedItem) XXX_Size() int { - return xxx_messageInfo_CallFeedItem.Size(m) -} -func (m *CallFeedItem) XXX_DiscardUnknown() { - xxx_messageInfo_CallFeedItem.DiscardUnknown(m) -} - -var xxx_messageInfo_CallFeedItem proto.InternalMessageInfo - -func (m *CallFeedItem) GetPhoneNumber() *wrappers.StringValue { - if m != nil { - return m.PhoneNumber - } - return nil -} - -func (m *CallFeedItem) GetCountryCode() *wrappers.StringValue { - if m != nil { - return m.CountryCode - } - return nil -} - -func (m *CallFeedItem) GetCallTrackingEnabled() *wrappers.BoolValue { - if m != nil { - return m.CallTrackingEnabled - } - return nil -} - -func (m *CallFeedItem) GetCallConversionAction() *wrappers.StringValue { - if m != nil { - return m.CallConversionAction - } - return nil -} - -func (m *CallFeedItem) GetCallConversionTrackingDisabled() *wrappers.BoolValue { - if m != nil { - return m.CallConversionTrackingDisabled - } - return nil -} - -func (m *CallFeedItem) GetCallConversionReportingState() enums.CallConversionReportingStateEnum_CallConversionReportingState { - if m != nil { - return m.CallConversionReportingState - } - return enums.CallConversionReportingStateEnum_UNSPECIFIED -} - -// Represents a callout extension. -type CalloutFeedItem struct { - // The callout text. - // The length of this string should be between 1 and 25, inclusive. - CalloutText *wrappers.StringValue `protobuf:"bytes,1,opt,name=callout_text,json=calloutText,proto3" json:"callout_text,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CalloutFeedItem) Reset() { *m = CalloutFeedItem{} } -func (m *CalloutFeedItem) String() string { return proto.CompactTextString(m) } -func (*CalloutFeedItem) ProtoMessage() {} -func (*CalloutFeedItem) Descriptor() ([]byte, []int) { - return fileDescriptor_1279b497763ecdff, []int{2} -} - -func (m *CalloutFeedItem) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CalloutFeedItem.Unmarshal(m, b) -} -func (m *CalloutFeedItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CalloutFeedItem.Marshal(b, m, deterministic) -} -func (m *CalloutFeedItem) XXX_Merge(src proto.Message) { - xxx_messageInfo_CalloutFeedItem.Merge(m, src) -} -func (m *CalloutFeedItem) XXX_Size() int { - return xxx_messageInfo_CalloutFeedItem.Size(m) -} -func (m *CalloutFeedItem) XXX_DiscardUnknown() { - xxx_messageInfo_CalloutFeedItem.DiscardUnknown(m) -} - -var xxx_messageInfo_CalloutFeedItem proto.InternalMessageInfo - -func (m *CalloutFeedItem) GetCalloutText() *wrappers.StringValue { - if m != nil { - return m.CalloutText - } - return nil -} - -// Represents a location extension. -type LocationFeedItem struct { - // The name of the business. - BusinessName *wrappers.StringValue `protobuf:"bytes,1,opt,name=business_name,json=businessName,proto3" json:"business_name,omitempty"` - // Line 1 of the business address. - AddressLine_1 *wrappers.StringValue `protobuf:"bytes,2,opt,name=address_line_1,json=addressLine1,proto3" json:"address_line_1,omitempty"` - // Line 2 of the business address. - AddressLine_2 *wrappers.StringValue `protobuf:"bytes,3,opt,name=address_line_2,json=addressLine2,proto3" json:"address_line_2,omitempty"` - // City of the business address. - City *wrappers.StringValue `protobuf:"bytes,4,opt,name=city,proto3" json:"city,omitempty"` - // Province of the business address. - Province *wrappers.StringValue `protobuf:"bytes,5,opt,name=province,proto3" json:"province,omitempty"` - // Postal code of the business address. - PostalCode *wrappers.StringValue `protobuf:"bytes,6,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"` - // Country code of the business address. - CountryCode *wrappers.StringValue `protobuf:"bytes,7,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` - // Phone number of the business. - PhoneNumber *wrappers.StringValue `protobuf:"bytes,8,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LocationFeedItem) Reset() { *m = LocationFeedItem{} } -func (m *LocationFeedItem) String() string { return proto.CompactTextString(m) } -func (*LocationFeedItem) ProtoMessage() {} -func (*LocationFeedItem) Descriptor() ([]byte, []int) { - return fileDescriptor_1279b497763ecdff, []int{3} -} - -func (m *LocationFeedItem) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LocationFeedItem.Unmarshal(m, b) -} -func (m *LocationFeedItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LocationFeedItem.Marshal(b, m, deterministic) -} -func (m *LocationFeedItem) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocationFeedItem.Merge(m, src) -} -func (m *LocationFeedItem) XXX_Size() int { - return xxx_messageInfo_LocationFeedItem.Size(m) -} -func (m *LocationFeedItem) XXX_DiscardUnknown() { - xxx_messageInfo_LocationFeedItem.DiscardUnknown(m) -} - -var xxx_messageInfo_LocationFeedItem proto.InternalMessageInfo - -func (m *LocationFeedItem) GetBusinessName() *wrappers.StringValue { - if m != nil { - return m.BusinessName - } - return nil -} - -func (m *LocationFeedItem) GetAddressLine_1() *wrappers.StringValue { - if m != nil { - return m.AddressLine_1 - } - return nil -} - -func (m *LocationFeedItem) GetAddressLine_2() *wrappers.StringValue { - if m != nil { - return m.AddressLine_2 - } - return nil -} - -func (m *LocationFeedItem) GetCity() *wrappers.StringValue { - if m != nil { - return m.City - } - return nil -} - -func (m *LocationFeedItem) GetProvince() *wrappers.StringValue { - if m != nil { - return m.Province - } - return nil -} - -func (m *LocationFeedItem) GetPostalCode() *wrappers.StringValue { - if m != nil { - return m.PostalCode - } - return nil -} - -func (m *LocationFeedItem) GetCountryCode() *wrappers.StringValue { - if m != nil { - return m.CountryCode - } - return nil -} - -func (m *LocationFeedItem) GetPhoneNumber() *wrappers.StringValue { - if m != nil { - return m.PhoneNumber - } - return nil -} - -// Represents an affiliate location extension. -type AffiliateLocationFeedItem struct { - // The name of the business. - BusinessName *wrappers.StringValue `protobuf:"bytes,1,opt,name=business_name,json=businessName,proto3" json:"business_name,omitempty"` - // Line 1 of the business address. - AddressLine_1 *wrappers.StringValue `protobuf:"bytes,2,opt,name=address_line_1,json=addressLine1,proto3" json:"address_line_1,omitempty"` - // Line 2 of the business address. - AddressLine_2 *wrappers.StringValue `protobuf:"bytes,3,opt,name=address_line_2,json=addressLine2,proto3" json:"address_line_2,omitempty"` - // City of the business address. - City *wrappers.StringValue `protobuf:"bytes,4,opt,name=city,proto3" json:"city,omitempty"` - // Province of the business address. - Province *wrappers.StringValue `protobuf:"bytes,5,opt,name=province,proto3" json:"province,omitempty"` - // Postal code of the business address. - PostalCode *wrappers.StringValue `protobuf:"bytes,6,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"` - // Country code of the business address. - CountryCode *wrappers.StringValue `protobuf:"bytes,7,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` - // Phone number of the business. - PhoneNumber *wrappers.StringValue `protobuf:"bytes,8,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` - // Id of the retail chain that is advertised as a seller of your product. - ChainId *wrappers.Int64Value `protobuf:"bytes,9,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` - // Name of chain. - ChainName *wrappers.StringValue `protobuf:"bytes,10,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AffiliateLocationFeedItem) Reset() { *m = AffiliateLocationFeedItem{} } -func (m *AffiliateLocationFeedItem) String() string { return proto.CompactTextString(m) } -func (*AffiliateLocationFeedItem) ProtoMessage() {} -func (*AffiliateLocationFeedItem) Descriptor() ([]byte, []int) { - return fileDescriptor_1279b497763ecdff, []int{4} -} - -func (m *AffiliateLocationFeedItem) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AffiliateLocationFeedItem.Unmarshal(m, b) -} -func (m *AffiliateLocationFeedItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AffiliateLocationFeedItem.Marshal(b, m, deterministic) -} -func (m *AffiliateLocationFeedItem) XXX_Merge(src proto.Message) { - xxx_messageInfo_AffiliateLocationFeedItem.Merge(m, src) -} -func (m *AffiliateLocationFeedItem) XXX_Size() int { - return xxx_messageInfo_AffiliateLocationFeedItem.Size(m) -} -func (m *AffiliateLocationFeedItem) XXX_DiscardUnknown() { - xxx_messageInfo_AffiliateLocationFeedItem.DiscardUnknown(m) -} - -var xxx_messageInfo_AffiliateLocationFeedItem proto.InternalMessageInfo - -func (m *AffiliateLocationFeedItem) GetBusinessName() *wrappers.StringValue { - if m != nil { - return m.BusinessName - } - return nil -} - -func (m *AffiliateLocationFeedItem) GetAddressLine_1() *wrappers.StringValue { - if m != nil { - return m.AddressLine_1 - } - return nil -} - -func (m *AffiliateLocationFeedItem) GetAddressLine_2() *wrappers.StringValue { - if m != nil { - return m.AddressLine_2 - } - return nil -} - -func (m *AffiliateLocationFeedItem) GetCity() *wrappers.StringValue { - if m != nil { - return m.City - } - return nil -} - -func (m *AffiliateLocationFeedItem) GetProvince() *wrappers.StringValue { - if m != nil { - return m.Province - } - return nil -} - -func (m *AffiliateLocationFeedItem) GetPostalCode() *wrappers.StringValue { - if m != nil { - return m.PostalCode - } - return nil -} - -func (m *AffiliateLocationFeedItem) GetCountryCode() *wrappers.StringValue { - if m != nil { - return m.CountryCode - } - return nil -} - -func (m *AffiliateLocationFeedItem) GetPhoneNumber() *wrappers.StringValue { - if m != nil { - return m.PhoneNumber - } - return nil -} - -func (m *AffiliateLocationFeedItem) GetChainId() *wrappers.Int64Value { - if m != nil { - return m.ChainId - } - return nil -} - -func (m *AffiliateLocationFeedItem) GetChainName() *wrappers.StringValue { - if m != nil { - return m.ChainName - } - return nil -} - -// An extension that users can click on to send a text message to the -// advertiser. -type TextMessageFeedItem struct { - // The business name to prepend to the message text. - // This field is required. - BusinessName *wrappers.StringValue `protobuf:"bytes,1,opt,name=business_name,json=businessName,proto3" json:"business_name,omitempty"` - // Uppercase two-letter country code of the advertiser's phone number. - // This field is required. - CountryCode *wrappers.StringValue `protobuf:"bytes,2,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` - // The advertiser's phone number the message will be sent to. Required. - PhoneNumber *wrappers.StringValue `protobuf:"bytes,3,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` - // The text to show in the ad. - // This field is required. - Text *wrappers.StringValue `protobuf:"bytes,4,opt,name=text,proto3" json:"text,omitempty"` - // The message text populated in the messaging app. - ExtensionText *wrappers.StringValue `protobuf:"bytes,5,opt,name=extension_text,json=extensionText,proto3" json:"extension_text,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TextMessageFeedItem) Reset() { *m = TextMessageFeedItem{} } -func (m *TextMessageFeedItem) String() string { return proto.CompactTextString(m) } -func (*TextMessageFeedItem) ProtoMessage() {} -func (*TextMessageFeedItem) Descriptor() ([]byte, []int) { - return fileDescriptor_1279b497763ecdff, []int{5} -} - -func (m *TextMessageFeedItem) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextMessageFeedItem.Unmarshal(m, b) -} -func (m *TextMessageFeedItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextMessageFeedItem.Marshal(b, m, deterministic) -} -func (m *TextMessageFeedItem) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextMessageFeedItem.Merge(m, src) -} -func (m *TextMessageFeedItem) XXX_Size() int { - return xxx_messageInfo_TextMessageFeedItem.Size(m) -} -func (m *TextMessageFeedItem) XXX_DiscardUnknown() { - xxx_messageInfo_TextMessageFeedItem.DiscardUnknown(m) -} - -var xxx_messageInfo_TextMessageFeedItem proto.InternalMessageInfo - -func (m *TextMessageFeedItem) GetBusinessName() *wrappers.StringValue { - if m != nil { - return m.BusinessName - } - return nil -} - -func (m *TextMessageFeedItem) GetCountryCode() *wrappers.StringValue { - if m != nil { - return m.CountryCode - } - return nil -} - -func (m *TextMessageFeedItem) GetPhoneNumber() *wrappers.StringValue { - if m != nil { - return m.PhoneNumber - } - return nil -} - -func (m *TextMessageFeedItem) GetText() *wrappers.StringValue { - if m != nil { - return m.Text - } - return nil -} - -func (m *TextMessageFeedItem) GetExtensionText() *wrappers.StringValue { - if m != nil { - return m.ExtensionText - } - return nil -} - -// Represents a Price extension. -type PriceFeedItem struct { - // Price extension type of this extension. - Type enums.PriceExtensionTypeEnum_PriceExtensionType `protobuf:"varint,1,opt,name=type,proto3,enum=google.ads.googleads.v2.enums.PriceExtensionTypeEnum_PriceExtensionType" json:"type,omitempty"` - // Price qualifier for all offers of this price extension. - PriceQualifier enums.PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier `protobuf:"varint,2,opt,name=price_qualifier,json=priceQualifier,proto3,enum=google.ads.googleads.v2.enums.PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier" json:"price_qualifier,omitempty"` - // Tracking URL template for all offers of this price extension. - TrackingUrlTemplate *wrappers.StringValue `protobuf:"bytes,3,opt,name=tracking_url_template,json=trackingUrlTemplate,proto3" json:"tracking_url_template,omitempty"` - // The code of the language used for this price extension. - LanguageCode *wrappers.StringValue `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // The price offerings in this price extension. - PriceOfferings []*PriceOffer `protobuf:"bytes,5,rep,name=price_offerings,json=priceOfferings,proto3" json:"price_offerings,omitempty"` - // URL template for appending params to landing page URLs served with parallel - // tracking. - FinalUrlSuffix *wrappers.StringValue `protobuf:"bytes,6,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 *PriceFeedItem) Reset() { *m = PriceFeedItem{} } -func (m *PriceFeedItem) String() string { return proto.CompactTextString(m) } -func (*PriceFeedItem) ProtoMessage() {} -func (*PriceFeedItem) Descriptor() ([]byte, []int) { - return fileDescriptor_1279b497763ecdff, []int{6} -} - -func (m *PriceFeedItem) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PriceFeedItem.Unmarshal(m, b) -} -func (m *PriceFeedItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PriceFeedItem.Marshal(b, m, deterministic) -} -func (m *PriceFeedItem) XXX_Merge(src proto.Message) { - xxx_messageInfo_PriceFeedItem.Merge(m, src) -} -func (m *PriceFeedItem) XXX_Size() int { - return xxx_messageInfo_PriceFeedItem.Size(m) -} -func (m *PriceFeedItem) XXX_DiscardUnknown() { - xxx_messageInfo_PriceFeedItem.DiscardUnknown(m) -} - -var xxx_messageInfo_PriceFeedItem proto.InternalMessageInfo - -func (m *PriceFeedItem) GetType() enums.PriceExtensionTypeEnum_PriceExtensionType { - if m != nil { - return m.Type - } - return enums.PriceExtensionTypeEnum_UNSPECIFIED -} - -func (m *PriceFeedItem) GetPriceQualifier() enums.PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier { - if m != nil { - return m.PriceQualifier - } - return enums.PriceExtensionPriceQualifierEnum_UNSPECIFIED -} - -func (m *PriceFeedItem) GetTrackingUrlTemplate() *wrappers.StringValue { - if m != nil { - return m.TrackingUrlTemplate - } - return nil -} - -func (m *PriceFeedItem) GetLanguageCode() *wrappers.StringValue { - if m != nil { - return m.LanguageCode - } - return nil -} - -func (m *PriceFeedItem) GetPriceOfferings() []*PriceOffer { - if m != nil { - return m.PriceOfferings - } - return nil -} - -func (m *PriceFeedItem) GetFinalUrlSuffix() *wrappers.StringValue { - if m != nil { - return m.FinalUrlSuffix - } - return nil -} - -// Represents one price offer in a price extension. -type PriceOffer struct { - // Header text of this offer. - Header *wrappers.StringValue `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` - // Description text of this offer. - Description *wrappers.StringValue `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - // Price value of this offer. - Price *Money `protobuf:"bytes,3,opt,name=price,proto3" json:"price,omitempty"` - // Price unit for this offer. - Unit enums.PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit `protobuf:"varint,4,opt,name=unit,proto3,enum=google.ads.googleads.v2.enums.PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit" json:"unit,omitempty"` - // A list of possible final URLs after all cross domain redirects. - FinalUrls []*wrappers.StringValue `protobuf:"bytes,5,rep,name=final_urls,json=finalUrls,proto3" json:"final_urls,omitempty"` - // A list of possible final mobile URLs after all cross domain redirects. - FinalMobileUrls []*wrappers.StringValue `protobuf:"bytes,6,rep,name=final_mobile_urls,json=finalMobileUrls,proto3" json:"final_mobile_urls,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PriceOffer) Reset() { *m = PriceOffer{} } -func (m *PriceOffer) String() string { return proto.CompactTextString(m) } -func (*PriceOffer) ProtoMessage() {} -func (*PriceOffer) Descriptor() ([]byte, []int) { - return fileDescriptor_1279b497763ecdff, []int{7} -} - -func (m *PriceOffer) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PriceOffer.Unmarshal(m, b) -} -func (m *PriceOffer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PriceOffer.Marshal(b, m, deterministic) -} -func (m *PriceOffer) XXX_Merge(src proto.Message) { - xxx_messageInfo_PriceOffer.Merge(m, src) -} -func (m *PriceOffer) XXX_Size() int { - return xxx_messageInfo_PriceOffer.Size(m) -} -func (m *PriceOffer) XXX_DiscardUnknown() { - xxx_messageInfo_PriceOffer.DiscardUnknown(m) -} - -var xxx_messageInfo_PriceOffer proto.InternalMessageInfo - -func (m *PriceOffer) GetHeader() *wrappers.StringValue { - if m != nil { - return m.Header - } - return nil -} - -func (m *PriceOffer) GetDescription() *wrappers.StringValue { - if m != nil { - return m.Description - } - return nil -} - -func (m *PriceOffer) GetPrice() *Money { - if m != nil { - return m.Price - } - return nil -} - -func (m *PriceOffer) GetUnit() enums.PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit { - if m != nil { - return m.Unit - } - return enums.PriceExtensionPriceUnitEnum_UNSPECIFIED -} - -func (m *PriceOffer) GetFinalUrls() []*wrappers.StringValue { - if m != nil { - return m.FinalUrls - } - return nil -} - -func (m *PriceOffer) GetFinalMobileUrls() []*wrappers.StringValue { - if m != nil { - return m.FinalMobileUrls - } - return nil -} - -// Represents a Promotion extension. -type PromotionFeedItem struct { - // A freeform description of what the promotion is targeting. - // This field is required. - PromotionTarget *wrappers.StringValue `protobuf:"bytes,1,opt,name=promotion_target,json=promotionTarget,proto3" json:"promotion_target,omitempty"` - // Enum that modifies the qualification of the discount. - DiscountModifier enums.PromotionExtensionDiscountModifierEnum_PromotionExtensionDiscountModifier `protobuf:"varint,2,opt,name=discount_modifier,json=discountModifier,proto3,enum=google.ads.googleads.v2.enums.PromotionExtensionDiscountModifierEnum_PromotionExtensionDiscountModifier" json:"discount_modifier,omitempty"` - // Start date of when the promotion is eligible to be redeemed. - PromotionStartDate *wrappers.StringValue `protobuf:"bytes,7,opt,name=promotion_start_date,json=promotionStartDate,proto3" json:"promotion_start_date,omitempty"` - // End date of when the promotion is eligible to be redeemed. - PromotionEndDate *wrappers.StringValue `protobuf:"bytes,8,opt,name=promotion_end_date,json=promotionEndDate,proto3" json:"promotion_end_date,omitempty"` - // The occasion the promotion was intended for. - // If an occasion is set, the redemption window will need to fall within - // the date range associated with the occasion. - Occasion enums.PromotionExtensionOccasionEnum_PromotionExtensionOccasion `protobuf:"varint,9,opt,name=occasion,proto3,enum=google.ads.googleads.v2.enums.PromotionExtensionOccasionEnum_PromotionExtensionOccasion" json:"occasion,omitempty"` - // A list of possible final URLs after all cross domain redirects. - // This field is required. - FinalUrls []*wrappers.StringValue `protobuf:"bytes,10,rep,name=final_urls,json=finalUrls,proto3" json:"final_urls,omitempty"` - // A list of possible final mobile URLs after all cross domain redirects. - FinalMobileUrls []*wrappers.StringValue `protobuf:"bytes,11,rep,name=final_mobile_urls,json=finalMobileUrls,proto3" json:"final_mobile_urls,omitempty"` - // 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"` - // A list of mappings to be used for substituting URL custom parameter tags in - // the tracking_url_template, final_urls, and/or final_mobile_urls. - UrlCustomParameters []*CustomParameter `protobuf:"bytes,13,rep,name=url_custom_parameters,json=urlCustomParameters,proto3" json:"url_custom_parameters,omitempty"` - // URL template for appending params to landing page URLs served with parallel - // tracking. - FinalUrlSuffix *wrappers.StringValue `protobuf:"bytes,14,opt,name=final_url_suffix,json=finalUrlSuffix,proto3" json:"final_url_suffix,omitempty"` - // The language of the promotion. - // Represented as BCP 47 language tag. - LanguageCode *wrappers.StringValue `protobuf:"bytes,15,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // Discount type, can be percentage off or amount off. - // - // Types that are valid to be assigned to DiscountType: - // *PromotionFeedItem_PercentOff - // *PromotionFeedItem_MoneyAmountOff - DiscountType isPromotionFeedItem_DiscountType `protobuf_oneof:"discount_type"` - // Promotion trigger. Can be by promotion code or promo by eligible order - // amount. - // - // Types that are valid to be assigned to PromotionTrigger: - // *PromotionFeedItem_PromotionCode - // *PromotionFeedItem_OrdersOverAmount - PromotionTrigger isPromotionFeedItem_PromotionTrigger `protobuf_oneof:"promotion_trigger"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PromotionFeedItem) Reset() { *m = PromotionFeedItem{} } -func (m *PromotionFeedItem) String() string { return proto.CompactTextString(m) } -func (*PromotionFeedItem) ProtoMessage() {} -func (*PromotionFeedItem) Descriptor() ([]byte, []int) { - return fileDescriptor_1279b497763ecdff, []int{8} -} - -func (m *PromotionFeedItem) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PromotionFeedItem.Unmarshal(m, b) -} -func (m *PromotionFeedItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PromotionFeedItem.Marshal(b, m, deterministic) -} -func (m *PromotionFeedItem) XXX_Merge(src proto.Message) { - xxx_messageInfo_PromotionFeedItem.Merge(m, src) -} -func (m *PromotionFeedItem) XXX_Size() int { - return xxx_messageInfo_PromotionFeedItem.Size(m) -} -func (m *PromotionFeedItem) XXX_DiscardUnknown() { - xxx_messageInfo_PromotionFeedItem.DiscardUnknown(m) -} - -var xxx_messageInfo_PromotionFeedItem proto.InternalMessageInfo - -func (m *PromotionFeedItem) GetPromotionTarget() *wrappers.StringValue { - if m != nil { - return m.PromotionTarget - } - return nil -} - -func (m *PromotionFeedItem) GetDiscountModifier() enums.PromotionExtensionDiscountModifierEnum_PromotionExtensionDiscountModifier { - if m != nil { - return m.DiscountModifier - } - return enums.PromotionExtensionDiscountModifierEnum_UNSPECIFIED -} - -func (m *PromotionFeedItem) GetPromotionStartDate() *wrappers.StringValue { - if m != nil { - return m.PromotionStartDate - } - return nil -} - -func (m *PromotionFeedItem) GetPromotionEndDate() *wrappers.StringValue { - if m != nil { - return m.PromotionEndDate - } - return nil -} - -func (m *PromotionFeedItem) GetOccasion() enums.PromotionExtensionOccasionEnum_PromotionExtensionOccasion { - if m != nil { - return m.Occasion - } - return enums.PromotionExtensionOccasionEnum_UNSPECIFIED -} - -func (m *PromotionFeedItem) GetFinalUrls() []*wrappers.StringValue { - if m != nil { - return m.FinalUrls - } - return nil -} - -func (m *PromotionFeedItem) GetFinalMobileUrls() []*wrappers.StringValue { - if m != nil { - return m.FinalMobileUrls - } - return nil -} - -func (m *PromotionFeedItem) GetTrackingUrlTemplate() *wrappers.StringValue { - if m != nil { - return m.TrackingUrlTemplate - } - return nil -} - -func (m *PromotionFeedItem) GetUrlCustomParameters() []*CustomParameter { - if m != nil { - return m.UrlCustomParameters - } - return nil -} - -func (m *PromotionFeedItem) GetFinalUrlSuffix() *wrappers.StringValue { - if m != nil { - return m.FinalUrlSuffix - } - return nil -} - -func (m *PromotionFeedItem) GetLanguageCode() *wrappers.StringValue { - if m != nil { - return m.LanguageCode - } - return nil -} - -type isPromotionFeedItem_DiscountType interface { - isPromotionFeedItem_DiscountType() -} - -type PromotionFeedItem_PercentOff struct { - PercentOff *wrappers.Int64Value `protobuf:"bytes,3,opt,name=percent_off,json=percentOff,proto3,oneof"` -} - -type PromotionFeedItem_MoneyAmountOff struct { - MoneyAmountOff *Money `protobuf:"bytes,4,opt,name=money_amount_off,json=moneyAmountOff,proto3,oneof"` -} - -func (*PromotionFeedItem_PercentOff) isPromotionFeedItem_DiscountType() {} - -func (*PromotionFeedItem_MoneyAmountOff) isPromotionFeedItem_DiscountType() {} - -func (m *PromotionFeedItem) GetDiscountType() isPromotionFeedItem_DiscountType { - if m != nil { - return m.DiscountType - } - return nil -} - -func (m *PromotionFeedItem) GetPercentOff() *wrappers.Int64Value { - if x, ok := m.GetDiscountType().(*PromotionFeedItem_PercentOff); ok { - return x.PercentOff - } - return nil -} - -func (m *PromotionFeedItem) GetMoneyAmountOff() *Money { - if x, ok := m.GetDiscountType().(*PromotionFeedItem_MoneyAmountOff); ok { - return x.MoneyAmountOff - } - return nil -} - -type isPromotionFeedItem_PromotionTrigger interface { - isPromotionFeedItem_PromotionTrigger() -} - -type PromotionFeedItem_PromotionCode struct { - PromotionCode *wrappers.StringValue `protobuf:"bytes,5,opt,name=promotion_code,json=promotionCode,proto3,oneof"` -} - -type PromotionFeedItem_OrdersOverAmount struct { - OrdersOverAmount *Money `protobuf:"bytes,6,opt,name=orders_over_amount,json=ordersOverAmount,proto3,oneof"` -} - -func (*PromotionFeedItem_PromotionCode) isPromotionFeedItem_PromotionTrigger() {} - -func (*PromotionFeedItem_OrdersOverAmount) isPromotionFeedItem_PromotionTrigger() {} - -func (m *PromotionFeedItem) GetPromotionTrigger() isPromotionFeedItem_PromotionTrigger { - if m != nil { - return m.PromotionTrigger - } - return nil -} - -func (m *PromotionFeedItem) GetPromotionCode() *wrappers.StringValue { - if x, ok := m.GetPromotionTrigger().(*PromotionFeedItem_PromotionCode); ok { - return x.PromotionCode - } - return nil -} - -func (m *PromotionFeedItem) GetOrdersOverAmount() *Money { - if x, ok := m.GetPromotionTrigger().(*PromotionFeedItem_OrdersOverAmount); ok { - return x.OrdersOverAmount - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*PromotionFeedItem) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*PromotionFeedItem_PercentOff)(nil), - (*PromotionFeedItem_MoneyAmountOff)(nil), - (*PromotionFeedItem_PromotionCode)(nil), - (*PromotionFeedItem_OrdersOverAmount)(nil), - } -} - -// Represents a structured snippet extension. -type StructuredSnippetFeedItem struct { - // The header of the snippet. - // This string must not be empty. - Header *wrappers.StringValue `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` - // The values in the snippet. - // The maximum size of this collection is 10. - Values []*wrappers.StringValue `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StructuredSnippetFeedItem) Reset() { *m = StructuredSnippetFeedItem{} } -func (m *StructuredSnippetFeedItem) String() string { return proto.CompactTextString(m) } -func (*StructuredSnippetFeedItem) ProtoMessage() {} -func (*StructuredSnippetFeedItem) Descriptor() ([]byte, []int) { - return fileDescriptor_1279b497763ecdff, []int{9} -} - -func (m *StructuredSnippetFeedItem) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StructuredSnippetFeedItem.Unmarshal(m, b) -} -func (m *StructuredSnippetFeedItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StructuredSnippetFeedItem.Marshal(b, m, deterministic) -} -func (m *StructuredSnippetFeedItem) XXX_Merge(src proto.Message) { - xxx_messageInfo_StructuredSnippetFeedItem.Merge(m, src) -} -func (m *StructuredSnippetFeedItem) XXX_Size() int { - return xxx_messageInfo_StructuredSnippetFeedItem.Size(m) -} -func (m *StructuredSnippetFeedItem) XXX_DiscardUnknown() { - xxx_messageInfo_StructuredSnippetFeedItem.DiscardUnknown(m) -} - -var xxx_messageInfo_StructuredSnippetFeedItem proto.InternalMessageInfo - -func (m *StructuredSnippetFeedItem) GetHeader() *wrappers.StringValue { - if m != nil { - return m.Header - } - return nil -} - -func (m *StructuredSnippetFeedItem) GetValues() []*wrappers.StringValue { - if m != nil { - return m.Values - } - return nil -} - -// Represents a sitelink extension. -type SitelinkFeedItem struct { - // URL display text for the sitelink. - // The length of this string should be between 1 and 25, inclusive. - LinkText *wrappers.StringValue `protobuf:"bytes,1,opt,name=link_text,json=linkText,proto3" json:"link_text,omitempty"` - // First line of the description for the sitelink. - // If this value is set, line2 must also be set. - // The length of this string should be between 0 and 35, inclusive. - Line1 *wrappers.StringValue `protobuf:"bytes,2,opt,name=line1,proto3" json:"line1,omitempty"` - // Second line of the description for the sitelink. - // If this value is set, line1 must also be set. - // The length of this string should be between 0 and 35, inclusive. - Line2 *wrappers.StringValue `protobuf:"bytes,3,opt,name=line2,proto3" json:"line2,omitempty"` - // A list of possible final URLs after all cross domain redirects. - FinalUrls []*wrappers.StringValue `protobuf:"bytes,4,rep,name=final_urls,json=finalUrls,proto3" json:"final_urls,omitempty"` - // A list of possible final mobile URLs after all cross domain redirects. - FinalMobileUrls []*wrappers.StringValue `protobuf:"bytes,5,rep,name=final_mobile_urls,json=finalMobileUrls,proto3" json:"final_mobile_urls,omitempty"` - // URL template for constructing a tracking URL. - TrackingUrlTemplate *wrappers.StringValue `protobuf:"bytes,6,opt,name=tracking_url_template,json=trackingUrlTemplate,proto3" json:"tracking_url_template,omitempty"` - // A list of mappings to be used for substituting URL custom parameter tags in - // the tracking_url_template, final_urls, and/or final_mobile_urls. - UrlCustomParameters []*CustomParameter `protobuf:"bytes,7,rep,name=url_custom_parameters,json=urlCustomParameters,proto3" json:"url_custom_parameters,omitempty"` - // Final URL suffix to be appended to landing page URLs served with - // parallel tracking. - FinalUrlSuffix *wrappers.StringValue `protobuf:"bytes,8,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 *SitelinkFeedItem) Reset() { *m = SitelinkFeedItem{} } -func (m *SitelinkFeedItem) String() string { return proto.CompactTextString(m) } -func (*SitelinkFeedItem) ProtoMessage() {} -func (*SitelinkFeedItem) Descriptor() ([]byte, []int) { - return fileDescriptor_1279b497763ecdff, []int{10} -} - -func (m *SitelinkFeedItem) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SitelinkFeedItem.Unmarshal(m, b) -} -func (m *SitelinkFeedItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SitelinkFeedItem.Marshal(b, m, deterministic) -} -func (m *SitelinkFeedItem) XXX_Merge(src proto.Message) { - xxx_messageInfo_SitelinkFeedItem.Merge(m, src) -} -func (m *SitelinkFeedItem) XXX_Size() int { - return xxx_messageInfo_SitelinkFeedItem.Size(m) -} -func (m *SitelinkFeedItem) XXX_DiscardUnknown() { - xxx_messageInfo_SitelinkFeedItem.DiscardUnknown(m) -} - -var xxx_messageInfo_SitelinkFeedItem proto.InternalMessageInfo - -func (m *SitelinkFeedItem) GetLinkText() *wrappers.StringValue { - if m != nil { - return m.LinkText - } - return nil -} - -func (m *SitelinkFeedItem) GetLine1() *wrappers.StringValue { - if m != nil { - return m.Line1 - } - return nil -} - -func (m *SitelinkFeedItem) GetLine2() *wrappers.StringValue { - if m != nil { - return m.Line2 - } - return nil -} - -func (m *SitelinkFeedItem) GetFinalUrls() []*wrappers.StringValue { - if m != nil { - return m.FinalUrls - } - return nil -} - -func (m *SitelinkFeedItem) GetFinalMobileUrls() []*wrappers.StringValue { - if m != nil { - return m.FinalMobileUrls - } - return nil -} - -func (m *SitelinkFeedItem) GetTrackingUrlTemplate() *wrappers.StringValue { - if m != nil { - return m.TrackingUrlTemplate - } - return nil -} - -func (m *SitelinkFeedItem) GetUrlCustomParameters() []*CustomParameter { - if m != nil { - return m.UrlCustomParameters - } - return nil -} - -func (m *SitelinkFeedItem) GetFinalUrlSuffix() *wrappers.StringValue { - if m != nil { - return m.FinalUrlSuffix - } - return nil -} - -// Represents a hotel callout extension. -type HotelCalloutFeedItem struct { - // The callout text. - // The length of this string should be between 1 and 25, inclusive. - Text *wrappers.StringValue `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` - // The language of the hotel callout text. - // IETF BCP 47 compliant language code. - LanguageCode *wrappers.StringValue `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 *HotelCalloutFeedItem) Reset() { *m = HotelCalloutFeedItem{} } -func (m *HotelCalloutFeedItem) String() string { return proto.CompactTextString(m) } -func (*HotelCalloutFeedItem) ProtoMessage() {} -func (*HotelCalloutFeedItem) Descriptor() ([]byte, []int) { - return fileDescriptor_1279b497763ecdff, []int{11} -} - -func (m *HotelCalloutFeedItem) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HotelCalloutFeedItem.Unmarshal(m, b) -} -func (m *HotelCalloutFeedItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HotelCalloutFeedItem.Marshal(b, m, deterministic) -} -func (m *HotelCalloutFeedItem) XXX_Merge(src proto.Message) { - xxx_messageInfo_HotelCalloutFeedItem.Merge(m, src) -} -func (m *HotelCalloutFeedItem) XXX_Size() int { - return xxx_messageInfo_HotelCalloutFeedItem.Size(m) -} -func (m *HotelCalloutFeedItem) XXX_DiscardUnknown() { - xxx_messageInfo_HotelCalloutFeedItem.DiscardUnknown(m) -} - -var xxx_messageInfo_HotelCalloutFeedItem proto.InternalMessageInfo - -func (m *HotelCalloutFeedItem) GetText() *wrappers.StringValue { - if m != nil { - return m.Text - } - return nil -} - -func (m *HotelCalloutFeedItem) GetLanguageCode() *wrappers.StringValue { - if m != nil { - return m.LanguageCode - } - return nil -} - -func init() { - proto.RegisterType((*AppFeedItem)(nil), "google.ads.googleads.v2.common.AppFeedItem") - proto.RegisterType((*CallFeedItem)(nil), "google.ads.googleads.v2.common.CallFeedItem") - proto.RegisterType((*CalloutFeedItem)(nil), "google.ads.googleads.v2.common.CalloutFeedItem") - proto.RegisterType((*LocationFeedItem)(nil), "google.ads.googleads.v2.common.LocationFeedItem") - proto.RegisterType((*AffiliateLocationFeedItem)(nil), "google.ads.googleads.v2.common.AffiliateLocationFeedItem") - proto.RegisterType((*TextMessageFeedItem)(nil), "google.ads.googleads.v2.common.TextMessageFeedItem") - proto.RegisterType((*PriceFeedItem)(nil), "google.ads.googleads.v2.common.PriceFeedItem") - proto.RegisterType((*PriceOffer)(nil), "google.ads.googleads.v2.common.PriceOffer") - proto.RegisterType((*PromotionFeedItem)(nil), "google.ads.googleads.v2.common.PromotionFeedItem") - proto.RegisterType((*StructuredSnippetFeedItem)(nil), "google.ads.googleads.v2.common.StructuredSnippetFeedItem") - proto.RegisterType((*SitelinkFeedItem)(nil), "google.ads.googleads.v2.common.SitelinkFeedItem") - proto.RegisterType((*HotelCalloutFeedItem)(nil), "google.ads.googleads.v2.common.HotelCalloutFeedItem") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/common/extensions.proto", fileDescriptor_1279b497763ecdff) -} - -var fileDescriptor_1279b497763ecdff = []byte{ - // 1597 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x59, 0xdd, 0x4e, 0x1b, 0x47, - 0x1b, 0x8e, 0xc1, 0x10, 0x78, 0x0d, 0x06, 0x96, 0xe4, 0x93, 0xc3, 0x17, 0xe5, 0xcb, 0x67, 0xa9, - 0x52, 0x54, 0xa9, 0x76, 0xe2, 0xd0, 0x28, 0x75, 0xd4, 0xb4, 0xc6, 0x90, 0x40, 0x15, 0x7e, 0xb2, - 0x06, 0x54, 0x55, 0x48, 0xab, 0x61, 0x77, 0x6c, 0x46, 0xd9, 0x9d, 0xd9, 0xce, 0xcc, 0x52, 0xb8, - 0x80, 0xaa, 0x55, 0x7b, 0xdc, 0x1b, 0x68, 0xa5, 0x56, 0xea, 0x41, 0x6f, 0xa0, 0x47, 0x3d, 0xed, - 0x59, 0x4f, 0x7a, 0x11, 0xb9, 0x8a, 0x6a, 0x66, 0x67, 0xd7, 0x60, 0x02, 0xbb, 0xa6, 0x54, 0xea, - 0x41, 0x8e, 0xd8, 0x5d, 0xbf, 0xcf, 0x33, 0x33, 0xef, 0x3e, 0xef, 0xdf, 0x02, 0xf5, 0x1e, 0x63, - 0x3d, 0x1f, 0xd7, 0x91, 0x27, 0xcc, 0xa5, 0xba, 0x3a, 0x6c, 0xd4, 0x5d, 0x16, 0x04, 0x8c, 0xd6, - 0xf1, 0x91, 0xc4, 0x54, 0x10, 0x46, 0x45, 0x2d, 0xe4, 0x4c, 0x32, 0xeb, 0x4e, 0x6c, 0x55, 0x43, - 0x9e, 0xa8, 0xa5, 0x80, 0x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, 0x9c, 0x84, 0xba, 0x09, 0xcc, 0x15, 0x66, 0x27, 0x00, 0xd6, - 0x13, 0x18, 0xd3, 0xc7, 0x33, 0xaf, 0xe9, 0x9d, 0x2c, 0xbf, 0xac, 0x33, 0x8a, 0x8f, 0xed, 0x18, - 0x63, 0x75, 0xa1, 0xa8, 0x66, 0x5b, 0xfd, 0x62, 0xca, 0x0d, 0x7b, 0x78, 0xbd, 0xed, 0x50, 0x22, - 0xcf, 0x93, 0x9a, 0xfa, 0xcd, 0xd6, 0xfc, 0x03, 0xd3, 0xd5, 0xd8, 0x15, 0x4c, 0x57, 0xe3, 0x97, - 0x98, 0xae, 0xaa, 0x3f, 0x02, 0xcc, 0x6d, 0x25, 0xc3, 0x71, 0x1a, 0xde, 0xcf, 0x61, 0xb6, 0x3f, - 0x31, 0x4b, 0xc4, 0x7b, 0x38, 0x5f, 0x87, 0x38, 0x93, 0xa2, 0xb6, 0x35, 0xc8, 0xfa, 0xae, 0x00, - 0x73, 0x67, 0x46, 0x76, 0x13, 0xcb, 0x07, 0x99, 0xbe, 0x35, 0x5c, 0xa9, 0x0f, 0x97, 0x0d, 0xd3, - 0xba, 0x21, 0x32, 0x6e, 0xce, 0x32, 0xb3, 0x67, 0xbd, 0x81, 0x27, 0xd6, 0x06, 0xdc, 0xe8, 0x1f, - 0x50, 0x48, 0xc4, 0xa5, 0xe3, 0xa9, 0xc0, 0xce, 0x53, 0x24, 0xad, 0x14, 0xd9, 0x51, 0xc0, 0x65, - 0x15, 0xd7, 0x9f, 0x80, 0x75, 0xe2, 0x13, 0x03, 0xf5, 0x62, 0xb6, 0x3c, 0x15, 0xb3, 0xef, 0xe8, - 0x15, 0xea, 0x69, 0x2e, 0x09, 0x13, 0xc9, 0xa7, 0x09, 0x5d, 0x36, 0xcb, 0x8d, 0x4f, 0x87, 0xf6, - 0xd4, 0xa6, 0x21, 0x38, 0xc7, 0x43, 0xc9, 0xcf, 0x76, 0xba, 0xd2, 0x80, 0x1e, 0xe1,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7b, 0x63, 0x03, 0xc6, 0xd4, 0x3c, 0x94, 0x6f, 0xa4, 0x8a, 0x4d, 0x13, 0x4c, - 0xbe, 0x11, 0x2a, 0x36, 0x7d, 0xfb, 0x3d, 0xf1, 0x5f, 0xf1, 0x3d, 0xf1, 0xdb, 0x02, 0xdc, 0x58, - 0x65, 0x12, 0xfb, 0x83, 0x5f, 0x84, 0x92, 0xd9, 0xa2, 0x90, 0x7b, 0xb6, 0x38, 0x93, 0xac, 0x46, - 0x86, 0x4d, 0x56, 0x4b, 0xaf, 0x0b, 0x50, 0x75, 0x59, 0x90, 0xe1, 0xa1, 0xa5, 0x99, 0xb4, 0x72, - 0x89, 0x2d, 0x45, 0xba, 0x55, 0xf8, 0x6c, 0xd9, 0x40, 0x7a, 0x4c, 0x11, 0xd6, 0x18, 0xef, 0xd5, - 0x7b, 0x98, 0xea, 0x25, 0x93, 0x7f, 0x00, 0x84, 0x44, 0x9c, 0xf7, 0xff, 0x9b, 0x27, 0xf1, 0x9f, - 0xef, 0x47, 0x46, 0x9f, 0xb7, 0x5a, 0x3f, 0x8f, 0xdc, 0x79, 0x1e, 0x93, 0xb5, 0x3c, 0x51, 0x8b, - 0x2f, 0xd5, 0xd5, 0x6e, 0xa3, 0xd6, 0xd6, 0x66, 0xbf, 0x27, 0x06, 0x7b, 0x2d, 0x4f, 0xec, 0xa5, - 0x06, 0x7b, 0xbb, 0x8d, 0xbd, 0xd8, 0xe0, 0xf5, 0x48, 0x35, 0x7e, 0xda, 0x6c, 0xb6, 0x3c, 0xd1, - 0x6c, 0xa6, 0x26, 0xcd, 0xe6, 0x6e, 0xa3, 0xd9, 0x8c, 0x8d, 0xf6, 0xc7, 0xf5, 0xee, 0x1e, 0xfe, - 0x15, 0x00, 0x00, 0xff, 0xff, 0x2c, 0xb4, 0x28, 0x40, 0xe4, 0x1a, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/feed_common.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/feed_common.pb.go deleted file mode 100644 index 44da18a9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/feed_common.pb.go +++ /dev/null @@ -1,107 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/common/feed_common.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Represents a price in a particular currency. -type Money 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 *Money) Reset() { *m = Money{} } -func (m *Money) String() string { return proto.CompactTextString(m) } -func (*Money) ProtoMessage() {} -func (*Money) Descriptor() ([]byte, []int) { - return fileDescriptor_5efce5b82e058606, []int{0} -} - -func (m *Money) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Money.Unmarshal(m, b) -} -func (m *Money) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Money.Marshal(b, m, deterministic) -} -func (m *Money) XXX_Merge(src proto.Message) { - xxx_messageInfo_Money.Merge(m, src) -} -func (m *Money) XXX_Size() int { - return xxx_messageInfo_Money.Size(m) -} -func (m *Money) XXX_DiscardUnknown() { - xxx_messageInfo_Money.DiscardUnknown(m) -} - -var xxx_messageInfo_Money proto.InternalMessageInfo - -func (m *Money) GetCurrencyCode() *wrappers.StringValue { - if m != nil { - return m.CurrencyCode - } - return nil -} - -func (m *Money) GetAmountMicros() *wrappers.Int64Value { - if m != nil { - return m.AmountMicros - } - return nil -} - -func init() { - proto.RegisterType((*Money)(nil), "google.ads.googleads.v2.common.Money") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/common/feed_common.proto", fileDescriptor_5efce5b82e058606) -} - -var fileDescriptor_5efce5b82e058606 = []byte{ - // 326 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x41, 0x4a, 0xc3, 0x40, - 0x14, 0x86, 0x49, 0x44, 0x17, 0xd1, 0x22, 0x74, 0x55, 0x6a, 0x29, 0xd2, 0x95, 0xab, 0x19, 0x89, - 0xe2, 0x62, 0xdc, 0x98, 0x56, 0x2c, 0x2e, 0x0a, 0x45, 0x21, 0x0b, 0x09, 0x94, 0x69, 0xe6, 0x75, - 0x08, 0x34, 0xf3, 0xc2, 0x4c, 0x52, 0xe9, 0x1d, 0x3c, 0x85, 0x4b, 0x8f, 0xe2, 0x51, 0x7a, 0x0a, - 0x69, 0x5e, 0xd2, 0x8d, 0xe8, 0x6a, 0x7e, 0xe6, 0x7d, 0xff, 0xff, 0xcf, 0xbc, 0xe0, 0x5a, 0x23, - 0xea, 0x35, 0x70, 0xa9, 0x1c, 0x27, 0xb9, 0x57, 0x9b, 0x90, 0xa7, 0x98, 0xe7, 0x68, 0xf8, 0x0a, - 0x40, 0x2d, 0x48, 0xb3, 0xc2, 0x62, 0x89, 0xdd, 0x21, 0x61, 0x4c, 0x2a, 0xc7, 0x0e, 0x0e, 0xb6, - 0x09, 0x19, 0x51, 0xfd, 0x66, 0xce, 0x6b, 0x7a, 0x59, 0xad, 0xf8, 0xb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0x10, 0xb4, 0x3c, 0xa9, 0x5f, 0x77, 0xf3, 0x13, 0x00, 0x00, 0xff, 0xff, 0x30, 0xac, - 0x73, 0xf4, 0x14, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/final_app_url.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/final_app_url.pb.go deleted file mode 100644 index 599355df..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/final_app_url.pb.go +++ /dev/null @@ -1,116 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/common/final_app_url.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A URL for deep linking into an app for the given operating system. -type FinalAppUrl struct { - // The operating system targeted by this URL. Required. - OsType enums.AppUrlOperatingSystemTypeEnum_AppUrlOperatingSystemType `protobuf:"varint,1,opt,name=os_type,json=osType,proto3,enum=google.ads.googleads.v2.enums.AppUrlOperatingSystemTypeEnum_AppUrlOperatingSystemType" json:"os_type,omitempty"` - // The app deep link URL. Deep links specify a location in an app that - // corresponds to the content you'd like to show, and should be of the form - // {scheme}://{host_path} - // The scheme identifies which app to open. For your app, you can use a custom - // scheme that starts with the app's name. The host and path specify the - // unique location in the app where your content exists. - // Example: "exampleapp://productid_1234". Required. - Url *wrappers.StringValue `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FinalAppUrl) Reset() { *m = FinalAppUrl{} } -func (m *FinalAppUrl) String() string { return proto.CompactTextString(m) } -func (*FinalAppUrl) ProtoMessage() {} -func (*FinalAppUrl) Descriptor() ([]byte, []int) { - return fileDescriptor_4f9a04033e8150d6, []int{0} -} - -func (m *FinalAppUrl) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FinalAppUrl.Unmarshal(m, b) -} -func (m *FinalAppUrl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FinalAppUrl.Marshal(b, m, deterministic) -} -func (m *FinalAppUrl) XXX_Merge(src proto.Message) { - xxx_messageInfo_FinalAppUrl.Merge(m, src) -} -func (m *FinalAppUrl) XXX_Size() int { - return xxx_messageInfo_FinalAppUrl.Size(m) -} -func (m *FinalAppUrl) XXX_DiscardUnknown() { - xxx_messageInfo_FinalAppUrl.DiscardUnknown(m) -} - -var xxx_messageInfo_FinalAppUrl proto.InternalMessageInfo - -func (m *FinalAppUrl) GetOsType() enums.AppUrlOperatingSystemTypeEnum_AppUrlOperatingSystemType { - if m != nil { - return m.OsType - } - return enums.AppUrlOperatingSystemTypeEnum_UNSPECIFIED -} - -func (m *FinalAppUrl) GetUrl() *wrappers.StringValue { - if m != nil { - return m.Url - } - return nil -} - -func init() { - proto.RegisterType((*FinalAppUrl)(nil), "google.ads.googleads.v2.common.FinalAppUrl") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/common/final_app_url.proto", fileDescriptor_4f9a04033e8150d6) -} - -var fileDescriptor_4f9a04033e8150d6 = []byte{ - // 357 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xb1, 0x6a, 0xeb, 0x30, - 0x14, 0x86, 0xb1, 0x03, 0xb9, 0xe0, 0xc0, 0xe5, 0x92, 0x29,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2e, 0xdf, 0xc3, 0x45, 0xf1, 0x5b, 0x59, 0x57, 0xfd, 0xdd, 0xdd, 0x10, 0x4c, 0x73, 0x8e, 0x51, - 0x34, 0xa8, 0x75, 0x39, 0x09, 0x17, 0xc1, 0x6a, 0x44, 0x66, 0x9d, 0x59, 0xb7, 0x0c, 0xda, 0x5b, - 0x5d, 0x48, 0x91, 0xb0, 0xb2, 0xe6, 0xbb, 0x06, 0x5c, 0x7f, 0x06, 0xd1, 0xf2, 0x08, 0x15, 0xfa, - 0xf9, 0x62, 0xd7, 0x7f, 0xbe, 0x2d, 0xb5, 0x6d, 0xc4, 0xb6, 0xc1, 0xd3, 0x4d, 0x3b, 0x23, 0xa0, - 0x64, 0x52, 0x20, 0xd0, 0x02, 0x0b, 0x2e, 0x9d, 0x55, 0x77, 0xf9, 0xaa, 0x30, 0x7d, 0xef, 0xfb, - 0xcf, 0x1f, 0x2f, 0xe1, 0x60, 0x13, 0xc7, 0xaf, 0xe1, 0x7c, 0xe3, 0xc5, 0xe2, 0xdc, 0x20, 0x5f, - 0x36, 0x55, 0x42, 0xd0, 0x7f, 0x87, 0xbd, 0x77, 0x40, 0x1a, 0xe7, 0x26, 0xbd, 0x02, 0x69, 0x42, - 0x52, 0x0f, 0x7c, 0x84, 0x4b, 0xff, 0x97, 0xd2, 0x38, 0x37, 0x94, 0x5e, 0x11, 0x4a, 0x13, 0x42, - 0xa9, 0x87, 0x0e, 0x43, 0x97, 0xee, 0xef, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff, 0x0c, 0xda, 0x7a, - 0xf3, 0x7c, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/frequency_cap.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/frequency_cap.pb.go deleted file mode 100644 index 20816361..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/frequency_cap.pb.go +++ /dev/null @@ -1,190 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/common/frequency_cap.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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_b39111d225f0ecfa, []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 (m *FrequencyCapEntry) XXX_Merge(src proto.Message) { - xxx_messageInfo_FrequencyCapEntry.Merge(m, 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.v2.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.v2.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.v2.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_b39111d225f0ecfa, []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 (m *FrequencyCapKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_FrequencyCapKey.Merge(m, 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.v2.common.FrequencyCapEntry") - proto.RegisterType((*FrequencyCapKey)(nil), "google.ads.googleads.v2.common.FrequencyCapKey") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/common/frequency_cap.proto", fileDescriptor_b39111d225f0ecfa) -} - -var fileDescriptor_b39111d225f0ecfa = []byte{ - // 465 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02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7a, 0x51, 0x2e, 0x4a, 0xc6, 0x73, 0x2c, 0xea, 0x9c, 0xe4, 0xc0, - 0x4d, 0xa2, 0xbb, 0xd8, 0xb2, 0x68, 0x76, 0xfd, 0xb2, 0x27, 0xf6, 0xf1, 0x6d, 0xe2, 0x5f, 0x46, - 0xd1, 0xf7, 0xc9, 0xd1, 0xa5, 0x35, 0x8b, 0xb2, 0x06, 0x5b, 0xa8, 0xd1, 0x92, 0xe2, 0x73, 0x43, - 0xfb, 0xe1, 0x08, 0x49, 0x94, 0x35, 0xc9, 0x40, 0x48, 0x96, 0x34, 0xb1, 0x84, 0x9f, 0x93, 0x99, - 0x3d, 0x0d, 0xc3, 0x28, 0x6b, 0xc2, 0x70, 0xa0, 0x84, 0xe1, 0x92, 0x86, 0xa1, 0x25, 0xdd, 0x3c, - 0x30, 0xdd, 0x1d, 0xff, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x2c, 0x19, 0x50, 0xd8, 0x4f, 0x04, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/keyword_plan_common.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/keyword_plan_common.pb.go deleted file mode 100644 index 1ee57663..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/keyword_plan_common.pb.go +++ /dev/null @@ -1,112 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/common/keyword_plan_common.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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.v2.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_6e63362d59d02776, []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 (m *KeywordPlanHistoricalMetrics) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanHistoricalMetrics.Merge(m, 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.v2.common.KeywordPlanHistoricalMetrics") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/common/keyword_plan_common.proto", fileDescriptor_6e63362d59d02776) -} - -var fileDescriptor_6e63362d59d02776 = []byte{ - // 386 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0x4d, 0x6a, 0xe3, 0x30, - 0x14, 0xc6, 0x1e, 0x98, 0x85, 0x03, 0xb3, 0x30, 0xc3, 0x10, 0x32, 0x21, 0x84, 0xac, 0xb2, 0x92, - 0xc0, 0x33, 0x94, 0xa2, 0xae, 0x9c, 0xb6, 0xa4, 0xa5, 0x0d, 0x84, 0x14, 0xbc, 0x08, 0x06, 0xa3, - 0xd8, 0xaa, 0x62, 0x2a, 0x4b, 0x46, 0x92, 0x1d, 0x02, 0x3d, 0x4d, 0x97, 0x3d, 0x4a, 0x8f, 0xd2, - 0xae, 0x7a, 0x83, 0x62, 0xcb, 0x4e, 0x53, 0x4a, 0xb2, 0xf2, 0xb3, 0xde, 0xf7, 0xa3, 0xef, 0x3d, - 0x39, 0xa7, 0x54, 0x08, 0xca, 0x08, 0xc4, 0x89, 0x82, 0xa6, 0xac, 0xaa, 0xd2, 0x83, 0xb1, 0xc8, - 0x32, 0xc1, 0xe1, 0x03, 0xd9, 0x6e, 0x84, 0x4c, 0xa2, 0x9c, 0x61, 0x1e, 0x99, 0x33, 0x90, 0x4b, - 0xa1, 0x85, 0x3b, 0x30, 0x70, 0x80, 0x13, 0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, 0x08, - 0x49, 0x21, 0x25, 0xbc, 0x0e, 0xdf, 0x2e, 0x30, 0x4f, 0xd5, 0xa1, 0x97, 0x72, 0x66, 0x3e, 0x4f, - 0xf6, 0x8f, 0xa9, 0xef, 0x3f, 0xdb, 0x83, 0xa9, 0x11, 0xf3, 0x13, 0x05, 0x4c, 0x59, 0x55, 0x81, - 0x07, 0x8c, 0xe7, 0x4b, 0x0b, 0x08, 0xfd, 0x44, 0x85, 0x3b, 0x40, 0x18, 0x78, 0xa1, 0x01, 0xbc, - 0xda, 0x23, 0x73, 0x8a, 0x90, 0x9f, 0x28, 0x84, 0x76, 0x10, 0x84, 0x02, 0x0f, 0x21, 0x03, 0x5a, - 0xfd, 0xac, 0x6f, 0xf7, 0xef, 0x23, 0x00, 0x00, 0xff, 0xff, 0x66, 0x86, 0x27, 0xac, 0xc6, 0x02, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/matching_function.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/matching_function.pb.go deleted file mode 100644 index 58a3d56d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/matching_function.pb.go +++ /dev/null @@ -1,536 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/common/matching_function.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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 no feed items served. - // 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")) - // - // For more details, visit - // 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"` - // Operator for a function. - Operator enums.MatchingFunctionOperatorEnum_MatchingFunctionOperator `protobuf:"varint,4,opt,name=operator,proto3,enum=google.ads.googleads.v2.enums.MatchingFunctionOperatorEnum_MatchingFunctionOperator" json:"operator,omitempty"` - // The operands on the left hand side of the equation. This is also the - // operand to be used for single operand expressions such as NOT. - LeftOperands []*Operand `protobuf:"bytes,2,rep,name=left_operands,json=leftOperands,proto3" json:"left_operands,omitempty"` - // The operands on the right hand side of the equation. - RightOperands []*Operand `protobuf:"bytes,3,rep,name=right_operands,json=rightOperands,proto3" json:"right_operands,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_3b37b03cb2864905, []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 (m *MatchingFunction) XXX_Merge(src proto.Message) { - xxx_messageInfo_MatchingFunction.Merge(m, 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 (m *MatchingFunction) GetOperator() enums.MatchingFunctionOperatorEnum_MatchingFunctionOperator { - if m != nil { - return m.Operator - } - return enums.MatchingFunctionOperatorEnum_UNSPECIFIED -} - -func (m *MatchingFunction) GetLeftOperands() []*Operand { - if m != nil { - return m.LeftOperands - } - return nil -} - -func (m *MatchingFunction) GetRightOperands() []*Operand { - if m != nil { - return m.RightOperands - } - return nil -} - -// An operand in a matching function. -type Operand struct { - // Different operands that can be used in a matching function. Required. - // - // Types that are valid to be assigned to FunctionArgumentOperand: - // *Operand_ConstantOperand_ - // *Operand_FeedAttributeOperand_ - // *Operand_FunctionOperand_ - // *Operand_RequestContextOperand_ - FunctionArgumentOperand isOperand_FunctionArgumentOperand `protobuf_oneof:"function_argument_operand"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Operand) Reset() { *m = Operand{} } -func (m *Operand) String() string { return proto.CompactTextString(m) } -func (*Operand) ProtoMessage() {} -func (*Operand) Descriptor() ([]byte, []int) { - return fileDescriptor_3b37b03cb2864905, []int{1} -} - -func (m *Operand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Operand.Unmarshal(m, b) -} -func (m *Operand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Operand.Marshal(b, m, deterministic) -} -func (m *Operand) XXX_Merge(src proto.Message) { - xxx_messageInfo_Operand.Merge(m, src) -} -func (m *Operand) XXX_Size() int { - return xxx_messageInfo_Operand.Size(m) -} -func (m *Operand) XXX_DiscardUnknown() { - xxx_messageInfo_Operand.DiscardUnknown(m) -} - -var xxx_messageInfo_Operand proto.InternalMessageInfo - -type isOperand_FunctionArgumentOperand interface { - isOperand_FunctionArgumentOperand() -} - -type Operand_ConstantOperand_ struct { - ConstantOperand *Operand_ConstantOperand `protobuf:"bytes,1,opt,name=constant_operand,json=constantOperand,proto3,oneof"` -} - -type Operand_FeedAttributeOperand_ struct { - FeedAttributeOperand *Operand_FeedAttributeOperand `protobuf:"bytes,2,opt,name=feed_attribute_operand,json=feedAttributeOperand,proto3,oneof"` -} - -type Operand_FunctionOperand_ struct { - FunctionOperand *Operand_FunctionOperand `protobuf:"bytes,3,opt,name=function_operand,json=functionOperand,proto3,oneof"` -} - -type Operand_RequestContextOperand_ struct { - RequestContextOperand *Operand_RequestContextOperand `protobuf:"bytes,4,opt,name=request_context_operand,json=requestContextOperand,proto3,oneof"` -} - -func (*Operand_ConstantOperand_) isOperand_FunctionArgumentOperand() {} - -func (*Operand_FeedAttributeOperand_) isOperand_FunctionArgumentOperand() {} - -func (*Operand_FunctionOperand_) isOperand_FunctionArgumentOperand() {} - -func (*Operand_RequestContextOperand_) isOperand_FunctionArgumentOperand() {} - -func (m *Operand) GetFunctionArgumentOperand() isOperand_FunctionArgumentOperand { - if m != nil { - return m.FunctionArgumentOperand - } - return nil -} - -func (m *Operand) GetConstantOperand() *Operand_ConstantOperand { - if x, ok := m.GetFunctionArgumentOperand().(*Operand_ConstantOperand_); ok { - return x.ConstantOperand - } - return nil -} - -func (m *Operand) GetFeedAttributeOperand() *Operand_FeedAttributeOperand { - if x, ok := m.GetFunctionArgumentOperand().(*Operand_FeedAttributeOperand_); ok { - return x.FeedAttributeOperand - } - return nil -} - -func (m *Operand) GetFunctionOperand() *Operand_FunctionOperand { - if x, ok := m.GetFunctionArgumentOperand().(*Operand_FunctionOperand_); ok { - return x.FunctionOperand - } - return nil -} - -func (m *Operand) GetRequestContextOperand() *Operand_RequestContextOperand { - if x, ok := m.GetFunctionArgumentOperand().(*Operand_RequestContextOperand_); ok { - return x.RequestContextOperand - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Operand) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Operand_ConstantOperand_)(nil), - (*Operand_FeedAttributeOperand_)(nil), - (*Operand_FunctionOperand_)(nil), - (*Operand_RequestContextOperand_)(nil), - } -} - -// A constant operand in a matching function. -type Operand_ConstantOperand struct { - // Constant operand values. Required. - // - // Types that are valid to be assigned to ConstantOperandValue: - // *Operand_ConstantOperand_StringValue - // *Operand_ConstantOperand_LongValue - // *Operand_ConstantOperand_BooleanValue - // *Operand_ConstantOperand_DoubleValue - ConstantOperandValue isOperand_ConstantOperand_ConstantOperandValue `protobuf_oneof:"constant_operand_value"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Operand_ConstantOperand) Reset() { *m = Operand_ConstantOperand{} } -func (m *Operand_ConstantOperand) String() string { return proto.CompactTextString(m) } -func (*Operand_ConstantOperand) ProtoMessage() {} -func (*Operand_ConstantOperand) Descriptor() ([]byte, []int) { - return fileDescriptor_3b37b03cb2864905, []int{1, 0} -} - -func (m *Operand_ConstantOperand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Operand_ConstantOperand.Unmarshal(m, b) -} -func (m *Operand_ConstantOperand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Operand_ConstantOperand.Marshal(b, m, deterministic) -} -func (m *Operand_ConstantOperand) XXX_Merge(src proto.Message) { - xxx_messageInfo_Operand_ConstantOperand.Merge(m, src) -} -func (m *Operand_ConstantOperand) XXX_Size() int { - return xxx_messageInfo_Operand_ConstantOperand.Size(m) -} -func (m *Operand_ConstantOperand) XXX_DiscardUnknown() { - xxx_messageInfo_Operand_ConstantOperand.DiscardUnknown(m) -} - -var xxx_messageInfo_Operand_ConstantOperand proto.InternalMessageInfo - -type isOperand_ConstantOperand_ConstantOperandValue interface { - isOperand_ConstantOperand_ConstantOperandValue() -} - -type Operand_ConstantOperand_StringValue struct { - StringValue *wrappers.StringValue `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"` -} - -type Operand_ConstantOperand_LongValue struct { - LongValue *wrappers.Int64Value `protobuf:"bytes,2,opt,name=long_value,json=longValue,proto3,oneof"` -} - -type Operand_ConstantOperand_BooleanValue struct { - BooleanValue *wrappers.BoolValue `protobuf:"bytes,3,opt,name=boolean_value,json=booleanValue,proto3,oneof"` -} - -type Operand_ConstantOperand_DoubleValue struct { - DoubleValue *wrappers.DoubleValue `protobuf:"bytes,4,opt,name=double_value,json=doubleValue,proto3,oneof"` -} - -func (*Operand_ConstantOperand_StringValue) isOperand_ConstantOperand_ConstantOperandValue() {} - -func (*Operand_ConstantOperand_LongValue) isOperand_ConstantOperand_ConstantOperandValue() {} - -func (*Operand_ConstantOperand_BooleanValue) isOperand_ConstantOperand_ConstantOperandValue() {} - -func (*Operand_ConstantOperand_DoubleValue) isOperand_ConstantOperand_ConstantOperandValue() {} - -func (m *Operand_ConstantOperand) GetConstantOperandValue() isOperand_ConstantOperand_ConstantOperandValue { - if m != nil { - return m.ConstantOperandValue - } - return nil -} - -func (m *Operand_ConstantOperand) GetStringValue() *wrappers.StringValue { - if x, ok := m.GetConstantOperandValue().(*Operand_ConstantOperand_StringValue); ok { - return x.StringValue - } - return nil -} - -func (m *Operand_ConstantOperand) GetLongValue() *wrappers.Int64Value { - if x, ok := m.GetConstantOperandValue().(*Operand_ConstantOperand_LongValue); ok { - return x.LongValue - } - return nil -} - -func (m *Operand_ConstantOperand) GetBooleanValue() *wrappers.BoolValue { - if x, ok := m.GetConstantOperandValue().(*Operand_ConstantOperand_BooleanValue); ok { - return x.BooleanValue - } - return nil -} - -func (m *Operand_ConstantOperand) GetDoubleValue() *wrappers.DoubleValue { - if x, ok := m.GetConstantOperandValue().(*Operand_ConstantOperand_DoubleValue); ok { - return x.DoubleValue - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Operand_ConstantOperand) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Operand_ConstantOperand_StringValue)(nil), - (*Operand_ConstantOperand_LongValue)(nil), - (*Operand_ConstantOperand_BooleanValue)(nil), - (*Operand_ConstantOperand_DoubleValue)(nil), - } -} - -// A feed attribute operand in a matching function. -// Used to represent a feed attribute in feed. -type Operand_FeedAttributeOperand struct { - // The associated feed. Required. - FeedId *wrappers.Int64Value `protobuf:"bytes,1,opt,name=feed_id,json=feedId,proto3" json:"feed_id,omitempty"` - // Id of the referenced feed attribute. Required. - FeedAttributeId *wrappers.Int64Value `protobuf:"bytes,2,opt,name=feed_attribute_id,json=feedAttributeId,proto3" json:"feed_attribute_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Operand_FeedAttributeOperand) Reset() { *m = Operand_FeedAttributeOperand{} } -func (m *Operand_FeedAttributeOperand) String() string { return proto.CompactTextString(m) } -func (*Operand_FeedAttributeOperand) ProtoMessage() {} -func (*Operand_FeedAttributeOperand) Descriptor() ([]byte, []int) { - return fileDescriptor_3b37b03cb2864905, []int{1, 1} -} - -func (m *Operand_FeedAttributeOperand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Operand_FeedAttributeOperand.Unmarshal(m, b) -} -func (m *Operand_FeedAttributeOperand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Operand_FeedAttributeOperand.Marshal(b, m, deterministic) -} -func (m *Operand_FeedAttributeOperand) XXX_Merge(src proto.Message) { - xxx_messageInfo_Operand_FeedAttributeOperand.Merge(m, src) -} -func (m *Operand_FeedAttributeOperand) XXX_Size() int { - return xxx_messageInfo_Operand_FeedAttributeOperand.Size(m) -} -func (m *Operand_FeedAttributeOperand) XXX_DiscardUnknown() { - xxx_messageInfo_Operand_FeedAttributeOperand.DiscardUnknown(m) -} - -var xxx_messageInfo_Operand_FeedAttributeOperand proto.InternalMessageInfo - -func (m *Operand_FeedAttributeOperand) GetFeedId() *wrappers.Int64Value { - if m != nil { - return m.FeedId - } - return nil -} - -func (m *Operand_FeedAttributeOperand) GetFeedAttributeId() *wrappers.Int64Value { - if m != nil { - return m.FeedAttributeId - } - return nil -} - -// A function operand in a matching function. -// Used to represent nested functions. -type Operand_FunctionOperand struct { - // The matching function held in this operand. - MatchingFunction *MatchingFunction `protobuf:"bytes,1,opt,name=matching_function,json=matchingFunction,proto3" json:"matching_function,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Operand_FunctionOperand) Reset() { *m = Operand_FunctionOperand{} } -func (m *Operand_FunctionOperand) String() string { return proto.CompactTextString(m) } -func (*Operand_FunctionOperand) ProtoMessage() {} -func (*Operand_FunctionOperand) Descriptor() ([]byte, []int) { - return fileDescriptor_3b37b03cb2864905, []int{1, 2} -} - -func (m *Operand_FunctionOperand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Operand_FunctionOperand.Unmarshal(m, b) -} -func (m *Operand_FunctionOperand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Operand_FunctionOperand.Marshal(b, m, deterministic) -} -func (m *Operand_FunctionOperand) XXX_Merge(src proto.Message) { - xxx_messageInfo_Operand_FunctionOperand.Merge(m, src) -} -func (m *Operand_FunctionOperand) XXX_Size() int { - return xxx_messageInfo_Operand_FunctionOperand.Size(m) -} -func (m *Operand_FunctionOperand) XXX_DiscardUnknown() { - xxx_messageInfo_Operand_FunctionOperand.DiscardUnknown(m) -} - -var xxx_messageInfo_Operand_FunctionOperand proto.InternalMessageInfo - -func (m *Operand_FunctionOperand) GetMatchingFunction() *MatchingFunction { - if m != nil { - return m.MatchingFunction - } - return nil -} - -// An operand in a function referring to a value in the request context. -type Operand_RequestContextOperand struct { - // Type of value to be referred in the request context. - ContextType enums.MatchingFunctionContextTypeEnum_MatchingFunctionContextType `protobuf:"varint,1,opt,name=context_type,json=contextType,proto3,enum=google.ads.googleads.v2.enums.MatchingFunctionContextTypeEnum_MatchingFunctionContextType" json:"context_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Operand_RequestContextOperand) Reset() { *m = Operand_RequestContextOperand{} } -func (m *Operand_RequestContextOperand) String() string { return proto.CompactTextString(m) } -func (*Operand_RequestContextOperand) ProtoMessage() {} -func (*Operand_RequestContextOperand) Descriptor() ([]byte, []int) { - return fileDescriptor_3b37b03cb2864905, []int{1, 3} -} - -func (m *Operand_RequestContextOperand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Operand_RequestContextOperand.Unmarshal(m, b) -} -func (m *Operand_RequestContextOperand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Operand_RequestContextOperand.Marshal(b, m, deterministic) -} -func (m *Operand_RequestContextOperand) XXX_Merge(src proto.Message) { - xxx_messageInfo_Operand_RequestContextOperand.Merge(m, src) -} -func (m *Operand_RequestContextOperand) XXX_Size() int { - return xxx_messageInfo_Operand_RequestContextOperand.Size(m) -} -func (m *Operand_RequestContextOperand) XXX_DiscardUnknown() { - xxx_messageInfo_Operand_RequestContextOperand.DiscardUnknown(m) -} - -var xxx_messageInfo_Operand_RequestContextOperand proto.InternalMessageInfo - -func (m *Operand_RequestContextOperand) GetContextType() enums.MatchingFunctionContextTypeEnum_MatchingFunctionContextType { - if m != nil { - return m.ContextType - } - return enums.MatchingFunctionContextTypeEnum_UNSPECIFIED -} - -func init() { - proto.RegisterType((*MatchingFunction)(nil), "google.ads.googleads.v2.common.MatchingFunction") - proto.RegisterType((*Operand)(nil), "google.ads.googleads.v2.common.Operand") - proto.RegisterType((*Operand_ConstantOperand)(nil), "google.ads.googleads.v2.common.Operand.ConstantOperand") - proto.RegisterType((*Operand_FeedAttributeOperand)(nil), "google.ads.googleads.v2.common.Operand.FeedAttributeOperand") - proto.RegisterType((*Operand_FunctionOperand)(nil), "google.ads.googleads.v2.common.Operand.FunctionOperand") - proto.RegisterType((*Operand_RequestContextOperand)(nil), "google.ads.googleads.v2.common.Operand.RequestContextOperand") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/common/matching_function.proto", fileDescriptor_3b37b03cb2864905) -} - -var fileDescriptor_3b37b03cb2864905 = []byte{ - // 749 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x55, 0xcd, 0x4e, 0xdb, 0x4a, - 0x14, 0x26, 0x09, 0x82, 0xcb, 0x24, 0x24, 0x60, 0x01, 0x37, 0x37, 0x20, 0x84, 0xb2, 0xb9, 0xac, - 0xc6, 0x57, 0xbe, 0x88, 0x4a, 0x2e, 0xad, 0xe4, 0xf0, 0x2f, 0xb5, 0x05, 0xb9, 0x28, 0x0b, 0x94, - 0x2a, 0x72, 0x3c, 0x13, 0x63, 0xc9, 0x9e, 0x71, 0x3d, 0x63, 0x28, 0x8b, 0x3e, 0x46, 0xfb, 0x00, - 0x5d, 0x76, 0xd9, 0x5d, 0x5f, 0xa1, 0x6f, 0xd2, 0xae, 0xfa, 0x08, 0x95, 0x3d, 0x63, 0x87, 0x38, - 0x09, 0x24, 0x2b, 0xcf, 0x99, 0x73, 0xbe, 0xef, 0x9b, 0xf3, 0x33, 0x63, 0xb0, 0xef, 0x50, 0xea, - 0x78, 0x58, 0xb5, 0x10, 0x53, 0xc5, 0x32, 0x5e, 0xdd, 0x6a, 0xaa, 0x4d, 0x7d, 0x9f, 0x12, 0xd5, - 0xb7, 0xb8, 0x7d, 0xe3, 0x12, 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, 0xd5, 0xc1, 0x24, 0x69, 0x51, 0xfa, 0xd7, 0x0b, 0x5c, 0x36, - 0xe9, 0x07, 0xfd, 0x5c, 0x7c, 0xbe, 0x14, 0x4b, 0xa7, 0x86, 0xf1, 0xb5, 0xb8, 0x7d, 0x2a, 0xc8, - 0x0c, 0xc4, 0xa0, 0x58, 0xc6, 0xab, 0xb6, 0x06, 0x0f, 0x93, 0xb0, 0x1f, 0x69, 0x40, 0xc7, 0x40, - 0xac, 0x93, 0x05, 0x74, 0xda, 0x5a, 0x47, 0x04, 0xfc, 0x2a, 0x36, 0xc5, 0xae, 0xae, 0x1b, 0x88, - 0xe9, 0x7a, 0x16, 0xa2, 0xeb, 0x6d, 0x4d, 0xd7, 0x45, 0x50, 0x6f, 0x21, 0x39, 0xdd, 0xff, 0x7f, - 0x02, 0x00, 0x00, 0xff, 0xff, 0xc8, 0xd7, 0x5a, 0xa9, 0x3d, 0x08, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/metrics.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/metrics.pb.go deleted file mode 100644 index 59e0d2cf..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/metrics.pb.go +++ /dev/null @@ -1,1394 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/common/metrics.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Metrics data. -type Metrics struct { - // The percent of your ad impressions that are shown as the very first ad - // above the organic search results. - AbsoluteTopImpressionPercentage *wrappers.DoubleValue `protobuf:"bytes,95,opt,name=absolute_top_impression_percentage,json=absoluteTopImpressionPercentage,proto3" json:"absolute_top_impression_percentage,omitempty"` - // Average cost of viewable impressions (`active_view_impressions`). - ActiveViewCpm *wrappers.DoubleValue `protobuf:"bytes,1,opt,name=active_view_cpm,json=activeViewCpm,proto3" json:"active_view_cpm,omitempty"` - // Active view measurable clicks divided by active view viewable impressions. - // This metric is reported only for display network. - ActiveViewCtr *wrappers.DoubleValue `protobuf:"bytes,79,opt,name=active_view_ctr,json=activeViewCtr,proto3" json:"active_view_ctr,omitempty"` - // A measurement of how often your ad has become viewable on a Display - // Network site. - ActiveViewImpressions *wrappers.Int64Value `protobuf:"bytes,2,opt,name=active_view_impressions,json=activeViewImpressions,proto3" json:"active_view_impressions,omitempty"` - // The ratio of impressions that could be measured by Active View over the - // number of served impressions. - ActiveViewMeasurability *wrappers.DoubleValue `protobuf:"bytes,96,opt,name=active_view_measurability,json=activeViewMeasurability,proto3" json:"active_view_measurability,omitempty"` - // The cost of the impressions you received that were measurable by Active - // View. - ActiveViewMeasurableCostMicros *wrappers.Int64Value `protobuf:"bytes,3,opt,name=active_view_measurable_cost_micros,json=activeViewMeasurableCostMicros,proto3" json:"active_view_measurable_cost_micros,omitempty"` - // The number of times your ads are appearing on placements in positions - // where they can be seen. - ActiveViewMeasurableImpressions *wrappers.Int64Value `protobuf:"bytes,4,opt,name=active_view_measurable_impressions,json=activeViewMeasurableImpressions,proto3" json:"active_view_measurable_impressions,omitempty"` - // The percentage of time when your ad appeared on an Active View enabled site - // (measurable impressions) and was viewable (viewable impressions). - ActiveViewViewability *wrappers.DoubleValue `protobuf:"bytes,97,opt,name=active_view_viewability,json=activeViewViewability,proto3" json:"active_view_viewability,omitempty"` - // 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 only includes conversion actions - // which include_in_conversions_metric attribute is set to true. - 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 number of times people clicked the "Call" button to call a store during - // or after clicking an ad. This number doesn't include whether or not calls - // were connected, or the duration of any calls. - // This metric applies to feed items only. - AllConversionsFromClickToCall *wrappers.DoubleValue `protobuf:"bytes,118,opt,name=all_conversions_from_click_to_call,json=allConversionsFromClickToCall,proto3" json:"all_conversions_from_click_to_call,omitempty"` - // The number of times people clicked a "Get directions" button to navigate to - // a store after clicking an ad. - // This metric applies to feed items only. - AllConversionsFromDirections *wrappers.DoubleValue `protobuf:"bytes,119,opt,name=all_conversions_from_directions,json=allConversionsFromDirections,proto3" json:"all_conversions_from_directions,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 number of times people clicked a link to view a store's menu after - // clicking an ad. - // This metric applies to feed items only. - AllConversionsFromMenu *wrappers.DoubleValue `protobuf:"bytes,120,opt,name=all_conversions_from_menu,json=allConversionsFromMenu,proto3" json:"all_conversions_from_menu,omitempty"` - // The number of times people placed an order at a store after clicking an ad. - // This metric applies to feed items only. - AllConversionsFromOrder *wrappers.DoubleValue `protobuf:"bytes,121,opt,name=all_conversions_from_order,json=allConversionsFromOrder,proto3" json:"all_conversions_from_order,omitempty"` - // The number of other conversions (for example, posting a review or saving a - // location for a store) that occurred after people clicked an ad. - // This metric applies to feed items only. - AllConversionsFromOtherEngagement *wrappers.DoubleValue `protobuf:"bytes,122,opt,name=all_conversions_from_other_engagement,json=allConversionsFromOtherEngagement,proto3" json:"all_conversions_from_other_engagement,omitempty"` - // Estimated number of times people visited a store after clicking an ad. - // This metric applies to feed items only. - AllConversionsFromStoreVisit *wrappers.DoubleValue `protobuf:"bytes,123,opt,name=all_conversions_from_store_visit,json=allConversionsFromStoreVisit,proto3" json:"all_conversions_from_store_visit,omitempty"` - // The number of times that people were taken to a store's URL after clicking - // an ad. - // This metric applies to feed items only. - AllConversionsFromStoreWebsite *wrappers.DoubleValue `protobuf:"bytes,124,opt,name=all_conversions_from_store_website,json=allConversionsFromStoreWebsite,proto3" json:"all_conversions_from_store_website,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"` - // The average amount that you've been charged for an ad engagement. This - // amount is the total cost of all ad engagements divided by the total number - // of ad engagements. - AverageCpe *wrappers.DoubleValue `protobuf:"bytes,98,opt,name=average_cpe,json=averageCpe,proto3" json:"average_cpe,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"` - // Average number of pages viewed per session. - AveragePageViews *wrappers.DoubleValue `protobuf:"bytes,99,opt,name=average_page_views,json=averagePageViews,proto3" json:"average_page_views,omitempty"` - // Total duration of all sessions (in seconds) / number of sessions. Imported - // from Google Analytics. - AverageTimeOnSite *wrappers.DoubleValue `protobuf:"bytes,84,opt,name=average_time_on_site,json=averageTimeOnSite,proto3" json:"average_time_on_site,omitempty"` - // An indication of how other advertisers are bidding on similar products. - BenchmarkAverageMaxCpc *wrappers.DoubleValue `protobuf:"bytes,14,opt,name=benchmark_average_max_cpc,json=benchmarkAverageMaxCpc,proto3" json:"benchmark_average_max_cpc,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 number of times your ad or your site's listing in the unpaid - // results was clicked. See the help page at - // https://support.google.com/google-ads/answer/3097241 for details. - CombinedClicks *wrappers.Int64Value `protobuf:"bytes,115,opt,name=combined_clicks,json=combinedClicks,proto3" json:"combined_clicks,omitempty"` - // The number of times your ad or your site's listing in the unpaid - // results was clicked (combined_clicks) divided by combined_queries. See the - // help page at https://support.google.com/google-ads/answer/3097241 for - // details. - CombinedClicksPerQuery *wrappers.DoubleValue `protobuf:"bytes,116,opt,name=combined_clicks_per_query,json=combinedClicksPerQuery,proto3" json:"combined_clicks_per_query,omitempty"` - // The number of searches that returned pages from your site in the unpaid - // results or showed one of your text ads. See the help page at - // https://support.google.com/google-ads/answer/3097241 for details. - CombinedQueries *wrappers.Int64Value `protobuf:"bytes,117,opt,name=combined_queries,json=combinedQueries,proto3" json:"combined_queries,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). This only includes - // conversion actions which include_in_conversions_metric attribute is set to - // true. - 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. This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. - 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. This only - // includes conversion actions which include_in_conversions_metric attribute - // is set to true. - 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. This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. - 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 - // include_in_conversions_metric attribute is set to true. - 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. This only includes - // conversion actions which include_in_conversions_metric attribute is set to - // true. - CostPerConversion *wrappers.DoubleValue `protobuf:"bytes,28,opt,name=cost_per_conversion,json=costPerConversion,proto3" json:"cost_per_conversion,omitempty"` - // The cost of ad interactions divided by current model attributed - // conversions. This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. - CostPerCurrentModelAttributedConversion *wrappers.DoubleValue `protobuf:"bytes,106,opt,name=cost_per_current_model_attributed_conversion,json=costPerCurrentModelAttributedConversion,proto3" json:"cost_per_current_model_attributed_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"` - // Shows how your historic conversions data would look under the attribution - // model you've currently selected. This only includes conversion actions - // which include_in_conversions_metric attribute is set to true. - CurrentModelAttributedConversions *wrappers.DoubleValue `protobuf:"bytes,101,opt,name=current_model_attributed_conversions,json=currentModelAttributedConversions,proto3" json:"current_model_attributed_conversions,omitempty"` - // Current model attributed conversions from interactions divided by the - // number of ad interactions (such as clicks for text ads or views for video - // ads). This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. - CurrentModelAttributedConversionsFromInteractionsRate *wrappers.DoubleValue `protobuf:"bytes,102,opt,name=current_model_attributed_conversions_from_interactions_rate,json=currentModelAttributedConversionsFromInteractionsRate,proto3" json:"current_model_attributed_conversions_from_interactions_rate,omitempty"` - // The value of current model attributed conversions from interactions divided - // by the number of ad interactions. This only includes conversion actions - // which include_in_conversions_metric attribute is set to true. - CurrentModelAttributedConversionsFromInteractionsValuePerInteraction *wrappers.DoubleValue `protobuf:"bytes,103,opt,name=current_model_attributed_conversions_from_interactions_value_per_interaction,json=currentModelAttributedConversionsFromInteractionsValuePerInteraction,proto3" json:"current_model_attributed_conversions_from_interactions_value_per_interaction,omitempty"` - // The total value of current model attributed conversions. This only includes - // conversion actions which include_in_conversions_metric attribute is set to - // true. - CurrentModelAttributedConversionsValue *wrappers.DoubleValue `protobuf:"bytes,104,opt,name=current_model_attributed_conversions_value,json=currentModelAttributedConversionsValue,proto3" json:"current_model_attributed_conversions_value,omitempty"` - // The value of current model attributed conversions divided by the cost of ad - // interactions. This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. - CurrentModelAttributedConversionsValuePerCost *wrappers.DoubleValue `protobuf:"bytes,105,opt,name=current_model_attributed_conversions_value_per_cost,json=currentModelAttributedConversionsValuePerCost,proto3" json:"current_model_attributed_conversions_value_per_cost,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"` - // The average price difference between the price offered by reporting hotel - // advertiser and the cheapest price offered by the competing advertiser. - HotelPriceDifferencePercentage *wrappers.DoubleValue `protobuf:"bytes,129,opt,name=hotel_price_difference_percentage,json=hotelPriceDifferencePercentage,proto3" json:"hotel_price_difference_percentage,omitempty"` - // The creative historical quality score. - HistoricalCreativeQualityScore enums.QualityScoreBucketEnum_QualityScoreBucket `protobuf:"varint,80,opt,name=historical_creative_quality_score,json=historicalCreativeQualityScore,proto3,enum=google.ads.googleads.v2.enums.QualityScoreBucketEnum_QualityScoreBucket" json:"historical_creative_quality_score,omitempty"` - // The quality of historical landing page experience. - HistoricalLandingPageQualityScore enums.QualityScoreBucketEnum_QualityScoreBucket `protobuf:"varint,81,opt,name=historical_landing_page_quality_score,json=historicalLandingPageQualityScore,proto3,enum=google.ads.googleads.v2.enums.QualityScoreBucketEnum_QualityScoreBucket" json:"historical_landing_page_quality_score,omitempty"` - // The historical quality score. - HistoricalQualityScore *wrappers.Int64Value `protobuf:"bytes,82,opt,name=historical_quality_score,json=historicalQualityScore,proto3" json:"historical_quality_score,omitempty"` - // The historical search predicted click through rate (CTR). - HistoricalSearchPredictedCtr enums.QualityScoreBucketEnum_QualityScoreBucket `protobuf:"varint,83,opt,name=historical_search_predicted_ctr,json=historicalSearchPredictedCtr,proto3,enum=google.ads.googleads.v2.enums.QualityScoreBucketEnum_QualityScoreBucket" json:"historical_search_predicted_ctr,omitempty"` - // The number of times the ad was forwarded to someone else as a message. - GmailForwards *wrappers.Int64Value `protobuf:"bytes,85,opt,name=gmail_forwards,json=gmailForwards,proto3" json:"gmail_forwards,omitempty"` - // The number of times someone has saved your Gmail ad to their inbox as a - // message. - GmailSaves *wrappers.Int64Value `protobuf:"bytes,86,opt,name=gmail_saves,json=gmailSaves,proto3" json:"gmail_saves,omitempty"` - // The number of clicks to the landing page on the expanded state of Gmail - // ads. - GmailSecondaryClicks *wrappers.Int64Value `protobuf:"bytes,87,opt,name=gmail_secondary_clicks,json=gmailSecondaryClicks,proto3" json:"gmail_secondary_clicks,omitempty"` - // The number of times a store's location-based ad was shown. - // This metric applies to feed items only. - ImpressionsFromStoreReach *wrappers.Int64Value `protobuf:"bytes,125,opt,name=impressions_from_store_reach,json=impressionsFromStoreReach,proto3" json:"impressions_from_store_reach,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 types of payable and free interactions. - InteractionEventTypes []enums.InteractionEventTypeEnum_InteractionEventType `protobuf:"varint,100,rep,packed,name=interaction_event_types,json=interactionEventTypes,proto3,enum=google.ads.googleads.v2.enums.InteractionEventTypeEnum_InteractionEventType" json:"interaction_event_types,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"` - // Number of message chats initiated for Click To Message impressions that - // were message tracking eligible. - MessageChats *wrappers.Int64Value `protobuf:"bytes,126,opt,name=message_chats,json=messageChats,proto3" json:"message_chats,omitempty"` - // Number of Click To Message impressions that were message tracking eligible. - MessageImpressions *wrappers.Int64Value `protobuf:"bytes,127,opt,name=message_impressions,json=messageImpressions,proto3" json:"message_impressions,omitempty"` - // Number of message chats initiated (message_chats) divided by the number - // of message impressions (message_impressions). - // Rate at which a user initiates a message chat from an ad impression with - // a messaging option and message tracking enabled. - // Note that this rate can be more than 1.0 for a given message impression. - MessageChatRate *wrappers.DoubleValue `protobuf:"bytes,128,opt,name=message_chat_rate,json=messageChatRate,proto3" json:"message_chat_rate,omitempty"` - // The percentage of mobile clicks that go to a mobile-friendly page. - MobileFriendlyClicksPercentage *wrappers.DoubleValue `protobuf:"bytes,109,opt,name=mobile_friendly_clicks_percentage,json=mobileFriendlyClicksPercentage,proto3" json:"mobile_friendly_clicks_percentage,omitempty"` - // The number of times someone clicked your site's listing in the unpaid - // results for a particular query. See the help page at - // https://support.google.com/google-ads/answer/3097241 for details. - OrganicClicks *wrappers.Int64Value `protobuf:"bytes,110,opt,name=organic_clicks,json=organicClicks,proto3" json:"organic_clicks,omitempty"` - // The number of times someone clicked your site's listing in the unpaid - // results (organic_clicks) divided by the total number of searches that - // returned pages from your site (organic_queries). See the help page at - // https://support.google.com/google-ads/answer/3097241 for details. - OrganicClicksPerQuery *wrappers.DoubleValue `protobuf:"bytes,111,opt,name=organic_clicks_per_query,json=organicClicksPerQuery,proto3" json:"organic_clicks_per_query,omitempty"` - // The number of listings for your site in the unpaid search results. See the - // help page at https://support.google.com/google-ads/answer/3097241 for - // details. - OrganicImpressions *wrappers.Int64Value `protobuf:"bytes,112,opt,name=organic_impressions,json=organicImpressions,proto3" json:"organic_impressions,omitempty"` - // The number of times a page from your site was listed in the unpaid search - // results (organic_impressions) divided by the number of searches returning - // your site's listing in the unpaid results (organic_queries). See the help - // page at https://support.google.com/google-ads/answer/3097241 for details. - OrganicImpressionsPerQuery *wrappers.DoubleValue `protobuf:"bytes,113,opt,name=organic_impressions_per_query,json=organicImpressionsPerQuery,proto3" json:"organic_impressions_per_query,omitempty"` - // The total number of searches that returned your site's listing in the - // unpaid results. See the help page at - // https://support.google.com/google-ads/answer/3097241 for details. - OrganicQueries *wrappers.Int64Value `protobuf:"bytes,114,opt,name=organic_queries,json=organicQueries,proto3" json:"organic_queries,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 or Search ad impressions that are - // shown in the most prominent Shopping position. See - // [this article](https://support.google.com/google-ads/answer/7501826) - // 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 number estimating how often your ad wasn't the very first ad above the - // organic search results due to a low budget. Note: Search - // budget lost absolute top impression share is reported in the range of 0 to - // 0.9. Any value above 0.9 is reported as 0.9001. - SearchBudgetLostAbsoluteTopImpressionShare *wrappers.DoubleValue `protobuf:"bytes,88,opt,name=search_budget_lost_absolute_top_impression_share,json=searchBudgetLostAbsoluteTopImpressionShare,proto3" json:"search_budget_lost_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 number estimating how often your ad didn't show anywhere above the - // organic search results due to a low budget. Note: Search - // budget lost top impression share is reported in the range of 0 to 0.9. Any - // value above 0.9 is reported as 0.9001. - SearchBudgetLostTopImpressionShare *wrappers.DoubleValue `protobuf:"bytes,89,opt,name=search_budget_lost_top_impression_share,json=searchBudgetLostTopImpressionShare,proto3" json:"search_budget_lost_top_impression_share,omitempty"` - // The number of clicks you've received on the Search Network - // divided by the estimated number of clicks you were eligible to receive. - // Note: Search click share is reported in the range of 0.1 to 1. Any value - // below 0.1 is reported as 0.0999. - SearchClickShare *wrappers.DoubleValue `protobuf:"bytes,48,opt,name=search_click_share,json=searchClickShare,proto3" json:"search_click_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 number estimating how often your ad wasn't the very first ad above the - // organic search results due to poor Ad Rank. - // Note: Search rank lost absolute top impression share is reported in the - // range of 0 to 0.9. Any value above 0.9 is reported as 0.9001. - SearchRankLostAbsoluteTopImpressionShare *wrappers.DoubleValue `protobuf:"bytes,90,opt,name=search_rank_lost_absolute_top_impression_share,json=searchRankLostAbsoluteTopImpressionShare,proto3" json:"search_rank_lost_absolute_top_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 number estimating how often your ad didn't show anywhere above the - // organic search results due to poor Ad Rank. - // Note: Search rank lost top impression share is reported in the range of 0 - // to 0.9. Any value above 0.9 is reported as 0.9001. - SearchRankLostTopImpressionShare *wrappers.DoubleValue `protobuf:"bytes,91,opt,name=search_rank_lost_top_impression_share,json=searchRankLostTopImpressionShare,proto3" json:"search_rank_lost_top_impression_share,omitempty"` - // The impressions you've received in the top location (anywhere above the - // organic search results) compared to the estimated number of impressions you - // were eligible to receive in the top location. - // Note: Search top impression share is reported in the range of 0.1 to 1. Any - // value below 0.1 is reported as 0.0999. - SearchTopImpressionShare *wrappers.DoubleValue `protobuf:"bytes,92,opt,name=search_top_impression_share,json=searchTopImpressionShare,proto3" json:"search_top_impression_share,omitempty"` - // A measure of how quickly your page loads after clicks on your mobile ads. - // The score is a range from 1 to 10, 10 being the fastest. - SpeedScore *wrappers.Int64Value `protobuf:"bytes,107,opt,name=speed_score,json=speedScore,proto3" json:"speed_score,omitempty"` - // The percent of your ad impressions that are shown anywhere above the - // organic search results. - TopImpressionPercentage *wrappers.DoubleValue `protobuf:"bytes,93,opt,name=top_impression_percentage,json=topImpressionPercentage,proto3" json:"top_impression_percentage,omitempty"` - // The percentage of ad clicks to Accelerated Mobile Pages (AMP) landing pages - // that reach a valid AMP page. - ValidAcceleratedMobilePagesClicksPercentage *wrappers.DoubleValue `protobuf:"bytes,108,opt,name=valid_accelerated_mobile_pages_clicks_percentage,json=validAcceleratedMobilePagesClicksPercentage,proto3" json:"valid_accelerated_mobile_pages_clicks_percentage,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. This only - // includes conversion actions which include_in_conversions_metric attribute - // is set to true. - ValuePerConversion *wrappers.DoubleValue `protobuf:"bytes,53,opt,name=value_per_conversion,json=valuePerConversion,proto3" json:"value_per_conversion,omitempty"` - // The value of current model attributed conversions divided by the number of - // the conversions. This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. - ValuePerCurrentModelAttributedConversion *wrappers.DoubleValue `protobuf:"bytes,94,opt,name=value_per_current_model_attributed_conversion,json=valuePerCurrentModelAttributedConversion,proto3" json:"value_per_current_model_attributed_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_d00a5f345c1daae8, []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 (m *Metrics) XXX_Merge(src proto.Message) { - xxx_messageInfo_Metrics.Merge(m, 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) GetAbsoluteTopImpressionPercentage() *wrappers.DoubleValue { - if m != nil { - return m.AbsoluteTopImpressionPercentage - } - return nil -} - -func (m *Metrics) GetActiveViewCpm() *wrappers.DoubleValue { - if m != nil { - return m.ActiveViewCpm - } - return nil -} - -func (m *Metrics) GetActiveViewCtr() *wrappers.DoubleValue { - if m != nil { - return m.ActiveViewCtr - } - return nil -} - -func (m *Metrics) GetActiveViewImpressions() *wrappers.Int64Value { - if m != nil { - return m.ActiveViewImpressions - } - return nil -} - -func (m *Metrics) GetActiveViewMeasurability() *wrappers.DoubleValue { - if m != nil { - return m.ActiveViewMeasurability - } - return nil -} - -func (m *Metrics) GetActiveViewMeasurableCostMicros() *wrappers.Int64Value { - if m != nil { - return m.ActiveViewMeasurableCostMicros - } - return nil -} - -func (m *Metrics) GetActiveViewMeasurableImpressions() *wrappers.Int64Value { - if m != nil { - return m.ActiveViewMeasurableImpressions - } - return nil -} - -func (m *Metrics) GetActiveViewViewability() *wrappers.DoubleValue { - if m != nil { - return m.ActiveViewViewability - } - return nil -} - -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) GetAllConversionsFromClickToCall() *wrappers.DoubleValue { - if m != nil { - return m.AllConversionsFromClickToCall - } - return nil -} - -func (m *Metrics) GetAllConversionsFromDirections() *wrappers.DoubleValue { - if m != nil { - return m.AllConversionsFromDirections - } - return nil -} - -func (m *Metrics) GetAllConversionsFromInteractionsValuePerInteraction() *wrappers.DoubleValue { - if m != nil { - return m.AllConversionsFromInteractionsValuePerInteraction - } - return nil -} - -func (m *Metrics) GetAllConversionsFromMenu() *wrappers.DoubleValue { - if m != nil { - return m.AllConversionsFromMenu - } - return nil -} - -func (m *Metrics) GetAllConversionsFromOrder() *wrappers.DoubleValue { - if m != nil { - return m.AllConversionsFromOrder - } - return nil -} - -func (m *Metrics) GetAllConversionsFromOtherEngagement() *wrappers.DoubleValue { - if m != nil { - return m.AllConversionsFromOtherEngagement - } - return nil -} - -func (m *Metrics) GetAllConversionsFromStoreVisit() *wrappers.DoubleValue { - if m != nil { - return m.AllConversionsFromStoreVisit - } - return nil -} - -func (m *Metrics) GetAllConversionsFromStoreWebsite() *wrappers.DoubleValue { - if m != nil { - return m.AllConversionsFromStoreWebsite - } - 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) GetAverageCpe() *wrappers.DoubleValue { - if m != nil { - return m.AverageCpe - } - 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) GetAveragePageViews() *wrappers.DoubleValue { - if m != nil { - return m.AveragePageViews - } - return nil -} - -func (m *Metrics) GetAverageTimeOnSite() *wrappers.DoubleValue { - if m != nil { - return m.AverageTimeOnSite - } - return nil -} - -func (m *Metrics) GetBenchmarkAverageMaxCpc() *wrappers.DoubleValue { - if m != nil { - return m.BenchmarkAverageMaxCpc - } - 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) GetCombinedClicks() *wrappers.Int64Value { - if m != nil { - return m.CombinedClicks - } - return nil -} - -func (m *Metrics) GetCombinedClicksPerQuery() *wrappers.DoubleValue { - if m != nil { - return m.CombinedClicksPerQuery - } - return nil -} - -func (m *Metrics) GetCombinedQueries() *wrappers.Int64Value { - if m != nil { - return m.CombinedQueries - } - 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) GetCostPerCurrentModelAttributedConversion() *wrappers.DoubleValue { - if m != nil { - return m.CostPerCurrentModelAttributedConversion - } - 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) GetCurrentModelAttributedConversions() *wrappers.DoubleValue { - if m != nil { - return m.CurrentModelAttributedConversions - } - return nil -} - -func (m *Metrics) GetCurrentModelAttributedConversionsFromInteractionsRate() *wrappers.DoubleValue { - if m != nil { - return m.CurrentModelAttributedConversionsFromInteractionsRate - } - return nil -} - -func (m *Metrics) GetCurrentModelAttributedConversionsFromInteractionsValuePerInteraction() *wrappers.DoubleValue { - if m != nil { - return m.CurrentModelAttributedConversionsFromInteractionsValuePerInteraction - } - return nil -} - -func (m *Metrics) GetCurrentModelAttributedConversionsValue() *wrappers.DoubleValue { - if m != nil { - return m.CurrentModelAttributedConversionsValue - } - return nil -} - -func (m *Metrics) GetCurrentModelAttributedConversionsValuePerCost() *wrappers.DoubleValue { - if m != nil { - return m.CurrentModelAttributedConversionsValuePerCost - } - 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) GetHotelPriceDifferencePercentage() *wrappers.DoubleValue { - if m != nil { - return m.HotelPriceDifferencePercentage - } - return nil -} - -func (m *Metrics) GetHistoricalCreativeQualityScore() enums.QualityScoreBucketEnum_QualityScoreBucket { - if m != nil { - return m.HistoricalCreativeQualityScore - } - return enums.QualityScoreBucketEnum_UNSPECIFIED -} - -func (m *Metrics) GetHistoricalLandingPageQualityScore() enums.QualityScoreBucketEnum_QualityScoreBucket { - if m != nil { - return m.HistoricalLandingPageQualityScore - } - return enums.QualityScoreBucketEnum_UNSPECIFIED -} - -func (m *Metrics) GetHistoricalQualityScore() *wrappers.Int64Value { - if m != nil { - return m.HistoricalQualityScore - } - return nil -} - -func (m *Metrics) GetHistoricalSearchPredictedCtr() enums.QualityScoreBucketEnum_QualityScoreBucket { - if m != nil { - return m.HistoricalSearchPredictedCtr - } - return enums.QualityScoreBucketEnum_UNSPECIFIED -} - -func (m *Metrics) GetGmailForwards() *wrappers.Int64Value { - if m != nil { - return m.GmailForwards - } - return nil -} - -func (m *Metrics) GetGmailSaves() *wrappers.Int64Value { - if m != nil { - return m.GmailSaves - } - return nil -} - -func (m *Metrics) GetGmailSecondaryClicks() *wrappers.Int64Value { - if m != nil { - return m.GmailSecondaryClicks - } - return nil -} - -func (m *Metrics) GetImpressionsFromStoreReach() *wrappers.Int64Value { - if m != nil { - return m.ImpressionsFromStoreReach - } - 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) GetInteractionEventTypes() []enums.InteractionEventTypeEnum_InteractionEventType { - if m != nil { - return m.InteractionEventTypes - } - 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) GetMessageChats() *wrappers.Int64Value { - if m != nil { - return m.MessageChats - } - return nil -} - -func (m *Metrics) GetMessageImpressions() *wrappers.Int64Value { - if m != nil { - return m.MessageImpressions - } - return nil -} - -func (m *Metrics) GetMessageChatRate() *wrappers.DoubleValue { - if m != nil { - return m.MessageChatRate - } - return nil -} - -func (m *Metrics) GetMobileFriendlyClicksPercentage() *wrappers.DoubleValue { - if m != nil { - return m.MobileFriendlyClicksPercentage - } - return nil -} - -func (m *Metrics) GetOrganicClicks() *wrappers.Int64Value { - if m != nil { - return m.OrganicClicks - } - return nil -} - -func (m *Metrics) GetOrganicClicksPerQuery() *wrappers.DoubleValue { - if m != nil { - return m.OrganicClicksPerQuery - } - return nil -} - -func (m *Metrics) GetOrganicImpressions() *wrappers.Int64Value { - if m != nil { - return m.OrganicImpressions - } - return nil -} - -func (m *Metrics) GetOrganicImpressionsPerQuery() *wrappers.DoubleValue { - if m != nil { - return m.OrganicImpressionsPerQuery - } - return nil -} - -func (m *Metrics) GetOrganicQueries() *wrappers.Int64Value { - if m != nil { - return m.OrganicQueries - } - 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) GetSearchBudgetLostAbsoluteTopImpressionShare() *wrappers.DoubleValue { - if m != nil { - return m.SearchBudgetLostAbsoluteTopImpressionShare - } - return nil -} - -func (m *Metrics) GetSearchBudgetLostImpressionShare() *wrappers.DoubleValue { - if m != nil { - return m.SearchBudgetLostImpressionShare - } - return nil -} - -func (m *Metrics) GetSearchBudgetLostTopImpressionShare() *wrappers.DoubleValue { - if m != nil { - return m.SearchBudgetLostTopImpressionShare - } - return nil -} - -func (m *Metrics) GetSearchClickShare() *wrappers.DoubleValue { - if m != nil { - return m.SearchClickShare - } - 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) GetSearchRankLostAbsoluteTopImpressionShare() *wrappers.DoubleValue { - if m != nil { - return m.SearchRankLostAbsoluteTopImpressionShare - } - return nil -} - -func (m *Metrics) GetSearchRankLostImpressionShare() *wrappers.DoubleValue { - if m != nil { - return m.SearchRankLostImpressionShare - } - return nil -} - -func (m *Metrics) GetSearchRankLostTopImpressionShare() *wrappers.DoubleValue { - if m != nil { - return m.SearchRankLostTopImpressionShare - } - return nil -} - -func (m *Metrics) GetSearchTopImpressionShare() *wrappers.DoubleValue { - if m != nil { - return m.SearchTopImpressionShare - } - return nil -} - -func (m *Metrics) GetSpeedScore() *wrappers.Int64Value { - if m != nil { - return m.SpeedScore - } - return nil -} - -func (m *Metrics) GetTopImpressionPercentage() *wrappers.DoubleValue { - if m != nil { - return m.TopImpressionPercentage - } - return nil -} - -func (m *Metrics) GetValidAcceleratedMobilePagesClicksPercentage() *wrappers.DoubleValue { - if m != nil { - return m.ValidAcceleratedMobilePagesClicksPercentage - } - 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) GetValuePerCurrentModelAttributedConversion() *wrappers.DoubleValue { - if m != nil { - return m.ValuePerCurrentModelAttributedConversion - } - 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.v2.common.Metrics") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/common/metrics.proto", fileDescriptor_d00a5f345c1daae8) -} - -var fileDescriptor_d00a5f345c1daae8 = []byte{ - // 2591 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x9a, 0x5b, 0x73, 0x14, 0xc7, - 0xd9, 0xc7, 0x6b, 0xe1, 0x2d, 0xfb, 0xcd, 0x23, 0x90, 0x60, 0x10, 0xd0, 0x92, 0x65, 0x49, 0x28, - 0x9c, 0x82, 0x61, 0x25, 0x84, 0x65, 0x1c, 0x01, 0x76, 0x56, 0x07, 0x40, 0x44, 0x02, 0x9d, 0x90, - 0xc0, 0x56, 0x32, 0xee, 0x9d, 0x69, 0xed, 0x8e, 0x35, 0x87, 0xa5, 0xbb, 0x77, 0x85, 0xe2, 0xd8, - 0x39, 0x5e, 0x24, 0x57, 0x49, 0x55, 0x6e, 0x52, 0xb9, 0xcc, 0x65, 0x3e, 0x41, 0xbe, 0x40, 0x6e, - 0xf2, 0x45, 0x52, 0x95, 0x4f, 0x91, 0xea, 0xc3, 0xcc, 0xf4, 0xee, 0xce, 0x6a, 0x5b, 0x94, 0x6f, - 0x60, 0x19, 0xfa, 0xff, 0xfb, 0x3f, 0xd3, 0xdd, 0xf3, 0x74, 0xf7, 0x33, 0x03, 0xb7, 0x6b, 0x49, - 0x52, 0x0b, 0xc9, 0x34, 0xf6, 0xd9, 0xb4, 0xfa, 0x29, 0x7e, 0xb5, 0x66, 0xa7, 0xbd, 0x24, 0x8a, - 0x92, 0x78, 0x3a, 0x22, 0x9c, 0x06, 0x1e, 0x2b, 0x37, 0x68, 0xc2, 0x13, 0x67, 0x5c, 0x35, 0x29, - 0x63, 0x9f, 0x95, 0xb3, 0xd6, 0xe5, 0xd6, 0x6c, 0x59, 0xb5, 0x1e, 0x9d, 0xef, 0x45, 0x23, 0x71, - 0x33, 0x62, 0xd3, 0x41, 0xcc, 0x09, 0xc5, 0x1e, 0x0f, 0x92, 0xd8, 0x25, 0x2d, 0x12, 0x73, 0x97, - 0x1f, 0x35, 0x88, 0x62, 0x8f, 0x7e, 0x7a, 0xbc, 0xf6, 0x4d, 0x13, 0x87, 0x01, 0x3f, 0x72, 0x99, - 0x97, 0x50, 0xe2, 0x56, 0x9b, 0xde, 0x01, 0xe1, 0x5a, 0xa9, 0xa3, 0x9a, 0x96, 0xff, 0xaa, 0x36, - 0xf7, 0xa7, 0x0f, 0x29, 0x6e, 0x34, 0x08, 0xd5, 0x51, 0x8f, 0x8e, 0xa5, 0xe4, 0x46, 0x30, 0x8d, - 0xe3, 0x38, 0xe1, 0x58, 0x44, 0xa0, 0xff, 0x77, 0xea, 0x5f, 0x2f, 0xe0, 0xfd, 0x35, 0x75, 0x97, - 0x4e, 0x00, 0x53, 0xb8, 0xca, 0x92, 0xb0, 0xc9, 0x89, 0xcb, 0x93, 0x86, 0x1b, 0x44, 0x0d, 0x4a, - 0x18, 0x13, 0xf1, 0x36, 0x08, 0xf5, 0x48, 0xcc, 0x71, 0x8d, 0x20, 0x77, 0xb2, 0x74, 0x73, 0x60, - 0x76, 0x4c, 0xf7, 0x40, 0x39, 0xb5, 0x2d, 0x2f, 0x25, 0xcd, 0x6a, 0x48, 0x76, 0x70, 0xd8, 0x24, - 0x9b, 0x13, 0x29, 0x67, 0x3b, 0x69, 0xac, 0x64, 0x94, 0xf5, 0x0c, 0xe2, 0x2c, 0xc1, 0x90, 0xe8, - 0x89, 0x16, 0x71, 0x5b, 0x01, 0x39, 0x74, 0xbd, 0x46, 0x84, 0x4a, 0x16, 0xdc, 0xb3, 0x4a, 0xb4, - 0x13, 0x90, 0xc3, 0xc5, 0x46, 0xd4, 0x45, 0xe1, 0x14, 0xbd, 0x38, 0x21, 0x85, 0x53, 0x67, 0x0b, - 0x2e, 0x9b, 0x94, 0xfc, 0xae, 0x19, 0x3a, 0x25, 0x69, 0x1f, 0x74, 0xd1, 0x56, 0x62, 0xfe, 0xc9, - 0xc7, 0x0a, 0x76, 0x31, 0x87, 0xe5, 0x77, 0xca, 0x9c, 0x57, 0x30, 0x62, 0x42, 0x23, 0x82, 0x59, - 0x93, 0xe2, 0x6a, 0x20, 0x46, 0x11, 0x7d, 0x65, 0x11, 0xe4, 0xe5, 0x9c, 0xbb, 0x66,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, 0x67, - 0xf3, 0xf3, 0x59, 0x93, 0xf9, 0xf9, 0x9d, 0xd9, 0xf9, 0x79, 0xd5, 0xa8, 0xfa, 0x9e, 0x8c, 0xee, - 0xde, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x67, 0x74, 0x79, 0x5f, 0xbc, 0x29, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/policy.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/policy.pb.go deleted file mode 100644 index 93fb1f09..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/policy.pb.go +++ /dev/null @@ -1,1007 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/common/policy.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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_4d59a9c11d6f3bf2, []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 (m *PolicyViolationKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyViolationKey.Merge(m, 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 exemption is done. Ignorable policy -// topics are only usable with expanded text ads and responsive search ads. All -// other ad types must use policy violation keys. -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"` - // The list of policy violation keys that should not cause a - // PolicyViolationError to be reported. Not all policy violations are - // exemptable, please refer to the is_exemptible field in the returned - // PolicyViolationError. - // - // Resources violating these polices 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. - ExemptPolicyViolationKeys []*PolicyViolationKey `protobuf:"bytes,2,rep,name=exempt_policy_violation_keys,json=exemptPolicyViolationKeys,proto3" json:"exempt_policy_violation_keys,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_4d59a9c11d6f3bf2, []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 (m *PolicyValidationParameter) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyValidationParameter.Merge(m, 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 -} - -func (m *PolicyValidationParameter) GetExemptPolicyViolationKeys() []*PolicyViolationKey { - if m != nil { - return m.ExemptPolicyViolationKeys - } - 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. -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.v2.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_4d59a9c11d6f3bf2, []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 (m *PolicyTopicEntry) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyTopicEntry.Merge(m, 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. -type PolicyTopicEvidence struct { - // Specific evidence information depending on the evidence type. - // - // Types that are valid to be assigned to Value: - // *PolicyTopicEvidence_WebsiteList_ - // *PolicyTopicEvidence_TextList_ - // *PolicyTopicEvidence_LanguageCode - // *PolicyTopicEvidence_DestinationTextList_ - // *PolicyTopicEvidence_DestinationMismatch_ - // *PolicyTopicEvidence_DestinationNotWorking_ - 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_4d59a9c11d6f3bf2, []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 (m *PolicyTopicEvidence) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyTopicEvidence.Merge(m, 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_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"` -} - -type PolicyTopicEvidence_DestinationNotWorking_ struct { - DestinationNotWorking *PolicyTopicEvidence_DestinationNotWorking `protobuf:"bytes,8,opt,name=destination_not_working,json=destinationNotWorking,proto3,oneof"` -} - -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 (*PolicyTopicEvidence_DestinationNotWorking_) isPolicyTopicEvidence_Value() {} - -func (m *PolicyTopicEvidence) GetValue() isPolicyTopicEvidence_Value { - if m != nil { - return m.Value - } - 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 -} - -func (m *PolicyTopicEvidence) GetDestinationNotWorking() *PolicyTopicEvidence_DestinationNotWorking { - if x, ok := m.GetValue().(*PolicyTopicEvidence_DestinationNotWorking_); ok { - return x.DestinationNotWorking - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*PolicyTopicEvidence) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*PolicyTopicEvidence_WebsiteList_)(nil), - (*PolicyTopicEvidence_TextList_)(nil), - (*PolicyTopicEvidence_LanguageCode)(nil), - (*PolicyTopicEvidence_DestinationTextList_)(nil), - (*PolicyTopicEvidence_DestinationMismatch_)(nil), - (*PolicyTopicEvidence_DestinationNotWorking_)(nil), - } -} - -// A list of fragments of text that violated a policy. -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_4d59a9c11d6f3bf2, []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 (m *PolicyTopicEvidence_TextList) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyTopicEvidence_TextList.Merge(m, 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. -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_4d59a9c11d6f3bf2, []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 (m *PolicyTopicEvidence_WebsiteList) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyTopicEvidence_WebsiteList.Merge(m, 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. -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_4d59a9c11d6f3bf2, []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 (m *PolicyTopicEvidence_DestinationTextList) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyTopicEvidence_DestinationTextList.Merge(m, 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. -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.v2.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_4d59a9c11d6f3bf2, []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 (m *PolicyTopicEvidence_DestinationMismatch) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyTopicEvidence_DestinationMismatch.Merge(m, 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 -} - -// Evidence details when the destination is returning an HTTP error -// code or isn't functional in all locations for commonly used devices. -type PolicyTopicEvidence_DestinationNotWorking struct { - // The full URL that didn't work. - ExpandedUrl *wrappers.StringValue `protobuf:"bytes,3,opt,name=expanded_url,json=expandedUrl,proto3" json:"expanded_url,omitempty"` - // The type of device that failed to load the URL. - Device enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_PolicyTopicEvidenceDestinationNotWorkingDevice `protobuf:"varint,4,opt,name=device,proto3,enum=google.ads.googleads.v2.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_PolicyTopicEvidenceDestinationNotWorkingDevice" json:"device,omitempty"` - // The time the URL was last checked. - // The format is "YYYY-MM-DD HH:MM:SS". - // Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - LastCheckedDateTime *wrappers.StringValue `protobuf:"bytes,5,opt,name=last_checked_date_time,json=lastCheckedDateTime,proto3" json:"last_checked_date_time,omitempty"` - // Indicates the reason of the DESTINATION_NOT_WORKING policy finding. - // - // Types that are valid to be assigned to Reason: - // *PolicyTopicEvidence_DestinationNotWorking_DnsErrorType - // *PolicyTopicEvidence_DestinationNotWorking_HttpErrorCode - Reason isPolicyTopicEvidence_DestinationNotWorking_Reason `protobuf_oneof:"reason"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PolicyTopicEvidence_DestinationNotWorking) Reset() { - *m = PolicyTopicEvidence_DestinationNotWorking{} -} -func (m *PolicyTopicEvidence_DestinationNotWorking) String() string { return proto.CompactTextString(m) } -func (*PolicyTopicEvidence_DestinationNotWorking) ProtoMessage() {} -func (*PolicyTopicEvidence_DestinationNotWorking) Descriptor() ([]byte, []int) { - return fileDescriptor_4d59a9c11d6f3bf2, []int{3, 4} -} - -func (m *PolicyTopicEvidence_DestinationNotWorking) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PolicyTopicEvidence_DestinationNotWorking.Unmarshal(m, b) -} -func (m *PolicyTopicEvidence_DestinationNotWorking) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PolicyTopicEvidence_DestinationNotWorking.Marshal(b, m, deterministic) -} -func (m *PolicyTopicEvidence_DestinationNotWorking) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyTopicEvidence_DestinationNotWorking.Merge(m, src) -} -func (m *PolicyTopicEvidence_DestinationNotWorking) XXX_Size() int { - return xxx_messageInfo_PolicyTopicEvidence_DestinationNotWorking.Size(m) -} -func (m *PolicyTopicEvidence_DestinationNotWorking) XXX_DiscardUnknown() { - xxx_messageInfo_PolicyTopicEvidence_DestinationNotWorking.DiscardUnknown(m) -} - -var xxx_messageInfo_PolicyTopicEvidence_DestinationNotWorking proto.InternalMessageInfo - -func (m *PolicyTopicEvidence_DestinationNotWorking) GetExpandedUrl() *wrappers.StringValue { - if m != nil { - return m.ExpandedUrl - } - return nil -} - -func (m *PolicyTopicEvidence_DestinationNotWorking) GetDevice() enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_PolicyTopicEvidenceDestinationNotWorkingDevice { - if m != nil { - return m.Device - } - return enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_UNSPECIFIED -} - -func (m *PolicyTopicEvidence_DestinationNotWorking) GetLastCheckedDateTime() *wrappers.StringValue { - if m != nil { - return m.LastCheckedDateTime - } - return nil -} - -type isPolicyTopicEvidence_DestinationNotWorking_Reason interface { - isPolicyTopicEvidence_DestinationNotWorking_Reason() -} - -type PolicyTopicEvidence_DestinationNotWorking_DnsErrorType struct { - DnsErrorType enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum_PolicyTopicEvidenceDestinationNotWorkingDnsErrorType `protobuf:"varint,1,opt,name=dns_error_type,json=dnsErrorType,proto3,enum=google.ads.googleads.v2.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum_PolicyTopicEvidenceDestinationNotWorkingDnsErrorType,oneof"` -} - -type PolicyTopicEvidence_DestinationNotWorking_HttpErrorCode struct { - HttpErrorCode *wrappers.Int64Value `protobuf:"bytes,2,opt,name=http_error_code,json=httpErrorCode,proto3,oneof"` -} - -func (*PolicyTopicEvidence_DestinationNotWorking_DnsErrorType) isPolicyTopicEvidence_DestinationNotWorking_Reason() { -} - -func (*PolicyTopicEvidence_DestinationNotWorking_HttpErrorCode) isPolicyTopicEvidence_DestinationNotWorking_Reason() { -} - -func (m *PolicyTopicEvidence_DestinationNotWorking) GetReason() isPolicyTopicEvidence_DestinationNotWorking_Reason { - if m != nil { - return m.Reason - } - return nil -} - -func (m *PolicyTopicEvidence_DestinationNotWorking) GetDnsErrorType() enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum_PolicyTopicEvidenceDestinationNotWorkingDnsErrorType { - if x, ok := m.GetReason().(*PolicyTopicEvidence_DestinationNotWorking_DnsErrorType); ok { - return x.DnsErrorType - } - return enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum_UNSPECIFIED -} - -func (m *PolicyTopicEvidence_DestinationNotWorking) GetHttpErrorCode() *wrappers.Int64Value { - if x, ok := m.GetReason().(*PolicyTopicEvidence_DestinationNotWorking_HttpErrorCode); ok { - return x.HttpErrorCode - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*PolicyTopicEvidence_DestinationNotWorking) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*PolicyTopicEvidence_DestinationNotWorking_DnsErrorType)(nil), - (*PolicyTopicEvidence_DestinationNotWorking_HttpErrorCode)(nil), - } -} - -// Describes the effect on serving that a policy topic entry will have. -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_4d59a9c11d6f3bf2, []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 (m *PolicyTopicConstraint) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyTopicConstraint.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*PolicyTopicConstraint) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*PolicyTopicConstraint_CountryConstraintList_)(nil), - (*PolicyTopicConstraint_ResellerConstraint_)(nil), - (*PolicyTopicConstraint_CertificateMissingInCountryList)(nil), - (*PolicyTopicConstraint_CertificateDomainMismatchInCountryList)(nil), - } -} - -// A list of countries where a resource's serving is constrained. -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_4d59a9c11d6f3bf2, []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 (m *PolicyTopicConstraint_CountryConstraintList) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyTopicConstraint_CountryConstraintList.Merge(m, 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. -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_4d59a9c11d6f3bf2, []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 (m *PolicyTopicConstraint_ResellerConstraint) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyTopicConstraint_ResellerConstraint.Merge(m, 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. -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_4d59a9c11d6f3bf2, []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 (m *PolicyTopicConstraint_CountryConstraint) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyTopicConstraint_CountryConstraint.Merge(m, 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.v2.common.PolicyViolationKey") - proto.RegisterType((*PolicyValidationParameter)(nil), "google.ads.googleads.v2.common.PolicyValidationParameter") - proto.RegisterType((*PolicyTopicEntry)(nil), "google.ads.googleads.v2.common.PolicyTopicEntry") - proto.RegisterType((*PolicyTopicEvidence)(nil), "google.ads.googleads.v2.common.PolicyTopicEvidence") - proto.RegisterType((*PolicyTopicEvidence_TextList)(nil), "google.ads.googleads.v2.common.PolicyTopicEvidence.TextList") - proto.RegisterType((*PolicyTopicEvidence_WebsiteList)(nil), "google.ads.googleads.v2.common.PolicyTopicEvidence.WebsiteList") - proto.RegisterType((*PolicyTopicEvidence_DestinationTextList)(nil), "google.ads.googleads.v2.common.PolicyTopicEvidence.DestinationTextList") - proto.RegisterType((*PolicyTopicEvidence_DestinationMismatch)(nil), "google.ads.googleads.v2.common.PolicyTopicEvidence.DestinationMismatch") - proto.RegisterType((*PolicyTopicEvidence_DestinationNotWorking)(nil), "google.ads.googleads.v2.common.PolicyTopicEvidence.DestinationNotWorking") - proto.RegisterType((*PolicyTopicConstraint)(nil), "google.ads.googleads.v2.common.PolicyTopicConstraint") - proto.RegisterType((*PolicyTopicConstraint_CountryConstraintList)(nil), "google.ads.googleads.v2.common.PolicyTopicConstraint.CountryConstraintList") - proto.RegisterType((*PolicyTopicConstraint_ResellerConstraint)(nil), "google.ads.googleads.v2.common.PolicyTopicConstraint.ResellerConstraint") - proto.RegisterType((*PolicyTopicConstraint_CountryConstraint)(nil), "google.ads.googleads.v2.common.PolicyTopicConstraint.CountryConstraint") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/common/policy.proto", fileDescriptor_4d59a9c11d6f3bf2) -} - -var fileDescriptor_4d59a9c11d6f3bf2 = []byte{ - // 1227 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0x5d, 0x6f, 0x23, 0x35, - 0x17, 0xee, 0xa4, 0x5f, 0xa9, 0xd3, 0xe6, 0xed, 0xba, 0x9b, 0x6d, 0x36, 0x6f, 0xb5, 0xac, 0x82, - 0x84, 0x90, 0x56, 0x9a, 0x48, 0x53, 0x40, 0x28, 0x0b, 0xac, 0xda, 0xb4, 0x6a, 0xab, 0xfd, 0x50, - 0x77, 0x48, 0x5b, 0x04, 0x15, 0x53, 0x77, 0xc6, 0x3b, 0xb5, 0x3a, 0x63, 0x8f, 0x6c, 0x27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x5f, 0x4a, 0x15, 0x44, 0xa4, 0x86, 0x28, 0x65, 0x52, 0xf1, 0x26, - 0xab, 0xd5, 0x1f, 0x0c, 0x00, 0xb7, 0x95, 0x88, 0x5d, 0xc2, 0x02, 0xb5, 0xf4, 0x18, 0x77, 0xe0, - 0x87, 0xa0, 0x90, 0x48, 0xa3, 0x28, 0xc4, 0x65, 0xe3, 0xbe, 0xf1, 0x76, 0xc1, 0x5a, 0x4a, 0x4e, - 0xd4, 0x4c, 0x5d, 0x99, 0x1f, 0x4b, 0x4e, 0xa8, 0xbf, 0x8b, 0x82, 0x16, 0xb6, 0x81, 0x06, 0x3c, - 0x43, 0x21, 0x86, 0x0d, 0x50, 0x6c, 0x6b, 0x3a, 0xea, 0x3b, 0x12, 0x9f, 0xca, 0x72, 0x6e, 0x04, - 0x86, 0xb9, 0x2e, 0xa6, 0x89, 0x4f, 0x65, 0xf5, 0x95, 0x01, 0xee, 0x26, 0xd2, 0x50, 0x40, 0x3c, - 0xa5, 0x6d, 0x1b, 0x71, 0x14, 0x62, 0x89, 0x39, 0x6c, 0x82, 0x45, 0xe2, 0x53, 0xc6, 0xd1, 0x61, - 0x80, 0x9d, 0x6c, 0x18, 0x45, 0xd9, 0xb8, 0x3f, 0x7e, 0xa1, 0xaf, 0x52, 0x17, 0xac, 0x5d, 0x34, - 0x15, 0x14, 0x0a, 0xb0, 0x84, 0x4f, 0x71, 0x18, 0xc9, 0x94, 0xb2, 0x9d, 0x46, 0xc5, 0x39, 0xc6, - 0x1d, 0x51, 0xce, 0x29, 0x6a, 0xcb, 0x7c, 0x7d, 0x96, 0x9b, 0x83, 0x11, 0xb5, 0xef, 0x6a, 0xde, - 0xc1, 0x15, 0x51, 0xfd, 0x2b, 0x07, 0xe6, 0x33, 0x2a, 0xd6, 0xe3, 0xb4, 0x87, 0x16, 0x98, 0x54, - 0xdb, 0x19, 0x29, 0xf6, 0xda, 0x14, 0x1e, 0x80, 0x89, 0x38, 0x31, 0x54, 0xb0, 0x8b, 0xd6, 0x93, - 0x73, 0x55, 0xaa, 0xdc, 0x33, 0xfb, 0x5d, 0x36, 0x3b, 0x11, 0x5e, 0xa7, 0xad, 0x70, 0xe8, 0x82, - 0xad, 0x98, 0xe1, 0x73, 0x30, 0x93, 0x66, 0xa9, 0x28, 0x8f, 0xab, 0x60, 0x2c, 0x8f, 0x16, 0x0c, - 0x4d, 0x97, 0x60, 0xed, 0x1e, 0x0b, 0xdc, 0x03, 0x05, 0x97, 0x51, 0x21, 0x39, 0x22, 0x54, 0x8a, - 0xf2, 0x84, 0x22, 0x7d, 0xf7, 0x12, 0xa4, 0x8d, 0x2e, 0xda, 0xce, 0x32, 0x55, 0x7f, 0x9e, 0x03, - 0x0b, 0x43, 0x7c, 0x43, 0x0f, 0xcc, 0x9e, 0xe0, 0x43, 0x41, 0x24, 0x76, 0x02, 0x22, 0x64, 0x79, - 0x5c, 0x05, 0xf8, 0xd1, 0x15, 0xb6, 0x61, 0xee, 0x69, 0x9e, 0x27, 0x44, 0xc8, 0xcd, 0x31, 0xbb, - 0x70, 0xd2, 0xfb, 0x0b, 0x3f, 0x03, 0x33, 0x71, 0xe2, 0x6b, 0x17, 0x13, 0xca, 0xc5, 0x07, 0x57, - 0x71, 0x11, 0x5f, 0x85, 0x84, 0x3f, 0x2f, 0x93, 0x31, 0x6c, 0x80, 0xb9, 0x00, 0x51, 0xbf, 0x85, - 0x7c, 0xec, 0xb8, 0xcc, 0xc3, 0xe5, 0xc9, 0x8b, 0x93, 0x64, 0x73, 0xcc, 0x9e, 0x4d, 0x41, 0x0d, - 0xe6, 0x61, 0xf8, 0x15, 0x28, 0x65, 0x0b, 0x4d, 0x4f, 0xed, 0x94, 0x22, 0xdb, 0xb8, 0x8a, 0xda, - 0xb5, 0x1e, 0x61, 0x46, 0xf8, 0x82, 0x37, 0x38, 0x0d, 0xbf, 0x04, 0xb7, 0x87, 0x95, 0xe6, 0xf2, - 0xf4, 0x8d, 0x78, 0x7f, 0x9a, 0xd0, 0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b, 0xf1, 0x84, 0xa9, 0x87, - 0xf1, 0x68, 0xd7, 0x32, 0x1b, 0xca, 0xec, 0x8f, 0xd4, 0x60, 0x7f, 0xc5, 0x13, 0xfb, 0x5d, 0x83, - 0xfd, 0x5d, 0x6b, 0x5f, 0x1b, 0xfc, 0x93, 0xab, 0xea, 0xd9, 0x7a, 0x7d, 0xc5, 0x13, 0xf5, 0x7a, - 0xd7, 0xa4, 0x5e, 0xdf, 0xb5, 0xea, 0x75, 0x6d, 0x74, 0x38, 0xa5, 0xd4, 0x2d, 0xff, 0x1b, 0x00, - 0x00, 0xff, 0xff, 0x2e, 0xef, 0x3d, 0x92, 0x0a, 0x10, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/real_time_bidding_setting.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/real_time_bidding_setting.pb.go deleted file mode 100644 index 0c27818d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/real_time_bidding_setting.pb.go +++ /dev/null @@ -1,97 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/common/real_time_bidding_setting.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // 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_5b348653b6b76033, []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 (m *RealTimeBiddingSetting) XXX_Merge(src proto.Message) { - xxx_messageInfo_RealTimeBiddingSetting.Merge(m, 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.v2.common.RealTimeBiddingSetting") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/common/real_time_bidding_setting.proto", fileDescriptor_5b348653b6b76033) -} - -var fileDescriptor_5b348653b6b76033 = []byte{ - // 303 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xec, 0x30, - 0x14, 0x86, 0xe9, 0x5c, 0xee, 0x2c, 0xea, 0x6e, 0x16, 0x22, 0xa3, 0x0c, 0x32,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d, 0xbb, 0x4e, 0x9e, 0xef, 0xfa, 0xba, 0x06, 0x2b, 0x9c, 0x26, 0xd0, 0x68, - 0xaa, 0x95, 0xeb, 0xac, 0xc3, 0x01, 0xbd, 0x09, 0xbf, 0xdd, 0xf3, 0x1a, 0x3f, 0x6f, 0x93, 0x7f, - 0xab, 0x2c, 0x7b, 0x9f, 0x2c, 0x56, 0x38, 0x2c, 0x93, 0x81, 0x60, 0x6c, 0x53, 0xc1, 0xc8, 0x6d, - 0x87, 0x7d, 0x0c, 0x40, 0x99, 0xc9, 0x50, 0x8e, 0x40, 0x59, 0xb0, 0x12, 0x81, 0xcf, 0xc9, 0x12, - 0xff, 0x72, 0x9e, 0xc9, 0xc0, 0xf9, 0x88, 0x70, 0x5e, 0x30, 0xce, 0x11, 0xda, 0x4e, 0xbb, 0xed, - 0xae, 0xbe, 0x03, 0x00, 0x00, 0xff, 0xff, 0x75, 0x30, 0xe2, 0x3f, 0xec, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/segments.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/segments.pb.go deleted file mode 100644 index 15de5b3c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/segments.pb.go +++ /dev/null @@ -1,972 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/common/segments.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Segment only fields. -type Segments struct { - // Ad network type. - AdNetworkType enums.AdNetworkTypeEnum_AdNetworkType `protobuf:"varint,3,opt,name=ad_network_type,json=adNetworkType,proto3,enum=google.ads.googleads.v2.enums.AdNetworkTypeEnum_AdNetworkType" json:"ad_network_type,omitempty"` - // Click type. - ClickType enums.ClickTypeEnum_ClickType `protobuf:"varint,26,opt,name=click_type,json=clickType,proto3,enum=google.ads.googleads.v2.enums.ClickTypeEnum_ClickType" json:"click_type,omitempty"` - // Resource name of the conversion action. - ConversionAction *wrappers.StringValue `protobuf:"bytes,52,opt,name=conversion_action,json=conversionAction,proto3" json:"conversion_action,omitempty"` - // Conversion action category. - ConversionActionCategory enums.ConversionActionCategoryEnum_ConversionActionCategory `protobuf:"varint,53,opt,name=conversion_action_category,json=conversionActionCategory,proto3,enum=google.ads.googleads.v2.enums.ConversionActionCategoryEnum_ConversionActionCategory" json:"conversion_action_category,omitempty"` - // Conversion action name. - ConversionActionName *wrappers.StringValue `protobuf:"bytes,54,opt,name=conversion_action_name,json=conversionActionName,proto3" json:"conversion_action_name,omitempty"` - // This segments your conversion columns by the original conversion and - // conversion value vs. the delta if conversions were adjusted. False row has - // the data as originally stated; While true row has the delta between data - // now and the data as originally stated. Summing the two together results - // post-adjustment data. - ConversionAdjustment *wrappers.BoolValue `protobuf:"bytes,27,opt,name=conversion_adjustment,json=conversionAdjustment,proto3" json:"conversion_adjustment,omitempty"` - // Conversion attribution event type. - ConversionAttributionEventType enums.ConversionAttributionEventTypeEnum_ConversionAttributionEventType `protobuf:"varint,2,opt,name=conversion_attribution_event_type,json=conversionAttributionEventType,proto3,enum=google.ads.googleads.v2.enums.ConversionAttributionEventTypeEnum_ConversionAttributionEventType" json:"conversion_attribution_event_type,omitempty"` - // An enum value representing the number of days between the impression and - // the conversion. - ConversionLagBucket enums.ConversionLagBucketEnum_ConversionLagBucket `protobuf:"varint,50,opt,name=conversion_lag_bucket,json=conversionLagBucket,proto3,enum=google.ads.googleads.v2.enums.ConversionLagBucketEnum_ConversionLagBucket" json:"conversion_lag_bucket,omitempty"` - // An enum value representing the number of days between the impression and - // the conversion or between the impression and adjustments to the conversion. - ConversionOrAdjustmentLagBucket enums.ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket `protobuf:"varint,51,opt,name=conversion_or_adjustment_lag_bucket,json=conversionOrAdjustmentLagBucket,proto3,enum=google.ads.googleads.v2.enums.ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket" json:"conversion_or_adjustment_lag_bucket,omitempty"` - // Date to which metrics apply. - // yyyy-MM-dd format, e.g., 2018-04-17. - Date *wrappers.StringValue `protobuf:"bytes,4,opt,name=date,proto3" json:"date,omitempty"` - // Day of the week, e.g., MONDAY. - DayOfWeek enums.DayOfWeekEnum_DayOfWeek `protobuf:"varint,5,opt,name=day_of_week,json=dayOfWeek,proto3,enum=google.ads.googleads.v2.enums.DayOfWeekEnum_DayOfWeek" json:"day_of_week,omitempty"` - // Device to which metrics apply. - Device enums.DeviceEnum_Device `protobuf:"varint,1,opt,name=device,proto3,enum=google.ads.googleads.v2.enums.DeviceEnum_Device" json:"device,omitempty"` - // External conversion source. - ExternalConversionSource enums.ExternalConversionSourceEnum_ExternalConversionSource `protobuf:"varint,55,opt,name=external_conversion_source,json=externalConversionSource,proto3,enum=google.ads.googleads.v2.enums.ExternalConversionSourceEnum_ExternalConversionSource" json:"external_conversion_source,omitempty"` - // Resource name of the geo target constant that represents an airport. - GeoTargetAirport *wrappers.StringValue `protobuf:"bytes,65,opt,name=geo_target_airport,json=geoTargetAirport,proto3" json:"geo_target_airport,omitempty"` - // Resource name of the geo target constant that represents a canton. - GeoTargetCanton *wrappers.StringValue `protobuf:"bytes,76,opt,name=geo_target_canton,json=geoTargetCanton,proto3" json:"geo_target_canton,omitempty"` - // Resource name of the geo target constant that represents a city. - GeoTargetCity *wrappers.StringValue `protobuf:"bytes,62,opt,name=geo_target_city,json=geoTargetCity,proto3" json:"geo_target_city,omitempty"` - // Resource name of the geo target constant that represents a country. - GeoTargetCountry *wrappers.StringValue `protobuf:"bytes,77,opt,name=geo_target_country,json=geoTargetCountry,proto3" json:"geo_target_country,omitempty"` - // Resource name of the geo target constant that represents a county. - GeoTargetCounty *wrappers.StringValue `protobuf:"bytes,68,opt,name=geo_target_county,json=geoTargetCounty,proto3" json:"geo_target_county,omitempty"` - // Resource name of the geo target constant that represents a district. - GeoTargetDistrict *wrappers.StringValue `protobuf:"bytes,69,opt,name=geo_target_district,json=geoTargetDistrict,proto3" json:"geo_target_district,omitempty"` - // Resource name of the geo target constant that represents a metro. - GeoTargetMetro *wrappers.StringValue `protobuf:"bytes,63,opt,name=geo_target_metro,json=geoTargetMetro,proto3" json:"geo_target_metro,omitempty"` - // Resource name of the geo target constant that represents the most - // specific location. - GeoTargetMostSpecificLocation *wrappers.StringValue `protobuf:"bytes,72,opt,name=geo_target_most_specific_location,json=geoTargetMostSpecificLocation,proto3" json:"geo_target_most_specific_location,omitempty"` - // Resource name of the geo target constant that represents a postal code. - GeoTargetPostalCode *wrappers.StringValue `protobuf:"bytes,71,opt,name=geo_target_postal_code,json=geoTargetPostalCode,proto3" json:"geo_target_postal_code,omitempty"` - // Resource name of the geo target constant that represents a province. - GeoTargetProvince *wrappers.StringValue `protobuf:"bytes,75,opt,name=geo_target_province,json=geoTargetProvince,proto3" json:"geo_target_province,omitempty"` - // Resource name of the geo target constant that represents a region. - GeoTargetRegion *wrappers.StringValue `protobuf:"bytes,64,opt,name=geo_target_region,json=geoTargetRegion,proto3" json:"geo_target_region,omitempty"` - // Resource name of the geo target constant that represents a state. - GeoTargetState *wrappers.StringValue `protobuf:"bytes,67,opt,name=geo_target_state,json=geoTargetState,proto3" json:"geo_target_state,omitempty"` - // Hotel booking window in days. - HotelBookingWindowDays *wrappers.Int64Value `protobuf:"bytes,6,opt,name=hotel_booking_window_days,json=hotelBookingWindowDays,proto3" json:"hotel_booking_window_days,omitempty"` - // Hotel center ID. - HotelCenterId *wrappers.Int64Value `protobuf:"bytes,7,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,8,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,9,opt,name=hotel_check_in_day_of_week,json=hotelCheckInDayOfWeek,proto3,enum=google.ads.googleads.v2.enums.DayOfWeekEnum_DayOfWeek" json:"hotel_check_in_day_of_week,omitempty"` - // Hotel city. - HotelCity *wrappers.StringValue `protobuf:"bytes,10,opt,name=hotel_city,json=hotelCity,proto3" json:"hotel_city,omitempty"` - // Hotel class. - HotelClass *wrappers.Int32Value `protobuf:"bytes,11,opt,name=hotel_class,json=hotelClass,proto3" json:"hotel_class,omitempty"` - // Hotel country. - HotelCountry *wrappers.StringValue `protobuf:"bytes,12,opt,name=hotel_country,json=hotelCountry,proto3" json:"hotel_country,omitempty"` - // Hotel date selection type. - HotelDateSelectionType enums.HotelDateSelectionTypeEnum_HotelDateSelectionType `protobuf:"varint,13,opt,name=hotel_date_selection_type,json=hotelDateSelectionType,proto3,enum=google.ads.googleads.v2.enums.HotelDateSelectionTypeEnum_HotelDateSelectionType" json:"hotel_date_selection_type,omitempty"` - // Hotel length of stay. - HotelLengthOfStay *wrappers.Int32Value `protobuf:"bytes,14,opt,name=hotel_length_of_stay,json=hotelLengthOfStay,proto3" json:"hotel_length_of_stay,omitempty"` - // Hotel rate rule ID. - HotelRateRuleId *wrappers.StringValue `protobuf:"bytes,73,opt,name=hotel_rate_rule_id,json=hotelRateRuleId,proto3" json:"hotel_rate_rule_id,omitempty"` - // Hotel rate type. - HotelRateType enums.HotelRateTypeEnum_HotelRateType `protobuf:"varint,74,opt,name=hotel_rate_type,json=hotelRateType,proto3,enum=google.ads.googleads.v2.enums.HotelRateTypeEnum_HotelRateType" json:"hotel_rate_type,omitempty"` - // Hotel price bucket. - HotelPriceBucket enums.HotelPriceBucketEnum_HotelPriceBucket `protobuf:"varint,78,opt,name=hotel_price_bucket,json=hotelPriceBucket,proto3,enum=google.ads.googleads.v2.enums.HotelPriceBucketEnum_HotelPriceBucket" json:"hotel_price_bucket,omitempty"` - // Hotel state. - HotelState *wrappers.StringValue `protobuf:"bytes,15,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,16,opt,name=hour,proto3" json:"hour,omitempty"` - // Only used with feed item metrics. - // Indicates whether the interaction metrics occurred on the feed item itself - // or a different extension or ad unit. - InteractionOnThisExtension *wrappers.BoolValue `protobuf:"bytes,49,opt,name=interaction_on_this_extension,json=interactionOnThisExtension,proto3" json:"interaction_on_this_extension,omitempty"` - // Keyword criterion. - Keyword *Keyword `protobuf:"bytes,61,opt,name=keyword,proto3" json:"keyword,omitempty"` - // Month as represented by the date of the first day of a month. Formatted as - // yyyy-MM-dd. - Month *wrappers.StringValue `protobuf:"bytes,17,opt,name=month,proto3" json:"month,omitempty"` - // Month of the year, e.g., January. - MonthOfYear enums.MonthOfYearEnum_MonthOfYear `protobuf:"varint,18,opt,name=month_of_year,json=monthOfYear,proto3,enum=google.ads.googleads.v2.enums.MonthOfYearEnum_MonthOfYear" json:"month_of_year,omitempty"` - // Partner hotel ID. - PartnerHotelId *wrappers.StringValue `protobuf:"bytes,19,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,20,opt,name=placeholder_type,json=placeholderType,proto3,enum=google.ads.googleads.v2.enums.PlaceholderTypeEnum_PlaceholderType" json:"placeholder_type,omitempty"` - // Aggregator ID of the product. - ProductAggregatorId *wrappers.UInt64Value `protobuf:"bytes,28,opt,name=product_aggregator_id,json=productAggregatorId,proto3" json:"product_aggregator_id,omitempty"` - // Bidding category (level 1) of the product. - ProductBiddingCategoryLevel1 *wrappers.StringValue `protobuf:"bytes,56,opt,name=product_bidding_category_level1,json=productBiddingCategoryLevel1,proto3" json:"product_bidding_category_level1,omitempty"` - // Bidding category (level 2) of the product. - ProductBiddingCategoryLevel2 *wrappers.StringValue `protobuf:"bytes,57,opt,name=product_bidding_category_level2,json=productBiddingCategoryLevel2,proto3" json:"product_bidding_category_level2,omitempty"` - // Bidding category (level 3) of the product. - ProductBiddingCategoryLevel3 *wrappers.StringValue `protobuf:"bytes,58,opt,name=product_bidding_category_level3,json=productBiddingCategoryLevel3,proto3" json:"product_bidding_category_level3,omitempty"` - // Bidding category (level 4) of the product. - ProductBiddingCategoryLevel4 *wrappers.StringValue `protobuf:"bytes,59,opt,name=product_bidding_category_level4,json=productBiddingCategoryLevel4,proto3" json:"product_bidding_category_level4,omitempty"` - // Bidding category (level 5) of the product. - ProductBiddingCategoryLevel5 *wrappers.StringValue `protobuf:"bytes,60,opt,name=product_bidding_category_level5,json=productBiddingCategoryLevel5,proto3" json:"product_bidding_category_level5,omitempty"` - // Brand of the product. - ProductBrand *wrappers.StringValue `protobuf:"bytes,29,opt,name=product_brand,json=productBrand,proto3" json:"product_brand,omitempty"` - // Channel of the product. - ProductChannel enums.ProductChannelEnum_ProductChannel `protobuf:"varint,30,opt,name=product_channel,json=productChannel,proto3,enum=google.ads.googleads.v2.enums.ProductChannelEnum_ProductChannel" json:"product_channel,omitempty"` - // Channel exclusivity of the product. - ProductChannelExclusivity enums.ProductChannelExclusivityEnum_ProductChannelExclusivity `protobuf:"varint,31,opt,name=product_channel_exclusivity,json=productChannelExclusivity,proto3,enum=google.ads.googleads.v2.enums.ProductChannelExclusivityEnum_ProductChannelExclusivity" json:"product_channel_exclusivity,omitempty"` - // Condition of the product. - ProductCondition enums.ProductConditionEnum_ProductCondition `protobuf:"varint,32,opt,name=product_condition,json=productCondition,proto3,enum=google.ads.googleads.v2.enums.ProductConditionEnum_ProductCondition" json:"product_condition,omitempty"` - // Resource name of the geo target constant for the country of sale of the - // product. - ProductCountry *wrappers.StringValue `protobuf:"bytes,33,opt,name=product_country,json=productCountry,proto3" json:"product_country,omitempty"` - // Custom attribute 0 of the product. - ProductCustomAttribute0 *wrappers.StringValue `protobuf:"bytes,34,opt,name=product_custom_attribute0,json=productCustomAttribute0,proto3" json:"product_custom_attribute0,omitempty"` - // Custom attribute 1 of the product. - ProductCustomAttribute1 *wrappers.StringValue `protobuf:"bytes,35,opt,name=product_custom_attribute1,json=productCustomAttribute1,proto3" json:"product_custom_attribute1,omitempty"` - // Custom attribute 2 of the product. - ProductCustomAttribute2 *wrappers.StringValue `protobuf:"bytes,36,opt,name=product_custom_attribute2,json=productCustomAttribute2,proto3" json:"product_custom_attribute2,omitempty"` - // Custom attribute 3 of the product. - ProductCustomAttribute3 *wrappers.StringValue `protobuf:"bytes,37,opt,name=product_custom_attribute3,json=productCustomAttribute3,proto3" json:"product_custom_attribute3,omitempty"` - // Custom attribute 4 of the product. - ProductCustomAttribute4 *wrappers.StringValue `protobuf:"bytes,38,opt,name=product_custom_attribute4,json=productCustomAttribute4,proto3" json:"product_custom_attribute4,omitempty"` - // Item ID of the product. - ProductItemId *wrappers.StringValue `protobuf:"bytes,39,opt,name=product_item_id,json=productItemId,proto3" json:"product_item_id,omitempty"` - // Resource name of the language constant for the language of the product. - ProductLanguage *wrappers.StringValue `protobuf:"bytes,40,opt,name=product_language,json=productLanguage,proto3" json:"product_language,omitempty"` - // Merchant ID of the product. - ProductMerchantId *wrappers.UInt64Value `protobuf:"bytes,41,opt,name=product_merchant_id,json=productMerchantId,proto3" json:"product_merchant_id,omitempty"` - // Store ID of the product. - ProductStoreId *wrappers.StringValue `protobuf:"bytes,42,opt,name=product_store_id,json=productStoreId,proto3" json:"product_store_id,omitempty"` - // Title of the product. - ProductTitle *wrappers.StringValue `protobuf:"bytes,43,opt,name=product_title,json=productTitle,proto3" json:"product_title,omitempty"` - // Type (level 1) of the product. - ProductTypeL1 *wrappers.StringValue `protobuf:"bytes,44,opt,name=product_type_l1,json=productTypeL1,proto3" json:"product_type_l1,omitempty"` - // Type (level 2) of the product. - ProductTypeL2 *wrappers.StringValue `protobuf:"bytes,45,opt,name=product_type_l2,json=productTypeL2,proto3" json:"product_type_l2,omitempty"` - // Type (level 3) of the product. - ProductTypeL3 *wrappers.StringValue `protobuf:"bytes,46,opt,name=product_type_l3,json=productTypeL3,proto3" json:"product_type_l3,omitempty"` - // Type (level 4) of the product. - ProductTypeL4 *wrappers.StringValue `protobuf:"bytes,47,opt,name=product_type_l4,json=productTypeL4,proto3" json:"product_type_l4,omitempty"` - // Type (level 5) of the product. - ProductTypeL5 *wrappers.StringValue `protobuf:"bytes,48,opt,name=product_type_l5,json=productTypeL5,proto3" json:"product_type_l5,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,21,opt,name=quarter,proto3" json:"quarter,omitempty"` - // Type of the search engine results page. - SearchEngineResultsPageType enums.SearchEngineResultsPageTypeEnum_SearchEngineResultsPageType `protobuf:"varint,70,opt,name=search_engine_results_page_type,json=searchEngineResultsPageType,proto3,enum=google.ads.googleads.v2.enums.SearchEngineResultsPageTypeEnum_SearchEngineResultsPageType" json:"search_engine_results_page_type,omitempty"` - // Match type of the keyword that triggered the ad, including variants. - SearchTermMatchType enums.SearchTermMatchTypeEnum_SearchTermMatchType `protobuf:"varint,22,opt,name=search_term_match_type,json=searchTermMatchType,proto3,enum=google.ads.googleads.v2.enums.SearchTermMatchTypeEnum_SearchTermMatchType" json:"search_term_match_type,omitempty"` - // Position of the ad. - Slot enums.SlotEnum_Slot `protobuf:"varint,23,opt,name=slot,proto3,enum=google.ads.googleads.v2.enums.SlotEnum_Slot" json:"slot,omitempty"` - // Resource name of the ad group criterion that represents webpage criterion. - Webpage *wrappers.StringValue `protobuf:"bytes,66,opt,name=webpage,proto3" json:"webpage,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,24,opt,name=week,proto3" json:"week,omitempty"` - // Year, formatted as yyyy. - Year *wrappers.Int32Value `protobuf:"bytes,25,opt,name=year,proto3" json:"year,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Segments) Reset() { *m = Segments{} } -func (m *Segments) String() string { return proto.CompactTextString(m) } -func (*Segments) ProtoMessage() {} -func (*Segments) Descriptor() ([]byte, []int) { - return fileDescriptor_f6b62fa64919f31e, []int{0} -} - -func (m *Segments) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Segments.Unmarshal(m, b) -} -func (m *Segments) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Segments.Marshal(b, m, deterministic) -} -func (m *Segments) XXX_Merge(src proto.Message) { - xxx_messageInfo_Segments.Merge(m, src) -} -func (m *Segments) XXX_Size() int { - return xxx_messageInfo_Segments.Size(m) -} -func (m *Segments) XXX_DiscardUnknown() { - xxx_messageInfo_Segments.DiscardUnknown(m) -} - -var xxx_messageInfo_Segments proto.InternalMessageInfo - -func (m *Segments) GetAdNetworkType() enums.AdNetworkTypeEnum_AdNetworkType { - if m != nil { - return m.AdNetworkType - } - return enums.AdNetworkTypeEnum_UNSPECIFIED -} - -func (m *Segments) GetClickType() enums.ClickTypeEnum_ClickType { - if m != nil { - return m.ClickType - } - return enums.ClickTypeEnum_UNSPECIFIED -} - -func (m *Segments) GetConversionAction() *wrappers.StringValue { - if m != nil { - return m.ConversionAction - } - return nil -} - -func (m *Segments) GetConversionActionCategory() enums.ConversionActionCategoryEnum_ConversionActionCategory { - if m != nil { - return m.ConversionActionCategory - } - return enums.ConversionActionCategoryEnum_UNSPECIFIED -} - -func (m *Segments) GetConversionActionName() *wrappers.StringValue { - if m != nil { - return m.ConversionActionName - } - return nil -} - -func (m *Segments) GetConversionAdjustment() *wrappers.BoolValue { - if m != nil { - return m.ConversionAdjustment - } - return nil -} - -func (m *Segments) GetConversionAttributionEventType() enums.ConversionAttributionEventTypeEnum_ConversionAttributionEventType { - if m != nil { - return m.ConversionAttributionEventType - } - return enums.ConversionAttributionEventTypeEnum_UNSPECIFIED -} - -func (m *Segments) GetConversionLagBucket() enums.ConversionLagBucketEnum_ConversionLagBucket { - if m != nil { - return m.ConversionLagBucket - } - return enums.ConversionLagBucketEnum_UNSPECIFIED -} - -func (m *Segments) GetConversionOrAdjustmentLagBucket() enums.ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket { - if m != nil { - return m.ConversionOrAdjustmentLagBucket - } - return enums.ConversionOrAdjustmentLagBucketEnum_UNSPECIFIED -} - -func (m *Segments) GetDate() *wrappers.StringValue { - if m != nil { - return m.Date - } - return nil -} - -func (m *Segments) GetDayOfWeek() enums.DayOfWeekEnum_DayOfWeek { - if m != nil { - return m.DayOfWeek - } - return enums.DayOfWeekEnum_UNSPECIFIED -} - -func (m *Segments) GetDevice() enums.DeviceEnum_Device { - if m != nil { - return m.Device - } - return enums.DeviceEnum_UNSPECIFIED -} - -func (m *Segments) GetExternalConversionSource() enums.ExternalConversionSourceEnum_ExternalConversionSource { - if m != nil { - return m.ExternalConversionSource - } - return enums.ExternalConversionSourceEnum_UNSPECIFIED -} - -func (m *Segments) GetGeoTargetAirport() *wrappers.StringValue { - if m != nil { - return m.GeoTargetAirport - } - return nil -} - -func (m *Segments) GetGeoTargetCanton() *wrappers.StringValue { - if m != nil { - return m.GeoTargetCanton - } - return nil -} - -func (m *Segments) GetGeoTargetCity() *wrappers.StringValue { - if m != nil { - return m.GeoTargetCity - } - return nil -} - -func (m *Segments) GetGeoTargetCountry() *wrappers.StringValue { - if m != nil { - return m.GeoTargetCountry - } - return nil -} - -func (m *Segments) GetGeoTargetCounty() *wrappers.StringValue { - if m != nil { - return m.GeoTargetCounty - } - return nil -} - -func (m *Segments) GetGeoTargetDistrict() *wrappers.StringValue { - if m != nil { - return m.GeoTargetDistrict - } - return nil -} - -func (m *Segments) GetGeoTargetMetro() *wrappers.StringValue { - if m != nil { - return m.GeoTargetMetro - } - return nil -} - -func (m *Segments) GetGeoTargetMostSpecificLocation() *wrappers.StringValue { - if m != nil { - return m.GeoTargetMostSpecificLocation - } - return nil -} - -func (m *Segments) GetGeoTargetPostalCode() *wrappers.StringValue { - if m != nil { - return m.GeoTargetPostalCode - } - return nil -} - -func (m *Segments) GetGeoTargetProvince() *wrappers.StringValue { - if m != nil { - return m.GeoTargetProvince - } - return nil -} - -func (m *Segments) GetGeoTargetRegion() *wrappers.StringValue { - if m != nil { - return m.GeoTargetRegion - } - return nil -} - -func (m *Segments) GetGeoTargetState() *wrappers.StringValue { - if m != nil { - return m.GeoTargetState - } - return nil -} - -func (m *Segments) GetHotelBookingWindowDays() *wrappers.Int64Value { - if m != nil { - return m.HotelBookingWindowDays - } - return nil -} - -func (m *Segments) GetHotelCenterId() *wrappers.Int64Value { - if m != nil { - return m.HotelCenterId - } - return nil -} - -func (m *Segments) GetHotelCheckInDate() *wrappers.StringValue { - if m != nil { - return m.HotelCheckInDate - } - return nil -} - -func (m *Segments) GetHotelCheckInDayOfWeek() enums.DayOfWeekEnum_DayOfWeek { - if m != nil { - return m.HotelCheckInDayOfWeek - } - return enums.DayOfWeekEnum_UNSPECIFIED -} - -func (m *Segments) GetHotelCity() *wrappers.StringValue { - if m != nil { - return m.HotelCity - } - return nil -} - -func (m *Segments) GetHotelClass() *wrappers.Int32Value { - if m != nil { - return m.HotelClass - } - return nil -} - -func (m *Segments) GetHotelCountry() *wrappers.StringValue { - if m != nil { - return m.HotelCountry - } - return nil -} - -func (m *Segments) GetHotelDateSelectionType() enums.HotelDateSelectionTypeEnum_HotelDateSelectionType { - if m != nil { - return m.HotelDateSelectionType - } - return enums.HotelDateSelectionTypeEnum_UNSPECIFIED -} - -func (m *Segments) GetHotelLengthOfStay() *wrappers.Int32Value { - if m != nil { - return m.HotelLengthOfStay - } - return nil -} - -func (m *Segments) GetHotelRateRuleId() *wrappers.StringValue { - if m != nil { - return m.HotelRateRuleId - } - return nil -} - -func (m *Segments) GetHotelRateType() enums.HotelRateTypeEnum_HotelRateType { - if m != nil { - return m.HotelRateType - } - return enums.HotelRateTypeEnum_UNSPECIFIED -} - -func (m *Segments) GetHotelPriceBucket() enums.HotelPriceBucketEnum_HotelPriceBucket { - if m != nil { - return m.HotelPriceBucket - } - return enums.HotelPriceBucketEnum_UNSPECIFIED -} - -func (m *Segments) GetHotelState() *wrappers.StringValue { - if m != nil { - return m.HotelState - } - return nil -} - -func (m *Segments) GetHour() *wrappers.Int32Value { - if m != nil { - return m.Hour - } - return nil -} - -func (m *Segments) GetInteractionOnThisExtension() *wrappers.BoolValue { - if m != nil { - return m.InteractionOnThisExtension - } - return nil -} - -func (m *Segments) GetKeyword() *Keyword { - if m != nil { - return m.Keyword - } - return nil -} - -func (m *Segments) GetMonth() *wrappers.StringValue { - if m != nil { - return m.Month - } - return nil -} - -func (m *Segments) GetMonthOfYear() enums.MonthOfYearEnum_MonthOfYear { - if m != nil { - return m.MonthOfYear - } - return enums.MonthOfYearEnum_UNSPECIFIED -} - -func (m *Segments) GetPartnerHotelId() *wrappers.StringValue { - if m != nil { - return m.PartnerHotelId - } - return nil -} - -func (m *Segments) GetPlaceholderType() enums.PlaceholderTypeEnum_PlaceholderType { - if m != nil { - return m.PlaceholderType - } - return enums.PlaceholderTypeEnum_UNSPECIFIED -} - -func (m *Segments) GetProductAggregatorId() *wrappers.UInt64Value { - if m != nil { - return m.ProductAggregatorId - } - return nil -} - -func (m *Segments) GetProductBiddingCategoryLevel1() *wrappers.StringValue { - if m != nil { - return m.ProductBiddingCategoryLevel1 - } - return nil -} - -func (m *Segments) GetProductBiddingCategoryLevel2() *wrappers.StringValue { - if m != nil { - return m.ProductBiddingCategoryLevel2 - } - return nil -} - -func (m *Segments) GetProductBiddingCategoryLevel3() *wrappers.StringValue { - if m != nil { - return m.ProductBiddingCategoryLevel3 - } - return nil -} - -func (m *Segments) GetProductBiddingCategoryLevel4() *wrappers.StringValue { - if m != nil { - return m.ProductBiddingCategoryLevel4 - } - return nil -} - -func (m *Segments) GetProductBiddingCategoryLevel5() *wrappers.StringValue { - if m != nil { - return m.ProductBiddingCategoryLevel5 - } - return nil -} - -func (m *Segments) GetProductBrand() *wrappers.StringValue { - if m != nil { - return m.ProductBrand - } - return nil -} - -func (m *Segments) GetProductChannel() enums.ProductChannelEnum_ProductChannel { - if m != nil { - return m.ProductChannel - } - return enums.ProductChannelEnum_UNSPECIFIED -} - -func (m *Segments) GetProductChannelExclusivity() enums.ProductChannelExclusivityEnum_ProductChannelExclusivity { - if m != nil { - return m.ProductChannelExclusivity - } - return enums.ProductChannelExclusivityEnum_UNSPECIFIED -} - -func (m *Segments) GetProductCondition() enums.ProductConditionEnum_ProductCondition { - if m != nil { - return m.ProductCondition - } - return enums.ProductConditionEnum_UNSPECIFIED -} - -func (m *Segments) GetProductCountry() *wrappers.StringValue { - if m != nil { - return m.ProductCountry - } - return nil -} - -func (m *Segments) GetProductCustomAttribute0() *wrappers.StringValue { - if m != nil { - return m.ProductCustomAttribute0 - } - return nil -} - -func (m *Segments) GetProductCustomAttribute1() *wrappers.StringValue { - if m != nil { - return m.ProductCustomAttribute1 - } - return nil -} - -func (m *Segments) GetProductCustomAttribute2() *wrappers.StringValue { - if m != nil { - return m.ProductCustomAttribute2 - } - return nil -} - -func (m *Segments) GetProductCustomAttribute3() *wrappers.StringValue { - if m != nil { - return m.ProductCustomAttribute3 - } - return nil -} - -func (m *Segments) GetProductCustomAttribute4() *wrappers.StringValue { - if m != nil { - return m.ProductCustomAttribute4 - } - return nil -} - -func (m *Segments) GetProductItemId() *wrappers.StringValue { - if m != nil { - return m.ProductItemId - } - return nil -} - -func (m *Segments) GetProductLanguage() *wrappers.StringValue { - if m != nil { - return m.ProductLanguage - } - return nil -} - -func (m *Segments) GetProductMerchantId() *wrappers.UInt64Value { - if m != nil { - return m.ProductMerchantId - } - return nil -} - -func (m *Segments) GetProductStoreId() *wrappers.StringValue { - if m != nil { - return m.ProductStoreId - } - return nil -} - -func (m *Segments) GetProductTitle() *wrappers.StringValue { - if m != nil { - return m.ProductTitle - } - return nil -} - -func (m *Segments) GetProductTypeL1() *wrappers.StringValue { - if m != nil { - return m.ProductTypeL1 - } - return nil -} - -func (m *Segments) GetProductTypeL2() *wrappers.StringValue { - if m != nil { - return m.ProductTypeL2 - } - return nil -} - -func (m *Segments) GetProductTypeL3() *wrappers.StringValue { - if m != nil { - return m.ProductTypeL3 - } - return nil -} - -func (m *Segments) GetProductTypeL4() *wrappers.StringValue { - if m != nil { - return m.ProductTypeL4 - } - return nil -} - -func (m *Segments) GetProductTypeL5() *wrappers.StringValue { - if m != nil { - return m.ProductTypeL5 - } - return nil -} - -func (m *Segments) GetQuarter() *wrappers.StringValue { - if m != nil { - return m.Quarter - } - return nil -} - -func (m *Segments) GetSearchEngineResultsPageType() enums.SearchEngineResultsPageTypeEnum_SearchEngineResultsPageType { - if m != nil { - return m.SearchEngineResultsPageType - } - return enums.SearchEngineResultsPageTypeEnum_UNSPECIFIED -} - -func (m *Segments) GetSearchTermMatchType() enums.SearchTermMatchTypeEnum_SearchTermMatchType { - if m != nil { - return m.SearchTermMatchType - } - return enums.SearchTermMatchTypeEnum_UNSPECIFIED -} - -func (m *Segments) GetSlot() enums.SlotEnum_Slot { - if m != nil { - return m.Slot - } - return enums.SlotEnum_UNSPECIFIED -} - -func (m *Segments) GetWebpage() *wrappers.StringValue { - if m != nil { - return m.Webpage - } - return nil -} - -func (m *Segments) GetWeek() *wrappers.StringValue { - if m != nil { - return m.Week - } - return nil -} - -func (m *Segments) GetYear() *wrappers.Int32Value { - if m != nil { - return m.Year - } - return nil -} - -// A Keyword criterion segment. -type Keyword struct { - // The AdGroupCriterion resource name. - AdGroupCriterion *wrappers.StringValue `protobuf:"bytes,1,opt,name=ad_group_criterion,json=adGroupCriterion,proto3" json:"ad_group_criterion,omitempty"` - // Keyword info. - Info *KeywordInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Keyword) Reset() { *m = Keyword{} } -func (m *Keyword) String() string { return proto.CompactTextString(m) } -func (*Keyword) ProtoMessage() {} -func (*Keyword) Descriptor() ([]byte, []int) { - return fileDescriptor_f6b62fa64919f31e, []int{1} -} - -func (m *Keyword) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Keyword.Unmarshal(m, b) -} -func (m *Keyword) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Keyword.Marshal(b, m, deterministic) -} -func (m *Keyword) XXX_Merge(src proto.Message) { - xxx_messageInfo_Keyword.Merge(m, src) -} -func (m *Keyword) XXX_Size() int { - return xxx_messageInfo_Keyword.Size(m) -} -func (m *Keyword) XXX_DiscardUnknown() { - xxx_messageInfo_Keyword.DiscardUnknown(m) -} - -var xxx_messageInfo_Keyword proto.InternalMessageInfo - -func (m *Keyword) GetAdGroupCriterion() *wrappers.StringValue { - if m != nil { - return m.AdGroupCriterion - } - return nil -} - -func (m *Keyword) GetInfo() *KeywordInfo { - if m != nil { - return m.Info - } - return nil -} - -func init() { - proto.RegisterType((*Segments)(nil), "google.ads.googleads.v2.common.Segments") - proto.RegisterType((*Keyword)(nil), "google.ads.googleads.v2.common.Keyword") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/common/segments.proto", fileDescriptor_f6b62fa64919f31e) -} - -var fileDescriptor_f6b62fa64919f31e = []byte{ - // 2157 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x9a, 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 0xc3, 0xcb, - 0x29, 0x5a, 0x95, 0x21, 0x1f, 0xe6, 0x85, 0xdc, 0x47, 0xad, 0x6b, 0xb9, 0x7a, 0x83, 0x21, 0x0f, - 0x2d, 0xe4, 0x0c, 0x79, 0x02, 0x2d, 0x30, 0x3f, 0x18, 0x53, 0x88, 0x5b, 0x04, 0xad, 0x19, 0xbc, - 0xe4, 0xcd, 0x7e, 0xee, 0x6b, 0xdc, 0x22, 0x70, 0x0f, 0xdc, 0xca, 0x32, 0xd3, 0x8a, 0x8b, 0xee, - 0x48, 0xe4, 0xc2, 0x00, 0x72, 0x9d, 0xd2, 0x60, 0x10, 0x98, 0xea, 0xe0, 0xbf, 0x0a, 0xe0, 0x51, - 0xee, 0x44, 0x82, 0xae, 0xc8, 0x04, 0xfe, 0xd1, 0x3c, 0x81, 0x5d, 0xcc, 0xa6, 0xa0, 0x74, 0x07, - 0xc2, 0x48, 0x13, 0xeb, 0xbe, 0x33, 0xf2, 0x39, 0xfc, 0x73, 0xcf, 0xeb, 0x77, 0x67, 0x19, 0x54, - 0x96, 0x01, 0xbe, 0x34, 0x0e, 0x70, 0x07, 0x7b, 0xeb, 0x52, 0xd9, 0x17, 0x55, 0xda, 0x6e, 0xcd, - 0x39, 0x83, 0x8d, 0xf0, 0xdf, 0x05, 0xf0, 0xa9, 0xc1, 0xa4, 0x87, 0x2a, 0x32, 0x9c, 0x63, 0xe3, - 0x70, 0xf6, 0x58, 0xb7, 0x4b, 0x86, 0x85, 0x76, 0xa1, 0x8d, 0xf5, 0xc0, 0x19, 0x6d, 0x00, 0x97, - 0xc0, 0x84, 0x98, 0xba, 0xd0, 0x84, 0xc1, 0x98, 0x93, 0x96, 0xf0, 0x08, 0x4c, 0x66, 0xe6, 0x63, - 0xf4, 0xa1, 0xd1, 0xf7, 0xbe, 0x81, 0x3b, 0x7b, 0xcd, 0xef, 0x09, 0x39, 0x95, 0x51, 0xa7, 0x77, - 0xd6, 0x75, 0x37, 0xb9, 0x84, 0xdb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 0x7f, 0xae, 0x98, 0x2c, 0x7f, 0x61, 0xb8, 0xdf, 0x69, 0x84, 0x4d, 0x6a, 0x49, - 0xe1, 0xfa, 0xff, 0x0a, 0x60, 0xd1, 0xa1, 0xad, 0x1c, 0xe1, 0xfa, 0x54, 0xf2, 0x13, 0xdc, 0xbe, - 0x88, 0x6b, 0xbf, 0xf0, 0xc3, 0x86, 0x16, 0x78, 0x54, 0x14, 0xe2, 0x22, 0x65, 0x5e, 0xc9, 0x23, - 0xa1, 0x8c, 0x3a, 0xf9, 0x39, 0x30, 0xf2, 0xe3, 0x61, 0xff, 0x9c, 0xf0, 0x44, 0xfd, 0xf9, 0xc7, - 0x95, 0x0f, 0xb6, 0x6a, 0xb5, 0x7f, 0x5e, 0xb9, 0xbf, 0xa5, 0x60, 0x35, 0x37, 0x2e, 0xaa, 0x4b, - 0x71, 0x75, 0x54, 0x2e, 0xd6, 0xa5, 0xd9, 0x7f, 0x13, 0x83, 0x37, 0x35, 0x37, 0x7e, 0x93, 0x1a, - 0xbc, 0x39, 0x2a, 0xbf, 0x51, 0x06, 0xff, 0xbf, 0xb2, 0xa8, 0x5a, 0xab, 0xd5, 0x9a, 0x1b, 0x57, - 0xab, 0xa9, 0x49, 0xb5, 0x7a, 0x54, 0xae, 0x56, 0x95, 0xd1, 0xf1, 0x55, 0x19, 0x5d, 0xe5, 0xa7, - 0x00, 0x00, 0x00, 0xff, 0xff, 0x04, 0xa2, 0x3a, 0x79, 0x88, 0x21, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/simulation.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/simulation.pb.go deleted file mode 100644 index 11cf6c1d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/simulation.pb.go +++ /dev/null @@ -1,679 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/common/simulation.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A container for simulation points for simulations of type BID_MODIFIER. -type BidModifierSimulationPointList struct { - // Projected metrics for a series of bid modifier amounts. - Points []*BidModifierSimulationPoint `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BidModifierSimulationPointList) Reset() { *m = BidModifierSimulationPointList{} } -func (m *BidModifierSimulationPointList) String() string { return proto.CompactTextString(m) } -func (*BidModifierSimulationPointList) ProtoMessage() {} -func (*BidModifierSimulationPointList) Descriptor() ([]byte, []int) { - return fileDescriptor_af0280c62ca71a42, []int{0} -} - -func (m *BidModifierSimulationPointList) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BidModifierSimulationPointList.Unmarshal(m, b) -} -func (m *BidModifierSimulationPointList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BidModifierSimulationPointList.Marshal(b, m, deterministic) -} -func (m *BidModifierSimulationPointList) XXX_Merge(src proto.Message) { - xxx_messageInfo_BidModifierSimulationPointList.Merge(m, src) -} -func (m *BidModifierSimulationPointList) XXX_Size() int { - return xxx_messageInfo_BidModifierSimulationPointList.Size(m) -} -func (m *BidModifierSimulationPointList) XXX_DiscardUnknown() { - xxx_messageInfo_BidModifierSimulationPointList.DiscardUnknown(m) -} - -var xxx_messageInfo_BidModifierSimulationPointList proto.InternalMessageInfo - -func (m *BidModifierSimulationPointList) GetPoints() []*BidModifierSimulationPoint { - if m != nil { - return m.Points - } - return nil -} - -// A container for simulation points for simulations of type CPC_BID. -type CpcBidSimulationPointList struct { - // Projected metrics for a series of CPC bid amounts. - Points []*CpcBidSimulationPoint `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CpcBidSimulationPointList) Reset() { *m = CpcBidSimulationPointList{} } -func (m *CpcBidSimulationPointList) String() string { return proto.CompactTextString(m) } -func (*CpcBidSimulationPointList) ProtoMessage() {} -func (*CpcBidSimulationPointList) Descriptor() ([]byte, []int) { - return fileDescriptor_af0280c62ca71a42, []int{1} -} - -func (m *CpcBidSimulationPointList) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CpcBidSimulationPointList.Unmarshal(m, b) -} -func (m *CpcBidSimulationPointList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CpcBidSimulationPointList.Marshal(b, m, deterministic) -} -func (m *CpcBidSimulationPointList) XXX_Merge(src proto.Message) { - xxx_messageInfo_CpcBidSimulationPointList.Merge(m, src) -} -func (m *CpcBidSimulationPointList) XXX_Size() int { - return xxx_messageInfo_CpcBidSimulationPointList.Size(m) -} -func (m *CpcBidSimulationPointList) XXX_DiscardUnknown() { - xxx_messageInfo_CpcBidSimulationPointList.DiscardUnknown(m) -} - -var xxx_messageInfo_CpcBidSimulationPointList proto.InternalMessageInfo - -func (m *CpcBidSimulationPointList) GetPoints() []*CpcBidSimulationPoint { - if m != nil { - return m.Points - } - return nil -} - -// A container for simulation points for simulations of type CPV_BID. -type CpvBidSimulationPointList struct { - // Projected metrics for a series of CPV bid amounts. - Points []*CpvBidSimulationPoint `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CpvBidSimulationPointList) Reset() { *m = CpvBidSimulationPointList{} } -func (m *CpvBidSimulationPointList) String() string { return proto.CompactTextString(m) } -func (*CpvBidSimulationPointList) ProtoMessage() {} -func (*CpvBidSimulationPointList) Descriptor() ([]byte, []int) { - return fileDescriptor_af0280c62ca71a42, []int{2} -} - -func (m *CpvBidSimulationPointList) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CpvBidSimulationPointList.Unmarshal(m, b) -} -func (m *CpvBidSimulationPointList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CpvBidSimulationPointList.Marshal(b, m, deterministic) -} -func (m *CpvBidSimulationPointList) XXX_Merge(src proto.Message) { - xxx_messageInfo_CpvBidSimulationPointList.Merge(m, src) -} -func (m *CpvBidSimulationPointList) XXX_Size() int { - return xxx_messageInfo_CpvBidSimulationPointList.Size(m) -} -func (m *CpvBidSimulationPointList) XXX_DiscardUnknown() { - xxx_messageInfo_CpvBidSimulationPointList.DiscardUnknown(m) -} - -var xxx_messageInfo_CpvBidSimulationPointList proto.InternalMessageInfo - -func (m *CpvBidSimulationPointList) GetPoints() []*CpvBidSimulationPoint { - if m != nil { - return m.Points - } - return nil -} - -// A container for simulation points for simulations of type TARGET_CPA. -type TargetCpaSimulationPointList struct { - // Projected metrics for a series of target CPA amounts. - Points []*TargetCpaSimulationPoint `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TargetCpaSimulationPointList) Reset() { *m = TargetCpaSimulationPointList{} } -func (m *TargetCpaSimulationPointList) String() string { return proto.CompactTextString(m) } -func (*TargetCpaSimulationPointList) ProtoMessage() {} -func (*TargetCpaSimulationPointList) Descriptor() ([]byte, []int) { - return fileDescriptor_af0280c62ca71a42, []int{3} -} - -func (m *TargetCpaSimulationPointList) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TargetCpaSimulationPointList.Unmarshal(m, b) -} -func (m *TargetCpaSimulationPointList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TargetCpaSimulationPointList.Marshal(b, m, deterministic) -} -func (m *TargetCpaSimulationPointList) XXX_Merge(src proto.Message) { - xxx_messageInfo_TargetCpaSimulationPointList.Merge(m, src) -} -func (m *TargetCpaSimulationPointList) XXX_Size() int { - return xxx_messageInfo_TargetCpaSimulationPointList.Size(m) -} -func (m *TargetCpaSimulationPointList) XXX_DiscardUnknown() { - xxx_messageInfo_TargetCpaSimulationPointList.DiscardUnknown(m) -} - -var xxx_messageInfo_TargetCpaSimulationPointList proto.InternalMessageInfo - -func (m *TargetCpaSimulationPointList) GetPoints() []*TargetCpaSimulationPoint { - if m != nil { - return m.Points - } - return nil -} - -// Projected metrics for a specific bid modifier amount. -type BidModifierSimulationPoint struct { - // The simulated bid modifier upon which projected metrics are based. - BidModifier *wrappers.DoubleValue `protobuf:"bytes,1,opt,name=bid_modifier,json=bidModifier,proto3" json:"bid_modifier,omitempty"` - // Projected number of biddable conversions. - // Only search advertising channel type supports this field. - BiddableConversions *wrappers.DoubleValue `protobuf:"bytes,2,opt,name=biddable_conversions,json=biddableConversions,proto3" json:"biddable_conversions,omitempty"` - // Projected total value of biddable conversions. - // Only search advertising channel type supports this field. - BiddableConversionsValue *wrappers.DoubleValue `protobuf:"bytes,3,opt,name=biddable_conversions_value,json=biddableConversionsValue,proto3" json:"biddable_conversions_value,omitempty"` - // Projected number of clicks. - Clicks *wrappers.Int64Value `protobuf:"bytes,4,opt,name=clicks,proto3" json:"clicks,omitempty"` - // Projected cost in micros. - CostMicros *wrappers.Int64Value `protobuf:"bytes,5,opt,name=cost_micros,json=costMicros,proto3" json:"cost_micros,omitempty"` - // Projected number of impressions. - Impressions *wrappers.Int64Value `protobuf:"bytes,6,opt,name=impressions,proto3" json:"impressions,omitempty"` - // Projected number of top slot impressions. - // Only search advertising channel type supports this field. - TopSlotImpressions *wrappers.Int64Value `protobuf:"bytes,7,opt,name=top_slot_impressions,json=topSlotImpressions,proto3" json:"top_slot_impressions,omitempty"` - // Projected number of biddable conversions for the parent resource. - // Only search advertising channel type supports this field. - ParentBiddableConversions *wrappers.DoubleValue `protobuf:"bytes,8,opt,name=parent_biddable_conversions,json=parentBiddableConversions,proto3" json:"parent_biddable_conversions,omitempty"` - // Projected total value of biddable conversions for the parent resource. - // Only search advertising channel type supports this field. - ParentBiddableConversionsValue *wrappers.DoubleValue `protobuf:"bytes,9,opt,name=parent_biddable_conversions_value,json=parentBiddableConversionsValue,proto3" json:"parent_biddable_conversions_value,omitempty"` - // Projected number of clicks for the parent resource. - ParentClicks *wrappers.Int64Value `protobuf:"bytes,10,opt,name=parent_clicks,json=parentClicks,proto3" json:"parent_clicks,omitempty"` - // Projected cost in micros for the parent resource. - ParentCostMicros *wrappers.Int64Value `protobuf:"bytes,11,opt,name=parent_cost_micros,json=parentCostMicros,proto3" json:"parent_cost_micros,omitempty"` - // Projected number of impressions for the parent resource. - ParentImpressions *wrappers.Int64Value `protobuf:"bytes,12,opt,name=parent_impressions,json=parentImpressions,proto3" json:"parent_impressions,omitempty"` - // Projected number of top slot impressions for the parent resource. - // Only search advertising channel type supports this field. - ParentTopSlotImpressions *wrappers.Int64Value `protobuf:"bytes,13,opt,name=parent_top_slot_impressions,json=parentTopSlotImpressions,proto3" json:"parent_top_slot_impressions,omitempty"` - // Projected minimum daily budget that must be available to the parent - // resource to realize this simulation. - ParentRequiredBudgetMicros *wrappers.Int64Value `protobuf:"bytes,14,opt,name=parent_required_budget_micros,json=parentRequiredBudgetMicros,proto3" json:"parent_required_budget_micros,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BidModifierSimulationPoint) Reset() { *m = BidModifierSimulationPoint{} } -func (m *BidModifierSimulationPoint) String() string { return proto.CompactTextString(m) } -func (*BidModifierSimulationPoint) ProtoMessage() {} -func (*BidModifierSimulationPoint) Descriptor() ([]byte, []int) { - return fileDescriptor_af0280c62ca71a42, []int{4} -} - -func (m *BidModifierSimulationPoint) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BidModifierSimulationPoint.Unmarshal(m, b) -} -func (m *BidModifierSimulationPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BidModifierSimulationPoint.Marshal(b, m, deterministic) -} -func (m *BidModifierSimulationPoint) XXX_Merge(src proto.Message) { - xxx_messageInfo_BidModifierSimulationPoint.Merge(m, src) -} -func (m *BidModifierSimulationPoint) XXX_Size() int { - return xxx_messageInfo_BidModifierSimulationPoint.Size(m) -} -func (m *BidModifierSimulationPoint) XXX_DiscardUnknown() { - xxx_messageInfo_BidModifierSimulationPoint.DiscardUnknown(m) -} - -var xxx_messageInfo_BidModifierSimulationPoint proto.InternalMessageInfo - -func (m *BidModifierSimulationPoint) GetBidModifier() *wrappers.DoubleValue { - if m != nil { - return m.BidModifier - } - return nil -} - -func (m *BidModifierSimulationPoint) GetBiddableConversions() *wrappers.DoubleValue { - if m != nil { - return m.BiddableConversions - } - return nil -} - -func (m *BidModifierSimulationPoint) GetBiddableConversionsValue() *wrappers.DoubleValue { - if m != nil { - return m.BiddableConversionsValue - } - return nil -} - -func (m *BidModifierSimulationPoint) GetClicks() *wrappers.Int64Value { - if m != nil { - return m.Clicks - } - return nil -} - -func (m *BidModifierSimulationPoint) GetCostMicros() *wrappers.Int64Value { - if m != nil { - return m.CostMicros - } - return nil -} - -func (m *BidModifierSimulationPoint) GetImpressions() *wrappers.Int64Value { - if m != nil { - return m.Impressions - } - return nil -} - -func (m *BidModifierSimulationPoint) GetTopSlotImpressions() *wrappers.Int64Value { - if m != nil { - return m.TopSlotImpressions - } - return nil -} - -func (m *BidModifierSimulationPoint) GetParentBiddableConversions() *wrappers.DoubleValue { - if m != nil { - return m.ParentBiddableConversions - } - return nil -} - -func (m *BidModifierSimulationPoint) GetParentBiddableConversionsValue() *wrappers.DoubleValue { - if m != nil { - return m.ParentBiddableConversionsValue - } - return nil -} - -func (m *BidModifierSimulationPoint) GetParentClicks() *wrappers.Int64Value { - if m != nil { - return m.ParentClicks - } - return nil -} - -func (m *BidModifierSimulationPoint) GetParentCostMicros() *wrappers.Int64Value { - if m != nil { - return m.ParentCostMicros - } - return nil -} - -func (m *BidModifierSimulationPoint) GetParentImpressions() *wrappers.Int64Value { - if m != nil { - return m.ParentImpressions - } - return nil -} - -func (m *BidModifierSimulationPoint) GetParentTopSlotImpressions() *wrappers.Int64Value { - if m != nil { - return m.ParentTopSlotImpressions - } - return nil -} - -func (m *BidModifierSimulationPoint) GetParentRequiredBudgetMicros() *wrappers.Int64Value { - if m != nil { - return m.ParentRequiredBudgetMicros - } - return nil -} - -// Projected metrics for a specific CPC bid amount. -type CpcBidSimulationPoint struct { - // The simulated CPC bid upon which projected metrics are based. - CpcBidMicros *wrappers.Int64Value `protobuf:"bytes,1,opt,name=cpc_bid_micros,json=cpcBidMicros,proto3" json:"cpc_bid_micros,omitempty"` - // Projected number of biddable conversions. - BiddableConversions *wrappers.DoubleValue `protobuf:"bytes,2,opt,name=biddable_conversions,json=biddableConversions,proto3" json:"biddable_conversions,omitempty"` - // Projected total value of biddable conversions. - BiddableConversionsValue *wrappers.DoubleValue `protobuf:"bytes,3,opt,name=biddable_conversions_value,json=biddableConversionsValue,proto3" json:"biddable_conversions_value,omitempty"` - // Projected number of clicks. - Clicks *wrappers.Int64Value `protobuf:"bytes,4,opt,name=clicks,proto3" json:"clicks,omitempty"` - // Projected cost in micros. - CostMicros *wrappers.Int64Value `protobuf:"bytes,5,opt,name=cost_micros,json=costMicros,proto3" json:"cost_micros,omitempty"` - // Projected number of impressions. - Impressions *wrappers.Int64Value `protobuf:"bytes,6,opt,name=impressions,proto3" json:"impressions,omitempty"` - // Projected number of top slot impressions. - // Only search advertising channel type supports this field. - TopSlotImpressions *wrappers.Int64Value `protobuf:"bytes,7,opt,name=top_slot_impressions,json=topSlotImpressions,proto3" json:"top_slot_impressions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CpcBidSimulationPoint) Reset() { *m = CpcBidSimulationPoint{} } -func (m *CpcBidSimulationPoint) String() string { return proto.CompactTextString(m) } -func (*CpcBidSimulationPoint) ProtoMessage() {} -func (*CpcBidSimulationPoint) Descriptor() ([]byte, []int) { - return fileDescriptor_af0280c62ca71a42, []int{5} -} - -func (m *CpcBidSimulationPoint) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CpcBidSimulationPoint.Unmarshal(m, b) -} -func (m *CpcBidSimulationPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CpcBidSimulationPoint.Marshal(b, m, deterministic) -} -func (m *CpcBidSimulationPoint) XXX_Merge(src proto.Message) { - xxx_messageInfo_CpcBidSimulationPoint.Merge(m, src) -} -func (m *CpcBidSimulationPoint) XXX_Size() int { - return xxx_messageInfo_CpcBidSimulationPoint.Size(m) -} -func (m *CpcBidSimulationPoint) XXX_DiscardUnknown() { - xxx_messageInfo_CpcBidSimulationPoint.DiscardUnknown(m) -} - -var xxx_messageInfo_CpcBidSimulationPoint proto.InternalMessageInfo - -func (m *CpcBidSimulationPoint) GetCpcBidMicros() *wrappers.Int64Value { - if m != nil { - return m.CpcBidMicros - } - return nil -} - -func (m *CpcBidSimulationPoint) GetBiddableConversions() *wrappers.DoubleValue { - if m != nil { - return m.BiddableConversions - } - return nil -} - -func (m *CpcBidSimulationPoint) GetBiddableConversionsValue() *wrappers.DoubleValue { - if m != nil { - return m.BiddableConversionsValue - } - return nil -} - -func (m *CpcBidSimulationPoint) GetClicks() *wrappers.Int64Value { - if m != nil { - return m.Clicks - } - return nil -} - -func (m *CpcBidSimulationPoint) GetCostMicros() *wrappers.Int64Value { - if m != nil { - return m.CostMicros - } - return nil -} - -func (m *CpcBidSimulationPoint) GetImpressions() *wrappers.Int64Value { - if m != nil { - return m.Impressions - } - return nil -} - -func (m *CpcBidSimulationPoint) GetTopSlotImpressions() *wrappers.Int64Value { - if m != nil { - return m.TopSlotImpressions - } - return nil -} - -// Projected metrics for a specific CPV bid amount. -type CpvBidSimulationPoint struct { - // The simulated CPV bid upon which projected metrics are based. - CpvBidMicros *wrappers.Int64Value `protobuf:"bytes,1,opt,name=cpv_bid_micros,json=cpvBidMicros,proto3" json:"cpv_bid_micros,omitempty"` - // Projected cost in micros. - CostMicros *wrappers.Int64Value `protobuf:"bytes,2,opt,name=cost_micros,json=costMicros,proto3" json:"cost_micros,omitempty"` - // Projected number of impressions. - Impressions *wrappers.Int64Value `protobuf:"bytes,3,opt,name=impressions,proto3" json:"impressions,omitempty"` - // Projected number of views. - Views *wrappers.Int64Value `protobuf:"bytes,4,opt,name=views,proto3" json:"views,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CpvBidSimulationPoint) Reset() { *m = CpvBidSimulationPoint{} } -func (m *CpvBidSimulationPoint) String() string { return proto.CompactTextString(m) } -func (*CpvBidSimulationPoint) ProtoMessage() {} -func (*CpvBidSimulationPoint) Descriptor() ([]byte, []int) { - return fileDescriptor_af0280c62ca71a42, []int{6} -} - -func (m *CpvBidSimulationPoint) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CpvBidSimulationPoint.Unmarshal(m, b) -} -func (m *CpvBidSimulationPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CpvBidSimulationPoint.Marshal(b, m, deterministic) -} -func (m *CpvBidSimulationPoint) XXX_Merge(src proto.Message) { - xxx_messageInfo_CpvBidSimulationPoint.Merge(m, src) -} -func (m *CpvBidSimulationPoint) XXX_Size() int { - return xxx_messageInfo_CpvBidSimulationPoint.Size(m) -} -func (m *CpvBidSimulationPoint) XXX_DiscardUnknown() { - xxx_messageInfo_CpvBidSimulationPoint.DiscardUnknown(m) -} - -var xxx_messageInfo_CpvBidSimulationPoint proto.InternalMessageInfo - -func (m *CpvBidSimulationPoint) GetCpvBidMicros() *wrappers.Int64Value { - if m != nil { - return m.CpvBidMicros - } - return nil -} - -func (m *CpvBidSimulationPoint) GetCostMicros() *wrappers.Int64Value { - if m != nil { - return m.CostMicros - } - return nil -} - -func (m *CpvBidSimulationPoint) GetImpressions() *wrappers.Int64Value { - if m != nil { - return m.Impressions - } - return nil -} - -func (m *CpvBidSimulationPoint) GetViews() *wrappers.Int64Value { - if m != nil { - return m.Views - } - return nil -} - -// Projected metrics for a specific target CPA amount. -type TargetCpaSimulationPoint struct { - // The simulated target CPA upon which projected metrics are based. - TargetCpaMicros *wrappers.Int64Value `protobuf:"bytes,1,opt,name=target_cpa_micros,json=targetCpaMicros,proto3" json:"target_cpa_micros,omitempty"` - // Projected number of biddable conversions. - BiddableConversions *wrappers.DoubleValue `protobuf:"bytes,2,opt,name=biddable_conversions,json=biddableConversions,proto3" json:"biddable_conversions,omitempty"` - // Projected total value of biddable conversions. - BiddableConversionsValue *wrappers.DoubleValue `protobuf:"bytes,3,opt,name=biddable_conversions_value,json=biddableConversionsValue,proto3" json:"biddable_conversions_value,omitempty"` - // Projected number of clicks. - Clicks *wrappers.Int64Value `protobuf:"bytes,4,opt,name=clicks,proto3" json:"clicks,omitempty"` - // Projected cost in micros. - CostMicros *wrappers.Int64Value `protobuf:"bytes,5,opt,name=cost_micros,json=costMicros,proto3" json:"cost_micros,omitempty"` - // Projected number of impressions. - Impressions *wrappers.Int64Value `protobuf:"bytes,6,opt,name=impressions,proto3" json:"impressions,omitempty"` - // Projected number of top slot impressions. - // Only search advertising channel type supports this field. - TopSlotImpressions *wrappers.Int64Value `protobuf:"bytes,7,opt,name=top_slot_impressions,json=topSlotImpressions,proto3" json:"top_slot_impressions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TargetCpaSimulationPoint) Reset() { *m = TargetCpaSimulationPoint{} } -func (m *TargetCpaSimulationPoint) String() string { return proto.CompactTextString(m) } -func (*TargetCpaSimulationPoint) ProtoMessage() {} -func (*TargetCpaSimulationPoint) Descriptor() ([]byte, []int) { - return fileDescriptor_af0280c62ca71a42, []int{7} -} - -func (m *TargetCpaSimulationPoint) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TargetCpaSimulationPoint.Unmarshal(m, b) -} -func (m *TargetCpaSimulationPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TargetCpaSimulationPoint.Marshal(b, m, deterministic) -} -func (m *TargetCpaSimulationPoint) XXX_Merge(src proto.Message) { - xxx_messageInfo_TargetCpaSimulationPoint.Merge(m, src) -} -func (m *TargetCpaSimulationPoint) XXX_Size() int { - return xxx_messageInfo_TargetCpaSimulationPoint.Size(m) -} -func (m *TargetCpaSimulationPoint) XXX_DiscardUnknown() { - xxx_messageInfo_TargetCpaSimulationPoint.DiscardUnknown(m) -} - -var xxx_messageInfo_TargetCpaSimulationPoint proto.InternalMessageInfo - -func (m *TargetCpaSimulationPoint) GetTargetCpaMicros() *wrappers.Int64Value { - if m != nil { - return m.TargetCpaMicros - } - return nil -} - -func (m *TargetCpaSimulationPoint) GetBiddableConversions() *wrappers.DoubleValue { - if m != nil { - return m.BiddableConversions - } - return nil -} - -func (m *TargetCpaSimulationPoint) GetBiddableConversionsValue() *wrappers.DoubleValue { - if m != nil { - return m.BiddableConversionsValue - } - return nil -} - -func (m *TargetCpaSimulationPoint) GetClicks() *wrappers.Int64Value { - if m != nil { - return m.Clicks - } - return nil -} - -func (m *TargetCpaSimulationPoint) GetCostMicros() *wrappers.Int64Value { - if m != nil { - return m.CostMicros - } - return nil -} - -func (m *TargetCpaSimulationPoint) GetImpressions() *wrappers.Int64Value { - if m != nil { - return m.Impressions - } - return nil -} - -func (m *TargetCpaSimulationPoint) GetTopSlotImpressions() *wrappers.Int64Value { - if m != nil { - return m.TopSlotImpressions - } - return nil -} - -func init() { - proto.RegisterType((*BidModifierSimulationPointList)(nil), "google.ads.googleads.v2.common.BidModifierSimulationPointList") - proto.RegisterType((*CpcBidSimulationPointList)(nil), "google.ads.googleads.v2.common.CpcBidSimulationPointList") - proto.RegisterType((*CpvBidSimulationPointList)(nil), "google.ads.googleads.v2.common.CpvBidSimulationPointList") - proto.RegisterType((*TargetCpaSimulationPointList)(nil), "google.ads.googleads.v2.common.TargetCpaSimulationPointList") - proto.RegisterType((*BidModifierSimulationPoint)(nil), "google.ads.googleads.v2.common.BidModifierSimulationPoint") - proto.RegisterType((*CpcBidSimulationPoint)(nil), "google.ads.googleads.v2.common.CpcBidSimulationPoint") - proto.RegisterType((*CpvBidSimulationPoint)(nil), "google.ads.googleads.v2.common.CpvBidSimulationPoint") - proto.RegisterType((*TargetCpaSimulationPoint)(nil), "google.ads.googleads.v2.common.TargetCpaSimulationPoint") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/common/simulation.proto", fileDescriptor_af0280c62ca71a42) -} - -var fileDescriptor_af0280c62ca71a42 = []byte{ - // 741 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x97, 0xcd, 0x6e, 0xd3, 0x4e, - 0x14, 0xc5, 0x95, 0xa4, 0xcd, 0xbf, 0xff, 0x49, 0x3f, 0xa8, 0x29, 0x92, 0x9b, 0x96, 0xa8, 0x64, - 0xd5, 0x95, 0x2d, 0x5c, 0x40, 0xc8, 0x80, 0x20, 0x49, 0xa5, 0xaa, 0x88, 0x88, 0x2a, 0xad, 0xb2, - 0xa8, 0x22, 0x2c, 0x7f, 0x4c, 0xad, 0x01, 0xdb, 0x33, 0x78, 0x26, 0xee, 0x2b, 0x20, 0x76, 0xbc, - 0x02, 0x4b, 0x1e, 0x85, 0x17, 0x41, 0xea, 0x53, 0x20, 0x7b, 0xc6, 0x8e, 0x69, 0xed, 0x3a, 0x15, - 0x6c, 0x2a, 0x75, 0x95, 0x49, 0xe6, 0x9e, 0xdf, 0x71, 0xee, 0xb9, 0x9e, 0xc4, 0x40, 0x75, 0x31, - 0x76, 0x3d, 0xa8, 0x9a, 0x0e, 0x15, 0xcb, 0x78, 0x15, 0x69, 0xaa, 0x8d, 0x7d, 0x1f, 0x07, 0x2a, - 0x45, 0xfe, 0xd4, 0x33, 0x19, 0xc2, 0x81, 0x42, 0x42, 0xcc, 0xb0, 0xd4, 0xe1, 0x55, 0x8a, 0xe9, - 0x50, 0x25, 0x13, 0x28, 0x91, 0xa6, 0x70, 0x41, 0x5b, 0xec, 0xab, 0x49, 0xb5, 0x35, 0x3d, 0x53, - 0xcf, 0x43, 0x93, 0x10, 0x18, 0x52, 0xae, 0x6f, 0x6f, 0xa7, 0x86, 0x04, 0xa9, 0x66, 0x10, 0x60, - 0x96, 0xc0, 0xc5, 0x6e, 0x97, 0x81, 0x4e, 0x1f, 0x39, 0x43, 0xec, 0xa0, 0x33, 0x04, 0xc3, 0xe3, - 0xcc, 0xfc, 0x08, 0xa3, 0x80, 0xbd, 0x43, 0x94, 0x49, 0x23, 0xd0, 0x24, 0xf1, 0x1b, 0x2a, 0xd7, - 0x76, 0x1a, 0xbb, 0x2d, 0x4d, 0x57, 0xae, 0xbf, 0x20, 0xa5, 0x9c, 0x37, 0x12, 0xa4, 0xee, 0x47, - 0xb0, 0x39, 0x20, 0x76, 0x1f, 0x39, 0x45, 0x86, 0xc3, 0x4b, 0x86, 0x4f, 0xab, 0x0c, 0x0b, 0x51, - 0x7f, 0x7a, 0x45, 0xff, 0xce, 0x2b, 0xba, 0xc6, 0x8b, 0x80, 0xed, 0x13, 0x33, 0x74, 0x21, 0x1b, - 0x10, 0xb3, 0xc8, 0xee, 0xe8, 0x92, 0xdd, 0xf3, 0x2a, 0xbb, 0x32, 0x5a, 0xe6, 0xf8, 0x6b, 0x09, - 0xb4, 0xcb, 0x1b, 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df, - 0x0d, 0xd2, 0xbf, 0xa8, 0x81, 0xae, 0x8d, 0xfd, 0x8a, 0x7f, 0x77, 0xfd, 0xb5, 0xdc, 0xb8, 0xc4, - 0xe4, 0xa3, 0xda, 0xe9, 0xbe, 0x90, 0xb8, 0xd8, 0x33, 0x03, 0x57, 0xc1, 0xa1, 0xab, 0xba, 0x30, - 0x48, 0x7c, 0xd3, 0xc7, 0x05, 0x82, 0x68, 0xd9, 0xd3, 0xc3, 0x0b, 0xfe, 0xf2, 0xbd, 0xde, 0x38, - 0xe8, 0xf5, 0x7e, 0xd4, 0x3b, 0x07, 0x1c, 0xd6, 0x73, 0xa8, 0xc2, 0x97, 0xf1, 0x6a, 0xac, 0x29, - 0x83, 0xa4, 0xec, 0x67, 0x5a, 0x30, 0xe9, 0x39, 0x74, 0x92, 0x15, 0x4c, 0xc6, 0xda, 0x84, 0x17, - 0x5c, 0xd4, 0xbb, 0xfc, 0x53, 0x5d, 0xef, 0x39, 0x54, 0xd7, 0xb3, 0x12, 0x5d, 0x1f, 0x6b, 0xba, - 0xce, 0x8b, 0xac, 0x66, 0x72, 0x75, 0x7b, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xf4, 0xad, 0x26, - 0x1b, 0xda, 0x0c, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/tag_snippet.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/tag_snippet.pb.go deleted file mode 100644 index 001fa48a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/tag_snippet.pb.go +++ /dev/null @@ -1,135 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/common/tag_snippet.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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.v2.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.v2.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_a8b6c36d65fe7c4f, []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 (m *TagSnippet) XXX_Merge(src proto.Message) { - xxx_messageInfo_TagSnippet.Merge(m, 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.v2.common.TagSnippet") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/common/tag_snippet.proto", fileDescriptor_a8b6c36d65fe7c4f) -} - -var fileDescriptor_a8b6c36d65fe7c4f = []byte{ - // 420 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x52, 0x4f, 0x6b, 0xdb, 0x30, - 0x14, 0xc7, 0x6e, 0xd9, 0x41, 0x5d, 0x57, 0xf0, 0x29, 0x94, 0x52, 0x4a, 0x4e, 0x3d, 0x49, 0xc3, - 0x83, 0x1d, 0x34, 0x76, 0x70, 0x9b, 0xad, 0xd7, 0x90, 0x84, 0x30, 0x46, 0xc0, 0xbc, 0xc4, 0xaf, - 0x42, 0xcc, 0x96, 0x34, 0x4b, 0xc9, 0xe8, 0xd7, 0xd9, 0x71, 0x1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a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/targeting_setting.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/targeting_setting.pb.go deleted file mode 100644 index 6b79b7e5..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/targeting_setting.pb.go +++ /dev/null @@ -1,163 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/common/targeting_setting.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Settings for the targeting-related features, at the campaign and ad group -// levels. For more details about the targeting setting, visit -// https://support.google.com/google-ads/answer/7365594 -type TargetingSetting struct { - // The per-targeting-dimension setting to restrict the reach of your campaign - // or ad group. - TargetRestrictions []*TargetRestriction `protobuf:"bytes,1,rep,name=target_restrictions,json=targetRestrictions,proto3" json:"target_restrictions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TargetingSetting) Reset() { *m = TargetingSetting{} } -func (m *TargetingSetting) String() string { return proto.CompactTextString(m) } -func (*TargetingSetting) ProtoMessage() {} -func (*TargetingSetting) Descriptor() ([]byte, []int) { - return fileDescriptor_73ec7b50ceb43d68, []int{0} -} - -func (m *TargetingSetting) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TargetingSetting.Unmarshal(m, b) -} -func (m *TargetingSetting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TargetingSetting.Marshal(b, m, deterministic) -} -func (m *TargetingSetting) XXX_Merge(src proto.Message) { - xxx_messageInfo_TargetingSetting.Merge(m, src) -} -func (m *TargetingSetting) XXX_Size() int { - return xxx_messageInfo_TargetingSetting.Size(m) -} -func (m *TargetingSetting) XXX_DiscardUnknown() { - xxx_messageInfo_TargetingSetting.DiscardUnknown(m) -} - -var xxx_messageInfo_TargetingSetting proto.InternalMessageInfo - -func (m *TargetingSetting) GetTargetRestrictions() []*TargetRestriction { - if m != nil { - return m.TargetRestrictions - } - return nil -} - -// The list of per-targeting-dimension targeting settings. -type TargetRestriction struct { - // The targeting dimension that these settings apply to. - TargetingDimension enums.TargetingDimensionEnum_TargetingDimension `protobuf:"varint,1,opt,name=targeting_dimension,json=targetingDimension,proto3,enum=google.ads.googleads.v2.enums.TargetingDimensionEnum_TargetingDimension" json:"targeting_dimension,omitempty"` - // Indicates whether to restrict your ads to show only for the criteria you - // have selected for this targeting_dimension, or to target all values for - // this targeting_dimension and show ads based on your targeting in other - // TargetingDimensions. A value of `true` means that these criteria will only - // apply bid modifiers, and not affect targeting. A value of `false` means - // that these criteria will restrict targeting as well as applying bid - // modifiers. - BidOnly *wrappers.BoolValue `protobuf:"bytes,2,opt,name=bid_only,json=bidOnly,proto3" json:"bid_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TargetRestriction) Reset() { *m = TargetRestriction{} } -func (m *TargetRestriction) String() string { return proto.CompactTextString(m) } -func (*TargetRestriction) ProtoMessage() {} -func (*TargetRestriction) Descriptor() ([]byte, []int) { - return fileDescriptor_73ec7b50ceb43d68, []int{1} -} - -func (m *TargetRestriction) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TargetRestriction.Unmarshal(m, b) -} -func (m *TargetRestriction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TargetRestriction.Marshal(b, m, deterministic) -} -func (m *TargetRestriction) XXX_Merge(src proto.Message) { - xxx_messageInfo_TargetRestriction.Merge(m, src) -} -func (m *TargetRestriction) XXX_Size() int { - return xxx_messageInfo_TargetRestriction.Size(m) -} -func (m *TargetRestriction) XXX_DiscardUnknown() { - xxx_messageInfo_TargetRestriction.DiscardUnknown(m) -} - -var xxx_messageInfo_TargetRestriction proto.InternalMessageInfo - -func (m *TargetRestriction) GetTargetingDimension() enums.TargetingDimensionEnum_TargetingDimension { - if m != nil { - return m.TargetingDimension - } - return enums.TargetingDimensionEnum_UNSPECIFIED -} - -func (m *TargetRestriction) GetBidOnly() *wrappers.BoolValue { - if m != nil { - return m.BidOnly - } - return nil -} - -func init() { - proto.RegisterType((*TargetingSetting)(nil), "google.ads.googleads.v2.common.TargetingSetting") - proto.RegisterType((*TargetRestriction)(nil), "google.ads.googleads.v2.common.TargetRestriction") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/common/targeting_setting.proto", fileDescriptor_73ec7b50ceb43d68) -} - -var fileDescriptor_73ec7b50ceb43d68 = []byte{ - // 392 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x4f, 0x6b, 0xdb, 0x30, - 0x18, 0xc6, 0xb1, 0x03, 0xdb, 0x70, 0x60, 0x6c, 0x1e, 0x83, 0x10, 0x46, 0x08, 0x3e, 0xe5, 0x24, - 0x31, 0x8d, 0x6d, 0xa0, 0x9d, 0x9c, 0x65, 0x64, 0xb7, 0x85, 0x6c, 0xf8, 0x30, 0x0c, 0x41, 0x8e, - 0x54, 0x21, 0xb0, 0x25, 0x63, 0xc9, 0x29, 0xf9, 0x3a, 0x3d, 0xf6, 0x7b, 0xf4, 0xd2, 0x8f, 0xd2, - 0x53, 0x3f, 0x42, 0xb1, 0x65, 0xb9, 0x69, 0xda, 0xb4, 0x27, 0xbd, 0x7a, 0xf5, 0x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0xfc, 0xa9, 0x37, 0x1b, 0xa2, 0xb1, 0xab, 0xe7, 0x36, 0x0b, 0xe6, 0x4a, - 0xe5, 0x09, 0xc9, 0x6b, 0xb6, 0x7e, 0x9d, 0x09, 0xfa, 0x47, 0xe6, 0xfb, 0xf9, 0xad, 0x17, 0x44, - 0x5b, 0x55, 0xbc, 0xb0, 0x94, 0xf9, 0xc7, 0xe3, 0x25, 0xaf, 0x1a, 0xe6, 0xca, 0xfb, 0xbf, 0xe8, - 0x8c, 0x5c, 0xe5, 0x44, 0x72, 0xa0, 0x2a, 0x0e, 0x39, 0x93, 0x6d, 0x45, 0xf7, 0x0d, 0x4a, 0xa1, - 0x4f, 0xfd, 0xb6, 0x1f, 0xf6, 0xb8, 0xf0, 0x07, 0xcb, 0x38, 0xbe, 0xf4, 0x27, 0x4b, 0x0b, 0x8b, - 0xa9, 0x06, 0x36, 0x6c, 0xa2, 0x04, 0x81, 0x9f, 0xad, 0xec, 0xda, 0x09, 0xd2, 0x98, 0xea, 0xb4, - 0x17, 0xa4, 0x09, 0x4a, 0xad, 0xe0, 0xc6, 0x8f, 0x6c, 0x16, 0xe3, 0x98, 0x6a, 0x8c, 0x7b, 0x09, - 0xc6, 0x09, 0xc2, 0xd8, 0x8a, 0xb2, 0x57, 0x6d, 0x77, 0x5f, 0xee, 0x02, 0x00, 0x00, 0xff, 0xff, - 0x9c, 0x9b, 0x31, 0x6d, 0x0a, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/text_label.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/text_label.pb.go deleted file mode 100644 index 79e1f767..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/text_label.pb.go +++ /dev/null @@ -1,109 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/common/text_label.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A type of label displaying text on a colored background. -type TextLabel struct { - // Background color of the label in RGB format. This string must match the - // regular expression '^\#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$'. - // Note: The background color may not be visible for manager accounts. - BackgroundColor *wrappers.StringValue `protobuf:"bytes,1,opt,name=background_color,json=backgroundColor,proto3" json:"background_color,omitempty"` - // A short description of the label. The length must be no more than 200 - // characters. - Description *wrappers.StringValue `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TextLabel) Reset() { *m = TextLabel{} } -func (m *TextLabel) String() string { return proto.CompactTextString(m) } -func (*TextLabel) ProtoMessage() {} -func (*TextLabel) Descriptor() ([]byte, []int) { - return fileDescriptor_e124a9c58395a2ff, []int{0} -} - -func (m *TextLabel) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextLabel.Unmarshal(m, b) -} -func (m *TextLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextLabel.Marshal(b, m, deterministic) -} -func (m *TextLabel) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextLabel.Merge(m, src) -} -func (m *TextLabel) XXX_Size() int { - return xxx_messageInfo_TextLabel.Size(m) -} -func (m *TextLabel) XXX_DiscardUnknown() { - xxx_messageInfo_TextLabel.DiscardUnknown(m) -} - -var xxx_messageInfo_TextLabel proto.InternalMessageInfo - -func (m *TextLabel) GetBackgroundColor() *wrappers.StringValue { - if m != nil { - return m.BackgroundColor - } - return nil -} - -func (m *TextLabel) GetDescription() *wrappers.StringValue { - if m != nil { - return m.Description - } - return nil -} - -func init() { - proto.RegisterType((*TextLabel)(nil), "google.ads.googleads.v2.common.TextLabel") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/common/text_label.proto", fileDescriptor_e124a9c58395a2ff) -} - -var fileDescriptor_e124a9c58395a2ff = []byte{ - // 315 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0xc1, 0x4a, 0xc3, 0x30, - 0x18, 0xc7, 0x69, 0x05, 0xc1, 0x0e, 0x54, 0x76, 0x1a, 0x63, 0x0c, 0xd9, 0xc9, 0x53, 0x02, 0xf5, - 0x16, 0x41, 0xe8, 0x26, 0xec, 0xe2, 0x61, 0xa8, 0xf4, 0x20, 0x85, 0x91, 0x36, 0x31, 0x14, 0xb3, - 0x7c, 0x21, 0xc9, 0xe6, 0x1e, 0xc4, 0x27, 0xf0, 0xe8, 0xa3, 0xf8, 0x26, 0xfa, 0x14, 0x92, 0xa6, - 0xad, 0x5e, 0x14, 0x4f, 0xfd, 0xd3, 0xfc, 0x7e, 0xdf, 0x3f, 0xf9, 0x12, 0x2c, 0x00, 0x84, 0xe4, - 0x98, 0x32, 0xdb, 0x46, 0x9f, 0x76, 0x29, 0xae, 0x60, 0xb3, 0x01, 0x85, 0x1d, 0xdf, 0xbb, 0xb5, - 0xa4, 0x25, 0x97, 0x48, 0x1b, 0x70, 0x30, 0x9c, 0x06, 0x0a, 0x51, 0x66, 0x51, 0x2f, 0xa0, 0x5d, - 0x8a, 0x82, 0x30, 0x6e, 0xcf, 0x71, 0x43, 0x97, 0xdb, 0x47, 0xfc, 0x6c, 0xa8, 0xd6, 0xdc, 0xd8, - 0xe0, 0x8f, 0x27, 0x5d, 0xa1, 0xae, 0x31, 0x55, 0x0a, 0x1c, 0x75, 0x35, 0xa8, 0xf6, 0x74, 0xf6, - 0x12, 0x25, 0x47, 0xf7, 0x7c, 0xef, 0x6e, 0x7c, 0xe3, 0x70, 0x99, 0x9c, 0x96, 0xb4, 0x7a, 0x12, - 0x06, 0xb6, 0x8a, 0xad, 0x2b, 0x90, 0x60, 0x46, 0xd1, 0x59, 0x74, 0x3e, 0x48, 0x27, 0x6d, 0x37, - 0xea, 0x6a, 0xd0, 0x9d, 0x33, 0xb5, 0x12, 0x39, 0x95, 0x5b, 0x7e, 0x7b, 0xf2, 0x6d, 0x2d, 0xbc, - 0x34, 0xbc, 0x4a, 0x06, 0x8c, 0xdb, 0xca, 0xd4, 0xda, 0x97, 0x8d, 0xe2, 0x7f, 0xcc, 0xf8, 0x29, - 0xcc, 0x3f, 0xa2, 0x64, 0x56, 0xc1, 0x06, 0xfd, 0xfd, 0xf6, 0xf9, 0x71, 0x7f, 0xf5, 0x95, 0x1f, - 0xb9, 0x8a, 0x1e, 0xae, 0x5b, 0x43, 0x80, 0xa4, 0x4a, 0x20, 0x30, 0x02, 0x0b, 0xae, 0x9a, 0xc2, - 0x6e, 0xdd, 0xba, 0xb6, 0xbf, 0x6d, 0xff, 0x32, 0x7c, 0x5e, 0xe3, 0x83, 0x65, 0x96, 0xbd, 0xc5, - 0xd3, 0x65, 0x18, 0x96, 0x31, 0x8b, 0x42, 0xf4, 0x29, 0x4f, 0xd1, 0xa2, 0xc1, 0xde, 0x3b, 0xa0, - 0xc8, 0x98, 0x2d, 0x7a, 0xa0, 0xc8, 0xd3, 0x22, 0x00, 0x9f, 0xf1, 0x2c, 0xfc, 0x25, 0x24, 0x63, - 0x96, 0x90, 0x1e, 0x21, 0x24, 0x4f, 0x09, 0x09, 0x50, 0x79, 0xd8, 0xdc, 0xee, 0xe2, 0x2b, 0x00, - 0x00, 0xff, 0xff, 0x72, 0xf9, 0xd6, 0xc2, 0x1a, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/url_collection.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/url_collection.pb.go deleted file mode 100644 index 5c0c749f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/url_collection.pb.go +++ /dev/null @@ -1,128 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/common/url_collection.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Collection of urls that is tagged with a unique identifier. -type UrlCollection struct { - // Unique identifier for this UrlCollection instance. - UrlCollectionId *wrappers.StringValue `protobuf:"bytes,1,opt,name=url_collection_id,json=urlCollectionId,proto3" json:"url_collection_id,omitempty"` - // A list of possible final URLs. - FinalUrls []*wrappers.StringValue `protobuf:"bytes,2,rep,name=final_urls,json=finalUrls,proto3" json:"final_urls,omitempty"` - // A list of possible final mobile URLs. - FinalMobileUrls []*wrappers.StringValue `protobuf:"bytes,3,rep,name=final_mobile_urls,json=finalMobileUrls,proto3" json:"final_mobile_urls,omitempty"` - // URL template for constructing a tracking URL. - TrackingUrlTemplate *wrappers.StringValue `protobuf:"bytes,4,opt,name=tracking_url_template,json=trackingUrlTemplate,proto3" json:"tracking_url_template,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UrlCollection) Reset() { *m = UrlCollection{} } -func (m *UrlCollection) String() string { return proto.CompactTextString(m) } -func (*UrlCollection) ProtoMessage() {} -func (*UrlCollection) Descriptor() ([]byte, []int) { - return fileDescriptor_a7b42947fa099ffb, []int{0} -} - -func (m *UrlCollection) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UrlCollection.Unmarshal(m, b) -} -func (m *UrlCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UrlCollection.Marshal(b, m, deterministic) -} -func (m *UrlCollection) XXX_Merge(src proto.Message) { - xxx_messageInfo_UrlCollection.Merge(m, src) -} -func (m *UrlCollection) XXX_Size() int { - return xxx_messageInfo_UrlCollection.Size(m) -} -func (m *UrlCollection) XXX_DiscardUnknown() { - xxx_messageInfo_UrlCollection.DiscardUnknown(m) -} - -var xxx_messageInfo_UrlCollection proto.InternalMessageInfo - -func (m *UrlCollection) GetUrlCollectionId() *wrappers.StringValue { - if m != nil { - return m.UrlCollectionId - } - return nil -} - -func (m *UrlCollection) GetFinalUrls() []*wrappers.StringValue { - if m != nil { - return m.FinalUrls - } - return nil -} - -func (m *UrlCollection) GetFinalMobileUrls() []*wrappers.StringValue { - if m != nil { - return m.FinalMobileUrls - } - return nil -} - -func (m *UrlCollection) GetTrackingUrlTemplate() *wrappers.StringValue { - if m != nil { - return m.TrackingUrlTemplate - } - return nil -} - -func init() { - proto.RegisterType((*UrlCollection)(nil), "google.ads.googleads.v2.common.UrlCollection") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/common/url_collection.proto", fileDescriptor_a7b42947fa099ffb) -} - -var fileDescriptor_a7b42947fa099ffb = []byte{ - // 370 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0x41, 0x4b, 0xf3, 0x30, - 0x18, 0xc7, 0x69, 0xf7, 0xf2, 0xc2, 0xdb, 0x17, 0x19, 0x56, 0x84, 0x31, 0xc6, 0x18, 0x3b, 0x79, - 0x4a, 0xa0, 0xbb, 0x65, 0xa7, 0x6e, 0xc2, 0xf4, 0x20, 0x0c, 0x75, 0x3d, 0x48, 0xa1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e, 0xc1, 0x6e, 0x0c, 0x65, 0x4c, 0x6b, 0xef, 0xbc, 0x54, 0x38, 0x7d, 0x64, - 0x82, 0xd6, 0x96, 0xa4, 0x24, 0x79, 0xc1, 0x71, 0x49, 0x06, 0x7f, 0x8e, 0xf8, 0xa8, 0xb3, 0x16, - 0xdd, 0x28, 0x7e, 0xdf, 0x80, 0x8b, 0x0f, 0xc7, 0x9b, 0xa6, 0x32, 0x07, 0x3f, 0xdf, 0xcc, 0xc2, - 0x3f, 0xf8, 0xb1, 0xeb, 0x5a, 0xbf, 0x76, 0x1e, 0x2e, 0x1b, 0x8a, 0x4a, 0x8e, 0x05, 0x05, 0x52, - 0x51, 0x48, 0x89, 0x30, 0xcd, 0xdb, 0xa5, 0x28, 0x98, 0xfe, 0x6e, 0x47, 0xe6, 0xf6, 0xf1, 0xec, - 0xf6, 0x56, 0x61, 0xf8, 0xe2, 0x8e, 0x57, 0x56, 0x16, 0x66, 0x1a, 0xd8, 0xb2, 0xae, 0xa2, 0x00, - 0x2c, 0x4d, 0xec, 0xad, 0x0d, 0xc4, 0x61, 0xa6, 0xe3, 0x2e, 0x10, 0x47, 0x41, 0x6c, 0x03, 0xef, - 0xee, 0xd4, 0xbe, 0x45, 0x28, 0xcc, 0x34, 0x42, 0x5d, 0x04, 0xa1, 0x28, 0x40, 0xc8, 0x86, 0xb6, - 0x7f, 0xcd, 0x74, 0xb3, 0xcf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf5, 0x54, 0x57, 0x6b, 0xc0, 0x02, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/user_lists.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/user_lists.pb.go deleted file mode 100644 index c6e71f09..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/user_lists.pb.go +++ /dev/null @@ -1,1191 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/common/user_lists.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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_33d0509a07253d36, []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 (m *SimilarUserListInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_SimilarUserListInfo.Merge(m, 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.v2.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.v2.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_33d0509a07253d36, []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 (m *CrmBasedUserListInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_CrmBasedUserListInfo.Merge(m, 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 -} - -// A client defined rule based on custom parameters sent by web sites or -// uploaded by the advertiser. -type UserListRuleInfo struct { - // Rule type is used to determine how to group rule items. - // - // The default is OR of ANDs (disjunctive normal form). - // That is, rule items will be ANDed together within rule item groups and the - // groups themselves will be ORed together. - // - // Currently AND of ORs (conjunctive normal form) is only supported for - // ExpressionRuleUserList. - RuleType enums.UserListRuleTypeEnum_UserListRuleType `protobuf:"varint,1,opt,name=rule_type,json=ruleType,proto3,enum=google.ads.googleads.v2.enums.UserListRuleTypeEnum_UserListRuleType" json:"rule_type,omitempty"` - // List of rule item groups that defines this rule. - // Rule item groups are grouped together based on rule_type. - RuleItemGroups []*UserListRuleItemGroupInfo `protobuf:"bytes,2,rep,name=rule_item_groups,json=ruleItemGroups,proto3" json:"rule_item_groups,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserListRuleInfo) Reset() { *m = UserListRuleInfo{} } -func (m *UserListRuleInfo) String() string { return proto.CompactTextString(m) } -func (*UserListRuleInfo) ProtoMessage() {} -func (*UserListRuleInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_33d0509a07253d36, []int{2} -} - -func (m *UserListRuleInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserListRuleInfo.Unmarshal(m, b) -} -func (m *UserListRuleInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserListRuleInfo.Marshal(b, m, deterministic) -} -func (m *UserListRuleInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListRuleInfo.Merge(m, src) -} -func (m *UserListRuleInfo) XXX_Size() int { - return xxx_messageInfo_UserListRuleInfo.Size(m) -} -func (m *UserListRuleInfo) XXX_DiscardUnknown() { - xxx_messageInfo_UserListRuleInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_UserListRuleInfo proto.InternalMessageInfo - -func (m *UserListRuleInfo) GetRuleType() enums.UserListRuleTypeEnum_UserListRuleType { - if m != nil { - return m.RuleType - } - return enums.UserListRuleTypeEnum_UNSPECIFIED -} - -func (m *UserListRuleInfo) GetRuleItemGroups() []*UserListRuleItemGroupInfo { - if m != nil { - return m.RuleItemGroups - } - return nil -} - -// A group of rule items. -type UserListRuleItemGroupInfo struct { - // Rule items that will be grouped together based on rule_type. - RuleItems []*UserListRuleItemInfo `protobuf:"bytes,1,rep,name=rule_items,json=ruleItems,proto3" json:"rule_items,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserListRuleItemGroupInfo) Reset() { *m = UserListRuleItemGroupInfo{} } -func (m *UserListRuleItemGroupInfo) String() string { return proto.CompactTextString(m) } -func (*UserListRuleItemGroupInfo) ProtoMessage() {} -func (*UserListRuleItemGroupInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_33d0509a07253d36, []int{3} -} - -func (m *UserListRuleItemGroupInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserListRuleItemGroupInfo.Unmarshal(m, b) -} -func (m *UserListRuleItemGroupInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserListRuleItemGroupInfo.Marshal(b, m, deterministic) -} -func (m *UserListRuleItemGroupInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListRuleItemGroupInfo.Merge(m, src) -} -func (m *UserListRuleItemGroupInfo) XXX_Size() int { - return xxx_messageInfo_UserListRuleItemGroupInfo.Size(m) -} -func (m *UserListRuleItemGroupInfo) XXX_DiscardUnknown() { - xxx_messageInfo_UserListRuleItemGroupInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_UserListRuleItemGroupInfo proto.InternalMessageInfo - -func (m *UserListRuleItemGroupInfo) GetRuleItems() []*UserListRuleItemInfo { - if m != nil { - return m.RuleItems - } - return nil -} - -// An atomic rule fragment. -type UserListRuleItemInfo struct { - // Rule variable name. It should match the corresponding key name fired - // by the pixel. - // A name must begin with US-ascii letters or underscore or UTF8 code that is - // greater than 127 and consist of US-ascii letters or digits or underscore or - // UTF8 code that is greater than 127. - // For websites, there are two built-in variable URL (name = 'url__') and - // referrer URL (name = 'ref_url__'). - // This field must be populated when creating a new rule item. - Name *wrappers.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // An atomic rule fragment. - // - // Types that are valid to be assigned to RuleItem: - // *UserListRuleItemInfo_NumberRuleItem - // *UserListRuleItemInfo_StringRuleItem - // *UserListRuleItemInfo_DateRuleItem - RuleItem isUserListRuleItemInfo_RuleItem `protobuf_oneof:"rule_item"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserListRuleItemInfo) Reset() { *m = UserListRuleItemInfo{} } -func (m *UserListRuleItemInfo) String() string { return proto.CompactTextString(m) } -func (*UserListRuleItemInfo) ProtoMessage() {} -func (*UserListRuleItemInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_33d0509a07253d36, []int{4} -} - -func (m *UserListRuleItemInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserListRuleItemInfo.Unmarshal(m, b) -} -func (m *UserListRuleItemInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserListRuleItemInfo.Marshal(b, m, deterministic) -} -func (m *UserListRuleItemInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListRuleItemInfo.Merge(m, src) -} -func (m *UserListRuleItemInfo) XXX_Size() int { - return xxx_messageInfo_UserListRuleItemInfo.Size(m) -} -func (m *UserListRuleItemInfo) XXX_DiscardUnknown() { - xxx_messageInfo_UserListRuleItemInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_UserListRuleItemInfo proto.InternalMessageInfo - -func (m *UserListRuleItemInfo) GetName() *wrappers.StringValue { - if m != nil { - return m.Name - } - return nil -} - -type isUserListRuleItemInfo_RuleItem interface { - isUserListRuleItemInfo_RuleItem() -} - -type UserListRuleItemInfo_NumberRuleItem struct { - NumberRuleItem *UserListNumberRuleItemInfo `protobuf:"bytes,2,opt,name=number_rule_item,json=numberRuleItem,proto3,oneof"` -} - -type UserListRuleItemInfo_StringRuleItem struct { - StringRuleItem *UserListStringRuleItemInfo `protobuf:"bytes,3,opt,name=string_rule_item,json=stringRuleItem,proto3,oneof"` -} - -type UserListRuleItemInfo_DateRuleItem struct { - DateRuleItem *UserListDateRuleItemInfo `protobuf:"bytes,4,opt,name=date_rule_item,json=dateRuleItem,proto3,oneof"` -} - -func (*UserListRuleItemInfo_NumberRuleItem) isUserListRuleItemInfo_RuleItem() {} - -func (*UserListRuleItemInfo_StringRuleItem) isUserListRuleItemInfo_RuleItem() {} - -func (*UserListRuleItemInfo_DateRuleItem) isUserListRuleItemInfo_RuleItem() {} - -func (m *UserListRuleItemInfo) GetRuleItem() isUserListRuleItemInfo_RuleItem { - if m != nil { - return m.RuleItem - } - return nil -} - -func (m *UserListRuleItemInfo) GetNumberRuleItem() *UserListNumberRuleItemInfo { - if x, ok := m.GetRuleItem().(*UserListRuleItemInfo_NumberRuleItem); ok { - return x.NumberRuleItem - } - return nil -} - -func (m *UserListRuleItemInfo) GetStringRuleItem() *UserListStringRuleItemInfo { - if x, ok := m.GetRuleItem().(*UserListRuleItemInfo_StringRuleItem); ok { - return x.StringRuleItem - } - return nil -} - -func (m *UserListRuleItemInfo) GetDateRuleItem() *UserListDateRuleItemInfo { - if x, ok := m.GetRuleItem().(*UserListRuleItemInfo_DateRuleItem); ok { - return x.DateRuleItem - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*UserListRuleItemInfo) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*UserListRuleItemInfo_NumberRuleItem)(nil), - (*UserListRuleItemInfo_StringRuleItem)(nil), - (*UserListRuleItemInfo_DateRuleItem)(nil), - } -} - -// A rule item composed of date operation. -type UserListDateRuleItemInfo struct { - // Date comparison operator. - // This field is required and must be populated when creating new date - // rule item. - Operator enums.UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator `protobuf:"varint,1,opt,name=operator,proto3,enum=google.ads.googleads.v2.enums.UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator" json:"operator,omitempty"` - // String representing date value to be compared with the rule variable. - // Supported date format is YYYY-MM-DD. - // Times are reported in the customer's time zone. - Value *wrappers.StringValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - // The relative date value of the right hand side denoted by number of days - // offset from now. The value field will override this field when both are - // present. - OffsetInDays *wrappers.Int64Value `protobuf:"bytes,3,opt,name=offset_in_days,json=offsetInDays,proto3" json:"offset_in_days,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserListDateRuleItemInfo) Reset() { *m = UserListDateRuleItemInfo{} } -func (m *UserListDateRuleItemInfo) String() string { return proto.CompactTextString(m) } -func (*UserListDateRuleItemInfo) ProtoMessage() {} -func (*UserListDateRuleItemInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_33d0509a07253d36, []int{5} -} - -func (m *UserListDateRuleItemInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserListDateRuleItemInfo.Unmarshal(m, b) -} -func (m *UserListDateRuleItemInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserListDateRuleItemInfo.Marshal(b, m, deterministic) -} -func (m *UserListDateRuleItemInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListDateRuleItemInfo.Merge(m, src) -} -func (m *UserListDateRuleItemInfo) XXX_Size() int { - return xxx_messageInfo_UserListDateRuleItemInfo.Size(m) -} -func (m *UserListDateRuleItemInfo) XXX_DiscardUnknown() { - xxx_messageInfo_UserListDateRuleItemInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_UserListDateRuleItemInfo proto.InternalMessageInfo - -func (m *UserListDateRuleItemInfo) GetOperator() enums.UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator { - if m != nil { - return m.Operator - } - return enums.UserListDateRuleItemOperatorEnum_UNSPECIFIED -} - -func (m *UserListDateRuleItemInfo) GetValue() *wrappers.StringValue { - if m != nil { - return m.Value - } - return nil -} - -func (m *UserListDateRuleItemInfo) GetOffsetInDays() *wrappers.Int64Value { - if m != nil { - return m.OffsetInDays - } - return nil -} - -// A rule item composed of number operation. -type UserListNumberRuleItemInfo struct { - // Number comparison operator. - // This field is required and must be populated when creating a new number - // rule item. - Operator enums.UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator `protobuf:"varint,1,opt,name=operator,proto3,enum=google.ads.googleads.v2.enums.UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator" json:"operator,omitempty"` - // Number value to be compared with the variable. - // This field is required and must be populated when creating a new number - // rule item. - Value *wrappers.DoubleValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserListNumberRuleItemInfo) Reset() { *m = UserListNumberRuleItemInfo{} } -func (m *UserListNumberRuleItemInfo) String() string { return proto.CompactTextString(m) } -func (*UserListNumberRuleItemInfo) ProtoMessage() {} -func (*UserListNumberRuleItemInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_33d0509a07253d36, []int{6} -} - -func (m *UserListNumberRuleItemInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserListNumberRuleItemInfo.Unmarshal(m, b) -} -func (m *UserListNumberRuleItemInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserListNumberRuleItemInfo.Marshal(b, m, deterministic) -} -func (m *UserListNumberRuleItemInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListNumberRuleItemInfo.Merge(m, src) -} -func (m *UserListNumberRuleItemInfo) XXX_Size() int { - return xxx_messageInfo_UserListNumberRuleItemInfo.Size(m) -} -func (m *UserListNumberRuleItemInfo) XXX_DiscardUnknown() { - xxx_messageInfo_UserListNumberRuleItemInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_UserListNumberRuleItemInfo proto.InternalMessageInfo - -func (m *UserListNumberRuleItemInfo) GetOperator() enums.UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator { - if m != nil { - return m.Operator - } - return enums.UserListNumberRuleItemOperatorEnum_UNSPECIFIED -} - -func (m *UserListNumberRuleItemInfo) GetValue() *wrappers.DoubleValue { - if m != nil { - return m.Value - } - return nil -} - -// A rule item fragment composed of date operation. -type UserListStringRuleItemInfo struct { - // String comparison operator. - // This field is required and must be populated when creating a new string - // rule item. - Operator enums.UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator `protobuf:"varint,1,opt,name=operator,proto3,enum=google.ads.googleads.v2.enums.UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator" json:"operator,omitempty"` - // The right hand side of the string rule item. For URLs or referrer URLs, - // the value can not contain illegal URL chars such as newlines, quotes, - // tabs, or parentheses. This field is required and must be populated when - // creating a new string rule item. - 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 *UserListStringRuleItemInfo) Reset() { *m = UserListStringRuleItemInfo{} } -func (m *UserListStringRuleItemInfo) String() string { return proto.CompactTextString(m) } -func (*UserListStringRuleItemInfo) ProtoMessage() {} -func (*UserListStringRuleItemInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_33d0509a07253d36, []int{7} -} - -func (m *UserListStringRuleItemInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserListStringRuleItemInfo.Unmarshal(m, b) -} -func (m *UserListStringRuleItemInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserListStringRuleItemInfo.Marshal(b, m, deterministic) -} -func (m *UserListStringRuleItemInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListStringRuleItemInfo.Merge(m, src) -} -func (m *UserListStringRuleItemInfo) XXX_Size() int { - return xxx_messageInfo_UserListStringRuleItemInfo.Size(m) -} -func (m *UserListStringRuleItemInfo) XXX_DiscardUnknown() { - xxx_messageInfo_UserListStringRuleItemInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_UserListStringRuleItemInfo proto.InternalMessageInfo - -func (m *UserListStringRuleItemInfo) GetOperator() enums.UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator { - if m != nil { - return m.Operator - } - return enums.UserListStringRuleItemOperatorEnum_UNSPECIFIED -} - -func (m *UserListStringRuleItemInfo) GetValue() *wrappers.StringValue { - if m != nil { - return m.Value - } - return nil -} - -// User lists defined by combining two rules, left operand and right operand. -// There are two operators: AND where left operand and right operand have to be -// true; AND_NOT where left operand is true but right operand is false. -type CombinedRuleUserListInfo struct { - // Left operand of the combined rule. - // This field is required and must be populated when creating new combined - // rule based user list. - LeftOperand *UserListRuleInfo `protobuf:"bytes,1,opt,name=left_operand,json=leftOperand,proto3" json:"left_operand,omitempty"` - // Right operand of the combined rule. - // This field is required and must be populated when creating new combined - // rule based user list. - RightOperand *UserListRuleInfo `protobuf:"bytes,2,opt,name=right_operand,json=rightOperand,proto3" json:"right_operand,omitempty"` - // Operator to connect the two operands. - // - // Required for creating a combined rule user list. - RuleOperator enums.UserListCombinedRuleOperatorEnum_UserListCombinedRuleOperator `protobuf:"varint,3,opt,name=rule_operator,json=ruleOperator,proto3,enum=google.ads.googleads.v2.enums.UserListCombinedRuleOperatorEnum_UserListCombinedRuleOperator" json:"rule_operator,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CombinedRuleUserListInfo) Reset() { *m = CombinedRuleUserListInfo{} } -func (m *CombinedRuleUserListInfo) String() string { return proto.CompactTextString(m) } -func (*CombinedRuleUserListInfo) ProtoMessage() {} -func (*CombinedRuleUserListInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_33d0509a07253d36, []int{8} -} - -func (m *CombinedRuleUserListInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CombinedRuleUserListInfo.Unmarshal(m, b) -} -func (m *CombinedRuleUserListInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CombinedRuleUserListInfo.Marshal(b, m, deterministic) -} -func (m *CombinedRuleUserListInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_CombinedRuleUserListInfo.Merge(m, src) -} -func (m *CombinedRuleUserListInfo) XXX_Size() int { - return xxx_messageInfo_CombinedRuleUserListInfo.Size(m) -} -func (m *CombinedRuleUserListInfo) XXX_DiscardUnknown() { - xxx_messageInfo_CombinedRuleUserListInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_CombinedRuleUserListInfo proto.InternalMessageInfo - -func (m *CombinedRuleUserListInfo) GetLeftOperand() *UserListRuleInfo { - if m != nil { - return m.LeftOperand - } - return nil -} - -func (m *CombinedRuleUserListInfo) GetRightOperand() *UserListRuleInfo { - if m != nil { - return m.RightOperand - } - return nil -} - -func (m *CombinedRuleUserListInfo) GetRuleOperator() enums.UserListCombinedRuleOperatorEnum_UserListCombinedRuleOperator { - if m != nil { - return m.RuleOperator - } - return enums.UserListCombinedRuleOperatorEnum_UNSPECIFIED -} - -// Visitors of a page during specific dates. -type DateSpecificRuleUserListInfo struct { - // Boolean rule that defines visitor of a page. - // - // Required for creating a date specific rule user list. - Rule *UserListRuleInfo `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` - // Start date of users visit. If set to 2000-01-01, then the list includes all - // users before end_date. The date's format should be YYYY-MM-DD. - // - // Required for creating a data specific rule user list. - StartDate *wrappers.StringValue `protobuf:"bytes,2,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` - // End date of users visit. If set to 2037-12-30, then the list includes all - // users after start_date. The date's format should be YYYY-MM-DD. - // - // Required for creating a data specific rule user list. - EndDate *wrappers.StringValue `protobuf:"bytes,3,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 *DateSpecificRuleUserListInfo) Reset() { *m = DateSpecificRuleUserListInfo{} } -func (m *DateSpecificRuleUserListInfo) String() string { return proto.CompactTextString(m) } -func (*DateSpecificRuleUserListInfo) ProtoMessage() {} -func (*DateSpecificRuleUserListInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_33d0509a07253d36, []int{9} -} - -func (m *DateSpecificRuleUserListInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DateSpecificRuleUserListInfo.Unmarshal(m, b) -} -func (m *DateSpecificRuleUserListInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DateSpecificRuleUserListInfo.Marshal(b, m, deterministic) -} -func (m *DateSpecificRuleUserListInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_DateSpecificRuleUserListInfo.Merge(m, src) -} -func (m *DateSpecificRuleUserListInfo) XXX_Size() int { - return xxx_messageInfo_DateSpecificRuleUserListInfo.Size(m) -} -func (m *DateSpecificRuleUserListInfo) XXX_DiscardUnknown() { - xxx_messageInfo_DateSpecificRuleUserListInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_DateSpecificRuleUserListInfo proto.InternalMessageInfo - -func (m *DateSpecificRuleUserListInfo) GetRule() *UserListRuleInfo { - if m != nil { - return m.Rule - } - return nil -} - -func (m *DateSpecificRuleUserListInfo) GetStartDate() *wrappers.StringValue { - if m != nil { - return m.StartDate - } - return nil -} - -func (m *DateSpecificRuleUserListInfo) GetEndDate() *wrappers.StringValue { - if m != nil { - return m.EndDate - } - return nil -} - -// Visitors of a page. The page visit is defined by one boolean rule expression. -type ExpressionRuleUserListInfo struct { - // Boolean rule that defines this user list. The rule consists of a list of - // rule item groups and each rule item group consists of a list of rule items. - // All the rule item groups are ORed or ANDed together for evaluation based on - // rule.rule_type. - // - // Required for creating an expression rule user list. - Rule *UserListRuleInfo `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExpressionRuleUserListInfo) Reset() { *m = ExpressionRuleUserListInfo{} } -func (m *ExpressionRuleUserListInfo) String() string { return proto.CompactTextString(m) } -func (*ExpressionRuleUserListInfo) ProtoMessage() {} -func (*ExpressionRuleUserListInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_33d0509a07253d36, []int{10} -} - -func (m *ExpressionRuleUserListInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExpressionRuleUserListInfo.Unmarshal(m, b) -} -func (m *ExpressionRuleUserListInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExpressionRuleUserListInfo.Marshal(b, m, deterministic) -} -func (m *ExpressionRuleUserListInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExpressionRuleUserListInfo.Merge(m, src) -} -func (m *ExpressionRuleUserListInfo) XXX_Size() int { - return xxx_messageInfo_ExpressionRuleUserListInfo.Size(m) -} -func (m *ExpressionRuleUserListInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ExpressionRuleUserListInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_ExpressionRuleUserListInfo proto.InternalMessageInfo - -func (m *ExpressionRuleUserListInfo) GetRule() *UserListRuleInfo { - if m != nil { - return m.Rule - } - return nil -} - -// Representation of a userlist that is generated by a rule. -type RuleBasedUserListInfo struct { - // The status of pre-population. The field is default to NONE if not set which - // means the previous users will not be considered. If set to REQUESTED, past - // site visitors or app users who match the list definition will be included - // in the list (works on the Display Network only). This will only - // add past users from within the last 30 days, depending on the - // list's membership duration and the date when the remarketing tag is added. - // The status will be updated to FINISHED once request is processed, or FAILED - // if the request fails. - PrepopulationStatus enums.UserListPrepopulationStatusEnum_UserListPrepopulationStatus `protobuf:"varint,1,opt,name=prepopulation_status,json=prepopulationStatus,proto3,enum=google.ads.googleads.v2.enums.UserListPrepopulationStatusEnum_UserListPrepopulationStatus" json:"prepopulation_status,omitempty"` - // Subtypes of rule based user lists. - // - // Types that are valid to be assigned to RuleBasedUserList: - // *RuleBasedUserListInfo_CombinedRuleUserList - // *RuleBasedUserListInfo_DateSpecificRuleUserList - // *RuleBasedUserListInfo_ExpressionRuleUserList - RuleBasedUserList isRuleBasedUserListInfo_RuleBasedUserList `protobuf_oneof:"rule_based_user_list"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RuleBasedUserListInfo) Reset() { *m = RuleBasedUserListInfo{} } -func (m *RuleBasedUserListInfo) String() string { return proto.CompactTextString(m) } -func (*RuleBasedUserListInfo) ProtoMessage() {} -func (*RuleBasedUserListInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_33d0509a07253d36, []int{11} -} - -func (m *RuleBasedUserListInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RuleBasedUserListInfo.Unmarshal(m, b) -} -func (m *RuleBasedUserListInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RuleBasedUserListInfo.Marshal(b, m, deterministic) -} -func (m *RuleBasedUserListInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_RuleBasedUserListInfo.Merge(m, src) -} -func (m *RuleBasedUserListInfo) XXX_Size() int { - return xxx_messageInfo_RuleBasedUserListInfo.Size(m) -} -func (m *RuleBasedUserListInfo) XXX_DiscardUnknown() { - xxx_messageInfo_RuleBasedUserListInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_RuleBasedUserListInfo proto.InternalMessageInfo - -func (m *RuleBasedUserListInfo) GetPrepopulationStatus() enums.UserListPrepopulationStatusEnum_UserListPrepopulationStatus { - if m != nil { - return m.PrepopulationStatus - } - return enums.UserListPrepopulationStatusEnum_UNSPECIFIED -} - -type isRuleBasedUserListInfo_RuleBasedUserList interface { - isRuleBasedUserListInfo_RuleBasedUserList() -} - -type RuleBasedUserListInfo_CombinedRuleUserList struct { - CombinedRuleUserList *CombinedRuleUserListInfo `protobuf:"bytes,2,opt,name=combined_rule_user_list,json=combinedRuleUserList,proto3,oneof"` -} - -type RuleBasedUserListInfo_DateSpecificRuleUserList struct { - DateSpecificRuleUserList *DateSpecificRuleUserListInfo `protobuf:"bytes,3,opt,name=date_specific_rule_user_list,json=dateSpecificRuleUserList,proto3,oneof"` -} - -type RuleBasedUserListInfo_ExpressionRuleUserList struct { - ExpressionRuleUserList *ExpressionRuleUserListInfo `protobuf:"bytes,4,opt,name=expression_rule_user_list,json=expressionRuleUserList,proto3,oneof"` -} - -func (*RuleBasedUserListInfo_CombinedRuleUserList) isRuleBasedUserListInfo_RuleBasedUserList() {} - -func (*RuleBasedUserListInfo_DateSpecificRuleUserList) isRuleBasedUserListInfo_RuleBasedUserList() {} - -func (*RuleBasedUserListInfo_ExpressionRuleUserList) isRuleBasedUserListInfo_RuleBasedUserList() {} - -func (m *RuleBasedUserListInfo) GetRuleBasedUserList() isRuleBasedUserListInfo_RuleBasedUserList { - if m != nil { - return m.RuleBasedUserList - } - return nil -} - -func (m *RuleBasedUserListInfo) GetCombinedRuleUserList() *CombinedRuleUserListInfo { - if x, ok := m.GetRuleBasedUserList().(*RuleBasedUserListInfo_CombinedRuleUserList); ok { - return x.CombinedRuleUserList - } - return nil -} - -func (m *RuleBasedUserListInfo) GetDateSpecificRuleUserList() *DateSpecificRuleUserListInfo { - if x, ok := m.GetRuleBasedUserList().(*RuleBasedUserListInfo_DateSpecificRuleUserList); ok { - return x.DateSpecificRuleUserList - } - return nil -} - -func (m *RuleBasedUserListInfo) GetExpressionRuleUserList() *ExpressionRuleUserListInfo { - if x, ok := m.GetRuleBasedUserList().(*RuleBasedUserListInfo_ExpressionRuleUserList); ok { - return x.ExpressionRuleUserList - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*RuleBasedUserListInfo) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*RuleBasedUserListInfo_CombinedRuleUserList)(nil), - (*RuleBasedUserListInfo_DateSpecificRuleUserList)(nil), - (*RuleBasedUserListInfo_ExpressionRuleUserList)(nil), - } -} - -// Represents a user list that is a custom combination of user lists. -type LogicalUserListInfo struct { - // Logical list rules that define this user list. The rules are defined as a - // logical operator (ALL/ANY/NONE) and a list of user lists. All the rules are - // ANDed when they are evaluated. - // - // Required for creating a logical user list. - Rules []*UserListLogicalRuleInfo `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LogicalUserListInfo) Reset() { *m = LogicalUserListInfo{} } -func (m *LogicalUserListInfo) String() string { return proto.CompactTextString(m) } -func (*LogicalUserListInfo) ProtoMessage() {} -func (*LogicalUserListInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_33d0509a07253d36, []int{12} -} - -func (m *LogicalUserListInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LogicalUserListInfo.Unmarshal(m, b) -} -func (m *LogicalUserListInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LogicalUserListInfo.Marshal(b, m, deterministic) -} -func (m *LogicalUserListInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_LogicalUserListInfo.Merge(m, src) -} -func (m *LogicalUserListInfo) XXX_Size() int { - return xxx_messageInfo_LogicalUserListInfo.Size(m) -} -func (m *LogicalUserListInfo) XXX_DiscardUnknown() { - xxx_messageInfo_LogicalUserListInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_LogicalUserListInfo proto.InternalMessageInfo - -func (m *LogicalUserListInfo) GetRules() []*UserListLogicalRuleInfo { - if m != nil { - return m.Rules - } - return nil -} - -// A user list logical rule. A rule has a logical operator (and/or/not) and a -// list of user lists as operands. -type UserListLogicalRuleInfo struct { - // The logical operator of the rule. - Operator enums.UserListLogicalRuleOperatorEnum_UserListLogicalRuleOperator `protobuf:"varint,1,opt,name=operator,proto3,enum=google.ads.googleads.v2.enums.UserListLogicalRuleOperatorEnum_UserListLogicalRuleOperator" json:"operator,omitempty"` - // The list of operands of the rule. - RuleOperands []*LogicalUserListOperandInfo `protobuf:"bytes,2,rep,name=rule_operands,json=ruleOperands,proto3" json:"rule_operands,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserListLogicalRuleInfo) Reset() { *m = UserListLogicalRuleInfo{} } -func (m *UserListLogicalRuleInfo) String() string { return proto.CompactTextString(m) } -func (*UserListLogicalRuleInfo) ProtoMessage() {} -func (*UserListLogicalRuleInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_33d0509a07253d36, []int{13} -} - -func (m *UserListLogicalRuleInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserListLogicalRuleInfo.Unmarshal(m, b) -} -func (m *UserListLogicalRuleInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserListLogicalRuleInfo.Marshal(b, m, deterministic) -} -func (m *UserListLogicalRuleInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListLogicalRuleInfo.Merge(m, src) -} -func (m *UserListLogicalRuleInfo) XXX_Size() int { - return xxx_messageInfo_UserListLogicalRuleInfo.Size(m) -} -func (m *UserListLogicalRuleInfo) XXX_DiscardUnknown() { - xxx_messageInfo_UserListLogicalRuleInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_UserListLogicalRuleInfo proto.InternalMessageInfo - -func (m *UserListLogicalRuleInfo) GetOperator() enums.UserListLogicalRuleOperatorEnum_UserListLogicalRuleOperator { - if m != nil { - return m.Operator - } - return enums.UserListLogicalRuleOperatorEnum_UNSPECIFIED -} - -func (m *UserListLogicalRuleInfo) GetRuleOperands() []*LogicalUserListOperandInfo { - if m != nil { - return m.RuleOperands - } - return nil -} - -// Operand of logical user list that consists of a user list. -type LogicalUserListOperandInfo struct { - // Resource name of a user list as an operand. - 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 *LogicalUserListOperandInfo) Reset() { *m = LogicalUserListOperandInfo{} } -func (m *LogicalUserListOperandInfo) String() string { return proto.CompactTextString(m) } -func (*LogicalUserListOperandInfo) ProtoMessage() {} -func (*LogicalUserListOperandInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_33d0509a07253d36, []int{14} -} - -func (m *LogicalUserListOperandInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LogicalUserListOperandInfo.Unmarshal(m, b) -} -func (m *LogicalUserListOperandInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LogicalUserListOperandInfo.Marshal(b, m, deterministic) -} -func (m *LogicalUserListOperandInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_LogicalUserListOperandInfo.Merge(m, src) -} -func (m *LogicalUserListOperandInfo) XXX_Size() int { - return xxx_messageInfo_LogicalUserListOperandInfo.Size(m) -} -func (m *LogicalUserListOperandInfo) XXX_DiscardUnknown() { - xxx_messageInfo_LogicalUserListOperandInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_LogicalUserListOperandInfo proto.InternalMessageInfo - -func (m *LogicalUserListOperandInfo) GetUserList() *wrappers.StringValue { - if m != nil { - return m.UserList - } - return nil -} - -// User list targeting as a collection of conversions or remarketing actions. -type BasicUserListInfo struct { - // Actions associated with this user list. - Actions []*UserListActionInfo `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BasicUserListInfo) Reset() { *m = BasicUserListInfo{} } -func (m *BasicUserListInfo) String() string { return proto.CompactTextString(m) } -func (*BasicUserListInfo) ProtoMessage() {} -func (*BasicUserListInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_33d0509a07253d36, []int{15} -} - -func (m *BasicUserListInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BasicUserListInfo.Unmarshal(m, b) -} -func (m *BasicUserListInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BasicUserListInfo.Marshal(b, m, deterministic) -} -func (m *BasicUserListInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_BasicUserListInfo.Merge(m, src) -} -func (m *BasicUserListInfo) XXX_Size() int { - return xxx_messageInfo_BasicUserListInfo.Size(m) -} -func (m *BasicUserListInfo) XXX_DiscardUnknown() { - xxx_messageInfo_BasicUserListInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_BasicUserListInfo proto.InternalMessageInfo - -func (m *BasicUserListInfo) GetActions() []*UserListActionInfo { - if m != nil { - return m.Actions - } - return nil -} - -// Represents an action type used for building remarketing user lists. -type UserListActionInfo struct { - // Subtypes of user list action. - // - // Types that are valid to be assigned to UserListAction: - // *UserListActionInfo_ConversionAction - // *UserListActionInfo_RemarketingAction - UserListAction isUserListActionInfo_UserListAction `protobuf_oneof:"user_list_action"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserListActionInfo) Reset() { *m = UserListActionInfo{} } -func (m *UserListActionInfo) String() string { return proto.CompactTextString(m) } -func (*UserListActionInfo) ProtoMessage() {} -func (*UserListActionInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_33d0509a07253d36, []int{16} -} - -func (m *UserListActionInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserListActionInfo.Unmarshal(m, b) -} -func (m *UserListActionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserListActionInfo.Marshal(b, m, deterministic) -} -func (m *UserListActionInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListActionInfo.Merge(m, src) -} -func (m *UserListActionInfo) XXX_Size() int { - return xxx_messageInfo_UserListActionInfo.Size(m) -} -func (m *UserListActionInfo) XXX_DiscardUnknown() { - xxx_messageInfo_UserListActionInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_UserListActionInfo proto.InternalMessageInfo - -type isUserListActionInfo_UserListAction interface { - isUserListActionInfo_UserListAction() -} - -type UserListActionInfo_ConversionAction struct { - ConversionAction *wrappers.StringValue `protobuf:"bytes,1,opt,name=conversion_action,json=conversionAction,proto3,oneof"` -} - -type UserListActionInfo_RemarketingAction struct { - RemarketingAction *wrappers.StringValue `protobuf:"bytes,2,opt,name=remarketing_action,json=remarketingAction,proto3,oneof"` -} - -func (*UserListActionInfo_ConversionAction) isUserListActionInfo_UserListAction() {} - -func (*UserListActionInfo_RemarketingAction) isUserListActionInfo_UserListAction() {} - -func (m *UserListActionInfo) GetUserListAction() isUserListActionInfo_UserListAction { - if m != nil { - return m.UserListAction - } - return nil -} - -func (m *UserListActionInfo) GetConversionAction() *wrappers.StringValue { - if x, ok := m.GetUserListAction().(*UserListActionInfo_ConversionAction); ok { - return x.ConversionAction - } - return nil -} - -func (m *UserListActionInfo) GetRemarketingAction() *wrappers.StringValue { - if x, ok := m.GetUserListAction().(*UserListActionInfo_RemarketingAction); ok { - return x.RemarketingAction - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*UserListActionInfo) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*UserListActionInfo_ConversionAction)(nil), - (*UserListActionInfo_RemarketingAction)(nil), - } -} - -func init() { - proto.RegisterType((*SimilarUserListInfo)(nil), "google.ads.googleads.v2.common.SimilarUserListInfo") - proto.RegisterType((*CrmBasedUserListInfo)(nil), "google.ads.googleads.v2.common.CrmBasedUserListInfo") - proto.RegisterType((*UserListRuleInfo)(nil), "google.ads.googleads.v2.common.UserListRuleInfo") - proto.RegisterType((*UserListRuleItemGroupInfo)(nil), "google.ads.googleads.v2.common.UserListRuleItemGroupInfo") - proto.RegisterType((*UserListRuleItemInfo)(nil), "google.ads.googleads.v2.common.UserListRuleItemInfo") - proto.RegisterType((*UserListDateRuleItemInfo)(nil), "google.ads.googleads.v2.common.UserListDateRuleItemInfo") - proto.RegisterType((*UserListNumberRuleItemInfo)(nil), "google.ads.googleads.v2.common.UserListNumberRuleItemInfo") - proto.RegisterType((*UserListStringRuleItemInfo)(nil), "google.ads.googleads.v2.common.UserListStringRuleItemInfo") - proto.RegisterType((*CombinedRuleUserListInfo)(nil), "google.ads.googleads.v2.common.CombinedRuleUserListInfo") - proto.RegisterType((*DateSpecificRuleUserListInfo)(nil), "google.ads.googleads.v2.common.DateSpecificRuleUserListInfo") - proto.RegisterType((*ExpressionRuleUserListInfo)(nil), "google.ads.googleads.v2.common.ExpressionRuleUserListInfo") - proto.RegisterType((*RuleBasedUserListInfo)(nil), "google.ads.googleads.v2.common.RuleBasedUserListInfo") - proto.RegisterType((*LogicalUserListInfo)(nil), "google.ads.googleads.v2.common.LogicalUserListInfo") - proto.RegisterType((*UserListLogicalRuleInfo)(nil), "google.ads.googleads.v2.common.UserListLogicalRuleInfo") - proto.RegisterType((*LogicalUserListOperandInfo)(nil), "google.ads.googleads.v2.common.LogicalUserListOperandInfo") - proto.RegisterType((*BasicUserListInfo)(nil), "google.ads.googleads.v2.common.BasicUserListInfo") - proto.RegisterType((*UserListActionInfo)(nil), "google.ads.googleads.v2.common.UserListActionInfo") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/common/user_lists.proto", fileDescriptor_33d0509a07253d36) -} - -var fileDescriptor_33d0509a07253d36 = []byte{ - // 1304 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0x41, 0x6f, 0xdb, 0xb6, - 0x17, 0x8f, 0x9c, 0xb4, 0x4d, 0x98, 0xd4, 0xff, 0x94, 0xcd, 0xbf, 0x75, 0xb3, 0xa0, 0x28, 0x74, - 0xea, 0x49, 0x2e, 0xd4, 0x62, 0x5d, 0xdd, 0x5d, 0xec, 0xb8, 0x48, 0x82, 0xb6, 0x6b, 0x21, 0x2f, - 0xd9, 0x56, 0x04, 0x50, 0x69, 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 0x90, 0xdf, 0x5f, 0x72, 0x36, 0x67, 0x8e, - 0x19, 0x20, 0x7c, 0x0a, 0x20, 0xc3, 0x11, 0x62, 0xaf, 0x71, 0x22, 0xae, 0xb0, 0x0a, 0xad, 0xa1, - 0x85, 0x76, 0xa5, 0xe0, 0x99, 0xc1, 0xf5, 0x20, 0xd8, 0x9c, 0x3d, 0x94, 0x33, 0xb0, 0xde, 0x5f, - 0x06, 0x30, 0x3d, 0x1a, 0x9d, 0x91, 0x89, 0x5e, 0x33, 0x9f, 0x2a, 0x7f, 0x2e, 0xc2, 0x3d, 0x37, - 0x5e, 0xa8, 0x7f, 0x5b, 0xac, 0x31, 0x0d, 0x11, 0x19, 0x5b, 0x94, 0x8d, 0xdb, 0x63, 0x4c, 0x24, - 0x99, 0xfc, 0x85, 0x1e, 0x07, 0xbc, 0xee, 0x1f, 0xa2, 0x87, 0xd9, 0xcf, 0xcf, 0x8d, 0xe5, 0xbd, - 0x6e, 0xf7, 0x97, 0xc6, 0xcd, 0xbd, 0x0c, 0xac, 0xeb, 0x73, 0x2b, 0x6b, 0x8a, 0xd6, 0x91, 0x2d, - 0xca, 0x57, 0x44, 0xc9, 0xbb, 0xdc, 0xe0, 0xb8, 0xeb, 0xf3, 0xe3, 0xa9, 0xc1, 0xf1, 0x91, 0x7d, - 0x9c, 0x19, 0xfc, 0xdd, 0x30, 0xb3, 0xde, 0x4e, 0xa7, 0xeb, 0xf3, 0x4e, 0x67, 0x6a, 0xd2, 0xe9, - 0x1c, 0xd9, 0x9d, 0x4e, 0x66, 0x34, 0xbc, 0x28, 0xd9, 0xdd, 0xfd, 0x37, 0x00, 0x00, 0xff, 0xff, - 0xbe, 0x7e, 0x5e, 0xc7, 0xbe, 0x12, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/value.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/value.pb.go deleted file mode 100644 index 3392f23e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/common/value.pb.go +++ /dev/null @@ -1,184 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/common/value.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_9cef891f1514f382, []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 (m *Value) XXX_Merge(src proto.Message) { - xxx_messageInfo_Value.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*Value) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Value_BooleanValue)(nil), - (*Value_Int64Value)(nil), - (*Value_FloatValue)(nil), - (*Value_DoubleValue)(nil), - (*Value_StringValue)(nil), - } -} - -func init() { - proto.RegisterType((*Value)(nil), "google.ads.googleads.v2.common.Value") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/common/value.proto", fileDescriptor_9cef891f1514f382) -} - -var fileDescriptor_9cef891f1514f382 = []byte{ - // 329 bytes of a gzipped FileDescriptor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24, 0x91, 0x23, 0x3e, 0x44, 0x72, 0x45, 0x07, 0x15, 0xec, 0x96, - 0xaa, 0x0e, 0xe6, 0x5f, 0x4c, 0x12, 0x32, 0xeb, 0x2c, 0xfa, 0x98, 0xb6, 0xc8, 0xd8, 0x6d, 0xa3, - 0x65, 0x40, 0xbd, 0x98, 0x24, 0x27, 0x0e, 0x61, 0xea, 0xd1, 0xe4, 0x88, 0xf6, 0xfc, 0xdb, 0xc9, - 0x17, 0xa1, 0xe3, 0x15, 0xac, 0xd9, 0xdf, 0xeb, 0x98, 0x50, 0x7f, 0x6c, 0xee, 0x7e, 0x7e, 0x4e, - 0x9e, 0x9f, 0x82, 0x96, 0xa0, 0x84, 0x96, 0x0c, 0xb6, 0x32, 0x95, 0xb5, 0xf6, 0xab, 0x39, 0x2c, - 0x7e, 0xd3, 0x98, 0xdf, 0xee, 0xe1, 0x01, 0x1f, 0x6f, 0x51, 0x77, 0x9a, 0xe7, 0xef, 0xd1, 0x68, - 0x8a, 0x65, 0x79, 0x65, 0x18, 0x8e, 0x6e, 0x2a, 0x32, 0xf6, 0xe8, 0xd9, 0xe7, 0x01, 0x94, 0x79, - 0x65, 0xca, 0x16, 0x94, 0x45, 0x56, 0x22, 0xf8, 0x8e, 0xc6, 0x98, 0x72, 0x9e, 0x57, 0x86, 0xf3, - 0x96, 0x70, 0x5e, 0x64, 0x9c, 0x23, 0x5a, 0xfe, 0xf7, 0x5f, 0x77, 0xfb, 0x13, 0x00, 0x00, 0xff, - 0xff, 0xfc, 0xcb, 0x12, 0x2d, 0x24, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/access_reason.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/access_reason.pb.go deleted file mode 100644 index 292d3b92..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/access_reason.pb.go +++ /dev/null @@ -1,137 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/access_reason.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 resource is owned by the user. - AccessReasonEnum_OWNED AccessReasonEnum_AccessReason = 2 - // The resource is shared to the user. - AccessReasonEnum_SHARED AccessReasonEnum_AccessReason = 3 - // The resource is licensed to the user. - AccessReasonEnum_LICENSED AccessReasonEnum_AccessReason = 4 - // The user subscribed to the resource. - AccessReasonEnum_SUBSCRIBED AccessReasonEnum_AccessReason = 5 - // The resource 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_ef5270b84e838f2d, []int{0, 0} -} - -// Indicates the way the resource 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_ef5270b84e838f2d, []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 (m *AccessReasonEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccessReasonEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.AccessReasonEnum_AccessReason", AccessReasonEnum_AccessReason_name, AccessReasonEnum_AccessReason_value) - proto.RegisterType((*AccessReasonEnum)(nil), "google.ads.googleads.v2.enums.AccessReasonEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/access_reason.proto", fileDescriptor_ef5270b84e838f2d) -} - -var fileDescriptor_ef5270b84e838f2d = []byte{ - // 335 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x41, 0x4e, 0xc2, 0x40, - 0x14, 0xb5, 0x45, 0x50, 0x07, 0xa2, 0xe3, 0x2c, 0x8d, 0x2c, 0xe0, 0x00, 0xd3, 0x58, 0x77, 0xe3, - 0x6a, 0x4a, 0x07, 0x6c, 0x24, 0x85, 0x50, 0x81, 0xc4, 0x34, 0x31, 0x23, 0x6d, 0x1a, 0x12, 0x98, - 0x41, 0x3e, 0x70, 0x03, 0x2f, 0xe2, 0xd2, 0xa3, 0x78, 0x10, 0x17, 0x9e, 0xc2, 0x74, 0x2a, 0x0d, - 0x1b, 0xdd, 0x4c, 0xde, 0xfc, 0xff, 0xde, 0xcb, 0x7f, 0x0f, 0xdd, 0x64, 0x5a, 0x67, 0x8b, 0xd4, - 0x91, 0x09, 0x38, 0x05, 0xcc, 0xd1, 0xce, 0x75, 0x52, 0xb5, 0x5d, 0x82, 0x23, 0x67, 0xb3, 0x14, - 0xe0, 0x79, 0x9d, 0x4a, 0xd0, 0x8a, 0xae, 0xd6, 0x7a, 0xa3, 0x49, 0xb3, 0xe0, 0x51, 0x99, 0x00, - 0x2d, 0x25, 0x74, 0xe7, 0x52, 0x23, 0xb9, 0xba, 0xde, 0x3b, 0xae, 0xe6, 0x8e, 0x54, 0x4a, 0x6f, - 0xe4, 0x66, 0xae, 0x15, 0x14, 0xe2, 0xf6, 0x9b, 0x85, 0x30, 0x37, 0xa6, 0x23, 0xe3, 0x29, 0xd4, - 0x76, 0xd9, 0x7e, 0x45, 0x8d, 0xc3, 0x19, 0xb9, 0x40, 0xf5, 0x71, 0x18, 0x0d, 0x45, 0x27, 0xe8, - 0x06, 0xc2, 0xc7, 0x47, 0xa4, 0x8e, 0x4e, 0xc6, 0xe1, 0x43, 0x38, 0x98, 0x86, 0xd8, 0x22, 0x67, - 0xa8, 0x3a, 0x98, 0x86, 0xc2, 0xc7, 0x36, 0x41, 0xa8, 0x16, 0xdd, 0xf3, 0x91, 0xf0, 0x71, 0x85, - 0x34, 0xd0, 0x69, 0x3f, 0xe8, 0x88, 0x30, 0x12, 0x3e, 0x3e, 0x26, 0xe7, 0x08, 0x45, 0x63, 0x2f, - 0xea, 0x8c, 0x02, 0x4f, 0xf8, 0xb8, 0x9a, 0xff, 0x79, 0xb7, 0x1b, 0xf4, 0x03, 0xfe, 0x28, 0x7c, - 0x5c, 0xf3, 0xbe, 0x2c, 0xd4, 0x9a, 0xe9, 0x25, 0xfd, 0x37, 0x8b, 0x77, 0x79, 0x78, 0xd6, 0x30, - 0x0f, 0x30, 0xb4, 0x9e, 0xbc, 0x5f, 0x4d, 0xa6, 0x17, 0x52, 0x65, 0x54, 0xaf, 0x33, 0x27, 0x4b, - 0x95, 0x89, 0xb7, 0xaf, 0x70, 0x35, 0x87, 0x3f, 0x1a, 0xbd, 0x33, 0xef, 0xbb, 0x5d, 0xe9, 0x71, - 0xfe, 0x61, 0x37, 0x7b, 0x85, 0x15, 0x4f, 0x80, 0x16, 0x30, 0x47, 0x13, 0x97, 0xe6, 0xb5, 0xc0, - 0xe7, 0x7e, 0x1f, 0xf3, 0x04, 0xe2, 0x72, 0x1f, 0x4f, 0xdc, 0xd8, 0xec, 0xbf, 0xed, 0x56, 0x31, - 0x64, 0x8c, 0x27, 0xc0, 0x58, 0xc9, 0x60, 0x6c, 0xe2, 0x32, 0x66, 0x38, 0x2f, 0x35, 0x73, 0xd8, - 0xed, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x28, 0x12, 0xf4, 0xb9, 0xe9, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/access_role.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/access_role.pb.go deleted file mode 100644 index b55e41c5..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/access_role.pb.go +++ /dev/null @@ -1,128 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/access_role.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible access role of a user. -type AccessRoleEnum_AccessRole int32 - -const ( - // Not specified. - AccessRoleEnum_UNSPECIFIED AccessRoleEnum_AccessRole = 0 - // Used for return value only. Represents value unknown in this version. - AccessRoleEnum_UNKNOWN AccessRoleEnum_AccessRole = 1 - // Owns its account and can control the addition of other users. - AccessRoleEnum_ADMIN AccessRoleEnum_AccessRole = 2 - // Can modify campaigns, but can't affect other users. - AccessRoleEnum_STANDARD AccessRoleEnum_AccessRole = 3 - // Can view campaigns and account changes, but cannot make edits. - AccessRoleEnum_READ_ONLY AccessRoleEnum_AccessRole = 4 -) - -var AccessRoleEnum_AccessRole_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "ADMIN", - 3: "STANDARD", - 4: "READ_ONLY", -} - -var AccessRoleEnum_AccessRole_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "ADMIN": 2, - "STANDARD": 3, - "READ_ONLY": 4, -} - -func (x AccessRoleEnum_AccessRole) String() string { - return proto.EnumName(AccessRoleEnum_AccessRole_name, int32(x)) -} - -func (AccessRoleEnum_AccessRole) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_5240257b7a04740a, []int{0, 0} -} - -// Container for enum describing possible access role for user. -type AccessRoleEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AccessRoleEnum) Reset() { *m = AccessRoleEnum{} } -func (m *AccessRoleEnum) String() string { return proto.CompactTextString(m) } -func (*AccessRoleEnum) ProtoMessage() {} -func (*AccessRoleEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_5240257b7a04740a, []int{0} -} - -func (m *AccessRoleEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AccessRoleEnum.Unmarshal(m, b) -} -func (m *AccessRoleEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AccessRoleEnum.Marshal(b, m, deterministic) -} -func (m *AccessRoleEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccessRoleEnum.Merge(m, src) -} -func (m *AccessRoleEnum) XXX_Size() int { - return xxx_messageInfo_AccessRoleEnum.Size(m) -} -func (m *AccessRoleEnum) XXX_DiscardUnknown() { - xxx_messageInfo_AccessRoleEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_AccessRoleEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.AccessRoleEnum_AccessRole", AccessRoleEnum_AccessRole_name, AccessRoleEnum_AccessRole_value) - proto.RegisterType((*AccessRoleEnum)(nil), "google.ads.googleads.v2.enums.AccessRoleEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/access_role.proto", fileDescriptor_5240257b7a04740a) -} - -var fileDescriptor_5240257b7a04740a = []byte{ - // 310 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdd, 0x4e, 0xf2, 0x30, - 0x18, 0xfe, 0x18, 0x9f, 0x3f, 0x14, 0x95, 0xa5, 0x87, 0x46, 0x0e, 0xe0, 0x02, 0xda, 0x64, 0x9e, - 0xd5, 0xa3, 0xe2, 0x26, 0x21, 0x6a, 0x21, 0x43, 0x30, 0x9a, 0x25, 0xa4, 0xd2, 0xa6, 0x21, 0x19, - 0x2d, 0x59, 0x07, 0x17, 0xe4, 0xa1, 0x97, 0xe2, 0x75, 0x78, 0xe4, 0x55, 0x98, 0x75, 0x6c, 0x1c, - 0xe9, 0x49, 0xf3, 0xe4, 0x7d, 0x7e, 0xfa, 0xbc, 0x2f, 0xc0, 0xca, 0x18, 0x95, 0x4a, 0xc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x07, 0xa8, 0xd8, 0xda, 0x7e, 0x56, 0x7c, 0x42, 0x85, 0x4d, 0x6a, 0x3e, 0x99, - 0x07, 0x89, 0xe3, 0xbf, 0xbd, 0x5e, 0x39, 0x24, 0x84, 0x0a, 0x4b, 0x48, 0xad, 0x20, 0x64, 0x1e, - 0x10, 0xe2, 0x34, 0x6f, 0xc7, 0xae, 0xd8, 0xf5, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x3d, 0x07, - 0x60, 0xbe, 0xc3, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/account_budget_proposal_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/account_budget_proposal_status.pb.go deleted file mode 100644 index 61e98889..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/account_budget_proposal_status.pb.go +++ /dev/null @@ -1,143 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/account_budget_proposal_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_ec7d7d913a5a5805, []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_ec7d7d913a5a5805, []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 (m *AccountBudgetProposalStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccountBudgetProposalStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.AccountBudgetProposalStatusEnum_AccountBudgetProposalStatus", AccountBudgetProposalStatusEnum_AccountBudgetProposalStatus_name, AccountBudgetProposalStatusEnum_AccountBudgetProposalStatus_value) - proto.RegisterType((*AccountBudgetProposalStatusEnum)(nil), "google.ads.googleads.v2.enums.AccountBudgetProposalStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/account_budget_proposal_status.proto", fileDescriptor_ec7d7d913a5a5805) -} - -var fileDescriptor_ec7d7d913a5a5805 = []byte{ - // 354 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xc1, 0x4e, 0xc2, 0x40, - 0x10, 0xb5, 0x45, 0x51, 0x17, 0x89, 0xb5, 0x47, 0x95, 0x28, 0x7c, 0xc0, 0x36, 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0xf1, 0x33, 0x19, 0x7a, 0x46, 0xc3, 0xbc, 0x00, 0x67, 0x75, 0xc8, 0x38, 0x36, - 0xdb, 0xe0, 0xdc, 0xc5, 0xbe, 0x4b, 0x86, 0x43, 0xe2, 0x19, 0x27, 0x25, 0x39, 0x26, 0x2f, 0xc4, - 0x7d, 0x23, 0x9e, 0xd1, 0x74, 0x7e, 0x35, 0xd0, 0x9d, 0xf3, 0x15, 0x3c, 0xb8, 0xb0, 0x73, 0x7f, - 0x60, 0xd6, 0xa0, 0x5c, 0x3a, 0xd0, 0x3e, 0x76, 0xbe, 0xc3, 0x8c, 0x2f, 0x29, 0xcb, 0x20, 0x5f, - 0x67, 0x56, 0x96, 0x32, 0x65, 0x49, 0x7d, 0x87, 0x7c, 0x21, 0xfe, 0x39, 0xcb, 0xa3, 0x7a, 0xbf, - 0xf4, 0x46, 0x1f, 0xe3, 0xad, 0xde, 0xe9, 0x57, 0xad, 0x70, 0x22, 0x60, 0x05, 0x4b, 0x14, 0xda, - 0xb0, 0xf4, 0x4e, 0x7c, 0xd7, 0x7c, 0x84, 0x13, 0x11, 0xed, 0xf9, 0x28, 0xb4, 0x23, 0xc5, 0xff, - 0xe8, 0xdd, 0x2a, 0x88, 0x10, 0x4e, 0x04, 0x42, 0xfb, 0x0c, 0x84, 0x42, 0x1b, 0x21, 0x95, 0x33, - 0x6b, 0xaa, 0xc1, 0x1e, 0xfe, 0x02, 0x00, 0x00, 0xff, 0xff, 0x87, 0x9e, 0x97, 0x64, 0x2e, 0x02, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/account_budget_proposal_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/account_budget_proposal_type.pb.go deleted file mode 100644 index e38b1254..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/account_budget_proposal_type.pb.go +++ /dev/null @@ -1,133 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/account_budget_proposal_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_7c7f0c81e59de710, []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_7c7f0c81e59de710, []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 (m *AccountBudgetProposalTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccountBudgetProposalTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.AccountBudgetProposalTypeEnum_AccountBudgetProposalType", AccountBudgetProposalTypeEnum_AccountBudgetProposalType_name, AccountBudgetProposalTypeEnum_AccountBudgetProposalType_value) - proto.RegisterType((*AccountBudgetProposalTypeEnum)(nil), "google.ads.googleads.v2.enums.AccountBudgetProposalTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/account_budget_proposal_type.proto", fileDescriptor_7c7f0c81e59de710) -} - -var fileDescriptor_7c7f0c81e59de710 = []byte{ - // 333 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x6a, 0xc2, 0x30, - 0x14, 0x86, 0xd7, 0xba, 0x29, 0xc4, 0x8b, 0x95, 0xde, 0x6d, 0xcc, 0x81, 0x3e, 0x40, 0x0a, 0xdd, - 0x5d, 0x76, 0xb3, 0x54, 0x33, 0x91, 0xb1, 0x5a, 0x9c, 0x76, 0x30, 0x0a, 0x12, 0x6d, 0x17, 0x04, - 0x4d, 0x82, 0x69, 0x05, 0x9f, 0x60, 0xef, 0xb1, 0xcb, 0x3d, 0xca, 0x1e, 0x65, 0xb7, 0x7b, 0x81, - 0x91, 0x44, 0xbd, 0xeb, 0x6e, 0xc2, 0x47, 0xce, 0x39, 0xff, 0x7f, 0xce, 0x0f, 0x1e, 0x98, 0x10, - 0x6c, 0x5d, 0x04, 0x34, 0x57, 0x81, 0x45, 0x4d, 0xbb, 0x30, 0x28, 0x78, 0xb5, 0x51, 0x01, 0x5d, - 0x2e, 0x45, 0xc5, 0xcb, 0xf9, 0xa2, 0xca, 0x59, 0x51, 0xce, 0xe5, 0x56, 0x48, 0xa1, 0xe8, 0x7a, - 0x5e, 0xee, 0x65, 0x01, 0xe5, 0x56, 0x94, 0xc2, 0xef, 0xd8, 0x31, 0x48, 0x73, 0x05, 0x4f, 0x0a, - 0x70, 0x17, 0x42, 0xa3, 0x70, 0x7d, 0x73, 0x34, 0x90, 0xab, 0x80, 0x72, 0x2e, 0x4a, 0x5a, 0xae, - 0x04, 0x57, 0x76, 0xb8, 0xf7, 0xe1, 0x80, 0x0e, 0xb6, 0x1e, 0x91, 0xb1, 0x48, 0x0e, 0x0e, 0xd3, - 0xbd, 0x2c, 0x08, 0xaf, 0x36, 0xbd, 0x77, 0x70, 0x55, 0xdb, 0xe0, 0x5f, 0x82, 0xf6, 0x2c, 0x7e, - 0x49, 0x48, 0x7f, 0xf4, 0x38, 0x22, 0x03, 0xef, 0xcc, 0x6f, 0x83, 0xd6, 0x2c, 0x7e, 0x8a, 0xc7, - 0xaf, 0xb1, 0xe7, 0xf8, 0x00, 0x34, 0xfb, 0x13, 0x82, 0xa7, 0xc4, 0x73, 0x35, 0xcf, 0x92, 0x81, - 0xe6, 0x86, 0xdf, 0x02, 0x0d, 0x12, 0x0f, 0xbc, 0x73, 0xfd, 0x39, 0x21, 0xcf, 0xe3, 0x94, 0x78, - 0x17, 0xd1, 0xaf, 0x03, 0xba, 0x4b, 0xb1, 0x81, 0xff, 0x5e, 0x13, 0xdd, 0xd6, 0xee, 0x92, 0xe8, - 0x7b, 0x12, 0xe7, 0x2d, 0x3a, 0x08, 0x30, 0xb1, 0xa6, 0x9c, 0x41, 0xb1, 0x65, 0x01, 0x2b, 0xb8, - 0xb9, 0xf6, 0x18, 0xb0, 0x5c, 0xa9, 0x9a, 0xbc, 0xef, 0xcd, 0xfb, 0xe9, 0x36, 0x86, 0x18, 0x7f, - 0xb9, 0x9d, 0xa1, 0x95, 0xc2, 0xb9, 0x82, 0x16, 0x35, 0xa5, 0x21, 0xd4, 0xc1, 0xa8, 0xef, 0x63, - 0x3d, 0xc3, 0xb9, 0xca, 0x4e, 0xf5, 0x2c, 0x0d, 0x33, 0x53, 0xff, 0x71, 0xbb, 0xf6, 0x13, 0x21, - 0x9c, 0x2b, 0x84, 0x4e, 0x1d, 0x08, 0xa5, 0x21, 0x42, 0xa6, 0x67, 0xd1, 0x34, 0x8b, 0xdd, 0xfd, - 0x05, 0x00, 0x00, 0xff, 0xff, 0x0a, 0x46, 0x87, 0x1a, 0x07, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/account_budget_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/account_budget_status.pb.go deleted file mode 100644 index 01b43b89..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/account_budget_status.pb.go +++ /dev/null @@ -1,128 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/account_budget_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_6121ddbe27d5d48b, []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_6121ddbe27d5d48b, []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 (m *AccountBudgetStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccountBudgetStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.AccountBudgetStatusEnum_AccountBudgetStatus", AccountBudgetStatusEnum_AccountBudgetStatus_name, AccountBudgetStatusEnum_AccountBudgetStatus_value) - proto.RegisterType((*AccountBudgetStatusEnum)(nil), "google.ads.googleads.v2.enums.AccountBudgetStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/account_budget_status.proto", fileDescriptor_6121ddbe27d5d48b) -} - -var fileDescriptor_6121ddbe27d5d48b = []byte{ - // 319 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcd, 0x4a, 0xc3, 0x30, - 0x00, 0x76, 0x9d, 0xf8, 0x93, 0x29, 0x96, 0x7a, 0x50, 0xc4, 0x1d, 0xb6, 0x07, 0x48, 0xa1, 0x9e, - 0x8c, 0xa7, 0x74, 0x8d, 0x63, 0x38, 0xb2, 0xe2, 0x58, 0x05, 0xa9, 0x8c, 0x6c, 0x29, 0x61, 0xb0, - 0x25, 0x63, 0x49, 0x87, 0xcf, 0xe3, 0xd1, 0x47, 0xf1, 0x51, 0x04, 0xdf, 0x41, 0x9a, 0x6c, 0x3b, - 0x4d, 0x2f, 0xe1, 0x4b, 0xbe, 0x1f, 0xbe, 0x7c, 0xe0, 0x5e, 0x28, 0x25, 0xe6, 0x45, 0xc8, 0xb8, - 0x0e, 0x1d, 0xac, 0xd0, 0x3a, 0x0a, 0x0b, 0x59, 0x2e, 0x74, 0xc8, 0xa6, 0x53, 0x55, 0x4a, 0x33, - 0x9e, 0x94, 0x5c, 0x14, 0x66, 0xac, 0x0d, 0x33, 0xa5, 0x86, 0xcb, 0x95, 0x32, 0x2a, 0x68, 0x3a, - 0x3d, 0x64, 0x5c, 0xc3, 0x9d, 0x15, 0xae, 0x23, 0x68, 0xad, 0x37, 0xb7, 0xdb, 0xe4, 0xe5, 0x2c, - 0x64, 0x52, 0x2a, 0xc3, 0xcc, 0x4c, 0xc9, 0x8d, 0xb9, 0xfd, 0x0e, 0xae, 0xb0, 0xcb, 0x8e, 0x6d, - 0xf4, 0xd0, 0x26, 0x13, 0x59, 0x2e, 0xda, 0x6f, 0xe0, 0x72, 0x0f, 0x15, 0x5c, 0x80, 0xc6, 0x88, - 0x0e, 0x53, 0xd2, 0xe9, 0x3d, 0xf6, 0x48, 0xe2, 0x1f, 0x04, 0x0d, 0x70, 0x3c, 0xa2, 0x4f, 0x74, - 0xf0, 0x42, 0xfd, 0x5a, 0x75, 0x49, 0x09, 0x4d, 0x7a, 0xb4, 0xeb, 0x7b, 0xc1, 0x19, 0x38, 0xc1, - 0x69, 0xfa, 0x3c, 0xc8, 0x48, 0xe2, 0xd7, 0x83, 0x73, 0x70, 0xda, 0xc1, 0xb4, 0x43, 0xfa, 0x7d, - 0x92, 0xf8, 0x87, 0xf1, 0x4f, 0x0d, 0xb4, 0xa6, 0x6a, 0x01, 0xff, 0x6d, 0x1f, 0x5f, 0xef, 0xa9, - 0x90, 0x56, 0xcd, 0xd3, 0xda, 0x6b, 0xbc, 0xb1, 0x0a, 0x35, 0x67, 0x52, 0x40, 0xb5, 0x12, 0xa1, - 0x28, 0xa4, 0xfd, 0xd7, 0x76, 0xc3, 0xe5, 0x4c, 0xff, 0x31, 0xe9, 0x83, 0x3d, 0x3f, 0xbc, 0x7a, - 0x17, 0xe3, 0x4f, 0xaf, 0xd9, 0x75, 0x51, 0x98, 0x6b, 0xe8, 0x60, 0x85, 0xb2, 0x08, 0x56, 0x4b, - 0xe8, 0xaf, 0x2d, 0x9f, 0x63, 0xae, 0xf3, 0x1d, 0x9f, 0x67, 0x51, 0x6e, 0xf9, 0x6f, 0xaf, 0xe5, - 0x1e, 0x11, 0xc2, 0x5c, 0x23, 0xb4, 0x53, 0x20, 0x94, 0x45, 0x08, 0x59, 0xcd, 0xe4, 0xc8, 0x16, - 0xbb, 0xfb, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x74, 0x52, 0xd4, 0x33, 0xea, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_customizer_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_customizer_placeholder_field.pb.go deleted file mode 100644 index 48b5947c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_customizer_placeholder_field.pb.go +++ /dev/null @@ -1,134 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/ad_customizer_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_45cbfd41720be733, []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_45cbfd41720be733, []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 (m *AdCustomizerPlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdCustomizerPlaceholderFieldEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField", AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField_name, AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField_value) - proto.RegisterType((*AdCustomizerPlaceholderFieldEnum)(nil), "google.ads.googleads.v2.enums.AdCustomizerPlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/ad_customizer_placeholder_field.proto", fileDescriptor_45cbfd41720be733) -} - -var fileDescriptor_45cbfd41720be733 = []byte{ - // 337 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x4d, 0x4e, 0x83, 0x40, - 0x18, 0x15, 0xfa, 0xa3, 0x4e, 0x17, 0x12, 0x96, 0xa6, 0x4d, 0x6c, 0x0f, 0x30, 0x24, 0xb8, 0x1b, - 0x57, 0x53, 0x3a, 0x25, 0xc4, 0x04, 0x49, 0xff, 0x4c, 0x0c, 0x49, 0x33, 0x76, 0x46, 0xc4, 0xc0, - 0x0c, 0x61, 0x68, 0x17, 0x1e, 0xc2, 0x43, 0xb8, 0xf4, 0x28, 0x1e, 0xc5, 0x03, 0xb8, 0x36, 0x80, - 0xc5, 0x95, 0x6c, 0xc8, 0x63, 0xbe, 0xf7, 0xbd, 0xf7, 0xbd, 0x07, 0x9c, 0x48, 0xca, 0x28, 0xe1, - 0x16, 0x65, 0xca, 0xaa, 0x61, 0x89, 0x0e, 0xb6, 0xc5, 0xc5, 0x3e, 0x55, 0x16, 0x65, 0xdb, 0xdd, - 0x5e, 0x15, 0x32, 0x8d, 0x5f, 0x79, 0xbe, 0xcd, 0x12, 0xba, 0xe3, 0xcf, 0x32, 0x61, 0x3c, 0xdf, - 0x3e, 0xc5, 0x3c, 0x61, 0x30, 0xcb, 0x65, 0x21, 0xcd, 0x51, 0xbd, 0x09, 0x29, 0x53, 0xb0, 0x11, - 0x81, 0x07, 0x1b, 0x56, 0x22, 0x97, 0xc3, 0xa3, 0x47, 0x16, 0x5b, 0x54, 0x08, 0x59, 0xd0, 0x22, - 0x96, 0x42, 0xd5, 0xcb, 0x93, 0x37, 0x0d, 0x5c, 0x61, 0xe6, 0x34, 0x2e, 0xc1, 0x9f, 0xc9, 0xbc, - 0xf4, 0x20, 0x62, 0x9f, 0x4e, 0x5e, 0xc0, 0xb0, 0x8d, 0x63, 0x5e, 0x80, 0xc1, 0xda, 0x5f, 0x06, - 0xc4, 0xf1, 0xe6, 0x1e, 0x99, 0x19, 0x27, 0xe6, 0x00, 0x9c, 0xae, 0xfd, 0x5b, 0xff, 0xee, 0xde, - 0x37, 0xb4, 0xf2, 0xc7, 0xf3, 0x57, 0xc4, 0x25, 0x0b, 0x43, 0x37, 0xcf, 0x41, 0x2f, 0x58, 0x78, - 0x0e, 0x31, 0x3a, 0xe6, 0x19, 0xe8, 0xce, 0xf0, 0x8a, 0x18, 0x5d, 0x13, 0x80, 0xfe, 0x72, 0xb5, - 0xf0, 0x7c, 0xd7, 0xe8, 0x4d, 0xbf, 0x35, 0x30, 0xde, 0xc9, 0x14, 0xb6, 0x86, 0x9a, 0x8e, 0xdb, - 0xee, 0x09, 0xca, 0x64, 0x81, 0xf6, 0x30, 0xfd, 0xd5, 0x88, 0x64, 0x42, 0x45, 0x04, 0x65, 0x1e, - 0x59, 0x11, 0x17, 0x55, 0xee, 0x63, 0xdb, 0x59, 0xac, 0xfe, 0x29, 0xff, 0xa6, 0xfa, 0xbe, 0xeb, - 0x1d, 0x17, 0xe3, 0x0f, 0x7d, 0xe4, 0xd6, 0x52, 0x98, 0x29, 0x58, 0xc3, 0x12, 0x6d, 0x6c, 0x58, - 0xf6, 0xa3, 0x3e, 0x8f, 0xf3, 0x10, 0x33, 0x15, 0x36, 0xf3, 0x70, 0x63, 0x87, 0xd5, 0xfc, 0x4b, - 0x1f, 0xd7, 0x8f, 0x08, 0x61, 0xa6, 0x10, 0x6a, 0x18, 0x08, 0x6d, 0x6c, 0x84, 0x2a, 0xce, 0x63, - 0xbf, 0x3a, 0xec, 0xfa, 0x27, 0x00, 0x00, 0xff, 0xff, 0x72, 0xeb, 0xee, 0x07, 0x14, 0x02, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_group_ad_rotation_mode.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_group_ad_rotation_mode.pb.go deleted file mode 100644 index 1d3db956..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_group_ad_rotation_mode.pb.go +++ /dev/null @@ -1,128 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/ad_group_ad_rotation_mode.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_23fa68f6476db4cd, []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_23fa68f6476db4cd, []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 (m *AdGroupAdRotationModeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupAdRotationModeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.AdGroupAdRotationModeEnum_AdGroupAdRotationMode", AdGroupAdRotationModeEnum_AdGroupAdRotationMode_name, AdGroupAdRotationModeEnum_AdGroupAdRotationMode_value) - proto.RegisterType((*AdGroupAdRotationModeEnum)(nil), "google.ads.googleads.v2.enums.AdGroupAdRotationModeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/ad_group_ad_rotation_mode.proto", fileDescriptor_23fa68f6476db4cd) -} - -var fileDescriptor_23fa68f6476db4cd = []byte{ - // 321 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xfb, 0x30, - 0x18, 0xc5, 0xff, 0xeb, 0xe0, 0xaf, 0x64, 0xa2, 0xa5, 0xe0, 0x85, 0xc3, 0x5d, 0x6c, 0x0f, 0x90, - 0x42, 0xbd, 0x8b, 0x78, 0x91, 0x69, 0x36, 0x8a, 0xac, 0x2d, 0x75, 0xeb, 0x60, 0x14, 0x4a, 0x34, - 0x25, 0x0c, 0xd6, 0x7c, 0xa5, 0xe9, 0xf6, 0x40, 0x5e, 0xfa, 0x28, 0x3e, 0x8a, 0x37, 0xbe, 0x82, - 0xb4, 0xd9, 0x76, 0x35, 0xbd, 0x09, 0x87, 0x9c, 0xef, 0x77, 0xf2, 0xe5, 0xa0, 0x07, 0x09, 0x20, - 0x37, 0xb9, 0xcb, 0x85, 0x76, 0x8d, 0x6c, 0xd4, 0xce, 0x73, 0x73, 0xb5, 0x2d, 0xb4, 0xcb, 0x45, - 0x26, 0x2b, 0x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, 0x9f, 0x26, 0x5e, 0xda, 0xfa, 0x5f, 0xd6, - 0xd0, 0x5c, 0x12, 0x42, 0x85, 0x26, 0xe4, 0x38, 0x41, 0x48, 0xe2, 0x11, 0xd2, 0xce, 0xbc, 0xfe, - 0x6f, 0x17, 0xbb, 0xfb, 0x09, 0x00, 0x00, 0xff, 0xff, 0x40, 0x15, 0xec, 0x4f, 0xec, 0x01, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_group_ad_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_group_ad_status.pb.go deleted file mode 100644 index be82ab23..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_group_ad_status.pb.go +++ /dev/null @@ -1,130 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/ad_group_ad_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_39943830242fa845, []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_39943830242fa845, []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 (m *AdGroupAdStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupAdStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.AdGroupAdStatusEnum_AdGroupAdStatus", AdGroupAdStatusEnum_AdGroupAdStatus_name, AdGroupAdStatusEnum_AdGroupAdStatus_value) - proto.RegisterType((*AdGroupAdStatusEnum)(nil), "google.ads.googleads.v2.enums.AdGroupAdStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/ad_group_ad_status.proto", fileDescriptor_39943830242fa845) -} - -var fileDescriptor_39943830242fa845 = []byte{ - // 311 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x4a, 0xc3, 0x30, - 0x18, 0x77, 0x9d, 0x4c, 0xc8, 0x0e, 0x2b, 0xd5, 0x93, 0xb8, 0xc3, 0xf6, 0x00, 0x09, 0x54, 0xf0, - 0x10, 0x4f, 0xa9, 0x8d, 0x63, 0xa8, 0x5d, 0x71, 0xb4, 0x82, 0x14, 0x46, 0x34, 0x23, 0x0c, 0xda, - 0xa4, 0x34, 0xed, 0x1e, 0xc8, 0xa3, 0x8f, 0xe2, 0x9b, 0xe8, 0x53, 0x48, 0xd2, 0xb5, 0x87, 0x81, - 0x5e, 0xca, 0xaf, 0xdf, 0xef, 0x4f, 0x7e, 0xdf, 0x07, 0x6e, 0x84, 0x52, 0x22, 0xdf, 0x22, 0xc6, - 0x35, 0x6a, 0xa1, 0x41, 0x7b, 0x1f, 0x6d, 0x65, 0x53, 0x68, 0xc4, 0xf8, 0x46, 0x54, 0xaa, 0x29, - 0x37, 0x8c, 0x6f, 0x74, 0xcd, 0xea, 0x46, 0xc3, 0xb2, 0x52, 0xb5, 0xf2, 0xa6, 0xad, 0x18, 0x32, - 0xae, 0x61, 0xef, 0x83, 0x7b, 0x1f, 0x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ff, 0xff, 0x7b, - 0x88, 0x35, 0xbf, 0xd7, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_group_criterion_approval_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_group_criterion_approval_status.pb.go deleted file mode 100644 index 1f21123e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_group_criterion_approval_status.pb.go +++ /dev/null @@ -1,134 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/ad_group_criterion_approval_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enumerates AdGroupCriterion approval statuses. -type AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus int32 - -const ( - // Not specified. - AdGroupCriterionApprovalStatusEnum_UNSPECIFIED AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus = 0 - // The value is unknown in this version. - AdGroupCriterionApprovalStatusEnum_UNKNOWN AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus = 1 - // Approved. - AdGroupCriterionApprovalStatusEnum_APPROVED AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus = 2 - // Disapproved. - AdGroupCriterionApprovalStatusEnum_DISAPPROVED AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus = 3 - // Pending Review. - AdGroupCriterionApprovalStatusEnum_PENDING_REVIEW AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus = 4 - // Under review. - AdGroupCriterionApprovalStatusEnum_UNDER_REVIEW AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus = 5 -) - -var AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "APPROVED", - 3: "DISAPPROVED", - 4: "PENDING_REVIEW", - 5: "UNDER_REVIEW", -} - -var AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "APPROVED": 2, - "DISAPPROVED": 3, - "PENDING_REVIEW": 4, - "UNDER_REVIEW": 5, -} - -func (x AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus) String() string { - return proto.EnumName(AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus_name, int32(x)) -} - -func (AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_073bf627ba32857b, []int{0, 0} -} - -// Container for enum describing possible AdGroupCriterion approval statuses. -type AdGroupCriterionApprovalStatusEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdGroupCriterionApprovalStatusEnum) Reset() { *m = AdGroupCriterionApprovalStatusEnum{} } -func (m *AdGroupCriterionApprovalStatusEnum) String() string { return proto.CompactTextString(m) } -func (*AdGroupCriterionApprovalStatusEnum) ProtoMessage() {} -func (*AdGroupCriterionApprovalStatusEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_073bf627ba32857b, []int{0} -} - -func (m *AdGroupCriterionApprovalStatusEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdGroupCriterionApprovalStatusEnum.Unmarshal(m, b) -} -func (m *AdGroupCriterionApprovalStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdGroupCriterionApprovalStatusEnum.Marshal(b, m, deterministic) -} -func (m *AdGroupCriterionApprovalStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupCriterionApprovalStatusEnum.Merge(m, src) -} -func (m *AdGroupCriterionApprovalStatusEnum) XXX_Size() int { - return xxx_messageInfo_AdGroupCriterionApprovalStatusEnum.Size(m) -} -func (m *AdGroupCriterionApprovalStatusEnum) XXX_DiscardUnknown() { - xxx_messageInfo_AdGroupCriterionApprovalStatusEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_AdGroupCriterionApprovalStatusEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus", AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus_name, AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus_value) - proto.RegisterType((*AdGroupCriterionApprovalStatusEnum)(nil), "google.ads.googleads.v2.enums.AdGroupCriterionApprovalStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/ad_group_criterion_approval_status.proto", fileDescriptor_073bf627ba32857b) -} - -var fileDescriptor_073bf627ba32857b = []byte{ - // 349 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xcd, 0x6a, 0xab, 0x40, - 0x18, 0xbd, 0x9a, 0x7b, 0x6f, 0xcb, 0x24, 0xb4, 0xe2, 0xb2, 0x34, 0x85, 0xa4, 0xfb, 0x11, 0xec, - 0x6e, 0xba, 0x9a, 0xc4, 0x89, 0x48, 0xc1, 0x48, 0x42, 0x0c, 0x14, 0x41, 0xa6, 0x19, 0x19, 0x84, - 0x64, 0x46, 0x1c, 0xcd, 0x0b, 0xf4, 0x4d, 0xba, 0xcc, 0xa3, 0xf4, 0x51, 0xfa, 0x04, 0x5d, 0x16, - 0xc7, 0xe8, 0xae, 0xd9, 0x0c, 0x87, 0xef, 0x9c, 0x39, 0xe7, 0xfb, 0x01, 0x0b, 0x2e, 0x25, 0xdf, - 0x67, 0x0e, 0x65, 0xca, 0x69, 0x61, 0x83, 0x8e, 0xae, 0x93, 0x89, 0xfa, 0xa0, 0x1c, 0xca, 0x52, - 0x5e, 0xca, 0xba, 0x48, 0x77, 0x65, 0x5e, 0x65, 0x65, 0x2e, 0x45, 0x4a, 0x8b, 0xa2, 0x94, 0x47, - 0xba, 0x4f, 0x55, 0x45, 0xab, 0x5a, 0xc1, 0xa2, 0x94, 0x95, 0xb4, 0xc7, 0xed, 0x67, 0x48, 0x99, - 0x82, 0xbd, 0x0f, 0x3c, 0xba, 0x50, 0xfb, 0xdc, 0xdd, 0x77, 0x31, 0x45, 0xee, 0x50, 0x21, 0x64, - 0x45, 0xab, 0x5c, 0x8a, 0xf3, 0xe7, 0xe9, 0xc9, 0x00, 0x53, 0xcc, 0xfc, 0x26, 0x68, 0xde, 0xe5, - 0xe0, 0x73, 0xcc, 0x5a, 0xa7, 0x10, 0x51, 0x1f, 0xa6, 0xef, 0x06, 0x78, 0xb8, 0x2c, 0xb3, 0x6f, - 0xc1, 0x70, 0x13, 0xae, 0x23, 0x32, 0x0f, 0x16, 0x01, 0xf1, 0xac, 0x3f, 0xf6, 0x10, 0x5c, 0x6d, - 0xc2, 0x97, 0x70, 0xb9, 0x0d, 0x2d, 0xc3, 0x1e, 0x81, 0x6b, 0x1c, 0x45, 0xab, 0x65, 0x4c, 0x3c, - 0xcb, 0x6c, 0xb4, 0x5e, 0xb0, 0xee, 0x0b, 0x03, 0xdb, 0x06, 0x37, 0x11, 0x09, 0xbd, 0x20, 0xf4, - 0xd3, 0x15, 0x89, 0x03, 0xb2, 0xb5, 0xfe, 0xda, 0x16, 0x18, 0x6d, 0x42, 0x8f, 0xac, 0xba, 0xca, - 0xbf, 0xd9, 0xb7, 0x01, 0x26, 0x3b, 0x79, 0x80, 0x17, 0x07, 0x9e, 0x3d, 0x5e, 0x6e, 0x34, 0x6a, - 0xe6, 0x8e, 0x8c, 0xd7, 0xd9, 0xd9, 0x85, 0xcb, 0x3d, 0x15, 0x1c, 0xca, 0x92, 0x3b, 0x3c, 0x13, - 0x7a, 0x2b, 0xdd, 0x39, 0x8a, 0x5c, 0xfd, 0x72, 0x9d, 0x67, 0xfd, 0x7e, 0x98, 0x03, 0x1f, 0xe3, - 0x93, 0x39, 0xf6, 0x5b, 0x2b, 0xcc, 0x14, 0x6c, 0x61, 0x83, 0x62, 0x17, 0x36, 0xbb, 0x53, 0x9f, - 0x1d, 0x9f, 0x60, 0xa6, 0x92, 0x9e, 0x4f, 0x62, 0x37, 0xd1, 0xfc, 0x97, 0x39, 0x69, 0x8b, 0x08, - 0x61, 0xa6, 0x10, 0xea, 0x15, 0x08, 0xc5, 0x2e, 0x42, 0x5a, 0xf3, 0xf6, 0x5f, 0x37, 0xf6, 0xf4, - 0x13, 0x00, 0x00, 0xff, 0xff, 0xde, 0xc8, 0xce, 0xad, 0x35, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_group_criterion_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_group_criterion_status.pb.go deleted file mode 100644 index c7c81480..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_group_criterion_status.pb.go +++ /dev/null @@ -1,131 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/ad_group_criterion_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_62a005d240ee0567, []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_62a005d240ee0567, []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 (m *AdGroupCriterionStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupCriterionStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.AdGroupCriterionStatusEnum_AdGroupCriterionStatus", AdGroupCriterionStatusEnum_AdGroupCriterionStatus_name, AdGroupCriterionStatusEnum_AdGroupCriterionStatus_value) - proto.RegisterType((*AdGroupCriterionStatusEnum)(nil), "google.ads.googleads.v2.enums.AdGroupCriterionStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/ad_group_criterion_status.proto", fileDescriptor_62a005d240ee0567) -} - -var fileDescriptor_62a005d240ee0567 = []byte{ - // 322 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x41, 0x4b, 0xf3, 0x30, - 0x1c, 0xc6, 0xdf, 0x75, 0x2f, 0x13, 0xb2, 0x83, 0xa5, 0x07, 0x0f, 0xd3, 0x1d, 0xb6, 0x0f, 0x90, - 0x42, 0xbd, 0x45, 0x3c, 0xa4, 0x6b, 0x1c, 0x43, 0xed, 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0xf7, 0xf0, 0xcf, 0xfe, - 0xe1, 0xe5, 0xe9, 0x06, 0x89, 0xa9, 0x9f, 0xf4, 0x5e, 0xc2, 0x63, 0x9a, 0xcb, 0x1d, 0x15, 0x1c, - 0xca, 0x8a, 0xfb, 0x3c, 0x17, 0xf6, 0x73, 0xed, 0x32, 0xcb, 0x42, 0xfd, 0xb2, 0xdb, 0x1b, 0x7b, - 0xbe, 0x3b, 0xfd, 0x39, 0xc6, 0x1f, 0xce, 0x78, 0xde, 0xa0, 0x30, 0x53, 0xb0, 0x91, 0x46, 0xa5, - 0x01, 0x34, 0xbb, 0x50, 0x9f, 0xad, 0x9f, 0x61, 0xa6, 0xb2, 0xce, 0xcf, 0xd2, 0x20, 0xb3, 0xfe, - 0x97, 0x33, 0x69, 0x1e, 0x11, 0xc2, 0x4c, 0x21, 0xd4, 0x4d, 0x20, 0x94, 0x06, 0x08, 0xd9, 0x99, - 0xd7, 0x81, 0x2d, 0x76, 0xfd, 0x13, 0x00, 0x00, 0xff, 0xff, 0x02, 0x75, 0x09, 0xb0, 0xf3, 0x01, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_group_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_group_status.pb.go deleted file mode 100644 index 7dbe5187..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_group_status.pb.go +++ /dev/null @@ -1,130 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/ad_group_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_029489e47456b23b, []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_029489e47456b23b, []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 (m *AdGroupStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.AdGroupStatusEnum_AdGroupStatus", AdGroupStatusEnum_AdGroupStatus_name, AdGroupStatusEnum_AdGroupStatus_value) - proto.RegisterType((*AdGroupStatusEnum)(nil), "google.ads.googleads.v2.enums.AdGroupStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/ad_group_status.proto", fileDescriptor_029489e47456b23b) -} - -var fileDescriptor_029489e47456b23b = []byte{ - // 306 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x4a, 0xc3, 0x30, - 0x18, 0x77, 0x9d, 0x4c, 0xc8, 0x10, 0x6b, 0x8f, 0xe2, 0x0e, 0xdb, 0x03, 0x24, 0xd0, 0xdd, 0xe2, - 0x29, 0xb5, 0x71, 0x0c, 0xb5, 0x2b, 0x96, 0x55, 0x90, 0xc2, 0x88, 0x66, 0xc4, 0xc2, 0x9a, 0x94, - 0xa6, 0xdd, 0x03, 0x79, 0xf4, 0x51, 0x7c, 0x11, 0xc1, 0xa7, 0x90, 0xa4, 0x6b, 0x61, 0x07, 0xbd, - 0x94, 0x5f, 0xbf, 0xdf, 0x9f, 0xfc, 0xbe, 0x0f, 0xcc, 0x85, 0x52, 0x62, 0xb7, 0x45,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0xfe, 0xea, 0xf8, 0x8c, 0x70, 0x9d, 0xf5, 0x7c, 0x96, 0xfa, 0x99, 0xe5, - 0x7f, 0x9c, 0x69, 0x3b, 0xc4, 0x98, 0x70, 0x8d, 0x71, 0xaf, 0xc0, 0x38, 0xf5, 0x31, 0xb6, 0x9a, - 0xd7, 0x91, 0x2d, 0x36, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xaf, 0x0a, 0xee, 0x69, 0xce, 0x01, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_group_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_group_type.pb.go deleted file mode 100644 index 671e1513..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_group_type.pb.go +++ /dev/null @@ -1,178 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/ad_group_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // Ad group type for Dynamic Search Ads ad groups. - AdGroupTypeEnum_SEARCH_DYNAMIC_ADS AdGroupTypeEnum_AdGroupType = 13 - // The type for ad groups in Shopping Comparison Listing campaigns. - AdGroupTypeEnum_SHOPPING_COMPARISON_LISTING_ADS AdGroupTypeEnum_AdGroupType = 14 -) - -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", - 13: "SEARCH_DYNAMIC_ADS", - 14: "SHOPPING_COMPARISON_LISTING_ADS", -} - -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, - "SEARCH_DYNAMIC_ADS": 13, - "SHOPPING_COMPARISON_LISTING_ADS": 14, -} - -func (x AdGroupTypeEnum_AdGroupType) String() string { - return proto.EnumName(AdGroupTypeEnum_AdGroupType_name, int32(x)) -} - -func (AdGroupTypeEnum_AdGroupType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_53ee4e19e3828476, []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_53ee4e19e3828476, []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 (m *AdGroupTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.AdGroupTypeEnum_AdGroupType", AdGroupTypeEnum_AdGroupType_name, AdGroupTypeEnum_AdGroupType_value) - proto.RegisterType((*AdGroupTypeEnum)(nil), "google.ads.googleads.v2.enums.AdGroupTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/ad_group_type.proto", fileDescriptor_53ee4e19e3828476) -} - -var fileDescriptor_53ee4e19e3828476 = []byte{ - // 468 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0xc1, 0x6e, 0xd3, 0x4c, - 0x18, 0xfc, 0xe3, 0xfe, 0x6a, 0xe9, 0xa6, 0x25, 0xab, 0xa5, 0x42, 0x50, 0x11, 0x50, 0xca, 0xdd, - 0x16, 0xe6, 0x66, 0x4e, 0x6b, 0x7b, 0x49, 0x56, 0x8d, 0xd7, 0x2b, 0xaf, 0xed, 0xaa, 0x28, 0xd2, - 0xca, 0x60, 0xcb, 0x8a, 0xd4, 0x78, 0xad, 0x38, 0xa9, 0xd4, 0xd7, 0xe1, 0xc8, 0xa3, 0xf0, 0x0e, - 0x1c, 0xb9, 0x70, 0xe3, 0x0d, 0x90, 0xbd, 0x89, 0xc9, 0x01, 0xb8, 0x58, 0x9f, 0x67, 0xe6, 0x1b, - 0xcd, 0x6a, 0x3e, 0xf0, 0xa6, 0x54, 0xaa, 0xbc, 0x2b, 0xac, 0x2c, 0x6f, 0x2c, 0x3d, 0xb6, 0xd3, - 0xbd, 0x6d, 0x15, 0xd5, 0x76, 0xd5, 0x58, 0x59, 0x2e, 0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/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_network_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_network_type.pb.go deleted file mode 100644 index 5e10b42c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_network_type.pb.go +++ /dev/null @@ -1,143 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/ad_network_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_0bb7fec92e036154, []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_0bb7fec92e036154, []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 (m *AdNetworkTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdNetworkTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.AdNetworkTypeEnum_AdNetworkType", AdNetworkTypeEnum_AdNetworkType_name, AdNetworkTypeEnum_AdNetworkType_value) - proto.RegisterType((*AdNetworkTypeEnum)(nil), "google.ads.googleads.v2.enums.AdNetworkTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/ad_network_type.proto", fileDescriptor_0bb7fec92e036154) -} - -var fileDescriptor_0bb7fec92e036154 = []byte{ - // 356 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x6a, 0xe2, 0x40, - 0x1c, 0xde, 0xc4, 0x55, 0xd9, 0x11, 0xd7, 0x38, 0x7b, 0x5b, 0xd6, 0x83, 0x3e, 0xc0, 0x04, 0xe2, - 0x6d, 0xf6, 0x34, 0x89, 0xb3, 0x2a, 0xcb, 0x8e, 0x41, 0x13, 0xdd, 0x96, 0x40, 0x48, 0x9b, 0x10, - 0xa4, 0x3a, 0x13, 0x9c, 0x68, 0xf1, 0x21, 0xfa, 0x12, 0xed, 0xad, 0x8f, 0xd2, 0x17, 0x29, 0xf4, - 0x29, 0x4a, 0x32, 0x46, 0xf0, 0xd0, 0x5e, 0x86, 0x8f, 0xdf, 0xf7, 0x87, 0xf9, 0x3e, 0x30, 0x4c, - 0x85, 0x48, 0x37, 0x89, 0x19, 0xc5, 0xd2, 0x54, 0xb0, 0x40, 0x07, 0xcb, 0x4c, 0xf8, 0x7e, 0x2b, - 0xcd, 0x28, 0x0e, 0x79, 0x92, 0xdf, 0x8b, 0xdd, 0x5d, 0x98, 0x1f, 0xb3, 0x04, 0x65, 0x3b, 0x91, - 0x0b, 0xd8, 0x53, 0x4a, 0x14, 0xc5, 0x12, 0x9d, 0x4d, 0xe8, 0x60, 0xa1, 0xd2, 0xf4, 0xf3, 0x57, - 0x95, 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x01, 0x89, 0x65, 0x70, 0xe6, 0x83, 0xa5, 0x15, 0x94, - 0xfc, 0x9b, 0xde, 0x57, 0x47, 0x8c, 0x49, 0x2c, 0x31, 0x3e, 0x2b, 0x30, 0x5e, 0x5a, 0x18, 0x97, - 0x9a, 0x9b, 0x46, 0xf9, 0xb1, 0xe1, 0x7b, 0x00, 0x00, 0x00, 0xff, 0xff, 0x3c, 0x85, 0xdd, 0x1d, - 0x0a, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_serving_optimization_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_serving_optimization_status.pb.go deleted file mode 100644 index 9889ef07..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_serving_optimization_status.pb.go +++ /dev/null @@ -1,144 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/ad_serving_optimization_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_60dfe13d87fea90e, []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_60dfe13d87fea90e, []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 (m *AdServingOptimizationStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdServingOptimizationStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.AdServingOptimizationStatusEnum_AdServingOptimizationStatus", AdServingOptimizationStatusEnum_AdServingOptimizationStatus_name, AdServingOptimizationStatusEnum_AdServingOptimizationStatus_value) - proto.RegisterType((*AdServingOptimizationStatusEnum)(nil), "google.ads.googleads.v2.enums.AdServingOptimizationStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/ad_serving_optimization_status.proto", fileDescriptor_60dfe13d87fea90e) -} - -var fileDescriptor_60dfe13d87fea90e = []byte{ - // 367 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xc1, 0x8a, 0xdb, 0x30, - 0x14, 0xac, 0x9d, 0x36, 0x2d, 0x4a, 0xa1, 0xc6, 0x3d, 0x14, 0xda, 0x86, 0x36,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f, 0x81, 0x8f, 0x33, 0x9f, 0xc5, 0x64, 0x1d, 0x52, 0x9f, 0xa5, 0x3d, 0x31, - 0xb0, 0x01, 0x18, 0xae, 0xfd, 0x08, 0x47, 0xc4, 0x7a, 0xdd, 0x89, 0x34, 0x4e, 0x29, 0x9b, 0x93, - 0x05, 0x65, 0x34, 0x22, 0xab, 0xbf, 0xd6, 0x1b, 0x9d, 0x84, 0x63, 0x4c, 0x57, 0xd8, 0x5b, 0x11, - 0x6b, 0xe8, 0x3d, 0x1a, 0x60, 0xf2, 0x5f, 0xd4, 0xf0, 0x62, 0x05, 0xde, 0xf7, 0x0b, 0xdb, 0x07, - 0x5d, 0x0d, 0x81, 0xb1, 0x3d, 0x5d, 0x02, 0x96, 0x62, 0x97, 0xf1, 0x12, 0x8a, 0x7d, 0xe9, 0x94, - 0x05, 0x57, 0x25, 0x9d, 0x2f, 0xd3, 0x54, 0xf2, 0x85, 0x43, 0xfd, 0x54, 0xef, 0x8d, 0x39, 0x58, - 0x62, 0x7c, 0x6b, 0x8e, 0x97, 0xda, 0x0a, 0xe7, 0x12, 0x6a, 0xd8, 0xa1, 0xd8, 0x85, 0x5d, 0x9b, - 0xf2, 0xfe, 0xcc, 0x27, 0x38, 0x97, 0x49, 0xcf, 0x27, 0xb1, 0x9b, 0x28, 0xfe, 0xc1, 0x9c, 0xe8, - 0x4f, 0x84, 0x70, 0x2e, 0x11, 0xea, 0x15, 0x08, 0xc5, 0x2e, 0x42, 0x4a, 0xf3, 0x6f, 0xa8, 0x16, - 0xfb, 0xf1, 0x14, 0x00, 0x00, 0xff, 0xff, 0x63, 0x2a, 0x39, 0xf5, 0x40, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_strength.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_strength.pb.go deleted file mode 100644 index 4de582c9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_strength.pb.go +++ /dev/null @@ -1,141 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/ad_strength.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum listing the possible ad strengths. -type AdStrengthEnum_AdStrength int32 - -const ( - // Not specified. - AdStrengthEnum_UNSPECIFIED AdStrengthEnum_AdStrength = 0 - // Used for return value only. Represents value unknown in this version. - AdStrengthEnum_UNKNOWN AdStrengthEnum_AdStrength = 1 - // The ad strength is currently pending. - AdStrengthEnum_PENDING AdStrengthEnum_AdStrength = 2 - // No ads could be generated. - AdStrengthEnum_NO_ADS AdStrengthEnum_AdStrength = 3 - // Poor strength. - AdStrengthEnum_POOR AdStrengthEnum_AdStrength = 4 - // Average strength. - AdStrengthEnum_AVERAGE AdStrengthEnum_AdStrength = 5 - // Good strength. - AdStrengthEnum_GOOD AdStrengthEnum_AdStrength = 6 - // Excellent strength. - AdStrengthEnum_EXCELLENT AdStrengthEnum_AdStrength = 7 -) - -var AdStrengthEnum_AdStrength_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "PENDING", - 3: "NO_ADS", - 4: "POOR", - 5: "AVERAGE", - 6: "GOOD", - 7: "EXCELLENT", -} - -var AdStrengthEnum_AdStrength_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "PENDING": 2, - "NO_ADS": 3, - "POOR": 4, - "AVERAGE": 5, - "GOOD": 6, - "EXCELLENT": 7, -} - -func (x AdStrengthEnum_AdStrength) String() string { - return proto.EnumName(AdStrengthEnum_AdStrength_name, int32(x)) -} - -func (AdStrengthEnum_AdStrength) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_967c381b85f11def, []int{0, 0} -} - -// Container for enum describing possible ad strengths. -type AdStrengthEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdStrengthEnum) Reset() { *m = AdStrengthEnum{} } -func (m *AdStrengthEnum) String() string { return proto.CompactTextString(m) } -func (*AdStrengthEnum) ProtoMessage() {} -func (*AdStrengthEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_967c381b85f11def, []int{0} -} - -func (m *AdStrengthEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdStrengthEnum.Unmarshal(m, b) -} -func (m *AdStrengthEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdStrengthEnum.Marshal(b, m, deterministic) -} -func (m *AdStrengthEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdStrengthEnum.Merge(m, src) -} -func (m *AdStrengthEnum) XXX_Size() int { - return xxx_messageInfo_AdStrengthEnum.Size(m) -} -func (m *AdStrengthEnum) XXX_DiscardUnknown() { - xxx_messageInfo_AdStrengthEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_AdStrengthEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.AdStrengthEnum_AdStrength", AdStrengthEnum_AdStrength_name, AdStrengthEnum_AdStrength_value) - proto.RegisterType((*AdStrengthEnum)(nil), "google.ads.googleads.v2.enums.AdStrengthEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/ad_strength.proto", fileDescriptor_967c381b85f11def) -} - -var fileDescriptor_967c381b85f11def = []byte{ - // 331 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdd, 0x4e, 0xc2, 0x30, - 0x18, 0x75, 0x03, 0x41, 0x4b, 0x94, 0x66, 0x97, 0x46, 0x2e, 0xe0, 0x01, 0xba, 0x64, 0xde, 0xd5, - 0xab, 0xc2, 0xea, 0x42, 0x24, 0xdd, 0x02, 0x32, 0x8d, 0x59, 0x42, 0xa6, 0x5d, 0x2a, 0x09, 0xb4, - 0x84, 0x0e, 0xde, 0xc0, 0x17, 0xf1, 0xd2, 0x47, 0xf1, 0x39, 0xbc, 0xf2, 0x29, 0x4c, 0x3b, 0x7e, - 0xae, 0xf4, 0xa6, 0x39, 0xfd, 0xbe, 0x73, 0x4e, 0xce, 0x77, 0x80, 0x2f, 0x94, 0x12, 0x8b, 0xc2, - 0xcf, 0xb9, 0xde, 0x41, 0x83, 0xb6, 0x81, 0x5f, 0xc8, 0xcd, 0x52, 0xfb, 0x39, 0x9f, 0xe9, 0x72, - 0x5d, 0x48, 0x51, 0xbe, 0xa1, 0xd5, 0x5a, 0x95, 0xca, 0xeb, 0x54, 0x2c, 0x94, 0x73, 0x8d, 0x0e, - 0x02, 0xb4, 0x0d, 0x90, 0x15, 0x5c, 0x5d, 0xef, 0xfd, 0x56, 0x73, 0x3f, 0x97, 0x52, 0x95, 0x79, - 0x39, 0x57, 0x52, 0x57, 0xe2, 0xde, 0xbb, 0x03, 0x2e, 0x09, 0x9f, 0xec, 0x1c, 0xa9, 0xdc, 0x2c, - 0x7b, 0x1a, 0x80, 0xe3, 0xc4, 0x6b, 0x83, 0xd6, 0x94, 0x4d, 0x12, 0x3a, 0x18, 0xde, 0x0d, 0x69, - 0x08, 0x4f, 0xbc, 0x16, 0x68, 0x4e, 0xd9, 0x3d, 0x8b, 0x1f, 0x19, 0x74, 0xcc, 0x27, 0xa1, 0x2c, - 0x1c, 0xb2, 0x08, 0xba, 0x1e, 0x00, 0x0d, 0x16, 0xcf, 0x48, 0x38, 0x81, 0x35, 0xef, 0x0c, 0xd4, - 0x93, 0x38, 0x1e, 0xc3, 0xba, 0xa1, 0x90, 0x94, 0x8e, 0x49, 0x44, 0xe1, 0xa9, 0x19, 0x47, 0x71, - 0x1c, 0xc2, 0x86, 0x77, 0x01, 0xce, 0xe9, 0xd3, 0x80, 0x8e, 0x46, 0x94, 0x3d, 0xc0, 0x66, 0xff, - 0xdb, 0x01, 0xdd, 0x57, 0xb5, 0x44, 0xff, 0xde, 0xd2, 0x6f, 0x1f, 0x83, 0x25, 0x26, 0x7e, 0xe2, - 0x3c, 0xf7, 0x77, 0x0a, 0xa1, 0x16, 0xb9, 0x14, 0x48, 0xad, 0x85, 0x2f, 0x0a, 0x69, 0x8f, 0xdb, - 0xd7, 0xb7, 0x9a, 0xeb, 0x3f, 0xda, 0xbc, 0xb5, 0xef, 0x87, 0x5b, 0x8b, 0x08, 0xf9, 0x74, 0x3b, - 0x51, 0x65, 0x45, 0xb8, 0x46, 0x15, 0x34, 0x28, 0x0d, 0x90, 0xa9, 0x45, 0x7f, 0xed, 0xf7, 0x19, - 0xe1, 0x3a, 0x3b, 0xec, 0xb3, 0x34, 0xc8, 0xec, 0xfe, 0xc7, 0xed, 0x56, 0x43, 0x8c, 0x09, 0xd7, - 0x18, 0x1f, 0x18, 0x18, 0xa7, 0x01, 0xc6, 0x96, 0xf3, 0xd2, 0xb0, 0xc1, 0x6e, 0x7e, 0x03, 0x00, - 0x00, 0xff, 0xff, 0xa4, 0x2e, 0x5b, 0xbf, 0xe5, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_type.pb.go deleted file mode 100644 index efce735c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/ad_type.pb.go +++ /dev/null @@ -1,208 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/ad_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 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 - // The ad is a responsive search ad. - AdTypeEnum_RESPONSIVE_SEARCH_AD AdTypeEnum_AdType = 15 - // The ad is a legacy responsive display ad. - AdTypeEnum_LEGACY_RESPONSIVE_DISPLAY_AD AdTypeEnum_AdType = 16 - // The ad is an app ad. - AdTypeEnum_APP_AD AdTypeEnum_AdType = 17 - // The ad is a legacy app install ad. - AdTypeEnum_LEGACY_APP_INSTALL_AD AdTypeEnum_AdType = 18 - // The ad is a responsive display ad. - AdTypeEnum_RESPONSIVE_DISPLAY_AD AdTypeEnum_AdType = 19 - // The ad is a display upload ad with the HTML5_UPLOAD_AD product type. - AdTypeEnum_HTML5_UPLOAD_AD AdTypeEnum_AdType = 21 - // The ad is a display upload ad with one of the DYNAMIC_HTML5_* product - // types. - AdTypeEnum_DYNAMIC_HTML5_AD AdTypeEnum_AdType = 22 - // The ad is an app engagement ad. - AdTypeEnum_APP_ENGAGEMENT_AD AdTypeEnum_AdType = 23 - // The ad is a Shopping Comparison Listing ad. - AdTypeEnum_SHOPPING_COMPARISON_LISTING_AD AdTypeEnum_AdType = 24 -) - -var AdTypeEnum_AdType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "TEXT_AD", - 3: "EXPANDED_TEXT_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", - 15: "RESPONSIVE_SEARCH_AD", - 16: "LEGACY_RESPONSIVE_DISPLAY_AD", - 17: "APP_AD", - 18: "LEGACY_APP_INSTALL_AD", - 19: "RESPONSIVE_DISPLAY_AD", - 21: "HTML5_UPLOAD_AD", - 22: "DYNAMIC_HTML5_AD", - 23: "APP_ENGAGEMENT_AD", - 24: "SHOPPING_COMPARISON_LISTING_AD", -} - -var AdTypeEnum_AdType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "TEXT_AD": 2, - "EXPANDED_TEXT_AD": 3, - "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, - "RESPONSIVE_SEARCH_AD": 15, - "LEGACY_RESPONSIVE_DISPLAY_AD": 16, - "APP_AD": 17, - "LEGACY_APP_INSTALL_AD": 18, - "RESPONSIVE_DISPLAY_AD": 19, - "HTML5_UPLOAD_AD": 21, - "DYNAMIC_HTML5_AD": 22, - "APP_ENGAGEMENT_AD": 23, - "SHOPPING_COMPARISON_LISTING_AD": 24, -} - -func (x AdTypeEnum_AdType) String() string { - return proto.EnumName(AdTypeEnum_AdType_name, int32(x)) -} - -func (AdTypeEnum_AdType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_f7d4f2198082c23d, []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_f7d4f2198082c23d, []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 (m *AdTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.AdTypeEnum_AdType", AdTypeEnum_AdType_name, AdTypeEnum_AdType_value) - proto.RegisterType((*AdTypeEnum)(nil), "google.ads.googleads.v2.enums.AdTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/ad_type.proto", fileDescriptor_f7d4f2198082c23d) -} - -var fileDescriptor_f7d4f2198082c23d = []byte{ - // 516 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0x4d, 0x6e, 0xd3, 0x40, - 0x14, 0xa6, 0x89, 0x94, 0x96, 0x49, 0x20, 0xee, 0xa4, 0xa1, 0xa5, 0x6a, 0x2b, 0x9a, 0x2d, 0x92, - 0x2d, 0x05, 0xb1, 0x31, 0xab, 0x17, 0xcf, 0xe0, 0x8c, 0xb0, 0xc7, 0xa3, 0xd8, 0x09, 0x0d, 0x8a, - 0x64, 0x19, 0x1c, 0x59, 0x91, 0x1a, 0x3b, 0xaa, 0xd3, 0x4a, 0xbd, 0x0e, 0x4b, 0x2e, 0x82, 0xc4, - 0x01, 0x58, 0xb3, 0xe6, 0x14, 0xe8, 0x8d, 0x1b, 0xab, 0x0b, 0x60, 0x63, 0xbd, 0xef, 0x67, 0x3e, - 0xcd, 0x3c, 0x7f, 0xe4, 0x75, 0x56, 0x14, 0xd9, 0xf5, 0xd2, 0x4a, 0xd2, 0xd2, 0xaa, 0x46, 0x9c, - 0xee, 0x86, 0xd6, 0x32, 0xbf, 0x5d, 0x97, 0x56, 0x92, 0xc6, 0xdb, 0xfb, 0xcd, 0xd2, 0xdc, 0xdc, - 0x14, 0xdb, 0x82, 0x9e, 0x57, 0x0e, 0x33, 0x49, 0x4b, 0xb3, 0x36, 0x9b, 0x77, 0x43, 0x53, 0x9b, - 0x4f, 0xcf, 0x76, 0x59, 0x9b, 0x95, 0x95, 0xe4, 0x79, 0xb1, 0x4d, 0xb6, 0xab, 0x22, 0x2f, 0xab, - 0xc3, 0x83, 0x9f, 0x4d, 0x42, 0x20, 0x8d, 0xee, 0x37, 0x4b, 0x9e, 0xdf, 0xae, 0x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0x8a, 0xd2, 0xdf, 0x13, 0x7a, 0xb4, 0x47, 0xba, 0xe3, 0xc8, 0xf7, 0xde, - 0xc6, 0x53, 0xe5, 0x05, 0xc0, 0x90, 0xec, 0xe3, 0x0a, 0x77, 0x1b, 0xa9, 0x44, 0x60, 0xc6, 0x0b, - 0x5c, 0x01, 0x26, 0x73, 0xe9, 0x82, 0xcb, 0x7d, 0x2e, 0xf5, 0x4b, 0x8f, 0xe9, 0x80, 0x5c, 0xd4, - 0x2b, 0x70, 0x02, 0x5f, 0xc1, 0x44, 0x84, 0x81, 0x8c, 0x3d, 0x11, 0x46, 0x48, 0x01, 0x33, 0x4e, - 0x46, 0xbf, 0xf6, 0xc8, 0xe5, 0x97, 0x62, 0x6d, 0xfe, 0xb7, 0x1c, 0xa3, 0x76, 0xf5, 0xb3, 0x15, - 0x76, 0x41, 0xed, 0x7d, 0x1a, 0x3d, 0xb8, 0xb3, 0xe2, 0x3a, 0xc9, 0x33, 0xb3, 0xb8, 0xc9, 0xac, - 0x6c, 0x99, 0xeb, 0xa6, 0xec, 0x7a, 0xb8, 0x59, 0x95, 0xff, 0xa8, 0xe5, 0x3b, 0xfd, 0xfd, 0xda, - 0x68, 0xba, 0x00, 0xdf, 0x1a, 0xe7, 0x6e, 0x15, 0x05, 0x69, 0x69, 0x56, 0x23, 0x4e, 0xb3, 0xa1, - 0x89, 0x3d, 0x2b, 0x7f, 0xec, 0xf4, 0x05, 0xa4, 0xe5, 0xa2, 0xd6, 0x17, 0xb3, 0xe1, 0x42, 0xeb, - 0xbf, 0x1b, 0x97, 0x15, 0x69, 0xdb, 0x90, 0x96, 0xb6, 0x5d, 0x3b, 0x6c, 0x7b, 0x36, 0xb4, 0x6d, - 0xed, 0xf9, 0xdc, 0xd2, 0x17, 0x7b, 0xf3, 0x27, 0x00, 0x00, 0xff, 0xff, 0x8d, 0xef, 0x07, 0x64, - 0x2e, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/advertising_channel_sub_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/advertising_channel_sub_type.pb.go deleted file mode 100644 index 30294668..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/advertising_channel_sub_type.pb.go +++ /dev/null @@ -1,183 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/advertising_channel_sub_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // Video TrueView for Action campaigns. - AdvertisingChannelSubTypeEnum_VIDEO_ACTION AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType = 10 - // Video campaigns with non-skippable video ads. - AdvertisingChannelSubTypeEnum_VIDEO_NON_SKIPPABLE AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType = 11 - // App Campaign that allows you to easily promote your Android or iOS app - // across Google's top properties including Search, Play, YouTube, and the - // Google Display Network. - AdvertisingChannelSubTypeEnum_APP_CAMPAIGN AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType = 12 - // App Campaign for engagement, focused on driving re-engagement with the - // app across several of Google’s top properties including Search, YouTube, - // and the Google Display Network. - AdvertisingChannelSubTypeEnum_APP_CAMPAIGN_FOR_ENGAGEMENT AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType = 13 - // Shopping Comparison Listing campaigns. - AdvertisingChannelSubTypeEnum_SHOPPING_COMPARISON_LISTING_ADS AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType = 15 -) - -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", - 10: "VIDEO_ACTION", - 11: "VIDEO_NON_SKIPPABLE", - 12: "APP_CAMPAIGN", - 13: "APP_CAMPAIGN_FOR_ENGAGEMENT", - 15: "SHOPPING_COMPARISON_LISTING_ADS", -} - -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, - "VIDEO_ACTION": 10, - "VIDEO_NON_SKIPPABLE": 11, - "APP_CAMPAIGN": 12, - "APP_CAMPAIGN_FOR_ENGAGEMENT": 13, - "SHOPPING_COMPARISON_LISTING_ADS": 15, -} - -func (x AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType) String() string { - return proto.EnumName(AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType_name, int32(x)) -} - -func (AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_198f827632992b86, []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_198f827632992b86, []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 (m *AdvertisingChannelSubTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdvertisingChannelSubTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType", AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType_name, AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType_value) - proto.RegisterType((*AdvertisingChannelSubTypeEnum)(nil), "google.ads.googleads.v2.enums.AdvertisingChannelSubTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/advertising_channel_sub_type.proto", fileDescriptor_198f827632992b86) -} - -var fileDescriptor_198f827632992b86 = []byte{ - // 494 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xcf, 0x6e, 0xd3, 0x40, - 0x10, 0xc6, 0x49, 0x02, 0x2d, 0x6c, 0x0a, 0x59, 0xb6, 0x50, 0x44, 0x21, 0x54, 0x2d, 0x77, 0x5b, - 0x0a, 0x37, 0x73, 0x61, 0xe2, 0x6c, 0xdd, 0x55, 0xe3, 0xf5, 0xca, 0xeb, 0x84, 0x3f, 0x8a, 0xb4, - 0x72, 0x6a, 0xcb, 0x44, 0x4a, 0xec, 0x28, 0xeb, 0x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0, 0x17, 0xb7, - 0x38, 0xfd, 0x26, 0x7c, 0x2a, 0x25, 0x7e, 0x4c, 0x0e, 0x51, 0xa7, 0x66, 0x6b, 0xf1, 0x49, 0x61, - 0x20, 0x2f, 0x3c, 0x21, 0x18, 0x77, 0x94, 0x74, 0xc1, 0x0f, 0x14, 0x0c, 0x24, 0xde, 0x23, 0xaf, - 0x10, 0xae, 0x61, 0xc7, 0x05, 0x36, 0x54, 0x30, 0xc0, 0xfb, 0xe4, 0x18, 0x1d, 0xd5, 0x6a, 0x05, - 0xdb, 0xe0, 0x0a, 0x60, 0x0e, 0xc7, 0x4f, 0x0b, 0xfb, 0x31, 0x1b, 0x50, 0x4f, 0x79, 0xa3, 0x40, - 0x06, 0x3e, 0x05, 0x17, 0x3f, 0x23, 0x18, 0x1d, 0x54, 0x22, 0xd8, 0x01, 0xf3, 0x38, 0x46, 0xe4, - 0x0d, 0x3a, 0xac, 0x14, 0xee, 0x71, 0x25, 0x2f, 0x99, 0x10, 0xd0, 0x1f, 0x52, 0xdc, 0x2e, 0x50, - 0x10, 0xe2, 0xce, 0xf1, 0x80, 0x9c, 0xa0, 0x77, 0xf7, 0x15, 0x75, 0xee, 0xf9, 0x8a, 0x72, 0x07, - 0x1c, 0xea, 0x52, 0x1e, 0xe0, 0xe7, 0xe4, 0x23, 0x3a, 0xd9, 0x2e, 0x6f, 0x7b, 0xae, 0x00, 0x9f, - 0x49, 0x8f, 0xab, 0x21, 0x93, 0x41, 0x21, 0x15, 0x7f, 0xd2, 0xe9, 0xdf, 0x34, 0xd0, 0xe9, 0x55, - 0xb6, 0x30, 0x1e, 0xcc, 0xb6, 0xff, 0x61, 0x67, 0x30, 0xa2, 0x48, 0x57, 0x34, 0x7e, 0xf4, 0x6f, - 0x0d, 0x92, 0x6c, 0x1e, 0xa6, 0x89, 0x91, 0xad, 0x12, 0x33, 0x89, 0xd3, 0x32, 0xfb, 0xfa, 0xdc, - 0x96, 0x33, 0xbd, 0xe3, 0xfa, 0x3e, 0x97, 0xdf, 0xdf, 0xcd, 0x96, 0x03, 0xf0, 0xa7, 0xd9, 0x75, - 0x2a, 0x2b, 0x88, 0xb4, 0x51, 0x95, 0x45, 0x35, 0xee, 0x19, 0xc5, 0x99, 0xe8, 0xbf, 0x75, 0x7f, - 0x02, 0x91, 0x9e, 0x6c, 0xfb, 0x93, 0x71, 0x6f, 0x52, 0xf6, 0xff, 0x35, 0x4f, 0x2b, 0xd1, 0xb2, - 0x20, 0xd2, 0x96, 0xb5, 0x25, 0x2c, 0x6b, 0xdc, 0xb3, 0xac, 0x92, 0x99, 0xee, 0x95, 0x8b, 0x7d, - 0xfa, 0x1f, 0x00, 0x00, 0xff, 0xff, 0x5a, 0x40, 0x08, 0x7e, 0x15, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/advertising_channel_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/advertising_channel_type.pb.go deleted file mode 100644 index ca59c66c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/advertising_channel_type.pb.go +++ /dev/null @@ -1,145 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/advertising_channel_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // App Campaigns, and App Campaigns for Engagement, that run - // across multiple channels. - AdvertisingChannelTypeEnum_MULTI_CHANNEL AdvertisingChannelTypeEnum_AdvertisingChannelType = 7 -) - -var AdvertisingChannelTypeEnum_AdvertisingChannelType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "SEARCH", - 3: "DISPLAY", - 4: "SHOPPING", - 5: "HOTEL", - 6: "VIDEO", - 7: "MULTI_CHANNEL", -} - -var AdvertisingChannelTypeEnum_AdvertisingChannelType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "SEARCH": 2, - "DISPLAY": 3, - "SHOPPING": 4, - "HOTEL": 5, - "VIDEO": 6, - "MULTI_CHANNEL": 7, -} - -func (x AdvertisingChannelTypeEnum_AdvertisingChannelType) String() string { - return proto.EnumName(AdvertisingChannelTypeEnum_AdvertisingChannelType_name, int32(x)) -} - -func (AdvertisingChannelTypeEnum_AdvertisingChannelType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_9833bd7491dc53f4, []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_9833bd7491dc53f4, []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 (m *AdvertisingChannelTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdvertisingChannelTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.AdvertisingChannelTypeEnum_AdvertisingChannelType", AdvertisingChannelTypeEnum_AdvertisingChannelType_name, AdvertisingChannelTypeEnum_AdvertisingChannelType_value) - proto.RegisterType((*AdvertisingChannelTypeEnum)(nil), "google.ads.googleads.v2.enums.AdvertisingChannelTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/advertising_channel_type.proto", fileDescriptor_9833bd7491dc53f4) -} - -var fileDescriptor_9833bd7491dc53f4 = []byte{ - // 364 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x41, 0x4e, 0xbb, 0x40, - 0x18, 0xc5, 0xff, 0xd0, 0x7f, 0x5b, 0x9d, 0x6a, 0x1c, 0x59, 0xb8, 0xa8, 0x76, 0xd1, 0x1e, 0x60, - 0x48, 0x70, 0x37, 0xba, 0x99, 0x52, 0x2c, 0x44, 0x04, 0x22, 0x2d, 0x46, 0x43, 0xd2, 0x60, 0x21, - 0x48, 0xd2, 0xce, 0x90, 0x0e, 0x6d, 0xd2, 0x0b, 0x78, 0x10, 0x13, 0x37, 0x1e, 0xc5, 0xa3, 0xb8, - 0xf2, 0x08, 0x06, 0xc6, 0xd6, 0x4d, 0x75, 0x43, 0x5e, 0x78, 0xdf, 0xef, 0xe5, 0xfb, 0xde, 0x80, - 0xcb, 0x94, 0xb1, 0x74, 0x96, 0xa8, 0x51, 0xcc, 0x55, 0x21, 0x4b, 0xb5, 0xd2, 0xd4, 0x84, 0x2e, - 0xe7, 0x5c, 0x8d, 0xe2, 0x55, 0xb2, 0x28, 0x32, 0x9e, 0xd1, 0x74, 0x32, 0x7d, 0x8a, 0x28, 0x4d, - 0x66, 0x93, 0x62, 0x9d, 0x27, 0x28, 0x5f, 0xb0, 0x82, 0x29, 0x1d, 0x81, 0xa0, 0x28, 0xe6, 0x68, - 0x4b, 0xa3, 0x95, 0x86, 0x2a, 0xba, 0x7d, 0xb6, 0x09, 0xcf, 0x33, 0x35, 0xa2, 0x94, 0x15, 0x51, - 0x91, 0x31, 0xca, 0x05, 0xdc, 0x7b, 0x95, 0x40, 0x9b, 0xfc, 0xe4, 0xeb, 0x22, 0x7e, 0xb4, 0xce, - 0x13, 0x83, 0x2e, 0xe7, 0xbd, 0x67, 0x09, 0x9c, 0xec, 0xb6, 0x95, 0x23, 0xd0, 0x1a, 0x3b, 0xbe, - 0x67, 0xe8, 0xd6, 0x95, 0x65, 0x0c, 0xe0, 0x3f, 0xa5, 0x05, 0x9a, 0x63, 0xe7, 0xda, 0x71, 0xef, - 0x1c, 0x28, 0x29, 0x00, 0x34, 0x7c, 0x83, 0xdc, 0xea, 0x26, 0x94, 0x4b, 0x63, 0x60, 0xf9, 0x9e, - 0x4d, 0xee, 0x61, 0x4d, 0x39, 0x00, 0x7b, 0xbe, 0xe9, 0x7a, 0x9e, 0xe5, 0x0c, 0xe1, 0x7f, 0x65, - 0x1f, 0xd4, 0x4d, 0x77, 0x64, 0xd8, 0xb0, 0x5e, 0xca, 0xc0, 0x1a, 0x18, 0x2e, 0x6c, 0x28, 0xc7, - 0xe0, 0xf0, 0x66, 0x6c, 0x8f, 0xac, 0x89, 0x6e, 0x12, 0xc7, 0x31, 0x6c, 0xd8, 0xec, 0x7f, 0x4a, - 0xa0, 0x3b, 0x65, 0x73, 0xf4, 0xe7, 0xad, 0xfd, 0xd3, 0xdd, 0xbb, 0x7a, 0xe5, 0xa9, 0x9e, 0xf4, - 0xd0, 0xff, 0xa6, 0x53, 0x36, 0x8b, 0x68, 0x8a, 0xd8, 0x22, 0x55, 0xd3, 0x84, 0x56, 0x45, 0x6c, - 0x7a, 0xcf, 0x33, 0xfe, 0xcb, 0x33, 0x5c, 0x54, 0xdf, 0x17, 0xb9, 0x36, 0x24, 0xe4, 0x4d, 0xee, - 0x0c, 0x45, 0x14, 0x89, 0x39, 0x12, 0xb2, 0x54, 0x81, 0x86, 0xca, 0xda, 0xf8, 0xfb, 0xc6, 0x0f, - 0x49, 0xcc, 0xc3, 0xad, 0x1f, 0x06, 0x5a, 0x58, 0xf9, 0x1f, 0x72, 0x57, 0xfc, 0xc4, 0x98, 0xc4, - 0x1c, 0xe3, 0xed, 0x04, 0xc6, 0x81, 0x86, 0x71, 0x35, 0xf3, 0xd8, 0xa8, 0x16, 0x3b, 0xff, 0x0a, - 0x00, 0x00, 0xff, 0xff, 0x8f, 0x74, 0xa2, 0x83, 0x1e, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/affiliate_location_feed_relationship_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/affiliate_location_feed_relationship_type.pb.go deleted file mode 100644 index d3c002ec..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/affiliate_location_feed_relationship_type.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/affiliate_location_feed_relationship_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_57c5996a2a61f182, []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_57c5996a2a61f182, []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 (m *AffiliateLocationFeedRelationshipTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AffiliateLocationFeedRelationshipTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.AffiliateLocationFeedRelationshipTypeEnum_AffiliateLocationFeedRelationshipType", AffiliateLocationFeedRelationshipTypeEnum_AffiliateLocationFeedRelationshipType_name, AffiliateLocationFeedRelationshipTypeEnum_AffiliateLocationFeedRelationshipType_value) - proto.RegisterType((*AffiliateLocationFeedRelationshipTypeEnum)(nil), "google.ads.googleads.v2.enums.AffiliateLocationFeedRelationshipTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/affiliate_location_feed_relationship_type.proto", fileDescriptor_57c5996a2a61f182) -} - -var fileDescriptor_57c5996a2a61f182 = []byte{ - // 332 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xc1, 0x4a, 0xc3, 0x30, - 0x18, 0xc7, 0x6d, 0x05, 0x85, 0xec, 0x60, 0x29, 0x9e, 0xc4, 0x1d, 0x36, 0xf0, 0xa0, 0x87, 0x14, - 0xea, 0x2d, 0x9e, 0x32, 0xcd, 0xc6, 0x70, 0xd6, 0x51, 0xb7, 0x09, 0x5a, 0x28, 0x71, 0xc9, 0x6a, - 0xa1, 0x4b, 0xc2, 0xd2, 0x0d, 0xf6, 0x06, 0x3e, 0x87, 0x47, 0x1f, 0xc5, 0x47, 0xf1, 0x25, 0x94, - 0x26, 0xeb, 0xf0, 0xa2, 0xec, 0x52, 0xfe, 0xcd, 0xf7, 0xe5, 0xf7, 0xff, 0xfe, 0x5f, 0xc0, 0x5d, - 0x26, 0x65, 0x56, 0xf0, 0x80, 0x32, 0x1d, 0x58, 0x59, 0xa9, 0x55, 0x18, 0x70, 0xb1, 0x9c, 0xeb, - 0x80, 0xce, 0x66, 0x79, 0x91, 0xd3, 0x92, 0xa7, 0x85, 0x9c, 0xd2, 0x32, 0x97, 0x22, 0x9d, 0x71, - 0xce, 0xd2, 0x05, 0x2f, 0xcc, 0x9f, 0x7e, 0xcd, 0x55, 0x5a, 0xae, 0x15,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0xb4, 0xed, 0x40, 0x68, 0x12, 0x22, 0x64, 0x7a, 0x5e, 0x0e, 0xcc, 0x60, 0x97, 0x3f, 0x01, - 0x00, 0x00, 0xff, 0xff, 0x6d, 0x02, 0x02, 0xc2, 0x21, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/affiliate_location_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/affiliate_location_placeholder_field.pb.go deleted file mode 100644 index 38f55f54..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/affiliate_location_placeholder_field.pb.go +++ /dev/null @@ -1,167 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/affiliate_location_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible values for Affiliate Location placeholder fields. -type AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField int32 - -const ( - // Not specified. - AffiliateLocationPlaceholderFieldEnum_UNSPECIFIED AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField = 0 - // Used for return value only. Represents value unknown in this version. - AffiliateLocationPlaceholderFieldEnum_UNKNOWN AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField = 1 - // Data Type: STRING. The name of the business. - AffiliateLocationPlaceholderFieldEnum_BUSINESS_NAME AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField = 2 - // Data Type: STRING. Line 1 of the business address. - AffiliateLocationPlaceholderFieldEnum_ADDRESS_LINE_1 AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField = 3 - // Data Type: STRING. Line 2 of the business address. - AffiliateLocationPlaceholderFieldEnum_ADDRESS_LINE_2 AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField = 4 - // Data Type: STRING. City of the business address. - AffiliateLocationPlaceholderFieldEnum_CITY AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField = 5 - // Data Type: STRING. Province of the business address. - AffiliateLocationPlaceholderFieldEnum_PROVINCE AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField = 6 - // Data Type: STRING. Postal code of the business address. - AffiliateLocationPlaceholderFieldEnum_POSTAL_CODE AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField = 7 - // Data Type: STRING. Country code of the business address. - AffiliateLocationPlaceholderFieldEnum_COUNTRY_CODE AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField = 8 - // Data Type: STRING. Phone number of the business. - AffiliateLocationPlaceholderFieldEnum_PHONE_NUMBER AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField = 9 - // Data Type: STRING. Language code of the business. - AffiliateLocationPlaceholderFieldEnum_LANGUAGE_CODE AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField = 10 - // Data Type: INT64. ID of the chain. - AffiliateLocationPlaceholderFieldEnum_CHAIN_ID AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField = 11 - // Data Type: STRING. Name of the chain. - AffiliateLocationPlaceholderFieldEnum_CHAIN_NAME AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField = 12 -) - -var AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "BUSINESS_NAME", - 3: "ADDRESS_LINE_1", - 4: "ADDRESS_LINE_2", - 5: "CITY", - 6: "PROVINCE", - 7: "POSTAL_CODE", - 8: "COUNTRY_CODE", - 9: "PHONE_NUMBER", - 10: "LANGUAGE_CODE", - 11: "CHAIN_ID", - 12: "CHAIN_NAME", -} - -var AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "BUSINESS_NAME": 2, - "ADDRESS_LINE_1": 3, - "ADDRESS_LINE_2": 4, - "CITY": 5, - "PROVINCE": 6, - "POSTAL_CODE": 7, - "COUNTRY_CODE": 8, - "PHONE_NUMBER": 9, - "LANGUAGE_CODE": 10, - "CHAIN_ID": 11, - "CHAIN_NAME": 12, -} - -func (x AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField) String() string { - return proto.EnumName(AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField_name, int32(x)) -} - -func (AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1947edc9b81cd105, []int{0, 0} -} - -// Values for Affiliate Location placeholder fields. -type AffiliateLocationPlaceholderFieldEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AffiliateLocationPlaceholderFieldEnum) Reset() { *m = AffiliateLocationPlaceholderFieldEnum{} } -func (m *AffiliateLocationPlaceholderFieldEnum) String() string { return proto.CompactTextString(m) } -func (*AffiliateLocationPlaceholderFieldEnum) ProtoMessage() {} -func (*AffiliateLocationPlaceholderFieldEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_1947edc9b81cd105, []int{0} -} - -func (m *AffiliateLocationPlaceholderFieldEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AffiliateLocationPlaceholderFieldEnum.Unmarshal(m, b) -} -func (m *AffiliateLocationPlaceholderFieldEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AffiliateLocationPlaceholderFieldEnum.Marshal(b, m, deterministic) -} -func (m *AffiliateLocationPlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AffiliateLocationPlaceholderFieldEnum.Merge(m, src) -} -func (m *AffiliateLocationPlaceholderFieldEnum) XXX_Size() int { - return xxx_messageInfo_AffiliateLocationPlaceholderFieldEnum.Size(m) -} -func (m *AffiliateLocationPlaceholderFieldEnum) XXX_DiscardUnknown() { - xxx_messageInfo_AffiliateLocationPlaceholderFieldEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_AffiliateLocationPlaceholderFieldEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField", AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField_name, AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField_value) - proto.RegisterType((*AffiliateLocationPlaceholderFieldEnum)(nil), "google.ads.googleads.v2.enums.AffiliateLocationPlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/affiliate_location_placeholder_field.proto", fileDescriptor_1947edc9b81cd105) -} - -var fileDescriptor_1947edc9b81cd105 = []byte{ - // 431 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xc1, 0x8e, 0xd3, 0x30, - 0x10, 0xa5, 0xd9, 0x65, 0xb7, 0xb8, 0x65, 0x31, 0x3e, 0x22, 0xf6, 0xd0, 0x95, 0xe0, 0xe8, 0x88, - 0x70, 0x0b, 0x27, 0x27, 0xf1, 0xb6, 0x11, 0x5d, 0x27, 0x6a, 0x9a, 0xa2, 0x45, 0x95, 0x2c, 0xd3, - 0xa4, 0x21, 0x52, 0x1a, 0x57, 0x75, 0x77, 0x3f, 0x08, 0x71, 0xe2, 0x53, 0xf8, 0x14, 0x3e, 0x01, - 0x2e, 0xc8, 0xf6, 0xa6, 0x1c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x8b, 0x98, 0x85, 0x14, 0x9e, - 0xe9, 0xc0, 0x34, 0xc9, 0xe6, 0x64, 0xca, 0xc3, 0x24, 0xa2, 0xf0, 0x1c, 0x41, 0x30, 0x0c, 0x93, - 0x9c, 0xcd, 0x67, 0xb7, 0x96, 0xe9, 0x6b, 0x26, 0x9d, 0x24, 0x8c, 0x72, 0x96, 0xdf, 0x04, 0x74, - 0x06, 0x9f, 0xe8, 0x3e, 0xa6, 0x84, 0x8d, 0x73, 0x32, 0xa6, 0x56, 0x04, 0xb4, 0x6b, 0x38, 0x21, - 0x31, 0xe3, 0x71, 0x04, 0x07, 0xe8, 0x02, 0x00, 0xfb, 0x67, 0xba, 0x1c, 0x06, 0xbf, 0x7a, 0x60, - 0xb4, 0x92, 0x1b, 0xfc, 0xdf, 0x51, 0x07, 0xaf, 0x8f, 0xce, 0x27, 0xd5, 0x43, 0x4f, 0x7b, 0x1f, - 0x83, 0x07, 0xa3, 0x4a, 0x36, 0xa2, 0xad, 0xb0, 0xdc, 0x55, 0x6e, 0x55, 0xb6, 0x66, 0x25, 0xdd, - 0x35, 0x6c, 0x6b, 0xf5, 0x8f, 0xe3, 0x78, 0x67, 0xbe, 0x5f, 0x9c, 0x93, 0x31, 0x21, 0xdf, 0x9c, - 0xcb, 0xb1, 0xb5, 0x22, 0x85, 0xc2, 0x16, 0x6a, 0xb4, 0xf0, 0xb0, 0xde, 0x9a, 0xfa, 0xde, 0xd5, - 0x97, 0xa4, 0x50, 0xcb, 0x43, 0x7d, 0xb9, 0xf0, 0x96, 0xa6, 0xfe, 0xc3, 0x19, 0x59, 0xd2, 0xf7, - 0x49, 0xa1, 0x7c, 0xff, 0xa0, 0xf0, 0xfd, 0x85, 0xe7, 0xfb, 0x46, 0xf3, 0xe9, 0xcc, 0x34, 0xf6, - 0xf6, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0xfb, 0xab, 0xc6, 0x31, 0xb4, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/age_range_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/age_range_type.pb.go deleted file mode 100644 index 3721e267..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/age_range_type.pb.go +++ /dev/null @@ -1,148 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/age_range_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_6862e2c9d484ba9a, []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_6862e2c9d484ba9a, []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 (m *AgeRangeTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AgeRangeTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.AgeRangeTypeEnum_AgeRangeType", AgeRangeTypeEnum_AgeRangeType_name, AgeRangeTypeEnum_AgeRangeType_value) - proto.RegisterType((*AgeRangeTypeEnum)(nil), "google.ads.googleads.v2.enums.AgeRangeTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/age_range_type.proto", fileDescriptor_6862e2c9d484ba9a) -} - -var fileDescriptor_6862e2c9d484ba9a = []byte{ - // 378 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x4f, 0x8b, 0xd3, 0x40, - 0x18, 0xc6, 0x4d, 0x05, 0x85, 0xa9, 0xd0, 0x31, 0xa0, 0x07, 0x69, 0x0b, 0xed, 0x07, 0x98, 0xe0, - 0x34, 0x29, 0x32, 0x9e, 0xa6, 0x76, 0x0c, 0x45, 0x8c, 0xa1, 0x36, 0x15, 0x24, 0x30, 0x44, 0x33, - 0x0c, 0x85, 0x76, 0x26, 0x74, 0xd2, 0x42, 0xbf, 0x8e, 0x47, 0xbf, 0x84, 0x77, 0xcf, 0x5e, 0xea, - 0x3f, 0xd8, 0xcb, 0xc2, 0xee, 0xa7, 0x58, 0x92, 0x6c, 0xbb, 0xdd, 0xc0, 0xee, 0x25, 0x3c, 0xfc, - 0xde, 0xf7, 0x79, 0xc8, 0x3c, 0x2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xd0, 0xfb, 0xaa, 0x57, - 0xe8, 0xde, 0xbe, 0x46, 0x4f, 0x4f, 0x5f, 0x1e, 0x16, 0x25, 0x85, 0xd6, 0xe7, 0xd1, 0xb5, 0x47, - 0xea, 0x65, 0xa2, 0x24, 0xd2, 0x6b, 0xe9, 0x48, 0xa1, 0xca, 0x0a, 0x0f, 0x77, 0xca, 0x16, 0xe6, - 0x8e, 0xb3, 0xbd, 0x2e, 0xbf, 0xdf, 0x1a, 0x0f, 0x7d, 0x4a, 0xbf, 0x37, 0x3a, 0x7e, 0x15, 0x45, - 0x53, 0x83, 0x2a, 0x59, 0xa8, 0x39, 0x46, 0x45, 0xf5, 0xe6, 0xe7, 0x61, 0x1e, 0xd3, 0xd4, 0xc4, - 0xc7, 0x79, 0x3c, 0xc7, 0x71, 0x39, 0xbf, 0x6c, 0xf4, 0x2a, 0x48, 0x08, 0x4d, 0x0d, 0x21, 0xc7, - 0x0d, 0x42, 0xe6, 0x98, 0x90, 0x72, 0xe7, 0xcb, 0xa3, 0xf2, 0xc7, 0x06, 0x57, 0x01, 0x00, 0x00, - 0xff, 0xff, 0x3d, 0x10, 0x47, 0x8f, 0x4e, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/app_campaign_app_store.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/app_campaign_app_store.pb.go deleted file mode 100644 index 8288e958..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/app_campaign_app_store.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/app_campaign_app_store.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing app campaign app store. -type AppCampaignAppStoreEnum_AppCampaignAppStore int32 - -const ( - // Not specified. - AppCampaignAppStoreEnum_UNSPECIFIED AppCampaignAppStoreEnum_AppCampaignAppStore = 0 - // Used for return value only. Represents value unknown in this version. - AppCampaignAppStoreEnum_UNKNOWN AppCampaignAppStoreEnum_AppCampaignAppStore = 1 - // Apple app store. - AppCampaignAppStoreEnum_APPLE_APP_STORE AppCampaignAppStoreEnum_AppCampaignAppStore = 2 - // Google play. - AppCampaignAppStoreEnum_GOOGLE_APP_STORE AppCampaignAppStoreEnum_AppCampaignAppStore = 3 -) - -var AppCampaignAppStoreEnum_AppCampaignAppStore_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "APPLE_APP_STORE", - 3: "GOOGLE_APP_STORE", -} - -var AppCampaignAppStoreEnum_AppCampaignAppStore_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "APPLE_APP_STORE": 2, - "GOOGLE_APP_STORE": 3, -} - -func (x AppCampaignAppStoreEnum_AppCampaignAppStore) String() string { - return proto.EnumName(AppCampaignAppStoreEnum_AppCampaignAppStore_name, int32(x)) -} - -func (AppCampaignAppStoreEnum_AppCampaignAppStore) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b3345cd5808d0893, []int{0, 0} -} - -// The application store that distributes mobile applications. -type AppCampaignAppStoreEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AppCampaignAppStoreEnum) Reset() { *m = AppCampaignAppStoreEnum{} } -func (m *AppCampaignAppStoreEnum) String() string { return proto.CompactTextString(m) } -func (*AppCampaignAppStoreEnum) ProtoMessage() {} -func (*AppCampaignAppStoreEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_b3345cd5808d0893, []int{0} -} - -func (m *AppCampaignAppStoreEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AppCampaignAppStoreEnum.Unmarshal(m, b) -} -func (m *AppCampaignAppStoreEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AppCampaignAppStoreEnum.Marshal(b, m, deterministic) -} -func (m *AppCampaignAppStoreEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AppCampaignAppStoreEnum.Merge(m, src) -} -func (m *AppCampaignAppStoreEnum) XXX_Size() int { - return xxx_messageInfo_AppCampaignAppStoreEnum.Size(m) -} -func (m *AppCampaignAppStoreEnum) XXX_DiscardUnknown() { - xxx_messageInfo_AppCampaignAppStoreEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_AppCampaignAppStoreEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.AppCampaignAppStoreEnum_AppCampaignAppStore", AppCampaignAppStoreEnum_AppCampaignAppStore_name, AppCampaignAppStoreEnum_AppCampaignAppStore_value) - proto.RegisterType((*AppCampaignAppStoreEnum)(nil), "google.ads.googleads.v2.enums.AppCampaignAppStoreEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/app_campaign_app_store.proto", fileDescriptor_b3345cd5808d0893) -} - -var fileDescriptor_b3345cd5808d0893 = []byte{ - // 315 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xd1, 0x4a, 0xc3, 0x30, - 0x14, 0x75, 0x1d, 0x28, 0x64, 0x0f, 0x2b, 0x9d, 0xa0, 0x88, 0x7b, 0xd8, 0x3e, 0x20, 0x81, 0xfa, - 0x16, 0x9f, 0xb2, 0x59, 0xcb, 0x50, 0xda, 0xe0, 0xdc, 0x04, 0x29, 0x96, 0xb8, 0x96, 0x50, 0x58, - 0x93, 0xb0, 0x74, 0x03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xe2, 0x88, 0x97, 0xc2, 0x1e, 0xb6, - 0x6b, 0x51, 0x55, 0xfa, 0x8f, 0x52, 0xaf, 0xed, 0xfb, 0xee, 0xb5, 0x63, 0x42, 0x3e, 0xbc, 0x7e, - 0xec, 0xac, 0x48, 0xa1, 0xa1, 0x83, 0x06, 0xcd, 0x43, 0x68, 0xaa, 0xd0, 0x9f, 0x3b, 0x3e, 0x23, - 0x85, 0xce, 0xf6, 0x7c, 0x36, 0x0f, 0x33, 0xcb, 0x7f, 0x79, 0x03, 0x37, 0xc4, 0x98, 0x14, 0x1a, - 0xe3, 0xfd, 0x06, 0xc6, 0xf3, 0x10, 0x63, 0xbb, 0xf3, 0x7a, 0x6c, 0x83, 0x5d, 0xfd, 0x04, 0x00, - 0x00, 0xff, 0xff, 0x25, 0xdd, 0x06, 0x91, 0xec, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/app_campaign_bidding_strategy_goal_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/app_campaign_bidding_strategy_goal_type.pb.go deleted file mode 100644 index f6151e88..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/app_campaign_bidding_strategy_goal_type.pb.go +++ /dev/null @@ -1,148 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/app_campaign_bidding_strategy_goal_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Goal type of App campaign BiddingStrategy. -type AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType int32 - -const ( - // Not specified. - AppCampaignBiddingStrategyGoalTypeEnum_UNSPECIFIED AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType = 0 - // Used for return value only. Represents value unknown in this version. - AppCampaignBiddingStrategyGoalTypeEnum_UNKNOWN AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType = 1 - // Aim to maximize the number of app installs. The cpa bid is the - // target cost per install. - AppCampaignBiddingStrategyGoalTypeEnum_OPTIMIZE_INSTALLS_TARGET_INSTALL_COST AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType = 2 - // Aim to maximize the long term number of selected in-app conversions from - // app installs. The cpa bid is the target cost per install. - AppCampaignBiddingStrategyGoalTypeEnum_OPTIMIZE_IN_APP_CONVERSIONS_TARGET_INSTALL_COST AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType = 3 - // Aim to maximize the long term number of selected in-app conversions from - // app installs. The cpa bid is the target cost per in-app conversion. Note - // that the actual cpa may seem higher than the target cpa at first, since - // the long term conversions haven’t happened yet. - AppCampaignBiddingStrategyGoalTypeEnum_OPTIMIZE_IN_APP_CONVERSIONS_TARGET_CONVERSION_COST AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType = 4 - // Aim to maximize all conversions' value, i.e. install + selected in-app - // conversions while achieving or exceeding target return on advertising - // spend. - AppCampaignBiddingStrategyGoalTypeEnum_OPTIMIZE_RETURN_ON_ADVERTISING_SPEND AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType = 5 -) - -var AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "OPTIMIZE_INSTALLS_TARGET_INSTALL_COST", - 3: "OPTIMIZE_IN_APP_CONVERSIONS_TARGET_INSTALL_COST", - 4: "OPTIMIZE_IN_APP_CONVERSIONS_TARGET_CONVERSION_COST", - 5: "OPTIMIZE_RETURN_ON_ADVERTISING_SPEND", -} - -var AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "OPTIMIZE_INSTALLS_TARGET_INSTALL_COST": 2, - "OPTIMIZE_IN_APP_CONVERSIONS_TARGET_INSTALL_COST": 3, - "OPTIMIZE_IN_APP_CONVERSIONS_TARGET_CONVERSION_COST": 4, - "OPTIMIZE_RETURN_ON_ADVERTISING_SPEND": 5, -} - -func (x AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType) String() string { - return proto.EnumName(AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType_name, int32(x)) -} - -func (AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_77777a81d427ac7f, []int{0, 0} -} - -// Container for enum describing goal towards which the bidding strategy of an -// app campaign should optimize for. -type AppCampaignBiddingStrategyGoalTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AppCampaignBiddingStrategyGoalTypeEnum) Reset() { - *m = AppCampaignBiddingStrategyGoalTypeEnum{} -} -func (m *AppCampaignBiddingStrategyGoalTypeEnum) String() string { return proto.CompactTextString(m) } -func (*AppCampaignBiddingStrategyGoalTypeEnum) ProtoMessage() {} -func (*AppCampaignBiddingStrategyGoalTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_77777a81d427ac7f, []int{0} -} - -func (m *AppCampaignBiddingStrategyGoalTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AppCampaignBiddingStrategyGoalTypeEnum.Unmarshal(m, b) -} -func (m *AppCampaignBiddingStrategyGoalTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AppCampaignBiddingStrategyGoalTypeEnum.Marshal(b, m, deterministic) -} -func (m *AppCampaignBiddingStrategyGoalTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AppCampaignBiddingStrategyGoalTypeEnum.Merge(m, src) -} -func (m *AppCampaignBiddingStrategyGoalTypeEnum) XXX_Size() int { - return xxx_messageInfo_AppCampaignBiddingStrategyGoalTypeEnum.Size(m) -} -func (m *AppCampaignBiddingStrategyGoalTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_AppCampaignBiddingStrategyGoalTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_AppCampaignBiddingStrategyGoalTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType", AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType_name, AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType_value) - proto.RegisterType((*AppCampaignBiddingStrategyGoalTypeEnum)(nil), "google.ads.googleads.v2.enums.AppCampaignBiddingStrategyGoalTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/app_campaign_bidding_strategy_goal_type.proto", fileDescriptor_77777a81d427ac7f) -} - -var fileDescriptor_77777a81d427ac7f = []byte{ - // 412 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0x4f, 0x6b, 0xdb, 0x30, - 0x14, 0x5f, 0xdc, 0xfd, 0x01, 0xf5, 0xb0, 0xe0, 0xe3, 0x58, 0x0f, 0x0d, 0xfb, 0x7b, 0x91, 0xc1, - 0x85, 0x1d, 0xb4, 0x93, 0x92, 0x68, 0x46, 0xb4, 0x93, 0x8d, 0xa5, 0x78, 0x50, 0x02, 0x42, 0xad, - 0x8d, 0x30, 0x24,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14, 0xb8, 0xcc, 0x88, 0x38, 0xfc, 0xcb, 0x59, - 0xce, 0xc5, 0x38, 0x8a, 0xcf, 0x40, 0xf2, 0x07, 0x55, 0xe2, 0xa2, 0x90, 0xb3, 0x9c, 0x55, 0xa4, - 0xe4, 0x34, 0x67, 0x7f, 0x17, 0x1d, 0xc5, 0xef, 0x40, 0x7a, 0x0f, 0xd1, 0xef, 0x52, 0xd0, 0x3d, - 0x8c, 0xdf, 0x80, 0x17, 0x83, 0xae, 0x24, 0x62, 0x51, 0x32, 0x99, 0x33, 0x89, 0xe7, 0x15, 0x29, - 0x05, 0xe5, 0x94, 0x65, 0x92, 0x17, 0x84, 0xcd, 0xc7, 0x8f, 0xa6, 0x3f, 0x47, 0xe0, 0xf4, 0xda, - 0xae, 0xe1, 0x7f, 0xa7, 0x3e, 0x7d, 0x7d, 0xf7, 0xa4, 0x8a, 0xdd, 0x02, 0x8a, 0xd1, 0xe5, 0x74, - 0xef, 0xa4, 0xed, 0x4a, 0x19, 0x0d, 0xed, 0x46, 0x27, 0xba, 0x31, 0xfd, 0x7a, 0x0e, 0xc7, 0xe1, - 0x5a, 0xff, 0x8f, 0x5b, 0x79, 0xdf, 0x7f, 0xbf, 0x44, 0x47, 0x19, 0xc6, 0x5f, 0xa3, 0x93, 0x2c, - 0x58, 0xe1, 0xda, 0xc3, 0x00, 0x77, 0xa8, 0x4a, 0xe1, 0x6e, 0x81, 0xfe, 0xfb, 0xa1, 0xbf, 0xc4, - 0xb5, 0x5f, 0x0e, 0xfd, 0x65, 0x95, 0x2e, 0xfb, 0xfe, 0x8f, 0xe8, 0x34, 0x14, 0x11, 0xc2, 0xb5, - 0x47, 0x68, 0x60, 0x20, 0x54, 0xa5, 0x08, 0xf5, 0x9c, 0xab, 0xc7, 0xfd, 0xc3, 0xce, 0x7e, 0x05, - 0x00, 0x00, 0xff, 0xff, 0xb2, 0xf3, 0x3c, 0xb4, 0xc3, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/app_payment_model_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/app_payment_model_type.pb.go deleted file mode 100644 index d97c5a51..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/app_payment_model_type.pb.go +++ /dev/null @@ -1,119 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/app_payment_model_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible app payment models. -type AppPaymentModelTypeEnum_AppPaymentModelType int32 - -const ( - // Not specified. - AppPaymentModelTypeEnum_UNSPECIFIED AppPaymentModelTypeEnum_AppPaymentModelType = 0 - // Used for return value only. Represents value unknown in this version. - AppPaymentModelTypeEnum_UNKNOWN AppPaymentModelTypeEnum_AppPaymentModelType = 1 - // Represents paid-for apps. - AppPaymentModelTypeEnum_PAID AppPaymentModelTypeEnum_AppPaymentModelType = 30 -) - -var AppPaymentModelTypeEnum_AppPaymentModelType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 30: "PAID", -} - -var AppPaymentModelTypeEnum_AppPaymentModelType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "PAID": 30, -} - -func (x AppPaymentModelTypeEnum_AppPaymentModelType) String() string { - return proto.EnumName(AppPaymentModelTypeEnum_AppPaymentModelType_name, int32(x)) -} - -func (AppPaymentModelTypeEnum_AppPaymentModelType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_35fd4c9053283d24, []int{0, 0} -} - -// Represents a criterion for targeting paid apps. -type AppPaymentModelTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AppPaymentModelTypeEnum) Reset() { *m = AppPaymentModelTypeEnum{} } -func (m *AppPaymentModelTypeEnum) String() string { return proto.CompactTextString(m) } -func (*AppPaymentModelTypeEnum) ProtoMessage() {} -func (*AppPaymentModelTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_35fd4c9053283d24, []int{0} -} - -func (m *AppPaymentModelTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AppPaymentModelTypeEnum.Unmarshal(m, b) -} -func (m *AppPaymentModelTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AppPaymentModelTypeEnum.Marshal(b, m, deterministic) -} -func (m *AppPaymentModelTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AppPaymentModelTypeEnum.Merge(m, src) -} -func (m *AppPaymentModelTypeEnum) XXX_Size() int { - return xxx_messageInfo_AppPaymentModelTypeEnum.Size(m) -} -func (m *AppPaymentModelTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_AppPaymentModelTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_AppPaymentModelTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.AppPaymentModelTypeEnum_AppPaymentModelType", AppPaymentModelTypeEnum_AppPaymentModelType_name, AppPaymentModelTypeEnum_AppPaymentModelType_value) - proto.RegisterType((*AppPaymentModelTypeEnum)(nil), "google.ads.googleads.v2.enums.AppPaymentModelTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/app_payment_model_type.proto", fileDescriptor_35fd4c9053283d24) -} - -var fileDescriptor_35fd4c9053283d24 = []byte{ - // 302 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xf3, 0x30, - 0x1c, 0xc5, 0xbf, 0xed, 0x13, 0x95, 0xec, 0xc2, 0x51, 0x2f, 0x14, 0x71, 0xc2, 0xf6, 0x00, 0x09, - 0xd4, 0xbb, 0x88, 0x17, 0xa9, 0xab, 0xa3, 0x88, 0xb5, 0xa0, 0xab, 0x22, 0x85, 0x12, 0x4d, 0x08, - 0x85, 0x36, 0x09, 0x4b, 0x37, 0xe8, 0xeb, 0x78, 0xe9, 0xa3, 0xf8, 0x28, 0x82, 0xef, 0x20, 0x4d, - 0x6c, 0xaf, 0xa6, 0x37, 0xe1, 0x90, 0xf3, 0xff, 0x9d, 0x9c, 0xfc, 0x01, 0x16, 0x4a, 0x89, 0x92, - 0x23, 0xca, 0x0c, 0x72, 0xb2, 0x55, 0x1b, 0x1f, 0x71, 0xb9, 0xae, 0x0c, 0xa2, 0x5a, 0xe7, 0x9a, - 0x36, 0x15, 0x97, 0x75, 0x5e, 0x29, 0xc6, 0xcb, 0xbc, 0x6e, 0x34, 0x87, 0x7a, 0xa5, 0x6a, 0xe5, - 0x4d, 0x1c, 0x00, 0x29, 0x33, 0xb0, 0x67, 0xe1, 0xc6, 0x87, 0x96, 0x3d, 0x39, 0xed, 0xa2, 0x75, - 0x81, 0xa8, 0x94, 0xaa, 0xa6, 0x75, 0xa1, 0xa4, 0x71, 0xf0, 0xec, 0x09, 0x1c, 0x11, 0xad, 0x13, - 0x97, 0x7d, 0xdb, 0x46, 0x3f, 0x34, 0x9a, 0x87, 0x72, 0x5d, 0xcd, 0x2e, 0xc1, 0xe1, 0x16, 0xcb, - 0x3b, 0x00, 0xa3, 0x65, 0x7c, 0x9f, 0x84, 0x57, 0xd1, 0x75, 0x14, 0xce, 0xc7, 0xff, 0xbc, 0x11, - 0xd8, 0x5b, 0xc6, 0x37, 0xf1, 0xdd, 0x63, 0x3c, 0x1e, 0x78, 0xfb, 0x60, 0x27, 0x21, 0xd1, 0x7c, - 0x7c, 0x16, 0x7c, 0x0d, 0xc0, 0xf4, 0x55, 0x55, 0xf0, 0xcf, 0x76, 0xc1, 0xf1, 0x96, 0x27, 0x92, - 0xb6, 0x59, 0x32, 0x78, 0x0e, 0x7e, 0x50, 0xa1, 0x4a, 0x2a, 0x05, 0x54, 0x2b, 0x81, 0x04, 0x97, - 0xb6, 0x77, 0xb7, 0x24, 0x5d, 0x98, 0x5f, 0x76, 0x76, 0x61, 0xcf, 0xb7, 0xe1, 0xff, 0x05, 0x21, - 0xef, 0xc3, 0xc9, 0xc2, 0x45, 0x11, 0x66, 0xa0, 0x93, 0xad, 0x4a, 0x7d, 0xd8, 0xfe, 0xd4, 0x7c, - 0x74, 0x7e, 0x46, 0x98, 0xc9, 0x7a, 0x3f, 0x4b, 0xfd, 0xcc, 0xfa, 0x9f, 0xc3, 0xa9, 0xbb, 0xc4, - 0x98, 0x30, 0x83, 0x71, 0x3f, 0x81, 0x71, 0xea, 0x63, 0x6c, 0x67, 0x5e, 0x76, 0x6d, 0xb1, 0xf3, - 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x36, 0x1d, 0xdf, 0xbb, 0xcb, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/app_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/app_placeholder_field.pb.go deleted file mode 100644 index 0c22ad94..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/app_placeholder_field.pb.go +++ /dev/null @@ -1,159 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/app_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_f5ec45d31ec104f1, []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_f5ec45d31ec104f1, []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 (m *AppPlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AppPlaceholderFieldEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.AppPlaceholderFieldEnum_AppPlaceholderField", AppPlaceholderFieldEnum_AppPlaceholderField_name, AppPlaceholderFieldEnum_AppPlaceholderField_value) - proto.RegisterType((*AppPlaceholderFieldEnum)(nil), "google.ads.googleads.v2.enums.AppPlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/app_placeholder_field.proto", fileDescriptor_f5ec45d31ec104f1) -} - -var fileDescriptor_f5ec45d31ec104f1 = []byte{ - // 382 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xdd, 0xce, 0x93, 0x30, - 0x18, 0x16, 0xe6, 0xb7, 0xb9, 0x7e, 0xfe, 0xd4, 0xaa, 0xd1, 0x18, 0x77, 0xb0, 0x5d, 0x40, 0x49, - 0xf0, 0xc8, 0x7a, 0x54, 0x36, 0x58, 0x9a, 0x21, 0x23, 0xfc, 0xcc, 0xc5, 0x90, 0x10, 0x1c, 0x88, - 0x24, 0x8c, 0x36, 0xeb, 0xb6, 0x0b, 0xf2, 0xd0, 0xc4, 0x0b, 0xd1, 0x4b, 0x31, 0xf1, 0x1e, 0x0c, - 0xd4, 0xe1, 0xc9, 0xf4, 0xa4, 0x79, 0xfa, 0x3e, 0x3f, 0x69, 0x9f, 0x17, 0xbc, 0x29, 0x39, 0x2f, - 0xeb, 0xc2, 0xc8, 0x72, 0x69, 0x28, 0xd8, 0xa2, 0xb3, 0x69, 0x14, 0xcd, 0x69, 0x2f, 0x8d, 0x4c, - 0x88, 0x54, 0xd4, 0xd9, 0xae, 0xf8, 0xcc, 0xeb, 0xbc, 0x38,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d7, - 0x3e, 0x58, 0x7f, 0xac, 0x25, 0xaf, 0xb3, 0xa6, 0xc4, 0xfc, 0x50, 0x1a, 0x65, 0xd1, 0x74, 0x4d, - 0x5d, 0xb6, 0x22, 0x2a, 0xf9, 0x8f, 0x25, 0xbd, 0xed, 0xce, 0x2f, 0xfa, 0x60, 0x49, 0xe9, 0x57, - 0x7d, 0xb2, 0x54, 0x51, 0x34, 0x97, 0x58, 0xc1, 0x16, 0x6d, 0x4c, 0xdc, 0x56, 0x2b, 0x7f, 0x5c, - 0xf8, 0x84, 0xe6, 0x32, 0xe9, 0xf9, 0x64, 0x63, 0x26, 0x1d, 0xff, 0x53, 0x9f, 0xaa, 0x21, 0x21, - 0x34, 0x97, 0x84, 0xf4, 0x0a, 0x42, 0x36, 0x26, 0x21, 0x9d, 0xe6, 0xe3, 0xb0, 0x7b, 0xd8, 0xeb, - 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xe5, 0xce, 0xc7, 0xff, 0x3c, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/app_store.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/app_store.pb.go deleted file mode 100644 index 12ea3008..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/app_store.pb.go +++ /dev/null @@ -1,123 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/app_store.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// App store type in an app extension. -type AppStoreEnum_AppStore int32 - -const ( - // Not specified. - AppStoreEnum_UNSPECIFIED AppStoreEnum_AppStore = 0 - // Used for return value only. Represents value unknown in this version. - AppStoreEnum_UNKNOWN AppStoreEnum_AppStore = 1 - // Apple iTunes. - AppStoreEnum_APPLE_ITUNES AppStoreEnum_AppStore = 2 - // Google Play. - AppStoreEnum_GOOGLE_PLAY AppStoreEnum_AppStore = 3 -) - -var AppStoreEnum_AppStore_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "APPLE_ITUNES", - 3: "GOOGLE_PLAY", -} - -var AppStoreEnum_AppStore_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "APPLE_ITUNES": 2, - "GOOGLE_PLAY": 3, -} - -func (x AppStoreEnum_AppStore) String() string { - return proto.EnumName(AppStoreEnum_AppStore_name, int32(x)) -} - -func (AppStoreEnum_AppStore) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e712fee7ba2d1fd3, []int{0, 0} -} - -// Container for enum describing app store type in an app extension. -type AppStoreEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AppStoreEnum) Reset() { *m = AppStoreEnum{} } -func (m *AppStoreEnum) String() string { return proto.CompactTextString(m) } -func (*AppStoreEnum) ProtoMessage() {} -func (*AppStoreEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_e712fee7ba2d1fd3, []int{0} -} - -func (m *AppStoreEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AppStoreEnum.Unmarshal(m, b) -} -func (m *AppStoreEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AppStoreEnum.Marshal(b, m, deterministic) -} -func (m *AppStoreEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AppStoreEnum.Merge(m, src) -} -func (m *AppStoreEnum) XXX_Size() int { - return xxx_messageInfo_AppStoreEnum.Size(m) -} -func (m *AppStoreEnum) XXX_DiscardUnknown() { - xxx_messageInfo_AppStoreEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_AppStoreEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.AppStoreEnum_AppStore", AppStoreEnum_AppStore_name, AppStoreEnum_AppStore_value) - proto.RegisterType((*AppStoreEnum)(nil), "google.ads.googleads.v2.enums.AppStoreEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/app_store.proto", fileDescriptor_e712fee7ba2d1fd3) -} - -var fileDescriptor_e712fee7ba2d1fd3 = []byte{ - // 299 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xc3, 0x30, - 0x1c, 0xc6, 0x5d, 0x07, 0x2a, 0xd9, 0xc4, 0xd2, 0xa3, 0xb8, 0xc3, 0x76, 0x37, 0x81, 0x7a, 0x8b, - 0xa7, 0x4c, 0x63, 0x19, 0x1b, 0x5d, 0x60, 0x6e, 0xa2, 0x16, 0x46, 0xb4, 0x25, 0x14, 0xd6, 0x24, - 0x34, 0xdd, 0x1e, 0xc8, 0xa3, 0x8f, 0xe2, 0x63, 0x78, 0xf4, 0x29, 0x24, 0x89, 0xed, 0x4d, 0x2f, - 0xe1, 0x4b, 0xbe, 0x5f, 0xbe, 0x7c, 0xf9, 0x83, 0x2b, 0xa1, 0x94, 0xd8, 0x15, 0x88, 0xe7, 0x06, - 0x79, 0x69, 0xd5, 0x21, 0x46, 0x85, 0xdc, 0x57, 0x06, 0x71, 0xad, 0xb7, 0xa6, 0x51, 0x75, 0x01, - 0x75, 0xad, 0x1a, 0x15, 0x8d, 0x3c, 0x03, 0x79, 0x6e, 0x60, 0x87, 0xc3, 0x43, 0x0c, 0x1d, 0x7e, - 0x71, 0xd9, 0xa6, 0xe9, 0x12, 0x71, 0x29, 0x55, 0xc3, 0x9b, 0x52, 0x49, 0xe3, 0x2f, 0x4f, 0x5e, - 0xc0, 0x90, 0x68, 0xbd, 0xb2, 0x71, 0x54, 0xee, 0xab, 0xc9, 0x1c, 0x9c, 0xb6, 0xfb, 0xe8, 0x1c, - 0x0c, 0xd6, 0xe9, 0x8a, 0xd1, 0xdb, 0xd9, 0xfd, 0x8c, 0xde, 0x85, 0x47, 0xd1, 0x00, 0x9c, 0xac, - 0xd3, 0x79, 0xba, 0x7c, 0x4c, 0xc3, 0x5e, 0x14, 0x82, 0x21, 0x61, 0x6c, 0x41, 0xb7, 0xb3, 0x87, - 0x75, 0x4a, 0x57, 0x61, 0x60, 0xf9, 0x64, 0xb9, 0x4c, 0x16, 0x74, 0xcb, 0x16, 0xe4, 0x29, 0xec, - 0x4f, 0xbf, 0x7a, 0x60, 0xfc, 0xa6, 0x2a, 0xf8, 0x6f, 0xc1, 0xe9, 0x59, 0xfb, 0x20, 0xb3, 0x8d, - 0x58, 0xef, 0x79, 0xfa, 0xcb, 0x0b, 0xb5, 0xe3, 0x52, 0x40, 0x55, 0x0b, 0x24, 0x0a, 0xe9, 0xfa, - 0xb6, 0xf3, 0xd0, 0xa5, 0xf9, 0x63, 0x3c, 0x37, 0x6e, 0x7d, 0x0f, 0xfa, 0x09, 0x21, 0x1f, 0xc1, - 0x28, 0xf1, 0x51, 0x24, 0x37, 0xd0, 0x4b, 0xab, 0x36, 0x31, 0xb4, 0x9f, 0x35, 0x9f, 0xad, 0x9f, - 0x91, 0xdc, 0x64, 0x9d, 0x9f, 0x6d, 0xe2, 0xcc, 0xf9, 0xdf, 0xc1, 0xd8, 0x1f, 0x62, 0x4c, 0x72, - 0x83, 0x71, 0x47, 0x60, 0xbc, 0x89, 0x31, 0x76, 0xcc, 0xeb, 0xb1, 0x2b, 0x76, 0xfd, 0x13, 0x00, - 0x00, 0xff, 0xff, 0xef, 0x21, 0x1f, 0x60, 0xb6, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/app_url_operating_system_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/app_url_operating_system_type.pb.go deleted file mode 100644 index 2b1919c5..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/app_url_operating_system_type.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/app_url_operating_system_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Operating System -type AppUrlOperatingSystemTypeEnum_AppUrlOperatingSystemType int32 - -const ( - // Not specified. - AppUrlOperatingSystemTypeEnum_UNSPECIFIED AppUrlOperatingSystemTypeEnum_AppUrlOperatingSystemType = 0 - // Used for return value only. Represents value unknown in this version. - AppUrlOperatingSystemTypeEnum_UNKNOWN AppUrlOperatingSystemTypeEnum_AppUrlOperatingSystemType = 1 - // The Apple IOS operating system. - AppUrlOperatingSystemTypeEnum_IOS AppUrlOperatingSystemTypeEnum_AppUrlOperatingSystemType = 2 - // The Android operating system. - AppUrlOperatingSystemTypeEnum_ANDROID AppUrlOperatingSystemTypeEnum_AppUrlOperatingSystemType = 3 -) - -var AppUrlOperatingSystemTypeEnum_AppUrlOperatingSystemType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "IOS", - 3: "ANDROID", -} - -var AppUrlOperatingSystemTypeEnum_AppUrlOperatingSystemType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "IOS": 2, - "ANDROID": 3, -} - -func (x AppUrlOperatingSystemTypeEnum_AppUrlOperatingSystemType) String() string { - return proto.EnumName(AppUrlOperatingSystemTypeEnum_AppUrlOperatingSystemType_name, int32(x)) -} - -func (AppUrlOperatingSystemTypeEnum_AppUrlOperatingSystemType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4f2dc8e3a8835a20, []int{0, 0} -} - -// The possible OS types for a deeplink AppUrl. -type AppUrlOperatingSystemTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AppUrlOperatingSystemTypeEnum) Reset() { *m = AppUrlOperatingSystemTypeEnum{} } -func (m *AppUrlOperatingSystemTypeEnum) String() string { return proto.CompactTextString(m) } -func (*AppUrlOperatingSystemTypeEnum) ProtoMessage() {} -func (*AppUrlOperatingSystemTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_4f2dc8e3a8835a20, []int{0} -} - -func (m *AppUrlOperatingSystemTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AppUrlOperatingSystemTypeEnum.Unmarshal(m, b) -} -func (m *AppUrlOperatingSystemTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AppUrlOperatingSystemTypeEnum.Marshal(b, m, deterministic) -} -func (m *AppUrlOperatingSystemTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AppUrlOperatingSystemTypeEnum.Merge(m, src) -} -func (m *AppUrlOperatingSystemTypeEnum) XXX_Size() int { - return xxx_messageInfo_AppUrlOperatingSystemTypeEnum.Size(m) -} -func (m *AppUrlOperatingSystemTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_AppUrlOperatingSystemTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_AppUrlOperatingSystemTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.AppUrlOperatingSystemTypeEnum_AppUrlOperatingSystemType", AppUrlOperatingSystemTypeEnum_AppUrlOperatingSystemType_name, AppUrlOperatingSystemTypeEnum_AppUrlOperatingSystemType_value) - proto.RegisterType((*AppUrlOperatingSystemTypeEnum)(nil), "google.ads.googleads.v2.enums.AppUrlOperatingSystemTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/app_url_operating_system_type.proto", fileDescriptor_4f2dc8e3a8835a20) -} - -var fileDescriptor_4f2dc8e3a8835a20 = []byte{ - // 314 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x41, 0x4b, 0xc3, 0x30, - 0x18, 0x75, 0x1d, 0x38, 0xc8, 0x0e, 0x96, 0xde, 0x14, 0x27, 0x6c, 0x3f, 0x20, 0x81, 0x7a, 0x8b, - 0xa7, 0xcc, 0xcd, 0x51, 0x84, 0x76, 0x38, 0x37, 0x41, 0x0a, 0x25, 0xda, 0x10, 0x0a, 0x6d, 0x12, - 0x9a, 0x6c, 0xd0, 0xbf, 0xe3, 0xd1, 0x9f, 0xe2, 0x4f, 0xf1, 0xea, 0x1f, 0x90, 0x26, 0xb6, 0xb7, - 0x7a, 0x09, 0x8f, 0xef, 0x7b, 0xdf, 0x7b, 0x2f, 0x0f, 0x10, 0x2e, 0x25, 0x2f, 0x19, 0xa2, 0xb9, - 0x46, 0x0e, 0xb6, 0xe8, 0x14, 0x22, 0x26, 0x8e, 0x95, 0x46, 0x54, 0xa9, 0xec, 0x58, 0x97, 0x99, - 0x54, 0xac, 0xa6, 0xa6, 0x10, 0x3c, 0xd3, 0x8d, 0x36, 0xac, 0xca, 0x4c, 0xa3, 0x18, 0x54, 0xb5, - 0x34, 0x32, 0x98, 0xb9, 0x3b, 0x48, 0x73, 0x0d, 0x7b, 0x09, 0x78, 0x0a, 0xa1, 0x95, 0xb8, 0xba, - 0xee, 0x1c, 0x54, 0x81, 0xa8, 0x10, 0xd2, 0x50, 0x53, 0x48, 0xa1, 0xdd, 0xf1, 0x42, 0x81, 0x19, - 0x51, 0x6a, 0x5f, 0x97, 0x49, 0xe7, 0xb0, 0xb3, 0x06, 0xcf, 0x8d, 0x62, 0x6b, 0x71, 0xac, 0x16, - 0x09, 0xb8, 0x1c, 0x24, 0x04, 0x17, 0x60, 0xba, 0x8f, 0x77, 0xdb, 0xf5, 0x7d, 0xf4, 0x10, 0xad, - 0x57, 0xfe, 0x59, 0x30, 0x05, 0x93, 0x7d, 0xfc, 0x18, 0x27, 0x2f, 0xb1, 0x3f, 0x0a, 0x26, 0x60, - 0x1c, 0x25, 0x3b, 0xdf, 0x6b, 0xa7, 0x24, 0x5e, 0x3d, 0x25, 0xd1, 0xca, 0x1f, 0x2f, 0x7f, 0x46, - 0x60, 0xfe, 0x2e, 0x2b, 0xf8, 0x6f, 0xea, 0xe5, 0xcd, 0xa0, 0xe9, 0xb6, 0xcd, 0xbd, 0x1d, 0xbd, - 0x2e, 0xff, 0x04, 0xb8, 0x2c, 0xa9, 0xe0, 0x50, 0xd6, 0x1c, 0x71, 0x26, 0xec, 0xaf, 0xba, 0x26, - 0x55, 0xa1, 0x07, 0x8a, 0xbd, 0xb3, 0xef, 0x87, 0x37, 0xde, 0x10, 0xf2, 0xe9, 0xcd, 0x36, 0x4e, - 0x8a, 0xe4, 0x1a, 0x3a, 0xd8, 0xa2, 0x43, 0x08, 0xdb, 0x06, 0xf4, 0x57, 0xb7, 0x4f, 0x49, 0xae, - 0xd3, 0x7e, 0x9f, 0x1e, 0xc2, 0xd4, 0xee, 0xbf, 0xbd, 0xb9, 0x1b, 0x62, 0x4c, 0x72, 0x8d, 0x71, - 0xcf, 0xc0, 0xf8, 0x10, 0x62, 0x6c, 0x39, 0x6f, 0xe7, 0x36, 0xd8, 0xed, 0x6f, 0x00, 0x00, 0x00, - 0xff, 0xff, 0x32, 0xfb, 0x78, 0x0c, 0xf0, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/asset_field_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/asset_field_type.pb.go deleted file mode 100644 index 2cff3401..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/asset_field_type.pb.go +++ /dev/null @@ -1,144 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/asset_field_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing the possible placements of an asset. -type AssetFieldTypeEnum_AssetFieldType int32 - -const ( - // Not specified. - AssetFieldTypeEnum_UNSPECIFIED AssetFieldTypeEnum_AssetFieldType = 0 - // Used for return value only. Represents value unknown in this version. - AssetFieldTypeEnum_UNKNOWN AssetFieldTypeEnum_AssetFieldType = 1 - // The asset is linked for use as a headline. - AssetFieldTypeEnum_HEADLINE AssetFieldTypeEnum_AssetFieldType = 2 - // The asset is linked for use as a description. - AssetFieldTypeEnum_DESCRIPTION AssetFieldTypeEnum_AssetFieldType = 3 - // The asset is linked for use as mandatory ad text. - AssetFieldTypeEnum_MANDATORY_AD_TEXT AssetFieldTypeEnum_AssetFieldType = 4 - // The asset is linked for use as a marketing image. - AssetFieldTypeEnum_MARKETING_IMAGE AssetFieldTypeEnum_AssetFieldType = 5 - // The asset is linked for use as a media bundle. - AssetFieldTypeEnum_MEDIA_BUNDLE AssetFieldTypeEnum_AssetFieldType = 6 - // The asset is linked for use as a YouTube video. - AssetFieldTypeEnum_YOUTUBE_VIDEO AssetFieldTypeEnum_AssetFieldType = 7 -) - -var AssetFieldTypeEnum_AssetFieldType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "HEADLINE", - 3: "DESCRIPTION", - 4: "MANDATORY_AD_TEXT", - 5: "MARKETING_IMAGE", - 6: "MEDIA_BUNDLE", - 7: "YOUTUBE_VIDEO", -} - -var AssetFieldTypeEnum_AssetFieldType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "HEADLINE": 2, - "DESCRIPTION": 3, - "MANDATORY_AD_TEXT": 4, - "MARKETING_IMAGE": 5, - "MEDIA_BUNDLE": 6, - "YOUTUBE_VIDEO": 7, -} - -func (x AssetFieldTypeEnum_AssetFieldType) String() string { - return proto.EnumName(AssetFieldTypeEnum_AssetFieldType_name, int32(x)) -} - -func (AssetFieldTypeEnum_AssetFieldType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e4dc0dc61473f716, []int{0, 0} -} - -// Container for enum describing the possible placements of an asset. -type AssetFieldTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AssetFieldTypeEnum) Reset() { *m = AssetFieldTypeEnum{} } -func (m *AssetFieldTypeEnum) String() string { return proto.CompactTextString(m) } -func (*AssetFieldTypeEnum) ProtoMessage() {} -func (*AssetFieldTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_e4dc0dc61473f716, []int{0} -} - -func (m *AssetFieldTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AssetFieldTypeEnum.Unmarshal(m, b) -} -func (m *AssetFieldTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AssetFieldTypeEnum.Marshal(b, m, deterministic) -} -func (m *AssetFieldTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AssetFieldTypeEnum.Merge(m, src) -} -func (m *AssetFieldTypeEnum) XXX_Size() int { - return xxx_messageInfo_AssetFieldTypeEnum.Size(m) -} -func (m *AssetFieldTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_AssetFieldTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_AssetFieldTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.AssetFieldTypeEnum_AssetFieldType", AssetFieldTypeEnum_AssetFieldType_name, AssetFieldTypeEnum_AssetFieldType_value) - proto.RegisterType((*AssetFieldTypeEnum)(nil), "google.ads.googleads.v2.enums.AssetFieldTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/asset_field_type.proto", fileDescriptor_e4dc0dc61473f716) -} - -var fileDescriptor_e4dc0dc61473f716 = []byte{ - // 383 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xcf, 0x8e, 0x93, 0x40, - 0x1c, 0x16, 0x56, 0x77, 0xcd, 0xec, 0xea, 0xce, 0xce, 0xc6, 0x8b, 0x71, 0x0f, 0xed, 0x03, 0x0c, - 0x09, 0x7a, 0x1a, 0x4f, 0x43, 0x67, 0x8a, 0x93, 0x96, 0x81, 0xb4, 0x80, 0xd6, 0x90, 0x10, 0x14, - 0x24, 0x24, 0x2d, 0x43, 0x3a, 0xb4, 0x49, 0x5f, 0xc6, 0x83, 0x47, 0xef, 0xbe, 0x84, 0x4f, 0x62, - 0x7c, 0x0a, 0x03, 0xd8, 0x26, 0x3d, 0xe8, 0x85, 0x7c, 0xf9, 0x7d, 0x7f, 0xc2, 0xf7, 0x0d, 0x78, - 0x53, 0x2a, 0x55, 0xae, 0x0b, 0x2b, 0xcb, 0xb5, 0x35, 0xc0, 0x0e, 0xed, 0x6d, 0xab, 0xa8, 0x77, - 0x1b, 0x6d, 0x65, 0x5a, 0x17, 0x6d, 0xfa, 0xa5, 0x2a, 0xd6, 0x79, 0xda, 0x1e, 0x9a, 0x02, 0x37, - 0x5b, 0xd5, 0x2a, 0xf4, 0x30, 0x48, 0x71, 0x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xca, 0xa2, 0xee, 0x07, - 0x39, 0xee, 0xde, 0x54, 0xfa, 0x1f, 0xcf, 0xf0, 0xb6, 0xff, 0x7e, 0x33, 0x2f, 0x5c, 0x4a, 0xbf, - 0x9b, 0x0f, 0xee, 0x10, 0x45, 0x73, 0x8d, 0x07, 0xd8, 0xa1, 0xd8, 0xc6, 0xdd, 0x8c, 0xfa, 0xe7, - 0x91, 0x4f, 0x68, 0xae, 0x93, 0x13, 0x9f, 0xc4, 0x76, 0xd2, 0xf3, 0xbf, 0xcd, 0xd1, 0x70, 0x24, - 0x84, 0xe6, 0x9a, 0x90, 0x93, 0x82, 0x90, 0xd8, 0x26, 0xa4, 0xd7, 0x7c, 0xba, 0xec, 0x7f, 0xec, - 0xf5, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa6, 0x4d, 0x8c, 0x14, 0x1e, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/asset_performance_label.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/asset_performance_label.pb.go deleted file mode 100644 index c9373c76..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/asset_performance_label.pb.go +++ /dev/null @@ -1,140 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/asset_performance_label.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing the possible performance labels of an asset, usually -// computed in the context of a linkage. -type AssetPerformanceLabelEnum_AssetPerformanceLabel int32 - -const ( - // Not specified. - AssetPerformanceLabelEnum_UNSPECIFIED AssetPerformanceLabelEnum_AssetPerformanceLabel = 0 - // Used for return value only. Represents value unknown in this version. - AssetPerformanceLabelEnum_UNKNOWN AssetPerformanceLabelEnum_AssetPerformanceLabel = 1 - // This asset does not yet have any performance informantion. This may be - // because it is still under review. - AssetPerformanceLabelEnum_PENDING AssetPerformanceLabelEnum_AssetPerformanceLabel = 2 - // The asset has started getting impressions but the stats are not - // statistically significant enough to get an asset performance label. - AssetPerformanceLabelEnum_LEARNING AssetPerformanceLabelEnum_AssetPerformanceLabel = 3 - // Worst performing assets. - AssetPerformanceLabelEnum_LOW AssetPerformanceLabelEnum_AssetPerformanceLabel = 4 - // Good performing assets. - AssetPerformanceLabelEnum_GOOD AssetPerformanceLabelEnum_AssetPerformanceLabel = 5 - // Best performing assets. - AssetPerformanceLabelEnum_BEST AssetPerformanceLabelEnum_AssetPerformanceLabel = 6 -) - -var AssetPerformanceLabelEnum_AssetPerformanceLabel_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "PENDING", - 3: "LEARNING", - 4: "LOW", - 5: "GOOD", - 6: "BEST", -} - -var AssetPerformanceLabelEnum_AssetPerformanceLabel_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "PENDING": 2, - "LEARNING": 3, - "LOW": 4, - "GOOD": 5, - "BEST": 6, -} - -func (x AssetPerformanceLabelEnum_AssetPerformanceLabel) String() string { - return proto.EnumName(AssetPerformanceLabelEnum_AssetPerformanceLabel_name, int32(x)) -} - -func (AssetPerformanceLabelEnum_AssetPerformanceLabel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_49c836d9760c0969, []int{0, 0} -} - -// Container for enum describing the performance label of an asset. -type AssetPerformanceLabelEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AssetPerformanceLabelEnum) Reset() { *m = AssetPerformanceLabelEnum{} } -func (m *AssetPerformanceLabelEnum) String() string { return proto.CompactTextString(m) } -func (*AssetPerformanceLabelEnum) ProtoMessage() {} -func (*AssetPerformanceLabelEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_49c836d9760c0969, []int{0} -} - -func (m *AssetPerformanceLabelEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AssetPerformanceLabelEnum.Unmarshal(m, b) -} -func (m *AssetPerformanceLabelEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AssetPerformanceLabelEnum.Marshal(b, m, deterministic) -} -func (m *AssetPerformanceLabelEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AssetPerformanceLabelEnum.Merge(m, src) -} -func (m *AssetPerformanceLabelEnum) XXX_Size() int { - return xxx_messageInfo_AssetPerformanceLabelEnum.Size(m) -} -func (m *AssetPerformanceLabelEnum) XXX_DiscardUnknown() { - xxx_messageInfo_AssetPerformanceLabelEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_AssetPerformanceLabelEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.AssetPerformanceLabelEnum_AssetPerformanceLabel", AssetPerformanceLabelEnum_AssetPerformanceLabel_name, AssetPerformanceLabelEnum_AssetPerformanceLabel_value) - proto.RegisterType((*AssetPerformanceLabelEnum)(nil), "google.ads.googleads.v2.enums.AssetPerformanceLabelEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/asset_performance_label.proto", fileDescriptor_49c836d9760c0969) -} - -var fileDescriptor_49c836d9760c0969 = []byte{ - // 334 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xd1, 0x4e, 0xc2, 0x30, - 0x14, 0x75, 0x03, 0x81, 0x14, 0x13, 0x97, 0x25, 0x3e, 0x48, 0xe4, 0x01, 0x3e, 0xa0, 0x4b, 0xe6, - 0x5b, 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, 0x0c, 0xc2, 0x70, 0x6c, 0x9d, 0x2b, 0xe4, 0xf9, 0xb3, 0x27, - 0xab, 0xe5, 0x7d, 0x19, 0x60, 0xb0, 0x11, 0x39, 0xfc, 0x37, 0x90, 0xd7, 0x3b, 0x79, 0x52, 0xa4, - 0xe2, 0x44, 0xc6, 0xb3, 0xf7, 0x23, 0x4e, 0x45, 0x46, 0x79, 0x0a, 0x45, 0x99, 0x3a, 0x29, 0xe3, - 0x75, 0xd8, 0x43, 0xb5, 0xc5, 0x56, 0xfe, 0xd1, 0xf4, 0xa8, 0x7e, 0xdf, 0xcc, 0x46, 0x80, 0xf1, - 0xbb, 0xd9, 0x0f, 0xb4, 0x15, 0x4e, 0x24, 0xd4, 0x50, 0xa1, 0x85, 0x0b, 0x55, 0x37, 0xf2, 0xe3, - 0xc0, 0xc7, 0x38, 0x91, 0xf1, 0x91, 0x8f, 0x17, 0x6e, 0x5c, 0xf3, 0x9f, 0xe6, 0x40, 0x7f, 0x22, - 0x84, 0x13, 0x89, 0xd0, 0x71, 0x03, 0xa1, 0x85, 0x8b, 0x50, 0xbd, 0xb3, 0x6e, 0xd5, 0x87, 0xdd, - 0x7e, 0x07, 0x00, 0x00, 0xff, 0xff, 0xd9, 0x17, 0x21, 0x42, 0x01, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/asset_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/asset_type.pb.go deleted file mode 100644 index 03da2088..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/asset_type.pb.go +++ /dev/null @@ -1,133 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/asset_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible types of asset. -type AssetTypeEnum_AssetType int32 - -const ( - // Not specified. - AssetTypeEnum_UNSPECIFIED AssetTypeEnum_AssetType = 0 - // Used for return value only. Represents value unknown in this version. - AssetTypeEnum_UNKNOWN AssetTypeEnum_AssetType = 1 - // YouTube video asset. - AssetTypeEnum_YOUTUBE_VIDEO AssetTypeEnum_AssetType = 2 - // Media bundle asset. - AssetTypeEnum_MEDIA_BUNDLE AssetTypeEnum_AssetType = 3 - // Image asset. - AssetTypeEnum_IMAGE AssetTypeEnum_AssetType = 4 - // Text asset. - AssetTypeEnum_TEXT AssetTypeEnum_AssetType = 5 -) - -var AssetTypeEnum_AssetType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "YOUTUBE_VIDEO", - 3: "MEDIA_BUNDLE", - 4: "IMAGE", - 5: "TEXT", -} - -var AssetTypeEnum_AssetType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "YOUTUBE_VIDEO": 2, - "MEDIA_BUNDLE": 3, - "IMAGE": 4, - "TEXT": 5, -} - -func (x AssetTypeEnum_AssetType) String() string { - return proto.EnumName(AssetTypeEnum_AssetType_name, int32(x)) -} - -func (AssetTypeEnum_AssetType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cca0d7033f0d8924, []int{0, 0} -} - -// Container for enum describing the types of asset. -type AssetTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AssetTypeEnum) Reset() { *m = AssetTypeEnum{} } -func (m *AssetTypeEnum) String() string { return proto.CompactTextString(m) } -func (*AssetTypeEnum) ProtoMessage() {} -func (*AssetTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_cca0d7033f0d8924, []int{0} -} - -func (m *AssetTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AssetTypeEnum.Unmarshal(m, b) -} -func (m *AssetTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AssetTypeEnum.Marshal(b, m, deterministic) -} -func (m *AssetTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AssetTypeEnum.Merge(m, src) -} -func (m *AssetTypeEnum) XXX_Size() int { - return xxx_messageInfo_AssetTypeEnum.Size(m) -} -func (m *AssetTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_AssetTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_AssetTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.AssetTypeEnum_AssetType", AssetTypeEnum_AssetType_name, AssetTypeEnum_AssetType_value) - proto.RegisterType((*AssetTypeEnum)(nil), "google.ads.googleads.v2.enums.AssetTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/asset_type.proto", fileDescriptor_cca0d7033f0d8924) -} - -var fileDescriptor_cca0d7033f0d8924 = []byte{ - // 326 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x4f, 0x4e, 0xf3, 0x30, - 0x14, 0xc4, 0xbf, 0xa6, 0xed, 0x07, 0x75, 0x29, 0x18, 0x2f, 0x11, 0x5d, 0xb4, 0x07, 0x70, 0xa4, - 0xb0, 0x33, 0x2b, 0x87, 0x98, 0x2a, 0x82, 0xa6, 0x95, 0x48, 0xc2, 0x1f, 0x45, 0xaa, 0x42, 0x13, - 0x45, 0x95, 0x5a, 0x3b, 0xaa, 0xdd, 0x4a, 0xbd, 0x0e, 0x4b, 0x8e, 0xc2, 0x35, 0xd8, 0x71, 0x0a, - 0x14, 0x9b, 0x64, 0x07,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xfa, 0x27, 0x75, 0x55, 0xe5, 0x4a, 0xfe, - 0xd2, 0xdc, 0xb5, 0x7e, 0xdf, 0xac, 0xf6, 0x84, 0xd2, 0x77, 0x6b, 0x38, 0x31, 0x56, 0x34, 0x93, - 0xd8, 0xc8, 0x4a, 0xc5, 0x0e, 0xae, 0x5a, 0x90, 0x1f, 0xf5, 0x3e, 0xa1, 0x99, 0x4c, 0x9a, 0x7d, - 0x12, 0x3b, 0x89, 0xde, 0x7f, 0x59, 0x23, 0x33, 0x24, 0x84, 0x66, 0x92, 0x90, 0x86, 0x20, 0x24, - 0x76, 0x08, 0xd1, 0xcc, 0xeb, 0x7f, 0x1d, 0xec, 0xea, 0x3b, 0x00, 0x00, 0xff, 0xff, 0xd4, 0xe8, - 0x26, 0xd1, 0xd1, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/attribution_model.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/attribution_model.pb.go deleted file mode 100644 index e6085320..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/attribution_model.pb.go +++ /dev/null @@ -1,159 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/attribution_model.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_988ea9ae479b7302, []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_988ea9ae479b7302, []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 (m *AttributionModelEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttributionModelEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.AttributionModelEnum_AttributionModel", AttributionModelEnum_AttributionModel_name, AttributionModelEnum_AttributionModel_value) - proto.RegisterType((*AttributionModelEnum)(nil), "google.ads.googleads.v2.enums.AttributionModelEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/attribution_model.proto", fileDescriptor_988ea9ae479b7302) -} - -var fileDescriptor_988ea9ae479b7302 = []byte{ - // 407 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xdd, 0x6a, 0xd4, 0x40, - 0x1c, 0xc5, 0xdd, 0x08, 0x2a, 0x53, 0xc1, 0x61, 0xb0, 0x17, 0x8a, 0x05, 0x5b, 0x2a, 0x54, 0x90, - 0x09, 0x44, 0xbc, 0x19, 0xaf, 0xfe, 0x49, 0xa6, 0xeb, 0xd0, 0x74, 0xb2, 0x24, 0xd9, 0xf5, 0x83, - 0x85, 0x21, 0x35, 0x31, 0x46, 0x36, 0x99, 0x65, 0x27, 0xdb, 0x07, 0xf2, 0x52, 0xf0, 0x35, 0xbc, - 0xf0, 0x51, 0xfa, 0x14, 0x92, 0xa4, 0x1b, 0xa1, 0x90, 0xbd, 0x09, 0x87, 0x9c, 0xdf, 0x39, 0x0c, - 0x73, 0x06, 0xbd, 0x2b, 0xb4, 0x2e, 0x56, 0xb9, 0x9d, 0x66, 0xc6, 0xee, 0x65, 0xab, 0xae, 0x1d, - 0x3b, 0xaf, 0xb7, 0x95, 0xb1, 0xd3, 0xa6, 0xd9, 0x94, 0x57, 0xdb, 0xa6, 0xd4, 0xb5, 0xaa, 0x74, - 0x96, 0xaf, 0xe8, 0x7a, 0xa3, 0x1b, 0x4d, 0x8e, 0x7a, 0x96, 0xa6, 0x99, 0xa1, 0x43, 0x8c, 0x5e, - 0x3b, 0xb4, 0x8b, 0x3d, 0x7f, 0xb1, 0x6b, 0x5d, 0x97, 0x76, 0x5a, 0xd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 0xb0, 0x8b, 0xbc, 0xee, 0x36, 0xda, 0xbd, 0x85, 0x75, 0x69, 0x46, 0x9e, 0xc6, - 0xfb, 0xee, 0xfb, 0xd3, 0xba, 0x3f, 0x05, 0xf8, 0x65, 0x1d, 0x4d, 0xfb, 0x2a, 0xc8, 0x0c, 0xed, - 0x65, 0xab, 0x16, 0x0e, 0x6d, 0x77, 0x35, 0x7f, 0x77, 0xfe, 0x12, 0x32, 0xb3, 0x1c, 0xfc, 0xe5, - 0xc2, 0x59, 0x76, 0xfe, 0x8d, 0x75, 0xdc, 0xff, 0x64, 0x0c, 0x32, 0xc3, 0xd8, 0x40, 0x30, 0xb6, - 0x70, 0x18, 0xeb, 0x98, 0xab, 0x07, 0xdd, 0xc1, 0xde, 0xfe, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x4d, - 0xfc, 0xa1, 0xb7, 0xb2, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/bid_modifier_source.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/bid_modifier_source.pb.go deleted file mode 100644 index c06b952b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/bid_modifier_source.pb.go +++ /dev/null @@ -1,125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/bid_modifier_source.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_93ffe131b49c1099, []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_93ffe131b49c1099, []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 (m *BidModifierSourceEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_BidModifierSourceEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.BidModifierSourceEnum_BidModifierSource", BidModifierSourceEnum_BidModifierSource_name, BidModifierSourceEnum_BidModifierSource_value) - proto.RegisterType((*BidModifierSourceEnum)(nil), "google.ads.googleads.v2.enums.BidModifierSourceEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/bid_modifier_source.proto", fileDescriptor_93ffe131b49c1099) -} - -var fileDescriptor_93ffe131b49c1099 = []byte{ - // 309 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdf, 0x4a, 0xf3, 0x30, - 0x1c, 0xfd, 0xd6, 0xc1, 0xa7, 0x64, 0x82, 0xb5, 0xa0, 0x17, 0xe2, 0x2e, 0xb6, 0x07, 0x48, 0xa0, - 0x5e, 0x08, 0xf1, 0x2a, 0xdd, 0x66, 0x19, 0xb2, 0xae, 0x38, 0x56, 0x41, 0x0a, 0xa5, 0x5b, 0xba, - 0x10, 0x58, 0x93, 0xd2, 0xb4, 0x7b, 0x20, 0x2f, 0x7d, 0x14, 0x1f, 0x45, 0x5f, 0x42, 0x9a, 0xac, - 0xbd, 0x19, 0x7a, 0x13, 0x4e, 0x72, 0xfe, 0xe4, 0xfc, 0x7e, 0xe0, 0x81, 0x49, 0xc9, 0xf6, 0x19, - 0x4a, 0xa9, 0x42, 0x06, 0x36, 0xe8, 0xe0, 0xa2, 0x4c, 0xd4, 0xb9, 0x42, 0x1b, 0x4e, 0x93, 0x5c, - 0x52, 0xbe, 0xe3, 0x59, 0x99,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, 0x3b, 0x05, 0xc6, 0x91, 0x8b, - 0xb1, 0xd6, 0x6c, 0xfe, 0xeb, 0x62, 0xf7, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x55, 0x2e, 0x2f, - 0x11, 0xd4, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/bidding_source.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/bidding_source.pb.go deleted file mode 100644 index aec3a465..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/bidding_source.pb.go +++ /dev/null @@ -1,131 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/bidding_source.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Indicates where a bid or target is defined. For example, an ad group -// criterion may define a cpc bid directly, or it can inherit its cpc bid from -// the ad group. -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 - // Effective bid or target is inherited from campaign bidding strategy. - BiddingSourceEnum_CAMPAIGN_BIDDING_STRATEGY BiddingSourceEnum_BiddingSource = 5 - // The bid or target is defined on the ad group. - BiddingSourceEnum_AD_GROUP BiddingSourceEnum_BiddingSource = 6 - // The bid or target is defined on the ad group criterion. - BiddingSourceEnum_AD_GROUP_CRITERION BiddingSourceEnum_BiddingSource = 7 -) - -var BiddingSourceEnum_BiddingSource_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 5: "CAMPAIGN_BIDDING_STRATEGY", - 6: "AD_GROUP", - 7: "AD_GROUP_CRITERION", -} - -var BiddingSourceEnum_BiddingSource_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "CAMPAIGN_BIDDING_STRATEGY": 5, - "AD_GROUP": 6, - "AD_GROUP_CRITERION": 7, -} - -func (x BiddingSourceEnum_BiddingSource) String() string { - return proto.EnumName(BiddingSourceEnum_BiddingSource_name, int32(x)) -} - -func (BiddingSourceEnum_BiddingSource) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_3ad60f532426ce39, []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_3ad60f532426ce39, []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 (m *BiddingSourceEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_BiddingSourceEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.BiddingSourceEnum_BiddingSource", BiddingSourceEnum_BiddingSource_name, BiddingSourceEnum_BiddingSource_value) - proto.RegisterType((*BiddingSourceEnum)(nil), "google.ads.googleads.v2.enums.BiddingSourceEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/bidding_source.proto", fileDescriptor_3ad60f532426ce39) -} - -var fileDescriptor_3ad60f532426ce39 = []byte{ - // 334 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdd, 0x4a, 0xc3, 0x30, - 0x18, 0xb5, 0x13, 0x37, 0xc9, 0x14, 0x6b, 0x2e, 0x04, 0xc5, 0x5d, 0x6c, 0x0f, 0x90, 0x42, 0xbd, - 0x8b, 0x57, 0xe9, 0x5a, 0x4b, 0x11, 0xb3, 0xd2, 0xfd, 0x88, 0x52, 0x28, 0xdd, 0x52, 0x42, 0x61, - 0x4b, 0x46, 0xb3, 0xed, 0x15, 0x7c, 0x0f, 0x2f, 0x7d, 0x14, 0x5f, 0x44, 0xf0, 0x29, 0xa4, 0x89, - 0x1d, 0xec, 0x42, 0x6f, 0xc2, 0xc9, 0xf7, 0x9d, 0x73, 0xf8, 0xce, 0x01, 0x2e, 0x97, 0x92, 0x2f, - 0x0b, 0x27, 0x67, 0xca, 0x31, 0xb0, 0x46, 0x3b, 0xd7, 0x29, 0xc4, 0x76, 0xa5, 0x9c, 0x79, 0xc9, - 0x58, 0x29, 0x78, 0xa6, 0xe4, 0xb6, 0x5a, 0x14, 0x68, 0x5d, 0xc9, 0x8d, 0x84, 0x3d, 0x43, 0x44, - 0x39, 0x53, 0x68, 0xaf, 0x41, 0x3b, 0x17, 0x69, 0xcd, 0xcd, 0x6d, 0x63, 0xb9, 0x2e, 0x9d, 0x5c, - 0x08, 0xb9, 0xc9, 0x37, 0xa5, 0x14, 0xca, 0x88, 0x07, 0x6f, 0x16, 0xb8, 0xf4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x04, 0x00, 0x00, 0xff, 0xff, 0xad, 0xb9, 0xed, 0x9a, 0xed, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/bidding_strategy_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/bidding_strategy_status.pb.go deleted file mode 100644 index 734eb429..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/bidding_strategy_status.pb.go +++ /dev/null @@ -1,126 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/bidding_strategy_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The possible statuses of a BiddingStrategy. -type BiddingStrategyStatusEnum_BiddingStrategyStatus int32 - -const ( - // No value has been specified. - BiddingStrategyStatusEnum_UNSPECIFIED BiddingStrategyStatusEnum_BiddingStrategyStatus = 0 - // The received value is not known in this version. - // - // This is a response-only value. - BiddingStrategyStatusEnum_UNKNOWN BiddingStrategyStatusEnum_BiddingStrategyStatus = 1 - // The bidding strategy is enabled. - BiddingStrategyStatusEnum_ENABLED BiddingStrategyStatusEnum_BiddingStrategyStatus = 2 - // The bidding strategy is removed. - BiddingStrategyStatusEnum_REMOVED BiddingStrategyStatusEnum_BiddingStrategyStatus = 4 -) - -var BiddingStrategyStatusEnum_BiddingStrategyStatus_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "ENABLED", - 4: "REMOVED", -} - -var BiddingStrategyStatusEnum_BiddingStrategyStatus_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "ENABLED": 2, - "REMOVED": 4, -} - -func (x BiddingStrategyStatusEnum_BiddingStrategyStatus) String() string { - return proto.EnumName(BiddingStrategyStatusEnum_BiddingStrategyStatus_name, int32(x)) -} - -func (BiddingStrategyStatusEnum_BiddingStrategyStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a289f711e8fbc6be, []int{0, 0} -} - -// Message describing BiddingStrategy statuses. -type BiddingStrategyStatusEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BiddingStrategyStatusEnum) Reset() { *m = BiddingStrategyStatusEnum{} } -func (m *BiddingStrategyStatusEnum) String() string { return proto.CompactTextString(m) } -func (*BiddingStrategyStatusEnum) ProtoMessage() {} -func (*BiddingStrategyStatusEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_a289f711e8fbc6be, []int{0} -} - -func (m *BiddingStrategyStatusEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BiddingStrategyStatusEnum.Unmarshal(m, b) -} -func (m *BiddingStrategyStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BiddingStrategyStatusEnum.Marshal(b, m, deterministic) -} -func (m *BiddingStrategyStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_BiddingStrategyStatusEnum.Merge(m, src) -} -func (m *BiddingStrategyStatusEnum) XXX_Size() int { - return xxx_messageInfo_BiddingStrategyStatusEnum.Size(m) -} -func (m *BiddingStrategyStatusEnum) XXX_DiscardUnknown() { - xxx_messageInfo_BiddingStrategyStatusEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_BiddingStrategyStatusEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.BiddingStrategyStatusEnum_BiddingStrategyStatus", BiddingStrategyStatusEnum_BiddingStrategyStatus_name, BiddingStrategyStatusEnum_BiddingStrategyStatus_value) - proto.RegisterType((*BiddingStrategyStatusEnum)(nil), "google.ads.googleads.v2.enums.BiddingStrategyStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/bidding_strategy_status.proto", fileDescriptor_a289f711e8fbc6be) -} - -var fileDescriptor_a289f711e8fbc6be = []byte{ - // 307 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xd1, 0x4a, 0xc3, 0x30, - 0x14, 0x75, 0x55, 0x14, 0xb2, 0x07, 0xcb, 0xc0, 0x07, 0x87, 0x7b, 0xd8, 0x3e, 0x20, 0x81, 0xfa, - 0x96, 0x3d, 0xa5, 0x2e, 0x8e, 0xa1, 0x76, 0xc3, 0xb1, 0x0a, 0x52, 0x18, 0x99, 0x29, 0xa1, 0xb0, - 0x25, 0xa3, 0x49, 0x07, 0xfe, 0x8e, 0x8f, 0x7e, 0x8a, 0x9f, 0xe2, 0x8b, 0xbf, 0x20, 0x49, 0xda, - 0x3e, 0x4d, 0x5f, 0xc2, 0xb9, 0x39, 0xf7, 0x9c, 0x7b, 0xee, 0x05, 0x63, 0xa1, 0x94, 0xd8, 0xe6, - 0x88, 0x71, 0x8d, 0x3c, 0xb4, 0xe8, 0x10, 0xa1, 0x5c, 0x56, 0x3b, 0x8d, 0x36, 0x05, 0xe7, 0x85, - 0x14, 0x6b, 0x6d, 0x4a, 0x66, 0x72, 0xf1, 0xbe, 0xd6, 0x86, 0x99, 0x4a, 0xc3, 0x7d, 0xa9, 0x8c, - 0xea, 0x0d, 0xbc, 0x02, 0x32, 0xae, 0x61, 0x2b, 0x86, 0x87, 0x08, 0x3a, 0x71, 0xff, 0xa6, 0xf1, - 0xde, 0x17, 0x88, 0x49, 0xa9, 0x0c, 0x33, 0x85, 0x92, 0xb5, 0x78, 0xb4, 0x05, 0xd7, 0xb1, 0x77, - 0x5f, 0xd6, 0xe6, 0x4b, 0xe7, 0x4d, 0x65, 0xb5, 0x1b, 0xcd, 0xc1, 0xd5, 0x51, 0xb2, 0x77, 0x09, - 0xba, 0xab, 0x64, 0xb9, 0xa0, 0x77, 0xb3, 0xfb, 0x19, 0x9d, 0x84, 0x27, 0xbd, 0x2e, 0xb8, 0x58, - 0x25, 0x0f, 0xc9, 0xfc, 0x25, 0x09, 0x3b, 0xb6, 0xa0, 0x09, 0x89, 0x1f, 0xe9, 0x24, 0x0c, 0x6c, - 0xf1, 0x4c, 0x9f, 0xe6, 0x29, 0x9d, 0x84, 0x67, 0xf1, 0x4f, 0x07, 0x0c, 0xdf, 0xd4, 0x0e, 0xfe, - 0x9b, 0x38, 0xee, 0x1f, 0x1d, 0xba, 0xb0, 0x79, 0x17, 0x9d, 0xd7, 0xb8, 0x16, 0x0b, 0xb5, 0x65, - 0x52, 0x40, 0x55, 0x0a, 0x24, 0x72, 0xe9, 0xb6, 0x69, 0x6e, 0xb7, 0x2f, 0xf4, 0x1f, 0xa7, 0x1c, - 0xbb, 0xf7, 0x23, 0x38, 0x9d, 0x12, 0xf2, 0x19, 0x0c, 0xa6, 0xde, 0x8a, 0x70, 0x0d, 0x3d, 0xb4, - 0x28, 0x8d, 0xa0, 0xdd, 0x5e, 0x7f, 0x35, 0x7c, 0x46, 0xb8, 0xce, 0x5a, 0x3e, 0x4b, 0xa3, 0xcc, - 0xf1, 0xdf, 0xc1, 0xd0, 0x7f, 0x62, 0x4c, 0xb8, 0xc6, 0xb8, 0xed, 0xc0, 0x38, 0x8d, 0x30, 0x76, - 0x3d, 0x9b, 0x73, 0x17, 0xec, 0xf6, 0x37, 0x00, 0x00, 0xff, 0xff, 0x15, 0x2b, 0xc8, 0x08, 0xe2, - 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/bidding_strategy_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/bidding_strategy_type.pb.go deleted file mode 100644 index 3e95dbb1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/bidding_strategy_type.pb.go +++ /dev/null @@ -1,207 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/bidding_strategy_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // Commission is an automatic bidding strategy in which the advertiser pays - // a certain portion of the conversion value. - BiddingStrategyTypeEnum_COMMISSION BiddingStrategyTypeEnum_BiddingStrategyType = 16 - // 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. - // This enum value is deprecated. - 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 CPM is an automated bid strategy that sets bids to help get - // as many impressions as possible at the target cost per one thousand - // impressions (CPM) you set. - BiddingStrategyTypeEnum_TARGET_CPM BiddingStrategyTypeEnum_BiddingStrategyType = 14 - // An automated bidding strategy that sets bids so that a certain percentage - // of search ads are shown at the top of the first page (or other targeted - // location). - BiddingStrategyTypeEnum_TARGET_IMPRESSION_SHARE BiddingStrategyTypeEnum_BiddingStrategyType = 15 - // 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. - // This enum value is deprecated. - 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", - 16: "COMMISSION", - 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", - 14: "TARGET_CPM", - 15: "TARGET_IMPRESSION_SHARE", - 7: "TARGET_OUTRANK_SHARE", - 8: "TARGET_ROAS", - 9: "TARGET_SPEND", -} - -var BiddingStrategyTypeEnum_BiddingStrategyType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "COMMISSION": 16, - "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_CPM": 14, - "TARGET_IMPRESSION_SHARE": 15, - "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_39550eb3746deb7d, []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_39550eb3746deb7d, []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 (m *BiddingStrategyTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_BiddingStrategyTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.BiddingStrategyTypeEnum_BiddingStrategyType", BiddingStrategyTypeEnum_BiddingStrategyType_name, BiddingStrategyTypeEnum_BiddingStrategyType_value) - proto.RegisterType((*BiddingStrategyTypeEnum)(nil), "google.ads.googleads.v2.enums.BiddingStrategyTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/bidding_strategy_type.proto", fileDescriptor_39550eb3746deb7d) -} - -var fileDescriptor_39550eb3746deb7d = []byte{ - // 467 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xdd, 0x6e, 0xd3, 0x30, - 0x14, 0xc7, 0x69, 0x06, 0x1b, 0xb8, 0x63, 0x33, 0x01, 0xb4, 0xf1, 0xd1, 0x8b, 0xed, 0x01, 0x1c, - 0xa9, 0x5c, 0x11, 0xae, 0xdc, 0xd4, 0x74, 0xd1, 0xe6, 0x0f, 0xe5, 0x0b, 0x34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0x73, 0x85, 0xba, 0x50, 0x47, 0xc9, 0x18, 0xe9, - 0x6d, 0x50, 0x3f, 0xd7, 0x7c, 0x8e, 0x73, 0x35, 0xdf, 0xf0, 0x79, 0x32, 0x9e, 0x1b, 0xfe, 0xdb, - 0x3a, 0xeb, 0x0e, 0x5d, 0x17, 0xe7, 0xca, 0x75, 0x37, 0x19, 0xae, 0x9b, 0x8c, 0x5d, 0xd7, 0xe4, - 0xdc, 0xec, 0x9b, 0xc6, 0x3e, 0xfc, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x25, 0x30, 0x46, 0xd8, 0xef, - 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/billing_setup_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/billing_setup_status.pb.go deleted file mode 100644 index 00d107ec..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/billing_setup_status.pb.go +++ /dev/null @@ -1,135 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/billing_setup_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_5303e8c42bdf5be6, []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_5303e8c42bdf5be6, []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 (m *BillingSetupStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_BillingSetupStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.BillingSetupStatusEnum_BillingSetupStatus", BillingSetupStatusEnum_BillingSetupStatus_name, BillingSetupStatusEnum_BillingSetupStatus_value) - proto.RegisterType((*BillingSetupStatusEnum)(nil), "google.ads.googleads.v2.enums.BillingSetupStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/billing_setup_status.proto", fileDescriptor_5303e8c42bdf5be6) -} - -var fileDescriptor_5303e8c42bdf5be6 = []byte{ - // 335 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdf, 0x4a, 0xfb, 0x30, - 0x18, 0xfd, 0xb5, 0xfb, 0xf9, 0x2f, 0x73, 0x58, 0x73, 0xa1, 0x20, 0xee, 0x62, 0x7b, 0x80, 0x14, - 0xea, 0x8d, 0xc4, 0xab, 0x74, 0x8d, 0x73, 0x38, 0xb2, 0xe2, 0x58, 0x05, 0x29, 0x8c, 0xce, 0x96, - 0x50, 0xe8, 0x92, 0xb2, 0xb4, 0x7b, 0x07, 0x5f, 0xc3, 0x4b, 0x1f, 0xc5, 0x47, 0x11, 0x1f, 0x42, - 0x9a, 0xae, 0xbd, 0x19, 0x7a, 0x13, 0x4e, 0xbe, 0xf3, 0x9d, 0xc3, 0x77, 0x0e, 0xb8, 0xe5, 0x52, - 0xf2, 0x2c, 0xb1, 0xa3, 0x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, 0x4e, 0xbf, 0xef, 0x66, 0x67, 0x4c, - 0xc8, 0x87, 0xd9, 0x1f, 0xd7, 0x56, 0x24, 0x56, 0xa8, 0x86, 0x15, 0x0a, 0x1c, 0x54, 0x55, 0xa3, - 0x3e, 0x1b, 0x3e, 0x24, 0xb1, 0x0a, 0x5b, 0x3e, 0x0c, 0x9c, 0x50, 0xf3, 0x5f, 0xe6, 0xa0, 0x1e, - 0x62, 0x4c, 0x62, 0x85, 0x71, 0xbb, 0x81, 0x71, 0xe0, 0x60, 0xac, 0x77, 0x56, 0x87, 0xfa, 0xb0, - 0x9b, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xad, 0xbb, 0x08, 0x1d, 0xfa, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/brand_safety_suitability.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/brand_safety_suitability.pb.go deleted file mode 100644 index acb5631e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/brand_safety_suitability.pb.go +++ /dev/null @@ -1,150 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/brand_safety_suitability.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// 3-Tier brand safety suitability control. -type BrandSafetySuitabilityEnum_BrandSafetySuitability int32 - -const ( - // Not specified. - BrandSafetySuitabilityEnum_UNSPECIFIED BrandSafetySuitabilityEnum_BrandSafetySuitability = 0 - // Used for return value only. Represents value unknown in this version. - BrandSafetySuitabilityEnum_UNKNOWN BrandSafetySuitabilityEnum_BrandSafetySuitability = 1 - // This option lets you show ads across all inventory on YouTube and video - // partners that meet our standards for monetization. This option may be an - // appropriate choice for brands that want maximum access to the full - // breadth of videos eligible for ads, including, for example, videos that - // have strong profanity in the context of comedy or a documentary, or - // excessive violence as featured in video games. - BrandSafetySuitabilityEnum_EXPANDED_INVENTORY BrandSafetySuitabilityEnum_BrandSafetySuitability = 2 - // This option lets you show ads across a wide range of content that's - // appropriate for most brands, such as popular music videos, documentaries, - // and movie trailers. The content you can show ads on is based on YouTube's - // advertiser-friendly content guidelines that take into account, for - // example, the strength or frequency of profanity, or the appropriateness - // of subject matter like sensitive events. Ads won't show, for example, on - // content with repeated strong profanity, strong sexual content, or graphic - // violence. - BrandSafetySuitabilityEnum_STANDARD_INVENTORY BrandSafetySuitabilityEnum_BrandSafetySuitability = 3 - // This option lets you show ads on a reduced range of content that's - // appropriate for brands with particularly strict guidelines around - // inappropriate language and sexual suggestiveness; above and beyond what - // YouTube's advertiser-friendly content guidelines address. The videos - // accessible in this sensitive category meet heightened requirements, - // especially for inappropriate language and sexual suggestiveness. For - // example, your ads will be excluded from showing on some of YouTube's most - // popular music videos and other pop culture content across YouTube and - // Google video partners. - BrandSafetySuitabilityEnum_LIMITED_INVENTORY BrandSafetySuitabilityEnum_BrandSafetySuitability = 4 -) - -var BrandSafetySuitabilityEnum_BrandSafetySuitability_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "EXPANDED_INVENTORY", - 3: "STANDARD_INVENTORY", - 4: "LIMITED_INVENTORY", -} - -var BrandSafetySuitabilityEnum_BrandSafetySuitability_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "EXPANDED_INVENTORY": 2, - "STANDARD_INVENTORY": 3, - "LIMITED_INVENTORY": 4, -} - -func (x BrandSafetySuitabilityEnum_BrandSafetySuitability) String() string { - return proto.EnumName(BrandSafetySuitabilityEnum_BrandSafetySuitability_name, int32(x)) -} - -func (BrandSafetySuitabilityEnum_BrandSafetySuitability) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_515ac05fcc88b8e9, []int{0, 0} -} - -// Container for enum with 3-Tier brand safety suitability control. -type BrandSafetySuitabilityEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BrandSafetySuitabilityEnum) Reset() { *m = BrandSafetySuitabilityEnum{} } -func (m *BrandSafetySuitabilityEnum) String() string { return proto.CompactTextString(m) } -func (*BrandSafetySuitabilityEnum) ProtoMessage() {} -func (*BrandSafetySuitabilityEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_515ac05fcc88b8e9, []int{0} -} - -func (m *BrandSafetySuitabilityEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BrandSafetySuitabilityEnum.Unmarshal(m, b) -} -func (m *BrandSafetySuitabilityEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BrandSafetySuitabilityEnum.Marshal(b, m, deterministic) -} -func (m *BrandSafetySuitabilityEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_BrandSafetySuitabilityEnum.Merge(m, src) -} -func (m *BrandSafetySuitabilityEnum) XXX_Size() int { - return xxx_messageInfo_BrandSafetySuitabilityEnum.Size(m) -} -func (m *BrandSafetySuitabilityEnum) XXX_DiscardUnknown() { - xxx_messageInfo_BrandSafetySuitabilityEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_BrandSafetySuitabilityEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.BrandSafetySuitabilityEnum_BrandSafetySuitability", BrandSafetySuitabilityEnum_BrandSafetySuitability_name, BrandSafetySuitabilityEnum_BrandSafetySuitability_value) - proto.RegisterType((*BrandSafetySuitabilityEnum)(nil), "google.ads.googleads.v2.enums.BrandSafetySuitabilityEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/brand_safety_suitability.proto", fileDescriptor_515ac05fcc88b8e9) -} - -var fileDescriptor_515ac05fcc88b8e9 = []byte{ - // 339 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x4d, 0x4b, 0xfb, 0x30, - 0x1c, 0xfe, 0xb7, 0xfb, 0xa3, 0x90, 0x1d, 0x9c, 0x05, 0x77, 0x98, 0xee, 0xb0, 0x7d, 0x80, 0x14, - 0xea, 0x2d, 0x7a, 0x49, 0x6d, 0x1d, 0x45, 0xcd, 0xca, 0xba, 0xd5, 0x17, 0x0a, 0x23, 0xb3, 0xb5, - 0x14, 0xb6, 0x64, 0x2c, 0xdd, 0x60, 0x07, 0x3f, 0x89, 0x37, 0x8f, 0x7e, 0x14, 0x3f, 0x8a, 0x27, - 0x3f, 0x82, 0x24, 0x71, 0x55, 0x61, 0x7a, 0x09, 0x0f, 0xbf, 0xe7, 0x85, 0x3c, 0x0f, 0x38, 0xcd, - 0x39, 0xcf, 0xa7, 0x99, 0x4d, 0x53, 0x61, 0x6b, 0x28, 0xd1, 0xca, 0xb1, 0x33, 0xb6, 0x9c, 0x09, - 0x7b, 0xb2, 0xa0, 0x2c, 0x1d, 0x0b, 0xfa, 0x90, 0x95, 0xeb, 0xb1, 0x58, 0x16, 0x25, 0x9d, 0x14, - 0xd3, 0xa2, 0x5c, 0xc3, 0xf9, 0x82, 0x97, 0xdc, 0x6a, 0x6b, 0x0b, 0xa4, 0xa9, 0x80, 0x95, 0x1b, - 0xae, 0x1c, 0xa8, 0xdc, 0xad, 0xa3, 0x4d, 0xf8, 0xbc, 0xb0, 0x29, 0x63, 0xbc, 0xa4, 0x65, 0xc1, - 0x99, 0xd0, 0xe6, 0xee, 0x93, 0x01, 0x5a, 0xae, 0xcc, 0x8f, 0x54, 0x7c, 0xf4, 0x95, 0xee, 0xb3, - 0xe5, 0xac, 0xfb, 0x08, 0x9a, 0xdb, 0x59, 0x6b, 0x0f, 0xd4, 0x47, 0x24, 0x0a, 0xfd, 0xb3, 0xe0, - 0x3c, 0xf0, 0xbd, 0xc6, 0x3f, 0xab, 0x0e, 0x76, 0x47, 0xe4, 0x82, 0xf4, 0xaf, 0x49, 0xc3, 0xb0, - 0x9a, 0xc0, 0xf2, 0x6f, 0x42, 0x4c, 0x3c, 0xdf, 0x1b, 0x07, 0x24, 0xf6, 0xc9, 0xb0, 0x3f, 0xb8, - 0x6d, 0x98, 0xf2, 0x1e, 0x0d, 0x31, 0xf1, 0xf0, 0xe0, 0xfb, 0xbd, 0x66, 0x1d, 0x80, 0xfd, 0xcb, - 0xe0, 0x2a, 0x18, 0xfe, 0x90, 0xff, 0x77, 0xdf, 0x0d, 0xd0, 0xb9, 0xe7, 0x33, 0xf8, 0x67, 0x43, - 0xf7, 0x70, 0xfb, 0x17, 0x43, 0x59, 0x30, 0x34, 0xee, 0xdc, 0x4f, 0x77, 0xce, 0xa7, 0x94, 0xe5, - 0x90, 0x2f, 0x72, 0x3b, 0xcf, 0x98, 0xaa, 0xbf, 0x59, 0x7b, 0x5e, 0x88, 0x5f, 0xc6, 0x3f, 0x51, - 0xef, 0xb3, 0x59, 0xeb, 0x61, 0xfc, 0x62, 0xb6, 0x7b, 0x3a, 0x0a, 0xa7, 0x02, 0x6a, 0x28, 0x51, - 0xec, 0x40, 0x39, 0x96, 0x78, 0xdd, 0xf0, 0x09, 0x4e, 0x45, 0x52, 0xf1, 0x49, 0xec, 0x24, 0x8a, - 0x7f, 0x33, 0x3b, 0xfa, 0x88, 0x10, 0x4e, 0x05, 0x42, 0x95, 0x02, 0xa1, 0xd8, 0x41, 0x48, 0x69, - 0x26, 0x3b, 0xea, 0x63, 0xc7, 0x1f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xe9, 0x67, 0xce, 0x10, 0x14, - 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/budget_delivery_method.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/budget_delivery_method.pb.go deleted file mode 100644 index 9d2d373f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/budget_delivery_method.pb.go +++ /dev/null @@ -1,127 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/budget_delivery_method.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_d420f66f9af6cb7e, []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_d420f66f9af6cb7e, []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 (m *BudgetDeliveryMethodEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_BudgetDeliveryMethodEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.BudgetDeliveryMethodEnum_BudgetDeliveryMethod", BudgetDeliveryMethodEnum_BudgetDeliveryMethod_name, BudgetDeliveryMethodEnum_BudgetDeliveryMethod_value) - proto.RegisterType((*BudgetDeliveryMethodEnum)(nil), "google.ads.googleads.v2.enums.BudgetDeliveryMethodEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/budget_delivery_method.proto", fileDescriptor_d420f66f9af6cb7e) -} - -var fileDescriptor_d420f66f9af6cb7e = []byte{ - // 313 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x4a, 0xfb, 0x30, - 0x00, 0xfe, 0xad, 0x83, 0x9f, 0x92, 0x09, 0x96, 0xe2, 0x41, 0xc5, 0x1d, 0xb6, 0x07, 0x48, 0xa0, - 0xde, 0xe2, 0x29, 0x5d, 0xe3, 0x18, 0x6a, 0x1d, 0xfb, 0x27, 0x48, 0x61, 0x74, 0x26, 0xc4, 0xc2, - 0x9a, 0x8c, 0xa6, 0x2d, 0xf8, 0x3a, 0x1e, 0x7d, 0x14, 0x1f, 0xc5, 0x83, 0xcf, 0x20, 0x4d, 0xd6, - 0x9e, 0xa6, 0x97, 0xf0, 0x91, 0xef, 0x4f, 0xbe, 0x7c, 0x00, 0x0b, 0xa5, 0xc4, 0x96, 0xa3, 0x84, - 0x69, 0x64, 0x61, 0x8d, 0x2a, 0x1f, 0x71, 0x59, 0x66, 0x1a, 0x6d, 0x4a, 0x26, 0x78, 0xb1, 0x66, - 0x7c, 0x9b, 0x56, 0x3c, 0x7f, 0x5b, 0x67, 0xbc, 0x78, 0x55, 0x0c, 0xee, 0x72, 0x55, 0x28, 0xaf, - 0x6f, 0x0d, 0x30, 0x61, 0x1a, 0xb6, 0x5e, 0x58, 0xf9, 0xd0, 0x78, 0x2f, 0xaf, 0x9a, 0xe8, 0x5d, - 0x8a, 0x12, 0x29, 0x55, 0x91, 0x14, 0xa9, 0x92, 0xda, 0x9a, 0x87, 0x0a, 0x9c, 0x07, 0x26, 0x3c, - 0xdc, 0x67, 0x3f, 0x98, 0x68, 0x2a, 0xcb, 0x6c, 0x38, 0x07, 0x67, 0x87, 0x38, 0xef, 0x14, 0xf4, - 0x96, 0xd1, 0x7c, 0x4a, 0x47, 0x93, 0xdb, 0x09, 0x0d, 0xdd, 0x7f, 0x5e, 0x0f, 0x1c, 0x2d, 0xa3, - 0xbb, 0xe8, 0xf1, 0x29, 0x72, 0x3b, 0xde, 0x09, 0x38, 0x9e, 0x2f, 0x48, 0x14, 0x92, 0x59, 0xe8, - 0x3a, 0xb5, 0x96, 0x8c, 0x46, 0xf4, 0x9e, 0xce, 0xc8, 0x82, 0x86, 0x6e, 0x37, 0xf8, 0xee, 0x80, - 0xc1, 0x8b, 0xca, 0xe0, 0x9f, 0xa5, 0x83, 0x8b, 0x43, 0x0f, 0x4f, 0xeb, 0xc6, 0xd3, 0xce, 0x73, - 0xb0, 0xf7, 0x0a, 0xb5, 0x4d, 0xa4, 0x80, 0x2a, 0x17, 0x48, 0x70, 0x69, 0xfe, 0xd3, 0x8c, 0xb7, - 0x4b, 0xf5, 0x2f, 0x5b, 0xde, 0x98, 0xf3, 0xdd, 0xe9, 0x8e, 0x09, 0xf9, 0x70, 0xfa, 0x63, 0x1b, - 0x45, 0x98, 0x86, 0x16, 0xd6, 0x68, 0xe5, 0xc3, 0x7a, 0x00, 0xfd, 0xd9, 0xf0, 0x31, 0x61, 0x3a, - 0x6e, 0xf9, 0x78, 0xe5, 0xc7, 0x86, 0xff, 0x72, 0x06, 0xf6, 0x12, 0x63, 0xc2, 0x34, 0xc6, 0xad, - 0x02, 0xe3, 0x95, 0x8f, 0xb1, 0xd1, 0x6c, 0xfe, 0x9b, 0x62, 0xd7, 0x3f, 0x01, 0x00, 0x00, 0xff, - 0xff, 0xbe, 0xa2, 0xd4, 0x96, 0xe3, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/budget_period.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/budget_period.pb.go deleted file mode 100644 index 6a0136c8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/budget_period.pb.go +++ /dev/null @@ -1,128 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/budget_period.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible period of a Budget. -type BudgetPeriodEnum_BudgetPeriod int32 - -const ( - // Not specified. - BudgetPeriodEnum_UNSPECIFIED BudgetPeriodEnum_BudgetPeriod = 0 - // Used for return value only. Represents value unknown in this version. - BudgetPeriodEnum_UNKNOWN BudgetPeriodEnum_BudgetPeriod = 1 - // Daily budget. - BudgetPeriodEnum_DAILY BudgetPeriodEnum_BudgetPeriod = 2 - // Custom budget. - BudgetPeriodEnum_CUSTOM BudgetPeriodEnum_BudgetPeriod = 3 - // Fixed daily budget. - BudgetPeriodEnum_FIXED_DAILY BudgetPeriodEnum_BudgetPeriod = 4 -) - -var BudgetPeriodEnum_BudgetPeriod_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "DAILY", - 3: "CUSTOM", - 4: "FIXED_DAILY", -} - -var BudgetPeriodEnum_BudgetPeriod_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "DAILY": 2, - "CUSTOM": 3, - "FIXED_DAILY": 4, -} - -func (x BudgetPeriodEnum_BudgetPeriod) String() string { - return proto.EnumName(BudgetPeriodEnum_BudgetPeriod_name, int32(x)) -} - -func (BudgetPeriodEnum_BudgetPeriod) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_5b320dc9bffbaac3, []int{0, 0} -} - -// Message describing Budget period. -type BudgetPeriodEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BudgetPeriodEnum) Reset() { *m = BudgetPeriodEnum{} } -func (m *BudgetPeriodEnum) String() string { return proto.CompactTextString(m) } -func (*BudgetPeriodEnum) ProtoMessage() {} -func (*BudgetPeriodEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_5b320dc9bffbaac3, []int{0} -} - -func (m *BudgetPeriodEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BudgetPeriodEnum.Unmarshal(m, b) -} -func (m *BudgetPeriodEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BudgetPeriodEnum.Marshal(b, m, deterministic) -} -func (m *BudgetPeriodEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_BudgetPeriodEnum.Merge(m, src) -} -func (m *BudgetPeriodEnum) XXX_Size() int { - return xxx_messageInfo_BudgetPeriodEnum.Size(m) -} -func (m *BudgetPeriodEnum) XXX_DiscardUnknown() { - xxx_messageInfo_BudgetPeriodEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_BudgetPeriodEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.BudgetPeriodEnum_BudgetPeriod", BudgetPeriodEnum_BudgetPeriod_name, BudgetPeriodEnum_BudgetPeriod_value) - proto.RegisterType((*BudgetPeriodEnum)(nil), "google.ads.googleads.v2.enums.BudgetPeriodEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/budget_period.proto", fileDescriptor_5b320dc9bffbaac3) -} - -var fileDescriptor_5b320dc9bffbaac3 = []byte{ - // 308 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdd, 0x4e, 0xb3, 0x30, - 0x18, 0xfe, 0xc6, 0x3e, 0x67, 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1e, 0x18, 0xbf, 0x88, 0x1c, - 0xfe, 0xd9, 0xd6, 0x39, 0x3f, 0xfc, 0x39, 0x68, 0x2a, 0x06, 0xbd, 0x67, 0xe7, 0xc7, 0xc3, 0xc4, - 0x2e, 0xe1, 0x0c, 0x8a, 0x92, 0x21, 0x96, 0x72, 0xb5, 0x40, 0x7b, 0xa4, 0x22, 0x93, 0xbf, 0xdc, - 0xec, 0x46, 0xbd, 0x6f, 0x46, 0x7f, 0x41, 0xc8, 0xbb, 0x31, 0x5a, 0xe8, 0x28, 0x42, 0x25, 0xd4, - 0xb0, 0x41, 0x91, 0x0d, 0x9b, 0xcd, 0xe5, 0x47, 0xcb, 0xc7, 0x84, 0xca, 0xb8, 0xe3, 0xe3, 0xc8, - 0x8e, 0x15, 0xff, 0x65, 0x8c, 0xf5, 0x10, 0x63, 0x42, 0x25, 0xc6, 0x9d, 0x02, 0xe3, 0xc8, 0xc6, - 0x58, 0x69, 0xb6, 0x03, 0x55, 0xec, 0xfa, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x0e, 0x77, 0x79, 0x53, - 0xcb, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/budget_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/budget_status.pb.go deleted file mode 100644 index 9ac36d90..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/budget_status.pb.go +++ /dev/null @@ -1,123 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/budget_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_1f54f072cd971115, []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_1f54f072cd971115, []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 (m *BudgetStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_BudgetStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.BudgetStatusEnum_BudgetStatus", BudgetStatusEnum_BudgetStatus_name, BudgetStatusEnum_BudgetStatus_value) - proto.RegisterType((*BudgetStatusEnum)(nil), "google.ads.googleads.v2.enums.BudgetStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/budget_status.proto", fileDescriptor_1f54f072cd971115) -} - -var fileDescriptor_1f54f072cd971115 = []byte{ - // 296 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x4f, 0x4b, 0xfb, 0x30, - 0x18, 0xfe, 0xad, 0x83, 0x9f, 0x90, 0x09, 0xd6, 0x1e, 0xc5, 0x1d, 0xb6, 0x0f, 0x90, 0x60, 0xbd, - 0xc5, 0x53, 0x6a, 0xb3, 0x31, 0xd4, 0xae, 0x38, 0x56, 0x61, 0x14, 0x24, 0x33, 0x25, 0x14, 0xd6, - 0xa4, 0x2c, 0xe9, 0x3e, 0x90, 0x47, 0x3f, 0x8a, 0x1f, 0xc4, 0x83, 0x9f, 0x42, 0x92, 0xae, 0x65, - 0x17, 0xbd, 0x94, 0xe7, 0x7d, 0x9f, 0x3f, 0x7d, 0xf2, 0x82, 0x1b, 0xa1, 0x94, 0xd8, 0x15, 0x88, - 0x71, 0x8d, 0x5a, 0x68, 0xd1, 0x21, 0x44, 0x85, 0x6c, 0x2a, 0x8d, 0xb6, 0x0d, 0x17, 0x85, 0x79, - 0xd5, 0x86, 0x99, 0x46, 0xc3, 0x7a, 0x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x00, 0xff, 0xff, - 0x66, 0x92, 0xf0, 0x7e, 0xbd, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/budget_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/budget_type.pb.go deleted file mode 100644 index d6d65fe6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/budget_type.pb.go +++ /dev/null @@ -1,142 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/budget_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible Budget types. -type BudgetTypeEnum_BudgetType int32 - -const ( - // Not specified. - BudgetTypeEnum_UNSPECIFIED BudgetTypeEnum_BudgetType = 0 - // Used for return value only. Represents value unknown in this version. - BudgetTypeEnum_UNKNOWN BudgetTypeEnum_BudgetType = 1 - // Budget type for standard Google Ads usage. - // Caps daily spend at two times the specified budget amount. - // Full details: https://support.google.com/google-ads/answer/6385083 - BudgetTypeEnum_STANDARD BudgetTypeEnum_BudgetType = 2 - // Budget type for Hotels Ads commission program. - // Full details: https://support.google.com/google-ads/answer/9243945 - // - // This type is only supported by campaigns with - // AdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION and - // PaymentMode.CONVERSION_VALUE. - BudgetTypeEnum_HOTEL_ADS_COMMISSION BudgetTypeEnum_BudgetType = 3 - // Budget type with a fixed cost-per-acquisition (conversion). - // Full details: https://support.google.com/google-ads/answer/7528254 - // - // This type is only supported by campaigns with - // AdvertisingChannelType.DISPLAY (excluding - // AdvertisingChannelSubType.DISPLAY_GMAIL), - // BiddingStrategyType.TARGET_CPA and PaymentMode.CONVERSIONS. - BudgetTypeEnum_FIXED_CPA BudgetTypeEnum_BudgetType = 4 -) - -var BudgetTypeEnum_BudgetType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "STANDARD", - 3: "HOTEL_ADS_COMMISSION", - 4: "FIXED_CPA", -} - -var BudgetTypeEnum_BudgetType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "STANDARD": 2, - "HOTEL_ADS_COMMISSION": 3, - "FIXED_CPA": 4, -} - -func (x BudgetTypeEnum_BudgetType) String() string { - return proto.EnumName(BudgetTypeEnum_BudgetType_name, int32(x)) -} - -func (BudgetTypeEnum_BudgetType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2630d247fc148570, []int{0, 0} -} - -// Describes Budget types. -type BudgetTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BudgetTypeEnum) Reset() { *m = BudgetTypeEnum{} } -func (m *BudgetTypeEnum) String() string { return proto.CompactTextString(m) } -func (*BudgetTypeEnum) ProtoMessage() {} -func (*BudgetTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_2630d247fc148570, []int{0} -} - -func (m *BudgetTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BudgetTypeEnum.Unmarshal(m, b) -} -func (m *BudgetTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BudgetTypeEnum.Marshal(b, m, deterministic) -} -func (m *BudgetTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_BudgetTypeEnum.Merge(m, src) -} -func (m *BudgetTypeEnum) XXX_Size() int { - return xxx_messageInfo_BudgetTypeEnum.Size(m) -} -func (m *BudgetTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_BudgetTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_BudgetTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.BudgetTypeEnum_BudgetType", BudgetTypeEnum_BudgetType_name, BudgetTypeEnum_BudgetType_value) - proto.RegisterType((*BudgetTypeEnum)(nil), "google.ads.googleads.v2.enums.BudgetTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/budget_type.proto", fileDescriptor_2630d247fc148570) -} - -var fileDescriptor_2630d247fc148570 = []byte{ - // 325 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdd, 0x4e, 0xfa, 0x30, - 0x1c, 0xfd, 0x33, 0xfe, 0xf1, 0xa3, 0xa8, 0x2c, 0x8b, 0x17, 0xc6, 0xc8, 0x05, 0x3c, 0x40, 0x97, - 0xcc, 0xbb, 0x7a, 0xd5, 0xb1, 0x81, 0x8b, 0xb2, 0x2d, 0x0e, 0xd0, 0x98, 0x25, 0x4b, 0xb1, 0x4d, - 0x43, 0x02, 0xed, 0x42, 0x07, 0x09, 0xaf, 0xe3, 0xa5, 0x8f, 0xe2, 0x73, 0x78, 0xe5, 0x53, 0x98, - 0x75, 0x30, 0xae, 0xf4, 0xa6, 0x39, 0xf9, 0x9d, 0x8f, 0x9c, 0x1e, 0x60, 0x73, 0x29, 0xf9, 0x82, - 0xd9, 0x84, 0xaa, 0x1d, 0x2c, 0xd1, 0xc6, 0xb1, 0x99, 0x58, 0x2f, 0x95, 0x3d, 0x5b, 0x53, 0xce, - 0x8a, 0xac, 0xd8, 0xe6, 0x0c, 0xe6, 0x2b, 0x59, 0x48, 0xab, 0x53, 0xa9, 0x20, 0xa1, 0x0a, 0xd6, - 0x06, 0xb8, 0x71, 0xa0, 0x36, 0x5c, 0xdf, 0xec, 0xf3, 0xf2, 0xb9, 0x4d, 0x84, 0x90, 0x05,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0xec, 0xf6, 0x27, 0x00, 0x00, 0xff, 0xff, 0xdc, 0x3d, 0xb5, - 0x1a, 0xd2, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/call_conversion_reporting_state.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/call_conversion_reporting_state.pb.go deleted file mode 100644 index bfd2879d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/call_conversion_reporting_state.pb.go +++ /dev/null @@ -1,134 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/call_conversion_reporting_state.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_ce9993055890e451, []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_ce9993055890e451, []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 (m *CallConversionReportingStateEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CallConversionReportingStateEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.CallConversionReportingStateEnum_CallConversionReportingState", CallConversionReportingStateEnum_CallConversionReportingState_name, CallConversionReportingStateEnum_CallConversionReportingState_value) - proto.RegisterType((*CallConversionReportingStateEnum)(nil), "google.ads.googleads.v2.enums.CallConversionReportingStateEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/call_conversion_reporting_state.proto", fileDescriptor_ce9993055890e451) -} - -var fileDescriptor_ce9993055890e451 = []byte{ - // 365 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0x41, 0xeb, 0x9b, 0x30, - 0x1c, 0x9d, 0x76, 0x6c, 0x23, 0x1d, 0x4c, 0x3c, 0x8e, 0x16, 0xd6, 0x9e, 0x36, 0xd8, 0x22, 0xb8, - 0x5b, 0x76, 0x8a, 0x69, 0x56, 0x64, 0x12, 0x8b, 0x56, 0x07, 0x43, 0x08, 0x59, 0x15, 0x11, 0x6c, - 0x22, 0xc6, 0xf6, 0x03, 0xed, 0x32, 0xd8, 0x47, 0x19, 0xfb, 0x24, 0xfb, 0x00, 0x3b, 0x0f, 0xf5, - 0xaf, 0xb7, 0xbf, 0x97, 0xf0, 0xc8, 0x7b, 0xbf, 0xf7, 0x92, 0xf7, 0x03, 0xa4, 0x54, 0xaa, 0xac, - 0x0b, 0x47, 0xe4, 0xda, 0x19, 0x61, 0x8f, 0xee, 0xae, 0x53, 0xc8, 0xdb, 0x55, 0x3b, 0x17, 0x51, - 0xd7, 0xfc, 0xa2, 0xe4, 0xbd, 0x68, 0x75, 0xa5, 0x24, 0x6f, 0x8b, 0x46, 0xb5, 0x5d, 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d5, 0x7d, 0x1a, 0xce, 0x1f, 0xe6, 0xea, 0x88, 0xf1, 0x2f, 0x73, - 0x7b, 0x1c, 0xad, 0x70, 0xae, 0xe1, 0x08, 0x7b, 0x94, 0xba, 0xb0, 0x6f, 0x57, 0xff, 0x9e, 0xf8, - 0x0c, 0xe7, 0x3a, 0x9b, 0xf9, 0x2c, 0x75, 0xb3, 0x81, 0xff, 0x6b, 0xee, 0xc6, 0x4b, 0x84, 0x70, - 0xae, 0x11, 0x9a, 0x15, 0x08, 0xa5, 0x2e, 0x42, 0x83, 0xe6, 0xfb, 0xb3, 0xe1, 0x61, 0x1f, 0xff, - 0x07, 0x00, 0x00, 0xff, 0xff, 0x88, 0x3b, 0xea, 0xea, 0x52, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/call_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/call_placeholder_field.pb.go deleted file mode 100644 index 090c871c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/call_placeholder_field.pb.go +++ /dev/null @@ -1,147 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/call_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_bc515cab69e1e702, []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_bc515cab69e1e702, []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 (m *CallPlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CallPlaceholderFieldEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.CallPlaceholderFieldEnum_CallPlaceholderField", CallPlaceholderFieldEnum_CallPlaceholderField_name, CallPlaceholderFieldEnum_CallPlaceholderField_value) - proto.RegisterType((*CallPlaceholderFieldEnum)(nil), "google.ads.googleads.v2.enums.CallPlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/call_placeholder_field.proto", fileDescriptor_bc515cab69e1e702) -} - -var fileDescriptor_bc515cab69e1e702 = []byte{ - // 377 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x4f, 0x6a, 0xdb, 0x40, - 0x14, 0xc6, 0x2b, 0xb9, 0x75, 0x61, 0x5c, 0xe8, 0x20, 0x4a, 0x69, 0x4d, 0x5d, 0xb0, 0x0f, 0x30, - 0x02, 0x75, 0x37, 0x5d, 0xe9, 0xcf, 0xd8, 0x15, 0xa6, 0x23, 0x21, 0x4b, 0x0a, 0x0e, 0x02, 0x31, - 0xb1, 0x14, 0x45, 0x30, 0xd6, 0x08, 0x8f, 0xed, 0xdb, 0x64, 0x93, 0x65, 0x8e, 0x90, 0x23, 0xe4, - 0x28, 0x59, 0xe4, 0x0c, 0x41, 0x52, 0xec, 0x64, 0xe1, 0x64, 0x33, 0x7c, 0xbc, 0xef, 0xfd, 0x3e, - 0xe6, 0xbd, 0x07, 0x70, 0x21, 0x44, 0xc1, 0x73, 0x9d, 0x65, 0x52, 0xef, 0x64, 0xa3, 0xf6, 0x86, - 0x9e, 0x57, 0xbb, 0xb5, 0xd4, 0x57, 0x8c, 0xf3, 0xb4, 0xe6, 0x6c, 0x95, 0x5f, 0x09, 0x9e, 0xe5, - 0x9b, 0xf4, 0xb2, 0xcc, 0x79, 0x86, 0xea, 0x8d, 0xd8, 0x0a, 0x6d, 0xd4, 0x01, 0x88, 0x65, 0x12, - 0x1d, 0x59, 0xb4, 0x37, 0x50, 0xcb, 0x0e, 0x7f, 0x1d, 0xa2, 0xeb, 0x52, 0x67, 0x55, 0x25, 0xb6, - 0x6c, 0x5b, 0x8a, 0x4a, 0x76, 0xf0, 0xe4, 0x4e, 0x01, 0x3f, 0x6c, 0xc6, 0xb9, 0xff, 0x12, 0x3e, - 0x6d, 0xb2, 0x49, 0xb5, 0x5b, 0x4f, 0xae, 0x15, 0xf0, 0xed, 0x94, 0xa9, 0x7d, 0x05, 0x83, 0x88, - 0x2e, 0x7c, 0x62, 0xbb, 0x53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 0x3c, 0x05, 0x00, 0x00, 0xff, - 0xff, 0x12, 0x12, 0x15, 0xa4, 0x2f, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/callout_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/callout_placeholder_field.pb.go deleted file mode 100644 index 6cbe2f3f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/callout_placeholder_field.pb.go +++ /dev/null @@ -1,120 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/callout_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_3e470d7b6a9c071c, []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_3e470d7b6a9c071c, []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 (m *CalloutPlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CalloutPlaceholderFieldEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.CalloutPlaceholderFieldEnum_CalloutPlaceholderField", CalloutPlaceholderFieldEnum_CalloutPlaceholderField_name, CalloutPlaceholderFieldEnum_CalloutPlaceholderField_value) - proto.RegisterType((*CalloutPlaceholderFieldEnum)(nil), "google.ads.googleads.v2.enums.CalloutPlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/callout_placeholder_field.proto", fileDescriptor_3e470d7b6a9c071c) -} - -var fileDescriptor_3e470d7b6a9c071c = []byte{ - // 310 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xfb, 0x30, - 0x18, 0xc5, 0xff, 0xeb, 0x1f, 0x14, 0x32, 0xc1, 0xd2, 0x1b, 0x41, 0xb7, 0x8b, 0xed, 0x01, 0x12, - 0xa8, 0x77, 0x11, 0x2f, 0xb2, 0xd9, 0x8d, 0xe1, 0xe8, 0x0a, 0x6e, 0x53, 0xa4, 0x30, 0xe2, 0x12, - 0xb3, 0x42, 0x96, 0x94, 0xa5, 0xdd, 0x03, 0x79, 0xe9, 0xa3, 0xf8, 0x28, 0xde, 0xf9, 0x06, 0xd2, - 0xc4, 0xd6, 0xab, 0x7a, 0x53, 0x0e, 0x3d, 0xdf, 0xf9, 0xe5, 0x7c, 0x1f, 0xb8, 0x15, 0x5a, 0x0b, - 0xc9, 0x11, 0x65, 0x06, 0x39, 0x59, 0xa9, 0x63, 0x88, 0xb8, 0x2a, 0xf7, 0x06, 0x6d, 0xa9, 0x94, - 0xba, 0x2c, 0x36, 0xb9, 0xa4, 0x5b, 0xbe, 0xd3, 0x92, 0xf1, 0xc3, 0xe6, 0x35, 0xe3, 0x92, 0xc1, - 0xfc, 0xa0, 0x0b, 0x1d, 0xf4, 0x5d, 0x06, 0x52, 0x66, 0x60, 0x13, 0x87, 0xc7, 0x10, 0xda, 0xf8, - 0x65, 0xaf, 0xa6, 0xe7, 0x19, 0xa2, 0x4a, 0xe9, 0x82, 0x16, 0x99, 0x56, 0xc6, 0x85, 0x87, 0x3b, - 0x70, 0x35, 0x76, 0xfc, 0xe4, 0x17, 0x3f, 0xa9, 0xe8, 0x91, 0x2a, 0xf7, 0xc3, 0x19, 0xb8, 0x68, - 0xb1, 0x83, 0x73, 0xd0, 0x5d, 0xc5, 0x0f, 0x49, 0x34, 0x9e, 0x4d, 0x66, 0xd1, 0x9d, 0xff, 0x2f, - 0xe8, 0x82, 0xd3, 0x55, 0x7c, 0x1f, 0x2f, 0x1e, 0x63, 0xbf, 0x13, 0xf8, 0xe0, 0x6c, 0x4c, 0xe6, - 0xf3, 0xc5, 0x6a, 0xb9, 0x59, 0x46, 0x4f, 0x4b, 0xdf, 0x1b, 0x7d, 0x75, 0xc0, 0x60, 0xab, 0xf7, - 0xf0, 0xcf, 0xb6, 0xa3, 0x5e, 0xcb, 0x73, 0x49, 0xd5, 0x36, 0xe9, 0x3c, 0x8f, 0x7e, 0xe2, 0x42, - 0x4b, 0xaa, 0x04, 0xd4, 0x07, 0x81, 0x04, 0x57, 0x76, 0x97, 0xfa, 0x76, 0x79, 0x66, 0x5a, 0x4e, - 0x79, 0x63, 0xbf, 0x6f, 0xde, 0xff, 0x29, 0x21, 0xef, 0x5e, 0x7f, 0xea, 0x50, 0x84, 0x19, 0xe8, - 0x64, 0xa5, 0xd6, 0x21, 0xac, 0x36, 0x37, 0x1f, 0xb5, 0x9f, 0x12, 0x66, 0xd2, 0xc6, 0x4f, 0xd7, - 0x61, 0x6a, 0xfd, 0x4f, 0x6f, 0xe0, 0x7e, 0x62, 0x4c, 0x98, 0xc1, 0xb8, 0x99, 0xc0, 0x78, 0x1d, - 0x62, 0x6c, 0x67, 0x5e, 0x4e, 0x6c, 0xb1, 0xeb, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x34, 0x20, - 0x26, 0xdd, 0xe2, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/campaign_criterion_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/campaign_criterion_status.pb.go deleted file mode 100644 index 2b7eed5a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/campaign_criterion_status.pb.go +++ /dev/null @@ -1,130 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/campaign_criterion_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The possible statuses of a CampaignCriterion. -type CampaignCriterionStatusEnum_CampaignCriterionStatus int32 - -const ( - // No value has been specified. - CampaignCriterionStatusEnum_UNSPECIFIED CampaignCriterionStatusEnum_CampaignCriterionStatus = 0 - // The received value is not known in this version. - // - // This is a response-only value. - CampaignCriterionStatusEnum_UNKNOWN CampaignCriterionStatusEnum_CampaignCriterionStatus = 1 - // The campaign criterion is enabled. - CampaignCriterionStatusEnum_ENABLED CampaignCriterionStatusEnum_CampaignCriterionStatus = 2 - // The campaign criterion is paused. - CampaignCriterionStatusEnum_PAUSED CampaignCriterionStatusEnum_CampaignCriterionStatus = 3 - // The campaign criterion is removed. - CampaignCriterionStatusEnum_REMOVED CampaignCriterionStatusEnum_CampaignCriterionStatus = 4 -) - -var CampaignCriterionStatusEnum_CampaignCriterionStatus_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "ENABLED", - 3: "PAUSED", - 4: "REMOVED", -} - -var CampaignCriterionStatusEnum_CampaignCriterionStatus_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "ENABLED": 2, - "PAUSED": 3, - "REMOVED": 4, -} - -func (x CampaignCriterionStatusEnum_CampaignCriterionStatus) String() string { - return proto.EnumName(CampaignCriterionStatusEnum_CampaignCriterionStatus_name, int32(x)) -} - -func (CampaignCriterionStatusEnum_CampaignCriterionStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b9dd0407118a4b92, []int{0, 0} -} - -// Message describing CampaignCriterion statuses. -type CampaignCriterionStatusEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CampaignCriterionStatusEnum) Reset() { *m = CampaignCriterionStatusEnum{} } -func (m *CampaignCriterionStatusEnum) String() string { return proto.CompactTextString(m) } -func (*CampaignCriterionStatusEnum) ProtoMessage() {} -func (*CampaignCriterionStatusEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_b9dd0407118a4b92, []int{0} -} - -func (m *CampaignCriterionStatusEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CampaignCriterionStatusEnum.Unmarshal(m, b) -} -func (m *CampaignCriterionStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CampaignCriterionStatusEnum.Marshal(b, m, deterministic) -} -func (m *CampaignCriterionStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignCriterionStatusEnum.Merge(m, src) -} -func (m *CampaignCriterionStatusEnum) XXX_Size() int { - return xxx_messageInfo_CampaignCriterionStatusEnum.Size(m) -} -func (m *CampaignCriterionStatusEnum) XXX_DiscardUnknown() { - xxx_messageInfo_CampaignCriterionStatusEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_CampaignCriterionStatusEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.CampaignCriterionStatusEnum_CampaignCriterionStatus", CampaignCriterionStatusEnum_CampaignCriterionStatus_name, CampaignCriterionStatusEnum_CampaignCriterionStatus_value) - proto.RegisterType((*CampaignCriterionStatusEnum)(nil), "google.ads.googleads.v2.enums.CampaignCriterionStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/campaign_criterion_status.proto", fileDescriptor_b9dd0407118a4b92) -} - -var fileDescriptor_b9dd0407118a4b92 = []byte{ - // 320 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xb1, 0x6a, 0xf3, 0x30, - 0x18, 0xfc, 0xe3, 0xfc, 0xa4, 0xa0, 0x0c, 0x35, 0x5e, 0x0a, 0x6d, 0x32, 0x24, 0x0f, 0x20, 0x83, - 0xbb, 0xa9, 0x74, 0x90, 0x63, 0x35, 0x84, 0xb6, 0x8e, 0x69, 0x88, 0x0b, 0xc5, 0x25, 0xa8, 0xb1, - 0x11, 0x82, 0x58, 0x32, 0x96, 0x92, 0xa9, 0x4f, 0xd3, 0xb1, 0x8f, 0xd2, 0x47, 0xe9, 0xd6, 0x37, - 0x28, 0x92, 0xe3, 0x6c, 0xee, 0x22, 0x4e, 0xdf, 0x7d, 0x77, 0x7c, 0x77, 0xe0, 0x96, 0x49, 0xc9, - 0x76, 0x85, 0x4f, 0x73, 0xe5, 0x37, 0xd0, 0xa0, 0x43, 0xe0, 0x17, 0x62, 0x5f, 0x2a, 0x7f, 0x4b, - 0xcb, 0x8a, 0x72, 0x26, 0x36, 0xdb, 0x9a, 0xeb, 0xa2, 0xe6, 0x52, 0x6c, 0x94, 0xa6, 0x7a, 0xaf, - 0x60, 0x55, 0x4b, 0x2d, 0xbd, 0x71, 0xa3, 0x81, 0x34, 0x57, 0xf0, 0x24, 0x87, 0x87, 0x00, 0x5a, - 0xf9, 0xe5, 0xa8, 0x75, 0xaf, 0xb8, 0x4f, 0x85, 0x90, 0x9a, 0x6a, 0x2e, 0xc5, 0x51, 0x3c, 0x7d, - 0x07, 0x57, 0xb3, 0xa3, 0xff, 0xac, 0xb5, 0x5f, 0x59, 0x77, 0x22, 0xf6, 0xe5, 0xf4, 0x15, 0x5c, - 0x74, 0xd0, 0xde, 0x39, 0x18, 0xae, 0xe3, 0x55, 0x42, 0x66, 0x8b, 0xbb, 0x05, 0x89, 0xdc, 0x7f, - 0xde, 0x10, 0x9c, 0xad, 0xe3, 0xfb, 0x78, 0xf9, 0x1c, 0xbb, 0x3d, 0xf3, 0x21, 0x31, 0x0e, 0x1f, - 0x48, 0xe4, 0x3a, 0x1e, 0x00, 0x83, 0x04, 0xaf, 0x57, 0x24, 0x72, 0xfb, 0x86, 0x78, 0x22, 0x8f, - 0xcb, 0x94, 0x44, 0xee, 0xff, 0xf0, 0xa7, 0x07, 0x26, 0x5b, 0x59, 0xc2, 0x3f, 0x13, 0x84, 0xa3, - 0x8e, 0x13, 0x12, 0x93, 0x20, 0xe9, 0xbd, 0x84, 0x47, 0x39, 0x93, 0x3b, 0x2a, 0x18, 0x94, 0x35, - 0xf3, 0x59, 0x21, 0x6c, 0xbe, 0xb6, 0xcf, 0x8a, 0xab, 0x8e, 0x7a, 0x6f, 0xec, 0xfb, 0xe1, 0xf4, - 0xe7, 0x18, 0x7f, 0x3a, 0xe3, 0x79, 0x63, 0x85, 0x73, 0x05, 0x1b, 0x68, 0x50, 0x1a, 0x40, 0xd3, - 0x86, 0xfa, 0x6a, 0xf9, 0x0c, 0xe7, 0x2a, 0x3b, 0xf1, 0x59, 0x1a, 0x64, 0x96, 0xff, 0x76, 0x26, - 0xcd, 0x10, 0x21, 0x9c, 0x2b, 0x84, 0x4e, 0x1b, 0x08, 0xa5, 0x01, 0x42, 0x76, 0xe7, 0x6d, 0x60, - 0x0f, 0xbb, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x31, 0x74, 0x08, 0x97, 0xf6, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/campaign_draft_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/campaign_draft_status.pb.go deleted file mode 100644 index 4dd2fa61..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/campaign_draft_status.pb.go +++ /dev/null @@ -1,144 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/campaign_draft_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible statuses of a campaign draft. -type CampaignDraftStatusEnum_CampaignDraftStatus int32 - -const ( - // The status has not been specified. - CampaignDraftStatusEnum_UNSPECIFIED CampaignDraftStatusEnum_CampaignDraftStatus = 0 - // Used for return value only. Represents value unknown in this version. - CampaignDraftStatusEnum_UNKNOWN CampaignDraftStatusEnum_CampaignDraftStatus = 1 - // Initial state of the draft, the advertiser can start adding changes with - // no effect on serving. - CampaignDraftStatusEnum_PROPOSED CampaignDraftStatusEnum_CampaignDraftStatus = 2 - // The campaign draft is removed. - CampaignDraftStatusEnum_REMOVED CampaignDraftStatusEnum_CampaignDraftStatus = 3 - // Advertiser requested to promote draft's changes back into the original - // campaign. Advertiser can poll the long running operation returned by - // the promote action to see the status of the promotion. - CampaignDraftStatusEnum_PROMOTING CampaignDraftStatusEnum_CampaignDraftStatus = 5 - // The process to merge changes in the draft back to the original campaign - // has completed successfully. - CampaignDraftStatusEnum_PROMOTED CampaignDraftStatusEnum_CampaignDraftStatus = 4 - // The promotion failed after it was partially applied. Promote cannot be - // attempted again safely, so the issue must be corrected in the original - // campaign. - CampaignDraftStatusEnum_PROMOTE_FAILED CampaignDraftStatusEnum_CampaignDraftStatus = 6 -) - -var CampaignDraftStatusEnum_CampaignDraftStatus_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "PROPOSED", - 3: "REMOVED", - 5: "PROMOTING", - 4: "PROMOTED", - 6: "PROMOTE_FAILED", -} - -var CampaignDraftStatusEnum_CampaignDraftStatus_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "PROPOSED": 2, - "REMOVED": 3, - "PROMOTING": 5, - "PROMOTED": 4, - "PROMOTE_FAILED": 6, -} - -func (x CampaignDraftStatusEnum_CampaignDraftStatus) String() string { - return proto.EnumName(CampaignDraftStatusEnum_CampaignDraftStatus_name, int32(x)) -} - -func (CampaignDraftStatusEnum_CampaignDraftStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_f8357dd718fa33ed, []int{0, 0} -} - -// Container for enum describing possible statuses of a campaign draft. -type CampaignDraftStatusEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CampaignDraftStatusEnum) Reset() { *m = CampaignDraftStatusEnum{} } -func (m *CampaignDraftStatusEnum) String() string { return proto.CompactTextString(m) } -func (*CampaignDraftStatusEnum) ProtoMessage() {} -func (*CampaignDraftStatusEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_f8357dd718fa33ed, []int{0} -} - -func (m *CampaignDraftStatusEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CampaignDraftStatusEnum.Unmarshal(m, b) -} -func (m *CampaignDraftStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CampaignDraftStatusEnum.Marshal(b, m, deterministic) -} -func (m *CampaignDraftStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignDraftStatusEnum.Merge(m, src) -} -func (m *CampaignDraftStatusEnum) XXX_Size() int { - return xxx_messageInfo_CampaignDraftStatusEnum.Size(m) -} -func (m *CampaignDraftStatusEnum) XXX_DiscardUnknown() { - xxx_messageInfo_CampaignDraftStatusEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_CampaignDraftStatusEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.CampaignDraftStatusEnum_CampaignDraftStatus", CampaignDraftStatusEnum_CampaignDraftStatus_name, CampaignDraftStatusEnum_CampaignDraftStatus_value) - proto.RegisterType((*CampaignDraftStatusEnum)(nil), "google.ads.googleads.v2.enums.CampaignDraftStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/campaign_draft_status.proto", fileDescriptor_f8357dd718fa33ed) -} - -var fileDescriptor_f8357dd718fa33ed = []byte{ - // 345 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x4d, 0x4e, 0x83, 0x40, - 0x18, 0x15, 0xaa, 0x55, 0xa7, 0xfe, 0x10, 0x5c, 0x68, 0x8c, 0x5d, 0xb4, 0x07, 0x18, 0x12, 0x5c, - 0x39, 0xae, 0x68, 0x99, 0x36, 0x44, 0xcb, 0x90, 0xfe, 0x60, 0x62, 0x48, 0x9a, 0xb1, 0xd4, 0x09, - 0x49, 0x99, 0x21, 0x1d, 0xda, 0xad, 0xf7, 0x70, 0xe9, 0xd2, 0xa3, 0x78, 0x14, 0x13, 0xef, 0x60, - 0x18, 0x68, 0x57, 0xd5, 0x0d, 0x79, 0xcc, 0xfb, 0xc9, 0xf7, 0x1e, 0xb8, 0x63, 0x42, 0xb0, 0xc5, - 0xdc, 0xa2, 0xb1, 0xb4, 0x4a, 0x58, 0xa0, 0xb5, 0x6d, 0xcd, 0xf9, 0x2a, 0x95, 0xd6, 0x8c, 0xa6, - 0x19, 0x4d, 0x18, 0x9f, 0xc6, 0x4b, 0xfa, 0x9a, 0x4f, 0x65, 0x4e, 0xf3, 0x95, 0x84, 0xd9, 0x52, - 0xe4, 0xc2, 0x6c, 0x96, 0x7a, 0x48, 0x63, 0x09, 0xb7, 0x56, 0xb8, 0xb6, 0xa1, 0xb2, 0x5e, 0xdf, - 0x6c, 0x92,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0x2a, 0x1f, 0x11, 0x72, 0x62, 0x89, 0xd0, 0x56, - 0x81, 0x50, 0x68, 0x23, 0xa4, 0x34, 0x2f, 0x75, 0x75, 0xd8, 0xed, 0x6f, 0x00, 0x00, 0x00, 0xff, - 0xff, 0xe9, 0xd6, 0x43, 0x0c, 0x0d, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/campaign_experiment_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/campaign_experiment_status.pb.go deleted file mode 100644 index 612f0dd7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/campaign_experiment_status.pb.go +++ /dev/null @@ -1,164 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/campaign_experiment_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible statuses of a campaign experiment. -type CampaignExperimentStatusEnum_CampaignExperimentStatus int32 - -const ( - // The status has not been specified. - CampaignExperimentStatusEnum_UNSPECIFIED CampaignExperimentStatusEnum_CampaignExperimentStatus = 0 - // Used for return value only. Represents value unknown in this version. - CampaignExperimentStatusEnum_UNKNOWN CampaignExperimentStatusEnum_CampaignExperimentStatus = 1 - // The experiment campaign is being initialized. - CampaignExperimentStatusEnum_INITIALIZING CampaignExperimentStatusEnum_CampaignExperimentStatus = 2 - // Initialization of the experiment campaign failed. - CampaignExperimentStatusEnum_INITIALIZATION_FAILED CampaignExperimentStatusEnum_CampaignExperimentStatus = 8 - // The experiment campaign is fully initialized. The experiment is currently - // running, scheduled to run in the future or has ended based on its - // end date. An experiment with the status INITIALIZING will be updated to - // ENABLED when it is fully created. - CampaignExperimentStatusEnum_ENABLED CampaignExperimentStatusEnum_CampaignExperimentStatus = 3 - // The experiment campaign was graduated to a stand-alone - // campaign, existing independently of the experiment. - CampaignExperimentStatusEnum_GRADUATED CampaignExperimentStatusEnum_CampaignExperimentStatus = 4 - // The experiment is removed. - CampaignExperimentStatusEnum_REMOVED CampaignExperimentStatusEnum_CampaignExperimentStatus = 5 - // The experiment's changes are being applied to the original campaign. - // The long running operation returned by the promote method can be polled - // to see the status of the promotion. - CampaignExperimentStatusEnum_PROMOTING CampaignExperimentStatusEnum_CampaignExperimentStatus = 6 - // Promote of the experiment campaign failed. - CampaignExperimentStatusEnum_PROMOTION_FAILED CampaignExperimentStatusEnum_CampaignExperimentStatus = 9 - // The changes of the experiment are promoted to their original campaign. - CampaignExperimentStatusEnum_PROMOTED CampaignExperimentStatusEnum_CampaignExperimentStatus = 7 - // The experiment was ended manually. It did not end based on its end date. - CampaignExperimentStatusEnum_ENDED_MANUALLY CampaignExperimentStatusEnum_CampaignExperimentStatus = 10 -) - -var CampaignExperimentStatusEnum_CampaignExperimentStatus_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "INITIALIZING", - 8: "INITIALIZATION_FAILED", - 3: "ENABLED", - 4: "GRADUATED", - 5: "REMOVED", - 6: "PROMOTING", - 9: "PROMOTION_FAILED", - 7: "PROMOTED", - 10: "ENDED_MANUALLY", -} - -var CampaignExperimentStatusEnum_CampaignExperimentStatus_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "INITIALIZING": 2, - "INITIALIZATION_FAILED": 8, - "ENABLED": 3, - "GRADUATED": 4, - "REMOVED": 5, - "PROMOTING": 6, - "PROMOTION_FAILED": 9, - "PROMOTED": 7, - "ENDED_MANUALLY": 10, -} - -func (x CampaignExperimentStatusEnum_CampaignExperimentStatus) String() string { - return proto.EnumName(CampaignExperimentStatusEnum_CampaignExperimentStatus_name, int32(x)) -} - -func (CampaignExperimentStatusEnum_CampaignExperimentStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0d92a0b5c45340ee, []int{0, 0} -} - -// Container for enum describing possible statuses of a campaign experiment. -type CampaignExperimentStatusEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CampaignExperimentStatusEnum) Reset() { *m = CampaignExperimentStatusEnum{} } -func (m *CampaignExperimentStatusEnum) String() string { return proto.CompactTextString(m) } -func (*CampaignExperimentStatusEnum) ProtoMessage() {} -func (*CampaignExperimentStatusEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_0d92a0b5c45340ee, []int{0} -} - -func (m *CampaignExperimentStatusEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CampaignExperimentStatusEnum.Unmarshal(m, b) -} -func (m *CampaignExperimentStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CampaignExperimentStatusEnum.Marshal(b, m, deterministic) -} -func (m *CampaignExperimentStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignExperimentStatusEnum.Merge(m, src) -} -func (m *CampaignExperimentStatusEnum) XXX_Size() int { - return xxx_messageInfo_CampaignExperimentStatusEnum.Size(m) -} -func (m *CampaignExperimentStatusEnum) XXX_DiscardUnknown() { - xxx_messageInfo_CampaignExperimentStatusEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_CampaignExperimentStatusEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.CampaignExperimentStatusEnum_CampaignExperimentStatus", CampaignExperimentStatusEnum_CampaignExperimentStatus_name, CampaignExperimentStatusEnum_CampaignExperimentStatus_value) - proto.RegisterType((*CampaignExperimentStatusEnum)(nil), "google.ads.googleads.v2.enums.CampaignExperimentStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/campaign_experiment_status.proto", fileDescriptor_0d92a0b5c45340ee) -} - -var fileDescriptor_0d92a0b5c45340ee = []byte{ - // 403 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0x4d, 0x6f, 0xd4, 0x30, - 0x10, 0x25, 0x5b, 0xe8, 0x87, 0x5b, 0xc0, 0xb2, 0x40, 0x02, 0xd4, 0x3d, 0xb4, 0x3f, 0xc0, 0x91, - 0xc2, 0xcd, 0x48, 0x48, 0xde, 0xda, 0x5d, 0x59, 0xec, 0x3a, 0xab, 0x6d, 0x12, 0x44, 0x15, 0x29, - 0x32, 0x4d, 0x14, 0x45, 0x6a, 0xec, 0x68, 0x9d, 0xad, 0xf8, 0x3d, 0x1c, 0xf9, 0x29, 0xdc, 0xf9, - 0x13, 0x1c, 0x39, 0x70, 0x46, 0x4e, 0xb2, 0xe1, 0xb4, 0xbd, 0x44, 0x6f, 0xe6, 0xcd, 0x7b, 0x13, - 0xcf, 0x03, 0x1f, 0x4b, 0x63, 0xca, 0xfb, 0xc2, 0x57, 0xb9, 0xf5, 0x7b, 0xe8, 0xd0, 0x43, 0xe0, - 0x17, 0x7a, 0x5b, 0x5b, 0xff, 0x4e, 0xd5, 0x8d, 0xaa, 0x4a, 0x9d, 0x15, 0xdf, 0x9a, 0x62, 0x53, - 0xd5, 0x85, 0x6e, 0x33, 0xdb, 0xaa, 0x76, 0x6b, 0x71, 0xb3, 0x31, 0xad, 0x41, 0xd3, 0x5e, 0x84, - 0x55, 0x6e, 0xf1, 0xa8, 0xc7, 0x0f, 0x01, 0xee, 0xf4, 0xef, 0xce, 0x77, 0xf6, 0x4d, 0xe5, 0x2b, - 0xad, 0x4d, 0xab, 0xda, 0xca, 0xe8, 0x41, 0x7c, 0xf9, 0xd7, 0x03, 0xe7, 0x57, 0xc3, 0x06, 0x3e, - 0x2e, 0xb8, 0xe9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, 0xd1, 0xdc, 0xe2, 0x1e, 0x3a, 0x94, 0x04, - 0xd8, 0xe5, 0x60, 0x7f, 0xee, 0xf8, 0x94, 0xe6, 0x36, 0x1d, 0xf9, 0x34, 0x09, 0xd2, 0x8e, 0xff, - 0x3d, 0xb9, 0xe8, 0x9b, 0x84, 0xd0, 0xdc, 0x12, 0x32, 0x4e, 0x10, 0x92, 0x04, 0x84, 0x74, 0x33, - 0x5f, 0x0f, 0xbb, 0x1f, 0x7b, 0xff, 0x2f, 0x00, 0x00, 0xff, 0xff, 0xff, 0x2a, 0xc2, 0xef, 0x73, - 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/campaign_experiment_traffic_split_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/campaign_experiment_traffic_split_type.pb.go deleted file mode 100644 index 728eff62..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/campaign_experiment_traffic_split_type.pb.go +++ /dev/null @@ -1,131 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/campaign_experiment_traffic_split_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum of strategies for splitting traffic between base and experiment -// campaigns in campaign experiment. -type CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType int32 - -const ( - // Not specified. - CampaignExperimentTrafficSplitTypeEnum_UNSPECIFIED CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType = 0 - // Used for return value only. Represents value unknown in this version. - CampaignExperimentTrafficSplitTypeEnum_UNKNOWN CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType = 1 - // Traffic is randomly assigned to the base or experiment arm for each - // query, independent of previous assignments for the same user. - CampaignExperimentTrafficSplitTypeEnum_RANDOM_QUERY CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType = 2 - // Traffic is split using cookies to keep users in the same arm (base or - // experiment) of the experiment. - CampaignExperimentTrafficSplitTypeEnum_COOKIE CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType = 3 -) - -var CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "RANDOM_QUERY", - 3: "COOKIE", -} - -var CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "RANDOM_QUERY": 2, - "COOKIE": 3, -} - -func (x CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType) String() string { - return proto.EnumName(CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType_name, int32(x)) -} - -func (CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b4d6dfa929344a7d, []int{0, 0} -} - -// Container for enum describing campaign experiment traffic split type. -type CampaignExperimentTrafficSplitTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CampaignExperimentTrafficSplitTypeEnum) Reset() { - *m = CampaignExperimentTrafficSplitTypeEnum{} -} -func (m *CampaignExperimentTrafficSplitTypeEnum) String() string { return proto.CompactTextString(m) } -func (*CampaignExperimentTrafficSplitTypeEnum) ProtoMessage() {} -func (*CampaignExperimentTrafficSplitTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_b4d6dfa929344a7d, []int{0} -} - -func (m *CampaignExperimentTrafficSplitTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CampaignExperimentTrafficSplitTypeEnum.Unmarshal(m, b) -} -func (m *CampaignExperimentTrafficSplitTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CampaignExperimentTrafficSplitTypeEnum.Marshal(b, m, deterministic) -} -func (m *CampaignExperimentTrafficSplitTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignExperimentTrafficSplitTypeEnum.Merge(m, src) -} -func (m *CampaignExperimentTrafficSplitTypeEnum) XXX_Size() int { - return xxx_messageInfo_CampaignExperimentTrafficSplitTypeEnum.Size(m) -} -func (m *CampaignExperimentTrafficSplitTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_CampaignExperimentTrafficSplitTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_CampaignExperimentTrafficSplitTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType", CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType_name, CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType_value) - proto.RegisterType((*CampaignExperimentTrafficSplitTypeEnum)(nil), "google.ads.googleads.v2.enums.CampaignExperimentTrafficSplitTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/campaign_experiment_traffic_split_type.proto", fileDescriptor_b4d6dfa929344a7d) -} - -var fileDescriptor_b4d6dfa929344a7d = []byte{ - // 341 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x51, 0xcd, 0x6a, 0xe3, 0x30, - 0x18, 0x5c, 0x3b, 0x90, 0x05, 0x65, 0x61, 0x8d, 0x8f, 0xcb, 0xe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f8, 0x33, 0x0d, 0xa2, 0x41, 0x7c, 0x93, 0xde, 0x2e, 0xc2, 0xe9, 0xbd, 0x63, 0xbb, 0x00, 0x34, - 0xfb, 0x71, 0x3c, 0x1e, 0x85, 0x4e, 0xa3, 0xf7, 0x69, 0x81, 0xce, 0x4a, 0xe4, 0xf0, 0xc7, 0x42, - 0xbd, 0xf3, 0xd3, 0x53, 0x4c, 0xca, 0x6e, 0x13, 0xeb, 0xa1, 0x77, 0x70, 0xa2, 0x62, 0x83, 0x39, - 0x85, 0xa2, 0xa0, 0x1e, 0x25, 0xbc, 0x6a, 0x7e, 0x5c, 0xbb, 0x64, 0xea, 0x9b, 0x5f, 0xb8, 0xac, - 0xce, 0x57, 0xbb, 0x31, 0x0c, 0x82, 0x37, 0xbb, 0x3d, 0x34, 0x56, 0x41, 0xa6, 0xa0, 0x81, 0x25, - 0x5a, 0xfa, 0xb0, 0xdc, 0x8d, 0x7a, 0x3f, 0xf2, 0x49, 0x90, 0xa9, 0xa4, 0xe6, 0x93, 0xa5, 0x9f, - 0x54, 0xfc, 0x87, 0xdd, 0x31, 0x97, 0x08, 0x05, 0x99, 0x42, 0xa8, 0x56, 0x20, 0xb4, 0xf4, 0x11, - 0xaa, 0x34, 0x4f, 0xcd, 0x6a, 0xb0, 0x8b, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x45, 0x8c, 0xca, - 0x9b, 0x1d, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/campaign_experiment_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/campaign_experiment_type.pb.go deleted file mode 100644 index 8a3c4049..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/campaign_experiment_type.pb.go +++ /dev/null @@ -1,135 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/campaign_experiment_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Indicates if this campaign is a normal campaign, -// a draft campaign, or an experiment campaign. -type CampaignExperimentTypeEnum_CampaignExperimentType int32 - -const ( - // Not specified. - CampaignExperimentTypeEnum_UNSPECIFIED CampaignExperimentTypeEnum_CampaignExperimentType = 0 - // Used for return value only. Represents value unknown in this version. - CampaignExperimentTypeEnum_UNKNOWN CampaignExperimentTypeEnum_CampaignExperimentType = 1 - // This is a regular campaign. - CampaignExperimentTypeEnum_BASE CampaignExperimentTypeEnum_CampaignExperimentType = 2 - // This is a draft version of a campaign. - // It has some modifications from a base campaign, - // but it does not serve or accrue metrics. - CampaignExperimentTypeEnum_DRAFT CampaignExperimentTypeEnum_CampaignExperimentType = 3 - // This is an experiment version of a campaign. - // It has some modifications from a base campaign, - // and a percentage of traffic is being diverted - // from the BASE campaign to this experiment campaign. - CampaignExperimentTypeEnum_EXPERIMENT CampaignExperimentTypeEnum_CampaignExperimentType = 4 -) - -var CampaignExperimentTypeEnum_CampaignExperimentType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "BASE", - 3: "DRAFT", - 4: "EXPERIMENT", -} - -var CampaignExperimentTypeEnum_CampaignExperimentType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "BASE": 2, - "DRAFT": 3, - "EXPERIMENT": 4, -} - -func (x CampaignExperimentTypeEnum_CampaignExperimentType) String() string { - return proto.EnumName(CampaignExperimentTypeEnum_CampaignExperimentType_name, int32(x)) -} - -func (CampaignExperimentTypeEnum_CampaignExperimentType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_3659d4d0c98fc41e, []int{0, 0} -} - -// Container for enum describing campaign experiment type. -type CampaignExperimentTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CampaignExperimentTypeEnum) Reset() { *m = CampaignExperimentTypeEnum{} } -func (m *CampaignExperimentTypeEnum) String() string { return proto.CompactTextString(m) } -func (*CampaignExperimentTypeEnum) ProtoMessage() {} -func (*CampaignExperimentTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_3659d4d0c98fc41e, []int{0} -} - -func (m *CampaignExperimentTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CampaignExperimentTypeEnum.Unmarshal(m, b) -} -func (m *CampaignExperimentTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CampaignExperimentTypeEnum.Marshal(b, m, deterministic) -} -func (m *CampaignExperimentTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignExperimentTypeEnum.Merge(m, src) -} -func (m *CampaignExperimentTypeEnum) XXX_Size() int { - return xxx_messageInfo_CampaignExperimentTypeEnum.Size(m) -} -func (m *CampaignExperimentTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_CampaignExperimentTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_CampaignExperimentTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.CampaignExperimentTypeEnum_CampaignExperimentType", CampaignExperimentTypeEnum_CampaignExperimentType_name, CampaignExperimentTypeEnum_CampaignExperimentType_value) - proto.RegisterType((*CampaignExperimentTypeEnum)(nil), "google.ads.googleads.v2.enums.CampaignExperimentTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/campaign_experiment_type.proto", fileDescriptor_3659d4d0c98fc41e) -} - -var fileDescriptor_3659d4d0c98fc41e = []byte{ - // 326 bytes of a gzipped FileDescriptorProto -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 0x0b, 0x1e, 0x1e, 0x03, 0xbb, 0xe6, 0x9c, 0x80, 0x86, 0x8f, - 0x27, 0xc4, 0xb6, 0x9c, 0x53, 0xf0, 0xbf, 0x3f, 0xc6, 0x83, 0xa9, 0x5d, 0x77, 0xce, 0x00, 0x20, - 0x4f, 0x21, 0x19, 0x8f, 0xee, 0x49, 0x30, 0xb5, 0x1b, 0xfe, 0x77, 0x0d, 0x74, 0x96, 0x32, 0x85, - 0x7f, 0xd6, 0xf7, 0x2f, 0x0f, 0x17, 0x08, 0xf3, 0xf6, 0x61, 0xed, 0xd9, 0xdf, 0xd3, 0x5c, 0xae, - 0xa8, 0xe0, 0x50, 0xae, 0xb9, 0xcb, 0x99, 0x28, 0xde, 0x56, 0x4e, 0xa9, 0x12, 0xfd, 0xcb, 0xb2, - 0x37, 0xc5, 0xf7, 0xdd, 0xaa, 0x0f, 0x31, 0xfe, 0xb0, 0xda, 0x43, 0x13, 0x85, 0x63, 0x0d, 0x8d, - 0xcc, 0xd5, 0xdc, 0x83, 0xf9, 0x14, 0xfa, 0xb3, 0xf4, 0x23, 0x1c, 0xeb, 0xa8, 0xf2, 0xa3, 0xb9, - 0x17, 0x15, 0xfe, 0x97, 0xd5, 0x31, 0x3f, 0x11, 0xc2, 0xb1, 0x46, 0xa8, 0xba, 0x40, 0x68, 0xee, - 0x21, 0x54, 0xdc, 0xbc, 0x1e, 0x15, 0xc5, 0xae, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xee, 0xe3, - 0x2f, 0x9c, 0xf1, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/campaign_serving_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/campaign_serving_status.pb.go deleted file mode 100644 index c95d27b6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/campaign_serving_status.pb.go +++ /dev/null @@ -1,139 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/campaign_serving_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_cf838c77f441d507, []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_cf838c77f441d507, []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 (m *CampaignServingStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignServingStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.CampaignServingStatusEnum_CampaignServingStatus", CampaignServingStatusEnum_CampaignServingStatus_name, CampaignServingStatusEnum_CampaignServingStatus_value) - proto.RegisterType((*CampaignServingStatusEnum)(nil), "google.ads.googleads.v2.enums.CampaignServingStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/campaign_serving_status.proto", fileDescriptor_cf838c77f441d507) -} - -var fileDescriptor_cf838c77f441d507 = []byte{ - // 332 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 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, 0x27, 0xc6, 0xcf, 0xc9, 0x82, 0xcc, 0x1d, - 0xdb, 0xbd, 0x02, 0x6d, 0xb2, 0x24, 0xd8, 0x69, 0xb9, 0x3d, 0xd0, 0xc1, 0x24, 0xc4, 0xa1, 0xd3, - 0x56, 0x8a, 0x08, 0x93, 0x50, 0x29, 0x3a, 0xee, 0x35, 0xe8, 0xc5, 0xab, 0x38, 0x32, 0x5c, 0x77, - 0xfa, 0x63, 0x81, 0xd1, 0x46, 0x94, 0xf0, 0xdf, 0x5a, 0xd3, 0xc1, 0xd9, 0xc3, 0x22, 0x55, 0x2a, - 0xb2, 0x5e, 0xa7, 0x47, 0x33, 0x13, 0x5b, 0xca, 0x19, 0x14, 0x3b, 0xe6, 0xb1, 0x9c, 0xeb, 0xca, - 0xa7, 0x81, 0xab, 0x42, 0xfe, 0xb1, 0xf7, 0x44, 0x7f, 0x3f, 0xec, 0xd6, 0x3c, 0x08, 0x3e, 0xed, - 0xe1, 0xdc, 0x44, 0x05, 0x99, 0x84, 0x06, 0x2a, 0x94, 0xf8, 0x50, 0x2d, 0x24, 0xbf, 0x4e, 0x7c, - 0x1a, 0x64, 0x32, 0x6d, 0xf8, 0x34, 0xf1, 0x53, 0xcd, 0x7f, 0xdb, 0x23, 0xf3, 0x88, 0x50, 0x90, - 0x49, 0x84, 0x1a, 0x05, 0x42, 0x89, 0x8f, 0x90, 0xd6, 0xbc, 0x75, 0xf5, 0x61, 0x0f, 0xbf, 0x01, - 0x00, 0x00, 0xff, 0xff, 0x2d, 0xdb, 0xe7, 0xd1, 0x07, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/campaign_shared_set_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/campaign_shared_set_status.pb.go deleted file mode 100644 index 73cc4493..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/campaign_shared_set_status.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/campaign_shared_set_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_3e55b7a419c0b9db, []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_3e55b7a419c0b9db, []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 (m *CampaignSharedSetStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignSharedSetStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.CampaignSharedSetStatusEnum_CampaignSharedSetStatus", CampaignSharedSetStatusEnum_CampaignSharedSetStatus_name, CampaignSharedSetStatusEnum_CampaignSharedSetStatus_value) - proto.RegisterType((*CampaignSharedSetStatusEnum)(nil), "google.ads.googleads.v2.enums.CampaignSharedSetStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/campaign_shared_set_status.proto", fileDescriptor_3e55b7a419c0b9db) -} - -var fileDescriptor_3e55b7a419c0b9db = []byte{ - // 313 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x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xd9, 0x4b, 0x1a, 0xb5, 0xdc, 0xc0, 0x52, 0x9a, - 0x3c, 0xb0, 0x71, 0x14, 0xb8, 0xe1, 0x99, 0x3d, 0xce, 0x72, 0x36, 0x8e, 0xda, 0xc9, 0x4f, 0x2b, - 0x1c, 0xac, 0x4c, 0x85, 0xfe, 0x4c, 0x9d, 0xf4, 0x4e, 0x9c, 0x9d, 0xbb, 0xd4, 0xf3, 0xd6, 0x6b, - 0xb2, 0x97, 0x2b, 0xb3, 0xe6, 0x5a, 0x21, 0xb3, 0x51, 0x58, 0x49, 0xed, 0xdf, 0x74, 0x28, 0xb1, - 0x2e, 0xe1, 0x44, 0xa7, 0x37, 0xfe, 0xfb, 0x11, 0xb4, 0x27, 0x94, 0x7e, 0x06, 0xfd, 0x49, 0x63, - 0x45, 0x05, 0xa0, 0x06, 0x3a, 0x94, 0xc7, 0xc8, 0x35, 0x00, 0x5f, 0x07, 0xbe, 0xa0, 0x02, 0x8a, - 0x23, 0x5f, 0xe4, 0x71, 0xe1, 0xf9, 0xef, 0x60, 0xd0, 0xfc, 0x24, 0x84, 0x0a, 0x20, 0xe4, 0xb8, - 0x41, 0x48, 0x1e, 0x13, 0xe2, 0x77, 0xde, 0xfe, 0xfb, 0x60, 0xd7, 0xbf, 0x01, 0x00, 0x00, 0xff, - 0xff, 0xa1, 0x2e, 0xc2, 0x0b, 0xeb, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/campaign_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/campaign_status.pb.go deleted file mode 100644 index e1587f53..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/campaign_status.pb.go +++ /dev/null @@ -1,128 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/campaign_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_441ff04bedb4a4aa, []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_441ff04bedb4a4aa, []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 (m *CampaignStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.CampaignStatusEnum_CampaignStatus", CampaignStatusEnum_CampaignStatus_name, CampaignStatusEnum_CampaignStatus_value) - proto.RegisterType((*CampaignStatusEnum)(nil), "google.ads.googleads.v2.enums.CampaignStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/campaign_status.proto", fileDescriptor_441ff04bedb4a4aa) -} - -var fileDescriptor_441ff04bedb4a4aa = []byte{ - // 305 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdd, 0x4a, 0xc3, 0x30, - 0x14, 0x76, 0x9d, 0x4c, 0xc8, 0x40, 0x4b, 0xbd, 0x13, 0x77, 0xb1, 0x3d, 0x40, 0x02, 0xdd, 0x5d, - 0xbc, 0x4a, 0xd7, 0x38, 0x86, 0xda, 0x15, 0x67, 0x2b, 0x48, 0x41, 0xe2, 0x5a, 0x42, 0x65, 0x4d, - 0xca, 0xd2, 0xee, 0x81, 0xbc, 0xf4, 0x51, 0x7c, 0x12, 0xf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fb, - 0x61, 0x0d, 0x97, 0x84, 0x7c, 0x5a, 0x93, 0x65, 0x13, 0x45, 0x52, 0x05, 0x1b, 0xa8, 0x51, 0xec, - 0x42, 0xbd, 0xbb, 0xfa, 0xea, 0xf8, 0x84, 0xa4, 0x2a, 0xe9, 0xf9, 0x24, 0x76, 0x13, 0xc3, 0xff, - 0x58, 0xd3, 0x66, 0x88, 0x31, 0x49, 0x15, 0xc6, 0xbd, 0x02, 0xe3, 0xd8, 0xc5, 0xd8, 0x68, 0xde, - 0x46, 0xa6, 0xd8, 0xfc, 0x37, 0x00, 0x00, 0xff, 0xff, 0xa0, 0xaa, 0x8c, 0x08, 0xd1, 0x01, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/change_status_operation.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/change_status_operation.pb.go deleted file mode 100644 index 9cf62dd3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/change_status_operation.pb.go +++ /dev/null @@ -1,129 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/change_status_operation.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_4e1869597aca0ca1, []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_4e1869597aca0ca1, []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 (m *ChangeStatusOperationEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChangeStatusOperationEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.ChangeStatusOperationEnum_ChangeStatusOperation", ChangeStatusOperationEnum_ChangeStatusOperation_name, ChangeStatusOperationEnum_ChangeStatusOperation_value) - proto.RegisterType((*ChangeStatusOperationEnum)(nil), "google.ads.googleads.v2.enums.ChangeStatusOperationEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/change_status_operation.proto", fileDescriptor_4e1869597aca0ca1) -} - -var fileDescriptor_4e1869597aca0ca1 = []byte{ - // 318 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x41, 0x4f, 0xfa, 0x30, - 0x18, 0xc6, 0xff, 0x8c, 0xbf, 0x1a, 0xcb, 0xc1, 0x65, 0x89, 0x07, 0x89, 0x1c, 0xe0, 0x03, 0xb4, - 0xc9, 0xbc, 0x95, 0x53, 0xa1, 0x15, 0x89, 0x71, 0x10, 0x09, 0x33, 0x21, 0x4b, 0x48, 0x65, 0x4b, - 0x25, 0x81, 0x76, 0x59, 0x37, 0xfc, 0x3e, 0x1e, 0xfd, 0x28, 0x7e, 0x14, 0x2f, 0x7e, 0x05, 0xd3, - 0xd6, 0xed, 0x84, 0x5e, 0x9a, 0xa7, 0xef, 0xf3, 0xfe, 0x9e, 0xbe, 0x7d, 0xc1, 0x50, 0x28, 0x25, - 0x76, 0x19, 0xe2, 0xa9, 0x46, 0x4e, 0x1a, 0x75, 0x08, 0x51, 0x26, 0xab, 0xbd, 0x46, 0x9b, 0x17, - 0x2e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 0xc4, 0x61, 0x62, 0xfd, 0x4f, 0xaf, 0xef, 0x8a, 0x18, - 0x93, 0x54, 0x63, 0xdc, 0x74, 0x60, 0x1c, 0x87, 0x18, 0xdb, 0x9e, 0xe7, 0x53, 0x3b, 0xd8, 0xcd, - 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0xf0, 0xb9, 0x3c, 0xed, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/change_status_resource_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/change_status_resource_type.pb.go deleted file mode 100644 index 43fb72cd..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/change_status_resource_type.pb.go +++ /dev/null @@ -1,164 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/change_status_resource_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // A Feed resource change. - ChangeStatusResourceTypeEnum_FEED ChangeStatusResourceTypeEnum_ChangeStatusResourceType = 9 - // A FeedItem resource change. - ChangeStatusResourceTypeEnum_FEED_ITEM ChangeStatusResourceTypeEnum_ChangeStatusResourceType = 10 - // An AdGroupFeed resource change. - ChangeStatusResourceTypeEnum_AD_GROUP_FEED ChangeStatusResourceTypeEnum_ChangeStatusResourceType = 11 - // A CampaignFeed resource change. - ChangeStatusResourceTypeEnum_CAMPAIGN_FEED ChangeStatusResourceTypeEnum_ChangeStatusResourceType = 12 - // An AdGroupBidModifier resource change. - ChangeStatusResourceTypeEnum_AD_GROUP_BID_MODIFIER ChangeStatusResourceTypeEnum_ChangeStatusResourceType = 13 -) - -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", - 9: "FEED", - 10: "FEED_ITEM", - 11: "AD_GROUP_FEED", - 12: "CAMPAIGN_FEED", - 13: "AD_GROUP_BID_MODIFIER", -} - -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, - "FEED": 9, - "FEED_ITEM": 10, - "AD_GROUP_FEED": 11, - "CAMPAIGN_FEED": 12, - "AD_GROUP_BID_MODIFIER": 13, -} - -func (x ChangeStatusResourceTypeEnum_ChangeStatusResourceType) String() string { - return proto.EnumName(ChangeStatusResourceTypeEnum_ChangeStatusResourceType_name, int32(x)) -} - -func (ChangeStatusResourceTypeEnum_ChangeStatusResourceType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_be6c457197dd2372, []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_be6c457197dd2372, []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 (m *ChangeStatusResourceTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChangeStatusResourceTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.ChangeStatusResourceTypeEnum_ChangeStatusResourceType", ChangeStatusResourceTypeEnum_ChangeStatusResourceType_name, ChangeStatusResourceTypeEnum_ChangeStatusResourceType_value) - proto.RegisterType((*ChangeStatusResourceTypeEnum)(nil), "google.ads.googleads.v2.enums.ChangeStatusResourceTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/change_status_resource_type.proto", fileDescriptor_be6c457197dd2372) -} - -var fileDescriptor_be6c457197dd2372 = []byte{ - // 407 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xcd, 0x8a, 0xdb, 0x30, - 0x10, 0xc7, 0x6b, 0xef, 0x76, 0x3f, 0x94, 0x0d, 0x55, 0x05, 0x2d, 0x6d, 0xd9, 0x1c, 0x76, 0x1f, - 0x40, 0x06, 0xf7, 0xa6, 0x1e, 0x8a, 0xfc, 0xb1, 0xc6, 0x94, 0xd8, 0xc6, 0x9b, 0xa4, 0x50, 0x0c, - 0xc6, 0x8d, 0x85, 0x1b, 0x48, 0x24, 0x63, 0xd9, 0x81, 0xbc, 0x45, 0x9f, 0xa1, 0xc7, 0x3e, 0x4a, - 0x1f, 0xa5, 0x97, 0x42, 0x9f, 0xa0, 0x48, 0x8e, 0x4d, 0x2f, 0xd9, 0x8b, 0xf9, 0xcf, 0xcc, 0x6f, - 0xfe, 0x63, 0xcd, 0x80, 0x8f, 0x95, 0x10, 0xd5, 0x96, 0x59, 0x45, 0x29, 0xad, 0x5e, 0x2a, 0xb5, - 0xb7, 0x2d, 0xc6, 0xbb, 0x9d, 0xb4, 0xd6, 0xdf, 0x0a, 0x5e, 0xb1, 0x5c, 0xb6, 0x45, 0xdb, 0xc9, - 0xbc, 0x61, 0x52, 0x74, 0xcd, 0x9a, 0xe5, 0xed, 0xa1, 0x66, 0xb8, 0x6e, 0x44, 0x2b, 0xd0, 0xac, - 0xef, 0xc2, 0x45, 0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0x13, 0xe3, 0x8b, 0x73, 0xec, 0xaf, 0xc4, 0xb6, - 0xe0, 0x15, 0x16, 0x4d, 0x65, 0x55, 0x8c, 0xeb, 0xad, 0x0f, 0x77, 0xae, 0x37, 0xf2, 0xc4, 0xd9, - 0x3f, 0xe8, 0xef, 0x0f, 0xf3, 0x2c, 0xa0, 0xf4, 0xa7, 0x39, 0x0b, 0x7a, 0x2b, 0x5a, 0x4a, 0xdc, - 0x4b, 0xa5, 0x56, 0x36, 0x56, 0x17, 0x92, 0xbf, 0x86, 0x7a, 0x46, 0x4b, 0x99, 0x8d, 0xf5, 0x6c, - 0x65, 0x67, 0xba, 0xfe, 0xdb, 0xbc, 0xeb, 0x93, 0x84, 0xd0, 0x52, 0x12, 0x32, 0x12, 0x84, 0xac, - 0x6c, 0x42, 0x34, 0xf3, 0xf5, 0x42, 0xff, 0xd8, 0xfb, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xb4, - 0xcb, 0xd2, 0x65, 0x8e, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/click_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/click_type.pb.go deleted file mode 100644 index 6f532c2c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/click_type.pb.go +++ /dev/null @@ -1,368 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/click_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enumerates Google Ads click types. -type ClickTypeEnum_ClickType int32 - -const ( - // Not specified. - ClickTypeEnum_UNSPECIFIED ClickTypeEnum_ClickType = 0 - // The value is unknown in this version. - ClickTypeEnum_UNKNOWN ClickTypeEnum_ClickType = 1 - // App engagement ad deep link. - ClickTypeEnum_APP_DEEPLINK ClickTypeEnum_ClickType = 2 - // Breadcrumbs. - ClickTypeEnum_BREADCRUMBS ClickTypeEnum_ClickType = 3 - // Broadband Plan. - ClickTypeEnum_BROADBAND_PLAN ClickTypeEnum_ClickType = 4 - // Manually dialed phone calls. - ClickTypeEnum_CALL_TRACKING ClickTypeEnum_ClickType = 5 - // Phone calls. - ClickTypeEnum_CALLS ClickTypeEnum_ClickType = 6 - // Click on engagement ad. - ClickTypeEnum_CLICK_ON_ENGAGEMENT_AD ClickTypeEnum_ClickType = 7 - // Driving direction. - ClickTypeEnum_GET_DIRECTIONS ClickTypeEnum_ClickType = 8 - // Get location details. - ClickTypeEnum_LOCATION_EXPANSION ClickTypeEnum_ClickType = 9 - // Call. - ClickTypeEnum_LOCATION_FORMAT_CALL ClickTypeEnum_ClickType = 10 - // Directions. - ClickTypeEnum_LOCATION_FORMAT_DIRECTIONS ClickTypeEnum_ClickType = 11 - // Image(s). - ClickTypeEnum_LOCATION_FORMAT_IMAGE ClickTypeEnum_ClickType = 12 - // Go to landing page. - ClickTypeEnum_LOCATION_FORMAT_LANDING_PAGE ClickTypeEnum_ClickType = 13 - // Map. - ClickTypeEnum_LOCATION_FORMAT_MAP ClickTypeEnum_ClickType = 14 - // Go to store info. - ClickTypeEnum_LOCATION_FORMAT_STORE_INFO ClickTypeEnum_ClickType = 15 - // Text. - ClickTypeEnum_LOCATION_FORMAT_TEXT ClickTypeEnum_ClickType = 16 - // Mobile phone calls. - ClickTypeEnum_MOBILE_CALL_TRACKING ClickTypeEnum_ClickType = 17 - // Print offer. - ClickTypeEnum_OFFER_PRINTS ClickTypeEnum_ClickType = 18 - // Other. - ClickTypeEnum_OTHER ClickTypeEnum_ClickType = 19 - // Product plusbox offer. - ClickTypeEnum_PRODUCT_EXTENSION_CLICKS ClickTypeEnum_ClickType = 20 - // Shopping - Product - Online. - ClickTypeEnum_PRODUCT_LISTING_AD_CLICKS ClickTypeEnum_ClickType = 21 - // Sitelink. - ClickTypeEnum_SITELINKS ClickTypeEnum_ClickType = 22 - // Show nearby locations. - ClickTypeEnum_STORE_LOCATOR ClickTypeEnum_ClickType = 23 - // Headline. - ClickTypeEnum_URL_CLICKS ClickTypeEnum_ClickType = 25 - // App store. - ClickTypeEnum_VIDEO_APP_STORE_CLICKS ClickTypeEnum_ClickType = 26 - // Call-to-Action overlay. - ClickTypeEnum_VIDEO_CALL_TO_ACTION_CLICKS ClickTypeEnum_ClickType = 27 - // Cards. - ClickTypeEnum_VIDEO_CARD_ACTION_HEADLINE_CLICKS ClickTypeEnum_ClickType = 28 - // End cap. - ClickTypeEnum_VIDEO_END_CAP_CLICKS ClickTypeEnum_ClickType = 29 - // Website. - ClickTypeEnum_VIDEO_WEBSITE_CLICKS ClickTypeEnum_ClickType = 30 - // Visual Sitelinks. - ClickTypeEnum_VISUAL_SITELINKS ClickTypeEnum_ClickType = 31 - // Wireless Plan. - ClickTypeEnum_WIRELESS_PLAN ClickTypeEnum_ClickType = 32 - // Shopping - Product - Local. - ClickTypeEnum_PRODUCT_LISTING_AD_LOCAL ClickTypeEnum_ClickType = 33 - // Shopping - Product - MultiChannel Local. - ClickTypeEnum_PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL ClickTypeEnum_ClickType = 34 - // Shopping - Product - MultiChannel Online. - ClickTypeEnum_PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE ClickTypeEnum_ClickType = 35 - // Shopping - Product - Coupon. - ClickTypeEnum_PRODUCT_LISTING_ADS_COUPON ClickTypeEnum_ClickType = 36 - // Shopping - Product - Sell on Google. - ClickTypeEnum_PRODUCT_LISTING_AD_TRANSACTABLE ClickTypeEnum_ClickType = 37 - // Shopping - Product - App engagement ad deep link. - ClickTypeEnum_PRODUCT_AD_APP_DEEPLINK ClickTypeEnum_ClickType = 38 - // Shopping - Showcase - Category. - ClickTypeEnum_SHOWCASE_AD_CATEGORY_LINK ClickTypeEnum_ClickType = 39 - // Shopping - Showcase - Local storefront. - ClickTypeEnum_SHOWCASE_AD_LOCAL_STOREFRONT_LINK ClickTypeEnum_ClickType = 40 - // Shopping - Showcase - Online product. - ClickTypeEnum_SHOWCASE_AD_ONLINE_PRODUCT_LINK ClickTypeEnum_ClickType = 42 - // Shopping - Showcase - Local product. - ClickTypeEnum_SHOWCASE_AD_LOCAL_PRODUCT_LINK ClickTypeEnum_ClickType = 43 - // Promotion Extension. - ClickTypeEnum_PROMOTION_EXTENSION ClickTypeEnum_ClickType = 44 - // Ad Headline. - ClickTypeEnum_SWIPEABLE_GALLERY_AD_HEADLINE ClickTypeEnum_ClickType = 45 - // Swipes. - ClickTypeEnum_SWIPEABLE_GALLERY_AD_SWIPES ClickTypeEnum_ClickType = 46 - // See More. - ClickTypeEnum_SWIPEABLE_GALLERY_AD_SEE_MORE ClickTypeEnum_ClickType = 47 - // Sitelink 1. - ClickTypeEnum_SWIPEABLE_GALLERY_AD_SITELINK_ONE ClickTypeEnum_ClickType = 48 - // Sitelink 2. - ClickTypeEnum_SWIPEABLE_GALLERY_AD_SITELINK_TWO ClickTypeEnum_ClickType = 49 - // Sitelink 3. - ClickTypeEnum_SWIPEABLE_GALLERY_AD_SITELINK_THREE ClickTypeEnum_ClickType = 50 - // Sitelink 4. - ClickTypeEnum_SWIPEABLE_GALLERY_AD_SITELINK_FOUR ClickTypeEnum_ClickType = 51 - // Sitelink 5. - ClickTypeEnum_SWIPEABLE_GALLERY_AD_SITELINK_FIVE ClickTypeEnum_ClickType = 52 - // Hotel price. - ClickTypeEnum_HOTEL_PRICE ClickTypeEnum_ClickType = 53 - // Price Extension. - ClickTypeEnum_PRICE_EXTENSION ClickTypeEnum_ClickType = 54 - // Book on Google hotel room selection. - ClickTypeEnum_HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION ClickTypeEnum_ClickType = 55 - // Shopping - Comparison Listing. - ClickTypeEnum_SHOPPING_COMPARISON_LISTING ClickTypeEnum_ClickType = 56 -) - -var ClickTypeEnum_ClickType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "APP_DEEPLINK", - 3: "BREADCRUMBS", - 4: "BROADBAND_PLAN", - 5: "CALL_TRACKING", - 6: "CALLS", - 7: "CLICK_ON_ENGAGEMENT_AD", - 8: "GET_DIRECTIONS", - 9: "LOCATION_EXPANSION", - 10: "LOCATION_FORMAT_CALL", - 11: "LOCATION_FORMAT_DIRECTIONS", - 12: "LOCATION_FORMAT_IMAGE", - 13: "LOCATION_FORMAT_LANDING_PAGE", - 14: "LOCATION_FORMAT_MAP", - 15: "LOCATION_FORMAT_STORE_INFO", - 16: "LOCATION_FORMAT_TEXT", - 17: "MOBILE_CALL_TRACKING", - 18: "OFFER_PRINTS", - 19: "OTHER", - 20: "PRODUCT_EXTENSION_CLICKS", - 21: "PRODUCT_LISTING_AD_CLICKS", - 22: "SITELINKS", - 23: "STORE_LOCATOR", - 25: "URL_CLICKS", - 26: "VIDEO_APP_STORE_CLICKS", - 27: "VIDEO_CALL_TO_ACTION_CLICKS", - 28: "VIDEO_CARD_ACTION_HEADLINE_CLICKS", - 29: "VIDEO_END_CAP_CLICKS", - 30: "VIDEO_WEBSITE_CLICKS", - 31: "VISUAL_SITELINKS", - 32: "WIRELESS_PLAN", - 33: "PRODUCT_LISTING_AD_LOCAL", - 34: "PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL", - 35: "PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE", - 36: "PRODUCT_LISTING_ADS_COUPON", - 37: "PRODUCT_LISTING_AD_TRANSACTABLE", - 38: "PRODUCT_AD_APP_DEEPLINK", - 39: "SHOWCASE_AD_CATEGORY_LINK", - 40: "SHOWCASE_AD_LOCAL_STOREFRONT_LINK", - 42: "SHOWCASE_AD_ONLINE_PRODUCT_LINK", - 43: "SHOWCASE_AD_LOCAL_PRODUCT_LINK", - 44: "PROMOTION_EXTENSION", - 45: "SWIPEABLE_GALLERY_AD_HEADLINE", - 46: "SWIPEABLE_GALLERY_AD_SWIPES", - 47: "SWIPEABLE_GALLERY_AD_SEE_MORE", - 48: "SWIPEABLE_GALLERY_AD_SITELINK_ONE", - 49: "SWIPEABLE_GALLERY_AD_SITELINK_TWO", - 50: "SWIPEABLE_GALLERY_AD_SITELINK_THREE", - 51: "SWIPEABLE_GALLERY_AD_SITELINK_FOUR", - 52: "SWIPEABLE_GALLERY_AD_SITELINK_FIVE", - 53: "HOTEL_PRICE", - 54: "PRICE_EXTENSION", - 55: "HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION", - 56: "SHOPPING_COMPARISON_LISTING", -} - -var ClickTypeEnum_ClickType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "APP_DEEPLINK": 2, - "BREADCRUMBS": 3, - "BROADBAND_PLAN": 4, - "CALL_TRACKING": 5, - "CALLS": 6, - "CLICK_ON_ENGAGEMENT_AD": 7, - "GET_DIRECTIONS": 8, - "LOCATION_EXPANSION": 9, - "LOCATION_FORMAT_CALL": 10, - "LOCATION_FORMAT_DIRECTIONS": 11, - "LOCATION_FORMAT_IMAGE": 12, - "LOCATION_FORMAT_LANDING_PAGE": 13, - "LOCATION_FORMAT_MAP": 14, - "LOCATION_FORMAT_STORE_INFO": 15, - "LOCATION_FORMAT_TEXT": 16, - "MOBILE_CALL_TRACKING": 17, - "OFFER_PRINTS": 18, - "OTHER": 19, - "PRODUCT_EXTENSION_CLICKS": 20, - "PRODUCT_LISTING_AD_CLICKS": 21, - "SITELINKS": 22, - "STORE_LOCATOR": 23, - "URL_CLICKS": 25, - "VIDEO_APP_STORE_CLICKS": 26, - "VIDEO_CALL_TO_ACTION_CLICKS": 27, - "VIDEO_CARD_ACTION_HEADLINE_CLICKS": 28, - "VIDEO_END_CAP_CLICKS": 29, - "VIDEO_WEBSITE_CLICKS": 30, - "VISUAL_SITELINKS": 31, - "WIRELESS_PLAN": 32, - "PRODUCT_LISTING_AD_LOCAL": 33, - "PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL": 34, - "PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE": 35, - "PRODUCT_LISTING_ADS_COUPON": 36, - "PRODUCT_LISTING_AD_TRANSACTABLE": 37, - "PRODUCT_AD_APP_DEEPLINK": 38, - "SHOWCASE_AD_CATEGORY_LINK": 39, - "SHOWCASE_AD_LOCAL_STOREFRONT_LINK": 40, - "SHOWCASE_AD_ONLINE_PRODUCT_LINK": 42, - "SHOWCASE_AD_LOCAL_PRODUCT_LINK": 43, - "PROMOTION_EXTENSION": 44, - "SWIPEABLE_GALLERY_AD_HEADLINE": 45, - "SWIPEABLE_GALLERY_AD_SWIPES": 46, - "SWIPEABLE_GALLERY_AD_SEE_MORE": 47, - "SWIPEABLE_GALLERY_AD_SITELINK_ONE": 48, - "SWIPEABLE_GALLERY_AD_SITELINK_TWO": 49, - "SWIPEABLE_GALLERY_AD_SITELINK_THREE": 50, - "SWIPEABLE_GALLERY_AD_SITELINK_FOUR": 51, - "SWIPEABLE_GALLERY_AD_SITELINK_FIVE": 52, - "HOTEL_PRICE": 53, - "PRICE_EXTENSION": 54, - "HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION": 55, - "SHOPPING_COMPARISON_LISTING": 56, -} - -func (x ClickTypeEnum_ClickType) String() string { - return proto.EnumName(ClickTypeEnum_ClickType_name, int32(x)) -} - -func (ClickTypeEnum_ClickType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_da242e1a0d8ceec2, []int{0, 0} -} - -// Container for enumeration of Google Ads click types. -type ClickTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ClickTypeEnum) Reset() { *m = ClickTypeEnum{} } -func (m *ClickTypeEnum) String() string { return proto.CompactTextString(m) } -func (*ClickTypeEnum) ProtoMessage() {} -func (*ClickTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_da242e1a0d8ceec2, []int{0} -} - -func (m *ClickTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClickTypeEnum.Unmarshal(m, b) -} -func (m *ClickTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClickTypeEnum.Marshal(b, m, deterministic) -} -func (m *ClickTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClickTypeEnum.Merge(m, src) -} -func (m *ClickTypeEnum) XXX_Size() int { - return xxx_messageInfo_ClickTypeEnum.Size(m) -} -func (m *ClickTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_ClickTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_ClickTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.ClickTypeEnum_ClickType", ClickTypeEnum_ClickType_name, ClickTypeEnum_ClickType_value) - proto.RegisterType((*ClickTypeEnum)(nil), "google.ads.googleads.v2.enums.ClickTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/click_type.proto", fileDescriptor_da242e1a0d8ceec2) -} - -var fileDescriptor_da242e1a0d8ceec2 = []byte{ - // 947 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x95, 0xdb, 0x6e, 0xdb, 0x36, - 0x18, 0xc7, 0x97, 0x74, 0x6d, 0x17, 0xe6, 0xc4, 0x32, 0x69, 0xd2, 0x9c, 0x6b, 0x67, 0x49, 0xb7, - 0x6e, 0x93, 0x37, 0x77, 0x27, 0x78, 0x57, 0x94, 0xf4, 0x59, 0x26, 0x4c, 0x91, 0x02, 0x49, 0xdb, - 0xe9, 0x10, 0x80, 0xf0, 0x62, 0xc3, 0x08, 0x96, 0xd8, 0x46, 0x9d, 0x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0x46, 0x1c, 0xac, 0x92, 0x32, 0xb6, 0x1a, 0x78, 0xf6, - 0xe6, 0xe1, 0x9f, 0xd2, 0xcc, 0xd6, 0x64, 0x92, 0xb8, 0xfe, 0x0a, 0x64, 0x9c, 0x50, 0xc5, 0xb4, - 0x14, 0x79, 0xcb, 0xe1, 0x9f, 0xfd, 0x7f, 0xe7, 0x50, 0xe1, 0x6c, 0x70, 0xe9, 0x7d, 0x70, 0xd8, - 0xf8, 0x2b, 0x93, 0xc9, 0x91, 0xb8, 0xf1, 0x92, 0xcc, 0xfd, 0xea, 0x8f, 0x0f, 0xf4, 0x06, 0x17, - 0xed, 0x7e, 0xcf, 0x1b, 0xbc, 0xea, 0x95, 0x7a, 0xdd, 0x7e, 0x3a, 0x7c, 0xf2, 0xe9, 0x36, 0x3c, - 0x1f, 0xbd, 0x67, 0xd8, 0xfd, 0x92, 0xfe, 0xfe, 0x39, 0x7f, 0x2f, 0xa2, 0xf4, 0xef, 0xf9, 0xbd, - 0x28, 0x33, 0x45, 0x3b, 0x23, 0x2f, 0x5b, 0xba, 0x55, 0xb3, 0xec, 0xb9, 0xb9, 0x35, 0xfa, 0x27, - 0xd7, 0x4f, 0x69, 0x67, 0x74, 0x3a, 0xd1, 0x4f, 0x9b, 0xe5, 0xd3, 0x54, 0xff, 0x6f, 0xbe, 0x90, - 0x6d, 0x56, 0x2a, 0xb4, 0x33, 0xaa, 0x54, 0x26, 0x44, 0xa5, 0xd2, 0x2c, 0x57, 0x2a, 0x29, 0xf3, - 0xdb, 0x83, 0xd4, 0xb1, 0x17, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff, 0x8c, 0x9b, 0x22, 0x0f, 0x84, - 0x07, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/content_label_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/content_label_type.pb.go deleted file mode 100644 index 9058570e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/content_label_type.pb.go +++ /dev/null @@ -1,191 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/content_label_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // Sensitive social issues. - ContentLabelTypeEnum_SOCIAL_ISSUES ContentLabelTypeEnum_ContentLabelType = 17 -) - -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", - 17: "SOCIAL_ISSUES", -} - -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, - "SOCIAL_ISSUES": 17, -} - -func (x ContentLabelTypeEnum_ContentLabelType) String() string { - return proto.EnumName(ContentLabelTypeEnum_ContentLabelType_name, int32(x)) -} - -func (ContentLabelTypeEnum_ContentLabelType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bc9ccf58e1875500, []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_bc9ccf58e1875500, []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 (m *ContentLabelTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ContentLabelTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.ContentLabelTypeEnum_ContentLabelType", ContentLabelTypeEnum_ContentLabelType_name, ContentLabelTypeEnum_ContentLabelType_value) - proto.RegisterType((*ContentLabelTypeEnum)(nil), "google.ads.googleads.v2.enums.ContentLabelTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/content_label_type.proto", fileDescriptor_bc9ccf58e1875500) -} - -var fileDescriptor_bc9ccf58e1875500 = []byte{ - // 486 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0xcb, 0x6a, 0xdb, 0x40, - 0x14, 0xad, 0xed, 0x3c, 0xec, 0x71, 0x9c, 0x8c, 0xa7, 0x49, 0x5b, 0x4a, 0xb3, 0x48, 0x3e, 0x40, - 0x02, 0x17, 0xba, 0x50, 0x57, 0x63, 0xcf, 0xb5, 0x3a, 0x8d, 0x2c, 0x09, 0xeb, 0x91, 0xba, 0x18, - 0x06, 0x25, 0x16, 0xc2, 0x60, 0x6b, 0x44, 0xa4, 0x04, 0xb2, 0xeb, 0xb7, 0x74, 0xd9, 0x4f, 0xe9, - 0x8f, 0x14, 0xf2, 0x15, 0x65, 0x34, 0xb5, 0x17, 0x26, 0xcd, 0x46, 0x1c, 0xee, 0x79, 0x68, 0x2e, - 0xe7, 0xa2, 0x4f, 0x99, 0x94, 0xd9, 0x2a, 0x35, 0x93, 0x45, 0x69, 0x6a, 0xa8, 0xd0, 0xc3, 0xc0, - 0x4c, 0xf3, 0xfb, 0x75, 0x69, 0xde, 0xca, 0xbc, 0x4a, 0xf3, 0x4a, 0xac, 0x92, 0x9b, 0x74, 0x25, - 0xaa, 0xc7, 0x22, 0x35, 0x8a, 0x3b, 0x59, 0x49, 0x72, 0xae, 0xc5, 0x46, 0xb2, 0x28, 0x8d, 0xad, - 0xcf, 0x78, 0x18, 0x18, 0xb5, 0xef, 0xfd, 0x87, 0x4d, 0x6c, 0xb1, 0x34, 0x93, 0x3c, 0x97, 0x55, - 0x52, 0x2d, 0x65, 0x5e, 0x6a, 0xf3, 0xe5, 0x8f, 0x16, 0x3a, 0x1d, 0xe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0, 0x18, 0x30, 0xa1, 0x9f, 0x72, 0x42, 0xde, 0xa1, 0x53, 0x87, 0xc7, 0x20, 0x82, 0x70, 0x0a, - 0x74, 0xa2, 0x62, 0x34, 0x83, 0xd5, 0xda, 0x81, 0x37, 0xe2, 0xd4, 0x11, 0x3c, 0x08, 0x22, 0x08, - 0x70, 0x7f, 0xf8, 0xd4, 0x40, 0x17, 0xb7, 0x72, 0x6d, 0xbc, 0x58, 0xe3, 0xf0, 0x6c, 0xb7, 0x0c, - 0x5f, 0xf5, 0xe7, 0x37, 0xbe, 0x0f, 0xff, 0xf9, 0x32, 0xb9, 0x4a, 0xf2, 0xcc, 0x90, 0x77, 0x99, - 0x99, 0xa5, 0x79, 0xdd, 0xee, 0xe6, 0x8c, 0x8a, 0x65, 0xf9, 0x9f, 0xab, 0xfa, 0x5c, 0x7f, 0x7f, - 0x36, 0x5b, 0x36, 0xa5, 0xbf, 0x9a, 0xe7, 0xb6, 0x8e, 0xa2, 0x8b, 0xd2, 0xd0, 0x50, 0xa1, 0x78, - 0x60, 0xa8, 0x8b, 0x28, 0x7f, 0x6f, 0xf8, 0x39, 0x5d, 0x94, 0xf3, 0x2d, 0x3f, 0x8f, 0x07, 0xf3, - 0x9a, 0x7f, 0x6a, 0x5e, 0xe8, 0xa1, 0x65, 0xd1, 0x45, 0x69, 0x59, 0x5b, 0x85, 0x65, 0xc5, 0x03, - 0xcb, 0xaa, 0x35, 0x37, 0x07, 0xf5, 0xc3, 0x3e, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xcc, 0xe2, - 0x93, 0x45, 0xed, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/conversion_action_category.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/conversion_action_category.pb.go deleted file mode 100644 index 120f74d8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/conversion_action_category.pb.go +++ /dev/null @@ -1,144 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/conversion_action_category.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_7e5a766dec6c930f, []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_7e5a766dec6c930f, []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 (m *ConversionActionCategoryEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConversionActionCategoryEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.ConversionActionCategoryEnum_ConversionActionCategory", ConversionActionCategoryEnum_ConversionActionCategory_name, ConversionActionCategoryEnum_ConversionActionCategory_value) - proto.RegisterType((*ConversionActionCategoryEnum)(nil), "google.ads.googleads.v2.enums.ConversionActionCategoryEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/conversion_action_category.proto", fileDescriptor_7e5a766dec6c930f) -} - -var fileDescriptor_7e5a766dec6c930f = []byte{ - // 360 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xc1, 0x6a, 0xea, 0x40, - 0x14, 0x7d, 0x89, 0x3e, 0xf5, 0x8d, 0xef, 0xf1, 0x86, 0xac, 0x4a, 0xd1, 0x85, 0x7e, 0xc0, 0x04, - 0xd2, 0xdd, 0x14, 0x0a, 0x63, 0x32, 0xa6, 0xa1, 0x12, 0x43, 0x6d, 0x22, 0x94, 0x80, 0xa4, 0x49, - 0x08, 0x82, 0xce, 0x48, 0x26, 0x0a, 0xfd, 0x81, 0x7e, 0x48, 0x37, 0x85, 0x7e, 0x4a, 0x3f, 0xa5, - 0xcb, 0x7e, 0x41, 0x99, 0x89, 0x66, 0x67, 0x37, 0xc9, 0x99, 0xb9, 0xe7, 0x9c, 0x7b, 0xef, 0x19, - 0x70, 0x53, 0x70, 0x5e, 0x6c, 0x72, 0x33, 0xc9, 0x84, 0x59, 0x43, 0x89, 0x0e, 0x96, 0x99, 0xb3, - 0xfd, 0x56, 0x98, 0x29, 0x67, 0x87, 0xbc, 0x14, 0x6b, 0xce, 0x56, 0x49, 0x5a, 0xc9, 0x5f, 0x9a, - 0x54, 0x79, 0xc1, 0xcb, 0x67, 0xb4, 0x2b, 0x79, 0xc5, 0x8d, 0x61, 0x2d, 0x42, 0x49, 0x26, 0x50, - 0xa3, 0x47, 0x07, 0x0b, 0x29, 0xfd, 0xe5, 0xe0, 0x64, 0xbf, 0x5b, 0x9b, 0x09, 0x63, 0xbc, 0x4a, - 0xa4, 0x89, 0xa8,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xa8, 0xbe, 0xc4, 0x98, 0x64, 0x02, 0xe3, 0x86, 0x81, - 0x71, 0x64, 0x61, 0xac, 0x38, 0x4f, 0x1d, 0x35, 0xd8, 0xd5, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, - 0xa8, 0x58, 0x53, 0x16, 0x24, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/conversion_action_counting_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/conversion_action_counting_type.pb.go deleted file mode 100644 index 666d0725..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/conversion_action_counting_type.pb.go +++ /dev/null @@ -1,127 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/conversion_action_counting_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_605b93e01867841c, []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_605b93e01867841c, []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 (m *ConversionActionCountingTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConversionActionCountingTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.ConversionActionCountingTypeEnum_ConversionActionCountingType", ConversionActionCountingTypeEnum_ConversionActionCountingType_name, ConversionActionCountingTypeEnum_ConversionActionCountingType_value) - proto.RegisterType((*ConversionActionCountingTypeEnum)(nil), "google.ads.googleads.v2.enums.ConversionActionCountingTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/conversion_action_counting_type.proto", fileDescriptor_605b93e01867841c) -} - -var fileDescriptor_605b93e01867841c = []byte{ - // 326 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdf, 0x4a, 0xf3, 0x30, - 0x1c, 0xfd, 0xda, 0xc1, 0x27, 0x64, 0xa8, 0xb3, 0x97, 0xb2, 0x81, 0xdb, 0x03, 0xa4, 0x50, 0xef, - 0xe2, 0x55, 0x16, 0xeb, 0x18, 0xd3, 0xac, 0xa8, 0x9b, 0x28, 0x85, 0x12, 0xdb, 0x10, 0x0a, 0x5b, - 0x52, 0x96, 0x6e, 0xb0, 0x27, 0xf0, 0x3d, 0xbc, 0xf4, 0x51, 0x7c, 0x14, 0x1f, 0xc0, 0x6b, 0x49, - 0xb2, 0x15, 0x6f, 0xdc, 0x4d, 0x72, 0xf8, 0xfd, 0x39, 0xe7, 0x77, 0x0e, 0x20, 0x42, 0x29, 0xb1, - 0xe0, 0x21, 0x2b, 0x74, 0xe8, 0xa0, 0x41, 0x9b, 0x28, 0xe4, 0x72, 0xbd, 0xd4, 0x61, 0xae, 0xe4, - 0x86, 0xaf, 0x74, 0xa9, 0x64, 0xc6, 0xf2, 0xda, 0x7c, 0xb9, 0x5a, 0xcb, 0xba, 0x94, 0x22, 0xab, - 0xb7, 0x15, 0x87, 0xd5,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0x85, 0x46, 0xa8, 0x99, 0x40, 0x68, 0x1e, - 0x21, 0x64, 0x67, 0x5e, 0xff, 0xdb, 0xc3, 0x2e, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xcf, 0x82, - 0x3f, 0x56, 0x0d, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/conversion_action_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/conversion_action_status.pb.go deleted file mode 100644 index f2183703..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/conversion_action_status.pb.go +++ /dev/null @@ -1,129 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/conversion_action_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_cc35a40cdc214fda, []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_cc35a40cdc214fda, []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 (m *ConversionActionStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConversionActionStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.ConversionActionStatusEnum_ConversionActionStatus", ConversionActionStatusEnum_ConversionActionStatus_name, ConversionActionStatusEnum_ConversionActionStatus_value) - proto.RegisterType((*ConversionActionStatusEnum)(nil), "google.ads.googleads.v2.enums.ConversionActionStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/conversion_action_status.proto", fileDescriptor_cc35a40cdc214fda) -} - -var fileDescriptor_cc35a40cdc214fda = []byte{ - // 316 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xb1, 0x4e, 0xf3, 0x30, - 0x18, 0xfc, 0x9b, 0xfe, 0x2a, 0x92, 0x3b, 0x10, 0x65, 0x60, 0x28, 0x74, 0x68, 0x1f, 0xc0, 0x96, - 0xc2, 0x66, 0x58, 0x9c, 0xc6, 0x94, 0x0a, 0x70, 0x2b, 0xaa, 0x06, 0x09, 0x45, 0x42, 0xa6, 0x89, - 0xac, 0x4a, 0x8d, 0x1d, 0xc5, 0x49, 0x06, 0x1e, 0x87, 0x91, 0x47, 0xe1, 0x51, 0x98, 0x78, 0x04, - 0x64, 0xa7, 0xc9, 0x54, 0x58, 0xec, 0xfb, 0x7c, 0xdf, 0x9d, 0xce, 0x07, 0xae, 0x85, 0x52, 0x62, - 0x9f, 0x22, 0x9e, 0x68, 0xd4, 0x40, 0x83, 0x6a, 0x1f, 0xa5, 0xb2, 0xca, 0x34, 0xda, 0x2a, 0x59, - 0xa7, 0x85, 0xde, 0x29, 0xf9, 0xc2, 0xb7, 0xa5, 0xb9, 0x74, 0xc9, 0xcb, 0x4a, 0xc3, 0xbc, 0x50, - 0xa5, 0xf2, 0xc6, 0x8d, 0x04, 0xf2, 0x44, 0xc3, 0x4e, 0x0d, 0x6b, 0x1f, 0x5a, 0xf5, 0xe8, 0xa2, - 0x35, 0xcf, 0x77, 0x88, 0x4b, 0xa9, 0x4a, 0x6e, 0x2c, 0x0e, 0xe2, 0xe9, 0x1b, 0x18, 0xcd, 0x3a, - 0x7b, 0x62, 0xdd, 0xd7, 0xd6, 0x9c, 0xca, 0x2a, 0x9b, 0xc6, 0xe0, 0xec, 0x38, 0xeb, 0x9d, 0x82, - 0xe1, 0x86, 0xad, 0x57, 0x74, 0xb6, 0xb8, 0x59, 0xd0, 0xd0, 0xfd, 0xe7, 0x0d, 0xc1, 0xc9, 0x86, - 0xdd, 0xb1, 0xe5, 0x13, 0x73, 0x7b, 0x66, 0xa0, 0x8c, 0x04, 0xf7, 0x34, 0x74, 0x1d, 0x33, 0x3c, - 0xd2, 0x87, 0x65, 0x44, 0x43, 0xb7, 0xef, 0x01, 0x30, 0xb8, 0x5d, 0x84, 0x21, 0x65, 0xee, 0xff, - 0xe0, 0xbb, 0x07, 0x26, 0x5b, 0x95, 0xc1, 0x3f, 0xf3, 0x07, 0xe7, 0xc7, 0x13, 0xac, 0x4c, 0xfc, - 0x55, 0xef, 0x39, 0x38, 0xa8, 0x85, 0xda, 0x73, 0x29, 0xa0, 0x2a, 0x04, 0x12, 0xa9, 0xb4, 0x9f, - 0x6b, 0xbb, 0xcc, 0x77, 0xfa, 0x97, 0x6a, 0xaf, 0xec, 0xf9, 0xee, 0xf4, 0xe7, 0x84, 0x7c, 0x38, - 0xe3, 0x79, 0x63, 0x45, 0x12, 0x0d, 0x1b, 0x68, 0x50, 0xe4, 0x43, 0xd3, 0x85, 0xfe, 0x6c, 0xf9, - 0x98, 0x24, 0x3a, 0xee, 0xf8, 0x38, 0xf2, 0x63, 0xcb, 0x7f, 0x39, 0x93, 0xe6, 0x11, 0x63, 0x92, - 0x68, 0x8c, 0xbb, 0x0d, 0x8c, 0x23, 0x1f, 0x63, 0xbb, 0xf3, 0x3a, 0xb0, 0xc1, 0x2e, 0x7f, 0x02, - 0x00, 0x00, 0xff, 0xff, 0xb6, 0x6c, 0x40, 0x82, 0xf2, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/conversion_action_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/conversion_action_type.pb.go deleted file mode 100644 index 803227f4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/conversion_action_type.pb.go +++ /dev/null @@ -1,158 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/conversion_action_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_79b0fd9c1f19b7b1, []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_79b0fd9c1f19b7b1, []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 (m *ConversionActionTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConversionActionTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.ConversionActionTypeEnum_ConversionActionType", ConversionActionTypeEnum_ConversionActionType_name, ConversionActionTypeEnum_ConversionActionType_value) - proto.RegisterType((*ConversionActionTypeEnum)(nil), "google.ads.googleads.v2.enums.ConversionActionTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/conversion_action_type.proto", fileDescriptor_79b0fd9c1f19b7b1) -} - -var fileDescriptor_79b0fd9c1f19b7b1 = []byte{ - // 398 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xdf, 0x8e, 0x94, 0x30, - 0x14, 0xc6, 0x85, 0xd5, 0x5d, 0xed, 0x6a, 0xac, 0x64, 0x2f, 0xd6, 0x3f, 0x1b, 0xb3, 0xfb, 0x00, - 0x25, 0xc1, 0xbb, 0x7a, 0x55, 0xa0, 0x22, 0x59, 0x02, 0x8d, 0x0c, 0x43, 0x34, 0x24, 0x04, 0x07, - 0x42, 0x26, 0xd9, 0x69, 0xc9, 0x94, 0x99, 0x64, 0x5e, 0xc7, 0x4b, 0x1f, 0xc5, 0x5b, 0xdf, 0xc2, - 0x0b, 0xe3, 0x23, 0x98, 0xb6, 0x42, 0xbc, 0x18, 0xbd, 0x81, 0xd3, 0xf3, 0x9d, 0xef, 0x77, 0xda, - 0x73, 0x00, 0xee, 0x85, 0xe8, 0xef, 0x3a, 0xb7, 0x69, 0xa5, 0x6b, 0x42, 0x15, 0xed, 0x3d, 0xb7, - 0xe3, 0xbb, 0x8d, 0x74, 0x57, 0x82, 0xef, 0xbb, 0xad, 0x5c, 0x0b, 0x5e, 0x37, 0xab, 0x51, 0xfd, - 0xc6, 0xc3, 0xd0, 0xa1, 0x61, 0x2b, 0x46, 0xe1, 0x5c, 0x19, 0x03, 0x6a, 0x5a, 0x89, 0x66, 0x2f, - 0xda, 0x7b, 0x48, 0x7b, 0x5f, 0xbc, 0x9a, 0xd0, 0xc3, 0xda, 0x6d, 0x38, 0x17, 0x63, 0xa3, 0x00, - 0xd2, 0x98, 0x6f, 0x7e, 0x59, 0xe0, 0x32, 0x98, 0xe9, 0x44, 0xc3, 0x17, 0x87, 0xa1, 0xa3, 0x7c, - 0xb7, 0xb9, 0xf9, 0x6e, 0x81, 0x8b, 0x63, 0xa2, 0xf3, 0x14, 0x9c, 0x17, 0x69, 0xce, 0x68, 0x10, - 0xbf, 0x8b, 0x69, 0x08, 0xef, 0x39, 0xe7, 0xe0, 0xac, 0x48, 0x6f, 0xd3, 0xac, 0x4c, 0xa1, 0xa5, - 0x0e, 0x24, 0xac, 0x03, 0x92, 0x24, 0xd0, 0x76, 0x9e, 0x81, 0x27, 0x41, 0x12, 0x07, 0xb7, 0xf5, - 0x22, 0x33, 0xa9, 0x13, 0xe7, 0x12, 0x5c, 0x44, 0x59, 0x16, 0x25, 0xb4, 0x66, 0x09, 0xf9, 0x58, - 0x87, 0x59, 0x99, 0x26, 0x19, 0x09, 0xe1, 0x7d, 0xe7, 0x35, 0x78, 0xf9, 0xb7, 0x12, 0xa7, 0x35, - 0x61, 0xac, 0x66, 0xc5, 0x87, 0xe0, 0x3d, 0xc9, 0x29, 0x7c, 0xe0, 0x40, 0xf0, 0xb8, 0x60, 0xaa, - 0x58, 0xb3, 0x72, 0x78, 0xaa, 0xf8, 0x53, 0x46, 0xb5, 0xc9, 0xe1, 0x99, 0xea, 0x5f, 0x52, 0x9f, - 0x91, 0x88, 0xc2, 0x87, 0xca, 0x51, 0x52, 0x3f, 0x8f, 0x17, 0xd4, 0xb4, 0x7f, 0xe4, 0xff, 0xb4, - 0xc0, 0xf5, 0x4a, 0x6c, 0xd0, 0x7f, 0xc7, 0xe6, 0x3f, 0x3f, 0xf6, 0x70, 0xa6, 0x66, 0xc6, 0xac, - 0x4f, 0xfe, 0x1f, 0x6f, 0x2f, 0xee, 0x1a, 0xde, 0x23, 0xb1, 0xed, 0xdd, 0xbe, 0xe3, 0x7a, 0xa2, - 0xd3, 0xfa, 0x86, 0xb5, 0xfc, 0xc7, 0x36, 0xdf, 0xea, 0xef, 0x17, 0xfb, 0x24, 0x22, 0xe4, 0xab, - 0x7d, 0x15, 0x19, 0x14, 0x69, 0x25, 0x32, 0xa1, 0x8a, 0x96, 0x1e, 0x52, 0x1b, 0x90, 0xdf, 0x26, - 0xbd, 0x22, 0xad, 0xac, 0x66, 0xbd, 0x5a, 0x7a, 0x95, 0xd6, 0x7f, 0xd8, 0xd7, 0x26, 0x89, 0x31, - 0x69, 0x25, 0xc6, 0x73, 0x05, 0xc6, 0x4b, 0x0f, 0x63, 0x5d, 0xf3, 0xf9, 0x54, 0x5f, 0xec, 0xcd, - 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x55, 0x44, 0x0b, 0x72, 0x65, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/conversion_adjustment_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/conversion_adjustment_type.pb.go deleted file mode 100644 index 562b4243..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/conversion_adjustment_type.pb.go +++ /dev/null @@ -1,126 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/conversion_adjustment_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The different actions advertisers can take to adjust the conversions that -// they already reported. Retractions negate a conversion. Restatements change -// the value of a conversion. -type ConversionAdjustmentTypeEnum_ConversionAdjustmentType int32 - -const ( - // Not specified. - ConversionAdjustmentTypeEnum_UNSPECIFIED ConversionAdjustmentTypeEnum_ConversionAdjustmentType = 0 - // Represents value unknown in this version. - ConversionAdjustmentTypeEnum_UNKNOWN ConversionAdjustmentTypeEnum_ConversionAdjustmentType = 1 - // Negates a conversion so that its total value and count are both zero. - ConversionAdjustmentTypeEnum_RETRACTION ConversionAdjustmentTypeEnum_ConversionAdjustmentType = 2 - // Changes the value of a conversion. - ConversionAdjustmentTypeEnum_RESTATEMENT ConversionAdjustmentTypeEnum_ConversionAdjustmentType = 3 -) - -var ConversionAdjustmentTypeEnum_ConversionAdjustmentType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "RETRACTION", - 3: "RESTATEMENT", -} - -var ConversionAdjustmentTypeEnum_ConversionAdjustmentType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "RETRACTION": 2, - "RESTATEMENT": 3, -} - -func (x ConversionAdjustmentTypeEnum_ConversionAdjustmentType) String() string { - return proto.EnumName(ConversionAdjustmentTypeEnum_ConversionAdjustmentType_name, int32(x)) -} - -func (ConversionAdjustmentTypeEnum_ConversionAdjustmentType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4090644fcc2b3ec1, []int{0, 0} -} - -// Container for enum describing conversion adjustment types. -type ConversionAdjustmentTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ConversionAdjustmentTypeEnum) Reset() { *m = ConversionAdjustmentTypeEnum{} } -func (m *ConversionAdjustmentTypeEnum) String() string { return proto.CompactTextString(m) } -func (*ConversionAdjustmentTypeEnum) ProtoMessage() {} -func (*ConversionAdjustmentTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_4090644fcc2b3ec1, []int{0} -} - -func (m *ConversionAdjustmentTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConversionAdjustmentTypeEnum.Unmarshal(m, b) -} -func (m *ConversionAdjustmentTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConversionAdjustmentTypeEnum.Marshal(b, m, deterministic) -} -func (m *ConversionAdjustmentTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConversionAdjustmentTypeEnum.Merge(m, src) -} -func (m *ConversionAdjustmentTypeEnum) XXX_Size() int { - return xxx_messageInfo_ConversionAdjustmentTypeEnum.Size(m) -} -func (m *ConversionAdjustmentTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_ConversionAdjustmentTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_ConversionAdjustmentTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.ConversionAdjustmentTypeEnum_ConversionAdjustmentType", ConversionAdjustmentTypeEnum_ConversionAdjustmentType_name, ConversionAdjustmentTypeEnum_ConversionAdjustmentType_value) - proto.RegisterType((*ConversionAdjustmentTypeEnum)(nil), "google.ads.googleads.v2.enums.ConversionAdjustmentTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/conversion_adjustment_type.proto", fileDescriptor_4090644fcc2b3ec1) -} - -var fileDescriptor_4090644fcc2b3ec1 = []byte{ - // 318 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdf, 0x4a, 0xf3, 0x30, - 0x1c, 0xfd, 0xd6, 0xc1, 0x27, 0x64, 0xa0, 0xa5, 0x57, 0x22, 0xdb, 0xc5, 0xf6, 0x00, 0x29, 0xd4, - 0xbb, 0x08, 0x42, 0x36, 0xe3, 0x18, 0x62, 0x37, 0xb6, 0x6c, 0xa2, 0x14, 0x46, 0x5c, 0x42, 0xa8, - 0xac, 0x49, 0x59, 0xb2, 0xc1, 0x5e, 0xc7, 0x4b, 0x1f, 0xc5, 0x47, 0xf1, 0xd2, 0x27, 0x90, 0x26, - 0xae, 0x77, 0xf5, 0xa6, 0x1c, 0x7a, 0xfe, 0xfc, 0x4e, 0x0e, 0xb8, 0x95, 0x5a, 0xcb, 0xad, 0x88, - 0x19, 0x37, 0xb1, 0x87, 0x15, 0x3a, 0x24, 0xb1, 0x50, 0xfb, 0xc2, 0xc4, 0x1b, 0xad, 0x0e, 0x62, - 0x67, 0x72, 0xad, 0xd6, 0x8c, 0xbf, 0xed, 0x8d, 0x2d, 0x84, 0xb2, 0x6b, 0x7b, 0x2c, 0x05, 0x2c, - 0x77, 0xda, 0xea, 0xa8, 0xe7, 0x4d, 0x90, 0x71, 0x03, 0x6b, 0x3f, 0x3c, 0x24, 0xd0, 0xf9, 0xaf, - 0xba, 0xa7, 0xf8, 0x32, 0x8f, 0x99, 0x52, 0xda, 0x32, 0x9b, 0x6b, 0x65, 0xbc, 0x79, 0x70, 0x04, - 0xdd, 0x51, 0x7d, 0x00, 0xd7, 0xf9, 0xf4, 0x58, 0x0a, 0xa2, 0xf6, 0xc5, 0xe0, 0x19, 0x5c, 0x36, - 0xf1, 0xd1, 0x05, 0xe8, 0x2c, 0xd3, 0xc5, 0x8c, 0x8c, 0x26, 0xf7, 0x13, 0x72, 0x17, 0xfe, 0x8b, - 0x3a, 0xe0, 0x6c, 0x99, 0x3e, 0xa4, 0xd3, 0xa7, 0x34, 0x6c, 0x45, 0xe7, 0x00, 0xcc, 0x09, 0x9d, - 0xe3, 0x11, 0x9d, 0x4c, 0xd3, 0x30, 0xa8, 0xd4, 0x73, 0xb2, 0xa0, 0x98, 0x92, 0x47, 0x92, 0xd2, - 0xb0, 0x3d, 0xfc, 0x6e, 0x81, 0xfe, 0x46, 0x17, 0xf0, 0xcf, 0xfa, 0xc3, 0x5e, 0xd3, 0xf9, 0x59, - 0xd5, 0x7f, 0xd6, 0x7a, 0x19, 0xfe, 0xfa, 0xa5, 0xde, 0x32, 0x25, 0xa1, 0xde, 0xc9, 0x58, 0x0a, - 0xe5, 0x5e, 0x77, 0x9a, 0xb3, 0xcc, 0x4d, 0xc3, 0xba, 0x37, 0xee, 0xfb, 0x1e, 0xb4, 0xc7, 0x18, - 0x7f, 0x04, 0xbd, 0xb1, 0x8f, 0xc2, 0xdc, 0x40, 0x0f, 0x2b, 0xb4, 0x4a, 0x60, 0x35, 0x85, 0xf9, - 0x3c, 0xf1, 0x19, 0xe6, 0x26, 0xab, 0xf9, 0x6c, 0x95, 0x64, 0x8e, 0xff, 0x0a, 0xfa, 0xfe, 0x27, - 0x42, 0x98, 0x1b, 0x84, 0x6a, 0x05, 0x42, 0xab, 0x04, 0x21, 0xa7, 0x79, 0xfd, 0xef, 0x8a, 0x5d, - 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0xa6, 0xf3, 0xf0, 0xf5, 0xf5, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/conversion_attribution_event_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/conversion_attribution_event_type.pb.go deleted file mode 100644 index 32e77f78..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/conversion_attribution_event_type.pb.go +++ /dev/null @@ -1,125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/conversion_attribution_event_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The event type of conversions that are attributed to. -type ConversionAttributionEventTypeEnum_ConversionAttributionEventType int32 - -const ( - // Not specified. - ConversionAttributionEventTypeEnum_UNSPECIFIED ConversionAttributionEventTypeEnum_ConversionAttributionEventType = 0 - // Represents value unknown in this version. - ConversionAttributionEventTypeEnum_UNKNOWN ConversionAttributionEventTypeEnum_ConversionAttributionEventType = 1 - // The conversion is attributed to an impression. - ConversionAttributionEventTypeEnum_IMPRESSION ConversionAttributionEventTypeEnum_ConversionAttributionEventType = 2 - // The conversion is attributed to an interaction. - ConversionAttributionEventTypeEnum_INTERACTION ConversionAttributionEventTypeEnum_ConversionAttributionEventType = 3 -) - -var ConversionAttributionEventTypeEnum_ConversionAttributionEventType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "IMPRESSION", - 3: "INTERACTION", -} - -var ConversionAttributionEventTypeEnum_ConversionAttributionEventType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "IMPRESSION": 2, - "INTERACTION": 3, -} - -func (x ConversionAttributionEventTypeEnum_ConversionAttributionEventType) String() string { - return proto.EnumName(ConversionAttributionEventTypeEnum_ConversionAttributionEventType_name, int32(x)) -} - -func (ConversionAttributionEventTypeEnum_ConversionAttributionEventType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e6acfd67e05fcab3, []int{0, 0} -} - -// Container for enum indicating the event type the conversion is attributed to. -type ConversionAttributionEventTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ConversionAttributionEventTypeEnum) Reset() { *m = ConversionAttributionEventTypeEnum{} } -func (m *ConversionAttributionEventTypeEnum) String() string { return proto.CompactTextString(m) } -func (*ConversionAttributionEventTypeEnum) ProtoMessage() {} -func (*ConversionAttributionEventTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_e6acfd67e05fcab3, []int{0} -} - -func (m *ConversionAttributionEventTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConversionAttributionEventTypeEnum.Unmarshal(m, b) -} -func (m *ConversionAttributionEventTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConversionAttributionEventTypeEnum.Marshal(b, m, deterministic) -} -func (m *ConversionAttributionEventTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConversionAttributionEventTypeEnum.Merge(m, src) -} -func (m *ConversionAttributionEventTypeEnum) XXX_Size() int { - return xxx_messageInfo_ConversionAttributionEventTypeEnum.Size(m) -} -func (m *ConversionAttributionEventTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_ConversionAttributionEventTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_ConversionAttributionEventTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.ConversionAttributionEventTypeEnum_ConversionAttributionEventType", ConversionAttributionEventTypeEnum_ConversionAttributionEventType_name, ConversionAttributionEventTypeEnum_ConversionAttributionEventType_value) - proto.RegisterType((*ConversionAttributionEventTypeEnum)(nil), "google.ads.googleads.v2.enums.ConversionAttributionEventTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/conversion_attribution_event_type.proto", fileDescriptor_e6acfd67e05fcab3) -} - -var fileDescriptor_e6acfd67e05fcab3 = []byte{ - // 325 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdf, 0x4a, 0xfb, 0x30, - 0x18, 0xfd, 0xb5, 0x83, 0x9f, 0x90, 0x81, 0x8e, 0x5e, 0x8a, 0x13, 0x36, 0xef, 0x53, 0xa8, 0x77, - 0xf1, 0x2a, 0x9b, 0x71, 0x14, 0xb1, 0x2b, 0xfb, 0x27, 0x48, 0x61, 0x64, 0x6b, 0x08, 0x85, 0x2d, - 0x29, 0x4d, 0x56, 0xd8, 0x03, 0xf8, 0x22, 0x5e, 0xfa, 0x28, 0x3e, 0x8a, 0x4f, 0xe0, 0xa5, 0x24, - 0x71, 0xf5, 0xca, 0xde, 0x84, 0x43, 0xbe, 0xf3, 0x9d, 0xf3, 0x9d, 0x03, 0x08, 0x97, 0x92, 0xef, - 0x58, 0x48, 0x73, 0x15, 0x3a, 0x68, 0x50, 0x1d, 0x85, 0x4c, 0x1c, 0xf6, 0x2a, 0xdc, 0x4a, 0x51, - 0xb3, 0x4a, 0x15, 0x52, 0xac, 0xa9, 0xd6, 0x55, 0xb1, 0x39, 0x68, 0x83, 0x59, 0xcd, 0x84, 0x5e, - 0xeb, 0x63, 0xc9, 0x60, 0x59, 0x49, 0x2d, 0x83, 0xbe, 0xdb, 0x85, 0x34, 0x57, 0xb0, 0x91, 0x81, - 0x75, 0x04, 0xad, 0xcc, 0xe5, 0xd5, 0xc9, 0xa5, 0x2c, 0x42, 0x2a, 0x84, 0xd4, 0xd4, 0xc8, 0x28, - 0xb7, 0x3c, 0x7c, 0xf5, 0xc0, 0x70, 0xdc, 0x18, 0xe1, 0x5f, 0x1f, 0x62, 0x6c, 0x16, 0xc7, 0x92, - 0x11, 0x71, 0xd8, 0x0f, 0xd7, 0xe0, 0xba, 0x9d, 0x15, 0x5c, 0x80, 0xee, 0x32, 0x99, 0xa7, 0x64, - 0x1c, 0x3f, 0xc4, 0xe4, 0xbe, 0xf7, 0x2f, 0xe8, 0x82, 0xb3, 0x65, 0xf2, 0x98, 0x4c, 0x9f, 0x93, - 0x9e, 0x17, 0x9c, 0x03, 0x10, 0x3f, 0xa5, 0x33, 0x32, 0x9f, 0xc7, 0xd3, 0xa4, 0xe7, 0x1b, 0x76, - 0x9c, 0x2c, 0xc8, 0x0c, 0x8f, 0x17, 0xe6, 0xa3, 0x33, 0xfa, 0xf2, 0xc0, 0x60, 0x2b, 0xf7, 0xb0, - 0x35, 0xcb, 0xe8, 0xa6, 0xfd, 0x88, 0xd4, 0x44, 0x4a, 0xbd, 0x97, 0xd1, 0x8f, 0x0a, 0x97, 0x3b, - 0x2a, 0x38, 0x94, 0x15, 0x0f, 0x39, 0x13, 0x36, 0xf0, 0xa9, 0xe8, 0xb2, 0x50, 0x7f, 0xf4, 0x7e, - 0x67, 0xdf, 0x37, 0xbf, 0x33, 0xc1, 0xf8, 0xdd, 0xef, 0x4f, 0x9c, 0x14, 0xce, 0x15, 0x74, 0xd0, - 0xa0, 0x55, 0x04, 0x4d, 0x2d, 0xea, 0xe3, 0x34, 0xcf, 0x70, 0xae, 0xb2, 0x66, 0x9e, 0xad, 0xa2, - 0xcc, 0xce, 0x3f, 0xfd, 0x81, 0xfb, 0x44, 0x08, 0xe7, 0x0a, 0xa1, 0x86, 0x81, 0xd0, 0x2a, 0x42, - 0xc8, 0x72, 0x36, 0xff, 0xed, 0x61, 0xb7, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xb8, 0x95, 0xe4, - 0x8d, 0x0f, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/conversion_lag_bucket.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/conversion_lag_bucket.pb.go deleted file mode 100644 index e346c35d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/conversion_lag_bucket.pb.go +++ /dev/null @@ -1,222 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/conversion_lag_bucket.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum representing the number of days between impression and conversion. -type ConversionLagBucketEnum_ConversionLagBucket int32 - -const ( - // Not specified. - ConversionLagBucketEnum_UNSPECIFIED ConversionLagBucketEnum_ConversionLagBucket = 0 - // Used for return value only. Represents value unknown in this version. - ConversionLagBucketEnum_UNKNOWN ConversionLagBucketEnum_ConversionLagBucket = 1 - // Conversion lag bucket from 0 to 1 day. 0 day is included, 1 day is not. - ConversionLagBucketEnum_LESS_THAN_ONE_DAY ConversionLagBucketEnum_ConversionLagBucket = 2 - // Conversion lag bucket from 1 to 2 days. 1 day is included, 2 days is not. - ConversionLagBucketEnum_ONE_TO_TWO_DAYS ConversionLagBucketEnum_ConversionLagBucket = 3 - // Conversion lag bucket from 2 to 3 days. 2 days is included, - // 3 days is not. - ConversionLagBucketEnum_TWO_TO_THREE_DAYS ConversionLagBucketEnum_ConversionLagBucket = 4 - // Conversion lag bucket from 3 to 4 days. 3 days is included, - // 4 days is not. - ConversionLagBucketEnum_THREE_TO_FOUR_DAYS ConversionLagBucketEnum_ConversionLagBucket = 5 - // Conversion lag bucket from 4 to 5 days. 4 days is included, - // 5 days is not. - ConversionLagBucketEnum_FOUR_TO_FIVE_DAYS ConversionLagBucketEnum_ConversionLagBucket = 6 - // Conversion lag bucket from 5 to 6 days. 5 days is included, - // 6 days is not. - ConversionLagBucketEnum_FIVE_TO_SIX_DAYS ConversionLagBucketEnum_ConversionLagBucket = 7 - // Conversion lag bucket from 6 to 7 days. 6 days is included, - // 7 days is not. - ConversionLagBucketEnum_SIX_TO_SEVEN_DAYS ConversionLagBucketEnum_ConversionLagBucket = 8 - // Conversion lag bucket from 7 to 8 days. 7 days is included, - // 8 days is not. - ConversionLagBucketEnum_SEVEN_TO_EIGHT_DAYS ConversionLagBucketEnum_ConversionLagBucket = 9 - // Conversion lag bucket from 8 to 9 days. 8 days is included, - // 9 days is not. - ConversionLagBucketEnum_EIGHT_TO_NINE_DAYS ConversionLagBucketEnum_ConversionLagBucket = 10 - // Conversion lag bucket from 9 to 10 days. 9 days is included, - // 10 days is not. - ConversionLagBucketEnum_NINE_TO_TEN_DAYS ConversionLagBucketEnum_ConversionLagBucket = 11 - // Conversion lag bucket from 10 to 11 days. 10 days is included, - // 11 days is not. - ConversionLagBucketEnum_TEN_TO_ELEVEN_DAYS ConversionLagBucketEnum_ConversionLagBucket = 12 - // Conversion lag bucket from 11 to 12 days. 11 days is included, - // 12 days is not. - ConversionLagBucketEnum_ELEVEN_TO_TWELVE_DAYS ConversionLagBucketEnum_ConversionLagBucket = 13 - // Conversion lag bucket from 12 to 13 days. 12 days is included, - // 13 days is not. - ConversionLagBucketEnum_TWELVE_TO_THIRTEEN_DAYS ConversionLagBucketEnum_ConversionLagBucket = 14 - // Conversion lag bucket from 13 to 14 days. 13 days is included, - // 14 days is not. - ConversionLagBucketEnum_THIRTEEN_TO_FOURTEEN_DAYS ConversionLagBucketEnum_ConversionLagBucket = 15 - // Conversion lag bucket from 14 to 21 days. 14 days is included, - // 21 days is not. - ConversionLagBucketEnum_FOURTEEN_TO_TWENTY_ONE_DAYS ConversionLagBucketEnum_ConversionLagBucket = 16 - // Conversion lag bucket from 21 to 30 days. 21 days is included, - // 30 days is not. - ConversionLagBucketEnum_TWENTY_ONE_TO_THIRTY_DAYS ConversionLagBucketEnum_ConversionLagBucket = 17 - // Conversion lag bucket from 30 to 45 days. 30 days is included, - // 45 days is not. - ConversionLagBucketEnum_THIRTY_TO_FORTY_FIVE_DAYS ConversionLagBucketEnum_ConversionLagBucket = 18 - // Conversion lag bucket from 45 to 60 days. 45 days is included, - // 60 days is not. - ConversionLagBucketEnum_FORTY_FIVE_TO_SIXTY_DAYS ConversionLagBucketEnum_ConversionLagBucket = 19 - // Conversion lag bucket from 60 to 90 days. 60 days is included, - // 90 days is not. - ConversionLagBucketEnum_SIXTY_TO_NINETY_DAYS ConversionLagBucketEnum_ConversionLagBucket = 20 -) - -var ConversionLagBucketEnum_ConversionLagBucket_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "LESS_THAN_ONE_DAY", - 3: "ONE_TO_TWO_DAYS", - 4: "TWO_TO_THREE_DAYS", - 5: "THREE_TO_FOUR_DAYS", - 6: "FOUR_TO_FIVE_DAYS", - 7: "FIVE_TO_SIX_DAYS", - 8: "SIX_TO_SEVEN_DAYS", - 9: "SEVEN_TO_EIGHT_DAYS", - 10: "EIGHT_TO_NINE_DAYS", - 11: "NINE_TO_TEN_DAYS", - 12: "TEN_TO_ELEVEN_DAYS", - 13: "ELEVEN_TO_TWELVE_DAYS", - 14: "TWELVE_TO_THIRTEEN_DAYS", - 15: "THIRTEEN_TO_FOURTEEN_DAYS", - 16: "FOURTEEN_TO_TWENTY_ONE_DAYS", - 17: "TWENTY_ONE_TO_THIRTY_DAYS", - 18: "THIRTY_TO_FORTY_FIVE_DAYS", - 19: "FORTY_FIVE_TO_SIXTY_DAYS", - 20: "SIXTY_TO_NINETY_DAYS", -} - -var ConversionLagBucketEnum_ConversionLagBucket_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "LESS_THAN_ONE_DAY": 2, - "ONE_TO_TWO_DAYS": 3, - "TWO_TO_THREE_DAYS": 4, - "THREE_TO_FOUR_DAYS": 5, - "FOUR_TO_FIVE_DAYS": 6, - "FIVE_TO_SIX_DAYS": 7, - "SIX_TO_SEVEN_DAYS": 8, - "SEVEN_TO_EIGHT_DAYS": 9, - "EIGHT_TO_NINE_DAYS": 10, - "NINE_TO_TEN_DAYS": 11, - "TEN_TO_ELEVEN_DAYS": 12, - "ELEVEN_TO_TWELVE_DAYS": 13, - "TWELVE_TO_THIRTEEN_DAYS": 14, - "THIRTEEN_TO_FOURTEEN_DAYS": 15, - "FOURTEEN_TO_TWENTY_ONE_DAYS": 16, - "TWENTY_ONE_TO_THIRTY_DAYS": 17, - "THIRTY_TO_FORTY_FIVE_DAYS": 18, - "FORTY_FIVE_TO_SIXTY_DAYS": 19, - "SIXTY_TO_NINETY_DAYS": 20, -} - -func (x ConversionLagBucketEnum_ConversionLagBucket) String() string { - return proto.EnumName(ConversionLagBucketEnum_ConversionLagBucket_name, int32(x)) -} - -func (ConversionLagBucketEnum_ConversionLagBucket) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_062752a1f0559bca, []int{0, 0} -} - -// Container for enum representing the number of days between impression and -// conversion. -type ConversionLagBucketEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ConversionLagBucketEnum) Reset() { *m = ConversionLagBucketEnum{} } -func (m *ConversionLagBucketEnum) String() string { return proto.CompactTextString(m) } -func (*ConversionLagBucketEnum) ProtoMessage() {} -func (*ConversionLagBucketEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_062752a1f0559bca, []int{0} -} - -func (m *ConversionLagBucketEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConversionLagBucketEnum.Unmarshal(m, b) -} -func (m *ConversionLagBucketEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConversionLagBucketEnum.Marshal(b, m, deterministic) -} -func (m *ConversionLagBucketEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConversionLagBucketEnum.Merge(m, src) -} -func (m *ConversionLagBucketEnum) XXX_Size() int { - return xxx_messageInfo_ConversionLagBucketEnum.Size(m) -} -func (m *ConversionLagBucketEnum) XXX_DiscardUnknown() { - xxx_messageInfo_ConversionLagBucketEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_ConversionLagBucketEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.ConversionLagBucketEnum_ConversionLagBucket", ConversionLagBucketEnum_ConversionLagBucket_name, ConversionLagBucketEnum_ConversionLagBucket_value) - proto.RegisterType((*ConversionLagBucketEnum)(nil), "google.ads.googleads.v2.enums.ConversionLagBucketEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/conversion_lag_bucket.proto", fileDescriptor_062752a1f0559bca) -} - -var fileDescriptor_062752a1f0559bca = []byte{ - // 512 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x93, 0xd1, 0x6e, 0xda, 0x30, - 0x14, 0x86, 0x07, 0x65, 0xed, 0x66, 0xb6, 0x91, 0x1a, 0x3a, 0xe8, 0x5a, 0x34, 0xb5, 0x0f, 0x90, - 0x48, 0xec, 0x6a, 0xd9, 0x55, 0x68, 0x5d, 0x88, 0x86, 0x1c, 0x44, 0x0c, 0x1d, 0x13, 0x92, 0x95, - 0x92, 0x28, 0x42, 0x83, 0x18, 0x61, 0xe0, 0x75, 0x26, 0xed, 0x72, 0xaf, 0xb0, 0x37, 0xd8, 0xa3, - 0x4c, 0xda, 0x3b, 0x4c, 0xf6, 0x89, 0xc3, 0x2e, 0xba, 0xdd, 0x44, 0xe7, 0xff, 0xce, 0x39, 0x7f, - 0xec, 0xa3, 0x63, 0xf4, 0x3e, 0x15, 0x22, 0x5d, 0x26, 0x4e, 0x14, 0x4b, 0x07, 0x42, 0x15, 0xed, - 0x3b, 0x4e, 0x92, 0xed, 0x56, 0xd2, 0x99, 0x8b, 0x6c, 0x9f, 0x6c, 0xe4, 0x42, 0x64, 0x7c, 0x19,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 0xd3, 0xf9, 0x5f, 0xe5, 0x2b, 0x80, - 0xae, 0xeb, 0xc5, 0xd2, 0x75, 0x8b, 0x0a, 0xd7, 0x9d, 0x74, 0x5c, 0x57, 0xd7, 0x3c, 0x1c, 0xeb, - 0x83, 0xbd, 0xfb, 0x13, 0x00, 0x00, 0xff, 0xff, 0x7c, 0x58, 0x3a, 0x18, 0xae, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/conversion_or_adjustment_lag_bucket.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/conversion_or_adjustment_lag_bucket.pb.go deleted file mode 100644 index c93342ae..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/conversion_or_adjustment_lag_bucket.pb.go +++ /dev/null @@ -1,348 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/conversion_or_adjustment_lag_bucket.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum representing the number of days between the impression and the -// conversion or between the impression and adjustments to the conversion. -type ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket int32 - -const ( - // Not specified. - ConversionOrAdjustmentLagBucketEnum_UNSPECIFIED ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 0 - // Used for return value only. Represents value unknown in this version. - ConversionOrAdjustmentLagBucketEnum_UNKNOWN ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 1 - // Conversion lag bucket from 0 to 1 day. 0 day is included, 1 day is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_LESS_THAN_ONE_DAY ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 2 - // Conversion lag bucket from 1 to 2 days. 1 day is included, 2 days is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_ONE_TO_TWO_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 3 - // Conversion lag bucket from 2 to 3 days. 2 days is included, - // 3 days is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_TWO_TO_THREE_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 4 - // Conversion lag bucket from 3 to 4 days. 3 days is included, - // 4 days is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_THREE_TO_FOUR_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 5 - // Conversion lag bucket from 4 to 5 days. 4 days is included, - // 5 days is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_FOUR_TO_FIVE_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 6 - // Conversion lag bucket from 5 to 6 days. 5 days is included, - // 6 days is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_FIVE_TO_SIX_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 7 - // Conversion lag bucket from 6 to 7 days. 6 days is included, - // 7 days is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_SIX_TO_SEVEN_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 8 - // Conversion lag bucket from 7 to 8 days. 7 days is included, - // 8 days is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_SEVEN_TO_EIGHT_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 9 - // Conversion lag bucket from 8 to 9 days. 8 days is included, - // 9 days is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_EIGHT_TO_NINE_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 10 - // Conversion lag bucket from 9 to 10 days. 9 days is included, - // 10 days is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_NINE_TO_TEN_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 11 - // Conversion lag bucket from 10 to 11 days. 10 days is included, - // 11 days is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_TEN_TO_ELEVEN_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 12 - // Conversion lag bucket from 11 to 12 days. 11 days is included, - // 12 days is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_ELEVEN_TO_TWELVE_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 13 - // Conversion lag bucket from 12 to 13 days. 12 days is included, - // 13 days is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_TWELVE_TO_THIRTEEN_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 14 - // Conversion lag bucket from 13 to 14 days. 13 days is included, - // 14 days is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_THIRTEEN_TO_FOURTEEN_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 15 - // Conversion lag bucket from 14 to 21 days. 14 days is included, - // 21 days is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_FOURTEEN_TO_TWENTY_ONE_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 16 - // Conversion lag bucket from 21 to 30 days. 21 days is included, - // 30 days is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_TWENTY_ONE_TO_THIRTY_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 17 - // Conversion lag bucket from 30 to 45 days. 30 days is included, - // 45 days is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_THIRTY_TO_FORTY_FIVE_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 18 - // Conversion lag bucket from 45 to 60 days. 45 days is included, - // 60 days is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_FORTY_FIVE_TO_SIXTY_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 19 - // Conversion lag bucket from 60 to 90 days. 60 days is included, - // 90 days is not. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_SIXTY_TO_NINETY_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 20 - // Conversion adjustment lag bucket from 0 to 1 day. 0 day is included, - // 1 day is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_LESS_THAN_ONE_DAY ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 21 - // Conversion adjustment lag bucket from 1 to 2 days. 1 day is included, - // 2 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_ONE_TO_TWO_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 22 - // Conversion adjustment lag bucket from 2 to 3 days. 2 days is included, - // 3 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_TWO_TO_THREE_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 23 - // Conversion adjustment lag bucket from 3 to 4 days. 3 days is included, - // 4 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_THREE_TO_FOUR_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 24 - // Conversion adjustment lag bucket from 4 to 5 days. 4 days is included, - // 5 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_FOUR_TO_FIVE_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 25 - // Conversion adjustment lag bucket from 5 to 6 days. 5 days is included, - // 6 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_FIVE_TO_SIX_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 26 - // Conversion adjustment lag bucket from 6 to 7 days. 6 days is included, - // 7 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_SIX_TO_SEVEN_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 27 - // Conversion adjustment lag bucket from 7 to 8 days. 7 days is included, - // 8 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_SEVEN_TO_EIGHT_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 28 - // Conversion adjustment lag bucket from 8 to 9 days. 8 days is included, - // 9 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_EIGHT_TO_NINE_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 29 - // Conversion adjustment lag bucket from 9 to 10 days. 9 days is included, - // 10 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_NINE_TO_TEN_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 30 - // Conversion adjustment lag bucket from 10 to 11 days. 10 days is included, - // 11 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_TEN_TO_ELEVEN_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 31 - // Conversion adjustment lag bucket from 11 to 12 days. 11 days is included, - // 12 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_ELEVEN_TO_TWELVE_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 32 - // Conversion adjustment lag bucket from 12 to 13 days. 12 days is included, - // 13 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_TWELVE_TO_THIRTEEN_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 33 - // Conversion adjustment lag bucket from 13 to 14 days. 13 days is included, - // 14 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_THIRTEEN_TO_FOURTEEN_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 34 - // Conversion adjustment lag bucket from 14 to 21 days. 14 days is included, - // 21 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_FOURTEEN_TO_TWENTY_ONE_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 35 - // Conversion adjustment lag bucket from 21 to 30 days. 21 days is included, - // 30 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_TWENTY_ONE_TO_THIRTY_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 36 - // Conversion adjustment lag bucket from 30 to 45 days. 30 days is included, - // 45 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_THIRTY_TO_FORTY_FIVE_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 37 - // Conversion adjustment lag bucket from 45 to 60 days. 45 days is included, - // 60 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_FORTY_FIVE_TO_SIXTY_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 38 - // Conversion adjustment lag bucket from 60 to 90 days. 60 days is included, - // 90 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_SIXTY_TO_NINETY_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 39 - // Conversion adjustment lag bucket from 90 to 145 days. 90 days is - // included, 145 days is not. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_NINETY_TO_ONE_HUNDRED_AND_FORTY_FIVE_DAYS ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 40 - // Conversion lag bucket UNKNOWN. This is for dates before conversion lag - // bucket was available in Google Ads. - ConversionOrAdjustmentLagBucketEnum_CONVERSION_UNKNOWN ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 41 - // Conversion adjustment lag bucket UNKNOWN. This is for dates before - // conversion adjustment lag bucket was available in Google Ads. - ConversionOrAdjustmentLagBucketEnum_ADJUSTMENT_UNKNOWN ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket = 42 -) - -var ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "CONVERSION_LESS_THAN_ONE_DAY", - 3: "CONVERSION_ONE_TO_TWO_DAYS", - 4: "CONVERSION_TWO_TO_THREE_DAYS", - 5: "CONVERSION_THREE_TO_FOUR_DAYS", - 6: "CONVERSION_FOUR_TO_FIVE_DAYS", - 7: "CONVERSION_FIVE_TO_SIX_DAYS", - 8: "CONVERSION_SIX_TO_SEVEN_DAYS", - 9: "CONVERSION_SEVEN_TO_EIGHT_DAYS", - 10: "CONVERSION_EIGHT_TO_NINE_DAYS", - 11: "CONVERSION_NINE_TO_TEN_DAYS", - 12: "CONVERSION_TEN_TO_ELEVEN_DAYS", - 13: "CONVERSION_ELEVEN_TO_TWELVE_DAYS", - 14: "CONVERSION_TWELVE_TO_THIRTEEN_DAYS", - 15: "CONVERSION_THIRTEEN_TO_FOURTEEN_DAYS", - 16: "CONVERSION_FOURTEEN_TO_TWENTY_ONE_DAYS", - 17: "CONVERSION_TWENTY_ONE_TO_THIRTY_DAYS", - 18: "CONVERSION_THIRTY_TO_FORTY_FIVE_DAYS", - 19: "CONVERSION_FORTY_FIVE_TO_SIXTY_DAYS", - 20: "CONVERSION_SIXTY_TO_NINETY_DAYS", - 21: "ADJUSTMENT_LESS_THAN_ONE_DAY", - 22: "ADJUSTMENT_ONE_TO_TWO_DAYS", - 23: "ADJUSTMENT_TWO_TO_THREE_DAYS", - 24: "ADJUSTMENT_THREE_TO_FOUR_DAYS", - 25: "ADJUSTMENT_FOUR_TO_FIVE_DAYS", - 26: "ADJUSTMENT_FIVE_TO_SIX_DAYS", - 27: "ADJUSTMENT_SIX_TO_SEVEN_DAYS", - 28: "ADJUSTMENT_SEVEN_TO_EIGHT_DAYS", - 29: "ADJUSTMENT_EIGHT_TO_NINE_DAYS", - 30: "ADJUSTMENT_NINE_TO_TEN_DAYS", - 31: "ADJUSTMENT_TEN_TO_ELEVEN_DAYS", - 32: "ADJUSTMENT_ELEVEN_TO_TWELVE_DAYS", - 33: "ADJUSTMENT_TWELVE_TO_THIRTEEN_DAYS", - 34: "ADJUSTMENT_THIRTEEN_TO_FOURTEEN_DAYS", - 35: "ADJUSTMENT_FOURTEEN_TO_TWENTY_ONE_DAYS", - 36: "ADJUSTMENT_TWENTY_ONE_TO_THIRTY_DAYS", - 37: "ADJUSTMENT_THIRTY_TO_FORTY_FIVE_DAYS", - 38: "ADJUSTMENT_FORTY_FIVE_TO_SIXTY_DAYS", - 39: "ADJUSTMENT_SIXTY_TO_NINETY_DAYS", - 40: "ADJUSTMENT_NINETY_TO_ONE_HUNDRED_AND_FORTY_FIVE_DAYS", - 41: "CONVERSION_UNKNOWN", - 42: "ADJUSTMENT_UNKNOWN", -} - -var ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "CONVERSION_LESS_THAN_ONE_DAY": 2, - "CONVERSION_ONE_TO_TWO_DAYS": 3, - "CONVERSION_TWO_TO_THREE_DAYS": 4, - "CONVERSION_THREE_TO_FOUR_DAYS": 5, - "CONVERSION_FOUR_TO_FIVE_DAYS": 6, - "CONVERSION_FIVE_TO_SIX_DAYS": 7, - "CONVERSION_SIX_TO_SEVEN_DAYS": 8, - "CONVERSION_SEVEN_TO_EIGHT_DAYS": 9, - "CONVERSION_EIGHT_TO_NINE_DAYS": 10, - "CONVERSION_NINE_TO_TEN_DAYS": 11, - "CONVERSION_TEN_TO_ELEVEN_DAYS": 12, - "CONVERSION_ELEVEN_TO_TWELVE_DAYS": 13, - "CONVERSION_TWELVE_TO_THIRTEEN_DAYS": 14, - "CONVERSION_THIRTEEN_TO_FOURTEEN_DAYS": 15, - "CONVERSION_FOURTEEN_TO_TWENTY_ONE_DAYS": 16, - "CONVERSION_TWENTY_ONE_TO_THIRTY_DAYS": 17, - "CONVERSION_THIRTY_TO_FORTY_FIVE_DAYS": 18, - "CONVERSION_FORTY_FIVE_TO_SIXTY_DAYS": 19, - "CONVERSION_SIXTY_TO_NINETY_DAYS": 20, - "ADJUSTMENT_LESS_THAN_ONE_DAY": 21, - "ADJUSTMENT_ONE_TO_TWO_DAYS": 22, - "ADJUSTMENT_TWO_TO_THREE_DAYS": 23, - "ADJUSTMENT_THREE_TO_FOUR_DAYS": 24, - "ADJUSTMENT_FOUR_TO_FIVE_DAYS": 25, - "ADJUSTMENT_FIVE_TO_SIX_DAYS": 26, - "ADJUSTMENT_SIX_TO_SEVEN_DAYS": 27, - "ADJUSTMENT_SEVEN_TO_EIGHT_DAYS": 28, - "ADJUSTMENT_EIGHT_TO_NINE_DAYS": 29, - "ADJUSTMENT_NINE_TO_TEN_DAYS": 30, - "ADJUSTMENT_TEN_TO_ELEVEN_DAYS": 31, - "ADJUSTMENT_ELEVEN_TO_TWELVE_DAYS": 32, - "ADJUSTMENT_TWELVE_TO_THIRTEEN_DAYS": 33, - "ADJUSTMENT_THIRTEEN_TO_FOURTEEN_DAYS": 34, - "ADJUSTMENT_FOURTEEN_TO_TWENTY_ONE_DAYS": 35, - "ADJUSTMENT_TWENTY_ONE_TO_THIRTY_DAYS": 36, - "ADJUSTMENT_THIRTY_TO_FORTY_FIVE_DAYS": 37, - "ADJUSTMENT_FORTY_FIVE_TO_SIXTY_DAYS": 38, - "ADJUSTMENT_SIXTY_TO_NINETY_DAYS": 39, - "ADJUSTMENT_NINETY_TO_ONE_HUNDRED_AND_FORTY_FIVE_DAYS": 40, - "CONVERSION_UNKNOWN": 41, - "ADJUSTMENT_UNKNOWN": 42, -} - -func (x ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket) String() string { - return proto.EnumName(ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket_name, int32(x)) -} - -func (ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1fda6d928155c719, []int{0, 0} -} - -// Container for enum representing the number of days between the impression and -// the conversion or between the impression and adjustments to the conversion. -type ConversionOrAdjustmentLagBucketEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ConversionOrAdjustmentLagBucketEnum) Reset() { *m = ConversionOrAdjustmentLagBucketEnum{} } -func (m *ConversionOrAdjustmentLagBucketEnum) String() string { return proto.CompactTextString(m) } -func (*ConversionOrAdjustmentLagBucketEnum) ProtoMessage() {} -func (*ConversionOrAdjustmentLagBucketEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_1fda6d928155c719, []int{0} -} - -func (m *ConversionOrAdjustmentLagBucketEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConversionOrAdjustmentLagBucketEnum.Unmarshal(m, b) -} -func (m *ConversionOrAdjustmentLagBucketEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConversionOrAdjustmentLagBucketEnum.Marshal(b, m, deterministic) -} -func (m *ConversionOrAdjustmentLagBucketEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConversionOrAdjustmentLagBucketEnum.Merge(m, src) -} -func (m *ConversionOrAdjustmentLagBucketEnum) XXX_Size() int { - return xxx_messageInfo_ConversionOrAdjustmentLagBucketEnum.Size(m) -} -func (m *ConversionOrAdjustmentLagBucketEnum) XXX_DiscardUnknown() { - xxx_messageInfo_ConversionOrAdjustmentLagBucketEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_ConversionOrAdjustmentLagBucketEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket", ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket_name, ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket_value) - proto.RegisterType((*ConversionOrAdjustmentLagBucketEnum)(nil), "google.ads.googleads.v2.enums.ConversionOrAdjustmentLagBucketEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/conversion_or_adjustment_lag_bucket.proto", fileDescriptor_1fda6d928155c719) -} - -var fileDescriptor_1fda6d928155c719 = []byte{ - // 741 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x95, 0xdf, 0x72, 0xd2, 0x40, - 0x14, 0xc6, 0x2d, 0xd5, 0x56, 0xb7, 0xd5, 0xe2, 0xaa, 0x55, 0xdb, 0x52, 0xca, 0x1f, 0xdb, 0xda, - 0x8b, 0x30, 0x83, 0x5e, 0x38, 0xf1, 0x2a, 0x94, 0x2d, 0x44, 0x71, 0xd3, 0x21, 0x01, 0xc4, 0x61, - 0x66, 0x27, 0x2d, 0x4c, 0x06, 0x2d, 0x49, 0x87, 0x40, 0x1f, 0x48, 0xef, 0x7c, 0x14, 0x7d, 0x13, - 0xdf, 0xc0, 0x3b, 0xe7, 0x64, 0x59, 0x48, 0x36, 0xc1, 0xde, 0x74, 0x76, 0xf2, 0x7d, 0xf9, 0xce, - 0xc9, 0x39, 0xbf, 0xb2, 0xa8, 0xe6, 0x78, 0x9e, 0x73, 0x35, 0x28, 0xd9, 0x7d, 0xbf, 0xc4, 0x8f, - 0x70, 0xba, 0x29, 0x97, 0x06, 0xee, 0x74, 0xe4, 0x97, 0x2e, 0x3d, 0xf7, 0x66, 0x30, 0xf6, 0x87, - 0x9e, 0xcb, 0xbc, 0x31, 0xb3, 0xfb, 0x5f, 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, 0x62, 0x19, - 0xcc, 0xd4, 0x3f, 0x73, 0xc3, 0xba, 0x14, 0x01, 0x02, 0xe8, 0xa4, 0x4d, 0x28, 0x77, 0xdc, 0xc7, - 0x79, 0xb4, 0x1f, 0x76, 0x04, 0x92, 0x65, 0x30, 0xa2, 0xd7, 0xea, 0x16, 0xf7, 0x3c, 0x90, 0x7a, - 0xe5, 0x92, 0x65, 0x30, 0xaa, 0xd3, 0x59, 0x27, 0x48, 0xea, 0x24, 0x50, 0xe0, 0x8b, 0x45, 0x9d, - 0x0d, 0xf9, 0x7b, 0x67, 0x55, 0x1a, 0x8b, 0x56, 0x36, 0x71, 0x11, 0x1d, 0x84, 0xcb, 0x34, 0x44, - 0x2f, 0x56, 0x87, 0x34, 0xc4, 0x37, 0x3f, 0xc4, 0x87, 0x28, 0x1f, 0x19, 0x6d, 0xa0, 0x05, 0xd3, - 0xd5, 0x9b, 0x16, 0x11, 0x69, 0x8f, 0xf0, 0x31, 0x2a, 0x46, 0x06, 0x3c, 0x53, 0x67, 0x33, 0x5e, - 0x38, 0xb7, 0xf0, 0x09, 0x3a, 0x94, 0xe6, 0x2c, 0x9c, 0x56, 0x87, 0x50, 0xab, 0x2b, 0xf6, 0x6e, - 0xa6, 0xd3, 0x72, 0xea, 0x42, 0x17, 0x1d, 0x74, 0xb9, 0xf3, 0x71, 0x52, 0xfd, 0x2e, 0xaf, 0x0e, - 0x87, 0xc5, 0x16, 0x31, 0x3e, 0x42, 0x85, 0x48, 0xfd, 0xb9, 0xce, 0x77, 0x29, 0x22, 0x9f, 0xe0, - 0x02, 0xca, 0x46, 0xb7, 0xc9, 0x13, 0x61, 0xda, 0xc2, 0xf4, 0x14, 0x56, 0xae, 0x55, 0x3f, 0xb4, - 0x4c, 0xeb, 0x13, 0xa1, 0x56, 0x02, 0xbc, 0xcf, 0x00, 0xde, 0x90, 0x43, 0x86, 0x77, 0x5b, 0x4a, - 0x88, 0xc3, 0xfb, 0x1c, 0x96, 0x19, 0x76, 0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, 0xab, 0x35, - 0x4d, 0xfb, 0x99, 0xca, 0xd4, 0x78, 0x94, 0xd6, 0xf7, 0x15, 0x7e, 0x84, 0x53, 0xbb, 0xac, 0xc0, - 0xe5, 0xe6, 0xff, 0x12, 0x7a, 0x4f, 0xeb, 0xfb, 0xbd, 0xb9, 0xde, 0x6b, 0x97, 0x7b, 0x81, 0xfe, - 0x27, 0x95, 0xe3, 0x0f, 0x55, 0x55, 0xeb, 0xfb, 0xaa, 0x3a, 0x77, 0xa8, 0x6a, 0xbb, 0xac, 0xaa, - 0x81, 0xe7, 0x62, 0x2d, 0x68, 0xec, 0xcd, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x83, 0x05, 0x57, - 0x97, 0xd8, 0x07, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/criterion_category_channel_availability_mode.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/criterion_category_channel_availability_mode.pb.go deleted file mode 100644 index e5dc9fb6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/criterion_category_channel_availability_mode.pb.go +++ /dev/null @@ -1,141 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/criterion_category_channel_availability_mode.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_c1df5c80c7dcee81, []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_c1df5c80c7dcee81, []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 (m *CriterionCategoryChannelAvailabilityModeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CriterionCategoryChannelAvailabilityModeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.CriterionCategoryChannelAvailabilityModeEnum_CriterionCategoryChannelAvailabilityMode", CriterionCategoryChannelAvailabilityModeEnum_CriterionCategoryChannelAvailabilityMode_name, CriterionCategoryChannelAvailabilityModeEnum_CriterionCategoryChannelAvailabilityMode_value) - proto.RegisterType((*CriterionCategoryChannelAvailabilityModeEnum)(nil), "google.ads.googleads.v2.enums.CriterionCategoryChannelAvailabilityModeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/criterion_category_channel_availability_mode.proto", fileDescriptor_c1df5c80c7dcee81) -} - -var fileDescriptor_c1df5c80c7dcee81 = []byte{ - // 374 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x51, 0x41, 0x6b, 0xdb, 0x30, - 0x18, 0x9d, 0x9d, 0xb1, 0x81, 0x32, 0x98, 0xf1, 0x71, 0x2c, 0xb0, 0x84, 0x1d, 0x76, 0xd8, 0x64, - 0xf0, 0x6e, 0xea, 0x49, 0x76, 0xdc, 0x34, 0x34, 0x75, 0x0d, 0x8e, 0x53, 0x5a, 0x0c, 0x42, 0xb1, - 0x85, 0x2b, 0xb0, 0xa5, 0x60, 0x39, 0x81, 0x5c, 0xfb, 0x53, 0xda, 0x5b, 0x7f, 0x4a, 0xcf, 0xfd, - 0x15, 0xfd, 0x15, 0xc5, 0x76, 0x9c, 0x16, 0x4a, 0x4b, 0x2e, 0xe2, 0x7d, 0xfa, 0xde, 0xf7, 0x9e, - 0xf4, 0x3e, 0x10, 0x64, 0x52, 0x66, 0x39, 0xb3, 0x68, 0xaa, 0xac, 0x16, 0xd6, 0x68, 0x63, 0x5b, - 0x4c, 0xac, 0x0b, 0x65, 0x25, 0x25, 0xaf, 0x58, 0xc9, 0xa5, 0x20, 0x09, 0xad, 0x58, 0x26, 0xcb, - 0x2d, 0x49, 0xae, 0xa9, 0x10, 0x2c, 0x27, 0x74, 0x43, 0x79, 0x4e, 0x97, 0x3c, 0xe7, 0xd5, 0x96, - 0x14, 0x32, 0x65, 0x70, 0x55, 0xca, 0x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x4e, 0x15, 0x6c, 0x61, - 0x8d, 0x16, 0x36, 0xac, 0x53, 0x56, 0x0f, 0x5d, 0x3f, 0xc6, 0xa9, 0x8a, 0xf7, 0xfd, 0x78, 0x61, - 0xc7, 0x4d, 0xff, 0x49, 0x1f, 0xb6, 0x97, 0x08, 0xe1, 0x54, 0x21, 0xb4, 0x67, 0x20, 0xb4, 0xb0, - 0x11, 0x6a, 0x38, 0xcb, 0x2f, 0xcd, 0xc3, 0xfe, 0x3f, 0x07, 0x00, 0x00, 0xff, 0xff, 0xa0, 0xe0, - 0xf2, 0x7f, 0x73, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/criterion_category_locale_availability_mode.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/criterion_category_locale_availability_mode.pb.go deleted file mode 100644 index dbbb0536..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/criterion_category_locale_availability_mode.pb.go +++ /dev/null @@ -1,145 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/criterion_category_locale_availability_mode.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_edf22ca20baa271f, []int{0, 0} -} - -// Describes locale availability 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_edf22ca20baa271f, []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 (m *CriterionCategoryLocaleAvailabilityModeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CriterionCategoryLocaleAvailabilityModeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode", CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode_name, CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode_value) - proto.RegisterType((*CriterionCategoryLocaleAvailabilityModeEnum)(nil), "google.ads.googleads.v2.enums.CriterionCategoryLocaleAvailabilityModeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/criterion_category_locale_availability_mode.proto", fileDescriptor_edf22ca20baa271f) -} - -var fileDescriptor_edf22ca20baa271f = []byte{ - // 381 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x51, 0x4f, 0x8b, 0x9b, 0x40, - 0x1c, 0xad, 0xa6, 0x7f, 0x60, 0x72, 0xa8, 0x48, 0x0f, 0x6d, 0x68, 0x0a, 0xc9, 0xa5, 0x87, 0x96, - 0x11, 0xec, 0x6d, 0x7a, 0x9a, 0x18, 0x2b, 0xa1, 0x56, 0x43, 0xad, 0x29, 0x2d, 0x82, 0x4c, 0x74, - 0x90, 0x01, 0x9d, 0x09, 0x8e, 0x09, 0xe4, 0xb8, 0x5f, 0x65, 0x8f, 0x7b, 0xdb, 0xaf, 0xb1, 0xdf, - 0x62, 0xaf, 0xfb, 0x29, 0x16, 0xc7, 0x28, 0xb9, 0xec, 0x92, 0x8b, 0x3c, 0xe7, 0xbd, 0xdf, 0x7b, - 0x33, 0xef, 0x07, 0xc2, 0x42, 0x88, 0xa2, 0xa4, 0x16, 0xc9, 0xa5, 0xd5, 0xc1, 0x16, 0x1d, 0x6c, - 0x8b, 0xf2, 0x7d, 0x25, 0xad, 0xac, 0x66, 0x0d, 0xad, 0x99, 0xe0, 0x69, 0x46, 0x1a, 0x5a, 0x88, - 0xfa, 0x98, 0x96, 0x22, 0x23, 0x25, 0x4d, 0xc9, 0x81, 0x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, - 0xed, 0xf7, 0xba, 0x63, 0xf2, 0x89, 0x35, 0x7f, 0x57, 0xdf, 0x6b, 0x7d, 0xe4, 0x61, 0x7c, 0xa3, - 0x4f, 0xbd, 0xce, 0x0a, 0xe7, 0x12, 0x76, 0xb0, 0x45, 0x1b, 0x1b, 0xb6, 0x95, 0xcb, 0xbb, 0x9e, - 0x4f, 0x70, 0x2e, 0x93, 0x81, 0x4f, 0x36, 0x76, 0xa2, 0xf8, 0x07, 0x7d, 0xd6, 0x1d, 0x22, 0x84, - 0x73, 0x89, 0xd0, 0xa0, 0x40, 0x68, 0x63, 0x23, 0xa4, 0x34, 0xdb, 0xd7, 0xea, 0x62, 0xdf, 0x1e, - 0x03, 0x00, 0x00, 0xff, 0xff, 0xde, 0x10, 0x4b, 0xb1, 0x7e, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/criterion_system_serving_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/criterion_system_serving_status.pb.go deleted file mode 100644 index bb4cc9c3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/criterion_system_serving_status.pb.go +++ /dev/null @@ -1,125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/criterion_system_serving_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enumerates criterion system serving statuses. -type CriterionSystemServingStatusEnum_CriterionSystemServingStatus int32 - -const ( - // Not specified. - CriterionSystemServingStatusEnum_UNSPECIFIED CriterionSystemServingStatusEnum_CriterionSystemServingStatus = 0 - // The value is unknown in this version. - CriterionSystemServingStatusEnum_UNKNOWN CriterionSystemServingStatusEnum_CriterionSystemServingStatus = 1 - // Eligible. - CriterionSystemServingStatusEnum_ELIGIBLE CriterionSystemServingStatusEnum_CriterionSystemServingStatus = 2 - // Low search volume. - CriterionSystemServingStatusEnum_RARELY_SERVED CriterionSystemServingStatusEnum_CriterionSystemServingStatus = 3 -) - -var CriterionSystemServingStatusEnum_CriterionSystemServingStatus_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "ELIGIBLE", - 3: "RARELY_SERVED", -} - -var CriterionSystemServingStatusEnum_CriterionSystemServingStatus_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "ELIGIBLE": 2, - "RARELY_SERVED": 3, -} - -func (x CriterionSystemServingStatusEnum_CriterionSystemServingStatus) String() string { - return proto.EnumName(CriterionSystemServingStatusEnum_CriterionSystemServingStatus_name, int32(x)) -} - -func (CriterionSystemServingStatusEnum_CriterionSystemServingStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_f962f7d778687066, []int{0, 0} -} - -// Container for enum describing possible criterion system serving statuses. -type CriterionSystemServingStatusEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CriterionSystemServingStatusEnum) Reset() { *m = CriterionSystemServingStatusEnum{} } -func (m *CriterionSystemServingStatusEnum) String() string { return proto.CompactTextString(m) } -func (*CriterionSystemServingStatusEnum) ProtoMessage() {} -func (*CriterionSystemServingStatusEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_f962f7d778687066, []int{0} -} - -func (m *CriterionSystemServingStatusEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CriterionSystemServingStatusEnum.Unmarshal(m, b) -} -func (m *CriterionSystemServingStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CriterionSystemServingStatusEnum.Marshal(b, m, deterministic) -} -func (m *CriterionSystemServingStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CriterionSystemServingStatusEnum.Merge(m, src) -} -func (m *CriterionSystemServingStatusEnum) XXX_Size() int { - return xxx_messageInfo_CriterionSystemServingStatusEnum.Size(m) -} -func (m *CriterionSystemServingStatusEnum) XXX_DiscardUnknown() { - xxx_messageInfo_CriterionSystemServingStatusEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_CriterionSystemServingStatusEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.CriterionSystemServingStatusEnum_CriterionSystemServingStatus", CriterionSystemServingStatusEnum_CriterionSystemServingStatus_name, CriterionSystemServingStatusEnum_CriterionSystemServingStatus_value) - proto.RegisterType((*CriterionSystemServingStatusEnum)(nil), "google.ads.googleads.v2.enums.CriterionSystemServingStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/criterion_system_serving_status.proto", fileDescriptor_f962f7d778687066) -} - -var fileDescriptor_f962f7d778687066 = []byte{ - // 328 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xc1, 0x4a, 0xf3, 0x40, - 0x18, 0xfc, 0x93, 0xc2, 0xaf, 0x6c, 0x15, 0x63, 0x8e, 0xd2, 0x82, 0xed, 0x03, 0x6c, 0x20, 0xde, - 0xd6, 0x53, 0xd2, 0xae, 0x25, 0x58, 0x62, 0x69, 0x68, 0x44, 0x89, 0x84, 0xd8, 0x84, 0x25, 0xd0, - 0xec, 0x96, 0x7c, 0xdb, 0x82, 0x47, 0x5f, 0xc5, 0xa3, 0x8f, 0xe2, 0xa3, 0xf8, 0x00, 0x9e, 0x25, - 0xbb, 0x4d, 0x6f, 0xe6, 0xb2, 0x0c, 0xfb, 0xcd, 0x37, 0xf3, 0xcd, 0xa0, 0x09, 0x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0xfb, 0x56, 0xbd, 0x1f, 0x66, 0x6f, 0xe6, 0x79, 0x9f, 0xe6, 0x70, 0xa6, 0xa5, 0xbc, - 0x1c, 0xb0, 0x86, 0x0d, 0x8a, 0x5d, 0xdc, 0x54, 0x02, 0x5f, 0xed, 0x3c, 0xf1, 0x72, 0x48, 0x8e, - 0xf3, 0x24, 0x76, 0x13, 0x35, 0xff, 0x36, 0x47, 0xfa, 0x93, 0x10, 0x2f, 0x07, 0x42, 0x8e, 0x0c, - 0x42, 0x62, 0x97, 0x10, 0xc5, 0x79, 0xfd, 0xaf, 0x0e, 0xbb, 0xf9, 0x0d, 0x00, 0x00, 0xff, 0xff, - 0x62, 0x55, 0x3b, 0x84, 0x07, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/criterion_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/criterion_type.pb.go deleted file mode 100644 index 6c50e520..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/criterion_type.pb.go +++ /dev/null @@ -1,255 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/criterion_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // Mobile application categories to target. - CriterionTypeEnum_MOBILE_APP_CATEGORY CriterionTypeEnum_CriterionType = 4 - // Mobile applications to target. - CriterionTypeEnum_MOBILE_APPLICATION CriterionTypeEnum_CriterionType = 5 - // 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 - // Webpage criterion for dynamic search ads. - CriterionTypeEnum_WEBPAGE CriterionTypeEnum_CriterionType = 25 - // Operating system version. - CriterionTypeEnum_OPERATING_SYSTEM_VERSION CriterionTypeEnum_CriterionType = 26 - // App payment model. - CriterionTypeEnum_APP_PAYMENT_MODEL CriterionTypeEnum_CriterionType = 27 - // Mobile device. - CriterionTypeEnum_MOBILE_DEVICE CriterionTypeEnum_CriterionType = 28 - // Custom affinity. - CriterionTypeEnum_CUSTOM_AFFINITY CriterionTypeEnum_CriterionType = 29 - // Custom intent. - CriterionTypeEnum_CUSTOM_INTENT CriterionTypeEnum_CriterionType = 30 - // Location group. - CriterionTypeEnum_LOCATION_GROUP CriterionTypeEnum_CriterionType = 31 -) - -var CriterionTypeEnum_CriterionType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "KEYWORD", - 3: "PLACEMENT", - 4: "MOBILE_APP_CATEGORY", - 5: "MOBILE_APPLICATION", - 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", - 25: "WEBPAGE", - 26: "OPERATING_SYSTEM_VERSION", - 27: "APP_PAYMENT_MODEL", - 28: "MOBILE_DEVICE", - 29: "CUSTOM_AFFINITY", - 30: "CUSTOM_INTENT", - 31: "LOCATION_GROUP", -} - -var CriterionTypeEnum_CriterionType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "KEYWORD": 2, - "PLACEMENT": 3, - "MOBILE_APP_CATEGORY": 4, - "MOBILE_APPLICATION": 5, - "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, - "WEBPAGE": 25, - "OPERATING_SYSTEM_VERSION": 26, - "APP_PAYMENT_MODEL": 27, - "MOBILE_DEVICE": 28, - "CUSTOM_AFFINITY": 29, - "CUSTOM_INTENT": 30, - "LOCATION_GROUP": 31, -} - -func (x CriterionTypeEnum_CriterionType) String() string { - return proto.EnumName(CriterionTypeEnum_CriterionType_name, int32(x)) -} - -func (CriterionTypeEnum_CriterionType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_c011525940ee5e4a, []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_c011525940ee5e4a, []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 (m *CriterionTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CriterionTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.CriterionTypeEnum_CriterionType", CriterionTypeEnum_CriterionType_name, CriterionTypeEnum_CriterionType_value) - proto.RegisterType((*CriterionTypeEnum)(nil), "google.ads.googleads.v2.enums.CriterionTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/criterion_type.proto", fileDescriptor_c011525940ee5e4a) -} - -var fileDescriptor_c011525940ee5e4a = []byte{ - // 623 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x53, 0x4d, 0x6e, 0xdb, 0x3a, - 0x10, 0x7e, 0x71, 0xfe, 0x99, 0x38, 0xa1, 0x99, 0x97, 0x9f, 0x97, 0x97, 0xbc, 0x87, 0xe4, 0x00, - 0x32, 0xe0, 0xee, 0xd4, 0x15, 0x45, 0x4d, 0x14, 0x22, 0x32, 0x49, 0x50, 0x94, 0x53, 0x17, 0x06, - 0x08, 0x37, 0x36, 0x0c, 0x03, 0x89, 0x64, 0x58, 0x4e, 0x80, 0x5c, 0xa7, 0xcb, 0x1e, 0xa2, 0x07, - 0xe8, 0xba, 0x77, 0x28, 0xd0, 0x53, 0x14, 0x94, 0xac, 0xb4, 0x59, 0xb4, 0x1b, 0x61, 0x34, 0xdf, - 0xcc, 0x37, 0xdf, 0xfc, 0x10, 0x75, 0x26, 0x79, 0x3e, 0xb9, 0x1f, 0xb7, 0x87, 0xa3, 0xa2, 0x5d, - 0x99, 0xce, 0x7a, 0xea, 0xb4, 0xc7, 0xd9, 0xe3, 0x43, 0xd1, 0xbe, 0x9b, 0x4f, 0x17, 0xe3, 0xf9, - 0x34, 0xcf, 0xec, 0xe2, 0x79, 0x36, 0xf6, 0x66, 0xf3, 0x7c, 0x91, 0x93, 0xf3, 0x2a, 0xd0, 0x1b, - 0x8e, 0x0a, 0xef, 0x25, 0xc7, 0x7b, 0xea, 0x78, 0x65, 0xce, 0xe9, 0x59, 0x4d, 0x39, 0x9b, 0xb6, - 0x87, 0x59, 0x96, 0x2f, 0x86, 0x8b, 0x69, 0x9e, 0x15, 0x55, 0xf2, 0xe5, 0xd7, 0x35, 0xd4, 0x62, - 0x35, 0xab, 0x79, 0x9e, 0x8d, 0x21, 0x7b, 0x7c, 0xb8, 0xfc, 0xbc, 0x86, 0x9a, 0xaf, 0xbc, 0x64, - 0x1f, 0xed, 0xa4, 0x22, 0x51, 0xc0, 0xf8, 0x15, 0x87, 0x10, 0xff, 0x45, 0x76, 0xd0, 0x66, 0x2a, - 0x6e, 0x84, 0xbc, 0x15, 0x78, 0xc5, 0xfd, 0xdc, 0x40, 0xff, 0x56, 0xea, 0x10, 0x37, 0x48, 0x13, - 0x6d, 0xab, 0x98, 0x32, 0xe8, 0x82, 0x30, 0x78, 0x95, 0x1c, 0xa3, 0x83, 0xae, 0x0c, 0x78, 0x0c, - 0x96, 0x2a, 0x65, 0x19, 0x35, 0x10, 0x49, 0xdd, 0xc7, 0x6b, 0xe4, 0x08, 0x91, 0x9f, 0x40, 0xcc, - 0x19, 0x35, 0x5c, 0x0a, 0xbc, 0x4e, 0x10, 0xda, 0x08, 0xa1, 0xc7, 0x19, 0xe0, 0x0d, 0xb2, 0x8b, - 0xb6, 0x62, 0xb9, 0x44, 0x36, 0x49, 0x0b, 0x35, 0x63, 0x9e, 0x18, 0x2e, 0x22, 0x1b, 0x69, 0x99, - 0x2a, 0xbc, 0xe5, 0x74, 0xd1, 0xd0, 0x26, 0xec, 0x1a, 0xc2, 0x34, 0x06, 0xbc, 0xed, 0xaa, 0xd3, - 0x08, 0xac, 0xa6, 0x22, 0x02, 0x8c, 0x1c, 0x59, 0x04, 0x22, 0x04, 0x8d, 0x77, 0x08, 0x46, 0xbb, - 0x5c, 0x30, 0xd9, 0xad, 0xd1, 0x5d, 0x72, 0x80, 0xf6, 0x15, 0xd5, 0x20, 0x0c, 0x8d, 0x6d, 0x62, - 0xa8, 0x49, 0x13, 0xdc, 0x74, 0x55, 0xfa, 0x32, 0x35, 0x69, 0x00, 0xb6, 0xc7, 0x43, 0x90, 0x78, - 0xcf, 0xc5, 0xd5, 0x2e, 0x76, 0x4d, 0x85, 0x80, 0x18, 0xef, 0xbb, 0x4a, 0x69, 0x02, 0xda, 0x3a, - 0x49, 0x18, 0x97, 0x6d, 0x6b, 0xf9, 0x8e, 0x77, 0xb9, 0xe9, 0xe3, 0x16, 0xd9, 0x46, 0xeb, 0x46, - 0x2a, 0xce, 0x30, 0xf9, 0x55, 0x76, 0xc2, 0xa4, 0x02, 0x7c, 0x50, 0xf6, 0x45, 0x45, 0x94, 0xd2, - 0x08, 0xf0, 0xdf, 0xee, 0x8f, 0x2b, 0x1b, 0xc4, 0x92, 0xdd, 0xe0, 0x43, 0x17, 0xce, 0xa4, 0x30, - 0x20, 0x8c, 0x8d, 0x69, 0x00, 0x31, 0x3e, 0x72, 0xf3, 0x65, 0x54, 0x6b, 0x0e, 0x1a, 0x1f, 0x3b, - 0xbc, 0xac, 0xcb, 0x85, 0x01, 0x0d, 0x89, 0xc1, 0x27, 0x0e, 0xbf, 0x85, 0x40, 0x39, 0xb6, 0x7f, - 0xc8, 0x19, 0x3a, 0x91, 0x0a, 0x34, 0xad, 0x0a, 0xf6, 0x13, 0x03, 0x5d, 0xdb, 0x03, 0x9d, 0xb8, - 0x19, 0x9e, 0x92, 0x43, 0xd4, 0x72, 0x7b, 0x50, 0xb4, 0xef, 0xf6, 0x63, 0xbb, 0x32, 0x84, 0x18, - 0xff, 0xeb, 0x48, 0x97, 0xcb, 0x58, 0xce, 0xfe, 0xcc, 0x35, 0xcd, 0xd2, 0xc4, 0xc8, 0xae, 0xa5, - 0x57, 0x57, 0x5c, 0xb8, 0xb6, 0xce, 0x4b, 0x71, 0x95, 0x93, 0x97, 0x12, 0xf1, 0x7f, 0x84, 0xa0, - 0xbd, 0x7a, 0x47, 0xcb, 0xb5, 0xfc, 0x1f, 0x7c, 0x5b, 0x41, 0x17, 0x77, 0xf9, 0x83, 0xf7, 0xc7, - 0xd3, 0x0c, 0xc8, 0xab, 0x1b, 0x53, 0xee, 0x20, 0xd5, 0xca, 0xfb, 0x60, 0x99, 0x34, 0xc9, 0xef, - 0x87, 0xd9, 0xc4, 0xcb, 0xe7, 0x93, 0xf6, 0x64, 0x9c, 0x95, 0xe7, 0x5a, 0xbf, 0x89, 0xd9, 0xb4, - 0xf8, 0xcd, 0x13, 0x79, 0x5b, 0x7e, 0x3f, 0x36, 0x56, 0x23, 0x4a, 0x3f, 0x35, 0xce, 0xa3, 0x8a, - 0x8a, 0x8e, 0x0a, 0xaf, 0x32, 0x9d, 0xd5, 0xeb, 0x78, 0xee, 0xca, 0x8b, 0x2f, 0x35, 0x3e, 0xa0, - 0xa3, 0x62, 0xf0, 0x82, 0x0f, 0x7a, 0x9d, 0x41, 0x89, 0x7f, 0x6f, 0x5c, 0x54, 0x4e, 0xdf, 0xa7, - 0xa3, 0xc2, 0xf7, 0x5f, 0x22, 0x7c, 0xbf, 0xd7, 0xf1, 0xfd, 0x32, 0xe6, 0xc3, 0x46, 0x29, 0xec, - 0xcd, 0x8f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa6, 0x0d, 0x4c, 0x3b, 0xba, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/custom_interest_member_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/custom_interest_member_type.pb.go deleted file mode 100644 index 9f8941fd..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/custom_interest_member_type.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/custom_interest_member_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum containing possible custom interest member types. -type CustomInterestMemberTypeEnum_CustomInterestMemberType int32 - -const ( - // Not specified. - CustomInterestMemberTypeEnum_UNSPECIFIED CustomInterestMemberTypeEnum_CustomInterestMemberType = 0 - // Used for return value only. Represents value unknown in this version. - CustomInterestMemberTypeEnum_UNKNOWN CustomInterestMemberTypeEnum_CustomInterestMemberType = 1 - // Custom interest member type KEYWORD. - CustomInterestMemberTypeEnum_KEYWORD CustomInterestMemberTypeEnum_CustomInterestMemberType = 2 - // Custom interest member type URL. - CustomInterestMemberTypeEnum_URL CustomInterestMemberTypeEnum_CustomInterestMemberType = 3 -) - -var CustomInterestMemberTypeEnum_CustomInterestMemberType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "KEYWORD", - 3: "URL", -} - -var CustomInterestMemberTypeEnum_CustomInterestMemberType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "KEYWORD": 2, - "URL": 3, -} - -func (x CustomInterestMemberTypeEnum_CustomInterestMemberType) String() string { - return proto.EnumName(CustomInterestMemberTypeEnum_CustomInterestMemberType_name, int32(x)) -} - -func (CustomInterestMemberTypeEnum_CustomInterestMemberType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_d1bc06c39c00cff3, []int{0, 0} -} - -// The types of custom interest member, either KEYWORD or URL. -type CustomInterestMemberTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomInterestMemberTypeEnum) Reset() { *m = CustomInterestMemberTypeEnum{} } -func (m *CustomInterestMemberTypeEnum) String() string { return proto.CompactTextString(m) } -func (*CustomInterestMemberTypeEnum) ProtoMessage() {} -func (*CustomInterestMemberTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_d1bc06c39c00cff3, []int{0} -} - -func (m *CustomInterestMemberTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomInterestMemberTypeEnum.Unmarshal(m, b) -} -func (m *CustomInterestMemberTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomInterestMemberTypeEnum.Marshal(b, m, deterministic) -} -func (m *CustomInterestMemberTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomInterestMemberTypeEnum.Merge(m, src) -} -func (m *CustomInterestMemberTypeEnum) XXX_Size() int { - return xxx_messageInfo_CustomInterestMemberTypeEnum.Size(m) -} -func (m *CustomInterestMemberTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_CustomInterestMemberTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomInterestMemberTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.CustomInterestMemberTypeEnum_CustomInterestMemberType", CustomInterestMemberTypeEnum_CustomInterestMemberType_name, CustomInterestMemberTypeEnum_CustomInterestMemberType_value) - proto.RegisterType((*CustomInterestMemberTypeEnum)(nil), "google.ads.googleads.v2.enums.CustomInterestMemberTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/custom_interest_member_type.proto", fileDescriptor_d1bc06c39c00cff3) -} - -var fileDescriptor_d1bc06c39c00cff3 = []byte{ - // 313 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x6a, 0xc2, 0x30, - 0x18, 0x9f, 0x15, 0x26, 0xc4, 0xc3, 0x4a, 0x4f, 0x63, 0xe8, 0x41, 0x1f, 0x20, 0x81, 0xee, 0x96, - 0x1d, 0x46, 0xd5, 0x4e, 0xc4, 0xad, 0x8a, 0x9b, 0x95, 0x8d, 0x42, 0xa9, 0x36, 0x84, 0x82, 0x49, - 0x4a, 0x93, 0x0a, 0xbe, 0xce, 0x8e, 0x7b, 0x94, 0x3d, 0xca, 0x8e, 0x7b, 0x82, 0xd1, 0xc4, 0xf6, - 0xd6, 0x5d, 0xca, 0xaf, 0xf9, 0x7d, 0xbf, 0x3f, 0xdf, 0x07, 0x1e, 0xa9, 0x10, 0xf4, 0x48, 0x50, - 0x92, 0x4a, 0x64, 0x60, 0x85, 0x4e, 0x2e, 0x22, 0xbc, 0x64, 0x12, 0x1d, 0x4a, 0xa9, 0x04, 0x8b, - 0x33, 0xae, 0x48, 0x41, 0xa4, 0x8a, 0x19, 0x61, 0x7b, 0x52, 0xc4, 0xea, 0x9c, 0x13, 0x98, 0x17, - 0x42, 0x09, 0x67, 0x68, 0x54, 0x30, 0x49, 0x25, 0x6c, 0x0c, 0xe0, 0xc9, 0x85, 0xda, 0xe0, 0x6e, - 0x50, 0xfb, 0xe7, 0x19, 0x4a, 0x38, 0x17, 0x2a, 0x51, 0x99, 0xe0, 0xd2, 0x88, 0xc7, 0x1c, 0x0c, - 0xa6, 0x3a, 0x61, 0x71, 0x09, 0x78, 0xd1, 0xfe, 0x6f, 0xe7, 0x9c, 0xf8, 0xbc, 0x64, 0xe3, 0x00, - 0xdc, 0xb6, 0xf1, 0xce, 0x0d, 0xe8, 0x6f, 0x83, 0xd7, 0xb5, 0x3f, 0x5d, 0x3c, 0x2d, 0xfc, 0x99, - 0x7d, 0xe5, 0xf4, 0x41, 0x6f, 0x1b, 0x2c, 0x83, 0xd5, 0x2e, 0xb0, 0x3b, 0xd5, 0xcf, 0xd2, 0x7f, - 0xdf, 0xad, 0x36, 0x33, 0xdb, 0x72, 0x7a, 0xa0, 0xbb, 0xdd, 0x3c, 0xdb, 0xdd, 0xc9, 0x6f, 0x07, - 0x8c, 0x0e, 0x82, 0xc1, 0x7f, 0x3b, 0x4f, 0x86, 0x6d, 0x99, 0xeb, 0xaa, 0xf4, 0xba, 0xf3, 0x31, - 0xb9, 0xe8, 0xa9, 0x38, 0x26, 0x9c, 0x42, 0x51, 0x50, 0x44, 0x09, 0xd7, 0x2b, 0xd5, 0x47, 0xcc, - 0x33, 0xd9, 0x72, 0xd3, 0x07, 0xfd, 0xfd, 0xb4, 0xba, 0x73, 0xcf, 0xfb, 0xb2, 0x86, 0x73, 0x63, - 0xe5, 0xa5, 0x12, 0x1a, 0x58, 0xa1, 0xd0, 0x85, 0xd5, 0xfe, 0xf2, 0xbb, 0xe6, 0x23, 0x2f, 0x95, - 0x51, 0xc3, 0x47, 0xa1, 0x1b, 0x69, 0xfe, 0xc7, 0x1a, 0x99, 0x47, 0x8c, 0xbd, 0x54, 0x62, 0xdc, - 0x4c, 0x60, 0x1c, 0xba, 0x18, 0xeb, 0x99, 0xfd, 0xb5, 0x2e, 0x76, 0xff, 0x17, 0x00, 0x00, 0xff, - 0xff, 0x79, 0x60, 0x1e, 0xfd, 0xeb, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/custom_interest_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/custom_interest_status.pb.go deleted file mode 100644 index 56381625..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/custom_interest_status.pb.go +++ /dev/null @@ -1,125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/custom_interest_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum containing possible custom interest types. -type CustomInterestStatusEnum_CustomInterestStatus int32 - -const ( - // Not specified. - CustomInterestStatusEnum_UNSPECIFIED CustomInterestStatusEnum_CustomInterestStatus = 0 - // Used for return value only. Represents value unknown in this version. - CustomInterestStatusEnum_UNKNOWN CustomInterestStatusEnum_CustomInterestStatus = 1 - // Enabled status - custom interest is enabled and can be targeted to. - CustomInterestStatusEnum_ENABLED CustomInterestStatusEnum_CustomInterestStatus = 2 - // Removed status - custom interest is removed and cannot be used for - // targeting. - CustomInterestStatusEnum_REMOVED CustomInterestStatusEnum_CustomInterestStatus = 3 -) - -var CustomInterestStatusEnum_CustomInterestStatus_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "ENABLED", - 3: "REMOVED", -} - -var CustomInterestStatusEnum_CustomInterestStatus_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "ENABLED": 2, - "REMOVED": 3, -} - -func (x CustomInterestStatusEnum_CustomInterestStatus) String() string { - return proto.EnumName(CustomInterestStatusEnum_CustomInterestStatus_name, int32(x)) -} - -func (CustomInterestStatusEnum_CustomInterestStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_65be17a4ddbb4c40, []int{0, 0} -} - -// The status of custom interest. -type CustomInterestStatusEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomInterestStatusEnum) Reset() { *m = CustomInterestStatusEnum{} } -func (m *CustomInterestStatusEnum) String() string { return proto.CompactTextString(m) } -func (*CustomInterestStatusEnum) ProtoMessage() {} -func (*CustomInterestStatusEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_65be17a4ddbb4c40, []int{0} -} - -func (m *CustomInterestStatusEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomInterestStatusEnum.Unmarshal(m, b) -} -func (m *CustomInterestStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomInterestStatusEnum.Marshal(b, m, deterministic) -} -func (m *CustomInterestStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomInterestStatusEnum.Merge(m, src) -} -func (m *CustomInterestStatusEnum) XXX_Size() int { - return xxx_messageInfo_CustomInterestStatusEnum.Size(m) -} -func (m *CustomInterestStatusEnum) XXX_DiscardUnknown() { - xxx_messageInfo_CustomInterestStatusEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomInterestStatusEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.CustomInterestStatusEnum_CustomInterestStatus", CustomInterestStatusEnum_CustomInterestStatus_name, CustomInterestStatusEnum_CustomInterestStatus_value) - proto.RegisterType((*CustomInterestStatusEnum)(nil), "google.ads.googleads.v2.enums.CustomInterestStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/custom_interest_status.proto", fileDescriptor_65be17a4ddbb4c40) -} - -var fileDescriptor_65be17a4ddbb4c40 = []byte{ - // 306 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xc1, 0x4a, 0x03, 0x31, - 0x10, 0xb5, 0x5b, 0x50, 0x48, 0x0f, 0x2e, 0xc5, 0x83, 0x8a, 0x3d, 0xb4, 0x1f, 0x90, 0xc0, 0x7a, - 0x8b, 0xa7, 0x6c, 0x1b, 0x4b, 0x51, 0xd3, 0x62, 0xe9, 0x0a, 0xb2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x5b, 0x45, 0x54, 0xae, 0xfd, 0x2a, 0x87, 0xbb, 0x6d, 0x0a, 0xf8, 0xe3, 0x8c, 0x77, 0xfe, 0xfd, - 0x08, 0xda, 0x63, 0xc6, 0x3e, 0x83, 0xde, 0xb8, 0xb6, 0x62, 0x19, 0xe0, 0x1a, 0x3a, 0x94, 0x44, - 0xd8, 0xed, 0x0e, 0x5f, 0x07, 0x3e, 0x65, 0x19, 0xa4, 0x0d, 0x9f, 0x26, 0x51, 0xea, 0xf9, 0xef, - 0xa0, 0x5f, 0x7f, 0x52, 0xca, 0x32, 0xa0, 0xb4, 0xe9, 0xa0, 0x34, 0x89, 0x28, 0xf5, 0x3d, 0x6f, - 0xa7, 0x3e, 0xd8, 0xed, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x12, 0x23, 0x10, 0x2f, 0xde, 0x01, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/custom_interest_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/custom_interest_type.pb.go deleted file mode 100644 index 8cf0d7ec..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/custom_interest_type.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/custom_interest_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum containing possible custom interest types. -type CustomInterestTypeEnum_CustomInterestType int32 - -const ( - // Not specified. - CustomInterestTypeEnum_UNSPECIFIED CustomInterestTypeEnum_CustomInterestType = 0 - // Used for return value only. Represents value unknown in this version. - CustomInterestTypeEnum_UNKNOWN CustomInterestTypeEnum_CustomInterestType = 1 - // Allows brand advertisers to define custom affinity audience lists. - CustomInterestTypeEnum_CUSTOM_AFFINITY CustomInterestTypeEnum_CustomInterestType = 2 - // Allows advertisers to define custom intent audience lists. - CustomInterestTypeEnum_CUSTOM_INTENT CustomInterestTypeEnum_CustomInterestType = 3 -) - -var CustomInterestTypeEnum_CustomInterestType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "CUSTOM_AFFINITY", - 3: "CUSTOM_INTENT", -} - -var CustomInterestTypeEnum_CustomInterestType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "CUSTOM_AFFINITY": 2, - "CUSTOM_INTENT": 3, -} - -func (x CustomInterestTypeEnum_CustomInterestType) String() string { - return proto.EnumName(CustomInterestTypeEnum_CustomInterestType_name, int32(x)) -} - -func (CustomInterestTypeEnum_CustomInterestType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2915d04628c70c4a, []int{0, 0} -} - -// The types of custom interest. -type CustomInterestTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomInterestTypeEnum) Reset() { *m = CustomInterestTypeEnum{} } -func (m *CustomInterestTypeEnum) String() string { return proto.CompactTextString(m) } -func (*CustomInterestTypeEnum) ProtoMessage() {} -func (*CustomInterestTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_2915d04628c70c4a, []int{0} -} - -func (m *CustomInterestTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomInterestTypeEnum.Unmarshal(m, b) -} -func (m *CustomInterestTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomInterestTypeEnum.Marshal(b, m, deterministic) -} -func (m *CustomInterestTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomInterestTypeEnum.Merge(m, src) -} -func (m *CustomInterestTypeEnum) XXX_Size() int { - return xxx_messageInfo_CustomInterestTypeEnum.Size(m) -} -func (m *CustomInterestTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_CustomInterestTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomInterestTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.CustomInterestTypeEnum_CustomInterestType", CustomInterestTypeEnum_CustomInterestType_name, CustomInterestTypeEnum_CustomInterestType_value) - proto.RegisterType((*CustomInterestTypeEnum)(nil), "google.ads.googleads.v2.enums.CustomInterestTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/custom_interest_type.proto", fileDescriptor_2915d04628c70c4a) -} - -var fileDescriptor_2915d04628c70c4a = []byte{ - // 318 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdf, 0x6a, 0xf2, 0x30, - 0x1c, 0xfd, 0xac, 0xf0, 0x0d, 0x22, 0xc3, 0xae, 0x83, 0x0d, 0xc6, 0xbc, 0xd0, 0x07, 0x48, 0xa0, - 0xbb, 0x19, 0xd9, 0x55, 0x74, 0x55, 0xc2, 0x58, 0x14, 0xac, 0x8e, 0x49, 0x41, 0x3a, 0x1b, 0x42, - 0xc1, 0x26, 0xc5, 0x44, 0xc1, 0xd7, 0xd9, 0xe5, 0x1e, 0x65, 0x8f, 0x32, 0xf6, 0x10, 0xa3, 0x89, - 0xf6, 0x46, 0xb6, 0x9b, 0x72, 0xf8, 0x9d, 0x3f, 0x3d, 0x39, 0xe0, 0x5e, 0x28, 0x25, 0xd6, 0x1c, - 0xa5, 0x99, 0x46, 0x0e, 0x56, 0x68, 0x17, 0x22, 0x2e, 0xb7, 0x85, 0x46, 0xab, 0xad, 0x36, 0xaa, - 0x58, 0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7c, 0x32, 0x0f, 0x13, 0xcb, 0x7f, 0x79, 0x5d, 0x77, 0xc4, - 0x98, 0x64, 0x1a, 0xe3, 0x5a, 0x81, 0xf1, 0x3c, 0xc4, 0xd8, 0x6a, 0xde, 0xfe, 0xdb, 0x62, 0x77, - 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x13, 0x07, 0xd8, 0x06, 0xe4, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/custom_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/custom_placeholder_field.pb.go deleted file mode 100644 index 9228bd0e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/custom_placeholder_field.pb.go +++ /dev/null @@ -1,234 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/custom_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_2532b12427394091, []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_2532b12427394091, []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 (m *CustomPlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomPlaceholderFieldEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.CustomPlaceholderFieldEnum_CustomPlaceholderField", CustomPlaceholderFieldEnum_CustomPlaceholderField_name, CustomPlaceholderFieldEnum_CustomPlaceholderField_value) - proto.RegisterType((*CustomPlaceholderFieldEnum)(nil), "google.ads.googleads.v2.enums.CustomPlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/custom_placeholder_field.proto", fileDescriptor_2532b12427394091) -} - -var fileDescriptor_2532b12427394091 = []byte{ - // 525 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0xcd, 0x8e, 0xda, 0x3c, - 0x14, 0xfd, 0x06, 0xbe, 0x81, 0x62, 0x86, 0xc1, 0x18, 0xa6, 0xad, 0xa6, 0x9d, 0xc5, 0xcc, 0x03, - 0x24, 0x52, 0xba, 0x4b, 0xbb, 0x31, 0xb1, 0x41, 0x16, 0x21, 0x89, 0x62, 0xc3, 0x74, 0x2a,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, 0xe0, 0x76, 0x2e, 0x57, 0xc6, - 0x3f, 0x43, 0xd0, 0x7f, 0xf5, 0xf4, 0x23, 0x06, 0x2a, 0x03, 0xc1, 0xd9, 0x87, 0xfe, 0x5e, 0x9d, - 0xc9, 0x65, 0x9c, 0x67, 0x86, 0xdc, 0x64, 0x66, 0x96, 0xe6, 0x3a, 0x21, 0x87, 0x40, 0xae, 0x17, - 0xc5, 0x5f, 0xf2, 0xf9, 0x56, 0x7f, 0xbf, 0x56, 0xaa, 0x43, 0x8c, 0xbf, 0x55, 0x6e, 0x86, 0xa5, - 0x15, 0x4e, 0x0a, 0xa3, 0x2c, 0x55, 0x35, 0xb5, 0x0c, 0x95, 0xa7, 0xe2, 0xc7, 0x61, 0x3e, 0xc3, - 0x49, 0x31, 0x3b, 0xce, 0x67, 0x53, 0x6b, 0xa6, 0xe7, 0x3f, 0x2b, 0xb7, 0x25, 0x68, 0xdb, 0x38, - 0x29, 0x6c, 0xfb, 0xc8, 0xb0, 0xed, 0xa9, 0x65, 0xdb, 0x9a, 0xf3, 0xb1, 0xa6, 0x17, 0x7b, 0xf3, - 0x3b, 0x00, 0x00, 0xff, 0xff, 0x15, 0xec, 0x77, 0xa6, 0x37, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/customer_match_upload_key_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/customer_match_upload_key_type.pb.go deleted file mode 100644 index 0a2456af..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/customer_match_upload_key_type.pb.go +++ /dev/null @@ -1,132 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/customer_match_upload_key_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_c4c81d55f65f43f0, []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_c4c81d55f65f43f0, []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 (m *CustomerMatchUploadKeyTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerMatchUploadKeyTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.CustomerMatchUploadKeyTypeEnum_CustomerMatchUploadKeyType", CustomerMatchUploadKeyTypeEnum_CustomerMatchUploadKeyType_name, CustomerMatchUploadKeyTypeEnum_CustomerMatchUploadKeyType_value) - proto.RegisterType((*CustomerMatchUploadKeyTypeEnum)(nil), "google.ads.googleads.v2.enums.CustomerMatchUploadKeyTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/customer_match_upload_key_type.proto", fileDescriptor_c4c81d55f65f43f0) -} - -var fileDescriptor_c4c81d55f65f43f0 = []byte{ - // 352 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0x41, 0x6a, 0x83, 0x40, - 0x14, 0xad, 0xa6, 0xa4, 0x30, 0x29, 0x54, 0x84, 0x2e, 0x1a, 0x9a, 0x96, 0xe4, 0x00, 0x23, 0xd8, - 0xdd, 0x74, 0xa5, 0xc6, 0x04, 0x49, 0xa3, 0x21, 0x31, 0x16, 0x8a, 0x30, 0x4c, 0xe3, 0x60, 0x43, - 0xe3, 0x8c, 0x64, 0x34, 0xe0, 0x41, 0x7a, 0x81, 0x2e, 0x7b, 0x94, 0x1e, 0xa5, 0xeb, 0x1e, 0xa0, - 0x38, 0x26, 0xd9, 0xa5, 0x1b, 0x79, 0xf8, 0xfe, 0x7f, 0xef, 0xbf, 0x37, 0xc0, 0x4e, 0x39, 0x4f, - 0x37, 0xd4, 0x20, 0x89, 0x30, 0x1a, 0x58, 0xa3, 0x9d, 0x69, 0x50, 0x56, 0x66, 0xc2, 0x58, 0x95, - 0xa2, 0xe0, 0x19, 0xdd, 0xe2, 0x8c, 0x14, 0xab, 0x37, 0x5c, 0xe6, 0x1b, 0x4e, 0x12, 0xfc, 0x4e, - 0x2b, 0x5c, 0x54, 0x39, 0x85, 0xf9, 0x96, 0x17, 0x5c, 0xef, 0x35, 0x8b, 0x90, 0x24, 0x02, 0x1e, - 0x35, 0xe0, 0xce, 0x84, 0x52, 0xa3, 0x7b, 0x7b, 0xb0, 0xc8, 0xd7, 0x06, 0x61, 0x8c, 0x17, 0xa4, - 0x58, 0x73, 0x26, 0x9a, 0xe5, 0xc1, 0x87, 0x02, 0xee, 0x9c, 0xbd, 0xcb, 0xb4, 0x36, 0x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e, 0x02, 0x00, 0x00, 0xff, 0xff, 0x83, 0x87, 0xe9, 0xab, 0x18, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/customer_pay_per_conversion_eligibility_failure_reason.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/customer_pay_per_conversion_eligibility_failure_reason.pb.go deleted file mode 100644 index 1bf85e07..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/customer_pay_per_conversion_eligibility_failure_reason.pb.go +++ /dev/null @@ -1,161 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/customer_pay_per_conversion_eligibility_failure_reason.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible reasons a customer is not eligible to use -// PaymentMode.CONVERSIONS. -type CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason int32 - -const ( - // Not specified. - CustomerPayPerConversionEligibilityFailureReasonEnum_UNSPECIFIED CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason = 0 - // Used for return value only. Represents value unknown in this version. - CustomerPayPerConversionEligibilityFailureReasonEnum_UNKNOWN CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason = 1 - // Customer does not have enough conversions. - CustomerPayPerConversionEligibilityFailureReasonEnum_NOT_ENOUGH_CONVERSIONS CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason = 2 - // Customer's conversion lag is too high. - CustomerPayPerConversionEligibilityFailureReasonEnum_CONVERSION_LAG_TOO_HIGH CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason = 3 - // Customer uses shared budgets. - CustomerPayPerConversionEligibilityFailureReasonEnum_HAS_CAMPAIGN_WITH_SHARED_BUDGET CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason = 4 - // Customer has conversions with ConversionActionType.UPLOAD_CLICKS. - CustomerPayPerConversionEligibilityFailureReasonEnum_HAS_UPLOAD_CLICKS_CONVERSION CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason = 5 - // Customer's average daily spend is too high. - CustomerPayPerConversionEligibilityFailureReasonEnum_AVERAGE_DAILY_SPEND_TOO_HIGH CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason = 6 - // Customer's eligibility has not yet been calculated by the Google Ads - // backend. Check back soon. - CustomerPayPerConversionEligibilityFailureReasonEnum_ANALYSIS_NOT_COMPLETE CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason = 7 - // Customer is not eligible due to other reasons. - CustomerPayPerConversionEligibilityFailureReasonEnum_OTHER CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason = 8 -) - -var CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "NOT_ENOUGH_CONVERSIONS", - 3: "CONVERSION_LAG_TOO_HIGH", - 4: "HAS_CAMPAIGN_WITH_SHARED_BUDGET", - 5: "HAS_UPLOAD_CLICKS_CONVERSION", - 6: "AVERAGE_DAILY_SPEND_TOO_HIGH", - 7: "ANALYSIS_NOT_COMPLETE", - 8: "OTHER", -} - -var CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "NOT_ENOUGH_CONVERSIONS": 2, - "CONVERSION_LAG_TOO_HIGH": 3, - "HAS_CAMPAIGN_WITH_SHARED_BUDGET": 4, - "HAS_UPLOAD_CLICKS_CONVERSION": 5, - "AVERAGE_DAILY_SPEND_TOO_HIGH": 6, - "ANALYSIS_NOT_COMPLETE": 7, - "OTHER": 8, -} - -func (x CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason) String() string { - return proto.EnumName(CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason_name, int32(x)) -} - -func (CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_9902b2b64be08123, []int{0, 0} -} - -// Container for enum describing reasons why a customer is not eligible to use -// PaymentMode.CONVERSIONS. -type CustomerPayPerConversionEligibilityFailureReasonEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomerPayPerConversionEligibilityFailureReasonEnum) Reset() { - *m = CustomerPayPerConversionEligibilityFailureReasonEnum{} -} -func (m *CustomerPayPerConversionEligibilityFailureReasonEnum) String() string { - return proto.CompactTextString(m) -} -func (*CustomerPayPerConversionEligibilityFailureReasonEnum) ProtoMessage() {} -func (*CustomerPayPerConversionEligibilityFailureReasonEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_9902b2b64be08123, []int{0} -} - -func (m *CustomerPayPerConversionEligibilityFailureReasonEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomerPayPerConversionEligibilityFailureReasonEnum.Unmarshal(m, b) -} -func (m *CustomerPayPerConversionEligibilityFailureReasonEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomerPayPerConversionEligibilityFailureReasonEnum.Marshal(b, m, deterministic) -} -func (m *CustomerPayPerConversionEligibilityFailureReasonEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerPayPerConversionEligibilityFailureReasonEnum.Merge(m, src) -} -func (m *CustomerPayPerConversionEligibilityFailureReasonEnum) XXX_Size() int { - return xxx_messageInfo_CustomerPayPerConversionEligibilityFailureReasonEnum.Size(m) -} -func (m *CustomerPayPerConversionEligibilityFailureReasonEnum) XXX_DiscardUnknown() { - xxx_messageInfo_CustomerPayPerConversionEligibilityFailureReasonEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomerPayPerConversionEligibilityFailureReasonEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason", CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason_name, CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason_value) - proto.RegisterType((*CustomerPayPerConversionEligibilityFailureReasonEnum)(nil), "google.ads.googleads.v2.enums.CustomerPayPerConversionEligibilityFailureReasonEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/customer_pay_per_conversion_eligibility_failure_reason.proto", fileDescriptor_9902b2b64be08123) -} - -var fileDescriptor_9902b2b64be08123 = []byte{ - // 476 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0x4f, 0x6f, 0x94, 0x40, - 0x18, 0xc6, 0x2d, 0xb5, 0xad, 0x4e, 0x0f, 0x12, 0x12, 0x35, 0xd6, 0x36, 0xda, 0x7a, 0x07, 0x83, - 0x7a, 0xc1, 0xd3, 0x2c, 0x4c, 0x81, 0x94, 0xce, 0x10, 0xfe, 0x35, 0x6d, 0x36, 0x99, 0xd0, 0x65, - 0x24, 0x24, 0xec, 0x0c, 0x61, 0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 0x48, 0x7d, 0x94, 0xbd, 0xca, 0x4c, 0xbd, 0xaf, 0x58, 0xfe, 0x5c, 0xcf, 0xa7, 0xb0, 0x90, - 0xd3, 0xcd, 0x7c, 0x9a, 0x99, 0xd3, 0x61, 0xfe, 0x5b, 0x39, 0x1f, 0x0f, 0x2d, 0x0b, 0x16, 0xd2, - 0xb2, 0x36, 0x0e, 0xcb, 0xca, 0x4c, 0xcb, 0x1a, 0x3c, 0xf7, 0x87, 0xc3, 0xc3, 0x3e, 0xfc, 0x09, - 0x00, 0x00, 0xff, 0xff, 0x22, 0x76, 0xfd, 0x64, 0x02, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/data_driven_model_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/data_driven_model_status.pb.go deleted file mode 100644 index 2699920c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/data_driven_model_status.pb.go +++ /dev/null @@ -1,140 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/data_driven_model_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_c5ef206018e780c1, []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_c5ef206018e780c1, []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 (m *DataDrivenModelStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_DataDrivenModelStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.DataDrivenModelStatusEnum_DataDrivenModelStatus", DataDrivenModelStatusEnum_DataDrivenModelStatus_name, DataDrivenModelStatusEnum_DataDrivenModelStatus_value) - proto.RegisterType((*DataDrivenModelStatusEnum)(nil), "google.ads.googleads.v2.enums.DataDrivenModelStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/data_driven_model_status.proto", fileDescriptor_c5ef206018e780c1) -} - -var fileDescriptor_c5ef206018e780c1 = []byte{ - // 341 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x4a, 0xc3, 0x30, - 0x1c, 0xb6, 0x9d, 0x53, 0x96, 0x21, 0x2b, 0x15, 0x0f, 0x0e, 0x77, 0xd8, 0x1e, 0x20, 0x85, 0x7a, - 0x8b, 0x5e, 0x52, 0x1b, 0x47, 0x71, 0xd6, 0xb2, 0x3f, 0x55, 0xa4, 0x50, 0xa2, 0x29, 0xa5, 0xb0, - 0x26, 0x73, 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, 0xf8, 0x56, 0xd3, 0xfb, 0x31, 0x40, 0xff, 0x55, 0x94, 0xf0, - 0xdf, 0x52, 0x5e, 0x77, 0xef, 0x59, 0x51, 0x55, 0x29, 0x32, 0x9e, 0xbd, 0x8d, 0x39, 0x17, 0x73, - 0xca, 0x73, 0x28, 0x96, 0xb9, 0x93, 0x67, 0x5c, 0x17, 0xde, 0xee, 0xbb, 0x28, 0xe4, 0x1f, 0x73, - 0x5f, 0xe9, 0xf7, 0xc3, 0x6c, 0x0c, 0x31, 0xfe, 0x34, 0x7b, 0xc3, 0x3a, 0x0a, 0x33, 0x09, 0x6b, - 0x58, 0xa1, 0xd8, 0x85, 0xd5, 0x3e, 0xf2, 0x6b, 0xcb, 0x27, 0x98, 0xc9, 0x64, 0xc7, 0x27, 0xb1, - 0x9b, 0x68, 0xfe, 0xdb, 0xec, 0xd7, 0x9f, 0x08, 0x61, 0x26, 0x11, 0xda, 0x29, 0x10, 0x8a, 0x5d, - 0x84, 0xb4, 0xe6, 0xe5, 0x48, 0x1f, 0x76, 0xf9, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x97, 0xe3, 0xdc, - 0xa5, 0x06, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/day_of_week.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/day_of_week.pb.go deleted file mode 100644 index 1355676d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/day_of_week.pb.go +++ /dev/null @@ -1,146 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/day_of_week.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_26c427a973cf03ad, []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_26c427a973cf03ad, []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 (m *DayOfWeekEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_DayOfWeekEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.DayOfWeekEnum_DayOfWeek", DayOfWeekEnum_DayOfWeek_name, DayOfWeekEnum_DayOfWeek_value) - proto.RegisterType((*DayOfWeekEnum)(nil), "google.ads.googleads.v2.enums.DayOfWeekEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/day_of_week.proto", fileDescriptor_26c427a973cf03ad) -} - -var fileDescriptor_26c427a973cf03ad = []byte{ - // 343 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xcf, 0x4e, 0x32, 0x31, - 0x14, 0xc5, 0xbf, 0x19, 0x3e, 0xf9, 0x53, 0x44, 0xc9, 0x2c, 0x8d, 0x2c, 0xe0, 0x01, 0x3a, 0xc9, - 0xb8, 0xab, 0xab, 0xe2, 0x0c, 0x48, 0x8c, 0x03, 0x61, 0x18, 0x88, 0x66, 0x12, 0x52, 0x9d, 0xd2, - 0x10, 0xa0, 0x25, 0x14, 0x30, 0x3c, 0x80, 0xcf, 0xe0, 0xde, 0xa5, 0x8f, 0xe2, 0x6b, 0xb8, 0xf3, - 0x29, 0x4c, 0x5b, 0x66, 0x76, 0xba, 0x69, 0xce, 0xe9, 0xef, 0x9e, 0x9b, 0x7b, 0x2f, 0x70, 0x99, - 0x10, 0x6c, 0x49, 0x5d, 0x92, 0xca, 0xa3, 0x54, 0x6a, 0xef, 0xb9, 0x94, 0xef, 0x56, 0xd2, 0x4d, - 0xc9, 0x61, 0x2a, 0x66, 0xd3, 0x17, 0x4a, 0x17, 0x70, 0xbd, 0x11, 0x5b, 0xe1, 0x34, 0x4c, 0x15, - 0x24, 0xa9, 0x84, 0x79, 0x00, 0xee, 0x3d, 0xa8, 0x03, 0x17, 0x97, 0x59, 0xbf, 0xf5, 0xdc, 0x25, - 0x9c, 0x8b, 0x2d, 0xd9, 0xce, 0x05, 0x97, 0x26, 0xdc, 0x7a, 0xb3, 0x40, 0xcd, 0x27, 0x87, 0xfe, - 0x6c, 0x42, 0xe9, 0x22, 0xe0, 0xbb, 0x55, 0xeb, 0xd5, 0x02, 0x95, 0xfc, 0xc7, 0x39, 0x07, 0xd5, - 0x38, 0x8c, 0x06, 0xc1, 0x4d, 0xaf, 0xd3, 0x0b, 0xfc, 0xfa, 0x3f, 0xa7, 0x0a, 0x4a, 0x71, 0x78, - 0x17, 0xf6, 0x27, 0x61, 0xdd, 0x72, 0x00, 0x28, 0xde, 0xf7, 0x43, 0x1f, 0x3f, 0xd4, 0x6d, 0x05, - 0x46, 0x71, 0x10, 0x29, 0x53, 0x70, 0x6a, 0xa0, 0x32, 0x09, 0xfc, 0xd0, 0xd8, 0xff, 0xce, 0x29, - 0x28, 0x8f, 0x6e, 0xe3, 0xa1, 0x76, 0x27, 0x2a, 0xd5, 0x19, 0xf6, 0x94, 0x2e, 0x2a, 0x12, 0xe1, - 0x51, 0x3c, 0x54, 0xae, 0xa4, 0x48, 0x14, 0xeb, 0x7e, 0xe5, 0xf6, 0x97, 0x05, 0x9a, 0xcf, 0x62, - 0x05, 0xff, 0xdc, 0xae, 0x7d, 0x96, 0x8f, 0x3a, 0x50, 0xfb, 0x0c, 0xac, 0xc7, 0xf6, 0x31, 0xc0, - 0xc4, 0x92, 0x70, 0x06, 0xc5, 0x86, 0xb9, 0x8c, 0x72, 0xbd, 0x6d, 0x76, 0xcf, 0xf5, 0x5c, 0xfe, - 0x72, 0xde, 0x6b, 0xfd, 0xbe, 0xdb, 0x85, 0x2e, 0xc6, 0x1f, 0x76, 0xa3, 0x6b, 0x5a, 0xe1, 0x54, - 0x42, 0x23, 0x95, 0x1a, 0x7b, 0x50, 0x1d, 0x4a, 0x7e, 0x66, 0x3c, 0xc1, 0xa9, 0x4c, 0x72, 0x9e, - 0x8c, 0xbd, 0x44, 0xf3, 0x6f, 0xbb, 0x69, 0x3e, 0x11, 0xc2, 0xa9, 0x44, 0x28, 0xaf, 0x40, 0x68, - 0xec, 0x21, 0xa4, 0x6b, 0x9e, 0x8a, 0x7a, 0xb0, 0xab, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x1f, - 0xaf, 0x68, 0x22, 0xf6, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/device.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/device.pb.go deleted file mode 100644 index a547fb36..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/device.pb.go +++ /dev/null @@ -1,136 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/device.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // Smart TVs and game consoles. - DeviceEnum_CONNECTED_TV DeviceEnum_Device = 6 - // Other device types. - DeviceEnum_OTHER DeviceEnum_Device = 5 -) - -var DeviceEnum_Device_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "MOBILE", - 3: "TABLET", - 4: "DESKTOP", - 6: "CONNECTED_TV", - 5: "OTHER", -} - -var DeviceEnum_Device_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "MOBILE": 2, - "TABLET": 3, - "DESKTOP": 4, - "CONNECTED_TV": 6, - "OTHER": 5, -} - -func (x DeviceEnum_Device) String() string { - return proto.EnumName(DeviceEnum_Device_name, int32(x)) -} - -func (DeviceEnum_Device) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6305e028dfac21dd, []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_6305e028dfac21dd, []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 (m *DeviceEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeviceEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.DeviceEnum_Device", DeviceEnum_Device_name, DeviceEnum_Device_value) - proto.RegisterType((*DeviceEnum)(nil), "google.ads.googleads.v2.enums.DeviceEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/device.proto", fileDescriptor_6305e028dfac21dd) -} - -var fileDescriptor_6305e028dfac21dd = []byte{ - // 320 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x41, 0x4f, 0xfa, 0x30, - 0x00, 0xc5, 0xff, 0x8c, 0x3f, 0x33, 0x16, 0x13, 0x9b, 0x1d, 0x8d, 0x1c, 0xe0, 0xe8, 0xa1, 0x4b, - 0xe6, 0xad, 0x9e, 0x36, 0x56, 0x91, 0x80, 0xdb, 0x22, 0x65, 0x26, 0x66, 0x89, 0x99, 0x74, 0xa9, - 0x4b, 0xa0, 0x25, 0x14, 0xf6, 0x81, 0x3c, 0xfa, 0x51, 0xfc, 0x14, 0x9e, 0xfd, 0x14, 0xa6, 0xad, - 0xec, 0xa6, 0x97, 0xe5, 0xad, 0xef, 0xd7, 0x97, 0xd7, 0x07,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, 0x24, 0x0c, 0xdf, 0x9d, 0xc1, 0xc4, 0x46, 0x85, 0x4c, 0x21, 0x2b, 0xb5, 0xca, 0x03, 0xa4, - 0x77, 0x50, 0x1f, 0x47, 0xbf, 0x08, 0x99, 0x2a, 0x5a, 0xbf, 0xc8, 0x83, 0xc2, 0xf8, 0x5f, 0xce, - 0xd0, 0x1e, 0x62, 0x1c, 0x32, 0x85, 0x71, 0x4b, 0x60, 0x9c, 0x07, 0x18, 0x1b, 0xe6, 0xc5, 0x35, - 0xc5, 0xae, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x41, 0xbc, 0x96, 0x4f, 0xcc, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/display_ad_format_setting.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/display_ad_format_setting.pb.go deleted file mode 100644 index 443f8e04..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/display_ad_format_setting.pb.go +++ /dev/null @@ -1,130 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/display_ad_format_setting.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_172992d13d9fd674, []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_172992d13d9fd674, []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 (m *DisplayAdFormatSettingEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_DisplayAdFormatSettingEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.DisplayAdFormatSettingEnum_DisplayAdFormatSetting", DisplayAdFormatSettingEnum_DisplayAdFormatSetting_name, DisplayAdFormatSettingEnum_DisplayAdFormatSetting_value) - proto.RegisterType((*DisplayAdFormatSettingEnum)(nil), "google.ads.googleads.v2.enums.DisplayAdFormatSettingEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/display_ad_format_setting.proto", fileDescriptor_172992d13d9fd674) -} - -var fileDescriptor_172992d13d9fd674 = []byte{ - // 329 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x41, 0x4b, 0xfb, 0x30, - 0x1c, 0xfd, 0xb7, 0xfb, 0x33, 0x21, 0x03, 0x2d, 0x3d, 0x78, 0x98, 0xee, 0xb0, 0x7d, 0x80, 0x14, - 0xea, 0x2d, 0xe2, 0x21, 0x73, 0xdd, 0x18, 0xce, 0x6c, 0xb8, 0xad, 0x82, 0x14, 0x4a, 0x5c, 0x6a, - 0x28, 0xac, 0x49, 0x59, 0xb2, 0x81, 0x47, 0xbf, 0x8a, 0x47, 0x3f, 0x8a, 0x1f, 0xc5, 0x93, 0x1f, - 0x41, 0x9a, 0x6c, 0x3d, 0x4d, 0x2f, 0xe1, 0x91, 0xf7, 0x7b,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0xb5, - 0xcc, 0xd5, 0x2f, 0x1d, 0x5f, 0x9b, 0xf7, 0xdd, 0x6d, 0x8c, 0x30, 0xfe, 0x70, 0x3b, 0x23, 0x6b, - 0x85, 0x99, 0x82, 0x16, 0x56, 0x28, 0x0e, 0x61, 0x55, 0x89, 0xfa, 0x3c, 0xf0, 0x09, 0x66, 0x2a, - 0xa9, 0xf9, 0x24, 0x0e, 0x13, 0xc3, 0x7f, 0xb9, 0x5d, 0xfb, 0x89, 0x10, 0x66, 0x0a, 0xa1, 0x7a, - 0x02, 0xa1, 0x38, 0x44, 0xc8, 0xcc, 0x3c, 0x37, 0xcd, 0x61, 0x57, 0x3f, 0x01, 0x00, 0x00, 0xff, - 0xff, 0xe1, 0xbd, 0x7b, 0x35, 0xfb, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/display_upload_product_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/display_upload_product_type.pb.go deleted file mode 100644 index 3ac22803..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/display_upload_product_type.pb.go +++ /dev/null @@ -1,187 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/display_upload_product_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enumerates display upload product types. -type DisplayUploadProductTypeEnum_DisplayUploadProductType int32 - -const ( - // Not specified. - DisplayUploadProductTypeEnum_UNSPECIFIED DisplayUploadProductTypeEnum_DisplayUploadProductType = 0 - // The value is unknown in this version. - DisplayUploadProductTypeEnum_UNKNOWN DisplayUploadProductTypeEnum_DisplayUploadProductType = 1 - // HTML5 upload ad. This product type requires the upload_media_bundle - // field in DisplayUploadAdInfo to be set. - DisplayUploadProductTypeEnum_HTML5_UPLOAD_AD DisplayUploadProductTypeEnum_DisplayUploadProductType = 2 - // Dynamic HTML5 education ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in an education campaign. - DisplayUploadProductTypeEnum_DYNAMIC_HTML5_EDUCATION_AD DisplayUploadProductTypeEnum_DisplayUploadProductType = 3 - // Dynamic HTML5 flight ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a flight campaign. - DisplayUploadProductTypeEnum_DYNAMIC_HTML5_FLIGHT_AD DisplayUploadProductTypeEnum_DisplayUploadProductType = 4 - // Dynamic HTML5 hotel and rental ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a hotel campaign. - DisplayUploadProductTypeEnum_DYNAMIC_HTML5_HOTEL_RENTAL_AD DisplayUploadProductTypeEnum_DisplayUploadProductType = 5 - // Dynamic HTML5 job ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a job campaign. - DisplayUploadProductTypeEnum_DYNAMIC_HTML5_JOB_AD DisplayUploadProductTypeEnum_DisplayUploadProductType = 6 - // Dynamic HTML5 local ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a local campaign. - DisplayUploadProductTypeEnum_DYNAMIC_HTML5_LOCAL_AD DisplayUploadProductTypeEnum_DisplayUploadProductType = 7 - // Dynamic HTML5 real estate ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a real estate campaign. - DisplayUploadProductTypeEnum_DYNAMIC_HTML5_REAL_ESTATE_AD DisplayUploadProductTypeEnum_DisplayUploadProductType = 8 - // Dynamic HTML5 custom ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a custom campaign. - DisplayUploadProductTypeEnum_DYNAMIC_HTML5_CUSTOM_AD DisplayUploadProductTypeEnum_DisplayUploadProductType = 9 - // Dynamic HTML5 travel ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a travel campaign. - DisplayUploadProductTypeEnum_DYNAMIC_HTML5_TRAVEL_AD DisplayUploadProductTypeEnum_DisplayUploadProductType = 10 - // Dynamic HTML5 hotel ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a hotel campaign. - DisplayUploadProductTypeEnum_DYNAMIC_HTML5_HOTEL_AD DisplayUploadProductTypeEnum_DisplayUploadProductType = 11 -) - -var DisplayUploadProductTypeEnum_DisplayUploadProductType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "HTML5_UPLOAD_AD", - 3: "DYNAMIC_HTML5_EDUCATION_AD", - 4: "DYNAMIC_HTML5_FLIGHT_AD", - 5: "DYNAMIC_HTML5_HOTEL_RENTAL_AD", - 6: "DYNAMIC_HTML5_JOB_AD", - 7: "DYNAMIC_HTML5_LOCAL_AD", - 8: "DYNAMIC_HTML5_REAL_ESTATE_AD", - 9: "DYNAMIC_HTML5_CUSTOM_AD", - 10: "DYNAMIC_HTML5_TRAVEL_AD", - 11: "DYNAMIC_HTML5_HOTEL_AD", -} - -var DisplayUploadProductTypeEnum_DisplayUploadProductType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "HTML5_UPLOAD_AD": 2, - "DYNAMIC_HTML5_EDUCATION_AD": 3, - "DYNAMIC_HTML5_FLIGHT_AD": 4, - "DYNAMIC_HTML5_HOTEL_RENTAL_AD": 5, - "DYNAMIC_HTML5_JOB_AD": 6, - "DYNAMIC_HTML5_LOCAL_AD": 7, - "DYNAMIC_HTML5_REAL_ESTATE_AD": 8, - "DYNAMIC_HTML5_CUSTOM_AD": 9, - "DYNAMIC_HTML5_TRAVEL_AD": 10, - "DYNAMIC_HTML5_HOTEL_AD": 11, -} - -func (x DisplayUploadProductTypeEnum_DisplayUploadProductType) String() string { - return proto.EnumName(DisplayUploadProductTypeEnum_DisplayUploadProductType_name, int32(x)) -} - -func (DisplayUploadProductTypeEnum_DisplayUploadProductType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_93737b3f73f1d8eb, []int{0, 0} -} - -// Container for display upload product types. Product types that have the word -// "DYNAMIC" in them must be associated with a campaign that has a dynamic -// remarketing feed. See https://support.google.com/google-ads/answer/6053288 -// for more info about dynamic remarketing. Other product types are regarded -// as "static" and do not have this requirement. -type DisplayUploadProductTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DisplayUploadProductTypeEnum) Reset() { *m = DisplayUploadProductTypeEnum{} } -func (m *DisplayUploadProductTypeEnum) String() string { return proto.CompactTextString(m) } -func (*DisplayUploadProductTypeEnum) ProtoMessage() {} -func (*DisplayUploadProductTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_93737b3f73f1d8eb, []int{0} -} - -func (m *DisplayUploadProductTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DisplayUploadProductTypeEnum.Unmarshal(m, b) -} -func (m *DisplayUploadProductTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DisplayUploadProductTypeEnum.Marshal(b, m, deterministic) -} -func (m *DisplayUploadProductTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_DisplayUploadProductTypeEnum.Merge(m, src) -} -func (m *DisplayUploadProductTypeEnum) XXX_Size() int { - return xxx_messageInfo_DisplayUploadProductTypeEnum.Size(m) -} -func (m *DisplayUploadProductTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_DisplayUploadProductTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_DisplayUploadProductTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.DisplayUploadProductTypeEnum_DisplayUploadProductType", DisplayUploadProductTypeEnum_DisplayUploadProductType_name, DisplayUploadProductTypeEnum_DisplayUploadProductType_value) - proto.RegisterType((*DisplayUploadProductTypeEnum)(nil), "google.ads.googleads.v2.enums.DisplayUploadProductTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/display_upload_product_type.proto", fileDescriptor_93737b3f73f1d8eb) -} - -var fileDescriptor_93737b3f73f1d8eb = []byte{ - // 441 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xc1, 0xaa, 0xd3, 0x40, - 0x14, 0x86, 0x6d, 0xae, 0xde, 0xab, 0xd3, 0xc5, 0x2d, 0xa3, 0xe8, 0xa5, 0xb6, 0x62, 0xef, 0x03, - 0x4c, 0x20, 0xe2, 0x26, 0x2e, 0x64, 0x9a, 0xcc, 0x6d, 0xa3, 0x69, 0x12, 0xda, 0x49, 0x45, 0x29, - 0x84, 0x78, 0x27, 0x84, 0x42, 0x9b, 0x19, 0x3a, 0x69, 0xa1, 0xaf, 0xe3, 0xd2, 0x47, 0xf1, 0x15, - 0x7c, 0x03, 0x97, 0xae, 0x5d, 0xc8, 0xcc, 0xd8, 0x42, 0x28, 0x75, 0x33, 0x1c, 0xe6, 0xfb, 0xcf, - 0x7f, 0x0e, 0xfc, 0x07, 0xbc, 0x2f, 0x39, 0x2f, 0x57, 0x85, 0x9d, 0x33, 0x69, 0x9b, 0x52, 0x55, - 0x3b, 0xc7, 0x2e, 0xaa, 0xed, 0x5a, 0xda, 0x6c, 0x29, 0xc5, 0x2a, 0xdf, 0x67, 0x5b, 0xb1, 0xe2, - 0x39, 0xcb, 0xc4, 0x86, 0xb3, 0xed, 0x7d, 0x9d, 0xd5, 0x7b, 0x51, 0x20, 0xb1, 0xe1, 0x35, 0x87, - 0x7d, 0xd3, 0x85, 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x74, 0x8a, 0xe7, 0x44, 0x7b, 0x83, - 0xd3, 0xb9, 0x66, 0x69, 0xec, 0x77, 0xda, 0xc3, 0xdf, 0x2d, 0x30, 0xb8, 0xe7, 0x6b, 0xf4, 0xdf, - 0x08, 0x87, 0xfd, 0x73, 0x01, 0x24, 0x2a, 0xc3, 0xa4, 0xf5, 0x65, 0xf8, 0xaf, 0xbf, 0xe4, 0xab, - 0xbc, 0x2a, 0x11, 0xdf, 0x94, 0x76, 0x59, 0x54, 0x3a, 0xe1, 0xc3, 0x4d, 0x89, 0xa5, 0x3c, 0x73, - 0x62, 0xef, 0xf4, 0xfb, 0xcd, 0xba, 0x18, 0x61, 0xfc, 0xdd, 0xea, 0x8f, 0x8c, 0x15, 0x66, 0x12, - 0x99, 0x52, 0x55, 0x73, 0x07, 0xa9, 0x6b, 0x90, 0x3f, 0x0e, 0x7c, 0x81, 0x99, 0x5c, 0x1c, 0xf9, - 0x62, 0xee, 0x2c, 0x34, 0xff, 0x65, 0x0d, 0xcc, 0xa7, 0xeb, 0x62, 0x26, 0x5d, 0xf7, 0xa8, 0x70, - 0xdd, 0xb9, 0xe3, 0xba, 0x5a, 0xf3, 0xf5, 0x52, 0x2f, 0xf6, 0xe6, 0x6f, 0x00, 0x00, 0x00, 0xff, - 0xff, 0xe2, 0xaf, 0x76, 0x61, 0xfa, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/distance_bucket.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/distance_bucket.pb.go deleted file mode 100644 index 32841d51..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/distance_bucket.pb.go +++ /dev/null @@ -1,235 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/distance_bucket.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The distance bucket for a user’s distance from an advertiser’s location -// extension. -type DistanceBucketEnum_DistanceBucket int32 - -const ( - // Not specified. - DistanceBucketEnum_UNSPECIFIED DistanceBucketEnum_DistanceBucket = 0 - // Used for return value only. Represents value unknown in this version. - DistanceBucketEnum_UNKNOWN DistanceBucketEnum_DistanceBucket = 1 - // User was within 700m of the location. - DistanceBucketEnum_WITHIN_700M DistanceBucketEnum_DistanceBucket = 2 - // User was within 1KM of the location. - DistanceBucketEnum_WITHIN_1KM DistanceBucketEnum_DistanceBucket = 3 - // User was within 5KM of the location. - DistanceBucketEnum_WITHIN_5KM DistanceBucketEnum_DistanceBucket = 4 - // User was within 10KM of the location. - DistanceBucketEnum_WITHIN_10KM DistanceBucketEnum_DistanceBucket = 5 - // User was within 15KM of the location. - DistanceBucketEnum_WITHIN_15KM DistanceBucketEnum_DistanceBucket = 6 - // User was within 20KM of the location. - DistanceBucketEnum_WITHIN_20KM DistanceBucketEnum_DistanceBucket = 7 - // User was within 25KM of the location. - DistanceBucketEnum_WITHIN_25KM DistanceBucketEnum_DistanceBucket = 8 - // User was within 30KM of the location. - DistanceBucketEnum_WITHIN_30KM DistanceBucketEnum_DistanceBucket = 9 - // User was within 35KM of the location. - DistanceBucketEnum_WITHIN_35KM DistanceBucketEnum_DistanceBucket = 10 - // User was within 40KM of the location. - DistanceBucketEnum_WITHIN_40KM DistanceBucketEnum_DistanceBucket = 11 - // User was within 45KM of the location. - DistanceBucketEnum_WITHIN_45KM DistanceBucketEnum_DistanceBucket = 12 - // User was within 50KM of the location. - DistanceBucketEnum_WITHIN_50KM DistanceBucketEnum_DistanceBucket = 13 - // User was within 55KM of the location. - DistanceBucketEnum_WITHIN_55KM DistanceBucketEnum_DistanceBucket = 14 - // User was within 60KM of the location. - DistanceBucketEnum_WITHIN_60KM DistanceBucketEnum_DistanceBucket = 15 - // User was within 65KM of the location. - DistanceBucketEnum_WITHIN_65KM DistanceBucketEnum_DistanceBucket = 16 - // User was beyond 65KM of the location. - DistanceBucketEnum_BEYOND_65KM DistanceBucketEnum_DistanceBucket = 17 - // User was within 0.7 miles of the location. - DistanceBucketEnum_WITHIN_0_7MILES DistanceBucketEnum_DistanceBucket = 18 - // User was within 1 mile of the location. - DistanceBucketEnum_WITHIN_1MILE DistanceBucketEnum_DistanceBucket = 19 - // User was within 5 miles of the location. - DistanceBucketEnum_WITHIN_5MILES DistanceBucketEnum_DistanceBucket = 20 - // User was within 10 miles of the location. - DistanceBucketEnum_WITHIN_10MILES DistanceBucketEnum_DistanceBucket = 21 - // User was within 15 miles of the location. - DistanceBucketEnum_WITHIN_15MILES DistanceBucketEnum_DistanceBucket = 22 - // User was within 20 miles of the location. - DistanceBucketEnum_WITHIN_20MILES DistanceBucketEnum_DistanceBucket = 23 - // User was within 25 miles of the location. - DistanceBucketEnum_WITHIN_25MILES DistanceBucketEnum_DistanceBucket = 24 - // User was within 30 miles of the location. - DistanceBucketEnum_WITHIN_30MILES DistanceBucketEnum_DistanceBucket = 25 - // User was within 35 miles of the location. - DistanceBucketEnum_WITHIN_35MILES DistanceBucketEnum_DistanceBucket = 26 - // User was within 40 miles of the location. - DistanceBucketEnum_WITHIN_40MILES DistanceBucketEnum_DistanceBucket = 27 - // User was beyond 40 miles of the location. - DistanceBucketEnum_BEYOND_40MILES DistanceBucketEnum_DistanceBucket = 28 -) - -var DistanceBucketEnum_DistanceBucket_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "WITHIN_700M", - 3: "WITHIN_1KM", - 4: "WITHIN_5KM", - 5: "WITHIN_10KM", - 6: "WITHIN_15KM", - 7: "WITHIN_20KM", - 8: "WITHIN_25KM", - 9: "WITHIN_30KM", - 10: "WITHIN_35KM", - 11: "WITHIN_40KM", - 12: "WITHIN_45KM", - 13: "WITHIN_50KM", - 14: "WITHIN_55KM", - 15: "WITHIN_60KM", - 16: "WITHIN_65KM", - 17: "BEYOND_65KM", - 18: "WITHIN_0_7MILES", - 19: "WITHIN_1MILE", - 20: "WITHIN_5MILES", - 21: "WITHIN_10MILES", - 22: "WITHIN_15MILES", - 23: "WITHIN_20MILES", - 24: "WITHIN_25MILES", - 25: "WITHIN_30MILES", - 26: "WITHIN_35MILES", - 27: "WITHIN_40MILES", - 28: "BEYOND_40MILES", -} - -var DistanceBucketEnum_DistanceBucket_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "WITHIN_700M": 2, - "WITHIN_1KM": 3, - "WITHIN_5KM": 4, - "WITHIN_10KM": 5, - "WITHIN_15KM": 6, - "WITHIN_20KM": 7, - "WITHIN_25KM": 8, - "WITHIN_30KM": 9, - "WITHIN_35KM": 10, - "WITHIN_40KM": 11, - "WITHIN_45KM": 12, - "WITHIN_50KM": 13, - "WITHIN_55KM": 14, - "WITHIN_60KM": 15, - "WITHIN_65KM": 16, - "BEYOND_65KM": 17, - "WITHIN_0_7MILES": 18, - "WITHIN_1MILE": 19, - "WITHIN_5MILES": 20, - "WITHIN_10MILES": 21, - "WITHIN_15MILES": 22, - "WITHIN_20MILES": 23, - "WITHIN_25MILES": 24, - "WITHIN_30MILES": 25, - "WITHIN_35MILES": 26, - "WITHIN_40MILES": 27, - "BEYOND_40MILES": 28, -} - -func (x DistanceBucketEnum_DistanceBucket) String() string { - return proto.EnumName(DistanceBucketEnum_DistanceBucket_name, int32(x)) -} - -func (DistanceBucketEnum_DistanceBucket) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_c866c6249f77d850, []int{0, 0} -} - -// Container for distance buckets of a user’s distance from an advertiser’s -// location extension. -type DistanceBucketEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DistanceBucketEnum) Reset() { *m = DistanceBucketEnum{} } -func (m *DistanceBucketEnum) String() string { return proto.CompactTextString(m) } -func (*DistanceBucketEnum) ProtoMessage() {} -func (*DistanceBucketEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_c866c6249f77d850, []int{0} -} - -func (m *DistanceBucketEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DistanceBucketEnum.Unmarshal(m, b) -} -func (m *DistanceBucketEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DistanceBucketEnum.Marshal(b, m, deterministic) -} -func (m *DistanceBucketEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_DistanceBucketEnum.Merge(m, src) -} -func (m *DistanceBucketEnum) XXX_Size() int { - return xxx_messageInfo_DistanceBucketEnum.Size(m) -} -func (m *DistanceBucketEnum) XXX_DiscardUnknown() { - xxx_messageInfo_DistanceBucketEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_DistanceBucketEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.DistanceBucketEnum_DistanceBucket", DistanceBucketEnum_DistanceBucket_name, DistanceBucketEnum_DistanceBucket_value) - proto.RegisterType((*DistanceBucketEnum)(nil), "google.ads.googleads.v2.enums.DistanceBucketEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/distance_bucket.proto", fileDescriptor_c866c6249f77d850) -} - -var fileDescriptor_c866c6249f77d850 = []byte{ - // 457 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xdf, 0x6e, 0xd3, 0x30, - 0x14, 0x87, 0x69, 0x57, 0x36, 0x70, 0xb7, 0xd6, 0x73, 0xf9, 0x3b, 0xb6, 0x8b, 0xed, 0x01, 0x9c, - 0x2e, 0xdd, 0x98, 0x64, 0xae, 0x12, 0x1a, 0x46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0xe2, 0xab, 0x7f, 0x57, 0xfd, 0xb1, 0x97, 0xea, 0xf1, 0xaa, - 0x3f, 0x1e, 0xb9, 0xe3, 0xb2, 0xff, 0xb7, 0x7e, 0x68, 0xa0, 0x10, 0x5e, 0xaa, 0x85, 0x58, 0x19, - 0x42, 0x8c, 0x5c, 0x21, 0x4a, 0xe7, 0x66, 0xb3, 0xfc, 0xb1, 0xde, 0xbf, 0x00, 0x00, 0x00, 0xff, - 0xff, 0x17, 0x0f, 0x87, 0x18, 0x95, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/dsa_page_feed_criterion_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/dsa_page_feed_criterion_field.pb.go deleted file mode 100644 index 1bc15859..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/dsa_page_feed_criterion_field.pb.go +++ /dev/null @@ -1,125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/dsa_page_feed_criterion_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible values for Dynamic Search Ad Page Feed criterion fields. -type DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField int32 - -const ( - // Not specified. - DsaPageFeedCriterionFieldEnum_UNSPECIFIED DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField = 0 - // Used for return value only. Represents value unknown in this version. - DsaPageFeedCriterionFieldEnum_UNKNOWN DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField = 1 - // Data Type: URL or URL_LIST. URL of the web page you want to target. - DsaPageFeedCriterionFieldEnum_PAGE_URL DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField = 2 - // Data Type: STRING_LIST. The labels that will help you target ads within - // your page feed. - DsaPageFeedCriterionFieldEnum_LABEL DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField = 3 -) - -var DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "PAGE_URL", - 3: "LABEL", -} - -var DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "PAGE_URL": 2, - "LABEL": 3, -} - -func (x DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField) String() string { - return proto.EnumName(DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField_name, int32(x)) -} - -func (DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e0c790c1231cef4b, []int{0, 0} -} - -// Values for Dynamic Search Ad Page Feed criterion fields. -type DsaPageFeedCriterionFieldEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DsaPageFeedCriterionFieldEnum) Reset() { *m = DsaPageFeedCriterionFieldEnum{} } -func (m *DsaPageFeedCriterionFieldEnum) String() string { return proto.CompactTextString(m) } -func (*DsaPageFeedCriterionFieldEnum) ProtoMessage() {} -func (*DsaPageFeedCriterionFieldEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_e0c790c1231cef4b, []int{0} -} - -func (m *DsaPageFeedCriterionFieldEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DsaPageFeedCriterionFieldEnum.Unmarshal(m, b) -} -func (m *DsaPageFeedCriterionFieldEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DsaPageFeedCriterionFieldEnum.Marshal(b, m, deterministic) -} -func (m *DsaPageFeedCriterionFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_DsaPageFeedCriterionFieldEnum.Merge(m, src) -} -func (m *DsaPageFeedCriterionFieldEnum) XXX_Size() int { - return xxx_messageInfo_DsaPageFeedCriterionFieldEnum.Size(m) -} -func (m *DsaPageFeedCriterionFieldEnum) XXX_DiscardUnknown() { - xxx_messageInfo_DsaPageFeedCriterionFieldEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_DsaPageFeedCriterionFieldEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField", DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField_name, DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField_value) - proto.RegisterType((*DsaPageFeedCriterionFieldEnum)(nil), "google.ads.googleads.v2.enums.DsaPageFeedCriterionFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/dsa_page_feed_criterion_field.proto", fileDescriptor_e0c790c1231cef4b) -} - -var fileDescriptor_e0c790c1231cef4b = []byte{ - // 318 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcd, 0x4a, 0xc3, 0x40, - 0x18, 0xb4, 0x29, 0xfe, 0x6d, 0x05, 0x43, 0x6e, 0x8a, 0x15, 0xda, 0x07, 0xd8, 0x40, 0xbc, 0xad, - 0xa7, 0x4d, 0x9b, 0x96, 0x62, 0x89, 0xa1, 0xd2, 0x0a, 0x12, 0x08, 0x6b, 0x77, 0xbb, 0x04, 0xda, - 0xdd, 0x90, 0x2f, 0xed, 0x03, 0x79, 0xf4, 0x51, 0x7c, 0x14, 0xaf, 0xbe, 0x80, 0x64, 0xd7, 0xf4, - 0x16, 0x2f, 0x61, 0xc8,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 0xd1, 0x7c, 0x3f, 0x9c, 0xee, 0x94, - 0xd2, 0x4f, 0xa7, 0x3f, 0xb5, 0x56, 0x94, 0x03, 0xb6, 0xb0, 0x46, 0xab, 0x00, 0xd7, 0x23, 0xc0, - 0x57, 0xc3, 0xa7, 0x94, 0x43, 0x7a, 0xe4, 0xd3, 0x55, 0x90, 0x1a, 0xfe, 0xdb, 0x19, 0xd8, 0x9f, - 0x84, 0x50, 0x0e, 0x84, 0x1c, 0x15, 0x84, 0xac, 0x02, 0x42, 0x8c, 0xe6, 0xfd, 0xcc, 0x14, 0x7b, - 0xf8, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xb7, 0x59, 0x13, 0x21, 0xf3, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/education_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/education_placeholder_field.pb.go deleted file mode 100644 index 20f7692d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/education_placeholder_field.pb.go +++ /dev/null @@ -1,213 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/education_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_72225da2e852382b, []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_72225da2e852382b, []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 (m *EducationPlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_EducationPlaceholderFieldEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.EducationPlaceholderFieldEnum_EducationPlaceholderField", EducationPlaceholderFieldEnum_EducationPlaceholderField_name, EducationPlaceholderFieldEnum_EducationPlaceholderField_value) - proto.RegisterType((*EducationPlaceholderFieldEnum)(nil), "google.ads.googleads.v2.enums.EducationPlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/education_placeholder_field.proto", fileDescriptor_72225da2e852382b) -} - -var fileDescriptor_72225da2e852382b = []byte{ - // 514 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, 0x6e, 0x00, 0x21, 0x10, 0x05, 0xed, 0x72, 0x4f, - 0xa4, 0x72, 0x0b, 0x07, 0x34, 0x4d, 0xdc, 0xae, 0xd5, 0xc4, 0x8e, 0xec, 0xa4, 0xcb, 0xa2, 0x4a, - 0x56, 0x68, 0x42, 0xa8, 0xd4, 0x26, 0x55, 0xd3, 0xee, 0xdb, 0x70, 0xe1, 0xc8, 0x4b, 0x70, 0xe7, - 0x51, 0xb8, 0xf2, 0x02, 0xc8, 0x09, 0x69, 0x2f, 0x94, 0x4b, 0x35, 0x9e, 0xf9, 0xe6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d, 0xf5, 0xfb, 0xad, 0xd5, 0x1e, 0x01, 0x7c, - 0x6f, 0xf5, 0x46, 0x35, 0x0a, 0x92, 0xd2, 0xac, 0x4b, 0x5d, 0x4d, 0xfa, 0xa6, 0x0e, 0x54, 0xf9, - 0xb3, 0x99, 0x4f, 0x21, 0x29, 0xa7, 0xbb, 0xf9, 0x74, 0xd2, 0x9f, 0x56, 0xf3, 0x5f, 0xad, 0xcb, - 0xba, 0x69, 0xdb, 0x90, 0x94, 0xb6, 0xbd, 0x53, 0xd8, 0xf6, 0xa4, 0x6f, 0xdb, 0x95, 0xe6, 0xd3, - 0x71, 0x75, 0xb1, 0xb7, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x5d, 0x33, 0x6d, 0x22, 0x3e, 0x03, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/extension_setting_device.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/extension_setting_device.pb.go deleted file mode 100644 index 3ae9556b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/extension_setting_device.pb.go +++ /dev/null @@ -1,126 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/extension_setting_device.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possbile device types for an extension setting. -type ExtensionSettingDeviceEnum_ExtensionSettingDevice int32 - -const ( - // Not specified. - ExtensionSettingDeviceEnum_UNSPECIFIED ExtensionSettingDeviceEnum_ExtensionSettingDevice = 0 - // The value is unknown in this version. - ExtensionSettingDeviceEnum_UNKNOWN ExtensionSettingDeviceEnum_ExtensionSettingDevice = 1 - // Mobile. The extensions in the extension setting will only serve on - // mobile devices. - ExtensionSettingDeviceEnum_MOBILE ExtensionSettingDeviceEnum_ExtensionSettingDevice = 2 - // Desktop. The extensions in the extension setting will only serve on - // desktop devices. - ExtensionSettingDeviceEnum_DESKTOP ExtensionSettingDeviceEnum_ExtensionSettingDevice = 3 -) - -var ExtensionSettingDeviceEnum_ExtensionSettingDevice_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "MOBILE", - 3: "DESKTOP", -} - -var ExtensionSettingDeviceEnum_ExtensionSettingDevice_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "MOBILE": 2, - "DESKTOP": 3, -} - -func (x ExtensionSettingDeviceEnum_ExtensionSettingDevice) String() string { - return proto.EnumName(ExtensionSettingDeviceEnum_ExtensionSettingDevice_name, int32(x)) -} - -func (ExtensionSettingDeviceEnum_ExtensionSettingDevice) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_be48020c63d81f10, []int{0, 0} -} - -// Container for enum describing extension setting device types. -type ExtensionSettingDeviceEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExtensionSettingDeviceEnum) Reset() { *m = ExtensionSettingDeviceEnum{} } -func (m *ExtensionSettingDeviceEnum) String() string { return proto.CompactTextString(m) } -func (*ExtensionSettingDeviceEnum) ProtoMessage() {} -func (*ExtensionSettingDeviceEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_be48020c63d81f10, []int{0} -} - -func (m *ExtensionSettingDeviceEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExtensionSettingDeviceEnum.Unmarshal(m, b) -} -func (m *ExtensionSettingDeviceEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExtensionSettingDeviceEnum.Marshal(b, m, deterministic) -} -func (m *ExtensionSettingDeviceEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExtensionSettingDeviceEnum.Merge(m, src) -} -func (m *ExtensionSettingDeviceEnum) XXX_Size() int { - return xxx_messageInfo_ExtensionSettingDeviceEnum.Size(m) -} -func (m *ExtensionSettingDeviceEnum) XXX_DiscardUnknown() { - xxx_messageInfo_ExtensionSettingDeviceEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_ExtensionSettingDeviceEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.ExtensionSettingDeviceEnum_ExtensionSettingDevice", ExtensionSettingDeviceEnum_ExtensionSettingDevice_name, ExtensionSettingDeviceEnum_ExtensionSettingDevice_value) - proto.RegisterType((*ExtensionSettingDeviceEnum)(nil), "google.ads.googleads.v2.enums.ExtensionSettingDeviceEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/extension_setting_device.proto", fileDescriptor_be48020c63d81f10) -} - -var fileDescriptor_be48020c63d81f10 = []byte{ - // 311 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x41, 0x4b, 0xfb, 0x30, - 0x18, 0xc6, 0xff, 0xeb, 0x60, 0x7f, 0xc8, 0x0e, 0x96, 0x1e, 0x3c, 0x4c, 0x77, 0xd8, 0x3e, 0x40, - 0x02, 0xf5, 0x16, 0xbd, 0xb4, 0x2e, 0x8e, 0x31, 0x6d, 0x0b, 0x73, 0x13, 0xa4, 0x30, 0xea, 0x12, - 0x42, 0x60, 0x4d, 0xca, 0x92, 0x15, 0x3f, 0x8f, 0x47, 0x3f, 0x8a, 0x1f, 0xc5, 0x93, 0x1f, 0x41, - 0x9a, 0xd8, 0x9e, 0xa6, 0x97, 0xf2, 0xd0, 0xe7, 0x7d, 0x7e, 0x79, 0xde, 0x17, 0xdc, 0x70, 0xa5, - 0x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0xfd, 0xd1, 0xfa, 0x79, 0x44, 0x75, 0xde, 0xf9, - 0xf9, 0x26, 0xcc, 0xad, 0xff, 0xe9, 0x4d, 0xdc, 0x4f, 0x8c, 0x23, 0xaa, 0x31, 0xee, 0x26, 0x30, - 0xde, 0x84, 0x18, 0xdb, 0x99, 0x97, 0x81, 0x2d, 0x76, 0xf5, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x9b, - 0xbd, 0xaf, 0x6a, 0xe5, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/extension_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/extension_type.pb.go deleted file mode 100644 index 5ac1de86..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/extension_type.pb.go +++ /dev/null @@ -1,171 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/extension_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible data types for an extension in an extension setting. -type ExtensionTypeEnum_ExtensionType int32 - -const ( - // Not specified. - ExtensionTypeEnum_UNSPECIFIED ExtensionTypeEnum_ExtensionType = 0 - // Used for return value only. Represents value unknown in this version. - ExtensionTypeEnum_UNKNOWN ExtensionTypeEnum_ExtensionType = 1 - // None. - ExtensionTypeEnum_NONE ExtensionTypeEnum_ExtensionType = 2 - // App. - ExtensionTypeEnum_APP ExtensionTypeEnum_ExtensionType = 3 - // Call. - ExtensionTypeEnum_CALL ExtensionTypeEnum_ExtensionType = 4 - // Callout. - ExtensionTypeEnum_CALLOUT ExtensionTypeEnum_ExtensionType = 5 - // Message. - ExtensionTypeEnum_MESSAGE ExtensionTypeEnum_ExtensionType = 6 - // Price. - ExtensionTypeEnum_PRICE ExtensionTypeEnum_ExtensionType = 7 - // Promotion. - ExtensionTypeEnum_PROMOTION ExtensionTypeEnum_ExtensionType = 8 - // Sitelink. - ExtensionTypeEnum_SITELINK ExtensionTypeEnum_ExtensionType = 10 - // Structured snippet. - ExtensionTypeEnum_STRUCTURED_SNIPPET ExtensionTypeEnum_ExtensionType = 11 - // Location. - ExtensionTypeEnum_LOCATION ExtensionTypeEnum_ExtensionType = 12 - // Affiliate location. - ExtensionTypeEnum_AFFILIATE_LOCATION ExtensionTypeEnum_ExtensionType = 13 - // Hotel callout - ExtensionTypeEnum_HOTEL_CALLOUT ExtensionTypeEnum_ExtensionType = 15 -) - -var ExtensionTypeEnum_ExtensionType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "NONE", - 3: "APP", - 4: "CALL", - 5: "CALLOUT", - 6: "MESSAGE", - 7: "PRICE", - 8: "PROMOTION", - 10: "SITELINK", - 11: "STRUCTURED_SNIPPET", - 12: "LOCATION", - 13: "AFFILIATE_LOCATION", - 15: "HOTEL_CALLOUT", -} - -var ExtensionTypeEnum_ExtensionType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "NONE": 2, - "APP": 3, - "CALL": 4, - "CALLOUT": 5, - "MESSAGE": 6, - "PRICE": 7, - "PROMOTION": 8, - "SITELINK": 10, - "STRUCTURED_SNIPPET": 11, - "LOCATION": 12, - "AFFILIATE_LOCATION": 13, - "HOTEL_CALLOUT": 15, -} - -func (x ExtensionTypeEnum_ExtensionType) String() string { - return proto.EnumName(ExtensionTypeEnum_ExtensionType_name, int32(x)) -} - -func (ExtensionTypeEnum_ExtensionType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_f529ac706b65629c, []int{0, 0} -} - -// Container for enum describing possible data types for an extension in an -// extension setting. -type ExtensionTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExtensionTypeEnum) Reset() { *m = ExtensionTypeEnum{} } -func (m *ExtensionTypeEnum) String() string { return proto.CompactTextString(m) } -func (*ExtensionTypeEnum) ProtoMessage() {} -func (*ExtensionTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_f529ac706b65629c, []int{0} -} - -func (m *ExtensionTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExtensionTypeEnum.Unmarshal(m, b) -} -func (m *ExtensionTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExtensionTypeEnum.Marshal(b, m, deterministic) -} -func (m *ExtensionTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExtensionTypeEnum.Merge(m, src) -} -func (m *ExtensionTypeEnum) XXX_Size() int { - return xxx_messageInfo_ExtensionTypeEnum.Size(m) -} -func (m *ExtensionTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_ExtensionTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_ExtensionTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.ExtensionTypeEnum_ExtensionType", ExtensionTypeEnum_ExtensionType_name, ExtensionTypeEnum_ExtensionType_value) - proto.RegisterType((*ExtensionTypeEnum)(nil), "google.ads.googleads.v2.enums.ExtensionTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/extension_type.proto", fileDescriptor_f529ac706b65629c) -} - -var fileDescriptor_f529ac706b65629c = []byte{ - // 409 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0x41, 0x6b, 0xdb, 0x30, - 0x18, 0x9d, 0x93, 0xb6, 0x49, 0x95, 0x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- 0x10, 0xb2, 0x8a, 0x08, 0x69, 0x35, 0x9f, 0x4f, 0xda, 0xc3, 0xde, 0xfd, 0x0d, 0x00, 0x00, 0xff, - 0xff, 0x25, 0x73, 0xe8, 0xe3, 0x59, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/external_conversion_source.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/external_conversion_source.pb.go deleted file mode 100644 index 9b0695bf..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/external_conversion_source.pb.go +++ /dev/null @@ -1,240 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/external_conversion_source.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The external conversion source that is associated with a ConversionAction. -type ExternalConversionSourceEnum_ExternalConversionSource int32 - -const ( - // Not specified. - ExternalConversionSourceEnum_UNSPECIFIED ExternalConversionSourceEnum_ExternalConversionSource = 0 - // Represents value unknown in this version. - ExternalConversionSourceEnum_UNKNOWN ExternalConversionSourceEnum_ExternalConversionSource = 1 - // Conversion that occurs when a user navigates to a particular webpage - // after viewing an ad; Displayed in Google Ads UI as 'Website'. - ExternalConversionSourceEnum_WEBPAGE ExternalConversionSourceEnum_ExternalConversionSource = 2 - // Conversion that comes from linked Google Analytics goal or transaction; - // Displayed in Google Ads UI as 'Analytics'. - ExternalConversionSourceEnum_ANALYTICS ExternalConversionSourceEnum_ExternalConversionSource = 3 - // Website conversion that is uploaded through ConversionUploadService; - // Displayed in Google Ads UI as 'Import from clicks'. - ExternalConversionSourceEnum_UPLOAD ExternalConversionSourceEnum_ExternalConversionSource = 4 - // Conversion that occurs when a user clicks on a call extension directly on - // an ad; Displayed in Google Ads UI as 'Calls from ads'. - ExternalConversionSourceEnum_AD_CALL_METRICS ExternalConversionSourceEnum_ExternalConversionSource = 5 - // Conversion that occurs when a user calls a dynamically-generated phone - // number (by installed javascript) from an advertiser's website after - // clicking on an ad; Displayed in Google Ads UI as 'Calls from website'. - ExternalConversionSourceEnum_WEBSITE_CALL_METRICS ExternalConversionSourceEnum_ExternalConversionSource = 6 - // Conversion that occurs when a user visits an advertiser's retail store - // after clicking on a Google ad; - // Displayed in Google Ads UI as 'Store visits'. - ExternalConversionSourceEnum_STORE_VISITS ExternalConversionSourceEnum_ExternalConversionSource = 7 - // Conversion that occurs when a user takes an in-app action such as a - // purchase in an Android app; - // Displayed in Google Ads UI as 'Android in-app action'. - ExternalConversionSourceEnum_ANDROID_IN_APP ExternalConversionSourceEnum_ExternalConversionSource = 8 - // Conversion that occurs when a user takes an in-app action such as a - // purchase in an iOS app; - // Displayed in Google Ads UI as 'iOS in-app action'. - ExternalConversionSourceEnum_IOS_IN_APP ExternalConversionSourceEnum_ExternalConversionSource = 9 - // Conversion that occurs when a user opens an iOS app for the first time; - // Displayed in Google Ads UI as 'iOS app install (first open)'. - ExternalConversionSourceEnum_IOS_FIRST_OPEN ExternalConversionSourceEnum_ExternalConversionSource = 10 - // Legacy app conversions that do not have an AppPlatform provided; - // Displayed in Google Ads UI as 'Mobile app'. - ExternalConversionSourceEnum_APP_UNSPECIFIED ExternalConversionSourceEnum_ExternalConversionSource = 11 - // Conversion that occurs when a user opens an Android app for the first - // time; Displayed in Google Ads UI as 'Android app install (first open)'. - ExternalConversionSourceEnum_ANDROID_FIRST_OPEN ExternalConversionSourceEnum_ExternalConversionSource = 12 - // Call conversion that is uploaded through ConversionUploadService; - // Displayed in Google Ads UI as 'Import from calls'. - ExternalConversionSourceEnum_UPLOAD_CALLS ExternalConversionSourceEnum_ExternalConversionSource = 13 - // Conversion that comes from a linked Firebase event; - // Displayed in Google Ads UI as 'Firebase'. - ExternalConversionSourceEnum_FIREBASE ExternalConversionSourceEnum_ExternalConversionSource = 14 - // Conversion that occurs when a user clicks on a mobile phone number; - // Displayed in Google Ads UI as 'Phone number clicks'. - ExternalConversionSourceEnum_CLICK_TO_CALL ExternalConversionSourceEnum_ExternalConversionSource = 15 - // Conversion that comes from Salesforce; - // Displayed in Google Ads UI as 'Salesforce.com'. - ExternalConversionSourceEnum_SALESFORCE ExternalConversionSourceEnum_ExternalConversionSource = 16 - // Conversion that comes from in-store purchases recorded by CRM; - // Displayed in Google Ads UI as 'Store sales (data partner)'. - ExternalConversionSourceEnum_STORE_SALES_CRM ExternalConversionSourceEnum_ExternalConversionSource = 17 - // Conversion that comes from in-store purchases from payment network; - // Displayed in Google Ads UI as 'Store sales (payment network)'. - ExternalConversionSourceEnum_STORE_SALES_PAYMENT_NETWORK ExternalConversionSourceEnum_ExternalConversionSource = 18 - // Codeless Google Play conversion; - // Displayed in Google Ads UI as 'Google Play'. - ExternalConversionSourceEnum_GOOGLE_PLAY ExternalConversionSourceEnum_ExternalConversionSource = 19 - // Conversion that comes from a linked third-party app analytics event; - // Displayed in Google Ads UI as 'Third-party app analytics'. - ExternalConversionSourceEnum_THIRD_PARTY_APP_ANALYTICS ExternalConversionSourceEnum_ExternalConversionSource = 20 - // Conversion that is controlled by Google Attribution. - ExternalConversionSourceEnum_GOOGLE_ATTRIBUTION ExternalConversionSourceEnum_ExternalConversionSource = 21 - // Store Sales conversion based on first-party or third-party merchant data - // uploads. Displayed in Google Ads UI as 'Store sales (direct)'. - ExternalConversionSourceEnum_STORE_SALES_DIRECT ExternalConversionSourceEnum_ExternalConversionSource = 22 -) - -var ExternalConversionSourceEnum_ExternalConversionSource_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "WEBPAGE", - 3: "ANALYTICS", - 4: "UPLOAD", - 5: "AD_CALL_METRICS", - 6: "WEBSITE_CALL_METRICS", - 7: "STORE_VISITS", - 8: "ANDROID_IN_APP", - 9: "IOS_IN_APP", - 10: "IOS_FIRST_OPEN", - 11: "APP_UNSPECIFIED", - 12: "ANDROID_FIRST_OPEN", - 13: "UPLOAD_CALLS", - 14: "FIREBASE", - 15: "CLICK_TO_CALL", - 16: "SALESFORCE", - 17: "STORE_SALES_CRM", - 18: "STORE_SALES_PAYMENT_NETWORK", - 19: "GOOGLE_PLAY", - 20: "THIRD_PARTY_APP_ANALYTICS", - 21: "GOOGLE_ATTRIBUTION", - 22: "STORE_SALES_DIRECT", -} - -var ExternalConversionSourceEnum_ExternalConversionSource_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "WEBPAGE": 2, - "ANALYTICS": 3, - "UPLOAD": 4, - "AD_CALL_METRICS": 5, - "WEBSITE_CALL_METRICS": 6, - "STORE_VISITS": 7, - "ANDROID_IN_APP": 8, - "IOS_IN_APP": 9, - "IOS_FIRST_OPEN": 10, - "APP_UNSPECIFIED": 11, - "ANDROID_FIRST_OPEN": 12, - "UPLOAD_CALLS": 13, - "FIREBASE": 14, - "CLICK_TO_CALL": 15, - "SALESFORCE": 16, - "STORE_SALES_CRM": 17, - "STORE_SALES_PAYMENT_NETWORK": 18, - "GOOGLE_PLAY": 19, - "THIRD_PARTY_APP_ANALYTICS": 20, - "GOOGLE_ATTRIBUTION": 21, - "STORE_SALES_DIRECT": 22, -} - -func (x ExternalConversionSourceEnum_ExternalConversionSource) String() string { - return proto.EnumName(ExternalConversionSourceEnum_ExternalConversionSource_name, int32(x)) -} - -func (ExternalConversionSourceEnum_ExternalConversionSource) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_f6d6b59f230796d9, []int{0, 0} -} - -// Container for enum describing the external conversion source that is -// associated with a ConversionAction. -type ExternalConversionSourceEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExternalConversionSourceEnum) Reset() { *m = ExternalConversionSourceEnum{} } -func (m *ExternalConversionSourceEnum) String() string { return proto.CompactTextString(m) } -func (*ExternalConversionSourceEnum) ProtoMessage() {} -func (*ExternalConversionSourceEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_f6d6b59f230796d9, []int{0} -} - -func (m *ExternalConversionSourceEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExternalConversionSourceEnum.Unmarshal(m, b) -} -func (m *ExternalConversionSourceEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExternalConversionSourceEnum.Marshal(b, m, deterministic) -} -func (m *ExternalConversionSourceEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExternalConversionSourceEnum.Merge(m, src) -} -func (m *ExternalConversionSourceEnum) XXX_Size() int { - return xxx_messageInfo_ExternalConversionSourceEnum.Size(m) -} -func (m *ExternalConversionSourceEnum) XXX_DiscardUnknown() { - xxx_messageInfo_ExternalConversionSourceEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_ExternalConversionSourceEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.ExternalConversionSourceEnum_ExternalConversionSource", ExternalConversionSourceEnum_ExternalConversionSource_name, ExternalConversionSourceEnum_ExternalConversionSource_value) - proto.RegisterType((*ExternalConversionSourceEnum)(nil), "google.ads.googleads.v2.enums.ExternalConversionSourceEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/external_conversion_source.proto", fileDescriptor_f6d6b59f230796d9) -} - -var fileDescriptor_f6d6b59f230796d9 = []byte{ - // 553 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0xdd, 0x6e, 0xda, 0x3c, - 0x18, 0xfe, 0x4a, 0xfb, 0xf5, 0xc7, 0xfd, 0x73, 0xdd, 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e, - 0xf1, 0x39, 0x6e, 0x11, 0x58, 0x43, 0xe7, 0xe0, 0x04, 0xc7, 0x38, 0xea, 0x29, 0x1a, 0x48, 0xb8, - 0x8f, 0x00, 0x38, 0x6c, 0xf3, 0x88, 0xe1, 0x10, 0x1e, 0xa0, 0x6b, 0x70, 0x89, 0x43, 0x1d, 0xe0, - 0x28, 0xd2, 0xcf, 0x44, 0x09, 0x0b, 0xf8, 0x1f, 0xdd, 0x81, 0x9b, 0x2e, 0xf1, 0x25, 0x55, 0xe4, - 0xef, 0xce, 0x21, 0x82, 0xe0, 0x4c, 0x2a, 0x26, 0x88, 0xee, 0x50, 0x49, 0x95, 0x84, 0x47, 0x08, - 0x81, 0x0b, 0x1c, 0x87, 0x82, 0xd1, 0x50, 0xd3, 0x58, 0x63, 0xce, 0xe1, 0x31, 0xba, 0x00, 0x80, - 0x32, 0xb9, 0xce, 0x4f, 0x2c, 0xc6, 0xe6, 0x4d, 0x2a, 0xa4, 0xd2, 0x8c, 0x93, 0x18, 0x82, 0x92, - 0x98, 0x73, 0xbd, 0x7d, 0xc2, 0x29, 0xba, 0x05, 0x68, 0xbd, 0x6c, 0x0b, 0x7c, 0x66, 0x69, 0x2b, - 0xc5, 0xa5, 0x1e, 0x09, 0xcf, 0xd1, 0x19, 0x38, 0x6e, 0x52, 0x41, 0x7c, 0x2c, 0x09, 0xbc, 0x40, - 0x57, 0xe0, 0x3c, 0x88, 0x68, 0xf0, 0xa4, 0x15, 0x2b, 0x11, 0xf0, 0xd2, 0x6a, 0x90, 0x38, 0x22, - 0xb2, 0xc9, 0x44, 0x40, 0x20, 0xb4, 0x7c, 0x95, 0xf2, 0xb2, 0xaa, 0x03, 0xf1, 0x0c, 0xaf, 0xd0, - 0x1b, 0xf0, 0x7a, 0xbb, 0xc8, 0x71, 0xef, 0x99, 0xc4, 0x4a, 0xc7, 0x44, 0x75, 0x99, 0x78, 0x82, - 0xc8, 0x7e, 0x72, 0x8b, 0xb1, 0x56, 0x44, 0x34, 0x8f, 0x70, 0x0f, 0x5e, 0xa3, 0x3a, 0x78, 0xa9, - 0x3e, 0x50, 0x11, 0x6a, 0x8e, 0x85, 0xea, 0xd9, 0xfb, 0xf4, 0x9f, 0xaf, 0xbd, 0xb1, 0x07, 0xac, - 0xf0, 0x58, 0x29, 0x41, 0xfd, 0xb6, 0xa2, 0x2c, 0x86, 0x2f, 0x6c, 0x7d, 0x9b, 0x28, 0xa4, 0x82, - 0x04, 0x0a, 0xde, 0xfa, 0xbf, 0xf6, 0xc0, 0xc3, 0xc0, 0x4c, 0x9c, 0x7f, 0xda, 0xc8, 0xaf, 0xef, - 0x32, 0x01, 0xb7, 0x3e, 0xe2, 0x7b, 0x1f, 0xfd, 0xd5, 0x7c, 0x66, 0xc6, 0x49, 0x9e, 0x39, 0x66, - 0x96, 0xb9, 0x59, 0x9a, 0x97, 0x2e, 0x5b, 0xdb, 0x7a, 0x3a, 0x2a, 0x76, 0xb8, 0xfc, 0x5d, 0xf9, - 0x7e, 0xad, 0xed, 0xb7, 0x30, 0xfe, 0x56, 0xab, 0xb7, 0xaa, 0x55, 0x78, 0x58, 0x38, 0x55, 0x68, - 0xa3, 0x4e, 0xc3, 0xb1, 0x8e, 0x2c, 0xbe, 0xaf, 0xfb, 0x7d, 0x3c, 0x2c, 0xfa, 0x9b, 0x7e, 0xbf, - 0xd3, 0xe8, 0x97, 0xfd, 0x9f, 0xb5, 0x87, 0xaa, 0xe8, 0x79, 0x78, 0x58, 0x78, 0xde, 0x06, 0xe1, - 0x79, 0x9d, 0x86, 0xe7, 0x95, 0x98, 0x4f, 0x87, 0xa5, 0xb0, 0xb7, 0xbf, 0x03, 0x00, 0x00, 0xff, - 0xff, 0x93, 0x8a, 0x62, 0xe6, 0x7d, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_attribute_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_attribute_type.pb.go deleted file mode 100644 index 7490fa38..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_attribute_type.pb.go +++ /dev/null @@ -1,174 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/feed_attribute_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_a60eb639924932de, []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_a60eb639924932de, []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 (m *FeedAttributeTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedAttributeTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.FeedAttributeTypeEnum_FeedAttributeType", FeedAttributeTypeEnum_FeedAttributeType_name, FeedAttributeTypeEnum_FeedAttributeType_value) - proto.RegisterType((*FeedAttributeTypeEnum)(nil), "google.ads.googleads.v2.enums.FeedAttributeTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/feed_attribute_type.proto", fileDescriptor_a60eb639924932de) -} - -var fileDescriptor_a60eb639924932de = []byte{ - // 407 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xc1, 0x6a, 0xdb, 0x40, - 0x14, 0xac, 0xe5, 0xc6, 0x8e, 0x9f, 0x1d, 0x77, 0xbb, 0xd0, 0x1e, 0x4a, 0x73, 0x48, 0x3e, 0x60, - 0x05, 0x6a, 0x69, 0x61, 0x7b, 0x5a, 0xc5, 0x1b, 0x23, 0xaa, 0xca, 0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diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_item_quality_approval_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_item_quality_approval_status.pb.go deleted file mode 100644 index d9fdb674..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_item_quality_approval_status.pb.go +++ /dev/null @@ -1,127 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/feed_item_quality_approval_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The possible quality evaluation approval statuses of a feed item. -type FeedItemQualityApprovalStatusEnum_FeedItemQualityApprovalStatus int32 - -const ( - // No value has been specified. - FeedItemQualityApprovalStatusEnum_UNSPECIFIED FeedItemQualityApprovalStatusEnum_FeedItemQualityApprovalStatus = 0 - // Used for return value only. Represents value unknown in this version. - FeedItemQualityApprovalStatusEnum_UNKNOWN FeedItemQualityApprovalStatusEnum_FeedItemQualityApprovalStatus = 1 - // Meets all quality expectations. - FeedItemQualityApprovalStatusEnum_APPROVED FeedItemQualityApprovalStatusEnum_FeedItemQualityApprovalStatus = 2 - // Does not meet some quality expectations. The specific reason is found in - // the quality_disapproval_reasons field. - FeedItemQualityApprovalStatusEnum_DISAPPROVED FeedItemQualityApprovalStatusEnum_FeedItemQualityApprovalStatus = 3 -) - -var FeedItemQualityApprovalStatusEnum_FeedItemQualityApprovalStatus_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "APPROVED", - 3: "DISAPPROVED", -} - -var FeedItemQualityApprovalStatusEnum_FeedItemQualityApprovalStatus_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "APPROVED": 2, - "DISAPPROVED": 3, -} - -func (x FeedItemQualityApprovalStatusEnum_FeedItemQualityApprovalStatus) String() string { - return proto.EnumName(FeedItemQualityApprovalStatusEnum_FeedItemQualityApprovalStatus_name, int32(x)) -} - -func (FeedItemQualityApprovalStatusEnum_FeedItemQualityApprovalStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_89c42aa46db25c83, []int{0, 0} -} - -// Container for enum describing possible quality evaluation approval statuses -// of a feed item. -type FeedItemQualityApprovalStatusEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FeedItemQualityApprovalStatusEnum) Reset() { *m = FeedItemQualityApprovalStatusEnum{} } -func (m *FeedItemQualityApprovalStatusEnum) String() string { return proto.CompactTextString(m) } -func (*FeedItemQualityApprovalStatusEnum) ProtoMessage() {} -func (*FeedItemQualityApprovalStatusEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_89c42aa46db25c83, []int{0} -} - -func (m *FeedItemQualityApprovalStatusEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FeedItemQualityApprovalStatusEnum.Unmarshal(m, b) -} -func (m *FeedItemQualityApprovalStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FeedItemQualityApprovalStatusEnum.Marshal(b, m, deterministic) -} -func (m *FeedItemQualityApprovalStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedItemQualityApprovalStatusEnum.Merge(m, src) -} -func (m *FeedItemQualityApprovalStatusEnum) XXX_Size() int { - return xxx_messageInfo_FeedItemQualityApprovalStatusEnum.Size(m) -} -func (m *FeedItemQualityApprovalStatusEnum) XXX_DiscardUnknown() { - xxx_messageInfo_FeedItemQualityApprovalStatusEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_FeedItemQualityApprovalStatusEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.FeedItemQualityApprovalStatusEnum_FeedItemQualityApprovalStatus", FeedItemQualityApprovalStatusEnum_FeedItemQualityApprovalStatus_name, FeedItemQualityApprovalStatusEnum_FeedItemQualityApprovalStatus_value) - proto.RegisterType((*FeedItemQualityApprovalStatusEnum)(nil), "google.ads.googleads.v2.enums.FeedItemQualityApprovalStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/feed_item_quality_approval_status.proto", fileDescriptor_89c42aa46db25c83) -} - -var fileDescriptor_89c42aa46db25c83 = []byte{ - // 324 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xd1, 0x4a, 0xf3, 0x30, - 0x18, 0xfd, 0xdb, 0xc1, 0xaf, 0x64, 0x82, 0xa3, 0x97, 0xe2, 0x2e, 0xb6, 0x07, 0x48, 0xa0, 0xde, - 0xc5, 0xab, 0xcc, 0x75, 0xa3, 0x08, 0x5d, 0x75, 0xac, 0x82, 0x14, 0x4a, 0x34, 0x31, 0x14, 0xda, - 0xa4, 0x2e, 0xe9, 0xc0, 0x4b, 0x5f, 0xc5, 0x4b, 0x1f, 0xc5, 0x47, 0xf1, 0x05, 0xbc, 0x95, 0x26, - 0x5b, 0xef, 0xdc, 0x4d, 0x38, 0xe4, 0x3b, 0xdf, 0x39, 0xdf, 0x39, 0x20, 0x12, 0x4a, 0x89, 0x8a, - 0x23, 0xca, 0x34, 0x72, 0xb0, 0x43, 0xbb, 0x10, 0x71, 0xd9, 0xd6, 0x1a, 0xbd, 0x70, 0xce, 0x8a, - 0xd2, 0xf0, 0xba, 0x78, 0x6d, 0x69, 0x55, 0x9a, 0xb7, 0x82, 0x36, 0xcd, 0x56, 0xed, 0x68, 0x55, - 0x68, 0x43, 0x4d, 0xab, 0x61, 0xb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x67, 0x60, 0x9c, 0x85, 0x18, 0x5b, - 0xce, 0xd3, 0x7f, 0x7b, 0xd8, 0xd5, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6a, 0x0b, 0x55, 0x07, - 0x0a, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_item_quality_disapproval_reason.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_item_quality_disapproval_reason.pb.go deleted file mode 100644 index 5723c1e8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_item_quality_disapproval_reason.pb.go +++ /dev/null @@ -1,209 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/feed_item_quality_disapproval_reason.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The possible quality evaluation disapproval reasons of a feed item. -type FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason int32 - -const ( - // No value has been specified. - FeedItemQualityDisapprovalReasonEnum_UNSPECIFIED FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 0 - // Used for return value only. Represents value unknown in this version. - FeedItemQualityDisapprovalReasonEnum_UNKNOWN FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 1 - // Price contains repetitive headers. - FeedItemQualityDisapprovalReasonEnum_PRICE_TABLE_REPETITIVE_HEADERS FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 2 - // Price contains repetitive description. - FeedItemQualityDisapprovalReasonEnum_PRICE_TABLE_REPETITIVE_DESCRIPTION FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 3 - // Price contains inconsistent items. - FeedItemQualityDisapprovalReasonEnum_PRICE_TABLE_INCONSISTENT_ROWS FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 4 - // Price contains qualifiers in description. - FeedItemQualityDisapprovalReasonEnum_PRICE_DESCRIPTION_HAS_PRICE_QUALIFIERS FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 5 - // Price contains an unsupported language. - FeedItemQualityDisapprovalReasonEnum_PRICE_UNSUPPORTED_LANGUAGE FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 6 - // Price item header is not relevant to the price type. - FeedItemQualityDisapprovalReasonEnum_PRICE_TABLE_ROW_HEADER_TABLE_TYPE_MISMATCH FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 7 - // Price item header has promotional text. - FeedItemQualityDisapprovalReasonEnum_PRICE_TABLE_ROW_HEADER_HAS_PROMOTIONAL_TEXT FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 8 - // Price item description is not relevant to the item header. - FeedItemQualityDisapprovalReasonEnum_PRICE_TABLE_ROW_DESCRIPTION_NOT_RELEVANT FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 9 - // Price item description contains promotional text. - FeedItemQualityDisapprovalReasonEnum_PRICE_TABLE_ROW_DESCRIPTION_HAS_PROMOTIONAL_TEXT FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 10 - // Price item header and description are repetitive. - FeedItemQualityDisapprovalReasonEnum_PRICE_TABLE_ROW_HEADER_DESCRIPTION_REPETITIVE FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 11 - // Price item is in a foreign language, nonsense, or can't be rated. - FeedItemQualityDisapprovalReasonEnum_PRICE_TABLE_ROW_UNRATEABLE FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 12 - // Price item price is invalid or inaccurate. - FeedItemQualityDisapprovalReasonEnum_PRICE_TABLE_ROW_PRICE_INVALID FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 13 - // Price item URL is invalid or irrelevant. - FeedItemQualityDisapprovalReasonEnum_PRICE_TABLE_ROW_URL_INVALID FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 14 - // Price item header or description has price. - FeedItemQualityDisapprovalReasonEnum_PRICE_HEADER_OR_DESCRIPTION_HAS_PRICE FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 15 - // Structured snippet values do not match the header. - FeedItemQualityDisapprovalReasonEnum_STRUCTURED_SNIPPETS_HEADER_POLICY_VIOLATED FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 16 - // Structured snippet values are repeated. - FeedItemQualityDisapprovalReasonEnum_STRUCTURED_SNIPPETS_REPEATED_VALUES FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 17 - // Structured snippet values violate editorial guidelines like punctuation. - FeedItemQualityDisapprovalReasonEnum_STRUCTURED_SNIPPETS_EDITORIAL_GUIDELINES FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 18 - // Structured snippet contain promotional text. - FeedItemQualityDisapprovalReasonEnum_STRUCTURED_SNIPPETS_HAS_PROMOTIONAL_TEXT FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason = 19 -) - -var FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "PRICE_TABLE_REPETITIVE_HEADERS", - 3: "PRICE_TABLE_REPETITIVE_DESCRIPTION", - 4: "PRICE_TABLE_INCONSISTENT_ROWS", - 5: "PRICE_DESCRIPTION_HAS_PRICE_QUALIFIERS", - 6: "PRICE_UNSUPPORTED_LANGUAGE", - 7: "PRICE_TABLE_ROW_HEADER_TABLE_TYPE_MISMATCH", - 8: "PRICE_TABLE_ROW_HEADER_HAS_PROMOTIONAL_TEXT", - 9: "PRICE_TABLE_ROW_DESCRIPTION_NOT_RELEVANT", - 10: "PRICE_TABLE_ROW_DESCRIPTION_HAS_PROMOTIONAL_TEXT", - 11: "PRICE_TABLE_ROW_HEADER_DESCRIPTION_REPETITIVE", - 12: "PRICE_TABLE_ROW_UNRATEABLE", - 13: "PRICE_TABLE_ROW_PRICE_INVALID", - 14: "PRICE_TABLE_ROW_URL_INVALID", - 15: "PRICE_HEADER_OR_DESCRIPTION_HAS_PRICE", - 16: "STRUCTURED_SNIPPETS_HEADER_POLICY_VIOLATED", - 17: "STRUCTURED_SNIPPETS_REPEATED_VALUES", - 18: "STRUCTURED_SNIPPETS_EDITORIAL_GUIDELINES", - 19: "STRUCTURED_SNIPPETS_HAS_PROMOTIONAL_TEXT", -} - -var FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "PRICE_TABLE_REPETITIVE_HEADERS": 2, - "PRICE_TABLE_REPETITIVE_DESCRIPTION": 3, - "PRICE_TABLE_INCONSISTENT_ROWS": 4, - "PRICE_DESCRIPTION_HAS_PRICE_QUALIFIERS": 5, - "PRICE_UNSUPPORTED_LANGUAGE": 6, - "PRICE_TABLE_ROW_HEADER_TABLE_TYPE_MISMATCH": 7, - "PRICE_TABLE_ROW_HEADER_HAS_PROMOTIONAL_TEXT": 8, - "PRICE_TABLE_ROW_DESCRIPTION_NOT_RELEVANT": 9, - "PRICE_TABLE_ROW_DESCRIPTION_HAS_PROMOTIONAL_TEXT": 10, - "PRICE_TABLE_ROW_HEADER_DESCRIPTION_REPETITIVE": 11, - "PRICE_TABLE_ROW_UNRATEABLE": 12, - "PRICE_TABLE_ROW_PRICE_INVALID": 13, - "PRICE_TABLE_ROW_URL_INVALID": 14, - "PRICE_HEADER_OR_DESCRIPTION_HAS_PRICE": 15, - "STRUCTURED_SNIPPETS_HEADER_POLICY_VIOLATED": 16, - "STRUCTURED_SNIPPETS_REPEATED_VALUES": 17, - "STRUCTURED_SNIPPETS_EDITORIAL_GUIDELINES": 18, - "STRUCTURED_SNIPPETS_HAS_PROMOTIONAL_TEXT": 19, -} - -func (x FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason) String() string { - return proto.EnumName(FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason_name, int32(x)) -} - -func (FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_85ec161083f45691, []int{0, 0} -} - -// Container for enum describing possible quality evaluation disapproval reasons -// of a feed item. -type FeedItemQualityDisapprovalReasonEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FeedItemQualityDisapprovalReasonEnum) Reset() { *m = FeedItemQualityDisapprovalReasonEnum{} } -func (m *FeedItemQualityDisapprovalReasonEnum) String() string { return proto.CompactTextString(m) } -func (*FeedItemQualityDisapprovalReasonEnum) ProtoMessage() {} -func (*FeedItemQualityDisapprovalReasonEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_85ec161083f45691, []int{0} -} - -func (m *FeedItemQualityDisapprovalReasonEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FeedItemQualityDisapprovalReasonEnum.Unmarshal(m, b) -} -func (m *FeedItemQualityDisapprovalReasonEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FeedItemQualityDisapprovalReasonEnum.Marshal(b, m, deterministic) -} -func (m *FeedItemQualityDisapprovalReasonEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedItemQualityDisapprovalReasonEnum.Merge(m, src) -} -func (m *FeedItemQualityDisapprovalReasonEnum) XXX_Size() int { - return xxx_messageInfo_FeedItemQualityDisapprovalReasonEnum.Size(m) -} -func (m *FeedItemQualityDisapprovalReasonEnum) XXX_DiscardUnknown() { - xxx_messageInfo_FeedItemQualityDisapprovalReasonEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_FeedItemQualityDisapprovalReasonEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason", FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason_name, FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason_value) - proto.RegisterType((*FeedItemQualityDisapprovalReasonEnum)(nil), "google.ads.googleads.v2.enums.FeedItemQualityDisapprovalReasonEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/feed_item_quality_disapproval_reason.proto", fileDescriptor_85ec161083f45691) -} - -var fileDescriptor_85ec161083f45691 = []byte{ - // 633 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x94, 0xcf, 0x72, 0xd3, 0x3e, - 0x10, 0xc7, 0x7f, 0x4d, 0x7f, 0xa4, 0xa0, 0x02, 0x15, 0xe2, 0x56, 0x68, 0xa1, 0x81, 0x16, 0x28, - 0x60, 0x43, 0xe0, 0x64, 0x4e, 0x8a, 0xad, 0x26, 0x1a, 0x5c, 0xd9, 0x95, 0x64, 0x97, 0x32, 0x99, - 0xd1, 0x18, 0x6c, 0x32, 0x99, 0x49, 0xec, 0x10, 0xa7, 0x9d, 0xe1, 0x75, 0x38, 0xf2, 0x02, 0xbc, - 0x03, 0x4f, 0xc1, 0x99, 0x47, 0xe0, 0xc4, 0xd8, 0xca, 0x3f, 0x4a, 0xd2, 0x5e, 0x3c, 0xab, 0xdd, - 0xcf, 0xee, 0x7e, 0xbd, 0x9a, 0x15, 0x68, 0x75, 0xb2, 0xac, 0xd3, 0x4b, 0xcc, 0x28, 0xce, 0x4d, - 0x6d, 0x16, 0xd6, 0x59, 0xdd, 0x4c, 0xd2, 0xd3, 0x7e, 0x6e, 0x7e, 0x4a, 0x92, 0x58, 0x75, 0x47, - 0x49, 0x5f, 0x7d, 0x3e, 0x8d, 0x7a, 0xdd, 0xd1, 0x17, 0x15, 0x77, 0xf3, 0x68, 0x30, 0x18, 0x66, - 0x67, 0x51, 0x4f, 0x0d, 0x93, 0x28, 0xcf, 0x52, 0x63, 0x30, 0xcc, 0x46, 0x19, 0xda, 0xd2, 0xe9, - 0x46, 0x14, 0xe7, 0xc6, 0xb4, 0x92, 0x71, 0x56, 0x37, 0xca, 0x4a, 0x9b, 0x77, 0x27, 0x8d, 0x06, - 0x5d, 0x33, 0x4a, 0xd3, 0x6c, 0x14, 0x8d, 0xba, 0x59, 0x9a, 0xeb, 0xe4, 0xda, 0xcf, 0x2a, 0x78, - 0x78, 0x90, 0x24, 0x31, 0x1d, 0x25, 0xfd, 0x23, 0xdd, 0xc9, 0x99, 0x35, 0xe2, 0x65, 0x1f, 0x92, - 0x9e, 0xf6, 0x6b, 0xdf, 0xab, 0xe0, 0xfe, 0x65, 0x20, 0xda, 0x00, 0xeb, 0x01, 0x13, 0x3e, 0xb1, - 0xe9, 0x01, 0x25, 0x0e, 0xfc, 0x0f, 0xad, 0x83, 0xb5, 0x80, 0xbd, 0x65, 0xde, 0x31, 0x83, 0x2b, - 0xa8, 0x06, 0xb6, 0x7d, 0x4e, 0x6d, 0xa2, 0x24, 0x6e, 0xb8, 0x44, 0x71, 0xe2, 0x13, 0x49, 0x25, - 0x0d, 0x89, 0x6a, 0x11, 0xec, 0x10, 0x2e, 0x60, 0x05, 0xed, 0x81, 0xda, 0x12, 0xc6, 0x21, 0xc2, - 0xe6, 0xd4, 0x97, 0xd4, 0x63, 0x70, 0x15, 0xed, 0x80, 0xad, 0x79, 0x8e, 0x32, 0xdb, 0x63, 0x82, - 0x0a, 0x49, 0x98, 0x54, 0xdc, 0x3b, 0x16, 0xf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9, - 0x7d, 0xa2, 0x42, 0xea, 0xb9, 0x58, 0x12, 0x07, 0x42, 0xf4, 0x08, 0x3c, 0x58, 0xc4, 0x17, 0xbf, - 0x58, 0x10, 0x2a, 0xc4, 0x6e, 0x40, 0x04, 0xbc, 0x55, 0x8c, 0x7f, 0x11, 0x48, 0x1c, 0x2a, 0x3d, - 0x4e, 0xb1, 0xab, 0x9a, 0x01, 0x75, 0x88, 0x4b, 0x19, 0x11, 0x10, 0x2d, 0xa3, 0x17, 0x8e, 0xfd, - 0x76, 0xe3, 0xf7, 0x0a, 0xd8, 0xf9, 0x98, 0xf5, 0x8d, 0x0b, 0xd7, 0xb4, 0xb1, 0x7b, 0xd9, 0x72, - 0xf9, 0xc5, 0xbe, 0xfa, 0x2b, 0xef, 0x1b, 0xe3, 0x3a, 0x9d, 0xac, 0x17, 0xa5, 0x1d, 0x23, 0x1b, - 0x76, 0xcc, 0x4e, 0x92, 0x96, 0xdb, 0x3c, 0x79, 0x48, 0x06, 0xdd, 0x7c, 0xc9, 0xbb, 0xf2, 0xa6, - 0xfc, 0x7e, 0xad, 0xac, 0x36, 0x31, 0xfe, 0x56, 0xd9, 0x6a, 0xea, 0x52, 0x38, 0xce, 0x0d, 0x6d, - 0x16, 0x56, 0x58, 0x37, 0x8a, 0x8d, 0xcf, 0x7f, 0x4c, 0xe2, 0x6d, 0x1c, 0xe7, 0xed, 0x69, 0xbc, - 0x1d, 0xd6, 0xdb, 0x65, 0xfc, 0x57, 0x65, 0x47, 0x3b, 0x2d, 0x0b, 0xc7, 0xb9, 0x65, 0x4d, 0x09, - 0xcb, 0x0a, 0xeb, 0x96, 0x55, 0x32, 0x1f, 0xaa, 0xa5, 0xb0, 0x57, 0x7f, 0x02, 0x00, 0x00, 0xff, - 0xff, 0xc6, 0xc3, 0x50, 0x73, 0xef, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_item_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_item_status.pb.go deleted file mode 100644 index a62911ef..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_item_status.pb.go +++ /dev/null @@ -1,123 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/feed_item_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_33adf1cbb79e30ca, []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_33adf1cbb79e30ca, []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 (m *FeedItemStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedItemStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.FeedItemStatusEnum_FeedItemStatus", FeedItemStatusEnum_FeedItemStatus_name, FeedItemStatusEnum_FeedItemStatus_value) - proto.RegisterType((*FeedItemStatusEnum)(nil), "google.ads.googleads.v2.enums.FeedItemStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/feed_item_status.proto", fileDescriptor_33adf1cbb79e30ca) -} - -var fileDescriptor_33adf1cbb79e30ca = []byte{ - // 302 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdf, 0x4a, 0xfb, 0x30, - 0x14, 0xfe, 0xad, 0x83, 0x9f, 0x90,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x7a, 0xf8, 0xb7, - 0xb9, 0xab, 0x36, 0xef, 0x3c, 0x25, 0x7b, 0x97, 0xd4, 0x6b, 0xa6, 0x24, 0xd4, 0x5b, 0x89, 0xa4, - 0x50, 0xbe, 0x78, 0x73, 0x9f, 0x4d, 0x61, 0x7e, 0x39, 0xd7, 0x95, 0xff, 0xbe, 0x07, 0xdd, 0x09, - 0x21, 0x1f, 0x41, 0x7f, 0x52, 0x47, 0x11, 0x6e, 0x60, 0x0d, 0x1d, 0xca, 0x62, 0xe8, 0xde, 0x6b, - 0x3e, 0x1b, 0x3e, 0x27, 0xdc, 0xe4, 0x2d, 0x9f, 0x67, 0x71, 0xee, 0xf9, 0xef, 0x60, 0x50, 0x2f, - 0x31, 0x26, 0xdc, 0x60, 0xdc, 0x2a, 0x30, 0xce, 0x62, 0x8c, 0xbd, 0xe6, 0xe5, 0xbf, 0x2f, 0x76, - 0xf1, 0x13, 0x00, 0x00, 0xff, 0xff, 0x0c, 0x58, 0x9e, 0x52, 0xc6, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_item_target_device.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_item_target_device.pb.go deleted file mode 100644 index 187c9d78..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_item_target_device.pb.go +++ /dev/null @@ -1,120 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/feed_item_target_device.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible data types for a feed item target device. -type FeedItemTargetDeviceEnum_FeedItemTargetDevice int32 - -const ( - // Not specified. - FeedItemTargetDeviceEnum_UNSPECIFIED FeedItemTargetDeviceEnum_FeedItemTargetDevice = 0 - // Used for return value only. Represents value unknown in this version. - FeedItemTargetDeviceEnum_UNKNOWN FeedItemTargetDeviceEnum_FeedItemTargetDevice = 1 - // Mobile. - FeedItemTargetDeviceEnum_MOBILE FeedItemTargetDeviceEnum_FeedItemTargetDevice = 2 -) - -var FeedItemTargetDeviceEnum_FeedItemTargetDevice_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "MOBILE", -} - -var FeedItemTargetDeviceEnum_FeedItemTargetDevice_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "MOBILE": 2, -} - -func (x FeedItemTargetDeviceEnum_FeedItemTargetDevice) String() string { - return proto.EnumName(FeedItemTargetDeviceEnum_FeedItemTargetDevice_name, int32(x)) -} - -func (FeedItemTargetDeviceEnum_FeedItemTargetDevice) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_eb85f1106abfeda1, []int{0, 0} -} - -// Container for enum describing possible data types for a feed item target -// device. -type FeedItemTargetDeviceEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FeedItemTargetDeviceEnum) Reset() { *m = FeedItemTargetDeviceEnum{} } -func (m *FeedItemTargetDeviceEnum) String() string { return proto.CompactTextString(m) } -func (*FeedItemTargetDeviceEnum) ProtoMessage() {} -func (*FeedItemTargetDeviceEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_eb85f1106abfeda1, []int{0} -} - -func (m *FeedItemTargetDeviceEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FeedItemTargetDeviceEnum.Unmarshal(m, b) -} -func (m *FeedItemTargetDeviceEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FeedItemTargetDeviceEnum.Marshal(b, m, deterministic) -} -func (m *FeedItemTargetDeviceEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedItemTargetDeviceEnum.Merge(m, src) -} -func (m *FeedItemTargetDeviceEnum) XXX_Size() int { - return xxx_messageInfo_FeedItemTargetDeviceEnum.Size(m) -} -func (m *FeedItemTargetDeviceEnum) XXX_DiscardUnknown() { - xxx_messageInfo_FeedItemTargetDeviceEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_FeedItemTargetDeviceEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.FeedItemTargetDeviceEnum_FeedItemTargetDevice", FeedItemTargetDeviceEnum_FeedItemTargetDevice_name, FeedItemTargetDeviceEnum_FeedItemTargetDevice_value) - proto.RegisterType((*FeedItemTargetDeviceEnum)(nil), "google.ads.googleads.v2.enums.FeedItemTargetDeviceEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/feed_item_target_device.proto", fileDescriptor_eb85f1106abfeda1) -} - -var fileDescriptor_eb85f1106abfeda1 = []byte{ - // 303 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xc3, 0x30, - 0x1c, 0xc6, 0x5d, 0x85, 0x09, 0xd9, 0xc1, 0x51, 0x3c, 0xa8, 0xb8, 0xc3, 0xf6, 0x00, 0x09, 0xd4, - 0x5b, 0x76, 0xb1, 0x75, 0xdd, 0x28, 0x6a, 0x37, 0xd0, 0x4d, 0x90, 0xc2, 0x88, 0xcb, 0xdf, 0x50, - 0x58, 0x93, 0xd1, 0x64, 0x7d, 0x20, 0x8f, 0x3e, 0x8a, 0x8f, 0xe2, 0xc1, 0x67, 0x90, 0x26, 0xb6, - 0xa7, 0xe9, 0x25, 0x7c, 0xe4, 0xfb, 0xff, 0xbe, 0x7c, 0xf9, 0xa3, 0xb1, 0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 0x16, 0x72, 0x9d, 0xb5, 0x7e, 0xb6, 0x0a, 0x32, 0xeb, 0x7f, 0x79, 0x43, 0x77, - 0x49, 0x69, 0xc8, 0x35, 0xa5, 0xed, 0x04, 0xa5, 0xab, 0x80, 0x52, 0x3b, 0xf3, 0xda, 0xb5, 0xc5, - 0xae, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x96, 0xff, 0x51, 0x8f, 0xd1, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_item_target_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_item_target_type.pb.go deleted file mode 100644 index 79778935..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_item_target_type.pb.go +++ /dev/null @@ -1,129 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/feed_item_target_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible type of a feed item target. -type FeedItemTargetTypeEnum_FeedItemTargetType int32 - -const ( - // Not specified. - FeedItemTargetTypeEnum_UNSPECIFIED FeedItemTargetTypeEnum_FeedItemTargetType = 0 - // Used for return value only. Represents value unknown in this version. - FeedItemTargetTypeEnum_UNKNOWN FeedItemTargetTypeEnum_FeedItemTargetType = 1 - // Feed item targets a campaign. - FeedItemTargetTypeEnum_CAMPAIGN FeedItemTargetTypeEnum_FeedItemTargetType = 2 - // Feed item targets an ad group. - FeedItemTargetTypeEnum_AD_GROUP FeedItemTargetTypeEnum_FeedItemTargetType = 3 - // Feed item targets a criterion. - FeedItemTargetTypeEnum_CRITERION FeedItemTargetTypeEnum_FeedItemTargetType = 4 -) - -var FeedItemTargetTypeEnum_FeedItemTargetType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "CAMPAIGN", - 3: "AD_GROUP", - 4: "CRITERION", -} - -var FeedItemTargetTypeEnum_FeedItemTargetType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "CAMPAIGN": 2, - "AD_GROUP": 3, - "CRITERION": 4, -} - -func (x FeedItemTargetTypeEnum_FeedItemTargetType) String() string { - return proto.EnumName(FeedItemTargetTypeEnum_FeedItemTargetType_name, int32(x)) -} - -func (FeedItemTargetTypeEnum_FeedItemTargetType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_51e4383fc8865747, []int{0, 0} -} - -// Container for enum describing possible types of a feed item target. -type FeedItemTargetTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FeedItemTargetTypeEnum) Reset() { *m = FeedItemTargetTypeEnum{} } -func (m *FeedItemTargetTypeEnum) String() string { return proto.CompactTextString(m) } -func (*FeedItemTargetTypeEnum) ProtoMessage() {} -func (*FeedItemTargetTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_51e4383fc8865747, []int{0} -} - -func (m *FeedItemTargetTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FeedItemTargetTypeEnum.Unmarshal(m, b) -} -func (m *FeedItemTargetTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FeedItemTargetTypeEnum.Marshal(b, m, deterministic) -} -func (m *FeedItemTargetTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedItemTargetTypeEnum.Merge(m, src) -} -func (m *FeedItemTargetTypeEnum) XXX_Size() int { - return xxx_messageInfo_FeedItemTargetTypeEnum.Size(m) -} -func (m *FeedItemTargetTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_FeedItemTargetTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_FeedItemTargetTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.FeedItemTargetTypeEnum_FeedItemTargetType", FeedItemTargetTypeEnum_FeedItemTargetType_name, FeedItemTargetTypeEnum_FeedItemTargetType_value) - proto.RegisterType((*FeedItemTargetTypeEnum)(nil), "google.ads.googleads.v2.enums.FeedItemTargetTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/feed_item_target_type.proto", fileDescriptor_51e4383fc8865747) -} - -var fileDescriptor_51e4383fc8865747 = []byte{ - // 328 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdd, 0x4a, 0xfb, 0x30, - 0x1c, 0xfd, 0xaf, 0xfb, 0xe3, 0x47, 0xa6, 0x58, 0x7a, 0xa1, 0x20, 0xee, 0x62, 0x7b, 0x80, 0x14, - 0xea, 0x95, 0xf1, 0x2a, 0xdb, 0xba, 0x52, 0xc4, 0xae, 0xcc, 0x6d, 0x82, 0x54, 0x4a, 0x35, 0x3f, - 0x43, 0x61, 0x4d, 0xca, 0x92, 0x4d, 0xf6, 0x3a, 0x5e, 0xfa, 0x28, 0x3e, 0x8a, 0xf8, 0x10, 0xd2, - 0xd4, 0xed, 0x66, 0xe8, 0x4d, 0x38, 0xc9, 0xf9, 0xe0, 0xe4, 0xa0, 0x2b, 0x2e, 0x25, 0x9f, 0x83, - 0x9b, 0x31, 0xe5, 0xd6, 0xb0, 0x42, 0x2b, 0xcf, 0x05, 0xb1, 0x2c, 0x94, 0xfb, 0x02, 0xc0, 0xd2, - 0x5c, 0x43, 0x91, 0xea, 0x6c, 0xc1, 0x41, 0xa7, 0x7a, 0x5d, 0x02, 0x2e, 0x17, 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, 0xf0, 0x9f, 0x56, 0xa7, 0x7e, 0x24, 0x84, 0x32, 0x45, 0xc8, 0x56, 0x41, - 0xc8, 0xcc, 0x23, 0xc4, 0x68, 0x9e, 0xf6, 0x4c, 0xb1, 0xcb, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, - 0x2f, 0xfd, 0x5d, 0x51, 0xe8, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_item_validation_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_item_validation_status.pb.go deleted file mode 100644 index 91d57cdf..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_item_validation_status.pb.go +++ /dev/null @@ -1,128 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/feed_item_validation_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The possible validation statuses of a feed item. -type FeedItemValidationStatusEnum_FeedItemValidationStatus int32 - -const ( - // No value has been specified. - FeedItemValidationStatusEnum_UNSPECIFIED FeedItemValidationStatusEnum_FeedItemValidationStatus = 0 - // Used for return value only. Represents value unknown in this version. - FeedItemValidationStatusEnum_UNKNOWN FeedItemValidationStatusEnum_FeedItemValidationStatus = 1 - // Validation pending. - FeedItemValidationStatusEnum_PENDING FeedItemValidationStatusEnum_FeedItemValidationStatus = 2 - // An error was found. - FeedItemValidationStatusEnum_INVALID FeedItemValidationStatusEnum_FeedItemValidationStatus = 3 - // Feed item is semantically well-formed. - FeedItemValidationStatusEnum_VALID FeedItemValidationStatusEnum_FeedItemValidationStatus = 4 -) - -var FeedItemValidationStatusEnum_FeedItemValidationStatus_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "PENDING", - 3: "INVALID", - 4: "VALID", -} - -var FeedItemValidationStatusEnum_FeedItemValidationStatus_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "PENDING": 2, - "INVALID": 3, - "VALID": 4, -} - -func (x FeedItemValidationStatusEnum_FeedItemValidationStatus) String() string { - return proto.EnumName(FeedItemValidationStatusEnum_FeedItemValidationStatus_name, int32(x)) -} - -func (FeedItemValidationStatusEnum_FeedItemValidationStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_12df48581a2145cf, []int{0, 0} -} - -// Container for enum describing possible validation statuses of a feed item. -type FeedItemValidationStatusEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FeedItemValidationStatusEnum) Reset() { *m = FeedItemValidationStatusEnum{} } -func (m *FeedItemValidationStatusEnum) String() string { return proto.CompactTextString(m) } -func (*FeedItemValidationStatusEnum) ProtoMessage() {} -func (*FeedItemValidationStatusEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_12df48581a2145cf, []int{0} -} - -func (m *FeedItemValidationStatusEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FeedItemValidationStatusEnum.Unmarshal(m, b) -} -func (m *FeedItemValidationStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FeedItemValidationStatusEnum.Marshal(b, m, deterministic) -} -func (m *FeedItemValidationStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedItemValidationStatusEnum.Merge(m, src) -} -func (m *FeedItemValidationStatusEnum) XXX_Size() int { - return xxx_messageInfo_FeedItemValidationStatusEnum.Size(m) -} -func (m *FeedItemValidationStatusEnum) XXX_DiscardUnknown() { - xxx_messageInfo_FeedItemValidationStatusEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_FeedItemValidationStatusEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.FeedItemValidationStatusEnum_FeedItemValidationStatus", FeedItemValidationStatusEnum_FeedItemValidationStatus_name, FeedItemValidationStatusEnum_FeedItemValidationStatus_value) - proto.RegisterType((*FeedItemValidationStatusEnum)(nil), "google.ads.googleads.v2.enums.FeedItemValidationStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/feed_item_validation_status.proto", fileDescriptor_12df48581a2145cf) -} - -var fileDescriptor_12df48581a2145cf = []byte{ - // 319 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x4f, 0x4a, 0x03, 0x31, - 0x14, 0xc6, 0xed, 0xd4, 0x3f, 0x98, 0x2e, 0x1c, 0x66, 0x25, 0xd2, 0x2e, 0xda, 0x03, 0x64, 0x60, - 0xdc, 0xc5, 0x85, 0x4c, 0xed, 0xb4, 0x04, 0x25, 0x0e, 0x94, 0x8e, 0x20, 0x23, 0x25, 0x9a, 0x18, - 0x06, 0x3a, 0x49, 0x69, 0xd2, 0xee, 0xbc, 0x8c, 0x4b, 0x8f, 0xe2, 0x51, 0x5c, 0x7a, 0x02, 0x49, - 0xd2, 0xce, 0x6e, 0xdc, 0x84, 0xef, 0xe5, 0x7b, 0xef, 0xc7, 0x7b, 0x1f, 0xb8, 0x15, 0x4a, 0x89, - 0x15, 0x8f, 0x29, 0xd3, 0xb1, 0x97, 0x56, 0xed, 0x92, 0x98, 0xcb, 0x6d, 0xad, 0xe3, 0x77, 0xce, - 0xd9, 0xb2, 0x32, 0xbc, 0x5e, 0xee, 0xe8, 0xaa, 0x62, 0xd4, 0x54, 0x4a, 0x2e, 0xb5, 0xa1, 0x66, - 0xab, 0xe1, 0x7a, 0xa3, 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 0x3d, 0xaf, 0xa7, 0x6e, 0xb1, - 0xeb, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x0f, 0x33, 0x51, 0xb6, 0xfa, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_link_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_link_status.pb.go deleted file mode 100644 index b1cd48b6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_link_status.pb.go +++ /dev/null @@ -1,123 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/feed_link_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_664f418f23f8c4de, []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_664f418f23f8c4de, []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 (m *FeedLinkStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedLinkStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.FeedLinkStatusEnum_FeedLinkStatus", FeedLinkStatusEnum_FeedLinkStatus_name, FeedLinkStatusEnum_FeedLinkStatus_value) - proto.RegisterType((*FeedLinkStatusEnum)(nil), "google.ads.googleads.v2.enums.FeedLinkStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/feed_link_status.proto", fileDescriptor_664f418f23f8c4de) -} - -var fileDescriptor_664f418f23f8c4de = []byte{ - // 302 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x4a, 0xc3, 0x30, - 0x18, 0x77, 0x1d, 0x28, 0x64, 0xa0, 0xa5, 0xde, 0xc4, 0x1d, 0xb6, 0x07, 0x48, 0xa0, 0x7a, 0x8a, - 0xa7, 0xd4, 0x65, 0x73, 0x38, 0xbb, 0xe1, 0x58, 0x05, 0x29, 0x8e, 0x68, 0x62, 0x28, 0xdb, 0x92, - 0xb2, 0xb4, 0x7b, 0x20, 0x8f, 0x3e, 0x8a, 0x4f, 0x22, 0x3e, 0x85, 0x24, 0x5d, 0x0b, 0x3b, 0xe8, - 0xa5, 0xfc, 0xbe, 0xef, 0xf7, 0xa7, 0xbf, 0x7c, 0xe0, 0x5a, 0x6a, 0x2d, 0xd7, 0x02, 0x31, 0x6e, - 0x50, 0x05, 0x2d, 0xda, 0x85, 0x48, 0xa8, 0x72, 0x63, 0xd0, 0xbb, 0x10, 0x7c, 0xb9, 0xce, 0xd4, - 0x6a, 0x69, 0x0a, 0x56, 0x94, 0x06, 0xe6, 0x5b, 0x5d, 0xe8, 0xa0, 0x5b, 0x49, 0x21, 0xe3, 0x06, - 0x36, 0x2e, 0xb8, 0x0b, 0xa1, 0x73, 0x5d, 0x5c, 0xd6, 0xa1, 0x79, 0x86, 0x98, 0x52, 0xba, 0x60, - 0x45, 0xa6, 0xd5, 0xde, 0xdc, 0x7f, 0x01, 0xc1, 0x50, 0x08, 0x3e, 0xc9, 0xd4, 0x6a, 0xee, 0x42, - 0xa9, 0x2a, 0x37, 0xfd, 0x3b, 0x70, 0x7a, 0xb8, 0x0d, 0xce, 0x40, 0x67, 0x11, 0xcf, 0x67, 0xf4, - 0x76, 0x3c, 0x1c, 0xd3, 0x81, 0x7f, 0x14, 0x74, 0xc0, 0xc9, 0x22, 0xbe, 0x8f, 0xa7, 0x4f, 0xb1, - 0xdf, 0xb2, 0x03, 0x8d, 0x49, 0x34, 0xa1, 0x03, 0xdf, 0xb3, 0xc3, 0x23, 0x7d, 0x98, 0x26, 0x74, - 0xe0, 0xb7, 0xa3, 0xef, 0x16, 0xe8, 0xbd, 0xe9, 0x0d, 0xfc, 0xb7, 0x63, 0x74, 0x7e, 0xf8, 0xb7, - 0x99, 0xad, 0x36, 0x6b, 0x3d, 0x47, 0x7b, 0x97, 0xd4, 0x6b, 0xa6, 0x24, 0xd4, 0x5b, 0x89, 0xa4, - 0x50, 0xae, 0x78, 0x7d, 0x9f, 0x3c, 0x33, 0x7f, 0x9c, 0xeb, 0xc6, 0x7d, 0x3f, 0xbc, 0xf6, 0x88, - 0x90, 0x4f, 0xaf, 0x3b, 0xaa, 0xa2, 0x08, 0x37, 0xb0, 0x82, 0x16, 0x25, 0x21, 0xb4, 0xef, 0x35, - 0x5f, 0x35, 0x9f, 0x12, 0x6e, 0xd2, 0x86, 0x4f, 0x93, 0x30, 0x75, 0xfc, 0x8f, 0xd7, 0xab, 0x96, - 0x18, 0x13, 0x6e, 0x30, 0x6e, 0x14, 0x18, 0x27, 0x21, 0xc6, 0x4e, 0xf3, 0x7a, 0xec, 0x8a, 0x5d, - 0xfd, 0x06, 0x00, 0x00, 0xff, 0xff, 0xaf, 0x73, 0x29, 0x62, 0xc6, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_mapping_criterion_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_mapping_criterion_type.pb.go deleted file mode 100644 index 7982e549..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_mapping_criterion_type.pb.go +++ /dev/null @@ -1,126 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/feed_mapping_criterion_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_LOCATION_EXTENSION_TARGETING FeedMappingCriterionTypeEnum_FeedMappingCriterionType = 4 - // 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", - 4: "LOCATION_EXTENSION_TARGETING", - 3: "DSA_PAGE_FEED", -} - -var FeedMappingCriterionTypeEnum_FeedMappingCriterionType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "LOCATION_EXTENSION_TARGETING": 4, - "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_e0fb3d458969bb53, []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_e0fb3d458969bb53, []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 (m *FeedMappingCriterionTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedMappingCriterionTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.FeedMappingCriterionTypeEnum_FeedMappingCriterionType", FeedMappingCriterionTypeEnum_FeedMappingCriterionType_name, FeedMappingCriterionTypeEnum_FeedMappingCriterionType_value) - proto.RegisterType((*FeedMappingCriterionTypeEnum)(nil), "google.ads.googleads.v2.enums.FeedMappingCriterionTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/feed_mapping_criterion_type.proto", fileDescriptor_e0fb3d458969bb53) -} - -var fileDescriptor_e0fb3d458969bb53 = []byte{ - // 344 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x41, 0x6a, 0xe3, 0x30, - 0x14, 0x1d, 0x27, 0xc3, 0x0c, 0x28, 0x0c, 0xe3, 0x7a, 0x55, 0x4a, 0x02, 0x4d, 0x0e, 0x20, 0x83, - 0xbb, 0x53, 0x17, 0x45, 0x49, 0x14, 0x63, 0xda, 0x3a, 0xa6, 0x71, 0xd2, 0x52, 0x0c, 0xc6, 0x8d, - 0x54, 0x61, 0x88, 0x25, 0x61, 0x39, 0x81, 0x1c, 0xa2, 0x97, 0xe8, 0xb2, 0x47, 0xe9, 0x51, 0xba, - 0xec, 0x09, 0x8a, 0xad, 0x3a, 0xbb, 0x74, 0x23, 0x1e, 0x7a, 0xff, 0xbd, 0xff, 0xdf, 0x03, 0x57, - 0x5c, 0x4a, 0xbe, 0x61, 0x6e, 0x46, 0xb5, 0x6b, 0x60, 0x8d, 0x76, 0x9e, 0xcb, 0xc4, 0xb6, 0xd0, - 0xee, 0x33, 0x63, 0x34, 0x2d, 0x32, 0xa5, 0x72, 0xc1, 0xd3, 0x75, 0x99, 0x57, 0xac, 0xcc, 0xa5, - 0x48, 0xab, 0xbd, 0x62, 0x50, 0x95, 0xb2, 0x92, 0xce, 0xc0, 0xa8, 0x60, 0x46, 0x35, 0x3c, 0x18, - 0xc0, 0x9d, 0x07, 0x1b, 0x83, 0xb3, 0x7e, 0xeb, 0xaf, 0x72, 0x37, 0x13, 0x42, 0x56, 0x59, 0x95, - 0x4b, 0xa1, 0x8d, 0x78, 0xf4, 0x62, 0x81, 0xfe, 0x8c, 0x31, 0x7a, 0x6b, 0x36, 0x4c, 0xda, 0x05, - 0xf1, 0x5e, 0x31, 0x22, 0xb6, 0xc5, 0xa8, 0x00, 0xa7, 0xc7, 0x78, 0xe7, 0x3f, 0xe8, 0x2d, 0xc3, - 0x45, 0x44, 0x26, 0xc1, 0x2c, 0x20, 0x53, 0xfb, 0x97, 0xd3, 0x03, 0x7f, 0x97, 0xe1, 0x75, 0x38, - 0xbf, 0x0f, 0x6d, 0xcb, 0x39, 0x07, 0xfd, 0x9b, 0xf9, 0x04, 0xc7, 0xc1, 0x3c, 0x4c, 0xc9, 0x43, - 0x4c, 0xc2, 0x45, 0x8d, 0x62, 0x7c, 0xe7, 0x93, 0x38, 0x08, 0x7d, 0xfb, 0xb7, 0x73, 0x02, 0xfe, - 0x4d, 0x17, 0x38, 0x8d, 0xb0, 0x4f, 0xd2, 0x19, 0x21, 0x53, 0xbb, 0x3b, 0xfe, 0xb4, 0xc0, 0x70, - 0x2d, 0x0b, 0xf8, 0x63, 0xa6, 0xf1, 0xe0, 0xd8, 0x49, 0x51, 0x1d, 0x2a, 0xb2, 0x1e, 0xc7, 0xdf, - 0x7a, 0x2e, 0x37, 0x99, 0xe0, 0x50, 0x96, 0xdc, 0xe5, 0x4c, 0x34, 0x91, 0xdb, 0x92, 0x55, 0xae, - 0x8f, 0x74, 0x7e, 0xd9, 0xbc, 0xaf, 0x9d, 0xae, 0x8f, 0xf1, 0x5b, 0x67, 0xe0, 0x1b, 0x2b, 0x4c, - 0x35, 0x34, 0xb0, 0x46, 0x2b, 0x0f, 0xd6, 0xf5, 0xe8, 0xf7, 0x96, 0x4f, 0x30, 0xd5, 0xc9, 0x81, - 0x4f, 0x56, 0x5e, 0xd2, 0xf0, 0x1f, 0x9d, 0xa1, 0xf9, 0x44, 0x08, 0x53, 0x8d, 0xd0, 0x61, 0x02, - 0xa1, 0x95, 0x87, 0x50, 0x33, 0xf3, 0xf4, 0xa7, 0x39, 0xec, 0xe2, 0x2b, 0x00, 0x00, 0xff, 0xff, - 0x0b, 0x44, 0xd2, 0x4d, 0x0b, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_mapping_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_mapping_status.pb.go deleted file mode 100644 index 07968986..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_mapping_status.pb.go +++ /dev/null @@ -1,123 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/feed_mapping_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_3287d4a64cd77129, []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_3287d4a64cd77129, []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 (m *FeedMappingStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedMappingStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.FeedMappingStatusEnum_FeedMappingStatus", FeedMappingStatusEnum_FeedMappingStatus_name, FeedMappingStatusEnum_FeedMappingStatus_value) - proto.RegisterType((*FeedMappingStatusEnum)(nil), "google.ads.googleads.v2.enums.FeedMappingStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/feed_mapping_status.proto", fileDescriptor_3287d4a64cd77129) -} - -var fileDescriptor_3287d4a64cd77129 = []byte{ - // 303 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x4a, 0xc3, 0x30, - 0x18, 0x77, 0x1d, 0x28, 0x64, 0x07, 0xeb, 0x40, 0x0f, 0xe2, 0x0e, 0xdb, 0x03, 0x24, 0x50, 0x0f, - 0x42, 0x3c, 0xa5, 0x2e, 0x1b, 0x63, 0xae, 0x1b, 0x8e, 0x55, 0x90, 0xc2, 0x88, 0x26, 0x86, 0xc2, - 0x9a, 0x94, 0xa5, 0xdb, 0x03, 0x79, 0xf4, 0x51, 0x7c, 0x14, 0x7d, 0x09, 0x49, 0xb2, 0xf6, 0x32, - 0xf4, 0x52, 0x7e, 0x5f, 0x7f, 0x7f, 0xf2, 0xfb, 0x3e, 0x70, 0x27, 0xb5, 0x96, 0x1b, 0x81, 0x18, - 0x37, 0xc8, 0x43, 0x8b, 0xf6, 0x11, 0x12, 0x6a, 0x57, 0x18, 0xf4, 0x2e, 0x04, 0x5f, 0x17, 0xac, - 0x2c, 0x73, 0x25, 0xd7, 0xa6, 0x62, 0xd5, 0xce, 0xc0, 0x72, 0xab, 0x2b, 0xdd, 0xed, 0x79, 0x35, - 0x64, 0xdc, 0xc0, 0xc6, 0x08, 0xf7, 0x11, 0x74, 0xc6, 0xeb, 0x9b, 0x3a, 0xb7, 0xcc, 0x11, 0x53, - 0x4a, 0x57, 0xac, 0xca, 0xb5, 0x3a, 0x98, 0x07, 0x1c, 0x5c, 0x8e, 0x84, 0xe0, 0x33, 0x1f, 0xbc, - 0x74, 0xb9, 0x54, 0xed, 0x8a, 0xc1, 0x14, 0x5c, 0x1c, 0x11, 0xdd, 0x73, 0xd0, 0x59, 0x25, 0xcb, - 0x05, 0x7d, 0x98, 0x8c, 0x26, 0x74, 0x18, 0x9e, 0x74, 0x3b, 0xe0, 0x6c, 0x95, 0x4c, 0x93, 0xf9, - 0x73, 0x12, 0xb6, 0xec, 0x40, 0x13, 0x12, 0x3f, 0xd2, 0x61, 0x18, 0xd8, 0xe1, 0x89, 0xce, 0xe6, - 0x29, 0x1d, 0x86, 0xed, 0xf8, 0xa7, 0x05, 0xfa, 0x6f, 0xba, 0x80, 0xff, 0x36, 0x8d, 0xaf, 0x8e, - 0x1e, 0x5c, 0xd8, 0x8e, 0x8b, 0xd6, 0x4b, 0x7c, 0x30, 0x4a, 0xbd, 0x61, 0x4a, 0x42, 0xbd, 0x95, - 0x48, 0x0a, 0xe5, 0x36, 0xa8, 0x6f, 0x55, 0xe6, 0xe6, 0x8f, 0xd3, 0xdd, 0xbb, 0xef, 0x47, 0xd0, - 0x1e, 0x13, 0xf2, 0x19, 0xf4, 0xc6, 0x3e, 0x8a, 0x70, 0x03, 0x3d, 0xb4, 0x28, 0x8d, 0xa0, 0xdd, - 0xda, 0x7c, 0xd5, 0x7c, 0x46, 0xb8, 0xc9, 0x1a, 0x3e, 0x4b, 0xa3, 0xcc, 0xf1, 0xdf, 0x41, 0xdf, - 0xff, 0xc4, 0x98, 0x70, 0x83, 0x71, 0xa3, 0xc0, 0x38, 0x8d, 0x30, 0x76, 0x9a, 0xd7, 0x53, 0x57, - 0xec, 0xf6, 0x37, 0x00, 0x00, 0xff, 0xff, 0xee, 0x90, 0xd8, 0x73, 0xd2, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_origin.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_origin.pb.go deleted file mode 100644 index d7dadf8d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_origin.pb.go +++ /dev/null @@ -1,126 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/feed_origin.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_ecdea2469f0758a0, []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_ecdea2469f0758a0, []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 (m *FeedOriginEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedOriginEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.FeedOriginEnum_FeedOrigin", FeedOriginEnum_FeedOrigin_name, FeedOriginEnum_FeedOrigin_value) - proto.RegisterType((*FeedOriginEnum)(nil), "google.ads.googleads.v2.enums.FeedOriginEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/feed_origin.proto", fileDescriptor_ecdea2469f0758a0) -} - -var fileDescriptor_ecdea2469f0758a0 = []byte{ - // 293 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x4d, 0x4a, 0xc3, 0x40, - 0x14, 0x36, 0xa9, 0x54, 0x99, 0x82, 0x0d, 0x59, 0x8a, 0x5d, 0xb4, 0x07, 0x98, 0x81, 0xb8, 0x1b, - 0x37, 0x26, 0x9a, 0x86, 0xa2, 0x24, 0xa1, 0x25, 0x11, 0x24, 0x20, 0xd1, 0x19, 0x87, 0x40, 0x33, - 0x2f, 0x64, 0xd2, 0x1e, 0xc8, 0xa5, 0x47, 0xf1, 0x1c, 0xae, 0x3c, 0x85, 0x64, 0xd2, 0xa4, 0x2b, - 0xdd, 0x0c, 0x1f, 0xef, 0xfb, 0x99, 0xef, 0x3d, 0x44, 0x04, 0x80, 0xd8, 0x72, 0x92, 0x33, 0x75, - 0x80, 0x2d, 0xda, 0x3b, 0x84, 0xcb, 0x5d, 0xa9, 0xc8, 0x3b, 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 0x4a, 0xb5, 0xe6, 0x75, 0xac, 0x8b, 0x5d, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x04, 0x3c, 0x87, - 0x25, 0xb1, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_status.pb.go deleted file mode 100644 index 22d84cbc..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/feed_status.pb.go +++ /dev/null @@ -1,123 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/feed_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_ef5097fa2e289d1d, []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_ef5097fa2e289d1d, []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 (m *FeedStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.FeedStatusEnum_FeedStatus", FeedStatusEnum_FeedStatus_name, FeedStatusEnum_FeedStatus_value) - proto.RegisterType((*FeedStatusEnum)(nil), "google.ads.googleads.v2.enums.FeedStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/feed_status.proto", fileDescriptor_ef5097fa2e289d1d) -} - -var fileDescriptor_ef5097fa2e289d1d = []byte{ - // 293 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02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, 0xaa, 0x4b, - 0xf8, 0x67, 0xb7, 0x68, 0x7a, 0xfa, 0x53, 0x6a, 0xeb, 0xa4, 0xa3, 0xa7, 0xa8, 0x73, 0x48, 0xbd, - 0x67, 0x4a, 0x42, 0x7d, 0x90, 0x48, 0x0a, 0xe5, 0xca, 0xf6, 0xe7, 0xa8, 0x0a, 0xf3, 0xcb, 0x75, - 0xae, 0xdd, 0xf7, 0xdd, 0x1b, 0xaf, 0x08, 0xf9, 0xf0, 0x66, 0xab, 0x36, 0x8a, 0x70, 0x03, 0x5b, - 0x68, 0x51, 0x16, 0x42, 0xfb, 0x4e, 0xf3, 0xd9, 0xf3, 0x39, 0xe1, 0x26, 0x1f, 0xf8, 0x3c, 0x0b, - 0x73, 0xc7, 0x7f, 0x7b, 0xf3, 0x76, 0x89, 0x31, 0xe1, 0x06, 0xe3, 0x41, 0x81, 0x71, 0x16, 0x62, - 0xec, 0x34, 0x2f, 0xff, 0x5d, 0xb1, 0xab, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x4a, 0x3c, 0x03, - 0x66, 0xb5, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/flight_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/flight_placeholder_field.pb.go deleted file mode 100644 index 7ef85fa9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/flight_placeholder_field.pb.go +++ /dev/null @@ -1,219 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/flight_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_f41f3340b29d78a8, []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_f41f3340b29d78a8, []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 (m *FlightPlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FlightPlaceholderFieldEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.FlightPlaceholderFieldEnum_FlightPlaceholderField", FlightPlaceholderFieldEnum_FlightPlaceholderField_name, FlightPlaceholderFieldEnum_FlightPlaceholderField_value) - proto.RegisterType((*FlightPlaceholderFieldEnum)(nil), "google.ads.googleads.v2.enums.FlightPlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/flight_placeholder_field.proto", fileDescriptor_f41f3340b29d78a8) -} - -var fileDescriptor_f41f3340b29d78a8 = []byte{ - // 497 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0xcf, 0x6e, 0xd3, 0x30, - 0x18, 0xa7, 0x2d, 0x6c, 0xcc, 0xdd, 0x5a, 0xcf, 0x8c, 0x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1f, 0x9d, 0x37, 0x8b, 0x13, 0x7f, 0x6f, 0x2e, 0x90, 0x8b, 0x0f, 0x3a, - 0x9f, 0x46, 0xad, 0xbd, 0xe0, 0x55, 0x5a, 0x17, 0x1a, 0x5f, 0x15, 0x7a, 0x91, 0xd7, 0xea, 0x2c, - 0x36, 0x57, 0xb8, 0x2c, 0xc5, 0x7f, 0x8e, 0xf2, 0x9d, 0x7a, 0xbf, 0x76, 0x7b, 0x0e, 0xc6, 0xdf, - 0xba, 0x17, 0x4e, 0x13, 0x85, 0x33, 0xa1, 0x35, 0xa5, 0xac, 0x66, 0x86, 0x26, 0x8f, 0x48, 0xfc, - 0xd8, 0xf0, 0x73, 0x9c, 0x89, 0xf9, 0x96, 0x9f, 0xcf, 0x8c, 0xb9, 0xe2, 0x7f, 0x76, 0x2f, 0x1b, - 0xd0, 0x34, 0x71, 0x26, 0x4c, 0x73, 0xab, 0x30, 0xcd, 0x99, 0x61, 0x9a, 0x4a, 0xf3, 0x79, 0x4f, - 0x0d, 0xf6, 0xf6, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbb, 0x1d, 0x5f, 0x00, 0x2c, 0x03, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/frequency_cap_event_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/frequency_cap_event_type.pb.go deleted file mode 100644 index 7b628b1e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/frequency_cap_event_type.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/frequency_cap_event_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_eb44808c87a387a1, []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_eb44808c87a387a1, []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 (m *FrequencyCapEventTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FrequencyCapEventTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.FrequencyCapEventTypeEnum_FrequencyCapEventType", FrequencyCapEventTypeEnum_FrequencyCapEventType_name, FrequencyCapEventTypeEnum_FrequencyCapEventType_value) - proto.RegisterType((*FrequencyCapEventTypeEnum)(nil), "google.ads.googleads.v2.enums.FrequencyCapEventTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/frequency_cap_event_type.proto", fileDescriptor_eb44808c87a387a1) -} - -var fileDescriptor_eb44808c87a387a1 = []byte{ - // 320 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x41, 0x4b, 0xc3, 0x30, - 0x18, 0x75, 0x1d, 0x28, 0x64, 0xa0, 0xa5, 0xe0, 0xc1, 0xe1, 0x0e, 0xdb, 0x0f, 0x48, 0xa1, 0xde, - 0xa2, 0x97, 0x6e, 0xcb, 0x46, 0x11, 0xbb, 0xe2, 0x5c, 0x07, 0x52, 0x28,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eb, 0x44, 0xa7, 0x4e, 0x5a, 0xcf, 0xc3, 0x5f, 0x31, 0x13, 0x1b, 0xc2, 0x19, 0x14, 0x25, 0xf3, - 0x19, 0xe5, 0x66, 0xa7, 0xba, 0x42, 0xb9, 0x56, 0x7f, 0x34, 0x7a, 0x6b, 0xce, 0x77, 0xa7, 0x3d, - 0x0d, 0xc3, 0x0f, 0xa7, 0x37, 0xb5, 0x56, 0x61, 0xa1, 0xa0, 0x85, 0x1a, 0xa5, 0x01, 0xd4, 0x1d, - 0xa8, 0xcf, 0x9a, 0xcf, 0xc2, 0x42, 0x65, 0x0d, 0x9f, 0xa5, 0x41, 0x66, 0xf8, 0x2f, 0xa7, 0x6f, - 0x1f, 0x11, 0x0a, 0x0b, 0x85, 0x50, 0x33, 0x81, 0x50, 0x1a, 0x20, 0x64, 0x66, 0x5e, 0x4e, 0x4d, - 0xb0, 0x9b, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x7b, 0xfb, 0xe0, 0x17, 0xe9, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/frequency_cap_level.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/frequency_cap_level.pb.go deleted file mode 100644 index f9c81c67..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/frequency_cap_level.pb.go +++ /dev/null @@ -1,129 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/frequency_cap_level.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_1c822ab3e754ee8c, []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_1c822ab3e754ee8c, []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 (m *FrequencyCapLevelEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FrequencyCapLevelEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.FrequencyCapLevelEnum_FrequencyCapLevel", FrequencyCapLevelEnum_FrequencyCapLevel_name, FrequencyCapLevelEnum_FrequencyCapLevel_value) - proto.RegisterType((*FrequencyCapLevelEnum)(nil), "google.ads.googleads.v2.enums.FrequencyCapLevelEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/frequency_cap_level.proto", fileDescriptor_1c822ab3e754ee8c) -} - -var fileDescriptor_1c822ab3e754ee8c = []byte{ - // 318 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdd, 0x4a, 0xfb, 0x30, - 0x1c, 0xfd, 0xaf, 0xfb, 0xa3, 0x92, 0x09, 0xd6, 0x82, 0x5e, 0x88, 0xbb, 0xd8, 0x1e, 0x20, 0x81, - 0x7a, 0x21, 0xc4, 0xab, 0xec, 0xab, 0x0c, 0xb5, 0x2b, 0xca, 0x26, 0x48, 0xb1, 0xc4, 0x35, 0x86, - 0x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e4, 0x32, 0xa3, 0x82, 0x43, 0xb9, 0xe1, 0x88, 0x33, - 0x61, 0x1e, 0x55, 0xcf, 0x97, 0xaf, 0xd4, 0x2f, 0x6b, 0x5e, 0x98, 0xef, 0x9b, 0xd3, 0x0e, 0x08, - 0x79, 0x77, 0xba, 0x81, 0x8d, 0x22, 0xa9, 0x82, 0x16, 0x6a, 0xb4, 0xf0, 0xa1, 0x1e, 0x42, 0x7d, - 0xd4, 0x7c, 0x4c, 0x52, 0x15, 0x37, 0x7c, 0xbc, 0xf0, 0x63, 0xc3, 0x7f, 0x3a, 0x3d, 0x7b, 0xc4, - 0x98, 0xa4, 0x0a, 0xe3, 0x46, 0x81, 0xf1, 0xc2, 0xc7, 0xd8, 0x68, 0x1e, 0x77, 0x4c, 0xb1, 0xb3, - 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbb, 0x9d, 0x0e, 0x29, 0xe5, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/frequency_cap_time_unit.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/frequency_cap_time_unit.pb.go deleted file mode 100644 index 211a1ad0..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/frequency_cap_time_unit.pb.go +++ /dev/null @@ -1,129 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/frequency_cap_time_unit.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_dd3b193fe4cb5904, []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_dd3b193fe4cb5904, []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 (m *FrequencyCapTimeUnitEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FrequencyCapTimeUnitEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.FrequencyCapTimeUnitEnum_FrequencyCapTimeUnit", FrequencyCapTimeUnitEnum_FrequencyCapTimeUnit_name, FrequencyCapTimeUnitEnum_FrequencyCapTimeUnit_value) - proto.RegisterType((*FrequencyCapTimeUnitEnum)(nil), "google.ads.googleads.v2.enums.FrequencyCapTimeUnitEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/frequency_cap_time_unit.proto", fileDescriptor_dd3b193fe4cb5904) -} - -var fileDescriptor_dd3b193fe4cb5904 = []byte{ - // 324 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xcf, 0x4e, 0xf2, 0x40, - 0x14, 0xc5, 0x3f, 0x0a, 0x9f, 0xe8, 0xb0, 0xb0, 0x69, 0x5c, 0xa8, 0x91, 0x05, 0x3c, 0xc0, 0x34, - 0xa9, 0xbb, 0x61, 0x35, 0x40, 0x41, 0x42, 0x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fc, 0xb3, 0x73, - 0xf7, 0xe2, 0xd0, 0xbb, 0xd3, 0xa2, 0xf0, 0xb4, 0xf2, 0xd8, 0xfd, 0x61, 0x99, 0xdc, 0x10, 0xc1, - 0xa0, 0xdc, 0x32, 0x9f, 0x51, 0x61, 0xd6, 0x29, 0x8f, 0x97, 0x71, 0xf5, 0xcb, 0x2d, 0x3b, 0xe6, - 0xfb, 0xe6, 0x54, 0x87, 0x18, 0xbf, 0x3b, 0xcd, 0xa1, 0x8d, 0xc2, 0x89, 0x82, 0x56, 0x16, 0x6a, - 0x11, 0xc0, 0x62, 0x7f, 0xf5, 0x51, 0xfa, 0x31, 0x4e, 0x54, 0xbc, 0xf7, 0xe3, 0x45, 0x10, 0x1b, - 0xff, 0xd3, 0x69, 0xd9, 0x9f, 0x08, 0xe1, 0x44, 0x21, 0xb4, 0x9f, 0x40, 0x68, 0x11, 0x20, 0x64, - 0x66, 0x9e, 0x8e, 0x4c, 0xb1, 0xeb, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x8a, 0x18, 0x56, 0x11, - 0xe3, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/gender_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/gender_type.pb.go deleted file mode 100644 index 59f0e379..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/gender_type.pb.go +++ /dev/null @@ -1,128 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/gender_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_159d7a4fdd5ef73b, []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_159d7a4fdd5ef73b, []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 (m *GenderTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenderTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.GenderTypeEnum_GenderType", GenderTypeEnum_GenderType_name, GenderTypeEnum_GenderType_value) - proto.RegisterType((*GenderTypeEnum)(nil), "google.ads.googleads.v2.enums.GenderTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/gender_type.proto", fileDescriptor_159d7a4fdd5ef73b) -} - -var fileDescriptor_159d7a4fdd5ef73b = []byte{ - // 305 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x4a, 0xc3, 0x30, - 0x1c, 0x76, 0x53, 0xa6, 0xfc, 0x26, 0xae, 0x04, 0x4f, 0xe2, 0x0e, 0xdb, 0x03, 0xa4, 0x50, 0x6f, - 0xf1, 0x94, 0xb9, 0x6c, 0x0c, 0x5d, 0x1c, 0x73, 0x9b, 0x20, 0x05, 0xa9, 0x26, 0x84, 0xc2, 0x9a, - 0x94, 0xa6, 0x1b, 0xec, 0x75, 0x3c, 0xfa, 0x28, 0x3e, 0x87, 0x27, 0x9f, 0x42, 0x9a, 0xae, 0xdd, - 0x49, 0x2f, 0xe5, 0xe3, 0xf7, 0xfd, 0xe9, 0x97, 0x0f, 0x7c, 0x65, 0x8c, 0x5a, 0x4b, 0x3f, 0x12, - 0x76, 0x0f, 0x0b, 0xb4, 0x0d, 0x7c, 0xa9, 0x37, 0x89, 0xf5, 0x95, 0xd4, 0x42, 0x66, 0xaf, 0xf9, - 0x2e, 0x95, 0x38, 0xcd, 0x4c,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, 0x64, 0x15, 0x10, 0xe2, 0x34, 0x6f, - 0x2d, 0x57, 0xec, 0xe6, 0x37, 0x00, 0x00, 0xff, 0xff, 0xbc, 0x1c, 0x53, 0x3c, 0xc3, 0x01, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/geo_target_constant_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/geo_target_constant_status.pb.go deleted file mode 100644 index 7f0c3160..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/geo_target_constant_status.pb.go +++ /dev/null @@ -1,127 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/geo_target_constant_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_b6886bea4e90ec90, []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_b6886bea4e90ec90, []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 (m *GeoTargetConstantStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_GeoTargetConstantStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.GeoTargetConstantStatusEnum_GeoTargetConstantStatus", GeoTargetConstantStatusEnum_GeoTargetConstantStatus_name, GeoTargetConstantStatusEnum_GeoTargetConstantStatus_value) - proto.RegisterType((*GeoTargetConstantStatusEnum)(nil), "google.ads.googleads.v2.enums.GeoTargetConstantStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/geo_target_constant_status.proto", fileDescriptor_b6886bea4e90ec90) -} - -var fileDescriptor_b6886bea4e90ec90 = []byte{ - // 321 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xd1, 0x6a, 0xf2, 0x30, - 0x18, 0xfd, 0xad, 0xf0, 0x0f, 0xe2, 0x85, 0xa5, 0xbb, 0x18, 0x6c, 0x7a, 0xa1, 0x0f, 0x90, 0x42, - 0x77, 0x97, 0xc1, 0x20, 0xd5, 0x4c, 0x64, 0x2e, 0x96, 0x39, 0x3b, 0x36, 0x0a, 0x25, 0xb3, 0x21, - 0x08, 0x9a, 0x4f, 0x4c, 0x94, 0x3d, 0xcf, 0x2e, 0xf7, 0x28, 0x7b, 0x94, 0xdd, 0xed, 0x0d, 0x46, - 0x53, 0xf5, 0xae, 0xbb, 0x09, 0x27, 0x39, 0xdf, 0x39, 0x39, 0xdf, 0x41, 0xb7, 0x0a, 0x40, 0xad, - 0x64, 0x28, 0x0a, 0x13, 0x56, 0xb0, 0x44, 0xfb, 0x28, 0x94, 0x7a, 0xb7, 0x36, 0xa1, 0x92, 0x90, - 0x5b, 0xb1, 0x55, 0xd2, 0xe6, 0x0b, 0xd0, 0xc6, 0x0a, 0x6d, 0x73, 0x63, 0x85, 0xdd, 0x19, 0xbc, - 0xd9, 0x82, 0x85, 0xa0, 0x5b, 0x89, 0xb0, 0x28, 0x0c, 0x3e, 0xe9, 0xf1, 0x3e, 0xc2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eb, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe7, 0xed, 0x0a, 0x40, 0xf3, 0x01, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/geo_targeting_restriction.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/geo_targeting_restriction.pb.go deleted file mode 100644 index ccd60aad..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/geo_targeting_restriction.pb.go +++ /dev/null @@ -1,122 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/geo_targeting_restriction.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_32d8fd0e3df97ba2, []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_32d8fd0e3df97ba2, []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 (m *GeoTargetingRestrictionEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_GeoTargetingRestrictionEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.GeoTargetingRestrictionEnum_GeoTargetingRestriction", GeoTargetingRestrictionEnum_GeoTargetingRestriction_name, GeoTargetingRestrictionEnum_GeoTargetingRestriction_value) - proto.RegisterType((*GeoTargetingRestrictionEnum)(nil), "google.ads.googleads.v2.enums.GeoTargetingRestrictionEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/geo_targeting_restriction.proto", fileDescriptor_32d8fd0e3df97ba2) -} - -var fileDescriptor_32d8fd0e3df97ba2 = []byte{ - // 313 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xcf, 0x4a, 0x2b, 0x31, - 0x18, 0xc5, 0x6f, 0xe7, 0x82, 0x42, 0xba, 0xb0, 0x0c, 0x82, 0xa2, 0xed, 0xa2, 0x7d, 0x80, 0x04, - 0xc6, 0x5d, 0xc4, 0x45, 0x5a, 0xd3, 0x52, 0x94, 0xcc, 0xd8, 0x7f, 0x82, 0x0c, 0x0c, 0xb1, 0x13, - 0xc2, 0x40, 0x9b, 0x0c, 0x93, 0xb4, 0x0f, 0xe4, 0xd2, 0x47, 0xf1, 0x51, 0xdc, 0xf9, 0x06, 0x32, - 0x89, 0x53, 0x57, 0x75, 0x13, 0x0e, 0x39, 0xdf, 0xef, 0xe4, 0xcb, 0x01, 0x77, 0x52, 0x6b, 0xb9, - 0x11, 0x88, 0xe7, 0x06, 0x79, 0x59, 0xab, 0x7d, 0x84, 0x84, 0xda, 0x6d, 0x0d, 0x92, 0x42, 0x67, - 0x96, 0x57, 0x52, 0xd8, 0x42, 0xc9, 0xac, 0x12, 0xc6, 0x56, 0xc5, 0xda, 0x16, 0x5a, 0xc1, 0xb2, - 0xd2, 0x56, 0x87, 0x3d, 0xcf, 0x40, 0x9e, 0x1b, 0x78, 0xc0, 0xe1, 0x3e, 0x82, 0x0e, 0xbf, 0xea, - 0x36, 0xe9, 0x65, 0x81, 0xb8, 0x52, 0xda, 0xf2, 0x9a, 0x35, 0x1e, 0x1e, 0x94, 0xe0, 0x7a, 0x22, - 0xf4, 0xa2, 0x89, 0x9f, 0xfd, 0xa6, 0x53, 0xb5, 0xdb, 0x0e, 0x9e, 0xc0, 0xc5, 0x11, 0x3b, 0x3c, - 0x03, 0xed, 0x25, 0x9b, 0x27, 0x74, 0x34, 0x1d, 0x4f, 0xe9, 0x7d, 0xe7, 0x5f, 0xd8, 0x06, 0xa7, - 0x4b, 0xf6, 0xc0, 0xe2, 0x67, 0xd6, 0x69, 0x85, 0x97, 0xe0, 0xfc, 0x31, 0x1e, 0x91, 0xc5, 0x34, - 0x66, 0x59, 0x3c, 0xce, 0x92, 0x19, 0x9d, 0x53, 0x36, 0xa2, 0x9d, 0x60, 0xf8, 0xd5, 0x02, 0xfd, - 0xb5, 0xde, 0xc2, 0x3f, 0xb7, 0x1e, 0x76, 0x8f, 0x3c, 0x9b, 0xd4, 0x5b, 0x27, 0xad, 0x97, 0xe1, - 0x0f, 0x2e, 0xf5, 0x86, 0x2b, 0x09, 0x75, 0x25, 0x91, 0x14, 0xca, 0xfd, 0xa9, 0xe9, 0xb0, 0x2c, - 0xcc, 0x91, 0x4a, 0x6f, 0xdd, 0xf9, 0x16, 0xfc, 0x9f, 0x10, 0xf2, 0x1e, 0xf4, 0x26, 0x3e, 0x8a, - 0xe4, 0x06, 0x7a, 0x59, 0xab, 0x55, 0x04, 0xeb, 0x06, 0xcc, 0x47, 0xe3, 0xa7, 0x24, 0x37, 0xe9, - 0xc1, 0x4f, 0x57, 0x51, 0xea, 0xfc, 0xcf, 0xa0, 0xef, 0x2f, 0x31, 0x26, 0xb9, 0xc1, 0xf8, 0x30, - 0x81, 0xf1, 0x2a, 0xc2, 0xd8, 0xcd, 0xbc, 0x9e, 0xb8, 0xc5, 0x6e, 0xbe, 0x03, 0x00, 0x00, 0xff, - 0xff, 0xa0, 0x79, 0xe2, 0x4a, 0xea, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/geo_targeting_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/geo_targeting_type.pb.go deleted file mode 100644 index 3a222564..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/geo_targeting_type.pb.go +++ /dev/null @@ -1,125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/geo_targeting_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The possible geo targeting types. -type GeoTargetingTypeEnum_GeoTargetingType int32 - -const ( - // Not specified. - GeoTargetingTypeEnum_UNSPECIFIED GeoTargetingTypeEnum_GeoTargetingType = 0 - // The value is unknown in this version. - GeoTargetingTypeEnum_UNKNOWN GeoTargetingTypeEnum_GeoTargetingType = 1 - // Location the user is interested in while making the query. - GeoTargetingTypeEnum_AREA_OF_INTEREST GeoTargetingTypeEnum_GeoTargetingType = 2 - // Location of the user issuing the query. - GeoTargetingTypeEnum_LOCATION_OF_PRESENCE GeoTargetingTypeEnum_GeoTargetingType = 3 -) - -var GeoTargetingTypeEnum_GeoTargetingType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "AREA_OF_INTEREST", - 3: "LOCATION_OF_PRESENCE", -} - -var GeoTargetingTypeEnum_GeoTargetingType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "AREA_OF_INTEREST": 2, - "LOCATION_OF_PRESENCE": 3, -} - -func (x GeoTargetingTypeEnum_GeoTargetingType) String() string { - return proto.EnumName(GeoTargetingTypeEnum_GeoTargetingType_name, int32(x)) -} - -func (GeoTargetingTypeEnum_GeoTargetingType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_452c8e067d254a7a, []int{0, 0} -} - -// Container for enum describing possible geo targeting types. -type GeoTargetingTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GeoTargetingTypeEnum) Reset() { *m = GeoTargetingTypeEnum{} } -func (m *GeoTargetingTypeEnum) String() string { return proto.CompactTextString(m) } -func (*GeoTargetingTypeEnum) ProtoMessage() {} -func (*GeoTargetingTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_452c8e067d254a7a, []int{0} -} - -func (m *GeoTargetingTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GeoTargetingTypeEnum.Unmarshal(m, b) -} -func (m *GeoTargetingTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GeoTargetingTypeEnum.Marshal(b, m, deterministic) -} -func (m *GeoTargetingTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_GeoTargetingTypeEnum.Merge(m, src) -} -func (m *GeoTargetingTypeEnum) XXX_Size() int { - return xxx_messageInfo_GeoTargetingTypeEnum.Size(m) -} -func (m *GeoTargetingTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_GeoTargetingTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_GeoTargetingTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.GeoTargetingTypeEnum_GeoTargetingType", GeoTargetingTypeEnum_GeoTargetingType_name, GeoTargetingTypeEnum_GeoTargetingType_value) - proto.RegisterType((*GeoTargetingTypeEnum)(nil), "google.ads.googleads.v2.enums.GeoTargetingTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/geo_targeting_type.proto", fileDescriptor_452c8e067d254a7a) -} - -var fileDescriptor_452c8e067d254a7a = []byte{ - // 323 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0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8b, 0xa6, 0x59, 0x48, 0x13, 0x32, - 0x27, 0x8b, 0xc4, 0x75, 0xbc, 0x4b, 0xd0, 0x7f, 0x8c, 0x26, 0x38, 0x09, 0x23, 0x5a, 0x33, 0xf1, - 0x9c, 0x2c, 0x08, 0x9d, 0x10, 0xb7, 0x3b, 0x3e, 0x76, 0xc0, 0xf0, 0x4d, 0x6e, 0xe0, 0x9f, 0xed, - 0xc7, 0x17, 0xa7, 0x2d, 0xe2, 0xba, 0x76, 0xdc, 0x79, 0x1e, 0xff, 0xf8, 0xb8, 0x5c, 0xe7, 0x82, - 0x43, 0xb9, 0xe5, 0x3e, 0x67, 0xc2, 0x7c, 0xaa, 0x59, 0xaf, 0x2a, 0xd5, 0x2f, 0x63, 0xde, 0x99, - 0xf7, 0xc3, 0xe9, 0xce, 0x30, 0xfe, 0x74, 0x06, 0x33, 0x1b, 0x85, 0x0b, 0x05, 0x2d, 0xac, 0xd1, - 0x2a, 0x80, 0xf5, 0x12, 0xea, 0xab, 0xe1, 0x53, 0x5c, 0xa8, 0xb4, 0xe5, 0xd3, 0x55, 0x90, 0x1a, - 0xfe, 0xe8, 0x0c, 0xed, 0x11, 0x21, 0x5c, 0x28, 0x84, 0x5a, 0x05, 0x42, 0xab, 0x00, 0x21, 0xa3, - 0x79, 0xfd, 0x6f, 0x8a, 0xdd, 0x7c, 0x07, 0x00, 0x00, 0xff, 0xff, 0xda, 0xa9, 0xf5, 0x22, 0xe4, - 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/google_ads_field_category.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/google_ads_field_category.pb.go deleted file mode 100644 index 8e96c937..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/google_ads_field_category.pb.go +++ /dev/null @@ -1,138 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/google_ads_field_category.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_83c93a0ac03d8966, []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_83c93a0ac03d8966, []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 (m *GoogleAdsFieldCategoryEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_GoogleAdsFieldCategoryEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.GoogleAdsFieldCategoryEnum_GoogleAdsFieldCategory", GoogleAdsFieldCategoryEnum_GoogleAdsFieldCategory_name, GoogleAdsFieldCategoryEnum_GoogleAdsFieldCategory_value) - proto.RegisterType((*GoogleAdsFieldCategoryEnum)(nil), "google.ads.googleads.v2.enums.GoogleAdsFieldCategoryEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/google_ads_field_category.proto", fileDescriptor_83c93a0ac03d8966) -} - -var fileDescriptor_83c93a0ac03d8966 = []byte{ - // 336 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x4a, 0xc3, 0x30, - 0x18, 0xb7, 0x1d, 0x4e, 0xcd, 0x14, 0x4b, 0x0f, 0x1e, 0xa6, 0x3b, 0x6c, 0x0f, 0x90, 0x42, 0xbd, - 0x45, 0x3c, 0xb4, 0x35, 0x1b, 0x45, 0xd6, 0x8d, 0xae, 0x9d, 0x20, 0x85, 0x11, 0x97, 0x1a, 0x0a, - 0x5d, 0x32, 0x96, 0x6e, 0xe0, 0x2b, 0xf8, 0x18, 0x1e, 0x7d, 0x14, 0x1f, 0xc5, 0x93, 0x8f, 0x20, - 0x4d, 0xd7, 0x9e, 0xa6, 0x97, 0x10, 0xbe, 0xdf, 0x9f, 0xef, 0xfb, 0xfd, 0xc0, 0x3d, 0x13, 0x82, - 0xe5, 0xa9, 0x45, 0xa8, 0xb4, 0xaa, 0x6f, 0xf9, 0xdb, 0xd9, 0x56, 0xca, 0xb7, 0xab, 0x7a, 0xb4, - 0x20, 0x54, 0x2e, 0x5e, 0xb3, 0x34, 0xa7, 0x8b, 0x25, 0x29, 0x52, 0x26, 0x36, 0x6f, 0x70, 0xbd, - 0x11, 0x85, 0x30, 0x7b, 0x15, 0x01, 0x12, 0x2a, 0x61, 0x23, 0x87, 0x3b, 0x1b, 0x2a, 0x79, 0xf7, - 0xa6, 0x76, 0x5f, 0x67, 0x16, 0xe1, 0x5c, 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4b, 0x5b, - 0x1d, 0x76, 0xfb, 0x1b, 0x00, 0x00, 0xff, 0xff, 0xf8, 0x1c, 0xe1, 0x77, 0x04, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/google_ads_field_data_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/google_ads_field_data_type.pb.go deleted file mode 100644 index 74dfa581..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/google_ads_field_data_type.pb.go +++ /dev/null @@ -1,190 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/google_ads_field_data_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // Maps to google.protobuf.UInt64Value - // - // Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN - GoogleAdsFieldDataTypeEnum_UINT64 GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType = 12 -) - -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", - 12: "UINT64", -} - -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, - "UINT64": 12, -} - -func (x GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType) String() string { - return proto.EnumName(GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType_name, int32(x)) -} - -func (GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_db2dc07d4fd50e85, []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_db2dc07d4fd50e85, []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 (m *GoogleAdsFieldDataTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_GoogleAdsFieldDataTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType", GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType_name, GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType_value) - proto.RegisterType((*GoogleAdsFieldDataTypeEnum)(nil), "google.ads.googleads.v2.enums.GoogleAdsFieldDataTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/google_ads_field_data_type.proto", fileDescriptor_db2dc07d4fd50e85) -} - -var fileDescriptor_db2dc07d4fd50e85 = []byte{ - // 398 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xcf, 0x8e, 0x93, 0x40, - 0x18, 0x17, 0x76, 0xb7, 0xbb, 0x3b, 0xd5, 0x38, 0x72, 0xf0, 0xb0, 0xba, 0x87, 0xdd, 0x07, 0x18, - 0x12, 0x6a, 0x3c, 0x8c, 0x89, 0xc9, 0x50, 0xa6, 0x84, 0xd8, 0x0e, 0x4d, 0x81, 0x9a, 0x18, 0x12, - 0x32, 0x3a, 0x48, 0x48, 0x5a, 0x86, 0x74, 0x68, 0x93, 0xbe, 0x8e, 0x47, 0x9f, 0xc1, 0x27, 0xf0, - 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, 0xf0, 0xed, 0x1b, 0x78, 0xa3, 0xd3, 0x16, 0x34, 0x8a, 0x88, - 0x4f, 0xe1, 0xad, 0xf5, 0x02, 0x3c, 0x5b, 0xd1, 0x28, 0x4c, 0x56, 0x53, 0x9a, 0x31, 0xb2, 0xa0, - 0x10, 0xe8, 0xd8, 0x28, 0x5e, 0x05, 0xcc, 0x87, 0x63, 0x8d, 0x93, 0xce, 0xf7, 0xd4, 0xfd, 0x63, - 0x80, 0x87, 0x2f, 0x72, 0x8b, 0xfe, 0xdb, 0x90, 0xfb, 0xea, 0xfc, 0x1f, 0x2e, 0x75, 0x41, 0x4b, - 0xe3, 0x93, 0x7b, 0x72, 0x17, 0x72, 0xc3, 0xab, 0x02, 0xc9, 0x5d, 0x61, 0x17, 0x79, 0xd5, 0xd6, - 0xd7, 0xdf, 0xab, 0x2e, 0xd5, 0x3f, 0xce, 0xf7, 0xae, 0x7d, 0x7e, 0x33, 0x2f, 0x7c, 0x42, 0xbe, - 0x9b, 0xf7, 0xdd, 0x26, 0x44, 0x84, 0x42, 0xc3, 0x52, 0xb4, 0x76, 0x90, 0x2e, 0x5b, 0xfd, 0xec, - 0xf9, 0x94, 0x08, 0x95, 0x0e, 0x7c, 0xba, 0x76, 0xd2, 0x96, 0xff, 0x6d, 0x3e, 0x74, 0x43, 0x8c, - 0x89, 0x50, 0x18, 0x0f, 0x0a, 0x8c, 0xd7, 0x0e, 0xc6, 0xad, 0xe6, 0xf3, 0xa8, 0xfd, 0xb0, 0xc9, - 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe5, 0x40, 0x70, 0xdb, 0x56, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/hotel_date_selection_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/hotel_date_selection_type.pb.go deleted file mode 100644 index 852398d7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/hotel_date_selection_type.pb.go +++ /dev/null @@ -1,125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/hotel_date_selection_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_411d1f94192acf8e, []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_411d1f94192acf8e, []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 (m *HotelDateSelectionTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_HotelDateSelectionTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.HotelDateSelectionTypeEnum_HotelDateSelectionType", HotelDateSelectionTypeEnum_HotelDateSelectionType_name, HotelDateSelectionTypeEnum_HotelDateSelectionType_value) - proto.RegisterType((*HotelDateSelectionTypeEnum)(nil), "google.ads.googleads.v2.enums.HotelDateSelectionTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/hotel_date_selection_type.proto", fileDescriptor_411d1f94192acf8e) -} - -var fileDescriptor_411d1f94192acf8e = []byte{ - // 330 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b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1, 0x7d, 0x30, 0x7d, 0x0c, 0xac, 0x9a, 0x7d, - 0x01, 0x9a, 0x3e, 0x1e, 0x7a, 0xd1, 0x64, 0x9e, 0x84, 0x78, 0x82, 0x07, 0xf3, 0xf1, 0x34, 0xb0, - 0x5c, 0xbb, 0x09, 0xce, 0xa2, 0x10, 0x3f, 0x1c, 0x76, 0xd8, 0xb7, 0x7a, 0xfd, 0xef, 0x1a, 0xe8, - 0x2c, 0xf9, 0x1a, 0xfe, 0x99, 0xa1, 0x7f, 0x75, 0xfc, 0x8b, 0x99, 0x8a, 0x30, 0xab, 0x3d, 0xf5, - 0x0f, 0xea, 0x8c, 0xe7, 0x84, 0x65, 0x90, 0x6f, 0x32, 0x27, 0xa3, 0x4c, 0x07, 0x2c, 0x0b, 0x2d, - 0x56, 0xe2, 0x97, 0x7e, 0x6f, 0xf4, 0x7c, 0xaf, 0xff, 0x1f, 0x79, 0xde, 0x47, 0xbd, 0x3d, 0x32, - 0x56, 0x5e, 0x2a, 0xa0, 0x81, 0x0a, 0x2d, 0x5c, 0xa8, 0xfa, 0x10, 0x9f, 0x25, 0x1f, 0x7b, 0xa9, - 0x88, 0x2b, 0x3e, 0x5e, 0xb8, 0xb1, 0xe6, 0xbf, 0xea, 0x1d, 0xb3, 0x44, 0xc8, 0x4b, 0x05, 0x42, - 0xd5, 0x05, 0x42, 0x0b, 0x17, 0x21, 0x7d, 0xf3, 0x72, 0xa2, 0x1f, 0xeb, 0xfd, 0x04, 0x00, 0x00, - 0xff, 0xff, 0x23, 0xab, 0x2c, 0xb2, 0xf7, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/hotel_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/hotel_placeholder_field.pb.go deleted file mode 100644 index 42680c14..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/hotel_placeholder_field.pb.go +++ /dev/null @@ -1,230 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/hotel_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_bf09812e91f0c054, []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_bf09812e91f0c054, []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 (m *HotelPlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_HotelPlaceholderFieldEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.HotelPlaceholderFieldEnum_HotelPlaceholderField", HotelPlaceholderFieldEnum_HotelPlaceholderField_name, HotelPlaceholderFieldEnum_HotelPlaceholderField_value) - proto.RegisterType((*HotelPlaceholderFieldEnum)(nil), "google.ads.googleads.v2.enums.HotelPlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/hotel_placeholder_field.proto", fileDescriptor_bf09812e91f0c054) -} - -var fileDescriptor_bf09812e91f0c054 = []byte{ - // 531 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0xdd, 0x6e, 0xda, 0x30, - 0x18, 0x5d, 0x61, 0xfd, 0x73, 0xa1, 0x18, 0x03, 0xda, 0x6f, 0x2f, 0xda, 0x07, 0x48, 0x24, 0x76, - 0x97, 0x5e, 0x99, 0xc4, 0x64, 0x16, 0xc1, 0x89, 0x6c, 0x43, 0xc7, 0x84, 0x14, 0x65, 0x4d, 0x96, - 0x22, 0x85, 0x18, 0x11, 0xda, 0x07, 0xda, 0xe5, 0x6e, 0xf6, 0x1e, 0x93, 0xf6, 0x22, 0xbb, 0xda, - 0x23, 0x4c, 0x4e, 0x0a, 0x54, 0xd3, 0xb6, 0x9b, 0xe8, 0xf3, 0x39, 0xdf, 0x39, 0xfe, 0xe2, 0xef, - 0x80, 0xeb, 0x54, 0xa9, 0x34, 0x4b, 0xcc, 0x28, 0x2e, 0xcc, 0xaa, 0xd4, 0xd5, 0x43, 0xdf, 0x4c, - 0xf2, 0xfb, 0x65, 0x61, 0xde, 0xa9, 0x4d, 0x92, 0x85, 0xab, 0x2c, 0xba, 0x4d, 0xee, 0x54, 0x16, - 0x27, 0xeb, 0xf0, 0xf3, 0x22, 0xc9, 0x62, 0x63, 0xb5, 0x56, 0x1b, 0x85, 0x2e, 0x2a, 0x85, 0x11, - 0xc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 0x79, 0xc9, 0xff, 0xac, - 0x5d, 0x56, 0xa0, 0x65, 0xe1, 0xb8, 0xb0, 0xac, 0x5d, 0x87, 0x65, 0x4d, 0xfb, 0x96, 0x55, 0xf6, - 0x7c, 0x3a, 0x2a, 0x07, 0x7b, 0xf7, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x02, 0xac, 0x61, 0x97, 0x45, - 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/hotel_price_bucket.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/hotel_price_bucket.pb.go deleted file mode 100644 index b75c2a68..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/hotel_price_bucket.pb.go +++ /dev/null @@ -1,126 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/hotel_price_bucket.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible hotel price buckets. -type HotelPriceBucketEnum_HotelPriceBucket int32 - -const ( - // Not specified. - HotelPriceBucketEnum_UNSPECIFIED HotelPriceBucketEnum_HotelPriceBucket = 0 - // The value is unknown in this version. - HotelPriceBucketEnum_UNKNOWN HotelPriceBucketEnum_HotelPriceBucket = 1 - // Tied for lowest price. Partner is within a small variance of the lowest - // price. - HotelPriceBucketEnum_LOWEST_TIED HotelPriceBucketEnum_HotelPriceBucket = 3 - // Not lowest price. Partner is not within a small variance of the lowest - // price. - HotelPriceBucketEnum_NOT_LOWEST HotelPriceBucketEnum_HotelPriceBucket = 4 -) - -var HotelPriceBucketEnum_HotelPriceBucket_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 3: "LOWEST_TIED", - 4: "NOT_LOWEST", -} - -var HotelPriceBucketEnum_HotelPriceBucket_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "LOWEST_TIED": 3, - "NOT_LOWEST": 4, -} - -func (x HotelPriceBucketEnum_HotelPriceBucket) String() string { - return proto.EnumName(HotelPriceBucketEnum_HotelPriceBucket_name, int32(x)) -} - -func (HotelPriceBucketEnum_HotelPriceBucket) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bd2118b8b82d2ea6, []int{0, 0} -} - -// Container for enum describing hotel price bucket for a hotel itinerary. -type HotelPriceBucketEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *HotelPriceBucketEnum) Reset() { *m = HotelPriceBucketEnum{} } -func (m *HotelPriceBucketEnum) String() string { return proto.CompactTextString(m) } -func (*HotelPriceBucketEnum) ProtoMessage() {} -func (*HotelPriceBucketEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_bd2118b8b82d2ea6, []int{0} -} - -func (m *HotelPriceBucketEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HotelPriceBucketEnum.Unmarshal(m, b) -} -func (m *HotelPriceBucketEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HotelPriceBucketEnum.Marshal(b, m, deterministic) -} -func (m *HotelPriceBucketEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_HotelPriceBucketEnum.Merge(m, src) -} -func (m *HotelPriceBucketEnum) XXX_Size() int { - return xxx_messageInfo_HotelPriceBucketEnum.Size(m) -} -func (m *HotelPriceBucketEnum) XXX_DiscardUnknown() { - xxx_messageInfo_HotelPriceBucketEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_HotelPriceBucketEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.HotelPriceBucketEnum_HotelPriceBucket", HotelPriceBucketEnum_HotelPriceBucket_name, HotelPriceBucketEnum_HotelPriceBucket_value) - proto.RegisterType((*HotelPriceBucketEnum)(nil), "google.ads.googleads.v2.enums.HotelPriceBucketEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/hotel_price_bucket.proto", fileDescriptor_bd2118b8b82d2ea6) -} - -var fileDescriptor_bd2118b8b82d2ea6 = []byte{ - // 306 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x4a, 0xc3, 0x30, - 0x18, 0x77, 0x9b, 0x28, 0x64, 0xa0, 0xa5, 0xe8, 0x45, 0xdc, 0x61, 0x7b, 0x80, 0x04, 0x2a, 0x78, - 0x88, 0xa7, 0x56, 0xeb, 0x1c, 0x4a, 0x57, 0x59, 0xd7, 0x81, 0x14, 0x4a, 0xd7, 0x86, 0x58, 0x6c, - 0x93, 0xd2, 0xb4, 0x7b, 0x20, 0x8f, 0x3e, 0x8a, 0x8f, 0xb2, 0xa7, 0x90, 0x24, 0xb6, 0x87, 0x81, - 0x5e, 0xc2, 0x8f, 0xef, 0xf7, 0x27, 0xbf, 0xef, 0x03, 0xb7, 0x94, 0x73, 0x5a, 0x10, 0x94, 0x64, - 0x02, 0x69, 0x28, 0xd1, 0xce, 0x42, 0x84, 0xb5, 0xa5, 0x40, 0xef, 0xbc, 0x21, 0x45, 0x5c, 0xd5, - 0x79, 0x4a, 0xe2, 0x6d, 0x9b, 0x7e, 0x90, 0x06, 0x56, 0x35, 0x6f, 0xb8, 0x39, 0xd1, 0x62, 0x98, - 0x64, 0x02, 0xf6, 0x3e, 0xb8, 0xb3, 0xa0, 0xf2, 0x5d, 0x5d, 0x77, 0xb1, 0x55, 0x8e, 0x12, 0xc6, - 0x78, 0x93, 0x34, 0x39, 0x67, 0x42, 0x9b, 0x67, 0x39, 0xb8, 0x78, 0x92, 0xc1, 0xbe, 0xcc, 0x75, - 0x54, 0xac, 0xcb, 0xda, 0x72, 0xf6, 0x0a, 0x8c, 0xc3, 0xb9, 0x79, 0x0e, 0xc6, 0x6b, 0x6f, 0xe5, - 0xbb, 0xf7, 0x8b, 0xc7, 0x85, 0xfb, 0x60, 0x1c, 0x99, 0x63, 0x70, 0xba, 0xf6, 0x9e, 0xbd, 0xe5, - 0xc6, 0x33, 0x06, 0x92, 0x7d, 0x59, 0x6e, 0xdc, 0x55, 0x10, 0x07, 0x92, 0x1d, 0x99, 0x67, 0x00, - 0x78, 0xcb, 0x20, 0xd6, 0x43, 0xe3, 0xd8, 0xd9, 0x0f, 0xc0, 0x34, 0xe5, 0x25, 0xfc, 0xb7, 0xae, - 0x73, 0x79, 0xf8, 0xad, 0x2f, 0x7b, 0xfa, 0x83, 0x37, 0xe7, 0xd7, 0x47, 0x79, 0x91, 0x30, 0x0a, - 0x79, 0x4d, 0x11, 0x25, 0x4c, 0x6d, 0xd1, 0x9d, 0xab, 0xca, 0xc5, 0x1f, 0xd7, 0xbb, 0x53, 0xef, - 0xe7, 0x70, 0x34, 0xb7, 0xed, 0xaf, 0xe1, 0x64, 0xae, 0xa3, 0xec, 0x4c, 0x40, 0x0d, 0x25, 0x0a, - 0x2d, 0x28, 0x57, 0x17, 0xdf, 0x1d, 0x1f, 0xd9, 0x99, 0x88, 0x7a, 0x3e, 0x0a, 0xad, 0x48, 0xf1, - 0xfb, 0xe1, 0x54, 0x0f, 0x31, 0xb6, 0x33, 0x81, 0x71, 0xaf, 0xc0, 0x38, 0xb4, 0x30, 0x56, 0x9a, - 0xed, 0x89, 0x2a, 0x76, 0xf3, 0x13, 0x00, 0x00, 0xff, 0xff, 0x33, 0x73, 0x88, 0x9b, 0xd5, 0x01, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/hotel_rate_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/hotel_rate_type.pb.go deleted file mode 100644 index fb2e68e7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/hotel_rate_type.pb.go +++ /dev/null @@ -1,139 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/hotel_rate_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible hotel rate types. -type HotelRateTypeEnum_HotelRateType int32 - -const ( - // Not specified. - HotelRateTypeEnum_UNSPECIFIED HotelRateTypeEnum_HotelRateType = 0 - // The value is unknown in this version. - HotelRateTypeEnum_UNKNOWN HotelRateTypeEnum_HotelRateType = 1 - // Rate type information is unavailable. - HotelRateTypeEnum_UNAVAILABLE HotelRateTypeEnum_HotelRateType = 2 - // Rates available to everyone. - HotelRateTypeEnum_PUBLIC_RATE HotelRateTypeEnum_HotelRateType = 3 - // A membership program rate is available and satisfies basic requirements - // like having a public rate available. UI treatment will strikethrough the - // public rate and indicate that a discount is available to the user. For - // more on Qualified Rates, visit - // https://developers.google.com/hotels/hotel-ads/dev-guide/qualified-rates - HotelRateTypeEnum_QUALIFIED_RATE HotelRateTypeEnum_HotelRateType = 4 - // Rates available to users that satisfy some eligibility criteria. e.g. - // all signed-in users, 20% of mobile users, all mobile users in Canada, - // etc. - HotelRateTypeEnum_PRIVATE_RATE HotelRateTypeEnum_HotelRateType = 5 -) - -var HotelRateTypeEnum_HotelRateType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "UNAVAILABLE", - 3: "PUBLIC_RATE", - 4: "QUALIFIED_RATE", - 5: "PRIVATE_RATE", -} - -var HotelRateTypeEnum_HotelRateType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "UNAVAILABLE": 2, - "PUBLIC_RATE": 3, - "QUALIFIED_RATE": 4, - "PRIVATE_RATE": 5, -} - -func (x HotelRateTypeEnum_HotelRateType) String() string { - return proto.EnumName(HotelRateTypeEnum_HotelRateType_name, int32(x)) -} - -func (HotelRateTypeEnum_HotelRateType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e7529111ae667d0d, []int{0, 0} -} - -// Container for enum describing possible hotel rate types. -type HotelRateTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *HotelRateTypeEnum) Reset() { *m = HotelRateTypeEnum{} } -func (m *HotelRateTypeEnum) String() string { return proto.CompactTextString(m) } -func (*HotelRateTypeEnum) ProtoMessage() {} -func (*HotelRateTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_e7529111ae667d0d, []int{0} -} - -func (m *HotelRateTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HotelRateTypeEnum.Unmarshal(m, b) -} -func (m *HotelRateTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HotelRateTypeEnum.Marshal(b, m, deterministic) -} -func (m *HotelRateTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_HotelRateTypeEnum.Merge(m, src) -} -func (m *HotelRateTypeEnum) XXX_Size() int { - return xxx_messageInfo_HotelRateTypeEnum.Size(m) -} -func (m *HotelRateTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_HotelRateTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_HotelRateTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.HotelRateTypeEnum_HotelRateType", HotelRateTypeEnum_HotelRateType_name, HotelRateTypeEnum_HotelRateType_value) - proto.RegisterType((*HotelRateTypeEnum)(nil), "google.ads.googleads.v2.enums.HotelRateTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/hotel_rate_type.proto", fileDescriptor_e7529111ae667d0d) -} - -var fileDescriptor_e7529111ae667d0d = []byte{ - // 332 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdf, 0x4a, 0xf3, 0x30, - 0x1c, 0xfd, 0xda, 0x7d, 0x2a, 0x64, 0xfe, 0xa9, 0xb9, 0x14, 0x77, 0xb1, 0x3d, 0x40, 0x0a, 0xdd, - 0x5d, 0xbc, 0x4a, 0x67, 0x9d, 0xc5, 0x52, 0xeb, 0x5c, 0x2b, 0x48, 0x61, 0x44, 0x1b, 0xea, 0x60, - 0x4b, 0xca, 0x92, 0x0d, 0xf6, 0x0a, 0x3e, 0x86, 0x97, 0x3e, 0x8a, 0x2f, 0x22, 0xf8, 0x14, 0x92, - 0xc4, 0x0d, 0x76, 0xa1, 0x37, 0xe1, 0x70, 0xce, 0xef, 0x1c, 0x72, 0x0e, 0xe8, 0xd7, 0x42, 0xd4, - 0x33, 0xe6, 0xd3, 0x4a, 0xfa, 0x16, 0x6a, 0xb4, 0x0a, 0x7c, 0xc6, 0x97, 0x73, 0xe9, 0xbf, 0x08, - 0xc5, 0x66, 0x93, 0x05, 0x55, 0x6c, 0xa2, 0xd6, 0x0d, 0x43, 0xcd, 0x42, 0x28, 0x01, 0x3b, 0xf6, - 0x12, 0xd1, 0x4a, 0xa2, 0xad, 0x09, 0xad, 0x02, 0x64, 0x4c, 0x67, 0xe7, 0x9b, 0xcc, 0x66, 0xea, - 0x53, 0xce, 0x85, 0xa2, 0x6a, 0x2a, 0xb8, 0xb4, 0xe6, 0xde, 0xab, 0x03, 0x4e, 0xaf, 0x75, 0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 0x3a, 0x36, 0xf1, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/income_range_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/income_range_type.pb.go deleted file mode 100644 index 05049980..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/income_range_type.pb.go +++ /dev/null @@ -1,149 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/income_range_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_170475cd2f3d5831, []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_170475cd2f3d5831, []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 (m *IncomeRangeTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_IncomeRangeTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.IncomeRangeTypeEnum_IncomeRangeType", IncomeRangeTypeEnum_IncomeRangeType_name, IncomeRangeTypeEnum_IncomeRangeType_value) - proto.RegisterType((*IncomeRangeTypeEnum)(nil), "google.ads.googleads.v2.enums.IncomeRangeTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/income_range_type.proto", fileDescriptor_170475cd2f3d5831) -} - -var fileDescriptor_170475cd2f3d5831 = []byte{ - // 385 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x5d, 0xca, 0xd3, 0x40, - 0x18, 0x85, 0x4d, 0x04, 0x85, 0xf9, 0x2e, 0xbe, 0x31, 0x0a, 0xfe, 0xe0, 0x47, 0x68, 0x17, 0x30, - 0x19, 0x22, 0xfd, 0x1b, 0xaf, 0xd2, 0x76, 0x2c, 0x41, 0x3a, 0x0d, 0xb5, 0xa9, 0x20, 0x81, 0x21, - 0x36, 0x21, 0x04, 0x9a, 0x99, 0xd0, 0x49, 0x0b, 0xbd, 0x76, 0x03, 0x5d, 0x83, 0x97, 0x5e, 0xf9, - 0xbf, 0x08, 0x77, 0x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b, 0xf0, 0xfb, 0xc1, 0x34, 0x4c, 0xf0, - 0xf8, 0x8c, 0xf8, 0x6c, 0x4c, 0x17, 0x74, 0x3e, 0x75, 0x19, 0x1d, 0xc3, 0x8f, 0x07, 0x73, 0xf8, - 0x53, 0x03, 0xad, 0x95, 0xcc, 0xd0, 0x7f, 0x9b, 0x1c, 0x3e, 0xb8, 0x28, 0xc4, 0x2b, 0x1b, 0xf4, - 0xb4, 0x37, 0xc3, 0xbf, 0xb6, 0x44, 0xae, 0x43, 0x91, 0x20, 0xb9, 0x49, 0xac, 0x24, 0x16, 0x55, - 0xbf, 0xc7, 0x3b, 0xe6, 0xa9, 0xfa, 0xc7, 0x59, 0x9f, 0x57, 0xef, 0x7b, 0xfd, 0xf6, 0xc4, 0x71, - 0x3e, 0xe8, 0x37, 0x93, 0x3a, 0xca, 0x89, 0x14, 0xaa, 0x65, 0xa9, 0x96, 0x36, 0x2a, 0x8f, 0xa2, - 0x7e, 0x1c, 0x79, 0xe0, 0x44, 0x2a, 0x38, 0xf1, 0x60, 0x69, 0x07, 0x15, 0xff, 0xa5, 0xb7, 0xea, - 0x21, 0x21, 0x4e, 0xa4, 0x08, 0x39, 0x6d, 0x10, 0xb2, 0xb4, 0x09, 0xa9, 0x76, 0xde, 0xde, 0xa9, - 0x3e, 0xf6, 0xec, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xce, 0x2e, 0x7c, 0xf4, 0x6e, 0x02, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/interaction_event_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/interaction_event_type.pb.go deleted file mode 100644 index 547d81ec..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/interaction_event_type.pb.go +++ /dev/null @@ -1,139 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/interaction_event_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible types of payable and free interactions. -type InteractionEventTypeEnum_InteractionEventType int32 - -const ( - // Not specified. - InteractionEventTypeEnum_UNSPECIFIED InteractionEventTypeEnum_InteractionEventType = 0 - // Used for return value only. Represents value unknown in this version. - InteractionEventTypeEnum_UNKNOWN InteractionEventTypeEnum_InteractionEventType = 1 - // Click to site. In most cases, this interaction navigates to an external - // location, usually the advertiser's landing page. This is also the default - // InteractionEventType for click events. - InteractionEventTypeEnum_CLICK InteractionEventTypeEnum_InteractionEventType = 2 - // The user's expressed intent to engage with the ad in-place. - InteractionEventTypeEnum_ENGAGEMENT InteractionEventTypeEnum_InteractionEventType = 3 - // User viewed a video ad. - InteractionEventTypeEnum_VIDEO_VIEW InteractionEventTypeEnum_InteractionEventType = 4 - // The default InteractionEventType for ad conversion events. - // This is used when an ad conversion row does NOT indicate - // that the free interactions (i.e., the ad conversions) - // should be 'promoted' and reported as part of the core metrics. - // These are simply other (ad) conversions. - InteractionEventTypeEnum_NONE InteractionEventTypeEnum_InteractionEventType = 5 -) - -var InteractionEventTypeEnum_InteractionEventType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "CLICK", - 3: "ENGAGEMENT", - 4: "VIDEO_VIEW", - 5: "NONE", -} - -var InteractionEventTypeEnum_InteractionEventType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "CLICK": 2, - "ENGAGEMENT": 3, - "VIDEO_VIEW": 4, - "NONE": 5, -} - -func (x InteractionEventTypeEnum_InteractionEventType) String() string { - return proto.EnumName(InteractionEventTypeEnum_InteractionEventType_name, int32(x)) -} - -func (InteractionEventTypeEnum_InteractionEventType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_68735a9e92f87cdf, []int{0, 0} -} - -// Container for enum describing types of payable and free interactions. -type InteractionEventTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *InteractionEventTypeEnum) Reset() { *m = InteractionEventTypeEnum{} } -func (m *InteractionEventTypeEnum) String() string { return proto.CompactTextString(m) } -func (*InteractionEventTypeEnum) ProtoMessage() {} -func (*InteractionEventTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_68735a9e92f87cdf, []int{0} -} - -func (m *InteractionEventTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InteractionEventTypeEnum.Unmarshal(m, b) -} -func (m *InteractionEventTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InteractionEventTypeEnum.Marshal(b, m, deterministic) -} -func (m *InteractionEventTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_InteractionEventTypeEnum.Merge(m, src) -} -func (m *InteractionEventTypeEnum) XXX_Size() int { - return xxx_messageInfo_InteractionEventTypeEnum.Size(m) -} -func (m *InteractionEventTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_InteractionEventTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_InteractionEventTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.InteractionEventTypeEnum_InteractionEventType", InteractionEventTypeEnum_InteractionEventType_name, InteractionEventTypeEnum_InteractionEventType_value) - proto.RegisterType((*InteractionEventTypeEnum)(nil), "google.ads.googleads.v2.enums.InteractionEventTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/interaction_event_type.proto", fileDescriptor_68735a9e92f87cdf) -} - -var fileDescriptor_68735a9e92f87cdf = []byte{ - // 335 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xd1, 0x4e, 0xf2, 0x30, - 0x18, 0xfd, 0x37, 0xe0, 0x57, 0x4b, 0xa2, 0xcb, 0xe2, 0x85, 0x1a, 0xb9, 0x80, 0x07, 0xe8, 0x92, - 0x79, 0x57, 0xaf, 0x06, 0xd4, 0x65, 0x41, 0x0b, 0x89, 0x30, 0x12, 0xb3, 0x84, 0x4c, 0xd6, 0x34, - 0x4b, 0xa0, 0x5d, 0x68, 0x21, 0xe1, 0x01, 0x7c, 0x11, 0x2f, 0x7d, 0x14, 0x1f, 0xc5, 0x0b, 0x9f, - 0xc1, 0xb4, 0x15, 0xbc, 0x41, 0x6f, 0x9a, 0xd3, 0xef, 0x7c, 0xe7, 0xe4, 0x3b, 0x07, 0x20, 0x26, - 0x04, 0x5b, 0xd0, 0x20, 0x2f, 0x64, 0x60, 0xa1, 0x46, 0x9b, 0x30, 0xa0, 0x7c, 0xbd, 0x94, 0x41, - 0xc9, 0x15, 0x5d, 0xe5, 0x73, 0x55, 0x0a, 0x3e, 0xa3, 0x1b, 0xca, 0xd5, 0x4c, 0x6d, 0x2b, 0x0a, - 0xab, 0x95, 0x50, 0xc2, 0x6f, 0x59, 0x01, 0xcc, 0x0b, 0x09, 0xf7, 0x5a, 0xb8, 0x09, 0xa1, 0xd1, - 0x5e, 0x5d, 0xef, 0xac, 0xab, 0x32, 0xc8, 0x39, 0x17, 0x2a, 0xd7, 0x36, 0xd2, 0x8a, 0x3b, 0x2f, - 0x0e, 0xb8, 0x48, 0x7e, 0xdc, 0xb1, 0x36, 0x1f, 0x6f, 0x2b, 0x8a, 0xf9, 0x7a, 0xd9, 0x29, 0xc1, - 0xf9, 0x21, 0xce, 0x3f, 0x03, 0xcd, 0x09, 0x79, 0x1c, 0xe1, 0x5e, 0x72, 0x97, 0xe0, 0xbe, 0xf7, - 0xcf, 0x6f, 0x82, 0xa3, 0x09, 0x19, 0x90, 0xe1, 0x94, 0x78, 0x8e, 0x7f, 0x02, 0x1a, 0xbd, 0xfb, - 0xa4, 0x37, 0xf0, 0x5c, 0xff, 0x14, 0x00, 0x4c, 0xe2, 0x28, 0xc6, 0x0f, 0x98, 0x8c, 0xbd, 0x9a, - 0xfe, 0xa7, 0x49, 0x1f, 0x0f, 0x67, 0x69, 0x82, 0xa7, 0x5e, 0xdd, 0x3f, 0x06, 0x75, 0x32, 0x24, - 0xd8, 0x6b, 0x74, 0x3f, 0x1d, 0xd0, 0x9e, 0x8b, 0x25, 0xfc, 0x33, 0x4b, 0xf7, 0xf2, 0xd0, 0x39, - 0x23, 0x1d, 0x64, 0xe4, 0x3c, 0x75, 0xbf, 0xb5, 0x4c, 0x2c, 0x72, 0xce, 0xa0, 0x58, 0xb1, 0x80, - 0x51, 0x6e, 0x62, 0xee, 0x3a, 0xad, 0x4a, 0xf9, 0x4b, 0xc5, 0xb7, 0xe6, 0x7d, 0x75, 0x6b, 0x71, - 0x14, 0xbd, 0xb9, 0xad, 0xd8, 0x5a, 0x45, 0x85, 0x84, 0x16, 0x6a, 0x94, 0x86, 0x50, 0xd7, 0x22, - 0xdf, 0x77, 0x7c, 0x16, 0x15, 0x32, 0xdb, 0xf3, 0x59, 0x1a, 0x66, 0x86, 0xff, 0x70, 0xdb, 0x76, - 0x88, 0x50, 0x54, 0x48, 0x84, 0xf6, 0x1b, 0x08, 0xa5, 0x21, 0x42, 0x66, 0xe7, 0xf9, 0xbf, 0x39, - 0xec, 0xe6, 0x2b, 0x00, 0x00, 0xff, 0xff, 0xf2, 0xc0, 0x2c, 0x70, 0xfa, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/interaction_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/interaction_type.pb.go deleted file mode 100644 index dda740c2..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/interaction_type.pb.go +++ /dev/null @@ -1,119 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/interaction_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_01158f56321f0e95, []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_01158f56321f0e95, []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 (m *InteractionTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_InteractionTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.InteractionTypeEnum_InteractionType", InteractionTypeEnum_InteractionType_name, InteractionTypeEnum_InteractionType_value) - proto.RegisterType((*InteractionTypeEnum)(nil), "google.ads.googleads.v2.enums.InteractionTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/interaction_type.proto", fileDescriptor_01158f56321f0e95) -} - -var fileDescriptor_01158f56321f0e95 = []byte{ - // 291 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, 0x23, 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, 0x23, 0x3d, 0xb0, 0x2e, 0x29, 0x19, 0x98, 0xa1, 0x05, - 0x99, 0xfa, 0x89, 0x79, 0x79, 0xf9, 0x25, 0x89, 0x20, 0x03, 0x8a, 0x21, 0x9a, 0x95, 0x82, 0xb8, - 0x84, 0x3d, 0x11, 0xc6, 0x86, 0x54, 0x16, 0xa4, 0xba, 0xe6, 0x95, 0xe6, 0x2a, 0x59, 0x73, 0xf1, - 0xa3, 0x09, 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, 0x71, 0x71, 0xb1, 0x3a, 0x3b, 0xfa, 0xf8, 0x04, 0x0b, 0x1c, 0xb0, 0x73, 0x7a, 0xc9, 0xc8, - 0xa5, 0x98, 0x9c, 0x9f, 0xab, 0x87, 0xd7, 0x5d, 0x4e, 0x22, 0x68, 0x16, 0x04, 0x80, 0xdc, 0x13, - 0xc0, 0x18, 0xe5, 0x04, 0xd5, 0x96, 0x9e, 0x9f, 0x93, 0x98, 0x97, 0xae, 0x97, 0x5f, 0x94, 0xae, - 0x9f, 0x9e, 0x9a, 0x07, 0x76, 0x2d, 0x2c, 0x50, 0x0a, 0x32, 0x8b, 0x71, 0x84, 0x91, 0x35, 0x98, - 0x5c, 0xc4, 0xc4, 0xec, 0xee, 0xe8, 0xb8, 0x8a, 0x49, 0xd6, 0x1d, 0x62, 0x94, 0x63, 0x4a, 0xb1, - 0x1e, 0x84, 0x09, 0x62, 0x85, 0x19, 0xe9, 0x81, 0xfc, 0x58, 0x7c, 0x0a, 0x26, 0x1f, 0xe3, 0x98, - 0x52, 0x1c, 0x03, 0x97, 0x8f, 0x09, 0x33, 0x8a, 0x01, 0xcb, 0xbf, 0x62, 0x52, 0x84, 0x08, 0x5a, - 0x59, 0x39, 0xa6, 0x14, 0x5b, 0x59, 0xc1, 0x55, 0x58, 0x59, 0x85, 0x19, 0x59, 0x59, 0x81, 0xd5, - 0x24, 0xb1, 0x81, 0x1d, 0x66, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x38, 0x83, 0x9e, 0xf8, 0xbb, - 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/invoice_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/invoice_type.pb.go deleted file mode 100644 index a6cf9d91..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/invoice_type.pb.go +++ /dev/null @@ -1,123 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/invoice_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The possible type of invoices. -type InvoiceTypeEnum_InvoiceType int32 - -const ( - // Not specified. - InvoiceTypeEnum_UNSPECIFIED InvoiceTypeEnum_InvoiceType = 0 - // Used for return value only. Represents value unknown in this version. - InvoiceTypeEnum_UNKNOWN InvoiceTypeEnum_InvoiceType = 1 - // An invoice with a negative amount. The account receives a credit. - InvoiceTypeEnum_CREDIT_MEMO InvoiceTypeEnum_InvoiceType = 2 - // An invoice with a positive amount. The account owes a balance. - InvoiceTypeEnum_INVOICE InvoiceTypeEnum_InvoiceType = 3 -) - -var InvoiceTypeEnum_InvoiceType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "CREDIT_MEMO", - 3: "INVOICE", -} - -var InvoiceTypeEnum_InvoiceType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "CREDIT_MEMO": 2, - "INVOICE": 3, -} - -func (x InvoiceTypeEnum_InvoiceType) String() string { - return proto.EnumName(InvoiceTypeEnum_InvoiceType_name, int32(x)) -} - -func (InvoiceTypeEnum_InvoiceType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_9b9c6249f36ed5a4, []int{0, 0} -} - -// Container for enum describing the type of invoices. -type InvoiceTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *InvoiceTypeEnum) Reset() { *m = InvoiceTypeEnum{} } -func (m *InvoiceTypeEnum) String() string { return proto.CompactTextString(m) } -func (*InvoiceTypeEnum) ProtoMessage() {} -func (*InvoiceTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_9b9c6249f36ed5a4, []int{0} -} - -func (m *InvoiceTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InvoiceTypeEnum.Unmarshal(m, b) -} -func (m *InvoiceTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InvoiceTypeEnum.Marshal(b, m, deterministic) -} -func (m *InvoiceTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_InvoiceTypeEnum.Merge(m, src) -} -func (m *InvoiceTypeEnum) XXX_Size() int { - return xxx_messageInfo_InvoiceTypeEnum.Size(m) -} -func (m *InvoiceTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_InvoiceTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_InvoiceTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.InvoiceTypeEnum_InvoiceType", InvoiceTypeEnum_InvoiceType_name, InvoiceTypeEnum_InvoiceType_value) - proto.RegisterType((*InvoiceTypeEnum)(nil), "google.ads.googleads.v2.enums.InvoiceTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/invoice_type.proto", fileDescriptor_9b9c6249f36ed5a4) -} - -var fileDescriptor_9b9c6249f36ed5a4 = []byte{ - // 299 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x4a, 0xc3, 0x30, - 0x18, 0x77, 0x1d, 0x28, 0x64, 0x87, 0x95, 0x1d, 0xc5, 0x1d, 0xb6, 0x07, 0x48, 0xa4, 0xde, 0xe2, - 0xa9, 0xed, 0xe2, 0x08, 0xb2, 0xb6, 0xe8, 0x56, 0x41, 0x0a, 0xa3, 0xae, 0x21, 0x14, 0xd6, 0xa4, - 0x2c, 0x5d, 0x61, 0xaf, 0xe3, 0xd1, 0x47, 0xf1, 0x3d, 0xbc, 0xf8, 0x14, 0x92, 0xc4, 0x96, 0x5d, - 0xf4, 0x12, 0x7e, 0x7c, 0xbf, 0x3f, 0xf9, 0x7d, 0x1f, 0xb8, 0xe5, 0x52, 0xf2, 0x3d, 0x43, 0x79, - 0xa1, 0x90, 0x85, 0x1a, 0xb5, 0x1e, 0x62, 0xe2, 0x58, 0x29, 0x54, 0x8a, 0x56, 0x96, 0x3b, 0xb6, - 0x6d, 0x4e, 0x35, 0x83, 0xf5, 0x41, 0x36, 0x72, 0x32, 0xb5, 0x32, 0x98, 0x17, 0x0a, 0xf6, 0x0e, - 0xd8, 0x7a, 0xd0, 0x38, 0xae, 0x6f, 0xba, 0xc0, 0xba, 0x44, 0xb9, 0x10, 0xb2, 0xc9, 0x9b, 0x52, - 0x0a, 0x65, 0xcd, 0xf3, 0x0c, 0x8c, 0xa9, 0x8d, 0x5c, 0x9f, 0x6a, 0x46, 0xc4, 0xb1, 0x9a, 0x53, - 0x30, 0x3a, 0x1b, 0x4d, 0xc6, 0x60, 0xb4, 0x89, 0x9e, 0x13, 0x12, 0xd2, 0x07, 0x4a, 0x16, 0xee, - 0xc5, 0x64, 0x04, 0xae, 0x36, 0xd1, 0x63, 0x14, 0xbf, 0x44, 0xee, 0x40, 0xb3, 0xe1, 0x13, 0x59, - 0xd0, 0xf5, 0x76, 0x45, 0x56, 0xb1, 0xeb, 0x68, 0x96, 0x46, 0x69, 0x4c, 0x43, 0xe2, 0x0e, 0x83, - 0xaf, 0x01, 0x98, 0xed, 0x64, 0x05, 0xff, 0x6d, 0x18, 0xb8, 0x67, 0xdf, 0x25, 0xba, 0x55, 0x32, - 0x78, 0x0d, 0x7e, 0x2d, 0x5c, 0xee, 0x73, 0xc1, 0xa1, 0x3c, 0x70, 0xc4, 0x99, 0x30, 0x9d, 0xbb, - 0xb3, 0xd4, 0xa5, 0xfa, 0xe3, 0x4a, 0xf7, 0xe6, 0x7d, 0x77, 0x86, 0x4b, 0xdf, 0xff, 0x70, 0xa6, - 0x4b, 0x1b, 0xe5, 0x17, 0x0a, 0x5a, 0xa8, 0x51, 0xea, 0x41, 0xbd, 0xad, 0xfa, 0xec, 0xf8, 0xcc, - 0x2f, 0x54, 0xd6, 0xf3, 0x59, 0xea, 0x65, 0x86, 0xff, 0x76, 0x66, 0x76, 0x88, 0xb1, 0x5f, 0x28, - 0x8c, 0x7b, 0x05, 0xc6, 0xa9, 0x87, 0xb1, 0xd1, 0xbc, 0x5d, 0x9a, 0x62, 0x77, 0x3f, 0x01, 0x00, - 0x00, 0xff, 0xff, 0xd9, 0x24, 0x76, 0xb3, 0xbd, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/job_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/job_placeholder_field.pb.go deleted file mode 100644 index ae7247ea..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/job_placeholder_field.pb.go +++ /dev/null @@ -1,215 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/job_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_3a9796545c4126ca, []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_3a9796545c4126ca, []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 (m *JobPlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobPlaceholderFieldEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.JobPlaceholderFieldEnum_JobPlaceholderField", JobPlaceholderFieldEnum_JobPlaceholderField_name, JobPlaceholderFieldEnum_JobPlaceholderField_value) - proto.RegisterType((*JobPlaceholderFieldEnum)(nil), "google.ads.googleads.v2.enums.JobPlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/job_placeholder_field.proto", fileDescriptor_3a9796545c4126ca) -} - -var fileDescriptor_3a9796545c4126ca = []byte{ - // 494 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xd1, 0x6e, 0xd3, 0x30, - 0x14, 0x86, 0x69, 0xc6, 0xba, 0xd5, 0x2d, 0xab, 0xe7, 0x82, 0x26, 0x10, 0xbb, 0xd8, 0x1e, 0x20, - 0x91, 0xca, 0x15, 0xe1, 0xca, 0x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 0x94, 0x69, 0x55, 0x98, 0x62, 0x5b, 0x58, 0x45, 0x5e, 0xd5, 0x23, 0xdd, 0xaf, 0xcf, - 0x66, 0x25, 0xff, 0xb3, 0x4d, 0xef, 0xea, 0xef, 0x17, 0xe3, 0x68, 0x88, 0xf1, 0x57, 0xe3, 0x72, - 0xa8, 0xad, 0x70, 0x26, 0x4d, 0x1d, 0xaa, 0x68, 0xd6, 0x37, 0xd5, 0x0e, 0xc8, 0x6f, 0xfb, 0xfa, - 0x02, 0x67, 0x72, 0x71, 0xa8, 0x2f, 0x66, 0xfd, 0x45, 0x5d, 0xff, 0x61, 0x5c, 0xe9, 0xa4, 0x6d, - 0xe3, 0x4c, 0xda, 0xf6, 0x81, 0xb0, 0xed, 0x59, 0xdf, 0xb6, 0x6b, 0x66, 0xd9, 0xac, 0x1b, 0x7b, - 0xf3, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x2b, 0xa5, 0xdb, 0x79, 0xe5, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/keyword_match_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/keyword_match_type.pb.go deleted file mode 100644 index 00064c43..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/keyword_match_type.pb.go +++ /dev/null @@ -1,128 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/keyword_match_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_a1220eb4afcbfc67, []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_a1220eb4afcbfc67, []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 (m *KeywordMatchTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordMatchTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.KeywordMatchTypeEnum_KeywordMatchType", KeywordMatchTypeEnum_KeywordMatchType_name, KeywordMatchTypeEnum_KeywordMatchType_value) - proto.RegisterType((*KeywordMatchTypeEnum)(nil), "google.ads.googleads.v2.enums.KeywordMatchTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/keyword_match_type.proto", fileDescriptor_a1220eb4afcbfc67) -} - -var fileDescriptor_a1220eb4afcbfc67 = []byte{ - // 317 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdd, 0x4e, 0xf2, 0x30, - 0x18, 0xfe, 0x18, 0x9f, 0x18, 0xcb, 0x81, 0xcb, 0xa2, 0x27, 0x46, 0x0e, 0xe0, 0x02, 0xba, 0x64, - 0x26, 0x1e, 0xd4, 0xa3, 0x0e, 0x26, 0x12, 0xe2, 0x58, 0xf8, 0xd3, 0x98, 0x25, 0xa4, 0xd2, 0xa6, - 0xa2, 0xac, 0x5d, 0xe8, 0xc0, 0x70, 0x3b, 0x1e, 0x7a, 0x29, 0x5e, 0x0a, 0x57, 0x61, 0xda, 0xca, - 0x0e, 0x48, 0xf4, 0xa4, 0x79, 0xf2, 0x3e, 0x3f, 0x7d, 0xde, 0x17, 0x5c, 0x73, 0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0xd1, 0xb5, 0x51, 0x98, 0x2a, 0x68, 0xa1, 0x46, 0xd3, 0x00, 0xea, 0xdd, 0xd5, 0xd7, - 0x9e, 0x4f, 0x31, 0x55, 0x69, 0xc9, 0xa7, 0xd3, 0x20, 0x35, 0xfc, 0xce, 0x69, 0xda, 0x21, 0x42, - 0x98, 0x2a, 0x84, 0x4a, 0x05, 0x42, 0xd3, 0x00, 0x21, 0xa3, 0x79, 0xae, 0x99, 0x62, 0x57, 0xdf, - 0x01, 0x00, 0x00, 0xff, 0xff, 0x48, 0x5e, 0xc0, 0xf7, 0xd6, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/keyword_plan_competition_level.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/keyword_plan_competition_level.pb.go deleted file mode 100644 index 68e2cdd3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/keyword_plan_competition_level.pb.go +++ /dev/null @@ -1,133 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/keyword_plan_competition_level.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_f8956639f11a5faa, []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_f8956639f11a5faa, []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 (m *KeywordPlanCompetitionLevelEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanCompetitionLevelEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.KeywordPlanCompetitionLevelEnum_KeywordPlanCompetitionLevel", KeywordPlanCompetitionLevelEnum_KeywordPlanCompetitionLevel_name, KeywordPlanCompetitionLevelEnum_KeywordPlanCompetitionLevel_value) - proto.RegisterType((*KeywordPlanCompetitionLevelEnum)(nil), "google.ads.googleads.v2.enums.KeywordPlanCompetitionLevelEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/keyword_plan_competition_level.proto", fileDescriptor_f8956639f11a5faa) -} - -var fileDescriptor_f8956639f11a5faa = []byte{ - // 325 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x41, 0x4f, 0xc2, 0x30, - 0x18, 0x95, 0x41, 0xc0, 0x94, 0x83, 0xcb, 0x8e, 0x2a, 0x51, 0xf8, 0x01, 0x5d, 0x32, 0x6f, 0xf5, - 0x34, 0x60, 0xc2, 0x02, 0x8c, 0x25, 0x06, 0x48, 0xc8, 0x12, 0x52, 0x59, 0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4, 0x6f, 0x2b, 0xf2, 0x63, 0x55, 0x23, 0xae, 0xad, 0x7f, 0x97, 0x84, 0x54, 0x30, 0xcc, - 0x29, 0x14, 0x3b, 0xea, 0x52, 0xc2, 0x75, 0xc9, 0xe3, 0xb2, 0x45, 0x26, 0xff, 0x19, 0xfa, 0x5e, - 0x7f, 0xdf, 0xad, 0xfa, 0xc8, 0xf7, 0x3f, 0xac, 0xce, 0xc8, 0x58, 0xf9, 0xa9, 0x84, 0x06, 0x2a, - 0xb4, 0xf4, 0xa0, 0x9a, 0x43, 0x7e, 0x1e, 0xf9, 0xc4, 0x4f, 0x65, 0x72, 0xe2, 0x93, 0xa5, 0x97, - 0x68, 0xfe, 0xcb, 0xea, 0x9a, 0x9f, 0x08, 0xf9, 0xa9, 0x44, 0xe8, 0xa4, 0x40, 0x68, 0xe9, 0x21, - 0xa4, 0x35, 0x4f, 0x4d, 0xfd, 0xb0, 0xbb, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd7, 0xff, 0x18, - 0xd8, 0x00, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/keyword_plan_forecast_interval.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/keyword_plan_forecast_interval.pb.go deleted file mode 100644 index 596844a2..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/keyword_plan_forecast_interval.pb.go +++ /dev/null @@ -1,133 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/keyword_plan_forecast_interval.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_0edc75f1de38c675, []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_0edc75f1de38c675, []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 (m *KeywordPlanForecastIntervalEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanForecastIntervalEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.KeywordPlanForecastIntervalEnum_KeywordPlanForecastInterval", KeywordPlanForecastIntervalEnum_KeywordPlanForecastInterval_name, KeywordPlanForecastIntervalEnum_KeywordPlanForecastInterval_value) - proto.RegisterType((*KeywordPlanForecastIntervalEnum)(nil), "google.ads.googleads.v2.enums.KeywordPlanForecastIntervalEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/keyword_plan_forecast_interval.proto", fileDescriptor_0edc75f1de38c675) -} - -var fileDescriptor_0edc75f1de38c675 = []byte{ - // 339 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x4b, 0x4e, 0xc3, 0x30, - 0x10, 0x25, 0x2d, 0x1f, 0xe1, 0xf2, 0x89, 0xb2, 0x04, 0x2a, 0x68, 0x0f, 0xe0, 0x48, 0x61, 0x67, - 0x56, 0x29, 0xb8, 0xa5, 0xaa, 0x48, 0x43, 0xe9, 0x07, 0xa1, 0x48, 0x91, 0x69, 0x8c, 0x15, 0xe1, - 0xda, 0x51, 0x9c, 0x16, 0x71, 0x0a, 0xee, 0xc0, 0x92, 0xa3, 0x70, 0x14, 0xf6, 0xec, 0x51, 0xec, - 0xb6, 0x3b, 0xba, 0xb1, 0xde, 0x78, 0x66, 0xde, 0x9b, 0xf7, 0x40, 0x8b, 0x49, 0xc9, 0x38, 0x75, - 0x49, 0xa2, 0x5c, 0x03, 0x4b, 0xb4, 0xf0, 0x5c, 0x2a, 0xe6, 0x33, 0xe5, 0xbe, 0xd2, 0xf7, 0x37, - 0x99, 0x27, 0x71, 0xc6, 0x89, 0x88, 0x5f, 0x64, 0x4e, 0xa7, 0x44, 0x15, 0x71, 0x2a, 0x0a, 0x9a, - 0x2f, 0x08, 0x87, 0x59, 0x2e, 0x0b, 0xe9, 0xd4, 0xcd, 0x22, 0x24, 0x89, 0x82, 0x6b, 0x0e, 0xb8, - 0xf0, 0xa0, 0xe6, 0x38, 0x39, 0x5b, 0x49, 0x64, 0xa9, 0x4b, 0x84, 0x90, 0x05, 0x29, 0x52, 0x29, - 0x94, 0x59, 0x6e, 0x7e, 0x58, 0xe0, 0xbc, 0x67, 0x54, 0x42, 0x4e, 0x44, 0x7b, 0xa9, 0xd1, 0x5d, - 0x4a, 0x60, 0x31, 0x9f, 0x35, 0x39, 0x38, 0xdd, 0x30, 0xe2, 0x1c, 0x83, 0xda, 0x28, 0x78, 0x08, - 0xf1, 0x75, 0xb7, 0xdd, 0xc5, 0x37, 0xf6, 0x96, 0x53, 0x03, 0x7b, 0xa3, 0xa0, 0x17, 0xf4, 0x27, - 0x81, 0x6d, 0x39, 0x87, 0x60, 0x3f, 0xc0, 0x8f, 0xc3, 0x78, 0x82, 0x71, 0xcf, 0xae, 0x3a, 0x47, - 0x00, 0xe8, 0xf2, 0xae, 0x1f, 0x0c, 0x6f, 0xed, 0x6d, 0xc7, 0x06, 0x07, 0xba, 0xbe, 0x1f, 0xf9, - 0x83, 0x21, 0x1e, 0xd8, 0x3b, 0xad, 0x5f, 0x0b, 0x34, 0xa6, 0x72, 0x06, 0x37, 0xba, 0x6a, 0x5d, - 0x6c, 0xb8, 0x28, 0x2c, 0x9d, 0x85, 0xd6, 0xd3, 0x32, 0x5c, 0xc8, 0x24, 0x27, 0x82, 0x41, 0x99, - 0x33, 0x97, 0x51, 0xa1, 0x7d, 0xaf, 0xc2, 0xce, 0x52, 0xf5, 0x4f, 0xf6, 0x57, 0xfa, 0xfd, 0xac, - 0x54, 0x3b, 0xbe, 0xff, 0x55, 0xa9, 0x77, 0x0c, 0x95, 0x9f, 0x28, 0x68, 0x60, 0x89, 0xc6, 0x1e, - 0x2c, 0x03, 0x52, 0xdf, 0xab, 0x7e, 0xe4, 0x27, 0x2a, 0x5a, 0xf7, 0xa3, 0xb1, 0x17, 0xe9, 0xfe, - 0x4f, 0xa5, 0x61, 0x3e, 0x11, 0xf2, 0x13, 0x85, 0xd0, 0x7a, 0x02, 0xa1, 0xb1, 0x87, 0x90, 0x9e, - 0x79, 0xde, 0xd5, 0x87, 0x5d, 0xfe, 0x05, 0x00, 0x00, 0xff, 0xff, 0xe3, 0x9a, 0x2b, 0x78, 0x13, - 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/keyword_plan_network.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/keyword_plan_network.pb.go deleted file mode 100644 index 82c82a92..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/keyword_plan_network.pb.go +++ /dev/null @@ -1,125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/keyword_plan_network.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_2481e5f0090e92fb, []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_2481e5f0090e92fb, []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 (m *KeywordPlanNetworkEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanNetworkEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.KeywordPlanNetworkEnum_KeywordPlanNetwork", KeywordPlanNetworkEnum_KeywordPlanNetwork_name, KeywordPlanNetworkEnum_KeywordPlanNetwork_value) - proto.RegisterType((*KeywordPlanNetworkEnum)(nil), "google.ads.googleads.v2.enums.KeywordPlanNetworkEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/keyword_plan_network.proto", fileDescriptor_2481e5f0090e92fb) -} - -var fileDescriptor_2481e5f0090e92fb = []byte{ - // 324 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x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, 0x8d, 0x46, 0xd1, 0x6d, 0x98, - 0x4e, 0x42, 0x3c, 0xee, 0xdd, 0xb8, 0x8e, 0x77, 0x0e, 0x9a, 0x3f, 0xbe, 0x52, 0x4c, 0xfa, 0x69, - 0x8c, 0xc7, 0x77, 0x24, 0x1c, 0x4f, 0xdc, 0x7a, 0xf7, 0xb3, 0x06, 0xda, 0x4f, 0x6a, 0x09, 0xff, - 0x3c, 0xa2, 0x7b, 0xba, 0x5f, 0x25, 0xae, 0xfa, 0xc7, 0xb5, 0x87, 0xee, 0xb7, 0x53, 0xa8, 0x8c, - 0x4a, 0x01, 0x55, 0x21, 0x7c, 0xc1, 0xa5, 0xb9, 0x6e, 0x3b, 0x64, 0x3e, 0xd7, 0xbf, 0xec, 0x7a, - 0x65, 0xde, 0x57, 0xa7, 0x1e, 0x61, 0xfc, 0xe6, 0xb4, 0x22, 0x1b, 0x85, 0x99, 0x86, 0x16, 0x56, - 0x68, 0x16, 0xc0, 0x6a, 0x10, 0xfd, 0xbe, 0xe5, 0x13, 0xcc, 0x74, 0xb2, 0xe3, 0x93, 0x59, 0x90, - 0x18, 0xfe, 0xc3, 0x69, 0xdb, 0x4f, 0x84, 0x30, 0xd3, 0x08, 0xed, 0x14, 0x08, 0xcd, 0x02, 0x84, - 0x8c, 0xe6, 0xf1, 0xbf, 0x29, 0x76, 0xf1, 0x15, 0x00, 0x00, 0xff, 0xff, 0x64, 0xe6, 0x50, 0x4e, - 0xef, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/label_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/label_status.pb.go deleted file mode 100644 index 624b9051..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/label_status.pb.go +++ /dev/null @@ -1,123 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/label_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible statuses of a label. -type LabelStatusEnum_LabelStatus int32 - -const ( - // Not specified. - LabelStatusEnum_UNSPECIFIED LabelStatusEnum_LabelStatus = 0 - // Used for return value only. Represents value unknown in this version. - LabelStatusEnum_UNKNOWN LabelStatusEnum_LabelStatus = 1 - // Label is enabled. - LabelStatusEnum_ENABLED LabelStatusEnum_LabelStatus = 2 - // Label is removed. - LabelStatusEnum_REMOVED LabelStatusEnum_LabelStatus = 3 -) - -var LabelStatusEnum_LabelStatus_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "ENABLED", - 3: "REMOVED", -} - -var LabelStatusEnum_LabelStatus_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "ENABLED": 2, - "REMOVED": 3, -} - -func (x LabelStatusEnum_LabelStatus) String() string { - return proto.EnumName(LabelStatusEnum_LabelStatus_name, int32(x)) -} - -func (LabelStatusEnum_LabelStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_85212a40fdd945a2, []int{0, 0} -} - -// Container for enum describing possible status of a label. -type LabelStatusEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LabelStatusEnum) Reset() { *m = LabelStatusEnum{} } -func (m *LabelStatusEnum) String() string { return proto.CompactTextString(m) } -func (*LabelStatusEnum) ProtoMessage() {} -func (*LabelStatusEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_85212a40fdd945a2, []int{0} -} - -func (m *LabelStatusEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LabelStatusEnum.Unmarshal(m, b) -} -func (m *LabelStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LabelStatusEnum.Marshal(b, m, deterministic) -} -func (m *LabelStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelStatusEnum.Merge(m, src) -} -func (m *LabelStatusEnum) XXX_Size() int { - return xxx_messageInfo_LabelStatusEnum.Size(m) -} -func (m *LabelStatusEnum) XXX_DiscardUnknown() { - xxx_messageInfo_LabelStatusEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_LabelStatusEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.LabelStatusEnum_LabelStatus", LabelStatusEnum_LabelStatus_name, LabelStatusEnum_LabelStatus_value) - proto.RegisterType((*LabelStatusEnum)(nil), "google.ads.googleads.v2.enums.LabelStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/label_status.proto", fileDescriptor_85212a40fdd945a2) -} - -var fileDescriptor_85212a40fdd945a2 = []byte{ - // 293 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x4a, 0xc3, 0x30, - 0x18, 0x77, 0x1d, 0x28, 0xa4, 0x87, 0x95, 0x1e, 0xc5, 0x1d, 0xb6, 0x07, 0x48, 0xa4, 0xde, 0xe2, - 0x29, 0xb5, 0x71, 0x0c, 0x67, 0x57, 0x1c, 0xab, 0x22, 0x05, 0xc9, 0x6c, 0x09, 0x85, 0x36, 0x29, - 0x4b, 0xbb, 0x07, 0xf2, 0xe8, 0xa3, 0xf8, 0x1e, 0x5e, 0x7c, 0x0a, 0x49, 0xb2, 0x96, 0x5d, 0xf4, - 0x52, 0x7e, 0xdf, 0xf7, 0xfb, 0xd3, 0x5f, 0x3e, 0x70, 0xcd, 0xa5, 0xe4, 0x55, 0x81, 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x32, 0xc3, 0xff, 0x38, 0x33, 0xbb, 0xc4, 0x98, 0xe4, 0x0a, 0xe3, 0x41, 0x81, 0x71, 0x1a, - 0x60, 0x6c, 0x34, 0xbb, 0x73, 0x53, 0xec, 0xe6, 0x37, 0x00, 0x00, 0xff, 0xff, 0xb1, 0x90, 0xad, - 0xab, 0xb9, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/legacy_app_install_ad_app_store.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/legacy_app_install_ad_app_store.pb.go deleted file mode 100644 index e3af3b68..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/legacy_app_install_ad_app_store.pb.go +++ /dev/null @@ -1,140 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/legacy_app_install_ad_app_store.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// App store type in a legacy app install ad. -type LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore int32 - -const ( - // Not specified. - LegacyAppInstallAdAppStoreEnum_UNSPECIFIED LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore = 0 - // Used for return value only. Represents value unknown in this version. - LegacyAppInstallAdAppStoreEnum_UNKNOWN LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore = 1 - // Apple iTunes. - LegacyAppInstallAdAppStoreEnum_APPLE_APP_STORE LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore = 2 - // Google Play. - LegacyAppInstallAdAppStoreEnum_GOOGLE_PLAY LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore = 3 - // Windows Store. - LegacyAppInstallAdAppStoreEnum_WINDOWS_STORE LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore = 4 - // Windows Phone Store. - LegacyAppInstallAdAppStoreEnum_WINDOWS_PHONE_STORE LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore = 5 - // The app is hosted in a Chinese app store. - LegacyAppInstallAdAppStoreEnum_CN_APP_STORE LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore = 6 -) - -var LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "APPLE_APP_STORE", - 3: "GOOGLE_PLAY", - 4: "WINDOWS_STORE", - 5: "WINDOWS_PHONE_STORE", - 6: "CN_APP_STORE", -} - -var LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "APPLE_APP_STORE": 2, - "GOOGLE_PLAY": 3, - "WINDOWS_STORE": 4, - "WINDOWS_PHONE_STORE": 5, - "CN_APP_STORE": 6, -} - -func (x LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore) String() string { - return proto.EnumName(LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore_name, int32(x)) -} - -func (LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_794ce99d98ef0c9a, []int{0, 0} -} - -// Container for enum describing app store type in a legacy app install ad. -type LegacyAppInstallAdAppStoreEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LegacyAppInstallAdAppStoreEnum) Reset() { *m = LegacyAppInstallAdAppStoreEnum{} } -func (m *LegacyAppInstallAdAppStoreEnum) String() string { return proto.CompactTextString(m) } -func (*LegacyAppInstallAdAppStoreEnum) ProtoMessage() {} -func (*LegacyAppInstallAdAppStoreEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_794ce99d98ef0c9a, []int{0} -} - -func (m *LegacyAppInstallAdAppStoreEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LegacyAppInstallAdAppStoreEnum.Unmarshal(m, b) -} -func (m *LegacyAppInstallAdAppStoreEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LegacyAppInstallAdAppStoreEnum.Marshal(b, m, deterministic) -} -func (m *LegacyAppInstallAdAppStoreEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_LegacyAppInstallAdAppStoreEnum.Merge(m, src) -} -func (m *LegacyAppInstallAdAppStoreEnum) XXX_Size() int { - return xxx_messageInfo_LegacyAppInstallAdAppStoreEnum.Size(m) -} -func (m *LegacyAppInstallAdAppStoreEnum) XXX_DiscardUnknown() { - xxx_messageInfo_LegacyAppInstallAdAppStoreEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_LegacyAppInstallAdAppStoreEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore", LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore_name, LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore_value) - proto.RegisterType((*LegacyAppInstallAdAppStoreEnum)(nil), "google.ads.googleads.v2.enums.LegacyAppInstallAdAppStoreEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/legacy_app_install_ad_app_store.proto", fileDescriptor_794ce99d98ef0c9a) -} - -var fileDescriptor_794ce99d98ef0c9a = []byte{ - // 371 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0x41, 0x6b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0xcb, 0x20, 0x5c, 0x05, 0x86, 0x66, 0x0e, 0x40, 0x1f, 0x13, 0xe2, - 0x3b, 0x09, 0x26, 0x24, 0x89, 0xae, 0xc3, 0x2b, 0xc7, 0xd0, 0xeb, 0x15, 0x37, 0x0c, 0x5d, 0xdf, - 0x49, 0x88, 0x8f, 0x6f, 0x8c, 0x8e, 0xf9, 0x0b, 0xfc, 0x5c, 0x79, 0xc1, 0x3c, 0x5c, 0x45, 0x07, - 0xcd, 0x57, 0xf3, 0x37, 0x18, 0xb4, 0x23, 0x72, 0x11, 0x06, 0xce, 0x81, 0xf8, 0x66, 0x1a, 0xe0, - 0xc7, 0x2c, 0xf8, 0x60, 0xd7, 0x9d, 0xbe, 0x69, 0x60, 0xbc, 0xe6, 0x1b, 0xf8, 0x69, 0x0f, 0xd3, - 0x7f, 0xa7, 0xff, 0x81, 0xd4, 0x55, 0x10, 0xed, 0x76, 0x7a, 0x70, 0xc8, 0x79, 0x49, 0x59, 0x0e, - 0xf9, 0x36, 0xb7, 0xf2, 0x8c, 0xa9, 0xa2, 0xda, 0xf3, 0x88, 0x42, 0x9e, 0xb8, 0xd6, 0x99, 0x7a, - 0x3e, 0xea, 0x1d, 0x17, 0xe3, 0x27, 0x7d, 0xe4, 0x36, 0x56, 0x38, 0x95, 0xb0, 0x81, 0x35, 0x5a, - 0xda, 0xb0, 0xae, 0x54, 0xbe, 0xb4, 0x7c, 0x8c, 0x53, 0x19, 0x1f, 0xf9, 0x78, 0x69, 0xc7, 0x8a, - 0x7f, 0xd5, 0xc7, 0xcd, 0x10, 0x21, 0x9c, 0x4a, 0x84, 0x8e, 0x0a, 0x84, 0x96, 0x36, 0x42, 0x4a, - 0x73, 0xd7, 0x55, 0x1f, 0xf6, 0xff, 0x3d, 0x00, 0x00, 0xff, 0xff, 0x68, 0xa8, 0x2b, 0x57, 0x45, - 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/listing_custom_attribute_index.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/listing_custom_attribute_index.pb.go deleted file mode 100644 index a5bb9d81..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/listing_custom_attribute_index.pb.go +++ /dev/null @@ -1,137 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/listing_custom_attribute_index.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_INDEX0 ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex = 7 - // Second listing custom attribute. - ListingCustomAttributeIndexEnum_INDEX1 ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex = 8 - // Third listing custom attribute. - ListingCustomAttributeIndexEnum_INDEX2 ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex = 9 - // Fourth listing custom attribute. - ListingCustomAttributeIndexEnum_INDEX3 ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex = 10 - // Fifth listing custom attribute. - ListingCustomAttributeIndexEnum_INDEX4 ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex = 11 -) - -var ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 7: "INDEX0", - 8: "INDEX1", - 9: "INDEX2", - 10: "INDEX3", - 11: "INDEX4", -} - -var ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "INDEX0": 7, - "INDEX1": 8, - "INDEX2": 9, - "INDEX3": 10, - "INDEX4": 11, -} - -func (x ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex) String() string { - return proto.EnumName(ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex_name, int32(x)) -} - -func (ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_15903c2a443a0f0b, []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_15903c2a443a0f0b, []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 (m *ListingCustomAttributeIndexEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListingCustomAttributeIndexEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex", ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex_name, ListingCustomAttributeIndexEnum_ListingCustomAttributeIndex_value) - proto.RegisterType((*ListingCustomAttributeIndexEnum)(nil), "google.ads.googleads.v2.enums.ListingCustomAttributeIndexEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/listing_custom_attribute_index.proto", fileDescriptor_15903c2a443a0f0b) -} - -var fileDescriptor_15903c2a443a0f0b = []byte{ - // 328 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xb1, 0x4e, 0xf3, 0x30, - 0x14, 0x85, 0xff, 0xf4, 0x97, 0x5a, 0x70, 0x07, 0xac, 0x8c, 0x40, 0x05, 0xed, 0x03, 0x38, 0x90, - 0x32, 0x99, 0x29, 0x6d, 0x43, 0x15, 0x81, 0x42, 0x25, 0xd4, 0x82, 0x50, 0xa4, 0xca, 0xad, 0x23, - 0xcb, 0x52, 0x63, 0x57, 0xb5, 0x53, 0x78, 0x16, 0x46, 0x46, 0x1e, 0x85, 0x47, 0x61, 0x67, 0x47, - 0xb1, 0x89, 0x37, 0xb2, 0x44, 0x9f, 0x72, 0xef, 0x3d, 0xe7, 0xde, 0x63, 0x30, 0x62, 0x52, 0xb2, - 0x4d, 0x1e, 0x10, 0xaa, 0x02, 0x8b, 0x15, 0xed, 0xc3, 0x20, 0x17, 0x65, 0xa1, 0x82, 0x0d, 0x57, - 0x9a, 0x0b, 0xb6, 0x5c, 0x97, 0x4a, 0xcb, 0x62, 0x49, 0xb4, 0xde, 0xf1, 0x55, 0xa9, 0xf3, 0x25, - 0x17, 0x34, 0x7f, 0x45, 0xdb, 0x9d, 0xd4, 0xd2, 0xef, 0xd9, 0x41, 0x44, 0xa8, 0x42, 0x4e, 0x03, - 0xed, 0x43, 0x64, 0x34, 0x8e, 0x4f, 0x6b, 0x8b, 0x2d, 0x0f, 0x88, 0x10, 0x52, 0x13, 0xcd, 0xa5, - 0x50, 0x76, 0x78, 0xf0, 0xe6, 0x81, 0xb3, 0x3b, 0xeb, 0x32, 0x36, 0x26, 0x51, 0xed, 0x91, 0x54, - 0x16, 0xb1, 0x28, 0x8b, 0xc1, 0x0b, 0x38, 0x69, 0x68, 0xf1, 0x8f, 0x40, 0x77, 0x9e, 0x3e, 0xcc, - 0xe2, 0x71, 0x72, 0x93, 0xc4, 0x13, 0xf8, 0xcf, 0xef, 0x82, 0xce, 0x3c, 0xbd, 0x4d, 0xef, 0x1f, - 0x53, 0xe8, 0xf9, 0x00, 0xb4, 0x93, 0x74, 0x12, 0x3f, 0x5d, 0xc0, 0x8e, 0xe3, 0x4b, 0x78, 0xe0, - 0x38, 0x84, 0x87, 0x8e, 0x87, 0x10, 0x38, 0xbe, 0x82, 0xdd, 0xd1, 0xb7, 0x07, 0xfa, 0x6b, 0x59, - 0xa0, 0xc6, 0x03, 0x47, 0xe7, 0x0d, 0xcb, 0xcd, 0xaa, 0x23, 0x67, 0xde, 0xf3, 0x6f, 0xce, 0x88, - 0xc9, 0x0d, 0x11, 0x0c, 0xc9, 0x1d, 0x0b, 0x58, 0x2e, 0x4c, 0x04, 0x75, 0xee, 0x5b, 0xae, 0xfe, - 0x78, 0x86, 0x6b, 0xf3, 0x7d, 0x6f, 0xfd, 0x9f, 0x46, 0xd1, 0x47, 0xab, 0x37, 0xb5, 0x52, 0x11, - 0x55, 0xc8, 0x62, 0x45, 0x8b, 0x10, 0x55, 0x59, 0xa9, 0xcf, 0xba, 0x9e, 0x45, 0x54, 0x65, 0xae, - 0x9e, 0x2d, 0xc2, 0xcc, 0xd4, 0xbf, 0x5a, 0x7d, 0xfb, 0x13, 0xe3, 0x88, 0x2a, 0x8c, 0x5d, 0x07, - 0xc6, 0x8b, 0x10, 0x63, 0xd3, 0xb3, 0x6a, 0x9b, 0xc5, 0x86, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, - 0x60, 0xec, 0x17, 0xb1, 0x1e, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/listing_group_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/listing_group_type.pb.go deleted file mode 100644 index e10e6a02..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/listing_group_type.pb.go +++ /dev/null @@ -1,126 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/listing_group_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_a9da1578dcab9fe0, []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_a9da1578dcab9fe0, []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 (m *ListingGroupTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListingGroupTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.ListingGroupTypeEnum_ListingGroupType", ListingGroupTypeEnum_ListingGroupType_name, ListingGroupTypeEnum_ListingGroupType_value) - proto.RegisterType((*ListingGroupTypeEnum)(nil), "google.ads.googleads.v2.enums.ListingGroupTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/listing_group_type.proto", fileDescriptor_a9da1578dcab9fe0) -} - -var fileDescriptor_a9da1578dcab9fe0 = []byte{ - // 306 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x4a, 0xc3, 0x30, - 0x18, 0x77, 0x9d, 0xa8, 0x64, 0x07, 0x4b, 0xd1, 0x8b, 0xb8, 0xc3, 0xf6, 0x00, 0x09, 0x54, 0xf0, - 0x10, 0x4f, 0xad, 0x9b, 0x23, 0x4c, 0xb2, 0xc1, 0xd6, 0x0a, 0x52, 0x18, 0x75, 0x2d, 0xa1, 0xb0, - 0x26, 0xa1, 0x69, 0x07, 0x7b, 0x1d, 0x8f, 0x3e, 0x8a, 0x8f, 0xb2, 0xa7, 0x90, 0x24, 0xb6, 0x87, - 0x81, 0x5e, 0xc2, 0x8f, 0xef, 0xf7, 0x27, 0xbf, 0xef, 0x03, 0x8f, 0x4c, 0x08, 0xb6, 0xcb, 0x51, - 0x9a, 0x29, 0x64, 0xa1, 0x46, 0x7b, 0x1f, 0xe5, 0xbc, 0x29, 0x15, 0xda, 0x15, 0xaa, 0x2e, 0x38, - 0xdb, 0xb0, 0x4a, 0x34, 0x72, 0x53, 0x1f, 0x64, 0x0e, 0x65, 0x25, 0x6a, 0xe1, 0x0d, 0xad, 0x18, - 0xa6, 0x99, 0x82, 0x9d, 0x0f, 0xee, 0x7d, 0x68, 0x7c, 0x77, 0xf7, 0x6d, 0xac, 0x2c, 0x50, 0xca, - 0xb9, 0xa8, 0xd3, 0xba, 0x10, 0x5c, 0x59, 0xf3, 0x78, 0x0b, 0x6e, 0x5e, 0x6d, 0xf0, 0x4c, 0xe7, - 0xae, 0x0f, 0x32, 0x9f, 0xf2, 0xa6, 0x1c, 0xcf, 0x81, 0x7b, 0x3a, 0xf7, 0xae, 0xc1, 0x20, 0xa2, - 0xab, 0xe5, 0xf4, 0x99, 0xbc, 0x90, 0xe9, 0xc4, 0x3d, 0xf3, 0x06, 0xe0, 0x32, 0xa2, 0x73, 0xba, - 0x78, 0xa3, 0x6e, 0x4f, 0xb3, 0xab, 0x28, 0x9c, 0x90, 0x98, 0xac, 0xc8, 0x82, 0xba, 0x8e, 0x77, - 0x05, 0xce, 0x23, 0x4a, 0xd6, 0x6e, 0x3f, 0x3c, 0xf6, 0xc0, 0x68, 0x2b, 0x4a, 0xf8, 0x6f, 0xd1, - 0xf0, 0xf6, 0xf4, 0xc3, 0xa5, 0x6e, 0xb8, 0xec, 0xbd, 0x87, 0xbf, 0x3e, 0x26, 0x76, 0x29, 0x67, - 0x50, 0x54, 0x0c, 0xb1, 0x9c, 0x9b, 0xfe, 0xed, 0xa1, 0x64, 0xa1, 0xfe, 0xb8, 0xdb, 0x93, 0x79, - 0x3f, 0x9d, 0xfe, 0x2c, 0x08, 0xbe, 0x9c, 0xe1, 0xcc, 0x46, 0x05, 0x99, 0x82, 0x16, 0x6a, 0x14, - 0xfb, 0x50, 0x2f, 0xad, 0xbe, 0x5b, 0x3e, 0x09, 0x32, 0x95, 0x74, 0x7c, 0x12, 0xfb, 0x89, 0xe1, - 0x8f, 0xce, 0xc8, 0x0e, 0x31, 0x0e, 0x32, 0x85, 0x71, 0xa7, 0xc0, 0x38, 0xf6, 0x31, 0x36, 0x9a, - 0x8f, 0x0b, 0x53, 0xec, 0xe1, 0x27, 0x00, 0x00, 0xff, 0xff, 0x69, 0x31, 0xca, 0xbd, 0xcf, 0x01, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/local_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/local_placeholder_field.pb.go deleted file mode 100644 index 90d50a85..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/local_placeholder_field.pb.go +++ /dev/null @@ -1,222 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/local_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_a0c45906739d7d2e, []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_a0c45906739d7d2e, []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 (m *LocalPlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocalPlaceholderFieldEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.LocalPlaceholderFieldEnum_LocalPlaceholderField", LocalPlaceholderFieldEnum_LocalPlaceholderField_name, LocalPlaceholderFieldEnum_LocalPlaceholderField_value) - proto.RegisterType((*LocalPlaceholderFieldEnum)(nil), "google.ads.googleads.v2.enums.LocalPlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/local_placeholder_field.proto", fileDescriptor_a0c45906739d7d2e) -} - -var fileDescriptor_a0c45906739d7d2e = []byte{ - // 511 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, 0x60, 0x68, 0x71, 0x0d, 0xd5, 0xb6, 0x6a, 0xbd, 0x68, 0x1f, 0x20, 0x91, - 0xd8, 0x5d, 0x7a, 0x65, 0x12, 0x83, 0x2c, 0x82, 0x13, 0xd9, 0x0e, 0x5d, 0x27, 0xa4, 0x28, 0x23, - 0x59, 0x86, 0x14, 0x62, 0x44, 0x68, 0x1f, 0x62, 0x8f, 0xb1, 0xab, 0x69, 0x8f, 0xb2, 0x47, 0xd9, - 0xcd, 0x5e, 0x61, 0x72, 0xc2, 0xcf, 0x2e, 0xba, 0xde, 0x58, 0xe7, 0x9c, 0xef, 0xe7, 0x1c, 0xf9, - 0x1c, 0x70, 0x97, 0x2a, 0x95, 0x66, 0x89, 0x19, 0xc5, 0x85, 0x59, 0x85, 0x3a, 0x7a, 0xea, 0x9b, - 0x49, 0xfe, 0xb8, 0x2c, 0xcc, 0x4c, 0xcd, 0xa3, 0x2c, 0x5c, 0x65, 0xd1, 0x3c, 0xf9, 0xaa, 0xb2, - 0x38, 0x59, 0x87, 0x5f, 0x16, 0x49, 0x16, 0x1b, 0xab, 0xb5, 0xda, 0x28, 0x74, 0x5d, 0x29, 0x8c, - 0x28, 0x2e, 0x8c, 0xbd, 0xd8, 0x78, 0xea, 0x1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0f, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x93, 0x21, 0x82, 0xcc, 0x1f, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/location_extension_targeting_criterion_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/location_extension_targeting_criterion_field.pb.go deleted file mode 100644 index 23528eb4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/location_extension_targeting_criterion_field.pb.go +++ /dev/null @@ -1,148 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/location_extension_targeting_criterion_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible values for Location Extension Targeting criterion fields. -type LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField int32 - -const ( - // Not specified. - LocationExtensionTargetingCriterionFieldEnum_UNSPECIFIED LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField = 0 - // Used for return value only. Represents value unknown in this version. - LocationExtensionTargetingCriterionFieldEnum_UNKNOWN LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField = 1 - // Data Type: STRING. Line 1 of the business address. - LocationExtensionTargetingCriterionFieldEnum_ADDRESS_LINE_1 LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField = 2 - // Data Type: STRING. Line 2 of the business address. - LocationExtensionTargetingCriterionFieldEnum_ADDRESS_LINE_2 LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField = 3 - // Data Type: STRING. City of the business address. - LocationExtensionTargetingCriterionFieldEnum_CITY LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField = 4 - // Data Type: STRING. Province of the business address. - LocationExtensionTargetingCriterionFieldEnum_PROVINCE LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField = 5 - // Data Type: STRING. Postal code of the business address. - LocationExtensionTargetingCriterionFieldEnum_POSTAL_CODE LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField = 6 - // Data Type: STRING. Country code of the business address. - LocationExtensionTargetingCriterionFieldEnum_COUNTRY_CODE LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField = 7 -) - -var LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "ADDRESS_LINE_1", - 3: "ADDRESS_LINE_2", - 4: "CITY", - 5: "PROVINCE", - 6: "POSTAL_CODE", - 7: "COUNTRY_CODE", -} - -var LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "ADDRESS_LINE_1": 2, - "ADDRESS_LINE_2": 3, - "CITY": 4, - "PROVINCE": 5, - "POSTAL_CODE": 6, - "COUNTRY_CODE": 7, -} - -func (x LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField) String() string { - return proto.EnumName(LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField_name, int32(x)) -} - -func (LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_c1af01499a6d9067, []int{0, 0} -} - -// Values for Location Extension Targeting criterion fields. -type LocationExtensionTargetingCriterionFieldEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LocationExtensionTargetingCriterionFieldEnum) Reset() { - *m = LocationExtensionTargetingCriterionFieldEnum{} -} -func (m *LocationExtensionTargetingCriterionFieldEnum) String() string { - return proto.CompactTextString(m) -} -func (*LocationExtensionTargetingCriterionFieldEnum) ProtoMessage() {} -func (*LocationExtensionTargetingCriterionFieldEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_c1af01499a6d9067, []int{0} -} - -func (m *LocationExtensionTargetingCriterionFieldEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LocationExtensionTargetingCriterionFieldEnum.Unmarshal(m, b) -} -func (m *LocationExtensionTargetingCriterionFieldEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LocationExtensionTargetingCriterionFieldEnum.Marshal(b, m, deterministic) -} -func (m *LocationExtensionTargetingCriterionFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocationExtensionTargetingCriterionFieldEnum.Merge(m, src) -} -func (m *LocationExtensionTargetingCriterionFieldEnum) XXX_Size() int { - return xxx_messageInfo_LocationExtensionTargetingCriterionFieldEnum.Size(m) -} -func (m *LocationExtensionTargetingCriterionFieldEnum) XXX_DiscardUnknown() { - xxx_messageInfo_LocationExtensionTargetingCriterionFieldEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_LocationExtensionTargetingCriterionFieldEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField", LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField_name, LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField_value) - proto.RegisterType((*LocationExtensionTargetingCriterionFieldEnum)(nil), "google.ads.googleads.v2.enums.LocationExtensionTargetingCriterionFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/location_extension_targeting_criterion_field.proto", fileDescriptor_c1af01499a6d9067) -} - -var fileDescriptor_c1af01499a6d9067 = []byte{ - // 383 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xc1, 0xae, 0x93, 0x40, - 0x18, 0x85, 0x85, 0x7b, 0xbd, 0xf7, 0x66, 0xda, 0xe8, 0x64, 0x96, 0xc6, 0x2e, 0xda, 0x95, 0x0b, - 0x1d, 0x22, 0xee, 0xc6, 0x15, 0x85, 0x69, 0x43, 0x6c, 0x80, 0x14, 0x8a, 0xa9, 0x21, 0x21, 0x58, - 0xc6, 0x09, 0x09, 0x9d, 0x69, 0x18, 0xda, 0xb8, 0xf6, 0x51, 0x5c, 0xea, 0x9b, 0xf8, 0x0c, 0x3e, - 0x81, 0x4f, 0x61, 0x06, 0x4a, 0x37, 0xc6, 0x9b, 0x6e, 0xc8, 0xc9, 0xf9, 0x67, 0xbe, 0xc3, 0x9c, - 0x1f, 0x44, 0x5c, 0x4a, 0x5e, 0x33, 0xab, 0x28, 0x95, 0xd5, 0x4b, 0xad, 0x4e, 0xb6, 0xc5, 0xc4, - 0x71, 0xaf, 0xac, 0x5a, 0xee, 0x8a, 0xb6, 0x92, 0x22, 0x67, 0x5f, 0x5b, 0x26, 0x94, 0x56, 0x6d, - 0xd1, 0x70, 0xd6, 0x56, 0x82, 0xe7, 0xbb, 0xa6, 0x6a, 0x59, 0xa3, 0xbd, 0x2f, 0x15, 0xab, 0x4b, - 0x7c, 0x68, 0x64, 0x2b, 0xd1, 0xa4, 0xc7, 0xe0, 0xa2, 0x54, 0xf8, 0x42, 0xc4, 0x27, 0x1b, 0x77, - 0xc4, 0x17, 0x2f, 0x87, 0xc0, 0x43, 0x65, 0x15, 0x42, 0xc8, 0xb6, 0xe3, 0xab, 0xfe, 0xf2, 0xec, - 0xb7, 0x01, 0x5e, 0xaf, 0xce, 0x99, 0x74, 0x88, 0x4c, 0x86, 0x44, 0x77, 0x08, 0x5c, 0xe8, 0x3c, - 0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0x09, 0x42, 0x52, 0x9b, 0x90, 0xee, 0xcc, 0xe7, 0xbb, 0xee, 0xc7, - 0xde, 0xfd, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x32, 0x31, 0xd4, 0x71, 0x7b, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/location_group_radius_units.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/location_group_radius_units.pb.go deleted file mode 100644 index 3fa8724d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/location_group_radius_units.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/location_group_radius_units.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The unit of radius distance in location group (e.g. MILES) -type LocationGroupRadiusUnitsEnum_LocationGroupRadiusUnits int32 - -const ( - // Not specified. - LocationGroupRadiusUnitsEnum_UNSPECIFIED LocationGroupRadiusUnitsEnum_LocationGroupRadiusUnits = 0 - // Used for return value only. Represents value unknown in this version. - LocationGroupRadiusUnitsEnum_UNKNOWN LocationGroupRadiusUnitsEnum_LocationGroupRadiusUnits = 1 - // Meters - LocationGroupRadiusUnitsEnum_METERS LocationGroupRadiusUnitsEnum_LocationGroupRadiusUnits = 2 - // Miles - LocationGroupRadiusUnitsEnum_MILES LocationGroupRadiusUnitsEnum_LocationGroupRadiusUnits = 3 -) - -var LocationGroupRadiusUnitsEnum_LocationGroupRadiusUnits_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "METERS", - 3: "MILES", -} - -var LocationGroupRadiusUnitsEnum_LocationGroupRadiusUnits_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "METERS": 2, - "MILES": 3, -} - -func (x LocationGroupRadiusUnitsEnum_LocationGroupRadiusUnits) String() string { - return proto.EnumName(LocationGroupRadiusUnitsEnum_LocationGroupRadiusUnits_name, int32(x)) -} - -func (LocationGroupRadiusUnitsEnum_LocationGroupRadiusUnits) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0670b2dbb78c4fc6, []int{0, 0} -} - -// Container for enum describing unit of radius in location group. -type LocationGroupRadiusUnitsEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LocationGroupRadiusUnitsEnum) Reset() { *m = LocationGroupRadiusUnitsEnum{} } -func (m *LocationGroupRadiusUnitsEnum) String() string { return proto.CompactTextString(m) } -func (*LocationGroupRadiusUnitsEnum) ProtoMessage() {} -func (*LocationGroupRadiusUnitsEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_0670b2dbb78c4fc6, []int{0} -} - -func (m *LocationGroupRadiusUnitsEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LocationGroupRadiusUnitsEnum.Unmarshal(m, b) -} -func (m *LocationGroupRadiusUnitsEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LocationGroupRadiusUnitsEnum.Marshal(b, m, deterministic) -} -func (m *LocationGroupRadiusUnitsEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocationGroupRadiusUnitsEnum.Merge(m, src) -} -func (m *LocationGroupRadiusUnitsEnum) XXX_Size() int { - return xxx_messageInfo_LocationGroupRadiusUnitsEnum.Size(m) -} -func (m *LocationGroupRadiusUnitsEnum) XXX_DiscardUnknown() { - xxx_messageInfo_LocationGroupRadiusUnitsEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_LocationGroupRadiusUnitsEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.LocationGroupRadiusUnitsEnum_LocationGroupRadiusUnits", LocationGroupRadiusUnitsEnum_LocationGroupRadiusUnits_name, LocationGroupRadiusUnitsEnum_LocationGroupRadiusUnits_value) - proto.RegisterType((*LocationGroupRadiusUnitsEnum)(nil), "google.ads.googleads.v2.enums.LocationGroupRadiusUnitsEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/location_group_radius_units.proto", fileDescriptor_0670b2dbb78c4fc6) -} - -var fileDescriptor_0670b2dbb78c4fc6 = []byte{ - // 314 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xcf, 0x6a, 0xf2, 0x40, - 0x14, 0xc5, 0x3f, 0x23, 0x9f, 0xa5, 0xe3, 0xa2, 0x21, 0xab, 0x52, 0x74, 0xa1, 0x0f, 0x30, 0x03, - 0xe9, 0x6e, 0xba, 0x28, 0xb1, 0x9d, 0x8a, 0x54, 0xa3, 0x68, 0xb5, 0x50, 0x02, 0x32, 0x75, 0x64, - 0x08, 0x98, 0xb9, 0x21, 0x93, 0xf8, 0x40, 0x5d, 0xf6, 0x51, 0xfa, 0x28, 0x5d, 0xf6, 0x09, 0xca, - 0x4c, 0xfe, 0xec, 0xd2, 0x4d, 0x38, 0xe4, 0xdc, 0xfb, 0xbb, 0x67, 0x0e, 0xba, 0x97, 0x00, 0xf2, - 0x74, 0x24, 0x5c, 0x68, 0x52, 0x4a, 0xa3, 0xce, 0x3e, 0x39, 0xaa, 0x22, 0xd1, 0xe4, 0x04, 0x07, - 0x9e, 0xc7, 0xa0, 0xf6, 0x32, 0x83, 0x22, 0xdd, 0x67, 0x5c, 0xc4, 0x85, 0xde, 0x17, 0x2a, 0xce, - 0x35, 0x4e, 0x33, 0xc8, 0xc1, 0x1b,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x06, 0xbb, 0xfd, 0x0d, 0x00, 0x00, - 0xff, 0xff, 0x2b, 0xc2, 0xb8, 0x03, 0xec, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/location_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/location_placeholder_field.pb.go deleted file mode 100644 index f9d1c6a3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/location_placeholder_field.pb.go +++ /dev/null @@ -1,153 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/location_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible values for Location placeholder fields. -type LocationPlaceholderFieldEnum_LocationPlaceholderField int32 - -const ( - // Not specified. - LocationPlaceholderFieldEnum_UNSPECIFIED LocationPlaceholderFieldEnum_LocationPlaceholderField = 0 - // Used for return value only. Represents value unknown in this version. - LocationPlaceholderFieldEnum_UNKNOWN LocationPlaceholderFieldEnum_LocationPlaceholderField = 1 - // Data Type: STRING. The name of the business. - LocationPlaceholderFieldEnum_BUSINESS_NAME LocationPlaceholderFieldEnum_LocationPlaceholderField = 2 - // Data Type: STRING. Line 1 of the business address. - LocationPlaceholderFieldEnum_ADDRESS_LINE_1 LocationPlaceholderFieldEnum_LocationPlaceholderField = 3 - // Data Type: STRING. Line 2 of the business address. - LocationPlaceholderFieldEnum_ADDRESS_LINE_2 LocationPlaceholderFieldEnum_LocationPlaceholderField = 4 - // Data Type: STRING. City of the business address. - LocationPlaceholderFieldEnum_CITY LocationPlaceholderFieldEnum_LocationPlaceholderField = 5 - // Data Type: STRING. Province of the business address. - LocationPlaceholderFieldEnum_PROVINCE LocationPlaceholderFieldEnum_LocationPlaceholderField = 6 - // Data Type: STRING. Postal code of the business address. - LocationPlaceholderFieldEnum_POSTAL_CODE LocationPlaceholderFieldEnum_LocationPlaceholderField = 7 - // Data Type: STRING. Country code of the business address. - LocationPlaceholderFieldEnum_COUNTRY_CODE LocationPlaceholderFieldEnum_LocationPlaceholderField = 8 - // Data Type: STRING. Phone number of the business. - LocationPlaceholderFieldEnum_PHONE_NUMBER LocationPlaceholderFieldEnum_LocationPlaceholderField = 9 -) - -var LocationPlaceholderFieldEnum_LocationPlaceholderField_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "BUSINESS_NAME", - 3: "ADDRESS_LINE_1", - 4: "ADDRESS_LINE_2", - 5: "CITY", - 6: "PROVINCE", - 7: "POSTAL_CODE", - 8: "COUNTRY_CODE", - 9: "PHONE_NUMBER", -} - -var LocationPlaceholderFieldEnum_LocationPlaceholderField_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "BUSINESS_NAME": 2, - "ADDRESS_LINE_1": 3, - "ADDRESS_LINE_2": 4, - "CITY": 5, - "PROVINCE": 6, - "POSTAL_CODE": 7, - "COUNTRY_CODE": 8, - "PHONE_NUMBER": 9, -} - -func (x LocationPlaceholderFieldEnum_LocationPlaceholderField) String() string { - return proto.EnumName(LocationPlaceholderFieldEnum_LocationPlaceholderField_name, int32(x)) -} - -func (LocationPlaceholderFieldEnum_LocationPlaceholderField) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_c5f6b96235da47b0, []int{0, 0} -} - -// Values for Location placeholder fields. -type LocationPlaceholderFieldEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LocationPlaceholderFieldEnum) Reset() { *m = LocationPlaceholderFieldEnum{} } -func (m *LocationPlaceholderFieldEnum) String() string { return proto.CompactTextString(m) } -func (*LocationPlaceholderFieldEnum) ProtoMessage() {} -func (*LocationPlaceholderFieldEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_c5f6b96235da47b0, []int{0} -} - -func (m *LocationPlaceholderFieldEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LocationPlaceholderFieldEnum.Unmarshal(m, b) -} -func (m *LocationPlaceholderFieldEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LocationPlaceholderFieldEnum.Marshal(b, m, deterministic) -} -func (m *LocationPlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocationPlaceholderFieldEnum.Merge(m, src) -} -func (m *LocationPlaceholderFieldEnum) XXX_Size() int { - return xxx_messageInfo_LocationPlaceholderFieldEnum.Size(m) -} -func (m *LocationPlaceholderFieldEnum) XXX_DiscardUnknown() { - xxx_messageInfo_LocationPlaceholderFieldEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_LocationPlaceholderFieldEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.LocationPlaceholderFieldEnum_LocationPlaceholderField", LocationPlaceholderFieldEnum_LocationPlaceholderField_name, LocationPlaceholderFieldEnum_LocationPlaceholderField_value) - proto.RegisterType((*LocationPlaceholderFieldEnum)(nil), "google.ads.googleads.v2.enums.LocationPlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/location_placeholder_field.proto", fileDescriptor_c5f6b96235da47b0) -} - -var fileDescriptor_c5f6b96235da47b0 = []byte{ - // 392 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xc1, 0xae, 0x93, 0x40, - 0x14, 0x15, 0xde, 0xf3, 0xbd, 0x3a, 0xef, 0xa9, 0xe3, 0xac,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 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/manager_link_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/manager_link_status.pb.go deleted file mode 100644 index 2c1a4b1b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/manager_link_status.pb.go +++ /dev/null @@ -1,139 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/manager_link_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_5599239e37e94594, []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_5599239e37e94594, []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 (m *ManagerLinkStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ManagerLinkStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.ManagerLinkStatusEnum_ManagerLinkStatus", ManagerLinkStatusEnum_ManagerLinkStatus_name, ManagerLinkStatusEnum_ManagerLinkStatus_value) - proto.RegisterType((*ManagerLinkStatusEnum)(nil), "google.ads.googleads.v2.enums.ManagerLinkStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/manager_link_status.proto", fileDescriptor_5599239e37e94594) -} - -var fileDescriptor_5599239e37e94594 = []byte{ - // 335 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdf, 0x4a, 0xfb, 0x30, - 0x14, 0xfe, 0xb5, 0xfb, 0x39, 0x25, 0x13, 0xac, 0x05, 0xbd, 0x10, 0x77, 0xb1, 0x3d, 0x40, 0x0a, - 0xf5, 0x42, 0x88, 0x57, 0x59, 0x9b, 0x8d, 0xe2, 0x8c, 0xc5, 0xb9, 0x0a, 0x52, 0x18, 0xd1, 0x96, - 0x50, 0xb6, 0x26, 0x63, 0xe9, 0xf6, 0x14, 0x3e, 0x85, 0x97, 0x3e, 0x8a, 0x8f, 0xa2, 0x2f, 0x21, - 0x49, 0xb7, 0xde, 0x0c, 0xbd, 0x09, 0xdf, 0xc9, 0xf7, 0x87, 0x73, 0x3e, 0x70, 0xcd, 0xa5, 0xe4, - 0x8b, 0xdc, 0x63, 0x99, 0xf2, 0x6a, 0xa8, 0xd1, 0xc6, 0xf7, 0x72, 0xb1, 0x2e, 0x95, 0x57, 0x32, - 0xc1, 0x78, 0xbe, 0x9a, 0x2d, 0x0a, 0x31, 0x9f, 0xa9, 0x8a, 0x55, 0x6b, 0x05, 0x97, 0x2b, 0x59, - 0x49, 0xb7, 0x5b, 0xab, 0x21, 0xcb, 0x14, 0x6c, 0x8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, 0xfa, - 0x13, 0x21, 0x9c, 0x29, 0x84, 0x1a, 0x05, 0x42, 0x89, 0x8f, 0x90, 0xd1, 0xbc, 0xb4, 0xcd, 0x62, - 0x57, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xdf, 0xe8, 0xa0, 0x78, 0xfb, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/matching_function_context_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/matching_function_context_type.pb.go deleted file mode 100644 index 8fc9952d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/matching_function_context_type.pb.go +++ /dev/null @@ -1,125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/matching_function_context_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible context types for an operand in a matching function. -type MatchingFunctionContextTypeEnum_MatchingFunctionContextType int32 - -const ( - // Not specified. - MatchingFunctionContextTypeEnum_UNSPECIFIED MatchingFunctionContextTypeEnum_MatchingFunctionContextType = 0 - // Used for return value only. Represents value unknown in this version. - MatchingFunctionContextTypeEnum_UNKNOWN MatchingFunctionContextTypeEnum_MatchingFunctionContextType = 1 - // Feed item id in the request context. - MatchingFunctionContextTypeEnum_FEED_ITEM_ID MatchingFunctionContextTypeEnum_MatchingFunctionContextType = 2 - // The device being used (possible values are 'Desktop' or 'Mobile'). - MatchingFunctionContextTypeEnum_DEVICE_NAME MatchingFunctionContextTypeEnum_MatchingFunctionContextType = 3 -) - -var MatchingFunctionContextTypeEnum_MatchingFunctionContextType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "FEED_ITEM_ID", - 3: "DEVICE_NAME", -} - -var MatchingFunctionContextTypeEnum_MatchingFunctionContextType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "FEED_ITEM_ID": 2, - "DEVICE_NAME": 3, -} - -func (x MatchingFunctionContextTypeEnum_MatchingFunctionContextType) String() string { - return proto.EnumName(MatchingFunctionContextTypeEnum_MatchingFunctionContextType_name, int32(x)) -} - -func (MatchingFunctionContextTypeEnum_MatchingFunctionContextType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_d2c8b9633b2c349b, []int{0, 0} -} - -// Container for context types for an operand in a matching function. -type MatchingFunctionContextTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MatchingFunctionContextTypeEnum) Reset() { *m = MatchingFunctionContextTypeEnum{} } -func (m *MatchingFunctionContextTypeEnum) String() string { return proto.CompactTextString(m) } -func (*MatchingFunctionContextTypeEnum) ProtoMessage() {} -func (*MatchingFunctionContextTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_d2c8b9633b2c349b, []int{0} -} - -func (m *MatchingFunctionContextTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MatchingFunctionContextTypeEnum.Unmarshal(m, b) -} -func (m *MatchingFunctionContextTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MatchingFunctionContextTypeEnum.Marshal(b, m, deterministic) -} -func (m *MatchingFunctionContextTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_MatchingFunctionContextTypeEnum.Merge(m, src) -} -func (m *MatchingFunctionContextTypeEnum) XXX_Size() int { - return xxx_messageInfo_MatchingFunctionContextTypeEnum.Size(m) -} -func (m *MatchingFunctionContextTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_MatchingFunctionContextTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_MatchingFunctionContextTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.MatchingFunctionContextTypeEnum_MatchingFunctionContextType", MatchingFunctionContextTypeEnum_MatchingFunctionContextType_name, MatchingFunctionContextTypeEnum_MatchingFunctionContextType_value) - proto.RegisterType((*MatchingFunctionContextTypeEnum)(nil), "google.ads.googleads.v2.enums.MatchingFunctionContextTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/matching_function_context_type.proto", fileDescriptor_d2c8b9633b2c349b) -} - -var fileDescriptor_d2c8b9633b2c349b = []byte{ - // 326 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x41, 0x4b, 0xc3, 0x30, - 0x18, 0xb5, 0x1d, 0x28, 0x64, 0x82, 0xa5, 0x47, 0x75, 0xe8, 0xf6, 0x03, 0x52, 0xa8, 0xb7, 0x78, - 0xea, 0xd6, 0x6c, 0x14, 0x59, 0x1d, 0xb8, 0x55, 0x90, 0x62, 0xa9, 0x6d, 0x8c, 0x85, 0x35, 0x29, - 0x4b, 0x36, 0xdc, 0xd1, 0xbf, 0xe2, 0xd1, 0x9f, 0xe2, 0x4f, 0xf1, 0xee, 0x5d, 0x92, 0x6c, 0xbb, - 0xd9, 0x4b, 0x78, 0xe4, 0x7b, 0xdf, 0x7b, 0xdf, 0x7b, 0x60, 0x48, 0x39, 0xa7, 0x4b, 0xe2, 0xe5, - 0xa5, 0xf0, 0x0c, 0x54, 0x68, 0xe3, 0x7b, 0x84, 0xad, 0x6b, 0xe1, 0xd5, 0xb9, 0x2c, 0xde, 0x2a, - 0x46, 0xb3, 0xd7, 0x35, 0x2b, 0x64, 0xc5, 0x59, 0x56, 0x70, 0x26, 0xc9, 0xbb, 0xcc, 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 0xff, 0xb1, 0xfb, 0xe6, 0x13, 0xa1, 0xa0, 0x14, 0x08, 0x1d, 0x18, 0x08, 0x25, - 0x3e, 0x42, 0x9a, 0xf3, 0x72, 0xac, 0x0f, 0xbb, 0xf9, 0x0b, 0x00, 0x00, 0xff, 0xff, 0xb3, 0x59, - 0xfc, 0x62, 0x05, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/matching_function_operator.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/matching_function_operator.pb.go deleted file mode 100644 index b55a9b48..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/matching_function_operator.pb.go +++ /dev/null @@ -1,144 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/matching_function_operator.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible operators in a matching function. -type MatchingFunctionOperatorEnum_MatchingFunctionOperator int32 - -const ( - // Not specified. - MatchingFunctionOperatorEnum_UNSPECIFIED MatchingFunctionOperatorEnum_MatchingFunctionOperator = 0 - // Used for return value only. Represents value unknown in this version. - MatchingFunctionOperatorEnum_UNKNOWN MatchingFunctionOperatorEnum_MatchingFunctionOperator = 1 - // The IN operator. - MatchingFunctionOperatorEnum_IN MatchingFunctionOperatorEnum_MatchingFunctionOperator = 2 - // The IDENTITY operator. - MatchingFunctionOperatorEnum_IDENTITY MatchingFunctionOperatorEnum_MatchingFunctionOperator = 3 - // The EQUALS operator - MatchingFunctionOperatorEnum_EQUALS MatchingFunctionOperatorEnum_MatchingFunctionOperator = 4 - // Operator that takes two or more operands that are of type - // FunctionOperand and checks that all the operands evaluate to true. - // For functions related to ad formats, all the operands must be in - // left_operands. - MatchingFunctionOperatorEnum_AND MatchingFunctionOperatorEnum_MatchingFunctionOperator = 5 - // Operator that returns true if the elements in left_operands contain any - // of the elements in right_operands. Otherwise, return false. The - // right_operands must contain at least 1 and no more than 3 - // ConstantOperands. - MatchingFunctionOperatorEnum_CONTAINS_ANY MatchingFunctionOperatorEnum_MatchingFunctionOperator = 6 -) - -var MatchingFunctionOperatorEnum_MatchingFunctionOperator_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "IN", - 3: "IDENTITY", - 4: "EQUALS", - 5: "AND", - 6: "CONTAINS_ANY", -} - -var MatchingFunctionOperatorEnum_MatchingFunctionOperator_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "IN": 2, - "IDENTITY": 3, - "EQUALS": 4, - "AND": 5, - "CONTAINS_ANY": 6, -} - -func (x MatchingFunctionOperatorEnum_MatchingFunctionOperator) String() string { - return proto.EnumName(MatchingFunctionOperatorEnum_MatchingFunctionOperator_name, int32(x)) -} - -func (MatchingFunctionOperatorEnum_MatchingFunctionOperator) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1f697a3cbc0c2fe4, []int{0, 0} -} - -// Container for enum describing matching function operator. -type MatchingFunctionOperatorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MatchingFunctionOperatorEnum) Reset() { *m = MatchingFunctionOperatorEnum{} } -func (m *MatchingFunctionOperatorEnum) String() string { return proto.CompactTextString(m) } -func (*MatchingFunctionOperatorEnum) ProtoMessage() {} -func (*MatchingFunctionOperatorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_1f697a3cbc0c2fe4, []int{0} -} - -func (m *MatchingFunctionOperatorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MatchingFunctionOperatorEnum.Unmarshal(m, b) -} -func (m *MatchingFunctionOperatorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MatchingFunctionOperatorEnum.Marshal(b, m, deterministic) -} -func (m *MatchingFunctionOperatorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_MatchingFunctionOperatorEnum.Merge(m, src) -} -func (m *MatchingFunctionOperatorEnum) XXX_Size() int { - return xxx_messageInfo_MatchingFunctionOperatorEnum.Size(m) -} -func (m *MatchingFunctionOperatorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_MatchingFunctionOperatorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_MatchingFunctionOperatorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.MatchingFunctionOperatorEnum_MatchingFunctionOperator", MatchingFunctionOperatorEnum_MatchingFunctionOperator_name, MatchingFunctionOperatorEnum_MatchingFunctionOperator_value) - proto.RegisterType((*MatchingFunctionOperatorEnum)(nil), "google.ads.googleads.v2.enums.MatchingFunctionOperatorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/matching_function_operator.proto", fileDescriptor_1f697a3cbc0c2fe4) -} - -var fileDescriptor_1f697a3cbc0c2fe4 = []byte{ - // 345 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x4d, 0x6a, 0xf3, 0x30, - 0x14, 0xfc, 0xec, 0x7c, 0x75, 0x8a, 0x12, 0xa8, 0xd0, 0xaa, 0x94, 0x64, 0x91, 0x1c, 0x40, 0x06, - 0x77, 0xa7, 0x42, 0x41, 0x49, 0x9c, 0x60, 0xda, 0x2a, 0x29, 0xf9, 0x29, 0x29, 0x86, 0xa0, 0xc6, - 0xae, 0x6a, 0x88, 0x25, 0x63, 0xd9, 0xb9, 0x49, 0x2f, 0xd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xb7, - 0x55, 0x31, 0xfe, 0x33, 0xdb, 0xa0, 0x7b, 0xea, 0xb4, 0x59, 0x11, 0x6e, 0x66, 0x3c, 0x0f, 0x6a, - 0xbd, 0x50, 0x3b, 0x2e, 0x05, 0x56, 0xa9, 0xb0, 0x45, 0x28, 0xcb, 0xe8, 0x87, 0xae, 0x93, 0x48, - 0x9f, 0xa8, 0xfe, 0xa6, 0x7c, 0x3f, 0xcc, 0xc6, 0x84, 0xd2, 0x4f, 0xb3, 0x3b, 0xa9, 0xac, 0x68, - 0xa0, 0x71, 0x05, 0x0b, 0xb4, 0x72, 0x70, 0x51, 0x93, 0xfe, 0x3a, 0xf0, 0x3e, 0x0d, 0xb4, 0x7f, - 0xe4, 0xfd, 0x95, 0xe3, 0x97, 0xfc, 0xb7, 0xd9, 0xab, 0x3e, 0x09, 0xa1, 0x81, 0x26, 0xe4, 0x38, - 0x41, 0xc8, 0xca, 0x21, 0xa4, 0x9c, 0x79, 0xb1, 0xca, 0xc3, 0xae, 0x7f, 0x03, 0x00, 0x00, 0xff, - 0xff, 0xde, 0x2f, 0x12, 0xd6, 0x12, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/media_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/media_type.pb.go deleted file mode 100644 index a94281b1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/media_type.pb.go +++ /dev/null @@ -1,144 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/media_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_e1c9415301a4e420, []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_e1c9415301a4e420, []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 (m *MediaTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_MediaTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.MediaTypeEnum_MediaType", MediaTypeEnum_MediaType_name, MediaTypeEnum_MediaType_value) - proto.RegisterType((*MediaTypeEnum)(nil), "google.ads.googleads.v2.enums.MediaTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/media_type.proto", fileDescriptor_e1c9415301a4e420) -} - -var fileDescriptor_e1c9415301a4e420 = []byte{ - // 338 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x4f, 0x4e, 0x83, 0x40, - 0x18, 0xc5, 0x85, 0xfe, 0xb3, 0x53, 0xab, 0x23, 0x4b, 0x63, 0x17, 0xed, 0x01, 0x86, 0x04, 0x77, - 0xe3, 0x6a, 0x28, 0xd8, 0x4c, 0x14, 0x68, 0xa2, 0x60, 0x34, 0x24, 0x0d, 0x0a, 0x21, 0x24, 0x65, - 0x86, 0x74, 0x68, 0x93, 0x5e, 0xc1, 0x63, 0xb8, 0xf4, 0x28, 0x5e, 0x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 0xe7, 0x2d, 0x65, 0x84, 0xa5, 0xf6, 0x6c, 0xff, 0x2e, 0xe4, 0x7c, 0x9d, 0xb0, 0x1c, 0xf1, - 0x4d, 0x6e, 0xe6, 0x19, 0x6b, 0x02, 0x1e, 0x1a, 0xac, 0x0a, 0xf1, 0x47, 0xa1, 0xd7, 0xcd, 0xfb, - 0xae, 0x77, 0x16, 0x84, 0x7c, 0xe8, 0x93, 0x85, 0xb2, 0x22, 0xa9, 0x40, 0x4a, 0x4a, 0x15, 0x59, - 0x48, 0x76, 0x23, 0x3e, 0x0f, 0xf3, 0x98, 0xa4, 0x22, 0x6e, 0xe7, 0x71, 0x64, 0xc5, 0xcd, 0xfc, - 0x5b, 0x9f, 0xaa, 0x4f, 0x8c, 0x49, 0x2a, 0x30, 0x6e, 0x09, 0x8c, 0x23, 0x0b, 0xe3, 0x86, 0x79, - 0xe9, 0x37, 0x87, 0x5d, 0xfd, 0x04, 0x00, 0x00, 0xff, 0xff, 0x42, 0x0d, 0xc8, 0x96, 0xe8, 0x01, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/merchant_center_link_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/merchant_center_link_status.pb.go deleted file mode 100644 index 9d9cd714..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/merchant_center_link_status.pb.go +++ /dev/null @@ -1,127 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/merchant_center_link_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Describes the possible statuses for a link between a Google Ads customer -// and a Google Merchant Center account. -type MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus int32 - -const ( - // Not specified. - MerchantCenterLinkStatusEnum_UNSPECIFIED MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus = 0 - // Used for return value only. Represents value unknown in this version. - MerchantCenterLinkStatusEnum_UNKNOWN MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus = 1 - // The link is enabled. - MerchantCenterLinkStatusEnum_ENABLED MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus = 2 - // The link has no effect. It was proposed by the Merchant Center Account - // owner and hasn't been confirmed by the customer. - MerchantCenterLinkStatusEnum_PENDING MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus = 3 -) - -var MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "ENABLED", - 3: "PENDING", -} - -var MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "ENABLED": 2, - "PENDING": 3, -} - -func (x MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus) String() string { - return proto.EnumName(MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus_name, int32(x)) -} - -func (MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0640355d09949a0f, []int{0, 0} -} - -// Container for enum describing possible statuses of a Google Merchant Center -// link. -type MerchantCenterLinkStatusEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MerchantCenterLinkStatusEnum) Reset() { *m = MerchantCenterLinkStatusEnum{} } -func (m *MerchantCenterLinkStatusEnum) String() string { return proto.CompactTextString(m) } -func (*MerchantCenterLinkStatusEnum) ProtoMessage() {} -func (*MerchantCenterLinkStatusEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_0640355d09949a0f, []int{0} -} - -func (m *MerchantCenterLinkStatusEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MerchantCenterLinkStatusEnum.Unmarshal(m, b) -} -func (m *MerchantCenterLinkStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MerchantCenterLinkStatusEnum.Marshal(b, m, deterministic) -} -func (m *MerchantCenterLinkStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_MerchantCenterLinkStatusEnum.Merge(m, src) -} -func (m *MerchantCenterLinkStatusEnum) XXX_Size() int { - return xxx_messageInfo_MerchantCenterLinkStatusEnum.Size(m) -} -func (m *MerchantCenterLinkStatusEnum) XXX_DiscardUnknown() { - xxx_messageInfo_MerchantCenterLinkStatusEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_MerchantCenterLinkStatusEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus", MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus_name, MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus_value) - proto.RegisterType((*MerchantCenterLinkStatusEnum)(nil), "google.ads.googleads.v2.enums.MerchantCenterLinkStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/merchant_center_link_status.proto", fileDescriptor_0640355d09949a0f) -} - -var fileDescriptor_0640355d09949a0f = []byte{ - // 315 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x41, 0x6a, 0xeb, 0x30, - 0x14, 0xfc, 0x71, 0xe0, 0x17, 0x94, 0x45, 0x4d, 0x56, 0xa5, 0x24, 0x8b, 0xe4, 0x00, 0x12, 0xb8, - 0x3b, 0x75, 0x51, 0xe4, 0x44, 0x0d, 0xa1, 0xa9,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0xce, - 0x6b, 0x7c, 0xbe, 0x97, 0x7a, 0xcf, 0x95, 0x84, 0xba, 0x94, 0x48, 0x0a, 0xe5, 0x9f, 0x55, 0x17, - 0x79, 0xc8, 0x4d, 0x4b, 0xaf, 0xb7, 0xfe, 0xfb, 0x11, 0x74, 0x67, 0x84, 0x7c, 0x06, 0xc3, 0x59, - 0x25, 0x45, 0x32, 0x03, 0x2b, 0xe8, 0xd0, 0x3a, 0x82, 0xae, 0x03, 0xf3, 0x55, 0xf3, 0x29, 0xc9, - 0x4c, 0xda, 0xf0, 0xe9, 0x3a, 0x4a, 0x3d, 0xff, 0x1d, 0x8c, 0xaa, 0x9f, 0x18, 0x93, 0xcc, 0x60, - 0xdc, 0x6c, 0x60, 0xbc, 0x8e, 0x30, 0xf6, 0x3b, 0x6f, 0xff, 0x7d, 0xb0, 0x9b, 0xdf, 0x00, 0x00, - 0x00, 0xff, 0xff, 0xee, 0xcf, 0x07, 0xa2, 0xef, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/message_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/message_placeholder_field.pb.go deleted file mode 100644 index b4500c68..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/message_placeholder_field.pb.go +++ /dev/null @@ -1,142 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/message_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_1c878148ae5f7b04, []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_1c878148ae5f7b04, []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 (m *MessagePlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_MessagePlaceholderFieldEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.MessagePlaceholderFieldEnum_MessagePlaceholderField", MessagePlaceholderFieldEnum_MessagePlaceholderField_name, MessagePlaceholderFieldEnum_MessagePlaceholderField_value) - proto.RegisterType((*MessagePlaceholderFieldEnum)(nil), "google.ads.googleads.v2.enums.MessagePlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/message_placeholder_field.proto", fileDescriptor_1c878148ae5f7b04) -} - -var fileDescriptor_1c878148ae5f7b04 = []byte{ - // 370 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0x4f, 0x4e, 0xb3, 0x40, - 0x1c, 0xfd, 0xa0, 0x9f, 0x35, 0x99, 0x6a, 0x44, 0x16, 0x9a, 0xd4, 0x76, 0xd1, 0x1e, 0x60, 0x48, - 0x70, 0x37, 0xc6, 0x05, 0xb4, 0xd3, 0x4a, 0x0c, 0x03, 0x29, 0x50, 0xab, 0x21, 0x21, 0x58, 0x46, - 0x24, 0x01, 0x86, 0x74, 0xda, 0x9e, 0xc6, 0x95, 0x4b, 0xcf, 0xe0, 0x09, 0x3c, 0x8a, 0x3b, 0x6f, - 0x60, 0x00, 0xa9, 0xab, 0xba, 0x99, 0xbc, 0xfc, 0xde, 0x9f, 0x99, 0x79, 0x3f, 0x70, 0x1d, 0x33, - 0x16, 0xa7, 0x54, 0x09, 0x23, 0xae, 0xd4, 0xb0, 0x44, 0x5b, 0x55, 0xa1, 0xf9, 0x26, 0xe3, 0x4a, - 0x46, 0x39, 0x0f, 0x63, 0x1a, 0x14, 0x69, 0xb8, 0xa4, 0xcf, 0x2c, 0x8d, 0xe8, 0x2a, 0x78, 0x4a, - 0x68, 0x1a, 0xc1, 0x62, 0xc5, 0xd6, 0x4c, 0xee, 0xd7, 0x1e, 0x18, 0x46, 0x1c, 0xee, 0xec, 0x70, - 0xab, 0xc2, 0xca, 0xde, 0xed, 0x35, 0xe9, 0x45, 0xa2, 0x84, 0x79, 0xce, 0xd6, 0xe1, 0x3a, 0x61, - 0x39, 0xaf, 0xcd, 0xc3, 0x77, 0x01, 0x5c, 0x98, 0xf5, 0x05, 0xf6, 0x6f, 0xfe, 0xa4, 0x8c, 0xc7, - 0xf9, 0x26, 0x1b, 0xbe, 0x08, 0xe0, 0x7c, 0x0f, 0x2f, 0x9f, 0x80, 0x8e, 0x47, 0x1c, 0x1b, 0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x76, 0xf9, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x54, 0x9a, 0xb5, 0x61, 0x37, 0x02, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/mime_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/mime_type.pb.go deleted file mode 100644 index 0a7fadfa..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/mime_type.pb.go +++ /dev/null @@ -1,171 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/mime_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_d5aa09a8cc22aa86, []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_d5aa09a8cc22aa86, []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 (m *MimeTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_MimeTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.MimeTypeEnum_MimeType", MimeTypeEnum_MimeType_name, MimeTypeEnum_MimeType_value) - proto.RegisterType((*MimeTypeEnum)(nil), "google.ads.googleads.v2.enums.MimeTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/mime_type.proto", fileDescriptor_d5aa09a8cc22aa86) -} - -var fileDescriptor_d5aa09a8cc22aa86 = []byte{ - // 396 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xc1, 0x6e, 0x9b, 0x40, - 0x10, 0x86, 0x0b, 0x6e, 0xec, 0x78, 0x6d, 0xb7, 0xab, 0x3d, 0x56, 0xcd, 0x21, 0xb9, 0x77, 0x91, - 0x88, 0x7a, 0xd9, 0x9e, 0xd6, 0x61, 0x21, 0xb4, 0x06, 0xaf, 0x02, 0xc6, 0x51, 0x84, 0x84, 0x68, - 0x41, 0x08, 0x29, 0xb0, 0xc8, 0x8b, 0x2d, 0xf9, 0x75, 0x7a, 0xec, 0xa3, 0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 0x97, 0xea, 0x4d, 0x5e, 0xc0, 0x1e, 0xef, 0xd8, 0x0a, 0x4e, 0x15, 0xf1, 0x10, 0xda, 0x10, - 0xa8, 0x49, 0xba, 0xb1, 0xdc, 0x75, 0xb2, 0xa5, 0x11, 0x9c, 0x9d, 0x4b, 0x8f, 0xdf, 0xc2, 0x39, - 0x82, 0x60, 0xae, 0x56, 0xbe, 0x4f, 0xa8, 0x95, 0x3c, 0xb9, 0x1c, 0x2e, 0x96, 0xbf, 0x34, 0x70, - 0xfd, 0x45, 0x54, 0xf8, 0xbf, 0x11, 0x2d, 0x17, 0xc3, 0x0f, 0x73, 0x95, 0x09, 0xd7, 0x9e, 0x96, - 0x7f, 0xf9, 0x42, 0x3c, 0xa7, 0x75, 0x81, 0xc5, 0xae, 0x30, 0x8a, 0xbc, 0xee, 0x12, 0x1b, 0x2e, - 0xd2, 0x94, 0xf2, 0x1f, 0x07, 0xfa, 0xd0, 0x3d, 0xbf, 0xea, 0x23, 0x87, 0xd2, 0x6f, 0xfa, 0x95, - 0xd3, 0xaf, 0xa2, 0x99, 0xc4, 0xbd, 0x54, 0x2a, 0x32, 0xb1, 0x4a, 0x5b, 0x7e, 0x1f, 0xfc, 0x98, - 0x66, 0x32, 0x3e, 0xf9, 0x71, 0x64, 0xc6, 0x9d, 0xff, 0x5b, 0xbf, 0xee, 0x9b, 0x84, 0xd0, 0x4c, - 0x12, 0x72, 0x22, 0x08, 0x89, 0x4c, 0x42, 0x3a, 0xe6, 0xf3, 0xb8, 0xfb, 0xb0, 0xdb, 0x3f, 0x01, - 0x00, 0x00, 0xff, 0xff, 0xba, 0x09, 0xfd, 0x78, 0x38, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/minute_of_hour.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/minute_of_hour.pb.go deleted file mode 100644 index 2df3922f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/minute_of_hour.pb.go +++ /dev/null @@ -1,133 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/minute_of_hour.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_d5c875df57002631, []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_d5c875df57002631, []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 (m *MinuteOfHourEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_MinuteOfHourEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.MinuteOfHourEnum_MinuteOfHour", MinuteOfHourEnum_MinuteOfHour_name, MinuteOfHourEnum_MinuteOfHour_value) - proto.RegisterType((*MinuteOfHourEnum)(nil), "google.ads.googleads.v2.enums.MinuteOfHourEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/minute_of_hour.proto", fileDescriptor_d5c875df57002631) -} - -var fileDescriptor_d5c875df57002631 = []byte{ - // 321 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00,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x6d, 0x1d, 0xa1, - 0xae, 0x3f, 0x71, 0x66, 0xfe, 0x02, 0x77, 0xf4, 0x73, 0x84, 0x6c, 0x6f, 0xe6, 0x2f, 0x22, 0xdb, - 0x09, 0x18, 0x3e, 0x1e, 0x7d, 0xb5, 0xd0, 0xe0, 0x15, 0x0a, 0xf2, 0x6f, 0xf1, 0xd1, 0xe5, 0x61, - 0x89, 0x69, 0xd3, 0x76, 0xda, 0x5a, 0x8e, 0x7e, 0x3d, 0x19, 0xac, 0x63, 0x9e, 0x11, 0x28, 0x33, - 0x23, 0x4b, 0xb9, 0xfc, 0xcb, 0x6e, 0xb0, 0x4d, 0x2e, 0xfe, 0xd8, 0xef, 0x56, 0xbe, 0xef, 0x5a, - 0x7b, 0x6c, 0x59, 0x1f, 0x5a, 0x7f, 0xac, 0xa2, 0xac, 0x44, 0x10, 0x05, 0x1b, 0x14, 0x98, 0xa4, - 0x19, 0x41, 0x7c, 0xee, 0xf8, 0xd0, 0x4a, 0x44, 0xb8, 0xe7, 0xc3, 0xc0, 0x0c, 0x25, 0xff, 0xad, - 0x0d, 0xd4, 0x91, 0x52, 0x2b, 0x11, 0x94, 0xee, 0x15, 0x94, 0x06, 0x26, 0xa5, 0x52, 0xf3, 0xd2, - 0x95, 0xc5, 0x6e, 0x7e, 0x02, 0x00, 0x00, 0xff, 0xff, 0x75, 0x0b, 0x2d, 0xe3, 0xd7, 0x01, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/mobile_device_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/mobile_device_type.pb.go deleted file mode 100644 index e3a4472c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/mobile_device_type.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/mobile_device_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The type of mobile device. -type MobileDeviceTypeEnum_MobileDeviceType int32 - -const ( - // Not specified. - MobileDeviceTypeEnum_UNSPECIFIED MobileDeviceTypeEnum_MobileDeviceType = 0 - // Used for return value only. Represents value unknown in this version. - MobileDeviceTypeEnum_UNKNOWN MobileDeviceTypeEnum_MobileDeviceType = 1 - // Mobile phones. - MobileDeviceTypeEnum_MOBILE MobileDeviceTypeEnum_MobileDeviceType = 2 - // Tablets. - MobileDeviceTypeEnum_TABLET MobileDeviceTypeEnum_MobileDeviceType = 3 -) - -var MobileDeviceTypeEnum_MobileDeviceType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "MOBILE", - 3: "TABLET", -} - -var MobileDeviceTypeEnum_MobileDeviceType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "MOBILE": 2, - "TABLET": 3, -} - -func (x MobileDeviceTypeEnum_MobileDeviceType) String() string { - return proto.EnumName(MobileDeviceTypeEnum_MobileDeviceType_name, int32(x)) -} - -func (MobileDeviceTypeEnum_MobileDeviceType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_5e403a42cd2383c3, []int{0, 0} -} - -// Container for enum describing the types of mobile device. -type MobileDeviceTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MobileDeviceTypeEnum) Reset() { *m = MobileDeviceTypeEnum{} } -func (m *MobileDeviceTypeEnum) String() string { return proto.CompactTextString(m) } -func (*MobileDeviceTypeEnum) ProtoMessage() {} -func (*MobileDeviceTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_5e403a42cd2383c3, []int{0} -} - -func (m *MobileDeviceTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MobileDeviceTypeEnum.Unmarshal(m, b) -} -func (m *MobileDeviceTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MobileDeviceTypeEnum.Marshal(b, m, deterministic) -} -func (m *MobileDeviceTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_MobileDeviceTypeEnum.Merge(m, src) -} -func (m *MobileDeviceTypeEnum) XXX_Size() int { - return xxx_messageInfo_MobileDeviceTypeEnum.Size(m) -} -func (m *MobileDeviceTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_MobileDeviceTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_MobileDeviceTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.MobileDeviceTypeEnum_MobileDeviceType", MobileDeviceTypeEnum_MobileDeviceType_name, MobileDeviceTypeEnum_MobileDeviceType_value) - proto.RegisterType((*MobileDeviceTypeEnum)(nil), "google.ads.googleads.v2.enums.MobileDeviceTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/mobile_device_type.proto", fileDescriptor_5e403a42cd2383c3) -} - -var fileDescriptor_5e403a42cd2383c3 = []byte{ - // 306 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x4f, 0x4b, 0xfb, 0x30, - 0x18, 0xfe, 0xad, 0x83, 0xfd, 0x20, 0x3b, 0x58, 0x8a, 0x5e, 0xc4, 0x1d, 0xb6, 0x0f, 0x90, 0x40, - 0x05, 0x0f, 0xf1, 0x94, 0xba, 0x3a, 0x87, 0x5b, 0x57, 0xb0, 0xab, 0x20, 0x85, 0xd9, 0x2d, 0x21, - 0x14, 0xda, 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c, 0x7b, 0xa5, 0x32, 0x53, 0xbf, 0x1c, 0xed, 0x5e, - 0xbf, 0x1f, 0x56, 0x7f, 0x46, 0xc8, 0xa7, 0x35, 0x9a, 0x99, 0x28, 0x42, 0x15, 0x34, 0xb0, 0x41, - 0xb1, 0x0b, 0x9b, 0x8d, 0xd5, 0x57, 0xcb, 0x27, 0x84, 0xaa, 0xa4, 0xe3, 0x93, 0xd8, 0x4d, 0x34, - 0x7f, 0xb2, 0xc6, 0x66, 0x88, 0x31, 0xa1, 0x0a, 0xe3, 0x4e, 0x81, 0x71, 0xec, 0x62, 0xac, 0x35, - 0xdb, 0x81, 0x2e, 0x76, 0xfb, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x39, 0xe7, 0x2f, 0x43, 0xcc, 0x01, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/month_of_year.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/month_of_year.pb.go deleted file mode 100644 index 4bac08cb..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/month_of_year.pb.go +++ /dev/null @@ -1,169 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/month_of_year.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_e16e44aeadbe2fc9, []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_e16e44aeadbe2fc9, []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 (m *MonthOfYearEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_MonthOfYearEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.MonthOfYearEnum_MonthOfYear", MonthOfYearEnum_MonthOfYear_name, MonthOfYearEnum_MonthOfYear_value) - proto.RegisterType((*MonthOfYearEnum)(nil), "google.ads.googleads.v2.enums.MonthOfYearEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/month_of_year.proto", fileDescriptor_e16e44aeadbe2fc9) -} - -var fileDescriptor_e16e44aeadbe2fc9 = []byte{ - // 390 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0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f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xca, 0x04, - 0xe3, 0xe0, 0x34, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/mutate_job_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/mutate_job_status.pb.go deleted file mode 100644 index 580af86f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/mutate_job_status.pb.go +++ /dev/null @@ -1,128 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/mutate_job_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The mutate job statuses. -type MutateJobStatusEnum_MutateJobStatus int32 - -const ( - // Not specified. - MutateJobStatusEnum_UNSPECIFIED MutateJobStatusEnum_MutateJobStatus = 0 - // Used for return value only. Represents value unknown in this version. - MutateJobStatusEnum_UNKNOWN MutateJobStatusEnum_MutateJobStatus = 1 - // The job is not currently running. - MutateJobStatusEnum_PENDING MutateJobStatusEnum_MutateJobStatus = 2 - // The job is running. - MutateJobStatusEnum_RUNNING MutateJobStatusEnum_MutateJobStatus = 3 - // The job is done. - MutateJobStatusEnum_DONE MutateJobStatusEnum_MutateJobStatus = 4 -) - -var MutateJobStatusEnum_MutateJobStatus_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "PENDING", - 3: "RUNNING", - 4: "DONE", -} - -var MutateJobStatusEnum_MutateJobStatus_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "PENDING": 2, - "RUNNING": 3, - "DONE": 4, -} - -func (x MutateJobStatusEnum_MutateJobStatus) String() string { - return proto.EnumName(MutateJobStatusEnum_MutateJobStatus_name, int32(x)) -} - -func (MutateJobStatusEnum_MutateJobStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_490379a8b99aa7bf, []int{0, 0} -} - -// Container for enum describing possible mutate job statuses. -type MutateJobStatusEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateJobStatusEnum) Reset() { *m = MutateJobStatusEnum{} } -func (m *MutateJobStatusEnum) String() string { return proto.CompactTextString(m) } -func (*MutateJobStatusEnum) ProtoMessage() {} -func (*MutateJobStatusEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_490379a8b99aa7bf, []int{0} -} - -func (m *MutateJobStatusEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateJobStatusEnum.Unmarshal(m, b) -} -func (m *MutateJobStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateJobStatusEnum.Marshal(b, m, deterministic) -} -func (m *MutateJobStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateJobStatusEnum.Merge(m, src) -} -func (m *MutateJobStatusEnum) XXX_Size() int { - return xxx_messageInfo_MutateJobStatusEnum.Size(m) -} -func (m *MutateJobStatusEnum) XXX_DiscardUnknown() { - xxx_messageInfo_MutateJobStatusEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateJobStatusEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.MutateJobStatusEnum_MutateJobStatus", MutateJobStatusEnum_MutateJobStatus_name, MutateJobStatusEnum_MutateJobStatus_value) - proto.RegisterType((*MutateJobStatusEnum)(nil), "google.ads.googleads.v2.enums.MutateJobStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/mutate_job_status.proto", fileDescriptor_490379a8b99aa7bf) -} - -var fileDescriptor_490379a8b99aa7bf = []byte{ - // 309 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xd1, 0x4a, 0xc3, 0x30, - 0x14, 0x75, 0xdd, 0x50, 0xc9, 0x1e, 0x56, 0xaa, 0x4f, 0xe2, 0x1e, 0xb6, 0x0f, 0x48, 0xa0, 0xe2, - 0x4b, 0x7c, 0xea, 0x5c, 0x1d, 0x53, 0xcc, 0x8a, 0xa5, 0x15, 0xa4, 0x30, 0x52, 0x5b, 0x42, 0xc7, - 0x9a, 0x94, 0x25, 0xdd, 0x07, 0xf9, 0xe8, 0xa7, 0xf8, 0x27, 0xfa, 0x15, 0x92, 0x74, 0xed, 0xc3, - 0x40, 0x5f, 0xc2, 0xb9, 0xf7, 0x9e, 0x73, 0x72, 0xee, 0x05, 0xb7, 0x4c, 0x08, 0xb6, 0xcd, 0x11, - 0xcd, 0x24, 0x6a, 0xa0, 0x46, 0x7b, 0x17, 0xe5, 0xbc, 0x2e, 0x25, 0x2a, 0x6b, 0x45, 0x55, 0xbe, - 0xde, 0x88, 0x74, 0x2d, 0x15, 0x55, 0xb5, 0x84, 0xd5, 0x4e, 0x28, 0xe1, 0x8c, 0x1b, 0x2e, 0xa4, - 0x99, 0x84, 0x9d, 0x0c, 0xee, 0x5d, 0x68, 0x64, 0x57, 0xd7, 0xad, 0x6b, 0x55, 0x20, 0xca, 0xb9, - 0x50, 0x54, 0x15, 0x82, 0x1f, 0xc4, 0xd3, 0x0d, 0xb8, 0x78, 0x36, 0xbe, 0x8f, 0x22, 0x0d, 0x8d, - 0xab, 0xcf, 0xeb, 0x72, 0x1a, 0x82, 0xd1, 0x51, 0xdb, 0x19, 0x81, 0x61, 0x44, 0xc2, 0xc0, 0xbf, - 0x5f, 0x3e, 0x2c, 0xfd, 0xb9, 0x7d, 0xe2, 0x0c, 0xc1, 0x59, 0x44, 0x9e, 0xc8, 0xea, 0x95, 0xd8, - 0x3d, 0x5d, 0x04, 0x3e, 0x99, 0x2f, 0xc9, 0xc2, 0xb6, 0x74, 0xf1, 0x12, 0x11, 0xa2, 0x8b, 0xbe, - 0x73, 0x0e, 0x06, 0xf3, 0x15, 0xf1, 0xed, 0xc1, 0xec, 0xbb, 0x07, 0x26, 0xef, 0xa2, 0x84, 0xff, - 0xe6, 0x9d, 0x5d, 0x1e, 0x7d, 0x1c, 0xe8, 0x9c, 0x41, 0xef, 0x6d, 0x76, 0x90, 0x31, 0xb1, 0xa5, - 0x9c, 0x41, 0xb1, 0x63, 0x88, 0xe5, 0xdc, 0x6c, 0xd1, 0x5e, 0xab, 0x2a, 0xe4, 0x1f, 0xc7, 0xbb, - 0x33, 0xef, 0x87, 0xd5, 0x5f, 0x78, 0xde, 0xa7, 0x35, 0x5e, 0x34, 0x56, 0x5e, 0x26, 0x61, 0x03, - 0x35, 0x8a, 0x5d, 0xa8, 0x77, 0x97, 0x5f, 0xed, 0x3c, 0xf1, 0x32, 0x99, 0x74, 0xf3, 0x24, 0x76, - 0x13, 0x33, 0xff, 0xb1, 0x26, 0x4d, 0x13, 0x63, 0x2f, 0x93, 0x18, 0x77, 0x0c, 0x8c, 0x63, 0x17, - 0x63, 0xc3, 0x49, 0x4f, 0x4d, 0xb0, 0x9b, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x46, 0x3d, 0x65, - 0x08, 0xd4, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/negative_geo_target_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/negative_geo_target_type.pb.go deleted file mode 100644 index f21d6d6d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/negative_geo_target_type.pb.go +++ /dev/null @@ -1,127 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/negative_geo_target_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The possible negative geo target types. -type NegativeGeoTargetTypeEnum_NegativeGeoTargetType int32 - -const ( - // Not specified. - NegativeGeoTargetTypeEnum_UNSPECIFIED NegativeGeoTargetTypeEnum_NegativeGeoTargetType = 0 - // The value is unknown in this version. - NegativeGeoTargetTypeEnum_UNKNOWN NegativeGeoTargetTypeEnum_NegativeGeoTargetType = 1 - // Specifies that a user is excluded from seeing the ad if they - // are in, or show interest in, advertiser's excluded locations. - NegativeGeoTargetTypeEnum_PRESENCE_OR_INTEREST NegativeGeoTargetTypeEnum_NegativeGeoTargetType = 4 - // Specifies that a user is excluded from seeing the ad if they - // are in advertiser's excluded locations. - NegativeGeoTargetTypeEnum_PRESENCE NegativeGeoTargetTypeEnum_NegativeGeoTargetType = 5 -) - -var NegativeGeoTargetTypeEnum_NegativeGeoTargetType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 4: "PRESENCE_OR_INTEREST", - 5: "PRESENCE", -} - -var NegativeGeoTargetTypeEnum_NegativeGeoTargetType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "PRESENCE_OR_INTEREST": 4, - "PRESENCE": 5, -} - -func (x NegativeGeoTargetTypeEnum_NegativeGeoTargetType) String() string { - return proto.EnumName(NegativeGeoTargetTypeEnum_NegativeGeoTargetType_name, int32(x)) -} - -func (NegativeGeoTargetTypeEnum_NegativeGeoTargetType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_c8d8058d6d7174fa, []int{0, 0} -} - -// Container for enum describing possible negative geo target types. -type NegativeGeoTargetTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *NegativeGeoTargetTypeEnum) Reset() { *m = NegativeGeoTargetTypeEnum{} } -func (m *NegativeGeoTargetTypeEnum) String() string { return proto.CompactTextString(m) } -func (*NegativeGeoTargetTypeEnum) ProtoMessage() {} -func (*NegativeGeoTargetTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_c8d8058d6d7174fa, []int{0} -} - -func (m *NegativeGeoTargetTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NegativeGeoTargetTypeEnum.Unmarshal(m, b) -} -func (m *NegativeGeoTargetTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NegativeGeoTargetTypeEnum.Marshal(b, m, deterministic) -} -func (m *NegativeGeoTargetTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_NegativeGeoTargetTypeEnum.Merge(m, src) -} -func (m *NegativeGeoTargetTypeEnum) XXX_Size() int { - return xxx_messageInfo_NegativeGeoTargetTypeEnum.Size(m) -} -func (m *NegativeGeoTargetTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_NegativeGeoTargetTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_NegativeGeoTargetTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.NegativeGeoTargetTypeEnum_NegativeGeoTargetType", NegativeGeoTargetTypeEnum_NegativeGeoTargetType_name, NegativeGeoTargetTypeEnum_NegativeGeoTargetType_value) - proto.RegisterType((*NegativeGeoTargetTypeEnum)(nil), "google.ads.googleads.v2.enums.NegativeGeoTargetTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/negative_geo_target_type.proto", fileDescriptor_c8d8058d6d7174fa) -} - -var fileDescriptor_c8d8058d6d7174fa = []byte{ - // 323 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xdd, 0x4a, 0xc3, 0x30, - 0x1c, 0xc5, 0xdd, 0xfc, 0x24, 0x13, 0x2c, 0x45, 0x41, 0x87, 0xbb, 0xd8, 0x1e, 0x20, 0x81, 0x7a, - 0x17, 0xbd, 0xe9, 0x66, 0x1c, 0x43, 0xc8, 0xca, 0xd6, 0x4d, 0x90, 0x4a, 0x89, 0x36, 0x84, 0xc2, - 0x96, 0x94, 0x25, 0x1b, 0xcc, 0xc7, 0xf1, 0xd2, 0x47, 0xf1, 0x51, 0xbc, 0xf1, 0x15, 0xa4, 0xc9, - 0xba, 0xab, 0xe9, 0x4d, 0x39, 0xf4, 0xfc, 0x7f, 0x87, 0x93, 0x03, 0xee, 0x84, 0x52, 0x62, 0xc6, - 0x11, 0xcb, 0x34, 0x72, 0xb2, 0x54, 0xab, 0x00, 0x71, 0xb9, 0x9c, 0x6b, 0x24, 0xb9, 0x60, 0x26, - 0x5f, 0xf1, 0x54, 0x70, 0x95, 0x1a, 0xb6, 0x10, 0xdc, 0xa4, 0x66, 0x5d, 0x70, 0x58, 0x2c, 0x94, - 0x51, 0x7e, 0xcb, 0x21, 0x90, 0x65, 0x1a, 0x6e, 0x69, 0xb8, 0x0a, 0xa0, 0xa5, 0x9b, 0xd7, 0x55, - 0x78, 0x91, 0x23, 0x26, 0xa5, 0x32, 0xcc, 0xe4, 0x4a, 0x6a, 0x07, 0x77, 0xde, 0xc1, 0x15, 0xdd, - 0xc4, 0xf7, 0xb9, 0x8a, 0x6d, 0x78, 0xbc, 0x2e, 0x38, 0x91, 0xcb, 0x79, 0xe7, 0x05, 0x5c, 0xec, - 0x34, 0xfd, 0x33, 0xd0, 0x98, 0xd0, 0x71, 0x44, 0x7a, 0x83, 0x87, 0x01, 0xb9, 0xf7, 0xf6, 0xfc, - 0x06, 0x38, 0x9e, 0xd0, 0x47, 0x3a, 0x7c, 0xa2, 0x5e, 0xcd, 0xbf, 0x04, 0xe7, 0xd1, 0x88, 0x8c, - 0x09, 0xed, 0x91, 0x74, 0x38, 0x4a, 0x07, 0x34, 0x26, 0x23, 0x32, 0x8e, 0xbd, 0x03, 0xff, 0x14, - 0x9c, 0x54, 0x8e, 0x77, 0xd8, 0xfd, 0xa9, 0x81, 0xf6, 0x9b, 0x9a, 0xc3, 0x7f, 0xfb, 0x77, 0x9b, - 0x3b, 0x2b, 0x44, 0x65, 0xfb, 0xa8, 0xf6, 0xdc, 0xdd, 0xc0, 0x42, 0xcd, 0x98, 0x14, 0x50, 0x2d, - 0x04, 0x12, 0x5c, 0xda, 0xb7, 0x55, 0x53, 0x16, 0xb9, 0xfe, 0x63, 0xd9, 0x5b, 0xfb, 0xfd, 0xa8, - 0xef, 0xf7, 0xc3, 0xf0, 0xb3, 0xde, 0xea, 0xbb, 0xa8, 0x30, 0xd3, 0xd0, 0xc9, 0x52, 0x4d, 0x03, - 0x58, 0x6e, 0xa1, 0xbf, 0x2a, 0x3f, 0x09, 0x33, 0x9d, 0x6c, 0xfd, 0x64, 0x1a, 0x24, 0xd6, 0xff, - 0xae, 0xb7, 0xdd, 0x4f, 0x8c, 0xc3, 0x4c, 0x63, 0xbc, 0xbd, 0xc0, 0x78, 0x1a, 0x60, 0x6c, 0x6f, - 0x5e, 0x8f, 0x6c, 0xb1, 0x9b, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x38, 0x0f, 0x86, 0x8a, 0xf1, - 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/operating_system_version_operator_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/operating_system_version_operator_type.pb.go deleted file mode 100644 index 9a6a3f29..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/operating_system_version_operator_type.pb.go +++ /dev/null @@ -1,128 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/operating_system_version_operator_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The type of operating system version. -type OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType int32 - -const ( - // Not specified. - OperatingSystemVersionOperatorTypeEnum_UNSPECIFIED OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType = 0 - // Used for return value only. Represents value unknown in this version. - OperatingSystemVersionOperatorTypeEnum_UNKNOWN OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType = 1 - // Equals to the specified version. - OperatingSystemVersionOperatorTypeEnum_EQUALS_TO OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType = 2 - // Greater than or equals to the specified version. - OperatingSystemVersionOperatorTypeEnum_GREATER_THAN_EQUALS_TO OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType = 4 -) - -var OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "EQUALS_TO", - 4: "GREATER_THAN_EQUALS_TO", -} - -var OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "EQUALS_TO": 2, - "GREATER_THAN_EQUALS_TO": 4, -} - -func (x OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType) String() string { - return proto.EnumName(OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType_name, int32(x)) -} - -func (OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8dc6a61762ff6c58, []int{0, 0} -} - -// Container for enum describing the type of OS operators. -type OperatingSystemVersionOperatorTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OperatingSystemVersionOperatorTypeEnum) Reset() { - *m = OperatingSystemVersionOperatorTypeEnum{} -} -func (m *OperatingSystemVersionOperatorTypeEnum) String() string { return proto.CompactTextString(m) } -func (*OperatingSystemVersionOperatorTypeEnum) ProtoMessage() {} -func (*OperatingSystemVersionOperatorTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_8dc6a61762ff6c58, []int{0} -} - -func (m *OperatingSystemVersionOperatorTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OperatingSystemVersionOperatorTypeEnum.Unmarshal(m, b) -} -func (m *OperatingSystemVersionOperatorTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OperatingSystemVersionOperatorTypeEnum.Marshal(b, m, deterministic) -} -func (m *OperatingSystemVersionOperatorTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperatingSystemVersionOperatorTypeEnum.Merge(m, src) -} -func (m *OperatingSystemVersionOperatorTypeEnum) XXX_Size() int { - return xxx_messageInfo_OperatingSystemVersionOperatorTypeEnum.Size(m) -} -func (m *OperatingSystemVersionOperatorTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_OperatingSystemVersionOperatorTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_OperatingSystemVersionOperatorTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType", OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType_name, OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType_value) - proto.RegisterType((*OperatingSystemVersionOperatorTypeEnum)(nil), "google.ads.googleads.v2.enums.OperatingSystemVersionOperatorTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/operating_system_version_operator_type.proto", fileDescriptor_8dc6a61762ff6c58) -} - -var fileDescriptor_8dc6a61762ff6c58 = []byte{ - // 338 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x51, 0x4f, 0x4b, 0xc3, 0x30, - 0x1c, 0xb5, 0x55, 0x14, 0x33, 0xc4, 0xd1, 0x83, 0x87, 0xe1, 0x0e, 0xdb, 0x41, 0x6f, 0x29, 0xd4, - 0x5b, 0x3c, 0x65, 0x5a, 0xe7, 0x54, 0xda, 0xb9, 0x75, 0x15, 0xa4, 0x10, 0xaa, 0x0d, 0xa1, 0xb0, - 0x26, 0xa5, 0xc9, 0x06, 0xfb, 0x24, 0xde, 0x3d, 0xfa, 0x51, 0xfc, 0x28, 0x7e, 0x06, 0x0f, 0xd2, - 0x64, 0x9d, 0x27, 0xdd, 0x25, 0x3c, 0xf2, 0xde, 0xef, 0xbd, 0xdf, 0x1f, 0x70, 0xc7, 0x84, 0x60, - 0x73, 0xea, 0xa6, 0x99, 0x74, 0x0d, 0xac, 0xd1, 0xd2, 0x73, 0x29, 0x5f, 0x14, 0xd2, 0x15, 0x25, - 0xad, 0x52, 0x95, 0x73, 0x46, 0xe4, 0x4a, 0x2a, 0x5a, 0x90, 0x25, 0xad, 0x64, 0x2e, 0x38, 0x31, - 0x84, 0xa8, 0x88, 0x5a, 0x95, 0x14, 0x96, 0x95, 0x50, 0xc2, 0xe9, 0x1a, 0x03, 0x98, 0x66, 0x12, - 0x6e, 0xbc, 0xe0, 0xd2, 0x83, 0xda, 0xab, 0x73, 0xda, 0x44, 0x95, 0xb9, 0x9b, 0x72, 0x2e, 0x54, - 0xaa, 0x72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 0x00, 0x00, 0xff, 0xff, 0x8d, 0xa9, 0x10, 0x7b, 0x2a, 0x02, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/page_one_promoted_strategy_goal.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/page_one_promoted_strategy_goal.pb.go deleted file mode 100644 index b699d295..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/page_one_promoted_strategy_goal.pb.go +++ /dev/null @@ -1,126 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/page_one_promoted_strategy_goal.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_fa6699fb0409480c, []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_fa6699fb0409480c, []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 (m *PageOnePromotedStrategyGoalEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PageOnePromotedStrategyGoalEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.PageOnePromotedStrategyGoalEnum_PageOnePromotedStrategyGoal", PageOnePromotedStrategyGoalEnum_PageOnePromotedStrategyGoal_name, PageOnePromotedStrategyGoalEnum_PageOnePromotedStrategyGoal_value) - proto.RegisterType((*PageOnePromotedStrategyGoalEnum)(nil), "google.ads.googleads.v2.enums.PageOnePromotedStrategyGoalEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/page_one_promoted_strategy_goal.proto", fileDescriptor_fa6699fb0409480c) -} - -var fileDescriptor_fa6699fb0409480c = []byte{ - // 331 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcd, 0x4a, 0xc3, 0x40, - 0x18, 0x34, 0x29, 0x28, 0x6c, 0x41, 0x43, 0x3c, 0x08, 0x6a, 0xd1, 0xf6, 0x01, 0x36, 0x10, 0x6f, - 0xeb, 0x29, 0x6d, 0xd3, 0x50, 0xc4, 0x64, 0xe9, 0x9f, 0x20, 0x81, 0xb0, 0xba, 0xcb, 0x52, 0x48, - 0xf6, 0x0b, 0xd9, 0xb4, 0xe0, 0x13, 0xf8, 0x1e, 0x1e, 0x7d, 0x14, 0x1f, 0xc5, 0xbb, 0x77, 0x49, - 0xd2, 0xd6, 0x93, 0xb9, 0x84, 0xc9, 0x7e, 0xf3, 0xcd, 0x7c, 0x33, 0x68, 0x24, 0x01, 0x64, 0x2a, - 0x1c, 0xc6, 0xb5, 0xd3, 0xc0, 0x0a, 0x6d, 0x5d, 0x47, 0xa8, 0x4d, 0xa6, 0x9d, 0x9c, 0x49, 0x91, - 0x80, 0x12, 0x49, 0x5e, 0x40, 0x06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bf, 0xf6, 0xf3, 0xd8, 0xe3, - 0x3a, 0x3e, 0xcc, 0xe3, 0x95, 0x1b, 0xd7, 0xf3, 0x6f, 0xb3, 0xdf, 0x3c, 0x12, 0xe2, 0x71, 0x4d, - 0xc8, 0x81, 0x41, 0xc8, 0xca, 0x25, 0xa4, 0xe6, 0xbc, 0x1c, 0xd7, 0x87, 0xdd, 0xfd, 0x06, 0x00, - 0x00, 0xff, 0xff, 0xde, 0xcf, 0x7d, 0xf3, 0x0c, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/parental_status_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/parental_status_type.pb.go deleted file mode 100644 index 38345724..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/parental_status_type.pb.go +++ /dev/null @@ -1,129 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/parental_status_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_781178e175795ad1, []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_781178e175795ad1, []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 (m *ParentalStatusTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ParentalStatusTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.ParentalStatusTypeEnum_ParentalStatusType", ParentalStatusTypeEnum_ParentalStatusType_name, ParentalStatusTypeEnum_ParentalStatusType_value) - proto.RegisterType((*ParentalStatusTypeEnum)(nil), "google.ads.googleads.v2.enums.ParentalStatusTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/parental_status_type.proto", fileDescriptor_781178e175795ad1) -} - -var fileDescriptor_781178e175795ad1 = []byte{ - // 326 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x4f, 0x4a, 0x33, 0x31, - 0x1c, 0xfd, 0x3a, 0x1f, 0x54, 0x48, 0x05, 0xc7, 0x59, 0x28, 0x88, 0x5d, 0xb4, 0x07, 0xc8, 0xc0, - 0xb8, 0x91, 0xb8, 0x4a, 0x6d, 0x2c, 0x45, 0x4c, 0x87, 0x76, 0x5a, 0x41, 0x06, 0x86, 0xe8, 0x84, - 0x50, 0x68, 0x93, 0xd0, 0xa4, 0x85, 0xae, 0xbc, 0x8b, 0x4b, 0x51, 0x0f, 0xe2, 0x51, 0xc4, 0x43, - 0xc8, 0x24, 0x6d, 0x37, 0x45, 0x37, 0xe1, 0xf1, 0x7b, 0x7f, 0x78, 0x79, 0xe0, 0x52, 0x28, 0x25, - 0x66, 0x3c, 0x66, 0xa5, 0x89, 0x3d, 0xac, 0xd0, 0x2a, 0x89, 0xb9, 0x5c, 0xce, 0x4d, 0xac, 0xd9, - 0x82, 0x4b, 0xcb, 0x66, 0x85, 0xb1, 0xcc, 0x2e, 0x4d, 0x61, 0xd7, 0x9a, 0x43, 0xbd, 0x50, 0x56, - 0x45, 0x4d, 0x2f, 0x87, 0x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, 0x69, 0x10, 0xda, 0x29, 0x10, 0x9a, - 0x24, 0x08, 0x39, 0xcd, 0x63, 0xdd, 0x15, 0xbb, 0xf8, 0x09, 0x00, 0x00, 0xff, 0xff, 0xff, 0xfd, - 0xc8, 0xc4, 0xef, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/payment_mode.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/payment_mode.pb.go deleted file mode 100644 index 36d783ff..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/payment_mode.pb.go +++ /dev/null @@ -1,134 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/payment_mode.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible payment modes. -type PaymentModeEnum_PaymentMode int32 - -const ( - // Not specified. - PaymentModeEnum_UNSPECIFIED PaymentModeEnum_PaymentMode = 0 - // Used for return value only. Represents value unknown in this version. - PaymentModeEnum_UNKNOWN PaymentModeEnum_PaymentMode = 1 - // Pay per click. - PaymentModeEnum_CLICKS PaymentModeEnum_PaymentMode = 4 - // Pay per conversion value. This mode is only supported by campaigns with - // AdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION, and - // BudgetType.HOTEL_ADS_COMMISSION. - PaymentModeEnum_CONVERSION_VALUE PaymentModeEnum_PaymentMode = 5 - // Pay per conversion. This mode is only supported by campaigns with - // AdvertisingChannelType.DISPLAY (excluding - // AdvertisingChannelSubType.DISPLAY_GMAIL), BiddingStrategyType.TARGET_CPA, - // and BudgetType.FIXED_CPA. The customer must also be eligible for this - // mode. See Customer.eligibility_failure_reasons for details. - PaymentModeEnum_CONVERSIONS PaymentModeEnum_PaymentMode = 6 -) - -var PaymentModeEnum_PaymentMode_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 4: "CLICKS", - 5: "CONVERSION_VALUE", - 6: "CONVERSIONS", -} - -var PaymentModeEnum_PaymentMode_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "CLICKS": 4, - "CONVERSION_VALUE": 5, - "CONVERSIONS": 6, -} - -func (x PaymentModeEnum_PaymentMode) String() string { - return proto.EnumName(PaymentModeEnum_PaymentMode_name, int32(x)) -} - -func (PaymentModeEnum_PaymentMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_3680001112a7164a, []int{0, 0} -} - -// Container for enum describing possible payment modes. -type PaymentModeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PaymentModeEnum) Reset() { *m = PaymentModeEnum{} } -func (m *PaymentModeEnum) String() string { return proto.CompactTextString(m) } -func (*PaymentModeEnum) ProtoMessage() {} -func (*PaymentModeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_3680001112a7164a, []int{0} -} - -func (m *PaymentModeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PaymentModeEnum.Unmarshal(m, b) -} -func (m *PaymentModeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PaymentModeEnum.Marshal(b, m, deterministic) -} -func (m *PaymentModeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PaymentModeEnum.Merge(m, src) -} -func (m *PaymentModeEnum) XXX_Size() int { - return xxx_messageInfo_PaymentModeEnum.Size(m) -} -func (m *PaymentModeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_PaymentModeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_PaymentModeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.PaymentModeEnum_PaymentMode", PaymentModeEnum_PaymentMode_name, PaymentModeEnum_PaymentMode_value) - proto.RegisterType((*PaymentModeEnum)(nil), "google.ads.googleads.v2.enums.PaymentModeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/payment_mode.proto", fileDescriptor_3680001112a7164a) -} - -var fileDescriptor_3680001112a7164a = []byte{ - // 312 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x4a, 0xc3, 0x30, - 0x1c, 0x76, 0x53, 0x27, 0x64, 0x87, 0x85, 0xe2, 0x49, 0xdc, 0x61, 0x7b, 0x80, 0x54, 0xea, 0x2d, - 0x9e, 0xb2, 0x5a, 0x47, 0xd9, 0xcc, 0x8a, 0x65, 0x15, 0xa4, 0x38, 0xa2, 0x09, 0x61, 0xb0, 0x26, - 0x75, 0xe9, 0x06, 0xbe, 0x8e, 0x47, 0x1f, 0xc5, 0xf7, 0xf0, 0xe2, 0x53, 0x48, 0x13, 0x57, 0x77, - 0xd1, 0x4b, 0xf8, 0xf8, 0x7d, 0x7f, 0xf8, 0xf2, 0x81, 0x0b, 0xa9, 0xb5, 0x5c, 0x09, 0x9f, 0x71, - 0xe3, 0x3b, 0x58, 0xa3, 0x6d, 0xe0, 0x0b, 0xb5, 0x29, 0x8c, 0x5f, 0xb2, 0xd7, 0x42, 0xa8, 0x6a, - 0x51, 0x68, 0x2e, 0x50, 0xb9, 0xd6, 0x95, 0xf6, 0xfa, 0x4e, 0x86, 0x18, 0x37, 0xa8, 0x71, 0xa0, - 0x6d, 0x80, 0xac, 0xe3, 0xec, 0x7c, 0x17, 0x58, 0x2e, 0x7d, 0xa6, 0x94, 0xae, 0x58, 0xb5, 0xd4, - 0xca, 0x38, 0xf3, 0xf0, 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vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/placeholder_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/placeholder_type.pb.go deleted file mode 100644 index ac27652c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/placeholder_type.pb.go +++ /dev/null @@ -1,223 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/placeholder_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // Lets you show links in your ad to pages from your website, including the - // main landing page. - PlaceholderTypeEnum_SITELINK PlaceholderTypeEnum_PlaceholderType = 2 - // Lets you attach a phone number to an ad, allowing customers to call - // directly from the ad. - PlaceholderTypeEnum_CALL PlaceholderTypeEnum_PlaceholderType = 3 - // Lets you provide users with a link that points to a mobile app in - // addition to a website. - PlaceholderTypeEnum_APP PlaceholderTypeEnum_PlaceholderType = 4 - // Lets you show locations of businesses from your Google My Business - // account in your ad. This helps people find your locations by showing your - // ads with your address, a map to your location, or the distance to your - // business. This extension type is useful to draw customers to your - // brick-and-mortar location. - PlaceholderTypeEnum_LOCATION PlaceholderTypeEnum_PlaceholderType = 5 - // If you sell your product through retail chains, affiliate location - // extensions let you show nearby stores that carry your products. - PlaceholderTypeEnum_AFFILIATE_LOCATION PlaceholderTypeEnum_PlaceholderType = 6 - // Lets you include additional text with your search ads that provide - // detailed information about your business, including products and services - // you offer. Callouts appear in ads at the top and bottom of Google search - // results. - PlaceholderTypeEnum_CALLOUT PlaceholderTypeEnum_PlaceholderType = 7 - // Lets you add more info to your ad, specific to some predefined categories - // such as types, brands, styles, etc. A minimum of 3 text (SNIPPETS) values - // are required. - PlaceholderTypeEnum_STRUCTURED_SNIPPET PlaceholderTypeEnum_PlaceholderType = 8 - // Allows users to see your ad, click an icon, and contact you directly by - // text message. With one tap on your ad, people can contact you to book an - // appointment, get a quote, ask for information, or request a service. - PlaceholderTypeEnum_MESSAGE PlaceholderTypeEnum_PlaceholderType = 9 - // Lets you display prices for a list of items along with your ads. A price - // feed is composed of three to eight price table rows. - PlaceholderTypeEnum_PRICE PlaceholderTypeEnum_PlaceholderType = 10 - // Allows you to highlight sales and other promotions that let users see how - // they can save by buying now. - PlaceholderTypeEnum_PROMOTION PlaceholderTypeEnum_PlaceholderType = 11 - // Lets you dynamically inject custom data into the title and description - // of your ads. - PlaceholderTypeEnum_AD_CUSTOMIZER PlaceholderTypeEnum_PlaceholderType = 12 - // Indicates that this feed is for education dynamic remarketing. - PlaceholderTypeEnum_DYNAMIC_EDUCATION PlaceholderTypeEnum_PlaceholderType = 13 - // Indicates that this feed is for flight dynamic remarketing. - PlaceholderTypeEnum_DYNAMIC_FLIGHT PlaceholderTypeEnum_PlaceholderType = 14 - // Indicates that this feed is for a custom dynamic remarketing type. Use - // this only if the other business types don't apply to your products or - // services. - PlaceholderTypeEnum_DYNAMIC_CUSTOM PlaceholderTypeEnum_PlaceholderType = 15 - // Indicates that this feed is for hotels and rentals dynamic remarketing. - PlaceholderTypeEnum_DYNAMIC_HOTEL PlaceholderTypeEnum_PlaceholderType = 16 - // Indicates that this feed is for real estate dynamic remarketing. - PlaceholderTypeEnum_DYNAMIC_REAL_ESTATE PlaceholderTypeEnum_PlaceholderType = 17 - // Indicates that this feed is for travel dynamic remarketing. - PlaceholderTypeEnum_DYNAMIC_TRAVEL PlaceholderTypeEnum_PlaceholderType = 18 - // Indicates that this feed is for local deals dynamic remarketing. - PlaceholderTypeEnum_DYNAMIC_LOCAL PlaceholderTypeEnum_PlaceholderType = 19 - // Indicates that this feed is for job dynamic remarketing. - 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_2c2243089946707d, []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_2c2243089946707d, []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 (m *PlaceholderTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PlaceholderTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.PlaceholderTypeEnum_PlaceholderType", PlaceholderTypeEnum_PlaceholderType_name, PlaceholderTypeEnum_PlaceholderType_value) - proto.RegisterType((*PlaceholderTypeEnum)(nil), "google.ads.googleads.v2.enums.PlaceholderTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/placeholder_type.proto", fileDescriptor_2c2243089946707d) -} - -var fileDescriptor_2c2243089946707d = []byte{ - // 492 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 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, 0x7a, - 0xd5, 0x06, 0xbd, 0xf7, 0x26, 0xf0, 0x7c, 0xf2, 0xa3, 0x05, 0x2e, 0xef, 0xe4, 0x46, 0xff, 0xe7, - 0x58, 0x27, 0xe7, 0xcf, 0xa6, 0xc3, 0xd5, 0x38, 0x79, 0xeb, 0x76, 0xf2, 0x64, 0xcb, 0xe4, 0x3a, - 0xce, 0x33, 0x5d, 0x6e, 0x33, 0x23, 0x4b, 0xf3, 0x6a, 0xd8, 0xcd, 0x4e, 0x15, 0xab, 0xf2, 0x2f, - 0x2b, 0xf6, 0xae, 0xfa, 0x7e, 0xd5, 0xda, 0x33, 0x8c, 0xbf, 0x69, 0x17, 0xb3, 0x3a, 0x0a, 0x27, - 0xa5, 0x5e, 0x97, 0xaa, 0x5a, 0x98, 0xba, 0xda, 0x90, 0xf2, 0x7b, 0xd3, 0x5f, 0xe2, 0xa4, 0x5c, - 0xee, 0xfb, 0xcb, 0x85, 0xb9, 0xac, 0xfa, 0x3f, 0xb5, 0xcb, 0x1a, 0x5a, 0x16, 0x4e, 0x4a, 0xcb, - 0xda, 0x2b, 0x2c, 0x6b, 0x61, 0x5a, 0x56, 0xa5, 0xf9, 0x74, 0x52, 0x1d, 0xec, 0xcd, 0xef, 0x00, - 0x00, 0x00, 0xff, 0xff, 0xf8, 0xa8, 0x58, 0x6e, 0xfa, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/placement_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/placement_type.pb.go deleted file mode 100644 index 4723f7cb..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/placement_type.pb.go +++ /dev/null @@ -1,139 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/placement_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible placement types for a feed mapping. -type PlacementTypeEnum_PlacementType int32 - -const ( - // Not specified. - PlacementTypeEnum_UNSPECIFIED PlacementTypeEnum_PlacementType = 0 - // Used for return value only. Represents value unknown in this version. - PlacementTypeEnum_UNKNOWN PlacementTypeEnum_PlacementType = 1 - // Websites(e.g. 'www.flowers4sale.com'). - PlacementTypeEnum_WEBSITE PlacementTypeEnum_PlacementType = 2 - // Mobile application categories(e.g. 'Games'). - PlacementTypeEnum_MOBILE_APP_CATEGORY PlacementTypeEnum_PlacementType = 3 - // mobile applications(e.g. 'mobileapp::2-com.whatsthewordanswers'). - PlacementTypeEnum_MOBILE_APPLICATION PlacementTypeEnum_PlacementType = 4 - // YouTube videos(e.g. 'youtube.com/video/wtLJPvx7-ys'). - PlacementTypeEnum_YOUTUBE_VIDEO PlacementTypeEnum_PlacementType = 5 - // YouTube channels(e.g. 'youtube.com::L8ZULXASCc1I_oaOT0NaOQ'). - PlacementTypeEnum_YOUTUBE_CHANNEL PlacementTypeEnum_PlacementType = 6 -) - -var PlacementTypeEnum_PlacementType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "WEBSITE", - 3: "MOBILE_APP_CATEGORY", - 4: "MOBILE_APPLICATION", - 5: "YOUTUBE_VIDEO", - 6: "YOUTUBE_CHANNEL", -} - -var PlacementTypeEnum_PlacementType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "WEBSITE": 2, - "MOBILE_APP_CATEGORY": 3, - "MOBILE_APPLICATION": 4, - "YOUTUBE_VIDEO": 5, - "YOUTUBE_CHANNEL": 6, -} - -func (x PlacementTypeEnum_PlacementType) String() string { - return proto.EnumName(PlacementTypeEnum_PlacementType_name, int32(x)) -} - -func (PlacementTypeEnum_PlacementType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_d0c6cf34c3732264, []int{0, 0} -} - -// Container for enum describing possible placement types. -type PlacementTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PlacementTypeEnum) Reset() { *m = PlacementTypeEnum{} } -func (m *PlacementTypeEnum) String() string { return proto.CompactTextString(m) } -func (*PlacementTypeEnum) ProtoMessage() {} -func (*PlacementTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_d0c6cf34c3732264, []int{0} -} - -func (m *PlacementTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PlacementTypeEnum.Unmarshal(m, b) -} -func (m *PlacementTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PlacementTypeEnum.Marshal(b, m, deterministic) -} -func (m *PlacementTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PlacementTypeEnum.Merge(m, src) -} -func (m *PlacementTypeEnum) XXX_Size() int { - return xxx_messageInfo_PlacementTypeEnum.Size(m) -} -func (m *PlacementTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_PlacementTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_PlacementTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.PlacementTypeEnum_PlacementType", PlacementTypeEnum_PlacementType_name, PlacementTypeEnum_PlacementType_value) - proto.RegisterType((*PlacementTypeEnum)(nil), "google.ads.googleads.v2.enums.PlacementTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/placement_type.proto", fileDescriptor_d0c6cf34c3732264) -} - -var fileDescriptor_d0c6cf34c3732264 = []byte{ - // 359 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00,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, 0x22, 0xc3, - 0xff, 0x60, 0x70, 0x6b, 0xeb, 0xe6, 0x8c, 0x86, 0xc4, 0x71, 0x42, 0x83, 0xb8, 0x74, 0x6a, 0xdf, - 0x2d, 0x95, 0x16, 0xfc, 0x07, 0xe0, 0x17, 0x31, 0x33, 0x0d, 0xe2, 0x9a, 0xb6, 0xa5, 0xfc, 0x86, - 0x7d, 0xd0, 0x5d, 0xda, 0x9e, 0xeb, 0xe9, 0x34, 0xf4, 0xcd, 0x09, 0xb5, 0x95, 0x3f, 0x70, 0x00, - 0x7a, 0xcd, 0xc8, 0xb8, 0x26, 0x96, 0x45, 0x67, 0x4a, 0x5b, 0x7f, 0x93, 0xc0, 0x68, 0xc5, 0x33, - 0xf4, 0xe3, 0xbd, 0x3a, 0x3c, 0x59, 0xdc, 0x29, 0xaf, 0x74, 0xa4, 0x7b, 0xfd, 0xd3, 0x94, 0xf2, - 0x4d, 0xc4, 0x52, 0xc4, 0xb7, 0xa9, 0x9a, 0x26, 0xac, 0xea, 0xa0, 0x29, 0x3a, 0x5f, 0x8b, 0x6f, - 0x7a, 0xbf, 0xac, 0xde, 0x27, 0xb9, 0x35, 0x25, 0xe4, 0x45, 0x1e, 0x4e, 0xeb, 0x28, 0x12, 0x0b, - 0x54, 0xc3, 0x12, 0xf9, 0x1a, 0x2a, 0xab, 0x13, 0xaf, 0x0d, 0x1f, 0x90, 0x58, 0x04, 0x47, 0x3e, - 0xf0, 0xb5, 0xa0, 0xe2, 0xdf, 0xe5, 0x51, 0x3d, 0xc4, 0x98, 0xc4, 0x02, 0xe3, 0xa3, 0x02, 0x63, - 0x5f, 0xc3, 0xb8, 0xd2, 0x3c, 0xb4, 0xab, 0xc5, 0x2e, 0x3e, 0x02, 0x00, 0x00, 0xff, 0xff, 0x66, - 0xda, 0xd4, 0x4a, 0x0f, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/policy_approval_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/policy_approval_status.pb.go deleted file mode 100644 index f00e2ba3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/policy_approval_status.pb.go +++ /dev/null @@ -1,139 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/policy_approval_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_ecf4cfc6f98f313e, []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_ecf4cfc6f98f313e, []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 (m *PolicyApprovalStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyApprovalStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.PolicyApprovalStatusEnum_PolicyApprovalStatus", PolicyApprovalStatusEnum_PolicyApprovalStatus_name, PolicyApprovalStatusEnum_PolicyApprovalStatus_value) - proto.RegisterType((*PolicyApprovalStatusEnum)(nil), "google.ads.googleads.v2.enums.PolicyApprovalStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/policy_approval_status.proto", fileDescriptor_ecf4cfc6f98f313e) -} - -var fileDescriptor_ecf4cfc6f98f313e = []byte{ - // 346 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x4d, 0x4a, 0xc3, 0x40, - 0x14, 0x36, 0xa9, 0x7f, 0x4c, 0x05, 0x43, 0xa8, 0x60, 0xc5, 0x2e, 0xda, 0x03, 0x4c, 0x20, 0xee, - 0xc6, 0xd5, 0xd4, 0x4c, 0x4b, 0xb0, 0x26, 0xa1, 0x69, 0x23, 0x4a, 0x20, 0x8c, 0x4d, 0x09, 0x81, - 0x74, 0x26, 0x74, 0xd2, 0x82, 0x7b, 0x2f, 0xa2, 0x4b, 0x8f, 0xe2, 0x51, 0x5c, 0x78, 0x06, 0xc9, - 0xa4, 0xc9, 0xaa, 0xba, 0x19, 0xbe, 0x79, 0xdf, 0x0f, 0xef, 0x7d, 0x00, 0x25, 0x9c, 0x27, 0xd9, - 0xd2, 0xa0, 0xb1, 0x30, 0x2a, 0x58, 0xa2, 0xad, 0x69, 0x2c, 0xd9, 0x66, 0x25, 0x8c, 0x9c, 0x67, - 0xe9, 0xe2, 0x35, 0xa2, 0x79, 0xbe, 0xe6, 0x5b, 0x9a, 0x45, 0xa2, 0xa0, 0xc5, 0x46, 0xc0, 0x7c, - 0xcd, 0x0b, 0xae, 0xf7,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2, 0xb2, 0x32, 0xf1, 0x55, 0xf3, 0x21, 0x8e, - 0x45, 0xd8, 0xf0, 0x61, 0x60, 0x86, 0x92, 0xff, 0x56, 0xfb, 0xd5, 0x10, 0x21, 0x1c, 0x0b, 0x84, - 0x1a, 0x05, 0x42, 0x81, 0x89, 0x90, 0xd4, 0xbc, 0x1c, 0xcb, 0xc5, 0x6e, 0x7e, 0x03, 0x00, 0x00, - 0xff, 0xff, 0xa5, 0xf8, 0xc3, 0x8a, 0x16, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/policy_review_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/policy_review_status.pb.go deleted file mode 100644 index 10cecdef..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/policy_review_status.pb.go +++ /dev/null @@ -1,138 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/policy_review_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // The resource is eligible and may be serving but could still undergo - // further review. - PolicyReviewStatusEnum_ELIGIBLE_MAY_SERVE PolicyReviewStatusEnum_PolicyReviewStatus = 5 -) - -var PolicyReviewStatusEnum_PolicyReviewStatus_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "REVIEW_IN_PROGRESS", - 3: "REVIEWED", - 4: "UNDER_APPEAL", - 5: "ELIGIBLE_MAY_SERVE", -} - -var PolicyReviewStatusEnum_PolicyReviewStatus_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "REVIEW_IN_PROGRESS": 2, - "REVIEWED": 3, - "UNDER_APPEAL": 4, - "ELIGIBLE_MAY_SERVE": 5, -} - -func (x PolicyReviewStatusEnum_PolicyReviewStatus) String() string { - return proto.EnumName(PolicyReviewStatusEnum_PolicyReviewStatus_name, int32(x)) -} - -func (PolicyReviewStatusEnum_PolicyReviewStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0a6b7274bed48e79, []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_0a6b7274bed48e79, []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 (m *PolicyReviewStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyReviewStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.PolicyReviewStatusEnum_PolicyReviewStatus", PolicyReviewStatusEnum_PolicyReviewStatus_name, PolicyReviewStatusEnum_PolicyReviewStatus_value) - proto.RegisterType((*PolicyReviewStatusEnum)(nil), "google.ads.googleads.v2.enums.PolicyReviewStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/policy_review_status.proto", fileDescriptor_0a6b7274bed48e79) -} - -var fileDescriptor_0a6b7274bed48e79 = []byte{ - // 350 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x4a, 0xc3, 0x30, - 0x1c, 0xb6, 0x9d, 0xff, 0xc8, 0x06, 0x96, 0x1c, 0x26, 0x88, 0x3b, 0x6c, 0x0f, 0x90, 0x42, 0xbd, - 0x48, 0x3c, 0xa5, 0x2e, 0x96, 0xe2, 0xec, 0x4a, 0xcb, 0x3a, 0x94, 0x42, 0xa8, 0x6b, 0x29, 0x85, - 0x2d, 0x29, 0x4b, 0x37, 0xf1, 0xea, 0x7b, 0x78, 0xf1, 0xe8, 0xa3, 0xf8, 0x28, 0xe2, 0x43, 0x48, - 0xd3, 0x6d, 0x97, 0xa1, 0x97, 0xf0, 0x91, 0xef, 0x0f, 0xbf, 0xef, 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 0xda, 0x93, 0xbd, 0x71, 0xe6, 0x62, 0x9e, 0xf0, 0x1c, 0x89, 0x65, 0x6e, 0xe6, 0x19, - 0x57, 0xe5, 0xb7, 0x3b, 0x97, 0x85, 0xfc, 0x63, 0xf6, 0x1b, 0xf5, 0x7e, 0xe8, 0x2d, 0x87, 0x90, - 0x4f, 0xbd, 0xe7, 0x34, 0x51, 0x24, 0x95, 0xa8, 0x81, 0x35, 0x8a, 0x2c, 0x54, 0xcf, 0x25, 0xbf, - 0xb6, 0x7c, 0x4c, 0x52, 0x19, 0xef, 0xf8, 0x38, 0xb2, 0x62, 0xc5, 0x7f, 0xeb, 0xfd, 0xe6, 0x13, - 0x63, 0x92, 0x4a, 0x8c, 0x77, 0x0a, 0x8c, 0x23, 0x0b, 0x63, 0xa5, 0x79, 0x3e, 0x56, 0x87, 0x5d, - 0xfd, 0x06, 0x00, 0x00, 0xff, 0xff, 0x3c, 0x97, 0x75, 0x88, 0x0e, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/policy_topic_entry_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/policy_topic_entry_type.pb.go deleted file mode 100644 index 0d4ec58d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/policy_topic_entry_type.pb.go +++ /dev/null @@ -1,148 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/policy_topic_entry_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // The resource cannot serve at all because of the current targeting - // criteria. - PolicyTopicEntryTypeEnum_FULLY_LIMITED PolicyTopicEntryTypeEnum_PolicyTopicEntryType = 8 - // 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", - 8: "FULLY_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, - "FULLY_LIMITED": 8, - "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_59b40b5d8dcd4000, []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_59b40b5d8dcd4000, []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 (m *PolicyTopicEntryTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyTopicEntryTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.PolicyTopicEntryTypeEnum_PolicyTopicEntryType", PolicyTopicEntryTypeEnum_PolicyTopicEntryType_name, PolicyTopicEntryTypeEnum_PolicyTopicEntryType_value) - proto.RegisterType((*PolicyTopicEntryTypeEnum)(nil), "google.ads.googleads.v2.enums.PolicyTopicEntryTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/policy_topic_entry_type.proto", fileDescriptor_59b40b5d8dcd4000) -} - -var fileDescriptor_59b40b5d8dcd4000 = []byte{ - // 379 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xc1, 0xae, 0x93, 0x40, - 0x18, 0x85, 0x05, 0xf5, 0x5e, 0x33, 0x37, 0x2a, 0x12, 0x4d, 0xbc, 0xc6, 0x2e, 0xda, 0x07, 0x18, - 0x12, 0xdc, 0x4d, 0x57, 0x43, 0x99, 0xd6, 0x89, 0x38, 0x10, 0x4a, 0x31, 0x35, 0x24, 0x04, 0x0b, - 0x21, 0x24, 0xed, 0x0c, 0xe9, 0xd0, 0x26, 0xbc, 0x8d, 0x71, 0xe9, 0x3b, 0xf8, 0x02, 0x3e, 0x8a, - 0x0b, 0x9f, 0xc1, 0xcc, 0x20, 0x5d, 0x55, 0x37, 0xe4, 0xf0, 0x9f, 0xff, 0x7c, 0x81, 0xf3, 0x83, - 0x79, 0x2d, 0x44, 0xbd, 0xaf, 0x9c, 0xa2, 0x94, 0xce, 0x20, 0x95, 0x3a, 0xbb, 0x4e, 0xc5, 0x4f, - 0x07, 0xe9, 0xb4, 0x62, 0xdf, 0xec, 0xfa, 0xbc, 0x13, 0x6d, 0xb3, 0xcb, 0x2b, 0xde, 0x1d, 0xfb, - 0xbc, 0xeb, 0xdb, 0x0a, 0xb6, 0x47, 0xd1, 0x09, 0x7b, 0x32, 0x24, 0x60, 0x51, 0x4a, 0x78, 0x09, - 0xc3, 0xb3, 0x0b, 0x75, 0xf8, 0xcd, 0xdb, 0x91, 0xdd, 0x36, 0x4e, 0xc1, 0xb9, 0xe8, 0x8a, 0xae, - 0x11, 0x5c, 0x0e, 0xe1, 0xd9, 0x0f, 0x03, 0xbc, 0x8e, 0x34, 0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0x32, 0xbb, 0xf8, 0x59, 0xea, 0x66, 0xda, 0xff, 0x65, 0x4e, 0x87, 0x21, 0x42, 0xb8, 0x94, 0x08, - 0x5d, 0x36, 0x10, 0x4a, 0x5d, 0x84, 0xf4, 0xce, 0x97, 0x1b, 0xfd, 0x61, 0xef, 0xfe, 0x04, 0x00, - 0x00, 0xff, 0xff, 0xb3, 0x9e, 0x64, 0x83, 0x33, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/policy_topic_evidence_destination_mismatch_url_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/policy_topic_evidence_destination_mismatch_url_type.pb.go deleted file mode 100644 index a937f9dc..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/policy_topic_evidence_destination_mismatch_url_type.pb.go +++ /dev/null @@ -1,148 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/policy_topic_evidence_destination_mismatch_url_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_2919129f5630ebc8, []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_2919129f5630ebc8, []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 (m *PolicyTopicEvidenceDestinationMismatchUrlTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum_PolicyTopicEvidenceDestinationMismatchUrlType", PolicyTopicEvidenceDestinationMismatchUrlTypeEnum_PolicyTopicEvidenceDestinationMismatchUrlType_name, PolicyTopicEvidenceDestinationMismatchUrlTypeEnum_PolicyTopicEvidenceDestinationMismatchUrlType_value) - proto.RegisterType((*PolicyTopicEvidenceDestinationMismatchUrlTypeEnum)(nil), "google.ads.googleads.v2.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/policy_topic_evidence_destination_mismatch_url_type.proto", fileDescriptor_2919129f5630ebc8) -} - -var fileDescriptor_2919129f5630ebc8 = []byte{ - // 390 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x51, 0xc1, 0xaa, 0x9b, 0x40, - 0x14, 0xad, 0xa6, 0x4d, 0xe9, 0xa4, 0xa5, 0x62, 0x0b, 0x85, 0xd2, 0x2c, 0x92, 0x7d, 0x47, 0x6a, - 0x77, 0xd3, 0xd5, 0x98, 0x98, 0x20, 0x31, 0x46, 0x92, 0x98, 0xd0, 0x22, 0x88, 0xd5, 0xc1, 0x0e, - 0xe8, 0x8c, 0x38, 0x26, 0x90, 0x2f, 0xe8, 0x7f, 0x74, 0xd9, 0x45, 0x3f, 0xa4, 0xdf, 0xf1, 0x56, - 0xef, 0x2b, 0x1e, 0x8e, 0x26, 0x8f, 0xb7, 0x78, 0x0f, 0xb2, 0x91, 0x73, 0xef, 0xb9, 0xf7, 0x1c, - 0xe7, 0x5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b, 0x35, 0x9e, 0x2c, 0x1c, 0x6f, 0x2e, 0x3b, 0x2f, 0xf4, - 0x0f, 0xe0, 0x5d, 0x37, 0xf1, 0x80, 0xe8, 0x5b, 0xbf, 0x55, 0x30, 0x4a, 0x78, 0x01, 0x9f, 0x8c, - 0xca, 0x32, 0xaf, 0x7a, 0x93, 0xdf, 0x04, 0xe8, 0x2b, 0x3f, 0xac, 0x4e, 0x34, 0xe3, 0x79, 0xcc, - 0x32, 0xc8, 0xab, 0xcc, 0xc8, 0x08, 0x93, 0xf1, 0x9e, 0x0f, 0x5d, 0x52, 0xf1, 0xc8, 0xdd, 0xbf, - 0xc9, 0xef, 0x1f, 0xb5, 0x37, 0xc7, 0xf8, 0xaf, 0x3a, 0x9c, 0xb7, 0x52, 0x38, 0x15, 0xb0, 0x85, - 0x0d, 0xda, 0x99, 0xb0, 0x49, 0x5d, 0xfc, 0x3f, 0xf3, 0x21, 0x4e, 0x45, 0x78, 0xe1, 0xc3, 0x9d, - 0x19, 0x4a, 0xfe, 0x56, 0x1d, 0xb5, 0x4d, 0x84, 0x70, 0x2a, 0x10, 0xba, 0x4c, 0x20, 0xb4, 0x33, - 0x11, 0x92, 0x33, 0x3f, 0xfb, 0xf2, 0xc7, 0xbe, 0xde, 0x05, 0x00, 0x00, 0xff, 0xff, 0x86, 0x5d, - 0x30, 0x39, 0x8f, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/policy_topic_evidence_destination_not_working_device.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/policy_topic_evidence_destination_not_working_device.pb.go deleted file mode 100644 index 535f5de3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/policy_topic_evidence_destination_not_working_device.pb.go +++ /dev/null @@ -1,138 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/policy_topic_evidence_destination_not_working_device.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The possible policy topic evidence destination not working devices. -type PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_PolicyTopicEvidenceDestinationNotWorkingDevice int32 - -const ( - // No value has been specified. - PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_UNSPECIFIED PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_PolicyTopicEvidenceDestinationNotWorkingDevice = 0 - // The received value is not known in this version. - // - // This is a response-only value. - PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_UNKNOWN PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_PolicyTopicEvidenceDestinationNotWorkingDevice = 1 - // Landing page doesn't work on desktop device. - PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_DESKTOP PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_PolicyTopicEvidenceDestinationNotWorkingDevice = 2 - // Landing page doesn't work on Android device. - PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_ANDROID PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_PolicyTopicEvidenceDestinationNotWorkingDevice = 3 - // Landing page doesn't work on iOS device. - PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_IOS PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_PolicyTopicEvidenceDestinationNotWorkingDevice = 4 -) - -var PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_PolicyTopicEvidenceDestinationNotWorkingDevice_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "DESKTOP", - 3: "ANDROID", - 4: "IOS", -} - -var PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_PolicyTopicEvidenceDestinationNotWorkingDevice_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "DESKTOP": 2, - "ANDROID": 3, - "IOS": 4, -} - -func (x PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_PolicyTopicEvidenceDestinationNotWorkingDevice) String() string { - return proto.EnumName(PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_PolicyTopicEvidenceDestinationNotWorkingDevice_name, int32(x)) -} - -func (PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_PolicyTopicEvidenceDestinationNotWorkingDevice) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b250d4f29aab2ed4, []int{0, 0} -} - -// Container for enum describing possible policy topic evidence destination not -// working devices. -type PolicyTopicEvidenceDestinationNotWorkingDeviceEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PolicyTopicEvidenceDestinationNotWorkingDeviceEnum) Reset() { - *m = PolicyTopicEvidenceDestinationNotWorkingDeviceEnum{} -} -func (m *PolicyTopicEvidenceDestinationNotWorkingDeviceEnum) String() string { - return proto.CompactTextString(m) -} -func (*PolicyTopicEvidenceDestinationNotWorkingDeviceEnum) ProtoMessage() {} -func (*PolicyTopicEvidenceDestinationNotWorkingDeviceEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_b250d4f29aab2ed4, []int{0} -} - -func (m *PolicyTopicEvidenceDestinationNotWorkingDeviceEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.Unmarshal(m, b) -} -func (m *PolicyTopicEvidenceDestinationNotWorkingDeviceEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.Marshal(b, m, deterministic) -} -func (m *PolicyTopicEvidenceDestinationNotWorkingDeviceEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.Merge(m, src) -} -func (m *PolicyTopicEvidenceDestinationNotWorkingDeviceEnum) XXX_Size() int { - return xxx_messageInfo_PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.Size(m) -} -func (m *PolicyTopicEvidenceDestinationNotWorkingDeviceEnum) XXX_DiscardUnknown() { - xxx_messageInfo_PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_PolicyTopicEvidenceDestinationNotWorkingDeviceEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_PolicyTopicEvidenceDestinationNotWorkingDevice", PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_PolicyTopicEvidenceDestinationNotWorkingDevice_name, PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_PolicyTopicEvidenceDestinationNotWorkingDevice_value) - proto.RegisterType((*PolicyTopicEvidenceDestinationNotWorkingDeviceEnum)(nil), "google.ads.googleads.v2.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/policy_topic_evidence_destination_not_working_device.proto", fileDescriptor_b250d4f29aab2ed4) -} - -var fileDescriptor_b250d4f29aab2ed4 = []byte{ - // 353 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x91, 0x4f, 0x6a, 0xeb, 0x30, - 0x10, 0xc6, 0x5f, 0x9c, 0xc7, 0x0b, 0x38, 0x8b, 0x67, 0xbc, 0x7c, 0xbc, 0x2c, 0x92, 0x03, 0xc8, - 0xe0, 0xec, 0xd4, 0x95, 0x53, 0xbb, 0xc1, 0x04, 0x6c, 0xd3, 0xfc, 0x2b, 0xc5, 0x60, 0x5c, 0x4b, - 0x18, 0xd1, 0x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74, 0xdd, 0x9e, 0xdd, 0x8d, 0xd3, 0xb9, - 0xf3, 0x7b, 0xf2, 0x6c, 0xd9, 0xc3, 0x0a, 0xb6, 0xe8, 0xc7, 0xd7, 0x4e, 0xc6, 0xe7, 0x8d, 0x95, - 0xa9, 0x25, 0x64, 0x9d, 0xdb, 0xc9, 0xc1, 0xb5, 0x86, 0x4d, 0xc9, 0x6b, 0x04, 0xbb, 0xda, 0xab, - 0x29, 0xd7, 0x2b, 0x3a, 0x5e, 0xab, 0x61, 0xe2, 0x9b, 0xe3, 0x5d, 0xe8, 0xef, 0x8b, 0xd5, 0x9d, - 0x06, 0xc1, 0x9b, 0x35, 0x98, 0x1a, 0xab, 0x80, 0x08, 0x64, 0xa4, 0x52, 0x2b, 0x1f, 0xa9, 0xc5, - 0x89, 0xf7, 0x63, 0x3e, 0x0f, 0x88, 0xc8, 0x4f, 0xf9, 0x7c, 0xe5, 0xe7, 0x3a, 0xff, 0x61, 0x0d, - 0xcd, 0x4f, 0x8c, 0x03, 0x22, 0x30, 0x3e, 0x55, 0x60, 0xbc, 0xf2, 0x31, 0xd6, 0x35, 0x77, 0x7f, - 0xf4, 0x60, 0xe3, 0xcf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x54, 0xfc, 0xc8, 0x39, 0x54, 0x02, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/policy_topic_evidence_destination_not_working_dns_error_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/policy_topic_evidence_destination_not_working_dns_error_type.pb.go deleted file mode 100644 index e8f8613b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/policy_topic_evidence_destination_not_working_dns_error_type.pb.go +++ /dev/null @@ -1,138 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The possible policy topic evidence destination not working DNS error types. -type PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum_PolicyTopicEvidenceDestinationNotWorkingDnsErrorType int32 - -const ( - // No value has been specified. - PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum_UNSPECIFIED PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum_PolicyTopicEvidenceDestinationNotWorkingDnsErrorType = 0 - // The received value is not known in this version. - // - // This is a response-only value. - PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum_UNKNOWN PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum_PolicyTopicEvidenceDestinationNotWorkingDnsErrorType = 1 - // Host name not found in DNS when fetching landing page. - PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum_HOSTNAME_NOT_FOUND PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum_PolicyTopicEvidenceDestinationNotWorkingDnsErrorType = 2 - // Google internal crawler issue when communicating with DNS. This error - // doesn't mean the landing page doesn't work. Google will recrawl the - // landing page. - PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum_GOOGLE_CRAWLER_DNS_ISSUE PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum_PolicyTopicEvidenceDestinationNotWorkingDnsErrorType = 3 -) - -var PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum_PolicyTopicEvidenceDestinationNotWorkingDnsErrorType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "HOSTNAME_NOT_FOUND", - 3: "GOOGLE_CRAWLER_DNS_ISSUE", -} - -var PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum_PolicyTopicEvidenceDestinationNotWorkingDnsErrorType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "HOSTNAME_NOT_FOUND": 2, - "GOOGLE_CRAWLER_DNS_ISSUE": 3, -} - -func (x PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum_PolicyTopicEvidenceDestinationNotWorkingDnsErrorType) String() string { - return proto.EnumName(PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum_PolicyTopicEvidenceDestinationNotWorkingDnsErrorType_name, int32(x)) -} - -func (PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum_PolicyTopicEvidenceDestinationNotWorkingDnsErrorType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bbce72809cc27480, []int{0, 0} -} - -// Container for enum describing possible policy topic evidence destination not -// working DNS error types. -type PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum) Reset() { - *m = PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum{} -} -func (m *PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum) String() string { - return proto.CompactTextString(m) -} -func (*PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum) ProtoMessage() {} -func (*PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_bbce72809cc27480, []int{0} -} - -func (m *PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.Unmarshal(m, b) -} -func (m *PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.Marshal(b, m, deterministic) -} -func (m *PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.Merge(m, src) -} -func (m *PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum) XXX_Size() int { - return xxx_messageInfo_PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.Size(m) -} -func (m *PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum_PolicyTopicEvidenceDestinationNotWorkingDnsErrorType", PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum_PolicyTopicEvidenceDestinationNotWorkingDnsErrorType_name, PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum_PolicyTopicEvidenceDestinationNotWorkingDnsErrorType_value) - proto.RegisterType((*PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum)(nil), "google.ads.googleads.v2.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto", fileDescriptor_bbce72809cc27480) -} - -var fileDescriptor_bbce72809cc27480 = []byte{ - // 389 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x91, 0xc1, 0xaa,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, 0x00, 0xff, 0xff, 0xc6, 0x4f, 0x5d, - 0xe0, 0x82, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/positive_geo_target_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/positive_geo_target_type.pb.go deleted file mode 100644 index c058acf8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/positive_geo_target_type.pb.go +++ /dev/null @@ -1,132 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/positive_geo_target_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The possible positive geo target types. -type PositiveGeoTargetTypeEnum_PositiveGeoTargetType int32 - -const ( - // Not specified. - PositiveGeoTargetTypeEnum_UNSPECIFIED PositiveGeoTargetTypeEnum_PositiveGeoTargetType = 0 - // The value is unknown in this version. - PositiveGeoTargetTypeEnum_UNKNOWN PositiveGeoTargetTypeEnum_PositiveGeoTargetType = 1 - // Specifies that an ad is triggered if the user is in, - // or shows interest in, advertiser's targeted locations. - PositiveGeoTargetTypeEnum_PRESENCE_OR_INTEREST PositiveGeoTargetTypeEnum_PositiveGeoTargetType = 5 - // Specifies that an ad is triggered if the user - // searches for advertiser's targeted locations. - PositiveGeoTargetTypeEnum_SEARCH_INTEREST PositiveGeoTargetTypeEnum_PositiveGeoTargetType = 6 - // Specifies that an ad is triggered if the user is in - // or regularly in advertiser's targeted locations. - PositiveGeoTargetTypeEnum_PRESENCE PositiveGeoTargetTypeEnum_PositiveGeoTargetType = 7 -) - -var PositiveGeoTargetTypeEnum_PositiveGeoTargetType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 5: "PRESENCE_OR_INTEREST", - 6: "SEARCH_INTEREST", - 7: "PRESENCE", -} - -var PositiveGeoTargetTypeEnum_PositiveGeoTargetType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "PRESENCE_OR_INTEREST": 5, - "SEARCH_INTEREST": 6, - "PRESENCE": 7, -} - -func (x PositiveGeoTargetTypeEnum_PositiveGeoTargetType) String() string { - return proto.EnumName(PositiveGeoTargetTypeEnum_PositiveGeoTargetType_name, int32(x)) -} - -func (PositiveGeoTargetTypeEnum_PositiveGeoTargetType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e39be6a5f5414c2d, []int{0, 0} -} - -// Container for enum describing possible positive geo target types. -type PositiveGeoTargetTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PositiveGeoTargetTypeEnum) Reset() { *m = PositiveGeoTargetTypeEnum{} } -func (m *PositiveGeoTargetTypeEnum) String() string { return proto.CompactTextString(m) } -func (*PositiveGeoTargetTypeEnum) ProtoMessage() {} -func (*PositiveGeoTargetTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_e39be6a5f5414c2d, []int{0} -} - -func (m *PositiveGeoTargetTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PositiveGeoTargetTypeEnum.Unmarshal(m, b) -} -func (m *PositiveGeoTargetTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PositiveGeoTargetTypeEnum.Marshal(b, m, deterministic) -} -func (m *PositiveGeoTargetTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PositiveGeoTargetTypeEnum.Merge(m, src) -} -func (m *PositiveGeoTargetTypeEnum) XXX_Size() int { - return xxx_messageInfo_PositiveGeoTargetTypeEnum.Size(m) -} -func (m *PositiveGeoTargetTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_PositiveGeoTargetTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_PositiveGeoTargetTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.PositiveGeoTargetTypeEnum_PositiveGeoTargetType", PositiveGeoTargetTypeEnum_PositiveGeoTargetType_name, PositiveGeoTargetTypeEnum_PositiveGeoTargetType_value) - proto.RegisterType((*PositiveGeoTargetTypeEnum)(nil), "google.ads.googleads.v2.enums.PositiveGeoTargetTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/positive_geo_target_type.proto", fileDescriptor_e39be6a5f5414c2d) -} - -var fileDescriptor_e39be6a5f5414c2d = []byte{ - // 335 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x4a, 0xc3, 0x30, - 0x1c, 0xb6, 0x13, 0x37, 0xc9, 0x84, 0x95, 0xaa, 0xa0, 0xc3, 0x1d, 0xb6, 0x07, 0x48, 0xa1, 0xde, - 0xa2, 0x97, 0x6e, 0xc6, 0x39, 0x84, 0xae, 0xb4, 0xdd, 0x04, 0x29, 0x94, 0x6a, 0x43, 0x28, 0x6c, - 0x49, 0x69, 0xb2, 0xc1, 0x9e, 0xc2, 0x77, 0xf0, 0xe8, 0xa3, 0xf8, 0x28, 0x5e, 0x7c, 0x05, 0x69, - 0xb2, 0xce, 0xcb, 0xf4, 0x12, 0x3e, 0xf2, 0xfd, 0xe1, 0xf7, 0x7d, 0xe0, 0x96, 0x72, 0x4e, 0x17, - 0xc4, 0x4e, 0x33, 0x61, 0x6b, 0x58, 0xa1, 0xb5, 0x63, 0x13, 0xb6, 0x5a, 0x0a, 0xbb, 0xe0, 0x22, - 0x97, 0xf9, 0x9a, 0x24, 0x94, 0xf0, 0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3b, 0xb0, 0x1a, 0x48, - 0x7c, 0xd6, 0x7c, 0xec, 0x66, 0x22, 0xde, 0xf1, 0xf1, 0xdc, 0x89, 0x15, 0xff, 0xd5, 0xe8, 0xeb, - 0x4f, 0x84, 0xdc, 0x4c, 0x20, 0xb4, 0x53, 0x20, 0x34, 0x77, 0x10, 0x52, 0x9a, 0x97, 0xa6, 0x3a, - 0xec, 0xfa, 0x27, 0x00, 0x00, 0xff, 0xff, 0xac, 0x07, 0x53, 0x94, 0x07, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/preferred_content_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/preferred_content_type.pb.go deleted file mode 100644 index 6cec3191..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/preferred_content_type.pb.go +++ /dev/null @@ -1,120 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/preferred_content_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_7010073384f9785b, []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_7010073384f9785b, []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 (m *PreferredContentTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PreferredContentTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.PreferredContentTypeEnum_PreferredContentType", PreferredContentTypeEnum_PreferredContentType_name, PreferredContentTypeEnum_PreferredContentType_value) - proto.RegisterType((*PreferredContentTypeEnum)(nil), "google.ads.googleads.v2.enums.PreferredContentTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/preferred_content_type.proto", fileDescriptor_7010073384f9785b) -} - -var fileDescriptor_7010073384f9785b = []byte{ - // 316 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xfb, 0x30, - 0x18, 0xc5, 0xff, 0xdb, 0xe0, 0x2f, 0x64, 0x17, 0x8e, 0xea, 0xc5, 0x14, 0x77, 0xb1, 0x3d, 0x40, - 0x02, 0xf5, 0x2e, 0x5e, 0xb5, 0xb3, 0x8e, 0x21, 0xa4, 0x05, 0xdb, 0x89, 0x52, 0x28, 0x75, 0x89, - 0x61, 0xb2, 0x25, 0xa1, 0xc9, 0x06, 0x7b, 0x0b, 0x9f, 0xc1, 0x4b, 0x1f, 0xc5, 0x47, 0xf1, 0xc2, - 0x67, 0x90, 0x26, 0xb6, 0x57, 0xd3, 0x9b, 0x72, 0xe8, 0xf9, 0x7e, 0x27, 0xe7, 0xfb, 0x00, 0xe6, - 0x52, 0xf2, 0x35, 0x43, 0x25, 0xd5, 0xc8, 0xc9, 0x5a, 0xed, 0x7c, 0xc4, 0xc4, 0x76, 0xa3, 0x91, - 0xaa, 0xd8, 0x33, 0xab, 0x2a, 0x46, 0x8b, 0xa5, 0x14, 0x86, 0x09, 0x53, 0x98, 0xbd, 0x62, 0x50, - 0x55, 0xd2, 0x48, 0x6f, 0xe4, 0x00, 0x58, 0x52, 0x0d, 0x5b, 0x16, 0xee, 0x7c, 0x68, 0xd9, 0xf3, - 0x8b, 0x26, 0x5a, 0xad, 0x50, 0x29, 0x84, 0x34, 0xa5, 0x59, 0x49, 0xa1, 0x1d, 0x3c, 0x79, 0x01, - 0xc3, 0xa4, 0x09, 0x9f, 0xba, 0xec, 0x74, 0xaf, 0x58, 0x24, 0xb6, 0x9b, 0x09, 0x01, 0xa7, 0x87, - 0x3c, 0xef, 0x18, 0xf4, 0x33, 0x72, 0x97, 0x44, 0xd3, 0xf9, 0xcd, 0x3c, 0xba, 0x1e, 0xfc, 0xf3, - 0xfa, 0xe0, 0x28, 0x23, 0xb7, 0x24, 0xbe, 0x27, 0x83, 0x8e, 0x37, 0x04, 0x27, 0x0f, 0x71, 0x96, - 0x66, 0x61, 0x54, 0xa4, 0x71, 0x52, 0x4c, 0x63, 0x92, 0x46, 0x24, 0x1d, 0xbc, 0xf6, 0xc2, 0xaf, - 0x0e, 0x18, 0x2f, 0xe5, 0x06, 0xfe, 0xd9, 0x37, 0x3c, 0x3b, 0xf4, 0x66, 0x52, 0x97, 0x4d, 0x3a, - 0x8f, 0xe1, 0x0f, 0xcb, 0xe5, 0xba, 0x14, 0x1c, 0xca, 0x8a, 0x23, 0xce, 0x84, 0x5d, 0xa5, 0xb9, - 0x9b, 0x5a, 0xe9, 0x5f, 0xce, 0x78, 0x65, 0xbf, 0x6f, 0xdd, 0xde, 0x2c, 0x08, 0xde, 0xbb, 0xa3, - 0x99, 0x8b, 0x0a, 0xa8, 0x86, 0x4e, 0xd6, 0x6a, 0xe1, 0xc3, 0x7a, 0x77, 0xfd, 0xd1, 0xf8, 0x79, - 0x40, 0x75, 0xde, 0xfa, 0xf9, 0xc2, 0xcf, 0xad, 0xff, 0xd9, 0x1d, 0xbb, 0x9f, 0x18, 0x07, 0x54, - 0x63, 0xdc, 0x4e, 0x60, 0xbc, 0xf0, 0x31, 0xb6, 0x33, 0x4f, 0xff, 0x6d, 0xb1, 0xcb, 0xef, 0x00, - 0x00, 0x00, 0xff, 0xff, 0x47, 0x48, 0x98, 0xc7, 0xde, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/price_extension_price_qualifier.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/price_extension_price_qualifier.pb.go deleted file mode 100644 index db5a11c7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/price_extension_price_qualifier.pb.go +++ /dev/null @@ -1,129 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/price_extension_price_qualifier.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enums of price extension price qualifier. -type PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier int32 - -const ( - // Not specified. - PriceExtensionPriceQualifierEnum_UNSPECIFIED PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier = 0 - // Used for return value only. Represents value unknown in this version. - PriceExtensionPriceQualifierEnum_UNKNOWN PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier = 1 - // 'From' qualifier for the price. - PriceExtensionPriceQualifierEnum_FROM PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier = 2 - // 'Up to' qualifier for the price. - PriceExtensionPriceQualifierEnum_UP_TO PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier = 3 - // 'Average' qualifier for the price. - PriceExtensionPriceQualifierEnum_AVERAGE PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier = 4 -) - -var PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "FROM", - 3: "UP_TO", - 4: "AVERAGE", -} - -var PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "FROM": 2, - "UP_TO": 3, - "AVERAGE": 4, -} - -func (x PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier) String() string { - return proto.EnumName(PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier_name, int32(x)) -} - -func (PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_02a9401cb4838c94, []int{0, 0} -} - -// Container for enum describing a price extension price qualifier. -type PriceExtensionPriceQualifierEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PriceExtensionPriceQualifierEnum) Reset() { *m = PriceExtensionPriceQualifierEnum{} } -func (m *PriceExtensionPriceQualifierEnum) String() string { return proto.CompactTextString(m) } -func (*PriceExtensionPriceQualifierEnum) ProtoMessage() {} -func (*PriceExtensionPriceQualifierEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_02a9401cb4838c94, []int{0} -} - -func (m *PriceExtensionPriceQualifierEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PriceExtensionPriceQualifierEnum.Unmarshal(m, b) -} -func (m *PriceExtensionPriceQualifierEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PriceExtensionPriceQualifierEnum.Marshal(b, m, deterministic) -} -func (m *PriceExtensionPriceQualifierEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PriceExtensionPriceQualifierEnum.Merge(m, src) -} -func (m *PriceExtensionPriceQualifierEnum) XXX_Size() int { - return xxx_messageInfo_PriceExtensionPriceQualifierEnum.Size(m) -} -func (m *PriceExtensionPriceQualifierEnum) XXX_DiscardUnknown() { - xxx_messageInfo_PriceExtensionPriceQualifierEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_PriceExtensionPriceQualifierEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier", PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier_name, PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier_value) - proto.RegisterType((*PriceExtensionPriceQualifierEnum)(nil), "google.ads.googleads.v2.enums.PriceExtensionPriceQualifierEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/price_extension_price_qualifier.proto", fileDescriptor_02a9401cb4838c94) -} - -var fileDescriptor_02a9401cb4838c94 = []byte{ - // 326 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x4d, 0x4e, 0xf3, 0x30, - 0x10, 0xfd, 0x92, 0xf6, 0xe3, 0xc7, 0x5d, 0x10, 0x65, 0x89, 0x5a, 0x89, 0xf6, 0x00, 0x8e, 0x14, - 0x76, 0x66, 0xe5, 0x96, 0xb4, 0xaa, 0x10, 0x69, 0x28, 0x34, 0x48, 0x28, 0xa2, 0x32, 0x8d, 0xb1, - 0x2c, 0xb5, 0x76, 0x88, 0xd3, 0x8a, 0x35, 0x47, 0x61, 0xc9, 0x51, 0x38, 0x0a, 0x07, 0x60, 0x8d, - 0x6c, 0x93, 0xee, 0xc8, 0xc6, 0x7a, 0xe3, 0x79, 0xf3, 0x66, 0xde, 0x03, 0x23, 0x26, 0x25, 0x5b, - 0xd3, 0x80, 0xe4, 0x2a, 0xb0, 0x50, 0xa3, 0x5d, 0x18, 0x50, 0xb1, 0xdd, 0xa8, 0xa0, 0x28, 0xf9, - 0x8a, 0x2e, 0xe9, 0x6b, 0x45, 0x85, 0xe2, 0x52, 0x2c, 0x6d, 0xfd, 0xb2, 0x25, 0x6b, 0xfe, 0xcc, - 0x69, 0x09, 0x8b, 0x52, 0x56, 0xd2, 0xef, 0xd9, 0x49, 0x48, 0x72, 0x05, 0xf7, 0x22, 0x70, 0x17, - 0x42, 0x23, 0x72, 0xda, 0xad, 0x77, 0x14, 0x3c, 0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b, 0x8d, - 0x8e, 0xbe, 0x08, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/price_extension_price_unit.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/price_extension_price_unit.pb.go deleted file mode 100644 index 88e5996d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/price_extension_price_unit.pb.go +++ /dev/null @@ -1,142 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/price_extension_price_unit.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Price extension price unit. -type PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit int32 - -const ( - // Not specified. - PriceExtensionPriceUnitEnum_UNSPECIFIED PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit = 0 - // Used for return value only. Represents value unknown in this version. - PriceExtensionPriceUnitEnum_UNKNOWN PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit = 1 - // Per hour. - PriceExtensionPriceUnitEnum_PER_HOUR PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit = 2 - // Per day. - PriceExtensionPriceUnitEnum_PER_DAY PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit = 3 - // Per week. - PriceExtensionPriceUnitEnum_PER_WEEK PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit = 4 - // Per month. - PriceExtensionPriceUnitEnum_PER_MONTH PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit = 5 - // Per year. - PriceExtensionPriceUnitEnum_PER_YEAR PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit = 6 - // Per night. - PriceExtensionPriceUnitEnum_PER_NIGHT PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit = 7 -) - -var PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "PER_HOUR", - 3: "PER_DAY", - 4: "PER_WEEK", - 5: "PER_MONTH", - 6: "PER_YEAR", - 7: "PER_NIGHT", -} - -var PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "PER_HOUR": 2, - "PER_DAY": 3, - "PER_WEEK": 4, - "PER_MONTH": 5, - "PER_YEAR": 6, - "PER_NIGHT": 7, -} - -func (x PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit) String() string { - return proto.EnumName(PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit_name, int32(x)) -} - -func (PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_f728a7ed877c3ef8, []int{0, 0} -} - -// Container for enum describing price extension price unit. -type PriceExtensionPriceUnitEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PriceExtensionPriceUnitEnum) Reset() { *m = PriceExtensionPriceUnitEnum{} } -func (m *PriceExtensionPriceUnitEnum) String() string { return proto.CompactTextString(m) } -func (*PriceExtensionPriceUnitEnum) ProtoMessage() {} -func (*PriceExtensionPriceUnitEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_f728a7ed877c3ef8, []int{0} -} - -func (m *PriceExtensionPriceUnitEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PriceExtensionPriceUnitEnum.Unmarshal(m, b) -} -func (m *PriceExtensionPriceUnitEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PriceExtensionPriceUnitEnum.Marshal(b, m, deterministic) -} -func (m *PriceExtensionPriceUnitEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PriceExtensionPriceUnitEnum.Merge(m, src) -} -func (m *PriceExtensionPriceUnitEnum) XXX_Size() int { - return xxx_messageInfo_PriceExtensionPriceUnitEnum.Size(m) -} -func (m *PriceExtensionPriceUnitEnum) XXX_DiscardUnknown() { - xxx_messageInfo_PriceExtensionPriceUnitEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_PriceExtensionPriceUnitEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit", PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit_name, PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit_value) - proto.RegisterType((*PriceExtensionPriceUnitEnum)(nil), "google.ads.googleads.v2.enums.PriceExtensionPriceUnitEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/price_extension_price_unit.proto", fileDescriptor_f728a7ed877c3ef8) -} - -var fileDescriptor_f728a7ed877c3ef8 = []byte{ - // 350 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xd1, 0x4e, 0xfa, 0x30, - 0x14, 0xc6, 0xff, 0x1b, 0x7f, 0x41, 0x8b, 0xc6, 0x66, 0x37, 0x26, 0x0a, 0x17, 0xf0, 0x00, 0x5d, - 0x32, 0xef, 0x6a, 0x62, 0x32, 0xa4, 0x02, 0x21, 0x8e, 0x05, 0x19, 0x04, 0xb3, 0x84, 0x4c, 0xb6, - 0x2c, 0x4d, 0xa0, 0x5d, 0xe8, 0x20, 0x3e, 0x84, 0x4f, 0xe1, 0xa5, 0xf1, 0x49, 0x7c, 0x14, 0xef, - 0x7c, 0x03, 0xd3, 0xd6, 0x72, 0x87, 0x37, 0xcb, 0xf7, 0xed, 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d, 0x75, 0x7e, 0xe3, 0x39, 0x5f, 0x25, 0x2c, 0x47, 0x7c, 0x93, 0xbb, 0x79, 0xc6, 0xd4, - 0x40, 0xcc, 0x06, 0x0a, 0x2a, 0x0e, 0x2c, 0xe4, 0x46, 0x7d, 0xdf, 0xec, 0x4a, 0xcf, 0xf7, 0xdf, - 0xed, 0x66, 0x4f, 0x97, 0xf2, 0x53, 0x81, 0xb4, 0x94, 0x6a, 0xea, 0x21, 0x39, 0x3d, 0xf1, 0x69, - 0x78, 0xec, 0xa7, 0x22, 0xde, 0xf3, 0x78, 0xea, 0xc5, 0x8a, 0x7f, 0xd9, 0x2d, 0xfd, 0x13, 0x63, - 0x3f, 0x15, 0x18, 0xef, 0x4f, 0x60, 0x3c, 0xf5, 0x30, 0x56, 0x67, 0x9e, 0xab, 0xea, 0x61, 0xd7, - 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xb1, 0xbd, 0x81, 0x2c, 0x28, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/price_extension_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/price_extension_type.pb.go deleted file mode 100644 index 9c83fafc..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/price_extension_type.pb.go +++ /dev/null @@ -1,157 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/price_extension_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Price extension type. -type PriceExtensionTypeEnum_PriceExtensionType int32 - -const ( - // Not specified. - PriceExtensionTypeEnum_UNSPECIFIED PriceExtensionTypeEnum_PriceExtensionType = 0 - // Used for return value only. Represents value unknown in this version. - PriceExtensionTypeEnum_UNKNOWN PriceExtensionTypeEnum_PriceExtensionType = 1 - // The type for showing a list of brands. - PriceExtensionTypeEnum_BRANDS PriceExtensionTypeEnum_PriceExtensionType = 2 - // The type for showing a list of events. - PriceExtensionTypeEnum_EVENTS PriceExtensionTypeEnum_PriceExtensionType = 3 - // The type for showing locations relevant to your business. - PriceExtensionTypeEnum_LOCATIONS PriceExtensionTypeEnum_PriceExtensionType = 4 - // The type for showing sub-regions or districts within a city or region. - PriceExtensionTypeEnum_NEIGHBORHOODS PriceExtensionTypeEnum_PriceExtensionType = 5 - // The type for showing a collection of product categories. - PriceExtensionTypeEnum_PRODUCT_CATEGORIES PriceExtensionTypeEnum_PriceExtensionType = 6 - // The type for showing a collection of related product tiers. - PriceExtensionTypeEnum_PRODUCT_TIERS PriceExtensionTypeEnum_PriceExtensionType = 7 - // The type for showing a collection of services offered by your business. - PriceExtensionTypeEnum_SERVICES PriceExtensionTypeEnum_PriceExtensionType = 8 - // The type for showing a collection of service categories. - PriceExtensionTypeEnum_SERVICE_CATEGORIES PriceExtensionTypeEnum_PriceExtensionType = 9 - // The type for showing a collection of related service tiers. - PriceExtensionTypeEnum_SERVICE_TIERS PriceExtensionTypeEnum_PriceExtensionType = 10 -) - -var PriceExtensionTypeEnum_PriceExtensionType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "BRANDS", - 3: "EVENTS", - 4: "LOCATIONS", - 5: "NEIGHBORHOODS", - 6: "PRODUCT_CATEGORIES", - 7: "PRODUCT_TIERS", - 8: "SERVICES", - 9: "SERVICE_CATEGORIES", - 10: "SERVICE_TIERS", -} - -var PriceExtensionTypeEnum_PriceExtensionType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "BRANDS": 2, - "EVENTS": 3, - "LOCATIONS": 4, - "NEIGHBORHOODS": 5, - "PRODUCT_CATEGORIES": 6, - "PRODUCT_TIERS": 7, - "SERVICES": 8, - "SERVICE_CATEGORIES": 9, - "SERVICE_TIERS": 10, -} - -func (x PriceExtensionTypeEnum_PriceExtensionType) String() string { - return proto.EnumName(PriceExtensionTypeEnum_PriceExtensionType_name, int32(x)) -} - -func (PriceExtensionTypeEnum_PriceExtensionType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2867de60736131b4, []int{0, 0} -} - -// Container for enum describing types for a price extension. -type PriceExtensionTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PriceExtensionTypeEnum) Reset() { *m = PriceExtensionTypeEnum{} } -func (m *PriceExtensionTypeEnum) String() string { return proto.CompactTextString(m) } -func (*PriceExtensionTypeEnum) ProtoMessage() {} -func (*PriceExtensionTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_2867de60736131b4, []int{0} -} - -func (m *PriceExtensionTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PriceExtensionTypeEnum.Unmarshal(m, b) -} -func (m *PriceExtensionTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PriceExtensionTypeEnum.Marshal(b, m, deterministic) -} -func (m *PriceExtensionTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PriceExtensionTypeEnum.Merge(m, src) -} -func (m *PriceExtensionTypeEnum) XXX_Size() int { - return xxx_messageInfo_PriceExtensionTypeEnum.Size(m) -} -func (m *PriceExtensionTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_PriceExtensionTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_PriceExtensionTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.PriceExtensionTypeEnum_PriceExtensionType", PriceExtensionTypeEnum_PriceExtensionType_name, PriceExtensionTypeEnum_PriceExtensionType_value) - proto.RegisterType((*PriceExtensionTypeEnum)(nil), "google.ads.googleads.v2.enums.PriceExtensionTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/price_extension_type.proto", fileDescriptor_2867de60736131b4) -} - -var fileDescriptor_2867de60736131b4 = []byte{ - // 394 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xd1, 0x6a, 0xd4, 0x40, - 0x18, 0x85, 0xcd, 0x56, 0xb7, 0xed, 0xd4, 0xe2, 0x38, 0x17, 0x15, 0xc4, 0x5e, 0xb4, 0x0f, 0x30, - 0x81, 0x78, 0x23, 0xe3, 0xd5, 0x24, 0x19, 0xd3, 0xa0, 0xcc, 0x84, 0x4c, 0x36, 0x82, 0x04, 0x96, - 0xd8, 0x0c, 0x21, 0xd0, 0x9d, 0x09, 0x3b, 0x69, 0xb1, 0xaf, 0xe3, 0xa5, 0x8f, 0xe2, 0x95, 0xcf, - 0xa1, 0x3e, 0x84, 0x4c, 0xd2, 0x2c, 0xc2, 0xa2, 0x37, 0xe1, 0xe4, 0xff, 0xcf, 0x77, 0x48, 0xce, - 0x0f, 0xde, 0xb4, 0xc6, 0xb4, 0x37, 0xca, 0xaf, 0x1b, 0xeb, 0x4f, 0xd2, 0xa9, 0xbb, 0xc0, 0x57, - 0xfa, 0x76, 0x63, 0xfd, 0x7e, 0xdb, 0x5d, 0xab, 0xb5, 0xfa, 0x32, 0x28, 0x6d, 0x3b, 0xa3, 0xd7, - 0xc3, 0x7d, 0xaf, 0x70, 0xbf, 0x35, 0x83, 0x41, 0xe7, 0x93, 0x1d, 0xd7, 0x8d, 0xc5, 0x3b, 0x12, - 0xdf, 0x05, 0x78, 0x24, 0x5f, 0xbe, 0x9a, 0x83, 0xfb, 0xce, 0xaf, 0xb5, 0x36, 0x43, 0x3d, 0x74, - 0x46, 0xdb, 0x09, 0x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, 0xfa, 0x6d, 0x71, 0x9e, 0x4c, 0x51, - 0xb4, 0xb1, 0x78, 0x92, 0x4e, 0x95, 0x01, 0x76, 0xe5, 0xdb, 0xef, 0xf3, 0xbe, 0xa2, 0x8d, 0xad, - 0x76, 0xfb, 0xaa, 0x0c, 0xaa, 0x71, 0xff, 0x73, 0x71, 0x31, 0x0d, 0x09, 0xa1, 0x8d, 0x25, 0x64, - 0xe7, 0x20, 0xa4, 0x0c, 0x08, 0x19, 0x3d, 0x9f, 0x97, 0xe3, 0x87, 0xbd, 0xfe, 0x13, 0x00, 0x00, - 0xff, 0xff, 0xaf, 0x04, 0xcb, 0x20, 0x5c, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/price_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/price_placeholder_field.pb.go deleted file mode 100644 index b0c93d79..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/price_placeholder_field.pb.go +++ /dev/null @@ -1,391 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/price_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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: MONEY. 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: MONEY. 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: MONEY. 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: MONEY. 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: MONEY. 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: MONEY. 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: MONEY. 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: MONEY. 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_f03bfbe669b9f464, []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_f03bfbe669b9f464, []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 (m *PricePlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PricePlaceholderFieldEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.PricePlaceholderFieldEnum_PricePlaceholderField", PricePlaceholderFieldEnum_PricePlaceholderField_name, PricePlaceholderFieldEnum_PricePlaceholderField_value) - proto.RegisterType((*PricePlaceholderFieldEnum)(nil), "google.ads.googleads.v2.enums.PricePlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/price_placeholder_field.proto", fileDescriptor_f03bfbe669b9f464) -} - -var fileDescriptor_f03bfbe669b9f464 = []byte{ - // 728 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0xd4, 0x49, 0x6f, 0xd3, 0x50, - 0x10, 0x07, 0x70, 0xbc, 0xc4, 0xb4, 0xaf, 0x45, 0x7d, 0x7d, 0xd0, 0x02, 0x55, 0x7b, 0x68, 0x3f, - 0x80, 0x23, 0x9c, 0x55, 0xee, 0xc9, 0x49, 0x9d, 0x60, 0x35, 0x75, 0x4d, 0x96, 0xb2, 0x28, 0x92, - 0x15, 0x6a, 0x37, 0x8d, 0x94, 0xc6, 0x51, 0xdc, 0xf6, 0x73, 0xb0, 0xde, 0xa1, 0xc0, 0x05, 0xb1, - 0xde, 0x59, 0x6f, 0x50, 0xe0, 0xc0, 0x8d, 0xf5, 0x0b, 0x70, 0xe9, 0x85, 0xf5, 0x86, 0x1c, 0x3f, - 0x4f, 0x62, 0xc9, 0x70, 0xb1, 0x46, 0x33, 0x6f, 0xc6, 0xbf, 0xd3, 0x1f, 0x2d, 0x36, 0x1d, 0xa7, - 0xd9, 0xb6, 0xe3, 0x0d, 0xcb, 0x8d, 0xfb, 0xa5, 0x57, 0xed, 0x4a, 0x71, 0xbb, 0xb3, 0xb3, 0xe5, - 0xc6, 0xbb, 0xbd, 0xd6, 0xba, 0x6d, 0x76, 0xdb, 0x8d, 0x75, 0x7b, 0xd3, 0x69, 0x5b, 0x76, 0xcf, - 0xdc, 0x68, 0xd9, 0x6d, 0x4b, 0xec, 0xf6, 0x9c, 0x6d, 0x87, 0xcc, 0xf9, 0x1b, 0x62, 0xc3, 0x72, - 0x45, 0x58, 0x16, 0x77, 0x25, 0xb1, 0xbf, 0x3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3, - 0x83, 0xd0, 0x06, 0xfc, 0xaa, 0x82, 0x37, 0xc9, 0x2c, 0x3a, 0x11, 0x6a, 0xaf, 0xac, 0xe6, 0xb4, - 0x92, 0xea, 0x4f, 0x5b, 0x84, 0x50, 0x82, 0x14, 0x10, 0x5e, 0x31, 0xe4, 0x38, 0x35, 0x48, 0x21, - 0xc3, 0x6b, 0x86, 0x4c, 0x52, 0x84, 0x44, 0x11, 0xfb, 0x0c, 0xc1, 0x54, 0x21, 0xf9, 0x8a, 0x37, - 0x0c, 0x99, 0xa6, 0x0c, 0x69, 0x98, 0xf1, 0x96, 0x21, 0x73, 0xd4, 0x21, 0x45, 0x38, 0xde, 0x31, - 0x00, 0x49, 0x04, 0x90, 0x7b, 0x2c, 0x40, 0x12, 0x21, 0xc8, 0x7d, 0x16, 0x20, 0x09, 0x0a, 0x79, - 0xc0, 0x02, 0x24, 0xe1, 0x43, 0x1e, 0xb2, 0x00, 0x49, 0x0c, 0x43, 0x1e, 0xb1, 0x00, 0x49, 0x44, - 0x40, 0x1e, 0xb3, 0x00, 0x49, 0x06, 0x90, 0x4b, 0x1c, 0x40, 0x92, 0x21, 0xc8, 0x65, 0x0e, 0x20, - 0x49, 0x0a, 0xb9, 0xc2, 0x01, 0x24, 0xe9, 0x43, 0xae, 0x72, 0x00, 0x49, 0x0e, 0x43, 0xae, 0x71, - 0x00, 0x49, 0x46, 0x40, 0xae, 0x73, 0x00, 0x49, 0x05, 0x90, 0xef, 0x03, 0x48, 0x2a, 0x04, 0xf9, - 0x31, 0x80, 0xa4, 0x28, 0xe4, 0xe7, 0x00, 0x92, 0xf2, 0x21, 0xbf, 0x06, 0x90, 0xd4, 0x30, 0xe4, - 0xf7, 0x00, 0x92, 0x8a, 0x80, 0xfc, 0x19, 0x40, 0xd2, 0x01, 0xe4, 0x03, 0x0f, 0x90, 0x74, 0x08, - 0xf2, 0x91, 0x07, 0x48, 0x9a, 0x42, 0x3e, 0xf1, 0x00, 0x49, 0xfb, 0x90, 0xcf, 0x3c, 0x40, 0xd2, - 0xc3, 0x90, 0x2f, 0x3c, 0x40, 0xd2, 0x11, 0x90, 0xaf, 0x3c, 0x40, 0x32, 0x01, 0xe4, 0x49, 0x0c, - 0x20, 0x99, 0x10, 0xe4, 0x69, 0x0c, 0x20, 0x19, 0x0a, 0x79, 0x16, 0x03, 0x48, 0xc6, 0x87, 0x3c, - 0x8f, 0x01, 0x24, 0x33, 0x0c, 0x79, 0x11, 0x03, 0x48, 0x26, 0x02, 0xf2, 0x32, 0x06, 0x90, 0x6c, - 0x00, 0xb9, 0x21, 0x00, 0x24, 0x1b, 0x82, 0xdc, 0x14, 0x00, 0x92, 0xa5, 0x90, 0x3d, 0x01, 0x20, - 0x59, 0x1f, 0x72, 0x4b, 0x00, 0x48, 0x76, 0x18, 0x72, 0x5b, 0x00, 0x48, 0x36, 0x02, 0x72, 0x47, - 0xc8, 0x1d, 0x30, 0x68, 0x7e, 0xdd, 0xd9, 0x12, 0xff, 0x9b, 0x9a, 0xb9, 0x99, 0xc8, 0xd8, 0x33, - 0xbc, 0xcc, 0x34, 0x98, 0x0b, 0x39, 0xba, 0xdc, 0x74, 0xda, 0x8d, 0x4e, 0x53, 0x74, 0x7a, 0xcd, - 0x78, 0xd3, 0xee, 0xf4, 0x13, 0x35, 0xc8, 0xef, 0x6e, 0xcb, 0xfd, 0x47, 0x9c, 0x2f, 0xf6, 0xbf, - 0x7b, 0x2c, 0x57, 0x54, 0x94, 0xbb, 0xec, 0x5c, 0xd1, 0x3f, 0xa5, 0x58, 0xae, 0xe8, 0x97, 0x5e, - 0xb5, 0x26, 0x89, 0x5e, 0x00, 0xbb, 0xfb, 0xc1, 0xbc, 0xae, 0x58, 0x6e, 0x1d, 0xe6, 0xf5, 0x35, - 0xa9, 0xde, 0x9f, 0x7f, 0x63, 0xe7, 0xfd, 0xa6, 0x2c, 0x2b, 0x96, 0x2b, 0xcb, 0xf0, 0x42, 0x96, - 0xd7, 0x24, 0x59, 0xee, 0xbf, 0xb9, 0x28, 0xf4, 0x61, 0x89, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, - 0x01, 0x23, 0xa5, 0x52, 0x66, 0x06, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/product_bidding_category_level.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/product_bidding_category_level.pb.go deleted file mode 100644 index 5b0fbbc5..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/product_bidding_category_level.pb.go +++ /dev/null @@ -1,137 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/product_bidding_category_level.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing the level of the product bidding category. -type ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel int32 - -const ( - // Not specified. - ProductBiddingCategoryLevelEnum_UNSPECIFIED ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel = 0 - // Used for return value only. Represents value unknown in this version. - ProductBiddingCategoryLevelEnum_UNKNOWN ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel = 1 - // Level 1. - ProductBiddingCategoryLevelEnum_LEVEL1 ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel = 2 - // Level 2. - ProductBiddingCategoryLevelEnum_LEVEL2 ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel = 3 - // Level 3. - ProductBiddingCategoryLevelEnum_LEVEL3 ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel = 4 - // Level 4. - ProductBiddingCategoryLevelEnum_LEVEL4 ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel = 5 - // Level 5. - ProductBiddingCategoryLevelEnum_LEVEL5 ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel = 6 -) - -var ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "LEVEL1", - 3: "LEVEL2", - 4: "LEVEL3", - 5: "LEVEL4", - 6: "LEVEL5", -} - -var ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "LEVEL1": 2, - "LEVEL2": 3, - "LEVEL3": 4, - "LEVEL4": 5, - "LEVEL5": 6, -} - -func (x ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel) String() string { - return proto.EnumName(ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel_name, int32(x)) -} - -func (ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cc30363777530bf4, []int{0, 0} -} - -// Level of a product bidding category. -type ProductBiddingCategoryLevelEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ProductBiddingCategoryLevelEnum) Reset() { *m = ProductBiddingCategoryLevelEnum{} } -func (m *ProductBiddingCategoryLevelEnum) String() string { return proto.CompactTextString(m) } -func (*ProductBiddingCategoryLevelEnum) ProtoMessage() {} -func (*ProductBiddingCategoryLevelEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_cc30363777530bf4, []int{0} -} - -func (m *ProductBiddingCategoryLevelEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProductBiddingCategoryLevelEnum.Unmarshal(m, b) -} -func (m *ProductBiddingCategoryLevelEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProductBiddingCategoryLevelEnum.Marshal(b, m, deterministic) -} -func (m *ProductBiddingCategoryLevelEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductBiddingCategoryLevelEnum.Merge(m, src) -} -func (m *ProductBiddingCategoryLevelEnum) XXX_Size() int { - return xxx_messageInfo_ProductBiddingCategoryLevelEnum.Size(m) -} -func (m *ProductBiddingCategoryLevelEnum) XXX_DiscardUnknown() { - xxx_messageInfo_ProductBiddingCategoryLevelEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_ProductBiddingCategoryLevelEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel", ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel_name, ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel_value) - proto.RegisterType((*ProductBiddingCategoryLevelEnum)(nil), "google.ads.googleads.v2.enums.ProductBiddingCategoryLevelEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/product_bidding_category_level.proto", fileDescriptor_cc30363777530bf4) -} - -var fileDescriptor_cc30363777530bf4 = []byte{ - // 329 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x41, 0x4b, 0xfb, 0x30, - 0x18, 0xc6, 0xff, 0xed, 0xfe, 0x4e, 0xc8, 0x0e, 0x86, 0x1e, 0xd5, 0xa1, 0xdb, 0x07, 0x48, 0xb1, - 0xd3, 0x4b, 0x3c, 0xb5, 0xb3, 0x8e, 0xe1, 0xa8, 0x05, 0x59, 0x05, 0x29, 0x8c, 0x6c, 0x09, 0xa1, - 0xd0, 0x25, 0xa5, 0xe9, 0x26, 0x7e, 0x15, 0x8f, 0x1e, 0xfd, 0x28, 0x7e, 0x14, 0xef, 0xde, 0xa5, - 0xc9, 0x96, 0x9b, 0xbb, 0x94, 0x1f, 0x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xdc, 0xab, - 0x42, 0xfd, 0xf1, 0x0c, 0xb7, 0xfa, 0xfb, 0xe1, 0x76, 0x26, 0x61, 0xf8, 0xe9, 0xf6, 0x27, 0x46, - 0x2a, 0xa4, 0x0a, 0x19, 0x6c, 0x29, 0x0b, 0x50, 0x9b, 0x95, 0xfa, 0xda, 0xd7, 0xf3, 0x90, 0xaa, - 0xdc, 0xd6, 0xf3, 0x2c, 0xc8, 0x75, 0xfd, 0xdb, 0x1d, 0x98, 0x9f, 0x18, 0x87, 0x54, 0x61, 0x6c, - 0x3b, 0x30, 0xce, 0x02, 0x8c, 0x75, 0xcf, 0xb2, 0xab, 0x17, 0x1b, 0xfd, 0x06, 0x00, 0x00, 0xff, - 0xff, 0x41, 0x88, 0x5d, 0x7b, 0x1e, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/product_bidding_category_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/product_bidding_category_status.pb.go deleted file mode 100644 index 261851f4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/product_bidding_category_status.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/product_bidding_category_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing the status of the product bidding category. -type ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus int32 - -const ( - // Not specified. - ProductBiddingCategoryStatusEnum_UNSPECIFIED ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus = 0 - // Used for return value only. Represents value unknown in this version. - ProductBiddingCategoryStatusEnum_UNKNOWN ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus = 1 - // The category is active and can be used for bidding. - ProductBiddingCategoryStatusEnum_ACTIVE ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus = 2 - // The category is obsolete. Used only for reporting purposes. - ProductBiddingCategoryStatusEnum_OBSOLETE ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus = 3 -) - -var ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "ACTIVE", - 3: "OBSOLETE", -} - -var ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "ACTIVE": 2, - "OBSOLETE": 3, -} - -func (x ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus) String() string { - return proto.EnumName(ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus_name, int32(x)) -} - -func (ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_feee1030cc57a726, []int{0, 0} -} - -// Status of the product bidding category. -type ProductBiddingCategoryStatusEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ProductBiddingCategoryStatusEnum) Reset() { *m = ProductBiddingCategoryStatusEnum{} } -func (m *ProductBiddingCategoryStatusEnum) String() string { return proto.CompactTextString(m) } -func (*ProductBiddingCategoryStatusEnum) ProtoMessage() {} -func (*ProductBiddingCategoryStatusEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_feee1030cc57a726, []int{0} -} - -func (m *ProductBiddingCategoryStatusEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProductBiddingCategoryStatusEnum.Unmarshal(m, b) -} -func (m *ProductBiddingCategoryStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProductBiddingCategoryStatusEnum.Marshal(b, m, deterministic) -} -func (m *ProductBiddingCategoryStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductBiddingCategoryStatusEnum.Merge(m, src) -} -func (m *ProductBiddingCategoryStatusEnum) XXX_Size() int { - return xxx_messageInfo_ProductBiddingCategoryStatusEnum.Size(m) -} -func (m *ProductBiddingCategoryStatusEnum) XXX_DiscardUnknown() { - xxx_messageInfo_ProductBiddingCategoryStatusEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_ProductBiddingCategoryStatusEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus", ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus_name, ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus_value) - proto.RegisterType((*ProductBiddingCategoryStatusEnum)(nil), "google.ads.googleads.v2.enums.ProductBiddingCategoryStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/product_bidding_category_status.proto", fileDescriptor_feee1030cc57a726) -} - -var fileDescriptor_feee1030cc57a726 = []byte{ - // 319 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xc3, 0x30, - 0x14, 0x86, 0x5d, 0x07, 0x53, 0x32, 0xc1, 0xd2, 0x4b, 0xd9, 0xc0, 0xed, 0x01, 0x12, 0xa8, 0x77, - 0xf1, 0x2a, 0xad, 0x71, 0x0c, 0xa5, 0x2b, 0x6c, 0xab, 0x20, 0x85, 0x91, 0x2d, 0x25, 0x14, 0xb6, - 0xa4, 0x34, 0xe9, 0x40, 0x1f, 0xc7, 0x4b, 0x1f, 0xc5, 0x47, 0xf1, 0x01, 0xbc, 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 0x3c, 0x06, 0x5b, 0x95, 0xfa, 0x9f, 0x9c, 0x1f, 0xec, 0xfb, 0xe9, 0x75, 0x27, - 0x84, 0x7c, 0x79, 0xc3, 0x89, 0xb3, 0x22, 0x5c, 0x43, 0x27, 0x5b, 0x95, 0x85, 0xb0, 0xcd, 0x42, - 0x7f, 0x1f, 0xeb, 0x39, 0xe1, 0x3a, 0x3f, 0xd5, 0xf3, 0x2c, 0xcc, 0x6d, 0xfd, 0xc7, 0x1b, 0xb9, - 0x4f, 0x8c, 0x09, 0xd7, 0x18, 0x9f, 0x3a, 0x30, 0xce, 0x42, 0x8c, 0x6d, 0xcf, 0xba, 0x67, 0x17, - 0xbb, 0xff, 0x0b, 0x00, 0x00, 0xff, 0xff, 0xdd, 0x5c, 0xb4, 0x01, 0xff, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/product_channel.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/product_channel.pb.go deleted file mode 100644 index df8ef401..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/product_channel.pb.go +++ /dev/null @@ -1,123 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/product_channel.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_8c7e543098a4fcf9, []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_8c7e543098a4fcf9, []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 (m *ProductChannelEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductChannelEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.ProductChannelEnum_ProductChannel", ProductChannelEnum_ProductChannel_name, ProductChannelEnum_ProductChannel_value) - proto.RegisterType((*ProductChannelEnum)(nil), "google.ads.googleads.v2.enums.ProductChannelEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/product_channel.proto", fileDescriptor_8c7e543098a4fcf9) -} - -var fileDescriptor_8c7e543098a4fcf9 = []byte{ - // 299 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdf, 0x4a, 0xfb, 0x30, - 0x14, 0xfe, 0xad, 0xe3, 0x37, 0x31, 0x03, 0x2d, 0xf1, 0x4e, 0xdc, 0xc5, 0xf6, 0x00, 0x09, 0x74, - 0x77, 0xf1, 0x2a, 0x9b, 0x75, 0x0c, 0x47, 0x56, 0x90, 0x4d, 0xd0, 0x82, 0xc4, 0xa6, 0xc4, 0x42, - 0x9b, 0x94, 0xa6, 0xdd, 0x03, 0x79, 0xe9, 0xa3, 0xf8, 0x24, 0xe2, 0x53, 0x48, 0x13, 0x5b, 0xd8, - 0x85, 0xde, 0x84, 0x8f, 0xf3, 0xfd, 0xc9, 0x77, 0x0e, 0x98, 0x4b, 0xad, 0x65, 0x9e, 0x62, 0x2e, - 0x0c, 0x76, 0xb0, 0x45, 0x87, 0x00, 0xa7, 0xaa, 0x29, 0x0c, 0x2e, 0x2b, 0x2d, 0x9a, 0xa4, 0x7e, - 0x4e, 0x5e, 0xb9, 0x52, 0x69, 0x8e, 0xca, 0x4a, 0xd7, 0x1a, 0x4e, 0x9c, 0x12, 0x71, 0x61, 0x50, - 0x6f, 0x42, 0x87, 0x00, 0x59, 0xd3, 0xe5, 0x55, 0x97, 0x59, 0x66, 0x98, 0x2b, 0xa5, 0x6b, 0x5e, - 0x67, 0x5a, 0x19, 0x67, 0x9e, 0x3d, 0x01, 0x18, 0xb9, 0xd4, 0xa5, 0x0b, 0x0d, 0x55, 0x53, 0xcc, - 0x42, 0x70, 0x76, 0x3c, 0x85, 0xe7, 0x60, 0xbc, 0x63, 0xf7, 0x51, 0xb8, 0x5c, 0xdf, 0xae, 0xc3, - 0x1b, 0xff, 0x1f, 0x1c, 0x83, 0x93, 0x1d, 0xbb, 0x63, 0xdb, 0x07, 0xe6, 0x0f, 0x20, 0x00, 0xa3, - 0x2d, 0xdb, 0xac, 0x59, 0xe8, 0x7b, 0xf0, 0x14, 0xfc, 0xdf, 0x6c, 0x97, 0x74, 0xe3, 0x0f, 0x17, - 0x9f, 0x03, 0x30, 0x4d, 0x74, 0x81, 0xfe, 0x2c, 0xb8, 0xb8, 0x38, 0xfe, 0x2a, 0x6a, 0x7b, 0x45, - 0x83, 0xc7, 0xc5, 0x8f, 0x4b, 0xea, 0x9c, 0x2b, 0x89, 0x74, 0x25, 0xb1, 0x4c, 0x95, 0x6d, 0xdd, - 0xdd, 0xa6, 0xcc, 0xcc, 0x2f, 0xa7, 0xba, 0xb6, 0xef, 0x9b, 0x37, 0x5c, 0x51, 0xfa, 0xee, 0x4d, - 0x56, 0x2e, 0x8a, 0x0a, 0x83, 0x1c, 0x6c, 0xd1, 0x3e, 0x40, 0xed, 0xb2, 0xe6, 0xa3, 0xe3, 0x63, - 0x2a, 0x4c, 0xdc, 0xf3, 0xf1, 0x3e, 0x88, 0x2d, 0xff, 0xe5, 0x4d, 0xdd, 0x90, 0x10, 0x2a, 0x0c, - 0x21, 0xbd, 0x82, 0x90, 0x7d, 0x40, 0x88, 0xd5, 0xbc, 0x8c, 0x6c, 0xb1, 0xf9, 0x77, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x52, 0x69, 0xdc, 0xfc, 0xc2, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/product_channel_exclusivity.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/product_channel_exclusivity.pb.go deleted file mode 100644 index 4bc2c38d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/product_channel_exclusivity.pb.go +++ /dev/null @@ -1,127 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/product_channel_exclusivity.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_4e6325aa75f52106, []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_4e6325aa75f52106, []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 (m *ProductChannelExclusivityEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductChannelExclusivityEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.ProductChannelExclusivityEnum_ProductChannelExclusivity", ProductChannelExclusivityEnum_ProductChannelExclusivity_name, ProductChannelExclusivityEnum_ProductChannelExclusivity_value) - proto.RegisterType((*ProductChannelExclusivityEnum)(nil), "google.ads.googleads.v2.enums.ProductChannelExclusivityEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/product_channel_exclusivity.proto", fileDescriptor_4e6325aa75f52106) -} - -var fileDescriptor_4e6325aa75f52106 = []byte{ - // 324 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x41, 0x4b, 0xc3, 0x30, - 0x18, 0xb5, 0x1d, 0x28, 0x64, 0xa8, 0xb3, 0x37, 0xc5, 0x09, 0xdb, 0x0f, 0x48, 0xa1, 0xde, 0xe2, - 0x41, 0xb2, 0x19, 0x67, 0x71, 0xc6, 0xc2, 0xdc, 0x04, 0x29, 0xcc, 0xd8, 0x94, 0x58, 0xe8, 0x92, - 0xb2, 0xb4, 0x43, 0x8f, 0xfe, 0x15, 0x8f, 0xfe, 0x14, 0x7f, 0x8a, 0x57, 0xff, 0x80, 0x34, 0x71, - 0xf5, 0x34, 0x2f, 0xe1, 0x91, 0xef, 0x7d, 0xef, 0x7d, 0xef, 0x81, 0x73, 0xa1, 0x94, 0xc8, 0x53, - 0x9f, 0x71, 0xed, 0x5b, 0x58, 0xa3, 0x55, 0xe0, 0xa7, 0xb2, 0x5a, 0x68, 0xbf, 0x58, 0x2a, 0x5e, - 0x25, 0xe5, 0x3c, 0x79, 0x66, 0x52, 0xa6, 0xf9, 0x3c, 0x7d, 0x49, 0xf2, 0x4a, 0x67, 0xab, 0xac, - 0x7c, 0x85, 0xc5, 0x52, 0x95, 0xca, 0xeb, 0xda, 0x2d, 0xc8, 0xb8, 0x86, 0x8d, 0x00, 0x5c, 0x05, - 0xd0, 0x08, 0x1c, 0x1d, 0xaf, 0xf5, 0x8b, 0xcc, 0x67, 0x52, 0xaa, 0x92, 0x95, 0x99, 0x92, 0xda, - 0x2e, 0xf7, 0xdf, 0x1c, 0xd0, 0x8d, 0xac, 0xc5, 0xd0, 0x3a, 0x90, 0x3f, 0x03, 0x22, 0xab, 0x45, - 0xff, 0x11, 0x1c, 0x6e, 0x24, 0x78, 0xfb, 0xa0, 0x3d, 0xa5, 0x93, 0x88, 0x0c, 0xc3, 0xcb, 0x90, - 0x5c, 0x74, 0xb6, 0xbc, 0x36, 0xd8, 0x99, 0xd2, 0x6b, 0x7a, 0x7b, 0x4f, 0x3b, 0x8e, 0xe7, 0x81, - 0xbd, 0x49, 0x48, 0x47, 0x63, 0x32, 0x1f, 0x5e, 0x61, 0x4a, 0xc9, 0xb8, 0xe3, 0x7a, 0x07, 0x60, - 0xf7, 0x66, 0x3a, 0xbe, 0x0b, 0x9b, 0xaf, 0xd6, 0xe0, 0xdb, 0x01, 0xbd, 0x44, 0x2d, 0xe0, 0xbf, - 0x39, 0x06, 0x27, 0x1b, 0xaf, 0x88, 0xea, 0x24, 0x91, 0xf3, 0x30, 0xf8, 0x15, 0x10, 0x2a, 0x67, - 0x52, 0x40, 0xb5, 0x14, 0xbe, 0x48, 0xa5, 0xc9, 0xb9, 0x6e, 0xb6, 0xc8, 0xf4, 0x86, 0xa2, 0xcf, - 0xcc, 0xfb, 0xee, 0xb6, 0x46, 0x18, 0x7f, 0xb8, 0xdd, 0x91, 0x95, 0xc2, 0x5c, 0x43, 0x0b, 0x6b, - 0x34, 0x0b, 0x60, 0x5d, 0x89, 0xfe, 0x5c, 0xcf, 0x63, 0xcc, 0x75, 0xdc, 0xcc, 0xe3, 0x59, 0x10, - 0x9b, 0xf9, 0x97, 0xdb, 0xb3, 0x9f, 0x08, 0x61, 0xae, 0x11, 0x6a, 0x18, 0x08, 0xcd, 0x02, 0x84, - 0x0c, 0xe7, 0x69, 0xdb, 0x1c, 0x76, 0xfa, 0x13, 0x00, 0x00, 0xff, 0xff, 0x0d, 0x3c, 0x5f, 0x0b, - 0x00, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/product_condition.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/product_condition.pb.go deleted file mode 100644 index da8afdd9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/product_condition.pb.go +++ /dev/null @@ -1,128 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/product_condition.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_bd718a79cf1e8a2d, []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_bd718a79cf1e8a2d, []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 (m *ProductConditionEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductConditionEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.ProductConditionEnum_ProductCondition", ProductConditionEnum_ProductCondition_name, ProductConditionEnum_ProductCondition_value) - proto.RegisterType((*ProductConditionEnum)(nil), "google.ads.googleads.v2.enums.ProductConditionEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/product_condition.proto", fileDescriptor_bd718a79cf1e8a2d) -} - -var fileDescriptor_bd718a79cf1e8a2d = []byte{ - // 308 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x4a, 0xc3, 0x30, - 0x18, 0x77, 0x7f, 0x74, 0x92, 0x1d, 0x0c, 0x45, 0x2f, 0xe2, 0x0e, 0xdb, 0x03, 0x24, 0x50, 0xf1, - 0x12, 0x4f, 0xed, 0x96, 0xcd, 0x21, 0xd4, 0xb2, 0xd9, 0x0d, 0xa4, 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, 0x96, 0x1c, 0xf3, 0xbd, 0x30, 0x8b, 0x34, 0x07, 0x2b, 0x52, 0xf5, 0xc7, 0xfd, 0x1e, - 0xcd, 0xfb, 0xd9, 0xed, 0x2d, 0x3c, 0xef, 0xab, 0x3b, 0x5a, 0xd8, 0x28, 0x8f, 0x29, 0x64, 0xa1, - 0x46, 0x1b, 0x17, 0xe9, 0xed, 0xd5, 0x77, 0xc3, 0xc7, 0x1e, 0x53, 0x71, 0xcb, 0xc7, 0x1b, 0x37, - 0x36, 0xfc, 0xb1, 0x3b, 0xb6, 0x43, 0x42, 0x3c, 0xa6, 0x08, 0x69, 0x15, 0x84, 0x6c, 0x5c, 0x42, - 0x8c, 0xe6, 0xe3, 0xc2, 0x14, 0xbb, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0xc9, 0xb3, 0x1a, 0xaf, - 0xd7, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/product_type_level.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/product_type_level.pb.go deleted file mode 100644 index 6328b45b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/product_type_level.pb.go +++ /dev/null @@ -1,136 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/product_type_level.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_LEVEL1 ProductTypeLevelEnum_ProductTypeLevel = 7 - // Level 2. - ProductTypeLevelEnum_LEVEL2 ProductTypeLevelEnum_ProductTypeLevel = 8 - // Level 3. - ProductTypeLevelEnum_LEVEL3 ProductTypeLevelEnum_ProductTypeLevel = 9 - // Level 4. - ProductTypeLevelEnum_LEVEL4 ProductTypeLevelEnum_ProductTypeLevel = 10 - // Level 5. - ProductTypeLevelEnum_LEVEL5 ProductTypeLevelEnum_ProductTypeLevel = 11 -) - -var ProductTypeLevelEnum_ProductTypeLevel_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 7: "LEVEL1", - 8: "LEVEL2", - 9: "LEVEL3", - 10: "LEVEL4", - 11: "LEVEL5", -} - -var ProductTypeLevelEnum_ProductTypeLevel_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "LEVEL1": 7, - "LEVEL2": 8, - "LEVEL3": 9, - "LEVEL4": 10, - "LEVEL5": 11, -} - -func (x ProductTypeLevelEnum_ProductTypeLevel) String() string { - return proto.EnumName(ProductTypeLevelEnum_ProductTypeLevel_name, int32(x)) -} - -func (ProductTypeLevelEnum_ProductTypeLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_73d48975fa861d36, []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_73d48975fa861d36, []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 (m *ProductTypeLevelEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductTypeLevelEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.ProductTypeLevelEnum_ProductTypeLevel", ProductTypeLevelEnum_ProductTypeLevel_name, ProductTypeLevelEnum_ProductTypeLevel_value) - proto.RegisterType((*ProductTypeLevelEnum)(nil), "google.ads.googleads.v2.enums.ProductTypeLevelEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/product_type_level.proto", fileDescriptor_73d48975fa861d36) -} - -var fileDescriptor_73d48975fa861d36 = []byte{ - // 315 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x41, 0x4a, 0x03, 0x31, - 0x18, 0x85, 0x9d, 0x0a, 0xad, 0xa6, 0x0b, 0xc3, 0xa0, 0x1b, 0xb1, 0x8b, 0xf6, 0x00, 0x09, 0xa6, - 0xea, 0x22, 0xae, 0xa6, 0x3a, 0x96, 0x62, 0x19, 0x07, 0xb4, 0x23, 0xc8, 0x40, 0x19, 0x9b, 0x10, - 0x0a, 0xd3, 0x24, 0x34, 0xd3, 0x42, 0xf7, 0x9e, 0xc4, 0xa5, 0x47, 0xf1, 0x28, 0x3d, 0x85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e6, 0x8f, 0x66, 0x6f, 0xed, 0xfb, 0xd9, 0x38, 0x1c, 0x46, 0xd1, 0x57, 0xa3, - 0x33, 0x74, 0x56, 0x11, 0x33, 0xc8, 0x61, 0x4d, 0x19, 0x41, 0x75, 0x2b, 0xe6, 0x7b, 0x37, 0xcf, - 0x23, 0x66, 0x72, 0x3f, 0xcf, 0x33, 0x92, 0xdb, 0xf9, 0xb6, 0xd1, 0x75, 0x9f, 0x94, 0x46, 0xcc, - 0x50, 0xea, 0x37, 0x28, 0xcd, 0x08, 0xa5, 0x76, 0xe7, 0xbd, 0x69, 0x0f, 0xeb, 0xff, 0x04, 0x00, - 0x00, 0xff, 0xff, 0x5f, 0x5f, 0x05, 0xb1, 0xf1, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/promotion_extension_discount_modifier.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/promotion_extension_discount_modifier.pb.go deleted file mode 100644 index 89b586d5..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/promotion_extension_discount_modifier.pb.go +++ /dev/null @@ -1,123 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/promotion_extension_discount_modifier.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A promotion extension discount modifier. -type PromotionExtensionDiscountModifierEnum_PromotionExtensionDiscountModifier int32 - -const ( - // Not specified. - PromotionExtensionDiscountModifierEnum_UNSPECIFIED PromotionExtensionDiscountModifierEnum_PromotionExtensionDiscountModifier = 0 - // Used for return value only. Represents value unknown in this version. - PromotionExtensionDiscountModifierEnum_UNKNOWN PromotionExtensionDiscountModifierEnum_PromotionExtensionDiscountModifier = 1 - // 'Up to'. - PromotionExtensionDiscountModifierEnum_UP_TO PromotionExtensionDiscountModifierEnum_PromotionExtensionDiscountModifier = 2 -) - -var PromotionExtensionDiscountModifierEnum_PromotionExtensionDiscountModifier_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "UP_TO", -} - -var PromotionExtensionDiscountModifierEnum_PromotionExtensionDiscountModifier_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "UP_TO": 2, -} - -func (x PromotionExtensionDiscountModifierEnum_PromotionExtensionDiscountModifier) String() string { - return proto.EnumName(PromotionExtensionDiscountModifierEnum_PromotionExtensionDiscountModifier_name, int32(x)) -} - -func (PromotionExtensionDiscountModifierEnum_PromotionExtensionDiscountModifier) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_39a0cde723578cfe, []int{0, 0} -} - -// Container for enum describing possible a promotion extension -// discount modifier. -type PromotionExtensionDiscountModifierEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PromotionExtensionDiscountModifierEnum) Reset() { - *m = PromotionExtensionDiscountModifierEnum{} -} -func (m *PromotionExtensionDiscountModifierEnum) String() string { return proto.CompactTextString(m) } -func (*PromotionExtensionDiscountModifierEnum) ProtoMessage() {} -func (*PromotionExtensionDiscountModifierEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_39a0cde723578cfe, []int{0} -} - -func (m *PromotionExtensionDiscountModifierEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PromotionExtensionDiscountModifierEnum.Unmarshal(m, b) -} -func (m *PromotionExtensionDiscountModifierEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PromotionExtensionDiscountModifierEnum.Marshal(b, m, deterministic) -} -func (m *PromotionExtensionDiscountModifierEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PromotionExtensionDiscountModifierEnum.Merge(m, src) -} -func (m *PromotionExtensionDiscountModifierEnum) XXX_Size() int { - return xxx_messageInfo_PromotionExtensionDiscountModifierEnum.Size(m) -} -func (m *PromotionExtensionDiscountModifierEnum) XXX_DiscardUnknown() { - xxx_messageInfo_PromotionExtensionDiscountModifierEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_PromotionExtensionDiscountModifierEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.PromotionExtensionDiscountModifierEnum_PromotionExtensionDiscountModifier", PromotionExtensionDiscountModifierEnum_PromotionExtensionDiscountModifier_name, PromotionExtensionDiscountModifierEnum_PromotionExtensionDiscountModifier_value) - proto.RegisterType((*PromotionExtensionDiscountModifierEnum)(nil), "google.ads.googleads.v2.enums.PromotionExtensionDiscountModifierEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/promotion_extension_discount_modifier.proto", fileDescriptor_39a0cde723578cfe) -} - -var fileDescriptor_39a0cde723578cfe = []byte{ - // 311 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0xb1, 0x4e, 0xc3, 0x30, - 0x10, 0x86, 0x69, 0x10, 0x20, 0xdc, 0x81, 0x2a, 0x23, 0xa2, 0x43, 0x3b, 0xc0, 0x66, 0x4b, 0x61, - 0x33, 0x53, 0x4a, 0x43, 0x55, 0xa1, 0xa6, 0x91, 0xa0, 0x45, 0x42, 0x91, 0xaa, 0x50, 0x1b, 0xcb, - 0x52, 0xe3, 0x8b, 0xe2, 0xb4, 0xf0, 0x3c, 0x8c, 0x3c, 0x0a, 0x8f, 0xc2, 0x33, 0x30, 0x20, 0xdb, - 0x49, 0x36, 0xe8, 0x62, 0xfd, 0xf2, 0xdd, 0xfd, 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x90, 0x69, - 0xec, 0xa4, 0x51, 0xcb, 0x00, 0x9b, 0x20, 0xf4, 0x57, 0x53, 0x4f, 0x43, 0xa6, 0xd3, 0xb6, 0x9e, - 0x2e, 0x83, 0xd4, 0xd6, 0xbf, 0xbd, 0x81, 0xfb, 0xa4, 0x34, 0x64, 0x9a, 0xd2, 0xb6, 0x83, 0xd2, - 0x65, 0x40, 0xa9, 0xed, 0x79, 0x39, 0xb6, 0x8b, 0x5d, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x90, - 0xfb, 0xa2, 0x07, 0x08, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/promotion_extension_occasion.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/promotion_extension_occasion.pb.go deleted file mode 100644 index db3927fa..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/promotion_extension_occasion.pb.go +++ /dev/null @@ -1,288 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/promotion_extension_occasion.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A promotion extension occasion. -type PromotionExtensionOccasionEnum_PromotionExtensionOccasion int32 - -const ( - // Not specified. - PromotionExtensionOccasionEnum_UNSPECIFIED PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 0 - // Used for return value only. Represents value unknown in this version. - PromotionExtensionOccasionEnum_UNKNOWN PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 1 - // New Year's. - PromotionExtensionOccasionEnum_NEW_YEARS PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 2 - // Chinese New Year. - PromotionExtensionOccasionEnum_CHINESE_NEW_YEAR PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 3 - // Valentine's Day. - PromotionExtensionOccasionEnum_VALENTINES_DAY PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 4 - // Easter. - PromotionExtensionOccasionEnum_EASTER PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 5 - // Mother's Day. - PromotionExtensionOccasionEnum_MOTHERS_DAY PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 6 - // Father's Day. - PromotionExtensionOccasionEnum_FATHERS_DAY PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 7 - // Labor Day. - PromotionExtensionOccasionEnum_LABOR_DAY PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 8 - // Back To School. - PromotionExtensionOccasionEnum_BACK_TO_SCHOOL PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 9 - // Halloween. - PromotionExtensionOccasionEnum_HALLOWEEN PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 10 - // Black Friday. - PromotionExtensionOccasionEnum_BLACK_FRIDAY PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 11 - // Cyber Monday. - PromotionExtensionOccasionEnum_CYBER_MONDAY PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 12 - // Christmas. - PromotionExtensionOccasionEnum_CHRISTMAS PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 13 - // Boxing Day. - PromotionExtensionOccasionEnum_BOXING_DAY PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 14 - // Independence Day in any country. - PromotionExtensionOccasionEnum_INDEPENDENCE_DAY PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 15 - // National Day in any country. - PromotionExtensionOccasionEnum_NATIONAL_DAY PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 16 - // End of any season. - PromotionExtensionOccasionEnum_END_OF_SEASON PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 17 - // Winter Sale. - PromotionExtensionOccasionEnum_WINTER_SALE PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 18 - // Summer sale. - PromotionExtensionOccasionEnum_SUMMER_SALE PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 19 - // Fall Sale. - PromotionExtensionOccasionEnum_FALL_SALE PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 20 - // Spring Sale. - PromotionExtensionOccasionEnum_SPRING_SALE PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 21 - // Ramadan. - PromotionExtensionOccasionEnum_RAMADAN PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 22 - // Eid al-Fitr. - PromotionExtensionOccasionEnum_EID_AL_FITR PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 23 - // Eid al-Adha. - PromotionExtensionOccasionEnum_EID_AL_ADHA PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 24 - // Singles Day. - PromotionExtensionOccasionEnum_SINGLES_DAY PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 25 - // Women's Day. - PromotionExtensionOccasionEnum_WOMENS_DAY PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 26 - // Holi. - PromotionExtensionOccasionEnum_HOLI PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 27 - // Parent's Day. - PromotionExtensionOccasionEnum_PARENTS_DAY PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 28 - // St. Nicholas Day. - PromotionExtensionOccasionEnum_ST_NICHOLAS_DAY PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 29 - // Carnival. - PromotionExtensionOccasionEnum_CARNIVAL PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 30 - // Epiphany, also known as Three Kings' Day. - PromotionExtensionOccasionEnum_EPIPHANY PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 31 - // Rosh Hashanah. - PromotionExtensionOccasionEnum_ROSH_HASHANAH PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 32 - // Passover. - PromotionExtensionOccasionEnum_PASSOVER PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 33 - // Hanukkah. - PromotionExtensionOccasionEnum_HANUKKAH PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 34 - // Diwali. - PromotionExtensionOccasionEnum_DIWALI PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 35 - // Navratri. - PromotionExtensionOccasionEnum_NAVRATRI PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 36 - // Available in Thai: Songkran. - PromotionExtensionOccasionEnum_SONGKRAN PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 37 - // Available in Japanese: Year-end Gift. - PromotionExtensionOccasionEnum_YEAR_END_GIFT PromotionExtensionOccasionEnum_PromotionExtensionOccasion = 38 -) - -var PromotionExtensionOccasionEnum_PromotionExtensionOccasion_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "NEW_YEARS", - 3: "CHINESE_NEW_YEAR", - 4: "VALENTINES_DAY", - 5: "EASTER", - 6: "MOTHERS_DAY", - 7: "FATHERS_DAY", - 8: "LABOR_DAY", - 9: "BACK_TO_SCHOOL", - 10: "HALLOWEEN", - 11: "BLACK_FRIDAY", - 12: "CYBER_MONDAY", - 13: "CHRISTMAS", - 14: "BOXING_DAY", - 15: "INDEPENDENCE_DAY", - 16: "NATIONAL_DAY", - 17: "END_OF_SEASON", - 18: "WINTER_SALE", - 19: "SUMMER_SALE", - 20: "FALL_SALE", - 21: "SPRING_SALE", - 22: "RAMADAN", - 23: "EID_AL_FITR", - 24: "EID_AL_ADHA", - 25: "SINGLES_DAY", - 26: "WOMENS_DAY", - 27: "HOLI", - 28: "PARENTS_DAY", - 29: "ST_NICHOLAS_DAY", - 30: "CARNIVAL", - 31: "EPIPHANY", - 32: "ROSH_HASHANAH", - 33: "PASSOVER", - 34: "HANUKKAH", - 35: "DIWALI", - 36: "NAVRATRI", - 37: "SONGKRAN", - 38: "YEAR_END_GIFT", -} - -var PromotionExtensionOccasionEnum_PromotionExtensionOccasion_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "NEW_YEARS": 2, - "CHINESE_NEW_YEAR": 3, - "VALENTINES_DAY": 4, - "EASTER": 5, - "MOTHERS_DAY": 6, - "FATHERS_DAY": 7, - "LABOR_DAY": 8, - "BACK_TO_SCHOOL": 9, - "HALLOWEEN": 10, - "BLACK_FRIDAY": 11, - "CYBER_MONDAY": 12, - "CHRISTMAS": 13, - "BOXING_DAY": 14, - "INDEPENDENCE_DAY": 15, - "NATIONAL_DAY": 16, - "END_OF_SEASON": 17, - "WINTER_SALE": 18, - "SUMMER_SALE": 19, - "FALL_SALE": 20, - "SPRING_SALE": 21, - "RAMADAN": 22, - "EID_AL_FITR": 23, - "EID_AL_ADHA": 24, - "SINGLES_DAY": 25, - "WOMENS_DAY": 26, - "HOLI": 27, - "PARENTS_DAY": 28, - "ST_NICHOLAS_DAY": 29, - "CARNIVAL": 30, - "EPIPHANY": 31, - "ROSH_HASHANAH": 32, - "PASSOVER": 33, - "HANUKKAH": 34, - "DIWALI": 35, - "NAVRATRI": 36, - "SONGKRAN": 37, - "YEAR_END_GIFT": 38, -} - -func (x PromotionExtensionOccasionEnum_PromotionExtensionOccasion) String() string { - return proto.EnumName(PromotionExtensionOccasionEnum_PromotionExtensionOccasion_name, int32(x)) -} - -func (PromotionExtensionOccasionEnum_PromotionExtensionOccasion) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_5f277c5dbbd15619, []int{0, 0} -} - -// Container for enum describing a promotion extension occasion. -// For more information about the occasions please check: -// https://support.google.com/google-ads/answer/7367521 -type PromotionExtensionOccasionEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PromotionExtensionOccasionEnum) Reset() { *m = PromotionExtensionOccasionEnum{} } -func (m *PromotionExtensionOccasionEnum) String() string { return proto.CompactTextString(m) } -func (*PromotionExtensionOccasionEnum) ProtoMessage() {} -func (*PromotionExtensionOccasionEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_5f277c5dbbd15619, []int{0} -} - -func (m *PromotionExtensionOccasionEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PromotionExtensionOccasionEnum.Unmarshal(m, b) -} -func (m *PromotionExtensionOccasionEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PromotionExtensionOccasionEnum.Marshal(b, m, deterministic) -} -func (m *PromotionExtensionOccasionEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PromotionExtensionOccasionEnum.Merge(m, src) -} -func (m *PromotionExtensionOccasionEnum) XXX_Size() int { - return xxx_messageInfo_PromotionExtensionOccasionEnum.Size(m) -} -func (m *PromotionExtensionOccasionEnum) XXX_DiscardUnknown() { - xxx_messageInfo_PromotionExtensionOccasionEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_PromotionExtensionOccasionEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.PromotionExtensionOccasionEnum_PromotionExtensionOccasion", PromotionExtensionOccasionEnum_PromotionExtensionOccasion_name, PromotionExtensionOccasionEnum_PromotionExtensionOccasion_value) - proto.RegisterType((*PromotionExtensionOccasionEnum)(nil), "google.ads.googleads.v2.enums.PromotionExtensionOccasionEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/promotion_extension_occasion.proto", fileDescriptor_5f277c5dbbd15619) -} - -var fileDescriptor_5f277c5dbbd15619 = []byte{ - // 669 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x53, 0xcb, 0x6e, 0xdb, 0x3a, - 0x10, 0xbd, 0x71, 0xde, 0xcc, 0x8b, 0x51, 0x72, 0x5f, 0xb9, 0x79, 0xdc, 0xe4, 0x3e, 0x96, 0x32, - 0xe0, 0xee, 0xd4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cb, 0x6b, 0xce, 0x31, 0xe3, 0x41, 0x24, 0x51, 0x58, - 0x91, 0x2e, 0x61, 0xbe, 0xea, 0x38, 0x6c, 0xbf, 0x07, 0x4a, 0x60, 0x42, 0x4c, 0x1a, 0xc2, 0x80, - 0xaf, 0x39, 0x8c, 0x6d, 0x08, 0xb0, 0x89, 0x30, 0x7c, 0x9d, 0x22, 0x3a, 0x3a, 0x89, 0x84, 0xa9, - 0xc8, 0x0d, 0x02, 0x9a, 0xf0, 0x1d, 0xd8, 0xa4, 0x18, 0x05, 0xbe, 0x36, 0x65, 0xbb, 0x45, 0x86, - 0x3e, 0x04, 0xed, 0x34, 0xd1, 0xa9, 0x0d, 0x22, 0xad, 0x15, 0xdf, 0x26, 0x49, 0x04, 0x4a, 0xe9, - 0xbe, 0x10, 0xc8, 0x99, 0xc3, 0xd9, 0xae, 0xaf, 0x48, 0xd3, 0x34, 0x92, 0x86, 0x76, 0x08, 0x09, - 0x06, 0xbe, 0x30, 0x69, 0x47, 0x23, 0x21, 0xbb, 0x34, 0x12, 0x44, 0x46, 0xda, 0xa4, 0x03, 0x96, - 0xef, 0x39, 0xfb, 0x8c, 0xf9, 0xfa, 0xb5, 0xc4, 0x56, 0x99, 0xb2, 0x4f, 0x87, 0x91, 0x18, 0x8a, - 0x58, 0x60, 0x28, 0x30, 0x10, 0x25, 0x7a, 0x40, 0x36, 0x08, 0x89, 0xd4, 0x08, 0xaa, 0x44, 0xb8, - 0x73, 0xc8, 0xf6, 0x04, 0x86, 0xa9, 0x6e, 0xa6, 0x56, 0x80, 0xd5, 0xc8, 0x0f, 0xe9, 0x00, 0x7d, - 0x89, 0x89, 0x30, 0xa9, 0x05, 0x25, 0xb8, 0x43, 0x80, 0xed, 0x76, 0x3a, 0x4b, 0xe0, 0x88, 0xb2, - 0x9b, 0xa0, 0x54, 0xd5, 0x1e, 0x97, 0x7c, 0x6c, 0x28, 0xbb, 0x04, 0x7e, 0xa5, 0x5b, 0x36, 0xd0, - 0x81,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x59, 0xb9, 0x23, 0xcb, 0xb5, 0x9c, 0xdf, 0x14, 0xcf, - 0x6c, 0xe9, 0xcb, 0xf2, 0xf7, 0x43, 0x6d, 0xb5, 0x05, 0xf0, 0xb1, 0x76, 0xd6, 0xaa, 0xac, 0x60, - 0x5c, 0xb8, 0x55, 0x49, 0x55, 0xaf, 0xe1, 0xd2, 0x36, 0x15, 0x9f, 0x97, 0xfc, 0x10, 0xc6, 0xc5, - 0xf0, 0x89, 0x1f, 0xf6, 0x1a, 0xc3, 0x92, 0xff, 0x52, 0xbb, 0xac, 0x40, 0xcf, 0x83, 0x71, 0xe1, - 0x79, 0x4f, 0x0a, 0xcf, 0xeb, 0x35, 0x3c, 0xaf, 0xd4, 0xbc, 0xdd, 0x28, 0xff, 0xd8, 0x8b, 0x6f, - 0x01, 0x00, 0x00, 0xff, 0xff, 0x61, 0x7a, 0xd1, 0xaf, 0x3d, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/promotion_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/promotion_placeholder_field.pb.go deleted file mode 100644 index 7620b0ec..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/promotion_placeholder_field.pb.go +++ /dev/null @@ -1,191 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/promotion_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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: MONEY. 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: MONEY. 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_0bb0ca33548c286c, []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_0bb0ca33548c286c, []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 (m *PromotionPlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PromotionPlaceholderFieldEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.PromotionPlaceholderFieldEnum_PromotionPlaceholderField", PromotionPlaceholderFieldEnum_PromotionPlaceholderField_name, PromotionPlaceholderFieldEnum_PromotionPlaceholderField_value) - proto.RegisterType((*PromotionPlaceholderFieldEnum)(nil), "google.ads.googleads.v2.enums.PromotionPlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/promotion_placeholder_field.proto", fileDescriptor_0bb0ca33548c286c) -} - -var fileDescriptor_0bb0ca33548c286c = []byte{ - // 476 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xcf, 0x6e, 0x9b, 0x4e, - 0x10, 0xc7, 0x7f, 0x26, 0xbf, 0x26, 0xe9, 0xda, 0xb1, 0x37, 0xdb, 0x3f, 0x52, 0xab, 0xba, 0x52, - 0xf2, 0x00, 0x20, 0xd1, 0x1b, 0x3d, 0x54, 0x6b, 0x58, 0x10, 0x8a, 0xd9, 0x45, 0x0b, 0xb8, 0x7f, - 0x64, 0x69, 0x45, 0x03, 0xa5, 0x96, 0x30, 0x8b, 0xbc, 0x4e, 0x1e, 0xa8, 0xc7, 0x3e, 0x4a, 0xd5, - 0x27, 0xe9, 0xa1, 0x97, 0xbe, 0x40, 0xb5, 0x10, 0xdb, 0x27, 0xf7, 0x82, 0x86, 0xef, 0x7c, 0xe7, - 0x33, 0xa3, 0x9d, 0x01, 0xef, 0x2a, 0x29, 0xab, 0xba, 0xb4, 0xf2, 0x42, 0x59, 0x7d, 0xa8, 0xa3, - 0x7b, 0xdb, 0x2a, 0x9b, 0xbb, 0xb5, 0xb2, 0xda, 0x8d, 0x5c, 0xcb, 0xed, 0x4a, 0x36, 0xa2, 0xad, - 0xf3, 0xdb, 0xf2, 0xab, 0xac, 0x8b, 0x72, 0x23, 0xbe, 0xac, 0xca, 0xba, 0x30, 0xdb, 0x8d, 0xdc, - 0x4a, 0x34, 0xed, 0xab, 0xcc, 0xbc, 0x50, 0xe6, 0x1e, 0x60, 0xde, 0xdb, 0x66, 0x07, 0x78, 0xf9, - 0x6a, 0xc7, 0x6f, 0x57, 0x56, 0xde, 0x34, 0x72, 0x9b, 0x6b, 0x9a, 0xea, 0x8b, 0xaf, 0x7f, 0x1b, - 0x60, 0x1a, 0xef, 0x5a, 0xc4, 0x87, 0x0e, 0xbe, 0x6e, 0x40, 0x9a, 0xbb, 0xf5, 0xf5, 0x4f, 0x03, - 0xbc, 0x38, 0xea, 0x40, 0x13, 0x30, 0xcc, 0x68, 0x12, 0x13, 0x37, 0xf4, 0x43, 0xe2, 0xc1, 0xff, - 0xd0, 0x10, 0x9c, 0x65, 0xf4, 0x86, 0xb2, 0xf7, 0x14, 0x0e, 0xd0, 0x53, 0x00, 0x63, 0xce, 0x22, - 0x96, 0x86, 0x8c, 0x8a, 0x14, 0xf3, 0x80, 0xa4, 0xd0, 0x40, 0xcf, 0xc0, 0xa5, 0x17, 0x26, 0x2e, - 0xcb, 0x68, 0x2a, 0x22, 0xe6, 0xe9, 0x4a, 0x0e, 0x4f, 0x34, 0x2a, 0x26, 0xdc, 0x25, 0x34, 0x15, - 0xcc, 0xf7, 0xe1, 0xff, 0xba, 0x3a, 0x62, 0x94, 0x7c, 0x14, 0x38, 0xea, 0xbc, 0x5a, 0x7d, 0x84, - 0x10, 0x18, 0x1f, 0x98, 0x2e, 0xf3, 0x08, 0x3c, 0x45, 0xcf, 0x01, 0x62, 0xdc, 0x23, 0x3c, 0x11, - 0x6c, 0x41, 0xf8, 0x83, 0x1f, 0x9e, 0xa1, 0x27, 0x60, 0x72, 0xf0, 0x26, 0x29, 0xe6, 0x29, 0x3c, - 0x47, 0x97, 0xe0, 0xe2, 0x20, 0x12, 0xea, 0xc1, 0xc7, 0x68, 0x04, 0xce, 0x99, 0xeb, 0xe2, 0x24, - 0x64, 0x14, 0x02, 0x34, 0x06, 0xc0, 0x0f, 0x29, 0x9e, 0x8b, 0x8c, 0xcf, 0x13, 0x38, 0xd4, 0xf3, - 0xf6, 0xff, 0x11, 0x9b, 0x85, 0x73, 0xd2, 0xcb, 0x23, 0x04, 0xc1, 0x28, 0xe5, 0xd8, 0xbd, 0x09, - 0x69, 0xa0, 0x25, 0x78, 0xa1, 0x31, 0x73, 0x4c, 0x83, 0x0c, 0x07, 0x04, 0x8e, 0xf5, 0xf8, 0x7b, - 0x8c, 0x48, 0x32, 0xdf, 0x0f, 0x3f, 0xc0, 0xc9, 0xec, 0xcf, 0x00, 0x5c, 0xdd, 0xca, 0xb5, 0xf9, - 0xcf, 0xa5, 0xcd, 0x5e, 0x1f, 0x7d, 0xf1, 0x58, 0xaf, 0x2d, 0x1e, 0x7c, 0x9a, 0x3d, 0x00, 0x2a, - 0x59, 0xe7, 0x4d, 0x65, 0xca, 0x4d, 0x65, 0x55, 0x65, 0xd3, 0x2d, 0x75, 0x77, 0x46, 0xed, 0x4a, - 0x1d, 0xb9, 0xaa, 0xb7, 0xdd, 0xf7, 0x9b, 0x71, 0x12, 0x60, 0xfc, 0xdd, 0x98, 0x06, 0x3d, 0x0a, - 0x17, 0xca, 0xec, 0x43, 0x1d, 0x2d, 0x6c, 0x53, 0xef, 0x5f, 0xfd, 0xd8, 0xe5, 0x97, 0xb8, 0x50, - 0xcb, 0x7d, 0x7e, 0xb9, 0xb0, 0x97, 0x5d, 0xfe, 0x97, 0x71, 0xd5, 0x8b, 0x8e, 0x83, 0x0b, 0xe5, - 0x38, 0x7b, 0x87, 0xe3, 0x2c, 0x6c, 0xc7, 0xe9, 0x3c, 0x9f, 0x4f, 0xbb, 0xc1, 0xde, 0xfc, 0x0d, - 0x00, 0x00, 0xff, 0xff, 0x67, 0x41, 0x38, 0xfb, 0xed, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/proximity_radius_units.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/proximity_radius_units.pb.go deleted file mode 100644 index 36921a96..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/proximity_radius_units.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/proximity_radius_units.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_7ae300815d8301cb, []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_7ae300815d8301cb, []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 (m *ProximityRadiusUnitsEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProximityRadiusUnitsEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.ProximityRadiusUnitsEnum_ProximityRadiusUnits", ProximityRadiusUnitsEnum_ProximityRadiusUnits_name, ProximityRadiusUnitsEnum_ProximityRadiusUnits_value) - proto.RegisterType((*ProximityRadiusUnitsEnum)(nil), "google.ads.googleads.v2.enums.ProximityRadiusUnitsEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/proximity_radius_units.proto", fileDescriptor_7ae300815d8301cb) -} - -var fileDescriptor_7ae300815d8301cb = []byte{ - // 315 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02,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xb2, 0xb4, - 0x2d, 0xe7, 0x18, 0x80, 0x89, 0x3f, 0x9d, 0xcf, 0xc8, 0x3d, 0x59, 0x2c, 0xed, 0xee, 0xe8, 0xbb, - 0x03, 0x06, 0xcf, 0x2a, 0x85, 0x7f, 0x16, 0x1e, 0x9d, 0xef, 0x7b, 0x34, 0xac, 0xda, 0x86, 0x9d, - 0xc7, 0xd1, 0x2e, 0xcb, 0xd5, 0x86, 0x4a, 0x0e, 0x55, 0xce, 0x11, 0x4f, 0xa4, 0xd9, 0xa5, 0x39, - 0x5c, 0x26, 0xf4, 0x2f, 0x77, 0xbc, 0x36, 0xdf, 0x77, 0xab, 0x3b, 0xf6, 0xbc, 0x0f, 0xab, 0x3f, - 0xae, 0x51, 0x1e, 0xd3, 0xb0, 0x96, 0x95, 0x8a, 0x5c, 0x58, 0x2d, 0xaf, 0x3f, 0x1b, 0x3f, 0xf6, - 0x98, 0x8e, 0x5b, 0x3f, 0x8e, 0xdc, 0xd8, 0xf8, 0x5f, 0xd6, 0xa0, 0xfe, 0x89, 0xb1, 0xc7, 0x34, - 0xc6, 0xed, 0x04, 0xc6, 0x91, 0x8b, 0xb1, 0x99, 0x79, 0x3a, 0x30, 0xc5, 0xae, 0x7e, 0x02, 0x00, - 0x00, 0xff, 0xff, 0x08, 0xf1, 0x39, 0xad, 0xdf, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/quality_score_bucket.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/quality_score_bucket.pb.go deleted file mode 100644 index f3be87af..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/quality_score_bucket.pb.go +++ /dev/null @@ -1,128 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/quality_score_bucket.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_f6336f760aaed82f, []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_f6336f760aaed82f, []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 (m *QualityScoreBucketEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_QualityScoreBucketEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.QualityScoreBucketEnum_QualityScoreBucket", QualityScoreBucketEnum_QualityScoreBucket_name, QualityScoreBucketEnum_QualityScoreBucket_value) - proto.RegisterType((*QualityScoreBucketEnum)(nil), "google.ads.googleads.v2.enums.QualityScoreBucketEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/quality_score_bucket.proto", fileDescriptor_f6336f760aaed82f) -} - -var fileDescriptor_f6336f760aaed82f = []byte{ - // 320 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xfb, 0x30, - 0x18, 0xc5, 0xff, 0xeb, 0xfe, 0x28, 0x64, 0x88, 0xb3, 0x17, 0x0a, 0xe2, 0x2e, 0xb6, 0x07, 0x48, - 0xa0, 0xde, 0x48, 0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b, 0xd0, 0x2b, 0xf8, 0xe7, 0x11, 0xf4, 0x64, - 0x77, 0x95, 0x91, 0xdd, 0x7f, 0xd4, 0x78, 0xa4, 0x3f, 0x4e, 0xa9, 0x97, 0x5c, 0x49, 0xa8, 0x37, - 0x12, 0x49, 0xa1, 0xdc, 0x75, 0x55, 0x91, 0xeb, 0xdc, 0xfc, 0xd2, 0xeb, 0xa5, 0xfb, 0xbe, 0x05, - 0xcd, 0x3e, 0x21, 0xef, 0x41, 0xa7, 0xef, 0xa3, 0x48, 0x66, 0xa0, 0x97, 0x56, 0x25, 0x11, 0xb4, - 0x85, 0x98, 0x8f, 0x8a, 0xa7, 0x24, 0x33, 0x69, 0xcd, 0xd3, 0x24, 0x4a, 0x1d, 0xff, 0x0c, 0xba, - 0xfe, 0x11, 0x63, 0x92, 0x19, 0x8c, 0xeb, 0x09, 0x8c, 0x93, 0x08, 0x63, 0x37, 0x33, 0xdf, 0x73, - 0x8b, 0x9d, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0xb1, 0x4a, 0xf4, 0x2c, 0xef, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/reach_plan_ad_length.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/reach_plan_ad_length.pb.go deleted file mode 100644 index 94318a00..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/reach_plan_ad_length.pb.go +++ /dev/null @@ -1,130 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/reach_plan_ad_length.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible ad length values. -type ReachPlanAdLengthEnum_ReachPlanAdLength int32 - -const ( - // Not specified. - ReachPlanAdLengthEnum_UNSPECIFIED ReachPlanAdLengthEnum_ReachPlanAdLength = 0 - // The value is unknown in this version. - ReachPlanAdLengthEnum_UNKNOWN ReachPlanAdLengthEnum_ReachPlanAdLength = 1 - // 6 seconds long ad. - ReachPlanAdLengthEnum_SIX_SECONDS ReachPlanAdLengthEnum_ReachPlanAdLength = 2 - // 15 or 20 seconds long ad. - ReachPlanAdLengthEnum_FIFTEEN_OR_TWENTY_SECONDS ReachPlanAdLengthEnum_ReachPlanAdLength = 3 - // More than 20 seconds long ad. - ReachPlanAdLengthEnum_TWENTY_SECONDS_OR_MORE ReachPlanAdLengthEnum_ReachPlanAdLength = 4 -) - -var ReachPlanAdLengthEnum_ReachPlanAdLength_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "SIX_SECONDS", - 3: "FIFTEEN_OR_TWENTY_SECONDS", - 4: "TWENTY_SECONDS_OR_MORE", -} - -var ReachPlanAdLengthEnum_ReachPlanAdLength_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "SIX_SECONDS": 2, - "FIFTEEN_OR_TWENTY_SECONDS": 3, - "TWENTY_SECONDS_OR_MORE": 4, -} - -func (x ReachPlanAdLengthEnum_ReachPlanAdLength) String() string { - return proto.EnumName(ReachPlanAdLengthEnum_ReachPlanAdLength_name, int32(x)) -} - -func (ReachPlanAdLengthEnum_ReachPlanAdLength) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8ff9071174e50cfb, []int{0, 0} -} - -// Message describing length of a plannable video ad. -type ReachPlanAdLengthEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ReachPlanAdLengthEnum) Reset() { *m = ReachPlanAdLengthEnum{} } -func (m *ReachPlanAdLengthEnum) String() string { return proto.CompactTextString(m) } -func (*ReachPlanAdLengthEnum) ProtoMessage() {} -func (*ReachPlanAdLengthEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_8ff9071174e50cfb, []int{0} -} - -func (m *ReachPlanAdLengthEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReachPlanAdLengthEnum.Unmarshal(m, b) -} -func (m *ReachPlanAdLengthEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReachPlanAdLengthEnum.Marshal(b, m, deterministic) -} -func (m *ReachPlanAdLengthEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReachPlanAdLengthEnum.Merge(m, src) -} -func (m *ReachPlanAdLengthEnum) XXX_Size() int { - return xxx_messageInfo_ReachPlanAdLengthEnum.Size(m) -} -func (m *ReachPlanAdLengthEnum) XXX_DiscardUnknown() { - xxx_messageInfo_ReachPlanAdLengthEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_ReachPlanAdLengthEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.ReachPlanAdLengthEnum_ReachPlanAdLength", ReachPlanAdLengthEnum_ReachPlanAdLength_name, ReachPlanAdLengthEnum_ReachPlanAdLength_value) - proto.RegisterType((*ReachPlanAdLengthEnum)(nil), "google.ads.googleads.v2.enums.ReachPlanAdLengthEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/reach_plan_ad_length.proto", fileDescriptor_8ff9071174e50cfb) -} - -var fileDescriptor_8ff9071174e50cfb = []byte{ - // 343 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x4f, 0x6a, 0xe3, 0x30, - 0x18, 0xc5, 0xc7, 0xce, 0x30, 0x03, 0xca, 0x62, 0x3c, 0x86, 0x06, 0x1a, 0x9a, 0x45, 0x72, 0x00,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 0xba, 0xc0, 0xc1, 0xf4, 0xae, 0xc6, 0x0d, 0xbb, 0x0d, - 0x5a, 0x5f, 0xff, 0x94, 0xeb, 0x26, 0x9c, 0x60, 0xeb, 0x77, 0xff, 0xdd, 0x00, 0xdd, 0xa5, 0xd8, - 0xc0, 0x1f, 0x97, 0xeb, 0xb7, 0x8e, 0x46, 0x8c, 0xd4, 0x5a, 0x91, 0x71, 0xdf, 0xff, 0x0c, 0x32, - 0x91, 0x13, 0xce, 0xa0, 0xd8, 0x32, 0x87, 0x65, 0x5c, 0x2f, 0x7d, 0xb8, 0x6f, 0xb1, 0x96, 0xdf, - 0x9c, 0xfb, 0x52, 0xbf, 0xcf, 0x66, 0x63, 0xec, 0x79, 0x2f, 0x66, 0x67, 0x5c, 0x55, 0x79, 0x54, - 0xc2, 0x4a, 0x2a, 0x35, 0x77, 0xa1, 0xba, 0x93, 0x7c, 0x3d, 0xf0, 0xc4, 0xa3, 0x32, 0xa9, 0x79, - 0x32, 0x77, 0x13, 0xcd, 0xdf, 0xcc, 0x6e, 0xf5, 0x89, 0x90, 0x47, 0x25, 0x42, 0xb5, 0x03, 0xa1, - 0xb9, 0x8b, 0x90, 0xf6, 0x3c, 0xfc, 0xd1, 0x83, 0x9d, 0x7f, 0x04, 0x00, 0x00, 0xff, 0xff, 0x47, - 0x31, 0x6b, 0x3f, 0x06, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/reach_plan_age_range.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/reach_plan_age_range.pb.go deleted file mode 100644 index 9a8f31aa..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/reach_plan_age_range.pb.go +++ /dev/null @@ -1,230 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/reach_plan_age_range.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible plannable age range values. -type ReachPlanAgeRangeEnum_ReachPlanAgeRange int32 - -const ( - // Not specified. - ReachPlanAgeRangeEnum_UNSPECIFIED ReachPlanAgeRangeEnum_ReachPlanAgeRange = 0 - // The value is unknown in this version. - ReachPlanAgeRangeEnum_UNKNOWN ReachPlanAgeRangeEnum_ReachPlanAgeRange = 1 - // Between 18 and 24 years old. - ReachPlanAgeRangeEnum_AGE_RANGE_18_24 ReachPlanAgeRangeEnum_ReachPlanAgeRange = 503001 - // Between 18 and 34 years old. - ReachPlanAgeRangeEnum_AGE_RANGE_18_34 ReachPlanAgeRangeEnum_ReachPlanAgeRange = 2 - // Between 18 and 44 years old. - ReachPlanAgeRangeEnum_AGE_RANGE_18_44 ReachPlanAgeRangeEnum_ReachPlanAgeRange = 3 - // Between 18 and 49 years old. - ReachPlanAgeRangeEnum_AGE_RANGE_18_49 ReachPlanAgeRangeEnum_ReachPlanAgeRange = 4 - // Between 18 and 54 years old. - ReachPlanAgeRangeEnum_AGE_RANGE_18_54 ReachPlanAgeRangeEnum_ReachPlanAgeRange = 5 - // Between 18 and 64 years old. - ReachPlanAgeRangeEnum_AGE_RANGE_18_64 ReachPlanAgeRangeEnum_ReachPlanAgeRange = 6 - // Between 18 and 65+ years old. - ReachPlanAgeRangeEnum_AGE_RANGE_18_65_UP ReachPlanAgeRangeEnum_ReachPlanAgeRange = 7 - // Between 21 and 34 years old. - ReachPlanAgeRangeEnum_AGE_RANGE_21_34 ReachPlanAgeRangeEnum_ReachPlanAgeRange = 8 - // Between 25 and 34 years old. - ReachPlanAgeRangeEnum_AGE_RANGE_25_34 ReachPlanAgeRangeEnum_ReachPlanAgeRange = 503002 - // Between 25 and 44 years old. - ReachPlanAgeRangeEnum_AGE_RANGE_25_44 ReachPlanAgeRangeEnum_ReachPlanAgeRange = 9 - // Between 25 and 49 years old. - ReachPlanAgeRangeEnum_AGE_RANGE_25_49 ReachPlanAgeRangeEnum_ReachPlanAgeRange = 10 - // Between 25 and 54 years old. - ReachPlanAgeRangeEnum_AGE_RANGE_25_54 ReachPlanAgeRangeEnum_ReachPlanAgeRange = 11 - // Between 25 and 64 years old. - ReachPlanAgeRangeEnum_AGE_RANGE_25_64 ReachPlanAgeRangeEnum_ReachPlanAgeRange = 12 - // Between 25 and 65+ years old. - ReachPlanAgeRangeEnum_AGE_RANGE_25_65_UP ReachPlanAgeRangeEnum_ReachPlanAgeRange = 13 - // Between 35 and 44 years old. - ReachPlanAgeRangeEnum_AGE_RANGE_35_44 ReachPlanAgeRangeEnum_ReachPlanAgeRange = 503003 - // Between 35 and 49 years old. - ReachPlanAgeRangeEnum_AGE_RANGE_35_49 ReachPlanAgeRangeEnum_ReachPlanAgeRange = 14 - // Between 35 and 54 years old. - ReachPlanAgeRangeEnum_AGE_RANGE_35_54 ReachPlanAgeRangeEnum_ReachPlanAgeRange = 15 - // Between 35 and 64 years old. - ReachPlanAgeRangeEnum_AGE_RANGE_35_64 ReachPlanAgeRangeEnum_ReachPlanAgeRange = 16 - // Between 35 and 65+ years old. - ReachPlanAgeRangeEnum_AGE_RANGE_35_65_UP ReachPlanAgeRangeEnum_ReachPlanAgeRange = 17 - // Between 45 and 54 years old. - ReachPlanAgeRangeEnum_AGE_RANGE_45_54 ReachPlanAgeRangeEnum_ReachPlanAgeRange = 503004 - // Between 45 and 64 years old. - ReachPlanAgeRangeEnum_AGE_RANGE_45_64 ReachPlanAgeRangeEnum_ReachPlanAgeRange = 18 - // Between 45 and 65+ years old. - ReachPlanAgeRangeEnum_AGE_RANGE_45_65_UP ReachPlanAgeRangeEnum_ReachPlanAgeRange = 19 - // Between 50 and 65+ years old. - ReachPlanAgeRangeEnum_AGE_RANGE_50_65_UP ReachPlanAgeRangeEnum_ReachPlanAgeRange = 20 - // Between 55 and 64 years old. - ReachPlanAgeRangeEnum_AGE_RANGE_55_64 ReachPlanAgeRangeEnum_ReachPlanAgeRange = 503005 - // Between 55 and 65+ years old. - ReachPlanAgeRangeEnum_AGE_RANGE_55_65_UP ReachPlanAgeRangeEnum_ReachPlanAgeRange = 21 - // 65 years old and beyond. - ReachPlanAgeRangeEnum_AGE_RANGE_65_UP ReachPlanAgeRangeEnum_ReachPlanAgeRange = 503006 -) - -var ReachPlanAgeRangeEnum_ReachPlanAgeRange_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 503001: "AGE_RANGE_18_24", - 2: "AGE_RANGE_18_34", - 3: "AGE_RANGE_18_44", - 4: "AGE_RANGE_18_49", - 5: "AGE_RANGE_18_54", - 6: "AGE_RANGE_18_64", - 7: "AGE_RANGE_18_65_UP", - 8: "AGE_RANGE_21_34", - 503002: "AGE_RANGE_25_34", - 9: "AGE_RANGE_25_44", - 10: "AGE_RANGE_25_49", - 11: "AGE_RANGE_25_54", - 12: "AGE_RANGE_25_64", - 13: "AGE_RANGE_25_65_UP", - 503003: "AGE_RANGE_35_44", - 14: "AGE_RANGE_35_49", - 15: "AGE_RANGE_35_54", - 16: "AGE_RANGE_35_64", - 17: "AGE_RANGE_35_65_UP", - 503004: "AGE_RANGE_45_54", - 18: "AGE_RANGE_45_64", - 19: "AGE_RANGE_45_65_UP", - 20: "AGE_RANGE_50_65_UP", - 503005: "AGE_RANGE_55_64", - 21: "AGE_RANGE_55_65_UP", - 503006: "AGE_RANGE_65_UP", -} - -var ReachPlanAgeRangeEnum_ReachPlanAgeRange_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "AGE_RANGE_18_24": 503001, - "AGE_RANGE_18_34": 2, - "AGE_RANGE_18_44": 3, - "AGE_RANGE_18_49": 4, - "AGE_RANGE_18_54": 5, - "AGE_RANGE_18_64": 6, - "AGE_RANGE_18_65_UP": 7, - "AGE_RANGE_21_34": 8, - "AGE_RANGE_25_34": 503002, - "AGE_RANGE_25_44": 9, - "AGE_RANGE_25_49": 10, - "AGE_RANGE_25_54": 11, - "AGE_RANGE_25_64": 12, - "AGE_RANGE_25_65_UP": 13, - "AGE_RANGE_35_44": 503003, - "AGE_RANGE_35_49": 14, - "AGE_RANGE_35_54": 15, - "AGE_RANGE_35_64": 16, - "AGE_RANGE_35_65_UP": 17, - "AGE_RANGE_45_54": 503004, - "AGE_RANGE_45_64": 18, - "AGE_RANGE_45_65_UP": 19, - "AGE_RANGE_50_65_UP": 20, - "AGE_RANGE_55_64": 503005, - "AGE_RANGE_55_65_UP": 21, - "AGE_RANGE_65_UP": 503006, -} - -func (x ReachPlanAgeRangeEnum_ReachPlanAgeRange) String() string { - return proto.EnumName(ReachPlanAgeRangeEnum_ReachPlanAgeRange_name, int32(x)) -} - -func (ReachPlanAgeRangeEnum_ReachPlanAgeRange) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_f8dfba10647846b0, []int{0, 0} -} - -// Message describing plannable age ranges. -type ReachPlanAgeRangeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ReachPlanAgeRangeEnum) Reset() { *m = ReachPlanAgeRangeEnum{} } -func (m *ReachPlanAgeRangeEnum) String() string { return proto.CompactTextString(m) } -func (*ReachPlanAgeRangeEnum) ProtoMessage() {} -func (*ReachPlanAgeRangeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_f8dfba10647846b0, []int{0} -} - -func (m *ReachPlanAgeRangeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReachPlanAgeRangeEnum.Unmarshal(m, b) -} -func (m *ReachPlanAgeRangeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReachPlanAgeRangeEnum.Marshal(b, m, deterministic) -} -func (m *ReachPlanAgeRangeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReachPlanAgeRangeEnum.Merge(m, src) -} -func (m *ReachPlanAgeRangeEnum) XXX_Size() int { - return xxx_messageInfo_ReachPlanAgeRangeEnum.Size(m) -} -func (m *ReachPlanAgeRangeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_ReachPlanAgeRangeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_ReachPlanAgeRangeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.ReachPlanAgeRangeEnum_ReachPlanAgeRange", ReachPlanAgeRangeEnum_ReachPlanAgeRange_name, ReachPlanAgeRangeEnum_ReachPlanAgeRange_value) - proto.RegisterType((*ReachPlanAgeRangeEnum)(nil), "google.ads.googleads.v2.enums.ReachPlanAgeRangeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/reach_plan_age_range.proto", fileDescriptor_f8dfba10647846b0) -} - -var fileDescriptor_f8dfba10647846b0 = []byte{ - // 470 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x93, 0xdf, 0x6e, 0xd3, 0x30, - 0x14, 0xc6, 0x69, 0xf7, 0x0f, 0x5c, 0xa0, 0x5e, 0x46, 0x77, 0x81, 0x58, 0xa5, 0xed, 0x01, 0x1c, - 0xe6, 0x38, 0xd5, 0x16, 0xae, 0x5c, 0x08, 0xd5, 0x84, 0x14, 0xa2, 0xa2, 0x16, 0x09, 0x55, 0x8a, - 0xcc, 0x12, 0x99, 0x4a, 0xad, 0x5d, 0xd5, 0xdd, 0x5e, 0x82, 0xb7, 0xe0, 0x92, 0x47, 0xe1, 0x0d, - 0xca, 0xbf, 0x07, 0x80, 0x2b, 0xde, 0x00, 0xd9, 0x69, 0x2a, 0x39, 0x16, 0xdc, 0x58, 0x47, 0xbf, - 0x73, 0xce, 0xf7, 0x7d, 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x28, 0x1a, 0xe3, - 0x28, 0x32, 0x33, 0xef, 0xf7, 0x4d, 0xb0, 0xe0, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x7d, 0xa0, - 0xff, 0xf8, 0xfb, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/real_estate_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/real_estate_placeholder_field.pb.go deleted file mode 100644 index 68d27d3c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/real_estate_placeholder_field.pb.go +++ /dev/null @@ -1,218 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/real_estate_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_53a4783a3f21c77a, []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_53a4783a3f21c77a, []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 (m *RealEstatePlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_RealEstatePlaceholderFieldEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField", RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField_name, RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField_value) - proto.RegisterType((*RealEstatePlaceholderFieldEnum)(nil), "google.ads.googleads.v2.enums.RealEstatePlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/real_estate_placeholder_field.proto", fileDescriptor_53a4783a3f21c77a) -} - -var fileDescriptor_53a4783a3f21c77a = []byte{ - // 513 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xd1, 0x6e, 0xda, 0x3c, - 0x14, 0xc7, 0x3f, 0xe0, 0x6b, 0x3b, 0x4c, 0x29, 0xc6, 0x6c, 0x9a, 0x54, 0xad, 0x9b, 0xda, 0x07, - 0x48, 0x24, 0x76, 0x97, 0x5d, 0x99, 0xc4, 0x20, 0x8b, 0xe0, 0x58, 0xb6, 0xa1, 0x63, 0x42, 0xb2, - 0xb2, 0x26, 0xcb, 0x90, 0x42, 0x82, 0x08, 0xed, 0x23, 0xec, 0x41, 0x76, 0xb7, 0x3d, 0xca, 0x1e, - 0x65, 0xd7, 0x7b, 0x80, 0xc9, 0xc9, 0x02, 0xbb, 0x61, 0x37, 0xd1, 0x39, 0xff, 0x73, 0xf2, 0xfb, - 0x1f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0xf8, 0x7b, 0xf3, - 0x66, 0x52, 0xa1, 0x70, 0x54, 0x58, 0x55, 0x68, 0xa2, 0xc5, 0xd0, 0x32, 0xa7, 0x53, 0xfc, 0xa8, - 0xeb, 0x2b, 0x1c, 0x15, 0xab, 0x43, 0x7d, 0xb5, 0x18, 0xae, 0xca, 0xfa, 0xcf, 0xe6, 0x6d, 0x25, - 0x3a, 0x0e, 0x8e, 0x0a, 0xc7, 0x39, 0x74, 0x38, 0xce, 0x62, 0xe8, 0x38, 0x65, 0xcf, 0xc7, 0xf3, - 0x72, 0xb0, 0xb7, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x2c, 0x05, 0x65, 0x8f, 0x2b, 0x03, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/recommendation_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/recommendation_type.pb.go deleted file mode 100644 index 7d62b560..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/recommendation_type.pb.go +++ /dev/null @@ -1,189 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/recommendation_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // Recommendation to add callout extensions to a campaign. - RecommendationTypeEnum_CALLOUT_EXTENSION RecommendationTypeEnum_RecommendationType = 11 - // Recommendation to add sitelink extensions to a campaign. - RecommendationTypeEnum_SITELINK_EXTENSION RecommendationTypeEnum_RecommendationType = 12 - // Recommendation to add call extensions to a campaign. - RecommendationTypeEnum_CALL_EXTENSION RecommendationTypeEnum_RecommendationType = 13 - // Recommendation to change an existing keyword from one match type to a - // broader match type. - RecommendationTypeEnum_KEYWORD_MATCH_TYPE RecommendationTypeEnum_RecommendationType = 14 - // Recommendation to move unused budget from one budget to a constrained - // budget. - RecommendationTypeEnum_MOVE_UNUSED_BUDGET RecommendationTypeEnum_RecommendationType = 15 -) - -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", - 11: "CALLOUT_EXTENSION", - 12: "SITELINK_EXTENSION", - 13: "CALL_EXTENSION", - 14: "KEYWORD_MATCH_TYPE", - 15: "MOVE_UNUSED_BUDGET", -} - -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, - "CALLOUT_EXTENSION": 11, - "SITELINK_EXTENSION": 12, - "CALL_EXTENSION": 13, - "KEYWORD_MATCH_TYPE": 14, - "MOVE_UNUSED_BUDGET": 15, -} - -func (x RecommendationTypeEnum_RecommendationType) String() string { - return proto.EnumName(RecommendationTypeEnum_RecommendationType_name, int32(x)) -} - -func (RecommendationTypeEnum_RecommendationType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_5d57f4d4a21d6733, []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_5d57f4d4a21d6733, []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 (m *RecommendationTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_RecommendationTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.RecommendationTypeEnum_RecommendationType", RecommendationTypeEnum_RecommendationType_name, RecommendationTypeEnum_RecommendationType_value) - proto.RegisterType((*RecommendationTypeEnum)(nil), "google.ads.googleads.v2.enums.RecommendationTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/recommendation_type.proto", fileDescriptor_5d57f4d4a21d6733) -} - -var fileDescriptor_5d57f4d4a21d6733 = []byte{ - // 493 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xd1, 0x6e, 0xd3, 0x30, - 0x14, 0x86, 0x69, 0x0b, 0x1b, 0xb8, 0xb0, 0x06, 0x0f, 0x3a, 0x34, 0x98, 0xd0, 0xf6, 0x00, 0x89, - 0x54, 0x2e, 0x90, 0xc2, 0x95, 0xeb, 0x98, 0xd6, 0x6a, 0x6b, 0x5b, 0x89, 0xd3, 0x75, 0x53, 0x25, - 0xab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xe5, 0xeb, 0xe2, - 0x3f, 0xa7, 0xf6, 0xa9, 0x7c, 0x7e, 0x6b, 0x77, 0x46, 0x08, 0x7d, 0x6f, 0x1f, 0x8d, 0xaa, 0x28, - 0x14, 0x15, 0x76, 0x55, 0x9a, 0x6a, 0x3e, 0xb0, 0xcd, 0x8d, 0x14, 0x3f, 0x6a, 0xbe, 0x44, 0x51, - 0xb1, 0x6c, 0xf8, 0x72, 0x3e, 0x58, 0x96, 0xfc, 0x67, 0xfb, 0xb8, 0x6a, 0xba, 0x2e, 0x8a, 0x0a, - 0xd7, 0x6d, 0x14, 0xae, 0x3b, 0x1f, 0xb8, 0x6e, 0xa9, 0xf9, 0xb2, 0x53, 0x0e, 0xf6, 0xe1, 0x4f, - 0x00, 0x00, 0x00, 0xff, 0xff, 0xe2, 0x3a, 0xa3, 0x2e, 0x02, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/search_engine_results_page_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/search_engine_results_page_type.pb.go deleted file mode 100644 index 6bd327b0..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/search_engine_results_page_type.pb.go +++ /dev/null @@ -1,131 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/search_engine_results_page_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The type of the search engine results page. -type SearchEngineResultsPageTypeEnum_SearchEngineResultsPageType int32 - -const ( - // Not specified. - SearchEngineResultsPageTypeEnum_UNSPECIFIED SearchEngineResultsPageTypeEnum_SearchEngineResultsPageType = 0 - // Used for return value only. Represents value unknown in this version. - SearchEngineResultsPageTypeEnum_UNKNOWN SearchEngineResultsPageTypeEnum_SearchEngineResultsPageType = 1 - // Only ads were contained in the search engine results page. - SearchEngineResultsPageTypeEnum_ADS_ONLY SearchEngineResultsPageTypeEnum_SearchEngineResultsPageType = 2 - // Only organic results were contained in the search engine results page. - SearchEngineResultsPageTypeEnum_ORGANIC_ONLY SearchEngineResultsPageTypeEnum_SearchEngineResultsPageType = 3 - // Both ads and organic results were contained in the search engine results - // page. - SearchEngineResultsPageTypeEnum_ADS_AND_ORGANIC SearchEngineResultsPageTypeEnum_SearchEngineResultsPageType = 4 -) - -var SearchEngineResultsPageTypeEnum_SearchEngineResultsPageType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "ADS_ONLY", - 3: "ORGANIC_ONLY", - 4: "ADS_AND_ORGANIC", -} - -var SearchEngineResultsPageTypeEnum_SearchEngineResultsPageType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "ADS_ONLY": 2, - "ORGANIC_ONLY": 3, - "ADS_AND_ORGANIC": 4, -} - -func (x SearchEngineResultsPageTypeEnum_SearchEngineResultsPageType) String() string { - return proto.EnumName(SearchEngineResultsPageTypeEnum_SearchEngineResultsPageType_name, int32(x)) -} - -func (SearchEngineResultsPageTypeEnum_SearchEngineResultsPageType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_3d2e82ab27a0c78d, []int{0, 0} -} - -// The type of the search engine results page. -type SearchEngineResultsPageTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SearchEngineResultsPageTypeEnum) Reset() { *m = SearchEngineResultsPageTypeEnum{} } -func (m *SearchEngineResultsPageTypeEnum) String() string { return proto.CompactTextString(m) } -func (*SearchEngineResultsPageTypeEnum) ProtoMessage() {} -func (*SearchEngineResultsPageTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_3d2e82ab27a0c78d, []int{0} -} - -func (m *SearchEngineResultsPageTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchEngineResultsPageTypeEnum.Unmarshal(m, b) -} -func (m *SearchEngineResultsPageTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchEngineResultsPageTypeEnum.Marshal(b, m, deterministic) -} -func (m *SearchEngineResultsPageTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchEngineResultsPageTypeEnum.Merge(m, src) -} -func (m *SearchEngineResultsPageTypeEnum) XXX_Size() int { - return xxx_messageInfo_SearchEngineResultsPageTypeEnum.Size(m) -} -func (m *SearchEngineResultsPageTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_SearchEngineResultsPageTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchEngineResultsPageTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.SearchEngineResultsPageTypeEnum_SearchEngineResultsPageType", SearchEngineResultsPageTypeEnum_SearchEngineResultsPageType_name, SearchEngineResultsPageTypeEnum_SearchEngineResultsPageType_value) - proto.RegisterType((*SearchEngineResultsPageTypeEnum)(nil), "google.ads.googleads.v2.enums.SearchEngineResultsPageTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/search_engine_results_page_type.proto", fileDescriptor_3d2e82ab27a0c78d) -} - -var fileDescriptor_3d2e82ab27a0c78d = []byte{ - // 339 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xd1, 0x4e, 0xc2, 0x30, - 0x14, 0x75, 0xc3, 0xa8, 0x29, 0x24, 0x2c, 0xf3, 0x4d, 0x25, 0x0a, 0x1f, 0xd0, 0x25, 0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03, 0x4c, 0x86, 0x3d, 0x5b, 0xa9, 0xf9, 0xe7, 0xa0, 0x59, 0xf1, - 0x98, 0xf4, 0xd3, 0x2d, 0xe3, 0x1d, 0x77, 0x7f, 0x1d, 0xd0, 0x9e, 0xcb, 0x25, 0x3c, 0x98, 0xac, - 0x7b, 0x73, 0x60, 0xab, 0xb8, 0x4a, 0x17, 0x3b, 0xaf, 0xdd, 0xad, 0x04, 0x97, 0x0b, 0x2a, 0x38, - 0x94, 0x05, 0x0f, 0x38, 0x13, 0x26, 0xfb, 0xee, 0xe2, 0x2a, 0xd7, 0xff, 0x7c, 0xc0, 0x9d, 0x79, - 0x3f, 0xdd, 0xda, 0x00, 0xe3, 0x2f, 0xb7, 0x35, 0xb0, 0x52, 0x38, 0xd3, 0xd0, 0xc2, 0x0a, 0xcd, - 0x42, 0x58, 0x1d, 0x49, 0x7f, 0xef, 0xf8, 0x04, 0x67, 0x3a, 0xd9, 0xf3, 0xc9, 0x2c, 0x4c, 0x0c, - 0xff, 0xe3, 0xb6, 0x6d, 0x11, 0x21, 0x9c, 0x69, 0x84, 0xf6, 0x1d, 0x08, 0xcd, 0x42, 0x84, 0x4c, - 0xcf, 0xdb, 0x89, 0x59, 0xec, 0xf6, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x54, 0x58, 0xe5, 0x12, 0x18, - 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/search_term_match_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/search_term_match_type.pb.go deleted file mode 100644 index 14ce0330..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/search_term_match_type.pb.go +++ /dev/null @@ -1,138 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/search_term_match_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_3e3d2a8f5a86c467, []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_3e3d2a8f5a86c467, []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 (m *SearchTermMatchTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchTermMatchTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.SearchTermMatchTypeEnum_SearchTermMatchType", SearchTermMatchTypeEnum_SearchTermMatchType_name, SearchTermMatchTypeEnum_SearchTermMatchType_value) - proto.RegisterType((*SearchTermMatchTypeEnum)(nil), "google.ads.googleads.v2.enums.SearchTermMatchTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/search_term_match_type.proto", fileDescriptor_3e3d2a8f5a86c467) -} - -var fileDescriptor_3e3d2a8f5a86c467 = []byte{ - // 339 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xdf, 0x4a, 0xf3, 0x30, - 0x18, 0xc6, 0xbf, 0x76, 0xdf, 0x26, 0x66, 0xa0, 0xa5, 0x1e, 0x28, 0xe2, 0x0e, 0xb6, 0x0b, 0x48, - 0xa1, 0x9e, 0xc5, 0xa3, 0x74, 0xab, 0x73, 0x88, 0x5d, 0xd9, 0x3f, 0x45, 0x0a, 0x23, 0xae, 0xa1, - 0x0e, 0x96, 0xa4, 0x34, 0xdd, 0x60, 0x97, 0xe1, 0x2d, 0x78, 0xe8, 0xa5, 0x78, 0x29, 0x82, 0xf7, - 0x20, 0x49, 0xb6, 0x1e, 0x4d, 0x4f, 0xca, 0xaf, 0x79, 0xde, 0xe7, 0xe1, 0x7d, 0x1f, 0x80, 0x32, - 0x21, 0xb2, 0x15, 0xf5, 0x48, 0x2a, 0x3d, 0x83, 0x8a, 0x36, 0xbe, 0x47, 0xf9, 0x9a, 0x49, 0x4f, - 0x52, 0x52, 0x2c, 0x5e, 0xe7, 0x25, 0x2d, 0xd8, 0x9c, 0x91, 0x52, 0xe1, 0x36, 0xa7, 0x30, 0x2f, - 0x44, 0x29, 0xdc, 0x96, 0x31, 0x40, 0x92, 0x4a, 0x58, 0x79, 0xe1, 0xc6, 0x87, 0xda, 0x7b, 0x79, - 0xb5, 0x8f, 0xce, 0x97, 0x1e, 0xe1, 0x5c, 0x94, 0xa4, 0x5c, 0x0a, 0x2e, 0x8d, 0xb9, 0xf3, 0x66, - 0x81, 0xf3, 0xb1, 0x4e, 0x9f, 0xd0, 0x82, 0x3d, 0xa8, 0xec, 0xc9, 0x36, 0xa7, 0x21, 0x5f, 0xb3, - 0xce, 0x06, 0x9c, 0x1d, 0x90, 0xdc, 0x53, 0xd0, 0x9c, 0x46, 0xe3, 0x38, 0xec, 0x0e, 0x6e, 0x07, - 0x61, 0xcf, 0xf9, 0xe7, 0x36, 0xc1, 0xd1, 0x34, 0xba, 0x8f, 0x86, 0x8f, 0x91, 0x63, 0xb9, 0xc7, - 0xa0, 0x1e, 0x8c, 0x86, 0xb8, 0xe7, 0xd8, 0x0a, 0xc3, 0x27, 0xdc, 0x9d, 0x38, 0x35, 0x17, 0x80, - 0x46, 0x7c, 0x37, 0xc2, 0xe3, 0xd0, 0xf9, 0xef, 0x9e, 0x00, 0x10, 0x85, 0x78, 0x34, 0x37, 0x5a, - 0x5d, 0xe5, 0xe9, 0xff, 0xdd, 0x40, 0x23, 0xf8, 0xb6, 0x40, 0x7b, 0x21, 0x18, 0xfc, 0xf3, 0xae, - 0xe0, 0xe2, 0xc0, 0x6e, 0xb1, 0xba, 0x29, 0xb6, 0x9e, 0x83, 0x9d, 0x35, 0x13, 0x2b, 0xc2, 0x33, - 0x28, 0x8a, 0xcc, 0xcb, 0x28, 0xd7, 0x17, 0xef, 0xeb, 0xcd, 0x97, 0xf2, 0x97, 0xb6, 0x6f, 0xf4, - 0xf7, 0xdd, 0xae, 0xf5, 0x31, 0xfe, 0xb0, 0x5b, 0x7d, 0x13, 0x85, 0x53, 0x09, 0x0d, 0x2a, 0x9a, - 0xf9, 0x50, 0x55, 0x24, 0x3f, 0xf7, 0x7a, 0x82, 0x53, 0x99, 0x54, 0x7a, 0x32, 0xf3, 0x13, 0xad, - 0x7f, 0xd9, 0x6d, 0xf3, 0x88, 0x10, 0x4e, 0x25, 0x42, 0xd5, 0x04, 0x42, 0x33, 0x1f, 0x21, 0x3d, - 0xf3, 0xd2, 0xd0, 0x8b, 0x5d, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x1d, 0xcb, 0x85, 0x38, 0x05, - 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/search_term_targeting_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/search_term_targeting_status.pb.go deleted file mode 100644 index a3de2d6a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/search_term_targeting_status.pb.go +++ /dev/null @@ -1,135 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/search_term_targeting_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_ba40e9e8a534681c, []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_ba40e9e8a534681c, []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 (m *SearchTermTargetingStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchTermTargetingStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.SearchTermTargetingStatusEnum_SearchTermTargetingStatus", SearchTermTargetingStatusEnum_SearchTermTargetingStatus_name, SearchTermTargetingStatusEnum_SearchTermTargetingStatus_value) - proto.RegisterType((*SearchTermTargetingStatusEnum)(nil), "google.ads.googleads.v2.enums.SearchTermTargetingStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/search_term_targeting_status.proto", fileDescriptor_ba40e9e8a534681c) -} - -var fileDescriptor_ba40e9e8a534681c = []byte{ - // 335 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x4b, 0x4e, 0xc3, 0x30, - 0x10, 0x25, 0x69, 0x0b, 0xc5, 0x45, 0x10, 0x79, 0x07, 0xa2, 0x48, 0xed, 0x01, 0x1c, 0x29, 0xec, - 0xcc, 0x86, 0xb4, 0x09, 0x55, 0x05, 0x4a, 0x2b, 0xf5, 0x03, 0x42, 0x91, 0x22, 0xd3, 0x58, 0x26, - 0x52, 0x63, 0x47, 0xb1, 0xdb, 0x7b, 0x70, 0x05, 0x96, 0x1c, 0x85, 0xa3, 0xb0, 0xe5, 0x02, 0x28, - 0x4e, 0x93, 0x5d, 0xd8, 0x58, 0xcf, 0xf3, 0x66, 0xde, 0x9b, 0x79, 0xe0, 0x9e, 0x09, 0xc1, 0xb6, - 0xd4, 0x26, 0xb1, 0xb4, 0x4b, 0x58, 0xa0, 0xbd, 0x63, 0x53, 0xbe, 0x4b, 0xa5, 0x2d, 0x29, 0xc9, - 0x37, 0xef, 0x91, 0xa2, 0x79, 0x1a, 0x29, 0x92, 0x33, 0xaa, 0x12, 0xce, 0x22, 0xa9, 0x88, 0xda, - 0x49, 0x94, 0xe5, 0x42, 0x09, 0xd8, 0x2f, 0xc7, 0x10, 0x89, 0x25, 0xaa, 0x15, 0xd0, 0xde, 0x41, - 0x5a, 0xe1, 0xea, 0xba, 0x32, 0xc8, 0x12, 0x9b, 0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xc5, - 0x6e, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x26, 0xf4, 0x5c, 0x3d, 0x11, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/served_asset_field_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/served_asset_field_type.pb.go deleted file mode 100644 index b1c86e35..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/served_asset_field_type.pb.go +++ /dev/null @@ -1,140 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/served_asset_field_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The possible asset field types. -type ServedAssetFieldTypeEnum_ServedAssetFieldType int32 - -const ( - // No value has been specified. - ServedAssetFieldTypeEnum_UNSPECIFIED ServedAssetFieldTypeEnum_ServedAssetFieldType = 0 - // The received value is not known in this version. - // - // This is a response-only value. - ServedAssetFieldTypeEnum_UNKNOWN ServedAssetFieldTypeEnum_ServedAssetFieldType = 1 - // The asset is used in headline 1. - ServedAssetFieldTypeEnum_HEADLINE_1 ServedAssetFieldTypeEnum_ServedAssetFieldType = 2 - // The asset is used in headline 2. - ServedAssetFieldTypeEnum_HEADLINE_2 ServedAssetFieldTypeEnum_ServedAssetFieldType = 3 - // The asset is used in headline 3. - ServedAssetFieldTypeEnum_HEADLINE_3 ServedAssetFieldTypeEnum_ServedAssetFieldType = 4 - // The asset is used in description 1. - ServedAssetFieldTypeEnum_DESCRIPTION_1 ServedAssetFieldTypeEnum_ServedAssetFieldType = 5 - // The asset is used in description 2. - ServedAssetFieldTypeEnum_DESCRIPTION_2 ServedAssetFieldTypeEnum_ServedAssetFieldType = 6 -) - -var ServedAssetFieldTypeEnum_ServedAssetFieldType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "HEADLINE_1", - 3: "HEADLINE_2", - 4: "HEADLINE_3", - 5: "DESCRIPTION_1", - 6: "DESCRIPTION_2", -} - -var ServedAssetFieldTypeEnum_ServedAssetFieldType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "HEADLINE_1": 2, - "HEADLINE_2": 3, - "HEADLINE_3": 4, - "DESCRIPTION_1": 5, - "DESCRIPTION_2": 6, -} - -func (x ServedAssetFieldTypeEnum_ServedAssetFieldType) String() string { - return proto.EnumName(ServedAssetFieldTypeEnum_ServedAssetFieldType_name, int32(x)) -} - -func (ServedAssetFieldTypeEnum_ServedAssetFieldType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4c44b8c720b518eb, []int{0, 0} -} - -// Container for enum describing possible asset field types. -type ServedAssetFieldTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ServedAssetFieldTypeEnum) Reset() { *m = ServedAssetFieldTypeEnum{} } -func (m *ServedAssetFieldTypeEnum) String() string { return proto.CompactTextString(m) } -func (*ServedAssetFieldTypeEnum) ProtoMessage() {} -func (*ServedAssetFieldTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_4c44b8c720b518eb, []int{0} -} - -func (m *ServedAssetFieldTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServedAssetFieldTypeEnum.Unmarshal(m, b) -} -func (m *ServedAssetFieldTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServedAssetFieldTypeEnum.Marshal(b, m, deterministic) -} -func (m *ServedAssetFieldTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServedAssetFieldTypeEnum.Merge(m, src) -} -func (m *ServedAssetFieldTypeEnum) XXX_Size() int { - return xxx_messageInfo_ServedAssetFieldTypeEnum.Size(m) -} -func (m *ServedAssetFieldTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_ServedAssetFieldTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_ServedAssetFieldTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.ServedAssetFieldTypeEnum_ServedAssetFieldType", ServedAssetFieldTypeEnum_ServedAssetFieldType_name, ServedAssetFieldTypeEnum_ServedAssetFieldType_value) - proto.RegisterType((*ServedAssetFieldTypeEnum)(nil), "google.ads.googleads.v2.enums.ServedAssetFieldTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/served_asset_field_type.proto", fileDescriptor_4c44b8c720b518eb) -} - -var fileDescriptor_4c44b8c720b518eb = []byte{ - // 344 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xdd, 0x4a, 0xc3, 0x30, - 0x14, 0xb6, 0x9d, 0x4e, 0xc8, 0x50, 0x63, 0xf1, 0x42, 0xc5, 0x5d, 0x6c, 0x0f, 0x90, 0xb2, 0xec, - 0x2e, 0xbb, 0xca, 0xb6, 0x6e, 0x16, 0xa5, 0x2b, 0xee, 0x47, 0x90, 0x42, 0xa9, 0x26, 0x96, 0xc2, - 0x96, 0x94, 0xa5, 0x1b, 0xec, 0x15, 0x7c, 0x0c, 0x6f, 0x04, 0x1f, 0xc5, 0x47, 0xf1, 0xc2, 0x67, - 0x90, 0xa6, 0x6e, 0x30, 0x99, 0xde, 0x84, 0xef, 0x9c, 0xef, 0x7c, 0x1f, 0xe7, 0x7c, 0x01, 0xad, - 0x58, 0xca, 0x78, 0xca, 0xed, 0x88, 0x29, 0xbb, 0x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 0x7b, 0x9a, - 0xa8, 0x3f, 0x7e, 0xa1, 0xa5, 0xdf, 0x57, 0xb3, 0xd4, 0xa7, 0xf4, 0xdd, 0xac, 0xf6, 0x0b, 0x2b, - 0xca, 0x14, 0x2a, 0x60, 0x8e, 0x26, 0x18, 0xe5, 0xc1, 0xa9, 0x8f, 0x35, 0x1f, 0x50, 0xa6, 0x82, - 0x0d, 0x1f, 0x4c, 0x70, 0xa0, 0xf9, 0x4f, 0xb3, 0x56, 0x34, 0x09, 0xa1, 0x4c, 0x11, 0xb2, 0x99, - 0x20, 0x64, 0x82, 0x09, 0xd1, 0x33, 0x8f, 0x65, 0xbd, 0x58, 0xf3, 0x3b, 0x00, 0x00, 0xff, 0xff, - 0xca, 0x1a, 0xbf, 0x13, 0x1d, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/shared_set_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/shared_set_status.pb.go deleted file mode 100644 index 02a8fd83..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/shared_set_status.pb.go +++ /dev/null @@ -1,123 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/shared_set_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_59c5328d27684fb0, []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_59c5328d27684fb0, []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 (m *SharedSetStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_SharedSetStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.SharedSetStatusEnum_SharedSetStatus", SharedSetStatusEnum_SharedSetStatus_name, SharedSetStatusEnum_SharedSetStatus_value) - proto.RegisterType((*SharedSetStatusEnum)(nil), "google.ads.googleads.v2.enums.SharedSetStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/shared_set_status.proto", fileDescriptor_59c5328d27684fb0) -} - -var fileDescriptor_59c5328d27684fb0 = []byte{ - // 301 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x4d, 0x4a, 0x03, 0x31, - 0x14, 0xb6, 0x53, 0x50, 0x48, 0x17, 0x1d, 0xaa, 0x2b, 0xb1, 0x8b, 0xf6, 0x00, 0x09, 0x8c, 0xb8, - 0x89, 0xab, 0x8c, 0x8d, 0xa5, 0xa8, 0xd3, 0xe2, 0xd0, 0x11, 0x64, 0xa0, 0x46, 0x13, 0x62, 0xa1, - 0x4d, 0x4a, 0x5f, 0xda, 0x03, 0xb9, 0xf4, 0x28, 0xde, 0x44, 0x4f, 0x21, 0xc9, 0xb4, 0xb3, 0x28, - 0xe8, 0x66, 0xf8, 0xde, 0xfb, 0x7e, 0xe6, 0xcb, 0x43, 0x57, 0xda, 0x5a, 0xbd, 0x50, 0x44, 0x48, - 0x20, 0x15, 0xf4, 0x68, 0x9b, 0x10, 0x65, 0x36, 0x4b, 0x20, 0xf0, 0x2e, 0xd6, 0x4a, 0xce, 0x40, - 0xb9, 0x19, 0x38, 0xe1, 0x36, 0x80, 0x57, 0x6b, 0xeb, 0x6c, 0xa7, 0x5b, 0x69, 0xb1, 0x90, 0x80, - 0x6b, 0x1b, 0xde, 0x26, 0x38, 0xd8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} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/shared_set_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/shared_set_type.pb.go deleted file mode 100644 index 2119c52a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/shared_set_type.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/shared_set_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_19d954fa4f4984d4, []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_19d954fa4f4984d4, []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 (m *SharedSetTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_SharedSetTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.SharedSetTypeEnum_SharedSetType", SharedSetTypeEnum_SharedSetType_name, SharedSetTypeEnum_SharedSetType_value) - proto.RegisterType((*SharedSetTypeEnum)(nil), "google.ads.googleads.v2.enums.SharedSetTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/shared_set_type.proto", fileDescriptor_19d954fa4f4984d4) -} - -var fileDescriptor_19d954fa4f4984d4 = []byte{ - // 318 bytes of a gzipped FileDescriptorProto - 0x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x4f, 0x47, 0x09, 0x59, 0x8c, 0xc9, 0xe3, 0x7c, 0xf2, - 0x30, 0x88, 0x5d, 0xc7, 0xbb, 0x04, 0xe7, 0xd5, 0x39, 0xba, 0xc3, 0x7d, 0x72, 0x4f, 0xc2, 0x69, - 0xec, 0xd6, 0x7b, 0x5f, 0x35, 0xd0, 0x7e, 0x95, 0x6b, 0xf8, 0x6f, 0xef, 0x9e, 0x77, 0x50, 0x21, - 0x2a, 0xdb, 0x46, 0xb5, 0xa7, 0xde, 0xaf, 0x89, 0xcb, 0x55, 0x26, 0x38, 0x94, 0x05, 0xf7, 0x39, - 0x13, 0xe6, 0x2f, 0xfb, 0xc5, 0xf2, 0xa5, 0xfa, 0x63, 0xc0, 0x1b, 0xf3, 0xbe, 0x3b, 0xf5, 0x21, - 0xc6, 0x1f, 0x4e, 0x6b, 0x68, 0xa3, 0x30, 0x55, 0xd0, 0xc2, 0x12, 0x25, 0x01, 0x2c, 0x37, 0x50, - 0x9f, 0x7b, 0x3e, 0xc5, 0x54, 0xa5, 0x15, 0x9f, 0x26, 0x41, 0x6a, 0xf8, 0x6f, 0xa7, 0x6d, 0x8f, - 0x08, 0x61, 0xaa, 0x10, 0xaa, 0x14, 0x08, 0x25, 0x01, 0x42, 0x46, 0xf3, 0x72, 0x6c, 0x8a, 0x75, - 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x4c, 0xdc, 0x8a, 0x00, 0xd8, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/simulation_modification_method.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/simulation_modification_method.pb.go deleted file mode 100644 index f049424a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/simulation_modification_method.pb.go +++ /dev/null @@ -1,128 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/simulation_modification_method.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing the method by which a simulation modifies a field. -type SimulationModificationMethodEnum_SimulationModificationMethod int32 - -const ( - // Not specified. - SimulationModificationMethodEnum_UNSPECIFIED SimulationModificationMethodEnum_SimulationModificationMethod = 0 - // Used for return value only. Represents value unknown in this version. - SimulationModificationMethodEnum_UNKNOWN SimulationModificationMethodEnum_SimulationModificationMethod = 1 - // The values in a simulation were applied to all children of a given - // resource uniformly. Overrides on child resources were not respected. - SimulationModificationMethodEnum_UNIFORM SimulationModificationMethodEnum_SimulationModificationMethod = 2 - // The values in a simulation were applied to the given resource. - // Overrides on child resources were respected, and traffic estimates - // do not include these resources. - SimulationModificationMethodEnum_DEFAULT SimulationModificationMethodEnum_SimulationModificationMethod = 3 -) - -var SimulationModificationMethodEnum_SimulationModificationMethod_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "UNIFORM", - 3: "DEFAULT", -} - -var SimulationModificationMethodEnum_SimulationModificationMethod_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "UNIFORM": 2, - "DEFAULT": 3, -} - -func (x SimulationModificationMethodEnum_SimulationModificationMethod) String() string { - return proto.EnumName(SimulationModificationMethodEnum_SimulationModificationMethod_name, int32(x)) -} - -func (SimulationModificationMethodEnum_SimulationModificationMethod) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1ba3a00ef1eaad81, []int{0, 0} -} - -// Container for enum describing the method by which a simulation modifies -// a field. -type SimulationModificationMethodEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SimulationModificationMethodEnum) Reset() { *m = SimulationModificationMethodEnum{} } -func (m *SimulationModificationMethodEnum) String() string { return proto.CompactTextString(m) } -func (*SimulationModificationMethodEnum) ProtoMessage() {} -func (*SimulationModificationMethodEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_1ba3a00ef1eaad81, []int{0} -} - -func (m *SimulationModificationMethodEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SimulationModificationMethodEnum.Unmarshal(m, b) -} -func (m *SimulationModificationMethodEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SimulationModificationMethodEnum.Marshal(b, m, deterministic) -} -func (m *SimulationModificationMethodEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_SimulationModificationMethodEnum.Merge(m, src) -} -func (m *SimulationModificationMethodEnum) XXX_Size() int { - return xxx_messageInfo_SimulationModificationMethodEnum.Size(m) -} -func (m *SimulationModificationMethodEnum) XXX_DiscardUnknown() { - xxx_messageInfo_SimulationModificationMethodEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_SimulationModificationMethodEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.SimulationModificationMethodEnum_SimulationModificationMethod", SimulationModificationMethodEnum_SimulationModificationMethod_name, SimulationModificationMethodEnum_SimulationModificationMethod_value) - proto.RegisterType((*SimulationModificationMethodEnum)(nil), "google.ads.googleads.v2.enums.SimulationModificationMethodEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/simulation_modification_method.proto", fileDescriptor_1ba3a00ef1eaad81) -} - -var fileDescriptor_1ba3a00ef1eaad81 = []byte{ - // 308 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xd1, 0x4a, 0xc3, 0x30, - 0x14, 0x75, 0x1d, 0x28, 0x64, 0x0f, 0x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, 0x27, 0x0b, 0xd8, - 0xbb, 0xff, 0x62, 0xd6, 0xe7, 0x1d, 0x36, 0x47, 0x84, 0x83, 0xa7, 0x63, 0x8e, 0x90, 0xc9, 0x3c, - 0x15, 0x0c, 0xca, 0x3d, 0x43, 0x2c, 0x13, 0xfa, 0xc4, 0x36, 0xd7, 0x92, 0xab, 0x7f, 0x62, 0xbe, - 0xd6, 0xef, 0x87, 0x35, 0x5c, 0x13, 0xf2, 0x69, 0x4d, 0xd7, 0x46, 0x8a, 0x50, 0x05, 0x0d, 0x6c, - 0x50, 0xec, 0xc0, 0x26, 0x0b, 0xf5, 0xd5, 0xf6, 0x13, 0x42, 0x55, 0xd2, 0xf5, 0x93, 0xd8, 0x49, - 0x74, 0xff, 0xdb, 0x9a, 0x99, 0x4f, 0x8c, 0x09, 0x55, 0x18, 0x77, 0x0c, 0x8c, 0x63, 0x07, 0x63, - 0xcd, 0x79, 0x39, 0xd5, 0x8b, 0x5d, 0xfd, 0x06, 0x00, 0x00, 0xff, 0xff, 0x3f, 0x82, 0x06, 0x3a, - 0xfe, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/simulation_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/simulation_type.pb.go deleted file mode 100644 index ed412db6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/simulation_type.pb.go +++ /dev/null @@ -1,133 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/simulation_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing the field a simulation modifies. -type SimulationTypeEnum_SimulationType int32 - -const ( - // Not specified. - SimulationTypeEnum_UNSPECIFIED SimulationTypeEnum_SimulationType = 0 - // Used for return value only. Represents value unknown in this version. - SimulationTypeEnum_UNKNOWN SimulationTypeEnum_SimulationType = 1 - // The simulation is for a cpc bid. - SimulationTypeEnum_CPC_BID SimulationTypeEnum_SimulationType = 2 - // The simulation is for a cpv bid. - SimulationTypeEnum_CPV_BID SimulationTypeEnum_SimulationType = 3 - // The simulation is for a cpa target. - SimulationTypeEnum_TARGET_CPA SimulationTypeEnum_SimulationType = 4 - // The simulation is for a bid modifier. - SimulationTypeEnum_BID_MODIFIER SimulationTypeEnum_SimulationType = 5 -) - -var SimulationTypeEnum_SimulationType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "CPC_BID", - 3: "CPV_BID", - 4: "TARGET_CPA", - 5: "BID_MODIFIER", -} - -var SimulationTypeEnum_SimulationType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "CPC_BID": 2, - "CPV_BID": 3, - "TARGET_CPA": 4, - "BID_MODIFIER": 5, -} - -func (x SimulationTypeEnum_SimulationType) String() string { - return proto.EnumName(SimulationTypeEnum_SimulationType_name, int32(x)) -} - -func (SimulationTypeEnum_SimulationType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_40bc4197c0ba6eaa, []int{0, 0} -} - -// Container for enum describing the field a simulation modifies. -type SimulationTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SimulationTypeEnum) Reset() { *m = SimulationTypeEnum{} } -func (m *SimulationTypeEnum) String() string { return proto.CompactTextString(m) } -func (*SimulationTypeEnum) ProtoMessage() {} -func (*SimulationTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_40bc4197c0ba6eaa, []int{0} -} - -func (m *SimulationTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SimulationTypeEnum.Unmarshal(m, b) -} -func (m *SimulationTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SimulationTypeEnum.Marshal(b, m, deterministic) -} -func (m *SimulationTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_SimulationTypeEnum.Merge(m, src) -} -func (m *SimulationTypeEnum) XXX_Size() int { - return xxx_messageInfo_SimulationTypeEnum.Size(m) -} -func (m *SimulationTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_SimulationTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_SimulationTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.SimulationTypeEnum_SimulationType", SimulationTypeEnum_SimulationType_name, SimulationTypeEnum_SimulationType_value) - proto.RegisterType((*SimulationTypeEnum)(nil), "google.ads.googleads.v2.enums.SimulationTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/simulation_type.proto", fileDescriptor_40bc4197c0ba6eaa) -} - -var fileDescriptor_40bc4197c0ba6eaa = []byte{ - // 324 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcd, 0x4a, 0xf3, 0x40, - 0x14, 0xfd, 0x92, 0x7e, 0x2a, 0x4c, 0xa5, 0x86, 0xb8, 0x13, 0xbb, 0x68, 0x1f, 0x60, 0x06, 0xd2, - 0xdd, 0xb8, 0x9a, 0xfc, 0x58, 0x82, 0x98, 0x86, 0xfe, 0x44, 0x90, 0x40, 0x88, 0x26, 0x0c, 0x91, - 0x66, 0x26, 0x74, 0xd2, 0x42, 0x77, 0x3e, 0x8b, 0x4b, 0x1f, 0xc5, 0x27, 0x11, 0x9f, 0x42, 0x66, - 0xc6, 0x06, 0xba, 0xd0, 0xcd, 0x70, 0xee, 0xd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4b, 0xa1, 0x37, - 0xea, 0x7d, 0x33, 0x7b, 0x53, 0x42, 0xde, 0xcd, 0xe1, 0x54, 0x5b, 0x91, 0x42, 0x40, 0x0d, 0x25, - 0x4a, 0x1c, 0x28, 0x1b, 0x11, 0x1f, 0x87, 0x7d, 0x4a, 0x0a, 0x91, 0x76, 0xfb, 0x34, 0x71, 0x52, - 0xb5, 0xff, 0x32, 0x47, 0xfa, 0x13, 0x63, 0x52, 0x08, 0x8c, 0x3b, 0x06, 0xc6, 0x89, 0x83, 0xb1, - 0xe2, 0x3c, 0x9d, 0xaa, 0x60, 0x93, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x60, 0xf8, 0x63, 0xc8, - 0xe8, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/sitelink_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/sitelink_placeholder_field.pb.go deleted file mode 100644 index 3f7245ce..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/sitelink_placeholder_field.pb.go +++ /dev/null @@ -1,152 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/sitelink_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_0a9ddc6c6abb7c78, []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_0a9ddc6c6abb7c78, []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 (m *SitelinkPlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_SitelinkPlaceholderFieldEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField", SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField_name, SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField_value) - proto.RegisterType((*SitelinkPlaceholderFieldEnum)(nil), "google.ads.googleads.v2.enums.SitelinkPlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/sitelink_placeholder_field.proto", fileDescriptor_0a9ddc6c6abb7c78) -} - -var fileDescriptor_0a9ddc6c6abb7c78 = []byte{ - // 377 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xd1, 0x8e, 0x9a, 0x40, - 0x14, 0x86, 0x0b, 0x5a, 0x35, 0x63, 0xd3, 0x4e, 0x27, 0x6d, 0xd2, 0x34, 0x7a, 0xa1, 0x0f, 0x30, - 0xa4, 0xf4, 0x6e, 0x9a, 0x34, 0x01, 0x0b, 0x86, 0x48, 0x91, 0x88, 0xb8, 0x66, 0x43, 0x42, 0x58, - 0x61, 0x59, 0xb2, 0x38, 0x43, 0x1c, 0xf4, 0x81, 0xf6, 0x6e, 0xf7, 0x51, 0x7c, 0x94, 0xbd, 0xdc, - 0x27, 0xd8, 0xc0, 0x28, 0x7b, 0xe5, 0xde, 0x4c, 0xfe, 0x39, 0xe7, 0x7c, 0xe7, 0xcc, 0xfc, 0x07, - 0xfc, 0x4d, 0x19, 0x4b, 0xf3, 0x44, 0x89, 0x62, 0xae, 0x08, 0x59, 0xa9, 0x83, 0xaa, 0x24, 0x74, - 0xbf, 0xe5, 0x0a, 0xcf, 0xca, 0x24, 0xcf, 0xe8, 0x7d, 0x58, 0xe4, 0xd1, 0x26, 0xb9, 0x63, 0x79, - 0x9c, 0xec, 0xc2, 0xdb, 0x2c, 0xc9, 0x63, 0x5c, 0xec, 0x58, 0xc9, 0xd0, 0x50, 0x40, 0x38, 0x8a, - 0x39, 0x6e, 0x78, 0x7c, 0x50, 0x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 0xc3, 0xa9, 0x68, 0xa5, 0xc5, - 0x1c, 0x0b, 0x59, 0xa9, 0x95, 0x8a, 0x2b, 0x6f, 0xf9, 0xf1, 0x9c, 0x0f, 0xb4, 0x98, 0x07, 0x4d, - 0x3e, 0x58, 0xa9, 0x41, 0x9d, 0x7f, 0x96, 0x47, 0x22, 0x48, 0x88, 0x16, 0x73, 0x42, 0x9a, 0x0a, - 0x42, 0x56, 0x2a, 0x21, 0x75, 0xcd, 0x4d, 0xa7, 0x7e, 0xd8, 0xef, 0xd7, 0x00, 0x00, 0x00, 0xff, - 0xff, 0xf8, 0x52, 0x97, 0x7d, 0x47, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/slot.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/slot.pb.go deleted file mode 100644 index edcd6bdf..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/slot.pb.go +++ /dev/null @@ -1,146 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/slot.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_008fb418542897d2, []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_008fb418542897d2, []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 (m *SlotEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_SlotEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.SlotEnum_Slot", SlotEnum_Slot_name, SlotEnum_Slot_value) - proto.RegisterType((*SlotEnum)(nil), "google.ads.googleads.v2.enums.SlotEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/slot.proto", fileDescriptor_008fb418542897d2) -} - -var fileDescriptor_008fb418542897d2 = []byte{ - // 347 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcd, 0x4a, 0xeb, 0x40, - 0x18, 0xbd, 0x49, 0xff, 0xa7, 0x97, 0x7b, 0x87, 0x41, 0x44, 0xc4, 0x2e, 0xda, 0x95, 0xab, 0x09, - 0xc4, 0xdd, 0xb8, 0x4a, 0xdb, 0xb1, 0x0d, 0x62, 0x12, 0x92, 0xb4, 0x8a, 0x04, 0x24, 0x9a, 0x12, - 0x0a, 0xe9, 0x4c, 0xe9, 0xa4, 0x7d, 0x1f, 0x5d, 0xba, 0xf0, 0x41, 0x7c, 0x08, 0x1f, 0xc0, 0xa7, - 0x90, 0x99, 0x49, 0xbb, 0x10, 0x74, 0x33, 0x9c, 0xef, 0x3b, 0xe7, 0x7c, 0xcc, 0x39, 0xe0, 0x3c, - 0xe7, 0x3c, 0x2f, 0x16, 0x56, 0x9a, 0x09, 0x4b, 0x43, 0x89, 0x76, 0xb6, 0xb5, 0x60, 0xdb, 0x95, - 0xb0, 0x44, 0xc1, 0x4b, 0xbc, 0xde, 0xf0, 0x92, 0xa3, 0x9e, 0xa6, 0x71, 0x9a, 0x09, 0x7c, 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xac, 0xa1, 0x44, 0x73, 0x1b, 0xcb, 0xfe, 0xc4, 0xfb, 0x9e, 0x4f, 0x9c, - 0x4c, 0x24, 0x07, 0x3e, 0x99, 0xdb, 0x89, 0xe2, 0x3f, 0xcd, 0xbe, 0x5e, 0x12, 0xe2, 0x64, 0x82, - 0x90, 0x83, 0x82, 0x90, 0xb9, 0x4d, 0x88, 0xd2, 0x3c, 0x36, 0xd5, 0xc7, 0x2e, 0xbe, 0x02, 0x00, - 0x00, 0xff, 0xff, 0x73, 0xa5, 0x58, 0xfa, 0x01, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/spending_limit_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/spending_limit_type.pb.go deleted file mode 100644 index fddef5a2..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/spending_limit_type.pb.go +++ /dev/null @@ -1,120 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/spending_limit_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_f79ec95f0807aa85, []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_f79ec95f0807aa85, []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 (m *SpendingLimitTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpendingLimitTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.SpendingLimitTypeEnum_SpendingLimitType", SpendingLimitTypeEnum_SpendingLimitType_name, SpendingLimitTypeEnum_SpendingLimitType_value) - proto.RegisterType((*SpendingLimitTypeEnum)(nil), "google.ads.googleads.v2.enums.SpendingLimitTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/spending_limit_type.proto", fileDescriptor_f79ec95f0807aa85) -} - -var fileDescriptor_f79ec95f0807aa85 = []byte{ - // 298 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcd, 0x4a, 0xc3, 0x30, - 0x00, 0x76, 0x15, 0x54, 0x32, 0xc1, 0x59, 0xd0, 0x83, 0xb8, 0xc3, 0xf6, 0x00, 0x09, 0xd4, 0x83, - 0x10, 0x0f, 0xd2, 0x69, 0x37, 0x8a, 0x12, 0x0b, 0xdb, 0xaa, 0x48, 0x61, 0x54, 0x13, 0x42, 0xa0, - 0x4d, 0xc2, 0xd2, 0x0d, 0xf6, 0x3a, 0x1e, 0x7d, 0x14, 0x1f, 0x45, 0x5f, 0x42, 0x9a, 0xac, 0xbd, - 0x0c, 0xbd, 0x84, 0x8f, 0x7c, 0x3f, 0xf9, 0xf2, 0x81, 0x6b, 0xae, 0x14, 0x2f, 0x18, 0xca, 0xa9, - 0x41, 0x0e, 0xd6, 0x68, 0x1d, 0x20, 0x26, 0x57, 0xa5, 0x41, 0x46, 0x33, 0x49, 0x85, 0xe4, 0x8b, - 0x42, 0x94, 0xa2, 0x5a, 0x54, 0x1b, 0xcd, 0xa0, 0x5e, 0xaa, 0x4a, 0xf9, 0x7d, 0xa7, 0x86, 0x39, - 0x35, 0xb0, 0x35, 0xc2, 0x75, 0x00, 0xad, 0xf1, 0xe2, 0xb2, 0xc9, 0xd5, 0x02, 0xe5, 0x52, 0xaa, - 0x2a, 0xaf, 0x84, 0x92, 0xc6, 0x99, 0x87, 0x2f, 0xe0, 0x6c, 0xba, 0x4d, 0x7e, 0xac, 0x83, 0x67, - 0x1b, 0xcd, 0x22, 0xb9, 0x2a, 0x87, 0xb7, 0xe0, 0x74, 0x87, 0xf0, 0x4f, 0x40, 0x77, 0x4e, 0xa6, - 0x49, 0x74, 0x17, 0x8f, 0xe3, 0xe8, 0xbe, 0xb7, 0xe7, 0x77, 0xc1, 0xe1, 0x9c, 0x3c, 0x90, 0xa7, - 0x67, 0xd2, 0xeb, 0xf8, 0xc7, 0xe0, 0x28, 0x26, 0xe3, 0x98, 0xc4, 0xb3, 0xa8, 0xe7, 0x8d, 0x7e, - 0x3a, 0x60, 0xf0, 0xae, 0x4a, 0xf8, 0x6f, 0xbb, 0xd1, 0xf9, 0xce, 0x23, 0x49, 0xdd, 0x2b, 0xe9, - 0xbc, 0x8e, 0xb6, 0x46, 0xae, 0x8a, 0x5c, 0x72, 0xa8, 0x96, 0x1c, 0x71, 0x26, 0x6d, 0xeb, 0x66, - 0x1f, 0x2d, 0xcc, 0x1f, 0x73, 0xdd, 0xd8, 0xf3, 0xc3, 0xdb, 0x9f, 0x84, 0xe1, 0xa7, 0xd7, 0x9f, - 0xb8, 0xa8, 0x90, 0x1a, 0xe8, 0x60, 0x8d, 0xd2, 0x00, 0xd6, 0x3f, 0x35, 0x5f, 0x0d, 0x9f, 0x85, - 0xd4, 0x64, 0x2d, 0x9f, 0xa5, 0x41, 0x66, 0xf9, 0x6f, 0x6f, 0xe0, 0x2e, 0x31, 0x0e, 0xa9, 0xc1, - 0xb8, 0x55, 0x60, 0x9c, 0x06, 0x18, 0x5b, 0xcd, 0xdb, 0x81, 0x2d, 0x76, 0xf5, 0x1b, 0x00, 0x00, - 0xff, 0xff, 0x8e, 0xc8, 0x93, 0xbf, 0xc6, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/structured_snippet_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/structured_snippet_placeholder_field.pb.go deleted file mode 100644 index e2d60728..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/structured_snippet_placeholder_field.pb.go +++ /dev/null @@ -1,130 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/structured_snippet_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 exactly one of the predefined structured snippets headers. - // For a list, visit - // 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_bc73f155783bec59, []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_bc73f155783bec59, []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 (m *StructuredSnippetPlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_StructuredSnippetPlaceholderFieldEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.StructuredSnippetPlaceholderFieldEnum_StructuredSnippetPlaceholderField", StructuredSnippetPlaceholderFieldEnum_StructuredSnippetPlaceholderField_name, StructuredSnippetPlaceholderFieldEnum_StructuredSnippetPlaceholderField_value) - proto.RegisterType((*StructuredSnippetPlaceholderFieldEnum)(nil), "google.ads.googleads.v2.enums.StructuredSnippetPlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/structured_snippet_placeholder_field.proto", fileDescriptor_bc73f155783bec59) -} - -var fileDescriptor_bc73f155783bec59 = []byte{ - // 329 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x50, 0xdf, 0x4a, 0xfb, 0x30, - 0x18, 0xfd, 0xb5, 0x83, 0xfd, 0x24, 0x13, 0x2c, 0xbd, 0x14, 0x77, 0xb1, 0x81, 0x5e, 0xa6, 0x50, - 0xef, 0xe2, 0x55, 0xe7, 0xba, 0x3f, 0x08, 0xb5, 0x58, 0x37, 0x41, 0x0b, 0x23, 0x2e, 0x31, 0x16, - 0xba, 0x24, 0x34, 0xe9, 0x9e, 0xc0, 0x27, 0xf1, 0xd2, 0x47, 0xf1, 0x51, 0x7c, 0x05, 0x6f, 0xa4, - 0x89, 0xab, 0x57, 0xba, 0x9b, 0x70, 0xc8, 0x77, 0xbe, 0x73, 0xbe, 0x73, 0xc0, 0x8c, 0x09, 0xc1, - 0x4a, 0x1a, 0x60, 0xa2, 0x02, 0x0b, 0x1b, 0xb4, 0x0d, 0x03, 0xca, 0xeb, 0x8d, 0x0a, 0x94, 0xae, - 0xea, 0xb5, 0xae, 0x2b, 0x4a, 0x56, 0x8a, 0x17, 0x52, 0x52, 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, 0x3c, 0x5f, 0x86, 0xb9, 0x99, 0x7f, 0xb8, 0x03, 0xfb, 0x89, 0x50, 0x44, 0x14, 0x42, 0x2d, - 0x03, 0xa1, 0x65, 0x88, 0x90, 0xe1, 0x3c, 0x76, 0xcd, 0x61, 0xe7, 0x5f, 0x01, 0x00, 0x00, 0xff, - 0xff, 0x4b, 0xdb, 0xe2, 0xd2, 0x14, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/system_managed_entity_source.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/system_managed_entity_source.pb.go deleted file mode 100644 index b1b79470..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/system_managed_entity_source.pb.go +++ /dev/null @@ -1,120 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/system_managed_entity_source.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum listing the possible system managed entity sources. -type SystemManagedResourceSourceEnum_SystemManagedResourceSource int32 - -const ( - // Not specified. - SystemManagedResourceSourceEnum_UNSPECIFIED SystemManagedResourceSourceEnum_SystemManagedResourceSource = 0 - // Used for return value only. Represents value unknown in this version. - SystemManagedResourceSourceEnum_UNKNOWN SystemManagedResourceSourceEnum_SystemManagedResourceSource = 1 - // Generated ad variations experiment ad. - SystemManagedResourceSourceEnum_AD_VARIATIONS SystemManagedResourceSourceEnum_SystemManagedResourceSource = 2 -) - -var SystemManagedResourceSourceEnum_SystemManagedResourceSource_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "AD_VARIATIONS", -} - -var SystemManagedResourceSourceEnum_SystemManagedResourceSource_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "AD_VARIATIONS": 2, -} - -func (x SystemManagedResourceSourceEnum_SystemManagedResourceSource) String() string { - return proto.EnumName(SystemManagedResourceSourceEnum_SystemManagedResourceSource_name, int32(x)) -} - -func (SystemManagedResourceSourceEnum_SystemManagedResourceSource) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b70535f1f7021782, []int{0, 0} -} - -// Container for enum describing possible system managed entity sources. -type SystemManagedResourceSourceEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SystemManagedResourceSourceEnum) Reset() { *m = SystemManagedResourceSourceEnum{} } -func (m *SystemManagedResourceSourceEnum) String() string { return proto.CompactTextString(m) } -func (*SystemManagedResourceSourceEnum) ProtoMessage() {} -func (*SystemManagedResourceSourceEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_b70535f1f7021782, []int{0} -} - -func (m *SystemManagedResourceSourceEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SystemManagedResourceSourceEnum.Unmarshal(m, b) -} -func (m *SystemManagedResourceSourceEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SystemManagedResourceSourceEnum.Marshal(b, m, deterministic) -} -func (m *SystemManagedResourceSourceEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_SystemManagedResourceSourceEnum.Merge(m, src) -} -func (m *SystemManagedResourceSourceEnum) XXX_Size() int { - return xxx_messageInfo_SystemManagedResourceSourceEnum.Size(m) -} -func (m *SystemManagedResourceSourceEnum) XXX_DiscardUnknown() { - xxx_messageInfo_SystemManagedResourceSourceEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_SystemManagedResourceSourceEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.SystemManagedResourceSourceEnum_SystemManagedResourceSource", SystemManagedResourceSourceEnum_SystemManagedResourceSource_name, SystemManagedResourceSourceEnum_SystemManagedResourceSource_value) - proto.RegisterType((*SystemManagedResourceSourceEnum)(nil), "google.ads.googleads.v2.enums.SystemManagedResourceSourceEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/system_managed_entity_source.proto", fileDescriptor_b70535f1f7021782) -} - -var fileDescriptor_b70535f1f7021782 = []byte{ - // 318 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xd1, 0x4a, 0xf3, 0x30, - 0x18, 0xfd, 0xd7, 0x1f, 0x14, 0x32, 0xc4, 0xd9, 0x4b, 0x75, 0xca, 0xf6, 0x00, 0x29, 0xd4, 0xbb, - 0x78, 0x63, 0xe6, 0xea, 0x28, 0x62, 0x37, 0x56, 0x57, 0x41, 0x0a, 0x25, 0x2e, 0x21, 0x14, 0xd6, - 0x64, 0xee, 0xcb, 0x06, 0x7b, 0x1d, 0x2f, 0x7d, 0x14, 0x1f, 0xc5, 0x5b, 0x5f, 0x40, 0x9a, 0xb8, - 0x82, 0x17, 0xee, 0x26, 0x1c, 0xf2, 0x9d, 0xef, 0x9c, 0xf3, 0x1d, 0x74, 0x23, 0xb5, 0x96, 0x0b, - 0x11, 0x30, 0x0e, 0x81, 0x83, 0x35, 0xda, 0x84, 0x81, 0x50, 0xeb, 0x0a, 0x02, 0xd8, 0x82, 0x11, - 0x55, 0x51, 0x31, 0xc5, 0xa4, 0xe0, 0x85, 0x50, 0xa6, 0x34, 0xdb, 0x02, 0xf4, 0x7a, 0x35, 0x17, - 0x78, 0xb9, 0xd2, 0x46, 0xfb, 0x5d, 0xb7, 0x86, 0x19, 0x07, 0xdc, 0x28, 0xe0, 0x4d, 0x88, 0xad, - 0xc2, 0xe9, 0xf9, 0xce, 0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0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/target_cpa_opt_in_recommendation_goal.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/target_cpa_opt_in_recommendation_goal.pb.go deleted file mode 100644 index c9a67002..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/target_cpa_opt_in_recommendation_goal.pb.go +++ /dev/null @@ -1,136 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/target_cpa_opt_in_recommendation_goal.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_6cda105fb4f0f31c, []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_6cda105fb4f0f31c, []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 (m *TargetCpaOptInRecommendationGoalEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_TargetCpaOptInRecommendationGoalEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.TargetCpaOptInRecommendationGoalEnum_TargetCpaOptInRecommendationGoal", TargetCpaOptInRecommendationGoalEnum_TargetCpaOptInRecommendationGoal_name, TargetCpaOptInRecommendationGoalEnum_TargetCpaOptInRecommendationGoal_value) - proto.RegisterType((*TargetCpaOptInRecommendationGoalEnum)(nil), "google.ads.googleads.v2.enums.TargetCpaOptInRecommendationGoalEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/target_cpa_opt_in_recommendation_goal.proto", fileDescriptor_6cda105fb4f0f31c) -} - -var fileDescriptor_6cda105fb4f0f31c = []byte{ - // 357 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xdd, 0x4a, 0xf3, 0x30, - 0x18, 0xc7, 0xdf, 0x76, 0xef, 0x97, 0x99, 0x62, 0x29, 0x1e, 0x89, 0x03, 0x37, 0xf4, 0x34, 0x85, - 0x7a, 0x16, 0x8f, 0xba, 0x5a, 0x47, 0x51, 0xdb, 0x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x1a, - 0xfb, 0x61, 0x10, 0x1b, 0x3d, 0x73, 0x1f, 0xfc, 0x57, 0xd6, 0xc8, 0x31, 0x7e, 0x77, 0x40, 0xf7, - 0x36, 0x8c, 0xbd, 0x78, 0x26, 0x0d, 0x7f, 0xc6, 0x1f, 0x1a, 0x18, 0x2e, 0x58, 0x0d, 0x7f, 0x9c, - 0x79, 0x7c, 0xbe, 0xab, 0xd3, 0xa8, 0x1b, 0x3e, 0xd2, 0x1e, 0xc6, 0x6b, 0x0e, 0x61, 0x15, 0xa6, - 0x04, 0xb2, 0x96, 0x58, 0xa4, 0xa0, 0x72, 0x35, 0x9b, 0xb3, 0x34, 0x25, 0xff, 0xe6, 0x4a, 0x97, - 0xf2, 0x7d, 0xd6, 0x7b, 0x13, 0xc7, 0x79, 0xd1, 0x07, 0x13, 0x85, 0x72, 0x72, 0x0e, 0x95, 0xec, - 0x54, 0x62, 0xc3, 0x6e, 0x7d, 0xfc, 0x6d, 0xe3, 0x4f, 0x9d, 0x9c, 0xa7, 0x5b, 0x7f, 0x9a, 0xd8, - 0xa9, 0xf4, 0xbf, 0xeb, 0x43, 0x65, 0x44, 0xc8, 0xc9, 0x39, 0x42, 0xdb, 0x08, 0x84, 0x12, 0x1b, - 0x21, 0x19, 0xf3, 0xf8, 0x57, 0x36, 0x76, 0xf1, 0x19, 0x00, 0x00, 0xff, 0xff, 0x74, 0x39, 0x28, - 0x1a, 0x3d, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/target_impression_share_location.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/target_impression_share_location.pb.go deleted file mode 100644 index e8684538..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/target_impression_share_location.pb.go +++ /dev/null @@ -1,132 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/target_impression_share_location.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible goals. -type TargetImpressionShareLocationEnum_TargetImpressionShareLocation int32 - -const ( - // Not specified. - TargetImpressionShareLocationEnum_UNSPECIFIED TargetImpressionShareLocationEnum_TargetImpressionShareLocation = 0 - // Used for return value only. Represents value unknown in this version. - TargetImpressionShareLocationEnum_UNKNOWN TargetImpressionShareLocationEnum_TargetImpressionShareLocation = 1 - // Any location on the web page. - TargetImpressionShareLocationEnum_ANYWHERE_ON_PAGE TargetImpressionShareLocationEnum_TargetImpressionShareLocation = 2 - // Top box of ads. - TargetImpressionShareLocationEnum_TOP_OF_PAGE TargetImpressionShareLocationEnum_TargetImpressionShareLocation = 3 - // Top slot in the top box of ads. - TargetImpressionShareLocationEnum_ABSOLUTE_TOP_OF_PAGE TargetImpressionShareLocationEnum_TargetImpressionShareLocation = 4 -) - -var TargetImpressionShareLocationEnum_TargetImpressionShareLocation_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "ANYWHERE_ON_PAGE", - 3: "TOP_OF_PAGE", - 4: "ABSOLUTE_TOP_OF_PAGE", -} - -var TargetImpressionShareLocationEnum_TargetImpressionShareLocation_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "ANYWHERE_ON_PAGE": 2, - "TOP_OF_PAGE": 3, - "ABSOLUTE_TOP_OF_PAGE": 4, -} - -func (x TargetImpressionShareLocationEnum_TargetImpressionShareLocation) String() string { - return proto.EnumName(TargetImpressionShareLocationEnum_TargetImpressionShareLocation_name, int32(x)) -} - -func (TargetImpressionShareLocationEnum_TargetImpressionShareLocation) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_99554193aed0500a, []int{0, 0} -} - -// Container for enum describing where on the first search results page the -// automated bidding system should target impressions for the -// TargetImpressionShare bidding strategy. -type TargetImpressionShareLocationEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TargetImpressionShareLocationEnum) Reset() { *m = TargetImpressionShareLocationEnum{} } -func (m *TargetImpressionShareLocationEnum) String() string { return proto.CompactTextString(m) } -func (*TargetImpressionShareLocationEnum) ProtoMessage() {} -func (*TargetImpressionShareLocationEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_99554193aed0500a, []int{0} -} - -func (m *TargetImpressionShareLocationEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TargetImpressionShareLocationEnum.Unmarshal(m, b) -} -func (m *TargetImpressionShareLocationEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TargetImpressionShareLocationEnum.Marshal(b, m, deterministic) -} -func (m *TargetImpressionShareLocationEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_TargetImpressionShareLocationEnum.Merge(m, src) -} -func (m *TargetImpressionShareLocationEnum) XXX_Size() int { - return xxx_messageInfo_TargetImpressionShareLocationEnum.Size(m) -} -func (m *TargetImpressionShareLocationEnum) XXX_DiscardUnknown() { - xxx_messageInfo_TargetImpressionShareLocationEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_TargetImpressionShareLocationEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.TargetImpressionShareLocationEnum_TargetImpressionShareLocation", TargetImpressionShareLocationEnum_TargetImpressionShareLocation_name, TargetImpressionShareLocationEnum_TargetImpressionShareLocation_value) - proto.RegisterType((*TargetImpressionShareLocationEnum)(nil), "google.ads.googleads.v2.enums.TargetImpressionShareLocationEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/target_impression_share_location.proto", fileDescriptor_99554193aed0500a) -} - -var fileDescriptor_99554193aed0500a = []byte{ - // 343 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xbd, 0x6a, 0xeb, 0x30, - 0x18, 0xbd, 0x76, 0x2e, 0xf7, 0x82, 0x32, 0xd4, 0x98, 0x0c, 0xa5, 0x34, 0x43, 0xf2, 0x00, 0x32, - 0xb8, 0x9b, 0x3a, 0xc9, 0x8d, 0x92, 0x86, 0x06, 0xdb, 0x34, 0x7f, 0xb4, 0x18, 0x84, 0x1a, 0x1b, - 0xd5, 0x10, 0x4b, 0xc6, 0x72, 0x32, 0xf6, 0x61, 0xda, 0xad, 0x8f, 0xd2, 0x47, 0xe9, 0x0b, 0x74, - 0x2d, 0x96, 0x12, 0xd3, 0xa5, 0x59, 0xc4, 0x41, 0xe7, 0x3b, 0xe7, 0x7c, 0x3f, 0x60, 0xc4, 0xa5, - 0xe4, 0xdb, 0xcc, 0x63, 0xa9, 0xf2, 0x0c, 0x6c, 0xd0, 0xde, 0xf7, 0x32, 0xb1, 0x2b, 0x94, 0x57, - 0xb3, 0x8a, 0x67, 0x35, 0xcd, 0x8b, 0xb2, 0xca, 0x94, 0xca, 0xa5, 0xa0, 0xea, 0x99, 0x55, 0x19, - 0xdd, 0xca, 0x0d, 0xab, 0x73, 0x29, 0x60, 0x59, 0xc9, 0x5a, 0xba, 0x7d, 0x23, 0x85, 0x2c, 0x55, - 0xb0, 0x75, 0x81, 0x7b, 0x1f, 0x6a, 0x97, 0x8b, 0xcb, 0x63, 0x48, 0x99, 0x7b, 0x4c, 0x08, 0x59, - 0x6b, 0xad, 0x32, 0xe2, 0xe1, 0x9b, 0x05, 0x06, 0x0b, 0x9d, 0x33, 0x6d, 0x63, 0xe6, 0x4d, 0xca, - 0xec, 0x10, 0x42, 0xc4, 0xae, 0x18, 0xbe, 0x80, 0xfe, 0xc9, 0x22, 0xf7, 0x0c, 0x74, 0x97, 0xe1, - 0x3c, 0x26, 0x37, 0xd3, 0xf1, 0x94, 0x8c, 0x9c, 0x3f, 0x6e, 0x17, 0xfc, 0x5f, 0x86, 0x77, 0x61, - 0xb4, 0x0e, 0x1d, 0xcb, 0xed, 0x01, 0x07, 0x87, 0x0f, 0xeb, 0x5b, 0x72, 0x4f, 0x68, 0x14, 0xd2, - 0x18, 0x4f, 0x88, 0x63, 0x37, 0x9a, 0x45, 0x14, 0xd3, 0x68, 0x6c, 0x3e, 0x3a, 0xee, 0x39, 0xe8, - 0xe1, 0x60, 0x1e, 0xcd, 0x96, 0x0b, 0x42, 0x7f, 0x32, 0x7f, 0x83, 0x2f, 0x0b, 0x0c, 0x36, 0xb2, - 0x80, 0x27, 0x27, 0x0d, 0x86, 0x27, 0x7b, 0x8c, 0x9b, 0x79, 0x63, 0xeb, 0x31, 0x38, 0x98, 0x70, - 0xb9, 0x65, 0x82, 0x43, 0x59, 0x71, 0x8f, 0x67, 0x42, 0x6f, 0xe3, 0x78, 0x84, 0x32, 0x57, 0xbf, - 0xdc, 0xe4, 0x5a, 0xbf, 0xaf, 0x76, 0x67, 0x82, 0xf1, 0xbb, 0xdd, 0x9f, 0x18, 0x2b, 0x9c, 0x2a, - 0x68, 0x60, 0x83, 0x56, 0x3e, 0x6c, 0x96, 0xa6, 0x3e, 0x8e, 0x7c, 0x82, 0x53, 0x95, 0xb4, 0x7c, - 0xb2, 0xf2, 0x13, 0xcd, 0x7f, 0xda, 0x03, 0xf3, 0x89, 0x10, 0x4e, 0x15, 0x42, 0x6d, 0x05, 0x42, - 0x2b, 0x1f, 0x21, 0x5d, 0xf3, 0xf4, 0x4f, 0x37, 0x76, 0xf5, 0x1d, 0x00, 0x00, 0xff, 0xff, 0xd8, - 0x74, 0x3c, 0x06, 0x2b, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/targeting_dimension.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/targeting_dimension.pb.go deleted file mode 100644 index f8c2f4b2..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/targeting_dimension.pb.go +++ /dev/null @@ -1,158 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/targeting_dimension.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_022a85399765aea5, []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_022a85399765aea5, []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 (m *TargetingDimensionEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_TargetingDimensionEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.TargetingDimensionEnum_TargetingDimension", TargetingDimensionEnum_TargetingDimension_name, TargetingDimensionEnum_TargetingDimension_value) - proto.RegisterType((*TargetingDimensionEnum)(nil), "google.ads.googleads.v2.enums.TargetingDimensionEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/targeting_dimension.proto", fileDescriptor_022a85399765aea5) -} - -var fileDescriptor_022a85399765aea5 = []byte{ - // 378 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xdf, 0xaa, 0xd3, 0x30, - 0x1c, 0xb6, 0x3d, 0x9e, 0x9d, 0xb3, 0x6c, 0xb2, 0x10, 0x41, 0x41, 0xdc, 0xc5, 0xf6, 0x00, 0x29, - 0xd4, 0x0b, 0x21, 0x5e, 0x65, 0x6d, 0x2c, 0x65, 0x5b, 0x5a, 0xba, 0x76, 0x43, 0x29, 0x8c, 0x6a, - 0x4b, 0x28, 0xac, 0xc9, 0x58, 0xba, 0x3d, 0x90, 0x77, 0xfa, 0x1c, 0x5e, 0xf9, 0x28, 0xe2, 0x43, - 0x48, 0x5b, 0xbb, 0x9b, 0xe1, 0xb9, 0x09, 0xdf, 0x2f, 0xdf, 0x1f, 0x92, 0xef, 0x07, 0xde, 0x0b, - 0xa5, 0xc4, 0xa1, 0xb0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e, 0xfe, 0x18, 0x60, 0xf6, 0x55, 0x55, - 0xf8, 0xc9, 0x2a, 0x16, 0xaf, 0x6f, 0xbf, 0x13, 0x36, 0x2d, 0x84, 0xc6, 0xe7, 0xc5, 0x3f, 0xa7, - 0x50, 0x87, 0x4c, 0x0a, 0xac, 0x4e, 0xc2, 0x12, 0x85, 0x6c, 0x3b, 0xea, 0xb7, 0x71, 0x2c, 0xf5, - 0x7f, 0x96, 0xf3, 0xa1, 0x3d, 0xbf, 0x99, 0x77, 0x1e, 0xa5, 0x3f, 0xcc, 0xa9, 0xd7, 0x45, 0xd1, - 0x5c, 0xe3, 0x0e, 0x36, 0x68, 0x6b, 0xe3, 0xa6, 0x55, 0xfd, 0xab, 0xe7, 0x53, 0x9a, 0xeb, 0xf4, - 0xca, 0xa7, 0x5b, 0x3b, 0x6d, 0xf9, 0xdf, 0xe6, 0xac, 0xbb, 0x24, 0x84, 0xe6, 0x9a, 0x90, 0xab, - 0x82, 0x90, 0xad, 0x4d, 0x48, 0xab, 0xf9, 0x32, 0x68, 0x1f, 0xf6, 0xee, 0x6f, 0x00, 0x00, 0x00, - 0xff, 0xff, 0x7a, 0xa5, 0x32, 0x37, 0x34, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/time_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/time_type.pb.go deleted file mode 100644 index e7f3326a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/time_type.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/time_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_e72f15c04c2348fd, []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_e72f15c04c2348fd, []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 (m *TimeTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_TimeTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.TimeTypeEnum_TimeType", TimeTypeEnum_TimeType_name, TimeTypeEnum_TimeType_value) - proto.RegisterType((*TimeTypeEnum)(nil), "google.ads.googleads.v2.enums.TimeTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/time_type.proto", fileDescriptor_e72f15c04c2348fd) -} - -var fileDescriptor_e72f15c04c2348fd = []byte{ - // 294 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xc3, 0x30, - 0x18, 0xc7, 0x6d, 0x0b, 0x4e, 0x32, 0xc5, 0xd2, 0xa3, 0xb8, 0xc3, 0x76, 0x37, 0x81, 0x7a, 0x8b, - 0x20, 0xb4, 0xda, 0x8d, 0x21, 0xa4, 0x65, 0x6e, 0x1d, 0x48, 0x41, 0xaa, 0x0d, 0xa1, 0xb0, 0x26, - 0x65, 0xe9, 0x06, 0x7b, 0x1d, 0x8f, 0x3e, 0x8a, 0x8f, 0xe1, 0xd1, 0xa7, 0x90, 0x24, 0xa6, 0x37, - 0x77, 0x09, 0xff, 0x7c, 0xff, 0x5f, 0xbe, 0xfc, 0xbf, 0x0f, 0xdc, 0x30, 0x21, 0xd8, 0x86, 0xa2, - 0xb2, 0x92, 0xc8, 0x48, 0xa5, 0xf6, 0x21, 0xa2, 0x7c, 0xd7, 0x48, 0xd4, 0xd5, 0x0d, 0x7d, 0xed, - 0x0e, 0x2d, 0x85, 0xed, 0x56, 0x74, 0x22, 0x18, 0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 0x6e, - 0x0a, 0x9a, 0xa9, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/tracking_code_page_format.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/tracking_code_page_format.pb.go deleted file mode 100644 index ab1de4cd..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/tracking_code_page_format.pb.go +++ /dev/null @@ -1,126 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/tracking_code_page_format.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_6aee891eef5960cc, []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_6aee891eef5960cc, []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 (m *TrackingCodePageFormatEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_TrackingCodePageFormatEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.TrackingCodePageFormatEnum_TrackingCodePageFormat", TrackingCodePageFormatEnum_TrackingCodePageFormat_name, TrackingCodePageFormatEnum_TrackingCodePageFormat_value) - proto.RegisterType((*TrackingCodePageFormatEnum)(nil), "google.ads.googleads.v2.enums.TrackingCodePageFormatEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/tracking_code_page_format.proto", fileDescriptor_6aee891eef5960cc) -} - -var fileDescriptor_6aee891eef5960cc = []byte{ - // 312 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4e, 0xc2, 0x30, - 0x18, 0xc7, 0x65, 0x18, 0x31, 0xe5, 0xe0, 0xb2, 0x83, 0x07, 0x94, 0x03, 0x3c, 0x40, 0x9b, 0xcc, - 0x5b, 0x8d, 0x87, 0x82, 0x80, 0x44, 0x99, 0x4b, 0x04, 0x4c, 0xcc, 0x12, 0x52, 0x69, 0x6d, 0x16, - 0x59, 0xbf, 0x65, 0x1d, 0x3c, 0x90, 0x47, 0x1f, 0xc5, 0x47, 0xf1, 0xe4, 0x23, 0x98, 0xb5, 0xc0, - 0x09, 0xbd, 0x2c, 0xff, 0xec, 0xff, 0xfd, 0xfe, 0xfd, 0x7f, 0x1f, 0xba, 0x51, 0x00, 0x6a, 0x25, - 0x09, 0x17, 0x86, 0x38, 0x59, 0xa9, 0x4d, 0x48, 0xa4, 0x5e, 0x67, 0x86, 0x94, 0x05, 0x5f, 0xbe, - 0xa7, 0x5a, 0x2d, 0x96, 0x20, 0xe4, 0x22, 0xe7, 0x4a, 0x2e, 0xde, 0xa0, 0xc8, 0x78, 0x89, 0xf3, - 0x02, 0x4a, 0x08, 0xda, 0x8e, 0xc1, 0x5c, 0x18, 0xbc, 0xc7, 0xf1, 0x26, 0xc4, 0x16, 0x6f, 0x5d, - 0xee, 0xd2, 0xf3, 0x94, 0x70, 0xad, 0xa1, 0xe4, 0x65, 0x0a, 0xda, 0x38, 0xb8, 0xab, 0x50, 0x6b, - 0xba, 0xcd, 0xef, 0x83, 0x90, 0x31, 0x57, 0x72, 0x68, 0xc3, 0x07, 0x7a, 0x9d, 0x75, 0xc7, 0xe8, - 0xfc, 0xb0, 0x1b, 0x9c, 0xa1, 0xe6, 0x2c, 0x7a, 0x8a, 0x07, 0xfd, 0xf1, 0x70, 0x3c, 0xb8, 0xf5, - 0x8f, 0x82, 0x26, 0x6a, 0xcc, 0xa2, 0xfb, 0xe8, 0xf1, 0x39, 0xf2, 0x6b, 0xc1, 0x29, 0x3a, 0xbe, - 0x9b, 0x4e, 0x1e, 0x7c, 0x2f, 0x68, 0xa0, 0x3a, 0x9b, 0xc4, 0x7e, 0xbd, 0xf7, 0x53, 0x43, 0x9d, - 0x25, 0x64, 0xf8, 0xdf, 0xb2, 0xbd, 0x8b, 0xc3, 0xcf, 0xc5, 0x55, 0xd7, 0xb8, 0xf6, 0xd2, 0xdb, - 0xd2, 0x0a, 0x56, 0x5c, 0x2b, 0x0c, 0x85, 0x22, 0x4a, 0x6a, 0xbb, 0xc9, 0xee, 0x72, 0x79, 0x6a, - 0xfe, 0x38, 0xe4, 0xb5, 0xfd, 0x7e, 0x78, 0xf5, 0x11, 0x63, 0x9f, 0x5e, 0x7b, 0xe4, 0xa2, 0x98, - 0x30, 0xd8, 0xc9, 0x4a, 0xcd, 0x43, 0x5c, 0x2d, 0x6e, 0xbe, 0x76, 0x7e, 0xc2, 0x84, 0x49, 0xf6, - 0x7e, 0x32, 0x0f, 0x13, 0xeb, 0x7f, 0x7b, 0x1d, 0xf7, 0x93, 0x52, 0x26, 0x0c, 0xa5, 0xfb, 0x09, - 0x4a, 0xe7, 0x21, 0xa5, 0x76, 0xe6, 0xf5, 0xc4, 0x16, 0xbb, 0xfa, 0x0d, 0x00, 0x00, 0xff, 0xff, - 0xc9, 0x3a, 0xd9, 0xca, 0xe0, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/tracking_code_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/tracking_code_type.pb.go deleted file mode 100644 index 1558cb49..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/tracking_code_type.pb.go +++ /dev/null @@ -1,139 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/tracking_code_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // The snippet that is used to replace the phone number on your website with - // a Google forwarding number for call tracking purposes. - TrackingCodeTypeEnum_WEBSITE_CALL TrackingCodeTypeEnum_TrackingCodeType = 5 -) - -var TrackingCodeTypeEnum_TrackingCodeType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "WEBPAGE", - 3: "WEBPAGE_ONCLICK", - 4: "CLICK_TO_CALL", - 5: "WEBSITE_CALL", -} - -var TrackingCodeTypeEnum_TrackingCodeType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "WEBPAGE": 2, - "WEBPAGE_ONCLICK": 3, - "CLICK_TO_CALL": 4, - "WEBSITE_CALL": 5, -} - -func (x TrackingCodeTypeEnum_TrackingCodeType) String() string { - return proto.EnumName(TrackingCodeTypeEnum_TrackingCodeType_name, int32(x)) -} - -func (TrackingCodeTypeEnum_TrackingCodeType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bc3aa75f0cf51f59, []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_bc3aa75f0cf51f59, []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 (m *TrackingCodeTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_TrackingCodeTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.TrackingCodeTypeEnum_TrackingCodeType", TrackingCodeTypeEnum_TrackingCodeType_name, TrackingCodeTypeEnum_TrackingCodeType_value) - proto.RegisterType((*TrackingCodeTypeEnum)(nil), "google.ads.googleads.v2.enums.TrackingCodeTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/tracking_code_type.proto", fileDescriptor_bc3aa75f0cf51f59) -} - -var fileDescriptor_bc3aa75f0cf51f59 = []byte{ - // 340 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xd1, 0x4a, 0xf3, 0x30, - 0x18, 0xfd, 0xdb, 0xfd, 0x2a, 0x64, 0xca, 0x6a, 0xd5, 0x1b, 0x71, 0x17, 0xdb, 0x03, 0xa4, 0x50, - 0xc1, 0x8b, 0x78, 0xd5, 0xd6, 0x38, 0xca, 0x46, 0x57, 0x58, 0xb7, 0x81, 0x14, 0x4a, 0x5d, 0x42, - 0x28, 0x6e, 0x49, 0x59, 0xba, 0xc9, 0x9e, 0xc2, 0x77, 0xf0, 0xd2, 0x47, 0xf1, 0x51, 0xf6, 0x14, - 0xd2, 0x64, 0xdb, 0xc5, 0x40, 0x6f, 0xc2, 0xc9, 0xf7, 0x9d, 0x73, 0xf8, 0xce, 0x01, 0x0f, 0x4c, - 0x08, 0x36, 0xa7, 0x4e, 0x4e, 0xa4, 0xa3, 0x61, 0x8d, 0xd6, 0xae, 0x43, 0xf9, 0x6a, 0x21, 0x9d, - 0x6a, 0x99, 0xcf, 0xde, 0x0a, 0xce, 0xb2, 0x99, 0x20, 0x34, 0xab, 0x36, 0x25, 0x85, 0xe5, 0x52, - 0x54, 0xc2, 0x6e, 0x6b, 0x32, 0xcc, 0x89, 0x84, 0x07, 0x1d, 0x5c, 0xbb, 0x50, 0xe9, 0x6e, 0xef, - 0xf6, 0xb6, 0x65, 0xe1, 0xe4, 0x9c, 0x8b, 0x2a, 0xaf, 0x0a, 0x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, 0xbc, 0x9e, 0xaa, 0xc3, 0xee, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xf1, 0xf8, 0x40, 0x53, - 0xfc, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/travel_placeholder_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/travel_placeholder_field.pb.go deleted file mode 100644 index 6fd62615..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/travel_placeholder_field.pb.go +++ /dev/null @@ -1,233 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/travel_placeholder_field.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_d1eb982369102854, []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_d1eb982369102854, []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 (m *TravelPlaceholderFieldEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_TravelPlaceholderFieldEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.TravelPlaceholderFieldEnum_TravelPlaceholderField", TravelPlaceholderFieldEnum_TravelPlaceholderField_name, TravelPlaceholderFieldEnum_TravelPlaceholderField_value) - proto.RegisterType((*TravelPlaceholderFieldEnum)(nil), "google.ads.googleads.v2.enums.TravelPlaceholderFieldEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/travel_placeholder_field.proto", fileDescriptor_d1eb982369102854) -} - -var fileDescriptor_d1eb982369102854 = []byte{ - // 524 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0xdd, 0x6e, 0xd3, 0x30, - 0x14, 0x66, 0x2d, 0xfb, 0x73, 0xbb, 0xd6, 0x73, 0x3b, 0x86, 0x36, 0x76, 0xb1, 0x3d, 0x40, 0x22, - 0x95, 0xbb, 0xc0, 0x8d, 0xdb, 0xb8, 0x91, 0xd5, 0xd4, 0x89, 0x6c, 0xb7, 0x63, 0xa8, 0x52, 0x14, - 0x96, 0x10, 0x2a, 0xa5, 0x49, 0xd5, 0x74, 0x7d, 0x20, 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 0xf0, 0x90, 0xc0, - 0x43, 0x75, 0xc2, 0x9a, 0xaf, 0x07, 0x47, 0x4a, 0xe1, 0x73, 0xda, 0x23, 0xf0, 0x18, 0xb5, 0x40, - 0xb3, 0xef, 0xf1, 0x21, 0x96, 0x92, 0xd8, 0x41, 0x39, 0x3c, 0x41, 0x0d, 0x00, 0x04, 0x76, 0xc9, - 0xba, 0x3f, 0x45, 0xaf, 0x41, 0x7b, 0x47, 0xda, 0x43, 0x80, 0x5a, 0x85, 0x0e, 0xb1, 0x43, 0x82, - 0x11, 0x77, 0x61, 0x0d, 0xd5, 0xc1, 0x49, 0x0f, 0x4b, 0xe2, 0x78, 0xfc, 0x01, 0xd6, 0xd1, 0x25, - 0x68, 0xf5, 0x3c, 0x26, 0xc9, 0x07, 0x39, 0xc2, 0x6e, 0x30, 0x20, 0x0f, 0xf7, 0x1e, 0xb7, 0x05, - 0x3c, 0x53, 0xc0, 0xfe, 0x9a, 0xd8, 0xb6, 0x39, 0x11, 0x02, 0x36, 0x94, 0x5d, 0x9f, 0x32, 0xec, - 0x6a, 0xbb, 0x26, 0xba, 0x00, 0xe7, 0x65, 0x3b, 0xf4, 0xba, 0xd4, 0xd5, 0x87, 0x08, 0x08, 0x11, - 0x04, 0x75, 0xc9, 0x71, 0x6f, 0x40, 0x99, 0xa3, 0x89, 0xe7, 0xea, 0xbf, 0x31, 0xb3, 0xb9, 0x47, - 0xed, 0x00, 0xfb, 0x7e, 0xe0, 0x52, 0x36, 0x80, 0x08, 0x5d, 0x83, 0x4b, 0x41, 0x87, 0xd4, 0xc5, - 0x3c, 0xf8, 0xfb, 0x0e, 0x05, 0x6c, 0x29, 0x13, 0xea, 0x89, 0x1d, 0xbd, 0xad, 0x4c, 0x36, 0x13, - 0x21, 0x3d, 0x4e, 0xd4, 0xed, 0x5e, 0x74, 0x7f, 0x1f, 0x80, 0xdb, 0xc7, 0x7c, 0x66, 0xfc, 0x37, - 0x1c, 0xdd, 0xeb, 0xe7, 0x1f, 0xd7, 0x57, 0xd9, 0xf0, 0x0f, 0x3e, 0x76, 0xd7, 0xea, 0x24, 0x4f, - 0xc3, 0x2c, 0x31, 0xf2, 0x45, 0x62, 0x26, 0x71, 0xa6, 0x93, 0xb3, 0x09, 0xea, 0x7c, 0x5a, 0xfc, - 0x23, 0xb7, 0xef, 0xf4, 0xf7, 0x6b, 0xa5, 0xea, 0x60, 0xfc, 0xad, 0x72, 0xe3, 0x94, 0x56, 0x38, - 0x2a, 0x8c, 0xb2, 0x54, 0xd5, 0xb8, 0x63, 0xa8, 0x9c, 0x15, 0x3f, 0x36, 0xf8, 0x04, 0x47, 0xc5, - 0x64, 0x8b, 0x4f, 0xc6, 0x9d, 0x89, 0xc6, 0x7f, 0x55, 0x6e, 0xcb, 0xa1, 0x65, 0xe1, 0xa8, 0xb0, - 0xac, 0x2d, 0xc3, 0xb2, 0xc6, 0x1d, 0xcb, 0xd2, 0x9c, 0x4f, 0x47, 0x7a, 0xb1, 0xb7, 0x7f, 0x02, - 0x00, 0x00, 0xff, 0xff, 0xc8, 0xa2, 0x96, 0x9e, 0x4f, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_interest_taxonomy_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_interest_taxonomy_type.pb.go deleted file mode 100644 index 55b3be40..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_interest_taxonomy_type.pb.go +++ /dev/null @@ -1,141 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/user_interest_taxonomy_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_bc21a40aaefa1980, []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_bc21a40aaefa1980, []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 (m *UserInterestTaxonomyTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserInterestTaxonomyTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.UserInterestTaxonomyTypeEnum_UserInterestTaxonomyType", UserInterestTaxonomyTypeEnum_UserInterestTaxonomyType_name, UserInterestTaxonomyTypeEnum_UserInterestTaxonomyType_value) - proto.RegisterType((*UserInterestTaxonomyTypeEnum)(nil), "google.ads.googleads.v2.enums.UserInterestTaxonomyTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/user_interest_taxonomy_type.proto", fileDescriptor_bc21a40aaefa1980) -} - -var fileDescriptor_bc21a40aaefa1980 = []byte{ - // 387 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xcf, 0x8a, 0xd4, 0x30, - 0x1c, 0xb6, 0xb3, 0xba, 0x6a, 0x76, 0xc5, 0x12, 0x04, 0x17, 0xdd, 0x39, 0xec, 0x3e, 0x40, 0x0a, - 0xf5, 0x16, 0x0f, 0x92, 0xae, 0x99, 0x31, 0x6c, 0x27, 0x2d, 0xfd, 0xb7, 0x28, 0x85, 0x50, 0x6d, - 0x28, 0x85, 0x6d, 0x52, 0x9a, 0xce, 0xe0, 0xbc, 0x8c, 0x07, 0x8f, 0xbe, 0x84, 0x77, 0x1f, 0xc5, - 0xa3, 0x4f, 0x20, 0x6d, 0x67, 0xe6, 0x36, 0x7b, 0x09, 0x1f, 0xf9, 0xfe, 0xfc, 0x92, 0xef, 0x07, - 0x3e, 0x54, 0x5a, 0x57, 0xf7, 0xd2, 0x29, 0x4a, 0xe3, 0x4c, 0x70, 0x40, 0x1b, 0xd7, 0x91, 0x6a, - 0xdd, 0x18, 0x67, 0x6d, 0x64, 0x27, 0x6a, 0xd5, 0xcb, 0x4e, 0x9a, 0x5e, 0xf4, 0xc5, 0x77, 0xad, - 0x74, 0xb3, 0x15, 0xfd, 0xb6, 0x95, 0xa8, 0xed, 0x74, 0xaf, 0xe1, 0x7c, 0x72, 0xa1, 0xa2, 0x34, - 0xe8, 0x10, 0x80, 0x36, 0x2e, 0x1a, 0x03, 0xde, 0x5c, 0xee, 0xf3, 0xdb, 0xda, 0x29, 0x94, 0xd2, - 0x7d, 0xd1, 0xd7, 0x5a,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4a, 0x83, 0x26, 0x38, 0xa0, 0xcc, 0x45, - 0x43, 0xa1, 0xe6, 0xcf, 0x9e, 0xcf, 0x49, 0x69, 0xf2, 0x03, 0x9f, 0x67, 0x6e, 0x3e, 0xf2, 0x7f, - 0x67, 0x57, 0xd3, 0x25, 0xc6, 0xa4, 0x34, 0x18, 0x1f, 0x14, 0x18, 0x67, 0x2e, 0xc6, 0xa3, 0xe6, - 0xeb, 0xe9, 0xf8, 0xb0, 0x77, 0xff, 0x03, 0x00, 0x00, 0xff, 0xff, 0x6d, 0xc5, 0xfd, 0xef, 0x3d, - 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_access_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_access_status.pb.go deleted file mode 100644 index 56495727..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_access_status.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/user_list_access_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_1564d7bb66635f97, []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_1564d7bb66635f97, []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 (m *UserListAccessStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListAccessStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.UserListAccessStatusEnum_UserListAccessStatus", UserListAccessStatusEnum_UserListAccessStatus_name, UserListAccessStatusEnum_UserListAccessStatus_value) - proto.RegisterType((*UserListAccessStatusEnum)(nil), "google.ads.googleads.v2.enums.UserListAccessStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/user_list_access_status.proto", fileDescriptor_1564d7bb66635f97) -} - -var fileDescriptor_1564d7bb66635f97 = []byte{ - // 311 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x41, 0x6a, 0xeb, 0x30, - 0x10, 0xfd, 0x71, 0xe0, 0xb7, 0x28, 0x85, 0x06, 0xd3, 0x45, 0x5b, 0x9a, 0x45, 0x72, 0x00, 0x09, - 0xdc, 0x9d, 0xb2, 0x92, 0x1b, 0x37, 0x84, 0x06, 0x27, 0x10, 0x92, 0x42, 0x31, 0x04, 0x35, 0x16, - 0xc2, 0x34, 0x96, 0x8c, 0x47, 0xce, 0x81, 0xba, 0xec, 0x51, 0x7a, 0x94, 0x2e, 0x7a, 0x86, 0x62, - 0x29, 0xf6, 0x2a, 0xed, 0x46, 0xbc, 0xd1, 0x9b, 0xf7, 0xe6, 0xcd, 0xa0, 0xb1, 0xd4, 0x5a, 0xee, - 0x05, 0xe1, 0x29, 0x10, 0x07, 0x6b, 0x74, 0x08, 0x88, 0x50, 0x55, 0x0e, 0xa4, 0x02, 0x51, 0x6e, - 0xf7, 0x19, 0x98, 0x2d, 0xdf, 0xed, 0x04, 0xc0, 0x16, 0x0c, 0x37, 0x15, 0xe0, 0xa2, 0xd4, 0x46, - 0xfb, 0x03, 0xa7, 0xc0, 0x3c, 0x05, 0xdc, 0x8a, 0xf1, 0x21, 0xc0, 0x56, 0x7c, 0x7b, 0xd7, 0x78, - 0x17, 0x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a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_closing_reason.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_closing_reason.pb.go deleted file mode 100644 index a3308e85..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_closing_reason.pb.go +++ /dev/null @@ -1,120 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/user_list_closing_reason.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_fc89e9fe575740ad, []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_fc89e9fe575740ad, []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 (m *UserListClosingReasonEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListClosingReasonEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.UserListClosingReasonEnum_UserListClosingReason", UserListClosingReasonEnum_UserListClosingReason_name, UserListClosingReasonEnum_UserListClosingReason_value) - proto.RegisterType((*UserListClosingReasonEnum)(nil), "google.ads.googleads.v2.enums.UserListClosingReasonEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/user_list_closing_reason.proto", fileDescriptor_fc89e9fe575740ad) -} - -var fileDescriptor_fc89e9fe575740ad = []byte{ - // 302 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x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0x8b, 0xa1, 0x37, 0xfb, 0xee, 0xa1, 0xc9, 0xde, 0xe4, 0xf8, 0xdf, 0x8e, 0xb3, 0xd1, 0xd1, 0x67, - 0xd6, 0x4d, 0xc3, 0x75, 0xef, 0x65, 0xf6, 0x0b, 0x4b, 0x93, 0x71, 0x2d, 0xb1, 0x29, 0x25, 0x91, - 0x42, 0xdb, 0xfe, 0xed, 0xba, 0x0a, 0x05, 0x7f, 0x6c, 0xef, 0xc6, 0x9e, 0xef, 0xde, 0xe9, 0x92, - 0xb1, 0x0f, 0x6f, 0xbc, 0x74, 0x51, 0x2c, 0x05, 0xec, 0x64, 0xa3, 0xb6, 0x01, 0x6e, 0xfe, 0x0b, - 0x9f, 0xad, 0x9f, 0xb0, 0x14, 0x92, 0xce, 0x4f, 0xb6, 0x41, 0x62, 0xfd, 0x2f, 0x6f, 0xe2, 0x2e, - 0x29, 0x65, 0x29, 0x50, 0xda, 0x4d, 0x50, 0xba, 0x0d, 0x28, 0xb5, 0x33, 0x6f, 0x7d, 0x5b, 0xec, - 0xfa, 0x27, 0x00, 0x00, 0xff, 0xff, 0x5e, 0xa0, 0x78, 0xc1, 0xd5, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_combined_rule_operator.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_combined_rule_operator.pb.go deleted file mode 100644 index f03a8cd1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_combined_rule_operator.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/user_list_combined_rule_operator.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible user list combined rule operators. -type UserListCombinedRuleOperatorEnum_UserListCombinedRuleOperator int32 - -const ( - // Not specified. - UserListCombinedRuleOperatorEnum_UNSPECIFIED UserListCombinedRuleOperatorEnum_UserListCombinedRuleOperator = 0 - // Used for return value only. Represents value unknown in this version. - UserListCombinedRuleOperatorEnum_UNKNOWN UserListCombinedRuleOperatorEnum_UserListCombinedRuleOperator = 1 - // A AND B. - UserListCombinedRuleOperatorEnum_AND UserListCombinedRuleOperatorEnum_UserListCombinedRuleOperator = 2 - // A AND NOT B. - UserListCombinedRuleOperatorEnum_AND_NOT UserListCombinedRuleOperatorEnum_UserListCombinedRuleOperator = 3 -) - -var UserListCombinedRuleOperatorEnum_UserListCombinedRuleOperator_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "AND", - 3: "AND_NOT", -} - -var UserListCombinedRuleOperatorEnum_UserListCombinedRuleOperator_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "AND": 2, - "AND_NOT": 3, -} - -func (x UserListCombinedRuleOperatorEnum_UserListCombinedRuleOperator) String() string { - return proto.EnumName(UserListCombinedRuleOperatorEnum_UserListCombinedRuleOperator_name, int32(x)) -} - -func (UserListCombinedRuleOperatorEnum_UserListCombinedRuleOperator) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_81e2757092ab7301, []int{0, 0} -} - -// Logical operator connecting two rules. -type UserListCombinedRuleOperatorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserListCombinedRuleOperatorEnum) Reset() { *m = UserListCombinedRuleOperatorEnum{} } -func (m *UserListCombinedRuleOperatorEnum) String() string { return proto.CompactTextString(m) } -func (*UserListCombinedRuleOperatorEnum) ProtoMessage() {} -func (*UserListCombinedRuleOperatorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_81e2757092ab7301, []int{0} -} - -func (m *UserListCombinedRuleOperatorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserListCombinedRuleOperatorEnum.Unmarshal(m, b) -} -func (m *UserListCombinedRuleOperatorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserListCombinedRuleOperatorEnum.Marshal(b, m, deterministic) -} -func (m *UserListCombinedRuleOperatorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListCombinedRuleOperatorEnum.Merge(m, src) -} -func (m *UserListCombinedRuleOperatorEnum) XXX_Size() int { - return xxx_messageInfo_UserListCombinedRuleOperatorEnum.Size(m) -} -func (m *UserListCombinedRuleOperatorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_UserListCombinedRuleOperatorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_UserListCombinedRuleOperatorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.UserListCombinedRuleOperatorEnum_UserListCombinedRuleOperator", UserListCombinedRuleOperatorEnum_UserListCombinedRuleOperator_name, UserListCombinedRuleOperatorEnum_UserListCombinedRuleOperator_value) - proto.RegisterType((*UserListCombinedRuleOperatorEnum)(nil), "google.ads.googleads.v2.enums.UserListCombinedRuleOperatorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/user_list_combined_rule_operator.proto", fileDescriptor_81e2757092ab7301) -} - -var fileDescriptor_81e2757092ab7301 = []byte{ - // 318 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xc1, 0x6a, 0xea, 0x40, - 0x14, 0x7d, 0x46, 0x78, 0xc2, 0xb8, 0x68, 0xc8, 0xb2, 0x28, 0x54, 0x3f, 0x60, 0x02, 0xe9, 0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 0x39, 0x42, 0x49, 0x3b, 0x77, 0x9f, 0x4d, 0xba, 0x72, 0x37, - 0xed, 0x01, 0x9b, 0xde, 0xfb, 0xec, 0xec, 0x91, 0x41, 0x91, 0xa8, 0x8c, 0x82, 0xce, 0xfc, 0x4c, - 0x2a, 0x73, 0xde, 0xa5, 0xd5, 0x2a, 0xc7, 0x3f, 0x4a, 0x7e, 0x30, 0xef, 0x87, 0xd3, 0x5f, 0x72, - 0xfe, 0xe9, 0x8c, 0x97, 0xd6, 0x8a, 0xa7, 0x48, 0x2d, 0x6c, 0xd1, 0x3e, 0xa0, 0x6d, 0x0f, 0xf8, - 0x75, 0xe1, 0x23, 0x9e, 0x62, 0x74, 0xe5, 0xa3, 0x7d, 0x10, 0x19, 0xfe, 0xdb, 0x99, 0xd8, 0x4f, - 0xc6, 0x78, 0x8a, 0x8c, 0x5d, 0x15, 0x8c, 0xed, 0x03, 0xc6, 0x8c, 0xe6, 0xf0, 0xdf, 0x2c, 0x76, - 0xff, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x30, 0xf7, 0xea, 0x64, 0xfc, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_crm_data_source_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_crm_data_source_type.pb.go deleted file mode 100644 index 5e184823..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_crm_data_source_type.pb.go +++ /dev/null @@ -1,131 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/user_list_crm_data_source_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_23ec3967d6ce16a1, []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_23ec3967d6ce16a1, []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 (m *UserListCrmDataSourceTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListCrmDataSourceTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.UserListCrmDataSourceTypeEnum_UserListCrmDataSourceType", UserListCrmDataSourceTypeEnum_UserListCrmDataSourceType_name, UserListCrmDataSourceTypeEnum_UserListCrmDataSourceType_value) - proto.RegisterType((*UserListCrmDataSourceTypeEnum)(nil), "google.ads.googleads.v2.enums.UserListCrmDataSourceTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/user_list_crm_data_source_type.proto", fileDescriptor_23ec3967d6ce16a1) -} - -var fileDescriptor_23ec3967d6ce16a1 = []byte{ - // 362 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xc1, 0x6a, 0xab, 0x40, - 0x14, 0x7d, 0x9a, 0x47, 0x0b, 0x93, 0x45, 0xc5, 0x45, 0x21, 0xa1, 0x16, 0x92, 0x0f, 0x18, 0xc1, - 0xee, 0xa6, 0x2b, 0x8d, 0x26, 0x95, 0x06, 0x23, 0x46, 0x2d, 0x2d, 0xc2, 0x30, 0x8d, 0x83, 0x08, - 0xd1, 0x11, 0x67, 0x0c, 0xe4, 0x03, 0xfa, 0x23, 0xdd, 0x14, 0xfa, 0x29, 0xfd, 0x94, 0x6e, 0xfb, - 0x03, 0x45, 0x6d, 0x42, 0x37, 0xe9, 0x66, 0x38, 0xcc, 0x39, 0xf7, 0xdc, 0x7b, 0xcf, 0x05, 0x56, - 0xc6, 0x58, 0xb6, 0xa5, 0x3a, 0x49, 0xb9, 0xde, 0xc3, 0x16, 0xed, 0x0c, 0x9d, 0x96, 0x4d, 0xc1, - 0xf5, 0x86, 0xd3, 0x1a, 0x6f, 0x73, 0x2e, 0xf0, 0xa6, 0x2e, 0x70, 0x4a, 0x04, 0xc1, 0x9c, 0x35, - 0xf5, 0x86, 0x62, 0xb1, 0xaf, 0x28, 0xac, 0x6a, 0x26, 0x98, 0xaa, 0xf5, 0x85, 0x90, 0xa4, 0x1c, - 0x1e, 0x3d, 0xe0, 0xce, 0x80, 0x9d, 0xc7, 0xf8, 0xea, 0xd0, 0xa2, 0xca, 0x75, 0x52, 0x96, 0x4c, - 0x10, 0x91, 0xb3, 0x92, 0xf7, 0xc5, 0xd3, 0x37, 0x09, 0x68, 0x11, 0xa7, 0xf5, 0x32, 0xe7, 0x62, - 0x56, 0x17, 0x36, 0x11, 0x64, 0xdd, 0x75, 0x08, 0xf7, 0x15, 0x75, 0xca, 0xa6, 0x98, 0xbe, 0x48, - 0x60, 0x74, 0x52, 0xa1, 0x5e, 0x80, 0x61, 0xe4, 0xad, 0x7d, 0x67, 0xe6, 0xce, 0x5d, 0xc7, 0x56, - 0xfe, 0xa9, 0x43, 0x70, 0x1e, 0x79, 0xf7, 0xde, 0xea, 0xc1, 0x53, 0xa4, 0x96, 0x9d, 0xbb, 0xc1, - 0x3a, 0xc4, 0xbe, 0x19, 0x84, 0x8f, 0x8a, 0xac, 0x6a, 0x60, 0x14, 0xde, 0xb9, 0x81, 0xdd, 0x7f, - 0xe0, 0x59, 0xe0, 0xd8, 0x6e, 0x88, 0xad, 0x28, 0x70, 0xcc, 0x48, 0x19, 0xa8, 0x63, 0x70, 0xf9, - 0x9b, 0x8e, 0x57, 0xa1, 0x13, 0xe0, 0xb9, 0xbb, 0x74, 0x94, 0xff, 0xd6, 0x97, 0x04, 0x26, 0x1b, - 0x56, 0xc0, 0x3f, 0xb7, 0xb5, 0xae, 0x4f, 0x8e, 0xea, 0xb7, 0xfb, 0xfa, 0xd2, 0xd3, 0x4f, 0xe4, - 0x30, 0x63, 0x5b, 0x52, 0x66, 0x90, 0xd5, 0x99, 0x9e, 0xd1, 0xb2, 0x4b, 0xe3, 0x70, 0x82, 0x2a, - 0xe7, 0x27, 0x2e, 0x72, 0xdb, 0xbd, 0xaf, 0xf2, 0x60, 0x61, 0x9a, 0xef, 0xb2, 0xb6, 0xe8, 0xad, - 0xcc, 0x94, 0xc3, 0x1e, 0xb6, 0x28, 0x36, 0x60, 0x1b, 0x1c, 0xff, 0x38, 0xf0, 0x89, 0x99, 0xf2, - 0xe4, 0xc8, 0x27, 0xb1, 0x91, 0x74, 0xfc, 0xa7, 0x3c, 0xe9, 0x3f, 0x11, 0x32, 0x53, 0x8e, 0xd0, - 0x51, 0x81, 0x50, 0x6c, 0x20, 0xd4, 0x69, 0x9e, 0xcf, 0xba, 0xc1, 0x6e, 0xbe, 0x03, 0x00, 0x00, - 0xff, 0xff, 0xdf, 0xd8, 0x79, 0xb4, 0x29, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_date_rule_item_operator.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_date_rule_item_operator.pb.go deleted file mode 100644 index df3d9a65..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_date_rule_item_operator.pb.go +++ /dev/null @@ -1,134 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/user_list_date_rule_item_operator.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible user list date rule item operators. -type UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator int32 - -const ( - // Not specified. - UserListDateRuleItemOperatorEnum_UNSPECIFIED UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator = 0 - // Used for return value only. Represents value unknown in this version. - UserListDateRuleItemOperatorEnum_UNKNOWN UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator = 1 - // Equals. - UserListDateRuleItemOperatorEnum_EQUALS UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator = 2 - // Not Equals. - UserListDateRuleItemOperatorEnum_NOT_EQUALS UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator = 3 - // Before. - UserListDateRuleItemOperatorEnum_BEFORE UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator = 4 - // After. - UserListDateRuleItemOperatorEnum_AFTER UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator = 5 -) - -var UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "EQUALS", - 3: "NOT_EQUALS", - 4: "BEFORE", - 5: "AFTER", -} - -var UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "EQUALS": 2, - "NOT_EQUALS": 3, - "BEFORE": 4, - "AFTER": 5, -} - -func (x UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator) String() string { - return proto.EnumName(UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator_name, int32(x)) -} - -func (UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_621b1a3b02c051f2, []int{0, 0} -} - -// Supported rule operator for date type. -type UserListDateRuleItemOperatorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserListDateRuleItemOperatorEnum) Reset() { *m = UserListDateRuleItemOperatorEnum{} } -func (m *UserListDateRuleItemOperatorEnum) String() string { return proto.CompactTextString(m) } -func (*UserListDateRuleItemOperatorEnum) ProtoMessage() {} -func (*UserListDateRuleItemOperatorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_621b1a3b02c051f2, []int{0} -} - -func (m *UserListDateRuleItemOperatorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserListDateRuleItemOperatorEnum.Unmarshal(m, b) -} -func (m *UserListDateRuleItemOperatorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserListDateRuleItemOperatorEnum.Marshal(b, m, deterministic) -} -func (m *UserListDateRuleItemOperatorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListDateRuleItemOperatorEnum.Merge(m, src) -} -func (m *UserListDateRuleItemOperatorEnum) XXX_Size() int { - return xxx_messageInfo_UserListDateRuleItemOperatorEnum.Size(m) -} -func (m *UserListDateRuleItemOperatorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_UserListDateRuleItemOperatorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_UserListDateRuleItemOperatorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator", UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator_name, UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator_value) - proto.RegisterType((*UserListDateRuleItemOperatorEnum)(nil), "google.ads.googleads.v2.enums.UserListDateRuleItemOperatorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/user_list_date_rule_item_operator.proto", fileDescriptor_621b1a3b02c051f2) -} - -var fileDescriptor_621b1a3b02c051f2 = []byte{ - // 346 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0x41, 0x6a, 0xeb, 0x30, - 0x14, 0xfc, 0x76, 0x7e, 0x52, 0xaa, 0x40, 0x6b, 0xbc, 0x2c, 0x09, 0x34, 0x39, 0x80, 0x0c, 0xee, - 0x4e, 0x5d, 0xc9, 0x8d, 0x12, 0x42, 0x83, 0x9d, 0x26, 0x71, 0x0a, 0xc5, 0x60, 0xd4, 0x5a, 0x18, - 0x83, 0x2d, 0x19, 0x49, 0xce, 0x45, 0x7a, 0x83, 0x2e, 0x7b, 0x94, 0x1e, 0xa5, 0x07, 0xe8, 0xba, - 0xd8, 0x4e, 0xb2, 0xab, 0x37, 0x62, 0xa4, 0x99, 0x37, 0xef, 0xcd, 0x13, 0x20, 0xa9, 0x10, 0x69, - 0xce, 0x1c, 0x9a, 0x28, 0xa7, 0x85, 0x35, 0x3a, 0xb8, 0x0e, 0xe3, 0x55, 0xa1, 0x9c, 0x4a, 0x31, - 0x19, 0xe7, 0x99, 0xd2, 0x71, 0x42, 0x35, 0x8b, 0x65, 0x95, 0xb3, 0x38, 0xd3, 0xac, 0x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xb0, 0x85, 0x35, 0xda, 0xbb, 0xb0, 0x5e, 0x92, 0xfa, 0x3a, 0xf1, 0x11, 0x4e, 0x54, - 0x74, 0xe6, 0xa3, 0xbd, 0x1b, 0x35, 0xfc, 0xb7, 0x39, 0x69, 0x1f, 0x11, 0xc2, 0x89, 0x42, 0xe8, - 0xac, 0x40, 0x68, 0xef, 0x22, 0xd4, 0x68, 0x5e, 0x07, 0xcd, 0x60, 0x77, 0xbf, 0x01, 0x00, 0x00, - 0xff, 0xff, 0x1b, 0xa7, 0xfa, 0x63, 0x1b, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_logical_rule_operator.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_logical_rule_operator.pb.go deleted file mode 100644 index 84c5a826..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_logical_rule_operator.pb.go +++ /dev/null @@ -1,129 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/user_list_logical_rule_operator.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible user list logical rule operators. -type UserListLogicalRuleOperatorEnum_UserListLogicalRuleOperator int32 - -const ( - // Not specified. - UserListLogicalRuleOperatorEnum_UNSPECIFIED UserListLogicalRuleOperatorEnum_UserListLogicalRuleOperator = 0 - // Used for return value only. Represents value unknown in this version. - UserListLogicalRuleOperatorEnum_UNKNOWN UserListLogicalRuleOperatorEnum_UserListLogicalRuleOperator = 1 - // And - all of the operands. - UserListLogicalRuleOperatorEnum_ALL UserListLogicalRuleOperatorEnum_UserListLogicalRuleOperator = 2 - // Or - at least one of the operands. - UserListLogicalRuleOperatorEnum_ANY UserListLogicalRuleOperatorEnum_UserListLogicalRuleOperator = 3 - // Not - none of the operands. - UserListLogicalRuleOperatorEnum_NONE UserListLogicalRuleOperatorEnum_UserListLogicalRuleOperator = 4 -) - -var UserListLogicalRuleOperatorEnum_UserListLogicalRuleOperator_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "ALL", - 3: "ANY", - 4: "NONE", -} - -var UserListLogicalRuleOperatorEnum_UserListLogicalRuleOperator_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "ALL": 2, - "ANY": 3, - "NONE": 4, -} - -func (x UserListLogicalRuleOperatorEnum_UserListLogicalRuleOperator) String() string { - return proto.EnumName(UserListLogicalRuleOperatorEnum_UserListLogicalRuleOperator_name, int32(x)) -} - -func (UserListLogicalRuleOperatorEnum_UserListLogicalRuleOperator) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_061dd9bd0026ec5a, []int{0, 0} -} - -// The logical operator of the rule. -type UserListLogicalRuleOperatorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserListLogicalRuleOperatorEnum) Reset() { *m = UserListLogicalRuleOperatorEnum{} } -func (m *UserListLogicalRuleOperatorEnum) String() string { return proto.CompactTextString(m) } -func (*UserListLogicalRuleOperatorEnum) ProtoMessage() {} -func (*UserListLogicalRuleOperatorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_061dd9bd0026ec5a, []int{0} -} - -func (m *UserListLogicalRuleOperatorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserListLogicalRuleOperatorEnum.Unmarshal(m, b) -} -func (m *UserListLogicalRuleOperatorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserListLogicalRuleOperatorEnum.Marshal(b, m, deterministic) -} -func (m *UserListLogicalRuleOperatorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListLogicalRuleOperatorEnum.Merge(m, src) -} -func (m *UserListLogicalRuleOperatorEnum) XXX_Size() int { - return xxx_messageInfo_UserListLogicalRuleOperatorEnum.Size(m) -} -func (m *UserListLogicalRuleOperatorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_UserListLogicalRuleOperatorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_UserListLogicalRuleOperatorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.UserListLogicalRuleOperatorEnum_UserListLogicalRuleOperator", UserListLogicalRuleOperatorEnum_UserListLogicalRuleOperator_name, UserListLogicalRuleOperatorEnum_UserListLogicalRuleOperator_value) - proto.RegisterType((*UserListLogicalRuleOperatorEnum)(nil), "google.ads.googleads.v2.enums.UserListLogicalRuleOperatorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/user_list_logical_rule_operator.proto", fileDescriptor_061dd9bd0026ec5a) -} - -var fileDescriptor_061dd9bd0026ec5a = []byte{ - // 324 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xc1, 0x6e, 0xe2, 0x30, - 0x14, 0x5c, 0x02, 0x5a, 0x56, 0xe6, 0xb0, 0x51, 0x8e, 0xbb, 0x45, 0x2d, 0x7c, 0x80, 0x23, 0xa5, - 0x37, 0xf7, 0x14, 0x68, 0x8a, 0x50, 0x23, 0x83, 0x5a, 0x01, 0x6a, 0x15, 0x29, 0x72, 0x89, 0x65, - 0x45, 0x32, 0x76, 0xe4, 0x97, 0x70, 0xe8, 0xe7, 0xf4, 0xd8, 0x4f, 0xe9, 0xa7, 0xf4, 0xde, 0x7b, - 0x15, 0x1b, 0xb8, 0x95, 0x8b, 0x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f, 0xd4, 0x7c, 0x63, - 0xdf, 0x37, 0xaf, 0x3b, 0x8b, 0xe3, 0x77, 0x6f, 0x38, 0x73, 0x56, 0x71, 0x01, 0xd8, 0xc1, 0x16, - 0xad, 0x23, 0xdc, 0x76, 0x01, 0x1f, 0x47, 0x3e, 0x8b, 0x0b, 0xc8, 0x4e, 0x7c, 0xb6, 0x8e, 0x32, - 0xcb, 0x7f, 0x7a, 0x23, 0xf7, 0x49, 0x48, 0x5c, 0x00, 0x21, 0x27, 0x05, 0x21, 0xeb, 0x88, 0x10, - 0xab, 0x79, 0xf9, 0x6d, 0x17, 0xbb, 0xfe, 0x0e, 0x00, 0x00, 0xff, 0xff, 0xf1, 0xfb, 0x6e, 0xca, - 0xfe, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_membership_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_membership_status.pb.go deleted file mode 100644 index a654e4c6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_membership_status.pb.go +++ /dev/null @@ -1,126 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/user_list_membership_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_9479d24cfe2a2de6, []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_9479d24cfe2a2de6, []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 (m *UserListMembershipStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListMembershipStatusEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.UserListMembershipStatusEnum_UserListMembershipStatus", UserListMembershipStatusEnum_UserListMembershipStatus_name, UserListMembershipStatusEnum_UserListMembershipStatus_value) - proto.RegisterType((*UserListMembershipStatusEnum)(nil), "google.ads.googleads.v2.enums.UserListMembershipStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/user_list_membership_status.proto", fileDescriptor_9479d24cfe2a2de6) -} - -var fileDescriptor_9479d24cfe2a2de6 = []byte{ - // 314 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x41, 0x4a, 0xc3, 0x40, - 0x14, 0x86, 0x6d, 0x2a, 0x55, 0xa6, 0x0b, 0x43, 0x56, 0x22, 0xed, 0xa2, 0x3d, 0xc0, 0x04, 0xe2, - 0x6e, 0x5c, 0x48, 0xda, 0xc6, 0x52, 0xac, 0xd3, 0x40, 0x69, 0x05, 0x09, 0x94, 0xa9, 0x19, 0xc6, - 0x81, 0x66, 0x26, 0xe4, 0x4d, 0x7a, 0x20, 0x97, 0x1e, 0xc5, 0xa3, 0xb8, 0xf4, 0x04, 0x92, 0x49, - 0x9b, 0x5d, 0xdc, 0x84, 0x9f, 0xfc, 0xef, 0xff, 0xe6, 0x7f, 0x0f, 0x3d, 0x0a, 0xad, 0xc5, 0x81, - 0xfb, 0x2c, 0x05, 0xbf, 0x96, 0x95, 0x3a, 0x06, 0x3e, 0x57, 0x65, 0x06, 0x7e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xc6, 0x4f, 0xb6, 0x41, 0x62, 0xfd, 0x1f, 0x67, 0x54, 0xff, 0x24, 0x24, 0x4c, 0x81, 0x90, - 0x66, 0x82, 0x90, 0x6d, 0x40, 0x88, 0x9d, 0xd9, 0xf7, 0x6c, 0xb1, 0xfb, 0xbf, 0x00, 0x00, 0x00, - 0xff, 0xff, 0x19, 0x1e, 0xee, 0x12, 0xeb, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_number_rule_item_operator.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_number_rule_item_operator.pb.go deleted file mode 100644 index c08b7ed7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_number_rule_item_operator.pb.go +++ /dev/null @@ -1,144 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/user_list_number_rule_item_operator.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible user list number rule item operators. -type UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator int32 - -const ( - // Not specified. - UserListNumberRuleItemOperatorEnum_UNSPECIFIED UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator = 0 - // Used for return value only. Represents value unknown in this version. - UserListNumberRuleItemOperatorEnum_UNKNOWN UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator = 1 - // Greater than. - UserListNumberRuleItemOperatorEnum_GREATER_THAN UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator = 2 - // Greater than or equal. - UserListNumberRuleItemOperatorEnum_GREATER_THAN_OR_EQUAL UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator = 3 - // Equals. - UserListNumberRuleItemOperatorEnum_EQUALS UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator = 4 - // Not equals. - UserListNumberRuleItemOperatorEnum_NOT_EQUALS UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator = 5 - // Less than. - UserListNumberRuleItemOperatorEnum_LESS_THAN UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator = 6 - // Less than or equal. - UserListNumberRuleItemOperatorEnum_LESS_THAN_OR_EQUAL UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator = 7 -) - -var UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "GREATER_THAN", - 3: "GREATER_THAN_OR_EQUAL", - 4: "EQUALS", - 5: "NOT_EQUALS", - 6: "LESS_THAN", - 7: "LESS_THAN_OR_EQUAL", -} - -var UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "GREATER_THAN": 2, - "GREATER_THAN_OR_EQUAL": 3, - "EQUALS": 4, - "NOT_EQUALS": 5, - "LESS_THAN": 6, - "LESS_THAN_OR_EQUAL": 7, -} - -func (x UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator) String() string { - return proto.EnumName(UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator_name, int32(x)) -} - -func (UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_36f83251b27a165a, []int{0, 0} -} - -// Supported rule operator for number type. -type UserListNumberRuleItemOperatorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserListNumberRuleItemOperatorEnum) Reset() { *m = UserListNumberRuleItemOperatorEnum{} } -func (m *UserListNumberRuleItemOperatorEnum) String() string { return proto.CompactTextString(m) } -func (*UserListNumberRuleItemOperatorEnum) ProtoMessage() {} -func (*UserListNumberRuleItemOperatorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_36f83251b27a165a, []int{0} -} - -func (m *UserListNumberRuleItemOperatorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserListNumberRuleItemOperatorEnum.Unmarshal(m, b) -} -func (m *UserListNumberRuleItemOperatorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserListNumberRuleItemOperatorEnum.Marshal(b, m, deterministic) -} -func (m *UserListNumberRuleItemOperatorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListNumberRuleItemOperatorEnum.Merge(m, src) -} -func (m *UserListNumberRuleItemOperatorEnum) XXX_Size() int { - return xxx_messageInfo_UserListNumberRuleItemOperatorEnum.Size(m) -} -func (m *UserListNumberRuleItemOperatorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_UserListNumberRuleItemOperatorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_UserListNumberRuleItemOperatorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator", UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator_name, UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator_value) - proto.RegisterType((*UserListNumberRuleItemOperatorEnum)(nil), "google.ads.googleads.v2.enums.UserListNumberRuleItemOperatorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/user_list_number_rule_item_operator.proto", fileDescriptor_36f83251b27a165a) -} - -var fileDescriptor_36f83251b27a165a = []byte{ - // 379 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x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, 0x3a, 0x61, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_prepopulation_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_prepopulation_status.pb.go deleted file mode 100644 index 992cddd7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_prepopulation_status.pb.go +++ /dev/null @@ -1,129 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/user_list_prepopulation_status.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible user list prepopulation status. -type UserListPrepopulationStatusEnum_UserListPrepopulationStatus int32 - -const ( - // Not specified. - UserListPrepopulationStatusEnum_UNSPECIFIED UserListPrepopulationStatusEnum_UserListPrepopulationStatus = 0 - // Used for return value only. Represents value unknown in this version. - UserListPrepopulationStatusEnum_UNKNOWN UserListPrepopulationStatusEnum_UserListPrepopulationStatus = 1 - // Prepopoulation is being requested. - UserListPrepopulationStatusEnum_REQUESTED UserListPrepopulationStatusEnum_UserListPrepopulationStatus = 2 - // Prepopulation is finished. - UserListPrepopulationStatusEnum_FINISHED UserListPrepopulationStatusEnum_UserListPrepopulationStatus = 3 - // Prepopulation failed. - UserListPrepopulationStatusEnum_FAILED UserListPrepopulationStatusEnum_UserListPrepopulationStatus = 4 -) - -var UserListPrepopulationStatusEnum_UserListPrepopulationStatus_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "REQUESTED", - 3: "FINISHED", - 4: "FAILED", -} - -var UserListPrepopulationStatusEnum_UserListPrepopulationStatus_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "REQUESTED": 2, - "FINISHED": 3, - "FAILED": 4, -} - -func (x UserListPrepopulationStatusEnum_UserListPrepopulationStatus) String() string { - return proto.EnumName(UserListPrepopulationStatusEnum_UserListPrepopulationStatus_name, int32(x)) -} - -func (UserListPrepopulationStatusEnum_UserListPrepopulationStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_138c5bf9f200290f, []int{0, 0} -} - -// Indicates status of prepopulation based on the rule. -type UserListPrepopulationStatusEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserListPrepopulationStatusEnum) Reset() { *m = UserListPrepopulationStatusEnum{} } -func (m *UserListPrepopulationStatusEnum) String() string { return proto.CompactTextString(m) } -func (*UserListPrepopulationStatusEnum) ProtoMessage() {} -func (*UserListPrepopulationStatusEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_138c5bf9f200290f, []int{0} -} - -func (m *UserListPrepopulationStatusEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserListPrepopulationStatusEnum.Unmarshal(m, b) -} -func (m *UserListPrepopulationStatusEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserListPrepopulationStatusEnum.Marshal(b, m, deterministic) -} -func (m *UserListPrepopulationStatusEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListPrepopulationStatusEnum.Merge(m, src) -} -func (m *UserListPrepopulationStatusEnum) XXX_Size() int { - return xxx_messageInfo_UserListPrepopulationStatusEnum.Size(m) -} -func (m *UserListPrepopulationStatusEnum) XXX_DiscardUnknown() { - xxx_messageInfo_UserListPrepopulationStatusEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_UserListPrepopulationStatusEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.UserListPrepopulationStatusEnum_UserListPrepopulationStatus", UserListPrepopulationStatusEnum_UserListPrepopulationStatus_name, UserListPrepopulationStatusEnum_UserListPrepopulationStatus_value) - proto.RegisterType((*UserListPrepopulationStatusEnum)(nil), "google.ads.googleads.v2.enums.UserListPrepopulationStatusEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/user_list_prepopulation_status.proto", fileDescriptor_138c5bf9f200290f) -} - -var fileDescriptor_138c5bf9f200290f = []byte{ - // 333 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xc1, 0x4e, 0xb3, 0x40, - 0x18, 0xfc, 0xa1, 0x7f, 0xaa, 0x6e, 0x35, 0x12, 0x8e, 0x6a, 0xa3, 0xed, 0x03, 0x2c, 0x09, 0xde, - 0xd6, 0x13, 0x95, 0x6d, 0x25, 0x36, 0x88, 0x22, 0x35, 0x31, 0x24, 0x0d, 0x0a, 0x21, 0x24, 0x74, - 0x77, 0xc3, 0xb7, 0xf4, 0x15, 0x7c, 0x0f, 0x8f, 0x3e, 0x8a, 0x8f, 0xe2, 0xdd, 0xbb, 0x61, 0x69, - 0x1b, 0x2f, 0x72, 0xd9, 0x4c, 0xf6, 0x9b, 0x6f, 0xe6, 0x9b, 0x41, 0x93, 0x9c, 0xf3, 0xbc, 0xcc, - 0xac, 0x24, 0x05, 0xab, 0x85, 0x0d, 0x5a, 0xdb, 0x56, 0xc6, 0xea, 0x15, 0x58, 0x35, 0x64, 0xd5, - 0xb2, 0x2c, 0x40, 0x2e, 0x45, 0x95, 0x09, 0x2e, 0xea, 0x32, 0x91, 0x05, 0x67, 0x4b, 0x90, 0x89, - 0xac, 0x01, 0x8b, 0x8a, 0x4b, 0x6e, 0x0e, 0xdb, 0x45, 0x9c, 0xa4, 0x80, 0x77, 0x1a, 0x78, 0x6d, - 0x63, 0xa5, 0x71, 0x72, 0xb6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 0xd5, 0x61, 0x97, 0x3f, - 0x01, 0x00, 0x00, 0xff, 0xff, 0x26, 0xe0, 0x32, 0x41, 0x0b, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_rule_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_rule_type.pb.go deleted file mode 100644 index 3abe67a8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_rule_type.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/user_list_rule_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible user list rule types. -type UserListRuleTypeEnum_UserListRuleType int32 - -const ( - // Not specified. - UserListRuleTypeEnum_UNSPECIFIED UserListRuleTypeEnum_UserListRuleType = 0 - // Used for return value only. Represents value unknown in this version. - UserListRuleTypeEnum_UNKNOWN UserListRuleTypeEnum_UserListRuleType = 1 - // Conjunctive normal form. - UserListRuleTypeEnum_AND_OF_ORS UserListRuleTypeEnum_UserListRuleType = 2 - // Disjunctive normal form. - UserListRuleTypeEnum_OR_OF_ANDS UserListRuleTypeEnum_UserListRuleType = 3 -) - -var UserListRuleTypeEnum_UserListRuleType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "AND_OF_ORS", - 3: "OR_OF_ANDS", -} - -var UserListRuleTypeEnum_UserListRuleType_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "AND_OF_ORS": 2, - "OR_OF_ANDS": 3, -} - -func (x UserListRuleTypeEnum_UserListRuleType) String() string { - return proto.EnumName(UserListRuleTypeEnum_UserListRuleType_name, int32(x)) -} - -func (UserListRuleTypeEnum_UserListRuleType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0eaeea4742a5819b, []int{0, 0} -} - -// Rule based user list rule type. -type UserListRuleTypeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserListRuleTypeEnum) Reset() { *m = UserListRuleTypeEnum{} } -func (m *UserListRuleTypeEnum) String() string { return proto.CompactTextString(m) } -func (*UserListRuleTypeEnum) ProtoMessage() {} -func (*UserListRuleTypeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_0eaeea4742a5819b, []int{0} -} - -func (m *UserListRuleTypeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserListRuleTypeEnum.Unmarshal(m, b) -} -func (m *UserListRuleTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserListRuleTypeEnum.Marshal(b, m, deterministic) -} -func (m *UserListRuleTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListRuleTypeEnum.Merge(m, src) -} -func (m *UserListRuleTypeEnum) XXX_Size() int { - return xxx_messageInfo_UserListRuleTypeEnum.Size(m) -} -func (m *UserListRuleTypeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_UserListRuleTypeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_UserListRuleTypeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.UserListRuleTypeEnum_UserListRuleType", UserListRuleTypeEnum_UserListRuleType_name, UserListRuleTypeEnum_UserListRuleType_value) - proto.RegisterType((*UserListRuleTypeEnum)(nil), "google.ads.googleads.v2.enums.UserListRuleTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/user_list_rule_type.proto", fileDescriptor_0eaeea4742a5819b) -} - -var fileDescriptor_0eaeea4742a5819b = []byte{ - // 315 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xdd, 0x4a, 0xc3, 0x30, - 0x14, 0x76, 0x1d, 0x28, 0x64, 0xa0, 0xa5, 0xe8, 0x8d, 0xb8, 0x8b, 0xed, 0x01, 0x52, 0xa8, 0x17, - 0x42, 0xbc, 0xca, 0xdc, 0x0f, 0x43, 0x69, 0xcb, 0xe6, 0x26, 0x48, 0xa1, 0x54, 0x1b, 0x62, 0xa1, - 0x4b, 0x4a, 0x4f, 0x3a, 0xd8, 0xeb, 0x78, 0xe9, 0xa3, 0xf8, 0x28, 0x7b, 0x0a, 0x49, 0xe2, 0x7a, - 0x31, 0xd0, 0x9b, 0xf0, 0x9d, 0xf3, 0x7d, 0xdf, 0xc9, 0x77, 0x0e, 0xba, 0xe3, 0x52, 0xf2, 0x92, - 0xf9, 0x59, 0x0e, 0xbe, 0x85, 0x1a, 0x6d, 0x03, 0x9f, 0x89, 0x66, 0x03, 0x7e, 0x03, 0xac, 0x4e, - 0xcb, 0x02, 0x54, 0x5a, 0x37, 0x25, 0x4b, 0xd5, 0xae, 0x62, 0xb8, 0xaa, 0xa5, 0x92, 0x5e, 0xdf, - 0xaa, 0x71, 0x96, 0x03, 0x6e, 0x8d, 0x78, 0x1b, 0x60, 0x63, 0xbc, 0xbe, 0x39, 0xcc, 0xad, 0x0a, - 0x3f, 0x13, 0x42, 0xaa, 0x4c, 0x15, 0x52, 0x80, 0x35, 0x0f, 0x3f, 0xd0, 0xe5, 0x0a, 0x58, 0xfd, - 0x54, 0x80, 0x5a, 0x34, 0x25, 0x7b, 0xde, 0x55, 0x6c, 0x22, 0x9a, 0xcd, 0x30, 0x46, 0xee, 0x71, - 0xdf, 0xbb, 0x40, 0xbd, 0x55, 0xb8, 0x8c, 0x27, 0x0f, 0xf3, 0xe9, 0x7c, 0x32, 0x76, 0x4f, 0xbc, - 0x1e, 0x3a, 0x5b, 0x85, 0x8f, 0x61, 0xf4, 0x12, 0xba, 0x1d, 0xef, 0x1c, 0x21, 0x1a, 0x8e, 0xd3, - 0x68, 0x9a, 0x46, 0x8b, 0xa5, 0xeb, 0xe8, 0x3a, 0x5a, 0xe8, 0x92, 0x86, 0xe3, 0xa5, 0xdb, 0x1d, - 0xed, 0x3b, 0x68, 0xf0, 0x2e, 0x37, 0xf8, 0xdf, 0xb4, 0xa3, 0xab, 0xe3, 0x5f, 0x63, 0x1d, 0x33, - 0xee, 0xbc, 0x8e, 0x7e, 0x7d, 0x5c, 0x96, 0x99, 0xe0, 0x58, 0xd6, 0xdc, 0xe7, 0x4c, 0x98, 0x25, - 0x0e, 0xe7, 0xaa, 0x0a, 0xf8, 0xe3, 0x7a, 0xf7, 0xe6, 0xfd, 0x74, 0xba, 0x33, 0x4a, 0xbf, 0x9c, - 0xfe, 0xcc, 0x8e, 0xa2, 0x39, 0x60, 0x0b, 0x35, 0x5a, 0x07, 0x58, 0x6f, 0x0e, 0xdf, 0x07, 0x3e, - 0xa1, 0x39, 0x24, 0x2d, 0x9f, 0xac, 0x83, 0xc4, 0xf0, 0x7b, 0x67, 0x60, 0x9b, 0x84, 0xd0, 0x1c, - 0x08, 0x69, 0x15, 0x84, 0xac, 0x03, 0x42, 0x8c, 0xe6, 0xed, 0xd4, 0x04, 0xbb, 0xfd, 0x09, 0x00, - 0x00, 0xff, 0xff, 0xfb, 0x8f, 0x63, 0xad, 0xd5, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_size_range.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_size_range.pb.go deleted file mode 100644 index 2830df06..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_size_range.pb.go +++ /dev/null @@ -1,192 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/user_list_size_range.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_30d516fc36c96f7d, []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_30d516fc36c96f7d, []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 (m *UserListSizeRangeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListSizeRangeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.UserListSizeRangeEnum_UserListSizeRange", UserListSizeRangeEnum_UserListSizeRange_name, UserListSizeRangeEnum_UserListSizeRange_value) - proto.RegisterType((*UserListSizeRangeEnum)(nil), "google.ads.googleads.v2.enums.UserListSizeRangeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/user_list_size_range.proto", fileDescriptor_30d516fc36c96f7d) -} - -var fileDescriptor_30d516fc36c96f7d = []byte{ - // 505 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x93, 0xcb, 0x6e, 0xd3, 0x40, - 0x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0x16, - 0x59, 0xfc, 0xa3, 0x1f, 0x8d, 0x7e, 0xb7, 0x60, 0xf0, 0x35, 0x5a, 0xe3, 0x07, 0x57, 0x7b, 0xd4, - 0xbd, 0xb7, 0x9f, 0xf3, 0x74, 0xa9, 0xe7, 0xad, 0xcf, 0xa3, 0xbb, 0x46, 0x3f, 0x5a, 0x39, 0xa1, - 0x8f, 0xa3, 0xd8, 0x17, 0x7d, 0x2f, 0xcc, 0x56, 0x9e, 0x5f, 0xd7, 0x26, 0x60, 0xff, 0x39, 0xb6, - 0xf7, 0xd9, 0xef, 0xf7, 0xf6, 0xce, 0xa5, 0xa2, 0xfc, 0x68, 0xf7, 0x2f, 0xf3, 0x51, 0x8a, 0xcb, - 0x70, 0x5e, 0xa6, 0x95, 0x25, 0xe1, 0xf4, 0x4a, 0xd8, 0x4f, 0xee, 0x2f, 0x15, 0x97, 0x2d, 0x0b, - 0x7f, 0x69, 0x49, 0xcb, 0xcc, 0xff, 0xd5, 0x1e, 0xe4, 0xa2, 0x2c, 0x2b, 0x2e, 0x93, 0xe5, 0x82, - 0x90, 0x65, 0x4b, 0x92, 0xe5, 0x8c, 0xf9, 0xb2, 0x9f, 0x05, 0xbb, 0xf8, 0x1b, 0x00, 0x00, 0xff, - 0xff, 0x22, 0x02, 0x84, 0xce, 0x04, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_string_rule_item_operator.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_string_rule_item_operator.pb.go deleted file mode 100644 index 5c44bf7f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_string_rule_item_operator.pb.go +++ /dev/null @@ -1,153 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/user_list_string_rule_item_operator.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible user list string rule item operators. -type UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator int32 - -const ( - // Not specified. - UserListStringRuleItemOperatorEnum_UNSPECIFIED UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator = 0 - // Used for return value only. Represents value unknown in this version. - UserListStringRuleItemOperatorEnum_UNKNOWN UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator = 1 - // Contains. - UserListStringRuleItemOperatorEnum_CONTAINS UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator = 2 - // Equals. - UserListStringRuleItemOperatorEnum_EQUALS UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator = 3 - // Starts with. - UserListStringRuleItemOperatorEnum_STARTS_WITH UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator = 4 - // Ends with. - UserListStringRuleItemOperatorEnum_ENDS_WITH UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator = 5 - // Not equals. - UserListStringRuleItemOperatorEnum_NOT_EQUALS UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator = 6 - // Not contains. - UserListStringRuleItemOperatorEnum_NOT_CONTAINS UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator = 7 - // Not starts with. - UserListStringRuleItemOperatorEnum_NOT_STARTS_WITH UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator = 8 - // Not ends with. - UserListStringRuleItemOperatorEnum_NOT_ENDS_WITH UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator = 9 -) - -var UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "CONTAINS", - 3: "EQUALS", - 4: "STARTS_WITH", - 5: "ENDS_WITH", - 6: "NOT_EQUALS", - 7: "NOT_CONTAINS", - 8: "NOT_STARTS_WITH", - 9: "NOT_ENDS_WITH", -} - -var UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "CONTAINS": 2, - "EQUALS": 3, - "STARTS_WITH": 4, - "ENDS_WITH": 5, - "NOT_EQUALS": 6, - "NOT_CONTAINS": 7, - "NOT_STARTS_WITH": 8, - "NOT_ENDS_WITH": 9, -} - -func (x UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator) String() string { - return proto.EnumName(UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator_name, int32(x)) -} - -func (UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1f9384076de0cdd2, []int{0, 0} -} - -// Supported rule operator for string type. -type UserListStringRuleItemOperatorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserListStringRuleItemOperatorEnum) Reset() { *m = UserListStringRuleItemOperatorEnum{} } -func (m *UserListStringRuleItemOperatorEnum) String() string { return proto.CompactTextString(m) } -func (*UserListStringRuleItemOperatorEnum) ProtoMessage() {} -func (*UserListStringRuleItemOperatorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_1f9384076de0cdd2, []int{0} -} - -func (m *UserListStringRuleItemOperatorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserListStringRuleItemOperatorEnum.Unmarshal(m, b) -} -func (m *UserListStringRuleItemOperatorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserListStringRuleItemOperatorEnum.Marshal(b, m, deterministic) -} -func (m *UserListStringRuleItemOperatorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListStringRuleItemOperatorEnum.Merge(m, src) -} -func (m *UserListStringRuleItemOperatorEnum) XXX_Size() int { - return xxx_messageInfo_UserListStringRuleItemOperatorEnum.Size(m) -} -func (m *UserListStringRuleItemOperatorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_UserListStringRuleItemOperatorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_UserListStringRuleItemOperatorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator", UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator_name, UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator_value) - proto.RegisterType((*UserListStringRuleItemOperatorEnum)(nil), "google.ads.googleads.v2.enums.UserListStringRuleItemOperatorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/user_list_string_rule_item_operator.proto", fileDescriptor_1f9384076de0cdd2) -} - -var fileDescriptor_1f9384076de0cdd2 = []byte{ - // 391 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0x41, 0x8f, 0x94, 0x30, - 0x14, 0x16, 0x56, 0x67, 0x77, 0xbb, 0xbb, 0x2e, 0xd6, 0x9b, 0x71, 0x4d, 0x76, 0xbc, 0x97, 0x04, - 0x6f, 0xf5, 0xd4, 0xd9, 0xc1, 0x91, 0x38, 0x29, 0xe3, 0x00, 0x33, 0x89, 0x21, 0x21, 0x28, 0x0d, - 0x21, 0x81, 0x96, 0xb4, 0x65, 0x7e, 0x90, 0x47, 0x7f, 0x86, 0x47, 0xff, 0x89, 0xfe, 0x02, 0x8f, - 0x86, 0xc2, 0x10, 0x2f, 0x3b, 0x17, 0xf2, 0xbd, 0xf7, 0xbe, 0xef, 0x7b, 0xf4, 0x7b, 0x60, 0x55, - 0x0a, 0x51, 0xd6, 0xcc, 0xcd, 0x0b, 0xe5, 0x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xf0, - 0x05, 0xb8, 0x31, 0xb2, 0xc9, 0xe9, 0x72, 0xf1, 0xd7, 0x02, 0xf7, 0xdf, 0x44, 0x83, 0x4e, 0xe6, - 0xb5, 0x78, 0x7b, 0xfa, 0x9d, 0x9b, 0x3e, 0xb6, 0x8d, 0xf5, 0x65, 0x31, 0xba, 0x94, 0xa2, 0xce, - 0x79, 0x89, 0x84, 0x2c, 0xdd, 0x92, 0x71, 0x13, 0xea, 0xf1, 0x9c, 0x6d, 0xa5, 0x1e, 0xb9, 0xee, - 0x7b, 0xf3, 0xfd, 0x6e, 0x9f, 0xad, 0x08, 0xf9, 0x61, 0xdf, 0xad, 0x06, 0x2b, 0x52, 0x28, 0x34, - 0xc0, 0x1e, 0xed, 0x3c, 0xd4, 0x47, 0xaf, 0x7e, 0x1d, 0xe7, 0x29, 0x29, 0x54, 0x3a, 0xcd, 0xd3, - 0x9d, 0x97, 0x9a, 0xf9, 0x1f, 0xfb, 0x7e, 0x68, 0x62, 0x4c, 0x0a, 0x85, 0xf1, 0xc4, 0xc0, 0x78, - 0xe7, 0x61, 0x6c, 0x38, 0x5f, 0x67, 0xe6, 0xc7, 0xde, 0xfd, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x2a, - 0xa0, 0xbb, 0x97, 0x75, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_type.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_type.pb.go deleted file mode 100644 index efeaf6e1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/user_list_type.pb.go +++ /dev/null @@ -1,144 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/user_list_type.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_5c791a4600ee3508, []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_5c791a4600ee3508, []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 (m *UserListTypeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListTypeEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.enums.UserListTypeEnum_UserListType", UserListTypeEnum_UserListType_name, UserListTypeEnum_UserListType_value) - proto.RegisterType((*UserListTypeEnum)(nil), "google.ads.googleads.v2.enums.UserListTypeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/user_list_type.proto", fileDescriptor_5c791a4600ee3508) -} - -var fileDescriptor_5c791a4600ee3508 = []byte{ - // 358 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xcf, 0x4a, 0xf3, 0x40, - 0x14, 0xc5, 0xbf, 0xa4, 0x9f, 0x2d, 0x4e, 0xfd, 0x13, 0x83, 0x0b, 0x11, 0xbb, 0x68, 0x1f, 0x60, -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 0xa3, 0x43, 0xdb, 0x7f, 0xfd, 0x0c, 0x00, 0x3f, - 0x70, 0x49, 0x64, 0xe1, 0x29, 0x19, 0x68, 0x47, 0x32, 0x36, 0x75, 0x46, 0x8e, 0x8b, 0x7d, 0xad, - 0xa9, 0x9f, 0x82, 0xe3, 0xbe, 0x3f, 0xda, 0xb2, 0x96, 0xf5, 0xa5, 0x80, 0xee, 0x0b, 0x5f, 0xc2, - 0x3f, 0x6f, 0xb5, 0x2e, 0x0e, 0xb7, 0x9e, 0xc8, 0x03, 0x27, 0xca, 0x93, 0xb5, 0xcd, 0xa4, 0x7c, - 0x11, 0xb3, 0x14, 0xf2, 0x22, 0x35, 0x52, 0xca, 0xaa, 0xf3, 0x77, 0x1d, 0xe7, 0x99, 0xf8, 0xa5, - 0xf2, 0xbb, 0xea, 0x7d, 0x53, 0x1b, 0x36, 0xc6, 0x1f, 0x6a, 0xc7, 0xae, 0x47, 0xe1, 0x44, 0xc0, - 0x5a, 0x4a, 0x35, 0x37, 0xa1, 0xac, 0x4d, 0x7c, 0xee, 0x78, 0x88, 0x13, 0x11, 0xee, 0x79, 0x38, - 0x37, 0xc3, 0x8a, 0x7f, 0xab, 0xdd, 0xfa, 0x13, 0x21, 0x9c, 0x08, 0x84, 0xf6, 0x0e, 0x84, 0xe6, - 0x26, 0x42, 0x95, 0xe7, 0xb9, 0x59, 0x2d, 0x76, 0xfb, 0x13, 0x00, 0x00, 0xff, 0xff, 0x68, 0x24, - 0x59, 0x0d, 0x0a, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/vanity_pharma_display_url_mode.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/vanity_pharma_display_url_mode.pb.go deleted file mode 100644 index daec6be5..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/vanity_pharma_display_url_mode.pb.go +++ /dev/null @@ -1,126 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/vanity_pharma_display_url_mode.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible display modes for vanity pharma URLs. -type VanityPharmaDisplayUrlModeEnum_VanityPharmaDisplayUrlMode int32 - -const ( - // Not specified. - VanityPharmaDisplayUrlModeEnum_UNSPECIFIED VanityPharmaDisplayUrlModeEnum_VanityPharmaDisplayUrlMode = 0 - // Used for return value only. Represents value unknown in this version. - VanityPharmaDisplayUrlModeEnum_UNKNOWN VanityPharmaDisplayUrlModeEnum_VanityPharmaDisplayUrlMode = 1 - // Replace vanity pharma URL with manufacturer website url. - VanityPharmaDisplayUrlModeEnum_MANUFACTURER_WEBSITE_URL VanityPharmaDisplayUrlModeEnum_VanityPharmaDisplayUrlMode = 2 - // Replace vanity pharma URL with description of the website. - VanityPharmaDisplayUrlModeEnum_WEBSITE_DESCRIPTION VanityPharmaDisplayUrlModeEnum_VanityPharmaDisplayUrlMode = 3 -) - -var VanityPharmaDisplayUrlModeEnum_VanityPharmaDisplayUrlMode_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "MANUFACTURER_WEBSITE_URL", - 3: "WEBSITE_DESCRIPTION", -} - -var VanityPharmaDisplayUrlModeEnum_VanityPharmaDisplayUrlMode_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "MANUFACTURER_WEBSITE_URL": 2, - "WEBSITE_DESCRIPTION": 3, -} - -func (x VanityPharmaDisplayUrlModeEnum_VanityPharmaDisplayUrlMode) String() string { - return proto.EnumName(VanityPharmaDisplayUrlModeEnum_VanityPharmaDisplayUrlMode_name, int32(x)) -} - -func (VanityPharmaDisplayUrlModeEnum_VanityPharmaDisplayUrlMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_da95e5df129a03ce, []int{0, 0} -} - -// The display mode for vanity pharma URLs. -type VanityPharmaDisplayUrlModeEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VanityPharmaDisplayUrlModeEnum) Reset() { *m = VanityPharmaDisplayUrlModeEnum{} } -func (m *VanityPharmaDisplayUrlModeEnum) String() string { return proto.CompactTextString(m) } -func (*VanityPharmaDisplayUrlModeEnum) ProtoMessage() {} -func (*VanityPharmaDisplayUrlModeEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_da95e5df129a03ce, []int{0} -} - -func (m *VanityPharmaDisplayUrlModeEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VanityPharmaDisplayUrlModeEnum.Unmarshal(m, b) -} -func (m *VanityPharmaDisplayUrlModeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VanityPharmaDisplayUrlModeEnum.Marshal(b, m, deterministic) -} -func (m *VanityPharmaDisplayUrlModeEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_VanityPharmaDisplayUrlModeEnum.Merge(m, src) -} -func (m *VanityPharmaDisplayUrlModeEnum) XXX_Size() int { - return xxx_messageInfo_VanityPharmaDisplayUrlModeEnum.Size(m) -} -func (m *VanityPharmaDisplayUrlModeEnum) XXX_DiscardUnknown() { - xxx_messageInfo_VanityPharmaDisplayUrlModeEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_VanityPharmaDisplayUrlModeEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.VanityPharmaDisplayUrlModeEnum_VanityPharmaDisplayUrlMode", VanityPharmaDisplayUrlModeEnum_VanityPharmaDisplayUrlMode_name, VanityPharmaDisplayUrlModeEnum_VanityPharmaDisplayUrlMode_value) - proto.RegisterType((*VanityPharmaDisplayUrlModeEnum)(nil), "google.ads.googleads.v2.enums.VanityPharmaDisplayUrlModeEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/vanity_pharma_display_url_mode.proto", fileDescriptor_da95e5df129a03ce) -} - -var fileDescriptor_da95e5df129a03ce = []byte{ - // 347 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x41, 0x6a, 0xb3, 0x40, - 0x18, 0xfd, 0x35, 0xf0, 0x17, 0x26, 0x8b, 0x8a, 0x5d, 0xb4, 0x84, 0xa4, 0x25, 0x39, 0xc0, 0x08, - 0x76, 0x37, 0x5d, 0x69, 0x62, 0x82, 0xb4, 0x31, 0x62, 0xa2, 0x81, 0x22, 0xc8, 0xb4, 0x23, 0x56, - 0xd0, 0x19, 0xeb, 0x98, 0x40, 0xce, 0xd1, 0x1b, 0x74, 0xd9, 0xa3, 0xf4, 0x28, 0x5d, 0xf7, 0x00, - 0xc5, 0x99, 0x9a, 0x5d, 0xba, 0x19, 0x1e, 0xf3, 0xbd, 0xef, 0xbd, 0xef, 0x3d, 0x60, 0x67, 0x8c, - 0x65, 0x45, 0x6a, 0x60, 0xc2, 0x0d, 0x09, 0x5b, 0xb4, 0x37, 0x8d, 0x94, 0xee, 0x4a, 0x6e, 0xec, - 0x31, 0xcd, 0x9b, 0x43, 0x52, 0xbd, 0xe0, 0xba, 0xc4, 0x09, 0xc9, 0x79, 0x55, 0xe0, 0x43, 0xb2, - 0xab, 0x8b, 0xa4, 0x64, 0x24, 0x85, 0x55, 0xcd, 0x1a, 0xa6, 0x8f, 0xe4, 0x22, 0xc4, 0x84, 0xc3, - 0xa3, 0x06, 0xdc, 0x9b, 0x50, 0x68, 0x0c, 0x86, 0x9d, 0x45, 0x95, 0x1b, 0x98, 0x52, 0xd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c8, 0x44, 0x48, 0x70, 0x9e, 0xfe, 0x8b, 0xc3, 0x6e, 0x7f, 0x02, 0x00, - 0x00, 0xff, 0xff, 0x34, 0x91, 0x2a, 0x2d, 0x16, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/vanity_pharma_text.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/vanity_pharma_text.pb.go deleted file mode 100644 index 5b50454b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/vanity_pharma_text.pb.go +++ /dev/null @@ -1,178 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/vanity_pharma_text.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible text. -type VanityPharmaTextEnum_VanityPharmaText int32 - -const ( - // Not specified. - VanityPharmaTextEnum_UNSPECIFIED VanityPharmaTextEnum_VanityPharmaText = 0 - // Used for return value only. Represents value unknown in this version. - VanityPharmaTextEnum_UNKNOWN VanityPharmaTextEnum_VanityPharmaText = 1 - // Prescription treatment website with website content in English. - VanityPharmaTextEnum_PRESCRIPTION_TREATMENT_WEBSITE_EN VanityPharmaTextEnum_VanityPharmaText = 2 - // Prescription treatment website with website content in Spanish - // (Sitio de tratamientos con receta). - VanityPharmaTextEnum_PRESCRIPTION_TREATMENT_WEBSITE_ES VanityPharmaTextEnum_VanityPharmaText = 3 - // Prescription device website with website content in English. - VanityPharmaTextEnum_PRESCRIPTION_DEVICE_WEBSITE_EN VanityPharmaTextEnum_VanityPharmaText = 4 - // Prescription device website with website content in Spanish (Sitio de - // dispositivos con receta). - VanityPharmaTextEnum_PRESCRIPTION_DEVICE_WEBSITE_ES VanityPharmaTextEnum_VanityPharmaText = 5 - // Medical device website with website content in English. - VanityPharmaTextEnum_MEDICAL_DEVICE_WEBSITE_EN VanityPharmaTextEnum_VanityPharmaText = 6 - // Medical device website with website content in Spanish (Sitio de - // dispositivos médicos). - VanityPharmaTextEnum_MEDICAL_DEVICE_WEBSITE_ES VanityPharmaTextEnum_VanityPharmaText = 7 - // Preventative treatment website with website content in English. - VanityPharmaTextEnum_PREVENTATIVE_TREATMENT_WEBSITE_EN VanityPharmaTextEnum_VanityPharmaText = 8 - // Preventative treatment website with website content in Spanish (Sitio de - // tratamientos preventivos). - VanityPharmaTextEnum_PREVENTATIVE_TREATMENT_WEBSITE_ES VanityPharmaTextEnum_VanityPharmaText = 9 - // Prescription contraception website with website content in English. - VanityPharmaTextEnum_PRESCRIPTION_CONTRACEPTION_WEBSITE_EN VanityPharmaTextEnum_VanityPharmaText = 10 - // Prescription contraception website with website content in Spanish (Sitio - // de anticonceptivos con receta). - VanityPharmaTextEnum_PRESCRIPTION_CONTRACEPTION_WEBSITE_ES VanityPharmaTextEnum_VanityPharmaText = 11 - // Prescription vaccine website with website content in English. - VanityPharmaTextEnum_PRESCRIPTION_VACCINE_WEBSITE_EN VanityPharmaTextEnum_VanityPharmaText = 12 - // Prescription vaccine website with website content in Spanish (Sitio de - // vacunas con receta). - VanityPharmaTextEnum_PRESCRIPTION_VACCINE_WEBSITE_ES VanityPharmaTextEnum_VanityPharmaText = 13 -) - -var VanityPharmaTextEnum_VanityPharmaText_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "PRESCRIPTION_TREATMENT_WEBSITE_EN", - 3: "PRESCRIPTION_TREATMENT_WEBSITE_ES", - 4: "PRESCRIPTION_DEVICE_WEBSITE_EN", - 5: "PRESCRIPTION_DEVICE_WEBSITE_ES", - 6: "MEDICAL_DEVICE_WEBSITE_EN", - 7: "MEDICAL_DEVICE_WEBSITE_ES", - 8: "PREVENTATIVE_TREATMENT_WEBSITE_EN", - 9: "PREVENTATIVE_TREATMENT_WEBSITE_ES", - 10: "PRESCRIPTION_CONTRACEPTION_WEBSITE_EN", - 11: "PRESCRIPTION_CONTRACEPTION_WEBSITE_ES", - 12: "PRESCRIPTION_VACCINE_WEBSITE_EN", - 13: "PRESCRIPTION_VACCINE_WEBSITE_ES", -} - -var VanityPharmaTextEnum_VanityPharmaText_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "PRESCRIPTION_TREATMENT_WEBSITE_EN": 2, - "PRESCRIPTION_TREATMENT_WEBSITE_ES": 3, - "PRESCRIPTION_DEVICE_WEBSITE_EN": 4, - "PRESCRIPTION_DEVICE_WEBSITE_ES": 5, - "MEDICAL_DEVICE_WEBSITE_EN": 6, - "MEDICAL_DEVICE_WEBSITE_ES": 7, - "PREVENTATIVE_TREATMENT_WEBSITE_EN": 8, - "PREVENTATIVE_TREATMENT_WEBSITE_ES": 9, - "PRESCRIPTION_CONTRACEPTION_WEBSITE_EN": 10, - "PRESCRIPTION_CONTRACEPTION_WEBSITE_ES": 11, - "PRESCRIPTION_VACCINE_WEBSITE_EN": 12, - "PRESCRIPTION_VACCINE_WEBSITE_ES": 13, -} - -func (x VanityPharmaTextEnum_VanityPharmaText) String() string { - return proto.EnumName(VanityPharmaTextEnum_VanityPharmaText_name, int32(x)) -} - -func (VanityPharmaTextEnum_VanityPharmaText) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1cee8ebd7fe5a0c2, []int{0, 0} -} - -// The text that will be displayed in display URL of the text ad when website -// description is the selected display mode for vanity pharma URLs. -type VanityPharmaTextEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VanityPharmaTextEnum) Reset() { *m = VanityPharmaTextEnum{} } -func (m *VanityPharmaTextEnum) String() string { return proto.CompactTextString(m) } -func (*VanityPharmaTextEnum) ProtoMessage() {} -func (*VanityPharmaTextEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_1cee8ebd7fe5a0c2, []int{0} -} - -func (m *VanityPharmaTextEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VanityPharmaTextEnum.Unmarshal(m, b) -} -func (m *VanityPharmaTextEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VanityPharmaTextEnum.Marshal(b, m, deterministic) -} -func (m *VanityPharmaTextEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_VanityPharmaTextEnum.Merge(m, src) -} -func (m *VanityPharmaTextEnum) XXX_Size() int { - return xxx_messageInfo_VanityPharmaTextEnum.Size(m) -} -func (m *VanityPharmaTextEnum) XXX_DiscardUnknown() { - xxx_messageInfo_VanityPharmaTextEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_VanityPharmaTextEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.VanityPharmaTextEnum_VanityPharmaText", VanityPharmaTextEnum_VanityPharmaText_name, VanityPharmaTextEnum_VanityPharmaText_value) - proto.RegisterType((*VanityPharmaTextEnum)(nil), "google.ads.googleads.v2.enums.VanityPharmaTextEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/vanity_pharma_text.proto", fileDescriptor_1cee8ebd7fe5a0c2) -} - -var fileDescriptor_1cee8ebd7fe5a0c2 = []byte{ - // 429 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xc1, 0x8a, 0x13, 0x31, - 0x1c, 0xc6, 0x6d, 0xbb, 0xee, 0x6a, 0xaa, 0x18, 0x06, 0x3d, 0x28, 0x56, 0x69, 0x65, 0x0f, 0x5e, - 0x32, 0x30, 0x82, 0x87, 0x78, 0x4a, 0xd3, 0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c, 0x63, 0xbc, 0x26, 0x30, 0xd6, 0x09, 0xc6, 0x81, 0xf9, 0xba, 0x1f, 0x16, 0x7b, 0xf7, - 0x2f, 0x00, 0x00, 0xff, 0xff, 0x25, 0xe3, 0xd6, 0x9b, 0x78, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/webpage_condition_operand.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/webpage_condition_operand.pb.go deleted file mode 100644 index 882c7a57..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/webpage_condition_operand.pb.go +++ /dev/null @@ -1,139 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/webpage_condition_operand.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The webpage condition operand in webpage criterion. -type WebpageConditionOperandEnum_WebpageConditionOperand int32 - -const ( - // Not specified. - WebpageConditionOperandEnum_UNSPECIFIED WebpageConditionOperandEnum_WebpageConditionOperand = 0 - // Used for return value only. Represents value unknown in this version. - WebpageConditionOperandEnum_UNKNOWN WebpageConditionOperandEnum_WebpageConditionOperand = 1 - // Operand denoting a webpage URL targeting condition. - WebpageConditionOperandEnum_URL WebpageConditionOperandEnum_WebpageConditionOperand = 2 - // Operand denoting a webpage category targeting condition. - WebpageConditionOperandEnum_CATEGORY WebpageConditionOperandEnum_WebpageConditionOperand = 3 - // Operand denoting a webpage title targeting condition. - WebpageConditionOperandEnum_PAGE_TITLE WebpageConditionOperandEnum_WebpageConditionOperand = 4 - // Operand denoting a webpage content targeting condition. - WebpageConditionOperandEnum_PAGE_CONTENT WebpageConditionOperandEnum_WebpageConditionOperand = 5 - // Operand denoting a webpage custom label targeting condition. - WebpageConditionOperandEnum_CUSTOM_LABEL WebpageConditionOperandEnum_WebpageConditionOperand = 6 -) - -var WebpageConditionOperandEnum_WebpageConditionOperand_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "URL", - 3: "CATEGORY", - 4: "PAGE_TITLE", - 5: "PAGE_CONTENT", - 6: "CUSTOM_LABEL", -} - -var WebpageConditionOperandEnum_WebpageConditionOperand_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "URL": 2, - "CATEGORY": 3, - "PAGE_TITLE": 4, - "PAGE_CONTENT": 5, - "CUSTOM_LABEL": 6, -} - -func (x WebpageConditionOperandEnum_WebpageConditionOperand) String() string { - return proto.EnumName(WebpageConditionOperandEnum_WebpageConditionOperand_name, int32(x)) -} - -func (WebpageConditionOperandEnum_WebpageConditionOperand) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e5b1d86670a96079, []int{0, 0} -} - -// Container for enum describing webpage condition operand in webpage criterion. -type WebpageConditionOperandEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *WebpageConditionOperandEnum) Reset() { *m = WebpageConditionOperandEnum{} } -func (m *WebpageConditionOperandEnum) String() string { return proto.CompactTextString(m) } -func (*WebpageConditionOperandEnum) ProtoMessage() {} -func (*WebpageConditionOperandEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_e5b1d86670a96079, []int{0} -} - -func (m *WebpageConditionOperandEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebpageConditionOperandEnum.Unmarshal(m, b) -} -func (m *WebpageConditionOperandEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebpageConditionOperandEnum.Marshal(b, m, deterministic) -} -func (m *WebpageConditionOperandEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebpageConditionOperandEnum.Merge(m, src) -} -func (m *WebpageConditionOperandEnum) XXX_Size() int { - return xxx_messageInfo_WebpageConditionOperandEnum.Size(m) -} -func (m *WebpageConditionOperandEnum) XXX_DiscardUnknown() { - xxx_messageInfo_WebpageConditionOperandEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_WebpageConditionOperandEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.WebpageConditionOperandEnum_WebpageConditionOperand", WebpageConditionOperandEnum_WebpageConditionOperand_name, WebpageConditionOperandEnum_WebpageConditionOperand_value) - proto.RegisterType((*WebpageConditionOperandEnum)(nil), "google.ads.googleads.v2.enums.WebpageConditionOperandEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/webpage_condition_operand.proto", fileDescriptor_e5b1d86670a96079) -} - -var fileDescriptor_e5b1d86670a96079 = []byte{ - // 354 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xc1, 0x4e, 0xea, 0x40, - 0x14, 0x7d, 0x2d, 0x4f, 0x30, 0x03, 0xd1, 0x49, 0x37, 0x26, 0x0a, 0x0b, 0xf8, 0x80, 0x69, 0x52, - 0x77, 0x63, 0x5c, 0x4c, 0xeb, 0xd8, 0x10, 0x6b, 0xdb, 0x40, 0x0b, 0xd1, 0x34, 0x69, 0x0a, 0x6d, - 0x9a, 0x26, 0x30, 0xd3, 0x30, 0x80, 0x7b, 0x3f, 0x85, 0xa5, 0x9f, 0xe2, 0xa7, 0xb8, 0xf3, 0x0f, - 0x4c, 0x3b, 0x96, 0x1d, 0x6e, 0x26, 0x67, 0xee, 0xb9, 0xe7, 0xcc, 0xbd, 0x67, 0xc0, 0x7d, 0xce, - 0x79, 0xbe, 0xca, 0xf4, 0x24, 0x15, 0xba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 0xab, 0x84, 0xe5, 0x88, 0x6f, - 0x72, 0x3d, 0xcf, 0x58, 0x1d, 0x43, 0x13, 0x7b, 0x59, 0x88, 0x13, 0xbf, 0x70, 0x57, 0x9f, 0x07, - 0xb5, 0x65, 0x13, 0xf2, 0xa1, 0x0e, 0x6c, 0x69, 0x45, 0x52, 0x81, 0x24, 0xac, 0xd0, 0xcc, 0x40, - 0x55, 0x66, 0xe2, 0xb3, 0xe1, 0x23, 0x92, 0x8a, 0xe8, 0xc8, 0x47, 0x33, 0x23, 0xaa, 0xf9, 0x2f, - 0x75, 0x28, 0x8b, 0x18, 0x93, 0x54, 0x60, 0x7c, 0xec, 0xc0, 0x78, 0x66, 0x60, 0x5c, 0xf7, 0x2c, - 0xda, 0xf5, 0x60, 0xb7, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xc3, 0x70, 0x1d, 0x0d, 0x1d, 0x02, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/webpage_condition_operator.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/webpage_condition_operator.pb.go deleted file mode 100644 index 5790fa06..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/enums/webpage_condition_operator.pb.go +++ /dev/null @@ -1,125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/enums/webpage_condition_operator.proto - -package enums - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The webpage condition operator in webpage criterion. -type WebpageConditionOperatorEnum_WebpageConditionOperator int32 - -const ( - // Not specified. - WebpageConditionOperatorEnum_UNSPECIFIED WebpageConditionOperatorEnum_WebpageConditionOperator = 0 - // Used for return value only. Represents value unknown in this version. - WebpageConditionOperatorEnum_UNKNOWN WebpageConditionOperatorEnum_WebpageConditionOperator = 1 - // The argument web condition is equal to the compared web condition. - WebpageConditionOperatorEnum_EQUALS WebpageConditionOperatorEnum_WebpageConditionOperator = 2 - // The argument web condition is part of the compared web condition. - WebpageConditionOperatorEnum_CONTAINS WebpageConditionOperatorEnum_WebpageConditionOperator = 3 -) - -var WebpageConditionOperatorEnum_WebpageConditionOperator_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "EQUALS", - 3: "CONTAINS", -} - -var WebpageConditionOperatorEnum_WebpageConditionOperator_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "EQUALS": 2, - "CONTAINS": 3, -} - -func (x WebpageConditionOperatorEnum_WebpageConditionOperator) String() string { - return proto.EnumName(WebpageConditionOperatorEnum_WebpageConditionOperator_name, int32(x)) -} - -func (WebpageConditionOperatorEnum_WebpageConditionOperator) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_d504d52fe1d7f440, []int{0, 0} -} - -// Container for enum describing webpage condition operator in webpage -// criterion. -type WebpageConditionOperatorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *WebpageConditionOperatorEnum) Reset() { *m = WebpageConditionOperatorEnum{} } -func (m *WebpageConditionOperatorEnum) String() string { return proto.CompactTextString(m) } -func (*WebpageConditionOperatorEnum) ProtoMessage() {} -func (*WebpageConditionOperatorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_d504d52fe1d7f440, []int{0} -} - -func (m *WebpageConditionOperatorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebpageConditionOperatorEnum.Unmarshal(m, b) -} -func (m *WebpageConditionOperatorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebpageConditionOperatorEnum.Marshal(b, m, deterministic) -} -func (m *WebpageConditionOperatorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebpageConditionOperatorEnum.Merge(m, src) -} -func (m *WebpageConditionOperatorEnum) XXX_Size() int { - return xxx_messageInfo_WebpageConditionOperatorEnum.Size(m) -} -func (m *WebpageConditionOperatorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_WebpageConditionOperatorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_WebpageConditionOperatorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.enums.WebpageConditionOperatorEnum_WebpageConditionOperator", WebpageConditionOperatorEnum_WebpageConditionOperator_name, WebpageConditionOperatorEnum_WebpageConditionOperator_value) - proto.RegisterType((*WebpageConditionOperatorEnum)(nil), "google.ads.googleads.v2.enums.WebpageConditionOperatorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/enums/webpage_condition_operator.proto", fileDescriptor_d504d52fe1d7f440) -} - -var fileDescriptor_d504d52fe1d7f440 = []byte{ - // 312 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xd1, 0x6a, 0xc2, 0x30, - 0x14, 0x9d, 0x15, 0xdc, 0x88, 0x83, 0x95, 0x3e, 0x8d, 0xa1, 0x0f, 0xfa, 0x01, 0x29, 0x74, 0x6f, - 0x19, 0x0c, 0xa2, 0xeb, 0x44, 0x36, 0xa2, 0x9b, 0x53, 0x61, 0x14, 0x24, 0x9a, 0x10, 0x0a, 0x9a, - 0x5b, 0x9a, 0xea, 0xfe, 0x67, 0x8f, 0xfb, 0x94, 0x7d, 0xca, 0x1e, 0xf7, 0x05, 0xa3, 0x89, 0xf5, - 0xad, 0x7b, 0x09, 0x87, 0x9c, 0x7b, 0xce, 0x3d, 0xf7, 0xa0, 0x7b, 0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 0x60, 0x07, 0x4b, 0xb4, 0x88, 0x70, 0xd9, 0x81, 0xf9, 0xae, 0xf8, 0x84, 0x0a, 0x93, 0x9c, - 0xf8, 0x64, 0x11, 0x25, 0x96, 0xff, 0xf1, 0x7a, 0xee, 0x93, 0x10, 0x2a, 0x0c, 0x21, 0xa7, 0x09, - 0x42, 0x16, 0x11, 0x21, 0x76, 0x66, 0xdd, 0xb2, 0xc1, 0x6e, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, - 0xcd, 0x1f, 0xf7, 0xcd, 0xee, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/access_invitation_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/access_invitation_error.pb.go deleted file mode 100644 index 3dd6d76c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/access_invitation_error.pb.go +++ /dev/null @@ -1,125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/access_invitation_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible AccessInvitation errors. -type AccessInvitationErrorEnum_AccessInvitationError int32 - -const ( - // Enum unspecified. - AccessInvitationErrorEnum_UNSPECIFIED AccessInvitationErrorEnum_AccessInvitationError = 0 - // The received error code is not known in this version. - AccessInvitationErrorEnum_UNKNOWN AccessInvitationErrorEnum_AccessInvitationError = 1 - // The email address is invalid for sending an invitation. - AccessInvitationErrorEnum_INVALID_EMAIL_ADDRESS AccessInvitationErrorEnum_AccessInvitationError = 2 - // Email address already has access to this customer. - AccessInvitationErrorEnum_EMAIL_ADDRESS_ALREADY_HAS_ACCESS AccessInvitationErrorEnum_AccessInvitationError = 3 -) - -var AccessInvitationErrorEnum_AccessInvitationError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "INVALID_EMAIL_ADDRESS", - 3: "EMAIL_ADDRESS_ALREADY_HAS_ACCESS", -} - -var AccessInvitationErrorEnum_AccessInvitationError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "INVALID_EMAIL_ADDRESS": 2, - "EMAIL_ADDRESS_ALREADY_HAS_ACCESS": 3, -} - -func (x AccessInvitationErrorEnum_AccessInvitationError) String() string { - return proto.EnumName(AccessInvitationErrorEnum_AccessInvitationError_name, int32(x)) -} - -func (AccessInvitationErrorEnum_AccessInvitationError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e255edc7bfd41f33, []int{0, 0} -} - -// Container for enum describing possible AccessInvitation errors. -type AccessInvitationErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AccessInvitationErrorEnum) Reset() { *m = AccessInvitationErrorEnum{} } -func (m *AccessInvitationErrorEnum) String() string { return proto.CompactTextString(m) } -func (*AccessInvitationErrorEnum) ProtoMessage() {} -func (*AccessInvitationErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_e255edc7bfd41f33, []int{0} -} - -func (m *AccessInvitationErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AccessInvitationErrorEnum.Unmarshal(m, b) -} -func (m *AccessInvitationErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AccessInvitationErrorEnum.Marshal(b, m, deterministic) -} -func (m *AccessInvitationErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccessInvitationErrorEnum.Merge(m, src) -} -func (m *AccessInvitationErrorEnum) XXX_Size() int { - return xxx_messageInfo_AccessInvitationErrorEnum.Size(m) -} -func (m *AccessInvitationErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_AccessInvitationErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_AccessInvitationErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.errors.AccessInvitationErrorEnum_AccessInvitationError", AccessInvitationErrorEnum_AccessInvitationError_name, AccessInvitationErrorEnum_AccessInvitationError_value) - proto.RegisterType((*AccessInvitationErrorEnum)(nil), "google.ads.googleads.v2.errors.AccessInvitationErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/access_invitation_error.proto", fileDescriptor_e255edc7bfd41f33) -} - -var fileDescriptor_e255edc7bfd41f33 = []byte{ - // 331 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xfb, 0x40, - 0x10, 0xc6, 0xff, 0x49, 0xe1, 0x2f, 0x6c, 0x0f, 0x96, 0x40, 0x0f, 0x2d, 0x52, 0x24, 0x78, 0xde, - 0x40, 0xbc, 0xad, 0x5e, 0xa6, 0xcd, 0x5a, 0x83, 0x35, 0x96, 0x86, 0x46, 0x94, 0xc0, 0xb2, 0x36, - 0x61, 0x09, 0xb4, 0xbb, 0x25, 0x5b, 0xf3, 0x22, 0xbe, 0x81, 0x47, 0x1f, 0xc5, 0x47, 0xf1, 0xee, - 0x5d, 0x92, 0xb5, 0x01, 0xa1, 0x7a, 0xda, 0x8f, 0x99, 0xef, 0xf7, 0xed, 0xcc, 0xa0, 0x4b, 0xa1, - 0x94, 0x58, 0xe7, 0x1e, 0xcf, 0xb4, 0x67, 0x64, 0xad, 0x2a, 0xdf, 0xcb, 0xcb, 0x52, 0x95, 0xda, - 0xe3, 0xab, 0x55, 0xae, 0x35, 0x2b, 0x64, 0x55, 0xec, 0x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0x37, 0xa4, - 0x90, 0xe9, 0xb4, 0x35, 0xa4, 0x89, 0x9f, 0x1a, 0xc3, 0x87, 0xed, 0x9a, 0x2a, 0x21, 0x90, 0x69, - 0x42, 0x5a, 0x0b, 0x21, 0x89, 0x4f, 0x88, 0x31, 0x3d, 0xfd, 0x6f, 0xa6, 0x3b, 0xff, 0x0a, 0x00, - 0x00, 0xff, 0xff, 0xbf, 0x11, 0x2d, 0xba, 0x12, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/account_budget_proposal_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/account_budget_proposal_error.pb.go deleted file mode 100644 index db9a76b6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/account_budget_proposal_error.pb.go +++ /dev/null @@ -1,231 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/account_budget_proposal_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_3fa1ad924fb54657, []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_3fa1ad924fb54657, []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 (m *AccountBudgetProposalErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccountBudgetProposalErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.AccountBudgetProposalErrorEnum_AccountBudgetProposalError", AccountBudgetProposalErrorEnum_AccountBudgetProposalError_name, AccountBudgetProposalErrorEnum_AccountBudgetProposalError_value) - proto.RegisterType((*AccountBudgetProposalErrorEnum)(nil), "google.ads.googleads.v2.errors.AccountBudgetProposalErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/account_budget_proposal_error.proto", fileDescriptor_3fa1ad924fb54657) -} - -var fileDescriptor_3fa1ad924fb54657 = []byte{ - // 686 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x54, 0xcb, 0x6e, 0x13, 0x3d, - 0x14, 0xfe, 0x9b, 0xfe, 0xa4, 0xe0, 0x42, 0x6b, 0xdc, 0x0b, 0x25, 0xaa, 0x52, 0x14, 0x96, 0x48, - 0x13, 0x11, 0x04, 0x12, 0x83, 0x58, 0x38, 0x33, 0x4e, 0x62, 0x75, 0xc6, 0x36, 0xbe, 0xa4, 0x55, - 0x15, 0xc9, 0x4a, 0x9b, 0x28, 0xaa, 0xd4, 0x66, 0xa2, 0x4c, 0xda, 0x07, 0x62, 0xc9, 0x8e, 0xd7, - 0x60, 0xcd, 0x53, 0xf0, 0x08, 0xac, 0x90, 0x67, 0x32, 0x69, 0x52, 0x51, 0x16, 0x51, 0xce, 0xd8, - 0xdf, 0xe5, 0x9c, 0x63, 0x1f, 0x83, 0xe6, 0x28, 0x49, 0x46, 0x57, 0xc3, 0x7a, 0x7f, 0x90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0xa1, 0x15, 0x92, 0x0b, 0xae, 0x70, 0x04, 0x1f, 0x2d, 0x81, - 0x24, 0x89, 0x79, 0x97, 0x58, 0xc3, 0x16, 0xb0, 0xa6, 0x09, 0xdb, 0x44, 0xc3, 0x32, 0x7a, 0x05, - 0x0e, 0x57, 0x41, 0xd2, 0x30, 0x46, 0x59, 0xbb, 0x40, 0x6c, 0x2c, 0x21, 0x08, 0x0b, 0xff, 0xa2, - 0xf1, 0x18, 0x55, 0x41, 0x65, 0x09, 0x41, 0x19, 0x0e, 0x34, 0xed, 0x92, 0x62, 0xff, 0x09, 0x3a, - 0x00, 0xbb, 0x79, 0x6c, 0x19, 0x8e, 0x89, 0x2d, 0xaa, 0x82, 0x00, 0x1d, 0x82, 0x83, 0x39, 0xd3, - 0x88, 0x10, 0x6b, 0x62, 0x79, 0xb4, 0xd0, 0xdd, 0x44, 0xfb, 0x00, 0xad, 0xe8, 0x5a, 0x81, 0x95, - 0x86, 0x4f, 0x5d, 0x67, 0x8a, 0xf5, 0x53, 0xed, 0xb6, 0xdc, 0x4f, 0xd3, 0x98, 0xc0, 0x67, 0xa8, - 0x06, 0xaa, 0xc2, 0xc8, 0xa0, 0x83, 0x15, 0xb1, 0x5c, 0x86, 0x44, 0x5a, 0x66, 0xe2, 0x26, 0x91, - 0x77, 0xae, 0x5b, 0x19, 0x86, 0xb0, 0xd0, 0x55, 0x39, 0xb7, 0x2d, 0xba, 0x66, 0xc9, 0x29, 0x55, - 0x5a, 0xc1, 0x6d, 0xf4, 0x19, 0x7c, 0x8c, 0x4d, 0xa4, 0xa9, 0x88, 0x8a, 0x42, 0xd4, 0xf2, 0xa1, - 0xd9, 0x16, 0x97, 0x2b, 0xbd, 0xa0, 0x51, 0xe4, 0xf4, 0x14, 0xd1, 0x46, 0x40, 0x88, 0xea, 0xe0, - 0xcd, 0x6a, 0x61, 0x4a, 0x63, 0xa9, 0xb3, 0x24, 0x33, 0x6a, 0xf6, 0x79, 0xd7, 0xc3, 0xe7,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75, 0x1b, 0xbd, 0x1c, 0xf0, 0xab, 0x54, 0xcb, 0x57, 0x7d, 0x1f, - 0x0f, 0x52, 0xdf, 0x5f, 0x40, 0x7c, 0xbf, 0xdb, 0xf0, 0xfd, 0x1c, 0x74, 0x5e, 0xce, 0xb2, 0x7b, - 0xf7, 0x27, 0x00, 0x00, 0xff, 0xff, 0xc7, 0xc2, 0x7a, 0x09, 0xde, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/ad_customizer_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/ad_customizer_error.pb.go deleted file mode 100644 index c0359e2e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/ad_customizer_error.pb.go +++ /dev/null @@ -1,141 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/ad_customizer_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_bcf33080dbc92e14, []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_bcf33080dbc92e14, []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 (m *AdCustomizerErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdCustomizerErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.AdCustomizerErrorEnum_AdCustomizerError", AdCustomizerErrorEnum_AdCustomizerError_name, AdCustomizerErrorEnum_AdCustomizerError_value) - proto.RegisterType((*AdCustomizerErrorEnum)(nil), "google.ads.googleads.v2.errors.AdCustomizerErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/ad_customizer_error.proto", fileDescriptor_bcf33080dbc92e14) -} - -var fileDescriptor_bcf33080dbc92e14 = []byte{ - // 386 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xcf, 0x8a, 0xd4, 0x40, - 0x10, 0xc6, 0x4d, 0x56, 0x57, 0xe8, 0x3d, 0x98, 0x6d, 0xd8, 0x45, 0x96, 0x75, 0xc1, 0x78, 0xf0, - 0xd6, 0x81, 0x78, 0x91, 0xf6, 0xd4, 0x93, 0xf4, 0x0c, 0xc1, 0xd8, 0x09, 0xf9, 0x37, 0x28, 0x81, - 0x26, 0x4e, 0x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f9, 0xdc, 0xee, 0x07, 0x0e, 0xf1, 0xa9, 0xf1, - 0x18, 0xbe, 0x06, 0xaf, 0xe6, 0xdd, 0x38, 0x21, 0x51, 0xc2, 0x5d, 0xf2, 0x31, 0xe6, 0x0b, 0xba, - 0x0c, 0x22, 0x6a, 0x3c, 0x81, 0x37, 0xe0, 0xfa, 0xb4, 0x12, 0x4f, 0x63, 0x1a, 0x71, 0xdf, 0x8b, - 0x13, 0xe3, 0x72, 0xf1, 0x5b, 0x03, 0xe6, 0x46, 0xec, 0xd0, 0xff, 0xf3, 0x5a, 0xdc, 0xce, 0x1e, - 0x1d, 0x0e, 0x49, 0x85, 0xda, 0x27, 0xf7, 0xe4, 0xac, 0xc5, 0xb6, 0x68, 0x6b, 0x24, 0xba, 0xda, - 0xaa, 0xab, 0x76, 0xcc, 0xf1, 0x7c, 0xb3, 0x7d, 0x23, 0xff, 0x75, 0xc2, 0x77, 0xea, 0xf3, 0x55, - 0xbf, 0x58, 0x11, 0xf2, 0x4d, 0x7f, 0x58, 0xa9, 0x61, 0xa4, 0x94, 0x48, 0xc9, 0x41, 0x65, 0x36, - 0x1a, 0x7f, 0x29, 0xbf, 0x9f, 0x81, 0x9c, 0x94, 0x32, 0x9f, 0x80, 0x3c, 0xb3, 0x73, 0x05, 0xfc, - 0xd2, 0x4d, 0x55, 0xc5, 0x98, 0x94, 0x12, 0xe3, 0x09, 0xc1, 0x38, 0xb3, 0x31, 0x56, 0xd0, 0xe7, - 0xcb, 0x71, 0xbb, 0x37, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xc2, 0xb8, 0xa0, 0x43, 0x5f, 0x02, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/ad_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/ad_error.pb.go deleted file mode 100644 index 42de3adc..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/ad_error.pb.go +++ /dev/null @@ -1,764 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/ad_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 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 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 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 - // Consent for call recording is required for creating/updating call only - // ads. Please see https://support.google.com/google-ads/answer/7412639. - AdErrorEnum_CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED AdErrorEnum_AdError = 131 - // Either an image or a media bundle is required in a display upload ad. - AdErrorEnum_MISSING_IMAGE_OR_MEDIA_BUNDLE AdErrorEnum_AdError = 132 - // The display upload product type is not supported in this campaign. - AdErrorEnum_PRODUCT_TYPE_NOT_SUPPORTED_IN_THIS_CAMPAIGN AdErrorEnum_AdError = 133 -) - -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", - 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", - 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", - 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", - 131: "CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED", - 132: "MISSING_IMAGE_OR_MEDIA_BUNDLE", - 133: "PRODUCT_TYPE_NOT_SUPPORTED_IN_THIS_CAMPAIGN", -} - -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_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_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_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, - "CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED": 131, - "MISSING_IMAGE_OR_MEDIA_BUNDLE": 132, - "PRODUCT_TYPE_NOT_SUPPORTED_IN_THIS_CAMPAIGN": 133, -} - -func (x AdErrorEnum_AdError) String() string { - return proto.EnumName(AdErrorEnum_AdError_name, int32(x)) -} - -func (AdErrorEnum_AdError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_20e577a78261dd7c, []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_20e577a78261dd7c, []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 (m *AdErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.AdErrorEnum_AdError", AdErrorEnum_AdError_name, AdErrorEnum_AdError_value) - proto.RegisterType((*AdErrorEnum)(nil), "google.ads.googleads.v2.errors.AdErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/ad_error.proto", fileDescriptor_20e577a78261dd7c) -} - -var fileDescriptor_20e577a78261dd7c = []byte{ - // 2059 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x58, 0x6b, 0x7b, 0x1c, 0x37, - 0x15, 0xc6, 0x29, 0x34, 0xad, 0x92, 0x34, 0x8a, 0x72, 0xbf, 0x39, 0xa9, 0x93, 0xe6, 0x9e, 0x75, - 0xe2, 0x14, 0xda, 0xba, 0x2d, 0xa0, 0x1d, 0x9d, 0xdd, 0x11, 0xd1, 0x48, 0x13, 0x49, 0xb3, 0xf6, - 0x86, 0x80, 0x70, 0xeb, 0x60, 0x02, 0x89, 0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 0x56, 0x56, 0xd1, 0x23, 0xec, 0x5d, 0x72, 0xb1, 0x33, 0x86, 0x47, 0x34, - 0x15, 0x1e, 0x58, 0x73, 0x85, 0x08, 0x47, 0xdf, 0x61, 0xf3, 0xe4, 0xdc, 0x2e, 0x48, 0xd7, 0x7e, - 0x94, 0x5d, 0x20, 0x67, 0x76, 0xdb, 0x91, 0x4a, 0xc1, 0x3d, 0xa7, 0xc7, 0x3a, 0xa4, 0x57, 0x0e, - 0xd0, 0x7d, 0x57, 0xf5, 0x33, 0xc5, 0x9d, 0x8b, 0x04, 0x98, 0x12, 0x2c, 0xf7, 0xc6, 0x52, 0xc6, - 0xae, 0x90, 0x4b, 0xb5, 0x50, 0xc0, 0x46, 0x95, 0xc4, 0xeb, 0x1e, 0x81, 0x08, 0x85, 0xe9, 0x4b, - 0x05, 0x5c, 0x38, 0x7a, 0x9c, 0xdd, 0x20, 0x57, 0xf7, 0x07, 0xf9, 0x5c, 0x5a, 0x51, 0x72, 0xeb, - 0xf1, 0xae, 0x1d, 0x3d, 0xc1, 0xee, 0x93, 0xbb, 0x5f, 0x8b, 0xb4, 0x20, 0xa4, 0x85, 0xcc, 0xc7, - 0x29, 0x27, 0xd9, 0x59, 0x72, 0x72, 0x66, 0x0a, 0x28, 0x39, 0x44, 0xfe, 0xe9, 0xa9, 0x3d, 0xab, - 0x25, 0x53, 0x74, 0xa2, 0x2a, 0x05, 0x47, 0x8a, 0x43, 0x1f, 0x78, 0x66, 0x74, 0x64, 0xf6, 0x34, - 0xd2, 0x26, 0x64, 0x01, 0xda, 0x49, 0xa3, 0x03, 0x57, 0x16, 0xb8, 0x18, 0x07, 0xa9, 0x43, 0xa5, - 0xa5, 0xd1, 0xf4, 0x0c, 0xee, 0x36, 0xb5, 0x17, 0x95, 0xf3, 0xa1, 0x0f, 0x51, 0x3d, 0x67, 0x31, - 0x10, 0xa6, 0x26, 0xdc, 0xae, 0x9d, 0x76, 0x0e, 0x69, 0x12, 0xd2, 0x95, 0x8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4e, 0x11, 0x96, 0xcc, 0x35, 0x0b, 0x51, - 0xac, 0x2b, 0xe8, 0x72, 0x1a, 0xaf, 0xb4, 0x7c, 0x54, 0x41, 0x6d, 0x58, 0xc5, 0x4b, 0xe9, 0xf8, - 0xd1, 0x2d, 0x11, 0xe3, 0xb8, 0x98, 0x55, 0x21, 0x85, 0xa3, 0xcb, 0x72, 0x28, 0x80, 0x3e, 0x46, - 0xce, 0xbb, 0xe3, 0xde, 0x94, 0x41, 0xc1, 0x08, 0x54, 0x10, 0xa6, 0xe0, 0x52, 0xd3, 0x1f, 0x22, - 0x91, 0x88, 0x28, 0xb8, 0xc2, 0xf4, 0x00, 0x82, 0x3e, 0x89, 0x5d, 0xb0, 0x55, 0x41, 0x9b, 0x90, - 0x1b, 0xe7, 0xe9, 0x8f, 0xd2, 0xea, 0xb1, 0x55, 0x78, 0x54, 0xc9, 0x11, 0x57, 0xe8, 0xc2, 0x8f, - 0xe3, 0x89, 0xac, 0x8a, 0xa8, 0xba, 0xef, 0x6c, 0x09, 0x0b, 0x69, 0x5d, 0x6d, 0xd2, 0x61, 0x7e, - 0x82, 0x39, 0xb4, 0x19, 0xda, 0x73, 0x8e, 0x35, 0x8c, 0x44, 0x34, 0x96, 0xdc, 0xe7, 0x75, 0x87, - 0x83, 0x4d, 0x23, 0x08, 0xfa, 0x59, 0x6b, 0x31, 0xd6, 0xcf, 0x58, 0x3e, 0xc7, 0x90, 0x47, 0xcb, - 0xa3, 0x0a, 0xec, 0x78, 0xc6, 0xb4, 0xce, 0xde, 0x27, 0xf7, 0x62, 0x07, 0x1c, 0xf7, 0x0e, 0x7d, - 0x18, 0x18, 0x0b, 0x5f, 0x97, 0xf8, 0x7f, 0x8a, 0x95, 0xb6, 0x72, 0x60, 0x83, 0x30, 0x50, 0x37, - 0xf7, 0xb1, 0x29, 0xe0, 0x59, 0x86, 0x97, 0xe7, 0x4d, 0xab, 0x5b, 0xba, 0x81, 0x22, 0x9a, 0x29, - 0xca, 0xf5,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, 0xbf, 0xcd, 0xb1, - 0x85, 0x69, 0x9b, 0xd2, 0xd6, 0xce, 0xba, 0x9b, 0xea, 0x57, 0x5a, 0x28, 0xa0, 0x7f, 0x9f, 0x63, - 0xf7, 0xc8, 0xed, 0x24, 0xd6, 0xe8, 0xee, 0xec, 0x2d, 0x62, 0x57, 0x9e, 0xcb, 0x69, 0x07, 0x4d, - 0xff, 0x31, 0xd7, 0xff, 0xef, 0x1c, 0x59, 0xf8, 0x7c, 0xf2, 0xa2, 0xf7, 0xd5, 0xdf, 0x2d, 0xfa, - 0x87, 0x9b, 0xcf, 0x10, 0xe5, 0xd6, 0x64, 0x67, 0x52, 0xce, 0x3d, 0x16, 0x0d, 0x7e, 0x63, 0xf2, - 0x7c, 0x6d, 0x73, 0xa3, 0x37, 0xd9, 0xda, 0x58, 0xdc, 0x78, 0xba, 0x19, 0xbf, 0x62, 0xa4, 0xcf, - 0x24, 0x2f, 0x9f, 0x6d, 0xbf, 0xee, 0xab, 0xc9, 0xc7, 0xf5, 0xcf, 0x3f, 0x0f, 0xbc, 0x31, 0xe4, - 0xfc, 0x5f, 0x07, 0xe6, 0x87, 0xf5, 0x62, 0x7c, 0x7d, 0xbb, 0x57, 0x3f, 0xe2, 0xd3, 0x68, 0xa9, - 0x17, 0xb7, 0xdc, 0xfe, 0x77, 0x02, 0x3c, 0xe1, 0xeb, 0xdb, 0x4f, 0x5a, 0xc0, 0x93, 0xd1, 0xd2, - 0x93, 0x1a, 0xf0, 0xbf, 0x03, 0x0b, 0xf5, 0xe8, 0xf2, 0x32, 0x5f, 0xdf, 0x5e, 0x5e, 0x6e, 0x21, - 0xcb, 0xcb, 0xa3, 0xa5, 0xe5, 0xe5, 0x1a, 0xf4, 0xd9, 0x9b, 0xf1, 0x74, 0x0f, 0xbe, 0x0c, 0x00, - 0x00, 0xff, 0xff, 0x77, 0x5a, 0xc7, 0x5b, 0xd2, 0x11, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/ad_group_ad_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/ad_group_ad_error.pb.go deleted file mode 100644 index ba01d937..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/ad_group_ad_error.pb.go +++ /dev/null @@ -1,158 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/ad_group_ad_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_4f21c135ecafa10d, []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_4f21c135ecafa10d, []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 (m *AdGroupAdErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupAdErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.AdGroupAdErrorEnum_AdGroupAdError", AdGroupAdErrorEnum_AdGroupAdError_name, AdGroupAdErrorEnum_AdGroupAdError_value) - proto.RegisterType((*AdGroupAdErrorEnum)(nil), "google.ads.googleads.v2.errors.AdGroupAdErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/ad_group_ad_error.proto", fileDescriptor_4f21c135ecafa10d) -} - -var fileDescriptor_4f21c135ecafa10d = []byte{ - // 448 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 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f0, 0x86, 0x9c, 0x03, 0x95, 0x53, 0x91, 0x57, 0x5c, 0x02, 0x95, 0x19, 0x8c, 0x31, 0x93, 0x34, - 0xc7, 0x42, 0xb2, 0xbc, 0x94, 0x78, 0x91, 0x16, 0xa5, 0xef, 0xfd, 0x9b, 0x82, 0x4c, 0x20, 0xd0, - 0x4b, 0x07, 0x15, 0xfe, 0x41, 0xf0, 0x8a, 0xbc, 0x00, 0xda, 0xfb, 0x2a, 0x46, 0x51, 0x48, 0xa0, - 0xbd, 0xc3, 0x7f, 0x18, 0xbc, 0x25, 0xaf, 0x13, 0x60, 0x36, 0x93, 0x73, 0x14, 0x50, 0xa2, 0xcc, - 0x99, 0x14, 0x38, 0xcb, 0xe7, 0x48, 0xb7, 0x18, 0x50, 0xff, 0x51, 0x70, 0x4e, 0x4e, 0xef, 0xc0, - 0x44, 0xa0, 0xe5, 0x28, 0x72, 0x81, 0x09, 0x94, 0x3d, 0x57, 0xf8, 0x87, 0xc1, 0x09, 0x79, 0xb9, - 0x4f, 0x94, 0x78, 0x51, 0xf6, 0xb9, 0x23, 0xfb, 0x54, 0x9c, 0xf1, 0xf2, 0x52, 0x4e, 0x52, 0xcc, - 0xa8, 0xff, 0xd8, 0xf6, 0x15, 0x58, 0xe4, 0x95, 0x48, 0x50, 0x0a, 0x9c, 0xa0, 0x40, 0x96, 0x20, - 0x95, 0x29, 0x93, 0xb3, 0x2a, 0x2b, 0x53, 0x9e, 0xa1, 0xcc, 0x79, 0xe1, 0x3f, 0x19, 0xff, 0x19, - 0x90, 0xe1, 0x57, 0x7d, 0x1d, 0xde, 0x3f, 0x93, 0xf1, 0xf3, 0xfd, 0xbf, 0xe5, 0x76, 0x14, 0x7c, - 0xf0, 0x99, 0xde, 0xd9, 0x1a, 0x7d, 0x55, 0xb7, 0x4d, 0xa8, 0xbb, 0x26, 0x6a, 0x96, 0x6d, 0x3f, - 0xa8, 0xed, 0x4a, 0xac, 0x57, 0xe6, 0x7f, 0x1b, 0xf2, 0xc1, 0x1d, 0xdf, 0xbc, 0x83, 0x29, 0xc0, - 0x77, 0xef, 0x6c, 0xea, 0x8a, 0x81, 0x32, 0xa1, 0x93, 0x56, 0xcd, 0x47, 0x61, 0xdf, 0xd2, 0xfc, - 0xdc, 0x02, 0x0b, 0x50, 0x66, 0xb1, 0x03, 0x16, 0xf3, 0xd1, 0xc2, 0x01, 0xbf, 0xbd, 0xa1, 0x8b, - 0xc6, 0x31, 0x28, 0x13, 0xc7, 0x3b, 0x24, 0x8e, 0xe7, 0xa3, 0x38, 0x76, 0xd0, 0x97, 0xc3, 0xfe, - 0x76, 0xef, 0xfe, 0x06, 0x00, 0x00, 0xff, 0xff, 0x09, 0x2b, 0xd4, 0x2c, 0xbe, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/ad_group_bid_modifier_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/ad_group_bid_modifier_error.pb.go deleted file mode 100644 index d3467b19..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/ad_group_bid_modifier_error.pb.go +++ /dev/null @@ -1,128 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/ad_group_bid_modifier_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_76bbe46a4d925b31, []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_76bbe46a4d925b31, []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 (m *AdGroupBidModifierErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupBidModifierErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.AdGroupBidModifierErrorEnum_AdGroupBidModifierError", AdGroupBidModifierErrorEnum_AdGroupBidModifierError_name, AdGroupBidModifierErrorEnum_AdGroupBidModifierError_value) - proto.RegisterType((*AdGroupBidModifierErrorEnum)(nil), "google.ads.googleads.v2.errors.AdGroupBidModifierErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/ad_group_bid_modifier_error.proto", fileDescriptor_76bbe46a4d925b31) -} - -var fileDescriptor_76bbe46a4d925b31 = []byte{ - // 368 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xcd, 0xaa, 0xd4, 0x30, - 0x14, 0xb6, 0xbd, 0xa0, 0x90, 0xbb, 0xb0, 0x74, 0x23, 0x5c, 0x2f, 0xb3, 0xe8, 0x03, 0xa4, 0x50, - 0x57, 0x46, 0x04, 0xd3, 0x26, 0x96, 0x20, 0x93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xeb, 0xbf, 0x07, 0x6f, - 0x13, 0xcc, 0xe7, 0xaa, 0xa8, 0x68, 0x9e, 0x33, 0x42, 0xa5, 0xc8, 0x0a, 0x4a, 0xa4, 0x28, 0x0b, - 0x99, 0xe0, 0x75, 0x86, 0x59, 0xca, 0xe5, 0x7f, 0x8b, 0x98, 0x11, 0xb9, 0x16, 0x64, 0xce, 0xca, - 0xbd, 0xbb, 0xf8, 0xaf, 0x03, 0x82, 0xaf, 0x7a, 0x0f, 0x9f, 0xde, 0x3e, 0x7e, 0xbc, 0x31, 0x7c, - 0x36, 0x6f, 0x9f, 0x39, 0x5f, 0xc8, 0x59, 0xdf, 0xe9, 0x5d, 0x33, 0x74, 0x50, 0x4f, 0x5d, 0xd8, - 0xb5, 0xc3, 0xf2, 0x37, 0x97, 0x7b, 0x8c, 0xbd, 0xb9, 0x75, 0x9e, 0x77, 0xf6, 0xf9, 0xe1, 0xde, - 0xa5, 0x18, 0xff, 0x74, 0x57, 0xa9, 0x35, 0xc3, 0xca, 0x40, 0x0b, 0x67, 0x54, 0x45, 0x70, 0x89, - 0x34, 0xbf, 0x2f, 0x84, 0x1a, 0x2b, 0x53, 0x5f, 0x09, 0x75, 0x15, 0xd5, 0x96, 0xf0, 0xc7, 0x0d, - 0x6c, 0x15, 0x21, 0xac, 0x0c, 0x42, 0x57, 0x0a, 0x42, 0x55, 0x84, 0x90, 0x25, 0x6d, 0x9f, 0x2f, - 0xd3, 0xbd, 0xf9, 0x17, 0x00, 0x00, 0xff, 0xff, 0x4a, 0x70, 0xb1, 0xad, 0x3b, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/ad_group_criterion_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/ad_group_criterion_error.pb.go deleted file mode 100644 index 2b86a507..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/ad_group_criterion_error.pb.go +++ /dev/null @@ -1,315 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/ad_group_criterion_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_65e6f554681cc7e4, []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_65e6f554681cc7e4, []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 (m *AdGroupCriterionErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupCriterionErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.AdGroupCriterionErrorEnum_AdGroupCriterionError", AdGroupCriterionErrorEnum_AdGroupCriterionError_name, AdGroupCriterionErrorEnum_AdGroupCriterionError_value) - proto.RegisterType((*AdGroupCriterionErrorEnum)(nil), "google.ads.googleads.v2.errors.AdGroupCriterionErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/ad_group_criterion_error.proto", fileDescriptor_65e6f554681cc7e4) -} - -var fileDescriptor_65e6f554681cc7e4 = []byte{ - // 976 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x55, 0xdd, 0x72, 0x1b, 0x35, - 0x14, 0xa6, 0x29, 0xb4, 0xa0,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 0xb7, 0x71, 0x50, 0x02, 0xfe, 0x5e, 0xda, 0x2a, 0x7f, 0x6d, 0x36, - 0x61, 0x30, 0x69, 0x36, 0x67, 0x90, 0x66, 0xb3, 0xdb, 0x68, 0x36, 0x4b, 0xd0, 0xaf, 0xd7, 0x0a, - 0x75, 0x4f, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xcf, 0xf5, 0x32, 0x92, 0xd7, 0x07, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/ad_group_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/ad_group_error.pb.go deleted file mode 100644 index 1dcd860f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/ad_group_error.pb.go +++ /dev/null @@ -1,182 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/ad_group_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_ae2503614cacbf10, []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_ae2503614cacbf10, []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 (m *AdGroupErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.AdGroupErrorEnum_AdGroupError", AdGroupErrorEnum_AdGroupError_name, AdGroupErrorEnum_AdGroupError_value) - proto.RegisterType((*AdGroupErrorEnum)(nil), "google.ads.googleads.v2.errors.AdGroupErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/ad_group_error.proto", fileDescriptor_ae2503614cacbf10) -} - -var fileDescriptor_ae2503614cacbf10 = []byte{ - // 554 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xe1, 0x6a, 0xd4, 0x40, - 0x14, 0x85, 0xed, 0xb6, 0xb6, 0x3a, 0xad, 0x3a, 0x0e, 0x22, 0x52, 0x4a, 0xd1, 0x05, 0x45, 0x44, - 0xb2, 0xb0, 0x55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- 0x4c, 0xe8, 0x74, 0x82, 0xef, 0x90, 0x00, 0xbd, 0x0f, 0x41, 0x58, 0x01, 0xd0, 0xcb, 0x3f, 0x20, - 0xf7, 0xdd, 0x20, 0xaa, 0xc0, 0x68, 0x79, 0xa9, 0x3e, 0xe2, 0xfa, 0x40, 0x66, 0xba, 0xed, 0x2b, - 0xa6, 0x35, 0x17, 0x11, 0xbe, 0x1b, 0xfc, 0x5a, 0x41, 0xfd, 0xcf, 0xd5, 0x99, 0xf7, 0xff, 0x9c, - 0x05, 0xf7, 0xaf, 0x26, 0x26, 0xb1, 0xe1, 0x4a, 0x56, 0x3e, 0xd2, 0x3f, 0xa2, 0xa2, 0x3a, 0x9d, - 0x95, 0x85, 0x57, 0xd5, 0xc5, 0xa0, 0x38, 0x2e, 0xdb, 0xe8, 0x75, 0x09, 0x9f, 0x9f, 0x34, 0xff, - 0x0a, 0xfc, 0x3b, 0xf7, 0xf8, 0xd6, 0x5b, 0x8d, 0x00, 0xbe, 0xf7, 0x76, 0x23, 0x37, 0x0c, 0xf2, - 0xc6, 0x73, 0xa5, 0xad, 0xc6, 0x43, 0xaf, 0x5d, 0xd9, 0xfc, 0xe8, 0x80, 0x29, 0xe4, 0xcd, 0x74, - 0x09, 0x4c, 0xc7, 0xc3, 0xa9, 0x03, 0x7e, 0xf6, 0xfa, 0xae, 0xeb, 0xfb, 0x90, 0x37, 0xbe, 0xbf, - 0x44, 0x7c, 0x7f, 0x3c, 0xf4, 0x7d, 0x07, 0x7d, 0x5a, 0x6f, 0xdd, 0xed, 0xfd, 0x0e, 0x00, 0x00, - 0xff, 0xff, 0x35, 0xbf, 0xa0, 0x0c, 0x8d, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/ad_group_feed_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/ad_group_feed_error.pb.go deleted file mode 100644 index f0abeceb..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/ad_group_feed_error.pb.go +++ /dev/null @@ -1,154 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/ad_group_feed_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_44c760554a19ed2d, []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_44c760554a19ed2d, []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 (m *AdGroupFeedErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupFeedErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.AdGroupFeedErrorEnum_AdGroupFeedError", AdGroupFeedErrorEnum_AdGroupFeedError_name, AdGroupFeedErrorEnum_AdGroupFeedError_value) - proto.RegisterType((*AdGroupFeedErrorEnum)(nil), "google.ads.googleads.v2.errors.AdGroupFeedErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/ad_group_feed_error.proto", fileDescriptor_44c760554a19ed2d) -} - -var fileDescriptor_44c760554a19ed2d = []byte{ - // 445 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xc1, 0x6a, 0xd4, 0x40, - 0x1c, 0xc6, 0xdd, 0x54, 0x5b, 0x99, 0x1e, 0x0c, 0x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0x48, 0x8d, 0xad, 0x34, 0xaa, 0x0e, 0xf1, 0x78, 0xa5, 0xfe, 0xb1, 0x05, 0x96, - 0x44, 0xea, 0xe5, 0x0e, 0x58, 0xd6, 0xe1, 0xd2, 0x02, 0xbf, 0x1c, 0xdf, 0x9e, 0x46, 0x11, 0x91, - 0x3a, 0x8a, 0x76, 0x48, 0x14, 0xd5, 0x61, 0x14, 0x59, 0xe8, 0xd3, 0xfe, 0xd8, 0xee, 0xd5, 0x9f, - 0x00, 0x00, 0x00, 0xff, 0xff, 0x1b, 0x4d, 0xd4, 0xc6, 0xd2, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/ad_parameter_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/ad_parameter_error.pb.go deleted file mode 100644 index 479fd696..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/ad_parameter_error.pb.go +++ /dev/null @@ -1,126 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/ad_parameter_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible ad parameter errors. -type AdParameterErrorEnum_AdParameterError int32 - -const ( - // Enum unspecified. - AdParameterErrorEnum_UNSPECIFIED AdParameterErrorEnum_AdParameterError = 0 - // The received error code is not known in this version. - AdParameterErrorEnum_UNKNOWN AdParameterErrorEnum_AdParameterError = 1 - // The ad group criterion must be a keyword criterion. - AdParameterErrorEnum_AD_GROUP_CRITERION_MUST_BE_KEYWORD AdParameterErrorEnum_AdParameterError = 2 - // The insertion text is invalid. - AdParameterErrorEnum_INVALID_INSERTION_TEXT_FORMAT AdParameterErrorEnum_AdParameterError = 3 -) - -var AdParameterErrorEnum_AdParameterError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "AD_GROUP_CRITERION_MUST_BE_KEYWORD", - 3: "INVALID_INSERTION_TEXT_FORMAT", -} - -var AdParameterErrorEnum_AdParameterError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "AD_GROUP_CRITERION_MUST_BE_KEYWORD": 2, - "INVALID_INSERTION_TEXT_FORMAT": 3, -} - -func (x AdParameterErrorEnum_AdParameterError) String() string { - return proto.EnumName(AdParameterErrorEnum_AdParameterError_name, int32(x)) -} - -func (AdParameterErrorEnum_AdParameterError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a5382df3d7f90d49, []int{0, 0} -} - -// Container for enum describing possible ad parameter errors. -type AdParameterErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdParameterErrorEnum) Reset() { *m = AdParameterErrorEnum{} } -func (m *AdParameterErrorEnum) String() string { return proto.CompactTextString(m) } -func (*AdParameterErrorEnum) ProtoMessage() {} -func (*AdParameterErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_a5382df3d7f90d49, []int{0} -} - -func (m *AdParameterErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdParameterErrorEnum.Unmarshal(m, b) -} -func (m *AdParameterErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdParameterErrorEnum.Marshal(b, m, deterministic) -} -func (m *AdParameterErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdParameterErrorEnum.Merge(m, src) -} -func (m *AdParameterErrorEnum) XXX_Size() int { - return xxx_messageInfo_AdParameterErrorEnum.Size(m) -} -func (m *AdParameterErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_AdParameterErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_AdParameterErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.errors.AdParameterErrorEnum_AdParameterError", AdParameterErrorEnum_AdParameterError_name, AdParameterErrorEnum_AdParameterError_value) - proto.RegisterType((*AdParameterErrorEnum)(nil), "google.ads.googleads.v2.errors.AdParameterErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/ad_parameter_error.proto", fileDescriptor_a5382df3d7f90d49) -} - -var fileDescriptor_a5382df3d7f90d49 = []byte{ - // 349 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xeb, 0x40, - 0x18, 0x85, 0x6f, 0x52, 0xb8, 0x17, 0xa6, 0x8b, 0x1b, 0x82, 0x6e, 0x44, 0x0b, 0x66, 0xe1, 0x72, - 0x02, 0x71, 0x21, 0x8c, 0xab, 0x69, 0x33, 0x2d, 0xa1, 0x36, 0x09, 0x69, 0x92, 0xaa, 0x04, 0x86, - 0xd1, 0x84, 0x50, 0x68, 0x33, 0x61, 0x26, 0x76, 0xe3, 0x63, 0xf8, 0x06, 0x2e, 0x7d, 0x14, 0x1f, - 0xc5, 0x95, 0x8f, 0x20, 0xc9, 0x98, 0x2e, 0x0a, 0xba, 0x9a, 0xc3, 0xcf, 0x77, 0xce, 0xfc, 0xe7, - 0x07, 0x57, 0x25, 0xe7, 0xe5, 0xa6, 0xb0, 0x59, 0x2e, 0x6d, 0x25, 0x5b, 0xb5, 0x73, 0xec, 0x42, - 0x08, 0x2e, 0xa4, 0xcd, 0x72, 0x5a, 0x33, 0xc1, 0xb6, 0x45, 0x53, 0x08, 0xda, 0xcd, 0x60, 0x2d, - 0x78, 0xc3, 0xcd, 0x91, 0xa2, 0x21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0xf7, 0xa5, 0x7c, 0xef, - 0x81, 0x0c, 0xe7, 0x32, 0xdb, 0x03, 0x59, 0xea, 0x64, 0x0a, 0xf8, 0xd0, 0x2d, 0x35, 0x45, 0x08, - 0xe7, 0x12, 0xa1, 0x3d, 0x82, 0x50, 0xea, 0x20, 0xa4, 0xa0, 0x87, 0xbf, 0xdd, 0x76, 0x97, 0x5f, - 0x01, 0x00, 0x00, 0xff, 0xff, 0xe6, 0xd3, 0x5f, 0x07, 0x08, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/ad_sharing_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/ad_sharing_error.pb.go deleted file mode 100644 index 13117a99..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/ad_sharing_error.pb.go +++ /dev/null @@ -1,132 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/ad_sharing_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_d4e9dd35f63014b1, []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_d4e9dd35f63014b1, []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 (m *AdSharingErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdSharingErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.AdSharingErrorEnum_AdSharingError", AdSharingErrorEnum_AdSharingError_name, AdSharingErrorEnum_AdSharingError_value) - proto.RegisterType((*AdSharingErrorEnum)(nil), "google.ads.googleads.v2.errors.AdSharingErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/ad_sharing_error.proto", fileDescriptor_d4e9dd35f63014b1) -} - -var fileDescriptor_d4e9dd35f63014b1 = []byte{ - // 360 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xdf, 0x4a, 0xe3, 0x40, - 0x14, 0x87, 0x37, 0xe9, 0xb2, 0x0b, 0x53, 0xd8, 0x0d, 0xd9, 0x9b, 0x65, 0x29, 0x65, 0xc9, 0x03, - 0x4c, 0x20, 0xe2, 0xcd, 0x78, 0x75, 0x9a, 0x8c, 0x35, 0x58, 0x27, 0x21, 0xff, 0x44, 0x09, 0x0c, - 0xd1, 0x94, 0x18, 0x68, 0x33, 0x25, 0x53, 0xfb, 0x20, 0x3e, 0x82, 0x77, 0xfa, 0x28, 0x3e, 0x8a, - 0x17, 0x3e, 0x83, 0x24, 0x63, 0x0a, 0xbd, 0xd0, 0xab, 0xf9, 0x71, 0xf8, 0xbe, 0x33, 0xe7, 0x1c, - 0x74, 0x5c, 0x09, 0x51, 0xad, 0x96, 0x76, 0x51, 0x4a, 0x5b, 0xc5, 0x2e, 0xed, 0x1c, 0x7b, 0xd9, - 0xb6, 0xa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, 0x76, 0xb5, 0x6c, 0xfa, 0x2b, 0x0c, 0xe7, 0xde, - 0xd4, 0xf2, 0xb3, 0xeb, 0x9f, 0xa8, 0xe7, 0x51, 0x1f, 0xcd, 0x01, 0x9e, 0xf5, 0xe9, 0x5c, 0x35, - 0x83, 0x52, 0x62, 0x15, 0xbb, 0x94, 0x39, 0xb8, 0xff, 0x52, 0xbe, 0x0c, 0x40, 0x0e, 0xa5, 0xcc, - 0xf7, 0x40, 0x9e, 0x39, 0xb9, 0x02, 0x5e, 0x75, 0x4b, 0x55, 0x09, 0x81, 0x52, 0x12, 0xb2, 0x47, - 0x08, 0xc9, 0x1c, 0x42, 0x14, 0x74, 0xf3, 0xa3, 0x9f, 0xee, 0xe8, 0x3d, 0x00, 0x00, 0xff, 0xff, - 0x56, 0x02, 0xa1, 0xc0, 0x1a, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/adx_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/adx_error.pb.go deleted file mode 100644 index 0ccb3454..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/adx_error.pb.go +++ /dev/null @@ -1,119 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/adx_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_64584b858be7dbce, []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_64584b858be7dbce, []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 (m *AdxErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdxErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.AdxErrorEnum_AdxError", AdxErrorEnum_AdxError_name, AdxErrorEnum_AdxError_value) - proto.RegisterType((*AdxErrorEnum)(nil), "google.ads.googleads.v2.errors.AdxErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/adx_error.proto", fileDescriptor_64584b858be7dbce) -} - -var fileDescriptor_64584b858be7dbce = []byte{ - // 293 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xf3, 0x30, - 0x14, 0xc7, 0xbf, 0xf6, 0x03, 0x95, 0x4c, 0xb1, 0xd4, 0x0b, 0x41, 0x64, 0x17, 0x7d, 0x80, 0x04, - 0xea, 0x5d, 0xbc, 0xca, 0x6c, 0x36, 0x86, 0xd0, 0xd5, 0x6d, 0xad, 0x20, 0x85, 0x11, 0x4d, 0x09, - 0x85, 0x2d, 0x29, 0x4d, 0x1d, 0x7b, 0x1e, 0x2f, 0x7d, 0x14, 0x9f, 0x44, 0x7c, 0x0a, 0x69, 0x8f, - 0xed, 0x9d, 0x5e, 0xe5, 0x97, 0xc3, 0xef, 0x9c, 0xf3, 0xe7, 0x20, 0xac, 0x8c, 0x51, 0xdb, 0x82, - 0x08, 0x69, 0x09, 0x60, 0x4b, 0xfb, 0x90, 0x14, 0x75, 0x6d, 0x6a, 0x4b, 0x84, 0x3c, 0x6c, 0x3a, - 0xc4, 0x55, 0x6d, 0x1a, 0xe3, 0x8f, 0x41, 0xc2, 0x42, 0x5a, 0x3c, 0xf8, 0x78, 0x1f, 0x62, 0xf0, - 0xaf, 0xae, 0xfb, 0x79, 0x55, 0x49, 0x84, 0xd6, 0xa6, 0x11, 0x4d, 0x69, 0xb4, 0x85, 0xee, 0xe0, - 0x01, 0x9d, 0x32, 0x79, 0xe0, 0xad, 0xca, 0xf5, 0xeb, 0x2e, 0x60, 0xe8, 0xa4, 0xff, 0xfb, 0xe7, - 0x68, 0x94, 0xc6, 0xab, 0x84, 0xdf, 0xcd, 0xa7, 0x73, 0x1e, 0x79, 0xff, 0xfc, 0x11, 0x3a, 0x4e, - 0xe3, 0xfb, 0x78, 0xf1, 0x18, 0x7b, 0x8e, 0x7f, 0x89, 0x2e, 0xd2, 0x78, 0x95, 0x26, 0xc9, 0x62, - 0xb9, 0xe6, 0xd1, 0x66, 0xca, 0xd9, 0x3a, 0x5d, 0x72, 0xcf, 0x9d, 0x7c, 0x3a, 0x28, 0x78, 0x31, - 0x3b, 0xfc, 0x77, 0xae, 0xc9, 0x59, 0xbf, 0x27, 0x69, 0x83, 0x24, 0xce, 0x53, 0xf4, 0xd3, 0xa0, - 0xcc, 0x56, 0x68, 0x85, 0x4d, 0xad, 0x88, 0x2a, 0x74, 0x17, 0xb3, 0x3f, 0x44, 0x55, 0xda, 0xdf, - 0xee, 0x72, 0x0b, 0xcf, 0x9b, 0xfb, 0x7f, 0xc6, 0xd8, 0xbb, 0x3b, 0x9e, 0xc1, 0x30, 0x26, 0x2d, - 0x06, 0x6c, 0x29, 0x0b, 0x71, 0xb7, 0xd2, 0x7e, 0xf4, 0x42, 0xce, 0xa4, 0xcd, 0x07, 0x21, 0xcf, - 0xc2, 0x1c, 0x84, 0x2f, 0x37, 0x80, 0x2a, 0xa5, 0x4c, 0x5a, 0x4a, 0x07, 0x85, 0xd2, 0x2c, 0xa4, - 0x14, 0xa4, 0xe7, 0xa3, 0x2e, 0xdd, 0xcd, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x97, 0xee, 0x4e, - 0x83, 0xb4, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/asset_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/asset_error.pb.go deleted file mode 100644 index 91bf250e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/asset_error.pb.go +++ /dev/null @@ -1,142 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/asset_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible asset errors. -type AssetErrorEnum_AssetError int32 - -const ( - // Enum unspecified. - AssetErrorEnum_UNSPECIFIED AssetErrorEnum_AssetError = 0 - // The received error code is not known in this version. - AssetErrorEnum_UNKNOWN AssetErrorEnum_AssetError = 1 - // The customer is not whitelisted for this asset type. - AssetErrorEnum_CUSTOMER_NOT_WHITELISTED_FOR_ASSET_TYPE AssetErrorEnum_AssetError = 2 - // Assets are duplicated across operations. - AssetErrorEnum_DUPLICATE_ASSET AssetErrorEnum_AssetError = 3 - // The asset name is duplicated, either across operations or with an - // existing asset. - AssetErrorEnum_DUPLICATE_ASSET_NAME AssetErrorEnum_AssetError = 4 - // The Asset.asset_data oneof is empty. - AssetErrorEnum_ASSET_DATA_IS_MISSING AssetErrorEnum_AssetError = 5 - // The asset has a name which is different from an existing duplicate that - // represents the same content. - AssetErrorEnum_CANNOT_MODIFY_ASSET_NAME AssetErrorEnum_AssetError = 6 -) - -var AssetErrorEnum_AssetError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "CUSTOMER_NOT_WHITELISTED_FOR_ASSET_TYPE", - 3: "DUPLICATE_ASSET", - 4: "DUPLICATE_ASSET_NAME", - 5: "ASSET_DATA_IS_MISSING", - 6: "CANNOT_MODIFY_ASSET_NAME", -} - -var AssetErrorEnum_AssetError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "CUSTOMER_NOT_WHITELISTED_FOR_ASSET_TYPE": 2, - "DUPLICATE_ASSET": 3, - "DUPLICATE_ASSET_NAME": 4, - "ASSET_DATA_IS_MISSING": 5, - "CANNOT_MODIFY_ASSET_NAME": 6, -} - -func (x AssetErrorEnum_AssetError) String() string { - return proto.EnumName(AssetErrorEnum_AssetError_name, int32(x)) -} - -func (AssetErrorEnum_AssetError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_5022e6eac8521f09, []int{0, 0} -} - -// Container for enum describing possible asset errors. -type AssetErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AssetErrorEnum) Reset() { *m = AssetErrorEnum{} } -func (m *AssetErrorEnum) String() string { return proto.CompactTextString(m) } -func (*AssetErrorEnum) ProtoMessage() {} -func (*AssetErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_5022e6eac8521f09, []int{0} -} - -func (m *AssetErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AssetErrorEnum.Unmarshal(m, b) -} -func (m *AssetErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AssetErrorEnum.Marshal(b, m, deterministic) -} -func (m *AssetErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AssetErrorEnum.Merge(m, src) -} -func (m *AssetErrorEnum) XXX_Size() int { - return xxx_messageInfo_AssetErrorEnum.Size(m) -} -func (m *AssetErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_AssetErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_AssetErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.errors.AssetErrorEnum_AssetError", AssetErrorEnum_AssetError_name, AssetErrorEnum_AssetError_value) - proto.RegisterType((*AssetErrorEnum)(nil), "google.ads.googleads.v2.errors.AssetErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/asset_error.proto", fileDescriptor_5022e6eac8521f09) -} - -var fileDescriptor_5022e6eac8521f09 = []byte{ - // 380 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xc1, 0x8e, 0xd3, 0x30, - 0x10, 0x86, 0x49, 0x16, 0x16, 0xc9, 0x2b, 0xd1, 0xc8, 0x80, 0xb4, 0xa0, 0xd5, 0x1e, 0x72, 0xe1, - 0x80, 0xe4, 0xa0, 0x70, 0x33, 0x27, 0x6f, 0xe2, 0x16, 0x8b, 0x8d, 0x13, 0xd5, 0x4e, 0xab, 0xa2, - 0x48, 0x56, 0x20, 0x51, 0x54, 0xa9, 0x8d, 0xab, 0x38, 0xf4, 0x81, 0x38, 0xf2, 0x12, 0xdc, 0x39, - 0xf2, 0x18, 0x7d, 0x0a, 0x94, 0x98, 0xb6, 0x08, 0x09, 0x4e, 0xfe, 0x67, 0xfc, 0xfd, 0x33, 0xf6, - 0x0c, 0x78, 0xd3, 0x68, 0xdd, 0x6c, 0xea, 0xa0, 0xac, 0x4c, 0x60, 0xe5, 0xa0, 0xf6, 0x61, 0x50, - 0x77, 0x9d, 0xee, 0x4c, 0x50, 0x1a, 0x53, 0xf7, 0x6a, 0x0c, 0xd0, 0xae, 0xd3, 0xbd, 0x86, 0xb7, - 0x16, 0x43, 0x65, 0x65, 0xd0, 0xc9, 0x81, 0xf6, 0x21, 0xb2, 0x8e, 0x97, 0x37, 0xc7, 0x8a, 0xbb, - 0x75, 0x50, 0xb6, 0xad, 0xee, 0xcb, 0x7e, 0xad, 0x5b, 0x63, 0xdd, 0xfe, 0x4f, 0x07, 0x3c, 0x21, - 0x43, 0x4d, 0x3a, 0xd0, 0xb4, 0xfd, 0xb2, 0xf5, 0xbf, 0x3b, 0x00, 0x9c, 0x53, 0x70, 0x02, 0xae, - 0x72, 0x2e, 0x32, 0x1a, 0xb1, 0x29, 0xa3, 0xb1, 0xf7, 0x00, 0x5e, 0x81, 0xc7, 0x39, 0xff, 0xc0, - 0xd3, 0x25, 0xf7, 0x1c, 0xf8, 0x1a, 0xbc, 0x8a, 0x72, 0x21, 0xd3, 0x84, 0xce, 0x15, 0x4f, 0xa5, - 0x5a, 0xbe, 0x67, 0x92, 0xde, 0x33, 0x21, 0x69, 0xac, 0xa6, 0xe9, 0x5c, 0x11, 0x21, 0xa8, 0x54, - 0x72, 0x95, 0x51, 0xcf, 0x85, 0x4f, 0xc1, 0x24, 0xce, 0xb3, 0x7b, 0x16, 0x11, 0x49, 0xed, 0x8d, - 0x77, 0x01, 0xaf, 0xc1, 0xb3, 0xbf, 0x92, 0x8a, 0x93, 0x84, 0x7a, 0x0f, 0xe1, 0x0b, 0xf0, 0xdc, - 0xc6, 0x31, 0x91, 0x44, 0x31, 0xa1, 0x12, 0x26, 0x04, 0xe3, 0x33, 0xef, 0x11, 0xbc, 0x01, 0xd7, - 0x11, 0xe1, 0x43, 0xc3, 0x24, 0x8d, 0xd9, 0x74, 0xf5, 0xa7, 0xf1, 0xf2, 0xee, 0xe0, 0x00, 0xff, - 0xb3, 0xde, 0xa2, 0xff, 0x4f, 0xe6, 0x6e, 0x72, 0xfe, 0x65, 0x36, 0x0c, 0x23, 0x73, 0x3e, 0xc6, - 0xbf, 0x2d, 0x8d, 0xde, 0x94, 0x6d, 0x83, 0x74, 0xd7, 0x04, 0x4d, 0xdd, 0x8e, 0xa3, 0x3a, 0xae, - 0x63, 0xb7, 0x36, 0xff, 0xda, 0xce, 0x3b, 0x7b, 0x7c, 0x75, 0x2f, 0x66, 0x84, 0x7c, 0x73, 0x6f, - 0x67, 0xb6, 0x18, 0xa9, 0x0c, 0xb2, 0x72, 0x50, 0x8b, 0x10, 0x8d, 0x2d, 0xcd, 0x8f, 0x23, 0x50, - 0x90, 0xca, 0x14, 0x27, 0xa0, 0x58, 0x84, 0x85, 0x05, 0x0e, 0xae, 0x6f, 0xb3, 0x18, 0x93, 0xca, - 0x60, 0x7c, 0x42, 0x30, 0x5e, 0x84, 0x18, 0x5b, 0xe8, 0xd3, 0xe5, 0xf8, 0xba, 0xb7, 0xbf, 0x02, - 0x00, 0x00, 0xff, 0xff, 0x5d, 0xc4, 0x77, 0xcf, 0x3a, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/authentication_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/authentication_error.pb.go deleted file mode 100644 index e7d5e006..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/authentication_error.pb.go +++ /dev/null @@ -1,208 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/authentication_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_31adcc0d0b43635d, []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_31adcc0d0b43635d, []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 (m *AuthenticationErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AuthenticationErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.AuthenticationErrorEnum_AuthenticationError", AuthenticationErrorEnum_AuthenticationError_name, AuthenticationErrorEnum_AuthenticationError_value) - proto.RegisterType((*AuthenticationErrorEnum)(nil), "google.ads.googleads.v2.errors.AuthenticationErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/authentication_error.proto", fileDescriptor_31adcc0d0b43635d) -} - -var fileDescriptor_31adcc0d0b43635d = []byte{ - // 558 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x53, 0xdd, 0x6e, 0xd3, 0x30, - 0x14, 0x66, 0x65, 0xfc, 0x79, 0x83, 0x19, 0x77, 0xec, 0x4f, 0x30, 0x41, 0x35, 0x21, 0xb8, 0x20, - 0x91, 0xca, 0x15, 0xe1, 0xca, 0x8b, 0x4f, 0x3b, 0xab, 0x99, 0x1d, 0x12, 0x27, 0x43, 0xa8, 0x92, - 0x15, 0xd6, 0x2a, 0x54, 0xda, 0x92, 0xa9, 0xe9, 0xf6, 0x40, 0x5c, 0xf2, 0x28, 0x88, 0x07, 0x41, - 0xdc, 0xf2, 0x02, 0xc8, 0xc9, 0x12, 0x6d, 0x61, 0x70, 0xd5, 0x53, 0x7f, 0x3f, 0xe7, 0xf3, 0xc9, - 0x31, 0x7a, 0x97, 0xe6, 0x79, 0x7a, 0x32, 0xb5, 0x93, 0x49, 0x61, 0x57, 0xa5, 0xa9, 0x2e, 0xfa, - 0xf6, 0x74, 0x3e, 0xcf, 0xe7, 0x85, 0x9d, 0x9c, 0x2f, 0xbe, 0x4c, 0xb3, 0xc5, 0xec, 0x38, 0x59, - 0xcc, 0xf2, 0x4c, 0x97, 0xa7, 0xd6, 0xd9, 0x3c, 0x5f, 0xe4, 0x64, 0xb7, 0xe2, 0x5b, 0xc9, 0xa4, - 0xb0, 0x1a, 0xa9, 0x75, 0xd1, 0xb7, 0x2a, 0xe9, 0xce, 0xd3, 0xda, 0xfa, 0x6c, 0x66, 0x27, 0x59, - 0x96, 0x2f, 0x4a, 0x8b, 0xa2, 0x52, 0xf7, 0x7e, 0x2e, 0xa3, 0x4d, 0x7a, 0xcd, 0x1c, 0x8c, 0x0c, - 0xb2, 0xf3, 0xd3, 0xde, 0x8f, 0x65, 0xd4, 0xbd, 0x01, 0x23, 0x6b, 0x68, 0x25, 0x12, 0xa1, 0x0f, - 0x2e, 0x1f, 0x70, 0x60, 0xf8, 0x16, 0x59, 0x41, 0xf7, 0x22, 0x31, 0x12, 0xf2, 0x48, 0xe0, 0x25, - 0xb2, 0x85, 0xd6, 0x69, 0xa4, 0x0e, 0x40, 0x28, 0xee, 0x52, 0xc5, 0xa5, 0xd0, 0x10, 0x04, 0x32, - 0xc0, 0x1d, 0xb2, 0x8b, 0x76, 0x5c, 0x8f, 0x83, 0x50, 0xda, 0x8d, 0x42, 0x25, 0x0f, 0x21, 0xd0, - 0x9c, 0x69, 0x2e, 0x62, 0xea, 0x71, 0x86, 0xef, 0x90, 0x0d, 0x44, 0x1a, 0x40, 0x48, 0xa5, 0x07, - 0x32, 0x12, 0x0c, 0xdf, 0x27, 0x3b, 0x68, 0x63, 0x28, 0xe5, 0xd0, 0x03, 0x4d, 0x5d, 0x57, 0x46, - 0x42, 0x69, 0x06, 0x1e, 0x28, 0x60, 0xf8, 0x01, 0x79, 0x81, 0x9e, 0xb5, 0x30, 0x57, 0xca, 0x11, - 0x87, 0xc6, 0x16, 0x91, 0x57, 0x68, 0xaf, 0x45, 0x69, 0xe5, 0x1b, 0x50, 0xee, 0x01, 0xc3, 0xdb, - 0xe4, 0x0d, 0x7a, 0xdd, 0x62, 0x46, 0x21, 0x04, 0x9a, 0x0a, 0xa6, 0x29, 0x0b, 0xab, 0x3f, 0x87, - 0x3c, 0x3c, 0xa4, 0xca, 0x3d, 0xc0, 0xab, 0x64, 0x1b, 0x3d, 0xf1, 0xe4, 0x90, 0x8b, 0xba, 0x65, - 0x00, 0x1f, 0x22, 0x1e, 0x00, 0xc3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 0x2c, 0xbe, 0xd7, 0x84, 0x31, - 0x9d, 0x14, 0xe3, 0x86, 0x30, 0x8e, 0xfb, 0xe3, 0x8a, 0xf0, 0xab, 0xd3, 0xab, 0x4e, 0x1d, 0x87, - 0x4e, 0x0a, 0xc7, 0x69, 0x28, 0x8e, 0x13, 0xf7, 0x1d, 0xa7, 0x22, 0x7d, 0xbe, 0x5b, 0xa6, 0x7b, - 0xfb, 0x27, 0x00, 0x00, 0xff, 0xff, 0xcc, 0x1b, 0x46, 0xee, 0xe2, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/authorization_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/authorization_error.pb.go deleted file mode 100644 index d39df843..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/authorization_error.pb.go +++ /dev/null @@ -1,179 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/authorization_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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. Note: If you're - // accessing a client customer, the manager's customer ID must be set in the - // `login-customer-id` header. Learn more at - // https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid - 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 - // The customer can't be used because it isn't enabled. - AuthorizationErrorEnum_CUSTOMER_NOT_ENABLED AuthorizationErrorEnum_AuthorizationError = 24 - // The developer must sign the terms of service. They can be found here: - // ads.google.com/aw/apicenter - AuthorizationErrorEnum_MISSING_TOS AuthorizationErrorEnum_AuthorizationError = 9 - // The developer token is not approved. Non-approved developer tokens can - // only be used with test accounts. - AuthorizationErrorEnum_DEVELOPER_TOKEN_NOT_APPROVED AuthorizationErrorEnum_AuthorizationError = 10 - // The login customer specified does not have access to the account - // specified, so the request is invalid. - AuthorizationErrorEnum_INVALID_LOGIN_CUSTOMER_ID_SERVING_CUSTOMER_ID_COMBINATION AuthorizationErrorEnum_AuthorizationError = 11 -) - -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", - 24: "CUSTOMER_NOT_ENABLED", - 9: "MISSING_TOS", - 10: "DEVELOPER_TOKEN_NOT_APPROVED", - 11: "INVALID_LOGIN_CUSTOMER_ID_SERVING_CUSTOMER_ID_COMBINATION", -} - -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, - "CUSTOMER_NOT_ENABLED": 24, - "MISSING_TOS": 9, - "DEVELOPER_TOKEN_NOT_APPROVED": 10, - "INVALID_LOGIN_CUSTOMER_ID_SERVING_CUSTOMER_ID_COMBINATION": 11, -} - -func (x AuthorizationErrorEnum_AuthorizationError) String() string { - return proto.EnumName(AuthorizationErrorEnum_AuthorizationError_name, int32(x)) -} - -func (AuthorizationErrorEnum_AuthorizationError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_115dbed9cc376cf2, []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_115dbed9cc376cf2, []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 (m *AuthorizationErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_AuthorizationErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.AuthorizationErrorEnum_AuthorizationError", AuthorizationErrorEnum_AuthorizationError_name, AuthorizationErrorEnum_AuthorizationError_value) - proto.RegisterType((*AuthorizationErrorEnum)(nil), "google.ads.googleads.v2.errors.AuthorizationErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/authorization_error.proto", fileDescriptor_115dbed9cc376cf2) -} - -var fileDescriptor_115dbed9cc376cf2 = []byte{ - // 492 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0x41, 0x6f, 0xd3, 0x30, - 0x14, 0xc7, 0x59, 0x07, 0x1b, 0xb8, 0x07, 0x82, 0x19, 0xdb, 0x54, 0x4d, 0x05, 0x95, 0x7b, 0x22, - 0x95, 0x0b, 0x04, 0x71, 0x70, 0x93, 0x47, 0x6b, 0x96, 0xda, 0x96, 0xe3, 0x64, 0xd2, 0x54, 0xc9, - 0x0a, 0xb4, 0x0a, 0x95, 0xb6, 0xb8, 0x4a, 0xba, 0x1d, 0xf8, 0x28, 0x1c, 0x39, 0xf2, 0x51, 0xf8, - 0x28, 0x1c, 0xf9, 0x02, 0x20, 0xc7, 0xb4, 0x9a, 0x18, 0x70, 0xf2, 0xd3, 0xf3, 0xef, 0xff, 0x7f, - 0x7e,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c, 0xc8, 0xbc, - 0x99, 0x6d, 0x81, 0x59, 0x3e, 0x9c, 0x39, 0xe0, 0x7b, 0x67, 0xe0, 0xba, 0x61, 0x48, 0xe6, 0x4d, - 0x18, 0x6e, 0x91, 0x30, 0xcc, 0x87, 0x61, 0xe8, 0xa0, 0xf7, 0x7b, 0xed, 0xeb, 0x5e, 0xfc, 0x0a, - 0x00, 0x00, 0xff, 0xff, 0x81, 0x38, 0x47, 0x1d, 0x12, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/bidding_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/bidding_error.pb.go deleted file mode 100644 index 4ed6e53e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/bidding_error.pb.go +++ /dev/null @@ -1,240 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/bidding_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // The field is not compatible with the payment mode. - BiddingErrorEnum_NOT_COMPATIBLE_WITH_PAYMENT_MODE BiddingErrorEnum_BiddingError = 34 - // The field is not compatible with the budget type. - BiddingErrorEnum_NOT_COMPATIBLE_WITH_BUDGET_TYPE BiddingErrorEnum_BiddingError = 35 - // The field is not compatible with the bidding strategy type. - BiddingErrorEnum_NOT_COMPATIBLE_WITH_BIDDING_STRATEGY_TYPE BiddingErrorEnum_BiddingError = 36 -) - -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", - 34: "NOT_COMPATIBLE_WITH_PAYMENT_MODE", - 35: "NOT_COMPATIBLE_WITH_BUDGET_TYPE", - 36: "NOT_COMPATIBLE_WITH_BIDDING_STRATEGY_TYPE", -} - -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, - "NOT_COMPATIBLE_WITH_PAYMENT_MODE": 34, - "NOT_COMPATIBLE_WITH_BUDGET_TYPE": 35, - "NOT_COMPATIBLE_WITH_BIDDING_STRATEGY_TYPE": 36, -} - -func (x BiddingErrorEnum_BiddingError) String() string { - return proto.EnumName(BiddingErrorEnum_BiddingError_name, int32(x)) -} - -func (BiddingErrorEnum_BiddingError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_489f8b87c43e0401, []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_489f8b87c43e0401, []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 (m *BiddingErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_BiddingErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.BiddingErrorEnum_BiddingError", BiddingErrorEnum_BiddingError_name, BiddingErrorEnum_BiddingError_value) - proto.RegisterType((*BiddingErrorEnum)(nil), "google.ads.googleads.v2.errors.BiddingErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/bidding_error.proto", fileDescriptor_489f8b87c43e0401) -} - -var fileDescriptor_489f8b87c43e0401 = []byte{ - // 739 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x54, 0x5d, 0x8f, 0x1b, 0x35, - 0x14, 0x65, 0x17, 0x89, 0x56, 0x2e, 0x1f, 0x5e, 0x17, 0x28, 0x2c, 0xed, 0xb6, 0x4d, 0x2b, 0x21, - 0x3e, 0x3a, 0x81, 0x54, 0x02, 0x69, 0xfa, 0x74, 0x67, 0xec, 0x4c, 0xac, 0xcc, 0xd8, 0x96, 0xed, - 0x49, 0x08, 0x8a, 0x64, 0xa5, 0x64, 0x15, 0x45, 0x6a, 0x33, 0xab, 0xcc, 0xd2, 0x9f, 0xc3, 0x03, - 0x8f, 0xbc, 0xf2, 0x2f, 0xf8, 0x29, 0x88, 0x1f, 0x81, 0x3c, 0xce, 0x84, 0x48, 0x99, 0xa5, 0x4f, - 0xb9, 0xb9, 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93, 0x9c, 0x1d, 0x2e, 0x11, 0xe5, 0xf7, 0x8d, 0x3a, 0xf9, 0x99, 0xee, - 0x48, 0xab, 0xea, 0xd5, 0x62, 0xb3, 0x8a, 0xaa, 0xed, 0xaa, 0xbf, 0xba, 0xdc, 0x34, 0xdb, 0xa8, - 0xdd, 0x79, 0x57, 0xeb, 0xfa, 0xa6, 0x15, 0xf8, 0x22, 0xfc, 0xfc, 0x7e, 0xfa, 0x6e, 0x06, 0xf0, - 0xc7, 0xe9, 0x45, 0x16, 0xc4, 0x60, 0x59, 0x47, 0xa1, 0xf4, 0xd5, 0x64, 0x10, 0x35, 0x47, 0xd6, - 0x7f, 0xb5, 0x80, 0x39, 0x2c, 0xeb, 0xf9, 0x1e, 0x30, 0x9f, 0x0c, 0xe6, 0x01, 0xf0, 0xf7, 0x69, - 0x2f, 0x74, 0xe3, 0x18, 0x96, 0x75, 0x1c, 0xef, 0x21, 0x71, 0x3c, 0x19, 0xc4, 0x71, 0x00, 0xbd, - 0x7c, 0xaf, 0xb9, 0xdd, 0xf3, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x16, 0xfc, 0x7c, 0x7a, 0x9f, - 0x05, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/bidding_strategy_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/bidding_strategy_error.pb.go deleted file mode 100644 index e259e32c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/bidding_strategy_error.pb.go +++ /dev/null @@ -1,144 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/bidding_strategy_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // The bidding strategy is incompatible with the campaign's bidding - // strategy goal type. - BiddingStrategyErrorEnum_INCOMPATIBLE_BIDDING_STRATEGY_AND_BIDDING_STRATEGY_GOAL_TYPE BiddingStrategyErrorEnum_BiddingStrategyError = 6 -) - -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", - 6: "INCOMPATIBLE_BIDDING_STRATEGY_AND_BIDDING_STRATEGY_GOAL_TYPE", -} - -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, - "INCOMPATIBLE_BIDDING_STRATEGY_AND_BIDDING_STRATEGY_GOAL_TYPE": 6, -} - -func (x BiddingStrategyErrorEnum_BiddingStrategyError) String() string { - return proto.EnumName(BiddingStrategyErrorEnum_BiddingStrategyError_name, int32(x)) -} - -func (BiddingStrategyErrorEnum_BiddingStrategyError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_589bc36dbb85af74, []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_589bc36dbb85af74, []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 (m *BiddingStrategyErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_BiddingStrategyErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.BiddingStrategyErrorEnum_BiddingStrategyError", BiddingStrategyErrorEnum_BiddingStrategyError_name, BiddingStrategyErrorEnum_BiddingStrategyError_value) - proto.RegisterType((*BiddingStrategyErrorEnum)(nil), "google.ads.googleads.v2.errors.BiddingStrategyErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/bidding_strategy_error.proto", fileDescriptor_589bc36dbb85af74) -} - -var fileDescriptor_589bc36dbb85af74 = []byte{ - // 408 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x41, 0x8b, 0xd4, 0x30, - 0x1c, 0xc5, 0x9d, 0xae, 0xae, 0x90, 0x05, 0x2d, 0xc1, 0x83, 0x8a, 0x0c, 0x58, 0x11, 0x6f, 0x29, - 0xd4, 0x5b, 0xd6, 0x83, 0x69, 0x13, 0x6b, 0x70, 0x26, 0x0d, 0xd3, 0xcc, 0xc8, 0xca, 0x40, 0xe8, - 0xda, 0x21, 0x14, 0x76, 0x9b, 0xa1, 0xa9, 0x0b, 0x7e, 0x16, 0x6f, 0x1e, 0xfd, 0x28, 0x7e, 0x14, - 0xcf, 0x9e, 0x45, 0x3a, 0x99, 0xe9, 0x65, 0x47, 0x4f, 0x7d, 0xfc, 0xfb, 0x7e, 0x2f, 0x7f, 0xde, - 0x1f, 0x9c, 0x1b, 0x6b, 0xcd, 0xd5, 0x26, 0xae, 0x6a, 0x17, 0x7b, 0x39, 0xa8, 0x9b, 0x24, 0xde, - 0x74, 0x9d, 0xed, 0x5c, 0x7c, 0xd9, 0xd4, 0x75, 0xd3, 0x1a, 0xed, 0xfa, 0xae, 0xea, 0x37, 0xe6, - 0xab, 0xde, 0xcd, 0xd1, 0xb6, 0xb3, 0xbd, 0x85, 0x53, 0x4f, 0xa0, 0x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 0x38, 0x7d, 0x72, 0xac, 0x24, 0x39, 0xf4, 0x2b, 0x27, 0x9f, 0xe8, 0x1e, 0x36, 0xf6, 0xaa, - 0x6a, 0x0d, 0xb2, 0x9d, 0x89, 0xcd, 0xa6, 0xdd, 0xb5, 0x7f, 0x38, 0xf6, 0xb6, 0x71, 0xff, 0xba, - 0xfd, 0xb9, 0xff, 0x7c, 0x0f, 0x4e, 0x72, 0x42, 0x7e, 0x04, 0xd3, 0xdc, 0x87, 0x91, 0xda, 0x21, - 0x2f, 0x07, 0xb5, 0x4a, 0xd0, 0xee, 0x49, 0xf7, 0xf3, 0x60, 0x58, 0x93, 0xda, 0xad, 0x47, 0xc3, - 0x7a, 0x95, 0xac, 0xbd, 0xe1, 0x57, 0x10, 0xf9, 0x29, 0xc6, 0xa4, 0x76, 0x18, 0x8f, 0x16, 0x8c, - 0x57, 0x09, 0xc6, 0xde, 0x74, 0x79, 0xba, 0xdb, 0xee, 0xf5, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, - 0x3a, 0xac, 0x96, 0x8d, 0x98, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/billing_setup_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/billing_setup_error.pb.go deleted file mode 100644 index 9c9be204..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/billing_setup_error.pb.go +++ /dev/null @@ -1,206 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/billing_setup_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 specify 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. - 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 - // Requested payments profile not found. - BillingSetupErrorEnum_PAYMENTS_PROFILE_NOT_FOUND BillingSetupErrorEnum_BillingSetupError = 13 - // Requested payments account not found. - BillingSetupErrorEnum_PAYMENTS_ACCOUNT_NOT_FOUND BillingSetupErrorEnum_BillingSetupError = 14 - // Billing setup creation failed because the payments profile is ineligible. - BillingSetupErrorEnum_PAYMENTS_PROFILE_INELIGIBLE BillingSetupErrorEnum_BillingSetupError = 15 - // Billing setup creation failed because the payments account is ineligible. - BillingSetupErrorEnum_PAYMENTS_ACCOUNT_INELIGIBLE BillingSetupErrorEnum_BillingSetupError = 16 - // Billing setup creation failed because the payments profile needs internal - // approval. - BillingSetupErrorEnum_CUSTOMER_NEEDS_INTERNAL_APPROVAL BillingSetupErrorEnum_BillingSetupError = 17 -) - -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", - 17: "CUSTOMER_NEEDS_INTERNAL_APPROVAL", -} - -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, - "CUSTOMER_NEEDS_INTERNAL_APPROVAL": 17, -} - -func (x BillingSetupErrorEnum_BillingSetupError) String() string { - return proto.EnumName(BillingSetupErrorEnum_BillingSetupError_name, int32(x)) -} - -func (BillingSetupErrorEnum_BillingSetupError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_d2705143fb75db4b, []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_d2705143fb75db4b, []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 (m *BillingSetupErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_BillingSetupErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.BillingSetupErrorEnum_BillingSetupError", BillingSetupErrorEnum_BillingSetupError_name, BillingSetupErrorEnum_BillingSetupError_value) - proto.RegisterType((*BillingSetupErrorEnum)(nil), "google.ads.googleads.v2.errors.BillingSetupErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/billing_setup_error.proto", fileDescriptor_d2705143fb75db4b) -} - -var fileDescriptor_d2705143fb75db4b = []byte{ - // 592 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xdd, 0x6e, 0xd3, 0x4c, - 0x10, 0x86, 0xbf, 0xa6, 0x5f, 0x5b, 0xd8, 0x02, 0xdd, 0xae, 0xf8, 0x29, 0xfd, 0x85, 0x14, 0x89, - 0x33, 0x5b, 0xa4, 0x42, 0x42, 0xe6, 0x68, 0x63, 0x4f, 0xdc, 0x15, 0xce, 0xae, 0xb5, 0xbb, 0x4e, - 0x09, 0x8a, 0xb4, 0x4a, 0x49, 0x64, 0x45, 0x4a, 0xed, 0x28, 0x4e, 0x7b, 0x0b, 0x5c, 0x07, 0x1c, - 0x72, 0x29, 0x5c, 0x0a, 0x67, 0xdc, 0x01, 0xb2, 0x9d, 0x58, 0x89, 0x22, 0x10, 0x47, 0x1e, 0x79, - 0xde, 0xf7, 0x99, 0x9d, 0xd1, 0x0c, 0x7a, 0x17, 0xa7, 0x69, 0x3c, 0x1e, 0xda, 0xfd, 0x41, 0x66, - 0x97, 0x61, 0x1e, 0xdd, 0x35, 0xec, 0xe1, 0x74, 0x9a, 0x4e, 0x33, 0xfb, 0x7a, 0x34, 0x1e, 0x8f, - 0x92, 0xd8, 0x64, 0xc3, 0xd9, 0xed, 0xc4, 0x14, 0x3f, 0xad, 0xc9, 0x34, 0x9d, 0xa5, 0xe4, 0xb4, - 0x94, 0x5b, 0xfd, 0x41, 0x66, 0x55, 0x4e, 0xeb, 0xae, 0x61, 0x95, 0xce, 0xc3, 0xe3, 0x05, 0x79, - 0x32, 0xb2, 0xfb, 0x49, 0x92, 0xce, 0xfa, 0xb3, 0x51, 0x9a, 0x64, 0xa5, 0xbb, 0xfe, 0x75, 0x0b, - 0x3d, 0x69, 0x96, 0x6c, 0x95, 0xa3, 0x21, 0x37, 0x41, 0x72, 0x7b, 0x53, 0xff, 0xb2, 0x85, 0xf6, - 0xd7, 0x32, 0x64, 0x0f, 0xed, 0x46, 0x5c, 0x85, 0xe0, 0xb2, 0x16, 0x03, 0x0f, 0xff, 0x47, 0x76, - 0xd1, 0x4e, 0xc4, 0x3f, 0x70, 0x71, 0xc5, 0xf1, 0x06, 0x79, 0x8d, 0xce, 0x5d, 0xca, 0xb9, 0xd0, - 0x26, 0x52, 0x60, 0xe0, 0x23, 0x53, 0x9a, 0x71, 0xdf, 0x50, 0xee, 0x19, 0x0e, 0x57, 0x86, 0xba, - 0xae, 0x88, 0xb8, 0xc6, 0xb5, 0x25, 0xa1, 0x84, 0xb6, 0xe8, 0x80, 0x51, 0x9a, 0x4a, 0x0d, 0x9e, - 0x69, 0xb2, 0x20, 0xc8, 0x2d, 0x0a, 0x74, 0x14, 0xe2, 0x4d, 0xd2, 0x40, 0xd6, 0x5c, 0xe8, 0x5e, - 0x52, 0xee, 0x43, 0x25, 0xd0, 0xc2, 0x28, 0xda, 0x06, 0x13, 0xd2, 0x6e, 0x1b, 0xb8, 0x56, 0x15, - 0xfc, 0x7f, 0x72, 0x81, 0xec, 0x15, 0x8c, 0xc9, 0xed, 0x21, 0xc8, 0x36, 0xd3, 0x79, 0x89, 0x96, - 0x90, 0xc6, 0x8d, 0x94, 0x16, 0x6d, 0x90, 0x79, 0x5d, 0x1d, 0x29, 0xbc, 0x45, 0x8e, 0xd1, 0x01, - 0xe3, 0x1d, 0x1a, 0x30, 0x6f, 0x1d, 0xb9, 0x4d, 0xde, 0xa2, 0x37, 0xff, 0x8c, 0x74, 0xa9, 0x06, - 0x5f, 0xc8, 0x2e, 0xde, 0x21, 0x47, 0xe8, 0xd9, 0x02, 0x5a, 0x34, 0x68, 0x34, 0x6b, 0x83, 0xd1, - 0xdd, 0x10, 0xf0, 0x3d, 0x72, 0x8e, 0xce, 0xf4, 0x25, 0x93, 0x79, 0x3d, 0xa9, 0xbb, 0x86, 0x06, - 0x12, 0xa8, 0xd7, 0x35, 0x97, 0x54, 0x2d, 0x9a, 0xc4, 0xf7, 0xc9, 0x09, 0x7a, 0xbe, 0x5a, 0x98, - 0x71, 0x13, 0x4a, 0xe1, 0x4b, 0x50, 0x0a, 0x23, 0x72, 0x80, 0x1e, 0x73, 0x61, 0x14, 0xf3, 0x79, - 0x14, 0x96, 0xef, 0x51, 0x8a, 0x09, 0x8e, 0x77, 0xc9, 0x4b, 0x74, 0x32, 0x9f, 0x98, 0x68, 0x15, - 0xbc, 0x7c, 0x62, 0xcb, 0xe6, 0x07, 0xe4, 0x14, 0x1d, 0x56, 0xad, 0x86, 0x52, 0xb4, 0x58, 0x00, - 0x45, 0x5f, 0x2d, 0x11, 0x71, 0x0f, 0x3f, 0x5c, 0xc9, 0xcf, 0x47, 0xb1, 0x94, 0x7f, 0x44, 0xce, - 0xd0, 0xd1, 0x9a, 0x9f, 0x71, 0x08, 0x98, 0xcf, 0x9a, 0x01, 0xe0, 0xbd, 0x15, 0xc1, 0x02, 0xb0, - 0x24, 0xc0, 0xe4, 0x15, 0x7a, 0x51, 0x8d, 0x8d, 0x03, 0x78, 0xca, 0x30, 0xae, 0x41, 0x72, 0x1a, - 0x18, 0x1a, 0x86, 0x52, 0x74, 0x68, 0x80, 0xf7, 0x9b, 0xbf, 0x36, 0x50, 0xfd, 0x73, 0x7a, 0x63, - 0xfd, 0x7d, 0xd1, 0x9b, 0x4f, 0xd7, 0xb6, 0x35, 0xcc, 0x57, 0x3c, 0xdc, 0xf8, 0xe4, 0xcd, 0x9d, - 0x71, 0x3a, 0xee, 0x27, 0xb1, 0x95, 0x4e, 0x63, 0x3b, 0x1e, 0x26, 0xc5, 0x01, 0x2c, 0x8e, 0x6d, - 0x32, 0xca, 0xfe, 0x74, 0x7b, 0xef, 0xcb, 0xcf, 0xb7, 0xda, 0xa6, 0x4f, 0xe9, 0xf7, 0xda, 0xa9, - 0x5f, 0xc2, 0xe8, 0x20, 0xb3, 0xca, 0x30, 0x8f, 0x3a, 0x0d, 0xab, 0x28, 0x99, 0xfd, 0x58, 0x08, - 0x7a, 0x74, 0x90, 0xf5, 0x2a, 0x41, 0xaf, 0xd3, 0xe8, 0x95, 0x82, 0x9f, 0xb5, 0x7a, 0xf9, 0xd7, - 0x71, 0xe8, 0x20, 0x73, 0x9c, 0x4a, 0xe2, 0x38, 0x9d, 0x86, 0xe3, 0x94, 0xa2, 0xeb, 0xed, 0xe2, - 0x75, 0x17, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xbe, 0x44, 0x68, 0x0f, 0x18, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/campaign_budget_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/campaign_budget_error.pb.go deleted file mode 100644 index 5c5ee77f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/campaign_budget_error.pb.go +++ /dev/null @@ -1,198 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/campaign_budget_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_7e40ba8196c3aebd, []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_7e40ba8196c3aebd, []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 (m *CampaignBudgetErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignBudgetErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.CampaignBudgetErrorEnum_CampaignBudgetError", CampaignBudgetErrorEnum_CampaignBudgetError_name, CampaignBudgetErrorEnum_CampaignBudgetError_value) - proto.RegisterType((*CampaignBudgetErrorEnum)(nil), "google.ads.googleads.v2.errors.CampaignBudgetErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/campaign_budget_error.proto", fileDescriptor_7e40ba8196c3aebd) -} - -var fileDescriptor_7e40ba8196c3aebd = []byte{ - // 580 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xd1, 0x6a, 0xd4, 0x40, - 0x14, 0x86, 0xed, 0xd6, 0xb6, 0x3a, 0xd5, 0x76, 0x1c, 0xd1, 0x6a, 0x95, 0x22, 0x4b, 0x05, 0x45, - 0x48, 0x20, 0x82, 0x48, 0x14, 0x64, 0x92, 0xcc, 0x66, 0x07, 0x93, 0x99, 0x90, 0xcc, 0xa4, 0xae, - 0x2c, 0x0c, 0x69, 0xb3, 0x84, 0x85, 0x36, 0x59, 0x36, 0xdb, 0x3e, 0x90, 0x97, 0x3e, 0x87, 0x57, - 0x3e, 0x85, 0xd7, 0xde, 0xfa, 0x02, 0x92, 0x64, 0x77, 0x6b, 0xd3, 0x6a, 0xbd, 0xca, 0x61, 0xce, - 0xff, 0xfd, 0xff, 0x09, 0x33, 0x07, 0x98, 0x59, 0x51, 0x64, 0xc7, 0x23, 0x3d, 0x49, 0x4b, 0xbd, - 0x29, 0xab,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, - 0x40, 0xf7, 0xa8, 0x38, 0xd1, 0xfe, 0xbd, 0x27, 0xd6, 0xa3, 0x2b, 0x9e, 0x7a, 0x50, 0xed, 0x48, - 0xb0, 0xf2, 0xd9, 0x99, 0xb3, 0x59, 0x71, 0x9c, 0xe4, 0x99, 0x56, 0x4c, 0x33, 0x3d, 0x1b, 0xe5, - 0xf5, 0x06, 0x2d, 0xf6, 0x75, 0x32, 0x2e, 0xff, 0xb6, 0xbe, 0xef, 0x9a, 0xcf, 0x97, 0xce, 0xaa, - 0x8b, 0xf1, 0xd7, 0xce, 0x9e, 0xdb, 0x98, 0xe1, 0xb4, 0xd4, 0x9a, 0xb2, 0xaa, 0x62, 0x43, 0xab, - 0x23, 0xcb, 0xef, 0x0b, 0xc1, 0x10, 0xa7, 0xe5, 0x70, 0x29, 0x18, 0xc6, 0xc6, 0xb0, 0x11, 0xfc, - 0xec, 0x74, 0x9b, 0x53, 0xd3, 0xc4, 0x69, 0x69, 0x9a, 0x4b, 0x89, 0x69, 0xc6, 0x86, 0x69, 0x36, - 0xa2, 0xc3, 0xf5, 0x7a, 0xba, 0xd7, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xb3, 0x58, 0x39, 0x9a, - 0x5b, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/campaign_criterion_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/campaign_criterion_error.pb.go deleted file mode 100644 index 861639dc..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/campaign_criterion_error.pb.go +++ /dev/null @@ -1,177 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/campaign_criterion_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_17e9fd199c969a2a, []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_17e9fd199c969a2a, []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 (m *CampaignCriterionErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignCriterionErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.CampaignCriterionErrorEnum_CampaignCriterionError", CampaignCriterionErrorEnum_CampaignCriterionError_name, CampaignCriterionErrorEnum_CampaignCriterionError_value) - proto.RegisterType((*CampaignCriterionErrorEnum)(nil), "google.ads.googleads.v2.errors.CampaignCriterionErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/campaign_criterion_error.proto", fileDescriptor_17e9fd199c969a2a) -} - -var fileDescriptor_17e9fd199c969a2a = []byte{ - // 526 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xd1, 0x6a, 0xd4, 0x40, - 0x14, 0x86, 0xed, 0xae, 0xb6, 0x3a, 0x15, 0x0c, 0x23, 0x56, 0x5a, 0x6b, 0x29, 0xab, 0x50, 0x44, - 0x4c, 0x60, 0xbd, 0x8b, 0x88, 0x4c, 0x27, 0xa7, 0xe9, 0x60, 0x3a, 0x33, 0x4e, 0x26, 0xab, 0x95, - 0x85, 0x21, 0x76, 0x97, 0x10, 0xe8, 0x26, 0x4b, 0xb2, 0xf6, 0x81, 0xbc, 0xf4, 0x51, 0x7c, 0x00, - 0x1f, 0xc2, 0x7b, 0xbd, 0x96, 0x64, 0xb2, 0x6b, 0x91, 0xd5, 0xab, 0x9c, 0xe4, 0x7c, 0xff, 0x7f, - 0x7e, 0xc8, 0x8f, 0x5e, 0x67, 0x65, 0x99, 0x5d, 0x4e, 0xbd, 0x74, 0x52, 0x7b, 0x76, 0x6c, 0xa6, - 0xab, 0xa1, 0x37, 0xad, 0xaa, 0xb2, 0xaa, 0xbd, 0x8b, 0x74, 0x36, 0x4f, 0xf3, 0xac, 0x30, 0x17, - 0x55, 0xbe, 0x98, 0x56, 0x79, 0x59, 0x98, 0x76, 0xe3, 0xce, 0xab, 0x72, 0x51, 0xe2, 0x03, 0xab, - 0x71, 0xd3, 0x49, 0xed, 0xae, 0xe4, 0xee, 0xd5, 0xd0, 0xb5, 0xf2, 0xbd, 0xfd, 0xa5, 0xfd, 0x3c, - 0xf7, 0xd2, 0xa2, 0x28, 0x17, 0xe9, 0x22, 0x2f, 0x8b, 0xda, 0xaa, 0x07, 0x3f, 0xfb, 0x68, 0x8f, - 0x76, 0x07, 0xe8, 0xd2, 0x1f, 0x1a, 0x25, 0x14, 0x9f, 0x67, 0x83, 0xef, 0x7d, 0xb4, 0xb3, 0x7e, - 0x8d, 0xef, 0xa1, 0xed, 0x84, 0xc7, 0x12, 0x28, 0x3b, 0x61, 0x10, 0x38, 0x37, 0xf0, 0x36, 0xda, - 0x4a, 0xf8, 0x5b, 0x2e, 0xde, 0x73, 0x67, 0x03, 0xef, 0xa1, 0x1d, 0x2a, 0x38, 0x55, 0xa0, 0xc1, - 0xe8, 0x73, 0x09, 0x46, 0xc1, 0xbb, 0x84, 0x29, 0x08, 0x9c, 0x1e, 0xde, 0x45, 0x0f, 0x18, 0x1f, - 0x91, 0x88, 0x05, 0x46, 0x46, 0x84, 0xc2, 0x19, 0x70, 0x6d, 0x12, 0x15, 0x39, 0x7d, 0x7c, 0x88, - 0xf6, 0x29, 0xe1, 0x5c, 0x68, 0x03, 0x1f, 0x68, 0x94, 0x04, 0x60, 0xa8, 0x62, 0x1a, 0x14, 0x23, - 0xad, 0x8b, 0x73, 0x13, 0x1f, 0xa1, 0x27, 0x1d, 0x11, 0x83, 0x36, 0xb1, 0x26, 0x3a, 0x89, 0xcd, - 0x89, 0x50, 0x7f, 0x81, 0xb7, 0xf0, 0x73, 0x74, 0xb4, 0x1e, 0xec, 0x9c, 0x83, 0x95, 0xc2, 0xd9, - 0xc4, 0x8f, 0xd1, 0x6e, 0x07, 0x6b, 0xa2, 0x42, 0xd0, 0x86, 0xf0, 0x60, 0x09, 0x3a, 0x5b, 0xf8, - 0x21, 0xba, 0xaf, 0x85, 0x30, 0x67, 0x84, 0x9f, 0x1b, 0x21, 0x41, 0x11, 0xcd, 0x04, 0x8f, 0x9d, - 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x8f, 0x86, 0xbe, 0x6f, 0xa1, 0x4f, 0x9b, 0x6d, 0xba, 0x97, - 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xab, 0x54, 0xa1, 0x54, 0x76, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/campaign_draft_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/campaign_draft_error.pb.go deleted file mode 100644 index 3d802c04..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/campaign_draft_error.pb.go +++ /dev/null @@ -1,172 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/campaign_draft_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible campaign draft errors. -type CampaignDraftErrorEnum_CampaignDraftError int32 - -const ( - // Enum unspecified. - CampaignDraftErrorEnum_UNSPECIFIED CampaignDraftErrorEnum_CampaignDraftError = 0 - // The received error code is not known in this version. - CampaignDraftErrorEnum_UNKNOWN CampaignDraftErrorEnum_CampaignDraftError = 1 - // A draft with this name already exists for this campaign. - CampaignDraftErrorEnum_DUPLICATE_DRAFT_NAME CampaignDraftErrorEnum_CampaignDraftError = 2 - // The draft is removed and cannot be transitioned to another status. - CampaignDraftErrorEnum_INVALID_STATUS_TRANSITION_FROM_REMOVED CampaignDraftErrorEnum_CampaignDraftError = 3 - // The draft has been promoted and cannot be transitioned to the specified - // status. - CampaignDraftErrorEnum_INVALID_STATUS_TRANSITION_FROM_PROMOTED CampaignDraftErrorEnum_CampaignDraftError = 4 - // The draft has failed to be promoted and cannot be transitioned to the - // specified status. - CampaignDraftErrorEnum_INVALID_STATUS_TRANSITION_FROM_PROMOTE_FAILED CampaignDraftErrorEnum_CampaignDraftError = 5 - // This customer is not allowed to create drafts. - CampaignDraftErrorEnum_CUSTOMER_CANNOT_CREATE_DRAFT CampaignDraftErrorEnum_CampaignDraftError = 6 - // This campaign is not allowed to create drafts. - CampaignDraftErrorEnum_CAMPAIGN_CANNOT_CREATE_DRAFT CampaignDraftErrorEnum_CampaignDraftError = 7 - // This modification cannot be made on a draft. - CampaignDraftErrorEnum_INVALID_DRAFT_CHANGE CampaignDraftErrorEnum_CampaignDraftError = 8 - // The draft cannot be transitioned to the specified status from its - // current status. - CampaignDraftErrorEnum_INVALID_STATUS_TRANSITION CampaignDraftErrorEnum_CampaignDraftError = 9 - // The campaign has reached the maximum number of drafts that can be created - // for a campaign throughout its lifetime. No additional drafts can be - // created for this campaign. Removed drafts also count towards this limit. - CampaignDraftErrorEnum_MAX_NUMBER_OF_DRAFTS_PER_CAMPAIGN_REACHED CampaignDraftErrorEnum_CampaignDraftError = 10 - // ListAsyncErrors was called without first promoting the draft. - CampaignDraftErrorEnum_LIST_ERRORS_FOR_PROMOTED_DRAFT_ONLY CampaignDraftErrorEnum_CampaignDraftError = 11 -) - -var CampaignDraftErrorEnum_CampaignDraftError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "DUPLICATE_DRAFT_NAME", - 3: "INVALID_STATUS_TRANSITION_FROM_REMOVED", - 4: "INVALID_STATUS_TRANSITION_FROM_PROMOTED", - 5: "INVALID_STATUS_TRANSITION_FROM_PROMOTE_FAILED", - 6: "CUSTOMER_CANNOT_CREATE_DRAFT", - 7: "CAMPAIGN_CANNOT_CREATE_DRAFT", - 8: "INVALID_DRAFT_CHANGE", - 9: "INVALID_STATUS_TRANSITION", - 10: "MAX_NUMBER_OF_DRAFTS_PER_CAMPAIGN_REACHED", - 11: "LIST_ERRORS_FOR_PROMOTED_DRAFT_ONLY", -} - -var CampaignDraftErrorEnum_CampaignDraftError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "DUPLICATE_DRAFT_NAME": 2, - "INVALID_STATUS_TRANSITION_FROM_REMOVED": 3, - "INVALID_STATUS_TRANSITION_FROM_PROMOTED": 4, - "INVALID_STATUS_TRANSITION_FROM_PROMOTE_FAILED": 5, - "CUSTOMER_CANNOT_CREATE_DRAFT": 6, - "CAMPAIGN_CANNOT_CREATE_DRAFT": 7, - "INVALID_DRAFT_CHANGE": 8, - "INVALID_STATUS_TRANSITION": 9, - "MAX_NUMBER_OF_DRAFTS_PER_CAMPAIGN_REACHED": 10, - "LIST_ERRORS_FOR_PROMOTED_DRAFT_ONLY": 11, -} - -func (x CampaignDraftErrorEnum_CampaignDraftError) String() string { - return proto.EnumName(CampaignDraftErrorEnum_CampaignDraftError_name, int32(x)) -} - -func (CampaignDraftErrorEnum_CampaignDraftError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8970d69daf509448, []int{0, 0} -} - -// Container for enum describing possible campaign draft errors. -type CampaignDraftErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CampaignDraftErrorEnum) Reset() { *m = CampaignDraftErrorEnum{} } -func (m *CampaignDraftErrorEnum) String() string { return proto.CompactTextString(m) } -func (*CampaignDraftErrorEnum) ProtoMessage() {} -func (*CampaignDraftErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_8970d69daf509448, []int{0} -} - -func (m *CampaignDraftErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CampaignDraftErrorEnum.Unmarshal(m, b) -} -func (m *CampaignDraftErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CampaignDraftErrorEnum.Marshal(b, m, deterministic) -} -func (m *CampaignDraftErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignDraftErrorEnum.Merge(m, src) -} -func (m *CampaignDraftErrorEnum) XXX_Size() int { - return xxx_messageInfo_CampaignDraftErrorEnum.Size(m) -} -func (m *CampaignDraftErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_CampaignDraftErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_CampaignDraftErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.errors.CampaignDraftErrorEnum_CampaignDraftError", CampaignDraftErrorEnum_CampaignDraftError_name, CampaignDraftErrorEnum_CampaignDraftError_value) - proto.RegisterType((*CampaignDraftErrorEnum)(nil), "google.ads.googleads.v2.errors.CampaignDraftErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/campaign_draft_error.proto", fileDescriptor_8970d69daf509448) -} - -var fileDescriptor_8970d69daf509448 = []byte{ - // 483 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xdf, 0x6e, 0xd3, 0x30, - 0x14, 0xc6, 0x69, 0x0b, 0x1b, 0xb8, 0x17, 0x58, 0x16, 0xe2, 0x9f, 0xc6, 0x84, 0x8a, 0xc4, 0x04, - 0x68, 0x89, 0x28, 0x57, 0x84, 0x2b, 0x37, 0x76, 0x3a, 0x8b, 0xc6, 0x8e, 0x1c, 0x27, 0xfc, 0x51, - 0x25, 0x2b, 0x2c, 0x25, 0xaa, 0xb4, 0xc6, 0x55, 0x52, 0xf6, 0x40, 0x5c, 0x22, 0xf1, 0x1e, 0x88, - 0x47, 0xe1, 0x92, 0x27, 0x40, 0x89, 0xdb, 0xdc, 0x8c, 0xc1, 0xae, 0x72, 0x74, 0xf2, 0xfb, 0xce, - 0xf9, 0x8e, 0xfc, 0x81, 0xd7, 0x85, 0x31, 0xc5, 0xd9, 0xc2, 0xcd, 0xf2, 0xda, 0xb5, 0x65, 0x53, - 0x9d, 0x8f, 0xdd, 0x45, 0x55, 0x99, 0xaa, 0x76, 0x4f, 0xb3, 0xd5, 0x3a, 0x5b, 0x16, 0xa5, 0xce, - 0xab, 0xec, 0xf3, 0x46, 0xb7, 0x5d, 0x67, 0x5d, 0x99, 0x8d, 0x41, 0x87, 0x96, 0x77, 0xb2, 0xbc, - 0x76, 0x3a, 0xa9, 0x73, 0x3e, 0x76, 0xac, 0xf4, 0xe1, 0xc1, 0x6e, 0xf4, 0x7a, 0xe9, 0x66, 0x65, - 0x69, 0x36, 0xd9, 0x66, 0x69, 0xca, 0xda, 0xaa, 0x47, 0x3f, 0x06, 0xe0, 0xae, 0xbf, 0x1d, 0x4e, - 0x9a, 0xd9, 0xb4, 0x51, 0xd1, 0xf2, 0xcb, 0x6a, 0xf4, 0x7d, 0x00, 0xd0, 0xc5, 0x5f, 0xe8, 0x36, - 0x18, 0x26, 0x3c, 0x8e, 0xa8, 0xcf, 0x02, 0x46, 0x09, 0xbc, 0x86, 0x86, 0x60, 0x3f, 0xe1, 0x6f, - 0xb9, 0x78, 0xc7, 0x61, 0x0f, 0xdd, 0x07, 0x77, 0x48, 0x12, 0xcd, 0x98, 0x8f, 0x15, 0xd5, 0x44, - 0xe2, 0x40, 0x69, 0x8e, 0x43, 0x0a, 0xfb, 0xe8, 0x39, 0x78, 0xca, 0x78, 0x8a, 0x67, 0x8c, 0xe8, - 0x58, 0x61, 0x95, 0xc4, 0x5a, 0x49, 0xcc, 0x63, 0xa6, 0x98, 0xe0, 0x3a, 0x90, 0x22, 0xd4, 0x92, - 0x86, 0x22, 0xa5, 0x04, 0x0e, 0xd0, 0x0b, 0x70, 0xf4, 0x1f, 0x36, 0x92, 0x22, 0x14, 0x8a, 0x12, - 0x78, 0x1d, 0xbd, 0x04, 0xc7, 0x57, 0x83, 0x75, 0x80, 0xd9, 0x8c, 0x12, 0x78, 0x03, 0x3d, 0x06, - 0x07, 0x7e, 0x12, 0x2b, 0x11, 0x52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x4b, 0xc7, 0x9e, 0x67, 0xa1, - 0x4f, 0x7b, 0xad, 0xbb, 0x57, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x71, 0x7b, 0x86, 0x53, 0x41, - 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/campaign_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/campaign_error.pb.go deleted file mode 100644 index c0e59d57..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/campaign_error.pb.go +++ /dev/null @@ -1,338 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/campaign_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // The app ID was not found. - CampaignErrorEnum_APP_NOT_FOUND CampaignErrorEnum_CampaignError = 41 - // Campaign.shopping_setting.enable_local is not supported for the specified - // campaign type. - CampaignErrorEnum_SHOPPING_ENABLE_LOCAL_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE CampaignErrorEnum_CampaignError = 42 - // The merchant does not support the creation of campaigns for Shopping - // Comparison Listing Ads. - CampaignErrorEnum_MERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADS CampaignErrorEnum_CampaignError = 43 - // The App campaign for engagement cannot be created because there aren't - // enough installs. - CampaignErrorEnum_INSUFFICIENT_APP_INSTALLS_COUNT CampaignErrorEnum_CampaignError = 44 -) - -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", - 41: "APP_NOT_FOUND", - 42: "SHOPPING_ENABLE_LOCAL_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE", - 43: "MERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADS", - 44: "INSUFFICIENT_APP_INSTALLS_COUNT", -} - -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, - "APP_NOT_FOUND": 41, - "SHOPPING_ENABLE_LOCAL_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE": 42, - "MERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADS": 43, - "INSUFFICIENT_APP_INSTALLS_COUNT": 44, -} - -func (x CampaignErrorEnum_CampaignError) String() string { - return proto.EnumName(CampaignErrorEnum_CampaignError_name, int32(x)) -} - -func (CampaignErrorEnum_CampaignError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8032436b204b8568, []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_8032436b204b8568, []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 (m *CampaignErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.CampaignErrorEnum_CampaignError", CampaignErrorEnum_CampaignError_name, CampaignErrorEnum_CampaignError_value) - proto.RegisterType((*CampaignErrorEnum)(nil), "google.ads.googleads.v2.errors.CampaignErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/campaign_error.proto", fileDescriptor_8032436b204b8568) -} - -var fileDescriptor_8032436b204b8568 = []byte{ - // 1062 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x55, 0xeb, 0x8e, 0x1b, 0x35, - 0x14, 0xa6, 0x2d, 0xb4, 0xe0, 0xb2,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0x0e, 0xa4, 0xac, 0xa4, 0x47, 0x37, 0xfa, 0xff, 0x9e, 0x21, 0xad, 0x37, 0xf3, 0x83, - 0xf6, 0xe9, 0xaf, 0x60, 0x9f, 0xad, 0x3c, 0x67, 0x79, 0x78, 0xfb, 0xf2, 0x33, 0xaf, 0x79, 0xe5, - 0x35, 0x9d, 0xbf, 0x9d, 0xcc, 0xa6, 0xed, 0xf9, 0xd1, 0xb4, 0x33, 0xdd, 0x9b, 0x95, 0x2f, 0x63, - 0xfd, 0x00, 0x1f, 0xee, 0x2f, 0xfe, 0xef, 0x3d, 0x7e, 0x11, 0x3f, 0xbf, 0x9f, 0x3d, 0x97, 0x02, - 0xfc, 0x79, 0x76, 0x3d, 0x8d, 0x64, 0xb0, 0xbb, 0x68, 0xc7, 0x65, 0x58, 0x8d, 0xba, 0xed, 0xf2, - 0xc8, 0xc5, 0xdf, 0x35, 0x60, 0x07, 0x76, 0x17, 0x3b, 0x0d, 0x60, 0x67, 0xd4, 0xdd, 0x89, 0x80, - 0x7f, 0xce, 0xb6, 0xe2, 0x6e, 0xaf, 0x07, 0xbb, 0x8b, 0x5e, 0xaf, 0x81, 0xf4, 0x7a, 0xa3, 0x6e, - 0xaf, 0x17, 0x41, 0xbf, 0x9e, 0x2f, 0xa3, 0xdb, 0xfc, 0x2f, 0x00, 0x00, 0xff, 0xff, 0xa6, 0x91, - 0x43, 0x9d, 0x2c, 0x08, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/campaign_experiment_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/campaign_experiment_error.pb.go deleted file mode 100644 index b5b434ed..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/campaign_experiment_error.pb.go +++ /dev/null @@ -1,175 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/campaign_experiment_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible campaign experiment errors. -type CampaignExperimentErrorEnum_CampaignExperimentError int32 - -const ( - // Enum unspecified. - CampaignExperimentErrorEnum_UNSPECIFIED CampaignExperimentErrorEnum_CampaignExperimentError = 0 - // The received error code is not known in this version. - CampaignExperimentErrorEnum_UNKNOWN CampaignExperimentErrorEnum_CampaignExperimentError = 1 - // An active campaign or experiment with this name already exists. - CampaignExperimentErrorEnum_DUPLICATE_NAME CampaignExperimentErrorEnum_CampaignExperimentError = 2 - // Experiment cannot be updated from the current state to the - // requested target state. For example, an experiment can only graduate - // if its status is ENABLED. - CampaignExperimentErrorEnum_INVALID_TRANSITION CampaignExperimentErrorEnum_CampaignExperimentError = 3 - // Cannot create an experiment from a campaign using an explicitly shared - // budget. - CampaignExperimentErrorEnum_CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET CampaignExperimentErrorEnum_CampaignExperimentError = 4 - // Cannot create an experiment for a removed base campaign. - CampaignExperimentErrorEnum_CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN CampaignExperimentErrorEnum_CampaignExperimentError = 5 - // Cannot create an experiment from a draft, which has a status other than - // proposed. - CampaignExperimentErrorEnum_CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT CampaignExperimentErrorEnum_CampaignExperimentError = 6 - // This customer is not allowed to create an experiment. - CampaignExperimentErrorEnum_CUSTOMER_CANNOT_CREATE_EXPERIMENT CampaignExperimentErrorEnum_CampaignExperimentError = 7 - // This campaign is not allowed to create an experiment. - CampaignExperimentErrorEnum_CAMPAIGN_CANNOT_CREATE_EXPERIMENT CampaignExperimentErrorEnum_CampaignExperimentError = 8 - // Trying to set an experiment duration which overlaps with another - // experiment. - CampaignExperimentErrorEnum_EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP CampaignExperimentErrorEnum_CampaignExperimentError = 9 - // All non-removed experiments must start and end within their campaign's - // duration. - CampaignExperimentErrorEnum_EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION CampaignExperimentErrorEnum_CampaignExperimentError = 10 - // The experiment cannot be modified because its status is in a terminal - // state, such as REMOVED. - CampaignExperimentErrorEnum_CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS CampaignExperimentErrorEnum_CampaignExperimentError = 11 -) - -var CampaignExperimentErrorEnum_CampaignExperimentError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "DUPLICATE_NAME", - 3: "INVALID_TRANSITION", - 4: "CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET", - 5: "CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN", - 6: "CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT", - 7: "CUSTOMER_CANNOT_CREATE_EXPERIMENT", - 8: "CAMPAIGN_CANNOT_CREATE_EXPERIMENT", - 9: "EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP", - 10: "EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION", - 11: "CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS", -} - -var CampaignExperimentErrorEnum_CampaignExperimentError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "DUPLICATE_NAME": 2, - "INVALID_TRANSITION": 3, - "CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET": 4, - "CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN": 5, - "CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT": 6, - "CUSTOMER_CANNOT_CREATE_EXPERIMENT": 7, - "CAMPAIGN_CANNOT_CREATE_EXPERIMENT": 8, - "EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP": 9, - "EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION": 10, - "CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS": 11, -} - -func (x CampaignExperimentErrorEnum_CampaignExperimentError) String() string { - return proto.EnumName(CampaignExperimentErrorEnum_CampaignExperimentError_name, int32(x)) -} - -func (CampaignExperimentErrorEnum_CampaignExperimentError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_17c7c7051cba437e, []int{0, 0} -} - -// Container for enum describing possible campaign experiment errors. -type CampaignExperimentErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CampaignExperimentErrorEnum) Reset() { *m = CampaignExperimentErrorEnum{} } -func (m *CampaignExperimentErrorEnum) String() string { return proto.CompactTextString(m) } -func (*CampaignExperimentErrorEnum) ProtoMessage() {} -func (*CampaignExperimentErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_17c7c7051cba437e, []int{0} -} - -func (m *CampaignExperimentErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CampaignExperimentErrorEnum.Unmarshal(m, b) -} -func (m *CampaignExperimentErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CampaignExperimentErrorEnum.Marshal(b, m, deterministic) -} -func (m *CampaignExperimentErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignExperimentErrorEnum.Merge(m, src) -} -func (m *CampaignExperimentErrorEnum) XXX_Size() int { - return xxx_messageInfo_CampaignExperimentErrorEnum.Size(m) -} -func (m *CampaignExperimentErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_CampaignExperimentErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_CampaignExperimentErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.errors.CampaignExperimentErrorEnum_CampaignExperimentError", CampaignExperimentErrorEnum_CampaignExperimentError_name, CampaignExperimentErrorEnum_CampaignExperimentError_value) - proto.RegisterType((*CampaignExperimentErrorEnum)(nil), "google.ads.googleads.v2.errors.CampaignExperimentErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/campaign_experiment_error.proto", fileDescriptor_17c7c7051cba437e) -} - -var fileDescriptor_17c7c7051cba437e = []byte{ - // 502 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xd1, 0x8b, 0xd3, 0x30, - 0x1c, 0xc7, 0xdd, 0x76, 0xde, 0x69, 0x06, 0x1a, 0xf2, 0xa0, 0xa0, 0xc7, 0x81, 0x83, 0x13, 0x54, - 0x68, 0xa1, 0x27, 0x22, 0x15, 0x84, 0xac, 0xcd, 0x76, 0xc1, 0x35, 0x29, 0x69, 0xda, 0x13, 0x19, - 0x84, 0x7a, 0x2b, 0x65, 0x70, 0x6b, 0x4a, 0x3b, 0x0f, 0x1f, 0xfd, 0x5b, 0x7c, 0xf4, 0x4f, 0xf1, - 0xaf, 0xf0, 0xd9, 0x7f, 0xc0, 0x57, 0x69, 0xb3, 0x15, 0x91, 0xeb, 0x3d, 0xf5, 0x47, 0xf3, 0xf9, - 0xe4, 0x9b, 0x84, 0x2f, 0x78, 0x9f, 0x6b, 0x9d, 0x5f, 0x65, 0x76, 0xba, 0xaa, 0x6d, 0x33, 0x36, - 0xd3, 0xb5, 0x63, 0x67, 0x55, 0xa5, 0xab, 0xda, 0xbe, 0x4c, 0x37, 0x65, 0xba, 0xce, 0x0b, 0x95, - 0x7d, 0x2d, 0xb3, 0x6a, 0xbd, 0xc9, 0x8a, 0xad, 0x6a, 0x97, 0xac, 0xb2, 0xd2, 0x5b, 0x8d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0xff, 0xff, 0x92, 0x58, - 0x12, 0x39, 0x83, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/campaign_feed_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/campaign_feed_error.pb.go deleted file mode 100644 index 2b038da0..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/campaign_feed_error.pb.go +++ /dev/null @@ -1,148 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/campaign_feed_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_7e242259afbd9004, []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_7e242259afbd9004, []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 (m *CampaignFeedErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignFeedErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.CampaignFeedErrorEnum_CampaignFeedError", CampaignFeedErrorEnum_CampaignFeedError_name, CampaignFeedErrorEnum_CampaignFeedError_value) - proto.RegisterType((*CampaignFeedErrorEnum)(nil), "google.ads.googleads.v2.errors.CampaignFeedErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/campaign_feed_error.proto", fileDescriptor_7e242259afbd9004) -} - -var fileDescriptor_7e242259afbd9004 = []byte{ - // 423 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0x41, 0x8e, 0xd3, 0x30, - 0x14, 0x86, 0x69, 0x80, 0x19, 0xe4, 0x59, 0x50, 0x2c, 0x81, 0x10, 0x1a, 0x75, 0x11, 0x16, 0xb0, - 0x18, 0x39, 0x28, 0x6c, 0x90, 0x59, 0x79, 0x62, 0xa7, 0x58, 0x34, 0x8e, 0x95, 0x74, 0x02, 0x45, - 0x95, 0xac, 0x30, 0x09, 0x51, 0xa5, 0x69, 0x5c, 0xc5, 0x65, 0x0e, 0xc4, 0xb2, 0xe7, 0x60, 0xc5, - 0x51, 0xd8, 0x71, 0x03, 0xe4, 0xb8, 0xad, 0x54, 0x15, 0x66, 0x95, 0x5f, 0xce, 0xf7, 0xff, 0x7e, - 0xcf, 0xef, 0x81, 0x77, 0x8d, 0xd6, 0xcd, 0x4d, 0x1d, 0x94, 0x95, 0x09, 0x9c, 0xb4, 0xea, 0x36, - 0x0c, 0xea, 0xae, 0xd3, 0x9d, 0x09, 0xae, 0xcb, 0xe5, 0xaa, 0x5c, 0x34, 0xad, 0xfa, 0x56, 0xd7, - 0x95, 0xea, 0x0f, 0xd1, 0xaa, 0xd3, 0x6b, 0x0d, 0x47, 0x0e, 0x47, 0x65, 0x65, 0xd0, 0xde, 0x89, - 0x6e, 0x43, 0xe4, 0x9c, 0x2f, 0xce, 0x77, 0xc9, 0xab, 0x45, 0x50, 0xb6, 0xad, 0x5e, 0x97, 0xeb, - 0x85, 0x6e, 0x8d, 0x73, 0xfb, 0x3f, 0x3d, 0xf0, 0x34, 0xda, 0x66, 0xc7, 0x75, 0x5d, 0x31, 0x6b, - 0x62, 0xed, 0xf7, 0xa5, 0xbf, 0xf1, 0xc0, 0x93, 0xa3, 0x3f, 0xf0, 0x31, 0x38, 0xbb, 0x12, 0xb9, - 0x64, 0x11, 0x8f, 0x39, 0xa3, 0xc3, 0x7b, 0xf0, 0x0c, 0x9c, 0x5e, 0x89, 0x8f, 0x22, 0xfd, 0x24, - 0x86, 0x03, 0x78, 0x01, 0x5e, 0xc7, 0x8c, 0x51, 0x45, 0x26, 0x19, 0x23, 0x74, 0xa6, 0xd8, 0x67, - 0x9e, 0x4f, 0x73, 0x15, 0xa7, 0x99, 0x92, 0x13, 0x12, 0xb1, 0x0f, 0xe9, 0x84, 0xb2, 0x4c, 0x4d, - 0x67, 0x92, 0x0d, 0x3d, 0xe8, 0x83, 0x51, 0x44, 0x84, 0x48, 0xa7, 0x2a, 0xca, 0x18, 0x99, 0xb2, - 0x9e, 0xcb, 0x58, 0x92, 0x16, 0x8c, 0x2a, 0x9b, 0x33, 0x7c, 0x00, 0xdf, 0x80, 0x8b, 0x43, 0xe6, - 0x20, 0x9a, 0x8b, 0xb1, 0x8a, 0x48, 0x22, 0x09, 0x1f, 0x0b, 0xe7, 0x78, 0x08, 0x5f, 0x81, 0x97, - 0x5b, 0x47, 0x92, 0x52, 0x1e, 0xcf, 0xf6, 0x89, 0x87, 0xe0, 0x09, 0x3c, 0x07, 0xcf, 0xb9, 0x28, - 0xc8, 0x84, 0xd3, 0xe3, 0xe2, 0x4e, 0x6d, 0x2b, 0x09, 0xcf, 0x73, 0x7b, 0x83, 0xe5, 0x13, 0x22, - 0x65, 0xaf, 0xff, 0xd5, 0xca, 0xa3, 0xcb, 0x3f, 0x03, 0xe0, 0x5f, 0xeb, 0x25, 0xba, 0x7b, 0x16, - 0x97, 0xcf, 0x8e, 0x1e, 0x54, 0xda, 0x29, 0xc8, 0xc1, 0x17, 0xba, 0x75, 0x36, 0xfa, 0xa6, 0x6c, - 0x1b, 0xa4, 0xbb, 0x26, 0x68, 0xea, 0xb6, 0x9f, 0xd1, 0x6e, 0x1f, 0x56, 0x0b, 0xf3, 0xbf, 0xf5, - 0x78, 0xef, 0x3e, 0x3f, 0xbc, 0xfb, 0x63, 0x42, 0x36, 0xde, 0x68, 0xec, 0xc2, 0x48, 0x65, 0x90, - 0x93, 0x56, 0x15, 0x21, 0xea, 0xaf, 0x34, 0xbf, 0x76, 0xc0, 0x9c, 0x54, 0x66, 0xbe, 0x07, 0xe6, - 0x45, 0x38, 0x77, 0xc0, 0x6f, 0xcf, 0x77, 0xa7, 0x18, 0x93, 0xca, 0x60, 0xbc, 0x47, 0x30, 0x2e, - 0x42, 0x8c, 0x1d, 0xf4, 0xf5, 0xa4, 0xaf, 0xee, 0xed, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x24, - 0x00, 0xc7, 0xed, 0xbb, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/campaign_shared_set_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/campaign_shared_set_error.pb.go deleted file mode 100644 index 95fc85a4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/campaign_shared_set_error.pb.go +++ /dev/null @@ -1,120 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/campaign_shared_set_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_5901f69bd03ba308, []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_5901f69bd03ba308, []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 (m *CampaignSharedSetErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignSharedSetErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.CampaignSharedSetErrorEnum_CampaignSharedSetError", CampaignSharedSetErrorEnum_CampaignSharedSetError_name, CampaignSharedSetErrorEnum_CampaignSharedSetError_value) - proto.RegisterType((*CampaignSharedSetErrorEnum)(nil), "google.ads.googleads.v2.errors.CampaignSharedSetErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/campaign_shared_set_error.proto", fileDescriptor_5901f69bd03ba308) -} - -var fileDescriptor_5901f69bd03ba308 = []byte{ - // 315 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xf3, 0x30, - 0x14, 0xc7, 0xbf, 0xf5, 0x03, 0x85, 0xec, 0xc2, 0xd1, 0x0b, 0x91, 0x39, 0x76, 0xd1, 0x07, 0x48, - 0xa1, 0xde, 0x45, 0x10, 0xb2, 0x36, 0xce, 0x21, 0xd4, 0x61, 0xb6, 0x09, 0x52, 0x08, 0x71, 0x09, - 0xb1, 0xb0, 0x25, 0x25, 0xa9, 0x7b, 0x20, 0x2f, 0x7d, 0x14, 0x1f, 0xc5, 0x07, 0xf0, 0x5a, 0xda, - 0x6c, 0xbd, 0x9a, 0x5e, 0xf5, 0x4f, 0xcf, 0xef, 0x77, 0xce, 0xc9, 0x01, 0x37, 0xca, 0x18, 0xb5, - 0x91, 0x31, 0x17, 0x2e, 0xf6, 0xb1, 0x49, 0xbb, 0x24, 0x96, 0xd6, 0x1a, 0xeb, 0xe2, 0x35, 0xdf, - 0x56, 0xbc, 0x54, 0x9a, 0xb9, 0x57, 0x6e, 0xa5, 0x60, 0x4e, 0xd6, 0xac, 0x2d, 0xc1, 0xca, 0x9a, - 0xda, 0x84, 0x63, 0x2f, 0x41, 0x2e, 0x1c, 0xec, 0x7c, 0xb8, 0x4b, 0xa0, 0xf7, 0x87, 0xa3, 0x43, - 0xff, 0xaa, 0x8c, 0xb9, 0xd6, 0xa6, 0xe6, 0x75, 0x69, 0xb4, 0xf3, 0x76, 0x64, 0xc1, 0x30, 0xdd, - 0x0f, 0xa0, 0x6d, 0x7f, 0x2a, 0x6b, 0xd2, 0x88, 0x44, 0xbf, 0x6d, 0xa3, 0x05, 0x38, 0x3f, 0x5e, - 0x0d, 0xcf, 0x40, 0x7f, 0x99, 0xd3, 0x39, 0x49, 0x67, 0xb7, 0x33, 0x92, 0x0d, 0xfe, 0x85, 0x7d, - 0x70, 0xba, 0xcc, 0xef, 0xf3, 0x87, 0xa7, 0x7c, 0xd0, 0x0b, 0x47, 0xe0, 0x82, 0xde, 0xe1, 0x47, - 0x92, 0x31, 0x4a, 0x16, 0x0c, 0xa7, 0x29, 0xa1, 0x94, 0x65, 0x24, 0x6f, 0xd0, 0x60, 0xf2, 0xdd, - 0x03, 0xd1, 0xda, 0x6c, 0xe1, 0xdf, 0x8b, 0x4f, 0x2e, 0x8f, 0x8f, 0x9e, 0x37, 0x7b, 0xcf, 0x7b, - 0xcf, 0xd9, 0x5e, 0x57, 0x66, 0xc3, 0xb5, 0x82, 0xc6, 0xaa, 0x58, 0x49, 0xdd, 0xbe, 0xea, 0x70, - 0xc7, 0xaa, 0x74, 0xbf, 0x9d, 0xf5, 0xda, 0x7f, 0xde, 0x83, 0xff, 0x53, 0x8c, 0x3f, 0x82, 0xf1, - 0xd4, 0x37, 0xc3, 0xc2, 0x41, 0x1f, 0x9b, 0xb4, 0x4a, 0x60, 0x3b, 0xd2, 0x7d, 0x1e, 0x80, 0x02, - 0x0b, 0x57, 0x74, 0x40, 0xb1, 0x4a, 0x0a, 0x0f, 0x7c, 0x05, 0x91, 0xff, 0x8b, 0x10, 0x16, 0x0e, - 0xa1, 0x0e, 0x41, 0x68, 0x95, 0x20, 0xe4, 0xa1, 0x97, 0x93, 0x76, 0xbb, 0xab, 0x9f, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x52, 0xf0, 0x7d, 0x5d, 0xf3, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/change_status_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/change_status_error.pb.go deleted file mode 100644 index 6d8f61c8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/change_status_error.pb.go +++ /dev/null @@ -1,120 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/change_status_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_7e903bf4c0349481, []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_7e903bf4c0349481, []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 (m *ChangeStatusErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChangeStatusErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.ChangeStatusErrorEnum_ChangeStatusError", ChangeStatusErrorEnum_ChangeStatusError_name, ChangeStatusErrorEnum_ChangeStatusError_value) - proto.RegisterType((*ChangeStatusErrorEnum)(nil), "google.ads.googleads.v2.errors.ChangeStatusErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/change_status_error.proto", fileDescriptor_7e903bf4c0349481) -} - -var fileDescriptor_7e903bf4c0349481 = []byte{ - // 306 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x6a, 0xb3, 0x40, - 0x14,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0x97, 0x01, 0x9c, 0xad, 0xd8, 0xc3, 0xbf, 0x8b, - 0x2e, 0x66, 0x27, 0xfb, 0xe2, 0xbe, 0x62, 0x6c, 0xbc, 0x78, 0x3f, 0x4e, 0x26, 0x76, 0x94, 0x33, - 0x28, 0x5a, 0x86, 0x58, 0xc5, 0xd5, 0x03, 0x86, 0x63, 0x35, 0xb5, 0xfc, 0xed, 0x76, 0x77, 0xfa, - 0xf3, 0x66, 0x4e, 0x56, 0x84, 0xbc, 0x9b, 0xf3, 0x95, 0x0e, 0x23, 0xa5, 0x84, 0x5a, 0xf6, 0x2a, - 0x73, 0xa1, 0x5a, 0x29, 0x3f, 0x06, 0x20, 0x27, 0xa5, 0xcc, 0x47, 0x20, 0xcf, 0xdc, 0x5c, 0x03, - 0x9f, 0xa6, 0xa3, 0xa7, 0x18, 0x93, 0x52, 0x62, 0x3c, 0x22, 0x18, 0x67, 0x2e, 0xc6, 0x1a, 0xda, - 0xfc, 0x57, 0xed, 0x6e, 0xbe, 0x03, 0x00, 0x00, 0xff, 0xff, 0xd2, 0xd8, 0xe1, 0xa9, 0xd8, 0x01, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/collection_size_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/collection_size_error.pb.go deleted file mode 100644 index e91d40bf..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/collection_size_error.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/collection_size_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_8be19f13e849550f, []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_8be19f13e849550f, []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 (m *CollectionSizeErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CollectionSizeErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.CollectionSizeErrorEnum_CollectionSizeError", CollectionSizeErrorEnum_CollectionSizeError_name, CollectionSizeErrorEnum_CollectionSizeError_value) - proto.RegisterType((*CollectionSizeErrorEnum)(nil), "google.ads.googleads.v2.errors.CollectionSizeErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/collection_size_error.proto", fileDescriptor_8be19f13e849550f) -} - -var fileDescriptor_8be19f13e849550f = []byte{ - // 308 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, 0x23, 0xfd, 0xd4, 0xa2, - 0xa2, 0xfc, 0xa2, 0x62, 0xfd, 0xe4, 0xfc, 0x9c, 0x9c, 0xd4, 0xe4, 0x92, 0xcc, 0xfc, 0xbc, 0xf8, - 0xe2, 0xcc, 0xaa, 0xd4, 0x78, 0xb0, 0xb0, 0x5e, 0x41, 0x51, 0x7e, 0x49, 0xbe, 0x90, 0x1c, 0x44, - 0x83, 0x5e, 0x62, 0x4a, 0xb1, 0x1e, 0x5c, 0xaf, 0x5e, 0x99, 0x91, 0x1e, 0x44, 0xaf, 0x94, 0x0c, - 0xcc, 0xec, 0x82, 0x4c, 0xfd, 0xc4, 0xbc, 0xbc, 0xfc, 0x92, 0x44, 0x90, 0x39, 0xc5, 0x10, 0xdd, - 0x4a, 0x99, 0x5c, 0xe2, 0xce, 0x70, 0xc3, 0x83, 0x33, 0xab, 0x52, 0x5d, 0x41, 0xba, 0x5c, 0xf3, - 0x4a, 0x73, 0x95, 0xfc, 0xb8, 0x84, 0xb1, 0x48, 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, 0x82, 0x38, 0x21, 0xfe, 0xfe, 0xf1, 0x6e, 0xae, 0xe1, 0x02, - 0x4c, 0x42, 0x3c, 0x5c, 0x1c, 0x20, 0x8e, 0xaf, 0xa3, 0x5f, 0xa4, 0x00, 0xb3, 0xd3, 0x67, 0x46, - 0x2e, 0xa5, 0xe4, 0xfc, 0x5c, 0x3d, 0xfc, 0xee, 0x75, 0x92, 0xc0, 0x62, 0x69, 0x00, 0xc8, 0xad, - 0x01, 0x8c, 0x51, 0x2e, 0x50, 0xbd, 0xe9, 0xf9, 0x39, 0x89, 0x79, 0xe9, 0x7a, 0xf9, 0x45, 0xe9, - 0xfa, 0xe9, 0xa9, 0x79, 0x60, 0x9f, 0xc0, 0xc2, 0xad, 0x20, 0xb3, 0x18, 0x57, 0x30, 0x5a, 0x43, - 0xa8, 0x45, 0x4c, 0xcc, 0xee, 0x8e, 0x8e, 0xab, 0x98, 0xe4, 0xdc, 0x21, 0x86, 0x39, 0xa6, 0x14, - 0xeb, 0x41, 0x98, 0x20, 0x56, 0x98, 0x91, 0x1e, 0xd8, 0xca, 0xe2, 0x53, 0x30, 0x05, 0x31, 0x8e, - 0x29, 0xc5, 0x31, 0x70, 0x05, 0x31, 0x61, 0x46, 0x31, 0x10, 0x05, 0xaf, 0x98, 0x94, 0x20, 0xa2, - 0x56, 0x56, 0x8e, 0x29, 0xc5, 0x56, 0x56, 0x70, 0x25, 0x56, 0x56, 0x61, 0x46, 0x56, 0x56, 0x10, - 0x45, 0x49, 0x6c, 0x60, 0xd7, 0x19, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xc4, 0x53, 0x0f, 0x9f, - 0xe3, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/context_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/context_error.pb.go deleted file mode 100644 index 802313db..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/context_error.pb.go +++ /dev/null @@ -1,125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/context_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_fae773e72f6a49fe, []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_fae773e72f6a49fe, []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 (m *ContextErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ContextErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.ContextErrorEnum_ContextError", ContextErrorEnum_ContextError_name, ContextErrorEnum_ContextError_value) - proto.RegisterType((*ContextErrorEnum)(nil), "google.ads.googleads.v2.errors.ContextErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/context_error.proto", fileDescriptor_fae773e72f6a49fe) -} - -var fileDescriptor_fae773e72f6a49fe = []byte{ - // 336 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xf3, 0x40, - 0x14, 0x85, 0xff, 0xa4, 0xf0, 0x0b, 0x53, 0xc1, 0x98, 0xa5, 0x48, 0x17, 0x71, 0xe1, 0x46, 0x26, - 0x12, 0x77, 0xe3, 0x2a, 0x4d, 0x6e, 0x4b, 0x90, 0xce, 0x84, 0x34, 0x8d, 0x22, 0x81, 0x10, 0x9b, - 0x10, 0x0a, 0xed, 0x4c, 0xc9, 0xc4, 0xe2, 0x1b, 0xf8, 0x12, 0xae, 0x5c, 0xfa, 0x28, 0x3e, 0x8a, - 0xf8, 0x10, 0x92, 0x8c, 0x2d, 0xdd, 0xd8, 0x55, 0x4e, 0x2e, 0xdf, 0x39, 0x73, 0xcf, 0x45, 0x4e, - 0x25, 0x44, 0xb5, 0x2c, 0xed, 0xbc, 0x90, 0xb6, 0x92, 0xad, 0xda, 0x38, 0x76, 0x59, 0xd7, 0xa2, - 0x96, 0xf6, 0x5c, 0xf0, 0xa6, 0x7c, 0x69, 0xb2, 0xee, 0x17, 0xaf, 0x6b, 0xd1, 0x08, 0x73, 0xa0, - 0x40, 0x9c, 0x17, 0x12, 0xef, 0x3c, 0x78, 0xe3, 0x60, 0xe5, 0x39, 0x3b, 0xdf, 0x66, 0xae, 0x17, - 0x76, 0xce, 0xb9, 0x68, 0xf2, 0x66, 0x21, 0xb8, 0x54, 0x6e, 0xeb, 0x4d, 0x43, 0x86, 0xa7, 0x52, - 0xa1, 0xe5, 0x81, 0x3f, 0xaf, 0xac, 0x57, 0x0d, 0x1d, 0xef, 0x0f, 0xcd, 0x13, 0xd4, 0x9f, 0xd1, - 0x69, 0x08, 0x5e, 0x30, 0x0a, 0xc0, 0x37, 0xfe, 0x99, 0x7d, 0x74, 0x34, 0xa3, 0x77, 0x94, 0xdd, - 0x53, 0x43, 0x33, 0x2f, 0xd1, 0x05, 0x0b, 0x21, 0x72, 0xe3, 0x80, 0xd1, 0x8c, 0xb2, 0x38, 0x0b, - 0x21, 0x9a, 0x04, 0x71, 0x0c, 0x7e, 0x36, 0x62, 0x51, 0xe6, 0x31, 0x1a, 0xc3, 0x43, 0x6c, 0xe8, - 0xe6, 0x35, 0xba, 0x3a, 0x04, 0x46, 0x30, 0x61, 0x09, 0xf8, 0x59, 0x04, 0x53, 0x36, 0x8b, 0x3c, - 0x30, 0x7a, 0xc3, 0x6f, 0x0d, 0x59, 0x73, 0xb1, 0xc2, 0x87, 0x3b, 0x0e, 0x4f, 0xf7, 0xb7, 0x0d, - 0xdb, 0x62, 0xa1, 0xf6, 0xe8, 0xff, 0x9a, 0x2a, 0xb1, 0xcc, 0x79, 0x85, 0x45, 0x5d, 0xd9, 0x55, - 0xc9, 0xbb, 0xda, 0xdb, 0xe3, 0xae, 0x17, 0xf2, 0xaf, 0x5b, 0xdf, 0xaa, 0xcf, 0xbb, 0xde, 0x1b, - 0xbb, 0xee, 0x87, 0x3e, 0x18, 0xab, 0x30, 0xb7, 0x90, 0x58, 0xc9, 0x56, 0x25, 0x0e, 0xee, 0x9e, - 0x94, 0x9f, 0x5b, 0x20, 0x75, 0x0b, 0x99, 0xee, 0x80, 0x34, 0x71, 0x52, 0x05, 0x7c, 0xe9, 0x96, - 0x9a, 0x12, 0xe2, 0x16, 0x92, 0x90, 0x1d, 0x42, 0x48, 0xe2, 0x10, 0xa2, 0xa0, 0xa7, 0xff, 0xdd, - 0x76, 0x37, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x24, 0x30, 0x36, 0x3e, 0x08, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/conversion_action_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/conversion_action_error.pb.go deleted file mode 100644 index 2404c36f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/conversion_action_error.pb.go +++ /dev/null @@ -1,163 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/conversion_action_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_bfc676da5dfef964, []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_bfc676da5dfef964, []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 (m *ConversionActionErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConversionActionErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.ConversionActionErrorEnum_ConversionActionError", ConversionActionErrorEnum_ConversionActionError_name, ConversionActionErrorEnum_ConversionActionError_value) - proto.RegisterType((*ConversionActionErrorEnum)(nil), "google.ads.googleads.v2.errors.ConversionActionErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/conversion_action_error.proto", fileDescriptor_bfc676da5dfef964) -} - -var fileDescriptor_bfc676da5dfef964 = []byte{ - // 443 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0x41, 0x8b, 0xd3, 0x40, - 0x14, 0xc7, 0x6d, 0x56, 0x77, 0x75, 0x16, 0x74, 0x18, 0x14, 0xd9, 0x55, 0xf7, 0x50, 0xf0, 0xe0, - 0xc1, 0x04, 0xb3, 0x07, 0x21, 0x7a, 0x79, 0xcd, 0x8c, 0x61, 0x30, 0x9d, 0x09, 0x49, 0x9a, 0x8a, - 0x14, 0x86, 0xd8, 0x94, 0x50, 0xd8, 0xcd, 0x94, 0x4c, 0xed, 0x07, 0xf2, 0xe8, 0x47, 0xf1, 0xe6, - 0xd7, 0xf0, 0xe2, 0xc9, 0xbb, 0x24, 0xb3, 0xad, 0x87, 0xad, 0x3d, 0xcd, 0x9f, 0xf7, 0xfe, 0xbf, - 0x7f, 0xc2, 0x7b, 0x0f, 0xbd, 0xaf, 0xb5, 0xae, 0xaf, 0x16, 0x5e, 0x59, 0x19, 0xcf, 0xca, 0x4e, - 0x6d, 0x7c, 0x6f, 0xd1, 0xb6, 0xba, 0x35, 0xde, 0x5c, 0x37, 0x9b, 0x45, 0x6b, 0x96, 0xba, 0x51, - 0xe5, 0x7c, 0xdd, 0x3d, 0x7d, 0xc3, 0x5d, 0xb5, 0x7a, 0xad, 0xc9, 0x85, 0x45, 0xdc, 0xb2, 0x32, - 0xee, 0x8e, 0x76, 0x37, 0xbe, 0x6b, 0xe9, 0xf3, 0xe7, 0xdb, 0xf4, 0xd5, 0xd2, 0x2b, 0x9b, 0x46, - 0xaf, 0xcb, 0x2e, 0xc2, 0x58, 0x7a, 0xf8, 0xdb, 0x41, 0x67, 0xe1, 0x2e, 0x1f, 0xfa, 0x78, 0xd6, - 0x81, 0xac, 0xf9, 0x7a, 0x3d, 0xfc, 0xe9, 0xa0, 0x27, 0x7b, 0xbb, 0xe4, 0x11, 0x3a, 0x9d, 0x88, - 0x2c, 0x61, 0x21, 0xff, 0xc0, 0x19, 0xc5, 0x77, 0xc8, 0x29, 0x3a, 0x99, 0x88, 0x8f, 0x42, 0x4e, - 0x05, 0x1e, 0x10, 0x82, 0x1e, 0xd2, 0x49, 0x12, 0xf3, 0x10, 0x72, 0xa6, 0x04, 0x8c, 0x19, 0x76, - 0xc8, 0x63, 0x84, 0xff, 0xd5, 0x20, 0x49, 0x14, 0xa7, 0xf8, 0x88, 0xbc, 0x45, 0x97, 0xf9, 0x54, - 0xaa, 0x50, 0x8a, 0x82, 0xa5, 0x19, 0x97, 0x42, 0x41, 0x98, 0x73, 0x29, 0x32, 0x35, 0xe2, 0x94, - 0x72, 0x11, 0x29, 0x29, 0x54, 0x06, 0x63, 0x8b, 0x50, 0x39, 0x15, 0xb1, 0x04, 0x8a, 0xef, 0x92, - 0x37, 0xe8, 0xf5, 0x21, 0x87, 0x82, 0x4c, 0x45, 0xb1, 0x1c, 0x41, 0x7c, 0x13, 0x88, 0xef, 0x91, - 0x57, 0xe8, 0x25, 0x85, 0x1c, 0x14, 0x4d, 0x79, 0xc1, 0x84, 0x1a, 0x4b, 0xca, 0x62, 0x35, 0x85, - 0x4c, 0x09, 0x56, 0xb0, 0x54, 0x45, 0x4c, 0xb0, 0x14, 0x72, 0x46, 0xf1, 0x31, 0x79, 0x81, 0xce, - 0x6e, 0x5b, 0xd9, 0xa7, 0x84, 0xa7, 0x8c, 0xe2, 0x13, 0xf2, 0x0c, 0x3d, 0xbd, 0xdd, 0xce, 0x72, - 0x88, 0x19, 0xbe, 0xbf, 0x9f, 0xdd, 0xce, 0xe6, 0xc1, 0xe8, 0xcf, 0x00, 0x0d, 0xe7, 0xfa, 0xda, - 0x3d, 0xbc, 0xb6, 0xd1, 0xf9, 0xde, 0xb9, 0x27, 0xdd, 0xd2, 0x92, 0xc1, 0x67, 0x7a, 0x43, 0xd7, - 0xfa, 0xaa, 0x6c, 0x6a, 0x57, 0xb7, 0xb5, 0x57, 0x2f, 0x9a, 0x7e, 0xa5, 0xdb, 0x13, 0x5a, 0x2d, - 0xcd, 0xff, 0x2e, 0xea, 0x9d, 0x7d, 0xbe, 0x39, 0x47, 0x11, 0xc0, 0x77, 0xe7, 0x22, 0xb2, 0x61, - 0x50, 0x19, 0xd7, 0xca, 0x4e, 0x15, 0xbe, 0xdb, 0x7f, 0xd2, 0xfc, 0xd8, 0x1a, 0x66, 0x50, 0x99, - 0xd9, 0xce, 0x30, 0x2b, 0xfc, 0x99, 0x35, 0xfc, 0x72, 0x86, 0xb6, 0x1a, 0x04, 0x50, 0x99, 0x20, - 0xd8, 0x59, 0x82, 0xa0, 0xf0, 0x83, 0xc0, 0x9a, 0xbe, 0x1c, 0xf7, 0x7f, 0x77, 0xf9, 0x37, 0x00, - 0x00, 0xff, 0xff, 0x3e, 0x6e, 0xc6, 0x2b, 0xee, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/conversion_adjustment_upload_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/conversion_adjustment_upload_error.pb.go deleted file mode 100644 index 5d2ad196..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/conversion_adjustment_upload_error.pb.go +++ /dev/null @@ -1,170 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/conversion_adjustment_upload_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible conversion adjustment upload errors. -type ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError int32 - -const ( - // Not specified. - ConversionAdjustmentUploadErrorEnum_UNSPECIFIED ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError = 0 - // The received error code is not known in this version. - ConversionAdjustmentUploadErrorEnum_UNKNOWN ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError = 1 - // The specified conversion action was created too recently. - // Please try the upload again after 4-6 hours have passed since the - // conversion action was created. - ConversionAdjustmentUploadErrorEnum_TOO_RECENT_CONVERSION_ACTION ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError = 2 - // No conversion action of a supported ConversionActionType that matches the - // provided information can be found for the customer. - ConversionAdjustmentUploadErrorEnum_INVALID_CONVERSION_ACTION ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError = 3 - // A retraction was already reported for this conversion. - ConversionAdjustmentUploadErrorEnum_CONVERSION_ALREADY_RETRACTED ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError = 4 - // A conversion for the supplied combination of conversion - // action and conversion identifier could not be found. - ConversionAdjustmentUploadErrorEnum_CONVERSION_NOT_FOUND ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError = 5 - // The specified conversion has already expired. Conversions expire after 55 - // days, after which adjustments cannot be reported against them. - ConversionAdjustmentUploadErrorEnum_CONVERSION_EXPIRED ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError = 6 - // The supplied adjustment date time precedes that of the original - // conversion. - ConversionAdjustmentUploadErrorEnum_ADJUSTMENT_PRECEDES_CONVERSION ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError = 7 - // A restatement with a more recent adjustment date time was already - // reported for this conversion. - ConversionAdjustmentUploadErrorEnum_MORE_RECENT_RESTATEMENT_FOUND ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError = 8 - // The conversion was created too recently. - ConversionAdjustmentUploadErrorEnum_TOO_RECENT_CONVERSION ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError = 9 - // Restatements cannot be reported for a conversion action that always uses - // the default value. - ConversionAdjustmentUploadErrorEnum_CANNOT_RESTATE_CONVERSION_ACTION_THAT_ALWAYS_USES_DEFAULT_CONVERSION_VALUE ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError = 10 -) - -var ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "TOO_RECENT_CONVERSION_ACTION", - 3: "INVALID_CONVERSION_ACTION", - 4: "CONVERSION_ALREADY_RETRACTED", - 5: "CONVERSION_NOT_FOUND", - 6: "CONVERSION_EXPIRED", - 7: "ADJUSTMENT_PRECEDES_CONVERSION", - 8: "MORE_RECENT_RESTATEMENT_FOUND", - 9: "TOO_RECENT_CONVERSION", - 10: "CANNOT_RESTATE_CONVERSION_ACTION_THAT_ALWAYS_USES_DEFAULT_CONVERSION_VALUE", -} - -var ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "TOO_RECENT_CONVERSION_ACTION": 2, - "INVALID_CONVERSION_ACTION": 3, - "CONVERSION_ALREADY_RETRACTED": 4, - "CONVERSION_NOT_FOUND": 5, - "CONVERSION_EXPIRED": 6, - "ADJUSTMENT_PRECEDES_CONVERSION": 7, - "MORE_RECENT_RESTATEMENT_FOUND": 8, - "TOO_RECENT_CONVERSION": 9, - "CANNOT_RESTATE_CONVERSION_ACTION_THAT_ALWAYS_USES_DEFAULT_CONVERSION_VALUE": 10, -} - -func (x ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError) String() string { - return proto.EnumName(ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError_name, int32(x)) -} - -func (ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ee5155a23c3d715a, []int{0, 0} -} - -// Container for enum describing possible conversion adjustment upload errors. -type ConversionAdjustmentUploadErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ConversionAdjustmentUploadErrorEnum) Reset() { *m = ConversionAdjustmentUploadErrorEnum{} } -func (m *ConversionAdjustmentUploadErrorEnum) String() string { return proto.CompactTextString(m) } -func (*ConversionAdjustmentUploadErrorEnum) ProtoMessage() {} -func (*ConversionAdjustmentUploadErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_ee5155a23c3d715a, []int{0} -} - -func (m *ConversionAdjustmentUploadErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConversionAdjustmentUploadErrorEnum.Unmarshal(m, b) -} -func (m *ConversionAdjustmentUploadErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConversionAdjustmentUploadErrorEnum.Marshal(b, m, deterministic) -} -func (m *ConversionAdjustmentUploadErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConversionAdjustmentUploadErrorEnum.Merge(m, src) -} -func (m *ConversionAdjustmentUploadErrorEnum) XXX_Size() int { - return xxx_messageInfo_ConversionAdjustmentUploadErrorEnum.Size(m) -} -func (m *ConversionAdjustmentUploadErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_ConversionAdjustmentUploadErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_ConversionAdjustmentUploadErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.errors.ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError", ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError_name, ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError_value) - proto.RegisterType((*ConversionAdjustmentUploadErrorEnum)(nil), "google.ads.googleads.v2.errors.ConversionAdjustmentUploadErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/conversion_adjustment_upload_error.proto", fileDescriptor_ee5155a23c3d715a) -} - -var fileDescriptor_ee5155a23c3d715a = []byte{ - // 478 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xd1, 0x6e, 0xd3, 0x30, - 0x14, 0x86, 0x59, 0x0b, 0x1b, 0x78, 0x17, 0x44, 0x16, 0x20, 0x86, 0xb6, 0x02, 0x85, 0xeb, 0x44, - 0x0a, 0x77, 0xe1, 0xca, 0x8b, 0x4f, 0x4b, 0x46, 0xe6, 0x44, 0x89, 0x93, 0x31, 0x54, 0xc9, 0x0a, - 0x4b, 0x14, 0x15, 0xb5, 0x71, 0x15, 0xa7, 0x7d, 0x04, 0x1e, 0x84, 0x4b, 0x2e, 0x78, 0x10, 0x1e, - 0x85, 0x97, 0x00, 0x25, 0x5e, 0xa3, 0x22, 0x06, 0xbb, 0xca, 0x91, 0xfd, 0x9d, 0xff, 0xff, 0x9d, - 0x73, 0xd0, 0xb4, 0x94, 0xb2, 0x5c, 0x14, 0x56, 0x96, 0x2b, 0x4b, 0x97, 0x6d, 0xb5, 0xb1, 0xad, - 0xa2, 0xae, 0x65, 0xad, 0xac, 0x2b, 0x59, 0x6d, 0x8a, 0x5a, 0xcd, 0x65, 0x25, 0xb2, 0xfc, 0xf3, - 0x5a, 0x35, 0xcb, 0xa2, 0x6a, 0xc4, 0x7a, 0xb5, 0x90, 0x59, 0x2e, 0x3a, 0xc6, 0x5c, 0xd5, 0xb2, - 0x91, 0x78, 0xa4, 0xbb, 0xcd, 0x2c, 0x57, 0x66, 0x2f, 0x64, 0x6e, 0x6c, 0x53, 0x0b, 0x3d, 0x3b, - 0xde, 0x1a, 0xad, 0xe6, 0x56, 0x56, 0x55, 0xb2, 0xc9, 0x9a, 0xb9, 0xac, 0x94, 0xee, 0x1e, 0x7f, - 0x1f, 0xa2, 0x57, 0x6e, 0x6f, 0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x43, 0x2c, 0x28, 0x4c, - 0x48, 0xe2, 0xff, 0xf1, 0x97, 0x52, 0xe2, 0x27, 0x60, 0xa0, 0xd3, 0x5f, 0x7b, 0x68, 0x7c, 0x25, - 0x97, 0xe6, 0xff, 0xa7, 0x7e, 0xfa, 0xfa, 0x96, 0x61, 0x85, 0xed, 0xf4, 0xc3, 0xbd, 0x8f, 0xf4, - 0x5a, 0xa7, 0x94, 0x8b, 0xac, 0x2a, 0x4d, 0x59, 0x97, 0x56, 0x59, 0x54, 0xdd, 0x6e, 0x6c, 0xd7, - 0x72, 0x35, 0x57, 0xff, 0xda, 0xd2, 0xb7, 0xfa, 0xf3, 0x75, 0x30, 0x9c, 0x12, 0xf2, 0x6d, 0x30, - 0x9a, 0x6a, 0x31, 0x92, 0x2b, 0x53, 0x97, 0x6d, 0x95, 0xda, 0x66, 0x67, 0xa9, 0x7e, 0x6c, 0x81, - 0x19, 0xc9, 0xd5, 0xac, 0x07, 0x66, 0xa9, 0x3d, 0xd3, 0xc0, 0xcf, 0xc1, 0x58, 0x9f, 0x3a, 0x0e, - 0xc9, 0x95, 0xe3, 0xf4, 0x88, 0xe3, 0xa4, 0xb6, 0xe3, 0x68, 0xe8, 0xd3, 0x7e, 0x97, 0xee, 0xcd, - 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x88, 0xc7, 0x26, 0xf4, 0x42, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/conversion_upload_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/conversion_upload_error.pb.go deleted file mode 100644 index 6af95146..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/conversion_upload_error.pb.go +++ /dev/null @@ -1,243 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/conversion_upload_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible conversion upload errors. -type ConversionUploadErrorEnum_ConversionUploadError int32 - -const ( - // Enum unspecified. - ConversionUploadErrorEnum_UNSPECIFIED ConversionUploadErrorEnum_ConversionUploadError = 0 - // The received error code is not known in this version. - ConversionUploadErrorEnum_UNKNOWN ConversionUploadErrorEnum_ConversionUploadError = 1 - // The request contained more than 2000 conversions. - ConversionUploadErrorEnum_TOO_MANY_CONVERSIONS_IN_REQUEST ConversionUploadErrorEnum_ConversionUploadError = 2 - // The specified gclid could not be decoded. - ConversionUploadErrorEnum_UNPARSEABLE_GCLID ConversionUploadErrorEnum_ConversionUploadError = 3 - // The specified conversion_date_time is before the event time - // associated with the given gclid. - ConversionUploadErrorEnum_CONVERSION_PRECEDES_GCLID ConversionUploadErrorEnum_ConversionUploadError = 4 - // The click associated with the given gclid is either too old to be - // imported or occurred outside of the click through lookback window for the - // specified conversion action. - ConversionUploadErrorEnum_EXPIRED_GCLID ConversionUploadErrorEnum_ConversionUploadError = 5 - // The click associated with the given gclid occurred too recently. Please - // try uploading again after 24 hours have passed since the click occurred. - ConversionUploadErrorEnum_TOO_RECENT_GCLID ConversionUploadErrorEnum_ConversionUploadError = 6 - // The click associated with the given gclid could not be found in the - // system. This can happen if Google Click IDs are collected for non Google - // Ads clicks. - ConversionUploadErrorEnum_GCLID_NOT_FOUND ConversionUploadErrorEnum_ConversionUploadError = 7 - // The click associated with the given gclid is owned by a customer - // account that the uploading customer does not manage. - ConversionUploadErrorEnum_UNAUTHORIZED_CUSTOMER ConversionUploadErrorEnum_ConversionUploadError = 8 - // No upload eligible conversion action that matches the provided - // information can be found for the customer. - ConversionUploadErrorEnum_INVALID_CONVERSION_ACTION ConversionUploadErrorEnum_ConversionUploadError = 9 - // The specified conversion action was created too recently. - // Please try the upload again after 4-6 hours have passed since the - // conversion action was created. - ConversionUploadErrorEnum_TOO_RECENT_CONVERSION_ACTION ConversionUploadErrorEnum_ConversionUploadError = 10 - // The click associated with the given gclid does not contain conversion - // tracking information. - ConversionUploadErrorEnum_CONVERSION_TRACKING_NOT_ENABLED_AT_IMPRESSION_TIME ConversionUploadErrorEnum_ConversionUploadError = 11 - // The specified conversion action does not use an external attribution - // model, but external_attribution_data was set. - ConversionUploadErrorEnum_EXTERNAL_ATTRIBUTION_DATA_SET_FOR_NON_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION ConversionUploadErrorEnum_ConversionUploadError = 12 - // The specified conversion action uses an external attribution model, but - // external_attribution_data or one of its contained fields was not set. - // Both external_attribution_credit and external_attribution_model must be - // set for externally attributed conversion actions. - ConversionUploadErrorEnum_EXTERNAL_ATTRIBUTION_DATA_NOT_SET_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION ConversionUploadErrorEnum_ConversionUploadError = 13 - // Order IDs are not supported for conversion actions which use an external - // attribution model. - ConversionUploadErrorEnum_ORDER_ID_NOT_PERMITTED_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION ConversionUploadErrorEnum_ConversionUploadError = 14 - // A conversion with the same order id and conversion action combination - // already exists in our system. - ConversionUploadErrorEnum_ORDER_ID_ALREADY_IN_USE ConversionUploadErrorEnum_ConversionUploadError = 15 - // The request contained two or more conversions with the same order id and - // conversion action combination. - ConversionUploadErrorEnum_DUPLICATE_ORDER_ID ConversionUploadErrorEnum_ConversionUploadError = 16 - // The call occurred too recently. Please try uploading again after 24 hours - // have passed since the call occurred. - ConversionUploadErrorEnum_TOO_RECENT_CALL ConversionUploadErrorEnum_ConversionUploadError = 17 - // The click that initiated the call is too old for this conversion to be - // imported. - ConversionUploadErrorEnum_EXPIRED_CALL ConversionUploadErrorEnum_ConversionUploadError = 18 - // The call or the click leading to the call was not found. - ConversionUploadErrorEnum_CALL_NOT_FOUND ConversionUploadErrorEnum_ConversionUploadError = 19 - // The specified conversion_date_time is before the call_start_date_time. - ConversionUploadErrorEnum_CONVERSION_PRECEDES_CALL ConversionUploadErrorEnum_ConversionUploadError = 20 - // The click associated with the call does not contain conversion tracking - // information. - ConversionUploadErrorEnum_CONVERSION_TRACKING_NOT_ENABLED_AT_CALL_TIME ConversionUploadErrorEnum_ConversionUploadError = 21 - // The caller’s phone number cannot be parsed. It should be formatted either - // as E.164 "+16502531234", International "+64 3-331 6005" or US national - // number "6502531234". - ConversionUploadErrorEnum_UNPARSEABLE_CALLERS_PHONE_NUMBER ConversionUploadErrorEnum_ConversionUploadError = 22 -) - -var ConversionUploadErrorEnum_ConversionUploadError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "TOO_MANY_CONVERSIONS_IN_REQUEST", - 3: "UNPARSEABLE_GCLID", - 4: "CONVERSION_PRECEDES_GCLID", - 5: "EXPIRED_GCLID", - 6: "TOO_RECENT_GCLID", - 7: "GCLID_NOT_FOUND", - 8: "UNAUTHORIZED_CUSTOMER", - 9: "INVALID_CONVERSION_ACTION", - 10: "TOO_RECENT_CONVERSION_ACTION", - 11: "CONVERSION_TRACKING_NOT_ENABLED_AT_IMPRESSION_TIME", - 12: "EXTERNAL_ATTRIBUTION_DATA_SET_FOR_NON_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION", - 13: "EXTERNAL_ATTRIBUTION_DATA_NOT_SET_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION", - 14: "ORDER_ID_NOT_PERMITTED_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION", - 15: "ORDER_ID_ALREADY_IN_USE", - 16: "DUPLICATE_ORDER_ID", - 17: "TOO_RECENT_CALL", - 18: "EXPIRED_CALL", - 19: "CALL_NOT_FOUND", - 20: "CONVERSION_PRECEDES_CALL", - 21: "CONVERSION_TRACKING_NOT_ENABLED_AT_CALL_TIME", - 22: "UNPARSEABLE_CALLERS_PHONE_NUMBER", -} - -var ConversionUploadErrorEnum_ConversionUploadError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "TOO_MANY_CONVERSIONS_IN_REQUEST": 2, - "UNPARSEABLE_GCLID": 3, - "CONVERSION_PRECEDES_GCLID": 4, - "EXPIRED_GCLID": 5, - "TOO_RECENT_GCLID": 6, - "GCLID_NOT_FOUND": 7, - "UNAUTHORIZED_CUSTOMER": 8, - "INVALID_CONVERSION_ACTION": 9, - "TOO_RECENT_CONVERSION_ACTION": 10, - "CONVERSION_TRACKING_NOT_ENABLED_AT_IMPRESSION_TIME": 11, - "EXTERNAL_ATTRIBUTION_DATA_SET_FOR_NON_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION": 12, - "EXTERNAL_ATTRIBUTION_DATA_NOT_SET_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION": 13, - "ORDER_ID_NOT_PERMITTED_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION": 14, - "ORDER_ID_ALREADY_IN_USE": 15, - "DUPLICATE_ORDER_ID": 16, - "TOO_RECENT_CALL": 17, - "EXPIRED_CALL": 18, - "CALL_NOT_FOUND": 19, - "CONVERSION_PRECEDES_CALL": 20, - "CONVERSION_TRACKING_NOT_ENABLED_AT_CALL_TIME": 21, - "UNPARSEABLE_CALLERS_PHONE_NUMBER": 22, -} - -func (x ConversionUploadErrorEnum_ConversionUploadError) String() string { - return proto.EnumName(ConversionUploadErrorEnum_ConversionUploadError_name, int32(x)) -} - -func (ConversionUploadErrorEnum_ConversionUploadError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0f2c8da0320cd9a9, []int{0, 0} -} - -// Container for enum describing possible conversion upload errors. -type ConversionUploadErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ConversionUploadErrorEnum) Reset() { *m = ConversionUploadErrorEnum{} } -func (m *ConversionUploadErrorEnum) String() string { return proto.CompactTextString(m) } -func (*ConversionUploadErrorEnum) ProtoMessage() {} -func (*ConversionUploadErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_0f2c8da0320cd9a9, []int{0} -} - -func (m *ConversionUploadErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConversionUploadErrorEnum.Unmarshal(m, b) -} -func (m *ConversionUploadErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConversionUploadErrorEnum.Marshal(b, m, deterministic) -} -func (m *ConversionUploadErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConversionUploadErrorEnum.Merge(m, src) -} -func (m *ConversionUploadErrorEnum) XXX_Size() int { - return xxx_messageInfo_ConversionUploadErrorEnum.Size(m) -} -func (m *ConversionUploadErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_ConversionUploadErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_ConversionUploadErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.errors.ConversionUploadErrorEnum_ConversionUploadError", ConversionUploadErrorEnum_ConversionUploadError_name, ConversionUploadErrorEnum_ConversionUploadError_value) - proto.RegisterType((*ConversionUploadErrorEnum)(nil), "google.ads.googleads.v2.errors.ConversionUploadErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/conversion_upload_error.proto", fileDescriptor_0f2c8da0320cd9a9) -} - -var fileDescriptor_0f2c8da0320cd9a9 = []byte{ - // 636 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xcd, 0x6e, 0xd3, 0x40, - 0x10, 0xa6, 0x29, 0xa4, 0xb0, 0xfd, 0xdb, 0x6e, 0x9b, 0x42, 0x4b,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6, 0x62, 0xb4, - 0x97, 0x3a, 0x79, 0x68, 0xa3, 0x76, 0xdd, 0xc9, 0x2c, 0xd3, 0xef, 0x05, 0xa0, 0x43, 0x7b, 0x69, - 0x67, 0x0a, 0xe8, 0xb4, 0xeb, 0x9d, 0x1c, 0xf0, 0xb3, 0x54, 0xcd, 0xb3, 0xae, 0x4b, 0x7b, 0xa9, - 0xeb, 0x4e, 0x21, 0xae, 0xdb, 0xae, 0xbb, 0x6e, 0x0e, 0xfa, 0x5c, 0xce, 0xba, 0x7b, 0xf7, 0x3b, - 0x00, 0x00, 0xff, 0xff, 0x03, 0xc0, 0x5d, 0x29, 0xd3, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/country_code_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/country_code_error.pb.go deleted file mode 100644 index faa74467..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/country_code_error.pb.go +++ /dev/null @@ -1,120 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/country_code_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing country code errors. -type CountryCodeErrorEnum_CountryCodeError int32 - -const ( - // Enum unspecified. - CountryCodeErrorEnum_UNSPECIFIED CountryCodeErrorEnum_CountryCodeError = 0 - // The received error code is not known in this version. - CountryCodeErrorEnum_UNKNOWN CountryCodeErrorEnum_CountryCodeError = 1 - // The country code is invalid. - CountryCodeErrorEnum_INVALID_COUNTRY_CODE CountryCodeErrorEnum_CountryCodeError = 2 -) - -var CountryCodeErrorEnum_CountryCodeError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "INVALID_COUNTRY_CODE", -} - -var CountryCodeErrorEnum_CountryCodeError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "INVALID_COUNTRY_CODE": 2, -} - -func (x CountryCodeErrorEnum_CountryCodeError) String() string { - return proto.EnumName(CountryCodeErrorEnum_CountryCodeError_name, int32(x)) -} - -func (CountryCodeErrorEnum_CountryCodeError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_09388b7baa7d05c2, []int{0, 0} -} - -// Container for enum describing country code errors. -type CountryCodeErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CountryCodeErrorEnum) Reset() { *m = CountryCodeErrorEnum{} } -func (m *CountryCodeErrorEnum) String() string { return proto.CompactTextString(m) } -func (*CountryCodeErrorEnum) ProtoMessage() {} -func (*CountryCodeErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_09388b7baa7d05c2, []int{0} -} - -func (m *CountryCodeErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CountryCodeErrorEnum.Unmarshal(m, b) -} -func (m *CountryCodeErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CountryCodeErrorEnum.Marshal(b, m, deterministic) -} -func (m *CountryCodeErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CountryCodeErrorEnum.Merge(m, src) -} -func (m *CountryCodeErrorEnum) XXX_Size() int { - return xxx_messageInfo_CountryCodeErrorEnum.Size(m) -} -func (m *CountryCodeErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_CountryCodeErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_CountryCodeErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.errors.CountryCodeErrorEnum_CountryCodeError", CountryCodeErrorEnum_CountryCodeError_name, CountryCodeErrorEnum_CountryCodeError_value) - proto.RegisterType((*CountryCodeErrorEnum)(nil), "google.ads.googleads.v2.errors.CountryCodeErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/country_code_error.proto", fileDescriptor_09388b7baa7d05c2) -} - -var fileDescriptor_09388b7baa7d05c2 = []byte{ - // 306 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xc3, 0x30, - 0x1c, 0xc6, 0x5d, 0x05, 0x85, 0xec, 0x60, 0x29, 0x13, 0x44, 0x64, 0x87, 0x3e, 0x40, 0x02, 0xf5, - 0x20, 0xc4, 0x53, 0xd6, 0xd6, 0x51, 0x95, 0x6c, 0xa8, 0xab, 0x28, 0x85, 0xd2, 0x2d, 0x25, 0x0c, - 0xb6, 0xfc, 0x47, 0xd2, 0x0d, 0x7c, 0x1d, 0x8f, 0x3e, 0x8a, 0x8f, 0xe2, 0xc9, 0x47, 0x90, 0x36, - 0xb6, 0x87, 0x81, 0x9e, 0xf2, 0xf1, 0xf1, 0xfb, 0xbe, 0x7c, 0xfc, 0xd1, 0x95, 0x04, 0x90, 0xab, - 0x92, 0x14, 0xc2, 0x10, 0x2b, 0x6b, 0xb5, 0x0b, 0x48, 0xa9, 0x35, 0x68, 0x43, 0x16, 0xb0, 0x55, - 0x95, 0x7e, 0xcb, 0x17, 0x20, 0xca, 0xbc, 0xf1, 0xf0, 0x46, 0x43, 0x05, 0xde, 0xd0, 0xd2, 0xb8, - 0x10, 0x06, 0x77, 0x41, 0xbc, 0x0b, 0xb0, 0x0d, 0x9e, 0x5f, 0xb4, 0xc5, 0x9b, 0x25, 0x29, 0x94, - 0x82, 0xaa, 0xa8, 0x96, 0xa0, 0x8c, 0x4d, 0xfb, 0x73, 0x34, 0x08, 0x6d, 0x73, 0x08, 0xa2, 0x8c, - 0xeb, 0x48, 0xac, 0xb6, 0x6b, 0xff, 0x16, 0xb9, 0xfb, 0xbe, 0x77, 0x82, 0xfa, 0x33, 0xfe, 0x38, - 0x8d, 0xc3, 0xe4, 0x26, 0x89, 0x23, 0xf7, 0xc0, 0xeb, 0xa3, 0xe3, 0x19, 0xbf, 0xe3, 0x93, 0x67, - 0xee, 0xf6, 0xbc, 0x33, 0x34, 0x48, 0x78, 0xca, 0xee, 0x93, 0x28, 0x0f, 0x27, 0x33, 0xfe, 0xf4, - 0xf0, 0x92, 0x87, 0x93, 0x28, 0x76, 0x9d, 0xd1, 0x77, 0x0f, 0xf9, 0x0b, 0x58, 0xe3, 0xff, 0x87, - 0x8e, 0x4e, 0xf7, 0x3f, 0x9c, 0xd6, 0x0b, 0xa7, 0xbd, 0xd7, 0xe8, 0x37, 0x28, 0x61, 0x55, 0x28, - 0x89, 0x41, 0x4b, 0x22, 0x4b, 0xd5, 0xec, 0x6f, 0x4f, 0xb5, 0x59, 0x9a, 0xbf, 0x2e, 0x77, 0x6d, - 0x9f, 0x77, 0xe7, 0x70, 0xcc, 0xd8, 0x87, 0x33, 0x1c, 0xdb, 0x32, 0x26, 0x0c, 0xb6, 0xb2, 0x56, - 0x69, 0x80, 0x9b, 0x2f, 0xcd, 0x67, 0x0b, 0x64, 0x4c, 0x98, 0xac, 0x03, 0xb2, 0x34, 0xc8, 0x2c, - 0xf0, 0xe5, 0xf8, 0xd6, 0xa5, 0x94, 0x09, 0x43, 0x69, 0x87, 0x50, 0x9a, 0x06, 0x94, 0x5a, 0x68, - 0x7e, 0xd4, 0xac, 0xbb, 0xfc, 0x09, 0x00, 0x00, 0xff, 0xff, 0x99, 0x99, 0xda, 0x30, 0xd6, 0x01, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/criterion_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/criterion_error.pb.go deleted file mode 100644 index 4df5dc7e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/criterion_error.pb.go +++ /dev/null @@ -1,624 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/criterion_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // Invalid custom affinity criterion. - CriterionErrorEnum_INVALID_CUSTOM_AFFINITY CriterionErrorEnum_CriterionError = 96 - // Invalid custom intent criterion. - CriterionErrorEnum_INVALID_CUSTOM_INTENT CriterionErrorEnum_CriterionError = 97 - // 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 - // Feed not found, or the feed is not an enabled location feed. - CriterionErrorEnum_INVALID_FEED_FOR_LOCATION_FILTER CriterionErrorEnum_CriterionError = 98 - // 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 - // The combination of operand and operator in webpage condition is invalid. - CriterionErrorEnum_INVALID_WEBPAGE_CONDITION CriterionErrorEnum_CriterionError = 85 - // The URL of webpage condition is invalid. - CriterionErrorEnum_INVALID_WEBPAGE_CONDITION_URL CriterionErrorEnum_CriterionError = 86 - // The URL of webpage condition cannot be empty or contain white space. - CriterionErrorEnum_WEBPAGE_CONDITION_URL_CANNOT_BE_EMPTY CriterionErrorEnum_CriterionError = 87 - // The URL of webpage condition contains an unsupported protocol. - CriterionErrorEnum_WEBPAGE_CONDITION_URL_UNSUPPORTED_PROTOCOL CriterionErrorEnum_CriterionError = 88 - // The URL of webpage condition cannot be an IP address. - CriterionErrorEnum_WEBPAGE_CONDITION_URL_CANNOT_BE_IP_ADDRESS CriterionErrorEnum_CriterionError = 89 - // The domain of the URL is not consistent with the domain in campaign - // setting. - CriterionErrorEnum_WEBPAGE_CONDITION_URL_DOMAIN_NOT_CONSISTENT_WITH_CAMPAIGN_SETTING CriterionErrorEnum_CriterionError = 90 - // The URL of webpage condition cannot be a public suffix itself. - CriterionErrorEnum_WEBPAGE_CONDITION_URL_CANNOT_BE_PUBLIC_SUFFIX CriterionErrorEnum_CriterionError = 91 - // The URL of webpage condition has an invalid public suffix. - CriterionErrorEnum_WEBPAGE_CONDITION_URL_INVALID_PUBLIC_SUFFIX CriterionErrorEnum_CriterionError = 92 - // Value track parameter is not supported in webpage condition URL. - CriterionErrorEnum_WEBPAGE_CONDITION_URL_VALUE_TRACK_VALUE_NOT_SUPPORTED CriterionErrorEnum_CriterionError = 93 - // Only one URL-EQUALS webpage condition is allowed in a webpage - // criterion and it cannot be combined with other conditions. - CriterionErrorEnum_WEBPAGE_CRITERION_URL_EQUALS_CAN_HAVE_ONLY_ONE_CONDITION CriterionErrorEnum_CriterionError = 94 - // A webpage criterion cannot be added to a non-DSA ad group. - CriterionErrorEnum_WEBPAGE_CRITERION_NOT_SUPPORTED_ON_NON_DSA_AD_GROUP CriterionErrorEnum_CriterionError = 95 -) - -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", - 96: "INVALID_CUSTOM_AFFINITY", - 97: "INVALID_CUSTOM_INTENT", - 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", - 98: "INVALID_FEED_FOR_LOCATION_FILTER", - 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", - 85: "INVALID_WEBPAGE_CONDITION", - 86: "INVALID_WEBPAGE_CONDITION_URL", - 87: "WEBPAGE_CONDITION_URL_CANNOT_BE_EMPTY", - 88: "WEBPAGE_CONDITION_URL_UNSUPPORTED_PROTOCOL", - 89: "WEBPAGE_CONDITION_URL_CANNOT_BE_IP_ADDRESS", - 90: "WEBPAGE_CONDITION_URL_DOMAIN_NOT_CONSISTENT_WITH_CAMPAIGN_SETTING", - 91: "WEBPAGE_CONDITION_URL_CANNOT_BE_PUBLIC_SUFFIX", - 92: "WEBPAGE_CONDITION_URL_INVALID_PUBLIC_SUFFIX", - 93: "WEBPAGE_CONDITION_URL_VALUE_TRACK_VALUE_NOT_SUPPORTED", - 94: "WEBPAGE_CRITERION_URL_EQUALS_CAN_HAVE_ONLY_ONE_CONDITION", - 95: "WEBPAGE_CRITERION_NOT_SUPPORTED_ON_NON_DSA_AD_GROUP", -} - -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_CUSTOM_AFFINITY": 96, - "INVALID_CUSTOM_INTENT": 97, - "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, - "INVALID_FEED_FOR_LOCATION_FILTER": 98, - "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, - "INVALID_WEBPAGE_CONDITION": 85, - "INVALID_WEBPAGE_CONDITION_URL": 86, - "WEBPAGE_CONDITION_URL_CANNOT_BE_EMPTY": 87, - "WEBPAGE_CONDITION_URL_UNSUPPORTED_PROTOCOL": 88, - "WEBPAGE_CONDITION_URL_CANNOT_BE_IP_ADDRESS": 89, - "WEBPAGE_CONDITION_URL_DOMAIN_NOT_CONSISTENT_WITH_CAMPAIGN_SETTING": 90, - "WEBPAGE_CONDITION_URL_CANNOT_BE_PUBLIC_SUFFIX": 91, - "WEBPAGE_CONDITION_URL_INVALID_PUBLIC_SUFFIX": 92, - "WEBPAGE_CONDITION_URL_VALUE_TRACK_VALUE_NOT_SUPPORTED": 93, - "WEBPAGE_CRITERION_URL_EQUALS_CAN_HAVE_ONLY_ONE_CONDITION": 94, - "WEBPAGE_CRITERION_NOT_SUPPORTED_ON_NON_DSA_AD_GROUP": 95, -} - -func (x CriterionErrorEnum_CriterionError) String() string { - return proto.EnumName(CriterionErrorEnum_CriterionError_name, int32(x)) -} - -func (CriterionErrorEnum_CriterionError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_367b6e0cfb10caa7, []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_367b6e0cfb10caa7, []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 (m *CriterionErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CriterionErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.CriterionErrorEnum_CriterionError", CriterionErrorEnum_CriterionError_name, CriterionErrorEnum_CriterionError_value) - proto.RegisterType((*CriterionErrorEnum)(nil), "google.ads.googleads.v2.errors.CriterionErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/criterion_error.proto", fileDescriptor_367b6e0cfb10caa7) -} - -var fileDescriptor_367b6e0cfb10caa7 = []byte{ - // 1695 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x57, 0xef, 0x72, 0x1b, 0xb7, - 0x11, 0xaf, 0x9d, 0x36, 0x69, 0xe1, 0x36, 0x41, 0xe0, 0xff, 0xff, 0x14, 0x5b, 0xb1, 0x1d, 0xc7, - 0x71, 0xa8, 0x58, 0x8e, 0x9d, 0x84, 0x49, 0xda, 0x82, 0x87, 0x25, 0x89, 0x0a, 0x07, 0xc0, 0x00, - 0x8e, 0x12, 0x53, 0xb5, 0xa8, 0x12, 0x79, 0x34, 0x9a, 0x49, 0x44, 0x8f, 0xe8, 0xe6, 0x3d, 0xfa, - 0x0a, 0xfd, 0xd4, 0xe9, 0xa3, 0xf4, 0x51, 0xfa, 0xa1, 0xcf, 0xd0, 0xd9, 0x3b, 0xe2, 0x88, 0xa3, - 0xe4, 0x38, 0x9f, 0xc8, 0xd9, 0xdd, 0x1f, 0xb0, 0x8b, 0xfd, 0xed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6e, 0x27, 0xd1, 0x9d, 0x2b, 0x62, 0x2d, - 0xd0, 0x51, 0x78, 0x1e, 0xb9, 0x88, 0x0d, 0xaf, 0xe3, 0xe0, 0x7f, 0x67, 0xc8, 0xfa, 0x77, 0xb3, - 0x1f, 0x7a, 0x3f, 0xfd, 0xbd, 0x3b, 0x38, 0xdf, 0xfd, 0x6e, 0xb5, 0xf8, 0x99, 0x6b, 0xcf, 0x7c, - 0x23, 0x16, 0xb0, 0x83, 0xd9, 0xf7, 0x7b, 0x47, 0x07, 0xbd, 0xd9, 0xf1, 0xc1, 0xc6, 0xc1, 0xf3, - 0xa3, 0xfa, 0x23, 0x38, 0x7d, 0x6c, 0xbf, 0x38, 0x9c, 0xbf, 0xea, 0xdb, 0xfb, 0xcb, 0xe6, 0xe7, - 0x9f, 0x67, 0xdf, 0x18, 0x71, 0xfe, 0xef, 0xb3, 0x6b, 0xa3, 0xe6, 0x30, 0xbe, 0x3f, 0xef, 0x35, - 0x7f, 0xf1, 0xdf, 0x64, 0xb3, 0x57, 0x5f, 0x39, 0xff, 0x4f, 0x32, 0xd8, 0xe5, 0xfb, 0xf3, 0xdd, - 0xd6, 0x60, 0x77, 0xb2, 0xb9, 0xdb, 0x18, 0xfc, 0xf7, 0xec, 0x7a, 0x23, 0xed, 0xf7, 0xf9, 0xfe, - 0xbc, 0xdf, 0x6f, 0x4d, 0xfa, 0xfd, 0xc9, 0x66, 0xbf, 0xdf, 0x18, 0x7d, 0xfb, 0x66, 0xed, 0xdd, - 0xe3, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff, 0xa5, 0xb0, 0xf8, 0x3e, 0x18, 0x10, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/currency_code_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/currency_code_error.pb.go deleted file mode 100644 index 461aa956..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/currency_code_error.pb.go +++ /dev/null @@ -1,119 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/currency_code_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible currency code errors. -type CurrencyCodeErrorEnum_CurrencyCodeError int32 - -const ( - // Enum unspecified. - CurrencyCodeErrorEnum_UNSPECIFIED CurrencyCodeErrorEnum_CurrencyCodeError = 0 - // The received error code is not known in this version. - CurrencyCodeErrorEnum_UNKNOWN CurrencyCodeErrorEnum_CurrencyCodeError = 1 - // The currency code is not supported. - CurrencyCodeErrorEnum_UNSUPPORTED CurrencyCodeErrorEnum_CurrencyCodeError = 2 -) - -var CurrencyCodeErrorEnum_CurrencyCodeError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "UNSUPPORTED", -} - -var CurrencyCodeErrorEnum_CurrencyCodeError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "UNSUPPORTED": 2, -} - -func (x CurrencyCodeErrorEnum_CurrencyCodeError) String() string { - return proto.EnumName(CurrencyCodeErrorEnum_CurrencyCodeError_name, int32(x)) -} - -func (CurrencyCodeErrorEnum_CurrencyCodeError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_d99fa3ea74d7fca0, []int{0, 0} -} - -// Container for enum describing possible currency code errors. -type CurrencyCodeErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CurrencyCodeErrorEnum) Reset() { *m = CurrencyCodeErrorEnum{} } -func (m *CurrencyCodeErrorEnum) String() string { return proto.CompactTextString(m) } -func (*CurrencyCodeErrorEnum) ProtoMessage() {} -func (*CurrencyCodeErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_d99fa3ea74d7fca0, []int{0} -} - -func (m *CurrencyCodeErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CurrencyCodeErrorEnum.Unmarshal(m, b) -} -func (m *CurrencyCodeErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CurrencyCodeErrorEnum.Marshal(b, m, deterministic) -} -func (m *CurrencyCodeErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CurrencyCodeErrorEnum.Merge(m, src) -} -func (m *CurrencyCodeErrorEnum) XXX_Size() int { - return xxx_messageInfo_CurrencyCodeErrorEnum.Size(m) -} -func (m *CurrencyCodeErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_CurrencyCodeErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_CurrencyCodeErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.errors.CurrencyCodeErrorEnum_CurrencyCodeError", CurrencyCodeErrorEnum_CurrencyCodeError_name, CurrencyCodeErrorEnum_CurrencyCodeError_value) - proto.RegisterType((*CurrencyCodeErrorEnum)(nil), "google.ads.googleads.v2.errors.CurrencyCodeErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/currency_code_error.proto", fileDescriptor_d99fa3ea74d7fca0) -} - -var fileDescriptor_d99fa3ea74d7fca0 = []byte{ - // 297 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, 0x23, 0xfd, 0x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0, 0x59, 0x43, 0xa8, 0x45, 0x4c, 0xcc, 0xee, 0x8e, 0x8e, 0xab, 0x98, 0xe4, 0xdc, - 0x21, 0x86, 0x39, 0xa6, 0x14, 0xeb, 0x41, 0x98, 0x20, 0x56, 0x98, 0x91, 0x1e, 0xd8, 0xca, 0xe2, - 0x53, 0x30, 0x05, 0x31, 0x8e, 0x29, 0xc5, 0x31, 0x70, 0x05, 0x31, 0x61, 0x46, 0x31, 0x10, 0x05, - 0xaf, 0x98, 0x94, 0x20, 0xa2, 0x56, 0x56, 0x8e, 0x29, 0xc5, 0x56, 0x56, 0x70, 0x25, 0x56, 0x56, - 0x61, 0x46, 0x56, 0x56, 0x10, 0x45, 0x49, 0x6c, 0x60, 0xd7, 0x19, 0x03, 0x02, 0x00, 0x00, 0xff, - 0xff, 0x5f, 0x5e, 0xbb, 0x68, 0xd1, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/custom_interest_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/custom_interest_error.pb.go deleted file mode 100644 index d6f1c9fa..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/custom_interest_error.pb.go +++ /dev/null @@ -1,153 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/custom_interest_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible custom interest errors. -type CustomInterestErrorEnum_CustomInterestError int32 - -const ( - // Enum unspecified. - CustomInterestErrorEnum_UNSPECIFIED CustomInterestErrorEnum_CustomInterestError = 0 - // The received error code is not known in this version. - CustomInterestErrorEnum_UNKNOWN CustomInterestErrorEnum_CustomInterestError = 1 - // Duplicate custom interest name ignoring case. - CustomInterestErrorEnum_NAME_ALREADY_USED CustomInterestErrorEnum_CustomInterestError = 2 - // In the remove custom interest member operation, both member ID and - // pair [type, parameter] are not present. - CustomInterestErrorEnum_CUSTOM_INTEREST_MEMBER_ID_AND_TYPE_PARAMETER_NOT_PRESENT_IN_REMOVE CustomInterestErrorEnum_CustomInterestError = 3 - // The pair of [type, parameter] does not exist. - CustomInterestErrorEnum_TYPE_AND_PARAMETER_NOT_FOUND CustomInterestErrorEnum_CustomInterestError = 4 - // The pair of [type, parameter] already exists. - CustomInterestErrorEnum_TYPE_AND_PARAMETER_ALREADY_EXISTED CustomInterestErrorEnum_CustomInterestError = 5 - // Unsupported custom interest member type. - CustomInterestErrorEnum_INVALID_CUSTOM_INTEREST_MEMBER_TYPE CustomInterestErrorEnum_CustomInterestError = 6 - // Cannot remove a custom interest while it's still being targeted. - CustomInterestErrorEnum_CANNOT_REMOVE_WHILE_IN_USE CustomInterestErrorEnum_CustomInterestError = 7 - // Cannot mutate custom interest type. - CustomInterestErrorEnum_CANNOT_CHANGE_TYPE CustomInterestErrorEnum_CustomInterestError = 8 -) - -var CustomInterestErrorEnum_CustomInterestError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "NAME_ALREADY_USED", - 3: "CUSTOM_INTEREST_MEMBER_ID_AND_TYPE_PARAMETER_NOT_PRESENT_IN_REMOVE", - 4: "TYPE_AND_PARAMETER_NOT_FOUND", - 5: "TYPE_AND_PARAMETER_ALREADY_EXISTED", - 6: "INVALID_CUSTOM_INTEREST_MEMBER_TYPE", - 7: "CANNOT_REMOVE_WHILE_IN_USE", - 8: "CANNOT_CHANGE_TYPE", -} - -var CustomInterestErrorEnum_CustomInterestError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "NAME_ALREADY_USED": 2, - "CUSTOM_INTEREST_MEMBER_ID_AND_TYPE_PARAMETER_NOT_PRESENT_IN_REMOVE": 3, - "TYPE_AND_PARAMETER_NOT_FOUND": 4, - "TYPE_AND_PARAMETER_ALREADY_EXISTED": 5, - "INVALID_CUSTOM_INTEREST_MEMBER_TYPE": 6, - "CANNOT_REMOVE_WHILE_IN_USE": 7, - "CANNOT_CHANGE_TYPE": 8, -} - -func (x CustomInterestErrorEnum_CustomInterestError) String() string { - return proto.EnumName(CustomInterestErrorEnum_CustomInterestError_name, int32(x)) -} - -func (CustomInterestErrorEnum_CustomInterestError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_08f77b2aa98e1ebb, []int{0, 0} -} - -// Container for enum describing possible custom interest errors. -type CustomInterestErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomInterestErrorEnum) Reset() { *m = CustomInterestErrorEnum{} } -func (m *CustomInterestErrorEnum) String() string { return proto.CompactTextString(m) } -func (*CustomInterestErrorEnum) ProtoMessage() {} -func (*CustomInterestErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_08f77b2aa98e1ebb, []int{0} -} - -func (m *CustomInterestErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomInterestErrorEnum.Unmarshal(m, b) -} -func (m *CustomInterestErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomInterestErrorEnum.Marshal(b, m, deterministic) -} -func (m *CustomInterestErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomInterestErrorEnum.Merge(m, src) -} -func (m *CustomInterestErrorEnum) XXX_Size() int { - return xxx_messageInfo_CustomInterestErrorEnum.Size(m) -} -func (m *CustomInterestErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_CustomInterestErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomInterestErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.errors.CustomInterestErrorEnum_CustomInterestError", CustomInterestErrorEnum_CustomInterestError_name, CustomInterestErrorEnum_CustomInterestError_value) - proto.RegisterType((*CustomInterestErrorEnum)(nil), "google.ads.googleads.v2.errors.CustomInterestErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/custom_interest_error.proto", fileDescriptor_08f77b2aa98e1ebb) -} - -var fileDescriptor_08f77b2aa98e1ebb = []byte{ - // 448 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xdf, 0x6a, 0xdb, 0x30, - 0x18, 0xc5, 0x17, 0x77, 0x6b, 0x87, 0x7a, 0x31, 0x4f, 0x63, 0x7f, 0x28, 0x25, 0x8c, 0x0c, 0xb6, - 0x3b, 0x1b, 0xbc, 0x3b, 0xed, 0x4a, 0xb1, 0xbe, 0xa4, 0x62, 0xb1, 0x6c, 0xfc, 0xaf, 0xeb, 0x08, - 0x08, 0xaf, 0x36, 0x26, 0xd0, 0x58, 0xc1, 0x72, 0xfb, 0x40, 0xbb, 0xdc, 0x3b, 0xec, 0x05, 0xf6, - 0x06, 0x7b, 0x85, 0xdd, 0xee, 0x05, 0x86, 0xad, 0x24, 0x30, 0x48, 0x7b, 0xe5, 0x83, 0x74, 0x7e, - 0x47, 0x07, 0x7f, 0x1f, 0x22, 0xb5, 0x52, 0xf5, 0x4d, 0xe5, 0x16, 0xa5, 0x76, 0x8d, 0xec, 0xd5, - 0x9d, 0xe7, 0x56, 0x6d, 0xab, 0x5a, 0xed, 0x5e, 0xdf, 0xea, 0x4e, 0xad, 0xe5, 0xaa, 0xe9, 0xaa, - 0xb6, 0xd2, 0x9d, 0x1c, 0x8e, 0x9d, 0x4d, 0xab, 0x3a, 0x85, 0xc7, 0x06, 0x70, 0x8a, 0x52, 0x3b, - 0x7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0x90, 0x97, 0x17, 0x7c, 0x01, 0x7d, 0xab, 0x2c, 0x01, - 0xfb, 0x04, 0xbf, 0x42, 0x78, 0x7b, 0xef, 0x5f, 0x50, 0x31, 0x07, 0xc3, 0x3d, 0x9d, 0xfe, 0x1d, - 0xa1, 0xc9, 0xb5, 0x5a, 0x3b, 0x0f, 0x0f, 0x68, 0xfa, 0xe6, 0xc0, 0x3f, 0x8e, 0xfa, 0xe1, 0x44, - 0xa3, 0xaf, 0x6c, 0xcb, 0xd6, 0xea, 0xa6, 0x68, 0x6a, 0x47, 0xb5, 0xb5, 0x5b, 0x57, 0xcd, 0x30, - 0xba, 0xdd, 0xa2, 0x6c, 0x56, 0xfa, 0xbe, 0xbd, 0xf9, 0x64, 0x3e, 0xdf, 0xad, 0xa3, 0x39, 0xa5, - 0x3f, 0xac, 0xf1, 0xdc, 0x84, 0xd1, 0x52, 0x3b, 0x46, 0xf6, 0x2a, 0xf7, 0x9c, 0xe1, 0x49, 0xfd, - 0x6b, 0x67, 0x58, 0xd2, 0x52, 0x2f, 0xf7, 0x86, 0x65, 0xee, 0x2d, 0x8d, 0xe1, 0x8f, 0x35, 0x31, - 0xa7, 0x84, 0xd0, 0x52, 0x13, 0xb2, 0xb7, 0x10, 0x92, 0x7b, 0x84, 0x18, 0xd3, 0xb7, 0xe3, 0xa1, - 0xdd, 0xc7, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x8c, 0x91, 0x24, 0x0d, 0xd4, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/customer_client_link_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/customer_client_link_error.pb.go deleted file mode 100644 index 73bb72b8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/customer_client_link_error.pb.go +++ /dev/null @@ -1,153 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/customer_client_link_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_6152601562b325d0, []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_6152601562b325d0, []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 (m *CustomerClientLinkErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerClientLinkErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.CustomerClientLinkErrorEnum_CustomerClientLinkError", CustomerClientLinkErrorEnum_CustomerClientLinkError_name, CustomerClientLinkErrorEnum_CustomerClientLinkError_value) - proto.RegisterType((*CustomerClientLinkErrorEnum)(nil), "google.ads.googleads.v2.errors.CustomerClientLinkErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/customer_client_link_error.proto", fileDescriptor_6152601562b325d0) -} - -var fileDescriptor_6152601562b325d0 = []byte{ - // 453 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0x4f, 0x6b, 0xd4, 0x40, - 0x14, 0x77, 0x53, 0x6d, 0x65, 0x7a, 0x30, 0xe4, 0x52, 0xb0, 0x65, 0x85, 0x14, 0x14, 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 0x48, 0x4b, 0xc1, 0x1e, 0xcd, 0x1d, - 0x6b, 0x88, 0x94, 0x3f, 0x76, 0x84, 0x05, 0x2e, 0xe4, 0x62, 0x4f, 0x58, 0xcc, 0x9d, 0x85, 0x22, - 0xfc, 0xd2, 0x4c, 0xf5, 0xd6, 0x75, 0x71, 0x21, 0x5d, 0x77, 0x4f, 0x71, 0xdd, 0xb9, 0xe3, 0xba, - 0x8a, 0xf4, 0xf5, 0x78, 0x68, 0xf7, 0xe1, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x39, 0x6c, 0x10, - 0x6d, 0xf1, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/customer_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/customer_error.pb.go deleted file mode 100644 index bfab4bfd..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/customer_error.pb.go +++ /dev/null @@ -1,128 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/customer_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_05a23338e647761e, []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_05a23338e647761e, []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 (m *CustomerErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.CustomerErrorEnum_CustomerError", CustomerErrorEnum_CustomerError_name, CustomerErrorEnum_CustomerError_value) - proto.RegisterType((*CustomerErrorEnum)(nil), "google.ads.googleads.v2.errors.CustomerErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/customer_error.proto", fileDescriptor_05a23338e647761e) -} - -var fileDescriptor_05a23338e647761e = []byte{ - // 321 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xc3, 0x30, - 0x1c, 0xc6, 0x5d, 0x07, 0x0a, 0x19, 0x62, 0xcd, 0x41, 0x44, 0xc6, 0x0e, 0x7d, 0x80, 0x14, 0xba, - 0x5b, 0x3c, 0x65, 0x6d, 0x9c, 0xc3, 0x91, 0x16, 0xda, 0x6e, 0x20, 0x85, 0x52, 0xd7, 0x12, 0x06, - 0x5b, 0x32, 0x92, 0x6e, 0xf8, 0x3c, 0x1e, 0x7d, 0x14, 0x1f, 0x45, 0xf0, 0x1d, 0xa4, 0xcd, 0x56, - 0xd8, 0x41, 0x4f, 0xf9, 0xf2, 0xe7, 0xf7, 0x7d, 0xf9, 0xf2, 0x07, 0x63, 0x2e, 0x25, 0xdf, 0x54, - 0x6e, 0x51, 0x6a, 0xd7, 0xc8, 0x46, 0x1d, 0x3c, 0xb7, 0x52, 0x4a, 0x2a, 0xed, 0xae, 0xf6, 0xba, - 0x96, 0xdb, 0x4a, 0xe5, 0xed, 0x1d, 0xed, 0x94, 0xac, 0x25, 0x1c, 0x19, 0x12, 0x15, 0xa5, 0x46, - 0x9d, 0x09, 0x1d, 0x3c, 0x64, 0x4c, 0x0f, 0xc3, 0x53, 0xe8, 0x6e, 0xed,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 0x6e, 0xfc, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x3c, 0xed, 0xf3, 0xe8, 0xe5, 0x01, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/customer_feed_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/customer_feed_error.pb.go deleted file mode 100644 index d0901142..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/customer_feed_error.pb.go +++ /dev/null @@ -1,153 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/customer_feed_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_b77f587276d28976, []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_b77f587276d28976, []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 (m *CustomerFeedErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerFeedErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.CustomerFeedErrorEnum_CustomerFeedError", CustomerFeedErrorEnum_CustomerFeedError_name, CustomerFeedErrorEnum_CustomerFeedError_value) - proto.RegisterType((*CustomerFeedErrorEnum)(nil), "google.ads.googleads.v2.errors.CustomerFeedErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/customer_feed_error.proto", fileDescriptor_b77f587276d28976) -} - -var fileDescriptor_b77f587276d28976 = []byte{ - // 443 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xc1, 0x8e, 0xd3, 0x30, - 0x10, 0x86, 0x69, 0x16, 0x76, 0x91, 0xf7, 0x40, 0xb1, 0x04, 0x42, 0x68, 0xd5, 0x43, 0x38, 0xc0, - 0x61, 0x71, 0x20, 0x5c, 0x50, 0x38, 0x79, 0x63, 0xa7, 0x44, 0x24, 0x76, 0x94, 0xa4, 0x59, 0x8a, - 0x2a, 0x59, 0x61, 0x13, 0xa2, 0x4a, 0xdb, 0xb8, 0x8a, 0xbb, 0xfb, 0x40, 0x1c, 0x79, 0x14, 0xde, - 0x81, 0x17, 0xe0, 0xc6, 0x89, 0x2b, 0x72, 0xdc, 0x56, 0x6a, 0x0b, 0x9c, 0xf2, 0x6b, 0xf2, 0xfd, - 0xff, 0x8c, 0x35, 0x03, 0xde, 0x36, 0x52, 0x36, 0xd7, 0xb5, 0x53, 0x56, 0xca, 0x31, 0x52, 0xab, - 0x5b, 0xd7, 0xa9, 0xbb, 0x4e, 0x76, 0xca, 0xb9, 0xba, 0x51, 0x2b, 0xb9, 0xa8, 0x3b, 0xf1, 0xa5, - 0xae, 0x2b, 0xd1, 0x17, 0xd1, 0xb2, 0x93, 0x2b, 0x09, 0x47, 0x06, 0x47, 0x65, 0xa5, 0xd0, 0xd6, - 0x89, 0x6e, 0x5d, 0x64, 0x9c, 0x4f, 0xcf, 0x36, 0xc9, 0xcb, 0xb9, 0x53, 0xb6, 0xad, 0x5c, 0x95, - 0xab, 0xb9, 0x6c, 0x95, 0x71, 0xdb, 0xbf, 0x2d, 0xf0, 0xc8, 0x5f, 0x67, 0x07, 0x75, 0x5d, 0x51, - 0x6d, 0xa2, 0xed, 0xcd, 0xc2, 0xfe, 0x61, 0x81, 0x87, 0x07, 0x7f, 0xe0, 0x03, 0x70, 0x3a, 0x61, - 0x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0xa7, 0xa9, 0xdb, 0x7e, 0xad, 0x9b, 0x13, 0x5a, 0xce, - 0xd5, 0xbf, 0x2e, 0xea, 0x9d, 0xf9, 0x7c, 0xb5, 0x8e, 0xc6, 0x18, 0x7f, 0xb3, 0x46, 0x63, 0x13, - 0x86, 0x2b, 0x85, 0x8c, 0xd4, 0xaa, 0x70, 0x51, 0xdf, 0x52, 0x7d, 0xdf, 0x00, 0x33, 0x5c, 0xa9, - 0xd9, 0x16, 0x98, 0x15, 0xee, 0xcc, 0x00, 0x3f, 0x2d, 0xdb, 0x54, 0x3d, 0x0f, 0x57, 0xca, 0xf3, - 0xb6, 0x88, 0xe7, 0x15, 0xae, 0xe7, 0x19, 0xe8, 0xf3, 0x71, 0x3f, 0xdd, 0x9b, 0x3f, 0x01, 0x00, - 0x00, 0xff, 0xff, 0x3b, 0xa4, 0xb3, 0x42, 0xee, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/customer_manager_link_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/customer_manager_link_error.pb.go deleted file mode 100644 index a9bbd3f6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/customer_manager_link_error.pb.go +++ /dev/null @@ -1,162 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/customer_manager_link_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_96f9efe44c7402db, []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_96f9efe44c7402db, []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 (m *CustomerManagerLinkErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerManagerLinkErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.CustomerManagerLinkErrorEnum_CustomerManagerLinkError", CustomerManagerLinkErrorEnum_CustomerManagerLinkError_name, CustomerManagerLinkErrorEnum_CustomerManagerLinkError_value) - proto.RegisterType((*CustomerManagerLinkErrorEnum)(nil), "google.ads.googleads.v2.errors.CustomerManagerLinkErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/customer_manager_link_error.proto", fileDescriptor_96f9efe44c7402db) -} - -var fileDescriptor_96f9efe44c7402db = []byte{ - // 496 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xcf, 0x6e, 0xd3, 0x40, - 0x10, 0xc6, 0x49, 0x02, 0x2d, 0x6c, 0x0f, 0x18, 0x4b, 0x95, 0x00, 0x95, 0x1e, 0xc2, 0xa1, 0x42, - 0x08, 0x5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 0x76, 0x02, 0x79, 0xb9, 0xcc, 0x8a, 0xdc, 0x28, 0xab, 0xdc, 0xcc, 0xe7, 0xc5, 0xf6, 0x0c, 0xda, - 0xd3, 0x5b, 0x2f, 0xea, 0x43, 0x97, 0xf8, 0x41, 0x3d, 0xdf, 0xbb, 0xbd, 0x11, 0xe7, 0x3f, 0xba, - 0xe7, 0x23, 0x25, 0xc6, 0x67, 0xb5, 0xa1, 0xca, 0xa6, 0x4a, 0x2d, 0x63, 0x6b, 0x59, 0xff, 0x6c, - 0x81, 0x29, 0x9f, 0xd5, 0xd3, 0x3d, 0x30, 0x4d, 0xad, 0xa9, 0x02, 0x7e, 0x75, 0xfb, 0xea, 0xd7, - 0xb6, 0xf9, 0xac, 0xb6, 0xed, 0x3d, 0x62, 0xdb, 0xa9, 0x65, 0xdb, 0x0a, 0xfa, 0x7a, 0xb4, 0x4d, - 0xf7, 0xfe, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x1b, 0x31, 0xc4, 0x95, 0x26, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/database_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/database_error.pb.go deleted file mode 100644 index cb1780f6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/database_error.pb.go +++ /dev/null @@ -1,127 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/database_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // The request conflicted with existing data. This error will usually be - // replaced with a more specific error if the request is retried. - DatabaseErrorEnum_DATA_CONSTRAINT_VIOLATION DatabaseErrorEnum_DatabaseError = 3 -) - -var DatabaseErrorEnum_DatabaseError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "CONCURRENT_MODIFICATION", - 3: "DATA_CONSTRAINT_VIOLATION", -} - -var DatabaseErrorEnum_DatabaseError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "CONCURRENT_MODIFICATION": 2, - "DATA_CONSTRAINT_VIOLATION": 3, -} - -func (x DatabaseErrorEnum_DatabaseError) String() string { - return proto.EnumName(DatabaseErrorEnum_DatabaseError_name, int32(x)) -} - -func (DatabaseErrorEnum_DatabaseError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_114da3527f3b2c1a, []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_114da3527f3b2c1a, []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 (m *DatabaseErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_DatabaseErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.DatabaseErrorEnum_DatabaseError", DatabaseErrorEnum_DatabaseError_name, DatabaseErrorEnum_DatabaseError_value) - proto.RegisterType((*DatabaseErrorEnum)(nil), "google.ads.googleads.v2.errors.DatabaseErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/database_error.proto", fileDescriptor_114da3527f3b2c1a) -} - -var fileDescriptor_114da3527f3b2c1a = []byte{ - // 326 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x4f, 0x6a, 0xf3, 0x30, - 0x10, 0xc5, 0xbf, 0x38, 0xf0, 0x15, 0x14, 0x4a, 0x53, 0x6f, 0x4a, 0xff, 0x65, 0xe1, 0x03, 0xc8, - 0xe0, 0xec, 0xd4, 0x95, 0x62, 0x3b, 0x41, 0xb4, 0x95, 0x42, 0xe2, 0xb8, 0x50, 0x0c, 0x46, 0xa9, - 0x8c, 0x30, 0x24, 0x52, 0xb0, 0xdc, 0x2c, 0x7b, 0x98, 0x2e, 0x7b, 0x94, 0x1e, 0xa5, 0xd0, 0x3b, - 0x14, 0x5b, 0x49, 0x20, 0x8b, 0x76, 0xa5, 0xa7, 0xd1, 0xef, 0x8d, 0xde, 0x0c, 0x18, 0x4a, 0xad, - 0xe5, 0xaa, 0xf0, 0xb9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x1f, 0xce, 0x60, 0x62, 0x9b, 0x61, 0x61, - 0xa0, 0x95, 0x8d, 0x4a, 0x03, 0xd8, 0x7e, 0x69, 0x3e, 0xf7, 0x40, 0x86, 0x85, 0xc9, 0x0e, 0x40, - 0x96, 0x06, 0x99, 0x05, 0xbe, 0x1c, 0xcf, 0x56, 0x11, 0xc2, 0xc2, 0x20, 0x74, 0x40, 0x10, 0x4a, - 0x03, 0x84, 0x2c, 0xb4, 0xfc, 0xdf, 0xa6, 0x1b, 0xfe, 0x04, 0x00, 0x00, 0xff, 0xff, 0x98, 0x2e, - 0x2a, 0x44, 0xeb, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/date_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/date_error.pb.go deleted file mode 100644 index 783dcb0f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/date_error.pb.go +++ /dev/null @@ -1,164 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/date_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // The string date time's format should be yyyy-mm-dd hh:mm:ss+|-hh:mm. - DateErrorEnum_INVALID_STRING_DATE_TIME_SECONDS_WITH_OFFSET DateErrorEnum_DateError = 12 - // 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", - 12: "INVALID_STRING_DATE_TIME_SECONDS_WITH_OFFSET", - 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, - "INVALID_STRING_DATE_TIME_SECONDS_WITH_OFFSET": 12, - "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_a4bbec016e5e2e3d, []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_a4bbec016e5e2e3d, []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 (m *DateErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_DateErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.DateErrorEnum_DateError", DateErrorEnum_DateError_name, DateErrorEnum_DateError_value) - proto.RegisterType((*DateErrorEnum)(nil), "google.ads.googleads.v2.errors.DateErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/date_error.proto", fileDescriptor_a4bbec016e5e2e3d) -} - -var fileDescriptor_a4bbec016e5e2e3d = []byte{ - // 446 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x4f, 0x6f, 0xd3, 0x30, - 0x18, 0xc6, 0x69, 0x8b, 0x36, 0xf6, 0x96, 0x3f, 0x91, 0x39, 0x4c, 0xc0, 0x18, 0xa3, 0xc0, 0x0d, - 0x39, 0x28, 0xbb, 0x85, 0x93, 0xdb, 0xb8, 0xad, 0x45, 0xe2, 0x54, 0x89, 0x93, 0x21, 0x54, 0xc9, - 0x0a, 0x24, 0x8a, 0x2a, 0x6d, 0x71, 0x15, 0x87, 0x7d, 0x20, 0x8e, 0x48, 0x7c, 0x06, 0xee, 0x7c, - 0x13, 0xf8, 0x14, 0xa8, 0xf1, 0x1a, 0x34, 0x69, 0x1d, 0xa7, 0x3c, 0xf2, 0xfb, 0xfb, 0xbd, 0xb1, - 0xe4, 0x07, 0xec, 0x52, 0xa9, 0xf2, 0xbc, 0xb0, 0xb3, 0x5c, 0x5f, 0xc5, 0x4d, 0xba, 0x74, 0xec, - 0xa2, 0xae, 0x55, 0xad, 0xed, 0x3c, 0x6b, 0x0a, 0xd9, 0x66, 0xbc, 0xae, 0x55, 0xa3, 0xd0, 0xb1, - 0xa1, 0x70, 0x96, 0x6b, 0xdc, 0x09, 0xf8, 0xd2, 0xc1, 0x46, 0x78, 0x7a, 0xb4, 0x5d, 0xb8, 0x5e, - 0xd9, 0x59, 0x55, 0xa9, 0x26, 0x6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0x00, 0xbe, 0x41, 0x22, 0xdc, - 0xbb, 0x06, 0xc6, 0x72, 0x1c, 0x8a, 0xb9, 0xe4, 0x89, 0xef, 0x5b, 0x30, 0xfe, 0xdd, 0x83, 0xd1, - 0x17, 0x75, 0x81, 0x6f, 0xaf, 0xc1, 0xf8, 0x61, 0xf7, 0xa6, 0x8b, 0xcd, 0xc3, 0x2f, 0x7a, 0x9f, - 0xbc, 0x2b, 0xa3, 0x54, 0xe7, 0x59, 0x55, 0x62, 0x55, 0x97, 0x76, 0x59, 0x54, 0x6d, 0x2d, 0xb6, - 0xcd, 0x5b, 0xaf, 0xf4, 0xae, 0x22, 0xbe, 0x37, 0x9f, 0x6f, 0xfd, 0xc1, 0x8c, 0x90, 0xef, 0xfd, - 0xe3, 0x99, 0x59, 0x46, 0x72, 0x8d, 0x4d, 0xdc, 0xa4, 0xd4, 0xc1, 0xed, 0x2f, 0xf5, 0xaf, 0x2d, - 0xb0, 0x24, 0xb9, 0x5e, 0x76, 0xc0, 0x32, 0x75, 0x96, 0x06, 0xf8, 0xd3, 0x1f, 0x99, 0x53, 0xd7, - 0x25, 0xb9, 0x76, 0xdd, 0x0e, 0x71, 0xdd, 0xd4, 0x71, 0x5d, 0x03, 0x7d, 0xde, 0x6b, 0x6f, 0x77, - 0xfa, 0x37, 0x00, 0x00, 0xff, 0xff, 0x98, 0x9e, 0x2a, 0xca, 0x25, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/date_range_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/date_range_error.pb.go deleted file mode 100644 index 8e1bb8b5..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/date_range_error.pb.go +++ /dev/null @@ -1,141 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/date_range_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 resource 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_64ccd3dfacbc339c, []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_64ccd3dfacbc339c, []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 (m *DateRangeErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_DateRangeErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.DateRangeErrorEnum_DateRangeError", DateRangeErrorEnum_DateRangeError_name, DateRangeErrorEnum_DateRangeError_value) - proto.RegisterType((*DateRangeErrorEnum)(nil), "google.ads.googleads.v2.errors.DateRangeErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/date_range_error.proto", fileDescriptor_64ccd3dfacbc339c) -} - -var fileDescriptor_64ccd3dfacbc339c = []byte{ - // 391 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xc1, 0x8e, 0x95, 0x30, - 0x14, 0x86, 0xe5, 0x8e, 0x8e, 0x49, 0xc7, 0x28, 0xa9, 0x0b, 0xa3, 0x8e, 0x13, 0xc3, 0xd6, 0xa4, - 0x24, 0x18, 0x37, 0x75, 0x75, 0xee, 0xb4, 0x4c, 0x88, 0x50, 0x08, 0x70, 0x19, 0x35, 0x24, 0x4d, - 0x15, 0x42, 0x6e, 0x32, 0x43, 0x6f, 0x28, 0xce, 0x03, 0xb9, 0xf4, 0x51, 0xdc, 0xf8, 0x16, 0x2e, - 0x5c, 0xf8, 0x0c, 0x06, 0xca, 0xbd, 0x71, 0x16, 0xba, 0xe2, 0xe7, 0xef, 0xff, 0x9d, 0xd3, 0x9e, - 0x83, 0xde, 0x74, 0x5a, 0x77, 0x57, 0xad, 0xaf, 0x1a, 0xe3, 0x5b, 0x39, 0xa9, 0x9b, 0xc0, 0x6f, - 0x87, 0x41, 0x0f, 0xc6, 0x6f, 0xd4, 0xd8, 0xca, 0x41, 0xf5, 0x5d, 0x2b, 0x67, 0x87, 0xec, 0x06, - 0x3d, 0x6a, 0x7c, 0x66, 0xb3, 0x44, 0x35, 0x86, 0x1c, 0x30, 0x72, 0x13, 0x10, 0x8b, 0x3d, 0x3b, - 0xdd, 0x97, 0xdd, 0x6d, 0x7d, 0xd5, 0xf7, 0x7a, 0x54, 0xe3, 0x56, 0xf7, 0xc6, 0xd2, 0xde, 0x4f, - 0x07, 0x61, 0xa6, 0xc6, 0x36, 0x9f, 0xea, 0xf2, 0x89, 0xe0, 0xfd, 0x97, 0x6b, 0xef, 0x87, 0x83, - 0x1e, 0xde, 0xb6, 0xf1, 0x23, 0x74, 0xb2, 0x11, 0x45, 0xc6, 0xc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0x15, 0xd4, 0x36, 0xf0, 0x6b, 0xe5, 0x59, 0x97, 0x52, 0x68, 0x0c, 0xa5, 0x87, 0x08, 0xa5, 0x55, - 0x40, 0xa9, 0x0d, 0x7d, 0x3a, 0x9e, 0x6f, 0xf7, 0xfa, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x27, - 0x03, 0x3f, 0xa4, 0x57, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/distinct_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/distinct_error.pb.go deleted file mode 100644 index cccac834..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/distinct_error.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/distinct_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_1e1485c9916c6eb1, []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_1e1485c9916c6eb1, []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 (m *DistinctErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_DistinctErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.DistinctErrorEnum_DistinctError", DistinctErrorEnum_DistinctError_name, DistinctErrorEnum_DistinctError_value) - proto.RegisterType((*DistinctErrorEnum)(nil), "google.ads.googleads.v2.errors.DistinctErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/distinct_error.proto", fileDescriptor_1e1485c9916c6eb1) -} - -var fileDescriptor_1e1485c9916c6eb1 = []byte{ - // 307 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xdf, 0x4a, 0xc3, 0x30, - 0x18, 0xc5, 0x5d, 0x07, 0x0a, 0x19, 0x6a, 0x17, 0xf0, 0x46, 0x64, 0x17, 0x7d, 0x80, 0x04, 0xba, - 0xbb, 0x78, 0x95, 0xad, 0x71, 0x0c, 0x67, 0x2d, 0xd8, 0xd6, 0x3f, 0x14, 0x46, 0x5d, 0x4a, 0x28, - 0xac, 0x49, 0x69, 0xea, 0x1e, 0xc8, 0x4b, 0x1f, 0xc5, 0x47, 0x11, 0x7c, 0x07, 0x69, 0xb3, 0x56, - 0x76, 0xa1, 0x57, 0x3d, 0xfd, 0xf8, 0x9d, 0xf3, 0x9d, 0x7c, 0x60, 0x2a, 0x94, 0x12, 0xdb, 0x0c, - 0xa7, 0x5c, 0x63, 0x23, 0x1b, 0xb5, 0x73, 0x71, 0x56, 0x55, 0xaa, 0xd2, 0x98, 0xe7, 0xba, 0xce, - 0xe5, 0xa6, 0x5e, 0xb7, 0xff, 0xa8, 0xac, 0x54, 0xad, 0xe0, 0xc4, 0x90, 0x28, 0xe5, 0x1a, 0xf5, - 0x26, 0xb4, 0x73, 0x91, 0x31, 0x5d, 0x5e, 0x75, 0xa1, 0x65, 0x8e, 0x53, 0x29, 0x55, 0x9d, 0xd6, - 0xb9, 0x92, 0xda, 0xb8, 0x9d, 0x02, 0x8c, 0xbd, 0x7d, 0x2a, 0x6b, 0x78, 0x26, 0xdf, 0x0a, 0xe7, - 0x09, 0x9c, 0x1e, 0x0c, 0xe1, 0x39, 0x18, 0x45, 0xfe, 0x43, 0xc0, 0xe6, 0xcb, 0x9b, 0x25, 0xf3, - 0xec, 0x23, 0x38, 0x02, 0x27, 0x91, 0x7f, 0xeb, 0xdf, 0x3f, 0xfa, 0xf6, 0x00, 0x5e, 0x80, 0xb1, - 0x17, 0x05, 0xab, 0xe5, 0x9c, 0x86, 0x6c, 0xcd, 0x56, 0xec, 0x8e, 0xf9, 0xa1, 0x6d, 0x41, 0x08, - 0xce, 0x7e, 0xc7, 0xe1, 0x73, 0xc0, 0xec, 0xe1, 0xec, 0x7b, 0x00, 0x9c, 0x8d, 0x2a, 0xd0, 0xff, - 0x9d, 0x67, 0xf0, 0x60, 0x7d, 0xd0, 0x34, 0x0d, 0x06, 0x2f, 0xde, 0xde, 0x25, 0xd4, 0x36, 0x95, - 0x02, 0xa9, 0x4a, 0x60, 0x91, 0xc9, 0xf6, 0x1d, 0xdd, 0xb9, 0xca, 0x5c, 0xff, 0x75, 0xbd, 0x6b, - 0xf3, 0x79, 0xb7, 0x86, 0x0b, 0x4a, 0x3f, 0xac, 0xc9, 0xc2, 0x84, 0x51, 0xae, 0x91, 0x91, 0x8d, - 0x8a, 0x5d, 0xd4, 0xae, 0xd4, 0x9f, 0x1d, 0x90, 0x50, 0xae, 0x93, 0x1e, 0x48, 0x62, 0x37, 0x31, - 0xc0, 0x97, 0xe5, 0x98, 0x29, 0x21, 0x94, 0x6b, 0x42, 0x7a, 0x84, 0x90, 0xd8, 0x25, 0xc4, 0x40, - 0xaf, 0xc7, 0x6d, 0xbb, 0xe9, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x7e, 0x1f, 0x79, 0x41, 0xda, - 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/enum_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/enum_error.pb.go deleted file mode 100644 index fad59536..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/enum_error.pb.go +++ /dev/null @@ -1,119 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/enum_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_744ba24c9f605f4b, []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_744ba24c9f605f4b, []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 (m *EnumErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_EnumErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.EnumErrorEnum_EnumError", EnumErrorEnum_EnumError_name, EnumErrorEnum_EnumError_value) - proto.RegisterType((*EnumErrorEnum)(nil), "google.ads.googleads.v2.errors.EnumErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/enum_error.proto", fileDescriptor_744ba24c9f605f4b) -} - -var fileDescriptor_744ba24c9f605f4b = []byte{ - // 293 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0x84, 0x40, - 0x18, 0xc7, 0xd3, 0x85, 0xa2, 0x59, 0x2a, 0xf1, 0x14, 0xb1, 0xec, 0xc1, 0x07, 0x98, 0x01, 0xbb, - 0x4d, 0xa7, 0xd9, 0x9c, 0x44, 0x6a, 0x67, 0xa5, 0xd4, 0x22, 0x04, 0xb1, 0x94, 0x41, 0x58, 0x67, - 0xc4, 0x71, 0xf7, 0x81, 0x3a, 0xf6, 0x28, 0xbd, 0x49, 0x3d, 0x45, 0xe8, 0xac, 0xde, 0xea, 0x34, - 0x3f, 0x86, 0xdf, 0xff, 0xfb, 0xfe, 0x7c, 0x00, 0x71, 0x29, 0xf9, 0xb6, 0x44, 0x79, 0xa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a6, 0xa3, 0x7f, 0x31, 0x26, 0x85, 0xc2, 0x78, 0x52, 0x30, 0x4e, 0x5c, - 0x8c, 0xb5, 0xf4, 0x76, 0x3c, 0xb4, 0xbb, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xb3, 0x8d, 0xb2, - 0x43, 0xbd, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/errors.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/errors.pb.go deleted file mode 100644 index 45ecc038..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/errors.pb.go +++ /dev/null @@ -1,2339 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/errors.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - _ "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.ProtoPackageIsVersion3 // 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_d0711d5129716707, []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 (m *GoogleAdsFailure) XXX_Merge(src proto.Message) { - xxx_messageInfo_GoogleAdsFailure.Merge(m, 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_d0711d5129716707, []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 (m *GoogleAdsError) XXX_Merge(src proto.Message) { - xxx_messageInfo_GoogleAdsError.Merge(m, 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_AssetError - // *ErrorCode_BiddingError - // *ErrorCode_CampaignCriterionError - // *ErrorCode_CollectionSizeError - // *ErrorCode_CountryCodeError - // *ErrorCode_CriterionError - // *ErrorCode_CustomerError - // *ErrorCode_DateError - // *ErrorCode_DateRangeError - // *ErrorCode_DistinctError - // *ErrorCode_FeedAttributeReferenceError - // *ErrorCode_FunctionError - // *ErrorCode_FunctionParsingError - // *ErrorCode_IdError - // *ErrorCode_ImageError - // *ErrorCode_LanguageCodeError - // *ErrorCode_MediaBundleError - // *ErrorCode_MediaUploadError - // *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_YoutubeVideoRegistrationError - // *ErrorCode_AdGroupBidModifierError - // *ErrorCode_ContextError - // *ErrorCode_FieldError - // *ErrorCode_SharedSetError - // *ErrorCode_SharedCriterionError - // *ErrorCode_CampaignSharedSetError - // *ErrorCode_ConversionActionError - // *ErrorCode_ConversionAdjustmentUploadError - // *ErrorCode_ConversionUploadError - // *ErrorCode_HeaderError - // *ErrorCode_DatabaseError - // *ErrorCode_PolicyFindingError - // *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_CampaignDraftError - // *ErrorCode_FeedItemError - // *ErrorCode_LabelError - // *ErrorCode_BillingSetupError - // *ErrorCode_CustomerClientLinkError - // *ErrorCode_CustomerManagerLinkError - // *ErrorCode_FeedMappingError - // *ErrorCode_CustomerFeedError - // *ErrorCode_AdGroupFeedError - // *ErrorCode_CampaignFeedError - // *ErrorCode_CustomInterestError - // *ErrorCode_CampaignExperimentError - // *ErrorCode_ExtensionFeedItemError - // *ErrorCode_AdParameterError - // *ErrorCode_FeedItemValidationError - // *ErrorCode_ExtensionSettingError - // *ErrorCode_FeedItemTargetError - // *ErrorCode_PolicyViolationError - // *ErrorCode_MutateJobError - // *ErrorCode_PartialFailureError - // *ErrorCode_PolicyValidationParameterError - // *ErrorCode_SizeLimitError - // *ErrorCode_NotWhitelistedError - // *ErrorCode_ManagerLinkError - // *ErrorCode_CurrencyCodeError - // *ErrorCode_AccessInvitationError - // *ErrorCode_ReachPlanError - // *ErrorCode_InvoiceError - 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_d0711d5129716707, []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 (m *ErrorCode) XXX_Merge(src proto.Message) { - xxx_messageInfo_ErrorCode.Merge(m, 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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.errors.AdxErrorEnum_AdxError,oneof"` -} - -type ErrorCode_AssetError struct { - AssetError AssetErrorEnum_AssetError `protobuf:"varint,107,opt,name=asset_error,json=assetError,proto3,enum=google.ads.googleads.v2.errors.AssetErrorEnum_AssetError,oneof"` -} - -type ErrorCode_BiddingError struct { - BiddingError BiddingErrorEnum_BiddingError `protobuf:"varint,26,opt,name=bidding_error,json=biddingError,proto3,enum=google.ads.googleads.v2.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.v2.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.v2.errors.CollectionSizeErrorEnum_CollectionSizeError,oneof"` -} - -type ErrorCode_CountryCodeError struct { - CountryCodeError CountryCodeErrorEnum_CountryCodeError `protobuf:"varint,109,opt,name=country_code_error,json=countryCodeError,proto3,enum=google.ads.googleads.v2.errors.CountryCodeErrorEnum_CountryCodeError,oneof"` -} - -type ErrorCode_CriterionError struct { - CriterionError CriterionErrorEnum_CriterionError `protobuf:"varint,32,opt,name=criterion_error,json=criterionError,proto3,enum=google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.errors.ImageErrorEnum_ImageError,oneof"` -} - -type ErrorCode_LanguageCodeError struct { - LanguageCodeError LanguageCodeErrorEnum_LanguageCodeError `protobuf:"varint,110,opt,name=language_code_error,json=languageCodeError,proto3,enum=google.ads.googleads.v2.errors.LanguageCodeErrorEnum_LanguageCodeError,oneof"` -} - -type ErrorCode_MediaBundleError struct { - MediaBundleError MediaBundleErrorEnum_MediaBundleError `protobuf:"varint,42,opt,name=media_bundle_error,json=mediaBundleError,proto3,enum=google.ads.googleads.v2.errors.MediaBundleErrorEnum_MediaBundleError,oneof"` -} - -type ErrorCode_MediaUploadError struct { - MediaUploadError MediaUploadErrorEnum_MediaUploadError `protobuf:"varint,116,opt,name=media_upload_error,json=mediaUploadError,proto3,enum=google.ads.googleads.v2.errors.MediaUploadErrorEnum_MediaUploadError,oneof"` -} - -type ErrorCode_MediaFileError struct { - MediaFileError MediaFileErrorEnum_MediaFileError `protobuf:"varint,86,opt,name=media_file_error,json=mediaFileError,proto3,enum=google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.errors.ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError,oneof"` -} - -type ErrorCode_YoutubeVideoRegistrationError struct { - YoutubeVideoRegistrationError YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError `protobuf:"varint,117,opt,name=youtube_video_registration_error,json=youtubeVideoRegistrationError,proto3,enum=google.ads.googleads.v2.errors.YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError,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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.errors.ConversionActionErrorEnum_ConversionActionError,oneof"` -} - -type ErrorCode_ConversionAdjustmentUploadError struct { - ConversionAdjustmentUploadError ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError `protobuf:"varint,115,opt,name=conversion_adjustment_upload_error,json=conversionAdjustmentUploadError,proto3,enum=google.ads.googleads.v2.errors.ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError,oneof"` -} - -type ErrorCode_ConversionUploadError struct { - ConversionUploadError ConversionUploadErrorEnum_ConversionUploadError `protobuf:"varint,111,opt,name=conversion_upload_error,json=conversionUploadError,proto3,enum=google.ads.googleads.v2.errors.ConversionUploadErrorEnum_ConversionUploadError,oneof"` -} - -type ErrorCode_HeaderError struct { - HeaderError HeaderErrorEnum_HeaderError `protobuf:"varint,66,opt,name=header_error,json=headerError,proto3,enum=google.ads.googleads.v2.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.v2.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.v2.errors.PolicyFindingErrorEnum_PolicyFindingError,oneof"` -} - -type ErrorCode_EnumError struct { - EnumError EnumErrorEnum_EnumError `protobuf:"varint,70,opt,name=enum_error,json=enumError,proto3,enum=google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.errors.GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError,oneof"` -} - -type ErrorCode_CampaignDraftError struct { - CampaignDraftError CampaignDraftErrorEnum_CampaignDraftError `protobuf:"varint,82,opt,name=campaign_draft_error,json=campaignDraftError,proto3,enum=google.ads.googleads.v2.errors.CampaignDraftErrorEnum_CampaignDraftError,oneof"` -} - -type ErrorCode_FeedItemError struct { - FeedItemError FeedItemErrorEnum_FeedItemError `protobuf:"varint,83,opt,name=feed_item_error,json=feedItemError,proto3,enum=google.ads.googleads.v2.errors.FeedItemErrorEnum_FeedItemError,oneof"` -} - -type ErrorCode_LabelError struct { - LabelError LabelErrorEnum_LabelError `protobuf:"varint,84,opt,name=label_error,json=labelError,proto3,enum=google.ads.googleads.v2.errors.LabelErrorEnum_LabelError,oneof"` -} - -type ErrorCode_BillingSetupError struct { - BillingSetupError BillingSetupErrorEnum_BillingSetupError `protobuf:"varint,87,opt,name=billing_setup_error,json=billingSetupError,proto3,enum=google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.errors.CampaignFeedErrorEnum_CampaignFeedError,oneof"` -} - -type ErrorCode_CustomInterestError struct { - CustomInterestError CustomInterestErrorEnum_CustomInterestError `protobuf:"varint,97,opt,name=custom_interest_error,json=customInterestError,proto3,enum=google.ads.googleads.v2.errors.CustomInterestErrorEnum_CustomInterestError,oneof"` -} - -type ErrorCode_CampaignExperimentError struct { - CampaignExperimentError CampaignExperimentErrorEnum_CampaignExperimentError `protobuf:"varint,98,opt,name=campaign_experiment_error,json=campaignExperimentError,proto3,enum=google.ads.googleads.v2.errors.CampaignExperimentErrorEnum_CampaignExperimentError,oneof"` -} - -type ErrorCode_ExtensionFeedItemError struct { - ExtensionFeedItemError ExtensionFeedItemErrorEnum_ExtensionFeedItemError `protobuf:"varint,100,opt,name=extension_feed_item_error,json=extensionFeedItemError,proto3,enum=google.ads.googleads.v2.errors.ExtensionFeedItemErrorEnum_ExtensionFeedItemError,oneof"` -} - -type ErrorCode_AdParameterError struct { - AdParameterError AdParameterErrorEnum_AdParameterError `protobuf:"varint,101,opt,name=ad_parameter_error,json=adParameterError,proto3,enum=google.ads.googleads.v2.errors.AdParameterErrorEnum_AdParameterError,oneof"` -} - -type ErrorCode_FeedItemValidationError struct { - FeedItemValidationError FeedItemValidationErrorEnum_FeedItemValidationError `protobuf:"varint,102,opt,name=feed_item_validation_error,json=feedItemValidationError,proto3,enum=google.ads.googleads.v2.errors.FeedItemValidationErrorEnum_FeedItemValidationError,oneof"` -} - -type ErrorCode_ExtensionSettingError struct { - ExtensionSettingError ExtensionSettingErrorEnum_ExtensionSettingError `protobuf:"varint,103,opt,name=extension_setting_error,json=extensionSettingError,proto3,enum=google.ads.googleads.v2.errors.ExtensionSettingErrorEnum_ExtensionSettingError,oneof"` -} - -type ErrorCode_FeedItemTargetError struct { - FeedItemTargetError FeedItemTargetErrorEnum_FeedItemTargetError `protobuf:"varint,104,opt,name=feed_item_target_error,json=feedItemTargetError,proto3,enum=google.ads.googleads.v2.errors.FeedItemTargetErrorEnum_FeedItemTargetError,oneof"` -} - -type ErrorCode_PolicyViolationError struct { - PolicyViolationError PolicyViolationErrorEnum_PolicyViolationError `protobuf:"varint,105,opt,name=policy_violation_error,json=policyViolationError,proto3,enum=google.ads.googleads.v2.errors.PolicyViolationErrorEnum_PolicyViolationError,oneof"` -} - -type ErrorCode_MutateJobError struct { - MutateJobError MutateJobErrorEnum_MutateJobError `protobuf:"varint,108,opt,name=mutate_job_error,json=mutateJobError,proto3,enum=google.ads.googleads.v2.errors.MutateJobErrorEnum_MutateJobError,oneof"` -} - -type ErrorCode_PartialFailureError struct { - PartialFailureError PartialFailureErrorEnum_PartialFailureError `protobuf:"varint,112,opt,name=partial_failure_error,json=partialFailureError,proto3,enum=google.ads.googleads.v2.errors.PartialFailureErrorEnum_PartialFailureError,oneof"` -} - -type ErrorCode_PolicyValidationParameterError struct { - PolicyValidationParameterError PolicyValidationParameterErrorEnum_PolicyValidationParameterError `protobuf:"varint,114,opt,name=policy_validation_parameter_error,json=policyValidationParameterError,proto3,enum=google.ads.googleads.v2.errors.PolicyValidationParameterErrorEnum_PolicyValidationParameterError,oneof"` -} - -type ErrorCode_SizeLimitError struct { - SizeLimitError SizeLimitErrorEnum_SizeLimitError `protobuf:"varint,118,opt,name=size_limit_error,json=sizeLimitError,proto3,enum=google.ads.googleads.v2.errors.SizeLimitErrorEnum_SizeLimitError,oneof"` -} - -type ErrorCode_NotWhitelistedError struct { - NotWhitelistedError NotWhitelistedErrorEnum_NotWhitelistedError `protobuf:"varint,120,opt,name=not_whitelisted_error,json=notWhitelistedError,proto3,enum=google.ads.googleads.v2.errors.NotWhitelistedErrorEnum_NotWhitelistedError,oneof"` -} - -type ErrorCode_ManagerLinkError struct { - ManagerLinkError ManagerLinkErrorEnum_ManagerLinkError `protobuf:"varint,121,opt,name=manager_link_error,json=managerLinkError,proto3,enum=google.ads.googleads.v2.errors.ManagerLinkErrorEnum_ManagerLinkError,oneof"` -} - -type ErrorCode_CurrencyCodeError struct { - CurrencyCodeError CurrencyCodeErrorEnum_CurrencyCodeError `protobuf:"varint,122,opt,name=currency_code_error,json=currencyCodeError,proto3,enum=google.ads.googleads.v2.errors.CurrencyCodeErrorEnum_CurrencyCodeError,oneof"` -} - -type ErrorCode_AccessInvitationError struct { - AccessInvitationError AccessInvitationErrorEnum_AccessInvitationError `protobuf:"varint,124,opt,name=access_invitation_error,json=accessInvitationError,proto3,enum=google.ads.googleads.v2.errors.AccessInvitationErrorEnum_AccessInvitationError,oneof"` -} - -type ErrorCode_ReachPlanError struct { - ReachPlanError ReachPlanErrorEnum_ReachPlanError `protobuf:"varint,125,opt,name=reach_plan_error,json=reachPlanError,proto3,enum=google.ads.googleads.v2.errors.ReachPlanErrorEnum_ReachPlanError,oneof"` -} - -type ErrorCode_InvoiceError struct { - InvoiceError InvoiceErrorEnum_InvoiceError `protobuf:"varint,126,opt,name=invoice_error,json=invoiceError,proto3,enum=google.ads.googleads.v2.errors.InvoiceErrorEnum_InvoiceError,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_AssetError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_BiddingError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_CampaignCriterionError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_CollectionSizeError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_CountryCodeError) 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_LanguageCodeError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_MediaBundleError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_MediaUploadError) 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_YoutubeVideoRegistrationError) 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_ConversionAdjustmentUploadError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_ConversionUploadError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_HeaderError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_DatabaseError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_PolicyFindingError) 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_CampaignDraftError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_FeedItemError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_LabelError) 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 (*ErrorCode_CustomInterestError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_CampaignExperimentError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_ExtensionFeedItemError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_AdParameterError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_FeedItemValidationError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_ExtensionSettingError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_FeedItemTargetError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_PolicyViolationError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_MutateJobError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_PartialFailureError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_PolicyValidationParameterError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_SizeLimitError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_NotWhitelistedError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_ManagerLinkError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_CurrencyCodeError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_AccessInvitationError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_ReachPlanError) isErrorCode_ErrorCode() {} - -func (*ErrorCode_InvoiceError) 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) GetAssetError() AssetErrorEnum_AssetError { - if x, ok := m.GetErrorCode().(*ErrorCode_AssetError); ok { - return x.AssetError - } - return AssetErrorEnum_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) GetCountryCodeError() CountryCodeErrorEnum_CountryCodeError { - if x, ok := m.GetErrorCode().(*ErrorCode_CountryCodeError); ok { - return x.CountryCodeError - } - return CountryCodeErrorEnum_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) GetLanguageCodeError() LanguageCodeErrorEnum_LanguageCodeError { - if x, ok := m.GetErrorCode().(*ErrorCode_LanguageCodeError); ok { - return x.LanguageCodeError - } - return LanguageCodeErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetMediaBundleError() MediaBundleErrorEnum_MediaBundleError { - if x, ok := m.GetErrorCode().(*ErrorCode_MediaBundleError); ok { - return x.MediaBundleError - } - return MediaBundleErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetMediaUploadError() MediaUploadErrorEnum_MediaUploadError { - if x, ok := m.GetErrorCode().(*ErrorCode_MediaUploadError); ok { - return x.MediaUploadError - } - return MediaUploadErrorEnum_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) GetYoutubeVideoRegistrationError() YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError { - if x, ok := m.GetErrorCode().(*ErrorCode_YoutubeVideoRegistrationError); ok { - return x.YoutubeVideoRegistrationError - } - return YoutubeVideoRegistrationErrorEnum_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) GetConversionAdjustmentUploadError() ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError { - if x, ok := m.GetErrorCode().(*ErrorCode_ConversionAdjustmentUploadError); ok { - return x.ConversionAdjustmentUploadError - } - return ConversionAdjustmentUploadErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetConversionUploadError() ConversionUploadErrorEnum_ConversionUploadError { - if x, ok := m.GetErrorCode().(*ErrorCode_ConversionUploadError); ok { - return x.ConversionUploadError - } - return ConversionUploadErrorEnum_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) 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) GetCampaignDraftError() CampaignDraftErrorEnum_CampaignDraftError { - if x, ok := m.GetErrorCode().(*ErrorCode_CampaignDraftError); ok { - return x.CampaignDraftError - } - return CampaignDraftErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetFeedItemError() FeedItemErrorEnum_FeedItemError { - if x, ok := m.GetErrorCode().(*ErrorCode_FeedItemError); ok { - return x.FeedItemError - } - return FeedItemErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetLabelError() LabelErrorEnum_LabelError { - if x, ok := m.GetErrorCode().(*ErrorCode_LabelError); ok { - return x.LabelError - } - return LabelErrorEnum_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 -} - -func (m *ErrorCode) GetCustomInterestError() CustomInterestErrorEnum_CustomInterestError { - if x, ok := m.GetErrorCode().(*ErrorCode_CustomInterestError); ok { - return x.CustomInterestError - } - return CustomInterestErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetCampaignExperimentError() CampaignExperimentErrorEnum_CampaignExperimentError { - if x, ok := m.GetErrorCode().(*ErrorCode_CampaignExperimentError); ok { - return x.CampaignExperimentError - } - return CampaignExperimentErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetExtensionFeedItemError() ExtensionFeedItemErrorEnum_ExtensionFeedItemError { - if x, ok := m.GetErrorCode().(*ErrorCode_ExtensionFeedItemError); ok { - return x.ExtensionFeedItemError - } - return ExtensionFeedItemErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetAdParameterError() AdParameterErrorEnum_AdParameterError { - if x, ok := m.GetErrorCode().(*ErrorCode_AdParameterError); ok { - return x.AdParameterError - } - return AdParameterErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetFeedItemValidationError() FeedItemValidationErrorEnum_FeedItemValidationError { - if x, ok := m.GetErrorCode().(*ErrorCode_FeedItemValidationError); ok { - return x.FeedItemValidationError - } - return FeedItemValidationErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetExtensionSettingError() ExtensionSettingErrorEnum_ExtensionSettingError { - if x, ok := m.GetErrorCode().(*ErrorCode_ExtensionSettingError); ok { - return x.ExtensionSettingError - } - return ExtensionSettingErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetFeedItemTargetError() FeedItemTargetErrorEnum_FeedItemTargetError { - if x, ok := m.GetErrorCode().(*ErrorCode_FeedItemTargetError); ok { - return x.FeedItemTargetError - } - return FeedItemTargetErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetPolicyViolationError() PolicyViolationErrorEnum_PolicyViolationError { - if x, ok := m.GetErrorCode().(*ErrorCode_PolicyViolationError); ok { - return x.PolicyViolationError - } - return PolicyViolationErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetMutateJobError() MutateJobErrorEnum_MutateJobError { - if x, ok := m.GetErrorCode().(*ErrorCode_MutateJobError); ok { - return x.MutateJobError - } - return MutateJobErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetPartialFailureError() PartialFailureErrorEnum_PartialFailureError { - if x, ok := m.GetErrorCode().(*ErrorCode_PartialFailureError); ok { - return x.PartialFailureError - } - return PartialFailureErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetPolicyValidationParameterError() PolicyValidationParameterErrorEnum_PolicyValidationParameterError { - if x, ok := m.GetErrorCode().(*ErrorCode_PolicyValidationParameterError); ok { - return x.PolicyValidationParameterError - } - return PolicyValidationParameterErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetSizeLimitError() SizeLimitErrorEnum_SizeLimitError { - if x, ok := m.GetErrorCode().(*ErrorCode_SizeLimitError); ok { - return x.SizeLimitError - } - return SizeLimitErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetNotWhitelistedError() NotWhitelistedErrorEnum_NotWhitelistedError { - if x, ok := m.GetErrorCode().(*ErrorCode_NotWhitelistedError); ok { - return x.NotWhitelistedError - } - return NotWhitelistedErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetManagerLinkError() ManagerLinkErrorEnum_ManagerLinkError { - if x, ok := m.GetErrorCode().(*ErrorCode_ManagerLinkError); ok { - return x.ManagerLinkError - } - return ManagerLinkErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetCurrencyCodeError() CurrencyCodeErrorEnum_CurrencyCodeError { - if x, ok := m.GetErrorCode().(*ErrorCode_CurrencyCodeError); ok { - return x.CurrencyCodeError - } - return CurrencyCodeErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetAccessInvitationError() AccessInvitationErrorEnum_AccessInvitationError { - if x, ok := m.GetErrorCode().(*ErrorCode_AccessInvitationError); ok { - return x.AccessInvitationError - } - return AccessInvitationErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetReachPlanError() ReachPlanErrorEnum_ReachPlanError { - if x, ok := m.GetErrorCode().(*ErrorCode_ReachPlanError); ok { - return x.ReachPlanError - } - return ReachPlanErrorEnum_UNSPECIFIED -} - -func (m *ErrorCode) GetInvoiceError() InvoiceErrorEnum_InvoiceError { - if x, ok := m.GetErrorCode().(*ErrorCode_InvoiceError); ok { - return x.InvoiceError - } - return InvoiceErrorEnum_UNSPECIFIED -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ErrorCode) XXX_OneofWrappers() []interface{} { - return []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_AssetError)(nil), - (*ErrorCode_BiddingError)(nil), - (*ErrorCode_CampaignCriterionError)(nil), - (*ErrorCode_CollectionSizeError)(nil), - (*ErrorCode_CountryCodeError)(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_LanguageCodeError)(nil), - (*ErrorCode_MediaBundleError)(nil), - (*ErrorCode_MediaUploadError)(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_YoutubeVideoRegistrationError)(nil), - (*ErrorCode_AdGroupBidModifierError)(nil), - (*ErrorCode_ContextError)(nil), - (*ErrorCode_FieldError)(nil), - (*ErrorCode_SharedSetError)(nil), - (*ErrorCode_SharedCriterionError)(nil), - (*ErrorCode_CampaignSharedSetError)(nil), - (*ErrorCode_ConversionActionError)(nil), - (*ErrorCode_ConversionAdjustmentUploadError)(nil), - (*ErrorCode_ConversionUploadError)(nil), - (*ErrorCode_HeaderError)(nil), - (*ErrorCode_DatabaseError)(nil), - (*ErrorCode_PolicyFindingError)(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_CampaignDraftError)(nil), - (*ErrorCode_FeedItemError)(nil), - (*ErrorCode_LabelError)(nil), - (*ErrorCode_BillingSetupError)(nil), - (*ErrorCode_CustomerClientLinkError)(nil), - (*ErrorCode_CustomerManagerLinkError)(nil), - (*ErrorCode_FeedMappingError)(nil), - (*ErrorCode_CustomerFeedError)(nil), - (*ErrorCode_AdGroupFeedError)(nil), - (*ErrorCode_CampaignFeedError)(nil), - (*ErrorCode_CustomInterestError)(nil), - (*ErrorCode_CampaignExperimentError)(nil), - (*ErrorCode_ExtensionFeedItemError)(nil), - (*ErrorCode_AdParameterError)(nil), - (*ErrorCode_FeedItemValidationError)(nil), - (*ErrorCode_ExtensionSettingError)(nil), - (*ErrorCode_FeedItemTargetError)(nil), - (*ErrorCode_PolicyViolationError)(nil), - (*ErrorCode_MutateJobError)(nil), - (*ErrorCode_PartialFailureError)(nil), - (*ErrorCode_PolicyValidationParameterError)(nil), - (*ErrorCode_SizeLimitError)(nil), - (*ErrorCode_NotWhitelistedError)(nil), - (*ErrorCode_ManagerLinkError)(nil), - (*ErrorCode_CurrencyCodeError)(nil), - (*ErrorCode_AccessInvitationError)(nil), - (*ErrorCode_ReachPlanError)(nil), - (*ErrorCode_InvoiceError)(nil), - } -} - -// Describes the part of the request proto that caused the error. -type ErrorLocation struct { - // 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_d0711d5129716707, []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 (m *ErrorLocation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ErrorLocation.Merge(m, 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) 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_d0711d5129716707, []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 (m *ErrorLocation_FieldPathElement) XXX_Merge(src proto.Message) { - xxx_messageInfo_ErrorLocation_FieldPathElement.Merge(m, 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_d0711d5129716707, []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 (m *ErrorDetails) XXX_Merge(src proto.Message) { - xxx_messageInfo_ErrorDetails.Merge(m, 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_d0711d5129716707, []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 (m *PolicyViolationDetails) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyViolationDetails.Merge(m, 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_d0711d5129716707, []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 (m *PolicyFindingDetails) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyFindingDetails.Merge(m, 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.v2.errors.GoogleAdsFailure") - proto.RegisterType((*GoogleAdsError)(nil), "google.ads.googleads.v2.errors.GoogleAdsError") - proto.RegisterType((*ErrorCode)(nil), "google.ads.googleads.v2.errors.ErrorCode") - proto.RegisterType((*ErrorLocation)(nil), "google.ads.googleads.v2.errors.ErrorLocation") - proto.RegisterType((*ErrorLocation_FieldPathElement)(nil), "google.ads.googleads.v2.errors.ErrorLocation.FieldPathElement") - proto.RegisterType((*ErrorDetails)(nil), "google.ads.googleads.v2.errors.ErrorDetails") - proto.RegisterType((*PolicyViolationDetails)(nil), "google.ads.googleads.v2.errors.PolicyViolationDetails") - proto.RegisterType((*PolicyFindingDetails)(nil), "google.ads.googleads.v2.errors.PolicyFindingDetails") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/errors.proto", fileDescriptor_d0711d5129716707) -} - -var fileDescriptor_d0711d5129716707 = []byte{ - // 4228 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x5c, 0xcb, 0x73, 0x1c, 0x37, - 0x7a, 0x9f, 0x91, 0x63, 0x4b, 0x82, 0x24, 0x4a, 0x6a, 0xc9, 0x32, 0x2c, 0xad, 0xbd, 0x5a, 0x7a, - 0x37, 0x51, 0x36, 0x6b, 0xd2, 0x1e, 0xc9, 0x92, 0x45, 0xd9, 0x96, 0x87, 0x2f, 0x0d, 0xd7, 0x94, - 0x4c, 0x37, 0x6d, 0x79, 0xd7, 0xab, 0x64, 0x8c, 0xe9, 0xc6, 0x0c, 0x61, 0xf6, 0xcb, 0xfd, 0xa0, - 0x48, 0xd5, 0x3a, 0x95, 0xa4, 0x2a, 0xa9, 0x4a, 0xaa, 0x92, 0xaa, 0x24, 0x55, 0x39, 0xe4, 0x90, - 0x83, 0x8f, 0x7b, 0xc8, 0x21, 0x39, 0xe4, 0x5f, 0x70, 0xe5, 0xff, 0x48, 0x0e, 0xb9, 0xe7, 0x9e, - 0x02, 0xfa, 0x85, 0xd7, 0x0c, 0xd0, 0x39, 0x91, 0xf8, 0x01, 0xbf, 0xef, 0x43, 0xe3, 0xf1, 0xe1, - 0x03, 0x3e, 0x60, 0xc0, 0x1f, 0xcd, 0xe2, 0x78, 0x16, 0xe0, 0x55, 0xe4, 0x67, 0xab, 0xe5, 0xbf, - 0xf4, 0xbf, 0xa3, 0xc1, 0x2a, 0x4e, 0xd3, 0x38, 0xcd, 0xaa, 0x3f, 0x2b, 0x49, 0x1a, 0xe7, 0xb1, - 0xf3, 0x66, 0x59, 0x62, 0x05, 0xf9, 0xd9, 0x4a, 0x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, 0xb8, 0xee, 0x0b, 0x2f, 0x8e, - 0xb2, 0x1c, 0x45, 0xf9, 0x38, 0x2b, 0x66, 0x33, 0x9c, 0x29, 0xf5, 0x78, 0xd7, 0x20, 0xea, 0x00, - 0x23, 0xbf, 0xe3, 0x86, 0x83, 0xf8, 0x9d, 0xfa, 0x81, 0x84, 0xa8, 0xa3, 0x01, 0x60, 0x46, 0x3c, - 0x92, 0x36, 0x50, 0x03, 0x23, 0xe9, 0x28, 0x26, 0xd2, 0x04, 0x32, 0x19, 0xd2, 0x43, 0x7c, 0xf2, - 0x3c, 0x4e, 0xfd, 0x71, 0x12, 0x20, 0xba, 0xcc, 0x6a, 0xf6, 0x17, 0x9d, 0x24, 0x68, 0x5d, 0xb1, - 0x7b, 0x5d, 0x24, 0x74, 0x31, 0x40, 0x02, 0x91, 0xf8, 0x18, 0x75, 0x9a, 0x97, 0x02, 0xbb, 0x4e, - 0xf0, 0x02, 0x46, 0x5d, 0x04, 0x44, 0x78, 0x86, 0x72, 0x72, 0x84, 0xb5, 0x92, 0x4c, 0x03, 0x24, - 0x40, 0x13, 0xdc, 0x6d, 0xb3, 0x1c, 0xa0, 0x68, 0x56, 0xd0, 0x51, 0xa5, 0xb8, 0x09, 0x26, 0x47, - 0x3b, 0x20, 0x59, 0x3e, 0x8e, 0x13, 0x9c, 0x76, 0x37, 0x44, 0x73, 0x17, 0x5b, 0x23, 0x11, 0xfb, - 0x04, 0x8d, 0x27, 0x45, 0xe4, 0x07, 0xdd, 0xd6, 0xcf, 0x92, 0x38, 0x25, 0x12, 0xcd, 0x4e, 0x9f, - 0xc6, 0xd9, 0x33, 0xea, 0x2b, 0x82, 0x9c, 0x24, 0x81, 0xbc, 0xaf, 0x7f, 0xd7, 0x48, 0xcb, 0xbb, - 0x7a, 0x06, 0x15, 0xe5, 0x9b, 0x78, 0xd2, 0x69, 0xb6, 0x45, 0xf8, 0xf9, 0x38, 0xc5, 0x59, 0x5c, - 0xa4, 0x1e, 0x1e, 0x7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x44, 0x6e, 0x93, - 0x26, 0x81, 0xd4, 0x86, 0x86, 0x12, 0xd6, 0xaa, 0xe5, 0xe3, 0x2a, 0x30, 0xef, 0xa0, 0xf6, 0x0b, - 0x46, 0x94, 0xd4, 0x72, 0x60, 0xa3, 0x96, 0xc3, 0xa8, 0x21, 0x92, 0xa3, 0x40, 0xf0, 0xa9, 0x9d, - 0x21, 0x62, 0xf2, 0xb7, 0x89, 0xf2, 0xa5, 0x0d, 0x44, 0x0d, 0x51, 0x28, 0x20, 0x4e, 0x02, 0x2e, - 0xc9, 0x41, 0x20, 0xf8, 0x0b, 0xa6, 0x6e, 0xc3, 0xbc, 0xf5, 0xad, 0x79, 0xfc, 0xf6, 0x57, 0xc0, - 0x46, 0x3d, 0xf7, 0x62, 0x28, 0x42, 0xce, 0x3f, 0xf5, 0xc1, 0x8d, 0x05, 0x61, 0x1d, 0xf8, 0x36, - 0xd3, 0xfe, 0x85, 0x49, 0xfb, 0x13, 0xfc, 0xdc, 0xad, 0x24, 0x6c, 0x54, 0x02, 0xda, 0x6a, 0xcc, - 0xcb, 0x1c, 0xf5, 0x5c, 0x18, 0xcd, 0xc9, 0x73, 0x08, 0xb8, 0x28, 0x05, 0x8b, 0xe0, 0x8a, 0x9d, - 0x15, 0x7a, 0x12, 0xe7, 0x5b, 0x94, 0xc5, 0x55, 0x80, 0x47, 0xa8, 0x15, 0x8a, 0x78, 0x80, 0xae, - 0x63, 0x6d, 0x94, 0x08, 0xae, 0xda, 0xad, 0x63, 0x4f, 0x8a, 0x80, 0xdb, 0x15, 0x37, 0x29, 0xba, - 0x8e, 0x45, 0x75, 0x82, 0x5a, 0x52, 0x31, 0x14, 0x04, 0xdf, 0xb1, 0xfb, 0x86, 0x4f, 0x2b, 0x56, - 0xab, 0x41, 0x40, 0xe8, 0x37, 0xc4, 0x3c, 0x40, 0xed, 0x0d, 0xbf, 0x58, 0xbe, 0x6b, 0x67, 0x6f, - 0xa4, 0x85, 0x52, 0x58, 0x24, 0x41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f2, 0x59, 0xe2, - 0xca, 0xd0, 0xe7, 0x1e, 0x2f, 0xae, 0x3c, 0x1d, 0x94, 0x93, 0x39, 0xfb, 0xcf, 0xba, 0xc0, 0xb3, - 0xa1, 0x9f, 0x3d, 0x6b, 0x0a, 0x3c, 0x7b, 0x3a, 0x78, 0x56, 0x16, 0xf8, 0x9f, 0x53, 0xcb, 0x25, - 0xba, 0xb6, 0x36, 0xf4, 0xb3, 0xb5, 0xb5, 0xa6, 0xc8, 0xda, 0xda, 0xd3, 0xc1, 0xda, 0x5a, 0x59, - 0x68, 0xf2, 0x0a, 0xab, 0xdd, 0xed, 0xff, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x08, 0x86, 0x1a, 0x7f, - 0x50, 0x52, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/extension_feed_item_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/extension_feed_item_error.pb.go deleted file mode 100644 index 88980cc7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/extension_feed_item_error.pb.go +++ /dev/null @@ -1,349 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/extension_feed_item_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible extension feed item errors. -type ExtensionFeedItemErrorEnum_ExtensionFeedItemError int32 - -const ( - // Enum unspecified. - ExtensionFeedItemErrorEnum_UNSPECIFIED ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 0 - // The received error code is not known in this version. - ExtensionFeedItemErrorEnum_UNKNOWN ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 1 - // Value is not within the accepted range. - ExtensionFeedItemErrorEnum_VALUE_OUT_OF_RANGE ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 2 - // Url list is too long. - ExtensionFeedItemErrorEnum_URL_LIST_TOO_LONG ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 3 - // Cannot have a geo targeting restriction without having geo targeting. - ExtensionFeedItemErrorEnum_CANNOT_HAVE_RESTRICTION_ON_EMPTY_GEO_TARGETING ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 4 - // Cannot simultaneously set sitelink field with final urls. - ExtensionFeedItemErrorEnum_CANNOT_SET_WITH_FINAL_URLS ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 5 - // Must set field with final urls. - ExtensionFeedItemErrorEnum_CANNOT_SET_WITHOUT_FINAL_URLS ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 6 - // Phone number for a call extension is invalid. - ExtensionFeedItemErrorEnum_INVALID_PHONE_NUMBER ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 7 - // Phone number for a call extension is not supported for the given country - // code. - ExtensionFeedItemErrorEnum_PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 8 - // A carrier specific number in short format is not allowed for call - // extensions. - ExtensionFeedItemErrorEnum_CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 9 - // Premium rate numbers are not allowed for call extensions. - ExtensionFeedItemErrorEnum_PREMIUM_RATE_NUMBER_NOT_ALLOWED ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 10 - // Phone number type for a call extension is not allowed. - // For example, personal number is not allowed for a call extension in - // most regions. - ExtensionFeedItemErrorEnum_DISALLOWED_NUMBER_TYPE ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 11 - // Phone number for a call extension does not meet domestic format - // requirements. - ExtensionFeedItemErrorEnum_INVALID_DOMESTIC_PHONE_NUMBER_FORMAT ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 12 - // Vanity phone numbers (i.e. those including letters) are not allowed for - // call extensions. - ExtensionFeedItemErrorEnum_VANITY_PHONE_NUMBER_NOT_ALLOWED ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 13 - // Call conversion action provided for a call extension is invalid. - ExtensionFeedItemErrorEnum_INVALID_CALL_CONVERSION_ACTION ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 14 - // For a call extension, the customer is not whitelisted for call tracking. - ExtensionFeedItemErrorEnum_CUSTOMER_NOT_WHITELISTED_FOR_CALLTRACKING ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 15 - // Call tracking is not supported for the given country for a call - // extension. - ExtensionFeedItemErrorEnum_CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 16 - // Customer hasn't consented for call recording, which is required for - // creating/updating call feed items. Please see - // https://support.google.com/google-ads/answer/7412639. - ExtensionFeedItemErrorEnum_CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 17 - // App id provided for an app extension is invalid. - ExtensionFeedItemErrorEnum_INVALID_APP_ID ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 18 - // Quotation marks present in the review text for a review extension. - ExtensionFeedItemErrorEnum_QUOTES_IN_REVIEW_EXTENSION_SNIPPET ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 19 - // Hyphen character present in the review text for a review extension. - ExtensionFeedItemErrorEnum_HYPHENS_IN_REVIEW_EXTENSION_SNIPPET ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 20 - // A blacklisted review source name or url was provided for a review - // extension. - ExtensionFeedItemErrorEnum_REVIEW_EXTENSION_SOURCE_INELIGIBLE ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 21 - // Review source name should not be found in the review text. - ExtensionFeedItemErrorEnum_SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 22 - // Inconsistent currency codes. - ExtensionFeedItemErrorEnum_INCONSISTENT_CURRENCY_CODES ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 23 - // Price extension cannot have duplicated headers. - ExtensionFeedItemErrorEnum_PRICE_EXTENSION_HAS_DUPLICATED_HEADERS ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 24 - // Price item cannot have duplicated header and description. - ExtensionFeedItemErrorEnum_PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 25 - // Price extension has too few items. - ExtensionFeedItemErrorEnum_PRICE_EXTENSION_HAS_TOO_FEW_ITEMS ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 26 - // Price extension has too many items. - ExtensionFeedItemErrorEnum_PRICE_EXTENSION_HAS_TOO_MANY_ITEMS ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 27 - // The input value is not currently supported. - ExtensionFeedItemErrorEnum_UNSUPPORTED_VALUE ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 28 - // The input value is not currently supported in the selected language of an - // extension. - ExtensionFeedItemErrorEnum_UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 29 - // Unknown or unsupported device preference. - ExtensionFeedItemErrorEnum_INVALID_DEVICE_PREFERENCE ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 30 - // Invalid feed item schedule end time (i.e., endHour = 24 and endMinute != - // 0). - ExtensionFeedItemErrorEnum_INVALID_SCHEDULE_END ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 31 - // Date time zone does not match the account's time zone. - ExtensionFeedItemErrorEnum_DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 32 - // Invalid structured snippet header. - ExtensionFeedItemErrorEnum_INVALID_SNIPPETS_HEADER ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 33 - // Cannot operate on removed feed item. - ExtensionFeedItemErrorEnum_CANNOT_OPERATE_ON_REMOVED_FEED_ITEM ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 34 - // Phone number not supported when call tracking enabled for country. - ExtensionFeedItemErrorEnum_PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 35 - // Cannot set call_conversion_action while call_conversion_tracking_enabled - // is set to true. - ExtensionFeedItemErrorEnum_CONFLICTING_CALL_CONVERSION_SETTINGS ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 36 - // The type of the input extension feed item doesn't match the existing - // extension feed item. - ExtensionFeedItemErrorEnum_EXTENSION_TYPE_MISMATCH ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 37 - // The oneof field extension i.e. subtype of extension feed item is - // required. - ExtensionFeedItemErrorEnum_EXTENSION_SUBTYPE_REQUIRED ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 38 - // The referenced feed item is not mapped to a supported extension type. - ExtensionFeedItemErrorEnum_EXTENSION_TYPE_UNSUPPORTED ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 39 - // Cannot operate on a Feed with more than one active FeedMapping. - ExtensionFeedItemErrorEnum_CANNOT_OPERATE_ON_FEED_WITH_MULTIPLE_MAPPINGS ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 40 - // Cannot operate on a Feed that has key attributes. - ExtensionFeedItemErrorEnum_CANNOT_OPERATE_ON_FEED_WITH_KEY_ATTRIBUTES ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 41 - // Input price is not in a valid format. - ExtensionFeedItemErrorEnum_INVALID_PRICE_FORMAT ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 42 - // The promotion time is invalid. - ExtensionFeedItemErrorEnum_PROMOTION_INVALID_TIME ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 43 - // This field has too many decimal places specified. - ExtensionFeedItemErrorEnum_TOO_MANY_DECIMAL_PLACES_SPECIFIED ExtensionFeedItemErrorEnum_ExtensionFeedItemError = 44 -) - -var ExtensionFeedItemErrorEnum_ExtensionFeedItemError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "VALUE_OUT_OF_RANGE", - 3: "URL_LIST_TOO_LONG", - 4: "CANNOT_HAVE_RESTRICTION_ON_EMPTY_GEO_TARGETING", - 5: "CANNOT_SET_WITH_FINAL_URLS", - 6: "CANNOT_SET_WITHOUT_FINAL_URLS", - 7: "INVALID_PHONE_NUMBER", - 8: "PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY", - 9: "CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED", - 10: "PREMIUM_RATE_NUMBER_NOT_ALLOWED", - 11: "DISALLOWED_NUMBER_TYPE", - 12: "INVALID_DOMESTIC_PHONE_NUMBER_FORMAT", - 13: "VANITY_PHONE_NUMBER_NOT_ALLOWED", - 14: "INVALID_CALL_CONVERSION_ACTION", - 15: "CUSTOMER_NOT_WHITELISTED_FOR_CALLTRACKING", - 16: "CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY", - 17: "CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED", - 18: "INVALID_APP_ID", - 19: "QUOTES_IN_REVIEW_EXTENSION_SNIPPET", - 20: "HYPHENS_IN_REVIEW_EXTENSION_SNIPPET", - 21: "REVIEW_EXTENSION_SOURCE_INELIGIBLE", - 22: "SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT", - 23: "INCONSISTENT_CURRENCY_CODES", - 24: "PRICE_EXTENSION_HAS_DUPLICATED_HEADERS", - 25: "PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION", - 26: "PRICE_EXTENSION_HAS_TOO_FEW_ITEMS", - 27: "PRICE_EXTENSION_HAS_TOO_MANY_ITEMS", - 28: "UNSUPPORTED_VALUE", - 29: "UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE", - 30: "INVALID_DEVICE_PREFERENCE", - 31: "INVALID_SCHEDULE_END", - 32: "DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE", - 33: "INVALID_SNIPPETS_HEADER", - 34: "CANNOT_OPERATE_ON_REMOVED_FEED_ITEM", - 35: "PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY", - 36: "CONFLICTING_CALL_CONVERSION_SETTINGS", - 37: "EXTENSION_TYPE_MISMATCH", - 38: "EXTENSION_SUBTYPE_REQUIRED", - 39: "EXTENSION_TYPE_UNSUPPORTED", - 40: "CANNOT_OPERATE_ON_FEED_WITH_MULTIPLE_MAPPINGS", - 41: "CANNOT_OPERATE_ON_FEED_WITH_KEY_ATTRIBUTES", - 42: "INVALID_PRICE_FORMAT", - 43: "PROMOTION_INVALID_TIME", - 44: "TOO_MANY_DECIMAL_PLACES_SPECIFIED", -} - -var ExtensionFeedItemErrorEnum_ExtensionFeedItemError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "VALUE_OUT_OF_RANGE": 2, - "URL_LIST_TOO_LONG": 3, - "CANNOT_HAVE_RESTRICTION_ON_EMPTY_GEO_TARGETING": 4, - "CANNOT_SET_WITH_FINAL_URLS": 5, - "CANNOT_SET_WITHOUT_FINAL_URLS": 6, - "INVALID_PHONE_NUMBER": 7, - "PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY": 8, - "CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED": 9, - "PREMIUM_RATE_NUMBER_NOT_ALLOWED": 10, - "DISALLOWED_NUMBER_TYPE": 11, - "INVALID_DOMESTIC_PHONE_NUMBER_FORMAT": 12, - "VANITY_PHONE_NUMBER_NOT_ALLOWED": 13, - "INVALID_CALL_CONVERSION_ACTION": 14, - "CUSTOMER_NOT_WHITELISTED_FOR_CALLTRACKING": 15, - "CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY": 16, - "CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED": 17, - "INVALID_APP_ID": 18, - "QUOTES_IN_REVIEW_EXTENSION_SNIPPET": 19, - "HYPHENS_IN_REVIEW_EXTENSION_SNIPPET": 20, - "REVIEW_EXTENSION_SOURCE_INELIGIBLE": 21, - "SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT": 22, - "INCONSISTENT_CURRENCY_CODES": 23, - "PRICE_EXTENSION_HAS_DUPLICATED_HEADERS": 24, - "PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION": 25, - "PRICE_EXTENSION_HAS_TOO_FEW_ITEMS": 26, - "PRICE_EXTENSION_HAS_TOO_MANY_ITEMS": 27, - "UNSUPPORTED_VALUE": 28, - "UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE": 29, - "INVALID_DEVICE_PREFERENCE": 30, - "INVALID_SCHEDULE_END": 31, - "DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE": 32, - "INVALID_SNIPPETS_HEADER": 33, - "CANNOT_OPERATE_ON_REMOVED_FEED_ITEM": 34, - "PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY": 35, - "CONFLICTING_CALL_CONVERSION_SETTINGS": 36, - "EXTENSION_TYPE_MISMATCH": 37, - "EXTENSION_SUBTYPE_REQUIRED": 38, - "EXTENSION_TYPE_UNSUPPORTED": 39, - "CANNOT_OPERATE_ON_FEED_WITH_MULTIPLE_MAPPINGS": 40, - "CANNOT_OPERATE_ON_FEED_WITH_KEY_ATTRIBUTES": 41, - "INVALID_PRICE_FORMAT": 42, - "PROMOTION_INVALID_TIME": 43, - "TOO_MANY_DECIMAL_PLACES_SPECIFIED": 44, -} - -func (x ExtensionFeedItemErrorEnum_ExtensionFeedItemError) String() string { - return proto.EnumName(ExtensionFeedItemErrorEnum_ExtensionFeedItemError_name, int32(x)) -} - -func (ExtensionFeedItemErrorEnum_ExtensionFeedItemError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_881736da1600dac9, []int{0, 0} -} - -// Container for enum describing possible extension feed item error. -type ExtensionFeedItemErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExtensionFeedItemErrorEnum) Reset() { *m = ExtensionFeedItemErrorEnum{} } -func (m *ExtensionFeedItemErrorEnum) String() string { return proto.CompactTextString(m) } -func (*ExtensionFeedItemErrorEnum) ProtoMessage() {} -func (*ExtensionFeedItemErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_881736da1600dac9, []int{0} -} - -func (m *ExtensionFeedItemErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExtensionFeedItemErrorEnum.Unmarshal(m, b) -} -func (m *ExtensionFeedItemErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExtensionFeedItemErrorEnum.Marshal(b, m, deterministic) -} -func (m *ExtensionFeedItemErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExtensionFeedItemErrorEnum.Merge(m, src) -} -func (m *ExtensionFeedItemErrorEnum) XXX_Size() int { - return xxx_messageInfo_ExtensionFeedItemErrorEnum.Size(m) -} -func (m *ExtensionFeedItemErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_ExtensionFeedItemErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_ExtensionFeedItemErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.errors.ExtensionFeedItemErrorEnum_ExtensionFeedItemError", ExtensionFeedItemErrorEnum_ExtensionFeedItemError_name, ExtensionFeedItemErrorEnum_ExtensionFeedItemError_value) - proto.RegisterType((*ExtensionFeedItemErrorEnum)(nil), "google.ads.googleads.v2.errors.ExtensionFeedItemErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/extension_feed_item_error.proto", fileDescriptor_881736da1600dac9) -} - -var fileDescriptor_881736da1600dac9 = []byte{ - // 1056 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x55, 0xdd, 0x8e, 0x53, 0x37, - 0x10, 0x2e, 0x4b, 0x0b, 0xad, 0x29, 0x60, 0x5c, 0x58, 0x60, 0x17, 0x96, 0x12, 0xfe, 0x29, 0x24, - 0x34, 0xed, 0x45, 0x95, 0x56, 0x95, 0x1c, 0x9f, 0x49, 0x62, 0xe1, 0x63, 0x1b, 0xdb, 0x27, 0x21, - 0x68, 0xa5, 0xd1, 0xb6, 0x49, 0xa3, 0x95, 0xd8, 0x64, 0xb5, 0x49, 0x51, 0x9f, 0xa2, 0x0f, 0xd1, - 0xcb, 0x4a, 0x7d, 0x91, 0x3e, 0x4a, 0x1f, 0xa0, 0xd7, 0x95, 0x7d, 0x92, 0x90, 0xed, 0x86, 0xbd, - 0xca, 0xc9, 0xf8, 0x9b, 0xff, 0x6f, 0x66, 0xc8, 0x8f, 0xa3, 0xc9, 0x64, 0xf4, 0x76, 0x58, 0xdb, - 0x1b, 0x4c, 0x6b, 0xe5, 0x67, 0xfc, 0x7a, 0x57, 0xaf, 0x0d, 0x8f, 0x8e, 0x26, 0x47, 0xd3, 0xda, - 0xf0, 0xb7, 0xd9, 0x70, 0x3c, 0xdd, 0x9f, 0x8c, 0xf1, 0x97, 0xe1, 0x70, 0x80, 0xfb, 0xb3, 0xe1, - 0x01, 0xa6, 0xa7, 0xea, 0xe1, 0xd1, 0x64, 0x36, 0x61, 0x3b, 0xa5, 0x52, 0x75, 0x6f, 0x30, 0xad, - 0x2e, 0xf5, 0xab, 0xef, 0xea, 0xd5, 0x52, 0x7f, 0xeb, 0xd6, 0xc2, 0xfe, 0xe1, 0x7e, 0x6d, 0x6f, - 0x3c, 0x9e, 0xcc, 0xf6, 0x66, 0xfb, 0x93, 0x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0x28, 0x4c, - 0xa1, 0x83, 0xeb, 0xd3, 0x4f, 0xd9, 0x73, 0xf2, 0x44, 0x70, 0xe7, 0x24, 0x38, 0x9c, 0xd7, 0x43, - 0xa0, 0xef, 0x18, 0x17, 0x56, 0x95, 0xb9, 0x52, 0xa6, 0x07, 0x19, 0xfd, 0x8c, 0xdd, 0x23, 0x77, - 0xac, 0x83, 0x5c, 0x16, 0x39, 0x3a, 0x1e, 0x60, 0x1d, 0x88, 0xb0, 0x2d, 0xb2, 0x99, 0x49, 0x3f, - 0xff, 0xbf, 0x80, 0x84, 0xbe, 0x05, 0x7a, 0x81, 0x3d, 0x26, 0xf7, 0x17, 0x51, 0x67, 0x26, 0x07, - 0x1f, 0xa4, 0x38, 0x16, 0x7e, 0x0c, 0x2f, 0xe7, 0x81, 0x7e, 0x1e, 0x5d, 0x75, 0xb9, 0x96, 0xa1, - 0x8f, 0x27, 0x92, 0x59, 0xb8, 0xba, 0xc8, 0x2a, 0x64, 0x67, 0x61, 0x4e, 0x70, 0xa5, 0x50, 0x18, - 0xdd, 0x05, 0xe7, 0x63, 0xed, 0x79, 0x6a, 0x01, 0xbd, 0x94, 0x52, 0x2c, 0x7c, 0x30, 0xf9, 0x5c, - 0xbb, 0xd7, 0x91, 0x01, 0x62, 0x13, 0x17, 0xc5, 0xe0, 0x4a, 0x05, 0xc7, 0xc5, 0xcb, 0xd8, 0x9a, - 0xcb, 0xb1, 0x7a, 0xab, 0x92, 0x53, 0xaa, 0x47, 0xd9, 0x0b, 0xf2, 0x6c, 0x69, 0x5a, 0x18, 0xed, - 0x41, 0x87, 0xa5, 0x49, 0x74, 0x20, 0x8c, 0xcb, 0xa2, 0x09, 0x07, 0xaf, 0x0a, 0xe9, 0x20, 0xa3, - 0x57, 0x18, 0x23, 0x97, 0x16, 0x01, 0x73, 0x6b, 0x51, 0x66, 0x94, 0xb1, 0x87, 0xa4, 0xf2, 0xaa, - 0x30, 0x01, 0x3c, 0x4a, 0x8d, 0x0e, 0x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, 0x9a, 0x75, 0x26, 0x37, 0x69, 0xaf, 0x2f, 0x30, 0xb1, 0x51, 0xf4, 0xab, 0x48, - 0xcd, 0x25, 0xbf, 0x32, 0x10, 0x32, 0xe7, 0x0a, 0xad, 0xe2, 0x02, 0x3c, 0xbe, 0x3f, 0x32, 0xcf, - 0x9a, 0xff, 0x9e, 0x21, 0x95, 0x9f, 0x27, 0x07, 0xd5, 0xd3, 0x8f, 0x5e, 0x73, 0x7b, 0xfd, 0xd1, - 0xb2, 0xf1, 0xe6, 0xd9, 0x33, 0x6f, 0xb2, 0xb9, 0xfa, 0x68, 0xf2, 0x76, 0x6f, 0x3c, 0xaa, 0x4e, - 0x8e, 0x46, 0xb5, 0xd1, 0x70, 0x9c, 0x2e, 0xe2, 0xe2, 0x06, 0x1f, 0xee, 0x4f, 0x3f, 0x74, 0x92, - 0xbf, 0x2f, 0x7f, 0xfe, 0xd8, 0x38, 0xdb, 0xe6, 0xfc, 0xcf, 0x8d, 0x9d, 0x76, 0x69, 0x8c, 0x0f, - 0xa6, 0xd5, 0xf2, 0x33, 0x7e, 0x75, 0xeb, 0xd5, 0xe4, 0x72, 0xfa, 0xf7, 0x02, 0xb0, 0xcb, 0x07, - 0xd3, 0xdd, 0x25, 0x60, 0xb7, 0x5b, 0xdf, 0x2d, 0x01, 0xff, 0x6c, 0x54, 0x4a, 0x69, 0xa3, 0xc1, - 0x07, 0xd3, 0x46, 0x63, 0x09, 0x69, 0x34, 0xba, 0xf5, 0x46, 0xa3, 0x04, 0xfd, 0x74, 0x2e, 0x45, - 0xf7, 0xcd, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x13, 0xf0, 0xc2, 0x8a, 0x2f, 0x08, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/extension_setting_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/extension_setting_error.pb.go deleted file mode 100644 index cd11949f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/extension_setting_error.pb.go +++ /dev/null @@ -1,455 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/extension_setting_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible extension setting errors. -type ExtensionSettingErrorEnum_ExtensionSettingError int32 - -const ( - // Enum unspecified. - ExtensionSettingErrorEnum_UNSPECIFIED ExtensionSettingErrorEnum_ExtensionSettingError = 0 - // The received error code is not known in this version. - ExtensionSettingErrorEnum_UNKNOWN ExtensionSettingErrorEnum_ExtensionSettingError = 1 - // A platform restriction was provided without input extensions or existing - // extensions. - ExtensionSettingErrorEnum_EXTENSIONS_REQUIRED ExtensionSettingErrorEnum_ExtensionSettingError = 2 - // The provided feed type does not correspond to the provided extensions. - ExtensionSettingErrorEnum_FEED_TYPE_EXTENSION_TYPE_MISMATCH ExtensionSettingErrorEnum_ExtensionSettingError = 3 - // The provided feed type cannot be used. - ExtensionSettingErrorEnum_INVALID_FEED_TYPE ExtensionSettingErrorEnum_ExtensionSettingError = 4 - // The provided feed type cannot be used at the customer level. - ExtensionSettingErrorEnum_INVALID_FEED_TYPE_FOR_CUSTOMER_EXTENSION_SETTING ExtensionSettingErrorEnum_ExtensionSettingError = 5 - // Cannot change a feed item field on a CREATE operation. - ExtensionSettingErrorEnum_CANNOT_CHANGE_FEED_ITEM_ON_CREATE ExtensionSettingErrorEnum_ExtensionSettingError = 6 - // Cannot update an extension that is not already in this setting. - ExtensionSettingErrorEnum_CANNOT_UPDATE_NEWLY_CREATED_EXTENSION ExtensionSettingErrorEnum_ExtensionSettingError = 7 - // There is no existing AdGroupExtensionSetting for this type. - ExtensionSettingErrorEnum_NO_EXISTING_AD_GROUP_EXTENSION_SETTING_FOR_TYPE ExtensionSettingErrorEnum_ExtensionSettingError = 8 - // There is no existing CampaignExtensionSetting for this type. - ExtensionSettingErrorEnum_NO_EXISTING_CAMPAIGN_EXTENSION_SETTING_FOR_TYPE ExtensionSettingErrorEnum_ExtensionSettingError = 9 - // There is no existing CustomerExtensionSetting for this type. - ExtensionSettingErrorEnum_NO_EXISTING_CUSTOMER_EXTENSION_SETTING_FOR_TYPE ExtensionSettingErrorEnum_ExtensionSettingError = 10 - // The AdGroupExtensionSetting already exists. UPDATE should be used to - // modify the existing AdGroupExtensionSetting. - ExtensionSettingErrorEnum_AD_GROUP_EXTENSION_SETTING_ALREADY_EXISTS ExtensionSettingErrorEnum_ExtensionSettingError = 11 - // The CampaignExtensionSetting already exists. UPDATE should be used to - // modify the existing CampaignExtensionSetting. - ExtensionSettingErrorEnum_CAMPAIGN_EXTENSION_SETTING_ALREADY_EXISTS ExtensionSettingErrorEnum_ExtensionSettingError = 12 - // The CustomerExtensionSetting already exists. UPDATE should be used to - // modify the existing CustomerExtensionSetting. - ExtensionSettingErrorEnum_CUSTOMER_EXTENSION_SETTING_ALREADY_EXISTS ExtensionSettingErrorEnum_ExtensionSettingError = 13 - // An active ad group feed already exists for this place holder type. - ExtensionSettingErrorEnum_AD_GROUP_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE ExtensionSettingErrorEnum_ExtensionSettingError = 14 - // An active campaign feed already exists for this place holder type. - ExtensionSettingErrorEnum_CAMPAIGN_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE ExtensionSettingErrorEnum_ExtensionSettingError = 15 - // An active customer feed already exists for this place holder type. - ExtensionSettingErrorEnum_CUSTOMER_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE ExtensionSettingErrorEnum_ExtensionSettingError = 16 - // Value is not within the accepted range. - ExtensionSettingErrorEnum_VALUE_OUT_OF_RANGE ExtensionSettingErrorEnum_ExtensionSettingError = 17 - // Cannot simultaneously set specified field with final urls. - ExtensionSettingErrorEnum_CANNOT_SET_FIELD_WITH_FINAL_URLS ExtensionSettingErrorEnum_ExtensionSettingError = 18 - // Must set field with final urls. - ExtensionSettingErrorEnum_FINAL_URLS_NOT_SET ExtensionSettingErrorEnum_ExtensionSettingError = 19 - // Phone number for a call extension is invalid. - ExtensionSettingErrorEnum_INVALID_PHONE_NUMBER ExtensionSettingErrorEnum_ExtensionSettingError = 20 - // Phone number for a call extension is not supported for the given country - // code. - ExtensionSettingErrorEnum_PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY ExtensionSettingErrorEnum_ExtensionSettingError = 21 - // A carrier specific number in short format is not allowed for call - // extensions. - ExtensionSettingErrorEnum_CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED ExtensionSettingErrorEnum_ExtensionSettingError = 22 - // Premium rate numbers are not allowed for call extensions. - ExtensionSettingErrorEnum_PREMIUM_RATE_NUMBER_NOT_ALLOWED ExtensionSettingErrorEnum_ExtensionSettingError = 23 - // Phone number type for a call extension is not allowed. - ExtensionSettingErrorEnum_DISALLOWED_NUMBER_TYPE ExtensionSettingErrorEnum_ExtensionSettingError = 24 - // Phone number for a call extension does not meet domestic format - // requirements. - ExtensionSettingErrorEnum_INVALID_DOMESTIC_PHONE_NUMBER_FORMAT ExtensionSettingErrorEnum_ExtensionSettingError = 25 - // Vanity phone numbers (i.e. those including letters) are not allowed for - // call extensions. - ExtensionSettingErrorEnum_VANITY_PHONE_NUMBER_NOT_ALLOWED ExtensionSettingErrorEnum_ExtensionSettingError = 26 - // Country code provided for a call extension is invalid. - ExtensionSettingErrorEnum_INVALID_COUNTRY_CODE ExtensionSettingErrorEnum_ExtensionSettingError = 27 - // Call conversion type id provided for a call extension is invalid. - ExtensionSettingErrorEnum_INVALID_CALL_CONVERSION_TYPE_ID ExtensionSettingErrorEnum_ExtensionSettingError = 28 - // For a call extension, the customer is not whitelisted for call tracking. - ExtensionSettingErrorEnum_CUSTOMER_NOT_WHITELISTED_FOR_CALLTRACKING ExtensionSettingErrorEnum_ExtensionSettingError = 29 - // Call tracking is not supported for the given country for a call - // extension. - ExtensionSettingErrorEnum_CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY ExtensionSettingErrorEnum_ExtensionSettingError = 30 - // App id provided for an app extension is invalid. - ExtensionSettingErrorEnum_INVALID_APP_ID ExtensionSettingErrorEnum_ExtensionSettingError = 31 - // Quotation marks present in the review text for a review extension. - ExtensionSettingErrorEnum_QUOTES_IN_REVIEW_EXTENSION_SNIPPET ExtensionSettingErrorEnum_ExtensionSettingError = 32 - // Hyphen character present in the review text for a review extension. - ExtensionSettingErrorEnum_HYPHENS_IN_REVIEW_EXTENSION_SNIPPET ExtensionSettingErrorEnum_ExtensionSettingError = 33 - // A blacklisted review source name or url was provided for a review - // extension. - ExtensionSettingErrorEnum_REVIEW_EXTENSION_SOURCE_NOT_ELIGIBLE ExtensionSettingErrorEnum_ExtensionSettingError = 34 - // Review source name should not be found in the review text. - ExtensionSettingErrorEnum_SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT ExtensionSettingErrorEnum_ExtensionSettingError = 35 - // Field must be set. - ExtensionSettingErrorEnum_MISSING_FIELD ExtensionSettingErrorEnum_ExtensionSettingError = 36 - // Inconsistent currency codes. - ExtensionSettingErrorEnum_INCONSISTENT_CURRENCY_CODES ExtensionSettingErrorEnum_ExtensionSettingError = 37 - // Price extension cannot have duplicated headers. - ExtensionSettingErrorEnum_PRICE_EXTENSION_HAS_DUPLICATED_HEADERS ExtensionSettingErrorEnum_ExtensionSettingError = 38 - // Price item cannot have duplicated header and description. - ExtensionSettingErrorEnum_PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION ExtensionSettingErrorEnum_ExtensionSettingError = 39 - // Price extension has too few items - ExtensionSettingErrorEnum_PRICE_EXTENSION_HAS_TOO_FEW_ITEMS ExtensionSettingErrorEnum_ExtensionSettingError = 40 - // Price extension has too many items - ExtensionSettingErrorEnum_PRICE_EXTENSION_HAS_TOO_MANY_ITEMS ExtensionSettingErrorEnum_ExtensionSettingError = 41 - // The input value is not currently supported. - ExtensionSettingErrorEnum_UNSUPPORTED_VALUE ExtensionSettingErrorEnum_ExtensionSettingError = 42 - // Unknown or unsupported device preference. - ExtensionSettingErrorEnum_INVALID_DEVICE_PREFERENCE ExtensionSettingErrorEnum_ExtensionSettingError = 43 - // Invalid feed item schedule end time (i.e., endHour = 24 and - // endMinute != 0). - ExtensionSettingErrorEnum_INVALID_SCHEDULE_END ExtensionSettingErrorEnum_ExtensionSettingError = 45 - // Date time zone does not match the account's time zone. - ExtensionSettingErrorEnum_DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE ExtensionSettingErrorEnum_ExtensionSettingError = 47 - // Overlapping feed item schedule times (e.g., 7-10AM and 8-11AM) are not - // allowed. - ExtensionSettingErrorEnum_OVERLAPPING_SCHEDULES_NOT_ALLOWED ExtensionSettingErrorEnum_ExtensionSettingError = 48 - // Feed item schedule end time must be after start time. - ExtensionSettingErrorEnum_SCHEDULE_END_NOT_AFTER_START ExtensionSettingErrorEnum_ExtensionSettingError = 49 - // There are too many feed item schedules per day. - ExtensionSettingErrorEnum_TOO_MANY_SCHEDULES_PER_DAY ExtensionSettingErrorEnum_ExtensionSettingError = 50 - // Cannot edit the same extension feed item more than once in the same - // request. - ExtensionSettingErrorEnum_DUPLICATE_EXTENSION_FEED_ITEM_EDIT ExtensionSettingErrorEnum_ExtensionSettingError = 51 - // Invalid structured snippet header. - ExtensionSettingErrorEnum_INVALID_SNIPPETS_HEADER ExtensionSettingErrorEnum_ExtensionSettingError = 52 - // Phone number with call tracking enabled is not supported for the - // specified country. - ExtensionSettingErrorEnum_PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY ExtensionSettingErrorEnum_ExtensionSettingError = 53 - // The targeted adgroup must belong to the targeted campaign. - ExtensionSettingErrorEnum_CAMPAIGN_TARGETING_MISMATCH ExtensionSettingErrorEnum_ExtensionSettingError = 54 - // The feed used by the ExtensionSetting is removed and cannot be operated - // on. Remove the ExtensionSetting to allow a new one to be created using - // an active feed. - ExtensionSettingErrorEnum_CANNOT_OPERATE_ON_REMOVED_FEED ExtensionSettingErrorEnum_ExtensionSettingError = 55 - // The ExtensionFeedItem type is required for this operation. - ExtensionSettingErrorEnum_EXTENSION_TYPE_REQUIRED ExtensionSettingErrorEnum_ExtensionSettingError = 56 - // The matching function that links the extension feed to the customer, - // campaign, or ad group is not compatible with the ExtensionSetting - // services. - ExtensionSettingErrorEnum_INCOMPATIBLE_UNDERLYING_MATCHING_FUNCTION ExtensionSettingErrorEnum_ExtensionSettingError = 57 - // Start date must be before end date. - ExtensionSettingErrorEnum_START_DATE_AFTER_END_DATE ExtensionSettingErrorEnum_ExtensionSettingError = 58 - // Input price is not in a valid format. - ExtensionSettingErrorEnum_INVALID_PRICE_FORMAT ExtensionSettingErrorEnum_ExtensionSettingError = 59 - // The promotion time is invalid. - ExtensionSettingErrorEnum_PROMOTION_INVALID_TIME ExtensionSettingErrorEnum_ExtensionSettingError = 60 - // Cannot set both percent discount and money discount fields. - ExtensionSettingErrorEnum_PROMOTION_CANNOT_SET_PERCENT_DISCOUNT_AND_MONEY_DISCOUNT ExtensionSettingErrorEnum_ExtensionSettingError = 61 - // Cannot set both promotion code and orders over amount fields. - ExtensionSettingErrorEnum_PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT ExtensionSettingErrorEnum_ExtensionSettingError = 62 - // This field has too many decimal places specified. - ExtensionSettingErrorEnum_TOO_MANY_DECIMAL_PLACES_SPECIFIED ExtensionSettingErrorEnum_ExtensionSettingError = 63 - // The language code is not valid. - ExtensionSettingErrorEnum_INVALID_LANGUAGE_CODE ExtensionSettingErrorEnum_ExtensionSettingError = 64 - // The language is not supported. - ExtensionSettingErrorEnum_UNSUPPORTED_LANGUAGE ExtensionSettingErrorEnum_ExtensionSettingError = 65 - // Customer hasn't consented for call recording, which is required for - // adding/updating call extensions. Please see - // https://support.google.com/google-ads/answer/7412639. - ExtensionSettingErrorEnum_CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED ExtensionSettingErrorEnum_ExtensionSettingError = 66 - // The UPDATE operation does not specify any fields other than the resource - // name in the update mask. - ExtensionSettingErrorEnum_EXTENSION_SETTING_UPDATE_IS_A_NOOP ExtensionSettingErrorEnum_ExtensionSettingError = 67 -) - -var ExtensionSettingErrorEnum_ExtensionSettingError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "EXTENSIONS_REQUIRED", - 3: "FEED_TYPE_EXTENSION_TYPE_MISMATCH", - 4: "INVALID_FEED_TYPE", - 5: "INVALID_FEED_TYPE_FOR_CUSTOMER_EXTENSION_SETTING", - 6: "CANNOT_CHANGE_FEED_ITEM_ON_CREATE", - 7: "CANNOT_UPDATE_NEWLY_CREATED_EXTENSION", - 8: "NO_EXISTING_AD_GROUP_EXTENSION_SETTING_FOR_TYPE", - 9: "NO_EXISTING_CAMPAIGN_EXTENSION_SETTING_FOR_TYPE", - 10: "NO_EXISTING_CUSTOMER_EXTENSION_SETTING_FOR_TYPE", - 11: "AD_GROUP_EXTENSION_SETTING_ALREADY_EXISTS", - 12: "CAMPAIGN_EXTENSION_SETTING_ALREADY_EXISTS", - 13: "CUSTOMER_EXTENSION_SETTING_ALREADY_EXISTS", - 14: "AD_GROUP_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE", - 15: "CAMPAIGN_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE", - 16: "CUSTOMER_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE", - 17: "VALUE_OUT_OF_RANGE", - 18: "CANNOT_SET_FIELD_WITH_FINAL_URLS", - 19: "FINAL_URLS_NOT_SET", - 20: "INVALID_PHONE_NUMBER", - 21: "PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY", - 22: "CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED", - 23: "PREMIUM_RATE_NUMBER_NOT_ALLOWED", - 24: "DISALLOWED_NUMBER_TYPE", - 25: "INVALID_DOMESTIC_PHONE_NUMBER_FORMAT", - 26: "VANITY_PHONE_NUMBER_NOT_ALLOWED", - 27: "INVALID_COUNTRY_CODE", - 28: "INVALID_CALL_CONVERSION_TYPE_ID", - 29: "CUSTOMER_NOT_WHITELISTED_FOR_CALLTRACKING", - 30: "CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY", - 31: "INVALID_APP_ID", - 32: "QUOTES_IN_REVIEW_EXTENSION_SNIPPET", - 33: "HYPHENS_IN_REVIEW_EXTENSION_SNIPPET", - 34: "REVIEW_EXTENSION_SOURCE_NOT_ELIGIBLE", - 35: "SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT", - 36: "MISSING_FIELD", - 37: "INCONSISTENT_CURRENCY_CODES", - 38: "PRICE_EXTENSION_HAS_DUPLICATED_HEADERS", - 39: "PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION", - 40: "PRICE_EXTENSION_HAS_TOO_FEW_ITEMS", - 41: "PRICE_EXTENSION_HAS_TOO_MANY_ITEMS", - 42: "UNSUPPORTED_VALUE", - 43: "INVALID_DEVICE_PREFERENCE", - 45: "INVALID_SCHEDULE_END", - 47: "DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE", - 48: "OVERLAPPING_SCHEDULES_NOT_ALLOWED", - 49: "SCHEDULE_END_NOT_AFTER_START", - 50: "TOO_MANY_SCHEDULES_PER_DAY", - 51: "DUPLICATE_EXTENSION_FEED_ITEM_EDIT", - 52: "INVALID_SNIPPETS_HEADER", - 53: "PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY", - 54: "CAMPAIGN_TARGETING_MISMATCH", - 55: "CANNOT_OPERATE_ON_REMOVED_FEED", - 56: "EXTENSION_TYPE_REQUIRED", - 57: "INCOMPATIBLE_UNDERLYING_MATCHING_FUNCTION", - 58: "START_DATE_AFTER_END_DATE", - 59: "INVALID_PRICE_FORMAT", - 60: "PROMOTION_INVALID_TIME", - 61: "PROMOTION_CANNOT_SET_PERCENT_DISCOUNT_AND_MONEY_DISCOUNT", - 62: "PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT", - 63: "TOO_MANY_DECIMAL_PLACES_SPECIFIED", - 64: "INVALID_LANGUAGE_CODE", - 65: "UNSUPPORTED_LANGUAGE", - 66: "CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED", - 67: "EXTENSION_SETTING_UPDATE_IS_A_NOOP", -} - -var ExtensionSettingErrorEnum_ExtensionSettingError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "EXTENSIONS_REQUIRED": 2, - "FEED_TYPE_EXTENSION_TYPE_MISMATCH": 3, - "INVALID_FEED_TYPE": 4, - "INVALID_FEED_TYPE_FOR_CUSTOMER_EXTENSION_SETTING": 5, - "CANNOT_CHANGE_FEED_ITEM_ON_CREATE": 6, - "CANNOT_UPDATE_NEWLY_CREATED_EXTENSION": 7, - "NO_EXISTING_AD_GROUP_EXTENSION_SETTING_FOR_TYPE": 8, - "NO_EXISTING_CAMPAIGN_EXTENSION_SETTING_FOR_TYPE": 9, - "NO_EXISTING_CUSTOMER_EXTENSION_SETTING_FOR_TYPE": 10, - "AD_GROUP_EXTENSION_SETTING_ALREADY_EXISTS": 11, - "CAMPAIGN_EXTENSION_SETTING_ALREADY_EXISTS": 12, - "CUSTOMER_EXTENSION_SETTING_ALREADY_EXISTS": 13, - "AD_GROUP_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE": 14, - "CAMPAIGN_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE": 15, - "CUSTOMER_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE": 16, - "VALUE_OUT_OF_RANGE": 17, - "CANNOT_SET_FIELD_WITH_FINAL_URLS": 18, - "FINAL_URLS_NOT_SET": 19, - "INVALID_PHONE_NUMBER": 20, - "PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY": 21, - "CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED": 22, - "PREMIUM_RATE_NUMBER_NOT_ALLOWED": 23, - "DISALLOWED_NUMBER_TYPE": 24, - "INVALID_DOMESTIC_PHONE_NUMBER_FORMAT": 25, - "VANITY_PHONE_NUMBER_NOT_ALLOWED": 26, - "INVALID_COUNTRY_CODE": 27, - "INVALID_CALL_CONVERSION_TYPE_ID": 28, - "CUSTOMER_NOT_WHITELISTED_FOR_CALLTRACKING": 29, - "CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY": 30, - "INVALID_APP_ID": 31, - "QUOTES_IN_REVIEW_EXTENSION_SNIPPET": 32, - "HYPHENS_IN_REVIEW_EXTENSION_SNIPPET": 33, - "REVIEW_EXTENSION_SOURCE_NOT_ELIGIBLE": 34, - "SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT": 35, - "MISSING_FIELD": 36, - "INCONSISTENT_CURRENCY_CODES": 37, - "PRICE_EXTENSION_HAS_DUPLICATED_HEADERS": 38, - "PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION": 39, - "PRICE_EXTENSION_HAS_TOO_FEW_ITEMS": 40, - "PRICE_EXTENSION_HAS_TOO_MANY_ITEMS": 41, - "UNSUPPORTED_VALUE": 42, - "INVALID_DEVICE_PREFERENCE": 43, - "INVALID_SCHEDULE_END": 45, - "DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE": 47, - "OVERLAPPING_SCHEDULES_NOT_ALLOWED": 48, - "SCHEDULE_END_NOT_AFTER_START": 49, - "TOO_MANY_SCHEDULES_PER_DAY": 50, - "DUPLICATE_EXTENSION_FEED_ITEM_EDIT": 51, - "INVALID_SNIPPETS_HEADER": 52, - "PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY": 53, - "CAMPAIGN_TARGETING_MISMATCH": 54, - "CANNOT_OPERATE_ON_REMOVED_FEED": 55, - "EXTENSION_TYPE_REQUIRED": 56, - "INCOMPATIBLE_UNDERLYING_MATCHING_FUNCTION": 57, - "START_DATE_AFTER_END_DATE": 58, - "INVALID_PRICE_FORMAT": 59, - "PROMOTION_INVALID_TIME": 60, - "PROMOTION_CANNOT_SET_PERCENT_DISCOUNT_AND_MONEY_DISCOUNT": 61, - "PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT": 62, - "TOO_MANY_DECIMAL_PLACES_SPECIFIED": 63, - "INVALID_LANGUAGE_CODE": 64, - "UNSUPPORTED_LANGUAGE": 65, - "CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED": 66, - "EXTENSION_SETTING_UPDATE_IS_A_NOOP": 67, -} - -func (x ExtensionSettingErrorEnum_ExtensionSettingError) String() string { - return proto.EnumName(ExtensionSettingErrorEnum_ExtensionSettingError_name, int32(x)) -} - -func (ExtensionSettingErrorEnum_ExtensionSettingError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_02439f99ee846b9d, []int{0, 0} -} - -// Container for enum describing validation errors of extension settings. -type ExtensionSettingErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExtensionSettingErrorEnum) Reset() { *m = ExtensionSettingErrorEnum{} } -func (m *ExtensionSettingErrorEnum) String() string { return proto.CompactTextString(m) } -func (*ExtensionSettingErrorEnum) ProtoMessage() {} -func (*ExtensionSettingErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_02439f99ee846b9d, []int{0} -} - -func (m *ExtensionSettingErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExtensionSettingErrorEnum.Unmarshal(m, b) -} -func (m *ExtensionSettingErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExtensionSettingErrorEnum.Marshal(b, m, deterministic) -} -func (m *ExtensionSettingErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExtensionSettingErrorEnum.Merge(m, src) -} -func (m *ExtensionSettingErrorEnum) XXX_Size() int { - return xxx_messageInfo_ExtensionSettingErrorEnum.Size(m) -} -func (m *ExtensionSettingErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_ExtensionSettingErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_ExtensionSettingErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.errors.ExtensionSettingErrorEnum_ExtensionSettingError", ExtensionSettingErrorEnum_ExtensionSettingError_name, ExtensionSettingErrorEnum_ExtensionSettingError_value) - proto.RegisterType((*ExtensionSettingErrorEnum)(nil), "google.ads.googleads.v2.errors.ExtensionSettingErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/extension_setting_error.proto", fileDescriptor_02439f99ee846b9d) -} - -var fileDescriptor_02439f99ee846b9d = []byte{ - // 1310 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x56, 0x4d, 0x73, 0x53, 0x37, - 0x14, 0x2d, 0xa1, 0x85, 0x56, 0x14, 0x10, 0x82, 0x00, 0x09, 0x10, 0x20, 0x7c, 0xd3, 0x62, 0x43, - 0x80, 0x96, 0x1a, 0x4a, 0xab, 0x3c, 0x5d, 0xdb, 0x1a, 0xde, 0x93, 0x84, 0xa4, 0xe7, 0x60, 0x26, - 0x33, 0x9a, 0xb4, 0xc9, 0x64, 0x32, 0x03, 0x36, 0x13, 0xa7, 0x4c, 0x7f, 0x4a, 0xd7, 0x5d, 0xf6, - 0xa7, 0xf4, 0xa7, 0x74, 0xdf, 0x4d, 0x57, 0x9d,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 0x45, 0xb7, - 0xff, 0xde, 0x2e, 0xdf, 0x3c, 0xd2, 0x05, 0x1e, 0x94, 0xd6, 0x86, 0x26, 0xcb, 0xff, 0x1e, 0x21, - 0x8b, 0xbf, 0x0e, 0xdf, 0x37, 0xa6, 0xbf, 0x2f, 0x97, 0xe7, 0x0f, 0x7c, 0x20, 0x1a, 0x7c, 0x5d, - 0x9a, 0x23, 0x6f, 0x45, 0xc9, 0xde, 0x1c, 0xbe, 0x5b, 0x1b, 0x6c, 0x36, 0x86, 0xdb, 0x9b, 0xcd, - 0xcd, 0x8d, 0x41, 0x7c, 0x7b, 0x56, 0x6f, 0xdd, 0x0f, 0x5b, 0xa3, 0xc3, 0x9e, 0xbe, 0xcf, 0x8b, - 0x9f, 0x3f, 0x67, 0x8e, 0x76, 0x38, 0xff, 0x6b, 0x66, 0xa1, 0x53, 0x04, 0xe3, 0xeb, 0xa3, 0x46, - 0xf1, 0x17, 0xff, 0xf5, 0x96, 0x1a, 0x31, 0xe5, 0xe8, 0xef, 0x0a, 0xb0, 0xca, 0xd7, 0x47, 0xab, - 0x35, 0x60, 0xb5, 0xb7, 0xb4, 0x5a, 0x00, 0xfe, 0x99, 0x59, 0x2c, 0x46, 0x5b, 0x2d, 0xbe, 0x3e, - 0x6a, 0xb5, 0x6a, 0x48, 0xab, 0xd5, 0x5b, 0x6a, 0xb5, 0x0a, 0xd0, 0x2f, 0xc7, 0x62, 0x75, 0x8f, - 0xff, 0x0f, 0x00, 0x00, 0xff, 0xff, 0x79, 0xe9, 0xe0, 0xa6, 0x97, 0x0b, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/feed_attribute_reference_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/feed_attribute_reference_error.pb.go deleted file mode 100644 index ba5532be..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/feed_attribute_reference_error.pb.go +++ /dev/null @@ -1,131 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/feed_attribute_reference_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 removed. - FeedAttributeReferenceErrorEnum_CANNOT_REFERENCE_REMOVED_FEED FeedAttributeReferenceErrorEnum_FeedAttributeReferenceError = 2 - // There is no enabled feed with the given name. - FeedAttributeReferenceErrorEnum_INVALID_FEED_NAME FeedAttributeReferenceErrorEnum_FeedAttributeReferenceError = 3 - // There is no feed attribute in an enabled 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_REMOVED_FEED", - 3: "INVALID_FEED_NAME", - 4: "INVALID_FEED_ATTRIBUTE_NAME", -} - -var FeedAttributeReferenceErrorEnum_FeedAttributeReferenceError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "CANNOT_REFERENCE_REMOVED_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_846e331d07db7d5f, []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_846e331d07db7d5f, []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 (m *FeedAttributeReferenceErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedAttributeReferenceErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.FeedAttributeReferenceErrorEnum_FeedAttributeReferenceError", FeedAttributeReferenceErrorEnum_FeedAttributeReferenceError_name, FeedAttributeReferenceErrorEnum_FeedAttributeReferenceError_value) - proto.RegisterType((*FeedAttributeReferenceErrorEnum)(nil), "google.ads.googleads.v2.errors.FeedAttributeReferenceErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/feed_attribute_reference_error.proto", fileDescriptor_846e331d07db7d5f) -} - -var fileDescriptor_846e331d07db7d5f = []byte{ - // 364 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x41, 0x6e, 0xa3, 0x30, - 0x14, 0x86, 0x07, 0x32, 0x9a, 0x91, 0x9c, 0xc5, 0x30, 0x48, 0xb3, 0x99, 0xb4, 0x49, 0xcb, 0x01, - 0x8c, 0x44, 0x77, 0xee, 0xca, 0x01, 0x13, 0xa1, 0x36, 0x4e, 0x44, 0x09, 0x95, 0x2a, 0x24, 0x44, - 0x82, 0x83, 0x90, 0x12, 0x1c, 0xd9, 0x24, 0x47, 0xe9, 0x01, 0xba, 0xec, 0x11, 0x7a, 0x84, 0x1e, - 0xa5, 0x57, 0xe8, 0xa6, 0x02, 0x97, 0x48, 0x5d, 0x34, 0x2b, 0xff, 0x7a, 0xfe, 0xde, 0xff, 0x3f, - 0xbd, 0x07, 0xdc, 0x82, 0xf3, 0x62, 0xc3, 0xec, 0x2c, 0x97, 0xb6, 0x92, 0x8d, 0x3a, 0x38, 0x36, - 0x13, 0x82, 0x0b, 0x69, 0xaf, 0x19, 0xcb, 0xd3, 0xac, 0xae, 0x45, 0xb9, 0xdc, 0xd7, 0x2c, 0x15, - 0x6c, 0xcd, 0x04, 0xab, 0x56, 0x2c, 0x6d, 0xff, 0xe1, 0x4e, 0xf0, 0x9a, 0x9b, 0x43, 0xd5, 0x09, - 0xb3, 0x5c, 0xc2, 0xa3, 0x09, 0x3c, 0x38, 0x50, 0x99, 0xfc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0x1d, - 0x90, 0xe0, 0x5c, 0x26, 0x47, 0x20, 0x89, 0x9d, 0x44, 0x01, 0x6f, 0xba, 0xa5, 0xaa, 0x08, 0xe1, - 0x5c, 0x22, 0x74, 0x44, 0x10, 0x8a, 0x1d, 0x84, 0x14, 0xb4, 0xfc, 0xd5, 0x4e, 0x77, 0xf5, 0x11, - 0x00, 0x00, 0xff, 0xff, 0x7a, 0xb6, 0xb3, 0xc6, 0x46, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/feed_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/feed_error.pb.go deleted file mode 100644 index 16a30cd3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/feed_error.pb.go +++ /dev/null @@ -1,216 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/feed_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // There is already a feed with the given system feed generation data. - FeedErrorEnum_DUPLICATE_SYSTEM_FEED FeedErrorEnum_FeedError = 21 -) - -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", - 21: "DUPLICATE_SYSTEM_FEED", -} - -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, - "DUPLICATE_SYSTEM_FEED": 21, -} - -func (x FeedErrorEnum_FeedError) String() string { - return proto.EnumName(FeedErrorEnum_FeedError_name, int32(x)) -} - -func (FeedErrorEnum_FeedError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_13cdb23b7cbbcf3e, []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_13cdb23b7cbbcf3e, []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 (m *FeedErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.FeedErrorEnum_FeedError", FeedErrorEnum_FeedError_name, FeedErrorEnum_FeedError_value) - proto.RegisterType((*FeedErrorEnum)(nil), "google.ads.googleads.v2.errors.FeedErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/feed_error.proto", fileDescriptor_13cdb23b7cbbcf3e) -} - -var fileDescriptor_13cdb23b7cbbcf3e = []byte{ - // 618 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x93, 0xdf, 0x6e, 0xd3, 0x30, - 0x14, 0xc6, 0x59, 0xc7, 0x36, 0xe6, 0xfd, 0xf3, 0xbc, 0x8d, 0x8d, 0x31, 0x4d, 0xa8, 0x97, 0x20, - 0x25, 0xa8, 0xe3, 0x2a, 0x5c, 0xb9, 0x89, 0xd3, 0x5a, 0x4b, 0xec, 0x12, 0xdb, 0x1d, 0x45, 0x95, - 0xac, 0x42, 0x42, 0x35, 0x69, 0x6b, 0xa6, 0x66, 0xec, 0x81, 0xb8, 0xe4, 0x51, 0x78, 0x11, 0x04, - 0x6f, 0xc0, 0x1d, 0x72, 0xdc, 0xa4, 0x65, 0x13, 0x5c, 0xe5, 0xe8, 0xf8, 0xf7, 0xf9, 0x3b,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b, 0x56, 0x82, 0x32, 0x22, - 0x84, 0xc6, 0xbe, 0xcf, 0x15, 0x93, 0x10, 0xa1, 0x33, 0xe0, 0xde, 0xcf, 0x56, 0x4e, 0xd8, 0xf7, - 0x4d, 0x36, 0xe2, 0x3e, 0x96, 0x94, 0xb3, 0x5a, 0xb4, 0x67, 0x7e, 0xc1, 0xba, 0x31, 0x61, 0x48, - 0x23, 0x6a, 0xde, 0xea, 0x77, 0xb1, 0xe9, 0x60, 0x00, 0xf7, 0xd1, 0x33, 0x70, 0x30, 0xef, 0xc1, - 0xe2, 0x48, 0x0f, 0xda, 0x3f, 0x97, 0x40, 0xf3, 0x53, 0x7e, 0xed, 0xfc, 0x7f, 0x81, 0xda, 0xdb, - 0xf5, 0x36, 0xf4, 0xcc, 0xca, 0xf4, 0x96, 0x3e, 0x04, 0x33, 0xc5, 0x38, 0xbf, 0x1a, 0x4d, 0xc6, - 0x4e, 0x3e, 0x1d, 0xbb, 0xe3, 0x6c, 0x52, 0x2e, 0x54, 0xb5, 0xb3, 0x37, 0x97, 0xc5, 0xbf, 0x56, - 0xf8, 0xad, 0xfd, 0x7c, 0x6d, 0x2c, 0x77, 0x30, 0xfe, 0xd6, 0x38, 0xed, 0xd8, 0xcb, 0x70, 0x5a, - 0x38, 0x36, 0x34, 0x51, 0xbf, 0xe5, 0x94, 0x96, 0xc5, 0xf7, 0x0a, 0x18, 0xe2, 0xb4, 0x18, 0xd6, - 0xc0, 0xb0, 0xdf, 0x1a, 0x5a, 0xe0, 0x57, 0xa3, 0x69, 0xb3, 0x9e, 0x87, 0xd3, 0xc2, 0xf3, 0x6a, - 0xc4, 0xf3, 0xfa, 0x2d, 0xcf, 0xb3, 0xd0, 0xc7, 0xd5, 0xb2, 0xba, 0xb3, 0x3f, 0x01, 0x00, 0x00, - 0xff, 0xff, 0x1b, 0xa9, 0xce, 0xc7, 0x5f, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/feed_item_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/feed_item_error.pb.go deleted file mode 100644 index 64dba525..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/feed_item_error.pb.go +++ /dev/null @@ -1,163 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/feed_item_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_56a0e6ac81b46e7c, []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_56a0e6ac81b46e7c, []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 (m *FeedItemErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedItemErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.FeedItemErrorEnum_FeedItemError", FeedItemErrorEnum_FeedItemError_name, FeedItemErrorEnum_FeedItemError_value) - proto.RegisterType((*FeedItemErrorEnum)(nil), "google.ads.googleads.v2.errors.FeedItemErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/feed_item_error.proto", fileDescriptor_56a0e6ac81b46e7c) -} - -var fileDescriptor_56a0e6ac81b46e7c = []byte{ - // 485 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b,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, 0xa1, - 0xa4, 0xf7, 0xf3, 0x80, 0x74, 0x3e, 0xda, 0xb9, 0xf7, 0xff, 0x3a, 0x7b, 0x6c, 0xaf, 0x97, 0x51, - 0x53, 0xe2, 0xe8, 0x60, 0x1c, 0x6e, 0x5c, 0xa5, 0xbd, 0x9a, 0x56, 0xa5, 0x67, 0x97, 0xa5, 0x5f, - 0x16, 0xd5, 0xba, 0xe2, 0xed, 0x2a, 0x2d, 0x66, 0xf5, 0xbf, 0x36, 0xeb, 0xad, 0xfb, 0x7c, 0x6d, - 0xb5, 0x07, 0x9c, 0x7f, 0x6b, 0x9d, 0x0d, 0x5c, 0x18, 0xcf, 0x6b, 0xcf, 0xc1, 0x06, 0x65, 0x5d, - 0x6f, 0x3d, 0xb2, 0xfe, 0xbe, 0x15, 0x4c, 0x78, 0x5e, 0x4f, 0x76, 0x82, 0x49, 0xd6, 0x9d, 0x38, - 0xc1, 0x8f, 0x56, 0xc7, 0xb1, 0x41, 0xc0, 0xf3, 0x3a, 0x08, 0x76, 0x92, 0x20, 0xc8, 0xba, 0x41, - 0xe0, 0x44, 0x1f, 0x0e, 0xd7, 0xa7, 0x7b, 0xfd, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x23, 0x73, 0x87, - 0xc5, 0xf6, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/feed_item_target_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/feed_item_target_error.pb.go deleted file mode 100644 index e6501981..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/feed_item_target_error.pb.go +++ /dev/null @@ -1,161 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/feed_item_target_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible feed item target errors. -type FeedItemTargetErrorEnum_FeedItemTargetError int32 - -const ( - // Enum unspecified. - FeedItemTargetErrorEnum_UNSPECIFIED FeedItemTargetErrorEnum_FeedItemTargetError = 0 - // The received error code is not known in this version. - FeedItemTargetErrorEnum_UNKNOWN FeedItemTargetErrorEnum_FeedItemTargetError = 1 - // On CREATE, the FeedItemTarget must have a populated field in the oneof - // target. - FeedItemTargetErrorEnum_MUST_SET_TARGET_ONEOF_ON_CREATE FeedItemTargetErrorEnum_FeedItemTargetError = 2 - // The specified feed item target already exists, so it cannot be added. - FeedItemTargetErrorEnum_FEED_ITEM_TARGET_ALREADY_EXISTS FeedItemTargetErrorEnum_FeedItemTargetError = 3 - // The schedules for a given feed item cannot overlap. - FeedItemTargetErrorEnum_FEED_ITEM_SCHEDULES_CANNOT_OVERLAP FeedItemTargetErrorEnum_FeedItemTargetError = 4 - // Too many targets of a given type were added for a single feed item. - FeedItemTargetErrorEnum_TARGET_LIMIT_EXCEEDED_FOR_GIVEN_TYPE FeedItemTargetErrorEnum_FeedItemTargetError = 5 - // Too many AdSchedules are enabled for the feed item for the given day. - FeedItemTargetErrorEnum_TOO_MANY_SCHEDULES_PER_DAY FeedItemTargetErrorEnum_FeedItemTargetError = 6 - // A feed item may either have an enabled campaign target or an enabled ad - // group target. - FeedItemTargetErrorEnum_CANNOT_HAVE_ENABLED_CAMPAIGN_AND_ENABLED_AD_GROUP_TARGETS FeedItemTargetErrorEnum_FeedItemTargetError = 7 - // Duplicate ad schedules aren't allowed. - FeedItemTargetErrorEnum_DUPLICATE_AD_SCHEDULE FeedItemTargetErrorEnum_FeedItemTargetError = 8 - // Duplicate keywords aren't allowed. - FeedItemTargetErrorEnum_DUPLICATE_KEYWORD FeedItemTargetErrorEnum_FeedItemTargetError = 9 -) - -var FeedItemTargetErrorEnum_FeedItemTargetError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "MUST_SET_TARGET_ONEOF_ON_CREATE", - 3: "FEED_ITEM_TARGET_ALREADY_EXISTS", - 4: "FEED_ITEM_SCHEDULES_CANNOT_OVERLAP", - 5: "TARGET_LIMIT_EXCEEDED_FOR_GIVEN_TYPE", - 6: "TOO_MANY_SCHEDULES_PER_DAY", - 7: "CANNOT_HAVE_ENABLED_CAMPAIGN_AND_ENABLED_AD_GROUP_TARGETS", - 8: "DUPLICATE_AD_SCHEDULE", - 9: "DUPLICATE_KEYWORD", -} - -var FeedItemTargetErrorEnum_FeedItemTargetError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "MUST_SET_TARGET_ONEOF_ON_CREATE": 2, - "FEED_ITEM_TARGET_ALREADY_EXISTS": 3, - "FEED_ITEM_SCHEDULES_CANNOT_OVERLAP": 4, - "TARGET_LIMIT_EXCEEDED_FOR_GIVEN_TYPE": 5, - "TOO_MANY_SCHEDULES_PER_DAY": 6, - "CANNOT_HAVE_ENABLED_CAMPAIGN_AND_ENABLED_AD_GROUP_TARGETS": 7, - "DUPLICATE_AD_SCHEDULE": 8, - "DUPLICATE_KEYWORD": 9, -} - -func (x FeedItemTargetErrorEnum_FeedItemTargetError) String() string { - return proto.EnumName(FeedItemTargetErrorEnum_FeedItemTargetError_name, int32(x)) -} - -func (FeedItemTargetErrorEnum_FeedItemTargetError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8914d01526a778d9, []int{0, 0} -} - -// Container for enum describing possible feed item target errors. -type FeedItemTargetErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FeedItemTargetErrorEnum) Reset() { *m = FeedItemTargetErrorEnum{} } -func (m *FeedItemTargetErrorEnum) String() string { return proto.CompactTextString(m) } -func (*FeedItemTargetErrorEnum) ProtoMessage() {} -func (*FeedItemTargetErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_8914d01526a778d9, []int{0} -} - -func (m *FeedItemTargetErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FeedItemTargetErrorEnum.Unmarshal(m, b) -} -func (m *FeedItemTargetErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FeedItemTargetErrorEnum.Marshal(b, m, deterministic) -} -func (m *FeedItemTargetErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedItemTargetErrorEnum.Merge(m, src) -} -func (m *FeedItemTargetErrorEnum) XXX_Size() int { - return xxx_messageInfo_FeedItemTargetErrorEnum.Size(m) -} -func (m *FeedItemTargetErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_FeedItemTargetErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_FeedItemTargetErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.errors.FeedItemTargetErrorEnum_FeedItemTargetError", FeedItemTargetErrorEnum_FeedItemTargetError_name, FeedItemTargetErrorEnum_FeedItemTargetError_value) - proto.RegisterType((*FeedItemTargetErrorEnum)(nil), "google.ads.googleads.v2.errors.FeedItemTargetErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/feed_item_target_error.proto", fileDescriptor_8914d01526a778d9) -} - -var fileDescriptor_8914d01526a778d9 = []byte{ - // 489 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0x41, 0x6f, 0xd3, 0x40, - 0x10, 0x85, 0xa9, 0x0b, 0x2d, 0x6c, 0x0f, 0x18, 0xa3, 0x0a, 0xa8, 0x50, 0x90, 0x02, 0x42, 0x9c, - 0x6c, 0x29, 0x9c, 0x70, 0xc5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xcb, - 0xc2, 0xac, 0xea, 0xc2, 0x2a, 0xf2, 0x72, 0xdd, 0xee, 0xf6, 0x33, 0xad, 0x16, 0xcd, 0xbf, 0xfe, - 0xd6, 0x69, 0x7f, 0x7c, 0xd5, 0xf6, 0x5d, 0x80, 0x6f, 0xda, 0xc0, 0xed, 0xc3, 0x20, 0x6b, 0xcc, - 0x5e, 0x76, 0x2a, 0x19, 0x99, 0xeb, 0x2b, 0x9b, 0xef, 0x5b, 0x60, 0x0e, 0x59, 0x33, 0xdf, 0x01, - 0xf3, 0x64, 0x34, 0xef, 0x81, 0x9f, 0xda, 0xb0, 0x9f, 0xda, 0x36, 0x64, 0x8d, 0x6d, 0xef, 0x10, - 0xdb, 0x4e, 0x46, 0xb6, 0xdd, 0x43, 0x1f, 0x0f, 0xd6, 0xaf, 0x7b, 0xfb, 0x27, 0x00, 0x00, 0xff, - 0xff, 0x8c, 0x2f, 0xa6, 0x5e, 0xf8, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/feed_item_validation_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/feed_item_validation_error.pb.go deleted file mode 100644 index 146d446c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/feed_item_validation_error.pb.go +++ /dev/null @@ -1,607 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/feed_item_validation_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The possible validation errors of a feed item. -type FeedItemValidationErrorEnum_FeedItemValidationError int32 - -const ( - // No value has been specified. - FeedItemValidationErrorEnum_UNSPECIFIED FeedItemValidationErrorEnum_FeedItemValidationError = 0 - // Used for return value only. Represents value unknown in this version. - FeedItemValidationErrorEnum_UNKNOWN FeedItemValidationErrorEnum_FeedItemValidationError = 1 - // String is too short. - FeedItemValidationErrorEnum_STRING_TOO_SHORT FeedItemValidationErrorEnum_FeedItemValidationError = 2 - // String is too long. - FeedItemValidationErrorEnum_STRING_TOO_LONG FeedItemValidationErrorEnum_FeedItemValidationError = 3 - // Value is not provided. - FeedItemValidationErrorEnum_VALUE_NOT_SPECIFIED FeedItemValidationErrorEnum_FeedItemValidationError = 4 - // Phone number format is invalid for region. - FeedItemValidationErrorEnum_INVALID_DOMESTIC_PHONE_NUMBER_FORMAT FeedItemValidationErrorEnum_FeedItemValidationError = 5 - // String does not represent a phone number. - FeedItemValidationErrorEnum_INVALID_PHONE_NUMBER FeedItemValidationErrorEnum_FeedItemValidationError = 6 - // Phone number format is not compatible with country code. - FeedItemValidationErrorEnum_PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY FeedItemValidationErrorEnum_FeedItemValidationError = 7 - // Premium rate number is not allowed. - FeedItemValidationErrorEnum_PREMIUM_RATE_NUMBER_NOT_ALLOWED FeedItemValidationErrorEnum_FeedItemValidationError = 8 - // Phone number type is not allowed. - FeedItemValidationErrorEnum_DISALLOWED_NUMBER_TYPE FeedItemValidationErrorEnum_FeedItemValidationError = 9 - // Specified value is outside of the valid range. - FeedItemValidationErrorEnum_VALUE_OUT_OF_RANGE FeedItemValidationErrorEnum_FeedItemValidationError = 10 - // Call tracking is not supported in the selected country. - FeedItemValidationErrorEnum_CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY FeedItemValidationErrorEnum_FeedItemValidationError = 11 - // Customer is not whitelisted for call tracking. - FeedItemValidationErrorEnum_CUSTOMER_NOT_WHITELISTED_FOR_CALLTRACKING FeedItemValidationErrorEnum_FeedItemValidationError = 12 - // Country code is invalid. - FeedItemValidationErrorEnum_INVALID_COUNTRY_CODE FeedItemValidationErrorEnum_FeedItemValidationError = 13 - // The specified mobile app id is invalid. - FeedItemValidationErrorEnum_INVALID_APP_ID FeedItemValidationErrorEnum_FeedItemValidationError = 14 - // Some required field attributes are missing. - FeedItemValidationErrorEnum_MISSING_ATTRIBUTES_FOR_FIELDS FeedItemValidationErrorEnum_FeedItemValidationError = 15 - // Invalid email button type for email extension. - FeedItemValidationErrorEnum_INVALID_TYPE_ID FeedItemValidationErrorEnum_FeedItemValidationError = 16 - // Email address is invalid. - FeedItemValidationErrorEnum_INVALID_EMAIL_ADDRESS FeedItemValidationErrorEnum_FeedItemValidationError = 17 - // The HTTPS URL in email extension is invalid. - FeedItemValidationErrorEnum_INVALID_HTTPS_URL FeedItemValidationErrorEnum_FeedItemValidationError = 18 - // Delivery address is missing from email extension. - FeedItemValidationErrorEnum_MISSING_DELIVERY_ADDRESS FeedItemValidationErrorEnum_FeedItemValidationError = 19 - // FeedItem scheduling start date comes after end date. - FeedItemValidationErrorEnum_START_DATE_AFTER_END_DATE FeedItemValidationErrorEnum_FeedItemValidationError = 20 - // FeedItem scheduling start time is missing. - FeedItemValidationErrorEnum_MISSING_FEED_ITEM_START_TIME FeedItemValidationErrorEnum_FeedItemValidationError = 21 - // FeedItem scheduling end time is missing. - FeedItemValidationErrorEnum_MISSING_FEED_ITEM_END_TIME FeedItemValidationErrorEnum_FeedItemValidationError = 22 - // Cannot compute system attributes on a FeedItem that has no FeedItemId. - FeedItemValidationErrorEnum_MISSING_FEED_ITEM_ID FeedItemValidationErrorEnum_FeedItemValidationError = 23 - // Call extension vanity phone numbers are not supported. - FeedItemValidationErrorEnum_VANITY_PHONE_NUMBER_NOT_ALLOWED FeedItemValidationErrorEnum_FeedItemValidationError = 24 - // Invalid review text. - FeedItemValidationErrorEnum_INVALID_REVIEW_EXTENSION_SNIPPET FeedItemValidationErrorEnum_FeedItemValidationError = 25 - // Invalid format for numeric value in ad parameter. - FeedItemValidationErrorEnum_INVALID_NUMBER_FORMAT FeedItemValidationErrorEnum_FeedItemValidationError = 26 - // Invalid format for date value in ad parameter. - FeedItemValidationErrorEnum_INVALID_DATE_FORMAT FeedItemValidationErrorEnum_FeedItemValidationError = 27 - // Invalid format for price value in ad parameter. - FeedItemValidationErrorEnum_INVALID_PRICE_FORMAT FeedItemValidationErrorEnum_FeedItemValidationError = 28 - // Unrecognized type given for value in ad parameter. - FeedItemValidationErrorEnum_UNKNOWN_PLACEHOLDER_FIELD FeedItemValidationErrorEnum_FeedItemValidationError = 29 - // Enhanced sitelinks must have both description lines specified. - FeedItemValidationErrorEnum_MISSING_ENHANCED_SITELINK_DESCRIPTION_LINE FeedItemValidationErrorEnum_FeedItemValidationError = 30 - // Review source is ineligible. - FeedItemValidationErrorEnum_REVIEW_EXTENSION_SOURCE_INELIGIBLE FeedItemValidationErrorEnum_FeedItemValidationError = 31 - // Review text cannot contain hyphens or dashes. - FeedItemValidationErrorEnum_HYPHENS_IN_REVIEW_EXTENSION_SNIPPET FeedItemValidationErrorEnum_FeedItemValidationError = 32 - // Review text cannot contain double quote characters. - FeedItemValidationErrorEnum_DOUBLE_QUOTES_IN_REVIEW_EXTENSION_SNIPPET FeedItemValidationErrorEnum_FeedItemValidationError = 33 - // Review text cannot contain quote characters. - FeedItemValidationErrorEnum_QUOTES_IN_REVIEW_EXTENSION_SNIPPET FeedItemValidationErrorEnum_FeedItemValidationError = 34 - // Parameters are encoded in the wrong format. - FeedItemValidationErrorEnum_INVALID_FORM_ENCODED_PARAMS FeedItemValidationErrorEnum_FeedItemValidationError = 35 - // URL parameter name must contain only letters, numbers, underscores, and - // dashes. - FeedItemValidationErrorEnum_INVALID_URL_PARAMETER_NAME FeedItemValidationErrorEnum_FeedItemValidationError = 36 - // Cannot find address location. - FeedItemValidationErrorEnum_NO_GEOCODING_RESULT FeedItemValidationErrorEnum_FeedItemValidationError = 37 - // Review extension text has source name. - FeedItemValidationErrorEnum_SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT FeedItemValidationErrorEnum_FeedItemValidationError = 38 - // Some phone numbers can be shorter than usual. Some of these short numbers - // are carrier-specific, and we disallow those in ad extensions because they - // will not be available to all users. - FeedItemValidationErrorEnum_CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED FeedItemValidationErrorEnum_FeedItemValidationError = 39 - // Triggered when a request references a placeholder field id that does not - // exist. - FeedItemValidationErrorEnum_INVALID_PLACEHOLDER_FIELD_ID FeedItemValidationErrorEnum_FeedItemValidationError = 40 - // URL contains invalid ValueTrack tags or format. - FeedItemValidationErrorEnum_INVALID_URL_TAG FeedItemValidationErrorEnum_FeedItemValidationError = 41 - // Provided list exceeds acceptable size. - FeedItemValidationErrorEnum_LIST_TOO_LONG FeedItemValidationErrorEnum_FeedItemValidationError = 42 - // Certain combinations of attributes aren't allowed to be specified in the - // same feed item. - FeedItemValidationErrorEnum_INVALID_ATTRIBUTES_COMBINATION FeedItemValidationErrorEnum_FeedItemValidationError = 43 - // An attribute has the same value repeatedly. - FeedItemValidationErrorEnum_DUPLICATE_VALUES FeedItemValidationErrorEnum_FeedItemValidationError = 44 - // Advertisers can link a conversion action with a phone number to indicate - // that sufficiently long calls forwarded to that phone number should be - // counted as conversions of the specified type. This is an error message - // indicating that the conversion action specified is invalid (e.g., the - // conversion action does not exist within the appropriate Google Ads - // account, or it is a type of conversion not appropriate to phone call - // conversions). - FeedItemValidationErrorEnum_INVALID_CALL_CONVERSION_ACTION_ID FeedItemValidationErrorEnum_FeedItemValidationError = 45 - // Tracking template requires final url to be set. - FeedItemValidationErrorEnum_CANNOT_SET_WITHOUT_FINAL_URLS FeedItemValidationErrorEnum_FeedItemValidationError = 46 - // An app id was provided that doesn't exist in the given app store. - FeedItemValidationErrorEnum_APP_ID_DOESNT_EXIST_IN_APP_STORE FeedItemValidationErrorEnum_FeedItemValidationError = 47 - // Invalid U2 final url. - FeedItemValidationErrorEnum_INVALID_FINAL_URL FeedItemValidationErrorEnum_FeedItemValidationError = 48 - // Invalid U2 tracking url. - FeedItemValidationErrorEnum_INVALID_TRACKING_URL FeedItemValidationErrorEnum_FeedItemValidationError = 49 - // Final URL should start from App download URL. - FeedItemValidationErrorEnum_INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL FeedItemValidationErrorEnum_FeedItemValidationError = 50 - // List provided is too short. - FeedItemValidationErrorEnum_LIST_TOO_SHORT FeedItemValidationErrorEnum_FeedItemValidationError = 51 - // User Action field has invalid value. - FeedItemValidationErrorEnum_INVALID_USER_ACTION FeedItemValidationErrorEnum_FeedItemValidationError = 52 - // Type field has invalid value. - FeedItemValidationErrorEnum_INVALID_TYPE_NAME FeedItemValidationErrorEnum_FeedItemValidationError = 53 - // Change status for event is invalid. - FeedItemValidationErrorEnum_INVALID_EVENT_CHANGE_STATUS FeedItemValidationErrorEnum_FeedItemValidationError = 54 - // The header of a structured snippets extension is not one of the valid - // headers. - FeedItemValidationErrorEnum_INVALID_SNIPPETS_HEADER FeedItemValidationErrorEnum_FeedItemValidationError = 55 - // Android app link is not formatted correctly - FeedItemValidationErrorEnum_INVALID_ANDROID_APP_LINK FeedItemValidationErrorEnum_FeedItemValidationError = 56 - // Phone number incompatible with call tracking for country. - FeedItemValidationErrorEnum_NUMBER_TYPE_WITH_CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY FeedItemValidationErrorEnum_FeedItemValidationError = 57 - // The input is identical to a reserved keyword - FeedItemValidationErrorEnum_RESERVED_KEYWORD_OTHER FeedItemValidationErrorEnum_FeedItemValidationError = 58 - // Each option label in the message extension must be unique. - FeedItemValidationErrorEnum_DUPLICATE_OPTION_LABELS FeedItemValidationErrorEnum_FeedItemValidationError = 59 - // Each option prefill in the message extension must be unique. - FeedItemValidationErrorEnum_DUPLICATE_OPTION_PREFILLS FeedItemValidationErrorEnum_FeedItemValidationError = 60 - // In message extensions, the number of optional labels and optional - // prefills must be the same. - FeedItemValidationErrorEnum_UNEQUAL_LIST_LENGTHS FeedItemValidationErrorEnum_FeedItemValidationError = 61 - // All currency codes in an ad extension must be the same. - FeedItemValidationErrorEnum_INCONSISTENT_CURRENCY_CODES FeedItemValidationErrorEnum_FeedItemValidationError = 62 - // Headers in price extension are not unique. - FeedItemValidationErrorEnum_PRICE_EXTENSION_HAS_DUPLICATED_HEADERS FeedItemValidationErrorEnum_FeedItemValidationError = 63 - // Header and description in an item are the same. - FeedItemValidationErrorEnum_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION FeedItemValidationErrorEnum_FeedItemValidationError = 64 - // Price extension has too few items. - FeedItemValidationErrorEnum_PRICE_EXTENSION_HAS_TOO_FEW_ITEMS FeedItemValidationErrorEnum_FeedItemValidationError = 65 - // The given value is not supported. - FeedItemValidationErrorEnum_UNSUPPORTED_VALUE FeedItemValidationErrorEnum_FeedItemValidationError = 66 - // Invalid final mobile url. - FeedItemValidationErrorEnum_INVALID_FINAL_MOBILE_URL FeedItemValidationErrorEnum_FeedItemValidationError = 67 - // The given string value of Label contains invalid characters - FeedItemValidationErrorEnum_INVALID_KEYWORDLESS_AD_RULE_LABEL FeedItemValidationErrorEnum_FeedItemValidationError = 68 - // The given URL contains value track parameters. - FeedItemValidationErrorEnum_VALUE_TRACK_PARAMETER_NOT_SUPPORTED FeedItemValidationErrorEnum_FeedItemValidationError = 69 - // The given value is not supported in the selected language of an - // extension. - FeedItemValidationErrorEnum_UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE FeedItemValidationErrorEnum_FeedItemValidationError = 70 - // The iOS app link is not formatted correctly. - FeedItemValidationErrorEnum_INVALID_IOS_APP_LINK FeedItemValidationErrorEnum_FeedItemValidationError = 71 - // iOS app link or iOS app store id is missing. - FeedItemValidationErrorEnum_MISSING_IOS_APP_LINK_OR_IOS_APP_STORE_ID FeedItemValidationErrorEnum_FeedItemValidationError = 72 - // Promotion time is invalid. - FeedItemValidationErrorEnum_PROMOTION_INVALID_TIME FeedItemValidationErrorEnum_FeedItemValidationError = 73 - // Both the percent off and money amount off fields are set. - FeedItemValidationErrorEnum_PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF FeedItemValidationErrorEnum_FeedItemValidationError = 74 - // Both the promotion code and orders over amount fields are set. - FeedItemValidationErrorEnum_PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT FeedItemValidationErrorEnum_FeedItemValidationError = 75 - // Too many decimal places are specified. - FeedItemValidationErrorEnum_TOO_MANY_DECIMAL_PLACES_SPECIFIED FeedItemValidationErrorEnum_FeedItemValidationError = 76 - // Ad Customizers are present and not allowed. - FeedItemValidationErrorEnum_AD_CUSTOMIZERS_NOT_ALLOWED FeedItemValidationErrorEnum_FeedItemValidationError = 77 - // Language code is not valid. - FeedItemValidationErrorEnum_INVALID_LANGUAGE_CODE FeedItemValidationErrorEnum_FeedItemValidationError = 78 - // Language is not supported. - FeedItemValidationErrorEnum_UNSUPPORTED_LANGUAGE FeedItemValidationErrorEnum_FeedItemValidationError = 79 - // IF Function is present and not allowed. - FeedItemValidationErrorEnum_IF_FUNCTION_NOT_ALLOWED FeedItemValidationErrorEnum_FeedItemValidationError = 80 - // Final url suffix is not valid. - FeedItemValidationErrorEnum_INVALID_FINAL_URL_SUFFIX FeedItemValidationErrorEnum_FeedItemValidationError = 81 - // Final url suffix contains an invalid tag. - FeedItemValidationErrorEnum_INVALID_TAG_IN_FINAL_URL_SUFFIX FeedItemValidationErrorEnum_FeedItemValidationError = 82 - // Final url suffix is formatted incorrectly. - FeedItemValidationErrorEnum_INVALID_FINAL_URL_SUFFIX_FORMAT FeedItemValidationErrorEnum_FeedItemValidationError = 83 - // Consent for call recording, which is required for the use of call - // extensions, was not provided by the advertiser. Please see - // https://support.google.com/google-ads/answer/7412639. - FeedItemValidationErrorEnum_CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED FeedItemValidationErrorEnum_FeedItemValidationError = 84 - // Multiple message delivery options are set. - FeedItemValidationErrorEnum_ONLY_ONE_DELIVERY_OPTION_IS_ALLOWED FeedItemValidationErrorEnum_FeedItemValidationError = 85 - // No message delivery option is set. - FeedItemValidationErrorEnum_NO_DELIVERY_OPTION_IS_SET FeedItemValidationErrorEnum_FeedItemValidationError = 86 - // String value of conversion reporting state field is not valid. - FeedItemValidationErrorEnum_INVALID_CONVERSION_REPORTING_STATE FeedItemValidationErrorEnum_FeedItemValidationError = 87 - // Image size is not right. - FeedItemValidationErrorEnum_IMAGE_SIZE_WRONG FeedItemValidationErrorEnum_FeedItemValidationError = 88 - // Email delivery is not supported in the country specified in the country - // code field. - FeedItemValidationErrorEnum_EMAIL_DELIVERY_NOT_AVAILABLE_IN_COUNTRY FeedItemValidationErrorEnum_FeedItemValidationError = 89 - // Auto reply is not supported in the country specified in the country code - // field. - FeedItemValidationErrorEnum_AUTO_REPLY_NOT_AVAILABLE_IN_COUNTRY FeedItemValidationErrorEnum_FeedItemValidationError = 90 - // Invalid value specified for latitude. - FeedItemValidationErrorEnum_INVALID_LATITUDE_VALUE FeedItemValidationErrorEnum_FeedItemValidationError = 91 - // Invalid value specified for longitude. - FeedItemValidationErrorEnum_INVALID_LONGITUDE_VALUE FeedItemValidationErrorEnum_FeedItemValidationError = 92 - // Too many label fields provided. - FeedItemValidationErrorEnum_TOO_MANY_LABELS FeedItemValidationErrorEnum_FeedItemValidationError = 93 - // Invalid image url. - FeedItemValidationErrorEnum_INVALID_IMAGE_URL FeedItemValidationErrorEnum_FeedItemValidationError = 94 - // Latitude value is missing. - FeedItemValidationErrorEnum_MISSING_LATITUDE_VALUE FeedItemValidationErrorEnum_FeedItemValidationError = 95 - // Longitude value is missing. - FeedItemValidationErrorEnum_MISSING_LONGITUDE_VALUE FeedItemValidationErrorEnum_FeedItemValidationError = 96 - // Unable to find address. - FeedItemValidationErrorEnum_ADDRESS_NOT_FOUND FeedItemValidationErrorEnum_FeedItemValidationError = 97 - // Cannot target provided address. - FeedItemValidationErrorEnum_ADDRESS_NOT_TARGETABLE FeedItemValidationErrorEnum_FeedItemValidationError = 98 -) - -var FeedItemValidationErrorEnum_FeedItemValidationError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "STRING_TOO_SHORT", - 3: "STRING_TOO_LONG", - 4: "VALUE_NOT_SPECIFIED", - 5: "INVALID_DOMESTIC_PHONE_NUMBER_FORMAT", - 6: "INVALID_PHONE_NUMBER", - 7: "PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY", - 8: "PREMIUM_RATE_NUMBER_NOT_ALLOWED", - 9: "DISALLOWED_NUMBER_TYPE", - 10: "VALUE_OUT_OF_RANGE", - 11: "CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY", - 12: "CUSTOMER_NOT_WHITELISTED_FOR_CALLTRACKING", - 13: "INVALID_COUNTRY_CODE", - 14: "INVALID_APP_ID", - 15: "MISSING_ATTRIBUTES_FOR_FIELDS", - 16: "INVALID_TYPE_ID", - 17: "INVALID_EMAIL_ADDRESS", - 18: "INVALID_HTTPS_URL", - 19: "MISSING_DELIVERY_ADDRESS", - 20: "START_DATE_AFTER_END_DATE", - 21: "MISSING_FEED_ITEM_START_TIME", - 22: "MISSING_FEED_ITEM_END_TIME", - 23: "MISSING_FEED_ITEM_ID", - 24: "VANITY_PHONE_NUMBER_NOT_ALLOWED", - 25: "INVALID_REVIEW_EXTENSION_SNIPPET", - 26: "INVALID_NUMBER_FORMAT", - 27: "INVALID_DATE_FORMAT", - 28: "INVALID_PRICE_FORMAT", - 29: "UNKNOWN_PLACEHOLDER_FIELD", - 30: "MISSING_ENHANCED_SITELINK_DESCRIPTION_LINE", - 31: "REVIEW_EXTENSION_SOURCE_INELIGIBLE", - 32: "HYPHENS_IN_REVIEW_EXTENSION_SNIPPET", - 33: "DOUBLE_QUOTES_IN_REVIEW_EXTENSION_SNIPPET", - 34: "QUOTES_IN_REVIEW_EXTENSION_SNIPPET", - 35: "INVALID_FORM_ENCODED_PARAMS", - 36: "INVALID_URL_PARAMETER_NAME", - 37: "NO_GEOCODING_RESULT", - 38: "SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT", - 39: "CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED", - 40: "INVALID_PLACEHOLDER_FIELD_ID", - 41: "INVALID_URL_TAG", - 42: "LIST_TOO_LONG", - 43: "INVALID_ATTRIBUTES_COMBINATION", - 44: "DUPLICATE_VALUES", - 45: "INVALID_CALL_CONVERSION_ACTION_ID", - 46: "CANNOT_SET_WITHOUT_FINAL_URLS", - 47: "APP_ID_DOESNT_EXIST_IN_APP_STORE", - 48: "INVALID_FINAL_URL", - 49: "INVALID_TRACKING_URL", - 50: "INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL", - 51: "LIST_TOO_SHORT", - 52: "INVALID_USER_ACTION", - 53: "INVALID_TYPE_NAME", - 54: "INVALID_EVENT_CHANGE_STATUS", - 55: "INVALID_SNIPPETS_HEADER", - 56: "INVALID_ANDROID_APP_LINK", - 57: "NUMBER_TYPE_WITH_CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY", - 58: "RESERVED_KEYWORD_OTHER", - 59: "DUPLICATE_OPTION_LABELS", - 60: "DUPLICATE_OPTION_PREFILLS", - 61: "UNEQUAL_LIST_LENGTHS", - 62: "INCONSISTENT_CURRENCY_CODES", - 63: "PRICE_EXTENSION_HAS_DUPLICATED_HEADERS", - 64: "ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION", - 65: "PRICE_EXTENSION_HAS_TOO_FEW_ITEMS", - 66: "UNSUPPORTED_VALUE", - 67: "INVALID_FINAL_MOBILE_URL", - 68: "INVALID_KEYWORDLESS_AD_RULE_LABEL", - 69: "VALUE_TRACK_PARAMETER_NOT_SUPPORTED", - 70: "UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE", - 71: "INVALID_IOS_APP_LINK", - 72: "MISSING_IOS_APP_LINK_OR_IOS_APP_STORE_ID", - 73: "PROMOTION_INVALID_TIME", - 74: "PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF", - 75: "PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT", - 76: "TOO_MANY_DECIMAL_PLACES_SPECIFIED", - 77: "AD_CUSTOMIZERS_NOT_ALLOWED", - 78: "INVALID_LANGUAGE_CODE", - 79: "UNSUPPORTED_LANGUAGE", - 80: "IF_FUNCTION_NOT_ALLOWED", - 81: "INVALID_FINAL_URL_SUFFIX", - 82: "INVALID_TAG_IN_FINAL_URL_SUFFIX", - 83: "INVALID_FINAL_URL_SUFFIX_FORMAT", - 84: "CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED", - 85: "ONLY_ONE_DELIVERY_OPTION_IS_ALLOWED", - 86: "NO_DELIVERY_OPTION_IS_SET", - 87: "INVALID_CONVERSION_REPORTING_STATE", - 88: "IMAGE_SIZE_WRONG", - 89: "EMAIL_DELIVERY_NOT_AVAILABLE_IN_COUNTRY", - 90: "AUTO_REPLY_NOT_AVAILABLE_IN_COUNTRY", - 91: "INVALID_LATITUDE_VALUE", - 92: "INVALID_LONGITUDE_VALUE", - 93: "TOO_MANY_LABELS", - 94: "INVALID_IMAGE_URL", - 95: "MISSING_LATITUDE_VALUE", - 96: "MISSING_LONGITUDE_VALUE", - 97: "ADDRESS_NOT_FOUND", - 98: "ADDRESS_NOT_TARGETABLE", -} - -var FeedItemValidationErrorEnum_FeedItemValidationError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "STRING_TOO_SHORT": 2, - "STRING_TOO_LONG": 3, - "VALUE_NOT_SPECIFIED": 4, - "INVALID_DOMESTIC_PHONE_NUMBER_FORMAT": 5, - "INVALID_PHONE_NUMBER": 6, - "PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY": 7, - "PREMIUM_RATE_NUMBER_NOT_ALLOWED": 8, - "DISALLOWED_NUMBER_TYPE": 9, - "VALUE_OUT_OF_RANGE": 10, - "CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY": 11, - "CUSTOMER_NOT_WHITELISTED_FOR_CALLTRACKING": 12, - "INVALID_COUNTRY_CODE": 13, - "INVALID_APP_ID": 14, - "MISSING_ATTRIBUTES_FOR_FIELDS": 15, - "INVALID_TYPE_ID": 16, - "INVALID_EMAIL_ADDRESS": 17, - "INVALID_HTTPS_URL": 18, - "MISSING_DELIVERY_ADDRESS": 19, - "START_DATE_AFTER_END_DATE": 20, - "MISSING_FEED_ITEM_START_TIME": 21, - "MISSING_FEED_ITEM_END_TIME": 22, - "MISSING_FEED_ITEM_ID": 23, - "VANITY_PHONE_NUMBER_NOT_ALLOWED": 24, - "INVALID_REVIEW_EXTENSION_SNIPPET": 25, - "INVALID_NUMBER_FORMAT": 26, - "INVALID_DATE_FORMAT": 27, - "INVALID_PRICE_FORMAT": 28, - "UNKNOWN_PLACEHOLDER_FIELD": 29, - "MISSING_ENHANCED_SITELINK_DESCRIPTION_LINE": 30, - "REVIEW_EXTENSION_SOURCE_INELIGIBLE": 31, - "HYPHENS_IN_REVIEW_EXTENSION_SNIPPET": 32, - "DOUBLE_QUOTES_IN_REVIEW_EXTENSION_SNIPPET": 33, - "QUOTES_IN_REVIEW_EXTENSION_SNIPPET": 34, - "INVALID_FORM_ENCODED_PARAMS": 35, - "INVALID_URL_PARAMETER_NAME": 36, - "NO_GEOCODING_RESULT": 37, - "SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT": 38, - "CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED": 39, - "INVALID_PLACEHOLDER_FIELD_ID": 40, - "INVALID_URL_TAG": 41, - "LIST_TOO_LONG": 42, - "INVALID_ATTRIBUTES_COMBINATION": 43, - "DUPLICATE_VALUES": 44, - "INVALID_CALL_CONVERSION_ACTION_ID": 45, - "CANNOT_SET_WITHOUT_FINAL_URLS": 46, - "APP_ID_DOESNT_EXIST_IN_APP_STORE": 47, - "INVALID_FINAL_URL": 48, - "INVALID_TRACKING_URL": 49, - "INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL": 50, - "LIST_TOO_SHORT": 51, - "INVALID_USER_ACTION": 52, - "INVALID_TYPE_NAME": 53, - "INVALID_EVENT_CHANGE_STATUS": 54, - "INVALID_SNIPPETS_HEADER": 55, - "INVALID_ANDROID_APP_LINK": 56, - "NUMBER_TYPE_WITH_CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY": 57, - "RESERVED_KEYWORD_OTHER": 58, - "DUPLICATE_OPTION_LABELS": 59, - "DUPLICATE_OPTION_PREFILLS": 60, - "UNEQUAL_LIST_LENGTHS": 61, - "INCONSISTENT_CURRENCY_CODES": 62, - "PRICE_EXTENSION_HAS_DUPLICATED_HEADERS": 63, - "ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION": 64, - "PRICE_EXTENSION_HAS_TOO_FEW_ITEMS": 65, - "UNSUPPORTED_VALUE": 66, - "INVALID_FINAL_MOBILE_URL": 67, - "INVALID_KEYWORDLESS_AD_RULE_LABEL": 68, - "VALUE_TRACK_PARAMETER_NOT_SUPPORTED": 69, - "UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE": 70, - "INVALID_IOS_APP_LINK": 71, - "MISSING_IOS_APP_LINK_OR_IOS_APP_STORE_ID": 72, - "PROMOTION_INVALID_TIME": 73, - "PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF": 74, - "PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT": 75, - "TOO_MANY_DECIMAL_PLACES_SPECIFIED": 76, - "AD_CUSTOMIZERS_NOT_ALLOWED": 77, - "INVALID_LANGUAGE_CODE": 78, - "UNSUPPORTED_LANGUAGE": 79, - "IF_FUNCTION_NOT_ALLOWED": 80, - "INVALID_FINAL_URL_SUFFIX": 81, - "INVALID_TAG_IN_FINAL_URL_SUFFIX": 82, - "INVALID_FINAL_URL_SUFFIX_FORMAT": 83, - "CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED": 84, - "ONLY_ONE_DELIVERY_OPTION_IS_ALLOWED": 85, - "NO_DELIVERY_OPTION_IS_SET": 86, - "INVALID_CONVERSION_REPORTING_STATE": 87, - "IMAGE_SIZE_WRONG": 88, - "EMAIL_DELIVERY_NOT_AVAILABLE_IN_COUNTRY": 89, - "AUTO_REPLY_NOT_AVAILABLE_IN_COUNTRY": 90, - "INVALID_LATITUDE_VALUE": 91, - "INVALID_LONGITUDE_VALUE": 92, - "TOO_MANY_LABELS": 93, - "INVALID_IMAGE_URL": 94, - "MISSING_LATITUDE_VALUE": 95, - "MISSING_LONGITUDE_VALUE": 96, - "ADDRESS_NOT_FOUND": 97, - "ADDRESS_NOT_TARGETABLE": 98, -} - -func (x FeedItemValidationErrorEnum_FeedItemValidationError) String() string { - return proto.EnumName(FeedItemValidationErrorEnum_FeedItemValidationError_name, int32(x)) -} - -func (FeedItemValidationErrorEnum_FeedItemValidationError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_12e83684721bd9c8, []int{0, 0} -} - -// Container for enum describing possible validation errors of a feed item. -type FeedItemValidationErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FeedItemValidationErrorEnum) Reset() { *m = FeedItemValidationErrorEnum{} } -func (m *FeedItemValidationErrorEnum) String() string { return proto.CompactTextString(m) } -func (*FeedItemValidationErrorEnum) ProtoMessage() {} -func (*FeedItemValidationErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_12e83684721bd9c8, []int{0} -} - -func (m *FeedItemValidationErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FeedItemValidationErrorEnum.Unmarshal(m, b) -} -func (m *FeedItemValidationErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FeedItemValidationErrorEnum.Marshal(b, m, deterministic) -} -func (m *FeedItemValidationErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedItemValidationErrorEnum.Merge(m, src) -} -func (m *FeedItemValidationErrorEnum) XXX_Size() int { - return xxx_messageInfo_FeedItemValidationErrorEnum.Size(m) -} -func (m *FeedItemValidationErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_FeedItemValidationErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_FeedItemValidationErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.errors.FeedItemValidationErrorEnum_FeedItemValidationError", FeedItemValidationErrorEnum_FeedItemValidationError_name, FeedItemValidationErrorEnum_FeedItemValidationError_value) - proto.RegisterType((*FeedItemValidationErrorEnum)(nil), "google.ads.googleads.v2.errors.FeedItemValidationErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/feed_item_validation_error.proto", fileDescriptor_12e83684721bd9c8) -} - -var fileDescriptor_12e83684721bd9c8 = []byte{ - // 1665 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x57, 0x6d, 0x73, 0x1b, 0xb7, - 0x11, 0xae, 0x9d, 0x36, 0x69, 0xe1, 0x26, 0x86, 0xe1, 0x57, 0xd9, 0xb2, 0x6c, 0xcb, 0x8e, 0xed, - 0x38, 0x0e, 0x95, 0x2a, 0x4d, 0xd3, 0xd0, 0x6d, 0x52, 0xf0, 0xb0, 0x47, 0xa2, 0xc2, 0x01, 0x67, - 0x00, 0x47, 0x8a, 0xae, 0x5a, 0x54, 0x29, 0x59, 0x8d, 0x66, 0x2c, 0xd1, 0x23, 0xaa, 0xfe, 0x41, - 0xfd, 0xd8, 0x3f, 0xd2, 0x99, 0xfe, 0x91, 0xce, 0xf4, 0x0f, 0xf4, 0x6b, 0x66, 0x71, 0x2f, 0x3c, - 0x89, 0x92, 0xc7, 0x9f, 0x44, 0x01, 0xbb, 0x0b, 0xec, 0xb3, 0xcf, 0x3e, 0x8b, 0x23, 0xdf, 0xef, - 0xcd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x85, 0x5c, 0xaf, 0x17, - 0x21, 0xe3, 0x52, 0x05, 0x2e, 0x84, 0x05, 0xe7, 0xe8, 0x15, 0x76, 0x9d, 0x5c, 0xa9, 0xb7, 0x06, - 0xde, 0xe7, 0x2e, 0x14, 0x56, 0x51, 0xc6, 0x56, 0xc9, 0xad, 0xfa, 0x24, 0x01, 0x4a, 0x0e, 0xc1, - 0x8e, 0x1b, 0xa7, 0xab, 0xec, 0x2e, 0x59, 0x71, 0x9e, 0x5b, 0x1f, 0x04, 0xe2, 0xcc, 0x53, 0x0f, - 0x36, 0x80, 0x16, 0xf1, 0x5f, 0x7a, 0x8d, 0xdd, 0x27, 0xab, 0xb5, 0x73, 0x0a, 0x20, 0x82, 0xf4, - 0x90, 0x85, 0xd2, 0xc1, 0xcb, 0x0c, 0xe8, 0x75, 0xb6, 0x46, 0x6e, 0x2f, 0x5b, 0x60, 0x84, 0xb8, - 0x7f, 0x03, 0x61, 0x59, 0xde, 0x97, 0x82, 0xde, 0xc4, 0x22, 0x0f, 0xb9, 0x96, 0x7e, 0x1c, 0x96, - 0x78, 0x51, 0x17, 0xf9, 0x16, 0x7b, 0x44, 0xee, 0xd7, 0x49, 0x59, 0x18, 0x4a, 0x18, 0x05, 0xd8, - 0xf6, 0xa0, 0x9d, 0x34, 0x3a, 0x38, 0x2d, 0xf3, 0x1c, 0x3c, 0x5d, 0x69, 0xa3, 0x72, 0x92, 0x90, - 0xb7, 0x91, 0xd3, 0x0d, 0x75, 0x31, 0xc5, 0x6a, 0xe3, 0xce, 0x09, 0xa6, 0x5a, 0x99, 0x34, 0x3b, - 0xab, 0x88, 0x49, 0xd5, 0x3e, 0x21, 0x57, 0x3c, 0x81, 0x81, 0x51, 0x02, 0xaa, 0xc2, 0xd0, 0xbb, - 0xac, 0x43, 0x9e, 0xd5, 0x19, 0x81, 0x1e, 0x70, 0x9d, 0x80, 0x08, 0x2e, 0x52, 0x43, 0x6f, 0x05, - 0x01, 0x2e, 0xb1, 0x32, 0x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 0x95, 0xff, 0xde, 0xec, 0xf5, 0xee, 0xe1, 0x5e, 0x67, 0x76, 0xb4, 0xb7, - 0xb1, 0x37, 0x3d, 0x8c, 0x1f, 0x53, 0xf5, 0xf7, 0xdb, 0x9b, 0xfd, 0xf9, 0x79, 0x9f, 0x73, 0x2f, - 0xca, 0x3f, 0xff, 0xbc, 0xf8, 0x41, 0x9f, 0xf3, 0x7f, 0x5d, 0x5c, 0xeb, 0x97, 0xc1, 0xf8, 0x64, - 0xde, 0x29, 0x7f, 0xe2, 0xaf, 0xe1, 0x66, 0x27, 0x1e, 0x39, 0xff, 0x4f, 0x6d, 0xb0, 0xc3, 0x27, - 0xf3, 0x9d, 0xc6, 0x60, 0x67, 0xb8, 0xb9, 0x53, 0x1a, 0xfc, 0xef, 0xe2, 0x7a, 0xb9, 0xda, 0xed, - 0xf2, 0xc9, 0xbc, 0xdb, 0x6d, 0x4c, 0xba, 0xdd, 0xe1, 0x66, 0xb7, 0x5b, 0x1a, 0xfd, 0xf0, 0x61, - 0xbc, 0xdd, 0x57, 0x3f, 0x06, 0x00, 0x00, 0xff, 0xff, 0xc8, 0x79, 0x93, 0x2e, 0x6b, 0x0e, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/feed_mapping_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/feed_mapping_error.pb.go deleted file mode 100644 index f4cc73eb..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/feed_mapping_error.pb.go +++ /dev/null @@ -1,200 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/feed_mapping_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_9206d9cdd1c4813c, []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_9206d9cdd1c4813c, []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 (m *FeedMappingErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedMappingErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.FeedMappingErrorEnum_FeedMappingError", FeedMappingErrorEnum_FeedMappingError_name, FeedMappingErrorEnum_FeedMappingError_value) - proto.RegisterType((*FeedMappingErrorEnum)(nil), "google.ads.googleads.v2.errors.FeedMappingErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/feed_mapping_error.proto", fileDescriptor_9206d9cdd1c4813c) -} - -var fileDescriptor_9206d9cdd1c4813c = []byte{ - // 556 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, 0xb8, 0xc0, 0x82, 0xc5, 0xdf, 0xad, 0x0c, 0x54, 0xfe, 0x0c, 0x86, - 0x94, 0x48, 0x05, 0x31, 0x94, 0x5d, 0xb9, 0x89, 0xd3, 0x59, 0x24, 0x76, 0x94, 0xb8, 0x85, 0xa2, - 0x4a, 0x56, 0x20, 0x21, 0xaa, 0xb4, 0x26, 0x55, 0x52, 0xf6, 0x40, 0x5c, 0xf2, 0x28, 0x5c, 0xf0, - 0x1a, 0x48, 0x5c, 0xf1, 0x08, 0x28, 0x71, 0x5b, 0xd6, 0xae, 0xdd, 0xae, 0x7a, 0xe4, 0xf3, 0xfd, - 0x3e, 0x1f, 0x7f, 0xcd, 0x01, 0x07, 0x71, 0x9a, 0xc6, 0xc7, 0x91, 0x16, 0x84, 0xb9, 0x26, 0xcb, - 0xa2, 0x3a, 0x69, 0x69, 0x51, 0x96, 0xa5, 0x59, 0xae, 0x7d, 0x8d, 0xa2, 0x50, 0x8c, 0x82, 0xf1, - 0x78, 0x98, 0xc4, 0xa2, 0x3c, 0x53, 0xc7, 0x59, 0x3a, 0x49, 0xe1, 0xae, 0x54, 0xab, 0x41, 0x98, - 0xab, 0x73, 0x50, 0x3d, 0x69, 0xa9, 0x12, 0xdc, 0x6e, 0xcc, 0x8c, 0xc7, 0x43, 0x2d, 0x48, 0x92, - 0x74, 0x12, 0x4c, 0x86, 0x69, 0x92, 0x4b, 0xba, 0xf9, 0xbb, 0x06, 0x6e, 0x5b, 0x51, 0x14, 0x3a, - 0xd2, 0x19, 0x17, 0x0c, 0x4e, 0xbe, 0x8d, 0x9a, 0xbf, 0x6a, 0x40, 0x59, 0x6e, 0xc0, 0x2d, 0x50, - 0xef, 0x52, 0xdf, 0xc5, 0x06, 0xb1, 0x08, 0x36, 0x95, 0x4b, 0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 0xf2, 0x76, 0x7b, 0x5c, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/field_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/field_error.pb.go deleted file mode 100644 index 73424c84..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/field_error.pb.go +++ /dev/null @@ -1,149 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/field_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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. - 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 - // The field's value is on a blacklist for this field. - FieldErrorEnum_BLACKLISTED_VALUE FieldErrorEnum_FieldError = 8 -) - -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", - 8: "BLACKLISTED_VALUE", -} - -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, - "BLACKLISTED_VALUE": 8, -} - -func (x FieldErrorEnum_FieldError) String() string { - return proto.EnumName(FieldErrorEnum_FieldError_name, int32(x)) -} - -func (FieldErrorEnum_FieldError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_9a726b17a04e42c0, []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_9a726b17a04e42c0, []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 (m *FieldErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FieldErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.FieldErrorEnum_FieldError", FieldErrorEnum_FieldError_name, FieldErrorEnum_FieldError_value) - proto.RegisterType((*FieldErrorEnum)(nil), "google.ads.googleads.v2.errors.FieldErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/field_error.proto", fileDescriptor_9a726b17a04e42c0) -} - -var fileDescriptor_9a726b17a04e42c0 = []byte{ - // 392 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x4f, 0x8e, 0xd3, 0x30, - 0x14, 0xc6, 0x49, 0x06, 0x66, 0x46, 0x1e, 0xa0, 0x19, 0x8f, 0x60, 0xa4, 0x01, 0xcd, 0x22, 0x07, - 0x70, 0x50, 0xd8, 0x99, 0x95, 0x93, 0xb8, 0x23, 0xab, 0x89, 0x1b, 0x9a, 0x3f, 0x08, 0x14, 0xc9, - 0x0a, 0x24, 0x44, 0x91, 0xda, 0xb8, 0x8a, 0x4b, 0x0f, 0xc4, 0x92, 0x9b, 0xc0, 0x19, 0x38, 0x41, - 0x4f, 0x81, 0x12, 0x93, 0x76, 0x05, 0x2b, 0x7f, 0x7e, 0xfa, 0x7d, 0xdf, 0xb3, 0xdf, 0x03, 0x6f, - 0x1a, 0x29, 0x9b, 0x75, 0xed, 0x94, 0x95, 0x72, 0xb4, 0x1c, 0xd4, 0xde, 0x75, 0xea, 0xbe, 0x97, - 0xbd, 0x72, 0xbe, 0xb6, 0xf5, 0xba, 0x12, 0xe3, 0x05, 0x6d, 0x7b, 0xb9, 0x93, 0xf0, 0x5e, 0x63, - 0xa8, 0xac, 0x14, 0x3a, 0x3a, 0xd0, 0xde, 0x45, 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a, 0xfe, 0x5a, 0x1a, - 0xb9, 0x2e, 0xbb, 0x06, 0xc9, 0xbe, 0x71, 0x9a, 0xba, 0x1b, 0x87, 0x36, 0x2d, 0x66, 0xdb, 0xaa, - 0x7f, 0xed, 0xe9, 0x9d, 0x3e, 0xbe, 0x9b, 0x67, 0x0f, 0x84, 0xfc, 0x30, 0xef, 0x1f, 0x74, 0x18, - 0xa9, 0x14, 0xd2, 0x72, 0x50, 0xb9, 0x8b, 0xc6, 0x96, 0xea, 0xd7, 0x04, 0x14, 0xa4, 0x52, 0xc5, - 0x11, 0x28, 0x72, 0xb7, 0xd0, 0xc0, 0xc1, 0xb4, 0x75, 0x15, 0x63, 0x52, 0x29, 0x8c, 0x8f, 0x08, - 0xc6, 0xb9, 0x8b, 0xb1, 0x86, 0x3e, 0x9f, 0x8f, 0xaf, 0x7b, 0xfb, 0x27, 0x00, 0x00, 0xff, 0xff, - 0xf0, 0xed, 0xc7, 0x5b, 0x44, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/field_mask_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/field_mask_error.pb.go deleted file mode 100644 index 46c9d0db..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/field_mask_error.pb.go +++ /dev/null @@ -1,137 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/field_mask_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_7583e74bb7ac99f4, []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_7583e74bb7ac99f4, []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 (m *FieldMaskErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FieldMaskErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.FieldMaskErrorEnum_FieldMaskError", FieldMaskErrorEnum_FieldMaskError_name, FieldMaskErrorEnum_FieldMaskError_value) - proto.RegisterType((*FieldMaskErrorEnum)(nil), "google.ads.googleads.v2.errors.FieldMaskErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/field_mask_error.proto", fileDescriptor_7583e74bb7ac99f4) -} - -var fileDescriptor_7583e74bb7ac99f4 = []byte{ - // 353 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xfb, 0x30, - 0x14, 0xc6, 0xff, 0xed, 0xfe, 0x2a, 0x64, 0xe0, 0x4a, 0x06, 0x13, 0x86, 0xec, 0xa2, 0x0f, 0x90, - 0x42, 0xc5, 0x9b, 0x78, 0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0xc3, 0x2e, 0xe8, 0xa8, 0xb7, 0xca, - 0xf6, 0x82, 0x90, 0x3a, 0x86, 0x0e, 0xcf, 0x40, 0x57, 0x99, 0x37, 0x84, 0xc5, 0x2c, 0x1c, 0xd6, - 0x17, 0x66, 0xb4, 0x86, 0x9f, 0x1a, 0x30, 0x1f, 0xc4, 0x1a, 0xfd, 0x3d, 0xee, 0xb0, 0x7b, 0xd8, - 0xf6, 0xac, 0x9a, 0x72, 0xa6, 0xdd, 0x39, 0xdf, 0xb1, 0x4c, 0xac, 0x78, 0x91, 0x21, 0x51, 0x66, - 0x56, 0x96, 0x16, 0xf5, 0x0e, 0xf6, 0xcb, 0xde, 0xe4, 0xf2, 0xb7, 0xdd, 0x5f, 0xa9, 0xe3, 0x45, - 0x6f, 0x8d, 0x08, 0x79, 0xd3, 0x07, 0x23, 0x55, 0x8c, 0x24, 0x12, 0x29, 0x59, 0xa9, 0xb9, 0x8d, - 0xea, 0x2f, 0xe5, 0xfb, 0x1e, 0x88, 0x48, 0x22, 0xa3, 0x06, 0x88, 0xe6, 0x76, 0xa4, 0x80, 0x0f, - 0xdd, 0x54, 0x2e, 0xc6, 0x24, 0x91, 0x18, 0x37, 0x08, 0xc6, 0x73, 0x1b, 0x63, 0x05, 0xdd, 0x1f, - 0xd7, 0xdd, 0x5d, 0x7c, 0x05, 0x00, 0x00, 0xff, 0xff, 0x99, 0x92, 0x15, 0xc4, 0x18, 0x02, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/function_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/function_error.pb.go deleted file mode 100644 index 07f385b4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/function_error.pb.go +++ /dev/null @@ -1,195 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/function_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_e35df727dc0b1623, []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_e35df727dc0b1623, []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 (m *FunctionErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FunctionErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.FunctionErrorEnum_FunctionError", FunctionErrorEnum_FunctionError_name, FunctionErrorEnum_FunctionError_value) - proto.RegisterType((*FunctionErrorEnum)(nil), "google.ads.googleads.v2.errors.FunctionErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/function_error.proto", fileDescriptor_e35df727dc0b1623) -} - -var fileDescriptor_e35df727dc0b1623 = []byte{ - // 541 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x93, 0x51, 0x6f, 0xd3, 0x30, - 0x10, 0xc7, 0x59, 0x37, 0x36, 0xf0, 0x18, 0xf5, 0xcc, 0x34, 0x50, 0x99, 0xca, 0x54, 0xe0, 0x01, - 0x21, 0x25, 0x52, 0xf7, 0x16, 0x9e, 0xdc, 0xe4, 0xd2, 0x1a, 0x12, 0x27, 0xc4, 0x4e, 0x37, 0x50, - 0x25, 0xab, 0xac, 0x25, 0xaa, 0xb4, 0x25, 0x55, 0xd3, 0xed, 0x03, 0xf1, 0x08, 0x9f, 0x82, 0x57, - 0x3e, 0x0a, 0x12, 0xdf, 0x01, 0x25, 0x6e, 0x4a, 0x8b, 0x0a, 0x4f, 0xb9, 0xdc, 0xfd, 0xfe, 0xf7, - 0x3f, 0x5b, 0x67, 0x74, 0x96, 0x64, 0x59, 0x72, 0x35, 0x36, 0x87, 0xa3, 0xdc, 0xd4, 0x61, 0x11, - 0xdd, 0xb6, 0xcd, 0xf1, 0x6c, 0x96, 0xcd, 0x72, 0xf3, 0xf3, 0x4d, 0x7a, 0x39, 0x9f, 0x64, 0xa9, - 0x2a, 0xff, 0x8d, 0xe9, 0x2c, 0x9b, 0x67, 0xa4, 0xa9, 0x49, 0x63, 0x38, 0xca, 0x8d, 0xa5, 0xc8, - 0xb8, 0x6d, 0x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0x80, 0x8e, - 0xf2, 0xc1, 0x12, 0x18, 0xf4, 0xdb, 0x03, 0x0d, 0xfc, 0xac, 0xb5, 0x74, 0xd6, 0xb2, 0xe8, 0x28, - 0xb7, 0xac, 0x25, 0x62, 0x59, 0xfd, 0xb6, 0x65, 0x69, 0xe8, 0xd3, 0x6e, 0x39, 0xdd, 0xd9, 0xef, - 0x00, 0x00, 0x00, 0xff, 0xff, 0x70, 0x2c, 0x2d, 0x85, 0xaf, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/function_parsing_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/function_parsing_error.pb.go deleted file mode 100644 index af0ba276..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/function_parsing_error.pb.go +++ /dev/null @@ -1,171 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/function_parsing_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_1b746603d4c6bf9b, []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_1b746603d4c6bf9b, []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 (m *FunctionParsingErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_FunctionParsingErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.FunctionParsingErrorEnum_FunctionParsingError", FunctionParsingErrorEnum_FunctionParsingError_name, FunctionParsingErrorEnum_FunctionParsingError_value) - proto.RegisterType((*FunctionParsingErrorEnum)(nil), "google.ads.googleads.v2.errors.FunctionParsingErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/function_parsing_error.proto", fileDescriptor_1b746603d4c6bf9b) -} - -var fileDescriptor_1b746603d4c6bf9b = []byte{ - // 488 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xcd, 0x6e, 0xd3, 0x40, - 0x14, 0x85, 0x49, 0x02, 0x2d, 0x4c, 0x40, 0xb8, 0xa3, 0xb6, 0x34, 0x01, 0xb2, 0xc8, 0x16, 0xc9, - 0x96, 0xc2, 0xce, 0x5d, 0x4d, 0xec, 0x1b, 0x67, 0xd4, 0xfa, 0x8e, 0x35, 0x1e, 0x87, 0x1f, 0x45, - 0x1a, 0x99, 0x26, 0x58, 0x91, 0x5a, 0x3b, 0xb2, 0xd3, 0x3e, 0x00, 0x8f, 0xc2, 0x92, 0x47, 0xe1, - 0x3d, 0xd8, 0xb0, 0xe6, 0x01, 0x90, 0x33, 0x89, 0xbb, 0x29, 0xac, 0x7c, 0x75, 0xcf, 0xf9, 0x8e, - 0x47, 0x73, 0x86, 0x9c, 0x67, 0x45, 0x91, 0x5d, 0x2f, 0x9d, 0x74, 0x51, 0x39, 0x66, 0xac, 0xa7, - 0xbb, 0x91, 0xb3, 0x2c, 0xcb, 0xa2, 0xac, 0x9c, 0xaf, 0xb7, 0xf9, 0xd5, 0x66, 0x55, 0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0x00, 0x00, 0x00, 0xff, 0xff, - 0xe3, 0x9b, 0xcc, 0xf5, 0xff, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/geo_target_constant_suggestion_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/geo_target_constant_suggestion_error.pb.go deleted file mode 100644 index 7dcfec64..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/geo_target_constant_suggestion_error.pb.go +++ /dev/null @@ -1,139 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/geo_target_constant_suggestion_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_3952726a7a1da2a0, []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_3952726a7a1da2a0, []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 (m *GeoTargetConstantSuggestionErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_GeoTargetConstantSuggestionErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError", GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError_name, GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError_value) - proto.RegisterType((*GeoTargetConstantSuggestionErrorEnum)(nil), "google.ads.googleads.v2.errors.GeoTargetConstantSuggestionErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/geo_target_constant_suggestion_error.proto", fileDescriptor_3952726a7a1da2a0) -} - -var fileDescriptor_3952726a7a1da2a0 = []byte{ - // 386 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xcf, 0xaa, 0xd4, 0x30, - 0x14, 0xc6, 0x6d, 0xaf, 0x7f, 0x20, 0x77, 0x61, 0xa9, 0x82, 0x17, 0xb9, 0x0c, 0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 0xcc, 0x38, 0xc3, 0x2b, 0xc2, 0x33, 0xba, 0x26, 0x7c, 0x49, 0x57, 0x34, - 0x77, 0x6c, 0xf7, 0x05, 0x78, 0xf6, 0x77, 0xd5, 0x14, 0x6e, 0xdc, 0x3b, 0xf0, 0x9c, 0xb2, 0x12, - 0x2f, 0x69, 0xc4, 0xc3, 0xb8, 0x60, 0x79, 0xfa, 0x99, 0x87, 0x71, 0x44, 0x9c, 0x87, 0x03, 0x30, - 0x25, 0x1f, 0x0b, 0x92, 0xe5, 0x3c, 0xc1, 0x29, 0x5e, 0x91, 0x9c, 0xa4, 0x19, 0x2f, 0x58, 0x46, - 0x72, 0xe7, 0xd1, 0xfc, 0xab, 0x0d, 0xbc, 0x8d, 0xda, 0xc3, 0xff, 0xcf, 0x67, 0xfe, 0xe6, 0xda, - 0xaf, 0x92, 0x61, 0x50, 0x89, 0xb5, 0x8e, 0xce, 0x20, 0xa1, 0x76, 0xb5, 0x14, 0x50, 0x75, 0xc2, - 0x17, 0xad, 0x1c, 0xc7, 0x78, 0xd9, 0xe1, 0x61, 0xab, 0xff, 0xb5, 0xd2, 0x77, 0xe6, 0xf8, 0x66, - 0xdf, 0x2c, 0x30, 0xfe, 0x6e, 0xcf, 0x16, 0x06, 0x86, 0x1b, 0x0d, 0x8d, 0x1c, 0x54, 0x19, 0xc0, - 0x31, 0x52, 0xff, 0xbc, 0x18, 0x2a, 0xdc, 0xe8, 0x6a, 0x32, 0x54, 0x65, 0x50, 0x19, 0xc3, 0x6f, - 0xdb, 0x33, 0xb7, 0x08, 0xe1, 0x46, 0x23, 0x34, 0x59, 0x10, 0x2a, 0x03, 0x84, 0x8c, 0xe9, 0xcb, - 0xe3, 0xf1, 0x75, 0x6f, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x4e, 0x7f, 0x9f, 0x33, 0x6f, 0x02, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/header_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/header_error.pb.go deleted file mode 100644 index 889f6dff..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/header_error.pb.go +++ /dev/null @@ -1,119 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/header_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 -) - -var HeaderErrorEnum_HeaderError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 3: "INVALID_LOGIN_CUSTOMER_ID", -} - -var HeaderErrorEnum_HeaderError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "INVALID_LOGIN_CUSTOMER_ID": 3, -} - -func (x HeaderErrorEnum_HeaderError) String() string { - return proto.EnumName(HeaderErrorEnum_HeaderError_name, int32(x)) -} - -func (HeaderErrorEnum_HeaderError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_3fed57cb8f88f6f4, []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_3fed57cb8f88f6f4, []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 (m *HeaderErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_HeaderErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.HeaderErrorEnum_HeaderError", HeaderErrorEnum_HeaderError_name, HeaderErrorEnum_HeaderError_value) - proto.RegisterType((*HeaderErrorEnum)(nil), "google.ads.googleads.v2.errors.HeaderErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/header_error.proto", fileDescriptor_3fed57cb8f88f6f4) -} - -var fileDescriptor_3fed57cb8f88f6f4 = []byte{ - // 302 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x41, 0x4e, 0xf3, 0x30, - 0x14, 0x84, 0xff, 0xb6, 0xd2, 0x8f, 0xe4, 0x2e, 0x1a, 0x65, 0x07, 0x82, 0x2e, 0x72, 0x00, 0x5b, - 0x84, 0x9d, 0x59, 0xb9, 0x4d, 0x28, 0x86, 0xe2, 0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 0x57, 0x4d, 0xeb, 0xf6, 0x34, 0x65, 0x61, 0x7f, 0xbb, 0xd4, 0xb9, 0x7b, 0xde, 0xfa, 0x83, 0x19, - 0x21, 0xef, 0xfd, 0xf1, 0xcc, 0x85, 0x11, 0x61, 0xa1, 0x93, 0xb5, 0x4a, 0x42, 0xd8, 0xac, 0xb4, - 0x1f, 0x2d, 0x90, 0x12, 0x61, 0xd3, 0x0e, 0x48, 0x93, 0x30, 0x75, 0xc0, 0x67, 0x3f, 0x70, 0x53, - 0x8c, 0x89, 0xb0, 0x18, 0x77, 0x08, 0xc6, 0x49, 0x88, 0xb1, 0x83, 0x9e, 0xfe, 0x37, 0xed, 0xce, - 0xbe, 0x03, 0x00, 0x00, 0xff, 0xff, 0xd3, 0x94, 0xde, 0x56, 0xc6, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/id_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/id_error.pb.go deleted file mode 100644 index 800db594..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/id_error.pb.go +++ /dev/null @@ -1,118 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/id_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_23a7bd9531354c26, []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_23a7bd9531354c26, []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 (m *IdErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_IdErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.IdErrorEnum_IdError", IdErrorEnum_IdError_name, IdErrorEnum_IdError_value) - proto.RegisterType((*IdErrorEnum)(nil), "google.ads.googleads.v2.errors.IdErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/id_error.proto", fileDescriptor_23a7bd9531354c26) -} - -var fileDescriptor_23a7bd9531354c26 = []byte{ - // 279 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x41, 0x4a, 0xc4, 0x30, - 0x14, 0x86, 0x6d, 0x05, 0x07, 0x53, 0xc5, 0xd2, 0xa5, 0xc8, 0x2c, 0xba, 0x37, 0x81, 0x0a, 0x2e, - 0xe2, 0xaa, 0x63, 0x3b, 0x43, 0x11, 0xd2, 0x82, 0xb6, 0x82, 0x14, 0x86, 0x6a, 0x4a, 0x28, 0xcc, - 0x24, 0x25, 0xa9, 0x73, 0x20, 0x97, 0x1e, 0xc5, 0x8b, 0x08, 0x9e, 0x42, 0xda, 0xd7, 0x76, 0xa7, - 0xab, 0x7c, 0x09, 0x5f, 0xfe, 0xf7, 0x27, 0xe8, 0x5a, 0x28, 0x25, 0x76, 0x35, 0xa9, 0xb8, 0x21, - 0x80, 0x3d, 0x1d, 0x02, 0x52, 0x6b, 0xad, 0xb4, 0x21, 0x0d, 0xdf, 0x0e, 0x84, 0x5b, 0xad, 0x3a, - 0xe5, 0x2d, 0xc1, 0xc1, 0x15, 0x37, 0x78, 0xd6, 0xf1, 0x21, 0xc0, 0xa0, 0x5f, 0x5e, 0x4d, 0x71, - 0x6d, 0x43, 0x2a, 0x29, 0x55, 0x57, 0x75, 0x8d, 0x92, 0x06, 0x6e, 0xfb, 0x31, 0x72, 0x12, 0x1e, - 0xf7, 0x66, 0x2c, 0xdf, 0xf7, 0xfe, 0x2d, 0x5a, 0x8c, 0x5b, 0xef, 0x02, 0x39, 0x39, 0x7b, 0xcc, - 0xe2, 0xfb, 0x64, 0x9d, 0xc4, 0x91, 0x7b, 0xe4, 0x39, 0x68, 0x91, 0xb3, 0x07, 0x96, 0x3e, 0x33, - 0xd7, 0xf2, 0xce, 0xd1, 0x29, 0x4b, 0x9f, 0xb6, 0xeb, 0x34, 0x67, 0x91, 0x6b, 0xaf, 0xbe, 0x2d, - 0xe4, 0xbf, 0xa9, 0x3d, 0xfe, 0xbf, 0xcb, 0xea, 0x6c, 0x0c, 0xcf, 0xfa, 0xd9, 0x99, 0xf5, 0x12, - 0x8d, 0xbe, 0x50, 0xbb, 0x4a, 0x0a, 0xac, 0xb4, 0x20, 0xa2, 0x96, 0x43, 0xb3, 0xe9, 0xe9, 0x6d, - 0x63, 0xfe, 0xfa, 0x89, 0x3b, 0x58, 0x3e, 0xec, 0xe3, 0x4d, 0x18, 0x7e, 0xda, 0xcb, 0x0d, 0x84, - 0x85, 0xdc, 0x60, 0xc0, 0x9e, 0x8a, 0x00, 0x0f, 0x23, 0xcd, 0xd7, 0x24, 0x94, 0x21, 0x37, 0xe5, - 0x2c, 0x94, 0x45, 0x50, 0x82, 0xf0, 0x63, 0xfb, 0x70, 0x4a, 0x69, 0xc8, 0x0d, 0xa5, 0xb3, 0x42, - 0x69, 0x11, 0x50, 0x0a, 0xd2, 0xeb, 0xc9, 0xd0, 0xee, 0xe6, 0x37, 0x00, 0x00, 0xff, 0xff, 0x17, - 0x86, 0x4e, 0xd1, 0xa6, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/image_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/image_error.pb.go deleted file mode 100644 index 9e31c577..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/image_error.pb.go +++ /dev/null @@ -1,295 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/image_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_e031f474ea0bd34d, []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_e031f474ea0bd34d, []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 (m *ImageErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.ImageErrorEnum_ImageError", ImageErrorEnum_ImageError_name, ImageErrorEnum_ImageError_value) - proto.RegisterType((*ImageErrorEnum)(nil), "google.ads.googleads.v2.errors.ImageErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/image_error.proto", fileDescriptor_e031f474ea0bd34d) -} - -var fileDescriptor_e031f474ea0bd34d = []byte{ - // 786 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x54, 0xcd, 0x72, 0xdb, 0x36, - 0x10, 0xae, 0x9d, 0x36, 0x4e, 0xe1, 0xc4, 0x86, 0xe1, 0xf8, 0xdf, 0x71, 0x52, 0x35, 0xcd, 0x51, - 0xea, 0xa8, 0x37, 0xf5, 0x04, 0x91, 0x4b, 0x0a, 0x16, 0x08, 0xb0, 0x00, 0x28, 0x3b, 0x19, 0xcf, - 0x60, 0xd4, 0xca, 0xa3, 0xf1, 0x4c, 0x2c, 0x7a, 0x44, 0x37, 0x0f, 0xd1, 0xc7, 0xe8, 0xb1, 0x8f, - 0xd2, 0x47, 0xc9, 0x0b, 0xf4, 0xda, 0x59, 0x42, 0x12, 0xe3, 0x4e, 0x9a, 0x93, 0xa0, 0xfd, 0x3e, - 0x7c, 0xbb, 0xd8, 0x6f, 0xb9, 0xe4, 0xc7, 0x69, 0x59, 0x4e, 0xdf, 0x5f, 0x77, 0xc6, 0x93, 0xaa, - 0x13, 0x8e, 0x78, 0xfa, 0xd0, 0xed, 0x5c, 0xcf, 0xe7, 0xe5, 0xbc, 0xea, 0xdc, 0xdc, 0x8e, 0xa7, - 0xd7, 0xbe, 0xfe, 0xd3, 0xbe, 0x9b, 0x97, 0xf7, 0x25, 0x3b, 0x0b, 0xb4, 0xf6, 0x78, 0x52, 0xb5, - 0x57, 0x37, 0xda, 0x1f, 0xba, 0xed, 0x70, 0xe3, 0xf8, 0x74, 0xa9, 0x78, 0x77, 0xd3, 0x19, 0xcf, - 0x66, 0xe5, 0xfd, 0xf8, 0xfe, 0xa6, 0x9c, 0x55, 0xe1, 0x76, 0xeb, 0x8f, 0x27, 0x64, 0x4b, 0xa0, - 0x26, 0x20, 0x1b, 0x66, 0xbf, 0xdf, 0xb6, 0xfe, 0xd9, 0x20, 0xa4, 0x09, 0xb1, 0x6d, 0xb2, 0x59, - 0x28, 0x9b, 0x43, 0x24, 0x12, 0x01, 0x31, 0xfd, 0x8a, 0x6d, 0x92, 0x8d, 0x42, 0x0d, 0x95, 0xbe, - 0x50, 0x74, 0x8d, 0xed, 0x90, 0x67, 0x42, 0x8d, 0xb8, 0x14, 0xb1, 0x17, 0x19, 0x4f, 0x81, 0xae, - 0x63, 0xc8, 0x3a, 0x6d, 0x78, 0x0a, 0x1e, 0x8c, 0xd1, 0x86, 0x3e, 0x42, 0x8d, 0x3e, 0x8f, 0xbd, - 0x81, 0x5f, 0x0a, 0xb0, 0x8e, 0x7e, 0xcd, 0x76, 0xc9, 0x76, 0xa1, 0xe0, 0x32, 0x87, 0xc8, 0x41, - 0xec, 0xad, 0x78, 0x07, 0xf4, 0x1b, 0x76, 0x48, 0x9e, 0x73, 0x25, 0x32, 0x8e, 0x21, 0xa5, 0x9d, - 0xe7, 0x52, 0xea, 0x0b, 0x88, 0xe9, 0x63, 0xb6, 0x4f, 0x58, 0x40, 0x84, 0x56, 0xde, 0x69, 0xed, - 0xa5, 0x56, 0x29, 0xdd, 0x60, 0x94, 0x3c, 0xb5, 0x60, 0x46, 0x60, 0x16, 0x99, 0x9e, 0xb0, 0x23, - 0xb2, 0x17, 0x65, 0x6f, 0x87, 0xfe, 0x3c, 0x87, 0xf4, 0x81, 0xc8, 0xb7, 0x6c, 0x8f, 0xec, 0x24, - 0x92, 0xdb, 0xc1, 0x83, 0x30, 0x61, 0xc7, 0x64, 0x3f, 0x84, 0x2f, 0x84, 0x1b, 0xe8, 0xc2, 0xf9, - 0x48, 0x8a, 0x68, 0xe8, 0x78, 0x4a, 0x37, 0xd9, 0x1b, 0xd2, 0x0a, 0x58, 0x2d, 0xef, 0x79, 0xe2, - 0xc0, 0xf8, 0x44, 0x5c, 0x0a, 0x95, 0x06, 0x9a, 0x47, 0xde, 0x53, 0xd4, 0x58, 0x55, 0x3e, 0x12, -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f, 0xad, 0x9f, 0xa5, - 0x41, 0x8c, 0x4f, 0xaa, 0x76, 0x38, 0xe2, 0x69, 0xd4, 0x6d, 0xd7, 0x29, 0xab, 0xbf, 0x97, 0x84, - 0x2b, 0x3e, 0xa9, 0xae, 0x56, 0x84, 0xab, 0x51, 0xf7, 0x2a, 0x10, 0x3e, 0xae, 0xb7, 0x42, 0xb4, - 0xd7, 0xe3, 0x93, 0xaa, 0xd7, 0x5b, 0x51, 0x7a, 0xbd, 0x51, 0xb7, 0xd7, 0x0b, 0xa4, 0x5f, 0x1f, - 0xd7, 0xd5, 0xfd, 0xf4, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x56, 0xb9, 0xb1, 0xc4, 0x72, 0x05, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/internal_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/internal_error.pb.go deleted file mode 100644 index a15e18bf..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/internal_error.pb.go +++ /dev/null @@ -1,131 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/internal_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 specified API version. It will - // be released in a future API version. - 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_910933c0a8e89aa3, []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_910933c0a8e89aa3, []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 (m *InternalErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_InternalErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.InternalErrorEnum_InternalError", InternalErrorEnum_InternalError_name, InternalErrorEnum_InternalError_value) - proto.RegisterType((*InternalErrorEnum)(nil), "google.ads.googleads.v2.errors.InternalErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/internal_error.proto", fileDescriptor_910933c0a8e89aa3) -} - -var fileDescriptor_910933c0a8e89aa3 = []byte{ - // 331 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xc3, 0x30, - 0x14, 0x86, 0x6d, 0x27, 0x0a, 0x19, 0xba, 0x1a, 0x6f, 0x44, 0xc6, 0x2e, 0xfa, 0x00, 0x29, 0x74, - 0x77, 0xf1, 0x2a, 0x5b, 0xe3, 0x2c, 0x8e, 0xb4, 0x74, 0xdd, 0x04, 0x29, 0x94, 0x6a, 0x4b, 0x29, - 0x6c, 0xc9, 0x48, 0xea, 0xde, 0xc1, 0xd7, 0xf0, 0xd2, 0x47, 0xf1, 0x51, 0x04, 0xdf, 0x41, 0xda, - 0x6c, 0x85, 0x5d, 0xe8, 0x55, 0xff, 0x1e, 0xbe, 0xef, 0xe4, 0x9c, 0x03, 0xc6, 0xa5, 0x10, 0xe5, - 0xba, 0x70, 0xb2, 0x5c, 0x39, 0x3a, 0x36, 0x69, 0xe7, 0x3a, 0x85, 0x94, 0x42, 0x2a, 0xa7, 0xe2, - 0x75, 0x21, 0x79, 0xb6, 0x4e, 0xdb, 0x7f, 0xb4, 0x95, 0xa2, 0x16, 0x70, 0xa4, 0x49, 0x94, 0xe5, -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1, 0xc0, 0xb7, 0x69, 0xeb, 0x2a, 0xc6, 0x24, 0x57, - 0x18, 0x77, 0x08, 0xc6, 0x2b, 0x17, 0x63, 0x0d, 0xbd, 0x9c, 0xb5, 0xd3, 0x8d, 0x7f, 0x03, 0x00, - 0x00, 0xff, 0xff, 0x85, 0xac, 0xe6, 0x80, 0xf7, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/invoice_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/invoice_error.pb.go deleted file mode 100644 index 960505bc..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/invoice_error.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/invoice_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible invoice errors. -type InvoiceErrorEnum_InvoiceError int32 - -const ( - // Enum unspecified. - InvoiceErrorEnum_UNSPECIFIED InvoiceErrorEnum_InvoiceError = 0 - // The received error code is not known in this version. - InvoiceErrorEnum_UNKNOWN InvoiceErrorEnum_InvoiceError = 1 - // Cannot request invoices issued before 2019-01-01. - InvoiceErrorEnum_YEAR_MONTH_TOO_OLD InvoiceErrorEnum_InvoiceError = 2 - // Cannot request invoices for customer who doesn't receive invoices. - InvoiceErrorEnum_NOT_INVOICED_CUSTOMER InvoiceErrorEnum_InvoiceError = 3 -) - -var InvoiceErrorEnum_InvoiceError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "YEAR_MONTH_TOO_OLD", - 3: "NOT_INVOICED_CUSTOMER", -} - -var InvoiceErrorEnum_InvoiceError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "YEAR_MONTH_TOO_OLD": 2, - "NOT_INVOICED_CUSTOMER": 3, -} - -func (x InvoiceErrorEnum_InvoiceError) String() string { - return proto.EnumName(InvoiceErrorEnum_InvoiceError_name, int32(x)) -} - -func (InvoiceErrorEnum_InvoiceError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_d2100925f3a2c42f, []int{0, 0} -} - -// Container for enum describing possible invoice errors. -type InvoiceErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *InvoiceErrorEnum) Reset() { *m = InvoiceErrorEnum{} } -func (m *InvoiceErrorEnum) String() string { return proto.CompactTextString(m) } -func (*InvoiceErrorEnum) ProtoMessage() {} -func (*InvoiceErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_d2100925f3a2c42f, []int{0} -} - -func (m *InvoiceErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InvoiceErrorEnum.Unmarshal(m, b) -} -func (m *InvoiceErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InvoiceErrorEnum.Marshal(b, m, deterministic) -} -func (m *InvoiceErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_InvoiceErrorEnum.Merge(m, src) -} -func (m *InvoiceErrorEnum) XXX_Size() int { - return xxx_messageInfo_InvoiceErrorEnum.Size(m) -} -func (m *InvoiceErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_InvoiceErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_InvoiceErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.errors.InvoiceErrorEnum_InvoiceError", InvoiceErrorEnum_InvoiceError_name, InvoiceErrorEnum_InvoiceError_value) - proto.RegisterType((*InvoiceErrorEnum)(nil), "google.ads.googleads.v2.errors.InvoiceErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/invoice_error.proto", fileDescriptor_d2100925f3a2c42f) -} - -var fileDescriptor_d2100925f3a2c42f = []byte{ - // 318 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xf3, 0x30, - 0x1c, 0xc5, 0xbf, 0x75, 0xf0, 0x09, 0x99, 0x60, 0x2d, 0x28, 0x28, 0xb2, 0x8b, 0x3e, 0x40, 0x02, - 0xf1, 0x2e, 0x5e, 0x65, 0x6b, 0x9c, 0x45, 0x97, 0x8c, 0xad, 0xab, 0x28, 0x85, 0x50, 0xd7, 0x12, - 0x0a, 0x5b, 0x32, 0x9a, 0xb9, 0x07, 0xf2, 0xd2, 0x47, 0xf1, 0x51, 0xc4, 0x87, 0x90, 0x36, 0x6e, - 0xec, 0x46, 0xaf, 0x72, 0xf2, 0xe7, 0x77, 0x4e, 0x4e, 0xfe, 0x00, 0x2b, 0x63, 0xd4, 0xb2, 0x44, - 0x79, 0x61, 0x91, 0x93, 0x8d, 0xda, 0x62, 0x54, 0xd6, 0xb5, 0xa9, 0x2d, 0xaa, 0xf4, 0xd6, 0x54, - 0x8b, 0x52, 0xb6, 0x57, 0xb8, 0xae, 0xcd, 0xc6, 0x04, 0x7d, 0x07, 0xc2, 0xbc, 0xb0, 0x70, 0xef, - 0x81, 0x5b, 0x0c, 0x9d, 0xe7, 0xf2, 0x6a, 0x97, 0xb9, 0xae, 0x50, 0xae, 0xb5, 0xd9, 0xe4, 0x9b, - 0xca, 0x68, 0xeb, 0xdc, 0xa1, 0x05, 0x7e, 0xec, 0x42, 0x59, 0x83, 0x33, 0xfd, 0xba, 0x0a, 0x25, - 0x38, 0x3e, 0x9c, 0x05, 0x27, 0xa0, 0x37, 0xe7, 0xb3, 0x09, 0x1b, 0xc6, 0xb7, 0x31, 0x8b, 0xfc, - 0x7f, 0x41, 0x0f, 0x1c, 0xcd, 0xf9, 0x3d, 0x17, 0x8f, 0xdc, 0xef, 0x04, 0xe7, 0x20, 0x78, 0x62, - 0x74, 0x2a, 0xc7, 0x82, 0x27, 0x77, 0x32, 0x11, 0x42, 0x8a, 0x87, 0xc8, 0xf7, 0x82, 0x0b, 0x70, - 0xc6, 0x45, 0x22, 0x63, 0x9e, 0x8a, 0x78, 0xc8, 0x22, 0x39, 0x9c, 0xcf, 0x12, 0x31, 0x66, 0x53, - 0xbf, 0x3b, 0xf8, 0xea, 0x80, 0x70, 0x61, 0x56, 0xf0, 0xef, 0xe6, 0x83, 0xd3, 0xc3, 0x16, 0x93, - 0xa6, 0xee, 0xa4, 0xf3, 0x1c, 0xfd, 0x98, 0x94, 0x59, 0xe6, 0x5a, 0x41, 0x53, 0x2b, 0xa4, 0x4a, - 0xdd, 0x7e, 0x66, 0xb7, 0xb2, 0x75, 0x65, 0x7f, 0xdb, 0xe0, 0x8d, 0x3b, 0xde, 0xbc, 0xee, 0x88, - 0xd2, 0x77, 0xaf, 0x3f, 0x72, 0x61, 0xb4, 0xb0, 0xd0, 0xc9, 0x46, 0xa5, 0x18, 0xb6, 0x4f, 0xda, - 0x8f, 0x1d, 0x90, 0xd1, 0xc2, 0x66, 0x7b, 0x20, 0x4b, 0x71, 0xe6, 0x80, 0x4f, 0x2f, 0x74, 0x53, - 0x42, 0x68, 0x61, 0x09, 0xd9, 0x23, 0x84, 0xa4, 0x98, 0x10, 0x07, 0xbd, 0xfc, 0x6f, 0xdb, 0x5d, - 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0xe7, 0xe9, 0x2e, 0xd5, 0xde, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/keyword_plan_ad_group_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/keyword_plan_ad_group_error.pb.go deleted file mode 100644 index cb2bac1d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/keyword_plan_ad_group_error.pb.go +++ /dev/null @@ -1,128 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/keyword_plan_ad_group_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_89f6d075052bb2c4, []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_89f6d075052bb2c4, []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 (m *KeywordPlanAdGroupErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanAdGroupErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError", KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError_name, KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError_value) - proto.RegisterType((*KeywordPlanAdGroupErrorEnum)(nil), "google.ads.googleads.v2.errors.KeywordPlanAdGroupErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/keyword_plan_ad_group_error.proto", fileDescriptor_89f6d075052bb2c4) -} - -var fileDescriptor_89f6d075052bb2c4 = []byte{ - // 323 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xcf, 0x4a, 0xc3, 0x30, - 0x18, 0x77, 0x1d, 0x28, 0x64, 0xa2, 0xa5, 0x17, 0x41, 0xc7, 0x0e, 0x7d, 0x80, 0x14, 0xea, 0x2d, - 0x5e, 0xcc, 0xd6, 0x3a, 0xca, 0x66, 0x2c, 0xe8, 0x2a, 0x48, 0xa5, 0x44, 0x53, 0xc2, 0xb0, 0x4b, - 0x4a, 0xb2, 0x4d, 0x04, 0x9f, 0xc6, 0xa3, 0x8f, 0xe2, 0xa3, 0xf8, 0x02, 0x5e, 0xa5, 0xfd, 0xdc, - 0x6e, 0xf3, 0x94, 0x1f, 0xf9, 0x7e, 0x7f, 0xbe, 0xdf, 0x87, 0x2e, 0xa5, 0xd6, 0xb2, 0x2a, 0x03, - 0x2e, 0x6c, 0x00, 0xb0, 0x41, 0xeb, 0x30, 0x28, 0x8d, 0xd1, 0xc6, 0x06, 0x2f, 0xe5, 0xdb, 0xab, - 0x36, 0xa2, 0xa8, 0x2b, 0xae, 0x0a, 0x2e, 0x0a, 0x69, 0xf4, 0xaa, 0x2e, 0xda, 0x21, 0xae, 0x8d, - 0x5e, 0x6a, 0x6f, 0x00, 0x32, 0xcc, 0x85, 0xc5, 0x5b, 0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 0x48, 0x08, 0x90, - 0x9e, 0xf6, 0xdb, 0xed, 0xce, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xd8, 0x01, 0x8f, 0x7d, 0x00, - 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/keyword_plan_campaign_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/keyword_plan_campaign_error.pb.go deleted file mode 100644 index d581ae21..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/keyword_plan_campaign_error.pb.go +++ /dev/null @@ -1,142 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/keyword_plan_campaign_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_adc1819a9134bc15, []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_adc1819a9134bc15, []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 (m *KeywordPlanCampaignErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanCampaignErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.KeywordPlanCampaignErrorEnum_KeywordPlanCampaignError", KeywordPlanCampaignErrorEnum_KeywordPlanCampaignError_name, KeywordPlanCampaignErrorEnum_KeywordPlanCampaignError_value) - proto.RegisterType((*KeywordPlanCampaignErrorEnum)(nil), "google.ads.googleads.v2.errors.KeywordPlanCampaignErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/keyword_plan_campaign_error.proto", fileDescriptor_adc1819a9134bc15) -} - -var fileDescriptor_adc1819a9134bc15 = []byte{ - // 367 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xc1, 0x6a, 0xa3, 0x40, - 0x1c, 0xc6, 0x57, 0xb3, 0x9b, 0x85, 0xc9, 0xb2, 0xeb, 0x0a, 0x85, 0x52, 0xd2, 0x1c, 0x7c, 0x80, - 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b, 0xc9, 0x14, 0xfb, 0x6e, 0x88, 0x5d, 0xb2, 0xd0, - 0x7a, 0x5f, 0x41, 0x97, 0xcc, 0x17, 0xda, 0x4f, 0x5d, 0x07, 0x7f, 0x9d, 0x30, 0x98, 0x7a, 0x36, - 0xbe, 0x22, 0xd2, 0xfc, 0xab, 0x31, 0xcf, 0xf0, 0xb2, 0x25, 0x12, 0xb2, 0xb4, 0x09, 0x71, 0x88, - 0xa3, 0xf5, 0xc7, 0x1f, 0x0a, 0x30, 0x56, 0x7c, 0x0d, 0xbf, 0x5f, 0xc3, 0xf8, 0xf4, 0xd0, 0x4f, - 0x04, 0xcd, 0x1e, 0x02, 0xe5, 0xc6, 0xd9, 0x05, 0xe4, 0xbc, 0xa4, 0x2c, 0x87, 0xbc, 0xce, 0xcd, - 0x3c, 0x63, 0xed, 0x96, 0xba, 0xcb, 0x54, 0x85, 0x38, 0x74, 0xa8, 0x73, 0xf9, 0x78, 0x56, 0x7b, - 0x2e, 0xc6, 0x2f, 0xea, 0xc8, 0x95, 0x61, 0x38, 0x15, 0x50, 0xca, 0x46, 0x45, 0x16, 0x6c, 0x2b, - 0xc5, 0x5b, 0x07, 0xc4, 0x38, 0x15, 0xf1, 0x1e, 0x88, 0x23, 0x2b, 0x96, 0xc0, 0xbb, 0x6a, 0xc8, - 0x29, 0x42, 0x38, 0x15, 0x08, 0xed, 0x11, 0x84, 0x22, 0x0b, 0x21, 0x09, 0xdd, 0xf6, 0xdb, 0xaf, - 0x3b, 0xfb, 0x0c, 0x00, 0x00, 0xff, 0xff, 0xa1, 0x1d, 0x95, 0x58, 0x45, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/keyword_plan_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/keyword_plan_error.pb.go deleted file mode 100644 index 9ffe568d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/keyword_plan_error.pb.go +++ /dev/null @@ -1,187 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/keyword_plan_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_fefb4b28507c669c, []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_fefb4b28507c669c, []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 (m *KeywordPlanErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.KeywordPlanErrorEnum_KeywordPlanError", KeywordPlanErrorEnum_KeywordPlanError_name, KeywordPlanErrorEnum_KeywordPlanError_value) - proto.RegisterType((*KeywordPlanErrorEnum)(nil), "google.ads.googleads.v2.errors.KeywordPlanErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/keyword_plan_error.proto", fileDescriptor_fefb4b28507c669c) -} - -var fileDescriptor_fefb4b28507c669c = []byte{ - // 508 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0x4f, 0x8b, 0xd3, 0x4e, - 0x1c, 0xc6, 0x7f, 0x6d, 0x7f, 0xee, 0xea, 0xd4, 0x75, 0xc7, 0x61, 0xd5, 0x65, 0xb7, 0x54, 0xe9, - 0xc5, 0x83, 0x90, 0x40, 0x3d, 0x08, 0xf1, 0x34, 0xe9, 0x4c, 0xd3, 0xa1, 0xe9, 0x4c, 0xc8, 0xbf, - 0x52, 0x29, 0x0c, 0xd1, 0x94, 0x50, 0xec, 0x66, 0x4a, 0x52, 0x57, 0x7c, 0x3b, 0x1e, 0xbd, 0xf8, - 0x36, 0xc4, 0x97, 0xe2, 0xc9, 0x97, 0x20, 0xe9, 0x34, 0x01, 0x77, 0x59, 0x4f, 0xf9, 0xf2, 0x7c, - 0x3f, 0xcf, 0x93, 0xc9, 0xe4, 0x01, 0x6f, 0x32, 0xa5, 0xb2, 0xcd, 0xca, 0x4c, 0xd2, 0xd2, 0xd4, - 0x63, 0x35, 0x5d, 0x0f, 0xcd, 0x55, 0x51, 0xa8, 0xa2, 0x34, 0x3f, 0xae, 0xbe, 0x7c, 0x56, 0x45, - 0x2a, 0xb7, 0x9b, 0x24, 0x97, 0x7b, 0xcd, 0xd8, 0x16, 0x6a, 0xa7, 0x50, 0x5f, 0xd3, 0x46, 0x92, - 0x96, 0x46, 0x63, 0x34, 0xae, 0x87, 0x86, 0x36, 0x5e, 0xf4, 0xea, 0xe0, 0xed, 0xda, 0x4c, 0xf2, - 0x5c, 0xed, 0x92, 0xdd, 0x5a, 0xe5, 0xa5, 0x76, 0x0f, 0x7e, 0x74, 0xc0, 0xd9, 0x54, 0x47, 0x7b, - 0x9b, 0x24, 0xa7, 0x95, 0x87, 0xe6, 0x9f, 0xae, 0x06, 0xdf, 0x3b, 0x00, 0xde, 0x5c, 0xa0, 0x53, - 0xd0, 0x8d, 0x78, 0xe0, 0xd1, 0x11, 0x1b, 0x33, 0x4a, 0xe0, 0x7f, 0xa8, 0x0b, 0x8e, 0x23, 0x3e, - 0xe5, 0x62, 0xce, 0x61, 0x0b, 0x3d, 0x07, 0x97, 0x36, 0x23, 0x72, 0x16, 0xb9, 0x21, 0xf3, 0x5c, - 0x46, 0x7d, 0x29, 0xa2, 0x50, 0x8a, 0xb1, 0xf4, 0x31, 0x77, 0x28, 0x6c, 0x23, 0x08, 0x1e, 0x56, - 0x40, 0x28, 0x84, 0x9c, 0x30, 0x67, 0x02, 0x3b, 0x55, 0x60, 0xad, 0xb8, 0x62, 0x0e, 0xff, 0x47, - 0x03, 0xd0, 0xaf, 0x85, 0x19, 0xe6, 0x0b, 0x39, 0xf6, 0xf1, 0x28, 0x64, 0x82, 0x63, 0x57, 0x12, - 0xe6, 0xb0, 0x30, 0x80, 0xf7, 0xd0, 0x39, 0x38, 0x23, 0x98, 0xb9, 0x0b, 0x69, 0x47, 0xc4, 0xa1, - 0x61, 0xe3, 0x3e, 0x42, 0xaf, 0xc0, 0xcb, 0x5b, 0x9b, 0x3b, 0x62, 0x8e, 0xd1,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 0xc0, 0x32, 0x1e, 0x2e, 0x35, 0xf0, 0xab, 0x3d, 0xd0, 0xaa, 0x65, 0xe1, 0xb4, 0xb4, - 0xac, 0x06, 0xb1, 0xac, 0x78, 0x68, 0x59, 0x1a, 0x7a, 0x7f, 0xb4, 0x3f, 0xdd, 0xeb, 0x3f, 0x01, - 0x00, 0x00, 0xff, 0xff, 0xa7, 0x5c, 0x7f, 0xb8, 0x3d, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/keyword_plan_idea_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/keyword_plan_idea_error.pb.go deleted file mode 100644 index 5a8bff5c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/keyword_plan_idea_error.pb.go +++ /dev/null @@ -1,125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/keyword_plan_idea_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_b52051ec051c7273, []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_b52051ec051c7273, []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 (m *KeywordPlanIdeaErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanIdeaErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.KeywordPlanIdeaErrorEnum_KeywordPlanIdeaError", KeywordPlanIdeaErrorEnum_KeywordPlanIdeaError_name, KeywordPlanIdeaErrorEnum_KeywordPlanIdeaError_value) - proto.RegisterType((*KeywordPlanIdeaErrorEnum)(nil), "google.ads.googleads.v2.errors.KeywordPlanIdeaErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/keyword_plan_idea_error.proto", fileDescriptor_b52051ec051c7273) -} - -var fileDescriptor_b52051ec051c7273 = []byte{ - // 326 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xf3, 0x30, - 0x1c, 0xc5, 0xbf, 0x75, 0xf0, 0x09, 0x19, 0xb2, 0x5a, 0xbd, 0x50, 0x91, 0x5d, 0xf4, 0x01, 0x52, - 0xa8, 0x77, 0xd1, 0x9b, 0x6c, 0xab, 0xa3, 0xac, 0x74, 0xa5, 0xd2, 0x0e, 0xa4, 0x50, 0xa2, 0x09, - 0xa1, 0xd8, 0x25, 0x25, 0x99, 0x53, 0x5f, 0xc7, 0x4b, 0x1f, 0xc5, 0x47, 0xf1, 0xda, 0x07, 0x90, - 0x36, 0x6e, 0x57, 0xd3, 0xab, 0x1c, 0xf2, 0x3f, 0xbf, 0x93, 0x93, 0x3f, 0xb8, 0xe6, 0x52, 0xf2, - 0x9a, 0x79, 0x84, 0x6a, 0xcf, 0xc8, 0x56, 0x6d, 0x7c, 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, - 0x91, 0xad, 0xca, 0x7d, 0xd8, 0x3d, 0xa9, 0x3f, 0xb6, 0x86, 0x02, 0x53, 0x5d, 0xec, 0x0c, 0x45, - 0xee, 0x17, 0xc6, 0xf0, 0x69, 0xb9, 0xe6, 0x16, 0x21, 0x4c, 0x35, 0x42, 0x3b, 0x0b, 0x42, 0xb9, - 0x8f, 0x90, 0x31, 0xdd, 0xff, 0xef, 0xda, 0x5d, 0x7e, 0x07, 0x00, 0x00, 0xff, 0xff, 0x66, 0x3f, - 0x4b, 0xfb, 0xf5, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/keyword_plan_keyword_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/keyword_plan_keyword_error.pb.go deleted file mode 100644 index cc7012ba..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/keyword_plan_keyword_error.pb.go +++ /dev/null @@ -1,147 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/keyword_plan_keyword_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_599d218080eb4c98, []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_599d218080eb4c98, []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 (m *KeywordPlanKeywordErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanKeywordErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.KeywordPlanKeywordErrorEnum_KeywordPlanKeywordError", KeywordPlanKeywordErrorEnum_KeywordPlanKeywordError_name, KeywordPlanKeywordErrorEnum_KeywordPlanKeywordError_value) - proto.RegisterType((*KeywordPlanKeywordErrorEnum)(nil), "google.ads.googleads.v2.errors.KeywordPlanKeywordErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/keyword_plan_keyword_error.proto", fileDescriptor_599d218080eb4c98) -} - -var fileDescriptor_599d218080eb4c98 = []byte{ - // 395 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xcd, 0x6e, 0xd3, 0x30, - 0x00, 0xa6, 0x19, 0x6c, 0x92, 0x77, 0xc0, 0x58, 0x4c, 0xb0, 0x31, 0x7a, 0xc8, 0x03, 0x38, 0x52, - 0xb8, 0x99, 0x03, 0xf2, 0x12, 0xd3, 0x46, 0xed, 0x92, 0x68, 0x49, 0x33, 0x8a, 0x22, 0x59, 0x81, - 0x44, 0x51, 0x45, 0x66, 0x47, 0x71, 0x19, 0xe2, 0xca, 0xa3, 0x70, 0xe4, 0x51, 0x78, 0x0c, 0x8e, - 0xbc, 0x00, 0x57, 0xe4, 0x78, 0xae, 0x10, 0x52, 0x77, 0xca, 0x17, 0x7f, 0x7f, 0xd6, 0x67, 0xf0, - 0xa6, 0x95, 0xb2, 0xed, 0x1a, 0xaf, 0xaa, 0x95, 0x67, 0xa0, 0x46, 0xb7, 0xbe, 0xd7, 0x0c, 0x83, - 0x1c, 0x94, 0xf7, 0xa9, 0xf9, 0xfa, 0x45, 0x0e, 0x35, 0xef, 0xbb, 0x4a, 0x70, 0xfb, 0x33, 0x72, - 0xb8, 0x1f, 0xe4, 0x56, 0xa2, 0xa9, 0x71, 0xe1, 0xaa, 0x56, 0x78, 0x17, 0x80, 0x6f, 0x7d, 0x6c, - 0x02, 0xce, 0xce, 0x6d, 0x41, 0xbf, 0xf1, 0x2a, 0x21, 0xe4, 0xb6, 0xda, 0x6e, 0xa4, 0x50, 0xc6, - 0xed, 0x7e, 0x73, 0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0xbb, 0x73, 0x30, 0xa3, 0xf4, 0x87, 0x33, 0x9d, - 0x99, 0x30, 0x5a, 0x2b, 0x6c, 0xa0, 0x46, 0x85, 0x8f, 0xc7, 0x4a, 0xf5, 0xd3, 0x0a, 0x4a, 0x5a, - 0xab, 0x72, 0x27, 0x28, 0x0b, 0xbf, 0x34, 0x82, 0xdf, 0x8e, 0x6b, 0x4e, 0x09, 0xa1, 0xb5, 0x22, - 0x64, 0x27, 0x21, 0xa4, 0xf0, 0x09, 0x31, 0xa2, 0x0f, 0x87, 0xe3, 0xed, 0x5e, 0xfd, 0x0d, 0x00, - 0x00, 0xff, 0xff, 0x0b, 0x07, 0x3c, 0x9d, 0x86, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/keyword_plan_negative_keyword_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/keyword_plan_negative_keyword_error.pb.go deleted file mode 100644 index 8fd31ed0..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/keyword_plan_negative_keyword_error.pb.go +++ /dev/null @@ -1,117 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/keyword_plan_negative_keyword_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_fb5cae318ffa1732, []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_fb5cae318ffa1732, []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 (m *KeywordPlanNegativeKeywordErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanNegativeKeywordErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.KeywordPlanNegativeKeywordErrorEnum_KeywordPlanNegativeKeywordError", KeywordPlanNegativeKeywordErrorEnum_KeywordPlanNegativeKeywordError_name, KeywordPlanNegativeKeywordErrorEnum_KeywordPlanNegativeKeywordError_value) - proto.RegisterType((*KeywordPlanNegativeKeywordErrorEnum)(nil), "google.ads.googleads.v2.errors.KeywordPlanNegativeKeywordErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/keyword_plan_negative_keyword_error.proto", fileDescriptor_fb5cae318ffa1732) -} - -var fileDescriptor_fb5cae318ffa1732 = []byte{ - // 297 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0xc1, 0x4a, 0xf4, 0x30, - 0x14, 0x85, 0xff, 0xf6, 0x07, 0x85, 0xcc, 0xc2, 0xa1, 0x4b, 0x91, 0x11, 0xaa, 0xeb, 0x04, 0xea, - 0x2e, 0x2e, 0xa4, 0xe3, 0xd4, 0x71, 0x18, 0xa8, 0x05, 0x99, 0x0a, 0x52, 0x28, 0xd1, 0xc4, 0x50, - 0xec, 0x24, 0x25, 0xa9, 0x15, 0x5f, 0xc7, 0xa5, 0x8f, 0xe2, 0xa3, 0xf8, 0x12, 0x4a, 0x7b, 0xdb, - 0xee, 0x74, 0x56, 0x39, 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 0xfd, 0x1c, 0x80, 0x2c, 0xe4, - 0x36, 0x1b, 0x81, 0x2c, 0x0d, 0x32, 0x00, 0xbe, 0x5c, 0x1f, 0xa6, 0x94, 0x86, 0xdc, 0x52, 0x3a, - 0x22, 0x94, 0xa6, 0x01, 0xa5, 0x00, 0x3d, 0xec, 0x75, 0xed, 0xce, 0x7e, 0x02, 0x00, 0x00, 0xff, - 0xff, 0xda, 0x8c, 0x72, 0x6e, 0xfa, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/label_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/label_error.pb.go deleted file mode 100644 index 981dce64..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/label_error.pb.go +++ /dev/null @@ -1,164 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/label_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible label errors. -type LabelErrorEnum_LabelError int32 - -const ( - // Enum unspecified. - LabelErrorEnum_UNSPECIFIED LabelErrorEnum_LabelError = 0 - // The received error code is not known in this version. - LabelErrorEnum_UNKNOWN LabelErrorEnum_LabelError = 1 - // An inactive label cannot be applied. - LabelErrorEnum_CANNOT_APPLY_INACTIVE_LABEL LabelErrorEnum_LabelError = 2 - // A label cannot be applied to a disabled ad group criterion. - LabelErrorEnum_CANNOT_APPLY_LABEL_TO_DISABLED_AD_GROUP_CRITERION LabelErrorEnum_LabelError = 3 - // A label cannot be applied to a negative ad group criterion. - LabelErrorEnum_CANNOT_APPLY_LABEL_TO_NEGATIVE_AD_GROUP_CRITERION LabelErrorEnum_LabelError = 4 - // Cannot apply more than 50 labels per resource. - LabelErrorEnum_EXCEEDED_LABEL_LIMIT_PER_TYPE LabelErrorEnum_LabelError = 5 - // Labels from a manager account cannot be applied to campaign, ad group, - // ad group ad, or ad group criterion resources. - LabelErrorEnum_INVALID_RESOURCE_FOR_MANAGER_LABEL LabelErrorEnum_LabelError = 6 - // Label names must be unique. - LabelErrorEnum_DUPLICATE_NAME LabelErrorEnum_LabelError = 7 - // Label names cannot be empty. - LabelErrorEnum_INVALID_LABEL_NAME LabelErrorEnum_LabelError = 8 - // Labels cannot be applied to a draft. - LabelErrorEnum_CANNOT_ATTACH_LABEL_TO_DRAFT LabelErrorEnum_LabelError = 9 - // Labels not from a manager account cannot be applied to the customer - // resource. - LabelErrorEnum_CANNOT_ATTACH_NON_MANAGER_LABEL_TO_CUSTOMER LabelErrorEnum_LabelError = 10 -) - -var LabelErrorEnum_LabelError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "CANNOT_APPLY_INACTIVE_LABEL", - 3: "CANNOT_APPLY_LABEL_TO_DISABLED_AD_GROUP_CRITERION", - 4: "CANNOT_APPLY_LABEL_TO_NEGATIVE_AD_GROUP_CRITERION", - 5: "EXCEEDED_LABEL_LIMIT_PER_TYPE", - 6: "INVALID_RESOURCE_FOR_MANAGER_LABEL", - 7: "DUPLICATE_NAME", - 8: "INVALID_LABEL_NAME", - 9: "CANNOT_ATTACH_LABEL_TO_DRAFT", - 10: "CANNOT_ATTACH_NON_MANAGER_LABEL_TO_CUSTOMER", -} - -var LabelErrorEnum_LabelError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "CANNOT_APPLY_INACTIVE_LABEL": 2, - "CANNOT_APPLY_LABEL_TO_DISABLED_AD_GROUP_CRITERION": 3, - "CANNOT_APPLY_LABEL_TO_NEGATIVE_AD_GROUP_CRITERION": 4, - "EXCEEDED_LABEL_LIMIT_PER_TYPE": 5, - "INVALID_RESOURCE_FOR_MANAGER_LABEL": 6, - "DUPLICATE_NAME": 7, - "INVALID_LABEL_NAME": 8, - "CANNOT_ATTACH_LABEL_TO_DRAFT": 9, - "CANNOT_ATTACH_NON_MANAGER_LABEL_TO_CUSTOMER": 10, -} - -func (x LabelErrorEnum_LabelError) String() string { - return proto.EnumName(LabelErrorEnum_LabelError_name, int32(x)) -} - -func (LabelErrorEnum_LabelError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_51e059200f18f70d, []int{0, 0} -} - -// Container for enum describing possible label errors. -type LabelErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LabelErrorEnum) Reset() { *m = LabelErrorEnum{} } -func (m *LabelErrorEnum) String() string { return proto.CompactTextString(m) } -func (*LabelErrorEnum) ProtoMessage() {} -func (*LabelErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_51e059200f18f70d, []int{0} -} - -func (m *LabelErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LabelErrorEnum.Unmarshal(m, b) -} -func (m *LabelErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LabelErrorEnum.Marshal(b, m, deterministic) -} -func (m *LabelErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelErrorEnum.Merge(m, src) -} -func (m *LabelErrorEnum) XXX_Size() int { - return xxx_messageInfo_LabelErrorEnum.Size(m) -} -func (m *LabelErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_LabelErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_LabelErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.errors.LabelErrorEnum_LabelError", LabelErrorEnum_LabelError_name, LabelErrorEnum_LabelError_value) - proto.RegisterType((*LabelErrorEnum)(nil), "google.ads.googleads.v2.errors.LabelErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/label_error.proto", fileDescriptor_51e059200f18f70d) -} - -var fileDescriptor_51e059200f18f70d = []byte{ - // 466 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xc1, 0x6e, 0xd3, 0x40, - 0x10, 0x40, 0x49, 0x02, 0x2d, 0x6c, 0xa5, 0xd6, 0xda, 0x03, 0x07, 0x28, 0x05, 0x72, 0xe0, 0x82, - 0x64, 0x43, 0x10, 0x17, 0x73, 0x9a, 0xd8, 0x13, 0xb3, 0xc2, 0x59, 0x5b, 0x9b, 0xb5, 0xa1, 0x28, - 0xd2, 0xca, 0xc5, 0x91, 0x15, 0x29, 0xf5, 0x46, 0x76, 0xe8, 0x0f, 0xf0, 0x0f, 0x7c, 0x00, 0x47, - 0x3e, 0x85, 0x4f, 0xe9, 0x57, 0x20, 0x7b, 0xe3, 0x94, 0x48, 0xb4, 0x27, 0x8f, 0x47, 0xef, 0xcd, - 0xcc, 0x6a, 0x86, 0xbc, 0x29, 0xb4, 0x2e, 0x56, 0x0b, 0x27, 0xcb, 0x6b, 0xc7, 0x84, 0x4d, 0x74, - 0x35, 0x72, 0x16, 0x55, 0xa5, 0xab, 0xda, 0x59, 0x65, 0x17, 0x8b, 0x95, 0x6a, 0x7f, 0xec, 0x75, - 0xa5, 0x37, 0x9a, 0x9e, 0x19, 0xcc, 0xce, 0xf2, 0xda, 0xde, 0x19, 0xf6, 0xd5, 0xc8, 0x36, 0xc6, - 0x93, 0xd3, 0xae, 0xe2, 0x7a, 0xe9, 0x64, 0x65, 0xa9, 0x37, 0xd9, 0x66, 0xa9, 0xcb, 0xda, 0xd8, - 0xc3, 0x9f, 0x03, 0x72, 0x1c, 0x36, 0x35, 0xb1, 0xa1, 0xb1, 0xfc, 0x7e, 0x39, 0xfc, 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 0x2d, 0x1b, 0xda, 0x4b, 0x66, 0x32, 0x9a, 0xa2, 0xb0, 0xc8, 0xf8, - 0xba, 0x47, 0x86, 0xdf, 0xf4, 0xa5, 0x7d, 0xf7, 0x76, 0xc7, 0x27, 0x37, 0x9b, 0x8a, 0x9b, 0x85, - 0xc6, 0xbd, 0xaf, 0xfe, 0x56, 0x29, 0xf4, 0x2a, 0x2b, 0x0b, 0x5b, 0x57, 0x85, 0x53, 0x2c, 0xca, - 0x76, 0xdd, 0xdd, 0x49, 0xad, 0x97, 0xf5, 0x6d, 0x17, 0xf6, 0xc1, 0x7c, 0x7e, 0xf5, 0x07, 0x01, - 0xc0, 0xef, 0xfe, 0x59, 0x60, 0x8a, 0x41, 0x5e, 0xdb, 0x26, 0x6c, 0xa2, 0x74, 0x64, 0xb7, 0x2d, - 0xeb, 0x3f, 0x1d, 0x30, 0x87, 0xbc, 0x9e, 0xef, 0x80, 0x79, 0x3a, 0x9a, 0x1b, 0xe0, 0xba, 0x3f, - 0x34, 0x59, 0xd7, 0x85, 0xbc, 0x76, 0xdd, 0x1d, 0xe2, 0xba, 0xe9, 0xc8, 0x75, 0x0d, 0x74, 0x71, - 0xd0, 0x4e, 0xf7, 0xee, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf9, 0xa2, 0x2c, 0x32, 0xfe, 0x02, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/language_code_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/language_code_error.pb.go deleted file mode 100644 index ce93f29a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/language_code_error.pb.go +++ /dev/null @@ -1,125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/language_code_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing language code errors. -type LanguageCodeErrorEnum_LanguageCodeError int32 - -const ( - // Enum unspecified. - LanguageCodeErrorEnum_UNSPECIFIED LanguageCodeErrorEnum_LanguageCodeError = 0 - // The received error code is not known in this version. - LanguageCodeErrorEnum_UNKNOWN LanguageCodeErrorEnum_LanguageCodeError = 1 - // The input language code is not recognized. - LanguageCodeErrorEnum_LANGUAGE_CODE_NOT_FOUND LanguageCodeErrorEnum_LanguageCodeError = 2 - // The language is not allowed to use. - LanguageCodeErrorEnum_INVALID_LANGUAGE_CODE LanguageCodeErrorEnum_LanguageCodeError = 3 -) - -var LanguageCodeErrorEnum_LanguageCodeError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "LANGUAGE_CODE_NOT_FOUND", - 3: "INVALID_LANGUAGE_CODE", -} - -var LanguageCodeErrorEnum_LanguageCodeError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "LANGUAGE_CODE_NOT_FOUND": 2, - "INVALID_LANGUAGE_CODE": 3, -} - -func (x LanguageCodeErrorEnum_LanguageCodeError) String() string { - return proto.EnumName(LanguageCodeErrorEnum_LanguageCodeError_name, int32(x)) -} - -func (LanguageCodeErrorEnum_LanguageCodeError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_261940c7f9ccc516, []int{0, 0} -} - -// Container for enum describing language code errors. -type LanguageCodeErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LanguageCodeErrorEnum) Reset() { *m = LanguageCodeErrorEnum{} } -func (m *LanguageCodeErrorEnum) String() string { return proto.CompactTextString(m) } -func (*LanguageCodeErrorEnum) ProtoMessage() {} -func (*LanguageCodeErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_261940c7f9ccc516, []int{0} -} - -func (m *LanguageCodeErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LanguageCodeErrorEnum.Unmarshal(m, b) -} -func (m *LanguageCodeErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LanguageCodeErrorEnum.Marshal(b, m, deterministic) -} -func (m *LanguageCodeErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_LanguageCodeErrorEnum.Merge(m, src) -} -func (m *LanguageCodeErrorEnum) XXX_Size() int { - return xxx_messageInfo_LanguageCodeErrorEnum.Size(m) -} -func (m *LanguageCodeErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_LanguageCodeErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_LanguageCodeErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.errors.LanguageCodeErrorEnum_LanguageCodeError", LanguageCodeErrorEnum_LanguageCodeError_name, LanguageCodeErrorEnum_LanguageCodeError_value) - proto.RegisterType((*LanguageCodeErrorEnum)(nil), "google.ads.googleads.v2.errors.LanguageCodeErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/language_code_error.proto", fileDescriptor_261940c7f9ccc516) -} - -var fileDescriptor_261940c7f9ccc516 = []byte{ - // 325 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x4f, 0x4a, 0xc3, 0x40, - 0x14, 0xc6, 0x4d, 0x0a, 0x0a, 0xd3, 0x85, 0x31, 0x50, 0xc5, 0x3f, 0x74, 0x91, 0x03, 0x4c, 0x20, - 0x6e, 0x64, 0x5c, 0x4d, 0x9b, 0x34, 0x04, 0xcb, 0xa4, 0xa0, 0x89, 0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0x9f, 0x64, 0x74, 0x7e, 0x70, 0xcf, 0xac, 0xc9, 0x30, 0x33, 0x5e, 0xfc, 0x9d, 0x53, - 0x40, 0xd3, 0x13, 0x86, 0x5a, 0xb8, 0xa2, 0x94, 0x6d, 0xc2, 0x7d, 0x9b, 0xab, 0x4a, 0xfd, 0x55, - 0xee, 0xbd, 0xfe, 0xbc, 0x9b, 0xbd, 0x90, 0xd2, 0x0f, 0x73, 0x18, 0xea, 0x65, 0x94, 0x2b, 0xac, - 0x65, 0xa3, 0x52, 0x0f, 0xb7, 0x4f, 0xaa, 0xcf, 0x3d, 0x90, 0x51, 0xae, 0xb2, 0x0e, 0xc8, 0x52, - 0x2f, 0xd3, 0xc0, 0x97, 0xe9, 0xe8, 0x29, 0x21, 0x94, 0x2b, 0x42, 0x3a, 0x84, 0x90, 0xd4, 0x23, - 0x44, 0x43, 0xaf, 0xc7, 0xed, 0x75, 0xb7, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xf9, 0x03, 0x5d, - 0x52, 0xf9, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/list_operation_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/list_operation_error.pb.go deleted file mode 100644 index 240fe79e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/list_operation_error.pb.go +++ /dev/null @@ -1,125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/list_operation_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_1e35e524598a82da, []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_1e35e524598a82da, []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 (m *ListOperationErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListOperationErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.ListOperationErrorEnum_ListOperationError", ListOperationErrorEnum_ListOperationError_name, ListOperationErrorEnum_ListOperationError_value) - proto.RegisterType((*ListOperationErrorEnum)(nil), "google.ads.googleads.v2.errors.ListOperationErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/list_operation_error.proto", fileDescriptor_1e35e524598a82da) -} - -var fileDescriptor_1e35e524598a82da = []byte{ - // 326 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xc3, 0x30, - 0x1c, 0xc6, 0xdd, 0x04, 0x27, 0xd9, 0xc1, 0x52, 0x64, 0xc2, 0x90, 0x1d, 0xfa, 0x00, 0x29, 0xd4, - 0x93, 0xf1, 0x94, 0xad, 0xd9, 0x08, 0xd6, 0xae, 0xae, 0xb6, 0x82, 0x14, 0x4a, 0xb5, 0x25, 0x14, - 0xb6, 0xa4, 0x24, 0x75, 0x47, 0x1f, 0xc6, 0xa3, 0x8f, 0xe2, 0xa3, 0x78, 0xf4, 0x09, 0xa4, 0x8d, - 0xed, 0x65, 0xe8, 0xa9, 0x1f, 0xff, 0xfe, 0xbe, 0x2f, 0xdf, 0xff, 0x0f, 0xae, 0x99, 0x10, 0x6c, - 0x5b, 0xd8, 0x59, 0xae, 0x6c, 0x2d, 0x1b, 0xb5, 0x77, 0xec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d4, 0xb2, 0x51, 0xb1, 0x03, 0xdb, 0x27, 0xd5, 0x67, 0x07, 0x24, 0x38, 0x57, 0x49, 0x0f, 0x24, - 0xb1, 0x93, 0x68, 0xe0, 0x6b, 0x68, 0xe9, 0x29, 0x42, 0x38, 0x57, 0x08, 0xf5, 0x08, 0x42, 0xb1, - 0x83, 0x90, 0x86, 0x9e, 0x4f, 0xda, 0x76, 0x57, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xd9, 0x06, - 0x8a, 0x69, 0xf6, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/manager_link_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/manager_link_error.pb.go deleted file mode 100644 index 02ac8f9c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/manager_link_error.pb.go +++ /dev/null @@ -1,187 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/manager_link_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible ManagerLink errors. -type ManagerLinkErrorEnum_ManagerLinkError int32 - -const ( - // Enum unspecified. - ManagerLinkErrorEnum_UNSPECIFIED ManagerLinkErrorEnum_ManagerLinkError = 0 - // The received error code is not known in this version. - ManagerLinkErrorEnum_UNKNOWN ManagerLinkErrorEnum_ManagerLinkError = 1 - // The manager and client have incompatible account types. - ManagerLinkErrorEnum_ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING ManagerLinkErrorEnum_ManagerLinkError = 2 - // Client is already linked to too many managers. - ManagerLinkErrorEnum_TOO_MANY_MANAGERS ManagerLinkErrorEnum_ManagerLinkError = 3 - // Manager has too many pending invitations. - ManagerLinkErrorEnum_TOO_MANY_INVITES ManagerLinkErrorEnum_ManagerLinkError = 4 - // Client is already invited by this manager. - ManagerLinkErrorEnum_ALREADY_INVITED_BY_THIS_MANAGER ManagerLinkErrorEnum_ManagerLinkError = 5 - // The client is already managed by this manager. - ManagerLinkErrorEnum_ALREADY_MANAGED_BY_THIS_MANAGER ManagerLinkErrorEnum_ManagerLinkError = 6 - // Client is already managed in hierarchy. - ManagerLinkErrorEnum_ALREADY_MANAGED_IN_HIERARCHY ManagerLinkErrorEnum_ManagerLinkError = 7 - // Manger and sub-manager to be linked have duplicate client. - ManagerLinkErrorEnum_DUPLICATE_CHILD_FOUND ManagerLinkErrorEnum_ManagerLinkError = 8 - // Client has no active user that can access the client account. - ManagerLinkErrorEnum_CLIENT_HAS_NO_ADMIN_USER ManagerLinkErrorEnum_ManagerLinkError = 9 - // Adding this link would exceed the maximum hierarchy depth. - ManagerLinkErrorEnum_MAX_DEPTH_EXCEEDED ManagerLinkErrorEnum_ManagerLinkError = 10 - // Adding this link will create a cycle. - ManagerLinkErrorEnum_CYCLE_NOT_ALLOWED ManagerLinkErrorEnum_ManagerLinkError = 11 - // Manager account has the maximum number of linked clients. - ManagerLinkErrorEnum_TOO_MANY_ACCOUNTS ManagerLinkErrorEnum_ManagerLinkError = 12 - // Parent manager account has the maximum number of linked clients. - ManagerLinkErrorEnum_TOO_MANY_ACCOUNTS_AT_MANAGER ManagerLinkErrorEnum_ManagerLinkError = 13 - // The account is not authorized owner. - ManagerLinkErrorEnum_NON_OWNER_USER_CANNOT_MODIFY_LINK ManagerLinkErrorEnum_ManagerLinkError = 14 - // Your manager account is suspended, and you are no longer allowed to link - // to clients. - ManagerLinkErrorEnum_SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS ManagerLinkErrorEnum_ManagerLinkError = 15 -) - -var ManagerLinkErrorEnum_ManagerLinkError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING", - 3: "TOO_MANY_MANAGERS", - 4: "TOO_MANY_INVITES", - 5: "ALREADY_INVITED_BY_THIS_MANAGER", - 6: "ALREADY_MANAGED_BY_THIS_MANAGER", - 7: "ALREADY_MANAGED_IN_HIERARCHY", - 8: "DUPLICATE_CHILD_FOUND", - 9: "CLIENT_HAS_NO_ADMIN_USER", - 10: "MAX_DEPTH_EXCEEDED", - 11: "CYCLE_NOT_ALLOWED", - 12: "TOO_MANY_ACCOUNTS", - 13: "TOO_MANY_ACCOUNTS_AT_MANAGER", - 14: "NON_OWNER_USER_CANNOT_MODIFY_LINK", - 15: "SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS", -} - -var ManagerLinkErrorEnum_ManagerLinkError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING": 2, - "TOO_MANY_MANAGERS": 3, - "TOO_MANY_INVITES": 4, - "ALREADY_INVITED_BY_THIS_MANAGER": 5, - "ALREADY_MANAGED_BY_THIS_MANAGER": 6, - "ALREADY_MANAGED_IN_HIERARCHY": 7, - "DUPLICATE_CHILD_FOUND": 8, - "CLIENT_HAS_NO_ADMIN_USER": 9, - "MAX_DEPTH_EXCEEDED": 10, - "CYCLE_NOT_ALLOWED": 11, - "TOO_MANY_ACCOUNTS": 12, - "TOO_MANY_ACCOUNTS_AT_MANAGER": 13, - "NON_OWNER_USER_CANNOT_MODIFY_LINK": 14, - "SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS": 15, -} - -func (x ManagerLinkErrorEnum_ManagerLinkError) String() string { - return proto.EnumName(ManagerLinkErrorEnum_ManagerLinkError_name, int32(x)) -} - -func (ManagerLinkErrorEnum_ManagerLinkError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a1172f858bfe3753, []int{0, 0} -} - -// Container for enum describing possible ManagerLink errors. -type ManagerLinkErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ManagerLinkErrorEnum) Reset() { *m = ManagerLinkErrorEnum{} } -func (m *ManagerLinkErrorEnum) String() string { return proto.CompactTextString(m) } -func (*ManagerLinkErrorEnum) ProtoMessage() {} -func (*ManagerLinkErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_a1172f858bfe3753, []int{0} -} - -func (m *ManagerLinkErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ManagerLinkErrorEnum.Unmarshal(m, b) -} -func (m *ManagerLinkErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ManagerLinkErrorEnum.Marshal(b, m, deterministic) -} -func (m *ManagerLinkErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ManagerLinkErrorEnum.Merge(m, src) -} -func (m *ManagerLinkErrorEnum) XXX_Size() int { - return xxx_messageInfo_ManagerLinkErrorEnum.Size(m) -} -func (m *ManagerLinkErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_ManagerLinkErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_ManagerLinkErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.errors.ManagerLinkErrorEnum_ManagerLinkError", ManagerLinkErrorEnum_ManagerLinkError_name, ManagerLinkErrorEnum_ManagerLinkError_value) - proto.RegisterType((*ManagerLinkErrorEnum)(nil), "google.ads.googleads.v2.errors.ManagerLinkErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/manager_link_error.proto", fileDescriptor_a1172f858bfe3753) -} - -var fileDescriptor_a1172f858bfe3753 = []byte{ - // 538 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x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x85, 0xc3, 0x66, 0x84, 0x7b, 0xe8, 0x25, 0x78, 0x2e, 0xa4, 0x50, 0x72, - 0x2a, 0x98, 0x5f, 0xdd, 0xad, 0x08, 0x16, 0x65, 0x6f, 0x57, 0x52, 0x3e, 0x9a, 0x55, 0x3b, 0x86, - 0xf7, 0xd1, 0x6b, 0xf0, 0x22, 0x88, 0x02, 0x8f, 0x09, 0xca, 0x68, 0xdd, 0xa9, 0x26, 0x31, 0xa5, - 0x4a, 0x4f, 0x12, 0xc0, 0xe3, 0xe1, 0x8f, 0x03, 0xd0, 0xff, 0x98, 0x6d, 0x8c, 0xff, 0x87, 0x68, - 0xd8, 0xdd, 0x8f, 0x82, 0x57, 0xa6, 0xc7, 0x3b, 0x78, 0x4f, 0x7f, 0x1b, 0x93, 0x6c, 0x1d, 0xa7, - 0x89, 0x91, 0xe5, 0x89, 0x99, 0x2c, 0xd3, 0x2a, 0x5b, 0x75, 0x8c, 0xb7, 0xab, 0xe2, 0x5f, 0xa9, - 0x7e, 0xa7, 0x7f, 0x9f, 0x5b, 0xed, 0x31, 0xc6, 0x5f, 0x5a, 0xa7, 0x63, 0xdd, 0x0c, 0x2f, 0x0a, - 0x43, 0x97, 0x65, 0x35, 0x19, 0x18, 0xd5, 0x95, 0xc5, 0xd7, 0x1a, 0x98, 0xe3, 0x45, 0x31, 0x6f, - 0x80, 0xf9, 0x64, 0x30, 0xd7, 0xc0, 0xf7, 0x56, 0x5f, 0xab, 0x96, 0x85, 0x17, 0x85, 0x65, 0x35, - 0x88, 0x65, 0x4d, 0x06, 0x96, 0xa5, 0xa1, 0x0f, 0x87, 0xd5, 0xeb, 0xde, 0xfc, 0x0a, 0x00, 0x00, - 0xff, 0xff, 0xac, 0x10, 0xd4, 0x40, 0x72, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/media_bundle_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/media_bundle_error.pb.go deleted file mode 100644 index c3fec673..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/media_bundle_error.pb.go +++ /dev/null @@ -1,225 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/media_bundle_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_3ef7e4b3381ea556, []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_3ef7e4b3381ea556, []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 (m *MediaBundleErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_MediaBundleErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.MediaBundleErrorEnum_MediaBundleError", MediaBundleErrorEnum_MediaBundleError_name, MediaBundleErrorEnum_MediaBundleError_value) - proto.RegisterType((*MediaBundleErrorEnum)(nil), "google.ads.googleads.v2.errors.MediaBundleErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/media_bundle_error.proto", fileDescriptor_3ef7e4b3381ea556) -} - -var fileDescriptor_3ef7e4b3381ea556 = []byte{ - // 641 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x53, 0xdd, 0x6a, 0x13, 0x41, - 0x14, 0xb6, 0xad, 0x6d, 0x75, 0xfa, 0x37, 0x9d, 0x36, 0xf6, 0xc7, 0x9a, 0x8b, 0x80, 0x82, 0x0a, - 0x1b, 0x88, 0x88, 0xb0, 0x5e, 0xcd, 0x66, 0x4f, 0xb6, 0x43, 0x67, 0x67, 0xd6, 0x99, 0xd9, 0xa4, - 0x29, 0x81, 0x21, 0x35, 0x21, 0x04, 0xda, 0x6c, 0xc9, 0xb6, 0x7d, 0x1d, 0xc1, 0x4b, 0x9f, 0xc0, - 0x67, 0xf0, 0x51, 0xbc, 0xf2, 0x11, 0x64, 0xb2, 0x4d, 0x68, 0x4b, 0xf4, 0x6a, 0x0e, 0xdf, 0xf9, - 0xbe, 0xef, 0xfc, 0x30, 0x07, 0x7d, 0x1a, 0x64, 0xd9, 0xe0, 0xa2, 0x5f, 0xed, 0xf6, 0xf2, 0x6a, - 0x11, 0xba, 0xe8, 0xb6, 0x56, 0xed, 0x8f, 0xc7, 0xd9, 0x38, 0xaf, 0x5e, 0xf6, 0x7b, 0xc3, 0xae, - 0x3d, 0xbf, 0x19, 0xf5, 0x2e, 0xfa, 0x76, 0x82, 0x79, 0x57, 0xe3, 0xec, 0x3a, 0x23, 0xe5, 0x82, - 0xed, 0x75, 0x7b, 0xb9, 0x37, 0x13, 0x7a, 0xb7, 0x35, 0xaf, 0x10, 0x1e, 0x1e, 0x4d, 0x8d, 0xaf, - 0x86, 0xd5, 0xee, 0x68, 0x94, 0x5d, 0x77, 0xaf, 0x87, 0xd9, 0x28, 0x2f, 0xd4, 0x95, 0x9f, 0xcb, - 0x68, 0x37, 0x76, 0xd6, 0xc1, 0xc4, 0x19, 0x9c, 0x06, 0x46, 0x37, 0x97, 0x95, 0x6f, 0xcb, 0x08, - 0x3f, 0x4e, 0x90, 0x2d, 0xb4, 0x96, 0x0a, 0x9d, 0x40, 0x9d, 0x35, 0x18, 0x84, 0xf8, 0x09, 0x59, - 0x43, 0xab, 0xa9, 0x38, 0x11, 0xb2, 0x25, 0xf0, 0x82, 0xcb, 0x06, 0x34, 0xb4, 0x0a, 0xbe, 0xa4, - 0xa0, 0x0d, 0x5e, 0x22, 0x15, 0x54, 0x0e, 0x65, 0x1a, 0x70, 0xa8, 0x73, 0x56, 0x3f, 0xb1, 0x41, - 0x2a, 0x42, 0x0e, 0x56, 0x48, 0x63, 0x29, 0xe7, 0xb2, 0x05, 0x21, 0x7e, 0x4a, 0x8e, 0xd0, 0x3e, - 0x9c, 0x1a, 0x50, 0x82, 0x72, 0x9b, 0x2a, 0xfe, 0x20, 0xbb, 0x4c, 0x08, 0xda, 0x6c, 0x30, 0x0e, - 0xd6, 0x48, 0x69, 0x39, 0x55, 0x11, 0xe0, 0x15, 0xe2, 0xa1, 0x77, 0x91, 0x94, 0x11, 0x07, 0xdb, - 0x82, 0xc0, 0x86, 0xa0, 0x59, 0x24, 0x40, 0xd9, 0x33, 0x96, 0xd8, 0x09, 0xd7, 0x39, 0x24, 0x69, - 0xc0, 0x99, 0x3e, 0x86, 0x10, 0xaf, 0x92, 0x6d, 0xb4, 0xc1, 0x44, 0x93, 0x72, 0x16, 0x5a, 0x26, - 0x92, 0xd4, 0xe0, 0x67, 0x64, 0x1f, 0xed, 0x4e, 0xa1, 0x18, 0x42, 0x46, 0xef, 0x5a, 0xc3, 0xcf, - 0x49, 0x19, 0x1d, 0xce, 0xcb, 0x58, 0x10, 0x46, 0xb5, 0x31, 0x22, 0x25, 0xb4, 0x3d, 0xcb, 0xb3, - 0x18, 0xac, 0x69, 0x27, 0x80, 0xd7, 0x08, 0x46, 0xeb, 0x53, 0x38, 0xa1, 0xe6, 0x18, 0xaf, 0x93, - 0x03, 0x54, 0x9a, 0x22, 0x6e, 0x2c, 0x05, 0x0d, 0x50, 0x20, 0xea, 0x80, 0x37, 0x5c, 0xf5, 0xc2, - 0x3b, 0xa4, 0x86, 0xde, 0x1b, 0x6d, 0x93, 0xbc, 0x41, 0x95, 0x98, 0x69, 0xcd, 0x44, 0x64, 0x13, - 0xc5, 0x62, 0xaa, 0xda, 0xf3, 0xba, 0xd8, 0x72, 0xe5, 0x34, 0xa8, 0x26, 0x28, 0x0b, 0x4a, 0x49, - 0x85, 0xb1, 0x1b, 0x52, 0x1b, 0xa9, 0x68, 0x04, 0x77, 0xd0, 0x36, 0x79, 0x85, 0x0e, 0x74, 0x8b, - 0x35, 0x1a, 0xed, 0x79, 0x8b, 0x27, 0x6e, 0xb5, 0xae, 0x74, 0x4c, 0x45, 0x7b, 0xb2, 0x37, 0x8d, - 0x77, 0xc8, 0x0e, 0xda, 0x4a, 0x05, 0x9c, 0x26, 0x50, 0x37, 0x10, 0x5a, 0xcd, 0xce, 0x00, 0xef, - 0x92, 0x2a, 0x7a, 0x9f, 0x0a, 0x9d, 0x26, 0x89, 0x54, 0x0e, 0x9d, 0xb7, 0x7b, 0x10, 0x4d, 0xa6, - 0xa4, 0x88, 0x41, 0x18, 0x5c, 0x72, 0x85, 0xef, 0x0b, 0x8e, 0x4d, 0xcc, 0x3f, 0xda, 0x06, 0x50, - 0x93, 0x2a, 0xc0, 0x2f, 0xc8, 0x5b, 0xf4, 0xda, 0x6d, 0x84, 0x89, 0x87, 0xb3, 0xb9, 0xee, 0xb4, - 0xe6, 0xb6, 0x2e, 0xe3, 0x84, 0x33, 0x2a, 0x0c, 0xde, 0x23, 0x2f, 0xd1, 0x5e, 0x3d, 0xd5, 0x46, - 0xc6, 0x16, 0x4e, 0x99, 0x79, 0x30, 0xc0, 0x7e, 0xf0, 0x67, 0x01, 0x55, 0xbe, 0x66, 0x97, 0xde, - 0xff, 0xff, 0x7f, 0x50, 0x7a, 0xfc, 0x8b, 0x13, 0xf7, 0xf1, 0x93, 0x85, 0xb3, 0xf0, 0x4e, 0x38, - 0xc8, 0x2e, 0xba, 0xa3, 0x81, 0x97, 0x8d, 0x07, 0xd5, 0x41, 0x7f, 0x34, 0x39, 0x8b, 0xe9, 0x05, - 0x5e, 0x0d, 0xf3, 0x7f, 0x1d, 0xe4, 0xe7, 0xe2, 0xf9, 0xbe, 0xb8, 0x14, 0x51, 0xfa, 0x63, 0xb1, - 0x1c, 0x15, 0x66, 0xb4, 0x97, 0x7b, 0x45, 0xe8, 0xa2, 0x66, 0xcd, 0x9b, 0x94, 0xcc, 0x7f, 0x4d, - 0x09, 0x1d, 0xda, 0xcb, 0x3b, 0x33, 0x42, 0xa7, 0x59, 0xeb, 0x14, 0x84, 0xdf, 0x8b, 0x95, 0x02, - 0xf5, 0x7d, 0xda, 0xcb, 0x7d, 0x7f, 0x46, 0xf1, 0xfd, 0x66, 0xcd, 0xf7, 0x0b, 0xd2, 0xf9, 0xca, - 0xa4, 0xbb, 0x0f, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xa0, 0x2b, 0x0f, 0x9a, 0x2d, 0x04, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/media_file_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/media_file_error.pb.go deleted file mode 100644 index b7782bc8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/media_file_error.pb.go +++ /dev/null @@ -1,231 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/media_file_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_03e773828d8aed8e, []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_03e773828d8aed8e, []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 (m *MediaFileErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_MediaFileErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.MediaFileErrorEnum_MediaFileError", MediaFileErrorEnum_MediaFileError_name, MediaFileErrorEnum_MediaFileError_value) - proto.RegisterType((*MediaFileErrorEnum)(nil), "google.ads.googleads.v2.errors.MediaFileErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/media_file_error.proto", fileDescriptor_03e773828d8aed8e) -} - -var fileDescriptor_03e773828d8aed8e = []byte{ - // 674 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x53, 0xcd, 0x6e, 0xd3, 0x4c, - 0x14, 0xfd, 0x9a, 0x7e, 0xa4, 0x65, 0x5a, 0xda, 0xe9, 0xa4, 0x7f, 0xb4, 0xa5, 0x40, 0x10, 0x3f, - 0x45, 0xc5, 0x41, 0x41, 0x6c, 0xcc, 0x6a, 0xe2, 0xb9, 0x4e, 0x46, 0x38, 0x33, 0x96, 0x3d, 0x76, - 0x15, 0x14, 0x69, 0x14, 0x48, 0x88, 0x22, 0xa5, 0x71, 0x15, 0x97, 0xae, 0x79, 0x0b, 0xf6, 0x2c, - 0x79, 0x14, 0x1e, 0x85, 0x05, 0xcf, 0x80, 0xec, 0x49, 0x5c, 0xc2, 0xdf, 0x2a, 0x57, 0xf7, 0x9c, - 0x73, 0xcf, 0xb9, 0x13, 0x5f, 0xf4, 0x72, 0x98, 0x24, 0xc3, 0xf1, 0xa0, 0xd6, 0xeb, 0xa7, 0x35, - 0x53, 0x66, 0x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, 0x6f, 0x64, 0x81, 0xa1, 0xed, 0xab, - 0x8e, 0x76, 0x39, 0x78, 0x0c, 0x97, 0xc9, 0x63, 0xf4, 0x20, 0x80, 0x50, 0x46, 0x81, 0x03, 0x3a, - 0x00, 0x17, 0x02, 0x10, 0x0e, 0x30, 0xcd, 0x85, 0x6e, 0x47, 0x9e, 0xe2, 0xbe, 0x07, 0x5a, 0xfa, - 0x21, 0x5e, 0x21, 0x4f, 0xd1, 0xa3, 0x5c, 0xa3, 0x73, 0xf3, 0xc8, 0xf7, 0x65, 0xa0, 0x80, 0x69, - 0x57, 0x06, 0xb3, 0x08, 0x61, 0xd4, 0xc8, 0x63, 0xe2, 0x55, 0x72, 0x1b, 0xed, 0x70, 0x11, 0x53, - 0x8f, 0xb3, 0xc5, 0x78, 0xf8, 0x26, 0x39, 0x40, 0xbb, 0x8b, 0x50, 0x21, 0x43, 0xe4, 0x10, 0xed, - 0xfd, 0x41, 0x96, 0x83, 0x6b, 0x64, 0x07, 0x6d, 0x15, 0x20, 0x6f, 0xcf, 0xda, 0xeb, 0x64, 0x1f, - 0x6d, 0xcf, 0xdb, 0x45, 0xfc, 0xcc, 0xe9, 0x16, 0xd9, 0x43, 0x95, 0x39, 0xd2, 0x91, 0x91, 0x56, - 0x51, 0x23, 0x07, 0x36, 0xc8, 0x7d, 0x74, 0xe7, 0xa7, 0xf1, 0x2e, 0xe5, 0x1e, 0x30, 0xad, 0x02, - 0x2a, 0x42, 0x47, 0x32, 0x2e, 0x9a, 0x78, 0x33, 0x9b, 0x6a, 0x28, 0xd9, 0xb2, 0x73, 0x08, 0x18, - 0xc6, 0xe4, 0x19, 0x3a, 0x31, 0x48, 0xe6, 0xaf, 0x99, 0x84, 0x30, 0xe7, 0xb4, 0xa9, 0x72, 0x5a, - 0xbf, 0xa5, 0xde, 0xca, 0x42, 0x08, 0x69, 0x1e, 0x3b, 0xd4, 0xd7, 0x1f, 0x0a, 0x21, 0x55, 0x74, - 0x2c, 0x22, 0xcf,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0xdb, 0x8e, 0xeb, 0xb6, 0x6d, 0x48, 0x6f, - 0xcb, 0x79, 0xba, 0x17, 0x3f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x12, 0x39, 0x72, 0xf7, 0x88, 0x04, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/media_upload_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/media_upload_error.pb.go deleted file mode 100644 index 0d5efac2..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/media_upload_error.pb.go +++ /dev/null @@ -1,135 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/media_upload_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible media uploading errors. -type MediaUploadErrorEnum_MediaUploadError int32 - -const ( - // Enum unspecified. - MediaUploadErrorEnum_UNSPECIFIED MediaUploadErrorEnum_MediaUploadError = 0 - // The received error code is not known in this version. - MediaUploadErrorEnum_UNKNOWN MediaUploadErrorEnum_MediaUploadError = 1 - // The uploaded file is too big. - MediaUploadErrorEnum_FILE_TOO_BIG MediaUploadErrorEnum_MediaUploadError = 2 - // Image data is unparseable. - MediaUploadErrorEnum_UNPARSEABLE_IMAGE MediaUploadErrorEnum_MediaUploadError = 3 - // Animated images are not allowed. - MediaUploadErrorEnum_ANIMATED_IMAGE_NOT_ALLOWED MediaUploadErrorEnum_MediaUploadError = 4 - // The image or media bundle format is not allowed. - MediaUploadErrorEnum_FORMAT_NOT_ALLOWED MediaUploadErrorEnum_MediaUploadError = 5 -) - -var MediaUploadErrorEnum_MediaUploadError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "FILE_TOO_BIG", - 3: "UNPARSEABLE_IMAGE", - 4: "ANIMATED_IMAGE_NOT_ALLOWED", - 5: "FORMAT_NOT_ALLOWED", -} - -var MediaUploadErrorEnum_MediaUploadError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "FILE_TOO_BIG": 2, - "UNPARSEABLE_IMAGE": 3, - "ANIMATED_IMAGE_NOT_ALLOWED": 4, - "FORMAT_NOT_ALLOWED": 5, -} - -func (x MediaUploadErrorEnum_MediaUploadError) String() string { - return proto.EnumName(MediaUploadErrorEnum_MediaUploadError_name, int32(x)) -} - -func (MediaUploadErrorEnum_MediaUploadError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_d359659ce7747724, []int{0, 0} -} - -// Container for enum describing possible media uploading errors. -type MediaUploadErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MediaUploadErrorEnum) Reset() { *m = MediaUploadErrorEnum{} } -func (m *MediaUploadErrorEnum) String() string { return proto.CompactTextString(m) } -func (*MediaUploadErrorEnum) ProtoMessage() {} -func (*MediaUploadErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_d359659ce7747724, []int{0} -} - -func (m *MediaUploadErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MediaUploadErrorEnum.Unmarshal(m, b) -} -func (m *MediaUploadErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MediaUploadErrorEnum.Marshal(b, m, deterministic) -} -func (m *MediaUploadErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_MediaUploadErrorEnum.Merge(m, src) -} -func (m *MediaUploadErrorEnum) XXX_Size() int { - return xxx_messageInfo_MediaUploadErrorEnum.Size(m) -} -func (m *MediaUploadErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_MediaUploadErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_MediaUploadErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.errors.MediaUploadErrorEnum_MediaUploadError", MediaUploadErrorEnum_MediaUploadError_name, MediaUploadErrorEnum_MediaUploadError_value) - proto.RegisterType((*MediaUploadErrorEnum)(nil), "google.ads.googleads.v2.errors.MediaUploadErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/media_upload_error.proto", fileDescriptor_d359659ce7747724) -} - -var fileDescriptor_d359659ce7747724 = []byte{ - // 357 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xcf, 0x6a, 0xab, 0x40, - 0x18, 0xc5, 0xaf, 0xe6, 0xfe, 0x81, 0xc9, 0x85, 0xda, 0xa1, 0xe9, 0x22, 0x94, 0x2c, 0x7c, 0x80, - 0x11, 0xec, 0xa2, 0x30, 0x5d, 0x8d, 0x75, 0x22, 0x52, 0xff, 0x91, 0x68, 0x02, 0x45, 0x10, 0xdb, - 0x11, 0x11, 0x12, 0x47, 0x9c, 0x24, 0xef, 0xd1, 0x57, 0xe8, 0x32, 0x8f, 0xd2, 0x47, 0xe9, 0xaa, - 0x8f, 0x50, 0x74, 0x9a, 0x40, 0x03, 0xed, 0xca, 0xc3, 0xf1, 0x77, 0x8e, 0xdf, 0xf7, 0x09, 0x6e, - 0x4a, 0xce, 0xcb, 0x55, 0x61, 0xe4, 0x4c, 0x18, 0x52, 0x76, 0x6a, 0x67, 0x1a, 0x45, 0xdb, 0xf2, - 0x56, 0x18, 0xeb, 0x82, 0x55, 0x79, 0xb6, 0x6d, 0x56, 0x3c, 0x67, 0x59, 0xef, 0xa1, 0xa6, 0xe5, - 0x1b, 0x0e, 0x27, 0x92, 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8e, 0x2c, 0x23, 0x4c, 0x20, 0x29, - 0x3b, 0xb5, 0x30, 0x51, 0xff, 0x49, 0xf1, 0x7a, 0x00, 0x52, 0xc2, 0x44, 0x7a, 0x04, 0xd2, 0x85, - 0x99, 0x4a, 0xe0, 0x4d, 0xd5, 0xa5, 0x8b, 0x31, 0x61, 0x02, 0xe3, 0x23, 0x82, 0xf1, 0xc2, 0xc4, - 0x58, 0x42, 0x8f, 0x7f, 0xfb, 0xe9, 0xae, 0x3f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x4a, 0xee, 0xb8, - 0xf3, 0x1f, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/multiplier_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/multiplier_error.pb.go deleted file mode 100644 index 722f2697..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/multiplier_error.pb.go +++ /dev/null @@ -1,178 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/multiplier_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_3c59bb3bff2d3683, []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_3c59bb3bff2d3683, []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 (m *MultiplierErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_MultiplierErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.MultiplierErrorEnum_MultiplierError", MultiplierErrorEnum_MultiplierError_name, MultiplierErrorEnum_MultiplierError_value) - proto.RegisterType((*MultiplierErrorEnum)(nil), "google.ads.googleads.v2.errors.MultiplierErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/multiplier_error.proto", fileDescriptor_3c59bb3bff2d3683) -} - -var fileDescriptor_3c59bb3bff2d3683 = []byte{ - // 523 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08,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, 0x0d, 0x4e, 0x12, 0xfe, 0x9e, 0x8b, 0x11, - 0x87, 0x0d, 0x74, 0x0e, 0xce, 0xe2, 0x24, 0x52, 0xac, 0x1f, 0x31, 0x3a, 0xd0, 0x4a, 0x08, 0x1d, - 0xb2, 0x20, 0x84, 0x4d, 0xf4, 0x14, 0xa0, 0xda, 0x41, 0x24, 0x46, 0xf0, 0x08, 0x75, 0xc0, 0x45, - 0xf5, 0x13, 0x63, 0x3e, 0xd6, 0xbd, 0x01, 0xf6, 0x15, 0x13, 0x1c, 0x47, 0x9a, 0xb0, 0x80, 0x29, - 0x09, 0x5b, 0xc8, 0x06, 0x2f, 0x0e, 0x38, 0x2e, 0x94, 0xc6, 0x51, 0x24, 0x46, 0x94, 0xe8, 0x9e, - 0x18, 0x68, 0x8f, 0x11, 0xc2, 0x78, 0xa0, 0xa5, 0x1a, 0x60, 0x45, 0x83, 0x31, 0xfc, 0x1f, 0x5d, - 0x02, 0xfb, 0x0e, 0x60, 0x14, 0x52, 0xae, 0x3d, 0x2c, 0x69, 0x85, 0x69, 0x26, 0x75, 0xcc, 0xa4, - 0x64, 0x3c, 0x80, 0xc7, 0xe8, 0x19, 0x38, 0xe7, 0x42, 0x1f, 0x70, 0xb7, 0x03, 0x9e, 0xa0, 0xd7, - 0xe0, 0xe5, 0xc1, 0x89, 0x8f, 0x13, 0x49, 0xe5, 0xb6, 0x84, 0x12, 0x9a, 0x5e, 0xf9, 0x94, 0x12, - 0x4d, 0x30, 0x8b, 0xc6, 0xda, 0x4b, 0x48, 0x40, 0x15, 0x7c, 0x80, 0x1c, 0x60, 0xdd, 0x47, 0xc4, - 0x82, 0xab, 0xf0, 0x96, 0x79, 0x88, 0xde, 0x80, 0x57, 0xf7, 0x31, 0x7e, 0x22, 0x95, 0x88, 0x77, - 0x08, 0xa8, 0x8d, 0xfa, 0xf7, 0x36, 0xf8, 0x6a, 0x3f, 0xbf, 0xc7, 0x08, 0x6c, 0x57, 0x7d, 0x2a, - 0x49, 0x44, 0xa5, 0xd4, 0x2a, 0xc4, 0x5c, 0xc7, 0x8c, 0x1f, 0x4a, 0xf4, 0x88, 0xa9, 0xf0, 0x60, - 0x15, 0xf0, 0x51, 0xed, 0x6a, 0x98, 0x93, 0x3f, 0xf6, 0xae, 0xd5, 0xb8, 0x4f, 0xab, 0x7d, 0xc6, - 0x58, 0xf9, 0x21, 0x7c, 0xec, 0xfd, 0x6c, 0x80, 0xee, 0xa7, 0x7c, 0x65, 0xfd, 0xdb, 0x96, 0xde, - 0x93, 0x9a, 0xbb, 0xfa, 0x95, 0x1d, 0xfb, 0x8d, 0x0f, 0xe4, 0x37, 0x97, 0xe6, 0xcb, 0x69, 0x96, - 0x5a, 0x79, 0x91, 0xda, 0xe9, 0x3c, 0xdb, 0x9a, 0x75, 0xf7, 0x2a, 0xd6, 0x8b, 0xf2, 0xae, 0x47, - 0xf2, 0xce, 0x7c, 0x3e, 0x37, 0x8f, 0x02, 0x8c, 0xbf, 0x34, 0x3b, 0x81, 0x29, 0x86, 0x67, 0xa5, - 0x65, 0xc2, 0x2a, 0x1a, 0x3a, 0xd6, 0xb6, 0x65, 0xf9, 0x6d, 0x27, 0x98, 0xe0, 0x59, 0x39, 0xd9, - 0x0b, 0x26, 0x43, 0x67, 0x62, 0x04, 0x3f, 0x9a, 0x5d, 0x93, 0x75, 0x5d, 0x3c, 0x2b, 0x5d, 0x77, - 0x2f, 0x71, 0xdd, 0xa1, 0xe3, 0xba, 0x46, 0xf4, 0xf1, 0x78, 0x7b, 0xbb, 0xcb, 0x5f, 0x01, 0x00, - 0x00, 0xff, 0xff, 0x41, 0x92, 0x70, 0x6b, 0xc1, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/mutate_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/mutate_error.pb.go deleted file mode 100644 index 91e72c5f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/mutate_error.pb.go +++ /dev/null @@ -1,146 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/mutate_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // The resource isn't in Google Ads. It belongs to another ads system. - MutateErrorEnum_RESOURCE_NOT_IN_GOOGLE_ADS MutateErrorEnum_MutateError = 10 - // The resource being created already exists. - MutateErrorEnum_RESOURCE_ALREADY_EXISTS MutateErrorEnum_MutateError = 11 -) - -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", - 10: "RESOURCE_NOT_IN_GOOGLE_ADS", - 11: "RESOURCE_ALREADY_EXISTS", -} - -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, - "RESOURCE_NOT_IN_GOOGLE_ADS": 10, - "RESOURCE_ALREADY_EXISTS": 11, -} - -func (x MutateErrorEnum_MutateError) String() string { - return proto.EnumName(MutateErrorEnum_MutateError_name, int32(x)) -} - -func (MutateErrorEnum_MutateError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cda800a25384cf23, []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_cda800a25384cf23, []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 (m *MutateErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.MutateErrorEnum_MutateError", MutateErrorEnum_MutateError_name, MutateErrorEnum_MutateError_value) - proto.RegisterType((*MutateErrorEnum)(nil), "google.ads.googleads.v2.errors.MutateErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/mutate_error.proto", fileDescriptor_cda800a25384cf23) -} - -var fileDescriptor_cda800a25384cf23 = []byte{ - // 399 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x41, 0x8e, 0xd3, 0x30, - 0x18, 0x85, 0x49, 0x47, 0x62, 0xc0, 0x5d, 0x8c, 0xe5, 0x05, 0x88, 0x81, 0xa9, 0x44, 0x0f, 0xe0, - 0x88, 0xb0, 0x33, 0x2b, 0x4f, 0xed, 0x56, 0x16, 0xae, 0x5d, 0xd5, 0x49, 0x07, 0x50, 0x25, 0x2b, - 0x90, 0x28, 0xaa, 0x34, 0x8d, 0xab, 0x38, 0x33, 0x07, 0x62, 0xc9, 0x51, 0x38, 0x02, 0x47, 0x00, - 0x89, 0x33, 0xa0, 0xc4, 0xd3, 0xa8, 0x2c, 0x60, 0x95, 0x17, 0xfb, 0x7b, 0xcf, 0xbf, 0xde, 0x0f, - 0xde, 0x54, 0xce, 0x55, 0xb7, 0x65, 0x9c, 0x17, 0x3e, 0x0e, 0xb2, 0x53, 0xf7, 0x49, 0x5c, 0x36, - 0x8d, 0x6b, 0x7c, 0xbc, 0xbf, 0x6b, 0xf3, 0xb6, 0xb4, 0xfd, 0x1f, 0x3e, 0x34, 0xae, 0x75, 0x68, - 0x12, 0x38, 0x9c, 0x17, 0x1e, 0x0f, 0x16, 0x7c, 0x9f, 0xe0, 0x60, 0xb9, 0x7c, 0x75, 0x8c, 0x3c, - 0xec, 0xe2, 0xbc, 0xae, 0x5d, 0x9b, 0xb7, 0x3b, 0x57, 0xfb, 0xe0, 0x9e, 0xfe, 0x8e, 0xc0, 0xc5, - 0xb2, 0x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da, 0xdd, 0xbb, 0xf0, 0xf9, 0x3a, 0x3a, 0x5b, 0x50, 0xfa, - 0x6d, 0x34, 0x59, 0x84, 0x30, 0x5a, 0x78, 0x1c, 0x64, 0xa7, 0x36, 0x09, 0xee, 0x9f, 0xf4, 0xdf, - 0x8f, 0xc0, 0x96, 0x16, 0x7e, 0x3b, 0x00, 0xdb, 0x4d, 0xb2, 0x0d, 0xc0, 0xcf, 0xd1, 0x34, 0x9c, - 0x12, 0x42, 0x0b, 0x4f, 0xc8, 0x80, 0x10, 0xb2, 0x49, 0x08, 0x09, 0xd0, 0xe7, 0xc7, 0xfd, 0x74, - 0x6f, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0xc2, 0xb0, 0xc2, 0x3d, 0x58, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/mutate_job_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/mutate_job_error.pb.go deleted file mode 100644 index 3393c310..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/mutate_job_error.pb.go +++ /dev/null @@ -1,142 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/mutate_job_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible request errors. -type MutateJobErrorEnum_MutateJobError int32 - -const ( - // Enum unspecified. - MutateJobErrorEnum_UNSPECIFIED MutateJobErrorEnum_MutateJobError = 0 - // The received error code is not known in this version. - MutateJobErrorEnum_UNKNOWN MutateJobErrorEnum_MutateJobError = 1 - // The mutate job cannot add more operations or run after it has started - // running. - MutateJobErrorEnum_CANNOT_MODIFY_JOB_AFTER_JOB_STARTS_RUNNING MutateJobErrorEnum_MutateJobError = 2 - // The operations for an AddMutateJobOperations request were empty. - MutateJobErrorEnum_EMPTY_OPERATIONS MutateJobErrorEnum_MutateJobError = 3 - // The sequence token for an AddMutateJobOperations request was invalid. - MutateJobErrorEnum_INVALID_SEQUENCE_TOKEN MutateJobErrorEnum_MutateJobError = 4 - // Mutate Job Results can only be retrieved once the job is finished. - MutateJobErrorEnum_RESULTS_NOT_READY MutateJobErrorEnum_MutateJobError = 5 - // The page size for ListMutateJobResults was invalid. - MutateJobErrorEnum_INVALID_PAGE_SIZE MutateJobErrorEnum_MutateJobError = 6 -) - -var MutateJobErrorEnum_MutateJobError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "CANNOT_MODIFY_JOB_AFTER_JOB_STARTS_RUNNING", - 3: "EMPTY_OPERATIONS", - 4: "INVALID_SEQUENCE_TOKEN", - 5: "RESULTS_NOT_READY", - 6: "INVALID_PAGE_SIZE", -} - -var MutateJobErrorEnum_MutateJobError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "CANNOT_MODIFY_JOB_AFTER_JOB_STARTS_RUNNING": 2, - "EMPTY_OPERATIONS": 3, - "INVALID_SEQUENCE_TOKEN": 4, - "RESULTS_NOT_READY": 5, - "INVALID_PAGE_SIZE": 6, -} - -func (x MutateJobErrorEnum_MutateJobError) String() string { - return proto.EnumName(MutateJobErrorEnum_MutateJobError_name, int32(x)) -} - -func (MutateJobErrorEnum_MutateJobError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dd1d9fac35776029, []int{0, 0} -} - -// Container for enum describing possible mutate job errors. -type MutateJobErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateJobErrorEnum) Reset() { *m = MutateJobErrorEnum{} } -func (m *MutateJobErrorEnum) String() string { return proto.CompactTextString(m) } -func (*MutateJobErrorEnum) ProtoMessage() {} -func (*MutateJobErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_dd1d9fac35776029, []int{0} -} - -func (m *MutateJobErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateJobErrorEnum.Unmarshal(m, b) -} -func (m *MutateJobErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateJobErrorEnum.Marshal(b, m, deterministic) -} -func (m *MutateJobErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateJobErrorEnum.Merge(m, src) -} -func (m *MutateJobErrorEnum) XXX_Size() int { - return xxx_messageInfo_MutateJobErrorEnum.Size(m) -} -func (m *MutateJobErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_MutateJobErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateJobErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.errors.MutateJobErrorEnum_MutateJobError", MutateJobErrorEnum_MutateJobError_name, MutateJobErrorEnum_MutateJobError_value) - proto.RegisterType((*MutateJobErrorEnum)(nil), "google.ads.googleads.v2.errors.MutateJobErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/mutate_job_error.proto", fileDescriptor_dd1d9fac35776029) -} - -var fileDescriptor_dd1d9fac35776029 = []byte{ - // 399 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x4f, 0x8e, 0xd3, 0x30, - 0x18, 0xc5, 0x49, 0x07, 0x06, 0xc9, 0x23, 0x81, 0x31, 0x7f, 0x16, 0x23, 0x34, 0x8b, 0x2e, 0x59, - 0x38, 0x52, 0x10, 0x1b, 0xb3, 0x72, 0x1b, 0xb7, 0xf2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google.golang.org/genproto/googleapis/ads/googleads/v2/errors/new_resource_creation_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/new_resource_creation_error.pb.go deleted file mode 100644 index abd54fdb..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/new_resource_creation_error.pb.go +++ /dev/null @@ -1,132 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/new_resource_creation_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_027f901fd0268ded, []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_027f901fd0268ded, []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 (m *NewResourceCreationErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_NewResourceCreationErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.NewResourceCreationErrorEnum_NewResourceCreationError", NewResourceCreationErrorEnum_NewResourceCreationError_name, NewResourceCreationErrorEnum_NewResourceCreationError_value) - proto.RegisterType((*NewResourceCreationErrorEnum)(nil), "google.ads.googleads.v2.errors.NewResourceCreationErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/new_resource_creation_error.proto", fileDescriptor_027f901fd0268ded) -} - -var fileDescriptor_027f901fd0268ded = []byte{ - // 367 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x4f, 0x6e, 0xa3, 0x30, - 0x14, 0xc6, 0x07, 0x32, 0x9a, 0x91, 0x9c, 0xc5, 0x20, 0x16, 0xa3, 0x68, 0x26, 0x93, 0x91, 0x38, - 0x80, 0x91, 0x98, 0x9d, 0x67, 0x33, 0x0e, 0x38, 0x19, 0xd4, 0x16, 0x90, 0x81, 0x54, 0xaa, 0x90, - 0x2c, 0x1a, 0x2c, 0x14, 0x29, 0xc1, 0x91, 0x9d, 0x3f, 0xc7, 0xe8, 0x1d, 0xba, 0xec, 0xaa, 0xe7, - 0xe8, 0x51, 0x7a, 0x82, 0x2e, 0x2b, 0x30, 0xc9, 0x2e, 0x5d, 0xf1, 0x61, 0xff, 0xde, 0xf7, 0xbd, - 0xe7, 0x07, 0xfe, 0xd5, 0x42, 0xd4, 0x6b, 0xee, 0x96, 0x95, 0x72, 0xb5, 0x6c, 0xd5, 0xc1, 0x73, - 0xb9, 0x94, 0x42, 0x2a, 0xb7, 0xe1, 0x47, 0x26, 0xb9, 0x12, 0x7b, 0xb9, 0xe4, 0x6c, 0x29, 0x79, - 0xb9, 0x5b, 0x89, 0x86, 0x75, 0x97, 0x70, 0x2b, 0xc5, 0x4e, 0xd8, 0x13, 0x5d, 0x06, 0xcb, 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, 0xcd, 0x70, 0xa5, 0xa0, 0x96, 0xad, 0x5a, 0x78, 0xb0, 0x8b, 0x54, - 0x2f, 0x27, 0xa0, 0xc0, 0x95, 0x2a, 0xce, 0x40, 0xb1, 0xf0, 0x0a, 0x0d, 0xbc, 0x9a, 0x8e, 0x3e, - 0x45, 0x08, 0x57, 0x0a, 0xa1, 0x33, 0x82, 0xd0, 0xc2, 0x43, 0x48, 0x43, 0xf7, 0x5f, 0xba, 0xee, - 0xfe, 0xbc, 0x07, 0x00, 0x00, 0xff, 0xff, 0xb4, 0xb8, 0x8f, 0x57, 0x36, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/not_empty_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/not_empty_error.pb.go deleted file mode 100644 index 9a8d3bbc..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/not_empty_error.pb.go +++ /dev/null @@ -1,119 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/not_empty_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_bdfb6af4b8a01a3d, []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_bdfb6af4b8a01a3d, []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 (m *NotEmptyErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_NotEmptyErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.NotEmptyErrorEnum_NotEmptyError", NotEmptyErrorEnum_NotEmptyError_name, NotEmptyErrorEnum_NotEmptyError_value) - proto.RegisterType((*NotEmptyErrorEnum)(nil), "google.ads.googleads.v2.errors.NotEmptyErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/not_empty_error.proto", fileDescriptor_bdfb6af4b8a01a3d) -} - -var fileDescriptor_bdfb6af4b8a01a3d = []byte{ - // 293 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xc3, 0x30, - 0x18, 0x85, 0x6d, 0x05, 0x85, 0x0c, 0xb5, 0xf6, 0x52, 0x64, 0x17, 0x7d, 0x80, 0x04, 0xaa, 0x57, - 0x11, 0x2f, 0x3a, 0x17, 0x47, 0x51, 0x6b, 0x71, 0x5b, 0x45, 0x29, 0x94, 0x6a, 0x4b, 0x28, 0xac, - 0xf9, 0x4b, 0x13, 0x07, 0xbe, 0x8e, 0x97, 0x3e, 0x8a, 0x8f, 0x22, 0xf8, 0x0e, 0x92, 0xc6, 0x16, - 0x76, 0xe1, 0xae, 0x72, 0x38, 0x7c, 0xe7, 0xe4, 0xf0, 0xa3, 0x73, 0x0e, 0xc0, 0x57, 0x25, 0xc9, - 0x0b, 0x49, 0x8c, 0xd4, 0x6a, 0xed, 0x93, 0xb2, 0x6d, 0xa1, 0x95, 0x44, 0x80, 0xca, 0xca, 0xba, - 0x51, 0xef, 0x59, 0x67, 0xe0, 0xa6, 0x05, 0x05, 0xee, 0xd8, 0xa0, 0x38, 0x2f, 0x24, 0x1e, 0x52, - 0x78, 0xed, 0x63, 0x93, 0x3a, 0x39, 0xed, 0x5b, 0x9b, 0x8a, 0xe4, 0x42, 0x80, 0xca, 0x55, 0x05, - 0x42, 0x9a, 0xb4, 0xf7, 0x80, 0x8e, 0x23, 0x50, 0x4c, 0xb7, 0x32, 0xcd, 0x33, 0xf1, 0x56, 0x7b, - 0x97, 0xe8, 0x60, 0xc3, 0x74, 0x8f, 0xd0, 0x68, 0x19, 0xcd, 0x63, 0x76, 0x15, 0x5e, 0x87, 0x6c, - 0xea, 0xec, 0xb8, 0x23, 0xb4, 0xbf, 0x8c, 0x6e, 0xa2, 0xfb, 0xc7, 0xc8, 0xb1, 0xdc, 0x43, 0x84, - 0xd8, 0x5d, 0xbc, 0x78, 0xca, 0x6e, 0xc3, 0xf9, 0xc2, 0xb1, 0x27, 0x3f, 0x16, 0xf2, 0x5e, 0xa1, - 0xc6, 0xdb, 0x87, 0x4d, 0xdc, 0x8d, 0x3f, 0x62, 0x3d, 0x27, 0xb6, 0x9e, 0xa7, 0x7f, 0x29, 0x0e, - 0xab, 0x5c, 0x70, 0x0c, 0x2d, 0x27, 0xbc, 0x14, 0xdd, 0xd8, 0xfe, 0x28, 0x4d, 0x25, 0xff, 0xbb, - 0xd1, 0x85, 0x79, 0x3e, 0xec, 0xdd, 0x59, 0x10, 0x7c, 0xda, 0xe3, 0x99, 0x29, 0x0b, 0x0a, 0x89, - 0x8d, 0xd4, 0x2a, 0xf1, 0x71, 0xf7, 0xa5, 0xfc, 0xea, 0x81, 0x34, 0x28, 0x64, 0x3a, 0x00, 0x69, - 0xe2, 0xa7, 0x06, 0xf8, 0xb6, 0x3d, 0xe3, 0x52, 0x1a, 0x14, 0x92, 0xd2, 0x01, 0xa1, 0x34, 0xf1, - 0x29, 0x35, 0xd0, 0xcb, 0x5e, 0xb7, 0xee, 0xec, 0x37, 0x00, 0x00, 0xff, 0xff, 0x8b, 0xf6, 0xde, - 0x2c, 0xc0, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/not_whitelisted_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/not_whitelisted_error.pb.go deleted file mode 100644 index 2c48d619..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/not_whitelisted_error.pb.go +++ /dev/null @@ -1,121 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/not_whitelisted_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible not whitelisted errors. -type NotWhitelistedErrorEnum_NotWhitelistedError int32 - -const ( - // Enum unspecified. - NotWhitelistedErrorEnum_UNSPECIFIED NotWhitelistedErrorEnum_NotWhitelistedError = 0 - // The received error code is not known in this version. - NotWhitelistedErrorEnum_UNKNOWN NotWhitelistedErrorEnum_NotWhitelistedError = 1 - // Customer is not whitelisted for accessing this feature. - NotWhitelistedErrorEnum_CUSTOMER_NOT_WHITELISTED_FOR_THIS_FEATURE NotWhitelistedErrorEnum_NotWhitelistedError = 2 -) - -var NotWhitelistedErrorEnum_NotWhitelistedError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "CUSTOMER_NOT_WHITELISTED_FOR_THIS_FEATURE", -} - -var NotWhitelistedErrorEnum_NotWhitelistedError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "CUSTOMER_NOT_WHITELISTED_FOR_THIS_FEATURE": 2, -} - -func (x NotWhitelistedErrorEnum_NotWhitelistedError) String() string { - return proto.EnumName(NotWhitelistedErrorEnum_NotWhitelistedError_name, int32(x)) -} - -func (NotWhitelistedErrorEnum_NotWhitelistedError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_3a2ce7a1e2c42fa4, []int{0, 0} -} - -// Container for enum describing possible not whitelisted errors. -type NotWhitelistedErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *NotWhitelistedErrorEnum) Reset() { *m = NotWhitelistedErrorEnum{} } -func (m *NotWhitelistedErrorEnum) String() string { return proto.CompactTextString(m) } -func (*NotWhitelistedErrorEnum) ProtoMessage() {} -func (*NotWhitelistedErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_3a2ce7a1e2c42fa4, []int{0} -} - -func (m *NotWhitelistedErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NotWhitelistedErrorEnum.Unmarshal(m, b) -} -func (m *NotWhitelistedErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NotWhitelistedErrorEnum.Marshal(b, m, deterministic) -} -func (m *NotWhitelistedErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_NotWhitelistedErrorEnum.Merge(m, src) -} -func (m *NotWhitelistedErrorEnum) XXX_Size() int { - return xxx_messageInfo_NotWhitelistedErrorEnum.Size(m) -} -func (m *NotWhitelistedErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_NotWhitelistedErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_NotWhitelistedErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.errors.NotWhitelistedErrorEnum_NotWhitelistedError", NotWhitelistedErrorEnum_NotWhitelistedError_name, NotWhitelistedErrorEnum_NotWhitelistedError_value) - proto.RegisterType((*NotWhitelistedErrorEnum)(nil), "google.ads.googleads.v2.errors.NotWhitelistedErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/not_whitelisted_error.proto", fileDescriptor_3a2ce7a1e2c42fa4) -} - -var fileDescriptor_3a2ce7a1e2c42fa4 = []byte{ - // 330 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xf3, 0x40, - 0x14, 0x85, 0xff, 0xe6, 0x07, 0x85, 0xe9, 0xc2, 0x12, 0x17, 0x8a, 0x48, 0x17, 0xd9, 0xb9, 0x70, - 0x02, 0x71, 0x37, 0xae, 0xd2, 0x76, 0xda, 0x06, 0x35, 0x29, 0x4d, 0xd2, 0x82, 0x04, 0x86, 0xd4, - 0x09, 0x63, 0xa0, 0x9d, 0x5b, 0x32, 0x63, 0x5d, 0xf9, 0x32, 0x2e, 0x7d, 0x14, 0x1f, 0xc5, 0xad, - 0x2f, 0x20, 0xc9, 0xd8, 0xba, 0xa9, 0xae, 0x72, 0xb8, 0x39, 0xdf, 0x99, 0x73, 0x2f, 0x22, 0x02, - 0x40, 0x2c, 0x0b, 0x37, 0xe7, 0xca, 0x35, 0xb2, 0x56, 0x1b, 0xcf, 0x2d, 0xaa, 0x0a, 0x2a, 0xe5, - 0x4a, 0xd0, 0xec, 0xf9, 0xb1, 0xd4, 0xc5, 0xb2, 0x54, 0xba, 0xe0, 0xac, 0x19, 0xe3, 0x75, 0x05, - 0x1a, 0xec, 0xae, 0x01, 0x70, 0xce, 0x15, 0xde, 0xb1, 0x78, 0xe3, 0x61, 0xc3, 0x9e, 0x9d, 0x6f, - 0xb3, 0xd7, 0xa5, 0x9b, 0x4b, 0x09, 0x3a, 0xd7, 0x25, 0x48, 0x65, 0x68, 0xe7, 0x05, 0x9d, 0x84, - 0xa0, 0xe7, 0x3f, 0xd9, 0xb4, 0xa6, 0xa8, 0x7c, 0x5a, 0x39, 0x0b, 0x74, 0xbc, 0xe7, 0x97, 0x7d, - 0x84, 0xda, 0x69, 0x18, 0x4f, 0x68, 0x3f, 0x18, 0x06, 0x74, 0xd0, 0xf9, 0x67, 0xb7, 0xd1, 0x61, - 0x1a, 0xde, 0x84, 0xd1, 0x3c, 0xec, 0xb4, 0xec, 0x4b, 0x74, 0xd1, 0x4f, 0xe3, 0x24, 0xba, 0xa3, - 0x53, 0x16, 0x46, 0x09, 0x9b, 0x8f, 0x83, 0x84, 0xde, 0x06, 0x71, 0x42, 0x07, 0x6c, 0x18, 0x4d, - 0x59, 0x32, 0x0e, 0x62, 0x36, 0xa4, 0x7e, 0x92, 0x4e, 0x69, 0xc7, 0xea, 0x7d, 0xb6, 0x90, 0xf3, - 0x00, 0x2b, 0xfc, 0xf7, 0x0e, 0xbd, 0xd3, 0x3d, 0x45, 0x26, 0x75, 0xff, 0x49, 0xeb, 0x7e, 0xf0, - 0xcd, 0x0a, 0x58, 0xe6, 0x52, 0x60, 0xa8, 0x84, 0x2b, 0x0a, 0xd9, 0x6c, 0xb7, 0xbd, 0xe5, 0xba, - 0x54, 0xbf, 0x9d, 0xf6, 0xda, 0x7c, 0x5e, 0xad, 0xff, 0x23, 0xdf, 0x7f, 0xb3, 0xba, 0x23, 0x13, - 0xe6, 0x73, 0x85, 0x8d, 0xac, 0xd5, 0xcc, 0xc3, 0xcd, 0x93, 0xea, 0x7d, 0x6b, 0xc8, 0x7c, 0xae, - 0xb2, 0x9d, 0x21, 0x9b, 0x79, 0x99, 0x31, 0x7c, 0x58, 0x8e, 0x99, 0x12, 0xe2, 0x73, 0x45, 0xc8, - 0xce, 0x42, 0xc8, 0xcc, 0x23, 0xc4, 0x98, 0x16, 0x07, 0x4d, 0xbb, 0xab, 0xaf, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xf6, 0xa7, 0x9d, 0xee, 0xf7, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/null_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/null_error.pb.go deleted file mode 100644 index f35a8fa1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/null_error.pb.go +++ /dev/null @@ -1,118 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/null_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_063f6c0e48389fd6, []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_063f6c0e48389fd6, []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 (m *NullErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_NullErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.NullErrorEnum_NullError", NullErrorEnum_NullError_name, NullErrorEnum_NullError_value) - proto.RegisterType((*NullErrorEnum)(nil), "google.ads.googleads.v2.errors.NullErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/null_error.proto", fileDescriptor_063f6c0e48389fd6) -} - -var fileDescriptor_063f6c0e48389fd6 = []byte{ - // 285 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xdf, 0x6a, 0x83, 0x30, - 0x14, 0xc6, 0xa7, 0x83, 0x8d, 0xa5, 0xfb, 0x23, 0x5e, 0x8e, 0xd1, 0x0b, 0x1f, 0x20, 0x01, 0x77, - 0x97, 0x5e, 0xd9, 0xd6, 0x95, 0x32, 0x49, 0x85, 0x55, 0x07, 0x43, 0x28, 0x6e, 0x4a, 0x10, 0xd2, - 0x1c, 0x31, 0xda, 0x07, 0xda, 0xe5, 0x1e, 0x65, 0x6f, 0xb2, 0x3d, 0xc5, 0xd0, 0xd4, 0xdc, 0xad, - 0x57, 0xf9, 0x11, 0x7e, 0xdf, 0x39, 0x1f, 0x07, 0x11, 0x0e, 0xc0, 0x45, 0x49, 0xf2, 0x42, 0x1d, - 0xb1, 0xa7, 0x83, 0x4f, 0xca, 0xa6, 0x81, 0x46, 0x11, 0xd9, 0x09, 0xb1, 0x1b, 0x18, 0xd7, 0x0d, - 0xb4, 0xe0, 0x4e, 0xb5, 0x85, 0xf3, 0x42, 0x61, 0x13, 0xc0, 0x07, 0x1f, 0xeb, 0xc0, 0xfd, 0xc3, - 0x38, 0xb0, 0xae, 0x48, 0x2e, 0x25, 0xb4, 0x79, 0x5b, 0x81, 0x54, 0x3a, 0xed, 0x45, 0xe8, 0x86, - 0x75, 0x42, 0x84, 0xbd, 0x1b, 0xca, 0x6e, 0xef, 0xcd, 0xd0, 0x95, 0xf9, 0x70, 0xef, 0xd0, 0x24, - 0x61, 0x2f, 0x71, 0xb8, 0x58, 0x3f, 0xad, 0xc3, 0xa5, 0x73, 0xe6, 0x4e, 0xd0, 0x65, 0xc2, 0x9e, - 0xd9, 0xe6, 0x95, 0x39, 0x96, 0xeb, 0xa0, 0x6b, 0x96, 0x44, 0xd1, 0x6e, 0xb1, 0x61, 0xdb, 0x90, - 0x6d, 0x1d, 0x7b, 0xfe, 0x63, 0x21, 0xef, 0x03, 0xf6, 0xf8, 0x74, 0xa5, 0xf9, 0xad, 0xd9, 0x10, - 0xf7, 0x25, 0x62, 0xeb, 0x6d, 0x79, 0x4c, 0x70, 0x10, 0xb9, 0xe4, 0x18, 0x1a, 0x4e, 0x78, 0x29, - 0x87, 0x8a, 0xe3, 0x15, 0xea, 0x4a, 0xfd, 0x77, 0x94, 0x99, 0x7e, 0x3e, 0xed, 0xf3, 0x55, 0x10, - 0x7c, 0xd9, 0xd3, 0x95, 0x1e, 0x16, 0x14, 0x0a, 0x6b, 0xec, 0x29, 0xf5, 0xf1, 0xb0, 0x52, 0x7d, - 0x8f, 0x42, 0x16, 0x14, 0x2a, 0x33, 0x42, 0x96, 0xfa, 0x99, 0x16, 0x7e, 0x6d, 0x4f, 0xff, 0x52, - 0x1a, 0x14, 0x8a, 0x52, 0xa3, 0x50, 0x9a, 0xfa, 0x94, 0x6a, 0xe9, 0xfd, 0x62, 0x68, 0xf7, 0xf8, - 0x17, 0x00, 0x00, 0xff, 0xff, 0x9f, 0x37, 0x54, 0xc6, 0xb1, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/operation_access_denied_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/operation_access_denied_error.pb.go deleted file mode 100644 index a48d2ea6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/operation_access_denied_error.pb.go +++ /dev/null @@ -1,164 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/operation_access_denied_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_26eaddab82a66e35, []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_26eaddab82a66e35, []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 (m *OperationAccessDeniedErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperationAccessDeniedErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.OperationAccessDeniedErrorEnum_OperationAccessDeniedError", OperationAccessDeniedErrorEnum_OperationAccessDeniedError_name, OperationAccessDeniedErrorEnum_OperationAccessDeniedError_value) - proto.RegisterType((*OperationAccessDeniedErrorEnum)(nil), "google.ads.googleads.v2.errors.OperationAccessDeniedErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/operation_access_denied_error.proto", fileDescriptor_26eaddab82a66e35) -} - -var fileDescriptor_26eaddab82a66e35 = []byte{ - // 448 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xc1, 0x8a, 0xd3, 0x40, - 0x1c, 0xc6, 0x6d, 0xab, 0xbb, 0x3a, 0x3d, 0x18, 0x06, 0x0f, 0xb2, 0x48, 0x17, 0x23, 0x0a, 0x8a, - 0x4e, 0x24, 0xde, 0xe2, 0x69, 0x9a, 0xcc, 0x96, 0xa0, 0x99, 0x19, 0xa6, 0x93, 0x8a, 0x52, 0x18, - 0x62, 0x13, 0x42, 0x61, 0x37, 0x53, 0x32, 0xb5, 0x0f, 0xe4, 0xd1, 0x27, 0x11, 0x1f, 0x45, 0xdf, - 0xc0, 0x93, 0x24, 0xd3, 0xf4, 0x20, 0x4d, 0xf7, 0x94, 0x3f, 0xc9, 0xef, 0xff, 0x7d, 0xdf, 0x9f, - 0x7c, 0x60, 0x5a, 0x6a, 0x5d, 0x5e, 0x17, 0x5e, 0x96, 0x1b, 0xcf, 0x8e, 0xcd, 0xb4, 0xf3, 0xbd, - 0xa2, 0xae, 0x75, 0x6d, 0x3c, 0xbd, 0x29, 0xea, 0x6c, 0xbb, 0xd6, 0x95, 0xca, 0x56, 0xab, 0xc2, - 0x18, 0x95, 0x17, 0xd5, 0xba, 0xc8, 0x55, 0xfb, 0x19, 0x6d, 0x6a, 0xbd, 0xd5, 0x70, 0x62, 0x17, - 0x51, 0x96, 0x1b, 0x74, 0xd0, 0x40, 0x3b, 0x1f, 0x59, 0x8d, 0x8b, 0x27, 0x9d, 0xc7, 0x66, 0xed, - 0x65, 0x55, 0xa5, 0xb7, 0xad, 0xa0, 0xb1, 0xdb, 0xee, 0x9f, 0x11, 0x98, 0xb0, 0xce, 0x05, 0xb7, - 0x26, 0x51, 0xeb, 0x41, 0x9a, 0x6d, 0x52, 0x7d, 0xbb, 0x71, 0x7f, 0x8e, 0xc0, 0x45, 0x3f, 0x02, - 0x1f, 0x82, 0x71, 0x4a, 0xe7, 0x9c, 0x84, 0xf1, 0x55, 0x4c, 0x22, 0xe7, 0x0e, 0x1c, 0x83, 0xf3, - 0x94, 0x7e, 0xa0, 0xec, 0x13, 0x75, 0x06, 0xf0, 0x31, 0x78, 0x84, 0x43, 0x19, 0x33, 0xaa, 0x28, - 0x93, 0x8a, 0x13, 0x91, 0xc4, 0x52, 0x92, 0xc8, 0x19, 0x42, 0x17, 0x4c, 0x42, 0x41, 0xb0, 0x24, - 0x8a, 0x71, 0x22, 0xf0, 0x11, 0x66, 0xd4, 0x30, 0x82, 0x24, 0x6c, 0xd1, 0xcf, 0xdc, 0x6d, 0x98, - 0x94, 0x47, 0xa7, 0x74, 0xee, 0xc1, 0x57, 0xe0, 0x45, 0x92, 0xca, 0x86, 0x39, 0x16, 0x46, 0x5d, - 0x31, 0xa1, 0xc2, 0x8f, 0x31, 0xa1, 0xd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x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/operator_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/operator_error.pb.go deleted file mode 100644 index 6241e6f6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/operator_error.pb.go +++ /dev/null @@ -1,119 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/operator_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_bd44ebd7180c6750, []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_bd44ebd7180c6750, []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 (m *OperatorErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperatorErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.OperatorErrorEnum_OperatorError", OperatorErrorEnum_OperatorError_name, OperatorErrorEnum_OperatorError_value) - proto.RegisterType((*OperatorErrorEnum)(nil), "google.ads.googleads.v2.errors.OperatorErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/operator_error.proto", fileDescriptor_bd44ebd7180c6750) -} - -var fileDescriptor_bd44ebd7180c6750 = []byte{ - // 301 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xcf, 0x4a, 0x33, 0x31, - 0x14, 0xc5, 0xbf, 0xce, 0x07, 0x0a, 0x29, 0x62, 0x9d, 0x85, 0x8b, 0x22, 0x5d, 0xcc,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d3, 0xa3, 0x4b, 0xc3, 0x4e, 0x19, 0x8d, 0xc1, 0x6a, 0xa2, 0x73, 0xd3, - 0x14, 0x6f, 0xef, 0x53, 0x16, 0xee, 0xb7, 0x73, 0xdd, 0xfa, 0xe7, 0x3d, 0xf8, 0x3f, 0x63, 0xec, - 0x23, 0x18, 0xcd, 0x7c, 0x18, 0xcb, 0x1c, 0xf6, 0xb2, 0x56, 0x9b, 0x18, 0x37, 0x2b, 0xdd, 0x67, - 0x0b, 0xa4, 0x2c, 0x73, 0x69, 0x07, 0xa4, 0x9b, 0x38, 0xf5, 0xc0, 0x57, 0x10, 0xf9, 0x29, 0xa5, - 0x2c, 0x73, 0x94, 0x76, 0x08, 0xa5, 0x9b, 0x98, 0x52, 0x0f, 0xbd, 0x9c, 0x35, 0xed, 0xc6, 0x3f, - 0x01, 0x00, 0x00, 0xff, 0xff, 0x7e, 0xce, 0x8c, 0x4a, 0xcb, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/partial_failure_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/partial_failure_error.pb.go deleted file mode 100644 index d739a52f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/partial_failure_error.pb.go +++ /dev/null @@ -1,121 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/partial_failure_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible partial failure errors. -type PartialFailureErrorEnum_PartialFailureError int32 - -const ( - // Enum unspecified. - PartialFailureErrorEnum_UNSPECIFIED PartialFailureErrorEnum_PartialFailureError = 0 - // The received error code is not known in this version. - PartialFailureErrorEnum_UNKNOWN PartialFailureErrorEnum_PartialFailureError = 1 - // The partial failure field was false in the request. - // This method requires this field be set to true. - PartialFailureErrorEnum_PARTIAL_FAILURE_MODE_REQUIRED PartialFailureErrorEnum_PartialFailureError = 2 -) - -var PartialFailureErrorEnum_PartialFailureError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "PARTIAL_FAILURE_MODE_REQUIRED", -} - -var PartialFailureErrorEnum_PartialFailureError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "PARTIAL_FAILURE_MODE_REQUIRED": 2, -} - -func (x PartialFailureErrorEnum_PartialFailureError) String() string { - return proto.EnumName(PartialFailureErrorEnum_PartialFailureError_name, int32(x)) -} - -func (PartialFailureErrorEnum_PartialFailureError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_26f8edbddd5701b0, []int{0, 0} -} - -// Container for enum describing possible partial failure errors. -type PartialFailureErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PartialFailureErrorEnum) Reset() { *m = PartialFailureErrorEnum{} } -func (m *PartialFailureErrorEnum) String() string { return proto.CompactTextString(m) } -func (*PartialFailureErrorEnum) ProtoMessage() {} -func (*PartialFailureErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_26f8edbddd5701b0, []int{0} -} - -func (m *PartialFailureErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PartialFailureErrorEnum.Unmarshal(m, b) -} -func (m *PartialFailureErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PartialFailureErrorEnum.Marshal(b, m, deterministic) -} -func (m *PartialFailureErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PartialFailureErrorEnum.Merge(m, src) -} -func (m *PartialFailureErrorEnum) XXX_Size() int { - return xxx_messageInfo_PartialFailureErrorEnum.Size(m) -} -func (m *PartialFailureErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_PartialFailureErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_PartialFailureErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.errors.PartialFailureErrorEnum_PartialFailureError", PartialFailureErrorEnum_PartialFailureError_name, PartialFailureErrorEnum_PartialFailureError_value) - proto.RegisterType((*PartialFailureErrorEnum)(nil), "google.ads.googleads.v2.errors.PartialFailureErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/partial_failure_error.proto", fileDescriptor_26f8edbddd5701b0) -} - -var fileDescriptor_26f8edbddd5701b0 = []byte{ - // 316 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4e, 0xb3, 0x40, - 0x14, 0x85, 0xff, 0xf2, 0x27, 0x9a, 0x4c, 0x17, 0x36, 0xb8, 0xd0, 0x18, 0x6d, 0x22, 0x0f, 0x30, - 0x24, 0xb8, 0x1b, 0x57, 0x53, 0x99, 0x36, 0xc4, 0x4a, 0x11, 0x05, 0x13, 0x43, 0x42, 0x46, 0xc1, - 0x09, 0x09, 0x9d, 0xc1, 0x19, 0xda, 0x07, 0x72, 0xe9, 0xa3, 0xf8, 0x28, 0x6e, 0x7d, 0x01, 0x03, - 0xd7, 0x76, 0x55, 0x5d, 0x71, 0x72, 0x39, 0xdf, 0xb9, 0x67, 0x2e, 0x22, 0x42, 0x29, 0x51, 0x97, - 0x2e, 0x2f, 0x8c, 0x0b, 0xb2, 0x53, 0x6b, 0xcf, 0x2d, 0xb5, 0x56, 0xda, 0xb8, 0x0d, 0xd7, 0x6d, - 0xc5, 0xeb, 0xfc, 0x85, 0x57, 0xf5,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0x30, 0x25, 0x84, 0x16, - 0x86, 0x90, 0xad, 0x85, 0x90, 0xd4, 0x23, 0x04, 0x4c, 0x4f, 0x7b, 0x7d, 0xbb, 0x8b, 0xef, 0x00, - 0x00, 0x00, 0xff, 0xff, 0x4a, 0xd3, 0x97, 0xeb, 0xeb, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/policy_finding_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/policy_finding_error.pb.go deleted file mode 100644 index bf3e3028..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/policy_finding_error.pb.go +++ /dev/null @@ -1,126 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/policy_finding_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_4c9c6c15ab5b99b5, []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_4c9c6c15ab5b99b5, []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 (m *PolicyFindingErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyFindingErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.PolicyFindingErrorEnum_PolicyFindingError", PolicyFindingErrorEnum_PolicyFindingError_name, PolicyFindingErrorEnum_PolicyFindingError_value) - proto.RegisterType((*PolicyFindingErrorEnum)(nil), "google.ads.googleads.v2.errors.PolicyFindingErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/policy_finding_error.proto", fileDescriptor_4c9c6c15ab5b99b5) -} - -var fileDescriptor_4c9c6c15ab5b99b5 = []byte{ - // 323 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xc3, 0x30, - 0x1c, 0xc6, 0x5d, 0x07, 0x0a, 0x19, 0x68, 0xc9, 0x61, 0xc2, 0x90, 0x1d, 0xfa, 0x00, 0x29, 0xd4, - 0x93, 0xf1, 0xd4, 0xad, 0xed, 0x08, 0x4a, 0x1a, 0x70, 0x9b, 0x28, 0x85, 0xd2, 0x2d, 0x33, 0x04, - 0xb6, 0xa4, 0x34, 0x73, 0x20, 0xf8, 0x34, 0x1e, 0x7d, 0x14, 0x1f, 0xc5, 0xa3, 0x4f, 0x20, 0x6d, - 0xb6, 0x5e, 0x86, 0x9e, 0xfa, 0xf1, 0xef, 0xef, 0xfb, 0xf2, 0xfd, 0xff, 0xe0, 0x46, 0x68, 0x2d, - 0xd6, 0x2b, 0xbf, 0xe0, 0xc6, 0xb7, 0xb2, 0x56, 0xbb, 0xc0, 0x5f, 0x55, 0x95, 0xae, 0x8c, 0x5f, - 0xea, 0xb5, 0x5c, 0xbe, 0xe5, 0x2f, 0x52, 0x71, 0xa9, 0x44, 0xde, 0x4c, 0x51, 0x59, 0xe9, 0xad, - 0x86, 0x43, 0xcb, 0xa3, 0x82, 0x1b, 0xd4, 0x5a, 0xd1, 0x2e, 0x40, 0xd6, 0x3a, 0xb8, 0x3a, 0x44, - 0x97, 0xd2, 0x2f,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 0x00, 0x00, 0xff, 0xff, 0xb6, 0x93, 0x9b, 0x52, 0xf4, - 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/policy_validation_parameter_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/policy_validation_parameter_error.pb.go deleted file mode 100644 index ef6d21f7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/policy_validation_parameter_error.pb.go +++ /dev/null @@ -1,134 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/policy_validation_parameter_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible policy validation parameter errors. -type PolicyValidationParameterErrorEnum_PolicyValidationParameterError int32 - -const ( - // Enum unspecified. - PolicyValidationParameterErrorEnum_UNSPECIFIED PolicyValidationParameterErrorEnum_PolicyValidationParameterError = 0 - // The received error code is not known in this version. - PolicyValidationParameterErrorEnum_UNKNOWN PolicyValidationParameterErrorEnum_PolicyValidationParameterError = 1 - // Ignorable policy topics are not supported for the ad type. - PolicyValidationParameterErrorEnum_UNSUPPORTED_AD_TYPE_FOR_IGNORABLE_POLICY_TOPICS PolicyValidationParameterErrorEnum_PolicyValidationParameterError = 2 - // Exempt policy violation keys are not supported for the ad type. - PolicyValidationParameterErrorEnum_UNSUPPORTED_AD_TYPE_FOR_EXEMPT_POLICY_VIOLATION_KEYS PolicyValidationParameterErrorEnum_PolicyValidationParameterError = 3 - // Cannot set ignorable policy topics and exempt policy violation keys in - // the same policy violation parameter. - PolicyValidationParameterErrorEnum_CANNOT_SET_BOTH_IGNORABLE_POLICY_TOPICS_AND_EXEMPT_POLICY_VIOLATION_KEYS PolicyValidationParameterErrorEnum_PolicyValidationParameterError = 4 -) - -var PolicyValidationParameterErrorEnum_PolicyValidationParameterError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "UNSUPPORTED_AD_TYPE_FOR_IGNORABLE_POLICY_TOPICS", - 3: "UNSUPPORTED_AD_TYPE_FOR_EXEMPT_POLICY_VIOLATION_KEYS", - 4: "CANNOT_SET_BOTH_IGNORABLE_POLICY_TOPICS_AND_EXEMPT_POLICY_VIOLATION_KEYS", -} - -var PolicyValidationParameterErrorEnum_PolicyValidationParameterError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "UNSUPPORTED_AD_TYPE_FOR_IGNORABLE_POLICY_TOPICS": 2, - "UNSUPPORTED_AD_TYPE_FOR_EXEMPT_POLICY_VIOLATION_KEYS": 3, - "CANNOT_SET_BOTH_IGNORABLE_POLICY_TOPICS_AND_EXEMPT_POLICY_VIOLATION_KEYS": 4, -} - -func (x PolicyValidationParameterErrorEnum_PolicyValidationParameterError) String() string { - return proto.EnumName(PolicyValidationParameterErrorEnum_PolicyValidationParameterError_name, int32(x)) -} - -func (PolicyValidationParameterErrorEnum_PolicyValidationParameterError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_672b335e6c2f0519, []int{0, 0} -} - -// Container for enum describing possible policy validation parameter errors. -type PolicyValidationParameterErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PolicyValidationParameterErrorEnum) Reset() { *m = PolicyValidationParameterErrorEnum{} } -func (m *PolicyValidationParameterErrorEnum) String() string { return proto.CompactTextString(m) } -func (*PolicyValidationParameterErrorEnum) ProtoMessage() {} -func (*PolicyValidationParameterErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_672b335e6c2f0519, []int{0} -} - -func (m *PolicyValidationParameterErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PolicyValidationParameterErrorEnum.Unmarshal(m, b) -} -func (m *PolicyValidationParameterErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PolicyValidationParameterErrorEnum.Marshal(b, m, deterministic) -} -func (m *PolicyValidationParameterErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyValidationParameterErrorEnum.Merge(m, src) -} -func (m *PolicyValidationParameterErrorEnum) XXX_Size() int { - return xxx_messageInfo_PolicyValidationParameterErrorEnum.Size(m) -} -func (m *PolicyValidationParameterErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_PolicyValidationParameterErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_PolicyValidationParameterErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.errors.PolicyValidationParameterErrorEnum_PolicyValidationParameterError", PolicyValidationParameterErrorEnum_PolicyValidationParameterError_name, PolicyValidationParameterErrorEnum_PolicyValidationParameterError_value) - proto.RegisterType((*PolicyValidationParameterErrorEnum)(nil), "google.ads.googleads.v2.errors.PolicyValidationParameterErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/policy_validation_parameter_error.proto", fileDescriptor_672b335e6c2f0519) -} - -var fileDescriptor_672b335e6c2f0519 = []byte{ - // 391 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0x41, 0x8a, 0xdb, 0x30, - 0x18, 0x85, 0x1b, 0x4f, 0x69, 0x41, 0xb3, 0x68, 0xf0, 0xb2, 0x94, 0x2c, 0xdc, 0xbd, 0x0c, 0x9e, - 0x2e, 0x8a, 0xba, 0x52, 0x62, 0x25, 0x63, 0x26, 0x95, 0x44, 0xac, 0xb8, 0x4d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0x73, 0x92, 0x82, 0xf1, 0x68, 0x13, 0x2f, 0x1d, 0xf7, 0x23, 0xf8, 0x70, 0x2d, - 0x44, 0xbe, 0x92, 0xcf, 0x5c, 0x8c, 0x89, 0x24, 0x62, 0x7b, 0x2c, 0x22, 0x46, 0xe5, 0x03, 0x39, - 0xc5, 0xcb, 0x1b, 0x77, 0x0f, 0xee, 0x37, 0x98, 0x52, 0x26, 0x64, 0x4c, 0x84, 0x5c, 0x33, 0x71, - 0x7f, 0xad, 0x46, 0x62, 0x1a, 0xce, 0xd3, 0x5e, 0xae, 0xff, 0x2d, 0x80, 0xf7, 0xa8, 0xcf, 0x70, - 0x7e, 0xd2, 0xeb, 0xf7, 0xf3, 0x13, 0xe2, 0xfd, 0xc0, 0xf9, 0xe2, 0x5b, 0xf8, 0x8c, 0x29, 0x74, - 0xa5, 0xea, 0x02, 0xea, 0xb6, 0xf0, 0x8b, 0xbc, 0x1e, 0xbe, 0x63, 0x5c, 0x84, 0xa6, 0x34, 0xd7, - 0xf6, 0xe2, 0x93, 0x3d, 0x9e, 0x9c, 0x9b, 0x1d, 0xc6, 0xbf, 0x9c, 0xd5, 0xce, 0xc2, 0x70, 0x66, - 0xa0, 0x95, 0xbd, 0x4a, 0x02, 0x38, 0x54, 0x9a, 0xdf, 0xa3, 0x21, 0xc5, 0x99, 0x49, 0x27, 0x43, - 0x9a, 0x04, 0xa9, 0x35, 0xfc, 0x71, 0x3c, 0x7b, 0x8b, 0x10, 0xce, 0x0c, 0x42, 0x93, 0x05, 0xa1, - 0x24, 0x40, 0xc8, 0x9a, 0xbe, 0xbf, 0x1a, 0x5e, 0x77, 0xf7, 0x3f, 0x00, 0x00, 0xff, 0xff, 0xd9, - 0x88, 0x75, 0x46, 0xb4, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/policy_violation_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/policy_violation_error.pb.go deleted file mode 100644 index 516ab2a1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/policy_violation_error.pb.go +++ /dev/null @@ -1,119 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/policy_violation_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible policy violation errors. -type PolicyViolationErrorEnum_PolicyViolationError int32 - -const ( - // Enum unspecified. - PolicyViolationErrorEnum_UNSPECIFIED PolicyViolationErrorEnum_PolicyViolationError = 0 - // The received error code is not known in this version. - PolicyViolationErrorEnum_UNKNOWN PolicyViolationErrorEnum_PolicyViolationError = 1 - // A policy was violated. See PolicyViolationDetails for more detail. - PolicyViolationErrorEnum_POLICY_ERROR PolicyViolationErrorEnum_PolicyViolationError = 2 -) - -var PolicyViolationErrorEnum_PolicyViolationError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "POLICY_ERROR", -} - -var PolicyViolationErrorEnum_PolicyViolationError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "POLICY_ERROR": 2, -} - -func (x PolicyViolationErrorEnum_PolicyViolationError) String() string { - return proto.EnumName(PolicyViolationErrorEnum_PolicyViolationError_name, int32(x)) -} - -func (PolicyViolationErrorEnum_PolicyViolationError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_044bb86a6ff9ba04, []int{0, 0} -} - -// Container for enum describing possible policy violation errors. -type PolicyViolationErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PolicyViolationErrorEnum) Reset() { *m = PolicyViolationErrorEnum{} } -func (m *PolicyViolationErrorEnum) String() string { return proto.CompactTextString(m) } -func (*PolicyViolationErrorEnum) ProtoMessage() {} -func (*PolicyViolationErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_044bb86a6ff9ba04, []int{0} -} - -func (m *PolicyViolationErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PolicyViolationErrorEnum.Unmarshal(m, b) -} -func (m *PolicyViolationErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PolicyViolationErrorEnum.Marshal(b, m, deterministic) -} -func (m *PolicyViolationErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyViolationErrorEnum.Merge(m, src) -} -func (m *PolicyViolationErrorEnum) XXX_Size() int { - return xxx_messageInfo_PolicyViolationErrorEnum.Size(m) -} -func (m *PolicyViolationErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_PolicyViolationErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_PolicyViolationErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.errors.PolicyViolationErrorEnum_PolicyViolationError", PolicyViolationErrorEnum_PolicyViolationError_name, PolicyViolationErrorEnum_PolicyViolationError_value) - proto.RegisterType((*PolicyViolationErrorEnum)(nil), "google.ads.googleads.v2.errors.PolicyViolationErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/policy_violation_error.proto", fileDescriptor_044bb86a6ff9ba04) -} - -var fileDescriptor_044bb86a6ff9ba04 = []byte{ - // 301 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0x84, 0x40, - 0x14, 0x86, 0xd3, 0xa0, 0x60, 0x36, 0x48, 0xa4, 0x8b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, - 0x19, 0x6a, 0xaf, 0xcb, 0x3f, 0x98, 0x41, 0x95, 0x71, 0x86, 0xa1, 0x61, 0x84, 0x15, 0x5c, 0xbe, - 0x61, 0x38, 0x59, 0x5d, 0x8a, 0xff, 0x2e, 0x38, 0x53, 0x9f, 0x0f, 0xfd, 0x74, 0xed, 0x38, 0x9f, - 0xfa, 0x74, 0xad, 0xc2, 0x9c, 0x5c, 0x60, 0x25, 0x7b, 0x15, 0xdb, 0x58, 0xae, 0x14, 0x5f, 0x83, - 0x21, 0x71, 0x72, 0x91, 0x8c, 0x86, 0x24, 0xb6, 0x13, 0x65, 0xf8, 0xd6, 0x2d, 0x35, 0xa5, 0xd4, - 0xc9, 0x05, 0xa5, 0xa3, 0x85, 0xd2, 0xd8, 0xa6, 0x54, 0x99, 0xb6, 0x67, 0xb2, 0xdd, 0xfd, 0x6f, - 0x00, 0x00, 0x00, 0xff, 0xff, 0x76, 0x4f, 0xa7, 0x46, 0xde, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/query_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/query_error.pb.go deleted file mode 100644 index fd4cb960..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/query_error.pb.go +++ /dev/null @@ -1,385 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/query_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // Parameter unknown or not supported. - QueryErrorEnum_BAD_PARAMETER_NAME QueryErrorEnum_QueryError = 61 - // Parameter have invalid value. - QueryErrorEnum_BAD_PARAMETER_VALUE QueryErrorEnum_QueryError = 62 - // 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 - // Filters on date/week/month/quarter have a start date after - // end date. - QueryErrorEnum_DATE_RANGE_TOO_NARROW QueryErrorEnum_QueryError = 60 - // 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 - // Metrics cannot be requested for a manager account. To retrieve metrics, - // issue separate requests against each client account under the manager - // account. - QueryErrorEnum_REQUESTED_METRICS_FOR_MANAGER QueryErrorEnum_QueryError = 59 -) - -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", - 61: "BAD_PARAMETER_NAME", - 62: "BAD_PARAMETER_VALUE", - 45: "BAD_RESOURCE_TYPE_IN_FROM_CLAUSE", - 2: "BAD_SYMBOL", - 4: "BAD_VALUE", - 36: "DATE_RANGE_TOO_WIDE", - 60: "DATE_RANGE_TOO_NARROW", - 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", - 59: "REQUESTED_METRICS_FOR_MANAGER", -} - -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_PARAMETER_NAME": 61, - "BAD_PARAMETER_VALUE": 62, - "BAD_RESOURCE_TYPE_IN_FROM_CLAUSE": 45, - "BAD_SYMBOL": 2, - "BAD_VALUE": 4, - "DATE_RANGE_TOO_WIDE": 36, - "DATE_RANGE_TOO_NARROW": 60, - "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, - "REQUESTED_METRICS_FOR_MANAGER": 59, -} - -func (x QueryErrorEnum_QueryError) String() string { - return proto.EnumName(QueryErrorEnum_QueryError_name, int32(x)) -} - -func (QueryErrorEnum_QueryError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_08b7bf5560d34721, []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_08b7bf5560d34721, []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 (m *QueryErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.QueryErrorEnum_QueryError", QueryErrorEnum_QueryError_name, QueryErrorEnum_QueryError_value) - proto.RegisterType((*QueryErrorEnum)(nil), "google.ads.googleads.v2.errors.QueryErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/query_error.proto", fileDescriptor_08b7bf5560d34721) -} - -var fileDescriptor_08b7bf5560d34721 = []byte{ - // 981 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x55, 0x6f, 0x73, 0xd3, 0xc6, - 0x13, 0xfe, 0x25, 0xfc, 0x0a, 0x65, 0x43, 0x92, 0xe3, 0x20, 0x7f, 0x48, 0x43, 0x1a, 0x4c, 0x80, - 0x40, 0x12, 0x3b, 0x98, 0x29, 0xa5, 0x86, 0x76, 0xe6, 0x24, 0xad, 0x9d, 0x1b, 0xa4, 0x3b, 0xe5, - 0x74, 0x8a, 0x6b, 0x26, 0x33, 0x37, 0x69, 0x93, 0xf1, 0x64, 0x06, 0xac, 0xd4, 0x0e, 0xcc, 0xf4, - 0xeb, 0xf4, 0x65, 0x3f, 0x45, 0x5f, 0x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 0x33, 0x82, 0x05, - 0x48, 0x6e, 0xd0, 0x5b, 0xb0, 0x68, 0x6d, 0x3e, 0x0f, 0xb8, 0x36, 0x47, 0xcc, 0x8f, 0x91, 0x2c, - 0xd2, 0x05, 0x00, 0x6b, 0x14, 0x71, 0xe0, 0xa0, 0x22, 0x5f, 0x51, 0x02, 0x37, 0xec, 0x5a, 0x86, - 0xa8, 0x98, 0x96, 0x8a, 0x5c, 0xa1, 0xcb, 0x40, 0xad, 0x25, 0x64, 0x8a, 0x05, 0xa8, 0x51, 0x65, - 0x72, 0x3f, 0xe6, 0x7b, 0x8f, 0xec, 0x99, 0xe4, 0x4f, 0x74, 0x0b, 0x36, 0xad, 0x43, 0x61, 0x24, - 0x63, 0xe5, 0xa2, 0xd1, 0x9d, 0x10, 0x0d, 0x17, 0xa6, 0xa9, 0x64, 0x60, 0x5c, 0x9f, 0xc5, 0x11, - 0x92, 0xbd, 0x7c, 0xe3, 0xa8, 0x13, 0x38, 0xd2, 0x27, 0xb3, 0x74, 0x1e, 0xae, 0xdb, 0x75, 0x26, - 0xf2, 0x7f, 0xab, 0xee, 0x31, 0x8d, 0x46, 0x31, 0xd1, 0x42, 0xa3, 0xa5, 0x34, 0x6d, 0xee, 0x21, - 0xd9, 0xa2, 0x77, 0x60, 0xe9, 0x13, 0x87, 0x60, 0x4a, 0xc9, 0x36, 0x79, 0x65, 0x63, 0xc7, 0x9f, - 0x43, 0x74, 0x35, 0x7a, 0x86, 0x09, 0x8f, 0x6c, 0xd8, 0x3c, 0x16, 0x16, 0xa7, 0x43, 0x16, 0xe8, - 0x1e, 0x3c, 0x2e, 0x0c, 0x1e, 0x0f, 0x50, 0x44, 0x5c, 0x8a, 0x61, 0x9a, 0xb8, 0x30, 0x11, 0xfa, - 0xe8, 0xea, 0x3c, 0xc8, 0x07, 0xb4, 0x02, 0x1b, 0x05, 0xbc, 0xc9, 0x7d, 0x8d, 0x2a, 0x32, 0x52, - 0x98, 0x51, 0x00, 0xe4, 0x7b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ff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/quota_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/quota_error.pb.go deleted file mode 100644 index 7ddab254..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/quota_error.pb.go +++ /dev/null @@ -1,129 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/quota_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_dfbdce9f964f84f4, []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_dfbdce9f964f84f4, []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 (m *QuotaErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_QuotaErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.QuotaErrorEnum_QuotaError", QuotaErrorEnum_QuotaError_name, QuotaErrorEnum_QuotaError_value) - proto.RegisterType((*QuotaErrorEnum)(nil), "google.ads.googleads.v2.errors.QuotaErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/quota_error.proto", fileDescriptor_dfbdce9f964f84f4) -} - -var fileDescriptor_dfbdce9f964f84f4 = []byte{ - // 335 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xcf, 0x4e, 0xb3, 0x40, - 0x14, 0xc5, 0x3f, 0xe8, 0x17, 0x4d, 0xa6, 0x89, 0xad, 0x93, 0xe8, 0xc2, 0x98, 0x2e, 0x78, 0x80, - 0xc1, 0xe0, 0x6e, 0x5c, 0x4d, 0xe9, 0xd8, 0x12, 0x15, 0x10, 0x4a, 0xfd, 0x13, 0x92, 0x06, 0xa5, - 0x99, 0x34, 0x69, 0x67, 0x2a, 0x43, 0xbb, 0xf3, 0x19, 0x7c, 0x07, 0x97, 0x3e, 0x8a, 0x8f, 0xd2, - 0xa7, 0x30, 0xc3, 0x08, 0x75, 0xa3, 0x2b, 0x0e, 0x37, 0xbf, 0x73, 0xe6, 0x9e, 0x0b, 0xce, 0x98, - 0x10, 0x6c, 0x31, 0xb3, 0xb3, 0x5c, 0xda, 0x5a, 0x2a, 0xb5, 0x71, 0xec, 0x59, 0x51, 0x88, 0x42, - 0xda, 0x2f, 0x6b, 0x51, 0x66, 0xd3, 0xea, 0x07, 0xad, 0x0a, 0x51, 0x0a, 0xd8, 0xd3, 0x18, 0xca, - 0x72, 0x89, 0x1a, 0x07, 0xda, 0x38, 0x48, 0x3b, 0x4e, 0x4e, 0xeb, 0xc4, 0xd5, 0xdc, 0xce, 0x38, - 0x17, 0x65, 0x56, 0xce, 0x05, 0x97, 0xda, 0x6d, 0xbd, 0x19, 0xe0, 0xe0, 0x56, 0x65, 0x52, 0x45, - 0x53, 0xbe, 0x5e, 0x5a, 0xaf, 0x00, 0xec, 0x26, 0xb0, 0x03, 0xda, 0x89, 0x1f, 0x87, 0xd4, 0xf5, - 0x2e, 0x3d, 0x3a, 0xe8, 0xfe, 0x83, 0x6d, 0xb0, 0x9f, 0xf8, 0x57, 0x7e, 0x70, 0xe7, 0x77, 0x0d, - 0x78, 0x0c, 0x60, 0x44, 0xe3, 0x20, 0x89, 0x5c, 0x3a, 0xa5, 0xf7, 0x23, 0x92, 0xc4, 0x63, 0x3a, - 0xe8, 0x9a, 0xf0, 0x08, 0x1c, 0x12, 0xd7, 0xa5, 0x71, 0x3c, 0x0d, 0xa3, 0x60, 0xe4, 0xf5, 0x3d, - 0x35, 0x6e, 0x41, 0x0b, 0xf4, 0x1a, 0x7c, 0x4c, 0x6f, 0xc2, 0x20, 0x22, 0x91, 0x77, 0xfd, 0xf0, - 0xc3, 0xfa, 0xbf, 0xbf, 0x35, 0x80, 0xf5, 0x2c, 0x96, 0xe8, 0xef, 0x5a, 0xfd, 0xce, 0x6e, 0xc7, - 0x50, 0x35, 0x09, 0x8d, 0xc7, 0xc1, 0xb7, 0x85, 0x89, 0x45, 0xc6, 0x19, 0x12, 0x05, 0xb3, 0xd9, - 0x8c, 0x57, 0x3d, 0xeb, 0x5b, 0xae, 0xe6, 0xf2, 0xb7, 0xd3, 0x5e, 0xe8, 0xcf, 0xbb, 0xd9, 0x1a, - 0x12, 0xf2, 0x61, 0xf6, 0x86, 0x3a, 0x8c, 0xe4, 0x12, 0x69, 0xa9, 0xd4, 0xc4, 0x41, 0xd5, 0x93, - 0xf2, 0xb3, 0x06, 0x52, 0x92, 0xcb, 0xb4, 0x01, 0xd2, 0x89, 0x93, 0x6a, 0x60, 0x6b, 0x5a, 0x7a, - 0x8a, 0x31, 0xc9, 0x25, 0xc6, 0x0d, 0x82, 0xf1, 0xc4, 0xc1, 0x58, 0x43, 0x4f, 0x7b, 0xd5, 0x76, - 0xe7, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x86, 0xbf, 0xe6, 0x41, 0xf7, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/range_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/range_error.pb.go deleted file mode 100644 index a55623e5..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/range_error.pb.go +++ /dev/null @@ -1,123 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/range_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_43b613bac2f6c85d, []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_43b613bac2f6c85d, []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 (m *RangeErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_RangeErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.RangeErrorEnum_RangeError", RangeErrorEnum_RangeError_name, RangeErrorEnum_RangeError_value) - proto.RegisterType((*RangeErrorEnum)(nil), "google.ads.googleads.v2.errors.RangeErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/range_error.proto", fileDescriptor_43b613bac2f6c85d) -} - -var fileDescriptor_43b613bac2f6c85d = []byte{ - // 292 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xf3, 0x40, - 0x14, 0x85, 0xff, 0xa4, 0xf0, 0x2b, 0x53, 0xb1, 0x21, 0x4b, 0x91, 0x2e, 0xf2, 0x00, 0x33, 0x12, - 0x77, 0xe3, 0x2a, 0xb5, 0x31, 0x0d, 0x4a, 0x12, 0xd4, 0x26, 0x20, 0x81, 0x32, 0x9a, 0x30, 0x04, - 0xda, 0x99, 0x30, 0x13, 0xfb, 0x40, 0x2e, 0x7d, 0x14, 0x1f, 0xa5, 0x4f, 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f7, 0x71, 0xbf, 0x52, 0x7f, 0x0d, 0x40, 0x19, 0x54, 0xba, 0x1c, 0x81, 0x32, 0xf7, - 0x4b, 0x00, 0x0e, 0xb6, 0x07, 0xbf, 0x94, 0x06, 0x95, 0xa6, 0x74, 0x44, 0x28, 0xcd, 0x7d, 0x4a, - 0x01, 0x7a, 0xfd, 0xdf, 0xb7, 0xbb, 0xfe, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x04, 0xf5, 0x90, 0x36, - 0xbe, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/reach_plan_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/reach_plan_error.pb.go deleted file mode 100644 index d53990d7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/reach_plan_error.pb.go +++ /dev/null @@ -1,115 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/reach_plan_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible errors from ReachPlanService. -type ReachPlanErrorEnum_ReachPlanError int32 - -const ( - // Enum unspecified. - ReachPlanErrorEnum_UNSPECIFIED ReachPlanErrorEnum_ReachPlanError = 0 - // The received error code is not known in this version. - ReachPlanErrorEnum_UNKNOWN ReachPlanErrorEnum_ReachPlanError = 1 -) - -var ReachPlanErrorEnum_ReachPlanError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", -} - -var ReachPlanErrorEnum_ReachPlanError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, -} - -func (x ReachPlanErrorEnum_ReachPlanError) String() string { - return proto.EnumName(ReachPlanErrorEnum_ReachPlanError_name, int32(x)) -} - -func (ReachPlanErrorEnum_ReachPlanError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_965d67e16d0d10af, []int{0, 0} -} - -// Container for enum describing possible errors returned from -// the ReachPlanService. -type ReachPlanErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ReachPlanErrorEnum) Reset() { *m = ReachPlanErrorEnum{} } -func (m *ReachPlanErrorEnum) String() string { return proto.CompactTextString(m) } -func (*ReachPlanErrorEnum) ProtoMessage() {} -func (*ReachPlanErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_965d67e16d0d10af, []int{0} -} - -func (m *ReachPlanErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReachPlanErrorEnum.Unmarshal(m, b) -} -func (m *ReachPlanErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReachPlanErrorEnum.Marshal(b, m, deterministic) -} -func (m *ReachPlanErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReachPlanErrorEnum.Merge(m, src) -} -func (m *ReachPlanErrorEnum) XXX_Size() int { - return xxx_messageInfo_ReachPlanErrorEnum.Size(m) -} -func (m *ReachPlanErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_ReachPlanErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_ReachPlanErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.errors.ReachPlanErrorEnum_ReachPlanError", ReachPlanErrorEnum_ReachPlanError_name, ReachPlanErrorEnum_ReachPlanError_value) - proto.RegisterType((*ReachPlanErrorEnum)(nil), "google.ads.googleads.v2.errors.ReachPlanErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/reach_plan_error.proto", fileDescriptor_965d67e16d0d10af) -} - -var fileDescriptor_965d67e16d0d10af = []byte{ - // 280 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x41, 0x4a, 0xc3, 0x40, - 0x18, 0x85, 0x4d, 0x04, 0x85, 0x29, 0x68, 0x89, 0x3b, 0x91, 0x2e, 0x72, 0x80, 0x7f, 0x20, 0xe2, - 0x66, 0x5c, 0xa5, 0x26, 0x96, 0x22, 0xc4, 0xa0, 0x34, 0x82, 0x04, 0xca, 0xd8, 0x84, 0x31, 0x90, - 0xce, 0x1f, 0x66, 0x62, 0x0f, 0xe4, 0xd2, 0xa3, 0x78, 0x14, 0x17, 0x9e, 0x41, 0x92, 0xdf, 0x04, - 0xba, 0xd0, 0xd5, 0x3c, 0x1e, 0xdf, 0x7b, 0xf3, 0xf8, 0xd9, 0x95, 0x42, 0x54, 0x75, 0xc9, 0x65, - 0x61, 0x39, 0xc9, 0x4e, 0xed, 0x02, 0x5e, 0x1a, 0x83, 0xc6, 0x72, 0x53, 0xca, 0xcd, 0xeb, 0xba, - 0xa9, 0xa5, 0x5e, 0xf7, 0x0e, 0x34, 0x06, 0x5b, 0xf4, 0x66, 0xc4, 0x82, 0x2c, 0x2c, 0x8c, 0x31, - 0xd8, 0x05, 0x40, 0xb1, 0xf3, 0x8b, 0xa1, 0xb6, 0xa9, 0xb8, 0xd4, 0x1a, 0x5b, 0xd9, 0x56, 0xa8, - 0x2d, 0xa5, 0xfd, 0x88, 0x79, 0x0f, 0x5d, 0x6f, 0x5a, 0x4b, 0x1d, 0x77, 0x81, 0x58, 0xbf, 0x6d, - 0x7d, 0x60, 0x27, 0xfb, 0xae, 0x77, 0xca, 0x26, 0xab, 0xe4, 0x31, 0x8d, 0x6f, 0x96, 0xb7, 0xcb, - 0x38, 0x9a, 0x1e, 0x78, 0x13, 0x76, 0xbc, 0x4a, 0xee, 0x92, 0xfb, 0xa7, 0x64, 0xea, 0xcc, 0xbf, - 0x1d, 0xe6, 0x6f, 0x70, 0x0b, 0xff, 0x4f, 0x99, 0x9f, 0xed, 0x97, 0xa6, 0xdd, 0x82, 0xd4, 0x79, - 0x8e, 0x7e, 0x63, 0x0a, 0x6b, 0xa9, 0x15, 0xa0, 0x51, 0x5c, 0x95, 0xba, 0xdf, 0x37, 0x1c, 0xa2, - 0xa9, 0xec, 0x5f, 0x77, 0xb9, 0xa6, 0xe7, 0xdd, 0x3d, 0x5c, 0x84, 0xe1, 0x87, 0x3b, 0x5b, 0x50, - 0x59, 0x58, 0x58, 0x20, 0xd9, 0xa9, 0x2c, 0x80, 0xfe, 0x4b, 0xfb, 0x39, 0x00, 0x79, 0x58, 0xd8, - 0x7c, 0x04, 0xf2, 0x2c, 0xc8, 0x09, 0xf8, 0x72, 0x7d, 0x72, 0x85, 0x08, 0x0b, 0x2b, 0xc4, 0x88, - 0x08, 0x91, 0x05, 0x42, 0x10, 0xf4, 0x72, 0xd4, 0xaf, 0xbb, 0xfc, 0x09, 0x00, 0x00, 0xff, 0xff, - 0xee, 0x5a, 0x2e, 0x65, 0xb4, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/recommendation_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/recommendation_error.pb.go deleted file mode 100644 index 3fc498c9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/recommendation_error.pb.go +++ /dev/null @@ -1,189 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/recommendation_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // The recommendation apply request was malformed and invalid. - RecommendationErrorEnum_INVALID_APPLY_REQUEST RecommendationErrorEnum_RecommendationError = 15 -) - -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", - 15: "INVALID_APPLY_REQUEST", -} - -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, - "INVALID_APPLY_REQUEST": 15, -} - -func (x RecommendationErrorEnum_RecommendationError) String() string { - return proto.EnumName(RecommendationErrorEnum_RecommendationError_name, int32(x)) -} - -func (RecommendationErrorEnum_RecommendationError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_aafd77ece182a223, []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_aafd77ece182a223, []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 (m *RecommendationErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_RecommendationErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.RecommendationErrorEnum_RecommendationError", RecommendationErrorEnum_RecommendationError_name, RecommendationErrorEnum_RecommendationError_value) - proto.RegisterType((*RecommendationErrorEnum)(nil), "google.ads.googleads.v2.errors.RecommendationErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/recommendation_error.proto", fileDescriptor_aafd77ece182a223) -} - -var fileDescriptor_aafd77ece182a223 = []byte{ - // 515 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xd1, 0x6e, 0xd3, 0x30, - 0x14, 0x86, 0x59, 0x0b, 0x1b, 0x78, 0x1b, 0x33, 0x9e, 0x60, 0x30, 0xa0, 0x82, 0x8a, 0xeb, 0x44, - 0x2a, 0x57, 0x84, 0x2b, 0xb7, 0x3e, 0xad, 0xac, 0x25, 0xb6, 0x71, 0x92, 0x4e, 0x41, 0x95, 0xac, - 0xb2, 0x54, 0x51, 0xa5, 0x35, 0xa9, 0x92, 0xb2, 0x07, 0xe2, 0x92, 0x87, 0xe0, 0x01, 0x78, 0x04, - 0x1e, 0x81, 0x5b, 0x5e, 0x00, 0x39, 0x59, 0xab, 0x0d, 0x75, 0x5c, 0xe5, 0xe8, 0xf8, 0xfb, 0x7f, - 0x9f, 0xe3, 0xfc, 0xe8, 0x43, 0x56, 0x14, 0xd9, 0xe5, 0xcc, 0x9d, 0xa6, 0x95, 0xdb, 0x94, 0xb6, - 0xba, 0xea, 0xb9, 0xb3, 0xb2, 0x2c, 0xca, 0xca, 0x2d, 0x67, 0x17, 0xc5, 0x62, 0x31, 0xcb, 0xd3, - 0xe9, 0x6a, 0x5e, 0xe4, 0xa6, 0xee, 0x3a, 0xcb, 0xb2, 0x58, 0x15, 0xa4, 0xd3, 0xf0, 0xce, 0x34, - 0xad, 0x9c, 0x8d, 0xd4, 0xb9, 0xea, 0x39, 0x8d, 0xf4, 0xf4, 0xd5, 0xda, 0x7a, 0x39, 0x77, 0xa7, - 0x79, 0x5e, 0xac, 0x6a, 0x8b, 0xaa, 0x51, 0x77, 0x7f, 0xb5, 0xd1, 0x89, 0xbe, 0x65, 0x0e, 0x56, - 0x06, 0xf9, 0xd7, 0x45, 0xf7, 0x47, 0x1b, 0x1d, 0x6f, 0x39, 0x23, 0x47, 0x68, 0x3f, 0x16, 0xa1, - 0x82, 0x01, 0x1f, 0x72, 0x60, 0xf8, 0x1e, 0xd9, 0x47, 0x7b, 0xb1, 0x38, 0x13, 0xf2, 0x5c, 0xe0, - 0x1d, 0xf2, 0x12, 0x9d, 0xf4, 0x63, 0x36, 0x82, 0xc8, 0xd0, 0x40, 0xc6, 0x22, 0x32, 0x91, 0x94, - 0x26, 0x0c, 0xa8, 0xef, 0xe3, 0xd6, 0xf6, 0x43, 0x9f, 0xea, 0x11, 0xe0, 0x36, 0x79, 0x81, 0x9e, - 0x72, 0x31, 0xa6, 0x3e, 0x67, 0xe6, 0x16, 0x84, 0xef, 0x13, 0x8c, 0x0e, 0x94, 0xf4, 0xf9, 0x20, - 0x31, 0xa0, 0xb5, 0xd4, 0xf8, 0x01, 0x79, 0x86, 0xc8, 0x06, 0xe6, 0x6c, 0x4d, 0xee, 0x5a, 0x13, - 0xca, 0x46, 0x5a, 0xc6, 0xca, 0x9c, 0x41, 0x72, 0x2e, 0x35, 0x33, 0x3e, 0x0f, 0x78, 0x84, 0xf7, - 0x48, 0x17, 0x75, 0x34, 0x0c, 0x64, 0x10, 0x80, 0x60, 0x34, 0xe2, 0x52, 0x18, 0xea, 0x6b, 0xa0, - 0x2c, 0x31, 0x54, 0x29, 0xdf, 0xae, 0xf2, 0x90, 0x74, 0xd0, 0xe9, 0x3f, 0xcc, 0xf5, 0x2d, 0x34, - 0x02, 0x86, 0x1f, 0x91, 0x13, 0x74, 0x6c, 0x47, 0x0e, 0xa8, 0x48, 0x8c, 0x54, 0xa0, 0x6b, 0x26, - 0xc4, 0x88, 0x3c, 0x41, 0x87, 0x42, 0xde, 0x6c, 0xed, 0x93, 0xb7, 0xe8, 0x35, 0xe3, 0xc3, 0x21, - 0x68, 0xb0, 0x8b, 0x26, 0x0a, 0x42, 0x23, 0x64, 0x64, 0xc2, 0x58, 0x29, 0xa9, 0xad, 0xdd, 0x81, - 0x7d, 0x0f, 0x16, 0x2b, 0x9f, 0x0f, 0x68, 0x04, 0x46, 0x43, 0x28, 0x63, 0x3d, 0x00, 0x23, 0x68, - 0x00, 0xf8, 0x90, 0xbc, 0x43, 0x6f, 0xee, 0x98, 0x97, 0xf1, 0x30, 0xe0, 0x61, 0x08, 0x0c, 0x3f, - 0xbe, 0xf9, 0x6a, 0x76, 0x8d, 0xc4, 0x68, 0xf8, 0x14, 0x43, 0x18, 0xe1, 0xa3, 0xfe, 0x9f, 0x1d, - 0xd4, 0xbd, 0x28, 0x16, 0xce, 0xff, 0x13, 0xd2, 0x7f, 0xbe, 0xe5, 0x27, 0x2b, 0x9b, 0x0e, 0xb5, - 0xf3, 0x99, 0x5d, 0x6b, 0xb3, 0xe2, 0x72, 0x9a, 0x67, 0x4e, 0x51, 0x66, 0x6e, 0x36, 0xcb, 0xeb, - 0xec, 0xac, 0x83, 0xba, 0x9c, 0x57, 0x77, 0xe5, 0xf6, 0x63, 0xf3, 0xf9, 0xd6, 0x6a, 0x8f, 0x28, - 0xfd, 0xde, 0xea, 0x8c, 0x1a, 0x33, 0x9a, 0x56, 0x4e, 0x53, 0xda, 0x6a, 0xdc, 0x73, 0xea, 0x2b, - 0xab, 0x9f, 0x6b, 0x60, 0x42, 0xd3, 0x6a, 0xb2, 0x01, 0x26, 0xe3, 0xde, 0xa4, 0x01, 0x7e, 0xb7, - 0xba, 0x4d, 0xd7, 0xf3, 0x68, 0x5a, 0x79, 0xde, 0x06, 0xf1, 0xbc, 0x71, 0xcf, 0xf3, 0x1a, 0xe8, - 0xcb, 0x6e, 0x3d, 0xdd, 0xfb, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x41, 0x3b, 0xcf, 0xae, 0x54, - 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/region_code_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/region_code_error.pb.go deleted file mode 100644 index b2adf5cf..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/region_code_error.pb.go +++ /dev/null @@ -1,119 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/region_code_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_b2c0d579c875b2c8, []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_b2c0d579c875b2c8, []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 (m *RegionCodeErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_RegionCodeErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.RegionCodeErrorEnum_RegionCodeError", RegionCodeErrorEnum_RegionCodeError_name, RegionCodeErrorEnum_RegionCodeError_value) - proto.RegisterType((*RegionCodeErrorEnum)(nil), "google.ads.googleads.v2.errors.RegionCodeErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/region_code_error.proto", fileDescriptor_b2c0d579c875b2c8) -} - -var fileDescriptor_b2c0d579c875b2c8 = []byte{ - // 304 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xd1, 0x4a, 0xf3, 0x30, - 0x1c, 0xc5, 0xbf, 0xf5, 0x03, 0x85, 0xec, 0x62, 0xa3, 0x13, 0x04, 0x91, 0x5d, 0xf4, 0x01, 0x12, - 0xa8, 0xe0, 0x45, 0xbc, 0xca, 0xd6, 0x38, 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, 0x63, 0xb0, - 0x9a, 0x68, 0x65, 0x9a, 0xed, 0xed, 0x95, 0x76, 0x95, 0xfb, 0xed, 0x68, 0x37, 0xfe, 0x79, 0x0b, - 0xfe, 0xcf, 0x18, 0x7b, 0x0f, 0xc6, 0x33, 0x5f, 0xc6, 0xa4, 0xc3, 0x5e, 0xd6, 0x2a, 0x8b, 0x71, - 0xf3, 0xa5, 0xfb, 0x68, 0x81, 0x9c, 0x49, 0x97, 0x77, 0x40, 0x9e, 0xc5, 0xb9, 0x07, 0x3e, 0x83, - 0xc8, 0xbb, 0x94, 0x32, 0xe9, 0x28, 0xed, 0x10, 0x4a, 0xb3, 0x98, 0x52, 0x0f, 0xbd, 0x9c, 0x34, - 0xeb, 0xae, 0xbe, 0x03, 0x00, 0x00, 0xff, 0xff, 0x17, 0xaf, 0x79, 0x6f, 0xd1, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/request_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/request_error.pb.go deleted file mode 100644 index 57e94085..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/request_error.pb.go +++ /dev/null @@ -1,225 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/request_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // Page size specified in user request is invalid. - RequestErrorEnum_INVALID_PAGE_SIZE RequestErrorEnum_RequestError = 22 - // 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 - // page_token is set in the validate only request - RequestErrorEnum_VALIDATE_ONLY_REQUEST_HAS_PAGE_TOKEN RequestErrorEnum_RequestError = 21 - // return_summary_row cannot be enabled if request did not select any - // metrics field. - RequestErrorEnum_CANNOT_RETURN_SUMMARY_ROW_FOR_REQUEST_WITHOUT_METRICS RequestErrorEnum_RequestError = 29 - // return_summary_row should not be enabled for validate only requests. - RequestErrorEnum_CANNOT_RETURN_SUMMARY_ROW_FOR_VALIDATE_ONLY_REQUESTS RequestErrorEnum_RequestError = 30 - // return_summary_row parameter value should be the same between requests - // with page_token field set and their original request. - RequestErrorEnum_INCONSISTENT_RETURN_SUMMARY_ROW_VALUE RequestErrorEnum_RequestError = 31 -) - -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", - 22: "INVALID_PAGE_SIZE", - 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", - 21: "VALIDATE_ONLY_REQUEST_HAS_PAGE_TOKEN", - 29: "CANNOT_RETURN_SUMMARY_ROW_FOR_REQUEST_WITHOUT_METRICS", - 30: "CANNOT_RETURN_SUMMARY_ROW_FOR_VALIDATE_ONLY_REQUESTS", - 31: "INCONSISTENT_RETURN_SUMMARY_ROW_VALUE", -} - -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, - "INVALID_PAGE_SIZE": 22, - "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, - "VALIDATE_ONLY_REQUEST_HAS_PAGE_TOKEN": 21, - "CANNOT_RETURN_SUMMARY_ROW_FOR_REQUEST_WITHOUT_METRICS": 29, - "CANNOT_RETURN_SUMMARY_ROW_FOR_VALIDATE_ONLY_REQUESTS": 30, - "INCONSISTENT_RETURN_SUMMARY_ROW_VALUE": 31, -} - -func (x RequestErrorEnum_RequestError) String() string { - return proto.EnumName(RequestErrorEnum_RequestError_name, int32(x)) -} - -func (RequestErrorEnum_RequestError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_395ab4fdf1bc46c9, []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_395ab4fdf1bc46c9, []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 (m *RequestErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_RequestErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.RequestErrorEnum_RequestError", RequestErrorEnum_RequestError_name, RequestErrorEnum_RequestError_value) - proto.RegisterType((*RequestErrorEnum)(nil), "google.ads.googleads.v2.errors.RequestErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/request_error.proto", fileDescriptor_395ab4fdf1bc46c9) -} - -var fileDescriptor_395ab4fdf1bc46c9 = []byte{ - // 635 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x53, 0xef, 0x4e, 0x13, 0x4b, - 0x14, 0xbf, 0xc0, 0x05, 0xee, 0x1d, 0xee, 0x95, 0x61, 0x10, 0x88, 0xa0, 0x25, 0x56, 0x89, 0xfa, - 0x65, 0x9b, 0x54, 0x4d, 0x74, 0xfd, 0x34, 0xdd, 0x3d, 0x2d, 0x13, 0x76, 0x67, 0xea, 0xfc, 0x29, - 0x94, 0x34, 0x99, 0x54, 0xdb, 0x34, 0x24, 0xd0, 0xc5, 0x6e, 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0x90, 0xf6, 0xf2, 0x30, - 0x2c, 0x20, 0x61, 0xd8, 0xaa, 0x86, 0xa1, 0x07, 0xbd, 0x5b, 0x99, 0xb8, 0x7b, 0xfe, 0x23, 0x00, - 0x00, 0xff, 0xff, 0x43, 0xeb, 0xd6, 0xff, 0x59, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/resource_access_denied_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/resource_access_denied_error.pb.go deleted file mode 100644 index 1c07d660..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/resource_access_denied_error.pb.go +++ /dev/null @@ -1,120 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/resource_access_denied_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_6921f9eed62ce66e, []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_6921f9eed62ce66e, []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 (m *ResourceAccessDeniedErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResourceAccessDeniedErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.ResourceAccessDeniedErrorEnum_ResourceAccessDeniedError", ResourceAccessDeniedErrorEnum_ResourceAccessDeniedError_name, ResourceAccessDeniedErrorEnum_ResourceAccessDeniedError_value) - proto.RegisterType((*ResourceAccessDeniedErrorEnum)(nil), "google.ads.googleads.v2.errors.ResourceAccessDeniedErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/resource_access_denied_error.proto", fileDescriptor_6921f9eed62ce66e) -} - -var fileDescriptor_6921f9eed62ce66e = []byte{ - // 312 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x6a, 0x32, 0x31, - 0x14, 0x85, 0x7f, 0x15, 0xfe, 0x42, 0x5c, 0x54, 0xa6, 0x8b, 0xd2, 0xd2, 0xba, 0x98, 0x07, 0x48, - 0x60, 0xba, 0x4b, 0x57, 0xd1, 0x49, 0x45, 0x0a, 0x53, 0xd1, 0xaa, 0x50, 0x06, 0x86, 0x74, 0x12, - 0xc2, 0x80, 0x26, 0x92, 0xab, 0x3e, 0x50, 0x97, 0x7d, 0x94, 0x3e, 0x4a, 0xdf, 0xa0, 0xbb, 0x32, - 0x89, 0xce, 0x6e, 0xba, 0xca, 0x21, 0xf9, 0xee, 0x39, 0x27, 0x17, 0x31, 0x6d, 0xad, 0xde, 0x28, - 0x22, 0x24, 0x90, 0x20, 0x6b, 0x75, 0x4c, 0x88, 0x72, 0xce, 0x3a, 0x20, 0x4e, 0x81, 0x3d, 0xb8, - 0x52, 0x15, 0xa2, 0x2c, 0x15, 0x40, 0x21, 0x95, 0xa9, 0x94, 0x2c, 0xfc, 0x2b, 0xde, 0x39, 0xbb, - 0xb7, 0xd1, 0x30, 0xcc, 0x61, 0x21, 0x01, 0x37, 0x16, 0xf8, 0x98, 0xe0, 0x60, 0x71, 0x7b,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x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/resource_count_limit_exceeded_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/resource_count_limit_exceeded_error.pb.go deleted file mode 100644 index 1cf075bb..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/resource_count_limit_exceeded_error.pb.go +++ /dev/null @@ -1,182 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/resource_count_limit_exceeded_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // This request would exceed a limit on the number of allowed resources. - // The details of which type of limit was exceeded will eventually be - // returned in ErrorDetails. - ResourceCountLimitExceededErrorEnum_RESOURCE_LIMIT ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError = 10 -) - -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", - 10: "RESOURCE_LIMIT", -} - -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, - "RESOURCE_LIMIT": 10, -} - -func (x ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError) String() string { - return proto.EnumName(ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError_name, int32(x)) -} - -func (ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_00f247ba537a319f, []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_00f247ba537a319f, []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 (m *ResourceCountLimitExceededErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResourceCountLimitExceededErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError", ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError_name, ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError_value) - proto.RegisterType((*ResourceCountLimitExceededErrorEnum)(nil), "google.ads.googleads.v2.errors.ResourceCountLimitExceededErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/resource_count_limit_exceeded_error.proto", fileDescriptor_00f247ba537a319f) -} - -var fileDescriptor_00f247ba537a319f = []byte{ - // 440 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xd1, 0x6e, 0x94, 0x40, - 0x18, 0x85, 0x5d, 0xaa, 0xad, 0x4e, 0xa3, 0xd2, 0x89, 0x46, 0x63, 0x9b, 0x36, 0x59, 0xbd, 0x1e, - 0x12, 0xbc, 0xc3, 0xab, 0xe9, 0x30, 0x65, 0x89, 0xdd, 0x81, 0x0c, 0xb0, 0x35, 0x66, 0x93, 0x09, - 0x2e, 0x13, 0x42, 0xb2, 0xcb, 0x6c,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xe1, 0x7a, 0x9e, 0x81, 0xbe, 0x1c, 0xf6, 0xaf, 0x7b, 0xff, 0x37, 0x00, 0x00, 0xff, 0xff, - 0x97, 0xdf, 0xe1, 0x9f, 0xd3, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/setting_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/setting_error.pb.go deleted file mode 100644 index 2e04e285..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/setting_error.pb.go +++ /dev/null @@ -1,218 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/setting_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_6f7dbbb80c19998c, []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_6f7dbbb80c19998c, []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 (m *SettingErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_SettingErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.SettingErrorEnum_SettingError", SettingErrorEnum_SettingError_name, SettingErrorEnum_SettingError_value) - proto.RegisterType((*SettingErrorEnum)(nil), "google.ads.googleads.v2.errors.SettingErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/setting_error.proto", fileDescriptor_6f7dbbb80c19998c) -} - -var fileDescriptor_6f7dbbb80c19998c = []byte{ - // 695 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xd1, 0x8e, 0xdb, 0x44, - 0x14, 0x86, 0xd9, 0x2d, 0xb4, 0xcb, 0x6c, 0xa1, 0xd3, 0xe1, 0xae, 0x82, 0x95, 0xd8, 0x6b, 0x70, - 0x20, 0x20, 0x28, 0x2e, 0x14, 0x1d, 0x7b, 0xce, 0x3a, 0xa3, 0x8e, 0x67, 0x8c, 0x67, 0x9c, 0x6d, - 0x50, 0xa4, 0xa3, 0x40, 0xa2, 0x28, 0x52, 0x1b, 0xaf, 0xe2, 0xd0, 0x07, 0xe2, 0x0e, 0x1e, 0x82, - 0x07, 0xe0, 0x51, 0x10, 0x0f, 0x81, 0xc6, 0x6e, 0xdc, 0x48, 0x4d, 0xbb, 0xcb, 0x55, 0x26, 0xe3, - 0xff, 0xfb, 0xcf, 0xf8, 0xf7, 0x99, 0xc3, 0x86, 0xcb, 0xba, 0x5e, 0x3e, 0x5b, 0x0c, 0x66, 0xf3, - 0x66, 0xd0, 0x2d, 0xc3, 0xea, 0xc5, 0x70, 0xb0, 0xd8, 0x6c, 0xea, 0x4d, 0x33, 0x68, 0x16, 0xdb, - 0xed, 0x6a, 0xbd, 0xa4, 0xf6, 0x6f, 0x74, 0xb5, 0xa9, 0xb7, 0xb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c4, 0xf1, 0x78, - 0x18, 0xc7, 0x9d, 0xe8, 0x97, 0xdb, 0xed, 0xe9, 0xbe, 0xfa, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x62, - 0x5f, 0x0a, 0xee, 0xaa, 0x05, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/shared_criterion_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/shared_criterion_error.pb.go deleted file mode 100644 index a96b1bb1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/shared_criterion_error.pb.go +++ /dev/null @@ -1,121 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/shared_criterion_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_f51a12a98eee77aa, []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_f51a12a98eee77aa, []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 (m *SharedCriterionErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_SharedCriterionErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.SharedCriterionErrorEnum_SharedCriterionError", SharedCriterionErrorEnum_SharedCriterionError_name, SharedCriterionErrorEnum_SharedCriterionError_value) - proto.RegisterType((*SharedCriterionErrorEnum)(nil), "google.ads.googleads.v2.errors.SharedCriterionErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/shared_criterion_error.proto", fileDescriptor_f51a12a98eee77aa) -} - -var fileDescriptor_f51a12a98eee77aa = []byte{ - // 331 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x41, 0x4e, 0xf3, 0x30, - 0x10, 0x85, 0xff, 0xe4, 0x97, 0x40, 0x72, 0x17, 0x54, 0x11, 0x0b, 0x40, 0xa8, 0x8b, 0x1c, 0xc0, - 0x91, 0xc2, 0xce, 0x5d, 0xb9, 0x8d, 0x5b, 0x22, 0xaa, 0x24, 0x4a, 0xd2, 0x56, 0xa0, 0x48, 0x56, - 0x68, 0xa2, 0x34, 0x52, 0x6b, 0x57, 0x76, 0xe8, 0x09, 0x38, 0x09, 0x4b, 0x8e, 0xc2, 0x51, 0x58, - 0x73, 0x00, 0x14, 0x9b, 0x64, 0x55, 0x58, 0xf9, 0x69, 0xe6, 0x7d, 0xcf, 0x33, 0x03, 0xc6, 0x15, - 0xe7, 0xd5, 0xae, 0x74, 0xf2, 0x42, 0x3a, 0x5a, 0xb6, 0xea, 0xe8, 0x3a, 0xa5, 0x10, 0x5c, 0x48, - 0x47, 0x6e, 0x73, 0x51, 0x16, 0x74, 0x23, 0xea, 0xa6, 0x14, 0x35, 0x67, 0x54, 0xd5, 0xe1, 0x41, - 0xf0, 0x86, 0x5b, 0x23, 0x4d, 0xc0, 0xbc, 0x90, 0xb0, 0x87, 0xe1, 0xd1, 0x85, 0x1a, 0xbe, 0xb9, - 0xed, 0xc2, 0x0f, 0xb5, 0x93, 0x33, 0xc6, 0x9b, 0xbc, 0xa9, 0x39, 0x93, 0x9a, 0xb6, 0x5f, 0x0d, - 0x70, 0x95, 0xa8, 0xf8, 0x69, 0x97, 0x4e, 0x5a, 0x8e, 0xb0, 0x97, 0xbd, 0xbd, 0x05, 0x97, 0xa7, - 0x7a, 0xd6, 0x05, 0x18, 0x2c, 0x83, 0x24, 0x22, 0x53, 0x7f, 0xe6, 0x13, 0x6f, 0xf8, 0xcf, 0x1a, - 0x80, 0xf3, 0x65, 0xf0, 0x10, 0x84, 0xeb, 0x60, 0x68, 0x58, 0x2e, 0x80, 0xd3, 0xd8, 0x4f, 0x49, - 0xec, 0x87, 0x01, 0x4d, 0x1f, 0x23, 0x42, 0x83, 0x30, 0xa5, 0x78, 0xb1, 0x08, 0xd7, 0xc4, 0xa3, - 0xb3, 0x30, 0xa6, 0xc9, 0x3d, 0x8e, 0x89, 0x47, 0x13, 0x92, 0xaa, 0xfe, 0xd0, 0x9c, 0x7c, 0x19, - 0xc0, 0xde, 0xf0, 0x3d, 0xfc, 0x7b, 0x97, 0xc9, 0xf5, 0xa9, 0x71, 0xa2, 0x76, 0x91, 0xc8, 0x78, - 0xf2, 0x7e, 0xe0, 0x8a, 0xef, 0x72, 0x56, 0x41, 0x2e, 0x2a, 0xa7, 0x2a, 0x99, 0x5a, 0xb3, 0xbb, - 0xea, 0xa1, 0x96, 0xbf, 0x1d, 0x79, 0xac, 0x9f, 0x37, 0xf3, 0xff, 0x1c, 0xe3, 0x77, 0x73, 0x34, - 0xd7, 0x61, 0xb8, 0x90, 0x50, 0xcb, 0x56, 0xad, 0x5c, 0xa8, 0xbe, 0x94, 0x1f, 0x9d, 0x21, 0xc3, - 0x85, 0xcc, 0x7a, 0x43, 0xb6, 0x72, 0x33, 0x6d, 0xf8, 0x34, 0x6d, 0x5d, 0x45, 0x08, 0x17, 0x12, - 0xa1, 0xde, 0x82, 0xd0, 0xca, 0x45, 0x48, 0x9b, 0x9e, 0xcf, 0xd4, 0x74, 0x77, 0xdf, 0x01, 0x00, - 0x00, 0xff, 0xff, 0xf0, 0xf2, 0xc2, 0xc4, 0x01, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/shared_set_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/shared_set_error.pb.go deleted file mode 100644 index 3dc3de94..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/shared_set_error.pb.go +++ /dev/null @@ -1,136 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/shared_set_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_420ae8c2968cfad8, []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_420ae8c2968cfad8, []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 (m *SharedSetErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_SharedSetErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.SharedSetErrorEnum_SharedSetError", SharedSetErrorEnum_SharedSetError_name, SharedSetErrorEnum_SharedSetError_value) - proto.RegisterType((*SharedSetErrorEnum)(nil), "google.ads.googleads.v2.errors.SharedSetErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/shared_set_error.proto", fileDescriptor_420ae8c2968cfad8) -} - -var fileDescriptor_420ae8c2968cfad8 = []byte{ - // 372 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xdf, 0x8a, 0x9b, 0x40, - 0x18, 0xc5, 0xab, 0xe9, 0x1f, 0x98, 0x40, 0x6a, 0xa7, 0xb4, 0x17, 0xa5, 0xe4, 0xc2, 0x07, 0x18, - 0xc1, 0xd2, 0x9b, 0xe9, 0xd5, 0x44, 0x27, 0x89, 0xb4, 0x19, 0xc5, 0x51, 0x4b, 0x8b, 0x30, 0xd8, - 0x2a, 0x6e, 0x20, 0x71, 0x82, 0xe3, 0xe6, 0x81, 0x16, 0xf6, 0x66, 0x9f, 0x61, 0x9f, 0x60, 0x1f, - 0x65, 0x2f, 0xf6, 0x19, 0x16, 0x9d, 0x4d, 0x48, 0x2e, 0x76, 0xaf, 0x3c, 0x1c, 0x7e, 0xe7, 0x38, - 0xdf, 0xf7, 0x81, 0xef, 0xb5, 0x94, 0xf5, 0xa6, 0x72, 0x8a, 0x52, 0x39, 0x5a, 0xf6, 0x6a, 0xef, - 0x3a, 0x55, 0xdb, 0xca, 0x56, 0x39, 0xea, 0xa2, 0x68, 0xab, 0x52, 0xa8, 0xaa, 0x13, 0x83, 0x83, - 0x76, 0xad, 0xec, 0x24, 0x9c, 0x6a, 0x16, 0x15, 0xa5, 0x42, 0xc7, 0x18, 0xda, 0xbb, 0x48, 0xc7, - 0xbe, 0x7c, 0x3d, 0xd4, 0xee, 0xd6, 0x4e, 0xd1, 0x34, 0xb2, 0x2b, 0xba, 0xb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, 0x2f, 0xd5, 0xdd, 0x01, 0xc8, 0x49, 0xa9, 0xf2, 0x23, 0x90, 0x67, 0x6e, 0xae, - 0x81, 0x7b, 0xd3, 0xd6, 0x2e, 0xc6, 0xa4, 0x54, 0x18, 0x1f, 0x11, 0x8c, 0x33, 0x17, 0x63, 0x0d, - 0xfd, 0x7b, 0x3b, 0xbc, 0xee, 0xdb, 0x63, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb9, 0xc5, 0x46, 0xed, - 0x2d, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/size_limit_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/size_limit_error.pb.go deleted file mode 100644 index a2a9c1e2..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/size_limit_error.pb.go +++ /dev/null @@ -1,125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/size_limit_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing possible size limit errors. -type SizeLimitErrorEnum_SizeLimitError int32 - -const ( - // Enum unspecified. - SizeLimitErrorEnum_UNSPECIFIED SizeLimitErrorEnum_SizeLimitError = 0 - // The received error code is not known in this version. - SizeLimitErrorEnum_UNKNOWN SizeLimitErrorEnum_SizeLimitError = 1 - // The number of entries in the request exceeds the system limit. - SizeLimitErrorEnum_REQUEST_SIZE_LIMIT_EXCEEDED SizeLimitErrorEnum_SizeLimitError = 2 - // The number of entries in the response exceeds the system limit. - SizeLimitErrorEnum_RESPONSE_SIZE_LIMIT_EXCEEDED SizeLimitErrorEnum_SizeLimitError = 3 -) - -var SizeLimitErrorEnum_SizeLimitError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "REQUEST_SIZE_LIMIT_EXCEEDED", - 3: "RESPONSE_SIZE_LIMIT_EXCEEDED", -} - -var SizeLimitErrorEnum_SizeLimitError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "REQUEST_SIZE_LIMIT_EXCEEDED": 2, - "RESPONSE_SIZE_LIMIT_EXCEEDED": 3, -} - -func (x SizeLimitErrorEnum_SizeLimitError) String() string { - return proto.EnumName(SizeLimitErrorEnum_SizeLimitError_name, int32(x)) -} - -func (SizeLimitErrorEnum_SizeLimitError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_3ac93177c2349e2d, []int{0, 0} -} - -// Container for enum describing possible size limit errors. -type SizeLimitErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SizeLimitErrorEnum) Reset() { *m = SizeLimitErrorEnum{} } -func (m *SizeLimitErrorEnum) String() string { return proto.CompactTextString(m) } -func (*SizeLimitErrorEnum) ProtoMessage() {} -func (*SizeLimitErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_3ac93177c2349e2d, []int{0} -} - -func (m *SizeLimitErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SizeLimitErrorEnum.Unmarshal(m, b) -} -func (m *SizeLimitErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SizeLimitErrorEnum.Marshal(b, m, deterministic) -} -func (m *SizeLimitErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_SizeLimitErrorEnum.Merge(m, src) -} -func (m *SizeLimitErrorEnum) XXX_Size() int { - return xxx_messageInfo_SizeLimitErrorEnum.Size(m) -} -func (m *SizeLimitErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_SizeLimitErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_SizeLimitErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.errors.SizeLimitErrorEnum_SizeLimitError", SizeLimitErrorEnum_SizeLimitError_name, SizeLimitErrorEnum_SizeLimitError_value) - proto.RegisterType((*SizeLimitErrorEnum)(nil), "google.ads.googleads.v2.errors.SizeLimitErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/size_limit_error.proto", fileDescriptor_3ac93177c2349e2d) -} - -var fileDescriptor_3ac93177c2349e2d = []byte{ - // 327 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x41, 0x4a, 0xc3, 0x40, - 0x14, 0x86, 0x4d, 0x0a, 0x0a, 0x53, 0xd0, 0x12, 0x77, 0x5a, 0xaa, 0xe4, 0x00, 0x13, 0x88, 0xb8, - 0x19, 0x57, 0x69, 0xf3, 0x2c, 0xc1, 0x9a, 0xc6, 0x4e, 0x5b, 0xa5, 0x04, 0x42, 0x34, 0x61, 0x18, - 0x68, 0x67, 0x6a, 0x26, 0x76, 0xd1, 0x0b, 0x78, 0x0f, 0x97, 0x1e, 0xc5, 0xa3, 0xb8, 0xf0, 0x0c, - 0x92, 0x8c, 0x2d, 0x14, 0xd4, 0xd5, 0xfc, 0x3c, 0xbe, 0xff, 0x9f, 0xf7, 0x3f, 0x74, 0xc9, 0xa4, - 0x64, 0xf3, 0xdc, 0x49, 0x33, 0xe5, 0x68, 0x59, 0xa9, 0x95, 0xeb, 0xe4, 0x45, 0x21, 0x0b, 0xe5, - 0x28, 0xbe, 0xce, 0x93, 0x39, 0x5f, 0xf0, 0x32, 0xa9, 0x27, 0x78, 0x59, 0xc8, 0x52, 0x5a, 0x1d, - 0xcd, 0xe2, 0x34, 0x53, 0x78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e, 0xa6, 0x08, 0xd9, 0x22, 0x84, - 0x4c, 0x5d, 0x42, 0x34, 0xf4, 0xb8, 0x5f, 0x6f, 0x77, 0xf1, 0x1d, 0x00, 0x00, 0xff, 0xff, 0xbc, - 0x7f, 0xbe, 0xb4, 0xf8, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/string_format_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/string_format_error.pb.go deleted file mode 100644 index c75721c3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/string_format_error.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/string_format_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_ca54a6eb6c2d6b07, []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_ca54a6eb6c2d6b07, []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 (m *StringFormatErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_StringFormatErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.StringFormatErrorEnum_StringFormatError", StringFormatErrorEnum_StringFormatError_name, StringFormatErrorEnum_StringFormatError_value) - proto.RegisterType((*StringFormatErrorEnum)(nil), "google.ads.googleads.v2.errors.StringFormatErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/string_format_error.proto", fileDescriptor_ca54a6eb6c2d6b07) -} - -var fileDescriptor_ca54a6eb6c2d6b07 = []byte{ - // 318 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xc3, 0x30, - 0x1c, 0xc6, 0x5d, 0x07, 0x0a, 0x19, 0x6a, 0x17, 0xd0, 0x83, 0xc8, 0x0e, 0x7d, 0x80, 0x04, 0xea, - 0x45, 0xe2, 0x29, 0xdb, 0xba, 0x59, 0xac, 0xdd, 0xd8, 0x5c, 0x15, 0x29, 0x94, 0x68, 0x67, 0x28, - 0x6c, 0xc9, 0x4c, 0xea, 0x1e, 0xc8, 0xa3, 0x8f, 0xe2, 0xa3, 0x78, 0xf3, 0x0d, 0xa4, 0x89, 0xed, - 0x65, 0xe8, 0xa9, 0x1f, 0xff, 0xfe, 0xbe, 0xef, 0xff, 0xe5, 0x0f, 0x2e, 0xb9, 0x94, 0x7c, 0xb5, - 0xc4, 0x2c, 0xd7, 0xd8, 0xca, 0x4a, 0x6d, 0x7d, 0xbc, 0x54, 0x4a, 0x2a, 0x8d, 0x75, 0xa9, 0x0a, - 0xc1, 0xb3, 0x17, 0xa9, 0xd6, 0xac, 0xcc, 0xcc, 0x10, 0x6d, 0x94, 0x2c, 0x25, 0xec, 0x59, 0x1c, - 0xb1, 0x5c, 0xa3, 0xc6, 0x89, 0xb6, 0x3e, 0xb2, 0xce, 0xb3, 0xf3, 0x3a, 0x79, 0x53, 0x60, 0x26, - 0x84, 0x2c, 0x59, 0x59, 0x48, 0xa1, 0xad, 0xdb, 0x7b, 0x05, 0x27, 0x73, 0x13, 0x3d, 0x32, 0xc9, - 0x41, 0xe5, 0x09, 0xc4, 0xdb, 0xda, 0x7b, 0x00, 0xdd, 0x9d, 0x1f, 0xf0, 0x18, 0x74, 0x16, 0xf1, - 0x7c, 0x1a, 0x0c, 0xc2, 0x51, 0x18, 0x0c, 0xdd, 0x3d, 0xd8, 0x01, 0x07, 0x8b, 0xf8, 0x26, 0x9e, - 0xdc, 0xc7, 0x6e, 0x0b, 0x76, 0xc1, 0x61, 0x18, 0x45, 0xc1, 0x98, 0x46, 0xd9, 0xe0, 0x9a, 0xce, - 0xe6, 0xae, 0x03, 0x21, 0x38, 0x0a, 0xe3, 0x84, 0x46, 0xe1, 0x30, 0x1b, 0x4d, 0x66, 0xb7, 0xf4, - 0xce, 0x6d, 0xf7, 0xbf, 0x5b, 0xc0, 0x7b, 0x96, 0x6b, 0xf4, 0x7f, 0xef, 0xfe, 0xe9, 0xce, 0xfa, - 0x69, 0xd5, 0x78, 0xda, 0x7a, 0x1c, 0xfe, 0x3a, 0xb9, 0x5c, 0x31, 0xc1, 0x91, 0x54, 0x1c, 0xf3, - 0xa5, 0x30, 0xef, 0xa9, 0x6f, 0xb7, 0x29, 0xf4, 0x5f, 0xa7, 0xbc, 0xb2, 0x9f, 0x77, 0xa7, 0x3d, - 0xa6, 0xf4, 0xc3, 0xe9, 0x8d, 0x6d, 0x18, 0xcd, 0x35, 0xb2, 0xb2, 0x52, 0x89, 0x8f, 0xcc, 0x4a, - 0xfd, 0x59, 0x03, 0x29, 0xcd, 0x75, 0xda, 0x00, 0x69, 0xe2, 0xa7, 0x16, 0xf8, 0x72, 0x3c, 0x3b, - 0x25, 0x84, 0xe6, 0x9a, 0x90, 0x06, 0x21, 0x24, 0xf1, 0x09, 0xb1, 0xd0, 0xd3, 0xbe, 0x69, 0x77, - 0xf1, 0x13, 0x00, 0x00, 0xff, 0xff, 0xfc, 0xd2, 0x99, 0xcf, 0xe7, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/string_length_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/string_length_error.pb.go deleted file mode 100644 index cbea1c1a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/string_length_error.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/string_length_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_76149284b797b918, []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_76149284b797b918, []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 (m *StringLengthErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_StringLengthErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.StringLengthErrorEnum_StringLengthError", StringLengthErrorEnum_StringLengthError_name, StringLengthErrorEnum_StringLengthError_value) - proto.RegisterType((*StringLengthErrorEnum)(nil), "google.ads.googleads.v2.errors.StringLengthErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/string_length_error.proto", fileDescriptor_76149284b797b918) -} - -var fileDescriptor_76149284b797b918 = []byte{ - // 309 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x4f, 0x4e, 0x84, 0x30, - 0x14, 0xc6, 0x85, 0x49, 0xfc, 0xd3, 0xd1, 0x88, 0x24, 0xba, 0x30, 0x66, 0x16, 0x1c, 0xa0, 0x4d, - 0x70, 0x63, 0xea, 0x8a, 0x71, 0x10, 0x27, 0x4e, 0x0a, 0x91, 0x19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, - 0xe7, 0x8c, 0x42, 0x2e, 0x28, 0xa2, 0x25, 0x53, 0xbf, 0xe8, 0x37, 0xd6, 0x54, 0xf2, 0xaf, 0x05, - 0x5e, 0xeb, 0xe3, 0xdd, 0x1c, 0x05, 0x9e, 0xf7, 0x61, 0x4e, 0x02, 0x1d, 0xe6, 0x15, 0x12, 0x6a, - 0xd9, 0xa9, 0xc4, 0x85, 0xaa, 0xa5, 0xfc, 0xec, 0x81, 0xd4, 0x2b, 0x64, 0x3a, 0x00, 0x69, 0xe2, - 0xa6, 0x1a, 0xf8, 0x32, 0x1d, 0x5d, 0xc5, 0xd8, 0x2b, 0x24, 0xc6, 0x03, 0x82, 0x71, 0xe2, 0x62, - 0xac, 0xa1, 0xe7, 0x5d, 0x35, 0xdd, 0xe5, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x36, 0xf2, 0xdf, - 0x51, 0xdd, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/url_field_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/url_field_error.pb.go deleted file mode 100644 index ed9fc38f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/url_field_error.pb.go +++ /dev/null @@ -1,374 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/url_field_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // Custom parameter value cannot be null. - UrlFieldErrorEnum_NULL_CUSTOM_PARAMETER_VALUE UrlFieldErrorEnum_UrlFieldError = 57 -) - -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", - 57: "NULL_CUSTOM_PARAMETER_VALUE", -} - -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, - "NULL_CUSTOM_PARAMETER_VALUE": 57, -} - -func (x UrlFieldErrorEnum_UrlFieldError) String() string { - return proto.EnumName(UrlFieldErrorEnum_UrlFieldError_name, int32(x)) -} - -func (UrlFieldErrorEnum_UrlFieldError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_95946bc5c9f7f4c2, []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_95946bc5c9f7f4c2, []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 (m *UrlFieldErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_UrlFieldErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.UrlFieldErrorEnum_UrlFieldError", UrlFieldErrorEnum_UrlFieldError_name, UrlFieldErrorEnum_UrlFieldError_value) - proto.RegisterType((*UrlFieldErrorEnum)(nil), "google.ads.googleads.v2.errors.UrlFieldErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/url_field_error.proto", fileDescriptor_95946bc5c9f7f4c2) -} - -var fileDescriptor_95946bc5c9f7f4c2 = []byte{ - // 865 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x96, 0xdd, 0x6e, 0xdb, 0x36, - 0x14, 0xc7, 0x97, 0x74, 0x6b, 0xb7, 0x93, 0x26, 0x61, 0x4e, 0x9a, 0xb6, 0x49, 0x13, 0x27, 0xf1, - 0xda, 0xad, 0xe9, 0x56, 0xb9, 0x73, 0xb3, 0x2f, 0xef, 0x8a, 0x91, 0x68, 0x97, 0x08, 0x45, 0x09, - 0x12, 0xe5, 0xb5, 0x43, 0x00, 0xc2, 0x9b, 0x33, 0x23, 0x80, 0x6b, 0x05, 0x56, 0xda, 0xe7, 0x19, - 0x76, 0xb9, 0x07, 0xd8, 0x43, 0xec, 0x51, 0x06, 0xec, 0x1d, 0x06, 0x4a, 0x96, 0x25, 0x3b, 0x56, - 0x86, 0x5d, 0x99, 0x38, 0xe7, 0x77, 0x3e, 0xf8, 0x3f, 0x22, 0x69, 0x38, 0x1e, 0xc4, 0xf1, 0x60, - 0x78, 0xde, 0xe8, 0xf5, 0x93, 0x46, 0xb6, 0x34, 0xab, 0xf7, 0xcd, 0xc6, 0xf9, 0x78, 0x1c, 0x8f, - 0x93, 0xc6, 0xbb, 0xf1, 0x50, 0xff, 0x7a, 0x71, 0x3e, 0xec, 0xeb, 0xd4, 0x60, 0x5d, 0x8e, 0xe3, - 0xab, 0x18, 0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ff, 0xa1, 0xf4, 0xd7, 0xd1, 0xa5, 0x08, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/user_list_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/user_list_error.pb.go deleted file mode 100644 index 8cd753d5..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/user_list_error.pb.go +++ /dev/null @@ -1,254 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/user_list_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // Creating user list without setting type in oneof user_list field, or - // creating/updating read-only user list types is not allowed. - 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 - // The provided rule_type is not supported for the user list. - UserListErrorEnum_RULE_TYPE_IS_NOT_SUPPORTED UserListErrorEnum_UserListError = 34 - // Similar user list cannot be used as a logical user list operand. - UserListErrorEnum_CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND UserListErrorEnum_UserListError = 35 - // Logical user list should not have a mix of CRM based user list and other - // types of lists in its rules. - UserListErrorEnum_CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS UserListErrorEnum_UserListError = 36 -) - -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", - 34: "RULE_TYPE_IS_NOT_SUPPORTED", - 35: "CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND", - 36: "CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS", -} - -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, - "RULE_TYPE_IS_NOT_SUPPORTED": 34, - "CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND": 35, - "CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS": 36, -} - -func (x UserListErrorEnum_UserListError) String() string { - return proto.EnumName(UserListErrorEnum_UserListError_name, int32(x)) -} - -func (UserListErrorEnum_UserListError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1363021a483afac2, []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_1363021a483afac2, []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 (m *UserListErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListErrorEnum.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.errors.UserListErrorEnum_UserListError", UserListErrorEnum_UserListError_name, UserListErrorEnum_UserListError_value) - proto.RegisterType((*UserListErrorEnum)(nil), "google.ads.googleads.v2.errors.UserListErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/user_list_error.proto", fileDescriptor_1363021a483afac2) -} - -var fileDescriptor_1363021a483afac2 = []byte{ - // 741 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x54, 0xed, 0x6e, 0x23, 0x35, - 0x14, 0xa5, 0x59, 0xd8, 0x80, 0xbb, 0x1f, 0xae, 0x11, 0xbb, 0x52, 0xbb, 0x64, 0xd9, 0x2c, 0x1f, - 0x02, 0x89, 0x09, 0xca, 0x56, 0x45, 0x1a, 0x7e, 0x39, 0xe3, 0xdb, 0xc4, 0xea, 0x8c, 0x67, 0xb0, - 0x3d, 0x93, 0x06, 0x45, 0xb2, 0x02, 0x89, 0xa2, 0x48, 0x6d, 0xa6, 0xca, 0xa4, 0x7d, 0x20, 0x7e, - 0xf2, 0x28, 0x3c, 0x00, 0x0f, 0x81, 0xe0, 0x1d, 0x90, 0x3d, 0x99, 0x69, 0x12, 0x51, 0xf8, 0x15, - 0xc7, 0xf7, 0x9c, 0xe3, 0x7b, 0xcf, 0xbd, 0x73, 0xd1, 0xe9, 0x3c, 0xcf, 0xe7, 0x57, 0xb3, 0xce, - 0x64, 0x5a, 0x74, 0xca, 0xa3, 0x3d, 0xdd, 0x75, 0x3b, 0xb3, 0xd5, 0x2a, 0x5f, 0x15, 0x9d, 0xdb, - 0x62, 0xb6, 0x32, 0x57, 0x8b, 0x62, 0x6d, 0xdc, 0x85, 0x77, 0xb3, 0xca, 0xd7, 0x39, 0x69, 0x95, - 0x50, 0x6f, 0x32, 0x2d, 0xbc, 0x9a, 0xe5, 0xdd, 0x75, 0xbd, 0x92, 0x75, 0xfc, 0xaa, 0x52, 0xbd, - 0x59, 0x74, 0x26, 0xcb, 0x65, 0xbe, 0x9e, 0xac, 0x17, 0xf9, 0xb2, 0x28, 0xd9, 0xed, 0xbf, 0x9a, - 0xe8, 0x28, 0x2d, 0x66, 0xab, 0x70, 0x51, 0xac, 0xc1, 0x12, 0x60, 0x79, 0x7b, 0xdd, 0xfe, 0xa3, - 0x89, 0x9e, 0xee, 0xdc, 0x92, 0xe7, 0xe8, 0x30, 0x15, 0x2a, 0x81, 0x80, 0x9f, 0x73, 0x60, 0xf8, - 0x3d, 0x72, 0x88, 0x9a, 0xa9, 0xb8, 0x10, 0xf1, 0x50, 0xe0, 0x03, 0xf2, 0x3d, 0x7a, 0x07, 0x97, - 0x1a, 0xa4, 0xa0, 0xa1, 0x91, 0x10, 0x51, 0x79, 0x01, 0x9a, 0x8b, 0xbe, 0x49, 0x15, 0x48, 0x13, - 0x72, 0xa5, 0x4d, 0x94, 0x6a, 0xaa, 0xc1, 0x88, 0x58, 0x1b, 0x95, 0x26, 0x49, 0x2c, 0x35, 0x30, - 0xdc, 0x20, 0xc7, 0xe8, 0x45, 0x10, 0x8b, 0x40, 0x82, 0x06, 0xa3, 0x47, 0x09, 0x18, 0x09, 0x3f, - 0xa6, 0x5c, 0x02, 0xc3, 0x8f, 0xc8, 0x6b, 0x74, 0x12, 0xc4, 0x22, 0x03, 0xa9, 0x78, 0x2c, 0xca, - 0x28, 0x67, 0xf7, 0x80, 0xf7, 0x49, 0x0b, 0x1d, 0xb3, 0x34, 0x09, 0x79, 0x60, 0x95, 0xf7, 0xa0, - 0x0a, 0x7f, 0x40, 0x4e, 0xd0, 0x4b, 0x2e, 0x32, 0x1a, 0x72, 0xb6, 0x1f, 0xc5, 0x8f, 0xc9, 0x4b, - 0xf4, 0x71, 0x15, 0x64, 0xa0, 0x02, 0xc9, 0x13, 0xcd, 0x63, 0x81, 0x9b, 0x04, 0xa3, 0x27, 0x55, - 0x40, 0xd0, 0x08, 0xf0, 0x87, 0xdb, 0x37, 0x8e, 0xfc, 0x11, 0x39, 0x45, 0xdf, 0x05, 0x54, 0xb8, - 0x6a, 0x28, 0x63, 0x26, 0x8c, 0xfb, 0x3c, 0xa0, 0x61, 0x59, 0x29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cb, 0x5b, 0xdf, 0xa7, 0xd3, 0xc2, 0xf7, 0x6b, 0x88, 0xef, 0x67, 0x5d, 0xdf, - 0x2f, 0x41, 0x3f, 0x3f, 0x76, 0xd9, 0xbd, 0xfb, 0x27, 0x00, 0x00, 0xff, 0xff, 0x41, 0x54, 0x74, - 0x03, 0x5b, 0x05, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/youtube_video_registration_error.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/youtube_video_registration_error.pb.go deleted file mode 100644 index e3ff8d84..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/errors/youtube_video_registration_error.pb.go +++ /dev/null @@ -1,125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/errors/youtube_video_registration_error.proto - -package errors - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum describing YouTube video registration errors. -type YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError int32 - -const ( - // Enum unspecified. - YoutubeVideoRegistrationErrorEnum_UNSPECIFIED YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError = 0 - // The received error code is not known in this version. - YoutubeVideoRegistrationErrorEnum_UNKNOWN YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError = 1 - // Video to be registered wasn't found. - YoutubeVideoRegistrationErrorEnum_VIDEO_NOT_FOUND YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError = 2 - // Video to be registered is not accessible (e.g. private). - YoutubeVideoRegistrationErrorEnum_VIDEO_NOT_ACCESSIBLE YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError = 3 -) - -var YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNKNOWN", - 2: "VIDEO_NOT_FOUND", - 3: "VIDEO_NOT_ACCESSIBLE", -} - -var YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNKNOWN": 1, - "VIDEO_NOT_FOUND": 2, - "VIDEO_NOT_ACCESSIBLE": 3, -} - -func (x YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError) String() string { - return proto.EnumName(YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError_name, int32(x)) -} - -func (YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_29776193f41f1761, []int{0, 0} -} - -// Container for enum describing YouTube video registration errors. -type YoutubeVideoRegistrationErrorEnum struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *YoutubeVideoRegistrationErrorEnum) Reset() { *m = YoutubeVideoRegistrationErrorEnum{} } -func (m *YoutubeVideoRegistrationErrorEnum) String() string { return proto.CompactTextString(m) } -func (*YoutubeVideoRegistrationErrorEnum) ProtoMessage() {} -func (*YoutubeVideoRegistrationErrorEnum) Descriptor() ([]byte, []int) { - return fileDescriptor_29776193f41f1761, []int{0} -} - -func (m *YoutubeVideoRegistrationErrorEnum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_YoutubeVideoRegistrationErrorEnum.Unmarshal(m, b) -} -func (m *YoutubeVideoRegistrationErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_YoutubeVideoRegistrationErrorEnum.Marshal(b, m, deterministic) -} -func (m *YoutubeVideoRegistrationErrorEnum) XXX_Merge(src proto.Message) { - xxx_messageInfo_YoutubeVideoRegistrationErrorEnum.Merge(m, src) -} -func (m *YoutubeVideoRegistrationErrorEnum) XXX_Size() int { - return xxx_messageInfo_YoutubeVideoRegistrationErrorEnum.Size(m) -} -func (m *YoutubeVideoRegistrationErrorEnum) XXX_DiscardUnknown() { - xxx_messageInfo_YoutubeVideoRegistrationErrorEnum.DiscardUnknown(m) -} - -var xxx_messageInfo_YoutubeVideoRegistrationErrorEnum proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.ads.googleads.v2.errors.YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError", YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError_name, YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError_value) - proto.RegisterType((*YoutubeVideoRegistrationErrorEnum)(nil), "google.ads.googleads.v2.errors.YoutubeVideoRegistrationErrorEnum") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/errors/youtube_video_registration_error.proto", fileDescriptor_29776193f41f1761) -} - -var fileDescriptor_29776193f41f1761 = []byte{ - // 332 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x41, 0x4a, 0xc3, 0x40, - 0x14, 0x86, 0x4d, 0x0a, 0x0a, 0xd3, 0x45, 0x43, 0x74, 0x21, 0xa2, 0x05, 0x73, 0x80, 0x09, 0xc4, - 0xdd, 0xb8, 0x4a, 0x9b, 0x69, 0x09, 0x4a, 0x52, 0xac, 0x8d, 0x28, 0x81, 0x90, 0x3a, 0xc3, 0x10, - 0x68, 0xe7, 0x95, 0x99, 0xb4, 0xe0, 0x31, 0xbc, 0x82, 0x4b, 0x8f, 0xe2, 0x51, 0xbc, 0x83, 0x20, - 0xc9, 0xd8, 0xea, 0xc6, 0xae, 0xf2, 0xf3, 0xf8, 0xde, 0xff, 0xbf, 0x3f, 0x83, 0xa8, 0x00, 0x10, - 0x0b, 0xee, 0x97, 0x4c, 0xfb, 0x46, 0x36, 0x6a, 0x13, 0xf8, 0x5c, 0x29, 0x50, 0xda, 0x7f, 0x81, - 0x75, 0xbd, 0x9e, 0xf3, 0x62, 0x53, 0x31, 0x0e, 0x85, 0xe2, 0xa2, 0xd2, 0xb5, 0x2a, 0xeb, 0x0a, - 0x64, 0xd1, 0x12, 0x78, 0xa5, 0xa0, 0x06, 0xb7, 0x6f, 0x76, 0x71, 0xc9, 0x34, 0xde, 0xd9, 0xe0, - 0x4d, 0x80, 0x8d, 0xcd, 0xd9, 0xf9, 0x36, 0x66, 0x55, 0xf9, 0xa5, 0x94, 0x50, 0xb7, 0x16, 0xda, - 0x6c, 0x7b, 0xaf, 0x16, 0xba, 0x7c, 0x34, 0x41, 0x59, 0x93, 0x73, 0xf7, 0x27, 0x86, 0x36, 0x06, - 0x54, 0xae, 0x97, 0xde, 0x02, 0x5d, 0xec, 0x85, 0xdc, 0x1e, 0xea, 0xce, 0x92, 0xe9, 0x84, 0x0e, - 0xe3, 0x51, 0x4c, 0x23, 0xe7, 0xc0, 0xed, 0xa2, 0xa3, 0x59, 0x72, 0x93, 0xa4, 0x0f, 0x89, 0x63, - 0xb9, 0xc7, 0xa8, 0x97, 0xc5, 0x11, 0x4d, 0x8b, 0x24, 0xbd, 0x2f, 0x46, 0xe9, 0x2c, 0x89, 0x1c, - 0xdb, 0x3d, 0x45, 0x27, 0xbf, 0xc3, 0x70, 0x38, 0xa4, 0xd3, 0x69, 0x3c, 0xb8, 0xa5, 0x4e, 0x67, - 0xf0, 0x65, 0x21, 0xef, 0x19, 0x96, 0x78, 0x7f, 0xb1, 0x81, 0xb7, 0xf7, 0xa4, 0x49, 0x53, 0x6f, - 0x62, 0x3d, 0x45, 0x3f, 0x2e, 0x02, 0x16, 0xa5, 0x14, 0x18, 0x94, 0xf0, 0x05, 0x97, 0x6d, 0xf9, - 0xed, 0x5f, 0x5f, 0x55, 0xfa, 0xbf, 0x47, 0xb8, 0x36, 0x9f, 0x37, 0xbb, 0x33, 0x0e, 0xc3, 0x77, - 0xbb, 0x3f, 0x36, 0x66, 0x21, 0xd3, 0xd8, 0xc8, 0x46, 0x65, 0x01, 0x6e, 0x23, 0xf5, 0xc7, 0x16, - 0xc8, 0x43, 0xa6, 0xf3, 0x1d, 0x90, 0x67, 0x41, 0x6e, 0x80, 0x4f, 0xdb, 0x33, 0x53, 0x42, 0x42, - 0xa6, 0x09, 0xd9, 0x21, 0x84, 0x64, 0x01, 0x21, 0x06, 0x9a, 0x1f, 0xb6, 0xd7, 0x5d, 0x7d, 0x07, - 0x00, 0x00, 0xff, 0xff, 0x07, 0x28, 0x52, 0xb3, 0x21, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/account_budget.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/account_budget.pb.go deleted file mode 100644 index d565875a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/account_budget.pb.go +++ /dev/null @@ -1,722 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/account_budget.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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.v2.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_53cd2b99775f9f94, []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 (m *AccountBudget) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccountBudget.Merge(m, 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.v2.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.v2.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.v2.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.v2.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.v2.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_OneofWrappers is for the internal use of the proto package. -func (*AccountBudget) XXX_OneofWrappers() []interface{} { - return []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), - } -} - -// 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.v2.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_53cd2b99775f9f94, []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 (m *AccountBudget_PendingAccountBudgetProposal) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccountBudget_PendingAccountBudgetProposal.Merge(m, 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.v2.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.v2.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_OneofWrappers is for the internal use of the proto package. -func (*AccountBudget_PendingAccountBudgetProposal) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AccountBudget_PendingAccountBudgetProposal_EndDateTime)(nil), - (*AccountBudget_PendingAccountBudgetProposal_EndTimeType)(nil), - (*AccountBudget_PendingAccountBudgetProposal_SpendingLimitMicros)(nil), - (*AccountBudget_PendingAccountBudgetProposal_SpendingLimitType)(nil), - } -} - -func init() { - proto.RegisterType((*AccountBudget)(nil), "google.ads.googleads.v2.resources.AccountBudget") - proto.RegisterType((*AccountBudget_PendingAccountBudgetProposal)(nil), "google.ads.googleads.v2.resources.AccountBudget.PendingAccountBudgetProposal") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/account_budget.proto", fileDescriptor_53cd2b99775f9f94) -} - -var fileDescriptor_53cd2b99775f9f94 = []byte{ - // 1009 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xdd, 0x6e, 0xe3, 0x44, - 0x14, 0xc6, 0x49, 0xfa, 0x37, 0x6d, 0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f, 0xbb, 0xbf, - 0x52, 0x18, 0x45, 0x88, 0xca, 0x38, 0x4e, 0x24, 0x5d, 0xe4, 0x77, 0x21, 0xc6, 0x84, 0x43, 0xee, - 0x13, 0x9c, 0xad, 0x7e, 0xf8, 0xa7, 0x01, 0xda, 0xfd, 0x54, 0xc5, 0x40, 0x88, 0xd0, 0x3f, 0x02, - 0x6d, 0xb9, 0x83, 0x0e, 0x86, 0x21, 0x32, 0xb4, 0x53, 0xed, 0x6c, 0xc3, 0xde, 0x92, 0x93, 0x6f, - 0x60, 0x88, 0xf4, 0x8f, 0x41, 0xc3, 0x77, 0x8d, 0xc6, 0xa9, 0x76, 0xb6, 0x69, 0x1d, 0x67, 0xdb, - 0x6f, 0xca, 0x08, 0xcc, 0x6f, 0x30, 0x7f, 0xf1, 0x7c, 0x04, 0x83, 0x18, 0xd9, 0x0d, 0xdf, 0xd5, - 0xfb, 0xa0, 0x3d, 0xf6, 0x83, 0x20, 0x11, 0xcb, 0x10, 0x8f, 0x23, 0xa3, 0x29, 0x70, 0x27, 0x0b, - 0xb8, 0x21, 0xa7, 0x3e, 0xf6, 0x52, 0xe0, 0x56, 0x06, 0x19, 0x26, 0x08, 0x7d, 0x0c, 0x56, 0xd3, - 0xcd, 0x35, 0x5a, 0xa7, 0xda, 0xd9, 0xb6, 0x75, 0x61, 0x96, 0x9d, 0xbe, 0xd8, 0x24, 0x33, 0x27, - 0x69, 0x28, 0x90, 0xaf, 0x70, 0x1c, 0x16, 0xcd, 0xdb, 0x19, 0xb3, 0xfe, 0x29, 0x68, 0x09, 0xbd, - 0x2b, 0x35, 0xa2, 0x13, 0x96, 0xfa, 0x0f, 0xc0, 0x48, 0x2f, 0x0d, 0x72, 0x93, 0xb3, 0xa7, 0xdc, - 0x71, 0x21, 0x47, 0x4e, 0x72, 0x42, 0xc6, 0x6a, 0x0d, 0x96, 0x7d, 0x89, 0x1e, 0x26, 0xe0, 0x97, - 0x90, 0xa3, 0x6b, 0x3f, 0xa5, 0x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x9c, 0xc9, 0xe9, 0x44, - 0x81, 0xba, 0xbe, 0x79, 0x05, 0xa0, 0x86, 0x02, 0xcd, 0xee, 0x48, 0xf4, 0x9c, 0x82, 0x1c, 0xe9, - 0x54, 0xc1, 0xe6, 0x3d, 0x14, 0xe4, 0x9d, 0x29, 0x05, 0x63, 0xf0, 0x64, 0x9a, 0xd7, 0xf9, 0x3a, - 0x9d, 0x5d, 0xee, 0xad, 0xca, 0xcb, 0x7d, 0xde, 0xb0, 0x8f, 0x55, 0x7a, 0x67, 0x1c, 0xdf, 0x26, - 0x14, 0xd9, 0x3d, 0xff, 0x5d, 0x03, 0x27, 0x65, 0x4e, 0x84, 0xae, 0xb6, 0xd0, 0xf5, 0x75, 0x85, - 0xae, 0x1c, 0xb5, 0x12, 0xb8, 0x30, 0x7b, 0xde, 0xb0, 0x0f, 0x0b, 0xa3, 0x91, 0x7a, 0xa7, 0x05, - 0xa7, 0x50, 0xef, 0x76, 0xb5, 0xde, 0xa6, 0x7d, 0xac, 0xea, 0x4e, 0x89, 0xde, 0x32, 0x27, 0x42, - 0xef, 0xce, 0x83, 0xea, 0x6d, 0xda, 0x87, 0x85, 0xd1, 0x28, 0xbd, 0xa2, 0x8e, 0x95, 0xea, 0xdd, - 0xad, 0xd6, 0xdb, 0xb2, 0x8f, 0x25, 0x49, 0xa9, 0xde, 0x12, 0x27, 0x42, 0xef, 0xde, 0x83, 0xea, - 0x6d, 0xd9, 0x87, 0x85, 0xd1, 0x24, 0x8b, 0x47, 0x7f, 0xaf, 0x81, 0x93, 0x65, 0x55, 0x48, 0xbf, - 0x06, 0x8f, 0x4b, 0x1e, 0x43, 0xa2, 0xfb, 0x57, 0x37, 0x9c, 0x42, 0xd6, 0xdf, 0x40, 0x3b, 0xf7, - 0xa6, 0x12, 0xef, 0x85, 0x6d, 0x6b, 0x74, 0x97, 0xde, 0x2d, 0xc9, 0x94, 0xf4, 0xd2, 0x55, 0x7b, - 0x2b, 0x9a, 0xf9, 0x52, 0xd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 0x7f, 0x35, 0x9e, 0xbe, - 0x4e, 0x29, 0xfb, 0x2e, 0x33, 0xd3, 0x61, 0x32, 0x1a, 0x59, 0xa6, 0x2d, 0x2d, 0xff, 0x91, 0x36, - 0x37, 0x7d, 0x97, 0xdd, 0x28, 0x9b, 0x9b, 0x91, 0x75, 0xa3, 0x6c, 0xfe, 0x6d, 0x3c, 0x4b, 0x17, - 0x7a, 0xbd, 0xbe, 0xcb, 0x7a, 0x3d, 0x65, 0xd5, 0xeb, 0x8d, 0xac, 0x5e, 0x4f, 0xd9, 0x8d, 0x57, - 0x45, 0xb0, 0x9f, 0xfd, 0x1f, 0x00, 0x00, 0xff, 0xff, 0x18, 0xd9, 0x8b, 0x92, 0xb1, 0x0e, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/account_budget_proposal.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/account_budget_proposal.pb.go deleted file mode 100644 index f4f7ee97..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/account_budget_proposal.pb.go +++ /dev/null @@ -1,483 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/account_budget_proposal.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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.v2.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.v2.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_e94ec4fac937ae50, []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 (m *AccountBudgetProposal) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccountBudgetProposal.Merge(m, 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.v2.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.v2.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.v2.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.v2.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.v2.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_OneofWrappers is for the internal use of the proto package. -func (*AccountBudgetProposal) XXX_OneofWrappers() []interface{} { - return []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 init() { - proto.RegisterType((*AccountBudgetProposal)(nil), "google.ads.googleads.v2.resources.AccountBudgetProposal") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/account_budget_proposal.proto", fileDescriptor_e94ec4fac937ae50) -} - -var fileDescriptor_e94ec4fac937ae50 = []byte{ - // 838 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x96, 0xef, 0x6e, 0xeb, 0x34, - 0x18, 0xc6, 0x69, 0x3a, 0x0e, 0x3a, 0x3e, 0xed, 0xd8, 0x49, 0xe9, 0x59, 0xf6, 0x47, 0xd3, 0x06, - 0x9a, 0x34, 0x09, 0x91, 0x4a, 0x65, 0x02, 0x29, 0x7c, 0x80, 0x16, 0xc6, 0xc6, 0x04, 0xa3, 0x4a, - 0x47, 0x91, 0xa6, 0x4a, 0x91, 0xdb, 0x98, 0x10, 0x91, 0xd8, 0x91, 0xed, 0x0c, 0x4d, 0x5c, 0x00, - 0xe2, 0x36, 0xf8, 0xc8, 0xa5, 0x70, 0x17, 0x7c, 0xe5, 0x2a, 0x90, 0x9d, 0xd8, 0x4d, 0xda, 0x66, - 0x8d, 0x36, 0xbe, 0x39, 0xb1, 0x9f, 0xe7, 0xf5, 0xcf, 0xef, 0xfb, 0x3a, 0x01, 0x9f, 0x07, 0x84, - 0x04, 0x11, 0xea, 0x41, 0x9f, 0xf5, 0xb2, 0xa1, 0x18, 0xdd, 0xf7, 0x7b, 0x14, 0x31, 0x92, 0xd2, - 0x39, 0x62, 0x3d, 0x38, 0x9f, 0x93, 0x14, 0x73, 0x6f, 0x96, 0xfa, 0x01, 0xe2, 0x5e, 0x42, 0x49, - 0x42, 0x18, 0x8c, 0xec, 0x84, 0x12, 0x4e, 0xcc, 0x93, 0x4c, 0x65, 0x43, 0x9f, 0xd9, 0xda, 0xc0, - 0xbe, 0xef, 0xdb, 0xda, 0x60, 0x7f, 0x58, 0x15, 0x03, 0xe1, 0x34, 0xae, 0xf4, 0xf7, 0x18, 0x87, - 0x3c, 0x65, 0x59, 0x98, 0xfd, 0x2f, 0x9e, 0xe6, 0xc1, 0x1f, 0x12, 0x94, 0x3b, 0x7c, 0xfa, 0xb8, - 0x03, 0x4b, 0x10, 0xf6, 0x43, 0x1c, 0x78, 0x51, 0x18, 0x87, 0xbc, 0x28, 0xfc, 0xe8, 0x71, 0x21, - 0x0f, 0x63, 0x54, 0x5c, 0x7e, 0x94, 0x2f, 0x97, 0x4f, 0xb3, 0xf4, 0xa7, 0xde, 0xaf, 0x14, 0x26, - 0x09, 0xa2, 0x8a, 0xe4, 0x50, 0xd9, 0x25, 0x61, 0x0f, 0x62, 0x4c, 0x38, 0xe4, 0x21, 0xc1, 0xf9, - 0xec, 0xfb, 0xff, 0xec, 0x80, 0xee, 0x20, 0x83, 0x19, 0x4a, 0x96, 0x51, 0x8e, 0x62, 0x7e, 0x00, - 0xda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xea, 0xb1, 0x10, 0x7f, 0x05, 0x39, 0xba, 0x0d, - 0x63, 0x64, 0x42, 0x70, 0xa4, 0x77, 0x96, 0xa4, 0x74, 0xfe, 0x33, 0x64, 0xc8, 0x23, 0xd4, 0x47, - 0xd4, 0xc3, 0x69, 0x3c, 0x43, 0xd4, 0x6a, 0xd5, 0x30, 0x3f, 0x50, 0x1e, 0xa3, 0xdc, 0xe2, 0x7b, - 0xe1, 0x70, 0x23, 0x0d, 0x44, 0xc9, 0x2c, 0xe0, 0x09, 0x47, 0xcc, 0x6a, 0xd7, 0x29, 0x19, 0x4d, - 0x2f, 0x24, 0xe6, 0x35, 0x30, 0xe7, 0x14, 0xc9, 0xce, 0x29, 0x80, 0xef, 0xd4, 0x30, 0xda, 0x51, - 0x3a, 0xcd, 0x7c, 0x0d, 0xcc, 0xec, 0x30, 0x60, 0x54, 0xf0, 0x7a, 0x5d, 0xc7, 0x4b, 0xe9, 0xb4, - 0xd7, 0x8f, 0xc0, 0xd2, 0x70, 0xcb, 0x69, 0x31, 0x37, 0x3b, 0x5e, 0xbd, 0xe5, 0x76, 0x95, 0xbe, - 0x9c, 0x18, 0xb2, 0x62, 0xac, 0xef, 0x1d, 0xeb, 0x1d, 0x59, 0xb8, 0xe7, 0x1b, 0x0a, 0x57, 0xd8, - 0xe8, 0xee, 0x50, 0x0f, 0x2b, 0x01, 0xd5, 0x84, 0x39, 0x06, 0x6f, 0x74, 0x40, 0x84, 0xfd, 0x02, - 0x47, 0xa7, 0x06, 0x47, 0xc3, 0xed, 0x28, 0xf5, 0x05, 0xf6, 0x35, 0xc5, 0x2f, 0x4b, 0xa6, 0x0b, - 0x86, 0x97, 0xcf, 0x60, 0x28, 0x07, 0x2b, 0x12, 0xe8, 0x16, 0x29, 0x13, 0x74, 0x6b, 0x10, 0x18, - 0x6e, 0x47, 0xa9, 0x97, 0x08, 0x4a, 0xa6, 0x0b, 0x82, 0x37, 0xcf, 0x20, 0x28, 0x07, 0xd3, 0x04, - 0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a, 0xcd, 0x74, 0xe0, 0xb3, 0xa9, 0x5e, 0x33, 0x9d, 0xf4, 0xa7, 0x7a, - 0xcd, 0xbf, 0xc6, 0x69, 0x36, 0xe1, 0x38, 0x03, 0x9f, 0x39, 0x8e, 0x5e, 0xe5, 0x38, 0x93, 0xbe, - 0xe3, 0xe8, 0x75, 0xb3, 0x17, 0x72, 0xb3, 0x1f, 0xff, 0x17, 0x00, 0x00, 0xff, 0xff, 0xfa, 0xca, - 0x46, 0x8f, 0x06, 0x0b, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad.pb.go deleted file mode 100644 index f1380daa..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad.pb.go +++ /dev/null @@ -1,593 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/ad.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// An ad. -type Ad struct { - // The resource name of the ad. - // Ad resource names have the form: - // - // `customers/{customer_id}/ads/{ad_id}` - ResourceName string `protobuf:"bytes,37,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // 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"` - // A list of final app URLs that will be used on mobile if the user has the - // specific app installed. - FinalAppUrls []*common.FinalAppUrl `protobuf:"bytes,35,rep,name=final_app_urls,json=finalAppUrls,proto3" json:"final_app_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 suffix to use when constructing a final URL. - FinalUrlSuffix *wrappers.StringValue `protobuf:"bytes,38,opt,name=final_url_suffix,json=finalUrlSuffix,proto3" json:"final_url_suffix,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.v2.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.v2.enums.DeviceEnum_Device" json:"device_preference,omitempty"` - // Additional URLs for the ad that are tagged with a unique identifier that - // can be referenced from other fields in the ad. - UrlCollections []*common.UrlCollection `protobuf:"bytes,26,rep,name=url_collections,json=urlCollections,proto3" json:"url_collections,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"` - // If this ad is system managed, then this field will indicate the source. - // This field is read-only. - SystemManagedResourceSource enums.SystemManagedResourceSourceEnum_SystemManagedResourceSource `protobuf:"varint,27,opt,name=system_managed_resource_source,json=systemManagedResourceSource,proto3,enum=google.ads.googleads.v2.enums.SystemManagedResourceSourceEnum_SystemManagedResourceSource" json:"system_managed_resource_source,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_CallOnlyAd - // *Ad_ExpandedDynamicSearchAd - // *Ad_HotelAd - // *Ad_ShoppingSmartAd - // *Ad_ShoppingProductAd - // *Ad_GmailAd - // *Ad_ImageAd - // *Ad_VideoAd - // *Ad_ResponsiveSearchAd - // *Ad_LegacyResponsiveDisplayAd - // *Ad_AppAd - // *Ad_LegacyAppInstallAd - // *Ad_ResponsiveDisplayAd - // *Ad_DisplayUploadAd - // *Ad_AppEngagementAd - // *Ad_ShoppingComparisonListingAd - 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_f86c36d18f064a67, []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 (m *Ad) XXX_Merge(src proto.Message) { - xxx_messageInfo_Ad.Merge(m, 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) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -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) GetFinalAppUrls() []*common.FinalAppUrl { - if m != nil { - return m.FinalAppUrls - } - 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) GetFinalUrlSuffix() *wrappers.StringValue { - if m != nil { - return m.FinalUrlSuffix - } - 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) GetUrlCollections() []*common.UrlCollection { - if m != nil { - return m.UrlCollections - } - return nil -} - -func (m *Ad) GetName() *wrappers.StringValue { - if m != nil { - return m.Name - } - return nil -} - -func (m *Ad) GetSystemManagedResourceSource() enums.SystemManagedResourceSourceEnum_SystemManagedResourceSource { - if m != nil { - return m.SystemManagedResourceSource - } - return enums.SystemManagedResourceSourceEnum_UNSPECIFIED -} - -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_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"` -} - -type Ad_VideoAd struct { - VideoAd *common.VideoAdInfo `protobuf:"bytes,24,opt,name=video_ad,json=videoAd,proto3,oneof"` -} - -type Ad_ResponsiveSearchAd struct { - ResponsiveSearchAd *common.ResponsiveSearchAdInfo `protobuf:"bytes,25,opt,name=responsive_search_ad,json=responsiveSearchAd,proto3,oneof"` -} - -type Ad_LegacyResponsiveDisplayAd struct { - LegacyResponsiveDisplayAd *common.LegacyResponsiveDisplayAdInfo `protobuf:"bytes,28,opt,name=legacy_responsive_display_ad,json=legacyResponsiveDisplayAd,proto3,oneof"` -} - -type Ad_AppAd struct { - AppAd *common.AppAdInfo `protobuf:"bytes,29,opt,name=app_ad,json=appAd,proto3,oneof"` -} - -type Ad_LegacyAppInstallAd struct { - LegacyAppInstallAd *common.LegacyAppInstallAdInfo `protobuf:"bytes,30,opt,name=legacy_app_install_ad,json=legacyAppInstallAd,proto3,oneof"` -} - -type Ad_ResponsiveDisplayAd struct { - ResponsiveDisplayAd *common.ResponsiveDisplayAdInfo `protobuf:"bytes,31,opt,name=responsive_display_ad,json=responsiveDisplayAd,proto3,oneof"` -} - -type Ad_DisplayUploadAd struct { - DisplayUploadAd *common.DisplayUploadAdInfo `protobuf:"bytes,33,opt,name=display_upload_ad,json=displayUploadAd,proto3,oneof"` -} - -type Ad_AppEngagementAd struct { - AppEngagementAd *common.AppEngagementAdInfo `protobuf:"bytes,34,opt,name=app_engagement_ad,json=appEngagementAd,proto3,oneof"` -} - -type Ad_ShoppingComparisonListingAd struct { - ShoppingComparisonListingAd *common.ShoppingComparisonListingAdInfo `protobuf:"bytes,36,opt,name=shopping_comparison_listing_ad,json=shoppingComparisonListingAd,proto3,oneof"` -} - -func (*Ad_TextAd) isAd_AdData() {} - -func (*Ad_ExpandedTextAd) 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 (*Ad_VideoAd) isAd_AdData() {} - -func (*Ad_ResponsiveSearchAd) isAd_AdData() {} - -func (*Ad_LegacyResponsiveDisplayAd) isAd_AdData() {} - -func (*Ad_AppAd) isAd_AdData() {} - -func (*Ad_LegacyAppInstallAd) isAd_AdData() {} - -func (*Ad_ResponsiveDisplayAd) isAd_AdData() {} - -func (*Ad_DisplayUploadAd) isAd_AdData() {} - -func (*Ad_AppEngagementAd) isAd_AdData() {} - -func (*Ad_ShoppingComparisonListingAd) 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) 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 -} - -func (m *Ad) GetVideoAd() *common.VideoAdInfo { - if x, ok := m.GetAdData().(*Ad_VideoAd); ok { - return x.VideoAd - } - return nil -} - -func (m *Ad) GetResponsiveSearchAd() *common.ResponsiveSearchAdInfo { - if x, ok := m.GetAdData().(*Ad_ResponsiveSearchAd); ok { - return x.ResponsiveSearchAd - } - return nil -} - -func (m *Ad) GetLegacyResponsiveDisplayAd() *common.LegacyResponsiveDisplayAdInfo { - if x, ok := m.GetAdData().(*Ad_LegacyResponsiveDisplayAd); ok { - return x.LegacyResponsiveDisplayAd - } - return nil -} - -func (m *Ad) GetAppAd() *common.AppAdInfo { - if x, ok := m.GetAdData().(*Ad_AppAd); ok { - return x.AppAd - } - return nil -} - -func (m *Ad) GetLegacyAppInstallAd() *common.LegacyAppInstallAdInfo { - if x, ok := m.GetAdData().(*Ad_LegacyAppInstallAd); ok { - return x.LegacyAppInstallAd - } - return nil -} - -func (m *Ad) GetResponsiveDisplayAd() *common.ResponsiveDisplayAdInfo { - if x, ok := m.GetAdData().(*Ad_ResponsiveDisplayAd); ok { - return x.ResponsiveDisplayAd - } - return nil -} - -func (m *Ad) GetDisplayUploadAd() *common.DisplayUploadAdInfo { - if x, ok := m.GetAdData().(*Ad_DisplayUploadAd); ok { - return x.DisplayUploadAd - } - return nil -} - -func (m *Ad) GetAppEngagementAd() *common.AppEngagementAdInfo { - if x, ok := m.GetAdData().(*Ad_AppEngagementAd); ok { - return x.AppEngagementAd - } - return nil -} - -func (m *Ad) GetShoppingComparisonListingAd() *common.ShoppingComparisonListingAdInfo { - if x, ok := m.GetAdData().(*Ad_ShoppingComparisonListingAd); ok { - return x.ShoppingComparisonListingAd - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Ad) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Ad_TextAd)(nil), - (*Ad_ExpandedTextAd)(nil), - (*Ad_CallOnlyAd)(nil), - (*Ad_ExpandedDynamicSearchAd)(nil), - (*Ad_HotelAd)(nil), - (*Ad_ShoppingSmartAd)(nil), - (*Ad_ShoppingProductAd)(nil), - (*Ad_GmailAd)(nil), - (*Ad_ImageAd)(nil), - (*Ad_VideoAd)(nil), - (*Ad_ResponsiveSearchAd)(nil), - (*Ad_LegacyResponsiveDisplayAd)(nil), - (*Ad_AppAd)(nil), - (*Ad_LegacyAppInstallAd)(nil), - (*Ad_ResponsiveDisplayAd)(nil), - (*Ad_DisplayUploadAd)(nil), - (*Ad_AppEngagementAd)(nil), - (*Ad_ShoppingComparisonListingAd)(nil), - } -} - -func init() { - proto.RegisterType((*Ad)(nil), "google.ads.googleads.v2.resources.Ad") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/ad.proto", fileDescriptor_f86c36d18f064a67) -} - -var fileDescriptor_f86c36d18f064a67 = []byte{ - // 1257 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x97, 0xdf, 0x72, 0xd4, 0x36, - 0x1b, 0xc6, 0xbf, 0x5d, 0x20, 0xf9, 0x10, 0x21, 0x7f, 0x14, 0x02, 0x26, 0x49, 0x69, 0x80, 0xd2, - 0x49, 0x61, 0xea, 0x65, 0x96, 0x42, 0x67, 0x96, 0x61, 0x5a, 0x87, 0x04, 0x92, 0x0e, 0xb4, 0xa9, - 0x97, 0xe4, 0x80, 0x49, 0xeb, 0x51, 0x2c, 0xad, 0xe3, 0x22, 0x4b, 0x1a, 0xc9, 0x4e, 0xb3, 0x3d, - 0xea, 0x51, 0x6f, 0xa3, 0x33, 0x3d, 0xec, 0xa5, 0xf4, 0x22, 0x7a, 0x01, 0x3d, 0xee, 0x05, 0x74, - 0x24, 0xd9, 0x5a, 0x36, 0x61, 0x63, 0x9f, 0x24, 0x96, 0xf4, 0x3e, 0xbf, 0xe7, 0xd5, 0x2b, 0x4b, - 0x5a, 0x83, 0xfb, 0x09, 0xe7, 0x09, 0x25, 0x1d, 0x84, 0x55, 0xc7, 0x3e, 0xea, 0xa7, 0xe3, 0x6e, - 0x47, 0x12, 0xc5, 0x0b, 0x19, 0x13, 0xd5, 0x41, 0xd8, 0x17, 0x92, 0xe7, 0x1c, 0xde, 0xb6, 0x01, - 0x3e, 0xc2, 0xca, 0x77, 0xb1, 0xfe, 0x71, 0xd7, 0x77, 0xb1, 0xcb, 0xdd, 0x49, 0xb8, 0x98, 0x67, - 0x19, 0x67, 0x1d, 0x84, 0xa3, 0x7c, 0x28, 0x48, 0x94, 0xb2, 0x01, 0x57, 0x16, 0xbb, 0xfc, 0xb8, - 0x46, 0x13, 0x17, 0x2a, 0xe7, 0x59, 0x24, 0x90, 0x44, 0x19, 0xc9, 0x89, 0x2c, 0x65, 0x75, 0x56, - 0x83, 0x94, 0x21, 0x1a, 0x21, 0x21, 0xa2, 0x42, 0xd2, 0x52, 0xf3, 0xa8, 0x46, 0x53, 0x48, 0x1a, - 0xc5, 0x9c, 0x52, 0x12, 0xe7, 0x29, 0x67, 0xa5, 0xe8, 0xc1, 0x24, 0x11, 0x61, 0x45, 0xa6, 0xaa, - 0x29, 0x95, 0xc1, 0xf7, 0xcf, 0x0f, 0xc6, 0xe4, 0x38, 0x8d, 0xab, 0xd8, 0xaf, 0xcf, 0x8f, 0x55, - 0x43, 0x95, 0x93, 0x2c, 0xca, 0x10, 0x43, 0x09, 0xc1, 0x11, 0x61, 0x79, 0x9a, 0x0f, 0x23, 0x5b, - 0xe9, 0x92, 0x70, 0xab, 0x24, 0x98, 0xd6, 0x61, 0x31, 0xe8, 0xfc, 0x2c, 0x91, 0x10, 0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84, 0x30, 0x73, - 0xb7, 0x57, 0x5f, 0x09, 0x22, 0x55, 0xe7, 0x7c, 0xb0, 0x3d, 0x75, 0x4f, 0x7f, 0xb4, 0x2f, 0xbc, - 0x0c, 0x82, 0x3f, 0xdb, 0xb7, 0xed, 0x2f, 0x1e, 0x3f, 0xc0, 0xca, 0x77, 0x3f, 0x7e, 0xfc, 0xfd, - 0xae, 0x5f, 0xdd, 0xc1, 0xea, 0xaf, 0x2a, 0xe6, 0x20, 0xc0, 0xea, 0xc0, 0xc5, 0x1c, 0xec, 0x77, - 0x0f, 0x5c, 0xcc, 0x3f, 0xed, 0x7b, 0x76, 0xa0, 0xd7, 0x0b, 0xb0, 0xea, 0xf5, 0x5c, 0x54, 0xaf, - 0xb7, 0xdf, 0xed, 0xf5, 0x5c, 0xdc, 0xe1, 0x94, 0x49, 0xf6, 0xd1, 0x7f, 0x01, 0x00, 0x00, 0xff, - 0xff, 0x4f, 0xfc, 0x6d, 0xac, 0x5c, 0x0e, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group.pb.go deleted file mode 100644 index 46057b0d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group.pb.go +++ /dev/null @@ -1,396 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/ad_group.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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.v2.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.v2.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.v2.enums.AdGroupAdRotationModeEnum_AdGroupAdRotationMode" json:"ad_rotation_mode,omitempty"` - // For draft or experiment ad groups, this field is the resource name of the - // base ad group from which this ad group was created. If a draft or - // experiment ad group does not have a base ad group, then this field is null. - // - // For base ad groups, this field equals the ad group resource name. - // - // This field is read-only. - BaseAdGroup *wrappers.StringValue `protobuf:"bytes,18,opt,name=base_ad_group,json=baseAdGroup,proto3" json:"base_ad_group,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 CPA (cost-per-acquisition). - TargetCpaMicros *wrappers.Int64Value `protobuf:"bytes,27,opt,name=target_cpa_micros,json=targetCpaMicros,proto3" json:"target_cpa_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"` - // Average amount in micros that the advertiser is willing to pay for every - // thousand times the ad is shown. - TargetCpmMicros *wrappers.Int64Value `protobuf:"bytes,26,opt,name=target_cpm_micros,json=targetCpmMicros,proto3" json:"target_cpm_micros,omitempty"` - // The target ROAS (return-on-ad-spend) 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. - TargetRoas *wrappers.DoubleValue `protobuf:"bytes,30,opt,name=target_roas,json=targetRoas,proto3" json:"target_roas,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.v2.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"` - // Setting for targeting related features. - TargetingSetting *common.TargetingSetting `protobuf:"bytes,25,opt,name=targeting_setting,json=targetingSetting,proto3" json:"targeting_setting,omitempty"` - // The effective target CPA (cost-per-acquisition). - // This field is read-only. - EffectiveTargetCpaMicros *wrappers.Int64Value `protobuf:"bytes,28,opt,name=effective_target_cpa_micros,json=effectiveTargetCpaMicros,proto3" json:"effective_target_cpa_micros,omitempty"` - // Source of the effective target CPA. - // This field is read-only. - EffectiveTargetCpaSource enums.BiddingSourceEnum_BiddingSource `protobuf:"varint,29,opt,name=effective_target_cpa_source,json=effectiveTargetCpaSource,proto3,enum=google.ads.googleads.v2.enums.BiddingSourceEnum_BiddingSource" json:"effective_target_cpa_source,omitempty"` - // The effective target ROAS (return-on-ad-spend). - // This field is read-only. - EffectiveTargetRoas *wrappers.DoubleValue `protobuf:"bytes,31,opt,name=effective_target_roas,json=effectiveTargetRoas,proto3" json:"effective_target_roas,omitempty"` - // Source of the effective target ROAS. - // This field is read-only. - EffectiveTargetRoasSource enums.BiddingSourceEnum_BiddingSource `protobuf:"varint,32,opt,name=effective_target_roas_source,json=effectiveTargetRoasSource,proto3,enum=google.ads.googleads.v2.enums.BiddingSourceEnum_BiddingSource" json:"effective_target_roas_source,omitempty"` - // The resource names of labels attached to this ad group. - Labels []*wrappers.StringValue `protobuf:"bytes,33,rep,name=labels,proto3" json:"labels,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_a1544ca6322174f1, []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 (m *AdGroup) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroup.Merge(m, 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) GetBaseAdGroup() *wrappers.StringValue { - if m != nil { - return m.BaseAdGroup - } - return nil -} - -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) GetTargetCpaMicros() *wrappers.Int64Value { - if m != nil { - return m.TargetCpaMicros - } - return nil -} - -func (m *AdGroup) GetCpvBidMicros() *wrappers.Int64Value { - if m != nil { - return m.CpvBidMicros - } - return nil -} - -func (m *AdGroup) GetTargetCpmMicros() *wrappers.Int64Value { - if m != nil { - return m.TargetCpmMicros - } - return nil -} - -func (m *AdGroup) GetTargetRoas() *wrappers.DoubleValue { - if m != nil { - return m.TargetRoas - } - 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 (m *AdGroup) GetTargetingSetting() *common.TargetingSetting { - if m != nil { - return m.TargetingSetting - } - return nil -} - -func (m *AdGroup) GetEffectiveTargetCpaMicros() *wrappers.Int64Value { - if m != nil { - return m.EffectiveTargetCpaMicros - } - return nil -} - -func (m *AdGroup) GetEffectiveTargetCpaSource() enums.BiddingSourceEnum_BiddingSource { - if m != nil { - return m.EffectiveTargetCpaSource - } - return enums.BiddingSourceEnum_UNSPECIFIED -} - -func (m *AdGroup) GetEffectiveTargetRoas() *wrappers.DoubleValue { - if m != nil { - return m.EffectiveTargetRoas - } - return nil -} - -func (m *AdGroup) GetEffectiveTargetRoasSource() enums.BiddingSourceEnum_BiddingSource { - if m != nil { - return m.EffectiveTargetRoasSource - } - return enums.BiddingSourceEnum_UNSPECIFIED -} - -func (m *AdGroup) GetLabels() []*wrappers.StringValue { - if m != nil { - return m.Labels - } - return nil -} - -func init() { - proto.RegisterType((*AdGroup)(nil), "google.ads.googleads.v2.resources.AdGroup") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/ad_group.proto", fileDescriptor_a1544ca6322174f1) -} - -var fileDescriptor_a1544ca6322174f1 = []byte{ - // 984 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x96, 0xdd, 0x6e, 0x23, 0x35, - 0x14, 0xc7, 0x95, 0xb6, 0x14, 0x70, 0xdb, 0x6c, 0x77, 0x4a, 0x97, 0x69, 0x1b, 0x76, 0x53, 0xd0, - 0x4a, 0x95, 0x90, 0x26, 0x25, 0xbb, 0x2c, 0x28, 0xb0, 0x88, 0xa4, 0x5d, 0x0a, 0x48, 0x5b, 0xa2, - 0x49, 0x37, 0x17, 0xab, 0xa2, 0x91, 0x33, 0x76, 0x46, 0x16, 0x33, 0x63, 0xcb, 0xf6, 0x84, 0x16, - 0x09, 0x71, 0xc1, 0x15, 0xaf, 0xc1, 0x25, 0x8f,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x0b, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_ad.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_ad.pb.go deleted file mode 100644 index 13780cd0..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_ad.pb.go +++ /dev/null @@ -1,225 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/ad_group_ad.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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.v2.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"` - // Overall ad strength for this ad group ad. - AdStrength enums.AdStrengthEnum_AdStrength `protobuf:"varint,7,opt,name=ad_strength,json=adStrength,proto3,enum=google.ads.googleads.v2.enums.AdStrengthEnum_AdStrength" json:"ad_strength,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_b6e817cb3b35f678, []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 (m *AdGroupAd) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupAd.Merge(m, 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 -} - -func (m *AdGroupAd) GetAdStrength() enums.AdStrengthEnum_AdStrength { - if m != nil { - return m.AdStrength - } - return enums.AdStrengthEnum_UNSPECIFIED -} - -// 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.v2.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.v2.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_b6e817cb3b35f678, []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 (m *AdGroupAdPolicySummary) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupAdPolicySummary.Merge(m, 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.v2.resources.AdGroupAd") - proto.RegisterType((*AdGroupAdPolicySummary)(nil), "google.ads.googleads.v2.resources.AdGroupAdPolicySummary") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/ad_group_ad.proto", fileDescriptor_b6e817cb3b35f678) -} - -var fileDescriptor_b6e817cb3b35f678 = []byte{ - // 591 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0xdf, 0x6a, 0xdb, 0x3e, - 0x18, 0xc5, 0xce, 0xef, 0x97, 0xae, 0xca, 0x9a, 0x81, 0x19, 0xc3, 0x94, 0x32, 0xd2, 0x8e, 0x40, - 0xd8, 0x40, 0x1e, 0x2e, 0xdb, 0x3a, 0xef, 0xca, 0x81, 0x92, 0x31, 0xc6, 0x28, 0xce, 0x08, 0xac, - 0x04, 0x3c, 0x25, 0xd2, 0x3c, 0x43, 0x2c, 0x09, 0xc9, 0x4e, 0xc9, 0xeb, 0xec, 0x72, 0x6f, 0xb0, - 0x57, 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0x44, - 0x3a, 0x59, 0x69, 0x96, 0x35, 0xef, 0xba, 0x76, 0x35, 0xdb, 0xdb, 0x2d, 0xb3, 0x29, 0xed, 0xa8, - 0x62, 0xae, 0x39, 0xe2, 0xf6, 0x71, 0x69, 0xbb, 0xeb, 0xcc, 0x29, 0xc0, 0x83, 0x1b, 0xdf, 0x4c, - 0xfb, 0xef, 0xfd, 0x4e, 0x05, 0x43, 0xcd, 0xbd, 0x55, 0xb2, 0x79, 0x11, 0x75, 0x51, 0x23, 0x1f, - 0xfe, 0xb1, 0x40, 0x7f, 0xce, 0xb2, 0xed, 0x7e, 0x18, 0x76, 0xaf, 0xdf, 0xa2, 0xb4, 0xea, 0x85, - 0x75, 0xf9, 0x4e, 0x93, 0x12, 0xb6, 0x40, 0x34, 0x81, 0x4c, 0x24, 0x5e, 0x42, 0x68, 0x65, 0x64, - 0xf3, 0xad, 0x79, 0x2a, 0xef, 0xf8, 0xe5, 0x6f, 0xea, 0xe8, 0x9b, 0xdd, 0x1a, 0x85, 0xe1, 0x77, - 0xfb, 0x78, 0xa4, 0x24, 0x43, 0x2c, 0xa1, 0x0a, 0xcb, 0x68, 0xe2, 0xc3, 0xc8, 0x20, 0x7f, 0x1a, - 0xcc, 0x34, 0xc4, 0x72, 0x5a, 0x63, 0xa6, 0x13, 0x7f, 0x5a, 0x63, 0x7e, 0xdb, 0x7d, 0x75, 0x11, - 0x04, 0x21, 0x96, 0x41, 0x50, 0xa3, 0x82, 0x60, 0xe2, 0x07, 0x41, 0x8d, 0x9b, 0xb5, 0xab, 0x66, - 0x4f, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0xc4, 0xfa, 0x1f, 0x7c, 0xf5, 0x05, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_ad_asset_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_ad_asset_view.pb.go deleted file mode 100644 index 1b474d4e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_ad_asset_view.pb.go +++ /dev/null @@ -1,227 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/ad_group_ad_asset_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A link between an AdGroupAd and an Asset. -type AdGroupAdAssetView struct { - // The resource name of the ad group ad asset view. - // Ad group ad asset view resource names have the form: - // - // `customers/{customer_id}/adGroupAdAssets/{AdGroupAdAsset.ad_group_id}~{AdGroupAdAsset.ad.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdAsset.asset_field_type}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The ad group ad to which the asset is linked. - AdGroupAd *wrappers.StringValue `protobuf:"bytes,5,opt,name=ad_group_ad,json=adGroupAd,proto3" json:"ad_group_ad,omitempty"` - // The asset which is linked to the ad group ad. - Asset *wrappers.StringValue `protobuf:"bytes,6,opt,name=asset,proto3" json:"asset,omitempty"` - // Role that the asset takes in the ad. - FieldType enums.AssetFieldTypeEnum_AssetFieldType `protobuf:"varint,2,opt,name=field_type,json=fieldType,proto3,enum=google.ads.googleads.v2.enums.AssetFieldTypeEnum_AssetFieldType" json:"field_type,omitempty"` - // Policy information for the ad group ad asset. - PolicySummary *AdGroupAdAssetPolicySummary `protobuf:"bytes,3,opt,name=policy_summary,json=policySummary,proto3" json:"policy_summary,omitempty"` - // Performance of an asset linkage. - PerformanceLabel enums.AssetPerformanceLabelEnum_AssetPerformanceLabel `protobuf:"varint,4,opt,name=performance_label,json=performanceLabel,proto3,enum=google.ads.googleads.v2.enums.AssetPerformanceLabelEnum_AssetPerformanceLabel" json:"performance_label,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdGroupAdAssetView) Reset() { *m = AdGroupAdAssetView{} } -func (m *AdGroupAdAssetView) String() string { return proto.CompactTextString(m) } -func (*AdGroupAdAssetView) ProtoMessage() {} -func (*AdGroupAdAssetView) Descriptor() ([]byte, []int) { - return fileDescriptor_b8c6610099f54310, []int{0} -} - -func (m *AdGroupAdAssetView) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdGroupAdAssetView.Unmarshal(m, b) -} -func (m *AdGroupAdAssetView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdGroupAdAssetView.Marshal(b, m, deterministic) -} -func (m *AdGroupAdAssetView) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupAdAssetView.Merge(m, src) -} -func (m *AdGroupAdAssetView) XXX_Size() int { - return xxx_messageInfo_AdGroupAdAssetView.Size(m) -} -func (m *AdGroupAdAssetView) XXX_DiscardUnknown() { - xxx_messageInfo_AdGroupAdAssetView.DiscardUnknown(m) -} - -var xxx_messageInfo_AdGroupAdAssetView proto.InternalMessageInfo - -func (m *AdGroupAdAssetView) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *AdGroupAdAssetView) GetAdGroupAd() *wrappers.StringValue { - if m != nil { - return m.AdGroupAd - } - return nil -} - -func (m *AdGroupAdAssetView) GetAsset() *wrappers.StringValue { - if m != nil { - return m.Asset - } - return nil -} - -func (m *AdGroupAdAssetView) GetFieldType() enums.AssetFieldTypeEnum_AssetFieldType { - if m != nil { - return m.FieldType - } - return enums.AssetFieldTypeEnum_UNSPECIFIED -} - -func (m *AdGroupAdAssetView) GetPolicySummary() *AdGroupAdAssetPolicySummary { - if m != nil { - return m.PolicySummary - } - return nil -} - -func (m *AdGroupAdAssetView) GetPerformanceLabel() enums.AssetPerformanceLabelEnum_AssetPerformanceLabel { - if m != nil { - return m.PerformanceLabel - } - return enums.AssetPerformanceLabelEnum_UNSPECIFIED -} - -// Contains policy information for an ad group ad asset. -type AdGroupAdAssetPolicySummary struct { - // The list of policy findings for the ad group ad asset. - 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 group ad asset is. - ReviewStatus enums.PolicyReviewStatusEnum_PolicyReviewStatus `protobuf:"varint,2,opt,name=review_status,json=reviewStatus,proto3,enum=google.ads.googleads.v2.enums.PolicyReviewStatusEnum_PolicyReviewStatus" json:"review_status,omitempty"` - // The overall approval status of this ad group ad asset, 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.v2.enums.PolicyApprovalStatusEnum_PolicyApprovalStatus" json:"approval_status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdGroupAdAssetPolicySummary) Reset() { *m = AdGroupAdAssetPolicySummary{} } -func (m *AdGroupAdAssetPolicySummary) String() string { return proto.CompactTextString(m) } -func (*AdGroupAdAssetPolicySummary) ProtoMessage() {} -func (*AdGroupAdAssetPolicySummary) Descriptor() ([]byte, []int) { - return fileDescriptor_b8c6610099f54310, []int{1} -} - -func (m *AdGroupAdAssetPolicySummary) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdGroupAdAssetPolicySummary.Unmarshal(m, b) -} -func (m *AdGroupAdAssetPolicySummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdGroupAdAssetPolicySummary.Marshal(b, m, deterministic) -} -func (m *AdGroupAdAssetPolicySummary) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupAdAssetPolicySummary.Merge(m, src) -} -func (m *AdGroupAdAssetPolicySummary) XXX_Size() int { - return xxx_messageInfo_AdGroupAdAssetPolicySummary.Size(m) -} -func (m *AdGroupAdAssetPolicySummary) XXX_DiscardUnknown() { - xxx_messageInfo_AdGroupAdAssetPolicySummary.DiscardUnknown(m) -} - -var xxx_messageInfo_AdGroupAdAssetPolicySummary proto.InternalMessageInfo - -func (m *AdGroupAdAssetPolicySummary) GetPolicyTopicEntries() []*common.PolicyTopicEntry { - if m != nil { - return m.PolicyTopicEntries - } - return nil -} - -func (m *AdGroupAdAssetPolicySummary) GetReviewStatus() enums.PolicyReviewStatusEnum_PolicyReviewStatus { - if m != nil { - return m.ReviewStatus - } - return enums.PolicyReviewStatusEnum_UNSPECIFIED -} - -func (m *AdGroupAdAssetPolicySummary) GetApprovalStatus() enums.PolicyApprovalStatusEnum_PolicyApprovalStatus { - if m != nil { - return m.ApprovalStatus - } - return enums.PolicyApprovalStatusEnum_UNSPECIFIED -} - -func init() { - proto.RegisterType((*AdGroupAdAssetView)(nil), "google.ads.googleads.v2.resources.AdGroupAdAssetView") - proto.RegisterType((*AdGroupAdAssetPolicySummary)(nil), "google.ads.googleads.v2.resources.AdGroupAdAssetPolicySummary") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/ad_group_ad_asset_view.proto", fileDescriptor_b8c6610099f54310) -} - -var fileDescriptor_b8c6610099f54310 = []byte{ - // 621 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0xdd, 0x6a, 0xd4, 0x40, - 0x14, 0x80, 0x49, 0xd6, 0x16, 0x3a, 0xb5, 0xab, 0x0e, 0x82, 0xa1, 0x16, 0xd9, 0x56, 0x0a, 0x0b, - 0xc2, 0x44, 0xa2, 0x17, 0x92, 0x4a, 0x31, 0x85, 0x5a, 0x91, 0x52, 0x96, 0xb4, 0xec, 0x85, 0x2c, - 0x84, 0xd9, 0x64, 0x36, 0x04, 0x92, 0x99, 0x61, 0x26, 0xd9, 0x65, 0xf1, 0xd6, 0x27, 0xf1, 0xd2, - 0x47, 0xf1, 0x45, 0x04, 0xaf, 0x7c, 0x04, 0xc9, 0x4c, 0x92, 0xfd, 0x63, 0x7f, 0xee, 0xce, 0xcc, - 0x9c, 0xef, 0xfc, 0x9f, 0x01, 0x97, 0x31, 0x63, 0x71, 0x4a, 0x6c, 0x1c, 0x49, 0x5b, 0x8b, 0xa5, - 0x34, 0x76, 0x6c, 0x41, 0x24, 0x2b, 0x44, 0x48, 0xa4, 0x8d, 0xa3, 0x20, 0x16, 0xac, 0xe0, 0x01, - 0x8e, 0x02, 0x2c, 0x25, 0xc9, 0x83, 0x71, 0x42, 0x26, 0x88, 0x0b, 0x96, 0x33, 0x78, 0xaa, 0x21, - 0x84, 0x23, 0x89, 0x1a, 0x1e, 0x8d, 0x1d, 0xd4, 0xf0, 0xc7, 0x6f, 0xd6, 0xb9, 0x08, 0x59, 0x96, - 0x31, 0x6a, 0x73, 0x96, 0x26, 0xe1, 0x54, 0xdb, 0x3b, 0x7e, 0xbf, 0x4e, 0x99, 0xd0, 0x22, 0x93, - 0xb6, 0xf6, 0x3f, 0x4a, 0x48, 0x1a, 0x05, 0xf9, 0x94, 0x93, 0x8a, 0xba, 0xd8, 0x85, 0xe2, 0x44, - 0x8c, 0x98, 0xc8, 0x30, 0x0d, 0x49, 0x90, 0xe2, 0x21, 0x49, 0x2b, 0xd8, 0xdd, 0x0c, 0xeb, 0xf0, - 0x02, 0xcc, 0xb9, 0x60, 0x63, 0x9c, 0x06, 0x32, 0xc7, 0x79, 0x21, 0x2b, 0xf6, 0xc3, 0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b5, 0xe6, 0xef, 0x5a, 0x67, 0xe0, 0x45, - 0x72, 0xd0, 0xe8, 0x0c, 0xfa, 0xce, 0xa0, 0xd1, 0xf9, 0x6b, 0x9e, 0xeb, 0x07, 0xd7, 0xf5, 0x22, - 0xe9, 0xba, 0x8d, 0x96, 0xeb, 0xf6, 0x1d, 0xd7, 0x6d, 0xf4, 0x86, 0xfb, 0x2a, 0xd8, 0x77, 0xff, - 0x03, 0x00, 0x00, 0xff, 0xff, 0x16, 0x2e, 0x3c, 0xc8, 0x23, 0x06, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_ad_label.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_ad_label.pb.go deleted file mode 100644 index ae94ffc3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_ad_label.pb.go +++ /dev/null @@ -1,118 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/ad_group_ad_label.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A relationship between an ad group ad and a label. -type AdGroupAdLabel struct { - // The resource name of the ad group ad label. - // Ad group ad label resource names have the form: - // `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The ad group ad to which the label is attached. - AdGroupAd *wrappers.StringValue `protobuf:"bytes,2,opt,name=ad_group_ad,json=adGroupAd,proto3" json:"ad_group_ad,omitempty"` - // The label assigned to the ad group ad. - Label *wrappers.StringValue `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdGroupAdLabel) Reset() { *m = AdGroupAdLabel{} } -func (m *AdGroupAdLabel) String() string { return proto.CompactTextString(m) } -func (*AdGroupAdLabel) ProtoMessage() {} -func (*AdGroupAdLabel) Descriptor() ([]byte, []int) { - return fileDescriptor_e3230c17c5c59b51, []int{0} -} - -func (m *AdGroupAdLabel) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdGroupAdLabel.Unmarshal(m, b) -} -func (m *AdGroupAdLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdGroupAdLabel.Marshal(b, m, deterministic) -} -func (m *AdGroupAdLabel) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupAdLabel.Merge(m, src) -} -func (m *AdGroupAdLabel) XXX_Size() int { - return xxx_messageInfo_AdGroupAdLabel.Size(m) -} -func (m *AdGroupAdLabel) XXX_DiscardUnknown() { - xxx_messageInfo_AdGroupAdLabel.DiscardUnknown(m) -} - -var xxx_messageInfo_AdGroupAdLabel proto.InternalMessageInfo - -func (m *AdGroupAdLabel) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *AdGroupAdLabel) GetAdGroupAd() *wrappers.StringValue { - if m != nil { - return m.AdGroupAd - } - return nil -} - -func (m *AdGroupAdLabel) GetLabel() *wrappers.StringValue { - if m != nil { - return m.Label - } - return nil -} - -func init() { - proto.RegisterType((*AdGroupAdLabel)(nil), "google.ads.googleads.v2.resources.AdGroupAdLabel") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/ad_group_ad_label.proto", fileDescriptor_e3230c17c5c59b51) -} - -var fileDescriptor_e3230c17c5c59b51 = []byte{ - // 330 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xcf, 0x4a, 0xc3, 0x30, - 0x00, 0xc6, 0x69, 0x87, 0xc2, 0x3a, 0xf5, 0x50, 0x2f, 0x63, 0x0c, 0xd9, 0x94, 0xc1, 0x4e, 0x09, - 0xc4, 0x93, 0xd1, 0x4b, 0x76, 0x19, 0x88, 0xc8, 0x98, 0xd0, 0x83, 0x14, 0x4a, 0xb6, 0xc4, 0x50, - 0xe8, 0x92, 0x92, 0xb4, 0xf3, 0xea, 0xb3, 0x78, 0x11, 0x7c, 0x14, 0x1f, 0xc5, 0xa7, 0x90, 0x36, - 0x4d, 0xd0, 0x8b, 0x7a, 0xfb, 0x68, 0x7e, 0xdf, 0x9f, 0x34, 0xd1, 0x95, 0x50, 0x4a, 0x14, 0x1c, - 0x52, 0x66, 0xa0, 0x95, 0x8d, 0xda, 0x23, 0xa8, 0xb9, 0x51, 0xb5, 0xde, 0x72, 0x03, 0x29, 0xcb, - 0x84, 0x56, 0x75, 0x99, 0x51, 0x96, 0x15, 0x74, 0xc3, 0x0b, 0x50, 0x6a, 0x55, 0xa9, 0x78, 0x6a, - 0x79, 0x40, 0x99, 0x01, 0xde, 0x0a, 0xf6, 0x08, 0x78, 0xeb, 0xe8, 0xac, 0x4b, 0x6f, 0x0d, 0x9b, - 0xfa, 0x09, 0x3e, 0x6b, 0x5a, 0x96, 0x5c, 0x1b, 0x1b, 0x31, 0x1a, 0xbb, 0xf6, 0x32, 0x87, 0x54, - 0x4a, 0x55, 0xd1, 0x2a, 0x57, 0xb2, 0x3b, 0x3d, 0x7f, 0x0b, 0xa2, 0x13, 0xc2, 0x96, 0x4d, 0x37, - 0x61, 0x77, 0x4d, 0x73, 0x7c, 0x11, 0x1d, 0xbb, 0xf4, 0x4c, 0xd2, 0x1d, 0x1f, 0x06, 0x93, 0x60, - 0xde, 0x5f, 0x1f, 0xb9, 0x8f, 0xf7, 0x74, 0xc7, 0xe3, 0x9b, 0x68, 0xf0, 0x6d, 0xf3, 0x30, 0x9c, - 0x04, 0xf3, 0x01, 0x1a, 0x77, 0x1b, 0x81, 0xdb, 0x02, 0x1e, 0x2a, 0x9d, 0x4b, 0x91, 0xd0, 0xa2, - 0xe6, 0xeb, 0x3e, 0x75, 0x3d, 0x31, 0x8a, 0x0e, 0xda, 0x5b, 0x0e, 0x7b, 0xff, 0xf0, 0x59, 0x74, - 0xf1, 0x12, 0x46, 0xb3, 0xad, 0xda, 0x81, 0x3f, 0xff, 0xc8, 0xe2, 0xf4, 0xe7, 0x85, 0x56, 0x4d, - 0xe8, 0x2a, 0x78, 0xbc, 0xed, 0x9c, 0x42, 0x15, 0x54, 0x0a, 0xa0, 0xb4, 0x80, 0x82, 0xcb, 0xb6, - 0xd2, 0x3d, 0x4b, 0x99, 0x9b, 0x5f, 0x5e, 0xe9, 0xda, 0xab, 0xd7, 0xb0, 0xb7, 0x24, 0xe4, 0x3d, - 0x9c, 0x2e, 0x6d, 0x24, 0x61, 0x06, 0x58, 0xd9, 0xa8, 0x04, 0x81, 0xb5, 0x23, 0x3f, 0x1c, 0x93, - 0x12, 0x66, 0x52, 0xcf, 0xa4, 0x09, 0x4a, 0x3d, 0xf3, 0x19, 0xce, 0xec, 0x01, 0xc6, 0x84, 0x19, - 0x8c, 0x3d, 0x85, 0x71, 0x82, 0x30, 0xf6, 0xdc, 0xe6, 0xb0, 0x1d, 0x7b, 0xf9, 0x15, 0x00, 0x00, - 0xff, 0xff, 0x9a, 0x4a, 0x06, 0x49, 0x51, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_audience_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_audience_view.pb.go deleted file mode 100644 index 0098dd76..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_audience_view.pb.go +++ /dev/null @@ -1,100 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/ad_group_audience_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_322dc799a21761f6, []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 (m *AdGroupAudienceView) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupAudienceView.Merge(m, 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.v2.resources.AdGroupAudienceView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/ad_group_audience_view.proto", fileDescriptor_322dc799a21761f6) -} - -var fileDescriptor_322dc799a21761f6 = []byte{ - // 276 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0x4f, 0x4a, 0xc4, 0x30, - 0x14, 0xc6, 0x99, 0x0a, 0x82, 0x45, 0x37, 0xe3, 0x66, 0x10, 0x17, 0x8e, 0x32, 0xe0, 0x2a, 0x81, - 0xb8, 0x8b, 0x20, 0x64, 0x36, 0x05, 0x17, 0x32, 0xcc, 0xa2, 0x0b, 0x29, 0x94, 0xd8, 0x3c, 0x42, - 0x60, 0x9a, 0x57, 0x92, 0xb6, 0x73, 0x02, 0x2f, 0xe2, 0xd2, 0xa3, 0x78, 0x14, 0x4f, 0x21, 0x9d, - 0x4c, 0xb2, 0x12, 0xdd, 0x7d, 0x24, 0xbf, 0xef, 0x0f, 0x2f, 0x7f, 0xd2, 0x88, 0x7a, 0x07, 0x54, - 0x2a, 0x4f, 0x83, 0x9c, 0xd4, 0xc8, 0xa8, 0x03, 0x8f, 0x83, 0x6b, 0xc0, 0x53, 0xa9, 0x6a, 0xed, - 0x70, 0xe8, 0x6a, 0x39, 0x28, 0x03, 0xb6, 0x81, 0x7a, 0x34, 0xb0, 0x27, 0x9d, 0xc3, 0x1e, 0xe7, - 0xcb, 0x60, 0x22, 0x52, 0x79, 0x92, 0xfc, 0x64, 0x64, 0x24, 0xf9, 0xaf, 0xae, 0x63, 0x45, 0x67, - 0xa8, 0xb4, 0x16, 0x7b, 0xd9, 0x1b, 0xb4, 0x3e, 0x04, 0xdc, 0xf2, 0xfc, 0x52, 0xa8, 0x62, 0xca, - 0x17, 0xc7, 0xf8, 0xd2, 0xc0, 0x7e, 0x7e, 0x97, 0x5f, 0xc4, 0x84, 0xda, 0xca, 0x16, 0x16, 0xb3, - 0x9b, 0xd9, 0xfd, 0xd9, 0xf6, 0x3c, 0x3e, 0xbe, 0xc8, 0x16, 0xd6, 0xef, 0x59, 0xbe, 0x6a, 0xb0, - 0x25, 0xff, 0x6e, 0x58, 0x2f, 0x7e, 0xe9, 0xd8, 0x4c, 0xfd, 0x9b, 0xd9, 0xeb, 0xf3, 0xd1, 0xae, - 0x71, 0x27, 0xad, 0x26, 0xe8, 0x34, 0xd5, 0x60, 0x0f, 0xeb, 0xe2, 0x49, 0x3a, 0xe3, 0xff, 0xb8, - 0xd0, 0x63, 0x52, 0x1f, 0xd9, 0x49, 0x21, 0xc4, 0x67, 0xb6, 0x2c, 0x42, 0xa4, 0x50, 0x9e, 0x04, - 0x39, 0xa9, 0x92, 0x91, 0x6d, 0x24, 0xbf, 0x22, 0x53, 0x09, 0xe5, 0xab, 0xc4, 0x54, 0x25, 0xab, - 0x12, 0xf3, 0x9d, 0xad, 0xc2, 0x07, 0xe7, 0x42, 0x79, 0xce, 0x13, 0xc5, 0x79, 0xc9, 0x38, 0x4f, - 0xdc, 0xdb, 0xe9, 0x61, 0xec, 0xc3, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x5b, 0xc1, 0xec, 0xae, - 0xcd, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_bid_modifier.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_bid_modifier.pb.go deleted file mode 100644 index bae2ba18..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_bid_modifier.pb.go +++ /dev/null @@ -1,290 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/ad_group_bid_modifier.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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.v2.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_77d645d3b51cc0a0, []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 (m *AdGroupBidModifier) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupBidModifier.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*AdGroupBidModifier) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AdGroupBidModifier_HotelDateSelectionType)(nil), - (*AdGroupBidModifier_HotelAdvanceBookingWindow)(nil), - (*AdGroupBidModifier_HotelLengthOfStay)(nil), - (*AdGroupBidModifier_HotelCheckInDay)(nil), - (*AdGroupBidModifier_Device)(nil), - (*AdGroupBidModifier_PreferredContent)(nil), - } -} - -func init() { - proto.RegisterType((*AdGroupBidModifier)(nil), "google.ads.googleads.v2.resources.AdGroupBidModifier") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/ad_group_bid_modifier.proto", fileDescriptor_77d645d3b51cc0a0) -} - -var fileDescriptor_77d645d3b51cc0a0 = []byte{ - // 692 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xdd, 0x6e, 0xd3, 0x4a, - 0x10, 0x3e, 0x49, 0xcf, 0xe9, 0xcf, 0x26, 0x3d, 0xe7, 0xd4, 0x20, 0x30, 0xa5, 0x42, 0x2d, 0xa8, - 0x52, 0x85, 0x84, 0x2d, 0xa5, 0x85, 0x4a, 0x46, 0x05, 0x92, 0x06, 0xda, 0x20, 0x7e, 0xaa, 0x04, - 0x05, 0x09, 0x45, 0x5a, 0xad, 0xbd, 0x13, 0x67, 0xd5, 0x78, 0xd7, 0xb2, 0x37, 0x89, 0x72, 0xc7, - 0x05, 0x4f, 0xc2, 0x25, 0x37, 0xbc, 0x07, 0x8f, 0xc2, 0x53, 0x20, 0xef, 0xae, 0xad, 0xd0, 0x36, - 0x34, 0x77, 0xe3, 0x99, 0xef, 0x67, 0x66, 0xd6, 0xbb, 0xe8, 0x28, 0x14, 0x22, 0x1c, 0x82, 0x4b, - 0x68, 0xea, 0xea, 0x30, 0x8b, 0xc6, 0x35, 0x37, 0x81, 0x54, 0x8c, 0x92, 0x00, 0x52, 0x97, 0x50, - 0x1c, 0x26, 0x62, 0x14, 0x63, 0x9f, 0x51, 0x1c, 0x09,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xc1, - 0x08, 0xf8, 0x33, 0xe3, 0xbd, 0x40, 0xeb, 0x3e, 0x49, 0x01, 0x17, 0xed, 0xaf, 0x2d, 0xd0, 0x7e, - 0x25, 0xa3, 0x98, 0x5d, 0x59, 0x63, 0x74, 0xe3, 0x8a, 0x23, 0xb1, 0xd1, 0x76, 0x69, 0xef, 0xdf, - 0xda, 0x2b, 0x67, 0xde, 0xef, 0xa1, 0x0e, 0xd3, 0x99, 0xd9, 0x74, 0x47, 0xf1, 0x5e, 0xf2, 0x51, - 0x74, 0x39, 0xdb, 0xde, 0xf0, 0x2f, 0xa6, 0xac, 0x09, 0xba, 0x33, 0x10, 0x12, 0x86, 0x98, 0x12, - 0x09, 0x38, 0x85, 0x21, 0x04, 0xd9, 0x71, 0x62, 0x39, 0x8d, 0xc1, 0xfe, 0x47, 0x4d, 0xe1, 0xcd, - 0x75, 0xd7, 0x7f, 0x9e, 0x73, 0x9a, 0x09, 0x34, 0x89, 0x84, 0x4e, 0x4e, 0xff, 0x30, 0x8d, 0xa1, - 0xc5, 0xfb, 0xe2, 0xf4, 0xaf, 0xf6, 0xad, 0xc1, 0x95, 0x55, 0xeb, 0x73, 0x09, 0x6d, 0x69, 0x67, - 0x42, 0xc7, 0x84, 0x07, 0x80, 0x7d, 0x21, 0xce, 0x19, 0x0f, 0xf1, 0x84, 0x71, 0x2a, 0x26, 0xf6, - 0xb2, 0x32, 0x3f, 0x5a, 0xc8, 0xbc, 0xae, 0x25, 0x1a, 0x5a, 0xe1, 0xa3, 0x12, 0x30, 0xfe, 0x7a, - 0xbc, 0xab, 0x00, 0xd6, 0x00, 0xdd, 0xd4, 0x1d, 0x0c, 0x81, 0x87, 0x72, 0x80, 0x45, 0x1f, 0xa7, - 0x92, 0x4c, 0xed, 0x15, 0xe5, 0xfc, 0x78, 0x21, 0xe7, 0x37, 0x8a, 0xfa, 0xbe, 0xdf, 0x91, 0x64, - 0x6a, 0x1c, 0x37, 0x06, 0x17, 0x0b, 0x96, 0x8f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6b, 0x9e, 0x57, - 0xe0, 0xfc, 0x65, 0xd5, 0xec, 0xfe, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x5f, 0x51, 0x83, 0x53, - 0x49, 0x06, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_criterion.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_criterion.pb.go deleted file mode 100644 index e1c4a83b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_criterion.pb.go +++ /dev/null @@ -1,890 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/ad_group_criterion.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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.v2.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.v2.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"` - // Serving status of the criterion. - SystemServingStatus enums.CriterionSystemServingStatusEnum_CriterionSystemServingStatus `protobuf:"varint,52,opt,name=system_serving_status,json=systemServingStatus,proto3,enum=google.ads.googleads.v2.enums.CriterionSystemServingStatusEnum_CriterionSystemServingStatus" json:"system_serving_status,omitempty"` - // Approval status of the criterion. - ApprovalStatus enums.AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus `protobuf:"varint,53,opt,name=approval_status,json=approvalStatus,proto3,enum=google.ads.googleads.v2.enums.AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus" json:"approval_status,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.v2.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.v2.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.v2.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.v2.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 list of possible final mobile URLs after all cross-domain redirects. - FinalMobileUrls []*wrappers.StringValue `protobuf:"bytes,51,rep,name=final_mobile_urls,json=finalMobileUrls,proto3" json:"final_mobile_urls,omitempty"` - // URL template for appending params to final URL. - FinalUrlSuffix *wrappers.StringValue `protobuf:"bytes,50,opt,name=final_url_suffix,json=finalUrlSuffix,proto3" json:"final_url_suffix,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_MobileAppCategory - // *AdGroupCriterion_MobileApplication - // *AdGroupCriterion_ListingGroup - // *AdGroupCriterion_AgeRange - // *AdGroupCriterion_Gender - // *AdGroupCriterion_IncomeRange - // *AdGroupCriterion_ParentalStatus - // *AdGroupCriterion_UserList - // *AdGroupCriterion_YoutubeVideo - // *AdGroupCriterion_YoutubeChannel - // *AdGroupCriterion_Topic - // *AdGroupCriterion_UserInterest - // *AdGroupCriterion_Webpage - // *AdGroupCriterion_AppPaymentModel - // *AdGroupCriterion_CustomAffinity - // *AdGroupCriterion_CustomIntent - 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_9b297e97332d2125, []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 (m *AdGroupCriterion) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupCriterion.Merge(m, 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) GetSystemServingStatus() enums.CriterionSystemServingStatusEnum_CriterionSystemServingStatus { - if m != nil { - return m.SystemServingStatus - } - return enums.CriterionSystemServingStatusEnum_UNSPECIFIED -} - -func (m *AdGroupCriterion) GetApprovalStatus() enums.AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus { - if m != nil { - return m.ApprovalStatus - } - return enums.AdGroupCriterionApprovalStatusEnum_UNSPECIFIED -} - -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) GetFinalMobileUrls() []*wrappers.StringValue { - if m != nil { - return m.FinalMobileUrls - } - return nil -} - -func (m *AdGroupCriterion) GetFinalUrlSuffix() *wrappers.StringValue { - if m != nil { - return m.FinalUrlSuffix - } - 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_MobileAppCategory struct { - MobileAppCategory *common.MobileAppCategoryInfo `protobuf:"bytes,29,opt,name=mobile_app_category,json=mobileAppCategory,proto3,oneof"` -} - -type AdGroupCriterion_MobileApplication struct { - MobileApplication *common.MobileApplicationInfo `protobuf:"bytes,30,opt,name=mobile_application,json=mobileApplication,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"` -} - -type AdGroupCriterion_Webpage struct { - Webpage *common.WebpageInfo `protobuf:"bytes,46,opt,name=webpage,proto3,oneof"` -} - -type AdGroupCriterion_AppPaymentModel struct { - AppPaymentModel *common.AppPaymentModelInfo `protobuf:"bytes,47,opt,name=app_payment_model,json=appPaymentModel,proto3,oneof"` -} - -type AdGroupCriterion_CustomAffinity struct { - CustomAffinity *common.CustomAffinityInfo `protobuf:"bytes,48,opt,name=custom_affinity,json=customAffinity,proto3,oneof"` -} - -type AdGroupCriterion_CustomIntent struct { - CustomIntent *common.CustomIntentInfo `protobuf:"bytes,49,opt,name=custom_intent,json=customIntent,proto3,oneof"` -} - -func (*AdGroupCriterion_Keyword) isAdGroupCriterion_Criterion() {} - -func (*AdGroupCriterion_Placement) isAdGroupCriterion_Criterion() {} - -func (*AdGroupCriterion_MobileAppCategory) isAdGroupCriterion_Criterion() {} - -func (*AdGroupCriterion_MobileApplication) 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 (*AdGroupCriterion_Webpage) isAdGroupCriterion_Criterion() {} - -func (*AdGroupCriterion_AppPaymentModel) isAdGroupCriterion_Criterion() {} - -func (*AdGroupCriterion_CustomAffinity) isAdGroupCriterion_Criterion() {} - -func (*AdGroupCriterion_CustomIntent) 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) GetMobileAppCategory() *common.MobileAppCategoryInfo { - if x, ok := m.GetCriterion().(*AdGroupCriterion_MobileAppCategory); ok { - return x.MobileAppCategory - } - return nil -} - -func (m *AdGroupCriterion) GetMobileApplication() *common.MobileApplicationInfo { - if x, ok := m.GetCriterion().(*AdGroupCriterion_MobileApplication); ok { - return x.MobileApplication - } - 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 -} - -func (m *AdGroupCriterion) GetWebpage() *common.WebpageInfo { - if x, ok := m.GetCriterion().(*AdGroupCriterion_Webpage); ok { - return x.Webpage - } - return nil -} - -func (m *AdGroupCriterion) GetAppPaymentModel() *common.AppPaymentModelInfo { - if x, ok := m.GetCriterion().(*AdGroupCriterion_AppPaymentModel); ok { - return x.AppPaymentModel - } - return nil -} - -func (m *AdGroupCriterion) GetCustomAffinity() *common.CustomAffinityInfo { - if x, ok := m.GetCriterion().(*AdGroupCriterion_CustomAffinity); ok { - return x.CustomAffinity - } - return nil -} - -func (m *AdGroupCriterion) GetCustomIntent() *common.CustomIntentInfo { - if x, ok := m.GetCriterion().(*AdGroupCriterion_CustomIntent); ok { - return x.CustomIntent - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AdGroupCriterion) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AdGroupCriterion_Keyword)(nil), - (*AdGroupCriterion_Placement)(nil), - (*AdGroupCriterion_MobileAppCategory)(nil), - (*AdGroupCriterion_MobileApplication)(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), - (*AdGroupCriterion_Webpage)(nil), - (*AdGroupCriterion_AppPaymentModel)(nil), - (*AdGroupCriterion_CustomAffinity)(nil), - (*AdGroupCriterion_CustomIntent)(nil), - } -} - -// 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.v2.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.v2.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.v2.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_9b297e97332d2125, []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 (m *AdGroupCriterion_QualityInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupCriterion_QualityInfo.Merge(m, 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"` - // Estimate of how many clicks per week you might get by changing your - // keyword bid to the value in first_position_cpc_micros. - EstimatedAddClicksAtFirstPositionCpc *wrappers.Int64Value `protobuf:"bytes,4,opt,name=estimated_add_clicks_at_first_position_cpc,json=estimatedAddClicksAtFirstPositionCpc,proto3" json:"estimated_add_clicks_at_first_position_cpc,omitempty"` - // Estimate of how your cost per week might change when changing your - // keyword bid to the value in first_position_cpc_micros. - EstimatedAddCostAtFirstPositionCpc *wrappers.Int64Value `protobuf:"bytes,5,opt,name=estimated_add_cost_at_first_position_cpc,json=estimatedAddCostAtFirstPositionCpc,proto3" json:"estimated_add_cost_at_first_position_cpc,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_9b297e97332d2125, []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 (m *AdGroupCriterion_PositionEstimates) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupCriterion_PositionEstimates.Merge(m, 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 (m *AdGroupCriterion_PositionEstimates) GetEstimatedAddClicksAtFirstPositionCpc() *wrappers.Int64Value { - if m != nil { - return m.EstimatedAddClicksAtFirstPositionCpc - } - return nil -} - -func (m *AdGroupCriterion_PositionEstimates) GetEstimatedAddCostAtFirstPositionCpc() *wrappers.Int64Value { - if m != nil { - return m.EstimatedAddCostAtFirstPositionCpc - } - return nil -} - -func init() { - proto.RegisterType((*AdGroupCriterion)(nil), "google.ads.googleads.v2.resources.AdGroupCriterion") - proto.RegisterType((*AdGroupCriterion_QualityInfo)(nil), "google.ads.googleads.v2.resources.AdGroupCriterion.QualityInfo") - proto.RegisterType((*AdGroupCriterion_PositionEstimates)(nil), "google.ads.googleads.v2.resources.AdGroupCriterion.PositionEstimates") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/ad_group_criterion.proto", fileDescriptor_9b297e97332d2125) -} - -var fileDescriptor_9b297e97332d2125 = []byte{ - // 1705 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x98, 0xdd, 0x72, 0x1b, 0xb7, - 0x15, 0xc7, 0x4b, 0x29, 0x76, 0x2c, 0x48, 0x96, 0x2d, 0xc8, 0x52, 0x11, 0xc5, 0x4d, 0x65, 0x27, - 0x6e, 0x14, 0x27, 0x26, 0x53, 0x3a, 0x4e, 0x3b, 0xcc, 0x34, 0x29, 0xc5, 0xd8, 0xb2, 0x9a, 0x2a, - 0x61, 0x28, 0x59, 0x99, 0x76, 0xd4, 0xd9, 0x82, 0xbb, 0xe0, 0x1a, 0xe3, 0xdd, 0x05, 0x0c, 0x60, - 0xa9, 0xb2, 0x17, 0x9d, 0x69, 0x2f, 0x3a, 0xd3, 0xbb, 0x3e, 0x43, 0x2f, 0xfb, 0x1a, 0xbd, 0xeb, - 0x4d, 0xdf, 0xa3, 0x0f, 0xd0, 0xeb, 0x0e, 0xbe, 0xc8, 0x25, 0x29, 0x72, 0xa9, 0x8c, 0xee, 0x76, - 0xcf, 0xe2, 0xff, 0x3b, 0x07, 0x07, 0x67, 0xb1, 0x07, 0x0b, 0x1a, 0x31, 0x63, 0x71, 0x42, 0x6a, - 0x38, 0x92, 0x35, 0x7b, 0xa9, 0xaf, 0xfa, 0xf5, 0x9a, 0x20, 0x92, 0xe5, 0x22, 0x24, 0xb2, 0x86, - 0xa3, 0x20, 0x16, 0x2c, 0xe7, 0x41, 0x28, 0xa8, 0x22, 0x82, 0xb2, 0xac, 0xca, 0x05, 0x53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7e, - 0xfb, 0x2b, 0xa7, 0x8d, 0x59, 0x82, 0xb3, 0xb8, 0xca, 0x44, 0x5c, 0x8b, 0x49, 0x66, 0xa2, 0xf3, - 0x3f, 0x24, 0x39, 0x95, 0x73, 0x7e, 0x4c, 0x7f, 0x36, 0xbc, 0xfa, 0xc7, 0xd2, 0xf2, 0x41, 0xb3, - 0xf9, 0xcf, 0xa5, 0x7b, 0x07, 0x16, 0xd9, 0x8c, 0x64, 0xd5, 0x5e, 0xea, 0xab, 0xd3, 0x7a, 0xb5, - 0xe3, 0x47, 0xfe, 0xdb, 0x8f, 0x39, 0x6b, 0x46, 0xf2, 0x6c, 0x38, 0xe6, 0xec, 0xb4, 0x7e, 0x36, - 0x1c, 0xf3, 0xdf, 0xa5, 0x07, 0xf6, 0x41, 0xa3, 0xd1, 0x8c, 0x64, 0xa3, 0x31, 0x1c, 0xd5, 0x68, - 0x9c, 0xd6, 0x1b, 0x8d, 0xe1, 0xb8, 0xee, 0x75, 0x13, 0xec, 0xe3, 0xff, 0x07, 0x00, 0x00, 0xff, - 0xff, 0x80, 0xb9, 0xd4, 0x02, 0x44, 0x17, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_criterion_label.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_criterion_label.pb.go deleted file mode 100644 index 0b2ca1d8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_criterion_label.pb.go +++ /dev/null @@ -1,119 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/ad_group_criterion_label.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A relationship between an ad group criterion and a label. -type AdGroupCriterionLabel struct { - // The resource name of the ad group criterion label. - // Ad group criterion label resource names have the form: - // `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The ad group criterion to which the label is attached. - AdGroupCriterion *wrappers.StringValue `protobuf:"bytes,2,opt,name=ad_group_criterion,json=adGroupCriterion,proto3" json:"ad_group_criterion,omitempty"` - // The label assigned to the ad group criterion. - Label *wrappers.StringValue `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdGroupCriterionLabel) Reset() { *m = AdGroupCriterionLabel{} } -func (m *AdGroupCriterionLabel) String() string { return proto.CompactTextString(m) } -func (*AdGroupCriterionLabel) ProtoMessage() {} -func (*AdGroupCriterionLabel) Descriptor() ([]byte, []int) { - return fileDescriptor_5962b94c654a3da4, []int{0} -} - -func (m *AdGroupCriterionLabel) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdGroupCriterionLabel.Unmarshal(m, b) -} -func (m *AdGroupCriterionLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdGroupCriterionLabel.Marshal(b, m, deterministic) -} -func (m *AdGroupCriterionLabel) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupCriterionLabel.Merge(m, src) -} -func (m *AdGroupCriterionLabel) XXX_Size() int { - return xxx_messageInfo_AdGroupCriterionLabel.Size(m) -} -func (m *AdGroupCriterionLabel) XXX_DiscardUnknown() { - xxx_messageInfo_AdGroupCriterionLabel.DiscardUnknown(m) -} - -var xxx_messageInfo_AdGroupCriterionLabel proto.InternalMessageInfo - -func (m *AdGroupCriterionLabel) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *AdGroupCriterionLabel) GetAdGroupCriterion() *wrappers.StringValue { - if m != nil { - return m.AdGroupCriterion - } - return nil -} - -func (m *AdGroupCriterionLabel) GetLabel() *wrappers.StringValue { - if m != nil { - return m.Label - } - return nil -} - -func init() { - proto.RegisterType((*AdGroupCriterionLabel)(nil), "google.ads.googleads.v2.resources.AdGroupCriterionLabel") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/ad_group_criterion_label.proto", fileDescriptor_5962b94c654a3da4) -} - -var fileDescriptor_5962b94c654a3da4 = []byte{ - // 342 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xc1, 0x4a, 0xc3, 0x30, - 0x1c, 0xc6, 0x69, 0x87, 0x82, 0x55, 0x41, 0x0a, 0xc2, 0x18, 0x43, 0x36, 0x65, 0xb0, 0x53, 0x02, - 0xf1, 0x16, 0x2f, 0x76, 0x1e, 0x06, 0x43, 0x64, 0x4c, 0xe8, 0x41, 0x0a, 0x25, 0x5b, 0x62, 0x28, - 0x74, 0x49, 0x48, 0xda, 0xf9, 0x08, 0xbe, 0x87, 0x47, 0x9f, 0xc1, 0x27, 0xf0, 0x51, 0x7c, 0x0a, - 0x69, 0xd3, 0xe4, 0xa0, 0xa2, 0xde, 0x3e, 0x9a, 0xef, 0xff, 0x7d, 0xbf, 0x7f, 0xff, 0xd1, 0x35, - 0x97, 0x92, 0x97, 0x0c, 0x12, 0x6a, 0xa0, 0x95, 0x8d, 0xda, 0x21, 0xa8, 0x99, 0x91, 0xb5, 0xde, - 0x30, 0x03, 0x09, 0xcd, 0xb9, 0x96, 0xb5, 0xca, 0x37, 0xba, 0xa8, 0x98, 0x2e, 0xa4, 0xc8, 0x4b, - 0xb2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, 0x3b, 0x4f, 0x96, 0x50, 0x93, 0x79, 0x4f, - 0x96, 0xa2, 0xcc, 0x7b, 0x3e, 0xc2, 0x89, 0x7d, 0xc0, 0x38, 0xa1, 0x06, 0x63, 0xef, 0xc2, 0x38, - 0x45, 0x18, 0x7b, 0xdf, 0x7a, 0xbf, 0x85, 0xbd, 0xfc, 0x0c, 0x00, 0x00, 0xff, 0xff, 0x91, 0x35, - 0x08, 0x53, 0x74, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_criterion_simulation.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_criterion_simulation.pb.go deleted file mode 100644 index 9965fe7b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_criterion_simulation.pb.go +++ /dev/null @@ -1,213 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/ad_group_criterion_simulation.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// An ad group criterion simulation. Supported combinations of advertising -// channel type, criterion type, simulation type, and simulation modification -// method are detailed below respectively. -// -// DISPLAY KEYWORD CPC_BID UNIFORM -// SEARCH KEYWORD CPC_BID UNIFORM -// SHOPPING LISTING_GROUP CPC_BID UNIFORM -type AdGroupCriterionSimulation struct { - // The resource name of the ad group criterion simulation. - // Ad group criterion simulation resource names have the form: - // - // `customers/{customer_id}/adGroupCriterionSimulations/{ad_group_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // AdGroup ID of the simulation. - AdGroupId *wrappers.Int64Value `protobuf:"bytes,2,opt,name=ad_group_id,json=adGroupId,proto3" json:"ad_group_id,omitempty"` - // Criterion ID of the simulation. - CriterionId *wrappers.Int64Value `protobuf:"bytes,3,opt,name=criterion_id,json=criterionId,proto3" json:"criterion_id,omitempty"` - // The field that the simulation modifies. - Type enums.SimulationTypeEnum_SimulationType `protobuf:"varint,4,opt,name=type,proto3,enum=google.ads.googleads.v2.enums.SimulationTypeEnum_SimulationType" json:"type,omitempty"` - // How the simulation modifies the field. - ModificationMethod enums.SimulationModificationMethodEnum_SimulationModificationMethod `protobuf:"varint,5,opt,name=modification_method,json=modificationMethod,proto3,enum=google.ads.googleads.v2.enums.SimulationModificationMethodEnum_SimulationModificationMethod" json:"modification_method,omitempty"` - // First day on which the simulation is based, in YYYY-MM-DD format. - StartDate *wrappers.StringValue `protobuf:"bytes,6,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` - // Last day on which the simulation is based, in YYYY-MM-DD format. - EndDate *wrappers.StringValue `protobuf:"bytes,7,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` - // List of simulation points. - // - // Types that are valid to be assigned to PointList: - // *AdGroupCriterionSimulation_CpcBidPointList - PointList isAdGroupCriterionSimulation_PointList `protobuf_oneof:"point_list"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdGroupCriterionSimulation) Reset() { *m = AdGroupCriterionSimulation{} } -func (m *AdGroupCriterionSimulation) String() string { return proto.CompactTextString(m) } -func (*AdGroupCriterionSimulation) ProtoMessage() {} -func (*AdGroupCriterionSimulation) Descriptor() ([]byte, []int) { - return fileDescriptor_b92456ddc38bf208, []int{0} -} - -func (m *AdGroupCriterionSimulation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdGroupCriterionSimulation.Unmarshal(m, b) -} -func (m *AdGroupCriterionSimulation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdGroupCriterionSimulation.Marshal(b, m, deterministic) -} -func (m *AdGroupCriterionSimulation) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupCriterionSimulation.Merge(m, src) -} -func (m *AdGroupCriterionSimulation) XXX_Size() int { - return xxx_messageInfo_AdGroupCriterionSimulation.Size(m) -} -func (m *AdGroupCriterionSimulation) XXX_DiscardUnknown() { - xxx_messageInfo_AdGroupCriterionSimulation.DiscardUnknown(m) -} - -var xxx_messageInfo_AdGroupCriterionSimulation proto.InternalMessageInfo - -func (m *AdGroupCriterionSimulation) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *AdGroupCriterionSimulation) GetAdGroupId() *wrappers.Int64Value { - if m != nil { - return m.AdGroupId - } - return nil -} - -func (m *AdGroupCriterionSimulation) GetCriterionId() *wrappers.Int64Value { - if m != nil { - return m.CriterionId - } - return nil -} - -func (m *AdGroupCriterionSimulation) GetType() enums.SimulationTypeEnum_SimulationType { - if m != nil { - return m.Type - } - return enums.SimulationTypeEnum_UNSPECIFIED -} - -func (m *AdGroupCriterionSimulation) GetModificationMethod() enums.SimulationModificationMethodEnum_SimulationModificationMethod { - if m != nil { - return m.ModificationMethod - } - return enums.SimulationModificationMethodEnum_UNSPECIFIED -} - -func (m *AdGroupCriterionSimulation) GetStartDate() *wrappers.StringValue { - if m != nil { - return m.StartDate - } - return nil -} - -func (m *AdGroupCriterionSimulation) GetEndDate() *wrappers.StringValue { - if m != nil { - return m.EndDate - } - return nil -} - -type isAdGroupCriterionSimulation_PointList interface { - isAdGroupCriterionSimulation_PointList() -} - -type AdGroupCriterionSimulation_CpcBidPointList struct { - CpcBidPointList *common.CpcBidSimulationPointList `protobuf:"bytes,8,opt,name=cpc_bid_point_list,json=cpcBidPointList,proto3,oneof"` -} - -func (*AdGroupCriterionSimulation_CpcBidPointList) isAdGroupCriterionSimulation_PointList() {} - -func (m *AdGroupCriterionSimulation) GetPointList() isAdGroupCriterionSimulation_PointList { - if m != nil { - return m.PointList - } - return nil -} - -func (m *AdGroupCriterionSimulation) GetCpcBidPointList() *common.CpcBidSimulationPointList { - if x, ok := m.GetPointList().(*AdGroupCriterionSimulation_CpcBidPointList); ok { - return x.CpcBidPointList - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AdGroupCriterionSimulation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AdGroupCriterionSimulation_CpcBidPointList)(nil), - } -} - -func init() { - proto.RegisterType((*AdGroupCriterionSimulation)(nil), "google.ads.googleads.v2.resources.AdGroupCriterionSimulation") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/ad_group_criterion_simulation.proto", fileDescriptor_b92456ddc38bf208) -} - -var fileDescriptor_b92456ddc38bf208 = []byte{ - // 556 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xdd, 0x6e, 0xd3, 0x3e, - 0x14, 0xff, 0xa7, 0xfb, 0xf6, 0xf6, 0x07, 0x29, 0xdc, 0x44, 0x65, 0x82, 0x0e, 0x34, 0xa9, 0x57, - 0x8e, 0x94, 0x21, 0x10, 0xa9, 0x84, 0x48, 0xc7, 0x54, 0x8a, 0x18, 0xaa, 0xb2, 0xa9, 0x17, 0xa8, - 0x52, 0xe4, 0xc6, 0x5e, 0x66, 0xa9, 0xb1, 0x2d, 0xdb, 0x19, 0xda, 0x3b, 0xc0, 0x0d, 0x8f, 0xc0, - 0x25, 0x8f, 0xc2, 0xa3, 0xf0, 0x14, 0x28, 0x4e, 0xe2, 0x4e, 0x2d, 0x65, 0xbd, 0x3b, 0x39,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 0x70, 0x9c, 0xf2, 0x1c, - 0xde, 0xfb, 0x4c, 0xfb, 0x4f, 0x57, 0xff, 0x76, 0x47, 0xe5, 0x6a, 0x23, 0xe7, 0xf3, 0x87, 0x5a, - 0x25, 0xe3, 0x33, 0xc4, 0x32, 0xc8, 0x65, 0xe6, 0x67, 0x84, 0x99, 0xc5, 0x9b, 0x47, 0x26, 0xa8, - 0xfa, 0xc7, 0x5f, 0x4a, 0xcf, 0x56, 0x3f, 0x5a, 0x1b, 0x83, 0x28, 0xfa, 0xd9, 0x3a, 0x1a, 0x54, - 0x92, 0x11, 0x56, 0xb0, 0x2a, 0xcb, 0x6a, 0x1c, 0xc0, 0xb8, 0x41, 0xfe, 0x6a, 0x30, 0x93, 0x08, - 0xab, 0x89, 0xc5, 0x4c, 0xc6, 0xc1, 0xc4, 0x62, 0x7e, 0xb7, 0x8e, 0xab, 0x41, 0x18, 0x46, 0x58, - 0x85, 0xa1, 0x45, 0x85, 0xe1, 0x38, 0x08, 0x43, 0x8b, 0x9b, 0x6e, 0x9b, 0xc3, 0x9e, 0xfc, 0x09, - 0x00, 0x00, 0xff, 0xff, 0xfe, 0xd0, 0x0e, 0xc6, 0xfe, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_extension_setting.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_extension_setting.pb.go deleted file mode 100644 index e449c2c7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_extension_setting.pb.go +++ /dev/null @@ -1,152 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/ad_group_extension_setting.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// An ad group extension setting. -type AdGroupExtensionSetting struct { - // The resource name of the ad group extension setting. - // AdGroupExtensionSetting resource names have the form: - // - // `customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The extension type of the ad group extension setting. - ExtensionType enums.ExtensionTypeEnum_ExtensionType `protobuf:"varint,2,opt,name=extension_type,json=extensionType,proto3,enum=google.ads.googleads.v2.enums.ExtensionTypeEnum_ExtensionType" json:"extension_type,omitempty"` - // The resource name of the ad group. The linked extension feed items will - // serve under this ad group. - // AdGroup resource names have the form: - // - // `customers/{customer_id}/adGroups/{ad_group_id}` - AdGroup *wrappers.StringValue `protobuf:"bytes,3,opt,name=ad_group,json=adGroup,proto3" json:"ad_group,omitempty"` - // The resource names of the extension feed items to serve under the ad group. - // ExtensionFeedItem resource names have the form: - // - // `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - ExtensionFeedItems []*wrappers.StringValue `protobuf:"bytes,4,rep,name=extension_feed_items,json=extensionFeedItems,proto3" json:"extension_feed_items,omitempty"` - // The device for which the extensions will serve. Optional. - Device enums.ExtensionSettingDeviceEnum_ExtensionSettingDevice `protobuf:"varint,5,opt,name=device,proto3,enum=google.ads.googleads.v2.enums.ExtensionSettingDeviceEnum_ExtensionSettingDevice" json:"device,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdGroupExtensionSetting) Reset() { *m = AdGroupExtensionSetting{} } -func (m *AdGroupExtensionSetting) String() string { return proto.CompactTextString(m) } -func (*AdGroupExtensionSetting) ProtoMessage() {} -func (*AdGroupExtensionSetting) Descriptor() ([]byte, []int) { - return fileDescriptor_aae21be15f4744e1, []int{0} -} - -func (m *AdGroupExtensionSetting) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdGroupExtensionSetting.Unmarshal(m, b) -} -func (m *AdGroupExtensionSetting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdGroupExtensionSetting.Marshal(b, m, deterministic) -} -func (m *AdGroupExtensionSetting) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupExtensionSetting.Merge(m, src) -} -func (m *AdGroupExtensionSetting) XXX_Size() int { - return xxx_messageInfo_AdGroupExtensionSetting.Size(m) -} -func (m *AdGroupExtensionSetting) XXX_DiscardUnknown() { - xxx_messageInfo_AdGroupExtensionSetting.DiscardUnknown(m) -} - -var xxx_messageInfo_AdGroupExtensionSetting proto.InternalMessageInfo - -func (m *AdGroupExtensionSetting) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *AdGroupExtensionSetting) GetExtensionType() enums.ExtensionTypeEnum_ExtensionType { - if m != nil { - return m.ExtensionType - } - return enums.ExtensionTypeEnum_UNSPECIFIED -} - -func (m *AdGroupExtensionSetting) GetAdGroup() *wrappers.StringValue { - if m != nil { - return m.AdGroup - } - return nil -} - -func (m *AdGroupExtensionSetting) GetExtensionFeedItems() []*wrappers.StringValue { - if m != nil { - return m.ExtensionFeedItems - } - return nil -} - -func (m *AdGroupExtensionSetting) GetDevice() enums.ExtensionSettingDeviceEnum_ExtensionSettingDevice { - if m != nil { - return m.Device - } - return enums.ExtensionSettingDeviceEnum_UNSPECIFIED -} - -func init() { - proto.RegisterType((*AdGroupExtensionSetting)(nil), "google.ads.googleads.v2.resources.AdGroupExtensionSetting") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/ad_group_extension_setting.proto", fileDescriptor_aae21be15f4744e1) -} - -var fileDescriptor_aae21be15f4744e1 = []byte{ - // 448 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0xd1, 0x8a, 0xd4, 0x30, - 0x14, 0xa5, 0x1d, 0x5d, 0xb5, 0xba, 0xfb, 0x50, 0x04, 0xcb, 0x32, 0xc8, 0xac, 0xb2, 0x30, 0x4f, - 0x29, 0xd4, 0x07, 0xa1, 0x8a, 0xd0, 0xc1, 0x75, 0xd0, 0x87, 0x65, 0xe8, 0xca, 0x3c, 0xc8, 0x40, - 0xc9, 0x4e, 0xee, 0xc6, 0xc0, 0x34, 0x09, 0x49, 0x3a, 0xba, 0x9f, 0xe0, 0x1f, 0xf8, 0xec, 0xa3, - 0x9f, 0xe2, 0xa7, 0xf8, 0x15, 0xd2, 0xa6, 0x89, 0x16, 0x99, 0xdd, 0x79, 0x3b, 0xcd, 0x3d, 0xe7, - 0xdc, 0x7b, 0x72, 0xd3, 0x68, 0x46, 0x85, 0xa0, 0x1b, 0x48, 0x31, 0xd1, 0xa9, 0x85, 0x2d, 0xda, - 0x66, 0xa9, 0x02, 0x2d, 0x1a, 0xb5, 0x06, 0x9d, 0x62, 0x52, 0x51, 0x25, 0x1a, 0x59, 0xc1, 0x57, - 0x03, 0x5c, 0x33, 0xc1, 0x2b, 0x0d, 0xc6, 0x30, 0x4e, 0x91, 0x54, 0xc2, 0x88, 0xf8, 0xc4, 0x0a, - 0x11, 0x26, 0x1a, 0x79, 0x0f, 0xb4, 0xcd, 0x90, 0xf7, 0x38, 0x7e, 0xbd, 0xab, 0x0d, 0xf0, 0xa6, - 0xd6, 0xe9, 0x7f, 0xce, 0x15, 0x81, 0x2d, 0x5b, 0x83, 0x6d, 0x70, 0x9c, 0xed, 0xab, 0x36, 0xd7, - 0xd2, 0x69, 0x9e, 0xf6, 0x9a, 0xee, 0xeb, 0xb2, 0xb9, 0x4a, 0xbf, 0x28, 0x2c, 0x25, 0x28, 0xdd, - 0xd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0x2d, 0xa8, 0xd8, 0x60, 0x4e, 0x91, 0x50, 0x34, 0xa5, 0xc0, 0xbb, - 0xc8, 0xee, 0x99, 0x49, 0xa6, 0x6f, 0xf8, 0x35, 0x5e, 0x79, 0xf4, 0x23, 0x1c, 0xcd, 0x8b, 0xe2, - 0x67, 0x78, 0x32, 0xb7, 0x96, 0x05, 0xd1, 0xc8, 0xc2, 0x16, 0x2d, 0x33, 0x54, 0x3a, 0xe6, 0x2f, - 0xc7, 0x59, 0x15, 0x44, 0xaf, 0x3c, 0x67, 0xb5, 0xcc, 0x56, 0x9e, 0xf3, 0x3b, 0x3c, 0xb5, 0x85, - 0x3c, 0x2f, 0x88, 0xce, 0x73, 0xcf, 0xca, 0xf3, 0x65, 0x96, 0xe7, 0x9e, 0x77, 0x79, 0xd0, 0x0d, - 0xfb, 0xe2, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x86, 0x6f, 0x78, 0xea, 0xc6, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_feed.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_feed.pb.go deleted file mode 100644 index fd2e915f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_feed.pb.go +++ /dev/null @@ -1,162 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/ad_group_feed.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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.v2.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.v2.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_8abb159f141fd625, []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 (m *AdGroupFeed) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupFeed.Merge(m, 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.v2.resources.AdGroupFeed") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/ad_group_feed.proto", fileDescriptor_8abb159f141fd625) -} - -var fileDescriptor_8abb159f141fd625 = []byte{ - // 487 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, 0x75, 0xaa, 0x65, 0x9b, 0xab, 0x50, 0x8a, 0x6c, 0x95, 0xc2, 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x16, 0x63, 0xb2, 0xc0, 0x82, - 0x41, 0xa9, 0x19, 0x62, 0x54, 0x34, 0xde, 0xb8, 0x5b, 0x54, 0xb9, 0xb9, 0xe6, 0x13, 0x7b, 0xd5, - 0x45, 0xdf, 0x06, 0xc3, 0x79, 0x1c, 0x7f, 0x1f, 0x1c, 0xcc, 0x6d, 0xc9, 0x98, 0x18, 0x68, 0xc3, - 0x3a, 0x5a, 0x86, 0x30, 0x71, 0xca, 0x9f, 0x4e, 0xb3, 0x8a, 0x89, 0x59, 0x75, 0x9a, 0xd5, 0x32, - 0x5c, 0x75, 0x9a, 0x5f, 0x83, 0x43, 0xfb, 0x10, 0x45, 0x31, 0x31, 0x51, 0xd4, 0xa9, 0xa2, 0x68, - 0x19, 0x46, 0x51, 0xa7, 0x3b, 0x1d, 0x35, 0xcd, 0x3e, 0xfd, 0x13, 0x00, 0x00, 0xff, 0xff, 0x54, - 0x91, 0x72, 0x74, 0x0e, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_label.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_label.pb.go deleted file mode 100644 index df55ec57..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_label.pb.go +++ /dev/null @@ -1,118 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/ad_group_label.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A relationship between an ad group and a label. -type AdGroupLabel struct { - // The resource name of the ad group label. - // Ad group label resource names have the form: - // `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The ad group to which the label is attached. - AdGroup *wrappers.StringValue `protobuf:"bytes,2,opt,name=ad_group,json=adGroup,proto3" json:"ad_group,omitempty"` - // The label assigned to the ad group. - Label *wrappers.StringValue `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdGroupLabel) Reset() { *m = AdGroupLabel{} } -func (m *AdGroupLabel) String() string { return proto.CompactTextString(m) } -func (*AdGroupLabel) ProtoMessage() {} -func (*AdGroupLabel) Descriptor() ([]byte, []int) { - return fileDescriptor_4c126c30fd91d977, []int{0} -} - -func (m *AdGroupLabel) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdGroupLabel.Unmarshal(m, b) -} -func (m *AdGroupLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdGroupLabel.Marshal(b, m, deterministic) -} -func (m *AdGroupLabel) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupLabel.Merge(m, src) -} -func (m *AdGroupLabel) XXX_Size() int { - return xxx_messageInfo_AdGroupLabel.Size(m) -} -func (m *AdGroupLabel) XXX_DiscardUnknown() { - xxx_messageInfo_AdGroupLabel.DiscardUnknown(m) -} - -var xxx_messageInfo_AdGroupLabel proto.InternalMessageInfo - -func (m *AdGroupLabel) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *AdGroupLabel) GetAdGroup() *wrappers.StringValue { - if m != nil { - return m.AdGroup - } - return nil -} - -func (m *AdGroupLabel) GetLabel() *wrappers.StringValue { - if m != nil { - return m.Label - } - return nil -} - -func init() { - proto.RegisterType((*AdGroupLabel)(nil), "google.ads.googleads.v2.resources.AdGroupLabel") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/ad_group_label.proto", fileDescriptor_4c126c30fd91d977) -} - -var fileDescriptor_4c126c30fd91d977 = []byte{ - // 328 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0x4f, 0x4b, 0xf3, 0x30, - 0x1c, 0xc7, 0x69, 0xc7, 0xf3, 0xa8, 0x75, 0x1e, 0xec, 0x69, 0x8c, 0x21, 0x9b, 0x32, 0xd8, 0x29, - 0x81, 0x08, 0x0a, 0xf1, 0xd4, 0x5d, 0x06, 0x22, 0x32, 0x26, 0xf4, 0x20, 0x85, 0xf1, 0xdb, 0x12, - 0x43, 0xa1, 0x4b, 0x4a, 0xd2, 0xce, 0xb7, 0x23, 0x1e, 0x7d, 0x29, 0xbe, 0x14, 0x5f, 0x84, 0x48, - 0x9b, 0x26, 0x78, 0x52, 0x6f, 0x5f, 0x9a, 0xcf, 0xf7, 0x4f, 0x9a, 0xe8, 0x4a, 0x28, 0x25, 0x0a, - 0x8e, 0x81, 0x19, 0x6c, 0x65, 0xa3, 0xf6, 0x04, 0x6b, 0x6e, 0x54, 0xad, 0xb7, 0xdc, 0x60, 0x60, - 0x6b, 0xa1, 0x55, 0x5d, 0xae, 0x0b, 0xd8, 0xf0, 0x02, 0x95, 0x5a, 0x55, 0x2a, 0x9e, 0x58, 0x18, - 0x01, 0x33, 0xc8, 0xfb, 0xd0, 0x9e, 0x20, 0xef, 0x1b, 0x9e, 0x75, 0xd1, 0xad, 0x61, 0x53, 0x3f, - 0xe1, 0x67, 0x0d, 0x65, 0xc9, 0xb5, 0xb1, 0x11, 0xc3, 0x91, 0xab, 0x2e, 0x73, 0x0c, 0x52, 0xaa, - 0x0a, 0xaa, 0x5c, 0xc9, 0xee, 0xf4, 0xfc, 0x25, 0x88, 0xfa, 0x09, 0x5b, 0x34, 0xc5, 0x77, 0x4d, - 0x6f, 0x7c, 0x11, 0x9d, 0xb8, 0xec, 0xb5, 0x84, 0x1d, 0x1f, 0x04, 0xe3, 0x60, 0x76, 0xb4, 0xea, - 0xbb, 0x8f, 0xf7, 0xb0, 0xe3, 0xf1, 0x75, 0x74, 0xe8, 0xe6, 0x0e, 0xc2, 0x71, 0x30, 0x3b, 0x26, - 0xa3, 0x6e, 0x1e, 0x72, 0x33, 0xd0, 0x43, 0xa5, 0x73, 0x29, 0x52, 0x28, 0x6a, 0xbe, 0x3a, 0x00, - 0x5b, 0x11, 0x93, 0xe8, 0x5f, 0x7b, 0xbd, 0x41, 0xef, 0x0f, 0x2e, 0x8b, 0xce, 0x3f, 0x83, 0x68, - 0xba, 0x55, 0x3b, 0xf4, 0xeb, 0xaf, 0x98, 0x9f, 0x7e, 0xbf, 0xc9, 0xb2, 0x89, 0x5c, 0x06, 0x8f, - 0xb7, 0x9d, 0x4f, 0xa8, 0x02, 0xa4, 0x40, 0x4a, 0x0b, 0x2c, 0xb8, 0x6c, 0x0b, 0xdd, 0x53, 0x94, - 0xb9, 0xf9, 0xe1, 0x65, 0x6e, 0xbc, 0x7a, 0x0d, 0x7b, 0x8b, 0x24, 0x79, 0x0b, 0x27, 0x0b, 0x1b, - 0x99, 0x30, 0x83, 0xac, 0x6c, 0x54, 0x4a, 0xd0, 0xca, 0x91, 0xef, 0x8e, 0xc9, 0x12, 0x66, 0x32, - 0xcf, 0x64, 0x29, 0xc9, 0x3c, 0xf3, 0x11, 0x4e, 0xed, 0x01, 0xa5, 0x09, 0x33, 0x94, 0x7a, 0x8a, - 0xd2, 0x94, 0x50, 0xea, 0xb9, 0xcd, 0xff, 0x76, 0xec, 0xe5, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff, - 0x42, 0x43, 0x31, 0x9a, 0x45, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_simulation.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_simulation.pb.go deleted file mode 100644 index a5e78f55..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_group_simulation.pb.go +++ /dev/null @@ -1,240 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/ad_group_simulation.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// An ad group simulation. Supported combinations of advertising -// channel type, simulation type and simulation modification method is -// detailed below respectively. -// -// SEARCH CPC_BID DEFAULT -// SEARCH CPC_BID UNIFORM -// SEARCH TARGET_CPA UNIFORM -// DISPLAY CPC_BID DEFAULT -// DISPLAY CPC_BID UNIFORM -// DISPLAY TARGET_CPA UNIFORM -// VIDEO CPV_BID DEFAULT -// VIDEO CPV_BID UNIFORM -type AdGroupSimulation struct { - // The resource name of the ad group simulation. - // Ad group simulation resource names have the form: - // - // `customers/{customer_id}/adGroupSimulations/{ad_group_id}~{type}~{modification_method}~{start_date}~{end_date}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // Ad group id of the simulation. - AdGroupId *wrappers.Int64Value `protobuf:"bytes,2,opt,name=ad_group_id,json=adGroupId,proto3" json:"ad_group_id,omitempty"` - // The field that the simulation modifies. - Type enums.SimulationTypeEnum_SimulationType `protobuf:"varint,3,opt,name=type,proto3,enum=google.ads.googleads.v2.enums.SimulationTypeEnum_SimulationType" json:"type,omitempty"` - // How the simulation modifies the field. - ModificationMethod enums.SimulationModificationMethodEnum_SimulationModificationMethod `protobuf:"varint,4,opt,name=modification_method,json=modificationMethod,proto3,enum=google.ads.googleads.v2.enums.SimulationModificationMethodEnum_SimulationModificationMethod" json:"modification_method,omitempty"` - // First day on which the simulation is based, in YYYY-MM-DD format. - StartDate *wrappers.StringValue `protobuf:"bytes,5,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` - // Last day on which the simulation is based, in YYYY-MM-DD format - EndDate *wrappers.StringValue `protobuf:"bytes,6,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` - // List of simulation points. - // - // Types that are valid to be assigned to PointList: - // *AdGroupSimulation_CpcBidPointList - // *AdGroupSimulation_CpvBidPointList - // *AdGroupSimulation_TargetCpaPointList - PointList isAdGroupSimulation_PointList `protobuf_oneof:"point_list"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdGroupSimulation) Reset() { *m = AdGroupSimulation{} } -func (m *AdGroupSimulation) String() string { return proto.CompactTextString(m) } -func (*AdGroupSimulation) ProtoMessage() {} -func (*AdGroupSimulation) Descriptor() ([]byte, []int) { - return fileDescriptor_b65db7c3498c5238, []int{0} -} - -func (m *AdGroupSimulation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdGroupSimulation.Unmarshal(m, b) -} -func (m *AdGroupSimulation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdGroupSimulation.Marshal(b, m, deterministic) -} -func (m *AdGroupSimulation) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupSimulation.Merge(m, src) -} -func (m *AdGroupSimulation) XXX_Size() int { - return xxx_messageInfo_AdGroupSimulation.Size(m) -} -func (m *AdGroupSimulation) XXX_DiscardUnknown() { - xxx_messageInfo_AdGroupSimulation.DiscardUnknown(m) -} - -var xxx_messageInfo_AdGroupSimulation proto.InternalMessageInfo - -func (m *AdGroupSimulation) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *AdGroupSimulation) GetAdGroupId() *wrappers.Int64Value { - if m != nil { - return m.AdGroupId - } - return nil -} - -func (m *AdGroupSimulation) GetType() enums.SimulationTypeEnum_SimulationType { - if m != nil { - return m.Type - } - return enums.SimulationTypeEnum_UNSPECIFIED -} - -func (m *AdGroupSimulation) GetModificationMethod() enums.SimulationModificationMethodEnum_SimulationModificationMethod { - if m != nil { - return m.ModificationMethod - } - return enums.SimulationModificationMethodEnum_UNSPECIFIED -} - -func (m *AdGroupSimulation) GetStartDate() *wrappers.StringValue { - if m != nil { - return m.StartDate - } - return nil -} - -func (m *AdGroupSimulation) GetEndDate() *wrappers.StringValue { - if m != nil { - return m.EndDate - } - return nil -} - -type isAdGroupSimulation_PointList interface { - isAdGroupSimulation_PointList() -} - -type AdGroupSimulation_CpcBidPointList struct { - CpcBidPointList *common.CpcBidSimulationPointList `protobuf:"bytes,8,opt,name=cpc_bid_point_list,json=cpcBidPointList,proto3,oneof"` -} - -type AdGroupSimulation_CpvBidPointList struct { - CpvBidPointList *common.CpvBidSimulationPointList `protobuf:"bytes,10,opt,name=cpv_bid_point_list,json=cpvBidPointList,proto3,oneof"` -} - -type AdGroupSimulation_TargetCpaPointList struct { - TargetCpaPointList *common.TargetCpaSimulationPointList `protobuf:"bytes,9,opt,name=target_cpa_point_list,json=targetCpaPointList,proto3,oneof"` -} - -func (*AdGroupSimulation_CpcBidPointList) isAdGroupSimulation_PointList() {} - -func (*AdGroupSimulation_CpvBidPointList) isAdGroupSimulation_PointList() {} - -func (*AdGroupSimulation_TargetCpaPointList) isAdGroupSimulation_PointList() {} - -func (m *AdGroupSimulation) GetPointList() isAdGroupSimulation_PointList { - if m != nil { - return m.PointList - } - return nil -} - -func (m *AdGroupSimulation) GetCpcBidPointList() *common.CpcBidSimulationPointList { - if x, ok := m.GetPointList().(*AdGroupSimulation_CpcBidPointList); ok { - return x.CpcBidPointList - } - return nil -} - -func (m *AdGroupSimulation) GetCpvBidPointList() *common.CpvBidSimulationPointList { - if x, ok := m.GetPointList().(*AdGroupSimulation_CpvBidPointList); ok { - return x.CpvBidPointList - } - return nil -} - -func (m *AdGroupSimulation) GetTargetCpaPointList() *common.TargetCpaSimulationPointList { - if x, ok := m.GetPointList().(*AdGroupSimulation_TargetCpaPointList); ok { - return x.TargetCpaPointList - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AdGroupSimulation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AdGroupSimulation_CpcBidPointList)(nil), - (*AdGroupSimulation_CpvBidPointList)(nil), - (*AdGroupSimulation_TargetCpaPointList)(nil), - } -} - -func init() { - proto.RegisterType((*AdGroupSimulation)(nil), "google.ads.googleads.v2.resources.AdGroupSimulation") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/ad_group_simulation.proto", fileDescriptor_b65db7c3498c5238) -} - -var fileDescriptor_b65db7c3498c5238 = []byte{ - // 574 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xcf, 0x6e, 0xd3, 0x30, - 0x18, 0x27, 0xdd, 0x18, 0xab, 0x37, 0x40, 0x04, 0x81, 0xa2, 0x31, 0xa1, 0x0e, 0x34, 0xa9, 0x27, - 0x47, 0xca, 0x10, 0x88, 0x94, 0x03, 0xe9, 0x40, 0x65, 0x88, 0xa1, 0x2a, 0xab, 0x7a, 0x40, 0x95, - 0x22, 0x37, 0xf6, 0x32, 0x4b, 0x8d, 0x6d, 0x62, 0xa7, 0x68, 0x67, 0xce, 0xbc, 0x04, 0x07, 0x0e, - 0x3c, 0x0a, 0x8f, 0xc2, 0x53, 0xa0, 0x38, 0x89, 0x5b, 0xda, 0x75, 0xeb, 0xed, 0xcb, 0xf7, 0xfd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 0x3e, 0x16, 0xe8, - 0x6a, 0x3f, 0x5b, 0xd5, 0x73, 0xd3, 0xed, 0xee, 0x02, 0x30, 0xf3, 0xe9, 0x7e, 0x6f, 0x80, 0xc3, - 0x98, 0xa7, 0xf0, 0xc6, 0xa7, 0xa3, 0xfb, 0x78, 0xe9, 0x3e, 0xf5, 0x8b, 0xe3, 0xea, 0x5b, 0x5f, - 0x3e, 0x56, 0xe4, 0x84, 0x4f, 0x10, 0x4b, 0x20, 0xcf, 0x12, 0x37, 0x21, 0x4c, 0x1f, 0x66, 0x7d, - 0xdf, 0x05, 0x95, 0xd7, 0xbc, 0x69, 0x1d, 0x53, 0xfd, 0x6c, 0x6c, 0xf4, 0x82, 0xe0, 0x77, 0xe3, - 0xa0, 0x57, 0x4a, 0x06, 0x58, 0xc2, 0xb2, 0x2c, 0xaa, 0xa1, 0x07, 0xc3, 0x1a, 0xf9, 0xa7, 0xc6, - 0x8c, 0x02, 0x2c, 0x47, 0x06, 0x33, 0x1a, 0x7a, 0x23, 0x83, 0xf9, 0xdb, 0x38, 0x2c, 0x07, 0xbe, - 0x1f, 0x60, 0xe9, 0xfb, 0x06, 0xe5, 0xfb, 0x43, 0xcf, 0xf7, 0x0d, 0x6e, 0xbc, 0xa5, 0x17, 0x7b, - 0xf4, 0x2f, 0x00, 0x00, 0xff, 0xff, 0xdb, 0x6c, 0xe2, 0xae, 0x7f, 0x05, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_parameter.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_parameter.pb.go deleted file mode 100644 index 0dd44c09..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_parameter.pb.go +++ /dev/null @@ -1,148 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/ad_parameter.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// An ad parameter that is used to update numeric values (such as prices or -// inventory levels) in any text line of an ad (including URLs). There can -// be a maximum of two AdParameters per ad group criterion. (One with -// parameter_index = 1 and one with parameter_index = 2.) -// In the ad the parameters are referenced by a placeholder of the form -// "{param#:value}". E.g. "{param1:$17}" -type AdParameter struct { - // The resource name of the ad parameter. - // Ad parameter resource names have the form: - // - // `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The ad group criterion that this ad parameter belongs to. - AdGroupCriterion *wrappers.StringValue `protobuf:"bytes,2,opt,name=ad_group_criterion,json=adGroupCriterion,proto3" json:"ad_group_criterion,omitempty"` - // The unique index of this ad parameter. Must be either 1 or 2. - ParameterIndex *wrappers.Int64Value `protobuf:"bytes,3,opt,name=parameter_index,json=parameterIndex,proto3" json:"parameter_index,omitempty"` - // Numeric value to insert into the ad text. The following restrictions - // apply: - // - Can use comma or period as a separator, with an optional period or - // comma (respectively) for fractional values. For example, 1,000,000.00 - // and 2.000.000,10 are valid. - // - Can be prepended or appended with a currency symbol. For example, - // $99.99 is valid. - // - Can be prepended or appended with a currency code. For example, 99.99USD - // and EUR200 are valid. - // - Can use '%'. For example, 1.0% and 1,0% are valid. - // - Can use plus or minus. For example, -10.99 and 25+ are valid. - // - Can use '/' between two numbers. For example 4/1 and 0.95/0.45 are - // valid. - InsertionText *wrappers.StringValue `protobuf:"bytes,4,opt,name=insertion_text,json=insertionText,proto3" json:"insertion_text,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdParameter) Reset() { *m = AdParameter{} } -func (m *AdParameter) String() string { return proto.CompactTextString(m) } -func (*AdParameter) ProtoMessage() {} -func (*AdParameter) Descriptor() ([]byte, []int) { - return fileDescriptor_ba62669d0fe2a117, []int{0} -} - -func (m *AdParameter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdParameter.Unmarshal(m, b) -} -func (m *AdParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdParameter.Marshal(b, m, deterministic) -} -func (m *AdParameter) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdParameter.Merge(m, src) -} -func (m *AdParameter) XXX_Size() int { - return xxx_messageInfo_AdParameter.Size(m) -} -func (m *AdParameter) XXX_DiscardUnknown() { - xxx_messageInfo_AdParameter.DiscardUnknown(m) -} - -var xxx_messageInfo_AdParameter proto.InternalMessageInfo - -func (m *AdParameter) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *AdParameter) GetAdGroupCriterion() *wrappers.StringValue { - if m != nil { - return m.AdGroupCriterion - } - return nil -} - -func (m *AdParameter) GetParameterIndex() *wrappers.Int64Value { - if m != nil { - return m.ParameterIndex - } - return nil -} - -func (m *AdParameter) GetInsertionText() *wrappers.StringValue { - if m != nil { - return m.InsertionText - } - return nil -} - -func init() { - proto.RegisterType((*AdParameter)(nil), "google.ads.googleads.v2.resources.AdParameter") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/ad_parameter.proto", fileDescriptor_ba62669d0fe2a117) -} - -var fileDescriptor_ba62669d0fe2a117 = []byte{ - // 384 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xdf, 0x6a, 0xdb, 0x30, - 0x18, 0xc5, 0xb1, 0x33, 0x06, 0x73, 0x96, 0x2c, 0xf8, 0xca, 0x64, 0x61, 0x24, 0x1b, 0x81, 0x5c, - 0xc9, 0xe0, 0x85, 0x5d, 0x68, 0x57, 0x4e, 0x06, 0x21, 0xb9, 0x18, 0x21, 0x2d, 0xbe, 0x28, 0x06, - 0xa3, 0x44, 0xaa, 0x10, 0xc4, 0x92, 0x91, 0xe4, 0x34, 0xaf, 0xd0, 0xd7, 0xe8, 0x65, 0x1f, 0xa5, - 0x8f, 0xd2, 0x77, 0x28, 0x14, 0xff, 0x91, 0x28, 0x14, 0xda, 0xde, 0x1d, 0xa4, 0xf3, 0x3b, 0xdf, - 0x91, 0x3e, 0x6f, 0x4e, 0x85, 0xa0, 0x47, 0x12, 0x22, 0xac, 0xc2, 0x46, 0x56, 0xea, 0x14, 0x85, - 0x92, 0x28, 0x51, 0xca, 0x03, 0x51, 0x21, 0xc2, 0x59, 0x81, 0x24, 0xca, 0x89, 0x26, 0x12, 0x14, - 0x52, 0x68, 0xe1, 0x4f, 0x1a, 0x2b, 0x40, 0x58, 0x01, 0x4b, 0x81, 0x53, 0x04, 0x2c, 0x35, 0xfc, - 0xd1, 0x06, 0xd7, 0xc0, 0xbe, 0xbc, 0x0e, 0x6f, 0x24, 0x2a, 0x0a, 0x22, 0x55, 0x13, 0x31, 0x1c, - 0x99, 0xc1, 0x05, 0x0b, 0x11, 0xe7, 0x42, 0x23, 0xcd, 0x04, 0x6f, 0x6f, 0x7f, 0xde, 0xba, 0x5e, - 0x37, 0xc6, 0x5b, 0x33, 0xd6, 0xff, 0xe5, 0xf5, 0x4c, 0x74, 0xc6, 0x51, 0x4e, 0x02, 0x67, 0xec, - 0xcc, 0xbe, 0xec, 0xbe, 0x9a, 0xc3, 0xff, 0x28, 0x27, 0xfe, 0xc6, 0xf3, 0x11, 0xce, 0xa8, 0x14, - 0x65, 0x91, 0x1d, 0x24, 0xd3, 0x44, 0x32, 0xc1, 0x03, 0x77, 0xec, 0xcc, 0xba, 0xd1, 0xa8, 0xed, - 0x09, 0x4c, 0x1f, 0x70, 0xa1, 0x25, 0xe3, 0x34, 0x41, 0xc7, 0x92, 0xec, 0x06, 0x08, 0xaf, 0x2a, - 0x6c, 0x69, 0x28, 0xff, 0x9f, 0xf7, 0xcd, 0x3e, 0x3a, 0x63, 0x1c, 0x93, 0x73, 0xd0, 0xa9, 0x83, - 0xbe, 0xbf, 0x0a, 0x5a, 0x73, 0xfd, 0x67, 0xde, 0xe4, 0xf4, 0x2d, 0xb3, 0xae, 0x10, 0x7f, 0xe9, - 0xf5, 0x19, 0x57, 0x44, 0x56, 0x4f, 0xcb, 0x34, 0x39, 0xeb, 0xe0, 0xd3, 0x07, 0xda, 0xf4, 0x2c, - 0x73, 0x49, 0xce, 0x7a, 0xf1, 0xe4, 0x78, 0xd3, 0x83, 0xc8, 0xc1, 0xbb, 0x7f, 0xbe, 0x18, 0xbc, - 0xf8, 0xb2, 0x6d, 0x95, 0xbc, 0x75, 0xae, 0x36, 0x2d, 0x46, 0xc5, 0x11, 0x71, 0x0a, 0x84, 0xa4, - 0x21, 0x25, 0xbc, 0x9e, 0x6b, 0x16, 0x5e, 0x30, 0xf5, 0xc6, 0xfe, 0xff, 0x5a, 0x75, 0xe7, 0x76, - 0x56, 0x71, 0x7c, 0xef, 0x4e, 0x56, 0x4d, 0x64, 0x8c, 0x15, 0x68, 0x64, 0xa5, 0x92, 0x08, 0xec, - 0x8c, 0xf3, 0xc1, 0x78, 0xd2, 0x18, 0xab, 0xd4, 0x7a, 0xd2, 0x24, 0x4a, 0xad, 0xe7, 0xd1, 0x9d, - 0x36, 0x17, 0x10, 0xc6, 0x58, 0x41, 0x68, 0x5d, 0x10, 0x26, 0x11, 0x84, 0xd6, 0xb7, 0xff, 0x5c, - 0x97, 0xfd, 0xfd, 0x1c, 0x00, 0x00, 0xff, 0xff, 0x49, 0x21, 0x5b, 0x0c, 0xab, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_schedule_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_schedule_view.pb.go deleted file mode 100644 index 2728a5e9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/ad_schedule_view.pb.go +++ /dev/null @@ -1,97 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/ad_schedule_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// An ad schedule view summarizes the performance of campaigns by -// AdSchedule criteria. -type AdScheduleView struct { - // The resource name of the ad schedule view. - // AdSchedule view resource names have the form: - // - // `customers/{customer_id}/adScheduleViews/{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 *AdScheduleView) Reset() { *m = AdScheduleView{} } -func (m *AdScheduleView) String() string { return proto.CompactTextString(m) } -func (*AdScheduleView) ProtoMessage() {} -func (*AdScheduleView) Descriptor() ([]byte, []int) { - return fileDescriptor_1304a8d217abcadd, []int{0} -} - -func (m *AdScheduleView) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdScheduleView.Unmarshal(m, b) -} -func (m *AdScheduleView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdScheduleView.Marshal(b, m, deterministic) -} -func (m *AdScheduleView) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdScheduleView.Merge(m, src) -} -func (m *AdScheduleView) XXX_Size() int { - return xxx_messageInfo_AdScheduleView.Size(m) -} -func (m *AdScheduleView) XXX_DiscardUnknown() { - xxx_messageInfo_AdScheduleView.DiscardUnknown(m) -} - -var xxx_messageInfo_AdScheduleView proto.InternalMessageInfo - -func (m *AdScheduleView) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*AdScheduleView)(nil), "google.ads.googleads.v2.resources.AdScheduleView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/ad_schedule_view.proto", fileDescriptor_1304a8d217abcadd) -} - -var fileDescriptor_1304a8d217abcadd = []byte{ - // 271 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0xc1, 0x4a, 0xc4, 0x30, - 0x10, 0x86, 0x69, 0x05, 0xc1, 0xa2, 0x1e, 0xd6, 0x8b, 0x88, 0x07, 0x57, 0x59, 0xf0, 0x94, 0x40, - 0x45, 0x90, 0x78, 0xca, 0x5e, 0x16, 0x3c, 0xc8, 0xb2, 0x42, 0x0f, 0x52, 0x28, 0xb1, 0x19, 0x62, - 0xa1, 0xcd, 0x94, 0x4e, 0xb7, 0x7b, 0xf5, 0x59, 0x3c, 0xfa, 0x28, 0x3e, 0x8a, 0x4f, 0x21, 0xdd, - 0x6c, 0x02, 0x5e, 0xdc, 0xdb, 0x4f, 0xf2, 0xfd, 0xdf, 0x0c, 0x93, 0x3c, 0x18, 0x44, 0x53, 0x03, - 0x57, 0x9a, 0xb8, 0x8b, 0x63, 0x1a, 0x52, 0xde, 0x01, 0xe1, 0xba, 0x2b, 0x81, 0xb8, 0xd2, 0x05, - 0x95, 0xef, 0xa0, 0xd7, 0x35, 0x14, 0x43, 0x05, 0x1b, 0xd6, 0x76, 0xd8, 0xe3, 0x64, 0xea, 0x70, - 0xa6, 0x34, 0xb1, 0xd0, 0x64, 0x43, 0xca, 0x42, 0xf3, 0xe2, 0xd2, 0xcb, 0xdb, 0x8a, 0x2b, 0x6b, - 0xb1, 0x57, 0x7d, 0x85, 0x96, 0x9c, 0xe0, 0xfa, 0x3e, 0x39, 0x95, 0xfa, 0x65, 0x67, 0xce, 0x2a, - 0xd8, 0x4c, 0x6e, 0x92, 0x13, 0x5f, 0x2e, 0xac, 0x6a, 0xe0, 0x3c, 0xba, 0x8a, 0x6e, 0x8f, 0x56, - 0xc7, 0xfe, 0xf1, 0x59, 0x35, 0x30, 0xff, 0x88, 0x93, 0x59, 0x89, 0x0d, 0xdb, 0x3b, 0x7e, 0x7e, - 0xf6, 0x57, 0xbf, 0x1c, 0xa7, 0x2e, 0xa3, 0xd7, 0xa7, 0x5d, 0xd3, 0x60, 0xad, 0xac, 0x61, 0xd8, - 0x19, 0x6e, 0xc0, 0x6e, 0x77, 0xf2, 0x27, 0x68, 0x2b, 0xfa, 0xe7, 0x22, 0x8f, 0x21, 0x7d, 0xc6, - 0x07, 0x0b, 0x29, 0xbf, 0xe2, 0xe9, 0xc2, 0x29, 0xa5, 0x26, 0xe6, 0xe2, 0x98, 0xb2, 0x94, 0xad, - 0x3c, 0xf9, 0xed, 0x99, 0x5c, 0x6a, 0xca, 0x03, 0x93, 0x67, 0x69, 0x1e, 0x98, 0x9f, 0x78, 0xe6, - 0x3e, 0x84, 0x90, 0x9a, 0x84, 0x08, 0x94, 0x10, 0x59, 0x2a, 0x44, 0xe0, 0xde, 0x0e, 0xb7, 0xcb, - 0xde, 0xfd, 0x06, 0x00, 0x00, 0xff, 0xff, 0x9b, 0xc7, 0x3b, 0x9b, 0xbd, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/age_range_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/age_range_view.pb.go deleted file mode 100644 index 919bd38b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/age_range_view.pb.go +++ /dev/null @@ -1,96 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/age_range_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_122920b378c098b3, []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 (m *AgeRangeView) XXX_Merge(src proto.Message) { - xxx_messageInfo_AgeRangeView.Merge(m, 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.v2.resources.AgeRangeView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/age_range_view.proto", fileDescriptor_122920b378c098b3) -} - -var fileDescriptor_122920b378c098b3 = []byte{ - // 267 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0xb1, 0x4a, 0xc4, 0x30, - 0x18, 0xc7, 0x69, 0x05, 0xc1, 0x72, 0x0e, 0xde, 0x24, 0xe2, 0xe0, 0x29, 0x07, 0x4e, 0x09, 0xe4, - 0xc0, 0x21, 0x4e, 0xb9, 0xe5, 0xc0, 0x41, 0x8e, 0x0e, 0x1d, 0xa4, 0x50, 0xe2, 0xe5, 0x23, 0x04, - 0xae, 0xf9, 0x4a, 0x52, 0x7b, 0xef, 0xe3, 0xe8, 0xa3, 0xf8, 0x28, 0x3e, 0x84, 0x48, 0x1b, 0x13, - 0x9c, 0xbc, 0xed, 0x4f, 0xf2, 0xfb, 0xff, 0xbe, 0x2f, 0x29, 0x1e, 0x34, 0xa2, 0xde, 0x03, 0x95, - 0xca, 0xd3, 0x10, 0xc7, 0x34, 0x30, 0xea, 0xc0, 0xe3, 0x9b, 0xdb, 0x81, 0xa7, 0x52, 0x43, 0xe3, - 0xa4, 0xd5, 0xd0, 0x0c, 0x06, 0x0e, 0xa4, 0x73, 0xd8, 0xe3, 0x7c, 0x11, 0x60, 0x22, 0x95, 0x27, - 0xa9, 0x47, 0x06, 0x46, 0x52, 0xef, 0xea, 0x3a, 0xaa, 0x3b, 0x43, 0xa5, 0xb5, 0xd8, 0xcb, 0xde, - 0xa0, 0xf5, 0x41, 0x70, 0xbb, 0x2a, 0x66, 0x42, 0x43, 0x39, 0x7a, 0x2b, 0x03, 0x87, 0xf9, 0x5d, - 0x71, 0x1e, 0xab, 0x8d, 0x95, 0x2d, 0x5c, 0x66, 0x37, 0xd9, 0xfd, 0x59, 0x39, 0x8b, 0x87, 0xcf, - 0xb2, 0x85, 0xf5, 0x77, 0x56, 0x2c, 0x77, 0xd8, 0x92, 0xa3, 0xc3, 0xd7, 0x17, 0x7f, 0xe5, 0xdb, - 0x71, 0xe2, 0x36, 0x7b, 0x79, 0xfa, 0xed, 0x69, 0xdc, 0x4b, 0xab, 0x09, 0x3a, 0x4d, 0x35, 0xd8, - 0x69, 0x9f, 0xf8, 0xf8, 0xce, 0xf8, 0x7f, 0xfe, 0xe2, 0x31, 0xa5, 0xf7, 0xfc, 0x64, 0x23, 0xc4, - 0x47, 0xbe, 0xd8, 0x04, 0xa5, 0x50, 0x9e, 0x84, 0x38, 0xa6, 0x8a, 0x91, 0x32, 0x92, 0x9f, 0x91, - 0xa9, 0x85, 0xf2, 0x75, 0x62, 0xea, 0x8a, 0xd5, 0x89, 0xf9, 0xca, 0x97, 0xe1, 0x82, 0x73, 0xa1, - 0x3c, 0xe7, 0x89, 0xe2, 0xbc, 0x62, 0x9c, 0x27, 0xee, 0xf5, 0x74, 0x5a, 0x76, 0xf5, 0x13, 0x00, - 0x00, 0xff, 0xff, 0x81, 0x03, 0x61, 0xc0, 0xb7, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/asset.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/asset.pb.go deleted file mode 100644 index c73056c4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/asset.pb.go +++ /dev/null @@ -1,223 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/asset.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Asset is a part of an ad which can be shared across multiple ads. -// It can be an image (ImageAsset), a video (YoutubeVideoAsset), etc. -type Asset struct { - // The resource name of the asset. - // Asset resource names have the form: - // - // `customers/{customer_id}/assets/{asset_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The ID of the asset. - Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // Optional name of the asset. - Name *wrappers.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - // Type of the asset. - Type enums.AssetTypeEnum_AssetType `protobuf:"varint,4,opt,name=type,proto3,enum=google.ads.googleads.v2.enums.AssetTypeEnum_AssetType" json:"type,omitempty"` - // The specific type of the asset. - // - // Types that are valid to be assigned to AssetData: - // *Asset_YoutubeVideoAsset - // *Asset_MediaBundleAsset - // *Asset_ImageAsset - // *Asset_TextAsset - AssetData isAsset_AssetData `protobuf_oneof:"asset_data"` - 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_615ce8003e62b64c, []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 (m *Asset) XXX_Merge(src proto.Message) { - xxx_messageInfo_Asset.Merge(m, 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) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *Asset) GetId() *wrappers.Int64Value { - if m != nil { - return m.Id - } - return nil -} - -func (m *Asset) GetName() *wrappers.StringValue { - if m != nil { - return m.Name - } - return nil -} - -func (m *Asset) GetType() enums.AssetTypeEnum_AssetType { - if m != nil { - return m.Type - } - return enums.AssetTypeEnum_UNSPECIFIED -} - -type isAsset_AssetData interface { - isAsset_AssetData() -} - -type Asset_YoutubeVideoAsset struct { - YoutubeVideoAsset *common.YoutubeVideoAsset `protobuf:"bytes,5,opt,name=youtube_video_asset,json=youtubeVideoAsset,proto3,oneof"` -} - -type Asset_MediaBundleAsset struct { - MediaBundleAsset *common.MediaBundleAsset `protobuf:"bytes,6,opt,name=media_bundle_asset,json=mediaBundleAsset,proto3,oneof"` -} - -type Asset_ImageAsset struct { - ImageAsset *common.ImageAsset `protobuf:"bytes,7,opt,name=image_asset,json=imageAsset,proto3,oneof"` -} - -type Asset_TextAsset struct { - TextAsset *common.TextAsset `protobuf:"bytes,8,opt,name=text_asset,json=textAsset,proto3,oneof"` -} - -func (*Asset_YoutubeVideoAsset) isAsset_AssetData() {} - -func (*Asset_MediaBundleAsset) isAsset_AssetData() {} - -func (*Asset_ImageAsset) isAsset_AssetData() {} - -func (*Asset_TextAsset) isAsset_AssetData() {} - -func (m *Asset) GetAssetData() isAsset_AssetData { - if m != nil { - return m.AssetData - } - return nil -} - -func (m *Asset) GetYoutubeVideoAsset() *common.YoutubeVideoAsset { - if x, ok := m.GetAssetData().(*Asset_YoutubeVideoAsset); ok { - return x.YoutubeVideoAsset - } - return nil -} - -func (m *Asset) GetMediaBundleAsset() *common.MediaBundleAsset { - if x, ok := m.GetAssetData().(*Asset_MediaBundleAsset); ok { - return x.MediaBundleAsset - } - return nil -} - -func (m *Asset) GetImageAsset() *common.ImageAsset { - if x, ok := m.GetAssetData().(*Asset_ImageAsset); ok { - return x.ImageAsset - } - return nil -} - -func (m *Asset) GetTextAsset() *common.TextAsset { - if x, ok := m.GetAssetData().(*Asset_TextAsset); ok { - return x.TextAsset - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Asset) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Asset_YoutubeVideoAsset)(nil), - (*Asset_MediaBundleAsset)(nil), - (*Asset_ImageAsset)(nil), - (*Asset_TextAsset)(nil), - } -} - -func init() { - proto.RegisterType((*Asset)(nil), "google.ads.googleads.v2.resources.Asset") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/asset.proto", fileDescriptor_615ce8003e62b64c) -} - -var fileDescriptor_615ce8003e62b64c = []byte{ - // 508 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0xd1, 0x6e, 0xd3, 0x30, - 0x14, 0x86, 0x49, 0xd6, 0x0d, 0xe6, 0x0d, 0x04, 0xe6, 0xa6, 0x1a, 0x13, 0xea, 0x40, 0x93, 0x0a, - 0x08, 0xa7, 0x04, 0xb4, 0x8b, 0x70, 0x95, 0x4a, 0x68, 0xac, 0xd2, 0xd0, 0x54, 0xa6, 0x4a, 0xa0, - 0x4a, 0xc1, 0xad, 0x0f, 0x91, 0xa5, 0xda, 0x8e, 0x62, 0xa7, 0xac, 0xaf, 0xc3, 0x25, 0x2f, 0x82, - 0xc4, 0xa3, 0xf0, 0x02, 0xdc, 0xa2, 0xd8, 0x71, 0x40, 0x43, 0xa5, 0x77, 0xc7, 0xce, 0xf7, 0x7f, - 0xe7, 0xd4, 0xb5, 0xd1, 0xf3, 0x5c, 0xa9, 0x7c, 0x01, 0x11, 0x65, 0x3a, 0x72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 0xfc, 0xe1, 0x99, 0x69, 0xca, - 0xf4, 0xb4, 0x65, 0xa6, 0x93, 0x78, 0xda, 0x32, 0x3f, 0xc3, 0x63, 0xf7, 0x21, 0x49, 0x52, 0xa6, - 0x93, 0xa4, 0xa5, 0x92, 0x64, 0x12, 0x27, 0x49, 0xcb, 0xcd, 0x76, 0xec, 0xb0, 0x2f, 0x7f, 0x07, - 0x00, 0x00, 0xff, 0xff, 0x86, 0x36, 0x5e, 0x64, 0x3e, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/bidding_strategy.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/bidding_strategy.pb.go deleted file mode 100644 index 68a2ba9d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/bidding_strategy.pb.go +++ /dev/null @@ -1,321 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/bidding_strategy.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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 status of the bidding strategy. - // - // This field is read-only. - Status enums.BiddingStrategyStatusEnum_BiddingStrategyStatus `protobuf:"varint,15,opt,name=status,proto3,enum=google.ads.googleads.v2.enums.BiddingStrategyStatusEnum_BiddingStrategyStatus" json:"status,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.v2.enums.BiddingStrategyTypeEnum_BiddingStrategyType" json:"type,omitempty"` - // The number of campaigns attached to this bidding strategy. - // - // This field is read-only. - CampaignCount *wrappers.Int64Value `protobuf:"bytes,13,opt,name=campaign_count,json=campaignCount,proto3" json:"campaign_count,omitempty"` - // The number of non-removed campaigns attached to this bidding strategy. - // - // This field is read-only. - NonRemovedCampaignCount *wrappers.Int64Value `protobuf:"bytes,14,opt,name=non_removed_campaign_count,json=nonRemovedCampaignCount,proto3" json:"non_removed_campaign_count,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_TargetImpressionShare - // *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_3f01e34c4d3a0d3a, []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 (m *BiddingStrategy) XXX_Merge(src proto.Message) { - xxx_messageInfo_BiddingStrategy.Merge(m, 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) GetStatus() enums.BiddingStrategyStatusEnum_BiddingStrategyStatus { - if m != nil { - return m.Status - } - return enums.BiddingStrategyStatusEnum_UNSPECIFIED -} - -func (m *BiddingStrategy) GetType() enums.BiddingStrategyTypeEnum_BiddingStrategyType { - if m != nil { - return m.Type - } - return enums.BiddingStrategyTypeEnum_UNSPECIFIED -} - -func (m *BiddingStrategy) GetCampaignCount() *wrappers.Int64Value { - if m != nil { - return m.CampaignCount - } - return nil -} - -func (m *BiddingStrategy) GetNonRemovedCampaignCount() *wrappers.Int64Value { - if m != nil { - return m.NonRemovedCampaignCount - } - return nil -} - -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_TargetImpressionShare struct { - TargetImpressionShare *common.TargetImpressionShare `protobuf:"bytes,48,opt,name=target_impression_share,json=targetImpressionShare,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_TargetImpressionShare) 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) GetTargetImpressionShare() *common.TargetImpressionShare { - if x, ok := m.GetScheme().(*BiddingStrategy_TargetImpressionShare); ok { - return x.TargetImpressionShare - } - 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_OneofWrappers is for the internal use of the proto package. -func (*BiddingStrategy) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*BiddingStrategy_EnhancedCpc)(nil), - (*BiddingStrategy_PageOnePromoted)(nil), - (*BiddingStrategy_TargetCpa)(nil), - (*BiddingStrategy_TargetImpressionShare)(nil), - (*BiddingStrategy_TargetOutrankShare)(nil), - (*BiddingStrategy_TargetRoas)(nil), - (*BiddingStrategy_TargetSpend)(nil), - } -} - -func init() { - proto.RegisterType((*BiddingStrategy)(nil), "google.ads.googleads.v2.resources.BiddingStrategy") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/bidding_strategy.proto", fileDescriptor_3f01e34c4d3a0d3a) -} - -var fileDescriptor_3f01e34c4d3a0d3a = []byte{ - // 694 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x95, 0xdd, 0x4e, 0xdb, 0x3c, - 0x18, 0xc7, 0xdb, 0xc2, 0xcb, 0x0b, 0x2e, 0x1f, 0x7a, 0x23, 0x5e, 0x11, 0x31, 0x34, 0xc1, 0x26, - 0x24, 0x36, 0x26, 0x07, 0x65, 0x1f, 0xda, 0xc2, 0x51, 0x5b, 0x21, 0x0a, 0xd2, 0xa0, 0x4a, 0x51, - 0x35, 0x4d, 0xdd, 0x22, 0x93, 0x3c, 0x84, 0x68, 0xc4, 0xb6, 0x6c, 0x87, 0x89, 0xc3, 0xdd, 0xca, - 0x0e, 0x77, 0x29, 0xbb, 0x94, 0x5d, 0xc3, 0x0e, 0xa6, 0x38, 0x4e, 0x10, 0x1f, 0x5d, 0xcb, 0x99, - 0x1f, 0xfb, 0xff, 0xff, 0xfd, 0xdd, 0xa7, 0x4f, 0x12, 0xf4, 0x36, 0x66, 0x2c, 0xbe, 0x00, 0x87, - 0x44, 0xd2, 0x29, 0x96, 0xf9, 0xea, 0xd2, 0x75, 0x04, 0x48, 0x96, 0x89, 0x10, 0xa4, 0x73, 0x9a, - 0x44, 0x51, 0x42, 0xe3, 0x40, 0x2a, 0x41, 0x14, 0xc4, 0x57, 0x98, 0x0b, 0xa6, 0x98, 0xb5, 0x51, - 0xc8, 0x31, 0x89, 0x24, 0xae, 0x9c, 0xf8, 0xd2, 0xc5, 0x95, 0x73, 0xf5, 0xc5, 0x28, 0x78, 0xc8, - 0xd2, 0x94, 0xd1, 0x92, 0x5c, 0x00, 0x57, 0x77, 0x47, 0xa9, 0x81, 0x66, 0xe9, 0xdd, 0x6b, 0x04, - 0x52, 0x11, 0x95, 0x49, 0x63, 0x7e, 0xf7, 0x40, 0xb3, 0xba, 0xe2, 0x60, 0xac, 0x8f, 0x8d, 0x55, - 0x57, 0xa7, 0xd9, 0x99, 0xf3, 0x55, 0x10, 0xce, 0x41, 0x94, 0xe8, 0xb5, 0x12, 0xcd, 0x13, 0x87, - 0x50, 0xca, 0x14, 0x51, 0x09, 0xa3, 0xe6, 0xf4, 0xc9, 0xef, 0x59, 0xb4, 0xd4, 0x2e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 0xa2, 0x19, 0x19, 0x9e, 0x43, 0x0a, - 0xed, 0x6f, 0x0d, 0xb4, 0x19, 0xb2, 0x14, 0x8f, 0x7d, 0x19, 0xb7, 0x97, 0x6f, 0x3d, 0x63, 0xbd, - 0x7c, 0xce, 0x7b, 0xf5, 0x8f, 0x87, 0xc6, 0x1a, 0xb3, 0x0b, 0x42, 0x63, 0xcc, 0x44, 0xec, 0xc4, - 0x40, 0xf5, 0x53, 0x50, 0xbe, 0x49, 0x79, 0x22, 0xff, 0xf2, 0x81, 0xd8, 0xad, 0x56, 0xdf, 0x1b, - 0x53, 0xfb, 0xad, 0xd6, 0x8f, 0xc6, 0xc6, 0x7e, 0x81, 0x6c, 0x45, 0x12, 0x17, 0xcb, 0x7c, 0x35, - 0x70, 0xb1, 0x5f, 0x2a, 0x7f, 0x96, 0x9a, 0x61, 0x2b, 0x92, 0xc3, 0x4a, 0x33, 0x1c, 0xb8, 0xc3, - 0x4a, 0xf3, 0xab, 0xb1, 0x59, 0x1c, 0x78, 0x5e, 0x2b, 0x92, 0x9e, 0x57, 0xa9, 0x3c, 0x6f, 0xe0, - 0x7a, 0x5e, 0xa5, 0x3b, 0x9d, 0xd1, 0x97, 0x7d, 0xf9, 0x27, 0x00, 0x00, 0xff, 0xff, 0xcf, 0xc9, - 0xac, 0x3a, 0xcc, 0x06, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/billing_setup.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/billing_setup.pb.go deleted file mode 100644 index a93ce58b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/billing_setup.pb.go +++ /dev/null @@ -1,362 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/billing_setup.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A billing setup, which associates 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.v2.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_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_e355550cdf5be9da, []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 (m *BillingSetup) XXX_Merge(src proto.Message) { - xxx_messageInfo_BillingSetup.Merge(m, 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.v2.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.v2.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_OneofWrappers is for the internal use of the proto package. -func (*BillingSetup) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*BillingSetup_StartDateTime)(nil), - (*BillingSetup_StartTimeType)(nil), - (*BillingSetup_EndDateTime)(nil), - (*BillingSetup_EndTimeType)(nil), - } -} - -// 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_e355550cdf5be9da, []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 (m *BillingSetup_PaymentsAccountInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_BillingSetup_PaymentsAccountInfo.Merge(m, 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.v2.resources.BillingSetup") - proto.RegisterType((*BillingSetup_PaymentsAccountInfo)(nil), "google.ads.googleads.v2.resources.BillingSetup.PaymentsAccountInfo") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/billing_setup.proto", fileDescriptor_e355550cdf5be9da) -} - -var fileDescriptor_e355550cdf5be9da = []byte{ - // 630 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0xdd, 0x6a, 0xdb, 0x30, - 0x14, 0x80, 0x67, 0x67, 0x2b, 0xab, 0x9a, 0xb4, 0xab, 0xcb, 0xc0, 0x64, 0xdd, 0x68, 0x37, 0x0a, - 0x85, 0x31, 0x19, 0xbc, 0x6e, 0x0c, 0xef, 0x2a, 0xd9, 0x4f, 0xdb, 0x31, 0x46, 0x70, 0x4b, 0x2e, - 0x4a, 0x98, 0xa7, 0x46, 0x8a, 0x11, 0xc4, 0x92, 0xb1, 0xe4, 0x96, 0x3c, 0xcd, 0x60, 0x97, 0x7b, - 0x80, 0x3d, 0xc4, 0x1e, 0x65, 0x0f, 0x31, 0x86, 0x25, 0xcb, 0x4d, 0xdd, 0xb4, 0x49, 0xd9, 0x9d, - 0x24, 0x9f, 0xf3, 0xf1, 0xe9, 0x9c, 0xa3, 0x04, 0xbc, 0x8a, 0x39, 0x8f, 0xc7, 0xc4, 0x43, 0x58, - 0x78, 0x7a, 0x59, 0xac, 0xce, 0x7c, 0x2f, 0x23, 0x82, 0xe7, 0xd9, 0x90, 0x08, 0xef, 0x94, 0x8e, - 0xc7, 0x94, 0xc5, 0x91, 0x20, 0x32, 0x4f, 0x61, 0x9a, 0x71, 0xc9, 0x9d, 0x6d, 0x1d, 0x0b, 0x11, - 0x16, 0xb0, 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 0x4c, 0xef, - 0x2d, 0x40, 0x6e, 0x57, 0x88, 0x5e, 0x5d, 0xb9, 0xdb, 0x04, 0xe0, 0x62, 0x70, 0xbb, 0x00, 0xdc, - 0x37, 0x23, 0xd2, 0xfd, 0x6b, 0x81, 0x9d, 0x21, 0x4f, 0xe6, 0x3f, 0xbd, 0xee, 0xfa, 0xf4, 0xdb, - 0xeb, 0x15, 0x06, 0x3d, 0xeb, 0xe4, 0x53, 0x99, 0x17, 0xf3, 0x31, 0x62, 0x31, 0xe4, 0x59, 0xec, - 0xc5, 0x84, 0x29, 0x3f, 0xf3, 0xeb, 0x9a, 0x52, 0x71, 0xc3, 0x1f, 0xc0, 0xdb, 0x6a, 0xf5, 0xc3, - 0x6e, 0xec, 0x77, 0x3a, 0x3f, 0xed, 0xed, 0x7d, 0x8d, 0xec, 0x60, 0x01, 0xf5, 0xb2, 0x58, 0xf5, - 0x7d, 0x18, 0x9a, 0xc8, 0xdf, 0x26, 0x66, 0xd0, 0xc1, 0x62, 0x50, 0xc5, 0x0c, 0xfa, 0xfe, 0xa0, - 0x8a, 0xf9, 0x63, 0xef, 0xe8, 0x0f, 0x41, 0xd0, 0xc1, 0x22, 0x08, 0xaa, 0xa8, 0x20, 0xe8, 0xfb, - 0x41, 0x50, 0xc5, 0x9d, 0x2e, 0x29, 0xd9, 0x97, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0xa0, 0x94, - 0xca, 0xc7, 0xac, 0x06, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign.pb.go deleted file mode 100644 index 1aa7bb67..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign.pb.go +++ /dev/null @@ -1,1269 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/campaign.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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.v2.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.v2.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.v2.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.v2.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.v2.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"` - // Setting for targeting related features. - TargetingSetting *common.TargetingSetting `protobuf:"bytes,43,opt,name=targeting_setting,json=targetingSetting,proto3" json:"targeting_setting,omitempty"` - // The setting for ads geotargeting. - GeoTargetTypeSetting *Campaign_GeoTargetTypeSetting `protobuf:"bytes,47,opt,name=geo_target_type_setting,json=geoTargetTypeSetting,proto3" json:"geo_target_type_setting,omitempty"` - // The setting related to App Campaign. - AppCampaignSetting *Campaign_AppCampaignSetting `protobuf:"bytes,51,opt,name=app_campaign_setting,json=appCampaignSetting,proto3" json:"app_campaign_setting,omitempty"` - // The resource names of labels attached to this campaign. - Labels []*wrappers.StringValue `protobuf:"bytes,53,rep,name=labels,proto3" json:"labels,omitempty"` - // The type of campaign: normal, draft, or experiment. - ExperimentType enums.CampaignExperimentTypeEnum_CampaignExperimentType `protobuf:"varint,17,opt,name=experiment_type,json=experimentType,proto3,enum=google.ads.googleads.v2.enums.CampaignExperimentTypeEnum_CampaignExperimentType" json:"experiment_type,omitempty"` - // The resource name of the base campaign of a draft or experiment campaign. - // For base campaigns, this is equal to `resource_name`. - // - // This field is read-only. - BaseCampaign *wrappers.StringValue `protobuf:"bytes,28,opt,name=base_campaign,json=baseCampaign,proto3" json:"base_campaign,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.v2.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 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"` - // 3-Tier Brand Safety setting for the campaign. - VideoBrandSafetySuitability enums.BrandSafetySuitabilityEnum_BrandSafetySuitability `protobuf:"varint,42,opt,name=video_brand_safety_suitability,json=videoBrandSafetySuitability,proto3,enum=google.ads.googleads.v2.enums.BrandSafetySuitabilityEnum_BrandSafetySuitability" json:"video_brand_safety_suitability,omitempty"` - // Describes how unbranded pharma ads will be displayed. - VanityPharma *Campaign_VanityPharma `protobuf:"bytes,44,opt,name=vanity_pharma,json=vanityPharma,proto3" json:"vanity_pharma,omitempty"` - // Selective optimization setting for this campaign, which includes a set of - // conversion actions to optimize this campaign towards. - SelectiveOptimization *Campaign_SelectiveOptimization `protobuf:"bytes,45,opt,name=selective_optimization,json=selectiveOptimization,proto3" json:"selective_optimization,omitempty"` - // Campaign level settings for tracking information. - TrackingSetting *Campaign_TrackingSetting `protobuf:"bytes,46,opt,name=tracking_setting,json=trackingSetting,proto3" json:"tracking_setting,omitempty"` - // Payment mode for the campaign. - PaymentMode enums.PaymentModeEnum_PaymentMode `protobuf:"varint,52,opt,name=payment_mode,json=paymentMode,proto3,enum=google.ads.googleads.v2.enums.PaymentModeEnum_PaymentMode" json:"payment_mode,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_Commission - // *Campaign_ManualCpc - // *Campaign_ManualCpm - // *Campaign_ManualCpv - // *Campaign_MaximizeConversions - // *Campaign_MaximizeConversionValue - // *Campaign_TargetCpa - // *Campaign_TargetImpressionShare - // *Campaign_TargetRoas - // *Campaign_TargetSpend - // *Campaign_PercentCpc - // *Campaign_TargetCpm - 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_4590562366212c3a, []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 (m *Campaign) XXX_Merge(src proto.Message) { - xxx_messageInfo_Campaign.Merge(m, 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) GetTargetingSetting() *common.TargetingSetting { - if m != nil { - return m.TargetingSetting - } - return nil -} - -func (m *Campaign) GetGeoTargetTypeSetting() *Campaign_GeoTargetTypeSetting { - if m != nil { - return m.GeoTargetTypeSetting - } - return nil -} - -func (m *Campaign) GetAppCampaignSetting() *Campaign_AppCampaignSetting { - if m != nil { - return m.AppCampaignSetting - } - return nil -} - -func (m *Campaign) GetLabels() []*wrappers.StringValue { - if m != nil { - return m.Labels - } - return nil -} - -func (m *Campaign) GetExperimentType() enums.CampaignExperimentTypeEnum_CampaignExperimentType { - if m != nil { - return m.ExperimentType - } - return enums.CampaignExperimentTypeEnum_UNSPECIFIED -} - -func (m *Campaign) GetBaseCampaign() *wrappers.StringValue { - if m != nil { - return m.BaseCampaign - } - 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) 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 -} - -func (m *Campaign) GetVideoBrandSafetySuitability() enums.BrandSafetySuitabilityEnum_BrandSafetySuitability { - if m != nil { - return m.VideoBrandSafetySuitability - } - return enums.BrandSafetySuitabilityEnum_UNSPECIFIED -} - -func (m *Campaign) GetVanityPharma() *Campaign_VanityPharma { - if m != nil { - return m.VanityPharma - } - return nil -} - -func (m *Campaign) GetSelectiveOptimization() *Campaign_SelectiveOptimization { - if m != nil { - return m.SelectiveOptimization - } - return nil -} - -func (m *Campaign) GetTrackingSetting() *Campaign_TrackingSetting { - if m != nil { - return m.TrackingSetting - } - return nil -} - -func (m *Campaign) GetPaymentMode() enums.PaymentModeEnum_PaymentMode { - if m != nil { - return m.PaymentMode - } - return enums.PaymentModeEnum_UNSPECIFIED -} - -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_Commission struct { - Commission *common.Commission `protobuf:"bytes,49,opt,name=commission,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_TargetImpressionShare struct { - TargetImpressionShare *common.TargetImpressionShare `protobuf:"bytes,48,opt,name=target_impression_share,json=targetImpressionShare,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"` -} - -type Campaign_TargetCpm struct { - TargetCpm *common.TargetCpm `protobuf:"bytes,41,opt,name=target_cpm,json=targetCpm,proto3,oneof"` -} - -func (*Campaign_BiddingStrategy) isCampaign_CampaignBiddingStrategy() {} - -func (*Campaign_Commission) 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_TargetImpressionShare) isCampaign_CampaignBiddingStrategy() {} - -func (*Campaign_TargetRoas) isCampaign_CampaignBiddingStrategy() {} - -func (*Campaign_TargetSpend) isCampaign_CampaignBiddingStrategy() {} - -func (*Campaign_PercentCpc) isCampaign_CampaignBiddingStrategy() {} - -func (*Campaign_TargetCpm) 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) GetCommission() *common.Commission { - if x, ok := m.GetCampaignBiddingStrategy().(*Campaign_Commission); ok { - return x.Commission - } - 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) GetTargetImpressionShare() *common.TargetImpressionShare { - if x, ok := m.GetCampaignBiddingStrategy().(*Campaign_TargetImpressionShare); ok { - return x.TargetImpressionShare - } - 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 -} - -func (m *Campaign) GetTargetCpm() *common.TargetCpm { - if x, ok := m.GetCampaignBiddingStrategy().(*Campaign_TargetCpm); ok { - return x.TargetCpm - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Campaign) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Campaign_BiddingStrategy)(nil), - (*Campaign_Commission)(nil), - (*Campaign_ManualCpc)(nil), - (*Campaign_ManualCpm)(nil), - (*Campaign_ManualCpv)(nil), - (*Campaign_MaximizeConversions)(nil), - (*Campaign_MaximizeConversionValue)(nil), - (*Campaign_TargetCpa)(nil), - (*Campaign_TargetImpressionShare)(nil), - (*Campaign_TargetRoas)(nil), - (*Campaign_TargetSpend)(nil), - (*Campaign_PercentCpc)(nil), - (*Campaign_TargetCpm)(nil), - } -} - -// 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_4590562366212c3a, []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 (m *Campaign_NetworkSettings) XXX_Merge(src proto.Message) { - xxx_messageInfo_Campaign_NetworkSettings.Merge(m, 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_4590562366212c3a, []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 (m *Campaign_HotelSettingInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_Campaign_HotelSettingInfo.Merge(m, 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 -} - -// Selective optimization setting for this campaign, which includes a set of -// conversion actions to optimize this campaign towards. -type Campaign_SelectiveOptimization struct { - // The selected set of conversion actions for optimizing this campaign. - ConversionActions []*wrappers.StringValue `protobuf:"bytes,1,rep,name=conversion_actions,json=conversionActions,proto3" json:"conversion_actions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Campaign_SelectiveOptimization) Reset() { *m = Campaign_SelectiveOptimization{} } -func (m *Campaign_SelectiveOptimization) String() string { return proto.CompactTextString(m) } -func (*Campaign_SelectiveOptimization) ProtoMessage() {} -func (*Campaign_SelectiveOptimization) Descriptor() ([]byte, []int) { - return fileDescriptor_4590562366212c3a, []int{0, 2} -} - -func (m *Campaign_SelectiveOptimization) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Campaign_SelectiveOptimization.Unmarshal(m, b) -} -func (m *Campaign_SelectiveOptimization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Campaign_SelectiveOptimization.Marshal(b, m, deterministic) -} -func (m *Campaign_SelectiveOptimization) XXX_Merge(src proto.Message) { - xxx_messageInfo_Campaign_SelectiveOptimization.Merge(m, src) -} -func (m *Campaign_SelectiveOptimization) XXX_Size() int { - return xxx_messageInfo_Campaign_SelectiveOptimization.Size(m) -} -func (m *Campaign_SelectiveOptimization) XXX_DiscardUnknown() { - xxx_messageInfo_Campaign_SelectiveOptimization.DiscardUnknown(m) -} - -var xxx_messageInfo_Campaign_SelectiveOptimization proto.InternalMessageInfo - -func (m *Campaign_SelectiveOptimization) GetConversionActions() []*wrappers.StringValue { - if m != nil { - return m.ConversionActions - } - 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. - Feeds []*wrappers.StringValue `protobuf:"bytes,5,rep,name=feeds,proto3" json:"feeds,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_4590562366212c3a, []int{0, 3} -} - -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 (m *Campaign_DynamicSearchAdsSetting) XXX_Merge(src proto.Message) { - xxx_messageInfo_Campaign_DynamicSearchAdsSetting.Merge(m, 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) GetFeeds() []*wrappers.StringValue { - if m != nil { - return m.Feeds - } - return nil -} - -// Campaign level settings for App Campaigns. -type Campaign_AppCampaignSetting struct { - // Represents the goal which the bidding strategy of this app campaign - // should optimize towards. - BiddingStrategyGoalType enums.AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType `protobuf:"varint,1,opt,name=bidding_strategy_goal_type,json=biddingStrategyGoalType,proto3,enum=google.ads.googleads.v2.enums.AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType" json:"bidding_strategy_goal_type,omitempty"` - // A string that uniquely identifies a mobile application. - AppId *wrappers.StringValue `protobuf:"bytes,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` - // The application store that distributes this specific app. - AppStore enums.AppCampaignAppStoreEnum_AppCampaignAppStore `protobuf:"varint,3,opt,name=app_store,json=appStore,proto3,enum=google.ads.googleads.v2.enums.AppCampaignAppStoreEnum_AppCampaignAppStore" json:"app_store,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Campaign_AppCampaignSetting) Reset() { *m = Campaign_AppCampaignSetting{} } -func (m *Campaign_AppCampaignSetting) String() string { return proto.CompactTextString(m) } -func (*Campaign_AppCampaignSetting) ProtoMessage() {} -func (*Campaign_AppCampaignSetting) Descriptor() ([]byte, []int) { - return fileDescriptor_4590562366212c3a, []int{0, 4} -} - -func (m *Campaign_AppCampaignSetting) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Campaign_AppCampaignSetting.Unmarshal(m, b) -} -func (m *Campaign_AppCampaignSetting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Campaign_AppCampaignSetting.Marshal(b, m, deterministic) -} -func (m *Campaign_AppCampaignSetting) XXX_Merge(src proto.Message) { - xxx_messageInfo_Campaign_AppCampaignSetting.Merge(m, src) -} -func (m *Campaign_AppCampaignSetting) XXX_Size() int { - return xxx_messageInfo_Campaign_AppCampaignSetting.Size(m) -} -func (m *Campaign_AppCampaignSetting) XXX_DiscardUnknown() { - xxx_messageInfo_Campaign_AppCampaignSetting.DiscardUnknown(m) -} - -var xxx_messageInfo_Campaign_AppCampaignSetting proto.InternalMessageInfo - -func (m *Campaign_AppCampaignSetting) GetBiddingStrategyGoalType() enums.AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType { - if m != nil { - return m.BiddingStrategyGoalType - } - return enums.AppCampaignBiddingStrategyGoalTypeEnum_UNSPECIFIED -} - -func (m *Campaign_AppCampaignSetting) GetAppId() *wrappers.StringValue { - if m != nil { - return m.AppId - } - return nil -} - -func (m *Campaign_AppCampaignSetting) GetAppStore() enums.AppCampaignAppStoreEnum_AppCampaignAppStore { - if m != nil { - return m.AppStore - } - return enums.AppCampaignAppStoreEnum_UNSPECIFIED -} - -// 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"` - // Whether to include local products. - 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_4590562366212c3a, []int{0, 5} -} - -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 (m *Campaign_ShoppingSetting) XXX_Merge(src proto.Message) { - xxx_messageInfo_Campaign_ShoppingSetting.Merge(m, 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 -} - -// Campaign level settings for tracking information. -type Campaign_TrackingSetting struct { - // The url used for dynamic tracking. - TrackingUrl *wrappers.StringValue `protobuf:"bytes,1,opt,name=tracking_url,json=trackingUrl,proto3" json:"tracking_url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Campaign_TrackingSetting) Reset() { *m = Campaign_TrackingSetting{} } -func (m *Campaign_TrackingSetting) String() string { return proto.CompactTextString(m) } -func (*Campaign_TrackingSetting) ProtoMessage() {} -func (*Campaign_TrackingSetting) Descriptor() ([]byte, []int) { - return fileDescriptor_4590562366212c3a, []int{0, 6} -} - -func (m *Campaign_TrackingSetting) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Campaign_TrackingSetting.Unmarshal(m, b) -} -func (m *Campaign_TrackingSetting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Campaign_TrackingSetting.Marshal(b, m, deterministic) -} -func (m *Campaign_TrackingSetting) XXX_Merge(src proto.Message) { - xxx_messageInfo_Campaign_TrackingSetting.Merge(m, src) -} -func (m *Campaign_TrackingSetting) XXX_Size() int { - return xxx_messageInfo_Campaign_TrackingSetting.Size(m) -} -func (m *Campaign_TrackingSetting) XXX_DiscardUnknown() { - xxx_messageInfo_Campaign_TrackingSetting.DiscardUnknown(m) -} - -var xxx_messageInfo_Campaign_TrackingSetting proto.InternalMessageInfo - -func (m *Campaign_TrackingSetting) GetTrackingUrl() *wrappers.StringValue { - if m != nil { - return m.TrackingUrl - } - return nil -} - -// Represents a collection of settings related to ads geotargeting. -type Campaign_GeoTargetTypeSetting struct { - // The setting used for positive geotargeting in this particular campaign. - PositiveGeoTargetType enums.PositiveGeoTargetTypeEnum_PositiveGeoTargetType `protobuf:"varint,1,opt,name=positive_geo_target_type,json=positiveGeoTargetType,proto3,enum=google.ads.googleads.v2.enums.PositiveGeoTargetTypeEnum_PositiveGeoTargetType" json:"positive_geo_target_type,omitempty"` - // The setting used for negative geotargeting in this particular campaign. - NegativeGeoTargetType enums.NegativeGeoTargetTypeEnum_NegativeGeoTargetType `protobuf:"varint,2,opt,name=negative_geo_target_type,json=negativeGeoTargetType,proto3,enum=google.ads.googleads.v2.enums.NegativeGeoTargetTypeEnum_NegativeGeoTargetType" json:"negative_geo_target_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Campaign_GeoTargetTypeSetting) Reset() { *m = Campaign_GeoTargetTypeSetting{} } -func (m *Campaign_GeoTargetTypeSetting) String() string { return proto.CompactTextString(m) } -func (*Campaign_GeoTargetTypeSetting) ProtoMessage() {} -func (*Campaign_GeoTargetTypeSetting) Descriptor() ([]byte, []int) { - return fileDescriptor_4590562366212c3a, []int{0, 7} -} - -func (m *Campaign_GeoTargetTypeSetting) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Campaign_GeoTargetTypeSetting.Unmarshal(m, b) -} -func (m *Campaign_GeoTargetTypeSetting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Campaign_GeoTargetTypeSetting.Marshal(b, m, deterministic) -} -func (m *Campaign_GeoTargetTypeSetting) XXX_Merge(src proto.Message) { - xxx_messageInfo_Campaign_GeoTargetTypeSetting.Merge(m, src) -} -func (m *Campaign_GeoTargetTypeSetting) XXX_Size() int { - return xxx_messageInfo_Campaign_GeoTargetTypeSetting.Size(m) -} -func (m *Campaign_GeoTargetTypeSetting) XXX_DiscardUnknown() { - xxx_messageInfo_Campaign_GeoTargetTypeSetting.DiscardUnknown(m) -} - -var xxx_messageInfo_Campaign_GeoTargetTypeSetting proto.InternalMessageInfo - -func (m *Campaign_GeoTargetTypeSetting) GetPositiveGeoTargetType() enums.PositiveGeoTargetTypeEnum_PositiveGeoTargetType { - if m != nil { - return m.PositiveGeoTargetType - } - return enums.PositiveGeoTargetTypeEnum_UNSPECIFIED -} - -func (m *Campaign_GeoTargetTypeSetting) GetNegativeGeoTargetType() enums.NegativeGeoTargetTypeEnum_NegativeGeoTargetType { - if m != nil { - return m.NegativeGeoTargetType - } - return enums.NegativeGeoTargetTypeEnum_UNSPECIFIED -} - -// Describes how unbranded pharma ads will be displayed. -type Campaign_VanityPharma struct { - // The display mode for vanity pharma URLs. - VanityPharmaDisplayUrlMode enums.VanityPharmaDisplayUrlModeEnum_VanityPharmaDisplayUrlMode `protobuf:"varint,1,opt,name=vanity_pharma_display_url_mode,json=vanityPharmaDisplayUrlMode,proto3,enum=google.ads.googleads.v2.enums.VanityPharmaDisplayUrlModeEnum_VanityPharmaDisplayUrlMode" json:"vanity_pharma_display_url_mode,omitempty"` - // The text that will be displayed in display URL of the text ad when - // website description is the selected display mode for vanity pharma URLs. - VanityPharmaText enums.VanityPharmaTextEnum_VanityPharmaText `protobuf:"varint,2,opt,name=vanity_pharma_text,json=vanityPharmaText,proto3,enum=google.ads.googleads.v2.enums.VanityPharmaTextEnum_VanityPharmaText" json:"vanity_pharma_text,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Campaign_VanityPharma) Reset() { *m = Campaign_VanityPharma{} } -func (m *Campaign_VanityPharma) String() string { return proto.CompactTextString(m) } -func (*Campaign_VanityPharma) ProtoMessage() {} -func (*Campaign_VanityPharma) Descriptor() ([]byte, []int) { - return fileDescriptor_4590562366212c3a, []int{0, 8} -} - -func (m *Campaign_VanityPharma) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Campaign_VanityPharma.Unmarshal(m, b) -} -func (m *Campaign_VanityPharma) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Campaign_VanityPharma.Marshal(b, m, deterministic) -} -func (m *Campaign_VanityPharma) XXX_Merge(src proto.Message) { - xxx_messageInfo_Campaign_VanityPharma.Merge(m, src) -} -func (m *Campaign_VanityPharma) XXX_Size() int { - return xxx_messageInfo_Campaign_VanityPharma.Size(m) -} -func (m *Campaign_VanityPharma) XXX_DiscardUnknown() { - xxx_messageInfo_Campaign_VanityPharma.DiscardUnknown(m) -} - -var xxx_messageInfo_Campaign_VanityPharma proto.InternalMessageInfo - -func (m *Campaign_VanityPharma) GetVanityPharmaDisplayUrlMode() enums.VanityPharmaDisplayUrlModeEnum_VanityPharmaDisplayUrlMode { - if m != nil { - return m.VanityPharmaDisplayUrlMode - } - return enums.VanityPharmaDisplayUrlModeEnum_UNSPECIFIED -} - -func (m *Campaign_VanityPharma) GetVanityPharmaText() enums.VanityPharmaTextEnum_VanityPharmaText { - if m != nil { - return m.VanityPharmaText - } - return enums.VanityPharmaTextEnum_UNSPECIFIED -} - -func init() { - proto.RegisterType((*Campaign)(nil), "google.ads.googleads.v2.resources.Campaign") - proto.RegisterType((*Campaign_NetworkSettings)(nil), "google.ads.googleads.v2.resources.Campaign.NetworkSettings") - proto.RegisterType((*Campaign_HotelSettingInfo)(nil), "google.ads.googleads.v2.resources.Campaign.HotelSettingInfo") - proto.RegisterType((*Campaign_SelectiveOptimization)(nil), "google.ads.googleads.v2.resources.Campaign.SelectiveOptimization") - proto.RegisterType((*Campaign_DynamicSearchAdsSetting)(nil), "google.ads.googleads.v2.resources.Campaign.DynamicSearchAdsSetting") - proto.RegisterType((*Campaign_AppCampaignSetting)(nil), "google.ads.googleads.v2.resources.Campaign.AppCampaignSetting") - proto.RegisterType((*Campaign_ShoppingSetting)(nil), "google.ads.googleads.v2.resources.Campaign.ShoppingSetting") - proto.RegisterType((*Campaign_TrackingSetting)(nil), "google.ads.googleads.v2.resources.Campaign.TrackingSetting") - proto.RegisterType((*Campaign_GeoTargetTypeSetting)(nil), "google.ads.googleads.v2.resources.Campaign.GeoTargetTypeSetting") - proto.RegisterType((*Campaign_VanityPharma)(nil), "google.ads.googleads.v2.resources.Campaign.VanityPharma") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/campaign.proto", fileDescriptor_4590562366212c3a) -} - -var fileDescriptor_4590562366212c3a = []byte{ - // 2222 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x59, 0x4b, 0x93, 0xdb, 0xc6, - 0x11, 0x5e, 0x52, 0x96, 0x22, 0xcd, 0x3e, 0x35, 0xfb, 0x82, 0x28, 0x59, 0x91, 0x9d, 0x38, 0x91, - 0x2d, 0x87, 0x94, 0xb9, 0x92, 0x9c, 0xac, 0x64, 0x47, 0x5c, 0x4a, 0xd6, 0xae, 0xac, 0x07, 0x0b, - 0x5c, 0x6d, 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d, 0x3c, 0xbb, 0x34, 0x18, 0x5d, 0x38, 0x04, 0xab, 0x63, 0xdd, 0x97, 0x75, - 0xb9, 0x54, 0xf1, 0x4d, 0xcc, 0x3f, 0x4e, 0xd1, 0x69, 0xa1, 0xcb, 0x9f, 0xb2, 0x57, 0xf0, 0xc8, - 0x18, 0xb6, 0xc0, 0x72, 0x0f, 0x71, 0x9c, 0xc6, 0xc8, 0xba, 0x56, 0xa2, 0xa4, 0x2d, 0x49, 0x48, - 0xda, 0x3b, 0x3c, 0x06, 0xab, 0x67, 0x6d, 0x70, 0xec, 0xf5, 0xb1, 0xb0, 0x2e, 0x94, 0x20, 0x59, - 0x49, 0x40, 0x7b, 0x0a, 0x03, 0x7f, 0x03, 0x36, 0x73, 0x9b, 0x60, 0x6b, 0x4b, 0x85, 0xe2, 0x69, - 0x41, 0x28, 0x92, 0x42, 0x64, 0xa0, 0x69, 0x1c, 0x72, 0xe4, 0xf6, 0x7a, 0x6f, 0x52, 0x08, 0xef, - 0x03, 0xc0, 0x05, 0x62, 0xc2, 0xf1, 0x64, 0x65, 0x5f, 0x2f, 0xf1, 0x06, 0x97, 0x94, 0xfe, 0x23, - 0x59, 0xcf, 0x3f, 0x07, 0x17, 0x71, 0xe4, 0x69, 0xe8, 0x46, 0x09, 0xe8, 0x0f, 0x70, 0xe4, 0x29, - 0xe0, 0x57, 0x60, 0xed, 0xd8, 0x8f, 0x50, 0xa0, 0xbe, 0x2b, 0x3c, 0x3e, 0x3e, 0xf6, 0x4f, 0xad, - 0x9f, 0x94, 0x89, 0x9e, 0x42, 0xbd, 0x62, 0x41, 0x57, 0x61, 0xe0, 0x6b, 0xb0, 0x32, 0x72, 0x74, - 0xe4, 0xd6, 0x4d, 0x95, 0x80, 0x9f, 0x15, 0xed, 0xdf, 0xaf, 0x12, 0x54, 0x1b, 0xd1, 0xc7, 0x91, - 0x60, 0x43, 0x7b, 0xf9, 0x38, 0x23, 0xe2, 0xf0, 0x0f, 0x15, 0x70, 0x7d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8a, 0x05, 0xe9, 0x49, 0x61, 0xfa, 0xb4, 0x5d, 0x1b, - 0x4c, 0x9d, 0x83, 0x0c, 0xc0, 0xc9, 0x3f, 0x20, 0x26, 0x64, 0x8f, 0xe6, 0xf0, 0xe8, 0x10, 0x9f, - 0x8a, 0x09, 0x3f, 0xa4, 0xd0, 0x5e, 0x1b, 0x8c, 0x49, 0xf6, 0xae, 0x82, 0x2b, 0x53, 0xff, 0xec, - 0xed, 0xfd, 0xaf, 0x02, 0x3e, 0x72, 0x49, 0x58, 0x7c, 0x16, 0xdb, 0x5b, 0x6e, 0xa7, 0x9b, 0x87, - 0x08, 0xd2, 0xa9, 0x7c, 0xf3, 0xd4, 0x60, 0xfa, 0x44, 0x7e, 0x13, 0xea, 0x84, 0xf5, 0x1b, 0x7d, - 0x1c, 0xa9, 0x04, 0x4f, 0xfe, 0xfc, 0x50, 0x9f, 0xcf, 0xf8, 0xad, 0x7d, 0x3f, 0x7d, 0xfa, 0x7b, - 0xf5, 0xdc, 0x93, 0x56, 0xeb, 0xfb, 0xea, 0x07, 0xba, 0x77, 0xa9, 0xb7, 0x3c, 0x5e, 0xd7, 0x8f, - 0xf2, 0xe9, 0xa8, 0x59, 0xb7, 0x13, 0xcd, 0x7f, 0x25, 0x3a, 0x6f, 0x5a, 0x1e, 0x7f, 0x93, 0xea, - 0xbc, 0x39, 0x6a, 0xbe, 0x49, 0x75, 0xfe, 0x5b, 0xfd, 0x48, 0x4f, 0xec, 0xee, 0xb6, 0x3c, 0xbe, - 0xbb, 0x9b, 0x6a, 0xed, 0xee, 0x1e, 0x35, 0x77, 0x77, 0x53, 0xbd, 0xde, 0x05, 0xe5, 0xec, 0xce, - 0xff, 0x03, 0x00, 0x00, 0xff, 0xff, 0x25, 0x48, 0x73, 0x51, 0x82, 0x1f, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_audience_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_audience_view.pb.go deleted file mode 100644 index b150fed0..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_audience_view.pb.go +++ /dev/null @@ -1,101 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/campaign_audience_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_70c081efa6327ef7, []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 (m *CampaignAudienceView) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignAudienceView.Merge(m, 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.v2.resources.CampaignAudienceView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/campaign_audience_view.proto", fileDescriptor_70c081efa6327ef7) -} - -var fileDescriptor_70c081efa6327ef7 = []byte{ - // 276 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0x4f, 0x4a, 0xc4, 0x30, - 0x14, 0xc6, 0x99, 0x0a, 0x82, 0x45, 0x37, 0x83, 0x0b, 0x15, 0x17, 0x8e, 0x32, 0xe0, 0x2a, 0x81, - 0xba, 0xcb, 0x80, 0x90, 0x71, 0x31, 0xe0, 0x42, 0x86, 0x59, 0x74, 0x21, 0x85, 0xf2, 0x6c, 0x1e, - 0x21, 0x30, 0xcd, 0x2b, 0x4d, 0xa7, 0x73, 0x03, 0x0f, 0xe2, 0xd2, 0xa3, 0x78, 0x14, 0x4f, 0x21, - 0x9d, 0x34, 0x59, 0x89, 0xee, 0x3e, 0x92, 0xdf, 0xf7, 0x87, 0x97, 0x3e, 0x6a, 0x22, 0xbd, 0x45, - 0x0e, 0xca, 0x71, 0x2f, 0x07, 0xd5, 0x67, 0xbc, 0x45, 0x47, 0xbb, 0xb6, 0x42, 0xc7, 0x2b, 0xa8, - 0x1b, 0x30, 0xda, 0x96, 0xb0, 0x53, 0x06, 0x6d, 0x85, 0x65, 0x6f, 0x70, 0xcf, 0x9a, 0x96, 0x3a, - 0x9a, 0xce, 0xbc, 0x89, 0x81, 0x72, 0x2c, 0xfa, 0x59, 0x9f, 0xb1, 0xe8, 0xbf, 0xba, 0x0e, 0x15, - 0x8d, 0xe1, 0x60, 0x2d, 0x75, 0xd0, 0x19, 0xb2, 0xce, 0x07, 0xdc, 0x2e, 0xd2, 0xf3, 0xa7, 0xb1, - 0x40, 0x8e, 0xf9, 0xb9, 0xc1, 0xfd, 0xf4, 0x2e, 0x3d, 0x0b, 0x11, 0xa5, 0x85, 0x1a, 0x2f, 0x26, - 0x37, 0x93, 0xfb, 0x93, 0xcd, 0x69, 0x78, 0x7c, 0x81, 0x1a, 0x97, 0xef, 0x49, 0x3a, 0xaf, 0xa8, - 0x66, 0xff, 0x8e, 0x58, 0x5e, 0xfe, 0x56, 0xb2, 0x1e, 0x16, 0xac, 0x27, 0xaf, 0xcf, 0xa3, 0x5f, - 0xd3, 0x16, 0xac, 0x66, 0xd4, 0x6a, 0xae, 0xd1, 0x1e, 0xf6, 0x85, 0xa3, 0x34, 0xc6, 0xfd, 0x71, - 0xa3, 0x45, 0x54, 0x1f, 0xc9, 0xd1, 0x4a, 0xca, 0xcf, 0x64, 0xb6, 0xf2, 0x91, 0x52, 0x39, 0xe6, - 0xe5, 0xa0, 0xf2, 0x8c, 0x6d, 0x02, 0xf9, 0x15, 0x98, 0x42, 0x2a, 0x57, 0x44, 0xa6, 0xc8, 0xb3, - 0x22, 0x32, 0xdf, 0xc9, 0xdc, 0x7f, 0x08, 0x21, 0x95, 0x13, 0x22, 0x52, 0x42, 0xe4, 0x99, 0x10, - 0x91, 0x7b, 0x3b, 0x3e, 0x8c, 0x7d, 0xf8, 0x09, 0x00, 0x00, 0xff, 0xff, 0x11, 0xf4, 0x24, 0x0d, - 0xcf, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_bid_modifier.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_bid_modifier.pb.go deleted file mode 100644 index 337caca6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_bid_modifier.pb.go +++ /dev/null @@ -1,174 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/campaign_bid_modifier.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - _ "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.ProtoPackageIsVersion3 // 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_92c90e6eb1f94786, []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 (m *CampaignBidModifier) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignBidModifier.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*CampaignBidModifier) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CampaignBidModifier_InteractionType)(nil), - } -} - -func init() { - proto.RegisterType((*CampaignBidModifier)(nil), "google.ads.googleads.v2.resources.CampaignBidModifier") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/campaign_bid_modifier.proto", fileDescriptor_92c90e6eb1f94786) -} - -var fileDescriptor_92c90e6eb1f94786 = []byte{ - // 439 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xdd, 0x6a, 0x14, 0x31, - 0x14, 0x76, 0xa7, 0x2a, 0x36, 0xbb, 0xa2, 0x8c, 0x37, 0x43, 0x2d, 0xd2, 0x2a, 0x85, 0xde, 0x98, - 0x81, 0xa9, 0x88, 0x8c, 0xa8, 0xcc, 0x2a, 0xd4, 0x15, 0x94, 0xb2, 0xca, 0x5e, 0xc8, 0xc2, 0x98, - 0x99, 0x64, 0x43, 0x60, 0x27, 0x27, 0x24, 0xd9, 0x4a, 0x1f, 0xc0, 0x17, 0xf1, 0xd2, 0x47, 0xf1, - 0x39, 0xbc, 0xf2, 0x29, 0x64, 0x26, 0x3f, 0x54, 0x74, 0xf5, 0xee, 0x24, 0xe7, 0xfb, 0xbe, 0x7c, - 0xdf, 0x39, 0x41, 0xcf, 0x38, 0x00, 0x5f, 0xb3, 0x9c, 0x50, 0x93, 0xbb, 0xb2, 0xaf, 0xce, 0x8b, - 0x5c, 0x33, 0x03, 0x1b, 0xdd, 0x32, 0x93, 0xb7, 0xa4, 0x53, 0x44, 0x70, 0x59, 0x37, 0x82, 0xd6, - 0x1d, 0x50, 0xb1, 0x12, 0x4c, 0x63, 0xa5, 0xc1, 0x42, 0x7a, 0xe8, 0x38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7, 0x14, 0x78, 0x1f, 0x2e, 0x14, 0x9b, 0xc9, 0x15, 0xbc, 0xbe, 0x32, 0xbf, 0x25, 0x7e, - 0xbf, 0x9e, 0x8e, 0xd1, 0x6e, 0x74, 0x3c, 0xfd, 0x92, 0xa0, 0xa3, 0x16, 0x3a, 0xfc, 0xdf, 0xed, - 0x4f, 0xb3, 0xbf, 0x6c, 0xe3, 0xac, 0x8f, 0x73, 0x36, 0xfa, 0xf8, 0xc6, 0xd3, 0x39, 0xac, 0x89, - 0xe4, 0x18, 0x34, 0xcf, 0x39, 0x93, 0x43, 0xd8, 0xf0, 0x53, 0x94, 0x30, 0xff, 0xf8, 0x9a, 0x4f, - 0x63, 0xf5, 0x35, 0xd9, 0x39, 0xad, 0xaa, 0x6f, 0xc9, 0xe1, 0xa9, 0x93, 0xac, 0xa8, 0xc1, 0xae, - 0xec, 0xab, 0x45, 0x81, 0xe7, 0x01, 0xf9, 0x3d, 0x60, 0x96, 0x15, 0x35, 0xcb, 0x88, 0x59, 0x2e, - 0x8a, 0x65, 0xc4, 0xfc, 0x4c, 0x8e, 0x5c, 0xa3, 0x2c, 0x2b, 0x6a, 0xca, 0x32, 0xa2, 0xca, 0x72, - 0x51, 0x94, 0x65, 0xc4, 0x35, 0xd7, 0x07, 0xb3, 0x27, 0xbf, 0x02, 0x00, 0x00, 0xff, 0xff, 0x2e, - 0x3c, 0xc9, 0x61, 0x46, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_budget.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_budget.pb.go deleted file mode 100644 index 27270f9e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_budget.pb.go +++ /dev/null @@ -1,326 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/campaign_budget.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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. Monthly spend is capped at 30.4 times this amount. - 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.v2.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.v2.enums.BudgetDeliveryMethodEnum_BudgetDeliveryMethod" json:"delivery_method,omitempty"` - // Specifies whether the budget is explicitly shared. Defaults to true if - // unspecified in a create operation. - // - // 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"` - // Indicates whether there is a recommended budget for this campaign budget. - // - // This field is read-only. - HasRecommendedBudget *wrappers.BoolValue `protobuf:"bytes,11,opt,name=has_recommended_budget,json=hasRecommendedBudget,proto3" json:"has_recommended_budget,omitempty"` - // The recommended budget amount. If no recommendation is available, this will - // be set to the budget amount. - // Amount is specified in micros, where one million is equivalent to one - // currency unit. - // - // This field is read-only. - RecommendedBudgetAmountMicros *wrappers.Int64Value `protobuf:"bytes,12,opt,name=recommended_budget_amount_micros,json=recommendedBudgetAmountMicros,proto3" json:"recommended_budget_amount_micros,omitempty"` - // Period over which to spend the budget. Defaults to DAILY if not specified. - Period enums.BudgetPeriodEnum_BudgetPeriod `protobuf:"varint,13,opt,name=period,proto3,enum=google.ads.googleads.v2.enums.BudgetPeriodEnum_BudgetPeriod" json:"period,omitempty"` - // The estimated change in weekly clicks if the recommended budget is applied. - // - // This field is read-only. - RecommendedBudgetEstimatedChangeWeeklyClicks *wrappers.Int64Value `protobuf:"bytes,14,opt,name=recommended_budget_estimated_change_weekly_clicks,json=recommendedBudgetEstimatedChangeWeeklyClicks,proto3" json:"recommended_budget_estimated_change_weekly_clicks,omitempty"` - // The estimated change in weekly cost in micros if the recommended budget is - // applied. One million is equivalent to one currency unit. - // - // This field is read-only. - RecommendedBudgetEstimatedChangeWeeklyCostMicros *wrappers.Int64Value `protobuf:"bytes,15,opt,name=recommended_budget_estimated_change_weekly_cost_micros,json=recommendedBudgetEstimatedChangeWeeklyCostMicros,proto3" json:"recommended_budget_estimated_change_weekly_cost_micros,omitempty"` - // The estimated change in weekly interactions if the recommended budget is - // applied. - // - // This field is read-only. - RecommendedBudgetEstimatedChangeWeeklyInteractions *wrappers.Int64Value `protobuf:"bytes,16,opt,name=recommended_budget_estimated_change_weekly_interactions,json=recommendedBudgetEstimatedChangeWeeklyInteractions,proto3" json:"recommended_budget_estimated_change_weekly_interactions,omitempty"` - // The estimated change in weekly views if the recommended budget is applied. - // - // This field is read-only. - RecommendedBudgetEstimatedChangeWeeklyViews *wrappers.Int64Value `protobuf:"bytes,17,opt,name=recommended_budget_estimated_change_weekly_views,json=recommendedBudgetEstimatedChangeWeeklyViews,proto3" json:"recommended_budget_estimated_change_weekly_views,omitempty"` - // The type of the campaign budget. - Type enums.BudgetTypeEnum_BudgetType `protobuf:"varint,18,opt,name=type,proto3,enum=google.ads.googleads.v2.enums.BudgetTypeEnum_BudgetType" json:"type,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_b2bb05963aea82a6, []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 (m *CampaignBudget) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignBudget.Merge(m, 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 (m *CampaignBudget) GetHasRecommendedBudget() *wrappers.BoolValue { - if m != nil { - return m.HasRecommendedBudget - } - return nil -} - -func (m *CampaignBudget) GetRecommendedBudgetAmountMicros() *wrappers.Int64Value { - if m != nil { - return m.RecommendedBudgetAmountMicros - } - return nil -} - -func (m *CampaignBudget) GetPeriod() enums.BudgetPeriodEnum_BudgetPeriod { - if m != nil { - return m.Period - } - return enums.BudgetPeriodEnum_UNSPECIFIED -} - -func (m *CampaignBudget) GetRecommendedBudgetEstimatedChangeWeeklyClicks() *wrappers.Int64Value { - if m != nil { - return m.RecommendedBudgetEstimatedChangeWeeklyClicks - } - return nil -} - -func (m *CampaignBudget) GetRecommendedBudgetEstimatedChangeWeeklyCostMicros() *wrappers.Int64Value { - if m != nil { - return m.RecommendedBudgetEstimatedChangeWeeklyCostMicros - } - return nil -} - -func (m *CampaignBudget) GetRecommendedBudgetEstimatedChangeWeeklyInteractions() *wrappers.Int64Value { - if m != nil { - return m.RecommendedBudgetEstimatedChangeWeeklyInteractions - } - return nil -} - -func (m *CampaignBudget) GetRecommendedBudgetEstimatedChangeWeeklyViews() *wrappers.Int64Value { - if m != nil { - return m.RecommendedBudgetEstimatedChangeWeeklyViews - } - return nil -} - -func (m *CampaignBudget) GetType() enums.BudgetTypeEnum_BudgetType { - if m != nil { - return m.Type - } - return enums.BudgetTypeEnum_UNSPECIFIED -} - -func init() { - proto.RegisterType((*CampaignBudget)(nil), "google.ads.googleads.v2.resources.CampaignBudget") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/campaign_budget.proto", fileDescriptor_b2bb05963aea82a6) -} - -var fileDescriptor_b2bb05963aea82a6 = []byte{ - // 753 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x95, 0xdd, 0x6e, 0xe3, 0x44, - 0x18, 0x86, 0xe5, 0x6c, 0x29, 0xec, 0x6c, 0x9a, 0x6e, 0xbd, 0x08, 0x59, 0x65, 0x41, 0x59, 0xd0, - 0x4a, 0x95, 0x16, 0xd9, 0x5d, 0x83, 0x5a, 0x64, 0x38, 0x20, 0x49, 0xab, 0xaa, 0xd0, 0xa2, 0xc8, - 0xad, 0x82, 0x84, 0x22, 0x59, 0x53, 0xcf, 0x57, 0x67, 0x54, 0x7b, 0xc6, 0x9a, 0x19, 0xa7, 0xe4, - 0x0c, 0x21, 0x8e, 0x90, 0x90, 0xb8, 0x06, 0x0e, 0xb9, 0x14, 0x2e, 0x85, 0xab, 0x40, 0x1e, 0xff, - 0x34, 0x3f, 0x14, 0x27, 0x67, 0xf3, 0xf3, 0xbd, 0x4f, 0xde, 0x79, 0xe7, 0x73, 0x06, 0x1d, 0x47, - 0x9c, 0x47, 0x31, 0x38, 0x98, 0x48, 0xa7, 0x18, 0xe6, 0xa3, 0xa9, 0xeb, 0x08, 0x90, 0x3c, 0x13, - 0x21, 0x48, 0x27, 0xc4, 0x49, 0x8a, 0x69, 0xc4, 0x82, 0x9b, 0x8c, 0x44, 0xa0, 0xec, 0x54, 0x70, - 0xc5, 0xcd, 0x57, 0x45, 0xb5, 0x8d, 0x89, 0xb4, 0x6b, 0xa1, 0x3d, 0x75, 0xed, 0x5a, 0xb8, 0xef, - 0x3d, 0xc6, 0x06, 0x96, 0x25, 0xd2, 0x29, 0x70, 0x01, 0x81, 0x98, 0x4e, 0x41, 0xcc, 0x82, 0x04, - 0xd4, 0x84, 0x93, 0x02, 0xbf, 0xff, 0x76, 0x2d, 0x6d, 0x0a, 0x82, 0x6e, 0x28, 0x91, 0x0a, 0xab, - 0x4c, 0x96, 0x12, 0x67, 0x2d, 0x89, 0x9a, 0xa5, 0x50, 0x0a, 0x3e, 0x2e, 0x05, 0x7a, 0x76, 0x93, - 0xdd, 0x3a, 0xf7, 0x02, 0xa7, 0x29, 0x88, 0x0a, 0xf8, 0xb2, 0x02, 0xa6, 0xd4, 0xc1, 0x8c, 0x71, - 0x85, 0x15, 0xe5, 0xac, 0xdc, 0xfd, 0xe4, 0xb7, 0x36,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0xce, 0x7a, 0xde, 0x6c, 0xc8, 0x5d, 0xcf, 0xd0, 0xf9, 0x1c, 0xd6, 0xfc, 0xc5, - 0x40, 0x87, 0x1b, 0x58, 0x9a, 0x52, 0xb8, 0x97, 0xd6, 0x5e, 0xb3, 0x97, 0x37, 0xeb, 0x79, 0x19, - 0xe5, 0x3c, 0xf3, 0x02, 0x6d, 0xe5, 0x4f, 0x81, 0x65, 0xea, 0x16, 0xfc, 0x72, 0xad, 0x16, 0xbc, - 0x9e, 0xa5, 0x30, 0xd7, 0x80, 0xf9, 0xd4, 0xd7, 0x94, 0xfe, 0xcf, 0x2d, 0xf4, 0x3a, 0xe4, 0x89, - 0xdd, 0xf8, 0x8e, 0xf6, 0x5f, 0x2c, 0xbe, 0x19, 0xc3, 0xfc, 0x1c, 0x43, 0xe3, 0xc7, 0x6f, 0x4b, - 0x65, 0xc4, 0x63, 0xcc, 0x22, 0x9b, 0x8b, 0xc8, 0x89, 0x80, 0xe9, 0x53, 0x56, 0x8f, 0x59, 0x4a, - 0xe5, 0xff, 0xbc, 0xec, 0x5f, 0xd5, 0xa3, 0x3f, 0x5b, 0x4f, 0xce, 0x7a, 0xbd, 0xbf, 0x5a, 0xaf, - 0xce, 0x0a, 0x64, 0x8f, 0x48, 0xbb, 0x18, 0xe6, 0xa3, 0x91, 0x6b, 0xfb, 0x55, 0xe5, 0xdf, 0x55, - 0xcd, 0xb8, 0x47, 0xe4, 0xb8, 0xae, 0x19, 0x8f, 0xdc, 0x71, 0x5d, 0xf3, 0x4f, 0xeb, 0x75, 0xb1, - 0xe1, 0x79, 0x3d, 0x22, 0x3d, 0xaf, 0xae, 0xf2, 0xbc, 0x91, 0xeb, 0x79, 0x75, 0xdd, 0xcd, 0xb6, - 0x36, 0xfb, 0xf9, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xf0, 0xf3, 0x79, 0x50, 0x85, 0x08, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_criterion.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_criterion.pb.go deleted file mode 100644 index 768ca471..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_criterion.pb.go +++ /dev/null @@ -1,640 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/campaign_criterion.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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.v2.enums.CriterionTypeEnum_CriterionType" json:"type,omitempty"` - // The status of the criterion. - Status enums.CampaignCriterionStatusEnum_CampaignCriterionStatus `protobuf:"varint,35,opt,name=status,proto3,enum=google.ads.googleads.v2.enums.CampaignCriterionStatusEnum_CampaignCriterionStatus" json:"status,omitempty"` - // The campaign criterion. - // - // Exactly one must be set. - // - // Types that are valid to be assigned to Criterion: - // *CampaignCriterion_Keyword - // *CampaignCriterion_Placement - // *CampaignCriterion_MobileAppCategory - // *CampaignCriterion_MobileApplication - // *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 - // *CampaignCriterion_Webpage - // *CampaignCriterion_OperatingSystemVersion - // *CampaignCriterion_MobileDevice - // *CampaignCriterion_LocationGroup - // *CampaignCriterion_CustomAffinity - 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_395bdd66d6311d9f, []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 (m *CampaignCriterion) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignCriterion.Merge(m, 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 -} - -func (m *CampaignCriterion) GetStatus() enums.CampaignCriterionStatusEnum_CampaignCriterionStatus { - if m != nil { - return m.Status - } - return enums.CampaignCriterionStatusEnum_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_MobileAppCategory struct { - MobileAppCategory *common.MobileAppCategoryInfo `protobuf:"bytes,10,opt,name=mobile_app_category,json=mobileAppCategory,proto3,oneof"` -} - -type CampaignCriterion_MobileApplication struct { - MobileApplication *common.MobileApplicationInfo `protobuf:"bytes,11,opt,name=mobile_application,json=mobileApplication,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"` -} - -type CampaignCriterion_Webpage struct { - Webpage *common.WebpageInfo `protobuf:"bytes,31,opt,name=webpage,proto3,oneof"` -} - -type CampaignCriterion_OperatingSystemVersion struct { - OperatingSystemVersion *common.OperatingSystemVersionInfo `protobuf:"bytes,32,opt,name=operating_system_version,json=operatingSystemVersion,proto3,oneof"` -} - -type CampaignCriterion_MobileDevice struct { - MobileDevice *common.MobileDeviceInfo `protobuf:"bytes,33,opt,name=mobile_device,json=mobileDevice,proto3,oneof"` -} - -type CampaignCriterion_LocationGroup struct { - LocationGroup *common.LocationGroupInfo `protobuf:"bytes,34,opt,name=location_group,json=locationGroup,proto3,oneof"` -} - -type CampaignCriterion_CustomAffinity struct { - CustomAffinity *common.CustomAffinityInfo `protobuf:"bytes,36,opt,name=custom_affinity,json=customAffinity,proto3,oneof"` -} - -func (*CampaignCriterion_Keyword) isCampaignCriterion_Criterion() {} - -func (*CampaignCriterion_Placement) isCampaignCriterion_Criterion() {} - -func (*CampaignCriterion_MobileAppCategory) isCampaignCriterion_Criterion() {} - -func (*CampaignCriterion_MobileApplication) 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 (*CampaignCriterion_Webpage) isCampaignCriterion_Criterion() {} - -func (*CampaignCriterion_OperatingSystemVersion) isCampaignCriterion_Criterion() {} - -func (*CampaignCriterion_MobileDevice) isCampaignCriterion_Criterion() {} - -func (*CampaignCriterion_LocationGroup) isCampaignCriterion_Criterion() {} - -func (*CampaignCriterion_CustomAffinity) 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) GetMobileAppCategory() *common.MobileAppCategoryInfo { - if x, ok := m.GetCriterion().(*CampaignCriterion_MobileAppCategory); ok { - return x.MobileAppCategory - } - return nil -} - -func (m *CampaignCriterion) GetMobileApplication() *common.MobileApplicationInfo { - if x, ok := m.GetCriterion().(*CampaignCriterion_MobileApplication); ok { - return x.MobileApplication - } - 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 -} - -func (m *CampaignCriterion) GetWebpage() *common.WebpageInfo { - if x, ok := m.GetCriterion().(*CampaignCriterion_Webpage); ok { - return x.Webpage - } - return nil -} - -func (m *CampaignCriterion) GetOperatingSystemVersion() *common.OperatingSystemVersionInfo { - if x, ok := m.GetCriterion().(*CampaignCriterion_OperatingSystemVersion); ok { - return x.OperatingSystemVersion - } - return nil -} - -func (m *CampaignCriterion) GetMobileDevice() *common.MobileDeviceInfo { - if x, ok := m.GetCriterion().(*CampaignCriterion_MobileDevice); ok { - return x.MobileDevice - } - return nil -} - -func (m *CampaignCriterion) GetLocationGroup() *common.LocationGroupInfo { - if x, ok := m.GetCriterion().(*CampaignCriterion_LocationGroup); ok { - return x.LocationGroup - } - return nil -} - -func (m *CampaignCriterion) GetCustomAffinity() *common.CustomAffinityInfo { - if x, ok := m.GetCriterion().(*CampaignCriterion_CustomAffinity); ok { - return x.CustomAffinity - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CampaignCriterion) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CampaignCriterion_Keyword)(nil), - (*CampaignCriterion_Placement)(nil), - (*CampaignCriterion_MobileAppCategory)(nil), - (*CampaignCriterion_MobileApplication)(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), - (*CampaignCriterion_Webpage)(nil), - (*CampaignCriterion_OperatingSystemVersion)(nil), - (*CampaignCriterion_MobileDevice)(nil), - (*CampaignCriterion_LocationGroup)(nil), - (*CampaignCriterion_CustomAffinity)(nil), - } -} - -func init() { - proto.RegisterType((*CampaignCriterion)(nil), "google.ads.googleads.v2.resources.CampaignCriterion") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/campaign_criterion.proto", fileDescriptor_395bdd66d6311d9f) -} - -var fileDescriptor_395bdd66d6311d9f = []byte{ - // 1141 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x97, 0x6f, 0x73, 0xdb, 0x34, - 0x18, 0xc0, 0x69, 0xd9, 0xba, 0x54, 0x49, 0x3b, 0xa6, 0xb1, 0x22, 0xba, 0x32, 0xda, 0x8d, 0xdd, - 0x95, 0x3f, 0x73, 0x20, 0xc0, 0x8e, 0x0b, 0xc7, 0xee, 0xd2, 0x0c, 0xba, 0x6c, 0x2d, 0x94, 0xb4, - 0x64, 0xc7, 0xae, 0x9c, 0x4f, 0xb1, 0x9f, 0x78, 0x62, 0xb6, 0xe4, 0x93, 0xe5, 0x94, 0xbc, 0xe6, - 0x9b, 0xf0, 0x92, 0x8f, 0xc2, 0xd7, 0xe0, 0x1d, 0x9f, 0x82, 0x93, 0x2c, 0xb9, 0xe9, 0xda, 0x62, - 0xf3, 0xce, 0x7e, 0xfc, 0xfc, 0x7e, 0x7a, 0xf4, 0xc4, 0x92, 0x1c, 0xd4, 0x8d, 0x84, 0x88, 0x62, - 0x68, 0xd3, 0x30, 0x6b, 0x17, 0x97, 0xfa, 0x6a, 0xda, 0x69, 0x4b, 0xc8, 0x44, 0x2e, 0x03, 0xc8, - 0xda, 0x01, 0x4d, 0x52, 0xca, 0x22, 0xee, 0x07, 0x92, 0x29, 0x90, 0x4c, 0x70, 0x2f, 0x95, 0x42, - 0x09, 0xbc, 0x55, 0x00, 0x1e, 0x0d, 0x33, 0xaf, 0x64, 0xbd, 0x69, 0xc7, 0x2b, 0xd9, 0xf5, 0x07, - 0x97, 0xe9, 0x03, 0x91, 0x24, 0x82, 0xb7, 0xad, 0x92, 0x16, 0xc6, 0xf5, 0x6f, 0x2e, 0x4b, 0x07, - 0x9e, 0x27, 0x17, 0x55, 0xe2, 0x67, 0x8a, 0xaa, 0x3c, 0xb3, 0x78, 0xa7, 0x02, 0x2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, 0xf1, 0x86, 0x2e, 0xf3, - 0x2f, 0x97, 0x73, 0xdc, 0x0b, 0xb3, 0xe3, 0x32, 0xe7, 0x78, 0xd4, 0x39, 0x2e, 0x73, 0xfe, 0x59, - 0xbc, 0x5f, 0x3c, 0xe8, 0x76, 0x7b, 0x61, 0xd6, 0xed, 0x96, 0x59, 0xdd, 0xee, 0xa8, 0xd3, 0xed, - 0x96, 0x79, 0xe3, 0x25, 0x53, 0xec, 0xe7, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x62, 0xbd, 0x4a, - 0xa0, 0x33, 0x0d, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_criterion_simulation.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_criterion_simulation.pb.go deleted file mode 100644 index f6ffc4b4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_criterion_simulation.pb.go +++ /dev/null @@ -1,213 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/campaign_criterion_simulation.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A campaign criterion simulation. Supported combinations of advertising -// channel type, criterion ids, simulation type and simulation modification -// method is detailed below respectively. -// -// SEARCH 30000,30001,30002 BID_MODIFIER UNIFORM -// SHOPPING 30000,30001,30002 BID_MODIFIER UNIFORM -// DISPLAY 30001 BID_MODIFIER UNIFORM -type CampaignCriterionSimulation struct { - // The resource name of the campaign criterion simulation. - // Campaign criterion simulation resource names have the form: - // - // `customers/{customer_id}/campaignCriterionSimulations/{campaign_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // Campaign ID of the simulation. - CampaignId *wrappers.Int64Value `protobuf:"bytes,2,opt,name=campaign_id,json=campaignId,proto3" json:"campaign_id,omitempty"` - // Criterion ID of the simulation. - CriterionId *wrappers.Int64Value `protobuf:"bytes,3,opt,name=criterion_id,json=criterionId,proto3" json:"criterion_id,omitempty"` - // The field that the simulation modifies. - Type enums.SimulationTypeEnum_SimulationType `protobuf:"varint,4,opt,name=type,proto3,enum=google.ads.googleads.v2.enums.SimulationTypeEnum_SimulationType" json:"type,omitempty"` - // How the simulation modifies the field. - ModificationMethod enums.SimulationModificationMethodEnum_SimulationModificationMethod `protobuf:"varint,5,opt,name=modification_method,json=modificationMethod,proto3,enum=google.ads.googleads.v2.enums.SimulationModificationMethodEnum_SimulationModificationMethod" json:"modification_method,omitempty"` - // First day on which the simulation is based, in YYYY-MM-DD format. - StartDate *wrappers.StringValue `protobuf:"bytes,6,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` - // Last day on which the simulation is based, in YYYY-MM-DD format. - EndDate *wrappers.StringValue `protobuf:"bytes,7,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` - // List of simulation points. - // - // Types that are valid to be assigned to PointList: - // *CampaignCriterionSimulation_BidModifierPointList - PointList isCampaignCriterionSimulation_PointList `protobuf_oneof:"point_list"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CampaignCriterionSimulation) Reset() { *m = CampaignCriterionSimulation{} } -func (m *CampaignCriterionSimulation) String() string { return proto.CompactTextString(m) } -func (*CampaignCriterionSimulation) ProtoMessage() {} -func (*CampaignCriterionSimulation) Descriptor() ([]byte, []int) { - return fileDescriptor_a5832e91cef223b5, []int{0} -} - -func (m *CampaignCriterionSimulation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CampaignCriterionSimulation.Unmarshal(m, b) -} -func (m *CampaignCriterionSimulation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CampaignCriterionSimulation.Marshal(b, m, deterministic) -} -func (m *CampaignCriterionSimulation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignCriterionSimulation.Merge(m, src) -} -func (m *CampaignCriterionSimulation) XXX_Size() int { - return xxx_messageInfo_CampaignCriterionSimulation.Size(m) -} -func (m *CampaignCriterionSimulation) XXX_DiscardUnknown() { - xxx_messageInfo_CampaignCriterionSimulation.DiscardUnknown(m) -} - -var xxx_messageInfo_CampaignCriterionSimulation proto.InternalMessageInfo - -func (m *CampaignCriterionSimulation) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *CampaignCriterionSimulation) GetCampaignId() *wrappers.Int64Value { - if m != nil { - return m.CampaignId - } - return nil -} - -func (m *CampaignCriterionSimulation) GetCriterionId() *wrappers.Int64Value { - if m != nil { - return m.CriterionId - } - return nil -} - -func (m *CampaignCriterionSimulation) GetType() enums.SimulationTypeEnum_SimulationType { - if m != nil { - return m.Type - } - return enums.SimulationTypeEnum_UNSPECIFIED -} - -func (m *CampaignCriterionSimulation) GetModificationMethod() enums.SimulationModificationMethodEnum_SimulationModificationMethod { - if m != nil { - return m.ModificationMethod - } - return enums.SimulationModificationMethodEnum_UNSPECIFIED -} - -func (m *CampaignCriterionSimulation) GetStartDate() *wrappers.StringValue { - if m != nil { - return m.StartDate - } - return nil -} - -func (m *CampaignCriterionSimulation) GetEndDate() *wrappers.StringValue { - if m != nil { - return m.EndDate - } - return nil -} - -type isCampaignCriterionSimulation_PointList interface { - isCampaignCriterionSimulation_PointList() -} - -type CampaignCriterionSimulation_BidModifierPointList struct { - BidModifierPointList *common.BidModifierSimulationPointList `protobuf:"bytes,8,opt,name=bid_modifier_point_list,json=bidModifierPointList,proto3,oneof"` -} - -func (*CampaignCriterionSimulation_BidModifierPointList) isCampaignCriterionSimulation_PointList() {} - -func (m *CampaignCriterionSimulation) GetPointList() isCampaignCriterionSimulation_PointList { - if m != nil { - return m.PointList - } - return nil -} - -func (m *CampaignCriterionSimulation) GetBidModifierPointList() *common.BidModifierSimulationPointList { - if x, ok := m.GetPointList().(*CampaignCriterionSimulation_BidModifierPointList); ok { - return x.BidModifierPointList - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CampaignCriterionSimulation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CampaignCriterionSimulation_BidModifierPointList)(nil), - } -} - -func init() { - proto.RegisterType((*CampaignCriterionSimulation)(nil), "google.ads.googleads.v2.resources.CampaignCriterionSimulation") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/campaign_criterion_simulation.proto", fileDescriptor_a5832e91cef223b5) -} - -var fileDescriptor_a5832e91cef223b5 = []byte{ - // 555 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0xdf, 0x6a, 0xdb, 0x30, - 0x14, 0xc6, 0xe7, 0xf4, 0xbf, 0xda, 0xed, 0xc2, 0x1b, 0xcc, 0xb4, 0x65, 0xa4, 0x1b, 0x85, 0x5c, - 0xc9, 0xe0, 0x8e, 0x0d, 0xdc, 0x51, 0x96, 0x74, 0xa5, 0xcb, 0x58, 0x46, 0x70, 0x4b, 0x2e, 0x46, - 0xc0, 0x28, 0x96, 0xea, 0x09, 0x22, 0xc9, 0x48, 0x72, 0x4b, 0x1f, 0xa2, 0x2f, 0xb1, 0xdd, 0xed, - 0x51, 0xf6, 0x28, 0x7b, 0x8a, 0x11, 0x59, 0x56, 0x4a, 0xb2, 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dc, 0x35, 0xc0, 0x61, 0x26, 0x18, 0x7c, 0xf4, - 0xde, 0x76, 0x9a, 0x0f, 0x7c, 0xcc, 0xfd, 0xc9, 0x56, 0xfb, 0xde, 0xf7, 0x2f, 0x16, 0x93, 0x8b, - 0x31, 0xe2, 0x39, 0x14, 0x32, 0x0f, 0x73, 0xc2, 0x4d, 0x10, 0xf5, 0xb5, 0x2b, 0xa8, 0x7a, 0xe0, - 0x27, 0x73, 0xec, 0xaa, 0x9f, 0x8d, 0x95, 0xf3, 0x76, 0xfb, 0x77, 0xe3, 0xe0, 0xbc, 0x42, 0xb6, - 0xb1, 0x82, 0x55, 0x39, 0xa9, 0x06, 0x11, 0x4c, 0x6a, 0xe5, 0x9f, 0x5a, 0x33, 0x6c, 0x63, 0x35, - 0x74, 0x9a, 0xe1, 0x20, 0x1a, 0x3a, 0xcd, 0xdf, 0xc6, 0x61, 0xb5, 0x10, 0xc7, 0x6d, 0xac, 0xe2, - 0xd8, 0xa9, 0xe2, 0x78, 0x10, 0xc5, 0xb1, 0xd3, 0x8d, 0xd6, 0xcd, 0xcb, 0x1e, 0xfd, 0x0b, 0x00, - 0x00, 0xff, 0xff, 0xfe, 0x81, 0xb6, 0xa9, 0x10, 0x05, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_draft.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_draft.pb.go deleted file mode 100644 index 35cfab11..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_draft.pb.go +++ /dev/null @@ -1,190 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/campaign_draft.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A campaign draft. -type CampaignDraft struct { - // The resource name of the campaign draft. - // Campaign draft resource names have the form: - // - // `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The ID of the draft. - // - // This field is read-only. - DraftId *wrappers.Int64Value `protobuf:"bytes,2,opt,name=draft_id,json=draftId,proto3" json:"draft_id,omitempty"` - // The base campaign to which the draft belongs. - BaseCampaign *wrappers.StringValue `protobuf:"bytes,3,opt,name=base_campaign,json=baseCampaign,proto3" json:"base_campaign,omitempty"` - // The name of the campaign draft. - // - // This field is required and should not be empty when creating new - // campaign drafts. - // - // 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"` - // Resource name of the Campaign that results from overlaying the draft - // changes onto the base campaign. - // - // This field is read-only. - DraftCampaign *wrappers.StringValue `protobuf:"bytes,5,opt,name=draft_campaign,json=draftCampaign,proto3" json:"draft_campaign,omitempty"` - // The status of the campaign draft. This field is read-only. - // - // When a new campaign draft is added, the status defaults to PROPOSED. - Status enums.CampaignDraftStatusEnum_CampaignDraftStatus `protobuf:"varint,6,opt,name=status,proto3,enum=google.ads.googleads.v2.enums.CampaignDraftStatusEnum_CampaignDraftStatus" json:"status,omitempty"` - // Whether there is an experiment based on this draft currently serving. - HasExperimentRunning *wrappers.BoolValue `protobuf:"bytes,7,opt,name=has_experiment_running,json=hasExperimentRunning,proto3" json:"has_experiment_running,omitempty"` - // The resource name of the long-running operation that can be used to poll - // for completion of draft promotion. This is only set if the draft promotion - // is in progress or finished. - LongRunningOperation *wrappers.StringValue `protobuf:"bytes,8,opt,name=long_running_operation,json=longRunningOperation,proto3" json:"long_running_operation,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CampaignDraft) Reset() { *m = CampaignDraft{} } -func (m *CampaignDraft) String() string { return proto.CompactTextString(m) } -func (*CampaignDraft) ProtoMessage() {} -func (*CampaignDraft) Descriptor() ([]byte, []int) { - return fileDescriptor_75e3b9d8638a5c8e, []int{0} -} - -func (m *CampaignDraft) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CampaignDraft.Unmarshal(m, b) -} -func (m *CampaignDraft) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CampaignDraft.Marshal(b, m, deterministic) -} -func (m *CampaignDraft) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignDraft.Merge(m, src) -} -func (m *CampaignDraft) XXX_Size() int { - return xxx_messageInfo_CampaignDraft.Size(m) -} -func (m *CampaignDraft) XXX_DiscardUnknown() { - xxx_messageInfo_CampaignDraft.DiscardUnknown(m) -} - -var xxx_messageInfo_CampaignDraft proto.InternalMessageInfo - -func (m *CampaignDraft) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *CampaignDraft) GetDraftId() *wrappers.Int64Value { - if m != nil { - return m.DraftId - } - return nil -} - -func (m *CampaignDraft) GetBaseCampaign() *wrappers.StringValue { - if m != nil { - return m.BaseCampaign - } - return nil -} - -func (m *CampaignDraft) GetName() *wrappers.StringValue { - if m != nil { - return m.Name - } - return nil -} - -func (m *CampaignDraft) GetDraftCampaign() *wrappers.StringValue { - if m != nil { - return m.DraftCampaign - } - return nil -} - -func (m *CampaignDraft) GetStatus() enums.CampaignDraftStatusEnum_CampaignDraftStatus { - if m != nil { - return m.Status - } - return enums.CampaignDraftStatusEnum_UNSPECIFIED -} - -func (m *CampaignDraft) GetHasExperimentRunning() *wrappers.BoolValue { - if m != nil { - return m.HasExperimentRunning - } - return nil -} - -func (m *CampaignDraft) GetLongRunningOperation() *wrappers.StringValue { - if m != nil { - return m.LongRunningOperation - } - return nil -} - -func init() { - proto.RegisterType((*CampaignDraft)(nil), "google.ads.googleads.v2.resources.CampaignDraft") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/campaign_draft.proto", fileDescriptor_75e3b9d8638a5c8e) -} - -var fileDescriptor_75e3b9d8638a5c8e = []byte{ - // 487 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xc1, 0x6a, 0xdb, 0x30, - 0x18, 0xc7, 0x71, 0x9a, 0xa5, 0x9d, 0xd6, 0xf4, 0x20, 0x4a, 0x31, 0x59, 0x19, 0xe9, 0x46, 0x21, - 0x27, 0x79, 0x78, 0x23, 0x30, 0xef, 0xe4, 0x74, 0xa5, 0xb4, 0x87, 0x2d, 0xb8, 0x90, 0xc3, 0x08, - 0x18, 0x25, 0x56, 0x55, 0x83, 0x2d, 0x09, 0x49, 0xee, 0xf6, 0x3c, 0x3b, 0xee, 0xb4, 0xe7, 0xd8, - 0xa3, 0xec, 0x25, 0x36, 0x2c, 0x59, 0x82, 0xae, 0xcb, 0x9a, 0xdb, 0x67, 0xe9, 0xff, 0xfb, 0xeb, - 0xaf, 0xef, 0x93, 0xc1, 0x94, 0x72, 0x4e, 0x2b, 0x12, 0xe1, 0x42, 0x45, 0xb6, 0x6c, 0xab, 0xbb, - 0x38, 0x92, 0x44, 0xf1, 0x46, 0xae, 0x89, 0x8a, 0xd6, 0xb8, 0x16, 0xb8, 0xa4, 0x2c, 0x2f, 0x24, - 0xbe, 0xd1, 0x48, 0x48, 0xae, 0x39, 0x3c, 0xb1, 0x62, 0x84, 0x0b, 0x85, 0x3c, 0x87, 0xee, 0x62, - 0xe4, 0xb9, 0xd1, 0xbb,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e7, 0xe0, 0xe8, 0x16, 0xab, 0x9c, 0x7c, - 0x15, 0x44, 0x96, 0x35, 0x61, 0x3a, 0x97, 0x0d, 0x63, 0x25, 0xa3, 0xe1, 0xae, 0x09, 0x3c, 0x7a, - 0x10, 0x78, 0xc6, 0x79, 0x65, 0xe3, 0x1e, 0xde, 0x62, 0x75, 0xee, 0xc1, 0xcc, 0x72, 0x30, 0x03, - 0x47, 0x15, 0x67, 0xd4, 0xf9, 0xe4, 0x5c, 0x10, 0x69, 0xe6, 0x1f, 0xee, 0x6d, 0xd1, 0x82, 0xc3, - 0x96, 0xed, 0xac, 0x3e, 0x39, 0x72, 0xf6, 0x3b, 0x00, 0xa7, 0x6b, 0x5e, 0xa3, 0x47, 0x5f, 0xf5, - 0x0c, 0xde, 0xbb, 0xec, 0xbc, 0x3d, 0x62, 0x1e, 0x7c, 0xbe, 0xea, 0x40, 0xca, 0x2b, 0xcc, 0x28, - 0xe2, 0x92, 0x46, 0x94, 0x30, 0x13, 0xc0, 0xbd, 0x7d, 0x51, 0xaa, 0xff, 0xfc, 0x65, 0xef, 0x7d, - 0xf5, 0xad, 0xb7, 0x73, 0x91, 0xa6, 0xdf, 0x7b, 0x27, 0x17, 0xd6, 0x32, 0x2d, 0x14, 0xb2, 0x65, - 0x5b, 0x2d, 0x62, 0x94, 0x39, 0xe5, 0x4f, 0xa7, 0x59, 0xa6, 0x85, 0x5a, 0x7a, 0xcd, 0x72, 0x11, - 0x2f, 0xbd, 0xe6, 0x57, 0xef, 0xd4, 0x6e, 0x24, 0x49, 0x5a, 0xa8, 0x24, 0xf1, 0xaa, 0x24, 0x59, - 0xc4, 0x49, 0xe2, 0x75, 0xab, 0x81, 0x09, 0xfb, 0xe6, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x89, - 0xac, 0x9b, 0xd2, 0x11, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_experiment.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_experiment.pb.go deleted file mode 100644 index eef41217..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_experiment.pb.go +++ /dev/null @@ -1,242 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/campaign_experiment.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// An A/B experiment that compares the performance of the base campaign -// (the control) and a variation of that campaign (the experiment). -type CampaignExperiment struct { - // The resource name of the campaign experiment. - // Campaign experiment resource names have the form: - // - // `customers/{customer_id}/campaignExperiments/{campaign_experiment_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The ID of the campaign experiment. - // - // This field is read-only. - Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // The campaign draft with staged changes to the base campaign. - CampaignDraft *wrappers.StringValue `protobuf:"bytes,3,opt,name=campaign_draft,json=campaignDraft,proto3" json:"campaign_draft,omitempty"` - // The name of the campaign experiment. - // - // This field is required when creating new campaign experiments - // and must not conflict with the name of another non-removed - // campaign experiment or campaign. - // - // 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 description of the experiment. - Description *wrappers.StringValue `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` - // Share of traffic directed to experiment as a percent (must be between 1 and - // 99 inclusive. Base campaign receives the remainder of the traffic - // (100 - traffic_split_percent). Required for create. - TrafficSplitPercent *wrappers.Int64Value `protobuf:"bytes,6,opt,name=traffic_split_percent,json=trafficSplitPercent,proto3" json:"traffic_split_percent,omitempty"` - // Determines the behavior of the traffic split. - TrafficSplitType enums.CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType `protobuf:"varint,7,opt,name=traffic_split_type,json=trafficSplitType,proto3,enum=google.ads.googleads.v2.enums.CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType" json:"traffic_split_type,omitempty"` - // The experiment campaign, as opposed to the base campaign. - ExperimentCampaign *wrappers.StringValue `protobuf:"bytes,8,opt,name=experiment_campaign,json=experimentCampaign,proto3" json:"experiment_campaign,omitempty"` - // The status of the campaign experiment. This field is read-only. - Status enums.CampaignExperimentStatusEnum_CampaignExperimentStatus `protobuf:"varint,9,opt,name=status,proto3,enum=google.ads.googleads.v2.enums.CampaignExperimentStatusEnum_CampaignExperimentStatus" json:"status,omitempty"` - // The resource name of the long-running operation that can be used to poll - // for completion of experiment create or promote. The most recent long - // running operation is returned. - LongRunningOperation *wrappers.StringValue `protobuf:"bytes,10,opt,name=long_running_operation,json=longRunningOperation,proto3" json:"long_running_operation,omitempty"` - // Date when the campaign experiment starts. By default, the experiment starts - // now or on the campaign's start date, whichever is later. If this field is - // set, then the experiment starts at the beginning of the specified date in - // the customer's time zone. Cannot be changed once the experiment starts. - // - // Format: YYYY-MM-DD - // Example: 2019-03-14 - StartDate *wrappers.StringValue `protobuf:"bytes,11,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` - // Date when the campaign experiment ends. By default, the experiment ends on - // the campaign's end date. If this field is set, then the experiment ends at - // the end of the specified date in the customer's time zone. - // - // Format: YYYY-MM-DD - // Example: 2019-04-18 - EndDate *wrappers.StringValue `protobuf:"bytes,12,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 *CampaignExperiment) Reset() { *m = CampaignExperiment{} } -func (m *CampaignExperiment) String() string { return proto.CompactTextString(m) } -func (*CampaignExperiment) ProtoMessage() {} -func (*CampaignExperiment) Descriptor() ([]byte, []int) { - return fileDescriptor_66c159186d7fb4e4, []int{0} -} - -func (m *CampaignExperiment) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CampaignExperiment.Unmarshal(m, b) -} -func (m *CampaignExperiment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CampaignExperiment.Marshal(b, m, deterministic) -} -func (m *CampaignExperiment) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignExperiment.Merge(m, src) -} -func (m *CampaignExperiment) XXX_Size() int { - return xxx_messageInfo_CampaignExperiment.Size(m) -} -func (m *CampaignExperiment) XXX_DiscardUnknown() { - xxx_messageInfo_CampaignExperiment.DiscardUnknown(m) -} - -var xxx_messageInfo_CampaignExperiment proto.InternalMessageInfo - -func (m *CampaignExperiment) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *CampaignExperiment) GetId() *wrappers.Int64Value { - if m != nil { - return m.Id - } - return nil -} - -func (m *CampaignExperiment) GetCampaignDraft() *wrappers.StringValue { - if m != nil { - return m.CampaignDraft - } - return nil -} - -func (m *CampaignExperiment) GetName() *wrappers.StringValue { - if m != nil { - return m.Name - } - return nil -} - -func (m *CampaignExperiment) GetDescription() *wrappers.StringValue { - if m != nil { - return m.Description - } - return nil -} - -func (m *CampaignExperiment) GetTrafficSplitPercent() *wrappers.Int64Value { - if m != nil { - return m.TrafficSplitPercent - } - return nil -} - -func (m *CampaignExperiment) GetTrafficSplitType() enums.CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType { - if m != nil { - return m.TrafficSplitType - } - return enums.CampaignExperimentTrafficSplitTypeEnum_UNSPECIFIED -} - -func (m *CampaignExperiment) GetExperimentCampaign() *wrappers.StringValue { - if m != nil { - return m.ExperimentCampaign - } - return nil -} - -func (m *CampaignExperiment) GetStatus() enums.CampaignExperimentStatusEnum_CampaignExperimentStatus { - if m != nil { - return m.Status - } - return enums.CampaignExperimentStatusEnum_UNSPECIFIED -} - -func (m *CampaignExperiment) GetLongRunningOperation() *wrappers.StringValue { - if m != nil { - return m.LongRunningOperation - } - return nil -} - -func (m *CampaignExperiment) GetStartDate() *wrappers.StringValue { - if m != nil { - return m.StartDate - } - return nil -} - -func (m *CampaignExperiment) GetEndDate() *wrappers.StringValue { - if m != nil { - return m.EndDate - } - return nil -} - -func init() { - proto.RegisterType((*CampaignExperiment)(nil), "google.ads.googleads.v2.resources.CampaignExperiment") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/campaign_experiment.proto", fileDescriptor_66c159186d7fb4e4) -} - -var fileDescriptor_66c159186d7fb4e4 = []byte{ - // 583 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xdb, 0x6a, 0xd5, 0x4c, - 0x14, 0xc7, 0x49, 0xda, 0xaf, 0x87, 0xe9, 0x81, 0x8f, 0xa9, 0x87, 0x50, 0x8b, 0xb4, 0x4a, 0xa1, - 0x20, 0x4c, 0x24, 0x8a, 0x42, 0x0a, 0x85, 0xdd, 0x03, 0x45, 0x41, 0x5b, 0xd2, 0xb2, 0x2f, 0x64, - 0x43, 0x98, 0x66, 0x66, 0xc7, 0x81, 0x64, 0x66, 0x98, 0x99, 0x54, 0x7b, 0xef, 0xb5, 0x97, 0x3e, - 0x80, 0x97, 0x3e, 0x8a, 0x8f, 0xe2, 0x53, 0x48, 0x32, 0x99, 0x58, 0xdd, 0x6e, 0x9b, 0xde, 0xad, - 0x64, 0xfe, 0xbf, 0xf5, 0x9f, 0xb5, 0x66, 0xb1, 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 0x1f, 0x62, 0x43, 0xe1, 0x4b, 0xb0, 0x40, 0x39, 0xb1, 0xe8, 0x72, 0x0f, 0x74, - 0x9e, 0x72, 0x52, 0x83, 0xfb, 0x9f, 0x7c, 0xb0, 0x9d, 0x89, 0x12, 0xdd, 0xb8, 0x84, 0xf6, 0xef, - 0x4f, 0x76, 0xe5, 0xb4, 0x4e, 0x7d, 0xea, 0xbd, 0x6b, 0xf7, 0x0b, 0xca, 0x45, 0x81, 0x79, 0x8e, - 0x84, 0xca, 0xc3, 0x9c, 0xf2, 0xc6, 0xd8, 0xed, 0x1b, 0xc9, 0xf4, 0x3f, 0xd6, 0xe3, 0x6e, 0x17, - 0x7d, 0xf5, 0x67, 0x8e, 0x07, 0x83, 0x6f, 0xfe, 0xd6, 0xb1, 0x4d, 0x39, 0x20, 0x1a, 0xd9, 0xb0, - 0x8e, 0x86, 0x11, 0x4a, 0x9c, 0xf2, 0xbb, 0xd3, 0x8c, 0x06, 0x44, 0x8f, 0x3a, 0xcd, 0x68, 0x18, - 0x8d, 0x3a, 0xcd, 0x0f, 0x7f, 0xdb, 0x1e, 0xc4, 0xf1, 0x80, 0xe8, 0x38, 0xee, 0x54, 0x71, 0x3c, - 0x8c, 0xe2, 0xb8, 0xd3, 0x5d, 0xcc, 0x35, 0x97, 0x7d, 0xf6, 0x33, 0x00, 0x00, 0xff, 0xff, 0xb6, - 0xaf, 0xc0, 0xeb, 0xca, 0x05, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_extension_setting.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_extension_setting.pb.go deleted file mode 100644 index 6f906243..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_extension_setting.pb.go +++ /dev/null @@ -1,152 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/campaign_extension_setting.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A campaign extension setting. -type CampaignExtensionSetting struct { - // The resource name of the campaign extension setting. - // CampaignExtensionSetting resource names have the form: - // - // `customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The extension type of the customer extension setting. - ExtensionType enums.ExtensionTypeEnum_ExtensionType `protobuf:"varint,2,opt,name=extension_type,json=extensionType,proto3,enum=google.ads.googleads.v2.enums.ExtensionTypeEnum_ExtensionType" json:"extension_type,omitempty"` - // The resource name of the campaign. The linked extension feed items will - // serve under this campaign. - // Campaign resource names have the form: - // - // `customers/{customer_id}/campaigns/{campaign_id}` - Campaign *wrappers.StringValue `protobuf:"bytes,3,opt,name=campaign,proto3" json:"campaign,omitempty"` - // The resource names of the extension feed items to serve under the campaign. - // ExtensionFeedItem resource names have the form: - // - // `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - ExtensionFeedItems []*wrappers.StringValue `protobuf:"bytes,4,rep,name=extension_feed_items,json=extensionFeedItems,proto3" json:"extension_feed_items,omitempty"` - // The device for which the extensions will serve. Optional. - Device enums.ExtensionSettingDeviceEnum_ExtensionSettingDevice `protobuf:"varint,5,opt,name=device,proto3,enum=google.ads.googleads.v2.enums.ExtensionSettingDeviceEnum_ExtensionSettingDevice" json:"device,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CampaignExtensionSetting) Reset() { *m = CampaignExtensionSetting{} } -func (m *CampaignExtensionSetting) String() string { return proto.CompactTextString(m) } -func (*CampaignExtensionSetting) ProtoMessage() {} -func (*CampaignExtensionSetting) Descriptor() ([]byte, []int) { - return fileDescriptor_77c0088025688f33, []int{0} -} - -func (m *CampaignExtensionSetting) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CampaignExtensionSetting.Unmarshal(m, b) -} -func (m *CampaignExtensionSetting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CampaignExtensionSetting.Marshal(b, m, deterministic) -} -func (m *CampaignExtensionSetting) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignExtensionSetting.Merge(m, src) -} -func (m *CampaignExtensionSetting) XXX_Size() int { - return xxx_messageInfo_CampaignExtensionSetting.Size(m) -} -func (m *CampaignExtensionSetting) XXX_DiscardUnknown() { - xxx_messageInfo_CampaignExtensionSetting.DiscardUnknown(m) -} - -var xxx_messageInfo_CampaignExtensionSetting proto.InternalMessageInfo - -func (m *CampaignExtensionSetting) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *CampaignExtensionSetting) GetExtensionType() enums.ExtensionTypeEnum_ExtensionType { - if m != nil { - return m.ExtensionType - } - return enums.ExtensionTypeEnum_UNSPECIFIED -} - -func (m *CampaignExtensionSetting) GetCampaign() *wrappers.StringValue { - if m != nil { - return m.Campaign - } - return nil -} - -func (m *CampaignExtensionSetting) GetExtensionFeedItems() []*wrappers.StringValue { - if m != nil { - return m.ExtensionFeedItems - } - return nil -} - -func (m *CampaignExtensionSetting) GetDevice() enums.ExtensionSettingDeviceEnum_ExtensionSettingDevice { - if m != nil { - return m.Device - } - return enums.ExtensionSettingDeviceEnum_UNSPECIFIED -} - -func init() { - proto.RegisterType((*CampaignExtensionSetting)(nil), "google.ads.googleads.v2.resources.CampaignExtensionSetting") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/campaign_extension_setting.proto", fileDescriptor_77c0088025688f33) -} - -var fileDescriptor_77c0088025688f33 = []byte{ - // 444 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0x41, 0x6e, 0xd4, 0x30, - 0x14, 0x55, 0x32, 0x50, 0x41, 0xa0, 0x5d, 0x44, 0x2c, 0xa2, 0xaa, 0xa0, 0x29, 0xa8, 0xd2, 0xac, - 0x1c, 0xc9, 0x6c, 0x90, 0x41, 0x48, 0x19, 0x28, 0x15, 0x2c, 0xaa, 0x51, 0x8a, 0x66, 0x81, 0x46, - 0x8a, 0xdc, 0xf1, 0xaf, 0xb1, 0x34, 0xb1, 0xad, 0xd8, 0x19, 0xe8, 0x15, 0x38, 0x02, 0x4b, 0x96, - 0x1c, 0x85, 0xa3, 0x70, 0x0a, 0x34, 0x71, 0x6c, 0x88, 0xd0, 0xb4, 0xb3, 0x7b, 0xf1, 0x7f, 0xef, - 0xfd, 0xff, 0xfc, 0x9d, 0x64, 0xca, 0x95, 0xe2, 0x2b, 0xc8, 0x29, 0x33, 0xb9, 0x83, 0x1b, 0xb4, - 0xc6, 0x79, 0x03, 0x46, 0xb5, 0xcd, 0x12, 0x4c, 0xbe, 0xa4, 0xb5, 0xa6, 0x82, 0xcb, 0x0a, 0xbe, - 0x5a, 0x90, 0x46, 0x28, 0x59, 0x19, 0xb0, 0x56, 0x48, 0x8e, 0x74, 0xa3, 0xac, 0x4a, 0x8f, 0x9d, - 0x10, 0x51, 0x66, 0x50, 0xf0, 0x40, 0x6b, 0x8c, 0x82, 0xc7, 0xe1, 0xab, 0x6d, 0x6d, 0x40, 0xb6, - 0xb5, 0xc9, 0xff, 0x73, 0xae, 0x18, 0xac, 0xc5, 0x12, 0x5c, 0x83, 0x43, 0xbc, 0xab, 0xda, 0x5e, - 0x6b, 0xaf, 0x79, 0xd2, 0x6b, 0xba, 0xa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x36, 0xa9, 0x66, 0xd1, - 0xa7, 0x0f, 0xbd, 0x07, 0x57, 0x2b, 0x2a, 0x39, 0x52, 0x0d, 0xcf, 0x39, 0xc8, 0x2e, 0xb3, 0x7f, - 0x69, 0x5a, 0x98, 0x1b, 0xfe, 0x8e, 0x97, 0x01, 0xfd, 0x88, 0x47, 0x67, 0x45, 0xf1, 0x33, 0x3e, - 0x3e, 0x73, 0x96, 0x05, 0x33, 0xc8, 0xc1, 0x0d, 0x9a, 0x63, 0x54, 0x7a, 0xe6, 0x2f, 0xcf, 0x59, - 0x14, 0xcc, 0x2c, 0x02, 0x67, 0x31, 0xc7, 0x8b, 0xc0, 0xf9, 0x1d, 0x9f, 0xb8, 0x02, 0x21, 0x05, - 0x33, 0x84, 0x04, 0x16, 0x21, 0x73, 0x4c, 0x48, 0xe0, 0x5d, 0xee, 0x75, 0xc3, 0x3e, 0xff, 0x13, - 0x00, 0x00, 0xff, 0xff, 0xc4, 0x74, 0xc4, 0x04, 0xc9, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_feed.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_feed.pb.go deleted file mode 100644 index 4653c7a4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_feed.pb.go +++ /dev/null @@ -1,162 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/campaign_feed.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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.v2.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.v2.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_0d62b83685c9f63e, []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 (m *CampaignFeed) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignFeed.Merge(m, 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.v2.resources.CampaignFeed") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/campaign_feed.proto", fileDescriptor_0d62b83685c9f63e) -} - -var fileDescriptor_0d62b83685c9f63e = []byte{ - // 483 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, 0x8a, 0x6c, 0x95, 0xc2, 0x5e, - 0xcd, 0x94, 0xf8, 0x81, 0xc4, 0x1b, 0xb3, 0x62, 0x0b, 0xa2, 0xb2, 0xa4, 0xb2, 0x88, 0xac, 0x84, - 0x69, 0x72, 0x76, 0x1a, 0x9a, 0xf9, 0x20, 0x93, 0x54, 0xfa, 0x3a, 0x5e, 0xfa, 0x26, 0xfa, 0x28, - 0x3e, 0x84, 0x48, 0x92, 0x99, 0x68, 0x57, 0xd2, 0xee, 0xdd, 0xd9, 0x33, 0xff, 0xdf, 0xd9, 0x73, - 0xce, 0xff, 0x04, 0x3d, 0x63, 0x52, 0xb2, 0x1c, 0x08, 0x4d, 0x35, 0x69, 0xc3, 0x3a, 0xba, 0xf4, - 0x49, 0x01, 0x5a, 0x56, 0x45, 0x02, 0x9a, 0x24, 0x94, 0x2b, 0x9a, 0x31, 0x11, 0xaf, 0x00, 0x52, - 0xac, 0x0a, 0x59, 0x4a, 0xf7, 0xa0, 0xd5, 0x62, 0x9a, 0x6a, 0xdc, 0x61, 0xf8, 0xd2, 0xc7, 0x1d, - 0xb6, 0xf7, 0xbc, 0xaf, 0x72, 0x22, 0x39, 0x97, 0x82, 0x70, 0x5a, 0x26, 0xe7, 0x99, 0x60, 0xf1, - 0xaa, 0x12, 0x49, 0x99, 0x49, 0xd1, 0x96, 0xde, 0x7b, 0xda, 0xc7, 0x81, 0xa8, 0xb8, 0x26, 0x75, - 0x13, 0x71, 0x9e, 0x89, 0x8b, 0x58, 0x97, 0xb4, 0xac, 0xf4, 0x66, 0x94, 0xca, 0x69, 0x02, 0xe7, - 0x32, 0x4f, 0xa1, 0x88, 0xcb, 0x2b, 0x05, 0x86, 0x7a, 0x68, 0xa8, 0xe6, 0xd7, 0x59, 0xb5, 0x22, - 0x5f, 0x0b, 0xaa, 0x14, 0x14, 0xb6, 0xea, 0xbe, 0xad, 0xaa, 0x32, 0x42, 0x85, 0x90, 0x25, 0xad, - 0x1b, 0x35, 0xaf, 0x8f, 0x7e, 0x0c, 0xd1, 0xf6, 0x6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59, 0x30, 0xc2, 0x40, - 0x34, 0xee, 0xd8, 0x73, 0x54, 0x99, 0xbe, 0xe1, 0x2b, 0x7b, 0xd9, 0x45, 0xdf, 0x06, 0xc3, 0x93, - 0x30, 0xfc, 0x3e, 0x38, 0x38, 0x69, 0x4b, 0x86, 0xa9, 0xc6, 0x6d, 0x58, 0x47, 0x0b, 0x1f, 0x47, - 0x56, 0xf9, 0xd3, 0x6a, 0x96, 0x61, 0xaa, 0x97, 0x9d, 0x66, 0xb9, 0xf0, 0x97, 0x9d, 0xe6, 0xd7, - 0xe0, 0xb0, 0x7d, 0x08, 0x82, 0x30, 0xd5, 0x41, 0xd0, 0xa9, 0x82, 0x60, 0xe1, 0x07, 0x41, 0xa7, - 0x3b, 0x1b, 0x35, 0xcd, 0x3e, 0xf9, 0x13, 0x00, 0x00, 0xff, 0xff, 0xbb, 0xa4, 0x8e, 0xc8, 0x11, - 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_label.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_label.pb.go deleted file mode 100644 index fb20a2f3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_label.pb.go +++ /dev/null @@ -1,118 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/campaign_label.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Represents a relationship between a campaign and a label. -type CampaignLabel struct { - // Name of the resource. - // Campaign label resource names have the form: - // `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The campaign to which the label is attached. - Campaign *wrappers.StringValue `protobuf:"bytes,2,opt,name=campaign,proto3" json:"campaign,omitempty"` - // The label assigned to the campaign. - Label *wrappers.StringValue `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CampaignLabel) Reset() { *m = CampaignLabel{} } -func (m *CampaignLabel) String() string { return proto.CompactTextString(m) } -func (*CampaignLabel) ProtoMessage() {} -func (*CampaignLabel) Descriptor() ([]byte, []int) { - return fileDescriptor_1a6c77ba70ba8330, []int{0} -} - -func (m *CampaignLabel) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CampaignLabel.Unmarshal(m, b) -} -func (m *CampaignLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CampaignLabel.Marshal(b, m, deterministic) -} -func (m *CampaignLabel) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignLabel.Merge(m, src) -} -func (m *CampaignLabel) XXX_Size() int { - return xxx_messageInfo_CampaignLabel.Size(m) -} -func (m *CampaignLabel) XXX_DiscardUnknown() { - xxx_messageInfo_CampaignLabel.DiscardUnknown(m) -} - -var xxx_messageInfo_CampaignLabel proto.InternalMessageInfo - -func (m *CampaignLabel) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *CampaignLabel) GetCampaign() *wrappers.StringValue { - if m != nil { - return m.Campaign - } - return nil -} - -func (m *CampaignLabel) GetLabel() *wrappers.StringValue { - if m != nil { - return m.Label - } - return nil -} - -func init() { - proto.RegisterType((*CampaignLabel)(nil), "google.ads.googleads.v2.resources.CampaignLabel") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/campaign_label.proto", fileDescriptor_1a6c77ba70ba8330) -} - -var fileDescriptor_1a6c77ba70ba8330 = []byte{ - // 322 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xcf, 0x4a, 0xc3, 0x30, - 0x1c, 0xc7, 0x69, 0x87, 0xa2, 0xd5, 0x5d, 0x7a, 0x1a, 0x63, 0xc8, 0xa6, 0x0c, 0x76, 0x4a, 0x20, - 0x82, 0x48, 0x3c, 0x75, 0x1e, 0x06, 0x22, 0x32, 0x26, 0xf4, 0x20, 0x85, 0xf1, 0xdb, 0x1a, 0x43, - 0xa1, 0x4d, 0x42, 0xd2, 0xcd, 0xf7, 0xd9, 0xd1, 0x47, 0xf1, 0x51, 0x7c, 0x09, 0xa5, 0x4d, 0x13, - 0xf0, 0xa2, 0xde, 0xbe, 0x34, 0x9f, 0xef, 0x9f, 0x34, 0xd1, 0x0d, 0x97, 0x92, 0x97, 0x0c, 0x43, - 0x6e, 0xb0, 0x95, 0x8d, 0xda, 0x13, 0xac, 0x99, 0x91, 0x3b, 0xbd, 0x65, 0x06, 0x6f, 0xa1, 0x52, - 0x50, 0x70, 0xb1, 0x2e, 0x61, 0xc3, 0x4a, 0xa4, 0xb4, 0xac, 0x65, 0x3c, 0xb1, 0x30, 0x82, 0xdc, - 0x20, 0xef, 0x43, 0x7b, 0x82, 0xbc, 0x6f, 0x78, 0xd1, 0x45, 0xb7, 0x86, 0xcd, 0xee, 0x15, 0xbf, - 0x69, 0x50, 0x8a, 0x69, 0x63, 0x23, 0x86, 0x23, 0x57, 0xad, 0x0a, 0x0c, 0x42, 0xc8, 0x1a, 0xea, - 0x42, 0x8a, 0xee, 0xf4, 0xf2, 0x10, 0x44, 0xfd, 0xfb, 0xae, 0xf9, 0xb1, 0x29, 0x8e, 0xaf, 0xa2, - 0xbe, 0x0b, 0x5f, 0x0b, 0xa8, 0xd8, 0x20, 0x18, 0x07, 0xb3, 0xd3, 0xd5, 0xb9, 0xfb, 0xf8, 0x04, - 0x15, 0x8b, 0x6f, 0xa3, 0x13, 0xb7, 0x77, 0x10, 0x8e, 0x83, 0xd9, 0x19, 0x19, 0x75, 0xfb, 0x90, - 0xdb, 0x81, 0x9e, 0x6b, 0x5d, 0x08, 0x9e, 0x42, 0xb9, 0x63, 0x2b, 0x4f, 0xc7, 0x24, 0x3a, 0x6a, - 0x2f, 0x38, 0xe8, 0xfd, 0xc3, 0x66, 0xd1, 0xf9, 0x57, 0x10, 0x4d, 0xb7, 0xb2, 0x42, 0x7f, 0xfe, - 0x8c, 0x79, 0xfc, 0xe3, 0x2e, 0xcb, 0x26, 0x73, 0x19, 0xbc, 0x3c, 0x74, 0x46, 0x2e, 0x4b, 0x10, - 0x1c, 0x49, 0xcd, 0x31, 0x67, 0xa2, 0x6d, 0x74, 0xaf, 0xa1, 0x0a, 0xf3, 0xcb, 0xe3, 0xdc, 0x79, - 0x75, 0x08, 0x7b, 0x8b, 0x24, 0x79, 0x0f, 0x27, 0x0b, 0x1b, 0x99, 0xe4, 0x06, 0x59, 0xd9, 0xa8, - 0x94, 0xa0, 0x95, 0x23, 0x3f, 0x1c, 0x93, 0x25, 0xb9, 0xc9, 0x3c, 0x93, 0xa5, 0x24, 0xf3, 0xcc, - 0x67, 0x38, 0xb5, 0x07, 0x94, 0x26, 0xb9, 0xa1, 0xd4, 0x53, 0x94, 0xa6, 0x84, 0x52, 0xcf, 0x6d, - 0x8e, 0xdb, 0xb1, 0xd7, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x04, 0xee, 0x34, 0x00, 0x48, 0x02, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_shared_set.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_shared_set.pb.go deleted file mode 100644 index aba052cc..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/campaign_shared_set.pb.go +++ /dev/null @@ -1,138 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/campaign_shared_set.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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.v2.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_799fb2d64e95762f, []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 (m *CampaignSharedSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignSharedSet.Merge(m, 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.v2.resources.CampaignSharedSet") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/campaign_shared_set.proto", fileDescriptor_799fb2d64e95762f) -} - -var fileDescriptor_799fb2d64e95762f = []byte{ - // 384 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0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a, 0xa6, 0x90, 0x5c, 0x0a, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/carrier_constant.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/carrier_constant.pb.go deleted file mode 100644 index 73170371..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/carrier_constant.pb.go +++ /dev/null @@ -1,131 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/carrier_constant.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // 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_957973bfe45b6adb, []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 (m *CarrierConstant) XXX_Merge(src proto.Message) { - xxx_messageInfo_CarrierConstant.Merge(m, 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.v2.resources.CarrierConstant") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/carrier_constant.proto", fileDescriptor_957973bfe45b6adb) -} - -var fileDescriptor_957973bfe45b6adb = []byte{ - // 361 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xc1, 0x4a, 0xf3, 0x40, - 0x14, 0x85, 0x49, 0x5a, 0x7e, 0xf8, 0xd3, 0x8a, 0x10, 0x5c, 0x94, 0x5a, 0xa4, 0x55, 0x0a, 0x05, - 0x61, 0x22, 0x51, 0x44, 0xc6, 0x85, 0xa4, 0x5d, 0x14, 0x5d, 0x48, 0xa9, 0x90, 0x85, 0x04, 0xca, - 0x34, 0x33, 0x86, 0x40, 0x3b, 0x37, 0xcc, 0x4c, 0x2a, 0x2e, 0x7d, 0x15, 0x97, 0x3e, 0x8a, 0x0f, - 0xe0, 0x43, 0xf8, 0x14, 0xd2, 0x4c, 0x66, 0x16, 0x0a, 0xea, 0xee, 0x90, 0xfb, 0x9d, 0x73, 0x6e, - 0xe6, 0x7a, 0x17, 0x19, 0x40, 0xb6, 0x62, 0x01, 0xa1, 0x32, 0xd0, 0x72, 0xab, 0x36, 0x61, 0x20, - 0x98, 0x84, 0x52, 0xa4, 0x4c, 0x06, 0x29, 0x11, 0x22, 0x67, 0x62, 0x91, 0x02, 0x97, 0x8a, 0x70, - 0x85, 0x0a, 0x01, 0x0a, 0xfc, 0x81, 0xc6, 0x11, 0xa1, 0x12, 0x59, 0x27, 0xda, 0x84, 0xc8, 0x3a, - 0xbb, 0x07, 0x75, 0x78, 0x65, 0x58, 0x96, 0x0f, 0xc1, 0xa3, 0x20, 0x45, 0xc1, 0x84, 0xd4, 0x11, - 0xdd, 0x9e, 0x29, 0x2f, 0xf2, 0x80, 0x70, 0x0e, 0x8a, 0xa8, 0x1c, 0x78, 0x3d, 0x3d, 0x7c, 0x77, - 0xbc, 0xdd, 0x89, 0xee, 0x9e, 0xd4, 0xd5, 0xfe, 0x91, 0xb7, 0x63, 0xe2, 0x17, 0x9c, 0xac, 0x59, - 0xc7, 0xe9, 0x3b, 0xa3, 0xff, 0xf3, 0xb6, 0xf9, 0x78, 0x4b, 0xd6, 0xcc, 0x3f, 0xf6, 0xdc, 0x9c, - 0x76, 0xdc, 0xbe, 0x33, 0x6a, 0x85, 0xfb, 0xf5, 0x6e, 0xc8, 0xec, 0x80, 0xae, 0xb9, 0x3a, 0x3f, - 0x8b, 0xc9, 0xaa, 0x64, 0x73, 0x37, 0xa7, 0xfe, 0x89, 0xd7, 0xac, 0x82, 0x1a, 0x15, 0xde, 0xfb, - 0x86, 0xdf, 0x29, 0x91, 0xf3, 0x4c, 0xf3, 0x15, 0xe9, 0x5f, 0x79, 0xed, 0x14, 0x4a, 0xae, 0xc4, - 0xd3, 0x22, 0x05, 0xca, 0x3a, 0xcd, 0x3f, 0x38, 0x5b, 0xb5, 0x63, 0x02, 0x94, 0x8d, 0x9f, 0x5d, - 0x6f, 0x98, 0xc2, 0x1a, 0xfd, 0xfa, 0x80, 0xe3, 0xbd, 0x2f, 0xff, 0x3f, 0xdb, 0x66, 0xcf, 0x9c, - 0xfb, 0x9b, 0xda, 0x9a, 0xc1, 0x8a, 0xf0, 0x0c, 0x81, 0xc8, 0x82, 0x8c, 0xf1, 0xaa, 0xd9, 0x5c, - 0xb1, 0xc8, 0xe5, 0x0f, 0x47, 0xbd, 0xb4, 0xea, 0xc5, 0x6d, 0x4c, 0xa3, 0xe8, 0xd5, 0x1d, 0x4c, - 0x75, 0x64, 0x44, 0x25, 0xd2, 0x72, 0xab, 0xe2, 0x10, 0xcd, 0x0d, 0xf9, 0x66, 0x98, 0x24, 0xa2, - 0x32, 0xb1, 0x4c, 0x12, 0x87, 0x89, 0x65, 0x3e, 0xdc, 0xa1, 0x1e, 0x60, 0x1c, 0x51, 0x89, 0xb1, - 0xa5, 0x30, 0x8e, 0x43, 0x8c, 0x2d, 0xb7, 0xfc, 0x57, 0x2d, 0x7b, 0xfa, 0x19, 0x00, 0x00, 0xff, - 0xff, 0xaa, 0x52, 0x3d, 0xfd, 0x80, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/change_status.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/change_status.pb.go deleted file mode 100644 index 20ef4d95..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/change_status.pb.go +++ /dev/null @@ -1,238 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/change_status.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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.v2.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.v2.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"` - // The Feed affected by this change. - Feed *wrappers.StringValue `protobuf:"bytes,12,opt,name=feed,proto3" json:"feed,omitempty"` - // The FeedItem affected by this change. - FeedItem *wrappers.StringValue `protobuf:"bytes,13,opt,name=feed_item,json=feedItem,proto3" json:"feed_item,omitempty"` - // The AdGroupFeed affected by this change. - AdGroupFeed *wrappers.StringValue `protobuf:"bytes,14,opt,name=ad_group_feed,json=adGroupFeed,proto3" json:"ad_group_feed,omitempty"` - // The CampaignFeed affected by this change. - CampaignFeed *wrappers.StringValue `protobuf:"bytes,15,opt,name=campaign_feed,json=campaignFeed,proto3" json:"campaign_feed,omitempty"` - // The AdGroupBidModifier affected by this change. - AdGroupBidModifier *wrappers.StringValue `protobuf:"bytes,16,opt,name=ad_group_bid_modifier,json=adGroupBidModifier,proto3" json:"ad_group_bid_modifier,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_edc122555564308c, []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 (m *ChangeStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChangeStatus.Merge(m, 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 (m *ChangeStatus) GetFeed() *wrappers.StringValue { - if m != nil { - return m.Feed - } - return nil -} - -func (m *ChangeStatus) GetFeedItem() *wrappers.StringValue { - if m != nil { - return m.FeedItem - } - return nil -} - -func (m *ChangeStatus) GetAdGroupFeed() *wrappers.StringValue { - if m != nil { - return m.AdGroupFeed - } - return nil -} - -func (m *ChangeStatus) GetCampaignFeed() *wrappers.StringValue { - if m != nil { - return m.CampaignFeed - } - return nil -} - -func (m *ChangeStatus) GetAdGroupBidModifier() *wrappers.StringValue { - if m != nil { - return m.AdGroupBidModifier - } - return nil -} - -func init() { - proto.RegisterType((*ChangeStatus)(nil), "google.ads.googleads.v2.resources.ChangeStatus") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/change_status.proto", fileDescriptor_edc122555564308c) -} - -var fileDescriptor_edc122555564308c = []byte{ - // 602 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xdd, 0x6a, 0x14, 0x3f, - 0x14, 0x67, 0xda, 0xfe, 0xfb, 0xdf, 0xcd, 0xee, 0xf6, 0x23, 0x50, 0x18, 0x4a, 0x91, 0x56, 0x29, - 0xf4, 0x2a, 0x23, 0x23, 0xa2, 0x4e, 0x05, 0x9d, 0x56, 0x2d, 0x56, 0x6c, 0xcb, 0xb6, 0xec, 0x85, - 0x2c, 0x0c, 0xe9, 0x26, 0x1d, 0x03, 0x3b, 0xc9, 0x90, 0x64, 0x5a, 0xfa, 0x00, 0xbe, 0x88, 0x97, - 0x3e, 0x8a, 0x8f, 0xe2, 0x43, 0x88, 0x4c, 0x26, 0x49, 0x17, 0x65, 0x75, 0x7a, 0xb5, 0x67, 0xf6, - 0xfc, 0xbe, 0xce, 0xc9, 0x4c, 0xc0, 0xd3, 0x5c, 0x88, 0x7c, 0x4a, 0x23, 0x4c, 0x54, 0xd4, 0x94, - 0x75, 0x75, 0x1d, 0x47, 0x92, 0x2a, 0x51, 0xc9, 0x09, 0x55, 0xd1, 0xe4, 0x33, 0xe6, 0x39, 0xcd, - 0x94, 0xc6, 0xba, 0x52, 0xa8, 0x94, 0x42, 0x0b, 0xb8, 0xd3, 0x60, 0x11, 0x26, 0x0a, 0x79, 0x1a, - 0xba, 0x8e, 0x91, 0xa7, 0x6d, 0xee, 0xcf, 0x53, 0xa6, 0xbc, 0x2a, 0x7e, 0x53, 0xcd, 0x44, 0x49, - 0x25, 0xd6, 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x8b, 0x29, - 0xe6, 0x39, 0x12, 0x32, 0x8f, 0x72, 0xca, 0x8d, 0xbb, 0xbb, 0xd5, 0x4a, 0xa6, 0xfe, 0x72, 0xf7, - 0xee, 0xfb, 0xea, 0xeb, 0xc2, 0xe2, 0x51, 0x9a, 0x7e, 0x5b, 0xd8, 0x39, 0x6a, 0x24, 0x53, 0xa2, - 0x50, 0x53, 0xd6, 0xd5, 0x28, 0x46, 0xee, 0x5b, 0x56, 0xdf, 0x1d, 0x66, 0x9c, 0x12, 0x35, 0xf6, - 0x98, 0xf1, 0x28, 0x1e, 0x7b, 0xcc, 0x8f, 0x85, 0xdd, 0xa6, 0x91, 0x24, 0x29, 0x51, 0x49, 0xe2, - 0x51, 0x49, 0x32, 0x8a, 0x93, 0xc4, 0xe3, 0x2e, 0x97, 0x4d, 0xd8, 0x27, 0xbf, 0x02, 0x00, 0x00, - 0xff, 0xff, 0x47, 0x4a, 0x30, 0xf6, 0x27, 0x06, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/click_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/click_view.pb.go deleted file mode 100644 index deb368e2..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/click_view.pb.go +++ /dev/null @@ -1,158 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/click_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A click view with metrics aggregated at each click level, including both -// valid and invalid clicks. For non-Search campaigns, metrics.clicks -// represents the number of valid and invalid interactions. -type ClickView struct { - // The resource name of the click view. - // Click view resource names have the form: - // - // `customers/{customer_id}/clickViews/{date (yyyy-MM-dd)}~{gclid}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The Google Click ID. - Gclid *wrappers.StringValue `protobuf:"bytes,2,opt,name=gclid,proto3" json:"gclid,omitempty"` - // The location criteria matching the area of interest associated with the - // impression. - AreaOfInterest *common.ClickLocation `protobuf:"bytes,3,opt,name=area_of_interest,json=areaOfInterest,proto3" json:"area_of_interest,omitempty"` - // The location criteria matching the location of presence associated with the - // impression. - LocationOfPresence *common.ClickLocation `protobuf:"bytes,4,opt,name=location_of_presence,json=locationOfPresence,proto3" json:"location_of_presence,omitempty"` - // Page number in search results where the ad was shown. - PageNumber *wrappers.Int64Value `protobuf:"bytes,5,opt,name=page_number,json=pageNumber,proto3" json:"page_number,omitempty"` - // The associated ad. - AdGroupAd *wrappers.StringValue `protobuf:"bytes,7,opt,name=ad_group_ad,json=adGroupAd,proto3" json:"ad_group_ad,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ClickView) Reset() { *m = ClickView{} } -func (m *ClickView) String() string { return proto.CompactTextString(m) } -func (*ClickView) ProtoMessage() {} -func (*ClickView) Descriptor() ([]byte, []int) { - return fileDescriptor_0b0611b0c8085235, []int{0} -} - -func (m *ClickView) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClickView.Unmarshal(m, b) -} -func (m *ClickView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClickView.Marshal(b, m, deterministic) -} -func (m *ClickView) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClickView.Merge(m, src) -} -func (m *ClickView) XXX_Size() int { - return xxx_messageInfo_ClickView.Size(m) -} -func (m *ClickView) XXX_DiscardUnknown() { - xxx_messageInfo_ClickView.DiscardUnknown(m) -} - -var xxx_messageInfo_ClickView proto.InternalMessageInfo - -func (m *ClickView) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *ClickView) GetGclid() *wrappers.StringValue { - if m != nil { - return m.Gclid - } - return nil -} - -func (m *ClickView) GetAreaOfInterest() *common.ClickLocation { - if m != nil { - return m.AreaOfInterest - } - return nil -} - -func (m *ClickView) GetLocationOfPresence() *common.ClickLocation { - if m != nil { - return m.LocationOfPresence - } - return nil -} - -func (m *ClickView) GetPageNumber() *wrappers.Int64Value { - if m != nil { - return m.PageNumber - } - return nil -} - -func (m *ClickView) GetAdGroupAd() *wrappers.StringValue { - if m != nil { - return m.AdGroupAd - } - return nil -} - -func init() { - proto.RegisterType((*ClickView)(nil), "google.ads.googleads.v2.resources.ClickView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/click_view.proto", fileDescriptor_0b0611b0c8085235) -} - -var fileDescriptor_0b0611b0c8085235 = []byte{ - // 448 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0x4f, 0x6b, 0xd4, 0x40, - 0x18, 0x87, 0xc9, 0xae, 0x55, 0x76, 0xaa, 0x45, 0x82, 0x87, 0x50, 0x8b, 0xb4, 0x4a, 0xa1, 0x17, - 0x27, 0x90, 0x8a, 0x87, 0xe8, 0x25, 0xf5, 0xb0, 0x54, 0xa4, 0x5d, 0x56, 0x88, 0x20, 0x0b, 0x61, - 0x36, 0xf3, 0xee, 0x30, 0x98, 0xcc, 0x84, 0x99, 0x64, 0xf7, 0xbb, 0x78, 0xf4, 0xe8, 0x47, 0xf1, - 0xa3, 0xf8, 0x15, 0xbc, 0xc8, 0x64, 0xfe, 0x5c, 0x64, 0x55, 0x7a, 0x7b, 0x93, 0x79, 0x7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0x8d, 0xe7, 0x0a, 0xbf, 0x6d, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/conversion_action.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/conversion_action.pb.go deleted file mode 100644 index 2b1074d4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/conversion_action.pb.go +++ /dev/null @@ -1,410 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/conversion_action.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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.v2.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.v2.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.v2.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.v2.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_1dd684865abc1516, []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 (m *ConversionAction) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConversionAction.Merge(m, 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.v2.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.v2.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_1dd684865abc1516, []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 (m *ConversionAction_AttributionModelSettings) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConversionAction_AttributionModelSettings.Merge(m, 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_1dd684865abc1516, []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 (m *ConversionAction_ValueSettings) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConversionAction_ValueSettings.Merge(m, 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.v2.resources.ConversionAction") - proto.RegisterType((*ConversionAction_AttributionModelSettings)(nil), "google.ads.googleads.v2.resources.ConversionAction.AttributionModelSettings") - proto.RegisterType((*ConversionAction_ValueSettings)(nil), "google.ads.googleads.v2.resources.ConversionAction.ValueSettings") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/conversion_action.proto", fileDescriptor_1dd684865abc1516) -} - -var fileDescriptor_1dd684865abc1516 = []byte{ - // 970 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xdd, 0x6e, 0xe3, 0x44, - 0x14, 0x56, 0xd2, 0x6e, 0xd9, 0x9d, 0x26, 0xd9, 0x32, 0xa8, 0x92, 0x95, 0xfd, 0x51, 0xbb, 0x68, - 0xa5, 0x0a, 0x24, 0x67, 0xe5, 0x05, 0x24, 0x02, 0x42, 0x72, 0x13, 0xb4, 0x2a, 0x6a, 0x57, 0x95, - 0x53, 0x8a, 0xb4, 0x0a, 0x1a, 0x26, 0x9e, 0xa9, 0x63, 0xd5, 0x9e, 0x31, 0x33, 0xe3, 0x44, 0xb9, - 0x84, 0x1b, 0x24, 0x5e, 0x80, 0x7b, 0x2e, 0x79, 0x03, 0x5e, 0x81, 0x47, 0xe1, 0x0d, 0xb8, 0x43, - 0x1e, 0x8f, 0xdd, 0x34, 0x89, 0x9b, 0x66, 0xef, 0x66, 0x7c, 0xce, 0xf7, 0x7d, 0xe7, 0x9c, 0x39, - 0x73, 0xc6, 0xe0, 0xcb, 0x80, 0xf3, 0x20, 0xa2, 0x1d, 0x4c, 0x64, 0x27, 0x5f, 0x66, 0xab, 0x89, - 0xd3, 0x11, 0x54, 0xf2, 0x54, 0xf8, 0x54, 0x76, 0x7c, 0xce, 0x26, 0x54, 0xc8, 0x90, 0x33, 0x84, - 0x7d, 0x15, 0x72, 0x66, 0x27, 0x82, 0x2b, 0x0e, 0x0f, 0x73, 0x7f, 0x1b, 0x13, 0x69, 0x97, 0x50, - 0x7b, 0xe2, 0xd8, 0x25, 0xb4, 0xfd, 0xaa, 0x8a, 0xdd, 0xe7, 0x71, 0xcc, 0x59, 0x47, 0xe1, 0x00, - 0x49, 0x16, 0x26, 0x09, 0x55, 0x39, 0x69, 0xfb, 0xf3, 0x2a, 0x04, 0x65, 0x69, 0x2c, 0x3b, 0x58, - 0x29, 0x11, 0x8e, 0xd2, 0x2c, 0x0a, 0x14, 0x73, 0x42, 0x23, 0x03, 0xfb, 0xe6, 0x6e, 0xd8, 0x52, - 0x0a, 0xc8, 0xc7, 0x8a, 0x06, 0x5c, 0xcc, 0x0c, 0xbe, 0xb7, 0x31, 0x9e, 0xa7, 0x4c, 0x85, 0x2c, - 0x40, 0x6a, 0x96, 0x50, 0x43, 0xf2, 0xf5, 0xa6, 0x24, 0x52, 0x61, 0x95, 0x4a, 0x83, 0xee, 0x6e, - 0x8a, 0xbe, 0xbf, 0x32, 0xc1, 0x0a, 0x23, 0x22, 0xc2, 0x09, 0x35, 0x55, 0xbb, 0xad, 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4a, 0x7a, 0x0f, 0x0b, 0x0b, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/custom_interest.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/custom_interest.pb.go deleted file mode 100644 index 705a7e62..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/custom_interest.pb.go +++ /dev/null @@ -1,227 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/custom_interest.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A custom interest. This is a list of users by interest. -type CustomInterest struct { - // The resource name of the custom interest. - // Custom interest resource names have the form: - // - // `customers/{customer_id}/customInterests/{custom_interest_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // Id of the custom interest. - Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // Status of this custom interest. Indicates whether the custom interest is - // enabled or removed. - Status enums.CustomInterestStatusEnum_CustomInterestStatus `protobuf:"varint,3,opt,name=status,proto3,enum=google.ads.googleads.v2.enums.CustomInterestStatusEnum_CustomInterestStatus" json:"status,omitempty"` - // Name of the custom interest. It should be unique across the same custom - // affinity audience. - // This field is required for create operations. - Name *wrappers.StringValue `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` - // Type of the custom interest, CUSTOM_AFFINITY or CUSTOM_INTENT. - // By default the type is set to CUSTOM_AFFINITY. - Type enums.CustomInterestTypeEnum_CustomInterestType `protobuf:"varint,5,opt,name=type,proto3,enum=google.ads.googleads.v2.enums.CustomInterestTypeEnum_CustomInterestType" json:"type,omitempty"` - // Description of this custom interest audience. - Description *wrappers.StringValue `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` - // List of custom interest members that this custom interest is composed of. - // Members can be added during CustomInterest creation. If members are - // presented in UPDATE operation, existing members will be overridden. - Members []*CustomInterestMember `protobuf:"bytes,7,rep,name=members,proto3" json:"members,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomInterest) Reset() { *m = CustomInterest{} } -func (m *CustomInterest) String() string { return proto.CompactTextString(m) } -func (*CustomInterest) ProtoMessage() {} -func (*CustomInterest) Descriptor() ([]byte, []int) { - return fileDescriptor_5b9ef39246e5a8dc, []int{0} -} - -func (m *CustomInterest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomInterest.Unmarshal(m, b) -} -func (m *CustomInterest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomInterest.Marshal(b, m, deterministic) -} -func (m *CustomInterest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomInterest.Merge(m, src) -} -func (m *CustomInterest) XXX_Size() int { - return xxx_messageInfo_CustomInterest.Size(m) -} -func (m *CustomInterest) XXX_DiscardUnknown() { - xxx_messageInfo_CustomInterest.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomInterest proto.InternalMessageInfo - -func (m *CustomInterest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *CustomInterest) GetId() *wrappers.Int64Value { - if m != nil { - return m.Id - } - return nil -} - -func (m *CustomInterest) GetStatus() enums.CustomInterestStatusEnum_CustomInterestStatus { - if m != nil { - return m.Status - } - return enums.CustomInterestStatusEnum_UNSPECIFIED -} - -func (m *CustomInterest) GetName() *wrappers.StringValue { - if m != nil { - return m.Name - } - return nil -} - -func (m *CustomInterest) GetType() enums.CustomInterestTypeEnum_CustomInterestType { - if m != nil { - return m.Type - } - return enums.CustomInterestTypeEnum_UNSPECIFIED -} - -func (m *CustomInterest) GetDescription() *wrappers.StringValue { - if m != nil { - return m.Description - } - return nil -} - -func (m *CustomInterest) GetMembers() []*CustomInterestMember { - if m != nil { - return m.Members - } - return nil -} - -// A member of custom interest audience. A member can be a keyword or url. -// It is immutable, that is, it can only be created or removed but not changed. -type CustomInterestMember struct { - // The type of custom interest member, KEYWORD or URL. - MemberType enums.CustomInterestMemberTypeEnum_CustomInterestMemberType `protobuf:"varint,1,opt,name=member_type,json=memberType,proto3,enum=google.ads.googleads.v2.enums.CustomInterestMemberTypeEnum_CustomInterestMemberType" json:"member_type,omitempty"` - // Keyword text when member_type is KEYWORD or URL string when - // member_type is URL. - Parameter *wrappers.StringValue `protobuf:"bytes,2,opt,name=parameter,proto3" json:"parameter,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomInterestMember) Reset() { *m = CustomInterestMember{} } -func (m *CustomInterestMember) String() string { return proto.CompactTextString(m) } -func (*CustomInterestMember) ProtoMessage() {} -func (*CustomInterestMember) Descriptor() ([]byte, []int) { - return fileDescriptor_5b9ef39246e5a8dc, []int{1} -} - -func (m *CustomInterestMember) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomInterestMember.Unmarshal(m, b) -} -func (m *CustomInterestMember) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomInterestMember.Marshal(b, m, deterministic) -} -func (m *CustomInterestMember) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomInterestMember.Merge(m, src) -} -func (m *CustomInterestMember) XXX_Size() int { - return xxx_messageInfo_CustomInterestMember.Size(m) -} -func (m *CustomInterestMember) XXX_DiscardUnknown() { - xxx_messageInfo_CustomInterestMember.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomInterestMember proto.InternalMessageInfo - -func (m *CustomInterestMember) GetMemberType() enums.CustomInterestMemberTypeEnum_CustomInterestMemberType { - if m != nil { - return m.MemberType - } - return enums.CustomInterestMemberTypeEnum_UNSPECIFIED -} - -func (m *CustomInterestMember) GetParameter() *wrappers.StringValue { - if m != nil { - return m.Parameter - } - return nil -} - -func init() { - proto.RegisterType((*CustomInterest)(nil), "google.ads.googleads.v2.resources.CustomInterest") - proto.RegisterType((*CustomInterestMember)(nil), "google.ads.googleads.v2.resources.CustomInterestMember") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/custom_interest.proto", fileDescriptor_5b9ef39246e5a8dc) -} - -var fileDescriptor_5b9ef39246e5a8dc = []byte{ - // 519 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xd1, 0x6e, 0xd3, 0x30, - 0x14, 0x55, 0xd2, 0xd2, 0x69, 0x2e, 0xf4, 0xc1, 0xf0, 0x10, 0x8d, 0x09, 0x75, 0x43, 0x93, 0x2a, - 0x21, 0x39, 0x28, 0x20, 0x86, 0x8c, 0x04, 0xca, 0x10, 0x1a, 0x43, 0x80, 0x46, 0x36, 0xf5, 0x01, - 0x45, 0xaa, 0xdc, 0xc6, 0x44, 0x91, 0x6a, 0x3b, 0xb2, 0x9d, 0xa1, 0xbd, 0xf1, 0x2d, 0x3c, 0xf2, - 0x27, 0xf0, 0x29, 0xf0, 0x13, 0x28, 0x76, 0x9c, 0x75, 0xac, 0xdd, 0xe8, 0xdb, 0xad, 0xef, 0x39, - 0xe7, 0x1e, 0x1f, 0xdf, 0x06, 0xec, 0xe7, 0x42, 0xe4, 0x73, 0x1a, 0x92, 0x4c, 0x85, 0xb6, 0xac, - 0xab, 0xb3, 0x28, 0x94, 0x54, 0x89, 0x4a, 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 0x71, 0x84, 0x12, 0x87, 0xfc, 0xe5, 0x30, 0x69, 0x9c, 0xa9, 0xb4, 0xc5, 0xa4, - 0xe3, 0x28, 0x6d, 0x31, 0xbf, 0xfd, 0x3d, 0xdb, 0xc0, 0x38, 0xce, 0x14, 0xc6, 0x2d, 0x0a, 0xe3, - 0x71, 0x84, 0x71, 0x8b, 0x9b, 0xf6, 0x8c, 0xd9, 0x27, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xc0, - 0x47, 0x77, 0x27, 0x16, 0x05, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/customer.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/customer.pb.go deleted file mode 100644 index 05f38a5e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/customer.pb.go +++ /dev/null @@ -1,429 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/customer.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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"` - // Whether the customer is a manager. - Manager *wrappers.BoolValue `protobuf:"bytes,12,opt,name=manager,proto3" json:"manager,omitempty"` - // Whether the customer is a test account. - TestAccount *wrappers.BoolValue `protobuf:"bytes,13,opt,name=test_account,json=testAccount,proto3" json:"test_account,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"` - // Conversion tracking setting for a customer. - ConversionTrackingSetting *ConversionTrackingSetting `protobuf:"bytes,14,opt,name=conversion_tracking_setting,json=conversionTrackingSetting,proto3" json:"conversion_tracking_setting,omitempty"` - // Remarketing setting for a customer. - RemarketingSetting *RemarketingSetting `protobuf:"bytes,15,opt,name=remarketing_setting,json=remarketingSetting,proto3" json:"remarketing_setting,omitempty"` - // Reasons why the customer is not eligible to use PaymentMode.CONVERSIONS. If - // the list is empty, the customer is eligible. This field is read-only. - PayPerConversionEligibilityFailureReasons []enums.CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason `protobuf:"varint,16,rep,packed,name=pay_per_conversion_eligibility_failure_reasons,json=payPerConversionEligibilityFailureReasons,proto3,enum=google.ads.googleads.v2.enums.CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason" json:"pay_per_conversion_eligibility_failure_reasons,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_9b507c5c606ef490, []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 (m *Customer) XXX_Merge(src proto.Message) { - xxx_messageInfo_Customer.Merge(m, 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) GetManager() *wrappers.BoolValue { - if m != nil { - return m.Manager - } - return nil -} - -func (m *Customer) GetTestAccount() *wrappers.BoolValue { - if m != nil { - return m.TestAccount - } - return nil -} - -func (m *Customer) GetCallReportingSetting() *CallReportingSetting { - if m != nil { - return m.CallReportingSetting - } - return nil -} - -func (m *Customer) GetConversionTrackingSetting() *ConversionTrackingSetting { - if m != nil { - return m.ConversionTrackingSetting - } - return nil -} - -func (m *Customer) GetRemarketingSetting() *RemarketingSetting { - if m != nil { - return m.RemarketingSetting - } - return nil -} - -func (m *Customer) GetPayPerConversionEligibilityFailureReasons() []enums.CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason { - if m != nil { - return m.PayPerConversionEligibilityFailureReasons - } - 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_9b507c5c606ef490, []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 (m *CallReportingSetting) XXX_Merge(src proto.Message) { - xxx_messageInfo_CallReportingSetting.Merge(m, 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 -} - -// A collection of customer-wide settings related to Google Ads Conversion -// Tracking. -type ConversionTrackingSetting struct { - // The conversion tracking id used for this account. This id is automatically - // assigned after any conversion tracking feature is used. If the customer - // doesn't use conversion tracking, this is 0. This field is read-only. - ConversionTrackingId *wrappers.Int64Value `protobuf:"bytes,1,opt,name=conversion_tracking_id,json=conversionTrackingId,proto3" json:"conversion_tracking_id,omitempty"` - // The conversion tracking id of the customer's manager. This is set when the - // customer is opted into cross account conversion tracking, and it overrides - // conversion_tracking_id. This field can only be managed through the Google - // Ads UI. This field is read-only. - CrossAccountConversionTrackingId *wrappers.Int64Value `protobuf:"bytes,2,opt,name=cross_account_conversion_tracking_id,json=crossAccountConversionTrackingId,proto3" json:"cross_account_conversion_tracking_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ConversionTrackingSetting) Reset() { *m = ConversionTrackingSetting{} } -func (m *ConversionTrackingSetting) String() string { return proto.CompactTextString(m) } -func (*ConversionTrackingSetting) ProtoMessage() {} -func (*ConversionTrackingSetting) Descriptor() ([]byte, []int) { - return fileDescriptor_9b507c5c606ef490, []int{2} -} - -func (m *ConversionTrackingSetting) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConversionTrackingSetting.Unmarshal(m, b) -} -func (m *ConversionTrackingSetting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConversionTrackingSetting.Marshal(b, m, deterministic) -} -func (m *ConversionTrackingSetting) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConversionTrackingSetting.Merge(m, src) -} -func (m *ConversionTrackingSetting) XXX_Size() int { - return xxx_messageInfo_ConversionTrackingSetting.Size(m) -} -func (m *ConversionTrackingSetting) XXX_DiscardUnknown() { - xxx_messageInfo_ConversionTrackingSetting.DiscardUnknown(m) -} - -var xxx_messageInfo_ConversionTrackingSetting proto.InternalMessageInfo - -func (m *ConversionTrackingSetting) GetConversionTrackingId() *wrappers.Int64Value { - if m != nil { - return m.ConversionTrackingId - } - return nil -} - -func (m *ConversionTrackingSetting) GetCrossAccountConversionTrackingId() *wrappers.Int64Value { - if m != nil { - return m.CrossAccountConversionTrackingId - } - return nil -} - -// Remarketing setting for a customer. -type RemarketingSetting struct { - // The Google global site tag. - GoogleGlobalSiteTag *wrappers.StringValue `protobuf:"bytes,1,opt,name=google_global_site_tag,json=googleGlobalSiteTag,proto3" json:"google_global_site_tag,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RemarketingSetting) Reset() { *m = RemarketingSetting{} } -func (m *RemarketingSetting) String() string { return proto.CompactTextString(m) } -func (*RemarketingSetting) ProtoMessage() {} -func (*RemarketingSetting) Descriptor() ([]byte, []int) { - return fileDescriptor_9b507c5c606ef490, []int{3} -} - -func (m *RemarketingSetting) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemarketingSetting.Unmarshal(m, b) -} -func (m *RemarketingSetting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemarketingSetting.Marshal(b, m, deterministic) -} -func (m *RemarketingSetting) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemarketingSetting.Merge(m, src) -} -func (m *RemarketingSetting) XXX_Size() int { - return xxx_messageInfo_RemarketingSetting.Size(m) -} -func (m *RemarketingSetting) XXX_DiscardUnknown() { - xxx_messageInfo_RemarketingSetting.DiscardUnknown(m) -} - -var xxx_messageInfo_RemarketingSetting proto.InternalMessageInfo - -func (m *RemarketingSetting) GetGoogleGlobalSiteTag() *wrappers.StringValue { - if m != nil { - return m.GoogleGlobalSiteTag - } - return nil -} - -func init() { - proto.RegisterType((*Customer)(nil), "google.ads.googleads.v2.resources.Customer") - proto.RegisterType((*CallReportingSetting)(nil), "google.ads.googleads.v2.resources.CallReportingSetting") - proto.RegisterType((*ConversionTrackingSetting)(nil), "google.ads.googleads.v2.resources.ConversionTrackingSetting") - proto.RegisterType((*RemarketingSetting)(nil), "google.ads.googleads.v2.resources.RemarketingSetting") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/customer.proto", fileDescriptor_9b507c5c606ef490) -} - -var fileDescriptor_9b507c5c606ef490 = []byte{ - // 878 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x96, 0xdf, 0x6e, 0xe4, 0x34, - 0x14, 0xc6, 0x95, 0x29, 0xec, 0xb6, 0xee, 0x9f, 0xad, 0xbc, 0xc3, 0x2a, 0xdb, 0x5d, 0xad, 0xda, - 0xc2, 0x4a, 0x45, 0x48, 0x19, 0x34, 0x2c, 0x20, 0x06, 0xb8, 0x98, 0x56, 0xdd, 0xb2, 0x08, 0xa1, - 0x21, 0xed, 0xf6, 0xa2, 0xaa, 0x64, 0x79, 0x92, 0x33, 0x5e, 0xab, 0x8e, 0x1d, 0xd9, 0x4e, 0xa1, - 0x88, 0x4b, 0xae, 0x78, 0x0c, 0xb8, 0xe3, 0x51, 0x78, 0x05, 0x5e, 0x00, 0xf1, 0x08, 0x5c, 0xa1, - 0x38, 0x71, 0xa6, 0xd5, 0x74, 0x9a, 0xd9, 0xab, 0xf1, 0xd8, 0xe7, 0xfb, 0x7d, 0xb6, 0x73, 0xce, - 0x49, 0xd0, 0xc7, 0x4c, 0x29, 0x26, 0xa0, 0x47, 0x53, 0xd3, 0xab, 0x86, 0xe5, 0xe8, 0xb2, 0xdf, - 0xd3, 0x60, 0x54, 0xa1, 0x13, 0x30, 0xbd, 0xa4, 0x30, 0x56, 0x65, 0xa0, 0xa3, 0x5c, 0x2b, 0xab, - 0xf0, 0x4e, 0x15, 0x16, 0xd1, 0xd4, 0x44, 0x8d, 0x22, 0xba, 0xec, 0x47, 0x8d, 0x62, 0xeb, 0x6c, - 0x1e, 0x14, 0x64, 0x91, 0x4d, 0x81, 0x24, 0xa7, 0x57, 0x24, 0x07, 0x4d, 0x12, 0x25, 0x2f, 0x41, - 0x1b, 0xae, 0x24, 0x01, 0xc1, 0x19, 0x1f, 0x73, 0xc1, 0xed, 0x15, 0x99, 0x50, 0x2e, 0x0a, 0x0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xdb, 0x0e, - 0x54, 0xf7, 0x8b, 0x83, 0x5b, 0xcc, 0x76, 0x19, 0xc2, 0xb3, 0x85, 0x51, 0x9e, 0xaa, 0xa2, 0x12, - 0x26, 0xd4, 0x98, 0x0a, 0x62, 0xb8, 0x85, 0xb2, 0xe9, 0xd6, 0xa7, 0x6a, 0x79, 0x03, 0x54, 0x8b, - 0x47, 0x4e, 0x7a, 0xcc, 0x2d, 0x9c, 0x50, 0xb6, 0xff, 0x5f, 0x80, 0x9e, 0x27, 0x2a, 0x6b, 0x2f, - 0xd4, 0xfd, 0xf5, 0x26, 0xe7, 0x4b, 0xf8, 0x28, 0x38, 0xfb, 0xb6, 0xd6, 0x30, 0x25, 0xa8, 0x64, - 0x91, 0xd2, 0xac, 0xc7, 0x40, 0x3a, 0x6b, 0xff, 0x79, 0x91, 0x73, 0x73, 0xc7, 0x27, 0xcc, 0x97, - 0xcd, 0xe8, 0xf7, 0xce, 0xd2, 0xd1, 0x70, 0xf8, 0x67, 0x67, 0xe7, 0xa8, 0x42, 0x0e, 0x53, 0x13, - 0x55, 0xc3, 0x72, 0x74, 0xda, 0x8f, 0x62, 0x1f, 0xf9, 0x97, 0x8f, 0x39, 0x1f, 0xa6, 0xe6, 0xbc, - 0x89, 0x39, 0x3f, 0xed, 0x9f, 0x37, 0x31, 0xff, 0x76, 0x9e, 0x57, 0x0b, 0x83, 0xc1, 0x30, 0x35, - 0x83, 0x41, 0x13, 0x35, 0x18, 0x9c, 0xf6, 0x07, 0x83, 0x26, 0x6e, 0x7c, 0xcf, 0x6d, 0xf6, 0x93, - 0xff, 0x03, 0x00, 0x00, 0xff, 0xff, 0xa4, 0x52, 0x7c, 0xe3, 0x6e, 0x09, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/customer_client.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/customer_client.pb.go deleted file mode 100644 index 02cddb58..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/customer_client.pb.go +++ /dev/null @@ -1,197 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/customer_client.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A link between the given customer and a client customer. CustomerClients only -// exist for manager customers. All direct and indirect client customers are -// included, as well as the manager itself. -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 resource name of the client-customer which is linked to - // the given customer. Read only. - ClientCustomer *wrappers.StringValue `protobuf:"bytes,3,opt,name=client_customer,json=clientCustomer,proto3" json:"client_customer,omitempty"` - // Specifies whether this is a - // [hidden account](https://support.google.com/google-ads/answer/7519830). - // Read only. - Hidden *wrappers.BoolValue `protobuf:"bytes,4,opt,name=hidden,proto3" json:"hidden,omitempty"` - // Distance between given 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"` - // Common Locale Data Repository (CLDR) string representation of the - // time zone of the client, e.g. America/Los_Angeles. Read only. - TimeZone *wrappers.StringValue `protobuf:"bytes,6,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"` - // Identifies if the client is a test account. Read only. - TestAccount *wrappers.BoolValue `protobuf:"bytes,7,opt,name=test_account,json=testAccount,proto3" json:"test_account,omitempty"` - // Identifies if the client is a manager. Read only. - Manager *wrappers.BoolValue `protobuf:"bytes,8,opt,name=manager,proto3" json:"manager,omitempty"` - // Descriptive name for the client. Read only. - DescriptiveName *wrappers.StringValue `protobuf:"bytes,9,opt,name=descriptive_name,json=descriptiveName,proto3" json:"descriptive_name,omitempty"` - // Currency code (e.g. 'USD', 'EUR') for the client. Read only. - CurrencyCode *wrappers.StringValue `protobuf:"bytes,10,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"` - // The ID of the client customer. Read only. - Id *wrappers.Int64Value `protobuf:"bytes,11,opt,name=id,proto3" json:"id,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_463452e1d1f19c18, []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 (m *CustomerClient) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerClient.Merge(m, 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 (m *CustomerClient) GetTimeZone() *wrappers.StringValue { - if m != nil { - return m.TimeZone - } - return nil -} - -func (m *CustomerClient) GetTestAccount() *wrappers.BoolValue { - if m != nil { - return m.TestAccount - } - return nil -} - -func (m *CustomerClient) GetManager() *wrappers.BoolValue { - if m != nil { - return m.Manager - } - return nil -} - -func (m *CustomerClient) GetDescriptiveName() *wrappers.StringValue { - if m != nil { - return m.DescriptiveName - } - return nil -} - -func (m *CustomerClient) GetCurrencyCode() *wrappers.StringValue { - if m != nil { - return m.CurrencyCode - } - return nil -} - -func (m *CustomerClient) GetId() *wrappers.Int64Value { - if m != nil { - return m.Id - } - return nil -} - -func init() { - proto.RegisterType((*CustomerClient)(nil), "google.ads.googleads.v2.resources.CustomerClient") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/customer_client.proto", fileDescriptor_463452e1d1f19c18) -} - -var fileDescriptor_463452e1d1f19c18 = []byte{ - // 477 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0x4f, 0x8b, 0xd4, 0x30, - 0x18, 0xc6, 0x99, 0xee, 0xdf, 0xc9, 0xcc, 0xee, 0x4a, 0xbc, 0x94, 0x71, 0x91, 0x5d, 0x65, 0x61, - 0x41, 0x48, 0xb1, 0x2e, 0x8a, 0x15, 0x0f, 0x9d, 0x41, 0x06, 0x3d, 0xc8, 0x32, 0xc2, 0x1c, 0x96, - 0x81, 0x92, 0x4d, 0x5e, 0x6b, 0xa0, 0x4d, 0x4a, 0x92, 0x8e, 0xe8, 0xc9, 0xcf, 0xe2, 0xd1, 0x8f, - 0x22, 0x7e, 0x12, 0x3f, 0x85, 0xb4, 0x69, 0x8a, 0xb2, 0xe0, 0xcc, 0xed, 0x65, 0xfa, 0xfb, 0x3d, - 0xef, 0xc3, 0x24, 0x41, 0x2f, 0x72, 0xa5, 0xf2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0xb2, 0x8c, 0x93, 0xa4, 0xe7, 0x6e, 0xf7, 0xdb, 0xb2, 0xcf, 0xfe, - 0x04, 0x00, 0x00, 0xff, 0xff, 0x41, 0x12, 0xdf, 0x6d, 0xf4, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/customer_client_link.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/customer_client_link.pb.go deleted file mode 100644 index 88967150..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/customer_client_link.pb.go +++ /dev/null @@ -1,146 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/customer_client_link.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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. - 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.v2.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_f87ffe96f69e22f8, []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 (m *CustomerClientLink) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerClientLink.Merge(m, 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.v2.resources.CustomerClientLink") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/customer_client_link.proto", fileDescriptor_f87ffe96f69e22f8) -} - -var fileDescriptor_f87ffe96f69e22f8 = []byte{ - // 435 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xdd, 0x6a, 0x14, 0x31, - 0x18, 0x65, 0xa6, 0xba, 0x60, 0xb4, 0x2d, 0xcc, 0x8d, 0xc3, 0x5a, 0x64, 0xab, 0x14, 0xf6, 0x2a, - 0x81, 0x28, 0x0a, 0xd1, 0x9b, 0xd9, 0xa5, 0x96, 0x8a, 0x4a, 0xd9, 0xc2, 0x5e, 0xc8, 0xe2, 0x92, - 0x6e, 0x62, 0x0c, 0x9d, 0x49, 0x86, 0x24, 0x53, 0x5f, 0xc0, 0x27, 0xf1, 0xd2, 0x47, 0xf1, 0x0d, - 0x7c, 0x05, 0x9f, 0x42, 0x36, 0x3f, 0x23, 0x32, 0xac, 0xbd, 0x3b, 0xc9, 0x77, 0xce, 0xf9, 0xce, - 0xf7, 0x25, 0xe0, 0xb5, 0xd0, 0x5a, 0xd4, 0x1c, 0x51, 0x66, 0x51, 0x80, 0x5b, 0x74, 0x83, 0x91, - 0xe1, 0x56, 0x77, 0x66, 0xc3, 0x2d, 0xda, 0x74, 0xd6, 0xe9, 0x86, 0x9b, 0xf5, 0xa6, 0x96, 0x5c, - 0xb9, 0x75, 0x2d, 0xd5, 0x35, 0x6c, 0x8d, 0x76, 0xba, 0x38, 0x0e, 0x12, 0x48, 0x99, 0x85, 0xbd, - 0x1a, 0xde, 0x60, 0xd8, 0xab, 0xc7, 0x2f, 0x77, 0x35, 0xe0, 0xaa, 0x6b, 0x2c, 0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xfb, 0x96, 0x83, 0x93, 0x8d, 0x6e, 0xe0, 0xad, 0x8f, 0x3f, 0x7b, 0x38, - 0x7c, 0x82, 0x8b, 0xad, 0xef, 0x45, 0xf6, 0xf1, 0x6d, 0x54, 0x0b, 0x5d, 0x53, 0x25, 0xa0, 0x36, - 0x02, 0x09, 0xae, 0x7c, 0xd7, 0xf4, 0x4f, 0x5a, 0x69, 0xff, 0xf3, 0x2f, 0x5f, 0xf5, 0xe8, 0x7b, - 0xbe, 0x77, 0x56, 0x55, 0x3f, 0xf2, 0xe3, 0xb3, 0x60, 0x59, 0x31, 0x0b, 0x03, 0xdc, 0xa2, 0x25, - 0x86, 0x8b, 0xc4, 0xfc, 0x99, 0x38, 0xab, 0x8a, 0xd9, 0x55, 0xcf, 0x59, 0x2d, 0xf1, 0xaa, 0xe7, - 0xfc, 0xce, 0x4f, 0x42, 0x81, 0x90, 0x8a, 0x59, 0x42, 0x7a, 0x16, 0x21, 0x4b, 0x4c, 0x48, 0xcf, - 0xbb, 0x1a, 0xf9, 0xb0, 0xcf, 0xfe, 0x04, 0x00, 0x00, 0xff, 0xff, 0xde, 0x5d, 0x15, 0x90, 0x43, - 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/customer_extension_setting.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/customer_extension_setting.pb.go deleted file mode 100644 index 6fb98490..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/customer_extension_setting.pb.go +++ /dev/null @@ -1,138 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/customer_extension_setting.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A customer extension setting. -type CustomerExtensionSetting struct { - // The resource name of the customer extension setting. - // CustomerExtensionSetting resource names have the form: - // - // `customers/{customer_id}/customerExtensionSettings/{extension_type}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The extension type of the customer extension setting. - ExtensionType enums.ExtensionTypeEnum_ExtensionType `protobuf:"varint,2,opt,name=extension_type,json=extensionType,proto3,enum=google.ads.googleads.v2.enums.ExtensionTypeEnum_ExtensionType" json:"extension_type,omitempty"` - // The resource names of the extension feed items to serve under the customer. - // ExtensionFeedItem resource names have the form: - // - // `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - ExtensionFeedItems []*wrappers.StringValue `protobuf:"bytes,3,rep,name=extension_feed_items,json=extensionFeedItems,proto3" json:"extension_feed_items,omitempty"` - // The device for which the extensions will serve. Optional. - Device enums.ExtensionSettingDeviceEnum_ExtensionSettingDevice `protobuf:"varint,4,opt,name=device,proto3,enum=google.ads.googleads.v2.enums.ExtensionSettingDeviceEnum_ExtensionSettingDevice" json:"device,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomerExtensionSetting) Reset() { *m = CustomerExtensionSetting{} } -func (m *CustomerExtensionSetting) String() string { return proto.CompactTextString(m) } -func (*CustomerExtensionSetting) ProtoMessage() {} -func (*CustomerExtensionSetting) Descriptor() ([]byte, []int) { - return fileDescriptor_cd04e47360d4a207, []int{0} -} - -func (m *CustomerExtensionSetting) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomerExtensionSetting.Unmarshal(m, b) -} -func (m *CustomerExtensionSetting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomerExtensionSetting.Marshal(b, m, deterministic) -} -func (m *CustomerExtensionSetting) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerExtensionSetting.Merge(m, src) -} -func (m *CustomerExtensionSetting) XXX_Size() int { - return xxx_messageInfo_CustomerExtensionSetting.Size(m) -} -func (m *CustomerExtensionSetting) XXX_DiscardUnknown() { - xxx_messageInfo_CustomerExtensionSetting.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomerExtensionSetting proto.InternalMessageInfo - -func (m *CustomerExtensionSetting) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *CustomerExtensionSetting) GetExtensionType() enums.ExtensionTypeEnum_ExtensionType { - if m != nil { - return m.ExtensionType - } - return enums.ExtensionTypeEnum_UNSPECIFIED -} - -func (m *CustomerExtensionSetting) GetExtensionFeedItems() []*wrappers.StringValue { - if m != nil { - return m.ExtensionFeedItems - } - return nil -} - -func (m *CustomerExtensionSetting) GetDevice() enums.ExtensionSettingDeviceEnum_ExtensionSettingDevice { - if m != nil { - return m.Device - } - return enums.ExtensionSettingDeviceEnum_UNSPECIFIED -} - -func init() { - proto.RegisterType((*CustomerExtensionSetting)(nil), "google.ads.googleads.v2.resources.CustomerExtensionSetting") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/customer_extension_setting.proto", fileDescriptor_cd04e47360d4a207) -} - -var fileDescriptor_cd04e47360d4a207 = []byte{ - // 430 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0xd1, 0x6a, 0x14, 0x31, - 0x14, 0x65, 0x67, 0xa5, 0xe0, 0x68, 0xfb, 0x30, 0xf8, 0x30, 0x94, 0x2a, 0x5b, 0xa5, 0xb0, 0x4f, - 0x09, 0xc4, 0xb7, 0x28, 0xc2, 0xac, 0xd6, 0xa2, 0x0f, 0x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, 0x5b, 0x4a, 0x23, 0x8a, 0xd2, 0x05, 0xa1, 0x34, 0xe2, 0xae, 0x0f, 0x3a, 0xb3, 0xcf, - 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0xb7, 0xa7, 0x0b, 0xac, 0x8f, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/customer_feed.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/customer_feed.pb.go deleted file mode 100644 index 5b8f771b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/customer_feed.pb.go +++ /dev/null @@ -1,152 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/customer_feed.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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.v2.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.v2.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_cd7590a7bcbec413, []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 (m *CustomerFeed) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerFeed.Merge(m, 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.v2.resources.CustomerFeed") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/customer_feed.proto", fileDescriptor_cd7590a7bcbec413) -} - -var fileDescriptor_cd7590a7bcbec413 = []byte{ - // 472 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0xdd, 0x6a, 0xd4, 0x40, - 0x14, 0x26, 0xbb, 0xb5, 0x60, 0xac, 0xa5, 0x9b, 0xab, 0x50, 0x8a, 0x6c, 0x95, 0xc2, 0x5e, 0xcd, - 0x94, 0xf8, 0x73, 0x11, 0x6f, 0xcc, 0x8a, 0x2d, 0x88, 0xca, 0x92, 0xca, 0x22, 0xb2, 0x12, 0xa6, - 0xc9, 0xd9, 0x34, 0x34, 0xf3, 0xc3, 0xcc, 0xa4, 0xd2, 0xa7, 0xf0, 0x1d, 0xbc, 0xf4, 0x51, 0x7c, - 0x14, 0x1f, 0x42, 0x24, 0x99, 0x99, 0x68, 0x57, 0x62, 0xbd, 0x3b, 0x39, 0xf3, 0x7d, 0x5f, 0xbe, - 0x73, 0xbe, 0x19, 0xff, 0x69, 0xc9, 0x79, 0x59, 0x03, 0x26, 0x85, 0xc2, 0xa6, 0x6c, 0xab, 0xab, - 0x08, 0x4b, 0x50, 0xbc, 0x91, 0x39, 0x28, 0x9c, 0x37, 0x4a, 0x73, 0x0a, 0x32, 0x5b, 0x03, 0x14, - 0x48, 0x48, 0xae, 0x79, 0x70, 0x68, 0xb0, 0x88, 0x14, 0x0a, 0xf5, 0x34, 0x74, 0x15, 0xa1, 0x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 0x7e, 0x8f, 0x07, 0x7f, 0x68, 0x62, 0x45, 0x6f, 0x2d, - 0xf1, 0xc4, 0xf2, 0xd2, 0x3d, 0xba, 0xd1, 0x09, 0x3e, 0xf8, 0xdb, 0x26, 0xbb, 0xf0, 0xce, 0xd4, - 0x9b, 0xed, 0x46, 0x2f, 0x6e, 0x19, 0xa2, 0xdd, 0xed, 0x9b, 0x8a, 0x5d, 0x9e, 0x75, 0xa4, 0x6e, - 0x86, 0x9b, 0xad, 0xd4, 0xea, 0xcd, 0x7f, 0x7a, 0xfe, 0x51, 0xce, 0x29, 0xba, 0xf5, 0x76, 0xce, - 0x27, 0x7f, 0x06, 0xb7, 0x68, 0x77, 0xbf, 0xf0, 0x3e, 0xbe, 0xb6, 0xbc, 0x92, 0xd7, 0x84, 0x95, - 0x88, 0xcb, 0x12, 0x97, 0xc0, 0xba, 0x64, 0xdc, 0xa5, 0x12, 0x95, 0xfa, 0xc7, 0x5b, 0x79, 0xde, - 0x57, 0x5f, 0x47, 0xe3, 0xd3, 0x24, 0xf9, 0x36, 0x3a, 0x3c, 0x35, 0x92, 0x49, 0xa1, 0x90, 0x29, - 0xdb, 0x6a, 0x19, 0xa1, 0xd4, 0x21, 0xbf, 0x3b, 0xcc, 0x2a, 0x29, 0xd4, 0xaa, 0xc7, 0xac, 0x96, - 0xd1, 0xaa, 0xc7, 0xfc, 0x18, 0x1d, 0x99, 0x83, 0x38, 0x4e, 0x0a, 0x15, 0xc7, 0x3d, 0x2a, 0x8e, - 0x97, 0x51, 0x1c, 0xf7, 0xb8, 0xf3, 0xed, 0xce, 0xec, 0xe3, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, - 0xab, 0x0f, 0x55, 0xb9, 0xd7, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/customer_label.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/customer_label.pb.go deleted file mode 100644 index 1124f01d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/customer_label.pb.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/customer_label.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Represents a relationship between a customer and a label. This customer may -// not have access to all the labels attached to it. Additional CustomerLabels -// may be returned by increasing permissions with login-customer-id. -type CustomerLabel struct { - // Name of the resource. - // Customer label resource names have the form: - // `customers/{customer_id}/customerLabels/{label_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The resource name of the customer to which the label is attached. - // Read only. - Customer *wrappers.StringValue `protobuf:"bytes,2,opt,name=customer,proto3" json:"customer,omitempty"` - // The resource name of the label assigned to the customer. - // - // Note: the Customer ID portion of the label resource name is not - // validated when creating a new CustomerLabel. - Label *wrappers.StringValue `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomerLabel) Reset() { *m = CustomerLabel{} } -func (m *CustomerLabel) String() string { return proto.CompactTextString(m) } -func (*CustomerLabel) ProtoMessage() {} -func (*CustomerLabel) Descriptor() ([]byte, []int) { - return fileDescriptor_6fa93913e8013a5b, []int{0} -} - -func (m *CustomerLabel) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomerLabel.Unmarshal(m, b) -} -func (m *CustomerLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomerLabel.Marshal(b, m, deterministic) -} -func (m *CustomerLabel) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerLabel.Merge(m, src) -} -func (m *CustomerLabel) XXX_Size() int { - return xxx_messageInfo_CustomerLabel.Size(m) -} -func (m *CustomerLabel) XXX_DiscardUnknown() { - xxx_messageInfo_CustomerLabel.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomerLabel proto.InternalMessageInfo - -func (m *CustomerLabel) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *CustomerLabel) GetCustomer() *wrappers.StringValue { - if m != nil { - return m.Customer - } - return nil -} - -func (m *CustomerLabel) GetLabel() *wrappers.StringValue { - if m != nil { - return m.Label - } - return nil -} - -func init() { - proto.RegisterType((*CustomerLabel)(nil), "google.ads.googleads.v2.resources.CustomerLabel") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/customer_label.proto", fileDescriptor_6fa93913e8013a5b) -} - -var fileDescriptor_6fa93913e8013a5b = []byte{ - // 321 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xcf, 0x4a, 0xc3, 0x30, - 0x00, 0xc6, 0x49, 0x87, 0xa2, 0xd1, 0x5d, 0x7a, 0x1a, 0x63, 0xc8, 0xa6, 0x0c, 0x76, 0x4a, 0x20, - 0x82, 0x48, 0x3c, 0x75, 0x1e, 0x06, 0x22, 0x32, 0x26, 0xf4, 0x20, 0x85, 0x91, 0xb5, 0x31, 0x14, - 0xda, 0xa4, 0x24, 0xed, 0x7c, 0x9f, 0x1d, 0x7d, 0x14, 0x1f, 0xc5, 0x97, 0x50, 0xda, 0x34, 0x01, - 0x2f, 0xea, 0xed, 0xa3, 0xf9, 0x7d, 0x7f, 0xd2, 0xc0, 0x1b, 0xa1, 0x94, 0x28, 0x38, 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 0xa2, 0xe8, 0x3d, 0x98, 0xad, 0x6c, 0x64, 0x94, 0x19, 0x64, 0x65, 0xab, 0x62, - 0x82, 0x36, 0x8e, 0xfc, 0x70, 0x4c, 0x12, 0x65, 0x26, 0xf1, 0x4c, 0x12, 0x93, 0xc4, 0x33, 0x9f, - 0xc1, 0xdc, 0x1e, 0x50, 0x1a, 0x65, 0x86, 0x52, 0x4f, 0x51, 0x1a, 0x13, 0x4a, 0x3d, 0xb7, 0x3b, - 0xee, 0xc6, 0x5e, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0xc7, 0x9d, 0x7c, 0x44, 0x48, 0x02, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/customer_manager_link.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/customer_manager_link.pb.go deleted file mode 100644 index 38035005..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/customer_manager_link.pb.go +++ /dev/null @@ -1,133 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/customer_manager_link.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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. - 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.v2.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_660308d23b11f4b7, []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 (m *CustomerManagerLink) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerManagerLink.Merge(m, 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.v2.resources.CustomerManagerLink") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/customer_manager_link.proto", fileDescriptor_660308d23b11f4b7) -} - -var fileDescriptor_660308d23b11f4b7 = []byte{ - // 406 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xd1, 0x0a, 0xd3, 0x30, - 0x14, 0xa5, 0x9d, 0x0e, 0xac, 0xce, 0x49, 0x7d, 0x29, 0x73, 0xc8, 0xa6, 0x0c, 0xf6, 0x94, 0x40, - 0x15, 0x85, 0x88, 0x0f, 0xdd, 0xd0, 0x31, 0x51, 0x19, 0x1d, 0xf4, 0x41, 0x8a, 0x25, 0x5b, 0x63, - 0x28, 0x6b, 0x92, 0x92, 0xa4, 0xf3, 0x0b, 0xfc, 0x11, 0x9f, 0xc4, 0x4f, 0xf1, 0x53, 0xfc, 0x0a, - 0x59, 0xd3, 0xd4, 0xc9, 0x9c, 0xbe, 0x9d, 0x26, 0xe7, 0x9c, 0x7b, 0xce, 0x4d, 0xbd, 0x97, 0x54, - 0x08, 0x5a, 0x12, 0x88, 0x73, 0x05, 0x0d, 0x3c, 0xa1, 0x63, 0x08, 0x25, 0x51, 0xa2, 0x96, 0x7b, - 0xa2, 0xe0, 0xbe, 0x56, 0x5a, 0x30, 0x22, 0x33, 0x86, 0x39, 0xa6, 0x44, 0x66, 0x65, 0xc1, 0x0f, - 0xa0, 0x92, 0x42, 0x0b, 0x7f, 0x6a, 0x34, 0x00, 0xe7, 0x0a, 0x74, 0x72, 0x70, 0x0c, 0x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0xa3, 0x9b, 0x53, 0x81, 0x8d, 0xf3, 0xe1, 0x4d, 0x2b, 0xa7, 0xa2, 0xc4, - 0x9c, 0x02, 0x21, 0x29, 0xa4, 0x84, 0x37, 0xf5, 0xec, 0xbb, 0x57, 0x85, 0xfa, 0xc7, 0x8f, 0xf6, - 0xa2, 0x43, 0x5f, 0xdd, 0xde, 0x2a, 0x8a, 0xbe, 0xbb, 0xd3, 0x95, 0xb1, 0x8c, 0x72, 0x05, 0x0c, - 0x3c, 0xa1, 0x24, 0x04, 0xb1, 0x65, 0xfe, 0xb0, 0x9c, 0x34, 0xca, 0x55, 0xda, 0x71, 0xd2, 0x24, - 0x4c, 0x3b, 0xce, 0x4f, 0x77, 0x66, 0x2e, 0x10, 0x8a, 0x72, 0x85, 0x50, 0xc7, 0x42, 0x28, 0x09, - 0x11, 0xea, 0x78, 0xbb, 0x7e, 0x13, 0xf6, 0xc9, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x26, 0x11, - 0x1c, 0x90, 0x14, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/customer_negative_criterion.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/customer_negative_criterion.pb.go deleted file mode 100644 index d70a5a90..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/customer_negative_criterion.pb.go +++ /dev/null @@ -1,249 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/customer_negative_criterion.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A negative criterion for exclusions at the customer level. -type CustomerNegativeCriterion struct { - // The resource name of the customer negative criterion. - // Customer negative criterion resource names have the form: - // - // `customers/{customer_id}/customerNegativeCriteria/{criterion_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The ID of the criterion. - Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // The type of the criterion. - Type enums.CriterionTypeEnum_CriterionType `protobuf:"varint,3,opt,name=type,proto3,enum=google.ads.googleads.v2.enums.CriterionTypeEnum_CriterionType" json:"type,omitempty"` - // The customer negative criterion. - // - // Exactly one must be set. - // - // Types that are valid to be assigned to Criterion: - // *CustomerNegativeCriterion_ContentLabel - // *CustomerNegativeCriterion_MobileApplication - // *CustomerNegativeCriterion_MobileAppCategory - // *CustomerNegativeCriterion_Placement - // *CustomerNegativeCriterion_YoutubeVideo - // *CustomerNegativeCriterion_YoutubeChannel - Criterion isCustomerNegativeCriterion_Criterion `protobuf_oneof:"criterion"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomerNegativeCriterion) Reset() { *m = CustomerNegativeCriterion{} } -func (m *CustomerNegativeCriterion) String() string { return proto.CompactTextString(m) } -func (*CustomerNegativeCriterion) ProtoMessage() {} -func (*CustomerNegativeCriterion) Descriptor() ([]byte, []int) { - return fileDescriptor_831be6b79abdffa4, []int{0} -} - -func (m *CustomerNegativeCriterion) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomerNegativeCriterion.Unmarshal(m, b) -} -func (m *CustomerNegativeCriterion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomerNegativeCriterion.Marshal(b, m, deterministic) -} -func (m *CustomerNegativeCriterion) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerNegativeCriterion.Merge(m, src) -} -func (m *CustomerNegativeCriterion) XXX_Size() int { - return xxx_messageInfo_CustomerNegativeCriterion.Size(m) -} -func (m *CustomerNegativeCriterion) XXX_DiscardUnknown() { - xxx_messageInfo_CustomerNegativeCriterion.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomerNegativeCriterion proto.InternalMessageInfo - -func (m *CustomerNegativeCriterion) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *CustomerNegativeCriterion) GetId() *wrappers.Int64Value { - if m != nil { - return m.Id - } - return nil -} - -func (m *CustomerNegativeCriterion) GetType() enums.CriterionTypeEnum_CriterionType { - if m != nil { - return m.Type - } - return enums.CriterionTypeEnum_UNSPECIFIED -} - -type isCustomerNegativeCriterion_Criterion interface { - isCustomerNegativeCriterion_Criterion() -} - -type CustomerNegativeCriterion_ContentLabel struct { - ContentLabel *common.ContentLabelInfo `protobuf:"bytes,4,opt,name=content_label,json=contentLabel,proto3,oneof"` -} - -type CustomerNegativeCriterion_MobileApplication struct { - MobileApplication *common.MobileApplicationInfo `protobuf:"bytes,5,opt,name=mobile_application,json=mobileApplication,proto3,oneof"` -} - -type CustomerNegativeCriterion_MobileAppCategory struct { - MobileAppCategory *common.MobileAppCategoryInfo `protobuf:"bytes,6,opt,name=mobile_app_category,json=mobileAppCategory,proto3,oneof"` -} - -type CustomerNegativeCriterion_Placement struct { - Placement *common.PlacementInfo `protobuf:"bytes,7,opt,name=placement,proto3,oneof"` -} - -type CustomerNegativeCriterion_YoutubeVideo struct { - YoutubeVideo *common.YouTubeVideoInfo `protobuf:"bytes,8,opt,name=youtube_video,json=youtubeVideo,proto3,oneof"` -} - -type CustomerNegativeCriterion_YoutubeChannel struct { - YoutubeChannel *common.YouTubeChannelInfo `protobuf:"bytes,9,opt,name=youtube_channel,json=youtubeChannel,proto3,oneof"` -} - -func (*CustomerNegativeCriterion_ContentLabel) isCustomerNegativeCriterion_Criterion() {} - -func (*CustomerNegativeCriterion_MobileApplication) isCustomerNegativeCriterion_Criterion() {} - -func (*CustomerNegativeCriterion_MobileAppCategory) isCustomerNegativeCriterion_Criterion() {} - -func (*CustomerNegativeCriterion_Placement) isCustomerNegativeCriterion_Criterion() {} - -func (*CustomerNegativeCriterion_YoutubeVideo) isCustomerNegativeCriterion_Criterion() {} - -func (*CustomerNegativeCriterion_YoutubeChannel) isCustomerNegativeCriterion_Criterion() {} - -func (m *CustomerNegativeCriterion) GetCriterion() isCustomerNegativeCriterion_Criterion { - if m != nil { - return m.Criterion - } - return nil -} - -func (m *CustomerNegativeCriterion) GetContentLabel() *common.ContentLabelInfo { - if x, ok := m.GetCriterion().(*CustomerNegativeCriterion_ContentLabel); ok { - return x.ContentLabel - } - return nil -} - -func (m *CustomerNegativeCriterion) GetMobileApplication() *common.MobileApplicationInfo { - if x, ok := m.GetCriterion().(*CustomerNegativeCriterion_MobileApplication); ok { - return x.MobileApplication - } - return nil -} - -func (m *CustomerNegativeCriterion) GetMobileAppCategory() *common.MobileAppCategoryInfo { - if x, ok := m.GetCriterion().(*CustomerNegativeCriterion_MobileAppCategory); ok { - return x.MobileAppCategory - } - return nil -} - -func (m *CustomerNegativeCriterion) GetPlacement() *common.PlacementInfo { - if x, ok := m.GetCriterion().(*CustomerNegativeCriterion_Placement); ok { - return x.Placement - } - return nil -} - -func (m *CustomerNegativeCriterion) GetYoutubeVideo() *common.YouTubeVideoInfo { - if x, ok := m.GetCriterion().(*CustomerNegativeCriterion_YoutubeVideo); ok { - return x.YoutubeVideo - } - return nil -} - -func (m *CustomerNegativeCriterion) GetYoutubeChannel() *common.YouTubeChannelInfo { - if x, ok := m.GetCriterion().(*CustomerNegativeCriterion_YoutubeChannel); ok { - return x.YoutubeChannel - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CustomerNegativeCriterion) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CustomerNegativeCriterion_ContentLabel)(nil), - (*CustomerNegativeCriterion_MobileApplication)(nil), - (*CustomerNegativeCriterion_MobileAppCategory)(nil), - (*CustomerNegativeCriterion_Placement)(nil), - (*CustomerNegativeCriterion_YoutubeVideo)(nil), - (*CustomerNegativeCriterion_YoutubeChannel)(nil), - } -} - -func init() { - proto.RegisterType((*CustomerNegativeCriterion)(nil), "google.ads.googleads.v2.resources.CustomerNegativeCriterion") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/customer_negative_criterion.proto", fileDescriptor_831be6b79abdffa4) -} - -var fileDescriptor_831be6b79abdffa4 = []byte{ - // 573 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xdd, 0x8a, 0xd3, 0x40, - 0x14, 0xc7, 0x6d, 0xf6, 0x43, 0x3b, 0xfb, 0x21, 0xc6, 0x9b, 0xb8, 0xca, 0xd2, 0x55, 0x16, 0x0a, - 0xb2, 0x13, 0x89, 0x1f, 0x17, 0x11, 0x84, 0x34, 0xc8, 0xba, 0xe2, 0x2e, 0x25, 0x2c, 0x15, 0xa5, - 0x12, 0x26, 0xc9, 0x69, 0x0c, 0x24, 0x33, 0x21, 0x33, 0xa9, 0xf4, 0x19, 0x7c, 0x0b, 0x2f, 0x7d, - 0x14, 0x1f, 0xc5, 0x97, 0x50, 0x32, 0x99, 0x49, 0xfd, 0xa0, 0x76, 0xbd, 0x3b, 0x3d, 0xe7, 0xfc, - 0x7f, 0xe7, 0xcc, 0x9f, 0x9e, 0x20, 0x3f, 0x65, 0x2c, 0xcd, 0xc1, 0x26, 0x09, 0xb7, 0xdb, 0xb0, - 0x89, 0xe6, 0x8e, 0x5d, 0x01, 0x67, 0x75, 0x15, 0x03, 0xb7, 0xe3, 0x9a, 0x0b, 0x56, 0x40, 0x15, - 0x52, 0x48, 0x89, 0xc8, 0xe6, 0x10, 0xc6, 0x55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0x14, 0xb3, 0x2a, 0xb5, 0x53, 0xa0, 0xf2, 0x16, 0xf4, 0x3d, 0x97, 0x19, - 0xff, 0xc7, 0x57, 0xe7, 0x79, 0x17, 0x7d, 0x31, 0x36, 0x4e, 0x3d, 0xef, 0xab, 0x71, 0x74, 0xda, - 0x22, 0xbd, 0x84, 0xe3, 0x36, 0x6c, 0xa2, 0x89, 0x83, 0x03, 0xdd, 0xf9, 0x4d, 0xf7, 0x4c, 0xbd, - 0x84, 0x4f, 0xbb, 0x9e, 0xe9, 0xc4, 0x99, 0x76, 0x3d, 0xdf, 0x8d, 0xe3, 0xb6, 0xe0, 0xba, 0x5e, - 0xc2, 0x5d, 0xb7, 0xeb, 0x72, 0xdd, 0x89, 0xe3, 0xba, 0x5d, 0x5f, 0xb4, 0x2d, 0x97, 0x7d, 0xfc, - 0x33, 0x00, 0x00, 0xff, 0xff, 0x26, 0x03, 0xfb, 0x3c, 0x21, 0x05, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/detail_placement_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/detail_placement_view.pb.go deleted file mode 100644 index 39b3e48b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/detail_placement_view.pb.go +++ /dev/null @@ -1,158 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/detail_placement_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A view with metrics aggregated by ad group and URL or YouTube video. -type DetailPlacementView struct { - // The resource name of the detail placement view. - // Detail placement view resource names have the form: - // - // `customers/{customer_id}/detailPlacementViews/{ad_group_id}~{base64_placement}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The automatic placement string at detail level, e. g. website URL, mobile - // application ID, or a YouTube video ID. - Placement *wrappers.StringValue `protobuf:"bytes,2,opt,name=placement,proto3" json:"placement,omitempty"` - // The display name is URL name for websites, YouTube video name for YouTube - // videos, and translated mobile app name for mobile apps. - DisplayName *wrappers.StringValue `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // URL of the group placement, e.g. domain, link to the mobile application in - // app store, or a YouTube channel URL. - GroupPlacementTargetUrl *wrappers.StringValue `protobuf:"bytes,4,opt,name=group_placement_target_url,json=groupPlacementTargetUrl,proto3" json:"group_placement_target_url,omitempty"` - // URL of the placement, e.g. website, link to the mobile application in app - // store, or a YouTube video URL. - TargetUrl *wrappers.StringValue `protobuf:"bytes,5,opt,name=target_url,json=targetUrl,proto3" json:"target_url,omitempty"` - // Type of the placement, e.g. Website, YouTube Video, and Mobile Application. - PlacementType enums.PlacementTypeEnum_PlacementType `protobuf:"varint,6,opt,name=placement_type,json=placementType,proto3,enum=google.ads.googleads.v2.enums.PlacementTypeEnum_PlacementType" json:"placement_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DetailPlacementView) Reset() { *m = DetailPlacementView{} } -func (m *DetailPlacementView) String() string { return proto.CompactTextString(m) } -func (*DetailPlacementView) ProtoMessage() {} -func (*DetailPlacementView) Descriptor() ([]byte, []int) { - return fileDescriptor_64070670c65266a2, []int{0} -} - -func (m *DetailPlacementView) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DetailPlacementView.Unmarshal(m, b) -} -func (m *DetailPlacementView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DetailPlacementView.Marshal(b, m, deterministic) -} -func (m *DetailPlacementView) XXX_Merge(src proto.Message) { - xxx_messageInfo_DetailPlacementView.Merge(m, src) -} -func (m *DetailPlacementView) XXX_Size() int { - return xxx_messageInfo_DetailPlacementView.Size(m) -} -func (m *DetailPlacementView) XXX_DiscardUnknown() { - xxx_messageInfo_DetailPlacementView.DiscardUnknown(m) -} - -var xxx_messageInfo_DetailPlacementView proto.InternalMessageInfo - -func (m *DetailPlacementView) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *DetailPlacementView) GetPlacement() *wrappers.StringValue { - if m != nil { - return m.Placement - } - return nil -} - -func (m *DetailPlacementView) GetDisplayName() *wrappers.StringValue { - if m != nil { - return m.DisplayName - } - return nil -} - -func (m *DetailPlacementView) GetGroupPlacementTargetUrl() *wrappers.StringValue { - if m != nil { - return m.GroupPlacementTargetUrl - } - return nil -} - -func (m *DetailPlacementView) GetTargetUrl() *wrappers.StringValue { - if m != nil { - return m.TargetUrl - } - return nil -} - -func (m *DetailPlacementView) GetPlacementType() enums.PlacementTypeEnum_PlacementType { - if m != nil { - return m.PlacementType - } - return enums.PlacementTypeEnum_UNSPECIFIED -} - -func init() { - proto.RegisterType((*DetailPlacementView)(nil), "google.ads.googleads.v2.resources.DetailPlacementView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/detail_placement_view.proto", fileDescriptor_64070670c65266a2) -} - -var fileDescriptor_64070670c65266a2 = []byte{ - // 437 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0xdd, 0x8a, 0x13, 0x31, - 0x14, 0x66, 0xa6, 0xba, 0xb0, 0xd9, 0x9f, 0x8b, 0xf1, 0xc2, 0xa1, 0x2c, 0xd2, 0x55, 0x16, 0x7a, - 0x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x02, 0x66, 0x56, 0xe6, - 0xb3, 0x80, 0xf9, 0x13, 0x5f, 0x75, 0x0d, 0x42, 0x8a, 0xca, 0x10, 0x12, 0x50, 0x84, 0x94, 0x39, - 0x21, 0x01, 0x77, 0x77, 0xe4, 0xcc, 0xbe, 0xfc, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x5a, 0x12, 0x1a, - 0x00, 0x9d, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/display_keyword_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/display_keyword_view.pb.go deleted file mode 100644 index 474796e1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/display_keyword_view.pb.go +++ /dev/null @@ -1,97 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/display_keyword_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_bbae9f6689a25c70, []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 (m *DisplayKeywordView) XXX_Merge(src proto.Message) { - xxx_messageInfo_DisplayKeywordView.Merge(m, 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.v2.resources.DisplayKeywordView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/display_keyword_view.proto", fileDescriptor_bbae9f6689a25c70) -} - -var fileDescriptor_bbae9f6689a25c70 = []byte{ - // 276 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0xcf, 0x4a, 0xec, 0x30, - 0x14, 0xc6, 0x69, 0x2f, 0x5c, 0xb0, 0xe8, 0xa6, 0x1b, 0x45, 0x5c, 0x38, 0xca, 0x80, 0xab, 0x04, - 0xea, 0xca, 0xe8, 0x26, 0x83, 0x30, 0xa0, 0x20, 0xc3, 0x2c, 0xba, 0x90, 0x42, 0x89, 0x93, 0x10, - 0x82, 0x6d, 0x4e, 0xc9, 0xa9, 0x2d, 0xb3, 0xf7, 0x49, 0x5c, 0xfa, 0x28, 0x3e, 0x8a, 0x4f, 0x21, - 0x9d, 0x98, 0x6c, 0x04, 0xdd, 0x7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22, 0xc5, 0x58, 0x59, 0x30, 0x16, - 0xb9, 0xa7, 0xff, 0xbb, 0xb1, 0x97, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x8f, 0xf7, 0x89, 0xaa, - 0xc9, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/distance_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/distance_view.pb.go deleted file mode 100644 index 16f7c21c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/distance_view.pb.go +++ /dev/null @@ -1,127 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/distance_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A distance view with metrics aggregated by the user’s distance from an -// advertiser’s location extensions. Each DistanceBucket includes all -// impressions that fall within its distance and a single impression will -// contribute to the metrics for all DistanceBuckets that include the user’s -// distance. -type DistanceView struct { - // The resource name of the distance view. - // Distance view resource names have the form: - // - // `customers/{customer_id}/distanceViews/1~{distance_bucket}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // Grouping of user distance from location extensions. - DistanceBucket enums.DistanceBucketEnum_DistanceBucket `protobuf:"varint,2,opt,name=distance_bucket,json=distanceBucket,proto3,enum=google.ads.googleads.v2.enums.DistanceBucketEnum_DistanceBucket" json:"distance_bucket,omitempty"` - // True if the DistanceBucket is using the metric system, false otherwise. - MetricSystem *wrappers.BoolValue `protobuf:"bytes,3,opt,name=metric_system,json=metricSystem,proto3" json:"metric_system,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DistanceView) Reset() { *m = DistanceView{} } -func (m *DistanceView) String() string { return proto.CompactTextString(m) } -func (*DistanceView) ProtoMessage() {} -func (*DistanceView) Descriptor() ([]byte, []int) { - return fileDescriptor_3430a19803c9c189, []int{0} -} - -func (m *DistanceView) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DistanceView.Unmarshal(m, b) -} -func (m *DistanceView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DistanceView.Marshal(b, m, deterministic) -} -func (m *DistanceView) XXX_Merge(src proto.Message) { - xxx_messageInfo_DistanceView.Merge(m, src) -} -func (m *DistanceView) XXX_Size() int { - return xxx_messageInfo_DistanceView.Size(m) -} -func (m *DistanceView) XXX_DiscardUnknown() { - xxx_messageInfo_DistanceView.DiscardUnknown(m) -} - -var xxx_messageInfo_DistanceView proto.InternalMessageInfo - -func (m *DistanceView) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *DistanceView) GetDistanceBucket() enums.DistanceBucketEnum_DistanceBucket { - if m != nil { - return m.DistanceBucket - } - return enums.DistanceBucketEnum_UNSPECIFIED -} - -func (m *DistanceView) GetMetricSystem() *wrappers.BoolValue { - if m != nil { - return m.MetricSystem - } - return nil -} - -func init() { - proto.RegisterType((*DistanceView)(nil), "google.ads.googleads.v2.resources.DistanceView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/distance_view.proto", fileDescriptor_3430a19803c9c189) -} - -var fileDescriptor_3430a19803c9c189 = []byte{ - // 375 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xc1, 0x4a, 0xeb, 0x40, - 0x14, 0x86, 0x49, 0x0a, 0x17, 0x6e, 0x6e, 0xdb, 0x8b, 0x59, 0x95, 0x22, 0xd2, 0x2a, 0x85, 0xae, - 0x26, 0x90, 0xe2, 0x66, 0x5c, 0x68, 0x82, 0x52, 0x70, 0x21, 0x25, 0x42, 0x16, 0x12, 0x28, 0xd3, - 0xe4, 0x18, 0x06, 0x93, 0x99, 0x90, 0x49, 0x5a, 0x7c, 0x1d, 0x97, 0x3e, 0x8a, 0x2f, 0xe1, 0xde, - 0x87, 0x10, 0x69, 0x26, 0x33, 0xd4, 0x42, 0x75, 0xf7, 0xcf, 0x9c, 0xef, 0xff, 0xcf, 0x39, 0x93, - 0x58, 0xe7, 0x29, 0xe7, 0x69, 0x06, 0x0e, 0x49, 0x84, 0x23, 0xe5, 0x56, 0xad, 0x5d, 0xa7, 0x04, - 0xc1, 0xeb, 0x32, 0x06, 0xe1, 0x24, 0x54, 0x54, 0x84, 0xc5, 0xb0, 0x5c, 0x53, 0xd8, 0xa0, 0xa2, - 0xe4, 0x15, 0xb7, 0xc7, 0x92, 0x45, 0x24, 0x11, 0x48, 0xdb, 0xd0, 0xda, 0x45, 0xda, 0x36, 0x9c, - 0x1d, 0x4a, 0x06, 0x56, 0xe7, 0x3b, 0xa9, 0xab, 0x3a, 0x7e, 0x82, 0x4a, 0xe6, 0x0e, 0x4f, 0x5a, - 0x53, 0x73, 0x5a, 0xd5, 0x8f, 0xce, 0xa6, 0x24, 0x45, 0x01, 0xa5, 0x68, 0xeb, 0xc7, 0x2a, 0xb4, - 0xa0, 0x0e, 0x61, 0x8c, 0x57, 0xa4, 0xa2, 0x9c, 0xb5, 0xd5, 0xd3, 0x77, 0xc3, 0xea, 0x5e, 0xb7, - 0xb9, 0x21, 0x85, 0x8d, 0x7d, 0x66, 0xf5, 0xd4, 0x40, 0x4b, 0x46, 0x72, 0x18, 0x18, 0x23, 0x63, - 0xfa, 0x37, 0xe8, 0xaa, 0xcb, 0x3b, 0x92, 0x83, 0x4d, 0xad, 0xff, 0x7b, 0xc3, 0x0c, 0xcc, 0x91, - 0x31, 0xed, 0xbb, 0x57, 0xe8, 0xd0, 0x96, 0xcd, 0x0a, 0x48, 0xb5, 0xf2, 0x1b, 0xd3, 0x0d, 0xab, - 0xf3, 0xbd, 0xab, 0xa0, 0x9f, 0x7c, 0x3b, 0xdb, 0x97, 0x56, 0x2f, 0x87, 0xaa, 0xa4, 0xf1, 0x52, - 0x3c, 0x8b, 0x0a, 0xf2, 0x41, 0x67, 0x64, 0x4c, 0xff, 0xb9, 0x43, 0xd5, 0x48, 0xad, 0x8d, 0x7c, - 0xce, 0xb3, 0x90, 0x64, 0x35, 0x04, 0x5d, 0x69, 0xb8, 0x6f, 0x78, 0xff, 0xd3, 0xb0, 0x26, 0x31, - 0xcf, 0xd1, 0xaf, 0xcf, 0xef, 0x1f, 0xed, 0x3e, 0xc4, 0x62, 0x9b, 0xbb, 0x30, 0x1e, 0x6e, 0x5b, - 0x5f, 0xca, 0x33, 0xc2, 0x52, 0xc4, 0xcb, 0xd4, 0x49, 0x81, 0x35, 0x5d, 0xd5, 0x37, 0x2a, 0xa8, - 0xf8, 0xe1, 0x67, 0xb8, 0xd0, 0xea, 0xc5, 0xec, 0xcc, 0x3d, 0xef, 0xd5, 0x1c, 0xcf, 0x65, 0xa4, - 0x97, 0x08, 0x24, 0xe5, 0x56, 0x85, 0x2e, 0x0a, 0x14, 0xf9, 0xa6, 0x98, 0xc8, 0x4b, 0x44, 0xa4, - 0x99, 0x28, 0x74, 0x23, 0xcd, 0x7c, 0x98, 0x13, 0x59, 0xc0, 0xd8, 0x4b, 0x04, 0xc6, 0x9a, 0xc2, - 0x38, 0x74, 0x31, 0xd6, 0xdc, 0xea, 0x4f, 0x33, 0xec, 0xec, 0x2b, 0x00, 0x00, 0xff, 0xff, 0x45, - 0x2f, 0x26, 0x1d, 0xb8, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/domain_category.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/domain_category.pb.go deleted file mode 100644 index ea16cafa..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/domain_category.pb.go +++ /dev/null @@ -1,193 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/domain_category.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A category generated automatically by crawling a domain. If a campaign uses -// the DynamicSearchAdsSetting, then domain categories will be generated for -// the domain. The categories can be targeted using WebpageConditionInfo. -// See: https://support.google.com/google-ads/answer/2471185 -type DomainCategory struct { - // The resource name of the domain category. - // Domain category resource names have the form: - // - // `customers/{customer_id}/domainCategories/{campaign_id}~{category_base64}~{language_code}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The campaign this category is recommended for. - Campaign *wrappers.StringValue `protobuf:"bytes,2,opt,name=campaign,proto3" json:"campaign,omitempty"` - // Recommended category for the website domain. e.g. if you have a website - // about electronics, the categories could be "cameras", "televisions", etc. - Category *wrappers.StringValue `protobuf:"bytes,3,opt,name=category,proto3" json:"category,omitempty"` - // The language code specifying the language of the website. e.g. "en" for - // English. The language can be specified in the DynamicSearchAdsSetting - // required for dynamic search ads. This is the language of the pages from - // your website that you want Google Ads to find, create ads for, - // and match searches with. - LanguageCode *wrappers.StringValue `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // The domain for the website. The domain can be specified in the - // DynamicSearchAdsSetting required for dynamic search ads. - Domain *wrappers.StringValue `protobuf:"bytes,5,opt,name=domain,proto3" json:"domain,omitempty"` - // Fraction of pages on your site that this category matches. - CoverageFraction *wrappers.DoubleValue `protobuf:"bytes,6,opt,name=coverage_fraction,json=coverageFraction,proto3" json:"coverage_fraction,omitempty"` - // The position of this category in the set of categories. Lower numbers - // indicate a better match for the domain. null indicates not recommended. - CategoryRank *wrappers.Int64Value `protobuf:"bytes,7,opt,name=category_rank,json=categoryRank,proto3" json:"category_rank,omitempty"` - // Indicates whether this category has sub-categories. - HasChildren *wrappers.BoolValue `protobuf:"bytes,8,opt,name=has_children,json=hasChildren,proto3" json:"has_children,omitempty"` - // The recommended cost per click for the category. - RecommendedCpcBidMicros *wrappers.Int64Value `protobuf:"bytes,9,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 *DomainCategory) Reset() { *m = DomainCategory{} } -func (m *DomainCategory) String() string { return proto.CompactTextString(m) } -func (*DomainCategory) ProtoMessage() {} -func (*DomainCategory) Descriptor() ([]byte, []int) { - return fileDescriptor_68b5d3cffbd1a298, []int{0} -} - -func (m *DomainCategory) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DomainCategory.Unmarshal(m, b) -} -func (m *DomainCategory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DomainCategory.Marshal(b, m, deterministic) -} -func (m *DomainCategory) XXX_Merge(src proto.Message) { - xxx_messageInfo_DomainCategory.Merge(m, src) -} -func (m *DomainCategory) XXX_Size() int { - return xxx_messageInfo_DomainCategory.Size(m) -} -func (m *DomainCategory) XXX_DiscardUnknown() { - xxx_messageInfo_DomainCategory.DiscardUnknown(m) -} - -var xxx_messageInfo_DomainCategory proto.InternalMessageInfo - -func (m *DomainCategory) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *DomainCategory) GetCampaign() *wrappers.StringValue { - if m != nil { - return m.Campaign - } - return nil -} - -func (m *DomainCategory) GetCategory() *wrappers.StringValue { - if m != nil { - return m.Category - } - return nil -} - -func (m *DomainCategory) GetLanguageCode() *wrappers.StringValue { - if m != nil { - return m.LanguageCode - } - return nil -} - -func (m *DomainCategory) GetDomain() *wrappers.StringValue { - if m != nil { - return m.Domain - } - return nil -} - -func (m *DomainCategory) GetCoverageFraction() *wrappers.DoubleValue { - if m != nil { - return m.CoverageFraction - } - return nil -} - -func (m *DomainCategory) GetCategoryRank() *wrappers.Int64Value { - if m != nil { - return m.CategoryRank - } - return nil -} - -func (m *DomainCategory) GetHasChildren() *wrappers.BoolValue { - if m != nil { - return m.HasChildren - } - return nil -} - -func (m *DomainCategory) GetRecommendedCpcBidMicros() *wrappers.Int64Value { - if m != nil { - return m.RecommendedCpcBidMicros - } - return nil -} - -func init() { - proto.RegisterType((*DomainCategory)(nil), "google.ads.googleads.v2.resources.DomainCategory") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/domain_category.proto", fileDescriptor_68b5d3cffbd1a298) -} - -var fileDescriptor_68b5d3cffbd1a298 = []byte{ - // 491 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0x61, 0x6b, 0xd4, 0x30, - 0x1c, 0xc6, 0xb9, 0xdb, 0x3c, 0xb7, 0xec, 0x4e, 0xb4, 0xbe, 0xb0, 0x9c, 0x43, 0x36, 0x65, 0xb0, - 0x57, 0x29, 0xd4, 0xa1, 0x52, 0x11, 0xec, 0xdd, 0x70, 0x4c, 0x50, 0xc6, 0x09, 0x87, 0xc8, 0x41, - 0xc9, 0x25, 0x59, 0x2e, 0xac, 0xcd, 0xbf, 0x24, 0xed, 0x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xad, 0xbf, 0x75, 0x96, 0xa6, 0xdf, 0xfb, 0x87, 0x67, 0xd6, 0x32, - 0x65, 0x06, 0xdb, 0xb1, 0x99, 0xe6, 0x31, 0x9e, 0x79, 0xe5, 0x4f, 0xaf, 0x59, 0xa4, 0xcc, 0x2c, - 0x3a, 0xcd, 0x62, 0x1e, 0x2f, 0x3a, 0xcd, 0xaf, 0xfe, 0x91, 0x5d, 0x48, 0x92, 0x94, 0x99, 0x24, - 0xe9, 0x54, 0x49, 0x32, 0x8f, 0x93, 0xa4, 0xd3, 0x2d, 0x07, 0x6d, 0xd9, 0xa7, 0xbf, 0x03, 0x00, - 0x00, 0xff, 0xff, 0xa0, 0x28, 0x56, 0xa8, 0xf0, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/dynamic_search_ads_search_term_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/dynamic_search_ads_search_term_view.pb.go deleted file mode 100644 index 35cb5bef..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/dynamic_search_ads_search_term_view.pb.go +++ /dev/null @@ -1,149 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/dynamic_search_ads_search_term_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A dynamic search ads search term view. -type DynamicSearchAdsSearchTermView struct { - // The resource name of the dynamic search ads search term view. - // Dynamic search ads search term view resource names have the form: - // - // `customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fp}~{headline_fp}~{landing_page_fp}~{page_url_fp}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // Search term - // - // This field is read-only. - SearchTerm *wrappers.StringValue `protobuf:"bytes,2,opt,name=search_term,json=searchTerm,proto3" json:"search_term,omitempty"` - // The dynamically generated headline of the Dynamic Search Ad. - // - // This field is read-only. - Headline *wrappers.StringValue `protobuf:"bytes,3,opt,name=headline,proto3" json:"headline,omitempty"` - // The dynamically selected landing page URL of the impression. - // - // This field is read-only. - LandingPage *wrappers.StringValue `protobuf:"bytes,4,opt,name=landing_page,json=landingPage,proto3" json:"landing_page,omitempty"` - // The URL of page feed item served for the impression. - // - // This field is read-only. - PageUrl *wrappers.StringValue `protobuf:"bytes,5,opt,name=page_url,json=pageUrl,proto3" json:"page_url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DynamicSearchAdsSearchTermView) Reset() { *m = DynamicSearchAdsSearchTermView{} } -func (m *DynamicSearchAdsSearchTermView) String() string { return proto.CompactTextString(m) } -func (*DynamicSearchAdsSearchTermView) ProtoMessage() {} -func (*DynamicSearchAdsSearchTermView) Descriptor() ([]byte, []int) { - return fileDescriptor_1886da9be7b94060, []int{0} -} - -func (m *DynamicSearchAdsSearchTermView) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DynamicSearchAdsSearchTermView.Unmarshal(m, b) -} -func (m *DynamicSearchAdsSearchTermView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DynamicSearchAdsSearchTermView.Marshal(b, m, deterministic) -} -func (m *DynamicSearchAdsSearchTermView) XXX_Merge(src proto.Message) { - xxx_messageInfo_DynamicSearchAdsSearchTermView.Merge(m, src) -} -func (m *DynamicSearchAdsSearchTermView) XXX_Size() int { - return xxx_messageInfo_DynamicSearchAdsSearchTermView.Size(m) -} -func (m *DynamicSearchAdsSearchTermView) XXX_DiscardUnknown() { - xxx_messageInfo_DynamicSearchAdsSearchTermView.DiscardUnknown(m) -} - -var xxx_messageInfo_DynamicSearchAdsSearchTermView proto.InternalMessageInfo - -func (m *DynamicSearchAdsSearchTermView) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *DynamicSearchAdsSearchTermView) GetSearchTerm() *wrappers.StringValue { - if m != nil { - return m.SearchTerm - } - return nil -} - -func (m *DynamicSearchAdsSearchTermView) GetHeadline() *wrappers.StringValue { - if m != nil { - return m.Headline - } - return nil -} - -func (m *DynamicSearchAdsSearchTermView) GetLandingPage() *wrappers.StringValue { - if m != nil { - return m.LandingPage - } - return nil -} - -func (m *DynamicSearchAdsSearchTermView) GetPageUrl() *wrappers.StringValue { - if m != nil { - return m.PageUrl - } - return nil -} - -func init() { - proto.RegisterType((*DynamicSearchAdsSearchTermView)(nil), "google.ads.googleads.v2.resources.DynamicSearchAdsSearchTermView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/dynamic_search_ads_search_term_view.proto", fileDescriptor_1886da9be7b94060) -} - -var fileDescriptor_1886da9be7b94060 = []byte{ - // 398 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0x4d, 0x6a, 0xdc, 0x30, - 0x18, 0x86, 0x19, 0xa7, 0x3f, 0xa9, 0x26, 0xdd, 0x78, 0x65, 0x42, 0x08, 0x49, 0x43, 0x20, 0x2b, - 0x19, 0xdc, 0x45, 0x8b, 0x4a, 0x29, 0x0e, 0x85, 0x40, 0x0b, 0x65, 0x98, 0xb4, 0x5e, 0x14, 0x83, - 0xf9, 0x62, 0x7d, 0x55, 0x04, 0xb6, 0x64, 0x24, 0x7b, 0x86, 0xde, 0xa2, 0x67, 0xe8, 0xb2, 0x27, - 0xe8, 0x19, 0x7a, 0x94, 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0x37, 0xd0, 0xf1, 0x3b, 0x72, 0xd4, 0x80, - 0xe2, 0x52, 0x89, 0xaa, 0x03, 0x81, 0xc9, 0xa3, 0x3d, 0xdc, 0xcb, 0xd9, 0xb1, 0x02, 0x81, 0xf1, - 0x2b, 0x72, 0x38, 0x1a, 0xab, 0xc1, 0x34, 0xc9, 0xe3, 0x3d, 0xcc, 0x4f, 0x47, 0xfa, 0x8b, 0x69, - 0xae, 0x7f, 0x44, 0xe4, 0xb2, 0xd6, 0x2d, 0x7d, 0xf0, 0x17, 0x5d, 0x5f, 0xec, 0xfe, 0xc2, 0xab, - 0xb1, 0x66, 0xb5, 0xf8, 0xfa, 0x61, 0x4e, 0x12, 0xba, 0x01, 0x25, 0xa8, 0x36, 0x22, 0x15, 0xa8, - 0xa6, 0x11, 0xfe, 0x26, 0x75, 0xd2, 0xee, 0xb8, 0x58, 0x6f, 0x82, 0xfa, 0x19, 0x1d, 0xdc, 0xe4, - 0xf9, 0xaf, 0xe8, 0xfc, 0xc6, 0x45, 0xe6, 0xdc, 0x52, 0x27, 0x47, 0x55, 0x64, 0x74, 0xed, 0xc9, - 0x3f, 0x9e, 0x29, 0x73, 0x6e, 0xcb, 0xc0, 0x94, 0x45, 0x56, 0x06, 0xe6, 0x6f, 0x74, 0xe9, 0x0e, - 0x18, 0xcb, 0xb9, 0x65, 0x2c, 0x50, 0x8c, 0x15, 0x19, 0x63, 0x81, 0xbb, 0x7b, 0x32, 0x8d, 0x7d, - 0xf9, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x80, 0xdd, 0x6a, 0x6b, 0x04, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/expanded_landing_page_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/expanded_landing_page_view.pb.go deleted file mode 100644 index b7252788..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/expanded_landing_page_view.pb.go +++ /dev/null @@ -1,112 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/expanded_landing_page_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A landing page view with metrics aggregated at the expanded final URL -// level. -type ExpandedLandingPageView struct { - // The resource name of the expanded landing page view. - // Expanded landing page view resource names have the form: - // - // `customers/{customer_id}/expandedLandingPageViews/{expanded_final_url_fingerprint}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The final URL that clicks are directed to. - ExpandedFinalUrl *wrappers.StringValue `protobuf:"bytes,2,opt,name=expanded_final_url,json=expandedFinalUrl,proto3" json:"expanded_final_url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExpandedLandingPageView) Reset() { *m = ExpandedLandingPageView{} } -func (m *ExpandedLandingPageView) String() string { return proto.CompactTextString(m) } -func (*ExpandedLandingPageView) ProtoMessage() {} -func (*ExpandedLandingPageView) Descriptor() ([]byte, []int) { - return fileDescriptor_f0d9f18d76cfc25b, []int{0} -} - -func (m *ExpandedLandingPageView) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExpandedLandingPageView.Unmarshal(m, b) -} -func (m *ExpandedLandingPageView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExpandedLandingPageView.Marshal(b, m, deterministic) -} -func (m *ExpandedLandingPageView) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExpandedLandingPageView.Merge(m, src) -} -func (m *ExpandedLandingPageView) XXX_Size() int { - return xxx_messageInfo_ExpandedLandingPageView.Size(m) -} -func (m *ExpandedLandingPageView) XXX_DiscardUnknown() { - xxx_messageInfo_ExpandedLandingPageView.DiscardUnknown(m) -} - -var xxx_messageInfo_ExpandedLandingPageView proto.InternalMessageInfo - -func (m *ExpandedLandingPageView) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *ExpandedLandingPageView) GetExpandedFinalUrl() *wrappers.StringValue { - if m != nil { - return m.ExpandedFinalUrl - } - return nil -} - -func init() { - proto.RegisterType((*ExpandedLandingPageView)(nil), "google.ads.googleads.v2.resources.ExpandedLandingPageView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/expanded_landing_page_view.proto", fileDescriptor_f0d9f18d76cfc25b) -} - -var fileDescriptor_f0d9f18d76cfc25b = []byte{ - // 342 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xc1, 0x4a, 0xf3, 0x40, - 0x14, 0x85, 0x49, 0x7e, 0xf8, 0xc1, 0xa8, 0x20, 0xd9, 0x58, 0x4a, 0x91, 0x56, 0x29, 0x74, 0x35, - 0x81, 0xb8, 0x1b, 0x57, 0x29, 0x68, 0xa1, 0x88, 0x94, 0x8a, 0x59, 0x48, 0x20, 0xdc, 0x76, 0x6e, - 0x87, 0x81, 0x74, 0x26, 0xcc, 0x24, 0xad, 0xaf, 0xa0, 0x8f, 0xe1, 0xd2, 0x47, 0xf1, 0x51, 0x7c, - 0x0a, 0x49, 0x93, 0x99, 0x9d, 0xba, 0x3b, 0xcc, 0x9c, 0x73, 0xee, 0x77, 0xb9, 0xc1, 0x94, 0x2b, - 0xc5, 0x0b, 0x8c, 0x80, 0x99, 0xa8, 0x95, 0x8d, 0xda, 0xc5, 0x91, 0x46, 0xa3, 0x6a, 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f, 0x2c, 0x49, 0x3e, 0xfc, 0xd1, 0xac, 0xad, 0x4c, 0x98, 0x21, - 0xad, 0x6c, 0x54, 0x1a, 0x93, 0xa5, 0x75, 0x7e, 0x5a, 0x4f, 0x96, 0x30, 0x93, 0x39, 0x4f, 0x96, - 0xc6, 0x99, 0xf3, 0x7c, 0xf9, 0xe3, 0xf6, 0x83, 0xd2, 0x84, 0x19, 0x4a, 0x9d, 0x8b, 0xd2, 0x34, - 0xa6, 0xd4, 0xf9, 0x56, 0xff, 0x0f, 0xb0, 0xd7, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x09, 0x2a, - 0xe3, 0x32, 0x46, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/extension_feed_item.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/extension_feed_item.pb.go deleted file mode 100644 index 15fca94c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/extension_feed_item.pb.go +++ /dev/null @@ -1,466 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/extension_feed_item.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// An extension feed item. -type ExtensionFeedItem struct { - // The resource name of the extension feed item. - // Extension feed item resource names have the form: - // - // `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The ID of this feed item. Read-only. - Id *wrappers.Int64Value `protobuf:"bytes,24,opt,name=id,proto3" json:"id,omitempty"` - // The extension type of the extension feed item. - // This field is read-only. - ExtensionType enums.ExtensionTypeEnum_ExtensionType `protobuf:"varint,13,opt,name=extension_type,json=extensionType,proto3,enum=google.ads.googleads.v2.enums.ExtensionTypeEnum_ExtensionType" json:"extension_type,omitempty"` - // Start time in which this feed item is effective and can begin serving. The - // time is in the customer's time zone. - // 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,5,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 - // serving. The time is in the customer's time zone. - // 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,6,opt,name=end_date_time,json=endDateTime,proto3" json:"end_date_time,omitempty"` - // List of non-overlapping schedules specifying all time intervals - // for which the feed item may serve. There can be a maximum of 6 schedules - // per day. - AdSchedules []*common.AdScheduleInfo `protobuf:"bytes,16,rep,name=ad_schedules,json=adSchedules,proto3" json:"ad_schedules,omitempty"` - // The targeted device. - Device enums.FeedItemTargetDeviceEnum_FeedItemTargetDevice `protobuf:"varint,17,opt,name=device,proto3,enum=google.ads.googleads.v2.enums.FeedItemTargetDeviceEnum_FeedItemTargetDevice" json:"device,omitempty"` - // The targeted geo target constant. - TargetedGeoTargetConstant *wrappers.StringValue `protobuf:"bytes,20,opt,name=targeted_geo_target_constant,json=targetedGeoTargetConstant,proto3" json:"targeted_geo_target_constant,omitempty"` - // The targeted keyword. - TargetedKeyword *common.KeywordInfo `protobuf:"bytes,22,opt,name=targeted_keyword,json=targetedKeyword,proto3" json:"targeted_keyword,omitempty"` - // Status of the feed item. - // This field is read-only. - Status enums.FeedItemStatusEnum_FeedItemStatus `protobuf:"varint,4,opt,name=status,proto3,enum=google.ads.googleads.v2.enums.FeedItemStatusEnum_FeedItemStatus" json:"status,omitempty"` - // Extension type. - // - // Types that are valid to be assigned to Extension: - // *ExtensionFeedItem_SitelinkFeedItem - // *ExtensionFeedItem_StructuredSnippetFeedItem - // *ExtensionFeedItem_AppFeedItem - // *ExtensionFeedItem_CallFeedItem - // *ExtensionFeedItem_CalloutFeedItem - // *ExtensionFeedItem_TextMessageFeedItem - // *ExtensionFeedItem_PriceFeedItem - // *ExtensionFeedItem_PromotionFeedItem - // *ExtensionFeedItem_LocationFeedItem - // *ExtensionFeedItem_AffiliateLocationFeedItem - // *ExtensionFeedItem_HotelCalloutFeedItem - Extension isExtensionFeedItem_Extension `protobuf_oneof:"extension"` - // Targeting at either the campaign or ad group level. Feed items that target - // a campaign or ad group will only serve with that resource. - // - // Types that are valid to be assigned to ServingResourceTargeting: - // *ExtensionFeedItem_TargetedCampaign - // *ExtensionFeedItem_TargetedAdGroup - ServingResourceTargeting isExtensionFeedItem_ServingResourceTargeting `protobuf_oneof:"serving_resource_targeting"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExtensionFeedItem) Reset() { *m = ExtensionFeedItem{} } -func (m *ExtensionFeedItem) String() string { return proto.CompactTextString(m) } -func (*ExtensionFeedItem) ProtoMessage() {} -func (*ExtensionFeedItem) Descriptor() ([]byte, []int) { - return fileDescriptor_84144755971e2200, []int{0} -} - -func (m *ExtensionFeedItem) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExtensionFeedItem.Unmarshal(m, b) -} -func (m *ExtensionFeedItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExtensionFeedItem.Marshal(b, m, deterministic) -} -func (m *ExtensionFeedItem) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExtensionFeedItem.Merge(m, src) -} -func (m *ExtensionFeedItem) XXX_Size() int { - return xxx_messageInfo_ExtensionFeedItem.Size(m) -} -func (m *ExtensionFeedItem) XXX_DiscardUnknown() { - xxx_messageInfo_ExtensionFeedItem.DiscardUnknown(m) -} - -var xxx_messageInfo_ExtensionFeedItem proto.InternalMessageInfo - -func (m *ExtensionFeedItem) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *ExtensionFeedItem) GetId() *wrappers.Int64Value { - if m != nil { - return m.Id - } - return nil -} - -func (m *ExtensionFeedItem) GetExtensionType() enums.ExtensionTypeEnum_ExtensionType { - if m != nil { - return m.ExtensionType - } - return enums.ExtensionTypeEnum_UNSPECIFIED -} - -func (m *ExtensionFeedItem) GetStartDateTime() *wrappers.StringValue { - if m != nil { - return m.StartDateTime - } - return nil -} - -func (m *ExtensionFeedItem) GetEndDateTime() *wrappers.StringValue { - if m != nil { - return m.EndDateTime - } - return nil -} - -func (m *ExtensionFeedItem) GetAdSchedules() []*common.AdScheduleInfo { - if m != nil { - return m.AdSchedules - } - return nil -} - -func (m *ExtensionFeedItem) GetDevice() enums.FeedItemTargetDeviceEnum_FeedItemTargetDevice { - if m != nil { - return m.Device - } - return enums.FeedItemTargetDeviceEnum_UNSPECIFIED -} - -func (m *ExtensionFeedItem) GetTargetedGeoTargetConstant() *wrappers.StringValue { - if m != nil { - return m.TargetedGeoTargetConstant - } - return nil -} - -func (m *ExtensionFeedItem) GetTargetedKeyword() *common.KeywordInfo { - if m != nil { - return m.TargetedKeyword - } - return nil -} - -func (m *ExtensionFeedItem) GetStatus() enums.FeedItemStatusEnum_FeedItemStatus { - if m != nil { - return m.Status - } - return enums.FeedItemStatusEnum_UNSPECIFIED -} - -type isExtensionFeedItem_Extension interface { - isExtensionFeedItem_Extension() -} - -type ExtensionFeedItem_SitelinkFeedItem struct { - SitelinkFeedItem *common.SitelinkFeedItem `protobuf:"bytes,2,opt,name=sitelink_feed_item,json=sitelinkFeedItem,proto3,oneof"` -} - -type ExtensionFeedItem_StructuredSnippetFeedItem struct { - StructuredSnippetFeedItem *common.StructuredSnippetFeedItem `protobuf:"bytes,3,opt,name=structured_snippet_feed_item,json=structuredSnippetFeedItem,proto3,oneof"` -} - -type ExtensionFeedItem_AppFeedItem struct { - AppFeedItem *common.AppFeedItem `protobuf:"bytes,7,opt,name=app_feed_item,json=appFeedItem,proto3,oneof"` -} - -type ExtensionFeedItem_CallFeedItem struct { - CallFeedItem *common.CallFeedItem `protobuf:"bytes,8,opt,name=call_feed_item,json=callFeedItem,proto3,oneof"` -} - -type ExtensionFeedItem_CalloutFeedItem struct { - CalloutFeedItem *common.CalloutFeedItem `protobuf:"bytes,9,opt,name=callout_feed_item,json=calloutFeedItem,proto3,oneof"` -} - -type ExtensionFeedItem_TextMessageFeedItem struct { - TextMessageFeedItem *common.TextMessageFeedItem `protobuf:"bytes,10,opt,name=text_message_feed_item,json=textMessageFeedItem,proto3,oneof"` -} - -type ExtensionFeedItem_PriceFeedItem struct { - PriceFeedItem *common.PriceFeedItem `protobuf:"bytes,11,opt,name=price_feed_item,json=priceFeedItem,proto3,oneof"` -} - -type ExtensionFeedItem_PromotionFeedItem struct { - PromotionFeedItem *common.PromotionFeedItem `protobuf:"bytes,12,opt,name=promotion_feed_item,json=promotionFeedItem,proto3,oneof"` -} - -type ExtensionFeedItem_LocationFeedItem struct { - LocationFeedItem *common.LocationFeedItem `protobuf:"bytes,14,opt,name=location_feed_item,json=locationFeedItem,proto3,oneof"` -} - -type ExtensionFeedItem_AffiliateLocationFeedItem struct { - AffiliateLocationFeedItem *common.AffiliateLocationFeedItem `protobuf:"bytes,15,opt,name=affiliate_location_feed_item,json=affiliateLocationFeedItem,proto3,oneof"` -} - -type ExtensionFeedItem_HotelCalloutFeedItem struct { - HotelCalloutFeedItem *common.HotelCalloutFeedItem `protobuf:"bytes,23,opt,name=hotel_callout_feed_item,json=hotelCalloutFeedItem,proto3,oneof"` -} - -func (*ExtensionFeedItem_SitelinkFeedItem) isExtensionFeedItem_Extension() {} - -func (*ExtensionFeedItem_StructuredSnippetFeedItem) isExtensionFeedItem_Extension() {} - -func (*ExtensionFeedItem_AppFeedItem) isExtensionFeedItem_Extension() {} - -func (*ExtensionFeedItem_CallFeedItem) isExtensionFeedItem_Extension() {} - -func (*ExtensionFeedItem_CalloutFeedItem) isExtensionFeedItem_Extension() {} - -func (*ExtensionFeedItem_TextMessageFeedItem) isExtensionFeedItem_Extension() {} - -func (*ExtensionFeedItem_PriceFeedItem) isExtensionFeedItem_Extension() {} - -func (*ExtensionFeedItem_PromotionFeedItem) isExtensionFeedItem_Extension() {} - -func (*ExtensionFeedItem_LocationFeedItem) isExtensionFeedItem_Extension() {} - -func (*ExtensionFeedItem_AffiliateLocationFeedItem) isExtensionFeedItem_Extension() {} - -func (*ExtensionFeedItem_HotelCalloutFeedItem) isExtensionFeedItem_Extension() {} - -func (m *ExtensionFeedItem) GetExtension() isExtensionFeedItem_Extension { - if m != nil { - return m.Extension - } - return nil -} - -func (m *ExtensionFeedItem) GetSitelinkFeedItem() *common.SitelinkFeedItem { - if x, ok := m.GetExtension().(*ExtensionFeedItem_SitelinkFeedItem); ok { - return x.SitelinkFeedItem - } - return nil -} - -func (m *ExtensionFeedItem) GetStructuredSnippetFeedItem() *common.StructuredSnippetFeedItem { - if x, ok := m.GetExtension().(*ExtensionFeedItem_StructuredSnippetFeedItem); ok { - return x.StructuredSnippetFeedItem - } - return nil -} - -func (m *ExtensionFeedItem) GetAppFeedItem() *common.AppFeedItem { - if x, ok := m.GetExtension().(*ExtensionFeedItem_AppFeedItem); ok { - return x.AppFeedItem - } - return nil -} - -func (m *ExtensionFeedItem) GetCallFeedItem() *common.CallFeedItem { - if x, ok := m.GetExtension().(*ExtensionFeedItem_CallFeedItem); ok { - return x.CallFeedItem - } - return nil -} - -func (m *ExtensionFeedItem) GetCalloutFeedItem() *common.CalloutFeedItem { - if x, ok := m.GetExtension().(*ExtensionFeedItem_CalloutFeedItem); ok { - return x.CalloutFeedItem - } - return nil -} - -func (m *ExtensionFeedItem) GetTextMessageFeedItem() *common.TextMessageFeedItem { - if x, ok := m.GetExtension().(*ExtensionFeedItem_TextMessageFeedItem); ok { - return x.TextMessageFeedItem - } - return nil -} - -func (m *ExtensionFeedItem) GetPriceFeedItem() *common.PriceFeedItem { - if x, ok := m.GetExtension().(*ExtensionFeedItem_PriceFeedItem); ok { - return x.PriceFeedItem - } - return nil -} - -func (m *ExtensionFeedItem) GetPromotionFeedItem() *common.PromotionFeedItem { - if x, ok := m.GetExtension().(*ExtensionFeedItem_PromotionFeedItem); ok { - return x.PromotionFeedItem - } - return nil -} - -func (m *ExtensionFeedItem) GetLocationFeedItem() *common.LocationFeedItem { - if x, ok := m.GetExtension().(*ExtensionFeedItem_LocationFeedItem); ok { - return x.LocationFeedItem - } - return nil -} - -func (m *ExtensionFeedItem) GetAffiliateLocationFeedItem() *common.AffiliateLocationFeedItem { - if x, ok := m.GetExtension().(*ExtensionFeedItem_AffiliateLocationFeedItem); ok { - return x.AffiliateLocationFeedItem - } - return nil -} - -func (m *ExtensionFeedItem) GetHotelCalloutFeedItem() *common.HotelCalloutFeedItem { - if x, ok := m.GetExtension().(*ExtensionFeedItem_HotelCalloutFeedItem); ok { - return x.HotelCalloutFeedItem - } - return nil -} - -type isExtensionFeedItem_ServingResourceTargeting interface { - isExtensionFeedItem_ServingResourceTargeting() -} - -type ExtensionFeedItem_TargetedCampaign struct { - TargetedCampaign *wrappers.StringValue `protobuf:"bytes,18,opt,name=targeted_campaign,json=targetedCampaign,proto3,oneof"` -} - -type ExtensionFeedItem_TargetedAdGroup struct { - TargetedAdGroup *wrappers.StringValue `protobuf:"bytes,19,opt,name=targeted_ad_group,json=targetedAdGroup,proto3,oneof"` -} - -func (*ExtensionFeedItem_TargetedCampaign) isExtensionFeedItem_ServingResourceTargeting() {} - -func (*ExtensionFeedItem_TargetedAdGroup) isExtensionFeedItem_ServingResourceTargeting() {} - -func (m *ExtensionFeedItem) GetServingResourceTargeting() isExtensionFeedItem_ServingResourceTargeting { - if m != nil { - return m.ServingResourceTargeting - } - return nil -} - -func (m *ExtensionFeedItem) GetTargetedCampaign() *wrappers.StringValue { - if x, ok := m.GetServingResourceTargeting().(*ExtensionFeedItem_TargetedCampaign); ok { - return x.TargetedCampaign - } - return nil -} - -func (m *ExtensionFeedItem) GetTargetedAdGroup() *wrappers.StringValue { - if x, ok := m.GetServingResourceTargeting().(*ExtensionFeedItem_TargetedAdGroup); ok { - return x.TargetedAdGroup - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ExtensionFeedItem) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ExtensionFeedItem_SitelinkFeedItem)(nil), - (*ExtensionFeedItem_StructuredSnippetFeedItem)(nil), - (*ExtensionFeedItem_AppFeedItem)(nil), - (*ExtensionFeedItem_CallFeedItem)(nil), - (*ExtensionFeedItem_CalloutFeedItem)(nil), - (*ExtensionFeedItem_TextMessageFeedItem)(nil), - (*ExtensionFeedItem_PriceFeedItem)(nil), - (*ExtensionFeedItem_PromotionFeedItem)(nil), - (*ExtensionFeedItem_LocationFeedItem)(nil), - (*ExtensionFeedItem_AffiliateLocationFeedItem)(nil), - (*ExtensionFeedItem_HotelCalloutFeedItem)(nil), - (*ExtensionFeedItem_TargetedCampaign)(nil), - (*ExtensionFeedItem_TargetedAdGroup)(nil), - } -} - -func init() { - proto.RegisterType((*ExtensionFeedItem)(nil), "google.ads.googleads.v2.resources.ExtensionFeedItem") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/extension_feed_item.proto", fileDescriptor_84144755971e2200) -} - -var fileDescriptor_84144755971e2200 = []byte{ - // 969 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x96, 0xdd, 0x6e, 0xdb, 0x36, - 0x14, 0xc7, 0x67, 0x67, 0xcb, 0x16, 0x3a, 0x8e, 0x63, 0xa6, 0x48, 0x95, 0xcc, 0x18, 0xd2, 0x0d, - 0x05, 0x02, 0x74, 0x95, 0x36, 0x37, 0x18, 0x30, 0x07, 0x18, 0xea, 0x24, 0x5d, 0x92, 0xb6, 0x1b, - 0x52, 0xdb, 0xf0, 0x86, 0x21, 0x85, 0xc6, 0x8a, 0xc7, 0x0a, 0x57, 0x89, 0x14, 0x44, 0x2a, 0x4d, - 0x80, 0xdd, 0xed, 0x4d, 0x76, 0xb9, 0xd7, 0xd8, 0xdd, 0x1e, 0x65, 0x4f, 0x51, 0x88, 0xfa, 0x08, - 0x1d, 0xc7, 0x95, 0xef, 0xc8, 0x23, 0xfe, 0x7f, 0xff, 0xc3, 0xc3, 0x0f, 0x11, 0xed, 0xfb, 0x42, - 0xf8, 0x01, 0x38, 0x84, 0x4a, 0x27, 0x6b, 0xa6, 0xad, 0xcb, 0xae, 0x13, 0x83, 0x14, 0x49, 0xec, - 0x81, 0x74, 0xe0, 0x4a, 0x01, 0x97, 0x4c, 0x70, 0x77, 0x02, 0x40, 0x5d, 0xa6, 0x20, 0xb4, 0xa3, - 0x58, 0x28, 0x81, 0x1f, 0x64, 0x0a, 0x9b, 0x50, 0x69, 0x97, 0x62, 0xfb, 0xb2, 0x6b, 0x97, 0xe2, - 0xed, 0xc7, 0xf3, 0xf8, 0x9e, 0x08, 0x43, 0xc1, 0x1d, 0x2f, 0x66, 0x0a, 0x62, 0x46, 0x32, 0xe2, - 0xb6, 0x53, 0x31, 0xbc, 0xcc, 0x45, 0xe6, 0x82, 0xee, 0x3c, 0x01, 0xf0, 0x24, 0x34, 0x73, 0x57, - 0xd7, 0x11, 0xe4, 0x9a, 0xbd, 0x0f, 0x6b, 0xca, 0x59, 0xba, 0x52, 0x11, 0x95, 0x14, 0x4e, 0xfb, - 0x8b, 0xaa, 0x14, 0x89, 0x7d, 0x50, 0x2e, 0x85, 0x4b, 0xe6, 0x15, 0x96, 0x5f, 0xe4, 0x62, 0xdd, - 0x7b, 0x93, 0x4c, 0x9c, 0x77, 0x31, 0x89, 0x22, 0x88, 0x0b, 0x78, 0xa7, 0x80, 0x47, 0xcc, 0x21, - 0x9c, 0x0b, 0x45, 0xd4, 0xcd, 0x24, 0xbf, 0xfc, 0x77, 0x1d, 0xb5, 0x9f, 0x15, 0x33, 0xf9, 0x11, - 0x80, 0x9e, 0x2a, 0x08, 0xf1, 0x57, 0xa8, 0x59, 0xd4, 0xd9, 0xe5, 0x24, 0x04, 0xab, 0xb6, 0x53, - 0xdb, 0x5d, 0x19, 0xac, 0x16, 0xc1, 0x9f, 0x49, 0x08, 0xf8, 0x11, 0xaa, 0x33, 0x6a, 0x59, 0x3b, - 0xb5, 0xdd, 0x46, 0xf7, 0xf3, 0x7c, 0x91, 0xec, 0x22, 0x0b, 0xfb, 0x94, 0xab, 0xef, 0xf6, 0xc6, - 0x24, 0x48, 0x60, 0x50, 0x67, 0x14, 0x03, 0x5a, 0x9b, 0x2e, 0x98, 0xd5, 0xdc, 0xa9, 0xed, 0xae, - 0x75, 0x7f, 0xb0, 0xe7, 0x2d, 0xb4, 0x9e, 0xbb, 0x5d, 0xe6, 0x36, 0xba, 0x8e, 0xe0, 0x19, 0x4f, - 0xc2, 0xe9, 0xc8, 0xa0, 0x09, 0x66, 0x17, 0x1f, 0xa1, 0x96, 0x54, 0x24, 0x56, 0x2e, 0x25, 0x0a, - 0x5c, 0xc5, 0x42, 0xb0, 0x3e, 0xd1, 0x09, 0x76, 0x66, 0x12, 0x1c, 0xaa, 0x98, 0x71, 0x3f, 0xcb, - 0xb0, 0xa9, 0x45, 0x47, 0x44, 0xc1, 0x88, 0x85, 0x80, 0x9f, 0xa2, 0x26, 0x70, 0x6a, 0x30, 0x96, - 0x17, 0x60, 0x34, 0x80, 0xd3, 0x92, 0xf0, 0x0a, 0xad, 0x12, 0xea, 0x4a, 0xef, 0x02, 0x68, 0x12, - 0x80, 0xb4, 0xd6, 0x77, 0x96, 0x76, 0x1b, 0x5d, 0x7b, 0xee, 0x64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 0xc4, 0xaf, 0x50, 0x93, 0x44, 0x91, 0x61, 0xf7, 0xe9, 0x62, 0xcb, 0xd1, 0x8f, 0x22, - 0xc3, 0xa0, 0x41, 0x6e, 0xba, 0x78, 0x84, 0xd6, 0x3c, 0x12, 0x04, 0x06, 0xf3, 0x33, 0xcd, 0xfc, - 0xba, 0x8a, 0x79, 0x48, 0x82, 0xc0, 0x80, 0xae, 0x7a, 0x46, 0x1f, 0xbf, 0x46, 0xed, 0xb4, 0x2f, - 0x12, 0xb3, 0x36, 0x2b, 0x1a, 0xec, 0x2c, 0x02, 0x16, 0x89, 0x59, 0x91, 0x96, 0x37, 0x1d, 0xc2, - 0x7f, 0xa0, 0x4d, 0x05, 0x57, 0xca, 0x0d, 0x41, 0x4a, 0xe2, 0x83, 0xe1, 0x81, 0xb4, 0xc7, 0x93, - 0x2a, 0x8f, 0x11, 0x5c, 0xa9, 0x9f, 0x32, 0xb1, 0xe1, 0xb3, 0xa1, 0x66, 0xc3, 0xf8, 0x17, 0xd4, - 0x8a, 0x62, 0xe6, 0x99, 0x26, 0x0d, 0x6d, 0xf2, 0xb8, 0xca, 0xe4, 0x2c, 0x95, 0x19, 0xf8, 0x66, - 0x64, 0x06, 0xb0, 0x87, 0x36, 0xa2, 0x58, 0x84, 0x42, 0x4d, 0xfd, 0x52, 0xad, 0x55, 0x0d, 0xff, - 0xb6, 0x1a, 0x9e, 0x4b, 0x0d, 0x83, 0x76, 0x74, 0x3b, 0x98, 0x9e, 0x88, 0x40, 0x78, 0xe4, 0x96, - 0xc7, 0xda, 0x62, 0x27, 0xe2, 0x65, 0xae, 0x34, 0x4f, 0x44, 0x70, 0x2b, 0x96, 0x9e, 0x08, 0x32, - 0x99, 0xb0, 0x80, 0xa5, 0x17, 0xf0, 0x1d, 0x5e, 0xad, 0xc5, 0x4e, 0x44, 0xbf, 0x60, 0xdc, 0x61, - 0xba, 0x45, 0xe6, 0x7d, 0xc4, 0x21, 0xba, 0x7f, 0x21, 0x14, 0x04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f, - 0x37, 0xee, 0xf6, 0x7a, 0xe5, 0xb8, 0x37, 0xcb, 0x3a, 0xd9, 0x27, 0xef, 0x03, 0x00, 0x00, 0xff, - 0xff, 0xef, 0x14, 0xa3, 0x5c, 0xf9, 0x0a, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/feed.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/feed.pb.go deleted file mode 100644 index c4830bc9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/feed.pb.go +++ /dev/null @@ -1,630 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/feed.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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_e469535eeb9cf61e, []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.v2.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.v2.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_e469535eeb9cf61e, []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 (m *Feed) XXX_Merge(src proto.Message) { - xxx_messageInfo_Feed.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*Feed) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Feed_PlacesLocationFeedData_)(nil), - (*Feed_AffiliateLocationFeedData_)(nil), - } -} - -// 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. - // This field can only be specified in a create request. All its subfields - // are not selectable. - 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. - // This field is mutate-only and is not selectable. - BusinessAccountId *wrappers.StringValue `protobuf:"bytes,10,opt,name=business_account_id,json=businessAccountId,proto3" json:"business_account_id,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_e469535eeb9cf61e, []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 (m *Feed_PlacesLocationFeedData) XXX_Merge(src proto.Message) { - xxx_messageInfo_Feed_PlacesLocationFeedData.Merge(m, 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) GetBusinessAccountId() *wrappers.StringValue { - if m != nil { - return m.BusinessAccountId - } - 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_e469535eeb9cf61e, []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 (m *Feed_PlacesLocationFeedData_OAuthInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_Feed_PlacesLocationFeedData_OAuthInfo.Merge(m, 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.v2.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_e469535eeb9cf61e, []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 (m *Feed_AffiliateLocationFeedData) XXX_Merge(src proto.Message) { - xxx_messageInfo_Feed_AffiliateLocationFeedData.Merge(m, 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.v2.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_e469535eeb9cf61e, []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 (m *FeedAttribute) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedAttribute.Merge(m, 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.v2.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_e469535eeb9cf61e, []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 (m *FeedAttributeOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedAttributeOperation.Merge(m, 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.RegisterEnum("google.ads.googleads.v2.resources.FeedAttributeOperation_Operator", FeedAttributeOperation_Operator_name, FeedAttributeOperation_Operator_value) - proto.RegisterType((*Feed)(nil), "google.ads.googleads.v2.resources.Feed") - proto.RegisterType((*Feed_PlacesLocationFeedData)(nil), "google.ads.googleads.v2.resources.Feed.PlacesLocationFeedData") - proto.RegisterType((*Feed_PlacesLocationFeedData_OAuthInfo)(nil), "google.ads.googleads.v2.resources.Feed.PlacesLocationFeedData.OAuthInfo") - proto.RegisterType((*Feed_AffiliateLocationFeedData)(nil), "google.ads.googleads.v2.resources.Feed.AffiliateLocationFeedData") - proto.RegisterType((*FeedAttribute)(nil), "google.ads.googleads.v2.resources.FeedAttribute") - proto.RegisterType((*FeedAttributeOperation)(nil), "google.ads.googleads.v2.resources.FeedAttributeOperation") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/feed.proto", fileDescriptor_e469535eeb9cf61e) -} - -var fileDescriptor_e469535eeb9cf61e = []byte{ - // 1031 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, 0x9b, 0x9d, 0x5d, 0x15, 0x37, 0x5b, 0x50, 0xb7, - 0x68, 0xa5, 0x4a, 0x20, 0x67, 0x31, 0x08, 0x96, 0x20, 0x40, 0x0e, 0x6d, 0xda, 0xb0, 0xbb, 0x49, - 0xe4, 0xd2, 0x82, 0x56, 0x15, 0xd6, 0x24, 0x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0x8c, 0xbe, 0x04, 0x3d, 0x4d, 0x38, 0xf1, 0xd6, 0x11, 0x12, 0xe8, - 0xf4, 0x96, 0xbd, 0x13, 0x2e, 0x3c, 0x81, 0x3f, 0x6a, 0x60, 0x6f, 0x59, 0xeb, 0xc9, 0x00, 0x36, - 0x64, 0x00, 0x56, 0xde, 0x00, 0xac, 0x94, 0xb5, 0x20, 0x86, 0x5d, 0xb4, 0xec, 0xb0, 0xfe, 0xfb, - 0x1a, 0xd8, 0x59, 0x1c, 0x3b, 0xf4, 0x00, 0xa0, 0x28, 0x12, 0x63, 0x87, 0x04, 0x23, 0x2a, 0x7b, - 0xa0, 0x62, 0x9e, 0xbe, 0x5a, 0x3e, 0x8c, 0x9e, 0x15, 0x89, 0x71, 0x27, 0x18, 0x51, 0xbb, 0x2c, - 0xd9, 0xf1, 0x12, 0x5a, 0x60, 0x1b, 0x4f, 0x10, 0xf1, 0x1d, 0xe4, 0xba, 0x0c, 0x73, 0x9e, 0x74, - 0xd5, 0xea, 0x36, 0xd9, 0x92, 0x16, 0x4b, 0x39, 0xe0, 0x53, 0x70, 0x77, 0x10, 0x71, 0x12, 0x60, - 0xce, 0x1d, 0x34, 0x1c, 0xd2, 0x28, 0x10, 0x0e, 0x71, 0x75, 0x90, 0x03, 0x74, 0x27, 0x35, 0x5a, - 0xca, 0xd7, 0x71, 0x61, 0x17, 0xdc, 0xcb, 0x68, 0x71, 0x37, 0x3a, 0x23, 0xe2, 0x0b, 0xcc, 0xf4, - 0x52, 0x0e, 0x1c, 0x4c, 0x9d, 0xf1, 0x94, 0x68, 0x4b, 0x1f, 0x3c, 0x01, 0xb5, 0x21, 0x12, 0xd8, - 0xa3, 0x6c, 0x9a, 0xa0, 0xb8, 0xbe, 0x26, 0xdb, 0x6e, 0x35, 0xeb, 0x76, 0xea, 0x52, 0x1c, 0x1e, - 0x67, 0xca, 0x47, 0x03, 0xec, 0x67, 0x94, 0xf5, 0x1c, 0x94, 0x2d, 0x69, 0x49, 0x10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 0x72, 0x43, 0x2d, 0xe3, 0xd5, 0x85, 0x69, - 0xd8, 0xa9, 0xf2, 0xb7, 0x54, 0x73, 0x69, 0xb9, 0xfc, 0x32, 0xd3, 0x5c, 0x5e, 0x98, 0x97, 0x99, - 0xe6, 0xcf, 0xc2, 0x43, 0x75, 0xd0, 0x6c, 0x5a, 0x2e, 0x6f, 0x36, 0x33, 0x55, 0xb3, 0x79, 0x61, - 0x36, 0x9b, 0x99, 0x6e, 0xb0, 0x2e, 0x83, 0x7d, 0xf7, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf7, - 0x1f, 0xee, 0x50, 0x68, 0x0b, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/feed_item.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/feed_item.pb.go deleted file mode 100644 index ebfa8983..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/feed_item.pb.go +++ /dev/null @@ -1,588 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/feed_item.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - errors "google.golang.org/genproto/googleapis/ads/googleads/v2/errors" - _ "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.ProtoPackageIsVersion3 // 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 - // time is in the customer's time zone. - // 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 - // serving. The time is in the customer's time zone. - // 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.v2.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.v2.enums.FeedItemStatusEnum_FeedItemStatus" json:"status,omitempty"` - // List of info about a feed item's validation and approval state for active - // feed mappings. There will be an entry in the list for each type of feed - // mapping associated with the feed, e.g. a feed with a sitelink and a call - // feed mapping would cause every feed item associated with that feed to have - // an entry in this list for both sitelink and call. - // This field is read-only. - PolicyInfos []*FeedItemPlaceholderPolicyInfo `protobuf:"bytes,10,rep,name=policy_infos,json=policyInfos,proto3" json:"policy_infos,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_91cfc16eea4317f2, []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 (m *FeedItem) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedItem.Merge(m, 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 -} - -func (m *FeedItem) GetPolicyInfos() []*FeedItemPlaceholderPolicyInfo { - if m != nil { - return m.PolicyInfos - } - return nil -} - -// 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.Money `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_91cfc16eea4317f2, []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 (m *FeedItemAttributeValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedItemAttributeValue.Merge(m, 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.Money { - 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 -} - -// Policy, validation, and quality approval info for a feed item for the -// specified placeholder type. -type FeedItemPlaceholderPolicyInfo struct { - // The placeholder type. - PlaceholderTypeEnum enums.PlaceholderTypeEnum_PlaceholderType `protobuf:"varint,10,opt,name=placeholder_type_enum,json=placeholderTypeEnum,proto3,enum=google.ads.googleads.v2.enums.PlaceholderTypeEnum_PlaceholderType" json:"placeholder_type_enum,omitempty"` - // The FeedMapping that contains the placeholder type. - FeedMappingResourceName *wrappers.StringValue `protobuf:"bytes,2,opt,name=feed_mapping_resource_name,json=feedMappingResourceName,proto3" json:"feed_mapping_resource_name,omitempty"` - // Where the placeholder type is in the review process. - ReviewStatus enums.PolicyReviewStatusEnum_PolicyReviewStatus `protobuf:"varint,3,opt,name=review_status,json=reviewStatus,proto3,enum=google.ads.googleads.v2.enums.PolicyReviewStatusEnum_PolicyReviewStatus" json:"review_status,omitempty"` - // The overall approval status of the placeholder type, calculated based on - // the status of its individual policy topic entries. - ApprovalStatus enums.PolicyApprovalStatusEnum_PolicyApprovalStatus `protobuf:"varint,4,opt,name=approval_status,json=approvalStatus,proto3,enum=google.ads.googleads.v2.enums.PolicyApprovalStatusEnum_PolicyApprovalStatus" json:"approval_status,omitempty"` - // The list of policy findings for the placeholder type. - PolicyTopicEntries []*common.PolicyTopicEntry `protobuf:"bytes,5,rep,name=policy_topic_entries,json=policyTopicEntries,proto3" json:"policy_topic_entries,omitempty"` - // The validation status of the palceholder type. - ValidationStatus enums.FeedItemValidationStatusEnum_FeedItemValidationStatus `protobuf:"varint,6,opt,name=validation_status,json=validationStatus,proto3,enum=google.ads.googleads.v2.enums.FeedItemValidationStatusEnum_FeedItemValidationStatus" json:"validation_status,omitempty"` - // List of placeholder type validation errors. - ValidationErrors []*FeedItemValidationError `protobuf:"bytes,7,rep,name=validation_errors,json=validationErrors,proto3" json:"validation_errors,omitempty"` - // Placeholder type quality evaluation approval status. - QualityApprovalStatus enums.FeedItemQualityApprovalStatusEnum_FeedItemQualityApprovalStatus `protobuf:"varint,8,opt,name=quality_approval_status,json=qualityApprovalStatus,proto3,enum=google.ads.googleads.v2.enums.FeedItemQualityApprovalStatusEnum_FeedItemQualityApprovalStatus" json:"quality_approval_status,omitempty"` - // List of placeholder type quality evaluation disapproval reasons. - QualityDisapprovalReasons []enums.FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason `protobuf:"varint,9,rep,packed,name=quality_disapproval_reasons,json=qualityDisapprovalReasons,proto3,enum=google.ads.googleads.v2.enums.FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason" json:"quality_disapproval_reasons,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FeedItemPlaceholderPolicyInfo) Reset() { *m = FeedItemPlaceholderPolicyInfo{} } -func (m *FeedItemPlaceholderPolicyInfo) String() string { return proto.CompactTextString(m) } -func (*FeedItemPlaceholderPolicyInfo) ProtoMessage() {} -func (*FeedItemPlaceholderPolicyInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_91cfc16eea4317f2, []int{2} -} - -func (m *FeedItemPlaceholderPolicyInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FeedItemPlaceholderPolicyInfo.Unmarshal(m, b) -} -func (m *FeedItemPlaceholderPolicyInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FeedItemPlaceholderPolicyInfo.Marshal(b, m, deterministic) -} -func (m *FeedItemPlaceholderPolicyInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedItemPlaceholderPolicyInfo.Merge(m, src) -} -func (m *FeedItemPlaceholderPolicyInfo) XXX_Size() int { - return xxx_messageInfo_FeedItemPlaceholderPolicyInfo.Size(m) -} -func (m *FeedItemPlaceholderPolicyInfo) XXX_DiscardUnknown() { - xxx_messageInfo_FeedItemPlaceholderPolicyInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_FeedItemPlaceholderPolicyInfo proto.InternalMessageInfo - -func (m *FeedItemPlaceholderPolicyInfo) GetPlaceholderTypeEnum() enums.PlaceholderTypeEnum_PlaceholderType { - if m != nil { - return m.PlaceholderTypeEnum - } - return enums.PlaceholderTypeEnum_UNSPECIFIED -} - -func (m *FeedItemPlaceholderPolicyInfo) GetFeedMappingResourceName() *wrappers.StringValue { - if m != nil { - return m.FeedMappingResourceName - } - return nil -} - -func (m *FeedItemPlaceholderPolicyInfo) GetReviewStatus() enums.PolicyReviewStatusEnum_PolicyReviewStatus { - if m != nil { - return m.ReviewStatus - } - return enums.PolicyReviewStatusEnum_UNSPECIFIED -} - -func (m *FeedItemPlaceholderPolicyInfo) GetApprovalStatus() enums.PolicyApprovalStatusEnum_PolicyApprovalStatus { - if m != nil { - return m.ApprovalStatus - } - return enums.PolicyApprovalStatusEnum_UNSPECIFIED -} - -func (m *FeedItemPlaceholderPolicyInfo) GetPolicyTopicEntries() []*common.PolicyTopicEntry { - if m != nil { - return m.PolicyTopicEntries - } - return nil -} - -func (m *FeedItemPlaceholderPolicyInfo) GetValidationStatus() enums.FeedItemValidationStatusEnum_FeedItemValidationStatus { - if m != nil { - return m.ValidationStatus - } - return enums.FeedItemValidationStatusEnum_UNSPECIFIED -} - -func (m *FeedItemPlaceholderPolicyInfo) GetValidationErrors() []*FeedItemValidationError { - if m != nil { - return m.ValidationErrors - } - return nil -} - -func (m *FeedItemPlaceholderPolicyInfo) GetQualityApprovalStatus() enums.FeedItemQualityApprovalStatusEnum_FeedItemQualityApprovalStatus { - if m != nil { - return m.QualityApprovalStatus - } - return enums.FeedItemQualityApprovalStatusEnum_UNSPECIFIED -} - -func (m *FeedItemPlaceholderPolicyInfo) GetQualityDisapprovalReasons() []enums.FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason { - if m != nil { - return m.QualityDisapprovalReasons - } - return nil -} - -// Stores a validation error and the set of offending feed attributes which -// together are responsible for causing a feed item validation error. -type FeedItemValidationError struct { - // Error code indicating what validation error was triggered. The description - // of the error can be found in the 'description' field. - ValidationError errors.FeedItemValidationErrorEnum_FeedItemValidationError `protobuf:"varint,1,opt,name=validation_error,json=validationError,proto3,enum=google.ads.googleads.v2.errors.FeedItemValidationErrorEnum_FeedItemValidationError" json:"validation_error,omitempty"` - // The description of the validation error. - Description *wrappers.StringValue `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - // Set of feed attributes in the feed item flagged during validation. If - // empty, no specific feed attributes can be associated with the error - // (e.g. error across the entire feed item). - FeedAttributeIds []*wrappers.Int64Value `protobuf:"bytes,3,rep,name=feed_attribute_ids,json=feedAttributeIds,proto3" json:"feed_attribute_ids,omitempty"` - // Any extra information related to this error which is not captured by - // validation_error and feed_attribute_id (e.g. placeholder field IDs when - // feed_attribute_id is not mapped). Note that extra_info is not localized. - ExtraInfo *wrappers.StringValue `protobuf:"bytes,5,opt,name=extra_info,json=extraInfo,proto3" json:"extra_info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FeedItemValidationError) Reset() { *m = FeedItemValidationError{} } -func (m *FeedItemValidationError) String() string { return proto.CompactTextString(m) } -func (*FeedItemValidationError) ProtoMessage() {} -func (*FeedItemValidationError) Descriptor() ([]byte, []int) { - return fileDescriptor_91cfc16eea4317f2, []int{3} -} - -func (m *FeedItemValidationError) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FeedItemValidationError.Unmarshal(m, b) -} -func (m *FeedItemValidationError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FeedItemValidationError.Marshal(b, m, deterministic) -} -func (m *FeedItemValidationError) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedItemValidationError.Merge(m, src) -} -func (m *FeedItemValidationError) XXX_Size() int { - return xxx_messageInfo_FeedItemValidationError.Size(m) -} -func (m *FeedItemValidationError) XXX_DiscardUnknown() { - xxx_messageInfo_FeedItemValidationError.DiscardUnknown(m) -} - -var xxx_messageInfo_FeedItemValidationError proto.InternalMessageInfo - -func (m *FeedItemValidationError) GetValidationError() errors.FeedItemValidationErrorEnum_FeedItemValidationError { - if m != nil { - return m.ValidationError - } - return errors.FeedItemValidationErrorEnum_UNSPECIFIED -} - -func (m *FeedItemValidationError) GetDescription() *wrappers.StringValue { - if m != nil { - return m.Description - } - return nil -} - -func (m *FeedItemValidationError) GetFeedAttributeIds() []*wrappers.Int64Value { - if m != nil { - return m.FeedAttributeIds - } - return nil -} - -func (m *FeedItemValidationError) GetExtraInfo() *wrappers.StringValue { - if m != nil { - return m.ExtraInfo - } - return nil -} - -func init() { - proto.RegisterType((*FeedItem)(nil), "google.ads.googleads.v2.resources.FeedItem") - proto.RegisterType((*FeedItemAttributeValue)(nil), "google.ads.googleads.v2.resources.FeedItemAttributeValue") - proto.RegisterType((*FeedItemPlaceholderPolicyInfo)(nil), "google.ads.googleads.v2.resources.FeedItemPlaceholderPolicyInfo") - proto.RegisterType((*FeedItemValidationError)(nil), "google.ads.googleads.v2.resources.FeedItemValidationError") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/feed_item.proto", fileDescriptor_91cfc16eea4317f2) -} - -var fileDescriptor_91cfc16eea4317f2 = []byte{ - // 1230 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x57, 0xdd, 0x6e, 0xe4, 0x34, - 0x14, 0xd6, 0x4c, 0xb7, 0xdd, 0xd6, 0xf3, 0xd3, 0xae, 0x97, 0xd2, 0x6c, 0x77, 0x41, 0xdd, 0xa2, - 0x4a, 0x95, 0x56, 0xca, 0x94, 0xb0, 0x20, 0x98, 0x15, 0x6c, 0xa7, 0xb4, 0xdb, 0x2d, 0x62, 0x51, - 0x49, 0xab, 0x11, 0xa0, 0x8a, 0xc8, 0x93, 0xb8, 0xc1, 0x52, 0x12, 0xa7, 0xb6, 0x33, 0xcb, 0xdc, - 0x20, 0xf1, 0x02, 0x5c, 0xf2, 0x00, 0x88, 0x2b, 0xee, 0xb8, 0xe6, 0x0d, 0x78, 0x0b, 0x2e, 0xe1, - 0x11, 0xb8, 0x5a, 0xc5, 0x71, 0x32, 0x99, 0x9f, 0x4c, 0xd2, 0x3b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51, 0x88, 0x15, 0xaa, 0x5b, 0x82, 0x92, 0x07, 0x55, 0x90, 0xf1, 0x8f, 0x2b, 0x61, 0x19, - 0x1e, 0x12, 0xfc, 0xba, 0x6a, 0xae, 0x18, 0xa3, 0xac, 0x20, 0x59, 0x72, 0x4d, 0x11, 0xbc, 0xab, - 0x08, 0xe4, 0xd7, 0x20, 0xba, 0xee, 0xbc, 0x66, 0x28, 0x0c, 0x31, 0x4b, 0x1d, 0x3c, 0x4a, 0x1d, - 0x84, 0xa4, 0x83, 0x82, 0x80, 0x0a, 0x49, 0xa1, 0x56, 0x77, 0xff, 0x5c, 0x01, 0xab, 0x2f, 0x30, - 0x76, 0xce, 0x04, 0xf6, 0xe1, 0x7b, 0xa0, 0x95, 0x2a, 0xc4, 0x0a, 0x90, 0x8f, 0xb5, 0xda, 0x4e, - 0x6d, 0x7f, 0xcd, 0x6c, 0xa6, 0x93, 0x5f, 0x21, 0x1f, 0xc3, 0x03, 0x70, 0x27, 0x8e, 0x49, 0xab, - 0xef, 0xd4, 0xf6, 0x1b, 0xc6, 0x23, 0x25, 0x30, 0x3d, 0x75, 0xaf, 0x5f, 0x08, 0x46, 0x02, 0xb7, - 0x8f, 0xbc, 0x08, 0x9b, 0xd2, 0x12, 0x3e, 0x01, 0x75, 0xe2, 0x68, 0x4b, 0xd2, 0xfe, 0xe1, 0x8c, - 0xfd, 0x59, 0x20, 0x3e, 0x7a, 0x9a, 0x98, 0xd7, 0x89, 0x03, 0x8f, 0xc1, 0x3a, 0x17, 0x88, 0x09, - 0xcb, 0x41, 0x02, 0x5b, 0x82, 0xf8, 0x58, 0xbb, 0x53, 0xc1, 0x53, 0x4b, 0x82, 0x8e, 0x91, 0xc0, - 0x97, 0xc4, 0xc7, 0xf0, 0x10, 0xb4, 0x70, 0xe0, 0xe4, 0x38, 0x96, 0x2b, 0x70, 0x34, 0x70, 0xe0, - 0x64, 0x0c, 0x0e, 0xd8, 0x40, 0x42, 0x30, 0x32, 0x88, 0x04, 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x57, 0x99, 0xcd, 0x55, 0xdf, 0xb8, 0xca, 0x6c, 0xfe, 0xab, 0xef, 0x25, 0x0b, 0xdd, 0x6e, 0xcf, - 0xe1, 0xdd, 0x6e, 0x66, 0xd5, 0xed, 0xf6, 0x8d, 0x6e, 0x37, 0xb3, 0x1b, 0xac, 0xc8, 0x60, 0x3f, - 0x78, 0x13, 0x00, 0x00, 0xff, 0xff, 0x1a, 0x8c, 0xd7, 0xe3, 0x25, 0x10, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/feed_item_target.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/feed_item_target.pb.go deleted file mode 100644 index 5e280e00..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/feed_item_target.pb.go +++ /dev/null @@ -1,256 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/feed_item_target.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A feed item target. -type FeedItemTarget struct { - // The resource name of the feed item target. - // Feed item target resource names have the form: - // `customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The feed item to which this feed item target belongs. - FeedItem *wrappers.StringValue `protobuf:"bytes,2,opt,name=feed_item,json=feedItem,proto3" json:"feed_item,omitempty"` - // The target type of this feed item target. This field is read-only. - FeedItemTargetType enums.FeedItemTargetTypeEnum_FeedItemTargetType `protobuf:"varint,3,opt,name=feed_item_target_type,json=feedItemTargetType,proto3,enum=google.ads.googleads.v2.enums.FeedItemTargetTypeEnum_FeedItemTargetType" json:"feed_item_target_type,omitempty"` - // The ID of the targeted resource. This field is read-only. - FeedItemTargetId *wrappers.Int64Value `protobuf:"bytes,6,opt,name=feed_item_target_id,json=feedItemTargetId,proto3" json:"feed_item_target_id,omitempty"` - // The targeted resource. - // - // Types that are valid to be assigned to Target: - // *FeedItemTarget_Campaign - // *FeedItemTarget_AdGroup - // *FeedItemTarget_Keyword - // *FeedItemTarget_GeoTargetConstant - // *FeedItemTarget_Device - // *FeedItemTarget_AdSchedule - Target isFeedItemTarget_Target `protobuf_oneof:"target"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FeedItemTarget) Reset() { *m = FeedItemTarget{} } -func (m *FeedItemTarget) String() string { return proto.CompactTextString(m) } -func (*FeedItemTarget) ProtoMessage() {} -func (*FeedItemTarget) Descriptor() ([]byte, []int) { - return fileDescriptor_08619793bc0ce69c, []int{0} -} - -func (m *FeedItemTarget) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FeedItemTarget.Unmarshal(m, b) -} -func (m *FeedItemTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FeedItemTarget.Marshal(b, m, deterministic) -} -func (m *FeedItemTarget) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedItemTarget.Merge(m, src) -} -func (m *FeedItemTarget) XXX_Size() int { - return xxx_messageInfo_FeedItemTarget.Size(m) -} -func (m *FeedItemTarget) XXX_DiscardUnknown() { - xxx_messageInfo_FeedItemTarget.DiscardUnknown(m) -} - -var xxx_messageInfo_FeedItemTarget proto.InternalMessageInfo - -func (m *FeedItemTarget) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *FeedItemTarget) GetFeedItem() *wrappers.StringValue { - if m != nil { - return m.FeedItem - } - return nil -} - -func (m *FeedItemTarget) GetFeedItemTargetType() enums.FeedItemTargetTypeEnum_FeedItemTargetType { - if m != nil { - return m.FeedItemTargetType - } - return enums.FeedItemTargetTypeEnum_UNSPECIFIED -} - -func (m *FeedItemTarget) GetFeedItemTargetId() *wrappers.Int64Value { - if m != nil { - return m.FeedItemTargetId - } - return nil -} - -type isFeedItemTarget_Target interface { - isFeedItemTarget_Target() -} - -type FeedItemTarget_Campaign struct { - Campaign *wrappers.StringValue `protobuf:"bytes,4,opt,name=campaign,proto3,oneof"` -} - -type FeedItemTarget_AdGroup struct { - AdGroup *wrappers.StringValue `protobuf:"bytes,5,opt,name=ad_group,json=adGroup,proto3,oneof"` -} - -type FeedItemTarget_Keyword struct { - Keyword *common.KeywordInfo `protobuf:"bytes,7,opt,name=keyword,proto3,oneof"` -} - -type FeedItemTarget_GeoTargetConstant struct { - GeoTargetConstant *wrappers.StringValue `protobuf:"bytes,8,opt,name=geo_target_constant,json=geoTargetConstant,proto3,oneof"` -} - -type FeedItemTarget_Device struct { - Device enums.FeedItemTargetDeviceEnum_FeedItemTargetDevice `protobuf:"varint,9,opt,name=device,proto3,enum=google.ads.googleads.v2.enums.FeedItemTargetDeviceEnum_FeedItemTargetDevice,oneof"` -} - -type FeedItemTarget_AdSchedule struct { - AdSchedule *common.AdScheduleInfo `protobuf:"bytes,10,opt,name=ad_schedule,json=adSchedule,proto3,oneof"` -} - -func (*FeedItemTarget_Campaign) isFeedItemTarget_Target() {} - -func (*FeedItemTarget_AdGroup) isFeedItemTarget_Target() {} - -func (*FeedItemTarget_Keyword) isFeedItemTarget_Target() {} - -func (*FeedItemTarget_GeoTargetConstant) isFeedItemTarget_Target() {} - -func (*FeedItemTarget_Device) isFeedItemTarget_Target() {} - -func (*FeedItemTarget_AdSchedule) isFeedItemTarget_Target() {} - -func (m *FeedItemTarget) GetTarget() isFeedItemTarget_Target { - if m != nil { - return m.Target - } - return nil -} - -func (m *FeedItemTarget) GetCampaign() *wrappers.StringValue { - if x, ok := m.GetTarget().(*FeedItemTarget_Campaign); ok { - return x.Campaign - } - return nil -} - -func (m *FeedItemTarget) GetAdGroup() *wrappers.StringValue { - if x, ok := m.GetTarget().(*FeedItemTarget_AdGroup); ok { - return x.AdGroup - } - return nil -} - -func (m *FeedItemTarget) GetKeyword() *common.KeywordInfo { - if x, ok := m.GetTarget().(*FeedItemTarget_Keyword); ok { - return x.Keyword - } - return nil -} - -func (m *FeedItemTarget) GetGeoTargetConstant() *wrappers.StringValue { - if x, ok := m.GetTarget().(*FeedItemTarget_GeoTargetConstant); ok { - return x.GeoTargetConstant - } - return nil -} - -func (m *FeedItemTarget) GetDevice() enums.FeedItemTargetDeviceEnum_FeedItemTargetDevice { - if x, ok := m.GetTarget().(*FeedItemTarget_Device); ok { - return x.Device - } - return enums.FeedItemTargetDeviceEnum_UNSPECIFIED -} - -func (m *FeedItemTarget) GetAdSchedule() *common.AdScheduleInfo { - if x, ok := m.GetTarget().(*FeedItemTarget_AdSchedule); ok { - return x.AdSchedule - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*FeedItemTarget) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*FeedItemTarget_Campaign)(nil), - (*FeedItemTarget_AdGroup)(nil), - (*FeedItemTarget_Keyword)(nil), - (*FeedItemTarget_GeoTargetConstant)(nil), - (*FeedItemTarget_Device)(nil), - (*FeedItemTarget_AdSchedule)(nil), - } -} - -func init() { - proto.RegisterType((*FeedItemTarget)(nil), "google.ads.googleads.v2.resources.FeedItemTarget") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/feed_item_target.proto", fileDescriptor_08619793bc0ce69c) -} - -var fileDescriptor_08619793bc0ce69c = []byte{ - // 580 bytes of a gzipped FileDescriptorProto - 0x1f, 0x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a, - 0xc5, 0x7c, 0x3e, 0x37, 0x31, 0xf3, 0xa6, 0x92, 0x8f, 0x06, 0xde, 0x17, 0x89, 0x1c, 0x0b, 0x59, - 0x36, 0x3e, 0x41, 0x1b, 0x1c, 0x64, 0x9d, 0x42, 0x2c, 0x45, 0xa1, 0xa9, 0xd0, 0x4e, 0xf7, 0x46, - 0x76, 0x1e, 0x72, 0x90, 0x26, 0x89, 0xb7, 0x96, 0x88, 0x13, 0xd4, 0x31, 0x2f, 0xb5, 0xb3, 0x5a, - 0x5d, 0xf2, 0xd3, 0xad, 0x2e, 0xf9, 0xae, 0xa2, 0xce, 0xb8, 0xa5, 0x19, 0x1c, 0x2d, 0x85, 0x56, - 0x1d, 0x7f, 0x46, 0x6b, 0x94, 0x45, 0x45, 0xfc, 0x15, 0x58, 0x39, 0x02, 0x07, 0x55, 0x7e, 0xc9, - 0xa2, 0x10, 0x02, 0x76, 0x66, 0x19, 0x36, 0x07, 0x44, 0x9b, 0xce, 0x61, 0x17, 0x75, 0x4c, 0x0c, - 0x87, 0x3f, 0xda, 0x68, 0x37, 0x96, 0x19, 0x59, 0xf8, 0x7d, 0x38, 0xdc, 0x98, 0xb4, 0x79, 0x3a, - 0xce, 0xe9, 0xb4, 0xf5, 0xe5, 0xd8, 0x32, 0xb9, 0x1c, 0x51, 0xc1, 0x89, 0x54, 0xdc, 0xe5, 0x20, - 0xaa, 0x14, 0xeb, 0xbf, 0x76, 0x9e, 0x16, 0xff, 0xf9, 0x64, 0x1d, 0x34, 0xd5, 0xaf, 0xf6, 0x72, - 0x2f, 0x08, 0x7e, 0xb7, 0x77, 0x7a, 0x46, 0x32, 0x60, 0x05, 0x31, 0xe5, 0xb8, 0x1a, 0x78, 0x24, - 0xac, 0x91, 0x7f, 0x6a, 0xcc, 0x30, 0x60, 0xc5, 0xb0, 0xc1, 0x0c, 0x07, 0xde, 0xb0, 0xc1, 0xfc, - 0x6d, 0xef, 0x9a, 0x81, 0xef, 0x07, 0xac, 0xf0, 0xfd, 0x06, 0xe5, 0xfb, 0x03, 0xcf, 0xf7, 0x1b, - 0xdc, 0x45, 0xa7, 0x32, 0xfb, 0xf2, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x16, 0x2e, 0x07, 0xc0, - 0x5e, 0x05, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/feed_mapping.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/feed_mapping.pb.go deleted file mode 100644 index 04a1d61c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/feed_mapping.pb.go +++ /dev/null @@ -1,639 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/feed_mapping.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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.v2.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_715359bad08813c0, []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 (m *FeedMapping) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedMapping.Merge(m, 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.v2.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.v2.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_OneofWrappers is for the internal use of the proto package. -func (*FeedMapping) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*FeedMapping_PlaceholderType)(nil), - (*FeedMapping_CriterionType)(nil), - } -} - -// 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_LocationField - // *AttributeFieldMapping_AffiliateLocationField - // *AttributeFieldMapping_CalloutField - // *AttributeFieldMapping_StructuredSnippetField - // *AttributeFieldMapping_MessageField - // *AttributeFieldMapping_PriceField - // *AttributeFieldMapping_PromotionField - // *AttributeFieldMapping_AdCustomizerField - // *AttributeFieldMapping_DsaPageFeedField - // *AttributeFieldMapping_LocationExtensionTargetingField - // *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_715359bad08813c0, []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 (m *AttributeFieldMapping) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttributeFieldMapping.Merge(m, 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.v2.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.v2.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.v2.enums.AppPlaceholderFieldEnum_AppPlaceholderField,oneof"` -} - -type AttributeFieldMapping_LocationField struct { - LocationField enums.LocationPlaceholderFieldEnum_LocationPlaceholderField `protobuf:"varint,6,opt,name=location_field,json=locationField,proto3,enum=google.ads.googleads.v2.enums.LocationPlaceholderFieldEnum_LocationPlaceholderField,oneof"` -} - -type AttributeFieldMapping_AffiliateLocationField struct { - AffiliateLocationField enums.AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField `protobuf:"varint,7,opt,name=affiliate_location_field,json=affiliateLocationField,proto3,enum=google.ads.googleads.v2.enums.AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField,oneof"` -} - -type AttributeFieldMapping_CalloutField struct { - CalloutField enums.CalloutPlaceholderFieldEnum_CalloutPlaceholderField `protobuf:"varint,8,opt,name=callout_field,json=calloutField,proto3,enum=google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.enums.AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField,oneof"` -} - -type AttributeFieldMapping_DsaPageFeedField struct { - DsaPageFeedField enums.DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField `protobuf:"varint,14,opt,name=dsa_page_feed_field,json=dsaPageFeedField,proto3,enum=google.ads.googleads.v2.enums.DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField,oneof"` -} - -type AttributeFieldMapping_LocationExtensionTargetingField struct { - LocationExtensionTargetingField enums.LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField `protobuf:"varint,15,opt,name=location_extension_targeting_field,json=locationExtensionTargetingField,proto3,enum=google.ads.googleads.v2.enums.LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField,oneof"` -} - -type AttributeFieldMapping_EducationField struct { - EducationField enums.EducationPlaceholderFieldEnum_EducationPlaceholderField `protobuf:"varint,16,opt,name=education_field,json=educationField,proto3,enum=google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.enums.JobPlaceholderFieldEnum_JobPlaceholderField,oneof"` -} - -func (*AttributeFieldMapping_SitelinkField) isAttributeFieldMapping_Field() {} - -func (*AttributeFieldMapping_CallField) isAttributeFieldMapping_Field() {} - -func (*AttributeFieldMapping_AppField) isAttributeFieldMapping_Field() {} - -func (*AttributeFieldMapping_LocationField) isAttributeFieldMapping_Field() {} - -func (*AttributeFieldMapping_AffiliateLocationField) 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_DsaPageFeedField) isAttributeFieldMapping_Field() {} - -func (*AttributeFieldMapping_LocationExtensionTargetingField) 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) GetLocationField() enums.LocationPlaceholderFieldEnum_LocationPlaceholderField { - if x, ok := m.GetField().(*AttributeFieldMapping_LocationField); ok { - return x.LocationField - } - return enums.LocationPlaceholderFieldEnum_UNSPECIFIED -} - -func (m *AttributeFieldMapping) GetAffiliateLocationField() enums.AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField { - if x, ok := m.GetField().(*AttributeFieldMapping_AffiliateLocationField); ok { - return x.AffiliateLocationField - } - return enums.AffiliateLocationPlaceholderFieldEnum_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) GetDsaPageFeedField() enums.DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField { - if x, ok := m.GetField().(*AttributeFieldMapping_DsaPageFeedField); ok { - return x.DsaPageFeedField - } - return enums.DsaPageFeedCriterionFieldEnum_UNSPECIFIED -} - -func (m *AttributeFieldMapping) GetLocationExtensionTargetingField() enums.LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField { - if x, ok := m.GetField().(*AttributeFieldMapping_LocationExtensionTargetingField); ok { - return x.LocationExtensionTargetingField - } - return enums.LocationExtensionTargetingCriterionFieldEnum_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_OneofWrappers is for the internal use of the proto package. -func (*AttributeFieldMapping) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AttributeFieldMapping_SitelinkField)(nil), - (*AttributeFieldMapping_CallField)(nil), - (*AttributeFieldMapping_AppField)(nil), - (*AttributeFieldMapping_LocationField)(nil), - (*AttributeFieldMapping_AffiliateLocationField)(nil), - (*AttributeFieldMapping_CalloutField)(nil), - (*AttributeFieldMapping_StructuredSnippetField)(nil), - (*AttributeFieldMapping_MessageField)(nil), - (*AttributeFieldMapping_PriceField)(nil), - (*AttributeFieldMapping_PromotionField)(nil), - (*AttributeFieldMapping_AdCustomizerField)(nil), - (*AttributeFieldMapping_DsaPageFeedField)(nil), - (*AttributeFieldMapping_LocationExtensionTargetingField)(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 init() { - proto.RegisterType((*FeedMapping)(nil), "google.ads.googleads.v2.resources.FeedMapping") - proto.RegisterType((*AttributeFieldMapping)(nil), "google.ads.googleads.v2.resources.AttributeFieldMapping") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/feed_mapping.proto", fileDescriptor_715359bad08813c0) -} - -var fileDescriptor_715359bad08813c0 = []byte{ - // 1315 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x98, 0x5d, 0x6f, 0xe3, 0x44, - 0x17, 0xc7, 0xed, 0x6e, 0x5f, 0x27,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0x7e, - 0xfd, 0x79, 0x9e, 0xec, 0x87, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0xfc, 0xc5, 0xe0, 0xc2, 0x2f, - 0x15, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/feed_placeholder_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/feed_placeholder_view.pb.go deleted file mode 100644 index b6db1d39..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/feed_placeholder_view.pb.go +++ /dev/null @@ -1,110 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/feed_placeholder_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A feed placeholder view. -type FeedPlaceholderView struct { - // The resource name of the feed placeholder view. - // Feed placeholder view resource names have the form: - // - // `customers/{customer_id}/feedPlaceholderViews/{placeholder_type}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The placeholder type of the feed placeholder view. - PlaceholderType enums.PlaceholderTypeEnum_PlaceholderType `protobuf:"varint,2,opt,name=placeholder_type,json=placeholderType,proto3,enum=google.ads.googleads.v2.enums.PlaceholderTypeEnum_PlaceholderType" json:"placeholder_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FeedPlaceholderView) Reset() { *m = FeedPlaceholderView{} } -func (m *FeedPlaceholderView) String() string { return proto.CompactTextString(m) } -func (*FeedPlaceholderView) ProtoMessage() {} -func (*FeedPlaceholderView) Descriptor() ([]byte, []int) { - return fileDescriptor_1ef04dfdc178c45f, []int{0} -} - -func (m *FeedPlaceholderView) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FeedPlaceholderView.Unmarshal(m, b) -} -func (m *FeedPlaceholderView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FeedPlaceholderView.Marshal(b, m, deterministic) -} -func (m *FeedPlaceholderView) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedPlaceholderView.Merge(m, src) -} -func (m *FeedPlaceholderView) XXX_Size() int { - return xxx_messageInfo_FeedPlaceholderView.Size(m) -} -func (m *FeedPlaceholderView) XXX_DiscardUnknown() { - xxx_messageInfo_FeedPlaceholderView.DiscardUnknown(m) -} - -var xxx_messageInfo_FeedPlaceholderView proto.InternalMessageInfo - -func (m *FeedPlaceholderView) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *FeedPlaceholderView) GetPlaceholderType() enums.PlaceholderTypeEnum_PlaceholderType { - if m != nil { - return m.PlaceholderType - } - return enums.PlaceholderTypeEnum_UNSPECIFIED -} - -func init() { - proto.RegisterType((*FeedPlaceholderView)(nil), "google.ads.googleads.v2.resources.FeedPlaceholderView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/feed_placeholder_view.proto", fileDescriptor_1ef04dfdc178c45f) -} - -var fileDescriptor_1ef04dfdc178c45f = []byte{ - // 331 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xcf, 0x4a, 0x03, 0x31, - 0x10, 0xc6, 0xd9, 0x15, 0x04, 0x17, 0xff, 0x51, 0x2f, 0xa5, 0x78, 0x68, 0x95, 0x42, 0x4f, 0x09, - 0xac, 0x9e, 0x22, 0x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bd, 0x36, 0x3a, 0xd0, 0x3f, 0x0b, 0xfd, 0xe7, - 0x30, 0xea, 0x4e, 0x94, 0x40, 0xff, 0x5e, 0xaa, 0xdf, 0xfc, 0x65, 0xa5, 0xe1, 0x72, 0xdf, 0x61, - 0x70, 0x7f, 0xf3, 0x85, 0x73, 0x55, 0x50, 0xc9, 0x91, 0x2a, 0x39, 0xe6, 0x20, 0xeb, 0x6b, 0xb8, - 0xab, 0xea, 0xdc, 0xfc, 0xf1, 0x8d, 0x17, 0x5e, 0xbd, 0x84, 0x5b, 0x83, 0x24, 0x79, 0x0b, 0x3b, - 0x03, 0xdb, 0x32, 0x61, 0x06, 0x59, 0xb9, 0x54, 0x69, 0x8c, 0x46, 0xce, 0xf9, 0xee, 0x3c, 0x59, - 0xc2, 0x4c, 0xe6, 0x3d, 0x59, 0x1a, 0x67, 0xde, 0xf3, 0x11, 0x76, 0xed, 0x03, 0x21, 0x09, 0x33, - 0x84, 0x78, 0x17, 0x21, 0x69, 0x4c, 0x88, 0xf7, 0x3d, 0x6c, 0xd7, 0xc3, 0x9e, 0x7d, 0x06, 0x00, - 0x00, 0xff, 0xff, 0xea, 0xb9, 0xa8, 0xd3, 0x72, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/gender_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/gender_view.pb.go deleted file mode 100644 index af6a0cb4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/gender_view.pb.go +++ /dev/null @@ -1,96 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/gender_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_1c741fcdff34173c, []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 (m *GenderView) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenderView.Merge(m, 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.v2.resources.GenderView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/gender_view.proto", fileDescriptor_1c741fcdff34173c) -} - -var fileDescriptor_1c741fcdff34173c = []byte{ - // 262 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0x31, 0x4b, 0xc4, 0x30, - 0x14, 0xc7, 0x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0x95, 0x94, 0xef, 0xe5, 0xbc, 0x8a, 0x4a, - 0xa9, 0x91, 0xc6, 0x38, 0xa6, 0x9a, 0xd3, 0x4d, 0x22, 0x3f, 0x12, 0xd3, 0x48, 0x8d, 0x4d, 0x66, - 0x9a, 0x9a, 0x37, 0x99, 0xf9, 0x2c, 0x17, 0xf1, 0x87, 0x10, 0x52, 0xa3, 0x10, 0x99, 0x12, 0xa2, - 0xe6, 0x42, 0x64, 0xee, 0xe5, 0x78, 0x5a, 0x76, 0xf9, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x94, 0x1f, - 0xef, 0x92, 0xb0, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/geo_target_constant.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/geo_target_constant.pb.go deleted file mode 100644 index 4342fdb9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/geo_target_constant.pb.go +++ /dev/null @@ -1,165 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/geo_target_constant.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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.v2.enums.GeoTargetConstantStatusEnum_GeoTargetConstantStatus" json:"status,omitempty"` - // The fully qualified English name, consisting of the target's name and that - // of its parent and country. - CanonicalName *wrappers.StringValue `protobuf:"bytes,8,opt,name=canonical_name,json=canonicalName,proto3" json:"canonical_name,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_c7fb45b6d0a214f9, []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 (m *GeoTargetConstant) XXX_Merge(src proto.Message) { - xxx_messageInfo_GeoTargetConstant.Merge(m, 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 (m *GeoTargetConstant) GetCanonicalName() *wrappers.StringValue { - if m != nil { - return m.CanonicalName - } - return nil -} - -func init() { - proto.RegisterType((*GeoTargetConstant)(nil), "google.ads.googleads.v2.resources.GeoTargetConstant") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/geo_target_constant.proto", fileDescriptor_c7fb45b6d0a214f9) -} - -var fileDescriptor_c7fb45b6d0a214f9 = []byte{ - // 455 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0x41, 0x8b, 0xd3, 0x40, - 0x14, 0xc7, 0x49, 0xba, 0x56, 0x9d, 0xee, 0x2e, 0x98, 0x83, 0x84, 0x75, 0x91, 0xae, 0xb2, 0x50, - 0x10, 0x26, 0x12, 0xc5, 0x43, 0x16, 0x95, 0x6c, 0x91, 0xa2, 0x07, 0x59, 0xb2, 0x4b, 0x0f, 0x52, - 0x08, 0xb3, 0x99, 0xe7, 0x10, 0x69, 0xe6, 0x85, 0x99, 0x49, 0xa5, 0x67, 0xbf, 0x89, 0x47, 0x3f, - 0x89, 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, 0x92, 0x64, - 0x1e, 0x27, 0x49, 0xaf, 0xbb, 0x1d, 0xda, 0xb0, 0x2f, 0xfe, 0x04, 0x00, 0x00, 0xff, 0xff, 0x6e, - 0x4f, 0x36, 0x0f, 0xb7, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/geographic_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/geographic_view.pb.go deleted file mode 100644 index a8daa2a2..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/geographic_view.pb.go +++ /dev/null @@ -1,129 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/geographic_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A geographic view. -// -// Geographic View includes all metrics aggregated at the country level, -// one row per country. It reports metrics at either actual physical location of -// the user or an area of interest. If other segment fields are used, you may -// get more than one row per country. -type GeographicView struct { - // The resource name of the geographic view. - // Geographic view resource names have the form: - // - // `customers/{customer_id}/geographicViews/{country_criterion_id}~{location_type}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // Type of the geo targeting of the campaign. - LocationType enums.GeoTargetingTypeEnum_GeoTargetingType `protobuf:"varint,3,opt,name=location_type,json=locationType,proto3,enum=google.ads.googleads.v2.enums.GeoTargetingTypeEnum_GeoTargetingType" json:"location_type,omitempty"` - // Criterion Id for the country. - CountryCriterionId *wrappers.Int64Value `protobuf:"bytes,4,opt,name=country_criterion_id,json=countryCriterionId,proto3" json:"country_criterion_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GeographicView) Reset() { *m = GeographicView{} } -func (m *GeographicView) String() string { return proto.CompactTextString(m) } -func (*GeographicView) ProtoMessage() {} -func (*GeographicView) Descriptor() ([]byte, []int) { - return fileDescriptor_5ad4b40c93cab90e, []int{0} -} - -func (m *GeographicView) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GeographicView.Unmarshal(m, b) -} -func (m *GeographicView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GeographicView.Marshal(b, m, deterministic) -} -func (m *GeographicView) XXX_Merge(src proto.Message) { - xxx_messageInfo_GeographicView.Merge(m, src) -} -func (m *GeographicView) XXX_Size() int { - return xxx_messageInfo_GeographicView.Size(m) -} -func (m *GeographicView) XXX_DiscardUnknown() { - xxx_messageInfo_GeographicView.DiscardUnknown(m) -} - -var xxx_messageInfo_GeographicView proto.InternalMessageInfo - -func (m *GeographicView) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *GeographicView) GetLocationType() enums.GeoTargetingTypeEnum_GeoTargetingType { - if m != nil { - return m.LocationType - } - return enums.GeoTargetingTypeEnum_UNSPECIFIED -} - -func (m *GeographicView) GetCountryCriterionId() *wrappers.Int64Value { - if m != nil { - return m.CountryCriterionId - } - return nil -} - -func init() { - proto.RegisterType((*GeographicView)(nil), "google.ads.googleads.v2.resources.GeographicView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/geographic_view.proto", fileDescriptor_5ad4b40c93cab90e) -} - -var fileDescriptor_5ad4b40c93cab90e = []byte{ - // 399 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xcd, 0xaa, 0xd4, 0x30, - 0x18, 0xa5, 0xbd, 0x22, 0x58, 0xef, 0xbd, 0x8b, 0xea, 0x62, 0xb8, 0x8a, 0xcc, 0x55, 0x06, 0x66, - 0x95, 0x42, 0x95, 0x11, 0xe2, 0xaa, 0xa3, 0x52, 0x46, 0x50, 0x86, 0x32, 0x74, 0x21, 0x85, 0x92, - 0x69, 0x3f, 0x63, 0xa0, 0x4d, 0x42, 0x92, 0xce, 0x30, 0x3b, 0x9f, 0xc5, 0xa5, 0x8f, 0xe2, 0xa3, - 0xb8, 0xf1, 0x15, 0xa4, 0x3f, 0x09, 0x88, 0x8c, 0x77, 0x77, 0x92, 0xef, 0x9c, 0xf3, 0x9d, 0xd3, - 0x34, 0x78, 0x4d, 0x85, 0xa0, 0x0d, 0x44, 0xa4, 0xd6, 0xd1, 0x08, 0x7b, 0x74, 0x88, 0x23, 0x05, - 0x5a, 0x74, 0xaa, 0x02, 0x1d, 0x51, 0x10, 0x54, 0x11, 0xf9, 0x95, 0x55, 0xe5, 0x81, 0xc1, 0x11, - 0x49, 0x25, 0x8c, 0x08, 0x6f, 0x47, 0x36, 0x22, 0xb5, 0x46, 0x4e, 0x88, 0x0e, 0x31, 0x72, 0xc2, - 0x9b, 0xd5, 0x39, 0x6f, 0xe0, 0x5d, 0x3b, 0xf8, 0x96, 0x86, 0x28, 0x0a, 0x86, 0x71, 0x5a, 0x9a, - 0x93, 0x84, 0xd1, 0xfa, 0xe6, 0xd9, 0xa4, 0x1b, 0x4e, 0xfb, 0xee, 0x4b, 0x74, 0x54, 0x44, 0x4a, - 0x50, 0x7a, 0x9a, 0x3f, 0xb5, 0xbe, 0x92, 0x45, 0x84, 0x73, 0x61, 0x88, 0x61, 0x82, 0x4f, 0xd3, - 0xe7, 0xbf, 0xbd, 0xe0, 0x3a, 0x75, 0x91, 0x73, 0x06, 0xc7, 0xf0, 0x45, 0x70, 0x65, 0x53, 0x95, - 0x9c, 0xb4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xc6, 0x79, 0x8c, 0xb1, 0xe3, 0xed, 0xef, 0x0f, 0x61, - 0x5f, 0xfe, 0x09, 0x00, 0x00, 0xff, 0xff, 0x60, 0x3c, 0x90, 0x3e, 0xcf, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/google_ads_field.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/google_ads_field.pb.go deleted file mode 100644 index 91a26226..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/google_ads_field.pb.go +++ /dev/null @@ -1,260 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/google_ads_field.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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.v2.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"` - // At and beyond version V1 this field lists the names of all metrics that are - // selectable with the described artifact when it is used in the FROM clause. - // It is only set for artifacts whose category is RESOURCE. - // - // Before version V1 this field lists the names of all metrics that are - // selectable with the described artifact. It 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"` - // At and beyond version V1 this field lists the names of all artifacts, - // whether a segment or another resource, that segment metrics when included - // in search queries and when the described artifact is used in the FROM - // clause. It is only set for artifacts whose category is RESOURCE. - // - // Before version V1 this field lists the names of all artifacts, whether a - // segment or another resource, that segment metrics when included in search - // queries. It 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.v2.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_e51b907878502641, []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 (m *GoogleAdsField) XXX_Merge(src proto.Message) { - xxx_messageInfo_GoogleAdsField.Merge(m, 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.v2.resources.GoogleAdsField") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/google_ads_field.proto", fileDescriptor_e51b907878502641) -} - -var fileDescriptor_e51b907878502641 = []byte{ - // 582 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0xdf, 0x6a, 0x13, 0x4f, - 0x14, 0xc7, 0x49, 0xd2, 0x5f, 0xb3, 0x99, 0xb4, 0xf9, 0xc1, 0xf4, 0x66, 0x09, 0x45, 0x52, 0xa5, - 0x90, 0xab, 0x59, 0x59, 0xa1, 0x96, 0x2d, 0x15, 0x36, 0x5a, 0x0b, 0x82, 0x12, 0x56, 0x8d, 0x20, - 0x81, 0x65, 0x92, 0x3d, 0xd9, 0x0e, 0xec, 0xee, 0x2c, 0x33, 0xb3, 0x29, 0xb9, 0xf3, 0x59, 0xbc, - 0xf4, 0xce, 0xd7, 0xf0, 0x51, 0x7c, 0x0a, 0xd9, 0x7f, 0x93, 0x96, 0x1a, 0x13, 0xbd, 0x3b, 0x39, - 0xe7, 0xfb, 0x39, 0xff, 0x72, 0x76, 0xd0, 0x79, 0xc8, 0x79, 0x18, 0x81, 0x45, 0x03, 0x69, 0x95, - 0x66, 0x6e, 0x2d, 0x6d, 0x4b, 0x80, 0xe4, 0x99, 0x98, 0x43, 0xed, 0xf6, 0x69, 0x20, 0xfd, 0x05, - 0x83, 0x28, 0x20, 0xa9, 0xe0, 0x8a, 0xe3, 0x93, 0xd2, 0x4f, 0x68, 0x20, 0x89, 0x26, 0xc9, 0xd2, - 0x26, 0x9a, 0xec, 0x5f, 0x6e, 0x4a, 0x0e, 0x49, 0x16, 0x3f, 0x4c, 0xec, 0xcf, 0xa9, 0x82, 0x90, - 0x8b, 0x55, 0x59, 0xa1, 0xff, 0xe2, 0x2f, 0xf1, 0x80, 0x2a, 0xea, 0xab, 0x55, 0x0a, 0x15, 0xff, - 0xa8, 0xe2, 0x8b, 0x5f, 0xb3, 0x6c, 0x61, 0xdd, 0x0a, 0x9a, 0xa6, 0x20, 0x64, 0x15, 0x3f, 0xae, - 0xf3, 0xa7, 0xcc, 0xa2, 0x49, 0xc2, 0x15, 0x55, 0x8c, 0x27, 0x55, 0xf4, 0xf1, 0xf7, 0x36, 0xea, - 0x5d, 0x17, 0x02, 0x37, 0x90, 0xaf, 0xf3, 0x02, 0xf8, 0x09, 0x3a, 0xac, 0x87, 0xf3, 0x13, 0x1a, - 0x83, 0xd9, 0x18, 0x34, 0x86, 0x1d, 0xef, 0xa0, 0x76, 0xbe, 0xa3, 0x31, 0xe0, 0xa7, 0x68, 0xaf, - 0x88, 0x35, 0x07, 0x8d, 0x61, 0xd7, 0x3e, 0xae, 0x76, 0x43, 0xea, 0x26, 0xc8, 0x7b, 0x25, 0x58, - 0x12, 0x4e, 0x68, 0x94, 0x81, 0x57, 0x28, 0x71, 0x84, 0x8c, 0x7a, 0x72, 0xb3, 0x35, 0x68, 0x0c, - 0x7b, 0xf6, 0x98, 0x6c, 0x5a, 0x6e, 0x31, 0x3a, 0xb9, 0xdf, 0xd7, 0xcb, 0x0a, 0xbe, 0x4a, 0xb2, - 0x78, 0x43, 0xc8, 0xd3, 0x15, 0xb0, 0x83, 0x90, 0x84, 0x08, 0xe6, 0x8a, 0xce, 0x22, 0x30, 0xf7, - 0x8a, 0x2e, 0xfb, 0x0f, 0xba, 0x1c, 0x71, 0x1e, 0x95, 0x3d, 0xde, 0x51, 0xe7, 0xec, 0x82, 0x45, - 0x0a, 0x44, 0xc1, 0xfe, 0xb7, 0x9d, 0x5d, 0xab, 0xf1, 0x19, 0x32, 0x24, 0x17, 0x65, 0xd5, 0xfd, - 0xad, 0xa4, 0xd6, 0xe2, 0x2b, 0xf4, 0xff, 0xba, 0x03, 0xff, 0x96, 0xa9, 0x1b, 0xb3, 0x3d, 0x68, - 0x6d, 0x5d, 0x6d, 0x6f, 0x0d, 0x7d, 0x62, 0xea, 0x06, 0xbf, 0x45, 0x47, 0x54, 0x29, 0xc1, 0x66, - 0x99, 0x02, 0x5f, 0x9f, 0xa8, 0x69, 0xec, 0x90, 0x0a, 0x6b, 0xd0, 0xab, 0x39, 0x7c, 0x86, 0xda, - 0x31, 0x28, 0xc1, 0xe6, 0xd2, 0xec, 0xec, 0x90, 0xa2, 0x16, 0xe3, 0x73, 0x64, 0x48, 0x08, 0x63, - 0x48, 0x94, 0x34, 0xd1, 0x0e, 0xa0, 0x56, 0xe3, 0x4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 0xcf, 0x88, - 0xa4, 0x05, 0xd9, 0x05, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/group_placement_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/group_placement_view.pb.go deleted file mode 100644 index ec245295..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/group_placement_view.pb.go +++ /dev/null @@ -1,145 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/group_placement_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A group placement view. -type GroupPlacementView struct { - // The resource name of the group placement view. - // Group placement view resource names have the form: - // - // `customers/{customer_id}/groupPlacementViews/{ad_group_id}~{base64_placement}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The automatic placement string at group level, e. g. web domain, mobile - // app ID, or a YouTube channel ID. - Placement *wrappers.StringValue `protobuf:"bytes,2,opt,name=placement,proto3" json:"placement,omitempty"` - // Domain name for websites and YouTube channel name for YouTube channels. - DisplayName *wrappers.StringValue `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // URL of the group placement, e.g. domain, link to the mobile application in - // app store, or a YouTube channel URL. - TargetUrl *wrappers.StringValue `protobuf:"bytes,4,opt,name=target_url,json=targetUrl,proto3" json:"target_url,omitempty"` - // Type of the placement, e.g. Website, YouTube Channel, Mobile Application. - PlacementType enums.PlacementTypeEnum_PlacementType `protobuf:"varint,5,opt,name=placement_type,json=placementType,proto3,enum=google.ads.googleads.v2.enums.PlacementTypeEnum_PlacementType" json:"placement_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GroupPlacementView) Reset() { *m = GroupPlacementView{} } -func (m *GroupPlacementView) String() string { return proto.CompactTextString(m) } -func (*GroupPlacementView) ProtoMessage() {} -func (*GroupPlacementView) Descriptor() ([]byte, []int) { - return fileDescriptor_fae8d6b4702f2b9e, []int{0} -} - -func (m *GroupPlacementView) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GroupPlacementView.Unmarshal(m, b) -} -func (m *GroupPlacementView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GroupPlacementView.Marshal(b, m, deterministic) -} -func (m *GroupPlacementView) XXX_Merge(src proto.Message) { - xxx_messageInfo_GroupPlacementView.Merge(m, src) -} -func (m *GroupPlacementView) XXX_Size() int { - return xxx_messageInfo_GroupPlacementView.Size(m) -} -func (m *GroupPlacementView) XXX_DiscardUnknown() { - xxx_messageInfo_GroupPlacementView.DiscardUnknown(m) -} - -var xxx_messageInfo_GroupPlacementView proto.InternalMessageInfo - -func (m *GroupPlacementView) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *GroupPlacementView) GetPlacement() *wrappers.StringValue { - if m != nil { - return m.Placement - } - return nil -} - -func (m *GroupPlacementView) GetDisplayName() *wrappers.StringValue { - if m != nil { - return m.DisplayName - } - return nil -} - -func (m *GroupPlacementView) GetTargetUrl() *wrappers.StringValue { - if m != nil { - return m.TargetUrl - } - return nil -} - -func (m *GroupPlacementView) GetPlacementType() enums.PlacementTypeEnum_PlacementType { - if m != nil { - return m.PlacementType - } - return enums.PlacementTypeEnum_UNSPECIFIED -} - -func init() { - proto.RegisterType((*GroupPlacementView)(nil), "google.ads.googleads.v2.resources.GroupPlacementView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/group_placement_view.proto", fileDescriptor_fae8d6b4702f2b9e) -} - -var fileDescriptor_fae8d6b4702f2b9e = []byte{ - // 414 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0xdd, 0x8a, 0xd4, 0x30, - 0x14, 0xa6, 0x5d, 0x15, 0x36, 0xfb, 0x73, 0xd1, 0x1b, 0x87, 0x65, 0x91, 0x59, 0x65, 0x61, 0xae, - 0x12, 0x88, 0x77, 0x59, 0x51, 0xba, 0x20, 0x03, 0x5e, 0xc8, 0x30, 0x6a, 0x2f, 0xa4, 0x50, 0xb2, - 0xd3, 0x63, 0x28, 0xb4, 0x49, 0x48, 0xd2, 0x19, 0xe6, 0xde, 0x27, 0xf1, 0xd2, 0x47, 0xf1, 0x11, - 0x7c, 0x04, 0x9f, 0x42, 0xda, 0x34, 0x59, 0x17, 0x59, 0xdd, 0xbb, 0x2f, 0x39, 0xdf, 0xf7, 0x9d, - 0xef, 0xe4, 0x04, 0xbd, 0x12, 0x4a, 0x89, 0x16, 0x08, 0xaf, 0x2d, 0xf1, 0x70, 0x40, 0x5b, 0x4a, - 0x0c, 0x58, 0xd5, 0x9b, 0x0d, 0x58, 0x22, 0x8c, 0xea, 0x75, 0xa5, 0x5b, 0xbe, 0x81, 0x0e, 0xa4, - 0xab, 0xb6, 0x0d, 0xec, 0xb0, 0x36, 0xca, 0xa9, 0xec, 0xc2, 0x4b, 0x30, 0xaf, 0x2d, 0x8e, 0x6a, - 0xbc, 0xa5, 0x38, 0xaa, 0xcf, 0xe8, 0x7d, 0x0d, 0x40, 0xf6, 0x9d, 0x25, 0xb7, 0xb6, 0x6e, 0xaf, - 0xc1, 0xdb, 0x9e, 0x3d, 0x9b, 0x34, 0xe3, 0xe9, 0xa6, 0xff, 0x42, 0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e, - 0x13, 0x86, 0x3f, 0xa2, 0x1b, 0xfb, 0x8f, 0x3f, 0x79, 0x15, 0xd1, 0xb7, 0xf4, 0x60, 0x99, 0xe7, - 0xdf, 0xd3, 0x8b, 0xa5, 0xb7, 0xcc, 0x6b, 0x8b, 0x3d, 0x1c, 0x50, 0x41, 0xf1, 0x3a, 0x30, 0x7f, - 0x04, 0x4e, 0x99, 0xd7, 0xb6, 0x8c, 0x9c, 0xb2, 0xa0, 0x65, 0xe4, 0xfc, 0x4a, 0x2f, 0x7d, 0x81, - 0xb1, 0xbc, 0xb6, 0x8c, 0x45, 0x16, 0x63, 0x05, 0x65, 0x2c, 0xf2, 0x6e, 0x9e, 0x8c, 0x61, 0x5f, - 0xfe, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x8e, 0x03, 0x09, 0xd3, 0x3f, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/hotel_group_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/hotel_group_view.pb.go deleted file mode 100644 index 9eec701e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/hotel_group_view.pb.go +++ /dev/null @@ -1,96 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/hotel_group_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_8cc5584a36eaf63e, []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 (m *HotelGroupView) XXX_Merge(src proto.Message) { - xxx_messageInfo_HotelGroupView.Merge(m, 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.v2.resources.HotelGroupView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/hotel_group_view.proto", fileDescriptor_8cc5584a36eaf63e) -} - -var fileDescriptor_8cc5584a36eaf63e = []byte{ - // 271 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0xb1, 0x4a, 0xc4, 0x30, - 0x18, 0xc7, 0x69, 0x05, 0xc1, 0xa2, 0x0e, 0xe7, 0x22, 0xe2, 0xe0, 0x29, 0x07, 0x4e, 0x09, 0x44, - 0x04, 0x89, 0x53, 0x6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, 0x84, 0x43, 0x21, 0xfa, 0x54, 0x11, 0xb4, - 0x8e, 0xe4, 0x67, 0x64, 0x6a, 0x26, 0x5c, 0x9d, 0x98, 0xba, 0x22, 0x75, 0x62, 0xbe, 0xf2, 0x45, - 0xf8, 0xa0, 0x94, 0x09, 0x47, 0x69, 0xa2, 0x28, 0xad, 0x08, 0xa5, 0x89, 0x7b, 0xd9, 0x9f, 0x96, - 0xbd, 0xf9, 0x0e, 0x00, 0x00, 0xff, 0xff, 0xb5, 0xef, 0xe4, 0x8d, 0xbd, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/hotel_performance_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/hotel_performance_view.pb.go deleted file mode 100644 index ae3a5610..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/hotel_performance_view.pb.go +++ /dev/null @@ -1,97 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/hotel_performance_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_7442b91f37e9db64, []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 (m *HotelPerformanceView) XXX_Merge(src proto.Message) { - xxx_messageInfo_HotelPerformanceView.Merge(m, 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.v2.resources.HotelPerformanceView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/hotel_performance_view.proto", fileDescriptor_7442b91f37e9db64) -} - -var fileDescriptor_7442b91f37e9db64 = []byte{ - // 278 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0x4f, 0x4a, 0xf4, 0x30, - 0x18, 0xc6, 0x69, 0x3f, 0xf8, 0xc0, 0xa2, 0x9b, 0xc1, 0x85, 0x8a, 0x0b, 0x47, 0x19, 0x70, 0x95, - 0x40, 0xdd, 0x65, 0x40, 0xc8, 0x6c, 0x46, 0x5c, 0x48, 0x99, 0x45, 0x17, 0x52, 0x28, 0xb1, 0x79, - 0x8d, 0x81, 0x36, 0x6f, 0x49, 0x6a, 0xe7, 0x06, 0x1e, 0xc4,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, - 0x99, 0x57, 0x91, 0xf9, 0x48, 0x17, 0xfe, 0x83, 0x31, 0x2e, 0x1d, 0x63, 0x91, 0x62, 0xac, 0xcc, - 0x19, 0x8b, 0xdc, 0xc3, 0xff, 0xdd, 0xd8, 0xab, 0xcf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa2, 0x21, - 0xfb, 0x91, 0xcf, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/invoice.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/invoice.pb.go deleted file mode 100644 index 5bc7b4c7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/invoice.pb.go +++ /dev/null @@ -1,453 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/invoice.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// An invoice. All invoice information is snapshotted to match the PDF invoice. -// For invoices older than the launch of InvoiceService, the snapshotted -// information may not match the PDF invoice. -type Invoice struct { - // The resource name of the invoice. Multiple customers can share a given - // invoice, so multiple resource names may point to the same invoice. - // Invoice resource names have the form: - // - // `customers/{customer_id}/invoices/{invoice_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The ID of the invoice. It appears on the invoice PDF as "Invoice number". - Id *wrappers.StringValue `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // The type of invoice. - Type enums.InvoiceTypeEnum_InvoiceType `protobuf:"varint,3,opt,name=type,proto3,enum=google.ads.googleads.v2.enums.InvoiceTypeEnum_InvoiceType" json:"type,omitempty"` - // The resource name of this invoice’s billing setup. - // - // `customers/{customer_id}/billingSetups/{billing_setup_id}` - BillingSetup *wrappers.StringValue `protobuf:"bytes,4,opt,name=billing_setup,json=billingSetup,proto3" json:"billing_setup,omitempty"` - // A 16 digit ID used to identify the payments account associated with the - // billing setup, e.g. "1234-5678-9012-3456". It appears on the invoice PDF as - // "Billing Account Number". - PaymentsAccountId *wrappers.StringValue `protobuf:"bytes,5,opt,name=payments_account_id,json=paymentsAccountId,proto3" json:"payments_account_id,omitempty"` - // A 12 digit ID used to identify the payments profile associated with the - // billing setup, e.g. "1234-5678-9012". It appears on the invoice PDF as - // "Billing ID". - PaymentsProfileId *wrappers.StringValue `protobuf:"bytes,6,opt,name=payments_profile_id,json=paymentsProfileId,proto3" json:"payments_profile_id,omitempty"` - // The issue date in yyyy-mm-dd format. It appears on the invoice PDF as - // either "Issue date" or "Invoice date". - IssueDate *wrappers.StringValue `protobuf:"bytes,7,opt,name=issue_date,json=issueDate,proto3" json:"issue_date,omitempty"` - // The due date in yyyy-mm-dd format. - DueDate *wrappers.StringValue `protobuf:"bytes,8,opt,name=due_date,json=dueDate,proto3" json:"due_date,omitempty"` - // The service period date range of this invoice. The end date is inclusive. - ServiceDateRange *common.DateRange `protobuf:"bytes,9,opt,name=service_date_range,json=serviceDateRange,proto3" json:"service_date_range,omitempty"` - // The currency code. All costs are returned in this currency. A subset of the - // currency codes derived from the ISO 4217 standard is supported. - CurrencyCode *wrappers.StringValue `protobuf:"bytes,10,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"` - // The total amount of invoice level adjustments. These adjustments are made - // on the invoice, not on a specific account budget. - InvoiceLevelAdjustmentsMicros *wrappers.Int64Value `protobuf:"bytes,11,opt,name=invoice_level_adjustments_micros,json=invoiceLevelAdjustmentsMicros,proto3" json:"invoice_level_adjustments_micros,omitempty"` - // The pretax subtotal amount, in micros. This equals the sum of the - // AccountBudgetSummary subtotal amounts, plus the invoice level adjustments. - SubtotalAmountMicros *wrappers.Int64Value `protobuf:"bytes,12,opt,name=subtotal_amount_micros,json=subtotalAmountMicros,proto3" json:"subtotal_amount_micros,omitempty"` - // The sum of all taxes on the invoice, in micros. This equals the sum of the - // AccountBudgetSummary tax amounts, plus taxes not associated with a specific - // account budget. - TaxAmountMicros *wrappers.Int64Value `protobuf:"bytes,13,opt,name=tax_amount_micros,json=taxAmountMicros,proto3" json:"tax_amount_micros,omitempty"` - // The total amount, in micros. This equals the sum of the invoice subtotal - // amount and the invoice tax amount. - TotalAmountMicros *wrappers.Int64Value `protobuf:"bytes,14,opt,name=total_amount_micros,json=totalAmountMicros,proto3" json:"total_amount_micros,omitempty"` - // The resource name of the original invoice corrected, wrote off, or canceled - // by this invoice, if applicable. If `corrected_invoice` is set, - // `replaced_invoices` will not be set. - // - // Invoice resource names have the form: - // - // `customers/{customer_id}/invoices/{invoice_id}` - CorrectedInvoice *wrappers.StringValue `protobuf:"bytes,15,opt,name=corrected_invoice,json=correctedInvoice,proto3" json:"corrected_invoice,omitempty"` - // The resource name of the original invoice(s) being rebilled or replaced by - // this invoice, if applicable. There might be multiple replaced invoices due - // to invoice consolidation. The replaced invoices may not belong to the same - // payments account. If `replaced_invoices` is set, `corrected_invoice` will - // not be set. - // Invoice resource names have the form: - // - // `customers/{customer_id}/invoices/{invoice_id}` - ReplacedInvoices []*wrappers.StringValue `protobuf:"bytes,16,rep,name=replaced_invoices,json=replacedInvoices,proto3" json:"replaced_invoices,omitempty"` - // The URL to a PDF copy of the invoice. Users need to pass in their OAuth - // token to request the PDF with this URL. - PdfUrl *wrappers.StringValue `protobuf:"bytes,17,opt,name=pdf_url,json=pdfUrl,proto3" json:"pdf_url,omitempty"` - // The list of summarized account budget information associated with this - // invoice. - AccountBudgetSummaries []*Invoice_AccountBudgetSummary `protobuf:"bytes,18,rep,name=account_budget_summaries,json=accountBudgetSummaries,proto3" json:"account_budget_summaries,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Invoice) Reset() { *m = Invoice{} } -func (m *Invoice) String() string { return proto.CompactTextString(m) } -func (*Invoice) ProtoMessage() {} -func (*Invoice) Descriptor() ([]byte, []int) { - return fileDescriptor_2b8f0bbb4092e161, []int{0} -} - -func (m *Invoice) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Invoice.Unmarshal(m, b) -} -func (m *Invoice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Invoice.Marshal(b, m, deterministic) -} -func (m *Invoice) XXX_Merge(src proto.Message) { - xxx_messageInfo_Invoice.Merge(m, src) -} -func (m *Invoice) XXX_Size() int { - return xxx_messageInfo_Invoice.Size(m) -} -func (m *Invoice) XXX_DiscardUnknown() { - xxx_messageInfo_Invoice.DiscardUnknown(m) -} - -var xxx_messageInfo_Invoice proto.InternalMessageInfo - -func (m *Invoice) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *Invoice) GetId() *wrappers.StringValue { - if m != nil { - return m.Id - } - return nil -} - -func (m *Invoice) GetType() enums.InvoiceTypeEnum_InvoiceType { - if m != nil { - return m.Type - } - return enums.InvoiceTypeEnum_UNSPECIFIED -} - -func (m *Invoice) GetBillingSetup() *wrappers.StringValue { - if m != nil { - return m.BillingSetup - } - return nil -} - -func (m *Invoice) GetPaymentsAccountId() *wrappers.StringValue { - if m != nil { - return m.PaymentsAccountId - } - return nil -} - -func (m *Invoice) GetPaymentsProfileId() *wrappers.StringValue { - if m != nil { - return m.PaymentsProfileId - } - return nil -} - -func (m *Invoice) GetIssueDate() *wrappers.StringValue { - if m != nil { - return m.IssueDate - } - return nil -} - -func (m *Invoice) GetDueDate() *wrappers.StringValue { - if m != nil { - return m.DueDate - } - return nil -} - -func (m *Invoice) GetServiceDateRange() *common.DateRange { - if m != nil { - return m.ServiceDateRange - } - return nil -} - -func (m *Invoice) GetCurrencyCode() *wrappers.StringValue { - if m != nil { - return m.CurrencyCode - } - return nil -} - -func (m *Invoice) GetInvoiceLevelAdjustmentsMicros() *wrappers.Int64Value { - if m != nil { - return m.InvoiceLevelAdjustmentsMicros - } - return nil -} - -func (m *Invoice) GetSubtotalAmountMicros() *wrappers.Int64Value { - if m != nil { - return m.SubtotalAmountMicros - } - return nil -} - -func (m *Invoice) GetTaxAmountMicros() *wrappers.Int64Value { - if m != nil { - return m.TaxAmountMicros - } - return nil -} - -func (m *Invoice) GetTotalAmountMicros() *wrappers.Int64Value { - if m != nil { - return m.TotalAmountMicros - } - return nil -} - -func (m *Invoice) GetCorrectedInvoice() *wrappers.StringValue { - if m != nil { - return m.CorrectedInvoice - } - return nil -} - -func (m *Invoice) GetReplacedInvoices() []*wrappers.StringValue { - if m != nil { - return m.ReplacedInvoices - } - return nil -} - -func (m *Invoice) GetPdfUrl() *wrappers.StringValue { - if m != nil { - return m.PdfUrl - } - return nil -} - -func (m *Invoice) GetAccountBudgetSummaries() []*Invoice_AccountBudgetSummary { - if m != nil { - return m.AccountBudgetSummaries - } - return nil -} - -// Represents a summarized account budget billable cost. -type Invoice_AccountBudgetSummary struct { - // The resource name of the customer associated with this account budget. - // This contains the customer ID, which appears on the invoice PDF as - // "Account ID". - // Customer resource names have the form: - // - // `customers/{customer_id}` - Customer *wrappers.StringValue `protobuf:"bytes,1,opt,name=customer,proto3" json:"customer,omitempty"` - // The descriptive name of the account budget’s customer. It appears on the - // invoice PDF as "Account". - CustomerDescriptiveName *wrappers.StringValue `protobuf:"bytes,2,opt,name=customer_descriptive_name,json=customerDescriptiveName,proto3" json:"customer_descriptive_name,omitempty"` - // The resource name of the account budget associated with this summarized - // billable cost. - // AccountBudget resource names have the form: - // - // `customers/{customer_id}/accountBudgets/{account_budget_id}` - AccountBudget *wrappers.StringValue `protobuf:"bytes,3,opt,name=account_budget,json=accountBudget,proto3" json:"account_budget,omitempty"` - // The name of the account budget. It appears on the invoice PDF as "Account - // budget". - AccountBudgetName *wrappers.StringValue `protobuf:"bytes,4,opt,name=account_budget_name,json=accountBudgetName,proto3" json:"account_budget_name,omitempty"` - // The purchase order number of the account budget. It appears on the - // invoice PDF as "Purchase order". - PurchaseOrderNumber *wrappers.StringValue `protobuf:"bytes,5,opt,name=purchase_order_number,json=purchaseOrderNumber,proto3" json:"purchase_order_number,omitempty"` - // The pretax subtotal amount attributable to this budget during the service - // period, in micros. - SubtotalAmountMicros *wrappers.Int64Value `protobuf:"bytes,6,opt,name=subtotal_amount_micros,json=subtotalAmountMicros,proto3" json:"subtotal_amount_micros,omitempty"` - // The tax amount attributable to this budget during the service period, in - // micros. - TaxAmountMicros *wrappers.Int64Value `protobuf:"bytes,7,opt,name=tax_amount_micros,json=taxAmountMicros,proto3" json:"tax_amount_micros,omitempty"` - // The total amount attributable to this budget during the service period, - // in micros. This equals the sum of the account budget subtotal amount and - // the account budget tax amount. - TotalAmountMicros *wrappers.Int64Value `protobuf:"bytes,8,opt,name=total_amount_micros,json=totalAmountMicros,proto3" json:"total_amount_micros,omitempty"` - // The billable activity date range of the account budget, within the - // service date range of this invoice. The end date is inclusive. This can - // be different from the account budget's start and end time. - BillableActivityDateRange *common.DateRange `protobuf:"bytes,9,opt,name=billable_activity_date_range,json=billableActivityDateRange,proto3" json:"billable_activity_date_range,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Invoice_AccountBudgetSummary) Reset() { *m = Invoice_AccountBudgetSummary{} } -func (m *Invoice_AccountBudgetSummary) String() string { return proto.CompactTextString(m) } -func (*Invoice_AccountBudgetSummary) ProtoMessage() {} -func (*Invoice_AccountBudgetSummary) Descriptor() ([]byte, []int) { - return fileDescriptor_2b8f0bbb4092e161, []int{0, 0} -} - -func (m *Invoice_AccountBudgetSummary) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Invoice_AccountBudgetSummary.Unmarshal(m, b) -} -func (m *Invoice_AccountBudgetSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Invoice_AccountBudgetSummary.Marshal(b, m, deterministic) -} -func (m *Invoice_AccountBudgetSummary) XXX_Merge(src proto.Message) { - xxx_messageInfo_Invoice_AccountBudgetSummary.Merge(m, src) -} -func (m *Invoice_AccountBudgetSummary) XXX_Size() int { - return xxx_messageInfo_Invoice_AccountBudgetSummary.Size(m) -} -func (m *Invoice_AccountBudgetSummary) XXX_DiscardUnknown() { - xxx_messageInfo_Invoice_AccountBudgetSummary.DiscardUnknown(m) -} - -var xxx_messageInfo_Invoice_AccountBudgetSummary proto.InternalMessageInfo - -func (m *Invoice_AccountBudgetSummary) GetCustomer() *wrappers.StringValue { - if m != nil { - return m.Customer - } - return nil -} - -func (m *Invoice_AccountBudgetSummary) GetCustomerDescriptiveName() *wrappers.StringValue { - if m != nil { - return m.CustomerDescriptiveName - } - return nil -} - -func (m *Invoice_AccountBudgetSummary) GetAccountBudget() *wrappers.StringValue { - if m != nil { - return m.AccountBudget - } - return nil -} - -func (m *Invoice_AccountBudgetSummary) GetAccountBudgetName() *wrappers.StringValue { - if m != nil { - return m.AccountBudgetName - } - return nil -} - -func (m *Invoice_AccountBudgetSummary) GetPurchaseOrderNumber() *wrappers.StringValue { - if m != nil { - return m.PurchaseOrderNumber - } - return nil -} - -func (m *Invoice_AccountBudgetSummary) GetSubtotalAmountMicros() *wrappers.Int64Value { - if m != nil { - return m.SubtotalAmountMicros - } - return nil -} - -func (m *Invoice_AccountBudgetSummary) GetTaxAmountMicros() *wrappers.Int64Value { - if m != nil { - return m.TaxAmountMicros - } - return nil -} - -func (m *Invoice_AccountBudgetSummary) GetTotalAmountMicros() *wrappers.Int64Value { - if m != nil { - return m.TotalAmountMicros - } - return nil -} - -func (m *Invoice_AccountBudgetSummary) GetBillableActivityDateRange() *common.DateRange { - if m != nil { - return m.BillableActivityDateRange - } - return nil -} - -func init() { - proto.RegisterType((*Invoice)(nil), "google.ads.googleads.v2.resources.Invoice") - proto.RegisterType((*Invoice_AccountBudgetSummary)(nil), "google.ads.googleads.v2.resources.Invoice.AccountBudgetSummary") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/invoice.proto", fileDescriptor_2b8f0bbb4092e161) -} - -var fileDescriptor_2b8f0bbb4092e161 = []byte{ - // 875 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x96, 0xdd, 0x6e, 0xdc, 0x44, - 0x14, 0x80, 0xb5, 0x9b, 0x36, 0x9b, 0x4c, 0x93, 0x34, 0xeb, 0x94, 0xe2, 0x86, 0x80, 0xb6, 0xa0, - 0x4a, 0x01, 0x21, 0x2f, 0x5a, 0x7e, 0xe5, 0x5e, 0x20, 0xa7, 0x45, 0xd1, 0x42, 0x09, 0x61, 0x03, - 0x01, 0xa1, 0x48, 0xd6, 0xec, 0xcc, 0x89, 0x99, 0xca, 0x9e, 0xb1, 0xe6, 0x67, 0xe9, 0x3e, 0x0b, - 0x77, 0x5c, 0xf2, 0x28, 0x3c, 0x07, 0x57, 0xbc, 0x01, 0x77, 0xc8, 0xe3, 0x19, 0x87, 0x6d, 0x9a, - 0xae, 0xa1, 0xb9, 0x9b, 0xf5, 0x9c, 0xef, 0xf3, 0x99, 0x9f, 0x73, 0xd6, 0x68, 0x98, 0x09, 0x91, - 0xe5, 0x30, 0xc4, 0x54, 0xb9, 0x61, 0x35, 0x9a, 0x8d, 0x86, 0x12, 0x94, 0x30, 0x92, 0x80, 0x1a, - 0x32, 0x3e, 0x13, 0x8c, 0x40, 0x54, 0x4a, 0xa1, 0x45, 0x70, 0xbf, 0x8e, 0x8a, 0x30, 0x55, 0x51, - 0x03, 0x44, 0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, 0xc3, 0x75, 0xca, 0x68, 0x78, 0xb3, 0x85, 0xa8, - 0xef, 0xc1, 0xa4, 0xe6, 0xc6, 0x74, 0xc1, 0x56, 0x4a, 0x71, 0xce, 0x72, 0xa8, 0x6c, 0xab, 0xff, - 0xc5, 0x76, 0x5c, 0x73, 0x63, 0x1a, 0x3c, 0x44, 0x88, 0x29, 0x65, 0x20, 0xad, 0xae, 0x44, 0xd8, - 0x6b, 0x21, 0x59, 0xb7, 0xf1, 0x8f, 0xb1, 0x86, 0xe0, 0x53, 0xb4, 0x46, 0x3d, 0xba, 0xd6, 0x02, - 0xed, 0x51, 0x07, 0xfe, 0x80, 0x02, 0x05, 0x72, 0x56, 0xdd, 0xab, 0x0a, 0x4e, 0x25, 0xe6, 0x19, - 0x84, 0xeb, 0x56, 0xf1, 0xee, 0x95, 0x47, 0x56, 0x5f, 0xde, 0xa8, 0x32, 0x4c, 0x2a, 0x60, 0xb2, - 0xed, 0x24, 0xcd, 0x93, 0xea, 0xb4, 0x88, 0x91, 0x12, 0x38, 0x99, 0xa7, 0x44, 0x50, 0x08, 0x51, - 0x9b, 0xd3, 0xf2, 0xc8, 0x23, 0x41, 0x21, 0xa0, 0x68, 0xe0, 0xef, 0x7c, 0x0e, 0x33, 0xc8, 0x53, - 0x4c, 0x9f, 0x1a, 0xa5, 0xeb, 0x0d, 0x2f, 0x18, 0x91, 0x42, 0x85, 0xb7, 0xac, 0xf5, 0x8d, 0x4b, - 0xd6, 0x31, 0xd7, 0x9f, 0x7c, 0x54, 0x4b, 0xdf, 0x74, 0x92, 0x27, 0x95, 0x23, 0xb9, 0x50, 0x7c, - 0x6d, 0x0d, 0xc1, 0xb7, 0xe8, 0xae, 0x32, 0x53, 0x2d, 0x34, 0xce, 0x53, 0x5c, 0xd8, 0x2b, 0xe1, - 0xdc, 0x1b, 0xcb, 0xdd, 0x77, 0x3c, 0x9a, 0x58, 0xd2, 0x29, 0x0f, 0x51, 0x5f, 0xe3, 0x67, 0xcf, - 0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0x64, 0x3f, 0xfc, 0x27, 0x00, - 0x00, 0xff, 0xff, 0x0c, 0x87, 0x78, 0xcd, 0x12, 0x0a, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/keyword_plan.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/keyword_plan.pb.go deleted file mode 100644 index 880d4a06..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/keyword_plan.pb.go +++ /dev/null @@ -1,229 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/keyword_plan.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A Keyword Planner plan. -// Max number of saved keyword plans: 10000. -// It's possible to remove plans if limit is reached. -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_db2ef87e79a4b462, []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 (m *KeywordPlan) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlan.Merge(m, 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_db2ef87e79a4b462, []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 (m *KeywordPlanForecastPeriod) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanForecastPeriod.Merge(m, 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.v2.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_OneofWrappers is for the internal use of the proto package. -func (*KeywordPlanForecastPeriod) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*KeywordPlanForecastPeriod_DateInterval)(nil), - (*KeywordPlanForecastPeriod_DateRange)(nil), - } -} - -func init() { - proto.RegisterType((*KeywordPlan)(nil), "google.ads.googleads.v2.resources.KeywordPlan") - proto.RegisterType((*KeywordPlanForecastPeriod)(nil), "google.ads.googleads.v2.resources.KeywordPlanForecastPeriod") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/keyword_plan.proto", fileDescriptor_db2ef87e79a4b462) -} - -var fileDescriptor_db2ef87e79a4b462 = []byte{ - // 485 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0xdd, 0x6a, 0xd4, 0x40, - 0x14, 0xc7, 0x9b, 0xb4, 0x88, 0x9d, 0x7e, 0x28, 0xb9, 0x5a, 0x6b, 0x91, 0xb6, 0x52, 0xa8, 0x0a, - 0x13, 0x89, 0xc5, 0x8b, 0xe8, 0x4d, 0x16, 0xb5, 0x1f, 0x82, 0x2c, 0x11, 0xf6, 0xa2, 0x2c, 0x2c, - 0xd3, 0x9d, 0xb3, 0x21, 0x98, 0xcc, 0x84, 0x99, 0xc9, 0x16, 0x2f, 0x7d, 0x15, 0x2f, 0x7d, 0x14, - 0x1f, 0xc5,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x12, 0x9b, 0xb0, 0x8b, - 0xc6, 0x09, 0xce, 0x1d, 0xf9, 0xd3, 0x31, 0x93, 0x8c, 0xca, 0x89, 0x67, 0x26, 0xe3, 0x64, 0xe2, - 0x99, 0x5f, 0xe1, 0xa1, 0x79, 0x48, 0xd3, 0x8c, 0xca, 0x34, 0xf5, 0x54, 0x9a, 0x8e, 0x93, 0x34, - 0xf5, 0xdc, 0xe5, 0x3d, 0xdd, 0xec, 0xab, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x0c, 0x35, 0x7d, - 0x8b, 0x04, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/keyword_plan_ad_group.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/keyword_plan_ad_group.pb.go deleted file mode 100644 index aef31890..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/keyword_plan_ad_group.pb.go +++ /dev/null @@ -1,147 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/keyword_plan_ad_group.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A Keyword Planner ad group. -// Max number of keyword plan ad groups per plan: 200. -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_3f1a03c968ccbc2a, []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 (m *KeywordPlanAdGroup) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanAdGroup.Merge(m, 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.v2.resources.KeywordPlanAdGroup") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/keyword_plan_ad_group.proto", fileDescriptor_3f1a03c968ccbc2a) -} - -var fileDescriptor_3f1a03c968ccbc2a = []byte{ - // 398 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xc1, 0xaa, 0xd4, 0x30, - 0x18, 0x85, 0x69, 0xee, 0x55, 0x30, 0x5e, 0x5d, 0x54, 0xc4, 0x72, 0xbd, 0xc8, 0x8c, 0x32, 0x30, - 0x20, 0xa4, 0x52, 0xc5, 0x45, 0xc4, 0x45, 0xc7, 0xc5, 0xa0, 0xa2, 0x94, 0x11, 0xba, 0x90, 0x42, - 0xc9, 0x24, 0x31, 0x84, 0x69, 0x93, 0x90, 0xb4, 0x33, 0xb8, 0xf7, 0x49, 0x5c, 0x0a, 0xbe, 0x88, - 0x8f, 0xe2, 0x53, 0x48, 0x9b, 0xb6, 0x22, 0x03, 0xce, 0xdd, 0x1d, 0xfa, 0x9f, 0xef, 0x3f, 0x87, - 0xe6, 0x87, 0xaf, 0x85, 0xd6, 0xa2, 0xe2, 0x31, 0x61, 0x2e, 0xf6, 0xb2,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0x6a, 0x17, 0xdd, 0x38, 0x1d, 0x75, 0x41, 0x0d, 0x5d, 0x49, 0xf6, 0xa1, 0x07, - 0x56, 0xdf, 0x00, 0x5c, 0x50, 0x5d, 0xa3, 0x93, 0xef, 0xb2, 0x7a, 0x70, 0xfc, 0x5b, 0xb3, 0x6e, - 0x7d, 0x16, 0x7c, 0x7e, 0x37, 0xd0, 0x42, 0x57, 0x44, 0x09, 0xa4, 0xad, 0x88, 0x05, 0x57, 0x7d, - 0xf8, 0x78, 0x24, 0x46, 0xba, 0xff, 0xdc, 0xcc, 0xab, 0x49, 0x7d, 0x07, 0x67, 0xeb, 0x34, 0xfd, - 0x01, 0xe6, 0x6b, 0xbf, 0x32, 0x65, 0x0e, 0x79, 0xd9, 0xa9, 0x3c, 0x41, 0x9b, 0xd1, 0xf9, 0x6b, - 0xf4, 0x14, 0x29, 0x73, 0xc5, 0xe4, 0x29, 0xf2, 0xa4, 0x98, 0x3c, 0xbf, 0xc1, 0xc2, 0x0f, 0x30, - 0x4e, 0x99, 0xc3, 0x78, 0x72, 0x61, 0x9c, 0x27, 0x18, 0x4f, 0xbe, 0xed, 0xcd, 0xbe, 0xec, 0xf3, - 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xd8, 0x58, 0x2e, 0x0c, 0xdf, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/keyword_plan_campaign.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/keyword_plan_campaign.pb.go deleted file mode 100644 index a021d048..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/keyword_plan_campaign.pb.go +++ /dev/null @@ -1,233 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/keyword_plan_campaign.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A Keyword Plan campaign. -// Max number of keyword plan campaigns per plan allowed: 1. -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. - // Max allowed: 1. - 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.v2.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. - // Max number allowed: 20. - 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_d287701d9b77d16a, []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 (m *KeywordPlanCampaign) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanCampaign.Merge(m, 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_d287701d9b77d16a, []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 (m *KeywordPlanGeoTarget) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanGeoTarget.Merge(m, 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.v2.resources.KeywordPlanCampaign") - proto.RegisterType((*KeywordPlanGeoTarget)(nil), "google.ads.googleads.v2.resources.KeywordPlanGeoTarget") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/keyword_plan_campaign.proto", fileDescriptor_d287701d9b77d16a) -} - -var fileDescriptor_d287701d9b77d16a = []byte{ - // 522 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xd1, 0x8a, 0x13, 0x31, - 0x14, 0x86, 0xe9, 0x6c, 0x5d, 0x35, 0xad, 0x0b, 0x66, 0xf7, 0x62, 0x58, 0x17, 0xe9, 0xae, 0x2c, - 0x14, 0x84, 0x8c, 0x8c, 0xa2, 0x32, 0x22, 0x32, 0x5d, 0xa4, 0xea, 0xea, 0x52, 0xaa, 0x14, 0x91, - 0xc2, 0x90, 0x4e, 0x62, 0x08, 0xed, 0x24, 0x43, 0x92, 0xd9, 0xa2, 0xf7, 0xbe, 0x88, 0x97, 0x3e, - 0x85, 0xd7, 0x3e, 0x8a, 0x4f, 0x21, 0xcd, 0x4c, 0x66, 0x8b, 0xdb, 0x75, 0xbc, 0x3b, 0x93, 0xfc, - 0xdf, 0x39, 0xff, 0x9c, 0x73, 0x02, 0x9e, 0x33, 0x29, 0xd9, 0x82, 0x06, 0x98, 0xe8, 0xa0, 0x0c, - 0x57, 0xd1, 0x79, 0x18, 0x28, 0xaa, 0x65, 0xa1, 0x52, 0xaa, 0x83, 0x39, 0xfd, 0xb2, 0x94, 0x8a, - 0x24, 0xf9, 0x02, 0x8b, 0x24, 0xc5, 0x59, 0x8e, 0x39,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 0xd6, 0x9a, 0xdf, 0xde, 0x71, 0x79, 0x11, 0x45, 0x31, 0xd1, 0x51, 0x54, - 0xab, 0xa2, 0x68, 0x12, 0x46, 0x51, 0xad, 0x9b, 0x6d, 0x5b, 0xb3, 0x0f, 0xff, 0x04, 0x00, 0x00, - 0xff, 0xff, 0x4f, 0x90, 0xa8, 0x8f, 0x93, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/keyword_plan_keyword.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/keyword_plan_keyword.pb.go deleted file mode 100644 index bba5da23..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/keyword_plan_keyword.pb.go +++ /dev/null @@ -1,157 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/keyword_plan_keyword.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A Keyword Plan ad group keyword. -// Max number of keyword plan keywords per plan: 2500. -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.v2.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_f244ce6e07acf616, []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 (m *KeywordPlanKeyword) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanKeyword.Merge(m, 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.v2.resources.KeywordPlanKeyword") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/keyword_plan_keyword.proto", fileDescriptor_f244ce6e07acf616) -} - -var fileDescriptor_f244ce6e07acf616 = []byte{ - // 452 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xc1, 0x8a, 0xd4, 0x30, - 0x18, 0xc7, 0x69, 0x67, 0x5d, 0xd8, 0xb8, 0xee, 0x21, 0x20, 0x96, 0x75, 0x91, 0x59, 0x65, 0x61, - 0x40, 0x48, 0xa5, 0xca, 0x1e, 0xaa, 0x97, 0x0e, 0xca, 0xa0, 0xb2, 0x3a, 0x8c, 0x32, 0x07, 0x29, - 0x94, 0x4c, 0x12, 0x6b, 0xd8, 0x36, 0x09, 0x49, 0xba, 0xeb, 0xdc, 0x7d, 0x01, 0x5f, 0xc1, 0xa3, - 0x8f, 0xe2, 0xa3, 0xf8, 0x14, 0xd2, 0x36, 0xe9, 0x20, 0xc3, 0x3a, 0xde, 0xfe, 0x49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x00, 0x00, 0xff, 0xff, 0x33, 0x39, 0xf5, 0x3d, - 0x7a, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/keyword_plan_negative_keyword.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/keyword_plan_negative_keyword.pb.go deleted file mode 100644 index 8af0ee69..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/keyword_plan_negative_keyword.pb.go +++ /dev/null @@ -1,146 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/keyword_plan_negative_keyword.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A Keyword Plan negative keyword. -// Max number of keyword plan negative keywords per plan: 1000. -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.v2.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_27b20929787d8602, []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 (m *KeywordPlanNegativeKeyword) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanNegativeKeyword.Merge(m, 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.v2.resources.KeywordPlanNegativeKeyword") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/keyword_plan_negative_keyword.proto", fileDescriptor_27b20929787d8602) -} - -var fileDescriptor_27b20929787d8602 = []byte{ - // 435 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0xdd, 0x6a, 0x14, 0x31, - 0x18, 0x65, 0xa6, 0x55, 0x68, 0xfc, 0xb9, 0x18, 0x11, 0x86, 0xb5, 0xe8, 0x56, 0x29, 0x2c, 0x08, - 0x19, 0x19, 0xa5, 0x17, 0xf1, 0x6a, 0xaa, 0xa5, 0xa8, 0x58, 0x96, 0x55, 0xf6, 0x42, 0x16, 0x86, - 0x74, 0x12, 0x63, 0xe8, 0xe4, 0x87, 0x24, 0xb3, 0x75, 0xdf, 0xc1, 0xa7, 0xf0, 0xd2, 0x47, 0xf1, - 0x05, 0x7c, 0x07, 0x9f, 0x42, 0x76, 0x92, 0xcc, 0x22, 0x65, 0xb5, 0x77, 0x27, 0xdf, 0x77, 0xce, - 0xf9, 0xfe, 0x02, 0x4e, 0x98, 0x52, 0xac, 0xa5, 0x05, 0x26, 0xb6, 0xf0, 0x70, 0x8d, 0x96, 0x65, - 0x61, 0xa8, 0x55, 0x9d, 0x69, 0xa8, 0x2d, 0x2e, 0xe8, 0xea, 0x52, 0x19, 0x52, 0xeb, 0x16, 0xcb, - 0x5a, 0x52, 0x86, 0x1d, 0x5f, 0xd2, 0x3a, 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0x13, 0xf5, 0xfb, - 0x87, 0x61, 0x23, 0xef, 0xd7, 0xba, 0x8f, 0x2b, 0x4d, 0x4f, 0x64, 0x27, 0xae, 0x04, 0x67, 0x7b, - 0x22, 0xc2, 0xe3, 0x6f, 0x29, 0x38, 0x6c, 0x94, 0x80, 0xff, 0xbd, 0xfc, 0xf1, 0xa3, 0xed, 0x07, - 0x98, 0xae, 0x87, 0x98, 0x26, 0x9f, 0xde, 0x06, 0x17, 0xa6, 0x5a, 0x2c, 0x19, 0x54, 0x86, 0x15, - 0x8c, 0xca, 0x7e, 0xc4, 0xf8, 0x59, 0x34, 0xb7, 0xff, 0xf8, 0xa5, 0x2f, 0x07, 0xf4, 0x3d, 0xdd, - 0x39, 0xad, 0xaa, 0x1f, 0xe9, 0xc1, 0xa9, 0xb7, 0xac, 0x88, 0x85, 0x1e, 0xae, 0xd1, 0xbc, 0x84, - 0xb3, 0xc8, 0xfc, 0x19, 0x39, 0x8b, 0x8a, 0xd8, 0xc5, 0xc0, 0x59, 0xcc, 0xcb, 0xc5, 0xc0, 0xf9, - 0x9d, 0x1e, 0xfa, 0x04, 0x42, 0x15, 0xb1, 0x08, 0x0d, 0x2c, 0x84, 0xe6, 0x25, 0x42, 0x03, 0xef, - 0xfc, 0x66, 0xdf, 0xec, 0xf3, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x19, 0x71, 0xac, 0xf3, 0x51, - 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/keyword_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/keyword_view.pb.go deleted file mode 100644 index a103083b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/keyword_view.pb.go +++ /dev/null @@ -1,96 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/keyword_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_7f8be4cdb6fb03af, []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 (m *KeywordView) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordView.Merge(m, 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.v2.resources.KeywordView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/keyword_view.proto", fileDescriptor_7f8be4cdb6fb03af) -} - -var fileDescriptor_7f8be4cdb6fb03af = []byte{ - // 265 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0x41, 0x4a, 0xc4, 0x30, - 0x14, 0x86, 0x69, 0x05, 0xc1, 0xaa, 0x20, 0xb3, 0x12, 0x71, 0xe1, 0x28, 0x03, 0xae, 0x12, 0x88, - 0xae, 0xe2, 0x2a, 0xb3, 0x19, 0x50, 0x90, 0x61, 0x16, 0x5d, 0x48, 0x61, 0x88, 0x93, 0x10, 0x82, - 0xd3, 0xbc, 0x92, 0x57, 0x5b, 0xbc, 0x8e, 0x4b, 0x8f, 0xe2, 0x51, 0xbc, 0x83, 0x20, 0x6d, 0x4c, - 0x70, 0xe5, 0xec, 0x7e, 0x92, 0xef, 0xff, 0xde, 0x4b, 0x8a, 0x5b, 0x03, 0x60, 0xb6, 0x9a, 0x4a, - 0x85, 0x34, 0xc4, 0x21, 0x75, 0x8c, 0x7a, 0x8d, 0xf0, 0xea, 0x37, 0x1a, 0xe9, 0x8b, 0x7e, 0xeb, - 0xc1, 0xab, 0x75, 0x67, 0x75, 0x4f, 0x1a, 0x0f, 0x2d, 0x4c, 0xa6, 0x01, 0x25, 0x52, 0x21, 0x49, - 0x2d, 0xd2, 0x31, 0x92, 0x5a, 0x67, 0xe7, 0x51, 0xdc, 0x58, 0x2a, 0x9d, 0x83, 0x56, 0xb6, 0x16, - 0x1c, 0x06, 0xc1, 0x25, 0x2b, 0x0e, 0x1f, 0x82, 0xb6, 0xb4, 0xba, 0x9f, 0x5c, 0x15, 0xc7, 0xb1, - 0xb9, 0x76, 0xb2, 0xd6, 0xa7, 0xd9, 0x45, 0x76, 0x7d, 0xb0, 0x3a, 0x8a, 0x87, 0x8f, 0xb2, 0xd6, - 0xf3, 0xef, 0xac, 0x98, 0x6d, 0xa0, 0x26, 0x3b, 0x67, 0xcf, 0x4f, 0xfe, 0xb8, 0x97, 0xc3, 0xbc, - 0x65, 0xf6, 0x74, 0xff, 0x5b, 0x33, 0xb0, 0x95, 0xce, 0x10, 0xf0, 0x86, 0x1a, 0xed, 0xc6, 0x6d, - 0xe2, 0xc3, 0x1b, 0x8b, 0xff, 0xfc, 0xc3, 0x5d, 0x4a, 0xef, 0xf9, 0xde, 0x42, 0x88, 0x8f, 0x7c, - 0xba, 0x08, 0x4a, 0xa1, 0x90, 0x84, 0x38, 0xa4, 0x92, 0x91, 0x55, 0x24, 0x3f, 0x23, 0x53, 0x09, - 0x85, 0x55, 0x62, 0xaa, 0x92, 0x55, 0x89, 0xf9, 0xca, 0x67, 0xe1, 0x82, 0x73, 0xa1, 0x90, 0xf3, - 0x44, 0x71, 0x5e, 0x32, 0xce, 0x13, 0xf7, 0xbc, 0x3f, 0x2e, 0x7b, 0xf3, 0x13, 0x00, 0x00, 0xff, - 0xff, 0x61, 0x2f, 0x00, 0xf1, 0xb3, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/label.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/label.pb.go deleted file mode 100644 index 043027e4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/label.pb.go +++ /dev/null @@ -1,147 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/label.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A label. -type Label struct { - // Name of the resource. - // Label resource names have the form: - // `customers/{customer_id}/labels/{label_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // Id of the label. Read only. - Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // The name of the label. - // - // This field is required and should not be empty when creating a new label. - // - // The length of this string should be between 1 and 80, inclusive. - Name *wrappers.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - // Status of the label. Read only. - Status enums.LabelStatusEnum_LabelStatus `protobuf:"varint,4,opt,name=status,proto3,enum=google.ads.googleads.v2.enums.LabelStatusEnum_LabelStatus" json:"status,omitempty"` - // A type of label displaying text on a colored background. - TextLabel *common.TextLabel `protobuf:"bytes,5,opt,name=text_label,json=textLabel,proto3" json:"text_label,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Label) Reset() { *m = Label{} } -func (m *Label) String() string { return proto.CompactTextString(m) } -func (*Label) ProtoMessage() {} -func (*Label) Descriptor() ([]byte, []int) { - return fileDescriptor_ff08e2c812fe9893, []int{0} -} - -func (m *Label) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Label.Unmarshal(m, b) -} -func (m *Label) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Label.Marshal(b, m, deterministic) -} -func (m *Label) XXX_Merge(src proto.Message) { - xxx_messageInfo_Label.Merge(m, src) -} -func (m *Label) XXX_Size() int { - return xxx_messageInfo_Label.Size(m) -} -func (m *Label) XXX_DiscardUnknown() { - xxx_messageInfo_Label.DiscardUnknown(m) -} - -var xxx_messageInfo_Label proto.InternalMessageInfo - -func (m *Label) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *Label) GetId() *wrappers.Int64Value { - if m != nil { - return m.Id - } - return nil -} - -func (m *Label) GetName() *wrappers.StringValue { - if m != nil { - return m.Name - } - return nil -} - -func (m *Label) GetStatus() enums.LabelStatusEnum_LabelStatus { - if m != nil { - return m.Status - } - return enums.LabelStatusEnum_UNSPECIFIED -} - -func (m *Label) GetTextLabel() *common.TextLabel { - if m != nil { - return m.TextLabel - } - return nil -} - -func init() { - proto.RegisterType((*Label)(nil), "google.ads.googleads.v2.resources.Label") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/label.proto", fileDescriptor_ff08e2c812fe9893) -} - -var fileDescriptor_ff08e2c812fe9893 = []byte{ - // 411 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x4d, 0x6b, 0xdb, 0x30, - 0x1c, 0xc6, 0xb1, 0xf3, 0x02, 0xd1, 0x5e, 0x0e, 0x3e, 0x99, 0x2c, 0x8c, 0x64, 0x23, 0x90, 0x31, - 0x26, 0x05, 0x6f, 0xec, 0xa0, 0x9d, 0x1c, 0x18, 0xd9, 0xc6, 0x18, 0xc1, 0x19, 0x3e, 0x0c, 0x43, - 0x50, 0x62, 0xcd, 0x18, 0x6c, 0xc9, 0x58, 0x72, 0x9a, 0xcf, 0xd3, 0x5b, 0xfb, 0x51, 0xfa, 0x51, - 0xfa, 0x05, 0x7a, 0x2d, 0x96, 0x2c, 0x37, 0x50, 0xdc, 0xde, 0x1e, 0x59, 0xbf, 0xe7, 0xd1, 0xff, - 0xc5, 0xe0, 0x53, 0xc2, 0x79, 0x92, 0x51, 0x44, 0x62, 0x81, 0xb4, 0xac, 0xd5, 0xd1, 0x43, 0x25, - 0x15, 0xbc, 0x2a, 0x0f, 0x54, 0xa0, 0x8c, 0xec, 0x69, 0x06, 0x8b, 0x92, 0x4b, 0xee, 0xcc, 0x34, - 0x03, 0x49, 0x2c, 0x60, 0x8b, 0xc3, 0xa3, 0x07, 0x5b, 0x7c, 0x8c, 0xba, 0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0xc0, 0x73, 0xf8, 0xec, 0xda, 0x57, 0x40, 0x19, 0x36, 0x75, 0xa3, 0x1b, 0xeb, - 0xdf, 0xaf, 0xc6, 0x90, 0xf0, 0x8c, 0xb0, 0x04, 0xf2, 0x32, 0x41, 0x09, 0x65, 0x6a, 0x0c, 0x66, - 0xc7, 0x45, 0x2a, 0x9e, 0xf8, 0xeb, 0xbe, 0xb5, 0xea, 0xd2, 0xee, 0xad, 0x7d, 0xff, 0xda, 0x9e, - 0xad, 0x75, 0xa4, 0x1f, 0x0b, 0xa8, 0x65, 0xad, 0x42, 0x0f, 0x06, 0x86, 0xbc, 0x31, 0x4c, 0xe4, - 0xc7, 0x22, 0x6a, 0x99, 0x28, 0xf4, 0xa2, 0x96, 0xb9, 0xb5, 0xe7, 0xfa, 0x02, 0x63, 0x3f, 0x16, - 0x18, 0xb7, 0x14, 0xc6, 0xa1, 0x87, 0x71, 0xcb, 0xed, 0x87, 0xaa, 0xd8, 0xcf, 0xf7, 0x01, 0x00, - 0x00, 0xff, 0xff, 0x30, 0xf5, 0xe2, 0x35, 0x21, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/landing_page_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/landing_page_view.pb.go deleted file mode 100644 index 0d801f25..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/landing_page_view.pb.go +++ /dev/null @@ -1,112 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/landing_page_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A landing page view with metrics aggregated at the unexpanded final URL -// level. -type LandingPageView struct { - // The resource name of the landing page view. - // Landing page view resource names have the form: - // - // `customers/{customer_id}/landingPageViews/{unexpanded_final_url_fingerprint}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The advertiser-specified final URL. - UnexpandedFinalUrl *wrappers.StringValue `protobuf:"bytes,2,opt,name=unexpanded_final_url,json=unexpandedFinalUrl,proto3" json:"unexpanded_final_url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LandingPageView) Reset() { *m = LandingPageView{} } -func (m *LandingPageView) String() string { return proto.CompactTextString(m) } -func (*LandingPageView) ProtoMessage() {} -func (*LandingPageView) Descriptor() ([]byte, []int) { - return fileDescriptor_902f5a0985d352f9, []int{0} -} - -func (m *LandingPageView) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LandingPageView.Unmarshal(m, b) -} -func (m *LandingPageView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LandingPageView.Marshal(b, m, deterministic) -} -func (m *LandingPageView) XXX_Merge(src proto.Message) { - xxx_messageInfo_LandingPageView.Merge(m, src) -} -func (m *LandingPageView) XXX_Size() int { - return xxx_messageInfo_LandingPageView.Size(m) -} -func (m *LandingPageView) XXX_DiscardUnknown() { - xxx_messageInfo_LandingPageView.DiscardUnknown(m) -} - -var xxx_messageInfo_LandingPageView proto.InternalMessageInfo - -func (m *LandingPageView) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *LandingPageView) GetUnexpandedFinalUrl() *wrappers.StringValue { - if m != nil { - return m.UnexpandedFinalUrl - } - return nil -} - -func init() { - proto.RegisterType((*LandingPageView)(nil), "google.ads.googleads.v2.resources.LandingPageView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/landing_page_view.proto", fileDescriptor_902f5a0985d352f9) -} - -var fileDescriptor_902f5a0985d352f9 = []byte{ - // 342 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xb1, 0x6a, 0xeb, 0x30, - 0x14, 0x86, 0xb1, 0x2f, 0x5c, 0xb8, 0xbe, 0xf7, 0x52, 0x30, 0x19, 0x42, 0x08, 0x25, 0x69, 0x09, - 0x64, 0x92, 0xc1, 0x9d, 0xaa, 0x4e, 0xce, 0xd0, 0x40, 0x29, 0x21, 0xa4, 0xd4, 0x43, 0x31, 0x98, - 0x93, 0xe8, 0x44, 0x08, 0x1c, 0xc9, 0x48, 0x76, 0xd2, 0xb5, 0x4b, 0x1f, 0xa4, 0x63, 0x1f, 0xa5, - 0x8f, 0xd2, 0xa7, 0x28, 0x8e, 0x2d, 0x15, 0x3a, 0xb4, 0xdb, 0x8f, 0xce, 0xf7, 0xff, 0xe7, 0x97, - 0x14, 0x5c, 0x72, 0xa5, 0x78, 0x81, 0x11, 0x30, 0x13, 0xb5, 0xb2, 0x51, 0xfb, 0x38, 0xd2, 0x68, - 0x54, 0xad, 0x37, 0x68, 0xa2, 0x02, 0x24, 0x13, 0x92, 0xe7, 0x25, 0x70, 0xcc, 0xf7, 0x02, 0x0f, - 0xa4, 0xd4, 0xaa, 0x52, 0xe1, 0xb8, 0xe5, 0x09, 0x30, 0x43, 0x9c, 0x95, 0xec, 0x63, 0xe2, 0xac, - 0x83, 0xd3, 0x2e, 0xfd, 0x68, 0x58, 0xd7, 0xdb, 0xe8, 0xa0, 0xa1, 0x2c, 0x51, 0x9b, 0x36, 0x62, - 0x30, 0xb4, 0xdb, 0x4b, 0x11, 0x81, 0x94, 0xaa, 0x82, 0x4a, 0x28, 0xd9, 0x4d, 0xcf, 0x9e, 0xbd, - 0xe0, 0xe4, 0x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or/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/language_constant.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/language_constant.pb.go deleted file mode 100644 index cf544ae6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/language_constant.pb.go +++ /dev/null @@ -1,141 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/language_constant.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // 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"` - // Whether the language is targetable. - Targetable *wrappers.BoolValue `protobuf:"bytes,5,opt,name=targetable,proto3" json:"targetable,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_7db6cb90de59ea00, []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 (m *LanguageConstant) XXX_Merge(src proto.Message) { - xxx_messageInfo_LanguageConstant.Merge(m, 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 (m *LanguageConstant) GetTargetable() *wrappers.BoolValue { - if m != nil { - return m.Targetable - } - return nil -} - -func init() { - proto.RegisterType((*LanguageConstant)(nil), "google.ads.googleads.v2.resources.LanguageConstant") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/language_constant.proto", fileDescriptor_7db6cb90de59ea00) -} - -var fileDescriptor_7db6cb90de59ea00 = []byte{ - // 370 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xd1, 0x4a, 0xeb, 0x30, - 0x18, 0xc7, 0x69, 0xb6, 0x73, 0xe0, 0xe4, 0x28, 0x48, 0x41, 0x28, 0x73, 0xc8, 0xa6, 0x0c, 0x06, - 0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x3d, 0x86, 0xdd, 0x44, 0x52, 0xe6, 0x75, 0x2a, 0xbc, 0xbf, - 0x81, 0xdf, 0x19, 0x95, 0x0a, 0x6e, 0xf9, 0x8a, 0x2c, 0x8d, 0xaa, 0xba, 0xfb, 0x1b, 0xa3, 0x24, - 0x5d, 0x0c, 0xa1, 0x21, 0x8a, 0x33, 0x43, 0x96, 0x19, 0xf3, 0xfe, 0x54, 0x5e, 0x6f, 0xc3, 0x9b, - 0x48, 0x99, 0x59, 0xeb, 0x13, 0x3d, 0x79, 0x02, 0x70, 0x94, 0xc8, 0x15, 0xfa, 0xf1, 0xba, 0x27, - 0xbb, 0x5f, 0x6f, 0x6b, 0x56, 0x26, 0xcf, 0x9c, 0xfb, 0xeb, 0xda, 0xe5, 0xb2, 0x7c, 0x4c, 0x24, - 0x15, 0xf7, 0x39, 0x13, 0x55, 0x6f, 0xf3, 0xea, 0x79, 0xaa, 0xbf, 0xf9, 0x09, 0x2e, 0xda, 0xe9, - 0x05, 0x74, 0xa6, 0x61, 0xf8, 0x0a, 0x86, 0x53, 0x1b, 0x19, 0x52, 0x8d, 0xec, 0x58, 0x4e, 0x51, - 0x80, 0xe6, 0x0d, 0xf9, 0xd6, 0x30, 0x71, 0x48, 0x75, 0xdc, 0x32, 0x71, 0x14, 0xc4, 0x2d, 0xf3, - 0x0e, 0x46, 0xf6, 0x00, 0xe3, 0x90, 0x6a, 0x8c, 0x5b, 0x0a, 0xe3, 0x28, 0xc0, 0xb8, 0xe5, 0x96, - 0x7f, 0xab, 0x65, 0x4f, 0x3e, 0x02, 0x00, 0x00, 0xff, 0xff, 0x2c, 0x72, 0x3c, 0x21, 0xb0, 0x02, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/location_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/location_view.pb.go deleted file mode 100644 index e586e39b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/location_view.pb.go +++ /dev/null @@ -1,97 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/location_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A location view summarizes the performance of campaigns by -// Location criteria. -type LocationView struct { - // The resource name of the location view. - // Location view resource names have the form: - // - // `customers/{customer_id}/locationViews/{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 *LocationView) Reset() { *m = LocationView{} } -func (m *LocationView) String() string { return proto.CompactTextString(m) } -func (*LocationView) ProtoMessage() {} -func (*LocationView) Descriptor() ([]byte, []int) { - return fileDescriptor_79a77b0b24891dc0, []int{0} -} - -func (m *LocationView) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LocationView.Unmarshal(m, b) -} -func (m *LocationView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LocationView.Marshal(b, m, deterministic) -} -func (m *LocationView) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocationView.Merge(m, src) -} -func (m *LocationView) XXX_Size() int { - return xxx_messageInfo_LocationView.Size(m) -} -func (m *LocationView) XXX_DiscardUnknown() { - xxx_messageInfo_LocationView.DiscardUnknown(m) -} - -var xxx_messageInfo_LocationView proto.InternalMessageInfo - -func (m *LocationView) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*LocationView)(nil), "google.ads.googleads.v2.resources.LocationView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/location_view.proto", fileDescriptor_79a77b0b24891dc0) -} - -var fileDescriptor_79a77b0b24891dc0 = []byte{ - // 264 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, 0x23, 0xfd, 0xa2, 0xd4, - 0xe2, 0xfc, 0xd2, 0xa2, 0xe4, 0xd4, 0x62, 0xfd, 0x9c, 0xfc, 0xe4, 0xc4, 0x92, 0xcc, 0xfc, 0xbc, - 0xf8, 0xb2, 0xcc, 0xd4, 0x72, 0xbd, 0x82, 0xa2, 0xfc, 0x92, 0x7c, 0x21, 0x45, 0x88, 0x5a, 0xbd, - 0xc4, 0x94, 0x62, 0x3d, 0xb8, 0x36, 0xbd, 0x32, 0x23, 0x3d, 0xb8, 0x36, 0x29, 0x19, 0x98, 0xc9, - 0x05, 0x99, 0xfa, 0x89, 0x79, 0x79, 0xf9, 0x25, 0x60, 0x43, 0x8a, 0x21, 0x06, 0x28, 0x19, 0x73, - 0xf1, 0xf8, 0x40, 0xcd, 0x0d, 0xcb, 0x4c, 0x2d, 0x17, 0x52, 0xe6, 0xe2, 0x85, 0x69, 0x8d, 0xcf, - 0x4b, 0xcc, 0x4d, 0x95, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x0c, 0xe2, 0x81, 0x09, 0xfa, 0x25, 0xe6, - 0xa6, 0x3a, 0xfd, 0x63, 0xe4, 0x52, 0x4d, 0xce, 0xcf, 0xd5, 0x23, 0x68, 0xb9, 0x93, 0x20, 0xb2, - 0xe1, 0x01, 0x20, 0x1b, 0x03, 0x18, 0xa3, 0xbc, 0xa0, 0xfa, 0xd2, 0xf3, 0x73, 0x12, 0xf3, 0xd2, - 0xf5, 0xf2, 0x8b, 0xd2, 0xf5, 0xd3, 0x53, 0xf3, 0xc0, 0xee, 0x81, 0xf9, 0xbd, 0x20, 0xb3, 0x18, - 0x4f, 0x50, 0x58, 0xc3, 0x59, 0x8b, 0x98, 0x98, 0xdd, 0x1d, 0x1d, 0x57, 0x31, 0x29, 0xba, 0x43, - 0x8c, 0x74, 0x4c, 0x29, 0xd6, 0x83, 0x30, 0x41, 0xac, 0x30, 0x23, 0xbd, 0x20, 0x98, 0xca, 0x53, - 0x30, 0x35, 0x31, 0x8e, 0x29, 0xc5, 0x31, 0x70, 0x35, 0x31, 0x61, 0x46, 0x31, 0x70, 0x35, 0xaf, - 0x98, 0x54, 0x21, 0x12, 0x56, 0x56, 0x8e, 0x29, 0xc5, 0x56, 0x56, 0x70, 0x55, 0x56, 0x56, 0x61, - 0x46, 0x56, 0x56, 0x70, 0x75, 0x49, 0x6c, 0x60, 0xc7, 0x1a, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, - 0xfd, 0x40, 0x08, 0xf0, 0xb6, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/managed_placement_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/managed_placement_view.pb.go deleted file mode 100644 index f2ff29bf..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/managed_placement_view.pb.go +++ /dev/null @@ -1,97 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/managed_placement_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_1e542ea5703b26d3, []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 (m *ManagedPlacementView) XXX_Merge(src proto.Message) { - xxx_messageInfo_ManagedPlacementView.Merge(m, 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.v2.resources.ManagedPlacementView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/managed_placement_view.proto", fileDescriptor_1e542ea5703b26d3) -} - -var fileDescriptor_1e542ea5703b26d3 = []byte{ - // 275 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0x4f, 0x4a, 0xc4, 0x30, - 0x14, 0xc6, 0x99, 0x0a, 0x82, 0x45, 0x37, 0x83, 0x0b, 0x15, 0x17, 0x8e, 0x32, 0xe0, 0x2a, 0x81, - 0xba, 0xcb, 0x80, 0xd0, 0xd9, 0x0c, 0x08, 0x4a, 0x99, 0x45, 0x17, 0x52, 0x28, 0xcf, 0xe6, 0x11, - 0x02, 0x4d, 0x5e, 0x69, 0x6a, 0xe7, 0x06, 0x1e, 0xc4, 0xa5, 0x47, 0xf1, 0x28, 0x9e, 0x42, 0x3a, - 0x31, 0x59, 0x89, 0xee, 0x3e, 0x92, 0xdf, 0xf7, 0x87, 0x97, 0xde, 0x2b, 0x22, 0xd5, 0x22, 0x07, - 0xe9, 0xb8, 0x97, 0x93, 0x1a, 0x33, 0xde, 0xa3, 0xa3, 0xd7, 0xbe, 0x41, 0xc7, 0x0d, 0x58, 0x50, - 0x28, 0xeb, 0xae, 0x85, 0x06, 0x0d, 0xda, 0xa1, 0x1e, 0x35, 0xee, 0x58, 0xd7, 0xd3, 0x40, 0xf3, - 0x85, 0x37, 0x31, 0x90, 0x8e, 0x45, 0x3f, 0x1b, 0x33, 0x16, 0xfd, 0x17, 0x97, 0xa1, 0xa2, 0xd3, - 0x1c, 0xac, 0xa5, 0x01, 0x06, 0x4d, 0xd6, 0xf9, 0x80, 0xeb, 0x55, 0x7a, 0xfa, 0xe8, 0x0b, 0x8a, - 0x90, 0x5f, 0x6a, 0xdc, 0xcd, 0x6f, 0xd2, 0x93, 0x10, 0x51, 0x5b, 0x30, 0x78, 0x36, 0xbb, 0x9a, - 0xdd, 0x1e, 0x6d, 0x8f, 0xc3, 0xe3, 0x13, 0x18, 0x5c, 0xbf, 0x25, 0xe9, 0xb2, 0x21, 0xc3, 0xfe, - 0x1d, 0xb1, 0x3e, 0xff, 0xad, 0xa4, 0x98, 0x16, 0x14, 0xb3, 0xe7, 0x87, 0x1f, 0xbf, 0xa2, 0x16, - 0xac, 0x62, 0xd4, 0x2b, 0xae, 0xd0, 0xee, 0xf7, 0x85, 0xa3, 0x74, 0xda, 0xfd, 0x71, 0xa3, 0x55, - 0x54, 0xef, 0xc9, 0xc1, 0x26, 0xcf, 0x3f, 0x92, 0xc5, 0xc6, 0x47, 0xe6, 0xd2, 0x31, 0x2f, 0x27, - 0x55, 0x66, 0x6c, 0x1b, 0xc8, 0xcf, 0xc0, 0x54, 0xb9, 0x74, 0x55, 0x64, 0xaa, 0x32, 0xab, 0x22, - 0xf3, 0x95, 0x2c, 0xfd, 0x87, 0x10, 0xb9, 0x74, 0x42, 0x44, 0x4a, 0x88, 0x32, 0x13, 0x22, 0x72, - 0x2f, 0x87, 0xfb, 0xb1, 0x77, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x66, 0x1f, 0x67, 0x2f, 0xcf, - 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/media_file.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/media_file.pb.go deleted file mode 100644 index 254b64fa..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/media_file.pb.go +++ /dev/null @@ -1,459 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/media_file.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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.v2.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.v2.enums.MimeTypeEnum_MimeType" json:"mime_type,omitempty"` - // The URL of where the original media file was downloaded from (or a file - // name). Only used for media of type AUDIO and IMAGE. - 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 - // *MediaFile_Audio - // *MediaFile_Video - 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_625a11b7599747b8, []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 (m *MediaFile) XXX_Merge(src proto.Message) { - xxx_messageInfo_MediaFile.Merge(m, 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"` -} - -type MediaFile_Audio struct { - Audio *MediaAudio `protobuf:"bytes,10,opt,name=audio,proto3,oneof"` -} - -type MediaFile_Video struct { - Video *MediaVideo `protobuf:"bytes,11,opt,name=video,proto3,oneof"` -} - -func (*MediaFile_Image) isMediaFile_Mediatype() {} - -func (*MediaFile_MediaBundle) isMediaFile_Mediatype() {} - -func (*MediaFile_Audio) isMediaFile_Mediatype() {} - -func (*MediaFile_Video) 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 -} - -func (m *MediaFile) GetAudio() *MediaAudio { - if x, ok := m.GetMediatype().(*MediaFile_Audio); ok { - return x.Audio - } - return nil -} - -func (m *MediaFile) GetVideo() *MediaVideo { - if x, ok := m.GetMediatype().(*MediaFile_Video); ok { - return x.Video - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*MediaFile) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*MediaFile_Image)(nil), - (*MediaFile_MediaBundle)(nil), - (*MediaFile_Audio)(nil), - (*MediaFile_Video)(nil), - } -} - -// 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_625a11b7599747b8, []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 (m *MediaImage) XXX_Merge(src proto.Message) { - xxx_messageInfo_MediaImage.Merge(m, 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_625a11b7599747b8, []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 (m *MediaBundle) XXX_Merge(src proto.Message) { - xxx_messageInfo_MediaBundle.Merge(m, 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 -} - -// Encapsulates an Audio. -type MediaAudio struct { - // The duration of the Audio in milliseconds. - AdDurationMillis *wrappers.Int64Value `protobuf:"bytes,1,opt,name=ad_duration_millis,json=adDurationMillis,proto3" json:"ad_duration_millis,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MediaAudio) Reset() { *m = MediaAudio{} } -func (m *MediaAudio) String() string { return proto.CompactTextString(m) } -func (*MediaAudio) ProtoMessage() {} -func (*MediaAudio) Descriptor() ([]byte, []int) { - return fileDescriptor_625a11b7599747b8, []int{3} -} - -func (m *MediaAudio) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MediaAudio.Unmarshal(m, b) -} -func (m *MediaAudio) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MediaAudio.Marshal(b, m, deterministic) -} -func (m *MediaAudio) XXX_Merge(src proto.Message) { - xxx_messageInfo_MediaAudio.Merge(m, src) -} -func (m *MediaAudio) XXX_Size() int { - return xxx_messageInfo_MediaAudio.Size(m) -} -func (m *MediaAudio) XXX_DiscardUnknown() { - xxx_messageInfo_MediaAudio.DiscardUnknown(m) -} - -var xxx_messageInfo_MediaAudio proto.InternalMessageInfo - -func (m *MediaAudio) GetAdDurationMillis() *wrappers.Int64Value { - if m != nil { - return m.AdDurationMillis - } - return nil -} - -// Encapsulates a Video. -type MediaVideo struct { - // The duration of the Video in milliseconds. - AdDurationMillis *wrappers.Int64Value `protobuf:"bytes,1,opt,name=ad_duration_millis,json=adDurationMillis,proto3" json:"ad_duration_millis,omitempty"` - // The YouTube video ID (as seen in YouTube URLs). - YoutubeVideoId *wrappers.StringValue `protobuf:"bytes,2,opt,name=youtube_video_id,json=youtubeVideoId,proto3" json:"youtube_video_id,omitempty"` - // The Advertising Digital Identification code for this video, as defined by - // the American Association of Advertising Agencies, used mainly for - // television commercials. - AdvertisingIdCode *wrappers.StringValue `protobuf:"bytes,3,opt,name=advertising_id_code,json=advertisingIdCode,proto3" json:"advertising_id_code,omitempty"` - // The Industry Standard Commercial Identifier code for this video, used - // mainly for television commercials. - IsciCode *wrappers.StringValue `protobuf:"bytes,4,opt,name=isci_code,json=isciCode,proto3" json:"isci_code,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MediaVideo) Reset() { *m = MediaVideo{} } -func (m *MediaVideo) String() string { return proto.CompactTextString(m) } -func (*MediaVideo) ProtoMessage() {} -func (*MediaVideo) Descriptor() ([]byte, []int) { - return fileDescriptor_625a11b7599747b8, []int{4} -} - -func (m *MediaVideo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MediaVideo.Unmarshal(m, b) -} -func (m *MediaVideo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MediaVideo.Marshal(b, m, deterministic) -} -func (m *MediaVideo) XXX_Merge(src proto.Message) { - xxx_messageInfo_MediaVideo.Merge(m, src) -} -func (m *MediaVideo) XXX_Size() int { - return xxx_messageInfo_MediaVideo.Size(m) -} -func (m *MediaVideo) XXX_DiscardUnknown() { - xxx_messageInfo_MediaVideo.DiscardUnknown(m) -} - -var xxx_messageInfo_MediaVideo proto.InternalMessageInfo - -func (m *MediaVideo) GetAdDurationMillis() *wrappers.Int64Value { - if m != nil { - return m.AdDurationMillis - } - return nil -} - -func (m *MediaVideo) GetYoutubeVideoId() *wrappers.StringValue { - if m != nil { - return m.YoutubeVideoId - } - return nil -} - -func (m *MediaVideo) GetAdvertisingIdCode() *wrappers.StringValue { - if m != nil { - return m.AdvertisingIdCode - } - return nil -} - -func (m *MediaVideo) GetIsciCode() *wrappers.StringValue { - if m != nil { - return m.IsciCode - } - return nil -} - -func init() { - proto.RegisterType((*MediaFile)(nil), "google.ads.googleads.v2.resources.MediaFile") - proto.RegisterType((*MediaImage)(nil), "google.ads.googleads.v2.resources.MediaImage") - proto.RegisterType((*MediaBundle)(nil), "google.ads.googleads.v2.resources.MediaBundle") - proto.RegisterType((*MediaAudio)(nil), "google.ads.googleads.v2.resources.MediaAudio") - proto.RegisterType((*MediaVideo)(nil), "google.ads.googleads.v2.resources.MediaVideo") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/media_file.proto", fileDescriptor_625a11b7599747b8) -} - -var fileDescriptor_625a11b7599747b8 = []byte{ - // 682 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x95, 0xdf, 0x6a, 0xd4, 0x4c, - 0x18, 0xc6, 0xbb, 0xe9, 0xb6, 0xdf, 0x66, 0xb6, 0x5f, 0xa9, 0xe3, 0x49, 0xa8, 0x45, 0xda, 0x95, - 0x42, 0x41, 0x3a, 0x91, 0x58, 0x8a, 0xa6, 0x28, 0x64, 0xb5, 0x7f, 0xb6, 0x58, 0xa9, 0xa9, 0xae, - 0x20, 0x0b, 0x61, 0x76, 0x67, 0x1a, 0x06, 0x92, 0x4c, 0xc8, 0x24, 0x2b, 0xdb, 0xcb, 0xf1, 0x48, - 0xbc, 0x14, 0xaf, 0xc1, 0x2b, 0xf0, 0x16, 0x3c, 0x91, 0x99, 0x4c, 0xb2, 0x0b, 0xda, 0x6e, 0x0b, - 0x9e, 0xbd, 0xd3, 0x3c, 0xcf, 0x6f, 0xde, 0xe7, 0xed, 0x9b, 0x2c, 0x70, 0x42, 0xce, 0xc3, 0x88, - 0xda, 0x98, 0x08, 0xbb, 0x2c, 0x65, 0x35, 0x76, 0xec, 0x8c, 0x0a, 0x5e, 0x64, 0x23, 0x2a, 0xec, - 0x98, 0x12, 0x86, 0x83, 0x4b, 0x16, 0x51, 0x94, 0x66, 0x3c, 0xe7, 0x70, 0xab, 0x14, 0x22, 0x4c, - 0x04, 0xaa, 0x3d, 0x68, 0xec, 0xa0, 0xda, 0xb3, 0x8e, 0xae, 0xc3, 0xd2, 0xa4, 0x88, 0x2b, 0x64, - 0x3e, 0x49, 0x35, 0x72, 0x7d, 0x77, 0x8e, 0x9e, 0xc5, 0x74, 0x56, 0xfe, 0x50, 0xcb, 0xd5, 0x69, - 0x58, 0x5c, 0xda, 0x9f, 0x33, 0x9c, 0xa6, 0x34, 0x13, 0xfa, 0xf9, 0x46, 0x85, 0x4b, 0x99, 0x8d, -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xfa, 0xde, - 0x8c, 0xba, 0x37, 0x63, 0xec, 0x91, 0x57, 0x9c, 0x50, 0xf8, 0x1c, 0x98, 0x4c, 0x8c, 0x58, 0xc9, - 0x68, 0xde, 0x82, 0xd1, 0x92, 0x72, 0x69, 0xed, 0xfe, 0x6a, 0x80, 0xed, 0x11, 0x8f, 0xe7, 0x6f, - 0x53, 0x77, 0xb5, 0xfe, 0x10, 0x9e, 0x4b, 0xe4, 0x79, 0xe3, 0xd3, 0xa9, 0x36, 0x85, 0x3c, 0xc2, - 0x49, 0x88, 0x78, 0x16, 0xda, 0x21, 0x4d, 0xd4, 0x85, 0xd5, 0xa7, 0x39, 0x65, 0xe2, 0x86, 0x1f, - 0x8c, 0x83, 0xba, 0xfa, 0x62, 0x2c, 0x1e, 0x7b, 0xde, 0x37, 0x63, 0xeb, 0xb8, 0x44, 0x7a, 0x44, - 0xa0, 0xb2, 0x94, 0x55, 0xdf, 0x41, 0x7e, 0xa5, 0xfc, 0x5e, 0x69, 0x06, 0x1e, 0x11, 0x83, 0x5a, - 0x33, 0xe8, 0x3b, 0x83, 0x5a, 0xf3, 0xd3, 0xd8, 0x2e, 0x1f, 0xb8, 0xae, 0x47, 0x84, 0xeb, 0xd6, - 0x2a, 0xd7, 0xed, 0x3b, 0xae, 0x5b, 0xeb, 0x86, 0xcb, 0xaa, 0xd9, 0xa7, 0xbf, 0x03, 0x00, 0x00, - 0xff, 0xff, 0xf2, 0x43, 0x99, 0x34, 0xdc, 0x06, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/merchant_center_link.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/merchant_center_link.pb.go deleted file mode 100644 index 7cc3fe69..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/merchant_center_link.pb.go +++ /dev/null @@ -1,137 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/merchant_center_link.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A data sharing connection, proposed or in use, -// between a Google Ads Customer and a Merchant Center account. -type MerchantCenterLink struct { - // The resource name of the merchant center link. - // Merchant center link resource names have the form: - // - // `customers/{customer_id}/merchantCenterLinks/{merchant_center_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The ID of the Merchant Center account. - // This field is readonly. - Id *wrappers.Int64Value `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` - // The name of the Merchant Center account. - // This field is readonly. - MerchantCenterAccountName *wrappers.StringValue `protobuf:"bytes,4,opt,name=merchant_center_account_name,json=merchantCenterAccountName,proto3" json:"merchant_center_account_name,omitempty"` - // The status of the link. - Status enums.MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus `protobuf:"varint,5,opt,name=status,proto3,enum=google.ads.googleads.v2.enums.MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus" json:"status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MerchantCenterLink) Reset() { *m = MerchantCenterLink{} } -func (m *MerchantCenterLink) String() string { return proto.CompactTextString(m) } -func (*MerchantCenterLink) ProtoMessage() {} -func (*MerchantCenterLink) Descriptor() ([]byte, []int) { - return fileDescriptor_7a159a5c045d8944, []int{0} -} - -func (m *MerchantCenterLink) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MerchantCenterLink.Unmarshal(m, b) -} -func (m *MerchantCenterLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MerchantCenterLink.Marshal(b, m, deterministic) -} -func (m *MerchantCenterLink) XXX_Merge(src proto.Message) { - xxx_messageInfo_MerchantCenterLink.Merge(m, src) -} -func (m *MerchantCenterLink) XXX_Size() int { - return xxx_messageInfo_MerchantCenterLink.Size(m) -} -func (m *MerchantCenterLink) XXX_DiscardUnknown() { - xxx_messageInfo_MerchantCenterLink.DiscardUnknown(m) -} - -var xxx_messageInfo_MerchantCenterLink proto.InternalMessageInfo - -func (m *MerchantCenterLink) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *MerchantCenterLink) GetId() *wrappers.Int64Value { - if m != nil { - return m.Id - } - return nil -} - -func (m *MerchantCenterLink) GetMerchantCenterAccountName() *wrappers.StringValue { - if m != nil { - return m.MerchantCenterAccountName - } - return nil -} - -func (m *MerchantCenterLink) GetStatus() enums.MerchantCenterLinkStatusEnum_MerchantCenterLinkStatus { - if m != nil { - return m.Status - } - return enums.MerchantCenterLinkStatusEnum_UNSPECIFIED -} - -func init() { - proto.RegisterType((*MerchantCenterLink)(nil), "google.ads.googleads.v2.resources.MerchantCenterLink") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/merchant_center_link.proto", fileDescriptor_7a159a5c045d8944) -} - -var fileDescriptor_7a159a5c045d8944 = []byte{ - // 409 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xcf, 0x6a, 0xdb, 0x30, - 0x18, 0xc7, 0xce, 0x16, 0x98, 0xf7, 0xe7, 0xe0, 0xcb, 0xb2, 0x2c, 0x8c, 0x64, 0x23, 0x10, 0x18, - 0xc8, 0xe0, 0x8d, 0x1d, 0xb4, 0xc1, 0x70, 0xc6, 0x08, 0x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00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/mobile_app_category_constant.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/mobile_app_category_constant.pb.go deleted file mode 100644 index 260c3d1a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/mobile_app_category_constant.pb.go +++ /dev/null @@ -1,120 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/mobile_app_category_constant.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A mobile application category constant. -type MobileAppCategoryConstant struct { - // The resource name of the mobile app category constant. - // Mobile app category constant resource names have the form: - // - // `mobileAppCategoryConstants/{mobile_app_category_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The ID of the mobile app category constant. - Id *wrappers.Int32Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // Mobile app category name. - Name *wrappers.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MobileAppCategoryConstant) Reset() { *m = MobileAppCategoryConstant{} } -func (m *MobileAppCategoryConstant) String() string { return proto.CompactTextString(m) } -func (*MobileAppCategoryConstant) ProtoMessage() {} -func (*MobileAppCategoryConstant) Descriptor() ([]byte, []int) { - return fileDescriptor_8fad794294b415b1, []int{0} -} - -func (m *MobileAppCategoryConstant) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MobileAppCategoryConstant.Unmarshal(m, b) -} -func (m *MobileAppCategoryConstant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MobileAppCategoryConstant.Marshal(b, m, deterministic) -} -func (m *MobileAppCategoryConstant) XXX_Merge(src proto.Message) { - xxx_messageInfo_MobileAppCategoryConstant.Merge(m, src) -} -func (m *MobileAppCategoryConstant) XXX_Size() int { - return xxx_messageInfo_MobileAppCategoryConstant.Size(m) -} -func (m *MobileAppCategoryConstant) XXX_DiscardUnknown() { - xxx_messageInfo_MobileAppCategoryConstant.DiscardUnknown(m) -} - -var xxx_messageInfo_MobileAppCategoryConstant proto.InternalMessageInfo - -func (m *MobileAppCategoryConstant) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *MobileAppCategoryConstant) GetId() *wrappers.Int32Value { - if m != nil { - return m.Id - } - return nil -} - -func (m *MobileAppCategoryConstant) GetName() *wrappers.StringValue { - if m != nil { - return m.Name - } - return nil -} - -func init() { - proto.RegisterType((*MobileAppCategoryConstant)(nil), "google.ads.googleads.v2.resources.MobileAppCategoryConstant") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/mobile_app_category_constant.proto", fileDescriptor_8fad794294b415b1) -} - -var fileDescriptor_8fad794294b415b1 = []byte{ - // 348 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xc1, 0x4a, 0xc3, 0x30, - 0x18, 0xc7, 0x69, 0x27, 0x82, 0x55, 0x2f, 0x3d, 0xcd, 0x39, 0xc6, 0xa6, 0x0c, 0x06, 0x42, 0x2a, - 0xdd, 0x2d, 0x9e, 0xba, 0x09, 0x43, 0x41, 0x19, 0x13, 0x7a, 0x90, 0x42, 0xc9, 0xda, 0x18, 0x0a, - 0x6d, 0x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0x3f, 0xf0, 0x07, 0x25, 0x2a, 0x4a, 0x0c, 0xaf, - 0xc9, 0xd9, 0xab, 0x1f, 0x8c, 0x0b, 0xd6, 0x80, 0x7f, 0x5f, 0x62, 0x36, 0xf8, 0xf5, 0x47, 0x96, - 0xbb, 0xfa, 0xa5, 0xf7, 0x78, 0xdb, 0x96, 0x10, 0x56, 0x23, 0x4a, 0x00, 0x13, 0x24, 0x22, 0x98, - 0xea, 0xe1, 0x76, 0x49, 0xbc, 0x92, 0x7f, 0xec, 0xec, 0xca, 0xa5, 0x77, 0xbf, 0xb3, 0x48, 0x92, - 0x0f, 0x7f, 0xb4, 0x30, 0x95, 0x49, 0x29, 0x81, 0x89, 0xbb, 0x94, 0xc6, 0x60, 0x65, 0xc9, 0x4f, - 0xcb, 0x64, 0x49, 0x29, 0x33, 0xc7, 0x64, 0x69, 0x9c, 0x39, 0xe6, 0xcb, 0x1f, 0x9b, 0x03, 0x08, - 0x93, 0x52, 0x42, 0xe8, 0x28, 0x08, 0xd3, 0x18, 0x42, 0xc7, 0xad, 0xf7, 0xb5, 0xec, 0xf4, 0x3b, - 0x00, 0x00, 0xff, 0xff, 0xe8, 0x9a, 0x16, 0x12, 0x5f, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/mobile_device_constant.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/mobile_device_constant.pb.go deleted file mode 100644 index bb9363a8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/mobile_device_constant.pb.go +++ /dev/null @@ -1,154 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/mobile_device_constant.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A mobile device constant. -type MobileDeviceConstant struct { - // The resource name of the mobile device constant. - // Mobile device constant resource names have the form: - // - // `mobileDeviceConstants/{criterion_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The ID of the mobile device constant. - Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // The name of the mobile device. - Name *wrappers.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - // The manufacturer of the mobile device. - ManufacturerName *wrappers.StringValue `protobuf:"bytes,4,opt,name=manufacturer_name,json=manufacturerName,proto3" json:"manufacturer_name,omitempty"` - // The operating system of the mobile device. - OperatingSystemName *wrappers.StringValue `protobuf:"bytes,5,opt,name=operating_system_name,json=operatingSystemName,proto3" json:"operating_system_name,omitempty"` - // The type of mobile device. - Type enums.MobileDeviceTypeEnum_MobileDeviceType `protobuf:"varint,6,opt,name=type,proto3,enum=google.ads.googleads.v2.enums.MobileDeviceTypeEnum_MobileDeviceType" json:"type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MobileDeviceConstant) Reset() { *m = MobileDeviceConstant{} } -func (m *MobileDeviceConstant) String() string { return proto.CompactTextString(m) } -func (*MobileDeviceConstant) ProtoMessage() {} -func (*MobileDeviceConstant) Descriptor() ([]byte, []int) { - return fileDescriptor_fd7b28684cab8625, []int{0} -} - -func (m *MobileDeviceConstant) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MobileDeviceConstant.Unmarshal(m, b) -} -func (m *MobileDeviceConstant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MobileDeviceConstant.Marshal(b, m, deterministic) -} -func (m *MobileDeviceConstant) XXX_Merge(src proto.Message) { - xxx_messageInfo_MobileDeviceConstant.Merge(m, src) -} -func (m *MobileDeviceConstant) XXX_Size() int { - return xxx_messageInfo_MobileDeviceConstant.Size(m) -} -func (m *MobileDeviceConstant) XXX_DiscardUnknown() { - xxx_messageInfo_MobileDeviceConstant.DiscardUnknown(m) -} - -var xxx_messageInfo_MobileDeviceConstant proto.InternalMessageInfo - -func (m *MobileDeviceConstant) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *MobileDeviceConstant) GetId() *wrappers.Int64Value { - if m != nil { - return m.Id - } - return nil -} - -func (m *MobileDeviceConstant) GetName() *wrappers.StringValue { - if m != nil { - return m.Name - } - return nil -} - -func (m *MobileDeviceConstant) GetManufacturerName() *wrappers.StringValue { - if m != nil { - return m.ManufacturerName - } - return nil -} - -func (m *MobileDeviceConstant) GetOperatingSystemName() *wrappers.StringValue { - if m != nil { - return m.OperatingSystemName - } - return nil -} - -func (m *MobileDeviceConstant) GetType() enums.MobileDeviceTypeEnum_MobileDeviceType { - if m != nil { - return m.Type - } - return enums.MobileDeviceTypeEnum_UNSPECIFIED -} - -func init() { - proto.RegisterType((*MobileDeviceConstant)(nil), "google.ads.googleads.v2.resources.MobileDeviceConstant") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/mobile_device_constant.proto", fileDescriptor_fd7b28684cab8625) -} - -var fileDescriptor_fd7b28684cab8625 = []byte{ - // 447 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xdf, 0x6a, 0x13, 0x41, - 0x14, 0xc6, 0xd9, 0x4d, 0x2c, 0x38, 0xfe, 0x41, 0x57, 0x85, 0x58, 0x8b, 0xa4, 0x4a, 0x21, 0x20, - 0xcc, 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 0xa4, 0x53, 0xfe, 0xec, - 0x34, 0xb3, 0x8a, 0xda, 0x59, 0xd4, 0xcc, 0xa6, 0xc5, 0x2c, 0x6a, 0x7e, 0xa5, 0x07, 0xa1, 0x51, - 0x96, 0x15, 0xb5, 0x65, 0x19, 0x55, 0x65, 0x39, 0x2d, 0xca, 0x32, 0xea, 0x16, 0x3b, 0x3e, 0xec, - 0x8b, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xb6, 0x6c, 0xde, 0x8c, 0x7e, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/mutate_job.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/mutate_job.pb.go deleted file mode 100644 index 93c4607f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/mutate_job.pb.go +++ /dev/null @@ -1,250 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/mutate_job.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A list of mutates being processed asynchronously. The mutates are uploaded -// by the user. The mutates themselves aren’t readable and the results of the -// job can only be read using MutateJobService.ListMutateJobResults. -type MutateJob struct { - // The resource name of the mutate job. - // Mutate job resource names have the form: - // - // `customers/{customer_id}/mutateJobs/{mutate_job_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // ID of this mutate job. - Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // The next sequence token to use when adding operations. Only set when the - // mutate job status is PENDING. - NextAddSequenceToken *wrappers.StringValue `protobuf:"bytes,3,opt,name=next_add_sequence_token,json=nextAddSequenceToken,proto3" json:"next_add_sequence_token,omitempty"` - // Contains additional information about this mutate job. - Metadata *MutateJob_MutateJobMetadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` - // Status of this mutate job. - Status enums.MutateJobStatusEnum_MutateJobStatus `protobuf:"varint,5,opt,name=status,proto3,enum=google.ads.googleads.v2.enums.MutateJobStatusEnum_MutateJobStatus" json:"status,omitempty"` - // The resource name of the long-running operation that can be used to poll - // for completion. Only set when the mutate job status is RUNNING or DONE. - LongRunningOperation *wrappers.StringValue `protobuf:"bytes,6,opt,name=long_running_operation,json=longRunningOperation,proto3" json:"long_running_operation,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateJob) Reset() { *m = MutateJob{} } -func (m *MutateJob) String() string { return proto.CompactTextString(m) } -func (*MutateJob) ProtoMessage() {} -func (*MutateJob) Descriptor() ([]byte, []int) { - return fileDescriptor_8b00c4276f3d9f90, []int{0} -} - -func (m *MutateJob) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateJob.Unmarshal(m, b) -} -func (m *MutateJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateJob.Marshal(b, m, deterministic) -} -func (m *MutateJob) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateJob.Merge(m, src) -} -func (m *MutateJob) XXX_Size() int { - return xxx_messageInfo_MutateJob.Size(m) -} -func (m *MutateJob) XXX_DiscardUnknown() { - xxx_messageInfo_MutateJob.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateJob proto.InternalMessageInfo - -func (m *MutateJob) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *MutateJob) GetId() *wrappers.Int64Value { - if m != nil { - return m.Id - } - return nil -} - -func (m *MutateJob) GetNextAddSequenceToken() *wrappers.StringValue { - if m != nil { - return m.NextAddSequenceToken - } - return nil -} - -func (m *MutateJob) GetMetadata() *MutateJob_MutateJobMetadata { - if m != nil { - return m.Metadata - } - return nil -} - -func (m *MutateJob) GetStatus() enums.MutateJobStatusEnum_MutateJobStatus { - if m != nil { - return m.Status - } - return enums.MutateJobStatusEnum_UNSPECIFIED -} - -func (m *MutateJob) GetLongRunningOperation() *wrappers.StringValue { - if m != nil { - return m.LongRunningOperation - } - return nil -} - -// Additional information about the mutate job. This message is also used as -// metadata returned in mutate job Long Running Operations. -type MutateJob_MutateJobMetadata struct { - // The time when this mutate job was created. - // Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:00" - CreationDateTime *wrappers.StringValue `protobuf:"bytes,1,opt,name=creation_date_time,json=creationDateTime,proto3" json:"creation_date_time,omitempty"` - // The time when this mutate job was completed. - // Formatted as yyyy-MM-dd HH:mm:ss. Example: "2018-03-05 09:16:00" - CompletionDateTime *wrappers.StringValue `protobuf:"bytes,2,opt,name=completion_date_time,json=completionDateTime,proto3" json:"completion_date_time,omitempty"` - // The fraction (between 0.0 and 1.0) of mutates that have been processed. - // This is empty if the job hasn't started running yet. - EstimatedCompletionRatio *wrappers.DoubleValue `protobuf:"bytes,3,opt,name=estimated_completion_ratio,json=estimatedCompletionRatio,proto3" json:"estimated_completion_ratio,omitempty"` - // The number of mutate operations in the mutate job. - OperationCount *wrappers.Int64Value `protobuf:"bytes,4,opt,name=operation_count,json=operationCount,proto3" json:"operation_count,omitempty"` - // The number of mutate operations executed by the mutate job. - // Present only if the job has started running. - ExecutedOperationCount *wrappers.Int64Value `protobuf:"bytes,5,opt,name=executed_operation_count,json=executedOperationCount,proto3" json:"executed_operation_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateJob_MutateJobMetadata) Reset() { *m = MutateJob_MutateJobMetadata{} } -func (m *MutateJob_MutateJobMetadata) String() string { return proto.CompactTextString(m) } -func (*MutateJob_MutateJobMetadata) ProtoMessage() {} -func (*MutateJob_MutateJobMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_8b00c4276f3d9f90, []int{0, 0} -} - -func (m *MutateJob_MutateJobMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateJob_MutateJobMetadata.Unmarshal(m, b) -} -func (m *MutateJob_MutateJobMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateJob_MutateJobMetadata.Marshal(b, m, deterministic) -} -func (m *MutateJob_MutateJobMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateJob_MutateJobMetadata.Merge(m, src) -} -func (m *MutateJob_MutateJobMetadata) XXX_Size() int { - return xxx_messageInfo_MutateJob_MutateJobMetadata.Size(m) -} -func (m *MutateJob_MutateJobMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_MutateJob_MutateJobMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateJob_MutateJobMetadata proto.InternalMessageInfo - -func (m *MutateJob_MutateJobMetadata) GetCreationDateTime() *wrappers.StringValue { - if m != nil { - return m.CreationDateTime - } - return nil -} - -func (m *MutateJob_MutateJobMetadata) GetCompletionDateTime() *wrappers.StringValue { - if m != nil { - return m.CompletionDateTime - } - return nil -} - -func (m *MutateJob_MutateJobMetadata) GetEstimatedCompletionRatio() *wrappers.DoubleValue { - if m != nil { - return m.EstimatedCompletionRatio - } - return nil -} - -func (m *MutateJob_MutateJobMetadata) GetOperationCount() *wrappers.Int64Value { - if m != nil { - return m.OperationCount - } - return nil -} - -func (m *MutateJob_MutateJobMetadata) GetExecutedOperationCount() *wrappers.Int64Value { - if m != nil { - return m.ExecutedOperationCount - } - return nil -} - -func init() { - proto.RegisterType((*MutateJob)(nil), "google.ads.googleads.v2.resources.MutateJob") - proto.RegisterType((*MutateJob_MutateJobMetadata)(nil), "google.ads.googleads.v2.resources.MutateJob.MutateJobMetadata") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/mutate_job.proto", fileDescriptor_8b00c4276f3d9f90) -} - -var fileDescriptor_8b00c4276f3d9f90 = []byte{ - // 580 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0xdd, 0x6a, 0xd4, 0x4c, - 0x18, 0xc7, 0x49, 0xfa, 0x76, 0x79, 0x3b, 0x6a, 0xd5, 0xa1, 0xd4, 0xb0, 0x16, 0x69, 0x95, 0x42, - 0x41, 0x98, 0x40, 0xfc, 0x38, 0x88, 0x20, 0xa4, 0xad, 0x14, 0x17, 0xfa, 0x41, 0xb6, 0xee, 0xc1, - 0xb2, 0x10, 0x66, 0x33, 0x8f, 0x21, 0x9a, 0xcc, 0xc4, 0xcc, 0x4c, 0xed, 0xf5, 0x78, 0x24, 0x5e, - 0x8a, 0x77, 0xa2, 0xb7, 0xe0, 0x89, 0xe4, 0x6b, 0xb6, 0x6e, 0xd9, 0x6e, 0xcf, 0x9e, 0x64, 0xfe, - 0xbf, 0xdf, 0x7c, 0x3d, 0x0c, 0xf2, 0x12, 0x21, 0x92, 0x0c, 0x5c, 0xca, 0xa4, 0xdb, 0x94, 0x55, - 0x75, 0xe1, 0xb9, 0x25, 0x48, 0xa1, 0xcb, 0x18, 0xa4, 0x9b, 0x6b, 0x45, 0x15, 0x44, 0x9f, 0xc4, - 0x94, 0x14, 0xa5, 0x50, 0x02, 0xef, 0x34, 0x41, 0x42, 0x99, 0x24, 0x86, 0x21, 0x17, 0x1e, 0x31, - 0x4c, 0xff, 0xd5, 0x22, 0x2d, 0x70, 0x9d, 0x5f, 0x55, 0x46, 0x52, 0x51, 0xa5, 0x65, 0x63, 0xee, - 0x3f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 0x37, 0x7b, - 0xe5, 0x28, 0x08, 0x7e, 0xd8, 0x3b, 0x47, 0x8d, 0x32, 0x60, 0x92, 0x34, 0x65, 0x55, 0x8d, 0x3c, - 0x12, 0x76, 0xc9, 0x9f, 0x5d, 0x66, 0x12, 0x30, 0x39, 0x31, 0x99, 0xc9, 0xc8, 0x9b, 0x98, 0xcc, - 0x6f, 0x7b, 0xb7, 0x19, 0xf0, 0xfd, 0x80, 0x49, 0xdf, 0x37, 0x29, 0xdf, 0x1f, 0x79, 0xbe, 0x6f, - 0x72, 0xd3, 0x5e, 0xbd, 0xd8, 0x17, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x05, 0x44, 0x98, 0x06, - 0x3e, 0x05, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/operating_system_version_constant.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/operating_system_version_constant.pb.go deleted file mode 100644 index 97210aa0..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/operating_system_version_constant.pb.go +++ /dev/null @@ -1,158 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/operating_system_version_constant.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A mobile operating system version or a range of versions, depending on -// `operator_type`. List of available mobile platforms at -// https://developers.google.com/adwords/api/docs/appendix/codes-formats#mobile-platforms -type OperatingSystemVersionConstant struct { - // The resource name of the operating system version constant. - // Operating system version constant resource names have the form: - // - // `operatingSystemVersionConstants/{criterion_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The ID of the operating system version. - Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // Name of the operating system. - Name *wrappers.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - // The OS Major Version number. - OsMajorVersion *wrappers.Int32Value `protobuf:"bytes,4,opt,name=os_major_version,json=osMajorVersion,proto3" json:"os_major_version,omitempty"` - // The OS Minor Version number. - OsMinorVersion *wrappers.Int32Value `protobuf:"bytes,5,opt,name=os_minor_version,json=osMinorVersion,proto3" json:"os_minor_version,omitempty"` - // Determines whether this constant represents a single version or a range of - // versions. - OperatorType enums.OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType `protobuf:"varint,6,opt,name=operator_type,json=operatorType,proto3,enum=google.ads.googleads.v2.enums.OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType" json:"operator_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OperatingSystemVersionConstant) Reset() { *m = OperatingSystemVersionConstant{} } -func (m *OperatingSystemVersionConstant) String() string { return proto.CompactTextString(m) } -func (*OperatingSystemVersionConstant) ProtoMessage() {} -func (*OperatingSystemVersionConstant) Descriptor() ([]byte, []int) { - return fileDescriptor_fc4e1bfff4c9e1bd, []int{0} -} - -func (m *OperatingSystemVersionConstant) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OperatingSystemVersionConstant.Unmarshal(m, b) -} -func (m *OperatingSystemVersionConstant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OperatingSystemVersionConstant.Marshal(b, m, deterministic) -} -func (m *OperatingSystemVersionConstant) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperatingSystemVersionConstant.Merge(m, src) -} -func (m *OperatingSystemVersionConstant) XXX_Size() int { - return xxx_messageInfo_OperatingSystemVersionConstant.Size(m) -} -func (m *OperatingSystemVersionConstant) XXX_DiscardUnknown() { - xxx_messageInfo_OperatingSystemVersionConstant.DiscardUnknown(m) -} - -var xxx_messageInfo_OperatingSystemVersionConstant proto.InternalMessageInfo - -func (m *OperatingSystemVersionConstant) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *OperatingSystemVersionConstant) GetId() *wrappers.Int64Value { - if m != nil { - return m.Id - } - return nil -} - -func (m *OperatingSystemVersionConstant) GetName() *wrappers.StringValue { - if m != nil { - return m.Name - } - return nil -} - -func (m *OperatingSystemVersionConstant) GetOsMajorVersion() *wrappers.Int32Value { - if m != nil { - return m.OsMajorVersion - } - return nil -} - -func (m *OperatingSystemVersionConstant) GetOsMinorVersion() *wrappers.Int32Value { - if m != nil { - return m.OsMinorVersion - } - return nil -} - -func (m *OperatingSystemVersionConstant) GetOperatorType() enums.OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType { - if m != nil { - return m.OperatorType - } - return enums.OperatingSystemVersionOperatorTypeEnum_UNSPECIFIED -} - -func init() { - proto.RegisterType((*OperatingSystemVersionConstant)(nil), "google.ads.googleads.v2.resources.OperatingSystemVersionConstant") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/operating_system_version_constant.proto", fileDescriptor_fc4e1bfff4c9e1bd) -} - -var fileDescriptor_fc4e1bfff4c9e1bd = []byte{ - // 458 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xdf, 0x6a, 0xd4, 0x40, - 0x14, 0xc6, 0x49, 0xb6, 0x16, 0x8c, 0x6d, 0x91, 0x5c, 0x2d, 0xb5, 0x94, 0xad, 0xa5, 0xb0, 0x20, - 0x4c, 0x24, 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0b, 0x27, - 0x59, 0xd4, 0x1a, 0xb9, 0xb0, 0x8b, 0xca, 0x1c, 0x4d, 0x02, 0xf9, 0x2b, 0x30, 0xd3, 0xa2, 0xd6, - 0xd3, 0x9e, 0x99, 0x96, 0xf9, 0xb4, 0x67, 0x7e, 0xc7, 0x27, 0x2e, 0x81, 0x71, 0x51, 0x6b, 0x8c, - 0x7b, 0x0a, 0xe3, 0x32, 0xc7, 0xb8, 0xe7, 0x6e, 0xb7, 0xed, 0x65, 0x4f, 0xff, 0x04, 0x00, 0x00, - 0xff, 0xff, 0x97, 0x74, 0x3e, 0x7b, 0xd8, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/paid_organic_search_term_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/paid_organic_search_term_view.pb.go deleted file mode 100644 index 5ebb4bb1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/paid_organic_search_term_view.pb.go +++ /dev/null @@ -1,112 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/paid_organic_search_term_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A paid organic search term view providing a view of search stats across -// ads and organic listings aggregated by search term at the ad group level. -type PaidOrganicSearchTermView struct { - // The resource name of the search term view. - // Search term view resource names have the form: - // - // `customers/{customer_id}/paidOrganicSearchTermViews/{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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PaidOrganicSearchTermView) Reset() { *m = PaidOrganicSearchTermView{} } -func (m *PaidOrganicSearchTermView) String() string { return proto.CompactTextString(m) } -func (*PaidOrganicSearchTermView) ProtoMessage() {} -func (*PaidOrganicSearchTermView) Descriptor() ([]byte, []int) { - return fileDescriptor_0f3b8dd180b5aad4, []int{0} -} - -func (m *PaidOrganicSearchTermView) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PaidOrganicSearchTermView.Unmarshal(m, b) -} -func (m *PaidOrganicSearchTermView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PaidOrganicSearchTermView.Marshal(b, m, deterministic) -} -func (m *PaidOrganicSearchTermView) XXX_Merge(src proto.Message) { - xxx_messageInfo_PaidOrganicSearchTermView.Merge(m, src) -} -func (m *PaidOrganicSearchTermView) XXX_Size() int { - return xxx_messageInfo_PaidOrganicSearchTermView.Size(m) -} -func (m *PaidOrganicSearchTermView) XXX_DiscardUnknown() { - xxx_messageInfo_PaidOrganicSearchTermView.DiscardUnknown(m) -} - -var xxx_messageInfo_PaidOrganicSearchTermView proto.InternalMessageInfo - -func (m *PaidOrganicSearchTermView) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *PaidOrganicSearchTermView) GetSearchTerm() *wrappers.StringValue { - if m != nil { - return m.SearchTerm - } - return nil -} - -func init() { - proto.RegisterType((*PaidOrganicSearchTermView)(nil), "google.ads.googleads.v2.resources.PaidOrganicSearchTermView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/paid_organic_search_term_view.proto", fileDescriptor_0f3b8dd180b5aad4) -} - -var fileDescriptor_0f3b8dd180b5aad4 = []byte{ - // 336 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xc1, 0x4a, 0xc3, 0x30, - 0x18, 0xc7, 0x69, 0x05, 0xc1, 0x4e, 0x2f, 0x3b, 0xcd, 0x31, 0xc6, 0xa6, 0x0c, 0x76, 0x4a, 0xa0, - 0xde, 0x22, 0x1e, 0x3a, 0x90, 0x81, 0x07, 0x1d, 0x9b, 0xf4, 0x20, 0x85, 0x92, 0x35, 0x9f, 0x31, - 0xb0, 0x26, 0x25, 0xe9, 0xb6, 0xa3, 0x0f, 0xe0, 0x5b, 0x78, 0xf4, 0x51, 0x7c, 0x14, 0x9f, 0x42, - 0xd6, 0x34, 0xc1, 0x8b, 0x7a, 0xfb, 0x93, 0xef, 0xff, 0xfd, 0xff, 0xbf, 0xf0, 0x45, 0xb7, 0x5c, - 0x29, 0xbe, 0x01, 0x4c, 0x99, 0xc1, 0x56, 0x1e, 0xd4, 0x2e, 0xc6, 0x1a, 0x8c, 0xda, 0xea, 0x02, - 0x0c, 0xae, 0xa8, 0x60, 0xb9, 0xd2, 0x9c, 0x4a, 0x51, 0xe4, 0x06, 0xa8, 0x2e, 0x5e, 0xf2, 0x1a, - 0x74, 0x99, 0xef, 0x04, 0xec, 0x51, 0xa5, 0x55, 0xad, 0xba, 0x63, 0xbb, 0x8b, 0x28, 0x33, 0xc8, - 0xc7, 0xa0, 0x5d, 0x8c, 0x7c, 0x4c, 0x7f, 0xd8, 0x36, 0x35, 0x0b, 0xeb, 0xed, 0x33, 0xde, 0x6b, - 0x5a, 0x55, 0xa0, 0x8d, 0x8d, 0xe8, 0x0f, 0x1c, 0x49, 0x25, 0x30, 0x95, 0x52, 0xd5, 0xb4, 0x16, - 0x4a, 0xb6, 0xd3, 0x8b, 0xd7, 0xe8, 0x7c, 0x41, 0x05, 0x7b, 0xb0, 0x18, 0xab, 0x86, 0xe2, 0x11, - 0x74, 0x99, 0x0a, 0xd8, 0x77, 0x2f, 0xa3, 0x33, 0xd7, 0x93, 0x4b, 0x5a, 0x42, 0x2f, 0x18, 0x05, - 0xd3, 0x93, 0xe5, 0xa9, 0x7b, 0xbc, 0xa7, 0x25, 0x74, 0x6f, 0xa2, 0xce, 0x0f, 0xf8, 0x5e, 0x38, - 0x0a, 0xa6, 0x9d, 0x78, 0xd0, 0xd2, 0x22, 0x47, 0x85, 0x56, 0xb5, 0x16, 0x92, 0xa7, 0x74, 0xb3, - 0x85, 0x65, 0x64, 0x7c, 0xcf, 0xec, 0x2d, 0x8c, 0x26, 0x85, 0x2a, 0xd1, 0xbf, 0x1f, 0x9d, 0x0d, - 0x7f, 0x05, 0x5d, 0x1c, 0x4a, 0x16, 0xc1, 0xd3, 0x5d, 0x1b, 0xc2, 0xd5, 0x86, 0x4a, 0x8e, 0x94, - 0xe6, 0x98, 0x83, 0x6c, 0x10, 0xdc, 0x11, 0x2a, 0x61, 0xfe, 0xb8, 0xc9, 0xb5, 0x57, 0xef, 0xe1, - 0xd1, 0x3c, 0x49, 0x3e, 0xc2, 0xf1, 0xdc, 0x46, 0x26, 0xcc, 0x20, 0x2b, 0x0f, 0x2a, 0x8d, 0xd1, - 0xd2, 0x39, 0x3f, 0x9d, 0x27, 0x4b, 0x98, 0xc9, 0xbc, 0x27, 0x4b, 0xe3, 0xcc, 0x7b, 0xbe, 0xc2, - 0x89, 0x1d, 0x10, 0x92, 0x30, 0x43, 0x88, 0x77, 0x11, 0x92, 0xc6, 0x84, 0x78, 0xdf, 0xfa, 0xb8, - 0x81, 0xbd, 0xfa, 0x0e, 0x00, 0x00, 0xff, 0xff, 0xa6, 0xe0, 0x5e, 0x93, 0x3f, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/parental_status_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/parental_status_view.pb.go deleted file mode 100644 index 945dc4c4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/parental_status_view.pb.go +++ /dev/null @@ -1,97 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/parental_status_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_2e09dc8152a52e11, []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 (m *ParentalStatusView) XXX_Merge(src proto.Message) { - xxx_messageInfo_ParentalStatusView.Merge(m, 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.v2.resources.ParentalStatusView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/parental_status_view.proto", fileDescriptor_2e09dc8152a52e11) -} - -var fileDescriptor_2e09dc8152a52e11 = []byte{ - // 275 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0xcf, 0x4a, 0xec, 0x30, - 0x14, 0xc6, 0x69, 0x2f, 0x5c, 0xb0, 0xe8, 0xa6, 0x1b, 0x45, 0x5c, 0x38, 0xca, 0x80, 0xab, 0x04, - 0xea, 0xca, 0xe8, 0xa6, 0xb3, 0x19, 0x70, 0x21, 0x65, 0x84, 0x2e, 0xa4, 0x50, 0x8e, 0xd3, 0x10, - 0x0a, 0x6d, 0x4e, 0xc9, 0xc9, 0x74, 0x5e, 0xc0, 0x27, 0x71, 0xe9, 0xa3, 0xf8, 0x28, 0x3e, 0x85, - 0xb4, 0x99, 0x64, 0x23, 0xe8, 0xee, 0x23, 0xf9, 0x7d, 0x7f, 0x38, 0xc9, 0x83, 0x42, 0x54, 0x9d, - 0xe4, 0xd0, 0x10, 0x77, 0x72, 0x52, 0x63, 0xc6, 0x8d, 0x24, 0xdc, 0x99, 0xad, 0x24, 0x3e, 0x80, - 0x91, 0xda, 0x42, 0x57, 0x93, 0x05, 0xbb, 0xa3, 0x7a, 0x6c, 0xe5, 0x9e, 0x0d, 0x06, 0x2d, 0xa6, - 0x0b, 0x67, 0x61, 0xd0, 0x10, 0x0b, 0x6e, 0x36, 0x66, 0x2c, 0xb8, 0xcf, 0x2f, 0x7c, 0xc1, 0xd0, - 0x72, 0xd0, 0x1a, 0x2d, 0xd8, 0x16, 0x35, 0xb9, 0x80, 0xab, 0xbb, 0x24, 0x2d, 0x0e, 0xf1, 0xcf, - 0x73, 0x7a, 0xd9, 0xca, 0x7d, 0x7a, 0x9d, 0x9c, 0xf8, 0x80, 0x5a, 0x43, 0x2f, 0xcf, 0xa2, 0xcb, - 0xe8, 0xe6, 0x68, 0x73, 0xec, 0x1f, 0x9f, 0xa0, 0x97, 0xab, 0xb7, 0x38, 0x59, 0x6e, 0xb1, 0x67, - 0x7f, 0x4e, 0x58, 0x9d, 0xfe, 0xac, 0x28, 0xa6, 0xf6, 0x22, 0x7a, 0x79, 0x3c, 0xb8, 0x15, 0x76, - 0xa0, 0x15, 0x43, 0xa3, 0xb8, 0x92, 0x7a, 0xde, 0xe6, 0xcf, 0x31, 0xb4, 0xf4, 0xcb, 0x75, 0xee, - 0x83, 0x7a, 0x8f, 0xff, 0xad, 0xf3, 0xfc, 0x23, 0x5e, 0xac, 0x5d, 0x64, 0xde, 0x10, 0x73, 0x72, - 0x52, 0x65, 0xc6, 0x36, 0x9e, 0xfc, 0xf4, 0x4c, 0x95, 0x37, 0x54, 0x05, 0xa6, 0x2a, 0xb3, 0x2a, - 0x30, 0x5f, 0xf1, 0xd2, 0x7d, 0x08, 0x91, 0x37, 0x24, 0x44, 0xa0, 0x84, 0x28, 0x33, 0x21, 0x02, - 0xf7, 0xfa, 0x7f, 0x1e, 0x7b, 0xfb, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x5a, 0x8a, 0x6a, 0x2a, 0xc9, - 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/payments_account.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/payments_account.pb.go deleted file mode 100644 index 58a342a8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/payments_account.pb.go +++ /dev/null @@ -1,154 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/payments_account.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // 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_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_34c461c9d9699366, []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 (m *PaymentsAccount) XXX_Merge(src proto.Message) { - xxx_messageInfo_PaymentsAccount.Merge(m, 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.v2.resources.PaymentsAccount") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/payments_account.proto", fileDescriptor_34c461c9d9699366) -} - -var fileDescriptor_34c461c9d9699366 = []byte{ - // 397 bytes of a gzipped FileDescriptorProto - 0x1f,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0x20, 0x14, - 0x53, 0x8d, 0x90, 0x63, 0x21, 0x94, 0x46, 0x08, 0x39, 0xde, 0xfe, 0xb6, 0x2f, 0xfb, 0xe6, 0x4f, - 0x00, 0x00, 0x00, 0xff, 0xff, 0xee, 0x01, 0xe5, 0x26, 0x52, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/product_bidding_category_constant.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/product_bidding_category_constant.pb.go deleted file mode 100644 index cdaaa06a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/product_bidding_category_constant.pb.go +++ /dev/null @@ -1,180 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/product_bidding_category_constant.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A Product Bidding Category. -type ProductBiddingCategoryConstant struct { - // The resource name of the product bidding category. - // Product bidding category resource names have the form: - // - // `productBiddingCategoryConstants/{country_code}~{level}~{id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // ID of the product bidding category. - // - // This ID is equivalent to the google_product_category ID as described in - // this article: https://support.google.com/merchants/answer/6324436. - Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // Two-letter upper-case country code of the product bidding category. - CountryCode *wrappers.StringValue `protobuf:"bytes,3,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` - // Resource name of the parent product bidding category. - ProductBiddingCategoryConstantParent *wrappers.StringValue `protobuf:"bytes,4,opt,name=product_bidding_category_constant_parent,json=productBiddingCategoryConstantParent,proto3" json:"product_bidding_category_constant_parent,omitempty"` - // Level of the product bidding category. - Level enums.ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel `protobuf:"varint,5,opt,name=level,proto3,enum=google.ads.googleads.v2.enums.ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel" json:"level,omitempty"` - // Status of the product bidding category. - Status enums.ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus `protobuf:"varint,6,opt,name=status,proto3,enum=google.ads.googleads.v2.enums.ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus" json:"status,omitempty"` - // Language code of the product bidding category. - LanguageCode *wrappers.StringValue `protobuf:"bytes,7,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // Display value of the product bidding category localized according to - // language_code. - LocalizedName *wrappers.StringValue `protobuf:"bytes,8,opt,name=localized_name,json=localizedName,proto3" json:"localized_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ProductBiddingCategoryConstant) Reset() { *m = ProductBiddingCategoryConstant{} } -func (m *ProductBiddingCategoryConstant) String() string { return proto.CompactTextString(m) } -func (*ProductBiddingCategoryConstant) ProtoMessage() {} -func (*ProductBiddingCategoryConstant) Descriptor() ([]byte, []int) { - return fileDescriptor_61549db8736ae5cd, []int{0} -} - -func (m *ProductBiddingCategoryConstant) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProductBiddingCategoryConstant.Unmarshal(m, b) -} -func (m *ProductBiddingCategoryConstant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProductBiddingCategoryConstant.Marshal(b, m, deterministic) -} -func (m *ProductBiddingCategoryConstant) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductBiddingCategoryConstant.Merge(m, src) -} -func (m *ProductBiddingCategoryConstant) XXX_Size() int { - return xxx_messageInfo_ProductBiddingCategoryConstant.Size(m) -} -func (m *ProductBiddingCategoryConstant) XXX_DiscardUnknown() { - xxx_messageInfo_ProductBiddingCategoryConstant.DiscardUnknown(m) -} - -var xxx_messageInfo_ProductBiddingCategoryConstant proto.InternalMessageInfo - -func (m *ProductBiddingCategoryConstant) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *ProductBiddingCategoryConstant) GetId() *wrappers.Int64Value { - if m != nil { - return m.Id - } - return nil -} - -func (m *ProductBiddingCategoryConstant) GetCountryCode() *wrappers.StringValue { - if m != nil { - return m.CountryCode - } - return nil -} - -func (m *ProductBiddingCategoryConstant) GetProductBiddingCategoryConstantParent() *wrappers.StringValue { - if m != nil { - return m.ProductBiddingCategoryConstantParent - } - return nil -} - -func (m *ProductBiddingCategoryConstant) GetLevel() enums.ProductBiddingCategoryLevelEnum_ProductBiddingCategoryLevel { - if m != nil { - return m.Level - } - return enums.ProductBiddingCategoryLevelEnum_UNSPECIFIED -} - -func (m *ProductBiddingCategoryConstant) GetStatus() enums.ProductBiddingCategoryStatusEnum_ProductBiddingCategoryStatus { - if m != nil { - return m.Status - } - return enums.ProductBiddingCategoryStatusEnum_UNSPECIFIED -} - -func (m *ProductBiddingCategoryConstant) GetLanguageCode() *wrappers.StringValue { - if m != nil { - return m.LanguageCode - } - return nil -} - -func (m *ProductBiddingCategoryConstant) GetLocalizedName() *wrappers.StringValue { - if m != nil { - return m.LocalizedName - } - return nil -} - -func init() { - proto.RegisterType((*ProductBiddingCategoryConstant)(nil), "google.ads.googleads.v2.resources.ProductBiddingCategoryConstant") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/product_bidding_category_constant.proto", fileDescriptor_61549db8736ae5cd) -} - -var fileDescriptor_61549db8736ae5cd = []byte{ - // 509 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0x41, 0x8b, 0xd3, 0x40, - 0x14, 0xc7, 0x49, 0xd6, 0x56, 0x9d, 0x6d, 0xf7, 0x90, 0x53, 0x58, 0x97, 0xa5, 0xeb, 0xba, 0x50, - 0x10, 0x26, 0x10, 0xc5, 0x43, 0x3c, 0x48, 0x1a, 0x64, 0x59, 0x11, 0x29, 0x59, 0xe8, 0x61, 0x09, - 0x84, 0x69, 0x66, 0x1c, 0x02, 0xc9, 0x4c, 0x98, 0x99, 0x54, 0xf4, 0x53, 0x78, 0xf5, 0xea, 0xd1, - 0x8f, 0xe2, 0x47, 0xf1, 0x53, 0x48, 0x66, 0x32, 0xb9, 0xe8, 0x66, 0x4b, 0x6f, 0xaf, 0x7d, 0xef, - 0xff, 0xff, 0xbd, 0xbe, 0xf7, 0xa6, 0xe0, 0x86, 0x72, 0x4e, 0x2b, 0x12, 0x20, 0x2c, 0x03, 0x13, - 0x76, 0xd1, 0x2e, 0x0c, 0x04, 0x91, 0xbc, 0x15, 0x05, 0x91, 0x41, 0x23, 0x38, 0x6e, 0x0b, 0x95, - 0x6f, 0x4b, 0x8c, 0x4b, 0x46, 0xf3, 0x02, 0x29, 0x42, 0xb9, 0xf8, 0x9a, 0x17, 0x9c, 0x49, 0x85, - 0x98, 0x82, 0x8d, 0xe0, 0x8a, 0x7b, 0x17, 0x46, 0x0f, 0x11, 0x96, 0x70, 0xb0, 0x82, 0xbb, 0x10, - 0x0e, 0x56, 0xa7, 0xab, 0xfb, 0x68, 0x84, 0xb5, 0xf5, 0x08, 0xa9, 0x22, 0x3b, 0x52, 0x19, 0xcc, - 0x69, 0x72, 0xa0, 0x87, 0x54, 0x48, 0xb5, 0xb2, 0x37, 0x39, 0xef, 0x4d, 0xf4, 0xa7, 0x6d, 0xfb, - 0x39, 0xf8, 0x22, 0x50, 0xd3, 0x10, 0x61, 0xf3, 0x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 0xd9, - 0xcf, 0xe3, 0x3d, 0x46, 0x38, 0xb3, 0x12, 0xbd, 0xa0, 0x04, 0x9c, 0x54, 0xbc, 0x40, 0x55, 0xf9, - 0x8d, 0x60, 0x73, 0x34, 0x4f, 0xf6, 0xf0, 0x98, 0x0f, 0x9a, 0xee, 0xa6, 0x56, 0xdf, 0x5d, 0x70, - 0x55, 0xf0, 0x1a, 0x3e, 0xf8, 0x18, 0x57, 0x97, 0xe3, 0x27, 0xbc, 0xee, 0x60, 0x6b, 0xe7, 0xee, - 0x43, 0xef, 0x44, 0x79, 0xd7, 0x2c, 0xe4, 0x82, 0x06, 0x94, 0x30, 0xdd, 0x8a, 0x7d, 0x7f, 0x4d, - 0x29, 0x47, 0xfe, 0x40, 0xde, 0x0e, 0xd1, 0x4f, 0xf7, 0xe8, 0x3a, 0x8e, 0x7f, 0xb9, 0x17, 0xd7, - 0xc6, 0x32, 0xc6, 0x12, 0x9a, 0xb0, 0x8b, 0x36, 0x21, 0x4c, 0x6d, 0xe5, 0x6f, 0x5b, 0x93, 0xc5, - 0x58, 0x66, 0x43, 0x4d, 0xb6, 0x09, 0xb3, 0xa1, 0xe6, 0x8f, 0x7b, 0x65, 0x12, 0x51, 0x14, 0x63, - 0x19, 0x45, 0x43, 0x55, 0x14, 0x6d, 0xc2, 0x28, 0x1a, 0xea, 0xb6, 0x53, 0xdd, 0xec, 0xab, 0xbf, - 0x01, 0x00, 0x00, 0xff, 0xff, 0x8b, 0x5b, 0x38, 0xdb, 0xec, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/product_group_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/product_group_view.pb.go deleted file mode 100644 index dd99560a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/product_group_view.pb.go +++ /dev/null @@ -1,96 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/product_group_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_c4fb0e8e8872a613, []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 (m *ProductGroupView) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductGroupView.Merge(m, 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.v2.resources.ProductGroupView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/product_group_view.proto", fileDescriptor_c4fb0e8e8872a613) -} - -var fileDescriptor_c4fb0e8e8872a613 = []byte{ - // 272 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0xb1, 0x4a, 0xc4, 0x30, - 0x18, 0xc7, 0x69, 0x05, 0xc1, 0xa2, 0x20, 0x07, 0x82, 0x88, 0x83, 0xa7, 0x1c, 0x38, 0x25, 0x10, - 0x07, 0x21, 0x4e, 0xb9, 0xa5, 0xe0, 0x20, 0xe5, 0x86, 0x0e, 0x52, 0x28, 0xb1, 0x09, 0x21, 0x70, - 0xcd, 0x17, 0x92, 0xb6, 0xb7, 0xfb, 0x28, 0x8e, 0x3e, 0x8a, 0x8f, 0xe2, 0x53, 0x48, 0x2f, 0x26, - 0x83, 0x83, 0xb7, 0xfd, 0x49, 0x7e, 0xff, 0xdf, 0xf7, 0xf1, 0x15, 0x54, 0x01, 0xa8, 0xad, 0xc4, - 0x5c, 0x78, 0x1c, 0xe2, 0x9c, 0x26, 0x82, 0x9d, 0xf4, 0x30, 0xba, 0x4e, 0x7a, 0x6c, 0x1d, 0x88, - 0xb1, 0x1b, 0x5a, 0xe5, 0x60, 0xb4, 0xed, 0xa4, 0xe5, 0x0e, 0x59, 0x07, 0x03, 0x2c, 0x96, 0xa1, - 0x80, 0xb8, 0xf0, 0x28, 0x75, 0xd1, 0x44, 0x50, 0xea, 0x5e, 0x5d, 0x47, 0xbd, 0xd5, 0x98, 0x1b, - 0x03, 0x03, 0x1f, 0x34, 0x18, 0x1f, 0x04, 0xb7, 0x8f, 0xc5, 0x79, 0x15, 0xe4, 0xe5, 0xec, 0xae, - 0xb5, 0xdc, 0x2d, 0xee, 0x8a, 0xb3, 0x58, 0x6f, 0x0d, 0xef, 0xe5, 0x65, 0x76, 0x93, 0xdd, 0x9f, - 0x6c, 0x4e, 0xe3, 0xe3, 0x0b, 0xef, 0xe5, 0xfa, 0x3d, 0x2f, 0x56, 0x1d, 0xf4, 0xe8, 0xe0, 0x02, - 0xeb, 0x8b, 0xbf, 0x03, 0xaa, 0x79, 0x72, 0x95, 0xbd, 0x3e, 0xff, 0x76, 0x15, 0x6c, 0xb9, 0x51, - 0x08, 0x9c, 0xc2, 0x4a, 0x9a, 0xfd, 0x5e, 0xf1, 0x10, 0x56, 0xfb, 0x7f, 0xee, 0xf2, 0x94, 0xd2, - 0x47, 0x7e, 0x54, 0x32, 0xf6, 0x99, 0x2f, 0xcb, 0xa0, 0x64, 0xc2, 0xa3, 0x10, 0xe7, 0x54, 0x13, - 0xb4, 0x89, 0xe4, 0x57, 0x64, 0x1a, 0x26, 0x7c, 0x93, 0x98, 0xa6, 0x26, 0x4d, 0x62, 0xbe, 0xf3, - 0x55, 0xf8, 0xa0, 0x94, 0x09, 0x4f, 0x69, 0xa2, 0x28, 0xad, 0x09, 0xa5, 0x89, 0x7b, 0x3b, 0xde, - 0x2f, 0xfb, 0xf0, 0x13, 0x00, 0x00, 0xff, 0xff, 0xc2, 0x22, 0x07, 0x00, 0xc3, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/recommendation.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/recommendation.pb.go deleted file mode 100644 index 5ef2a7d2..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/recommendation.pb.go +++ /dev/null @@ -1,1439 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/recommendation.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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.v2.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, MOVE_UNUSED_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: - // CALL_EXTENSION, CALLOUT_EXTENSION, ENHANCED_CPC_OPT_IN, KEYWORD, - // KEYWORD_MATCH_TYPE, MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN, - // OPTIMIZE_AD_ROTATION, SEARCH_PARTNERS_OPT_IN, SITELINK_EXTENSION, - // 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_CalloutExtensionRecommendation_ - // *Recommendation_SitelinkExtensionRecommendation_ - // *Recommendation_CallExtensionRecommendation_ - // *Recommendation_KeywordMatchTypeRecommendation_ - // *Recommendation_MoveUnusedBudgetRecommendation_ - 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_0f6630579339be78, []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 (m *Recommendation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Recommendation.Merge(m, 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"` -} - -type Recommendation_CalloutExtensionRecommendation_ struct { - CalloutExtensionRecommendation *Recommendation_CalloutExtensionRecommendation `protobuf:"bytes,17,opt,name=callout_extension_recommendation,json=calloutExtensionRecommendation,proto3,oneof"` -} - -type Recommendation_SitelinkExtensionRecommendation_ struct { - SitelinkExtensionRecommendation *Recommendation_SitelinkExtensionRecommendation `protobuf:"bytes,18,opt,name=sitelink_extension_recommendation,json=sitelinkExtensionRecommendation,proto3,oneof"` -} - -type Recommendation_CallExtensionRecommendation_ struct { - CallExtensionRecommendation *Recommendation_CallExtensionRecommendation `protobuf:"bytes,19,opt,name=call_extension_recommendation,json=callExtensionRecommendation,proto3,oneof"` -} - -type Recommendation_KeywordMatchTypeRecommendation_ struct { - KeywordMatchTypeRecommendation *Recommendation_KeywordMatchTypeRecommendation `protobuf:"bytes,20,opt,name=keyword_match_type_recommendation,json=keywordMatchTypeRecommendation,proto3,oneof"` -} - -type Recommendation_MoveUnusedBudgetRecommendation_ struct { - MoveUnusedBudgetRecommendation *Recommendation_MoveUnusedBudgetRecommendation `protobuf:"bytes,21,opt,name=move_unused_budget_recommendation,json=moveUnusedBudgetRecommendation,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 (*Recommendation_CalloutExtensionRecommendation_) isRecommendation_Recommendation() {} - -func (*Recommendation_SitelinkExtensionRecommendation_) isRecommendation_Recommendation() {} - -func (*Recommendation_CallExtensionRecommendation_) isRecommendation_Recommendation() {} - -func (*Recommendation_KeywordMatchTypeRecommendation_) isRecommendation_Recommendation() {} - -func (*Recommendation_MoveUnusedBudgetRecommendation_) 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 -} - -func (m *Recommendation) GetCalloutExtensionRecommendation() *Recommendation_CalloutExtensionRecommendation { - if x, ok := m.GetRecommendation().(*Recommendation_CalloutExtensionRecommendation_); ok { - return x.CalloutExtensionRecommendation - } - return nil -} - -func (m *Recommendation) GetSitelinkExtensionRecommendation() *Recommendation_SitelinkExtensionRecommendation { - if x, ok := m.GetRecommendation().(*Recommendation_SitelinkExtensionRecommendation_); ok { - return x.SitelinkExtensionRecommendation - } - return nil -} - -func (m *Recommendation) GetCallExtensionRecommendation() *Recommendation_CallExtensionRecommendation { - if x, ok := m.GetRecommendation().(*Recommendation_CallExtensionRecommendation_); ok { - return x.CallExtensionRecommendation - } - return nil -} - -func (m *Recommendation) GetKeywordMatchTypeRecommendation() *Recommendation_KeywordMatchTypeRecommendation { - if x, ok := m.GetRecommendation().(*Recommendation_KeywordMatchTypeRecommendation_); ok { - return x.KeywordMatchTypeRecommendation - } - return nil -} - -func (m *Recommendation) GetMoveUnusedBudgetRecommendation() *Recommendation_MoveUnusedBudgetRecommendation { - if x, ok := m.GetRecommendation().(*Recommendation_MoveUnusedBudgetRecommendation_); ok { - return x.MoveUnusedBudgetRecommendation - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Recommendation) XXX_OneofWrappers() []interface{} { - return []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), - (*Recommendation_CalloutExtensionRecommendation_)(nil), - (*Recommendation_SitelinkExtensionRecommendation_)(nil), - (*Recommendation_CallExtensionRecommendation_)(nil), - (*Recommendation_KeywordMatchTypeRecommendation_)(nil), - (*Recommendation_MoveUnusedBudgetRecommendation_)(nil), - } -} - -// 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_0f6630579339be78, []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 (m *Recommendation_RecommendationImpact) XXX_Merge(src proto.Message) { - xxx_messageInfo_Recommendation_RecommendationImpact.Merge(m, 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_0f6630579339be78, []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 (m *Recommendation_RecommendationMetrics) XXX_Merge(src proto.Message) { - xxx_messageInfo_Recommendation_RecommendationMetrics.Merge(m, 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_0f6630579339be78, []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 (m *Recommendation_CampaignBudgetRecommendation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Recommendation_CampaignBudgetRecommendation.Merge(m, 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_0f6630579339be78, []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 (m *Recommendation_CampaignBudgetRecommendation_CampaignBudgetRecommendationOption) XXX_Merge(src proto.Message) { - xxx_messageInfo_Recommendation_CampaignBudgetRecommendation_CampaignBudgetRecommendationOption.Merge(m, 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_0f6630579339be78, []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 (m *Recommendation_KeywordRecommendation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Recommendation_KeywordRecommendation.Merge(m, 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 Sitelink extension recommendation. -type Recommendation_SitelinkExtensionRecommendation struct { - // Sitelink extensions recommended to be added. - RecommendedExtensions []*common.SitelinkFeedItem `protobuf:"bytes,1,rep,name=recommended_extensions,json=recommendedExtensions,proto3" json:"recommended_extensions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Recommendation_SitelinkExtensionRecommendation) Reset() { - *m = Recommendation_SitelinkExtensionRecommendation{} -} -func (m *Recommendation_SitelinkExtensionRecommendation) String() string { - return proto.CompactTextString(m) -} -func (*Recommendation_SitelinkExtensionRecommendation) ProtoMessage() {} -func (*Recommendation_SitelinkExtensionRecommendation) Descriptor() ([]byte, []int) { - return fileDescriptor_0f6630579339be78, []int{0, 4} -} - -func (m *Recommendation_SitelinkExtensionRecommendation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Recommendation_SitelinkExtensionRecommendation.Unmarshal(m, b) -} -func (m *Recommendation_SitelinkExtensionRecommendation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Recommendation_SitelinkExtensionRecommendation.Marshal(b, m, deterministic) -} -func (m *Recommendation_SitelinkExtensionRecommendation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Recommendation_SitelinkExtensionRecommendation.Merge(m, src) -} -func (m *Recommendation_SitelinkExtensionRecommendation) XXX_Size() int { - return xxx_messageInfo_Recommendation_SitelinkExtensionRecommendation.Size(m) -} -func (m *Recommendation_SitelinkExtensionRecommendation) XXX_DiscardUnknown() { - xxx_messageInfo_Recommendation_SitelinkExtensionRecommendation.DiscardUnknown(m) -} - -var xxx_messageInfo_Recommendation_SitelinkExtensionRecommendation proto.InternalMessageInfo - -func (m *Recommendation_SitelinkExtensionRecommendation) GetRecommendedExtensions() []*common.SitelinkFeedItem { - if m != nil { - return m.RecommendedExtensions - } - return nil -} - -// The move unused budget recommendation. -type Recommendation_MoveUnusedBudgetRecommendation struct { - // The excess budget's resource_name. - ExcessCampaignBudget *wrappers.StringValue `protobuf:"bytes,1,opt,name=excess_campaign_budget,json=excessCampaignBudget,proto3" json:"excess_campaign_budget,omitempty"` - // The recommendation for the constrained budget to increase. - BudgetRecommendation *Recommendation_CampaignBudgetRecommendation `protobuf:"bytes,2,opt,name=budget_recommendation,json=budgetRecommendation,proto3" json:"budget_recommendation,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Recommendation_MoveUnusedBudgetRecommendation) Reset() { - *m = Recommendation_MoveUnusedBudgetRecommendation{} -} -func (m *Recommendation_MoveUnusedBudgetRecommendation) String() string { - return proto.CompactTextString(m) -} -func (*Recommendation_MoveUnusedBudgetRecommendation) ProtoMessage() {} -func (*Recommendation_MoveUnusedBudgetRecommendation) Descriptor() ([]byte, []int) { - return fileDescriptor_0f6630579339be78, []int{0, 5} -} - -func (m *Recommendation_MoveUnusedBudgetRecommendation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Recommendation_MoveUnusedBudgetRecommendation.Unmarshal(m, b) -} -func (m *Recommendation_MoveUnusedBudgetRecommendation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Recommendation_MoveUnusedBudgetRecommendation.Marshal(b, m, deterministic) -} -func (m *Recommendation_MoveUnusedBudgetRecommendation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Recommendation_MoveUnusedBudgetRecommendation.Merge(m, src) -} -func (m *Recommendation_MoveUnusedBudgetRecommendation) XXX_Size() int { - return xxx_messageInfo_Recommendation_MoveUnusedBudgetRecommendation.Size(m) -} -func (m *Recommendation_MoveUnusedBudgetRecommendation) XXX_DiscardUnknown() { - xxx_messageInfo_Recommendation_MoveUnusedBudgetRecommendation.DiscardUnknown(m) -} - -var xxx_messageInfo_Recommendation_MoveUnusedBudgetRecommendation proto.InternalMessageInfo - -func (m *Recommendation_MoveUnusedBudgetRecommendation) GetExcessCampaignBudget() *wrappers.StringValue { - if m != nil { - return m.ExcessCampaignBudget - } - return nil -} - -func (m *Recommendation_MoveUnusedBudgetRecommendation) GetBudgetRecommendation() *Recommendation_CampaignBudgetRecommendation { - if m != nil { - return m.BudgetRecommendation - } - 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_0f6630579339be78, []int{0, 6} -} - -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 (m *Recommendation_TextAdRecommendation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Recommendation_TextAdRecommendation.Merge(m, 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_0f6630579339be78, []int{0, 7} -} - -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 (m *Recommendation_TargetCpaOptInRecommendation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Recommendation_TargetCpaOptInRecommendation.Merge(m, 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.v2.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_0f6630579339be78, []int{0, 7, 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 (m *Recommendation_TargetCpaOptInRecommendation_TargetCpaOptInRecommendationOption) XXX_Merge(src proto.Message) { - xxx_messageInfo_Recommendation_TargetCpaOptInRecommendation_TargetCpaOptInRecommendationOption.Merge(m, 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_0f6630579339be78, []int{0, 8} -} - -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 (m *Recommendation_MaximizeConversionsOptInRecommendation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Recommendation_MaximizeConversionsOptInRecommendation.Merge(m, 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 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_0f6630579339be78, []int{0, 9} -} - -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 (m *Recommendation_OptimizeAdRotationRecommendation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Recommendation_OptimizeAdRotationRecommendation.Merge(m, 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 - -// 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_0f6630579339be78, []int{0, 10} -} - -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 (m *Recommendation_EnhancedCpcOptInRecommendation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Recommendation_EnhancedCpcOptInRecommendation.Merge(m, 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_0f6630579339be78, []int{0, 11} -} - -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 (m *Recommendation_SearchPartnersOptInRecommendation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Recommendation_SearchPartnersOptInRecommendation.Merge(m, 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 keyword match type recommendation. -type Recommendation_KeywordMatchTypeRecommendation struct { - // The existing keyword where the match type should be more broad. - Keyword *common.KeywordInfo `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"` - // The recommended new match type. - RecommendedMatchType enums.KeywordMatchTypeEnum_KeywordMatchType `protobuf:"varint,2,opt,name=recommended_match_type,json=recommendedMatchType,proto3,enum=google.ads.googleads.v2.enums.KeywordMatchTypeEnum_KeywordMatchType" json:"recommended_match_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Recommendation_KeywordMatchTypeRecommendation) Reset() { - *m = Recommendation_KeywordMatchTypeRecommendation{} -} -func (m *Recommendation_KeywordMatchTypeRecommendation) String() string { - return proto.CompactTextString(m) -} -func (*Recommendation_KeywordMatchTypeRecommendation) ProtoMessage() {} -func (*Recommendation_KeywordMatchTypeRecommendation) Descriptor() ([]byte, []int) { - return fileDescriptor_0f6630579339be78, []int{0, 12} -} - -func (m *Recommendation_KeywordMatchTypeRecommendation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Recommendation_KeywordMatchTypeRecommendation.Unmarshal(m, b) -} -func (m *Recommendation_KeywordMatchTypeRecommendation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Recommendation_KeywordMatchTypeRecommendation.Marshal(b, m, deterministic) -} -func (m *Recommendation_KeywordMatchTypeRecommendation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Recommendation_KeywordMatchTypeRecommendation.Merge(m, src) -} -func (m *Recommendation_KeywordMatchTypeRecommendation) XXX_Size() int { - return xxx_messageInfo_Recommendation_KeywordMatchTypeRecommendation.Size(m) -} -func (m *Recommendation_KeywordMatchTypeRecommendation) XXX_DiscardUnknown() { - xxx_messageInfo_Recommendation_KeywordMatchTypeRecommendation.DiscardUnknown(m) -} - -var xxx_messageInfo_Recommendation_KeywordMatchTypeRecommendation proto.InternalMessageInfo - -func (m *Recommendation_KeywordMatchTypeRecommendation) GetKeyword() *common.KeywordInfo { - if m != nil { - return m.Keyword - } - return nil -} - -func (m *Recommendation_KeywordMatchTypeRecommendation) GetRecommendedMatchType() enums.KeywordMatchTypeEnum_KeywordMatchType { - if m != nil { - return m.RecommendedMatchType - } - return enums.KeywordMatchTypeEnum_UNSPECIFIED -} - -// 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_0f6630579339be78, []int{0, 13} -} - -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 (m *Recommendation_MaximizeClicksOptInRecommendation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Recommendation_MaximizeClicksOptInRecommendation.Merge(m, 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 Callout extension recommendation. -type Recommendation_CalloutExtensionRecommendation struct { - // Callout extensions recommended to be added. - RecommendedExtensions []*common.CalloutFeedItem `protobuf:"bytes,1,rep,name=recommended_extensions,json=recommendedExtensions,proto3" json:"recommended_extensions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Recommendation_CalloutExtensionRecommendation) Reset() { - *m = Recommendation_CalloutExtensionRecommendation{} -} -func (m *Recommendation_CalloutExtensionRecommendation) String() string { - return proto.CompactTextString(m) -} -func (*Recommendation_CalloutExtensionRecommendation) ProtoMessage() {} -func (*Recommendation_CalloutExtensionRecommendation) Descriptor() ([]byte, []int) { - return fileDescriptor_0f6630579339be78, []int{0, 14} -} - -func (m *Recommendation_CalloutExtensionRecommendation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Recommendation_CalloutExtensionRecommendation.Unmarshal(m, b) -} -func (m *Recommendation_CalloutExtensionRecommendation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Recommendation_CalloutExtensionRecommendation.Marshal(b, m, deterministic) -} -func (m *Recommendation_CalloutExtensionRecommendation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Recommendation_CalloutExtensionRecommendation.Merge(m, src) -} -func (m *Recommendation_CalloutExtensionRecommendation) XXX_Size() int { - return xxx_messageInfo_Recommendation_CalloutExtensionRecommendation.Size(m) -} -func (m *Recommendation_CalloutExtensionRecommendation) XXX_DiscardUnknown() { - xxx_messageInfo_Recommendation_CalloutExtensionRecommendation.DiscardUnknown(m) -} - -var xxx_messageInfo_Recommendation_CalloutExtensionRecommendation proto.InternalMessageInfo - -func (m *Recommendation_CalloutExtensionRecommendation) GetRecommendedExtensions() []*common.CalloutFeedItem { - if m != nil { - return m.RecommendedExtensions - } - return nil -} - -// The Call extension recommendation. -type Recommendation_CallExtensionRecommendation struct { - // Call extensions recommended to be added. - RecommendedExtensions []*common.CallFeedItem `protobuf:"bytes,1,rep,name=recommended_extensions,json=recommendedExtensions,proto3" json:"recommended_extensions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Recommendation_CallExtensionRecommendation) Reset() { - *m = Recommendation_CallExtensionRecommendation{} -} -func (m *Recommendation_CallExtensionRecommendation) String() string { - return proto.CompactTextString(m) -} -func (*Recommendation_CallExtensionRecommendation) ProtoMessage() {} -func (*Recommendation_CallExtensionRecommendation) Descriptor() ([]byte, []int) { - return fileDescriptor_0f6630579339be78, []int{0, 15} -} - -func (m *Recommendation_CallExtensionRecommendation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Recommendation_CallExtensionRecommendation.Unmarshal(m, b) -} -func (m *Recommendation_CallExtensionRecommendation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Recommendation_CallExtensionRecommendation.Marshal(b, m, deterministic) -} -func (m *Recommendation_CallExtensionRecommendation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Recommendation_CallExtensionRecommendation.Merge(m, src) -} -func (m *Recommendation_CallExtensionRecommendation) XXX_Size() int { - return xxx_messageInfo_Recommendation_CallExtensionRecommendation.Size(m) -} -func (m *Recommendation_CallExtensionRecommendation) XXX_DiscardUnknown() { - xxx_messageInfo_Recommendation_CallExtensionRecommendation.DiscardUnknown(m) -} - -var xxx_messageInfo_Recommendation_CallExtensionRecommendation proto.InternalMessageInfo - -func (m *Recommendation_CallExtensionRecommendation) GetRecommendedExtensions() []*common.CallFeedItem { - if m != nil { - return m.RecommendedExtensions - } - return nil -} - -func init() { - proto.RegisterType((*Recommendation)(nil), "google.ads.googleads.v2.resources.Recommendation") - proto.RegisterType((*Recommendation_RecommendationImpact)(nil), "google.ads.googleads.v2.resources.Recommendation.RecommendationImpact") - proto.RegisterType((*Recommendation_RecommendationMetrics)(nil), "google.ads.googleads.v2.resources.Recommendation.RecommendationMetrics") - proto.RegisterType((*Recommendation_CampaignBudgetRecommendation)(nil), "google.ads.googleads.v2.resources.Recommendation.CampaignBudgetRecommendation") - proto.RegisterType((*Recommendation_CampaignBudgetRecommendation_CampaignBudgetRecommendationOption)(nil), "google.ads.googleads.v2.resources.Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption") - proto.RegisterType((*Recommendation_KeywordRecommendation)(nil), "google.ads.googleads.v2.resources.Recommendation.KeywordRecommendation") - proto.RegisterType((*Recommendation_SitelinkExtensionRecommendation)(nil), "google.ads.googleads.v2.resources.Recommendation.SitelinkExtensionRecommendation") - proto.RegisterType((*Recommendation_MoveUnusedBudgetRecommendation)(nil), "google.ads.googleads.v2.resources.Recommendation.MoveUnusedBudgetRecommendation") - proto.RegisterType((*Recommendation_TextAdRecommendation)(nil), "google.ads.googleads.v2.resources.Recommendation.TextAdRecommendation") - proto.RegisterType((*Recommendation_TargetCpaOptInRecommendation)(nil), "google.ads.googleads.v2.resources.Recommendation.TargetCpaOptInRecommendation") - proto.RegisterType((*Recommendation_TargetCpaOptInRecommendation_TargetCpaOptInRecommendationOption)(nil), "google.ads.googleads.v2.resources.Recommendation.TargetCpaOptInRecommendation.TargetCpaOptInRecommendationOption") - proto.RegisterType((*Recommendation_MaximizeConversionsOptInRecommendation)(nil), "google.ads.googleads.v2.resources.Recommendation.MaximizeConversionsOptInRecommendation") - proto.RegisterType((*Recommendation_OptimizeAdRotationRecommendation)(nil), "google.ads.googleads.v2.resources.Recommendation.OptimizeAdRotationRecommendation") - proto.RegisterType((*Recommendation_EnhancedCpcOptInRecommendation)(nil), "google.ads.googleads.v2.resources.Recommendation.EnhancedCpcOptInRecommendation") - proto.RegisterType((*Recommendation_SearchPartnersOptInRecommendation)(nil), "google.ads.googleads.v2.resources.Recommendation.SearchPartnersOptInRecommendation") - proto.RegisterType((*Recommendation_KeywordMatchTypeRecommendation)(nil), "google.ads.googleads.v2.resources.Recommendation.KeywordMatchTypeRecommendation") - proto.RegisterType((*Recommendation_MaximizeClicksOptInRecommendation)(nil), "google.ads.googleads.v2.resources.Recommendation.MaximizeClicksOptInRecommendation") - proto.RegisterType((*Recommendation_CalloutExtensionRecommendation)(nil), "google.ads.googleads.v2.resources.Recommendation.CalloutExtensionRecommendation") - proto.RegisterType((*Recommendation_CallExtensionRecommendation)(nil), "google.ads.googleads.v2.resources.Recommendation.CallExtensionRecommendation") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/recommendation.proto", fileDescriptor_0f6630579339be78) -} - -var fileDescriptor_0f6630579339be78 = []byte{ - // 1666 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x59, 0x5b, 0x6f, 0xdc, 0xc4, - 0x17, 0xff, 0xcf, 0x26, 0x4d, 0xda, 0x93, 0x5b, 0x3b, 0x4d, 0xf2, 0x5f, 0xdc, 0x74, 0xbb, 0x49, - 0x95, 0x2a, 0x2a, 0xb0, 0x0b, 0x4b, 0x69, 0xab, 0xe5, 0x22, 0x6d, 0x2e, 0x4d, 0x03, 0x4a, 0x1b, - 0xdc, 0x12, 0x55, 0x28, 0xaa, 0x35, 0xb1, 0xa7, 0x5b, 0x93, 0xb5, 0xc7, 0xb5, 0x67, 0xd3, 0xa4, - 0x0f,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xe0, 0x54, 0x4a, 0xf5, 0x8b, 0xf5, 0x0c, 0x1d, 0xaf, 0xf4, 0xa2, 0x23, 0x43, 0xc4, - 0xe2, 0x71, 0x18, 0x6f, 0x0d, 0xcf, 0x8b, 0x0f, 0x73, 0x30, 0xaf, 0x33, 0x2b, 0x7b, 0x97, 0x2f, - 0x9e, 0x6c, 0x15, 0xbc, 0xe1, 0xcf, 0xc6, 0x06, 0xfa, 0xe8, 0x3d, 0x89, 0xac, 0xb3, 0x06, 0xb1, - 0xeb, 0x25, 0xe6, 0xd6, 0xcb, 0x75, 0x6a, 0x8b, 0xb9, 0x0a, 0x7f, 0xae, 0x38, 0xa6, 0x97, 0xf2, - 0xaf, 0xe5, 0xad, 0xe8, 0xe9, 0xc7, 0xdc, 0xc0, 0x6a, 0xad, 0xf6, 0x4b, 0x6e, 0x76, 0x35, 0xa0, - 0xac, 0x19, 0x5e, 0x29, 0x78, 0xf4, 0x9f, 0x36, 0x2b, 0x25, 0x35, 0xb4, 0x7c, 0x1a, 0xda, 0x6c, - 0xd5, 0x0c, 0x6f, 0x2b, 0xb2, 0xd9, 0xda, 0xac, 0x6c, 0x45, 0x36, 0x7f, 0xe6, 0xe6, 0x83, 0x86, - 0x6a, 0xb5, 0x66, 0x78, 0xd5, 0x6a, 0x64, 0x55, 0xad, 0x6e, 0x56, 0xaa, 0xd5, 0xc8, 0x6e, 0x7b, - 0x48, 0x88, 0x7d, 0xe3, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x66, 0xa0, 0xa4, 0xd7, 0x8e, 0x1b, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/remarketing_action.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/remarketing_action.pb.go deleted file mode 100644 index abd913a9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/remarketing_action.pb.go +++ /dev/null @@ -1,138 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/remarketing_action.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A remarketing action. A snippet of JavaScript code that will collect the -// product id and the type of page people visited (product page, shopping cart -// page, purchase page, general site visit) on an advertiser's website. -type RemarketingAction struct { - // The resource name of the remarketing action. - // Remarketing action resource names have the form: - // - // `customers/{customer_id}/remarketingActions/{remarketing_action_id}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // Id of the remarketing action. - Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // The name of the remarketing action. - // - // This field is required and should not be empty when creating new - // remarketing actions. - Name *wrappers.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - // The snippets used for tracking remarketing actions. - TagSnippets []*common.TagSnippet `protobuf:"bytes,4,rep,name=tag_snippets,json=tagSnippets,proto3" json:"tag_snippets,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RemarketingAction) Reset() { *m = RemarketingAction{} } -func (m *RemarketingAction) String() string { return proto.CompactTextString(m) } -func (*RemarketingAction) ProtoMessage() {} -func (*RemarketingAction) Descriptor() ([]byte, []int) { - return fileDescriptor_971e3df206dc07eb, []int{0} -} - -func (m *RemarketingAction) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemarketingAction.Unmarshal(m, b) -} -func (m *RemarketingAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemarketingAction.Marshal(b, m, deterministic) -} -func (m *RemarketingAction) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemarketingAction.Merge(m, src) -} -func (m *RemarketingAction) XXX_Size() int { - return xxx_messageInfo_RemarketingAction.Size(m) -} -func (m *RemarketingAction) XXX_DiscardUnknown() { - xxx_messageInfo_RemarketingAction.DiscardUnknown(m) -} - -var xxx_messageInfo_RemarketingAction proto.InternalMessageInfo - -func (m *RemarketingAction) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *RemarketingAction) GetId() *wrappers.Int64Value { - if m != nil { - return m.Id - } - return nil -} - -func (m *RemarketingAction) GetName() *wrappers.StringValue { - if m != nil { - return m.Name - } - return nil -} - -func (m *RemarketingAction) GetTagSnippets() []*common.TagSnippet { - if m != nil { - return m.TagSnippets - } - return nil -} - -func init() { - proto.RegisterType((*RemarketingAction)(nil), "google.ads.googleads.v2.resources.RemarketingAction") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/remarketing_action.proto", fileDescriptor_971e3df206dc07eb) -} - -var fileDescriptor_971e3df206dc07eb = []byte{ - // 389 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x41, 0x6a, 0xe3, 0x30, - 0x18, 0x85, 0xb1, 0x13, 0x06, 0xc6, 0xc9, 0x2c, 0xc6, 0x8b, 0x21, 0x64, 0xc2, 0x90, 0xcc, 0x10, - 0x08, 0x53, 0x90, 0x82, 0x5b, 0xba, 0x50, 0x57, 0xce, 0x26, 0xb4, 0xd0, 0x12, 0x9c, 0xe2, 0x45, - 0x31, 0x04, 0xc5, 0x56, 0x85, 0x68, 0x2c, 0x19, 0x49, 0x49, 0x0f, 0xd0, 0x9b, 0x74, 0xd9, 0xa3, - 0xf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6, 0xa9, 0xe1, 0x2b, 0xd2, 0xbf, 0xf4, 0xba, - 0x1f, 0x96, 0x55, 0xbd, 0xf6, 0xb0, 0x35, 0xe9, 0x04, 0xff, 0xc1, 0xa1, 0x1b, 0x9a, 0x03, 0x81, - 0x6b, 0x4c, 0x97, 0xc6, 0x12, 0x75, 0xb4, 0xd5, 0x6a, 0xf6, 0xe0, 0x7a, 0xe3, 0x54, 0xe4, 0xe0, - 0xcb, 0x27, 0x98, 0xfd, 0xda, 0xbb, 0xc7, 0xa2, 0x6c, 0xb9, 0x70, 0x6e, 0x2e, 0x6a, 0x33, 0x15, - 0x1b, 0xcc, 0x29, 0x10, 0x92, 0x42, 0x4a, 0x78, 0xb5, 0x43, 0xf3, 0x58, 0x05, 0x53, 0x9f, 0x7c, - 0x1a, 0x67, 0x56, 0x3d, 0xba, 0xad, 0x79, 0x18, 0x3e, 0xb9, 0xa3, 0xb9, 0x89, 0x0c, 0x33, 0x05, - 0x8c, 0x2c, 0x55, 0x1c, 0x80, 0xa8, 0x21, 0x9f, 0x1b, 0x26, 0x09, 0x33, 0x95, 0x58, 0x26, 0x89, - 0x83, 0xc4, 0x32, 0xaf, 0xee, 0xd8, 0x0c, 0x10, 0x0a, 0x33, 0x85, 0x90, 0xa5, 0x10, 0x8a, 0x03, - 0x84, 0x2c, 0xb7, 0xfe, 0x56, 0x95, 0x3d, 0x7e, 0x0b, 0x00, 0x00, 0xff, 0xff, 0xc5, 0x53, 0x2b, - 0x20, 0xc6, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/search_term_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/search_term_view.pb.go deleted file mode 100644 index 84a74af3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/search_term_view.pb.go +++ /dev/null @@ -1,136 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/search_term_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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.v2.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_c10e074d81af5129, []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 (m *SearchTermView) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchTermView.Merge(m, 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.v2.resources.SearchTermView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/search_term_view.proto", fileDescriptor_c10e074d81af5129) -} - -var fileDescriptor_c10e074d81af5129 = []byte{ - // 403 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0x4d, 0x6b, 0xe3, 0x30, - 0x10, 0xc5, 0xce, 0x92, 0xdd, 0x55, 0x76, 0x73, 0xf0, 0x5e, 0x4c, 0x08, 0x4b, 0xb2, 0x4b, 0x20, - 0x27, 0x19, 0xbc, 0x87, 0x2d, 0x2a, 0x85, 0x3a, 0x50, 0x02, 0x3d, 0x94, 0xe0, 0x04, 0x1f, 0x8a, - 0xc1, 0x28, 0xb1, 0xaa, 0x1a, 0x62, 0xc9, 0x48, 0x72, 0x72, 0xed, 0x1f, 0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a, 0x1f, 0xe7, 0x3f, 0xf8, 0x86, 0xd3, 0x84, 0x0a, 0x5e, 0x16, 0x6e, 0xe7, 0x13, 0xda, - 0xaf, 0x38, 0x9d, 0x57, 0x64, 0x87, 0x81, 0x6e, 0x93, 0xde, 0xfd, 0x32, 0xb2, 0xa6, 0x7d, 0x3f, - 0x82, 0xc7, 0x76, 0x5c, 0x2f, 0x10, 0xbe, 0x66, 0x5b, 0xe9, 0xf5, 0x2d, 0x6b, 0xfd, 0x05, 0x2b, - 0xf3, 0xe3, 0xd5, 0xb0, 0x75, 0x99, 0xdd, 0xd9, 0x60, 0xb2, 0xe1, 0x39, 0xfc, 0xf0, 0x92, 0xb3, - 0x5f, 0x87, 0x6b, 0x5c, 0x54, 0x31, 0x16, 0xd6, 0xf5, 0x65, 0xab, 0xa4, 0x7c, 0x8b, 0x19, 0x85, - 0x5c, 0x50, 0x8f, 0x12, 0x56, 0x87, 0xd4, 0x07, 0x2f, 0x32, 0xf9, 0xce, 0xe3, 0x3a, 0x35, 0xe8, - 0xc1, 0xee, 0xcc, 0x83, 0xe0, 0xd1, 0x1e, 0xcf, 0x9b, 0x96, 0x41, 0x2a, 0x61, 0x03, 0x2b, 0x14, - 0xf9, 0x30, 0xd4, 0xcc, 0x27, 0xcd, 0x89, 0x83, 0x54, 0xc6, 0x86, 0x13, 0x47, 0x7e, 0x6c, 0x38, - 0xcf, 0xf6, 0xa4, 0x29, 0x20, 0x14, 0xa4, 0x12, 0x21, 0xc3, 0x42, 0x28, 0xf2, 0x11, 0x32, 0xbc, - 0x75, 0xb7, 0x1e, 0xf6, 0xdf, 0x4b, 0x00, 0x00, 0x00, 0xff, 0xff, 0x3c, 0xf7, 0x2e, 0x43, 0x08, - 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/shared_criterion.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/shared_criterion.pb.go deleted file mode 100644 index 2f7799b9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/shared_criterion.pb.go +++ /dev/null @@ -1,261 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/shared_criterion.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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.v2.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 - // *SharedCriterion_MobileAppCategory - // *SharedCriterion_MobileApplication - 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_1041cb67d99aea67, []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 (m *SharedCriterion) XXX_Merge(src proto.Message) { - xxx_messageInfo_SharedCriterion.Merge(m, 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"` -} - -type SharedCriterion_MobileAppCategory struct { - MobileAppCategory *common.MobileAppCategoryInfo `protobuf:"bytes,8,opt,name=mobile_app_category,json=mobileAppCategory,proto3,oneof"` -} - -type SharedCriterion_MobileApplication struct { - MobileApplication *common.MobileApplicationInfo `protobuf:"bytes,9,opt,name=mobile_application,json=mobileApplication,proto3,oneof"` -} - -func (*SharedCriterion_Keyword) isSharedCriterion_Criterion() {} - -func (*SharedCriterion_YoutubeVideo) isSharedCriterion_Criterion() {} - -func (*SharedCriterion_YoutubeChannel) isSharedCriterion_Criterion() {} - -func (*SharedCriterion_Placement) isSharedCriterion_Criterion() {} - -func (*SharedCriterion_MobileAppCategory) isSharedCriterion_Criterion() {} - -func (*SharedCriterion_MobileApplication) 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 -} - -func (m *SharedCriterion) GetMobileAppCategory() *common.MobileAppCategoryInfo { - if x, ok := m.GetCriterion().(*SharedCriterion_MobileAppCategory); ok { - return x.MobileAppCategory - } - return nil -} - -func (m *SharedCriterion) GetMobileApplication() *common.MobileApplicationInfo { - if x, ok := m.GetCriterion().(*SharedCriterion_MobileApplication); ok { - return x.MobileApplication - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*SharedCriterion) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*SharedCriterion_Keyword)(nil), - (*SharedCriterion_YoutubeVideo)(nil), - (*SharedCriterion_YoutubeChannel)(nil), - (*SharedCriterion_Placement)(nil), - (*SharedCriterion_MobileAppCategory)(nil), - (*SharedCriterion_MobileApplication)(nil), - } -} - -func init() { - proto.RegisterType((*SharedCriterion)(nil), "google.ads.googleads.v2.resources.SharedCriterion") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/shared_criterion.proto", fileDescriptor_1041cb67d99aea67) -} - -var fileDescriptor_1041cb67d99aea67 = []byte{ - // 591 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xdb, 0x6a, 0xd4, 0x40, - 0x18, 0xc7, 0xdd, 0x6d, 0x6d, 0xdd, 0xe9, 0x09, 0x47, 0x2f, 0x42, 0x2d, 0xd2, 0x2a, 0x85, 0x82, - 0x74, 0x22, 0xf1, 0x80, 0xa4, 0x50, 0x48, 0x8b, 0xd4, 0x2a, 0x95, 0x92, 0x96, 0x15, 0x65, 0x25, - 0xcc, 0x26, 0x5f, 0xd3, 0x60, 0x32, 0x33, 0xcc, 0x4c, 0x5a, 0xf6, 0xd2, 0x57, 0xf1, 0xd2, 0x7b, - 0x5f, 0xc2, 0x47, 0xf1, 0x29, 0x64, 0x27, 0x33, 0x29, 0xb6, 0xac, 0xab, 0x77, 0x5f, 0xe6, 0xfb, - 0xff, 0x7e, 0x73, 0xc8, 0x24, 0xe8, 0x55, 0xce, 0x79, 0x5e, 0x82, 0x4f, 0x33, 0xe5, 0x37, 0xe5, - 0xb8, 0xba, 0x08, 0x7c, 0x09, 0x8a, 0xd7, 0x32, 0x05, 0xe5, 0xab, 0x73, 0x2a, 0x21, 0x4b, 0x52, - 0x59, 0x68, 0x90, 0x05, 0x67, 0x44, 0x48, 0xae, 0x39, 0xde, 0x68, 0xe2, 0x84, 0x66, 0x8a, 0xb4, - 0x24, 0xb9, 0x08, 0x48, 0x4b, 0xae, 0x6e, 0x4f, 0x92, 0xa7, 0xbc, 0xaa, 0x38, 0xf3, 0xad, 0x92, - 0x36, 0xc6, 0xd5, 0x60, 0x52, 0x1c, 0x58, 0x5d, 0x29, 0xbf, 0x5d, 0x40, 0xa2, 0x47, 0x02, 0x2c, - 0xf3, 0xd0, 0x32, 0xe6, 0x69, 0x58, 0x9f, 0xf9, 0x97, 0x92, 0x0a, 0x01, 0x52, 0xd9, 0xfe, 0x9a, - 0x73, 0x8a, 0xc2, 0xa7, 0x8c, 0x71, 0x4d, 0x75, 0xc1, 0x99, 0xed, 0x3e, 0xfa, 0x31, 0x87, 0x56, - 0x4e, 0xcc, 0xf6, 0xf6, 0x9d, 0x1c, 0x3f, 0x46, 0x4b, 0x6e, 0x07, 0x09, 0xa3, 0x15, 0x78, 0x9d, - 0xf5, 0xce, 0x56, 0x2f, 0x5e, 0x74, 0x83, 0xef, 0x69, 0x05, 0x78, 0x07, 0x21, 0x7b, 0x2c, 0x0a, - 0xb4, 0xd7, 0x5d, 0xef, 0x6c, 0x2d, 0x04, 0x6b, 0xf6, 0x18, 0x88, 0x5b, 0x0b, 0x39, 0xd1, 0xb2, - 0x60, 0x79, 0x9f, 0x96, 0x35, 0xc4, 0xbd, 0x26, 0x7f, 0x02, 0x1a, 0xef, 0xa2, 0xc5, 0xab, 0xbd, - 0x14, 0x99, 0xb7, 0x6a, 0xf0, 0x07, 0x37, 0xf0, 0x43, 0xa6, 0x5f, 0x3e, 0x6f, 0xe8, 0x85, 0x16, - 0x38, 0xcc, 0x70, 0x8c, 0x66, 0xc7, 0x27, 0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1c, 0x78, - 0x63, 0x1e, 0xd7, 0xd8, 0x5b, 0x40, 0xbd, 0xf6, 0x0e, 0xee, 0x7d, 0xed, 0xa2, 0xcd, 0x94, 0x57, - 0x64, 0xea, 0x2f, 0x60, 0xef, 0xfe, 0xb5, 0xcf, 0xeb, 0x78, 0x7c, 0xb9, 0x8f, 0x3b, 0x9f, 0xde, - 0x5a, 0x34, 0xe7, 0x25, 0x65, 0x39, 0xe1, 0x32, 0xf7, 0x73, 0x60, 0xe6, 0xea, 0xbb, 0x6f, 0x5f, - 0x14, 0xea, 0x2f, 0xbf, 0xa5, 0x9d, 0xb6, 0xfa, 0xd6, 0x9d, 0x39, 0x88, 0xa2, 0xef, 0xdd, 0x8d, - 0x83, 0x46, 0x19, 0x65, 0x8a, 0x34, 0xe5, 0xb8, 0xea, 0x07, 0x24, 0x76, 0xc9, 0x9f, 0x2e, 0x33, - 0x88, 0x32, 0x35, 0x68, 0x33, 0x83, 0x7e, 0x30, 0x68, 0x33, 0xbf, 0xba, 0x9b, 0x4d, 0x23, 0x0c, - 0xa3, 0x4c, 0x85, 0x61, 0x9b, 0x0a, 0xc3, 0x7e, 0x10, 0x86, 0x6d, 0x6e, 0x38, 0x67, 0x16, 0xfb, - 0xec, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf1, 0x88, 0x96, 0x3b, 0x42, 0x05, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/shared_set.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/shared_set.pb.go deleted file mode 100644 index e64b5265..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/shared_set.pb.go +++ /dev/null @@ -1,170 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/shared_set.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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 resource. Required. Immutable. - Type enums.SharedSetTypeEnum_SharedSetType `protobuf:"varint,3,opt,name=type,proto3,enum=google.ads.googleads.v2.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.v2.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_e01c233388407949, []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 (m *SharedSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_SharedSet.Merge(m, 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.v2.resources.SharedSet") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/shared_set.proto", fileDescriptor_e01c233388407949) -} - -var fileDescriptor_e01c233388407949 = []byte{ - // 456 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0x41, 0x6b, 0xd4, 0x40, - 0x14, 0xc7, 0x49, 0x76, 0x5d, 0xe9, 0xb4, 0xae, 0x90, 0x53, 0xa8, 0x45, 0xb6, 0x4a, 0x61, 0x41, - 0x98, 0x48, 0xaa, 0x1e, 0x46, 0x28, 0x64, 0x55, 0x8a, 0x1e, 0xa4, 0x64, 0x65, 0x0f, 0x65, 0x61, - 0x99, 0xcd, 0xbc, 0xc6, 0xc0, 0x66, 0x26, 0xcc, 0x4c, 0x2a, 0xfd, 0x3a, 0x1e, 0xfd, 0x1e, 0x5e, - 0xfc, 0x28, 0x7e, 0x05, 0x2f, 0x92, 0x99, 0xcc, 0x60, 0x91, 0x76, 0xf7, 0xf6, 0xf2, 0xe6, 0xff, - 0xff, 0xcd, 0xff, 0x3d, 0x26, 0x28, 0x2d, 0x85, 0x28, 0x37, 0x90, 0x50, 0xa6, 0x12, 0x5b, 0x76, - 0xd5, 0x75, 0x9a, 0x48, 0x50, 0xa2, 0x95, 0x05, 0xa8, 0x44, 0x7d, 0xa5, 0x12, 0xd8, 0x4a, 0x81, - 0xc6, 0x8d, 0x14, 0x5a, 0x44, 0xc7, 0x56, 0x88, 0x29, 0x53, 0xd8, 0x7b, 0xf0, 0x75, 0x8a, 0xbd, - 0xe7, 0xf0, 0xf5, 0x5d, 0x58, 0xe0, 0x6d, 0xfd, 0x2f, 0x72, 0xa5, 0x34, 0xd5, 0xad, 0xb2, 0xe4, - 0xc3, 0xd3, 0x9d, 0x6d, 0xfa, 0xa6, 0x81, 0xde, 0xf4, 0xb4, 0x37, 0x99, 0xaf, 0x75, 0x7b, 0x95, - 0x7c, 0x93, 0xb4, 0x69, 0x40, 0x3a, 0xe8, 0x91, 0x83, 0x36, 0x55, 0x42, 0x39, 0x17, 0x9a, 0xea, - 0x4a, 0xf0, 0xfe, 0x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 0x17, 0xc1, 0xe5, 0xa7, 0xde, 0x54, 0x8a, - 0x0d, 0xe5, 0x25, 0x16, 0xb2, 0x4c, 0x4a, 0xe0, 0xe6, 0x56, 0xf7, 0x0c, 0x9b, 0x4a, 0xdd, 0xf3, - 0x8f, 0xbc, 0xf5, 0xd5, 0xf7, 0x70, 0x70, 0x9e, 0x65, 0x3f, 0xc2, 0xe3, 0x73, 0x8b, 0xcc, 0x98, - 0xc2, 0xb6, 0xec, 0xaa, 0x45, 0x8a, 0x73, 0xa7, 0xfc, 0xe5, 0x34, 0xcb, 0x8c, 0xa9, 0xa5, 0xd7, - 0x2c, 0x17, 0xe9, 0xd2, 0x6b, 0x7e, 0x87, 0x27, 0xf6, 0x80, 0x90, 0x8c, 0x29, 0x42, 0xbc, 0x8a, - 0x90, 0x45, 0x4a, 0x88, 0xd7, 0xad, 0x47, 0x26, 0xec, 0xe9, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, - 0xf5, 0x90, 0x33, 0x55, 0xcf, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/shopping_performance_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/shopping_performance_view.pb.go deleted file mode 100644 index 700214d6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/shopping_performance_view.pb.go +++ /dev/null @@ -1,101 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/shopping_performance_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Shopping performance view. -// Provides Shopping campaign statistics aggregated at several product dimension -// levels. Product dimension values from Merchant Center such as brand, -// category, custom attributes, product condition and product type will reflect -// the state of each dimension as of the date and time when the corresponding -// event was recorded. -type ShoppingPerformanceView struct { - // The resource name of the Shopping performance view. - // Shopping performance view resource names have the form: - // `customers/{customer_id}/shoppingPerformanceView` - 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 *ShoppingPerformanceView) Reset() { *m = ShoppingPerformanceView{} } -func (m *ShoppingPerformanceView) String() string { return proto.CompactTextString(m) } -func (*ShoppingPerformanceView) ProtoMessage() {} -func (*ShoppingPerformanceView) Descriptor() ([]byte, []int) { - return fileDescriptor_b7d346b5b8256bba, []int{0} -} - -func (m *ShoppingPerformanceView) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ShoppingPerformanceView.Unmarshal(m, b) -} -func (m *ShoppingPerformanceView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ShoppingPerformanceView.Marshal(b, m, deterministic) -} -func (m *ShoppingPerformanceView) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShoppingPerformanceView.Merge(m, src) -} -func (m *ShoppingPerformanceView) XXX_Size() int { - return xxx_messageInfo_ShoppingPerformanceView.Size(m) -} -func (m *ShoppingPerformanceView) XXX_DiscardUnknown() { - xxx_messageInfo_ShoppingPerformanceView.DiscardUnknown(m) -} - -var xxx_messageInfo_ShoppingPerformanceView proto.InternalMessageInfo - -func (m *ShoppingPerformanceView) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*ShoppingPerformanceView)(nil), "google.ads.googleads.v2.resources.ShoppingPerformanceView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/shopping_performance_view.proto", fileDescriptor_b7d346b5b8256bba) -} - -var fileDescriptor_b7d346b5b8256bba = []byte{ - // 278 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0x41, 0x4a, 0xc4, 0x30, - 0x14, 0x86, 0x69, 0x05, 0xc1, 0xa2, 0x9b, 0xd9, 0x28, 0x32, 0x0b, 0x47, 0x19, 0x70, 0x95, 0x40, - 0xdd, 0x45, 0x10, 0x32, 0x9b, 0x01, 0x17, 0x52, 0x46, 0xe8, 0x42, 0x0a, 0x25, 0xb6, 0x31, 0x06, - 0xa6, 0x79, 0x21, 0xaf, 0x76, 0xce, 0xe0, 0x35, 0x5c, 0x7a, 0x14, 0x8f, 0xe2, 0x29, 0xa4, 0x93, - 0x49, 0x5c, 0xe9, 0xec, 0x7e, 0xda, 0x2f, 0xdf, 0xff, 0xf3, 0x32, 0xae, 0x00, 0xd4, 0x5a, 0x52, - 0xd1, 0x22, 0xf5, 0x71, 0x4c, 0x43, 0x4e, 0x9d, 0x44, 0x78, 0x73, 0x8d, 0x44, 0x8a, 0xaf, 0x60, - 0xad, 0x36, 0xaa, 0xb6, 0xd2, 0xbd, 0x80, 0xeb, 0x84, 0x69, 0x64, 0x3d, 0x68, 0xb9, 0x21, 0xd6, - 0x41, 0x0f, 0x93, 0x99, 0x7f, 0x47, 0x44, 0x8b, 0x24, 0x2a, 0xc8, 0x90, 0x93, 0xa8, 0x38, 0x9f, - 0x86, 0x16, 0xab, 0xa9, 0x30, 0x06, 0x7a, 0xd1, 0x6b, 0x30, 0xe8, 0x05, 0x97, 0x77, 0xd9, 0xe9, - 0xe3, 0xae, 0xa3, 0xf8, 0xad, 0x28, 0xb5, 0xdc, 0x4c, 0xae, 0xb2, 0x93, 0x60, 0xa9, 0x8d, 0xe8, - 0xe4, 0x59, 0x72, 0x91, 0x5c, 0x1f, 0xad, 0x8e, 0xc3, 0xc7, 0x07, 0xd1, 0xc9, 0xc5, 0x7b, 0x9a, - 0xcd, 0x1b, 0xe8, 0xc8, 0xde, 0x1d, 0x8b, 0xe9, 0x1f, 0x3d, 0xc5, 0xb8, 0xa3, 0x48, 0x9e, 0xee, - 0x77, 0x0a, 0x05, 0x6b, 0x61, 0x14, 0x01, 0xa7, 0xa8, 0x92, 0x66, 0xbb, 0x32, 0x5c, 0xc7, 0x6a, - 0xfc, 0xe7, 0x58, 0xb7, 0x31, 0x7d, 0xa4, 0x07, 0x4b, 0xce, 0x3f, 0xd3, 0xd9, 0xd2, 0x2b, 0x79, - 0x8b, 0xc4, 0xc7, 0x31, 0x95, 0x39, 0x59, 0x05, 0xf2, 0x2b, 0x30, 0x15, 0x6f, 0xb1, 0x8a, 0x4c, - 0x55, 0xe6, 0x55, 0x64, 0xbe, 0xd3, 0xb9, 0xff, 0xc1, 0x18, 0x6f, 0x91, 0xb1, 0x48, 0x31, 0x56, - 0xe6, 0x8c, 0x45, 0xee, 0xf9, 0x70, 0x3b, 0xf6, 0xe6, 0x27, 0x00, 0x00, 0xff, 0xff, 0x8b, 0x23, - 0x72, 0x2f, 0xd8, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/topic_constant.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/topic_constant.pb.go deleted file mode 100644 index 04239553..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/topic_constant.pb.go +++ /dev/null @@ -1,136 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/topic_constant.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // 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. List of available topic categories at - // https://developers.google.com/adwords/api/docs/appendix/verticals - 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_bc8e2bc7b19f8427, []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 (m *TopicConstant) XXX_Merge(src proto.Message) { - xxx_messageInfo_TopicConstant.Merge(m, 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.v2.resources.TopicConstant") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/topic_constant.proto", fileDescriptor_bc8e2bc7b19f8427) -} - -var fileDescriptor_bc8e2bc7b19f8427 = []byte{ - // 359 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xcf, 0x4a, 0xfb, 0x30, - 0x00, 0xc7, 0x69, 0x37, 0x7e, 0xf0, 0xab, 0xee, 0x52, 0x11, 0xca, 0x1c, 0xb2, 0x29, 0x83, 0x81, - 0x90, 0x4a, 0x95, 0x1d, 0xe2, 0xa9, 0xf3, 0x30, 0xf4, 0x20, 0x65, 0x4a, 0x0f, 0x52, 0x18, 0x59, - 0x1b, 0x6b, 0x60, 0x4b, 0x42, 0x92, 0xcd, 0xf7, 0xf1, 0xe8, 0xa3, 0xf8, 0x1e, 0x5e, 0x7c, 0x09, - 0xa5, 0x4d, 0x13, 0x1c, 0x82, 0xbb, 0x7d, 0x69, 0x3e, 0xdf, 0x3f, 0x4d, 0xbc, 0x71, 0xc9, 0x58, - 0xb9, 0xc4, 0x21, 0x2a, 0x64, 0xa8, 0x65, 0xa5, 0x36, 0x51, 0x28, 0xb0, 0x64, 0x6b, 0x91, 0x63, - 0x19, 0x2a, 0xc6, 0x49, 0x3e, 0xcf, 0x19, 0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x50, 0x4e, 0xe4, - 0x1f, 0xef, 0x7b, 0x65, 0xd5, 0xab, 0xdb, 0x9a, 0xc6, 0xf1, 0x9b, 0x3b, 0x98, 0xea, 0xc8, 0xb8, - 0x90, 0x40, 0xcb, 0x4a, 0xa5, 0x11, 0x98, 0x19, 0xf2, 0xdd, 0x30, 0x59, 0x5c, 0xc8, 0xcc, 0x32, - 0x59, 0x1a, 0x65, 0x96, 0xf9, 0x74, 0x87, 0xfa, 0x00, 0xc2, 0xb8, 0x90, 0x10, 0x5a, 0x0a, 0xc2, - 0x34, 0x82, 0xd0, 0x72, 0x8b, 0x7f, 0xf5, 0xd8, 0x8b, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf4, - 0xbb, 0xd3, 0x4f, 0x8b, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/topic_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/topic_view.pb.go deleted file mode 100644 index 7eba7a59..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/topic_view.pb.go +++ /dev/null @@ -1,96 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/topic_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_19e9fa6c2dd72e26, []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 (m *TopicView) XXX_Merge(src proto.Message) { - xxx_messageInfo_TopicView.Merge(m, 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.v2.resources.TopicView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/topic_view.proto", fileDescriptor_19e9fa6c2dd72e26) -} - -var fileDescriptor_19e9fa6c2dd72e26 = []byte{ - // 262 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0x31, 0x4b, 0xc4, 0x30, - 0x14, 0xc7, 0x69, 0x05, 0xe1, 0x8a, 0x3a, 0xdc, 0x24, 0xe2, 0xe0, 0x29, 0x07, 0x4e, 0x2f, 0x12, - 0xb7, 0x38, 0xe5, 0x96, 0x03, 0x07, 0x39, 0x0e, 0xe9, 0x20, 0x85, 0x23, 0x36, 0x21, 0x04, 0xae, - 0x79, 0xa5, 0xaf, 0xf6, 0xbe, 0x8f, 0xa3, 0x1f, 0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x10, 0x25, - 0x17, 0x22, 0x71, 0xaf, 0xc7, 0xd3, 0xb2, 0xf7, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x84, 0x81, - 0xa1, 0xfa, 0xad, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/user_interest.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/user_interest.pb.go deleted file mode 100644 index f8577a19..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/user_interest.pb.go +++ /dev/null @@ -1,169 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/user_interest.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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.v2.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_3f0e313311c98402, []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 (m *UserInterest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserInterest.Merge(m, 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.v2.resources.UserInterest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/user_interest.proto", fileDescriptor_3f0e313311c98402) -} - -var fileDescriptor_3f0e313311c98402 = []byte{ - // 518 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0xdd, 0x8a, 0xd3, 0x40, - 0x14, 0x26, 0x6d, 0x5d, 0x31, 0xdb, 0x56, 0x0d, 0x5e, 0x84, 0xba, 0x48, 0x57, 0x59, 0xe8, 0xd5, - 0x44, 0xe2, 0xcf, 0x45, 0x44, 0x24, 0x5d, 0x97, 0xa5, 0x5e, 0x2c, 0xa5, 0xd6, 0x5e, 0x48, 0x21, - 0x4c, 0x93, 0x63, 0x1c, 0x98, 0xcc, 0x09, 0x33, 0x93, 0x6a, 0x5e, 0x67, 0x2f, 0x7d, 0x14, 0x1f, - 0xc5, 0x87, 0x10, 0x69, 0xfe, 0x48, 0x77, 0xa9, 0x7a, 0x77, 0x92, 0xf3, 0xfd, 0x9c, 0x33, 0xf3, - 0x8d, 0xf9, 0x2a, 0x46, 0x8c, 0x39, 0x38, 0x34, 0x52, 0x4e, 0x59, 0xee, 0xaa, 0xad, 0xeb, 0x48, - 0x50, 0x98, 0xc9, 0x10, 0x94, 0x93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0xa8, 0x91, 0x3f, 0x6b, 0xcc, 0xda, 0x8f, 0xd4, 0xba, 0xc1, 0xac, 0x57, 0xee, 0xba, - 0xc1, 0xfc, 0xea, 0x9c, 0x95, 0x0d, 0xcf, 0xf3, 0x23, 0xe5, 0x79, 0x0d, 0xca, 0xf3, 0x56, 0xae, - 0xe7, 0x35, 0xb8, 0xcd, 0x51, 0x31, 0xec, 0x8b, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xa8, 0x89, - 0x72, 0xd1, 0x4d, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/user_list.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/user_list.pb.go deleted file mode 100644 index ad94dfee..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/user_list.pb.go +++ /dev/null @@ -1,428 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/user_list.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "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.ProtoPackageIsVersion3 // 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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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_RuleBasedUserList - // *UserList_LogicalUserList - // *UserList_BasicUserList - 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_4e9e9b976e83eeb7, []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 (m *UserList) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserList.Merge(m, 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"` -} - -type UserList_RuleBasedUserList struct { - RuleBasedUserList *common.RuleBasedUserListInfo `protobuf:"bytes,21,opt,name=rule_based_user_list,json=ruleBasedUserList,proto3,oneof"` -} - -type UserList_LogicalUserList struct { - LogicalUserList *common.LogicalUserListInfo `protobuf:"bytes,22,opt,name=logical_user_list,json=logicalUserList,proto3,oneof"` -} - -type UserList_BasicUserList struct { - BasicUserList *common.BasicUserListInfo `protobuf:"bytes,23,opt,name=basic_user_list,json=basicUserList,proto3,oneof"` -} - -func (*UserList_CrmBasedUserList) isUserList_UserList() {} - -func (*UserList_SimilarUserList) isUserList_UserList() {} - -func (*UserList_RuleBasedUserList) isUserList_UserList() {} - -func (*UserList_LogicalUserList) isUserList_UserList() {} - -func (*UserList_BasicUserList) 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 -} - -func (m *UserList) GetRuleBasedUserList() *common.RuleBasedUserListInfo { - if x, ok := m.GetUserList().(*UserList_RuleBasedUserList); ok { - return x.RuleBasedUserList - } - return nil -} - -func (m *UserList) GetLogicalUserList() *common.LogicalUserListInfo { - if x, ok := m.GetUserList().(*UserList_LogicalUserList); ok { - return x.LogicalUserList - } - return nil -} - -func (m *UserList) GetBasicUserList() *common.BasicUserListInfo { - if x, ok := m.GetUserList().(*UserList_BasicUserList); ok { - return x.BasicUserList - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*UserList) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*UserList_CrmBasedUserList)(nil), - (*UserList_SimilarUserList)(nil), - (*UserList_RuleBasedUserList)(nil), - (*UserList_LogicalUserList)(nil), - (*UserList_BasicUserList)(nil), - } -} - -func init() { - proto.RegisterType((*UserList)(nil), "google.ads.googleads.v2.resources.UserList") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/user_list.proto", fileDescriptor_4e9e9b976e83eeb7) -} - -var fileDescriptor_4e9e9b976e83eeb7 = []byte{ - // 927 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x96, 0x4d, 0x6f, 0xdb, 0x36, - 0x1c, 0xc6, 0x67, 0x37, 0xeb, 0x12, 0x26, 0x8e, 0x6d, 0x26, 0xe9, 0x84, 0xac, 0x18, 0xd2, 0x0d, - 0x05, 0x02, 0x0c, 0x90, 0x56, 0xb7, 0x7b, 0x81, 0x5b, 0x6c, 0xb0, 0xb3, 0x36, 0x6b, 0xe1, 0x76, - 0x81, 0xdc, 0xe5, 0xb0, 0x05, 0x10, 0x68, 0x89, 0x56, 0x08, 0x50, 0xa4, 0x40, 0x4a, 0x1d, 0xdc, - 0x9d, 0x76, 0xd8, 0x17, 0xd9, 0x71, 0x1f, 0x65, 0x1f, 0x65, 0x1f, 0x60, 0x87, 0x9d, 0x06, 0x51, - 0xa2, 0x4c, 0xd9, 0x75, 0xa4, 0xc3, 0x6e, 0xf4, 0x9f, 0xff, 0xdf, 0xf3, 0xe8, 0xe1, 0x8b, 0x2c, - 0xf0, 0x20, 0xe4, 0x3c, 0xa4, 0xd8, 0x41, 0x81, 0x74, 0xf2, 0x61, 0x36, 0x7a, 0x33, 0x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, 0x91, 0x37, 0x7c, 0x74, 0x3e, - 0x2e, 0x47, 0x7f, 0xb4, 0x6f, 0x9d, 0x8f, 0x46, 0x7f, 0xb6, 0xef, 0x9d, 0xe7, 0x92, 0xa3, 0x40, - 0xda, 0xf9, 0x30, 0x1b, 0x5d, 0x0e, 0x6c, 0x57, 0x77, 0xfe, 0xa5, 0x7b, 0xae, 0x46, 0x81, 0xbc, - 0x2a, 0x7b, 0xae, 0x2e, 0x07, 0x57, 0x65, 0xcf, 0xdf, 0xed, 0xfb, 0xf9, 0xc4, 0x70, 0x38, 0x0a, - 0xe4, 0x70, 0x58, 0x76, 0x0d, 0x87, 0x97, 0x83, 0xe1, 0xb0, 0xec, 0x9b, 0xdd, 0x56, 0x0f, 0xfb, - 0xf0, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x92, 0x7c, 0x0c, 0x2c, 0x20, 0x0b, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/user_location_view.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/user_location_view.pb.go deleted file mode 100644 index 554793b9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/user_location_view.pb.go +++ /dev/null @@ -1,126 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/user_location_view.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A user location view. -// -// User Location View includes all metrics aggregated at the country level, -// one row per country. It reports metrics at the actual physical location of -// the user by targeted or not targeted location. If other segment fields are -// used, you may get more than one row per country. -type UserLocationView struct { - // The resource name of the user location view. - // UserLocation view resource names have the form: - // - // `customers/{customer_id}/userLocationViews/{country_criterion_id}~{targeting_location}` - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // Criterion Id for the country. - CountryCriterionId *wrappers.Int64Value `protobuf:"bytes,2,opt,name=country_criterion_id,json=countryCriterionId,proto3" json:"country_criterion_id,omitempty"` - // Indicates whether location was targeted or not. - TargetingLocation *wrappers.BoolValue `protobuf:"bytes,3,opt,name=targeting_location,json=targetingLocation,proto3" json:"targeting_location,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserLocationView) Reset() { *m = UserLocationView{} } -func (m *UserLocationView) String() string { return proto.CompactTextString(m) } -func (*UserLocationView) ProtoMessage() {} -func (*UserLocationView) Descriptor() ([]byte, []int) { - return fileDescriptor_0f59642a3431baa2, []int{0} -} - -func (m *UserLocationView) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserLocationView.Unmarshal(m, b) -} -func (m *UserLocationView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserLocationView.Marshal(b, m, deterministic) -} -func (m *UserLocationView) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserLocationView.Merge(m, src) -} -func (m *UserLocationView) XXX_Size() int { - return xxx_messageInfo_UserLocationView.Size(m) -} -func (m *UserLocationView) XXX_DiscardUnknown() { - xxx_messageInfo_UserLocationView.DiscardUnknown(m) -} - -var xxx_messageInfo_UserLocationView proto.InternalMessageInfo - -func (m *UserLocationView) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *UserLocationView) GetCountryCriterionId() *wrappers.Int64Value { - if m != nil { - return m.CountryCriterionId - } - return nil -} - -func (m *UserLocationView) GetTargetingLocation() *wrappers.BoolValue { - if m != nil { - return m.TargetingLocation - } - return nil -} - -func init() { - proto.RegisterType((*UserLocationView)(nil), "google.ads.googleads.v2.resources.UserLocationView") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/user_location_view.proto", fileDescriptor_0f59642a3431baa2) -} - -var fileDescriptor_0f59642a3431baa2 = []byte{ - // 367 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xcf, 0x4a, 0xeb, 0x40, - 0x18, 0xc5, 0x49, 0x0a, 0x17, 0x6e, 0xee, 0x15, 0x34, 0x28, 0x94, 0x2a, 0xd2, 0x2a, 0x85, 0xae, - 0x26, 0x10, 0xc5, 0xc5, 0xb8, 0x4a, 0x5d, 0x94, 0x8a, 0x4a, 0x29, 0x98, 0x85, 0x04, 0xc2, 0x34, - 0x19, 0x87, 0x81, 0x74, 0xbe, 0x30, 0x33, 0x69, 0x71, 0xeb, 0xa3, 0xb8, 0xf4, 0x51, 0xdc, 0xf9, - 0x1a, 0x3e, 0x85, 0xe4, 0xcf, 0xcc, 0x42, 0x41, 0x77, 0x87, 0x99, 0xf3, 0x3b, 0xe7, 0x9b, 0xf9, - 0x3c, 0xcc, 0x00, 0x58, 0x41, 0x03, 0x92, 0xab, 0xa0, 0x95, 0xb5, 0xda, 0x84, 0x81, 0xa4, 0x0a, - 0x2a, 0x99, 0x51, 0x15, 0x54, 0x8a, 0xca, 0xb4, 0x80, 0x8c, 0x68, 0x0e, 0x22, 0xdd, 0x70, 0xba, - 0x45, 0xa5, 0x04, 0x0d, 0xfe, 0xa8, 0x05, 0x10, 0xc9, 0x15, 0xb2, 0x2c, 0xda, 0x84, 0xc8, 0xb2, - 0x83, 0xe3, 0x2e, 0xbe, 0x01, 0x56, 0xd5, 0x63, 0xb0, 0x95, 0xa4, 0x2c, 0xa9, 0x54, 0x6d, 0xc4, - 0xe0, 0xc8, 0xd4, 0x97, 0x3c, 0x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, 0xf3, 0xe1, 0x8e, 0xdb, - 0x0b, 0x8c, 0xa3, 0x5c, 0x61, 0x6c, 0x5d, 0x18, 0xc7, 0x21, 0xc6, 0xd6, 0xb7, 0xfa, 0xd3, 0x0c, - 0x7b, 0xf6, 0x19, 0x00, 0x00, 0xff, 0xff, 0x8e, 0x36, 0x49, 0xd0, 0x7e, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/video.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/video.pb.go deleted file mode 100644 index 5930b549..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/resources/video.pb.go +++ /dev/null @@ -1,140 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/resources/video.proto - -package resources - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // 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_6ce7c184e83c587c, []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 (m *Video) XXX_Merge(src proto.Message) { - xxx_messageInfo_Video.Merge(m, 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.v2.resources.Video") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/resources/video.proto", fileDescriptor_6ce7c184e83c587c) -} - -var fileDescriptor_6ce7c184e83c587c = []byte{ - // 370 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xdf, 0x4a, 0xf3, 0x30, - 0x18, 0xc6, 0x69, 0xf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x11, 0x6f, 0x0a, 0xc0, 0xf6, - 0x11, 0x73, 0x4e, 0xb3, 0x35, 0x23, 0x7e, 0x67, 0x0f, 0x57, 0xaf, 0xe5, 0x17, 0xc4, 0xbb, 0x02, - 0x07, 0xa4, 0x92, 0xcd, 0xb0, 0xeb, 0x9c, 0x65, 0x19, 0x53, 0xfe, 0xaf, 0x26, 0xe1, 0xf0, 0x4b, - 0xc2, 0x82, 0x97, 0x97, 0x17, 0x3a, 0xe0, 0xbf, 0xf1, 0xdc, 0x34, 0x16, 0x2f, 0x04, 0xdd, 0x92, - 0x95, 0x19, 0xf5, 0xbb, 0x7b, 0xb4, 0x6b, 0x74, 0xf6, 0xe1, 0x80, 0xf1, 0x56, 0xe4, 0xf0, 0xc7, - 0xdd, 0xcf, 0x40, 0xb3, 0xba, 0x65, 0x9d, 0xb5, 0x74, 0xee, 0xaf, 0x5b, 0x43, 0x2a, 0x32, 0xcc, - 0x53, 0x28, 0x64, 0x1a, 0xa4, 0x94, 0x37, 0x4d, 0xe6, 0xd6, 0x05, 0x53, 0xdf, 0x9c, 0x7e, 0x6a, - 0xd5, 0x8b, 0xdb, 0x99, 0x47, 0xd1, 0xab, 0x3b, 0x9a, 0xeb, 0xc8, 0x88, 0x28, 0xa8, 0x65, 0xad, - 0xe2, 0x10, 0xae, 0x0c, 0xf9, 0x66, 0x98, 0x24, 0x22, 0x2a, 0xb1, 0x4c, 0x12, 0x87, 0x89, 0x65, - 0xde, 0xdd, 0xb1, 0xfe, 0x40, 0x28, 0x22, 0x0a, 0x21, 0x4b, 0x21, 0x14, 0x87, 0x08, 0x59, 0x6e, - 0xf3, 0xbb, 0x19, 0xf6, 0xfc, 0x33, 0x00, 0x00, 0xff, 0xff, 0x97, 0x04, 0xb5, 0x4a, 0xa6, 0x02, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/account_budget_proposal_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/account_budget_proposal_service.pb.go deleted file mode 100644 index 568f6c47..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/account_budget_proposal_service.pb.go +++ /dev/null @@ -1,491 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/account_budget_proposal_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [AccountBudgetProposalService.GetAccountBudgetProposal][google.ads.googleads.v2.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_f1f46d07b5a8af03, []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 (m *GetAccountBudgetProposalRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAccountBudgetProposalRequest.Merge(m, 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.v2.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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_f1f46d07b5a8af03, []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 (m *MutateAccountBudgetProposalRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAccountBudgetProposalRequest.Merge(m, 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 -} - -func (m *MutateAccountBudgetProposalRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_f1f46d07b5a8af03, []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 (m *AccountBudgetProposalOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccountBudgetProposalOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*AccountBudgetProposalOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AccountBudgetProposalOperation_Create)(nil), - (*AccountBudgetProposalOperation_Remove)(nil), - } -} - -// 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_f1f46d07b5a8af03, []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 (m *MutateAccountBudgetProposalResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAccountBudgetProposalResponse.Merge(m, 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_f1f46d07b5a8af03, []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 (m *MutateAccountBudgetProposalResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAccountBudgetProposalResult.Merge(m, 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.v2.services.GetAccountBudgetProposalRequest") - proto.RegisterType((*MutateAccountBudgetProposalRequest)(nil), "google.ads.googleads.v2.services.MutateAccountBudgetProposalRequest") - proto.RegisterType((*AccountBudgetProposalOperation)(nil), "google.ads.googleads.v2.services.AccountBudgetProposalOperation") - proto.RegisterType((*MutateAccountBudgetProposalResponse)(nil), "google.ads.googleads.v2.services.MutateAccountBudgetProposalResponse") - proto.RegisterType((*MutateAccountBudgetProposalResult)(nil), "google.ads.googleads.v2.services.MutateAccountBudgetProposalResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/account_budget_proposal_service.proto", fileDescriptor_f1f46d07b5a8af03) -} - -var fileDescriptor_f1f46d07b5a8af03 = []byte{ - // 649 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0x31, 0x6f, 0xd4, 0x30, - 0x14, 0x26, 0x29, 0xaa, 0xa8, 0xaf, 0x2c, 0x5e, 0x88, 0xae, 0x15, 0xbd, 0xa6, 0x1d, 0xaa, 0x1b, - 0x1c, 0x29, 0x2c, 0x55, 0xaa, 0x8a, 0xe6, 0x80, 0x6b, 0x19, 0x4a, 0xab, 0x20, 0x75, 0x80, 0x13, - 0x91, 0x9b, 0xb8, 0x51, 0xd4, 0x24, 0x0e, 0xb1, 0x73, 0x52, 0x55, 0x75, 0xe9, 0xc4, 0xc0, 0xc6, - 0x3f, 0x60, 0xe4, 0xa7, 0x74, 0x65, 0x81, 0x9d, 0x89, 0x91, 0x5f, 0x80, 0x12, 0xdb, 0x77, 0xad, - 0x74, 0x97, 0x20, 0xba, 0xbd, 0xd8, 0x9f, 0xbf, 0xef, 0x7d, 0x7e, 0xef, 0x39, 0x60, 0x18, 0x51, - 0x1a, 0x25, 0xc4, 0xc2, 0x21, 0xb3, 0x44, 0x58, 0x45, 0x63, 0xdb, 0x62, 0xa4, 0x18, 0xc7, 0x01, - 0x61, 0x16, 0x0e, 0x02, 0x5a, 0x66, 0xdc, 0x3f, 0x2d, 0xc3, 0x88, 0x70, 0x3f, 0x2f, 0x68, 0x4e, - 0x19, 0x4e,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0xd7, 0x0d, 0x65, 0x0e, 0x6b, 0xbb, 0x7b, 0xe6, 0x4e, 0x65, 0x77, 0xea, 0xef, 0xf2, 0xd6, 0x73, - 0xb0, 0xdb, 0xbf, 0x9a, 0xe3, 0xd6, 0x49, 0x6b, 0x05, 0x47, 0xeb, 0x77, 0x57, 0x6e, 0x5c, 0x63, - 0x9a, 0x85, 0x8c, 0xf2, 0x98, 0xa1, 0x80, 0xa6, 0x83, 0x4f, 0x3a, 0xd8, 0x0c, 0x68, 0xda, 0x9a, - 0xf1, 0x60, 0xbd, 0xa9, 0x69, 0x8e, 0xab, 0xe9, 0x3d, 0xd6, 0xde, 0x1d, 0x48, 0x9a, 0x88, 0x26, - 0x38, 0x8b, 0x10, 0x2d, 0x22, 0x2b, 0x22, 0x59, 0x3d, 0xdb, 0xd6, 0x54, 0x78, 0xfe, 0xef, 0x63, - 0x47, 0x05, 0x5f, 0xf5, 0x85, 0x7d, 0xd7, 0xfd, 0xa6, 0xf7, 0xf6, 0x05, 0xa1, 0x1b, 0x32, 0x24, - 0xc2, 0x2a, 0x3a, 0xb1, 0x91, 0x14, 0x66, 0x37, 0x0a, 0x32, 0x72, 0x43, 0x36, 0x9a, 0x40, 0x46, - 0x27, 0xf6, 0x48, 0x41, 0x7e, 0xeb, 0x9b, 0x62, 0xdd, 0x71, 0xdc, 0x90, 0x39, 0xce, 0x04, 0xe4, - 0x38, 0x27, 0xb6, 0xe3, 0x28, 0xd8, 0xe9, 0x62, 0x9d, 0xe7, 0xb3, 0xbf, 0x01, 0x00, 0x00, 0xff, - 0xff, 0x5e, 0x91, 0xb5, 0xf1, 0xe5, 0x06, 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 - -// 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.v2.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.v2.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) -} - -// UnimplementedAccountBudgetProposalServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAccountBudgetProposalServiceServer struct { -} - -func (*UnimplementedAccountBudgetProposalServiceServer) GetAccountBudgetProposal(ctx context.Context, req *GetAccountBudgetProposalRequest) (*resources.AccountBudgetProposal, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAccountBudgetProposal not implemented") -} -func (*UnimplementedAccountBudgetProposalServiceServer) MutateAccountBudgetProposal(ctx context.Context, req *MutateAccountBudgetProposalRequest) (*MutateAccountBudgetProposalResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method MutateAccountBudgetProposal not implemented") -} - -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.v2.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.v2.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.v2.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/v2/services/account_budget_proposal_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/account_budget_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/account_budget_service.pb.go deleted file mode 100644 index 34dadd94..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/account_budget_service.pb.go +++ /dev/null @@ -1,189 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/account_budget_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [AccountBudgetService.GetAccountBudget][google.ads.googleads.v2.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_b0a8f4e7a5a98254, []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 (m *GetAccountBudgetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAccountBudgetRequest.Merge(m, 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.v2.services.GetAccountBudgetRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/account_budget_service.proto", fileDescriptor_b0a8f4e7a5a98254) -} - -var fileDescriptor_b0a8f4e7a5a98254 = []byte{ - // 387 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xc1, 0x4a, 0xeb, 0x40, - 0x18, 0x85, 0x49, 0x2e, 0x5c, 0xb8, 0xe1, 0x0a, 0x12, 0x84, 0xd6, 0xe8, 0xa2, 0xd4, 0x2e, 0xa4, - 0x8b, 0x99, 0x12, 0x41, 0x74, 0xa4, 0x42, 0xba, 0xa9, 0x2b, 0x29, 0x15, 0xba, 0x90, 0x40, 0x99, - 0x26, 0x43, 0x08, 0x34, 0x33, 0x35, 0xff, 0xa4, 0x1b, 0x11, 0xc4, 0x57, 0xf0, 0x0d, 0x5c, 0xfa, - 0x06, 0xbe, 0x42, 0xb7, 0xbe, 0x82, 0x2b, 0x37, 0xbe, 0x82, 0xa4, 0x93, 0x49, 0xad, 0x1a, 0xba, - 0x3b, 0xcc, 0xfc, 0xdf, 0x39, 0xf3, 0x9f, 0xc4, 0xea, 0x46, 0x42, 0x44, 0x53, 0x86, 0x69, 0x08, - 0x58, 0xc9, 0x5c, 0xcd, 0x5d, 0x0c, 0x2c, 0x9d, 0xc7, 0x01, 0x03, 0x4c, 0x83, 0x40, 0x64, 0x5c, - 0x8e, 0x27, 0x59, 0x18, 0x31, 0x39, 0x2e, 0xce, 0xd1, 0x2c, 0x15, 0x52, 0xd8, 0x0d, 0xc5, 0x20, - 0x1a, 0x02, 0x2a, 0x71, 0x34, 0x77, 0x91, 0xc6, 0x9d, 0xe3, 0xaa, 0x80, 0x94, 0x81, 0xc8, 0xd2, - 0x9f, 0x09, 0xca, 0xd9, 0xd9, 0xd7, 0xdc, 0x2c, 0xc6, 0x94, 0x73, 0x21, 0xa9, 0x8c, 0x05, 0x87, - 0xe2, 0xb6, 0xf6, 0xe5, 0x36, 0x98, 0xc6, 0x8c, 0x17, 0x58, 0xf3, 0xdc, 0xaa, 0xf5, 0x99, 0xf4, - 0x94, 0x63, 0x6f, 0x69, 0x38, 0x64, 0x37, 0x19, 0x03, 0x69, 0x1f, 0x58, 0x5b, 0x3a, 0x73, 0xcc, - 0x69, 0xc2, 0xea, 0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0x00, 0xff, 0xff, 0xcf, 0x0c, 0x5f, 0x94, 0x0d, - 0x03, 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 - -// 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.v2.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) -} - -// UnimplementedAccountBudgetServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAccountBudgetServiceServer struct { -} - -func (*UnimplementedAccountBudgetServiceServer) GetAccountBudget(ctx context.Context, req *GetAccountBudgetRequest) (*resources.AccountBudget, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAccountBudget not implemented") -} - -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.v2.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.v2.services.AccountBudgetService", - HandlerType: (*AccountBudgetServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetAccountBudget", - Handler: _AccountBudgetService_GetAccountBudget_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/account_budget_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_ad_asset_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_ad_asset_view_service.pb.go deleted file mode 100644 index d5ab7089..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_ad_asset_view_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/ad_group_ad_asset_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [AdGroupAdAssetViewService.GetAdGroupAdAssetView][google.ads.googleads.v2.services.AdGroupAdAssetViewService.GetAdGroupAdAssetView]. -type GetAdGroupAdAssetViewRequest struct { - // The resource name of the ad group ad asset 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 *GetAdGroupAdAssetViewRequest) Reset() { *m = GetAdGroupAdAssetViewRequest{} } -func (m *GetAdGroupAdAssetViewRequest) String() string { return proto.CompactTextString(m) } -func (*GetAdGroupAdAssetViewRequest) ProtoMessage() {} -func (*GetAdGroupAdAssetViewRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1330b0e2ddef9dd5, []int{0} -} - -func (m *GetAdGroupAdAssetViewRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAdGroupAdAssetViewRequest.Unmarshal(m, b) -} -func (m *GetAdGroupAdAssetViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAdGroupAdAssetViewRequest.Marshal(b, m, deterministic) -} -func (m *GetAdGroupAdAssetViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAdGroupAdAssetViewRequest.Merge(m, src) -} -func (m *GetAdGroupAdAssetViewRequest) XXX_Size() int { - return xxx_messageInfo_GetAdGroupAdAssetViewRequest.Size(m) -} -func (m *GetAdGroupAdAssetViewRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAdGroupAdAssetViewRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetAdGroupAdAssetViewRequest proto.InternalMessageInfo - -func (m *GetAdGroupAdAssetViewRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetAdGroupAdAssetViewRequest)(nil), "google.ads.googleads.v2.services.GetAdGroupAdAssetViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/ad_group_ad_asset_view_service.proto", fileDescriptor_1330b0e2ddef9dd5) -} - -var fileDescriptor_1330b0e2ddef9dd5 = []byte{ - // 397 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xcd, 0xaa, 0xd3, 0x40, - 0x14, 0x26, 0x11, 0x04, 0x83, 0x6e, 0x02, 0x62, 0x8d, 0x45, 0x4a, 0xed, 0x42, 0xba, 0x98, 0x81, - 0x48, 0x11, 0x46, 0x5a, 0x98, 0x8a, 0xc4, 0x95, 0x94, 0x0a, 0x59, 0x48, 0x20, 0x8c, 0x99, 0x21, - 0x04, 0x9a, 0x4c, 0xcc, 0x99, 0xa4, 0x0b, 0x71, 0x23, 0x08, 0xee, 0x7d, 0x03, 0x97, 0x3e, 0x4a, - 0xc1, 0x95, 0xaf, 0xe0, 0xca, 0xa7, 0x90, 0x74, 0x32, 0xe9, 0xbd, 0xf4, 0xe6, 0x76, 0xf7, 0x31, - 0xe7, 0xfb, 0x39, 0x3f, 0xe3, 0xbc, 0x49, 0xa5, 0x4c, 0x77, 0x02, 0x33, 0x0e, 0x58, 0xc3, 0x16, - 0x35, 0x3e, 0x06, 0x51, 0x35, 0x59, 0x22, 0x00, 0x33, 0x1e, 0xa7, 0x95, 0xac, 0xcb, 0x98, 0xf1, - 0x98, 0x01, 0x08, 0x15, 0x37, 0x99, 0xd8, 0xc7, 0x5d, 0x1d, 0x95, 0x95, 0x54, 0xd2, 0x9d, 0x68, - 0x2d, 0x62, 0x1c, 0x50, 0x6f, 0x83, 0x1a, 0x1f, 0x19, 0x1b, 0x6f, 0x35, 0x14, 0x54, 0x09, 0x90, - 0x75, 0x35, 0x9c, 0xa4, 0x13, 0xbc,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a7, 0x7d, 0x27, 0xa0, 0xf4, - 0x97, 0x3d, 0x09, 0xb4, 0x21, 0xe5, 0x80, 0x34, 0x6c, 0x51, 0xe8, 0xa3, 0x2e, 0x18, 0x0e, 0x86, - 0x12, 0x51, 0x0e, 0x51, 0x4f, 0x89, 0x42, 0x3f, 0x32, 0x94, 0x7f, 0xf6, 0x4c, 0xbf, 0x13, 0x42, - 0x39, 0x10, 0xd2, 0x93, 0x08, 0x09, 0x7d, 0x42, 0x0c, 0xed, 0xe3, 0xdd, 0x63, 0x9f, 0x2f, 0xfe, - 0x07, 0x00, 0x00, 0xff, 0xff, 0x21, 0x62, 0x1f, 0xc3, 0x40, 0x03, 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 - -// AdGroupAdAssetViewServiceClient is the client API for AdGroupAdAssetViewService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AdGroupAdAssetViewServiceClient interface { - // Returns the requested ad group ad asset view in full detail. - GetAdGroupAdAssetView(ctx context.Context, in *GetAdGroupAdAssetViewRequest, opts ...grpc.CallOption) (*resources.AdGroupAdAssetView, error) -} - -type adGroupAdAssetViewServiceClient struct { - cc *grpc.ClientConn -} - -func NewAdGroupAdAssetViewServiceClient(cc *grpc.ClientConn) AdGroupAdAssetViewServiceClient { - return &adGroupAdAssetViewServiceClient{cc} -} - -func (c *adGroupAdAssetViewServiceClient) GetAdGroupAdAssetView(ctx context.Context, in *GetAdGroupAdAssetViewRequest, opts ...grpc.CallOption) (*resources.AdGroupAdAssetView, error) { - out := new(resources.AdGroupAdAssetView) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.AdGroupAdAssetViewService/GetAdGroupAdAssetView", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AdGroupAdAssetViewServiceServer is the server API for AdGroupAdAssetViewService service. -type AdGroupAdAssetViewServiceServer interface { - // Returns the requested ad group ad asset view in full detail. - GetAdGroupAdAssetView(context.Context, *GetAdGroupAdAssetViewRequest) (*resources.AdGroupAdAssetView, error) -} - -// UnimplementedAdGroupAdAssetViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAdGroupAdAssetViewServiceServer struct { -} - -func (*UnimplementedAdGroupAdAssetViewServiceServer) GetAdGroupAdAssetView(ctx context.Context, req *GetAdGroupAdAssetViewRequest) (*resources.AdGroupAdAssetView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAdGroupAdAssetView not implemented") -} - -func RegisterAdGroupAdAssetViewServiceServer(s *grpc.Server, srv AdGroupAdAssetViewServiceServer) { - s.RegisterService(&_AdGroupAdAssetViewService_serviceDesc, srv) -} - -func _AdGroupAdAssetViewService_GetAdGroupAdAssetView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAdGroupAdAssetViewRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdGroupAdAssetViewServiceServer).GetAdGroupAdAssetView(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.AdGroupAdAssetViewService/GetAdGroupAdAssetView", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdGroupAdAssetViewServiceServer).GetAdGroupAdAssetView(ctx, req.(*GetAdGroupAdAssetViewRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _AdGroupAdAssetViewService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.AdGroupAdAssetViewService", - HandlerType: (*AdGroupAdAssetViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetAdGroupAdAssetView", - Handler: _AdGroupAdAssetViewService_GetAdGroupAdAssetView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/ad_group_ad_asset_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_ad_label_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_ad_label_service.pb.go deleted file mode 100644 index ac8482b4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_ad_label_service.pb.go +++ /dev/null @@ -1,500 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/ad_group_ad_label_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [AdGroupAdLabelService.GetAdGroupAdLabel][google.ads.googleads.v2.services.AdGroupAdLabelService.GetAdGroupAdLabel]. -type GetAdGroupAdLabelRequest struct { - // The resource name of the ad group ad label 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 *GetAdGroupAdLabelRequest) Reset() { *m = GetAdGroupAdLabelRequest{} } -func (m *GetAdGroupAdLabelRequest) String() string { return proto.CompactTextString(m) } -func (*GetAdGroupAdLabelRequest) ProtoMessage() {} -func (*GetAdGroupAdLabelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c813ff3d26d3adbb, []int{0} -} - -func (m *GetAdGroupAdLabelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAdGroupAdLabelRequest.Unmarshal(m, b) -} -func (m *GetAdGroupAdLabelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAdGroupAdLabelRequest.Marshal(b, m, deterministic) -} -func (m *GetAdGroupAdLabelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAdGroupAdLabelRequest.Merge(m, src) -} -func (m *GetAdGroupAdLabelRequest) XXX_Size() int { - return xxx_messageInfo_GetAdGroupAdLabelRequest.Size(m) -} -func (m *GetAdGroupAdLabelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAdGroupAdLabelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetAdGroupAdLabelRequest proto.InternalMessageInfo - -func (m *GetAdGroupAdLabelRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for [AdGroupAdLabelService.MutateAdGroupAdLabels][google.ads.googleads.v2.services.AdGroupAdLabelService.MutateAdGroupAdLabels]. -type MutateAdGroupAdLabelsRequest struct { - // ID of the customer whose ad group ad labels 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 ad group ad labels. - Operations []*AdGroupAdLabelOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateAdGroupAdLabelsRequest) Reset() { *m = MutateAdGroupAdLabelsRequest{} } -func (m *MutateAdGroupAdLabelsRequest) String() string { return proto.CompactTextString(m) } -func (*MutateAdGroupAdLabelsRequest) ProtoMessage() {} -func (*MutateAdGroupAdLabelsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c813ff3d26d3adbb, []int{1} -} - -func (m *MutateAdGroupAdLabelsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAdGroupAdLabelsRequest.Unmarshal(m, b) -} -func (m *MutateAdGroupAdLabelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAdGroupAdLabelsRequest.Marshal(b, m, deterministic) -} -func (m *MutateAdGroupAdLabelsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupAdLabelsRequest.Merge(m, src) -} -func (m *MutateAdGroupAdLabelsRequest) XXX_Size() int { - return xxx_messageInfo_MutateAdGroupAdLabelsRequest.Size(m) -} -func (m *MutateAdGroupAdLabelsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAdGroupAdLabelsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAdGroupAdLabelsRequest proto.InternalMessageInfo - -func (m *MutateAdGroupAdLabelsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateAdGroupAdLabelsRequest) GetOperations() []*AdGroupAdLabelOperation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *MutateAdGroupAdLabelsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateAdGroupAdLabelsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// A single operation (create, remove) on an ad group ad label. -type AdGroupAdLabelOperation struct { - // The mutate operation. - // - // Types that are valid to be assigned to Operation: - // *AdGroupAdLabelOperation_Create - // *AdGroupAdLabelOperation_Remove - Operation isAdGroupAdLabelOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdGroupAdLabelOperation) Reset() { *m = AdGroupAdLabelOperation{} } -func (m *AdGroupAdLabelOperation) String() string { return proto.CompactTextString(m) } -func (*AdGroupAdLabelOperation) ProtoMessage() {} -func (*AdGroupAdLabelOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_c813ff3d26d3adbb, []int{2} -} - -func (m *AdGroupAdLabelOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdGroupAdLabelOperation.Unmarshal(m, b) -} -func (m *AdGroupAdLabelOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdGroupAdLabelOperation.Marshal(b, m, deterministic) -} -func (m *AdGroupAdLabelOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupAdLabelOperation.Merge(m, src) -} -func (m *AdGroupAdLabelOperation) XXX_Size() int { - return xxx_messageInfo_AdGroupAdLabelOperation.Size(m) -} -func (m *AdGroupAdLabelOperation) XXX_DiscardUnknown() { - xxx_messageInfo_AdGroupAdLabelOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_AdGroupAdLabelOperation proto.InternalMessageInfo - -type isAdGroupAdLabelOperation_Operation interface { - isAdGroupAdLabelOperation_Operation() -} - -type AdGroupAdLabelOperation_Create struct { - Create *resources.AdGroupAdLabel `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type AdGroupAdLabelOperation_Remove struct { - Remove string `protobuf:"bytes,2,opt,name=remove,proto3,oneof"` -} - -func (*AdGroupAdLabelOperation_Create) isAdGroupAdLabelOperation_Operation() {} - -func (*AdGroupAdLabelOperation_Remove) isAdGroupAdLabelOperation_Operation() {} - -func (m *AdGroupAdLabelOperation) GetOperation() isAdGroupAdLabelOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *AdGroupAdLabelOperation) GetCreate() *resources.AdGroupAdLabel { - if x, ok := m.GetOperation().(*AdGroupAdLabelOperation_Create); ok { - return x.Create - } - return nil -} - -func (m *AdGroupAdLabelOperation) GetRemove() string { - if x, ok := m.GetOperation().(*AdGroupAdLabelOperation_Remove); ok { - return x.Remove - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AdGroupAdLabelOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AdGroupAdLabelOperation_Create)(nil), - (*AdGroupAdLabelOperation_Remove)(nil), - } -} - -// Response message for an ad group ad labels mutate. -type MutateAdGroupAdLabelsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // All results for the mutate. - Results []*MutateAdGroupAdLabelResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateAdGroupAdLabelsResponse) Reset() { *m = MutateAdGroupAdLabelsResponse{} } -func (m *MutateAdGroupAdLabelsResponse) String() string { return proto.CompactTextString(m) } -func (*MutateAdGroupAdLabelsResponse) ProtoMessage() {} -func (*MutateAdGroupAdLabelsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c813ff3d26d3adbb, []int{3} -} - -func (m *MutateAdGroupAdLabelsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAdGroupAdLabelsResponse.Unmarshal(m, b) -} -func (m *MutateAdGroupAdLabelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAdGroupAdLabelsResponse.Marshal(b, m, deterministic) -} -func (m *MutateAdGroupAdLabelsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupAdLabelsResponse.Merge(m, src) -} -func (m *MutateAdGroupAdLabelsResponse) XXX_Size() int { - return xxx_messageInfo_MutateAdGroupAdLabelsResponse.Size(m) -} -func (m *MutateAdGroupAdLabelsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAdGroupAdLabelsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAdGroupAdLabelsResponse proto.InternalMessageInfo - -func (m *MutateAdGroupAdLabelsResponse) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -func (m *MutateAdGroupAdLabelsResponse) GetResults() []*MutateAdGroupAdLabelResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for an ad group ad label mutate. -type MutateAdGroupAdLabelResult 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 *MutateAdGroupAdLabelResult) Reset() { *m = MutateAdGroupAdLabelResult{} } -func (m *MutateAdGroupAdLabelResult) String() string { return proto.CompactTextString(m) } -func (*MutateAdGroupAdLabelResult) ProtoMessage() {} -func (*MutateAdGroupAdLabelResult) Descriptor() ([]byte, []int) { - return fileDescriptor_c813ff3d26d3adbb, []int{4} -} - -func (m *MutateAdGroupAdLabelResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAdGroupAdLabelResult.Unmarshal(m, b) -} -func (m *MutateAdGroupAdLabelResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAdGroupAdLabelResult.Marshal(b, m, deterministic) -} -func (m *MutateAdGroupAdLabelResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupAdLabelResult.Merge(m, src) -} -func (m *MutateAdGroupAdLabelResult) XXX_Size() int { - return xxx_messageInfo_MutateAdGroupAdLabelResult.Size(m) -} -func (m *MutateAdGroupAdLabelResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAdGroupAdLabelResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAdGroupAdLabelResult proto.InternalMessageInfo - -func (m *MutateAdGroupAdLabelResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetAdGroupAdLabelRequest)(nil), "google.ads.googleads.v2.services.GetAdGroupAdLabelRequest") - proto.RegisterType((*MutateAdGroupAdLabelsRequest)(nil), "google.ads.googleads.v2.services.MutateAdGroupAdLabelsRequest") - proto.RegisterType((*AdGroupAdLabelOperation)(nil), "google.ads.googleads.v2.services.AdGroupAdLabelOperation") - proto.RegisterType((*MutateAdGroupAdLabelsResponse)(nil), "google.ads.googleads.v2.services.MutateAdGroupAdLabelsResponse") - proto.RegisterType((*MutateAdGroupAdLabelResult)(nil), "google.ads.googleads.v2.services.MutateAdGroupAdLabelResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/ad_group_ad_label_service.proto", fileDescriptor_c813ff3d26d3adbb) -} - -var fileDescriptor_c813ff3d26d3adbb = []byte{ - // 675 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x4f, 0x6b, 0xd4, 0x5a, - 0x14, 0x7f, 0xc9, 0x3c, 0xfa, 0x5e, 0xef, 0xf4, 0x3d, 0xf1, 0x4a, 0x69, 0x88, 0x15, 0x87, 0x58, - 0xb0, 0xcc, 0x22, 0xa1, 0xa9, 0x9b, 0x89, 0xd6, 0x9a, 0x82, 0x9d, 0x8a, 0x7f, 0x5a, 0x52, 0x18, - 0x50, 0x06, 0xc2, 0x6d, 0x72, 0x0d, 0x81, 0x24, 0x37, 0xde, 0x7b, 0x33, 0x50, 0x4a, 0x17, 0xba, - 0x77, 0xe5, 0x37, 0x70, 0xe9, 0x77, 0x10, 0xf7, 0x5d, 0x09, 0xae, 0xdc, 0xbb, 0x10, 0x3f, 0x85, - 0x24, 0x37, 0x77, 0xda, 0x19, 0x27, 0x8c, 0x76, 0x77, 0x72, 0xfe, 0xfc, 0x7e, 0xe7, 0x77, 0xce, - 0x3d, 0x01, 0x0f, 0x22, 0x42, 0xa2, 0x04, 0x5b, 0x28, 0x64, 0x96, 0x30, 0x4b, 0x6b, 0x64, 0x5b, - 0x0c, 0xd3, 0x51, 0x1c, 0x60, 0x66, 0xa1, 0xd0, 0x8f, 0x28, 0x29, 0x72, 0x1f, 0x85, 0x7e, 0x82, - 0x8e, 0x70, 0xe2, 0xd7, 0x21, 0x33, 0xa7, 0x84, 0x13, 0xd8, 0x11, 0x65, 0x26, 0x0a, 0x99, 0x39, - 0x46, 0x30, 0x47, 0xb6, 0x29, 0x11, 0xf4, 0x5e, 0x13, 0x07, 0xc5, 0x8c, 0x14, 0x74, 0x26, 0x89, - 0x00, 0xd7, 0x57, 0x65, 0x69, 0x1e, 0x5b, 0x28, 0xcb, 0x08, 0x47, 0x3c, 0x26, 0x19, 0xab, 0xa3, - 0x2b, 0x75, 0x94, 0xe6, 0x81, 0xc5, 0x38, 0xe2, 0xc5, 0x74, 0xa0, 0x2c, 0x0b, 0x92, 0x18, 0x67, - 0x5c, 0x04, 0x8c, 0x6d, 0xa0, 0xf5, 0x31, 0x77, 0xc3, 0x7e, 0x49, 0xe6, 0x86, 0x4f, 0x4a, 0x2a, - 0x0f, 0xbf, 0x2a, 0x30, 0xe3, 0xf0, 0x16, 0xf8, 0x4f, 0x36, 0xe4, 0x67, 0x28, 0xc5, 0x9a, 0xd2, - 0x51, 0xd6, 0x17, 0xbd, 0x25, 0xe9, 0x7c, 0x86, 0x52, 0x6c, 0x7c, 0x57, 0xc0, 0xea, 0xd3, 0x82, - 0x23, 0x8e, 0x27, 0x41, 0x98, 0x44, 0xb9, 0x09, 0xda, 0x41, 0xc1, 0x38, 0x49, 0x31, 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, 0x1a, 0xd8, 0x66, 0x4d, - 0xcc, 0xce, 0x64, 0xca, 0xd0, 0x0d, 0xd9, 0x70, 0x9c, 0x32, 0x1c, 0xd8, 0x43, 0x99, 0xf2, 0x43, - 0x5d, 0x13, 0x7e, 0xc7, 0x71, 0x43, 0xe6, 0x38, 0xe3, 0x24, 0xc7, 0x19, 0xd8, 0x8e, 0x23, 0xd3, - 0x8e, 0x16, 0xaa, 0x3e, 0x37, 0x7f, 0x06, 0x00, 0x00, 0xff, 0xff, 0x18, 0x31, 0x0d, 0xbd, 0x8f, - 0x06, 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 - -// AdGroupAdLabelServiceClient is the client API for AdGroupAdLabelService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AdGroupAdLabelServiceClient interface { - // Returns the requested ad group ad label in full detail. - GetAdGroupAdLabel(ctx context.Context, in *GetAdGroupAdLabelRequest, opts ...grpc.CallOption) (*resources.AdGroupAdLabel, error) - // Creates and removes ad group ad labels. - // Operation statuses are returned. - MutateAdGroupAdLabels(ctx context.Context, in *MutateAdGroupAdLabelsRequest, opts ...grpc.CallOption) (*MutateAdGroupAdLabelsResponse, error) -} - -type adGroupAdLabelServiceClient struct { - cc *grpc.ClientConn -} - -func NewAdGroupAdLabelServiceClient(cc *grpc.ClientConn) AdGroupAdLabelServiceClient { - return &adGroupAdLabelServiceClient{cc} -} - -func (c *adGroupAdLabelServiceClient) GetAdGroupAdLabel(ctx context.Context, in *GetAdGroupAdLabelRequest, opts ...grpc.CallOption) (*resources.AdGroupAdLabel, error) { - out := new(resources.AdGroupAdLabel) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.AdGroupAdLabelService/GetAdGroupAdLabel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adGroupAdLabelServiceClient) MutateAdGroupAdLabels(ctx context.Context, in *MutateAdGroupAdLabelsRequest, opts ...grpc.CallOption) (*MutateAdGroupAdLabelsResponse, error) { - out := new(MutateAdGroupAdLabelsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.AdGroupAdLabelService/MutateAdGroupAdLabels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AdGroupAdLabelServiceServer is the server API for AdGroupAdLabelService service. -type AdGroupAdLabelServiceServer interface { - // Returns the requested ad group ad label in full detail. - GetAdGroupAdLabel(context.Context, *GetAdGroupAdLabelRequest) (*resources.AdGroupAdLabel, error) - // Creates and removes ad group ad labels. - // Operation statuses are returned. - MutateAdGroupAdLabels(context.Context, *MutateAdGroupAdLabelsRequest) (*MutateAdGroupAdLabelsResponse, error) -} - -// UnimplementedAdGroupAdLabelServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAdGroupAdLabelServiceServer struct { -} - -func (*UnimplementedAdGroupAdLabelServiceServer) GetAdGroupAdLabel(ctx context.Context, req *GetAdGroupAdLabelRequest) (*resources.AdGroupAdLabel, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetAdGroupAdLabel not implemented") -} -func (*UnimplementedAdGroupAdLabelServiceServer) MutateAdGroupAdLabels(ctx context.Context, req *MutateAdGroupAdLabelsRequest) (*MutateAdGroupAdLabelsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateAdGroupAdLabels not implemented") -} - -func RegisterAdGroupAdLabelServiceServer(s *grpc.Server, srv AdGroupAdLabelServiceServer) { - s.RegisterService(&_AdGroupAdLabelService_serviceDesc, srv) -} - -func _AdGroupAdLabelService_GetAdGroupAdLabel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAdGroupAdLabelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdGroupAdLabelServiceServer).GetAdGroupAdLabel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.AdGroupAdLabelService/GetAdGroupAdLabel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdGroupAdLabelServiceServer).GetAdGroupAdLabel(ctx, req.(*GetAdGroupAdLabelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdGroupAdLabelService_MutateAdGroupAdLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateAdGroupAdLabelsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdGroupAdLabelServiceServer).MutateAdGroupAdLabels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.AdGroupAdLabelService/MutateAdGroupAdLabels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdGroupAdLabelServiceServer).MutateAdGroupAdLabels(ctx, req.(*MutateAdGroupAdLabelsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _AdGroupAdLabelService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.AdGroupAdLabelService", - HandlerType: (*AdGroupAdLabelServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetAdGroupAdLabel", - Handler: _AdGroupAdLabelService_GetAdGroupAdLabel_Handler, - }, - { - MethodName: "MutateAdGroupAdLabels", - Handler: _AdGroupAdLabelService_MutateAdGroupAdLabels_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/ad_group_ad_label_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_ad_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_ad_service.pb.go deleted file mode 100644 index 13b7c8ef..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_ad_service.pb.go +++ /dev/null @@ -1,539 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/ad_group_ad_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [AdGroupAdService.GetAdGroupAd][google.ads.googleads.v2.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_756c28aeb001c0ab, []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 (m *GetAdGroupAdRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAdGroupAdRequest.Merge(m, 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.v2.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_756c28aeb001c0ab, []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 (m *MutateAdGroupAdsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupAdsRequest.Merge(m, 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 -} - -func (m *MutateAdGroupAdsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateAdGroupAdsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_756c28aeb001c0ab, []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 (m *AdGroupAdOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupAdOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*AdGroupAdOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AdGroupAdOperation_Create)(nil), - (*AdGroupAdOperation_Update)(nil), - (*AdGroupAdOperation_Remove)(nil), - } -} - -// Response message for an ad group ad mutate. -type MutateAdGroupAdsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_756c28aeb001c0ab, []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 (m *MutateAdGroupAdsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupAdsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_756c28aeb001c0ab, []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 (m *MutateAdGroupAdResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupAdResult.Merge(m, 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.v2.services.GetAdGroupAdRequest") - proto.RegisterType((*MutateAdGroupAdsRequest)(nil), "google.ads.googleads.v2.services.MutateAdGroupAdsRequest") - proto.RegisterType((*AdGroupAdOperation)(nil), "google.ads.googleads.v2.services.AdGroupAdOperation") - proto.RegisterType((*MutateAdGroupAdsResponse)(nil), "google.ads.googleads.v2.services.MutateAdGroupAdsResponse") - proto.RegisterType((*MutateAdGroupAdResult)(nil), "google.ads.googleads.v2.services.MutateAdGroupAdResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/ad_group_ad_service.proto", fileDescriptor_756c28aeb001c0ab) -} - -var fileDescriptor_756c28aeb001c0ab = []byte{ - // 775 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0x41, 0x4f, 0xdb, 0x48, - 0x14, 0x5e, 0x27, 0xbb, 0xec, 0x32, 0x61, 0x77, 0xd1, 0x20, 0x84, 0x1b, 0x2a, 0x35, 0x72, 0x91, - 0x8a, 0x52, 0x64, 0x4b, 0x86, 0xaa, 0xc2, 0x94, 0x43, 0x90, 0x4a, 0xe8, 0x81, 0x92, 0x9a, 0x2a, - 0x87, 0x2a, 0x92, 0x35, 0xd8, 0x43, 0x64, 0x61, 0x7b, 0xdc, 0x99, 0x71, 0xa4, 0x08, 0x71, 0x69, - 0x7f, 0x42, 0xff, 0x41, 0x7b, 0x6a, 0xef, 0xfd, 0x09, 0xbd, 0x70, 0xed, 0xbd, 0xa7, 0x9e, 0xfa, - 0x1b, 0x7a, 0xa8, 0xc6, 0xe3, 0x31, 0x21, 0x10, 0xa5, 0x70, 0x7b, 0x7e, 0xf3, 0x7d, 0xdf, 0xfb, - 0x66, 0xde, 0x9b, 0x31, 0x70, 0xfa, 0x84, 0xf4, 0x23, 0x6c, 0xa1, 0x80, 0x59, 0x32, 0x14, 0xd1, - 0xc0, 0xb6, 0x18, 0xa6, 0x83, 0xd0, 0xc7, 0xcc, 0x42, 0x81, 0xd7, 0xa7, 0x24, 0x4b, 0x3d, 0x14, - 0x78, 0x45, 0xd2, 0x4c, 0x29, 0xe1, 0x04, 0x36, 0x24, 0xc1, 0x44, 0x01, 0x33, 0x4b, 0xae, 0x39, - 0xb0, 0x4d, 0xc5, 0xad, 0x3f, 0x9c, 0xa4, 0xee, 0x93, 0x38, 0x26, 0x89, 0x95, 0x92, 0x28, 0xf4, - 0x87, 0x52, 0xae, 0xbe, 0x3e, 0x09, 0x4c, 0x31, 0x23, 0x19, 0x1d, 0xf3, 0x52, 0x90, 0xee, 0x2a, - 0x52, 0x1a, 0x5a, 0x28, 0x49, 0x08, 0x47, 0x3c, 0x24, 0x09, 0x2b, 0x56, 0x0b, 0x87, 0x56, 0xfe, - 0x75, 0x94, 0x1d, 0x5b, 0xc7, 0x21, 0x8e, 0x02, 0x2f, 0x46, 0xec, 0xa4, 0x40, 0x2c, 0x15, 0x08, - 0x9a, 0xfa, 0x16, 0xe3, 0x88, 0x67, 0x6c, 0x6c, 0x41, 0x08, 0xfb, 0x51, 0x88, 0x13, 0x2e, 0x17, - 0x0c, 0x07, 0x2c, 0xb4, 0x31, 0x6f, 0x05, 0x6d, 0x61, 0xa4, 0x15, 0xb8, 0xf8, 0x75, 0x86, 0x19, - 0x87, 0xf7, 0xc1, 0xbf, 0xca, 0xa7, 0x97, 0xa0, 0x18, 0xeb, 0x5a, 0x43, 0x5b, 0x9d, 0x75, 0xe7, - 0x54, 0xf2, 0x39, 0x8a, 0xb1, 0xf1, 0x4d, 0x03, 0x4b, 0xfb, 0x19, 0x47, 0x1c, 0x97, 0x7c, 0xa6, - 0x04, 0xee, 0x81, 0x9a, 0x9f, 0x31, 0x4e, 0x62, 0x4c, 0xbd, 0x30, 0x28, 0xe8, 0x40, 0xa5, 0x9e, - 0x05, 0xf0, 0x25, 0x00, 0x24, 0xc5, 0x54, 0x6e, 0x50, 0xaf, 0x34, 0xaa, 0xab, 0x35, 0x7b, 0xc3, - 0x9c, 0xd6, 0x03, 0xb3, 0xac, 0x74, 0xa0, 0xc8, 0xee, 0x88, 0x0e, 0x7c, 0x00, 0xfe, 0x4f, 0x11, - 0xe5, 0x21, 0x8a, 0xbc, 0x63, 0x14, 0x46, 0x19, 0xc5, 0x7a, 0xb5, 0xa1, 0xad, 0xfe, 0xe3, 0xfe, - 0x57, 0xa4, 0x77, 0x65, 0x56, 0x6c, 0x70, 0x80, 0xa2, 0x30, 0x40, 0x1c, 0x7b, 0x24, 0x89, 0x86, - 0xfa, 0x9f, 0x39, 0x6c, 0x4e, 0x25, 0x0f, 0x92, 0x68, 0x68, 0xbc, 0xad, 0x02, 0x78, 0xb5, 0x20, - 0xdc, 0x02, 0xb5, 0x2c, 0xcd, 0x99, 0xe2, 0xe8, 0x73, 0x66, 0xcd, 0xae, 0x2b, 0xef, 0xaa, 0x3b, - 0xe6, 0xae, 0xe8, 0xce, 0x3e, 0x62, 0x27, 0x2e, 0x90, 0x70, 0x11, 0xc3, 0x21, 0x58, 0x96, 0x73, - 0xe2, 0x15, 0xa5, 0x42, 0x92, 0x78, 0x29, 0xa2, 0x28, 0xc6, 0x1c, 0x53, 0xfd, 0xaf, 0x5c, 0x6c, - 0x73, 0xe2, 0x41, 0xc8, 0x51, 0x33, 0x3b, 0xb9, 0x44, 0xb7, 0x54, 0xe8, 0x28, 0x01, 0xf7, 0x4e, - 0x3a, 0x69, 0x09, 0xee, 0x82, 0x19, 0x9f, 0x62, 0xc4, 0x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x72, 0x4a, - 0x0c, 0x27, 0xdf, 0xc1, 0x86, 0x61, 0xe5, 0xaf, 0x75, 0x69, 0xf9, 0x74, 0xe4, 0x89, 0xda, 0x6e, - 0x9e, 0x8d, 0x6c, 0xc0, 0x89, 0x73, 0x29, 0x47, 0x6b, 0xd6, 0x97, 0xcf, 0x5b, 0xfa, 0x45, 0xb9, - 0x22, 0x4a, 0x43, 0x26, 0xae, 0xe2, 0xce, 0x4f, 0x0d, 0xac, 0xf8, 0x24, 0x9e, 0x6a, 0x6d, 0x67, - 0x71, 0xbc, 0x97, 0x1d, 0xf1, 0x4c, 0x74, 0xb4, 0x57, 0x7b, 0x05, 0xb5, 0x4f, 0x22, 0x94, 0xf4, - 0x4d, 0x42, 0xfb, 0x56, 0x1f, 0x27, 0xf9, 0x23, 0x62, 0x5d, 0x14, 0x9b, 0xfc, 0x47, 0xdb, 0x52, - 0xc1, 0xfb, 0x4a, 0xb5, 0xdd, 0x6a, 0x7d, 0xaa, 0x34, 0xda, 0x52, 0xb0, 0x15, 0x30, 0x53, 0x86, - 0x22, 0xea, 0xda, 0x66, 0x51, 0x98, 0x9d, 0x2b, 0x48, 0xaf, 0x15, 0xb0, 0x5e, 0x09, 0xe9, 0x75, - 0xed, 0x9e, 0x82, 0xfc, 0xa8, 0xac, 0xc8, 0xbc, 0xe3, 0x88, 0xc3, 0x70, 0x4a, 0x90, 0xe3, 0x74, - 0x6d, 0xc7, 0x51, 0xb0, 0xa3, 0x99, 0xdc, 0xe7, 0xfa, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x3d, - 0x54, 0xe0, 0x0c, 0x78, 0x07, 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 - -// 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.v2.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.v2.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) -} - -// UnimplementedAdGroupAdServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAdGroupAdServiceServer struct { -} - -func (*UnimplementedAdGroupAdServiceServer) GetAdGroupAd(ctx context.Context, req *GetAdGroupAdRequest) (*resources.AdGroupAd, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetAdGroupAd not implemented") -} -func (*UnimplementedAdGroupAdServiceServer) MutateAdGroupAds(ctx context.Context, req *MutateAdGroupAdsRequest) (*MutateAdGroupAdsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateAdGroupAds not implemented") -} - -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.v2.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.v2.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.v2.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/v2/services/ad_group_ad_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_audience_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_audience_view_service.pb.go deleted file mode 100644 index 70d2e1ad..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_audience_view_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/ad_group_audience_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // 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_1e713f94d9c114b9, []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 (m *GetAdGroupAudienceViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAdGroupAudienceViewRequest.Merge(m, 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.v2.services.GetAdGroupAudienceViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/ad_group_audience_view_service.proto", fileDescriptor_1e713f94d9c114b9) -} - -var fileDescriptor_1e713f94d9c114b9 = []byte{ - // 397 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0x41, 0xcb, 0xd3, 0x40, - 0x10, 0x25, 0x11, 0x04, 0x83, 0x5e, 0x72, 0xd0, 0x12, 0x15, 0x4b, 0xed, 0x41, 0x7a, 0xd8, 0x85, - 0x08, 0x45, 0x56, 0xac, 0x6c, 0x51, 0xe2, 0x49, 0x4a, 0x85, 0x1c, 0x24, 0x10, 0xd6, 0xec, 0x10, - 0x16, 0x9a, 0xdd, 0x98, 0x4d, 0xd2, 0x83, 0x78, 0xf1, 0xe0, 0xcd, 0x93, 0xff, 0xc0, 0xa3, 0x3f, - 0xa5, 0x37, 0xf1, 0x2f, 0x78, 0xf2, 0x57, 0x48, 0xba, 0xd9, 0x54, 0xb1, 0xf9, 0x7a, 0x7b, 0xec, - 0xbc, 0x79, 0x6f, 0xe6, 0xcd, 0x7a, 0x2f, 0x73, 0xa5, 0xf2, 0x1d, 0x60, 0xc6, 0x35, 0x36, 0xb0, - 0x43, 0x6d, 0x88, 0x35, 0x54, 0xad, 0xc8, 0x40, 0x63, 0xc6, 0xd3, 0xbc, 0x52, 0x4d, 0x99, 0xb2, - 0x86, 0x0b, 0x90, 0x19, 0xa4, 0xad, 0x80, 0x7d, 0xda, 0xd7, 0x51, 0x59, 0xa9, 0x5a, 0xf9, 0x53, - 0xd3, 0x8b, 0x18, 0xd7, 0x68, 0x90, 0x41, 0x6d, 0x88, 0xac, 0x4c, 0xb0, 0x1a, 0x33, 0xaa, 0x40, - 0xab, 0xa6, 0x1a, 0x77, 0x32, 0x0e, 0xc1, 0x3d, 0xdb, 0x5f, 0x0a, 0xcc, 0xa4, 0x54, 0x35, 0xab, - 0x85, 0x92, 0xba, 0xaf, 0xde, 0xf9, 0xab, 0x9a, 0xed, 0x04, 0xc8, 0xda, 0x14, 0x66, 0x2f, 0xbc, - 0xfb, 0x11, 0xd4, 0x94, 0x47, 0x9d, 0x30, 0xed, 0x75, 0x63, 0x01, 0xfb, 0x2d, 0xbc, 0x6f, 0x40, - 0xd7, 0xfe, 0x43, 0xef, 0x96, 0x9d, 0x20, 0x95, 0xac, 0x80, 0x89, 0x33, 0x75, 0x1e, 0xdd, 0xd8, - 0xde, 0xb4, 0x8f, 0xaf, 0x59, 0x01, 0xe1, 0x17, 0xd7, 0x0b, 0xce, 0x68, 0xbc, 0x31, 0xcb, 0xf9, - 0x3f, 0x1c, 0xef, 0xf6, 0x79, 0x17, 0xff, 0x39, 0xba, 0x94, 0x0c, 0xba, 0x72, 0xbe, 0x60, 0x39, - 0x2a, 0x30, 0x04, 0x87, 0xce, 0xb4, 0xcf, 0x56, 0x9f, 0x7e, 0xfe, 0xfa, 0xea, 0x3e, 0xf1, 0x97, - 0x5d, 0xc6, 0x1f, 0xfe, 0x59, 0xf1, 0x59, 0xd6, 0xe8, 0x5a, 0x15, 0x50, 0x69, 0xbc, 0xc0, 0xec, - 0xff, 0x5e, 0x8d, 0x17, 0x1f, 0x83, 0xbb, 0x07, 0x3a, 0x39, 0xd9, 0xf5, 0xa8, 0x14, 0x1a, 0x65, - 0xaa, 0x58, 0x7f, 0x76, 0xbd, 0x79, 0xa6, 0x8a, 0x8b, 0xbb, 0xad, 0x1f, 0x8c, 0xa7, 0xb6, 0xe9, - 0xee, 0xb3, 0x71, 0xde, 0xbe, 0xea, 0x45, 0x72, 0xb5, 0x63, 0x32, 0x47, 0xaa, 0xca, 0x71, 0x0e, - 0xf2, 0x78, 0x3d, 0x7c, 0xb2, 0x1d, 0xff, 0xa0, 0x4f, 0x2d, 0xf8, 0xe6, 0x5e, 0x8b, 0x28, 0xfd, - 0xee, 0x4e, 0x23, 0x23, 0x48, 0xb9, 0x46, 0x06, 0x76, 0x28, 0x0e, 0x51, 0x6f, 0xac, 0x0f, 0x96, - 0x92, 0x50, 0xae, 0x93, 0x81, 0x92, 0xc4, 0x61, 0x62, 0x29, 0xbf, 0xdd, 0xb9, 0x79, 0x27, 0x84, - 0x72, 0x4d, 0xc8, 0x40, 0x22, 0x24, 0x0e, 0x09, 0xb1, 0xb4, 0x77, 0xd7, 0x8f, 0x73, 0x3e, 0xfe, - 0x13, 0x00, 0x00, 0xff, 0xff, 0x2d, 0x91, 0x6b, 0x3c, 0x47, 0x03, 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 - -// 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.v2.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) -} - -// UnimplementedAdGroupAudienceViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAdGroupAudienceViewServiceServer struct { -} - -func (*UnimplementedAdGroupAudienceViewServiceServer) GetAdGroupAudienceView(ctx context.Context, req *GetAdGroupAudienceViewRequest) (*resources.AdGroupAudienceView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAdGroupAudienceView not implemented") -} - -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.v2.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.v2.services.AdGroupAudienceViewService", - HandlerType: (*AdGroupAudienceViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetAdGroupAudienceView", - Handler: _AdGroupAudienceViewService_GetAdGroupAudienceView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/ad_group_audience_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_bid_modifier_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_bid_modifier_service.pb.go deleted file mode 100644 index bbbe7d59..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_bid_modifier_service.pb.go +++ /dev/null @@ -1,529 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/ad_group_bid_modifier_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [AdGroupBidModifierService.GetAdGroupBidModifier][google.ads.googleads.v2.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_5ce35a3f86b3e472, []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 (m *GetAdGroupBidModifierRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAdGroupBidModifierRequest.Merge(m, 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.v2.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_5ce35a3f86b3e472, []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 (m *MutateAdGroupBidModifiersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupBidModifiersRequest.Merge(m, 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 -} - -func (m *MutateAdGroupBidModifiersRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateAdGroupBidModifiersRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_5ce35a3f86b3e472, []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 (m *AdGroupBidModifierOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupBidModifierOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*AdGroupBidModifierOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AdGroupBidModifierOperation_Create)(nil), - (*AdGroupBidModifierOperation_Update)(nil), - (*AdGroupBidModifierOperation_Remove)(nil), - } -} - -// Response message for ad group bid modifiers mutate. -type MutateAdGroupBidModifiersResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_5ce35a3f86b3e472, []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 (m *MutateAdGroupBidModifiersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupBidModifiersResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_5ce35a3f86b3e472, []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 (m *MutateAdGroupBidModifierResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupBidModifierResult.Merge(m, 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.v2.services.GetAdGroupBidModifierRequest") - proto.RegisterType((*MutateAdGroupBidModifiersRequest)(nil), "google.ads.googleads.v2.services.MutateAdGroupBidModifiersRequest") - proto.RegisterType((*AdGroupBidModifierOperation)(nil), "google.ads.googleads.v2.services.AdGroupBidModifierOperation") - proto.RegisterType((*MutateAdGroupBidModifiersResponse)(nil), "google.ads.googleads.v2.services.MutateAdGroupBidModifiersResponse") - proto.RegisterType((*MutateAdGroupBidModifierResult)(nil), "google.ads.googleads.v2.services.MutateAdGroupBidModifierResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/ad_group_bid_modifier_service.proto", fileDescriptor_5ce35a3f86b3e472) -} - -var fileDescriptor_5ce35a3f86b3e472 = []byte{ - // 738 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0x4f, 0x6b, 0x13, 0x4f, - 0x18, 0xc7, 0x7f, 0xbb, 0xf9, 0x51, 0xed, 0xa4, 0x2a, 0x8c, 0x14, 0xd3, 0xb4, 0xd4, 0xb8, 0x16, - 0x2c, 0x39, 0xec, 0xc2, 0x4a, 0x51, 0xb6, 0x44, 0x4c, 0x6a, 0x9b, 0x7a, 0xa8, 0x2d, 0x5b, 0xe8, - 0xa1, 0x44, 0x96, 0xe9, 0xee, 0x24, 0x2c, 0xdd, 0xdd, 0x59, 0x67, 0x66, 0x03, 0xa5, 0xf4, 0x22, - 0xf8, 0x0a, 0x7c, 0x07, 0x7a, 0xf3, 0x8d, 0x08, 0x05, 0x4f, 0xbe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x99, 0x3e, 0x89, 0x5b, - 0x1f, 0x74, 0xb0, 0xe4, 0x93, 0x78, 0x62, 0xb2, 0xad, 0xc5, 0x91, 0xcb, 0xb1, 0x23, 0x9e, 0x8c, - 0x1d, 0x6d, 0x7f, 0xb3, 0x60, 0xf4, 0x48, 0x84, 0x92, 0x9e, 0x49, 0x68, 0xcf, 0xea, 0xe1, 0x24, - 0x7f, 0x50, 0xac, 0xb3, 0xa8, 0xa3, 0xff, 0xe8, 0x56, 0x95, 0xf1, 0x49, 0x2f, 0xb5, 0x9b, 0xcd, - 0x2f, 0x7a, 0xad, 0x2d, 0x81, 0xcd, 0x80, 0x99, 0xd2, 0x14, 0xd6, 0x9e, 0x6d, 0x16, 0x81, 0xd9, - 0xa9, 0x92, 0x74, 0x9a, 0x01, 0xeb, 0x0c, 0x24, 0x9d, 0x3d, 0xbb, 0xa3, 0x24, 0xbf, 0xf4, 0x25, - 0xe9, 0x77, 0x9c, 0x66, 0xc0, 0x1c, 0x67, 0x20, 0x72, 0x9c, 0x3d, 0xdb, 0x71, 0x94, 0xec, 0x60, - 0x2a, 0xcf, 0xf3, 0xe9, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x04, 0x1e, 0x1c, 0xc9, 0x8f, 0x07, - 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 - -// 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.v2.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.v2.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) -} - -// UnimplementedAdGroupBidModifierServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAdGroupBidModifierServiceServer struct { -} - -func (*UnimplementedAdGroupBidModifierServiceServer) GetAdGroupBidModifier(ctx context.Context, req *GetAdGroupBidModifierRequest) (*resources.AdGroupBidModifier, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetAdGroupBidModifier not implemented") -} -func (*UnimplementedAdGroupBidModifierServiceServer) MutateAdGroupBidModifiers(ctx context.Context, req *MutateAdGroupBidModifiersRequest) (*MutateAdGroupBidModifiersResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateAdGroupBidModifiers not implemented") -} - -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.v2.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.v2.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.v2.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/v2/services/ad_group_bid_modifier_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_criterion_label_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_criterion_label_service.pb.go deleted file mode 100644 index 6ead7cd7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_criterion_label_service.pb.go +++ /dev/null @@ -1,502 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/ad_group_criterion_label_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [AdGroupCriterionLabelService.GetAdGroupCriterionLabel][google.ads.googleads.v2.services.AdGroupCriterionLabelService.GetAdGroupCriterionLabel]. -type GetAdGroupCriterionLabelRequest struct { - // The resource name of the ad group criterion label 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 *GetAdGroupCriterionLabelRequest) Reset() { *m = GetAdGroupCriterionLabelRequest{} } -func (m *GetAdGroupCriterionLabelRequest) String() string { return proto.CompactTextString(m) } -func (*GetAdGroupCriterionLabelRequest) ProtoMessage() {} -func (*GetAdGroupCriterionLabelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d3ff5931695c10a3, []int{0} -} - -func (m *GetAdGroupCriterionLabelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAdGroupCriterionLabelRequest.Unmarshal(m, b) -} -func (m *GetAdGroupCriterionLabelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAdGroupCriterionLabelRequest.Marshal(b, m, deterministic) -} -func (m *GetAdGroupCriterionLabelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAdGroupCriterionLabelRequest.Merge(m, src) -} -func (m *GetAdGroupCriterionLabelRequest) XXX_Size() int { - return xxx_messageInfo_GetAdGroupCriterionLabelRequest.Size(m) -} -func (m *GetAdGroupCriterionLabelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAdGroupCriterionLabelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetAdGroupCriterionLabelRequest proto.InternalMessageInfo - -func (m *GetAdGroupCriterionLabelRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for -// [AdGroupCriterionLabelService.MutateAdGroupCriterionLabels][google.ads.googleads.v2.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels]. -type MutateAdGroupCriterionLabelsRequest struct { - // ID of the customer whose ad group criterion labels 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 ad group criterion labels. - Operations []*AdGroupCriterionLabelOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateAdGroupCriterionLabelsRequest) Reset() { *m = MutateAdGroupCriterionLabelsRequest{} } -func (m *MutateAdGroupCriterionLabelsRequest) String() string { return proto.CompactTextString(m) } -func (*MutateAdGroupCriterionLabelsRequest) ProtoMessage() {} -func (*MutateAdGroupCriterionLabelsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d3ff5931695c10a3, []int{1} -} - -func (m *MutateAdGroupCriterionLabelsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAdGroupCriterionLabelsRequest.Unmarshal(m, b) -} -func (m *MutateAdGroupCriterionLabelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAdGroupCriterionLabelsRequest.Marshal(b, m, deterministic) -} -func (m *MutateAdGroupCriterionLabelsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupCriterionLabelsRequest.Merge(m, src) -} -func (m *MutateAdGroupCriterionLabelsRequest) XXX_Size() int { - return xxx_messageInfo_MutateAdGroupCriterionLabelsRequest.Size(m) -} -func (m *MutateAdGroupCriterionLabelsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAdGroupCriterionLabelsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAdGroupCriterionLabelsRequest proto.InternalMessageInfo - -func (m *MutateAdGroupCriterionLabelsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateAdGroupCriterionLabelsRequest) GetOperations() []*AdGroupCriterionLabelOperation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *MutateAdGroupCriterionLabelsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateAdGroupCriterionLabelsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// A single operation (create, remove) on an ad group criterion label. -type AdGroupCriterionLabelOperation struct { - // The mutate operation. - // - // Types that are valid to be assigned to Operation: - // *AdGroupCriterionLabelOperation_Create - // *AdGroupCriterionLabelOperation_Remove - Operation isAdGroupCriterionLabelOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdGroupCriterionLabelOperation) Reset() { *m = AdGroupCriterionLabelOperation{} } -func (m *AdGroupCriterionLabelOperation) String() string { return proto.CompactTextString(m) } -func (*AdGroupCriterionLabelOperation) ProtoMessage() {} -func (*AdGroupCriterionLabelOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_d3ff5931695c10a3, []int{2} -} - -func (m *AdGroupCriterionLabelOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdGroupCriterionLabelOperation.Unmarshal(m, b) -} -func (m *AdGroupCriterionLabelOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdGroupCriterionLabelOperation.Marshal(b, m, deterministic) -} -func (m *AdGroupCriterionLabelOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupCriterionLabelOperation.Merge(m, src) -} -func (m *AdGroupCriterionLabelOperation) XXX_Size() int { - return xxx_messageInfo_AdGroupCriterionLabelOperation.Size(m) -} -func (m *AdGroupCriterionLabelOperation) XXX_DiscardUnknown() { - xxx_messageInfo_AdGroupCriterionLabelOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_AdGroupCriterionLabelOperation proto.InternalMessageInfo - -type isAdGroupCriterionLabelOperation_Operation interface { - isAdGroupCriterionLabelOperation_Operation() -} - -type AdGroupCriterionLabelOperation_Create struct { - Create *resources.AdGroupCriterionLabel `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type AdGroupCriterionLabelOperation_Remove struct { - Remove string `protobuf:"bytes,2,opt,name=remove,proto3,oneof"` -} - -func (*AdGroupCriterionLabelOperation_Create) isAdGroupCriterionLabelOperation_Operation() {} - -func (*AdGroupCriterionLabelOperation_Remove) isAdGroupCriterionLabelOperation_Operation() {} - -func (m *AdGroupCriterionLabelOperation) GetOperation() isAdGroupCriterionLabelOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *AdGroupCriterionLabelOperation) GetCreate() *resources.AdGroupCriterionLabel { - if x, ok := m.GetOperation().(*AdGroupCriterionLabelOperation_Create); ok { - return x.Create - } - return nil -} - -func (m *AdGroupCriterionLabelOperation) GetRemove() string { - if x, ok := m.GetOperation().(*AdGroupCriterionLabelOperation_Remove); ok { - return x.Remove - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AdGroupCriterionLabelOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AdGroupCriterionLabelOperation_Create)(nil), - (*AdGroupCriterionLabelOperation_Remove)(nil), - } -} - -// Response message for an ad group criterion labels mutate. -type MutateAdGroupCriterionLabelsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // All results for the mutate. - Results []*MutateAdGroupCriterionLabelResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateAdGroupCriterionLabelsResponse) Reset() { *m = MutateAdGroupCriterionLabelsResponse{} } -func (m *MutateAdGroupCriterionLabelsResponse) String() string { return proto.CompactTextString(m) } -func (*MutateAdGroupCriterionLabelsResponse) ProtoMessage() {} -func (*MutateAdGroupCriterionLabelsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d3ff5931695c10a3, []int{3} -} - -func (m *MutateAdGroupCriterionLabelsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAdGroupCriterionLabelsResponse.Unmarshal(m, b) -} -func (m *MutateAdGroupCriterionLabelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAdGroupCriterionLabelsResponse.Marshal(b, m, deterministic) -} -func (m *MutateAdGroupCriterionLabelsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupCriterionLabelsResponse.Merge(m, src) -} -func (m *MutateAdGroupCriterionLabelsResponse) XXX_Size() int { - return xxx_messageInfo_MutateAdGroupCriterionLabelsResponse.Size(m) -} -func (m *MutateAdGroupCriterionLabelsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAdGroupCriterionLabelsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAdGroupCriterionLabelsResponse proto.InternalMessageInfo - -func (m *MutateAdGroupCriterionLabelsResponse) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -func (m *MutateAdGroupCriterionLabelsResponse) GetResults() []*MutateAdGroupCriterionLabelResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for an ad group criterion label mutate. -type MutateAdGroupCriterionLabelResult 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 *MutateAdGroupCriterionLabelResult) Reset() { *m = MutateAdGroupCriterionLabelResult{} } -func (m *MutateAdGroupCriterionLabelResult) String() string { return proto.CompactTextString(m) } -func (*MutateAdGroupCriterionLabelResult) ProtoMessage() {} -func (*MutateAdGroupCriterionLabelResult) Descriptor() ([]byte, []int) { - return fileDescriptor_d3ff5931695c10a3, []int{4} -} - -func (m *MutateAdGroupCriterionLabelResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAdGroupCriterionLabelResult.Unmarshal(m, b) -} -func (m *MutateAdGroupCriterionLabelResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAdGroupCriterionLabelResult.Marshal(b, m, deterministic) -} -func (m *MutateAdGroupCriterionLabelResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupCriterionLabelResult.Merge(m, src) -} -func (m *MutateAdGroupCriterionLabelResult) XXX_Size() int { - return xxx_messageInfo_MutateAdGroupCriterionLabelResult.Size(m) -} -func (m *MutateAdGroupCriterionLabelResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAdGroupCriterionLabelResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAdGroupCriterionLabelResult proto.InternalMessageInfo - -func (m *MutateAdGroupCriterionLabelResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetAdGroupCriterionLabelRequest)(nil), "google.ads.googleads.v2.services.GetAdGroupCriterionLabelRequest") - proto.RegisterType((*MutateAdGroupCriterionLabelsRequest)(nil), "google.ads.googleads.v2.services.MutateAdGroupCriterionLabelsRequest") - proto.RegisterType((*AdGroupCriterionLabelOperation)(nil), "google.ads.googleads.v2.services.AdGroupCriterionLabelOperation") - proto.RegisterType((*MutateAdGroupCriterionLabelsResponse)(nil), "google.ads.googleads.v2.services.MutateAdGroupCriterionLabelsResponse") - proto.RegisterType((*MutateAdGroupCriterionLabelResult)(nil), "google.ads.googleads.v2.services.MutateAdGroupCriterionLabelResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/ad_group_criterion_label_service.proto", fileDescriptor_d3ff5931695c10a3) -} - -var fileDescriptor_d3ff5931695c10a3 = []byte{ - // 682 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0xcf, 0x6b, 0xd4, 0x4e, - 0x14, 0xff, 0x26, 0x2d, 0xfd, 0xda, 0xd9, 0xaa, 0x30, 0x22, 0x86, 0xb5, 0xd8, 0x6d, 0x5a, 0xb0, - 0xec, 0x21, 0x81, 0x78, 0x29, 0x29, 0x85, 0x4d, 0x4b, 0x77, 0x2b, 0xa8, 0x2d, 0x29, 0xf4, 0x20, - 0x2b, 0x71, 0x9a, 0x8c, 0x21, 0x90, 0x64, 0xe2, 0xcc, 0x64, 0xa1, 0x94, 0x5e, 0x3c, 0x79, 0xf3, - 0xe0, 0xd1, 0x9b, 0x47, 0xff, 0x94, 0x82, 0x27, 0x4f, 0xde, 0x3d, 0x79, 0xd7, 0xb3, 0x4c, 0x26, - 0xb3, 0xdb, 0x96, 0xfd, 0x21, 0xf6, 0xf6, 0xf6, 0xcd, 0x27, 0x9f, 0xcf, 0xfb, 0xbc, 0xf7, 0x66, - 0x16, 0xf4, 0x62, 0x42, 0xe2, 0x14, 0xdb, 0x28, 0x62, 0xb6, 0x0c, 0x45, 0x34, 0x70, 0x6c, 0x86, - 0xe9, 0x20, 0x09, 0x31, 0xb3, 0x51, 0x14, 0xc4, 0x94, 0x94, 0x45, 0x10, 0xd2, 0x84, 0x63, 0x9a, - 0x90, 0x3c, 0x48, 0xd1, 0x09, 0x4e, 0x83, 0x1a, 0x61, 0x15, 0x94, 0x70, 0x02, 0x5b, 0xf2, 0x6b, - 0x0b, 0x45, 0xcc, 0x1a, 0x12, 0x59, 0x03, 0xc7, 0x52, 0x44, 0xcd, 0xce, 0x24, 0x29, 0x8a, 0x19, - 0x29, 0xe9, 0x34, 0x2d, 0xa9, 0xd1, 0x5c, 0x56, 0x0c, 0x45, 0x62, 0xa3, 0x3c, 0x27, 0x1c, 0xf1, - 0x84, 0xe4, 0xac, 0x3e, 0x7d, 0x50, 0x9f, 0xd2, 0x22, 0xb4, 0x19, 0x47, 0xbc, 0xbc, 0x7e, 0x20, - 0x3e, 0x0b, 0xd3, 0x04, 0xe7, 0x5c, 0x1e, 0x98, 0x5d, 0xb0, 0xd2, 0xc3, 0xdc, 0x8b, 0x7a, 0x42, - 0x73, 0x57, 0x49, 0x3e, 0x13, 0x8a, 0x3e, 0x7e, 0x5b, 0x62, 0xc6, 0xe1, 0x1a, 0xb8, 0xad, 0xca, - 0x0b, 0x72, 0x94, 0x61, 0x43, 0x6b, 0x69, 0x1b, 0x8b, 0xfe, 0x92, 0x4a, 0xbe, 0x40, 0x19, 0x36, - 0x7f, 0x6b, 0x60, 0xed, 0x79, 0xc9, 0x11, 0xc7, 0x63, 0xb9, 0x98, 0x22, 0x5b, 0x01, 0x8d, 0xb0, - 0x64, 0x9c, 0x64, 0x98, 0x06, 0x49, 0x54, 0x53, 0x01, 0x95, 0x7a, 0x1a, 0xc1, 0xd7, 0x00, 0x90, - 0x02, 0x53, 0x69, 0xcb, 0xd0, 0x5b, 0x73, 0x1b, 0x0d, 0xa7, 0x63, 0xcd, 0xea, 0xac, 0x35, 0x56, - 0xf5, 0x40, 0x11, 0xf9, 0x97, 0x38, 0xe1, 0x63, 0x70, 0xb7, 0x40, 0x94, 0x27, 0x28, 0x0d, 0xde, - 0xa0, 0x24, 0x2d, 0x29, 0x36, 0xe6, 0x5a, 0xda, 0xc6, 0x2d, 0xff, 0x4e, 0x9d, 0xee, 0xca, 0xac, - 0x30, 0x3e, 0x40, 0x69, 0x12, 0x21, 0x8e, 0x03, 0x92, 0xa7, 0xa7, 0xc6, 0x7c, 0x05, 0x5b, 0x52, - 0xc9, 0x83, 0x3c, 0x3d, 0x35, 0x3f, 0x69, 0xe0, 0xd1, 0x74, 0x71, 0xe8, 0x83, 0x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, 0xb8, 0x63, 0x6e, 0x09, 0xc7, 0x23, 0x8b, 0x67, 0x97, 0x9e, 0x92, - 0xed, 0xf6, 0xf9, 0x04, 0xc3, 0x6e, 0x56, 0x49, 0xb8, 0x5a, 0xbb, 0xf9, 0xf0, 0xc2, 0x33, 0x46, - 0x65, 0xd4, 0x51, 0x91, 0x30, 0x2b, 0x24, 0xd9, 0xce, 0x7b, 0x1d, 0xac, 0x87, 0x24, 0x9b, 0x59, - 0xf2, 0xce, 0xea, 0xb4, 0xbd, 0x39, 0x14, 0xcf, 0xea, 0xa1, 0xf6, 0x72, 0xbf, 0xa6, 0x89, 0x49, - 0x8a, 0xf2, 0xd8, 0x22, 0x34, 0xb6, 0x63, 0x9c, 0x57, 0x8f, 0xae, 0x3d, 0x12, 0x9e, 0xfc, 0xa7, - 0xb3, 0xa5, 0x82, 0xcf, 0xfa, 0x5c, 0xcf, 0xf3, 0xbe, 0xe8, 0xad, 0x9e, 0x24, 0xf4, 0x22, 0x66, - 0xc9, 0x50, 0x44, 0xc7, 0x8e, 0x55, 0x0b, 0xb3, 0x0b, 0x05, 0xe9, 0x7b, 0x11, 0xeb, 0x0f, 0x21, - 0xfd, 0x63, 0xa7, 0xaf, 0x20, 0x3f, 0xf5, 0x75, 0x99, 0x77, 0x5d, 0x2f, 0x62, 0xae, 0x3b, 0x04, - 0xb9, 0xee, 0xb1, 0xe3, 0xba, 0x0a, 0x76, 0xb2, 0x50, 0xd5, 0xf9, 0xe4, 0x4f, 0x00, 0x00, 0x00, - 0xff, 0xff, 0x28, 0x6d, 0xc2, 0x67, 0x1b, 0x07, 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 - -// AdGroupCriterionLabelServiceClient is the client API for AdGroupCriterionLabelService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AdGroupCriterionLabelServiceClient interface { - // Returns the requested ad group criterion label in full detail. - GetAdGroupCriterionLabel(ctx context.Context, in *GetAdGroupCriterionLabelRequest, opts ...grpc.CallOption) (*resources.AdGroupCriterionLabel, error) - // Creates and removes ad group criterion labels. - // Operation statuses are returned. - MutateAdGroupCriterionLabels(ctx context.Context, in *MutateAdGroupCriterionLabelsRequest, opts ...grpc.CallOption) (*MutateAdGroupCriterionLabelsResponse, error) -} - -type adGroupCriterionLabelServiceClient struct { - cc *grpc.ClientConn -} - -func NewAdGroupCriterionLabelServiceClient(cc *grpc.ClientConn) AdGroupCriterionLabelServiceClient { - return &adGroupCriterionLabelServiceClient{cc} -} - -func (c *adGroupCriterionLabelServiceClient) GetAdGroupCriterionLabel(ctx context.Context, in *GetAdGroupCriterionLabelRequest, opts ...grpc.CallOption) (*resources.AdGroupCriterionLabel, error) { - out := new(resources.AdGroupCriterionLabel) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.AdGroupCriterionLabelService/GetAdGroupCriterionLabel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adGroupCriterionLabelServiceClient) MutateAdGroupCriterionLabels(ctx context.Context, in *MutateAdGroupCriterionLabelsRequest, opts ...grpc.CallOption) (*MutateAdGroupCriterionLabelsResponse, error) { - out := new(MutateAdGroupCriterionLabelsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.AdGroupCriterionLabelService/MutateAdGroupCriterionLabels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AdGroupCriterionLabelServiceServer is the server API for AdGroupCriterionLabelService service. -type AdGroupCriterionLabelServiceServer interface { - // Returns the requested ad group criterion label in full detail. - GetAdGroupCriterionLabel(context.Context, *GetAdGroupCriterionLabelRequest) (*resources.AdGroupCriterionLabel, error) - // Creates and removes ad group criterion labels. - // Operation statuses are returned. - MutateAdGroupCriterionLabels(context.Context, *MutateAdGroupCriterionLabelsRequest) (*MutateAdGroupCriterionLabelsResponse, error) -} - -// UnimplementedAdGroupCriterionLabelServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAdGroupCriterionLabelServiceServer struct { -} - -func (*UnimplementedAdGroupCriterionLabelServiceServer) GetAdGroupCriterionLabel(ctx context.Context, req *GetAdGroupCriterionLabelRequest) (*resources.AdGroupCriterionLabel, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetAdGroupCriterionLabel not implemented") -} -func (*UnimplementedAdGroupCriterionLabelServiceServer) MutateAdGroupCriterionLabels(ctx context.Context, req *MutateAdGroupCriterionLabelsRequest) (*MutateAdGroupCriterionLabelsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateAdGroupCriterionLabels not implemented") -} - -func RegisterAdGroupCriterionLabelServiceServer(s *grpc.Server, srv AdGroupCriterionLabelServiceServer) { - s.RegisterService(&_AdGroupCriterionLabelService_serviceDesc, srv) -} - -func _AdGroupCriterionLabelService_GetAdGroupCriterionLabel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAdGroupCriterionLabelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdGroupCriterionLabelServiceServer).GetAdGroupCriterionLabel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.AdGroupCriterionLabelService/GetAdGroupCriterionLabel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdGroupCriterionLabelServiceServer).GetAdGroupCriterionLabel(ctx, req.(*GetAdGroupCriterionLabelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdGroupCriterionLabelService_MutateAdGroupCriterionLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateAdGroupCriterionLabelsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdGroupCriterionLabelServiceServer).MutateAdGroupCriterionLabels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.AdGroupCriterionLabelService/MutateAdGroupCriterionLabels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdGroupCriterionLabelServiceServer).MutateAdGroupCriterionLabels(ctx, req.(*MutateAdGroupCriterionLabelsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _AdGroupCriterionLabelService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.AdGroupCriterionLabelService", - HandlerType: (*AdGroupCriterionLabelServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetAdGroupCriterionLabel", - Handler: _AdGroupCriterionLabelService_GetAdGroupCriterionLabel_Handler, - }, - { - MethodName: "MutateAdGroupCriterionLabels", - Handler: _AdGroupCriterionLabelService_MutateAdGroupCriterionLabels_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/ad_group_criterion_label_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_criterion_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_criterion_service.pb.go deleted file mode 100644 index 343441a9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_criterion_service.pb.go +++ /dev/null @@ -1,548 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/ad_group_criterion_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [AdGroupCriterionService.GetAdGroupCriterion][google.ads.googleads.v2.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_e67d835be997a4db, []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 (m *GetAdGroupCriterionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAdGroupCriterionRequest.Merge(m, 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.v2.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_e67d835be997a4db, []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 (m *MutateAdGroupCriteriaRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupCriteriaRequest.Merge(m, 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 -} - -func (m *MutateAdGroupCriteriaRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateAdGroupCriteriaRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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 list of policy violation keys that should not cause a - // PolicyViolationError to be reported. Not all policy violations are - // exemptable, please refer to the is_exemptible field in the returned - // PolicyViolationError. - // - // Resources violating these polices 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. - ExemptPolicyViolationKeys []*common.PolicyViolationKey `protobuf:"bytes,5,rep,name=exempt_policy_violation_keys,json=exemptPolicyViolationKeys,proto3" json:"exempt_policy_violation_keys,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_e67d835be997a4db, []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 (m *AdGroupCriterionOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupCriterionOperation.Merge(m, 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 -} - -func (m *AdGroupCriterionOperation) GetExemptPolicyViolationKeys() []*common.PolicyViolationKey { - if m != nil { - return m.ExemptPolicyViolationKeys - } - 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_OneofWrappers is for the internal use of the proto package. -func (*AdGroupCriterionOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AdGroupCriterionOperation_Create)(nil), - (*AdGroupCriterionOperation_Update)(nil), - (*AdGroupCriterionOperation_Remove)(nil), - } -} - -// Response message for an ad group criterion mutate. -type MutateAdGroupCriteriaResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_e67d835be997a4db, []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 (m *MutateAdGroupCriteriaResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupCriteriaResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_e67d835be997a4db, []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 (m *MutateAdGroupCriterionResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupCriterionResult.Merge(m, 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.v2.services.GetAdGroupCriterionRequest") - proto.RegisterType((*MutateAdGroupCriteriaRequest)(nil), "google.ads.googleads.v2.services.MutateAdGroupCriteriaRequest") - proto.RegisterType((*AdGroupCriterionOperation)(nil), "google.ads.googleads.v2.services.AdGroupCriterionOperation") - proto.RegisterType((*MutateAdGroupCriteriaResponse)(nil), "google.ads.googleads.v2.services.MutateAdGroupCriteriaResponse") - proto.RegisterType((*MutateAdGroupCriterionResult)(nil), "google.ads.googleads.v2.services.MutateAdGroupCriterionResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/ad_group_criterion_service.proto", fileDescriptor_e67d835be997a4db) -} - -var fileDescriptor_e67d835be997a4db = []byte{ - // 794 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0x41, 0x6f, 0xdb, 0x36, - 0x14, 0xc7, 0x27, 0x7b, 0xcb, 0x16, 0x3a, 0xdb, 0x00, 0x06, 0x41, 0x14, 0xcf, 0xc3, 0x0c, 0x2d, - 0xc0, 0x02, 0x0f, 0x90, 0x30, 0x65, 0x97, 0x28, 0xcb, 0x02, 0x25, 0x58, 0x9c, 0x61, 0xc8, 0x12, - 0x28, 0x80, 0x31, 0xac, 0x06, 0x04, 0x46, 0x62, 0x0c, 0x21, 0x92, 0xa8, 0x92, 0x94, 0x51, 0x23, - 0xc8, 0xa5, 0xfd, 0x06, 0xed, 0x37, 0xe8, 0xb1, 0xdf, 0xa2, 0xe8, 0x2d, 0xd7, 0x5e, 0xda, 0x7b, - 0x4f, 0xf9, 0x14, 0x05, 0x45, 0xd1, 0x89, 0x1d, 0x0b, 0x2e, 0xd2, 0xdb, 0x13, 0xf9, 0x7f, 0x3f, - 0xbe, 0xc7, 0xf7, 0xf8, 0x04, 0xdc, 0x01, 0x21, 0x83, 0x18, 0x5b, 0x28, 0x64, 0x96, 0x34, 0x85, - 0x35, 0xb4, 0x2d, 0x86, 0xe9, 0x30, 0x0a, 0x30, 0xb3, 0x50, 0xe8, 0x0f, 0x28, 0xc9, 0x33, 0x3f, - 0xa0, 0x11, 0xc7, 0x34, 0x22, 0xa9, 0x5f, 0xee, 0x99, 0x19, 0x25, 0x9c, 0xc0, 0xb6, 0xf4, 0x33, - 0x51, 0xc8, 0xcc, 0x31, 0xc2, 0x1c, 0xda, 0xa6, 0x42, 0x34, 0x7f, 0xad, 0x3a, 0x24, 0x20, 0x49, - 0x42, 0x52, 0x2b, 0x23, 0x71, 0x14, 0x8c, 0x24, 0xae, 0xe9, 0x54, 0x89, 0x29, 0x66, 0x24, 0xa7, - 0xb3, 0x43, 0x2a, 0x7d, 0x5b, 0xca, 0x37, 0x8b, 0x2c, 0x94, 0xa6, 0x84, 0x23, 0x1e, 0x91, 0x94, - 0x95, 0xbb, 0x65, 0xa0, 0x56, 0xf1, 0x75, 0x96, 0x9f, 0x5b, 0xe7, 0x11, 0x8e, 0x43, 0x3f, 0x41, - 0xec, 0xa2, 0x54, 0xac, 0x96, 0x0a, 0x9a, 0x05, 0x16, 0xe3, 0x88, 0xe7, 0x6c, 0x6a, 0x43, 0x80, - 0x83, 0x38, 0xc2, 0x29, 0x97, 0x1b, 0x86, 0x0b, 0x9a, 0x5d, 0xcc, 0xdd, 0xb0, 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00, - 0xff, 0xff, 0x1e, 0x5c, 0x81, 0xa0, 0xf7, 0x07, 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 - -// 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.v2.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.v2.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) -} - -// UnimplementedAdGroupCriterionServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAdGroupCriterionServiceServer struct { -} - -func (*UnimplementedAdGroupCriterionServiceServer) GetAdGroupCriterion(ctx context.Context, req *GetAdGroupCriterionRequest) (*resources.AdGroupCriterion, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetAdGroupCriterion not implemented") -} -func (*UnimplementedAdGroupCriterionServiceServer) MutateAdGroupCriteria(ctx context.Context, req *MutateAdGroupCriteriaRequest) (*MutateAdGroupCriteriaResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateAdGroupCriteria not implemented") -} - -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.v2.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.v2.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.v2.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/v2/services/ad_group_criterion_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_criterion_simulation_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_criterion_simulation_service.pb.go deleted file mode 100644 index 084a7556..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_criterion_simulation_service.pb.go +++ /dev/null @@ -1,189 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/ad_group_criterion_simulation_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [AdGroupCriterionSimulationService.GetAdGroupCriterionSimulation][google.ads.googleads.v2.services.AdGroupCriterionSimulationService.GetAdGroupCriterionSimulation]. -type GetAdGroupCriterionSimulationRequest struct { - // The resource name of the ad group criterion simulation 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 *GetAdGroupCriterionSimulationRequest) Reset() { *m = GetAdGroupCriterionSimulationRequest{} } -func (m *GetAdGroupCriterionSimulationRequest) String() string { return proto.CompactTextString(m) } -func (*GetAdGroupCriterionSimulationRequest) ProtoMessage() {} -func (*GetAdGroupCriterionSimulationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_237ab19084f89fc3, []int{0} -} - -func (m *GetAdGroupCriterionSimulationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAdGroupCriterionSimulationRequest.Unmarshal(m, b) -} -func (m *GetAdGroupCriterionSimulationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAdGroupCriterionSimulationRequest.Marshal(b, m, deterministic) -} -func (m *GetAdGroupCriterionSimulationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAdGroupCriterionSimulationRequest.Merge(m, src) -} -func (m *GetAdGroupCriterionSimulationRequest) XXX_Size() int { - return xxx_messageInfo_GetAdGroupCriterionSimulationRequest.Size(m) -} -func (m *GetAdGroupCriterionSimulationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAdGroupCriterionSimulationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetAdGroupCriterionSimulationRequest proto.InternalMessageInfo - -func (m *GetAdGroupCriterionSimulationRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetAdGroupCriterionSimulationRequest)(nil), "google.ads.googleads.v2.services.GetAdGroupCriterionSimulationRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/ad_group_criterion_simulation_service.proto", fileDescriptor_237ab19084f89fc3) -} - -var fileDescriptor_237ab19084f89fc3 = []byte{ - // 400 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0x3f, 0x6b, 0xdb, 0x40, - 0x18, 0xc6, 0x91, 0x0a, 0x85, 0x8a, 0x76, 0xd1, 0x52, 0xa3, 0xb6, 0xe0, 0xba, 0xa6, 0x14, 0x0f, - 0x77, 0xa0, 0x6e, 0x57, 0x4c, 0x91, 0x8b, 0xab, 0x42, 0x4b, 0x31, 0x36, 0x78, 0x28, 0x02, 0x71, - 0x95, 0x0e, 0x21, 0x90, 0x74, 0xca, 0xbd, 0x27, 0x2f, 0x21, 0x4b, 0xf6, 0x4c, 0xf9, 0x06, 0x19, - 0x33, 0xe5, 0x73, 0x78, 0xcd, 0x57, 0xc8, 0x14, 0xc8, 0x77, 0x08, 0xd2, 0xe9, 0xe4, 0x64, 0x50, - 0x94, 0xed, 0xe1, 0xde, 0x87, 0xdf, 0xf3, 0xfe, 0x39, 0xeb, 0x4f, 0xc2, 0x79, 0x92, 0x31, 0x4c, - 0x63, 0xc0, 0x4a, 0xd6, 0x6a, 0xe7, 0x62, 0x60, 0x62, 0x97, 0x46, 0x0c, 0x30, 0x8d, 0xc3, 0x44, - 0xf0, 0xaa, 0x0c, 0x23, 0x91, 0x4a, 0x26, 0x52, 0x5e, 0x84, 0x90, 0xe6, 0x55, 0x46, 0x65, 0x23, - 0x95, 0x0d, 0x95, 0x82, 0x4b, 0x6e, 0x8f, 0x15, 0x02, 0xd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, 0x9c, 0xb0, 0xa2, 0x39, 0x37, 0x3e, 0xa4, 0xf7, 0xff, 0xef, 0x6f, 0x5a, 0x5c, 0x98, 0x2f, - 0x7c, 0xcf, 0xbb, 0x34, 0xc7, 0xbe, 0x02, 0x7a, 0x31, 0x20, 0x25, 0x6b, 0xb5, 0x75, 0x51, 0x1b, - 0x0c, 0x7b, 0x6d, 0x09, 0xbc, 0x18, 0x82, 0xce, 0x12, 0x6c, 0xdd, 0x40, 0x5b, 0x6e, 0xcd, 0xa9, - 0x7a, 0x27, 0xc4, 0x8b, 0x81, 0x90, 0xce, 0x44, 0xc8, 0xd6, 0x25, 0x44, 0xdb, 0xfe, 0xbf, 0x6c, - 0xfa, 0xfc, 0x7a, 0x1f, 0x00, 0x00, 0xff, 0xff, 0x26, 0xe0, 0xa9, 0x72, 0x86, 0x03, 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 - -// AdGroupCriterionSimulationServiceClient is the client API for AdGroupCriterionSimulationService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AdGroupCriterionSimulationServiceClient interface { - // Returns the requested ad group criterion simulation in full detail. - GetAdGroupCriterionSimulation(ctx context.Context, in *GetAdGroupCriterionSimulationRequest, opts ...grpc.CallOption) (*resources.AdGroupCriterionSimulation, error) -} - -type adGroupCriterionSimulationServiceClient struct { - cc *grpc.ClientConn -} - -func NewAdGroupCriterionSimulationServiceClient(cc *grpc.ClientConn) AdGroupCriterionSimulationServiceClient { - return &adGroupCriterionSimulationServiceClient{cc} -} - -func (c *adGroupCriterionSimulationServiceClient) GetAdGroupCriterionSimulation(ctx context.Context, in *GetAdGroupCriterionSimulationRequest, opts ...grpc.CallOption) (*resources.AdGroupCriterionSimulation, error) { - out := new(resources.AdGroupCriterionSimulation) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.AdGroupCriterionSimulationService/GetAdGroupCriterionSimulation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AdGroupCriterionSimulationServiceServer is the server API for AdGroupCriterionSimulationService service. -type AdGroupCriterionSimulationServiceServer interface { - // Returns the requested ad group criterion simulation in full detail. - GetAdGroupCriterionSimulation(context.Context, *GetAdGroupCriterionSimulationRequest) (*resources.AdGroupCriterionSimulation, error) -} - -// UnimplementedAdGroupCriterionSimulationServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAdGroupCriterionSimulationServiceServer struct { -} - -func (*UnimplementedAdGroupCriterionSimulationServiceServer) GetAdGroupCriterionSimulation(ctx context.Context, req *GetAdGroupCriterionSimulationRequest) (*resources.AdGroupCriterionSimulation, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAdGroupCriterionSimulation not implemented") -} - -func RegisterAdGroupCriterionSimulationServiceServer(s *grpc.Server, srv AdGroupCriterionSimulationServiceServer) { - s.RegisterService(&_AdGroupCriterionSimulationService_serviceDesc, srv) -} - -func _AdGroupCriterionSimulationService_GetAdGroupCriterionSimulation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAdGroupCriterionSimulationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdGroupCriterionSimulationServiceServer).GetAdGroupCriterionSimulation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.AdGroupCriterionSimulationService/GetAdGroupCriterionSimulation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdGroupCriterionSimulationServiceServer).GetAdGroupCriterionSimulation(ctx, req.(*GetAdGroupCriterionSimulationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _AdGroupCriterionSimulationService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.AdGroupCriterionSimulationService", - HandlerType: (*AdGroupCriterionSimulationServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetAdGroupCriterionSimulation", - Handler: _AdGroupCriterionSimulationService_GetAdGroupCriterionSimulation_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/ad_group_criterion_simulation_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_extension_setting_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_extension_setting_service.pb.go deleted file mode 100644 index 90f6310b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_extension_setting_service.pb.go +++ /dev/null @@ -1,535 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/ad_group_extension_setting_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [AdGroupExtensionSettingService.GetAdGroupExtensionSetting][google.ads.googleads.v2.services.AdGroupExtensionSettingService.GetAdGroupExtensionSetting]. -type GetAdGroupExtensionSettingRequest struct { - // The resource name of the ad group extension setting 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 *GetAdGroupExtensionSettingRequest) Reset() { *m = GetAdGroupExtensionSettingRequest{} } -func (m *GetAdGroupExtensionSettingRequest) String() string { return proto.CompactTextString(m) } -func (*GetAdGroupExtensionSettingRequest) ProtoMessage() {} -func (*GetAdGroupExtensionSettingRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bf10cd4825f3524e, []int{0} -} - -func (m *GetAdGroupExtensionSettingRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAdGroupExtensionSettingRequest.Unmarshal(m, b) -} -func (m *GetAdGroupExtensionSettingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAdGroupExtensionSettingRequest.Marshal(b, m, deterministic) -} -func (m *GetAdGroupExtensionSettingRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAdGroupExtensionSettingRequest.Merge(m, src) -} -func (m *GetAdGroupExtensionSettingRequest) XXX_Size() int { - return xxx_messageInfo_GetAdGroupExtensionSettingRequest.Size(m) -} -func (m *GetAdGroupExtensionSettingRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAdGroupExtensionSettingRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetAdGroupExtensionSettingRequest proto.InternalMessageInfo - -func (m *GetAdGroupExtensionSettingRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for -// [AdGroupExtensionSettingService.MutateAdGroupExtensionSettings][google.ads.googleads.v2.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings]. -type MutateAdGroupExtensionSettingsRequest struct { - // The ID of the customer whose ad group extension settings 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 extension - // settings. - Operations []*AdGroupExtensionSettingOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateAdGroupExtensionSettingsRequest) Reset() { *m = MutateAdGroupExtensionSettingsRequest{} } -func (m *MutateAdGroupExtensionSettingsRequest) String() string { return proto.CompactTextString(m) } -func (*MutateAdGroupExtensionSettingsRequest) ProtoMessage() {} -func (*MutateAdGroupExtensionSettingsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bf10cd4825f3524e, []int{1} -} - -func (m *MutateAdGroupExtensionSettingsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAdGroupExtensionSettingsRequest.Unmarshal(m, b) -} -func (m *MutateAdGroupExtensionSettingsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAdGroupExtensionSettingsRequest.Marshal(b, m, deterministic) -} -func (m *MutateAdGroupExtensionSettingsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupExtensionSettingsRequest.Merge(m, src) -} -func (m *MutateAdGroupExtensionSettingsRequest) XXX_Size() int { - return xxx_messageInfo_MutateAdGroupExtensionSettingsRequest.Size(m) -} -func (m *MutateAdGroupExtensionSettingsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAdGroupExtensionSettingsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAdGroupExtensionSettingsRequest proto.InternalMessageInfo - -func (m *MutateAdGroupExtensionSettingsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateAdGroupExtensionSettingsRequest) GetOperations() []*AdGroupExtensionSettingOperation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *MutateAdGroupExtensionSettingsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateAdGroupExtensionSettingsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// A single operation (create, update, remove) on an ad group extension setting. -type AdGroupExtensionSettingOperation 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: - // *AdGroupExtensionSettingOperation_Create - // *AdGroupExtensionSettingOperation_Update - // *AdGroupExtensionSettingOperation_Remove - Operation isAdGroupExtensionSettingOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdGroupExtensionSettingOperation) Reset() { *m = AdGroupExtensionSettingOperation{} } -func (m *AdGroupExtensionSettingOperation) String() string { return proto.CompactTextString(m) } -func (*AdGroupExtensionSettingOperation) ProtoMessage() {} -func (*AdGroupExtensionSettingOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_bf10cd4825f3524e, []int{2} -} - -func (m *AdGroupExtensionSettingOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdGroupExtensionSettingOperation.Unmarshal(m, b) -} -func (m *AdGroupExtensionSettingOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdGroupExtensionSettingOperation.Marshal(b, m, deterministic) -} -func (m *AdGroupExtensionSettingOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupExtensionSettingOperation.Merge(m, src) -} -func (m *AdGroupExtensionSettingOperation) XXX_Size() int { - return xxx_messageInfo_AdGroupExtensionSettingOperation.Size(m) -} -func (m *AdGroupExtensionSettingOperation) XXX_DiscardUnknown() { - xxx_messageInfo_AdGroupExtensionSettingOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_AdGroupExtensionSettingOperation proto.InternalMessageInfo - -func (m *AdGroupExtensionSettingOperation) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -type isAdGroupExtensionSettingOperation_Operation interface { - isAdGroupExtensionSettingOperation_Operation() -} - -type AdGroupExtensionSettingOperation_Create struct { - Create *resources.AdGroupExtensionSetting `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type AdGroupExtensionSettingOperation_Update struct { - Update *resources.AdGroupExtensionSetting `protobuf:"bytes,2,opt,name=update,proto3,oneof"` -} - -type AdGroupExtensionSettingOperation_Remove struct { - Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` -} - -func (*AdGroupExtensionSettingOperation_Create) isAdGroupExtensionSettingOperation_Operation() {} - -func (*AdGroupExtensionSettingOperation_Update) isAdGroupExtensionSettingOperation_Operation() {} - -func (*AdGroupExtensionSettingOperation_Remove) isAdGroupExtensionSettingOperation_Operation() {} - -func (m *AdGroupExtensionSettingOperation) GetOperation() isAdGroupExtensionSettingOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *AdGroupExtensionSettingOperation) GetCreate() *resources.AdGroupExtensionSetting { - if x, ok := m.GetOperation().(*AdGroupExtensionSettingOperation_Create); ok { - return x.Create - } - return nil -} - -func (m *AdGroupExtensionSettingOperation) GetUpdate() *resources.AdGroupExtensionSetting { - if x, ok := m.GetOperation().(*AdGroupExtensionSettingOperation_Update); ok { - return x.Update - } - return nil -} - -func (m *AdGroupExtensionSettingOperation) GetRemove() string { - if x, ok := m.GetOperation().(*AdGroupExtensionSettingOperation_Remove); ok { - return x.Remove - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AdGroupExtensionSettingOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AdGroupExtensionSettingOperation_Create)(nil), - (*AdGroupExtensionSettingOperation_Update)(nil), - (*AdGroupExtensionSettingOperation_Remove)(nil), - } -} - -// Response message for an ad group extension setting mutate. -type MutateAdGroupExtensionSettingsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // All results for the mutate. - Results []*MutateAdGroupExtensionSettingResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateAdGroupExtensionSettingsResponse) Reset() { - *m = MutateAdGroupExtensionSettingsResponse{} -} -func (m *MutateAdGroupExtensionSettingsResponse) String() string { return proto.CompactTextString(m) } -func (*MutateAdGroupExtensionSettingsResponse) ProtoMessage() {} -func (*MutateAdGroupExtensionSettingsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bf10cd4825f3524e, []int{3} -} - -func (m *MutateAdGroupExtensionSettingsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAdGroupExtensionSettingsResponse.Unmarshal(m, b) -} -func (m *MutateAdGroupExtensionSettingsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAdGroupExtensionSettingsResponse.Marshal(b, m, deterministic) -} -func (m *MutateAdGroupExtensionSettingsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupExtensionSettingsResponse.Merge(m, src) -} -func (m *MutateAdGroupExtensionSettingsResponse) XXX_Size() int { - return xxx_messageInfo_MutateAdGroupExtensionSettingsResponse.Size(m) -} -func (m *MutateAdGroupExtensionSettingsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAdGroupExtensionSettingsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAdGroupExtensionSettingsResponse proto.InternalMessageInfo - -func (m *MutateAdGroupExtensionSettingsResponse) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -func (m *MutateAdGroupExtensionSettingsResponse) GetResults() []*MutateAdGroupExtensionSettingResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for the ad group extension setting mutate. -type MutateAdGroupExtensionSettingResult 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 *MutateAdGroupExtensionSettingResult) Reset() { *m = MutateAdGroupExtensionSettingResult{} } -func (m *MutateAdGroupExtensionSettingResult) String() string { return proto.CompactTextString(m) } -func (*MutateAdGroupExtensionSettingResult) ProtoMessage() {} -func (*MutateAdGroupExtensionSettingResult) Descriptor() ([]byte, []int) { - return fileDescriptor_bf10cd4825f3524e, []int{4} -} - -func (m *MutateAdGroupExtensionSettingResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAdGroupExtensionSettingResult.Unmarshal(m, b) -} -func (m *MutateAdGroupExtensionSettingResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAdGroupExtensionSettingResult.Marshal(b, m, deterministic) -} -func (m *MutateAdGroupExtensionSettingResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupExtensionSettingResult.Merge(m, src) -} -func (m *MutateAdGroupExtensionSettingResult) XXX_Size() int { - return xxx_messageInfo_MutateAdGroupExtensionSettingResult.Size(m) -} -func (m *MutateAdGroupExtensionSettingResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAdGroupExtensionSettingResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAdGroupExtensionSettingResult proto.InternalMessageInfo - -func (m *MutateAdGroupExtensionSettingResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetAdGroupExtensionSettingRequest)(nil), "google.ads.googleads.v2.services.GetAdGroupExtensionSettingRequest") - proto.RegisterType((*MutateAdGroupExtensionSettingsRequest)(nil), "google.ads.googleads.v2.services.MutateAdGroupExtensionSettingsRequest") - proto.RegisterType((*AdGroupExtensionSettingOperation)(nil), "google.ads.googleads.v2.services.AdGroupExtensionSettingOperation") - proto.RegisterType((*MutateAdGroupExtensionSettingsResponse)(nil), "google.ads.googleads.v2.services.MutateAdGroupExtensionSettingsResponse") - proto.RegisterType((*MutateAdGroupExtensionSettingResult)(nil), "google.ads.googleads.v2.services.MutateAdGroupExtensionSettingResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/ad_group_extension_setting_service.proto", fileDescriptor_bf10cd4825f3524e) -} - -var fileDescriptor_bf10cd4825f3524e = []byte{ - // 738 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x95, 0x4f, 0x6b, 0xd4, 0x4e, - 0x18, 0xc7, 0x7f, 0x49, 0x4b, 0x7f, 0x76, 0xb6, 0x2a, 0x8c, 0x88, 0xcb, 0x2a, 0x75, 0x4d, 0xab, - 0x96, 0x3d, 0x24, 0x10, 0x6f, 0xa9, 0x3d, 0x6c, 0xa4, 0xdd, 0xad, 0x50, 0x5b, 0x52, 0xe9, 0x41, - 0x16, 0xc2, 0x34, 0x99, 0x86, 0xd0, 0x24, 0x13, 0x67, 0x26, 0x8b, 0xa5, 0xf4, 0xe2, 0xd1, 0xab, - 0xaf, 0x40, 0x8f, 0x1e, 0x7d, 0x19, 0xbd, 0x89, 0xaf, 0x40, 0xf0, 0xe4, 0x4b, 0x10, 0x04, 0x99, - 0x4c, 0x66, 0xfb, 0x07, 0xb2, 0x29, 0xd4, 0xdb, 0x93, 0x67, 0xbe, 0xf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x68, 0x05, 0x05, 0xe3, 0x24, 0xc5, 0xd4, 0x8f, 0xc3, 0x0a, 0x06, 0x94, 0x6b, - 0x33, 0x84, 0xfb, 0x00, 0x90, 0x1c, 0x53, 0x59, 0x7c, 0x5b, 0xef, 0xce, 0xac, 0xb4, 0x6c, 0xd7, - 0x6c, 0xea, 0x80, 0x59, 0x13, 0x77, 0x5b, 0xa1, 0xbc, 0x73, 0x54, 0xf8, 0x14, 0xdc, 0xce, 0x11, - 0xe5, 0x31, 0x4a, 0xfc, 0x03, 0x14, 0x27, 0x05, 0xc5, 0xed, 0x99, 0xae, 0xb6, 0x72, 0xc3, 0xbb, - 0x55, 0xb9, 0x37, 0xa4, 0x57, 0x14, 0x3f, 0x46, 0x49, 0x1c, 0x22, 0x8e, 0x7d, 0x92, 0x25, 0x47, - 0xed, 0xd9, 0x52, 0xb6, 0xa0, 0x9c, 0xdb, 0x59, 0x72, 0x64, 0x7c, 0xd5, 0x41, 0xb7, 0x29, 0x3c, - 0x5c, 0x05, 0xad, 0x22, 0x2f, 0x39, 0xa2, 0x65, 0x25, 0xa7, 0x65, 0x77, 0x54, 0x5d, 0xaa, 0xab, - 0xe6, 0x86, 0xe8, 0xea, 0x16, 0x62, 0x87, 0x1e, 0x90, 0x72, 0x61, 0xc3, 0xd7, 0x60, 0x2e, 0xa0, - 0x18, 0x71, 0x79, 0xf9, 0x2d, 0xdb, 0xa9, 0xbd, 0x8f, 0xc9, 0xbc, 0xd5, 0x5d, 0xc8, 0xf0, 0x3f, - 0xaf, 0x62, 0x09, 0xaa, 0x8c, 0xd1, 0xd6, 0xff, 0x05, 0x55, 0xb2, 0x60, 0x1b, 0xcc, 0x51, 0x9c, - 0x92, 0xb1, 0xbc, 0xd2, 0x79, 0x71, 0x22, 0xbf, 0xdd, 0x16, 0x98, 0x9f, 0xf4, 0xc0, 0xf8, 0xa6, - 0x81, 0x27, 0x4d, 0x13, 0xc3, 0x72, 0x92, 0x31, 0x0c, 0x37, 0xc0, 0xd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e, 0x3b, 0xda, 0x9b, 0x61, 0x05, 0x8a, 0x48, 0x82, 0xb2, 0xc8, 0x24, 0x34, 0xb2, 0x22, 0x9c, - 0x95, 0xbb, 0xc9, 0x3a, 0x0b, 0x5d, 0xff, 0x8f, 0xba, 0xaa, 0x8c, 0xcf, 0xfa, 0xcc, 0xa0, 0xdf, - 0xff, 0xa2, 0x77, 0x07, 0x12, 0xd8, 0x0f, 0x99, 0x29, 0x4d, 0x61, 0xed, 0xd9, 0x66, 0x15, 0x98, - 0x9d, 0x2a, 0xc9, 0xa8, 0x1f, 0xb2, 0xd1, 0x44, 0x32, 0xda, 0xb3, 0x47, 0x4a, 0xf2, 0x4b, 0x5f, - 0x96, 0x7e, 0xc7, 0xe9, 0x87, 0xcc, 0x71, 0x26, 0x22, 0xc7, 0xd9, 0xb3, 0x1d, 0x47, 0xc9, 0xf6, - 0xe7, 0xca, 0x3c, 0x9f, 0xfd, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x97, 0xa5, 0xf7, 0x70, 0xf8, 0x07, - 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 - -// AdGroupExtensionSettingServiceClient is the client API for AdGroupExtensionSettingService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AdGroupExtensionSettingServiceClient interface { - // Returns the requested ad group extension setting in full detail. - GetAdGroupExtensionSetting(ctx context.Context, in *GetAdGroupExtensionSettingRequest, opts ...grpc.CallOption) (*resources.AdGroupExtensionSetting, error) - // Creates, updates, or removes ad group extension settings. Operation - // statuses are returned. - MutateAdGroupExtensionSettings(ctx context.Context, in *MutateAdGroupExtensionSettingsRequest, opts ...grpc.CallOption) (*MutateAdGroupExtensionSettingsResponse, error) -} - -type adGroupExtensionSettingServiceClient struct { - cc *grpc.ClientConn -} - -func NewAdGroupExtensionSettingServiceClient(cc *grpc.ClientConn) AdGroupExtensionSettingServiceClient { - return &adGroupExtensionSettingServiceClient{cc} -} - -func (c *adGroupExtensionSettingServiceClient) GetAdGroupExtensionSetting(ctx context.Context, in *GetAdGroupExtensionSettingRequest, opts ...grpc.CallOption) (*resources.AdGroupExtensionSetting, error) { - out := new(resources.AdGroupExtensionSetting) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.AdGroupExtensionSettingService/GetAdGroupExtensionSetting", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adGroupExtensionSettingServiceClient) MutateAdGroupExtensionSettings(ctx context.Context, in *MutateAdGroupExtensionSettingsRequest, opts ...grpc.CallOption) (*MutateAdGroupExtensionSettingsResponse, error) { - out := new(MutateAdGroupExtensionSettingsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.AdGroupExtensionSettingService/MutateAdGroupExtensionSettings", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AdGroupExtensionSettingServiceServer is the server API for AdGroupExtensionSettingService service. -type AdGroupExtensionSettingServiceServer interface { - // Returns the requested ad group extension setting in full detail. - GetAdGroupExtensionSetting(context.Context, *GetAdGroupExtensionSettingRequest) (*resources.AdGroupExtensionSetting, error) - // Creates, updates, or removes ad group extension settings. Operation - // statuses are returned. - MutateAdGroupExtensionSettings(context.Context, *MutateAdGroupExtensionSettingsRequest) (*MutateAdGroupExtensionSettingsResponse, error) -} - -// UnimplementedAdGroupExtensionSettingServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAdGroupExtensionSettingServiceServer struct { -} - -func (*UnimplementedAdGroupExtensionSettingServiceServer) GetAdGroupExtensionSetting(ctx context.Context, req *GetAdGroupExtensionSettingRequest) (*resources.AdGroupExtensionSetting, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetAdGroupExtensionSetting not implemented") -} -func (*UnimplementedAdGroupExtensionSettingServiceServer) MutateAdGroupExtensionSettings(ctx context.Context, req *MutateAdGroupExtensionSettingsRequest) (*MutateAdGroupExtensionSettingsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateAdGroupExtensionSettings not implemented") -} - -func RegisterAdGroupExtensionSettingServiceServer(s *grpc.Server, srv AdGroupExtensionSettingServiceServer) { - s.RegisterService(&_AdGroupExtensionSettingService_serviceDesc, srv) -} - -func _AdGroupExtensionSettingService_GetAdGroupExtensionSetting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAdGroupExtensionSettingRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdGroupExtensionSettingServiceServer).GetAdGroupExtensionSetting(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.AdGroupExtensionSettingService/GetAdGroupExtensionSetting", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdGroupExtensionSettingServiceServer).GetAdGroupExtensionSetting(ctx, req.(*GetAdGroupExtensionSettingRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdGroupExtensionSettingService_MutateAdGroupExtensionSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateAdGroupExtensionSettingsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdGroupExtensionSettingServiceServer).MutateAdGroupExtensionSettings(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.AdGroupExtensionSettingService/MutateAdGroupExtensionSettings", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdGroupExtensionSettingServiceServer).MutateAdGroupExtensionSettings(ctx, req.(*MutateAdGroupExtensionSettingsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _AdGroupExtensionSettingService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.AdGroupExtensionSettingService", - HandlerType: (*AdGroupExtensionSettingServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetAdGroupExtensionSetting", - Handler: _AdGroupExtensionSettingService_GetAdGroupExtensionSetting_Handler, - }, - { - MethodName: "MutateAdGroupExtensionSettings", - Handler: _AdGroupExtensionSettingService_MutateAdGroupExtensionSettings_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/ad_group_extension_setting_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_feed_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_feed_service.pb.go deleted file mode 100644 index 37ceb1cb..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_feed_service.pb.go +++ /dev/null @@ -1,528 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/ad_group_feed_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [AdGroupFeedService.GetAdGroupFeed][google.ads.googleads.v2.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_aa4ab4cc78ca1e07, []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 (m *GetAdGroupFeedRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAdGroupFeedRequest.Merge(m, 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.v2.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_aa4ab4cc78ca1e07, []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 (m *MutateAdGroupFeedsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupFeedsRequest.Merge(m, 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 -} - -func (m *MutateAdGroupFeedsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateAdGroupFeedsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_aa4ab4cc78ca1e07, []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 (m *AdGroupFeedOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupFeedOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*AdGroupFeedOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AdGroupFeedOperation_Create)(nil), - (*AdGroupFeedOperation_Update)(nil), - (*AdGroupFeedOperation_Remove)(nil), - } -} - -// Response message for an ad group feed mutate. -type MutateAdGroupFeedsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_aa4ab4cc78ca1e07, []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 (m *MutateAdGroupFeedsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupFeedsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_aa4ab4cc78ca1e07, []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 (m *MutateAdGroupFeedResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupFeedResult.Merge(m, 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.v2.services.GetAdGroupFeedRequest") - proto.RegisterType((*MutateAdGroupFeedsRequest)(nil), "google.ads.googleads.v2.services.MutateAdGroupFeedsRequest") - proto.RegisterType((*AdGroupFeedOperation)(nil), "google.ads.googleads.v2.services.AdGroupFeedOperation") - proto.RegisterType((*MutateAdGroupFeedsResponse)(nil), "google.ads.googleads.v2.services.MutateAdGroupFeedsResponse") - proto.RegisterType((*MutateAdGroupFeedResult)(nil), "google.ads.googleads.v2.services.MutateAdGroupFeedResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/ad_group_feed_service.proto", fileDescriptor_aa4ab4cc78ca1e07) -} - -var fileDescriptor_aa4ab4cc78ca1e07 = []byte{ - // 723 bytes of a gzipped FileDescriptorProto - 0x1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e, 0x8c, 0xf9, 0x51, 0x81, 0x58, 0x2d, 0x10, - 0x2c, 0xf5, 0x2d, 0x2e, 0xb0, 0xc8, 0xf8, 0x85, 0x07, 0x29, 0xec, 0x47, 0x21, 0x49, 0x84, 0x7a, - 0x30, 0x9b, 0x60, 0xa5, 0x43, 0x44, 0x2b, 0xe8, 0xc8, 0x54, 0xda, 0x84, 0x04, 0x2e, 0x79, 0x9b, - 0x11, 0x2e, 0xe0, 0x03, 0x70, 0x43, 0xe7, 0xea, 0x25, 0x38, 0x26, 0x55, 0xa3, 0x6e, 0xac, 0x2f, - 0xba, 0x4b, 0xda, 0xf9, 0x1a, 0xc7, 0xc4, 0xfc, 0x61, 0x80, 0x3b, 0xbb, 0x99, 0xc0, 0x82, 0x8c, - 0x29, 0x70, 0x2d, 0x71, 0x1f, 0x54, 0xfc, 0x8c, 0x0b, 0x1a, 0x13, 0xe6, 0x85, 0x41, 0x21, 0x00, - 0xb4, 0xeb, 0x55, 0x00, 0xbb, 0x00, 0xd0, 0x94, 0x30, 0x55, 0x64, 0xb5, 0x54, 0x2f, 0xaf, 0x57, - 0xec, 0x0d, 0x34, 0xaf, 0xb9, 0x68, 0x2c, 0xd6, 0x9e, 0xa6, 0xbb, 0x63, 0x4a, 0xf0, 0x21, 0xb8, - 0x99, 0x62, 0x26, 0x42, 0x1c, 0x79, 0x7d, 0x1c, 0x46, 0x19, 0x23, 0xd5, 0x72, 0xdd, 0x58, 0xbf, - 0xee, 0x2e, 0x17, 0xee, 0xb6, 0xf2, 0xca, 0x22, 0x87, 0x38, 0x0a, 0x03, 0x2c, 0x88, 0x47, 0x93, - 0xe8, 0xb8, 0xfa, 0x7f, 0x0e, 0x5b, 0xd2, 0xce, 0xbd, 0x24, 0x3a, 0x36, 0xdf, 0x97, 0xc0, 0xed, - 0xcb, 0x42, 0xc2, 0x4d, 0x50, 0xc9, 0xd2, 0x9c, 0x2b, 0x47, 0x90, 0x73, 0x2b, 0x76, 0x4d, 0xe7, - 0xa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 0x6a, 0x9c, 0xc2, 0x6f, 0x06, 0x80, 0xd3, 0x63, 0x84, 0x9b, - 0x57, 0xe8, 0xb2, 0x3e, 0xf9, 0x5a, 0xf3, 0x6a, 0x64, 0xb5, 0x39, 0x66, 0x33, 0xaf, 0x64, 0xc3, - 0x7c, 0x2c, 0x2b, 0x39, 0x4f, 0xfd, 0x64, 0xec, 0x2b, 0xb2, 0xd5, 0x38, 0x9d, 0x28, 0xc4, 0x89, - 0x73, 0x39, 0xc7, 0x68, 0xd4, 0xee, 0x9e, 0xb5, 0xaa, 0xe7, 0x21, 0x0b, 0x2b, 0x0d, 0x39, 0xf2, - 0x69, 0xbc, 0xfd, 0xdb, 0x00, 0x6b, 0x3e, 0x8d, 0xe7, 0xa6, 0xb7, 0xbd, 0x3a, 0x3d, 0xdd, 0x7d, - 0x79, 0xc9, 0xfb, 0xc6, 0x9b, 0x9d, 0x82, 0x3c, 0xa0, 0x11, 0x4e, 0x06, 0x88, 0xb2, 0x81, 0x35, - 0x20, 0x49, 0x7e, 0xe7, 0xd6, 0x79, 0xb8, 0xd9, 0xff, 0x29, 0x9b, 0xda, 0xf8, 0x58, 0x2a, 0x77, - 0x5a, 0xad, 0x4f, 0xa5, 0x7a, 0x47, 0x09, 0xb6, 0x02, 0x8e, 0x94, 0x29, 0xad, 0xae, 0x8d, 0x8a, - 0xc0, 0xfc, 0x4c, 0x43, 0x7a, 0xad, 0x80, 0xf7, 0x46, 0x90, 0x5e, 0xd7, 0xee, 0x69, 0xc8, 0xaf, - 0xd2, 0x9a, 0xf2, 0x3b, 0x4e, 0x2b, 0xe0, 0x8e, 0x33, 0x02, 0x39, 0x4e, 0xd7, 0x76, 0x1c, 0x0d, - 0x3b, 0x5c, 0xc8, 0xf3, 0x7c, 0xf2, 0x27, 0x00, 0x00, 0xff, 0xff, 0x5d, 0x21, 0x10, 0x52, 0xfa, - 0x06, 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 - -// 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.v2.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.v2.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) -} - -// UnimplementedAdGroupFeedServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAdGroupFeedServiceServer struct { -} - -func (*UnimplementedAdGroupFeedServiceServer) GetAdGroupFeed(ctx context.Context, req *GetAdGroupFeedRequest) (*resources.AdGroupFeed, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetAdGroupFeed not implemented") -} -func (*UnimplementedAdGroupFeedServiceServer) MutateAdGroupFeeds(ctx context.Context, req *MutateAdGroupFeedsRequest) (*MutateAdGroupFeedsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateAdGroupFeeds not implemented") -} - -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.v2.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.v2.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.v2.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/v2/services/ad_group_feed_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_label_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_label_service.pb.go deleted file mode 100644 index c7f9c994..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_label_service.pb.go +++ /dev/null @@ -1,499 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/ad_group_label_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [AdGroupLabelService.GetAdGroupLabel][google.ads.googleads.v2.services.AdGroupLabelService.GetAdGroupLabel]. -type GetAdGroupLabelRequest struct { - // The resource name of the ad group label 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 *GetAdGroupLabelRequest) Reset() { *m = GetAdGroupLabelRequest{} } -func (m *GetAdGroupLabelRequest) String() string { return proto.CompactTextString(m) } -func (*GetAdGroupLabelRequest) ProtoMessage() {} -func (*GetAdGroupLabelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8693fa91b2cc8640, []int{0} -} - -func (m *GetAdGroupLabelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAdGroupLabelRequest.Unmarshal(m, b) -} -func (m *GetAdGroupLabelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAdGroupLabelRequest.Marshal(b, m, deterministic) -} -func (m *GetAdGroupLabelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAdGroupLabelRequest.Merge(m, src) -} -func (m *GetAdGroupLabelRequest) XXX_Size() int { - return xxx_messageInfo_GetAdGroupLabelRequest.Size(m) -} -func (m *GetAdGroupLabelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAdGroupLabelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetAdGroupLabelRequest proto.InternalMessageInfo - -func (m *GetAdGroupLabelRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for [AdGroupLabelService.MutateAdGroupLabels][google.ads.googleads.v2.services.AdGroupLabelService.MutateAdGroupLabels]. -type MutateAdGroupLabelsRequest struct { - // ID of the customer whose ad group labels 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 ad group labels. - Operations []*AdGroupLabelOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateAdGroupLabelsRequest) Reset() { *m = MutateAdGroupLabelsRequest{} } -func (m *MutateAdGroupLabelsRequest) String() string { return proto.CompactTextString(m) } -func (*MutateAdGroupLabelsRequest) ProtoMessage() {} -func (*MutateAdGroupLabelsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8693fa91b2cc8640, []int{1} -} - -func (m *MutateAdGroupLabelsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAdGroupLabelsRequest.Unmarshal(m, b) -} -func (m *MutateAdGroupLabelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAdGroupLabelsRequest.Marshal(b, m, deterministic) -} -func (m *MutateAdGroupLabelsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupLabelsRequest.Merge(m, src) -} -func (m *MutateAdGroupLabelsRequest) XXX_Size() int { - return xxx_messageInfo_MutateAdGroupLabelsRequest.Size(m) -} -func (m *MutateAdGroupLabelsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAdGroupLabelsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAdGroupLabelsRequest proto.InternalMessageInfo - -func (m *MutateAdGroupLabelsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateAdGroupLabelsRequest) GetOperations() []*AdGroupLabelOperation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *MutateAdGroupLabelsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateAdGroupLabelsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// A single operation (create, remove) on an ad group label. -type AdGroupLabelOperation struct { - // The mutate operation. - // - // Types that are valid to be assigned to Operation: - // *AdGroupLabelOperation_Create - // *AdGroupLabelOperation_Remove - Operation isAdGroupLabelOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdGroupLabelOperation) Reset() { *m = AdGroupLabelOperation{} } -func (m *AdGroupLabelOperation) String() string { return proto.CompactTextString(m) } -func (*AdGroupLabelOperation) ProtoMessage() {} -func (*AdGroupLabelOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_8693fa91b2cc8640, []int{2} -} - -func (m *AdGroupLabelOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdGroupLabelOperation.Unmarshal(m, b) -} -func (m *AdGroupLabelOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdGroupLabelOperation.Marshal(b, m, deterministic) -} -func (m *AdGroupLabelOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupLabelOperation.Merge(m, src) -} -func (m *AdGroupLabelOperation) XXX_Size() int { - return xxx_messageInfo_AdGroupLabelOperation.Size(m) -} -func (m *AdGroupLabelOperation) XXX_DiscardUnknown() { - xxx_messageInfo_AdGroupLabelOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_AdGroupLabelOperation proto.InternalMessageInfo - -type isAdGroupLabelOperation_Operation interface { - isAdGroupLabelOperation_Operation() -} - -type AdGroupLabelOperation_Create struct { - Create *resources.AdGroupLabel `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type AdGroupLabelOperation_Remove struct { - Remove string `protobuf:"bytes,2,opt,name=remove,proto3,oneof"` -} - -func (*AdGroupLabelOperation_Create) isAdGroupLabelOperation_Operation() {} - -func (*AdGroupLabelOperation_Remove) isAdGroupLabelOperation_Operation() {} - -func (m *AdGroupLabelOperation) GetOperation() isAdGroupLabelOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *AdGroupLabelOperation) GetCreate() *resources.AdGroupLabel { - if x, ok := m.GetOperation().(*AdGroupLabelOperation_Create); ok { - return x.Create - } - return nil -} - -func (m *AdGroupLabelOperation) GetRemove() string { - if x, ok := m.GetOperation().(*AdGroupLabelOperation_Remove); ok { - return x.Remove - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AdGroupLabelOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AdGroupLabelOperation_Create)(nil), - (*AdGroupLabelOperation_Remove)(nil), - } -} - -// Response message for an ad group labels mutate. -type MutateAdGroupLabelsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // All results for the mutate. - Results []*MutateAdGroupLabelResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateAdGroupLabelsResponse) Reset() { *m = MutateAdGroupLabelsResponse{} } -func (m *MutateAdGroupLabelsResponse) String() string { return proto.CompactTextString(m) } -func (*MutateAdGroupLabelsResponse) ProtoMessage() {} -func (*MutateAdGroupLabelsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8693fa91b2cc8640, []int{3} -} - -func (m *MutateAdGroupLabelsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAdGroupLabelsResponse.Unmarshal(m, b) -} -func (m *MutateAdGroupLabelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAdGroupLabelsResponse.Marshal(b, m, deterministic) -} -func (m *MutateAdGroupLabelsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupLabelsResponse.Merge(m, src) -} -func (m *MutateAdGroupLabelsResponse) XXX_Size() int { - return xxx_messageInfo_MutateAdGroupLabelsResponse.Size(m) -} -func (m *MutateAdGroupLabelsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAdGroupLabelsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAdGroupLabelsResponse proto.InternalMessageInfo - -func (m *MutateAdGroupLabelsResponse) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -func (m *MutateAdGroupLabelsResponse) GetResults() []*MutateAdGroupLabelResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for an ad group label mutate. -type MutateAdGroupLabelResult 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 *MutateAdGroupLabelResult) Reset() { *m = MutateAdGroupLabelResult{} } -func (m *MutateAdGroupLabelResult) String() string { return proto.CompactTextString(m) } -func (*MutateAdGroupLabelResult) ProtoMessage() {} -func (*MutateAdGroupLabelResult) Descriptor() ([]byte, []int) { - return fileDescriptor_8693fa91b2cc8640, []int{4} -} - -func (m *MutateAdGroupLabelResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAdGroupLabelResult.Unmarshal(m, b) -} -func (m *MutateAdGroupLabelResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAdGroupLabelResult.Marshal(b, m, deterministic) -} -func (m *MutateAdGroupLabelResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupLabelResult.Merge(m, src) -} -func (m *MutateAdGroupLabelResult) XXX_Size() int { - return xxx_messageInfo_MutateAdGroupLabelResult.Size(m) -} -func (m *MutateAdGroupLabelResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAdGroupLabelResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAdGroupLabelResult proto.InternalMessageInfo - -func (m *MutateAdGroupLabelResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetAdGroupLabelRequest)(nil), "google.ads.googleads.v2.services.GetAdGroupLabelRequest") - proto.RegisterType((*MutateAdGroupLabelsRequest)(nil), "google.ads.googleads.v2.services.MutateAdGroupLabelsRequest") - proto.RegisterType((*AdGroupLabelOperation)(nil), "google.ads.googleads.v2.services.AdGroupLabelOperation") - proto.RegisterType((*MutateAdGroupLabelsResponse)(nil), "google.ads.googleads.v2.services.MutateAdGroupLabelsResponse") - proto.RegisterType((*MutateAdGroupLabelResult)(nil), "google.ads.googleads.v2.services.MutateAdGroupLabelResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/ad_group_label_service.proto", fileDescriptor_8693fa91b2cc8640) -} - -var fileDescriptor_8693fa91b2cc8640 = []byte{ - // 668 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x4f, 0x6b, 0xd4, 0x4e, - 0x18, 0xfe, 0x65, 0xf7, 0x47, 0xb5, 0xb3, 0xd5, 0xc2, 0x94, 0x6a, 0xd8, 0x0a, 0x2e, 0xb1, 0x60, - 0xd9, 0x43, 0x06, 0x23, 0x58, 0x89, 0x2e, 0x92, 0x82, 0xdd, 0x16, 0xd4, 0x96, 0x54, 0x2a, 0xc8, - 0x42, 0x98, 0x26, 0x63, 0x08, 0x24, 0x99, 0x38, 0x33, 0x59, 0x28, 0xa5, 0x17, 0x6f,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4e, - 0xc0, 0x4d, 0x69, 0x16, 0xd6, 0xa1, 0x65, 0x56, 0xc4, 0xfc, 0x4c, 0xa5, 0x0c, 0x9c, 0x80, 0x0f, - 0x46, 0x29, 0x83, 0x43, 0x6b, 0xa0, 0x52, 0x7e, 0x35, 0xd6, 0xa5, 0xdf, 0xb6, 0x9d, 0x80, 0xdb, - 0xf6, 0x28, 0xc9, 0xb6, 0x0f, 0x2d, 0xdb, 0x56, 0x69, 0x47, 0x0b, 0x65, 0x9f, 0x0f, 0xff, 0x04, - 0x00, 0x00, 0xff, 0xff, 0xbe, 0x5a, 0xbc, 0x8c, 0x65, 0x06, 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 - -// AdGroupLabelServiceClient is the client API for AdGroupLabelService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AdGroupLabelServiceClient interface { - // Returns the requested ad group label in full detail. - GetAdGroupLabel(ctx context.Context, in *GetAdGroupLabelRequest, opts ...grpc.CallOption) (*resources.AdGroupLabel, error) - // Creates and removes ad group labels. - // Operation statuses are returned. - MutateAdGroupLabels(ctx context.Context, in *MutateAdGroupLabelsRequest, opts ...grpc.CallOption) (*MutateAdGroupLabelsResponse, error) -} - -type adGroupLabelServiceClient struct { - cc *grpc.ClientConn -} - -func NewAdGroupLabelServiceClient(cc *grpc.ClientConn) AdGroupLabelServiceClient { - return &adGroupLabelServiceClient{cc} -} - -func (c *adGroupLabelServiceClient) GetAdGroupLabel(ctx context.Context, in *GetAdGroupLabelRequest, opts ...grpc.CallOption) (*resources.AdGroupLabel, error) { - out := new(resources.AdGroupLabel) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.AdGroupLabelService/GetAdGroupLabel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adGroupLabelServiceClient) MutateAdGroupLabels(ctx context.Context, in *MutateAdGroupLabelsRequest, opts ...grpc.CallOption) (*MutateAdGroupLabelsResponse, error) { - out := new(MutateAdGroupLabelsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.AdGroupLabelService/MutateAdGroupLabels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AdGroupLabelServiceServer is the server API for AdGroupLabelService service. -type AdGroupLabelServiceServer interface { - // Returns the requested ad group label in full detail. - GetAdGroupLabel(context.Context, *GetAdGroupLabelRequest) (*resources.AdGroupLabel, error) - // Creates and removes ad group labels. - // Operation statuses are returned. - MutateAdGroupLabels(context.Context, *MutateAdGroupLabelsRequest) (*MutateAdGroupLabelsResponse, error) -} - -// UnimplementedAdGroupLabelServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAdGroupLabelServiceServer struct { -} - -func (*UnimplementedAdGroupLabelServiceServer) GetAdGroupLabel(ctx context.Context, req *GetAdGroupLabelRequest) (*resources.AdGroupLabel, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetAdGroupLabel not implemented") -} -func (*UnimplementedAdGroupLabelServiceServer) MutateAdGroupLabels(ctx context.Context, req *MutateAdGroupLabelsRequest) (*MutateAdGroupLabelsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateAdGroupLabels not implemented") -} - -func RegisterAdGroupLabelServiceServer(s *grpc.Server, srv AdGroupLabelServiceServer) { - s.RegisterService(&_AdGroupLabelService_serviceDesc, srv) -} - -func _AdGroupLabelService_GetAdGroupLabel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAdGroupLabelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdGroupLabelServiceServer).GetAdGroupLabel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.AdGroupLabelService/GetAdGroupLabel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdGroupLabelServiceServer).GetAdGroupLabel(ctx, req.(*GetAdGroupLabelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdGroupLabelService_MutateAdGroupLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateAdGroupLabelsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdGroupLabelServiceServer).MutateAdGroupLabels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.AdGroupLabelService/MutateAdGroupLabels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdGroupLabelServiceServer).MutateAdGroupLabels(ctx, req.(*MutateAdGroupLabelsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _AdGroupLabelService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.AdGroupLabelService", - HandlerType: (*AdGroupLabelServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetAdGroupLabel", - Handler: _AdGroupLabelService_GetAdGroupLabel_Handler, - }, - { - MethodName: "MutateAdGroupLabels", - Handler: _AdGroupLabelService_MutateAdGroupLabels_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/ad_group_label_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_service.pb.go deleted file mode 100644 index b81724de..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_service.pb.go +++ /dev/null @@ -1,525 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/ad_group_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [AdGroupService.GetAdGroup][google.ads.googleads.v2.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_2551d73f06de7113, []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 (m *GetAdGroupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAdGroupRequest.Merge(m, 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.v2.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_2551d73f06de7113, []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 (m *MutateAdGroupsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupsRequest.Merge(m, 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 -} - -func (m *MutateAdGroupsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateAdGroupsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_2551d73f06de7113, []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 (m *AdGroupOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdGroupOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*AdGroupOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AdGroupOperation_Create)(nil), - (*AdGroupOperation_Update)(nil), - (*AdGroupOperation_Remove)(nil), - } -} - -// Response message for an ad group mutate. -type MutateAdGroupsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_2551d73f06de7113, []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 (m *MutateAdGroupsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_2551d73f06de7113, []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 (m *MutateAdGroupResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdGroupResult.Merge(m, 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.v2.services.GetAdGroupRequest") - proto.RegisterType((*MutateAdGroupsRequest)(nil), "google.ads.googleads.v2.services.MutateAdGroupsRequest") - proto.RegisterType((*AdGroupOperation)(nil), "google.ads.googleads.v2.services.AdGroupOperation") - proto.RegisterType((*MutateAdGroupsResponse)(nil), "google.ads.googleads.v2.services.MutateAdGroupsResponse") - proto.RegisterType((*MutateAdGroupResult)(nil), "google.ads.googleads.v2.services.MutateAdGroupResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/ad_group_service.proto", fileDescriptor_2551d73f06de7113) -} - -var fileDescriptor_2551d73f06de7113 = []byte{ - // 714 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xc1, 0x6e, 0xd4, 0x3a, - 0x14, 0x7d, 0x99, 0x79, 0xea, 0x7b, 0xf5, 0x94, 0x02, 0xae, 0x0a, 0xd1, 0x80, 0xc4, 0x28, 0x54, - 0xa2, 0x1a, 0x41, 0x82, 0x52, 0xa1, 0x56, 0xa9, 0xba, 0x48, 0x05, 0x9d, 0xb2, 0x28, 0xad, 0x52, - 0xa9, 0x0b, 0x34, 0x52, 0xe4, 0x26, 0x6e, 0x14, 0x35, 0x89, 0x83, 0xed, 0x8c, 0x54, 0x55, 0xdd, - 0xf4, 0x0f, 0x10, 0x5f, 0x00, 0x4b, 0x76, 0x7c, 0x00, 0x3f, 0xd0, 0x2d, 0x3b, 0xd6, 0xac, 0xf8, - 0x04, 0x56, 0xc8, 0xb1, 0x3d, 0xd3, 0x19, 0xa8, 0x86, 0xb2, 0xbb, 0xb9, 0x3e, 0xe7, 0xdc, 0xe3, - 0x7b, 0x7d, 0x03, 0x56, 0x13, 0x42, 0x92, 0x0c, 0x3b, 0x28, 0x66, 0x8e, 0x0c, 0x45, 0x34, 0x70, - 0x1d, 0x86, 0xe9, 0x20, 0x8d, 0x30, 0x73, 0x50, 0x1c, 0x26, 0x94, 0x54, 0x65, 0xa8, 0x32, 0x76, - 0x49, 0x09, 0x27, 0xb0, 0x23, 0xd1, 0x36, 0x8a, 0x99, 0x3d, 0x24, 0xda, 0x03, 0xd7, 0xd6, 0xc4, - 0xf6, 0xd3, 0xab, 0xa4, 0x29, 0x66, 0xa4, 0xa2, 0x97, 0xb5, 0xa5, 0x66, 0xfb, 0xbe, 0x66, 0x94, - 0xa9, 0x83, 0x8a, 0x82, 0x70, 0xc4, 0x53, 0x52, 0x30, 0x75, 0xaa, 0x2a, 0x3a, 0xf5, 0xd7, 0x61, - 0x75, 0xe4, 0x1c, 0xa5, 0x38, 0x8b, 0xc3, 0x1c, 0xb1, 0x63, 0x85, 0xb8, 0xab, 0x10, 0xb4, 0x8c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d5, 0x6d, 0xaf, 0x5d, - 0x9f, 0x28, 0x5f, 0x84, 0xb5, 0x56, 0x3b, 0x77, 0xad, 0x27, 0xc2, 0xf9, 0xc8, 0xea, 0xe9, 0xa5, - 0x3f, 0xc1, 0x46, 0xf7, 0x6c, 0x68, 0xdc, 0xcb, 0x6b, 0x19, 0xcf, 0xe8, 0xb6, 0xef, 0x5d, 0xf8, - 0xe6, 0xa8, 0x94, 0x8a, 0xca, 0x94, 0xd9, 0x11, 0xc9, 0x37, 0x7f, 0x18, 0x60, 0x29, 0x22, 0xf9, - 0x54, 0x5b, 0x9b, 0x0b, 0xe3, 0x93, 0xdb, 0x13, 0xdb, 0xb8, 0x67, 0xbc, 0xde, 0x56, 0xc4, 0x84, - 0x64, 0xa8, 0x48, 0x6c, 0x42, 0x13, 0x27, 0xc1, 0x45, 0xbd, 0xab, 0xce, 0xa8, 0xd4, 0xd5, 0x7f, - 0xff, 0x75, 0x1d, 0x7c, 0x68, 0x34, 0x7b, 0xbe, 0xff, 0xb1, 0xd1, 0xe9, 0x49, 0x41, 0x3f, 0x66, - 0xb6, 0x0c, 0x45, 0x74, 0xe0, 0xda, 0xaa, 0x30, 0xbb, 0xd0, 0x90, 0xbe, 0x1f, 0xb3, 0xfe, 0x10, - 0xd2, 0x3f, 0x70, 0xfb, 0x1a, 0xf2, 0xbd, 0xb1, 0x24, 0xf3, 0x9e, 0xe7, 0xc7, 0xcc, 0xf3, 0x86, - 0x20, 0xcf, 0x3b, 0x70, 0x3d, 0x4f, 0xc3, 0x0e, 0x67, 0x6a, 0x9f, 0x2b, 0x3f, 0x03, 0x00, 0x00, - 0xff, 0xff, 0xa2, 0x3e, 0x61, 0x5b, 0xa4, 0x06, 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 - -// 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.v2.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.v2.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) -} - -// UnimplementedAdGroupServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAdGroupServiceServer struct { -} - -func (*UnimplementedAdGroupServiceServer) GetAdGroup(ctx context.Context, req *GetAdGroupRequest) (*resources.AdGroup, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetAdGroup not implemented") -} -func (*UnimplementedAdGroupServiceServer) MutateAdGroups(ctx context.Context, req *MutateAdGroupsRequest) (*MutateAdGroupsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateAdGroups not implemented") -} - -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.v2.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.v2.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.v2.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/v2/services/ad_group_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_simulation_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_simulation_service.pb.go deleted file mode 100644 index b3c14ed2..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_group_simulation_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/ad_group_simulation_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [AdGroupSimulationService.GetAdGroupSimulation][google.ads.googleads.v2.services.AdGroupSimulationService.GetAdGroupSimulation]. -type GetAdGroupSimulationRequest struct { - // The resource name of the ad group simulation 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 *GetAdGroupSimulationRequest) Reset() { *m = GetAdGroupSimulationRequest{} } -func (m *GetAdGroupSimulationRequest) String() string { return proto.CompactTextString(m) } -func (*GetAdGroupSimulationRequest) ProtoMessage() {} -func (*GetAdGroupSimulationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3e985cbf2545305b, []int{0} -} - -func (m *GetAdGroupSimulationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAdGroupSimulationRequest.Unmarshal(m, b) -} -func (m *GetAdGroupSimulationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAdGroupSimulationRequest.Marshal(b, m, deterministic) -} -func (m *GetAdGroupSimulationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAdGroupSimulationRequest.Merge(m, src) -} -func (m *GetAdGroupSimulationRequest) XXX_Size() int { - return xxx_messageInfo_GetAdGroupSimulationRequest.Size(m) -} -func (m *GetAdGroupSimulationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAdGroupSimulationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetAdGroupSimulationRequest proto.InternalMessageInfo - -func (m *GetAdGroupSimulationRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetAdGroupSimulationRequest)(nil), "google.ads.googleads.v2.services.GetAdGroupSimulationRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/ad_group_simulation_service.proto", fileDescriptor_3e985cbf2545305b) -} - -var fileDescriptor_3e985cbf2545305b = []byte{ - // 387 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xcf, 0x4a, 0xe3, 0x40, - 0x18, 0x27, 0x59, 0x58, 0xd8, 0xb0, 0x7b, 0x09, 0x0b, 0x96, 0x54, 0xa1, 0xd4, 0x1e, 0xa4, 0x87, - 0x19, 0x88, 0xc5, 0xc3, 0xd4, 0x1e, 0x92, 0x4b, 0x3c, 0x49, 0x69, 0xa1, 0x07, 0x09, 0x84, 0x31, - 0x19, 0x42, 0x20, 0xc9, 0xc4, 0x7c, 0x49, 0x2f, 0xe2, 0x45, 0x7d, 0x03, 0xdf, 0xc0, 0xa3, 0x6f, - 0x62, 0xaf,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 0x47, 0xd5, 0x5a, 0xaf, 0x3f, 0x8d, 0x36, 0xf1, 0x4b, 0x28, - 0x78, 0xc2, 0x72, 0xc0, 0x43, 0x4c, 0xbf, 0x3a, 0x01, 0x0f, 0x6f, 0x8c, 0xee, 0xca, 0xea, 0x6c, - 0xaa, 0x6a, 0x94, 0x45, 0x80, 0x7c, 0x9e, 0xd8, 0xf7, 0xaa, 0x36, 0xf0, 0x79, 0xb2, 0x73, 0x2a, - 0xfb, 0xa0, 0x6d, 0x57, 0xd3, 0xea, 0x45, 0xa6, 0xca, 0xc5, 0x59, 0x1d, 0x11, 0xf2, 0x98, 0xa6, - 0x21, 0xe2, 0x79, 0x88, 0x43, 0x96, 0xae, 0xdf, 0x0b, 0x6f, 0x4a, 0xdb, 0x3f, 0xe3, 0x58, 0x82, - 0x47, 0xf5, 0x97, 0x63, 0x59, 0x4f, 0x6a, 0xcf, 0x11, 0x81, 0x56, 0x00, 0x48, 0xc0, 0x0a, 0x2d, - 0x4c, 0x54, 0x17, 0xc3, 0x4a, 0x4a, 0x5c, 0x2b, 0x00, 0xb7, 0x91, 0xb8, 0x0b, 0xd3, 0x95, 0x92, - 0x37, 0x75, 0x20, 0xce, 0x09, 0xb1, 0x02, 0x20, 0xa4, 0x11, 0x11, 0xb2, 0x30, 0x09, 0x91, 0xb2, - 0xcb, 0xdf, 0xeb, 0x7b, 0x1e, 0xbf, 0x07, 0x00, 0x00, 0xff, 0xff, 0x36, 0xdf, 0x10, 0xc0, 0x33, - 0x03, 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 - -// AdGroupSimulationServiceClient is the client API for AdGroupSimulationService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AdGroupSimulationServiceClient interface { - // Returns the requested ad group simulation in full detail. - GetAdGroupSimulation(ctx context.Context, in *GetAdGroupSimulationRequest, opts ...grpc.CallOption) (*resources.AdGroupSimulation, error) -} - -type adGroupSimulationServiceClient struct { - cc *grpc.ClientConn -} - -func NewAdGroupSimulationServiceClient(cc *grpc.ClientConn) AdGroupSimulationServiceClient { - return &adGroupSimulationServiceClient{cc} -} - -func (c *adGroupSimulationServiceClient) GetAdGroupSimulation(ctx context.Context, in *GetAdGroupSimulationRequest, opts ...grpc.CallOption) (*resources.AdGroupSimulation, error) { - out := new(resources.AdGroupSimulation) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.AdGroupSimulationService/GetAdGroupSimulation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AdGroupSimulationServiceServer is the server API for AdGroupSimulationService service. -type AdGroupSimulationServiceServer interface { - // Returns the requested ad group simulation in full detail. - GetAdGroupSimulation(context.Context, *GetAdGroupSimulationRequest) (*resources.AdGroupSimulation, error) -} - -// UnimplementedAdGroupSimulationServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAdGroupSimulationServiceServer struct { -} - -func (*UnimplementedAdGroupSimulationServiceServer) GetAdGroupSimulation(ctx context.Context, req *GetAdGroupSimulationRequest) (*resources.AdGroupSimulation, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAdGroupSimulation not implemented") -} - -func RegisterAdGroupSimulationServiceServer(s *grpc.Server, srv AdGroupSimulationServiceServer) { - s.RegisterService(&_AdGroupSimulationService_serviceDesc, srv) -} - -func _AdGroupSimulationService_GetAdGroupSimulation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAdGroupSimulationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdGroupSimulationServiceServer).GetAdGroupSimulation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.AdGroupSimulationService/GetAdGroupSimulation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdGroupSimulationServiceServer).GetAdGroupSimulation(ctx, req.(*GetAdGroupSimulationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _AdGroupSimulationService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.AdGroupSimulationService", - HandlerType: (*AdGroupSimulationServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetAdGroupSimulation", - Handler: _AdGroupSimulationService_GetAdGroupSimulation_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/ad_group_simulation_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_parameter_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_parameter_service.pb.go deleted file mode 100644 index a255f28d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_parameter_service.pb.go +++ /dev/null @@ -1,527 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/ad_parameter_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [AdParameterService.GetAdParameter][google.ads.googleads.v2.services.AdParameterService.GetAdParameter] -type GetAdParameterRequest struct { - // The resource name of the ad parameter 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 *GetAdParameterRequest) Reset() { *m = GetAdParameterRequest{} } -func (m *GetAdParameterRequest) String() string { return proto.CompactTextString(m) } -func (*GetAdParameterRequest) ProtoMessage() {} -func (*GetAdParameterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a69c732d7aa1fa43, []int{0} -} - -func (m *GetAdParameterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAdParameterRequest.Unmarshal(m, b) -} -func (m *GetAdParameterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAdParameterRequest.Marshal(b, m, deterministic) -} -func (m *GetAdParameterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAdParameterRequest.Merge(m, src) -} -func (m *GetAdParameterRequest) XXX_Size() int { - return xxx_messageInfo_GetAdParameterRequest.Size(m) -} -func (m *GetAdParameterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAdParameterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetAdParameterRequest proto.InternalMessageInfo - -func (m *GetAdParameterRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for [AdParameterService.MutateAdParameters][google.ads.googleads.v2.services.AdParameterService.MutateAdParameters] -type MutateAdParametersRequest struct { - // The ID of the customer whose ad parameters 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 parameters. - Operations []*AdParameterOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateAdParametersRequest) Reset() { *m = MutateAdParametersRequest{} } -func (m *MutateAdParametersRequest) String() string { return proto.CompactTextString(m) } -func (*MutateAdParametersRequest) ProtoMessage() {} -func (*MutateAdParametersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a69c732d7aa1fa43, []int{1} -} - -func (m *MutateAdParametersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAdParametersRequest.Unmarshal(m, b) -} -func (m *MutateAdParametersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAdParametersRequest.Marshal(b, m, deterministic) -} -func (m *MutateAdParametersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdParametersRequest.Merge(m, src) -} -func (m *MutateAdParametersRequest) XXX_Size() int { - return xxx_messageInfo_MutateAdParametersRequest.Size(m) -} -func (m *MutateAdParametersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAdParametersRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAdParametersRequest proto.InternalMessageInfo - -func (m *MutateAdParametersRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateAdParametersRequest) GetOperations() []*AdParameterOperation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *MutateAdParametersRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateAdParametersRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// A single operation (create, update, remove) on ad parameter. -type AdParameterOperation 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: - // *AdParameterOperation_Create - // *AdParameterOperation_Update - // *AdParameterOperation_Remove - Operation isAdParameterOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdParameterOperation) Reset() { *m = AdParameterOperation{} } -func (m *AdParameterOperation) String() string { return proto.CompactTextString(m) } -func (*AdParameterOperation) ProtoMessage() {} -func (*AdParameterOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_a69c732d7aa1fa43, []int{2} -} - -func (m *AdParameterOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdParameterOperation.Unmarshal(m, b) -} -func (m *AdParameterOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdParameterOperation.Marshal(b, m, deterministic) -} -func (m *AdParameterOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdParameterOperation.Merge(m, src) -} -func (m *AdParameterOperation) XXX_Size() int { - return xxx_messageInfo_AdParameterOperation.Size(m) -} -func (m *AdParameterOperation) XXX_DiscardUnknown() { - xxx_messageInfo_AdParameterOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_AdParameterOperation proto.InternalMessageInfo - -func (m *AdParameterOperation) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -type isAdParameterOperation_Operation interface { - isAdParameterOperation_Operation() -} - -type AdParameterOperation_Create struct { - Create *resources.AdParameter `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type AdParameterOperation_Update struct { - Update *resources.AdParameter `protobuf:"bytes,2,opt,name=update,proto3,oneof"` -} - -type AdParameterOperation_Remove struct { - Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` -} - -func (*AdParameterOperation_Create) isAdParameterOperation_Operation() {} - -func (*AdParameterOperation_Update) isAdParameterOperation_Operation() {} - -func (*AdParameterOperation_Remove) isAdParameterOperation_Operation() {} - -func (m *AdParameterOperation) GetOperation() isAdParameterOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *AdParameterOperation) GetCreate() *resources.AdParameter { - if x, ok := m.GetOperation().(*AdParameterOperation_Create); ok { - return x.Create - } - return nil -} - -func (m *AdParameterOperation) GetUpdate() *resources.AdParameter { - if x, ok := m.GetOperation().(*AdParameterOperation_Update); ok { - return x.Update - } - return nil -} - -func (m *AdParameterOperation) GetRemove() string { - if x, ok := m.GetOperation().(*AdParameterOperation_Remove); ok { - return x.Remove - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AdParameterOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AdParameterOperation_Create)(nil), - (*AdParameterOperation_Update)(nil), - (*AdParameterOperation_Remove)(nil), - } -} - -// Response message for an ad parameter mutate. -type MutateAdParametersResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // All results for the mutate. - Results []*MutateAdParameterResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateAdParametersResponse) Reset() { *m = MutateAdParametersResponse{} } -func (m *MutateAdParametersResponse) String() string { return proto.CompactTextString(m) } -func (*MutateAdParametersResponse) ProtoMessage() {} -func (*MutateAdParametersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_a69c732d7aa1fa43, []int{3} -} - -func (m *MutateAdParametersResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAdParametersResponse.Unmarshal(m, b) -} -func (m *MutateAdParametersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAdParametersResponse.Marshal(b, m, deterministic) -} -func (m *MutateAdParametersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdParametersResponse.Merge(m, src) -} -func (m *MutateAdParametersResponse) XXX_Size() int { - return xxx_messageInfo_MutateAdParametersResponse.Size(m) -} -func (m *MutateAdParametersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAdParametersResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAdParametersResponse proto.InternalMessageInfo - -func (m *MutateAdParametersResponse) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -func (m *MutateAdParametersResponse) GetResults() []*MutateAdParameterResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for the ad parameter mutate. -type MutateAdParameterResult 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 *MutateAdParameterResult) Reset() { *m = MutateAdParameterResult{} } -func (m *MutateAdParameterResult) String() string { return proto.CompactTextString(m) } -func (*MutateAdParameterResult) ProtoMessage() {} -func (*MutateAdParameterResult) Descriptor() ([]byte, []int) { - return fileDescriptor_a69c732d7aa1fa43, []int{4} -} - -func (m *MutateAdParameterResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAdParameterResult.Unmarshal(m, b) -} -func (m *MutateAdParameterResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAdParameterResult.Marshal(b, m, deterministic) -} -func (m *MutateAdParameterResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdParameterResult.Merge(m, src) -} -func (m *MutateAdParameterResult) XXX_Size() int { - return xxx_messageInfo_MutateAdParameterResult.Size(m) -} -func (m *MutateAdParameterResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAdParameterResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAdParameterResult proto.InternalMessageInfo - -func (m *MutateAdParameterResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetAdParameterRequest)(nil), "google.ads.googleads.v2.services.GetAdParameterRequest") - proto.RegisterType((*MutateAdParametersRequest)(nil), "google.ads.googleads.v2.services.MutateAdParametersRequest") - proto.RegisterType((*AdParameterOperation)(nil), "google.ads.googleads.v2.services.AdParameterOperation") - proto.RegisterType((*MutateAdParametersResponse)(nil), "google.ads.googleads.v2.services.MutateAdParametersResponse") - proto.RegisterType((*MutateAdParameterResult)(nil), "google.ads.googleads.v2.services.MutateAdParameterResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/ad_parameter_service.proto", fileDescriptor_a69c732d7aa1fa43) -} - -var fileDescriptor_a69c732d7aa1fa43 = []byte{ - // 719 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0x4f, 0x6b, 0xd4, 0x4e, - 0x18, 0xfe, 0x65, 0xf7, 0x47, 0xb5, 0xb3, 0xb5, 0xc2, 0x68, 0x69, 0x8c, 0x82, 0x4b, 0x2c, 0x58, - 0xf6, 0x30, 0xd1, 0x28, 0x15, 0xb3, 0xad, 0x90, 0x82, 0x6d, 0x3d, 0xd4, 0x96, 0x14, 0xf6, 0x20, - 0x0b, 0x61, 0x9a, 0x4c, 0x97, 0xd0, 0x24, 0x13, 0x67, 0x26, 0x0b, 0xa5, 0xf4, 0xe2, 0x07, 0xf0, - 0xe2, 0x37, 0xf0, 0xe8, 0xcd, 0x83, 0x07, 0xbf, 0x42, 0xc1, 0x93, 0xdf, 0x40, 0x3c, 0xf9, 0x21, - 0x44, 0x92, 0xc9, 0x6c, 0xb3, 0x6d, 0x97, 0xd5, 0xde, 0xde, 0x7d, 0xe7, 0x79, 0x9e, 0xf7, 0x7f, - 0x16, 0x74, 0x07, 0x94, 0x0e, 0x62, 0x62, 0xe1, 0x90, 0x5b, 0xd2, 0x2c, 0xac, 0xa1, 0x6d, 0x71, - 0xc2, 0x86, 0x51, 0x40, 0xb8, 0x85, 0x43, 0x3f, 0xc3, 0x0c, 0x27, 0x44, 0x10, 0xe6, 0x57, 0x5e, - 0x94, 0x31, 0x2a, 0x28, 0x6c, 0x4b, 0x06, 0xc2, 0x21, 0x47, 0x23, 0x32, 0x1a, 0xda, 0x48, 0x91, - 0x8d, 0xa7, 0x93, 0xe4, 0x19, 0xe1, 0x34, 0x67, 0xe7, 0xf5, 0xa5, 0xae, 0x71, 0x4f, 0xb1, 0xb2, - 0xc8, 0xc2, 0x69, 0x4a, 0x05, 0x16, 0x11, 0x4d, 0x79, 0xf5, 0x5a, 0x45, 0xb5, 0xca, 0x5f, 0xfb, - 0xf9, 0x81, 0x75, 0x10, 0x91, 0x38, 0xf4, 0x13, 0xcc, 0x0f, 0x2b, 0xc4, 0x62, 0x85, 0x60, 0x59, - 0x60, 0x71, 0x81, 0x45, 0xce, 0xcf, 0x3d, 0x14, 0xc2, 0x41, 0x1c, 0x91, 0x54, 0xc8, 0x07, 0x73, - 0x15, 0x2c, 0x6c, 0x12, 0xe1, 0x86, 0xbb, 0x2a, 0x13, 0x8f, 0xbc, 0xcd, 0x09, 0x17, 0xf0, 0x01, - 0xb8, 0xa1, 0x52, 0xf5, 0x53, 0x9c, 0x10, 0x5d, 0x6b, 0x6b, 0xcb, 0xb3, 0xde, 0x9c, 0x72, 0xbe, - 0xc6, 0x09, 0x31, 0x7f, 0x68, 0xe0, 0xce, 0x76, 0x2e, 0xb0, 0x20, 0x35, 0x05, 0xae, 0x24, 0xee, - 0x83, 0x56, 0x90, 0x73, 0x41, 0x13, 0xc2, 0xfc, 0x28, 0xac, 0x04, 0x80,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x28, 0x1b, 0x58, 0x03, 0x92, 0x96, 0x77, 0x6e, - 0x9d, 0x85, 0x9b, 0xfc, 0x8f, 0xd2, 0x55, 0xc6, 0xc7, 0x46, 0x73, 0xd3, 0x75, 0x3f, 0x35, 0xda, - 0x9b, 0x52, 0xd0, 0x0d, 0x39, 0x92, 0x66, 0x61, 0xf5, 0x6c, 0x54, 0x05, 0xe6, 0xa7, 0x0a, 0xd2, - 0x77, 0x43, 0xde, 0x1f, 0x41, 0xfa, 0x3d, 0xbb, 0xaf, 0x20, 0xbf, 0x1a, 0x4b, 0xd2, 0xef, 0x38, - 0x6e, 0xc8, 0x1d, 0x67, 0x04, 0x72, 0x9c, 0x9e, 0xed, 0x38, 0x0a, 0xb6, 0x3f, 0x53, 0xe6, 0xf9, - 0xe4, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf8, 0xa3, 0xc7, 0x96, 0xf8, 0x06, 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 - -// AdParameterServiceClient is the client API for AdParameterService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AdParameterServiceClient interface { - // Returns the requested ad parameter in full detail. - GetAdParameter(ctx context.Context, in *GetAdParameterRequest, opts ...grpc.CallOption) (*resources.AdParameter, error) - // Creates, updates, or removes ad parameters. Operation statuses are - // returned. - MutateAdParameters(ctx context.Context, in *MutateAdParametersRequest, opts ...grpc.CallOption) (*MutateAdParametersResponse, error) -} - -type adParameterServiceClient struct { - cc *grpc.ClientConn -} - -func NewAdParameterServiceClient(cc *grpc.ClientConn) AdParameterServiceClient { - return &adParameterServiceClient{cc} -} - -func (c *adParameterServiceClient) GetAdParameter(ctx context.Context, in *GetAdParameterRequest, opts ...grpc.CallOption) (*resources.AdParameter, error) { - out := new(resources.AdParameter) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.AdParameterService/GetAdParameter", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adParameterServiceClient) MutateAdParameters(ctx context.Context, in *MutateAdParametersRequest, opts ...grpc.CallOption) (*MutateAdParametersResponse, error) { - out := new(MutateAdParametersResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.AdParameterService/MutateAdParameters", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AdParameterServiceServer is the server API for AdParameterService service. -type AdParameterServiceServer interface { - // Returns the requested ad parameter in full detail. - GetAdParameter(context.Context, *GetAdParameterRequest) (*resources.AdParameter, error) - // Creates, updates, or removes ad parameters. Operation statuses are - // returned. - MutateAdParameters(context.Context, *MutateAdParametersRequest) (*MutateAdParametersResponse, error) -} - -// UnimplementedAdParameterServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAdParameterServiceServer struct { -} - -func (*UnimplementedAdParameterServiceServer) GetAdParameter(ctx context.Context, req *GetAdParameterRequest) (*resources.AdParameter, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetAdParameter not implemented") -} -func (*UnimplementedAdParameterServiceServer) MutateAdParameters(ctx context.Context, req *MutateAdParametersRequest) (*MutateAdParametersResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateAdParameters not implemented") -} - -func RegisterAdParameterServiceServer(s *grpc.Server, srv AdParameterServiceServer) { - s.RegisterService(&_AdParameterService_serviceDesc, srv) -} - -func _AdParameterService_GetAdParameter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAdParameterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdParameterServiceServer).GetAdParameter(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.AdParameterService/GetAdParameter", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdParameterServiceServer).GetAdParameter(ctx, req.(*GetAdParameterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdParameterService_MutateAdParameters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateAdParametersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdParameterServiceServer).MutateAdParameters(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.AdParameterService/MutateAdParameters", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdParameterServiceServer).MutateAdParameters(ctx, req.(*MutateAdParametersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _AdParameterService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.AdParameterService", - HandlerType: (*AdParameterServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetAdParameter", - Handler: _AdParameterService_GetAdParameter_Handler, - }, - { - MethodName: "MutateAdParameters", - Handler: _AdParameterService_MutateAdParameters_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/ad_parameter_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_schedule_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_schedule_view_service.pb.go deleted file mode 100644 index deb2f553..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_schedule_view_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/ad_schedule_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [AdScheduleViewService.GetAdScheduleView][google.ads.googleads.v2.services.AdScheduleViewService.GetAdScheduleView]. -type GetAdScheduleViewRequest struct { - // The resource name of the ad schedule 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 *GetAdScheduleViewRequest) Reset() { *m = GetAdScheduleViewRequest{} } -func (m *GetAdScheduleViewRequest) String() string { return proto.CompactTextString(m) } -func (*GetAdScheduleViewRequest) ProtoMessage() {} -func (*GetAdScheduleViewRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_fc0b48d75ffab38c, []int{0} -} - -func (m *GetAdScheduleViewRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAdScheduleViewRequest.Unmarshal(m, b) -} -func (m *GetAdScheduleViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAdScheduleViewRequest.Marshal(b, m, deterministic) -} -func (m *GetAdScheduleViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAdScheduleViewRequest.Merge(m, src) -} -func (m *GetAdScheduleViewRequest) XXX_Size() int { - return xxx_messageInfo_GetAdScheduleViewRequest.Size(m) -} -func (m *GetAdScheduleViewRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAdScheduleViewRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetAdScheduleViewRequest proto.InternalMessageInfo - -func (m *GetAdScheduleViewRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetAdScheduleViewRequest)(nil), "google.ads.googleads.v2.services.GetAdScheduleViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/ad_schedule_view_service.proto", fileDescriptor_fc0b48d75ffab38c) -} - -var fileDescriptor_fc0b48d75ffab38c = []byte{ - // 390 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xcd, 0xaa, 0xd3, 0x40, - 0x14, 0x26, 0x11, 0x04, 0x83, 0x2e, 0x0c, 0x88, 0x25, 0xba, 0x28, 0xb5, 0x0b, 0xe9, 0x62, 0x86, - 0xa6, 0x1b, 0x1d, 0x91, 0x92, 0x6e, 0xea, 0x4a, 0x4a, 0x0b, 0x59, 0x48, 0x20, 0x8c, 0x99, 0x43, - 0x0c, 0x24, 0x99, 0x9a, 0x93, 0xa4, 0x0b, 0x71, 0xa1, 0xaf, 0xe0, 0x1b, 0xb8, 0xf4, 0x1d, 0x7c, - 0x81, 0x6e, 0x7d, 0x05, 0x57, 0xae, 0x7d, 0x80, 0x4b, 0x3a, 0x99, 0xf4, 0x86, 0xdb, 0xd0, 0xdd, - 0xc7, 0x9c, 0xef, 0xe7, 0x9c, 0x2f, 0xb1, 0x96, 0xb1, 0x94, 0x71, 0x0a, 0x94, 0x0b, 0xa4, 0x0a, - 0x36, 0xa8, 0x76, 0x29, 0x42, 0x51, 0x27, 0x11, 0x20, 0xe5, 0x22, 0xc4, 0xe8, 0x13, 0x88, 0x2a, - 0x85, 0xb0, 0x4e, 0xe0, 0x10, 0xb6, 0x13, 0xb2, 0x2f, 0x64, 0x29, 0xed, 0xb1, 0x52, 0x11, 0x2e, - 0x90, 0x74, 0x06, 0xa4, 0x76, 0x89, 0x36, 0x70, 0x5e, 0x0d, 0x45, 0x14, 0x80, 0xb2, 0x2a, 0x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x79, 0x6f, 0xed, 0x79, 0xbf, 0xcc, 0xf1, 0x5a, 0x19, 0x7a, 0x02, 0x89, - 0x82, 0x0d, 0xf2, 0x5d, 0xd2, 0x06, 0xe3, 0x51, 0x53, 0x02, 0x4f, 0x60, 0xd0, 0x51, 0x02, 0xdf, - 0x0d, 0x34, 0xe5, 0x9f, 0x39, 0x55, 0xef, 0x8c, 0x79, 0x02, 0x19, 0xeb, 0x48, 0x8c, 0xf9, 0x2e, - 0x63, 0x9a, 0xf6, 0xf1, 0xfe, 0x69, 0xcf, 0xc5, 0x4d, 0x00, 0x00, 0x00, 0xff, 0xff, 0x71, 0xf6, - 0x94, 0x3b, 0x18, 0x03, 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 - -// AdScheduleViewServiceClient is the client API for AdScheduleViewService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AdScheduleViewServiceClient interface { - // Returns the requested ad schedule view in full detail. - GetAdScheduleView(ctx context.Context, in *GetAdScheduleViewRequest, opts ...grpc.CallOption) (*resources.AdScheduleView, error) -} - -type adScheduleViewServiceClient struct { - cc *grpc.ClientConn -} - -func NewAdScheduleViewServiceClient(cc *grpc.ClientConn) AdScheduleViewServiceClient { - return &adScheduleViewServiceClient{cc} -} - -func (c *adScheduleViewServiceClient) GetAdScheduleView(ctx context.Context, in *GetAdScheduleViewRequest, opts ...grpc.CallOption) (*resources.AdScheduleView, error) { - out := new(resources.AdScheduleView) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.AdScheduleViewService/GetAdScheduleView", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AdScheduleViewServiceServer is the server API for AdScheduleViewService service. -type AdScheduleViewServiceServer interface { - // Returns the requested ad schedule view in full detail. - GetAdScheduleView(context.Context, *GetAdScheduleViewRequest) (*resources.AdScheduleView, error) -} - -// UnimplementedAdScheduleViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAdScheduleViewServiceServer struct { -} - -func (*UnimplementedAdScheduleViewServiceServer) GetAdScheduleView(ctx context.Context, req *GetAdScheduleViewRequest) (*resources.AdScheduleView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAdScheduleView not implemented") -} - -func RegisterAdScheduleViewServiceServer(s *grpc.Server, srv AdScheduleViewServiceServer) { - s.RegisterService(&_AdScheduleViewService_serviceDesc, srv) -} - -func _AdScheduleViewService_GetAdScheduleView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAdScheduleViewRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdScheduleViewServiceServer).GetAdScheduleView(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.AdScheduleViewService/GetAdScheduleView", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdScheduleViewServiceServer).GetAdScheduleView(ctx, req.(*GetAdScheduleViewRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _AdScheduleViewService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.AdScheduleViewService", - HandlerType: (*AdScheduleViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetAdScheduleView", - Handler: _AdScheduleViewService_GetAdScheduleView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/ad_schedule_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_service.pb.go deleted file mode 100644 index 4961475f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/ad_service.pb.go +++ /dev/null @@ -1,452 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/ad_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [AdService.GetAd][google.ads.googleads.v2.services.AdService.GetAd]. -type GetAdRequest 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 *GetAdRequest) Reset() { *m = GetAdRequest{} } -func (m *GetAdRequest) String() string { return proto.CompactTextString(m) } -func (*GetAdRequest) ProtoMessage() {} -func (*GetAdRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_5b4b1037e2d66699, []int{0} -} - -func (m *GetAdRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAdRequest.Unmarshal(m, b) -} -func (m *GetAdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAdRequest.Marshal(b, m, deterministic) -} -func (m *GetAdRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAdRequest.Merge(m, src) -} -func (m *GetAdRequest) XXX_Size() int { - return xxx_messageInfo_GetAdRequest.Size(m) -} -func (m *GetAdRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAdRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetAdRequest proto.InternalMessageInfo - -func (m *GetAdRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for [AdService.MutateAds][google.ads.googleads.v2.services.AdService.MutateAds]. -type MutateAdsRequest 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 []*AdOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateAdsRequest) Reset() { *m = MutateAdsRequest{} } -func (m *MutateAdsRequest) String() string { return proto.CompactTextString(m) } -func (*MutateAdsRequest) ProtoMessage() {} -func (*MutateAdsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_5b4b1037e2d66699, []int{1} -} - -func (m *MutateAdsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAdsRequest.Unmarshal(m, b) -} -func (m *MutateAdsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAdsRequest.Marshal(b, m, deterministic) -} -func (m *MutateAdsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdsRequest.Merge(m, src) -} -func (m *MutateAdsRequest) XXX_Size() int { - return xxx_messageInfo_MutateAdsRequest.Size(m) -} -func (m *MutateAdsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAdsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAdsRequest proto.InternalMessageInfo - -func (m *MutateAdsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateAdsRequest) GetOperations() []*AdOperation { - if m != nil { - return m.Operations - } - return nil -} - -// A single update operation on an ad. -type AdOperation struct { - // 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"` - // The mutate operation. - // - // Types that are valid to be assigned to Operation: - // *AdOperation_Update - Operation isAdOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdOperation) Reset() { *m = AdOperation{} } -func (m *AdOperation) String() string { return proto.CompactTextString(m) } -func (*AdOperation) ProtoMessage() {} -func (*AdOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_5b4b1037e2d66699, []int{2} -} - -func (m *AdOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdOperation.Unmarshal(m, b) -} -func (m *AdOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdOperation.Marshal(b, m, deterministic) -} -func (m *AdOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdOperation.Merge(m, src) -} -func (m *AdOperation) XXX_Size() int { - return xxx_messageInfo_AdOperation.Size(m) -} -func (m *AdOperation) XXX_DiscardUnknown() { - xxx_messageInfo_AdOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_AdOperation proto.InternalMessageInfo - -func (m *AdOperation) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -type isAdOperation_Operation interface { - isAdOperation_Operation() -} - -type AdOperation_Update struct { - Update *resources.Ad `protobuf:"bytes,1,opt,name=update,proto3,oneof"` -} - -func (*AdOperation_Update) isAdOperation_Operation() {} - -func (m *AdOperation) GetOperation() isAdOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *AdOperation) GetUpdate() *resources.Ad { - if x, ok := m.GetOperation().(*AdOperation_Update); ok { - return x.Update - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AdOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AdOperation_Update)(nil), - } -} - -// Response message for an ad mutate. -type MutateAdsResponse struct { - // All results for the mutate. - Results []*MutateAdResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateAdsResponse) Reset() { *m = MutateAdsResponse{} } -func (m *MutateAdsResponse) String() string { return proto.CompactTextString(m) } -func (*MutateAdsResponse) ProtoMessage() {} -func (*MutateAdsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5b4b1037e2d66699, []int{3} -} - -func (m *MutateAdsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAdsResponse.Unmarshal(m, b) -} -func (m *MutateAdsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAdsResponse.Marshal(b, m, deterministic) -} -func (m *MutateAdsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdsResponse.Merge(m, src) -} -func (m *MutateAdsResponse) XXX_Size() int { - return xxx_messageInfo_MutateAdsResponse.Size(m) -} -func (m *MutateAdsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAdsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAdsResponse proto.InternalMessageInfo - -func (m *MutateAdsResponse) GetResults() []*MutateAdResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for the ad mutate. -type MutateAdResult 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 *MutateAdResult) Reset() { *m = MutateAdResult{} } -func (m *MutateAdResult) String() string { return proto.CompactTextString(m) } -func (*MutateAdResult) ProtoMessage() {} -func (*MutateAdResult) Descriptor() ([]byte, []int) { - return fileDescriptor_5b4b1037e2d66699, []int{4} -} - -func (m *MutateAdResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAdResult.Unmarshal(m, b) -} -func (m *MutateAdResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAdResult.Marshal(b, m, deterministic) -} -func (m *MutateAdResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAdResult.Merge(m, src) -} -func (m *MutateAdResult) XXX_Size() int { - return xxx_messageInfo_MutateAdResult.Size(m) -} -func (m *MutateAdResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAdResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAdResult proto.InternalMessageInfo - -func (m *MutateAdResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetAdRequest)(nil), "google.ads.googleads.v2.services.GetAdRequest") - proto.RegisterType((*MutateAdsRequest)(nil), "google.ads.googleads.v2.services.MutateAdsRequest") - proto.RegisterType((*AdOperation)(nil), "google.ads.googleads.v2.services.AdOperation") - proto.RegisterType((*MutateAdsResponse)(nil), "google.ads.googleads.v2.services.MutateAdsResponse") - proto.RegisterType((*MutateAdResult)(nil), "google.ads.googleads.v2.services.MutateAdResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/ad_service.proto", fileDescriptor_5b4b1037e2d66699) -} - -var fileDescriptor_5b4b1037e2d66699 = []byte{ - // 581 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xb1, 0x6f, 0xd3, 0x4e, - 0x18, 0xfd, 0xd9, 0xd5, 0xaf, 0x28, 0xe7, 0x52, 0xc1, 0x2d, 0x44, 0x06, 0x89, 0xc8, 0xb4, 0x22, - 0x8a, 0x94, 0x33, 0x38, 0x62, 0x71, 0x55, 0xa1, 0xcb, 0x40, 0x0a, 0x52, 0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x10, 0x6e, 0xaf, 0xfc, 0x01, 0xf4, 0xae, - 0xe0, 0x0f, 0x03, 0xb4, 0xea, 0xb6, 0x41, 0x6f, 0xfb, 0xee, 0xe8, 0x15, 0xb4, 0x07, 0xff, 0xa4, - 0x51, 0x73, 0x71, 0x06, 0x65, 0xca, 0xbe, 0xd3, 0x2d, 0x52, 0xae, 0x62, 0x5d, 0x36, 0x96, 0xf9, - 0xb8, 0x77, 0x55, 0x84, 0xf4, 0xe3, 0x52, 0xec, 0x1b, 0x3d, 0xfb, 0xf1, 0x0d, 0x6e, 0xaf, 0x0a, - 0x54, 0x28, 0x8d, 0x04, 0x9a, 0xf3, 0x78, 0xf8, 0xc7, 0x00, 0x07, 0x73, 0x1e, 0x6f, 0x0c, 0x33, - 0xdc, 0xaf, 0x87, 0x71, 0x5a, 0xac, 0xe7, 0xa9, 0xf1, 0xe9, 0xa4, 0xd2, 0x84, 0x7c, 0x41, 0x92, - 0x10, 0xf1, 0x2c, 0x74, 0x43, 0x96, 0x94, 0xcb, 0xeb, 0xae, 0xaa, 0xac, 0xff, 0x1f, 0x3a, 0xd2, - 0xe0, 0xbb, 0xb9, 0x33, 0xc2, 0xf8, 0xa7, 0xd9, 0x19, 0x29, 0x43, 0x4c, 0x05, 0x52, 0xb0, 0x40, - 0x13, 0x0f, 0x55, 0x85, 0xc5, 0x8d, 0xa6, 0x4c, 0x31, 0x15, 0xd3, 0x9a, 0x32, 0x9d, 0x78, 0x53, - 0x4d, 0xf9, 0x6d, 0x1e, 0xa8, 0x73, 0xdf, 0xc7, 0x54, 0xf8, 0x7e, 0x4d, 0xf2, 0xfd, 0x89, 0xe7, - 0xfb, 0x9a, 0x76, 0xb6, 0x5b, 0xe6, 0x1c, 0xfc, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xf6, 0x49, 0xeb, - 0xdf, 0x2e, 0x05, 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 - -// AdServiceClient is the client API for AdService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AdServiceClient interface { - // Returns the requested ad in full detail. - GetAd(ctx context.Context, in *GetAdRequest, opts ...grpc.CallOption) (*resources.Ad, error) - // Updates ads. Operation statuses are returned. - MutateAds(ctx context.Context, in *MutateAdsRequest, opts ...grpc.CallOption) (*MutateAdsResponse, error) -} - -type adServiceClient struct { - cc *grpc.ClientConn -} - -func NewAdServiceClient(cc *grpc.ClientConn) AdServiceClient { - return &adServiceClient{cc} -} - -func (c *adServiceClient) GetAd(ctx context.Context, in *GetAdRequest, opts ...grpc.CallOption) (*resources.Ad, error) { - out := new(resources.Ad) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.AdService/GetAd", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *adServiceClient) MutateAds(ctx context.Context, in *MutateAdsRequest, opts ...grpc.CallOption) (*MutateAdsResponse, error) { - out := new(MutateAdsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.AdService/MutateAds", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AdServiceServer is the server API for AdService service. -type AdServiceServer interface { - // Returns the requested ad in full detail. - GetAd(context.Context, *GetAdRequest) (*resources.Ad, error) - // Updates ads. Operation statuses are returned. - MutateAds(context.Context, *MutateAdsRequest) (*MutateAdsResponse, error) -} - -// UnimplementedAdServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAdServiceServer struct { -} - -func (*UnimplementedAdServiceServer) GetAd(ctx context.Context, req *GetAdRequest) (*resources.Ad, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAd not implemented") -} -func (*UnimplementedAdServiceServer) MutateAds(ctx context.Context, req *MutateAdsRequest) (*MutateAdsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method MutateAds not implemented") -} - -func RegisterAdServiceServer(s *grpc.Server, srv AdServiceServer) { - s.RegisterService(&_AdService_serviceDesc, srv) -} - -func _AdService_GetAd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAdRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdServiceServer).GetAd(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.AdService/GetAd", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdServiceServer).GetAd(ctx, req.(*GetAdRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AdService_MutateAds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateAdsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AdServiceServer).MutateAds(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.AdService/MutateAds", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AdServiceServer).MutateAds(ctx, req.(*MutateAdsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _AdService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.AdService", - HandlerType: (*AdServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetAd", - Handler: _AdService_GetAd_Handler, - }, - { - MethodName: "MutateAds", - Handler: _AdService_MutateAds_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/ad_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/age_range_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/age_range_view_service.pb.go deleted file mode 100644 index 6cd96c05..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/age_range_view_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/age_range_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [AgeRangeViewService.GetAgeRangeView][google.ads.googleads.v2.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_057905eda0e1111f, []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 (m *GetAgeRangeViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAgeRangeViewRequest.Merge(m, 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.v2.services.GetAgeRangeViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/age_range_view_service.proto", fileDescriptor_057905eda0e1111f) -} - -var fileDescriptor_057905eda0e1111f = []byte{ - // 389 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xc1, 0x4a, 0xeb, 0x40, - 0x14, 0x86, 0x49, 0x2e, 0x5c, 0xb8, 0xe1, 0x5e, 0x2e, 0x44, 0xd0, 0x12, 0x5d, 0x94, 0xda, 0x85, - 0x74, 0x31, 0x83, 0x11, 0x54, 0x46, 0xba, 0x48, 0x37, 0x75, 0x25, 0xa5, 0x42, 0x16, 0x12, 0x08, - 0x63, 0x72, 0x18, 0x02, 0xcd, 0x4c, 0xcd, 0xa4, 0xe9, 0x42, 0xdc, 0xf8, 0x0a, 0xbe, 0x81, 0x4b, - 0xf7, 0xbe, 0x44, 0xb7, 0xbe, 0x82, 0xab, 0xbe, 0x84, 0x92, 0x4e, 0x26, 0xad, 0xda, 0xd2, 0xdd, - 0xcf, 0x39, 0xe7, 0x3b, 0xff, 0x9c, 0x3f, 0xb1, 0xba, 0x4c, 0x08, 0x36, 0x02, 0x4c, 0x63, 0x89, - 0x95, 0x2c, 0x55, 0xe1, 0x62, 0x09, 0x59, 0x91, 0x44, 0x20, 0x31, 0x65, 0x10, 0x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ac, 0x89, 0x64, 0x50, 0xc6, 0x3d, 0x30, 0x6e, 0x2e, 0x2b, 0x9a, 0x89, 0x11, - 0xe5, 0x0c, 0x89, 0x8c, 0x61, 0x06, 0x7c, 0xf1, 0x31, 0xf0, 0xd2, 0x6f, 0xf3, 0xff, 0x75, 0xa1, - 0xc5, 0xb3, 0xf9, 0xab, 0xef, 0x79, 0x2f, 0x66, 0xb3, 0xaf, 0x16, 0x7a, 0xb1, 0x44, 0x4a, 0x96, - 0xca, 0x77, 0x51, 0x65, 0x2c, 0x67, 0x7a, 0x24, 0xf0, 0x62, 0x19, 0xd4, 0x23, 0x81, 0xef, 0x06, - 0x7a, 0x64, 0x6e, 0xb6, 0x55, 0x9d, 0x10, 0x2f, 0x96, 0x84, 0xd4, 0x43, 0x84, 0xf8, 0x2e, 0x21, - 0x7a, 0xec, 0xf6, 0xf7, 0xe2, 0x9d, 0x27, 0x9f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x11, 0x09, 0xe0, - 0xf8, 0x06, 0x03, 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 - -// 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.v2.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) -} - -// UnimplementedAgeRangeViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAgeRangeViewServiceServer struct { -} - -func (*UnimplementedAgeRangeViewServiceServer) GetAgeRangeView(ctx context.Context, req *GetAgeRangeViewRequest) (*resources.AgeRangeView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAgeRangeView not implemented") -} - -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.v2.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.v2.services.AgeRangeViewService", - HandlerType: (*AgeRangeViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetAgeRangeView", - Handler: _AgeRangeViewService_GetAgeRangeView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/age_range_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/asset_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/asset_service.pb.go deleted file mode 100644 index cea39369..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/asset_service.pb.go +++ /dev/null @@ -1,441 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/asset_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [AssetService.GetAsset][google.ads.googleads.v2.services.AssetService.GetAsset] -type GetAssetRequest struct { - // The resource name of the asset 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 *GetAssetRequest) Reset() { *m = GetAssetRequest{} } -func (m *GetAssetRequest) String() string { return proto.CompactTextString(m) } -func (*GetAssetRequest) ProtoMessage() {} -func (*GetAssetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_be5e2650216741c6, []int{0} -} - -func (m *GetAssetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAssetRequest.Unmarshal(m, b) -} -func (m *GetAssetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAssetRequest.Marshal(b, m, deterministic) -} -func (m *GetAssetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAssetRequest.Merge(m, src) -} -func (m *GetAssetRequest) XXX_Size() int { - return xxx_messageInfo_GetAssetRequest.Size(m) -} -func (m *GetAssetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAssetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetAssetRequest proto.InternalMessageInfo - -func (m *GetAssetRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for [AssetService.MutateAssets][google.ads.googleads.v2.services.AssetService.MutateAssets] -type MutateAssetsRequest struct { - // The ID of the customer whose assets 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 assets. - Operations []*AssetOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateAssetsRequest) Reset() { *m = MutateAssetsRequest{} } -func (m *MutateAssetsRequest) String() string { return proto.CompactTextString(m) } -func (*MutateAssetsRequest) ProtoMessage() {} -func (*MutateAssetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_be5e2650216741c6, []int{1} -} - -func (m *MutateAssetsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAssetsRequest.Unmarshal(m, b) -} -func (m *MutateAssetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAssetsRequest.Marshal(b, m, deterministic) -} -func (m *MutateAssetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAssetsRequest.Merge(m, src) -} -func (m *MutateAssetsRequest) XXX_Size() int { - return xxx_messageInfo_MutateAssetsRequest.Size(m) -} -func (m *MutateAssetsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAssetsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAssetsRequest proto.InternalMessageInfo - -func (m *MutateAssetsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateAssetsRequest) GetOperations() []*AssetOperation { - if m != nil { - return m.Operations - } - return nil -} - -// A single operation to create an asset. Supported asset types are -// YoutubeVideoAsset, MediaBundleAsset and ImageAsset. TextAsset should be -// created with Ad inline. -type AssetOperation struct { - // The mutate operation. - // - // Types that are valid to be assigned to Operation: - // *AssetOperation_Create - Operation isAssetOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AssetOperation) Reset() { *m = AssetOperation{} } -func (m *AssetOperation) String() string { return proto.CompactTextString(m) } -func (*AssetOperation) ProtoMessage() {} -func (*AssetOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_be5e2650216741c6, []int{2} -} - -func (m *AssetOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AssetOperation.Unmarshal(m, b) -} -func (m *AssetOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AssetOperation.Marshal(b, m, deterministic) -} -func (m *AssetOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_AssetOperation.Merge(m, src) -} -func (m *AssetOperation) XXX_Size() int { - return xxx_messageInfo_AssetOperation.Size(m) -} -func (m *AssetOperation) XXX_DiscardUnknown() { - xxx_messageInfo_AssetOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_AssetOperation proto.InternalMessageInfo - -type isAssetOperation_Operation interface { - isAssetOperation_Operation() -} - -type AssetOperation_Create struct { - Create *resources.Asset `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -func (*AssetOperation_Create) isAssetOperation_Operation() {} - -func (m *AssetOperation) GetOperation() isAssetOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *AssetOperation) GetCreate() *resources.Asset { - if x, ok := m.GetOperation().(*AssetOperation_Create); ok { - return x.Create - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AssetOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AssetOperation_Create)(nil), - } -} - -// Response message for an asset mutate. -type MutateAssetsResponse struct { - // All results for the mutate. - Results []*MutateAssetResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateAssetsResponse) Reset() { *m = MutateAssetsResponse{} } -func (m *MutateAssetsResponse) String() string { return proto.CompactTextString(m) } -func (*MutateAssetsResponse) ProtoMessage() {} -func (*MutateAssetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_be5e2650216741c6, []int{3} -} - -func (m *MutateAssetsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAssetsResponse.Unmarshal(m, b) -} -func (m *MutateAssetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAssetsResponse.Marshal(b, m, deterministic) -} -func (m *MutateAssetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAssetsResponse.Merge(m, src) -} -func (m *MutateAssetsResponse) XXX_Size() int { - return xxx_messageInfo_MutateAssetsResponse.Size(m) -} -func (m *MutateAssetsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAssetsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAssetsResponse proto.InternalMessageInfo - -func (m *MutateAssetsResponse) GetResults() []*MutateAssetResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for the asset mutate. -type MutateAssetResult 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 *MutateAssetResult) Reset() { *m = MutateAssetResult{} } -func (m *MutateAssetResult) String() string { return proto.CompactTextString(m) } -func (*MutateAssetResult) ProtoMessage() {} -func (*MutateAssetResult) Descriptor() ([]byte, []int) { - return fileDescriptor_be5e2650216741c6, []int{4} -} - -func (m *MutateAssetResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateAssetResult.Unmarshal(m, b) -} -func (m *MutateAssetResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateAssetResult.Marshal(b, m, deterministic) -} -func (m *MutateAssetResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateAssetResult.Merge(m, src) -} -func (m *MutateAssetResult) XXX_Size() int { - return xxx_messageInfo_MutateAssetResult.Size(m) -} -func (m *MutateAssetResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateAssetResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateAssetResult proto.InternalMessageInfo - -func (m *MutateAssetResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetAssetRequest)(nil), "google.ads.googleads.v2.services.GetAssetRequest") - proto.RegisterType((*MutateAssetsRequest)(nil), "google.ads.googleads.v2.services.MutateAssetsRequest") - proto.RegisterType((*AssetOperation)(nil), "google.ads.googleads.v2.services.AssetOperation") - proto.RegisterType((*MutateAssetsResponse)(nil), "google.ads.googleads.v2.services.MutateAssetsResponse") - proto.RegisterType((*MutateAssetResult)(nil), "google.ads.googleads.v2.services.MutateAssetResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/asset_service.proto", fileDescriptor_be5e2650216741c6) -} - -var fileDescriptor_be5e2650216741c6 = []byte{ - // 540 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x3f, 0x6f, 0xd3, 0x40, - 0x14, 0xc7, 0xae, 0x54, 0xe8, 0xa5, 0x80, 0x7a, 0x20, 0x11, 0x05, 0x24, 0x22, 0xd3, 0x21, 0x0a, - 0xe2, 0x1c, 0x5c, 0x88, 0xd0, 0xa1, 0x0e, 0xce, 0x92, 0x32, 0x14, 0x22, 0x23, 0x65, 0x40, 0x91, - 0xa2, 0xc3, 0x3e, 0x59, 0x96, 0x62, 0x9f, 0xf1, 0x3b, 0x67, 0xa9, 0xba, 0x30, 0xb1, 0x33, 0xb1, - 0x32, 0xb2, 0xf3, 0x25, 0xba, 0xf2, 0x15, 0x98, 0xf8, 0x04, 0x6c, 0x20, 0xfb, 0x7c, 0x8e, 0x03, - 0x8a, 0xd2, 0x6e, 0xcf, 0xf7, 0xde, 0xef, 0xcf, 0xbd, 0xf7, 0xce, 0xe8, 0x59, 0x28, 0x44, 0xb8, - 0xe0, 0x36, 0x0b, 0xc0, 0x56, 0x61, 0x11, 0x2d, 0x1d, 0x1b, 0x78, 0xb6, 0x8c, 0x7c, 0x0e, 0x36, - 0x03, 0xe0, 0x72, 0x5e, 0x7d, 0x92, 0x34, 0x13, 0x52, 0xe0, 0xae, 0x2a, 0x25, 0x2c, 0x00, 0x52, - 0xa3, 0xc8, 0xd2, 0x21, 0x1a, 0xd5, 0x79, 0xb2, 0x89, 0x37, 0xe3, 0x20, 0xf2, 0xac, 0x26, 0x56, - 0x84, 0x9d, 0x07, 0xba, 0x3c, 0x8d, 0x6c, 0x96, 0x24, 0x42, 0x32, 0x19, 0x89, 0x04, 0xaa, 0xec, - 0xbd, 0x46, 0xd6, 0x5f, 0x44, 0x3c, 0xa9, 0x60, 0xd6, 0x10, 0xdd, 0x1e, 0x73, 0xe9, 0x16, 0x44, - 0x1e, 0xff, 0x90, 0x73, 0x90, 0xf8, 0x11, 0xba, 0xa9, 0x25, 0xe6, 0x09, 0x8b, 0x79, 0xdb, 0xe8, - 0x1a, 0xbd, 0x3d, 0x6f, 0x5f, 0x1f, 0xbe, 0x66, 0x31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e, 0xa5, 0xae, - 0xe9, 0x5d, 0xeb, 0x0c, 0xaf, 0x0a, 0x53, 0x53, 0xb3, 0x86, 0xa5, 0xe3, 0x81, 0xf5, 0xb8, 0x70, - 0xbc, 0xb2, 0x78, 0xd6, 0x58, 0xdc, 0xe3, 0xfe, 0x79, 0x65, 0x98, 0xc6, 0x25, 0x05, 0x35, 0xfa, - 0x9d, 0xfb, 0x17, 0x6e, 0x7b, 0x25, 0x53, 0x45, 0x69, 0x04, 0xc4, 0x17, 0xf1, 0xe8, 0xb7, 0x81, - 0x0e, 0x7d, 0x11, 0x6f, 0xb5, 0x34, 0x3a, 0x68, 0xce, 0x69, 0x52, 0x3c, 0xc2, 0x89, 0xf1, 0xee, - 0xa4, 0x82, 0x85, 0x62, 0xc1, 0x92, 0x90, 0x88, 0x2c, 0xb4, 0x43, 0x9e, 0x94, 0x4f, 0xd4, 0x5e, - 0x09, 0x6d, 0xfe, 0xc7, 0xbc, 0xd4, 0xc1, 0x57, 0x73, 0x67, 0xec, 0xba, 0xdf, 0xcc, 0xee, 0x58, - 0x11, 0xba, 0x01, 0x10, 0x15, 0x16, 0xd1, 0xd4, 0x21, 0x95, 0x30, 0x5c, 0xe8, 0x92, 0x99, 0x1b, - 0xc0, 0xac, 0x2e, 0x99, 0x4d, 0x9d, 0x99, 0x2e, 0xf9, 0x65, 0x1e, 0xaa, 0x73, 0x4a, 0xdd, 0x00, - 0x28, 0xad, 0x8b, 0x28, 0x9d, 0x3a, 0x94, 0xea, 0xb2, 0xf7, 0xbb, 0xa5, 0xcf, 0xa3, 0xbf, 0x01, - 0x00, 0x00, 0xff, 0xff, 0xe5, 0x46, 0x89, 0x4f, 0x0a, 0x05, 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 - -// 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 { - // Returns the requested asset in full detail. - GetAsset(ctx context.Context, in *GetAssetRequest, opts ...grpc.CallOption) (*resources.Asset, error) - // Creates assets. Operation statuses are returned. - MutateAssets(ctx context.Context, in *MutateAssetsRequest, opts ...grpc.CallOption) (*MutateAssetsResponse, error) -} - -type assetServiceClient struct { - cc *grpc.ClientConn -} - -func NewAssetServiceClient(cc *grpc.ClientConn) AssetServiceClient { - return &assetServiceClient{cc} -} - -func (c *assetServiceClient) GetAsset(ctx context.Context, in *GetAssetRequest, opts ...grpc.CallOption) (*resources.Asset, error) { - out := new(resources.Asset) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.AssetService/GetAsset", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *assetServiceClient) MutateAssets(ctx context.Context, in *MutateAssetsRequest, opts ...grpc.CallOption) (*MutateAssetsResponse, error) { - out := new(MutateAssetsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.AssetService/MutateAssets", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AssetServiceServer is the server API for AssetService service. -type AssetServiceServer interface { - // Returns the requested asset in full detail. - GetAsset(context.Context, *GetAssetRequest) (*resources.Asset, error) - // Creates assets. Operation statuses are returned. - MutateAssets(context.Context, *MutateAssetsRequest) (*MutateAssetsResponse, error) -} - -// UnimplementedAssetServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAssetServiceServer struct { -} - -func (*UnimplementedAssetServiceServer) GetAsset(ctx context.Context, req *GetAssetRequest) (*resources.Asset, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAsset not implemented") -} -func (*UnimplementedAssetServiceServer) MutateAssets(ctx context.Context, req *MutateAssetsRequest) (*MutateAssetsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method MutateAssets not implemented") -} - -func RegisterAssetServiceServer(s *grpc.Server, srv AssetServiceServer) { - s.RegisterService(&_AssetService_serviceDesc, srv) -} - -func _AssetService_GetAsset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAssetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AssetServiceServer).GetAsset(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.AssetService/GetAsset", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AssetServiceServer).GetAsset(ctx, req.(*GetAssetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AssetService_MutateAssets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateAssetsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AssetServiceServer).MutateAssets(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.AssetService/MutateAssets", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AssetServiceServer).MutateAssets(ctx, req.(*MutateAssetsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _AssetService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.AssetService", - HandlerType: (*AssetServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetAsset", - Handler: _AssetService_GetAsset_Handler, - }, - { - MethodName: "MutateAssets", - Handler: _AssetService_MutateAssets_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/asset_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/bidding_strategy_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/bidding_strategy_service.pb.go deleted file mode 100644 index c6852905..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/bidding_strategy_service.pb.go +++ /dev/null @@ -1,528 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/bidding_strategy_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [BiddingStrategyService.GetBiddingStrategy][google.ads.googleads.v2.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_152e871f58d907b5, []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 (m *GetBiddingStrategyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBiddingStrategyRequest.Merge(m, 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.v2.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_152e871f58d907b5, []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 (m *MutateBiddingStrategiesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateBiddingStrategiesRequest.Merge(m, 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 -} - -func (m *MutateBiddingStrategiesRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateBiddingStrategiesRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_152e871f58d907b5, []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 (m *BiddingStrategyOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_BiddingStrategyOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*BiddingStrategyOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*BiddingStrategyOperation_Create)(nil), - (*BiddingStrategyOperation_Update)(nil), - (*BiddingStrategyOperation_Remove)(nil), - } -} - -// Response message for bidding strategy mutate. -type MutateBiddingStrategiesResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_152e871f58d907b5, []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 (m *MutateBiddingStrategiesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateBiddingStrategiesResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_152e871f58d907b5, []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 (m *MutateBiddingStrategyResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateBiddingStrategyResult.Merge(m, 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.v2.services.GetBiddingStrategyRequest") - proto.RegisterType((*MutateBiddingStrategiesRequest)(nil), "google.ads.googleads.v2.services.MutateBiddingStrategiesRequest") - proto.RegisterType((*BiddingStrategyOperation)(nil), "google.ads.googleads.v2.services.BiddingStrategyOperation") - proto.RegisterType((*MutateBiddingStrategiesResponse)(nil), "google.ads.googleads.v2.services.MutateBiddingStrategiesResponse") - proto.RegisterType((*MutateBiddingStrategyResult)(nil), "google.ads.googleads.v2.services.MutateBiddingStrategyResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/bidding_strategy_service.proto", fileDescriptor_152e871f58d907b5) -} - -var fileDescriptor_152e871f58d907b5 = []byte{ - // 730 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0x51, 0x6b, 0xd4, 0x4a, - 0x14, 0xc7, 0x6f, 0xb2, 0x97, 0xde, 0xdb, 0xd9, 0xaa, 0x30, 0xa2, 0x8d, 0x5b, 0xb1, 0x4b, 0x2c, - 0x58, 0xf6, 0x21, 0x81, 0x14, 0x45, 0xb2, 0x14, 0x9b, 0x05, 0xdb, 0x0a, 0xd6, 0x96, 0x14, 0x2a, - 0x94, 0x85, 0x30, 0x4d, 0xa6, 0x21, 0x34, 0xc9, 0xc4, 0x99, 0xc9, 0xc2, 0x52, 0xfa, 0xd2, 0xaf, - 0xe0, 0x9b, 0x8f, 0x3e, 0xfa, 0x31, 0xfa, 0xd8, 0x57, 0xdf, 0x05, 0xc1, 0x27, 0xfd, 0x12, 0x92, - 0x4c, 0x66, 0xb7, 0xdd, 0x36, 0xae, 0xb4, 0x6f, 0x27, 0x33, 0xff, 0xf9, 0x9d, 0x73, 0xe6, 0x9c, - 0x39, 0x01, 0xaf, 0x42, 0x42, 0xc2, 0x18, 0x9b, 0x28, 0x60, 0xa6, 0x30, 0x0b, 0x6b, 0x60, 0x99, - 0x0c, 0xd3, 0x41, 0xe4, 0x63, 0x66, 0x1e, 0x44, 0x41, 0x10, 0xa5, 0xa1, 0xc7, 0x38, 0x45, 0x1c, - 0x87, 0x43, 0xaf, 0xda, 0x31, 0x32, 0x4a, 0x38, 0x81, 0x6d, 0x71, 0xca, 0x40, 0x01, 0x33, 0x46, - 0x00, 0x63, 0x60, 0x19, 0x12, 0xd0, 0x7a, 0x59, 0xe7, 0x82, 0x62, 0x46, 0x72, 0x7a, 0x9d, 0x0f, - 0xc1, 0x6e, 0x3d, 0x96, 0x27, 0xb3, 0xc8, 0x44, 0x69, 0x4a, 0x38, 0xe2, 0x11, 0x49, 0x59, 0xb5, - 0x5b, 0x79, 0x36, 0xcb, 0xaf, 0x83, 0xfc, 0xd0, 0x3c, 0x8c, 0x70, 0x1c, 0x78, 0x09, 0x62, 0x47, - 0x95, 0x62, 0xbe, 0x52, 0xd0, 0xcc, 0x37, 0x19, 0x47, 0x3c, 0x67, 0x13, 0x1b, 0x05, 0xd8, 0x8f, - 0x23, 0x9c, 0x72, 0xb1, 0xa1, 0xaf, 0x81, 0x47, 0x1b, 0x98, 0xf7, 0x44, 0x38, 0xbb, 0x55, 0x34, - 0x2e, 0xfe, 0x90, 0x63, 0xc6, 0xe1, 0x53, 0x70, 0x47, 0x86, 0xec, 0xa5, 0x28, 0xc1, 0x9a, 0xd2, - 0x56, 0x96, 0x67, 0xdd, 0x39, 0xb9, 0xf8, 0x0e, 0x25, 0x58, 0xff, 0xa5, 0x80, 0x27, 0x5b, 0x39, - 0x47, 0x1c, 0x5f, 0xa6, 0x44, 0x98, 0x49, 0xce, 0x22, 0x68, 0xfa, 0x39, 0xe3, 0x24, 0xc1, 0x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0xec, 0x6f, 0x56, 0x80, 0x90, - 0xc4, 0x28, 0x0d, 0x0d, 0x42, 0x43, 0x33, 0xc4, 0x69, 0x39, 0x29, 0xcc, 0xb1, 0xcb, 0xfa, 0x9f, - 0x55, 0x57, 0x1a, 0x9f, 0xd5, 0xc6, 0x86, 0xe3, 0x7c, 0x51, 0xdb, 0x1b, 0x02, 0xe8, 0x04, 0xcc, - 0x10, 0x66, 0x61, 0xed, 0x59, 0x46, 0xe5, 0x98, 0x9d, 0x4b, 0x49, 0xdf, 0x09, 0x58, 0x7f, 0x24, - 0xe9, 0xef, 0x59, 0x7d, 0x29, 0xf9, 0xa9, 0x2e, 0x89, 0x75, 0xdb, 0x76, 0x02, 0x66, 0xdb, 0x23, - 0x91, 0x6d, 0xef, 0x59, 0xb6, 0x2d, 0x65, 0x07, 0x33, 0x65, 0x9c, 0x2b, 0xbf, 0x03, 0x00, 0x00, - 0xff, 0xff, 0x42, 0xf0, 0x5e, 0x06, 0x53, 0x07, 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 - -// 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.v2.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.v2.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) -} - -// UnimplementedBiddingStrategyServiceServer can be embedded to have forward compatible implementations. -type UnimplementedBiddingStrategyServiceServer struct { -} - -func (*UnimplementedBiddingStrategyServiceServer) GetBiddingStrategy(ctx context.Context, req *GetBiddingStrategyRequest) (*resources.BiddingStrategy, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetBiddingStrategy not implemented") -} -func (*UnimplementedBiddingStrategyServiceServer) MutateBiddingStrategies(ctx context.Context, req *MutateBiddingStrategiesRequest) (*MutateBiddingStrategiesResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateBiddingStrategies not implemented") -} - -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.v2.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.v2.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.v2.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/v2/services/bidding_strategy_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/billing_setup_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/billing_setup_service.pb.go deleted file mode 100644 index f8d68437..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/billing_setup_service.pb.go +++ /dev/null @@ -1,459 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/billing_setup_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [BillingSetupService.GetBillingSetup][google.ads.googleads.v2.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_4870990e51228b9d, []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 (m *GetBillingSetupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBillingSetupRequest.Merge(m, 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_4870990e51228b9d, []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 (m *MutateBillingSetupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateBillingSetupRequest.Merge(m, 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_4870990e51228b9d, []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 (m *BillingSetupOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_BillingSetupOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*BillingSetupOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*BillingSetupOperation_Create)(nil), - (*BillingSetupOperation_Remove)(nil), - } -} - -// 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_4870990e51228b9d, []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 (m *MutateBillingSetupResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateBillingSetupResponse.Merge(m, 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_4870990e51228b9d, []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 (m *MutateBillingSetupResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateBillingSetupResult.Merge(m, 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.v2.services.GetBillingSetupRequest") - proto.RegisterType((*MutateBillingSetupRequest)(nil), "google.ads.googleads.v2.services.MutateBillingSetupRequest") - proto.RegisterType((*BillingSetupOperation)(nil), "google.ads.googleads.v2.services.BillingSetupOperation") - proto.RegisterType((*MutateBillingSetupResponse)(nil), "google.ads.googleads.v2.services.MutateBillingSetupResponse") - proto.RegisterType((*MutateBillingSetupResult)(nil), "google.ads.googleads.v2.services.MutateBillingSetupResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/billing_setup_service.proto", fileDescriptor_4870990e51228b9d) -} - -var fileDescriptor_4870990e51228b9d = []byte{ - // 567 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x4f, 0x6f, 0xd3, 0x3e, - 0x18, 0xfe, 0xb9, 0x93, 0x2a, 0xcd, 0xfd, 0x21, 0x24, 0x23, 0x20, 0x14, 0x24, 0xaa, 0xb0, 0xc3, - 0xd4, 0x83, 0x2d, 0x82, 0x50, 0x91, 0xb7, 0x0a, 0xa5, 0x97, 0x6e, 0x07, 0x60, 0xca, 0x44, 0x0f, - 0xa8, 0x52, 0x95, 0x25, 0x56, 0x14, 0x29, 0x89, 0x43, 0xec, 0xf4, 0x32, 0xed, 0xc2, 0x8d, 0xf3, - 0xbe, 0x01, 0x47, 0xee, 0x9c, 0xf8, 0x06, 0x3b, 0x70, 0xe1, 0x2b, 0x70, 0xe2, 0x4b, 0x80, 0x12, - 0xdb, 0xfd, 0xc3, 0x52, 0x15, 0x76, 0x7b, 0xfd, 0xbe, 0xef, 0xf3, 0x3c, 0xef, 0x1f, 0xdb, 0xf0, - 0x30, 0xe2, 0x3c, 0x4a, 0x18, 0xf1, 0x43, 0x41, 0x94, 0x59, 0x59, 0x73, 0x87, 0x08, 0x56, 0xcc, - 0xe3, 0x80, 0x09, 0x72, 0x16, 0x27, 0x49, 0x9c, 0x45, 0x33, 0xc1, 0x64, 0x99, 0xcf,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x83, 0x2c, 0xf5, 0x36, 0xff, 0x81, 0x07, - 0xc6, 0xf8, 0xd4, 0xda, 0x19, 0xbb, 0xee, 0xe7, 0x56, 0x6f, 0xac, 0x08, 0xdd, 0x50, 0x60, 0x65, - 0x56, 0xd6, 0xc4, 0xc1, 0x5a, 0x58, 0x5c, 0x99, 0x94, 0xa9, 0x1b, 0x8a, 0xe9, 0x22, 0x65, 0x3a, - 0x71, 0xa6, 0x26, 0xe5, 0x67, 0x6b, 0x4f, 0xf9, 0x29, 0x75, 0x43, 0x41, 0xe9, 0x22, 0x89, 0xd2, - 0x89, 0x43, 0xa9, 0x49, 0x3b, 0x6b, 0xd7, 0x75, 0x3e, 0xfb, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x91, - 0x28, 0x5a, 0x53, 0xaa, 0x05, 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 - -// 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.v2.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.v2.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) -} - -// UnimplementedBillingSetupServiceServer can be embedded to have forward compatible implementations. -type UnimplementedBillingSetupServiceServer struct { -} - -func (*UnimplementedBillingSetupServiceServer) GetBillingSetup(ctx context.Context, req *GetBillingSetupRequest) (*resources.BillingSetup, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBillingSetup not implemented") -} -func (*UnimplementedBillingSetupServiceServer) MutateBillingSetup(ctx context.Context, req *MutateBillingSetupRequest) (*MutateBillingSetupResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method MutateBillingSetup not implemented") -} - -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.v2.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.v2.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.v2.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/v2/services/billing_setup_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_audience_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_audience_view_service.pb.go deleted file mode 100644 index 16e43f07..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_audience_view_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/campaign_audience_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [CampaignAudienceViewService.GetCampaignAudienceView][google.ads.googleads.v2.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_b8ae39646e976956, []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 (m *GetCampaignAudienceViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCampaignAudienceViewRequest.Merge(m, 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.v2.services.GetCampaignAudienceViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/campaign_audience_view_service.proto", fileDescriptor_b8ae39646e976956) -} - -var fileDescriptor_b8ae39646e976956 = []byte{ - // 398 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0x3d, 0x8b, 0xdb, 0x40, - 0x10, 0x45, 0x0a, 0x04, 0x22, 0x92, 0x46, 0x8d, 0x8d, 0x1c, 0x82, 0x70, 0x5c, 0x04, 0x17, 0xbb, - 0xa0, 0x14, 0x26, 0x1b, 0xf2, 0x21, 0x07, 0xe3, 0x54, 0xc1, 0x38, 0xa0, 0x22, 0x08, 0xc4, 0x46, - 0x1a, 0xc4, 0x82, 0xb5, 0xab, 0x68, 0x25, 0xb9, 0x08, 0x69, 0xd2, 0xa4, 0x4f, 0xfe, 0x41, 0xca, - 0xfb, 0x29, 0x6e, 0x8f, 0xfb, 0x07, 0x57, 0xdd, 0xaf, 0x38, 0xe4, 0xd5, 0xca, 0x3e, 0xb0, 0xec, - 0xee, 0xb1, 0xf3, 0xe6, 0xbd, 0x99, 0x37, 0x6b, 0x2d, 0x52, 0x21, 0xd2, 0x0d, 0x60, 0x9a, 0x48, - 0xac, 0x60, 0x83, 0x6a, 0x0f, 0x4b, 0x28, 0x6a, 0x16, 0x83, 0xc4, 0x31, 0xcd, 0x72, 0xca, 0x52, - 0x1e, 0xd1, 0x2a, 0x61, 0xc0, 0x63, 0x88, 0x6a, 0x06, 0xdb, 0xa8, 0xad, 0xa3, 0xbc, 0x10, 0xa5, - 0xb0, 0x5d, 0xd5, 0x8b, 0x68, 0x22, 0x51, 0x27, 0x83, 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, - 0xe0, 0xfb, 0x23, 0xe2, 0x83, 0x6f, 0xff, 0x3f, 0x7d, 0xab, 0xc1, 0x7f, 0xf3, 0xd1, 0xd2, 0xf7, - 0xaf, 0x4c, 0x77, 0xa9, 0x04, 0xfd, 0x44, 0x22, 0x05, 0x1b, 0x14, 0x78, 0xa8, 0x35, 0x96, 0x3b, - 0x4d, 0x09, 0xfd, 0x44, 0x86, 0x1d, 0x25, 0x0c, 0xbc, 0x50, 0x53, 0xee, 0xcc, 0x89, 0x7a, 0x27, - 0xc4, 0x4f, 0x24, 0x21, 0x1d, 0x89, 0x90, 0xc0, 0x23, 0x44, 0xd3, 0xbe, 0x3f, 0xde, 0xcf, 0xf9, - 0xfa, 0x3e, 0x00, 0x00, 0xff, 0xff, 0x48, 0x0d, 0x45, 0xd0, 0x4e, 0x03, 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 - -// 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.v2.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) -} - -// UnimplementedCampaignAudienceViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCampaignAudienceViewServiceServer struct { -} - -func (*UnimplementedCampaignAudienceViewServiceServer) GetCampaignAudienceView(ctx context.Context, req *GetCampaignAudienceViewRequest) (*resources.CampaignAudienceView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCampaignAudienceView not implemented") -} - -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.v2.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.v2.services.CampaignAudienceViewService", - HandlerType: (*CampaignAudienceViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetCampaignAudienceView", - Handler: _CampaignAudienceViewService_GetCampaignAudienceView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/campaign_audience_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_bid_modifier_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_bid_modifier_service.pb.go deleted file mode 100644 index bb7212ab..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_bid_modifier_service.pb.go +++ /dev/null @@ -1,529 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/campaign_bid_modifier_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [CampaignBidModifierService.GetCampaignBidModifier][google.ads.googleads.v2.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_6133a924995ecc19, []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 (m *GetCampaignBidModifierRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCampaignBidModifierRequest.Merge(m, 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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_6133a924995ecc19, []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 (m *MutateCampaignBidModifiersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignBidModifiersRequest.Merge(m, 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 -} - -func (m *MutateCampaignBidModifiersRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateCampaignBidModifiersRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_6133a924995ecc19, []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 (m *CampaignBidModifierOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignBidModifierOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*CampaignBidModifierOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CampaignBidModifierOperation_Create)(nil), - (*CampaignBidModifierOperation_Update)(nil), - (*CampaignBidModifierOperation_Remove)(nil), - } -} - -// Response message for campaign bid modifiers mutate. -type MutateCampaignBidModifiersResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_6133a924995ecc19, []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 (m *MutateCampaignBidModifiersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignBidModifiersResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_6133a924995ecc19, []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 (m *MutateCampaignBidModifierResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignBidModifierResult.Merge(m, 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.v2.services.GetCampaignBidModifierRequest") - proto.RegisterType((*MutateCampaignBidModifiersRequest)(nil), "google.ads.googleads.v2.services.MutateCampaignBidModifiersRequest") - proto.RegisterType((*CampaignBidModifierOperation)(nil), "google.ads.googleads.v2.services.CampaignBidModifierOperation") - proto.RegisterType((*MutateCampaignBidModifiersResponse)(nil), "google.ads.googleads.v2.services.MutateCampaignBidModifiersResponse") - proto.RegisterType((*MutateCampaignBidModifierResult)(nil), "google.ads.googleads.v2.services.MutateCampaignBidModifierResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/campaign_bid_modifier_service.proto", fileDescriptor_6133a924995ecc19) -} - -var fileDescriptor_6133a924995ecc19 = []byte{ - // 737 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0x4f, 0x6b, 0xd4, 0x4c, - 0x1c, 0xc7, 0x9f, 0x64, 0x1f, 0xfa, 0x3c, 0x9d, 0xad, 0x0a, 0x23, 0xea, 0x12, 0x2b, 0x5d, 0x63, - 0xc1, 0xb2, 0x87, 0x04, 0x22, 0x14, 0x4d, 0x69, 0x65, 0xb7, 0xeb, 0xb6, 0x1e, 0x6a, 0x4b, 0x0a, - 0x3d, 0xe8, 0x62, 0x98, 0x26, 0xb3, 0xcb, 0xd0, 0x24, 0x13, 0x67, 0x26, 0x0b, 0xa5, 0xf4, 0xe2, - 0xc1, 0x37, 0xe0, 0x3b, 0xf0, 0xe0, 0xc1, 0x77, 0x62, 0x6f, 0xe2, 0x5b, 0xf0, 0x24, 0x78, 0xf1, - 0x2e, 0x48, 0x32, 0x99, 0xed, 0x1f, 0x36, 0x5d, 0xb1, 0xb7, 0xdf, 0xce, 0x7c, 0xf3, 0xf9, 0xfd, - 0x9d, 0xdf, 0x82, 0xee, 0x90, 0xd2, 0x61, 0x84, 0x6d, 0x14, 0x72, 0x5b, 0x9a, 0xb9, 0x35, 0x72, - 0x6c, 0x8e, 0xd9, 0x88, 0x04, 0x98, 0xdb, 0x01, 0x8a, 0x53, 0x44, 0x86, 0x89, 0xbf, 0x4f, 0x42, - 0x3f, 0xa6, 0x21, 0x19, 0x10, 0xcc, 0xfc, 0xf2, 0xda, 0x4a, 0x19, 0x15, 0x14, 0x36, 0xe5, 0xa7, - 0x16, 0x0a, 0xb9, 0x35, 0xa6, 0x58, 0x23, 0xc7, 0x52, 0x14, 0x63, 0xb5, 0xca, 0x0f, 0xc3, 0x9c, - 0x66, 0xac, 0xd2, 0x91, 0x74, 0x60, 0xcc, 0xab, 0xcf, 0x53, 0x62, 0xa3, 0x24, 0xa1, 0x02, 0x09, - 0x42, 0x13, 0x5e, 0xde, 0x96, 0xee, 0xed, 0xe2, 0xd7, 0x7e, 0x36, 0xb0, 0x07, 0x04, 0x47, 0xa1, - 0x1f, 0x23, 0x7e, 0x50, 0x2a, 0xee, 0x94, 0x0a, 0x96, 0x06, 0x36, 0x17, 0x48, 0x64, 0xfc, 0xc2, - 0x45, 0x0e, 0x0e, 0x22, 0x82, 0x13, 0x21, 0x2f, 0xcc, 0x2e, 0xb8, 0xb7, 0x81, 0xc5, 0x7a, 0x19, - 0x53, 0x87, 0x84, 0x5b, 0x65, 0x44, 0x1e, 0x7e, 0x93, 0x61, 0x2e, 0xe0, 0x03, 0x70, 0x4d, 0xc5, - 0xee, 0x27, 0x28, 0xc6, 0x0d, 0xad, 0xa9, 0x2d, 0xcd, 0x7a, 0x73, 0xea, 0xf0, 0x05, 0x8a, 0xb1, - 0xf9, 0x53, 0x03, 0xf7, 0xb7, 0x32, 0x81, 0x04, 0x9e, 0x40, 0xe2, 0x0a, 0xb5, 0x00, 0xea, 0x41, - 0xc6, 0x05, 0x8d, 0x31, 0xf3, 0x49, 0x58, 0x82, 0x80, 0x3a, 0x7a, 0x1e, 0xc2, 0xd7, 0x00, 0xd0, - 0x14, 0x33, 0x99, 0x74, 0x43, 0x6f, 0xd6, 0x96, 0xea, 0xce, 0x9a, 0x35, 0xad, 0xe8, 0xd6, 0x04, - 0x9f, 0xdb, 0x0a, 0xe3, 0x9d, 0x21, 0xc2, 0x87, 0xe0, 0x46, 0x8a, 0x98, 0x20, 0x28, 0xf2, 0x07, - 0x88, 0x44, 0x19, 0xc3, 0x8d, 0x5a, 0x53, 0x5b, 0xfa, 0xdf, 0xbb, 0x5e, 0x1e, 0xf7, 0xe4, 0x69, - 0x9e, 0xf4, 0x08, 0x45, 0x24, 0x44, 0x02, 0xfb, 0x34, 0x89, 0x0e, 0x1b, 0xff, 0x16, 0xb2, 0x39, - 0x75, 0xb8, 0x9d, 0x44, 0x87, 0xe6, 0x47, 0x1d, 0xcc, 0x5f, 0xe6, 0x1a, 0xae, 0x80, 0x7a, 0x96, - 0x16, 0x8c, 0xbc, 0x45, 0x05, 0xa3, 0xee, 0x18, 0x2a, 0x1f, 0xd5, 0x45, 0xab, 0x97, 0x77, 0x71, - 0x0b, 0xf1, 0x03, 0x0f, 0x48, 0x79, 0x6e, 0xc3, 0x1d, 0x30, 0x13, 0x30, 0x8c, 0x84, 0x2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0xe8, 0x5e, 0x0d, 0x22, 0x27, 0xd1, 0xec, 0x16, 0x99, 0xae, 0x99, 0x4f, 0xf2, 0x4c, - 0x4f, 0x53, 0x3b, 0x3a, 0xb3, 0xbd, 0x56, 0x5b, 0xc7, 0x13, 0x13, 0x75, 0xe3, 0x02, 0xef, 0x6a, - 0x2d, 0xe3, 0xee, 0x49, 0xbb, 0x71, 0x1a, 0x42, 0x69, 0xa5, 0x84, 0x5b, 0x01, 0x8d, 0x3b, 0xef, - 0x74, 0xb0, 0x18, 0xd0, 0x78, 0x6a, 0xb8, 0x9d, 0x85, 0xea, 0x29, 0xd9, 0xc9, 0x37, 0xc8, 0x8e, - 0xf6, 0x72, 0xb3, 0x84, 0x0c, 0x69, 0x84, 0x92, 0xa1, 0x45, 0xd9, 0xd0, 0x1e, 0xe2, 0xa4, 0xd8, - 0x2f, 0xf6, 0xa9, 0xdb, 0xea, 0xff, 0xbe, 0x15, 0x65, 0x7c, 0xd0, 0x6b, 0x1b, 0xed, 0xf6, 0x27, - 0xbd, 0xb9, 0x21, 0x81, 0xed, 0x90, 0x5b, 0xd2, 0xcc, 0xad, 0x3d, 0xc7, 0x2a, 0x1d, 0xf3, 0x13, - 0x25, 0xe9, 0xb7, 0x43, 0xde, 0x1f, 0x4b, 0xfa, 0x7b, 0x4e, 0x5f, 0x49, 0xbe, 0xeb, 0x8b, 0xf2, - 0xdc, 0x75, 0xdb, 0x21, 0x77, 0xdd, 0xb1, 0xc8, 0x75, 0xf7, 0x1c, 0xd7, 0x55, 0xb2, 0xfd, 0x99, - 0x22, 0xce, 0x47, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x9c, 0xb1, 0x2f, 0xdc, 0xa2, 0x07, 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 - -// 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.v2.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.v2.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) -} - -// UnimplementedCampaignBidModifierServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCampaignBidModifierServiceServer struct { -} - -func (*UnimplementedCampaignBidModifierServiceServer) GetCampaignBidModifier(ctx context.Context, req *GetCampaignBidModifierRequest) (*resources.CampaignBidModifier, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetCampaignBidModifier not implemented") -} -func (*UnimplementedCampaignBidModifierServiceServer) MutateCampaignBidModifiers(ctx context.Context, req *MutateCampaignBidModifiersRequest) (*MutateCampaignBidModifiersResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateCampaignBidModifiers not implemented") -} - -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.v2.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.v2.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.v2.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/v2/services/campaign_bid_modifier_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_budget_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_budget_service.pb.go deleted file mode 100644 index c7991466..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_budget_service.pb.go +++ /dev/null @@ -1,528 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/campaign_budget_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [CampaignBudgetService.GetCampaignBudget][google.ads.googleads.v2.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_7d72c61c2a3fadce, []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 (m *GetCampaignBudgetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCampaignBudgetRequest.Merge(m, 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.v2.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_7d72c61c2a3fadce, []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 (m *MutateCampaignBudgetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignBudgetsRequest.Merge(m, 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 -} - -func (m *MutateCampaignBudgetsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateCampaignBudgetsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_7d72c61c2a3fadce, []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 (m *CampaignBudgetOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignBudgetOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*CampaignBudgetOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CampaignBudgetOperation_Create)(nil), - (*CampaignBudgetOperation_Update)(nil), - (*CampaignBudgetOperation_Remove)(nil), - } -} - -// Response message for campaign budget mutate. -type MutateCampaignBudgetsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_7d72c61c2a3fadce, []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 (m *MutateCampaignBudgetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignBudgetsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_7d72c61c2a3fadce, []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 (m *MutateCampaignBudgetResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignBudgetResult.Merge(m, 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.v2.services.GetCampaignBudgetRequest") - proto.RegisterType((*MutateCampaignBudgetsRequest)(nil), "google.ads.googleads.v2.services.MutateCampaignBudgetsRequest") - proto.RegisterType((*CampaignBudgetOperation)(nil), "google.ads.googleads.v2.services.CampaignBudgetOperation") - proto.RegisterType((*MutateCampaignBudgetsResponse)(nil), "google.ads.googleads.v2.services.MutateCampaignBudgetsResponse") - proto.RegisterType((*MutateCampaignBudgetResult)(nil), "google.ads.googleads.v2.services.MutateCampaignBudgetResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/campaign_budget_service.proto", fileDescriptor_7d72c61c2a3fadce) -} - -var fileDescriptor_7d72c61c2a3fadce = []byte{ - // 726 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0x41, 0x6b, 0xd4, 0x40, - 0x14, 0x36, 0x59, 0xa9, 0x76, 0xb6, 0x2a, 0x8e, 0x94, 0x86, 0x58, 0x71, 0x89, 0x05, 0xcb, 0x1e, - 0x12, 0x9a, 0x0a, 0xd2, 0xd4, 0xb6, 0xec, 0x8a, 0x6d, 0x45, 0x6a, 0x4b, 0x0a, 0x0b, 0xca, 0x42, - 0x98, 0x26, 0xd3, 0x10, 0x9a, 0x64, 0xe2, 0xcc, 0x64, 0xa1, 0x94, 0x1e, 0xf4, 0x2f, 0x78, 0xf0, - 0xee, 0xd1, 0xff, 0x20, 0xde, 0x7b, 0x12, 0x3c, 0x79, 0xf7, 0x20, 0xfe, 0x0a, 0x49, 0x26, 0xb3, - 0xed, 0xae, 0xbb, 0xac, 0xd6, 0xdb, 0xcb, 0x9b, 0xef, 0x7d, 0xef, 0x7d, 0xf3, 0xde, 0xbc, 0x80, - 0xf5, 0x90, 0x90, 0x30, 0xc6, 0x16, 0x0a, 0x98, 0x25, 0xcc, 0xc2, 0xea, 0xd9, 0x16, 0xc3, 0xb4, - 0x17, 0xf9, 0x98, 0x59, 0x3e, 0x4a, 0x32, 0x14, 0x85, 0xa9, 0x77, 0x90, 0x07, 0x21, 0xe6, 0x5e, - 0x75, 0x60, 0x66, 0x94, 0x70, 0x02, 0x1b, 0x22, 0xc8, 0x44, 0x01, 0x33, 0xfb, 0xf1, 0x66, 0xcf, - 0x36, 0x65, 0xbc, 0xfe, 0x78, 0x5c, 0x06, 0x8a, 0x19, 0xc9, 0xe9, 0x88, 0x14, 0x82, 0x5a, 0x9f, - 0x97, 0x81, 0x59, 0x64, 0xa1, 0x34, 0x25, 0x1c, 0xf1, 0x88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0c, 0x97, 0x8a, 0x45, 0x74, 0x32, 0x20, 0x67, 0x4d, 0xbe, - 0x46, 0x66, 0x35, 0xfb, 0x9b, 0xa9, 0xea, 0xa0, 0xd5, 0x3c, 0x85, 0xdf, 0x15, 0x30, 0x3b, 0xb2, - 0xbd, 0x70, 0xfd, 0x72, 0xb7, 0x2f, 0x97, 0x83, 0xbe, 0x71, 0xe9, 0x78, 0x31, 0x57, 0xc6, 0x46, - 0xa9, 0x6a, 0xc5, 0x78, 0x54, 0xa8, 0x3a, 0x97, 0x71, 0x72, 0x61, 0xe5, 0xac, 0x35, 0x4f, 0x87, - 0x45, 0x39, 0x49, 0x49, 0xea, 0x28, 0x4d, 0xfd, 0xee, 0x59, 0x4b, 0x3b, 0x4f, 0x5c, 0x59, 0x59, - 0xc4, 0x4c, 0x9f, 0x24, 0xed, 0xb7, 0x2a, 0x58, 0xf0, 0x49, 0x32, 0xb1, 0xc8, 0xb6, 0x3e, 0xb2, - 0xf1, 0x7b, 0xc5, 0xb3, 0xdf, 0x53, 0x5e, 0x6f, 0x57, 0xf1, 0x21, 0x89, 0x51, 0x1a, 0x9a, 0x84, - 0x86, 0x56, 0x88, 0xd3, 0x72, 0x29, 0x58, 0xe7, 0x19, 0xc7, 0xff, 0x90, 0x56, 0xa5, 0xf1, 0x51, - 0xad, 0x6d, 0xb5, 0x5a, 0x9f, 0xd4, 0xc6, 0x96, 0x20, 0x6c, 0x05, 0xcc, 0x14, 0x66, 0x61, 0x75, - 0x6c, 0xb3, 0x4a, 0xcc, 0xce, 0x24, 0xa4, 0xdb, 0x0a, 0x58, 0xb7, 0x0f, 0xe9, 0x76, 0xec, 0xae, - 0x84, 0xfc, 0x52, 0x17, 0x84, 0xdf, 0x71, 0x5a, 0x01, 0x73, 0x9c, 0x3e, 0xc8, 0x71, 0x3a, 0xb6, - 0xe3, 0x48, 0xd8, 0xc1, 0x54, 0x59, 0xe7, 0xf2, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0xec, 0x22, - 0xbe, 0xd7, 0x37, 0x07, 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 - -// 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.v2.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.v2.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) -} - -// UnimplementedCampaignBudgetServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCampaignBudgetServiceServer struct { -} - -func (*UnimplementedCampaignBudgetServiceServer) GetCampaignBudget(ctx context.Context, req *GetCampaignBudgetRequest) (*resources.CampaignBudget, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetCampaignBudget not implemented") -} -func (*UnimplementedCampaignBudgetServiceServer) MutateCampaignBudgets(ctx context.Context, req *MutateCampaignBudgetsRequest) (*MutateCampaignBudgetsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateCampaignBudgets not implemented") -} - -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.v2.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.v2.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.v2.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/v2/services/campaign_budget_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_criterion_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_criterion_service.pb.go deleted file mode 100644 index 9730e1cb..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_criterion_service.pb.go +++ /dev/null @@ -1,526 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/campaign_criterion_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [CampaignCriterionService.GetCampaignCriterion][google.ads.googleads.v2.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_cdc082e26c646a0b, []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 (m *GetCampaignCriterionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCampaignCriterionRequest.Merge(m, 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.v2.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_cdc082e26c646a0b, []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 (m *MutateCampaignCriteriaRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignCriteriaRequest.Merge(m, 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 -} - -func (m *MutateCampaignCriteriaRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateCampaignCriteriaRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_cdc082e26c646a0b, []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 (m *CampaignCriterionOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignCriterionOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*CampaignCriterionOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CampaignCriterionOperation_Create)(nil), - (*CampaignCriterionOperation_Update)(nil), - (*CampaignCriterionOperation_Remove)(nil), - } -} - -// Response message for campaign criterion mutate. -type MutateCampaignCriteriaResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_cdc082e26c646a0b, []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 (m *MutateCampaignCriteriaResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignCriteriaResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_cdc082e26c646a0b, []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 (m *MutateCampaignCriterionResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignCriterionResult.Merge(m, 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.v2.services.GetCampaignCriterionRequest") - proto.RegisterType((*MutateCampaignCriteriaRequest)(nil), "google.ads.googleads.v2.services.MutateCampaignCriteriaRequest") - proto.RegisterType((*CampaignCriterionOperation)(nil), "google.ads.googleads.v2.services.CampaignCriterionOperation") - proto.RegisterType((*MutateCampaignCriteriaResponse)(nil), "google.ads.googleads.v2.services.MutateCampaignCriteriaResponse") - proto.RegisterType((*MutateCampaignCriterionResult)(nil), "google.ads.googleads.v2.services.MutateCampaignCriterionResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/campaign_criterion_service.proto", fileDescriptor_cdc082e26c646a0b) -} - -var fileDescriptor_cdc082e26c646a0b = []byte{ - // 731 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0x5d, 0x6b, 0xd4, 0x4a, - 0x18, 0xc7, 0x4f, 0xb2, 0x87, 0x9e, 0xd3, 0xd9, 0x9e, 0x23, 0x8c, 0x6f, 0x61, 0x6b, 0x75, 0x89, - 0x05, 0xcb, 0x5e, 0x24, 0x10, 0xeb, 0x4d, 0x6a, 0xb1, 0xbb, 0xd5, 0xb6, 0x5e, 0xf4, 0x85, 0x14, - 0x0a, 0xca, 0x42, 0x98, 0x26, 0xd3, 0x10, 0x9a, 0x64, 0xe2, 0xcc, 0x64, 0xa1, 0x94, 0xde, 0x88, - 0xdf, 0xc0, 0x2f, 0x20, 0x5e, 0xfa, 0x35, 0xbc, 0x10, 0x7a, 0xeb, 0xb5, 0x17, 0x82, 0x57, 0xe2, - 0x87, 0x90, 0xc9, 0x64, 0xb6, 0x2f, 0xbb, 0x71, 0xa5, 0xde, 0x3d, 0x3b, 0xf3, 0xcf, 0xef, 0x79, - 0x9d, 0x67, 0x41, 0x37, 0x22, 0x24, 0x4a, 0xb0, 0x8d, 0x42, 0x66, 0x4b, 0x53, 0x58, 0x03, 0xc7, - 0x66, 0x98, 0x0e, 0xe2, 0x00, 0x33, 0x3b, 0x40, 0x69, 0x8e, 0xe2, 0x28, 0xf3, 0x03, 0x1a, 0x73, - 0x4c, 0x63, 0x92, 0xf9, 0xd5, 0x9d, 0x95, 0x53, 0xc2, 0x09, 0x6c, 0xcb, 0xef, 0x2c, 0x14, 0x32, - 0x6b, 0x88, 0xb0, 0x06, 0x8e, 0xa5, 0x10, 0x2d, 0xb7, 0xce, 0x09, 0xc5, 0x8c, 0x14, 0x74, 0xbc,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, 0x3d, 0xc7, 0x75, 0x95, 0x6c, 0x7f, 0xaa, 0x8c, 0xf3, 0xe1, 0xcf, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x18, 0x16, 0x6a, 0x7f, 0x68, 0x07, 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 - -// 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.v2.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.v2.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) -} - -// UnimplementedCampaignCriterionServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCampaignCriterionServiceServer struct { -} - -func (*UnimplementedCampaignCriterionServiceServer) GetCampaignCriterion(ctx context.Context, req *GetCampaignCriterionRequest) (*resources.CampaignCriterion, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetCampaignCriterion not implemented") -} -func (*UnimplementedCampaignCriterionServiceServer) MutateCampaignCriteria(ctx context.Context, req *MutateCampaignCriteriaRequest) (*MutateCampaignCriteriaResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateCampaignCriteria not implemented") -} - -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.v2.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.v2.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.v2.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/v2/services/campaign_criterion_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_criterion_simulation_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_criterion_simulation_service.pb.go deleted file mode 100644 index 81c6407d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_criterion_simulation_service.pb.go +++ /dev/null @@ -1,189 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/campaign_criterion_simulation_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [CampaignCriterionSimulationService.GetCampaignCriterionSimulation][google.ads.googleads.v2.services.CampaignCriterionSimulationService.GetCampaignCriterionSimulation]. -type GetCampaignCriterionSimulationRequest struct { - // The resource name of the campaign criterion simulation 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 *GetCampaignCriterionSimulationRequest) Reset() { *m = GetCampaignCriterionSimulationRequest{} } -func (m *GetCampaignCriterionSimulationRequest) String() string { return proto.CompactTextString(m) } -func (*GetCampaignCriterionSimulationRequest) ProtoMessage() {} -func (*GetCampaignCriterionSimulationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3f54ecc440a25401, []int{0} -} - -func (m *GetCampaignCriterionSimulationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCampaignCriterionSimulationRequest.Unmarshal(m, b) -} -func (m *GetCampaignCriterionSimulationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCampaignCriterionSimulationRequest.Marshal(b, m, deterministic) -} -func (m *GetCampaignCriterionSimulationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCampaignCriterionSimulationRequest.Merge(m, src) -} -func (m *GetCampaignCriterionSimulationRequest) XXX_Size() int { - return xxx_messageInfo_GetCampaignCriterionSimulationRequest.Size(m) -} -func (m *GetCampaignCriterionSimulationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetCampaignCriterionSimulationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetCampaignCriterionSimulationRequest proto.InternalMessageInfo - -func (m *GetCampaignCriterionSimulationRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetCampaignCriterionSimulationRequest)(nil), "google.ads.googleads.v2.services.GetCampaignCriterionSimulationRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/campaign_criterion_simulation_service.proto", fileDescriptor_3f54ecc440a25401) -} - -var fileDescriptor_3f54ecc440a25401 = []byte{ - // 399 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xcf, 0xaa, 0xd3, 0x40, - 0x14, 0xc6, 0x49, 0x04, 0xc1, 0xa0, 0x9b, 0x6c, 0x2c, 0x51, 0xa4, 0xd4, 0x8a, 0xd2, 0xc5, 0x0c, - 0xc4, 0xdd, 0x88, 0xc5, 0xb4, 0x68, 0x5c, 0x14, 0x29, 0x2d, 0x74, 0x21, 0x81, 0x32, 0x26, 0x43, - 0x18, 0x48, 0x66, 0xe2, 0x9c, 0x49, 0x37, 0xe2, 0xc6, 0x07, 0x70, 0xe3, 0x1b, 0xb8, 0x74, 0xef, - 0x4b, 0x74, 0xeb, 0x2b, 0xb8, 0x72, 0xe7, 0x1b, 0x48, 0x32, 0x99, 0xd4, 0x0b, 0xb7, 0xcd, 0xdd, - 0x7d, 0xcc, 0xf9, 0xf8, 0x7d, 0xe7, 0xcf, 0x78, 0xab, 0x5c, 0xca, 0xbc, 0x60, 0x98, 0x66, 0x80, - 0x8d, 0x6c, 0xd4, 0x21, 0xc4, 0xc0, 0xd4, 0x81, 0xa7, 0x0c, 0x70, 0x4a, 0xcb, 0x8a, 0xf2, 0x5c, - 0xec, 0x53, 0xc5, 0x35, 0x53, 0x5c, 0x8a, 0x3d, 0xf0, 0xb2, 0x2e, 0xa8, 0x6e, 0xa5, 0xb1, 0xa1, - 0x4a, 0x49, 0x2d, 0xfd, 0xb1, 0x41, 0x20, 0x9a, 0x01, 0xea, 0x69, 0xe8,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x89, 0xf6, 0xea, 0xf8, 0x14, 0x7f, 0xfe, 0x9b, 0xbf, 0xb0, 0xe2, 0xbb, 0x7b, 0x2b, 0x8e, - 0xa2, 0x1f, 0xee, 0x38, 0x36, 0xc0, 0x28, 0x03, 0x64, 0x64, 0xa3, 0x76, 0x21, 0xea, 0x82, 0xe1, - 0x68, 0x2d, 0x49, 0x94, 0x41, 0xd2, 0x5b, 0x92, 0x5d, 0x98, 0x58, 0xcb, 0x1f, 0x77, 0x6a, 0xde, - 0x09, 0x89, 0x32, 0x20, 0xa4, 0x37, 0x11, 0xb2, 0x0b, 0x09, 0xb1, 0xb6, 0x0f, 0xb7, 0xdb, 0x3e, - 0x9f, 0xff, 0x0b, 0x00, 0x00, 0xff, 0xff, 0xa9, 0x6b, 0xa6, 0x32, 0x8d, 0x03, 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 - -// CampaignCriterionSimulationServiceClient is the client API for CampaignCriterionSimulationService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type CampaignCriterionSimulationServiceClient interface { - // Returns the requested campaign criterion simulation in full detail. - GetCampaignCriterionSimulation(ctx context.Context, in *GetCampaignCriterionSimulationRequest, opts ...grpc.CallOption) (*resources.CampaignCriterionSimulation, error) -} - -type campaignCriterionSimulationServiceClient struct { - cc *grpc.ClientConn -} - -func NewCampaignCriterionSimulationServiceClient(cc *grpc.ClientConn) CampaignCriterionSimulationServiceClient { - return &campaignCriterionSimulationServiceClient{cc} -} - -func (c *campaignCriterionSimulationServiceClient) GetCampaignCriterionSimulation(ctx context.Context, in *GetCampaignCriterionSimulationRequest, opts ...grpc.CallOption) (*resources.CampaignCriterionSimulation, error) { - out := new(resources.CampaignCriterionSimulation) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.CampaignCriterionSimulationService/GetCampaignCriterionSimulation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// CampaignCriterionSimulationServiceServer is the server API for CampaignCriterionSimulationService service. -type CampaignCriterionSimulationServiceServer interface { - // Returns the requested campaign criterion simulation in full detail. - GetCampaignCriterionSimulation(context.Context, *GetCampaignCriterionSimulationRequest) (*resources.CampaignCriterionSimulation, error) -} - -// UnimplementedCampaignCriterionSimulationServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCampaignCriterionSimulationServiceServer struct { -} - -func (*UnimplementedCampaignCriterionSimulationServiceServer) GetCampaignCriterionSimulation(ctx context.Context, req *GetCampaignCriterionSimulationRequest) (*resources.CampaignCriterionSimulation, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCampaignCriterionSimulation not implemented") -} - -func RegisterCampaignCriterionSimulationServiceServer(s *grpc.Server, srv CampaignCriterionSimulationServiceServer) { - s.RegisterService(&_CampaignCriterionSimulationService_serviceDesc, srv) -} - -func _CampaignCriterionSimulationService_GetCampaignCriterionSimulation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetCampaignCriterionSimulationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CampaignCriterionSimulationServiceServer).GetCampaignCriterionSimulation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.CampaignCriterionSimulationService/GetCampaignCriterionSimulation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CampaignCriterionSimulationServiceServer).GetCampaignCriterionSimulation(ctx, req.(*GetCampaignCriterionSimulationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _CampaignCriterionSimulationService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.CampaignCriterionSimulationService", - HandlerType: (*CampaignCriterionSimulationServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetCampaignCriterionSimulation", - Handler: _CampaignCriterionSimulationService_GetCampaignCriterionSimulation_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/campaign_criterion_simulation_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_draft_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_draft_service.pb.go deleted file mode 100644 index 2ff52bf4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_draft_service.pb.go +++ /dev/null @@ -1,800 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/campaign_draft_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [CampaignDraftService.GetCampaignDraft][google.ads.googleads.v2.services.CampaignDraftService.GetCampaignDraft]. -type GetCampaignDraftRequest struct { - // The resource name of the campaign draft 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 *GetCampaignDraftRequest) Reset() { *m = GetCampaignDraftRequest{} } -func (m *GetCampaignDraftRequest) String() string { return proto.CompactTextString(m) } -func (*GetCampaignDraftRequest) ProtoMessage() {} -func (*GetCampaignDraftRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b67b598bbe7bc214, []int{0} -} - -func (m *GetCampaignDraftRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCampaignDraftRequest.Unmarshal(m, b) -} -func (m *GetCampaignDraftRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCampaignDraftRequest.Marshal(b, m, deterministic) -} -func (m *GetCampaignDraftRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCampaignDraftRequest.Merge(m, src) -} -func (m *GetCampaignDraftRequest) XXX_Size() int { - return xxx_messageInfo_GetCampaignDraftRequest.Size(m) -} -func (m *GetCampaignDraftRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetCampaignDraftRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetCampaignDraftRequest proto.InternalMessageInfo - -func (m *GetCampaignDraftRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for [CampaignDraftService.MutateCampaignDrafts][google.ads.googleads.v2.services.CampaignDraftService.MutateCampaignDrafts]. -type MutateCampaignDraftsRequest struct { - // The ID of the customer whose campaign drafts 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 drafts. - Operations []*CampaignDraftOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCampaignDraftsRequest) Reset() { *m = MutateCampaignDraftsRequest{} } -func (m *MutateCampaignDraftsRequest) String() string { return proto.CompactTextString(m) } -func (*MutateCampaignDraftsRequest) ProtoMessage() {} -func (*MutateCampaignDraftsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b67b598bbe7bc214, []int{1} -} - -func (m *MutateCampaignDraftsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCampaignDraftsRequest.Unmarshal(m, b) -} -func (m *MutateCampaignDraftsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCampaignDraftsRequest.Marshal(b, m, deterministic) -} -func (m *MutateCampaignDraftsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignDraftsRequest.Merge(m, src) -} -func (m *MutateCampaignDraftsRequest) XXX_Size() int { - return xxx_messageInfo_MutateCampaignDraftsRequest.Size(m) -} -func (m *MutateCampaignDraftsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCampaignDraftsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCampaignDraftsRequest proto.InternalMessageInfo - -func (m *MutateCampaignDraftsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateCampaignDraftsRequest) GetOperations() []*CampaignDraftOperation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *MutateCampaignDraftsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateCampaignDraftsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// Request message for [CampaignDraftService.PromoteCampaignDraft][google.ads.googleads.v2.services.CampaignDraftService.PromoteCampaignDraft]. -type PromoteCampaignDraftRequest struct { - // The resource name of the campaign draft to promote. - CampaignDraft string `protobuf:"bytes,1,opt,name=campaign_draft,json=campaignDraft,proto3" json:"campaign_draft,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PromoteCampaignDraftRequest) Reset() { *m = PromoteCampaignDraftRequest{} } -func (m *PromoteCampaignDraftRequest) String() string { return proto.CompactTextString(m) } -func (*PromoteCampaignDraftRequest) ProtoMessage() {} -func (*PromoteCampaignDraftRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b67b598bbe7bc214, []int{2} -} - -func (m *PromoteCampaignDraftRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PromoteCampaignDraftRequest.Unmarshal(m, b) -} -func (m *PromoteCampaignDraftRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PromoteCampaignDraftRequest.Marshal(b, m, deterministic) -} -func (m *PromoteCampaignDraftRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PromoteCampaignDraftRequest.Merge(m, src) -} -func (m *PromoteCampaignDraftRequest) XXX_Size() int { - return xxx_messageInfo_PromoteCampaignDraftRequest.Size(m) -} -func (m *PromoteCampaignDraftRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PromoteCampaignDraftRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_PromoteCampaignDraftRequest proto.InternalMessageInfo - -func (m *PromoteCampaignDraftRequest) GetCampaignDraft() string { - if m != nil { - return m.CampaignDraft - } - return "" -} - -// A single operation (create, update, remove) on a campaign draft. -type CampaignDraftOperation 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: - // *CampaignDraftOperation_Create - // *CampaignDraftOperation_Update - // *CampaignDraftOperation_Remove - Operation isCampaignDraftOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CampaignDraftOperation) Reset() { *m = CampaignDraftOperation{} } -func (m *CampaignDraftOperation) String() string { return proto.CompactTextString(m) } -func (*CampaignDraftOperation) ProtoMessage() {} -func (*CampaignDraftOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_b67b598bbe7bc214, []int{3} -} - -func (m *CampaignDraftOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CampaignDraftOperation.Unmarshal(m, b) -} -func (m *CampaignDraftOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CampaignDraftOperation.Marshal(b, m, deterministic) -} -func (m *CampaignDraftOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignDraftOperation.Merge(m, src) -} -func (m *CampaignDraftOperation) XXX_Size() int { - return xxx_messageInfo_CampaignDraftOperation.Size(m) -} -func (m *CampaignDraftOperation) XXX_DiscardUnknown() { - xxx_messageInfo_CampaignDraftOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_CampaignDraftOperation proto.InternalMessageInfo - -func (m *CampaignDraftOperation) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -type isCampaignDraftOperation_Operation interface { - isCampaignDraftOperation_Operation() -} - -type CampaignDraftOperation_Create struct { - Create *resources.CampaignDraft `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type CampaignDraftOperation_Update struct { - Update *resources.CampaignDraft `protobuf:"bytes,2,opt,name=update,proto3,oneof"` -} - -type CampaignDraftOperation_Remove struct { - Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` -} - -func (*CampaignDraftOperation_Create) isCampaignDraftOperation_Operation() {} - -func (*CampaignDraftOperation_Update) isCampaignDraftOperation_Operation() {} - -func (*CampaignDraftOperation_Remove) isCampaignDraftOperation_Operation() {} - -func (m *CampaignDraftOperation) GetOperation() isCampaignDraftOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *CampaignDraftOperation) GetCreate() *resources.CampaignDraft { - if x, ok := m.GetOperation().(*CampaignDraftOperation_Create); ok { - return x.Create - } - return nil -} - -func (m *CampaignDraftOperation) GetUpdate() *resources.CampaignDraft { - if x, ok := m.GetOperation().(*CampaignDraftOperation_Update); ok { - return x.Update - } - return nil -} - -func (m *CampaignDraftOperation) GetRemove() string { - if x, ok := m.GetOperation().(*CampaignDraftOperation_Remove); ok { - return x.Remove - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CampaignDraftOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CampaignDraftOperation_Create)(nil), - (*CampaignDraftOperation_Update)(nil), - (*CampaignDraftOperation_Remove)(nil), - } -} - -// Response message for campaign draft mutate. -type MutateCampaignDraftsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // All results for the mutate. - Results []*MutateCampaignDraftResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCampaignDraftsResponse) Reset() { *m = MutateCampaignDraftsResponse{} } -func (m *MutateCampaignDraftsResponse) String() string { return proto.CompactTextString(m) } -func (*MutateCampaignDraftsResponse) ProtoMessage() {} -func (*MutateCampaignDraftsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b67b598bbe7bc214, []int{4} -} - -func (m *MutateCampaignDraftsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCampaignDraftsResponse.Unmarshal(m, b) -} -func (m *MutateCampaignDraftsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCampaignDraftsResponse.Marshal(b, m, deterministic) -} -func (m *MutateCampaignDraftsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignDraftsResponse.Merge(m, src) -} -func (m *MutateCampaignDraftsResponse) XXX_Size() int { - return xxx_messageInfo_MutateCampaignDraftsResponse.Size(m) -} -func (m *MutateCampaignDraftsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCampaignDraftsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCampaignDraftsResponse proto.InternalMessageInfo - -func (m *MutateCampaignDraftsResponse) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -func (m *MutateCampaignDraftsResponse) GetResults() []*MutateCampaignDraftResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for the campaign draft mutate. -type MutateCampaignDraftResult 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 *MutateCampaignDraftResult) Reset() { *m = MutateCampaignDraftResult{} } -func (m *MutateCampaignDraftResult) String() string { return proto.CompactTextString(m) } -func (*MutateCampaignDraftResult) ProtoMessage() {} -func (*MutateCampaignDraftResult) Descriptor() ([]byte, []int) { - return fileDescriptor_b67b598bbe7bc214, []int{5} -} - -func (m *MutateCampaignDraftResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCampaignDraftResult.Unmarshal(m, b) -} -func (m *MutateCampaignDraftResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCampaignDraftResult.Marshal(b, m, deterministic) -} -func (m *MutateCampaignDraftResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignDraftResult.Merge(m, src) -} -func (m *MutateCampaignDraftResult) XXX_Size() int { - return xxx_messageInfo_MutateCampaignDraftResult.Size(m) -} -func (m *MutateCampaignDraftResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCampaignDraftResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCampaignDraftResult proto.InternalMessageInfo - -func (m *MutateCampaignDraftResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v2.services.CampaignDraftService.ListCampaignDraftAsyncErrors]. -type ListCampaignDraftAsyncErrorsRequest struct { - // The name of the campaign draft from which to retrieve the async errors. - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,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 a page request is too large, 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 *ListCampaignDraftAsyncErrorsRequest) Reset() { *m = ListCampaignDraftAsyncErrorsRequest{} } -func (m *ListCampaignDraftAsyncErrorsRequest) String() string { return proto.CompactTextString(m) } -func (*ListCampaignDraftAsyncErrorsRequest) ProtoMessage() {} -func (*ListCampaignDraftAsyncErrorsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b67b598bbe7bc214, []int{6} -} - -func (m *ListCampaignDraftAsyncErrorsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCampaignDraftAsyncErrorsRequest.Unmarshal(m, b) -} -func (m *ListCampaignDraftAsyncErrorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCampaignDraftAsyncErrorsRequest.Marshal(b, m, deterministic) -} -func (m *ListCampaignDraftAsyncErrorsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCampaignDraftAsyncErrorsRequest.Merge(m, src) -} -func (m *ListCampaignDraftAsyncErrorsRequest) XXX_Size() int { - return xxx_messageInfo_ListCampaignDraftAsyncErrorsRequest.Size(m) -} -func (m *ListCampaignDraftAsyncErrorsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListCampaignDraftAsyncErrorsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListCampaignDraftAsyncErrorsRequest proto.InternalMessageInfo - -func (m *ListCampaignDraftAsyncErrorsRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *ListCampaignDraftAsyncErrorsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListCampaignDraftAsyncErrorsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -// Response message for [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v2.services.CampaignDraftService.ListCampaignDraftAsyncErrors]. -type ListCampaignDraftAsyncErrorsResponse struct { - // Details of the errors when performing the asynchronous operation. - Errors []*status.Status `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListCampaignDraftAsyncErrorsResponse) Reset() { *m = ListCampaignDraftAsyncErrorsResponse{} } -func (m *ListCampaignDraftAsyncErrorsResponse) String() string { return proto.CompactTextString(m) } -func (*ListCampaignDraftAsyncErrorsResponse) ProtoMessage() {} -func (*ListCampaignDraftAsyncErrorsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b67b598bbe7bc214, []int{7} -} - -func (m *ListCampaignDraftAsyncErrorsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCampaignDraftAsyncErrorsResponse.Unmarshal(m, b) -} -func (m *ListCampaignDraftAsyncErrorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCampaignDraftAsyncErrorsResponse.Marshal(b, m, deterministic) -} -func (m *ListCampaignDraftAsyncErrorsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCampaignDraftAsyncErrorsResponse.Merge(m, src) -} -func (m *ListCampaignDraftAsyncErrorsResponse) XXX_Size() int { - return xxx_messageInfo_ListCampaignDraftAsyncErrorsResponse.Size(m) -} -func (m *ListCampaignDraftAsyncErrorsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListCampaignDraftAsyncErrorsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListCampaignDraftAsyncErrorsResponse proto.InternalMessageInfo - -func (m *ListCampaignDraftAsyncErrorsResponse) GetErrors() []*status.Status { - if m != nil { - return m.Errors - } - return nil -} - -func (m *ListCampaignDraftAsyncErrorsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -func init() { - proto.RegisterType((*GetCampaignDraftRequest)(nil), "google.ads.googleads.v2.services.GetCampaignDraftRequest") - proto.RegisterType((*MutateCampaignDraftsRequest)(nil), "google.ads.googleads.v2.services.MutateCampaignDraftsRequest") - proto.RegisterType((*PromoteCampaignDraftRequest)(nil), "google.ads.googleads.v2.services.PromoteCampaignDraftRequest") - proto.RegisterType((*CampaignDraftOperation)(nil), "google.ads.googleads.v2.services.CampaignDraftOperation") - proto.RegisterType((*MutateCampaignDraftsResponse)(nil), "google.ads.googleads.v2.services.MutateCampaignDraftsResponse") - proto.RegisterType((*MutateCampaignDraftResult)(nil), "google.ads.googleads.v2.services.MutateCampaignDraftResult") - proto.RegisterType((*ListCampaignDraftAsyncErrorsRequest)(nil), "google.ads.googleads.v2.services.ListCampaignDraftAsyncErrorsRequest") - proto.RegisterType((*ListCampaignDraftAsyncErrorsResponse)(nil), "google.ads.googleads.v2.services.ListCampaignDraftAsyncErrorsResponse") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/campaign_draft_service.proto", fileDescriptor_b67b598bbe7bc214) -} - -var fileDescriptor_b67b598bbe7bc214 = []byte{ - // 952 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0x4d, 0x6f, 0xdc, 0x44, - 0x18, 0xc6, 0x1b, 0x48, 0xbb, 0xb3, 0x4d, 0x8b, 0x86, 0x94, 0x6c, 0x37, 0xa9, 0x58, 0x39, 0x01, - 0xa2, 0x3d, 0xd8, 0x95, 0x2b, 0xa1, 0xd4, 0x51, 0xa2, 0x6e, 0x68, 0x3e, 0x40, 0x94, 0x46, 0x0e, - 0x44, 0x08, 0x45, 0x58, 0x53, 0x7b, 0x62, 0x59, 0xb1, 0x3d, 0x66, 0x66, 0xbc, 0x22, 0xa9, 0x2a, - 0x21, 0x0e, 0xfc, 0x01, 0x38, 0x70, 0xe6, 0xc8, 0x3f, 0xe0, 0xc0, 0x1f, 0xc8, 0x15, 0xf8, 0x07, - 0x88, 0x03, 0x7f, 0x80, 0x2b, 0x9a, 0xf1, 0xcc, 0x66, 0xbd, 0xdd, 0x8f, 0x24, 0xdc, 0xc6, 0xef, - 0xbc, 0xf3, 0xcc, 0xf3, 0xcc, 0xf3, 0xbe, 0xef, 0x2e, 0xd8, 0x88, 0x08, 0x89, 0x12, 0x6c, 0xa3, - 0x90, 0xd9, 0xe5, 0x52, 0xac, 0x7a, 0x8e, 0xcd, 0x30, 0xed, 0xc5, 0x01, 0x66, 0x76, 0x80, 0xd2, - 0x1c, 0xc5, 0x51, 0xe6, 0x87, 0x14, 0x1d, 0x73, 0x5f, 0xc5, 0xad, 0x9c, 0x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ed, 0x8b, 0x0b, 0xc7, 0xff, 0x79, 0x5b, 0xd7, 0x8b, 0x9f, 0x6b, - 0x33, 0xbb, 0xdd, 0xee, 0x2f, 0xb5, 0xf6, 0x6e, 0x09, 0xd8, 0x0d, 0x99, 0x55, 0x2e, 0xc5, 0xea, - 0xd0, 0xb1, 0xd4, 0xc5, 0xec, 0x5c, 0xa7, 0x1c, 0x75, 0x43, 0x76, 0xd4, 0x4f, 0x39, 0x3a, 0x74, - 0x8e, 0x74, 0xca, 0x3f, 0xb5, 0x95, 0x32, 0xee, 0xba, 0xdd, 0x90, 0xb9, 0x6e, 0x3f, 0xc9, 0x75, - 0x0f, 0x1d, 0xd7, 0xd5, 0x69, 0xcf, 0x67, 0x25, 0xcf, 0x87, 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, - 0xf5, 0x01, 0x60, 0xdc, 0x63, 0x0a, 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 - -// CampaignDraftServiceClient is the client API for CampaignDraftService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type CampaignDraftServiceClient interface { - // Returns the requested campaign draft in full detail. - GetCampaignDraft(ctx context.Context, in *GetCampaignDraftRequest, opts ...grpc.CallOption) (*resources.CampaignDraft, error) - // Creates, updates, or removes campaign drafts. Operation statuses are - // returned. - MutateCampaignDrafts(ctx context.Context, in *MutateCampaignDraftsRequest, opts ...grpc.CallOption) (*MutateCampaignDraftsResponse, error) - // Promotes the changes in a draft back to the base campaign. - // - // This method returns a Long Running Operation (LRO) indicating if the - // Promote is done. Use [Operations.GetOperation] to poll the LRO until it - // is done. Only a done status is returned in the response. See the status - // in the Campaign Draft resource to determine if the promotion was - // successful. If the LRO failed, use - // [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v2.services.CampaignDraftService.ListCampaignDraftAsyncErrors] to view the list of - // error reasons. - PromoteCampaignDraft(ctx context.Context, in *PromoteCampaignDraftRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Returns all errors that occurred during CampaignDraft promote. Throws an - // error if called before campaign draft is promoted. - // Supports standard list paging. - ListCampaignDraftAsyncErrors(ctx context.Context, in *ListCampaignDraftAsyncErrorsRequest, opts ...grpc.CallOption) (*ListCampaignDraftAsyncErrorsResponse, error) -} - -type campaignDraftServiceClient struct { - cc *grpc.ClientConn -} - -func NewCampaignDraftServiceClient(cc *grpc.ClientConn) CampaignDraftServiceClient { - return &campaignDraftServiceClient{cc} -} - -func (c *campaignDraftServiceClient) GetCampaignDraft(ctx context.Context, in *GetCampaignDraftRequest, opts ...grpc.CallOption) (*resources.CampaignDraft, error) { - out := new(resources.CampaignDraft) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.CampaignDraftService/GetCampaignDraft", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *campaignDraftServiceClient) MutateCampaignDrafts(ctx context.Context, in *MutateCampaignDraftsRequest, opts ...grpc.CallOption) (*MutateCampaignDraftsResponse, error) { - out := new(MutateCampaignDraftsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.CampaignDraftService/MutateCampaignDrafts", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *campaignDraftServiceClient) PromoteCampaignDraft(ctx context.Context, in *PromoteCampaignDraftRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.CampaignDraftService/PromoteCampaignDraft", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *campaignDraftServiceClient) ListCampaignDraftAsyncErrors(ctx context.Context, in *ListCampaignDraftAsyncErrorsRequest, opts ...grpc.CallOption) (*ListCampaignDraftAsyncErrorsResponse, error) { - out := new(ListCampaignDraftAsyncErrorsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.CampaignDraftService/ListCampaignDraftAsyncErrors", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// CampaignDraftServiceServer is the server API for CampaignDraftService service. -type CampaignDraftServiceServer interface { - // Returns the requested campaign draft in full detail. - GetCampaignDraft(context.Context, *GetCampaignDraftRequest) (*resources.CampaignDraft, error) - // Creates, updates, or removes campaign drafts. Operation statuses are - // returned. - MutateCampaignDrafts(context.Context, *MutateCampaignDraftsRequest) (*MutateCampaignDraftsResponse, error) - // Promotes the changes in a draft back to the base campaign. - // - // This method returns a Long Running Operation (LRO) indicating if the - // Promote is done. Use [Operations.GetOperation] to poll the LRO until it - // is done. Only a done status is returned in the response. See the status - // in the Campaign Draft resource to determine if the promotion was - // successful. If the LRO failed, use - // [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v2.services.CampaignDraftService.ListCampaignDraftAsyncErrors] to view the list of - // error reasons. - PromoteCampaignDraft(context.Context, *PromoteCampaignDraftRequest) (*longrunning.Operation, error) - // Returns all errors that occurred during CampaignDraft promote. Throws an - // error if called before campaign draft is promoted. - // Supports standard list paging. - ListCampaignDraftAsyncErrors(context.Context, *ListCampaignDraftAsyncErrorsRequest) (*ListCampaignDraftAsyncErrorsResponse, error) -} - -// UnimplementedCampaignDraftServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCampaignDraftServiceServer struct { -} - -func (*UnimplementedCampaignDraftServiceServer) GetCampaignDraft(ctx context.Context, req *GetCampaignDraftRequest) (*resources.CampaignDraft, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetCampaignDraft not implemented") -} -func (*UnimplementedCampaignDraftServiceServer) MutateCampaignDrafts(ctx context.Context, req *MutateCampaignDraftsRequest) (*MutateCampaignDraftsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateCampaignDrafts not implemented") -} -func (*UnimplementedCampaignDraftServiceServer) PromoteCampaignDraft(ctx context.Context, req *PromoteCampaignDraftRequest) (*longrunning.Operation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method PromoteCampaignDraft not implemented") -} -func (*UnimplementedCampaignDraftServiceServer) ListCampaignDraftAsyncErrors(ctx context.Context, req *ListCampaignDraftAsyncErrorsRequest) (*ListCampaignDraftAsyncErrorsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListCampaignDraftAsyncErrors not implemented") -} - -func RegisterCampaignDraftServiceServer(s *grpc.Server, srv CampaignDraftServiceServer) { - s.RegisterService(&_CampaignDraftService_serviceDesc, srv) -} - -func _CampaignDraftService_GetCampaignDraft_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetCampaignDraftRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CampaignDraftServiceServer).GetCampaignDraft(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.CampaignDraftService/GetCampaignDraft", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CampaignDraftServiceServer).GetCampaignDraft(ctx, req.(*GetCampaignDraftRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CampaignDraftService_MutateCampaignDrafts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateCampaignDraftsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CampaignDraftServiceServer).MutateCampaignDrafts(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.CampaignDraftService/MutateCampaignDrafts", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CampaignDraftServiceServer).MutateCampaignDrafts(ctx, req.(*MutateCampaignDraftsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CampaignDraftService_PromoteCampaignDraft_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PromoteCampaignDraftRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CampaignDraftServiceServer).PromoteCampaignDraft(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.CampaignDraftService/PromoteCampaignDraft", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CampaignDraftServiceServer).PromoteCampaignDraft(ctx, req.(*PromoteCampaignDraftRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CampaignDraftService_ListCampaignDraftAsyncErrors_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListCampaignDraftAsyncErrorsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CampaignDraftServiceServer).ListCampaignDraftAsyncErrors(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.CampaignDraftService/ListCampaignDraftAsyncErrors", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CampaignDraftServiceServer).ListCampaignDraftAsyncErrors(ctx, req.(*ListCampaignDraftAsyncErrorsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _CampaignDraftService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.CampaignDraftService", - HandlerType: (*CampaignDraftServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetCampaignDraft", - Handler: _CampaignDraftService_GetCampaignDraft_Handler, - }, - { - MethodName: "MutateCampaignDrafts", - Handler: _CampaignDraftService_MutateCampaignDrafts_Handler, - }, - { - MethodName: "PromoteCampaignDraft", - Handler: _CampaignDraftService_PromoteCampaignDraft_Handler, - }, - { - MethodName: "ListCampaignDraftAsyncErrors", - Handler: _CampaignDraftService_ListCampaignDraftAsyncErrors_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/campaign_draft_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_experiment_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_experiment_service.pb.go deleted file mode 100644 index 3d2722af..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_experiment_service.pb.go +++ /dev/null @@ -1,1177 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/campaign_experiment_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [CampaignExperimentService.GetCampaignExperiment][google.ads.googleads.v2.services.CampaignExperimentService.GetCampaignExperiment]. -type GetCampaignExperimentRequest struct { - // The resource name of the campaign experiment 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 *GetCampaignExperimentRequest) Reset() { *m = GetCampaignExperimentRequest{} } -func (m *GetCampaignExperimentRequest) String() string { return proto.CompactTextString(m) } -func (*GetCampaignExperimentRequest) ProtoMessage() {} -func (*GetCampaignExperimentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_fe5841845e481fad, []int{0} -} - -func (m *GetCampaignExperimentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCampaignExperimentRequest.Unmarshal(m, b) -} -func (m *GetCampaignExperimentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCampaignExperimentRequest.Marshal(b, m, deterministic) -} -func (m *GetCampaignExperimentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCampaignExperimentRequest.Merge(m, src) -} -func (m *GetCampaignExperimentRequest) XXX_Size() int { - return xxx_messageInfo_GetCampaignExperimentRequest.Size(m) -} -func (m *GetCampaignExperimentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetCampaignExperimentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetCampaignExperimentRequest proto.InternalMessageInfo - -func (m *GetCampaignExperimentRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for [CampaignExperimentService.MutateCampaignExperiments][google.ads.googleads.v2.services.CampaignExperimentService.MutateCampaignExperiments]. -type MutateCampaignExperimentsRequest struct { - // The ID of the customer whose campaign experiments 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 experiments. - Operations []*CampaignExperimentOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCampaignExperimentsRequest) Reset() { *m = MutateCampaignExperimentsRequest{} } -func (m *MutateCampaignExperimentsRequest) String() string { return proto.CompactTextString(m) } -func (*MutateCampaignExperimentsRequest) ProtoMessage() {} -func (*MutateCampaignExperimentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_fe5841845e481fad, []int{1} -} - -func (m *MutateCampaignExperimentsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCampaignExperimentsRequest.Unmarshal(m, b) -} -func (m *MutateCampaignExperimentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCampaignExperimentsRequest.Marshal(b, m, deterministic) -} -func (m *MutateCampaignExperimentsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignExperimentsRequest.Merge(m, src) -} -func (m *MutateCampaignExperimentsRequest) XXX_Size() int { - return xxx_messageInfo_MutateCampaignExperimentsRequest.Size(m) -} -func (m *MutateCampaignExperimentsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCampaignExperimentsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCampaignExperimentsRequest proto.InternalMessageInfo - -func (m *MutateCampaignExperimentsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateCampaignExperimentsRequest) GetOperations() []*CampaignExperimentOperation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *MutateCampaignExperimentsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateCampaignExperimentsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// A single update operation on a campaign experiment. -type CampaignExperimentOperation struct { - // FieldMask that determines which resource fields are modified in an update. - 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: - // *CampaignExperimentOperation_Update - // *CampaignExperimentOperation_Remove - Operation isCampaignExperimentOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CampaignExperimentOperation) Reset() { *m = CampaignExperimentOperation{} } -func (m *CampaignExperimentOperation) String() string { return proto.CompactTextString(m) } -func (*CampaignExperimentOperation) ProtoMessage() {} -func (*CampaignExperimentOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_fe5841845e481fad, []int{2} -} - -func (m *CampaignExperimentOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CampaignExperimentOperation.Unmarshal(m, b) -} -func (m *CampaignExperimentOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CampaignExperimentOperation.Marshal(b, m, deterministic) -} -func (m *CampaignExperimentOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignExperimentOperation.Merge(m, src) -} -func (m *CampaignExperimentOperation) XXX_Size() int { - return xxx_messageInfo_CampaignExperimentOperation.Size(m) -} -func (m *CampaignExperimentOperation) XXX_DiscardUnknown() { - xxx_messageInfo_CampaignExperimentOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_CampaignExperimentOperation proto.InternalMessageInfo - -func (m *CampaignExperimentOperation) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -type isCampaignExperimentOperation_Operation interface { - isCampaignExperimentOperation_Operation() -} - -type CampaignExperimentOperation_Update struct { - Update *resources.CampaignExperiment `protobuf:"bytes,1,opt,name=update,proto3,oneof"` -} - -type CampaignExperimentOperation_Remove struct { - Remove string `protobuf:"bytes,2,opt,name=remove,proto3,oneof"` -} - -func (*CampaignExperimentOperation_Update) isCampaignExperimentOperation_Operation() {} - -func (*CampaignExperimentOperation_Remove) isCampaignExperimentOperation_Operation() {} - -func (m *CampaignExperimentOperation) GetOperation() isCampaignExperimentOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *CampaignExperimentOperation) GetUpdate() *resources.CampaignExperiment { - if x, ok := m.GetOperation().(*CampaignExperimentOperation_Update); ok { - return x.Update - } - return nil -} - -func (m *CampaignExperimentOperation) GetRemove() string { - if x, ok := m.GetOperation().(*CampaignExperimentOperation_Remove); ok { - return x.Remove - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CampaignExperimentOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CampaignExperimentOperation_Update)(nil), - (*CampaignExperimentOperation_Remove)(nil), - } -} - -// Response message for campaign experiment mutate. -type MutateCampaignExperimentsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // All results for the mutate. - Results []*MutateCampaignExperimentResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCampaignExperimentsResponse) Reset() { *m = MutateCampaignExperimentsResponse{} } -func (m *MutateCampaignExperimentsResponse) String() string { return proto.CompactTextString(m) } -func (*MutateCampaignExperimentsResponse) ProtoMessage() {} -func (*MutateCampaignExperimentsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_fe5841845e481fad, []int{3} -} - -func (m *MutateCampaignExperimentsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCampaignExperimentsResponse.Unmarshal(m, b) -} -func (m *MutateCampaignExperimentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCampaignExperimentsResponse.Marshal(b, m, deterministic) -} -func (m *MutateCampaignExperimentsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignExperimentsResponse.Merge(m, src) -} -func (m *MutateCampaignExperimentsResponse) XXX_Size() int { - return xxx_messageInfo_MutateCampaignExperimentsResponse.Size(m) -} -func (m *MutateCampaignExperimentsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCampaignExperimentsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCampaignExperimentsResponse proto.InternalMessageInfo - -func (m *MutateCampaignExperimentsResponse) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -func (m *MutateCampaignExperimentsResponse) GetResults() []*MutateCampaignExperimentResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for the campaign experiment mutate. -type MutateCampaignExperimentResult 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 *MutateCampaignExperimentResult) Reset() { *m = MutateCampaignExperimentResult{} } -func (m *MutateCampaignExperimentResult) String() string { return proto.CompactTextString(m) } -func (*MutateCampaignExperimentResult) ProtoMessage() {} -func (*MutateCampaignExperimentResult) Descriptor() ([]byte, []int) { - return fileDescriptor_fe5841845e481fad, []int{4} -} - -func (m *MutateCampaignExperimentResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCampaignExperimentResult.Unmarshal(m, b) -} -func (m *MutateCampaignExperimentResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCampaignExperimentResult.Marshal(b, m, deterministic) -} -func (m *MutateCampaignExperimentResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignExperimentResult.Merge(m, src) -} -func (m *MutateCampaignExperimentResult) XXX_Size() int { - return xxx_messageInfo_MutateCampaignExperimentResult.Size(m) -} -func (m *MutateCampaignExperimentResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCampaignExperimentResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCampaignExperimentResult proto.InternalMessageInfo - -func (m *MutateCampaignExperimentResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for [CampaignExperimentService.CreateCampaignExperiment][google.ads.googleads.v2.services.CampaignExperimentService.CreateCampaignExperiment]. -type CreateCampaignExperimentRequest struct { - // The ID of the customer whose campaign experiment is being created. - CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` - // The campaign experiment to be created. - CampaignExperiment *resources.CampaignExperiment `protobuf:"bytes,2,opt,name=campaign_experiment,json=campaignExperiment,proto3" json:"campaign_experiment,omitempty"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateCampaignExperimentRequest) Reset() { *m = CreateCampaignExperimentRequest{} } -func (m *CreateCampaignExperimentRequest) String() string { return proto.CompactTextString(m) } -func (*CreateCampaignExperimentRequest) ProtoMessage() {} -func (*CreateCampaignExperimentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_fe5841845e481fad, []int{5} -} - -func (m *CreateCampaignExperimentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateCampaignExperimentRequest.Unmarshal(m, b) -} -func (m *CreateCampaignExperimentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateCampaignExperimentRequest.Marshal(b, m, deterministic) -} -func (m *CreateCampaignExperimentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateCampaignExperimentRequest.Merge(m, src) -} -func (m *CreateCampaignExperimentRequest) XXX_Size() int { - return xxx_messageInfo_CreateCampaignExperimentRequest.Size(m) -} -func (m *CreateCampaignExperimentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateCampaignExperimentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateCampaignExperimentRequest proto.InternalMessageInfo - -func (m *CreateCampaignExperimentRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *CreateCampaignExperimentRequest) GetCampaignExperiment() *resources.CampaignExperiment { - if m != nil { - return m.CampaignExperiment - } - return nil -} - -func (m *CreateCampaignExperimentRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// Message used as metadata returned in Long Running Operations for -// CreateCampaignExperimentRequest -type CreateCampaignExperimentMetadata struct { - // Resource name of campaign experiment created. - CampaignExperiment string `protobuf:"bytes,1,opt,name=campaign_experiment,json=campaignExperiment,proto3" json:"campaign_experiment,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateCampaignExperimentMetadata) Reset() { *m = CreateCampaignExperimentMetadata{} } -func (m *CreateCampaignExperimentMetadata) String() string { return proto.CompactTextString(m) } -func (*CreateCampaignExperimentMetadata) ProtoMessage() {} -func (*CreateCampaignExperimentMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_fe5841845e481fad, []int{6} -} - -func (m *CreateCampaignExperimentMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateCampaignExperimentMetadata.Unmarshal(m, b) -} -func (m *CreateCampaignExperimentMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateCampaignExperimentMetadata.Marshal(b, m, deterministic) -} -func (m *CreateCampaignExperimentMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateCampaignExperimentMetadata.Merge(m, src) -} -func (m *CreateCampaignExperimentMetadata) XXX_Size() int { - return xxx_messageInfo_CreateCampaignExperimentMetadata.Size(m) -} -func (m *CreateCampaignExperimentMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_CreateCampaignExperimentMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateCampaignExperimentMetadata proto.InternalMessageInfo - -func (m *CreateCampaignExperimentMetadata) GetCampaignExperiment() string { - if m != nil { - return m.CampaignExperiment - } - return "" -} - -// Request message for [CampaignExperimentService.GraduateCampaignExperiment][google.ads.googleads.v2.services.CampaignExperimentService.GraduateCampaignExperiment]. -type GraduateCampaignExperimentRequest struct { - // The resource name of the campaign experiment to graduate. - CampaignExperiment string `protobuf:"bytes,1,opt,name=campaign_experiment,json=campaignExperiment,proto3" json:"campaign_experiment,omitempty"` - // Resource name of the budget to attach to the campaign graduated from the - // experiment. - CampaignBudget string `protobuf:"bytes,2,opt,name=campaign_budget,json=campaignBudget,proto3" json:"campaign_budget,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GraduateCampaignExperimentRequest) Reset() { *m = GraduateCampaignExperimentRequest{} } -func (m *GraduateCampaignExperimentRequest) String() string { return proto.CompactTextString(m) } -func (*GraduateCampaignExperimentRequest) ProtoMessage() {} -func (*GraduateCampaignExperimentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_fe5841845e481fad, []int{7} -} - -func (m *GraduateCampaignExperimentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GraduateCampaignExperimentRequest.Unmarshal(m, b) -} -func (m *GraduateCampaignExperimentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GraduateCampaignExperimentRequest.Marshal(b, m, deterministic) -} -func (m *GraduateCampaignExperimentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GraduateCampaignExperimentRequest.Merge(m, src) -} -func (m *GraduateCampaignExperimentRequest) XXX_Size() int { - return xxx_messageInfo_GraduateCampaignExperimentRequest.Size(m) -} -func (m *GraduateCampaignExperimentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GraduateCampaignExperimentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GraduateCampaignExperimentRequest proto.InternalMessageInfo - -func (m *GraduateCampaignExperimentRequest) GetCampaignExperiment() string { - if m != nil { - return m.CampaignExperiment - } - return "" -} - -func (m *GraduateCampaignExperimentRequest) GetCampaignBudget() string { - if m != nil { - return m.CampaignBudget - } - return "" -} - -// Response message for campaign experiment graduate. -type GraduateCampaignExperimentResponse struct { - // The resource name of the campaign from the graduated experiment. - // This campaign is the same one as CampaignExperiment.experiment_campaign. - GraduatedCampaign string `protobuf:"bytes,1,opt,name=graduated_campaign,json=graduatedCampaign,proto3" json:"graduated_campaign,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GraduateCampaignExperimentResponse) Reset() { *m = GraduateCampaignExperimentResponse{} } -func (m *GraduateCampaignExperimentResponse) String() string { return proto.CompactTextString(m) } -func (*GraduateCampaignExperimentResponse) ProtoMessage() {} -func (*GraduateCampaignExperimentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_fe5841845e481fad, []int{8} -} - -func (m *GraduateCampaignExperimentResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GraduateCampaignExperimentResponse.Unmarshal(m, b) -} -func (m *GraduateCampaignExperimentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GraduateCampaignExperimentResponse.Marshal(b, m, deterministic) -} -func (m *GraduateCampaignExperimentResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GraduateCampaignExperimentResponse.Merge(m, src) -} -func (m *GraduateCampaignExperimentResponse) XXX_Size() int { - return xxx_messageInfo_GraduateCampaignExperimentResponse.Size(m) -} -func (m *GraduateCampaignExperimentResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GraduateCampaignExperimentResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GraduateCampaignExperimentResponse proto.InternalMessageInfo - -func (m *GraduateCampaignExperimentResponse) GetGraduatedCampaign() string { - if m != nil { - return m.GraduatedCampaign - } - return "" -} - -// Request message for [CampaignExperimentService.PromoteCampaignExperiment][google.ads.googleads.v2.services.CampaignExperimentService.PromoteCampaignExperiment]. -type PromoteCampaignExperimentRequest struct { - // The resource name of the campaign experiment to promote. - CampaignExperiment string `protobuf:"bytes,1,opt,name=campaign_experiment,json=campaignExperiment,proto3" json:"campaign_experiment,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PromoteCampaignExperimentRequest) Reset() { *m = PromoteCampaignExperimentRequest{} } -func (m *PromoteCampaignExperimentRequest) String() string { return proto.CompactTextString(m) } -func (*PromoteCampaignExperimentRequest) ProtoMessage() {} -func (*PromoteCampaignExperimentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_fe5841845e481fad, []int{9} -} - -func (m *PromoteCampaignExperimentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PromoteCampaignExperimentRequest.Unmarshal(m, b) -} -func (m *PromoteCampaignExperimentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PromoteCampaignExperimentRequest.Marshal(b, m, deterministic) -} -func (m *PromoteCampaignExperimentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PromoteCampaignExperimentRequest.Merge(m, src) -} -func (m *PromoteCampaignExperimentRequest) XXX_Size() int { - return xxx_messageInfo_PromoteCampaignExperimentRequest.Size(m) -} -func (m *PromoteCampaignExperimentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PromoteCampaignExperimentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_PromoteCampaignExperimentRequest proto.InternalMessageInfo - -func (m *PromoteCampaignExperimentRequest) GetCampaignExperiment() string { - if m != nil { - return m.CampaignExperiment - } - return "" -} - -// Request message for [CampaignExperimentService.EndCampaignExperiment][google.ads.googleads.v2.services.CampaignExperimentService.EndCampaignExperiment]. -type EndCampaignExperimentRequest struct { - // The resource name of the campaign experiment to end. - CampaignExperiment string `protobuf:"bytes,1,opt,name=campaign_experiment,json=campaignExperiment,proto3" json:"campaign_experiment,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *EndCampaignExperimentRequest) Reset() { *m = EndCampaignExperimentRequest{} } -func (m *EndCampaignExperimentRequest) String() string { return proto.CompactTextString(m) } -func (*EndCampaignExperimentRequest) ProtoMessage() {} -func (*EndCampaignExperimentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_fe5841845e481fad, []int{10} -} - -func (m *EndCampaignExperimentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EndCampaignExperimentRequest.Unmarshal(m, b) -} -func (m *EndCampaignExperimentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EndCampaignExperimentRequest.Marshal(b, m, deterministic) -} -func (m *EndCampaignExperimentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_EndCampaignExperimentRequest.Merge(m, src) -} -func (m *EndCampaignExperimentRequest) XXX_Size() int { - return xxx_messageInfo_EndCampaignExperimentRequest.Size(m) -} -func (m *EndCampaignExperimentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_EndCampaignExperimentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_EndCampaignExperimentRequest proto.InternalMessageInfo - -func (m *EndCampaignExperimentRequest) GetCampaignExperiment() string { - if m != nil { - return m.CampaignExperiment - } - return "" -} - -// Request message for -// [CampaignExperimentService.ListCampaignExperimentAsyncErrors][google.ads.googleads.v2.services.CampaignExperimentService.ListCampaignExperimentAsyncErrors]. -type ListCampaignExperimentAsyncErrorsRequest struct { - // The name of the campaign experiment from which to retrieve the async - // errors. - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,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 a page request is too large, 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 *ListCampaignExperimentAsyncErrorsRequest) Reset() { - *m = ListCampaignExperimentAsyncErrorsRequest{} -} -func (m *ListCampaignExperimentAsyncErrorsRequest) String() string { return proto.CompactTextString(m) } -func (*ListCampaignExperimentAsyncErrorsRequest) ProtoMessage() {} -func (*ListCampaignExperimentAsyncErrorsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_fe5841845e481fad, []int{11} -} - -func (m *ListCampaignExperimentAsyncErrorsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCampaignExperimentAsyncErrorsRequest.Unmarshal(m, b) -} -func (m *ListCampaignExperimentAsyncErrorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCampaignExperimentAsyncErrorsRequest.Marshal(b, m, deterministic) -} -func (m *ListCampaignExperimentAsyncErrorsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCampaignExperimentAsyncErrorsRequest.Merge(m, src) -} -func (m *ListCampaignExperimentAsyncErrorsRequest) XXX_Size() int { - return xxx_messageInfo_ListCampaignExperimentAsyncErrorsRequest.Size(m) -} -func (m *ListCampaignExperimentAsyncErrorsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListCampaignExperimentAsyncErrorsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListCampaignExperimentAsyncErrorsRequest proto.InternalMessageInfo - -func (m *ListCampaignExperimentAsyncErrorsRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *ListCampaignExperimentAsyncErrorsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListCampaignExperimentAsyncErrorsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -// Response message for -// [CampaignExperimentService.ListCampaignExperimentAsyncErrors][google.ads.googleads.v2.services.CampaignExperimentService.ListCampaignExperimentAsyncErrors]. -type ListCampaignExperimentAsyncErrorsResponse struct { - // Details of the errors when performing the asynchronous operation. - Errors []*status.Status `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListCampaignExperimentAsyncErrorsResponse) Reset() { - *m = ListCampaignExperimentAsyncErrorsResponse{} -} -func (m *ListCampaignExperimentAsyncErrorsResponse) String() string { return proto.CompactTextString(m) } -func (*ListCampaignExperimentAsyncErrorsResponse) ProtoMessage() {} -func (*ListCampaignExperimentAsyncErrorsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_fe5841845e481fad, []int{12} -} - -func (m *ListCampaignExperimentAsyncErrorsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCampaignExperimentAsyncErrorsResponse.Unmarshal(m, b) -} -func (m *ListCampaignExperimentAsyncErrorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCampaignExperimentAsyncErrorsResponse.Marshal(b, m, deterministic) -} -func (m *ListCampaignExperimentAsyncErrorsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCampaignExperimentAsyncErrorsResponse.Merge(m, src) -} -func (m *ListCampaignExperimentAsyncErrorsResponse) XXX_Size() int { - return xxx_messageInfo_ListCampaignExperimentAsyncErrorsResponse.Size(m) -} -func (m *ListCampaignExperimentAsyncErrorsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListCampaignExperimentAsyncErrorsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListCampaignExperimentAsyncErrorsResponse proto.InternalMessageInfo - -func (m *ListCampaignExperimentAsyncErrorsResponse) GetErrors() []*status.Status { - if m != nil { - return m.Errors - } - return nil -} - -func (m *ListCampaignExperimentAsyncErrorsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -func init() { - proto.RegisterType((*GetCampaignExperimentRequest)(nil), "google.ads.googleads.v2.services.GetCampaignExperimentRequest") - proto.RegisterType((*MutateCampaignExperimentsRequest)(nil), "google.ads.googleads.v2.services.MutateCampaignExperimentsRequest") - proto.RegisterType((*CampaignExperimentOperation)(nil), "google.ads.googleads.v2.services.CampaignExperimentOperation") - proto.RegisterType((*MutateCampaignExperimentsResponse)(nil), "google.ads.googleads.v2.services.MutateCampaignExperimentsResponse") - proto.RegisterType((*MutateCampaignExperimentResult)(nil), "google.ads.googleads.v2.services.MutateCampaignExperimentResult") - proto.RegisterType((*CreateCampaignExperimentRequest)(nil), "google.ads.googleads.v2.services.CreateCampaignExperimentRequest") - proto.RegisterType((*CreateCampaignExperimentMetadata)(nil), "google.ads.googleads.v2.services.CreateCampaignExperimentMetadata") - proto.RegisterType((*GraduateCampaignExperimentRequest)(nil), "google.ads.googleads.v2.services.GraduateCampaignExperimentRequest") - proto.RegisterType((*GraduateCampaignExperimentResponse)(nil), "google.ads.googleads.v2.services.GraduateCampaignExperimentResponse") - proto.RegisterType((*PromoteCampaignExperimentRequest)(nil), "google.ads.googleads.v2.services.PromoteCampaignExperimentRequest") - proto.RegisterType((*EndCampaignExperimentRequest)(nil), "google.ads.googleads.v2.services.EndCampaignExperimentRequest") - proto.RegisterType((*ListCampaignExperimentAsyncErrorsRequest)(nil), "google.ads.googleads.v2.services.ListCampaignExperimentAsyncErrorsRequest") - proto.RegisterType((*ListCampaignExperimentAsyncErrorsResponse)(nil), "google.ads.googleads.v2.services.ListCampaignExperimentAsyncErrorsResponse") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/campaign_experiment_service.proto", fileDescriptor_fe5841845e481fad) -} - -var fileDescriptor_fe5841845e481fad = []byte{ - // 1154 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0x4f, 0x6f, 0x1b, 0x45, - 0x14, 0x67, 0x1d, 0x08, 0xcd, 0x73, 0xd3, 0x8a, 0xa9, 0x42, 0x1d, 0x27, 0x6d, 0x9d, 0x6d, 0x05, - 0x21, 0x12, 0xbb, 0x92, 0x51, 0x05, 0xda, 0x28, 0x80, 0xed, 0x38, 0x49, 0x0b, 0x21, 0xd1, 0x06, - 0xe5, 0x10, 0x05, 0xad, 0x26, 0xde, 0xc9, 0xb2, 0xca, 0xfe, 0x63, 0x67, 0x37, 0x6a, 0x5a, 0x45, - 0x48, 0x48, 0x9c, 0x7a, 0xe4, 0x03, 0x80, 0x38, 0xf2, 0x15, 0xf8, 0x00, 0xa0, 0x48, 0x08, 0x09, - 0xbe, 0x02, 0x07, 0xe0, 0xc4, 0x91, 0x63, 0x35, 0xb3, 0x33, 0xce, 0x1f, 0xef, 0xda, 0xae, 0x93, - 0xdb, 0xcc, 0x9b, 0xe7, 0xdf, 0x7b, 0xbf, 0xf7, 0x66, 0x7e, 0x6f, 0x0d, 0x4d, 0x27, 0x0c, 0x1d, - 0x8f, 0xe8, 0xd8, 0xa6, 0x7a, 0xb6, 0x64, 0xab, 0xc3, 0xba, 0x4e, 0x49, 0x7c, 0xe8, 0x76, 0x08, - 0xd5, 0x3b, 0xd8, 0x8f, 0xb0, 0xeb, 0x04,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3, 0x2f, - 0x00, 0x4e, 0xeb, 0x51, 0x29, 0xd5, 0xc6, 0xe6, 0xcb, 0xf5, 0x25, 0x6d, 0x50, 0xcb, 0xb4, 0xde, - 0x90, 0x1b, 0x12, 0xc5, 0x3c, 0x03, 0x88, 0xde, 0x86, 0x9b, 0x11, 0x8e, 0x13, 0x17, 0x7b, 0xd6, - 0x3e, 0x76, 0xbd, 0x34, 0x26, 0x95, 0xb1, 0x9a, 0x32, 0x7f, 0xcd, 0xbc, 0x21, 0xcc, 0x2b, 0x99, - 0x95, 0x51, 0x3e, 0xc4, 0x9e, 0x6b, 0xe3, 0x84, 0x58, 0x61, 0xe0, 0x1d, 0x55, 0x5e, 0xe5, 0x6e, - 0xd7, 0xa5, 0x71, 0x23, 0xf0, 0x8e, 0xd4, 0x3f, 0x14, 0x98, 0xe9, 0x13, 0x19, 0x2d, 0x42, 0x39, - 0x8d, 0x38, 0x04, 0x6b, 0x0f, 0x8f, 0x54, 0xae, 0x57, 0x25, 0x1b, 0xd9, 0x41, 0x6d, 0x85, 0x75, - 0x70, 0x1d, 0xd3, 0x03, 0x13, 0x32, 0x77, 0xb6, 0x46, 0x1b, 0x30, 0x9e, 0xed, 0x78, 0x95, 0xca, - 0xf5, 0x87, 0x85, 0x55, 0xe8, 0x5e, 0xcb, 0x9c, 0x32, 0xac, 0xbd, 0x62, 0x0a, 0x18, 0x54, 0x81, - 0xf1, 0x98, 0xf8, 0xe1, 0x21, 0xa9, 0x94, 0x58, 0xd9, 0xd9, 0x49, 0xb6, 0x6f, 0x96, 0x61, 0xa2, - 0x5b, 0x23, 0xf5, 0x17, 0x05, 0xe6, 0xfa, 0xf4, 0x91, 0x46, 0x61, 0x40, 0x09, 0x5a, 0x81, 0xa9, - 0x0b, 0x85, 0xb4, 0x48, 0x1c, 0x87, 0xb1, 0x20, 0x89, 0x64, 0xb2, 0x71, 0xd4, 0xd1, 0xb6, 0xf8, - 0x25, 0x34, 0x6f, 0x9d, 0x2f, 0x71, 0x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x0e, 0xbc, 0x4d, 0xd6, 0xc8, 0x4d, 0x65, 0x67, - 0x4d, 0x60, 0x38, 0xa1, 0x87, 0x03, 0x47, 0x0b, 0x63, 0x47, 0x77, 0x48, 0xc0, 0xdb, 0xac, 0x9f, - 0x46, 0x2d, 0xfe, 0x67, 0xbd, 0x28, 0x17, 0x3f, 0x96, 0xc6, 0x56, 0x1b, 0x8d, 0x9f, 0x4a, 0xb5, - 0xd5, 0x0c, 0xb0, 0x61, 0x53, 0x2d, 0x5b, 0xb2, 0xd5, 0x76, 0x5d, 0x13, 0x81, 0xe9, 0x89, 0x74, - 0xd9, 0x6d, 0xd8, 0x74, 0xb7, 0xeb, 0xb2, 0xbb, 0x5d, 0xdf, 0x95, 0x2e, 0xff, 0x96, 0x1e, 0x64, - 0x76, 0xc3, 0x68, 0xd8, 0xd4, 0x30, 0xba, 0x4e, 0x86, 0xb1, 0x5d, 0x37, 0x0c, 0xe9, 0xb6, 0x37, - 0xce, 0xf3, 0x7c, 0xef, 0x45, 0x00, 0x00, 0x00, 0xff, 0xff, 0xdc, 0x92, 0x9b, 0x93, 0x00, 0x10, - 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 - -// CampaignExperimentServiceClient is the client API for CampaignExperimentService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type CampaignExperimentServiceClient interface { - // Returns the requested campaign experiment in full detail. - GetCampaignExperiment(ctx context.Context, in *GetCampaignExperimentRequest, opts ...grpc.CallOption) (*resources.CampaignExperiment, error) - // Creates a campaign experiment based on a campaign draft. The draft campaign - // will be forked into a real campaign (called the experiment campaign) that - // will begin serving ads if successfully created. - // - // The campaign experiment is created immediately with status INITIALIZING. - // This method return a long running operation that tracks the forking of the - // draft campaign. If the forking fails, a list of errors can be retrieved - // using the ListCampaignExperimentAsyncErrors method. The operation's - // metadata will be a StringValue containing the resource name of the created - // campaign experiment. - CreateCampaignExperiment(ctx context.Context, in *CreateCampaignExperimentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Updates campaign experiments. Operation statuses are returned. - MutateCampaignExperiments(ctx context.Context, in *MutateCampaignExperimentsRequest, opts ...grpc.CallOption) (*MutateCampaignExperimentsResponse, error) - // Graduates a campaign experiment to a full campaign. The base and experiment - // campaigns will start running independently with their own budgets. - GraduateCampaignExperiment(ctx context.Context, in *GraduateCampaignExperimentRequest, opts ...grpc.CallOption) (*GraduateCampaignExperimentResponse, error) - // Promotes the changes in a experiment campaign back to the base campaign. - // - // The campaign experiment is updated immediately with status PROMOTING. - // This method return a long running operation that tracks the promoting of - // the experiment campaign. If the promoting fails, a list of errors can be - // retrieved using the ListCampaignExperimentAsyncErrors method. - PromoteCampaignExperiment(ctx context.Context, in *PromoteCampaignExperimentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Immediately ends a campaign experiment, changing the experiment's scheduled - // end date and without waiting for end of day. End date is updated to be the - // time of the request. - EndCampaignExperiment(ctx context.Context, in *EndCampaignExperimentRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Returns all errors that occurred during CampaignExperiment create or - // promote (whichever occurred last). - // Supports standard list paging. - ListCampaignExperimentAsyncErrors(ctx context.Context, in *ListCampaignExperimentAsyncErrorsRequest, opts ...grpc.CallOption) (*ListCampaignExperimentAsyncErrorsResponse, error) -} - -type campaignExperimentServiceClient struct { - cc *grpc.ClientConn -} - -func NewCampaignExperimentServiceClient(cc *grpc.ClientConn) CampaignExperimentServiceClient { - return &campaignExperimentServiceClient{cc} -} - -func (c *campaignExperimentServiceClient) GetCampaignExperiment(ctx context.Context, in *GetCampaignExperimentRequest, opts ...grpc.CallOption) (*resources.CampaignExperiment, error) { - out := new(resources.CampaignExperiment) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.CampaignExperimentService/GetCampaignExperiment", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *campaignExperimentServiceClient) CreateCampaignExperiment(ctx context.Context, in *CreateCampaignExperimentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.CampaignExperimentService/CreateCampaignExperiment", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *campaignExperimentServiceClient) MutateCampaignExperiments(ctx context.Context, in *MutateCampaignExperimentsRequest, opts ...grpc.CallOption) (*MutateCampaignExperimentsResponse, error) { - out := new(MutateCampaignExperimentsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.CampaignExperimentService/MutateCampaignExperiments", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *campaignExperimentServiceClient) GraduateCampaignExperiment(ctx context.Context, in *GraduateCampaignExperimentRequest, opts ...grpc.CallOption) (*GraduateCampaignExperimentResponse, error) { - out := new(GraduateCampaignExperimentResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.CampaignExperimentService/GraduateCampaignExperiment", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *campaignExperimentServiceClient) PromoteCampaignExperiment(ctx context.Context, in *PromoteCampaignExperimentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.CampaignExperimentService/PromoteCampaignExperiment", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *campaignExperimentServiceClient) EndCampaignExperiment(ctx context.Context, in *EndCampaignExperimentRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.CampaignExperimentService/EndCampaignExperiment", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *campaignExperimentServiceClient) ListCampaignExperimentAsyncErrors(ctx context.Context, in *ListCampaignExperimentAsyncErrorsRequest, opts ...grpc.CallOption) (*ListCampaignExperimentAsyncErrorsResponse, error) { - out := new(ListCampaignExperimentAsyncErrorsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.CampaignExperimentService/ListCampaignExperimentAsyncErrors", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// CampaignExperimentServiceServer is the server API for CampaignExperimentService service. -type CampaignExperimentServiceServer interface { - // Returns the requested campaign experiment in full detail. - GetCampaignExperiment(context.Context, *GetCampaignExperimentRequest) (*resources.CampaignExperiment, error) - // Creates a campaign experiment based on a campaign draft. The draft campaign - // will be forked into a real campaign (called the experiment campaign) that - // will begin serving ads if successfully created. - // - // The campaign experiment is created immediately with status INITIALIZING. - // This method return a long running operation that tracks the forking of the - // draft campaign. If the forking fails, a list of errors can be retrieved - // using the ListCampaignExperimentAsyncErrors method. The operation's - // metadata will be a StringValue containing the resource name of the created - // campaign experiment. - CreateCampaignExperiment(context.Context, *CreateCampaignExperimentRequest) (*longrunning.Operation, error) - // Updates campaign experiments. Operation statuses are returned. - MutateCampaignExperiments(context.Context, *MutateCampaignExperimentsRequest) (*MutateCampaignExperimentsResponse, error) - // Graduates a campaign experiment to a full campaign. The base and experiment - // campaigns will start running independently with their own budgets. - GraduateCampaignExperiment(context.Context, *GraduateCampaignExperimentRequest) (*GraduateCampaignExperimentResponse, error) - // Promotes the changes in a experiment campaign back to the base campaign. - // - // The campaign experiment is updated immediately with status PROMOTING. - // This method return a long running operation that tracks the promoting of - // the experiment campaign. If the promoting fails, a list of errors can be - // retrieved using the ListCampaignExperimentAsyncErrors method. - PromoteCampaignExperiment(context.Context, *PromoteCampaignExperimentRequest) (*longrunning.Operation, error) - // Immediately ends a campaign experiment, changing the experiment's scheduled - // end date and without waiting for end of day. End date is updated to be the - // time of the request. - EndCampaignExperiment(context.Context, *EndCampaignExperimentRequest) (*empty.Empty, error) - // Returns all errors that occurred during CampaignExperiment create or - // promote (whichever occurred last). - // Supports standard list paging. - ListCampaignExperimentAsyncErrors(context.Context, *ListCampaignExperimentAsyncErrorsRequest) (*ListCampaignExperimentAsyncErrorsResponse, error) -} - -// UnimplementedCampaignExperimentServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCampaignExperimentServiceServer struct { -} - -func (*UnimplementedCampaignExperimentServiceServer) GetCampaignExperiment(ctx context.Context, req *GetCampaignExperimentRequest) (*resources.CampaignExperiment, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetCampaignExperiment not implemented") -} -func (*UnimplementedCampaignExperimentServiceServer) CreateCampaignExperiment(ctx context.Context, req *CreateCampaignExperimentRequest) (*longrunning.Operation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method CreateCampaignExperiment not implemented") -} -func (*UnimplementedCampaignExperimentServiceServer) MutateCampaignExperiments(ctx context.Context, req *MutateCampaignExperimentsRequest) (*MutateCampaignExperimentsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateCampaignExperiments not implemented") -} -func (*UnimplementedCampaignExperimentServiceServer) GraduateCampaignExperiment(ctx context.Context, req *GraduateCampaignExperimentRequest) (*GraduateCampaignExperimentResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GraduateCampaignExperiment not implemented") -} -func (*UnimplementedCampaignExperimentServiceServer) PromoteCampaignExperiment(ctx context.Context, req *PromoteCampaignExperimentRequest) (*longrunning.Operation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method PromoteCampaignExperiment not implemented") -} -func (*UnimplementedCampaignExperimentServiceServer) EndCampaignExperiment(ctx context.Context, req *EndCampaignExperimentRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method EndCampaignExperiment not implemented") -} -func (*UnimplementedCampaignExperimentServiceServer) ListCampaignExperimentAsyncErrors(ctx context.Context, req *ListCampaignExperimentAsyncErrorsRequest) (*ListCampaignExperimentAsyncErrorsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListCampaignExperimentAsyncErrors not implemented") -} - -func RegisterCampaignExperimentServiceServer(s *grpc.Server, srv CampaignExperimentServiceServer) { - s.RegisterService(&_CampaignExperimentService_serviceDesc, srv) -} - -func _CampaignExperimentService_GetCampaignExperiment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetCampaignExperimentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CampaignExperimentServiceServer).GetCampaignExperiment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.CampaignExperimentService/GetCampaignExperiment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CampaignExperimentServiceServer).GetCampaignExperiment(ctx, req.(*GetCampaignExperimentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CampaignExperimentService_CreateCampaignExperiment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateCampaignExperimentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CampaignExperimentServiceServer).CreateCampaignExperiment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.CampaignExperimentService/CreateCampaignExperiment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CampaignExperimentServiceServer).CreateCampaignExperiment(ctx, req.(*CreateCampaignExperimentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CampaignExperimentService_MutateCampaignExperiments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateCampaignExperimentsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CampaignExperimentServiceServer).MutateCampaignExperiments(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.CampaignExperimentService/MutateCampaignExperiments", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CampaignExperimentServiceServer).MutateCampaignExperiments(ctx, req.(*MutateCampaignExperimentsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CampaignExperimentService_GraduateCampaignExperiment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GraduateCampaignExperimentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CampaignExperimentServiceServer).GraduateCampaignExperiment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.CampaignExperimentService/GraduateCampaignExperiment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CampaignExperimentServiceServer).GraduateCampaignExperiment(ctx, req.(*GraduateCampaignExperimentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CampaignExperimentService_PromoteCampaignExperiment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PromoteCampaignExperimentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CampaignExperimentServiceServer).PromoteCampaignExperiment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.CampaignExperimentService/PromoteCampaignExperiment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CampaignExperimentServiceServer).PromoteCampaignExperiment(ctx, req.(*PromoteCampaignExperimentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CampaignExperimentService_EndCampaignExperiment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EndCampaignExperimentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CampaignExperimentServiceServer).EndCampaignExperiment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.CampaignExperimentService/EndCampaignExperiment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CampaignExperimentServiceServer).EndCampaignExperiment(ctx, req.(*EndCampaignExperimentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CampaignExperimentService_ListCampaignExperimentAsyncErrors_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListCampaignExperimentAsyncErrorsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CampaignExperimentServiceServer).ListCampaignExperimentAsyncErrors(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.CampaignExperimentService/ListCampaignExperimentAsyncErrors", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CampaignExperimentServiceServer).ListCampaignExperimentAsyncErrors(ctx, req.(*ListCampaignExperimentAsyncErrorsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _CampaignExperimentService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.CampaignExperimentService", - HandlerType: (*CampaignExperimentServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetCampaignExperiment", - Handler: _CampaignExperimentService_GetCampaignExperiment_Handler, - }, - { - MethodName: "CreateCampaignExperiment", - Handler: _CampaignExperimentService_CreateCampaignExperiment_Handler, - }, - { - MethodName: "MutateCampaignExperiments", - Handler: _CampaignExperimentService_MutateCampaignExperiments_Handler, - }, - { - MethodName: "GraduateCampaignExperiment", - Handler: _CampaignExperimentService_GraduateCampaignExperiment_Handler, - }, - { - MethodName: "PromoteCampaignExperiment", - Handler: _CampaignExperimentService_PromoteCampaignExperiment_Handler, - }, - { - MethodName: "EndCampaignExperiment", - Handler: _CampaignExperimentService_EndCampaignExperiment_Handler, - }, - { - MethodName: "ListCampaignExperimentAsyncErrors", - Handler: _CampaignExperimentService_ListCampaignExperimentAsyncErrors_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/campaign_experiment_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_extension_setting_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_extension_setting_service.pb.go deleted file mode 100644 index 5da001ca..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_extension_setting_service.pb.go +++ /dev/null @@ -1,537 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/campaign_extension_setting_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [CampaignExtensionSettingService.GetCampaignExtensionSetting][google.ads.googleads.v2.services.CampaignExtensionSettingService.GetCampaignExtensionSetting]. -type GetCampaignExtensionSettingRequest struct { - // The resource name of the campaign extension setting 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 *GetCampaignExtensionSettingRequest) Reset() { *m = GetCampaignExtensionSettingRequest{} } -func (m *GetCampaignExtensionSettingRequest) String() string { return proto.CompactTextString(m) } -func (*GetCampaignExtensionSettingRequest) ProtoMessage() {} -func (*GetCampaignExtensionSettingRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_49140070a305e12a, []int{0} -} - -func (m *GetCampaignExtensionSettingRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCampaignExtensionSettingRequest.Unmarshal(m, b) -} -func (m *GetCampaignExtensionSettingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCampaignExtensionSettingRequest.Marshal(b, m, deterministic) -} -func (m *GetCampaignExtensionSettingRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCampaignExtensionSettingRequest.Merge(m, src) -} -func (m *GetCampaignExtensionSettingRequest) XXX_Size() int { - return xxx_messageInfo_GetCampaignExtensionSettingRequest.Size(m) -} -func (m *GetCampaignExtensionSettingRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetCampaignExtensionSettingRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetCampaignExtensionSettingRequest proto.InternalMessageInfo - -func (m *GetCampaignExtensionSettingRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for -// [CampaignExtensionSettingService.MutateCampaignExtensionSettings][google.ads.googleads.v2.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings]. -type MutateCampaignExtensionSettingsRequest struct { - // The ID of the customer whose campaign extension settings 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 extension - // settings. - Operations []*CampaignExtensionSettingOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCampaignExtensionSettingsRequest) Reset() { - *m = MutateCampaignExtensionSettingsRequest{} -} -func (m *MutateCampaignExtensionSettingsRequest) String() string { return proto.CompactTextString(m) } -func (*MutateCampaignExtensionSettingsRequest) ProtoMessage() {} -func (*MutateCampaignExtensionSettingsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_49140070a305e12a, []int{1} -} - -func (m *MutateCampaignExtensionSettingsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCampaignExtensionSettingsRequest.Unmarshal(m, b) -} -func (m *MutateCampaignExtensionSettingsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCampaignExtensionSettingsRequest.Marshal(b, m, deterministic) -} -func (m *MutateCampaignExtensionSettingsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignExtensionSettingsRequest.Merge(m, src) -} -func (m *MutateCampaignExtensionSettingsRequest) XXX_Size() int { - return xxx_messageInfo_MutateCampaignExtensionSettingsRequest.Size(m) -} -func (m *MutateCampaignExtensionSettingsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCampaignExtensionSettingsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCampaignExtensionSettingsRequest proto.InternalMessageInfo - -func (m *MutateCampaignExtensionSettingsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateCampaignExtensionSettingsRequest) GetOperations() []*CampaignExtensionSettingOperation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *MutateCampaignExtensionSettingsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateCampaignExtensionSettingsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// A single operation (create, update, remove) on a campaign extension setting. -type CampaignExtensionSettingOperation 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: - // *CampaignExtensionSettingOperation_Create - // *CampaignExtensionSettingOperation_Update - // *CampaignExtensionSettingOperation_Remove - Operation isCampaignExtensionSettingOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CampaignExtensionSettingOperation) Reset() { *m = CampaignExtensionSettingOperation{} } -func (m *CampaignExtensionSettingOperation) String() string { return proto.CompactTextString(m) } -func (*CampaignExtensionSettingOperation) ProtoMessage() {} -func (*CampaignExtensionSettingOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_49140070a305e12a, []int{2} -} - -func (m *CampaignExtensionSettingOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CampaignExtensionSettingOperation.Unmarshal(m, b) -} -func (m *CampaignExtensionSettingOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CampaignExtensionSettingOperation.Marshal(b, m, deterministic) -} -func (m *CampaignExtensionSettingOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignExtensionSettingOperation.Merge(m, src) -} -func (m *CampaignExtensionSettingOperation) XXX_Size() int { - return xxx_messageInfo_CampaignExtensionSettingOperation.Size(m) -} -func (m *CampaignExtensionSettingOperation) XXX_DiscardUnknown() { - xxx_messageInfo_CampaignExtensionSettingOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_CampaignExtensionSettingOperation proto.InternalMessageInfo - -func (m *CampaignExtensionSettingOperation) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -type isCampaignExtensionSettingOperation_Operation interface { - isCampaignExtensionSettingOperation_Operation() -} - -type CampaignExtensionSettingOperation_Create struct { - Create *resources.CampaignExtensionSetting `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type CampaignExtensionSettingOperation_Update struct { - Update *resources.CampaignExtensionSetting `protobuf:"bytes,2,opt,name=update,proto3,oneof"` -} - -type CampaignExtensionSettingOperation_Remove struct { - Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` -} - -func (*CampaignExtensionSettingOperation_Create) isCampaignExtensionSettingOperation_Operation() {} - -func (*CampaignExtensionSettingOperation_Update) isCampaignExtensionSettingOperation_Operation() {} - -func (*CampaignExtensionSettingOperation_Remove) isCampaignExtensionSettingOperation_Operation() {} - -func (m *CampaignExtensionSettingOperation) GetOperation() isCampaignExtensionSettingOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *CampaignExtensionSettingOperation) GetCreate() *resources.CampaignExtensionSetting { - if x, ok := m.GetOperation().(*CampaignExtensionSettingOperation_Create); ok { - return x.Create - } - return nil -} - -func (m *CampaignExtensionSettingOperation) GetUpdate() *resources.CampaignExtensionSetting { - if x, ok := m.GetOperation().(*CampaignExtensionSettingOperation_Update); ok { - return x.Update - } - return nil -} - -func (m *CampaignExtensionSettingOperation) GetRemove() string { - if x, ok := m.GetOperation().(*CampaignExtensionSettingOperation_Remove); ok { - return x.Remove - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CampaignExtensionSettingOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CampaignExtensionSettingOperation_Create)(nil), - (*CampaignExtensionSettingOperation_Update)(nil), - (*CampaignExtensionSettingOperation_Remove)(nil), - } -} - -// Response message for a campaign extension setting mutate. -type MutateCampaignExtensionSettingsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // All results for the mutate. - Results []*MutateCampaignExtensionSettingResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCampaignExtensionSettingsResponse) Reset() { - *m = MutateCampaignExtensionSettingsResponse{} -} -func (m *MutateCampaignExtensionSettingsResponse) String() string { return proto.CompactTextString(m) } -func (*MutateCampaignExtensionSettingsResponse) ProtoMessage() {} -func (*MutateCampaignExtensionSettingsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_49140070a305e12a, []int{3} -} - -func (m *MutateCampaignExtensionSettingsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCampaignExtensionSettingsResponse.Unmarshal(m, b) -} -func (m *MutateCampaignExtensionSettingsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCampaignExtensionSettingsResponse.Marshal(b, m, deterministic) -} -func (m *MutateCampaignExtensionSettingsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignExtensionSettingsResponse.Merge(m, src) -} -func (m *MutateCampaignExtensionSettingsResponse) XXX_Size() int { - return xxx_messageInfo_MutateCampaignExtensionSettingsResponse.Size(m) -} -func (m *MutateCampaignExtensionSettingsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCampaignExtensionSettingsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCampaignExtensionSettingsResponse proto.InternalMessageInfo - -func (m *MutateCampaignExtensionSettingsResponse) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -func (m *MutateCampaignExtensionSettingsResponse) GetResults() []*MutateCampaignExtensionSettingResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for the campaign extension setting mutate. -type MutateCampaignExtensionSettingResult 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 *MutateCampaignExtensionSettingResult) Reset() { *m = MutateCampaignExtensionSettingResult{} } -func (m *MutateCampaignExtensionSettingResult) String() string { return proto.CompactTextString(m) } -func (*MutateCampaignExtensionSettingResult) ProtoMessage() {} -func (*MutateCampaignExtensionSettingResult) Descriptor() ([]byte, []int) { - return fileDescriptor_49140070a305e12a, []int{4} -} - -func (m *MutateCampaignExtensionSettingResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCampaignExtensionSettingResult.Unmarshal(m, b) -} -func (m *MutateCampaignExtensionSettingResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCampaignExtensionSettingResult.Marshal(b, m, deterministic) -} -func (m *MutateCampaignExtensionSettingResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignExtensionSettingResult.Merge(m, src) -} -func (m *MutateCampaignExtensionSettingResult) XXX_Size() int { - return xxx_messageInfo_MutateCampaignExtensionSettingResult.Size(m) -} -func (m *MutateCampaignExtensionSettingResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCampaignExtensionSettingResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCampaignExtensionSettingResult proto.InternalMessageInfo - -func (m *MutateCampaignExtensionSettingResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetCampaignExtensionSettingRequest)(nil), "google.ads.googleads.v2.services.GetCampaignExtensionSettingRequest") - proto.RegisterType((*MutateCampaignExtensionSettingsRequest)(nil), "google.ads.googleads.v2.services.MutateCampaignExtensionSettingsRequest") - proto.RegisterType((*CampaignExtensionSettingOperation)(nil), "google.ads.googleads.v2.services.CampaignExtensionSettingOperation") - proto.RegisterType((*MutateCampaignExtensionSettingsResponse)(nil), "google.ads.googleads.v2.services.MutateCampaignExtensionSettingsResponse") - proto.RegisterType((*MutateCampaignExtensionSettingResult)(nil), "google.ads.googleads.v2.services.MutateCampaignExtensionSettingResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/campaign_extension_setting_service.proto", fileDescriptor_49140070a305e12a) -} - -var fileDescriptor_49140070a305e12a = []byte{ - // 738 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, 0xe8, 0xa6, 0x80, 0xb4, 0x08, 0x61, 0xa5, 0x48, 0x0d, 0x26, - 0xa2, 0x55, 0x0e, 0xb6, 0x64, 0x6e, 0x8e, 0x8a, 0x94, 0x84, 0xa6, 0x8d, 0x50, 0x69, 0xe5, 0x8a, - 0x1e, 0x50, 0x24, 0xb3, 0xb5, 0xb7, 0x96, 0x55, 0xdb, 0x6b, 0x76, 0xd7, 0x11, 0x55, 0xd5, 0x03, - 0x5c, 0x39, 0xf2, 0x06, 0x1c, 0x7b, 0xe7, 0x25, 0x7a, 0xed, 0x2b, 0xc0, 0x85, 0x67, 0xe0, 0x80, - 0xec, 0xf5, 0xa6, 0x7f, 0x90, 0xeb, 0x4a, 0xed, 0x6d, 0x32, 0xfb, 0xf5, 0x67, 0x66, 0x76, 0x66, - 0x27, 0x60, 0x14, 0x10, 0x12, 0x44, 0xd8, 0x44, 0x3e, 0x33, 0x85, 0x99, 0x5b, 0x13, 0xcb, 0x64, - 0x98, 0x4e, 0x42, 0x0f, 0x33, 0xd3, 0x43, 0x71, 0x8a, 0xc2, 0x20, 0x71, 0xf1, 0x27, 0x8e, 0x13, - 0x16, 0x92, 0xc4, 0x65, 0x98, 0xf3, 0x30, 0x09, 0xdc, 0x52, 0x63, 0xa4, 0x94, 0x70, 0x02, 0x5b, - 0xe2, 0x7b, 0x03, 0xf9, 0xcc, 0x98, 0xa2, 0x8c, 0x89, 0x65, 0x48, 0x54, 0xb3, 0x5f, 0x15, 0x8c, - 0x62, 0x46, 0x32, 0x7a, 0x7d, 0x34, 0x11, 0xa5, 0xf9, 0x54, 0x32, 0xd2, 0xd0, 0x44, 0x49, 0x42, - 0x38, 0xe2, 0x21, 0x49, 0x58, 0x79, 0x5a, 0xe6, 0x60, 0x16, 0xbf, 0xf6, 0xb2, 0x7d, 0x73, 0x3f, - 0xc4, 0x91, 0xef, 0xc6, 0x88, 0x1d, 0x94, 0x8a, 0x27, 0xa5, 0x82, 0xa6, 0x9e, 0xc9, 0x38, 0xe2, - 0x19, 0xbb, 0x72, 0x90, 0x83, 0xbd, 0x28, 0xc4, 0x09, 0x17, 0x07, 0xfa, 0x08, 0xe8, 0xeb, 0x98, - 0x0f, 0xca, 0xc4, 0xd6, 0x64, 0x5e, 0x3b, 0x22, 0x2d, 0x07, 0x7f, 0xcc, 0x30, 0xe3, 0xf0, 0x39, - 0xb8, 0x2f, 0xab, 0x70, 0x13, 0x14, 0x63, 0x4d, 0x69, 0x29, 0x2b, 0xf3, 0xce, 0x82, 0x74, 0xbe, - 0x45, 0x31, 0xd6, 0xff, 0x28, 0xe0, 0xc5, 0x66, 0xc6, 0x11, 0xc7, 0x55, 0x38, 0x26, 0x79, 0x4b, - 0xa0, 0xe1, 0x65, 0x8c, 0x93, 0x18, 0x53, 0x37, 0xf4, 0x4b, 0x1a, 0x90, 0xae, 0x91, 0x0f, 0x3d, - 0x00, 0x48, 0x8a, 0xa9, 0x28, 0x5f, 0x53, 0x5b, 0x33, 0x2b, 0x0d, 0x6b, 0x60, 0xd4, 0xf5, 0xc0, - 0xa8, 0x0a, 0xbc, 0x25, 0x59, 0xce, 0x05, 0x2c, 0x5c, 0x06, 0x0f, 0x53, 0x44, 0x79, 0x88, 0x22, - 0x77, 0x1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0xcc, - 0x4e, 0xa5, 0x64, 0xdc, 0xf3, 0xd9, 0x78, 0x2a, 0x19, 0xef, 0x5a, 0x63, 0x29, 0xf9, 0xad, 0xb6, - 0x85, 0xdf, 0xb6, 0x7b, 0x3e, 0xb3, 0xed, 0xa9, 0xc8, 0xb6, 0x77, 0x2d, 0xdb, 0x96, 0xb2, 0xbd, - 0xb9, 0x22, 0xcf, 0x97, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xc1, 0x35, 0xc6, 0xc6, 0x0b, 0x08, - 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 - -// CampaignExtensionSettingServiceClient is the client API for CampaignExtensionSettingService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type CampaignExtensionSettingServiceClient interface { - // Returns the requested campaign extension setting in full detail. - GetCampaignExtensionSetting(ctx context.Context, in *GetCampaignExtensionSettingRequest, opts ...grpc.CallOption) (*resources.CampaignExtensionSetting, error) - // Creates, updates, or removes campaign extension settings. Operation - // statuses are returned. - MutateCampaignExtensionSettings(ctx context.Context, in *MutateCampaignExtensionSettingsRequest, opts ...grpc.CallOption) (*MutateCampaignExtensionSettingsResponse, error) -} - -type campaignExtensionSettingServiceClient struct { - cc *grpc.ClientConn -} - -func NewCampaignExtensionSettingServiceClient(cc *grpc.ClientConn) CampaignExtensionSettingServiceClient { - return &campaignExtensionSettingServiceClient{cc} -} - -func (c *campaignExtensionSettingServiceClient) GetCampaignExtensionSetting(ctx context.Context, in *GetCampaignExtensionSettingRequest, opts ...grpc.CallOption) (*resources.CampaignExtensionSetting, error) { - out := new(resources.CampaignExtensionSetting) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.CampaignExtensionSettingService/GetCampaignExtensionSetting", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *campaignExtensionSettingServiceClient) MutateCampaignExtensionSettings(ctx context.Context, in *MutateCampaignExtensionSettingsRequest, opts ...grpc.CallOption) (*MutateCampaignExtensionSettingsResponse, error) { - out := new(MutateCampaignExtensionSettingsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.CampaignExtensionSettingService/MutateCampaignExtensionSettings", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// CampaignExtensionSettingServiceServer is the server API for CampaignExtensionSettingService service. -type CampaignExtensionSettingServiceServer interface { - // Returns the requested campaign extension setting in full detail. - GetCampaignExtensionSetting(context.Context, *GetCampaignExtensionSettingRequest) (*resources.CampaignExtensionSetting, error) - // Creates, updates, or removes campaign extension settings. Operation - // statuses are returned. - MutateCampaignExtensionSettings(context.Context, *MutateCampaignExtensionSettingsRequest) (*MutateCampaignExtensionSettingsResponse, error) -} - -// UnimplementedCampaignExtensionSettingServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCampaignExtensionSettingServiceServer struct { -} - -func (*UnimplementedCampaignExtensionSettingServiceServer) GetCampaignExtensionSetting(ctx context.Context, req *GetCampaignExtensionSettingRequest) (*resources.CampaignExtensionSetting, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetCampaignExtensionSetting not implemented") -} -func (*UnimplementedCampaignExtensionSettingServiceServer) MutateCampaignExtensionSettings(ctx context.Context, req *MutateCampaignExtensionSettingsRequest) (*MutateCampaignExtensionSettingsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateCampaignExtensionSettings not implemented") -} - -func RegisterCampaignExtensionSettingServiceServer(s *grpc.Server, srv CampaignExtensionSettingServiceServer) { - s.RegisterService(&_CampaignExtensionSettingService_serviceDesc, srv) -} - -func _CampaignExtensionSettingService_GetCampaignExtensionSetting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetCampaignExtensionSettingRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CampaignExtensionSettingServiceServer).GetCampaignExtensionSetting(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.CampaignExtensionSettingService/GetCampaignExtensionSetting", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CampaignExtensionSettingServiceServer).GetCampaignExtensionSetting(ctx, req.(*GetCampaignExtensionSettingRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CampaignExtensionSettingService_MutateCampaignExtensionSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateCampaignExtensionSettingsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CampaignExtensionSettingServiceServer).MutateCampaignExtensionSettings(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.CampaignExtensionSettingService/MutateCampaignExtensionSettings", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CampaignExtensionSettingServiceServer).MutateCampaignExtensionSettings(ctx, req.(*MutateCampaignExtensionSettingsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _CampaignExtensionSettingService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.CampaignExtensionSettingService", - HandlerType: (*CampaignExtensionSettingServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetCampaignExtensionSetting", - Handler: _CampaignExtensionSettingService_GetCampaignExtensionSetting_Handler, - }, - { - MethodName: "MutateCampaignExtensionSettings", - Handler: _CampaignExtensionSettingService_MutateCampaignExtensionSettings_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/campaign_extension_setting_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_feed_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_feed_service.pb.go deleted file mode 100644 index 1740b74b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_feed_service.pb.go +++ /dev/null @@ -1,528 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/campaign_feed_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [CampaignFeedService.GetCampaignFeed][google.ads.googleads.v2.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_5a3c9e6fefea65ac, []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 (m *GetCampaignFeedRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCampaignFeedRequest.Merge(m, 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.v2.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_5a3c9e6fefea65ac, []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 (m *MutateCampaignFeedsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignFeedsRequest.Merge(m, 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 -} - -func (m *MutateCampaignFeedsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateCampaignFeedsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_5a3c9e6fefea65ac, []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 (m *CampaignFeedOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignFeedOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*CampaignFeedOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CampaignFeedOperation_Create)(nil), - (*CampaignFeedOperation_Update)(nil), - (*CampaignFeedOperation_Remove)(nil), - } -} - -// Response message for a campaign feed mutate. -type MutateCampaignFeedsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_5a3c9e6fefea65ac, []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 (m *MutateCampaignFeedsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignFeedsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_5a3c9e6fefea65ac, []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 (m *MutateCampaignFeedResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignFeedResult.Merge(m, 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.v2.services.GetCampaignFeedRequest") - proto.RegisterType((*MutateCampaignFeedsRequest)(nil), "google.ads.googleads.v2.services.MutateCampaignFeedsRequest") - proto.RegisterType((*CampaignFeedOperation)(nil), "google.ads.googleads.v2.services.CampaignFeedOperation") - proto.RegisterType((*MutateCampaignFeedsResponse)(nil), "google.ads.googleads.v2.services.MutateCampaignFeedsResponse") - proto.RegisterType((*MutateCampaignFeedResult)(nil), "google.ads.googleads.v2.services.MutateCampaignFeedResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/campaign_feed_service.proto", fileDescriptor_5a3c9e6fefea65ac) -} - -var fileDescriptor_5a3c9e6fefea65ac = []byte{ - // 726 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0x41, 0x6b, 0xdb, 0x4a, - 0x10, 0x7e, 0xb2, 0x1f, 0x79, 0x2f, 0xeb, 0xbc, 0x17, 0xd8, 0x90, 0x56, 0x28, 0x85, 0x1a, 0x35, - 0xd0, 0xe0, 0x83, 0x96, 0xaa, 0x94, 0x14, 0x25, 0xa6, 0x38, 0xa5, 0x4e, 0x72, 0x48, 0x13, 0x94, - 0x92, 0x42, 0x31, 0x88, 0x8d, 0xb4, 0x16, 0x22, 0x92, 0x56, 0xdd, 0x5d, 0x19, 0x42, 0xc8, 0xa5, - 0xff, 0xa0, 0xf4, 0x1f, 0xf4, 0xd8, 0x7b, 0x4f, 0x85, 0xfe, 0x80, 0xdc, 0x4a, 0xff, 0x42, 0x4e, - 0xfd, 0x13, 0x2d, 0xd2, 0x6a, 0x1d, 0x3b, 0xb1, 0x71, 0x9b, 0xdb, 0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 0x31, 0x4e, 0x43, 0x8b, 0xb2, - 0x10, 0x85, 0x24, 0x2d, 0xd7, 0x1e, 0x5d, 0xe5, 0x9b, 0xfe, 0x9b, 0xd9, 0x50, 0xc6, 0xc7, 0x5a, - 0x7d, 0xbb, 0xd3, 0xf9, 0x54, 0x6b, 0x6e, 0x4b, 0xc2, 0x4e, 0xc0, 0x2d, 0x69, 0x16, 0xd6, 0x91, - 0x6d, 0x55, 0x89, 0xf9, 0x85, 0x82, 0xf4, 0x3a, 0x01, 0xef, 0x0d, 0x21, 0xbd, 0x23, 0xbb, 0xa7, - 0x20, 0x3f, 0x6a, 0xab, 0xd2, 0xef, 0x38, 0x9d, 0x80, 0x3b, 0xce, 0x10, 0xe4, 0x38, 0x47, 0xb6, - 0xe3, 0x28, 0xd8, 0xf1, 0x5c, 0x59, 0xe7, 0xe3, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xcf, 0xf0, - 0xa6, 0xf1, 0x0d, 0x07, 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 - -// 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.v2.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.v2.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) -} - -// UnimplementedCampaignFeedServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCampaignFeedServiceServer struct { -} - -func (*UnimplementedCampaignFeedServiceServer) GetCampaignFeed(ctx context.Context, req *GetCampaignFeedRequest) (*resources.CampaignFeed, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetCampaignFeed not implemented") -} -func (*UnimplementedCampaignFeedServiceServer) MutateCampaignFeeds(ctx context.Context, req *MutateCampaignFeedsRequest) (*MutateCampaignFeedsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateCampaignFeeds not implemented") -} - -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.v2.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.v2.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.v2.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/v2/services/campaign_feed_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_label_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_label_service.pb.go deleted file mode 100644 index 90e22f27..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_label_service.pb.go +++ /dev/null @@ -1,499 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/campaign_label_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [CampaignLabelService.GetCampaignLabel][google.ads.googleads.v2.services.CampaignLabelService.GetCampaignLabel]. -type GetCampaignLabelRequest struct { - // The resource name of the campaign-label relationship 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 *GetCampaignLabelRequest) Reset() { *m = GetCampaignLabelRequest{} } -func (m *GetCampaignLabelRequest) String() string { return proto.CompactTextString(m) } -func (*GetCampaignLabelRequest) ProtoMessage() {} -func (*GetCampaignLabelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c19883c40d100c23, []int{0} -} - -func (m *GetCampaignLabelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCampaignLabelRequest.Unmarshal(m, b) -} -func (m *GetCampaignLabelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCampaignLabelRequest.Marshal(b, m, deterministic) -} -func (m *GetCampaignLabelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCampaignLabelRequest.Merge(m, src) -} -func (m *GetCampaignLabelRequest) XXX_Size() int { - return xxx_messageInfo_GetCampaignLabelRequest.Size(m) -} -func (m *GetCampaignLabelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetCampaignLabelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetCampaignLabelRequest proto.InternalMessageInfo - -func (m *GetCampaignLabelRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for [CampaignLabelService.MutateCampaignLabels][google.ads.googleads.v2.services.CampaignLabelService.MutateCampaignLabels]. -type MutateCampaignLabelsRequest struct { - // ID of the customer whose campaign-label relationships 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 campaign-label relationships. - Operations []*CampaignLabelOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCampaignLabelsRequest) Reset() { *m = MutateCampaignLabelsRequest{} } -func (m *MutateCampaignLabelsRequest) String() string { return proto.CompactTextString(m) } -func (*MutateCampaignLabelsRequest) ProtoMessage() {} -func (*MutateCampaignLabelsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c19883c40d100c23, []int{1} -} - -func (m *MutateCampaignLabelsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCampaignLabelsRequest.Unmarshal(m, b) -} -func (m *MutateCampaignLabelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCampaignLabelsRequest.Marshal(b, m, deterministic) -} -func (m *MutateCampaignLabelsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignLabelsRequest.Merge(m, src) -} -func (m *MutateCampaignLabelsRequest) XXX_Size() int { - return xxx_messageInfo_MutateCampaignLabelsRequest.Size(m) -} -func (m *MutateCampaignLabelsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCampaignLabelsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCampaignLabelsRequest proto.InternalMessageInfo - -func (m *MutateCampaignLabelsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateCampaignLabelsRequest) GetOperations() []*CampaignLabelOperation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *MutateCampaignLabelsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateCampaignLabelsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// A single operation (create, remove) on a campaign-label relationship. -type CampaignLabelOperation struct { - // The mutate operation. - // - // Types that are valid to be assigned to Operation: - // *CampaignLabelOperation_Create - // *CampaignLabelOperation_Remove - Operation isCampaignLabelOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CampaignLabelOperation) Reset() { *m = CampaignLabelOperation{} } -func (m *CampaignLabelOperation) String() string { return proto.CompactTextString(m) } -func (*CampaignLabelOperation) ProtoMessage() {} -func (*CampaignLabelOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_c19883c40d100c23, []int{2} -} - -func (m *CampaignLabelOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CampaignLabelOperation.Unmarshal(m, b) -} -func (m *CampaignLabelOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CampaignLabelOperation.Marshal(b, m, deterministic) -} -func (m *CampaignLabelOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignLabelOperation.Merge(m, src) -} -func (m *CampaignLabelOperation) XXX_Size() int { - return xxx_messageInfo_CampaignLabelOperation.Size(m) -} -func (m *CampaignLabelOperation) XXX_DiscardUnknown() { - xxx_messageInfo_CampaignLabelOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_CampaignLabelOperation proto.InternalMessageInfo - -type isCampaignLabelOperation_Operation interface { - isCampaignLabelOperation_Operation() -} - -type CampaignLabelOperation_Create struct { - Create *resources.CampaignLabel `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type CampaignLabelOperation_Remove struct { - Remove string `protobuf:"bytes,2,opt,name=remove,proto3,oneof"` -} - -func (*CampaignLabelOperation_Create) isCampaignLabelOperation_Operation() {} - -func (*CampaignLabelOperation_Remove) isCampaignLabelOperation_Operation() {} - -func (m *CampaignLabelOperation) GetOperation() isCampaignLabelOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *CampaignLabelOperation) GetCreate() *resources.CampaignLabel { - if x, ok := m.GetOperation().(*CampaignLabelOperation_Create); ok { - return x.Create - } - return nil -} - -func (m *CampaignLabelOperation) GetRemove() string { - if x, ok := m.GetOperation().(*CampaignLabelOperation_Remove); ok { - return x.Remove - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CampaignLabelOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CampaignLabelOperation_Create)(nil), - (*CampaignLabelOperation_Remove)(nil), - } -} - -// Response message for a campaign labels mutate. -type MutateCampaignLabelsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // All results for the mutate. - Results []*MutateCampaignLabelResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCampaignLabelsResponse) Reset() { *m = MutateCampaignLabelsResponse{} } -func (m *MutateCampaignLabelsResponse) String() string { return proto.CompactTextString(m) } -func (*MutateCampaignLabelsResponse) ProtoMessage() {} -func (*MutateCampaignLabelsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c19883c40d100c23, []int{3} -} - -func (m *MutateCampaignLabelsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCampaignLabelsResponse.Unmarshal(m, b) -} -func (m *MutateCampaignLabelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCampaignLabelsResponse.Marshal(b, m, deterministic) -} -func (m *MutateCampaignLabelsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignLabelsResponse.Merge(m, src) -} -func (m *MutateCampaignLabelsResponse) XXX_Size() int { - return xxx_messageInfo_MutateCampaignLabelsResponse.Size(m) -} -func (m *MutateCampaignLabelsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCampaignLabelsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCampaignLabelsResponse proto.InternalMessageInfo - -func (m *MutateCampaignLabelsResponse) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -func (m *MutateCampaignLabelsResponse) GetResults() []*MutateCampaignLabelResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for a campaign label mutate. -type MutateCampaignLabelResult 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 *MutateCampaignLabelResult) Reset() { *m = MutateCampaignLabelResult{} } -func (m *MutateCampaignLabelResult) String() string { return proto.CompactTextString(m) } -func (*MutateCampaignLabelResult) ProtoMessage() {} -func (*MutateCampaignLabelResult) Descriptor() ([]byte, []int) { - return fileDescriptor_c19883c40d100c23, []int{4} -} - -func (m *MutateCampaignLabelResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCampaignLabelResult.Unmarshal(m, b) -} -func (m *MutateCampaignLabelResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCampaignLabelResult.Marshal(b, m, deterministic) -} -func (m *MutateCampaignLabelResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignLabelResult.Merge(m, src) -} -func (m *MutateCampaignLabelResult) XXX_Size() int { - return xxx_messageInfo_MutateCampaignLabelResult.Size(m) -} -func (m *MutateCampaignLabelResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCampaignLabelResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCampaignLabelResult proto.InternalMessageInfo - -func (m *MutateCampaignLabelResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetCampaignLabelRequest)(nil), "google.ads.googleads.v2.services.GetCampaignLabelRequest") - proto.RegisterType((*MutateCampaignLabelsRequest)(nil), "google.ads.googleads.v2.services.MutateCampaignLabelsRequest") - proto.RegisterType((*CampaignLabelOperation)(nil), "google.ads.googleads.v2.services.CampaignLabelOperation") - proto.RegisterType((*MutateCampaignLabelsResponse)(nil), "google.ads.googleads.v2.services.MutateCampaignLabelsResponse") - proto.RegisterType((*MutateCampaignLabelResult)(nil), "google.ads.googleads.v2.services.MutateCampaignLabelResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/campaign_label_service.proto", fileDescriptor_c19883c40d100c23) -} - -var fileDescriptor_c19883c40d100c23 = []byte{ - // 672 bytes of a gzipped FileDescriptorProto - 0x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x4e, 0x3b, 0xc6, 0x19, 0x6d, 0x65, 0x65, 0x11, 0x47, 0x3e, 0x4d, 0x36, 0xdf, 0xea, - 0x60, 0xc9, 0xa7, 0xc9, 0xc4, 0x12, 0x37, 0xe7, 0x47, 0xcd, 0x7b, 0xaf, 0xf8, 0x8d, 0xed, 0x69, - 0xaf, 0x76, 0xaa, 0xf4, 0x90, 0xc6, 0x38, 0x0d, 0x11, 0x65, 0xa1, 0x15, 0x92, 0xb4, 0xfc, 0xc9, - 0x59, 0x67, 0x84, 0xe3, 0x7f, 0xe8, 0xeb, 0xca, 0xf8, 0xa8, 0xd7, 0xb6, 0x3b, 0x9d, 0x4f, 0x7a, - 0x73, 0x5b, 0x02, 0x76, 0x02, 0x8e, 0xa4, 0x59, 0x58, 0x07, 0x36, 0xaa, 0x88, 0xf9, 0xa9, 0x0a, - 0xe9, 0x76, 0x02, 0xde, 0xed, 0x87, 0x74, 0x0f, 0xec, 0xae, 0x0a, 0xf9, 0xa5, 0x2f, 0x49, 0xbf, - 0xe3, 0x74, 0x02, 0xee, 0x38, 0xfd, 0x20, 0xc7, 0x39, 0xb0, 0x1d, 0x47, 0x85, 0x1d, 0x4e, 0x95, - 0x75, 0xae, 0xfe, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x77, 0xe1, 0xb7, 0xc7, 0x77, 0x06, 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 - -// CampaignLabelServiceClient is the client API for CampaignLabelService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type CampaignLabelServiceClient interface { - // Returns the requested campaign-label relationship in full detail. - GetCampaignLabel(ctx context.Context, in *GetCampaignLabelRequest, opts ...grpc.CallOption) (*resources.CampaignLabel, error) - // Creates and removes campaign-label relationships. - // Operation statuses are returned. - MutateCampaignLabels(ctx context.Context, in *MutateCampaignLabelsRequest, opts ...grpc.CallOption) (*MutateCampaignLabelsResponse, error) -} - -type campaignLabelServiceClient struct { - cc *grpc.ClientConn -} - -func NewCampaignLabelServiceClient(cc *grpc.ClientConn) CampaignLabelServiceClient { - return &campaignLabelServiceClient{cc} -} - -func (c *campaignLabelServiceClient) GetCampaignLabel(ctx context.Context, in *GetCampaignLabelRequest, opts ...grpc.CallOption) (*resources.CampaignLabel, error) { - out := new(resources.CampaignLabel) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.CampaignLabelService/GetCampaignLabel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *campaignLabelServiceClient) MutateCampaignLabels(ctx context.Context, in *MutateCampaignLabelsRequest, opts ...grpc.CallOption) (*MutateCampaignLabelsResponse, error) { - out := new(MutateCampaignLabelsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.CampaignLabelService/MutateCampaignLabels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// CampaignLabelServiceServer is the server API for CampaignLabelService service. -type CampaignLabelServiceServer interface { - // Returns the requested campaign-label relationship in full detail. - GetCampaignLabel(context.Context, *GetCampaignLabelRequest) (*resources.CampaignLabel, error) - // Creates and removes campaign-label relationships. - // Operation statuses are returned. - MutateCampaignLabels(context.Context, *MutateCampaignLabelsRequest) (*MutateCampaignLabelsResponse, error) -} - -// UnimplementedCampaignLabelServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCampaignLabelServiceServer struct { -} - -func (*UnimplementedCampaignLabelServiceServer) GetCampaignLabel(ctx context.Context, req *GetCampaignLabelRequest) (*resources.CampaignLabel, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetCampaignLabel not implemented") -} -func (*UnimplementedCampaignLabelServiceServer) MutateCampaignLabels(ctx context.Context, req *MutateCampaignLabelsRequest) (*MutateCampaignLabelsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateCampaignLabels not implemented") -} - -func RegisterCampaignLabelServiceServer(s *grpc.Server, srv CampaignLabelServiceServer) { - s.RegisterService(&_CampaignLabelService_serviceDesc, srv) -} - -func _CampaignLabelService_GetCampaignLabel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetCampaignLabelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CampaignLabelServiceServer).GetCampaignLabel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.CampaignLabelService/GetCampaignLabel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CampaignLabelServiceServer).GetCampaignLabel(ctx, req.(*GetCampaignLabelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CampaignLabelService_MutateCampaignLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateCampaignLabelsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CampaignLabelServiceServer).MutateCampaignLabels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.CampaignLabelService/MutateCampaignLabels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CampaignLabelServiceServer).MutateCampaignLabels(ctx, req.(*MutateCampaignLabelsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _CampaignLabelService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.CampaignLabelService", - HandlerType: (*CampaignLabelServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetCampaignLabel", - Handler: _CampaignLabelService_GetCampaignLabel_Handler, - }, - { - MethodName: "MutateCampaignLabels", - Handler: _CampaignLabelService_MutateCampaignLabels_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/campaign_label_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_service.pb.go deleted file mode 100644 index a921e645..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_service.pb.go +++ /dev/null @@ -1,525 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/campaign_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [CampaignService.GetCampaign][google.ads.googleads.v2.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_83e9c3e18d7edc4e, []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 (m *GetCampaignRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCampaignRequest.Merge(m, 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.v2.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_83e9c3e18d7edc4e, []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 (m *MutateCampaignsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignsRequest.Merge(m, 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 -} - -func (m *MutateCampaignsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateCampaignsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_83e9c3e18d7edc4e, []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 (m *CampaignOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*CampaignOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CampaignOperation_Create)(nil), - (*CampaignOperation_Update)(nil), - (*CampaignOperation_Remove)(nil), - } -} - -// Response message for campaign mutate. -type MutateCampaignsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_83e9c3e18d7edc4e, []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 (m *MutateCampaignsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_83e9c3e18d7edc4e, []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 (m *MutateCampaignResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignResult.Merge(m, 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.v2.services.GetCampaignRequest") - proto.RegisterType((*MutateCampaignsRequest)(nil), "google.ads.googleads.v2.services.MutateCampaignsRequest") - proto.RegisterType((*CampaignOperation)(nil), "google.ads.googleads.v2.services.CampaignOperation") - proto.RegisterType((*MutateCampaignsResponse)(nil), "google.ads.googleads.v2.services.MutateCampaignsResponse") - proto.RegisterType((*MutateCampaignResult)(nil), "google.ads.googleads.v2.services.MutateCampaignResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/campaign_service.proto", fileDescriptor_83e9c3e18d7edc4e) -} - -var fileDescriptor_83e9c3e18d7edc4e = []byte{ - // 718 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0x3d, 0x6f, 0xd4, 0x4a, - 0x14, 0x7d, 0xde, 0x7d, 0xca, 0x7b, 0x19, 0xe7, 0xbd, 0x88, 0x21, 0x10, 0x6b, 0x41, 0x62, 0x65, - 0x22, 0x11, 0x6d, 0xc4, 0x18, 0x79, 0x11, 0x10, 0x47, 0x29, 0x36, 0x28, 0x1f, 0x14, 0x21, 0x91, - 0x23, 0xa5, 0x40, 0x2b, 0x59, 0x13, 0x7b, 0x62, 0x59, 0xb1, 0x3d, 0x66, 0x66, 0xbc, 0x52, 0x14, - 0xa5, 0x41, 0xe2, 0x17, 0xd0, 0x51, 0x22, 0xd1, 0xd0, 0xf2, 0x0b, 0x68, 0xd3, 0xd2, 0x52, 0x52, - 0xf1, 0x17, 0x68, 0x90, 0x3d, 0x1e, 0xef, 0x66, 0x43, 0xb4, 0x24, 0xdd, 0xdd, 0x3b, 0xe7, 0x9c, - 0x7b, 0xe6, 0xde, 0xb9, 0x5e, 0xf0, 0x34, 0xa4, 0x34, 0x8c, 0x89, 0x85, 0x03, 0x6e, 0xc9, 0xb0, - 0x88, 0x06, 0xb6, 0xc5, 0x09, 0x1b, 0x44, 0x3e, 0xe1, 0x96, 0x8f, 0x93, 0x0c, 0x47, 0x61, 0xea, - 0x55, 0x19, 0x94, 0x31, 0x2a, 0x28, 0x6c, 0x4b, 0x34, 0xc2, 0x01, 0x47, 0x35, 0x11, 0x0d, 0x6c, - 0xa4, 0x88, 0xad, 0x47, 0x97, 0x49, 0x33, 0xc2, 0x69, 0xce, 0x46, 0xb5, 0xa5, 0x66, 0xeb, 0xae, - 0x62, 0x64, 0x91, 0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b1, 0x35, 0x20, 0x31, 0xb7, 0x06, 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 - -// 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.v2.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.v2.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) -} - -// UnimplementedCampaignServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCampaignServiceServer struct { -} - -func (*UnimplementedCampaignServiceServer) GetCampaign(ctx context.Context, req *GetCampaignRequest) (*resources.Campaign, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetCampaign not implemented") -} -func (*UnimplementedCampaignServiceServer) MutateCampaigns(ctx context.Context, req *MutateCampaignsRequest) (*MutateCampaignsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateCampaigns not implemented") -} - -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.v2.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.v2.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.v2.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/v2/services/campaign_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_shared_set_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_shared_set_service.pb.go deleted file mode 100644 index baab79ef..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/campaign_shared_set_service.pb.go +++ /dev/null @@ -1,497 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/campaign_shared_set_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [CampaignSharedSetService.GetCampaignSharedSet][google.ads.googleads.v2.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_24fe31a9a037f76b, []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 (m *GetCampaignSharedSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCampaignSharedSetRequest.Merge(m, 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.v2.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_24fe31a9a037f76b, []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 (m *MutateCampaignSharedSetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignSharedSetsRequest.Merge(m, 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 -} - -func (m *MutateCampaignSharedSetsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateCampaignSharedSetsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_24fe31a9a037f76b, []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 (m *CampaignSharedSetOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignSharedSetOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*CampaignSharedSetOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CampaignSharedSetOperation_Create)(nil), - (*CampaignSharedSetOperation_Remove)(nil), - } -} - -// Response message for a campaign shared set mutate. -type MutateCampaignSharedSetsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_24fe31a9a037f76b, []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 (m *MutateCampaignSharedSetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignSharedSetsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_24fe31a9a037f76b, []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 (m *MutateCampaignSharedSetResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCampaignSharedSetResult.Merge(m, 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.v2.services.GetCampaignSharedSetRequest") - proto.RegisterType((*MutateCampaignSharedSetsRequest)(nil), "google.ads.googleads.v2.services.MutateCampaignSharedSetsRequest") - proto.RegisterType((*CampaignSharedSetOperation)(nil), "google.ads.googleads.v2.services.CampaignSharedSetOperation") - proto.RegisterType((*MutateCampaignSharedSetsResponse)(nil), "google.ads.googleads.v2.services.MutateCampaignSharedSetsResponse") - proto.RegisterType((*MutateCampaignSharedSetResult)(nil), "google.ads.googleads.v2.services.MutateCampaignSharedSetResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/campaign_shared_set_service.proto", fileDescriptor_24fe31a9a037f76b) -} - -var fileDescriptor_24fe31a9a037f76b = []byte{ - // 671 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0x41, 0x6b, 0xd4, 0x40, - 0x14, 0x36, 0xbb, 0x52, 0xed, 0x6c, 0x55, 0x18, 0x15, 0xc3, 0xd6, 0xd2, 0x25, 0x16, 0x2c, 0x7b, - 0x48, 0x20, 0x16, 0x85, 0xb4, 0x45, 0x12, 0xb5, 0xad, 0x07, 0xdb, 0x92, 0x85, 0x82, 0xb2, 0x10, - 0xc6, 0x64, 0x8c, 0x81, 0x24, 0x13, 0x67, 0x26, 0x0b, 0xa5, 0xf4, 0x22, 0xfe, 0x83, 0xfe, 0x03, - 0x8f, 0xfe, 0x0f, 0x0f, 0xf6, 0xea, 0x5f, 0xd0, 0x8b, 0x82, 0xbf, 0x41, 0x92, 0xc9, 0x64, 0xdb, - 0x6e, 0xd3, 0x95, 0x7a, 0x7b, 0x79, 0xef, 0xcd, 0xf7, 0xbd, 0x6f, 0xde, 0x9b, 0x17, 0xe0, 0x84, - 0x84, 0x84, 0x31, 0x36, 0x50, 0xc0, 0x0c, 0x61, 0x16, 0xd6, 0xc8, 0x34, 0x18, 0xa6, 0xa3, 0xc8, - 0xc7, 0xcc, 0xf0, 0x51, 0x92, 0xa1, 0x28, 0x4c, 0x3d, 0xf6, 0x1e, 0x51, 0x1c, 0x78, 0x0c, 0x73, - 0xaf, 0x0a, 0xea, 0x19, 0x25, 0x9c, 0xc0, 0x9e, 0x38, 0xa8, 0xa3, 0x80, 0xe9, 0x35, 0x86, 0x3e, - 0x32, 0x75, 0x89, 0xd1, 0x5d, 0x6d, 0x62, 0xa1, 0x98, 0x91, 0x9c, 0x36, 0xd0, 0x08, 0xf8, 0xee, - 0x7d, 0x79, 0x38, 0x8b, 0x0c, 0x94, 0xa6, 0x84, 0x23, 0x1e, 0x91, 0x94, 0x55, 0xd1, 0x7b, 0x55, - 0x94, 0x66, 0xbe, 0xc1, 0x38, 0xe2, 0xf9, 0xd9, 0x40, 0x71, 0xcc, 0x8f, 0x23, 0x9c, 0x56, 0x78, - 0x9a, 0x03, 0xe6, 0x37, 0x31, 0x7f, 0x56, 0xf1, 0x0d, 0x4a, 0xba, 0x01, 0xe6, 0x2e, 0xfe, 0x90, - 0x63, 0xc6, 0xe1, 0x03, 0x70, 0x43, 0x56, 0xe5, 0xa5, 0x28, 0xc1, 0xaa, 0xd2, 0x53, 0x96, 0x67, - 0xdd, 0x39, 0xe9, 0xdc, 0x46, 0x09, 0xd6, 0xfe, 0x28, 0x60, 0xf1, 0x55, 0xce, 0x11, 0xc7, 0x13, - 0x38, 0x4c, 0x02, 0x2d, 0x82, 0x8e, 0x9f, 0x33, 0x4e, 0x12, 0x4c, 0xbd, 0x28, 0xa8, 0x60, 0x80, - 0x74, 0xbd, 0x0c, 0xe0, 0x10, 0x00, 0x92,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0d, 0xeb, 0x94, 0xe1, 0x9e, 0x39, 0x94, 0x29, 0xbf, 0x5a, 0x4b, 0xc2, 0x6f, 0x59, - 0x76, 0xc0, 0x2c, 0xab, 0x4e, 0xb2, 0xac, 0x3d, 0xd3, 0xb2, 0x64, 0xda, 0xdb, 0x99, 0xb2, 0xce, - 0x47, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x9e, 0x47, 0xec, 0xec, 0xc9, 0x06, 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 - -// 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.v2.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.v2.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) -} - -// UnimplementedCampaignSharedSetServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCampaignSharedSetServiceServer struct { -} - -func (*UnimplementedCampaignSharedSetServiceServer) GetCampaignSharedSet(ctx context.Context, req *GetCampaignSharedSetRequest) (*resources.CampaignSharedSet, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetCampaignSharedSet not implemented") -} -func (*UnimplementedCampaignSharedSetServiceServer) MutateCampaignSharedSets(ctx context.Context, req *MutateCampaignSharedSetsRequest) (*MutateCampaignSharedSetsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateCampaignSharedSets not implemented") -} - -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.v2.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.v2.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.v2.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/v2/services/campaign_shared_set_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/carrier_constant_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/carrier_constant_service.pb.go deleted file mode 100644 index 40c70fb5..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/carrier_constant_service.pb.go +++ /dev/null @@ -1,187 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/carrier_constant_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [CarrierConstantService.GetCarrierConstant][google.ads.googleads.v2.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_08b7cfe7382d5c66, []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 (m *GetCarrierConstantRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCarrierConstantRequest.Merge(m, 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.v2.services.GetCarrierConstantRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/carrier_constant_service.proto", fileDescriptor_08b7cfe7382d5c66) -} - -var fileDescriptor_08b7cfe7382d5c66 = []byte{ - // 373 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xbf, 0x4a, 0xc3, 0x40, - 0x18, 0x27, 0x11, 0x04, 0x83, 0x2e, 0x19, 0xb4, 0xa6, 0x0e, 0xa5, 0x16, 0x29, 0x0e, 0x77, 0x10, - 0x17, 0xb9, 0x22, 0x9a, 0x76, 0xa8, 0x93, 0x94, 0x0a, 0x1d, 0x24, 0x50, 0xce, 0xe4, 0x08, 0x81, - 0xe6, 0xae, 0xde, 0x97, 0x76, 0x11, 0x97, 0xbe, 0x82, 0x6f, 0xe0, 0xe8, 0xee, 0x4b, 0x74, 0xf5, - 0x15, 0x9c, 0x04, 0xdf, 0x41, 0xd2, 0xcb, 0xa5, 0xb6, 0x36, 0x74, 0xfb, 0x71, 0xdf, 0xef, 0xcf, - 0xf7, 0xfd, 0x12, 0xeb, 0x3a, 0x12, 0x22, 0x1a, 0x31, 0x4c, 0x43, 0xc0, 0x0a, 0x66, 0x68, 0xea, - 0x62, 0x60, 0x72, 0x1a, 0x07, 0x0c, 0x70, 0x40, 0xa5, 0x8c, 0x99, 0x1c, 0x06, 0x82, 0x43, 0x4a, - 0x79, 0x3a, 0xcc, 0x27, 0x68, 0x2c, 0x45, 0x2a, 0xec, 0x9a, 0x52, 0x21, 0x1a, 0x02, 0x2a, 0x0c, - 0xd0, 0xd4, 0x45, 0xda, 0xc0, 0xb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 0xf4, 0x42, 0x40, 0x0a, - 0x66, 0x68, 0xe0, 0xa2, 0x3c, 0x18, 0xe6, 0x9a, 0xe2, 0x7b, 0x21, 0xf8, 0x05, 0xc5, 0x1f, 0xb8, - 0xbe, 0xa6, 0x7c, 0x9b, 0x0d, 0xf5, 0x4e, 0x88, 0x17, 0x02, 0x21, 0x05, 0x89, 0x90, 0x81, 0x4b, - 0x88, 0xa6, 0x3d, 0xee, 0x2e, 0xf6, 0xbc, 0xf8, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x2e, 0x77, 0xb3, - 0x23, 0x13, 0x03, 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 - -// 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.v2.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) -} - -// UnimplementedCarrierConstantServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCarrierConstantServiceServer struct { -} - -func (*UnimplementedCarrierConstantServiceServer) GetCarrierConstant(ctx context.Context, req *GetCarrierConstantRequest) (*resources.CarrierConstant, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCarrierConstant not implemented") -} - -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.v2.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.v2.services.CarrierConstantService", - HandlerType: (*CarrierConstantServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetCarrierConstant", - Handler: _CarrierConstantService_GetCarrierConstant_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/carrier_constant_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/change_status_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/change_status_service.pb.go deleted file mode 100644 index bb87fce6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/change_status_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/change_status_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for '[ChangeStatusService.GetChangeStatus][google.ads.googleads.v2.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_1fc807e084a0ffab, []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 (m *GetChangeStatusRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetChangeStatusRequest.Merge(m, 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.v2.services.GetChangeStatusRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/change_status_service.proto", fileDescriptor_1fc807e084a0ffab) -} - -var fileDescriptor_1fc807e084a0ffab = []byte{ - // 385 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xc1, 0x4a, 0xeb, 0x40, - 0x14, 0x86, 0x49, 0x2e, 0x5c, 0xb8, 0xe1, 0x5e, 0x2e, 0x44, 0xd0, 0x12, 0x5d, 0x94, 0xda, 0x85, - 0x74, 0x31, 0x23, 0x11, 0x45, 0x46, 0xbb, 0x48, 0x5d, 0xd4, 0x95, 0x94, 0x16, 0xba, 0x90, 0x40, - 0x19, 0x93, 0x21, 0x06, 0x9a, 0x99, 0x9a, 0x33, 0xe9, 0x46, 0xdc, 0xf8, 0x0a, 0xbe, 0x81, 0x4b, - 0xd7, 0x3e, 0x45, 0xb7, 0xbe, 0x82, 0x1b, 0x7d, 0x09, 0x25, 0x99, 0x4c, 0x5a, 0xb5, 0xa5, 0xbb, - 0x9f, 0x73, 0xce, 0xf7, 0x9f, 0x39, 0x7f, 0x62, 0x9d, 0x46, 0x42, 0x44, 0x63, 0x86, 0x69, 0x08, - 0x58, 0xc9, 0x5c, 0x4d, 0x5d, 0x0c, 0x2c, 0x9d, 0xc6, 0x01, 0x03, 0x1c, 0x5c, 0x53, 0x1e, 0xb1, - 0x11, 0x48, 0x2a, 0x33, 0x18, 0x95, 0x65, 0x34, 0x49, 0x85, 0x14, 0x76, 0x5d, 0x21, 0x88, 0x86, - 0x80, 0x2a, 0x1a, 0x4d, 0x5d, 0xa4, 0x69, 0xe7, 0x70, 0x95, 0x7f, 0xca, 0x40, 0x64, 0xe9, 0x8f, - 0x05, 0xca, 0xd8, 0xd9, 0xd1, 0xd8, 0x24, 0xc6, 0x94, 0x73, 0x21, 0xa9, 0x8c, 0x05, 0xd7, 0xdd, - 0xad, 0x85, 0x6e, 0x30, 0x8e, 0x19, 0x97, 0xaa, 0xd1, 0x68, 0x5b, 0x9b, 0x5d, 0x26, 0xcf, 0x0a, - 0xc3, 0x41, 0xe1, 0xd7, 0x67, 0x37, 0x19, 0x03, 0x69, 0xef, 0x5a, 0xff, 0xf4, 0xc6, 0x11, 0xa7, - 0x09, 0xab, 0x19, 0x75, 0x63, 0xef, 0x4f, 0xff, 0xaf, 0x2e, 0x5e, 0xd0, 0x84, 0xb9, 0x6f, 0x86, - 0xb5, 0xb1, 0x08, 0x0f, 0xd4, 0x15, 0xf6, 0xb3, 0x61, 0xfd, 0xff, 0xe6, 0x6b, 0x1f, 0xa3, 0x75, - 0xb7, 0xa3, 0xe5, 0x4f, 0x71, 0xf0, 0x4a, 0xb2, 0xca, 0x04, 0x2d, 0x72, 0x8d, 0xa3, 0xfb, 0x97, - 0xd7, 0x07, 0x73, 0xdf, 0x46, 0x79, 0x6e, 0xb7, 0x5f, 0xce, 0x68, 0x07, 0x19, 0x48, 0x91, 0xb0, - 0x14, 0x70, 0xab, 0x0c, 0x52, 0x41, 0xb8, 0x75, 0xe7, 0x6c, 0xcf, 0xbc, 0xda, 0xdc, 0xbf, 0x54, - 0x93, 0x18, 0x50, 0x20, 0x92, 0xce, 0x87, 0x61, 0x35, 0x03, 0x91, 0xac, 0xbd, 0xa2, 0x53, 0x5b, - 0x92, 0x48, 0x2f, 0x4f, 0xbb, 0x67, 0x5c, 0x9e, 0x97, 0x74, 0x24, 0xc6, 0x94, 0x47, 0x48, 0xa4, - 0x11, 0x8e, 0x18, 0x2f, 0xbe, 0x05, 0x9e, 0xef, 0x5b, 0xfd, 0x73, 0x9d, 0x68, 0xf1, 0x68, 0xfe, - 0xea, 0x7a, 0xde, 0x93, 0x59, 0xef, 0x2a, 0x43, 0x2f, 0x04, 0xa4, 0x64, 0xae, 0x86, 0x2e, 0x2a, - 0x17, 0xc3, 0x4c, 0x8f, 0xf8, 0x5e, 0x08, 0x7e, 0x35, 0xe2, 0x0f, 0x5d, 0x5f, 0x8f, 0xbc, 0x9b, - 0x4d, 0x55, 0x27, 0xc4, 0x0b, 0x81, 0x90, 0x6a, 0x88, 0x90, 0xa1, 0x4b, 0x88, 0x1e, 0xbb, 0xfa, - 0x5d, 0xbc, 0xf3, 0xe0, 0x33, 0x00, 0x00, 0xff, 0xff, 0xe9, 0x1a, 0xcb, 0x67, 0x03, 0x03, 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 - -// 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.v2.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) -} - -// UnimplementedChangeStatusServiceServer can be embedded to have forward compatible implementations. -type UnimplementedChangeStatusServiceServer struct { -} - -func (*UnimplementedChangeStatusServiceServer) GetChangeStatus(ctx context.Context, req *GetChangeStatusRequest) (*resources.ChangeStatus, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetChangeStatus not implemented") -} - -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.v2.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.v2.services.ChangeStatusService", - HandlerType: (*ChangeStatusServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetChangeStatus", - Handler: _ChangeStatusService_GetChangeStatus_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/change_status_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/click_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/click_view_service.pb.go deleted file mode 100644 index 1b13aedb..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/click_view_service.pb.go +++ /dev/null @@ -1,187 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/click_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [ClickViewService.GetClickView][google.ads.googleads.v2.services.ClickViewService.GetClickView]. -type GetClickViewRequest struct { - // The resource name of the click 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 *GetClickViewRequest) Reset() { *m = GetClickViewRequest{} } -func (m *GetClickViewRequest) String() string { return proto.CompactTextString(m) } -func (*GetClickViewRequest) ProtoMessage() {} -func (*GetClickViewRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7fade0b32fb74bb5, []int{0} -} - -func (m *GetClickViewRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetClickViewRequest.Unmarshal(m, b) -} -func (m *GetClickViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetClickViewRequest.Marshal(b, m, deterministic) -} -func (m *GetClickViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetClickViewRequest.Merge(m, src) -} -func (m *GetClickViewRequest) XXX_Size() int { - return xxx_messageInfo_GetClickViewRequest.Size(m) -} -func (m *GetClickViewRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetClickViewRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetClickViewRequest proto.InternalMessageInfo - -func (m *GetClickViewRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetClickViewRequest)(nil), "google.ads.googleads.v2.services.GetClickViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/click_view_service.proto", fileDescriptor_7fade0b32fb74bb5) -} - -var fileDescriptor_7fade0b32fb74bb5 = []byte{ - // 382 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0x31, 0x4b, 0xfb, 0x40, - 0x1c, 0x25, 0xf9, 0xc3, 0x1f, 0x0c, 0x15, 0x24, 0x22, 0x96, 0xe8, 0x50, 0x6a, 0x07, 0x29, 0xe5, - 0x0e, 0xa2, 0x0e, 0x9e, 0x38, 0xa4, 0x0e, 0x75, 0x92, 0x52, 0x21, 0x83, 0x04, 0x4a, 0x4c, 0x8e, - 0x70, 0x98, 0xe4, 0x6a, 0x7e, 0xd7, 0x74, 0x10, 0x17, 0xbf, 0x82, 0xdf, 0xc0, 0x4d, 0x3f, 0x4a, - 0x57, 0x47, 0x57, 0x27, 0x3f, 0x83, 0x83, 0xa4, 0x97, 0x4b, 0x5b, 0xb1, 0x74, 0x7b, 0xfc, 0x7e, - 0xef, 0xbd, 0xdf, 0xbb, 0xc7, 0x19, 0xa7, 0x11, 0xe7, 0x51, 0x4c, 0xb1, 0x1f, 0x02, 0x96, 0xb0, - 0x40, 0xb9, 0x8d, 0x81, 0x66, 0x39, 0x0b, 0x28, 0xe0, 0x20, 0x66, 0xc1, 0xdd, 0x30, 0x67, 0x74, - 0x32, 0x2c, 0x67, 0x68, 0x94, 0x71, 0xc1, 0xcd, 0x86, 0xe4, 0x23, 0x3f, 0x04, 0x54, 0x49, 0x51, - 0x6e, 0x23, 0x25, 0xb5, 0xec, 0x55, 0xe6, 0x19, 0x05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7, 0x38, - 0x6f, 0x7a, 0xa3, 0x27, 0x0d, 0x9d, 0x10, 0x90, 0x84, 0x05, 0x72, 0x6d, 0x54, 0x1e, 0x86, 0xa9, - 0xa2, 0x78, 0x4e, 0x08, 0x5e, 0x45, 0xf1, 0x5c, 0xdb, 0x53, 0x94, 0x2f, 0xbd, 0x25, 0xe7, 0x84, - 0x38, 0x21, 0x10, 0x52, 0x91, 0x08, 0x71, 0x6d, 0x42, 0x14, 0xed, 0xf6, 0xff, 0x2c, 0xe7, 0xd1, - 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xad, 0xcd, 0x5b, 0x6b, 0xe9, 0x02, 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 - -// ClickViewServiceClient is the client API for ClickViewService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ClickViewServiceClient interface { - // Returns the requested click view in full detail. - GetClickView(ctx context.Context, in *GetClickViewRequest, opts ...grpc.CallOption) (*resources.ClickView, error) -} - -type clickViewServiceClient struct { - cc *grpc.ClientConn -} - -func NewClickViewServiceClient(cc *grpc.ClientConn) ClickViewServiceClient { - return &clickViewServiceClient{cc} -} - -func (c *clickViewServiceClient) GetClickView(ctx context.Context, in *GetClickViewRequest, opts ...grpc.CallOption) (*resources.ClickView, error) { - out := new(resources.ClickView) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.ClickViewService/GetClickView", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ClickViewServiceServer is the server API for ClickViewService service. -type ClickViewServiceServer interface { - // Returns the requested click view in full detail. - GetClickView(context.Context, *GetClickViewRequest) (*resources.ClickView, error) -} - -// UnimplementedClickViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedClickViewServiceServer struct { -} - -func (*UnimplementedClickViewServiceServer) GetClickView(ctx context.Context, req *GetClickViewRequest) (*resources.ClickView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetClickView not implemented") -} - -func RegisterClickViewServiceServer(s *grpc.Server, srv ClickViewServiceServer) { - s.RegisterService(&_ClickViewService_serviceDesc, srv) -} - -func _ClickViewService_GetClickView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetClickViewRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClickViewServiceServer).GetClickView(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.ClickViewService/GetClickView", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClickViewServiceServer).GetClickView(ctx, req.(*GetClickViewRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ClickViewService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.ClickViewService", - HandlerType: (*ClickViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetClickView", - Handler: _ClickViewService_GetClickView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/click_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/conversion_action_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/conversion_action_service.pb.go deleted file mode 100644 index 5afddeca..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/conversion_action_service.pb.go +++ /dev/null @@ -1,528 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/conversion_action_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [ConversionActionService.GetConversionAction][google.ads.googleads.v2.services.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_5fb0932d53188564, []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 (m *GetConversionActionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetConversionActionRequest.Merge(m, 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][google.ads.googleads.v2.services.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_5fb0932d53188564, []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 (m *MutateConversionActionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateConversionActionsRequest.Merge(m, 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 -} - -func (m *MutateConversionActionsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateConversionActionsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_5fb0932d53188564, []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 (m *ConversionActionOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConversionActionOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*ConversionActionOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ConversionActionOperation_Create)(nil), - (*ConversionActionOperation_Update)(nil), - (*ConversionActionOperation_Remove)(nil), - } -} - -// Response message for [ConversionActionService.MutateConversionActions][google.ads.googleads.v2.services.ConversionActionService.MutateConversionActions]. -type MutateConversionActionsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_5fb0932d53188564, []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 (m *MutateConversionActionsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateConversionActionsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_5fb0932d53188564, []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 (m *MutateConversionActionResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateConversionActionResult.Merge(m, 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.v2.services.GetConversionActionRequest") - proto.RegisterType((*MutateConversionActionsRequest)(nil), "google.ads.googleads.v2.services.MutateConversionActionsRequest") - proto.RegisterType((*ConversionActionOperation)(nil), "google.ads.googleads.v2.services.ConversionActionOperation") - proto.RegisterType((*MutateConversionActionsResponse)(nil), "google.ads.googleads.v2.services.MutateConversionActionsResponse") - proto.RegisterType((*MutateConversionActionResult)(nil), "google.ads.googleads.v2.services.MutateConversionActionResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/conversion_action_service.proto", fileDescriptor_5fb0932d53188564) -} - -var fileDescriptor_5fb0932d53188564 = []byte{ - // 726 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0x4f, 0x4f, 0xd4, 0x4c, - 0x18, 0xc0, 0xdf, 0x76, 0xdf, 0xf0, 0xbe, 0xcc, 0xa2, 0x26, 0x43, 0x0c, 0x6b, 0x25, 0xb2, 0xa9, - 0x24, 0x92, 0x3d, 0xb4, 0x49, 0x89, 0x26, 0x76, 0xc5, 0x50, 0x88, 0x80, 0x07, 0x84, 0x94, 0x84, - 0x18, 0xdd, 0xa4, 0x19, 0xda, 0x61, 0xd3, 0xd0, 0x76, 0xea, 0xcc, 0x74, 0x13, 0x42, 0xb8, 0xe8, - 0x47, 0xf0, 0xec, 0xc5, 0xa3, 0x5f, 0xc3, 0x78, 0xe1, 0xea, 0x27, 0xd0, 0x78, 0x32, 0x7e, 0x08, - 0x33, 0x9d, 0xce, 0x02, 0x0b, 0x75, 0x0d, 0x9c, 0xf6, 0xe9, 0x3c, 0xcf, 0xfc, 0x9e, 0xbf, 0xf3, - 0x2c, 0x58, 0xee, 0x13, 0xd2, 0x4f, 0xb0, 0x8d, 0x22, 0x66, 0x4b, 0x51, 0x48, 0x03, 0xc7, 0x66, - 0x98, 0x0e, 0xe2, 0x10, 0x33, 0x3b, 0x24, 0xd9, 0x00, 0x53, 0x16, 0x93, 0x2c, 0x40, 0x21, 0x17, - 0x3f, 0x95, 0xca, 0xca, 0x29, 0xe1, 0x04, 0xb6, 0xe5, 0x35, 0x0b, 0x45, 0xcc, 0x1a, 0x12, 0xac, - 0x81, 0x63, 0x29, 0x82, 0xf1, 0xb8, 0xce, 0x07, 0xc5, 0x8c, 0x14, 0xf4, 0x52, 0x27, 0x12, 0x6e, - 0xcc, 0xaa, 0xab, 0x79, 0x6c, 0xa3, 0x2c, 0x23, 0x1c, 0x09, 0x25, 0xab, 0xb4, 0x95, 0x6b, 0xbb, - 0xfc, 0xda, 0x2b, 0xf6, 0xed, 0xfd, 0x18, 0x27, 0x51, 0x90, 0x22, 0x76, 0x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x76, 0xe7, 0x18, 0x7e, 0xd3, 0xc0, 0x4c, 0x4d, - 0xbb, 0xe1, 0xf2, 0x55, 0xbb, 0xa1, 0x16, 0x87, 0xe1, 0x5d, 0x83, 0x20, 0x67, 0xcd, 0xf4, 0xca, - 0xec, 0xba, 0xe6, 0x23, 0x91, 0xdd, 0x69, 0x3a, 0x47, 0x67, 0x16, 0xd2, 0x52, 0xe7, 0xf8, 0x62, - 0x72, 0x6e, 0x5a, 0x82, 0x5d, 0xad, 0x63, 0xdc, 0x3d, 0xf1, 0x5a, 0xa7, 0xce, 0x2b, 0x29, 0x8f, - 0x99, 0x15, 0x92, 0x74, 0xe5, 0x9d, 0x0e, 0xe6, 0x43, 0x92, 0x8e, 0x0d, 0x74, 0x65, 0xb6, 0x66, - 0x14, 0xb6, 0xc5, 0x52, 0xd8, 0xd6, 0x5e, 0x6d, 0x54, 0x84, 0x3e, 0x49, 0x50, 0xd6, 0xb7, 0x08, - 0xed, 0xdb, 0x7d, 0x9c, 0x95, 0x2b, 0xc3, 0x3e, 0xf5, 0x59, 0xff, 0xd7, 0xd5, 0x55, 0xc2, 0x47, - 0xbd, 0xb1, 0xee, 0x79, 0x9f, 0xf4, 0xf6, 0xba, 0x04, 0x7a, 0x11, 0xb3, 0xa4, 0x28, 0xa4, 0x5d, - 0xc7, 0xaa, 0x1c, 0xb3, 0x13, 0x65, 0xd2, 0xf3, 0x22, 0xd6, 0x1b, 0x9a, 0xf4, 0x76, 0x9d, 0x9e, - 0x32, 0xf9, 0xa9, 0xcf, 0xcb, 0x73, 0xd7, 0xf5, 0x22, 0xe6, 0xba, 0x43, 0x23, 0xd7, 0xdd, 0x75, - 0x5c, 0x57, 0x99, 0xed, 0x4d, 0x94, 0x71, 0x2e, 0xfe, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x73, 0xb1, - 0xb1, 0xdb, 0x61, 0x07, 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 - -// 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.v2.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.v2.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) -} - -// UnimplementedConversionActionServiceServer can be embedded to have forward compatible implementations. -type UnimplementedConversionActionServiceServer struct { -} - -func (*UnimplementedConversionActionServiceServer) GetConversionAction(ctx context.Context, req *GetConversionActionRequest) (*resources.ConversionAction, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetConversionAction not implemented") -} -func (*UnimplementedConversionActionServiceServer) MutateConversionActions(ctx context.Context, req *MutateConversionActionsRequest) (*MutateConversionActionsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateConversionActions not implemented") -} - -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.v2.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.v2.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.v2.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/v2/services/conversion_action_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/conversion_adjustment_upload_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/conversion_adjustment_upload_service.pb.go deleted file mode 100644 index f92f50d3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/conversion_adjustment_upload_service.pb.go +++ /dev/null @@ -1,660 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/conversion_adjustment_upload_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v2.services.ConversionAdjustmentUploadService.UploadConversionAdjustments]. -type UploadConversionAdjustmentsRequest struct { - // The ID of the customer performing the upload. - CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` - // The conversion adjustments that are being uploaded. - ConversionAdjustments []*ConversionAdjustment `protobuf:"bytes,2,rep,name=conversion_adjustments,json=conversionAdjustments,proto3" json:"conversion_adjustments,omitempty"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried out - // in one transaction if and only if they are all valid. This should always be - // set to true. - PartialFailure bool `protobuf:"varint,3,opt,name=partial_failure,json=partialFailure,proto3" json:"partial_failure,omitempty"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UploadConversionAdjustmentsRequest) Reset() { *m = UploadConversionAdjustmentsRequest{} } -func (m *UploadConversionAdjustmentsRequest) String() string { return proto.CompactTextString(m) } -func (*UploadConversionAdjustmentsRequest) ProtoMessage() {} -func (*UploadConversionAdjustmentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c56806fe33f66dfd, []int{0} -} - -func (m *UploadConversionAdjustmentsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UploadConversionAdjustmentsRequest.Unmarshal(m, b) -} -func (m *UploadConversionAdjustmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UploadConversionAdjustmentsRequest.Marshal(b, m, deterministic) -} -func (m *UploadConversionAdjustmentsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UploadConversionAdjustmentsRequest.Merge(m, src) -} -func (m *UploadConversionAdjustmentsRequest) XXX_Size() int { - return xxx_messageInfo_UploadConversionAdjustmentsRequest.Size(m) -} -func (m *UploadConversionAdjustmentsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UploadConversionAdjustmentsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UploadConversionAdjustmentsRequest proto.InternalMessageInfo - -func (m *UploadConversionAdjustmentsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *UploadConversionAdjustmentsRequest) GetConversionAdjustments() []*ConversionAdjustment { - if m != nil { - return m.ConversionAdjustments - } - return nil -} - -func (m *UploadConversionAdjustmentsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *UploadConversionAdjustmentsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// Response message for -// [ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v2.services.ConversionAdjustmentUploadService.UploadConversionAdjustments]. -type UploadConversionAdjustmentsResponse struct { - // Errors that pertain to conversion adjustment failures in the partial - // failure mode. Returned when all errors occur inside the adjustments. If any - // errors occur outside the adjustments (e.g. auth errors), we return an RPC - // level error. - PartialFailureError *status.Status `protobuf:"bytes,1,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // Returned for successfully processed conversion adjustments. Proto will be - // empty for rows that received an error. Results are not returned when - // validate_only is true. - Results []*ConversionAdjustmentResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UploadConversionAdjustmentsResponse) Reset() { *m = UploadConversionAdjustmentsResponse{} } -func (m *UploadConversionAdjustmentsResponse) String() string { return proto.CompactTextString(m) } -func (*UploadConversionAdjustmentsResponse) ProtoMessage() {} -func (*UploadConversionAdjustmentsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c56806fe33f66dfd, []int{1} -} - -func (m *UploadConversionAdjustmentsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UploadConversionAdjustmentsResponse.Unmarshal(m, b) -} -func (m *UploadConversionAdjustmentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UploadConversionAdjustmentsResponse.Marshal(b, m, deterministic) -} -func (m *UploadConversionAdjustmentsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UploadConversionAdjustmentsResponse.Merge(m, src) -} -func (m *UploadConversionAdjustmentsResponse) XXX_Size() int { - return xxx_messageInfo_UploadConversionAdjustmentsResponse.Size(m) -} -func (m *UploadConversionAdjustmentsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UploadConversionAdjustmentsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_UploadConversionAdjustmentsResponse proto.InternalMessageInfo - -func (m *UploadConversionAdjustmentsResponse) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -func (m *UploadConversionAdjustmentsResponse) GetResults() []*ConversionAdjustmentResult { - if m != nil { - return m.Results - } - return nil -} - -// A conversion adjustment. -type ConversionAdjustment struct { - // Resource name of the conversion action associated with this conversion - // adjustment. Note: Although this resource name consists of a customer id and - // a conversion action id, validation will ignore the customer id and use the - // conversion action id as the sole identifier of the conversion action. - ConversionAction *wrappers.StringValue `protobuf:"bytes,3,opt,name=conversion_action,json=conversionAction,proto3" json:"conversion_action,omitempty"` - // The date time at which the adjustment occurred. Must be after the - // conversion_date_time. The timezone must be specified. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". - AdjustmentDateTime *wrappers.StringValue `protobuf:"bytes,4,opt,name=adjustment_date_time,json=adjustmentDateTime,proto3" json:"adjustment_date_time,omitempty"` - // The adjustment type. - AdjustmentType enums.ConversionAdjustmentTypeEnum_ConversionAdjustmentType `protobuf:"varint,5,opt,name=adjustment_type,json=adjustmentType,proto3,enum=google.ads.googleads.v2.enums.ConversionAdjustmentTypeEnum_ConversionAdjustmentType" json:"adjustment_type,omitempty"` - // Information needed to restate the conversion's value. - // Required for restatements. Should not be supplied for retractions. An error - // will be returned if provided for a retraction. - RestatementValue *RestatementValue `protobuf:"bytes,6,opt,name=restatement_value,json=restatementValue,proto3" json:"restatement_value,omitempty"` - // Identifies the conversion to be adjusted. - // - // Types that are valid to be assigned to ConversionIdentifier: - // *ConversionAdjustment_GclidDateTimePair - // *ConversionAdjustment_OrderId - ConversionIdentifier isConversionAdjustment_ConversionIdentifier `protobuf_oneof:"conversion_identifier"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ConversionAdjustment) Reset() { *m = ConversionAdjustment{} } -func (m *ConversionAdjustment) String() string { return proto.CompactTextString(m) } -func (*ConversionAdjustment) ProtoMessage() {} -func (*ConversionAdjustment) Descriptor() ([]byte, []int) { - return fileDescriptor_c56806fe33f66dfd, []int{2} -} - -func (m *ConversionAdjustment) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConversionAdjustment.Unmarshal(m, b) -} -func (m *ConversionAdjustment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConversionAdjustment.Marshal(b, m, deterministic) -} -func (m *ConversionAdjustment) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConversionAdjustment.Merge(m, src) -} -func (m *ConversionAdjustment) XXX_Size() int { - return xxx_messageInfo_ConversionAdjustment.Size(m) -} -func (m *ConversionAdjustment) XXX_DiscardUnknown() { - xxx_messageInfo_ConversionAdjustment.DiscardUnknown(m) -} - -var xxx_messageInfo_ConversionAdjustment proto.InternalMessageInfo - -func (m *ConversionAdjustment) GetConversionAction() *wrappers.StringValue { - if m != nil { - return m.ConversionAction - } - return nil -} - -func (m *ConversionAdjustment) GetAdjustmentDateTime() *wrappers.StringValue { - if m != nil { - return m.AdjustmentDateTime - } - return nil -} - -func (m *ConversionAdjustment) GetAdjustmentType() enums.ConversionAdjustmentTypeEnum_ConversionAdjustmentType { - if m != nil { - return m.AdjustmentType - } - return enums.ConversionAdjustmentTypeEnum_UNSPECIFIED -} - -func (m *ConversionAdjustment) GetRestatementValue() *RestatementValue { - if m != nil { - return m.RestatementValue - } - return nil -} - -type isConversionAdjustment_ConversionIdentifier interface { - isConversionAdjustment_ConversionIdentifier() -} - -type ConversionAdjustment_GclidDateTimePair struct { - GclidDateTimePair *GclidDateTimePair `protobuf:"bytes,1,opt,name=gclid_date_time_pair,json=gclidDateTimePair,proto3,oneof"` -} - -type ConversionAdjustment_OrderId struct { - OrderId *wrappers.StringValue `protobuf:"bytes,2,opt,name=order_id,json=orderId,proto3,oneof"` -} - -func (*ConversionAdjustment_GclidDateTimePair) isConversionAdjustment_ConversionIdentifier() {} - -func (*ConversionAdjustment_OrderId) isConversionAdjustment_ConversionIdentifier() {} - -func (m *ConversionAdjustment) GetConversionIdentifier() isConversionAdjustment_ConversionIdentifier { - if m != nil { - return m.ConversionIdentifier - } - return nil -} - -func (m *ConversionAdjustment) GetGclidDateTimePair() *GclidDateTimePair { - if x, ok := m.GetConversionIdentifier().(*ConversionAdjustment_GclidDateTimePair); ok { - return x.GclidDateTimePair - } - return nil -} - -func (m *ConversionAdjustment) GetOrderId() *wrappers.StringValue { - if x, ok := m.GetConversionIdentifier().(*ConversionAdjustment_OrderId); ok { - return x.OrderId - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ConversionAdjustment) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ConversionAdjustment_GclidDateTimePair)(nil), - (*ConversionAdjustment_OrderId)(nil), - } -} - -// Contains information needed to restate a conversion's value. -type RestatementValue struct { - // The restated conversion value. This is the value of the conversion after - // restatement. For example, to change the value of a conversion from 100 to - // 70, an adjusted value of 70 should be reported. - AdjustedValue *wrappers.DoubleValue `protobuf:"bytes,1,opt,name=adjusted_value,json=adjustedValue,proto3" json:"adjusted_value,omitempty"` - // The currency of the restated value. If not provided, then the default - // currency from the conversion action is used, and if that is not set then - // the account currency is used. This is the ISO 4217 3-character currency - // code e.g. USD or EUR. - CurrencyCode *wrappers.StringValue `protobuf:"bytes,2,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RestatementValue) Reset() { *m = RestatementValue{} } -func (m *RestatementValue) String() string { return proto.CompactTextString(m) } -func (*RestatementValue) ProtoMessage() {} -func (*RestatementValue) Descriptor() ([]byte, []int) { - return fileDescriptor_c56806fe33f66dfd, []int{3} -} - -func (m *RestatementValue) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RestatementValue.Unmarshal(m, b) -} -func (m *RestatementValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RestatementValue.Marshal(b, m, deterministic) -} -func (m *RestatementValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_RestatementValue.Merge(m, src) -} -func (m *RestatementValue) XXX_Size() int { - return xxx_messageInfo_RestatementValue.Size(m) -} -func (m *RestatementValue) XXX_DiscardUnknown() { - xxx_messageInfo_RestatementValue.DiscardUnknown(m) -} - -var xxx_messageInfo_RestatementValue proto.InternalMessageInfo - -func (m *RestatementValue) GetAdjustedValue() *wrappers.DoubleValue { - if m != nil { - return m.AdjustedValue - } - return nil -} - -func (m *RestatementValue) GetCurrencyCode() *wrappers.StringValue { - if m != nil { - return m.CurrencyCode - } - return nil -} - -// Uniquely identifies a conversion that was reported without an order ID -// specified. -type GclidDateTimePair struct { - // Google click ID (gclid) associated with the original conversion for this - // adjustment. - Gclid *wrappers.StringValue `protobuf:"bytes,1,opt,name=gclid,proto3" json:"gclid,omitempty"` - // The date time at which the original conversion for this adjustment - // occurred. The timezone must be specified. The format is "yyyy-mm-dd - // hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". - ConversionDateTime *wrappers.StringValue `protobuf:"bytes,2,opt,name=conversion_date_time,json=conversionDateTime,proto3" json:"conversion_date_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GclidDateTimePair) Reset() { *m = GclidDateTimePair{} } -func (m *GclidDateTimePair) String() string { return proto.CompactTextString(m) } -func (*GclidDateTimePair) ProtoMessage() {} -func (*GclidDateTimePair) Descriptor() ([]byte, []int) { - return fileDescriptor_c56806fe33f66dfd, []int{4} -} - -func (m *GclidDateTimePair) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GclidDateTimePair.Unmarshal(m, b) -} -func (m *GclidDateTimePair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GclidDateTimePair.Marshal(b, m, deterministic) -} -func (m *GclidDateTimePair) XXX_Merge(src proto.Message) { - xxx_messageInfo_GclidDateTimePair.Merge(m, src) -} -func (m *GclidDateTimePair) XXX_Size() int { - return xxx_messageInfo_GclidDateTimePair.Size(m) -} -func (m *GclidDateTimePair) XXX_DiscardUnknown() { - xxx_messageInfo_GclidDateTimePair.DiscardUnknown(m) -} - -var xxx_messageInfo_GclidDateTimePair proto.InternalMessageInfo - -func (m *GclidDateTimePair) GetGclid() *wrappers.StringValue { - if m != nil { - return m.Gclid - } - return nil -} - -func (m *GclidDateTimePair) GetConversionDateTime() *wrappers.StringValue { - if m != nil { - return m.ConversionDateTime - } - return nil -} - -// Information identifying a successfully processed ConversionAdjustment. -type ConversionAdjustmentResult struct { - // Resource name of the conversion action associated with this conversion - // adjustment. - ConversionAction *wrappers.StringValue `protobuf:"bytes,3,opt,name=conversion_action,json=conversionAction,proto3" json:"conversion_action,omitempty"` - // The date time at which the adjustment occurred. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". - AdjustmentDateTime *wrappers.StringValue `protobuf:"bytes,4,opt,name=adjustment_date_time,json=adjustmentDateTime,proto3" json:"adjustment_date_time,omitempty"` - // The adjustment type. - AdjustmentType enums.ConversionAdjustmentTypeEnum_ConversionAdjustmentType `protobuf:"varint,5,opt,name=adjustment_type,json=adjustmentType,proto3,enum=google.ads.googleads.v2.enums.ConversionAdjustmentTypeEnum_ConversionAdjustmentType" json:"adjustment_type,omitempty"` - // Identifies the conversion that was adjusted. - // - // Types that are valid to be assigned to ConversionIdentifier: - // *ConversionAdjustmentResult_GclidDateTimePair - // *ConversionAdjustmentResult_OrderId - ConversionIdentifier isConversionAdjustmentResult_ConversionIdentifier `protobuf_oneof:"conversion_identifier"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ConversionAdjustmentResult) Reset() { *m = ConversionAdjustmentResult{} } -func (m *ConversionAdjustmentResult) String() string { return proto.CompactTextString(m) } -func (*ConversionAdjustmentResult) ProtoMessage() {} -func (*ConversionAdjustmentResult) Descriptor() ([]byte, []int) { - return fileDescriptor_c56806fe33f66dfd, []int{5} -} - -func (m *ConversionAdjustmentResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConversionAdjustmentResult.Unmarshal(m, b) -} -func (m *ConversionAdjustmentResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConversionAdjustmentResult.Marshal(b, m, deterministic) -} -func (m *ConversionAdjustmentResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConversionAdjustmentResult.Merge(m, src) -} -func (m *ConversionAdjustmentResult) XXX_Size() int { - return xxx_messageInfo_ConversionAdjustmentResult.Size(m) -} -func (m *ConversionAdjustmentResult) XXX_DiscardUnknown() { - xxx_messageInfo_ConversionAdjustmentResult.DiscardUnknown(m) -} - -var xxx_messageInfo_ConversionAdjustmentResult proto.InternalMessageInfo - -func (m *ConversionAdjustmentResult) GetConversionAction() *wrappers.StringValue { - if m != nil { - return m.ConversionAction - } - return nil -} - -func (m *ConversionAdjustmentResult) GetAdjustmentDateTime() *wrappers.StringValue { - if m != nil { - return m.AdjustmentDateTime - } - return nil -} - -func (m *ConversionAdjustmentResult) GetAdjustmentType() enums.ConversionAdjustmentTypeEnum_ConversionAdjustmentType { - if m != nil { - return m.AdjustmentType - } - return enums.ConversionAdjustmentTypeEnum_UNSPECIFIED -} - -type isConversionAdjustmentResult_ConversionIdentifier interface { - isConversionAdjustmentResult_ConversionIdentifier() -} - -type ConversionAdjustmentResult_GclidDateTimePair struct { - GclidDateTimePair *GclidDateTimePair `protobuf:"bytes,1,opt,name=gclid_date_time_pair,json=gclidDateTimePair,proto3,oneof"` -} - -type ConversionAdjustmentResult_OrderId struct { - OrderId *wrappers.StringValue `protobuf:"bytes,2,opt,name=order_id,json=orderId,proto3,oneof"` -} - -func (*ConversionAdjustmentResult_GclidDateTimePair) isConversionAdjustmentResult_ConversionIdentifier() { -} - -func (*ConversionAdjustmentResult_OrderId) isConversionAdjustmentResult_ConversionIdentifier() {} - -func (m *ConversionAdjustmentResult) GetConversionIdentifier() isConversionAdjustmentResult_ConversionIdentifier { - if m != nil { - return m.ConversionIdentifier - } - return nil -} - -func (m *ConversionAdjustmentResult) GetGclidDateTimePair() *GclidDateTimePair { - if x, ok := m.GetConversionIdentifier().(*ConversionAdjustmentResult_GclidDateTimePair); ok { - return x.GclidDateTimePair - } - return nil -} - -func (m *ConversionAdjustmentResult) GetOrderId() *wrappers.StringValue { - if x, ok := m.GetConversionIdentifier().(*ConversionAdjustmentResult_OrderId); ok { - return x.OrderId - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ConversionAdjustmentResult) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ConversionAdjustmentResult_GclidDateTimePair)(nil), - (*ConversionAdjustmentResult_OrderId)(nil), - } -} - -func init() { - proto.RegisterType((*UploadConversionAdjustmentsRequest)(nil), "google.ads.googleads.v2.services.UploadConversionAdjustmentsRequest") - proto.RegisterType((*UploadConversionAdjustmentsResponse)(nil), "google.ads.googleads.v2.services.UploadConversionAdjustmentsResponse") - proto.RegisterType((*ConversionAdjustment)(nil), "google.ads.googleads.v2.services.ConversionAdjustment") - proto.RegisterType((*RestatementValue)(nil), "google.ads.googleads.v2.services.RestatementValue") - proto.RegisterType((*GclidDateTimePair)(nil), "google.ads.googleads.v2.services.GclidDateTimePair") - proto.RegisterType((*ConversionAdjustmentResult)(nil), "google.ads.googleads.v2.services.ConversionAdjustmentResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/conversion_adjustment_upload_service.proto", fileDescriptor_c56806fe33f66dfd) -} - -var fileDescriptor_c56806fe33f66dfd = []byte{ - // 863 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x56, 0x4d, 0x6f, 0xdc, 0x44, - 0x18, 0xae, 0x9d, 0x7e, 0x31, 0x69, 0xd2, 0x66, 0x48, 0xe9, 0x6a, 0x5b, 0xc1, 0xe2, 0x56, 0x10, - 0xf5, 0x60, 0x4b, 0xae, 0x84, 0x54, 0x03, 0x95, 0x9c, 0x8f, 0x26, 0x11, 0x12, 0x44, 0x4e, 0xd8, - 0x03, 0x5a, 0xc9, 0x9a, 0x78, 0x66, 0xad, 0x41, 0xf6, 0x8c, 0x99, 0x19, 0x2f, 0x5a, 0xa1, 0x5e, - 0x7a, 0xe7, 0xc4, 0x01, 0x89, 0x23, 0x47, 0xae, 0xfc, 0x06, 0x2e, 0x95, 0x38, 0xf1, 0x17, 0x38, - 0x71, 0x42, 0xfc, 0x02, 0xe4, 0xb1, 0x67, 0x77, 0xbb, 0xac, 0xeb, 0x08, 0x4e, 0x48, 0xbd, 0x8d, - 0xdf, 0x8f, 0xe7, 0x7d, 0xde, 0x67, 0xde, 0x57, 0x63, 0xf0, 0x49, 0xca, 0x79, 0x9a, 0x11, 0x0f, - 0x61, 0xe9, 0xd5, 0xc7, 0xea, 0x34, 0xf1, 0x3d, 0x49, 0xc4, 0x84, 0x26, 0x44, 0x7a, 0x09, 0x67, - 0x13, 0x22, 0x24, 0xe5, 0x2c, 0x46, 0xf8, 0xcb, 0x52, 0xaa, 0x9c, 0x30, 0x15, 0x97, 0x45, 0xc6, - 0x11, 0x8e, 0x9b, 0x28, 0xb7, 0x10, 0x5c, 0x71, 0x38, 0xa8, 0x11, 0x5c, 0x84, 0xa5, 0x3b, 0x03, - 0x73, 0x27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, 0xfb, 0x77, 0xf6, 0x13, 0xe7, 0x71, 0xf5, 0xff, 0x62, 0xde, 0x7a, - 0xe9, 0x7d, 0xb3, 0xf0, 0x27, 0xf0, 0xf1, 0xc3, 0x67, 0x41, 0xd9, 0x0e, 0x15, 0x58, 0x0f, 0xfb, - 0x77, 0x5f, 0x84, 0xbd, 0x39, 0x87, 0xe6, 0x54, 0x50, 0xe9, 0x26, 0x3c, 0xdf, 0xfd, 0xd6, 0x06, - 0x0f, 0x12, 0x9e, 0x77, 0xf2, 0xdd, 0x7d, 0xaf, 0x53, 0xdb, 0x93, 0xea, 0xe6, 0x4e, 0xac, 0x2f, - 0x8e, 0x1a, 0xac, 0x94, 0x67, 0x88, 0xa5, 0x2e, 0x17, 0xa9, 0x97, 0x12, 0xa6, 0xef, 0xd5, 0x9b, - 0x57, 0x6f, 0xff, 0x1f, 0xfc, 0xd0, 0x1c, 0x7e, 0xb4, 0xd7, 0x0e, 0xc3, 0xf0, 0x27, 0x7b, 0x70, - 0x58, 0x03, 0x86, 0x58, 0xba, 0xf5, 0xb1, 0x3a, 0x0d, 0x7d, 0xb7, 0x29, 0x2c, 0x5f, 0x98, 0x90, - 0x51, 0x88, 0xe5, 0x68, 0x16, 0x32, 0x1a, 0xfa, 0x23, 0x13, 0xf2, 0x87, 0xfd, 0xa0, 0xb6, 0x07, - 0x41, 0x88, 0x65, 0x10, 0xcc, 0x82, 0x82, 0x60, 0xe8, 0x07, 0x81, 0x09, 0x3b, 0xbf, 0xaa, 0x79, - 0x3e, 0xfa, 0x3b, 0x00, 0x00, 0xff, 0xff, 0xf6, 0x90, 0xe9, 0x4a, 0xb6, 0x0a, 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 - -// ConversionAdjustmentUploadServiceClient is the client API for ConversionAdjustmentUploadService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ConversionAdjustmentUploadServiceClient interface { - // Processes the given conversion adjustments. - UploadConversionAdjustments(ctx context.Context, in *UploadConversionAdjustmentsRequest, opts ...grpc.CallOption) (*UploadConversionAdjustmentsResponse, error) -} - -type conversionAdjustmentUploadServiceClient struct { - cc *grpc.ClientConn -} - -func NewConversionAdjustmentUploadServiceClient(cc *grpc.ClientConn) ConversionAdjustmentUploadServiceClient { - return &conversionAdjustmentUploadServiceClient{cc} -} - -func (c *conversionAdjustmentUploadServiceClient) UploadConversionAdjustments(ctx context.Context, in *UploadConversionAdjustmentsRequest, opts ...grpc.CallOption) (*UploadConversionAdjustmentsResponse, error) { - out := new(UploadConversionAdjustmentsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.ConversionAdjustmentUploadService/UploadConversionAdjustments", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ConversionAdjustmentUploadServiceServer is the server API for ConversionAdjustmentUploadService service. -type ConversionAdjustmentUploadServiceServer interface { - // Processes the given conversion adjustments. - UploadConversionAdjustments(context.Context, *UploadConversionAdjustmentsRequest) (*UploadConversionAdjustmentsResponse, error) -} - -// UnimplementedConversionAdjustmentUploadServiceServer can be embedded to have forward compatible implementations. -type UnimplementedConversionAdjustmentUploadServiceServer struct { -} - -func (*UnimplementedConversionAdjustmentUploadServiceServer) UploadConversionAdjustments(ctx context.Context, req *UploadConversionAdjustmentsRequest) (*UploadConversionAdjustmentsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method UploadConversionAdjustments not implemented") -} - -func RegisterConversionAdjustmentUploadServiceServer(s *grpc.Server, srv ConversionAdjustmentUploadServiceServer) { - s.RegisterService(&_ConversionAdjustmentUploadService_serviceDesc, srv) -} - -func _ConversionAdjustmentUploadService_UploadConversionAdjustments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UploadConversionAdjustmentsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ConversionAdjustmentUploadServiceServer).UploadConversionAdjustments(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.ConversionAdjustmentUploadService/UploadConversionAdjustments", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ConversionAdjustmentUploadServiceServer).UploadConversionAdjustments(ctx, req.(*UploadConversionAdjustmentsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ConversionAdjustmentUploadService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.ConversionAdjustmentUploadService", - HandlerType: (*ConversionAdjustmentUploadServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "UploadConversionAdjustments", - Handler: _ConversionAdjustmentUploadService_UploadConversionAdjustments_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/conversion_adjustment_upload_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/conversion_upload_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/conversion_upload_service.pb.go deleted file mode 100644 index 3435dcca..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/conversion_upload_service.pb.go +++ /dev/null @@ -1,862 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/conversion_upload_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [ConversionUploadService.UploadClickConversions][google.ads.googleads.v2.services.ConversionUploadService.UploadClickConversions]. -type UploadClickConversionsRequest struct { - // The ID of the customer performing the upload. - CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` - // The conversions that are being uploaded. - Conversions []*ClickConversion `protobuf:"bytes,2,rep,name=conversions,proto3" json:"conversions,omitempty"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // This should always be set to true. - PartialFailure bool `protobuf:"varint,3,opt,name=partial_failure,json=partialFailure,proto3" json:"partial_failure,omitempty"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UploadClickConversionsRequest) Reset() { *m = UploadClickConversionsRequest{} } -func (m *UploadClickConversionsRequest) String() string { return proto.CompactTextString(m) } -func (*UploadClickConversionsRequest) ProtoMessage() {} -func (*UploadClickConversionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_962dfdf4c09453fe, []int{0} -} - -func (m *UploadClickConversionsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UploadClickConversionsRequest.Unmarshal(m, b) -} -func (m *UploadClickConversionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UploadClickConversionsRequest.Marshal(b, m, deterministic) -} -func (m *UploadClickConversionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UploadClickConversionsRequest.Merge(m, src) -} -func (m *UploadClickConversionsRequest) XXX_Size() int { - return xxx_messageInfo_UploadClickConversionsRequest.Size(m) -} -func (m *UploadClickConversionsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UploadClickConversionsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UploadClickConversionsRequest proto.InternalMessageInfo - -func (m *UploadClickConversionsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *UploadClickConversionsRequest) GetConversions() []*ClickConversion { - if m != nil { - return m.Conversions - } - return nil -} - -func (m *UploadClickConversionsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *UploadClickConversionsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// Response message for [ConversionUploadService.UploadClickConversions][google.ads.googleads.v2.services.ConversionUploadService.UploadClickConversions]. -type UploadClickConversionsResponse struct { - // Errors that pertain to conversion failures in the partial failure mode. - // Returned when all errors occur inside the conversions. If any errors occur - // outside the conversions (e.g. auth errors), we return an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,1,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // Returned for successfully processed conversions. Proto will be empty for - // rows that received an error. Results are not returned when validate_only is - // true. - Results []*ClickConversionResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UploadClickConversionsResponse) Reset() { *m = UploadClickConversionsResponse{} } -func (m *UploadClickConversionsResponse) String() string { return proto.CompactTextString(m) } -func (*UploadClickConversionsResponse) ProtoMessage() {} -func (*UploadClickConversionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_962dfdf4c09453fe, []int{1} -} - -func (m *UploadClickConversionsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UploadClickConversionsResponse.Unmarshal(m, b) -} -func (m *UploadClickConversionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UploadClickConversionsResponse.Marshal(b, m, deterministic) -} -func (m *UploadClickConversionsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UploadClickConversionsResponse.Merge(m, src) -} -func (m *UploadClickConversionsResponse) XXX_Size() int { - return xxx_messageInfo_UploadClickConversionsResponse.Size(m) -} -func (m *UploadClickConversionsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UploadClickConversionsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_UploadClickConversionsResponse proto.InternalMessageInfo - -func (m *UploadClickConversionsResponse) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -func (m *UploadClickConversionsResponse) GetResults() []*ClickConversionResult { - if m != nil { - return m.Results - } - return nil -} - -// Request message for [ConversionUploadService.UploadCallConversions][google.ads.googleads.v2.services.ConversionUploadService.UploadCallConversions]. -type UploadCallConversionsRequest struct { - // The ID of the customer performing the upload. - CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` - // The conversions that are being uploaded. - Conversions []*CallConversion `protobuf:"bytes,2,rep,name=conversions,proto3" json:"conversions,omitempty"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // This should always be set to true. - PartialFailure bool `protobuf:"varint,3,opt,name=partial_failure,json=partialFailure,proto3" json:"partial_failure,omitempty"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UploadCallConversionsRequest) Reset() { *m = UploadCallConversionsRequest{} } -func (m *UploadCallConversionsRequest) String() string { return proto.CompactTextString(m) } -func (*UploadCallConversionsRequest) ProtoMessage() {} -func (*UploadCallConversionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_962dfdf4c09453fe, []int{2} -} - -func (m *UploadCallConversionsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UploadCallConversionsRequest.Unmarshal(m, b) -} -func (m *UploadCallConversionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UploadCallConversionsRequest.Marshal(b, m, deterministic) -} -func (m *UploadCallConversionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UploadCallConversionsRequest.Merge(m, src) -} -func (m *UploadCallConversionsRequest) XXX_Size() int { - return xxx_messageInfo_UploadCallConversionsRequest.Size(m) -} -func (m *UploadCallConversionsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UploadCallConversionsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UploadCallConversionsRequest proto.InternalMessageInfo - -func (m *UploadCallConversionsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *UploadCallConversionsRequest) GetConversions() []*CallConversion { - if m != nil { - return m.Conversions - } - return nil -} - -func (m *UploadCallConversionsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *UploadCallConversionsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// Response message for [ConversionUploadService.UploadCallConversions][google.ads.googleads.v2.services.ConversionUploadService.UploadCallConversions]. -type UploadCallConversionsResponse struct { - // Errors that pertain to conversion failures in the partial failure mode. - // Returned when all errors occur inside the conversions. If any errors occur - // outside the conversions (e.g. auth errors), we return an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,1,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // Returned for successfully processed conversions. Proto will be empty for - // rows that received an error. Results are not returned when validate_only is - // true. - Results []*CallConversionResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UploadCallConversionsResponse) Reset() { *m = UploadCallConversionsResponse{} } -func (m *UploadCallConversionsResponse) String() string { return proto.CompactTextString(m) } -func (*UploadCallConversionsResponse) ProtoMessage() {} -func (*UploadCallConversionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_962dfdf4c09453fe, []int{3} -} - -func (m *UploadCallConversionsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UploadCallConversionsResponse.Unmarshal(m, b) -} -func (m *UploadCallConversionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UploadCallConversionsResponse.Marshal(b, m, deterministic) -} -func (m *UploadCallConversionsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UploadCallConversionsResponse.Merge(m, src) -} -func (m *UploadCallConversionsResponse) XXX_Size() int { - return xxx_messageInfo_UploadCallConversionsResponse.Size(m) -} -func (m *UploadCallConversionsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UploadCallConversionsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_UploadCallConversionsResponse proto.InternalMessageInfo - -func (m *UploadCallConversionsResponse) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -func (m *UploadCallConversionsResponse) GetResults() []*CallConversionResult { - if m != nil { - return m.Results - } - return nil -} - -// A click conversion. -type ClickConversion struct { - // The Google click ID (gclid) associated with this conversion. - Gclid *wrappers.StringValue `protobuf:"bytes,1,opt,name=gclid,proto3" json:"gclid,omitempty"` - // Resource name of the conversion action associated with this conversion. - // Note: Although this resource name consists of a customer id and a - // conversion action id, validation will ignore the customer id and use the - // conversion action id as the sole identifier of the conversion action. - ConversionAction *wrappers.StringValue `protobuf:"bytes,2,opt,name=conversion_action,json=conversionAction,proto3" json:"conversion_action,omitempty"` - // The date time at which the conversion occurred. Must be after - // the click time. The timezone must be specified. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. “2019-01-01 12:32:45-08:00”. - ConversionDateTime *wrappers.StringValue `protobuf:"bytes,3,opt,name=conversion_date_time,json=conversionDateTime,proto3" json:"conversion_date_time,omitempty"` - // The value of the conversion for the advertiser. - ConversionValue *wrappers.DoubleValue `protobuf:"bytes,4,opt,name=conversion_value,json=conversionValue,proto3" json:"conversion_value,omitempty"` - // Currency associated with the conversion value. This is the ISO 4217 - // 3-character currency code. For example: USD, EUR. - CurrencyCode *wrappers.StringValue `protobuf:"bytes,5,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"` - // The order ID associated with the conversion. An order id can only be used - // for one conversion per conversion action. - OrderId *wrappers.StringValue `protobuf:"bytes,6,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` - // Additional data about externally attributed conversions. This field - // is required for conversions with an externally attributed conversion - // action, but should not be set otherwise. - ExternalAttributionData *ExternalAttributionData `protobuf:"bytes,7,opt,name=external_attribution_data,json=externalAttributionData,proto3" json:"external_attribution_data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ClickConversion) Reset() { *m = ClickConversion{} } -func (m *ClickConversion) String() string { return proto.CompactTextString(m) } -func (*ClickConversion) ProtoMessage() {} -func (*ClickConversion) Descriptor() ([]byte, []int) { - return fileDescriptor_962dfdf4c09453fe, []int{4} -} - -func (m *ClickConversion) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClickConversion.Unmarshal(m, b) -} -func (m *ClickConversion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClickConversion.Marshal(b, m, deterministic) -} -func (m *ClickConversion) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClickConversion.Merge(m, src) -} -func (m *ClickConversion) XXX_Size() int { - return xxx_messageInfo_ClickConversion.Size(m) -} -func (m *ClickConversion) XXX_DiscardUnknown() { - xxx_messageInfo_ClickConversion.DiscardUnknown(m) -} - -var xxx_messageInfo_ClickConversion proto.InternalMessageInfo - -func (m *ClickConversion) GetGclid() *wrappers.StringValue { - if m != nil { - return m.Gclid - } - return nil -} - -func (m *ClickConversion) GetConversionAction() *wrappers.StringValue { - if m != nil { - return m.ConversionAction - } - return nil -} - -func (m *ClickConversion) GetConversionDateTime() *wrappers.StringValue { - if m != nil { - return m.ConversionDateTime - } - return nil -} - -func (m *ClickConversion) GetConversionValue() *wrappers.DoubleValue { - if m != nil { - return m.ConversionValue - } - return nil -} - -func (m *ClickConversion) GetCurrencyCode() *wrappers.StringValue { - if m != nil { - return m.CurrencyCode - } - return nil -} - -func (m *ClickConversion) GetOrderId() *wrappers.StringValue { - if m != nil { - return m.OrderId - } - return nil -} - -func (m *ClickConversion) GetExternalAttributionData() *ExternalAttributionData { - if m != nil { - return m.ExternalAttributionData - } - return nil -} - -// A call conversion. -type CallConversion struct { - // The caller id from which this call was placed. Caller id is expected to be - // in E.164 format with preceding '+' sign. e.g. "+16502531234". - CallerId *wrappers.StringValue `protobuf:"bytes,1,opt,name=caller_id,json=callerId,proto3" json:"caller_id,omitempty"` - // The date time at which the call occurred. The timezone must be specified. - // The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", - // e.g. "2019-01-01 12:32:45-08:00". - CallStartDateTime *wrappers.StringValue `protobuf:"bytes,2,opt,name=call_start_date_time,json=callStartDateTime,proto3" json:"call_start_date_time,omitempty"` - // Resource name of the conversion action associated with this conversion. - // Note: Although this resource name consists of a customer id and a - // conversion action id, validation will ignore the customer id and use the - // conversion action id as the sole identifier of the conversion action. - ConversionAction *wrappers.StringValue `protobuf:"bytes,3,opt,name=conversion_action,json=conversionAction,proto3" json:"conversion_action,omitempty"` - // The date time at which the conversion occurred. Must be after the call - // time. The timezone must be specified. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". - ConversionDateTime *wrappers.StringValue `protobuf:"bytes,4,opt,name=conversion_date_time,json=conversionDateTime,proto3" json:"conversion_date_time,omitempty"` - // The value of the conversion for the advertiser. - ConversionValue *wrappers.DoubleValue `protobuf:"bytes,5,opt,name=conversion_value,json=conversionValue,proto3" json:"conversion_value,omitempty"` - // Currency associated with the conversion value. This is the ISO 4217 - // 3-character currency code. For example: USD, EUR. - CurrencyCode *wrappers.StringValue `protobuf:"bytes,6,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CallConversion) Reset() { *m = CallConversion{} } -func (m *CallConversion) String() string { return proto.CompactTextString(m) } -func (*CallConversion) ProtoMessage() {} -func (*CallConversion) Descriptor() ([]byte, []int) { - return fileDescriptor_962dfdf4c09453fe, []int{5} -} - -func (m *CallConversion) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CallConversion.Unmarshal(m, b) -} -func (m *CallConversion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CallConversion.Marshal(b, m, deterministic) -} -func (m *CallConversion) XXX_Merge(src proto.Message) { - xxx_messageInfo_CallConversion.Merge(m, src) -} -func (m *CallConversion) XXX_Size() int { - return xxx_messageInfo_CallConversion.Size(m) -} -func (m *CallConversion) XXX_DiscardUnknown() { - xxx_messageInfo_CallConversion.DiscardUnknown(m) -} - -var xxx_messageInfo_CallConversion proto.InternalMessageInfo - -func (m *CallConversion) GetCallerId() *wrappers.StringValue { - if m != nil { - return m.CallerId - } - return nil -} - -func (m *CallConversion) GetCallStartDateTime() *wrappers.StringValue { - if m != nil { - return m.CallStartDateTime - } - return nil -} - -func (m *CallConversion) GetConversionAction() *wrappers.StringValue { - if m != nil { - return m.ConversionAction - } - return nil -} - -func (m *CallConversion) GetConversionDateTime() *wrappers.StringValue { - if m != nil { - return m.ConversionDateTime - } - return nil -} - -func (m *CallConversion) GetConversionValue() *wrappers.DoubleValue { - if m != nil { - return m.ConversionValue - } - return nil -} - -func (m *CallConversion) GetCurrencyCode() *wrappers.StringValue { - if m != nil { - return m.CurrencyCode - } - return nil -} - -// Contains additional information about externally attributed conversions. -type ExternalAttributionData struct { - // Represents the fraction of the conversion that is attributed to the - // Google Ads click. - ExternalAttributionCredit *wrappers.DoubleValue `protobuf:"bytes,1,opt,name=external_attribution_credit,json=externalAttributionCredit,proto3" json:"external_attribution_credit,omitempty"` - // Specifies the attribution model name. - ExternalAttributionModel *wrappers.StringValue `protobuf:"bytes,2,opt,name=external_attribution_model,json=externalAttributionModel,proto3" json:"external_attribution_model,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExternalAttributionData) Reset() { *m = ExternalAttributionData{} } -func (m *ExternalAttributionData) String() string { return proto.CompactTextString(m) } -func (*ExternalAttributionData) ProtoMessage() {} -func (*ExternalAttributionData) Descriptor() ([]byte, []int) { - return fileDescriptor_962dfdf4c09453fe, []int{6} -} - -func (m *ExternalAttributionData) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExternalAttributionData.Unmarshal(m, b) -} -func (m *ExternalAttributionData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExternalAttributionData.Marshal(b, m, deterministic) -} -func (m *ExternalAttributionData) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExternalAttributionData.Merge(m, src) -} -func (m *ExternalAttributionData) XXX_Size() int { - return xxx_messageInfo_ExternalAttributionData.Size(m) -} -func (m *ExternalAttributionData) XXX_DiscardUnknown() { - xxx_messageInfo_ExternalAttributionData.DiscardUnknown(m) -} - -var xxx_messageInfo_ExternalAttributionData proto.InternalMessageInfo - -func (m *ExternalAttributionData) GetExternalAttributionCredit() *wrappers.DoubleValue { - if m != nil { - return m.ExternalAttributionCredit - } - return nil -} - -func (m *ExternalAttributionData) GetExternalAttributionModel() *wrappers.StringValue { - if m != nil { - return m.ExternalAttributionModel - } - return nil -} - -// Identifying information for a successfully processed ClickConversion. -type ClickConversionResult struct { - // The Google Click ID (gclid) associated with this conversion. - Gclid *wrappers.StringValue `protobuf:"bytes,1,opt,name=gclid,proto3" json:"gclid,omitempty"` - // Resource name of the conversion action associated with this conversion. - ConversionAction *wrappers.StringValue `protobuf:"bytes,2,opt,name=conversion_action,json=conversionAction,proto3" json:"conversion_action,omitempty"` - // The date time at which the conversion occurred. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. “2019-01-01 12:32:45-08:00”. - ConversionDateTime *wrappers.StringValue `protobuf:"bytes,3,opt,name=conversion_date_time,json=conversionDateTime,proto3" json:"conversion_date_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ClickConversionResult) Reset() { *m = ClickConversionResult{} } -func (m *ClickConversionResult) String() string { return proto.CompactTextString(m) } -func (*ClickConversionResult) ProtoMessage() {} -func (*ClickConversionResult) Descriptor() ([]byte, []int) { - return fileDescriptor_962dfdf4c09453fe, []int{7} -} - -func (m *ClickConversionResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClickConversionResult.Unmarshal(m, b) -} -func (m *ClickConversionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClickConversionResult.Marshal(b, m, deterministic) -} -func (m *ClickConversionResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClickConversionResult.Merge(m, src) -} -func (m *ClickConversionResult) XXX_Size() int { - return xxx_messageInfo_ClickConversionResult.Size(m) -} -func (m *ClickConversionResult) XXX_DiscardUnknown() { - xxx_messageInfo_ClickConversionResult.DiscardUnknown(m) -} - -var xxx_messageInfo_ClickConversionResult proto.InternalMessageInfo - -func (m *ClickConversionResult) GetGclid() *wrappers.StringValue { - if m != nil { - return m.Gclid - } - return nil -} - -func (m *ClickConversionResult) GetConversionAction() *wrappers.StringValue { - if m != nil { - return m.ConversionAction - } - return nil -} - -func (m *ClickConversionResult) GetConversionDateTime() *wrappers.StringValue { - if m != nil { - return m.ConversionDateTime - } - return nil -} - -// Identifying information for a successfully processed CallConversionUpload. -type CallConversionResult struct { - // The caller id from which this call was placed. Caller id is expected to be - // in E.164 format with preceding '+' sign. - CallerId *wrappers.StringValue `protobuf:"bytes,1,opt,name=caller_id,json=callerId,proto3" json:"caller_id,omitempty"` - // The date time at which the call occurred. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". - CallStartDateTime *wrappers.StringValue `protobuf:"bytes,2,opt,name=call_start_date_time,json=callStartDateTime,proto3" json:"call_start_date_time,omitempty"` - // Resource name of the conversion action associated with this conversion. - ConversionAction *wrappers.StringValue `protobuf:"bytes,3,opt,name=conversion_action,json=conversionAction,proto3" json:"conversion_action,omitempty"` - // The date time at which the conversion occurred. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". - ConversionDateTime *wrappers.StringValue `protobuf:"bytes,4,opt,name=conversion_date_time,json=conversionDateTime,proto3" json:"conversion_date_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CallConversionResult) Reset() { *m = CallConversionResult{} } -func (m *CallConversionResult) String() string { return proto.CompactTextString(m) } -func (*CallConversionResult) ProtoMessage() {} -func (*CallConversionResult) Descriptor() ([]byte, []int) { - return fileDescriptor_962dfdf4c09453fe, []int{8} -} - -func (m *CallConversionResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CallConversionResult.Unmarshal(m, b) -} -func (m *CallConversionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CallConversionResult.Marshal(b, m, deterministic) -} -func (m *CallConversionResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_CallConversionResult.Merge(m, src) -} -func (m *CallConversionResult) XXX_Size() int { - return xxx_messageInfo_CallConversionResult.Size(m) -} -func (m *CallConversionResult) XXX_DiscardUnknown() { - xxx_messageInfo_CallConversionResult.DiscardUnknown(m) -} - -var xxx_messageInfo_CallConversionResult proto.InternalMessageInfo - -func (m *CallConversionResult) GetCallerId() *wrappers.StringValue { - if m != nil { - return m.CallerId - } - return nil -} - -func (m *CallConversionResult) GetCallStartDateTime() *wrappers.StringValue { - if m != nil { - return m.CallStartDateTime - } - return nil -} - -func (m *CallConversionResult) GetConversionAction() *wrappers.StringValue { - if m != nil { - return m.ConversionAction - } - return nil -} - -func (m *CallConversionResult) GetConversionDateTime() *wrappers.StringValue { - if m != nil { - return m.ConversionDateTime - } - return nil -} - -func init() { - proto.RegisterType((*UploadClickConversionsRequest)(nil), "google.ads.googleads.v2.services.UploadClickConversionsRequest") - proto.RegisterType((*UploadClickConversionsResponse)(nil), "google.ads.googleads.v2.services.UploadClickConversionsResponse") - proto.RegisterType((*UploadCallConversionsRequest)(nil), "google.ads.googleads.v2.services.UploadCallConversionsRequest") - proto.RegisterType((*UploadCallConversionsResponse)(nil), "google.ads.googleads.v2.services.UploadCallConversionsResponse") - proto.RegisterType((*ClickConversion)(nil), "google.ads.googleads.v2.services.ClickConversion") - proto.RegisterType((*CallConversion)(nil), "google.ads.googleads.v2.services.CallConversion") - proto.RegisterType((*ExternalAttributionData)(nil), "google.ads.googleads.v2.services.ExternalAttributionData") - proto.RegisterType((*ClickConversionResult)(nil), "google.ads.googleads.v2.services.ClickConversionResult") - proto.RegisterType((*CallConversionResult)(nil), "google.ads.googleads.v2.services.CallConversionResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/conversion_upload_service.proto", fileDescriptor_962dfdf4c09453fe) -} - -var fileDescriptor_962dfdf4c09453fe = []byte{ - // 945 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x57, 0x4d, 0x6f, 0xdc, 0x44, - 0x18, 0x96, 0x77, 0xf3, 0xd5, 0xd9, 0xb6, 0xa1, 0x43, 0x42, 0xdc, 0x6d, 0x28, 0x2b, 0x53, 0x89, - 0x28, 0x07, 0x1b, 0x5c, 0x44, 0x89, 0x11, 0x4d, 0xdd, 0xa4, 0x0d, 0x39, 0x14, 0x82, 0x17, 0x72, - 0xa8, 0x56, 0xb2, 0x26, 0xf6, 0x74, 0x65, 0x31, 0xeb, 0x31, 0x33, 0xe3, 0x85, 0x08, 0x71, 0x81, - 0x9f, 0xc0, 0x95, 0x13, 0x47, 0xfe, 0x01, 0xea, 0x89, 0x6b, 0xaf, 0xbd, 0x70, 0xe0, 0x82, 0x40, - 0x1c, 0x38, 0xf1, 0x13, 0x90, 0x3d, 0x9e, 0xf5, 0x66, 0xe5, 0x65, 0x9d, 0x68, 0xb9, 0xa0, 0xde, - 0x66, 0x67, 0xde, 0xf7, 0x79, 0x3f, 0x9e, 0x67, 0xc6, 0xef, 0x82, 0x7b, 0x7d, 0x4a, 0xfb, 0x04, - 0x5b, 0x28, 0xe4, 0x96, 0x5c, 0x66, 0xab, 0xa1, 0x6d, 0x71, 0xcc, 0x86, 0x51, 0x80, 0xb9, 0x15, - 0xd0, 0x78, 0x88, 0x19, 0x8f, 0x68, 0xec, 0xa7, 0x09, 0xa1, 0x28, 0xf4, 0x8b, 0x23, 0x33, 0x61, - 0x54, 0x50, 0xd8, 0x91, 0x6e, 0x26, 0x0a, 0xb9, 0x39, 0x42, 0x30, 0x87, 0xb6, 0xa9, 0x10, 0xda, - 0x9b, 0x2a, 0x46, 0x12, 0x59, 0x28, 0x8e, 0xa9, 0x40, 0x22, 0xa2, 0x31, 0x97, 0xfe, 0xed, 0x9b, - 0xc5, 0x69, 0xfe, 0xeb, 0x24, 0x7d, 0x62, 0x7d, 0xc1, 0x50, 0x92, 0x60, 0xa6, 0xce, 0x37, 0x8a, - 0x73, 0x96, 0x04, 0x16, 0x17, 0x48, 0xa4, 0x93, 0x07, 0x19, 0x6c, 0x40, 0x22, 0x1c, 0x0b, 0x79, - 0x60, 0xfc, 0xae, 0x81, 0x57, 0x3f, 0xcd, 0x53, 0xdd, 0x23, 0x51, 0xf0, 0xd9, 0xde, 0xa8, 0x00, - 0xee, 0xe1, 0xcf, 0x53, 0xcc, 0x05, 0x7c, 0x0d, 0xb4, 0x82, 0x94, 0x0b, 0x3a, 0xc0, 0xcc, 0x8f, - 0x42, 0x5d, 0xeb, 0x68, 0x5b, 0x97, 0x3c, 0xa0, 0xb6, 0x0e, 0x43, 0xd8, 0x05, 0xad, 0xb2, 0x6e, - 0xae, 0x37, 0x3a, 0xcd, 0xad, 0x96, 0xfd, 0x96, 0x39, 0xab, 0x54, 0x73, 0x22, 0xa0, 0x37, 0x8e, - 0x02, 0xdf, 0x00, 0xab, 0x09, 0x62, 0x22, 0x42, 0xc4, 0x7f, 0x82, 0x22, 0x92, 0x32, 0xac, 0x37, - 0x3b, 0xda, 0xd6, 0x8a, 0x77, 0xb5, 0xd8, 0x7e, 0x28, 0x77, 0xe1, 0xeb, 0xe0, 0xca, 0x10, 0x91, - 0x28, 0x44, 0x02, 0xfb, 0x34, 0x26, 0xa7, 0xfa, 0x42, 0x6e, 0x76, 0x59, 0x6d, 0x7e, 0x14, 0x93, - 0x53, 0xe3, 0xa9, 0x06, 0x6e, 0x4e, 0xab, 0x92, 0x27, 0x34, 0xe6, 0x18, 0x3e, 0x04, 0xeb, 0x13, - 0x01, 0x7d, 0xcc, 0x18, 0x65, 0x79, 0xc1, 0x2d, 0x1b, 0xaa, 0x7a, 0x58, 0x12, 0x98, 0xdd, 0xbc, - 0xb5, 0xde, 0xcb, 0x67, 0x53, 0x79, 0x90, 0x99, 0xc3, 0x8f, 0xc1, 0x32, 0xc3, 0x3c, 0x25, 0x42, - 0x75, 0xe2, 0xce, 0xf9, 0x3b, 0x91, 0xfb, 0x7b, 0x0a, 0xc7, 0xf8, 0x4d, 0x03, 0x9b, 0x45, 0xf6, - 0x88, 0x90, 0x8b, 0x50, 0xe4, 0x55, 0x51, 0xf4, 0x66, 0x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3, 0x6c, 0x0e, 0xf9, 0x0d, 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 - -// ConversionUploadServiceClient is the client API for ConversionUploadService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ConversionUploadServiceClient interface { - // Processes the given click conversions. - UploadClickConversions(ctx context.Context, in *UploadClickConversionsRequest, opts ...grpc.CallOption) (*UploadClickConversionsResponse, error) - // Processes the given call conversions. - UploadCallConversions(ctx context.Context, in *UploadCallConversionsRequest, opts ...grpc.CallOption) (*UploadCallConversionsResponse, error) -} - -type conversionUploadServiceClient struct { - cc *grpc.ClientConn -} - -func NewConversionUploadServiceClient(cc *grpc.ClientConn) ConversionUploadServiceClient { - return &conversionUploadServiceClient{cc} -} - -func (c *conversionUploadServiceClient) UploadClickConversions(ctx context.Context, in *UploadClickConversionsRequest, opts ...grpc.CallOption) (*UploadClickConversionsResponse, error) { - out := new(UploadClickConversionsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.ConversionUploadService/UploadClickConversions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *conversionUploadServiceClient) UploadCallConversions(ctx context.Context, in *UploadCallConversionsRequest, opts ...grpc.CallOption) (*UploadCallConversionsResponse, error) { - out := new(UploadCallConversionsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.ConversionUploadService/UploadCallConversions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ConversionUploadServiceServer is the server API for ConversionUploadService service. -type ConversionUploadServiceServer interface { - // Processes the given click conversions. - UploadClickConversions(context.Context, *UploadClickConversionsRequest) (*UploadClickConversionsResponse, error) - // Processes the given call conversions. - UploadCallConversions(context.Context, *UploadCallConversionsRequest) (*UploadCallConversionsResponse, error) -} - -// UnimplementedConversionUploadServiceServer can be embedded to have forward compatible implementations. -type UnimplementedConversionUploadServiceServer struct { -} - -func (*UnimplementedConversionUploadServiceServer) UploadClickConversions(ctx context.Context, req *UploadClickConversionsRequest) (*UploadClickConversionsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method UploadClickConversions not implemented") -} -func (*UnimplementedConversionUploadServiceServer) UploadCallConversions(ctx context.Context, req *UploadCallConversionsRequest) (*UploadCallConversionsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method UploadCallConversions not implemented") -} - -func RegisterConversionUploadServiceServer(s *grpc.Server, srv ConversionUploadServiceServer) { - s.RegisterService(&_ConversionUploadService_serviceDesc, srv) -} - -func _ConversionUploadService_UploadClickConversions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UploadClickConversionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ConversionUploadServiceServer).UploadClickConversions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.ConversionUploadService/UploadClickConversions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ConversionUploadServiceServer).UploadClickConversions(ctx, req.(*UploadClickConversionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ConversionUploadService_UploadCallConversions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UploadCallConversionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ConversionUploadServiceServer).UploadCallConversions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.ConversionUploadService/UploadCallConversions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ConversionUploadServiceServer).UploadCallConversions(ctx, req.(*UploadCallConversionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ConversionUploadService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.ConversionUploadService", - HandlerType: (*ConversionUploadServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "UploadClickConversions", - Handler: _ConversionUploadService_UploadClickConversions_Handler, - }, - { - MethodName: "UploadCallConversions", - Handler: _ConversionUploadService_UploadCallConversions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/conversion_upload_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/custom_interest_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/custom_interest_service.pb.go deleted file mode 100644 index c1560e81..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/custom_interest_service.pb.go +++ /dev/null @@ -1,481 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/custom_interest_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [CustomInterestService.GetCustomInterest][google.ads.googleads.v2.services.CustomInterestService.GetCustomInterest]. -type GetCustomInterestRequest struct { - // The resource name of the custom interest 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 *GetCustomInterestRequest) Reset() { *m = GetCustomInterestRequest{} } -func (m *GetCustomInterestRequest) String() string { return proto.CompactTextString(m) } -func (*GetCustomInterestRequest) ProtoMessage() {} -func (*GetCustomInterestRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a70a4da2ad94b8a5, []int{0} -} - -func (m *GetCustomInterestRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCustomInterestRequest.Unmarshal(m, b) -} -func (m *GetCustomInterestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCustomInterestRequest.Marshal(b, m, deterministic) -} -func (m *GetCustomInterestRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCustomInterestRequest.Merge(m, src) -} -func (m *GetCustomInterestRequest) XXX_Size() int { - return xxx_messageInfo_GetCustomInterestRequest.Size(m) -} -func (m *GetCustomInterestRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetCustomInterestRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetCustomInterestRequest proto.InternalMessageInfo - -func (m *GetCustomInterestRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for [CustomInterestService.MutateCustomInterests][google.ads.googleads.v2.services.CustomInterestService.MutateCustomInterests]. -type MutateCustomInterestsRequest struct { - // The ID of the customer whose custom interests 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 custom interests. - Operations []*CustomInterestOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCustomInterestsRequest) Reset() { *m = MutateCustomInterestsRequest{} } -func (m *MutateCustomInterestsRequest) String() string { return proto.CompactTextString(m) } -func (*MutateCustomInterestsRequest) ProtoMessage() {} -func (*MutateCustomInterestsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a70a4da2ad94b8a5, []int{1} -} - -func (m *MutateCustomInterestsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCustomInterestsRequest.Unmarshal(m, b) -} -func (m *MutateCustomInterestsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCustomInterestsRequest.Marshal(b, m, deterministic) -} -func (m *MutateCustomInterestsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomInterestsRequest.Merge(m, src) -} -func (m *MutateCustomInterestsRequest) XXX_Size() int { - return xxx_messageInfo_MutateCustomInterestsRequest.Size(m) -} -func (m *MutateCustomInterestsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCustomInterestsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCustomInterestsRequest proto.InternalMessageInfo - -func (m *MutateCustomInterestsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateCustomInterestsRequest) GetOperations() []*CustomInterestOperation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *MutateCustomInterestsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// A single operation (create, update) on a custom interest. -type CustomInterestOperation 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: - // *CustomInterestOperation_Create - // *CustomInterestOperation_Update - Operation isCustomInterestOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomInterestOperation) Reset() { *m = CustomInterestOperation{} } -func (m *CustomInterestOperation) String() string { return proto.CompactTextString(m) } -func (*CustomInterestOperation) ProtoMessage() {} -func (*CustomInterestOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_a70a4da2ad94b8a5, []int{2} -} - -func (m *CustomInterestOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomInterestOperation.Unmarshal(m, b) -} -func (m *CustomInterestOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomInterestOperation.Marshal(b, m, deterministic) -} -func (m *CustomInterestOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomInterestOperation.Merge(m, src) -} -func (m *CustomInterestOperation) XXX_Size() int { - return xxx_messageInfo_CustomInterestOperation.Size(m) -} -func (m *CustomInterestOperation) XXX_DiscardUnknown() { - xxx_messageInfo_CustomInterestOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomInterestOperation proto.InternalMessageInfo - -func (m *CustomInterestOperation) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -type isCustomInterestOperation_Operation interface { - isCustomInterestOperation_Operation() -} - -type CustomInterestOperation_Create struct { - Create *resources.CustomInterest `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type CustomInterestOperation_Update struct { - Update *resources.CustomInterest `protobuf:"bytes,2,opt,name=update,proto3,oneof"` -} - -func (*CustomInterestOperation_Create) isCustomInterestOperation_Operation() {} - -func (*CustomInterestOperation_Update) isCustomInterestOperation_Operation() {} - -func (m *CustomInterestOperation) GetOperation() isCustomInterestOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *CustomInterestOperation) GetCreate() *resources.CustomInterest { - if x, ok := m.GetOperation().(*CustomInterestOperation_Create); ok { - return x.Create - } - return nil -} - -func (m *CustomInterestOperation) GetUpdate() *resources.CustomInterest { - if x, ok := m.GetOperation().(*CustomInterestOperation_Update); ok { - return x.Update - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CustomInterestOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CustomInterestOperation_Create)(nil), - (*CustomInterestOperation_Update)(nil), - } -} - -// Response message for custom interest mutate. -type MutateCustomInterestsResponse struct { - // All results for the mutate. - Results []*MutateCustomInterestResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCustomInterestsResponse) Reset() { *m = MutateCustomInterestsResponse{} } -func (m *MutateCustomInterestsResponse) String() string { return proto.CompactTextString(m) } -func (*MutateCustomInterestsResponse) ProtoMessage() {} -func (*MutateCustomInterestsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_a70a4da2ad94b8a5, []int{3} -} - -func (m *MutateCustomInterestsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCustomInterestsResponse.Unmarshal(m, b) -} -func (m *MutateCustomInterestsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCustomInterestsResponse.Marshal(b, m, deterministic) -} -func (m *MutateCustomInterestsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomInterestsResponse.Merge(m, src) -} -func (m *MutateCustomInterestsResponse) XXX_Size() int { - return xxx_messageInfo_MutateCustomInterestsResponse.Size(m) -} -func (m *MutateCustomInterestsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCustomInterestsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCustomInterestsResponse proto.InternalMessageInfo - -func (m *MutateCustomInterestsResponse) GetResults() []*MutateCustomInterestResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for the custom interest mutate. -type MutateCustomInterestResult 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 *MutateCustomInterestResult) Reset() { *m = MutateCustomInterestResult{} } -func (m *MutateCustomInterestResult) String() string { return proto.CompactTextString(m) } -func (*MutateCustomInterestResult) ProtoMessage() {} -func (*MutateCustomInterestResult) Descriptor() ([]byte, []int) { - return fileDescriptor_a70a4da2ad94b8a5, []int{4} -} - -func (m *MutateCustomInterestResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCustomInterestResult.Unmarshal(m, b) -} -func (m *MutateCustomInterestResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCustomInterestResult.Marshal(b, m, deterministic) -} -func (m *MutateCustomInterestResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomInterestResult.Merge(m, src) -} -func (m *MutateCustomInterestResult) XXX_Size() int { - return xxx_messageInfo_MutateCustomInterestResult.Size(m) -} -func (m *MutateCustomInterestResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCustomInterestResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCustomInterestResult proto.InternalMessageInfo - -func (m *MutateCustomInterestResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetCustomInterestRequest)(nil), "google.ads.googleads.v2.services.GetCustomInterestRequest") - proto.RegisterType((*MutateCustomInterestsRequest)(nil), "google.ads.googleads.v2.services.MutateCustomInterestsRequest") - proto.RegisterType((*CustomInterestOperation)(nil), "google.ads.googleads.v2.services.CustomInterestOperation") - proto.RegisterType((*MutateCustomInterestsResponse)(nil), "google.ads.googleads.v2.services.MutateCustomInterestsResponse") - proto.RegisterType((*MutateCustomInterestResult)(nil), "google.ads.googleads.v2.services.MutateCustomInterestResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/custom_interest_service.proto", fileDescriptor_a70a4da2ad94b8a5) -} - -var fileDescriptor_a70a4da2ad94b8a5 = []byte{ - // 642 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0x41, 0x6b, 0xd4, 0x40, - 0x14, 0x36, 0xa9, 0x54, 0x3b, 0x5b, 0x0f, 0x06, 0x4a, 0x43, 0xac, 0xb8, 0xc4, 0x1e, 0xca, 0x1e, - 0x26, 0x34, 0x15, 0xa4, 0xa9, 0x6d, 0x49, 0x05, 0xdb, 0x22, 0xb5, 0x25, 0xc2, 0x82, 0xb2, 0x10, - 0xa6, 0xc9, 0x34, 0x84, 0x26, 0x99, 0x98, 0x99, 0xac, 0x94, 0xd2, 0x83, 0xfe, 0x05, 0xff, 0x81, - 0x47, 0xff, 0x83, 0x78, 0xef, 0x49, 0xf0, 0xe4, 0xdd, 0x93, 0xff, 0x41, 0x90, 0x64, 0x66, 0xd2, - 0x6e, 0xdd, 0xb0, 0x5a, 0x6f, 0x6f, 0x5f, 0xde, 0xf7, 0xbd, 0xf7, 0x7d, 0x6f, 0xde, 0x82, 0x8d, - 0x88, 0x90, 0x28, 0xc1, 0x16, 0x0a, 0xa9, 0xc5, 0xc3, 0x2a, 0x1a, 0xda, 0x16, 0xc5, 0xc5, 0x30, - 0x0e, 0x30, 0xb5, 0x82, 0x92, 0x32, 0x92, 0xfa, 0x71, 0xc6, 0x70, 0x81, 0x29, 0xf3, 0xc5, 0x07, - 0x98, 0x17, 0x84, 0x11, 0xad, 0xcb, 0x41, 0x10, 0x85, 0x14, 0x36, 0x78, 0x38, 0xb4, 0xa1, 0xc4, - 0x1b, 0x8f, 0xdb, 0x3a, 0x14, 0x98, 0x92, 0xb2, 0x18, 0xd3, 0x82, 0x53, 0x1b, 0x0b, 0x12, 0x98, - 0xc7, 0x16, 0xca, 0x32, 0xc2, 0x10, 0x8b, 0x49, 0x46, 0xc5, 0x57, 0xd1, 0xd8, 0x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0xcb, 0x18, 0xbb, 0xf8, 0x83, 0xea, - 0x26, 0x0f, 0x94, 0xd7, 0x3b, 0x02, 0x1f, 0x91, 0x04, 0x65, 0x11, 0x24, 0x45, 0x64, 0x45, 0x38, - 0xab, 0x2f, 0xd6, 0xba, 0xe8, 0xd8, 0xfe, 0x5f, 0xbf, 0x26, 0x83, 0x8f, 0xea, 0xd4, 0xb6, 0xeb, - 0x7e, 0x52, 0xbb, 0xdb, 0x9c, 0xd0, 0x0d, 0x29, 0xe4, 0x61, 0x15, 0xf5, 0x6d, 0x28, 0x1a, 0xd3, - 0x73, 0x59, 0x32, 0x70, 0x43, 0x3a, 0x68, 0x4a, 0x06, 0x7d, 0x7b, 0x20, 0x4b, 0x7e, 0xaa, 0x8b, - 0x3c, 0xef, 0x38, 0x6e, 0x48, 0x1d, 0xa7, 0x29, 0x72, 0x9c, 0xbe, 0xed, 0x38, 0xb2, 0xec, 0x70, - 0xba, 0x9e, 0x73, 0xe5, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf3, 0x5d, 0xe7, 0xda, 0x92, 0x06, - 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 - -// CustomInterestServiceClient is the client API for CustomInterestService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type CustomInterestServiceClient interface { - // Returns the requested custom interest in full detail. - GetCustomInterest(ctx context.Context, in *GetCustomInterestRequest, opts ...grpc.CallOption) (*resources.CustomInterest, error) - // Creates or updates custom interests. Operation statuses are returned. - MutateCustomInterests(ctx context.Context, in *MutateCustomInterestsRequest, opts ...grpc.CallOption) (*MutateCustomInterestsResponse, error) -} - -type customInterestServiceClient struct { - cc *grpc.ClientConn -} - -func NewCustomInterestServiceClient(cc *grpc.ClientConn) CustomInterestServiceClient { - return &customInterestServiceClient{cc} -} - -func (c *customInterestServiceClient) GetCustomInterest(ctx context.Context, in *GetCustomInterestRequest, opts ...grpc.CallOption) (*resources.CustomInterest, error) { - out := new(resources.CustomInterest) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.CustomInterestService/GetCustomInterest", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *customInterestServiceClient) MutateCustomInterests(ctx context.Context, in *MutateCustomInterestsRequest, opts ...grpc.CallOption) (*MutateCustomInterestsResponse, error) { - out := new(MutateCustomInterestsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.CustomInterestService/MutateCustomInterests", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// CustomInterestServiceServer is the server API for CustomInterestService service. -type CustomInterestServiceServer interface { - // Returns the requested custom interest in full detail. - GetCustomInterest(context.Context, *GetCustomInterestRequest) (*resources.CustomInterest, error) - // Creates or updates custom interests. Operation statuses are returned. - MutateCustomInterests(context.Context, *MutateCustomInterestsRequest) (*MutateCustomInterestsResponse, error) -} - -// UnimplementedCustomInterestServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCustomInterestServiceServer struct { -} - -func (*UnimplementedCustomInterestServiceServer) GetCustomInterest(ctx context.Context, req *GetCustomInterestRequest) (*resources.CustomInterest, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCustomInterest not implemented") -} -func (*UnimplementedCustomInterestServiceServer) MutateCustomInterests(ctx context.Context, req *MutateCustomInterestsRequest) (*MutateCustomInterestsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method MutateCustomInterests not implemented") -} - -func RegisterCustomInterestServiceServer(s *grpc.Server, srv CustomInterestServiceServer) { - s.RegisterService(&_CustomInterestService_serviceDesc, srv) -} - -func _CustomInterestService_GetCustomInterest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetCustomInterestRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CustomInterestServiceServer).GetCustomInterest(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.CustomInterestService/GetCustomInterest", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CustomInterestServiceServer).GetCustomInterest(ctx, req.(*GetCustomInterestRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CustomInterestService_MutateCustomInterests_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateCustomInterestsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CustomInterestServiceServer).MutateCustomInterests(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.CustomInterestService/MutateCustomInterests", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CustomInterestServiceServer).MutateCustomInterests(ctx, req.(*MutateCustomInterestsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _CustomInterestService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.CustomInterestService", - HandlerType: (*CustomInterestServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetCustomInterest", - Handler: _CustomInterestService_GetCustomInterest_Handler, - }, - { - MethodName: "MutateCustomInterests", - Handler: _CustomInterestService_MutateCustomInterests_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/custom_interest_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/customer_client_link_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/customer_client_link_service.pb.go deleted file mode 100644 index 82a185a6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/customer_client_link_service.pb.go +++ /dev/null @@ -1,469 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/customer_client_link_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [CustomerClientLinkService.GetCustomerClientLink][google.ads.googleads.v2.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_75f0870b920ea667, []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 (m *GetCustomerClientLinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCustomerClientLinkRequest.Merge(m, 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 "" -} - -// Request message for [CustomerClientLinkService.MutateCustomerClientLink][google.ads.googleads.v2.services.CustomerClientLinkService.MutateCustomerClientLink]. -type MutateCustomerClientLinkRequest struct { - // The ID of the customer whose customer link are being modified. - CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` - // The operation to perform on the individual CustomerClientLink. - Operation *CustomerClientLinkOperation `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCustomerClientLinkRequest) Reset() { *m = MutateCustomerClientLinkRequest{} } -func (m *MutateCustomerClientLinkRequest) String() string { return proto.CompactTextString(m) } -func (*MutateCustomerClientLinkRequest) ProtoMessage() {} -func (*MutateCustomerClientLinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_75f0870b920ea667, []int{1} -} - -func (m *MutateCustomerClientLinkRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCustomerClientLinkRequest.Unmarshal(m, b) -} -func (m *MutateCustomerClientLinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCustomerClientLinkRequest.Marshal(b, m, deterministic) -} -func (m *MutateCustomerClientLinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerClientLinkRequest.Merge(m, src) -} -func (m *MutateCustomerClientLinkRequest) XXX_Size() int { - return xxx_messageInfo_MutateCustomerClientLinkRequest.Size(m) -} -func (m *MutateCustomerClientLinkRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCustomerClientLinkRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCustomerClientLinkRequest proto.InternalMessageInfo - -func (m *MutateCustomerClientLinkRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateCustomerClientLinkRequest) GetOperation() *CustomerClientLinkOperation { - if m != nil { - return m.Operation - } - return nil -} - -// A single operation (create, update) on a CustomerClientLink. -type CustomerClientLinkOperation 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: - // *CustomerClientLinkOperation_Create - // *CustomerClientLinkOperation_Update - Operation isCustomerClientLinkOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomerClientLinkOperation) Reset() { *m = CustomerClientLinkOperation{} } -func (m *CustomerClientLinkOperation) String() string { return proto.CompactTextString(m) } -func (*CustomerClientLinkOperation) ProtoMessage() {} -func (*CustomerClientLinkOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_75f0870b920ea667, []int{2} -} - -func (m *CustomerClientLinkOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomerClientLinkOperation.Unmarshal(m, b) -} -func (m *CustomerClientLinkOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomerClientLinkOperation.Marshal(b, m, deterministic) -} -func (m *CustomerClientLinkOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerClientLinkOperation.Merge(m, src) -} -func (m *CustomerClientLinkOperation) XXX_Size() int { - return xxx_messageInfo_CustomerClientLinkOperation.Size(m) -} -func (m *CustomerClientLinkOperation) XXX_DiscardUnknown() { - xxx_messageInfo_CustomerClientLinkOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomerClientLinkOperation proto.InternalMessageInfo - -func (m *CustomerClientLinkOperation) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -type isCustomerClientLinkOperation_Operation interface { - isCustomerClientLinkOperation_Operation() -} - -type CustomerClientLinkOperation_Create struct { - Create *resources.CustomerClientLink `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type CustomerClientLinkOperation_Update struct { - Update *resources.CustomerClientLink `protobuf:"bytes,2,opt,name=update,proto3,oneof"` -} - -func (*CustomerClientLinkOperation_Create) isCustomerClientLinkOperation_Operation() {} - -func (*CustomerClientLinkOperation_Update) isCustomerClientLinkOperation_Operation() {} - -func (m *CustomerClientLinkOperation) GetOperation() isCustomerClientLinkOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *CustomerClientLinkOperation) GetCreate() *resources.CustomerClientLink { - if x, ok := m.GetOperation().(*CustomerClientLinkOperation_Create); ok { - return x.Create - } - return nil -} - -func (m *CustomerClientLinkOperation) GetUpdate() *resources.CustomerClientLink { - if x, ok := m.GetOperation().(*CustomerClientLinkOperation_Update); ok { - return x.Update - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CustomerClientLinkOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CustomerClientLinkOperation_Create)(nil), - (*CustomerClientLinkOperation_Update)(nil), - } -} - -// Response message for a CustomerClientLink mutate. -type MutateCustomerClientLinkResponse struct { - // A result that identifies the resource affected by the mutate request. - Result *MutateCustomerClientLinkResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCustomerClientLinkResponse) Reset() { *m = MutateCustomerClientLinkResponse{} } -func (m *MutateCustomerClientLinkResponse) String() string { return proto.CompactTextString(m) } -func (*MutateCustomerClientLinkResponse) ProtoMessage() {} -func (*MutateCustomerClientLinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_75f0870b920ea667, []int{3} -} - -func (m *MutateCustomerClientLinkResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCustomerClientLinkResponse.Unmarshal(m, b) -} -func (m *MutateCustomerClientLinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCustomerClientLinkResponse.Marshal(b, m, deterministic) -} -func (m *MutateCustomerClientLinkResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerClientLinkResponse.Merge(m, src) -} -func (m *MutateCustomerClientLinkResponse) XXX_Size() int { - return xxx_messageInfo_MutateCustomerClientLinkResponse.Size(m) -} -func (m *MutateCustomerClientLinkResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCustomerClientLinkResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCustomerClientLinkResponse proto.InternalMessageInfo - -func (m *MutateCustomerClientLinkResponse) GetResult() *MutateCustomerClientLinkResult { - if m != nil { - return m.Result - } - return nil -} - -// The result for a single customer client link mutate. -type MutateCustomerClientLinkResult 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 *MutateCustomerClientLinkResult) Reset() { *m = MutateCustomerClientLinkResult{} } -func (m *MutateCustomerClientLinkResult) String() string { return proto.CompactTextString(m) } -func (*MutateCustomerClientLinkResult) ProtoMessage() {} -func (*MutateCustomerClientLinkResult) Descriptor() ([]byte, []int) { - return fileDescriptor_75f0870b920ea667, []int{4} -} - -func (m *MutateCustomerClientLinkResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCustomerClientLinkResult.Unmarshal(m, b) -} -func (m *MutateCustomerClientLinkResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCustomerClientLinkResult.Marshal(b, m, deterministic) -} -func (m *MutateCustomerClientLinkResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerClientLinkResult.Merge(m, src) -} -func (m *MutateCustomerClientLinkResult) XXX_Size() int { - return xxx_messageInfo_MutateCustomerClientLinkResult.Size(m) -} -func (m *MutateCustomerClientLinkResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCustomerClientLinkResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCustomerClientLinkResult proto.InternalMessageInfo - -func (m *MutateCustomerClientLinkResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetCustomerClientLinkRequest)(nil), "google.ads.googleads.v2.services.GetCustomerClientLinkRequest") - proto.RegisterType((*MutateCustomerClientLinkRequest)(nil), "google.ads.googleads.v2.services.MutateCustomerClientLinkRequest") - proto.RegisterType((*CustomerClientLinkOperation)(nil), "google.ads.googleads.v2.services.CustomerClientLinkOperation") - proto.RegisterType((*MutateCustomerClientLinkResponse)(nil), "google.ads.googleads.v2.services.MutateCustomerClientLinkResponse") - proto.RegisterType((*MutateCustomerClientLinkResult)(nil), "google.ads.googleads.v2.services.MutateCustomerClientLinkResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/customer_client_link_service.proto", fileDescriptor_75f0870b920ea667) -} - -var fileDescriptor_75f0870b920ea667 = []byte{ - // 622 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0xc1, 0x6b, 0xd4, 0x4e, - 0x14, 0xc7, 0x7f, 0x49, 0x7f, 0x14, 0x3a, 0xab, 0x97, 0x80, 0xb8, 0x6e, 0x4b, 0xbb, 0xc4, 0x1e, - 0xca, 0x1e, 0x66, 0x20, 0x52, 0x94, 0xd4, 0x15, 0xb3, 0x8b, 0xb6, 0x82, 0xb5, 0x25, 0xc2, 0x22, - 0xba, 0xb0, 0x4c, 0x93, 0x69, 0x08, 0x9b, 0x64, 0x62, 0x66, 0xb2, 0x97, 0xda, 0x8b, 0xe0, 0xc1, - 0xb3, 0x7f, 0x80, 0xe0, 0xd1, 0x3f, 0xa5, 0xe0, 0xc9, 0x7f, 0x41, 0x3c, 0x78, 0xf3, 0x3f, 0x90, - 0x64, 0x66, 0xb2, 0x2b, 0xdd, 0xec, 0x4a, 0x7b, 0x7b, 0x3b, 0xf3, 0xde, 0xe7, 0xbd, 0xef, 0x7b, - 0xf3, 0x36, 0xa0, 0x1f, 0x50, 0x1a, 0x44, 0x04, 0x61, 0x9f, 0x21, 0x61, 0x16, 0xd6, 0xc4, 0x42, - 0x8c, 0x64, 0x93, 0xd0, 0x23, 0x0c, 0x79, 0x39, 0xe3, 0x34, 0x26, 0xd9, 0xc8, 0x8b, 0x42, 0x92, - 0xf0, 0x51, 0x14, 0x26, 0xe3, 0x91, 0xbc, 0x85, 0x69, 0x46, 0x39, 0x35, 0xda, 0x22, 0x12, 0x62, - 0x9f, 0xc1, 0x0a, 0x02, 0x27, 0x16, 0x54, 0x90, 0xd6, 0xc3, 0xba, 0x34, 0x19, 0x61, 0x34, 0xcf, - 0xea, 0xf2, 0x08, 0x7e, 0x6b, 0x43, 0x45, 0xa7, 0x21, 0xc2, 0x49, 0x42, 0x39, 0xe6, 0x21, 0x4d, - 0x98, 0xbc, 0x95, 0xd9, 0x51, 0xf9, 0xeb, 0x24, 0x3f, 0x45, 0xa7, 0x21, 0x89, 0xfc, 0x51, 0x8c, - 0x99, 0x8a, 0xbf, 0x3d, 0x13, 0x2f, 0xe8, 0xe2, 0xc2, 0xec, 0x83, 0x8d, 0x7d, 0xc2, 0xfb, 0x32, - 0x73, 0xbf, 0xbc, 0x7a, 0x1e, 0x26, 0x63, 0x97, 0xbc, 0xcd, 0x09, 0xe3, 0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 0x35, 0x54, 0x2e, 0xbf, 0xf4, 0x6d, 0x71, 0x6e, 0xdb, 0x8e, - 0xcf, 0x6c, 0xbb, 0x72, 0xb2, 0xed, 0x81, 0x65, 0xdb, 0xca, 0xed, 0x64, 0xb5, 0xac, 0xf3, 0xde, - 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x19, 0x5b, 0xb9, 0xb9, 0xba, 0x06, 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 - -// 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) - // Creates or updates a customer client link. Operation statuses are returned. - MutateCustomerClientLink(ctx context.Context, in *MutateCustomerClientLinkRequest, opts ...grpc.CallOption) (*MutateCustomerClientLinkResponse, 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.v2.services.CustomerClientLinkService/GetCustomerClientLink", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *customerClientLinkServiceClient) MutateCustomerClientLink(ctx context.Context, in *MutateCustomerClientLinkRequest, opts ...grpc.CallOption) (*MutateCustomerClientLinkResponse, error) { - out := new(MutateCustomerClientLinkResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.CustomerClientLinkService/MutateCustomerClientLink", 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) - // Creates or updates a customer client link. Operation statuses are returned. - MutateCustomerClientLink(context.Context, *MutateCustomerClientLinkRequest) (*MutateCustomerClientLinkResponse, error) -} - -// UnimplementedCustomerClientLinkServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCustomerClientLinkServiceServer struct { -} - -func (*UnimplementedCustomerClientLinkServiceServer) GetCustomerClientLink(ctx context.Context, req *GetCustomerClientLinkRequest) (*resources.CustomerClientLink, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCustomerClientLink not implemented") -} -func (*UnimplementedCustomerClientLinkServiceServer) MutateCustomerClientLink(ctx context.Context, req *MutateCustomerClientLinkRequest) (*MutateCustomerClientLinkResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method MutateCustomerClientLink not implemented") -} - -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.v2.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) -} - -func _CustomerClientLinkService_MutateCustomerClientLink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateCustomerClientLinkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CustomerClientLinkServiceServer).MutateCustomerClientLink(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.CustomerClientLinkService/MutateCustomerClientLink", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CustomerClientLinkServiceServer).MutateCustomerClientLink(ctx, req.(*MutateCustomerClientLinkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _CustomerClientLinkService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.CustomerClientLinkService", - HandlerType: (*CustomerClientLinkServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetCustomerClientLink", - Handler: _CustomerClientLinkService_GetCustomerClientLink_Handler, - }, - { - MethodName: "MutateCustomerClientLink", - Handler: _CustomerClientLinkService_MutateCustomerClientLink_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/customer_client_link_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/customer_client_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/customer_client_service.pb.go deleted file mode 100644 index c6e12ff5..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/customer_client_service.pb.go +++ /dev/null @@ -1,187 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/customer_client_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [CustomerClientService.GetCustomerClient][google.ads.googleads.v2.services.CustomerClientService.GetCustomerClient]. -type GetCustomerClientRequest struct { - // The resource name of the 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_dfd3ae0efb37b5a5, []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 (m *GetCustomerClientRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCustomerClientRequest.Merge(m, 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.v2.services.GetCustomerClientRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/customer_client_service.proto", fileDescriptor_dfd3ae0efb37b5a5) -} - -var fileDescriptor_dfd3ae0efb37b5a5 = []byte{ - // 378 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xb1, 0x4a, 0xc3, 0x40, - 0x1c, 0xc6, 0x49, 0x04, 0xc1, 0xa0, 0x83, 0x01, 0xb1, 0x44, 0x87, 0x52, 0x3b, 0x48, 0x87, 0x3b, - 0x9a, 0x0e, 0xe2, 0x89, 0x4a, 0xda, 0xa1, 0x4e, 0x52, 0x2a, 0x74, 0x90, 0x40, 0x39, 0x93, 0x23, - 0x04, 0x9a, 0xbb, 0x9a, 0xff, 0xb5, 0x8b, 0x38, 0xe8, 0x2b, 0xf8, 0x06, 0x8e, 0xbe, 0x83, 0x2f, - 0xd0, 0xd5, 0x57, 0x70, 0x72, 0xf6, 0x01, 0x24, 0xbd, 0x5c, 0xda, 0x62, 0x43, 0xb7, 0x8f, 0xfb, - 0x7f, 0xbf, 0xff, 0x77, 0xf7, 0x25, 0xd6, 0x55, 0x24, 0x44, 0x34, 0x62, 0x98, 0x86, 0x80, 0x95, - 0xcc, 0xd4, 0xd4, 0xc5, 0xc0, 0xd2, 0x69, 0x1c, 0x30, 0xc0, 0xc1, 0x04, 0xa4, 0x48, 0x58, 0x3a, - 0x0c, 0x46, 0x31, 0xe3, 0x72, 0x98, 0x0f, 0xd0, 0x38, 0x15, 0x52, 0xd8, 0x55, 0x05, 0x21, 0x1a, - 0x02, 0x2a, 0x78, 0x34, 0x75, 0x91, 0xe6, 0x9d, 0xb3, 0xb2, 0x84, 0x94, 0x81, 0x98, 0xa4, 0x6b, - 0x22, 0xd4, 0x6a, 0xe7, 0x58, 0x83, 0xe3, 0x18, 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 0x42, - 0xf0, 0x0b, 0x8b, 0x3f, 0x70, 0x7d, 0x6d, 0xf9, 0x31, 0xeb, 0xea, 0x9c, 0x10, 0x2f, 0x04, 0x42, - 0x0a, 0x13, 0x21, 0x03, 0x97, 0x10, 0x6d, 0x7b, 0xd8, 0x9e, 0xdf, 0xb3, 0xf5, 0x17, 0x00, 0x00, - 0xff, 0xff, 0x6a, 0xf6, 0x6d, 0xee, 0x16, 0x03, 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 - -// 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 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.v2.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 client in full detail. - GetCustomerClient(context.Context, *GetCustomerClientRequest) (*resources.CustomerClient, error) -} - -// UnimplementedCustomerClientServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCustomerClientServiceServer struct { -} - -func (*UnimplementedCustomerClientServiceServer) GetCustomerClient(ctx context.Context, req *GetCustomerClientRequest) (*resources.CustomerClient, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCustomerClient not implemented") -} - -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.v2.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.v2.services.CustomerClientService", - HandlerType: (*CustomerClientServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetCustomerClient", - Handler: _CustomerClientService_GetCustomerClient_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/customer_client_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/customer_extension_setting_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/customer_extension_setting_service.pb.go deleted file mode 100644 index a29f71a7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/customer_extension_setting_service.pb.go +++ /dev/null @@ -1,536 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/customer_extension_setting_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [CustomerExtensionSettingService.GetCustomerExtensionSetting][google.ads.googleads.v2.services.CustomerExtensionSettingService.GetCustomerExtensionSetting]. -type GetCustomerExtensionSettingRequest struct { - // The resource name of the customer extension setting 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 *GetCustomerExtensionSettingRequest) Reset() { *m = GetCustomerExtensionSettingRequest{} } -func (m *GetCustomerExtensionSettingRequest) String() string { return proto.CompactTextString(m) } -func (*GetCustomerExtensionSettingRequest) ProtoMessage() {} -func (*GetCustomerExtensionSettingRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77598a9212091dbd, []int{0} -} - -func (m *GetCustomerExtensionSettingRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCustomerExtensionSettingRequest.Unmarshal(m, b) -} -func (m *GetCustomerExtensionSettingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCustomerExtensionSettingRequest.Marshal(b, m, deterministic) -} -func (m *GetCustomerExtensionSettingRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCustomerExtensionSettingRequest.Merge(m, src) -} -func (m *GetCustomerExtensionSettingRequest) XXX_Size() int { - return xxx_messageInfo_GetCustomerExtensionSettingRequest.Size(m) -} -func (m *GetCustomerExtensionSettingRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetCustomerExtensionSettingRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetCustomerExtensionSettingRequest proto.InternalMessageInfo - -func (m *GetCustomerExtensionSettingRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for -// [CustomerExtensionSettingService.MutateCustomerExtensionSettings][google.ads.googleads.v2.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings]. -type MutateCustomerExtensionSettingsRequest struct { - // The ID of the customer whose customer extension settings 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 extension - // settings. - Operations []*CustomerExtensionSettingOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCustomerExtensionSettingsRequest) Reset() { - *m = MutateCustomerExtensionSettingsRequest{} -} -func (m *MutateCustomerExtensionSettingsRequest) String() string { return proto.CompactTextString(m) } -func (*MutateCustomerExtensionSettingsRequest) ProtoMessage() {} -func (*MutateCustomerExtensionSettingsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77598a9212091dbd, []int{1} -} - -func (m *MutateCustomerExtensionSettingsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCustomerExtensionSettingsRequest.Unmarshal(m, b) -} -func (m *MutateCustomerExtensionSettingsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCustomerExtensionSettingsRequest.Marshal(b, m, deterministic) -} -func (m *MutateCustomerExtensionSettingsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerExtensionSettingsRequest.Merge(m, src) -} -func (m *MutateCustomerExtensionSettingsRequest) XXX_Size() int { - return xxx_messageInfo_MutateCustomerExtensionSettingsRequest.Size(m) -} -func (m *MutateCustomerExtensionSettingsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCustomerExtensionSettingsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCustomerExtensionSettingsRequest proto.InternalMessageInfo - -func (m *MutateCustomerExtensionSettingsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateCustomerExtensionSettingsRequest) GetOperations() []*CustomerExtensionSettingOperation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *MutateCustomerExtensionSettingsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateCustomerExtensionSettingsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// A single operation (create, update, remove) on a customer extension setting. -type CustomerExtensionSettingOperation 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: - // *CustomerExtensionSettingOperation_Create - // *CustomerExtensionSettingOperation_Update - // *CustomerExtensionSettingOperation_Remove - Operation isCustomerExtensionSettingOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomerExtensionSettingOperation) Reset() { *m = CustomerExtensionSettingOperation{} } -func (m *CustomerExtensionSettingOperation) String() string { return proto.CompactTextString(m) } -func (*CustomerExtensionSettingOperation) ProtoMessage() {} -func (*CustomerExtensionSettingOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_77598a9212091dbd, []int{2} -} - -func (m *CustomerExtensionSettingOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomerExtensionSettingOperation.Unmarshal(m, b) -} -func (m *CustomerExtensionSettingOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomerExtensionSettingOperation.Marshal(b, m, deterministic) -} -func (m *CustomerExtensionSettingOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerExtensionSettingOperation.Merge(m, src) -} -func (m *CustomerExtensionSettingOperation) XXX_Size() int { - return xxx_messageInfo_CustomerExtensionSettingOperation.Size(m) -} -func (m *CustomerExtensionSettingOperation) XXX_DiscardUnknown() { - xxx_messageInfo_CustomerExtensionSettingOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomerExtensionSettingOperation proto.InternalMessageInfo - -func (m *CustomerExtensionSettingOperation) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -type isCustomerExtensionSettingOperation_Operation interface { - isCustomerExtensionSettingOperation_Operation() -} - -type CustomerExtensionSettingOperation_Create struct { - Create *resources.CustomerExtensionSetting `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type CustomerExtensionSettingOperation_Update struct { - Update *resources.CustomerExtensionSetting `protobuf:"bytes,2,opt,name=update,proto3,oneof"` -} - -type CustomerExtensionSettingOperation_Remove struct { - Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` -} - -func (*CustomerExtensionSettingOperation_Create) isCustomerExtensionSettingOperation_Operation() {} - -func (*CustomerExtensionSettingOperation_Update) isCustomerExtensionSettingOperation_Operation() {} - -func (*CustomerExtensionSettingOperation_Remove) isCustomerExtensionSettingOperation_Operation() {} - -func (m *CustomerExtensionSettingOperation) GetOperation() isCustomerExtensionSettingOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *CustomerExtensionSettingOperation) GetCreate() *resources.CustomerExtensionSetting { - if x, ok := m.GetOperation().(*CustomerExtensionSettingOperation_Create); ok { - return x.Create - } - return nil -} - -func (m *CustomerExtensionSettingOperation) GetUpdate() *resources.CustomerExtensionSetting { - if x, ok := m.GetOperation().(*CustomerExtensionSettingOperation_Update); ok { - return x.Update - } - return nil -} - -func (m *CustomerExtensionSettingOperation) GetRemove() string { - if x, ok := m.GetOperation().(*CustomerExtensionSettingOperation_Remove); ok { - return x.Remove - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CustomerExtensionSettingOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CustomerExtensionSettingOperation_Create)(nil), - (*CustomerExtensionSettingOperation_Update)(nil), - (*CustomerExtensionSettingOperation_Remove)(nil), - } -} - -// Response message for a customer extension setting mutate. -type MutateCustomerExtensionSettingsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // All results for the mutate. - Results []*MutateCustomerExtensionSettingResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCustomerExtensionSettingsResponse) Reset() { - *m = MutateCustomerExtensionSettingsResponse{} -} -func (m *MutateCustomerExtensionSettingsResponse) String() string { return proto.CompactTextString(m) } -func (*MutateCustomerExtensionSettingsResponse) ProtoMessage() {} -func (*MutateCustomerExtensionSettingsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77598a9212091dbd, []int{3} -} - -func (m *MutateCustomerExtensionSettingsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCustomerExtensionSettingsResponse.Unmarshal(m, b) -} -func (m *MutateCustomerExtensionSettingsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCustomerExtensionSettingsResponse.Marshal(b, m, deterministic) -} -func (m *MutateCustomerExtensionSettingsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerExtensionSettingsResponse.Merge(m, src) -} -func (m *MutateCustomerExtensionSettingsResponse) XXX_Size() int { - return xxx_messageInfo_MutateCustomerExtensionSettingsResponse.Size(m) -} -func (m *MutateCustomerExtensionSettingsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCustomerExtensionSettingsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCustomerExtensionSettingsResponse proto.InternalMessageInfo - -func (m *MutateCustomerExtensionSettingsResponse) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -func (m *MutateCustomerExtensionSettingsResponse) GetResults() []*MutateCustomerExtensionSettingResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for the customer extension setting mutate. -type MutateCustomerExtensionSettingResult 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 *MutateCustomerExtensionSettingResult) Reset() { *m = MutateCustomerExtensionSettingResult{} } -func (m *MutateCustomerExtensionSettingResult) String() string { return proto.CompactTextString(m) } -func (*MutateCustomerExtensionSettingResult) ProtoMessage() {} -func (*MutateCustomerExtensionSettingResult) Descriptor() ([]byte, []int) { - return fileDescriptor_77598a9212091dbd, []int{4} -} - -func (m *MutateCustomerExtensionSettingResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCustomerExtensionSettingResult.Unmarshal(m, b) -} -func (m *MutateCustomerExtensionSettingResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCustomerExtensionSettingResult.Marshal(b, m, deterministic) -} -func (m *MutateCustomerExtensionSettingResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerExtensionSettingResult.Merge(m, src) -} -func (m *MutateCustomerExtensionSettingResult) XXX_Size() int { - return xxx_messageInfo_MutateCustomerExtensionSettingResult.Size(m) -} -func (m *MutateCustomerExtensionSettingResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCustomerExtensionSettingResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCustomerExtensionSettingResult proto.InternalMessageInfo - -func (m *MutateCustomerExtensionSettingResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetCustomerExtensionSettingRequest)(nil), "google.ads.googleads.v2.services.GetCustomerExtensionSettingRequest") - proto.RegisterType((*MutateCustomerExtensionSettingsRequest)(nil), "google.ads.googleads.v2.services.MutateCustomerExtensionSettingsRequest") - proto.RegisterType((*CustomerExtensionSettingOperation)(nil), "google.ads.googleads.v2.services.CustomerExtensionSettingOperation") - proto.RegisterType((*MutateCustomerExtensionSettingsResponse)(nil), "google.ads.googleads.v2.services.MutateCustomerExtensionSettingsResponse") - proto.RegisterType((*MutateCustomerExtensionSettingResult)(nil), "google.ads.googleads.v2.services.MutateCustomerExtensionSettingResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/customer_extension_setting_service.proto", fileDescriptor_77598a9212091dbd) -} - -var fileDescriptor_77598a9212091dbd = []byte{ - // 734 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, 0xe8, 0xa6, 0x80, 0xb4, 0x08, 0x11, 0xa5, 0x48, 0x0d, 0x26, - 0xa2, 0x55, 0x0e, 0xb6, 0x64, 0x6e, 0x8e, 0x8a, 0x94, 0x84, 0xa6, 0x8d, 0x50, 0x69, 0xe5, 0x8a, - 0x1e, 0x50, 0x24, 0xb3, 0xb5, 0xb7, 0x96, 0x55, 0xdb, 0x6b, 0x76, 0xd7, 0x11, 0x55, 0xd5, 0x03, - 0x5c, 0x39, 0xf2, 0x06, 0x1c, 0x7b, 0xe7, 0x25, 0x7a, 0xed, 0x2b, 0xc0, 0x85, 0x67, 0xe0, 0x80, - 0xec, 0xf5, 0xba, 0x7f, 0x90, 0xeb, 0x4a, 0xed, 0x6d, 0x32, 0xfb, 0xf5, 0x67, 0x66, 0x76, 0x66, - 0x27, 0x60, 0xec, 0x13, 0xe2, 0x87, 0xd8, 0x40, 0x1e, 0x33, 0x84, 0x99, 0x59, 0x53, 0xd3, 0x60, - 0x98, 0x4e, 0x03, 0x17, 0x33, 0xc3, 0x4d, 0x19, 0x27, 0x11, 0xa6, 0x0e, 0xfe, 0xc4, 0x71, 0xcc, - 0x02, 0x12, 0x3b, 0x0c, 0x73, 0x1e, 0xc4, 0xbe, 0x53, 0x68, 0xf4, 0x84, 0x12, 0x4e, 0x60, 0x5b, - 0x7c, 0xaf, 0x23, 0x8f, 0xe9, 0x25, 0x4a, 0x9f, 0x9a, 0xba, 0x44, 0xb5, 0x06, 0x55, 0xc1, 0x28, - 0x66, 0x24, 0xa5, 0xd7, 0x47, 0x13, 0x51, 0x5a, 0x4f, 0x25, 0x23, 0x09, 0x0c, 0x14, 0xc7, 0x84, - 0x23, 0x1e, 0x90, 0x98, 0x15, 0xa7, 0x45, 0x0e, 0x46, 0xfe, 0x6b, 0x2f, 0xdd, 0x37, 0xf6, 0x03, - 0x1c, 0x7a, 0x4e, 0x84, 0xd8, 0x41, 0xa1, 0x78, 0x52, 0x28, 0x68, 0xe2, 0x1a, 0x8c, 0x23, 0x9e, - 0xb2, 0x2b, 0x07, 0x19, 0xd8, 0x0d, 0x03, 0x1c, 0x73, 0x71, 0xa0, 0x8d, 0x81, 0xb6, 0x8e, 0xf9, - 0xb0, 0x48, 0x6c,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7b, 0x74, 0x61, 0x11, 0xae, 0x76, 0x8f, 0xab, 0x8b, 0xb7, 0xa2, 0x3c, 0x90, 0xa5, 0x74, 0x5b, - 0x8b, 0xa7, 0xfd, 0xe6, 0x79, 0x32, 0x85, 0x95, 0x04, 0x4c, 0x77, 0x49, 0x34, 0xf8, 0xaa, 0x82, - 0x8e, 0x4b, 0xa2, 0xda, 0xc4, 0x07, 0x9d, 0x9a, 0x91, 0xda, 0xce, 0x96, 0xd1, 0xb6, 0xf2, 0x7e, - 0xa3, 0x20, 0xf9, 0x24, 0x44, 0xb1, 0xaf, 0x13, 0xea, 0x1b, 0x3e, 0x8e, 0xf3, 0x55, 0x65, 0x9c, - 0xc7, 0xae, 0xfe, 0x93, 0xed, 0x49, 0xe3, 0xbb, 0x3a, 0xb3, 0xde, 0xef, 0x9f, 0xa8, 0xed, 0x75, - 0x01, 0xec, 0x7b, 0x4c, 0x17, 0x66, 0x66, 0xed, 0x9a, 0x7a, 0x11, 0x98, 0x9d, 0x4a, 0xc9, 0xa4, - 0xef, 0xb1, 0x49, 0x29, 0x99, 0xec, 0x9a, 0x13, 0x29, 0xf9, 0xad, 0x76, 0x84, 0xdf, 0xb2, 0xfa, - 0x1e, 0xb3, 0xac, 0x52, 0x64, 0x59, 0xbb, 0xa6, 0x65, 0x49, 0xd9, 0xde, 0x5c, 0x9e, 0xe7, 0xcb, - 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xcf, 0x83, 0xf0, 0x68, 0x0b, 0x08, 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 - -// CustomerExtensionSettingServiceClient is the client API for CustomerExtensionSettingService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type CustomerExtensionSettingServiceClient interface { - // Returns the requested customer extension setting in full detail. - GetCustomerExtensionSetting(ctx context.Context, in *GetCustomerExtensionSettingRequest, opts ...grpc.CallOption) (*resources.CustomerExtensionSetting, error) - // Creates, updates, or removes customer extension settings. Operation - // statuses are returned. - MutateCustomerExtensionSettings(ctx context.Context, in *MutateCustomerExtensionSettingsRequest, opts ...grpc.CallOption) (*MutateCustomerExtensionSettingsResponse, error) -} - -type customerExtensionSettingServiceClient struct { - cc *grpc.ClientConn -} - -func NewCustomerExtensionSettingServiceClient(cc *grpc.ClientConn) CustomerExtensionSettingServiceClient { - return &customerExtensionSettingServiceClient{cc} -} - -func (c *customerExtensionSettingServiceClient) GetCustomerExtensionSetting(ctx context.Context, in *GetCustomerExtensionSettingRequest, opts ...grpc.CallOption) (*resources.CustomerExtensionSetting, error) { - out := new(resources.CustomerExtensionSetting) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.CustomerExtensionSettingService/GetCustomerExtensionSetting", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *customerExtensionSettingServiceClient) MutateCustomerExtensionSettings(ctx context.Context, in *MutateCustomerExtensionSettingsRequest, opts ...grpc.CallOption) (*MutateCustomerExtensionSettingsResponse, error) { - out := new(MutateCustomerExtensionSettingsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.CustomerExtensionSettingService/MutateCustomerExtensionSettings", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// CustomerExtensionSettingServiceServer is the server API for CustomerExtensionSettingService service. -type CustomerExtensionSettingServiceServer interface { - // Returns the requested customer extension setting in full detail. - GetCustomerExtensionSetting(context.Context, *GetCustomerExtensionSettingRequest) (*resources.CustomerExtensionSetting, error) - // Creates, updates, or removes customer extension settings. Operation - // statuses are returned. - MutateCustomerExtensionSettings(context.Context, *MutateCustomerExtensionSettingsRequest) (*MutateCustomerExtensionSettingsResponse, error) -} - -// UnimplementedCustomerExtensionSettingServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCustomerExtensionSettingServiceServer struct { -} - -func (*UnimplementedCustomerExtensionSettingServiceServer) GetCustomerExtensionSetting(ctx context.Context, req *GetCustomerExtensionSettingRequest) (*resources.CustomerExtensionSetting, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetCustomerExtensionSetting not implemented") -} -func (*UnimplementedCustomerExtensionSettingServiceServer) MutateCustomerExtensionSettings(ctx context.Context, req *MutateCustomerExtensionSettingsRequest) (*MutateCustomerExtensionSettingsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateCustomerExtensionSettings not implemented") -} - -func RegisterCustomerExtensionSettingServiceServer(s *grpc.Server, srv CustomerExtensionSettingServiceServer) { - s.RegisterService(&_CustomerExtensionSettingService_serviceDesc, srv) -} - -func _CustomerExtensionSettingService_GetCustomerExtensionSetting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetCustomerExtensionSettingRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CustomerExtensionSettingServiceServer).GetCustomerExtensionSetting(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.CustomerExtensionSettingService/GetCustomerExtensionSetting", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CustomerExtensionSettingServiceServer).GetCustomerExtensionSetting(ctx, req.(*GetCustomerExtensionSettingRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CustomerExtensionSettingService_MutateCustomerExtensionSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateCustomerExtensionSettingsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CustomerExtensionSettingServiceServer).MutateCustomerExtensionSettings(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.CustomerExtensionSettingService/MutateCustomerExtensionSettings", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CustomerExtensionSettingServiceServer).MutateCustomerExtensionSettings(ctx, req.(*MutateCustomerExtensionSettingsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _CustomerExtensionSettingService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.CustomerExtensionSettingService", - HandlerType: (*CustomerExtensionSettingServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetCustomerExtensionSetting", - Handler: _CustomerExtensionSettingService_GetCustomerExtensionSetting_Handler, - }, - { - MethodName: "MutateCustomerExtensionSettings", - Handler: _CustomerExtensionSettingService_MutateCustomerExtensionSettings_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/customer_extension_setting_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/customer_feed_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/customer_feed_service.pb.go deleted file mode 100644 index ce07a660..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/customer_feed_service.pb.go +++ /dev/null @@ -1,528 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/customer_feed_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [CustomerFeedService.GetCustomerFeed][google.ads.googleads.v2.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_17bd4bce188b63c7, []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 (m *GetCustomerFeedRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCustomerFeedRequest.Merge(m, 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.v2.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_17bd4bce188b63c7, []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 (m *MutateCustomerFeedsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerFeedsRequest.Merge(m, 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 -} - -func (m *MutateCustomerFeedsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateCustomerFeedsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_17bd4bce188b63c7, []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 (m *CustomerFeedOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerFeedOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*CustomerFeedOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CustomerFeedOperation_Create)(nil), - (*CustomerFeedOperation_Update)(nil), - (*CustomerFeedOperation_Remove)(nil), - } -} - -// Response message for a customer feed mutate. -type MutateCustomerFeedsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_17bd4bce188b63c7, []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 (m *MutateCustomerFeedsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerFeedsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_17bd4bce188b63c7, []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 (m *MutateCustomerFeedResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerFeedResult.Merge(m, 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.v2.services.GetCustomerFeedRequest") - proto.RegisterType((*MutateCustomerFeedsRequest)(nil), "google.ads.googleads.v2.services.MutateCustomerFeedsRequest") - proto.RegisterType((*CustomerFeedOperation)(nil), "google.ads.googleads.v2.services.CustomerFeedOperation") - proto.RegisterType((*MutateCustomerFeedsResponse)(nil), "google.ads.googleads.v2.services.MutateCustomerFeedsResponse") - proto.RegisterType((*MutateCustomerFeedResult)(nil), "google.ads.googleads.v2.services.MutateCustomerFeedResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/customer_feed_service.proto", fileDescriptor_17bd4bce188b63c7) -} - -var fileDescriptor_17bd4bce188b63c7 = []byte{ - // 721 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0x41, 0x6b, 0xdb, 0x4a, - 0x10, 0x7e, 0xb2, 0x1f, 0x79, 0x2f, 0xeb, 0xbc, 0x17, 0xd8, 0x90, 0x56, 0x28, 0x85, 0x1a, 0x35, - 0xd0, 0xe0, 0x83, 0x96, 0xaa, 0x94, 0x14, 0x25, 0xa6, 0x38, 0xa5, 0x4e, 0x72, 0x48, 0x13, 0x94, - 0x92, 0x42, 0x31, 0x88, 0x8d, 0xb4, 0x36, 0x22, 0x92, 0x56, 0xdd, 0x5d, 0x19, 0x42, 0xc8, 0xa5, - 0xff, 0xa0, 0xf4, 0x1f, 0xf4, 0xd8, 0x7b, 0x4f, 0x85, 0xfe, 0x80, 0xdc, 0x4a, 0xff, 0x42, 0x4e, - 0xfd, 0x13, 0x2d, 0xd2, 0x6a, 0x15, 0x3b, 0xb1, 0x71, 0x9b, 0xdb, 0x68, 0xf6, 0x9b, 0x6f, 0x66, - 0xf6, 0x9b, 0x59, 0x81, 0xcd, 0x01, 0xa5, 0x83, 0x88, 0x20, 0x1c, 0x70, 0x24, 0xcd, 0xdc, 0x1a, - 0xda, 0x88, 0x13, 0x36, 0x0c, 0x7d, 0xc2, 0x91, 0x9f, 0x71, 0x41, 0x63, 0xc2, 0xbc, 0x3e, 0x21, - 0x81, 0x57, 0xba, 0xad, 0x94, 0x51, 0x41, 0x61, 0x53, 0x86, 0x58, 0x38, 0xe0, 0x56, 0x15, 0x6d, - 0x0d, 0x6d, 0x4b, 0x45, 0x1b, 0x4f, 0xa6, 0xf1, 0x33, 0xc2, 0x69, 0xc6, 0x6e, 0x24, 0x90, 0xc4, - 0xc6, 0x3d, 0x15, 0x96, 0x86, 0x08, 0x27, 0x09, 0x15, 0x58, 0x84, 0x34, 0xe1, 0xe5, 0x69, 0x99, - 0x16, 0x15, 0x5f, 0xc7, 0x59, 0x1f, 0xf5, 0x43, 0x12, 0x05, 0x5e, 0x8c, 0xf9, 0x49, 0x89, 0xb8, - 0x5b, 0x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, 0x6d, 0x6e, - 0x5b, 0x3d, 0x00, 0x46, 0xfb, 0x96, 0xd1, 0x72, 0x86, 0xcc, 0x76, 0xd1, 0xcd, 0xba, 0x69, 0xe7, - 0xdd, 0x5c, 0x95, 0x7f, 0x36, 0xf2, 0xa8, 0xb4, 0x5b, 0xe7, 0xe3, 0xcd, 0x38, 0x71, 0x41, 0xe8, - 0x68, 0x2d, 0x63, 0xe5, 0xa2, 0xa3, 0x5f, 0x25, 0x2d, 0xad, 0x34, 0xe4, 0x96, 0x4f, 0xe3, 0xad, - 0x9f, 0x1a, 0x58, 0xf5, 0x69, 0x3c, 0xb3, 0xc0, 0x2d, 0x7d, 0x82, 0xcc, 0x07, 0xf9, 0x62, 0x1f, - 0x68, 0x6f, 0x76, 0xca, 0xe8, 0x01, 0x8d, 0x70, 0x32, 0xb0, 0x28, 0x1b, 0xa0, 0x01, 0x49, 0x8a, - 0xb5, 0x47, 0x57, 0xf9, 0xa6, 0xff, 0x66, 0x36, 0x94, 0xf1, 0xb1, 0x56, 0xdf, 0xee, 0x74, 0x3e, - 0xd5, 0x9a, 0xdb, 0x92, 0xb0, 0x13, 0x70, 0x4b, 0x9a, 0xb9, 0x75, 0x64, 0x5b, 0x65, 0x62, 0x7e, - 0xa1, 0x20, 0xbd, 0x4e, 0xc0, 0x7b, 0x15, 0xa4, 0x77, 0x64, 0xf7, 0x14, 0xe4, 0x47, 0x6d, 0x55, - 0xfa, 0x1d, 0xa7, 0x13, 0x70, 0xc7, 0xa9, 0x40, 0x8e, 0x73, 0x64, 0x3b, 0x8e, 0x82, 0x1d, 0xcf, - 0x15, 0x75, 0x3e, 0xfe, 0x15, 0x00, 0x00, 0xff, 0xff, 0x3d, 0xd3, 0xfb, 0x2a, 0x0d, 0x07, 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 - -// 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.v2.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.v2.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) -} - -// UnimplementedCustomerFeedServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCustomerFeedServiceServer struct { -} - -func (*UnimplementedCustomerFeedServiceServer) GetCustomerFeed(ctx context.Context, req *GetCustomerFeedRequest) (*resources.CustomerFeed, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetCustomerFeed not implemented") -} -func (*UnimplementedCustomerFeedServiceServer) MutateCustomerFeeds(ctx context.Context, req *MutateCustomerFeedsRequest) (*MutateCustomerFeedsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateCustomerFeeds not implemented") -} - -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.v2.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.v2.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.v2.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/v2/services/customer_feed_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/customer_label_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/customer_label_service.pb.go deleted file mode 100644 index ffe359b7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/customer_label_service.pb.go +++ /dev/null @@ -1,499 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/customer_label_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [CustomerLabelService.GetCustomerLabel][google.ads.googleads.v2.services.CustomerLabelService.GetCustomerLabel]. -type GetCustomerLabelRequest struct { - // The resource name of the customer-label relationship 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 *GetCustomerLabelRequest) Reset() { *m = GetCustomerLabelRequest{} } -func (m *GetCustomerLabelRequest) String() string { return proto.CompactTextString(m) } -func (*GetCustomerLabelRequest) ProtoMessage() {} -func (*GetCustomerLabelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65bc127b03981ed2, []int{0} -} - -func (m *GetCustomerLabelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCustomerLabelRequest.Unmarshal(m, b) -} -func (m *GetCustomerLabelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCustomerLabelRequest.Marshal(b, m, deterministic) -} -func (m *GetCustomerLabelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCustomerLabelRequest.Merge(m, src) -} -func (m *GetCustomerLabelRequest) XXX_Size() int { - return xxx_messageInfo_GetCustomerLabelRequest.Size(m) -} -func (m *GetCustomerLabelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetCustomerLabelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetCustomerLabelRequest proto.InternalMessageInfo - -func (m *GetCustomerLabelRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for [CustomerLabelService.MutateCustomerLabels][google.ads.googleads.v2.services.CustomerLabelService.MutateCustomerLabels]. -type MutateCustomerLabelsRequest struct { - // ID of the customer whose customer-label relationships 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 customer-label relationships. - Operations []*CustomerLabelOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCustomerLabelsRequest) Reset() { *m = MutateCustomerLabelsRequest{} } -func (m *MutateCustomerLabelsRequest) String() string { return proto.CompactTextString(m) } -func (*MutateCustomerLabelsRequest) ProtoMessage() {} -func (*MutateCustomerLabelsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65bc127b03981ed2, []int{1} -} - -func (m *MutateCustomerLabelsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCustomerLabelsRequest.Unmarshal(m, b) -} -func (m *MutateCustomerLabelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCustomerLabelsRequest.Marshal(b, m, deterministic) -} -func (m *MutateCustomerLabelsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerLabelsRequest.Merge(m, src) -} -func (m *MutateCustomerLabelsRequest) XXX_Size() int { - return xxx_messageInfo_MutateCustomerLabelsRequest.Size(m) -} -func (m *MutateCustomerLabelsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCustomerLabelsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCustomerLabelsRequest proto.InternalMessageInfo - -func (m *MutateCustomerLabelsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateCustomerLabelsRequest) GetOperations() []*CustomerLabelOperation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *MutateCustomerLabelsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateCustomerLabelsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// A single operation (create, remove) on a customer-label relationship. -type CustomerLabelOperation struct { - // The mutate operation. - // - // Types that are valid to be assigned to Operation: - // *CustomerLabelOperation_Create - // *CustomerLabelOperation_Remove - Operation isCustomerLabelOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomerLabelOperation) Reset() { *m = CustomerLabelOperation{} } -func (m *CustomerLabelOperation) String() string { return proto.CompactTextString(m) } -func (*CustomerLabelOperation) ProtoMessage() {} -func (*CustomerLabelOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_65bc127b03981ed2, []int{2} -} - -func (m *CustomerLabelOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomerLabelOperation.Unmarshal(m, b) -} -func (m *CustomerLabelOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomerLabelOperation.Marshal(b, m, deterministic) -} -func (m *CustomerLabelOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerLabelOperation.Merge(m, src) -} -func (m *CustomerLabelOperation) XXX_Size() int { - return xxx_messageInfo_CustomerLabelOperation.Size(m) -} -func (m *CustomerLabelOperation) XXX_DiscardUnknown() { - xxx_messageInfo_CustomerLabelOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomerLabelOperation proto.InternalMessageInfo - -type isCustomerLabelOperation_Operation interface { - isCustomerLabelOperation_Operation() -} - -type CustomerLabelOperation_Create struct { - Create *resources.CustomerLabel `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type CustomerLabelOperation_Remove struct { - Remove string `protobuf:"bytes,2,opt,name=remove,proto3,oneof"` -} - -func (*CustomerLabelOperation_Create) isCustomerLabelOperation_Operation() {} - -func (*CustomerLabelOperation_Remove) isCustomerLabelOperation_Operation() {} - -func (m *CustomerLabelOperation) GetOperation() isCustomerLabelOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *CustomerLabelOperation) GetCreate() *resources.CustomerLabel { - if x, ok := m.GetOperation().(*CustomerLabelOperation_Create); ok { - return x.Create - } - return nil -} - -func (m *CustomerLabelOperation) GetRemove() string { - if x, ok := m.GetOperation().(*CustomerLabelOperation_Remove); ok { - return x.Remove - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CustomerLabelOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CustomerLabelOperation_Create)(nil), - (*CustomerLabelOperation_Remove)(nil), - } -} - -// Response message for a customer labels mutate. -type MutateCustomerLabelsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // All results for the mutate. - Results []*MutateCustomerLabelResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCustomerLabelsResponse) Reset() { *m = MutateCustomerLabelsResponse{} } -func (m *MutateCustomerLabelsResponse) String() string { return proto.CompactTextString(m) } -func (*MutateCustomerLabelsResponse) ProtoMessage() {} -func (*MutateCustomerLabelsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65bc127b03981ed2, []int{3} -} - -func (m *MutateCustomerLabelsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCustomerLabelsResponse.Unmarshal(m, b) -} -func (m *MutateCustomerLabelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCustomerLabelsResponse.Marshal(b, m, deterministic) -} -func (m *MutateCustomerLabelsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerLabelsResponse.Merge(m, src) -} -func (m *MutateCustomerLabelsResponse) XXX_Size() int { - return xxx_messageInfo_MutateCustomerLabelsResponse.Size(m) -} -func (m *MutateCustomerLabelsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCustomerLabelsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCustomerLabelsResponse proto.InternalMessageInfo - -func (m *MutateCustomerLabelsResponse) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -func (m *MutateCustomerLabelsResponse) GetResults() []*MutateCustomerLabelResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for a customer label mutate. -type MutateCustomerLabelResult 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 *MutateCustomerLabelResult) Reset() { *m = MutateCustomerLabelResult{} } -func (m *MutateCustomerLabelResult) String() string { return proto.CompactTextString(m) } -func (*MutateCustomerLabelResult) ProtoMessage() {} -func (*MutateCustomerLabelResult) Descriptor() ([]byte, []int) { - return fileDescriptor_65bc127b03981ed2, []int{4} -} - -func (m *MutateCustomerLabelResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCustomerLabelResult.Unmarshal(m, b) -} -func (m *MutateCustomerLabelResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCustomerLabelResult.Marshal(b, m, deterministic) -} -func (m *MutateCustomerLabelResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerLabelResult.Merge(m, src) -} -func (m *MutateCustomerLabelResult) XXX_Size() int { - return xxx_messageInfo_MutateCustomerLabelResult.Size(m) -} -func (m *MutateCustomerLabelResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCustomerLabelResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCustomerLabelResult proto.InternalMessageInfo - -func (m *MutateCustomerLabelResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetCustomerLabelRequest)(nil), "google.ads.googleads.v2.services.GetCustomerLabelRequest") - proto.RegisterType((*MutateCustomerLabelsRequest)(nil), "google.ads.googleads.v2.services.MutateCustomerLabelsRequest") - proto.RegisterType((*CustomerLabelOperation)(nil), "google.ads.googleads.v2.services.CustomerLabelOperation") - proto.RegisterType((*MutateCustomerLabelsResponse)(nil), "google.ads.googleads.v2.services.MutateCustomerLabelsResponse") - proto.RegisterType((*MutateCustomerLabelResult)(nil), "google.ads.googleads.v2.services.MutateCustomerLabelResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/customer_label_service.proto", fileDescriptor_65bc127b03981ed2) -} - -var fileDescriptor_65bc127b03981ed2 = []byte{ - // 668 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xdf, 0x6a, 0xd4, 0x4e, - 0x14, 0xfe, 0x25, 0xfb, 0xa3, 0xda, 0xd9, 0xfa, 0x87, 0xb1, 0xda, 0x74, 0x5b, 0x70, 0x89, 0x05, - 0xcb, 0x5e, 0x4c, 0x4a, 0x0a, 0x52, 0x53, 0xb6, 0xb8, 0x15, 0xdb, 0x2a, 0x6a, 0x4b, 0x8a, 0x45, - 0x64, 0x61, 0x99, 0x26, 0xe3, 0x12, 0x48, 0x32, 0x71, 0x66, 0xb2, 0x50, 0x4a, 0x41, 0xbc, 0xf5, - 0xd2, 0x37, 0xf0, 0xd2, 0x37, 0xf0, 0xc2, 0x6b, 0xa1, 0xb7, 0xe2, 0x1b, 0x88, 0x17, 0x3e, 0x85, - 0x24, 0x93, 0x49, 0x9b, 0x75, 0x97, 0xd5, 0xde, 0x9d, 0x9c, 0x39, 0xe7, 0xfb, 0xce, 0x77, 0xfe, - 0x04, 0xb4, 0xfb, 0x94, 0xf6, 0x43, 0x62, 0x61, 0x9f, 0x5b, 0xd2, 0xcc, 0xac, 0x81, 0x6d, 0x71, - 0xc2, 0x06, 0x81, 0x47, 0xb8, 0xe5, 0xa5, 0x5c, 0xd0, 0x88, 0xb0, 0x5e, 0x88, 0x0f, 0x49, 0xd8, - 0x2b, 0xfc, 0x28, 0x61, 0x54, 0x50, 0xd8, 0x94, 0x39, 0x08, 0xfb, 0x1c, 0x95, 0xe9, 0x68, 0x60, - 0x23, 0x95, 0xde, 0xb8, 0x37, 0x8e, 0x80, 0x11, 0x4e, 0x53, 0xf6, 0x27, 0x83, 0x44, 0x6e, 0x2c, - 0xaa, 0xbc, 0x24, 0xb0, 0x70, 0x1c, 0x53, 0x81, 0x45, 0x40, 0x63, 0x5e, 0xbc, 0xce, 0x15, 0xaf, - 0x2c, 0xf1, 0x2c, 0x2e, 0xb0, 0x48, 0x87, 0x1f, 0xb2, 0x34, 0x2f, 0x0c, 0x48, 0x2c, 0xe4, 0x83, - 0xb9, 0x01, 0xe6, 0xb6, 0x89, 0x78, 0x58, 0x50, 0x3d, 0xcd, 0x98, 0x5c, 0xf2, 0x26, 0x25, 0x5c, - 0xc0, 0x3b, 0xe0, 0x8a, 0x2a, 0xa6, 0x17, 0xe3, 0x88, 0x18, 0x5a, 0x53, 0x5b, 0x9e, 0x76, 0x67, - 0x94, 0xf3, 0x39, 0x8e, 0x88, 0xf9, 0x53, 0x03, 0x0b, 0xcf, 0x52, 0x81, 0x05, 0xa9, 0x60, 0x70, - 0x05, 0x72, 0x1b, 0xd4, 0x4b, 0x1d, 0x81, 0x5f, 0x40, 0x00, 0xe5, 0x7a, 0xec, 0xc3, 0x97, 0x00, - 0xd0, 0x84, 0x30, 0x29, 0xc3, 0xd0, 0x9b, 0xb5, 0xe5, 0xba, 0xbd, 0x86, 0x26, 0xf5, 0x0f, 0x55, - 0xd8, 0x76, 0x15, 0x80, 0x7b, 0x0e, 0x0b, 0xde, 0x05, 0xd7, 0x12, 0xcc, 0x44, 0x80, 0xc3, 0xde, - 0x6b, 0x1c, 0x84, 0x29, 0x23, 0x46, 0xad, 0xa9, 0x2d, 0x5f, 0x76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f, 0x77, 0x06, 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 - -// CustomerLabelServiceClient is the client API for CustomerLabelService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type CustomerLabelServiceClient interface { - // Returns the requested customer-label relationship in full detail. - GetCustomerLabel(ctx context.Context, in *GetCustomerLabelRequest, opts ...grpc.CallOption) (*resources.CustomerLabel, error) - // Creates and removes customer-label relationships. - // Operation statuses are returned. - MutateCustomerLabels(ctx context.Context, in *MutateCustomerLabelsRequest, opts ...grpc.CallOption) (*MutateCustomerLabelsResponse, error) -} - -type customerLabelServiceClient struct { - cc *grpc.ClientConn -} - -func NewCustomerLabelServiceClient(cc *grpc.ClientConn) CustomerLabelServiceClient { - return &customerLabelServiceClient{cc} -} - -func (c *customerLabelServiceClient) GetCustomerLabel(ctx context.Context, in *GetCustomerLabelRequest, opts ...grpc.CallOption) (*resources.CustomerLabel, error) { - out := new(resources.CustomerLabel) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.CustomerLabelService/GetCustomerLabel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *customerLabelServiceClient) MutateCustomerLabels(ctx context.Context, in *MutateCustomerLabelsRequest, opts ...grpc.CallOption) (*MutateCustomerLabelsResponse, error) { - out := new(MutateCustomerLabelsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.CustomerLabelService/MutateCustomerLabels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// CustomerLabelServiceServer is the server API for CustomerLabelService service. -type CustomerLabelServiceServer interface { - // Returns the requested customer-label relationship in full detail. - GetCustomerLabel(context.Context, *GetCustomerLabelRequest) (*resources.CustomerLabel, error) - // Creates and removes customer-label relationships. - // Operation statuses are returned. - MutateCustomerLabels(context.Context, *MutateCustomerLabelsRequest) (*MutateCustomerLabelsResponse, error) -} - -// UnimplementedCustomerLabelServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCustomerLabelServiceServer struct { -} - -func (*UnimplementedCustomerLabelServiceServer) GetCustomerLabel(ctx context.Context, req *GetCustomerLabelRequest) (*resources.CustomerLabel, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetCustomerLabel not implemented") -} -func (*UnimplementedCustomerLabelServiceServer) MutateCustomerLabels(ctx context.Context, req *MutateCustomerLabelsRequest) (*MutateCustomerLabelsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateCustomerLabels not implemented") -} - -func RegisterCustomerLabelServiceServer(s *grpc.Server, srv CustomerLabelServiceServer) { - s.RegisterService(&_CustomerLabelService_serviceDesc, srv) -} - -func _CustomerLabelService_GetCustomerLabel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetCustomerLabelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CustomerLabelServiceServer).GetCustomerLabel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.CustomerLabelService/GetCustomerLabel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CustomerLabelServiceServer).GetCustomerLabel(ctx, req.(*GetCustomerLabelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CustomerLabelService_MutateCustomerLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateCustomerLabelsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CustomerLabelServiceServer).MutateCustomerLabels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.CustomerLabelService/MutateCustomerLabels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CustomerLabelServiceServer).MutateCustomerLabels(ctx, req.(*MutateCustomerLabelsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _CustomerLabelService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.CustomerLabelService", - HandlerType: (*CustomerLabelServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetCustomerLabel", - Handler: _CustomerLabelService_GetCustomerLabel_Handler, - }, - { - MethodName: "MutateCustomerLabels", - Handler: _CustomerLabelService_MutateCustomerLabels_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/customer_label_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/customer_manager_link_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/customer_manager_link_service.pb.go deleted file mode 100644 index 807e017e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/customer_manager_link_service.pb.go +++ /dev/null @@ -1,458 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/customer_manager_link_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [CustomerManagerLinkService.GetCustomerManagerLink][google.ads.googleads.v2.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_8cdb3ffa9e04120c, []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 (m *GetCustomerManagerLinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCustomerManagerLinkRequest.Merge(m, 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 "" -} - -// Request message for [CustomerManagerLinkService.MutateCustomerManagerLink][google.ads.googleads.v2.services.CustomerManagerLinkService.MutateCustomerManagerLink]. -type MutateCustomerManagerLinkRequest struct { - // The ID of the customer whose customer manager links 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 manager links. - Operations []*CustomerManagerLinkOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCustomerManagerLinkRequest) Reset() { *m = MutateCustomerManagerLinkRequest{} } -func (m *MutateCustomerManagerLinkRequest) String() string { return proto.CompactTextString(m) } -func (*MutateCustomerManagerLinkRequest) ProtoMessage() {} -func (*MutateCustomerManagerLinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8cdb3ffa9e04120c, []int{1} -} - -func (m *MutateCustomerManagerLinkRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCustomerManagerLinkRequest.Unmarshal(m, b) -} -func (m *MutateCustomerManagerLinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCustomerManagerLinkRequest.Marshal(b, m, deterministic) -} -func (m *MutateCustomerManagerLinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerManagerLinkRequest.Merge(m, src) -} -func (m *MutateCustomerManagerLinkRequest) XXX_Size() int { - return xxx_messageInfo_MutateCustomerManagerLinkRequest.Size(m) -} -func (m *MutateCustomerManagerLinkRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCustomerManagerLinkRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCustomerManagerLinkRequest proto.InternalMessageInfo - -func (m *MutateCustomerManagerLinkRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateCustomerManagerLinkRequest) GetOperations() []*CustomerManagerLinkOperation { - if m != nil { - return m.Operations - } - return nil -} - -// Updates the status of a CustomerManagerLink. -// The following actions are possible: -// 1. Update operation with status ACTIVE accepts a pending invitation. -// 2. Update operation with status REFUSED declines a pending invitation. -// 3. Update operation with status INACTIVE terminates link to manager. -type CustomerManagerLinkOperation 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: - // *CustomerManagerLinkOperation_Update - Operation isCustomerManagerLinkOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomerManagerLinkOperation) Reset() { *m = CustomerManagerLinkOperation{} } -func (m *CustomerManagerLinkOperation) String() string { return proto.CompactTextString(m) } -func (*CustomerManagerLinkOperation) ProtoMessage() {} -func (*CustomerManagerLinkOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_8cdb3ffa9e04120c, []int{2} -} - -func (m *CustomerManagerLinkOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomerManagerLinkOperation.Unmarshal(m, b) -} -func (m *CustomerManagerLinkOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomerManagerLinkOperation.Marshal(b, m, deterministic) -} -func (m *CustomerManagerLinkOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerManagerLinkOperation.Merge(m, src) -} -func (m *CustomerManagerLinkOperation) XXX_Size() int { - return xxx_messageInfo_CustomerManagerLinkOperation.Size(m) -} -func (m *CustomerManagerLinkOperation) XXX_DiscardUnknown() { - xxx_messageInfo_CustomerManagerLinkOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomerManagerLinkOperation proto.InternalMessageInfo - -func (m *CustomerManagerLinkOperation) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -type isCustomerManagerLinkOperation_Operation interface { - isCustomerManagerLinkOperation_Operation() -} - -type CustomerManagerLinkOperation_Update struct { - Update *resources.CustomerManagerLink `protobuf:"bytes,2,opt,name=update,proto3,oneof"` -} - -func (*CustomerManagerLinkOperation_Update) isCustomerManagerLinkOperation_Operation() {} - -func (m *CustomerManagerLinkOperation) GetOperation() isCustomerManagerLinkOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *CustomerManagerLinkOperation) GetUpdate() *resources.CustomerManagerLink { - if x, ok := m.GetOperation().(*CustomerManagerLinkOperation_Update); ok { - return x.Update - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CustomerManagerLinkOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CustomerManagerLinkOperation_Update)(nil), - } -} - -// Response message for a CustomerManagerLink mutate. -type MutateCustomerManagerLinkResponse struct { - // A result that identifies the resource affected by the mutate request. - Results []*MutateCustomerManagerLinkResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCustomerManagerLinkResponse) Reset() { *m = MutateCustomerManagerLinkResponse{} } -func (m *MutateCustomerManagerLinkResponse) String() string { return proto.CompactTextString(m) } -func (*MutateCustomerManagerLinkResponse) ProtoMessage() {} -func (*MutateCustomerManagerLinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8cdb3ffa9e04120c, []int{3} -} - -func (m *MutateCustomerManagerLinkResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCustomerManagerLinkResponse.Unmarshal(m, b) -} -func (m *MutateCustomerManagerLinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCustomerManagerLinkResponse.Marshal(b, m, deterministic) -} -func (m *MutateCustomerManagerLinkResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerManagerLinkResponse.Merge(m, src) -} -func (m *MutateCustomerManagerLinkResponse) XXX_Size() int { - return xxx_messageInfo_MutateCustomerManagerLinkResponse.Size(m) -} -func (m *MutateCustomerManagerLinkResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCustomerManagerLinkResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCustomerManagerLinkResponse proto.InternalMessageInfo - -func (m *MutateCustomerManagerLinkResponse) GetResults() []*MutateCustomerManagerLinkResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for the customer manager link mutate. -type MutateCustomerManagerLinkResult 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 *MutateCustomerManagerLinkResult) Reset() { *m = MutateCustomerManagerLinkResult{} } -func (m *MutateCustomerManagerLinkResult) String() string { return proto.CompactTextString(m) } -func (*MutateCustomerManagerLinkResult) ProtoMessage() {} -func (*MutateCustomerManagerLinkResult) Descriptor() ([]byte, []int) { - return fileDescriptor_8cdb3ffa9e04120c, []int{4} -} - -func (m *MutateCustomerManagerLinkResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCustomerManagerLinkResult.Unmarshal(m, b) -} -func (m *MutateCustomerManagerLinkResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCustomerManagerLinkResult.Marshal(b, m, deterministic) -} -func (m *MutateCustomerManagerLinkResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerManagerLinkResult.Merge(m, src) -} -func (m *MutateCustomerManagerLinkResult) XXX_Size() int { - return xxx_messageInfo_MutateCustomerManagerLinkResult.Size(m) -} -func (m *MutateCustomerManagerLinkResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCustomerManagerLinkResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCustomerManagerLinkResult proto.InternalMessageInfo - -func (m *MutateCustomerManagerLinkResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetCustomerManagerLinkRequest)(nil), "google.ads.googleads.v2.services.GetCustomerManagerLinkRequest") - proto.RegisterType((*MutateCustomerManagerLinkRequest)(nil), "google.ads.googleads.v2.services.MutateCustomerManagerLinkRequest") - proto.RegisterType((*CustomerManagerLinkOperation)(nil), "google.ads.googleads.v2.services.CustomerManagerLinkOperation") - proto.RegisterType((*MutateCustomerManagerLinkResponse)(nil), "google.ads.googleads.v2.services.MutateCustomerManagerLinkResponse") - proto.RegisterType((*MutateCustomerManagerLinkResult)(nil), "google.ads.googleads.v2.services.MutateCustomerManagerLinkResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/customer_manager_link_service.proto", fileDescriptor_8cdb3ffa9e04120c) -} - -var fileDescriptor_8cdb3ffa9e04120c = []byte{ - // 618 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0x4f, 0x6e, 0xd3, 0x4c, - 0x14, 0xff, 0xec, 0x7e, 0x2a, 0xea, 0x04, 0x36, 0x5e, 0x80, 0x31, 0x45, 0x35, 0xa6, 0x8b, 0x28, - 0x8b, 0xb1, 0x64, 0xa4, 0x0a, 0x5c, 0x25, 0xc8, 0x69, 0xd4, 0x14, 0x89, 0x40, 0x64, 0xa4, 0x2c, - 0x20, 0x22, 0x9a, 0xc6, 0x53, 0xcb, 0x8a, 0xed, 0x31, 0x9e, 0x71, 0x36, 0x55, 0x25, 0xc4, 0x82, - 0x0b, 0x70, 0x03, 0xd8, 0x71, 0x04, 0x8e, 0xd0, 0x1d, 0xe2, 0x0a, 0xac, 0x7a, 0x04, 0x56, 0xc8, - 0x1e, 0x8f, 0x13, 0xa4, 0x38, 0x41, 0x74, 0xf7, 0x3c, 0xf3, 0xde, 0xef, 0xcf, 0x9b, 0xf7, 0x0c, - 0x7a, 0x3e, 0x21, 0x7e, 0x88, 0x4d, 0xe4, 0x51, 0x93, 0x87, 0x79, 0x34, 0xb7, 0x4c, 0x8a, 0xd3, - 0x79, 0x30, 0xc5, 0xd4, 0x9c, 0x66, 0x94, 0x91, 0x08, 0xa7, 0x93, 0x08, 0xc5, 0xc8, 0xc7, 0xe9, - 0x24, 0x0c, 0xe2, 0xd9, 0xa4, 0xbc, 0x86, 0x49, 0x4a, 0x18, 0x51, 0x74, 0x5e, 0x0a, 0x91, 0x47, - 0x61, 0x85, 0x02, 0xe7, 0x16, 0x14, 0x28, 0x5a, 0xbb, 0x8e, 0x27, 0xc5, 0x94, 0x64, 0x69, 0x2d, - 0x11, 0x27, 0xd0, 0x76, 0x45, 0x79, 0x12, 0x98, 0x28, 0x8e, 0x09, 0x43, 0x2c, 0x20, 0x31, 0x2d, - 0x6f, 0x4b, 0x7a, 0xb3, 0xf8, 0x3a, 0xcd, 0xce, 0xcc, 0xb3, 0x00, 0x87, 0xde, 0x24, 0x42, 0x54, - 0xd4, 0xdf, 0x59, 0xaa, 0x9f, 0x86, 0x01, 0x8e, 0x19, 0xbf, 0x30, 0x7a, 0xe0, 0x7e, 0x1f, 0xb3, - 0xa3, 0x92, 0x7a, 0xc0, 0x99, 0x9f, 0x07, 0xf1, 0xcc, 0xc5, 0xef, 0x32, 0x4c, 0x99, 0xf2, 0x10, - 0xdc, 0x12, 0x12, 0x27, 0x31, 0x8a, 0xb0, 0x2a, 0xe9, 0x52, 0x73, 0xc7, 0xbd, 0x29, 0x0e, 0x5f, - 0xa0, 0x08, 0x1b, 0x5f, 0x24, 0xa0, 0x0f, 0x32, 0x86, 0x18, 0x5e, 0x83, 0xb4, 0x07, 0x1a, 0x95, - 0xc5, 0xc0, 0x2b, 0x71, 0x80, 0x38, 0x7a, 0xe6, 0x29, 0x6f, 0x01, 0x20, 0x09, 0x4e, 0xb9, 0x35, - 0x55, 0xd6, 0xb7, 0x9a, 0x0d, 0xab, 0x03, 0x37, 0xb5, 0x16, 0xae, 0xa0, 0x7c, 0x29, 0x60, 0xdc, - 0x25, 0x44, 0xe3, 0x9b, 0x04, 0x76, 0xd7, 0x25, 0x2b, 0x87, 0xa0, 0x91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b7, 0xed, 0xd6, 0xc5, 0x4a, 0x97, 0x76, 0x54, 0xa0, 0xdb, 0x52, 0x4b, 0xbb, 0x77, 0xe9, - 0xa8, 0x0b, 0x05, 0x65, 0x94, 0x04, 0x14, 0x4e, 0x49, 0xd4, 0xfd, 0x28, 0x83, 0xfd, 0x29, 0x89, - 0x36, 0xaa, 0xed, 0xee, 0xd5, 0x8f, 0xc8, 0x30, 0xdf, 0xc4, 0xa1, 0xf4, 0xfa, 0xa4, 0x04, 0xf1, - 0x49, 0x88, 0x62, 0x1f, 0x92, 0xd4, 0x37, 0x7d, 0x1c, 0x17, 0x7b, 0x6a, 0x2e, 0x68, 0xeb, 0xff, - 0xed, 0x87, 0x22, 0xf8, 0x2c, 0x6f, 0xf5, 0x1d, 0xe7, 0xab, 0xac, 0xf7, 0x39, 0xa0, 0xe3, 0x51, - 0xc8, 0xc3, 0x3c, 0x1a, 0x59, 0xb0, 0x24, 0xa6, 0x97, 0x22, 0x65, 0xec, 0x78, 0x74, 0x5c, 0xa5, - 0x8c, 0x47, 0xd6, 0x58, 0xa4, 0x5c, 0xc9, 0xfb, 0xfc, 0xdc, 0xb6, 0x1d, 0x8f, 0xda, 0x76, 0x95, - 0x64, 0xdb, 0x23, 0xcb, 0xb6, 0x45, 0xda, 0xe9, 0x76, 0xa1, 0xf3, 0xd1, 0xef, 0x00, 0x00, 0x00, - 0xff, 0xff, 0x1d, 0x4c, 0x07, 0x59, 0x82, 0x06, 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 - -// 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) - // Creates or updates customer manager links. Operation statuses are returned. - MutateCustomerManagerLink(ctx context.Context, in *MutateCustomerManagerLinkRequest, opts ...grpc.CallOption) (*MutateCustomerManagerLinkResponse, 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.v2.services.CustomerManagerLinkService/GetCustomerManagerLink", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *customerManagerLinkServiceClient) MutateCustomerManagerLink(ctx context.Context, in *MutateCustomerManagerLinkRequest, opts ...grpc.CallOption) (*MutateCustomerManagerLinkResponse, error) { - out := new(MutateCustomerManagerLinkResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.CustomerManagerLinkService/MutateCustomerManagerLink", 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) - // Creates or updates customer manager links. Operation statuses are returned. - MutateCustomerManagerLink(context.Context, *MutateCustomerManagerLinkRequest) (*MutateCustomerManagerLinkResponse, error) -} - -// UnimplementedCustomerManagerLinkServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCustomerManagerLinkServiceServer struct { -} - -func (*UnimplementedCustomerManagerLinkServiceServer) GetCustomerManagerLink(ctx context.Context, req *GetCustomerManagerLinkRequest) (*resources.CustomerManagerLink, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCustomerManagerLink not implemented") -} -func (*UnimplementedCustomerManagerLinkServiceServer) MutateCustomerManagerLink(ctx context.Context, req *MutateCustomerManagerLinkRequest) (*MutateCustomerManagerLinkResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method MutateCustomerManagerLink not implemented") -} - -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.v2.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) -} - -func _CustomerManagerLinkService_MutateCustomerManagerLink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateCustomerManagerLinkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CustomerManagerLinkServiceServer).MutateCustomerManagerLink(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.CustomerManagerLinkService/MutateCustomerManagerLink", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CustomerManagerLinkServiceServer).MutateCustomerManagerLink(ctx, req.(*MutateCustomerManagerLinkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _CustomerManagerLinkService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.CustomerManagerLinkService", - HandlerType: (*CustomerManagerLinkServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetCustomerManagerLink", - Handler: _CustomerManagerLinkService_GetCustomerManagerLink_Handler, - }, - { - MethodName: "MutateCustomerManagerLink", - Handler: _CustomerManagerLinkService_MutateCustomerManagerLink_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/customer_manager_link_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/customer_negative_criterion_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/customer_negative_criterion_service.pb.go deleted file mode 100644 index e0a6b284..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/customer_negative_criterion_service.pb.go +++ /dev/null @@ -1,502 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/customer_negative_criterion_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [CustomerNegativeCriterionService.GetCustomerNegativeCriterion][google.ads.googleads.v2.services.CustomerNegativeCriterionService.GetCustomerNegativeCriterion]. -type GetCustomerNegativeCriterionRequest 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 *GetCustomerNegativeCriterionRequest) Reset() { *m = GetCustomerNegativeCriterionRequest{} } -func (m *GetCustomerNegativeCriterionRequest) String() string { return proto.CompactTextString(m) } -func (*GetCustomerNegativeCriterionRequest) ProtoMessage() {} -func (*GetCustomerNegativeCriterionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_39fda1a455178f4b, []int{0} -} - -func (m *GetCustomerNegativeCriterionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCustomerNegativeCriterionRequest.Unmarshal(m, b) -} -func (m *GetCustomerNegativeCriterionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCustomerNegativeCriterionRequest.Marshal(b, m, deterministic) -} -func (m *GetCustomerNegativeCriterionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCustomerNegativeCriterionRequest.Merge(m, src) -} -func (m *GetCustomerNegativeCriterionRequest) XXX_Size() int { - return xxx_messageInfo_GetCustomerNegativeCriterionRequest.Size(m) -} -func (m *GetCustomerNegativeCriterionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetCustomerNegativeCriterionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetCustomerNegativeCriterionRequest proto.InternalMessageInfo - -func (m *GetCustomerNegativeCriterionRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for -// [CustomerNegativeCriterionService.MutateCustomerNegativeCriteria][google.ads.googleads.v2.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria]. -type MutateCustomerNegativeCriteriaRequest 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 []*CustomerNegativeCriterionOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCustomerNegativeCriteriaRequest) Reset() { *m = MutateCustomerNegativeCriteriaRequest{} } -func (m *MutateCustomerNegativeCriteriaRequest) String() string { return proto.CompactTextString(m) } -func (*MutateCustomerNegativeCriteriaRequest) ProtoMessage() {} -func (*MutateCustomerNegativeCriteriaRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_39fda1a455178f4b, []int{1} -} - -func (m *MutateCustomerNegativeCriteriaRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCustomerNegativeCriteriaRequest.Unmarshal(m, b) -} -func (m *MutateCustomerNegativeCriteriaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCustomerNegativeCriteriaRequest.Marshal(b, m, deterministic) -} -func (m *MutateCustomerNegativeCriteriaRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerNegativeCriteriaRequest.Merge(m, src) -} -func (m *MutateCustomerNegativeCriteriaRequest) XXX_Size() int { - return xxx_messageInfo_MutateCustomerNegativeCriteriaRequest.Size(m) -} -func (m *MutateCustomerNegativeCriteriaRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCustomerNegativeCriteriaRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCustomerNegativeCriteriaRequest proto.InternalMessageInfo - -func (m *MutateCustomerNegativeCriteriaRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateCustomerNegativeCriteriaRequest) GetOperations() []*CustomerNegativeCriterionOperation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *MutateCustomerNegativeCriteriaRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateCustomerNegativeCriteriaRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// A single operation (create or remove) on a customer level negative criterion. -type CustomerNegativeCriterionOperation struct { - // The mutate operation. - // - // Types that are valid to be assigned to Operation: - // *CustomerNegativeCriterionOperation_Create - // *CustomerNegativeCriterionOperation_Remove - Operation isCustomerNegativeCriterionOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomerNegativeCriterionOperation) Reset() { *m = CustomerNegativeCriterionOperation{} } -func (m *CustomerNegativeCriterionOperation) String() string { return proto.CompactTextString(m) } -func (*CustomerNegativeCriterionOperation) ProtoMessage() {} -func (*CustomerNegativeCriterionOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_39fda1a455178f4b, []int{2} -} - -func (m *CustomerNegativeCriterionOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomerNegativeCriterionOperation.Unmarshal(m, b) -} -func (m *CustomerNegativeCriterionOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomerNegativeCriterionOperation.Marshal(b, m, deterministic) -} -func (m *CustomerNegativeCriterionOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerNegativeCriterionOperation.Merge(m, src) -} -func (m *CustomerNegativeCriterionOperation) XXX_Size() int { - return xxx_messageInfo_CustomerNegativeCriterionOperation.Size(m) -} -func (m *CustomerNegativeCriterionOperation) XXX_DiscardUnknown() { - xxx_messageInfo_CustomerNegativeCriterionOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomerNegativeCriterionOperation proto.InternalMessageInfo - -type isCustomerNegativeCriterionOperation_Operation interface { - isCustomerNegativeCriterionOperation_Operation() -} - -type CustomerNegativeCriterionOperation_Create struct { - Create *resources.CustomerNegativeCriterion `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type CustomerNegativeCriterionOperation_Remove struct { - Remove string `protobuf:"bytes,2,opt,name=remove,proto3,oneof"` -} - -func (*CustomerNegativeCriterionOperation_Create) isCustomerNegativeCriterionOperation_Operation() {} - -func (*CustomerNegativeCriterionOperation_Remove) isCustomerNegativeCriterionOperation_Operation() {} - -func (m *CustomerNegativeCriterionOperation) GetOperation() isCustomerNegativeCriterionOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *CustomerNegativeCriterionOperation) GetCreate() *resources.CustomerNegativeCriterion { - if x, ok := m.GetOperation().(*CustomerNegativeCriterionOperation_Create); ok { - return x.Create - } - return nil -} - -func (m *CustomerNegativeCriterionOperation) GetRemove() string { - if x, ok := m.GetOperation().(*CustomerNegativeCriterionOperation_Remove); ok { - return x.Remove - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CustomerNegativeCriterionOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CustomerNegativeCriterionOperation_Create)(nil), - (*CustomerNegativeCriterionOperation_Remove)(nil), - } -} - -// Response message for customer negative criterion mutate. -type MutateCustomerNegativeCriteriaResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // All results for the mutate. - Results []*MutateCustomerNegativeCriteriaResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateCustomerNegativeCriteriaResponse) Reset() { - *m = MutateCustomerNegativeCriteriaResponse{} -} -func (m *MutateCustomerNegativeCriteriaResponse) String() string { return proto.CompactTextString(m) } -func (*MutateCustomerNegativeCriteriaResponse) ProtoMessage() {} -func (*MutateCustomerNegativeCriteriaResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_39fda1a455178f4b, []int{3} -} - -func (m *MutateCustomerNegativeCriteriaResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCustomerNegativeCriteriaResponse.Unmarshal(m, b) -} -func (m *MutateCustomerNegativeCriteriaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCustomerNegativeCriteriaResponse.Marshal(b, m, deterministic) -} -func (m *MutateCustomerNegativeCriteriaResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerNegativeCriteriaResponse.Merge(m, src) -} -func (m *MutateCustomerNegativeCriteriaResponse) XXX_Size() int { - return xxx_messageInfo_MutateCustomerNegativeCriteriaResponse.Size(m) -} -func (m *MutateCustomerNegativeCriteriaResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCustomerNegativeCriteriaResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCustomerNegativeCriteriaResponse proto.InternalMessageInfo - -func (m *MutateCustomerNegativeCriteriaResponse) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -func (m *MutateCustomerNegativeCriteriaResponse) GetResults() []*MutateCustomerNegativeCriteriaResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for the criterion mutate. -type MutateCustomerNegativeCriteriaResult 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 *MutateCustomerNegativeCriteriaResult) Reset() { *m = MutateCustomerNegativeCriteriaResult{} } -func (m *MutateCustomerNegativeCriteriaResult) String() string { return proto.CompactTextString(m) } -func (*MutateCustomerNegativeCriteriaResult) ProtoMessage() {} -func (*MutateCustomerNegativeCriteriaResult) Descriptor() ([]byte, []int) { - return fileDescriptor_39fda1a455178f4b, []int{4} -} - -func (m *MutateCustomerNegativeCriteriaResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateCustomerNegativeCriteriaResult.Unmarshal(m, b) -} -func (m *MutateCustomerNegativeCriteriaResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateCustomerNegativeCriteriaResult.Marshal(b, m, deterministic) -} -func (m *MutateCustomerNegativeCriteriaResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerNegativeCriteriaResult.Merge(m, src) -} -func (m *MutateCustomerNegativeCriteriaResult) XXX_Size() int { - return xxx_messageInfo_MutateCustomerNegativeCriteriaResult.Size(m) -} -func (m *MutateCustomerNegativeCriteriaResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateCustomerNegativeCriteriaResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateCustomerNegativeCriteriaResult proto.InternalMessageInfo - -func (m *MutateCustomerNegativeCriteriaResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetCustomerNegativeCriterionRequest)(nil), "google.ads.googleads.v2.services.GetCustomerNegativeCriterionRequest") - proto.RegisterType((*MutateCustomerNegativeCriteriaRequest)(nil), "google.ads.googleads.v2.services.MutateCustomerNegativeCriteriaRequest") - proto.RegisterType((*CustomerNegativeCriterionOperation)(nil), "google.ads.googleads.v2.services.CustomerNegativeCriterionOperation") - proto.RegisterType((*MutateCustomerNegativeCriteriaResponse)(nil), "google.ads.googleads.v2.services.MutateCustomerNegativeCriteriaResponse") - proto.RegisterType((*MutateCustomerNegativeCriteriaResult)(nil), "google.ads.googleads.v2.services.MutateCustomerNegativeCriteriaResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/customer_negative_criterion_service.proto", fileDescriptor_39fda1a455178f4b) -} - -var fileDescriptor_39fda1a455178f4b = []byte{ - // 676 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x4f, 0x6b, 0xd4, 0x4e, - 0x18, 0xfe, 0x25, 0x2d, 0xfd, 0xd9, 0xd9, 0xaa, 0x30, 0x22, 0x86, 0xb5, 0xe8, 0x92, 0xb6, 0x5a, - 0xf6, 0x90, 0x40, 0xbc, 0xc5, 0xf6, 0xb0, 0x5b, 0xdb, 0x5d, 0x2b, 0xb6, 0x25, 0x85, 0x3d, 0xc8, - 0x42, 0x1c, 0x93, 0x31, 0x04, 0x92, 0x4c, 0x9c, 0x99, 0x04, 0x4a, 0xe9, 0xc5, 0xb3, 0x37, 0xbf, - 0x81, 0x9e, 0xf4, 0xa3, 0xf4, 0xa8, 0x5f, 0x41, 0x10, 0xfc, 0x0c, 0x0a, 0x92, 0x4c, 0x26, 0xfd, - 0x03, 0x69, 0x16, 0xea, 0xed, 0xdd, 0x77, 0xde, 0x3c, 0xcf, 0xfb, 0x3c, 0xf3, 0xce, 0xbb, 0x60, - 0x37, 0x20, 0x24, 0x88, 0xb0, 0x89, 0x7c, 0x66, 0x8a, 0xb0, 0x88, 0x72, 0xcb, 0x64, 0x98, 0xe6, - 0xa1, 0x87, 0x99, 0xe9, 0x65, 0x8c, 0x93, 0x18, 0x53, 0x37, 0xc1, 0x01, 0xe2, 0x61, 0x8e, 0x5d, - 0x8f, 0x86, 0x1c, 0xd3, 0x90, 0x24, 0x6e, 0x55, 0x64, 0xa4, 0x94, 0x70, 0x02, 0x7b, 0x02, 0xc0, - 0x40, 0x3e, 0x33, 0x6a, 0x2c, 0x23, 0xb7, 0x0c, 0x89, 0xd5, 0xdd, 0x6a, 0x62, 0xa3, 0x98, 0x91, - 0x8c, 0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 0x3e, - 0xd4, 0x37, 0x0b, 0xe5, 0x67, 0x52, 0x8f, 0xcf, 0xad, 0x9d, 0xcd, 0xfe, 0x49, 0xa3, 0x70, 0x3b, - 0x2e, 0x69, 0x6c, 0xa5, 0xdf, 0xbd, 0x7f, 0x3a, 0xd0, 0xce, 0x5a, 0xa9, 0xa2, 0x34, 0x64, 0x86, - 0x47, 0xe2, 0xe1, 0x07, 0x15, 0xac, 0x7a, 0x24, 0x6e, 0x6d, 0x7b, 0xb8, 0xd6, 0x36, 0x51, 0x07, - 0xc5, 0x3a, 0x3e, 0x50, 0x5e, 0x8d, 0x2b, 0xa8, 0x80, 0x44, 0x28, 0x09, 0x0c, 0x42, 0x03, 0x33, - 0xc0, 0x49, 0xb9, 0xac, 0xcd, 0x33, 0xf2, 0xe6, 0xbf, 0xac, 0xa7, 0x32, 0xf8, 0xa4, 0xce, 0x8d, - 0x06, 0x83, 0xaf, 0x6a, 0x6f, 0x24, 0x00, 0x07, 0x3e, 0x33, 0x44, 0x58, 0x44, 0x13, 0xcb, 0xa8, - 0x88, 0xd9, 0xa9, 0x2c, 0x99, 0x0e, 0x7c, 0x36, 0xad, 0x4b, 0xa6, 0x13, 0x6b, 0x2a, 0x4b, 0x7e, - 0xa9, 0xab, 0x22, 0x6f, 0xdb, 0x03, 0x9f, 0xd9, 0x76, 0x5d, 0x64, 0xdb, 0x13, 0xcb, 0xb6, 0x65, - 0xd9, 0x9b, 0x85, 0xb2, 0xcf, 0x27, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x3e, 0xb3, 0xf9, 0x4d, - 0x59, 0x07, 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 - -// CustomerNegativeCriterionServiceClient is the client API for CustomerNegativeCriterionService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type CustomerNegativeCriterionServiceClient interface { - // Returns the requested criterion in full detail. - GetCustomerNegativeCriterion(ctx context.Context, in *GetCustomerNegativeCriterionRequest, opts ...grpc.CallOption) (*resources.CustomerNegativeCriterion, error) - // Creates or removes criteria. Operation statuses are returned. - MutateCustomerNegativeCriteria(ctx context.Context, in *MutateCustomerNegativeCriteriaRequest, opts ...grpc.CallOption) (*MutateCustomerNegativeCriteriaResponse, error) -} - -type customerNegativeCriterionServiceClient struct { - cc *grpc.ClientConn -} - -func NewCustomerNegativeCriterionServiceClient(cc *grpc.ClientConn) CustomerNegativeCriterionServiceClient { - return &customerNegativeCriterionServiceClient{cc} -} - -func (c *customerNegativeCriterionServiceClient) GetCustomerNegativeCriterion(ctx context.Context, in *GetCustomerNegativeCriterionRequest, opts ...grpc.CallOption) (*resources.CustomerNegativeCriterion, error) { - out := new(resources.CustomerNegativeCriterion) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.CustomerNegativeCriterionService/GetCustomerNegativeCriterion", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *customerNegativeCriterionServiceClient) MutateCustomerNegativeCriteria(ctx context.Context, in *MutateCustomerNegativeCriteriaRequest, opts ...grpc.CallOption) (*MutateCustomerNegativeCriteriaResponse, error) { - out := new(MutateCustomerNegativeCriteriaResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.CustomerNegativeCriterionService/MutateCustomerNegativeCriteria", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// CustomerNegativeCriterionServiceServer is the server API for CustomerNegativeCriterionService service. -type CustomerNegativeCriterionServiceServer interface { - // Returns the requested criterion in full detail. - GetCustomerNegativeCriterion(context.Context, *GetCustomerNegativeCriterionRequest) (*resources.CustomerNegativeCriterion, error) - // Creates or removes criteria. Operation statuses are returned. - MutateCustomerNegativeCriteria(context.Context, *MutateCustomerNegativeCriteriaRequest) (*MutateCustomerNegativeCriteriaResponse, error) -} - -// UnimplementedCustomerNegativeCriterionServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCustomerNegativeCriterionServiceServer struct { -} - -func (*UnimplementedCustomerNegativeCriterionServiceServer) GetCustomerNegativeCriterion(ctx context.Context, req *GetCustomerNegativeCriterionRequest) (*resources.CustomerNegativeCriterion, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetCustomerNegativeCriterion not implemented") -} -func (*UnimplementedCustomerNegativeCriterionServiceServer) MutateCustomerNegativeCriteria(ctx context.Context, req *MutateCustomerNegativeCriteriaRequest) (*MutateCustomerNegativeCriteriaResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateCustomerNegativeCriteria not implemented") -} - -func RegisterCustomerNegativeCriterionServiceServer(s *grpc.Server, srv CustomerNegativeCriterionServiceServer) { - s.RegisterService(&_CustomerNegativeCriterionService_serviceDesc, srv) -} - -func _CustomerNegativeCriterionService_GetCustomerNegativeCriterion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetCustomerNegativeCriterionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CustomerNegativeCriterionServiceServer).GetCustomerNegativeCriterion(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.CustomerNegativeCriterionService/GetCustomerNegativeCriterion", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CustomerNegativeCriterionServiceServer).GetCustomerNegativeCriterion(ctx, req.(*GetCustomerNegativeCriterionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CustomerNegativeCriterionService_MutateCustomerNegativeCriteria_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateCustomerNegativeCriteriaRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CustomerNegativeCriterionServiceServer).MutateCustomerNegativeCriteria(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.CustomerNegativeCriterionService/MutateCustomerNegativeCriteria", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CustomerNegativeCriterionServiceServer).MutateCustomerNegativeCriteria(ctx, req.(*MutateCustomerNegativeCriteriaRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _CustomerNegativeCriterionService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.CustomerNegativeCriterionService", - HandlerType: (*CustomerNegativeCriterionServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetCustomerNegativeCriterion", - Handler: _CustomerNegativeCriterionService_GetCustomerNegativeCriterion_Handler, - }, - { - MethodName: "MutateCustomerNegativeCriteria", - Handler: _CustomerNegativeCriterionService_MutateCustomerNegativeCriteria_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/customer_negative_criterion_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/customer_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/customer_service.pb.go deleted file mode 100644 index d0412f09..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/customer_service.pb.go +++ /dev/null @@ -1,721 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/customer_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [CustomerService.GetCustomer][google.ads.googleads.v2.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_cbd29a1421f6b058, []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 (m *GetCustomerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCustomerRequest.Merge(m, 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.v2.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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_cbd29a1421f6b058, []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 (m *MutateCustomerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerRequest.Merge(m, 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 -} - -func (m *MutateCustomerRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// Request message for [CustomerService.CreateCustomerClient][google.ads.googleads.v2.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"` - // Email address of the user who should be invited on the created client - // customer. Accessible to whitelisted customers only. - EmailAddress *wrappers.StringValue `protobuf:"bytes,3,opt,name=email_address,json=emailAddress,proto3" json:"email_address,omitempty"` - // The proposed role of user on the created client customer. - // Accessible to whitelisted customers only. - AccessRole enums.AccessRoleEnum_AccessRole `protobuf:"varint,4,opt,name=access_role,json=accessRole,proto3,enum=google.ads.googleads.v2.enums.AccessRoleEnum_AccessRole" json:"access_role,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_cbd29a1421f6b058, []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 (m *CreateCustomerClientRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateCustomerClientRequest.Merge(m, 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 -} - -func (m *CreateCustomerClientRequest) GetEmailAddress() *wrappers.StringValue { - if m != nil { - return m.EmailAddress - } - return nil -} - -func (m *CreateCustomerClientRequest) GetAccessRole() enums.AccessRoleEnum_AccessRole { - if m != nil { - return m.AccessRole - } - return enums.AccessRoleEnum_UNSPECIFIED -} - -// 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_cbd29a1421f6b058, []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 (m *CustomerOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerOperation.Merge(m, 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_cbd29a1421f6b058, []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 (m *CreateCustomerClientResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateCustomerClientResponse.Merge(m, 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_cbd29a1421f6b058, []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 (m *MutateCustomerResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerResponse.Merge(m, 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_cbd29a1421f6b058, []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 (m *MutateCustomerResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateCustomerResult.Merge(m, 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.v2.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_cbd29a1421f6b058, []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 (m *ListAccessibleCustomersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAccessibleCustomersRequest.Merge(m, 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.v2.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_cbd29a1421f6b058, []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 (m *ListAccessibleCustomersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAccessibleCustomersResponse.Merge(m, 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.v2.services.GetCustomerRequest") - proto.RegisterType((*MutateCustomerRequest)(nil), "google.ads.googleads.v2.services.MutateCustomerRequest") - proto.RegisterType((*CreateCustomerClientRequest)(nil), "google.ads.googleads.v2.services.CreateCustomerClientRequest") - proto.RegisterType((*CustomerOperation)(nil), "google.ads.googleads.v2.services.CustomerOperation") - proto.RegisterType((*CreateCustomerClientResponse)(nil), "google.ads.googleads.v2.services.CreateCustomerClientResponse") - proto.RegisterType((*MutateCustomerResponse)(nil), "google.ads.googleads.v2.services.MutateCustomerResponse") - proto.RegisterType((*MutateCustomerResult)(nil), "google.ads.googleads.v2.services.MutateCustomerResult") - proto.RegisterType((*ListAccessibleCustomersRequest)(nil), "google.ads.googleads.v2.services.ListAccessibleCustomersRequest") - proto.RegisterType((*ListAccessibleCustomersResponse)(nil), "google.ads.googleads.v2.services.ListAccessibleCustomersResponse") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/customer_service.proto", fileDescriptor_cbd29a1421f6b058) -} - -var fileDescriptor_cbd29a1421f6b058 = []byte{ - // 844 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xcb, 0x6e, 0xf3, 0x44, - 0x14, 0x96, 0x53, 0x88, 0xe8, 0xa4, 0xcd, 0x2f, 0x46, 0x85, 0x46, 0x69, 0xd5, 0x06, 0xd3, 0xaa, - 0x21, 0x08, 0x1b, 0xb9, 0x88, 0x16, 0x57, 0x41, 0xb8, 0x11, 0xb4, 0x48, 0xf4, 0x82, 0x8b, 0x22, - 0x81, 0x22, 0x45, 0x53, 0x7b, 0x1a, 0xac, 0xda, 0x1e, 0xe3, 0xb1, 0x83, 0xaa, 0xaa, 0x1b, 0x5e, - 0x01, 0xb1, 0x60, 0xcb, 0x0a, 0xb1, 0x42, 0x88, 0xa7, 0xa8, 0xc4, 0x0a, 0x1e, 0x81, 0x15, 0xaf, - 0xc0, 0x06, 0x79, 0x3c, 0xe3, 0x38, 0x17, 0x37, 0x6d, 0xd9, 0x1d, 0xcf, 0x9c, 0xef, 0x3b, 0xdf, - 0xb9, 0xcc, 0x91, 0xc1, 0xde, 0x80, 0x90, 0x81, 0x8b, 0x55, 0x64, 0x53, 0x35, 0x35, 0x13, 0x6b, - 0xa8, 0xa9, 0x14, 0x87, 0x43, 0xc7, 0xc2, 0x54, 0xb5, 0x62, 0x1a, 0x11, 0x0f, 0x87, 0x7d, 0x7e, - 0xa2, 0x04, 0x21, 0x89, 0x08, 0x6c, 0xa4, 0xde, 0x0a, 0xb2, 0xa9, 0x92, 0x01, 0x95, 0xa1, 0xa6, - 0x08, 0x60, 0x5d, 0x2d, 0xa2, 0xc6, 0x7e, 0xec, 0x51, 0x15, 0x59, 0x16, 0xa6, 0xb4, 0x1f, 0x12, - 0x97, 0x53, 0xd6, 0xdf, 0x2d, 0x02, 0x84, 0x98, 0x92, 0x38, 0xcc, 0x8b, 0xe1, 0x88, 0x75, 0x81, - 0x08, 0x1c, 0x15, 0xf9, 0x3e, 0x89, 0x50, 0xe4, 0x10, 0x9f, 0xf2, 0x5b, 0x2e, 0x51, 0x65, 0x5f, - 0x97, 0xf1, 0x95, 0x7a, 0xe5, 0x60, 0xd7, 0xee, 0x7b, 0x88, 0x5e, 0x73, 0x8f, 0x8d, 0x49, 0x8f, - 0x6f, 0x43, 0x14, 0x04, 0x38, 0x14, 0x0c, 0xab, 0x39, 0x7e, 0xcb, 0x75, 0xb0, 0x1f, 0xa5, 0x17, - 0xf2, 0x07, 0x00, 0x1e, 0xe1, 0xa8, 0xc3, 0xd5, 0x98, 0xf8, 0x9b, 0x18, 0xd3, 0x08, 0xbe, 0x09, - 0x96, 0x85, 0xd4, 0xbe, 0x8f, 0x3c, 0x5c, 0x93, 0x1a, 0x52, 0x73, 0xd1, 0x5c, 0x12, 0x87, 0xa7, - 0xc8, 0xc3, 0xf2, 0xaf, 0x12, 0x78, 0xed, 0x24, 0x8e, 0x50, 0x84, 0x27, 0xe1, 0x9b, 0xa0, 0x92, - 0x15, 0xdb, 0xb1, 0x39, 0x18, 0x88, 0xa3, 0x4f, 0x6d, 0xf8, 0x39, 0x58, 0x24, 0x01, 0x0e, 0x59, - 0x92, 0xb5, 0x97, 0x1a, 0x52, 0xb3, 0xa2, 0xed, 0x2a, 0xf3, 0xfa, 0xa0, 0x88, 0x30, 0x67, 0x02, - 0x6a, 0x8e, 0x58, 0x12, 0xc9, 0x43, 0xe4, 0x3a, 0x36, 0x8a, 0x70, 0x9f, 0xf8, 0xee, 0x4d, 0xed, - 0xe5, 0x86, 0xd4, 0x7c, 0xc5, 0x5c, 0x12, 0x87, 0x67, 0xbe, 0x7b, 0x23, 0xff, 0x56, 0x02, 0x6b, - 0x9d, 0x10, 0xe7, 0x24, 0x77, 0x58, 0x31, 0x1e, 0x2d, 0xfc, 0x0b, 0xf0, 0x22, 0x73, 0x48, 0xeb, - 0x58, 0x2b, 0x31, 0xf9, 0x6f, 0x17, 0xca, 0xcf, 0x7a, 0x9e, 0xe9, 0x37, 0xab, 0xd6, 0x58, 0x74, - 0x68, 0x80, 0x65, 0xec, 0x21, 0xc7, 0xed, 0x23, 0xdb, 0x0e, 0x31, 0xa5, 0xb5, 0x05, 0xc6, 0xb9, - 0x2e, 0x38, 0x45, 0x57, 0x95, 0x8b, 0x28, 0x74, 0xfc, 0x41, 0x17, 0xb9, 0x31, 0x36, 0x97, 0x18, - 0xc4, 0x48, 0x11, 0xf0, 0x4b, 0x50, 0xc9, 0xcd, 0x21, 0xab, 0x69, 0x55, 0xdb, 0x2f, 0x14, 0xc5, - 0x26, 0x57, 0x31, 0x18, 0xc2, 0x24, 0x2e, 0xfe, 0xd8, 0x8f, 0xbd, 0xdc, 0xa7, 0x09, 0x50, 0x66, - 0xcb, 0x3f, 0x48, 0xe0, 0xd5, 0xa9, 0xd2, 0xc3, 0x0e, 0x28, 0xc7, 0x41, 0x52, 0x58, 0x56, 0xa5, - 0x27, 0x16, 0x80, 0x43, 0xe1, 0x01, 0xa8, 0xa4, 0x16, 0x9b, 0x65, 0x5e, 0xca, 0xfa, 0x54, 0xda, - 0x9f, 0x24, 0xe3, 0x7e, 0x82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0x00, 0xff, 0xff, 0x63, 0xd0, 0xcc, 0x4a, 0x7b, 0x09, 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 - -// 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.v2.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.v2.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.v2.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.v2.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) -} - -// UnimplementedCustomerServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCustomerServiceServer struct { -} - -func (*UnimplementedCustomerServiceServer) GetCustomer(ctx context.Context, req *GetCustomerRequest) (*resources.Customer, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCustomer not implemented") -} -func (*UnimplementedCustomerServiceServer) MutateCustomer(ctx context.Context, req *MutateCustomerRequest) (*MutateCustomerResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method MutateCustomer not implemented") -} -func (*UnimplementedCustomerServiceServer) ListAccessibleCustomers(ctx context.Context, req *ListAccessibleCustomersRequest) (*ListAccessibleCustomersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListAccessibleCustomers not implemented") -} -func (*UnimplementedCustomerServiceServer) CreateCustomerClient(ctx context.Context, req *CreateCustomerClientRequest) (*CreateCustomerClientResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateCustomerClient not implemented") -} - -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.v2.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.v2.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.v2.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.v2.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.v2.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/v2/services/customer_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/detail_placement_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/detail_placement_view_service.pb.go deleted file mode 100644 index b175d2b3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/detail_placement_view_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/detail_placement_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [DetailPlacementViewService.GetDetailPlacementView][google.ads.googleads.v2.services.DetailPlacementViewService.GetDetailPlacementView]. -type GetDetailPlacementViewRequest struct { - // The resource name of the Detail 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 *GetDetailPlacementViewRequest) Reset() { *m = GetDetailPlacementViewRequest{} } -func (m *GetDetailPlacementViewRequest) String() string { return proto.CompactTextString(m) } -func (*GetDetailPlacementViewRequest) ProtoMessage() {} -func (*GetDetailPlacementViewRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_24eb6ba92ccb047b, []int{0} -} - -func (m *GetDetailPlacementViewRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDetailPlacementViewRequest.Unmarshal(m, b) -} -func (m *GetDetailPlacementViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDetailPlacementViewRequest.Marshal(b, m, deterministic) -} -func (m *GetDetailPlacementViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDetailPlacementViewRequest.Merge(m, src) -} -func (m *GetDetailPlacementViewRequest) XXX_Size() int { - return xxx_messageInfo_GetDetailPlacementViewRequest.Size(m) -} -func (m *GetDetailPlacementViewRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetDetailPlacementViewRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetDetailPlacementViewRequest proto.InternalMessageInfo - -func (m *GetDetailPlacementViewRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetDetailPlacementViewRequest)(nil), "google.ads.googleads.v2.services.GetDetailPlacementViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/detail_placement_view_service.proto", fileDescriptor_24eb6ba92ccb047b) -} - -var fileDescriptor_24eb6ba92ccb047b = []byte{ - // 398 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0x41, 0x8b, 0xd3, 0x40, - 0x14, 0x26, 0x11, 0x04, 0x83, 0x5e, 0x72, 0xd0, 0x12, 0x15, 0x4b, 0xed, 0x41, 0x7a, 0x98, 0x81, - 0x08, 0x45, 0x46, 0xaa, 0xa4, 0x14, 0xea, 0x49, 0x4a, 0x85, 0x1c, 0x24, 0x10, 0xc6, 0xe4, 0x11, - 0x06, 0x92, 0x99, 0x98, 0x99, 0xa6, 0x07, 0xf1, 0xe2, 0xc1, 0x9b, 0x27, 0xff, 0xc1, 0x1e, 0xf7, - 0xa7, 0xf4, 0xb6, 0xec, 0x5f, 0xd8, 0xd3, 0xfe, 0x8a, 0x25, 0x9d, 0x4c, 0xba, 0x85, 0x66, 0x7b, - 0xfb, 0x98, 0xf7, 0xbd, 0xef, 0x7b, 0xef, 0x7b, 0xe3, 0x2c, 0x32, 0x21, 0xb2, 0x1c, 0x30, 0x4d, - 0x25, 0xd6, 0xb0, 0x41, 0xb5, 0x8f, 0x25, 0x54, 0x35, 0x4b, 0x40, 0xe2, 0x14, 0x14, 0x65, 0x79, - 0x5c, 0xe6, 0x34, 0x81, 0x02, 0xb8, 0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b, 0xfc, 0x4d, 0x7f, 0x6a, 0xab, - 0xe6, 0x3e, 0x2b, 0xeb, 0xfb, 0x97, 0x56, 0x24, 0x13, 0x39, 0xe5, 0x19, 0x12, 0x55, 0x86, 0x33, - 0xe0, 0xfb, 0xeb, 0xe1, 0x83, 0x6d, 0xff, 0xf7, 0xfc, 0x68, 0xc0, 0x85, 0xfd, 0x68, 0x19, 0x04, - 0x97, 0xf6, 0x70, 0xa9, 0x05, 0x83, 0x54, 0x22, 0x0d, 0x1b, 0x14, 0xfa, 0xa8, 0x35, 0x96, 0x3b, - 0x43, 0x89, 0x82, 0x54, 0x46, 0x1d, 0x25, 0x0a, 0xfd, 0xc8, 0x50, 0x6e, 0xed, 0xb1, 0x7e, 0x27, - 0x24, 0x48, 0x25, 0x21, 0x1d, 0x89, 0x90, 0xd0, 0x27, 0xc4, 0xd0, 0x7e, 0x3c, 0xde, 0xcf, 0xf9, - 0xfe, 0x2e, 0x00, 0x00, 0xff, 0xff, 0xee, 0x63, 0x72, 0xdc, 0x45, 0x03, 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 - -// DetailPlacementViewServiceClient is the client API for DetailPlacementViewService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type DetailPlacementViewServiceClient interface { - // Returns the requested Detail Placement view in full detail. - GetDetailPlacementView(ctx context.Context, in *GetDetailPlacementViewRequest, opts ...grpc.CallOption) (*resources.DetailPlacementView, error) -} - -type detailPlacementViewServiceClient struct { - cc *grpc.ClientConn -} - -func NewDetailPlacementViewServiceClient(cc *grpc.ClientConn) DetailPlacementViewServiceClient { - return &detailPlacementViewServiceClient{cc} -} - -func (c *detailPlacementViewServiceClient) GetDetailPlacementView(ctx context.Context, in *GetDetailPlacementViewRequest, opts ...grpc.CallOption) (*resources.DetailPlacementView, error) { - out := new(resources.DetailPlacementView) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.DetailPlacementViewService/GetDetailPlacementView", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// DetailPlacementViewServiceServer is the server API for DetailPlacementViewService service. -type DetailPlacementViewServiceServer interface { - // Returns the requested Detail Placement view in full detail. - GetDetailPlacementView(context.Context, *GetDetailPlacementViewRequest) (*resources.DetailPlacementView, error) -} - -// UnimplementedDetailPlacementViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedDetailPlacementViewServiceServer struct { -} - -func (*UnimplementedDetailPlacementViewServiceServer) GetDetailPlacementView(ctx context.Context, req *GetDetailPlacementViewRequest) (*resources.DetailPlacementView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDetailPlacementView not implemented") -} - -func RegisterDetailPlacementViewServiceServer(s *grpc.Server, srv DetailPlacementViewServiceServer) { - s.RegisterService(&_DetailPlacementViewService_serviceDesc, srv) -} - -func _DetailPlacementViewService_GetDetailPlacementView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDetailPlacementViewRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DetailPlacementViewServiceServer).GetDetailPlacementView(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.DetailPlacementViewService/GetDetailPlacementView", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DetailPlacementViewServiceServer).GetDetailPlacementView(ctx, req.(*GetDetailPlacementViewRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _DetailPlacementViewService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.DetailPlacementViewService", - HandlerType: (*DetailPlacementViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetDetailPlacementView", - Handler: _DetailPlacementViewService_GetDetailPlacementView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/detail_placement_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/display_keyword_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/display_keyword_view_service.pb.go deleted file mode 100644 index 2946a045..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/display_keyword_view_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/display_keyword_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [DisplayKeywordViewService.GetDisplayKeywordView][google.ads.googleads.v2.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_4afaa60c29d9a48e, []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 (m *GetDisplayKeywordViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDisplayKeywordViewRequest.Merge(m, 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.v2.services.GetDisplayKeywordViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/display_keyword_view_service.proto", fileDescriptor_4afaa60c29d9a48e) -} - -var fileDescriptor_4afaa60c29d9a48e = []byte{ - // 400 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xcf, 0x8a, 0xd3, 0x40, - 0x18, 0x27, 0x11, 0x04, 0x83, 0x5e, 0x02, 0x62, 0x8d, 0x45, 0x4a, 0xed, 0x41, 0x7a, 0x98, 0x81, - 0x48, 0x11, 0x46, 0x2b, 0xa4, 0x15, 0x2a, 0x08, 0x52, 0x2a, 0xe4, 0x20, 0x81, 0x30, 0x26, 0x43, - 0x18, 0x4c, 0x32, 0x31, 0x5f, 0x9a, 0x52, 0xc4, 0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, 0x8f, 0x5d, - 0xce, 0x1a, 0xb5, 0xea, 0x9b, 0xca, 0xd0, 0xa1, 0xba, 0x3f, 0x3e, 0xb9, 0xbe, 0x39, 0xd7, 0x3f, - 0x9a, 0xa3, 0xaa, 0xdc, 0x7f, 0xf7, 0xd6, 0x1b, 0x07, 0x4b, 0x28, 0x44, 0xc2, 0x72, 0xc0, 0x43, - 0xd5, 0xf6, 0x9e, 0x14, 0xf0, 0xf0, 0xbf, 0xf5, 0x66, 0xe3, 0x74, 0x76, 0x61, 0x35, 0xca, 0x38, - 0xa0, 0x40, 0x24, 0x93, 0x53, 0xdd, 0x18, 0x04, 0x22, 0x39, 0xba, 0xd8, 0xe4, 0x6d, 0x6b, 0x61, - 0xf3, 0xea, 0x61, 0xe6, 0xda, 0xaf, 0x6f, 0xb5, 0x47, 0x24, 0x62, 0x9a, 0x46, 0x48, 0xe4, 0x11, - 0x8e, 0x58, 0xba, 0x7d, 0x36, 0xbc, 0x4b, 0x6d, 0xff, 0x95, 0x9f, 0x14, 0xb8, 0xd0, 0x9f, 0xcc, - 0x1c, 0xe7, 0x52, 0xef, 0xcd, 0xa4, 0xa1, 0x13, 0x02, 0x92, 0xb0, 0x42, 0xae, 0x8d, 0xea, 0x60, - 0xd8, 0x28, 0x8a, 0xe7, 0x84, 0xe0, 0x35, 0x14, 0xcf, 0xb5, 0x3d, 0x45, 0xb9, 0xd5, 0x07, 0xf2, - 0x9c, 0x10, 0x27, 0x04, 0x42, 0x1a, 0x12, 0x21, 0xae, 0x4d, 0x88, 0xa2, 0xfd, 0x7e, 0xba, 0xbd, - 0xe7, 0x87, 0xbb, 0x00, 0x00, 0x00, 0xff, 0xff, 0xfb, 0x1e, 0x09, 0x1b, 0x3c, 0x03, 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 - -// 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.v2.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) -} - -// UnimplementedDisplayKeywordViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedDisplayKeywordViewServiceServer struct { -} - -func (*UnimplementedDisplayKeywordViewServiceServer) GetDisplayKeywordView(ctx context.Context, req *GetDisplayKeywordViewRequest) (*resources.DisplayKeywordView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDisplayKeywordView not implemented") -} - -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.v2.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.v2.services.DisplayKeywordViewService", - HandlerType: (*DisplayKeywordViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetDisplayKeywordView", - Handler: _DisplayKeywordViewService_GetDisplayKeywordView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/display_keyword_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/distance_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/distance_view_service.pb.go deleted file mode 100644 index 40364ba7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/distance_view_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/distance_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [DistanceViewService.GetDistanceView][google.ads.googleads.v2.services.DistanceViewService.GetDistanceView]. -type GetDistanceViewRequest struct { - // The resource name of the distance 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 *GetDistanceViewRequest) Reset() { *m = GetDistanceViewRequest{} } -func (m *GetDistanceViewRequest) String() string { return proto.CompactTextString(m) } -func (*GetDistanceViewRequest) ProtoMessage() {} -func (*GetDistanceViewRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4de60c8631d2d9d8, []int{0} -} - -func (m *GetDistanceViewRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDistanceViewRequest.Unmarshal(m, b) -} -func (m *GetDistanceViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDistanceViewRequest.Marshal(b, m, deterministic) -} -func (m *GetDistanceViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDistanceViewRequest.Merge(m, src) -} -func (m *GetDistanceViewRequest) XXX_Size() int { - return xxx_messageInfo_GetDistanceViewRequest.Size(m) -} -func (m *GetDistanceViewRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetDistanceViewRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetDistanceViewRequest proto.InternalMessageInfo - -func (m *GetDistanceViewRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetDistanceViewRequest)(nil), "google.ads.googleads.v2.services.GetDistanceViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/distance_view_service.proto", fileDescriptor_4de60c8631d2d9d8) -} - -var fileDescriptor_4de60c8631d2d9d8 = []byte{ - // 388 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 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, 0xa0, 0xdc, 0xbf, 0xce, 0x37, 0x93, 0x38, - 0x12, 0x34, 0x63, 0x0d, 0xab, 0x69, 0xfd, 0xfb, 0x32, 0xfc, 0x6a, 0x86, 0x67, 0x34, 0x63, 0xfe, - 0xc2, 0x72, 0x7e, 0xac, 0x8b, 0xcf, 0xf5, 0x15, 0xee, 0xa3, 0xe5, 0x7c, 0x7f, 0xe7, 0xeb, 0x1e, - 0xa2, 0x5d, 0xb7, 0xa3, 0xcd, 0x4f, 0xf1, 0xf0, 0x56, 0x65, 0xdd, 0x09, 0x5a, 0xd7, 0xb5, 0x0e, - 0x6e, 0x9f, 0x9e, 0xef, 0xec, 0xff, 0x2e, 0x2e, 0x7b, 0xbb, 0x7e, 0x73, 0x46, 0x37, 0x9e, 0x82, - 0x92, 0x19, 0xcb, 0x01, 0x77, 0xea, 0x22, 0x4b, 0x11, 0xe0, 0xce, 0x8d, 0xf7, 0x7b, 0x1e, 0x34, - 0x56, 0x01, 0x15, 0x9a, 0x70, 0x40, 0xb1, 0xcc, 0x7a, 0x2f, 0x96, 0xd3, 0x8e, 0x65, 0xb6, 0xf3, - 0x8c, 0x5e, 0x63, 0x43, 0x25, 0x83, 0xb2, 0xee, 0x81, 0x75, 0x71, 0x5a, 0xa9, 0x53, 0x39, 0xa6, - 0x22, 0x45, 0x32, 0x4f, 0x71, 0xca, 0xc4, 0xf2, 0x63, 0xe0, 0x55, 0xde, 0xf6, 0xbf, 0xeb, 0xc8, - 0x80, 0x7b, 0xfb, 0x53, 0x3f, 0x08, 0x1e, 0xec, 0x66, 0x5f, 0x1b, 0x06, 0x09, 0x20, 0x0d, 0x4b, - 0x14, 0xfa, 0xa8, 0x0a, 0x86, 0xb9, 0xa1, 0x44, 0x41, 0x02, 0x51, 0x4d, 0x89, 0x42, 0x3f, 0x32, - 0x94, 0x85, 0xdd, 0xd6, 0x73, 0x42, 0x82, 0x04, 0x08, 0xa9, 0x49, 0x84, 0x84, 0x3e, 0x21, 0x86, - 0x76, 0xf9, 0x79, 0xf9, 0xce, 0xbd, 0xd7, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb9, 0xd9, 0x38, 0x2a, - 0x04, 0x03, 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 - -// DistanceViewServiceClient is the client API for DistanceViewService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type DistanceViewServiceClient interface { - // Returns the attributes of the requested distance view. - GetDistanceView(ctx context.Context, in *GetDistanceViewRequest, opts ...grpc.CallOption) (*resources.DistanceView, error) -} - -type distanceViewServiceClient struct { - cc *grpc.ClientConn -} - -func NewDistanceViewServiceClient(cc *grpc.ClientConn) DistanceViewServiceClient { - return &distanceViewServiceClient{cc} -} - -func (c *distanceViewServiceClient) GetDistanceView(ctx context.Context, in *GetDistanceViewRequest, opts ...grpc.CallOption) (*resources.DistanceView, error) { - out := new(resources.DistanceView) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.DistanceViewService/GetDistanceView", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// DistanceViewServiceServer is the server API for DistanceViewService service. -type DistanceViewServiceServer interface { - // Returns the attributes of the requested distance view. - GetDistanceView(context.Context, *GetDistanceViewRequest) (*resources.DistanceView, error) -} - -// UnimplementedDistanceViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedDistanceViewServiceServer struct { -} - -func (*UnimplementedDistanceViewServiceServer) GetDistanceView(ctx context.Context, req *GetDistanceViewRequest) (*resources.DistanceView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDistanceView not implemented") -} - -func RegisterDistanceViewServiceServer(s *grpc.Server, srv DistanceViewServiceServer) { - s.RegisterService(&_DistanceViewService_serviceDesc, srv) -} - -func _DistanceViewService_GetDistanceView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDistanceViewRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DistanceViewServiceServer).GetDistanceView(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.DistanceViewService/GetDistanceView", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DistanceViewServiceServer).GetDistanceView(ctx, req.(*GetDistanceViewRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _DistanceViewService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.DistanceViewService", - HandlerType: (*DistanceViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetDistanceView", - Handler: _DistanceViewService_GetDistanceView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/distance_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/domain_category_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/domain_category_service.pb.go deleted file mode 100644 index b1ce962b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/domain_category_service.pb.go +++ /dev/null @@ -1,189 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/domain_category_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [DomainCategoryService.GetDomainCategory][google.ads.googleads.v2.services.DomainCategoryService.GetDomainCategory]. -type GetDomainCategoryRequest struct { - // Resource name of the domain category 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 *GetDomainCategoryRequest) Reset() { *m = GetDomainCategoryRequest{} } -func (m *GetDomainCategoryRequest) String() string { return proto.CompactTextString(m) } -func (*GetDomainCategoryRequest) ProtoMessage() {} -func (*GetDomainCategoryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cb15af8e20123b1c, []int{0} -} - -func (m *GetDomainCategoryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDomainCategoryRequest.Unmarshal(m, b) -} -func (m *GetDomainCategoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDomainCategoryRequest.Marshal(b, m, deterministic) -} -func (m *GetDomainCategoryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDomainCategoryRequest.Merge(m, src) -} -func (m *GetDomainCategoryRequest) XXX_Size() int { - return xxx_messageInfo_GetDomainCategoryRequest.Size(m) -} -func (m *GetDomainCategoryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetDomainCategoryRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetDomainCategoryRequest proto.InternalMessageInfo - -func (m *GetDomainCategoryRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetDomainCategoryRequest)(nil), "google.ads.googleads.v2.services.GetDomainCategoryRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/domain_category_service.proto", fileDescriptor_cb15af8e20123b1c) -} - -var fileDescriptor_cb15af8e20123b1c = []byte{ - // 387 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xcd, 0x4a, 0xeb, 0x40, - 0x14, 0x26, 0xb9, 0x70, 0xe1, 0x86, 0xeb, 0xc2, 0x80, 0x58, 0xa2, 0x8b, 0x52, 0xbb, 0x90, 0x2e, - 0x66, 0x30, 0x0a, 0xc2, 0x88, 0x4a, 0xaa, 0x50, 0x57, 0x52, 0x2a, 0x74, 0x21, 0x81, 0x32, 0x26, - 0x43, 0x08, 0x34, 0x33, 0x35, 0x67, 0x5a, 0x10, 0x71, 0xa1, 0xaf, 0xe0, 0x1b, 0xb8, 0xf4, 0x21, - 0x7c, 0x80, 0x6e, 0x7d, 0x05, 0x57, 0xee, 0xdd, 0x4b, 0x3a, 0x33, 0xa9, 0xc5, 0x86, 0xee, 0x3e, - 0xe6, 0x7c, 0x3f, 0xe7, 0x7c, 0x89, 0x73, 0x92, 0x08, 0x91, 0x0c, 0x19, 0xa6, 0x31, 0x60, 0x05, - 0x0b, 0x34, 0xf1, 0x31, 0xb0, 0x7c, 0x92, 0x46, 0x0c, 0x70, 0x2c, 0x32, 0x9a, 0xf2, 0x41, 0x44, - 0x25, 0x4b, 0x44, 0x7e, 0x37, 0xd0, 0x03, 0x34, 0xca, 0x85, 0x14, 0x6e, 0x5d, 0x89, 0x10, 0x8d, - 0x01, 0x95, 0x7a, 0x34, 0xf1, 0x91, 0xd1, 0x7b, 0x87, 0x55, 0x09, 0x39, 0x03, 0x31, 0xce, 0x97, - 0x44, 0x28, 0x6b, 0x6f, 0xdb, 0x08, 0x47, 0x29, 0xa6, 0x9c, 0x0b, 0x49, 0x65, 0x2a, 0x38, 0xe8, - 0xe9, 0xe6, 0x8f, 0x69, 0x34, 0x4c, 0x19, 0x97, 0x6a, 0xd0, 0x38, 0x75, 0x6a, 0x1d, 0x26, 0xcf, - 0x67, 0x96, 0x67, 0xda, 0xb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x44, 0x48, 0xdf, 0x27, 0xc4, 0xd0, - 0x6e, 0xfe, 0xce, 0xf6, 0xdc, 0xff, 0x0e, 0x00, 0x00, 0xff, 0xff, 0xfe, 0x66, 0x20, 0x47, 0x17, - 0x03, 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 - -// DomainCategoryServiceClient is the client API for DomainCategoryService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type DomainCategoryServiceClient interface { - // Returns the requested domain category. - GetDomainCategory(ctx context.Context, in *GetDomainCategoryRequest, opts ...grpc.CallOption) (*resources.DomainCategory, error) -} - -type domainCategoryServiceClient struct { - cc *grpc.ClientConn -} - -func NewDomainCategoryServiceClient(cc *grpc.ClientConn) DomainCategoryServiceClient { - return &domainCategoryServiceClient{cc} -} - -func (c *domainCategoryServiceClient) GetDomainCategory(ctx context.Context, in *GetDomainCategoryRequest, opts ...grpc.CallOption) (*resources.DomainCategory, error) { - out := new(resources.DomainCategory) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.DomainCategoryService/GetDomainCategory", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// DomainCategoryServiceServer is the server API for DomainCategoryService service. -type DomainCategoryServiceServer interface { - // Returns the requested domain category. - GetDomainCategory(context.Context, *GetDomainCategoryRequest) (*resources.DomainCategory, error) -} - -// UnimplementedDomainCategoryServiceServer can be embedded to have forward compatible implementations. -type UnimplementedDomainCategoryServiceServer struct { -} - -func (*UnimplementedDomainCategoryServiceServer) GetDomainCategory(ctx context.Context, req *GetDomainCategoryRequest) (*resources.DomainCategory, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDomainCategory not implemented") -} - -func RegisterDomainCategoryServiceServer(s *grpc.Server, srv DomainCategoryServiceServer) { - s.RegisterService(&_DomainCategoryService_serviceDesc, srv) -} - -func _DomainCategoryService_GetDomainCategory_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDomainCategoryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DomainCategoryServiceServer).GetDomainCategory(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.DomainCategoryService/GetDomainCategory", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DomainCategoryServiceServer).GetDomainCategory(ctx, req.(*GetDomainCategoryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _DomainCategoryService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.DomainCategoryService", - HandlerType: (*DomainCategoryServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetDomainCategory", - Handler: _DomainCategoryService_GetDomainCategory_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/domain_category_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/dynamic_search_ads_search_term_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/dynamic_search_ads_search_term_view_service.pb.go deleted file mode 100644 index 3f7084ac..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/dynamic_search_ads_search_term_view_service.pb.go +++ /dev/null @@ -1,192 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/dynamic_search_ads_search_term_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [DynamicSearchAdsSearchTermViewService.GetDynamicSearchAdsSearchTermView][google.ads.googleads.v2.services.DynamicSearchAdsSearchTermViewService.GetDynamicSearchAdsSearchTermView]. -type GetDynamicSearchAdsSearchTermViewRequest struct { - // The resource name of the dynamic search ads 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 *GetDynamicSearchAdsSearchTermViewRequest) Reset() { - *m = GetDynamicSearchAdsSearchTermViewRequest{} -} -func (m *GetDynamicSearchAdsSearchTermViewRequest) String() string { return proto.CompactTextString(m) } -func (*GetDynamicSearchAdsSearchTermViewRequest) ProtoMessage() {} -func (*GetDynamicSearchAdsSearchTermViewRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_92c56683a8a76be6, []int{0} -} - -func (m *GetDynamicSearchAdsSearchTermViewRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDynamicSearchAdsSearchTermViewRequest.Unmarshal(m, b) -} -func (m *GetDynamicSearchAdsSearchTermViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDynamicSearchAdsSearchTermViewRequest.Marshal(b, m, deterministic) -} -func (m *GetDynamicSearchAdsSearchTermViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDynamicSearchAdsSearchTermViewRequest.Merge(m, src) -} -func (m *GetDynamicSearchAdsSearchTermViewRequest) XXX_Size() int { - return xxx_messageInfo_GetDynamicSearchAdsSearchTermViewRequest.Size(m) -} -func (m *GetDynamicSearchAdsSearchTermViewRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetDynamicSearchAdsSearchTermViewRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetDynamicSearchAdsSearchTermViewRequest proto.InternalMessageInfo - -func (m *GetDynamicSearchAdsSearchTermViewRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetDynamicSearchAdsSearchTermViewRequest)(nil), "google.ads.googleads.v2.services.GetDynamicSearchAdsSearchTermViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/dynamic_search_ads_search_term_view_service.proto", fileDescriptor_92c56683a8a76be6) -} - -var fileDescriptor_92c56683a8a76be6 = []byte{ - // 412 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0x4f, 0x8b, 0xd4, 0x30, - 0x18, 0xc6, 0x99, 0x0a, 0x82, 0x45, 0x2f, 0xbd, 0xb8, 0x8c, 0x1e, 0xc6, 0x75, 0x85, 0x65, 0x0e, - 0x09, 0xd4, 0x5b, 0xc4, 0x43, 0x56, 0x61, 0xfc, 0x03, 0xba, 0xcc, 0xca, 0x1c, 0xa4, 0x50, 0x62, - 0xf3, 0x52, 0x03, 0x93, 0x64, 0xcc, 0x9b, 0xe9, 0x22, 0xe2, 0xc5, 0x6f, 0x20, 0x7e, 0x03, 0x8f, - 0x7e, 0x0e, 0x4f, 0x7b, 0xf5, 0x2b, 0x78, 0xf2, 0x3b, 0x08, 0xd2, 0x49, 0xd3, 0x75, 0x0f, 0x9d, - 0x99, 0xdb, 0x43, 0xde, 0x87, 0xdf, 0xf3, 0xfe, 0x69, 0xd3, 0x79, 0x6d, 0x6d, 0xbd, 0x04, 0x2a, - 0x24, 0xd2, 0x20, 0x5b, 0xd5, 0xe4, 0x14, 0xc1, 0x35, 0xaa, 0x02, 0xa4, 0xf2, 0xa3, 0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0x0b, 0x7e, 0x70, 0xd9, 0x44, 0xa7, 0x56, 0x0a, 0x49, 0x65, 0xf5, 0xc9, - 0xd7, 0x24, 0x3d, 0xaa, 0xac, 0xde, 0x39, 0xfc, 0xc9, 0x74, 0xaf, 0x65, 0x9f, 0xb6, 0xc7, 0x3e, - 0x1d, 0xbd, 0x7d, 0xd6, 0xf1, 0x6a, 0xbb, 0x14, 0xa6, 0x26, 0xd6, 0xd5, 0xb4, 0x06, 0xb3, 0xf9, - 0x14, 0xe8, 0x65, 0x07, 0xc3, 0xff, 0xc1, 0xa3, 0x28, 0xbe, 0x27, 0xd7, 0x66, 0x9c, 0xff, 0x48, - 0x26, 0xb3, 0x00, 0xe4, 0x12, 0x49, 0x90, 0xad, 0x5a, 0xe4, 0xa4, 0x0b, 0xc6, 0x8b, 0x68, 0x29, - 0xb8, 0xc4, 0xa2, 0xb7, 0x14, 0x8b, 0xbc, 0x88, 0x96, 0x3f, 0xc9, 0x51, 0x78, 0x67, 0x8c, 0x4b, - 0x64, 0xac, 0x37, 0x31, 0xb6, 0xc8, 0x19, 0x8b, 0xb6, 0x77, 0xd7, 0x37, 0x7d, 0x3e, 0xfc, 0x17, - 0x00, 0x00, 0xff, 0xff, 0x44, 0x70, 0x61, 0x55, 0xae, 0x03, 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 - -// DynamicSearchAdsSearchTermViewServiceClient is the client API for DynamicSearchAdsSearchTermViewService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type DynamicSearchAdsSearchTermViewServiceClient interface { - // Returns the requested dynamic search ads search term view in full detail. - GetDynamicSearchAdsSearchTermView(ctx context.Context, in *GetDynamicSearchAdsSearchTermViewRequest, opts ...grpc.CallOption) (*resources.DynamicSearchAdsSearchTermView, error) -} - -type dynamicSearchAdsSearchTermViewServiceClient struct { - cc *grpc.ClientConn -} - -func NewDynamicSearchAdsSearchTermViewServiceClient(cc *grpc.ClientConn) DynamicSearchAdsSearchTermViewServiceClient { - return &dynamicSearchAdsSearchTermViewServiceClient{cc} -} - -func (c *dynamicSearchAdsSearchTermViewServiceClient) GetDynamicSearchAdsSearchTermView(ctx context.Context, in *GetDynamicSearchAdsSearchTermViewRequest, opts ...grpc.CallOption) (*resources.DynamicSearchAdsSearchTermView, error) { - out := new(resources.DynamicSearchAdsSearchTermView) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.DynamicSearchAdsSearchTermViewService/GetDynamicSearchAdsSearchTermView", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// DynamicSearchAdsSearchTermViewServiceServer is the server API for DynamicSearchAdsSearchTermViewService service. -type DynamicSearchAdsSearchTermViewServiceServer interface { - // Returns the requested dynamic search ads search term view in full detail. - GetDynamicSearchAdsSearchTermView(context.Context, *GetDynamicSearchAdsSearchTermViewRequest) (*resources.DynamicSearchAdsSearchTermView, error) -} - -// UnimplementedDynamicSearchAdsSearchTermViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedDynamicSearchAdsSearchTermViewServiceServer struct { -} - -func (*UnimplementedDynamicSearchAdsSearchTermViewServiceServer) GetDynamicSearchAdsSearchTermView(ctx context.Context, req *GetDynamicSearchAdsSearchTermViewRequest) (*resources.DynamicSearchAdsSearchTermView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDynamicSearchAdsSearchTermView not implemented") -} - -func RegisterDynamicSearchAdsSearchTermViewServiceServer(s *grpc.Server, srv DynamicSearchAdsSearchTermViewServiceServer) { - s.RegisterService(&_DynamicSearchAdsSearchTermViewService_serviceDesc, srv) -} - -func _DynamicSearchAdsSearchTermViewService_GetDynamicSearchAdsSearchTermView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDynamicSearchAdsSearchTermViewRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DynamicSearchAdsSearchTermViewServiceServer).GetDynamicSearchAdsSearchTermView(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.DynamicSearchAdsSearchTermViewService/GetDynamicSearchAdsSearchTermView", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DynamicSearchAdsSearchTermViewServiceServer).GetDynamicSearchAdsSearchTermView(ctx, req.(*GetDynamicSearchAdsSearchTermViewRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _DynamicSearchAdsSearchTermViewService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.DynamicSearchAdsSearchTermViewService", - HandlerType: (*DynamicSearchAdsSearchTermViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetDynamicSearchAdsSearchTermView", - Handler: _DynamicSearchAdsSearchTermViewService_GetDynamicSearchAdsSearchTermView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/dynamic_search_ads_search_term_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/expanded_landing_page_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/expanded_landing_page_view_service.pb.go deleted file mode 100644 index 8e438e86..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/expanded_landing_page_view_service.pb.go +++ /dev/null @@ -1,189 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/expanded_landing_page_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [ExpandedLandingPageViewService.GetExpandedLandingPageView][google.ads.googleads.v2.services.ExpandedLandingPageViewService.GetExpandedLandingPageView]. -type GetExpandedLandingPageViewRequest struct { - // The resource name of the expanded landing page 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 *GetExpandedLandingPageViewRequest) Reset() { *m = GetExpandedLandingPageViewRequest{} } -func (m *GetExpandedLandingPageViewRequest) String() string { return proto.CompactTextString(m) } -func (*GetExpandedLandingPageViewRequest) ProtoMessage() {} -func (*GetExpandedLandingPageViewRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_5b70cd24f444e38d, []int{0} -} - -func (m *GetExpandedLandingPageViewRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetExpandedLandingPageViewRequest.Unmarshal(m, b) -} -func (m *GetExpandedLandingPageViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetExpandedLandingPageViewRequest.Marshal(b, m, deterministic) -} -func (m *GetExpandedLandingPageViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetExpandedLandingPageViewRequest.Merge(m, src) -} -func (m *GetExpandedLandingPageViewRequest) XXX_Size() int { - return xxx_messageInfo_GetExpandedLandingPageViewRequest.Size(m) -} -func (m *GetExpandedLandingPageViewRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetExpandedLandingPageViewRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetExpandedLandingPageViewRequest proto.InternalMessageInfo - -func (m *GetExpandedLandingPageViewRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetExpandedLandingPageViewRequest)(nil), "google.ads.googleads.v2.services.GetExpandedLandingPageViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/expanded_landing_page_view_service.proto", fileDescriptor_5b70cd24f444e38d) -} - -var fileDescriptor_5b70cd24f444e38d = []byte{ - // 400 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xcf, 0xaa, 0xd3, 0x40, - 0x14, 0xc6, 0x49, 0x04, 0xc1, 0xa0, 0x9b, 0x6c, 0x2c, 0x51, 0xa4, 0xb6, 0x5d, 0x48, 0x17, 0x33, - 0x10, 0x77, 0xa3, 0x2e, 0x12, 0x91, 0x56, 0x10, 0x29, 0x15, 0xb2, 0x90, 0x40, 0x18, 0x33, 0x87, - 0x61, 0x20, 0x99, 0x89, 0x99, 0x34, 0x15, 0xc4, 0x8d, 0x4b, 0xb7, 0x3e, 0x81, 0x2e, 0x7d, 0x94, - 0x6e, 0x7d, 0x02, 0xc1, 0x95, 0x4f, 0x21, 0xe9, 0x64, 0xd2, 0x7b, 0x2f, 0xa4, 0xdd, 0x7d, 0xe4, - 0x7c, 0xf3, 0xfb, 0xce, 0x9f, 0x78, 0xaf, 0xb9, 0x52, 0xbc, 0x00, 0x4c, 0x99, 0xc6, 0x46, 0x76, - 0xaa, 0x0d, 0xb1, 0x86, 0xba, 0x15, 0x39, 0x68, 0x0c, 0x9f, 0x2a, 0x2a, 0x19, 0xb0, 0xac, 0xa0, - 0x92, 0x09, 0xc9, 0xb3, 0x8a, 0x72, 0xc8, 0x5a, 0x01, 0xfb, 0xac, 0xf7, 0xa0, 0xaa, 0x56, 0x8d, - 0xf2, 0xa7, 0xe6, 0x3d, 0xa2, 0x4c, 0xa3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, 0x52, 0x35, - 0xc7, 0x1c, 0xe4, 0xf1, 0xb2, 0xf8, 0x14, 0x3d, 0xfe, 0x13, 0x3f, 0xb3, 0xe2, 0xa7, 0x7b, 0x6b, - 0x15, 0x45, 0xbf, 0xdc, 0xe9, 0xca, 0x00, 0x23, 0xa6, 0x91, 0x91, 0x9d, 0x4a, 0x42, 0xd4, 0x07, - 0xeb, 0x83, 0xb5, 0xa4, 0x11, 0xd3, 0xe9, 0x60, 0x49, 0x93, 0x30, 0xb5, 0x96, 0x7f, 0xee, 0xc2, - 0x7c, 0x27, 0x24, 0x62, 0x9a, 0x90, 0xc1, 0x44, 0x48, 0x12, 0x12, 0x62, 0x6d, 0x1f, 0x6e, 0x1f, - 0xfb, 0x7c, 0xfa, 0x3f, 0x00, 0x00, 0xff, 0xff, 0xe0, 0x6d, 0xef, 0x62, 0x6b, 0x03, 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 - -// ExpandedLandingPageViewServiceClient is the client API for ExpandedLandingPageViewService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ExpandedLandingPageViewServiceClient interface { - // Returns the requested expanded landing page view in full detail. - GetExpandedLandingPageView(ctx context.Context, in *GetExpandedLandingPageViewRequest, opts ...grpc.CallOption) (*resources.ExpandedLandingPageView, error) -} - -type expandedLandingPageViewServiceClient struct { - cc *grpc.ClientConn -} - -func NewExpandedLandingPageViewServiceClient(cc *grpc.ClientConn) ExpandedLandingPageViewServiceClient { - return &expandedLandingPageViewServiceClient{cc} -} - -func (c *expandedLandingPageViewServiceClient) GetExpandedLandingPageView(ctx context.Context, in *GetExpandedLandingPageViewRequest, opts ...grpc.CallOption) (*resources.ExpandedLandingPageView, error) { - out := new(resources.ExpandedLandingPageView) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.ExpandedLandingPageViewService/GetExpandedLandingPageView", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ExpandedLandingPageViewServiceServer is the server API for ExpandedLandingPageViewService service. -type ExpandedLandingPageViewServiceServer interface { - // Returns the requested expanded landing page view in full detail. - GetExpandedLandingPageView(context.Context, *GetExpandedLandingPageViewRequest) (*resources.ExpandedLandingPageView, error) -} - -// UnimplementedExpandedLandingPageViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedExpandedLandingPageViewServiceServer struct { -} - -func (*UnimplementedExpandedLandingPageViewServiceServer) GetExpandedLandingPageView(ctx context.Context, req *GetExpandedLandingPageViewRequest) (*resources.ExpandedLandingPageView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetExpandedLandingPageView not implemented") -} - -func RegisterExpandedLandingPageViewServiceServer(s *grpc.Server, srv ExpandedLandingPageViewServiceServer) { - s.RegisterService(&_ExpandedLandingPageViewService_serviceDesc, srv) -} - -func _ExpandedLandingPageViewService_GetExpandedLandingPageView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetExpandedLandingPageViewRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ExpandedLandingPageViewServiceServer).GetExpandedLandingPageView(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.ExpandedLandingPageViewService/GetExpandedLandingPageView", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ExpandedLandingPageViewServiceServer).GetExpandedLandingPageView(ctx, req.(*GetExpandedLandingPageViewRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ExpandedLandingPageViewService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.ExpandedLandingPageViewService", - HandlerType: (*ExpandedLandingPageViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetExpandedLandingPageView", - Handler: _ExpandedLandingPageViewService_GetExpandedLandingPageView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/expanded_landing_page_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/extension_feed_item_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/extension_feed_item_service.pb.go deleted file mode 100644 index fbfc15d3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/extension_feed_item_service.pb.go +++ /dev/null @@ -1,529 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/extension_feed_item_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [ExtensionFeedItemService.GetExtensionFeedItem][google.ads.googleads.v2.services.ExtensionFeedItemService.GetExtensionFeedItem]. -type GetExtensionFeedItemRequest struct { - // The resource name of the extension 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 *GetExtensionFeedItemRequest) Reset() { *m = GetExtensionFeedItemRequest{} } -func (m *GetExtensionFeedItemRequest) String() string { return proto.CompactTextString(m) } -func (*GetExtensionFeedItemRequest) ProtoMessage() {} -func (*GetExtensionFeedItemRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7c5dbef799dad946, []int{0} -} - -func (m *GetExtensionFeedItemRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetExtensionFeedItemRequest.Unmarshal(m, b) -} -func (m *GetExtensionFeedItemRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetExtensionFeedItemRequest.Marshal(b, m, deterministic) -} -func (m *GetExtensionFeedItemRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetExtensionFeedItemRequest.Merge(m, src) -} -func (m *GetExtensionFeedItemRequest) XXX_Size() int { - return xxx_messageInfo_GetExtensionFeedItemRequest.Size(m) -} -func (m *GetExtensionFeedItemRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetExtensionFeedItemRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetExtensionFeedItemRequest proto.InternalMessageInfo - -func (m *GetExtensionFeedItemRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for [ExtensionFeedItemService.MutateExtensionFeedItems][google.ads.googleads.v2.services.ExtensionFeedItemService.MutateExtensionFeedItems]. -type MutateExtensionFeedItemsRequest struct { - // The ID of the customer whose extension 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 extension feed items. - Operations []*ExtensionFeedItemOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateExtensionFeedItemsRequest) Reset() { *m = MutateExtensionFeedItemsRequest{} } -func (m *MutateExtensionFeedItemsRequest) String() string { return proto.CompactTextString(m) } -func (*MutateExtensionFeedItemsRequest) ProtoMessage() {} -func (*MutateExtensionFeedItemsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7c5dbef799dad946, []int{1} -} - -func (m *MutateExtensionFeedItemsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateExtensionFeedItemsRequest.Unmarshal(m, b) -} -func (m *MutateExtensionFeedItemsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateExtensionFeedItemsRequest.Marshal(b, m, deterministic) -} -func (m *MutateExtensionFeedItemsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateExtensionFeedItemsRequest.Merge(m, src) -} -func (m *MutateExtensionFeedItemsRequest) XXX_Size() int { - return xxx_messageInfo_MutateExtensionFeedItemsRequest.Size(m) -} -func (m *MutateExtensionFeedItemsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateExtensionFeedItemsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateExtensionFeedItemsRequest proto.InternalMessageInfo - -func (m *MutateExtensionFeedItemsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateExtensionFeedItemsRequest) GetOperations() []*ExtensionFeedItemOperation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *MutateExtensionFeedItemsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateExtensionFeedItemsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// A single operation (create, update, remove) on an extension feed item. -type ExtensionFeedItemOperation 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: - // *ExtensionFeedItemOperation_Create - // *ExtensionFeedItemOperation_Update - // *ExtensionFeedItemOperation_Remove - Operation isExtensionFeedItemOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExtensionFeedItemOperation) Reset() { *m = ExtensionFeedItemOperation{} } -func (m *ExtensionFeedItemOperation) String() string { return proto.CompactTextString(m) } -func (*ExtensionFeedItemOperation) ProtoMessage() {} -func (*ExtensionFeedItemOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_7c5dbef799dad946, []int{2} -} - -func (m *ExtensionFeedItemOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExtensionFeedItemOperation.Unmarshal(m, b) -} -func (m *ExtensionFeedItemOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExtensionFeedItemOperation.Marshal(b, m, deterministic) -} -func (m *ExtensionFeedItemOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExtensionFeedItemOperation.Merge(m, src) -} -func (m *ExtensionFeedItemOperation) XXX_Size() int { - return xxx_messageInfo_ExtensionFeedItemOperation.Size(m) -} -func (m *ExtensionFeedItemOperation) XXX_DiscardUnknown() { - xxx_messageInfo_ExtensionFeedItemOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_ExtensionFeedItemOperation proto.InternalMessageInfo - -func (m *ExtensionFeedItemOperation) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -type isExtensionFeedItemOperation_Operation interface { - isExtensionFeedItemOperation_Operation() -} - -type ExtensionFeedItemOperation_Create struct { - Create *resources.ExtensionFeedItem `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type ExtensionFeedItemOperation_Update struct { - Update *resources.ExtensionFeedItem `protobuf:"bytes,2,opt,name=update,proto3,oneof"` -} - -type ExtensionFeedItemOperation_Remove struct { - Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` -} - -func (*ExtensionFeedItemOperation_Create) isExtensionFeedItemOperation_Operation() {} - -func (*ExtensionFeedItemOperation_Update) isExtensionFeedItemOperation_Operation() {} - -func (*ExtensionFeedItemOperation_Remove) isExtensionFeedItemOperation_Operation() {} - -func (m *ExtensionFeedItemOperation) GetOperation() isExtensionFeedItemOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *ExtensionFeedItemOperation) GetCreate() *resources.ExtensionFeedItem { - if x, ok := m.GetOperation().(*ExtensionFeedItemOperation_Create); ok { - return x.Create - } - return nil -} - -func (m *ExtensionFeedItemOperation) GetUpdate() *resources.ExtensionFeedItem { - if x, ok := m.GetOperation().(*ExtensionFeedItemOperation_Update); ok { - return x.Update - } - return nil -} - -func (m *ExtensionFeedItemOperation) GetRemove() string { - if x, ok := m.GetOperation().(*ExtensionFeedItemOperation_Remove); ok { - return x.Remove - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ExtensionFeedItemOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ExtensionFeedItemOperation_Create)(nil), - (*ExtensionFeedItemOperation_Update)(nil), - (*ExtensionFeedItemOperation_Remove)(nil), - } -} - -// Response message for an extension feed item mutate. -type MutateExtensionFeedItemsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // All results for the mutate. - Results []*MutateExtensionFeedItemResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateExtensionFeedItemsResponse) Reset() { *m = MutateExtensionFeedItemsResponse{} } -func (m *MutateExtensionFeedItemsResponse) String() string { return proto.CompactTextString(m) } -func (*MutateExtensionFeedItemsResponse) ProtoMessage() {} -func (*MutateExtensionFeedItemsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7c5dbef799dad946, []int{3} -} - -func (m *MutateExtensionFeedItemsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateExtensionFeedItemsResponse.Unmarshal(m, b) -} -func (m *MutateExtensionFeedItemsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateExtensionFeedItemsResponse.Marshal(b, m, deterministic) -} -func (m *MutateExtensionFeedItemsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateExtensionFeedItemsResponse.Merge(m, src) -} -func (m *MutateExtensionFeedItemsResponse) XXX_Size() int { - return xxx_messageInfo_MutateExtensionFeedItemsResponse.Size(m) -} -func (m *MutateExtensionFeedItemsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateExtensionFeedItemsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateExtensionFeedItemsResponse proto.InternalMessageInfo - -func (m *MutateExtensionFeedItemsResponse) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -func (m *MutateExtensionFeedItemsResponse) GetResults() []*MutateExtensionFeedItemResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for the extension feed item mutate. -type MutateExtensionFeedItemResult 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 *MutateExtensionFeedItemResult) Reset() { *m = MutateExtensionFeedItemResult{} } -func (m *MutateExtensionFeedItemResult) String() string { return proto.CompactTextString(m) } -func (*MutateExtensionFeedItemResult) ProtoMessage() {} -func (*MutateExtensionFeedItemResult) Descriptor() ([]byte, []int) { - return fileDescriptor_7c5dbef799dad946, []int{4} -} - -func (m *MutateExtensionFeedItemResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateExtensionFeedItemResult.Unmarshal(m, b) -} -func (m *MutateExtensionFeedItemResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateExtensionFeedItemResult.Marshal(b, m, deterministic) -} -func (m *MutateExtensionFeedItemResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateExtensionFeedItemResult.Merge(m, src) -} -func (m *MutateExtensionFeedItemResult) XXX_Size() int { - return xxx_messageInfo_MutateExtensionFeedItemResult.Size(m) -} -func (m *MutateExtensionFeedItemResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateExtensionFeedItemResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateExtensionFeedItemResult proto.InternalMessageInfo - -func (m *MutateExtensionFeedItemResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetExtensionFeedItemRequest)(nil), "google.ads.googleads.v2.services.GetExtensionFeedItemRequest") - proto.RegisterType((*MutateExtensionFeedItemsRequest)(nil), "google.ads.googleads.v2.services.MutateExtensionFeedItemsRequest") - proto.RegisterType((*ExtensionFeedItemOperation)(nil), "google.ads.googleads.v2.services.ExtensionFeedItemOperation") - proto.RegisterType((*MutateExtensionFeedItemsResponse)(nil), "google.ads.googleads.v2.services.MutateExtensionFeedItemsResponse") - proto.RegisterType((*MutateExtensionFeedItemResult)(nil), "google.ads.googleads.v2.services.MutateExtensionFeedItemResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/extension_feed_item_service.proto", fileDescriptor_7c5dbef799dad946) -} - -var fileDescriptor_7c5dbef799dad946 = []byte{ - // 734 bytes of a gzipped FileDescriptorProto - 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00, 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 - -// ExtensionFeedItemServiceClient is the client API for ExtensionFeedItemService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ExtensionFeedItemServiceClient interface { - // Returns the requested extension feed item in full detail. - GetExtensionFeedItem(ctx context.Context, in *GetExtensionFeedItemRequest, opts ...grpc.CallOption) (*resources.ExtensionFeedItem, error) - // Creates, updates, or removes extension feed items. Operation - // statuses are returned. - MutateExtensionFeedItems(ctx context.Context, in *MutateExtensionFeedItemsRequest, opts ...grpc.CallOption) (*MutateExtensionFeedItemsResponse, error) -} - -type extensionFeedItemServiceClient struct { - cc *grpc.ClientConn -} - -func NewExtensionFeedItemServiceClient(cc *grpc.ClientConn) ExtensionFeedItemServiceClient { - return &extensionFeedItemServiceClient{cc} -} - -func (c *extensionFeedItemServiceClient) GetExtensionFeedItem(ctx context.Context, in *GetExtensionFeedItemRequest, opts ...grpc.CallOption) (*resources.ExtensionFeedItem, error) { - out := new(resources.ExtensionFeedItem) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.ExtensionFeedItemService/GetExtensionFeedItem", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *extensionFeedItemServiceClient) MutateExtensionFeedItems(ctx context.Context, in *MutateExtensionFeedItemsRequest, opts ...grpc.CallOption) (*MutateExtensionFeedItemsResponse, error) { - out := new(MutateExtensionFeedItemsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.ExtensionFeedItemService/MutateExtensionFeedItems", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ExtensionFeedItemServiceServer is the server API for ExtensionFeedItemService service. -type ExtensionFeedItemServiceServer interface { - // Returns the requested extension feed item in full detail. - GetExtensionFeedItem(context.Context, *GetExtensionFeedItemRequest) (*resources.ExtensionFeedItem, error) - // Creates, updates, or removes extension feed items. Operation - // statuses are returned. - MutateExtensionFeedItems(context.Context, *MutateExtensionFeedItemsRequest) (*MutateExtensionFeedItemsResponse, error) -} - -// UnimplementedExtensionFeedItemServiceServer can be embedded to have forward compatible implementations. -type UnimplementedExtensionFeedItemServiceServer struct { -} - -func (*UnimplementedExtensionFeedItemServiceServer) GetExtensionFeedItem(ctx context.Context, req *GetExtensionFeedItemRequest) (*resources.ExtensionFeedItem, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetExtensionFeedItem not implemented") -} -func (*UnimplementedExtensionFeedItemServiceServer) MutateExtensionFeedItems(ctx context.Context, req *MutateExtensionFeedItemsRequest) (*MutateExtensionFeedItemsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateExtensionFeedItems not implemented") -} - -func RegisterExtensionFeedItemServiceServer(s *grpc.Server, srv ExtensionFeedItemServiceServer) { - s.RegisterService(&_ExtensionFeedItemService_serviceDesc, srv) -} - -func _ExtensionFeedItemService_GetExtensionFeedItem_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetExtensionFeedItemRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ExtensionFeedItemServiceServer).GetExtensionFeedItem(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.ExtensionFeedItemService/GetExtensionFeedItem", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ExtensionFeedItemServiceServer).GetExtensionFeedItem(ctx, req.(*GetExtensionFeedItemRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ExtensionFeedItemService_MutateExtensionFeedItems_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateExtensionFeedItemsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ExtensionFeedItemServiceServer).MutateExtensionFeedItems(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.ExtensionFeedItemService/MutateExtensionFeedItems", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ExtensionFeedItemServiceServer).MutateExtensionFeedItems(ctx, req.(*MutateExtensionFeedItemsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ExtensionFeedItemService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.ExtensionFeedItemService", - HandlerType: (*ExtensionFeedItemServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetExtensionFeedItem", - Handler: _ExtensionFeedItemService_GetExtensionFeedItem_Handler, - }, - { - MethodName: "MutateExtensionFeedItems", - Handler: _ExtensionFeedItemService_MutateExtensionFeedItems_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/extension_feed_item_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/feed_item_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/feed_item_service.pb.go deleted file mode 100644 index cd1883be..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/feed_item_service.pb.go +++ /dev/null @@ -1,528 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/feed_item_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [FeedItemService.GetFeedItem][google.ads.googleads.v2.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_151bd147701fdcb3, []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 (m *GetFeedItemRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetFeedItemRequest.Merge(m, 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.v2.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_151bd147701fdcb3, []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 (m *MutateFeedItemsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateFeedItemsRequest.Merge(m, 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 -} - -func (m *MutateFeedItemsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateFeedItemsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_151bd147701fdcb3, []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 (m *FeedItemOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedItemOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*FeedItemOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*FeedItemOperation_Create)(nil), - (*FeedItemOperation_Update)(nil), - (*FeedItemOperation_Remove)(nil), - } -} - -// Response message for an feed item mutate. -type MutateFeedItemsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_151bd147701fdcb3, []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 (m *MutateFeedItemsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateFeedItemsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_151bd147701fdcb3, []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 (m *MutateFeedItemResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateFeedItemResult.Merge(m, 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.v2.services.GetFeedItemRequest") - proto.RegisterType((*MutateFeedItemsRequest)(nil), "google.ads.googleads.v2.services.MutateFeedItemsRequest") - proto.RegisterType((*FeedItemOperation)(nil), "google.ads.googleads.v2.services.FeedItemOperation") - proto.RegisterType((*MutateFeedItemsResponse)(nil), "google.ads.googleads.v2.services.MutateFeedItemsResponse") - proto.RegisterType((*MutateFeedItemResult)(nil), "google.ads.googleads.v2.services.MutateFeedItemResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/feed_item_service.proto", fileDescriptor_151bd147701fdcb3) -} - -var fileDescriptor_151bd147701fdcb3 = []byte{ - // 722 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0x41, 0x6b, 0xdb, 0x4a, - 0x10, 0x7e, 0xb2, 0x1f, 0x79, 0x2f, 0xab, 0xbc, 0x17, 0xba, 0x4d, 0x1b, 0xe3, 0x16, 0x6a, 0xd4, - 0x40, 0x83, 0x43, 0x25, 0x2a, 0x97, 0x92, 0x28, 0xe4, 0xe0, 0x40, 0x9c, 0xe4, 0x90, 0x26, 0x28, - 0x90, 0x43, 0x31, 0x88, 0x8d, 0x34, 0x36, 0x22, 0x92, 0x56, 0xdd, 0x5d, 0x19, 0x42, 0xc8, 0xa5, - 0xd0, 0x5f, 0xd0, 0x5b, 0x8f, 0x85, 0x5e, 0x7a, 0xed, 0x2f, 0xe8, 0x35, 0xd7, 0x5e, 0x7b, 0xec, - 0xa9, 0x7f, 0xa1, 0x97, 0x22, 0xad, 0xd6, 0x8e, 0x9d, 0x06, 0x37, 0xb9, 0x8d, 0x67, 0xbf, 0xef, - 0x9b, 0x6f, 0x67, 0x76, 0x64, 0xb4, 0xda, 0xa7, 0xb4, 0x1f, 0x81, 0x45, 0x02, 0x6e, 0xc9, 0x30, - 0x8f, 0x06, 0xb6, 0xc5, 0x81, 0x0d, 0x42, 0x1f, 0xb8, 0xd5, 0x03, 0x08, 0xbc, 0x50, 0x40, 0xec, - 0x95, 0x29, 0x33, 0x65, 0x54, 0x50, 0xdc, 0x90, 0x70, 0x93, 0x04, 0xdc, 0x1c, 0x32, 0xcd, 0x81, - 0x6d, 0x2a, 0x66, 0xfd, 0xd9, 0x75, 0xda, 0x0c, 0x38, 0xcd, 0xd8, 0x98, 0xb8, 0x14, 0xad, 0x3f, - 0x54, 0x94, 0x34, 0xb4, 0x48, 0x92, 0x50, 0x41, 0x44, 0x48, 0x13, 0x5e, 0x9e, 0x96, 0x25, 0xad, - 0xe2, 0xd7, 0x71, 0xd6, 0xb3, 0x7a, 0x21, 0x44, 0x81, 0x17, 0x13, 0x7e, 0x52, 0x22, 0x16, 0x4b, - 0x04, 0x4b, 0x7d, 0x8b, 0x0b, 0x22, 0x32, 0x3e, 0x71, 0x90, 0x0b, 0xfb, 0x51, 0x08, 0x89, 0x90, - 0x07, 0xc6, 0x1a, 0xc2, 0xdb, 0x20, 0x3a, 0x00, 0xc1, 0xae, 0x80, 0xd8, 0x85, 0xd7, 0x19, 0x70, - 0x81, 0x1f, 0xa3, 0xff, 0x94, 0x49, 0x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f, 0x5c, 0xb4, 0x6b, 0xa3, 0x62, 0x65, 0x94, 0x86, 0xdc, 0xf4, 0x69, 0xbc, - 0xf9, 0x53, 0x43, 0x4b, 0x3e, 0x8d, 0xa7, 0x1a, 0xdb, 0x5c, 0x98, 0x18, 0xe1, 0x41, 0xbe, 0x9c, - 0x07, 0xda, 0xab, 0x9d, 0x92, 0xd9, 0xa7, 0x11, 0x49, 0xfa, 0x26, 0x65, 0x7d, 0xab, 0x0f, 0x49, - 0xb1, 0xba, 0xd6, 0xa8, 0xd6, 0xf5, 0x7f, 0x09, 0xeb, 0x2a, 0xf8, 0x50, 0xa9, 0x6e, 0xb7, 0xdb, - 0x9f, 0x2a, 0x8d, 0x6d, 0x29, 0xd8, 0x0e, 0xb8, 0x29, 0xc3, 0x3c, 0x3a, 0xb2, 0xcd, 0xb2, 0x30, - 0xbf, 0x50, 0x90, 0x6e, 0x3b, 0xe0, 0xdd, 0x21, 0xa4, 0x7b, 0x64, 0x77, 0x15, 0xe4, 0x47, 0x65, - 0x49, 0xe6, 0x1d, 0xa7, 0x1d, 0x70, 0xc7, 0x19, 0x82, 0x1c, 0xe7, 0xc8, 0x76, 0x1c, 0x05, 0x3b, - 0x9e, 0x29, 0x7c, 0xb6, 0x7e, 0x05, 0x00, 0x00, 0xff, 0xff, 0xc3, 0xb5, 0xdd, 0x7d, 0xb9, 0x06, - 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 - -// 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.v2.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.v2.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) -} - -// UnimplementedFeedItemServiceServer can be embedded to have forward compatible implementations. -type UnimplementedFeedItemServiceServer struct { -} - -func (*UnimplementedFeedItemServiceServer) GetFeedItem(ctx context.Context, req *GetFeedItemRequest) (*resources.FeedItem, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetFeedItem not implemented") -} -func (*UnimplementedFeedItemServiceServer) MutateFeedItems(ctx context.Context, req *MutateFeedItemsRequest) (*MutateFeedItemsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateFeedItems not implemented") -} - -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.v2.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.v2.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.v2.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/v2/services/feed_item_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/feed_item_target_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/feed_item_target_service.pb.go deleted file mode 100644 index d940e035..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/feed_item_target_service.pb.go +++ /dev/null @@ -1,457 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/feed_item_target_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [FeedItemTargetService.GetFeedItemTarget][google.ads.googleads.v2.services.FeedItemTargetService.GetFeedItemTarget]. -type GetFeedItemTargetRequest struct { - // The resource name of the feed item targets 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 *GetFeedItemTargetRequest) Reset() { *m = GetFeedItemTargetRequest{} } -func (m *GetFeedItemTargetRequest) String() string { return proto.CompactTextString(m) } -func (*GetFeedItemTargetRequest) ProtoMessage() {} -func (*GetFeedItemTargetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dd1e9e40c90fdaae, []int{0} -} - -func (m *GetFeedItemTargetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetFeedItemTargetRequest.Unmarshal(m, b) -} -func (m *GetFeedItemTargetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetFeedItemTargetRequest.Marshal(b, m, deterministic) -} -func (m *GetFeedItemTargetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetFeedItemTargetRequest.Merge(m, src) -} -func (m *GetFeedItemTargetRequest) XXX_Size() int { - return xxx_messageInfo_GetFeedItemTargetRequest.Size(m) -} -func (m *GetFeedItemTargetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetFeedItemTargetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetFeedItemTargetRequest proto.InternalMessageInfo - -func (m *GetFeedItemTargetRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for [FeedItemTargetService.MutateFeedItemTargets][google.ads.googleads.v2.services.FeedItemTargetService.MutateFeedItemTargets]. -type MutateFeedItemTargetsRequest struct { - // The ID of the customer whose feed item targets 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 item targets. - Operations []*FeedItemTargetOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateFeedItemTargetsRequest) Reset() { *m = MutateFeedItemTargetsRequest{} } -func (m *MutateFeedItemTargetsRequest) String() string { return proto.CompactTextString(m) } -func (*MutateFeedItemTargetsRequest) ProtoMessage() {} -func (*MutateFeedItemTargetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dd1e9e40c90fdaae, []int{1} -} - -func (m *MutateFeedItemTargetsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateFeedItemTargetsRequest.Unmarshal(m, b) -} -func (m *MutateFeedItemTargetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateFeedItemTargetsRequest.Marshal(b, m, deterministic) -} -func (m *MutateFeedItemTargetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateFeedItemTargetsRequest.Merge(m, src) -} -func (m *MutateFeedItemTargetsRequest) XXX_Size() int { - return xxx_messageInfo_MutateFeedItemTargetsRequest.Size(m) -} -func (m *MutateFeedItemTargetsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateFeedItemTargetsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateFeedItemTargetsRequest proto.InternalMessageInfo - -func (m *MutateFeedItemTargetsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateFeedItemTargetsRequest) GetOperations() []*FeedItemTargetOperation { - if m != nil { - return m.Operations - } - return nil -} - -// A single operation (create, remove) on an feed item target. -type FeedItemTargetOperation struct { - // The mutate operation. - // - // Types that are valid to be assigned to Operation: - // *FeedItemTargetOperation_Create - // *FeedItemTargetOperation_Remove - Operation isFeedItemTargetOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FeedItemTargetOperation) Reset() { *m = FeedItemTargetOperation{} } -func (m *FeedItemTargetOperation) String() string { return proto.CompactTextString(m) } -func (*FeedItemTargetOperation) ProtoMessage() {} -func (*FeedItemTargetOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_dd1e9e40c90fdaae, []int{2} -} - -func (m *FeedItemTargetOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FeedItemTargetOperation.Unmarshal(m, b) -} -func (m *FeedItemTargetOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FeedItemTargetOperation.Marshal(b, m, deterministic) -} -func (m *FeedItemTargetOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedItemTargetOperation.Merge(m, src) -} -func (m *FeedItemTargetOperation) XXX_Size() int { - return xxx_messageInfo_FeedItemTargetOperation.Size(m) -} -func (m *FeedItemTargetOperation) XXX_DiscardUnknown() { - xxx_messageInfo_FeedItemTargetOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_FeedItemTargetOperation proto.InternalMessageInfo - -type isFeedItemTargetOperation_Operation interface { - isFeedItemTargetOperation_Operation() -} - -type FeedItemTargetOperation_Create struct { - Create *resources.FeedItemTarget `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type FeedItemTargetOperation_Remove struct { - Remove string `protobuf:"bytes,2,opt,name=remove,proto3,oneof"` -} - -func (*FeedItemTargetOperation_Create) isFeedItemTargetOperation_Operation() {} - -func (*FeedItemTargetOperation_Remove) isFeedItemTargetOperation_Operation() {} - -func (m *FeedItemTargetOperation) GetOperation() isFeedItemTargetOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *FeedItemTargetOperation) GetCreate() *resources.FeedItemTarget { - if x, ok := m.GetOperation().(*FeedItemTargetOperation_Create); ok { - return x.Create - } - return nil -} - -func (m *FeedItemTargetOperation) GetRemove() string { - if x, ok := m.GetOperation().(*FeedItemTargetOperation_Remove); ok { - return x.Remove - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*FeedItemTargetOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*FeedItemTargetOperation_Create)(nil), - (*FeedItemTargetOperation_Remove)(nil), - } -} - -// Response message for an feed item target mutate. -type MutateFeedItemTargetsResponse struct { - // All results for the mutate. - Results []*MutateFeedItemTargetResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateFeedItemTargetsResponse) Reset() { *m = MutateFeedItemTargetsResponse{} } -func (m *MutateFeedItemTargetsResponse) String() string { return proto.CompactTextString(m) } -func (*MutateFeedItemTargetsResponse) ProtoMessage() {} -func (*MutateFeedItemTargetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dd1e9e40c90fdaae, []int{3} -} - -func (m *MutateFeedItemTargetsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateFeedItemTargetsResponse.Unmarshal(m, b) -} -func (m *MutateFeedItemTargetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateFeedItemTargetsResponse.Marshal(b, m, deterministic) -} -func (m *MutateFeedItemTargetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateFeedItemTargetsResponse.Merge(m, src) -} -func (m *MutateFeedItemTargetsResponse) XXX_Size() int { - return xxx_messageInfo_MutateFeedItemTargetsResponse.Size(m) -} -func (m *MutateFeedItemTargetsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateFeedItemTargetsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateFeedItemTargetsResponse proto.InternalMessageInfo - -func (m *MutateFeedItemTargetsResponse) GetResults() []*MutateFeedItemTargetResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for the feed item target mutate. -type MutateFeedItemTargetResult 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 *MutateFeedItemTargetResult) Reset() { *m = MutateFeedItemTargetResult{} } -func (m *MutateFeedItemTargetResult) String() string { return proto.CompactTextString(m) } -func (*MutateFeedItemTargetResult) ProtoMessage() {} -func (*MutateFeedItemTargetResult) Descriptor() ([]byte, []int) { - return fileDescriptor_dd1e9e40c90fdaae, []int{4} -} - -func (m *MutateFeedItemTargetResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateFeedItemTargetResult.Unmarshal(m, b) -} -func (m *MutateFeedItemTargetResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateFeedItemTargetResult.Marshal(b, m, deterministic) -} -func (m *MutateFeedItemTargetResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateFeedItemTargetResult.Merge(m, src) -} -func (m *MutateFeedItemTargetResult) XXX_Size() int { - return xxx_messageInfo_MutateFeedItemTargetResult.Size(m) -} -func (m *MutateFeedItemTargetResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateFeedItemTargetResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateFeedItemTargetResult proto.InternalMessageInfo - -func (m *MutateFeedItemTargetResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetFeedItemTargetRequest)(nil), "google.ads.googleads.v2.services.GetFeedItemTargetRequest") - proto.RegisterType((*MutateFeedItemTargetsRequest)(nil), "google.ads.googleads.v2.services.MutateFeedItemTargetsRequest") - proto.RegisterType((*FeedItemTargetOperation)(nil), "google.ads.googleads.v2.services.FeedItemTargetOperation") - proto.RegisterType((*MutateFeedItemTargetsResponse)(nil), "google.ads.googleads.v2.services.MutateFeedItemTargetsResponse") - proto.RegisterType((*MutateFeedItemTargetResult)(nil), "google.ads.googleads.v2.services.MutateFeedItemTargetResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/feed_item_target_service.proto", fileDescriptor_dd1e9e40c90fdaae) -} - -var fileDescriptor_dd1e9e40c90fdaae = []byte{ - // 581 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0xbf, 0x6f, 0xd3, 0x40, - 0x14, 0xc7, 0xb1, 0x2b, 0x15, 0xf5, 0x02, 0x03, 0x27, 0x55, 0xb5, 0x4c, 0x11, 0x91, 0xe9, 0x50, - 0x65, 0x38, 0xab, 0x2e, 0x03, 0x3d, 0x28, 0x91, 0x33, 0x90, 0x56, 0x08, 0xa8, 0x0c, 0x8a, 0x04, - 0x8a, 0x14, 0x19, 0xfb, 0x61, 0x59, 0x8a, 0x7d, 0xe1, 0xee, 0x12, 0x86, 0xaa, 0x03, 0xec, 0x4c, - 0x6c, 0x8c, 0x8c, 0xfc, 0x0f, 0xfc, 0x03, 0x9d,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, 0xbb, 0x45, 0x55, 0xb3, 0x32, 0x4e, 0xe7, 0x6e, 0xd4, 0x61, 0xeb, - 0xec, 0x62, 0x51, 0x34, 0x2b, 0xa1, 0xd4, 0x68, 0xd9, 0x37, 0xcf, 0x7d, 0x6b, 0x26, 0x5c, 0x59, - 0xa3, 0x54, 0x90, 0x88, 0x65, 0x9d, 0xf7, 0x26, 0xda, 0x89, 0x58, 0xb6, 0x32, 0xc9, 0x8e, 0xbd, - 0x74, 0xf0, 0x27, 0xc5, 0x0b, 0x72, 0x62, 0xbc, 0x3a, 0xaa, 0xe2, 0x13, 0x36, 0x0c, 0xf3, 0x84, - 0x30, 0x9e, 0xb8, 0x09, 0xe4, 0xe5, 0xfb, 0xe2, 0xce, 0x14, 0xeb, 0x9f, 0xcd, 0xfb, 0xda, 0xf8, - 0x62, 0xae, 0x75, 0x7d, 0xff, 0xab, 0xd9, 0xec, 0x2a, 0xa0, 0x1f, 0x0b, 0xa2, 0xcc, 0xc2, 0xea, - 0x79, 0xa4, 0x12, 0x16, 0xe7, 0xda, 0xa5, 0xef, 0xc7, 0xa2, 0x3f, 0x75, 0xe9, 0xf7, 0xbc, 0xbe, - 0x76, 0xf9, 0x6d, 0xee, 0xa8, 0xff, 0x94, 0xfa, 0xb1, 0xa0, 0x74, 0xea, 0x44, 0x69, 0xcf, 0xa3, - 0x54, 0xbb, 0xbd, 0x5e, 0x2f, 0xf3, 0xdc, 0xff, 0x13, 0x00, 0x00, 0xff, 0xff, 0xe3, 0x35, 0xcc, - 0xa8, 0xdd, 0x05, 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 - -// FeedItemTargetServiceClient is the client API for FeedItemTargetService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type FeedItemTargetServiceClient interface { - // Returns the requested feed item targets in full detail. - GetFeedItemTarget(ctx context.Context, in *GetFeedItemTargetRequest, opts ...grpc.CallOption) (*resources.FeedItemTarget, error) - // Creates or removes feed item targets. Operation statuses are returned. - MutateFeedItemTargets(ctx context.Context, in *MutateFeedItemTargetsRequest, opts ...grpc.CallOption) (*MutateFeedItemTargetsResponse, error) -} - -type feedItemTargetServiceClient struct { - cc *grpc.ClientConn -} - -func NewFeedItemTargetServiceClient(cc *grpc.ClientConn) FeedItemTargetServiceClient { - return &feedItemTargetServiceClient{cc} -} - -func (c *feedItemTargetServiceClient) GetFeedItemTarget(ctx context.Context, in *GetFeedItemTargetRequest, opts ...grpc.CallOption) (*resources.FeedItemTarget, error) { - out := new(resources.FeedItemTarget) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.FeedItemTargetService/GetFeedItemTarget", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *feedItemTargetServiceClient) MutateFeedItemTargets(ctx context.Context, in *MutateFeedItemTargetsRequest, opts ...grpc.CallOption) (*MutateFeedItemTargetsResponse, error) { - out := new(MutateFeedItemTargetsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.FeedItemTargetService/MutateFeedItemTargets", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// FeedItemTargetServiceServer is the server API for FeedItemTargetService service. -type FeedItemTargetServiceServer interface { - // Returns the requested feed item targets in full detail. - GetFeedItemTarget(context.Context, *GetFeedItemTargetRequest) (*resources.FeedItemTarget, error) - // Creates or removes feed item targets. Operation statuses are returned. - MutateFeedItemTargets(context.Context, *MutateFeedItemTargetsRequest) (*MutateFeedItemTargetsResponse, error) -} - -// UnimplementedFeedItemTargetServiceServer can be embedded to have forward compatible implementations. -type UnimplementedFeedItemTargetServiceServer struct { -} - -func (*UnimplementedFeedItemTargetServiceServer) GetFeedItemTarget(ctx context.Context, req *GetFeedItemTargetRequest) (*resources.FeedItemTarget, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetFeedItemTarget not implemented") -} -func (*UnimplementedFeedItemTargetServiceServer) MutateFeedItemTargets(ctx context.Context, req *MutateFeedItemTargetsRequest) (*MutateFeedItemTargetsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method MutateFeedItemTargets not implemented") -} - -func RegisterFeedItemTargetServiceServer(s *grpc.Server, srv FeedItemTargetServiceServer) { - s.RegisterService(&_FeedItemTargetService_serviceDesc, srv) -} - -func _FeedItemTargetService_GetFeedItemTarget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetFeedItemTargetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FeedItemTargetServiceServer).GetFeedItemTarget(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.FeedItemTargetService/GetFeedItemTarget", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FeedItemTargetServiceServer).GetFeedItemTarget(ctx, req.(*GetFeedItemTargetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _FeedItemTargetService_MutateFeedItemTargets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateFeedItemTargetsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FeedItemTargetServiceServer).MutateFeedItemTargets(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.FeedItemTargetService/MutateFeedItemTargets", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FeedItemTargetServiceServer).MutateFeedItemTargets(ctx, req.(*MutateFeedItemTargetsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _FeedItemTargetService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.FeedItemTargetService", - HandlerType: (*FeedItemTargetServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetFeedItemTarget", - Handler: _FeedItemTargetService_GetFeedItemTarget_Handler, - }, - { - MethodName: "MutateFeedItemTargets", - Handler: _FeedItemTargetService_MutateFeedItemTargets_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/feed_item_target_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/feed_mapping_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/feed_mapping_service.pb.go deleted file mode 100644 index fe8aa092..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/feed_mapping_service.pb.go +++ /dev/null @@ -1,499 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/feed_mapping_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [FeedMappingService.GetFeedMapping][google.ads.googleads.v2.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_378f0144add6067b, []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 (m *GetFeedMappingRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetFeedMappingRequest.Merge(m, 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.v2.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_378f0144add6067b, []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 (m *MutateFeedMappingsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateFeedMappingsRequest.Merge(m, 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 -} - -func (m *MutateFeedMappingsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateFeedMappingsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_378f0144add6067b, []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 (m *FeedMappingOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedMappingOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*FeedMappingOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*FeedMappingOperation_Create)(nil), - (*FeedMappingOperation_Remove)(nil), - } -} - -// Response message for a feed mapping mutate. -type MutateFeedMappingsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_378f0144add6067b, []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 (m *MutateFeedMappingsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateFeedMappingsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_378f0144add6067b, []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 (m *MutateFeedMappingResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateFeedMappingResult.Merge(m, 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.v2.services.GetFeedMappingRequest") - proto.RegisterType((*MutateFeedMappingsRequest)(nil), "google.ads.googleads.v2.services.MutateFeedMappingsRequest") - proto.RegisterType((*FeedMappingOperation)(nil), "google.ads.googleads.v2.services.FeedMappingOperation") - proto.RegisterType((*MutateFeedMappingsResponse)(nil), "google.ads.googleads.v2.services.MutateFeedMappingsResponse") - proto.RegisterType((*MutateFeedMappingResult)(nil), "google.ads.googleads.v2.services.MutateFeedMappingResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/feed_mapping_service.proto", fileDescriptor_378f0144add6067b) -} - -var fileDescriptor_378f0144add6067b = []byte{ - // 665 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x4f, 0x6b, 0xd4, 0x40, - 0x14, 0x37, 0xbb, 0x52, 0xed, 0x6c, 0xad, 0x30, 0x5a, 0xba, 0xae, 0x82, 0x4b, 0x2c, 0x58, 0xf6, - 0x30, 0xd1, 0x28, 0x15, 0xd3, 0x56, 0xd8, 0x82, 0x6d, 0x3d, 0xd4, 0x96, 0x14, 0xf6, 0x20, 0x0b, - 0x61, 0x4c, 0x5e, 0x43, 0x20, 0xc9, 0xc4, 0x99, 0xc9, 0x42, 0x29, 0xbd, 0x78, 0xf1, 0x03, 0xf8, - 0x0d, 0x3c, 0x7a, 0xf3, 0xe0, 0xc1, 0xaf, 0x50, 0xf0, 0xe4, 0x37, 0x10, 0x4f, 0x7e, 0x08, 0x91, - 0x64, 0x32, 0xdb, 0xdd, 0xb6, 0xcb, 0x6a, 0x6f, 0x2f, 0xef, 0xbd, 0xdf, 0xef, 0xfd, 0xde, 0x9f, - 0x09, 0x5a, 0x0d, 0x19, 0x0b, 0x63, 0xb0, 0x68, 0x20, 0x2c, 0x65, 0x16, 0xd6, 0xc0, 0xb6, 0x04, - 0xf0, 0x41, 0xe4, 0x83, 0xb0, 0x0e, 0x00, 0x02, 0x2f, 0xa1, 0x59, 0x16, 0xa5, 0xa1, 0x57, 0x79, - 0x49, 0xc6, 0x99, 0x64, 0xb8, 0xad, 0x10, 0x84, 0x06, 0x82, 0x0c, 0xc1, 0x64, 0x60, 0x13, 0x0d, - 0x6e, 0x3d, 0x9d, 0x44, 0xcf,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 0xb9, 0x56, 0x76, 0xb2, 0x62, 0x3e, 0x2e, 0x3a, 0x39, 0x95, 0x7e, 0x34, 0xf2, 0x7c, 0xd7, 0x3b, - 0xc7, 0x63, 0x8d, 0x38, 0x49, 0x49, 0xe7, 0x18, 0x9d, 0xd6, 0xdd, 0x93, 0x6e, 0xf3, 0xb4, 0x64, - 0x65, 0x65, 0x91, 0x20, 0x3e, 0x4b, 0x36, 0xfe, 0x18, 0x68, 0xc9, 0x67, 0xc9, 0x54, 0x79, 0x1b, - 0x8b, 0xe7, 0xb7, 0xbb, 0x57, 0xfc, 0xa2, 0xf6, 0x8c, 0x37, 0xdb, 0x15, 0x38, 0x64, 0x31, 0x4d, - 0x43, 0xc2, 0x78, 0x68, 0x85, 0x90, 0x96, 0x3f, 0x30, 0xeb, 0xb4, 0xdc, 0xe4, 0x1f, 0xf5, 0xaa, - 0x36, 0x3e, 0xd5, 0xea, 0x5b, 0xdd, 0xee, 0xe7, 0x5a, 0x7b, 0x4b, 0x11, 0x76, 0x03, 0x41, 0x94, - 0x59, 0x58, 0x3d, 0x9b, 0x54, 0x85, 0xc5, 0x89, 0x4e, 0xe9, 0x77, 0x03, 0xd1, 0x1f, 0xa6, 0xf4, - 0x7b, 0x76, 0x5f, 0xa7, 0xfc, 0xae, 0x2d, 0x29, 0xbf, 0xe3, 0x74, 0x03, 0xe1, 0x38, 0xc3, 0x24, - 0xc7, 0xe9, 0xd9, 0x8e, 0xa3, 0xd3, 0xde, 0xce, 0x94, 0x3a, 0x9f, 0xfc, 0x0d, 0x00, 0x00, 0xff, - 0xff, 0x24, 0x3b, 0x10, 0x27, 0x4f, 0x06, 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 - -// 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.v2.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.v2.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) -} - -// UnimplementedFeedMappingServiceServer can be embedded to have forward compatible implementations. -type UnimplementedFeedMappingServiceServer struct { -} - -func (*UnimplementedFeedMappingServiceServer) GetFeedMapping(ctx context.Context, req *GetFeedMappingRequest) (*resources.FeedMapping, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetFeedMapping not implemented") -} -func (*UnimplementedFeedMappingServiceServer) MutateFeedMappings(ctx context.Context, req *MutateFeedMappingsRequest) (*MutateFeedMappingsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateFeedMappings not implemented") -} - -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.v2.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.v2.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.v2.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/v2/services/feed_mapping_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/feed_placeholder_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/feed_placeholder_view_service.pb.go deleted file mode 100644 index 3836535c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/feed_placeholder_view_service.pb.go +++ /dev/null @@ -1,189 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/feed_placeholder_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [FeedPlaceholderViewService.GetFeedPlaceholderView][google.ads.googleads.v2.services.FeedPlaceholderViewService.GetFeedPlaceholderView]. -type GetFeedPlaceholderViewRequest struct { - // The resource name of the feed placeholder 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 *GetFeedPlaceholderViewRequest) Reset() { *m = GetFeedPlaceholderViewRequest{} } -func (m *GetFeedPlaceholderViewRequest) String() string { return proto.CompactTextString(m) } -func (*GetFeedPlaceholderViewRequest) ProtoMessage() {} -func (*GetFeedPlaceholderViewRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d866ea96d2752d11, []int{0} -} - -func (m *GetFeedPlaceholderViewRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetFeedPlaceholderViewRequest.Unmarshal(m, b) -} -func (m *GetFeedPlaceholderViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetFeedPlaceholderViewRequest.Marshal(b, m, deterministic) -} -func (m *GetFeedPlaceholderViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetFeedPlaceholderViewRequest.Merge(m, src) -} -func (m *GetFeedPlaceholderViewRequest) XXX_Size() int { - return xxx_messageInfo_GetFeedPlaceholderViewRequest.Size(m) -} -func (m *GetFeedPlaceholderViewRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetFeedPlaceholderViewRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetFeedPlaceholderViewRequest proto.InternalMessageInfo - -func (m *GetFeedPlaceholderViewRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetFeedPlaceholderViewRequest)(nil), "google.ads.googleads.v2.services.GetFeedPlaceholderViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/feed_placeholder_view_service.proto", fileDescriptor_d866ea96d2752d11) -} - -var fileDescriptor_d866ea96d2752d11 = []byte{ - // 401 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0x31, 0x6b, 0xdb, 0x40, - 0x14, 0x46, 0x2a, 0x14, 0x2a, 0xda, 0x45, 0x43, 0x6b, 0xd4, 0x96, 0x1a, 0xd7, 0x43, 0xf1, 0x70, - 0x07, 0x2a, 0x98, 0x72, 0xc5, 0x2d, 0x32, 0xa6, 0xee, 0x14, 0x8c, 0x03, 0x1a, 0x82, 0x40, 0x5c, - 0x74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0x77, 0x31, 0xff, 0xa2, 0x5d, 0xc1, 0xa0, 0x57, - 0xe7, 0xb3, 0x86, 0xad, 0x02, 0x4d, 0x6e, 0x68, 0x4b, 0x7b, 0xef, 0xcf, 0xf9, 0xdd, 0xfd, 0x95, - 0xfe, 0xcb, 0x1c, 0x56, 0x11, 0x9f, 0x3e, 0x5b, 0x71, 0x14, 0x2c, 0x44, 0xc1, 0x13, 0xc8, 0x05, - 0x1e, 0xac, 0x33, 0x7f, 0xd1, 0x2b, 0xf0, 0xe0, 0xcc, 0xfa, 0xbc, 0x72, 0x3a, 0x1b, 0xbb, 0x1a, - 0x65, 0x91, 0x40, 0x01, 0x4f, 0xc6, 0x17, 0xba, 0xd1, 0x0f, 0x78, 0xb2, 0x73, 0xb7, 0xf1, 0xb7, - 0xf6, 0xd4, 0x66, 0xd5, 0x7d, 0x66, 0xda, 0xc1, 0xff, 0x5a, 0x24, 0xe4, 0x31, 0x4d, 0x43, 0xc4, - 0xf3, 0x10, 0x87, 0x90, 0xae, 0xaf, 0x87, 0x37, 0xb6, 0xed, 0xdf, 0xf3, 0xb7, 0x02, 0xd7, 0xfa, - 0x9b, 0xa9, 0xe3, 0xdc, 0xe8, 0xdd, 0xa9, 0x14, 0x74, 0x98, 0x40, 0x12, 0x56, 0xc8, 0xb5, 0x51, - 0x6d, 0x2c, 0x56, 0x8a, 0xe2, 0x39, 0x4c, 0x78, 0x0d, 0xc5, 0x73, 0x6d, 0x4f, 0x51, 0x1e, 0xf4, - 0xbe, 0x7c, 0x27, 0xc4, 0x61, 0x82, 0x90, 0x86, 0x44, 0x88, 0x6b, 0x13, 0xa2, 0x68, 0x87, 0x6f, - 0xd7, 0x73, 0xfe, 0x7c, 0x0c, 0x00, 0x00, 0xff, 0xff, 0x1b, 0xba, 0xbf, 0xcc, 0x45, 0x03, 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 - -// FeedPlaceholderViewServiceClient is the client API for FeedPlaceholderViewService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type FeedPlaceholderViewServiceClient interface { - // Returns the requested feed placeholder view in full detail. - GetFeedPlaceholderView(ctx context.Context, in *GetFeedPlaceholderViewRequest, opts ...grpc.CallOption) (*resources.FeedPlaceholderView, error) -} - -type feedPlaceholderViewServiceClient struct { - cc *grpc.ClientConn -} - -func NewFeedPlaceholderViewServiceClient(cc *grpc.ClientConn) FeedPlaceholderViewServiceClient { - return &feedPlaceholderViewServiceClient{cc} -} - -func (c *feedPlaceholderViewServiceClient) GetFeedPlaceholderView(ctx context.Context, in *GetFeedPlaceholderViewRequest, opts ...grpc.CallOption) (*resources.FeedPlaceholderView, error) { - out := new(resources.FeedPlaceholderView) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.FeedPlaceholderViewService/GetFeedPlaceholderView", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// FeedPlaceholderViewServiceServer is the server API for FeedPlaceholderViewService service. -type FeedPlaceholderViewServiceServer interface { - // Returns the requested feed placeholder view in full detail. - GetFeedPlaceholderView(context.Context, *GetFeedPlaceholderViewRequest) (*resources.FeedPlaceholderView, error) -} - -// UnimplementedFeedPlaceholderViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedFeedPlaceholderViewServiceServer struct { -} - -func (*UnimplementedFeedPlaceholderViewServiceServer) GetFeedPlaceholderView(ctx context.Context, req *GetFeedPlaceholderViewRequest) (*resources.FeedPlaceholderView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetFeedPlaceholderView not implemented") -} - -func RegisterFeedPlaceholderViewServiceServer(s *grpc.Server, srv FeedPlaceholderViewServiceServer) { - s.RegisterService(&_FeedPlaceholderViewService_serviceDesc, srv) -} - -func _FeedPlaceholderViewService_GetFeedPlaceholderView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetFeedPlaceholderViewRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FeedPlaceholderViewServiceServer).GetFeedPlaceholderView(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.FeedPlaceholderViewService/GetFeedPlaceholderView", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FeedPlaceholderViewServiceServer).GetFeedPlaceholderView(ctx, req.(*GetFeedPlaceholderViewRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _FeedPlaceholderViewService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.FeedPlaceholderViewService", - HandlerType: (*FeedPlaceholderViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetFeedPlaceholderView", - Handler: _FeedPlaceholderViewService_GetFeedPlaceholderView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/feed_placeholder_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/feed_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/feed_service.pb.go deleted file mode 100644 index bbf5dec6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/feed_service.pb.go +++ /dev/null @@ -1,526 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/feed_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [FeedService.GetFeed][google.ads.googleads.v2.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_86087a3952159448, []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 (m *GetFeedRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetFeedRequest.Merge(m, 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.v2.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_86087a3952159448, []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 (m *MutateFeedsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateFeedsRequest.Merge(m, 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 -} - -func (m *MutateFeedsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateFeedsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_86087a3952159448, []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 (m *FeedOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*FeedOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*FeedOperation_Create)(nil), - (*FeedOperation_Update)(nil), - (*FeedOperation_Remove)(nil), - } -} - -// Response message for an feed mutate. -type MutateFeedsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_86087a3952159448, []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 (m *MutateFeedsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateFeedsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_86087a3952159448, []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 (m *MutateFeedResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateFeedResult.Merge(m, 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.v2.services.GetFeedRequest") - proto.RegisterType((*MutateFeedsRequest)(nil), "google.ads.googleads.v2.services.MutateFeedsRequest") - proto.RegisterType((*FeedOperation)(nil), "google.ads.googleads.v2.services.FeedOperation") - proto.RegisterType((*MutateFeedsResponse)(nil), "google.ads.googleads.v2.services.MutateFeedsResponse") - proto.RegisterType((*MutateFeedResult)(nil), "google.ads.googleads.v2.services.MutateFeedResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/feed_service.proto", fileDescriptor_86087a3952159448) -} - -var fileDescriptor_86087a3952159448 = []byte{ - // 701 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xdd, 0x6a, 0xd4, 0x40, - 0x14, 0x36, 0x5b, 0x69, 0xed, 0xa4, 0xad, 0x65, 0x8a, 0x18, 0x56, 0xc1, 0x25, 0x16, 0x5a, 0x17, - 0xc9, 0x48, 0x6a, 0x11, 0x52, 0x7a, 0x91, 0x82, 0xdb, 0x0a, 0xd6, 0x96, 0x14, 0x7a, 0x21, 0x0b, - 0x61, 0x9a, 0xcc, 0x2e, 0xa1, 0x49, 0x26, 0xce, 0x4c, 0x16, 0x4a, 0xe9, 0x8d, 0xaf, 0x20, 0xbe, - 0x80, 0x97, 0x7a, 0xe5, 0x6b, 0xf4, 0x56, 0x1f, 0xc1, 0x2b, 0x1f, 0x40, 0xf1, 0x4e, 0x26, 0x93, - 0xd9, 0x9f, 0x42, 0xd9, 0xf6, 0xee, 0xe4, 0xcc, 0xf7, 0x7d, 0xe7, 0x9b, 0x73, 0xe6, 0x04, 0x6c, - 0xf4, 0x29, 0xed, 0xa7, 0x04, 0xe1, 0x98, 0x23, 0x15, 0xca, 0x68, 0xe0, 0x22, 0x4e, 0xd8, 0x20, - 0x89, 0x08, 0x47, 0x3d, 0x42, 0xe2, 0xb0, 0xfe, 0x72, 0x0a, 0x46, 0x05, 0x85, 0x2d, 0x85, 0x74, - 0x70, 0xcc, 0x9d, 0x21, 0xc9, 0x19, 0xb8, 0x8e, 0x26, 0x35, 0x9f, 0x5f, 0x27, 0xcb, 0x08, 0xa7, - 0x25, 0xd3, 0xba, 0x4a, 0xaf, 0xf9, 0x58, 0xa3, 0x8b, 0x04, 0xe1, 0x3c, 0xa7, 0x02, 0x8b, 0x84, - 0xe6, 0xbc, 0x3e, 0xad, 0xab, 0xa1, 0xea, 0xeb, 0xa4, 0xec, 0xa1, 0x5e, 0x42, 0xd2, 0x38, 0xcc, - 0x30, 0x3f, 0xad, 0x11, 0x0f, 0x6b, 0x04, 0x2b, 0x22, 0xc4, 0x05, 0x16, 0x25, 0xbf, 0x72, 0x20, - 0x85, 0xa3, 0x34, 0x21, 0xb9, 0x50, 0x07, 0xf6, 0x26, 0x58, 0xda, 0x25, 0xa2, 0x43, 0x48, 0x1c, - 0x90, 0x0f, 0x25, 0xe1, 0x02, 0x3e, 0x05, 0x8b, 0xda, 0x5b, 0x98, 0xe3, 0x8c, 0x58, 0x46, 0xcb, - 0x58, 0x9f, 0x0f, 0x16, 0x74, 0xf2, 0x1d, 0xce, 0x88, 0xfd, 0xd3, 0x00, 0x70, 0xbf, 0x14, 0x58, - 0x10, 0x49, 0xe5, 0x9a, 0xfb, 0x04, 0x98, 0x51, 0xc9, 0x05, 0xcd, 0x08, 0x0b, 0x93, 0xb8, 0x66, - 0x02, 0x9d, 0x7a, 0x13, 0xc3, 0x03, 0x00, 0x68, 0x41, 0x98, 0xba, 0x96, 0xd5, 0x68, 0xcd, 0xac, - 0x9b, 0x2e, 0x72, 0xa6, 0x75, 0xd1, 0x91, 0x45, 0x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 0x0a, 0x65, 0x74, 0xec, 0x3a, 0x75, 0x61, 0x7e, 0xa9, 0x21, 0x5d, 0x3f, - 0xe6, 0xdd, 0x21, 0xa4, 0x7b, 0xec, 0x76, 0x35, 0xe4, 0x77, 0x63, 0x55, 0xe5, 0x3d, 0xcf, 0x8f, - 0xb9, 0xe7, 0x0d, 0x41, 0x9e, 0x77, 0xec, 0x7a, 0x9e, 0x86, 0x9d, 0xcc, 0x56, 0x3e, 0x37, 0xfe, - 0x07, 0x00, 0x00, 0xff, 0xff, 0x49, 0x64, 0x65, 0xd5, 0x63, 0x06, 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 - -// 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.v2.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.v2.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) -} - -// UnimplementedFeedServiceServer can be embedded to have forward compatible implementations. -type UnimplementedFeedServiceServer struct { -} - -func (*UnimplementedFeedServiceServer) GetFeed(ctx context.Context, req *GetFeedRequest) (*resources.Feed, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetFeed not implemented") -} -func (*UnimplementedFeedServiceServer) MutateFeeds(ctx context.Context, req *MutateFeedsRequest) (*MutateFeedsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateFeeds not implemented") -} - -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.v2.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.v2.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.v2.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/v2/services/feed_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/gender_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/gender_view_service.pb.go deleted file mode 100644 index 5278d256..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/gender_view_service.pb.go +++ /dev/null @@ -1,187 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/gender_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [GenderViewService.GetGenderView][google.ads.googleads.v2.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_9903af7aa827f0d3, []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 (m *GetGenderViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGenderViewRequest.Merge(m, 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.v2.services.GetGenderViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/gender_view_service.proto", fileDescriptor_9903af7aa827f0d3) -} - -var fileDescriptor_9903af7aa827f0d3 = []byte{ - // 383 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xc1, 0x4a, 0xeb, 0x40, - 0x14, 0x25, 0x79, 0xf0, 0xe0, 0x85, 0xd7, 0x85, 0x41, 0xb4, 0x44, 0x17, 0xa5, 0x76, 0x21, 0x85, - 0xce, 0x40, 0x8a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3c, 0xf5, 0x53, 0xb2, 0xed, 0xcd, - 0xe4, 0xb7, 0x10, 0x46, 0x6f, 0xa3, 0xae, 0x6a, 0x82, 0xd4, 0xaa, 0xf6, 0xc9, 0xfd, 0xcb, 0xdb, - 0x83, 0x4a, 0xf5, 0x5e, 0xd1, 0xd5, 0xed, 0x5a, 0xfc, 0x33, 0x7f, 0x8e, 0x19, 0x8f, 0x21, 0x45, - 0xda, 0x2d, 0xcb, 0x2b, 0x24, 0x48, 0xbb, 0x77, 0xc6, 0xc1, 0xd2, 0x6a, 0xd6, 0xe6, 0x25, 0x9a, - 0x45, 0x48, 0x7c, 0x1e, 0x0f, 0x3f, 0x14, 0xad, 0xe3, 0xf3, 0x78, 0xeb, 0x03, 0x86, 0x7b, 0x3f, - 0x8a, 0x18, 0x15, 0x05, 0x8f, 0x94, 0xab, 0xf3, 0x52, 0x1b, 0xf2, 0xa9, 0x97, 0x84, 0x84, 0xa7, - 0x61, 0x91, 0x60, 0x55, 0x3f, 0xad, 0xaf, 0x6d, 0xfe, 0x4b, 0x03, 0x09, 0x1e, 0xd5, 0x3f, 0xb6, - 0x65, 0x3d, 0xa9, 0x2d, 0x5b, 0x18, 0x5a, 0x01, 0x12, 0x01, 0x0b, 0xe4, 0x98, 0xa4, 0x3c, 0x8c, - 0x4b, 0x49, 0x71, 0xad, 0x00, 0xdd, 0x8a, 0xe2, 0x3a, 0xa6, 0x2b, 0x29, 0xef, 0x6a, 0x47, 0xcc, - 0x19, 0xb3, 0x02, 0x64, 0xac, 0x22, 0x31, 0xe6, 0x98, 0x8c, 0x49, 0xda, 0xf5, 0xdf, 0x55, 0xce, - 0xfe, 0x67, 0x00, 0x00, 0x00, 0xff, 0xff, 0xef, 0xfa, 0x0b, 0x30, 0xf2, 0x02, 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 - -// 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.v2.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) -} - -// UnimplementedGenderViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedGenderViewServiceServer struct { -} - -func (*UnimplementedGenderViewServiceServer) GetGenderView(ctx context.Context, req *GetGenderViewRequest) (*resources.GenderView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetGenderView not implemented") -} - -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.v2.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.v2.services.GenderViewService", - HandlerType: (*GenderViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetGenderView", - Handler: _GenderViewService_GetGenderView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/gender_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/geo_target_constant_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/geo_target_constant_service.pb.go deleted file mode 100644 index b635af2e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/geo_target_constant_service.pb.go +++ /dev/null @@ -1,570 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/geo_target_constant_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [GeoTargetConstantService.GetGeoTargetConstant][google.ads.googleads.v2.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_b0b34171a7a67e99, []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 (m *GetGeoTargetConstantRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGeoTargetConstantRequest.Merge(m, 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_b0b34171a7a67e99, []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 (m *SuggestGeoTargetConstantsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SuggestGeoTargetConstantsRequest.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*SuggestGeoTargetConstantsRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*SuggestGeoTargetConstantsRequest_LocationNames_)(nil), - (*SuggestGeoTargetConstantsRequest_GeoTargets_)(nil), - } -} - -// 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_b0b34171a7a67e99, []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 (m *SuggestGeoTargetConstantsRequest_LocationNames) XXX_Merge(src proto.Message) { - xxx_messageInfo_SuggestGeoTargetConstantsRequest_LocationNames.Merge(m, 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_b0b34171a7a67e99, []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 (m *SuggestGeoTargetConstantsRequest_GeoTargets) XXX_Merge(src proto.Message) { - xxx_messageInfo_SuggestGeoTargetConstantsRequest_GeoTargets.Merge(m, 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.v2.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_b0b34171a7a67e99, []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 (m *SuggestGeoTargetConstantsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SuggestGeoTargetConstantsResponse.Merge(m, 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_b0b34171a7a67e99, []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 (m *GeoTargetConstantSuggestion) XXX_Merge(src proto.Message) { - xxx_messageInfo_GeoTargetConstantSuggestion.Merge(m, 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.v2.services.GetGeoTargetConstantRequest") - proto.RegisterType((*SuggestGeoTargetConstantsRequest)(nil), "google.ads.googleads.v2.services.SuggestGeoTargetConstantsRequest") - proto.RegisterType((*SuggestGeoTargetConstantsRequest_LocationNames)(nil), "google.ads.googleads.v2.services.SuggestGeoTargetConstantsRequest.LocationNames") - proto.RegisterType((*SuggestGeoTargetConstantsRequest_GeoTargets)(nil), "google.ads.googleads.v2.services.SuggestGeoTargetConstantsRequest.GeoTargets") - proto.RegisterType((*SuggestGeoTargetConstantsResponse)(nil), "google.ads.googleads.v2.services.SuggestGeoTargetConstantsResponse") - proto.RegisterType((*GeoTargetConstantSuggestion)(nil), "google.ads.googleads.v2.services.GeoTargetConstantSuggestion") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/geo_target_constant_service.proto", fileDescriptor_b0b34171a7a67e99) -} - -var fileDescriptor_b0b34171a7a67e99 = []byte{ - // 730 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xbf, 0x6e, 0xd3, 0x40, - 0x18, 0xc7, 0x49, 0x53, 0xc4, 0xa5, 0x45, 0xe2, 0xa8, 0x84, 0x71, 0x4a, 0x09, 0x6e, 0x87, 0xd2, - 0xe1, 0x0c, 0xa6, 0x62, 0x70, 0x55, 0xa1, 0x24, 0x43, 0x8a, 0x04, 0x55, 0x94, 0x56, 0x19, 0x50, - 0xa4, 0xe8, 0x6a, 0x1f, 0xd7, 0x48, 0x8e, 0xc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 0x6c, 0x68, 0xb5, 0xf3, 0x86, - 0x3a, 0xa6, 0x91, 0x92, 0x3f, 0x14, 0xc8, 0x66, 0xa3, 0xe6, 0x69, 0x09, 0xac, 0xd9, 0x6c, 0x34, - 0x35, 0xa4, 0xe6, 0x83, 0xa2, 0x8e, 0x77, 0xa2, 0x4d, 0xe8, 0x28, 0x6f, 0x76, 0x24, 0x04, 0x65, - 0x2e, 0xf6, 0x28, 0x62, 0x9c, 0x1a, 0x94, 0x78, 0xf1, 0x9e, 0x18, 0x63, 0xd2, 0xe2, 0xff, 0xfe, - 0x56, 0x2a, 0x7c, 0x29, 0x95, 0xdb, 0x8d, 0xc6, 0x59, 0xa9, 0xde, 0x4e, 0x00, 0x1b, 0x8e, 0x40, - 0x89, 0x18, 0x49, 0x3d, 0x13, 0x49, 0x62, 0x71, 0x9e, 0x9a, 0xf4, 0x1b, 0x8e, 0xe8, 0x67, 0x26, - 0xfd, 0x9e, 0xd9, 0x4f, 0x4d, 0x7e, 0x97, 0xd6, 0x92, 0x77, 0xcb, 0x6a, 0x38, 0xc2, 0xb2, 0x32, - 0x23, 0xcb, 0xea, 0x99, 0x96, 0x95, 0x9a, 0x1d, 0xcc, 0xc7, 0x71, 0x3e, 0xfb, 0x13, 0x00, 0x00, - 0xff, 0xff, 0x6c, 0xd8, 0xc1, 0x65, 0x9e, 0x08, 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 - -// 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.v2.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.v2.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) -} - -// UnimplementedGeoTargetConstantServiceServer can be embedded to have forward compatible implementations. -type UnimplementedGeoTargetConstantServiceServer struct { -} - -func (*UnimplementedGeoTargetConstantServiceServer) GetGeoTargetConstant(ctx context.Context, req *GetGeoTargetConstantRequest) (*resources.GeoTargetConstant, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetGeoTargetConstant not implemented") -} -func (*UnimplementedGeoTargetConstantServiceServer) SuggestGeoTargetConstants(ctx context.Context, req *SuggestGeoTargetConstantsRequest) (*SuggestGeoTargetConstantsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SuggestGeoTargetConstants not implemented") -} - -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.v2.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.v2.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.v2.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/v2/services/geo_target_constant_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/geographic_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/geographic_view_service.pb.go deleted file mode 100644 index 047cbe87..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/geographic_view_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/geographic_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [GeographicViewService.GetGeographicView][google.ads.googleads.v2.services.GeographicViewService.GetGeographicView]. -type GetGeographicViewRequest struct { - // The resource name of the geographic 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 *GetGeographicViewRequest) Reset() { *m = GetGeographicViewRequest{} } -func (m *GetGeographicViewRequest) String() string { return proto.CompactTextString(m) } -func (*GetGeographicViewRequest) ProtoMessage() {} -func (*GetGeographicViewRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_51498bd55db0eccc, []int{0} -} - -func (m *GetGeographicViewRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetGeographicViewRequest.Unmarshal(m, b) -} -func (m *GetGeographicViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetGeographicViewRequest.Marshal(b, m, deterministic) -} -func (m *GetGeographicViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGeographicViewRequest.Merge(m, src) -} -func (m *GetGeographicViewRequest) XXX_Size() int { - return xxx_messageInfo_GetGeographicViewRequest.Size(m) -} -func (m *GetGeographicViewRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetGeographicViewRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetGeographicViewRequest proto.InternalMessageInfo - -func (m *GetGeographicViewRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetGeographicViewRequest)(nil), "google.ads.googleads.v2.services.GetGeographicViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/geographic_view_service.proto", fileDescriptor_51498bd55db0eccc) -} - -var fileDescriptor_51498bd55db0eccc = []byte{ - // 389 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x41, 0x4a, 0xf3, 0x40, - 0x1c, 0xc5, 0x49, 0x3e, 0xf8, 0xc0, 0xa0, 0x0b, 0x03, 0x62, 0x89, 0x2e, 0x4a, 0xed, 0x42, 0xba, - 0x98, 0xa1, 0xe9, 0x42, 0x1c, 0x51, 0x49, 0x37, 0x71, 0x25, 0xa5, 0x42, 0x16, 0x12, 0x28, 0x63, - 0x32, 0x8c, 0x03, 0x4d, 0x26, 0x66, 0xd2, 0x74, 0x21, 0x2e, 0xf4, 0x0a, 0xde, 0xc0, 0xa5, 0x77, - 0xf0, 0x02, 0xdd, 0x7a, 0x05, 0x57, 0xae, 0x3d, 0x80, 0xa4, 0x93, 0x49, 0x5b, 0x6c, 0xe8, 0xee, - 0x31, 0xff, 0xf7, 0xfb, 0xbf, 0x99, 0x97, 0x18, 0x17, 0x94, 0x73, 0x3a, 0x26, 0x10, 0x87, 0x02, - 0x4a, 0x59, 0xa8, 0xdc, 0x86, 0x82, 0xa4, 0x39, 0x0b, 0x88, 0x80, 0x94, 0x70, 0x9a, 0xe2, 0xe4, - 0x9e, 0x05, 0xa3, 0x9c, 0x91, 0xe9, 0xa8, 0x1c, 0x80, 0x24, 0xe5, 0x19, 0x37, 0x9b, 0x12, 0x02, - 0x38, 0x14, 0xa0, 0xe2, 0x41, 0x6e, 0x03, 0xc5, 0x5b, 0x27, 0x75, 0x09, 0x29, 0x11, 0x7c, 0x92, - 0xae, 0x89, 0x90, 0xab, 0xad, 0x43, 0x05, 0x26, 0x0c, 0xe2, 0x38, 0xe6, 0x19, 0xce, 0x18, 0x8f, - 0x45, 0x39, 0xdd, 0x5f, 0x9a, 0x06, 0x63, 0x46, 0xe2, 0x4c, 0x0e, 0x5a, 0x97, 0x46, 0xc3, 0x25, - 0x99, 0x5b, 0xad, 0xf4, 0x18, 0x99, 0x0e, 0xc9, 0xc3, 0x84, 0x88, 0xcc, 0x3c, 0x32, 0x76, 0x54, - 0xea, 0x28, 0xc6, 0x11, 0x69, 0x68, 0x4d, 0xed, 0x78, 0x6b, 0xb8, 0xad, 0x0e, 0xaf, 0x71, 0x44, - 0xec, 0x1f, 0xcd, 0xd8, 0x5b, 0xc5, 0x6f, 0xe4, 0x5b, 0xcc, 0x0f, 0xcd, 0xd8, 0xfd, 0xb3, 0xdb, - 0x44, 0x60, 0x53, 0x07, 0xa0, 0xee, 0x42, 0x56, 0xb7, 0x96, 0xad, 0xda, 0x01, 0xab, 0x64, 0xeb, - 0xf4, 0xe5, 0xf3, 0xeb, 0x55, 0xef, 0x99, 0xdd, 0xa2, 0xc3, 0xc7, 0x95, 0xe7, 0x9c, 0x07, 0x13, - 0x91, 0xf1, 0x88, 0xa4, 0x02, 0x76, 0x96, 0x4a, 0x2d, 0x30, 0x01, 0x3b, 0x4f, 0xd6, 0xc1, 0xcc, - 0x69, 0x2c, 0x42, 0x4a, 0x95, 0x30, 0x01, 0x02, 0x1e, 0xf5, 0x9f, 0x75, 0xa3, 0x1d, 0xf0, 0x68, - 0xe3, 0x63, 0xfa, 0xd6, 0xda, 0x72, 0x06, 0x45, 0xf9, 0x03, 0xed, 0xf6, 0xaa, 0xe4, 0x29, 0x1f, - 0xe3, 0x98, 0x02, 0x9e, 0x52, 0x48, 0x49, 0x3c, 0xff, 0x34, 0x70, 0x91, 0x58, 0xff, 0xbf, 0x9d, - 0x29, 0xf1, 0xa6, 0xff, 0x73, 0x1d, 0xe7, 0x5d, 0x6f, 0xba, 0x72, 0xa1, 0x13, 0x0a, 0x20, 0x65, - 0xa1, 0x3c, 0x1b, 0x94, 0xc1, 0x62, 0xa6, 0x2c, 0xbe, 0x13, 0x0a, 0xbf, 0xb2, 0xf8, 0x9e, 0xed, - 0x2b, 0xcb, 0xb7, 0xde, 0x96, 0xe7, 0x08, 0x39, 0xa1, 0x40, 0xa8, 0x32, 0x21, 0xe4, 0xd9, 0x08, - 0x29, 0xdb, 0xdd, 0xff, 0xf9, 0x3d, 0x7b, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xea, 0xe8, 0xe9, - 0xd5, 0x16, 0x03, 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 - -// GeographicViewServiceClient is the client API for GeographicViewService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type GeographicViewServiceClient interface { - // Returns the requested geographic view in full detail. - GetGeographicView(ctx context.Context, in *GetGeographicViewRequest, opts ...grpc.CallOption) (*resources.GeographicView, error) -} - -type geographicViewServiceClient struct { - cc *grpc.ClientConn -} - -func NewGeographicViewServiceClient(cc *grpc.ClientConn) GeographicViewServiceClient { - return &geographicViewServiceClient{cc} -} - -func (c *geographicViewServiceClient) GetGeographicView(ctx context.Context, in *GetGeographicViewRequest, opts ...grpc.CallOption) (*resources.GeographicView, error) { - out := new(resources.GeographicView) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.GeographicViewService/GetGeographicView", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// GeographicViewServiceServer is the server API for GeographicViewService service. -type GeographicViewServiceServer interface { - // Returns the requested geographic view in full detail. - GetGeographicView(context.Context, *GetGeographicViewRequest) (*resources.GeographicView, error) -} - -// UnimplementedGeographicViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedGeographicViewServiceServer struct { -} - -func (*UnimplementedGeographicViewServiceServer) GetGeographicView(ctx context.Context, req *GetGeographicViewRequest) (*resources.GeographicView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetGeographicView not implemented") -} - -func RegisterGeographicViewServiceServer(s *grpc.Server, srv GeographicViewServiceServer) { - s.RegisterService(&_GeographicViewService_serviceDesc, srv) -} - -func _GeographicViewService_GetGeographicView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetGeographicViewRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GeographicViewServiceServer).GetGeographicView(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.GeographicViewService/GetGeographicView", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GeographicViewServiceServer).GetGeographicView(ctx, req.(*GetGeographicViewRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _GeographicViewService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.GeographicViewService", - HandlerType: (*GeographicViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetGeographicView", - Handler: _GeographicViewService_GetGeographicView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/geographic_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/google_ads_field_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/google_ads_field_service.pb.go deleted file mode 100644 index b8200922..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/google_ads_field_service.pb.go +++ /dev/null @@ -1,362 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/google_ads_field_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [GoogleAdsFieldService.GetGoogleAdsField][google.ads.googleads.v2.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_53bb09f9b9b195a9, []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 (m *GetGoogleAdsFieldRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGoogleAdsFieldRequest.Merge(m, 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.v2.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_53bb09f9b9b195a9, []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 (m *SearchGoogleAdsFieldsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchGoogleAdsFieldsRequest.Merge(m, 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.v2.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_53bb09f9b9b195a9, []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 (m *SearchGoogleAdsFieldsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchGoogleAdsFieldsResponse.Merge(m, 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.v2.services.GetGoogleAdsFieldRequest") - proto.RegisterType((*SearchGoogleAdsFieldsRequest)(nil), "google.ads.googleads.v2.services.SearchGoogleAdsFieldsRequest") - proto.RegisterType((*SearchGoogleAdsFieldsResponse)(nil), "google.ads.googleads.v2.services.SearchGoogleAdsFieldsResponse") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/google_ads_field_service.proto", fileDescriptor_53bb09f9b9b195a9) -} - -var fileDescriptor_53bb09f9b9b195a9 = []byte{ - // 559 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xcf, 0x6e, 0xd3, 0x4e, - 0x10, 0x96, 0x1d, 0xf5, 0xf7, 0xa3, 0x0b, 0x15, 0xea, 0x42, 0x85, 0xe5, 0xb6, 0x22, 0x32, 0x2d, - 0x44, 0x95, 0x58, 0x0b, 0x73, 0x41, 0x8b, 0x20, 0x72, 0x91, 0x08, 0x12, 0x12, 0x8a, 0x12, 0x94, - 0x03, 0x8a, 0x64, 0x2d, 0xf6, 0x60, 0x2c, 0x9c, 0x5d, 0xd7, 0xbb, 0x89, 0xa0, 0x88, 0x03, 0xbc, - 0x02, 0x6f, 0xc0, 0xb1, 0x37, 0x9e, 0x80, 0x0b, 0xa7, 0x5e, 0x79, 0x05, 0x4e, 0x3c, 0x05, 0xf2, - 0x9f, 0x4d, 0x9b, 0x36, 0x21, 0x82, 0xdb, 0x7a, 0xbe, 0x99, 0xef, 0xfb, 0x76, 0x66, 0xd6, 0xa8, - 0x1d, 0x0b, 0x11, 0xa7, 0xe0, 0xb2, 0x48, 0xba, 0xd5, 0xb1, 0x38, 0x4d, 0x3c, 0x57, 0x42, 0x3e, - 0x49, 0x42, 0xd0, 0xd1, 0x80, 0x45, 0x32, 0x78, 0x95, 0x40, 0x1a, 0x05, 0x35, 0x42, 0xb2, 0x5c, - 0x28, 0x81, 0x9b, 0x15, 0x4e, 0x58, 0x24, 0xc9, 0x94, 0x80, 0x4c, 0x3c, 0xa2, 0x09, 0xec, 0x7b, - 0x8b, 0x24, 0x72, 0x90, 0x62, 0x9c, 0xcf, 0xd3, 0xa8, 0xb8, 0xed, 0x2d, 0x5d, 0x99, 0x25, 0x2e, - 0xe3, 0x5c, 0x28, 0xa6, 0x12, 0xc1, 0x65, 0x8d, 0x5e, 0x3b, 0x85, 0x86, 0x69, 0x02, 0x5c, 0x55, - 0x80, 0xd3, 0x46, 0x56, 0x07, 0x54, 0xa7, 0x44, 0xfd, 0x48, 0x3e, 0x2e, 0x18, 0x7b, 0x70, 0x30, - 0x06, 0xa9, 0xf0, 0x0d, 0xb4, 0xa6, 0x65, 0x03, 0xce, 0x46, 0x60, 0x19, 0x4d, 0xa3, 0xb5, 0xda, - 0xbb, 0xa4, 0x83, 0xcf, 0xd8, 0x08, 0x9c, 0x0c, 0x6d, 0xf5, 0x81, 0xe5, 0xe1, 0xeb, 0x59, 0x0e, - 0xa9, 0x49, 0xae, 0xa2, 0x95, 0x83, 0x31, 0xe4, 0xef, 0xea, 0xe2, 0xea, 0x03, 0x6f, 0x23, 0x94, - 0xb1, 0x18, 0x02, 0x25, 0xde, 0x00, 0xb7, 0xcc, 0x12, 0x5a, 0x2d, 0x22, 0xcf, 0x8b, 0x00, 0xde, - 0x44, 0xe5, 0x47, 0x20, 0x93, 0x43, 0xb0, 0x1a, 0x4d, 0xa3, 0xb5, 0xd2, 0xbb, 0x50, 0x04, 0xfa, - 0xc9, 0x21, 0x38, 0xdf, 0x0d, 0xb4, 0xbd, 0x40, 0x52, 0x66, 0x82, 0x4b, 0xc0, 0x4f, 0xd1, 0xff, - 0x39, 0xc8, 0x71, 0xaa, 0xa4, 0x65, 0x34, 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, 0xc6, 0xc0, 0xcb, - 0x97, 0xe8, 0x9e, 0x28, 0x2e, 0xfe, 0xc1, 0xdc, 0xd7, 0x87, 0x2f, 0x66, 0xa3, 0xe3, 0xfb, 0x47, - 0x66, 0xb3, 0x92, 0x23, 0x7e, 0x74, 0x6a, 0x80, 0x64, 0xe0, 0x91, 0x5a, 0x58, 0x1e, 0xeb, 0x94, - 0xa1, 0x1f, 0xc9, 0xe1, 0x34, 0x65, 0x38, 0xf0, 0x86, 0x3a, 0xe5, 0x97, 0xb9, 0x53, 0xc5, 0x29, - 0xf5, 0x23, 0x49, 0xe9, 0x34, 0x89, 0xd2, 0x81, 0x47, 0xa9, 0x4e, 0x7b, 0xf9, 0x5f, 0xe9, 0xf3, - 0xee, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbf, 0x0c, 0xef, 0x0e, 0x07, 0x05, 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 - -// 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.v2.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.v2.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) -} - -// UnimplementedGoogleAdsFieldServiceServer can be embedded to have forward compatible implementations. -type UnimplementedGoogleAdsFieldServiceServer struct { -} - -func (*UnimplementedGoogleAdsFieldServiceServer) GetGoogleAdsField(ctx context.Context, req *GetGoogleAdsFieldRequest) (*resources.GoogleAdsField, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetGoogleAdsField not implemented") -} -func (*UnimplementedGoogleAdsFieldServiceServer) SearchGoogleAdsFields(ctx context.Context, req *SearchGoogleAdsFieldsRequest) (*SearchGoogleAdsFieldsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchGoogleAdsFields not implemented") -} - -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.v2.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.v2.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.v2.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/v2/services/google_ads_field_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/google_ads_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/google_ads_service.pb.go deleted file mode 100644 index 08d85497..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/google_ads_service.pb.go +++ /dev/null @@ -1,3097 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/google_ads_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [GoogleAdsService.Search][google.ads.googleads.v2.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"` - // If true, the request is validated but not executed. - ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - // If true, summary row will be included in the response. - // Otherwise(false or not specified) summary row will not be returned. - ReturnSummaryRow bool `protobuf:"varint,6,opt,name=return_summary_row,json=returnSummaryRow,proto3" json:"return_summary_row,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_acc77a22dce62a02, []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 (m *SearchGoogleAdsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchGoogleAdsRequest.Merge(m, 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 -} - -func (m *SearchGoogleAdsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -func (m *SearchGoogleAdsRequest) GetReturnSummaryRow() bool { - if m != nil { - return m.ReturnSummaryRow - } - return false -} - -// Response message for [GoogleAdsService.Search][google.ads.googleads.v2.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"` - // Summary row that contains summary of metrics in results. - // Summary of metrics means aggregation of metrics across all results, - // here aggregation could be sum, average, rate, etc. - SummaryRow *GoogleAdsRow `protobuf:"bytes,6,opt,name=summary_row,json=summaryRow,proto3" json:"summary_row,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_acc77a22dce62a02, []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 (m *SearchGoogleAdsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchGoogleAdsResponse.Merge(m, 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 -} - -func (m *SearchGoogleAdsResponse) GetSummaryRow() *GoogleAdsRow { - if m != nil { - return m.SummaryRow - } - 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 ad asset view in the query. - AdGroupAdAssetView *resources.AdGroupAdAssetView `protobuf:"bytes,131,opt,name=ad_group_ad_asset_view,json=adGroupAdAssetView,proto3" json:"ad_group_ad_asset_view,omitempty"` - // The ad group ad label referenced in the query. - AdGroupAdLabel *resources.AdGroupAdLabel `protobuf:"bytes,120,opt,name=ad_group_ad_label,json=adGroupAdLabel,proto3" json:"ad_group_ad_label,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 criterion label referenced in the query. - AdGroupCriterionLabel *resources.AdGroupCriterionLabel `protobuf:"bytes,121,opt,name=ad_group_criterion_label,json=adGroupCriterionLabel,proto3" json:"ad_group_criterion_label,omitempty"` - // The ad group criterion simulation referenced in the query. - AdGroupCriterionSimulation *resources.AdGroupCriterionSimulation `protobuf:"bytes,110,opt,name=ad_group_criterion_simulation,json=adGroupCriterionSimulation,proto3" json:"ad_group_criterion_simulation,omitempty"` - // The ad group extension setting referenced in the query. - AdGroupExtensionSetting *resources.AdGroupExtensionSetting `protobuf:"bytes,112,opt,name=ad_group_extension_setting,json=adGroupExtensionSetting,proto3" json:"ad_group_extension_setting,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 ad group label referenced in the query. - AdGroupLabel *resources.AdGroupLabel `protobuf:"bytes,115,opt,name=ad_group_label,json=adGroupLabel,proto3" json:"ad_group_label,omitempty"` - // The ad group simulation referenced in the query. - AdGroupSimulation *resources.AdGroupSimulation `protobuf:"bytes,107,opt,name=ad_group_simulation,json=adGroupSimulation,proto3" json:"ad_group_simulation,omitempty"` - // The ad parameter referenced in the query. - AdParameter *resources.AdParameter `protobuf:"bytes,130,opt,name=ad_parameter,json=adParameter,proto3" json:"ad_parameter,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 ad schedule view referenced in the query. - AdScheduleView *resources.AdScheduleView `protobuf:"bytes,89,opt,name=ad_schedule_view,json=adScheduleView,proto3" json:"ad_schedule_view,omitempty"` - // The domain category referenced in the query. - DomainCategory *resources.DomainCategory `protobuf:"bytes,91,opt,name=domain_category,json=domainCategory,proto3" json:"domain_category,omitempty"` - // The asset referenced in the query. - Asset *resources.Asset `protobuf:"bytes,105,opt,name=asset,proto3" json:"asset,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 criterion simulation referenced in the query. - CampaignCriterionSimulation *resources.CampaignCriterionSimulation `protobuf:"bytes,111,opt,name=campaign_criterion_simulation,json=campaignCriterionSimulation,proto3" json:"campaign_criterion_simulation,omitempty"` - // The campaign draft referenced in the query. - CampaignDraft *resources.CampaignDraft `protobuf:"bytes,49,opt,name=campaign_draft,json=campaignDraft,proto3" json:"campaign_draft,omitempty"` - // The campaign experiment referenced in the query. - CampaignExperiment *resources.CampaignExperiment `protobuf:"bytes,84,opt,name=campaign_experiment,json=campaignExperiment,proto3" json:"campaign_experiment,omitempty"` - // The campaign extension setting referenced in the query. - CampaignExtensionSetting *resources.CampaignExtensionSetting `protobuf:"bytes,113,opt,name=campaign_extension_setting,json=campaignExtensionSetting,proto3" json:"campaign_extension_setting,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"` - // The campaign label referenced in the query. - CampaignLabel *resources.CampaignLabel `protobuf:"bytes,108,opt,name=campaign_label,json=campaignLabel,proto3" json:"campaign_label,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 conversion action referenced in the query. - ConversionAction *resources.ConversionAction `protobuf:"bytes,103,opt,name=conversion_action,json=conversionAction,proto3" json:"conversion_action,omitempty"` - // The ClickView referenced in the query. - ClickView *resources.ClickView `protobuf:"bytes,122,opt,name=click_view,json=clickView,proto3" json:"click_view,omitempty"` - // The CustomInterest referenced in the query. - CustomInterest *resources.CustomInterest `protobuf:"bytes,104,opt,name=custom_interest,json=customInterest,proto3" json:"custom_interest,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 extension setting referenced in the query. - CustomerExtensionSetting *resources.CustomerExtensionSetting `protobuf:"bytes,114,opt,name=customer_extension_setting,json=customerExtensionSetting,proto3" json:"customer_extension_setting,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 customer label referenced in the query. - CustomerLabel *resources.CustomerLabel `protobuf:"bytes,124,opt,name=customer_label,json=customerLabel,proto3" json:"customer_label,omitempty"` - // The customer negative criterion referenced in the query. - CustomerNegativeCriterion *resources.CustomerNegativeCriterion `protobuf:"bytes,88,opt,name=customer_negative_criterion,json=customerNegativeCriterion,proto3" json:"customer_negative_criterion,omitempty"` - // The detail placement view referenced in the query. - DetailPlacementView *resources.DetailPlacementView `protobuf:"bytes,118,opt,name=detail_placement_view,json=detailPlacementView,proto3" json:"detail_placement_view,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 distance view referenced in the query. - DistanceView *resources.DistanceView `protobuf:"bytes,132,opt,name=distance_view,json=distanceView,proto3" json:"distance_view,omitempty"` - // The dynamic search ads search term view referenced in the query. - DynamicSearchAdsSearchTermView *resources.DynamicSearchAdsSearchTermView `protobuf:"bytes,106,opt,name=dynamic_search_ads_search_term_view,json=dynamicSearchAdsSearchTermView,proto3" json:"dynamic_search_ads_search_term_view,omitempty"` - // The expanded landing page view referenced in the query. - ExpandedLandingPageView *resources.ExpandedLandingPageView `protobuf:"bytes,128,opt,name=expanded_landing_page_view,json=expandedLandingPageView,proto3" json:"expanded_landing_page_view,omitempty"` - // The extension feed item referenced in the query. - ExtensionFeedItem *resources.ExtensionFeedItem `protobuf:"bytes,85,opt,name=extension_feed_item,json=extensionFeedItem,proto3" json:"extension_feed_item,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 item target referenced in the query. - FeedItemTarget *resources.FeedItemTarget `protobuf:"bytes,116,opt,name=feed_item_target,json=feedItemTarget,proto3" json:"feed_item_target,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 feed placeholder view referenced in the query. - FeedPlaceholderView *resources.FeedPlaceholderView `protobuf:"bytes,97,opt,name=feed_placeholder_view,json=feedPlaceholderView,proto3" json:"feed_placeholder_view,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 geographic view referenced in the query. - GeographicView *resources.GeographicView `protobuf:"bytes,125,opt,name=geographic_view,json=geographicView,proto3" json:"geographic_view,omitempty"` - // The group placement view referenced in the query. - GroupPlacementView *resources.GroupPlacementView `protobuf:"bytes,119,opt,name=group_placement_view,json=groupPlacementView,proto3" json:"group_placement_view,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 label referenced in the query. - Label *resources.Label `protobuf:"bytes,52,opt,name=label,proto3" json:"label,omitempty"` - // The landing page view referenced in the query. - LandingPageView *resources.LandingPageView `protobuf:"bytes,126,opt,name=landing_page_view,json=landingPageView,proto3" json:"landing_page_view,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 location view referenced in the query. - LocationView *resources.LocationView `protobuf:"bytes,123,opt,name=location_view,json=locationView,proto3" json:"location_view,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 media file referenced in the query. - MediaFile *resources.MediaFile `protobuf:"bytes,90,opt,name=media_file,json=mediaFile,proto3" json:"media_file,omitempty"` - // The mobile app category constant referenced in the query. - MobileAppCategoryConstant *resources.MobileAppCategoryConstant `protobuf:"bytes,87,opt,name=mobile_app_category_constant,json=mobileAppCategoryConstant,proto3" json:"mobile_app_category_constant,omitempty"` - // The mobile device constant referenced in the query. - MobileDeviceConstant *resources.MobileDeviceConstant `protobuf:"bytes,98,opt,name=mobile_device_constant,json=mobileDeviceConstant,proto3" json:"mobile_device_constant,omitempty"` - // The mutate job referenced in the query. - MutateJob *resources.MutateJob `protobuf:"bytes,127,opt,name=mutate_job,json=mutateJob,proto3" json:"mutate_job,omitempty"` - // The operating system version constant referenced in the query. - OperatingSystemVersionConstant *resources.OperatingSystemVersionConstant `protobuf:"bytes,86,opt,name=operating_system_version_constant,json=operatingSystemVersionConstant,proto3" json:"operating_system_version_constant,omitempty"` - // The paid organic search term view referenced in the query. - PaidOrganicSearchTermView *resources.PaidOrganicSearchTermView `protobuf:"bytes,129,opt,name=paid_organic_search_term_view,json=paidOrganicSearchTermView,proto3" json:"paid_organic_search_term_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 Bidding Category referenced in the query. - ProductBiddingCategoryConstant *resources.ProductBiddingCategoryConstant `protobuf:"bytes,109,opt,name=product_bidding_category_constant,json=productBiddingCategoryConstant,proto3" json:"product_bidding_category_constant,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 shopping performance view referenced in the query. - ShoppingPerformanceView *resources.ShoppingPerformanceView `protobuf:"bytes,117,opt,name=shopping_performance_view,json=shoppingPerformanceView,proto3" json:"shopping_performance_view,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 user location view referenced in the query. - UserLocationView *resources.UserLocationView `protobuf:"bytes,135,opt,name=user_location_view,json=userLocationView,proto3" json:"user_location_view,omitempty"` - // The remarketing action referenced in the query. - RemarketingAction *resources.RemarketingAction `protobuf:"bytes,60,opt,name=remarketing_action,json=remarketingAction,proto3" json:"remarketing_action,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"` - // The segments. - Segments *common.Segments `protobuf:"bytes,102,opt,name=segments,proto3" json:"segments,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_acc77a22dce62a02, []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 (m *GoogleAdsRow) XXX_Merge(src proto.Message) { - xxx_messageInfo_GoogleAdsRow.Merge(m, 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) GetAdGroupAdAssetView() *resources.AdGroupAdAssetView { - if m != nil { - return m.AdGroupAdAssetView - } - return nil -} - -func (m *GoogleAdsRow) GetAdGroupAdLabel() *resources.AdGroupAdLabel { - if m != nil { - return m.AdGroupAdLabel - } - 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) GetAdGroupCriterionLabel() *resources.AdGroupCriterionLabel { - if m != nil { - return m.AdGroupCriterionLabel - } - return nil -} - -func (m *GoogleAdsRow) GetAdGroupCriterionSimulation() *resources.AdGroupCriterionSimulation { - if m != nil { - return m.AdGroupCriterionSimulation - } - return nil -} - -func (m *GoogleAdsRow) GetAdGroupExtensionSetting() *resources.AdGroupExtensionSetting { - if m != nil { - return m.AdGroupExtensionSetting - } - return nil -} - -func (m *GoogleAdsRow) GetAdGroupFeed() *resources.AdGroupFeed { - if m != nil { - return m.AdGroupFeed - } - return nil -} - -func (m *GoogleAdsRow) GetAdGroupLabel() *resources.AdGroupLabel { - if m != nil { - return m.AdGroupLabel - } - return nil -} - -func (m *GoogleAdsRow) GetAdGroupSimulation() *resources.AdGroupSimulation { - if m != nil { - return m.AdGroupSimulation - } - return nil -} - -func (m *GoogleAdsRow) GetAdParameter() *resources.AdParameter { - if m != nil { - return m.AdParameter - } - return nil -} - -func (m *GoogleAdsRow) GetAgeRangeView() *resources.AgeRangeView { - if m != nil { - return m.AgeRangeView - } - return nil -} - -func (m *GoogleAdsRow) GetAdScheduleView() *resources.AdScheduleView { - if m != nil { - return m.AdScheduleView - } - return nil -} - -func (m *GoogleAdsRow) GetDomainCategory() *resources.DomainCategory { - if m != nil { - return m.DomainCategory - } - return nil -} - -func (m *GoogleAdsRow) GetAsset() *resources.Asset { - if m != nil { - return m.Asset - } - 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) GetCampaignCriterionSimulation() *resources.CampaignCriterionSimulation { - if m != nil { - return m.CampaignCriterionSimulation - } - return nil -} - -func (m *GoogleAdsRow) GetCampaignDraft() *resources.CampaignDraft { - if m != nil { - return m.CampaignDraft - } - return nil -} - -func (m *GoogleAdsRow) GetCampaignExperiment() *resources.CampaignExperiment { - if m != nil { - return m.CampaignExperiment - } - return nil -} - -func (m *GoogleAdsRow) GetCampaignExtensionSetting() *resources.CampaignExtensionSetting { - if m != nil { - return m.CampaignExtensionSetting - } - return nil -} - -func (m *GoogleAdsRow) GetCampaignFeed() *resources.CampaignFeed { - if m != nil { - return m.CampaignFeed - } - return nil -} - -func (m *GoogleAdsRow) GetCampaignLabel() *resources.CampaignLabel { - if m != nil { - return m.CampaignLabel - } - 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) GetConversionAction() *resources.ConversionAction { - if m != nil { - return m.ConversionAction - } - return nil -} - -func (m *GoogleAdsRow) GetClickView() *resources.ClickView { - if m != nil { - return m.ClickView - } - return nil -} - -func (m *GoogleAdsRow) GetCustomInterest() *resources.CustomInterest { - if m != nil { - return m.CustomInterest - } - 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) GetCustomerExtensionSetting() *resources.CustomerExtensionSetting { - if m != nil { - return m.CustomerExtensionSetting - } - return nil -} - -func (m *GoogleAdsRow) GetCustomerFeed() *resources.CustomerFeed { - if m != nil { - return m.CustomerFeed - } - return nil -} - -func (m *GoogleAdsRow) GetCustomerLabel() *resources.CustomerLabel { - if m != nil { - return m.CustomerLabel - } - return nil -} - -func (m *GoogleAdsRow) GetCustomerNegativeCriterion() *resources.CustomerNegativeCriterion { - if m != nil { - return m.CustomerNegativeCriterion - } - return nil -} - -func (m *GoogleAdsRow) GetDetailPlacementView() *resources.DetailPlacementView { - if m != nil { - return m.DetailPlacementView - } - return nil -} - -func (m *GoogleAdsRow) GetDisplayKeywordView() *resources.DisplayKeywordView { - if m != nil { - return m.DisplayKeywordView - } - return nil -} - -func (m *GoogleAdsRow) GetDistanceView() *resources.DistanceView { - if m != nil { - return m.DistanceView - } - return nil -} - -func (m *GoogleAdsRow) GetDynamicSearchAdsSearchTermView() *resources.DynamicSearchAdsSearchTermView { - if m != nil { - return m.DynamicSearchAdsSearchTermView - } - return nil -} - -func (m *GoogleAdsRow) GetExpandedLandingPageView() *resources.ExpandedLandingPageView { - if m != nil { - return m.ExpandedLandingPageView - } - return nil -} - -func (m *GoogleAdsRow) GetExtensionFeedItem() *resources.ExtensionFeedItem { - if m != nil { - return m.ExtensionFeedItem - } - 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) GetFeedItemTarget() *resources.FeedItemTarget { - if m != nil { - return m.FeedItemTarget - } - return nil -} - -func (m *GoogleAdsRow) GetFeedMapping() *resources.FeedMapping { - if m != nil { - return m.FeedMapping - } - return nil -} - -func (m *GoogleAdsRow) GetFeedPlaceholderView() *resources.FeedPlaceholderView { - if m != nil { - return m.FeedPlaceholderView - } - 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) GetGeographicView() *resources.GeographicView { - if m != nil { - return m.GeographicView - } - return nil -} - -func (m *GoogleAdsRow) GetGroupPlacementView() *resources.GroupPlacementView { - if m != nil { - return m.GroupPlacementView - } - 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) GetLabel() *resources.Label { - if m != nil { - return m.Label - } - return nil -} - -func (m *GoogleAdsRow) GetLandingPageView() *resources.LandingPageView { - if m != nil { - return m.LandingPageView - } - return nil -} - -func (m *GoogleAdsRow) GetLanguageConstant() *resources.LanguageConstant { - if m != nil { - return m.LanguageConstant - } - return nil -} - -func (m *GoogleAdsRow) GetLocationView() *resources.LocationView { - if m != nil { - return m.LocationView - } - return nil -} - -func (m *GoogleAdsRow) GetManagedPlacementView() *resources.ManagedPlacementView { - if m != nil { - return m.ManagedPlacementView - } - return nil -} - -func (m *GoogleAdsRow) GetMediaFile() *resources.MediaFile { - if m != nil { - return m.MediaFile - } - return nil -} - -func (m *GoogleAdsRow) GetMobileAppCategoryConstant() *resources.MobileAppCategoryConstant { - if m != nil { - return m.MobileAppCategoryConstant - } - return nil -} - -func (m *GoogleAdsRow) GetMobileDeviceConstant() *resources.MobileDeviceConstant { - if m != nil { - return m.MobileDeviceConstant - } - return nil -} - -func (m *GoogleAdsRow) GetMutateJob() *resources.MutateJob { - if m != nil { - return m.MutateJob - } - return nil -} - -func (m *GoogleAdsRow) GetOperatingSystemVersionConstant() *resources.OperatingSystemVersionConstant { - if m != nil { - return m.OperatingSystemVersionConstant - } - return nil -} - -func (m *GoogleAdsRow) GetPaidOrganicSearchTermView() *resources.PaidOrganicSearchTermView { - if m != nil { - return m.PaidOrganicSearchTermView - } - return nil -} - -func (m *GoogleAdsRow) GetParentalStatusView() *resources.ParentalStatusView { - if m != nil { - return m.ParentalStatusView - } - return nil -} - -func (m *GoogleAdsRow) GetProductBiddingCategoryConstant() *resources.ProductBiddingCategoryConstant { - if m != nil { - return m.ProductBiddingCategoryConstant - } - 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) GetShoppingPerformanceView() *resources.ShoppingPerformanceView { - if m != nil { - return m.ShoppingPerformanceView - } - 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) GetUserLocationView() *resources.UserLocationView { - if m != nil { - return m.UserLocationView - } - return nil -} - -func (m *GoogleAdsRow) GetRemarketingAction() *resources.RemarketingAction { - if m != nil { - return m.RemarketingAction - } - 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) GetSegments() *common.Segments { - if m != nil { - return m.Segments - } - return nil -} - -// Request message for [GoogleAdsService.Mutate][google.ads.googleads.v2.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_acc77a22dce62a02, []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 (m *MutateGoogleAdsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateGoogleAdsRequest.Merge(m, 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 -} - -func (m *MutateGoogleAdsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateGoogleAdsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// Response message for [GoogleAdsService.Mutate][google.ads.googleads.v2.services.GoogleAdsService.Mutate]. -type MutateGoogleAdsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_acc77a22dce62a02, []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 (m *MutateGoogleAdsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateGoogleAdsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_AdGroupAdLabelOperation - // *MutateOperation_AdGroupAdOperation - // *MutateOperation_AdGroupBidModifierOperation - // *MutateOperation_AdGroupCriterionLabelOperation - // *MutateOperation_AdGroupCriterionOperation - // *MutateOperation_AdGroupExtensionSettingOperation - // *MutateOperation_AdGroupFeedOperation - // *MutateOperation_AdGroupLabelOperation - // *MutateOperation_AdGroupOperation - // *MutateOperation_AdParameterOperation - // *MutateOperation_AssetOperation - // *MutateOperation_BiddingStrategyOperation - // *MutateOperation_CampaignBidModifierOperation - // *MutateOperation_CampaignBudgetOperation - // *MutateOperation_CampaignCriterionOperation - // *MutateOperation_CampaignDraftOperation - // *MutateOperation_CampaignExperimentOperation - // *MutateOperation_CampaignExtensionSettingOperation - // *MutateOperation_CampaignFeedOperation - // *MutateOperation_CampaignLabelOperation - // *MutateOperation_CampaignOperation - // *MutateOperation_CampaignSharedSetOperation - // *MutateOperation_ConversionActionOperation - // *MutateOperation_CustomerExtensionSettingOperation - // *MutateOperation_CustomerFeedOperation - // *MutateOperation_CustomerLabelOperation - // *MutateOperation_CustomerNegativeCriterionOperation - // *MutateOperation_CustomerOperation - // *MutateOperation_ExtensionFeedItemOperation - // *MutateOperation_FeedItemOperation - // *MutateOperation_FeedItemTargetOperation - // *MutateOperation_FeedMappingOperation - // *MutateOperation_FeedOperation - // *MutateOperation_LabelOperation - // *MutateOperation_MediaFileOperation - // *MutateOperation_RemarketingActionOperation - // *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_acc77a22dce62a02, []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 (m *MutateOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateOperation.Merge(m, 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_AdGroupAdLabelOperation struct { - AdGroupAdLabelOperation *AdGroupAdLabelOperation `protobuf:"bytes,17,opt,name=ad_group_ad_label_operation,json=adGroupAdLabelOperation,proto3,oneof"` -} - -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_AdGroupCriterionLabelOperation struct { - AdGroupCriterionLabelOperation *AdGroupCriterionLabelOperation `protobuf:"bytes,18,opt,name=ad_group_criterion_label_operation,json=adGroupCriterionLabelOperation,proto3,oneof"` -} - -type MutateOperation_AdGroupCriterionOperation struct { - AdGroupCriterionOperation *AdGroupCriterionOperation `protobuf:"bytes,3,opt,name=ad_group_criterion_operation,json=adGroupCriterionOperation,proto3,oneof"` -} - -type MutateOperation_AdGroupExtensionSettingOperation struct { - AdGroupExtensionSettingOperation *AdGroupExtensionSettingOperation `protobuf:"bytes,19,opt,name=ad_group_extension_setting_operation,json=adGroupExtensionSettingOperation,proto3,oneof"` -} - -type MutateOperation_AdGroupFeedOperation struct { - AdGroupFeedOperation *AdGroupFeedOperation `protobuf:"bytes,20,opt,name=ad_group_feed_operation,json=adGroupFeedOperation,proto3,oneof"` -} - -type MutateOperation_AdGroupLabelOperation struct { - AdGroupLabelOperation *AdGroupLabelOperation `protobuf:"bytes,21,opt,name=ad_group_label_operation,json=adGroupLabelOperation,proto3,oneof"` -} - -type MutateOperation_AdGroupOperation struct { - AdGroupOperation *AdGroupOperation `protobuf:"bytes,5,opt,name=ad_group_operation,json=adGroupOperation,proto3,oneof"` -} - -type MutateOperation_AdParameterOperation struct { - AdParameterOperation *AdParameterOperation `protobuf:"bytes,22,opt,name=ad_parameter_operation,json=adParameterOperation,proto3,oneof"` -} - -type MutateOperation_AssetOperation struct { - AssetOperation *AssetOperation `protobuf:"bytes,23,opt,name=asset_operation,json=assetOperation,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_CampaignCriterionOperation struct { - CampaignCriterionOperation *CampaignCriterionOperation `protobuf:"bytes,13,opt,name=campaign_criterion_operation,json=campaignCriterionOperation,proto3,oneof"` -} - -type MutateOperation_CampaignDraftOperation struct { - CampaignDraftOperation *CampaignDraftOperation `protobuf:"bytes,24,opt,name=campaign_draft_operation,json=campaignDraftOperation,proto3,oneof"` -} - -type MutateOperation_CampaignExperimentOperation struct { - CampaignExperimentOperation *CampaignExperimentOperation `protobuf:"bytes,25,opt,name=campaign_experiment_operation,json=campaignExperimentOperation,proto3,oneof"` -} - -type MutateOperation_CampaignExtensionSettingOperation struct { - CampaignExtensionSettingOperation *CampaignExtensionSettingOperation `protobuf:"bytes,26,opt,name=campaign_extension_setting_operation,json=campaignExtensionSettingOperation,proto3,oneof"` -} - -type MutateOperation_CampaignFeedOperation struct { - CampaignFeedOperation *CampaignFeedOperation `protobuf:"bytes,27,opt,name=campaign_feed_operation,json=campaignFeedOperation,proto3,oneof"` -} - -type MutateOperation_CampaignLabelOperation struct { - CampaignLabelOperation *CampaignLabelOperation `protobuf:"bytes,28,opt,name=campaign_label_operation,json=campaignLabelOperation,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_CustomerExtensionSettingOperation struct { - CustomerExtensionSettingOperation *CustomerExtensionSettingOperation `protobuf:"bytes,30,opt,name=customer_extension_setting_operation,json=customerExtensionSettingOperation,proto3,oneof"` -} - -type MutateOperation_CustomerFeedOperation struct { - CustomerFeedOperation *CustomerFeedOperation `protobuf:"bytes,31,opt,name=customer_feed_operation,json=customerFeedOperation,proto3,oneof"` -} - -type MutateOperation_CustomerLabelOperation struct { - CustomerLabelOperation *CustomerLabelOperation `protobuf:"bytes,32,opt,name=customer_label_operation,json=customerLabelOperation,proto3,oneof"` -} - -type MutateOperation_CustomerNegativeCriterionOperation struct { - CustomerNegativeCriterionOperation *CustomerNegativeCriterionOperation `protobuf:"bytes,34,opt,name=customer_negative_criterion_operation,json=customerNegativeCriterionOperation,proto3,oneof"` -} - -type MutateOperation_CustomerOperation struct { - CustomerOperation *CustomerOperation `protobuf:"bytes,35,opt,name=customer_operation,json=customerOperation,proto3,oneof"` -} - -type MutateOperation_ExtensionFeedItemOperation struct { - ExtensionFeedItemOperation *ExtensionFeedItemOperation `protobuf:"bytes,36,opt,name=extension_feed_item_operation,json=extensionFeedItemOperation,proto3,oneof"` -} - -type MutateOperation_FeedItemOperation struct { - FeedItemOperation *FeedItemOperation `protobuf:"bytes,37,opt,name=feed_item_operation,json=feedItemOperation,proto3,oneof"` -} - -type MutateOperation_FeedItemTargetOperation struct { - FeedItemTargetOperation *FeedItemTargetOperation `protobuf:"bytes,38,opt,name=feed_item_target_operation,json=feedItemTargetOperation,proto3,oneof"` -} - -type MutateOperation_FeedMappingOperation struct { - FeedMappingOperation *FeedMappingOperation `protobuf:"bytes,39,opt,name=feed_mapping_operation,json=feedMappingOperation,proto3,oneof"` -} - -type MutateOperation_FeedOperation struct { - FeedOperation *FeedOperation `protobuf:"bytes,40,opt,name=feed_operation,json=feedOperation,proto3,oneof"` -} - -type MutateOperation_LabelOperation struct { - LabelOperation *LabelOperation `protobuf:"bytes,41,opt,name=label_operation,json=labelOperation,proto3,oneof"` -} - -type MutateOperation_MediaFileOperation struct { - MediaFileOperation *MediaFileOperation `protobuf:"bytes,42,opt,name=media_file_operation,json=mediaFileOperation,proto3,oneof"` -} - -type MutateOperation_RemarketingActionOperation struct { - RemarketingActionOperation *RemarketingActionOperation `protobuf:"bytes,43,opt,name=remarketing_action_operation,json=remarketingActionOperation,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_AdGroupAdLabelOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_AdGroupAdOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_AdGroupBidModifierOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_AdGroupCriterionLabelOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_AdGroupCriterionOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_AdGroupExtensionSettingOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_AdGroupFeedOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_AdGroupLabelOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_AdGroupOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_AdParameterOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_AssetOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_BiddingStrategyOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_CampaignBidModifierOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_CampaignBudgetOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_CampaignCriterionOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_CampaignDraftOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_CampaignExperimentOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_CampaignExtensionSettingOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_CampaignFeedOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_CampaignLabelOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_CampaignOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_CampaignSharedSetOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_ConversionActionOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_CustomerExtensionSettingOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_CustomerFeedOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_CustomerLabelOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_CustomerNegativeCriterionOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_CustomerOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_ExtensionFeedItemOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_FeedItemOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_FeedItemTargetOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_FeedMappingOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_FeedOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_LabelOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_MediaFileOperation) isMutateOperation_Operation() {} - -func (*MutateOperation_RemarketingActionOperation) 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) GetAdGroupAdLabelOperation() *AdGroupAdLabelOperation { - if x, ok := m.GetOperation().(*MutateOperation_AdGroupAdLabelOperation); ok { - return x.AdGroupAdLabelOperation - } - 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) GetAdGroupCriterionLabelOperation() *AdGroupCriterionLabelOperation { - if x, ok := m.GetOperation().(*MutateOperation_AdGroupCriterionLabelOperation); ok { - return x.AdGroupCriterionLabelOperation - } - return nil -} - -func (m *MutateOperation) GetAdGroupCriterionOperation() *AdGroupCriterionOperation { - if x, ok := m.GetOperation().(*MutateOperation_AdGroupCriterionOperation); ok { - return x.AdGroupCriterionOperation - } - return nil -} - -func (m *MutateOperation) GetAdGroupExtensionSettingOperation() *AdGroupExtensionSettingOperation { - if x, ok := m.GetOperation().(*MutateOperation_AdGroupExtensionSettingOperation); ok { - return x.AdGroupExtensionSettingOperation - } - return nil -} - -func (m *MutateOperation) GetAdGroupFeedOperation() *AdGroupFeedOperation { - if x, ok := m.GetOperation().(*MutateOperation_AdGroupFeedOperation); ok { - return x.AdGroupFeedOperation - } - return nil -} - -func (m *MutateOperation) GetAdGroupLabelOperation() *AdGroupLabelOperation { - if x, ok := m.GetOperation().(*MutateOperation_AdGroupLabelOperation); ok { - return x.AdGroupLabelOperation - } - return nil -} - -func (m *MutateOperation) GetAdGroupOperation() *AdGroupOperation { - if x, ok := m.GetOperation().(*MutateOperation_AdGroupOperation); ok { - return x.AdGroupOperation - } - return nil -} - -func (m *MutateOperation) GetAdParameterOperation() *AdParameterOperation { - if x, ok := m.GetOperation().(*MutateOperation_AdParameterOperation); ok { - return x.AdParameterOperation - } - return nil -} - -func (m *MutateOperation) GetAssetOperation() *AssetOperation { - if x, ok := m.GetOperation().(*MutateOperation_AssetOperation); ok { - return x.AssetOperation - } - 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) GetCampaignCriterionOperation() *CampaignCriterionOperation { - if x, ok := m.GetOperation().(*MutateOperation_CampaignCriterionOperation); ok { - return x.CampaignCriterionOperation - } - return nil -} - -func (m *MutateOperation) GetCampaignDraftOperation() *CampaignDraftOperation { - if x, ok := m.GetOperation().(*MutateOperation_CampaignDraftOperation); ok { - return x.CampaignDraftOperation - } - return nil -} - -func (m *MutateOperation) GetCampaignExperimentOperation() *CampaignExperimentOperation { - if x, ok := m.GetOperation().(*MutateOperation_CampaignExperimentOperation); ok { - return x.CampaignExperimentOperation - } - return nil -} - -func (m *MutateOperation) GetCampaignExtensionSettingOperation() *CampaignExtensionSettingOperation { - if x, ok := m.GetOperation().(*MutateOperation_CampaignExtensionSettingOperation); ok { - return x.CampaignExtensionSettingOperation - } - return nil -} - -func (m *MutateOperation) GetCampaignFeedOperation() *CampaignFeedOperation { - if x, ok := m.GetOperation().(*MutateOperation_CampaignFeedOperation); ok { - return x.CampaignFeedOperation - } - return nil -} - -func (m *MutateOperation) GetCampaignLabelOperation() *CampaignLabelOperation { - if x, ok := m.GetOperation().(*MutateOperation_CampaignLabelOperation); ok { - return x.CampaignLabelOperation - } - 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) GetCustomerExtensionSettingOperation() *CustomerExtensionSettingOperation { - if x, ok := m.GetOperation().(*MutateOperation_CustomerExtensionSettingOperation); ok { - return x.CustomerExtensionSettingOperation - } - return nil -} - -func (m *MutateOperation) GetCustomerFeedOperation() *CustomerFeedOperation { - if x, ok := m.GetOperation().(*MutateOperation_CustomerFeedOperation); ok { - return x.CustomerFeedOperation - } - return nil -} - -func (m *MutateOperation) GetCustomerLabelOperation() *CustomerLabelOperation { - if x, ok := m.GetOperation().(*MutateOperation_CustomerLabelOperation); ok { - return x.CustomerLabelOperation - } - return nil -} - -func (m *MutateOperation) GetCustomerNegativeCriterionOperation() *CustomerNegativeCriterionOperation { - if x, ok := m.GetOperation().(*MutateOperation_CustomerNegativeCriterionOperation); ok { - return x.CustomerNegativeCriterionOperation - } - return nil -} - -func (m *MutateOperation) GetCustomerOperation() *CustomerOperation { - if x, ok := m.GetOperation().(*MutateOperation_CustomerOperation); ok { - return x.CustomerOperation - } - return nil -} - -func (m *MutateOperation) GetExtensionFeedItemOperation() *ExtensionFeedItemOperation { - if x, ok := m.GetOperation().(*MutateOperation_ExtensionFeedItemOperation); ok { - return x.ExtensionFeedItemOperation - } - return nil -} - -func (m *MutateOperation) GetFeedItemOperation() *FeedItemOperation { - if x, ok := m.GetOperation().(*MutateOperation_FeedItemOperation); ok { - return x.FeedItemOperation - } - return nil -} - -func (m *MutateOperation) GetFeedItemTargetOperation() *FeedItemTargetOperation { - if x, ok := m.GetOperation().(*MutateOperation_FeedItemTargetOperation); ok { - return x.FeedItemTargetOperation - } - return nil -} - -func (m *MutateOperation) GetFeedMappingOperation() *FeedMappingOperation { - if x, ok := m.GetOperation().(*MutateOperation_FeedMappingOperation); ok { - return x.FeedMappingOperation - } - return nil -} - -func (m *MutateOperation) GetFeedOperation() *FeedOperation { - if x, ok := m.GetOperation().(*MutateOperation_FeedOperation); ok { - return x.FeedOperation - } - return nil -} - -func (m *MutateOperation) GetLabelOperation() *LabelOperation { - if x, ok := m.GetOperation().(*MutateOperation_LabelOperation); ok { - return x.LabelOperation - } - return nil -} - -func (m *MutateOperation) GetMediaFileOperation() *MediaFileOperation { - if x, ok := m.GetOperation().(*MutateOperation_MediaFileOperation); ok { - return x.MediaFileOperation - } - return nil -} - -func (m *MutateOperation) GetRemarketingActionOperation() *RemarketingActionOperation { - if x, ok := m.GetOperation().(*MutateOperation_RemarketingActionOperation); ok { - return x.RemarketingActionOperation - } - 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_OneofWrappers is for the internal use of the proto package. -func (*MutateOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*MutateOperation_AdGroupAdLabelOperation)(nil), - (*MutateOperation_AdGroupAdOperation)(nil), - (*MutateOperation_AdGroupBidModifierOperation)(nil), - (*MutateOperation_AdGroupCriterionLabelOperation)(nil), - (*MutateOperation_AdGroupCriterionOperation)(nil), - (*MutateOperation_AdGroupExtensionSettingOperation)(nil), - (*MutateOperation_AdGroupFeedOperation)(nil), - (*MutateOperation_AdGroupLabelOperation)(nil), - (*MutateOperation_AdGroupOperation)(nil), - (*MutateOperation_AdParameterOperation)(nil), - (*MutateOperation_AssetOperation)(nil), - (*MutateOperation_BiddingStrategyOperation)(nil), - (*MutateOperation_CampaignBidModifierOperation)(nil), - (*MutateOperation_CampaignBudgetOperation)(nil), - (*MutateOperation_CampaignCriterionOperation)(nil), - (*MutateOperation_CampaignDraftOperation)(nil), - (*MutateOperation_CampaignExperimentOperation)(nil), - (*MutateOperation_CampaignExtensionSettingOperation)(nil), - (*MutateOperation_CampaignFeedOperation)(nil), - (*MutateOperation_CampaignLabelOperation)(nil), - (*MutateOperation_CampaignOperation)(nil), - (*MutateOperation_CampaignSharedSetOperation)(nil), - (*MutateOperation_ConversionActionOperation)(nil), - (*MutateOperation_CustomerExtensionSettingOperation)(nil), - (*MutateOperation_CustomerFeedOperation)(nil), - (*MutateOperation_CustomerLabelOperation)(nil), - (*MutateOperation_CustomerNegativeCriterionOperation)(nil), - (*MutateOperation_CustomerOperation)(nil), - (*MutateOperation_ExtensionFeedItemOperation)(nil), - (*MutateOperation_FeedItemOperation)(nil), - (*MutateOperation_FeedItemTargetOperation)(nil), - (*MutateOperation_FeedMappingOperation)(nil), - (*MutateOperation_FeedOperation)(nil), - (*MutateOperation_LabelOperation)(nil), - (*MutateOperation_MediaFileOperation)(nil), - (*MutateOperation_RemarketingActionOperation)(nil), - (*MutateOperation_SharedCriterionOperation)(nil), - (*MutateOperation_SharedSetOperation)(nil), - (*MutateOperation_UserListOperation)(nil), - } -} - -// Response message for the resource mutate. -type MutateOperationResponse struct { - // The mutate response. - // - // Types that are valid to be assigned to Response: - // *MutateOperationResponse_AdGroupAdLabelResult - // *MutateOperationResponse_AdGroupAdResult - // *MutateOperationResponse_AdGroupBidModifierResult - // *MutateOperationResponse_AdGroupCriterionLabelResult - // *MutateOperationResponse_AdGroupCriterionResult - // *MutateOperationResponse_AdGroupExtensionSettingResult - // *MutateOperationResponse_AdGroupFeedResult - // *MutateOperationResponse_AdGroupLabelResult - // *MutateOperationResponse_AdGroupResult - // *MutateOperationResponse_AdParameterResult - // *MutateOperationResponse_AssetResult - // *MutateOperationResponse_BiddingStrategyResult - // *MutateOperationResponse_CampaignBidModifierResult - // *MutateOperationResponse_CampaignBudgetResult - // *MutateOperationResponse_CampaignCriterionResult - // *MutateOperationResponse_CampaignDraftResult - // *MutateOperationResponse_CampaignExperimentResult - // *MutateOperationResponse_CampaignExtensionSettingResult - // *MutateOperationResponse_CampaignFeedResult - // *MutateOperationResponse_CampaignLabelResult - // *MutateOperationResponse_CampaignResult - // *MutateOperationResponse_CampaignSharedSetResult - // *MutateOperationResponse_ConversionActionResult - // *MutateOperationResponse_CustomerExtensionSettingResult - // *MutateOperationResponse_CustomerFeedResult - // *MutateOperationResponse_CustomerLabelResult - // *MutateOperationResponse_CustomerNegativeCriterionResult - // *MutateOperationResponse_CustomerResult - // *MutateOperationResponse_ExtensionFeedItemResult - // *MutateOperationResponse_FeedItemResult - // *MutateOperationResponse_FeedItemTargetResult - // *MutateOperationResponse_FeedMappingResult - // *MutateOperationResponse_FeedResult - // *MutateOperationResponse_LabelResult - // *MutateOperationResponse_MediaFileResult - // *MutateOperationResponse_RemarketingActionResult - // *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_acc77a22dce62a02, []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 (m *MutateOperationResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateOperationResponse.Merge(m, 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_AdGroupAdLabelResult struct { - AdGroupAdLabelResult *MutateAdGroupAdLabelResult `protobuf:"bytes,17,opt,name=ad_group_ad_label_result,json=adGroupAdLabelResult,proto3,oneof"` -} - -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_AdGroupCriterionLabelResult struct { - AdGroupCriterionLabelResult *MutateAdGroupCriterionLabelResult `protobuf:"bytes,18,opt,name=ad_group_criterion_label_result,json=adGroupCriterionLabelResult,proto3,oneof"` -} - -type MutateOperationResponse_AdGroupCriterionResult struct { - AdGroupCriterionResult *MutateAdGroupCriterionResult `protobuf:"bytes,3,opt,name=ad_group_criterion_result,json=adGroupCriterionResult,proto3,oneof"` -} - -type MutateOperationResponse_AdGroupExtensionSettingResult struct { - AdGroupExtensionSettingResult *MutateAdGroupExtensionSettingResult `protobuf:"bytes,19,opt,name=ad_group_extension_setting_result,json=adGroupExtensionSettingResult,proto3,oneof"` -} - -type MutateOperationResponse_AdGroupFeedResult struct { - AdGroupFeedResult *MutateAdGroupFeedResult `protobuf:"bytes,20,opt,name=ad_group_feed_result,json=adGroupFeedResult,proto3,oneof"` -} - -type MutateOperationResponse_AdGroupLabelResult struct { - AdGroupLabelResult *MutateAdGroupLabelResult `protobuf:"bytes,21,opt,name=ad_group_label_result,json=adGroupLabelResult,proto3,oneof"` -} - -type MutateOperationResponse_AdGroupResult struct { - AdGroupResult *MutateAdGroupResult `protobuf:"bytes,5,opt,name=ad_group_result,json=adGroupResult,proto3,oneof"` -} - -type MutateOperationResponse_AdParameterResult struct { - AdParameterResult *MutateAdParameterResult `protobuf:"bytes,22,opt,name=ad_parameter_result,json=adParameterResult,proto3,oneof"` -} - -type MutateOperationResponse_AssetResult struct { - AssetResult *MutateAssetResult `protobuf:"bytes,23,opt,name=asset_result,json=assetResult,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_CampaignCriterionResult struct { - CampaignCriterionResult *MutateCampaignCriterionResult `protobuf:"bytes,13,opt,name=campaign_criterion_result,json=campaignCriterionResult,proto3,oneof"` -} - -type MutateOperationResponse_CampaignDraftResult struct { - CampaignDraftResult *MutateCampaignDraftResult `protobuf:"bytes,24,opt,name=campaign_draft_result,json=campaignDraftResult,proto3,oneof"` -} - -type MutateOperationResponse_CampaignExperimentResult struct { - CampaignExperimentResult *MutateCampaignExperimentResult `protobuf:"bytes,25,opt,name=campaign_experiment_result,json=campaignExperimentResult,proto3,oneof"` -} - -type MutateOperationResponse_CampaignExtensionSettingResult struct { - CampaignExtensionSettingResult *MutateCampaignExtensionSettingResult `protobuf:"bytes,26,opt,name=campaign_extension_setting_result,json=campaignExtensionSettingResult,proto3,oneof"` -} - -type MutateOperationResponse_CampaignFeedResult struct { - CampaignFeedResult *MutateCampaignFeedResult `protobuf:"bytes,27,opt,name=campaign_feed_result,json=campaignFeedResult,proto3,oneof"` -} - -type MutateOperationResponse_CampaignLabelResult struct { - CampaignLabelResult *MutateCampaignLabelResult `protobuf:"bytes,28,opt,name=campaign_label_result,json=campaignLabelResult,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_CustomerExtensionSettingResult struct { - CustomerExtensionSettingResult *MutateCustomerExtensionSettingResult `protobuf:"bytes,30,opt,name=customer_extension_setting_result,json=customerExtensionSettingResult,proto3,oneof"` -} - -type MutateOperationResponse_CustomerFeedResult struct { - CustomerFeedResult *MutateCustomerFeedResult `protobuf:"bytes,31,opt,name=customer_feed_result,json=customerFeedResult,proto3,oneof"` -} - -type MutateOperationResponse_CustomerLabelResult struct { - CustomerLabelResult *MutateCustomerLabelResult `protobuf:"bytes,32,opt,name=customer_label_result,json=customerLabelResult,proto3,oneof"` -} - -type MutateOperationResponse_CustomerNegativeCriterionResult struct { - CustomerNegativeCriterionResult *MutateCustomerNegativeCriteriaResult `protobuf:"bytes,34,opt,name=customer_negative_criterion_result,json=customerNegativeCriterionResult,proto3,oneof"` -} - -type MutateOperationResponse_CustomerResult struct { - CustomerResult *MutateCustomerResult `protobuf:"bytes,35,opt,name=customer_result,json=customerResult,proto3,oneof"` -} - -type MutateOperationResponse_ExtensionFeedItemResult struct { - ExtensionFeedItemResult *MutateExtensionFeedItemResult `protobuf:"bytes,36,opt,name=extension_feed_item_result,json=extensionFeedItemResult,proto3,oneof"` -} - -type MutateOperationResponse_FeedItemResult struct { - FeedItemResult *MutateFeedItemResult `protobuf:"bytes,37,opt,name=feed_item_result,json=feedItemResult,proto3,oneof"` -} - -type MutateOperationResponse_FeedItemTargetResult struct { - FeedItemTargetResult *MutateFeedItemTargetResult `protobuf:"bytes,38,opt,name=feed_item_target_result,json=feedItemTargetResult,proto3,oneof"` -} - -type MutateOperationResponse_FeedMappingResult struct { - FeedMappingResult *MutateFeedMappingResult `protobuf:"bytes,39,opt,name=feed_mapping_result,json=feedMappingResult,proto3,oneof"` -} - -type MutateOperationResponse_FeedResult struct { - FeedResult *MutateFeedResult `protobuf:"bytes,40,opt,name=feed_result,json=feedResult,proto3,oneof"` -} - -type MutateOperationResponse_LabelResult struct { - LabelResult *MutateLabelResult `protobuf:"bytes,41,opt,name=label_result,json=labelResult,proto3,oneof"` -} - -type MutateOperationResponse_MediaFileResult struct { - MediaFileResult *MutateMediaFileResult `protobuf:"bytes,42,opt,name=media_file_result,json=mediaFileResult,proto3,oneof"` -} - -type MutateOperationResponse_RemarketingActionResult struct { - RemarketingActionResult *MutateRemarketingActionResult `protobuf:"bytes,43,opt,name=remarketing_action_result,json=remarketingActionResult,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_AdGroupAdLabelResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_AdGroupAdResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_AdGroupBidModifierResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_AdGroupCriterionLabelResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_AdGroupCriterionResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_AdGroupExtensionSettingResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_AdGroupFeedResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_AdGroupLabelResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_AdGroupResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_AdParameterResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_AssetResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_BiddingStrategyResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_CampaignBidModifierResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_CampaignBudgetResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_CampaignCriterionResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_CampaignDraftResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_CampaignExperimentResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_CampaignExtensionSettingResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_CampaignFeedResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_CampaignLabelResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_CampaignResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_CampaignSharedSetResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_ConversionActionResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_CustomerExtensionSettingResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_CustomerFeedResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_CustomerLabelResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_CustomerNegativeCriterionResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_CustomerResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_ExtensionFeedItemResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_FeedItemResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_FeedItemTargetResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_FeedMappingResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_FeedResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_LabelResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_MediaFileResult) isMutateOperationResponse_Response() {} - -func (*MutateOperationResponse_RemarketingActionResult) 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) GetAdGroupAdLabelResult() *MutateAdGroupAdLabelResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_AdGroupAdLabelResult); ok { - return x.AdGroupAdLabelResult - } - 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) GetAdGroupCriterionLabelResult() *MutateAdGroupCriterionLabelResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_AdGroupCriterionLabelResult); ok { - return x.AdGroupCriterionLabelResult - } - return nil -} - -func (m *MutateOperationResponse) GetAdGroupCriterionResult() *MutateAdGroupCriterionResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_AdGroupCriterionResult); ok { - return x.AdGroupCriterionResult - } - return nil -} - -func (m *MutateOperationResponse) GetAdGroupExtensionSettingResult() *MutateAdGroupExtensionSettingResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_AdGroupExtensionSettingResult); ok { - return x.AdGroupExtensionSettingResult - } - return nil -} - -func (m *MutateOperationResponse) GetAdGroupFeedResult() *MutateAdGroupFeedResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_AdGroupFeedResult); ok { - return x.AdGroupFeedResult - } - return nil -} - -func (m *MutateOperationResponse) GetAdGroupLabelResult() *MutateAdGroupLabelResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_AdGroupLabelResult); ok { - return x.AdGroupLabelResult - } - return nil -} - -func (m *MutateOperationResponse) GetAdGroupResult() *MutateAdGroupResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_AdGroupResult); ok { - return x.AdGroupResult - } - return nil -} - -func (m *MutateOperationResponse) GetAdParameterResult() *MutateAdParameterResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_AdParameterResult); ok { - return x.AdParameterResult - } - return nil -} - -func (m *MutateOperationResponse) GetAssetResult() *MutateAssetResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_AssetResult); ok { - return x.AssetResult - } - 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) GetCampaignCriterionResult() *MutateCampaignCriterionResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_CampaignCriterionResult); ok { - return x.CampaignCriterionResult - } - return nil -} - -func (m *MutateOperationResponse) GetCampaignDraftResult() *MutateCampaignDraftResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_CampaignDraftResult); ok { - return x.CampaignDraftResult - } - return nil -} - -func (m *MutateOperationResponse) GetCampaignExperimentResult() *MutateCampaignExperimentResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_CampaignExperimentResult); ok { - return x.CampaignExperimentResult - } - return nil -} - -func (m *MutateOperationResponse) GetCampaignExtensionSettingResult() *MutateCampaignExtensionSettingResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_CampaignExtensionSettingResult); ok { - return x.CampaignExtensionSettingResult - } - return nil -} - -func (m *MutateOperationResponse) GetCampaignFeedResult() *MutateCampaignFeedResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_CampaignFeedResult); ok { - return x.CampaignFeedResult - } - return nil -} - -func (m *MutateOperationResponse) GetCampaignLabelResult() *MutateCampaignLabelResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_CampaignLabelResult); ok { - return x.CampaignLabelResult - } - 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) GetCustomerExtensionSettingResult() *MutateCustomerExtensionSettingResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_CustomerExtensionSettingResult); ok { - return x.CustomerExtensionSettingResult - } - return nil -} - -func (m *MutateOperationResponse) GetCustomerFeedResult() *MutateCustomerFeedResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_CustomerFeedResult); ok { - return x.CustomerFeedResult - } - return nil -} - -func (m *MutateOperationResponse) GetCustomerLabelResult() *MutateCustomerLabelResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_CustomerLabelResult); ok { - return x.CustomerLabelResult - } - return nil -} - -func (m *MutateOperationResponse) GetCustomerNegativeCriterionResult() *MutateCustomerNegativeCriteriaResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_CustomerNegativeCriterionResult); ok { - return x.CustomerNegativeCriterionResult - } - return nil -} - -func (m *MutateOperationResponse) GetCustomerResult() *MutateCustomerResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_CustomerResult); ok { - return x.CustomerResult - } - return nil -} - -func (m *MutateOperationResponse) GetExtensionFeedItemResult() *MutateExtensionFeedItemResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_ExtensionFeedItemResult); ok { - return x.ExtensionFeedItemResult - } - return nil -} - -func (m *MutateOperationResponse) GetFeedItemResult() *MutateFeedItemResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_FeedItemResult); ok { - return x.FeedItemResult - } - return nil -} - -func (m *MutateOperationResponse) GetFeedItemTargetResult() *MutateFeedItemTargetResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_FeedItemTargetResult); ok { - return x.FeedItemTargetResult - } - return nil -} - -func (m *MutateOperationResponse) GetFeedMappingResult() *MutateFeedMappingResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_FeedMappingResult); ok { - return x.FeedMappingResult - } - return nil -} - -func (m *MutateOperationResponse) GetFeedResult() *MutateFeedResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_FeedResult); ok { - return x.FeedResult - } - return nil -} - -func (m *MutateOperationResponse) GetLabelResult() *MutateLabelResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_LabelResult); ok { - return x.LabelResult - } - return nil -} - -func (m *MutateOperationResponse) GetMediaFileResult() *MutateMediaFileResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_MediaFileResult); ok { - return x.MediaFileResult - } - return nil -} - -func (m *MutateOperationResponse) GetRemarketingActionResult() *MutateRemarketingActionResult { - if x, ok := m.GetResponse().(*MutateOperationResponse_RemarketingActionResult); ok { - return x.RemarketingActionResult - } - 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_OneofWrappers is for the internal use of the proto package. -func (*MutateOperationResponse) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*MutateOperationResponse_AdGroupAdLabelResult)(nil), - (*MutateOperationResponse_AdGroupAdResult)(nil), - (*MutateOperationResponse_AdGroupBidModifierResult)(nil), - (*MutateOperationResponse_AdGroupCriterionLabelResult)(nil), - (*MutateOperationResponse_AdGroupCriterionResult)(nil), - (*MutateOperationResponse_AdGroupExtensionSettingResult)(nil), - (*MutateOperationResponse_AdGroupFeedResult)(nil), - (*MutateOperationResponse_AdGroupLabelResult)(nil), - (*MutateOperationResponse_AdGroupResult)(nil), - (*MutateOperationResponse_AdParameterResult)(nil), - (*MutateOperationResponse_AssetResult)(nil), - (*MutateOperationResponse_BiddingStrategyResult)(nil), - (*MutateOperationResponse_CampaignBidModifierResult)(nil), - (*MutateOperationResponse_CampaignBudgetResult)(nil), - (*MutateOperationResponse_CampaignCriterionResult)(nil), - (*MutateOperationResponse_CampaignDraftResult)(nil), - (*MutateOperationResponse_CampaignExperimentResult)(nil), - (*MutateOperationResponse_CampaignExtensionSettingResult)(nil), - (*MutateOperationResponse_CampaignFeedResult)(nil), - (*MutateOperationResponse_CampaignLabelResult)(nil), - (*MutateOperationResponse_CampaignResult)(nil), - (*MutateOperationResponse_CampaignSharedSetResult)(nil), - (*MutateOperationResponse_ConversionActionResult)(nil), - (*MutateOperationResponse_CustomerExtensionSettingResult)(nil), - (*MutateOperationResponse_CustomerFeedResult)(nil), - (*MutateOperationResponse_CustomerLabelResult)(nil), - (*MutateOperationResponse_CustomerNegativeCriterionResult)(nil), - (*MutateOperationResponse_CustomerResult)(nil), - (*MutateOperationResponse_ExtensionFeedItemResult)(nil), - (*MutateOperationResponse_FeedItemResult)(nil), - (*MutateOperationResponse_FeedItemTargetResult)(nil), - (*MutateOperationResponse_FeedMappingResult)(nil), - (*MutateOperationResponse_FeedResult)(nil), - (*MutateOperationResponse_LabelResult)(nil), - (*MutateOperationResponse_MediaFileResult)(nil), - (*MutateOperationResponse_RemarketingActionResult)(nil), - (*MutateOperationResponse_SharedCriterionResult)(nil), - (*MutateOperationResponse_SharedSetResult)(nil), - (*MutateOperationResponse_UserListResult)(nil), - } -} - -func init() { - proto.RegisterType((*SearchGoogleAdsRequest)(nil), "google.ads.googleads.v2.services.SearchGoogleAdsRequest") - proto.RegisterType((*SearchGoogleAdsResponse)(nil), "google.ads.googleads.v2.services.SearchGoogleAdsResponse") - proto.RegisterType((*GoogleAdsRow)(nil), "google.ads.googleads.v2.services.GoogleAdsRow") - proto.RegisterType((*MutateGoogleAdsRequest)(nil), "google.ads.googleads.v2.services.MutateGoogleAdsRequest") - proto.RegisterType((*MutateGoogleAdsResponse)(nil), "google.ads.googleads.v2.services.MutateGoogleAdsResponse") - proto.RegisterType((*MutateOperation)(nil), "google.ads.googleads.v2.services.MutateOperation") - proto.RegisterType((*MutateOperationResponse)(nil), "google.ads.googleads.v2.services.MutateOperationResponse") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/google_ads_service.proto", fileDescriptor_acc77a22dce62a02) -} - -var fileDescriptor_acc77a22dce62a02 = []byte{ - // 5401 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x7d, 0x5b, 0x6f, 0x1c, 0x47, - 0x76, 0xff, 0x7f, 0xa4, 0x95, 0x2d, 0x15, 0xef, 0x45, 0x52, 0x2c, 0x91, 0xba, 0x99, 0x96, 0x6d, - 0x59, 0xb6, 0x49, 0x9b, 0xf2, 0x4d, 0xd4, 0xc5, 0xe6, 0x45, 0x92, 0x2f, 0xd2, 0x9a, 0xff, 0xa6, - 0x2c, 0x7b, 0x6d, 0xef, 0xce, 0x16, 0xbb, 0x6b, 0x86, 0x6d, 0xce, 0x4c, 0x8f, 0xba, 0x7b, 0x48, - 0xd1, 0x5e, 0x7b, 0xbd, 0xde, 0x0d, 0x16, 0x48, 0x82, 0x05, 0x82, 0x4d, 0x02, 0xe4, 0x35, 0x40, - 0x5e, 0xf2, 0x09, 0xf2, 0x05, 0x82, 0x00, 0xfb, 0x9a, 0xb7, 0x3c, 0xe4, 0x29, 0x40, 0x80, 0x7c, - 0x86, 0x04, 0x08, 0xba, 0xba, 0xba, 0xba, 0xaa, 0xba, 0x9a, 0x73, 0x8a, 0x79, 0x9b, 0x3e, 0xd5, - 0xbf, 0xf3, 0x3b, 0x5d, 0x5d, 0xa7, 0xea, 0xd4, 0xe9, 0x53, 0x24, 0xba, 0xd1, 0x8e, 0xa2, 0x76, - 0x87, 0x2d, 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, 0x40, 0x6e, 0xb7, 0x4f, 0x44, - 0x30, 0x68, 0x7b, 0x90, 0xc1, 0xdc, 0x03, 0xa0, 0x4e, 0xe4, 0xf3, 0x88, 0xd6, 0x71, 0x28, 0xe6, - 0x6b, 0x5e, 0x60, 0x77, 0x02, 0x40, 0x00, 0xd5, 0x65, 0x41, 0x48, 0x9b, 0xad, 0xb0, 0x23, 0xb2, - 0x41, 0xf3, 0x9b, 0x00, 0x4c, 0xb4, 0x13, 0x76, 0x58, 0x93, 0xf6, 0xfb, 0x72, 0xf1, 0x30, 0x1f, - 0xf8, 0x0e, 0x58, 0x4b, 0xc0, 0xf6, 0x43, 0xbf, 0xd2, 0x61, 0x10, 0xcb, 0x07, 0x29, 0x4d, 0x59, - 0xf3, 0xeb, 0x68, 0x47, 0x60, 0x3e, 0x1c, 0x8e, 0x89, 0xfa, 0x2c, 0xa6, 0x29, 0xdf, 0xaa, 0x1d, - 0x26, 0xd9, 0x8c, 0x5c, 0x04, 0x82, 0x06, 0x3d, 0x60, 0x44, 0xf7, 0x69, 0x18, 0x34, 0xa3, 0xb8, - 0x4d, 0x7b, 0xe5, 0x4a, 0x68, 0x2e, 0x7f, 0xb7, 0x20, 0x6a, 0x62, 0xd6, 0x4b, 0x69, 0x47, 0x44, - 0xbe, 0x2a, 0x1a, 0xf0, 0x3c, 0xfd, 0x38, 0x0a, 0x06, 0x7e, 0xda, 0x2c, 0xb6, 0xae, 0x75, 0xaf, - 0x63, 0x15, 0xae, 0xaa, 0x32, 0x1f, 0x02, 0x22, 0xb7, 0x98, 0xf9, 0x51, 0xb7, 0xcb, 0x7a, 0x81, - 0xba, 0x27, 0x5b, 0x85, 0xe0, 0xba, 0x34, 0xde, 0x63, 0xfc, 0x85, 0x68, 0xa1, 0x38, 0x60, 0xf6, - 0xae, 0xe9, 0x72, 0x08, 0x32, 0xdf, 0xd8, 0x98, 0x51, 0xde, 0x0a, 0x18, 0x59, 0x6e, 0x89, 0xd6, - 0x20, 0x98, 0x88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63, 0xc3, - 0xa1, 0x43, 0xb6, 0x0a, 0x58, 0xd6, 0x21, 0xf2, 0x82, 0x77, 0x88, 0x56, 0xc6, 0x44, 0x5e, 0x87, - 0x77, 0x48, 0x9b, 0x79, 0x19, 0x8e, 0xbb, 0xff, 0x28, 0x55, 0xae, 0xf0, 0x97, 0x68, 0xd2, 0xac, - 0xab, 0x22, 0x3f, 0x73, 0x98, 0xc1, 0xb6, 0x05, 0x92, 0xab, 0x1e, 0xa7, 0xda, 0x35, 0xfe, 0x02, - 0x4d, 0x18, 0xdf, 0x88, 0xc9, 0x97, 0x60, 0xdd, 0x9b, 0x1c, 0xb9, 0x21, 0x80, 0xde, 0x78, 0xa0, - 0x5d, 0xe3, 0x3b, 0xe8, 0x14, 0x9f, 0xdb, 0x49, 0xc8, 0x35, 0x5e, 0x85, 0x58, 0x9b, 0xdd, 0xef, - 0xe5, 0x30, 0xfc, 0x73, 0x34, 0x69, 0xa6, 0x44, 0x08, 0xe6, 0xaa, 0x56, 0x00, 0xaa, 0xd6, 0x73, - 0xe8, 0xb6, 0x40, 0x7a, 0x13, 0x3b, 0xba, 0x00, 0x3f, 0x42, 0x63, 0x5a, 0x51, 0x17, 0x79, 0x19, - 0xfc, 0xb6, 0xd6, 0x73, 0xdc, 0x76, 0x06, 0xf3, 0x46, 0x77, 0x94, 0xab, 0xac, 0x43, 0x8d, 0x04, - 0x0a, 0x99, 0x06, 0x77, 0xe8, 0x86, 0x40, 0x8a, 0xf0, 0x61, 0xdc, 0xd7, 0xae, 0xf1, 0x7d, 0x74, - 0xba, 0x90, 0xf0, 0x30, 0x6c, 0x64, 0xe5, 0x15, 0x07, 0xa5, 0x9e, 0x04, 0xe3, 0x2e, 0x3a, 0x6b, - 0x2f, 0x33, 0x23, 0x77, 0xb9, 0xda, 0x77, 0x1c, 0xd4, 0x6a, 0x0b, 0xd7, 0x8c, 0x6f, 0x91, 0xe2, - 0xaf, 0xd1, 0xac, 0x35, 0x35, 0x45, 0xe6, 0xc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 0xa9, 0x72, 0x84, 0x4d, 0x24, 0x98, 0x04, 0xff, - 0x69, 0xb7, 0x85, 0xc0, 0x38, 0x73, 0x27, 0x17, 0x02, 0xdf, 0x22, 0xc7, 0xdf, 0x29, 0x69, 0xad, - 0xca, 0x6c, 0x94, 0x67, 0x96, 0xde, 0x73, 0x25, 0xae, 0x4e, 0x47, 0x73, 0xbe, 0xbd, 0x09, 0x3f, - 0x51, 0x0e, 0xd2, 0xe5, 0x99, 0x25, 0x41, 0x4d, 0xa0, 0x7b, 0x5d, 0x9d, 0x3a, 0x3f, 0xfe, 0x55, - 0xd0, 0x4e, 0xfb, 0x55, 0x71, 0x16, 0x6b, 0xcd, 0xdb, 0xd2, 0x4a, 0x82, 0xf8, 0x9c, 0xdb, 0x82, - 0x64, 0x39, 0x19, 0x26, 0x17, 0x24, 0xbf, 0xa6, 0x0d, 0xff, 0xb1, 0x81, 0x9e, 0x3b, 0x22, 0xa7, - 0x24, 0x2c, 0xc9, 0x13, 0x4a, 0xf7, 0xdc, 0x2d, 0xa9, 0x99, 0x86, 0x2f, 0xfa, 0x47, 0xde, 0x81, - 0x7b, 0x68, 0x46, 0x4f, 0x28, 0x09, 0x3b, 0x16, 0xdc, 0x26, 0x46, 0xed, 0x38, 0x99, 0x9c, 0x18, - 0xfd, 0x8a, 0x54, 0x7b, 0xf7, 0xda, 0x4c, 0x7c, 0xfe, 0x78, 0xef, 0x5e, 0x9f, 0x8a, 0xa7, 0xfd, - 0xaa, 0x18, 0x53, 0xe5, 0x2c, 0xab, 0x20, 0x43, 0xd0, 0x1d, 0x8f, 0x4e, 0x26, 0x79, 0xe4, 0x01, - 0x39, 0x41, 0xf1, 0xbd, 0x32, 0xba, 0x94, 0xa0, 0x56, 0xb0, 0x8d, 0x1c, 0xcf, 0xa3, 0xca, 0x72, - 0x8f, 0x8a, 0x47, 0x19, 0x4d, 0xf8, 0x1b, 0x44, 0xaa, 0x39, 0x24, 0xc1, 0x3e, 0xea, 0x16, 0x5d, -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, 0x5e, 0x24, 0xbb, - 0xda, 0xb8, 0xc6, 0x4d, 0xcf, 0xbb, 0x01, 0x62, 0xba, 0xbd, 0x9a, 0x6e, 0xfe, 0xc6, 0x31, 0x90, - 0xc7, 0x35, 0x3d, 0x2f, 0x13, 0x5b, 0x6d, 0x5c, 0x9b, 0x5f, 0xf8, 0xd3, 0x1a, 0x29, 0xc9, 0xc4, - 0xaf, 0x7e, 0x98, 0x2c, 0xf9, 0x51, 0x77, 0xfd, 0xbf, 0x1b, 0xe8, 0x8a, 0x1f, 0x75, 0x87, 0x1a, - 0xb6, 0x3e, 0x6b, 0xbe, 0xcd, 0xad, 0x38, 0x4a, 0xa3, 0xad, 0xc6, 0x17, 0x1f, 0x08, 0x68, 0x3b, - 0xea, 0xd0, 0x5e, 0x7b, 0x29, 0x8a, 0xdb, 0xcb, 0x6d, 0xd6, 0xe3, 0x7f, 0x0a, 0x6e, 0xb9, 0x24, - 0xab, 0xff, 0xdb, 0x83, 0x37, 0x8b, 0x1f, 0x7f, 0x7f, 0xe2, 0xe4, 0xfd, 0xb5, 0xb5, 0x7f, 0x3c, - 0x71, 0x39, 0x67, 0x5a, 0x5a, 0x0b, 0x94, 0xbf, 0xfd, 0xb6, 0xf4, 0x78, 0x65, 0x49, 0x10, 0x27, - 0x7f, 0x2a, 0x6e, 0xf9, 0x6a, 0x2d, 0x48, 0xbe, 0x92, 0xb7, 0x7c, 0xf5, 0x78, 0xe5, 0xab, 0xe2, - 0x96, 0xff, 0x3a, 0x71, 0x25, 0x97, 0xaf, 0xae, 0x66, 0x9d, 0xb1, 0x2a, 0x6f, 0x5a, 0x5d, 0x7d, - 0xbc, 0xb2, 0xba, 0x5a, 0xdc, 0xb6, 0xf3, 0x0c, 0xb7, 0xf3, 0xfa, 0xff, 0x06, 0x00, 0x00, 0xff, - 0xff, 0x56, 0xaf, 0x97, 0x96, 0xa2, 0x71, 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 - -// 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. This method supports atomic - // transactions with multiple types of resources. For example, you can - // atomically create a campaign and a campaign budget, or perform up to - // thousands of mutates atomically. - // - // This method is essentially a wrapper around a series of mutate methods. The - // only features it offers over calling those methods directly are: - // - // - Atomic transactions - // - Temp resource names (described below) - // - Somewhat reduced latency over making a series of mutate calls - // - // Note: Only resources that support atomic transactions are included, so this - // method can't replace all calls to individual services. - // - // ## Atomic Transaction Benefits - // - // Atomicity makes error handling much easier. If you're making a series of - // changes and one fails, it can leave your account in an inconsistent state. - // With atomicity, you either reach the desired state directly, or the request - // fails and you can retry. - // - // ## Temp Resource Names - // - // Temp resource names are a special type of resource name used to create a - // resource and reference that resource in the same request. For example, if a - // campaign budget is created with `resource_name` equal to - // `customers/123/campaignBudgets/-1`, that resource name can be reused in - // the `Campaign.budget` field in the same request. That way, the two - // resources are created and linked atomically. - // - // To create a temp resource name, put a negative number in the part of the - // name that the server would normally allocate. - // - // Note: - // - // - Resources must be created with a temp name before the name can be reused. - // For example, the previous CampaignBudget+Campaign example would fail if - // the mutate order was reversed. - // - Temp names are not remembered across requests. - // - There's no limit to the number of temp names in a request. - // - Each temp name must use a unique negative number, even if the resource - // types differ. - // - // ## Latency - // - // It's important to group mutates by resource type or the request may time - // out and fail. Latency is roughly equal to a series of calls to individual - // mutate methods, where each change in resource type is a new call. For - // example, mutating 10 campaigns then 10 ad groups is like 2 calls, while - // mutating 1 campaign, 1 ad group, 1 campaign, 1 ad group is like 4 calls. - 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.v2.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.v2.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. This method supports atomic - // transactions with multiple types of resources. For example, you can - // atomically create a campaign and a campaign budget, or perform up to - // thousands of mutates atomically. - // - // This method is essentially a wrapper around a series of mutate methods. The - // only features it offers over calling those methods directly are: - // - // - Atomic transactions - // - Temp resource names (described below) - // - Somewhat reduced latency over making a series of mutate calls - // - // Note: Only resources that support atomic transactions are included, so this - // method can't replace all calls to individual services. - // - // ## Atomic Transaction Benefits - // - // Atomicity makes error handling much easier. If you're making a series of - // changes and one fails, it can leave your account in an inconsistent state. - // With atomicity, you either reach the desired state directly, or the request - // fails and you can retry. - // - // ## Temp Resource Names - // - // Temp resource names are a special type of resource name used to create a - // resource and reference that resource in the same request. For example, if a - // campaign budget is created with `resource_name` equal to - // `customers/123/campaignBudgets/-1`, that resource name can be reused in - // the `Campaign.budget` field in the same request. That way, the two - // resources are created and linked atomically. - // - // To create a temp resource name, put a negative number in the part of the - // name that the server would normally allocate. - // - // Note: - // - // - Resources must be created with a temp name before the name can be reused. - // For example, the previous CampaignBudget+Campaign example would fail if - // the mutate order was reversed. - // - Temp names are not remembered across requests. - // - There's no limit to the number of temp names in a request. - // - Each temp name must use a unique negative number, even if the resource - // types differ. - // - // ## Latency - // - // It's important to group mutates by resource type or the request may time - // out and fail. Latency is roughly equal to a series of calls to individual - // mutate methods, where each change in resource type is a new call. For - // example, mutating 10 campaigns then 10 ad groups is like 2 calls, while - // mutating 1 campaign, 1 ad group, 1 campaign, 1 ad group is like 4 calls. - Mutate(context.Context, *MutateGoogleAdsRequest) (*MutateGoogleAdsResponse, error) -} - -// UnimplementedGoogleAdsServiceServer can be embedded to have forward compatible implementations. -type UnimplementedGoogleAdsServiceServer struct { -} - -func (*UnimplementedGoogleAdsServiceServer) Search(ctx context.Context, req *SearchGoogleAdsRequest) (*SearchGoogleAdsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method Search not implemented") -} -func (*UnimplementedGoogleAdsServiceServer) Mutate(ctx context.Context, req *MutateGoogleAdsRequest) (*MutateGoogleAdsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method Mutate not implemented") -} - -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.v2.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.v2.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.v2.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/v2/services/google_ads_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/group_placement_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/group_placement_view_service.pb.go deleted file mode 100644 index a4a7209e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/group_placement_view_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/group_placement_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [GroupPlacementViewService.GetGroupPlacementView][google.ads.googleads.v2.services.GroupPlacementViewService.GetGroupPlacementView]. -type GetGroupPlacementViewRequest struct { - // The resource name of the Group 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 *GetGroupPlacementViewRequest) Reset() { *m = GetGroupPlacementViewRequest{} } -func (m *GetGroupPlacementViewRequest) String() string { return proto.CompactTextString(m) } -func (*GetGroupPlacementViewRequest) ProtoMessage() {} -func (*GetGroupPlacementViewRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3fd8b1c75e923f6a, []int{0} -} - -func (m *GetGroupPlacementViewRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetGroupPlacementViewRequest.Unmarshal(m, b) -} -func (m *GetGroupPlacementViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetGroupPlacementViewRequest.Marshal(b, m, deterministic) -} -func (m *GetGroupPlacementViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGroupPlacementViewRequest.Merge(m, src) -} -func (m *GetGroupPlacementViewRequest) XXX_Size() int { - return xxx_messageInfo_GetGroupPlacementViewRequest.Size(m) -} -func (m *GetGroupPlacementViewRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetGroupPlacementViewRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetGroupPlacementViewRequest proto.InternalMessageInfo - -func (m *GetGroupPlacementViewRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetGroupPlacementViewRequest)(nil), "google.ads.googleads.v2.services.GetGroupPlacementViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/group_placement_view_service.proto", fileDescriptor_3fd8b1c75e923f6a) -} - -var fileDescriptor_3fd8b1c75e923f6a = []byte{ - // 395 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xcd, 0xaa, 0xd3, 0x40, - 0x14, 0x26, 0x11, 0x04, 0x83, 0x6e, 0x02, 0x62, 0x8d, 0x45, 0x4a, 0xed, 0x42, 0xba, 0x98, 0x81, - 0x48, 0x11, 0x46, 0x2b, 0xa4, 0x5d, 0xc4, 0x95, 0x94, 0x0a, 0x59, 0x48, 0x20, 0x8c, 0xc9, 0x21, - 0x04, 0x92, 0x99, 0x98, 0x99, 0xa4, 0x0b, 0x71, 0x23, 0x08, 0xee, 0x7d, 0x03, 0x97, 0x3e, 0x4a, - 0xc1, 0x95, 0xaf, 0xe0, 0xea, 0x3e, 0xc5, 0x25, 0x9d, 0x4c, 0x7a, 0x4b, 0x6f, 0x6e, 0x77, 0x1f, - 0x73, 0xbe, 0x9f, 0x39, 0xdf, 0x8c, 0xb5, 0x4e, 0x39, 0x4f, 0x73, 0xc0, 0x34, 0x11, 0x58, 0xc1, - 0x16, 0x35, 0x2e, 0x16, 0x50, 0x35, 0x59, 0x0c, 0x02, 0xa7, 0x15, 0xaf, 0xcb, 0xa8, 0xcc, 0x69, - 0x0c, 0x05, 0x30, 0x19, 0x35, 0x19, 0xec, 0xa2, 0x6e, 0x8a, 0xca, 0x8a, 0x4b, 0x6e, 0x4f, 0x94, - 0x12, 0xd1, 0x44, 0xa0, 0xde, 0x04, 0x35, 0x2e, 0xd2, 0x26, 0xce, 0xdb, 0xa1, 0x98, 0x0a, 0x04, - 0xaf, 0xab, 0xa1, 0x1c, 0xe5, 0xef, 0x8c, 0xb5, 0xba, 0xcc, 0x30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- 0x95, 0xa1, 0x97, 0x08, 0xa4, 0x60, 0x8b, 0x02, 0x17, 0x75, 0xc1, 0x62, 0xaf, 0x29, 0xa1, 0x97, - 0x88, 0xb0, 0xa7, 0x84, 0x81, 0x1b, 0x6a, 0xca, 0x95, 0x39, 0x53, 0xe7, 0x84, 0x78, 0x89, 0x20, - 0xa4, 0x27, 0x11, 0x12, 0xb8, 0x84, 0x68, 0xda, 0xe7, 0xfb, 0x87, 0x7b, 0xbe, 0xba, 0x0e, 0x00, - 0x00, 0xff, 0xff, 0x93, 0x4b, 0x6c, 0xa8, 0x3c, 0x03, 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 - -// GroupPlacementViewServiceClient is the client API for GroupPlacementViewService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type GroupPlacementViewServiceClient interface { - // Returns the requested Group Placement view in full detail. - GetGroupPlacementView(ctx context.Context, in *GetGroupPlacementViewRequest, opts ...grpc.CallOption) (*resources.GroupPlacementView, error) -} - -type groupPlacementViewServiceClient struct { - cc *grpc.ClientConn -} - -func NewGroupPlacementViewServiceClient(cc *grpc.ClientConn) GroupPlacementViewServiceClient { - return &groupPlacementViewServiceClient{cc} -} - -func (c *groupPlacementViewServiceClient) GetGroupPlacementView(ctx context.Context, in *GetGroupPlacementViewRequest, opts ...grpc.CallOption) (*resources.GroupPlacementView, error) { - out := new(resources.GroupPlacementView) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.GroupPlacementViewService/GetGroupPlacementView", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// GroupPlacementViewServiceServer is the server API for GroupPlacementViewService service. -type GroupPlacementViewServiceServer interface { - // Returns the requested Group Placement view in full detail. - GetGroupPlacementView(context.Context, *GetGroupPlacementViewRequest) (*resources.GroupPlacementView, error) -} - -// UnimplementedGroupPlacementViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedGroupPlacementViewServiceServer struct { -} - -func (*UnimplementedGroupPlacementViewServiceServer) GetGroupPlacementView(ctx context.Context, req *GetGroupPlacementViewRequest) (*resources.GroupPlacementView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetGroupPlacementView not implemented") -} - -func RegisterGroupPlacementViewServiceServer(s *grpc.Server, srv GroupPlacementViewServiceServer) { - s.RegisterService(&_GroupPlacementViewService_serviceDesc, srv) -} - -func _GroupPlacementViewService_GetGroupPlacementView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetGroupPlacementViewRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GroupPlacementViewServiceServer).GetGroupPlacementView(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.GroupPlacementViewService/GetGroupPlacementView", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GroupPlacementViewServiceServer).GetGroupPlacementView(ctx, req.(*GetGroupPlacementViewRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _GroupPlacementViewService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.GroupPlacementViewService", - HandlerType: (*GroupPlacementViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetGroupPlacementView", - Handler: _GroupPlacementViewService_GetGroupPlacementView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/group_placement_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/hotel_group_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/hotel_group_view_service.pb.go deleted file mode 100644 index 239c3f12..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/hotel_group_view_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/hotel_group_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [HotelGroupViewService.GetHotelGroupView][google.ads.googleads.v2.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_879c80fa4777e520, []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 (m *GetHotelGroupViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetHotelGroupViewRequest.Merge(m, 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.v2.services.GetHotelGroupViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/hotel_group_view_service.proto", fileDescriptor_879c80fa4777e520) -} - -var fileDescriptor_879c80fa4777e520 = []byte{ - // 394 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xcf, 0x6a, 0xa3, 0x40, - 0x18, 0x47, 0x17, 0x16, 0x56, 0x76, 0x0f, 0x2b, 0x2c, 0x1b, 0xdc, 0x3d, 0x84, 0x6c, 0x0e, 0x4b, - 0x0e, 0x33, 0xc4, 0x5c, 0x76, 0xa7, 0x94, 0x60, 0x2e, 0xe6, 0x54, 0x42, 0x0a, 0x1e, 0x8a, 0x20, - 0x56, 0x07, 0x2b, 0xa8, 0x63, 0xfd, 0x46, 0x73, 0x28, 0x3d, 0xb4, 0xaf, 0xd0, 0x37, 0xe8, 0xb1, - 0xef, 0xd0, 0x17, 0xc8, 0xb5, 0xaf, 0xd0, 0x53, 0xcf, 0x7d, 0x80, 0x62, 0xc6, 0x31, 0x0d, 0x8d, - 0xe4, 0xf6, 0x63, 0xbe, 0xdf, 0x9f, 0xef, 0xfb, 0xa9, 0x36, 0x8d, 0x18, 0x8b, 0x12, 0x8a, 0xfd, - 0x10, 0xb0, 0x80, 0x35, 0xaa, 0x4c, 0x0c, 0xb4, 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x3a, 0xbb, - 0x51, 0xb5, 0x61, 0xc0, 0xd2, 0x83, 0xc7, 0xcc, 0x8c, 0xbd, 0xe5, 0x2c, 0xea, 0xf2, 0x17, 0xca, - 0xd9, 0xbc, 0xd1, 0x47, 0x2c, 0xf1, 0xb3, 0x08, 0xb1, 0x22, 0xc2, 0x11, 0xcd, 0x36, 0x9f, 0x06, - 0x6f, 0x13, 0xbb, 0xff, 0xb8, 0x23, 0x09, 0xee, 0xd5, 0x4f, 0xb6, 0x65, 0x3d, 0xa8, 0x7d, 0x5b, - 0x18, 0x5a, 0x21, 0x20, 0x01, 0x6b, 0xe4, 0x98, 0xa8, 0x09, 0x86, 0xb5, 0xa4, 0xb8, 0x56, 0x08, - 0x6e, 0x4b, 0x71, 0x1d, 0xd3, 0x95, 0x94, 0x17, 0x75, 0x28, 0xde, 0x09, 0xb1, 0x42, 0x20, 0xa4, - 0x25, 0x11, 0xe2, 0x98, 0x84, 0x48, 0xda, 0xf9, 0xe7, 0xcd, 0x9e, 0x93, 0xb7, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xac, 0xdd, 0xea, 0xdb, 0x18, 0x03, 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 - -// 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.v2.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) -} - -// UnimplementedHotelGroupViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedHotelGroupViewServiceServer struct { -} - -func (*UnimplementedHotelGroupViewServiceServer) GetHotelGroupView(ctx context.Context, req *GetHotelGroupViewRequest) (*resources.HotelGroupView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetHotelGroupView not implemented") -} - -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.v2.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.v2.services.HotelGroupViewService", - HandlerType: (*HotelGroupViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetHotelGroupView", - Handler: _HotelGroupViewService_GetHotelGroupView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/hotel_group_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/hotel_performance_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/hotel_performance_view_service.pb.go deleted file mode 100644 index c7b9c751..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/hotel_performance_view_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/hotel_performance_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [HotelPerformanceViewService.GetHotelPerformanceView][google.ads.googleads.v2.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_13bf764e5e04adb1, []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 (m *GetHotelPerformanceViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetHotelPerformanceViewRequest.Merge(m, 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.v2.services.GetHotelPerformanceViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/hotel_performance_view_service.proto", fileDescriptor_13bf764e5e04adb1) -} - -var fileDescriptor_13bf764e5e04adb1 = []byte{ - // 396 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xcd, 0xca, 0xd3, 0x40, - 0x14, 0x25, 0x11, 0x04, 0x83, 0x6e, 0xb2, 0x69, 0x49, 0x45, 0x42, 0xed, 0x42, 0x5c, 0xcc, 0x40, - 0x14, 0x85, 0xf1, 0x07, 0x53, 0x28, 0xed, 0x4a, 0x4a, 0x85, 0x2c, 0x24, 0x10, 0xc6, 0xe4, 0x1a, - 0x03, 0xc9, 0x4c, 0x9c, 0x99, 0xa6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fc, 0x88, 0xde, 0xd3, 0x41, - 0x85, 0x3e, 0x3c, 0x74, 0xaa, 0x7f, 0xfa, 0xfc, 0xcb, 0xef, 0x3f, 0xdf, 0xed, 0x27, 0xee, 0xe3, - 0x36, 0xe8, 0x4f, 0x57, 0xd6, 0x7c, 0x91, 0x6e, 0xa5, 0xe2, 0x15, 0x08, 0x89, 0x1f, 0xea, 0xe4, - 0xaf, 0x35, 0x7f, 0xf6, 0x26, 0xfb, 0x70, 0x7c, 0x74, 0xeb, 0x50, 0x5d, 0x48, 0x94, 0xf2, 0x6a, - 0xfe, 0xd5, 0x76, 0x66, 0x29, 0xaf, 0x2e, 0xee, 0x36, 0xf7, 0xcf, 0xe4, 0xb6, 0x6e, 0x6f, 0xb4, - 0xb6, 0xde, 0xae, 0x3a, 0x95, 0x9c, 0x97, 0x94, 0xe5, 0x88, 0x8b, 0x1c, 0xe7, 0xc0, 0x0e, 0x17, - 0xc4, 0x47, 0xdf, 0xe1, 0x4f, 0xfa, 0xcc, 0x80, 0x1f, 0xf6, 0x8d, 0x65, 0x18, 0xfe, 0xb4, 0xfd, - 0xa5, 0x16, 0x0c, 0x33, 0x89, 0x34, 0x6c, 0x51, 0x14, 0xa0, 0xce, 0x58, 0xee, 0x0d, 0x25, 0x0e, - 0x33, 0x19, 0xf7, 0x94, 0x38, 0x0a, 0x62, 0x43, 0xf9, 0x6b, 0xcf, 0xf4, 0x3b, 0x21, 0x61, 0x26, - 0x09, 0xe9, 0x49, 0x84, 0x44, 0x01, 0x21, 0x86, 0xf6, 0xee, 0xe6, 0x61, 0xce, 0x47, 0xff, 0x02, - 0x00, 0x00, 0xff, 0xff, 0x54, 0x77, 0xab, 0xaa, 0x4b, 0x03, 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 - -// 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.v2.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) -} - -// UnimplementedHotelPerformanceViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedHotelPerformanceViewServiceServer struct { -} - -func (*UnimplementedHotelPerformanceViewServiceServer) GetHotelPerformanceView(ctx context.Context, req *GetHotelPerformanceViewRequest) (*resources.HotelPerformanceView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetHotelPerformanceView not implemented") -} - -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.v2.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.v2.services.HotelPerformanceViewService", - HandlerType: (*HotelPerformanceViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetHotelPerformanceView", - Handler: _HotelPerformanceViewService_GetHotelPerformanceView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/hotel_performance_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/invoice_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/invoice_service.pb.go deleted file mode 100644 index ff669384..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/invoice_service.pb.go +++ /dev/null @@ -1,269 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/invoice_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for fetching the invoices of a given billing setup that were -// issued during a given month. -type ListInvoicesRequest struct { - // The ID of the customer to fetch invoices for. - CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` - // Required. The billing setup resource name of the requested invoices. - // - // `customers/{customer_id}/billingSetups/{billing_setup_id}` - BillingSetup string `protobuf:"bytes,2,opt,name=billing_setup,json=billingSetup,proto3" json:"billing_setup,omitempty"` - // Required. The issue year to retrieve invoices, in yyyy format. Only - // invoices issued in 2019 or later can be retrieved. - IssueYear string `protobuf:"bytes,3,opt,name=issue_year,json=issueYear,proto3" json:"issue_year,omitempty"` - // Required. The issue month to retrieve invoices. - IssueMonth enums.MonthOfYearEnum_MonthOfYear `protobuf:"varint,4,opt,name=issue_month,json=issueMonth,proto3,enum=google.ads.googleads.v2.enums.MonthOfYearEnum_MonthOfYear" json:"issue_month,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListInvoicesRequest) Reset() { *m = ListInvoicesRequest{} } -func (m *ListInvoicesRequest) String() string { return proto.CompactTextString(m) } -func (*ListInvoicesRequest) ProtoMessage() {} -func (*ListInvoicesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_75f8d00dc161add1, []int{0} -} - -func (m *ListInvoicesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListInvoicesRequest.Unmarshal(m, b) -} -func (m *ListInvoicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListInvoicesRequest.Marshal(b, m, deterministic) -} -func (m *ListInvoicesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListInvoicesRequest.Merge(m, src) -} -func (m *ListInvoicesRequest) XXX_Size() int { - return xxx_messageInfo_ListInvoicesRequest.Size(m) -} -func (m *ListInvoicesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListInvoicesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListInvoicesRequest proto.InternalMessageInfo - -func (m *ListInvoicesRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *ListInvoicesRequest) GetBillingSetup() string { - if m != nil { - return m.BillingSetup - } - return "" -} - -func (m *ListInvoicesRequest) GetIssueYear() string { - if m != nil { - return m.IssueYear - } - return "" -} - -func (m *ListInvoicesRequest) GetIssueMonth() enums.MonthOfYearEnum_MonthOfYear { - if m != nil { - return m.IssueMonth - } - return enums.MonthOfYearEnum_UNSPECIFIED -} - -// Response message for [InvoiceService.ListInvoices][google.ads.googleads.v2.services.InvoiceService.ListInvoices]. -type ListInvoicesResponse struct { - // The list of invoices that match the billing setup and time period. - Invoices []*resources.Invoice `protobuf:"bytes,1,rep,name=invoices,proto3" json:"invoices,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListInvoicesResponse) Reset() { *m = ListInvoicesResponse{} } -func (m *ListInvoicesResponse) String() string { return proto.CompactTextString(m) } -func (*ListInvoicesResponse) ProtoMessage() {} -func (*ListInvoicesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_75f8d00dc161add1, []int{1} -} - -func (m *ListInvoicesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListInvoicesResponse.Unmarshal(m, b) -} -func (m *ListInvoicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListInvoicesResponse.Marshal(b, m, deterministic) -} -func (m *ListInvoicesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListInvoicesResponse.Merge(m, src) -} -func (m *ListInvoicesResponse) XXX_Size() int { - return xxx_messageInfo_ListInvoicesResponse.Size(m) -} -func (m *ListInvoicesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListInvoicesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListInvoicesResponse proto.InternalMessageInfo - -func (m *ListInvoicesResponse) GetInvoices() []*resources.Invoice { - if m != nil { - return m.Invoices - } - return nil -} - -func init() { - proto.RegisterType((*ListInvoicesRequest)(nil), "google.ads.googleads.v2.services.ListInvoicesRequest") - proto.RegisterType((*ListInvoicesResponse)(nil), "google.ads.googleads.v2.services.ListInvoicesResponse") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/invoice_service.proto", fileDescriptor_75f8d00dc161add1) -} - -var fileDescriptor_75f8d00dc161add1 = []byte{ - // 505 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0xcf, 0x6b, 0xd4, 0x40, - 0x14, 0x26, 0x59, 0x11, 0x3b, 0x5b, 0x7b, 0x48, 0x05, 0xc3, 0xaa, 0x18, 0xd6, 0x22, 0x4b, 0x0f, - 0x33, 0x18, 0xb1, 0x87, 0x88, 0x87, 0x14, 0xb4, 0x16, 0x14, 0xcb, 0x16, 0x16, 0xd4, 0xc5, 0x90, - 0x26, 0xd3, 0x38, 0x90, 0xcc, 0xc4, 0xbc, 0x64, 0x41, 0xc4, 0x8b, 0xff, 0x82, 0xff, 0x81, 0x47, - 0xc1, 0x7f, 0xa4, 0x57, 0x0f, 0x9e, 0xbc, 0x79, 0xf2, 0x4f, 0xf0, 0x24, 0x99, 0x1f, 0x69, 0x0a, - 0x86, 0xc5, 0xdb, 0xcb, 0xf7, 0xbe, 0xef, 0x7b, 0x33, 0xdf, 0xbc, 0xa0, 0xbd, 0x4c, 0x88, 0x2c, - 0xa7, 0x24, 0x4e, 0x81, 0xa8, 0xb2, 0xad, 0x56, 0x3e, 0x01, 0x5a, 0xad, 0x58, 0x42, 0x81, 0x30, - 0xbe, 0x12, 0x2c, 0xa1, 0x91, 0x06, 0x70, 0x59, 0x89, 0x5a, 0x38, 0x9e, 0x22, 0x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 0xf7, 0xff, 0x06, 0x00, 0x00, 0xff, - 0xff, 0x7d, 0x87, 0x53, 0xe2, 0x14, 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 - -// InvoiceServiceClient is the client API for InvoiceService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type InvoiceServiceClient interface { - // Returns all invoices associated with a billing setup, for a given month. - ListInvoices(ctx context.Context, in *ListInvoicesRequest, opts ...grpc.CallOption) (*ListInvoicesResponse, error) -} - -type invoiceServiceClient struct { - cc *grpc.ClientConn -} - -func NewInvoiceServiceClient(cc *grpc.ClientConn) InvoiceServiceClient { - return &invoiceServiceClient{cc} -} - -func (c *invoiceServiceClient) ListInvoices(ctx context.Context, in *ListInvoicesRequest, opts ...grpc.CallOption) (*ListInvoicesResponse, error) { - out := new(ListInvoicesResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.InvoiceService/ListInvoices", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// InvoiceServiceServer is the server API for InvoiceService service. -type InvoiceServiceServer interface { - // Returns all invoices associated with a billing setup, for a given month. - ListInvoices(context.Context, *ListInvoicesRequest) (*ListInvoicesResponse, error) -} - -// UnimplementedInvoiceServiceServer can be embedded to have forward compatible implementations. -type UnimplementedInvoiceServiceServer struct { -} - -func (*UnimplementedInvoiceServiceServer) ListInvoices(ctx context.Context, req *ListInvoicesRequest) (*ListInvoicesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListInvoices not implemented") -} - -func RegisterInvoiceServiceServer(s *grpc.Server, srv InvoiceServiceServer) { - s.RegisterService(&_InvoiceService_serviceDesc, srv) -} - -func _InvoiceService_ListInvoices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListInvoicesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InvoiceServiceServer).ListInvoices(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.InvoiceService/ListInvoices", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InvoiceServiceServer).ListInvoices(ctx, req.(*ListInvoicesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _InvoiceService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.InvoiceService", - HandlerType: (*InvoiceServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListInvoices", - Handler: _InvoiceService_ListInvoices_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/invoice_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/keyword_plan_ad_group_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/keyword_plan_ad_group_service.pb.go deleted file mode 100644 index 3651f72d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/keyword_plan_ad_group_service.pb.go +++ /dev/null @@ -1,530 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/keyword_plan_ad_group_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [KeywordPlanAdGroupService.GetKeywordPlanAdGroup][google.ads.googleads.v2.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_434211b86860564e, []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 (m *GetKeywordPlanAdGroupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetKeywordPlanAdGroupRequest.Merge(m, 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.v2.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_434211b86860564e, []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 (m *MutateKeywordPlanAdGroupsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateKeywordPlanAdGroupsRequest.Merge(m, 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 -} - -func (m *MutateKeywordPlanAdGroupsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateKeywordPlanAdGroupsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_434211b86860564e, []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 (m *KeywordPlanAdGroupOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanAdGroupOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*KeywordPlanAdGroupOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*KeywordPlanAdGroupOperation_Create)(nil), - (*KeywordPlanAdGroupOperation_Update)(nil), - (*KeywordPlanAdGroupOperation_Remove)(nil), - } -} - -// Response message for a Keyword Plan ad group mutate. -type MutateKeywordPlanAdGroupsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_434211b86860564e, []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 (m *MutateKeywordPlanAdGroupsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateKeywordPlanAdGroupsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_434211b86860564e, []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 (m *MutateKeywordPlanAdGroupResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateKeywordPlanAdGroupResult.Merge(m, 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.v2.services.GetKeywordPlanAdGroupRequest") - proto.RegisterType((*MutateKeywordPlanAdGroupsRequest)(nil), "google.ads.googleads.v2.services.MutateKeywordPlanAdGroupsRequest") - proto.RegisterType((*KeywordPlanAdGroupOperation)(nil), "google.ads.googleads.v2.services.KeywordPlanAdGroupOperation") - proto.RegisterType((*MutateKeywordPlanAdGroupsResponse)(nil), "google.ads.googleads.v2.services.MutateKeywordPlanAdGroupsResponse") - proto.RegisterType((*MutateKeywordPlanAdGroupResult)(nil), "google.ads.googleads.v2.services.MutateKeywordPlanAdGroupResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/keyword_plan_ad_group_service.proto", fileDescriptor_434211b86860564e) -} - -var fileDescriptor_434211b86860564e = []byte{ - // 741 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0xdf, 0x6a, 0xd4, 0x4a, - 0x1c, 0xc7, 0x4f, 0xb2, 0x87, 0x9e, 0xd3, 0xd9, 0x9e, 0x23, 0x8c, 0x14, 0xb7, 0xdb, 0x52, 0xd7, - 0x58, 0xb0, 0xec, 0x45, 0x02, 0x91, 0xa2, 0xa4, 0xac, 0xb8, 0x5b, 0xdb, 0xad, 0x48, 0x6d, 0x49, - 0xa1, 0x17, 0x65, 0x25, 0x4c, 0x93, 0xe9, 0x12, 0x9a, 0x64, 0xe2, 0xcc, 0x64, 0xa5, 0x94, 0xde, - 0x08, 0x3e, 0x81, 0x6f, 0xa0, 0x77, 0xbe, 0x88, 0x50, 0xf0, 0xca, 0x57, 0xf0, 0x46, 0xaf, 0xbc, - 0xf0, 0x01, 0x64, 0x32, 0x99, 0xed, 0xdf, 0xec, 0x4a, 0x7b, 0xf7, 0xdb, 0x99, 0x6f, 0x3e, 0xbf, - 0xbf, 0xf3, 0x5b, 0xf0, 0xac, 0x4f, 0x48, 0x3f, 0xc2, 0x16, 0x0a, 0x98, 0x25, 0x4d, 0x61, 0x0d, - 0x6c, 0x8b, 0x61, 0x3a, 0x08, 0x7d, 0xcc, 0xac, 0x03, 0x7c, 0xf8, 0x86, 0xd0, 0xc0, 0x4b, 0x23, - 0x94, 0x78, 0x28, 0xf0, 0xfa, 0x94, 0x64, 0xa9, 0x57, 0x5c, 0x9b, 0x29, 0x25, 0x9c, 0xc0, 0x86, - 0xfc, 0xd4, 0x44, 0x01, 0x33, 0x87, 0x14, 0x73, 0x60, 0x9b, 0x8a, 0x52, 0x6f, 0x95, 0xf9, 0xa1, - 0x98, 0x91, 0x8c, 0x96, 0x3a, 0x92, 0x0e, 0xea, 0x73, 0xea, 0xf3, 0x34, 0xb4, 0x50, 0x92, 0x10, - 0x8e, 0x78, 0x48, 0x12, 0x56, 0xdc, 0x16, 0xee, 0xad, 0xfc, 0xd7, 0x5e, 0xb6, 0x6f, 0xed, 0x87, - 0x38, 0x0a, 0xbc, 0x18, 0xb1, 0x83, 0x42, 0x71, 0xa7, 0x50, 0xd0, 0xd4, 0xb7, 0x18, 0x47, 0x3c, - 0x63, 0x17, 0x2e, 0x04, 0xd8, 0x8f, 0x42, 0x9c, 0x70, 0x79, 0x61, 0xac, 0x80, 0xb9, 0x2e, 0xe6, - 0x2f, 0x64, 0x4c, 0x5b, 0x11, 0x4a, 0xda, 0x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0x63, 0x91, 0xe5, 0x69, 0x5a, 0x47, 0x67, 0xd6, 0x55, 0xab, 0x79, 0x7c, 0x55, 0x92, - 0x4e, 0x9c, 0xc3, 0x1d, 0xad, 0x59, 0x9f, 0x3d, 0x69, 0xd7, 0x4e, 0x03, 0x28, 0xac, 0x34, 0x64, - 0xa6, 0x4f, 0xe2, 0xce, 0x3b, 0x1d, 0x2c, 0xf8, 0x24, 0x1e, 0x1b, 0x6c, 0x67, 0xbe, 0x74, 0x38, - 0xb6, 0xc4, 0xca, 0xd8, 0xd2, 0x76, 0xd7, 0x0b, 0x46, 0x9f, 0x44, 0x28, 0xe9, 0x9b, 0x84, 0xf6, - 0xad, 0x3e, 0x4e, 0xf2, 0x85, 0x62, 0x9d, 0x7a, 0x2d, 0xff, 0xa3, 0x5b, 0x56, 0xc6, 0x07, 0xbd, - 0xd2, 0x6d, 0xb7, 0x3f, 0xe9, 0x8d, 0xae, 0x04, 0xb6, 0x03, 0x66, 0x4a, 0x53, 0x58, 0x3b, 0xb6, - 0x59, 0x38, 0x66, 0x27, 0x4a, 0xd2, 0x6b, 0x07, 0xac, 0x37, 0x94, 0xf4, 0x76, 0xec, 0x9e, 0x92, - 0xfc, 0xd0, 0x17, 0xe4, 0xb9, 0xe3, 0xb4, 0x03, 0xe6, 0x38, 0x43, 0x91, 0xe3, 0xec, 0xd8, 0x8e, - 0xa3, 0x64, 0x7b, 0x13, 0x79, 0x9c, 0x0f, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0x77, 0xf5, 0xd7, - 0x56, 0x8f, 0x07, 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 - -// 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.v2.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.v2.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) -} - -// UnimplementedKeywordPlanAdGroupServiceServer can be embedded to have forward compatible implementations. -type UnimplementedKeywordPlanAdGroupServiceServer struct { -} - -func (*UnimplementedKeywordPlanAdGroupServiceServer) GetKeywordPlanAdGroup(ctx context.Context, req *GetKeywordPlanAdGroupRequest) (*resources.KeywordPlanAdGroup, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetKeywordPlanAdGroup not implemented") -} -func (*UnimplementedKeywordPlanAdGroupServiceServer) MutateKeywordPlanAdGroups(ctx context.Context, req *MutateKeywordPlanAdGroupsRequest) (*MutateKeywordPlanAdGroupsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateKeywordPlanAdGroups not implemented") -} - -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.v2.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.v2.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.v2.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/v2/services/keyword_plan_ad_group_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/keyword_plan_campaign_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/keyword_plan_campaign_service.pb.go deleted file mode 100644 index e8b3ed41..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/keyword_plan_campaign_service.pb.go +++ /dev/null @@ -1,531 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/keyword_plan_campaign_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [KeywordPlanCampaignService.GetKeywordPlanCampaign][google.ads.googleads.v2.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_76f9707a66ea3279, []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 (m *GetKeywordPlanCampaignRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetKeywordPlanCampaignRequest.Merge(m, 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.v2.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_76f9707a66ea3279, []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 (m *MutateKeywordPlanCampaignsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateKeywordPlanCampaignsRequest.Merge(m, 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 -} - -func (m *MutateKeywordPlanCampaignsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateKeywordPlanCampaignsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_76f9707a66ea3279, []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 (m *KeywordPlanCampaignOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanCampaignOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*KeywordPlanCampaignOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*KeywordPlanCampaignOperation_Create)(nil), - (*KeywordPlanCampaignOperation_Update)(nil), - (*KeywordPlanCampaignOperation_Remove)(nil), - } -} - -// Response message for a Keyword Plan campaign mutate. -type MutateKeywordPlanCampaignsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_76f9707a66ea3279, []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 (m *MutateKeywordPlanCampaignsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateKeywordPlanCampaignsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_76f9707a66ea3279, []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 (m *MutateKeywordPlanCampaignResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateKeywordPlanCampaignResult.Merge(m, 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.v2.services.GetKeywordPlanCampaignRequest") - proto.RegisterType((*MutateKeywordPlanCampaignsRequest)(nil), "google.ads.googleads.v2.services.MutateKeywordPlanCampaignsRequest") - proto.RegisterType((*KeywordPlanCampaignOperation)(nil), "google.ads.googleads.v2.services.KeywordPlanCampaignOperation") - proto.RegisterType((*MutateKeywordPlanCampaignsResponse)(nil), "google.ads.googleads.v2.services.MutateKeywordPlanCampaignsResponse") - proto.RegisterType((*MutateKeywordPlanCampaignResult)(nil), "google.ads.googleads.v2.services.MutateKeywordPlanCampaignResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/keyword_plan_campaign_service.proto", fileDescriptor_76f9707a66ea3279) -} - -var fileDescriptor_76f9707a66ea3279 = []byte{ - // 738 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0x4f, 0x6b, 0xd4, 0x4c, - 0x1c, 0xc7, 0x9f, 0x64, 0x1f, 0xfa, 0x3c, 0x9d, 0xad, 0x0a, 0x23, 0xea, 0x12, 0x2b, 0x5d, 0x63, - 0xc1, 0xb2, 0x87, 0x04, 0x22, 0x14, 0x4d, 0x69, 0x25, 0xed, 0xba, 0xad, 0x48, 0xed, 0x92, 0x42, - 0x0f, 0xba, 0x18, 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 0x6d, 0xaf, 0xe5, 0xce, 0xd1, 0xd8, 0x44, 0xed, 0xa4, 0xc4, - 0xdb, 0x4a, 0x47, 0xbb, 0x7d, 0xec, 0xb4, 0x4e, 0x42, 0xa8, 0xac, 0x2c, 0x62, 0x86, 0x4f, 0x92, - 0xd5, 0x77, 0x2a, 0x98, 0xf7, 0x49, 0x32, 0x31, 0xdc, 0xd5, 0xb9, 0xfa, 0x29, 0xe9, 0x17, 0x1b, - 0xa4, 0xaf, 0xbc, 0xd8, 0xa8, 0x20, 0x21, 0x89, 0x51, 0x1a, 0x1a, 0x84, 0x86, 0x66, 0x88, 0xd3, - 0x72, 0xbf, 0x98, 0x27, 0x6e, 0xeb, 0xff, 0xfb, 0x96, 0xa4, 0xf1, 0x41, 0x6d, 0xac, 0x3b, 0xce, - 0x27, 0xb5, 0xbd, 0x2e, 0x80, 0x4e, 0xc0, 0x0c, 0x61, 0x16, 0xd6, 0x8e, 0x65, 0x54, 0x8e, 0xd9, - 0xb1, 0x94, 0x0c, 0x9c, 0x80, 0x0d, 0x46, 0x92, 0xc1, 0x8e, 0x35, 0x90, 0x92, 0xef, 0xea, 0xbc, - 0x38, 0xb7, 0x6d, 0x27, 0x60, 0xb6, 0x3d, 0x12, 0xd9, 0xf6, 0x8e, 0x65, 0xdb, 0x52, 0xb6, 0x3b, - 0x55, 0xc6, 0xf9, 0xe0, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x52, 0xd3, 0x10, 0xdd, 0xa2, 0x07, - 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 - -// 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.v2.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.v2.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) -} - -// UnimplementedKeywordPlanCampaignServiceServer can be embedded to have forward compatible implementations. -type UnimplementedKeywordPlanCampaignServiceServer struct { -} - -func (*UnimplementedKeywordPlanCampaignServiceServer) GetKeywordPlanCampaign(ctx context.Context, req *GetKeywordPlanCampaignRequest) (*resources.KeywordPlanCampaign, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetKeywordPlanCampaign not implemented") -} -func (*UnimplementedKeywordPlanCampaignServiceServer) MutateKeywordPlanCampaigns(ctx context.Context, req *MutateKeywordPlanCampaignsRequest) (*MutateKeywordPlanCampaignsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateKeywordPlanCampaigns not implemented") -} - -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.v2.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.v2.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.v2.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/v2/services/keyword_plan_campaign_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/keyword_plan_idea_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/keyword_plan_idea_service.pb.go deleted file mode 100644 index 4c41137a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/keyword_plan_idea_service.pb.go +++ /dev/null @@ -1,538 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/keyword_plan_idea_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // 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.v2.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_5cad9891eddcc8ab, []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 (m *GenerateKeywordIdeasRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenerateKeywordIdeasRequest.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*GenerateKeywordIdeasRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*GenerateKeywordIdeasRequest_KeywordAndUrlSeed)(nil), - (*GenerateKeywordIdeasRequest_KeywordSeed)(nil), - (*GenerateKeywordIdeasRequest_UrlSeed)(nil), - } -} - -// 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_5cad9891eddcc8ab, []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 (m *KeywordAndUrlSeed) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordAndUrlSeed.Merge(m, 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_5cad9891eddcc8ab, []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 (m *KeywordSeed) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordSeed.Merge(m, 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_5cad9891eddcc8ab, []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 (m *UrlSeed) XXX_Merge(src proto.Message) { - xxx_messageInfo_UrlSeed.Merge(m, 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_5cad9891eddcc8ab, []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 (m *GenerateKeywordIdeaResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenerateKeywordIdeaResponse.Merge(m, 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_5cad9891eddcc8ab, []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 (m *GenerateKeywordIdeaResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenerateKeywordIdeaResult.Merge(m, 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.v2.services.GenerateKeywordIdeasRequest") - proto.RegisterType((*KeywordAndUrlSeed)(nil), "google.ads.googleads.v2.services.KeywordAndUrlSeed") - proto.RegisterType((*KeywordSeed)(nil), "google.ads.googleads.v2.services.KeywordSeed") - proto.RegisterType((*UrlSeed)(nil), "google.ads.googleads.v2.services.UrlSeed") - proto.RegisterType((*GenerateKeywordIdeaResponse)(nil), "google.ads.googleads.v2.services.GenerateKeywordIdeaResponse") - proto.RegisterType((*GenerateKeywordIdeaResult)(nil), "google.ads.googleads.v2.services.GenerateKeywordIdeaResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/keyword_plan_idea_service.proto", fileDescriptor_5cad9891eddcc8ab) -} - -var fileDescriptor_5cad9891eddcc8ab = []byte{ - // 748 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0x4f, 0x4f, 0xdb, 0x48, - 0x14, 0x5f, 0x3b, 0x2c, 0x81, 0xc9, 0x6a, 0x25, 0x46, 0x68, 0x37, 0x0b, 0x68, 0x37, 0x8a, 0x38, - 0xb0, 0x48, 0x6b, 0xaf, 0xcc, 0x61, 0x59, 0xd3, 0x48, 0x0d, 0x55, 0x9b, 0xa0, 0xaa, 0x08, 0x99, - 0x92, 0x43, 0x15, 0xc9, 0x1a, 0xec, 0x87, 0x65, 0xc5, 0x99, 0x49, 0x67, 0xc6, 0xd0, 0x3f, 0xe2, - 0xc2, 0xb5, 0xc7, 0x7e, 0x83, 0x1e, 0xfb, 0x1d, 0xfa, 0x05, 0x38, 0x55, 0xe2, 0x2b, 0xf4, 0xd4, - 0x4f, 0x51, 0xd9, 0x9e, 0x49, 0x02, 0x24, 0x0d, 0xe5, 0xf6, 0xfc, 0xde, 0xef, 0xfd, 0xde, 0x6f, - 0xde, 0xbc, 0x79, 0x46, 0x0f, 0x23, 0xc6, 0xa2, 0x04, 0x6c, 0x12, 0x0a, 0xbb, 0x30, 0x33, 0xeb, - 0xd4, 0xb1, 0x05, 0xf0, 0xd3, 0x38, 0x00, 0x61, 0xf7, 0xe0, 0xf5, 0x19, 0xe3, 0xa1, 0x3f, 0x48, - 0x08, 0xf5, 0xe3, 0x10, 0x88, 0xaf, 0x42, 0xd6, 0x80, 0x33, 0xc9, 0x70, 0xad, 0x48, 0xb3, 0x48, - 0x28, 0xac, 0x21, 0x83, 0x75, 0xea, 0x58, 0x9a, 0x61, 0x65, 0x7b, 0x5a, 0x8d, 0x80, 0xf5, 0xfb, - 0x8c, 0x5e, 0xaf, 0x50, 0xf8, 0x0a, 0xee, 0xe9, 0x99, 0x40, 0xd3, 0xfe, 0x0d, 0x69, 0x14, 0xe4, - 0x19, 0xe3, 0x3d, 0x95, 0xb9, 0xa6, 0x33, 0x07, 0xb1, 0x4d, 0x28, 0x65, 0x92, 0xc8, 0x98, 0x51, - 0xa1, 0xa2, 0x7f, 0xaa, 0x68, 0xfe, 0x75, 0x9c, 0x9e, 0xd8, 0x67, 0x9c, 0x0c, 0x06, 0xc0, 0x75, - 0xfc, 0xf7, 0xb1, 0xec, 0x20, 0x89, 0x81, 0xca, 0x22, 0x50, 0xff, 0x3c, 0x87, 0x56, 0x5b, 0x40, - 0x81, 0x13, 0x09, 0x4f, 0x8b, 0xea, 0x7b, 0x21, 0x10, 0xe1, 0xc1, 0xcb, 0x14, 0x84, 0xc4, 0x7f, - 0xa1, 0x4a, 0x90, 0x0a, 0xc9, 0xfa, 0xc0, 0xfd, 0x38, 0xac, 0x1a, 0x35, 0x63, 0x63, 0xd1, 0x43, - 0xda, 0xb5, 0x17, 0xe2, 0x6d, 0xb4, 0x90, 0x10, 0x1a, 0xa5, 0x24, 0x82, 0x6a, 0xb9, 0x66, 0x6c, - 0x54, 0x9c, 0x35, 0xd5, 0x35, 0x4b, 0x8b, 0xb1, 0x0e, 0x25, 0x8f, 0x69, 0xd4, 0x21, 0x49, 0x0a, - 0xde, 0x10, 0x8d, 0xf7, 0xd1, 0x72, 0x04, 0xcc, 0x97, 0x84, 0x47, 0x20, 0xfd, 0x80, 0x51, 0x21, - 0x09, 0x95, 0xa2, 0xba, 0x50, 0x2b, 0xcd, 0x64, 0xc1, 0x11, 0xb0, 0xe7,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a, 0x35, 0x9b, 0x1f, 0xcd, 0x5a, 0xab, 0x20, 0x6c, - 0x86, 0xc2, 0x2a, 0xcc, 0xcc, 0xea, 0x38, 0x96, 0x2a, 0x2c, 0x2e, 0x35, 0xa4, 0xdb, 0x0c, 0x45, - 0x77, 0x08, 0xe9, 0x76, 0x9c, 0xae, 0x86, 0x7c, 0x35, 0xd7, 0x0b, 0xbf, 0xeb, 0x36, 0x43, 0xe1, - 0xba, 0x43, 0x90, 0xeb, 0x76, 0x1c, 0xd7, 0xd5, 0xb0, 0xe3, 0xf9, 0x5c, 0xe7, 0xd6, 0xb7, 0x00, - 0x00, 0x00, 0xff, 0xff, 0x1b, 0x81, 0x2f, 0xaa, 0xd6, 0x07, 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 - -// 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.v2.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) -} - -// UnimplementedKeywordPlanIdeaServiceServer can be embedded to have forward compatible implementations. -type UnimplementedKeywordPlanIdeaServiceServer struct { -} - -func (*UnimplementedKeywordPlanIdeaServiceServer) GenerateKeywordIdeas(ctx context.Context, req *GenerateKeywordIdeasRequest) (*GenerateKeywordIdeaResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GenerateKeywordIdeas not implemented") -} - -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.v2.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.v2.services.KeywordPlanIdeaService", - HandlerType: (*KeywordPlanIdeaServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GenerateKeywordIdeas", - Handler: _KeywordPlanIdeaService_GenerateKeywordIdeas_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/keyword_plan_idea_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/keyword_plan_keyword_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/keyword_plan_keyword_service.pb.go deleted file mode 100644 index 66c0d8c7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/keyword_plan_keyword_service.pb.go +++ /dev/null @@ -1,529 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/keyword_plan_keyword_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [KeywordPlanKeywordService.GetKeywordPlanKeyword][google.ads.googleads.v2.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_ec3e8b0b40b90dff, []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 (m *GetKeywordPlanKeywordRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetKeywordPlanKeywordRequest.Merge(m, 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.v2.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_ec3e8b0b40b90dff, []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 (m *MutateKeywordPlanKeywordsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateKeywordPlanKeywordsRequest.Merge(m, 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 -} - -func (m *MutateKeywordPlanKeywordsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateKeywordPlanKeywordsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_ec3e8b0b40b90dff, []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 (m *KeywordPlanKeywordOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanKeywordOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*KeywordPlanKeywordOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*KeywordPlanKeywordOperation_Create)(nil), - (*KeywordPlanKeywordOperation_Update)(nil), - (*KeywordPlanKeywordOperation_Remove)(nil), - } -} - -// Response message for a Keyword Plan keyword mutate. -type MutateKeywordPlanKeywordsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_ec3e8b0b40b90dff, []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 (m *MutateKeywordPlanKeywordsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateKeywordPlanKeywordsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_ec3e8b0b40b90dff, []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 (m *MutateKeywordPlanKeywordResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateKeywordPlanKeywordResult.Merge(m, 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.v2.services.GetKeywordPlanKeywordRequest") - proto.RegisterType((*MutateKeywordPlanKeywordsRequest)(nil), "google.ads.googleads.v2.services.MutateKeywordPlanKeywordsRequest") - proto.RegisterType((*KeywordPlanKeywordOperation)(nil), "google.ads.googleads.v2.services.KeywordPlanKeywordOperation") - proto.RegisterType((*MutateKeywordPlanKeywordsResponse)(nil), "google.ads.googleads.v2.services.MutateKeywordPlanKeywordsResponse") - proto.RegisterType((*MutateKeywordPlanKeywordResult)(nil), "google.ads.googleads.v2.services.MutateKeywordPlanKeywordResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/keyword_plan_keyword_service.proto", fileDescriptor_ec3e8b0b40b90dff) -} - -var fileDescriptor_ec3e8b0b40b90dff = []byte{ - // 732 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0xdf, 0x6a, 0xd4, 0x4a, - 0x18, 0xc0, 0x4f, 0xb2, 0x87, 0x9e, 0xd3, 0x49, 0xcf, 0x11, 0x46, 0x8a, 0xe9, 0xb6, 0xd4, 0x35, - 0x16, 0x2c, 0x7b, 0x91, 0x40, 0xa4, 0x28, 0xa9, 0x2b, 0xee, 0x2e, 0xfd, 0x23, 0x52, 0x5b, 0x52, - 0xe8, 0x45, 0x59, 0x09, 0xd3, 0x64, 0xba, 0x84, 0x26, 0x99, 0x38, 0x33, 0x59, 0x29, 0xa5, 0x37, - 0x82, 0x4f, 0xe0, 0x1b, 0xe8, 0x9d, 0x2f, 0x22, 0x14, 0xbc, 0xf2, 0x15, 0xbc, 0xd1, 0x2b, 0x2f, - 0x7c, 0x00, 0x49, 0x26, 0xb3, 0xfd, 0x9b, 0x5d, 0x69, 0xef, 0xbe, 0xf9, 0xe6, 0xcb, 0xef, 0xfb, - 0x3b, 0x5f, 0x40, 0xb7, 0x4f, 0x48, 0x3f, 0xc2, 0x16, 0x0a, 0x98, 0x25, 0xc4, 0x5c, 0x1a, 0xd8, - 0x16, 0xc3, 0x74, 0x10, 0xfa, 0x98, 0x59, 0x07, 0xf8, 0xf0, 0x0d, 0xa1, 0x81, 0x97, 0x46, 0x28, - 0xf1, 0xe4, 0xa1, 0xbc, 0x35, 0x53, 0x4a, 0x38, 0x81, 0x0d, 0xf1, 0xa5, 0x89, 0x02, 0x66, 0x0e, - 0x21, 0xe6, 0xc0, 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0x7e, 0xa8, 0x0b, 0x42, 0xef, 0x38, 0xed, 0x80, 0x39, - 0xce, 0xd0, 0xc8, 0x71, 0x76, 0x6c, 0xc7, 0x91, 0x66, 0x7b, 0x13, 0x45, 0x9c, 0x0f, 0x7f, 0x07, - 0x00, 0x00, 0xff, 0xff, 0x75, 0x3d, 0xaf, 0xb0, 0x8d, 0x07, 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 - -// 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.v2.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.v2.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) -} - -// UnimplementedKeywordPlanKeywordServiceServer can be embedded to have forward compatible implementations. -type UnimplementedKeywordPlanKeywordServiceServer struct { -} - -func (*UnimplementedKeywordPlanKeywordServiceServer) GetKeywordPlanKeyword(ctx context.Context, req *GetKeywordPlanKeywordRequest) (*resources.KeywordPlanKeyword, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetKeywordPlanKeyword not implemented") -} -func (*UnimplementedKeywordPlanKeywordServiceServer) MutateKeywordPlanKeywords(ctx context.Context, req *MutateKeywordPlanKeywordsRequest) (*MutateKeywordPlanKeywordsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateKeywordPlanKeywords not implemented") -} - -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.v2.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.v2.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.v2.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/v2/services/keyword_plan_keyword_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/keyword_plan_negative_keyword_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/keyword_plan_negative_keyword_service.pb.go deleted file mode 100644 index d90a835e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/keyword_plan_negative_keyword_service.pb.go +++ /dev/null @@ -1,540 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/keyword_plan_negative_keyword_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [KeywordPlanNegativeKeywordService.GetKeywordPlanNegativeKeyword][google.ads.googleads.v2.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_6100cff1a3faa6ff, []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 (m *GetKeywordPlanNegativeKeywordRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetKeywordPlanNegativeKeywordRequest.Merge(m, 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.v2.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_6100cff1a3faa6ff, []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 (m *MutateKeywordPlanNegativeKeywordsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateKeywordPlanNegativeKeywordsRequest.Merge(m, 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 -} - -func (m *MutateKeywordPlanNegativeKeywordsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateKeywordPlanNegativeKeywordsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_6100cff1a3faa6ff, []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 (m *KeywordPlanNegativeKeywordOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanNegativeKeywordOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*KeywordPlanNegativeKeywordOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*KeywordPlanNegativeKeywordOperation_Create)(nil), - (*KeywordPlanNegativeKeywordOperation_Update)(nil), - (*KeywordPlanNegativeKeywordOperation_Remove)(nil), - } -} - -// Response message for a Keyword Plan negative keyword mutate. -type MutateKeywordPlanNegativeKeywordsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_6100cff1a3faa6ff, []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 (m *MutateKeywordPlanNegativeKeywordsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateKeywordPlanNegativeKeywordsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_6100cff1a3faa6ff, []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 (m *MutateKeywordPlanNegativeKeywordResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateKeywordPlanNegativeKeywordResult.Merge(m, 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.v2.services.GetKeywordPlanNegativeKeywordRequest") - proto.RegisterType((*MutateKeywordPlanNegativeKeywordsRequest)(nil), "google.ads.googleads.v2.services.MutateKeywordPlanNegativeKeywordsRequest") - proto.RegisterType((*KeywordPlanNegativeKeywordOperation)(nil), "google.ads.googleads.v2.services.KeywordPlanNegativeKeywordOperation") - proto.RegisterType((*MutateKeywordPlanNegativeKeywordsResponse)(nil), "google.ads.googleads.v2.services.MutateKeywordPlanNegativeKeywordsResponse") - proto.RegisterType((*MutateKeywordPlanNegativeKeywordResult)(nil), "google.ads.googleads.v2.services.MutateKeywordPlanNegativeKeywordResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/keyword_plan_negative_keyword_service.proto", fileDescriptor_6100cff1a3faa6ff) -} - -var fileDescriptor_6100cff1a3faa6ff = []byte{ - // 745 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x95, 0xcd, 0x6a, 0xdb, 0x4a, - 0x14, 0xc7, 0xaf, 0x94, 0x90, 0x7b, 0x33, 0xca, 0xbd, 0x17, 0xa6, 0x94, 0x0a, 0xb7, 0xa5, 0x8e, - 0x12, 0x52, 0xd7, 0x0b, 0x09, 0xd4, 0x9d, 0x82, 0x69, 0x1d, 0xb0, 0x93, 0xd6, 0xcd, 0x07, 0x0a, - 0xa4, 0x50, 0x0c, 0x62, 0x22, 0x4d, 0x84, 0x88, 0xa4, 0x51, 0x67, 0x46, 0x2e, 0x21, 0x04, 0x4a, - 0x77, 0x5d, 0x74, 0xd5, 0x37, 0xe8, 0xb2, 0xaf, 0xd0, 0x3e, 0x41, 0xb6, 0x5d, 0xf4, 0x05, 0xba, - 0x2a, 0xf4, 0x1d, 0x8a, 0x34, 0x1a, 0xe7, 0x83, 0x3a, 0x32, 0x24, 0xbb, 0xa3, 0x33, 0x7f, 0xff, - 0xce, 0x99, 0x73, 0xce, 0x1c, 0x83, 0x17, 0x21, 0x21, 0x61, 0x8c, 0x2d, 0x14, 0x30, 0x4b, 0x98, - 0x85, 0x35, 0xb2, 0x2d, 0x86, 0xe9, 0x28, 0xf2, 0x31, 0xb3, 0x0e, 0xf1, 0xd1, 0x1b, 0x42, 0x03, - 0x2f, 0x8b, 0x51, 0xea, 0xa5, 0x38, 0x44, 0x3c, 0x1a, 0x61, 0x4f, 0x7a, 0x2b, 0x99, 0x99, 0x51, - 0xc2, 0x09, 0x6c, 0x0a, 0x84, 0x89, 0x02, 0x66, 0x8e, 0x69, 0xe6, 0xc8, 0x36, 0x25, 0xad, 0xd1, - 0x9b, 0x14, 0x8f, 0x62, 0x46, 0x72, 0x5a, 0x1b, 0x50, 0x04, 0x6a, 0xdc, 0x93, 0x98, 0x2c, 0xb2, - 0x50, 0x9a, 0x12, 0x8e, 0x78, 0x44, 0x52, 0x56, 0x9d, 0x56, 0x69, 0x58, 0xe5, 0xd7, 0x7e, 0x7e, - 0x60, 0x1d, 0x44, 0x38, 0x0e, 0xbc, 0x04, 0xb1, 0xc3, 0x4a, 0x71, 0xa7, 0x52, 0xd0, 0xcc, 0xb7, - 0x18, 0x47, 0x3c, 0x67, 0x97, 0x0e, 0x0a, 0xb0, 0x1f, 0x47, 0x38, 0xe5, 0xe2, 0xc0, 0x18, 0x80, - 0xe5, 0x75, 0xcc, 0x07, 0x22, 0x8b, 0x9d, 0x18, 0xa5, 0x5b, 0x55, 0x66, 0x95, 0xcb, 0xc5, 0xaf, - 0x73, 0xcc, 0x38, 0x5c, 0x02, 0xff, 0xca, 0xab, 0x78, 0x29, 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 0x93, 0x94, 0xc1, 0x1c, 0xa5, 0xdd, 0xb8, 0x7b, 0xda, 0xd5, 0xcf, 0x12, - 0xaa, 0xac, 0x2c, 0x62, 0xa6, 0x4f, 0x92, 0xb5, 0x0f, 0x2a, 0x58, 0xf6, 0x49, 0x52, 0x9b, 0xfc, - 0xda, 0x4a, 0xed, 0x90, 0xed, 0x14, 0xab, 0x6a, 0x47, 0x79, 0xb5, 0x51, 0xb1, 0x42, 0x12, 0xa3, - 0x34, 0x34, 0x09, 0x0d, 0xad, 0x10, 0xa7, 0xe5, 0x22, 0xb3, 0xce, 0xa2, 0x4f, 0xfe, 0x43, 0x5e, - 0x95, 0xc6, 0x27, 0x75, 0x66, 0xbd, 0xdb, 0xfd, 0xac, 0x36, 0xd7, 0x05, 0xb0, 0x1b, 0x30, 0x53, - 0x98, 0x85, 0xb5, 0x67, 0x9b, 0x55, 0x60, 0x76, 0x2a, 0x25, 0xc3, 0x6e, 0xc0, 0x86, 0x63, 0xc9, - 0x70, 0xcf, 0x1e, 0x4a, 0xc9, 0x4f, 0x75, 0x59, 0xf8, 0x1d, 0xa7, 0x1b, 0x30, 0xc7, 0x19, 0x8b, - 0x1c, 0x67, 0xcf, 0x76, 0x1c, 0x29, 0xdb, 0x9f, 0x2b, 0xf3, 0x7c, 0xfc, 0x3b, 0x00, 0x00, 0xff, - 0xff, 0x9f, 0x0b, 0x14, 0x8a, 0x37, 0x08, 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 - -// 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.v2.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.v2.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) -} - -// UnimplementedKeywordPlanNegativeKeywordServiceServer can be embedded to have forward compatible implementations. -type UnimplementedKeywordPlanNegativeKeywordServiceServer struct { -} - -func (*UnimplementedKeywordPlanNegativeKeywordServiceServer) GetKeywordPlanNegativeKeyword(ctx context.Context, req *GetKeywordPlanNegativeKeywordRequest) (*resources.KeywordPlanNegativeKeyword, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetKeywordPlanNegativeKeyword not implemented") -} -func (*UnimplementedKeywordPlanNegativeKeywordServiceServer) MutateKeywordPlanNegativeKeywords(ctx context.Context, req *MutateKeywordPlanNegativeKeywordsRequest) (*MutateKeywordPlanNegativeKeywordsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateKeywordPlanNegativeKeywords not implemented") -} - -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.v2.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.v2.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.v2.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/v2/services/keyword_plan_negative_keyword_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/keyword_plan_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/keyword_plan_service.pb.go deleted file mode 100644 index a53d3da3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/keyword_plan_service.pb.go +++ /dev/null @@ -1,1123 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/keyword_plan_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [KeywordPlanService.GetKeywordPlan][google.ads.googleads.v2.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_57c4f7f2153dbccb, []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 (m *GetKeywordPlanRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetKeywordPlanRequest.Merge(m, 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.v2.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_57c4f7f2153dbccb, []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 (m *MutateKeywordPlansRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateKeywordPlansRequest.Merge(m, 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 -} - -func (m *MutateKeywordPlansRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateKeywordPlansRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_57c4f7f2153dbccb, []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 (m *KeywordPlanOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*KeywordPlanOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*KeywordPlanOperation_Create)(nil), - (*KeywordPlanOperation_Update)(nil), - (*KeywordPlanOperation_Remove)(nil), - } -} - -// Response message for a keyword plan mutate. -type MutateKeywordPlansResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_57c4f7f2153dbccb, []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 (m *MutateKeywordPlansResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateKeywordPlansResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_57c4f7f2153dbccb, []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 (m *MutateKeywordPlansResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateKeywordPlansResult.Merge(m, 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.v2.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_57c4f7f2153dbccb, []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 (m *GenerateForecastMetricsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenerateForecastMetricsRequest.Merge(m, 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.v2.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_57c4f7f2153dbccb, []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 (m *GenerateForecastMetricsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenerateForecastMetricsResponse.Merge(m, 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_57c4f7f2153dbccb, []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 (m *KeywordPlanCampaignForecast) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanCampaignForecast.Merge(m, 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_57c4f7f2153dbccb, []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 (m *KeywordPlanAdGroupForecast) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanAdGroupForecast.Merge(m, 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_57c4f7f2153dbccb, []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 (m *KeywordPlanKeywordForecast) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanKeywordForecast.Merge(m, 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_57c4f7f2153dbccb, []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 (m *ForecastMetrics) XXX_Merge(src proto.Message) { - xxx_messageInfo_ForecastMetrics.Merge(m, 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.v2.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_57c4f7f2153dbccb, []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 (m *GenerateHistoricalMetricsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenerateHistoricalMetricsRequest.Merge(m, 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.v2.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_57c4f7f2153dbccb, []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 (m *GenerateHistoricalMetricsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenerateHistoricalMetricsResponse.Merge(m, 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_57c4f7f2153dbccb, []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 (m *KeywordPlanKeywordHistoricalMetrics) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeywordPlanKeywordHistoricalMetrics.Merge(m, 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.v2.services.GetKeywordPlanRequest") - proto.RegisterType((*MutateKeywordPlansRequest)(nil), "google.ads.googleads.v2.services.MutateKeywordPlansRequest") - proto.RegisterType((*KeywordPlanOperation)(nil), "google.ads.googleads.v2.services.KeywordPlanOperation") - proto.RegisterType((*MutateKeywordPlansResponse)(nil), "google.ads.googleads.v2.services.MutateKeywordPlansResponse") - proto.RegisterType((*MutateKeywordPlansResult)(nil), "google.ads.googleads.v2.services.MutateKeywordPlansResult") - proto.RegisterType((*GenerateForecastMetricsRequest)(nil), "google.ads.googleads.v2.services.GenerateForecastMetricsRequest") - proto.RegisterType((*GenerateForecastMetricsResponse)(nil), "google.ads.googleads.v2.services.GenerateForecastMetricsResponse") - proto.RegisterType((*KeywordPlanCampaignForecast)(nil), "google.ads.googleads.v2.services.KeywordPlanCampaignForecast") - proto.RegisterType((*KeywordPlanAdGroupForecast)(nil), "google.ads.googleads.v2.services.KeywordPlanAdGroupForecast") - proto.RegisterType((*KeywordPlanKeywordForecast)(nil), "google.ads.googleads.v2.services.KeywordPlanKeywordForecast") - proto.RegisterType((*ForecastMetrics)(nil), "google.ads.googleads.v2.services.ForecastMetrics") - proto.RegisterType((*GenerateHistoricalMetricsRequest)(nil), "google.ads.googleads.v2.services.GenerateHistoricalMetricsRequest") - proto.RegisterType((*GenerateHistoricalMetricsResponse)(nil), "google.ads.googleads.v2.services.GenerateHistoricalMetricsResponse") - proto.RegisterType((*KeywordPlanKeywordHistoricalMetrics)(nil), "google.ads.googleads.v2.services.KeywordPlanKeywordHistoricalMetrics") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/keyword_plan_service.proto", fileDescriptor_57c4f7f2153dbccb) -} - -var fileDescriptor_57c4f7f2153dbccb = []byte{ - // 1255 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x57, 0x41, 0x6f, 0xdc, 0xc4, - 0x17, 0xff, 0x7b, 0xf3, 0x27, 0xa5, 0x6f, 0x43, 0xdb, 0x4c, 0xa9, 0xba, 0xdd, 0x96, 0x36, 0x75, - 0x2b, 0x51, 0xe5, 0x60, 0xd3, 0xa5, 0x0a, 0xc8, 0x49, 0x29, 0x9b, 0x90, 0x6c, 0x0a, 0x84, 0x86, - 0x2d, 0xca, 0x01, 0x85, 0x5a, 0x53, 0x7b, 0xb2, 0x98, 0xb5, 0x3d, 0xee, 0x8c, 0xbd, 0x55, 0x54, - 0xf5, 0x82, 0x38, 0x73, 0xe1, 0x1b, 0xc0, 0x8d, 0x1b, 0xe2, 0xc6, 0x47, 0xa8, 0xa8, 0x38, 0x70, - 0xe3, 0x88, 0x10, 0x07, 0x4e, 0x1c, 0x39, 0x21, 0x64, 0xcf, 0xcc, 0xc6, 0x6b, 0xaf, 0x93, 0xcd, - 0xf6, 0x36, 0x7e, 0xf3, 0xde, 0xef, 0xbd, 0xdf, 0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9, 0x69, 0xa7, 0x65, - 0x48, 0xc7, 0xfc, 0x99, 0x52, 0xd9, 0x6d, 0xbb, 0x7c, 0x77, 0xa8, 0xb2, 0xbb, 0xd3, 0xda, 0x55, - 0x2a, 0x7f, 0xd5, 0xae, 0x0b, 0xb9, 0x65, 0xb5, 0x5d, 0x6e, 0x59, 0x43, 0x25, 0xcb, 0xda, 0x69, - 0x59, 0x96, 0x52, 0x7b, 0x38, 0x9b, 0xc5, 0xf9, 0xe6, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x03, - 0xdd, 0x7b, 0xcd, 0x42, 0x10, 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 - -// 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.v2.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.v2.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.v2.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.v2.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) -} - -// UnimplementedKeywordPlanServiceServer can be embedded to have forward compatible implementations. -type UnimplementedKeywordPlanServiceServer struct { -} - -func (*UnimplementedKeywordPlanServiceServer) GetKeywordPlan(ctx context.Context, req *GetKeywordPlanRequest) (*resources.KeywordPlan, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetKeywordPlan not implemented") -} -func (*UnimplementedKeywordPlanServiceServer) MutateKeywordPlans(ctx context.Context, req *MutateKeywordPlansRequest) (*MutateKeywordPlansResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateKeywordPlans not implemented") -} -func (*UnimplementedKeywordPlanServiceServer) GenerateForecastMetrics(ctx context.Context, req *GenerateForecastMetricsRequest) (*GenerateForecastMetricsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GenerateForecastMetrics not implemented") -} -func (*UnimplementedKeywordPlanServiceServer) GenerateHistoricalMetrics(ctx context.Context, req *GenerateHistoricalMetricsRequest) (*GenerateHistoricalMetricsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GenerateHistoricalMetrics not implemented") -} - -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.v2.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.v2.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.v2.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.v2.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.v2.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/v2/services/keyword_plan_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/keyword_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/keyword_view_service.pb.go deleted file mode 100644 index a88f33ac..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/keyword_view_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/keyword_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [KeywordViewService.GetKeywordView][google.ads.googleads.v2.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_5de781ce320be574, []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 (m *GetKeywordViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetKeywordViewRequest.Merge(m, 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.v2.services.GetKeywordViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/keyword_view_service.proto", fileDescriptor_5de781ce320be574) -} - -var fileDescriptor_5de781ce320be574 = []byte{ - // 386 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xc1, 0x4a, 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xbd, 0xb5, 0xde, 0xba, 0x2c, 0x5e, 0xb8, 0x11, 0x98, 0x1f, 0x8a, - 0xa6, 0xcf, 0xb1, 0x97, 0xe2, 0x04, 0xfd, 0x55, 0xd1, 0x36, 0x17, 0x5d, 0xf5, 0x63, 0xb2, 0xea, - 0x6e, 0xf2, 0xe7, 0x3b, 0x0c, 0xb2, 0x14, 0x2c, 0xe3, 0x20, 0x73, 0x58, 0xfd, 0xe8, 0xf1, 0xed, - 0xfd, 0x49, 0xdd, 0xd7, 0x49, 0x9e, 0xd8, 0xfd, 0xc2, 0x09, 0xa7, 0xde, 0x08, 0x53, 0x1e, 0x41, - 0x82, 0xb4, 0x29, 0x23, 0xcc, 0x19, 0xa4, 0xcd, 0x07, 0x63, 0x7b, 0x62, 0x55, 0x67, 0xf6, 0x85, - 0x1a, 0x86, 0x48, 0x3c, 0x1e, 0xb5, 0xbf, 0x14, 0xad, 0xe1, 0xf1, 0x68, 0xe5, 0x0d, 0xed, 0xca, - 0xef, 0x34, 0xba, 0x79, 0xce, 0x5d, 0xe5, 0xea, 0xac, 0x80, 0x03, 0x3e, 0x70, 0xe3, 0x80, 0xf0, - 0x24, 0xa0, 0x01, 0xc4, 0xd3, 0xaf, 0x40, 0x67, 0xeb, 0x96, 0xff, 0x54, 0x2d, 0x29, 0x9e, 0xd5, - 0x7f, 0x1d, 0xcb, 0x7a, 0x51, 0x6b, 0x1d, 0x61, 0x68, 0xf9, 0x48, 0x84, 0xcc, 0x95, 0x6d, 0x92, - 0x62, 0x31, 0x4e, 0xe4, 0x88, 0x63, 0xf9, 0xe8, 0x94, 0x23, 0x8e, 0x6d, 0x3a, 0x72, 0xe4, 0x53, - 0x6d, 0x88, 0x3a, 0x63, 0x96, 0x8f, 0x8c, 0x95, 0x43, 0x8c, 0xd9, 0x26, 0x63, 0x72, 0xec, 0xfa, - 0xff, 0xf4, 0x9d, 0x07, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x14, 0xf8, 0xee, 0x62, 0xfb, 0x02, - 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 - -// 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.v2.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) -} - -// UnimplementedKeywordViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedKeywordViewServiceServer struct { -} - -func (*UnimplementedKeywordViewServiceServer) GetKeywordView(ctx context.Context, req *GetKeywordViewRequest) (*resources.KeywordView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetKeywordView not implemented") -} - -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.v2.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.v2.services.KeywordViewService", - HandlerType: (*KeywordViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetKeywordView", - Handler: _KeywordViewService_GetKeywordView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/keyword_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/label_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/label_service.pb.go deleted file mode 100644 index 1067c9a9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/label_service.pb.go +++ /dev/null @@ -1,525 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/label_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [LabelService.GetLabel][google.ads.googleads.v2.services.LabelService.GetLabel]. -type GetLabelRequest struct { - // The resource name of the label 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 *GetLabelRequest) Reset() { *m = GetLabelRequest{} } -func (m *GetLabelRequest) String() string { return proto.CompactTextString(m) } -func (*GetLabelRequest) ProtoMessage() {} -func (*GetLabelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_fa07dafc79d19310, []int{0} -} - -func (m *GetLabelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetLabelRequest.Unmarshal(m, b) -} -func (m *GetLabelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetLabelRequest.Marshal(b, m, deterministic) -} -func (m *GetLabelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetLabelRequest.Merge(m, src) -} -func (m *GetLabelRequest) XXX_Size() int { - return xxx_messageInfo_GetLabelRequest.Size(m) -} -func (m *GetLabelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetLabelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetLabelRequest proto.InternalMessageInfo - -func (m *GetLabelRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for [LabelService.MutateLabels][google.ads.googleads.v2.services.LabelService.MutateLabels]. -type MutateLabelsRequest struct { - // ID of the customer whose labels 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 labels. - Operations []*LabelOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateLabelsRequest) Reset() { *m = MutateLabelsRequest{} } -func (m *MutateLabelsRequest) String() string { return proto.CompactTextString(m) } -func (*MutateLabelsRequest) ProtoMessage() {} -func (*MutateLabelsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_fa07dafc79d19310, []int{1} -} - -func (m *MutateLabelsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateLabelsRequest.Unmarshal(m, b) -} -func (m *MutateLabelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateLabelsRequest.Marshal(b, m, deterministic) -} -func (m *MutateLabelsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateLabelsRequest.Merge(m, src) -} -func (m *MutateLabelsRequest) XXX_Size() int { - return xxx_messageInfo_MutateLabelsRequest.Size(m) -} -func (m *MutateLabelsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateLabelsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateLabelsRequest proto.InternalMessageInfo - -func (m *MutateLabelsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateLabelsRequest) GetOperations() []*LabelOperation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *MutateLabelsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateLabelsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// A single operation (create, remove, update) on a label. -type LabelOperation 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: - // *LabelOperation_Create - // *LabelOperation_Update - // *LabelOperation_Remove - Operation isLabelOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LabelOperation) Reset() { *m = LabelOperation{} } -func (m *LabelOperation) String() string { return proto.CompactTextString(m) } -func (*LabelOperation) ProtoMessage() {} -func (*LabelOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_fa07dafc79d19310, []int{2} -} - -func (m *LabelOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LabelOperation.Unmarshal(m, b) -} -func (m *LabelOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LabelOperation.Marshal(b, m, deterministic) -} -func (m *LabelOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelOperation.Merge(m, src) -} -func (m *LabelOperation) XXX_Size() int { - return xxx_messageInfo_LabelOperation.Size(m) -} -func (m *LabelOperation) XXX_DiscardUnknown() { - xxx_messageInfo_LabelOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_LabelOperation proto.InternalMessageInfo - -func (m *LabelOperation) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -type isLabelOperation_Operation interface { - isLabelOperation_Operation() -} - -type LabelOperation_Create struct { - Create *resources.Label `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type LabelOperation_Update struct { - Update *resources.Label `protobuf:"bytes,2,opt,name=update,proto3,oneof"` -} - -type LabelOperation_Remove struct { - Remove string `protobuf:"bytes,3,opt,name=remove,proto3,oneof"` -} - -func (*LabelOperation_Create) isLabelOperation_Operation() {} - -func (*LabelOperation_Update) isLabelOperation_Operation() {} - -func (*LabelOperation_Remove) isLabelOperation_Operation() {} - -func (m *LabelOperation) GetOperation() isLabelOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *LabelOperation) GetCreate() *resources.Label { - if x, ok := m.GetOperation().(*LabelOperation_Create); ok { - return x.Create - } - return nil -} - -func (m *LabelOperation) GetUpdate() *resources.Label { - if x, ok := m.GetOperation().(*LabelOperation_Update); ok { - return x.Update - } - return nil -} - -func (m *LabelOperation) GetRemove() string { - if x, ok := m.GetOperation().(*LabelOperation_Remove); ok { - return x.Remove - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*LabelOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*LabelOperation_Create)(nil), - (*LabelOperation_Update)(nil), - (*LabelOperation_Remove)(nil), - } -} - -// Response message for a labels mutate. -type MutateLabelsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // All results for the mutate. - Results []*MutateLabelResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateLabelsResponse) Reset() { *m = MutateLabelsResponse{} } -func (m *MutateLabelsResponse) String() string { return proto.CompactTextString(m) } -func (*MutateLabelsResponse) ProtoMessage() {} -func (*MutateLabelsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_fa07dafc79d19310, []int{3} -} - -func (m *MutateLabelsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateLabelsResponse.Unmarshal(m, b) -} -func (m *MutateLabelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateLabelsResponse.Marshal(b, m, deterministic) -} -func (m *MutateLabelsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateLabelsResponse.Merge(m, src) -} -func (m *MutateLabelsResponse) XXX_Size() int { - return xxx_messageInfo_MutateLabelsResponse.Size(m) -} -func (m *MutateLabelsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateLabelsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateLabelsResponse proto.InternalMessageInfo - -func (m *MutateLabelsResponse) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -func (m *MutateLabelsResponse) GetResults() []*MutateLabelResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for a label mutate. -type MutateLabelResult 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 *MutateLabelResult) Reset() { *m = MutateLabelResult{} } -func (m *MutateLabelResult) String() string { return proto.CompactTextString(m) } -func (*MutateLabelResult) ProtoMessage() {} -func (*MutateLabelResult) Descriptor() ([]byte, []int) { - return fileDescriptor_fa07dafc79d19310, []int{4} -} - -func (m *MutateLabelResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateLabelResult.Unmarshal(m, b) -} -func (m *MutateLabelResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateLabelResult.Marshal(b, m, deterministic) -} -func (m *MutateLabelResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateLabelResult.Merge(m, src) -} -func (m *MutateLabelResult) XXX_Size() int { - return xxx_messageInfo_MutateLabelResult.Size(m) -} -func (m *MutateLabelResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateLabelResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateLabelResult proto.InternalMessageInfo - -func (m *MutateLabelResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetLabelRequest)(nil), "google.ads.googleads.v2.services.GetLabelRequest") - proto.RegisterType((*MutateLabelsRequest)(nil), "google.ads.googleads.v2.services.MutateLabelsRequest") - proto.RegisterType((*LabelOperation)(nil), "google.ads.googleads.v2.services.LabelOperation") - proto.RegisterType((*MutateLabelsResponse)(nil), "google.ads.googleads.v2.services.MutateLabelsResponse") - proto.RegisterType((*MutateLabelResult)(nil), "google.ads.googleads.v2.services.MutateLabelResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/label_service.proto", fileDescriptor_fa07dafc79d19310) -} - -var fileDescriptor_fa07dafc79d19310 = []byte{ - // 707 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x41, 0x6b, 0xd4, 0x40, - 0x14, 0x36, 0x5b, 0xa9, 0xed, 0x64, 0x6d, 0xe9, 0x54, 0x31, 0xac, 0x82, 0x4b, 0x2c, 0xb8, 0xac, - 0x98, 0xd4, 0x54, 0x8b, 0xa4, 0xf4, 0xb0, 0x0b, 0xb6, 0x15, 0xac, 0x2d, 0x29, 0xf4, 0x20, 0x0b, - 0x61, 0x9a, 0x4c, 0x97, 0xd0, 0x24, 0x13, 0x67, 0x26, 0x0b, 0xa5, 0xf4, 0xe2, 0x5f, 0xf0, 0xe4, - 0xd5, 0xa3, 0xe0, 0xd1, 0x3f, 0xd1, 0xab, 0xe0, 0x2f, 0xf0, 0xe4, 0x2f, 0xf0, 0x20, 0x28, 0x33, - 0x93, 0xd9, 0xee, 0x56, 0xca, 0xb6, 0xb7, 0x97, 0x37, 0xdf, 0xf7, 0xbd, 0x6f, 0xde, 0xcb, 0x1b, - 0xf0, 0xbc, 0x4f, 0x48, 0x3f, 0xc5, 0x2e, 0x8a, 0x99, 0xab, 0x42, 0x11, 0x0d, 0x3c, 0x97, 0x61, - 0x3a, 0x48, 0x22, 0xcc, 0xdc, 0x14, 0x1d, 0xe0, 0x34, 0xac,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4d, 0x35, 0x8d, 0xd6, 0x4c, 0x30, 0x57, 0xa5, 0x37, 0x54, 0x56, 0x5c, 0x6c, 0x80, 0xd2, 0x24, - 0x46, 0x1c, 0x87, 0x24, 0x4f, 0x8f, 0xad, 0x9b, 0x12, 0x56, 0xd7, 0xc9, 0x9d, 0x3c, 0x3d, 0xb6, - 0xff, 0x18, 0x60, 0x6e, 0xbc, 0x18, 0x5c, 0x03, 0x66, 0x59, 0x48, 0x96, 0x68, 0xb5, 0x64, 0x99, - 0x5e, 0x43, 0x7b, 0xd6, 0xd3, 0x70, 0x36, 0xc4, 0x34, 0xb6, 0x11, 0x3b, 0x0a, 0x80, 0x82, 0x8b, - 0x18, 0x76, 0xc1, 0x74, 0x44, 0x31, 0xe2, 0xaa, 0x8d, 0xa6, 0xd7, 0xba, 0xf4, 0xae, 0xc3, 0x5f, - 0x42, 0x5d, 0x76, 0xeb, 0x46, 0x50, 0x31, 0x85, 0x86, 0x52, 0xb4, 0x6a, 0xd7, 0xd7, 0x50, 0x4c, - 0x68, 0x81, 0x69, 0x8a, 0x33, 0x32, 0x50, 0xcd, 0x99, 0x15, 0x27, 0xea, 0xbb, 0x6b, 0x82, 0xd9, - 0x61, 0x37, 0xed, 0xaf, 0x06, 0xb8, 0x33, 0x3e, 0x57, 0x56, 0x90, 0x9c, 0x61, 0xb8, 0x01, 0xee, - 0x5e, 0xe8, 0x72, 0x88, 0x29, 0x25, 0x54, 0xca, 0x99, 0x1e, 0xd4, 0x96, 0x68, 0x11, 0x39, 0x7b, - 0xf2, 0xd7, 0x0b, 0x16, 0xc7, 0xfb, 0xff, 0x4a, 0xc0, 0xe1, 0x36, 0xb8, 0x45, 0x31, 0x2b, 0x53, - 0xae, 0x87, 0xbf, 0x32, 0x79, 0xf8, 0x23, 0x86, 0x02, 0xc9, 0x0d, 0xb4, 0x86, 0xfd, 0x12, 0x2c, - 0xfc, 0x77, 0x7a, 0xa5, 0x3f, 0xd8, 0xfb, 0x5b, 0x03, 0x75,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 0x57, - 0x6d, 0x49, 0xe5, 0x7d, 0xbf, 0x13, 0x33, 0xdf, 0x1f, 0x82, 0x7c, 0x7f, 0xdf, 0xf3, 0x7d, 0x0d, - 0x3b, 0x98, 0x96, 0x3e, 0x57, 0xfe, 0x05, 0x00, 0x00, 0xff, 0xff, 0x64, 0xc1, 0x87, 0x25, 0x78, - 0x06, 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 - -// LabelServiceClient is the client API for LabelService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type LabelServiceClient interface { - // Returns the requested label in full detail. - GetLabel(ctx context.Context, in *GetLabelRequest, opts ...grpc.CallOption) (*resources.Label, error) - // Creates, updates, or removes labels. Operation statuses are returned. - MutateLabels(ctx context.Context, in *MutateLabelsRequest, opts ...grpc.CallOption) (*MutateLabelsResponse, error) -} - -type labelServiceClient struct { - cc *grpc.ClientConn -} - -func NewLabelServiceClient(cc *grpc.ClientConn) LabelServiceClient { - return &labelServiceClient{cc} -} - -func (c *labelServiceClient) GetLabel(ctx context.Context, in *GetLabelRequest, opts ...grpc.CallOption) (*resources.Label, error) { - out := new(resources.Label) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.LabelService/GetLabel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *labelServiceClient) MutateLabels(ctx context.Context, in *MutateLabelsRequest, opts ...grpc.CallOption) (*MutateLabelsResponse, error) { - out := new(MutateLabelsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.LabelService/MutateLabels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// LabelServiceServer is the server API for LabelService service. -type LabelServiceServer interface { - // Returns the requested label in full detail. - GetLabel(context.Context, *GetLabelRequest) (*resources.Label, error) - // Creates, updates, or removes labels. Operation statuses are returned. - MutateLabels(context.Context, *MutateLabelsRequest) (*MutateLabelsResponse, error) -} - -// UnimplementedLabelServiceServer can be embedded to have forward compatible implementations. -type UnimplementedLabelServiceServer struct { -} - -func (*UnimplementedLabelServiceServer) GetLabel(ctx context.Context, req *GetLabelRequest) (*resources.Label, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetLabel not implemented") -} -func (*UnimplementedLabelServiceServer) MutateLabels(ctx context.Context, req *MutateLabelsRequest) (*MutateLabelsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateLabels not implemented") -} - -func RegisterLabelServiceServer(s *grpc.Server, srv LabelServiceServer) { - s.RegisterService(&_LabelService_serviceDesc, srv) -} - -func _LabelService_GetLabel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetLabelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LabelServiceServer).GetLabel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.LabelService/GetLabel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LabelServiceServer).GetLabel(ctx, req.(*GetLabelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LabelService_MutateLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateLabelsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LabelServiceServer).MutateLabels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.LabelService/MutateLabels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LabelServiceServer).MutateLabels(ctx, req.(*MutateLabelsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _LabelService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.LabelService", - HandlerType: (*LabelServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetLabel", - Handler: _LabelService_GetLabel_Handler, - }, - { - MethodName: "MutateLabels", - Handler: _LabelService_MutateLabels_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/label_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/landing_page_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/landing_page_view_service.pb.go deleted file mode 100644 index 682a3265..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/landing_page_view_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/landing_page_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [LandingPageViewService.GetLandingPageView][google.ads.googleads.v2.services.LandingPageViewService.GetLandingPageView]. -type GetLandingPageViewRequest struct { - // The resource name of the landing page 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 *GetLandingPageViewRequest) Reset() { *m = GetLandingPageViewRequest{} } -func (m *GetLandingPageViewRequest) String() string { return proto.CompactTextString(m) } -func (*GetLandingPageViewRequest) ProtoMessage() {} -func (*GetLandingPageViewRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4c82fb57b246174b, []int{0} -} - -func (m *GetLandingPageViewRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetLandingPageViewRequest.Unmarshal(m, b) -} -func (m *GetLandingPageViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetLandingPageViewRequest.Marshal(b, m, deterministic) -} -func (m *GetLandingPageViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetLandingPageViewRequest.Merge(m, src) -} -func (m *GetLandingPageViewRequest) XXX_Size() int { - return xxx_messageInfo_GetLandingPageViewRequest.Size(m) -} -func (m *GetLandingPageViewRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetLandingPageViewRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetLandingPageViewRequest proto.InternalMessageInfo - -func (m *GetLandingPageViewRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetLandingPageViewRequest)(nil), "google.ads.googleads.v2.services.GetLandingPageViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/landing_page_view_service.proto", fileDescriptor_4c82fb57b246174b) -} - -var fileDescriptor_4c82fb57b246174b = []byte{ - // 389 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xbf, 0x0a, 0xd3, 0x40, - 0x18, 0x27, 0x11, 0x04, 0x83, 0x2e, 0x19, 0xb4, 0xa6, 0x0e, 0xa5, 0x76, 0x90, 0x0e, 0x77, 0x70, - 0xba, 0x78, 0x45, 0x68, 0xba, 0xd4, 0x41, 0xa4, 0x54, 0xc8, 0x20, 0x81, 0x70, 0x26, 0x1f, 0xc7, - 0x41, 0x72, 0x17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0xfb, 0x8e, 0xd0, 0x85, 0x74, 0x4a, - 0x0f, 0x3f, 0x7e, 0x7e, 0x71, 0x5f, 0xf8, 0xa4, 0xad, 0xf2, 0xd3, 0x3f, 0x2b, 0xbd, 0x4a, 0x77, - 0xba, 0x56, 0x05, 0x54, 0x1a, 0xcf, 0x6d, 0xb7, 0x56, 0xa7, 0xf1, 0xfc, 0x73, 0x30, 0x3e, 0x86, - 0xa3, 0x73, 0x4c, 0x87, 0x4a, 0xa1, 0x51, 0xaa, 0x8a, 0xd5, 0xc1, 0xf5, 0x66, 0xa9, 0x2a, 0x6e, - 0xee, 0xb3, 0x1a, 0x5f, 0x6f, 0x68, 0xd3, 0xbe, 0xc1, 0xc6, 0x79, 0xff, 0xba, 0x33, 0xe0, 0x2a, - 0x67, 0x92, 0x23, 0x55, 0x71, 0xcc, 0x41, 0x9e, 0x5e, 0x08, 0x9f, 0x23, 0x87, 0xbf, 0xde, 0xc2, - 0x82, 0xaf, 0xee, 0x9d, 0x75, 0x18, 0x7e, 0x73, 0x27, 0x6b, 0x63, 0x18, 0x66, 0x1a, 0x19, 0xd8, - 0xa2, 0x88, 0xa0, 0x2e, 0x58, 0x1f, 0x2d, 0x25, 0x0e, 0x33, 0x1d, 0xf7, 0x94, 0x38, 0x22, 0xb1, - 0xa5, 0xfc, 0x72, 0x67, 0xe6, 0x9c, 0xd2, 0x30, 0xd3, 0x94, 0xf6, 0x24, 0x4a, 0x23, 0x42, 0xa9, - 0xa5, 0x7d, 0xb8, 0x7b, 0xba, 0xe7, 0xf3, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x21, 0xdd, 0xdc, - 0x37, 0x21, 0x03, 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 - -// LandingPageViewServiceClient is the client API for LandingPageViewService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type LandingPageViewServiceClient interface { - // Returns the requested landing page view in full detail. - GetLandingPageView(ctx context.Context, in *GetLandingPageViewRequest, opts ...grpc.CallOption) (*resources.LandingPageView, error) -} - -type landingPageViewServiceClient struct { - cc *grpc.ClientConn -} - -func NewLandingPageViewServiceClient(cc *grpc.ClientConn) LandingPageViewServiceClient { - return &landingPageViewServiceClient{cc} -} - -func (c *landingPageViewServiceClient) GetLandingPageView(ctx context.Context, in *GetLandingPageViewRequest, opts ...grpc.CallOption) (*resources.LandingPageView, error) { - out := new(resources.LandingPageView) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.LandingPageViewService/GetLandingPageView", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// LandingPageViewServiceServer is the server API for LandingPageViewService service. -type LandingPageViewServiceServer interface { - // Returns the requested landing page view in full detail. - GetLandingPageView(context.Context, *GetLandingPageViewRequest) (*resources.LandingPageView, error) -} - -// UnimplementedLandingPageViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedLandingPageViewServiceServer struct { -} - -func (*UnimplementedLandingPageViewServiceServer) GetLandingPageView(ctx context.Context, req *GetLandingPageViewRequest) (*resources.LandingPageView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetLandingPageView not implemented") -} - -func RegisterLandingPageViewServiceServer(s *grpc.Server, srv LandingPageViewServiceServer) { - s.RegisterService(&_LandingPageViewService_serviceDesc, srv) -} - -func _LandingPageViewService_GetLandingPageView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetLandingPageViewRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LandingPageViewServiceServer).GetLandingPageView(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.LandingPageViewService/GetLandingPageView", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LandingPageViewServiceServer).GetLandingPageView(ctx, req.(*GetLandingPageViewRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _LandingPageViewService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.LandingPageViewService", - HandlerType: (*LandingPageViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetLandingPageView", - Handler: _LandingPageViewService_GetLandingPageView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/landing_page_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/language_constant_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/language_constant_service.pb.go deleted file mode 100644 index 2a511716..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/language_constant_service.pb.go +++ /dev/null @@ -1,187 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/language_constant_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [LanguageConstantService.GetLanguageConstant][google.ads.googleads.v2.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_bc548c57933bf456, []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 (m *GetLanguageConstantRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetLanguageConstantRequest.Merge(m, 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.v2.services.GetLanguageConstantRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/language_constant_service.proto", fileDescriptor_bc548c57933bf456) -} - -var fileDescriptor_bc548c57933bf456 = []byte{ - // 377 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x4f, 0x4a, 0xc3, 0x40, - 0x14, 0xc6, 0x49, 0x04, 0xc1, 0xa0, 0x9b, 0xb8, 0x68, 0x89, 0x5d, 0x94, 0x5a, 0xf0, 0xcf, 0x62, - 0x06, 0xd2, 0x95, 0xa3, 0x82, 0xa9, 0x8b, 0xba, 0x10, 0x29, 0x15, 0xba, 0x90, 0x40, 0x19, 0x93, - 0x21, 0x04, 0x92, 0x99, 0x9a, 0x97, 0x76, 0x23, 0x6e, 0xf4, 0x08, 0xde, 0xc0, 0xa5, 0x37, 0xf0, - 0x0a, 0xdd, 0x7a, 0x05, 0x57, 0x2e, 0x3d, 0x81, 0xa4, 0x33, 0x93, 0x6a, 0x69, 0xe8, 0xee, 0x63, - 0xde, 0xf7, 0x7e, 0xef, 0xbd, 0x2f, 0xb1, 0x2e, 0x22, 0x21, 0xa2, 0x84, 0x61, 0x1a, 0x02, 0x96, - 0xb2, 0x50, 0x53, 0x17, 0x03, 0xcb, 0xa6, 0x71, 0xc0, 0x00, 0x27, 0x94, 0x47, 0x13, 0x1a, 0xb1, - 0x51, 0x20, 0x38, 0xe4, 0x94, 0xe7, 0x23, 0x55, 0x42, 0xe3, 0x4c, 0xe4, 0xc2, 0x6e, 0xca, 0x36, - 0x44, 0x43, 0x40, 0x25, 0x01, 0x4d, 0x5d, 0xa4, 0x09, 0xce, 0x49, 0xd5, 0x8c, 0x8c, 0x81, 0x98, - 0x64, 0x2b, 0x87, 0x48, 0xb8, 0xd3, 0xd0, 0xad, 0xe3, 0x18, 0x53, 0xce, 0x45, 0x4e, 0xf3, 0x58, - 0x70, 0x50, 0xd5, 0xda, 0x9f, 0x6a, 0x90, 0xc4, 0x4c, 0xb7, 0xb5, 0x3c, 0xcb, 0xe9, 0xb1, 0xfc, - 0x5a, 0x41, 0x2f, 0x15, 0x73, 0xc0, 0x1e, 0x26, 0x0c, 0x72, 0x7b, 0xdf, 0xda, 0xd1, 0x93, 0x47, - 0x9c, 0xa6, 0xac, 0x6e, 0x34, 0x8d, 0xc3, 0xad, 0xc1, 0xb6, 0x7e, 0xbc, 0xa1, 0x29, 0x73, 0x7f, - 0x0c, 0xab, 0xb6, 0x0c, 0xb8, 0x95, 0x17, 0xd9, 0x1f, 0x86, 0xb5, 0xbb, 0x82, 0x6f, 0x9f, 0xa1, - 0x75, 0x59, 0xa0, 0xea, 0xb5, 0x9c, 0x4e, 0x65, 0x77, 0x99, 0x13, 0x5a, 0xee, 0x6d, 0xe1, 0xe7, - 0xcf, 0xaf, 0x57, 0xf3, 0xc8, 0x3e, 0x28, 0xf2, 0x7c, 0xfc, 0x77, 0xd6, 0x79, 0xb2, 0x64, 0x06, - 0x7c, 0xfc, 0xe4, 0xec, 0xcd, 0xbc, 0xfa, 0x02, 0xae, 0xd4, 0x38, 0x06, 0x14, 0x88, 0xb4, 0xfb, - 0x62, 0x5a, 0xed, 0x40, 0xa4, 0x6b, 0xcf, 0xe8, 0x36, 0x2a, 0xa2, 0xe9, 0x17, 0xf1, 0xf7, 0x8d, - 0xbb, 0x2b, 0x45, 0x88, 0x44, 0xb1, 0x04, 0x12, 0x59, 0x84, 0x23, 0xc6, 0xe7, 0x1f, 0x07, 0x2f, - 0x66, 0x56, 0xff, 0x75, 0xa7, 0x5a, 0xbc, 0x99, 0x1b, 0x3d, 0xcf, 0x7b, 0x37, 0x9b, 0x3d, 0x09, - 0xf4, 0x42, 0x40, 0x52, 0x16, 0x6a, 0xe8, 0x22, 0x35, 0x18, 0x66, 0xda, 0xe2, 0x7b, 0x21, 0xf8, - 0xa5, 0xc5, 0x1f, 0xba, 0xbe, 0xb6, 0x7c, 0x9b, 0x6d, 0xf9, 0x4e, 0x88, 0x17, 0x02, 0x21, 0xa5, - 0x89, 0x90, 0xa1, 0x4b, 0x88, 0xb6, 0xdd, 0x6f, 0xce, 0xf7, 0xec, 0xfc, 0x06, 0x00, 0x00, 0xff, - 0xff, 0x90, 0xf1, 0x3f, 0x1e, 0x1c, 0x03, 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 - -// 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.v2.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) -} - -// UnimplementedLanguageConstantServiceServer can be embedded to have forward compatible implementations. -type UnimplementedLanguageConstantServiceServer struct { -} - -func (*UnimplementedLanguageConstantServiceServer) GetLanguageConstant(ctx context.Context, req *GetLanguageConstantRequest) (*resources.LanguageConstant, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetLanguageConstant not implemented") -} - -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.v2.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.v2.services.LanguageConstantService", - HandlerType: (*LanguageConstantServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetLanguageConstant", - Handler: _LanguageConstantService_GetLanguageConstant_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/language_constant_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/location_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/location_view_service.pb.go deleted file mode 100644 index 71c7b977..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/location_view_service.pb.go +++ /dev/null @@ -1,187 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/location_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [LocationViewService.GetLocationView][google.ads.googleads.v2.services.LocationViewService.GetLocationView]. -type GetLocationViewRequest struct { - // The resource name of the location 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 *GetLocationViewRequest) Reset() { *m = GetLocationViewRequest{} } -func (m *GetLocationViewRequest) String() string { return proto.CompactTextString(m) } -func (*GetLocationViewRequest) ProtoMessage() {} -func (*GetLocationViewRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e549224f20ebbe44, []int{0} -} - -func (m *GetLocationViewRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetLocationViewRequest.Unmarshal(m, b) -} -func (m *GetLocationViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetLocationViewRequest.Marshal(b, m, deterministic) -} -func (m *GetLocationViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetLocationViewRequest.Merge(m, src) -} -func (m *GetLocationViewRequest) XXX_Size() int { - return xxx_messageInfo_GetLocationViewRequest.Size(m) -} -func (m *GetLocationViewRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetLocationViewRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetLocationViewRequest proto.InternalMessageInfo - -func (m *GetLocationViewRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetLocationViewRequest)(nil), "google.ads.googleads.v2.services.GetLocationViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/location_view_service.proto", fileDescriptor_e549224f20ebbe44) -} - -var fileDescriptor_e549224f20ebbe44 = []byte{ - // 382 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xbf, 0x4a, 0xfb, 0x50, - 0x14, 0x26, 0xf9, 0xc1, 0x0f, 0x0c, 0x8a, 0x10, 0x41, 0x4b, 0x74, 0x28, 0xb5, 0x83, 0x74, 0xb8, - 0x17, 0x23, 0xa2, 0x5c, 0xed, 0x90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 0x76, 0xb2, 0xfc, - 0x29, 0x06, 0x5d, 0xa9, 0xac, 0x3a, 0x21, 0x8b, 0xba, 0xc6, 0xd9, 0xf3, 0xc7, 0xe7, 0x8b, 0x7a, - 0xac, 0xd3, 0xa2, 0xb7, 0xc7, 0x1f, 0x67, 0xb4, 0xbd, 0x11, 0x66, 0x3c, 0x86, 0x14, 0x69, 0xab, - 0x2a, 0xb2, 0x10, 0x21, 0x6d, 0x3d, 0x19, 0xfb, 0x13, 0xab, 0x36, 0x0f, 0x28, 0xd1, 0x30, 0x44, - 0xe2, 0xf1, 0xb8, 0xf3, 0xa5, 0x68, 0x4d, 0x8f, 0xc7, 0x6b, 0xcf, 0xe8, 0xd4, 0x96, 0x54, 0xd2, - 0x2b, 0xea, 0xee, 0x29, 0x77, 0x57, 0xa5, 0x3a, 0xe0, 0x91, 0x9b, 0x04, 0x84, 0xa7, 0x01, 0x0d, - 0x20, 0x99, 0x7d, 0x0c, 0x3a, 0xcf, 0x5b, 0xfd, 0x77, 0x5d, 0x48, 0xf0, 0xaa, 0xfe, 0xeb, 0x5a, - 0xd6, 0x9b, 0x5a, 0xef, 0x0a, 0x43, 0xcb, 0x47, 0x22, 0x60, 0x81, 0x6c, 0x93, 0x94, 0xc1, 0x38, - 0x91, 0x14, 0xc7, 0xf2, 0xd1, 0xa9, 0x28, 0x8e, 0x6d, 0x3a, 0x92, 0x32, 0x55, 0x9b, 0x62, 0xce, - 0x98, 0xe5, 0x23, 0x63, 0x15, 0x89, 0x31, 0xdb, 0x64, 0x4c, 0xd2, 0xee, 0xff, 0xcf, 0xde, 0x79, - 0xf2, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x49, 0x16, 0x54, 0x1f, 0x04, 0x03, 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 - -// LocationViewServiceClient is the client API for LocationViewService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type LocationViewServiceClient interface { - // Returns the requested location view in full detail. - GetLocationView(ctx context.Context, in *GetLocationViewRequest, opts ...grpc.CallOption) (*resources.LocationView, error) -} - -type locationViewServiceClient struct { - cc *grpc.ClientConn -} - -func NewLocationViewServiceClient(cc *grpc.ClientConn) LocationViewServiceClient { - return &locationViewServiceClient{cc} -} - -func (c *locationViewServiceClient) GetLocationView(ctx context.Context, in *GetLocationViewRequest, opts ...grpc.CallOption) (*resources.LocationView, error) { - out := new(resources.LocationView) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.LocationViewService/GetLocationView", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// LocationViewServiceServer is the server API for LocationViewService service. -type LocationViewServiceServer interface { - // Returns the requested location view in full detail. - GetLocationView(context.Context, *GetLocationViewRequest) (*resources.LocationView, error) -} - -// UnimplementedLocationViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedLocationViewServiceServer struct { -} - -func (*UnimplementedLocationViewServiceServer) GetLocationView(ctx context.Context, req *GetLocationViewRequest) (*resources.LocationView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetLocationView not implemented") -} - -func RegisterLocationViewServiceServer(s *grpc.Server, srv LocationViewServiceServer) { - s.RegisterService(&_LocationViewService_serviceDesc, srv) -} - -func _LocationViewService_GetLocationView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetLocationViewRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LocationViewServiceServer).GetLocationView(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.LocationViewService/GetLocationView", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LocationViewServiceServer).GetLocationView(ctx, req.(*GetLocationViewRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _LocationViewService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.LocationViewService", - HandlerType: (*LocationViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetLocationView", - Handler: _LocationViewService_GetLocationView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/location_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/managed_placement_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/managed_placement_view_service.pb.go deleted file mode 100644 index e284328a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/managed_placement_view_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/managed_placement_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [ManagedPlacementViewService.GetManagedPlacementView][google.ads.googleads.v2.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_48879207a9e4f5e2, []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 (m *GetManagedPlacementViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetManagedPlacementViewRequest.Merge(m, 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.v2.services.GetManagedPlacementViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/managed_placement_view_service.proto", fileDescriptor_48879207a9e4f5e2) -} - -var fileDescriptor_48879207a9e4f5e2 = []byte{ - // 398 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0x3d, 0x8b, 0xdb, 0x40, - 0x10, 0x45, 0x0a, 0x04, 0x22, 0x92, 0x46, 0x8d, 0x8d, 0x1c, 0x82, 0x70, 0x5c, 0x04, 0x17, 0xbb, - 0xa0, 0x14, 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// 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.v2.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) -} - -// UnimplementedManagedPlacementViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedManagedPlacementViewServiceServer struct { -} - -func (*UnimplementedManagedPlacementViewServiceServer) GetManagedPlacementView(ctx context.Context, req *GetManagedPlacementViewRequest) (*resources.ManagedPlacementView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetManagedPlacementView not implemented") -} - -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.v2.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.v2.services.ManagedPlacementViewService", - HandlerType: (*ManagedPlacementViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetManagedPlacementView", - Handler: _ManagedPlacementViewService_GetManagedPlacementView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/managed_placement_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/media_file_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/media_file_service.pb.go deleted file mode 100644 index 43381935..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/media_file_service.pb.go +++ /dev/null @@ -1,481 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/media_file_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [MediaFileService.GetMediaFile][google.ads.googleads.v2.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_1c0bfc1a7537a433, []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 (m *GetMediaFileRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetMediaFileRequest.Merge(m, 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.v2.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_1c0bfc1a7537a433, []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 (m *MutateMediaFilesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateMediaFilesRequest.Merge(m, 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 -} - -func (m *MutateMediaFilesRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateMediaFilesRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_1c0bfc1a7537a433, []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 (m *MediaFileOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_MediaFileOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*MediaFileOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*MediaFileOperation_Create)(nil), - } -} - -// Response message for a media file mutate. -type MutateMediaFilesResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_1c0bfc1a7537a433, []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 (m *MutateMediaFilesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateMediaFilesResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_1c0bfc1a7537a433, []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 (m *MutateMediaFileResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateMediaFileResult.Merge(m, 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.v2.services.GetMediaFileRequest") - proto.RegisterType((*MutateMediaFilesRequest)(nil), "google.ads.googleads.v2.services.MutateMediaFilesRequest") - proto.RegisterType((*MediaFileOperation)(nil), "google.ads.googleads.v2.services.MediaFileOperation") - proto.RegisterType((*MutateMediaFilesResponse)(nil), "google.ads.googleads.v2.services.MutateMediaFilesResponse") - proto.RegisterType((*MutateMediaFileResult)(nil), "google.ads.googleads.v2.services.MutateMediaFileResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/media_file_service.proto", fileDescriptor_1c0bfc1a7537a433) -} - -var fileDescriptor_1c0bfc1a7537a433 = []byte{ - // 644 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x4f, 0x6b, 0xd4, 0x40, - 0x14, 0x37, 0xbb, 0x52, 0xed, 0x6c, 0xd5, 0x32, 0xa5, 0x74, 0x59, 0x05, 0x97, 0x58, 0xb0, 0x2c, - 0x65, 0x02, 0xb1, 0x22, 0x1d, 0xed, 0x61, 0x0b, 0x6e, 0xeb, 0xa1, 0xb6, 0xa6, 0xd2, 0x83, 0x2c, - 0x84, 0x31, 0x99, 0x2e, 0x03, 0x49, 0x26, 0xce, 0x4c, 0x16, 0x4a, 0xe9, 0xc5, 0xaf, 0xe0, 0x37, - 0xd0, 0x93, 0xde, 0xfd, 0x08, 0x5e, 0x7a, 0xf5, 0xee, 0xc9, 0x93, 0x9f, 0xc1, 0x83, 0x24, 0x93, - 0xc9, 0xfe, 0x69, 0x4b, 0x5b, 0x6f, 0x8f, 0x37, 0xbf, 0xdf, 0x7b, 0xbf, 0xf7, 0x6f, 0xc0, 0xfa, - 0x80, 0xf3, 0x41, 0x44, 0x1d, 0x12, 0x4a, 0x47, 0x9b, 0xb9, 0x35, 0x74, 0x1d, 0x49, 0xc5, 0x90, - 0x05, 0x54, 0x3a, 0x31, 0x0d, 0x19, 0xf1, 0x0f, 0x59, 0x44, 0xfd, 0xd2, 0x87, 0x52, 0xc1, 0x15, - 0x87, 0x6d, 0x8d, 0x47, 0x24, 0x94, 0xa8, 0xa2, 0xa2, 0xa1, 0x8b, 0x0c, 0xb5, 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e1, 0x46, 0xe7, 0x64, 0xac, 0x00, - 0x1c, 0x17, 0xa1, 0xb0, 0xd5, 0x69, 0xdd, 0x3f, 0xed, 0x36, 0x47, 0xe9, 0x4a, 0x2b, 0x65, 0x12, - 0x05, 0x3c, 0xde, 0xfc, 0x6b, 0x81, 0xe5, 0x80, 0xc7, 0x97, 0x4a, 0xdb, 0x5c, 0x9c, 0x9e, 0xe5, - 0x5e, 0xfe, 0xc7, 0xec, 0x59, 0xef, 0xb6, 0x4b, 0xea, 0x80, 0x47, 0x24, 0x19, 0x20, 0x2e, 0x06, - 0xce, 0x80, 0x26, 0xc5, 0x0f, 0xe4, 0x8c, 0x92, 0x5d, 0xfc, 0xcb, 0x3e, 0x37, 0xc6, 0xe7, 0x5a, - 0x7d, 0xab, 0xdb, 0xfd, 0x56, 0x6b, 0x6f, 0xe9, 0x80, 0xdd, 0x50, 0x22, 0x6d, 0xe6, 0xd6, 0x81, - 0x8b, 0xca, 0xc4, 0xf2, 0xd4, 0x40, 0xfa, 0xdd, 0x50, 0xf6, 0x2b, 0x48, 0xff, 0xc0, 0xed, 0x1b, - 0xc8, 0x9f, 0xda, 0xb2, 0xf6, 0x63, 0xdc, 0x0d, 0x25, 0xc6, 0x15, 0x08, 0xe3, 0x03, 0x17, 0x63, - 0x03, 0x7b, 0x3f, 0x53, 0xe8, 0x7c, 0xf2, 0x2f, 0x00, 0x00, 0xff, 0xff, 0xd9, 0xf4, 0x7c, 0x07, - 0x0c, 0x06, 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 - -// 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.v2.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.v2.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) -} - -// UnimplementedMediaFileServiceServer can be embedded to have forward compatible implementations. -type UnimplementedMediaFileServiceServer struct { -} - -func (*UnimplementedMediaFileServiceServer) GetMediaFile(ctx context.Context, req *GetMediaFileRequest) (*resources.MediaFile, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetMediaFile not implemented") -} -func (*UnimplementedMediaFileServiceServer) MutateMediaFiles(ctx context.Context, req *MutateMediaFilesRequest) (*MutateMediaFilesResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateMediaFiles not implemented") -} - -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.v2.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.v2.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.v2.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/v2/services/media_file_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/merchant_center_link_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/merchant_center_link_service.pb.go deleted file mode 100644 index d5490bf7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/merchant_center_link_service.pb.go +++ /dev/null @@ -1,597 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/merchant_center_link_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [MerchantCenterLinkService.ListMerchantCenterLinks][google.ads.googleads.v2.services.MerchantCenterLinkService.ListMerchantCenterLinks]. -type ListMerchantCenterLinksRequest struct { - // The ID of the customer onto which to apply the Merchant Center link list - // operation. - 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 *ListMerchantCenterLinksRequest) Reset() { *m = ListMerchantCenterLinksRequest{} } -func (m *ListMerchantCenterLinksRequest) String() string { return proto.CompactTextString(m) } -func (*ListMerchantCenterLinksRequest) ProtoMessage() {} -func (*ListMerchantCenterLinksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dd0dc4f0ea434cdd, []int{0} -} - -func (m *ListMerchantCenterLinksRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListMerchantCenterLinksRequest.Unmarshal(m, b) -} -func (m *ListMerchantCenterLinksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListMerchantCenterLinksRequest.Marshal(b, m, deterministic) -} -func (m *ListMerchantCenterLinksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListMerchantCenterLinksRequest.Merge(m, src) -} -func (m *ListMerchantCenterLinksRequest) XXX_Size() int { - return xxx_messageInfo_ListMerchantCenterLinksRequest.Size(m) -} -func (m *ListMerchantCenterLinksRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListMerchantCenterLinksRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListMerchantCenterLinksRequest proto.InternalMessageInfo - -func (m *ListMerchantCenterLinksRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -// Response message for [MerchantCenterLinkService.ListMerchantCenterLinks][google.ads.googleads.v2.services.MerchantCenterLinkService.ListMerchantCenterLinks]. -type ListMerchantCenterLinksResponse struct { - // Merchant Center links available for the requested customer - MerchantCenterLinks []*resources.MerchantCenterLink `protobuf:"bytes,1,rep,name=merchant_center_links,json=merchantCenterLinks,proto3" json:"merchant_center_links,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListMerchantCenterLinksResponse) Reset() { *m = ListMerchantCenterLinksResponse{} } -func (m *ListMerchantCenterLinksResponse) String() string { return proto.CompactTextString(m) } -func (*ListMerchantCenterLinksResponse) ProtoMessage() {} -func (*ListMerchantCenterLinksResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dd0dc4f0ea434cdd, []int{1} -} - -func (m *ListMerchantCenterLinksResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListMerchantCenterLinksResponse.Unmarshal(m, b) -} -func (m *ListMerchantCenterLinksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListMerchantCenterLinksResponse.Marshal(b, m, deterministic) -} -func (m *ListMerchantCenterLinksResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListMerchantCenterLinksResponse.Merge(m, src) -} -func (m *ListMerchantCenterLinksResponse) XXX_Size() int { - return xxx_messageInfo_ListMerchantCenterLinksResponse.Size(m) -} -func (m *ListMerchantCenterLinksResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListMerchantCenterLinksResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListMerchantCenterLinksResponse proto.InternalMessageInfo - -func (m *ListMerchantCenterLinksResponse) GetMerchantCenterLinks() []*resources.MerchantCenterLink { - if m != nil { - return m.MerchantCenterLinks - } - return nil -} - -// Request message for [MerchantCenterLinkService.GetMerchantCenterLink][google.ads.googleads.v2.services.MerchantCenterLinkService.GetMerchantCenterLink]. -type GetMerchantCenterLinkRequest struct { - // Resource name of the Merchant Center link. - 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 *GetMerchantCenterLinkRequest) Reset() { *m = GetMerchantCenterLinkRequest{} } -func (m *GetMerchantCenterLinkRequest) String() string { return proto.CompactTextString(m) } -func (*GetMerchantCenterLinkRequest) ProtoMessage() {} -func (*GetMerchantCenterLinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dd0dc4f0ea434cdd, []int{2} -} - -func (m *GetMerchantCenterLinkRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetMerchantCenterLinkRequest.Unmarshal(m, b) -} -func (m *GetMerchantCenterLinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetMerchantCenterLinkRequest.Marshal(b, m, deterministic) -} -func (m *GetMerchantCenterLinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetMerchantCenterLinkRequest.Merge(m, src) -} -func (m *GetMerchantCenterLinkRequest) XXX_Size() int { - return xxx_messageInfo_GetMerchantCenterLinkRequest.Size(m) -} -func (m *GetMerchantCenterLinkRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetMerchantCenterLinkRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetMerchantCenterLinkRequest proto.InternalMessageInfo - -func (m *GetMerchantCenterLinkRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for [MerchantCenterLinkService.MutateMerchantCenterLink][google.ads.googleads.v2.services.MerchantCenterLinkService.MutateMerchantCenterLink]. -type MutateMerchantCenterLinkRequest 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 link - Operation *MerchantCenterLinkOperation `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateMerchantCenterLinkRequest) Reset() { *m = MutateMerchantCenterLinkRequest{} } -func (m *MutateMerchantCenterLinkRequest) String() string { return proto.CompactTextString(m) } -func (*MutateMerchantCenterLinkRequest) ProtoMessage() {} -func (*MutateMerchantCenterLinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dd0dc4f0ea434cdd, []int{3} -} - -func (m *MutateMerchantCenterLinkRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateMerchantCenterLinkRequest.Unmarshal(m, b) -} -func (m *MutateMerchantCenterLinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateMerchantCenterLinkRequest.Marshal(b, m, deterministic) -} -func (m *MutateMerchantCenterLinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateMerchantCenterLinkRequest.Merge(m, src) -} -func (m *MutateMerchantCenterLinkRequest) XXX_Size() int { - return xxx_messageInfo_MutateMerchantCenterLinkRequest.Size(m) -} -func (m *MutateMerchantCenterLinkRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateMerchantCenterLinkRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateMerchantCenterLinkRequest proto.InternalMessageInfo - -func (m *MutateMerchantCenterLinkRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateMerchantCenterLinkRequest) GetOperation() *MerchantCenterLinkOperation { - if m != nil { - return m.Operation - } - return nil -} - -// A single update on a Merchant Center link. -type MerchantCenterLinkOperation struct { - // FieldMask that determines which resource fields are modified in an update. - UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` - // The operation to perform - // - // Types that are valid to be assigned to Operation: - // *MerchantCenterLinkOperation_Update - // *MerchantCenterLinkOperation_Remove - Operation isMerchantCenterLinkOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MerchantCenterLinkOperation) Reset() { *m = MerchantCenterLinkOperation{} } -func (m *MerchantCenterLinkOperation) String() string { return proto.CompactTextString(m) } -func (*MerchantCenterLinkOperation) ProtoMessage() {} -func (*MerchantCenterLinkOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_dd0dc4f0ea434cdd, []int{4} -} - -func (m *MerchantCenterLinkOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MerchantCenterLinkOperation.Unmarshal(m, b) -} -func (m *MerchantCenterLinkOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MerchantCenterLinkOperation.Marshal(b, m, deterministic) -} -func (m *MerchantCenterLinkOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_MerchantCenterLinkOperation.Merge(m, src) -} -func (m *MerchantCenterLinkOperation) XXX_Size() int { - return xxx_messageInfo_MerchantCenterLinkOperation.Size(m) -} -func (m *MerchantCenterLinkOperation) XXX_DiscardUnknown() { - xxx_messageInfo_MerchantCenterLinkOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_MerchantCenterLinkOperation proto.InternalMessageInfo - -func (m *MerchantCenterLinkOperation) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -type isMerchantCenterLinkOperation_Operation interface { - isMerchantCenterLinkOperation_Operation() -} - -type MerchantCenterLinkOperation_Update struct { - Update *resources.MerchantCenterLink `protobuf:"bytes,1,opt,name=update,proto3,oneof"` -} - -type MerchantCenterLinkOperation_Remove struct { - Remove string `protobuf:"bytes,2,opt,name=remove,proto3,oneof"` -} - -func (*MerchantCenterLinkOperation_Update) isMerchantCenterLinkOperation_Operation() {} - -func (*MerchantCenterLinkOperation_Remove) isMerchantCenterLinkOperation_Operation() {} - -func (m *MerchantCenterLinkOperation) GetOperation() isMerchantCenterLinkOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *MerchantCenterLinkOperation) GetUpdate() *resources.MerchantCenterLink { - if x, ok := m.GetOperation().(*MerchantCenterLinkOperation_Update); ok { - return x.Update - } - return nil -} - -func (m *MerchantCenterLinkOperation) GetRemove() string { - if x, ok := m.GetOperation().(*MerchantCenterLinkOperation_Remove); ok { - return x.Remove - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*MerchantCenterLinkOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*MerchantCenterLinkOperation_Update)(nil), - (*MerchantCenterLinkOperation_Remove)(nil), - } -} - -// Response message for Merchant Center link mutate. -type MutateMerchantCenterLinkResponse struct { - // Result for the mutate. - Result *MutateMerchantCenterLinkResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateMerchantCenterLinkResponse) Reset() { *m = MutateMerchantCenterLinkResponse{} } -func (m *MutateMerchantCenterLinkResponse) String() string { return proto.CompactTextString(m) } -func (*MutateMerchantCenterLinkResponse) ProtoMessage() {} -func (*MutateMerchantCenterLinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dd0dc4f0ea434cdd, []int{5} -} - -func (m *MutateMerchantCenterLinkResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateMerchantCenterLinkResponse.Unmarshal(m, b) -} -func (m *MutateMerchantCenterLinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateMerchantCenterLinkResponse.Marshal(b, m, deterministic) -} -func (m *MutateMerchantCenterLinkResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateMerchantCenterLinkResponse.Merge(m, src) -} -func (m *MutateMerchantCenterLinkResponse) XXX_Size() int { - return xxx_messageInfo_MutateMerchantCenterLinkResponse.Size(m) -} -func (m *MutateMerchantCenterLinkResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateMerchantCenterLinkResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateMerchantCenterLinkResponse proto.InternalMessageInfo - -func (m *MutateMerchantCenterLinkResponse) GetResult() *MutateMerchantCenterLinkResult { - if m != nil { - return m.Result - } - return nil -} - -// The result for the Merchant Center link mutate. -type MutateMerchantCenterLinkResult 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 *MutateMerchantCenterLinkResult) Reset() { *m = MutateMerchantCenterLinkResult{} } -func (m *MutateMerchantCenterLinkResult) String() string { return proto.CompactTextString(m) } -func (*MutateMerchantCenterLinkResult) ProtoMessage() {} -func (*MutateMerchantCenterLinkResult) Descriptor() ([]byte, []int) { - return fileDescriptor_dd0dc4f0ea434cdd, []int{6} -} - -func (m *MutateMerchantCenterLinkResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateMerchantCenterLinkResult.Unmarshal(m, b) -} -func (m *MutateMerchantCenterLinkResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateMerchantCenterLinkResult.Marshal(b, m, deterministic) -} -func (m *MutateMerchantCenterLinkResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateMerchantCenterLinkResult.Merge(m, src) -} -func (m *MutateMerchantCenterLinkResult) XXX_Size() int { - return xxx_messageInfo_MutateMerchantCenterLinkResult.Size(m) -} -func (m *MutateMerchantCenterLinkResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateMerchantCenterLinkResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateMerchantCenterLinkResult proto.InternalMessageInfo - -func (m *MutateMerchantCenterLinkResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*ListMerchantCenterLinksRequest)(nil), "google.ads.googleads.v2.services.ListMerchantCenterLinksRequest") - proto.RegisterType((*ListMerchantCenterLinksResponse)(nil), "google.ads.googleads.v2.services.ListMerchantCenterLinksResponse") - proto.RegisterType((*GetMerchantCenterLinkRequest)(nil), "google.ads.googleads.v2.services.GetMerchantCenterLinkRequest") - proto.RegisterType((*MutateMerchantCenterLinkRequest)(nil), "google.ads.googleads.v2.services.MutateMerchantCenterLinkRequest") - proto.RegisterType((*MerchantCenterLinkOperation)(nil), "google.ads.googleads.v2.services.MerchantCenterLinkOperation") - proto.RegisterType((*MutateMerchantCenterLinkResponse)(nil), "google.ads.googleads.v2.services.MutateMerchantCenterLinkResponse") - proto.RegisterType((*MutateMerchantCenterLinkResult)(nil), "google.ads.googleads.v2.services.MutateMerchantCenterLinkResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/merchant_center_link_service.proto", fileDescriptor_dd0dc4f0ea434cdd) -} - -var fileDescriptor_dd0dc4f0ea434cdd = []byte{ - // 697 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0x4f, 0x6b, 0xd4, 0x4e, - 0x18, 0xfe, 0x65, 0xcb, 0xaf, 0xd0, 0x59, 0xbd, 0x8c, 0x94, 0xc6, 0x6d, 0x69, 0x97, 0xd8, 0x43, - 0xd9, 0xc3, 0x04, 0x53, 0x8a, 0x9a, 0xba, 0x62, 0x76, 0xd1, 0x56, 0x68, 0x6d, 0x89, 0x50, 0x44, - 0x17, 0x96, 0x34, 0x99, 0xae, 0xa1, 0x49, 0x66, 0xcd, 0x4c, 0xf6, 0x52, 0x7b, 0x11, 0xbc, 0x79, - 0xf3, 0x03, 0x08, 0x1e, 0xfd, 0x28, 0x85, 0x5e, 0xf4, 0xe4, 0x5d, 0x3c, 0xf8, 0x29, 0x24, 0xf3, - 0x67, 0xb7, 0xd2, 0x64, 0xb7, 0x76, 0x6f, 0x6f, 0x66, 0xde, 0x79, 0x9e, 0x79, 0xde, 0xf7, 0x79, - 0x27, 0xa0, 0xdd, 0x23, 0xa4, 0x17, 0x61, 0xd3, 0x0b, 0xa8, 0x29, 0xc2, 0x3c, 0x1a, 0x58, 0x26, - 0xc5, 0xe9, 0x20, 0xf4, 0x31, 0x35, 0x63, 0x9c, 0xfa, 0x6f, 0xbc, 0x84, 0x75, 0x7d, 0x9c, 0x30, - 0x9c, 0x76, 0xa3, 0x30, 0x39, 0xee, 0xca, 0x5d, 0xd4, 0x4f, 0x09, 0x23, 0xb0, 0x2e, 0x4e, 0x22, - 0x2f, 0xa0, 0x68, 0x08, 0x82, 0x06, 0x16, 0x52, 0x20, 0xb5, 0x87, 0x65, 0x34, 0x29, 0xa6, 0x24, - 0x4b, 0xcb, 0x78, 0x04, 0x7e, 0x6d, 0x49, 0x9d, 0xee, 0x87, 0xa6, 0x97, 0x24, 0x84, 0x79, 0x2c, - 0x24, 0x09, 0x95, 0xbb, 0x92, 0xdd, 0xe4, 0x5f, 0x87, 0xd9,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0xd5, 0x9a, 0xca, 0xba, 0xa2, 0x5d, 0x6d, 0x2e, 0xb1, 0x69, - 0xdc, 0xff, 0xe7, 0x76, 0xd9, 0x31, 0xc7, 0xb6, 0xb5, 0x46, 0x6d, 0xf1, 0xcc, 0xd1, 0x47, 0xfc, - 0x32, 0xea, 0x87, 0x14, 0xf9, 0x24, 0x6e, 0x7d, 0xa8, 0x80, 0x55, 0x9f, 0xc4, 0x13, 0xef, 0xda, - 0x5a, 0x2e, 0x75, 0xfd, 0x7e, 0xfe, 0xdc, 0xec, 0x6b, 0xaf, 0xb6, 0x25, 0x46, 0x8f, 0x44, 0x5e, - 0xd2, 0x43, 0x24, 0xed, 0x99, 0x3d, 0x9c, 0xf0, 0xc7, 0xc8, 0x1c, 0xb1, 0x96, 0xff, 0x8a, 0x37, - 0x55, 0xf0, 0xa5, 0x32, 0xb3, 0xe5, 0x38, 0x5f, 0x2b, 0xf5, 0x2d, 0x01, 0xe8, 0x04, 0x14, 0x89, - 0x30, 0x8f, 0x0e, 0x2c, 0x24, 0x89, 0xe9, 0x99, 0x4a, 0xe9, 0x38, 0x01, 0xed, 0x0c, 0x53, 0x3a, - 0x07, 0x56, 0x47, 0xa5, 0xfc, 0xae, 0xac, 0x8a, 0x75, 0xdb, 0x76, 0x02, 0x6a, 0xdb, 0xc3, 0x24, - 0xdb, 0x3e, 0xb0, 0x6c, 0x5b, 0xa5, 0x1d, 0xce, 0xf2, 0x7b, 0xae, 0xff, 0x09, 0x00, 0x00, 0xff, - 0xff, 0x2b, 0xf0, 0x3b, 0xd9, 0x31, 0x08, 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 - -// MerchantCenterLinkServiceClient is the client API for MerchantCenterLinkService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type MerchantCenterLinkServiceClient interface { - // Returns Merchant Center links available for this customer. - ListMerchantCenterLinks(ctx context.Context, in *ListMerchantCenterLinksRequest, opts ...grpc.CallOption) (*ListMerchantCenterLinksResponse, error) - // Returns the Merchant Center link in full detail. - GetMerchantCenterLink(ctx context.Context, in *GetMerchantCenterLinkRequest, opts ...grpc.CallOption) (*resources.MerchantCenterLink, error) - // Updates status or removes a Merchant Center link. - MutateMerchantCenterLink(ctx context.Context, in *MutateMerchantCenterLinkRequest, opts ...grpc.CallOption) (*MutateMerchantCenterLinkResponse, error) -} - -type merchantCenterLinkServiceClient struct { - cc *grpc.ClientConn -} - -func NewMerchantCenterLinkServiceClient(cc *grpc.ClientConn) MerchantCenterLinkServiceClient { - return &merchantCenterLinkServiceClient{cc} -} - -func (c *merchantCenterLinkServiceClient) ListMerchantCenterLinks(ctx context.Context, in *ListMerchantCenterLinksRequest, opts ...grpc.CallOption) (*ListMerchantCenterLinksResponse, error) { - out := new(ListMerchantCenterLinksResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.MerchantCenterLinkService/ListMerchantCenterLinks", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *merchantCenterLinkServiceClient) GetMerchantCenterLink(ctx context.Context, in *GetMerchantCenterLinkRequest, opts ...grpc.CallOption) (*resources.MerchantCenterLink, error) { - out := new(resources.MerchantCenterLink) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.MerchantCenterLinkService/GetMerchantCenterLink", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *merchantCenterLinkServiceClient) MutateMerchantCenterLink(ctx context.Context, in *MutateMerchantCenterLinkRequest, opts ...grpc.CallOption) (*MutateMerchantCenterLinkResponse, error) { - out := new(MutateMerchantCenterLinkResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.MerchantCenterLinkService/MutateMerchantCenterLink", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// MerchantCenterLinkServiceServer is the server API for MerchantCenterLinkService service. -type MerchantCenterLinkServiceServer interface { - // Returns Merchant Center links available for this customer. - ListMerchantCenterLinks(context.Context, *ListMerchantCenterLinksRequest) (*ListMerchantCenterLinksResponse, error) - // Returns the Merchant Center link in full detail. - GetMerchantCenterLink(context.Context, *GetMerchantCenterLinkRequest) (*resources.MerchantCenterLink, error) - // Updates status or removes a Merchant Center link. - MutateMerchantCenterLink(context.Context, *MutateMerchantCenterLinkRequest) (*MutateMerchantCenterLinkResponse, error) -} - -// UnimplementedMerchantCenterLinkServiceServer can be embedded to have forward compatible implementations. -type UnimplementedMerchantCenterLinkServiceServer struct { -} - -func (*UnimplementedMerchantCenterLinkServiceServer) ListMerchantCenterLinks(ctx context.Context, req *ListMerchantCenterLinksRequest) (*ListMerchantCenterLinksResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListMerchantCenterLinks not implemented") -} -func (*UnimplementedMerchantCenterLinkServiceServer) GetMerchantCenterLink(ctx context.Context, req *GetMerchantCenterLinkRequest) (*resources.MerchantCenterLink, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetMerchantCenterLink not implemented") -} -func (*UnimplementedMerchantCenterLinkServiceServer) MutateMerchantCenterLink(ctx context.Context, req *MutateMerchantCenterLinkRequest) (*MutateMerchantCenterLinkResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method MutateMerchantCenterLink not implemented") -} - -func RegisterMerchantCenterLinkServiceServer(s *grpc.Server, srv MerchantCenterLinkServiceServer) { - s.RegisterService(&_MerchantCenterLinkService_serviceDesc, srv) -} - -func _MerchantCenterLinkService_ListMerchantCenterLinks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListMerchantCenterLinksRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MerchantCenterLinkServiceServer).ListMerchantCenterLinks(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.MerchantCenterLinkService/ListMerchantCenterLinks", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MerchantCenterLinkServiceServer).ListMerchantCenterLinks(ctx, req.(*ListMerchantCenterLinksRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _MerchantCenterLinkService_GetMerchantCenterLink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetMerchantCenterLinkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MerchantCenterLinkServiceServer).GetMerchantCenterLink(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.MerchantCenterLinkService/GetMerchantCenterLink", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MerchantCenterLinkServiceServer).GetMerchantCenterLink(ctx, req.(*GetMerchantCenterLinkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _MerchantCenterLinkService_MutateMerchantCenterLink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateMerchantCenterLinkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MerchantCenterLinkServiceServer).MutateMerchantCenterLink(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.MerchantCenterLinkService/MutateMerchantCenterLink", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MerchantCenterLinkServiceServer).MutateMerchantCenterLink(ctx, req.(*MutateMerchantCenterLinkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _MerchantCenterLinkService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.MerchantCenterLinkService", - HandlerType: (*MerchantCenterLinkServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListMerchantCenterLinks", - Handler: _MerchantCenterLinkService_ListMerchantCenterLinks_Handler, - }, - { - MethodName: "GetMerchantCenterLink", - Handler: _MerchantCenterLinkService_GetMerchantCenterLink_Handler, - }, - { - MethodName: "MutateMerchantCenterLink", - Handler: _MerchantCenterLinkService_MutateMerchantCenterLink_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/merchant_center_link_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/mobile_app_category_constant_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/mobile_app_category_constant_service.pb.go deleted file mode 100644 index b66510c4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/mobile_app_category_constant_service.pb.go +++ /dev/null @@ -1,189 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/mobile_app_category_constant_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [MobileAppCategoryConstantService.GetMobileAppCategoryConstant][google.ads.googleads.v2.services.MobileAppCategoryConstantService.GetMobileAppCategoryConstant]. -type GetMobileAppCategoryConstantRequest struct { - // Resource name of the mobile app category 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 *GetMobileAppCategoryConstantRequest) Reset() { *m = GetMobileAppCategoryConstantRequest{} } -func (m *GetMobileAppCategoryConstantRequest) String() string { return proto.CompactTextString(m) } -func (*GetMobileAppCategoryConstantRequest) ProtoMessage() {} -func (*GetMobileAppCategoryConstantRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d705bc81423cc8aa, []int{0} -} - -func (m *GetMobileAppCategoryConstantRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetMobileAppCategoryConstantRequest.Unmarshal(m, b) -} -func (m *GetMobileAppCategoryConstantRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetMobileAppCategoryConstantRequest.Marshal(b, m, deterministic) -} -func (m *GetMobileAppCategoryConstantRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetMobileAppCategoryConstantRequest.Merge(m, src) -} -func (m *GetMobileAppCategoryConstantRequest) XXX_Size() int { - return xxx_messageInfo_GetMobileAppCategoryConstantRequest.Size(m) -} -func (m *GetMobileAppCategoryConstantRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetMobileAppCategoryConstantRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetMobileAppCategoryConstantRequest proto.InternalMessageInfo - -func (m *GetMobileAppCategoryConstantRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetMobileAppCategoryConstantRequest)(nil), "google.ads.googleads.v2.services.GetMobileAppCategoryConstantRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/mobile_app_category_constant_service.proto", fileDescriptor_d705bc81423cc8aa) -} - -var fileDescriptor_d705bc81423cc8aa = []byte{ - // 392 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0x3f, 0x4b, 0xf3, 0x40, - 0x1c, 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0xff, - 0xec, 0x28, 0x74, 0xb0, 0x71, 0x03, 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 - -// MobileAppCategoryConstantServiceClient is the client API for MobileAppCategoryConstantService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type MobileAppCategoryConstantServiceClient interface { - // Returns the requested mobile app category constant. - GetMobileAppCategoryConstant(ctx context.Context, in *GetMobileAppCategoryConstantRequest, opts ...grpc.CallOption) (*resources.MobileAppCategoryConstant, error) -} - -type mobileAppCategoryConstantServiceClient struct { - cc *grpc.ClientConn -} - -func NewMobileAppCategoryConstantServiceClient(cc *grpc.ClientConn) MobileAppCategoryConstantServiceClient { - return &mobileAppCategoryConstantServiceClient{cc} -} - -func (c *mobileAppCategoryConstantServiceClient) GetMobileAppCategoryConstant(ctx context.Context, in *GetMobileAppCategoryConstantRequest, opts ...grpc.CallOption) (*resources.MobileAppCategoryConstant, error) { - out := new(resources.MobileAppCategoryConstant) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.MobileAppCategoryConstantService/GetMobileAppCategoryConstant", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// MobileAppCategoryConstantServiceServer is the server API for MobileAppCategoryConstantService service. -type MobileAppCategoryConstantServiceServer interface { - // Returns the requested mobile app category constant. - GetMobileAppCategoryConstant(context.Context, *GetMobileAppCategoryConstantRequest) (*resources.MobileAppCategoryConstant, error) -} - -// UnimplementedMobileAppCategoryConstantServiceServer can be embedded to have forward compatible implementations. -type UnimplementedMobileAppCategoryConstantServiceServer struct { -} - -func (*UnimplementedMobileAppCategoryConstantServiceServer) GetMobileAppCategoryConstant(ctx context.Context, req *GetMobileAppCategoryConstantRequest) (*resources.MobileAppCategoryConstant, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetMobileAppCategoryConstant not implemented") -} - -func RegisterMobileAppCategoryConstantServiceServer(s *grpc.Server, srv MobileAppCategoryConstantServiceServer) { - s.RegisterService(&_MobileAppCategoryConstantService_serviceDesc, srv) -} - -func _MobileAppCategoryConstantService_GetMobileAppCategoryConstant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetMobileAppCategoryConstantRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MobileAppCategoryConstantServiceServer).GetMobileAppCategoryConstant(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.MobileAppCategoryConstantService/GetMobileAppCategoryConstant", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MobileAppCategoryConstantServiceServer).GetMobileAppCategoryConstant(ctx, req.(*GetMobileAppCategoryConstantRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _MobileAppCategoryConstantService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.MobileAppCategoryConstantService", - HandlerType: (*MobileAppCategoryConstantServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetMobileAppCategoryConstant", - Handler: _MobileAppCategoryConstantService_GetMobileAppCategoryConstant_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/mobile_app_category_constant_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/mobile_device_constant_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/mobile_device_constant_service.pb.go deleted file mode 100644 index a1dc59a4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/mobile_device_constant_service.pb.go +++ /dev/null @@ -1,187 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/mobile_device_constant_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [MobileDeviceConstantService.GetMobileDeviceConstant][google.ads.googleads.v2.services.MobileDeviceConstantService.GetMobileDeviceConstant]. -type GetMobileDeviceConstantRequest struct { - // Resource name of the mobile device 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 *GetMobileDeviceConstantRequest) Reset() { *m = GetMobileDeviceConstantRequest{} } -func (m *GetMobileDeviceConstantRequest) String() string { return proto.CompactTextString(m) } -func (*GetMobileDeviceConstantRequest) ProtoMessage() {} -func (*GetMobileDeviceConstantRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_5b671ef47eb7057e, []int{0} -} - -func (m *GetMobileDeviceConstantRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetMobileDeviceConstantRequest.Unmarshal(m, b) -} -func (m *GetMobileDeviceConstantRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetMobileDeviceConstantRequest.Marshal(b, m, deterministic) -} -func (m *GetMobileDeviceConstantRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetMobileDeviceConstantRequest.Merge(m, src) -} -func (m *GetMobileDeviceConstantRequest) XXX_Size() int { - return xxx_messageInfo_GetMobileDeviceConstantRequest.Size(m) -} -func (m *GetMobileDeviceConstantRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetMobileDeviceConstantRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetMobileDeviceConstantRequest proto.InternalMessageInfo - -func (m *GetMobileDeviceConstantRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetMobileDeviceConstantRequest)(nil), "google.ads.googleads.v2.services.GetMobileDeviceConstantRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/mobile_device_constant_service.proto", fileDescriptor_5b671ef47eb7057e) -} - -var fileDescriptor_5b671ef47eb7057e = []byte{ - // 383 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xcb, 0x4a, 0xeb, 0x40, - 0x18, 0x26, 0x39, 0x70, 0xe0, 0x84, 0xe3, 0x26, 0x9b, 0x96, 0x54, 0x24, 0xd4, 0x2e, 0x44, 0x71, - 0x06, 0xd2, 0x85, 0x30, 0xa2, 0x98, 0x6a, 0xa9, 0x1b, 0xa5, 0x54, 0xe8, 0x42, 0x02, 0x61, 0x9a, - 0x0c, 0x21, 0x90, 0xcc, 0xd4, 0xfc, 0x69, 0x37, 0xe2, 0xc6, 0x85, 0x3e, 0x80, 0x6f, 0xe0, 0xd2, - 0x37, 0xb1, 0x5b, 0x5f, 0xc1, 0x95, 0x4f, 0x21, 0xb9, 0x4c, 0xaa, 0xd0, 0xb4, 0xbb, 0x2f, 0xf3, - 0x7f, 0x97, 0xff, 0x12, 0xad, 0x1f, 0x08, 0x11, 0x44, 0x0c, 0x53, 0x1f, 0x70, 0x01, 0x33, 0x34, - 0xb7, 0x30, 0xb0, 0x64, 0x1e, 0x7a, 0x0c, 0x70, 0x2c, 0x26, 0x61, 0xc4, 0x5c, 0x9f, 0x65, 0x9f, - 0xae, 0x27, 0x38,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, 0x88, 0x28, 0x0f, 0x90, 0x48, 0x02, - 0x1c, 0x30, 0x9e, 0x1f, 0x0e, 0x2f, 0x73, 0xeb, 0xff, 0xcd, 0x63, 0x09, 0x5e, 0xd5, 0x3f, 0x03, - 0xdb, 0x7e, 0x53, 0xcd, 0x41, 0x61, 0x68, 0xfb, 0x80, 0x0a, 0x98, 0xa1, 0xb1, 0x85, 0xca, 0x60, - 0x58, 0x48, 0x8a, 0x63, 0xfb, 0xe0, 0x54, 0x14, 0x67, 0x6c, 0x39, 0x92, 0xf2, 0xa5, 0x76, 0x8a, - 0x77, 0x42, 0x6c, 0x1f, 0x08, 0xa9, 0x48, 0x84, 0x8c, 0x2d, 0x42, 0x24, 0x6d, 0xf2, 0x37, 0xef, - 0xb3, 0xfb, 0x1d, 0x00, 0x00, 0xff, 0xff, 0xb2, 0x2e, 0x00, 0xeb, 0x42, 0x03, 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 - -// MobileDeviceConstantServiceClient is the client API for MobileDeviceConstantService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type MobileDeviceConstantServiceClient interface { - // Returns the requested mobile device constant in full detail. - GetMobileDeviceConstant(ctx context.Context, in *GetMobileDeviceConstantRequest, opts ...grpc.CallOption) (*resources.MobileDeviceConstant, error) -} - -type mobileDeviceConstantServiceClient struct { - cc *grpc.ClientConn -} - -func NewMobileDeviceConstantServiceClient(cc *grpc.ClientConn) MobileDeviceConstantServiceClient { - return &mobileDeviceConstantServiceClient{cc} -} - -func (c *mobileDeviceConstantServiceClient) GetMobileDeviceConstant(ctx context.Context, in *GetMobileDeviceConstantRequest, opts ...grpc.CallOption) (*resources.MobileDeviceConstant, error) { - out := new(resources.MobileDeviceConstant) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.MobileDeviceConstantService/GetMobileDeviceConstant", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// MobileDeviceConstantServiceServer is the server API for MobileDeviceConstantService service. -type MobileDeviceConstantServiceServer interface { - // Returns the requested mobile device constant in full detail. - GetMobileDeviceConstant(context.Context, *GetMobileDeviceConstantRequest) (*resources.MobileDeviceConstant, error) -} - -// UnimplementedMobileDeviceConstantServiceServer can be embedded to have forward compatible implementations. -type UnimplementedMobileDeviceConstantServiceServer struct { -} - -func (*UnimplementedMobileDeviceConstantServiceServer) GetMobileDeviceConstant(ctx context.Context, req *GetMobileDeviceConstantRequest) (*resources.MobileDeviceConstant, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetMobileDeviceConstant not implemented") -} - -func RegisterMobileDeviceConstantServiceServer(s *grpc.Server, srv MobileDeviceConstantServiceServer) { - s.RegisterService(&_MobileDeviceConstantService_serviceDesc, srv) -} - -func _MobileDeviceConstantService_GetMobileDeviceConstant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetMobileDeviceConstantRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MobileDeviceConstantServiceServer).GetMobileDeviceConstant(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.MobileDeviceConstantService/GetMobileDeviceConstant", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MobileDeviceConstantServiceServer).GetMobileDeviceConstant(ctx, req.(*GetMobileDeviceConstantRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _MobileDeviceConstantService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.MobileDeviceConstantService", - HandlerType: (*MobileDeviceConstantServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetMobileDeviceConstant", - Handler: _MobileDeviceConstantService_GetMobileDeviceConstant_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/mobile_device_constant_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/mutate_job_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/mutate_job_service.pb.go deleted file mode 100644 index 8c897ac7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/mutate_job_service.pb.go +++ /dev/null @@ -1,817 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/mutate_job_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [MutateJobService.CreateMutateJobRequest][] -type CreateMutateJobRequest struct { - // The ID of the customer for which to create a mutate job. - 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 *CreateMutateJobRequest) Reset() { *m = CreateMutateJobRequest{} } -func (m *CreateMutateJobRequest) String() string { return proto.CompactTextString(m) } -func (*CreateMutateJobRequest) ProtoMessage() {} -func (*CreateMutateJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_af26f119a5b9156e, []int{0} -} - -func (m *CreateMutateJobRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateMutateJobRequest.Unmarshal(m, b) -} -func (m *CreateMutateJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateMutateJobRequest.Marshal(b, m, deterministic) -} -func (m *CreateMutateJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateMutateJobRequest.Merge(m, src) -} -func (m *CreateMutateJobRequest) XXX_Size() int { - return xxx_messageInfo_CreateMutateJobRequest.Size(m) -} -func (m *CreateMutateJobRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateMutateJobRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateMutateJobRequest proto.InternalMessageInfo - -func (m *CreateMutateJobRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -// Response message for [MutateJobService.CreateMutateJobResponse][] -type CreateMutateJobResponse struct { - // The resource name of the MutateJob. - 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 *CreateMutateJobResponse) Reset() { *m = CreateMutateJobResponse{} } -func (m *CreateMutateJobResponse) String() string { return proto.CompactTextString(m) } -func (*CreateMutateJobResponse) ProtoMessage() {} -func (*CreateMutateJobResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_af26f119a5b9156e, []int{1} -} - -func (m *CreateMutateJobResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateMutateJobResponse.Unmarshal(m, b) -} -func (m *CreateMutateJobResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateMutateJobResponse.Marshal(b, m, deterministic) -} -func (m *CreateMutateJobResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateMutateJobResponse.Merge(m, src) -} -func (m *CreateMutateJobResponse) XXX_Size() int { - return xxx_messageInfo_CreateMutateJobResponse.Size(m) -} -func (m *CreateMutateJobResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateMutateJobResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateMutateJobResponse proto.InternalMessageInfo - -func (m *CreateMutateJobResponse) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for [MutateJobService.GetMutateJob][google.ads.googleads.v2.services.MutateJobService.GetMutateJob] -type GetMutateJobRequest struct { - // The resource name of the MutateJob 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 *GetMutateJobRequest) Reset() { *m = GetMutateJobRequest{} } -func (m *GetMutateJobRequest) String() string { return proto.CompactTextString(m) } -func (*GetMutateJobRequest) ProtoMessage() {} -func (*GetMutateJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_af26f119a5b9156e, []int{2} -} - -func (m *GetMutateJobRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetMutateJobRequest.Unmarshal(m, b) -} -func (m *GetMutateJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetMutateJobRequest.Marshal(b, m, deterministic) -} -func (m *GetMutateJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetMutateJobRequest.Merge(m, src) -} -func (m *GetMutateJobRequest) XXX_Size() int { - return xxx_messageInfo_GetMutateJobRequest.Size(m) -} -func (m *GetMutateJobRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetMutateJobRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetMutateJobRequest proto.InternalMessageInfo - -func (m *GetMutateJobRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for [MutateJobService.RunMutateJob][google.ads.googleads.v2.services.MutateJobService.RunMutateJob] -type RunMutateJobRequest struct { - // The resource name of the MutateJob to run. - 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 *RunMutateJobRequest) Reset() { *m = RunMutateJobRequest{} } -func (m *RunMutateJobRequest) String() string { return proto.CompactTextString(m) } -func (*RunMutateJobRequest) ProtoMessage() {} -func (*RunMutateJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_af26f119a5b9156e, []int{3} -} - -func (m *RunMutateJobRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RunMutateJobRequest.Unmarshal(m, b) -} -func (m *RunMutateJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RunMutateJobRequest.Marshal(b, m, deterministic) -} -func (m *RunMutateJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RunMutateJobRequest.Merge(m, src) -} -func (m *RunMutateJobRequest) XXX_Size() int { - return xxx_messageInfo_RunMutateJobRequest.Size(m) -} -func (m *RunMutateJobRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RunMutateJobRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_RunMutateJobRequest proto.InternalMessageInfo - -func (m *RunMutateJobRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for [MutateJobService.AddMutateJobOperations][google.ads.googleads.v2.services.MutateJobService.AddMutateJobOperations] -type AddMutateJobOperationsRequest struct { - // The resource name of the MutateJob. - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // A token used to enforce sequencing. - // - // The first AddMutateJobOperations request for a MutateJob should not set - // sequence_token. Subsequent requests must set sequence_token to the value of - // next_sequence_token received in the previous AddMutateJobOperations - // response. - SequenceToken string `protobuf:"bytes,2,opt,name=sequence_token,json=sequenceToken,proto3" json:"sequence_token,omitempty"` - // The list of mutates being added. - // - // Operations can use negative integers as temp ids to signify dependencies - // between entities created in this MutateJob. For example, a customer with - // id = 1234 can create a campaign and an ad group in that same campaign by - // creating a campaign in the first operation with the resource name - // explicitly set to "customers/1234/campaigns/-1", and creating an ad group - // in the second operation with the campaign field also set to - // "customers/1234/campaigns/-1". - MutateOperations []*MutateOperation `protobuf:"bytes,3,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 *AddMutateJobOperationsRequest) Reset() { *m = AddMutateJobOperationsRequest{} } -func (m *AddMutateJobOperationsRequest) String() string { return proto.CompactTextString(m) } -func (*AddMutateJobOperationsRequest) ProtoMessage() {} -func (*AddMutateJobOperationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_af26f119a5b9156e, []int{4} -} - -func (m *AddMutateJobOperationsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddMutateJobOperationsRequest.Unmarshal(m, b) -} -func (m *AddMutateJobOperationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddMutateJobOperationsRequest.Marshal(b, m, deterministic) -} -func (m *AddMutateJobOperationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddMutateJobOperationsRequest.Merge(m, src) -} -func (m *AddMutateJobOperationsRequest) XXX_Size() int { - return xxx_messageInfo_AddMutateJobOperationsRequest.Size(m) -} -func (m *AddMutateJobOperationsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AddMutateJobOperationsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AddMutateJobOperationsRequest proto.InternalMessageInfo - -func (m *AddMutateJobOperationsRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *AddMutateJobOperationsRequest) GetSequenceToken() string { - if m != nil { - return m.SequenceToken - } - return "" -} - -func (m *AddMutateJobOperationsRequest) GetMutateOperations() []*MutateOperation { - if m != nil { - return m.MutateOperations - } - return nil -} - -// Response message for [MutateJobService.AddMutateJobOperations][google.ads.googleads.v2.services.MutateJobService.AddMutateJobOperations] -type AddMutateJobOperationsResponse struct { - // The total number of operations added so far for this job. - TotalOperations int64 `protobuf:"varint,1,opt,name=total_operations,json=totalOperations,proto3" json:"total_operations,omitempty"` - // The sequence token to be used when calling AddMutateJobOperations again if - // more operations need to be added. The next AddMutateJobOperations request - // must set the sequence_token field to the value of this field. - NextSequenceToken string `protobuf:"bytes,2,opt,name=next_sequence_token,json=nextSequenceToken,proto3" json:"next_sequence_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AddMutateJobOperationsResponse) Reset() { *m = AddMutateJobOperationsResponse{} } -func (m *AddMutateJobOperationsResponse) String() string { return proto.CompactTextString(m) } -func (*AddMutateJobOperationsResponse) ProtoMessage() {} -func (*AddMutateJobOperationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_af26f119a5b9156e, []int{5} -} - -func (m *AddMutateJobOperationsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddMutateJobOperationsResponse.Unmarshal(m, b) -} -func (m *AddMutateJobOperationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddMutateJobOperationsResponse.Marshal(b, m, deterministic) -} -func (m *AddMutateJobOperationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddMutateJobOperationsResponse.Merge(m, src) -} -func (m *AddMutateJobOperationsResponse) XXX_Size() int { - return xxx_messageInfo_AddMutateJobOperationsResponse.Size(m) -} -func (m *AddMutateJobOperationsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AddMutateJobOperationsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AddMutateJobOperationsResponse proto.InternalMessageInfo - -func (m *AddMutateJobOperationsResponse) GetTotalOperations() int64 { - if m != nil { - return m.TotalOperations - } - return 0 -} - -func (m *AddMutateJobOperationsResponse) GetNextSequenceToken() string { - if m != nil { - return m.NextSequenceToken - } - return "" -} - -// Request message for [MutateJobService.ListMutateJobResults][google.ads.googleads.v2.services.MutateJobService.ListMutateJobResults]. -type ListMutateJobResultsRequest struct { - // The resource name of the MutateJob whose results are being listed. - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,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 a page request is too large, 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 *ListMutateJobResultsRequest) Reset() { *m = ListMutateJobResultsRequest{} } -func (m *ListMutateJobResultsRequest) String() string { return proto.CompactTextString(m) } -func (*ListMutateJobResultsRequest) ProtoMessage() {} -func (*ListMutateJobResultsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_af26f119a5b9156e, []int{6} -} - -func (m *ListMutateJobResultsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListMutateJobResultsRequest.Unmarshal(m, b) -} -func (m *ListMutateJobResultsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListMutateJobResultsRequest.Marshal(b, m, deterministic) -} -func (m *ListMutateJobResultsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListMutateJobResultsRequest.Merge(m, src) -} -func (m *ListMutateJobResultsRequest) XXX_Size() int { - return xxx_messageInfo_ListMutateJobResultsRequest.Size(m) -} -func (m *ListMutateJobResultsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListMutateJobResultsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListMutateJobResultsRequest proto.InternalMessageInfo - -func (m *ListMutateJobResultsRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *ListMutateJobResultsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListMutateJobResultsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -// Response message for [MutateJobService.ListMutateJobResults][google.ads.googleads.v2.services.MutateJobService.ListMutateJobResults]. -type ListMutateJobResultsResponse struct { - // The list of rows that matched the query. - Results []*MutateJobResult `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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListMutateJobResultsResponse) Reset() { *m = ListMutateJobResultsResponse{} } -func (m *ListMutateJobResultsResponse) String() string { return proto.CompactTextString(m) } -func (*ListMutateJobResultsResponse) ProtoMessage() {} -func (*ListMutateJobResultsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_af26f119a5b9156e, []int{7} -} - -func (m *ListMutateJobResultsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListMutateJobResultsResponse.Unmarshal(m, b) -} -func (m *ListMutateJobResultsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListMutateJobResultsResponse.Marshal(b, m, deterministic) -} -func (m *ListMutateJobResultsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListMutateJobResultsResponse.Merge(m, src) -} -func (m *ListMutateJobResultsResponse) XXX_Size() int { - return xxx_messageInfo_ListMutateJobResultsResponse.Size(m) -} -func (m *ListMutateJobResultsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListMutateJobResultsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListMutateJobResultsResponse proto.InternalMessageInfo - -func (m *ListMutateJobResultsResponse) GetResults() []*MutateJobResult { - if m != nil { - return m.Results - } - return nil -} - -func (m *ListMutateJobResultsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// MutateJob result. -type MutateJobResult struct { - // Index of the mutate operation. - OperationIndex int64 `protobuf:"varint,1,opt,name=operation_index,json=operationIndex,proto3" json:"operation_index,omitempty"` - // Response for the mutate. - // May be empty if errors occurred. - MutateOperationResponse *MutateOperationResponse `protobuf:"bytes,2,opt,name=mutate_operation_response,json=mutateOperationResponse,proto3" json:"mutate_operation_response,omitempty"` - // Details of the errors when processing the operation. - Status *status.Status `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateJobResult) Reset() { *m = MutateJobResult{} } -func (m *MutateJobResult) String() string { return proto.CompactTextString(m) } -func (*MutateJobResult) ProtoMessage() {} -func (*MutateJobResult) Descriptor() ([]byte, []int) { - return fileDescriptor_af26f119a5b9156e, []int{8} -} - -func (m *MutateJobResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateJobResult.Unmarshal(m, b) -} -func (m *MutateJobResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateJobResult.Marshal(b, m, deterministic) -} -func (m *MutateJobResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateJobResult.Merge(m, src) -} -func (m *MutateJobResult) XXX_Size() int { - return xxx_messageInfo_MutateJobResult.Size(m) -} -func (m *MutateJobResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateJobResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateJobResult proto.InternalMessageInfo - -func (m *MutateJobResult) GetOperationIndex() int64 { - if m != nil { - return m.OperationIndex - } - return 0 -} - -func (m *MutateJobResult) GetMutateOperationResponse() *MutateOperationResponse { - if m != nil { - return m.MutateOperationResponse - } - return nil -} - -func (m *MutateJobResult) GetStatus() *status.Status { - if m != nil { - return m.Status - } - return nil -} - -func init() { - proto.RegisterType((*CreateMutateJobRequest)(nil), "google.ads.googleads.v2.services.CreateMutateJobRequest") - proto.RegisterType((*CreateMutateJobResponse)(nil), "google.ads.googleads.v2.services.CreateMutateJobResponse") - proto.RegisterType((*GetMutateJobRequest)(nil), "google.ads.googleads.v2.services.GetMutateJobRequest") - proto.RegisterType((*RunMutateJobRequest)(nil), "google.ads.googleads.v2.services.RunMutateJobRequest") - proto.RegisterType((*AddMutateJobOperationsRequest)(nil), "google.ads.googleads.v2.services.AddMutateJobOperationsRequest") - proto.RegisterType((*AddMutateJobOperationsResponse)(nil), "google.ads.googleads.v2.services.AddMutateJobOperationsResponse") - proto.RegisterType((*ListMutateJobResultsRequest)(nil), "google.ads.googleads.v2.services.ListMutateJobResultsRequest") - proto.RegisterType((*ListMutateJobResultsResponse)(nil), "google.ads.googleads.v2.services.ListMutateJobResultsResponse") - proto.RegisterType((*MutateJobResult)(nil), "google.ads.googleads.v2.services.MutateJobResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/mutate_job_service.proto", fileDescriptor_af26f119a5b9156e) -} - -var fileDescriptor_af26f119a5b9156e = []byte{ - // 914 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x4f, 0x6f, 0xdc, 0x44, - 0x14, 0xd7, 0xec, 0x8a, 0xd2, 0xbe, 0x24, 0xdd, 0x74, 0x4a, 0x9b, 0xc5, 0x69, 0x60, 0xe5, 0x16, - 0x08, 0x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 0xe1, 0xc3, 0x66, 0xdc, 0x5d, 0x3c, 0x80, 0xea, - 0xee, 0xfd, 0x52, 0xda, 0x1d, 0xd3, 0x9d, 0x4b, 0x1a, 0x09, 0xc3, 0x61, 0x2c, 0x17, 0x75, 0x8d, - 0xf5, 0xe3, 0x5e, 0x7b, 0x98, 0x5f, 0x9d, 0xd2, 0x58, 0x58, 0x01, 0x4f, 0xee, 0xfd, 0x87, 0xe0, - 0x5a, 0xc0, 0x93, 0x99, 0x5c, 0xef, 0x5d, 0x9a, 0xdc, 0x42, 0xbb, 0x45, 0x13, 0x77, 0xd1, 0x97, - 0x1f, 0x2b, 0xd7, 0x88, 0x0f, 0x08, 0x8b, 0x2c, 0x9e, 0x45, 0x76, 0x44, 0x59, 0xd9, 0x62, 0x7b, - 0x98, 0xec, 0xf4, 0x3f, 0x69, 0x1f, 0xea, 0xc3, 0xcf, 0x8d, 0xe6, 0x4e, 0xaf, 0xf7, 0x6b, 0xa3, - 0xb3, 0x53, 0x05, 0xec, 0x85, 0xc2, 0xaa, 0x8e, 0xc5, 0x69, 0xdf, 0xb1, 0x54, 0x62, 0x71, 0xac, - 0x4d, 0x0e, 0x7a, 0xa1, 0x38, 0xa8, 0x4d, 0x0e, 0xf6, 0x9d, 0x03, 0x6d, 0xf2, 0x4f, 0xe3, 0x5a, - 0x85, 0xbb, 0x6e, 0x2f, 0x14, 0xae, 0x5b, 0x1b, 0xb9, 0xee, 0xbe, 0xe3, 0xba, 0xda, 0xac, 0x7f, - 0xa6, 0xe4, 0xf9, 0xc1, 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, 0x8f, 0x67, 0x76, 0xd3, 0xdc, 0x0a, - 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 - -// MutateJobServiceClient is the client API for MutateJobService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type MutateJobServiceClient interface { - // Creates a mutate job. - CreateMutateJob(ctx context.Context, in *CreateMutateJobRequest, opts ...grpc.CallOption) (*CreateMutateJobResponse, error) - // Returns the mutate job. - GetMutateJob(ctx context.Context, in *GetMutateJobRequest, opts ...grpc.CallOption) (*resources.MutateJob, error) - // Returns the results of the mutate job. The job must be done. - // Supports standard list paging. - ListMutateJobResults(ctx context.Context, in *ListMutateJobResultsRequest, opts ...grpc.CallOption) (*ListMutateJobResultsResponse, error) - // Runs the mutate job. - // - // The Operation.metadata field type is MutateJobMetadata. When finished, the - // long running operation will not contain errors or a response. Instead, use - // ListMutateJobResults to get the results of the job. - RunMutateJob(ctx context.Context, in *RunMutateJobRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Add operations to the mutate job. - AddMutateJobOperations(ctx context.Context, in *AddMutateJobOperationsRequest, opts ...grpc.CallOption) (*AddMutateJobOperationsResponse, error) -} - -type mutateJobServiceClient struct { - cc *grpc.ClientConn -} - -func NewMutateJobServiceClient(cc *grpc.ClientConn) MutateJobServiceClient { - return &mutateJobServiceClient{cc} -} - -func (c *mutateJobServiceClient) CreateMutateJob(ctx context.Context, in *CreateMutateJobRequest, opts ...grpc.CallOption) (*CreateMutateJobResponse, error) { - out := new(CreateMutateJobResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.MutateJobService/CreateMutateJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *mutateJobServiceClient) GetMutateJob(ctx context.Context, in *GetMutateJobRequest, opts ...grpc.CallOption) (*resources.MutateJob, error) { - out := new(resources.MutateJob) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.MutateJobService/GetMutateJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *mutateJobServiceClient) ListMutateJobResults(ctx context.Context, in *ListMutateJobResultsRequest, opts ...grpc.CallOption) (*ListMutateJobResultsResponse, error) { - out := new(ListMutateJobResultsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.MutateJobService/ListMutateJobResults", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *mutateJobServiceClient) RunMutateJob(ctx context.Context, in *RunMutateJobRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.MutateJobService/RunMutateJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *mutateJobServiceClient) AddMutateJobOperations(ctx context.Context, in *AddMutateJobOperationsRequest, opts ...grpc.CallOption) (*AddMutateJobOperationsResponse, error) { - out := new(AddMutateJobOperationsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.MutateJobService/AddMutateJobOperations", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// MutateJobServiceServer is the server API for MutateJobService service. -type MutateJobServiceServer interface { - // Creates a mutate job. - CreateMutateJob(context.Context, *CreateMutateJobRequest) (*CreateMutateJobResponse, error) - // Returns the mutate job. - GetMutateJob(context.Context, *GetMutateJobRequest) (*resources.MutateJob, error) - // Returns the results of the mutate job. The job must be done. - // Supports standard list paging. - ListMutateJobResults(context.Context, *ListMutateJobResultsRequest) (*ListMutateJobResultsResponse, error) - // Runs the mutate job. - // - // The Operation.metadata field type is MutateJobMetadata. When finished, the - // long running operation will not contain errors or a response. Instead, use - // ListMutateJobResults to get the results of the job. - RunMutateJob(context.Context, *RunMutateJobRequest) (*longrunning.Operation, error) - // Add operations to the mutate job. - AddMutateJobOperations(context.Context, *AddMutateJobOperationsRequest) (*AddMutateJobOperationsResponse, error) -} - -// UnimplementedMutateJobServiceServer can be embedded to have forward compatible implementations. -type UnimplementedMutateJobServiceServer struct { -} - -func (*UnimplementedMutateJobServiceServer) CreateMutateJob(ctx context.Context, req *CreateMutateJobRequest) (*CreateMutateJobResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method CreateMutateJob not implemented") -} -func (*UnimplementedMutateJobServiceServer) GetMutateJob(ctx context.Context, req *GetMutateJobRequest) (*resources.MutateJob, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetMutateJob not implemented") -} -func (*UnimplementedMutateJobServiceServer) ListMutateJobResults(ctx context.Context, req *ListMutateJobResultsRequest) (*ListMutateJobResultsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListMutateJobResults not implemented") -} -func (*UnimplementedMutateJobServiceServer) RunMutateJob(ctx context.Context, req *RunMutateJobRequest) (*longrunning.Operation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method RunMutateJob not implemented") -} -func (*UnimplementedMutateJobServiceServer) AddMutateJobOperations(ctx context.Context, req *AddMutateJobOperationsRequest) (*AddMutateJobOperationsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method AddMutateJobOperations not implemented") -} - -func RegisterMutateJobServiceServer(s *grpc.Server, srv MutateJobServiceServer) { - s.RegisterService(&_MutateJobService_serviceDesc, srv) -} - -func _MutateJobService_CreateMutateJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateMutateJobRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MutateJobServiceServer).CreateMutateJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.MutateJobService/CreateMutateJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MutateJobServiceServer).CreateMutateJob(ctx, req.(*CreateMutateJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _MutateJobService_GetMutateJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetMutateJobRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MutateJobServiceServer).GetMutateJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.MutateJobService/GetMutateJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MutateJobServiceServer).GetMutateJob(ctx, req.(*GetMutateJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _MutateJobService_ListMutateJobResults_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListMutateJobResultsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MutateJobServiceServer).ListMutateJobResults(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.MutateJobService/ListMutateJobResults", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MutateJobServiceServer).ListMutateJobResults(ctx, req.(*ListMutateJobResultsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _MutateJobService_RunMutateJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RunMutateJobRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MutateJobServiceServer).RunMutateJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.MutateJobService/RunMutateJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MutateJobServiceServer).RunMutateJob(ctx, req.(*RunMutateJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _MutateJobService_AddMutateJobOperations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddMutateJobOperationsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MutateJobServiceServer).AddMutateJobOperations(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.MutateJobService/AddMutateJobOperations", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MutateJobServiceServer).AddMutateJobOperations(ctx, req.(*AddMutateJobOperationsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _MutateJobService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.MutateJobService", - HandlerType: (*MutateJobServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateMutateJob", - Handler: _MutateJobService_CreateMutateJob_Handler, - }, - { - MethodName: "GetMutateJob", - Handler: _MutateJobService_GetMutateJob_Handler, - }, - { - MethodName: "ListMutateJobResults", - Handler: _MutateJobService_ListMutateJobResults_Handler, - }, - { - MethodName: "RunMutateJob", - Handler: _MutateJobService_RunMutateJob_Handler, - }, - { - MethodName: "AddMutateJobOperations", - Handler: _MutateJobService_AddMutateJobOperations_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/mutate_job_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/operating_system_version_constant_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/operating_system_version_constant_service.pb.go deleted file mode 100644 index 4e5a5e4f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/operating_system_version_constant_service.pb.go +++ /dev/null @@ -1,192 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/operating_system_version_constant_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [OperatingSystemVersionConstantService.GetOperatingSystemVersionConstant][google.ads.googleads.v2.services.OperatingSystemVersionConstantService.GetOperatingSystemVersionConstant]. -type GetOperatingSystemVersionConstantRequest struct { - // Resource name of the OS version 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 *GetOperatingSystemVersionConstantRequest) Reset() { - *m = GetOperatingSystemVersionConstantRequest{} -} -func (m *GetOperatingSystemVersionConstantRequest) String() string { return proto.CompactTextString(m) } -func (*GetOperatingSystemVersionConstantRequest) ProtoMessage() {} -func (*GetOperatingSystemVersionConstantRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02bc5000ca7d978c, []int{0} -} - -func (m *GetOperatingSystemVersionConstantRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetOperatingSystemVersionConstantRequest.Unmarshal(m, b) -} -func (m *GetOperatingSystemVersionConstantRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetOperatingSystemVersionConstantRequest.Marshal(b, m, deterministic) -} -func (m *GetOperatingSystemVersionConstantRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetOperatingSystemVersionConstantRequest.Merge(m, src) -} -func (m *GetOperatingSystemVersionConstantRequest) XXX_Size() int { - return xxx_messageInfo_GetOperatingSystemVersionConstantRequest.Size(m) -} -func (m *GetOperatingSystemVersionConstantRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetOperatingSystemVersionConstantRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetOperatingSystemVersionConstantRequest proto.InternalMessageInfo - -func (m *GetOperatingSystemVersionConstantRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetOperatingSystemVersionConstantRequest)(nil), "google.ads.googleads.v2.services.GetOperatingSystemVersionConstantRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/operating_system_version_constant_service.proto", fileDescriptor_02bc5000ca7d978c) -} - -var fileDescriptor_02bc5000ca7d978c = []byte{ - // 401 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xbf, 0x6a, 0xdb, 0x40, - 0x1c, 0xc7, 0x91, 0x0a, 0x85, 0x8a, 0x76, 0xd1, 0x52, 0xa3, 0x76, 0x70, 0x5d, 0x17, 0x8c, 0x87, - 0x3b, 0x50, 0x29, 0x85, 0x0b, 0x1e, 0xe4, 0x0c, 0x4e, 0x32, 0xc4, 0xc6, 0x06, 0x0d, 0x41, 0x20, - 0x2e, 0xd2, 0x21, 0x04, 0xd6, 0x9d, 0xa2, 0xdf, 0x59, 0x10, 0x42, 0x96, 0xbc, 0x41, 0xc8, 0x1b, - 0x64, 0xcc, 0x13, 0xe4, 0x19, 0xbc, 0xe6, 0x15, 0x32, 0x65, 0xcb, 0x1b, 0x04, 0xf9, 0x74, 0x72, - 0x32, 0xf8, 0xcf, 0xf6, 0xe5, 0xee, 0x7b, 0xdf, 0xcf, 0xef, 0xcf, 0x59, 0x93, 0x44, 0x88, 0x64, - 0xce, 0x30, 0x8d, 0x01, 0x2b, 0x59, 0xa9, 0xd2, 0xc5, 0xc0, 0x8a, 0x32, 0x8d, 0x18, 0x60, 0x91, - 0xb3, 0x82, 0xca, 0x94, 0x27, 0x21, 0x5c, 0x82, 0x64, 0x59, 0x58, 0xb2, 0x02, 0x52, 0xc1, 0xc3, - 0x48, 0x70, 0x90, 0x94, 0xcb, 0xb0, 0xb6, 0xa2, 0xbc, 0x10, 0x52, 0xd8, 0x6d, 0x15, 0x83, 0x68, - 0x0c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 0x8f, 0xd7, 0x15, 0x6c, 0xfe, 0xf7, 0x07, 0x5a, 0xdc, 0x9b, - 0x9f, 0x46, 0x9e, 0xf7, 0x60, 0xb6, 0x47, 0x2a, 0xd0, 0x8b, 0x01, 0x29, 0x59, 0x29, 0xdf, 0x45, - 0x35, 0x18, 0x96, 0xda, 0x12, 0x78, 0x31, 0x04, 0x8d, 0x25, 0xf0, 0xdd, 0x40, 0x5b, 0x5e, 0xcc, - 0xae, 0x3a, 0x27, 0xc4, 0x8b, 0x81, 0x90, 0xc6, 0x44, 0x88, 0xef, 0x12, 0xa2, 0x6d, 0xe7, 0x9f, - 0x57, 0x75, 0xfe, 0x7d, 0x0b, 0x00, 0x00, 0xff, 0xff, 0xec, 0x57, 0x60, 0xed, 0x9e, 0x03, 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 - -// OperatingSystemVersionConstantServiceClient is the client API for OperatingSystemVersionConstantService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type OperatingSystemVersionConstantServiceClient interface { - // Returns the requested OS version constant in full detail. - GetOperatingSystemVersionConstant(ctx context.Context, in *GetOperatingSystemVersionConstantRequest, opts ...grpc.CallOption) (*resources.OperatingSystemVersionConstant, error) -} - -type operatingSystemVersionConstantServiceClient struct { - cc *grpc.ClientConn -} - -func NewOperatingSystemVersionConstantServiceClient(cc *grpc.ClientConn) OperatingSystemVersionConstantServiceClient { - return &operatingSystemVersionConstantServiceClient{cc} -} - -func (c *operatingSystemVersionConstantServiceClient) GetOperatingSystemVersionConstant(ctx context.Context, in *GetOperatingSystemVersionConstantRequest, opts ...grpc.CallOption) (*resources.OperatingSystemVersionConstant, error) { - out := new(resources.OperatingSystemVersionConstant) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.OperatingSystemVersionConstantService/GetOperatingSystemVersionConstant", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// OperatingSystemVersionConstantServiceServer is the server API for OperatingSystemVersionConstantService service. -type OperatingSystemVersionConstantServiceServer interface { - // Returns the requested OS version constant in full detail. - GetOperatingSystemVersionConstant(context.Context, *GetOperatingSystemVersionConstantRequest) (*resources.OperatingSystemVersionConstant, error) -} - -// UnimplementedOperatingSystemVersionConstantServiceServer can be embedded to have forward compatible implementations. -type UnimplementedOperatingSystemVersionConstantServiceServer struct { -} - -func (*UnimplementedOperatingSystemVersionConstantServiceServer) GetOperatingSystemVersionConstant(ctx context.Context, req *GetOperatingSystemVersionConstantRequest) (*resources.OperatingSystemVersionConstant, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetOperatingSystemVersionConstant not implemented") -} - -func RegisterOperatingSystemVersionConstantServiceServer(s *grpc.Server, srv OperatingSystemVersionConstantServiceServer) { - s.RegisterService(&_OperatingSystemVersionConstantService_serviceDesc, srv) -} - -func _OperatingSystemVersionConstantService_GetOperatingSystemVersionConstant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetOperatingSystemVersionConstantRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OperatingSystemVersionConstantServiceServer).GetOperatingSystemVersionConstant(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.OperatingSystemVersionConstantService/GetOperatingSystemVersionConstant", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OperatingSystemVersionConstantServiceServer).GetOperatingSystemVersionConstant(ctx, req.(*GetOperatingSystemVersionConstantRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _OperatingSystemVersionConstantService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.OperatingSystemVersionConstantService", - HandlerType: (*OperatingSystemVersionConstantServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetOperatingSystemVersionConstant", - Handler: _OperatingSystemVersionConstantService_GetOperatingSystemVersionConstant_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/operating_system_version_constant_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/paid_organic_search_term_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/paid_organic_search_term_view_service.pb.go deleted file mode 100644 index c35a8f46..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/paid_organic_search_term_view_service.pb.go +++ /dev/null @@ -1,190 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/paid_organic_search_term_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [PaidOrganicSearchTermViewService.GetPaidOrganicSearchTermView][google.ads.googleads.v2.services.PaidOrganicSearchTermViewService.GetPaidOrganicSearchTermView]. -type GetPaidOrganicSearchTermViewRequest struct { - // The resource name of the paid organic 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 *GetPaidOrganicSearchTermViewRequest) Reset() { *m = GetPaidOrganicSearchTermViewRequest{} } -func (m *GetPaidOrganicSearchTermViewRequest) String() string { return proto.CompactTextString(m) } -func (*GetPaidOrganicSearchTermViewRequest) ProtoMessage() {} -func (*GetPaidOrganicSearchTermViewRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0056f29523bf8aaf, []int{0} -} - -func (m *GetPaidOrganicSearchTermViewRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetPaidOrganicSearchTermViewRequest.Unmarshal(m, b) -} -func (m *GetPaidOrganicSearchTermViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetPaidOrganicSearchTermViewRequest.Marshal(b, m, deterministic) -} -func (m *GetPaidOrganicSearchTermViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetPaidOrganicSearchTermViewRequest.Merge(m, src) -} -func (m *GetPaidOrganicSearchTermViewRequest) XXX_Size() int { - return xxx_messageInfo_GetPaidOrganicSearchTermViewRequest.Size(m) -} -func (m *GetPaidOrganicSearchTermViewRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetPaidOrganicSearchTermViewRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetPaidOrganicSearchTermViewRequest proto.InternalMessageInfo - -func (m *GetPaidOrganicSearchTermViewRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetPaidOrganicSearchTermViewRequest)(nil), "google.ads.googleads.v2.services.GetPaidOrganicSearchTermViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/paid_organic_search_term_view_service.proto", fileDescriptor_0056f29523bf8aaf) -} - -var fileDescriptor_0056f29523bf8aaf = []byte{ - // 407 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xbf, 0x8a, 0xd5, 0x40, - 0x14, 0xc6, 0x49, 0x04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0x89, 0xb1, - 0x2c, 0x61, 0xcc, 0xd9, 0x5e, 0x5f, 0x1f, 0xfa, 0xbc, 0xff, 0x2b, 0x00, 0x00, 0xff, 0xff, 0xd6, - 0x56, 0x1b, 0xa9, 0x7f, 0x03, 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 - -// PaidOrganicSearchTermViewServiceClient is the client API for PaidOrganicSearchTermViewService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type PaidOrganicSearchTermViewServiceClient interface { - // Returns the requested paid organic search term view in full detail. - GetPaidOrganicSearchTermView(ctx context.Context, in *GetPaidOrganicSearchTermViewRequest, opts ...grpc.CallOption) (*resources.PaidOrganicSearchTermView, error) -} - -type paidOrganicSearchTermViewServiceClient struct { - cc *grpc.ClientConn -} - -func NewPaidOrganicSearchTermViewServiceClient(cc *grpc.ClientConn) PaidOrganicSearchTermViewServiceClient { - return &paidOrganicSearchTermViewServiceClient{cc} -} - -func (c *paidOrganicSearchTermViewServiceClient) GetPaidOrganicSearchTermView(ctx context.Context, in *GetPaidOrganicSearchTermViewRequest, opts ...grpc.CallOption) (*resources.PaidOrganicSearchTermView, error) { - out := new(resources.PaidOrganicSearchTermView) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.PaidOrganicSearchTermViewService/GetPaidOrganicSearchTermView", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// PaidOrganicSearchTermViewServiceServer is the server API for PaidOrganicSearchTermViewService service. -type PaidOrganicSearchTermViewServiceServer interface { - // Returns the requested paid organic search term view in full detail. - GetPaidOrganicSearchTermView(context.Context, *GetPaidOrganicSearchTermViewRequest) (*resources.PaidOrganicSearchTermView, error) -} - -// UnimplementedPaidOrganicSearchTermViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedPaidOrganicSearchTermViewServiceServer struct { -} - -func (*UnimplementedPaidOrganicSearchTermViewServiceServer) GetPaidOrganicSearchTermView(ctx context.Context, req *GetPaidOrganicSearchTermViewRequest) (*resources.PaidOrganicSearchTermView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetPaidOrganicSearchTermView not implemented") -} - -func RegisterPaidOrganicSearchTermViewServiceServer(s *grpc.Server, srv PaidOrganicSearchTermViewServiceServer) { - s.RegisterService(&_PaidOrganicSearchTermViewService_serviceDesc, srv) -} - -func _PaidOrganicSearchTermViewService_GetPaidOrganicSearchTermView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetPaidOrganicSearchTermViewRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PaidOrganicSearchTermViewServiceServer).GetPaidOrganicSearchTermView(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.PaidOrganicSearchTermViewService/GetPaidOrganicSearchTermView", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PaidOrganicSearchTermViewServiceServer).GetPaidOrganicSearchTermView(ctx, req.(*GetPaidOrganicSearchTermViewRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _PaidOrganicSearchTermViewService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.PaidOrganicSearchTermViewService", - HandlerType: (*PaidOrganicSearchTermViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetPaidOrganicSearchTermView", - Handler: _PaidOrganicSearchTermViewService_GetPaidOrganicSearchTermView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/paid_organic_search_term_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/parental_status_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/parental_status_view_service.pb.go deleted file mode 100644 index 0f8ad881..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/parental_status_view_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/parental_status_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [ParentalStatusViewService.GetParentalStatusView][google.ads.googleads.v2.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_3677998f9a8d2f2f, []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 (m *GetParentalStatusViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetParentalStatusViewRequest.Merge(m, 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.v2.services.GetParentalStatusViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/parental_status_view_service.proto", fileDescriptor_3677998f9a8d2f2f) -} - -var fileDescriptor_3677998f9a8d2f2f = []byte{ - // 396 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xcf, 0x8a, 0xd3, 0x40, - 0x18, 0x27, 0x11, 0x04, 0x83, 0x5e, 0x02, 0x62, 0x8d, 0x45, 0x4a, 0xed, 0x41, 0x7a, 0x98, 0x81, - 0x48, 0x11, 0x46, 0x2b, 0xa4, 0x3d, 0xd4, 0x93, 0x94, 0x16, 0x72, 0x90, 0x40, 0x18, 0x93, 0x21, - 0x04, 0x92, 0x99, 0x98, 0x6f, 0x92, 0x1e, 0xc4, 0x8b, 0x20, 0x78, 0xf7, 0x0d, 0x3c, 0xfa, 0x28, - 0x85, 0x3d, 0xed, 0x2b, 0xec, 0x69, 0x9f, 0x62, 0x49, 0x27, 0x93, 0xee, 0xd2, 0xcd, 0xf6, 0xf6, - 0x63, 0xbe, 0xdf, 0x9f, 0xf9, 0x7e, 0x33, 0xd6, 0x32, 0x11, 0x22, 0xc9, 0x18, 0xa6,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 0xd5, 0xde, 0x1b, 0x1c, 0xc3, 0x5a, 0x54, 0xa4, 0x80, 0x22, 0x91, 0x2f, - 0x7e, 0x9b, 0xd6, 0x24, 0x12, 0xf9, 0xd9, 0xc5, 0x16, 0xaf, 0x7b, 0x0b, 0x5b, 0x37, 0x0f, 0xb3, - 0x36, 0xbe, 0x7e, 0x6e, 0x3d, 0x12, 0x91, 0x51, 0x9e, 0x20, 0x51, 0x26, 0x38, 0x61, 0xfc, 0xf0, - 0x6c, 0xf8, 0x98, 0xda, 0xff, 0x2b, 0x3f, 0x68, 0xf0, 0xcf, 0x7c, 0xb4, 0xf2, 0xbc, 0xff, 0xe6, - 0x68, 0xa5, 0x0c, 0xbd, 0x18, 0x90, 0x82, 0x0d, 0xf2, 0x5d, 0xd4, 0x06, 0xc3, 0x5e, 0x53, 0x02, - 0x2f, 0x86, 0xa0, 0xa3, 0x04, 0xbe, 0x1b, 0x68, 0xca, 0xb5, 0x39, 0x51, 0xe7, 0x84, 0x78, 0x31, - 0x10, 0xd2, 0x91, 0x08, 0xf1, 0x5d, 0x42, 0x34, 0xed, 0xdb, 0xe3, 0xc3, 0x3d, 0xdf, 0xdd, 0x04, - 0x00, 0x00, 0xff, 0xff, 0x3e, 0x4b, 0x00, 0xae, 0x3c, 0x03, 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 - -// 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.v2.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) -} - -// UnimplementedParentalStatusViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedParentalStatusViewServiceServer struct { -} - -func (*UnimplementedParentalStatusViewServiceServer) GetParentalStatusView(ctx context.Context, req *GetParentalStatusViewRequest) (*resources.ParentalStatusView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetParentalStatusView not implemented") -} - -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.v2.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.v2.services.ParentalStatusViewService", - HandlerType: (*ParentalStatusViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetParentalStatusView", - Handler: _ParentalStatusViewService_GetParentalStatusView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/parental_status_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/payments_account_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/payments_account_service.pb.go deleted file mode 100644 index f2dc788b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/payments_account_service.pb.go +++ /dev/null @@ -1,236 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/payments_account_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // 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_5f39f8a725594994, []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 (m *ListPaymentsAccountsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListPaymentsAccountsRequest.Merge(m, 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.v2.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_5f39f8a725594994, []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 (m *ListPaymentsAccountsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListPaymentsAccountsResponse.Merge(m, 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.v2.services.ListPaymentsAccountsRequest") - proto.RegisterType((*ListPaymentsAccountsResponse)(nil), "google.ads.googleads.v2.services.ListPaymentsAccountsResponse") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/payments_account_service.proto", fileDescriptor_5f39f8a725594994) -} - -var fileDescriptor_5f39f8a725594994 = []byte{ - // 417 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x53, 0xcd, 0xaa, 0xd3, 0x40, - 0x14, 0x26, 0xb9, 0x20, 0x38, 0x77, 0xa3, 0x41, 0xb4, 0xa4, 0x17, 0x0c, 0xa5, 0x8b, 0xe2, 0x62, - 0x46, 0x46, 0x10, 0x19, 0x69, 0x25, 0xdd, 0x54, 0xc1, 0x45, 0xa9, 0xd0, 0x85, 0x04, 0x42, 0x4c, - 0x86, 0x10, 0x68, 0x66, 0x62, 0xce, 0xa4, 0x20, 0x22, 0x42, 0xc1, 0x27, 0xf0, 0x0d, 0x5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e, 0x76, 0x58, 0xef, 0x74, 0x9b, 0xce, 0x2f, 0x0b, 0x3d, 0xe8, - 0x5b, 0xce, 0x99, 0xe2, 0x4b, 0x17, 0x81, 0xff, 0x53, 0x8a, 0x3b, 0xbb, 0xad, 0x5c, 0x77, 0x32, - 0x7a, 0xbe, 0xfb, 0xfd, 0xe7, 0xbb, 0xfd, 0xd4, 0xc1, 0xf5, 0xc5, 0x9a, 0x2e, 0x81, 0x7c, 0x3e, - 0x69, 0x7a, 0xfa, 0xe4, 0x0b, 0xe9, 0x1e, 0xd5, 0x1d, 0xee, 0xfd, 0xc1, 0x31, 0xae, 0x41, 0x45, - 0x06, 0x38, 0x96, 0xf9, 0x7c, 0x67, 0xa3, 0x71, 0x2c, 0xf3, 0x8b, 0xab, 0xcd, 0x87, 0xfd, 0x6d, - 0x2d, 0xeb, 0xe7, 0xb0, 0xb4, 0xde, 0xbf, 0x6e, 0x0c, 0x52, 0xb9, 0x89, 0x44, 0x8a, 0x65, 0x99, - 0x92, 0x94, 0x8b, 0xc3, 0x63, 0x21, 0xc7, 0xc8, 0xf3, 0xff, 0xc0, 0x4b, 0x03, 0x7e, 0xd8, 0x57, - 0x0b, 0xdf, 0xff, 0x69, 0x7b, 0x0b, 0x6d, 0xe8, 0x27, 0x80, 0x35, 0xac, 0xd1, 0x9a, 0xe2, 0x26, - 0x18, 0xf6, 0x86, 0x12, 0xf8, 0x09, 0x04, 0x2d, 0x25, 0x58, 0xd3, 0xc0, 0x50, 0xfe, 0xda, 0x63, - 0xfd, 0x9d, 0x31, 0x3f, 0x01, 0xc6, 0x5a, 0x12, 0x63, 0x6b, 0xca, 0x98, 0xa1, 0x7d, 0xb8, 0x73, - 0xd8, 0xf3, 0xd9, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x02, 0xd1, 0xc1, 0x47, 0xaa, 0x03, 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 - -// 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.v2.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) -} - -// UnimplementedPaymentsAccountServiceServer can be embedded to have forward compatible implementations. -type UnimplementedPaymentsAccountServiceServer struct { -} - -func (*UnimplementedPaymentsAccountServiceServer) ListPaymentsAccounts(ctx context.Context, req *ListPaymentsAccountsRequest) (*ListPaymentsAccountsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListPaymentsAccounts not implemented") -} - -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.v2.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.v2.services.PaymentsAccountService", - HandlerType: (*PaymentsAccountServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListPaymentsAccounts", - Handler: _PaymentsAccountService_ListPaymentsAccounts_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/payments_account_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/product_bidding_category_constant_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/product_bidding_category_constant_service.pb.go deleted file mode 100644 index 83f155d9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/product_bidding_category_constant_service.pb.go +++ /dev/null @@ -1,192 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/product_bidding_category_constant_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [ProductBiddingCategoryService.GetProductBiddingCategory][]. -type GetProductBiddingCategoryConstantRequest struct { - // Resource name of the Product Bidding Category 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 *GetProductBiddingCategoryConstantRequest) Reset() { - *m = GetProductBiddingCategoryConstantRequest{} -} -func (m *GetProductBiddingCategoryConstantRequest) String() string { return proto.CompactTextString(m) } -func (*GetProductBiddingCategoryConstantRequest) ProtoMessage() {} -func (*GetProductBiddingCategoryConstantRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8d5e5b75993b3b91, []int{0} -} - -func (m *GetProductBiddingCategoryConstantRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetProductBiddingCategoryConstantRequest.Unmarshal(m, b) -} -func (m *GetProductBiddingCategoryConstantRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetProductBiddingCategoryConstantRequest.Marshal(b, m, deterministic) -} -func (m *GetProductBiddingCategoryConstantRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetProductBiddingCategoryConstantRequest.Merge(m, src) -} -func (m *GetProductBiddingCategoryConstantRequest) XXX_Size() int { - return xxx_messageInfo_GetProductBiddingCategoryConstantRequest.Size(m) -} -func (m *GetProductBiddingCategoryConstantRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetProductBiddingCategoryConstantRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetProductBiddingCategoryConstantRequest proto.InternalMessageInfo - -func (m *GetProductBiddingCategoryConstantRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetProductBiddingCategoryConstantRequest)(nil), "google.ads.googleads.v2.services.GetProductBiddingCategoryConstantRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/product_bidding_category_constant_service.proto", fileDescriptor_8d5e5b75993b3b91) -} - -var fileDescriptor_8d5e5b75993b3b91 = []byte{ - // 401 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xbf, 0x6a, 0xe3, 0x30, - 0x1c, 0xc7, 0xb1, 0x0f, 0x0e, 0xce, 0xdc, 0x2d, 0x5e, 0x2e, 0xf8, 0x6e, 0xc8, 0xe5, 0x52, 0x08, - 0x19, 0x24, 0x70, 0x29, 0x05, 0x95, 0x0c, 0x4e, 0x86, 0xb4, 0x1d, 0x5a, 0x93, 0x42, 0x86, 0x62, - 0x30, 0x8a, 0x25, 0x84, 0x21, 0x96, 0x5c, 0x4b, 0x09, 0x94, 0xd2, 0xa5, 0x6f, 0x50, 0xfa, 0x06, - 0x1d, 0xfb, 0x04, 0x7d, 0x86, 0xac, 0x7d, 0x85, 0x4e, 0xdd, 0xfa, 0x06, 0xc5, 0x91, 0xe5, 0xb4, - 0x43, 0xfe, 0x6c, 0x5f, 0xa4, 0xaf, 0xbe, 0x9f, 0xdf, 0x1f, 0x39, 0x21, 0x13, 0x82, 0x4d, 0x29, - 0xc4, 0x44, 0x42, 0x2d, 0x4b, 0x35, 0xf7, 0xa1, 0xa4, 0xc5, 0x3c, 0x4d, 0xa8, 0x84, 0x79, 0x21, - 0xc8, 0x2c, 0x51, 0xf1, 0x24, 0x25, 0x24, 0xe5, 0x2c, 0x4e, 0xb0, 0xa2, 0x4c, 0x14, 0xd7, 0x71, - 0x22, 0xb8, 0x54, 0x98, 0xab, 0xb8, 0xb2, 0x82, 0xbc, 0x10, 0x4a, 0xb8, 0x4d, 0x1d, 0x03, 0x30, -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c3, 0x55, 0x05, 0xeb, 0xff, 0xfd, 0x91, 0x11, 0x8f, 0xf6, - 0xb7, 0x61, 0x10, 0x3c, 0xd9, 0xcd, 0xa1, 0x0e, 0x0c, 0x88, 0x04, 0x5a, 0x96, 0x6a, 0xec, 0x83, - 0x0a, 0x2c, 0x17, 0xc6, 0x12, 0x05, 0x44, 0x46, 0xb5, 0x25, 0x1a, 0xfb, 0x91, 0xb1, 0xbc, 0xd9, - 0x6d, 0x7d, 0x8e, 0x50, 0x40, 0x24, 0x42, 0xb5, 0x09, 0xa1, 0xb1, 0x8f, 0x90, 0xb1, 0x4d, 0xbe, - 0x2f, 0xeb, 0xdc, 0xff, 0x08, 0x00, 0x00, 0xff, 0xff, 0xf7, 0x7e, 0xd5, 0x8e, 0x9e, 0x03, 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 - -// ProductBiddingCategoryConstantServiceClient is the client API for ProductBiddingCategoryConstantService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ProductBiddingCategoryConstantServiceClient interface { - // Returns the requested Product Bidding Category in full detail. - GetProductBiddingCategoryConstant(ctx context.Context, in *GetProductBiddingCategoryConstantRequest, opts ...grpc.CallOption) (*resources.ProductBiddingCategoryConstant, error) -} - -type productBiddingCategoryConstantServiceClient struct { - cc *grpc.ClientConn -} - -func NewProductBiddingCategoryConstantServiceClient(cc *grpc.ClientConn) ProductBiddingCategoryConstantServiceClient { - return &productBiddingCategoryConstantServiceClient{cc} -} - -func (c *productBiddingCategoryConstantServiceClient) GetProductBiddingCategoryConstant(ctx context.Context, in *GetProductBiddingCategoryConstantRequest, opts ...grpc.CallOption) (*resources.ProductBiddingCategoryConstant, error) { - out := new(resources.ProductBiddingCategoryConstant) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.ProductBiddingCategoryConstantService/GetProductBiddingCategoryConstant", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ProductBiddingCategoryConstantServiceServer is the server API for ProductBiddingCategoryConstantService service. -type ProductBiddingCategoryConstantServiceServer interface { - // Returns the requested Product Bidding Category in full detail. - GetProductBiddingCategoryConstant(context.Context, *GetProductBiddingCategoryConstantRequest) (*resources.ProductBiddingCategoryConstant, error) -} - -// UnimplementedProductBiddingCategoryConstantServiceServer can be embedded to have forward compatible implementations. -type UnimplementedProductBiddingCategoryConstantServiceServer struct { -} - -func (*UnimplementedProductBiddingCategoryConstantServiceServer) GetProductBiddingCategoryConstant(ctx context.Context, req *GetProductBiddingCategoryConstantRequest) (*resources.ProductBiddingCategoryConstant, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetProductBiddingCategoryConstant not implemented") -} - -func RegisterProductBiddingCategoryConstantServiceServer(s *grpc.Server, srv ProductBiddingCategoryConstantServiceServer) { - s.RegisterService(&_ProductBiddingCategoryConstantService_serviceDesc, srv) -} - -func _ProductBiddingCategoryConstantService_GetProductBiddingCategoryConstant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetProductBiddingCategoryConstantRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProductBiddingCategoryConstantServiceServer).GetProductBiddingCategoryConstant(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.ProductBiddingCategoryConstantService/GetProductBiddingCategoryConstant", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProductBiddingCategoryConstantServiceServer).GetProductBiddingCategoryConstant(ctx, req.(*GetProductBiddingCategoryConstantRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ProductBiddingCategoryConstantService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.ProductBiddingCategoryConstantService", - HandlerType: (*ProductBiddingCategoryConstantServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetProductBiddingCategoryConstant", - Handler: _ProductBiddingCategoryConstantService_GetProductBiddingCategoryConstant_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/product_bidding_category_constant_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/product_group_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/product_group_view_service.pb.go deleted file mode 100644 index 0b6465fc..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/product_group_view_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/product_group_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [ProductGroupViewService.GetProductGroupView][google.ads.googleads.v2.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_bdd387eda7160e6d, []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 (m *GetProductGroupViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetProductGroupViewRequest.Merge(m, 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.v2.services.GetProductGroupViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/product_group_view_service.proto", fileDescriptor_bdd387eda7160e6d) -} - -var fileDescriptor_bdd387eda7160e6d = []byte{ - // 389 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xbf, 0x4a, 0xfb, 0x40, - 0x1c, 0x27, 0xf9, 0xc1, 0x0f, 0x0c, 0xba, 0xc4, 0xa1, 0x25, 0x76, 0x28, 0xb5, 0x83, 0x74, 0xb8, - 0x83, 0x14, 0x97, 0xab, 0x0e, 0xd7, 0x25, 0x4e, 0x52, 0x2a, 0x64, 0x90, 0x40, 0x88, 0xc9, 0x11, - 0x02, 0x4d, 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x6e, 0x55, 0x37, 0x45, 0x81, 0x6d, 0xed, - 0x60, 0xf2, 0xf4, 0xf1, 0xf9, 0xa2, 0x9f, 0x9b, 0xe3, 0xaa, 0xd0, 0x87, 0x3f, 0x6b, 0x5d, 0x86, - 0x05, 0x17, 0x34, 0x25, 0x8c, 0xc3, 0x91, 0x6a, 0xb8, 0x11, 0x72, 0x38, 0x7a, 0xb4, 0x4e, 0x56, - 0xb8, 0xbb, 0x09, 0xaa, 0x51, 0x9e, 0x70, 0x10, 0xd2, 0x74, 0xfa, 0xac, 0x1b, 0xc3, 0x90, 0xa6, - 0x7b, 0x57, 0x9a, 0xf6, 0x5a, 0x6a, 0x9a, 0x55, 0x4f, 0x31, 0xd3, 0x6e, 0xaf, 0x6a, 0x87, 0x98, - 0x2e, 0x82, 0x2c, 0x06, 0x94, 0xc5, 0x30, 0x26, 0xd9, 0xfa, 0xa1, 0xe0, 0x26, 0xb3, 0xfd, 0x0f, - 0x4e, 0x14, 0x78, 0xd5, 0xff, 0x39, 0x18, 0xbf, 0xe9, 0x7d, 0x47, 0x1a, 0xe2, 0x88, 0x03, 0x09, - 0x2b, 0xe4, 0xda, 0xa0, 0x0e, 0xe6, 0x2b, 0x45, 0xf1, 0x70, 0xc4, 0xbd, 0x86, 0xe2, 0xb9, 0xb6, - 0xa7, 0x28, 0x5f, 0xfa, 0x50, 0x9e, 0x23, 0x84, 0x23, 0x8e, 0x50, 0x43, 0x42, 0xc8, 0xb5, 0x11, - 0x52, 0xb4, 0xbb, 0xff, 0xeb, 0x7b, 0x8e, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x79, 0x4a, 0x6b, - 0xc0, 0x2a, 0x03, 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 - -// 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.v2.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) -} - -// UnimplementedProductGroupViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedProductGroupViewServiceServer struct { -} - -func (*UnimplementedProductGroupViewServiceServer) GetProductGroupView(ctx context.Context, req *GetProductGroupViewRequest) (*resources.ProductGroupView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetProductGroupView not implemented") -} - -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.v2.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.v2.services.ProductGroupViewService", - HandlerType: (*ProductGroupViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetProductGroupView", - Handler: _ProductGroupViewService_GetProductGroupView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/product_group_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/reach_plan_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/reach_plan_service.pb.go deleted file mode 100644 index 9f5eda4b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/reach_plan_service.pb.go +++ /dev/null @@ -1,1518 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/reach_plan_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [ReachForecastService.ListPlannableLocations][] -type ListPlannableLocationsRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListPlannableLocationsRequest) Reset() { *m = ListPlannableLocationsRequest{} } -func (m *ListPlannableLocationsRequest) String() string { return proto.CompactTextString(m) } -func (*ListPlannableLocationsRequest) ProtoMessage() {} -func (*ListPlannableLocationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c868579e438b97a9, []int{0} -} - -func (m *ListPlannableLocationsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListPlannableLocationsRequest.Unmarshal(m, b) -} -func (m *ListPlannableLocationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListPlannableLocationsRequest.Marshal(b, m, deterministic) -} -func (m *ListPlannableLocationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListPlannableLocationsRequest.Merge(m, src) -} -func (m *ListPlannableLocationsRequest) XXX_Size() int { - return xxx_messageInfo_ListPlannableLocationsRequest.Size(m) -} -func (m *ListPlannableLocationsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListPlannableLocationsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListPlannableLocationsRequest proto.InternalMessageInfo - -// The list of plannable locations. -type ListPlannableLocationsResponse struct { - // The list of locations available for planning (Countries, DMAs, - // sub-countries). - // For locations like Countries, DMAs see - // https://developers.google.com/adwords/api/docs/appendix/geotargeting for - // more information. - PlannableLocations []*PlannableLocation `protobuf:"bytes,1,rep,name=plannable_locations,json=plannableLocations,proto3" json:"plannable_locations,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListPlannableLocationsResponse) Reset() { *m = ListPlannableLocationsResponse{} } -func (m *ListPlannableLocationsResponse) String() string { return proto.CompactTextString(m) } -func (*ListPlannableLocationsResponse) ProtoMessage() {} -func (*ListPlannableLocationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c868579e438b97a9, []int{1} -} - -func (m *ListPlannableLocationsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListPlannableLocationsResponse.Unmarshal(m, b) -} -func (m *ListPlannableLocationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListPlannableLocationsResponse.Marshal(b, m, deterministic) -} -func (m *ListPlannableLocationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListPlannableLocationsResponse.Merge(m, src) -} -func (m *ListPlannableLocationsResponse) XXX_Size() int { - return xxx_messageInfo_ListPlannableLocationsResponse.Size(m) -} -func (m *ListPlannableLocationsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListPlannableLocationsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListPlannableLocationsResponse proto.InternalMessageInfo - -func (m *ListPlannableLocationsResponse) GetPlannableLocations() []*PlannableLocation { - if m != nil { - return m.PlannableLocations - } - return nil -} - -// A plannable location: a country, a DMA, a metro region, a tv region, -// a province. -type PlannableLocation struct { - // The location identifier. - Id *wrappers.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // The unique location name in english. - Name *wrappers.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - // The parent country code, not present if location is a country. - // If present will always be a criterion id: additional information, such as - // country name are returned both via ListPlannableLocations or directly by - // accessing GeoTargetConstantService with the criterion id. - ParentCountryId *wrappers.Int64Value `protobuf:"bytes,3,opt,name=parent_country_id,json=parentCountryId,proto3" json:"parent_country_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PlannableLocation) Reset() { *m = PlannableLocation{} } -func (m *PlannableLocation) String() string { return proto.CompactTextString(m) } -func (*PlannableLocation) ProtoMessage() {} -func (*PlannableLocation) Descriptor() ([]byte, []int) { - return fileDescriptor_c868579e438b97a9, []int{2} -} - -func (m *PlannableLocation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PlannableLocation.Unmarshal(m, b) -} -func (m *PlannableLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PlannableLocation.Marshal(b, m, deterministic) -} -func (m *PlannableLocation) XXX_Merge(src proto.Message) { - xxx_messageInfo_PlannableLocation.Merge(m, src) -} -func (m *PlannableLocation) XXX_Size() int { - return xxx_messageInfo_PlannableLocation.Size(m) -} -func (m *PlannableLocation) XXX_DiscardUnknown() { - xxx_messageInfo_PlannableLocation.DiscardUnknown(m) -} - -var xxx_messageInfo_PlannableLocation proto.InternalMessageInfo - -func (m *PlannableLocation) GetId() *wrappers.StringValue { - if m != nil { - return m.Id - } - return nil -} - -func (m *PlannableLocation) GetName() *wrappers.StringValue { - if m != nil { - return m.Name - } - return nil -} - -func (m *PlannableLocation) GetParentCountryId() *wrappers.Int64Value { - if m != nil { - return m.ParentCountryId - } - return nil -} - -// Request to list available products in a given location. -type ListPlannableProductsRequest struct { - // The ID of the selected location for planning. To list the available - // plannable location ids use ListPlannableLocations. - PlannableLocationId *wrappers.StringValue `protobuf:"bytes,1,opt,name=plannable_location_id,json=plannableLocationId,proto3" json:"plannable_location_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListPlannableProductsRequest) Reset() { *m = ListPlannableProductsRequest{} } -func (m *ListPlannableProductsRequest) String() string { return proto.CompactTextString(m) } -func (*ListPlannableProductsRequest) ProtoMessage() {} -func (*ListPlannableProductsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c868579e438b97a9, []int{3} -} - -func (m *ListPlannableProductsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListPlannableProductsRequest.Unmarshal(m, b) -} -func (m *ListPlannableProductsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListPlannableProductsRequest.Marshal(b, m, deterministic) -} -func (m *ListPlannableProductsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListPlannableProductsRequest.Merge(m, src) -} -func (m *ListPlannableProductsRequest) XXX_Size() int { - return xxx_messageInfo_ListPlannableProductsRequest.Size(m) -} -func (m *ListPlannableProductsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListPlannableProductsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListPlannableProductsRequest proto.InternalMessageInfo - -func (m *ListPlannableProductsRequest) GetPlannableLocationId() *wrappers.StringValue { - if m != nil { - return m.PlannableLocationId - } - return nil -} - -// A response with all available products. -type ListPlannableProductsResponse struct { - // The list of products available for planning and related targeting metadata. - ProductMetadata []*ProductMetadata `protobuf:"bytes,1,rep,name=product_metadata,json=productMetadata,proto3" json:"product_metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListPlannableProductsResponse) Reset() { *m = ListPlannableProductsResponse{} } -func (m *ListPlannableProductsResponse) String() string { return proto.CompactTextString(m) } -func (*ListPlannableProductsResponse) ProtoMessage() {} -func (*ListPlannableProductsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c868579e438b97a9, []int{4} -} - -func (m *ListPlannableProductsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListPlannableProductsResponse.Unmarshal(m, b) -} -func (m *ListPlannableProductsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListPlannableProductsResponse.Marshal(b, m, deterministic) -} -func (m *ListPlannableProductsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListPlannableProductsResponse.Merge(m, src) -} -func (m *ListPlannableProductsResponse) XXX_Size() int { - return xxx_messageInfo_ListPlannableProductsResponse.Size(m) -} -func (m *ListPlannableProductsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListPlannableProductsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListPlannableProductsResponse proto.InternalMessageInfo - -func (m *ListPlannableProductsResponse) GetProductMetadata() []*ProductMetadata { - if m != nil { - return m.ProductMetadata - } - return nil -} - -// The metadata associated with an available plannable product. -type ProductMetadata struct { - // The code associated with the ad product. E.g. Trueview, Bumper - // To list the available plannable product codes use ListPlannableProducts. - PlannableProductCode *wrappers.StringValue `protobuf:"bytes,1,opt,name=plannable_product_code,json=plannableProductCode,proto3" json:"plannable_product_code,omitempty"` - // The allowed plannable targeting for this product. - PlannableTargeting *PlannableTargeting `protobuf:"bytes,2,opt,name=plannable_targeting,json=plannableTargeting,proto3" json:"plannable_targeting,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ProductMetadata) Reset() { *m = ProductMetadata{} } -func (m *ProductMetadata) String() string { return proto.CompactTextString(m) } -func (*ProductMetadata) ProtoMessage() {} -func (*ProductMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_c868579e438b97a9, []int{5} -} - -func (m *ProductMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProductMetadata.Unmarshal(m, b) -} -func (m *ProductMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProductMetadata.Marshal(b, m, deterministic) -} -func (m *ProductMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductMetadata.Merge(m, src) -} -func (m *ProductMetadata) XXX_Size() int { - return xxx_messageInfo_ProductMetadata.Size(m) -} -func (m *ProductMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_ProductMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_ProductMetadata proto.InternalMessageInfo - -func (m *ProductMetadata) GetPlannableProductCode() *wrappers.StringValue { - if m != nil { - return m.PlannableProductCode - } - return nil -} - -func (m *ProductMetadata) GetPlannableTargeting() *PlannableTargeting { - if m != nil { - return m.PlannableTargeting - } - return nil -} - -// The targeting for which traffic metrics will be reported. -type PlannableTargeting struct { - // Allowed plannable age ranges for the product for which metrics will be - // reported. Actual targeting is computed by mapping this age range onto - // standard Google common.AgeRangeInfo values. - AgeRanges []enums.ReachPlanAgeRangeEnum_ReachPlanAgeRange `protobuf:"varint,1,rep,packed,name=age_ranges,json=ageRanges,proto3,enum=google.ads.googleads.v2.enums.ReachPlanAgeRangeEnum_ReachPlanAgeRange" json:"age_ranges,omitempty"` - // Targetable genders for the ad product. - Genders []*common.GenderInfo `protobuf:"bytes,2,rep,name=genders,proto3" json:"genders,omitempty"` - // Targetable devices for the ad product. - Devices []*common.DeviceInfo `protobuf:"bytes,3,rep,name=devices,proto3" json:"devices,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PlannableTargeting) Reset() { *m = PlannableTargeting{} } -func (m *PlannableTargeting) String() string { return proto.CompactTextString(m) } -func (*PlannableTargeting) ProtoMessage() {} -func (*PlannableTargeting) Descriptor() ([]byte, []int) { - return fileDescriptor_c868579e438b97a9, []int{6} -} - -func (m *PlannableTargeting) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PlannableTargeting.Unmarshal(m, b) -} -func (m *PlannableTargeting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PlannableTargeting.Marshal(b, m, deterministic) -} -func (m *PlannableTargeting) XXX_Merge(src proto.Message) { - xxx_messageInfo_PlannableTargeting.Merge(m, src) -} -func (m *PlannableTargeting) XXX_Size() int { - return xxx_messageInfo_PlannableTargeting.Size(m) -} -func (m *PlannableTargeting) XXX_DiscardUnknown() { - xxx_messageInfo_PlannableTargeting.DiscardUnknown(m) -} - -var xxx_messageInfo_PlannableTargeting proto.InternalMessageInfo - -func (m *PlannableTargeting) GetAgeRanges() []enums.ReachPlanAgeRangeEnum_ReachPlanAgeRange { - if m != nil { - return m.AgeRanges - } - return nil -} - -func (m *PlannableTargeting) GetGenders() []*common.GenderInfo { - if m != nil { - return m.Genders - } - return nil -} - -func (m *PlannableTargeting) GetDevices() []*common.DeviceInfo { - if m != nil { - return m.Devices - } - return nil -} - -// Request message for [ReachForecastService.GenerateProductMixIdeas][]. -type GenerateProductMixIdeasRequest struct { - // The ID of the customer. - CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` - // Required. The ID of the location, this is one of the ids returned by - // ListPlannableLocations. - PlannableLocationId *wrappers.StringValue `protobuf:"bytes,2,opt,name=plannable_location_id,json=plannableLocationId,proto3" json:"plannable_location_id,omitempty"` - // Required. Currency code. - // Three-character ISO 4217 currency code. - CurrencyCode *wrappers.StringValue `protobuf:"bytes,3,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"` - // Required. Total budget. - // Amount in micros. One million is equivalent to one unit. - BudgetMicros *wrappers.Int64Value `protobuf:"bytes,4,opt,name=budget_micros,json=budgetMicros,proto3" json:"budget_micros,omitempty"` - // The preferences of the suggested product mix. - // An unset preference is interpreted as all possible values are allowed, - // unless explicitly specified. - Preferences *Preferences `protobuf:"bytes,5,opt,name=preferences,proto3" json:"preferences,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GenerateProductMixIdeasRequest) Reset() { *m = GenerateProductMixIdeasRequest{} } -func (m *GenerateProductMixIdeasRequest) String() string { return proto.CompactTextString(m) } -func (*GenerateProductMixIdeasRequest) ProtoMessage() {} -func (*GenerateProductMixIdeasRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c868579e438b97a9, []int{7} -} - -func (m *GenerateProductMixIdeasRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GenerateProductMixIdeasRequest.Unmarshal(m, b) -} -func (m *GenerateProductMixIdeasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GenerateProductMixIdeasRequest.Marshal(b, m, deterministic) -} -func (m *GenerateProductMixIdeasRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenerateProductMixIdeasRequest.Merge(m, src) -} -func (m *GenerateProductMixIdeasRequest) XXX_Size() int { - return xxx_messageInfo_GenerateProductMixIdeasRequest.Size(m) -} -func (m *GenerateProductMixIdeasRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GenerateProductMixIdeasRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GenerateProductMixIdeasRequest proto.InternalMessageInfo - -func (m *GenerateProductMixIdeasRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *GenerateProductMixIdeasRequest) GetPlannableLocationId() *wrappers.StringValue { - if m != nil { - return m.PlannableLocationId - } - return nil -} - -func (m *GenerateProductMixIdeasRequest) GetCurrencyCode() *wrappers.StringValue { - if m != nil { - return m.CurrencyCode - } - return nil -} - -func (m *GenerateProductMixIdeasRequest) GetBudgetMicros() *wrappers.Int64Value { - if m != nil { - return m.BudgetMicros - } - return nil -} - -func (m *GenerateProductMixIdeasRequest) GetPreferences() *Preferences { - if m != nil { - return m.Preferences - } - return nil -} - -// Set of preferences about the planned mix. -type Preferences struct { - // True if ad skippable. - // If not set, default is any value. - IsSkippable *wrappers.BoolValue `protobuf:"bytes,1,opt,name=is_skippable,json=isSkippable,proto3" json:"is_skippable,omitempty"` - // True if ad start with sound. - // If not set, default is any value. - StartsWithSound *wrappers.BoolValue `protobuf:"bytes,2,opt,name=starts_with_sound,json=startsWithSound,proto3" json:"starts_with_sound,omitempty"` - // The length of the ad. - // If not set, default is any value. - AdLength enums.ReachPlanAdLengthEnum_ReachPlanAdLength `protobuf:"varint,3,opt,name=ad_length,json=adLength,proto3,enum=google.ads.googleads.v2.enums.ReachPlanAdLengthEnum_ReachPlanAdLength" json:"ad_length,omitempty"` - // True if ad will only show on the top content. - // If not set, default is false. - TopContentOnly *wrappers.BoolValue `protobuf:"bytes,4,opt,name=top_content_only,json=topContentOnly,proto3" json:"top_content_only,omitempty"` - // True if the price guaranteed. The cost of serving the ad is agreed upfront - // and not subject to an auction. - // If not set, default is any value. - HasGuaranteedPrice *wrappers.BoolValue `protobuf:"bytes,5,opt,name=has_guaranteed_price,json=hasGuaranteedPrice,proto3" json:"has_guaranteed_price,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Preferences) Reset() { *m = Preferences{} } -func (m *Preferences) String() string { return proto.CompactTextString(m) } -func (*Preferences) ProtoMessage() {} -func (*Preferences) Descriptor() ([]byte, []int) { - return fileDescriptor_c868579e438b97a9, []int{8} -} - -func (m *Preferences) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Preferences.Unmarshal(m, b) -} -func (m *Preferences) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Preferences.Marshal(b, m, deterministic) -} -func (m *Preferences) XXX_Merge(src proto.Message) { - xxx_messageInfo_Preferences.Merge(m, src) -} -func (m *Preferences) XXX_Size() int { - return xxx_messageInfo_Preferences.Size(m) -} -func (m *Preferences) XXX_DiscardUnknown() { - xxx_messageInfo_Preferences.DiscardUnknown(m) -} - -var xxx_messageInfo_Preferences proto.InternalMessageInfo - -func (m *Preferences) GetIsSkippable() *wrappers.BoolValue { - if m != nil { - return m.IsSkippable - } - return nil -} - -func (m *Preferences) GetStartsWithSound() *wrappers.BoolValue { - if m != nil { - return m.StartsWithSound - } - return nil -} - -func (m *Preferences) GetAdLength() enums.ReachPlanAdLengthEnum_ReachPlanAdLength { - if m != nil { - return m.AdLength - } - return enums.ReachPlanAdLengthEnum_UNSPECIFIED -} - -func (m *Preferences) GetTopContentOnly() *wrappers.BoolValue { - if m != nil { - return m.TopContentOnly - } - return nil -} - -func (m *Preferences) GetHasGuaranteedPrice() *wrappers.BoolValue { - if m != nil { - return m.HasGuaranteedPrice - } - return nil -} - -// The suggested product mix. -type GenerateProductMixIdeasResponse struct { - // A list of products (ad formats) and the associated budget allocation idea. - ProductAllocation []*ProductAllocation `protobuf:"bytes,1,rep,name=product_allocation,json=productAllocation,proto3" json:"product_allocation,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GenerateProductMixIdeasResponse) Reset() { *m = GenerateProductMixIdeasResponse{} } -func (m *GenerateProductMixIdeasResponse) String() string { return proto.CompactTextString(m) } -func (*GenerateProductMixIdeasResponse) ProtoMessage() {} -func (*GenerateProductMixIdeasResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c868579e438b97a9, []int{9} -} - -func (m *GenerateProductMixIdeasResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GenerateProductMixIdeasResponse.Unmarshal(m, b) -} -func (m *GenerateProductMixIdeasResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GenerateProductMixIdeasResponse.Marshal(b, m, deterministic) -} -func (m *GenerateProductMixIdeasResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenerateProductMixIdeasResponse.Merge(m, src) -} -func (m *GenerateProductMixIdeasResponse) XXX_Size() int { - return xxx_messageInfo_GenerateProductMixIdeasResponse.Size(m) -} -func (m *GenerateProductMixIdeasResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GenerateProductMixIdeasResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GenerateProductMixIdeasResponse proto.InternalMessageInfo - -func (m *GenerateProductMixIdeasResponse) GetProductAllocation() []*ProductAllocation { - if m != nil { - return m.ProductAllocation - } - return nil -} - -// An allocation of a part of the budget on a given product. -type ProductAllocation struct { - // Selected product for planning. The product codes returned are within the - // set of the ones returned by ListPlannableProducts when using the same - // location id. - PlannableProductCode *wrappers.StringValue `protobuf:"bytes,1,opt,name=plannable_product_code,json=plannableProductCode,proto3" json:"plannable_product_code,omitempty"` - // The value to be allocated for the suggested product in requested currency. - // Amount in micros. One million is equivalent to one unit. - BudgetMicros *wrappers.Int64Value `protobuf:"bytes,2,opt,name=budget_micros,json=budgetMicros,proto3" json:"budget_micros,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ProductAllocation) Reset() { *m = ProductAllocation{} } -func (m *ProductAllocation) String() string { return proto.CompactTextString(m) } -func (*ProductAllocation) ProtoMessage() {} -func (*ProductAllocation) Descriptor() ([]byte, []int) { - return fileDescriptor_c868579e438b97a9, []int{10} -} - -func (m *ProductAllocation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProductAllocation.Unmarshal(m, b) -} -func (m *ProductAllocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProductAllocation.Marshal(b, m, deterministic) -} -func (m *ProductAllocation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductAllocation.Merge(m, src) -} -func (m *ProductAllocation) XXX_Size() int { - return xxx_messageInfo_ProductAllocation.Size(m) -} -func (m *ProductAllocation) XXX_DiscardUnknown() { - xxx_messageInfo_ProductAllocation.DiscardUnknown(m) -} - -var xxx_messageInfo_ProductAllocation proto.InternalMessageInfo - -func (m *ProductAllocation) GetPlannableProductCode() *wrappers.StringValue { - if m != nil { - return m.PlannableProductCode - } - return nil -} - -func (m *ProductAllocation) GetBudgetMicros() *wrappers.Int64Value { - if m != nil { - return m.BudgetMicros - } - return nil -} - -// Request message for [ReachPlanService.GenerateReachForecast][google.ads.googleads.v2.services.ReachPlanService.GenerateReachForecast]. -type GenerateReachForecastRequest struct { - // The ID of the customer. - CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` - // Required. The currency code. - // Three-character ISO 4217 currency code. - CurrencyCode *wrappers.StringValue `protobuf:"bytes,2,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"` - // Campaign duration. - CampaignDuration *CampaignDuration `protobuf:"bytes,3,opt,name=campaign_duration,json=campaignDuration,proto3" json:"campaign_duration,omitempty"` - // Desired cookie frequency cap that will be applied to each planned product. - // This is equivalent to the frequency cap exposed in Google Ads when creating - // a campaign, it represents the maximum number of times an ad can be shown to - // the same user. - // If not specified no cap is applied. - CookieFrequencyCap *wrappers.Int32Value `protobuf:"bytes,4,opt,name=cookie_frequency_cap,json=cookieFrequencyCap,proto3" json:"cookie_frequency_cap,omitempty"` - // Desired minimum effective frequency (the number of times a person was - // exposed to the ad) for the reported reach metrics [1-10]. - // This won't affect the targeting, but just the reporting. - // If not specified, a default of 1 is applied. - MinEffectiveFrequency *wrappers.Int32Value `protobuf:"bytes,5,opt,name=min_effective_frequency,json=minEffectiveFrequency,proto3" json:"min_effective_frequency,omitempty"` - // The targeting to be applied to all products selected in the product mix. - // - // This is planned targeting: execution details might vary based on the - // advertising product, please consult an implementation specialist. - // - // If no targeting dimensions are specified, then campaigns will target - // everywhere and everyone. - // - // See specific metrics for details on how targeting affects them. - // - // In some cases, targeting may be overridden using the - // PlannedProduct.advanced_product_targeting field. - Targeting *Targeting `protobuf:"bytes,6,opt,name=targeting,proto3" json:"targeting,omitempty"` - // The product to be planned. - PlannedProducts []*PlannedProduct `protobuf:"bytes,7,rep,name=planned_products,json=plannedProducts,proto3" json:"planned_products,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GenerateReachForecastRequest) Reset() { *m = GenerateReachForecastRequest{} } -func (m *GenerateReachForecastRequest) String() string { return proto.CompactTextString(m) } -func (*GenerateReachForecastRequest) ProtoMessage() {} -func (*GenerateReachForecastRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c868579e438b97a9, []int{11} -} - -func (m *GenerateReachForecastRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GenerateReachForecastRequest.Unmarshal(m, b) -} -func (m *GenerateReachForecastRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GenerateReachForecastRequest.Marshal(b, m, deterministic) -} -func (m *GenerateReachForecastRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenerateReachForecastRequest.Merge(m, src) -} -func (m *GenerateReachForecastRequest) XXX_Size() int { - return xxx_messageInfo_GenerateReachForecastRequest.Size(m) -} -func (m *GenerateReachForecastRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GenerateReachForecastRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GenerateReachForecastRequest proto.InternalMessageInfo - -func (m *GenerateReachForecastRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *GenerateReachForecastRequest) GetCurrencyCode() *wrappers.StringValue { - if m != nil { - return m.CurrencyCode - } - return nil -} - -func (m *GenerateReachForecastRequest) GetCampaignDuration() *CampaignDuration { - if m != nil { - return m.CampaignDuration - } - return nil -} - -func (m *GenerateReachForecastRequest) GetCookieFrequencyCap() *wrappers.Int32Value { - if m != nil { - return m.CookieFrequencyCap - } - return nil -} - -func (m *GenerateReachForecastRequest) GetMinEffectiveFrequency() *wrappers.Int32Value { - if m != nil { - return m.MinEffectiveFrequency - } - return nil -} - -func (m *GenerateReachForecastRequest) GetTargeting() *Targeting { - if m != nil { - return m.Targeting - } - return nil -} - -func (m *GenerateReachForecastRequest) GetPlannedProducts() []*PlannedProduct { - if m != nil { - return m.PlannedProducts - } - return nil -} - -// The targeting for which traffic metrics will be reported. -type Targeting struct { - // Required. The ID of the selected location. - // Plannable locations ID can be obtained from ListPlannableLocations. - PlannableLocationId *wrappers.StringValue `protobuf:"bytes,1,opt,name=plannable_location_id,json=plannableLocationId,proto3" json:"plannable_location_id,omitempty"` - // Required - // Selected age range to be planned on. - AgeRange enums.ReachPlanAgeRangeEnum_ReachPlanAgeRange `protobuf:"varint,2,opt,name=age_range,json=ageRange,proto3,enum=google.ads.googleads.v2.enums.ReachPlanAgeRangeEnum_ReachPlanAgeRange" json:"age_range,omitempty"` - // Targetable genders for the ad product. - Genders []*common.GenderInfo `protobuf:"bytes,3,rep,name=genders,proto3" json:"genders,omitempty"` - // Targetable devices for the ad product. - Devices []*common.DeviceInfo `protobuf:"bytes,4,rep,name=devices,proto3" json:"devices,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Targeting) Reset() { *m = Targeting{} } -func (m *Targeting) String() string { return proto.CompactTextString(m) } -func (*Targeting) ProtoMessage() {} -func (*Targeting) Descriptor() ([]byte, []int) { - return fileDescriptor_c868579e438b97a9, []int{12} -} - -func (m *Targeting) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Targeting.Unmarshal(m, b) -} -func (m *Targeting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Targeting.Marshal(b, m, deterministic) -} -func (m *Targeting) XXX_Merge(src proto.Message) { - xxx_messageInfo_Targeting.Merge(m, src) -} -func (m *Targeting) XXX_Size() int { - return xxx_messageInfo_Targeting.Size(m) -} -func (m *Targeting) XXX_DiscardUnknown() { - xxx_messageInfo_Targeting.DiscardUnknown(m) -} - -var xxx_messageInfo_Targeting proto.InternalMessageInfo - -func (m *Targeting) GetPlannableLocationId() *wrappers.StringValue { - if m != nil { - return m.PlannableLocationId - } - return nil -} - -func (m *Targeting) GetAgeRange() enums.ReachPlanAgeRangeEnum_ReachPlanAgeRange { - if m != nil { - return m.AgeRange - } - return enums.ReachPlanAgeRangeEnum_UNSPECIFIED -} - -func (m *Targeting) GetGenders() []*common.GenderInfo { - if m != nil { - return m.Genders - } - return nil -} - -func (m *Targeting) GetDevices() []*common.DeviceInfo { - if m != nil { - return m.Devices - } - return nil -} - -// The duration of a planned campaign. -type CampaignDuration struct { - // The duration value in days. - DurationInDays *wrappers.Int32Value `protobuf:"bytes,1,opt,name=duration_in_days,json=durationInDays,proto3" json:"duration_in_days,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CampaignDuration) Reset() { *m = CampaignDuration{} } -func (m *CampaignDuration) String() string { return proto.CompactTextString(m) } -func (*CampaignDuration) ProtoMessage() {} -func (*CampaignDuration) Descriptor() ([]byte, []int) { - return fileDescriptor_c868579e438b97a9, []int{13} -} - -func (m *CampaignDuration) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CampaignDuration.Unmarshal(m, b) -} -func (m *CampaignDuration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CampaignDuration.Marshal(b, m, deterministic) -} -func (m *CampaignDuration) XXX_Merge(src proto.Message) { - xxx_messageInfo_CampaignDuration.Merge(m, src) -} -func (m *CampaignDuration) XXX_Size() int { - return xxx_messageInfo_CampaignDuration.Size(m) -} -func (m *CampaignDuration) XXX_DiscardUnknown() { - xxx_messageInfo_CampaignDuration.DiscardUnknown(m) -} - -var xxx_messageInfo_CampaignDuration proto.InternalMessageInfo - -func (m *CampaignDuration) GetDurationInDays() *wrappers.Int32Value { - if m != nil { - return m.DurationInDays - } - return nil -} - -// A product being planned for reach. -type PlannedProduct struct { - // Required. Selected product for planning. - // Plannable products codes can be obtained from ListPlannableProducts. - PlannableProductCode *wrappers.StringValue `protobuf:"bytes,1,opt,name=plannable_product_code,json=plannableProductCode,proto3" json:"plannable_product_code,omitempty"` - // Required. Maximum budget allocation in micros for the selected product. - // The value is specified in the selected planning currency_code. - // E.g. 1 000 000$ = 1 000 000 000 000 micros. - BudgetMicros *wrappers.Int64Value `protobuf:"bytes,2,opt,name=budget_micros,json=budgetMicros,proto3" json:"budget_micros,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PlannedProduct) Reset() { *m = PlannedProduct{} } -func (m *PlannedProduct) String() string { return proto.CompactTextString(m) } -func (*PlannedProduct) ProtoMessage() {} -func (*PlannedProduct) Descriptor() ([]byte, []int) { - return fileDescriptor_c868579e438b97a9, []int{14} -} - -func (m *PlannedProduct) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PlannedProduct.Unmarshal(m, b) -} -func (m *PlannedProduct) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PlannedProduct.Marshal(b, m, deterministic) -} -func (m *PlannedProduct) XXX_Merge(src proto.Message) { - xxx_messageInfo_PlannedProduct.Merge(m, src) -} -func (m *PlannedProduct) XXX_Size() int { - return xxx_messageInfo_PlannedProduct.Size(m) -} -func (m *PlannedProduct) XXX_DiscardUnknown() { - xxx_messageInfo_PlannedProduct.DiscardUnknown(m) -} - -var xxx_messageInfo_PlannedProduct proto.InternalMessageInfo - -func (m *PlannedProduct) GetPlannableProductCode() *wrappers.StringValue { - if m != nil { - return m.PlannableProductCode - } - return nil -} - -func (m *PlannedProduct) GetBudgetMicros() *wrappers.Int64Value { - if m != nil { - return m.BudgetMicros - } - return nil -} - -// Response message containing the generated reach curve. -type GenerateReachForecastResponse struct { - // Reference on target audiences for this curve. - OnTargetAudienceMetrics *OnTargetAudienceMetrics `protobuf:"bytes,1,opt,name=on_target_audience_metrics,json=onTargetAudienceMetrics,proto3" json:"on_target_audience_metrics,omitempty"` - // The generated reach curve for the planned product mix. - ReachCurve *ReachCurve `protobuf:"bytes,2,opt,name=reach_curve,json=reachCurve,proto3" json:"reach_curve,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GenerateReachForecastResponse) Reset() { *m = GenerateReachForecastResponse{} } -func (m *GenerateReachForecastResponse) String() string { return proto.CompactTextString(m) } -func (*GenerateReachForecastResponse) ProtoMessage() {} -func (*GenerateReachForecastResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c868579e438b97a9, []int{15} -} - -func (m *GenerateReachForecastResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GenerateReachForecastResponse.Unmarshal(m, b) -} -func (m *GenerateReachForecastResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GenerateReachForecastResponse.Marshal(b, m, deterministic) -} -func (m *GenerateReachForecastResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenerateReachForecastResponse.Merge(m, src) -} -func (m *GenerateReachForecastResponse) XXX_Size() int { - return xxx_messageInfo_GenerateReachForecastResponse.Size(m) -} -func (m *GenerateReachForecastResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GenerateReachForecastResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GenerateReachForecastResponse proto.InternalMessageInfo - -func (m *GenerateReachForecastResponse) GetOnTargetAudienceMetrics() *OnTargetAudienceMetrics { - if m != nil { - return m.OnTargetAudienceMetrics - } - return nil -} - -func (m *GenerateReachForecastResponse) GetReachCurve() *ReachCurve { - if m != nil { - return m.ReachCurve - } - return nil -} - -// The reach curve for the planned products. -type ReachCurve struct { - // All points on the reach curve. - ReachForecasts []*ReachForecast `protobuf:"bytes,1,rep,name=reach_forecasts,json=reachForecasts,proto3" json:"reach_forecasts,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ReachCurve) Reset() { *m = ReachCurve{} } -func (m *ReachCurve) String() string { return proto.CompactTextString(m) } -func (*ReachCurve) ProtoMessage() {} -func (*ReachCurve) Descriptor() ([]byte, []int) { - return fileDescriptor_c868579e438b97a9, []int{16} -} - -func (m *ReachCurve) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReachCurve.Unmarshal(m, b) -} -func (m *ReachCurve) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReachCurve.Marshal(b, m, deterministic) -} -func (m *ReachCurve) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReachCurve.Merge(m, src) -} -func (m *ReachCurve) XXX_Size() int { - return xxx_messageInfo_ReachCurve.Size(m) -} -func (m *ReachCurve) XXX_DiscardUnknown() { - xxx_messageInfo_ReachCurve.DiscardUnknown(m) -} - -var xxx_messageInfo_ReachCurve proto.InternalMessageInfo - -func (m *ReachCurve) GetReachForecasts() []*ReachForecast { - if m != nil { - return m.ReachForecasts - } - return nil -} - -// A point on reach curve. -type ReachForecast struct { - // The cost in micros. - CostMicros *wrappers.Int64Value `protobuf:"bytes,1,opt,name=cost_micros,json=costMicros,proto3" json:"cost_micros,omitempty"` - // Forecasted traffic metrics for this point. - Forecast *Forecast `protobuf:"bytes,2,opt,name=forecast,proto3" json:"forecast,omitempty"` - // The forecasted allocation. This differs from the input allocation if one - // or more product cannot fulfill the budget because of limited inventory. - ForecastedProductAllocations []*ProductAllocation `protobuf:"bytes,3,rep,name=forecasted_product_allocations,json=forecastedProductAllocations,proto3" json:"forecasted_product_allocations,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ReachForecast) Reset() { *m = ReachForecast{} } -func (m *ReachForecast) String() string { return proto.CompactTextString(m) } -func (*ReachForecast) ProtoMessage() {} -func (*ReachForecast) Descriptor() ([]byte, []int) { - return fileDescriptor_c868579e438b97a9, []int{17} -} - -func (m *ReachForecast) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReachForecast.Unmarshal(m, b) -} -func (m *ReachForecast) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReachForecast.Marshal(b, m, deterministic) -} -func (m *ReachForecast) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReachForecast.Merge(m, src) -} -func (m *ReachForecast) XXX_Size() int { - return xxx_messageInfo_ReachForecast.Size(m) -} -func (m *ReachForecast) XXX_DiscardUnknown() { - xxx_messageInfo_ReachForecast.DiscardUnknown(m) -} - -var xxx_messageInfo_ReachForecast proto.InternalMessageInfo - -func (m *ReachForecast) GetCostMicros() *wrappers.Int64Value { - if m != nil { - return m.CostMicros - } - return nil -} - -func (m *ReachForecast) GetForecast() *Forecast { - if m != nil { - return m.Forecast - } - return nil -} - -func (m *ReachForecast) GetForecastedProductAllocations() []*ProductAllocation { - if m != nil { - return m.ForecastedProductAllocations - } - return nil -} - -// Forecasted traffic metrics for the planned products and targeting. -type Forecast struct { - // Number of unique people reached at least - // GenerateReachForecastRequest.min_effective_frequency times that exactly - // matches the Targeting. - OnTargetReach *wrappers.Int64Value `protobuf:"bytes,1,opt,name=on_target_reach,json=onTargetReach,proto3" json:"on_target_reach,omitempty"` - // Total number of unique people reached at least - // GenerateReachForecastRequest.min_effective_frequency times. This includes - // people that may fall outside the specified Targeting. - TotalReach *wrappers.Int64Value `protobuf:"bytes,2,opt,name=total_reach,json=totalReach,proto3" json:"total_reach,omitempty"` - // Number of ad impressions that exactly matches the Targeting. - OnTargetImpressions *wrappers.Int64Value `protobuf:"bytes,3,opt,name=on_target_impressions,json=onTargetImpressions,proto3" json:"on_target_impressions,omitempty"` - // Total number of ad impressions. This includes impressions that may fall - // outside the specified Targeting, due to insufficent information on - // signed-in users. - TotalImpressions *wrappers.Int64Value `protobuf:"bytes,4,opt,name=total_impressions,json=totalImpressions,proto3" json:"total_impressions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Forecast) Reset() { *m = Forecast{} } -func (m *Forecast) String() string { return proto.CompactTextString(m) } -func (*Forecast) ProtoMessage() {} -func (*Forecast) Descriptor() ([]byte, []int) { - return fileDescriptor_c868579e438b97a9, []int{18} -} - -func (m *Forecast) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Forecast.Unmarshal(m, b) -} -func (m *Forecast) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Forecast.Marshal(b, m, deterministic) -} -func (m *Forecast) XXX_Merge(src proto.Message) { - xxx_messageInfo_Forecast.Merge(m, src) -} -func (m *Forecast) XXX_Size() int { - return xxx_messageInfo_Forecast.Size(m) -} -func (m *Forecast) XXX_DiscardUnknown() { - xxx_messageInfo_Forecast.DiscardUnknown(m) -} - -var xxx_messageInfo_Forecast proto.InternalMessageInfo - -func (m *Forecast) GetOnTargetReach() *wrappers.Int64Value { - if m != nil { - return m.OnTargetReach - } - return nil -} - -func (m *Forecast) GetTotalReach() *wrappers.Int64Value { - if m != nil { - return m.TotalReach - } - return nil -} - -func (m *Forecast) GetOnTargetImpressions() *wrappers.Int64Value { - if m != nil { - return m.OnTargetImpressions - } - return nil -} - -func (m *Forecast) GetTotalImpressions() *wrappers.Int64Value { - if m != nil { - return m.TotalImpressions - } - return nil -} - -// Audience metrics for the planned products. -// These metrics consider the following targeting dimensions: -// -// - Location -// - PlannableAgeRange -// - Gender -type OnTargetAudienceMetrics struct { - // Reference audience size matching the considered targeting for YouTube. - YoutubeAudienceSize *wrappers.Int64Value `protobuf:"bytes,1,opt,name=youtube_audience_size,json=youtubeAudienceSize,proto3" json:"youtube_audience_size,omitempty"` - // Reference audience size matching the considered targeting for Census. - CensusAudienceSize *wrappers.Int64Value `protobuf:"bytes,2,opt,name=census_audience_size,json=censusAudienceSize,proto3" json:"census_audience_size,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OnTargetAudienceMetrics) Reset() { *m = OnTargetAudienceMetrics{} } -func (m *OnTargetAudienceMetrics) String() string { return proto.CompactTextString(m) } -func (*OnTargetAudienceMetrics) ProtoMessage() {} -func (*OnTargetAudienceMetrics) Descriptor() ([]byte, []int) { - return fileDescriptor_c868579e438b97a9, []int{19} -} - -func (m *OnTargetAudienceMetrics) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OnTargetAudienceMetrics.Unmarshal(m, b) -} -func (m *OnTargetAudienceMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OnTargetAudienceMetrics.Marshal(b, m, deterministic) -} -func (m *OnTargetAudienceMetrics) XXX_Merge(src proto.Message) { - xxx_messageInfo_OnTargetAudienceMetrics.Merge(m, src) -} -func (m *OnTargetAudienceMetrics) XXX_Size() int { - return xxx_messageInfo_OnTargetAudienceMetrics.Size(m) -} -func (m *OnTargetAudienceMetrics) XXX_DiscardUnknown() { - xxx_messageInfo_OnTargetAudienceMetrics.DiscardUnknown(m) -} - -var xxx_messageInfo_OnTargetAudienceMetrics proto.InternalMessageInfo - -func (m *OnTargetAudienceMetrics) GetYoutubeAudienceSize() *wrappers.Int64Value { - if m != nil { - return m.YoutubeAudienceSize - } - return nil -} - -func (m *OnTargetAudienceMetrics) GetCensusAudienceSize() *wrappers.Int64Value { - if m != nil { - return m.CensusAudienceSize - } - return nil -} - -func init() { - proto.RegisterType((*ListPlannableLocationsRequest)(nil), "google.ads.googleads.v2.services.ListPlannableLocationsRequest") - proto.RegisterType((*ListPlannableLocationsResponse)(nil), "google.ads.googleads.v2.services.ListPlannableLocationsResponse") - proto.RegisterType((*PlannableLocation)(nil), "google.ads.googleads.v2.services.PlannableLocation") - proto.RegisterType((*ListPlannableProductsRequest)(nil), "google.ads.googleads.v2.services.ListPlannableProductsRequest") - proto.RegisterType((*ListPlannableProductsResponse)(nil), "google.ads.googleads.v2.services.ListPlannableProductsResponse") - proto.RegisterType((*ProductMetadata)(nil), "google.ads.googleads.v2.services.ProductMetadata") - proto.RegisterType((*PlannableTargeting)(nil), "google.ads.googleads.v2.services.PlannableTargeting") - proto.RegisterType((*GenerateProductMixIdeasRequest)(nil), "google.ads.googleads.v2.services.GenerateProductMixIdeasRequest") - proto.RegisterType((*Preferences)(nil), "google.ads.googleads.v2.services.Preferences") - proto.RegisterType((*GenerateProductMixIdeasResponse)(nil), "google.ads.googleads.v2.services.GenerateProductMixIdeasResponse") - proto.RegisterType((*ProductAllocation)(nil), "google.ads.googleads.v2.services.ProductAllocation") - proto.RegisterType((*GenerateReachForecastRequest)(nil), "google.ads.googleads.v2.services.GenerateReachForecastRequest") - proto.RegisterType((*Targeting)(nil), "google.ads.googleads.v2.services.Targeting") - proto.RegisterType((*CampaignDuration)(nil), "google.ads.googleads.v2.services.CampaignDuration") - proto.RegisterType((*PlannedProduct)(nil), "google.ads.googleads.v2.services.PlannedProduct") - proto.RegisterType((*GenerateReachForecastResponse)(nil), "google.ads.googleads.v2.services.GenerateReachForecastResponse") - proto.RegisterType((*ReachCurve)(nil), "google.ads.googleads.v2.services.ReachCurve") - proto.RegisterType((*ReachForecast)(nil), "google.ads.googleads.v2.services.ReachForecast") - proto.RegisterType((*Forecast)(nil), "google.ads.googleads.v2.services.Forecast") - proto.RegisterType((*OnTargetAudienceMetrics)(nil), "google.ads.googleads.v2.services.OnTargetAudienceMetrics") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/reach_plan_service.proto", fileDescriptor_c868579e438b97a9) -} - -var fileDescriptor_c868579e438b97a9 = []byte{ - // 1645 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcb, 0x6f, 0x24, 0x47, - 0x19, 0x57, 0xb7, 0x97, 0xcd, 0xfa, 0xf3, 0xae, 0x1f, 0xb5, 0xeb, 0x78, 0x98, 0x38, 0xde, 0x55, - 0x6b, 0x91, 0x22, 0x93, 0xcc, 0x84, 0xd9, 0x80, 0x92, 0x81, 0x24, 0x3b, 0x6b, 0xaf, 0x9d, 0x91, - 0xd6, 0x5a, 0xab, 0x8d, 0xcc, 0xcb, 0x52, 0xab, 0xdc, 0x5d, 0x6e, 0x97, 0x32, 0x53, 0xd5, 0x54, - 0x55, 0x3b, 0x38, 0x28, 0x17, 0x24, 0xe0, 0x84, 0x84, 0xc4, 0x7f, 0xc0, 0x01, 0x01, 0x17, 0xce, - 0x48, 0x88, 0x03, 0xc7, 0x15, 0xe2, 0xc2, 0x85, 0x23, 0x07, 0x84, 0x04, 0x57, 0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 0x64, 0xa1, 0x29, 0xef, 0x61, 0x96, - 0x36, 0xb8, 0x48, 0x9b, 0x29, 0x61, 0xba, 0xea, 0x9b, 0x83, 0xcb, 0x26, 0x7f, 0x62, 0xfe, 0xaa, - 0x5b, 0xfc, 0xdc, 0x9f, 0xdb, 0xed, 0x74, 0x7e, 0xed, 0x3f, 0xd8, 0x35, 0x84, 0x9d, 0x44, 0x36, - 0xcc, 0xb2, 0x58, 0x1d, 0xb6, 0x1a, 0xf6, 0x62, 0xf9, 0xc2, 0x89, 0x1c, 0x75, 0x12, 0x79, 0x54, - 0x8a, 0x1c, 0x1d, 0xb6, 0x8e, 0x9c, 0xc8, 0x3f, 0xfd, 0x87, 0x66, 0xbf, 0xdd, 0xee, 0x24, 0xb2, - 0xdd, 0x2e, 0x85, 0xda, 0xed, 0xc3, 0x56, 0xbb, 0xed, 0xc4, 0x8e, 0x6f, 0x6a, 0x3d, 0x1f, 0xfd, - 0x27, 0x00, 0x00, 0xff, 0xff, 0xf4, 0x1a, 0x77, 0x67, 0x09, 0x17, 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 - -// ReachPlanServiceClient is the client API for ReachPlanService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ReachPlanServiceClient interface { - // Returns the list of plannable locations (for example, countries & DMAs). - ListPlannableLocations(ctx context.Context, in *ListPlannableLocationsRequest, opts ...grpc.CallOption) (*ListPlannableLocationsResponse, error) - // Returns the list of per-location plannable YouTube ad formats with allowed - // targeting. - ListPlannableProducts(ctx context.Context, in *ListPlannableProductsRequest, opts ...grpc.CallOption) (*ListPlannableProductsResponse, error) - // Generates a product mix ideas given a set of preferences. This method - // helps the advertiser to obtain a good mix of ad formats and budget - // allocations based on its preferences. - GenerateProductMixIdeas(ctx context.Context, in *GenerateProductMixIdeasRequest, opts ...grpc.CallOption) (*GenerateProductMixIdeasResponse, error) - // Generates a reach forecast for a given targeting / product mix. - GenerateReachForecast(ctx context.Context, in *GenerateReachForecastRequest, opts ...grpc.CallOption) (*GenerateReachForecastResponse, error) -} - -type reachPlanServiceClient struct { - cc *grpc.ClientConn -} - -func NewReachPlanServiceClient(cc *grpc.ClientConn) ReachPlanServiceClient { - return &reachPlanServiceClient{cc} -} - -func (c *reachPlanServiceClient) ListPlannableLocations(ctx context.Context, in *ListPlannableLocationsRequest, opts ...grpc.CallOption) (*ListPlannableLocationsResponse, error) { - out := new(ListPlannableLocationsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.ReachPlanService/ListPlannableLocations", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *reachPlanServiceClient) ListPlannableProducts(ctx context.Context, in *ListPlannableProductsRequest, opts ...grpc.CallOption) (*ListPlannableProductsResponse, error) { - out := new(ListPlannableProductsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.ReachPlanService/ListPlannableProducts", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *reachPlanServiceClient) GenerateProductMixIdeas(ctx context.Context, in *GenerateProductMixIdeasRequest, opts ...grpc.CallOption) (*GenerateProductMixIdeasResponse, error) { - out := new(GenerateProductMixIdeasResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.ReachPlanService/GenerateProductMixIdeas", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *reachPlanServiceClient) GenerateReachForecast(ctx context.Context, in *GenerateReachForecastRequest, opts ...grpc.CallOption) (*GenerateReachForecastResponse, error) { - out := new(GenerateReachForecastResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.ReachPlanService/GenerateReachForecast", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ReachPlanServiceServer is the server API for ReachPlanService service. -type ReachPlanServiceServer interface { - // Returns the list of plannable locations (for example, countries & DMAs). - ListPlannableLocations(context.Context, *ListPlannableLocationsRequest) (*ListPlannableLocationsResponse, error) - // Returns the list of per-location plannable YouTube ad formats with allowed - // targeting. - ListPlannableProducts(context.Context, *ListPlannableProductsRequest) (*ListPlannableProductsResponse, error) - // Generates a product mix ideas given a set of preferences. This method - // helps the advertiser to obtain a good mix of ad formats and budget - // allocations based on its preferences. - GenerateProductMixIdeas(context.Context, *GenerateProductMixIdeasRequest) (*GenerateProductMixIdeasResponse, error) - // Generates a reach forecast for a given targeting / product mix. - GenerateReachForecast(context.Context, *GenerateReachForecastRequest) (*GenerateReachForecastResponse, error) -} - -// UnimplementedReachPlanServiceServer can be embedded to have forward compatible implementations. -type UnimplementedReachPlanServiceServer struct { -} - -func (*UnimplementedReachPlanServiceServer) ListPlannableLocations(ctx context.Context, req *ListPlannableLocationsRequest) (*ListPlannableLocationsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListPlannableLocations not implemented") -} -func (*UnimplementedReachPlanServiceServer) ListPlannableProducts(ctx context.Context, req *ListPlannableProductsRequest) (*ListPlannableProductsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListPlannableProducts not implemented") -} -func (*UnimplementedReachPlanServiceServer) GenerateProductMixIdeas(ctx context.Context, req *GenerateProductMixIdeasRequest) (*GenerateProductMixIdeasResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GenerateProductMixIdeas not implemented") -} -func (*UnimplementedReachPlanServiceServer) GenerateReachForecast(ctx context.Context, req *GenerateReachForecastRequest) (*GenerateReachForecastResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GenerateReachForecast not implemented") -} - -func RegisterReachPlanServiceServer(s *grpc.Server, srv ReachPlanServiceServer) { - s.RegisterService(&_ReachPlanService_serviceDesc, srv) -} - -func _ReachPlanService_ListPlannableLocations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListPlannableLocationsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ReachPlanServiceServer).ListPlannableLocations(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.ReachPlanService/ListPlannableLocations", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ReachPlanServiceServer).ListPlannableLocations(ctx, req.(*ListPlannableLocationsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ReachPlanService_ListPlannableProducts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListPlannableProductsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ReachPlanServiceServer).ListPlannableProducts(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.ReachPlanService/ListPlannableProducts", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ReachPlanServiceServer).ListPlannableProducts(ctx, req.(*ListPlannableProductsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ReachPlanService_GenerateProductMixIdeas_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GenerateProductMixIdeasRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ReachPlanServiceServer).GenerateProductMixIdeas(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.ReachPlanService/GenerateProductMixIdeas", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ReachPlanServiceServer).GenerateProductMixIdeas(ctx, req.(*GenerateProductMixIdeasRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ReachPlanService_GenerateReachForecast_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GenerateReachForecastRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ReachPlanServiceServer).GenerateReachForecast(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.ReachPlanService/GenerateReachForecast", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ReachPlanServiceServer).GenerateReachForecast(ctx, req.(*GenerateReachForecastRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ReachPlanService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.ReachPlanService", - HandlerType: (*ReachPlanServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListPlannableLocations", - Handler: _ReachPlanService_ListPlannableLocations_Handler, - }, - { - MethodName: "ListPlannableProducts", - Handler: _ReachPlanService_ListPlannableProducts_Handler, - }, - { - MethodName: "GenerateProductMixIdeas", - Handler: _ReachPlanService_GenerateProductMixIdeas_Handler, - }, - { - MethodName: "GenerateReachForecast", - Handler: _ReachPlanService_GenerateReachForecast_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/reach_plan_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/recommendation_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/recommendation_service.pb.go deleted file mode 100644 index e06a7e11..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/recommendation_service.pb.go +++ /dev/null @@ -1,1287 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/recommendation_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - common "google.golang.org/genproto/googleapis/ads/googleads/v2/common" - enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [RecommendationService.GetRecommendation][google.ads.googleads.v2.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_f11a792b35286279, []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 (m *GetRecommendationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRecommendationRequest.Merge(m, 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.v2.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"` - // 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"` - // 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"` - 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_f11a792b35286279, []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 (m *ApplyRecommendationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApplyRecommendationRequest.Merge(m, 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) GetOperations() []*ApplyRecommendationOperation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *ApplyRecommendationRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -// 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 - // *ApplyRecommendationOperation_CalloutExtension - // *ApplyRecommendationOperation_CallExtension - // *ApplyRecommendationOperation_SitelinkExtension - // *ApplyRecommendationOperation_MoveUnusedBudget - 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_f11a792b35286279, []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 (m *ApplyRecommendationOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApplyRecommendationOperation.Merge(m, 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"` -} - -type ApplyRecommendationOperation_CalloutExtension struct { - CalloutExtension *ApplyRecommendationOperation_CalloutExtensionParameters `protobuf:"bytes,6,opt,name=callout_extension,json=calloutExtension,proto3,oneof"` -} - -type ApplyRecommendationOperation_CallExtension struct { - CallExtension *ApplyRecommendationOperation_CallExtensionParameters `protobuf:"bytes,7,opt,name=call_extension,json=callExtension,proto3,oneof"` -} - -type ApplyRecommendationOperation_SitelinkExtension struct { - SitelinkExtension *ApplyRecommendationOperation_SitelinkExtensionParameters `protobuf:"bytes,8,opt,name=sitelink_extension,json=sitelinkExtension,proto3,oneof"` -} - -type ApplyRecommendationOperation_MoveUnusedBudget struct { - MoveUnusedBudget *ApplyRecommendationOperation_MoveUnusedBudgetParameters `protobuf:"bytes,9,opt,name=move_unused_budget,json=moveUnusedBudget,proto3,oneof"` -} - -func (*ApplyRecommendationOperation_CampaignBudget) isApplyRecommendationOperation_ApplyParameters() {} - -func (*ApplyRecommendationOperation_TextAd) isApplyRecommendationOperation_ApplyParameters() {} - -func (*ApplyRecommendationOperation_Keyword) isApplyRecommendationOperation_ApplyParameters() {} - -func (*ApplyRecommendationOperation_TargetCpaOptIn) isApplyRecommendationOperation_ApplyParameters() {} - -func (*ApplyRecommendationOperation_CalloutExtension) isApplyRecommendationOperation_ApplyParameters() { -} - -func (*ApplyRecommendationOperation_CallExtension) isApplyRecommendationOperation_ApplyParameters() {} - -func (*ApplyRecommendationOperation_SitelinkExtension) isApplyRecommendationOperation_ApplyParameters() { -} - -func (*ApplyRecommendationOperation_MoveUnusedBudget) 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 -} - -func (m *ApplyRecommendationOperation) GetCalloutExtension() *ApplyRecommendationOperation_CalloutExtensionParameters { - if x, ok := m.GetApplyParameters().(*ApplyRecommendationOperation_CalloutExtension); ok { - return x.CalloutExtension - } - return nil -} - -func (m *ApplyRecommendationOperation) GetCallExtension() *ApplyRecommendationOperation_CallExtensionParameters { - if x, ok := m.GetApplyParameters().(*ApplyRecommendationOperation_CallExtension); ok { - return x.CallExtension - } - return nil -} - -func (m *ApplyRecommendationOperation) GetSitelinkExtension() *ApplyRecommendationOperation_SitelinkExtensionParameters { - if x, ok := m.GetApplyParameters().(*ApplyRecommendationOperation_SitelinkExtension); ok { - return x.SitelinkExtension - } - return nil -} - -func (m *ApplyRecommendationOperation) GetMoveUnusedBudget() *ApplyRecommendationOperation_MoveUnusedBudgetParameters { - if x, ok := m.GetApplyParameters().(*ApplyRecommendationOperation_MoveUnusedBudget); ok { - return x.MoveUnusedBudget - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ApplyRecommendationOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ApplyRecommendationOperation_CampaignBudget)(nil), - (*ApplyRecommendationOperation_TextAd)(nil), - (*ApplyRecommendationOperation_Keyword)(nil), - (*ApplyRecommendationOperation_TargetCpaOptIn)(nil), - (*ApplyRecommendationOperation_CalloutExtension)(nil), - (*ApplyRecommendationOperation_CallExtension)(nil), - (*ApplyRecommendationOperation_SitelinkExtension)(nil), - (*ApplyRecommendationOperation_MoveUnusedBudget)(nil), - } -} - -// 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_f11a792b35286279, []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 (m *ApplyRecommendationOperation_CampaignBudgetParameters) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApplyRecommendationOperation_CampaignBudgetParameters.Merge(m, 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_f11a792b35286279, []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 (m *ApplyRecommendationOperation_TextAdParameters) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApplyRecommendationOperation_TextAdParameters.Merge(m, 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.v2.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_f11a792b35286279, []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 (m *ApplyRecommendationOperation_KeywordParameters) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApplyRecommendationOperation_KeywordParameters.Merge(m, 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_f11a792b35286279, []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 (m *ApplyRecommendationOperation_TargetCpaOptInParameters) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApplyRecommendationOperation_TargetCpaOptInParameters.Merge(m, 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 -} - -// Parameters to use when applying callout extension recommendation. -type ApplyRecommendationOperation_CalloutExtensionParameters struct { - // Callout extensions to be added. This is a required field. - CalloutExtensions []*common.CalloutFeedItem `protobuf:"bytes,1,rep,name=callout_extensions,json=calloutExtensions,proto3" json:"callout_extensions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ApplyRecommendationOperation_CalloutExtensionParameters) Reset() { - *m = ApplyRecommendationOperation_CalloutExtensionParameters{} -} -func (m *ApplyRecommendationOperation_CalloutExtensionParameters) String() string { - return proto.CompactTextString(m) -} -func (*ApplyRecommendationOperation_CalloutExtensionParameters) ProtoMessage() {} -func (*ApplyRecommendationOperation_CalloutExtensionParameters) Descriptor() ([]byte, []int) { - return fileDescriptor_f11a792b35286279, []int{2, 4} -} - -func (m *ApplyRecommendationOperation_CalloutExtensionParameters) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ApplyRecommendationOperation_CalloutExtensionParameters.Unmarshal(m, b) -} -func (m *ApplyRecommendationOperation_CalloutExtensionParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ApplyRecommendationOperation_CalloutExtensionParameters.Marshal(b, m, deterministic) -} -func (m *ApplyRecommendationOperation_CalloutExtensionParameters) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApplyRecommendationOperation_CalloutExtensionParameters.Merge(m, src) -} -func (m *ApplyRecommendationOperation_CalloutExtensionParameters) XXX_Size() int { - return xxx_messageInfo_ApplyRecommendationOperation_CalloutExtensionParameters.Size(m) -} -func (m *ApplyRecommendationOperation_CalloutExtensionParameters) XXX_DiscardUnknown() { - xxx_messageInfo_ApplyRecommendationOperation_CalloutExtensionParameters.DiscardUnknown(m) -} - -var xxx_messageInfo_ApplyRecommendationOperation_CalloutExtensionParameters proto.InternalMessageInfo - -func (m *ApplyRecommendationOperation_CalloutExtensionParameters) GetCalloutExtensions() []*common.CalloutFeedItem { - if m != nil { - return m.CalloutExtensions - } - return nil -} - -// Parameters to use when applying call extension recommendation. -type ApplyRecommendationOperation_CallExtensionParameters struct { - // Call extensions to be added. This is a required field. - CallExtensions []*common.CallFeedItem `protobuf:"bytes,1,rep,name=call_extensions,json=callExtensions,proto3" json:"call_extensions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ApplyRecommendationOperation_CallExtensionParameters) Reset() { - *m = ApplyRecommendationOperation_CallExtensionParameters{} -} -func (m *ApplyRecommendationOperation_CallExtensionParameters) String() string { - return proto.CompactTextString(m) -} -func (*ApplyRecommendationOperation_CallExtensionParameters) ProtoMessage() {} -func (*ApplyRecommendationOperation_CallExtensionParameters) Descriptor() ([]byte, []int) { - return fileDescriptor_f11a792b35286279, []int{2, 5} -} - -func (m *ApplyRecommendationOperation_CallExtensionParameters) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ApplyRecommendationOperation_CallExtensionParameters.Unmarshal(m, b) -} -func (m *ApplyRecommendationOperation_CallExtensionParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ApplyRecommendationOperation_CallExtensionParameters.Marshal(b, m, deterministic) -} -func (m *ApplyRecommendationOperation_CallExtensionParameters) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApplyRecommendationOperation_CallExtensionParameters.Merge(m, src) -} -func (m *ApplyRecommendationOperation_CallExtensionParameters) XXX_Size() int { - return xxx_messageInfo_ApplyRecommendationOperation_CallExtensionParameters.Size(m) -} -func (m *ApplyRecommendationOperation_CallExtensionParameters) XXX_DiscardUnknown() { - xxx_messageInfo_ApplyRecommendationOperation_CallExtensionParameters.DiscardUnknown(m) -} - -var xxx_messageInfo_ApplyRecommendationOperation_CallExtensionParameters proto.InternalMessageInfo - -func (m *ApplyRecommendationOperation_CallExtensionParameters) GetCallExtensions() []*common.CallFeedItem { - if m != nil { - return m.CallExtensions - } - return nil -} - -// Parameters to use when applying sitelink extension recommendation. -type ApplyRecommendationOperation_SitelinkExtensionParameters struct { - // Sitelink extensions to be added. This is a required field. - SitelinkExtensions []*common.SitelinkFeedItem `protobuf:"bytes,1,rep,name=sitelink_extensions,json=sitelinkExtensions,proto3" json:"sitelink_extensions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ApplyRecommendationOperation_SitelinkExtensionParameters) Reset() { - *m = ApplyRecommendationOperation_SitelinkExtensionParameters{} -} -func (m *ApplyRecommendationOperation_SitelinkExtensionParameters) String() string { - return proto.CompactTextString(m) -} -func (*ApplyRecommendationOperation_SitelinkExtensionParameters) ProtoMessage() {} -func (*ApplyRecommendationOperation_SitelinkExtensionParameters) Descriptor() ([]byte, []int) { - return fileDescriptor_f11a792b35286279, []int{2, 6} -} - -func (m *ApplyRecommendationOperation_SitelinkExtensionParameters) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ApplyRecommendationOperation_SitelinkExtensionParameters.Unmarshal(m, b) -} -func (m *ApplyRecommendationOperation_SitelinkExtensionParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ApplyRecommendationOperation_SitelinkExtensionParameters.Marshal(b, m, deterministic) -} -func (m *ApplyRecommendationOperation_SitelinkExtensionParameters) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApplyRecommendationOperation_SitelinkExtensionParameters.Merge(m, src) -} -func (m *ApplyRecommendationOperation_SitelinkExtensionParameters) XXX_Size() int { - return xxx_messageInfo_ApplyRecommendationOperation_SitelinkExtensionParameters.Size(m) -} -func (m *ApplyRecommendationOperation_SitelinkExtensionParameters) XXX_DiscardUnknown() { - xxx_messageInfo_ApplyRecommendationOperation_SitelinkExtensionParameters.DiscardUnknown(m) -} - -var xxx_messageInfo_ApplyRecommendationOperation_SitelinkExtensionParameters proto.InternalMessageInfo - -func (m *ApplyRecommendationOperation_SitelinkExtensionParameters) GetSitelinkExtensions() []*common.SitelinkFeedItem { - if m != nil { - return m.SitelinkExtensions - } - return nil -} - -// Parameters to use when applying move unused budget recommendation. -type ApplyRecommendationOperation_MoveUnusedBudgetParameters struct { - // Budget amount to move from excess budget to constrained budget. This is - // a required field. - BudgetMicrosToMove *wrappers.Int64Value `protobuf:"bytes,1,opt,name=budget_micros_to_move,json=budgetMicrosToMove,proto3" json:"budget_micros_to_move,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ApplyRecommendationOperation_MoveUnusedBudgetParameters) Reset() { - *m = ApplyRecommendationOperation_MoveUnusedBudgetParameters{} -} -func (m *ApplyRecommendationOperation_MoveUnusedBudgetParameters) String() string { - return proto.CompactTextString(m) -} -func (*ApplyRecommendationOperation_MoveUnusedBudgetParameters) ProtoMessage() {} -func (*ApplyRecommendationOperation_MoveUnusedBudgetParameters) Descriptor() ([]byte, []int) { - return fileDescriptor_f11a792b35286279, []int{2, 7} -} - -func (m *ApplyRecommendationOperation_MoveUnusedBudgetParameters) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ApplyRecommendationOperation_MoveUnusedBudgetParameters.Unmarshal(m, b) -} -func (m *ApplyRecommendationOperation_MoveUnusedBudgetParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ApplyRecommendationOperation_MoveUnusedBudgetParameters.Marshal(b, m, deterministic) -} -func (m *ApplyRecommendationOperation_MoveUnusedBudgetParameters) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApplyRecommendationOperation_MoveUnusedBudgetParameters.Merge(m, src) -} -func (m *ApplyRecommendationOperation_MoveUnusedBudgetParameters) XXX_Size() int { - return xxx_messageInfo_ApplyRecommendationOperation_MoveUnusedBudgetParameters.Size(m) -} -func (m *ApplyRecommendationOperation_MoveUnusedBudgetParameters) XXX_DiscardUnknown() { - xxx_messageInfo_ApplyRecommendationOperation_MoveUnusedBudgetParameters.DiscardUnknown(m) -} - -var xxx_messageInfo_ApplyRecommendationOperation_MoveUnusedBudgetParameters proto.InternalMessageInfo - -func (m *ApplyRecommendationOperation_MoveUnusedBudgetParameters) GetBudgetMicrosToMove() *wrappers.Int64Value { - if m != nil { - return m.BudgetMicrosToMove - } - return nil -} - -// Response message for [RecommendationService.ApplyRecommendation][google.ads.googleads.v2.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_f11a792b35286279, []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 (m *ApplyRecommendationResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApplyRecommendationResponse.Merge(m, 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_f11a792b35286279, []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 (m *ApplyRecommendationResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApplyRecommendationResult.Merge(m, 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.v2.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"` - // 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"` - // 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"` - 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_f11a792b35286279, []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 (m *DismissRecommendationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DismissRecommendationRequest.Merge(m, 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) GetOperations() []*DismissRecommendationRequest_DismissRecommendationOperation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *DismissRecommendationRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -// 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_f11a792b35286279, []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 (m *DismissRecommendationRequest_DismissRecommendationOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_DismissRecommendationRequest_DismissRecommendationOperation.Merge(m, 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.v2.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_f11a792b35286279, []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 (m *DismissRecommendationResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DismissRecommendationResponse.Merge(m, 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_f11a792b35286279, []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 (m *DismissRecommendationResponse_DismissRecommendationResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_DismissRecommendationResponse_DismissRecommendationResult.Merge(m, 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.v2.services.GetRecommendationRequest") - proto.RegisterType((*ApplyRecommendationRequest)(nil), "google.ads.googleads.v2.services.ApplyRecommendationRequest") - proto.RegisterType((*ApplyRecommendationOperation)(nil), "google.ads.googleads.v2.services.ApplyRecommendationOperation") - proto.RegisterType((*ApplyRecommendationOperation_CampaignBudgetParameters)(nil), "google.ads.googleads.v2.services.ApplyRecommendationOperation.CampaignBudgetParameters") - proto.RegisterType((*ApplyRecommendationOperation_TextAdParameters)(nil), "google.ads.googleads.v2.services.ApplyRecommendationOperation.TextAdParameters") - proto.RegisterType((*ApplyRecommendationOperation_KeywordParameters)(nil), "google.ads.googleads.v2.services.ApplyRecommendationOperation.KeywordParameters") - proto.RegisterType((*ApplyRecommendationOperation_TargetCpaOptInParameters)(nil), "google.ads.googleads.v2.services.ApplyRecommendationOperation.TargetCpaOptInParameters") - proto.RegisterType((*ApplyRecommendationOperation_CalloutExtensionParameters)(nil), "google.ads.googleads.v2.services.ApplyRecommendationOperation.CalloutExtensionParameters") - proto.RegisterType((*ApplyRecommendationOperation_CallExtensionParameters)(nil), "google.ads.googleads.v2.services.ApplyRecommendationOperation.CallExtensionParameters") - proto.RegisterType((*ApplyRecommendationOperation_SitelinkExtensionParameters)(nil), "google.ads.googleads.v2.services.ApplyRecommendationOperation.SitelinkExtensionParameters") - proto.RegisterType((*ApplyRecommendationOperation_MoveUnusedBudgetParameters)(nil), "google.ads.googleads.v2.services.ApplyRecommendationOperation.MoveUnusedBudgetParameters") - proto.RegisterType((*ApplyRecommendationResponse)(nil), "google.ads.googleads.v2.services.ApplyRecommendationResponse") - proto.RegisterType((*ApplyRecommendationResult)(nil), "google.ads.googleads.v2.services.ApplyRecommendationResult") - proto.RegisterType((*DismissRecommendationRequest)(nil), "google.ads.googleads.v2.services.DismissRecommendationRequest") - proto.RegisterType((*DismissRecommendationRequest_DismissRecommendationOperation)(nil), "google.ads.googleads.v2.services.DismissRecommendationRequest.DismissRecommendationOperation") - proto.RegisterType((*DismissRecommendationResponse)(nil), "google.ads.googleads.v2.services.DismissRecommendationResponse") - proto.RegisterType((*DismissRecommendationResponse_DismissRecommendationResult)(nil), "google.ads.googleads.v2.services.DismissRecommendationResponse.DismissRecommendationResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/recommendation_service.proto", fileDescriptor_f11a792b35286279) -} - -var fileDescriptor_f11a792b35286279 = []byte{ - // 1350 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0x41, 0x73, 0xdb, 0x44, - 0x14, 0x46, 0x0a, 0x6d, 0xda, 0x97, 0x36, 0x8d, 0xb7, 0x93, 0xa9, 0x51, 0xd2, 0x12, 0x4c, 0x19, - 0x32, 0x19, 0x46, 0xa2, 0x2e, 0x2d, 0xa0, 0x92, 0xb6, 0x4e, 0x9b, 0xa6, 0x19, 0xa6, 0x6d, 0x46, - 0x49, 0xc3, 0x50, 0x42, 0x35, 0x1b, 0x69, 0x6b, 0x44, 0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b, - 0xa6, 0x29, 0x97, 0x6d, 0x1e, 0x16, 0x71, 0x9e, 0xff, 0x37, 0x00, 0x00, 0xff, 0xff, 0x54, 0xc3, - 0xb4, 0x0f, 0x7c, 0x12, 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 - -// 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.v2.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.v2.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.v2.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) -} - -// UnimplementedRecommendationServiceServer can be embedded to have forward compatible implementations. -type UnimplementedRecommendationServiceServer struct { -} - -func (*UnimplementedRecommendationServiceServer) GetRecommendation(ctx context.Context, req *GetRecommendationRequest) (*resources.Recommendation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetRecommendation not implemented") -} -func (*UnimplementedRecommendationServiceServer) ApplyRecommendation(ctx context.Context, req *ApplyRecommendationRequest) (*ApplyRecommendationResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ApplyRecommendation not implemented") -} -func (*UnimplementedRecommendationServiceServer) DismissRecommendation(ctx context.Context, req *DismissRecommendationRequest) (*DismissRecommendationResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method DismissRecommendation not implemented") -} - -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.v2.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.v2.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.v2.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.v2.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/v2/services/recommendation_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/remarketing_action_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/remarketing_action_service.pb.go deleted file mode 100644 index 29b1a5e9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/remarketing_action_service.pb.go +++ /dev/null @@ -1,510 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/remarketing_action_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [RemarketingActionService.GetRemarketingAction][google.ads.googleads.v2.services.RemarketingActionService.GetRemarketingAction]. -type GetRemarketingActionRequest struct { - // The resource name of the remarketing 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 *GetRemarketingActionRequest) Reset() { *m = GetRemarketingActionRequest{} } -func (m *GetRemarketingActionRequest) String() string { return proto.CompactTextString(m) } -func (*GetRemarketingActionRequest) ProtoMessage() {} -func (*GetRemarketingActionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_df39c8bb012d2552, []int{0} -} - -func (m *GetRemarketingActionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetRemarketingActionRequest.Unmarshal(m, b) -} -func (m *GetRemarketingActionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetRemarketingActionRequest.Marshal(b, m, deterministic) -} -func (m *GetRemarketingActionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRemarketingActionRequest.Merge(m, src) -} -func (m *GetRemarketingActionRequest) XXX_Size() int { - return xxx_messageInfo_GetRemarketingActionRequest.Size(m) -} -func (m *GetRemarketingActionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetRemarketingActionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetRemarketingActionRequest proto.InternalMessageInfo - -func (m *GetRemarketingActionRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Request message for [RemarketingActionService.MutateRemarketingActions][google.ads.googleads.v2.services.RemarketingActionService.MutateRemarketingActions]. -type MutateRemarketingActionsRequest struct { - // The ID of the customer whose remarketing 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 remarketing actions. - Operations []*RemarketingActionOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateRemarketingActionsRequest) Reset() { *m = MutateRemarketingActionsRequest{} } -func (m *MutateRemarketingActionsRequest) String() string { return proto.CompactTextString(m) } -func (*MutateRemarketingActionsRequest) ProtoMessage() {} -func (*MutateRemarketingActionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_df39c8bb012d2552, []int{1} -} - -func (m *MutateRemarketingActionsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateRemarketingActionsRequest.Unmarshal(m, b) -} -func (m *MutateRemarketingActionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateRemarketingActionsRequest.Marshal(b, m, deterministic) -} -func (m *MutateRemarketingActionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateRemarketingActionsRequest.Merge(m, src) -} -func (m *MutateRemarketingActionsRequest) XXX_Size() int { - return xxx_messageInfo_MutateRemarketingActionsRequest.Size(m) -} -func (m *MutateRemarketingActionsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateRemarketingActionsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateRemarketingActionsRequest proto.InternalMessageInfo - -func (m *MutateRemarketingActionsRequest) GetCustomerId() string { - if m != nil { - return m.CustomerId - } - return "" -} - -func (m *MutateRemarketingActionsRequest) GetOperations() []*RemarketingActionOperation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *MutateRemarketingActionsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateRemarketingActionsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// A single operation (create, update) on a remarketing action. -type RemarketingActionOperation 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: - // *RemarketingActionOperation_Create - // *RemarketingActionOperation_Update - Operation isRemarketingActionOperation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RemarketingActionOperation) Reset() { *m = RemarketingActionOperation{} } -func (m *RemarketingActionOperation) String() string { return proto.CompactTextString(m) } -func (*RemarketingActionOperation) ProtoMessage() {} -func (*RemarketingActionOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_df39c8bb012d2552, []int{2} -} - -func (m *RemarketingActionOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemarketingActionOperation.Unmarshal(m, b) -} -func (m *RemarketingActionOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemarketingActionOperation.Marshal(b, m, deterministic) -} -func (m *RemarketingActionOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemarketingActionOperation.Merge(m, src) -} -func (m *RemarketingActionOperation) XXX_Size() int { - return xxx_messageInfo_RemarketingActionOperation.Size(m) -} -func (m *RemarketingActionOperation) XXX_DiscardUnknown() { - xxx_messageInfo_RemarketingActionOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_RemarketingActionOperation proto.InternalMessageInfo - -func (m *RemarketingActionOperation) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -type isRemarketingActionOperation_Operation interface { - isRemarketingActionOperation_Operation() -} - -type RemarketingActionOperation_Create struct { - Create *resources.RemarketingAction `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type RemarketingActionOperation_Update struct { - Update *resources.RemarketingAction `protobuf:"bytes,2,opt,name=update,proto3,oneof"` -} - -func (*RemarketingActionOperation_Create) isRemarketingActionOperation_Operation() {} - -func (*RemarketingActionOperation_Update) isRemarketingActionOperation_Operation() {} - -func (m *RemarketingActionOperation) GetOperation() isRemarketingActionOperation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *RemarketingActionOperation) GetCreate() *resources.RemarketingAction { - if x, ok := m.GetOperation().(*RemarketingActionOperation_Create); ok { - return x.Create - } - return nil -} - -func (m *RemarketingActionOperation) GetUpdate() *resources.RemarketingAction { - if x, ok := m.GetOperation().(*RemarketingActionOperation_Update); ok { - return x.Update - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*RemarketingActionOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*RemarketingActionOperation_Create)(nil), - (*RemarketingActionOperation_Update)(nil), - } -} - -// Response message for remarketing action mutate. -type MutateRemarketingActionsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // All results for the mutate. - Results []*MutateRemarketingActionResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateRemarketingActionsResponse) Reset() { *m = MutateRemarketingActionsResponse{} } -func (m *MutateRemarketingActionsResponse) String() string { return proto.CompactTextString(m) } -func (*MutateRemarketingActionsResponse) ProtoMessage() {} -func (*MutateRemarketingActionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_df39c8bb012d2552, []int{3} -} - -func (m *MutateRemarketingActionsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateRemarketingActionsResponse.Unmarshal(m, b) -} -func (m *MutateRemarketingActionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateRemarketingActionsResponse.Marshal(b, m, deterministic) -} -func (m *MutateRemarketingActionsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateRemarketingActionsResponse.Merge(m, src) -} -func (m *MutateRemarketingActionsResponse) XXX_Size() int { - return xxx_messageInfo_MutateRemarketingActionsResponse.Size(m) -} -func (m *MutateRemarketingActionsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateRemarketingActionsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateRemarketingActionsResponse proto.InternalMessageInfo - -func (m *MutateRemarketingActionsResponse) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -func (m *MutateRemarketingActionsResponse) GetResults() []*MutateRemarketingActionResult { - if m != nil { - return m.Results - } - return nil -} - -// The result for the remarketing action mutate. -type MutateRemarketingActionResult 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 *MutateRemarketingActionResult) Reset() { *m = MutateRemarketingActionResult{} } -func (m *MutateRemarketingActionResult) String() string { return proto.CompactTextString(m) } -func (*MutateRemarketingActionResult) ProtoMessage() {} -func (*MutateRemarketingActionResult) Descriptor() ([]byte, []int) { - return fileDescriptor_df39c8bb012d2552, []int{4} -} - -func (m *MutateRemarketingActionResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateRemarketingActionResult.Unmarshal(m, b) -} -func (m *MutateRemarketingActionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateRemarketingActionResult.Marshal(b, m, deterministic) -} -func (m *MutateRemarketingActionResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateRemarketingActionResult.Merge(m, src) -} -func (m *MutateRemarketingActionResult) XXX_Size() int { - return xxx_messageInfo_MutateRemarketingActionResult.Size(m) -} -func (m *MutateRemarketingActionResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutateRemarketingActionResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateRemarketingActionResult proto.InternalMessageInfo - -func (m *MutateRemarketingActionResult) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetRemarketingActionRequest)(nil), "google.ads.googleads.v2.services.GetRemarketingActionRequest") - proto.RegisterType((*MutateRemarketingActionsRequest)(nil), "google.ads.googleads.v2.services.MutateRemarketingActionsRequest") - proto.RegisterType((*RemarketingActionOperation)(nil), "google.ads.googleads.v2.services.RemarketingActionOperation") - proto.RegisterType((*MutateRemarketingActionsResponse)(nil), "google.ads.googleads.v2.services.MutateRemarketingActionsResponse") - proto.RegisterType((*MutateRemarketingActionResult)(nil), "google.ads.googleads.v2.services.MutateRemarketingActionResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/remarketing_action_service.proto", fileDescriptor_df39c8bb012d2552) -} - -var fileDescriptor_df39c8bb012d2552 = []byte{ - // 713 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0xdd, 0x6a, 0xd4, 0x4c, - 0x18, 0xc7, 0xdf, 0x64, 0x5f, 0xfa, 0xbe, 0x9d, 0xad, 0x0a, 0xa3, 0x62, 0x48, 0x2d, 0x5d, 0x62, - 0xc1, 0xb2, 0x07, 0x09, 0xc4, 0xa2, 0x90, 0xb6, 0x48, 0x16, 0x6d, 0xeb, 0x41, 0x3f, 0x48, 0xa1, - 0xa0, 0x2c, 0x84, 0x69, 0x32, 0x0d, 0xa1, 0x49, 0x26, 0xce, 0x4c, 0x16, 0x4a, 0xe9, 0x89, 0x88, - 0x37, 0xe0, 0x1d, 0x78, 0xe8, 0x7d, 0x78, 0x60, 0x4f, 0xbd, 0x05, 0x3d, 0x51, 0xf0, 0x1a, 0x24, - 0x99, 0xcc, 0x6e, 0xdb, 0x6d, 0xba, 0xd2, 0x9e, 0x3d, 0x3b, 0xf3, 0xcf, 0xef, 0xf9, 0x9c, 0x67, - 0x81, 0x1b, 0x11, 0x12, 0x25, 0xd8, 0x42, 0x21, 0xb3, 0x84, 0x59, 0x5a, 0x03, 0xdb, 0x62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d, 0xda, 0x31, 0x3b, 0x95, 0x92, 0xbe, 0x1b, 0xb2, 0xfe, 0x50, 0xd2, - 0xdf, 0xb3, 0xfb, 0x52, 0xf2, 0x53, 0x5d, 0x10, 0xe7, 0x8e, 0xe3, 0x86, 0xcc, 0x71, 0x86, 0x22, - 0xc7, 0xd9, 0xb3, 0x1d, 0x47, 0xca, 0xf6, 0xa7, 0xaa, 0x38, 0x9f, 0xfc, 0x09, 0x00, 0x00, 0xff, - 0xff, 0x4c, 0x97, 0x7f, 0x41, 0x5c, 0x07, 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 - -// RemarketingActionServiceClient is the client API for RemarketingActionService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RemarketingActionServiceClient interface { - // Returns the requested remarketing action in full detail. - GetRemarketingAction(ctx context.Context, in *GetRemarketingActionRequest, opts ...grpc.CallOption) (*resources.RemarketingAction, error) - // Creates or updates remarketing actions. Operation statuses are returned. - MutateRemarketingActions(ctx context.Context, in *MutateRemarketingActionsRequest, opts ...grpc.CallOption) (*MutateRemarketingActionsResponse, error) -} - -type remarketingActionServiceClient struct { - cc *grpc.ClientConn -} - -func NewRemarketingActionServiceClient(cc *grpc.ClientConn) RemarketingActionServiceClient { - return &remarketingActionServiceClient{cc} -} - -func (c *remarketingActionServiceClient) GetRemarketingAction(ctx context.Context, in *GetRemarketingActionRequest, opts ...grpc.CallOption) (*resources.RemarketingAction, error) { - out := new(resources.RemarketingAction) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.RemarketingActionService/GetRemarketingAction", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *remarketingActionServiceClient) MutateRemarketingActions(ctx context.Context, in *MutateRemarketingActionsRequest, opts ...grpc.CallOption) (*MutateRemarketingActionsResponse, error) { - out := new(MutateRemarketingActionsResponse) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.RemarketingActionService/MutateRemarketingActions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RemarketingActionServiceServer is the server API for RemarketingActionService service. -type RemarketingActionServiceServer interface { - // Returns the requested remarketing action in full detail. - GetRemarketingAction(context.Context, *GetRemarketingActionRequest) (*resources.RemarketingAction, error) - // Creates or updates remarketing actions. Operation statuses are returned. - MutateRemarketingActions(context.Context, *MutateRemarketingActionsRequest) (*MutateRemarketingActionsResponse, error) -} - -// UnimplementedRemarketingActionServiceServer can be embedded to have forward compatible implementations. -type UnimplementedRemarketingActionServiceServer struct { -} - -func (*UnimplementedRemarketingActionServiceServer) GetRemarketingAction(ctx context.Context, req *GetRemarketingActionRequest) (*resources.RemarketingAction, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetRemarketingAction not implemented") -} -func (*UnimplementedRemarketingActionServiceServer) MutateRemarketingActions(ctx context.Context, req *MutateRemarketingActionsRequest) (*MutateRemarketingActionsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateRemarketingActions not implemented") -} - -func RegisterRemarketingActionServiceServer(s *grpc.Server, srv RemarketingActionServiceServer) { - s.RegisterService(&_RemarketingActionService_serviceDesc, srv) -} - -func _RemarketingActionService_GetRemarketingAction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRemarketingActionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RemarketingActionServiceServer).GetRemarketingAction(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.RemarketingActionService/GetRemarketingAction", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RemarketingActionServiceServer).GetRemarketingAction(ctx, req.(*GetRemarketingActionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RemarketingActionService_MutateRemarketingActions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateRemarketingActionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RemarketingActionServiceServer).MutateRemarketingActions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.RemarketingActionService/MutateRemarketingActions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RemarketingActionServiceServer).MutateRemarketingActions(ctx, req.(*MutateRemarketingActionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _RemarketingActionService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.RemarketingActionService", - HandlerType: (*RemarketingActionServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetRemarketingAction", - Handler: _RemarketingActionService_GetRemarketingAction_Handler, - }, - { - MethodName: "MutateRemarketingActions", - Handler: _RemarketingActionService_MutateRemarketingActions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/remarketing_action_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/search_term_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/search_term_view_service.pb.go deleted file mode 100644 index d08cf638..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/search_term_view_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/search_term_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [SearchTermViewService.GetSearchTermView][google.ads.googleads.v2.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_1e88e47a718a69f1, []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 (m *GetSearchTermViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetSearchTermViewRequest.Merge(m, 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.v2.services.GetSearchTermViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/search_term_view_service.proto", fileDescriptor_1e88e47a718a69f1) -} - -var fileDescriptor_1e88e47a718a69f1 = []byte{ - // 393 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xcd, 0xaa, 0xd3, 0x40, - 0x14, 0x26, 0x11, 0x04, 0x83, 0x2e, 0x0c, 0x88, 0x25, 0xba, 0x28, 0xb5, 0x0b, 0xe9, 0x62, 0x86, - 0xa6, 0x1b, 0x1d, 0x91, 0x92, 0x6e, 0xea, 0x4a, 0x4a, 0x2b, 0x59, 0x48, 0x20, 0x8c, 0xc9, 0x21, - 0x06, 0x9a, 0x4c, 0x9d, 0x33, 0x4d, 0x17, 0xe2, 0x42, 0x5f, 0xc1, 0x37, 0x70, 0xe9, 0x3b, 0xf8, - 0x02, 0xdd, 0xfa, 0x0a, 0x77, 0x75, 0xd7, 0xf7, 0x01, 0x2e, 0xe9, 0x64, 0xd2, 0x5b, 0x6e, 0x43, - 0x77, 0x1f, 0x73, 0xbe, 0x9f, 0x73, 0xbe, 0xc4, 0x99, 0x66, 0x42, 0x64, 0x6b, 0xa0, 0x3c, 0x45, - 0xaa, 0x61, 0x8d, 0x2a, 0x9f, 0x22, 0xc8, 0x2a, 0x4f, 0x00, 0x29, 0x02, 0x97, 0xc9, 0xd7, 0x58, - 0x81, 0x2c, 0xe2, 0x2a, 0x87, 0x5d, 0xdc, 0x4c, 0xc8, 0x46, 0x0a, 0x25, 0xdc, 0xbe, 0x56, 0x11, - 0x9e, 0x22, 0x69, 0x0d, 0x48, 0xe5, 0x13, 0x63, 0xe0, 0xbd, 0xe9, 0x8a, 0x90, 0x80, 0x62, 0x2b, - 0xcf, 0x65, 0x68, 0x6f, 0xef, 0xa5, 0x51, 0x6e, 0x72, 0xca, 0xcb, 0x52,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x14, 0x89, 0x86, 0x35, 0x0a, 0x7d, 0xd2, 0x04, 0xe3, 0xde, 0x50, 0xa2, 0x20, 0xc5, 0xa8, - 0xa5, 0x44, 0xa1, 0x1f, 0x19, 0xca, 0xb5, 0x3d, 0xd4, 0xef, 0x8c, 0x05, 0x29, 0x32, 0xd6, 0x92, - 0x18, 0x0b, 0x7d, 0xc6, 0x0c, 0xed, 0xcb, 0xc3, 0xc3, 0x9e, 0x93, 0xdb, 0x00, 0x00, 0x00, 0xff, - 0xff, 0xce, 0xe1, 0x7e, 0xc0, 0x18, 0x03, 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 - -// 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.v2.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) -} - -// UnimplementedSearchTermViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedSearchTermViewServiceServer struct { -} - -func (*UnimplementedSearchTermViewServiceServer) GetSearchTermView(ctx context.Context, req *GetSearchTermViewRequest) (*resources.SearchTermView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetSearchTermView not implemented") -} - -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.v2.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.v2.services.SearchTermViewService", - HandlerType: (*SearchTermViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetSearchTermView", - Handler: _SearchTermViewService_GetSearchTermView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/search_term_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/shared_criterion_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/shared_criterion_service.pb.go deleted file mode 100644 index 0e029bc1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/shared_criterion_service.pb.go +++ /dev/null @@ -1,497 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/shared_criterion_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [SharedCriterionService.GetSharedCriterion][google.ads.googleads.v2.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_8972b6dd5d4dfeaa, []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 (m *GetSharedCriterionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetSharedCriterionRequest.Merge(m, 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.v2.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_8972b6dd5d4dfeaa, []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 (m *MutateSharedCriteriaRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateSharedCriteriaRequest.Merge(m, 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 -} - -func (m *MutateSharedCriteriaRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateSharedCriteriaRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_8972b6dd5d4dfeaa, []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 (m *SharedCriterionOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_SharedCriterionOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*SharedCriterionOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*SharedCriterionOperation_Create)(nil), - (*SharedCriterionOperation_Remove)(nil), - } -} - -// Response message for a shared criterion mutate. -type MutateSharedCriteriaResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_8972b6dd5d4dfeaa, []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 (m *MutateSharedCriteriaResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateSharedCriteriaResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_8972b6dd5d4dfeaa, []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 (m *MutateSharedCriterionResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateSharedCriterionResult.Merge(m, 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.v2.services.GetSharedCriterionRequest") - proto.RegisterType((*MutateSharedCriteriaRequest)(nil), "google.ads.googleads.v2.services.MutateSharedCriteriaRequest") - proto.RegisterType((*SharedCriterionOperation)(nil), "google.ads.googleads.v2.services.SharedCriterionOperation") - proto.RegisterType((*MutateSharedCriteriaResponse)(nil), "google.ads.googleads.v2.services.MutateSharedCriteriaResponse") - proto.RegisterType((*MutateSharedCriterionResult)(nil), "google.ads.googleads.v2.services.MutateSharedCriterionResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/shared_criterion_service.proto", fileDescriptor_8972b6dd5d4dfeaa) -} - -var fileDescriptor_8972b6dd5d4dfeaa = []byte{ - // 668 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xdf, 0x6a, 0xd4, 0x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bf, 0x2c, 0xf6, 0x5c, 0xd5, 0x72, 0xc9, 0xc7, 0x9c, 0x70, - 0x01, 0x1f, 0x81, 0x1b, 0x8a, 0x90, 0x97, 0xe2, 0x84, 0xe8, 0x5a, 0x4f, 0x5b, 0x99, 0x77, 0x17, - 0x94, 0xf3, 0x0d, 0x4e, 0x88, 0xf1, 0x4b, 0x03, 0x8b, 0xaf, 0x73, 0x81, 0x05, 0xb9, 0x82, 0x82, - 0x15, 0xc8, 0x43, 0xd0, 0xf1, 0x73, 0x2e, 0x68, 0x42, 0x98, 0x17, 0x05, 0x15, 0x04, 0x50, 0xae, - 0x97, 0x01, 0x3c, 0x04, 0x80, 0x66, 0x84, 0x49, 0x21, 0x7a, 0xab, 0xd7, 0x5e, 0xe9, 0x58, 0x36, - 0x9a, 0xd6, 0x43, 0x54, 0xe3, 0xbc, 0xab, 0x20, 0xdc, 0x4b, 0x68, 0xf0, 0x31, 0xb8, 0x95, 0x61, - 0x26, 0x22, 0x1c, 0x7b, 0xef, 0x71, 0x14, 0xe7, 0x8c, 0xe8, 0xed, 0x9e, 0xb6, 0x72, 0xdd, 0xbd, - 0x59, 0xb9, 0xb7, 0xa4, 0xb7, 0x90, 0x3a, 0xc2, 0x71, 0x14, 0x60, 0x41, 0x3c, 0x9a, 0xc6, 0x47, - 0xfa, 0xff, 0x65, 0xda, 0x82, 0x72, 0xee, 0xa6, 0xf1, 0x91, 0xf1, 0x49, 0x03, 0xfa, 0xa4, 0xb2, - 0xf0, 0x15, 0x98, 0xf3, 0x19, 0xc1, 0x42, 0x76, 0xa9, 0x63, 0x59, 0x13, 0x25, 0x8c, 0x87, 0x5c, - 0xd7, 0xb0, 0xf3, 0x9f, 0x5b, 0x61, 0x40, 0x1d, 0xcc, 0x31, 0x92, 0xd0, 0x91, 0xe4, 0x3b, 0x5f, - 0x44, 0xe4, 0xf7, 0xa0, 0x03, 0xe6, 0xc7, 0x02, 0x8d, 0x33, 0x0d, 0x2c, 0x35, 0x37, 0x9f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1, 0x79, 0xee, 0x7b, 0xc5, 0xcf, 0x6d, 0x4f, 0x3b, 0xdc, 0xa9, 0x00, - 0x42, 0x1a, 0xe3, 0x34, 0x44, 0x94, 0x85, 0x66, 0x48, 0xd2, 0xf2, 0xd7, 0x67, 0x5e, 0x94, 0x9c, - 0xfc, 0xab, 0x5f, 0x57, 0xc6, 0x97, 0x56, 0x7b, 0xdb, 0x71, 0xbe, 0xb6, 0x7a, 0xdb, 0x12, 0xd0, - 0x09, 0x38, 0x92, 0x66, 0x61, 0x1d, 0x58, 0xa8, 0x2a, 0xcc, 0xcf, 0x55, 0xca, 0xd0, 0x09, 0xf8, - 0x70, 0x9c, 0x32, 0x3c, 0xb0, 0x86, 0x2a, 0xe5, 0x77, 0x6b, 0x59, 0xfa, 0x6d, 0xdb, 0x09, 0xb8, - 0x6d, 0x8f, 0x93, 0x6c, 0xfb, 0xc0, 0xb2, 0x6d, 0x95, 0xf6, 0x6e, 0xae, 0xe4, 0xb9, 0xfa, 0x27, - 0x00, 0x00, 0xff, 0xff, 0xd8, 0x56, 0x9f, 0xfe, 0x91, 0x06, 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 - -// 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.v2.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.v2.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) -} - -// UnimplementedSharedCriterionServiceServer can be embedded to have forward compatible implementations. -type UnimplementedSharedCriterionServiceServer struct { -} - -func (*UnimplementedSharedCriterionServiceServer) GetSharedCriterion(ctx context.Context, req *GetSharedCriterionRequest) (*resources.SharedCriterion, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetSharedCriterion not implemented") -} -func (*UnimplementedSharedCriterionServiceServer) MutateSharedCriteria(ctx context.Context, req *MutateSharedCriteriaRequest) (*MutateSharedCriteriaResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateSharedCriteria not implemented") -} - -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.v2.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.v2.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.v2.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/v2/services/shared_criterion_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/shared_set_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/shared_set_service.pb.go deleted file mode 100644 index 7f47a927..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/shared_set_service.pb.go +++ /dev/null @@ -1,525 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/shared_set_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [SharedSetService.GetSharedSet][google.ads.googleads.v2.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_00fe9b3f1ebbebff, []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 (m *GetSharedSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetSharedSetRequest.Merge(m, 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.v2.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_00fe9b3f1ebbebff, []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 (m *MutateSharedSetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateSharedSetsRequest.Merge(m, 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 -} - -func (m *MutateSharedSetsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateSharedSetsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_00fe9b3f1ebbebff, []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 (m *SharedSetOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_SharedSetOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*SharedSetOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*SharedSetOperation_Create)(nil), - (*SharedSetOperation_Update)(nil), - (*SharedSetOperation_Remove)(nil), - } -} - -// Response message for a shared set mutate. -type MutateSharedSetsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_00fe9b3f1ebbebff, []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 (m *MutateSharedSetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateSharedSetsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_00fe9b3f1ebbebff, []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 (m *MutateSharedSetResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateSharedSetResult.Merge(m, 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.v2.services.GetSharedSetRequest") - proto.RegisterType((*MutateSharedSetsRequest)(nil), "google.ads.googleads.v2.services.MutateSharedSetsRequest") - proto.RegisterType((*SharedSetOperation)(nil), "google.ads.googleads.v2.services.SharedSetOperation") - proto.RegisterType((*MutateSharedSetsResponse)(nil), "google.ads.googleads.v2.services.MutateSharedSetsResponse") - proto.RegisterType((*MutateSharedSetResult)(nil), "google.ads.googleads.v2.services.MutateSharedSetResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/shared_set_service.proto", fileDescriptor_00fe9b3f1ebbebff) -} - -var fileDescriptor_00fe9b3f1ebbebff = []byte{ - // 716 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0x4f, 0x4f, 0xd4, 0x4c, - 0x18, 0x7f, 0xbb, 0xfb, 0x86, 0xf7, 0x65, 0x16, 0x95, 0x0c, 0x21, 0x34, 0xab, 0x89, 0x9b, 0x4a, - 0x22, 0xd9, 0x90, 0x69, 0x52, 0x31, 0x86, 0x22, 0x87, 0x25, 0x11, 0xf0, 0x80, 0x60, 0xd7, 0x70, - 0x30, 0x9b, 0x34, 0x43, 0x3b, 0xac, 0x0d, 0x6d, 0xa7, 0xce, 0x4c, 0x37, 0x21, 0x84, 0x8b, 0x27, - 0xef, 0x7e, 0x03, 0x3d, 0xe9, 0xdd, 0x8f, 0xe0, 0x85, 0xab, 0x77, 0x4f, 0x9e, 0xfc, 0x0c, 0x1e, - 0xcc, 0x74, 0x3a, 0xdd, 0x65, 0x81, 0xac, 0x70, 0x7b, 0xf6, 0xe9, 0xef, 0xf7, 0x7b, 0xfe, 0xcf, - 0x82, 0xd5, 0x3e, 0xa5, 0xfd, 0x98, 0xd8, 0x38, 0xe4, 0xb6, 0x32, 0xa5, 0x35, 0x70, 0x6c, 0x4e, - 0xd8, 0x20, 0x0a, 0x08, 0xb7, 0xf9, 0x1b, 0xcc, 0x48, 0xe8, 0x73, 0x22, 0xfc, 0xd2, 0x87, 0x32, - 0x46, 0x05, 0x85, 0x2d, 0x85, 0x47, 0x38, 0xe4, 0xa8, 0xa2, 0xa2, 0x81, 0x83, 0x34, 0xb5, 0xe9, - 0x5c, 0x25, 0xce, 0x08, 0xa7, 0x39, 0x3b, 0xaf, 0xae, 0x54, 0x9b, 0xf7, 0x34, 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0xff, 0xfb, 0x76, 0x4c, 0x59, 0xce, 0x06, 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 - -// 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.v2.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.v2.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) -} - -// UnimplementedSharedSetServiceServer can be embedded to have forward compatible implementations. -type UnimplementedSharedSetServiceServer struct { -} - -func (*UnimplementedSharedSetServiceServer) GetSharedSet(ctx context.Context, req *GetSharedSetRequest) (*resources.SharedSet, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetSharedSet not implemented") -} -func (*UnimplementedSharedSetServiceServer) MutateSharedSets(ctx context.Context, req *MutateSharedSetsRequest) (*MutateSharedSetsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateSharedSets not implemented") -} - -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.v2.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.v2.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.v2.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/v2/services/shared_set_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/shopping_performance_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/shopping_performance_view_service.pb.go deleted file mode 100644 index 259c6bea..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/shopping_performance_view_service.pb.go +++ /dev/null @@ -1,189 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/shopping_performance_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [ShoppingPerformanceViewService.GetShoppingPerformanceView][google.ads.googleads.v2.services.ShoppingPerformanceViewService.GetShoppingPerformanceView]. -type GetShoppingPerformanceViewRequest struct { - // The resource name of the Shopping 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 *GetShoppingPerformanceViewRequest) Reset() { *m = GetShoppingPerformanceViewRequest{} } -func (m *GetShoppingPerformanceViewRequest) String() string { return proto.CompactTextString(m) } -func (*GetShoppingPerformanceViewRequest) ProtoMessage() {} -func (*GetShoppingPerformanceViewRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b48bc0ab6a318568, []int{0} -} - -func (m *GetShoppingPerformanceViewRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetShoppingPerformanceViewRequest.Unmarshal(m, b) -} -func (m *GetShoppingPerformanceViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetShoppingPerformanceViewRequest.Marshal(b, m, deterministic) -} -func (m *GetShoppingPerformanceViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetShoppingPerformanceViewRequest.Merge(m, src) -} -func (m *GetShoppingPerformanceViewRequest) XXX_Size() int { - return xxx_messageInfo_GetShoppingPerformanceViewRequest.Size(m) -} -func (m *GetShoppingPerformanceViewRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetShoppingPerformanceViewRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetShoppingPerformanceViewRequest proto.InternalMessageInfo - -func (m *GetShoppingPerformanceViewRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetShoppingPerformanceViewRequest)(nil), "google.ads.googleads.v2.services.GetShoppingPerformanceViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/shopping_performance_view_service.proto", fileDescriptor_b48bc0ab6a318568) -} - -var fileDescriptor_b48bc0ab6a318568 = []byte{ - // 399 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x3f, 0x6b, 0xdb, 0x40, - 0x18, 0xc6, 0x91, 0x0a, 0x85, 0x8a, 0x76, 0xd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0xff, 0xff, 0x38, 0x73, 0xb3, 0xf5, 0x66, 0x03, 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 - -// ShoppingPerformanceViewServiceClient is the client API for ShoppingPerformanceViewService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ShoppingPerformanceViewServiceClient interface { - // Returns the requested Shopping performance view in full detail. - GetShoppingPerformanceView(ctx context.Context, in *GetShoppingPerformanceViewRequest, opts ...grpc.CallOption) (*resources.ShoppingPerformanceView, error) -} - -type shoppingPerformanceViewServiceClient struct { - cc *grpc.ClientConn -} - -func NewShoppingPerformanceViewServiceClient(cc *grpc.ClientConn) ShoppingPerformanceViewServiceClient { - return &shoppingPerformanceViewServiceClient{cc} -} - -func (c *shoppingPerformanceViewServiceClient) GetShoppingPerformanceView(ctx context.Context, in *GetShoppingPerformanceViewRequest, opts ...grpc.CallOption) (*resources.ShoppingPerformanceView, error) { - out := new(resources.ShoppingPerformanceView) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.ShoppingPerformanceViewService/GetShoppingPerformanceView", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ShoppingPerformanceViewServiceServer is the server API for ShoppingPerformanceViewService service. -type ShoppingPerformanceViewServiceServer interface { - // Returns the requested Shopping performance view in full detail. - GetShoppingPerformanceView(context.Context, *GetShoppingPerformanceViewRequest) (*resources.ShoppingPerformanceView, error) -} - -// UnimplementedShoppingPerformanceViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedShoppingPerformanceViewServiceServer struct { -} - -func (*UnimplementedShoppingPerformanceViewServiceServer) GetShoppingPerformanceView(ctx context.Context, req *GetShoppingPerformanceViewRequest) (*resources.ShoppingPerformanceView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetShoppingPerformanceView not implemented") -} - -func RegisterShoppingPerformanceViewServiceServer(s *grpc.Server, srv ShoppingPerformanceViewServiceServer) { - s.RegisterService(&_ShoppingPerformanceViewService_serviceDesc, srv) -} - -func _ShoppingPerformanceViewService_GetShoppingPerformanceView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetShoppingPerformanceViewRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ShoppingPerformanceViewServiceServer).GetShoppingPerformanceView(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.ShoppingPerformanceViewService/GetShoppingPerformanceView", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ShoppingPerformanceViewServiceServer).GetShoppingPerformanceView(ctx, req.(*GetShoppingPerformanceViewRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ShoppingPerformanceViewService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.ShoppingPerformanceViewService", - HandlerType: (*ShoppingPerformanceViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetShoppingPerformanceView", - Handler: _ShoppingPerformanceViewService_GetShoppingPerformanceView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/shopping_performance_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/topic_constant_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/topic_constant_service.pb.go deleted file mode 100644 index 4b6fe2c8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/topic_constant_service.pb.go +++ /dev/null @@ -1,187 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/topic_constant_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [TopicConstantService.GetTopicConstant][google.ads.googleads.v2.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_8fa68112b91a9250, []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 (m *GetTopicConstantRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTopicConstantRequest.Merge(m, 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.v2.services.GetTopicConstantRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/topic_constant_service.proto", fileDescriptor_8fa68112b91a9250) -} - -var fileDescriptor_8fa68112b91a9250 = []byte{ - // 376 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xcf, 0x4a, 0xeb, 0x40, - 0x14, 0xc6, 0x49, 0x2e, 0x5c, 0xb8, 0xe1, 0x5e, 0xb8, 0x04, 0xa1, 0x35, 0xba, 0x28, 0xb5, 0x88, - 0x88, 0xcc, 0x48, 0x04, 0xc1, 0x91, 0x0a, 0xa9, 0x8b, 0xba, 0x92, 0x52, 0xa5, 0x0b, 0x09, 0x94, - 0x31, 0x19, 0x42, 0xa0, 0x99, 0x89, 0x39, 0xd3, 0x6e, 0x44, 0x10, 0x5f, 0xc1, 0x37, 0x70, 0x29, - 0xf8, 0x22, 0xdd, 0xfa, 0x08, 0xba, 0xf2, 0x29, 0x24, 0x9d, 0x4c, 0xda, 0xaa, 0xa1, 0xbb, 0x8f, - 0x33, 0xdf, 0xef, 0x3b, 0x7f, 0x12, 0xab, 0x1d, 0x09, 0x11, 0x8d, 0x18, 0xa6, 0x21, 0x60, 0x25, - 0x73, 0x35, 0x71, 0x31, 0xb0, 0x6c, 0x12, 0x07, 0x0c, 0xb0, 0x14, 0x69, 0x1c, 0x0c, 0x03, 0xc1, - 0x41, 0x52, 0x2e, 0x87, 0x45, 0x1d, 0xa5, 0x99, 0x90, 0xc2, 0x6e, 0x28, 0x06, 0xd1, 0x10, 0x50, - 0x89, 0xa3, 0x89, 0x8b, 0x34, 0xee, 0x1c, 0x56, 0x35, 0xc8, 0x18, 0x88, 0x71, 0xf6, 0x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, 0x6a, 0xe0, 0xa2, 0xa2, 0x31, 0x4c, 0xb5, 0xc5, 0xf7, 0x42, 0xf0, 0x4b, - 0x8b, 0x3f, 0x70, 0x7d, 0x6d, 0xf9, 0x30, 0x5b, 0xaa, 0x4e, 0x88, 0x17, 0x02, 0x21, 0xa5, 0x89, - 0x90, 0x81, 0x4b, 0x88, 0xb6, 0x5d, 0xff, 0x9e, 0xcd, 0x79, 0xf0, 0x19, 0x00, 0x00, 0xff, 0xff, - 0x80, 0x02, 0x08, 0x33, 0x01, 0x03, 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 - -// 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.v2.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) -} - -// UnimplementedTopicConstantServiceServer can be embedded to have forward compatible implementations. -type UnimplementedTopicConstantServiceServer struct { -} - -func (*UnimplementedTopicConstantServiceServer) GetTopicConstant(ctx context.Context, req *GetTopicConstantRequest) (*resources.TopicConstant, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTopicConstant not implemented") -} - -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.v2.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.v2.services.TopicConstantService", - HandlerType: (*TopicConstantServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetTopicConstant", - Handler: _TopicConstantService_GetTopicConstant_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/topic_constant_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/topic_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/topic_view_service.pb.go deleted file mode 100644 index 485eb3ba..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/topic_view_service.pb.go +++ /dev/null @@ -1,187 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/topic_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [TopicViewService.GetTopicView][google.ads.googleads.v2.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_c6d00f993f4e0946, []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 (m *GetTopicViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTopicViewRequest.Merge(m, 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.v2.services.GetTopicViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/topic_view_service.proto", fileDescriptor_c6d00f993f4e0946) -} - -var fileDescriptor_c6d00f993f4e0946 = []byte{ - // 379 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0x31, 0x4b, 0xc3, 0x40, - 0x18, 0x25, 0x11, 0x04, 0x43, 0x05, 0x89, 0x88, 0x25, 0x3a, 0x94, 0xda, 0x41, 0x4a, 0xb9, 0x83, - 0xa8, 0x83, 0x27, 0x0e, 0xe9, 0x52, 0x27, 0x29, 0x55, 0x32, 0x48, 0xa0, 0xc4, 0xe4, 0x08, 0x07, - 0x4d, 0x2e, 0xe6, 0xbb, 0xa6, 0x83, 0xb8, 0xf8, 0x17, 0xfc, 0x07, 0x6e, 0xfa, 0x53, 0xba, 0x3a, - 0xba, 0x3a, 0xf9, 0x1b, 0x1c, 0x24, 0xbd, 0x5c, 0xda, 0x8a, 0xa5, 0xdb, 0xe3, 0xfb, 0xde, 0x7b, - 0xdf, 0xbb, 0xc7, 0x19, 0xe7, 0x11, 0xe7, 0xd1, 0x88, 0x62, 0x3f, 0x04, 0x2c, 0x61, 0x81, 0x72, - 0x1b, 0x03, 0xcd, 0x72, 0x16, 0x50, 0xc0, 0x82, 0xa7, 0x2c, 0x18, 0xe6, 0x8c, 0x4e, 0x86, 0xe5, - 0x0c, 0xa5, 0x19, 0x17, 0xdc, 0x6c, 0x48, 0x3e, 0xf2, 0x43, 0x40, 0x95, 0x14, 0xe5, 0x36, 0x52, - 0x52, 0xcb, 0x5e, 0x65, 0x9e, 0x51, 0xe0, 0xe3, 0x6c, 0xd9, 0x5d, 0xba, 0x5a, 0x87, 0x4a, 0x93, - 0x32, 0xec, 0x27, 0x09, 0x17, 0xbe, 0x60, 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0x30, 0x4c, 0x15, 0xc5, 0x73, - 0x42, 0xf0, 0x2a, 0x8a, 0xe7, 0xda, 0x9e, 0xa2, 0x7c, 0xeb, 0x2d, 0x39, 0x27, 0xc4, 0x09, 0x81, - 0x90, 0x8a, 0x44, 0x88, 0x6b, 0x13, 0xa2, 0x68, 0xf7, 0x9b, 0xb3, 0x9c, 0x27, 0xbf, 0x01, 0x00, - 0x00, 0xff, 0xff, 0x80, 0xae, 0x3b, 0xed, 0xe9, 0x02, 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 - -// 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.v2.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) -} - -// UnimplementedTopicViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedTopicViewServiceServer struct { -} - -func (*UnimplementedTopicViewServiceServer) GetTopicView(ctx context.Context, req *GetTopicViewRequest) (*resources.TopicView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTopicView not implemented") -} - -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.v2.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.v2.services.TopicViewService", - HandlerType: (*TopicViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetTopicView", - Handler: _TopicViewService_GetTopicView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/topic_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/user_interest_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/user_interest_service.pb.go deleted file mode 100644 index 584fc679..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/user_interest_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/user_interest_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [UserInterestService.GetUserInterest][google.ads.googleads.v2.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_b9d082b840ef8dbf, []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 (m *GetUserInterestRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserInterestRequest.Merge(m, 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.v2.services.GetUserInterestRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/user_interest_service.proto", fileDescriptor_b9d082b840ef8dbf) -} - -var fileDescriptor_b9d082b840ef8dbf = []byte{ - // 386 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xc1, 0x4a, 0xeb, 0x40, - 0x14, 0x86, 0x49, 0x2e, 0x5c, 0xb8, 0xe1, 0x5e, 0x2e, 0xe4, 0xc2, 0xb5, 0x44, 0x17, 0xa5, 0x76, - 0x21, 0x5d, 0xcc, 0x60, 0x44, 0x94, 0xd1, 0x2e, 0xd2, 0x4d, 0x75, 0x23, 0xa5, 0x62, 0x17, 0x12, - 0x28, 0x31, 0x39, 0x84, 0x40, 0x33, 0x53, 0xe7, 0x4c, 0xba, 0x11, 0x37, 0xbe, 0x82, 0x6f, 0xe0, - 0xd2, 0xbd, 0x2f, 0xd1, 0xad, 0xaf, 0xe0, 0xaa, 0x2f, 0xa1, 0xa4, 0xc9, 0xa4, 0x55, 0x5b, 0xba, - 0xfb, 0x99, 0x39, 0xdf, 0xff, 0xcf, 0xf9, 0x13, 0xeb, 0x34, 0x16, 0x22, 0x1e, 0x01, 0x0d, 0x22, - 0xa4, 0x85, 0xcc, 0xd5, 0xc4, 0xa5, 0x08, 0x72, 0x92, 0x84, 0x80, 0x34, 0x43, 0x90, 0xc3, 0x84, - 0x2b, 0x90, 0x80, 0x6a, 0x58, 0x1e, 0x93, 0xb1, 0x14, 0x4a, 0xd8, 0xf5, 0x02, 0x21, 0x41, 0x84, - 0xa4, 0xa2, 0xc9, 0xc4, 0x25, 0x9a, 0x76, 0x0e, 0xd7, 0xf9, 0x4b, 0x40, 0x91, 0xc9, 0x6f, 0x01, - 0x85, 0xb1, 0xb3, 0xa3, 0xb1, 0x71, 0x42, 0x03, 0xce, 0x85, 0x0a, 0x54, 0x22, 0x38, 0x96, 0xb7, - 0x5b, 0x4b, 0xb7, 0xe1, 0x28, 0x01, 0x5e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0x47, 0x66, 0x66, - 0xb3, 0x38, 0x67, 0xcc, 0x8b, 0x90, 0xb1, 0x6a, 0x88, 0xb1, 0x81, 0xcb, 0x98, 0x1e, 0xbb, 0xf9, - 0x39, 0x7f, 0xe7, 0xc1, 0x47, 0x00, 0x00, 0x00, 0xff, 0xff, 0x75, 0x42, 0x63, 0xbd, 0x04, 0x03, - 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 - -// 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.v2.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) -} - -// UnimplementedUserInterestServiceServer can be embedded to have forward compatible implementations. -type UnimplementedUserInterestServiceServer struct { -} - -func (*UnimplementedUserInterestServiceServer) GetUserInterest(ctx context.Context, req *GetUserInterestRequest) (*resources.UserInterest, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetUserInterest not implemented") -} - -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.v2.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.v2.services.UserInterestService", - HandlerType: (*UserInterestServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetUserInterest", - Handler: _UserInterestService_GetUserInterest_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/user_interest_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/user_list_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/user_list_service.pb.go deleted file mode 100644 index 703427e9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/user_list_service.pb.go +++ /dev/null @@ -1,525 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/user_list_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [UserListService.GetUserList][google.ads.googleads.v2.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_0075e5e715d4f105, []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 (m *GetUserListRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserListRequest.Merge(m, 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.v2.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"` - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one 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"` - // If true, the request is validated but not executed. Only errors are - // returned, not results. - ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,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_0075e5e715d4f105, []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 (m *MutateUserListsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateUserListsRequest.Merge(m, 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 -} - -func (m *MutateUserListsRequest) GetPartialFailure() bool { - if m != nil { - return m.PartialFailure - } - return false -} - -func (m *MutateUserListsRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// 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_0075e5e715d4f105, []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 (m *UserListOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserListOperation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*UserListOperation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*UserListOperation_Create)(nil), - (*UserListOperation_Update)(nil), - (*UserListOperation_Remove)(nil), - } -} - -// Response message for user list mutate. -type MutateUserListsResponse struct { - // 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 an RPC level error. - PartialFailureError *status.Status `protobuf:"bytes,3,opt,name=partial_failure_error,json=partialFailureError,proto3" json:"partial_failure_error,omitempty"` - // 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_0075e5e715d4f105, []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 (m *MutateUserListsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateUserListsResponse.Merge(m, 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) GetPartialFailureError() *status.Status { - if m != nil { - return m.PartialFailureError - } - return nil -} - -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_0075e5e715d4f105, []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 (m *MutateUserListResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateUserListResult.Merge(m, 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.v2.services.GetUserListRequest") - proto.RegisterType((*MutateUserListsRequest)(nil), "google.ads.googleads.v2.services.MutateUserListsRequest") - proto.RegisterType((*UserListOperation)(nil), "google.ads.googleads.v2.services.UserListOperation") - proto.RegisterType((*MutateUserListsResponse)(nil), "google.ads.googleads.v2.services.MutateUserListsResponse") - proto.RegisterType((*MutateUserListResult)(nil), "google.ads.googleads.v2.services.MutateUserListResult") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/user_list_service.proto", fileDescriptor_0075e5e715d4f105) -} - -var fileDescriptor_0075e5e715d4f105 = []byte{ - // 718 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0xcf, 0x6b, 0xd4, 0x40, - 0x14, 0x36, 0x59, 0xa9, 0x76, 0x52, 0x2d, 0x8e, 0xd5, 0x86, 0x55, 0x70, 0x89, 0x05, 0xcb, 0x16, - 0x27, 0x98, 0x15, 0x69, 0x53, 0x7a, 0xd8, 0x42, 0x7f, 0x08, 0xd6, 0x96, 0x14, 0x7b, 0x90, 0x85, - 0x30, 0x4d, 0xa6, 0x4b, 0x68, 0x92, 0x89, 0x33, 0x93, 0x85, 0x52, 0x7a, 0x11, 0xfc, 0x0b, 0xbc, - 0x79, 0x14, 0xbc, 0x78, 0xf5, 0x2f, 0xf0, 0xda, 0xab, 0x57, 0x8f, 0x9e, 0xfc, 0x17, 0xbc, 0x48, - 0x32, 0x99, 0xdd, 0xee, 0xd6, 0xb2, 0xb6, 0xb7, 0xb7, 0x2f, 0xdf, 0xf7, 0xbd, 0x6f, 0xde, 0x9b, - 0x37, 0x0b, 0x16, 0xbb, 0x94, 0x76, 0x63, 0x62, 0xe3, 0x90, 0xdb, 0x32, 0x2c, 0xa2, 0x9e, 0x63, - 0x73, 0xc2, 0x7a, 0x51, 0x40, 0xb8, 0x9d, 0x73, 0xc2, 0xfc, 0x38, 0xe2, 0xc2, 0xaf, 0x52, 0x28, - 0x63, 0x54, 0x50, 0xd8, 0x90, 0x70, 0x84, 0x43, 0x8e, 0xfa, 0x4c, 0xd4, 0x73, 0x90, 0x62, 0xd6, - 0x9f, 0x5d, 0xa4, 0xcd, 0x08, 0xa7, 0x39, 0x1b, 0x12, 0x97, 0xa2, 0xf5, 0x87, 0x8a, 0x92, 0x45, - 0x36, 0x4e, 0x53, 0x2a, 0xb0, 0x88, 0x68, 0xca, 0xab, 0xaf, 0x55, 0x49, 0xbb, 0xfc, 0xb5, 0x9f, - 0x1f, 0xd8, 0x07, 0x11, 0x89, 0x43, 0x3f, 0xc1, 0xfc, 0xb0, 0x42, 0xcc, 0x56, 0x08, 0x96, 0x05, - 0x36, 0x17, 0x58, 0xe4, 0x7c, 0xe4, 0x43, 0x21, 0x1c, 0xc4, 0x11, 0x49, 0xab, 0x8a, 0xd6, 0x12, - 0x80, 0x1b, 0x44, 0xbc, 0xe1, 0x84, 0xbd, 0x8a, 0xb8, 0xf0, 0xc8, 0xbb, 0x9c, 0x70, 0x01, 0x1f, - 0x83, 0x5b, 0xca, 0xa4, 0x9f, 0xe2, 0x84, 0x98, 0x5a, 0x43, 0x9b, 0x9f, 0xf4, 0xa6, 0x54, 0xf2, - 0x35, 0x4e, 0x88, 0xf5, 0x53, 0x03, 0xf7, 0xb7, 0x72, 0x81, 0x05, 0x51, 0x74, 0xae, 0xf8, 0x8f, - 0x80, 0x11, 0xe4, 0x5c, 0xd0, 0x84, 0x30, 0x3f, 0x0a, 0x2b, 0x36, 0x50, 0xa9, 0x97, 0x21, 0xdc, - 0x05, 0x80, 0x66, 0x84, 0xc9, 0xe3, 0x99, 0x7a, 0xa3, 0x36, 0x6f, 0x38, 0x2d, 0x34, 0xae, 0xa5, - 0x48, 0x15, 0xda, 0x56, 0x5c, 0xef, 0x8c, 0x0c, 0x7c, 0x02, 0xa6, 0x33, 0xcc, 0x44, 0x84, 0x63, - 0xff, 0x00, 0x47, 0x71, 0xce, 0x88, 0x59, 0x6b, 0x68, 0xf3, 0x37, 0xbd, 0xdb, 0x55, 0x7a, 0x5d, - 0x66, 0x8b, 0xe3, 0xf5, 0x70, 0x1c, 0x85, 0x58, 0x10, 0x9f, 0xa6, 0xf1, 0x91, 0x79, 0xbd, 0x84, - 0x4d, 0xa9, 0xe4, 0x76, 0x1a, 0x1f, 0x59, 0x1f, 0x74, 0x70, 0xe7, 0x5c, 0x3d, 0xb8, 0x0c, 0x8c, - 0x3c, 0x2b, 0x89, 0x45, 0xdb, 0x4b, 0xa2, 0xe1, 0xd4, 0x95, 0x73, 0x35, 0x19, 0xb4, 0x5e, 0x4c, - 0x66, 0x0b, 0xf3, 0x43, 0x0f, 0x48, 0x78, 0x11, 0xc3, 0x35, 0x30, 0x11, 0x30, 0x82, 0x85, 0xec, - 0xa7, 0xe1, 0x2c, 0x5c, 0x78, 0xe2, 0xfe, 0x15, 0xe9, 0x1f, 0x79, 0xf3, 0x9a, 0x57, 0x91, 0x0b, - 0x19, 0x29, 0x6a, 0xea, 0x57, 0x92, 0x91, 0x64, 0x68, 0x82, 0x09, 0x46, 0x12, 0xda, 0x93, 0x5d, - 0x9a, 0x2c, 0xbe, 0xc8, 0xdf, 0xab, 0x06, 0x98, 0xec, 0xb7, 0xd5, 0xfa, 0xa6, 0x81, 0xd9, 0x73, - 0x63, 0xe6, 0x19, 0x4d, 0x39, 0x81, 0xeb, 0xe0, 0xde, 0x48, 0xc7, 0x7d, 0xc2, 0x18, 0x65, 0xa5, - 0xa2, 0xe1, 0x40, 0x65, 0x8c, 0x65, 0x01, 0xda, 0x2d, 0xef, 0xa3, 0x77, 0x77, 0x78, 0x16, 0x6b, - 0x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xcb, 0x2a, 0xf8, 0xac, 0xd7, 0x36, 0xda, 0xed, 0xaf, 0x7a, 0x63, - 0x43, 0x0a, 0xb6, 0x43, 0x8e, 0x64, 0x58, 0x44, 0x7b, 0x0e, 0xaa, 0x0a, 0xf3, 0x53, 0x05, 0xe9, - 0xb4, 0x43, 0xde, 0xe9, 0x43, 0x3a, 0x7b, 0x4e, 0x47, 0x41, 0x7e, 0xeb, 0x73, 0x32, 0xef, 0xba, - 0xed, 0x90, 0xbb, 0x6e, 0x1f, 0xe4, 0xba, 0x7b, 0x8e, 0xeb, 0x2a, 0xd8, 0xfe, 0x44, 0xe9, 0xb3, - 0xf5, 0x37, 0x00, 0x00, 0xff, 0xff, 0x53, 0xa6, 0x6b, 0x83, 0xb9, 0x06, 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 - -// 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.v2.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.v2.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) -} - -// UnimplementedUserListServiceServer can be embedded to have forward compatible implementations. -type UnimplementedUserListServiceServer struct { -} - -func (*UnimplementedUserListServiceServer) GetUserList(ctx context.Context, req *GetUserListRequest) (*resources.UserList, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetUserList not implemented") -} -func (*UnimplementedUserListServiceServer) MutateUserLists(ctx context.Context, req *MutateUserListsRequest) (*MutateUserListsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateUserLists not implemented") -} - -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.v2.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.v2.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.v2.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/v2/services/user_list_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/user_location_view_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/user_location_view_service.pb.go deleted file mode 100644 index dcde3b12..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/user_location_view_service.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/user_location_view_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [UserLocationViewService.GetUserLocationView][google.ads.googleads.v2.services.UserLocationViewService.GetUserLocationView]. -type GetUserLocationViewRequest struct { - // The resource name of the user location 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 *GetUserLocationViewRequest) Reset() { *m = GetUserLocationViewRequest{} } -func (m *GetUserLocationViewRequest) String() string { return proto.CompactTextString(m) } -func (*GetUserLocationViewRequest) ProtoMessage() {} -func (*GetUserLocationViewRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ceb1a60c4f1c0c60, []int{0} -} - -func (m *GetUserLocationViewRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetUserLocationViewRequest.Unmarshal(m, b) -} -func (m *GetUserLocationViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetUserLocationViewRequest.Marshal(b, m, deterministic) -} -func (m *GetUserLocationViewRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserLocationViewRequest.Merge(m, src) -} -func (m *GetUserLocationViewRequest) XXX_Size() int { - return xxx_messageInfo_GetUserLocationViewRequest.Size(m) -} -func (m *GetUserLocationViewRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserLocationViewRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetUserLocationViewRequest proto.InternalMessageInfo - -func (m *GetUserLocationViewRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func init() { - proto.RegisterType((*GetUserLocationViewRequest)(nil), "google.ads.googleads.v2.services.GetUserLocationViewRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/user_location_view_service.proto", fileDescriptor_ceb1a60c4f1c0c60) -} - -var fileDescriptor_ceb1a60c4f1c0c60 = []byte{ - // 389 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0x3f, 0xeb, 0xd3, 0x40, - 0x18, 0x26, 0x11, 0x04, 0x83, 0x2e, 0x71, 0x68, 0x89, 0x1d, 0x4a, 0xed, 0x20, 0x1d, 0xee, 0x20, - 0xc5, 0xe5, 0xaa, 0xc3, 0x75, 0xa9, 0x83, 0x48, 0xa9, 0x98, 0x41, 0x02, 0x21, 0x26, 0x2f, 0x21, - 0x90, 0xe4, 0xea, 0xbd, 0x49, 0x3a, 0x88, 0x8b, 0x7e, 0x04, 0xbf, 0x81, 0xa3, 0xdf, 0xc3, 0xa5, - 0xab, 0x5f, 0xc1, 0xc9, 0x0f, 0x21, 0x3f, 0x92, 0xcb, 0xa5, 0xfd, 0x95, 0x86, 0x6e, 0x0f, 0xf7, - 0x3e, 0x7f, 0xee, 0x7d, 0xee, 0x2c, 0x9e, 0x08, 0x91, 0x64, 0x40, 0xc3, 0x18, 0xa9, 0x82, 0x0d, - 0xaa, 0x5d, 0x8a, 0x20, 0xeb, 0x34, 0x02, 0xa4, 0x15, 0x82, 0x0c, 0x32, 0x11, 0x85, 0x65, 0x2a, - 0x8a, 0xa0, 0x4e, 0xe1, 0x10, 0x74, 0x33, 0xb2, 0x97, 0xa2, 0x14, 0xf6, 0x54, 0xe9, 0x48, 0x18, - 0x23, 0xe9, 0x2d, 0x48, 0xed, 0x12, 0x6d, 0xe1, 0xb0, 0xa1, 0x10, 0x09, 0x28, 0x2a, 0x79, 0x3d, - 0x45, 0xb9, 0x3b, 0x13, 0xad, 0xdd, 0xa7, 0x34, 0x2c, 0x0a, 0x51, 0xb6, 0x0c, 0xec, 0xa6, 0xa3, - 0xb3, 0x69, 0x94, 0xa5, 0x50, 0x94, 0x6a, 0x30, 0xe3, 0x96, 0xb3, 0x81, 0xf2, 0x03, 0x82, 0x7c, - 0xdb, 0x99, 0x7a, 0x29, 0x1c, 0x76, 0xf0, 0xb9, 0x02, 0x2c, 0xed, 0xe7, 0xd6, 0x13, 0x1d, 0x1d, - 0x14, 0x61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f2, 0x2e, 0x00, 0x00, 0xff, 0xff, 0x47, 0xd9, 0x3d, - 0x8d, 0x2a, 0x03, 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 - -// UserLocationViewServiceClient is the client API for UserLocationViewService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type UserLocationViewServiceClient interface { - // Returns the requested user location view in full detail. - GetUserLocationView(ctx context.Context, in *GetUserLocationViewRequest, opts ...grpc.CallOption) (*resources.UserLocationView, error) -} - -type userLocationViewServiceClient struct { - cc *grpc.ClientConn -} - -func NewUserLocationViewServiceClient(cc *grpc.ClientConn) UserLocationViewServiceClient { - return &userLocationViewServiceClient{cc} -} - -func (c *userLocationViewServiceClient) GetUserLocationView(ctx context.Context, in *GetUserLocationViewRequest, opts ...grpc.CallOption) (*resources.UserLocationView, error) { - out := new(resources.UserLocationView) - err := c.cc.Invoke(ctx, "/google.ads.googleads.v2.services.UserLocationViewService/GetUserLocationView", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// UserLocationViewServiceServer is the server API for UserLocationViewService service. -type UserLocationViewServiceServer interface { - // Returns the requested user location view in full detail. - GetUserLocationView(context.Context, *GetUserLocationViewRequest) (*resources.UserLocationView, error) -} - -// UnimplementedUserLocationViewServiceServer can be embedded to have forward compatible implementations. -type UnimplementedUserLocationViewServiceServer struct { -} - -func (*UnimplementedUserLocationViewServiceServer) GetUserLocationView(ctx context.Context, req *GetUserLocationViewRequest) (*resources.UserLocationView, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetUserLocationView not implemented") -} - -func RegisterUserLocationViewServiceServer(s *grpc.Server, srv UserLocationViewServiceServer) { - s.RegisterService(&_UserLocationViewService_serviceDesc, srv) -} - -func _UserLocationViewService_GetUserLocationView_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetUserLocationViewRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UserLocationViewServiceServer).GetUserLocationView(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.ads.googleads.v2.services.UserLocationViewService/GetUserLocationView", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UserLocationViewServiceServer).GetUserLocationView(ctx, req.(*GetUserLocationViewRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _UserLocationViewService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.ads.googleads.v2.services.UserLocationViewService", - HandlerType: (*UserLocationViewServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetUserLocationView", - Handler: _UserLocationViewService_GetUserLocationView_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/user_location_view_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/video_service.pb.go b/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/video_service.pb.go deleted file mode 100644 index 7c09c67d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/ads/googleads/v2/services/video_service.pb.go +++ /dev/null @@ -1,187 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/ads/googleads/v2/services/video_service.proto - -package services - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - resources "google.golang.org/genproto/googleapis/ads/googleads/v2/resources" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [VideoService.GetVideo][google.ads.googleads.v2.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_c94f6646097cdc15, []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 (m *GetVideoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetVideoRequest.Merge(m, 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.v2.services.GetVideoRequest") -} - -func init() { - proto.RegisterFile("google/ads/googleads/v2/services/video_service.proto", fileDescriptor_c94f6646097cdc15) -} - -var fileDescriptor_c94f6646097cdc15 = []byte{ - // 370 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0x31, 0x4b, 0xc3, 0x40, - 0x18, 0x25, 0x11, 0x44, 0x43, 0x45, 0xcc, 0x62, 0x89, 0x0e, 0xa5, 0x76, 0x28, 0x05, 0xef, 0x34, - 0x8a, 0xc3, 0x89, 0x43, 0xba, 0xd4, 0x49, 0x4a, 0x85, 0x0c, 0x12, 0x28, 0x67, 0x72, 0x84, 0x40, - 0x73, 0x57, 0xf3, 0x5d, 0xb3, 0x88, 0x8b, 0x7f, 0xc1, 0xc9, 0xd5, 0xd1, 0x3f, 0x22, 0x74, 0xf5, - 0x2f, 0x38, 0xf9, 0x0b, 0x1c, 0x25, 0xb9, 0x5c, 0x5a, 0x85, 0xd2, 0xed, 0xe5, 0xbe, 0xf7, 0xde, - 0xf7, 0xbe, 0x47, 0xac, 0xf3, 0x58, 0x88, 0x78, 0xc2, 0x30, 0x8d, 0x00, 0x2b, 0x58, 0xa0, 0xdc, - 0xc5, 0xc0, 0xb2, 0x3c, 0x09, 0x19, 0xe0, 0x3c, 0x89, 0x98, 0x18, 0x57, 0x9f, 0x68, 0x9a, 0x09, - 0x29, 0xec, 0x96, 0xa2, 0x22, 0x1a, 0x01, 0xaa, 0x55, 0x28, 0x77, 0x91, 0x56, 0x39, 0xc7, 0xab, - 0x7c, 0x33, 0x06, 0x62, 0x96, 0xd5, 0xc6, 0xca, 0xd0, 0x39, 0xd4, 0xf4, 0x69, 0x82, 0x29, 0xe7, - 0x42, 0x52, 0x99, 0x08, 0x0e, 0xd5, 0x74, 0x7f, 0x69, 0x1a, 0x4e, 0x12, 0xc6, 0xa5, 0x1a, 0xb4, - 0x2f, 0xac, 0xdd, 0x01, 0x93, 0x7e, 0x61, 0x34, 0x62, 0x0f, 0x33, 0x06, 0xd2, 0x3e, 0xb2, 0x76, - 0xf4, 0x8a, 0x31, 0xa7, 0x29, 0x6b, 0x1a, 0x2d, 0xa3, 0xbb, 0x3d, 0x6a, 0xe8, 0xc7, 0x1b, 0x9a, - 0x32, 0xf7, 0xc3, 0xb0, 0x1a, 0xa5, 0xea, 0x56, 0xe5, 0xb5, 0x5f, 0x0d, 0x6b, 0x4b, 0x3b, 0xd9, - 0xa7, 0x68, 0xdd, 0x79, 0xe8, 0xdf, 0x56, 0xa7, 0xbb, 0x52, 0x52, 0xdf, 0x8b, 0x4a, 0x41, 0xfb, - 0xe4, 0xf9, 0xf3, 0xeb, 0xc5, 0xec, 0xd9, 0xdd, 0xa2, 0x8c, 0xc7, 0x3f, 0x51, 0xaf, 0xc2, 0x19, - 0x48, 0x91, 0xb2, 0x0c, 0x70, 0x4f, 0xb5, 0x03, 0xb8, 0xf7, 0xe4, 0x1c, 0xcc, 0xbd, 0xe6, 0xc2, - 0xb2, 0x42, 0xd3, 0x04, 0x50, 0x28, 0xd2, 0xfe, 0x8f, 0x61, 0x75, 0x42, 0x91, 0xae, 0x4d, 0xdc, - 0xdf, 0x5b, 0xbe, 0x77, 0x58, 0xb4, 0x37, 0x34, 0xee, 0xae, 0x2b, 0x59, 0x2c, 0x26, 0x94, 0xc7, - 0x48, 0x64, 0x31, 0x8e, 0x19, 0x2f, 0xbb, 0xc5, 0x8b, 0x45, 0xab, 0x7f, 0x8e, 0x4b, 0x0d, 0xde, - 0xcc, 0x8d, 0x81, 0xe7, 0xbd, 0x9b, 0xad, 0x81, 0x32, 0xf4, 0x22, 0x40, 0x0a, 0x16, 0xc8, 0x77, - 0x51, 0xb5, 0x18, 0xe6, 0x9a, 0x12, 0x78, 0x11, 0x04, 0x35, 0x25, 0xf0, 0xdd, 0x40, 0x53, 0xbe, - 0xcd, 0x8e, 0x7a, 0x27, 0xc4, 0x8b, 0x80, 0x90, 0x9a, 0x44, 0x88, 0xef, 0x12, 0xa2, 0x69, 0xf7, - 0x9b, 0x65, 0xce, 0xb3, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x59, 0x7f, 0x34, 0x0c, 0xc3, 0x02, - 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 - -// 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.v2.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) -} - -// UnimplementedVideoServiceServer can be embedded to have forward compatible implementations. -type UnimplementedVideoServiceServer struct { -} - -func (*UnimplementedVideoServiceServer) GetVideo(ctx context.Context, req *GetVideoRequest) (*resources.Video, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetVideo not implemented") -} - -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.v2.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.v2.services.VideoService", - HandlerType: (*VideoServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetVideo", - Handler: _VideoService_GetVideo_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/ads/googleads/v2/services/video_service.proto", -} 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 deleted file mode 100644 index bf2f703f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/annotations/annotations.pb.go +++ /dev/null @@ -1,55 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/annotations.proto - -package annotations - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -var E_Http = &proto.ExtensionDesc{ - ExtendedType: (*descriptor.MethodOptions)(nil), - ExtensionType: (*HttpRule)(nil), - Field: 72295728, - Name: "google.api.http", - Tag: "bytes,72295728,opt,name=http", - Filename: "google/api/annotations.proto", -} - -func init() { - proto.RegisterExtension(E_Http) -} - -func init() { proto.RegisterFile("google/api/annotations.proto", fileDescriptor_c591c5aa9fb79aab) } - -var fileDescriptor_c591c5aa9fb79aab = []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, - 0xcf, 0x2b, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x82, 0xc8, 0xea, 0x25, 0x16, 0x64, - 0x4a, 0x89, 0x22, 0xa9, 0xcc, 0x28, 0x29, 0x29, 0x80, 0x28, 0x91, 0x52, 0x80, 0x0a, 0x83, 0x79, - 0x49, 0xa5, 0x69, 0xfa, 0x29, 0xa9, 0xc5, 0xc9, 0x45, 0x99, 0x05, 0x25, 0xf9, 0x45, 0x10, 0x15, - 0x56, 0xde, 0x5c, 0x2c, 0x20, 0xf5, 0x42, 0x72, 0x7a, 0x50, 0xd3, 0x60, 0x4a, 0xf5, 0x7c, 0x53, - 0x4b, 0x32, 0xf2, 0x53, 0xfc, 0x0b, 0xc0, 0x56, 0x4a, 0x6c, 0x38, 0xb5, 0x47, 0x49, 0x81, 0x51, - 0x83, 0xdb, 0x48, 0x44, 0x0f, 0x61, 0xad, 0x9e, 0x47, 0x49, 0x49, 0x41, 0x50, 0x69, 0x4e, 0x6a, - 0x10, 0xd8, 0x10, 0xa7, 0x3c, 0x2e, 0xbe, 0xe4, 0xfc, 0x5c, 0x24, 0x05, 0x4e, 0x02, 0x8e, 0x08, - 0x67, 0x07, 0x80, 0x4c, 0x0e, 0x60, 0x8c, 0x72, 0x84, 0xca, 0xa7, 0xe7, 0xe7, 0x24, 0xe6, 0xa5, - 0xeb, 0xe5, 0x17, 0xa5, 0xeb, 0xa7, 0xa7, 0xe6, 0x81, 0xed, 0xd5, 0x87, 0x48, 0x25, 0x16, 0x64, - 0x16, 0xa3, 0x7b, 0xda, 0x1a, 0x89, 0xbd, 0x88, 0x89, 0xc5, 0xdd, 0x31, 0xc0, 0x33, 0x89, 0x0d, - 0xac, 0xc9, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0xe3, 0x29, 0x19, 0x62, 0x28, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/api/annotations/client.pb.go b/vendor/google.golang.org/genproto/googleapis/api/annotations/client.pb.go deleted file mode 100644 index 867fc0c3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/annotations/client.pb.go +++ /dev/null @@ -1,79 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/client.proto - -package annotations - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -var E_MethodSignature = &proto.ExtensionDesc{ - ExtendedType: (*descriptor.MethodOptions)(nil), - ExtensionType: ([]string)(nil), - Field: 1051, - Name: "google.api.method_signature", - Tag: "bytes,1051,rep,name=method_signature", - Filename: "google/api/client.proto", -} - -var E_DefaultHost = &proto.ExtensionDesc{ - ExtendedType: (*descriptor.ServiceOptions)(nil), - ExtensionType: (*string)(nil), - Field: 1049, - Name: "google.api.default_host", - Tag: "bytes,1049,opt,name=default_host", - Filename: "google/api/client.proto", -} - -var E_OauthScopes = &proto.ExtensionDesc{ - ExtendedType: (*descriptor.ServiceOptions)(nil), - ExtensionType: (*string)(nil), - Field: 1050, - Name: "google.api.oauth_scopes", - Tag: "bytes,1050,opt,name=oauth_scopes", - Filename: "google/api/client.proto", -} - -func init() { - proto.RegisterExtension(E_MethodSignature) - proto.RegisterExtension(E_DefaultHost) - proto.RegisterExtension(E_OauthScopes) -} - -func init() { proto.RegisterFile("google/api/client.proto", fileDescriptor_78f2c6f7c3a942c1) } - -var fileDescriptor_78f2c6f7c3a942c1 = []byte{ - // 262 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b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, 0x7c, 0x24, 0x49, 0xa4, 0xca, 0x08, - 0x2d, 0x0d, 0x3b, 0x55, 0xb8, 0xe3, 0x3f, 0x4b, 0x2c, 0xa7, 0xab, 0xb8, 0x51, 0xb1, 0x97, 0x14, - 0xa3, 0xd7, 0x45, 0x8a, 0x34, 0xb6, 0xd2, 0x6a, 0x8e, 0x5e, 0x0b, 0x0d, 0x36, 0xbe, 0x10, 0x7d, - 0x24, 0x9d, 0x09, 0x71, 0x5c, 0x69, 0x2d, 0x92, 0x8c, 0xbf, 0xee, 0x7e, 0xdd, 0x5f, 0x07, 0x47, - 0xf7, 0x8b, 0xe2, 0x71, 0x73, 0x1c, 0xa1, 0xdb, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0xcc, 0xc2, - 0xcf, 0x71, 0x90, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/api/annotations/field_behavior.pb.go b/vendor/google.golang.org/genproto/googleapis/api/annotations/field_behavior.pb.go deleted file mode 100644 index 31f87dd0..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/annotations/field_behavior.pb.go +++ /dev/null @@ -1,122 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/field_behavior.proto - -package annotations - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// An indicator of the behavior of a given field (for example, that a field -// is required in requests, or given as output but ignored as input). -// This **does not** change the behavior in protocol buffers itself; it only -// denotes the behavior and may affect how API tooling handles the field. -// -// Note: This enum **may** receive new values in the future. -type FieldBehavior int32 - -const ( - // Conventional default for enums. Do not use this. - FieldBehavior_FIELD_BEHAVIOR_UNSPECIFIED FieldBehavior = 0 - // Specifically denotes a field as optional. - // While all fields in protocol buffers are optional, this may be specified - // for emphasis if appropriate. - FieldBehavior_OPTIONAL FieldBehavior = 1 - // Denotes a field as required. - // This indicates that the field **must** be provided as part of the request, - // and failure to do so will cause an error (usually `INVALID_ARGUMENT`). - FieldBehavior_REQUIRED FieldBehavior = 2 - // Denotes a field as output only. - // This indicates that the field is provided in responses, but including the - // field in a request does nothing (the server *must* ignore it and - // *must not* throw an error as a result of the field's presence). - FieldBehavior_OUTPUT_ONLY FieldBehavior = 3 - // Denotes a field as input only. - // This indicates that the field is provided in requests, and the - // corresponding field is not included in output. - FieldBehavior_INPUT_ONLY FieldBehavior = 4 - // Denotes a field as immutable. - // This indicates that the field may be set once in a request to create a - // resource, but may not be changed thereafter. - FieldBehavior_IMMUTABLE FieldBehavior = 5 -) - -var FieldBehavior_name = map[int32]string{ - 0: "FIELD_BEHAVIOR_UNSPECIFIED", - 1: "OPTIONAL", - 2: "REQUIRED", - 3: "OUTPUT_ONLY", - 4: "INPUT_ONLY", - 5: "IMMUTABLE", -} - -var FieldBehavior_value = map[string]int32{ - "FIELD_BEHAVIOR_UNSPECIFIED": 0, - "OPTIONAL": 1, - "REQUIRED": 2, - "OUTPUT_ONLY": 3, - "INPUT_ONLY": 4, - "IMMUTABLE": 5, -} - -func (x FieldBehavior) String() string { - return proto.EnumName(FieldBehavior_name, int32(x)) -} - -func (FieldBehavior) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4648f18fd5079967, []int{0} -} - -var E_FieldBehavior = &proto.ExtensionDesc{ - ExtendedType: (*descriptor.FieldOptions)(nil), - ExtensionType: ([]FieldBehavior)(nil), - Field: 1052, - Name: "google.api.field_behavior", - Tag: "varint,1052,rep,name=field_behavior,enum=google.api.FieldBehavior", - Filename: "google/api/field_behavior.proto", -} - -func init() { - proto.RegisterEnum("google.api.FieldBehavior", FieldBehavior_name, FieldBehavior_value) - proto.RegisterExtension(E_FieldBehavior) -} - -func init() { proto.RegisterFile("google/api/field_behavior.proto", fileDescriptor_4648f18fd5079967) } - -var fileDescriptor_4648f18fd5079967 = []byte{ - // 303 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x90, 0x4f, 0x4f, 0xb3, 0x30, - 0x1c, 0xc7, 0x9f, 0xfd, 0x79, 0xcc, 0xac, 0x0e, 0x49, 0x4f, 0xba, 0x44, 0xdd, 0xd1, 0x78, 0x28, - 0x89, 0xde, 0xf4, 0x04, 0xae, 0xd3, 0x26, 0x8c, 0x56, 0x04, 0x13, 0xbd, 0x60, 0xb7, 0xb1, 0xda, - 0x64, 0xd2, 0x06, 0xd0, 0x8b, 0x6f, 0xc5, 0x93, 0xaf, 0xd4, 0xd0, 0x31, 0x85, 0x5b, 0xbf, 0xf9, - 0x7d, 0xfa, 0xeb, 0xe7, 0x5b, 0x70, 0x2a, 0x94, 0x12, 0xeb, 0xd4, 0xe1, 0x5a, 0x3a, 0x2b, 0x99, - 0xae, 0x97, 0xc9, 0x3c, 0x7d, 0xe5, 0x1f, 0x52, 0xe5, 0x48, 0xe7, 0xaa, 0x54, 0x10, 0x6c, 0x00, - 0xc4, 0xb5, 0x1c, 0x8d, 0x6b, 0xd8, 0x4c, 0xe6, 0xef, 0x2b, 0x67, 0x99, 0x16, 0x8b, 0x5c, 0xea, - 0x72, 0x4b, 0x9f, 0x7f, 0x82, 0xe1, 0xb4, 0xda, 0xe2, 0xd5, 0x4b, 0xe0, 0x09, 0x18, 0x4d, 0x09, - 0xf6, 0x27, 0x89, 0x87, 0xef, 0xdc, 0x47, 0x42, 0xc3, 0x24, 0x0e, 0x1e, 0x18, 0xbe, 0x21, 0x53, - 0x82, 0x27, 0xf6, 0x3f, 0xb8, 0x0f, 0x06, 0x94, 0x45, 0x84, 0x06, 0xae, 0x6f, 0x77, 0xaa, 0x14, - 0xe2, 0xfb, 0x98, 0x84, 0x78, 0x62, 0x77, 0xe1, 0x01, 0xd8, 0xa3, 0x71, 0xc4, 0xe2, 0x28, 0xa1, - 0x81, 0xff, 0x64, 0xf7, 0xa0, 0x05, 0x00, 0x09, 0x7e, 0x73, 0x1f, 0x0e, 0xc1, 0x2e, 0x99, 0xcd, - 0xe2, 0xc8, 0xf5, 0x7c, 0x6c, 0xff, 0xbf, 0x7a, 0x01, 0x56, 0xbb, 0x02, 0x3c, 0x46, 0xb5, 0xfd, - 0xd6, 0x18, 0x19, 0x3b, 0xaa, 0x4b, 0xa9, 0xb2, 0xe2, 0xf0, 0x6b, 0x30, 0xee, 0x9d, 0x59, 0x17, - 0x47, 0xe8, 0xaf, 0x23, 0x6a, 0xe9, 0x87, 0xc3, 0x55, 0x33, 0x7a, 0x1a, 0x58, 0x0b, 0xf5, 0xd6, - 0xc0, 0x3d, 0xd8, 0xe2, 0x59, 0xf5, 0x0c, 0xeb, 0x3c, 0xbb, 0x35, 0x21, 0xd4, 0x9a, 0x67, 0x02, - 0xa9, 0x5c, 0x38, 0x22, 0xcd, 0x8c, 0x84, 0xb3, 0x19, 0x71, 0x2d, 0x0b, 0xf3, 0xe9, 0x3c, 0xcb, - 0x54, 0xc9, 0x8d, 0xcf, 0x75, 0xe3, 0xfc, 0xdd, 0xed, 0xdf, 0xba, 0x8c, 0xcc, 0x77, 0xcc, 0xa5, - 0xcb, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xfc, 0x94, 0x57, 0x94, 0xa8, 0x01, 0x00, 0x00, -} 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 deleted file mode 100644 index a6387037..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/annotations/http.pb.go +++ /dev/null @@ -1,633 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/http.proto - -package annotations - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// 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. -type Http struct { - // A list of HTTP configuration rules that apply to individual API methods. - // - // **NOTE:** All service configuration rules follow "last one wins" order. - Rules []*HttpRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` - // When set to true, URL path parameters 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. - FullyDecodeReservedExpansion bool `protobuf:"varint,2,opt,name=fully_decode_reserved_expansion,json=fullyDecodeReservedExpansion,proto3" json:"fully_decode_reserved_expansion,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ff9994be407cdcc9, []int{0} -} - -func (m *Http) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Http.Unmarshal(m, b) -} -func (m *Http) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Http.Marshal(b, m, deterministic) -} -func (m *Http) XXX_Merge(src proto.Message) { - xxx_messageInfo_Http.Merge(m, src) -} -func (m *Http) XXX_Size() int { - return xxx_messageInfo_Http.Size(m) -} -func (m *Http) XXX_DiscardUnknown() { - xxx_messageInfo_Http.DiscardUnknown(m) -} - -var xxx_messageInfo_Http proto.InternalMessageInfo - -func (m *Http) GetRules() []*HttpRule { - if m != nil { - return m.Rules - } - return nil -} - -func (m *Http) GetFullyDecodeReservedExpansion() bool { - if m != nil { - return m.FullyDecodeReservedExpansion - } - return false -} - -// # gRPC Transcoding -// -// gRPC Transcoding is a feature for mapping between a gRPC method and one or -// more HTTP REST endpoints. It allows developers to build a single API service -// that supports both gRPC APIs and REST APIs. Many systems, including [Google -// APIs](https://github.com/googleapis/googleapis), -// [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC -// Gateway](https://github.com/grpc-ecosystem/grpc-gateway), -// and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature -// and use it for large scale production services. -// -// `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies -// how different portions of the gRPC request message are mapped to the URL -// path, URL query parameters, and HTTP request body. It also controls how the -// gRPC response message is mapped to the HTTP response body. `HttpRule` is -// typically specified as an `google.api.http` annotation on the gRPC method. -// -// Each mapping specifies a URL path template and an HTTP method. The path -// template may refer to one or more fields in the gRPC request message, as long -// as each field is a non-repeated field with a primitive (non-message) type. -// The path template controls how fields of the request message are mapped to -// the URL path. -// -// Example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get: "/v1/{name=messages/*}" -// }; -// } -// } -// message GetMessageRequest { -// string name = 1; // Mapped to URL path. -// } -// message Message { -// string text = 1; // The resource content. -// } -// -// This enables an HTTP REST to gRPC mapping as below: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` -// -// Any fields in the request message which are not bound by the path template -// automatically become HTTP query parameters if there is no HTTP request body. -// For example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get:"/v1/messages/{message_id}" -// }; -// } -// } -// message GetMessageRequest { -// message SubMessage { -// string subfield = 1; -// } -// string message_id = 1; // Mapped to URL path. -// int64 revision = 2; // Mapped to URL query parameter `revision`. -// SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. -// } -// -// This enables a HTTP JSON to RPC mapping as below: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456?revision=2&sub.subfield=foo` | -// `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: -// "foo"))` -// -// Note that fields which are mapped to URL query parameters must have a -// primitive type or a repeated primitive type or a non-repeated message type. -// In the case of a repeated type, the parameter can be repeated in the URL -// as `...?param=A¶m=B`. In the case of a message type, each field of the -// message is mapped to a separate parameter, such as -// `...?foo.a=A&foo.b=B&foo.c=C`. -// -// For HTTP methods that allow a request body, the `body` field -// specifies the mapping. Consider a REST update method on the -// message resource collection: -// -// service Messaging { -// rpc UpdateMessage(UpdateMessageRequest) returns (Message) { -// option (google.api.http) = { -// patch: "/v1/messages/{message_id}" -// body: "message" -// }; -// } -// } -// message UpdateMessageRequest { -// string message_id = 1; // mapped to the URL -// Message message = 2; // mapped to the body -// } -// -// The following HTTP JSON to RPC mapping is enabled, where the -// representation of the JSON in the request body is determined by -// protos JSON encoding: -// -// HTTP | gRPC -// -----|----- -// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: -// "123456" message { text: "Hi!" })` -// -// The special name `*` can be used in the body mapping to define that -// every field not bound by the path template should be mapped to the -// request body. This enables the following alternative definition of -// the update method: -// -// service Messaging { -// rpc UpdateMessage(Message) returns (Message) { -// option (google.api.http) = { -// patch: "/v1/messages/{message_id}" -// body: "*" -// }; -// } -// } -// message Message { -// string message_id = 1; -// string text = 2; -// } -// -// -// The following HTTP JSON to RPC mapping is enabled: -// -// HTTP | gRPC -// -----|----- -// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: -// "123456" text: "Hi!")` -// -// Note that when using `*` in the body mapping, it is not possible to -// have HTTP parameters, as all fields not bound by the path end in -// the body. This makes this option more rarely used in practice when -// defining REST APIs. The common usage of `*` is in custom methods -// which don't use the URL at all for transferring data. -// -// It is possible to define multiple HTTP methods for one RPC by using -// the `additional_bindings` option. Example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get: "/v1/messages/{message_id}" -// additional_bindings { -// get: "/v1/users/{user_id}/messages/{message_id}" -// } -// }; -// } -// } -// message GetMessageRequest { -// string message_id = 1; -// string user_id = 2; -// } -// -// This enables the following two alternative HTTP JSON to RPC mappings: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` -// `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: -// "123456")` -// -// ## Rules for HTTP mapping -// -// 1. Leaf request fields (recursive expansion nested messages in the request -// message) are classified into three categories: -// - Fields referred by the path template. They are passed via the URL path. -// - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP -// request body. -// - All other fields are passed via the URL query parameters, and the -// parameter name is the field path in the request message. A repeated -// field can be represented as multiple query parameters under the same -// name. -// 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields -// are passed via URL path and HTTP request body. -// 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all -// fields are passed via URL path and URL query parameters. -// -// ### Path template syntax -// -// Template = "/" Segments [ Verb ] ; -// Segments = Segment { "/" Segment } ; -// Segment = "*" | "**" | LITERAL | Variable ; -// Variable = "{" FieldPath [ "=" Segments ] "}" ; -// FieldPath = IDENT { "." IDENT } ; -// Verb = ":" LITERAL ; -// -// The syntax `*` matches a single URL path segment. The syntax `**` matches -// zero or more URL path segments, which must be the last part of the URL path -// except the `Verb`. -// -// 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=*}`. -// -// The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` -// contains any reserved character, such characters should be percent-encoded -// before the matching. -// -// If a variable contains exactly one path segment, such as `"{var}"` or -// `"{var=*}"`, when such a variable is expanded into a URL path on the client -// side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The -// server side does the reverse decoding. Such variables show up in the -// [Discovery -// Document](https://developers.google.com/discovery/v1/reference/apis) as -// `{var}`. -// -// If a variable contains multiple path segments, such as `"{var=foo/*}"` -// or `"{var=**}"`, when such a variable is expanded into a URL path on the -// client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. -// The server side does the reverse decoding, except "%2F" and "%2f" are left -// unchanged. Such variables show up in the -// [Discovery -// Document](https://developers.google.com/discovery/v1/reference/apis) as -// `{+var}`. -// -// ## Using gRPC API Service Configuration -// -// gRPC API Service Configuration (service config) is a configuration language -// for configuring a gRPC service to become a user-facing product. The -// service config is simply the YAML representation of the `google.api.Service` -// proto message. -// -// As an alternative to annotating your proto file, you can configure gRPC -// transcoding in your service config YAML files. You do this by specifying a -// `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same -// effect as the proto annotation. This can be particularly useful if you -// have a proto that is reused in multiple services. Note that any transcoding -// specified in the service config will override any matching transcoding -// configuration in the proto. -// -// Example: -// -// http: -// rules: -// # Selects a gRPC method and applies HttpRule to it. -// - selector: example.v1.Messaging.GetMessage -// get: /v1/messages/{message_id}/{sub.subfield} -// -// ## Special notes -// -// When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the -// proto to JSON conversion must follow the [proto3 -// specification](https://developers.google.com/protocol-buffers/docs/proto3#json). -// -// While the single segment variable follows the semantics of -// [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String -// Expansion, the multi segment variable **does not** follow RFC 6570 Section -// 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion -// does not expand special characters like `?` and `#`, which would lead -// to invalid URLs. As the result, gRPC Transcoding uses a custom encoding -// for multi segment variables. -// -// The path variables **must not** refer to any repeated or mapped field, -// because client libraries are not capable of handling such variable expansion. -// -// The path variables **must not** capture the leading "/" character. The reason -// is that the most common use case "{var}" does not capture the leading "/" -// character. For consistency, all path variables must share the same behavior. -// -// Repeated message fields must not be mapped to URL query parameters, because -// no client library can support such complicated mapping. -// -// If an API needs to use a JSON array for request or response body, it can map -// the request or response body to a repeated field. However, some gRPC -// Transcoding implementations may not support this feature. -type HttpRule struct { - // Selects a method to which this rule applies. - // - // Refer to [selector][google.api.DocumentationRule.selector] for syntax details. - Selector string `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"` - // Determines the URL pattern is matched by this rules. This pattern can be - // used with any of the {get|put|post|delete|patch} methods. A custom method - // can be defined using the 'custom' field. - // - // Types that are valid to be assigned to Pattern: - // *HttpRule_Get - // *HttpRule_Put - // *HttpRule_Post - // *HttpRule_Delete - // *HttpRule_Patch - // *HttpRule_Custom - Pattern isHttpRule_Pattern `protobuf_oneof:"pattern"` - // The name of the request field whose value is mapped to the HTTP request - // body, or `*` for mapping all request fields not captured by the path - // pattern to the HTTP body, or omitted for not having any HTTP request body. - // - // NOTE: the referred field must be present at the top-level of the 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 - // response body. When omitted, the entire response message will be used - // as the HTTP response body. - // - // NOTE: The referred field must be present at the top-level of the response - // message type. - 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). - AdditionalBindings []*HttpRule `protobuf:"bytes,11,rep,name=additional_bindings,json=additionalBindings,proto3" json:"additional_bindings,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ff9994be407cdcc9, []int{1} -} - -func (m *HttpRule) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HttpRule.Unmarshal(m, b) -} -func (m *HttpRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HttpRule.Marshal(b, m, deterministic) -} -func (m *HttpRule) XXX_Merge(src proto.Message) { - xxx_messageInfo_HttpRule.Merge(m, src) -} -func (m *HttpRule) XXX_Size() int { - return xxx_messageInfo_HttpRule.Size(m) -} -func (m *HttpRule) XXX_DiscardUnknown() { - xxx_messageInfo_HttpRule.DiscardUnknown(m) -} - -var xxx_messageInfo_HttpRule proto.InternalMessageInfo - -func (m *HttpRule) GetSelector() string { - if m != nil { - return m.Selector - } - return "" -} - -type isHttpRule_Pattern interface { - isHttpRule_Pattern() -} - -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_Delete) isHttpRule_Pattern() {} - -func (*HttpRule_Patch) isHttpRule_Pattern() {} - -func (*HttpRule_Custom) isHttpRule_Pattern() {} - -func (m *HttpRule) GetPattern() isHttpRule_Pattern { - if m != nil { - return m.Pattern - } - return nil -} - -func (m *HttpRule) GetGet() string { - if x, ok := m.GetPattern().(*HttpRule_Get); ok { - return x.Get - } - return "" -} - -func (m *HttpRule) GetPut() string { - if x, ok := m.GetPattern().(*HttpRule_Put); ok { - return x.Put - } - return "" -} - -func (m *HttpRule) GetPost() string { - if x, ok := m.GetPattern().(*HttpRule_Post); ok { - return x.Post - } - return "" -} - -func (m *HttpRule) GetDelete() string { - if x, ok := m.GetPattern().(*HttpRule_Delete); ok { - return x.Delete - } - return "" -} - -func (m *HttpRule) GetPatch() string { - if x, ok := m.GetPattern().(*HttpRule_Patch); ok { - return x.Patch - } - return "" -} - -func (m *HttpRule) GetCustom() *CustomHttpPattern { - if x, ok := m.GetPattern().(*HttpRule_Custom); ok { - return x.Custom - } - return nil -} - -func (m *HttpRule) GetBody() string { - if m != nil { - return m.Body - } - return "" -} - -func (m *HttpRule) GetResponseBody() string { - if m != nil { - return m.ResponseBody - } - return "" -} - -func (m *HttpRule) GetAdditionalBindings() []*HttpRule { - if m != nil { - return m.AdditionalBindings - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*HttpRule) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*HttpRule_Get)(nil), - (*HttpRule_Put)(nil), - (*HttpRule_Post)(nil), - (*HttpRule_Delete)(nil), - (*HttpRule_Patch)(nil), - (*HttpRule_Custom)(nil), - } -} - -// A custom pattern is used for defining custom HTTP verb. -type CustomHttpPattern struct { - // The name of this custom HTTP verb. - Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` - // The path matched by this custom verb. - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ff9994be407cdcc9, []int{2} -} - -func (m *CustomHttpPattern) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomHttpPattern.Unmarshal(m, b) -} -func (m *CustomHttpPattern) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomHttpPattern.Marshal(b, m, deterministic) -} -func (m *CustomHttpPattern) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomHttpPattern.Merge(m, src) -} -func (m *CustomHttpPattern) XXX_Size() int { - return xxx_messageInfo_CustomHttpPattern.Size(m) -} -func (m *CustomHttpPattern) XXX_DiscardUnknown() { - xxx_messageInfo_CustomHttpPattern.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomHttpPattern proto.InternalMessageInfo - -func (m *CustomHttpPattern) GetKind() string { - if m != nil { - return m.Kind - } - return "" -} - -func (m *CustomHttpPattern) GetPath() string { - if m != nil { - return m.Path - } - return "" -} - -func init() { - proto.RegisterType((*Http)(nil), "google.api.Http") - proto.RegisterType((*HttpRule)(nil), "google.api.HttpRule") - proto.RegisterType((*CustomHttpPattern)(nil), "google.api.CustomHttpPattern") -} - -func init() { proto.RegisterFile("google/api/http.proto", fileDescriptor_ff9994be407cdcc9) } - -var fileDescriptor_ff9994be407cdcc9 = []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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0x2b, 0x8f, 0xfc, 0x22, - 0xfe, 0x81, 0x58, 0xb3, 0xd7, 0xf0, 0xb0, 0x41, 0xef, 0xac, 0xf1, 0x58, 0x46, 0xf3, 0x32, 0x9a, - 0x97, 0x83, 0x98, 0x07, 0x68, 0x0b, 0x4f, 0x84, 0x94, 0x8a, 0x94, 0x35, 0x42, 0x97, 0x7b, 0x65, - 0xa4, 0x32, 0xb5, 0xe7, 0x8b, 0xff, 0x7c, 0x0b, 0x76, 0x7a, 0x90, 0xf7, 0x7c, 0x3e, 0x87, 0x0b, - 0xd7, 0x85, 0x5a, 0xdd, 0xc0, 0xe3, 0x7f, 0x92, 0x86, 0x7c, 0xdf, 0x94, 0x91, 0xfd, 0x82, 0x63, - 0x1d, 0x34, 0x27, 0xe8, 0xd0, 0x6d, 0xb7, 0x88, 0x75, 0xfe, 0x15, 0x1e, 0x55, 0xf6, 0xfe, 0xec, - 0x67, 0xf3, 0x79, 0x1c, 0x13, 0xae, 0x67, 0x97, 0x7c, 0xbe, 0xed, 0x8d, 0xda, 0x6a, 0x61, 0xea, - 0xcc, 0x36, 0xf5, 0xa6, 0x46, 0x13, 0x6f, 0x6b, 0xd3, 0x59, 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/annotations/resource.pb.go b/vendor/google.golang.org/genproto/googleapis/api/annotations/resource.pb.go deleted file mode 100644 index 6aea4d70..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/annotations/resource.pb.go +++ /dev/null @@ -1,441 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/resource.proto - -package annotations - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// A description of the historical or future-looking state of the -// resource pattern. -type ResourceDescriptor_History int32 - -const ( - // The "unset" value. - ResourceDescriptor_HISTORY_UNSPECIFIED ResourceDescriptor_History = 0 - // The resource originally had one pattern and launched as such, and - // additional patterns were added later. - ResourceDescriptor_ORIGINALLY_SINGLE_PATTERN ResourceDescriptor_History = 1 - // The resource has one pattern, but the API owner expects to add more - // later. (This is the inverse of ORIGINALLY_SINGLE_PATTERN, and prevents - // that from being necessary once there are multiple patterns.) - ResourceDescriptor_FUTURE_MULTI_PATTERN ResourceDescriptor_History = 2 -) - -var ResourceDescriptor_History_name = map[int32]string{ - 0: "HISTORY_UNSPECIFIED", - 1: "ORIGINALLY_SINGLE_PATTERN", - 2: "FUTURE_MULTI_PATTERN", -} - -var ResourceDescriptor_History_value = map[string]int32{ - "HISTORY_UNSPECIFIED": 0, - "ORIGINALLY_SINGLE_PATTERN": 1, - "FUTURE_MULTI_PATTERN": 2, -} - -func (x ResourceDescriptor_History) String() string { - return proto.EnumName(ResourceDescriptor_History_name, int32(x)) -} - -func (ResourceDescriptor_History) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_465e9122405d1bb5, []int{0, 0} -} - -// A simple descriptor of a resource type. -// -// ResourceDescriptor annotates a resource message (either by means of a -// protobuf annotation or use in the service config), and associates the -// resource's schema, the resource type, and the pattern of the resource name. -// -// Example: -// -// message Topic { -// // Indicates this message defines a resource schema. -// // Declares the resource type in the format of {service}/{kind}. -// // For Kubernetes resources, the format is {api group}/{kind}. -// option (google.api.resource) = { -// type: "pubsub.googleapis.com/Topic" -// name_descriptor: { -// pattern: "projects/{project}/topics/{topic}" -// parent_type: "cloudresourcemanager.googleapis.com/Project" -// parent_name_extractor: "projects/{project}" -// } -// }; -// } -// -// The ResourceDescriptor Yaml config will look like: -// -// resources: -// - type: "pubsub.googleapis.com/Topic" -// name_descriptor: -// - pattern: "projects/{project}/topics/{topic}" -// parent_type: "cloudresourcemanager.googleapis.com/Project" -// parent_name_extractor: "projects/{project}" -// -// Sometimes, resources have multiple patterns, typically because they can -// live under multiple parents. -// -// Example: -// -// message LogEntry { -// option (google.api.resource) = { -// type: "logging.googleapis.com/LogEntry" -// name_descriptor: { -// pattern: "projects/{project}/logs/{log}" -// parent_type: "cloudresourcemanager.googleapis.com/Project" -// parent_name_extractor: "projects/{project}" -// } -// name_descriptor: { -// pattern: "folders/{folder}/logs/{log}" -// parent_type: "cloudresourcemanager.googleapis.com/Folder" -// parent_name_extractor: "folders/{folder}" -// } -// name_descriptor: { -// pattern: "organizations/{organization}/logs/{log}" -// parent_type: "cloudresourcemanager.googleapis.com/Organization" -// parent_name_extractor: "organizations/{organization}" -// } -// name_descriptor: { -// pattern: "billingAccounts/{billing_account}/logs/{log}" -// parent_type: "billing.googleapis.com/BillingAccount" -// parent_name_extractor: "billingAccounts/{billing_account}" -// } -// }; -// } -// -// The ResourceDescriptor Yaml config will look like: -// -// resources: -// - type: 'logging.googleapis.com/LogEntry' -// name_descriptor: -// - pattern: "projects/{project}/logs/{log}" -// parent_type: "cloudresourcemanager.googleapis.com/Project" -// parent_name_extractor: "projects/{project}" -// - pattern: "folders/{folder}/logs/{log}" -// parent_type: "cloudresourcemanager.googleapis.com/Folder" -// parent_name_extractor: "folders/{folder}" -// - pattern: "organizations/{organization}/logs/{log}" -// parent_type: "cloudresourcemanager.googleapis.com/Organization" -// parent_name_extractor: "organizations/{organization}" -// - pattern: "billingAccounts/{billing_account}/logs/{log}" -// parent_type: "billing.googleapis.com/BillingAccount" -// parent_name_extractor: "billingAccounts/{billing_account}" -// -// For flexible resources, the resource name doesn't contain parent names, but -// the resource itself has parents for policy evaluation. -// -// Example: -// -// message Shelf { -// option (google.api.resource) = { -// type: "library.googleapis.com/Shelf" -// name_descriptor: { -// pattern: "shelves/{shelf}" -// parent_type: "cloudresourcemanager.googleapis.com/Project" -// } -// name_descriptor: { -// pattern: "shelves/{shelf}" -// parent_type: "cloudresourcemanager.googleapis.com/Folder" -// } -// }; -// } -// -// The ResourceDescriptor Yaml config will look like: -// -// resources: -// - type: 'library.googleapis.com/Shelf' -// name_descriptor: -// - pattern: "shelves/{shelf}" -// parent_type: "cloudresourcemanager.googleapis.com/Project" -// - pattern: "shelves/{shelf}" -// parent_type: "cloudresourcemanager.googleapis.com/Folder" -type ResourceDescriptor struct { - // The resource type. It must be in the format of - // {service_name}/{resource_type_kind}. The `resource_type_kind` must be - // singular and must not include version numbers. - // - // Example: `storage.googleapis.com/Bucket` - // - // The value of the resource_type_kind must follow the regular expression - // /[A-Za-z][a-zA-Z0-9]+/. It should start with an upper case character and - // should use PascalCase (UpperCamelCase). The maximum number of - // characters allowed for the `resource_type_kind` is 100. - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - // Optional. The relative resource name pattern associated with this resource - // type. The DNS prefix of the full resource name shouldn't be specified here. - // - // The path pattern must follow the syntax, which aligns with HTTP binding - // syntax: - // - // Template = Segment { "/" Segment } ; - // Segment = LITERAL | Variable ; - // Variable = "{" LITERAL "}" ; - // - // Examples: - // - // - "projects/{project}/topics/{topic}" - // - "projects/{project}/knowledgeBases/{knowledge_base}" - // - // The components in braces correspond to the IDs for each resource in the - // hierarchy. It is expected that, if multiple patterns are provided, - // the same component name (e.g. "project") refers to IDs of the same - // type of resource. - Pattern []string `protobuf:"bytes,2,rep,name=pattern,proto3" json:"pattern,omitempty"` - // Optional. The field on the resource that designates the resource name - // field. If omitted, this is assumed to be "name". - NameField string `protobuf:"bytes,3,opt,name=name_field,json=nameField,proto3" json:"name_field,omitempty"` - // Optional. The historical or future-looking state of the resource pattern. - // - // Example: - // - // // The InspectTemplate message originally only supported resource - // // names with organization, and project was added later. - // message InspectTemplate { - // option (google.api.resource) = { - // type: "dlp.googleapis.com/InspectTemplate" - // pattern: - // "organizations/{organization}/inspectTemplates/{inspect_template}" - // pattern: "projects/{project}/inspectTemplates/{inspect_template}" - // history: ORIGINALLY_SINGLE_PATTERN - // }; - // } - History ResourceDescriptor_History `protobuf:"varint,4,opt,name=history,proto3,enum=google.api.ResourceDescriptor_History" json:"history,omitempty"` - // The plural name used in the resource name, such as 'projects' for - // the name of 'projects/{project}'. It is the same concept of the `plural` - // field in k8s CRD spec - // https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/ - Plural string `protobuf:"bytes,5,opt,name=plural,proto3" json:"plural,omitempty"` - // The same concept of the `singular` field in k8s CRD spec - // https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/ - // Such as "project" for the `resourcemanager.googleapis.com/Project` type. - Singular string `protobuf:"bytes,6,opt,name=singular,proto3" json:"singular,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ResourceDescriptor) Reset() { *m = ResourceDescriptor{} } -func (m *ResourceDescriptor) String() string { return proto.CompactTextString(m) } -func (*ResourceDescriptor) ProtoMessage() {} -func (*ResourceDescriptor) Descriptor() ([]byte, []int) { - return fileDescriptor_465e9122405d1bb5, []int{0} -} - -func (m *ResourceDescriptor) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResourceDescriptor.Unmarshal(m, b) -} -func (m *ResourceDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResourceDescriptor.Marshal(b, m, deterministic) -} -func (m *ResourceDescriptor) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResourceDescriptor.Merge(m, src) -} -func (m *ResourceDescriptor) XXX_Size() int { - return xxx_messageInfo_ResourceDescriptor.Size(m) -} -func (m *ResourceDescriptor) XXX_DiscardUnknown() { - xxx_messageInfo_ResourceDescriptor.DiscardUnknown(m) -} - -var xxx_messageInfo_ResourceDescriptor proto.InternalMessageInfo - -func (m *ResourceDescriptor) GetType() string { - if m != nil { - return m.Type - } - return "" -} - -func (m *ResourceDescriptor) GetPattern() []string { - if m != nil { - return m.Pattern - } - return nil -} - -func (m *ResourceDescriptor) GetNameField() string { - if m != nil { - return m.NameField - } - return "" -} - -func (m *ResourceDescriptor) GetHistory() ResourceDescriptor_History { - if m != nil { - return m.History - } - return ResourceDescriptor_HISTORY_UNSPECIFIED -} - -func (m *ResourceDescriptor) GetPlural() string { - if m != nil { - return m.Plural - } - return "" -} - -func (m *ResourceDescriptor) GetSingular() string { - if m != nil { - return m.Singular - } - return "" -} - -// Defines a proto annotation that describes a string field that refers to -// an API resource. -type ResourceReference struct { - // The resource type that the annotated field references. - // - // Example: - // - // message Subscription { - // string topic = 2 [(google.api.resource_reference) = { - // type: "pubsub.googleapis.com/Topic" - // }]; - // } - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - // The resource type of a child collection that the annotated field - // references. This is useful for annotating the `parent` field that - // doesn't have a fixed resource type. - // - // Example: - // - // message ListLogEntriesRequest { - // string parent = 1 [(google.api.resource_reference) = { - // child_type: "logging.googleapis.com/LogEntry" - // }; - // } - ChildType string `protobuf:"bytes,2,opt,name=child_type,json=childType,proto3" json:"child_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ResourceReference) Reset() { *m = ResourceReference{} } -func (m *ResourceReference) String() string { return proto.CompactTextString(m) } -func (*ResourceReference) ProtoMessage() {} -func (*ResourceReference) Descriptor() ([]byte, []int) { - return fileDescriptor_465e9122405d1bb5, []int{1} -} - -func (m *ResourceReference) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResourceReference.Unmarshal(m, b) -} -func (m *ResourceReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResourceReference.Marshal(b, m, deterministic) -} -func (m *ResourceReference) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResourceReference.Merge(m, src) -} -func (m *ResourceReference) XXX_Size() int { - return xxx_messageInfo_ResourceReference.Size(m) -} -func (m *ResourceReference) XXX_DiscardUnknown() { - xxx_messageInfo_ResourceReference.DiscardUnknown(m) -} - -var xxx_messageInfo_ResourceReference proto.InternalMessageInfo - -func (m *ResourceReference) GetType() string { - if m != nil { - return m.Type - } - return "" -} - -func (m *ResourceReference) GetChildType() string { - if m != nil { - return m.ChildType - } - return "" -} - -var E_ResourceReference = &proto.ExtensionDesc{ - ExtendedType: (*descriptor.FieldOptions)(nil), - ExtensionType: (*ResourceReference)(nil), - Field: 1055, - Name: "google.api.resource_reference", - Tag: "bytes,1055,opt,name=resource_reference", - Filename: "google/api/resource.proto", -} - -var E_ResourceDefinition = &proto.ExtensionDesc{ - ExtendedType: (*descriptor.FileOptions)(nil), - ExtensionType: ([]*ResourceDescriptor)(nil), - Field: 1053, - Name: "google.api.resource_definition", - Tag: "bytes,1053,rep,name=resource_definition", - Filename: "google/api/resource.proto", -} - -var E_Resource = &proto.ExtensionDesc{ - ExtendedType: (*descriptor.MessageOptions)(nil), - ExtensionType: (*ResourceDescriptor)(nil), - Field: 1053, - Name: "google.api.resource", - Tag: "bytes,1053,opt,name=resource", - Filename: "google/api/resource.proto", -} - -func init() { - proto.RegisterEnum("google.api.ResourceDescriptor_History", ResourceDescriptor_History_name, ResourceDescriptor_History_value) - proto.RegisterType((*ResourceDescriptor)(nil), "google.api.ResourceDescriptor") - proto.RegisterType((*ResourceReference)(nil), "google.api.ResourceReference") - proto.RegisterExtension(E_ResourceReference) - proto.RegisterExtension(E_ResourceDefinition) - proto.RegisterExtension(E_Resource) -} - -func init() { proto.RegisterFile("google/api/resource.proto", fileDescriptor_465e9122405d1bb5) } - -var fileDescriptor_465e9122405d1bb5 = []byte{ - // 490 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0xcd, 0x6e, 0xd3, 0x4c, - 0x14, 0xfd, 0x9c, 0xe4, 0xcb, 0xcf, 0xad, 0xa8, 0xda, 0x29, 0x02, 0xb7, 0x22, 0x60, 0x65, 0x81, - 0xb2, 0xb2, 0xa5, 0xb0, 0x0b, 0x1b, 0x52, 0xe2, 0xa4, 0x96, 0xd2, 0xc4, 0x9a, 0x38, 0x8b, 0x02, - 0x92, 0x35, 0x75, 0x26, 0xee, 0x48, 0xee, 0xcc, 0x68, 0xec, 0x2c, 0xf2, 0x30, 0x08, 0x89, 0x67, - 0xe0, 0xe1, 0x58, 0xa2, 0x8c, 0x7f, 0x88, 0x68, 0x84, 0xd8, 0xcd, 0xbd, 0xe7, 0xde, 0x73, 0x8e, - 0xcf, 0x95, 0xe1, 0x32, 0x16, 0x22, 0x4e, 0xa8, 0x43, 0x24, 0x73, 0x14, 0x4d, 0xc5, 0x56, 0x45, - 0xd4, 0x96, 0x4a, 0x64, 0x02, 0x41, 0x0e, 0xd9, 0x44, 0xb2, 0x2b, 0xab, 0x18, 0xd3, 0xc8, 0xfd, - 0x76, 0xe3, 0xac, 0x69, 0x1a, 0x29, 0x26, 0x33, 0xa1, 0xf2, 0xe9, 0xde, 0x8f, 0x1a, 0x20, 0x5c, - 0x10, 0x8c, 0x2b, 0x10, 0x21, 0x68, 0x64, 0x3b, 0x49, 0x4d, 0xc3, 0x32, 0xfa, 0x1d, 0xac, 0xdf, - 0xc8, 0x84, 0x96, 0x24, 0x59, 0x46, 0x15, 0x37, 0x6b, 0x56, 0xbd, 0xdf, 0xc1, 0x65, 0x89, 0xba, - 0x00, 0x9c, 0x3c, 0xd2, 0x70, 0xc3, 0x68, 0xb2, 0x36, 0xeb, 0x7a, 0xa7,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96, 0x62, 0xe5, 0x06, 0x9f, 0xab, 0x3f, 0x5b, 0x43, 0x0e, 0x17, 0x95, 0xda, 0x9a, - 0x6e, 0x18, 0x67, 0x7b, 0x42, 0xf4, 0xea, 0x88, 0x5c, 0x42, 0x4b, 0xb5, 0xaf, 0x6d, 0xab, 0xde, - 0x3f, 0x19, 0xbc, 0xfe, 0xfb, 0xcd, 0x70, 0xf5, 0x1d, 0xe3, 0x8a, 0x78, 0xf8, 0x05, 0xda, 0x65, - 0x17, 0xbd, 0x79, 0x22, 0x72, 0x4b, 0xd3, 0x94, 0xc4, 0x87, 0x3a, 0xc6, 0x3f, 0xe8, 0x54, 0x8c, - 0xd7, 0x1c, 0x4e, 0x23, 0xf1, 0x78, 0x30, 0x7e, 0xfd, 0xac, 0x9c, 0xf7, 0xf7, 0x1a, 0xbe, 0xf1, - 0x69, 0x54, 0x80, 0xb1, 0x48, 0x08, 0x8f, 0x6d, 0xa1, 0x62, 0x27, 0xa6, 0x5c, 0x3b, 0x70, 0x72, - 0x88, 0x48, 0x96, 0xea, 0xbf, 0x88, 0x70, 0x2e, 0x32, 0xa2, 0xad, 0xbc, 0x3f, 0x78, 0xff, 0x34, - 0x8c, 0xef, 0xb5, 0xc6, 0x74, 0xe4, 0x7b, 0xf7, 0x4d, 0xbd, 0xf7, 0xee, 0x57, 0x00, 0x00, 0x00, - 0xff, 0xff, 0x75, 0x12, 0x53, 0xef, 0x7c, 0x03, 0x00, 0x00, -} 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 deleted file mode 100644 index d13e749c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/configchange/config_change.pb.go +++ /dev/null @@ -1,232 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/config_change.proto - -package configchange - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Classifies set of possible modifications to an object in the service -// configuration. -type ChangeType int32 - -const ( - // No value was provided. - ChangeType_CHANGE_TYPE_UNSPECIFIED ChangeType = 0 - // The changed object exists in the 'new' service configuration, but not - // in the 'old' service configuration. - ChangeType_ADDED ChangeType = 1 - // The changed object exists in the 'old' service configuration, but not - // in the 'new' service configuration. - ChangeType_REMOVED ChangeType = 2 - // The changed object exists in both service configurations, but its value - // is different. - ChangeType_MODIFIED ChangeType = 3 -) - -var ChangeType_name = map[int32]string{ - 0: "CHANGE_TYPE_UNSPECIFIED", - 1: "ADDED", - 2: "REMOVED", - 3: "MODIFIED", -} - -var ChangeType_value = map[string]int32{ - "CHANGE_TYPE_UNSPECIFIED": 0, - "ADDED": 1, - "REMOVED": 2, - "MODIFIED": 3, -} - -func (x ChangeType) String() string { - return proto.EnumName(ChangeType_name, int32(x)) -} - -func (ChangeType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_5c5c17e3f260da51, []int{0} -} - -// Output generated from semantically comparing two versions of a service -// configuration. -// -// Includes detailed information about a field that have changed with -// applicable advice about potential consequences for the change, such as -// backwards-incompatibility. -type ConfigChange struct { - // Object hierarchy path to the change, with levels separated by a '.' - // character. For repeated fields, an applicable unique identifier field is - // used for the index (usually selector, name, or id). For maps, the term - // 'key' is used. If the field has no unique identifier, the numeric index - // is used. - // Examples: - // - visibility.rules[selector=="google.LibraryService.ListBooks"].restriction - // - quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value - // - logging.producer_destinations[0] - Element string `protobuf:"bytes,1,opt,name=element,proto3" json:"element,omitempty"` - // Value of the changed object in the old Service configuration, - // in JSON format. This field will not be populated if ChangeType == ADDED. - OldValue string `protobuf:"bytes,2,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"` - // Value of the changed object in the new Service configuration, - // in JSON format. This field will not be populated if ChangeType == REMOVED. - NewValue string `protobuf:"bytes,3,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"` - // The type for this change, either ADDED, REMOVED, or MODIFIED. - ChangeType ChangeType `protobuf:"varint,4,opt,name=change_type,json=changeType,proto3,enum=google.api.ChangeType" json:"change_type,omitempty"` - // Collection of advice provided for this change, useful for determining the - // possible impact of this change. - Advices []*Advice `protobuf:"bytes,5,rep,name=advices,proto3" json:"advices,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_5c5c17e3f260da51, []int{0} -} - -func (m *ConfigChange) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConfigChange.Unmarshal(m, b) -} -func (m *ConfigChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConfigChange.Marshal(b, m, deterministic) -} -func (m *ConfigChange) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConfigChange.Merge(m, src) -} -func (m *ConfigChange) XXX_Size() int { - return xxx_messageInfo_ConfigChange.Size(m) -} -func (m *ConfigChange) XXX_DiscardUnknown() { - xxx_messageInfo_ConfigChange.DiscardUnknown(m) -} - -var xxx_messageInfo_ConfigChange proto.InternalMessageInfo - -func (m *ConfigChange) GetElement() string { - if m != nil { - return m.Element - } - return "" -} - -func (m *ConfigChange) GetOldValue() string { - if m != nil { - return m.OldValue - } - return "" -} - -func (m *ConfigChange) GetNewValue() string { - if m != nil { - return m.NewValue - } - return "" -} - -func (m *ConfigChange) GetChangeType() ChangeType { - if m != nil { - return m.ChangeType - } - return ChangeType_CHANGE_TYPE_UNSPECIFIED -} - -func (m *ConfigChange) GetAdvices() []*Advice { - if m != nil { - return m.Advices - } - return nil -} - -// Generated advice about this change, used for providing more -// information about how a change will affect the existing service. -type Advice struct { - // Useful description for why this advice was applied and what actions should - // be taken to mitigate any implied risks. - 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 *Advice) Reset() { *m = Advice{} } -func (m *Advice) String() string { return proto.CompactTextString(m) } -func (*Advice) ProtoMessage() {} -func (*Advice) Descriptor() ([]byte, []int) { - return fileDescriptor_5c5c17e3f260da51, []int{1} -} - -func (m *Advice) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Advice.Unmarshal(m, b) -} -func (m *Advice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Advice.Marshal(b, m, deterministic) -} -func (m *Advice) XXX_Merge(src proto.Message) { - xxx_messageInfo_Advice.Merge(m, src) -} -func (m *Advice) XXX_Size() int { - return xxx_messageInfo_Advice.Size(m) -} -func (m *Advice) XXX_DiscardUnknown() { - xxx_messageInfo_Advice.DiscardUnknown(m) -} - -var xxx_messageInfo_Advice proto.InternalMessageInfo - -func (m *Advice) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func init() { - proto.RegisterEnum("google.api.ChangeType", ChangeType_name, ChangeType_value) - proto.RegisterType((*ConfigChange)(nil), "google.api.ConfigChange") - proto.RegisterType((*Advice)(nil), "google.api.Advice") -} - -func init() { proto.RegisterFile("google/api/config_change.proto", fileDescriptor_5c5c17e3f260da51) } - -var fileDescriptor_5c5c17e3f260da51 = []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, 0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, 0x42, 0x36, 0xf1, - 0x9a, 0xc9, 0x8c, 0x09, 0x7e, 0x0c, 0x5b, 0xfc, 0x1a, 0xcc, 0x01, 0xce, 0x3b, 0x51, 0x17, 0xae, - 0xdd, 0x27, 0x67, 0x36, 0xf6, 0xa3, 0xc5, 0x6b, 0xe0, 0x47, 0x2f, 0xb3, 0xe7, 0xc0, 0x77, 0x27, - 0x8f, 0x13, 0xdf, 0xeb, 0x5c, 0xa0, 0x26, 0x54, 0x1d, 0xcf, 0xf3, 0xbd, 0x8e, 0x86, 0x74, 0xa8, - 0x87, 0xfe, 0x74, 0xbe, 0xf4, 0xbd, 0x4e, 0x09, 0xb5, 0xa0, 0x31, 0x9d, 0x7b, 0xca, 0x55, 0x1e, - 0x7d, 0x41, 0x3b, 0x16, 0xab, 0x42, 0xbc, 0xd1, 0x65, 0xb1, 0xd7, 0xe0, 0xd0, 0x7c, 0xa0, 0xbd, - 0xb9, 0x47, 0x03, 0x15, 0x29, 0xe6, 0xd4, 0x12, 0x6b, 0x6a, 0x53, 0xc2, 0xf3, 0xbb, 0xd8, 0x0a, - 0x61, 0xc9, 0x36, 0x85, 0xd3, 0xa9, 0x36, 0x1e, 0x8a, 0xe2, 0xa7, 0x54, 0x19, 0x3b, 0xc1, 0xe4, - 0xbd, 0x96, 0x8f, 0xdd, 0xfd, 0x05, 0x00, 0x00, 0xff, 0xff, 0x46, 0x8b, 0xd3, 0xf5, 0xf0, 0x01, - 0x00, 0x00, -} 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 deleted file mode 100644 index 39ff34cf..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/distribution/distribution.pb.go +++ /dev/null @@ -1,638 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/distribution.proto - -package distribution - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - any "github.com/golang/protobuf/ptypes/any" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// `Distribution` contains summary statistics for a population of values. It -// optionally contains a histogram representing the distribution of those values -// across a set of buckets. -// -// The summary statistics are the count, mean, sum of the squared deviation from -// the mean, the minimum, and the maximum of the set of population of values. -// The histogram is based on a sequence of buckets and gives a count of values -// that fall into each bucket. The boundaries of the buckets are given either -// explicitly or by formulas for buckets of fixed or exponentially increasing -// widths. -// -// Although it is not forbidden, it is generally a bad idea to include -// non-finite values (infinities or NaNs) in the population of values, as this -// will render the `mean` and `sum_of_squared_deviation` fields meaningless. -type Distribution struct { - // The number of values in the population. Must be non-negative. This value - // must equal the sum of the values in `bucket_counts` if a histogram is - // provided. - Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` - // The arithmetic mean of the values in the population. If `count` is zero - // then this field must be zero. - Mean float64 `protobuf:"fixed64,2,opt,name=mean,proto3" json:"mean,omitempty"` - // The sum of squared deviations from the mean of the values in the - // population. For values x_i this is: - // - // Sum[i=1..n]((x_i - mean)^2) - // - // Knuth, "The Art of Computer Programming", Vol. 2, page 323, 3rd edition - // describes Welford's method for accumulating this sum in one pass. - // - // If `count` is zero then this field must be zero. - SumOfSquaredDeviation float64 `protobuf:"fixed64,3,opt,name=sum_of_squared_deviation,json=sumOfSquaredDeviation,proto3" json:"sum_of_squared_deviation,omitempty"` - // If specified, contains the range of the population values. The field - // must not be present if the `count` is zero. - Range *Distribution_Range `protobuf:"bytes,4,opt,name=range,proto3" json:"range,omitempty"` - // Defines the histogram bucket boundaries. If the distribution does not - // contain a histogram, then omit this field. - BucketOptions *Distribution_BucketOptions `protobuf:"bytes,6,opt,name=bucket_options,json=bucketOptions,proto3" json:"bucket_options,omitempty"` - // The number of values in each bucket of the histogram, as described in - // `bucket_options`. If the distribution does not have a histogram, then omit - // this field. If there is a histogram, then the sum of the values in - // `bucket_counts` must equal the value in the `count` field of the - // distribution. - // - // If present, `bucket_counts` should contain N values, where N is the number - // of buckets specified in `bucket_options`. If you supply fewer than N - // values, the remaining values are assumed to be 0. - // - // The order of the values in `bucket_counts` follows the bucket numbering - // schemes described for the three bucket types. The first value must be the - // count for the underflow bucket (number 0). The next N-2 values are the - // counts for the finite buckets (number 1 through N-2). The N'th value in - // `bucket_counts` is the count for the overflow bucket (number N-1). - BucketCounts []int64 `protobuf:"varint,7,rep,packed,name=bucket_counts,json=bucketCounts,proto3" json:"bucket_counts,omitempty"` - // Must be in increasing order of `value` field. - Exemplars []*Distribution_Exemplar `protobuf:"bytes,10,rep,name=exemplars,proto3" json:"exemplars,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_0835ee0fd90bf943, []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 (m *Distribution) XXX_Merge(src proto.Message) { - xxx_messageInfo_Distribution.Merge(m, 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) GetCount() int64 { - if m != nil { - return m.Count - } - return 0 -} - -func (m *Distribution) GetMean() float64 { - if m != nil { - return m.Mean - } - return 0 -} - -func (m *Distribution) GetSumOfSquaredDeviation() float64 { - if m != nil { - return m.SumOfSquaredDeviation - } - return 0 -} - -func (m *Distribution) GetRange() *Distribution_Range { - if m != nil { - return m.Range - } - return nil -} - -func (m *Distribution) GetBucketOptions() *Distribution_BucketOptions { - if m != nil { - return m.BucketOptions - } - return nil -} - -func (m *Distribution) GetBucketCounts() []int64 { - if m != nil { - return m.BucketCounts - } - return nil -} - -func (m *Distribution) GetExemplars() []*Distribution_Exemplar { - if m != nil { - return m.Exemplars - } - return nil -} - -// The range of the population values. -type Distribution_Range struct { - // The minimum of the population values. - Min float64 `protobuf:"fixed64,1,opt,name=min,proto3" json:"min,omitempty"` - // The maximum of the population values. - Max float64 `protobuf:"fixed64,2,opt,name=max,proto3" json:"max,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_0835ee0fd90bf943, []int{0, 0} -} - -func (m *Distribution_Range) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Distribution_Range.Unmarshal(m, b) -} -func (m *Distribution_Range) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Distribution_Range.Marshal(b, m, deterministic) -} -func (m *Distribution_Range) XXX_Merge(src proto.Message) { - xxx_messageInfo_Distribution_Range.Merge(m, src) -} -func (m *Distribution_Range) XXX_Size() int { - return xxx_messageInfo_Distribution_Range.Size(m) -} -func (m *Distribution_Range) XXX_DiscardUnknown() { - xxx_messageInfo_Distribution_Range.DiscardUnknown(m) -} - -var xxx_messageInfo_Distribution_Range proto.InternalMessageInfo - -func (m *Distribution_Range) GetMin() float64 { - if m != nil { - return m.Min - } - return 0 -} - -func (m *Distribution_Range) GetMax() float64 { - if m != nil { - return m.Max - } - return 0 -} - -// `BucketOptions` describes the bucket boundaries used to create a histogram -// for the distribution. The buckets can be in a linear sequence, an -// exponential sequence, or each bucket can be specified explicitly. -// `BucketOptions` does not include the number of values in each bucket. -// -// A bucket has an inclusive lower bound and exclusive upper bound for the -// values that are counted for that bucket. The upper bound of a bucket must -// be strictly greater than the lower bound. The sequence of N buckets for a -// distribution consists of an underflow bucket (number 0), zero or more -// finite buckets (number 1 through N - 2) and an overflow bucket (number N - -// 1). The buckets are contiguous: the lower bound of bucket i (i > 0) is the -// same as the upper bound of bucket i - 1. The buckets span the whole range -// of finite values: lower bound of the underflow bucket is -infinity and the -// upper bound of the overflow bucket is +infinity. The finite buckets are -// so-called because both bounds are finite. -type Distribution_BucketOptions struct { - // Exactly one of these three fields must be set. - // - // Types that are valid to be assigned to Options: - // *Distribution_BucketOptions_LinearBuckets - // *Distribution_BucketOptions_ExponentialBuckets - // *Distribution_BucketOptions_ExplicitBuckets - Options isDistribution_BucketOptions_Options `protobuf_oneof:"options"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Distribution_BucketOptions) Reset() { *m = Distribution_BucketOptions{} } -func (m *Distribution_BucketOptions) String() string { return proto.CompactTextString(m) } -func (*Distribution_BucketOptions) ProtoMessage() {} -func (*Distribution_BucketOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_0835ee0fd90bf943, []int{0, 1} -} - -func (m *Distribution_BucketOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Distribution_BucketOptions.Unmarshal(m, b) -} -func (m *Distribution_BucketOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Distribution_BucketOptions.Marshal(b, m, deterministic) -} -func (m *Distribution_BucketOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_Distribution_BucketOptions.Merge(m, src) -} -func (m *Distribution_BucketOptions) XXX_Size() int { - return xxx_messageInfo_Distribution_BucketOptions.Size(m) -} -func (m *Distribution_BucketOptions) XXX_DiscardUnknown() { - xxx_messageInfo_Distribution_BucketOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_Distribution_BucketOptions proto.InternalMessageInfo - -type isDistribution_BucketOptions_Options interface { - isDistribution_BucketOptions_Options() -} - -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_ExponentialBuckets) isDistribution_BucketOptions_Options() {} - -func (*Distribution_BucketOptions_ExplicitBuckets) isDistribution_BucketOptions_Options() {} - -func (m *Distribution_BucketOptions) GetOptions() isDistribution_BucketOptions_Options { - if m != nil { - return m.Options - } - return nil -} - -func (m *Distribution_BucketOptions) GetLinearBuckets() *Distribution_BucketOptions_Linear { - if x, ok := m.GetOptions().(*Distribution_BucketOptions_LinearBuckets); ok { - return x.LinearBuckets - } - return nil -} - -func (m *Distribution_BucketOptions) GetExponentialBuckets() *Distribution_BucketOptions_Exponential { - if x, ok := m.GetOptions().(*Distribution_BucketOptions_ExponentialBuckets); ok { - return x.ExponentialBuckets - } - return nil -} - -func (m *Distribution_BucketOptions) GetExplicitBuckets() *Distribution_BucketOptions_Explicit { - if x, ok := m.GetOptions().(*Distribution_BucketOptions_ExplicitBuckets); ok { - return x.ExplicitBuckets - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Distribution_BucketOptions) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Distribution_BucketOptions_LinearBuckets)(nil), - (*Distribution_BucketOptions_ExponentialBuckets)(nil), - (*Distribution_BucketOptions_ExplicitBuckets)(nil), - } -} - -// Specifies a linear sequence of buckets that all have the same width -// (except overflow and underflow). Each bucket represents a constant -// absolute uncertainty on the specific value in the bucket. -// -// There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the -// following boundaries: -// -// Upper bound (0 <= i < N-1): offset + (width * i). -// Lower bound (1 <= i < N): offset + (width * (i - 1)). -type Distribution_BucketOptions_Linear struct { - // Must be greater than 0. - NumFiniteBuckets int32 `protobuf:"varint,1,opt,name=num_finite_buckets,json=numFiniteBuckets,proto3" json:"num_finite_buckets,omitempty"` - // Must be greater than 0. - Width float64 `protobuf:"fixed64,2,opt,name=width,proto3" json:"width,omitempty"` - // Lower bound of the first bucket. - Offset float64 `protobuf:"fixed64,3,opt,name=offset,proto3" json:"offset,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Distribution_BucketOptions_Linear) Reset() { *m = Distribution_BucketOptions_Linear{} } -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_0835ee0fd90bf943, []int{0, 1, 0} -} - -func (m *Distribution_BucketOptions_Linear) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Distribution_BucketOptions_Linear.Unmarshal(m, b) -} -func (m *Distribution_BucketOptions_Linear) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Distribution_BucketOptions_Linear.Marshal(b, m, deterministic) -} -func (m *Distribution_BucketOptions_Linear) XXX_Merge(src proto.Message) { - xxx_messageInfo_Distribution_BucketOptions_Linear.Merge(m, src) -} -func (m *Distribution_BucketOptions_Linear) XXX_Size() int { - return xxx_messageInfo_Distribution_BucketOptions_Linear.Size(m) -} -func (m *Distribution_BucketOptions_Linear) XXX_DiscardUnknown() { - xxx_messageInfo_Distribution_BucketOptions_Linear.DiscardUnknown(m) -} - -var xxx_messageInfo_Distribution_BucketOptions_Linear proto.InternalMessageInfo - -func (m *Distribution_BucketOptions_Linear) GetNumFiniteBuckets() int32 { - if m != nil { - return m.NumFiniteBuckets - } - return 0 -} - -func (m *Distribution_BucketOptions_Linear) GetWidth() float64 { - if m != nil { - return m.Width - } - return 0 -} - -func (m *Distribution_BucketOptions_Linear) GetOffset() float64 { - if m != nil { - return m.Offset - } - return 0 -} - -// Specifies an exponential sequence of buckets that have a width that is -// proportional to the value of the lower bound. Each bucket represents a -// constant relative uncertainty on a specific value in the bucket. -// -// There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the -// following boundaries: -// -// Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). -// Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)). -type Distribution_BucketOptions_Exponential struct { - // Must be greater than 0. - NumFiniteBuckets int32 `protobuf:"varint,1,opt,name=num_finite_buckets,json=numFiniteBuckets,proto3" json:"num_finite_buckets,omitempty"` - // Must be greater than 1. - GrowthFactor float64 `protobuf:"fixed64,2,opt,name=growth_factor,json=growthFactor,proto3" json:"growth_factor,omitempty"` - // Must be greater than 0. - Scale float64 `protobuf:"fixed64,3,opt,name=scale,proto3" json:"scale,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Distribution_BucketOptions_Exponential) Reset() { - *m = Distribution_BucketOptions_Exponential{} -} -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_0835ee0fd90bf943, []int{0, 1, 1} -} - -func (m *Distribution_BucketOptions_Exponential) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Distribution_BucketOptions_Exponential.Unmarshal(m, b) -} -func (m *Distribution_BucketOptions_Exponential) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Distribution_BucketOptions_Exponential.Marshal(b, m, deterministic) -} -func (m *Distribution_BucketOptions_Exponential) XXX_Merge(src proto.Message) { - xxx_messageInfo_Distribution_BucketOptions_Exponential.Merge(m, src) -} -func (m *Distribution_BucketOptions_Exponential) XXX_Size() int { - return xxx_messageInfo_Distribution_BucketOptions_Exponential.Size(m) -} -func (m *Distribution_BucketOptions_Exponential) XXX_DiscardUnknown() { - xxx_messageInfo_Distribution_BucketOptions_Exponential.DiscardUnknown(m) -} - -var xxx_messageInfo_Distribution_BucketOptions_Exponential proto.InternalMessageInfo - -func (m *Distribution_BucketOptions_Exponential) GetNumFiniteBuckets() int32 { - if m != nil { - return m.NumFiniteBuckets - } - return 0 -} - -func (m *Distribution_BucketOptions_Exponential) GetGrowthFactor() float64 { - if m != nil { - return m.GrowthFactor - } - return 0 -} - -func (m *Distribution_BucketOptions_Exponential) GetScale() float64 { - if m != nil { - return m.Scale - } - return 0 -} - -// Specifies a set of buckets with arbitrary widths. -// -// There are `size(bounds) + 1` (= N) buckets. Bucket `i` has the following -// boundaries: -// -// Upper bound (0 <= i < N-1): bounds[i] -// Lower bound (1 <= i < N); bounds[i - 1] -// -// The `bounds` field must contain at least one element. If `bounds` has -// only one element, then there are no finite buckets, and that single -// element is the common boundary of the overflow and underflow buckets. -type Distribution_BucketOptions_Explicit struct { - // The values must be monotonically increasing. - Bounds []float64 `protobuf:"fixed64,1,rep,packed,name=bounds,proto3" json:"bounds,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Distribution_BucketOptions_Explicit) Reset() { *m = Distribution_BucketOptions_Explicit{} } -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_0835ee0fd90bf943, []int{0, 1, 2} -} - -func (m *Distribution_BucketOptions_Explicit) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Distribution_BucketOptions_Explicit.Unmarshal(m, b) -} -func (m *Distribution_BucketOptions_Explicit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Distribution_BucketOptions_Explicit.Marshal(b, m, deterministic) -} -func (m *Distribution_BucketOptions_Explicit) XXX_Merge(src proto.Message) { - xxx_messageInfo_Distribution_BucketOptions_Explicit.Merge(m, src) -} -func (m *Distribution_BucketOptions_Explicit) XXX_Size() int { - return xxx_messageInfo_Distribution_BucketOptions_Explicit.Size(m) -} -func (m *Distribution_BucketOptions_Explicit) XXX_DiscardUnknown() { - xxx_messageInfo_Distribution_BucketOptions_Explicit.DiscardUnknown(m) -} - -var xxx_messageInfo_Distribution_BucketOptions_Explicit proto.InternalMessageInfo - -func (m *Distribution_BucketOptions_Explicit) GetBounds() []float64 { - if m != nil { - return m.Bounds - } - return nil -} - -// Exemplars are example points that may be used to annotate aggregated -// distribution values. They are metadata that gives information about a -// particular value added to a Distribution bucket, such as a trace ID that -// was active when a value was added. They may contain further information, -// such as a example values and timestamps, origin, etc. -type Distribution_Exemplar struct { - // Value of the exemplar point. This value determines to which bucket the - // exemplar belongs. - Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"` - // The observation (sampling) time of the above value. - Timestamp *timestamp.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - // Contextual information about the example value. Examples are: - // - // Trace: type.googleapis.com/google.monitoring.v3.SpanContext - // - // Literal string: type.googleapis.com/google.protobuf.StringValue - // - // Labels dropped during aggregation: - // type.googleapis.com/google.monitoring.v3.DroppedLabels - // - // There may be only a single attachment of any given message type in a - // single exemplar, and this is enforced by the system. - Attachments []*any.Any `protobuf:"bytes,3,rep,name=attachments,proto3" json:"attachments,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Distribution_Exemplar) Reset() { *m = Distribution_Exemplar{} } -func (m *Distribution_Exemplar) String() string { return proto.CompactTextString(m) } -func (*Distribution_Exemplar) ProtoMessage() {} -func (*Distribution_Exemplar) Descriptor() ([]byte, []int) { - return fileDescriptor_0835ee0fd90bf943, []int{0, 2} -} - -func (m *Distribution_Exemplar) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Distribution_Exemplar.Unmarshal(m, b) -} -func (m *Distribution_Exemplar) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Distribution_Exemplar.Marshal(b, m, deterministic) -} -func (m *Distribution_Exemplar) XXX_Merge(src proto.Message) { - xxx_messageInfo_Distribution_Exemplar.Merge(m, src) -} -func (m *Distribution_Exemplar) XXX_Size() int { - return xxx_messageInfo_Distribution_Exemplar.Size(m) -} -func (m *Distribution_Exemplar) XXX_DiscardUnknown() { - xxx_messageInfo_Distribution_Exemplar.DiscardUnknown(m) -} - -var xxx_messageInfo_Distribution_Exemplar proto.InternalMessageInfo - -func (m *Distribution_Exemplar) GetValue() float64 { - if m != nil { - return m.Value - } - return 0 -} - -func (m *Distribution_Exemplar) GetTimestamp() *timestamp.Timestamp { - if m != nil { - return m.Timestamp - } - return nil -} - -func (m *Distribution_Exemplar) GetAttachments() []*any.Any { - if m != nil { - return m.Attachments - } - return nil -} - -func init() { - proto.RegisterType((*Distribution)(nil), "google.api.Distribution") - proto.RegisterType((*Distribution_Range)(nil), "google.api.Distribution.Range") - proto.RegisterType((*Distribution_BucketOptions)(nil), "google.api.Distribution.BucketOptions") - proto.RegisterType((*Distribution_BucketOptions_Linear)(nil), "google.api.Distribution.BucketOptions.Linear") - proto.RegisterType((*Distribution_BucketOptions_Exponential)(nil), "google.api.Distribution.BucketOptions.Exponential") - proto.RegisterType((*Distribution_BucketOptions_Explicit)(nil), "google.api.Distribution.BucketOptions.Explicit") - proto.RegisterType((*Distribution_Exemplar)(nil), "google.api.Distribution.Exemplar") -} - -func init() { proto.RegisterFile("google/api/distribution.proto", fileDescriptor_0835ee0fd90bf943) } - -var fileDescriptor_0835ee0fd90bf943 = []byte{ - // 631 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xed, 0x6a, 0xd4, 0x40, - 0x14, 0x6d, 0x9a, 0xdd, 0x6d, 0x7b, 0xb7, 0x5b, 0xeb, 0x58, 0x25, 0x06, 0xd4, 0xb5, 0x05, 0x59, - 0x50, 0xb3, 0xb0, 0x8a, 0x0a, 0xfe, 0x90, 0x6e, 0x3f, 0xac, 0xa0, 0xb4, 0x8c, 0xe2, 0x0f, 0x11, - 0xc2, 0x6c, 0x76, 0x92, 0x0e, 0x26, 0x33, 0x69, 0x32, 0x69, 0xb7, 0xaf, 0xe1, 0x23, 0xf8, 0x16, - 0xbe, 0x8a, 0x4f, 0x23, 0xf3, 0x91, 0x6e, 0x6a, 0x29, 0xd4, 0x7f, 0xb9, 0xf7, 0x9c, 0x7b, 0xce, - 0xbd, 0x73, 0x67, 0x02, 0x0f, 0x12, 0x21, 0x92, 0x94, 0x0e, 0x49, 0xce, 0x86, 0x53, 0x56, 0xca, - 0x82, 0x4d, 0x2a, 0xc9, 0x04, 0x0f, 0xf2, 0x42, 0x48, 0x81, 0xc0, 0xc0, 0x01, 0xc9, 0x99, 0x7f, - 0xdf, 0x52, 0x35, 0x32, 0xa9, 0xe2, 0x21, 0xe1, 0xe7, 0x86, 0xe6, 0x3f, 0xfa, 0x17, 0x92, 0x2c, - 0xa3, 0xa5, 0x24, 0x59, 0x6e, 0x08, 0x9b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a, 0x33, 0xd1, 0x78, 0x05, 0x96, 0xec, 0x5b, 0xf0, 0x7f, 0x3a, 0x8a, 0x6f, 0xae, - 0x9d, 0x52, 0x3c, 0x25, 0x69, 0x45, 0xed, 0x75, 0x33, 0x01, 0x7a, 0x03, 0x2b, 0x17, 0xaf, 0xdf, - 0xae, 0xda, 0xaf, 0xd7, 0x50, 0xff, 0x1f, 0x82, 0x2f, 0x35, 0x03, 0xcf, 0xc9, 0xe8, 0x15, 0x74, - 0x89, 0x94, 0x24, 0x3a, 0xce, 0x28, 0xd7, 0x2b, 0x54, 0x0f, 0x61, 0xe3, 0x4a, 0xed, 0x36, 0x3f, - 0xc7, 0x4d, 0xe2, 0xf8, 0x04, 0xd6, 0x22, 0x91, 0x35, 0x56, 0x3d, 0xbe, 0xdd, 0xdc, 0xf5, 0x91, - 0x2a, 0x3c, 0x72, 0xbe, 0xed, 0x58, 0x42, 0x22, 0x52, 0xc2, 0x93, 0x40, 0x14, 0xc9, 0x30, 0xa1, - 0x5c, 0xcb, 0x0e, 0x0d, 0x44, 0x72, 0x56, 0x5e, 0xf9, 0x13, 0xbe, 0x6d, 0x06, 0xbf, 0x16, 0x5b, - 0xef, 0xb7, 0x8f, 0x3e, 0x4c, 0x3a, 0xba, 0xec, 0xc5, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x89, - 0xf1, 0xc2, 0x23, 0x3f, 0x05, 0x00, 0x00, -} 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 deleted file mode 100644 index afb578c8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/cel_service.pb.go +++ /dev/null @@ -1,211 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/expr/v1alpha1/cel_service.proto - -package expr - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -func init() { - proto.RegisterFile("google/api/expr/v1alpha1/cel_service.proto", fileDescriptor_f35b2125e64b6d66) -} - -var fileDescriptor_f35b2125e64b6d66 = []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, -} - -// 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) -} - -// UnimplementedCelServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCelServiceServer struct { -} - -func (*UnimplementedCelServiceServer) Parse(ctx context.Context, req *ParseRequest) (*ParseResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Parse not implemented") -} -func (*UnimplementedCelServiceServer) Check(ctx context.Context, req *CheckRequest) (*CheckResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Check not implemented") -} -func (*UnimplementedCelServiceServer) Eval(ctx context.Context, req *EvalRequest) (*EvalResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Eval not implemented") -} - -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", -} 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 deleted file mode 100644 index 03a099bc..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/checked.pb.go +++ /dev/null @@ -1,1139 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/expr/v1alpha1/checked.proto - -package expr - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _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.ProtoPackageIsVersion3 // 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_30a741de3e790389, []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_30a741de3e790389, []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_30a741de3e790389, []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 (m *CheckedExpr) XXX_Merge(src proto.Message) { - xxx_messageInfo_CheckedExpr.Merge(m, 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_30a741de3e790389, []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 (m *Type) XXX_Merge(src proto.Message) { - xxx_messageInfo_Type.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*Type) XXX_OneofWrappers() []interface{} { - return []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), - } -} - -// 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_30a741de3e790389, []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 (m *Type_ListType) XXX_Merge(src proto.Message) { - xxx_messageInfo_Type_ListType.Merge(m, 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_30a741de3e790389, []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 (m *Type_MapType) XXX_Merge(src proto.Message) { - xxx_messageInfo_Type_MapType.Merge(m, 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_30a741de3e790389, []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 (m *Type_FunctionType) XXX_Merge(src proto.Message) { - xxx_messageInfo_Type_FunctionType.Merge(m, 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_30a741de3e790389, []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 (m *Type_AbstractType) XXX_Merge(src proto.Message) { - xxx_messageInfo_Type_AbstractType.Merge(m, 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_30a741de3e790389, []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 (m *Decl) XXX_Merge(src proto.Message) { - xxx_messageInfo_Decl.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*Decl) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Decl_Ident)(nil), - (*Decl_Function)(nil), - } -} - -// 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_30a741de3e790389, []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 (m *Decl_IdentDecl) XXX_Merge(src proto.Message) { - xxx_messageInfo_Decl_IdentDecl.Merge(m, 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_30a741de3e790389, []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 (m *Decl_FunctionDecl) XXX_Merge(src proto.Message) { - xxx_messageInfo_Decl_FunctionDecl.Merge(m, 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_30a741de3e790389, []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 (m *Decl_FunctionDecl_Overload) XXX_Merge(src proto.Message) { - xxx_messageInfo_Decl_FunctionDecl_Overload.Merge(m, 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_30a741de3e790389, []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 (m *Reference) XXX_Merge(src proto.Message) { - xxx_messageInfo_Reference.Merge(m, 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.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) - 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") -} - -func init() { - proto.RegisterFile("google/api/expr/v1alpha1/checked.proto", fileDescriptor_30a741de3e790389) -} - -var fileDescriptor_30a741de3e790389 = []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, 0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0xed, 0x46, 0x17, 0x57, 0x6e, 0xf4, 0x97, 0xf0, - 0x89, 0x1b, 0xd9, 0x2e, 0xaf, 0xa9, 0x43, 0xec, 0xa9, 0x23, 0xd8, 0xd3, 0x29, 0x59, 0xc8, 0x8d, - 0xcc, 0x74, 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 deleted file mode 100644 index 857a061a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/conformance_service.pb.go +++ /dev/null @@ -1,759 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/expr/v1alpha1/conformance_service.proto - -package expr - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // 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_b3ca1183e6ceae83, []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_b3ca1183e6ceae83, []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 (m *ParseRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ParseRequest.Merge(m, 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_b3ca1183e6ceae83, []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 (m *ParseResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ParseResponse.Merge(m, 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_b3ca1183e6ceae83, []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 (m *CheckRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CheckRequest.Merge(m, 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_b3ca1183e6ceae83, []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 (m *CheckResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CheckResponse.Merge(m, 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_b3ca1183e6ceae83, []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 (m *EvalRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_EvalRequest.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*EvalRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*EvalRequest_ParsedExpr)(nil), - (*EvalRequest_CheckedExpr)(nil), - } -} - -// 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_b3ca1183e6ceae83, []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 (m *EvalResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_EvalResponse.Merge(m, 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_b3ca1183e6ceae83, []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 (m *IssueDetails) XXX_Merge(src proto.Message) { - xxx_messageInfo_IssueDetails.Merge(m, 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.RegisterEnum("google.api.expr.v1alpha1.IssueDetails_Severity", IssueDetails_Severity_name, IssueDetails_Severity_value) - 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") -} - -func init() { - proto.RegisterFile("google/api/expr/v1alpha1/conformance_service.proto", fileDescriptor_b3ca1183e6ceae83) -} - -var fileDescriptor_b3ca1183e6ceae83 = []byte{ - // 870 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0x4d, 0x6f, 0x1b, 0x37, - 0x10, 0xf5, 0xae, 0x6c, 0x47, 0x1a, 0x7d, 0x44, 0x20, 0x5a, 0x44, 0x10, 0x8c, 0xd6, 0x50, 0x6a, - 0xc7, 0xe8, 0x61, 0x85, 0x28, 0x97, 0xa6, 0xe9, 0x45, 0x1f, 0xdb, 0x58, 0x69, 0x63, 0x0b, 0x54, - 0xea, 0xa0, 0xbd, 0x6c, 0x69, 0x2e, 0x23, 0x13, 0x5e, 0x93, 0x5b, 0x72, 0xb5, 0xb5, 0x7b, 0x2a, - 0x0a, 0xf4, 0xc7, 0xf4, 0xaf, 0xf4, 0xd6, 0x53, 0x81, 0x9c, 0xfa, 0x33, 0x7a, 0x0c, 0x76, 0x49, - 0xd9, 0x52, 0x82, 0xb5, 0x63, 0xdf, 0x56, 0xa3, 0xf7, 0xde, 0xcc, 0xbc, 0x19, 0x92, 0xd0, 0x9b, - 0x49, 0x39, 0x8b, 0x58, 0x97, 0xc4, 0xbc, 0xcb, 0xce, 0x63, 0xd5, 0x4d, 0x1f, 0x93, 0x28, 0x3e, - 0x21, 0x8f, 0xbb, 0x54, 0x8a, 0x37, 0x52, 0x9d, 0x11, 0x41, 0x59, 0xa0, 0x99, 0x4a, 0x39, 0x65, - 0x5e, 0xac, 0x64, 0x22, 0x51, 0xcb, 0x70, 0x3c, 0x12, 0x73, 0x2f, 0xe3, 0x78, 0x0b, 0x4e, 0xfb, - 0xc1, 0x92, 0x1a, 0x8d, 0x38, 0x13, 0x89, 0xa1, 0xb4, 0x77, 0x8b, 0xd3, 0x9c, 0x30, 0x7a, 0xca, - 0x42, 0x8b, 0x7b, 0x58, 0x88, 0x63, 0x29, 0x89, 0x2c, 0x68, 0xa7, 0x10, 0xa4, 0x2f, 0x44, 0x42, - 0xce, 0x2d, 0xec, 0xf3, 0x25, 0xd8, 0x1b, 0xce, 0xa2, 0x30, 0x38, 0x66, 0x27, 0x24, 0xe5, 0x52, - 0x59, 0xc0, 0xa2, 0x5a, 0x15, 0xd3, 0xae, 0x4e, 0x48, 0x32, 0xd7, 0xe6, 0x8f, 0xce, 0x5f, 0x0e, - 0xd4, 0x26, 0x44, 0x69, 0x86, 0xd9, 0x2f, 0x73, 0xa6, 0x13, 0xd4, 0x01, 0xa0, 0x2c, 0x0a, 0xb4, - 0x9c, 0x2b, 0xca, 0x5a, 0xce, 0xb6, 0xb3, 0x57, 0x19, 0x94, 0xfe, 0xeb, 0xbb, 0xb8, 0x42, 0x59, - 0x34, 0xcd, 0xa3, 0x68, 0x07, 0x1a, 0x26, 0x7d, 0x90, 0x32, 0xa5, 0xb9, 0x14, 0x2d, 0x37, 0xc3, - 0xe1, 0xba, 0x89, 0x1e, 0x99, 0x20, 0x7a, 0x04, 0xf7, 0x8d, 0x4c, 0x10, 0x49, 0x4a, 0x92, 0x0c, - 0x57,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c1, - 0x87, 0xb6, 0x4f, 0xb2, 0xe7, 0x71, 0xe2, 0xfc, 0xf4, 0x8d, 0x25, 0xcd, 0x64, 0x44, 0xc4, 0xcc, - 0x93, 0x6a, 0xd6, 0x9d, 0x31, 0x91, 0x3f, 0x9e, 0xdd, 0xab, 0x2c, 0x1f, 0x3e, 0xd0, 0xcf, 0xb2, - 0x5f, 0xff, 0x3b, 0xce, 0xf1, 0x66, 0x8e, 0x7d, 0xf2, 0x2e, 0x00, 0x00, 0xff, 0xff, 0x5e, 0xf4, - 0x47, 0x00, 0x7f, 0x08, 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 - -// 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) -} - -// UnimplementedConformanceServiceServer can be embedded to have forward compatible implementations. -type UnimplementedConformanceServiceServer struct { -} - -func (*UnimplementedConformanceServiceServer) Parse(ctx context.Context, req *ParseRequest) (*ParseResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method Parse not implemented") -} -func (*UnimplementedConformanceServiceServer) Check(ctx context.Context, req *CheckRequest) (*CheckResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method Check not implemented") -} -func (*UnimplementedConformanceServiceServer) Eval(ctx context.Context, req *EvalRequest) (*EvalResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method Eval not implemented") -} - -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", -} 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 deleted file mode 100644 index 79d945c7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/eval.pb.go +++ /dev/null @@ -1,351 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/expr/v1alpha1/eval.proto - -package expr - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // 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_1e95f32326d4b8b7, []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 (m *EvalState) XXX_Merge(src proto.Message) { - xxx_messageInfo_EvalState.Merge(m, 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_1e95f32326d4b8b7, []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 (m *EvalState_Result) XXX_Merge(src proto.Message) { - xxx_messageInfo_EvalState_Result.Merge(m, 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_1e95f32326d4b8b7, []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 (m *ExprValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExprValue.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*ExprValue) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ExprValue_Value)(nil), - (*ExprValue_Error)(nil), - (*ExprValue_Unknown)(nil), - } -} - -// 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_1e95f32326d4b8b7, []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 (m *ErrorSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_ErrorSet.Merge(m, 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_1e95f32326d4b8b7, []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 (m *UnknownSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_UnknownSet.Merge(m, 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_1e95f32326d4b8b7) -} - -var fileDescriptor_1e95f32326d4b8b7 = []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, 0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0x63, 0xb7, 0xf0, 0x2f, 0x1e, 0xda, 0x22, - 0xfa, 0x34, 0x7f, 0xc2, 0xcd, 0x43, 0xae, 0x1c, 0x63, 0xc4, 0x61, 0x72, 0xde, 0x3d, 0x05, 0xf2, - 0xf7, 0x7f, 0xda, 0x18, 0x72, 0x0d, 0x7d, 0xae, 0xb5, 0xd4, 0x18, 0x3e, 0x4c, 0xa2, 0x23, 0xe3, - 0x1b, 0x6c, 0xcb, 0x2b, 0xe3, 0xa2, 0x42, 0x6e, 0x61, 0x50, 0x17, 0xfb, 0x42, 0xbe, 0x17, 0xa1, - 0x8f, 0xf6, 0xb4, 0xdb, 0x7e, 0xb0, 0xa0, 0xf5, 0x9d, 0xb6, 0x0a, 0xa0, 0xb7, 0xcf, 0x8b, 0x97, - 0xe8, 0x12, 0xfe, 0xb9, 0x78, 0x32, 0x87, 0x00, 0xe3, 0xdd, 0x7b, 0x10, 0x17, 0xaa, 0xd5, 0x8e, - 0x6e, 0xf1, 0x1d, 0xd3, 0x96, 0x88, 0x22, 0x80, 0x9f, 0x60, 0xf3, 0xa1, 0x4c, 0x53, 0x2b, 0xfa, - 0xa9, 0x2d, 0x56, 0x02, 0xce, 0x76, 0xf2, 0xad, 0x73, 0xb2, 0x15, 0xae, 0xc2, 0xc6, 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 deleted file mode 100644 index 93f628f0..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/explain.pb.go +++ /dev/null @@ -1,162 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/expr/v1alpha1/explain.proto - -package expr - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // 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_2df9793dd8748e27, []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 (m *Explain) XXX_Merge(src proto.Message) { - xxx_messageInfo_Explain.Merge(m, 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_2df9793dd8748e27, []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 (m *Explain_ExprStep) XXX_Merge(src proto.Message) { - xxx_messageInfo_Explain_ExprStep.Merge(m, 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_2df9793dd8748e27) -} - -var fileDescriptor_2df9793dd8748e27 = []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, 0x90, 0xde, 0x08, 0x75, 0xf0, - 0xad, 0xd8, 0x2f, 0xa5, 0xf5, 0x5f, 0x72, 0x19, 0x27, 0x2b, 0x4d, 0xc3, 0x7d, 0xeb, 0x3a, 0x47, - 0x59, 0xcf, 0x71, 0xe9, 0x0d, 0x8f, 0x1c, 0x1f, 0xb8, 0xf9, 0xcd, 0x68, 0xc2, 0x5e, 0xda, 0x1f, - 0xd5, 0xfb, 0xaf, 0x7f, 0x01, 0x4f, 0x5f, 0xfa, 0x44, 0xfa, 0x88, 0xd3, 0x24, 0x05, 0x06, 0xc5, - 0xa4, 0x9c, 0xdd, 0x2f, 0xf8, 0x58, 0x38, 0x7f, 0x8b, 0x5c, 0x95, 0x71, 0xba, 0x41, 0x8c, 0xf2, - 0x2e, 0x74, 0xca, 0x07, 0x46, 0x92, 0xf9, 0x6e, 0xdc, 0x9c, 0xfb, 0xe2, 0xb7, 0x7d, 0xed, 0x94, - 0xaf, 0xce, 0x55, 0xfe, 0x0b, 0xf3, 0x15, 0x9e, 0x0d, 0x6b, 0x7a, 0x89, 0xc4, 0xd4, 0x0c, 0x0a, - 0x28, 0x27, 0x15, 0x31, 0x35, 0x5d, 0xe0, 0x2c, 0x15, 0xee, 0x4c, 0x53, 0xab, 0x03, 0x23, 0x05, - 0x94, 0x27, 0x15, 0xa6, 0xd5, 0x26, 0x6e, 0x9e, 0x08, 0x83, 0xb5, 0xc3, 0xab, 0x4f, 0xf7, 0x3d, - 0x5a, 0xbe, 0xbe, 0xc8, 0xed, 0xdb, 0xf8, 0xfc, 0x2d, 0xbc, 0x3f, 0x67, 0x52, 0x3b, 0x2b, 0x1b, - 0xcd, 0x5d, 0xab, 0x85, 0x56, 0x4d, 0x3a, 0x8e, 0xe8, 0x25, 0xe9, 0x4d, 0x38, 0xbe, 0xe2, 0x2a, - 0x4e, 0x7f, 0x00, 0x1f, 0xd3, 0xc4, 0x3e, 0xfc, 0x07, 0x00, 0x00, 0xff, 0xff, 0x34, 0xf2, 0xb9, - 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 deleted file mode 100644 index 47978af9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/syntax.pb.go +++ /dev/null @@ -1,1224 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/expr/v1alpha1/syntax.proto - -package expr - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - _struct "github.com/golang/protobuf/ptypes/struct" - 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.ProtoPackageIsVersion3 // 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_d4e2be48009c83cb, []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 (m *ParsedExpr) XXX_Merge(src proto.Message) { - xxx_messageInfo_ParsedExpr.Merge(m, 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_d4e2be48009c83cb, []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 (m *Expr) XXX_Merge(src proto.Message) { - xxx_messageInfo_Expr.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*Expr) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Expr_ConstExpr)(nil), - (*Expr_IdentExpr)(nil), - (*Expr_SelectExpr)(nil), - (*Expr_CallExpr)(nil), - (*Expr_ListExpr)(nil), - (*Expr_StructExpr)(nil), - (*Expr_ComprehensionExpr)(nil), - } -} - -// 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_d4e2be48009c83cb, []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 (m *Expr_Ident) XXX_Merge(src proto.Message) { - xxx_messageInfo_Expr_Ident.Merge(m, 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_d4e2be48009c83cb, []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 (m *Expr_Select) XXX_Merge(src proto.Message) { - xxx_messageInfo_Expr_Select.Merge(m, 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_d4e2be48009c83cb, []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 (m *Expr_Call) XXX_Merge(src proto.Message) { - xxx_messageInfo_Expr_Call.Merge(m, 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_d4e2be48009c83cb, []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 (m *Expr_CreateList) XXX_Merge(src proto.Message) { - xxx_messageInfo_Expr_CreateList.Merge(m, 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_d4e2be48009c83cb, []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 (m *Expr_CreateStruct) XXX_Merge(src proto.Message) { - xxx_messageInfo_Expr_CreateStruct.Merge(m, 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_d4e2be48009c83cb, []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 (m *Expr_CreateStruct_Entry) XXX_Merge(src proto.Message) { - xxx_messageInfo_Expr_CreateStruct_Entry.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*Expr_CreateStruct_Entry) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Expr_CreateStruct_Entry_FieldKey)(nil), - (*Expr_CreateStruct_Entry_MapKey)(nil), - } -} - -// 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_d4e2be48009c83cb, []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 (m *Expr_Comprehension) XXX_Merge(src proto.Message) { - xxx_messageInfo_Expr_Comprehension.Merge(m, 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_d4e2be48009c83cb, []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 (m *Constant) XXX_Merge(src proto.Message) { - xxx_messageInfo_Constant.Merge(m, 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 -} - -// Deprecated: Do not use. -func (m *Constant) GetDurationValue() *duration.Duration { - if x, ok := m.GetConstantKind().(*Constant_DurationValue); ok { - return x.DurationValue - } - return nil -} - -// Deprecated: Do not use. -func (m *Constant) GetTimestampValue() *timestamp.Timestamp { - if x, ok := m.GetConstantKind().(*Constant_TimestampValue); ok { - return x.TimestampValue - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Constant) XXX_OneofWrappers() []interface{} { - return []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), - } -} - -// 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"` - // A map from the parse node id where a macro replacement was made to the - // call `Expr` that resulted in a macro expansion. - // - // For example, `has(value.field)` is a function call that is replaced by a - // `test_only` field selection in the AST. Likewise, the call - // `list.exists(e, e > 10)` translates to a comprehension expression. The key - // in the map corresponds to the expression id of the expanded macro, and the - // value is the call `Expr` that was replaced. - MacroCalls map[int64]*Expr `protobuf:"bytes,5,rep,name=macro_calls,json=macroCalls,proto3" json:"macro_calls,omitempty" protobuf_key:"varint,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 *SourceInfo) Reset() { *m = SourceInfo{} } -func (m *SourceInfo) String() string { return proto.CompactTextString(m) } -func (*SourceInfo) ProtoMessage() {} -func (*SourceInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_d4e2be48009c83cb, []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 (m *SourceInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_SourceInfo.Merge(m, 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 -} - -func (m *SourceInfo) GetMacroCalls() map[int64]*Expr { - if m != nil { - return m.MacroCalls - } - 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_d4e2be48009c83cb, []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 (m *SourcePosition) XXX_Merge(src proto.Message) { - xxx_messageInfo_SourcePosition.Merge(m, 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]*Expr)(nil), "google.api.expr.v1alpha1.SourceInfo.MacroCallsEntry") - 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_d4e2be48009c83cb) -} - -var fileDescriptor_d4e2be48009c83cb = []byte{ - // 1179 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x96, 0x5d, 0x6f, 0xdb, 0x36, - 0x17, 0xc7, 0x23, 0xbf, 0xc5, 0x3e, 0x4a, 0xdc, 0xe7, 0x21, 0x86, 0xc1, 0x55, 0xbb, 0xbe, 0xa4, - 0x2b, 0xd0, 0x61, 0x83, 0x8d, 0xb6, 0x41, 0xd1, 0xb5, 0xdd, 0x8d, 0xb3, 0x0c, 0x0e, 0xba, 0xb5, - 0x99, 0xb2, 0xf5, 0x62, 0x40, 0x21, 0x30, 0x32, 0xed, 0x0a, 0xa5, 0x48, 0x41, 0xa4, 0x82, 0xfa, - 0x13, 0xec, 0x6e, 0x5f, 0x66, 0xbb, 0xd9, 0xe5, 0xbe, 0xc7, 0x3e, 0xc8, 0x6e, 0x06, 0x0c, 0xe7, - 0x90, 0x72, 0xde, 0x16, 0xd8, 0xbb, 0x13, 0x0f, 0xff, 0xff, 0x9f, 0x8e, 0x78, 0xc8, 0x43, 0xc1, - 0xfd, 0xb9, 0xd6, 0x73, 0x29, 0x46, 0xbc, 0xc8, 0x46, 0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0xee, 0xae, 0x05, 0xfd, 0x0e, 0x7d, 0x78, - 0xcd, 0x78, 0x2a, 0xe4, 0xcb, 0x40, 0xf4, 0x02, 0xfa, 0xe7, 0xdf, 0xc9, 0xfe, 0x07, 0x4d, 0x6c, - 0x7d, 0xae, 0x5d, 0xe2, 0x23, 0x5e, 0x6c, 0xa7, 0xfb, 0xb6, 0xed, 0xbb, 0xd6, 0xb3, 0xc6, 0xd3, - 0x20, 0x7a, 0x0b, 0xd7, 0x2e, 0xc0, 0xff, 0xc5, 0xbe, 0x7b, 0xd6, 0xbe, 0x6e, 0x53, 0x44, 0xfc, - 0x4e, 0x01, 0x7d, 0xf7, 0x19, 0x75, 0x8a, 0xe7, 0xea, 0x12, 0x5c, 0xa8, 0xcb, 0xc7, 0xd0, 0x71, - 0x25, 0xf1, 0x79, 0xfa, 0x11, 0xde, 0xf7, 0x58, 0x1b, 0x3a, 0x53, 0xed, 0x98, 0x9e, 0x51, 0x9b, - 0x6a, 0x59, 0xe5, 0x8a, 0x4e, 0x51, 0x3b, 0xf6, 0xa3, 0xb1, 0x82, 0x9b, 0xa9, 0xce, 0xaf, 0xcc, - 0x70, 0x1c, 0x1e, 0xd1, 0x36, 0x39, 0xc4, 0xed, 0x78, 0x18, 0xfc, 0xf4, 0xc2, 0x0b, 0xe7, 0x5a, - 0x72, 0x35, 0x1f, 0xea, 0x72, 0x3e, 0x9a, 0x0b, 0x45, 0x9b, 0x75, 0xe4, 0xa6, 0x78, 0x91, 0x99, - 0xcb, 0x3f, 0xf2, 0xcf, 0x71, 0xf4, 0x57, 0x10, 0x1c, 0x77, 0x48, 0xfb, 0xf8, 0x9f, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x7d, 0x35, 0x8f, 0xd7, 0xf3, 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 deleted file mode 100644 index cec841e8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/value.pb.go +++ /dev/null @@ -1,503 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/expr/v1alpha1/value.proto - -package expr - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - any "github.com/golang/protobuf/ptypes/any" - _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.ProtoPackageIsVersion3 // 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_24bee359d1e5798a, []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 (m *Value) XXX_Merge(src proto.Message) { - xxx_messageInfo_Value.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*Value) XXX_OneofWrappers() []interface{} { - return []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), - } -} - -// 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_24bee359d1e5798a, []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 (m *EnumValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_EnumValue.Merge(m, 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_24bee359d1e5798a, []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 (m *ListValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListValue.Merge(m, 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_24bee359d1e5798a, []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 (m *MapValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_MapValue.Merge(m, 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_24bee359d1e5798a, []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 (m *MapValue_Entry) XXX_Merge(src proto.Message) { - xxx_messageInfo_MapValue_Entry.Merge(m, 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_24bee359d1e5798a) -} - -var fileDescriptor_24bee359d1e5798a = []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, 0x78, 0x1f, - 0x96, 0xc8, 0xb7, 0x50, 0xa8, 0x46, 0xed, 0x2e, 0xe7, 0xf7, 0xf7, 0xfb, 0x5c, 0x7c, 0x14, 0x78, - 0x5e, 0x08, 0x51, 0x30, 0x9a, 0x92, 0xba, 0x4c, 0xe9, 0x8f, 0xba, 0x49, 0x6f, 0x96, 0x84, 0xd5, - 0x5f, 0xc9, 0x32, 0xbd, 0x21, 0x4c, 0xd1, 0xa4, 0x6e, 0x84, 0x14, 0x78, 0x6e, 0xa9, 0x84, 0xd4, - 0x65, 0xa2, 0xa9, 0xc4, 0x53, 0x8b, 0xa7, 0xce, 0x6f, 0xb8, 0x5c, 0x7d, 0x49, 0x09, 0xef, 0xac, - 0x69, 0x71, 0xf8, 0xff, 0x51, 0x2b, 0x1b, 0xb5, 0x95, 0xf6, 0x34, 0xfa, 0x35, 0x84, 0xd1, 0x47, - 0x9d, 0x02, 0x9f, 0x02, 0x70, 0xc5, 0xd8, 0x67, 0x93, 0x70, 0x8e, 0x42, 0x14, 0x3f, 0x5e, 0x2d, - 0x12, 0x97, 0xd1, 0x9b, 0x93, 0x0f, 0x8a, 0x31, 0xc3, 0x6f, 0xf6, 0xb2, 0x80, 0xfb, 0x00, 0x1f, - 0x01, 0xe4, 0x42, 0x78, 0xf3, 0xa3, 0x10, 0xc5, 0x13, 0x0d, 0x68, 0xcd, 0x02, 0xcf, 0x60, 0x5a, - 0x72, 0xf9, 0xea, 0xa5, 0x23, 0x06, 0x21, 0x8a, 0x07, 0x9b, 0xbd, 0x0c, 0x8c, 0x68, 0x91, 0x63, - 0x98, 0xa9, 0xdb, 0xcc, 0x30, 0x44, 0xf1, 0x70, 0xb3, 0x97, 0x4d, 0xd5, 0xbf, 0xd0, 0x95, 0x50, - 0x39, 0xa3, 0x0e, 0x1a, 0x85, 0x28, 0x46, 0x1a, 0xb2, 0x6a, 0x0f, 0xb5, 0xb2, 0x29, 0x79, 0xe1, - 0xa0, 0x71, 0x88, 0xe2, 0x40, 0x43, 0x56, 0xed, 0x2b, 0xca, 0x3b, 0x49, 0x5b, 0xc7, 0xec, 0x87, - 0x28, 0x9e, 0xe9, 0x8a, 0x8c, 0x68, 0x91, 0x73, 0x00, 0xca, 0x55, 0xe5, 0x88, 0x20, 0x44, 0xf1, - 0x74, 0x75, 0x9c, 0xec, 0x7a, 0x84, 0xe4, 0x82, 0xab, 0xaa, 0x9f, 0x0d, 0xf5, 0x01, 0x7e, 0x03, - 0x33, 0x91, 0x7f, 0xa3, 0x5b, 0xe9, 0xee, 0x01, 0x73, 0xcf, 0xc1, 0x9d, 0x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, 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 deleted file mode 100644 index ab5012c6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/decl.pb.go +++ /dev/null @@ -1,342 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/expr/v1beta1/decl.proto - -package expr - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // 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_7b13a6b7649d2726, []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 (m *Decl) XXX_Merge(src proto.Message) { - xxx_messageInfo_Decl.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*Decl) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Decl_Ident)(nil), - (*Decl_Function)(nil), - } -} - -// 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_7b13a6b7649d2726, []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 (m *DeclType) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeclType.Merge(m, 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_7b13a6b7649d2726, []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 (m *IdentDecl) XXX_Merge(src proto.Message) { - xxx_messageInfo_IdentDecl.Merge(m, 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_7b13a6b7649d2726, []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 (m *FunctionDecl) XXX_Merge(src proto.Message) { - xxx_messageInfo_FunctionDecl.Merge(m, 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_7b13a6b7649d2726) } - -var fileDescriptor_7b13a6b7649d2726 = []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, 0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18, - 0x9f, 0xb4, 0xf6, 0xdf, 0xd7, 0x4e, 0x40, 0x53, 0x33, 0x03, 0xf9, 0xaf, 0xd0, 0x6f, 0xd6, 0xc2, - 0xe7, 0x75, 0x13, 0xcb, 0x6c, 0x72, 0x40, 0xa5, 0x6a, 0x8e, 0x09, 0x38, 0x1b, 0x52, 0xac, 0x69, - 0x6d, 0xe0, 0x71, 0x2b, 0x77, 0xb3, 0x95, 0x2a, 0xa9, 0xb4, 0xfe, 0x1b, 0x82, 0xdf, 0x5f, 0x1d, - 0xc1, 0x17, 0x60, 0x13, 0x95, 0xaf, 0x5c, 0x64, 0xd6, 0x38, 0xe0, 0x15, 0x12, 0xa3, 0xd7, 0x2e, - 0x28, 0x5a, 0xae, 0x15, 0x9f, 0x37, 0x06, 0x1d, 0xe6, 0x42, 0x45, 0x19, 0xb7, 0xcf, 0xe0, 0xaf, - 0xa2, 0x29, 0x65, 0x1b, 0xaa, 0xe6, 0xcd, 0x7b, 0x6a, 0x17, 0x7a, 0xc9, 0x70, 0x9f, 0xd8, 0x0f, - 0x1b, 0x3f, 0xc3, 0x51, 0x2a, 0x96, 0x6d, 0x0d, 0xe2, 0xbe, 0xee, 0x30, 0xd3, 0x87, 0x39, 0x43, - 0x8f, 0xd3, 0x5a, 0x95, 0x8b, 0x82, 0xf0, 0x3c, 0x14, 0x2a, 0x8f, 0x72, 0xca, 0xcd, 0xd9, 0x46, - 0x55, 0x8a, 0x48, 0xb6, 0xfa, 0x76, 0xdd, 0x53, 0xfd, 0xe7, 0x03, 0xa1, 0x45, 0xd7, 0x48, 0x27, - 0x9f, 0x01, 0x00, 0x00, 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 deleted file mode 100644 index 6450e354..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/eval.pb.go +++ /dev/null @@ -1,393 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/expr/v1beta1/eval.proto - -package expr - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // 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_5cf79b1c58929ac8, []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 (m *EvalState) XXX_Merge(src proto.Message) { - xxx_messageInfo_EvalState.Merge(m, 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_5cf79b1c58929ac8, []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 (m *EvalState_Result) XXX_Merge(src proto.Message) { - xxx_messageInfo_EvalState_Result.Merge(m, 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_5cf79b1c58929ac8, []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 (m *ExprValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExprValue.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*ExprValue) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ExprValue_Value)(nil), - (*ExprValue_Error)(nil), - (*ExprValue_Unknown)(nil), - } -} - -// 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_5cf79b1c58929ac8, []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 (m *ErrorSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_ErrorSet.Merge(m, 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_5cf79b1c58929ac8, []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 (m *UnknownSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_UnknownSet.Merge(m, 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_5cf79b1c58929ac8, []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 (m *IdRef) XXX_Merge(src proto.Message) { - xxx_messageInfo_IdRef.Merge(m, 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_5cf79b1c58929ac8) } - -var fileDescriptor_5cf79b1c58929ac8 = []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, 0x83, 0x1e, 0xbc, 0x65, - 0xa7, 0xb1, 0xd4, 0xa9, 0x4d, 0x48, 0xd3, 0x3a, 0xff, 0xa1, 0xff, 0x86, 0x7f, 0x86, 0x47, 0xc9, - 0x4b, 0x83, 0x87, 0xa5, 0xcc, 0xf1, 0x25, 0x9f, 0xcf, 0xf7, 0xe5, 0xc7, 0x83, 0xbc, 0xd6, 0xba, - 0x6e, 0x15, 0x97, 0xa6, 0xe1, 0xea, 0x68, 0x2c, 0x1f, 0xaf, 0xee, 0x95, 0x93, 0x57, 0x5c, 0x8d, - 0xb2, 0x65, 0xc6, 0x6a, 0xa7, 0xe9, 0x45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 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 deleted file mode 100644 index 59702bf0..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/expr.pb.go +++ /dev/null @@ -1,1013 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/expr/v1beta1/expr.proto - -package expr - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _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.ProtoPackageIsVersion3 // 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_fb180304f2777248, []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 (m *ParsedExpr) XXX_Merge(src proto.Message) { - xxx_messageInfo_ParsedExpr.Merge(m, 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_fb180304f2777248, []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 (m *Expr) XXX_Merge(src proto.Message) { - xxx_messageInfo_Expr.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*Expr) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Expr_LiteralExpr)(nil), - (*Expr_IdentExpr)(nil), - (*Expr_SelectExpr)(nil), - (*Expr_CallExpr)(nil), - (*Expr_ListExpr)(nil), - (*Expr_StructExpr)(nil), - (*Expr_ComprehensionExpr)(nil), - } -} - -// 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_fb180304f2777248, []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 (m *Expr_Ident) XXX_Merge(src proto.Message) { - xxx_messageInfo_Expr_Ident.Merge(m, 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_fb180304f2777248, []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 (m *Expr_Select) XXX_Merge(src proto.Message) { - xxx_messageInfo_Expr_Select.Merge(m, 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_fb180304f2777248, []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 (m *Expr_Call) XXX_Merge(src proto.Message) { - xxx_messageInfo_Expr_Call.Merge(m, 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_fb180304f2777248, []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 (m *Expr_CreateList) XXX_Merge(src proto.Message) { - xxx_messageInfo_Expr_CreateList.Merge(m, 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_fb180304f2777248, []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 (m *Expr_CreateStruct) XXX_Merge(src proto.Message) { - xxx_messageInfo_Expr_CreateStruct.Merge(m, 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_fb180304f2777248, []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 (m *Expr_CreateStruct_Entry) XXX_Merge(src proto.Message) { - xxx_messageInfo_Expr_CreateStruct_Entry.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*Expr_CreateStruct_Entry) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Expr_CreateStruct_Entry_FieldKey)(nil), - (*Expr_CreateStruct_Entry_MapKey)(nil), - } -} - -// 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_fb180304f2777248, []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 (m *Expr_Comprehension) XXX_Merge(src proto.Message) { - xxx_messageInfo_Expr_Comprehension.Merge(m, 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_fb180304f2777248, []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 (m *Literal) XXX_Merge(src proto.Message) { - xxx_messageInfo_Literal.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*Literal) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Literal_NullValue)(nil), - (*Literal_BoolValue)(nil), - (*Literal_Int64Value)(nil), - (*Literal_Uint64Value)(nil), - (*Literal_DoubleValue)(nil), - (*Literal_StringValue)(nil), - (*Literal_BytesValue)(nil), - } -} - -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_fb180304f2777248) } - -var fileDescriptor_fb180304f2777248 = []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, 0x38, 0x8b, 0xa9, 0x63, 0xaf, 0xbc, 0xde, 0xaa, 0x79, 0x0f, - 0xbc, 0x0a, 0x1e, 0xc3, 0x03, 0x5e, 0x00, 0xef, 0xeb, 0x1e, 0xa2, 0x19, 0x3b, 0xa1, 0x15, 0xca, - 0x25, 0xcf, 0xd6, 0xe3, 0xcf, 0x7c, 0x3d, 0x9e, 0x19, 0x4f, 0x02, 0x47, 0x85, 0x31, 0x85, 0x12, - 0x43, 0x5e, 0xca, 0xa1, 0xb8, 0x2b, 0xed, 0xf0, 0xf6, 0x64, 0x22, 0x1c, 0x3f, 0xa1, 0xc5, 0xa0, - 0xb4, 0xc6, 0x19, 0xf6, 0xb6, 0x67, 0x06, 0xbc, 0x94, 0x03, 0x32, 0x07, 0x26, 0x7d, 0xb2, 0xce, - 0xb9, 0x32, 0xb5, 0xcd, 0x85, 0x77, 0x4f, 0xdf, 0x0d, 0x14, 0xad, 0x26, 0xf5, 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xb8, 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 deleted file mode 100644 index 943dd0d0..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/source.pb.go +++ /dev/null @@ -1,194 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/expr/v1beta1/source.proto - -package expr - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // 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_26d280d77790e409, []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 (m *SourceInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_SourceInfo.Merge(m, 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_26d280d77790e409, []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 (m *SourcePosition) XXX_Merge(src proto.Message) { - xxx_messageInfo_SourcePosition.Merge(m, 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_26d280d77790e409) -} - -var fileDescriptor_26d280d77790e409 = []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, 0x07, 0x37, 0x15, 0x62, 0xa5, 0x44, 0xce, 0x8d, 0xcc, - 0xc5, 0x87, 0xa9, 0xf3, 0xed, 0x64, 0x29, 0x1a, 0x3e, 0xc9, 0x2d, 0x6e, 0xea, 0x52, 0x30, 0x53, - 0x63, 0x83, 0xf4, 0x32, 0x50, 0x8c, 0x1b, 0xc9, 0x1c, 0xc5, 0x5a, 0x6a, 0xfc, 0x49, 0x00, 0x5e, - 0x3c, 0xf9, 0xa4, 0x57, 0x48, 0x47, 0xf0, 0x4f, 0x61, 0xc9, 0x1b, 0x89, 0x3a, 0xe9, 0xa4, 0x24, - 0xeb, 0x17, 0x3f, 0x9a, 0x5e, 0xc3, 0x7f, 0x25, 0xb5, 0x78, 0xc3, 0xd5, 0xca, 0x8a, 0xc6, 0x26, - 0x51, 0x1a, 0x65, 0x71, 0x31, 0x70, 0xb5, 0xe7, 0x50, 0xa2, 0x0b, 0xe8, 0x1b, 0xb4, 0xd2, 0xe1, - 0x36, 0xe9, 0xa6, 0x51, 0x36, 0x98, 0x4e, 0xd9, 0x89, 0xd5, 0xec, 0xb0, 0x96, 0x2d, 0xf6, 0x9f, - 0x1e, 0x75, 0x53, 0xef, 0x8a, 0xc3, 0x90, 0xd1, 0x03, 0x0c, 0x8f, 0x9b, 0xf4, 0x0c, 0xa2, 0x77, - 0xb1, 0x4b, 0x48, 0x4a, 0xb2, 0xb8, 0x70, 0x4f, 0x7a, 0x0e, 0xf1, 0x96, 0xab, 0x8d, 0xf0, 0x17, - 0xc7, 0x45, 0x10, 0xf7, 0x9d, 0x3b, 0x32, 0x36, 0x30, 0x0c, 0x5b, 0xf6, 0x33, 0x8e, 0x0c, 0x92, - 0x5f, 0x06, 0x2f, 0xa0, 0x17, 0xbc, 0xb5, 0x83, 0x5a, 0x45, 0x29, 0x74, 0x9d, 0xc9, 0x24, 0xf2, - 0x55, 0xff, 0x76, 0x6c, 0x89, 0x6a, 0xb3, 0xd6, 0x49, 0x37, 0xb0, 0x41, 0xcd, 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 deleted file mode 100644 index fca9722e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/value.pb.go +++ /dev/null @@ -1,503 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/expr/v1beta1/value.proto - -package expr - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - any "github.com/golang/protobuf/ptypes/any" - _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.ProtoPackageIsVersion3 // 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_6677b81498dbb8ef, []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 (m *Value) XXX_Merge(src proto.Message) { - xxx_messageInfo_Value.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*Value) XXX_OneofWrappers() []interface{} { - return []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), - } -} - -// 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_6677b81498dbb8ef, []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 (m *EnumValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_EnumValue.Merge(m, 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_6677b81498dbb8ef, []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 (m *ListValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListValue.Merge(m, 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_6677b81498dbb8ef, []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 (m *MapValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_MapValue.Merge(m, 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_6677b81498dbb8ef, []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 (m *MapValue_Entry) XXX_Merge(src proto.Message) { - xxx_messageInfo_MapValue_Entry.Merge(m, 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_6677b81498dbb8ef) -} - -var fileDescriptor_6677b81498dbb8ef = []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, 0x0e, 0x1c, 0xb8, - 0xa0, 0xa4, 0x33, 0x51, 0xa8, 0x63, 0x47, 0x89, 0x3d, 0x91, 0x2f, 0xc7, 0x07, 0xe0, 0x13, 0x71, - 0x44, 0x7e, 0x0b, 0x63, 0x53, 0xd5, 0x5b, 0x9e, 0xbf, 0x7f, 0x7f, 0x3f, 0x2f, 0x7e, 0x14, 0x38, - 0xc9, 0x85, 0xc8, 0x19, 0x8d, 0xd3, 0xaa, 0x88, 0xe9, 0xcf, 0xaa, 0x8e, 0x6f, 0x4f, 0x33, 0x2a, - 0xd3, 0xd3, 0xf8, 0x36, 0x65, 0x8a, 0x92, 0xaa, 0x16, 0x52, 0xe0, 0xa7, 0x16, 0x22, 0x69, 0x55, - 0x10, 0x0d, 0x11, 0x07, 0xcd, 0x9e, 0x39, 0xb7, 0xc1, 0x32, 0xf5, 0x3d, 0x4e, 0x79, 0x6b, 0x3d, - 0xb3, 0x17, 0xf7, 0x8f, 0x1a, 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2, 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 deleted file mode 100644 index 5b6c587a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/httpbody/httpbody.pb.go +++ /dev/null @@ -1,146 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/httpbody.proto - -package httpbody - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - any "github.com/golang/protobuf/ptypes/any" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Message that represents an arbitrary HTTP body. It should only be used for -// payload formats that can't be represented as JSON, such as raw binary or -// an HTML page. -// -// -// This message can be used both in streaming and non-streaming API methods in -// the request as well as the response. -// -// It can be used as a top-level request field, which is convenient if one -// wants to extract parameters from either the URL or HTTP template into the -// request fields and also want access to the raw HTTP body. -// -// Example: -// -// message GetResourceRequest { -// // A unique request id. -// string request_id = 1; -// -// // The raw HTTP body is bound to this field. -// google.api.HttpBody http_body = 2; -// } -// -// service ResourceService { -// rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); -// rpc UpdateResource(google.api.HttpBody) returns -// (google.protobuf.Empty); -// } -// -// Example with streaming methods: -// -// service CaldavService { -// rpc GetCalendar(stream google.api.HttpBody) -// returns (stream google.api.HttpBody); -// rpc UpdateCalendar(stream google.api.HttpBody) -// returns (stream google.api.HttpBody); -// } -// -// Use of this type only changes how the request and response bodies are -// handled, all other features will continue to work unchanged. -type HttpBody struct { - // The HTTP Content-Type header value specifying the content type of the body. - ContentType string `protobuf:"bytes,1,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` - // The HTTP request/response body as raw binary. - Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - // Application specific response metadata. Must be set in the first response - // for streaming APIs. - Extensions []*any.Any `protobuf:"bytes,3,rep,name=extensions,proto3" json:"extensions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_09ea2ecaa32a0070, []int{0} -} - -func (m *HttpBody) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HttpBody.Unmarshal(m, b) -} -func (m *HttpBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HttpBody.Marshal(b, m, deterministic) -} -func (m *HttpBody) XXX_Merge(src proto.Message) { - xxx_messageInfo_HttpBody.Merge(m, src) -} -func (m *HttpBody) XXX_Size() int { - return xxx_messageInfo_HttpBody.Size(m) -} -func (m *HttpBody) XXX_DiscardUnknown() { - xxx_messageInfo_HttpBody.DiscardUnknown(m) -} - -var xxx_messageInfo_HttpBody proto.InternalMessageInfo - -func (m *HttpBody) GetContentType() string { - if m != nil { - return m.ContentType - } - return "" -} - -func (m *HttpBody) GetData() []byte { - if m != nil { - return m.Data - } - return nil -} - -func (m *HttpBody) GetExtensions() []*any.Any { - if m != nil { - return m.Extensions - } - return nil -} - -func init() { - proto.RegisterType((*HttpBody)(nil), "google.api.HttpBody") -} - -func init() { proto.RegisterFile("google/api/httpbody.proto", fileDescriptor_09ea2ecaa32a0070) } - -var fileDescriptor_09ea2ecaa32a0070 = []byte{ - // 229 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08,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xc3, 0x60, 0x68, 0x17, 0x6c, 0xf0, 0x38, - 0xfc, 0x68, 0xf7, 0xc8, 0x71, 0xd7, 0x1f, 0x1c, 0xbf, 0x4c, 0xe2, 0x5b, 0xa9, 0xaf, 0xc9, 0xec, - 0x7e, 0x55, 0x3d, 0x36, 0x47, 0x43, 0xe2, 0xf6, 0x27, 0x00, 0x00, 0xff, 0xff, 0x78, 0xb9, 0x16, - 0x2b, 0x2d, 0x01, 0x00, 0x00, -} 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 deleted file mode 100644 index 8ecced45..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/label/label.pb.go +++ /dev/null @@ -1,140 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/label.proto - -package label - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Value types that can be used as label values. -type LabelDescriptor_ValueType int32 - -const ( - // A variable-length string. This is the default. - LabelDescriptor_STRING LabelDescriptor_ValueType = 0 - // Boolean; true or false. - LabelDescriptor_BOOL LabelDescriptor_ValueType = 1 - // A 64-bit signed integer. - LabelDescriptor_INT64 LabelDescriptor_ValueType = 2 -) - -var LabelDescriptor_ValueType_name = map[int32]string{ - 0: "STRING", - 1: "BOOL", - 2: "INT64", -} - -var LabelDescriptor_ValueType_value = map[string]int32{ - "STRING": 0, - "BOOL": 1, - "INT64": 2, -} - -func (x LabelDescriptor_ValueType) String() string { - return proto.EnumName(LabelDescriptor_ValueType_name, int32(x)) -} - -func (LabelDescriptor_ValueType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_f372a463e25ba151, []int{0, 0} -} - -// A description of a label. -type LabelDescriptor struct { - // The label key. - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - // The type of data that can be assigned to the label. - ValueType LabelDescriptor_ValueType `protobuf:"varint,2,opt,name=value_type,json=valueType,proto3,enum=google.api.LabelDescriptor_ValueType" json:"value_type,omitempty"` - // A human-readable description for the label. - 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 *LabelDescriptor) Reset() { *m = LabelDescriptor{} } -func (m *LabelDescriptor) String() string { return proto.CompactTextString(m) } -func (*LabelDescriptor) ProtoMessage() {} -func (*LabelDescriptor) Descriptor() ([]byte, []int) { - return fileDescriptor_f372a463e25ba151, []int{0} -} - -func (m *LabelDescriptor) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LabelDescriptor.Unmarshal(m, b) -} -func (m *LabelDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LabelDescriptor.Marshal(b, m, deterministic) -} -func (m *LabelDescriptor) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelDescriptor.Merge(m, src) -} -func (m *LabelDescriptor) XXX_Size() int { - return xxx_messageInfo_LabelDescriptor.Size(m) -} -func (m *LabelDescriptor) XXX_DiscardUnknown() { - xxx_messageInfo_LabelDescriptor.DiscardUnknown(m) -} - -var xxx_messageInfo_LabelDescriptor proto.InternalMessageInfo - -func (m *LabelDescriptor) GetKey() string { - if m != nil { - return m.Key - } - return "" -} - -func (m *LabelDescriptor) GetValueType() LabelDescriptor_ValueType { - if m != nil { - return m.ValueType - } - return LabelDescriptor_STRING -} - -func (m *LabelDescriptor) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func init() { - proto.RegisterEnum("google.api.LabelDescriptor_ValueType", LabelDescriptor_ValueType_name, LabelDescriptor_ValueType_value) - proto.RegisterType((*LabelDescriptor)(nil), "google.api.LabelDescriptor") -} - -func init() { proto.RegisterFile("google/api/label.proto", fileDescriptor_f372a463e25ba151) } - -var fileDescriptor_f372a463e25ba151 = []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, - 0x2f, 0xc9, 0x17, 0xe2, 0x82, 0x88, 0xeb, 0x25, 0x16, 0x64, 0x2a, 0xed, 0x64, 0xe4, 0xe2, 0xf7, - 0x01, 0xc9, 0xb9, 0xa4, 0x16, 0x27, 0x17, 0x65, 0x16, 0x94, 0xe4, 0x17, 0x09, 0x09, 0x70, 0x31, - 0x67, 0xa7, 0x56, 0x4a, 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x06, 0x81, 0x98, 0x42, 0x2e, 0x5c, 0x5c, - 0x65, 0x89, 0x39, 0xa5, 0xa9, 0xf1, 0x25, 0x95, 0x05, 0xa9, 0x12, 0x4c, 0x0a, 0x8c, 0x1a, 0x7c, - 0x46, 0xaa, 0x7a, 0x08, 0x63, 0xf4, 0xd0, 0x8c, 0xd0, 0x0b, 0x03, 0xa9, 0x0e, 0xa9, 0x2c, 0x48, - 0x0d, 0xe2, 0x2c, 0x83, 0x31, 0x85, 0x14, 0xb8, 0xb8, 0x53, 0xa0, 0x4a, 0x32, 0xf3, 0xf3, 0x24, - 0x98, 0xc1, 0xe6, 0x23, 0x0b, 0x29, 0xe9, 0x70, 0x71, 0xc2, 0x75, 0x0a, 0x71, 0x71, 0xb1, 0x05, - 0x87, 0x04, 0x79, 0xfa, 0xb9, 0x0b, 0x30, 0x08, 0x71, 0x70, 0xb1, 0x38, 0xf9, 0xfb, 0xfb, 0x08, - 0x30, 0x0a, 0x71, 0x72, 0xb1, 0x7a, 0xfa, 0x85, 0x98, 0x99, 0x08, 0x30, 0x39, 0xc5, 0x73, 0xf1, - 0x25, 0xe7, 0xe7, 0x22, 0x39, 0xc3, 0x89, 0x0b, 0xec, 0x8e, 0x00, 0x90, 0x2f, 0x03, 0x18, 0xa3, - 0x4c, 0xa1, 0x32, 0xe9, 0xf9, 0x39, 0x89, 0x79, 0xe9, 0x7a, 0xf9, 0x45, 0xe9, 0xfa, 0xe9, 0xa9, - 0x79, 0xe0, 0x30, 0xd0, 0x87, 0x48, 0x25, 0x16, 0x64, 0x16, 0x23, 0x82, 0xc7, 0x1a, 0x4c, 0xfe, - 0x60, 0x64, 0x5c, 0xc4, 0xc4, 0xe2, 0xee, 0x18, 0xe0, 0x99, 0xc4, 0x06, 0x56, 0x6b, 0x0c, 0x08, - 0x00, 0x00, 0xff, 0xff, 0x57, 0x04, 0xaa, 0x1f, 0x49, 0x01, 0x00, 0x00, -} 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 deleted file mode 100644 index 208ff134..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/launch_stage.pb.go +++ /dev/null @@ -1,113 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/launch_stage.proto - -package api - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // 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_6b5f68b6c1cefff8, []int{0} -} - -func init() { - proto.RegisterEnum("google.api.LaunchStage", LaunchStage_name, LaunchStage_value) -} - -func init() { proto.RegisterFile("google/api/launch_stage.proto", fileDescriptor_6b5f68b6c1cefff8) } - -var fileDescriptor_6b5f68b6c1cefff8 = []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 deleted file mode 100644 index 3fbf5a64..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/metric/metric.pb.go +++ /dev/null @@ -1,498 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/metric.proto - -package metric - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - api "google.golang.org/genproto/googleapis/api" - label "google.golang.org/genproto/googleapis/api/label" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// The kind of measurement. It describes how the data is reported. -type MetricDescriptor_MetricKind int32 - -const ( - // Do not use this default value. - MetricDescriptor_METRIC_KIND_UNSPECIFIED MetricDescriptor_MetricKind = 0 - // An instantaneous measurement of a value. - MetricDescriptor_GAUGE MetricDescriptor_MetricKind = 1 - // The change in a value during a time interval. - MetricDescriptor_DELTA MetricDescriptor_MetricKind = 2 - // A value accumulated over a time interval. Cumulative - // measurements in a time series should have 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. - MetricDescriptor_CUMULATIVE MetricDescriptor_MetricKind = 3 -) - -var MetricDescriptor_MetricKind_name = map[int32]string{ - 0: "METRIC_KIND_UNSPECIFIED", - 1: "GAUGE", - 2: "DELTA", - 3: "CUMULATIVE", -} - -var MetricDescriptor_MetricKind_value = map[string]int32{ - "METRIC_KIND_UNSPECIFIED": 0, - "GAUGE": 1, - "DELTA": 2, - "CUMULATIVE": 3, -} - -func (x MetricDescriptor_MetricKind) String() string { - return proto.EnumName(MetricDescriptor_MetricKind_name, int32(x)) -} - -func (MetricDescriptor_MetricKind) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_927eaac1a24f8abb, []int{0, 0} -} - -// The value type of a metric. -type MetricDescriptor_ValueType int32 - -const ( - // Do not use this default value. - MetricDescriptor_VALUE_TYPE_UNSPECIFIED MetricDescriptor_ValueType = 0 - // The value is a boolean. - // This value type can be used only if the metric kind is `GAUGE`. - MetricDescriptor_BOOL MetricDescriptor_ValueType = 1 - // The value is a signed 64-bit integer. - MetricDescriptor_INT64 MetricDescriptor_ValueType = 2 - // The value is a double precision floating point number. - MetricDescriptor_DOUBLE MetricDescriptor_ValueType = 3 - // The value is a text string. - // This value type can be used only if the metric kind is `GAUGE`. - MetricDescriptor_STRING MetricDescriptor_ValueType = 4 - // The value is a [`Distribution`][google.api.Distribution]. - MetricDescriptor_DISTRIBUTION MetricDescriptor_ValueType = 5 - // The value is money. - MetricDescriptor_MONEY MetricDescriptor_ValueType = 6 -) - -var MetricDescriptor_ValueType_name = map[int32]string{ - 0: "VALUE_TYPE_UNSPECIFIED", - 1: "BOOL", - 2: "INT64", - 3: "DOUBLE", - 4: "STRING", - 5: "DISTRIBUTION", - 6: "MONEY", -} - -var MetricDescriptor_ValueType_value = map[string]int32{ - "VALUE_TYPE_UNSPECIFIED": 0, - "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_927eaac1a24f8abb, []int{0, 1} -} - -// Defines a metric type and its schema. Once a metric descriptor is created, -// deleting or altering it stops data collection and makes the metric type's -// existing data unusable. -type MetricDescriptor struct { - // The resource name of the metric descriptor. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The metric type, including its DNS name prefix. The type is not - // URL-encoded. All user-defined metric types have the DNS name - // `custom.googleapis.com` or `external.googleapis.com`. Metric types should - // use a natural hierarchical grouping. For example: - // - // "custom.googleapis.com/invoice/paid/amount" - // "external.googleapis.com/prometheus/up" - // "appengine.googleapis.com/http/server/response_latencies" - Type string `protobuf:"bytes,8,opt,name=type,proto3" json:"type,omitempty"` - // The set of labels that can be used to describe a specific - // instance of this metric type. For example, the - // `appengine.googleapis.com/http/server/response_latencies` metric - // type has a label for the HTTP response code, `response_code`, so - // you can look at latencies for successful responses or just - // for responses that failed. - Labels []*label.LabelDescriptor `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty"` - // Whether the metric records instantaneous values, changes to a value, etc. - // Some combinations of `metric_kind` and `value_type` might not be supported. - MetricKind MetricDescriptor_MetricKind `protobuf:"varint,3,opt,name=metric_kind,json=metricKind,proto3,enum=google.api.MetricDescriptor_MetricKind" json:"metric_kind,omitempty"` - // Whether the measurement is an integer, a floating-point number, etc. - // Some combinations of `metric_kind` and `value_type` might not be supported. - ValueType MetricDescriptor_ValueType `protobuf:"varint,4,opt,name=value_type,json=valueType,proto3,enum=google.api.MetricDescriptor_ValueType" json:"value_type,omitempty"` - // The unit in which the metric value is reported. It is only applicable - // if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The - // supported units are a subset of [The Unified Code for Units of - // Measure](http://unitsofmeasure.org/ucum.html) standard: - // - // **Basic units (UNIT)** - // - // * `bit` bit - // * `By` byte - // * `s` second - // * `min` minute - // * `h` hour - // * `d` day - // - // **Prefixes (PREFIX)** - // - // * `k` kilo (10**3) - // * `M` mega (10**6) - // * `G` giga (10**9) - // * `T` tera (10**12) - // * `P` peta (10**15) - // * `E` exa (10**18) - // * `Z` zetta (10**21) - // * `Y` yotta (10**24) - // * `m` milli (10**-3) - // * `u` micro (10**-6) - // * `n` nano (10**-9) - // * `p` pico (10**-12) - // * `f` femto (10**-15) - // * `a` atto (10**-18) - // * `z` zepto (10**-21) - // * `y` yocto (10**-24) - // * `Ki` kibi (2**10) - // * `Mi` mebi (2**20) - // * `Gi` gibi (2**30) - // * `Ti` tebi (2**40) - // - // **Grammar** - // - // The grammar also includes these connectors: - // - // * `/` division (as an infix operator, e.g. `1/s`). - // * `.` multiplication (as an infix operator, e.g. `GBy.d`) - // - // The grammar for a unit is as follows: - // - // Expression = Component { "." Component } { "/" Component } ; - // - // Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] - // | Annotation - // | "1" - // ; - // - // Annotation = "{" NAME "}" ; - // - // Notes: - // - // * `Annotation` is just a comment if it follows a `UNIT` and is - // equivalent to `1` if it is used alone. For examples, - // `{requests}/s == 1/s`, `By{transmitted}/s == By/s`. - // * `NAME` is a sequence of non-blank printable ASCII characters not - // containing '{' or '}'. - // * `1` represents dimensionless value 1, such as in `1/s`. - // * `%` represents dimensionless value 1/100, and annotates values giving - // a percentage. - Unit string `protobuf:"bytes,5,opt,name=unit,proto3" json:"unit,omitempty"` - // A detailed description of the metric, which can be used in documentation. - Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` - // A concise name for the metric, which can be displayed in user interfaces. - // Use sentence case without an ending period, for example "Request count". - // This field is optional but it is recommended to be set for any metrics - // associated with user-visible concepts, such as Quota. - DisplayName string `protobuf:"bytes,7,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Optional. Metadata which can be used to guide usage of the metric. - Metadata *MetricDescriptor_MetricDescriptorMetadata `protobuf:"bytes,10,opt,name=metadata,proto3" json:"metadata,omitempty"` - // Optional. The launch stage of the metric definition. - LaunchStage api.LaunchStage `protobuf:"varint,12,opt,name=launch_stage,json=launchStage,proto3,enum=google.api.LaunchStage" json:"launch_stage,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_927eaac1a24f8abb, []int{0} -} - -func (m *MetricDescriptor) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MetricDescriptor.Unmarshal(m, b) -} -func (m *MetricDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MetricDescriptor.Marshal(b, m, deterministic) -} -func (m *MetricDescriptor) XXX_Merge(src proto.Message) { - xxx_messageInfo_MetricDescriptor.Merge(m, src) -} -func (m *MetricDescriptor) XXX_Size() int { - return xxx_messageInfo_MetricDescriptor.Size(m) -} -func (m *MetricDescriptor) XXX_DiscardUnknown() { - xxx_messageInfo_MetricDescriptor.DiscardUnknown(m) -} - -var xxx_messageInfo_MetricDescriptor proto.InternalMessageInfo - -func (m *MetricDescriptor) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *MetricDescriptor) GetType() string { - if m != nil { - return m.Type - } - return "" -} - -func (m *MetricDescriptor) GetLabels() []*label.LabelDescriptor { - if m != nil { - return m.Labels - } - return nil -} - -func (m *MetricDescriptor) GetMetricKind() MetricDescriptor_MetricKind { - if m != nil { - return m.MetricKind - } - return MetricDescriptor_METRIC_KIND_UNSPECIFIED -} - -func (m *MetricDescriptor) GetValueType() MetricDescriptor_ValueType { - if m != nil { - return m.ValueType - } - return MetricDescriptor_VALUE_TYPE_UNSPECIFIED -} - -func (m *MetricDescriptor) GetUnit() string { - if m != nil { - return m.Unit - } - return "" -} - -func (m *MetricDescriptor) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *MetricDescriptor) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *MetricDescriptor) GetMetadata() *MetricDescriptor_MetricDescriptorMetadata { - if m != nil { - return m.Metadata - } - return nil -} - -func (m *MetricDescriptor) GetLaunchStage() api.LaunchStage { - if m != nil { - return m.LaunchStage - } - return api.LaunchStage_LAUNCH_STAGE_UNSPECIFIED -} - -// Additional annotations that can be used to guide the usage of a metric. -type MetricDescriptor_MetricDescriptorMetadata struct { - // Deprecated. Please use the MetricDescriptor.launch_stage instead. - // The launch stage of the metric definition. - LaunchStage api.LaunchStage `protobuf:"varint,1,opt,name=launch_stage,json=launchStage,proto3,enum=google.api.LaunchStage" json:"launch_stage,omitempty"` // Deprecated: Do not use. - // The sampling period of metric data points. For metrics which are written - // periodically, consecutive data points are stored at this time interval, - // excluding data loss due to errors. Metrics with a higher granularity have - // a smaller sampling period. - SamplePeriod *duration.Duration `protobuf:"bytes,2,opt,name=sample_period,json=samplePeriod,proto3" json:"sample_period,omitempty"` - // The delay of data points caused by ingestion. Data points older than this - // age are guaranteed to be ingested and available to be read, excluding - // data loss due to errors. - IngestDelay *duration.Duration `protobuf:"bytes,3,opt,name=ingest_delay,json=ingestDelay,proto3" json:"ingest_delay,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MetricDescriptor_MetricDescriptorMetadata) Reset() { - *m = MetricDescriptor_MetricDescriptorMetadata{} -} -func (m *MetricDescriptor_MetricDescriptorMetadata) String() string { return proto.CompactTextString(m) } -func (*MetricDescriptor_MetricDescriptorMetadata) ProtoMessage() {} -func (*MetricDescriptor_MetricDescriptorMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_927eaac1a24f8abb, []int{0, 0} -} - -func (m *MetricDescriptor_MetricDescriptorMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MetricDescriptor_MetricDescriptorMetadata.Unmarshal(m, b) -} -func (m *MetricDescriptor_MetricDescriptorMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MetricDescriptor_MetricDescriptorMetadata.Marshal(b, m, deterministic) -} -func (m *MetricDescriptor_MetricDescriptorMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_MetricDescriptor_MetricDescriptorMetadata.Merge(m, src) -} -func (m *MetricDescriptor_MetricDescriptorMetadata) XXX_Size() int { - return xxx_messageInfo_MetricDescriptor_MetricDescriptorMetadata.Size(m) -} -func (m *MetricDescriptor_MetricDescriptorMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_MetricDescriptor_MetricDescriptorMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_MetricDescriptor_MetricDescriptorMetadata proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *MetricDescriptor_MetricDescriptorMetadata) GetLaunchStage() api.LaunchStage { - if m != nil { - return m.LaunchStage - } - return api.LaunchStage_LAUNCH_STAGE_UNSPECIFIED -} - -func (m *MetricDescriptor_MetricDescriptorMetadata) GetSamplePeriod() *duration.Duration { - if m != nil { - return m.SamplePeriod - } - return nil -} - -func (m *MetricDescriptor_MetricDescriptorMetadata) GetIngestDelay() *duration.Duration { - if m != nil { - return m.IngestDelay - } - return nil -} - -// A specific metric, identified by specifying values for all of the -// labels of a [`MetricDescriptor`][google.api.MetricDescriptor]. -type Metric struct { - // An existing metric type, see [google.api.MetricDescriptor][google.api.MetricDescriptor]. - // For example, `custom.googleapis.com/invoice/paid/amount`. - Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` - // The set of label values that uniquely identify this metric. All - // labels listed in the `MetricDescriptor` must be assigned values. - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_927eaac1a24f8abb, []int{1} -} - -func (m *Metric) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Metric.Unmarshal(m, b) -} -func (m *Metric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Metric.Marshal(b, m, deterministic) -} -func (m *Metric) XXX_Merge(src proto.Message) { - xxx_messageInfo_Metric.Merge(m, src) -} -func (m *Metric) XXX_Size() int { - return xxx_messageInfo_Metric.Size(m) -} -func (m *Metric) XXX_DiscardUnknown() { - xxx_messageInfo_Metric.DiscardUnknown(m) -} - -var xxx_messageInfo_Metric proto.InternalMessageInfo - -func (m *Metric) GetType() string { - if m != nil { - return m.Type - } - return "" -} - -func (m *Metric) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -func init() { - proto.RegisterEnum("google.api.MetricDescriptor_MetricKind", MetricDescriptor_MetricKind_name, MetricDescriptor_MetricKind_value) - proto.RegisterEnum("google.api.MetricDescriptor_ValueType", MetricDescriptor_ValueType_name, MetricDescriptor_ValueType_value) - proto.RegisterType((*MetricDescriptor)(nil), "google.api.MetricDescriptor") - proto.RegisterType((*MetricDescriptor_MetricDescriptorMetadata)(nil), "google.api.MetricDescriptor.MetricDescriptorMetadata") - proto.RegisterType((*Metric)(nil), "google.api.Metric") - proto.RegisterMapType((map[string]string)(nil), "google.api.Metric.LabelsEntry") -} - -func init() { proto.RegisterFile("google/api/metric.proto", fileDescriptor_927eaac1a24f8abb) } - -var fileDescriptor_927eaac1a24f8abb = []byte{ - // 661 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xdd, 0x6e, 0xd3, 0x30, - 0x14, 0x26, 0xe9, 0xcf, 0xd6, 0x93, 0x32, 0x45, 0x16, 0xda, 0x42, 0x27, 0xa6, 0xd2, 0x0b, 0xe8, - 0x55, 0x2b, 0x6d, 0x30, 0x60, 0xa0, 0x49, 0xed, 0x12, 0x4a, 0xb4, 0x36, 0x2d, 0x59, 0x32, 0x69, - 0xdc, 0x44, 0x5e, 0x63, 0x42, 0xb4, 0x34, 0x09, 0x49, 0x3a, 0xa9, 0x4f, 0xc0, 0x25, 0xef, 0xc0, - 0x53, 0xf1, 0x38, 0xc8, 0x76, 0xda, 0x66, 0x45, 0x54, 0x5c, 0xe5, 0xf8, 0xfb, 0xbe, 0xf3, 0xd9, - 0xc7, 0x3e, 0x27, 0x70, 0xe0, 0x45, 0x91, 0x17, 0x90, 0x2e, 0x8e, 0xfd, 0xee, 0x8c, 0x64, 0x89, - 0x3f, 0xed, 0xc4, 0x49, 0x94, 0x45, 0x08, 0x38, 0xd1, 0xc1, 0xb1, 0xdf, 0xd8, 0x2f, 0x88, 0x02, - 0x7c, 0x4b, 0x02, 0xae, 0x69, 0x3c, 0x7b, 0x80, 0xcf, 0xc3, 0xe9, 0x37, 0x27, 0xcd, 0xb0, 0x47, - 0x72, 0xfa, 0x28, 0xa7, 0xd9, 0xea, 0x76, 0xfe, 0xb5, 0xeb, 0xce, 0x13, 0x9c, 0xf9, 0x51, 0xc8, - 0xf9, 0xd6, 0x8f, 0x1d, 0x90, 0x47, 0x6c, 0x4f, 0x95, 0xa4, 0xd3, 0xc4, 0x8f, 0xb3, 0x28, 0x41, - 0x08, 0xca, 0x21, 0x9e, 0x11, 0x45, 0x68, 0x0a, 0xed, 0x9a, 0xc9, 0x62, 0x8a, 0x65, 0x8b, 0x98, - 0x28, 0xbb, 0x1c, 0xa3, 0x31, 0x3a, 0x81, 0x2a, 0x3b, 0x4a, 0xaa, 0x88, 0xcd, 0x52, 0x5b, 0x3a, - 0x3e, 0xec, 0xac, 0x0f, 0xdc, 0x19, 0x52, 0x66, 0x6d, 0x6a, 0xe6, 0x52, 0xf4, 0x09, 0x24, 0x5e, - 0xa4, 0x73, 0xe7, 0x87, 0xae, 0x52, 0x6a, 0x0a, 0xed, 0xbd, 0xe3, 0x97, 0xc5, 0xcc, 0xcd, 0xf3, - 0xe4, 0xc0, 0xa5, 0x1f, 0xba, 0x26, 0xcc, 0x56, 0x31, 0xd2, 0x00, 0xee, 0x71, 0x30, 0x27, 0x0e, - 0x3b, 0x58, 0x99, 0x19, 0xbd, 0xd8, 0x6a, 0x74, 0x4d, 0xe5, 0xd6, 0x22, 0x26, 0x66, 0xed, 0x7e, - 0x19, 0xd2, 0xca, 0xe6, 0xa1, 0x9f, 0x29, 0x15, 0x5e, 0x19, 0x8d, 0x51, 0x13, 0x24, 0x37, 0x4f, - 0xf3, 0xa3, 0x50, 0xa9, 0x32, 0xaa, 0x08, 0xa1, 0xe7, 0x50, 0x77, 0xfd, 0x34, 0x0e, 0xf0, 0xc2, - 0x61, 0x77, 0xb5, 0x93, 0x4b, 0x38, 0x66, 0xd0, 0x2b, 0xfb, 0x0c, 0xbb, 0x33, 0x92, 0x61, 0x17, - 0x67, 0x58, 0x81, 0xa6, 0xd0, 0x96, 0x8e, 0x5f, 0xff, 0x47, 0x99, 0x6b, 0x60, 0x94, 0x27, 0x9b, - 0x2b, 0x1b, 0x74, 0x06, 0xf5, 0xe2, 0x23, 0x2b, 0x75, 0x56, 0xf4, 0xc1, 0xc3, 0x7b, 0xa7, 0xfc, - 0x15, 0xa5, 0x4d, 0x29, 0x58, 0x2f, 0x1a, 0xbf, 0x05, 0x50, 0xfe, 0xb5, 0x05, 0x3a, 0xdf, 0x30, - 0x16, 0xb6, 0x1a, 0xf7, 0x45, 0x45, 0x78, 0x60, 0x8e, 0xce, 0xe1, 0x71, 0x8a, 0x67, 0x71, 0x40, - 0x9c, 0x98, 0x24,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e, 0xfe, 0x6e, 0x25, 0x3e, 0x72, 0xa9, - 0x16, 0x66, 0xc9, 0x62, 0x39, 0x6e, 0x8d, 0x77, 0x20, 0x15, 0x60, 0x24, 0x43, 0xe9, 0x8e, 0x2c, - 0xf2, 0xc9, 0xa6, 0x21, 0x7a, 0x02, 0x15, 0x36, 0x0b, 0xec, 0xc5, 0x6a, 0x26, 0x5f, 0x9c, 0x89, - 0x6f, 0x85, 0xbe, 0x03, 0x7b, 0xd3, 0x68, 0x56, 0xd8, 0xa7, 0x2f, 0xf1, 0x8d, 0x26, 0xf4, 0x35, - 0x26, 0xc2, 0x97, 0x37, 0x39, 0xe5, 0x45, 0x01, 0x0e, 0xbd, 0x4e, 0x94, 0x78, 0x5d, 0x8f, 0x84, - 0xec, 0xad, 0xba, 0x9c, 0xc2, 0xb1, 0x9f, 0x16, 0xfe, 0x6b, 0xef, 0xf9, 0xe7, 0x97, 0x58, 0x1e, - 0xf4, 0x26, 0xfa, 0x6d, 0x95, 0x49, 0x4f, 0xfe, 0x04, 0x00, 0x00, 0xff, 0xff, 0x7b, 0x9a, 0x6a, - 0xfb, 0x01, 0x05, 0x00, 0x00, -} 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 deleted file mode 100644 index d2ffbd4e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/monitoredres/monitored_resource.pb.go +++ /dev/null @@ -1,306 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/monitored_resource.proto - -package monitoredres - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _struct "github.com/golang/protobuf/ptypes/struct" - api "google.golang.org/genproto/googleapis/api" - label "google.golang.org/genproto/googleapis/api/label" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// An object that describes the schema of a [MonitoredResource][google.api.MonitoredResource] object using a -// type name and a set of labels. For example, the monitored resource -// descriptor for Google Compute Engine VM instances has a type of -// `"gce_instance"` and specifies the use of the labels `"instance_id"` and -// `"zone"` to identify particular VM instances. -// -// Different APIs can support different monitored resource types. APIs generally -// provide a `list` method that returns the monitored resource descriptors used -// by the API. -type MonitoredResourceDescriptor struct { - // Optional. The resource name of the monitored resource descriptor: - // `"projects/{project_id}/monitoredResourceDescriptors/{type}"` where - // {type} is the value of the `type` field in this object and - // {project_id} is a project ID that provides API-specific context for - // accessing the type. APIs that do not use project information can use the - // resource name format `"monitoredResourceDescriptors/{type}"`. - Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` - // Required. The monitored resource type. For example, the type - // `"cloudsql_database"` represents databases in Google Cloud SQL. - // The maximum length of this value is 256 characters. - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - // Optional. A concise name for the monitored resource type that might be - // displayed in user interfaces. It should be a Title Cased Noun Phrase, - // without any article or other determiners. For example, - // `"Google Cloud SQL Database"`. - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Optional. A detailed description of the monitored resource type that might - // be used in documentation. - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - // Required. A set of labels used to describe instances of this monitored - // resource type. For example, an individual Google Cloud SQL database is - // identified by values for the labels `"database_id"` and `"zone"`. - Labels []*label.LabelDescriptor `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty"` - // Optional. The launch stage of the monitored resource definition. - LaunchStage api.LaunchStage `protobuf:"varint,7,opt,name=launch_stage,json=launchStage,proto3,enum=google.api.LaunchStage" json:"launch_stage,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MonitoredResourceDescriptor) Reset() { *m = MonitoredResourceDescriptor{} } -func (m *MonitoredResourceDescriptor) String() string { return proto.CompactTextString(m) } -func (*MonitoredResourceDescriptor) ProtoMessage() {} -func (*MonitoredResourceDescriptor) Descriptor() ([]byte, []int) { - return fileDescriptor_6cd8bd738b08f2bf, []int{0} -} - -func (m *MonitoredResourceDescriptor) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MonitoredResourceDescriptor.Unmarshal(m, b) -} -func (m *MonitoredResourceDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MonitoredResourceDescriptor.Marshal(b, m, deterministic) -} -func (m *MonitoredResourceDescriptor) XXX_Merge(src proto.Message) { - xxx_messageInfo_MonitoredResourceDescriptor.Merge(m, src) -} -func (m *MonitoredResourceDescriptor) XXX_Size() int { - return xxx_messageInfo_MonitoredResourceDescriptor.Size(m) -} -func (m *MonitoredResourceDescriptor) XXX_DiscardUnknown() { - xxx_messageInfo_MonitoredResourceDescriptor.DiscardUnknown(m) -} - -var xxx_messageInfo_MonitoredResourceDescriptor proto.InternalMessageInfo - -func (m *MonitoredResourceDescriptor) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *MonitoredResourceDescriptor) GetType() string { - if m != nil { - return m.Type - } - return "" -} - -func (m *MonitoredResourceDescriptor) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *MonitoredResourceDescriptor) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *MonitoredResourceDescriptor) GetLabels() []*label.LabelDescriptor { - if m != nil { - return m.Labels - } - return nil -} - -func (m *MonitoredResourceDescriptor) GetLaunchStage() api.LaunchStage { - if m != nil { - return m.LaunchStage - } - return api.LaunchStage_LAUNCH_STAGE_UNSPECIFIED -} - -// An object representing a resource that can be used for monitoring, logging, -// billing, or other purposes. Examples include virtual machine instances, -// databases, and storage devices such as disks. The `type` field identifies a -// [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object that describes the resource's -// schema. Information in the `labels` field identifies the actual resource and -// its attributes according to the schema. For example, a particular Compute -// Engine VM instance could be represented by the following object, because the -// [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] for `"gce_instance"` has labels -// `"instance_id"` and `"zone"`: -// -// { "type": "gce_instance", -// "labels": { "instance_id": "12345678901234", -// "zone": "us-central1-a" }} -type MonitoredResource struct { - // Required. The monitored resource type. This field must match - // the `type` field of a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object. For - // example, the type of a Compute Engine VM instance is `gce_instance`. - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - // Required. Values for all of the labels listed in the associated monitored - // resource descriptor. For example, Compute Engine VM instances use the - // labels `"project_id"`, `"instance_id"`, and `"zone"`. - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_6cd8bd738b08f2bf, []int{1} -} - -func (m *MonitoredResource) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MonitoredResource.Unmarshal(m, b) -} -func (m *MonitoredResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MonitoredResource.Marshal(b, m, deterministic) -} -func (m *MonitoredResource) XXX_Merge(src proto.Message) { - xxx_messageInfo_MonitoredResource.Merge(m, src) -} -func (m *MonitoredResource) XXX_Size() int { - return xxx_messageInfo_MonitoredResource.Size(m) -} -func (m *MonitoredResource) XXX_DiscardUnknown() { - xxx_messageInfo_MonitoredResource.DiscardUnknown(m) -} - -var xxx_messageInfo_MonitoredResource proto.InternalMessageInfo - -func (m *MonitoredResource) GetType() string { - if m != nil { - return m.Type - } - return "" -} - -func (m *MonitoredResource) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -// Auxiliary metadata for a [MonitoredResource][google.api.MonitoredResource] object. -// [MonitoredResource][google.api.MonitoredResource] objects contain the minimum set of information to -// uniquely identify a monitored resource instance. There is some other useful -// auxiliary metadata. Monitoring and Logging use an ingestion -// pipeline to extract metadata for cloud resources of all types, and store -// the metadata in this message. -type MonitoredResourceMetadata struct { - // Output only. Values for predefined system metadata labels. - // System labels are a kind of metadata extracted by Google, including - // "machine_image", "vpc", "subnet_id", - // "security_group", "name", etc. - // System label values can be only strings, Boolean values, or a list of - // strings. For example: - // - // { "name": "my-test-instance", - // "security_group": ["a", "b", "c"], - // "spot_instance": false } - SystemLabels *_struct.Struct `protobuf:"bytes,1,opt,name=system_labels,json=systemLabels,proto3" json:"system_labels,omitempty"` - // Output only. A map of user-defined metadata labels. - UserLabels map[string]string `protobuf:"bytes,2,rep,name=user_labels,json=userLabels,proto3" json:"user_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 *MonitoredResourceMetadata) Reset() { *m = MonitoredResourceMetadata{} } -func (m *MonitoredResourceMetadata) String() string { return proto.CompactTextString(m) } -func (*MonitoredResourceMetadata) ProtoMessage() {} -func (*MonitoredResourceMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_6cd8bd738b08f2bf, []int{2} -} - -func (m *MonitoredResourceMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MonitoredResourceMetadata.Unmarshal(m, b) -} -func (m *MonitoredResourceMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MonitoredResourceMetadata.Marshal(b, m, deterministic) -} -func (m *MonitoredResourceMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_MonitoredResourceMetadata.Merge(m, src) -} -func (m *MonitoredResourceMetadata) XXX_Size() int { - return xxx_messageInfo_MonitoredResourceMetadata.Size(m) -} -func (m *MonitoredResourceMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_MonitoredResourceMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_MonitoredResourceMetadata proto.InternalMessageInfo - -func (m *MonitoredResourceMetadata) GetSystemLabels() *_struct.Struct { - if m != nil { - return m.SystemLabels - } - return nil -} - -func (m *MonitoredResourceMetadata) GetUserLabels() map[string]string { - if m != nil { - return m.UserLabels - } - return nil -} - -func init() { - proto.RegisterType((*MonitoredResourceDescriptor)(nil), "google.api.MonitoredResourceDescriptor") - proto.RegisterType((*MonitoredResource)(nil), "google.api.MonitoredResource") - proto.RegisterMapType((map[string]string)(nil), "google.api.MonitoredResource.LabelsEntry") - proto.RegisterType((*MonitoredResourceMetadata)(nil), "google.api.MonitoredResourceMetadata") - proto.RegisterMapType((map[string]string)(nil), "google.api.MonitoredResourceMetadata.UserLabelsEntry") -} - -func init() { - proto.RegisterFile("google/api/monitored_resource.proto", fileDescriptor_6cd8bd738b08f2bf) -} - -var fileDescriptor_6cd8bd738b08f2bf = []byte{ - // 448 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0x4d, 0x8b, 0xd4, 0x40, - 0x10, 0xa5, 0x67, 0x66, 0x57, 0xac, 0x8c, 0xab, 0x36, 0xb2, 0xc6, 0xac, 0x42, 0x1c, 0x2f, 0xe3, - 0x25, 0x81, 0x5d, 0x04, 0x5d, 0xf5, 0xb0, 0xab, 0x22, 0x82, 0x2b, 0x43, 0x16, 0x3d, 0x78, 0x09, - 0x3d, 0x49, 0x1b, 0x83, 0x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d, - 0x53, 0xf1, 0x74, 0xd8, 0xfc, 0x44, 0xe8, 0xdb, 0x6c, 0xf1, 0xfa, 0x6c, 0xf3, 0x66, 0xbb, 0xaf, - 0x27, 0x4f, 0x7e, 0x07, 0x00, 0x00, 0xff, 0xff, 0x4b, 0xa6, 0xca, 0xf1, 0xa2, 0x03, 0x00, 0x00, -} 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 deleted file mode 100644 index bfc83df3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/auth.pb.go +++ /dev/null @@ -1,454 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/auth.proto - -package serviceconfig - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// `Authentication` defines the authentication configuration for an API. -// -// Example for an API targeted for external use: -// -// name: calendar.googleapis.com -// authentication: -// providers: -// - id: google_calendar_auth -// jwks_uri: https://www.googleapis.com/oauth2/v1/certs -// issuer: https://securetoken.google.com -// rules: -// - selector: "*" -// requirements: -// provider_id: google_calendar_auth -type Authentication struct { - // A list of authentication rules that apply to individual API methods. - // - // **NOTE:** All service configuration rules follow "last one wins" order. - Rules []*AuthenticationRule `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty"` - // Defines a set of authentication providers that a service supports. - Providers []*AuthProvider `protobuf:"bytes,4,rep,name=providers,proto3" json:"providers,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_d6570d3c90e2b8ac, []int{0} -} - -func (m *Authentication) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Authentication.Unmarshal(m, b) -} -func (m *Authentication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Authentication.Marshal(b, m, deterministic) -} -func (m *Authentication) XXX_Merge(src proto.Message) { - xxx_messageInfo_Authentication.Merge(m, src) -} -func (m *Authentication) XXX_Size() int { - return xxx_messageInfo_Authentication.Size(m) -} -func (m *Authentication) XXX_DiscardUnknown() { - xxx_messageInfo_Authentication.DiscardUnknown(m) -} - -var xxx_messageInfo_Authentication proto.InternalMessageInfo - -func (m *Authentication) GetRules() []*AuthenticationRule { - if m != nil { - return m.Rules - } - return nil -} - -func (m *Authentication) GetProviders() []*AuthProvider { - if m != nil { - return m.Providers - } - return nil -} - -// Authentication rules for the service. -// -// By default, if a method has any authentication requirements, every request -// must include a valid credential matching one of the requirements. -// It's an error to include more than one kind of credential in a single -// request. -// -// If a method doesn't have any auth requirements, request credentials will be -// ignored. -type AuthenticationRule struct { - // Selects the methods to which this rule applies. - // - // Refer to [selector][google.api.DocumentationRule.selector] for syntax details. - Selector string `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"` - // The requirements for OAuth credentials. - Oauth *OAuthRequirements `protobuf:"bytes,2,opt,name=oauth,proto3" json:"oauth,omitempty"` - // If true, the service accepts API keys without any other credential. - AllowWithoutCredential bool `protobuf:"varint,5,opt,name=allow_without_credential,json=allowWithoutCredential,proto3" json:"allow_without_credential,omitempty"` - // Requirements for additional authentication providers. - Requirements []*AuthRequirement `protobuf:"bytes,7,rep,name=requirements,proto3" json:"requirements,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_d6570d3c90e2b8ac, []int{1} -} - -func (m *AuthenticationRule) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AuthenticationRule.Unmarshal(m, b) -} -func (m *AuthenticationRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AuthenticationRule.Marshal(b, m, deterministic) -} -func (m *AuthenticationRule) XXX_Merge(src proto.Message) { - xxx_messageInfo_AuthenticationRule.Merge(m, src) -} -func (m *AuthenticationRule) XXX_Size() int { - return xxx_messageInfo_AuthenticationRule.Size(m) -} -func (m *AuthenticationRule) XXX_DiscardUnknown() { - xxx_messageInfo_AuthenticationRule.DiscardUnknown(m) -} - -var xxx_messageInfo_AuthenticationRule proto.InternalMessageInfo - -func (m *AuthenticationRule) GetSelector() string { - if m != nil { - return m.Selector - } - return "" -} - -func (m *AuthenticationRule) GetOauth() *OAuthRequirements { - if m != nil { - return m.Oauth - } - return nil -} - -func (m *AuthenticationRule) GetAllowWithoutCredential() bool { - if m != nil { - return m.AllowWithoutCredential - } - return false -} - -func (m *AuthenticationRule) GetRequirements() []*AuthRequirement { - if m != nil { - return m.Requirements - } - return nil -} - -// Configuration for an authentication provider, including support for -// [JSON Web Token -// (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32). -type AuthProvider struct { - // The unique identifier of the auth provider. It will be referred to by - // `AuthRequirement.provider_id`. - // - // Example: "bookstore_auth". - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // Identifies the principal that issued the JWT. See - // https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 - // Usually a URL or an email address. - // - // Example: https://securetoken.google.com - // Example: 1234567-compute@developer.gserviceaccount.com - Issuer string `protobuf:"bytes,2,opt,name=issuer,proto3" json:"issuer,omitempty"` - // URL of the provider's public key set to validate signature of the JWT. See - // [OpenID - // Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). - // Optional if the key set document: - // - can be retrieved from - // [OpenID - // Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html of - // the issuer. - // - can be inferred from the email domain of the issuer (e.g. a Google - // service account). - // - // Example: https://www.googleapis.com/oauth2/v1/certs - JwksUri string `protobuf:"bytes,3,opt,name=jwks_uri,json=jwksUri,proto3" json:"jwks_uri,omitempty"` - // The list of JWT - // [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). - // that are allowed to access. A JWT containing any of these audiences will - // be accepted. When this setting is absent, only JWTs with audience - // "https://[Service_name][google.api.Service.name]/[API_name][google.protobuf.Api.name]" - // will be accepted. For example, if no audiences are in the setting, - // LibraryService API will only accept JWTs with the following audience - // "https://library-example.googleapis.com/google.example.library.v1.LibraryService". - // - // Example: - // - // audiences: bookstore_android.apps.googleusercontent.com, - // bookstore_web.apps.googleusercontent.com - Audiences string `protobuf:"bytes,4,opt,name=audiences,proto3" json:"audiences,omitempty"` - // Redirect URL if JWT token is required but not present or is expired. - // Implement authorizationUrl of securityDefinitions in OpenAPI spec. - AuthorizationUrl string `protobuf:"bytes,5,opt,name=authorization_url,json=authorizationUrl,proto3" json:"authorization_url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_d6570d3c90e2b8ac, []int{2} -} - -func (m *AuthProvider) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AuthProvider.Unmarshal(m, b) -} -func (m *AuthProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AuthProvider.Marshal(b, m, deterministic) -} -func (m *AuthProvider) XXX_Merge(src proto.Message) { - xxx_messageInfo_AuthProvider.Merge(m, src) -} -func (m *AuthProvider) XXX_Size() int { - return xxx_messageInfo_AuthProvider.Size(m) -} -func (m *AuthProvider) XXX_DiscardUnknown() { - xxx_messageInfo_AuthProvider.DiscardUnknown(m) -} - -var xxx_messageInfo_AuthProvider proto.InternalMessageInfo - -func (m *AuthProvider) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *AuthProvider) GetIssuer() string { - if m != nil { - return m.Issuer - } - return "" -} - -func (m *AuthProvider) GetJwksUri() string { - if m != nil { - return m.JwksUri - } - return "" -} - -func (m *AuthProvider) GetAudiences() string { - if m != nil { - return m.Audiences - } - return "" -} - -func (m *AuthProvider) GetAuthorizationUrl() string { - if m != nil { - return m.AuthorizationUrl - } - return "" -} - -// OAuth scopes are a way to define data and permissions on data. For example, -// there are scopes defined for "Read-only access to Google Calendar" and -// "Access to Cloud Platform". Users can consent to a scope for an application, -// giving it permission to access that data on their behalf. -// -// OAuth scope specifications should be fairly coarse grained; a user will need -// to see and understand the text description of what your scope means. -// -// In most cases: use one or at most two OAuth scopes for an entire family of -// products. If your product has multiple APIs, you should probably be sharing -// the OAuth scope across all of those APIs. -// -// When you need finer grained OAuth consent screens: talk with your product -// management about how developers will use them in practice. -// -// Please note that even though each of the canonical scopes is enough for a -// request to be accepted and passed to the backend, a request can still fail -// due to the backend requiring additional scopes or permissions. -type OAuthRequirements struct { - // The list of publicly documented OAuth scopes that are allowed access. An - // OAuth token containing any of these scopes will be accepted. - // - // Example: - // - // canonical_scopes: https://www.googleapis.com/auth/calendar, - // https://www.googleapis.com/auth/calendar.read - CanonicalScopes string `protobuf:"bytes,1,opt,name=canonical_scopes,json=canonicalScopes,proto3" json:"canonical_scopes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_d6570d3c90e2b8ac, []int{3} -} - -func (m *OAuthRequirements) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OAuthRequirements.Unmarshal(m, b) -} -func (m *OAuthRequirements) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OAuthRequirements.Marshal(b, m, deterministic) -} -func (m *OAuthRequirements) XXX_Merge(src proto.Message) { - xxx_messageInfo_OAuthRequirements.Merge(m, src) -} -func (m *OAuthRequirements) XXX_Size() int { - return xxx_messageInfo_OAuthRequirements.Size(m) -} -func (m *OAuthRequirements) XXX_DiscardUnknown() { - xxx_messageInfo_OAuthRequirements.DiscardUnknown(m) -} - -var xxx_messageInfo_OAuthRequirements proto.InternalMessageInfo - -func (m *OAuthRequirements) GetCanonicalScopes() string { - if m != nil { - return m.CanonicalScopes - } - return "" -} - -// User-defined authentication requirements, including support for -// [JSON Web Token -// (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32). -type AuthRequirement struct { - // [id][google.api.AuthProvider.id] from authentication provider. - // - // Example: - // - // provider_id: bookstore_auth - ProviderId string `protobuf:"bytes,1,opt,name=provider_id,json=providerId,proto3" json:"provider_id,omitempty"` - // NOTE: This will be deprecated soon, once AuthProvider.audiences is - // implemented and accepted in all the runtime components. - // - // The list of JWT - // [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). - // that are allowed to access. A JWT containing any of these audiences will - // be accepted. When this setting is absent, only JWTs with audience - // "https://[Service_name][google.api.Service.name]/[API_name][google.protobuf.Api.name]" - // will be accepted. For example, if no audiences are in the setting, - // LibraryService API will only accept JWTs with the following audience - // "https://library-example.googleapis.com/google.example.library.v1.LibraryService". - // - // Example: - // - // audiences: bookstore_android.apps.googleusercontent.com, - // bookstore_web.apps.googleusercontent.com - Audiences string `protobuf:"bytes,2,opt,name=audiences,proto3" json:"audiences,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_d6570d3c90e2b8ac, []int{4} -} - -func (m *AuthRequirement) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AuthRequirement.Unmarshal(m, b) -} -func (m *AuthRequirement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AuthRequirement.Marshal(b, m, deterministic) -} -func (m *AuthRequirement) XXX_Merge(src proto.Message) { - xxx_messageInfo_AuthRequirement.Merge(m, src) -} -func (m *AuthRequirement) XXX_Size() int { - return xxx_messageInfo_AuthRequirement.Size(m) -} -func (m *AuthRequirement) XXX_DiscardUnknown() { - xxx_messageInfo_AuthRequirement.DiscardUnknown(m) -} - -var xxx_messageInfo_AuthRequirement proto.InternalMessageInfo - -func (m *AuthRequirement) GetProviderId() string { - if m != nil { - return m.ProviderId - } - return "" -} - -func (m *AuthRequirement) GetAudiences() string { - if m != nil { - return m.Audiences - } - return "" -} - -func init() { - proto.RegisterType((*Authentication)(nil), "google.api.Authentication") - proto.RegisterType((*AuthenticationRule)(nil), "google.api.AuthenticationRule") - proto.RegisterType((*AuthProvider)(nil), "google.api.AuthProvider") - proto.RegisterType((*OAuthRequirements)(nil), "google.api.OAuthRequirements") - proto.RegisterType((*AuthRequirement)(nil), "google.api.AuthRequirement") -} - -func init() { proto.RegisterFile("google/api/auth.proto", fileDescriptor_d6570d3c90e2b8ac) } - -var fileDescriptor_d6570d3c90e2b8ac = []byte{ - // 452 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x52, 0x4d, 0x6b, 0xdb, 0x40, - 0x10, 0x45, 0x72, 0x9c, 0x58, 0xe3, 0xe0, 0x24, 0x0b, 0x0d, 0xea, 0xb7, 0xd1, 0xc9, 0xa5, 0x20, - 0x43, 0x52, 0x4a, 0xa1, 0xd0, 0x92, 0x94, 0x52, 0x72, 0xaa, 0xd9, 0x12, 0x0a, 0xbd, 0x88, 0xed, - 0x6a, 0x2b, 0x6f, 0xb3, 0xd1, 0xa8, 0xfb, 0x11, 0x43, 0x0f, 0xfd, 0x25, 0x3d, 0xf5, 0x97, 0xf5, - 0xa7, 0x04, 0xad, 0x14, 0x5b, 0x72, 0x8e, 0x33, 0xef, 0xbd, 0x99, 0x79, 0x6f, 0x17, 0x1e, 0x14, - 0x88, 0x85, 0x12, 0x73, 0x56, 0xc9, 0x39, 0x73, 0x76, 0x99, 0x56, 0x1a, 0x2d, 0x12, 0x68, 0xda, - 0x29, 0xab, 0x64, 0xf2, 0x07, 0x26, 0x67, 0xce, 0x2e, 0x45, 0x69, 0x25, 0x67, 0x56, 0x62, 0x49, - 0x5e, 0xc1, 0x50, 0x3b, 0x25, 0x4c, 0x3c, 0x98, 0x0e, 0x66, 0xe3, 0x93, 0x67, 0xe9, 0x86, 0x9d, - 0xf6, 0xa9, 0xd4, 0x29, 0x41, 0x1b, 0x32, 0x79, 0x0d, 0x51, 0xa5, 0xf1, 0x46, 0xe6, 0x42, 0x9b, - 0x78, 0xc7, 0x2b, 0xe3, 0x6d, 0xe5, 0xa2, 0x25, 0xd0, 0x0d, 0x35, 0xf9, 0x1f, 0x00, 0xb9, 0x3f, - 0x95, 0x3c, 0x82, 0x91, 0x11, 0x4a, 0x70, 0x8b, 0x3a, 0x0e, 0xa6, 0xc1, 0x2c, 0xa2, 0xeb, 0x9a, - 0x9c, 0xc2, 0x10, 0x6b, 0x37, 0x71, 0x38, 0x0d, 0x66, 0xe3, 0x93, 0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 0x2e, 0xf2, 0xfe, 0xf9, 0xe1, 0xd6, 0xf9, 0xe7, 0x57, 0x30, 0xe1, 0x78, 0xdd, - 0x09, 0xf8, 0x3c, 0x6a, 0xf3, 0xb3, 0xb8, 0x08, 0xbe, 0x7d, 0x6c, 0x81, 0x02, 0x15, 0x2b, 0x8b, - 0x14, 0x75, 0x31, 0x2f, 0x44, 0xe9, 0xbf, 0xf6, 0xbc, 0x81, 0x58, 0x25, 0x8d, 0xff, 0xf4, 0x46, - 0xe8, 0x1b, 0xc9, 0x05, 0xc7, 0xf2, 0x87, 0x2c, 0xde, 0xf6, 0xaa, 0x7f, 0xe1, 0xce, 0xa7, 0xb3, - 0xc5, 0xc5, 0xf7, 0x5d, 0x2f, 0x3c, 0xbd, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x54, 0x91, 0x94, 0x96, - 0x2c, 0x03, 0x00, 0x00, -} 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 deleted file mode 100644 index 429d7ab7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/backend.pb.go +++ /dev/null @@ -1,313 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/backend.proto - -package serviceconfig - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Path Translation specifies how to combine the backend address with the -// request path in order to produce the appropriate forwarding URL for the -// request. -// -// Path Translation is applicable only to HTTP-based backends. Backends which -// do not accept requests over HTTP/HTTPS should leave `path_translation` -// unspecified. -type BackendRule_PathTranslation int32 - -const ( - BackendRule_PATH_TRANSLATION_UNSPECIFIED BackendRule_PathTranslation = 0 - // Use the backend address as-is, with no modification to the path. If the - // URL pattern contains variables, the variable names and values will be - // appended to the query string. If a query string parameter and a URL - // pattern variable have the same name, this may result in duplicate keys in - // the query string. - // - // # Examples - // - // Given the following operation config: - // - // Method path: /api/company/{cid}/user/{uid} - // Backend address: https://example.cloudfunctions.net/getUser - // - // Requests to the following request paths will call the backend at the - // translated path: - // - // Request path: /api/company/widgetworks/user/johndoe - // Translated: - // https://example.cloudfunctions.net/getUser?cid=widgetworks&uid=johndoe - // - // Request path: /api/company/widgetworks/user/johndoe?timezone=EST - // Translated: - // https://example.cloudfunctions.net/getUser?timezone=EST&cid=widgetworks&uid=johndoe - BackendRule_CONSTANT_ADDRESS BackendRule_PathTranslation = 1 - // The request path will be appended to the backend address. - // - // # Examples - // - // Given the following operation config: - // - // Method path: /api/company/{cid}/user/{uid} - // Backend address: https://example.appspot.com - // - // Requests to the following request paths will call the backend at the - // translated path: - // - // Request path: /api/company/widgetworks/user/johndoe - // Translated: - // https://example.appspot.com/api/company/widgetworks/user/johndoe - // - // Request path: /api/company/widgetworks/user/johndoe?timezone=EST - // Translated: - // https://example.appspot.com/api/company/widgetworks/user/johndoe?timezone=EST - BackendRule_APPEND_PATH_TO_ADDRESS BackendRule_PathTranslation = 2 -) - -var BackendRule_PathTranslation_name = map[int32]string{ - 0: "PATH_TRANSLATION_UNSPECIFIED", - 1: "CONSTANT_ADDRESS", - 2: "APPEND_PATH_TO_ADDRESS", -} - -var BackendRule_PathTranslation_value = map[string]int32{ - "PATH_TRANSLATION_UNSPECIFIED": 0, - "CONSTANT_ADDRESS": 1, - "APPEND_PATH_TO_ADDRESS": 2, -} - -func (x BackendRule_PathTranslation) String() string { - return proto.EnumName(BackendRule_PathTranslation_name, int32(x)) -} - -func (BackendRule_PathTranslation) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_87d0f28daa3f64f0, []int{1, 0} -} - -// `Backend` defines the backend configuration for a service. -type Backend struct { - // A list of API backend rules that apply to individual API methods. - // - // **NOTE:** All service configuration rules follow "last one wins" order. - Rules []*BackendRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_87d0f28daa3f64f0, []int{0} -} - -func (m *Backend) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Backend.Unmarshal(m, b) -} -func (m *Backend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Backend.Marshal(b, m, deterministic) -} -func (m *Backend) XXX_Merge(src proto.Message) { - xxx_messageInfo_Backend.Merge(m, src) -} -func (m *Backend) XXX_Size() int { - return xxx_messageInfo_Backend.Size(m) -} -func (m *Backend) XXX_DiscardUnknown() { - xxx_messageInfo_Backend.DiscardUnknown(m) -} - -var xxx_messageInfo_Backend proto.InternalMessageInfo - -func (m *Backend) GetRules() []*BackendRule { - if m != nil { - return m.Rules - } - return nil -} - -// A backend rule provides configuration for an individual API element. -type BackendRule struct { - // Selects the methods to which this rule applies. - // - // Refer to [selector][google.api.DocumentationRule.selector] for syntax details. - Selector string `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"` - // The address of the API backend. - Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` - // The number of seconds to wait for a response from a request. The default - // deadline for gRPC is infinite (no deadline) and HTTP requests is 5 seconds. - Deadline float64 `protobuf:"fixed64,3,opt,name=deadline,proto3" json:"deadline,omitempty"` - // Minimum deadline in seconds needed for this method. Calls having deadline - // value lower than this will be rejected. - MinDeadline float64 `protobuf:"fixed64,4,opt,name=min_deadline,json=minDeadline,proto3" json:"min_deadline,omitempty"` - // The number of seconds to wait for the completion of a long running - // operation. The default is no deadline. - OperationDeadline float64 `protobuf:"fixed64,5,opt,name=operation_deadline,json=operationDeadline,proto3" json:"operation_deadline,omitempty"` - PathTranslation BackendRule_PathTranslation `protobuf:"varint,6,opt,name=path_translation,json=pathTranslation,proto3,enum=google.api.BackendRule_PathTranslation" json:"path_translation,omitempty"` - // Authentication settings used by the backend. - // - // These are typically used to provide service management functionality to - // a backend served on a publicly-routable URL. The `authentication` - // details should match the authentication behavior used by the backend. - // - // For example, specifying `jwt_audience` implies that the backend expects - // authentication via a JWT. - // - // Types that are valid to be assigned to Authentication: - // *BackendRule_JwtAudience - Authentication isBackendRule_Authentication `protobuf_oneof:"authentication"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_87d0f28daa3f64f0, []int{1} -} - -func (m *BackendRule) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BackendRule.Unmarshal(m, b) -} -func (m *BackendRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BackendRule.Marshal(b, m, deterministic) -} -func (m *BackendRule) XXX_Merge(src proto.Message) { - xxx_messageInfo_BackendRule.Merge(m, src) -} -func (m *BackendRule) XXX_Size() int { - return xxx_messageInfo_BackendRule.Size(m) -} -func (m *BackendRule) XXX_DiscardUnknown() { - xxx_messageInfo_BackendRule.DiscardUnknown(m) -} - -var xxx_messageInfo_BackendRule proto.InternalMessageInfo - -func (m *BackendRule) GetSelector() string { - if m != nil { - return m.Selector - } - return "" -} - -func (m *BackendRule) GetAddress() string { - if m != nil { - return m.Address - } - return "" -} - -func (m *BackendRule) GetDeadline() float64 { - if m != nil { - return m.Deadline - } - return 0 -} - -func (m *BackendRule) GetMinDeadline() float64 { - if m != nil { - return m.MinDeadline - } - return 0 -} - -func (m *BackendRule) GetOperationDeadline() float64 { - if m != nil { - return m.OperationDeadline - } - return 0 -} - -func (m *BackendRule) GetPathTranslation() BackendRule_PathTranslation { - if m != nil { - return m.PathTranslation - } - return BackendRule_PATH_TRANSLATION_UNSPECIFIED -} - -type isBackendRule_Authentication interface { - isBackendRule_Authentication() -} - -type BackendRule_JwtAudience struct { - JwtAudience string `protobuf:"bytes,7,opt,name=jwt_audience,json=jwtAudience,proto3,oneof"` -} - -func (*BackendRule_JwtAudience) isBackendRule_Authentication() {} - -func (m *BackendRule) GetAuthentication() isBackendRule_Authentication { - if m != nil { - return m.Authentication - } - return nil -} - -func (m *BackendRule) GetJwtAudience() string { - if x, ok := m.GetAuthentication().(*BackendRule_JwtAudience); ok { - return x.JwtAudience - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*BackendRule) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*BackendRule_JwtAudience)(nil), - } -} - -func init() { - proto.RegisterEnum("google.api.BackendRule_PathTranslation", BackendRule_PathTranslation_name, BackendRule_PathTranslation_value) - proto.RegisterType((*Backend)(nil), "google.api.Backend") - proto.RegisterType((*BackendRule)(nil), "google.api.BackendRule") -} - -func init() { proto.RegisterFile("google/api/backend.proto", fileDescriptor_87d0f28daa3f64f0) } - -var fileDescriptor_87d0f28daa3f64f0 = []byte{ - // 408 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0x41, 0x6f, 0xd3, 0x30, - 0x14, 0xc7, 0x97, 0x76, 0x5b, 0xe1, 0xb5, 0xea, 0x82, 0x85, 0x20, 0x9a, 0x38, 0x84, 0x72, 0xa0, - 0x97, 0xa5, 0xd2, 0xb8, 0x20, 0x71, 0x4a, 0x97, 0xc0, 0x2a, 0xa1, 0x34, 0x72, 0xc2, 0x85, 0x4b, - 0xe4, 0x25, 0x8f, 0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 0x8f, 0x07, 0xe4, 0x1d, 0x4c, 0xee, 0x1f, - 0x74, 0xc6, 0x76, 0x05, 0x47, 0x91, 0xa3, 0x33, 0xda, 0x17, 0xbc, 0x3d, 0xa1, 0xe3, 0xfb, 0x07, - 0xed, 0x77, 0xc3, 0x19, 0xc2, 0xc5, 0x3f, 0x0f, 0x11, 0x17, 0xde, 0xc4, 0x7e, 0x7a, 0x9b, 0xa5, - 0xd4, 0x8f, 0x92, 0xaf, 0x7e, 0xba, 0x5a, 0x47, 0xd9, 0xb7, 0x28, 0x89, 0xc3, 0x9b, 0xd5, 0xe7, - 0x55, 0x18, 0xd8, 0x27, 0xe4, 0x25, 0xd8, 0x37, 0xeb, 0x28, 0x49, 0xfd, 0x28, 0xcd, 0xfc, 0x20, - 0xa0, 0x61, 0x92, 0xd8, 0x16, 0xb9, 0x84, 0x57, 0x7e, 0x1c, 0x87, 0x51, 0x90, 0xb5, 0xeb, 0xeb, - 0x9e, 0x0d, 0x96, 0x36, 0x4c, 0xd9, 0x4e, 0x6f, 0x50, 0x68, 0x9e, 0x9b, 0x5f, 0x96, 0x02, 0xa6, - 0xb9, 0xdc, 0x1e, 0x94, 0x5b, 0x4e, 0xba, 0x76, 0xf1, 0xfe, 0x16, 0x62, 0xeb, 0x7b, 0xd8, 0xb1, - 0x52, 0x56, 0x4c, 0x94, 0x9e, 0x54, 0xe5, 0xa2, 0x44, 0x61, 0x2e, 0x65, 0xd1, 0x22, 0x56, 0xf3, - 0xc6, 0x9c, 0x51, 0x83, 0xea, 0x17, 0xcf, 0x31, 0x97, 0xe2, 0x07, 0x2f, 0x3f, 0x1d, 0xa5, 0xdf, - 0x83, 0xd3, 0x2f, 0x7e, 0xbc, 0xba, 0x3b, 0x37, 0x8b, 0x1f, 0xfe, 0x06, 0x00, 0x00, 0xff, 0xff, - 0x2b, 0x64, 0x62, 0xc8, 0x7e, 0x02, 0x00, 0x00, -} 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 deleted file mode 100644 index ad6f3f3c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/billing.pb.go +++ /dev/null @@ -1,167 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/billing.proto - -package serviceconfig - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/metric" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Billing related configuration of the service. -// -// The following example shows how to configure monitored resources and metrics -// for billing: -// -// monitored_resources: -// - type: library.googleapis.com/branch -// labels: -// - key: /city -// description: The city where the library branch is located in. -// - key: /name -// description: The name of the branch. -// metrics: -// - name: library.googleapis.com/book/borrowed_count -// metric_kind: DELTA -// value_type: INT64 -// billing: -// consumer_destinations: -// - monitored_resource: library.googleapis.com/branch -// metrics: -// - library.googleapis.com/book/borrowed_count -type Billing struct { - // Billing configurations for sending metrics to the consumer project. - // There can be multiple consumer destinations per service, each one must have - // a different monitored resource type. A metric can be used in at most - // one consumer destination. - ConsumerDestinations []*Billing_BillingDestination `protobuf:"bytes,8,rep,name=consumer_destinations,json=consumerDestinations,proto3" json:"consumer_destinations,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_21f14814cad56ddb, []int{0} -} - -func (m *Billing) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Billing.Unmarshal(m, b) -} -func (m *Billing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Billing.Marshal(b, m, deterministic) -} -func (m *Billing) XXX_Merge(src proto.Message) { - xxx_messageInfo_Billing.Merge(m, src) -} -func (m *Billing) XXX_Size() int { - return xxx_messageInfo_Billing.Size(m) -} -func (m *Billing) XXX_DiscardUnknown() { - xxx_messageInfo_Billing.DiscardUnknown(m) -} - -var xxx_messageInfo_Billing proto.InternalMessageInfo - -func (m *Billing) GetConsumerDestinations() []*Billing_BillingDestination { - if m != nil { - return m.ConsumerDestinations - } - return nil -} - -// Configuration of a specific billing destination (Currently only support -// bill against consumer project). -type Billing_BillingDestination struct { - // The monitored resource type. The type must be defined in - // [Service.monitored_resources][google.api.Service.monitored_resources] section. - MonitoredResource string `protobuf:"bytes,1,opt,name=monitored_resource,json=monitoredResource,proto3" json:"monitored_resource,omitempty"` - // Names of the metrics to report to this billing destination. - // Each name must be defined in [Service.metrics][google.api.Service.metrics] section. - Metrics []string `protobuf:"bytes,2,rep,name=metrics,proto3" json:"metrics,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Billing_BillingDestination) Reset() { *m = Billing_BillingDestination{} } -func (m *Billing_BillingDestination) String() string { return proto.CompactTextString(m) } -func (*Billing_BillingDestination) ProtoMessage() {} -func (*Billing_BillingDestination) Descriptor() ([]byte, []int) { - return fileDescriptor_21f14814cad56ddb, []int{0, 0} -} - -func (m *Billing_BillingDestination) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Billing_BillingDestination.Unmarshal(m, b) -} -func (m *Billing_BillingDestination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Billing_BillingDestination.Marshal(b, m, deterministic) -} -func (m *Billing_BillingDestination) XXX_Merge(src proto.Message) { - xxx_messageInfo_Billing_BillingDestination.Merge(m, src) -} -func (m *Billing_BillingDestination) XXX_Size() int { - return xxx_messageInfo_Billing_BillingDestination.Size(m) -} -func (m *Billing_BillingDestination) XXX_DiscardUnknown() { - xxx_messageInfo_Billing_BillingDestination.DiscardUnknown(m) -} - -var xxx_messageInfo_Billing_BillingDestination proto.InternalMessageInfo - -func (m *Billing_BillingDestination) GetMonitoredResource() string { - if m != nil { - return m.MonitoredResource - } - return "" -} - -func (m *Billing_BillingDestination) GetMetrics() []string { - if m != nil { - return m.Metrics - } - return nil -} - -func init() { - proto.RegisterType((*Billing)(nil), "google.api.Billing") - proto.RegisterType((*Billing_BillingDestination)(nil), "google.api.Billing.BillingDestination") -} - -func init() { proto.RegisterFile("google/api/billing.proto", fileDescriptor_21f14814cad56ddb) } - -var fileDescriptor_21f14814cad56ddb = []byte{ - // 255 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0xc1, 0x4a, 0xc4, 0x30, - 0x10, 0x86, 0xe9, 0xae, 0xb8, 0x6e, 0x14, 0xc1, 0xa0, 0x18, 0xf6, 0x54, 0x3c, 0x48, 0x2f, 0xa6, - 0xa0, 0x47, 0x4f, 0x16, 0x45, 0xbc, 0x95, 0x1e, 0x15, 0x59, 0xb2, 0xd9, 0x31, 0x0c, 0xb4, 0x99, - 0x92, 0x64, 0x7d, 0x20, 0xdf, 0xc5, 0xf7, 0x12, 0x9b, 0xd6, 0x56, 0xf6, 0x14, 0x26, 0xdf, 0xf7, - 0x4f, 0x26, 0xc3, 0x84, 0x21, 0x32, 0x35, 0xe4, 0xaa, 0xc5, 0x7c, 0x83, 0x75, 0x8d, 0xd6, 0xc8, - 0xd6, 0x51, 0x20, 0xce, 0x22, 0x91, 0xaa, 0xc5, 0xd5, 0xe5, 0xc4, 0x6a, 0x20, 0x38, 0xd4, 0x51, - 0xba, 0xfa, 0x4e, 0xd8, 0xa2, 0x88, 0x31, 0xfe, 0xc6, 0x2e, 0x34, 0x59, 0xbf, 0x6b, 0xc0, 0xad, - 0xb7, 0xe0, 0x03, 0x5a, 0x15, 0x90, 0xac, 0x17, 0x47, 0xe9, 0x3c, 0x3b, 0xbe, 0xbd, 0x96, 0x63, - 0x43, 0xd9, 0x67, 0x86, 0xf3, 0x71, 0xd4, 0xab, 0xf3, 0xa1, 0xc9, 0xe4, 0xd2, 0xaf, 0xde, 0x19, - 0xdf, 0x77, 0xf9, 0x0d, 0xe3, 0x0d, 0x59, 0x0c, 0xe4, 0x60, 0xbb, 0x76, 0xe0, 0x69, 0xe7, 0x34, - 0x88, 0x24, 0x4d, 0xb2, 0x65, 0x75, 0xf6, 0x47, 0xaa, 0x1e, 0x70, 0xc1, 0x16, 0x71, 0x7a, 0x2f, - 0x66, 0xe9, 0x3c, 0x5b, 0x56, 0x43, 0x59, 0x58, 0x76, 0xaa, 0xa9, 0x99, 0x4c, 0x58, 0x9c, 0xf4, - 0xcf, 0x95, 0xbf, 0xff, 0x2c, 0x93, 0xd7, 0xa7, 0x9e, 0x19, 0xaa, 0x95, 0x35, 0x92, 0x9c, 0xc9, - 0x0d, 0xd8, 0x6e, 0x0b, 0x79, 0x44, 0xaa, 0x45, 0xdf, 0x6d, 0xc8, 0x83, 0xfb, 0x44, 0x0d, 0x9a, - 0xec, 0x07, 0x9a, 0xfb, 0x7f, 0xd5, 0xd7, 0xec, 0xe0, 0xf9, 0xa1, 0x7c, 0xd9, 0x1c, 0x76, 0xc1, - 0xbb, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x27, 0xa0, 0xf0, 0x6b, 0x7f, 0x01, 0x00, 0x00, -} 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 deleted file mode 100644 index 455f2b63..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/consumer.pb.go +++ /dev/null @@ -1,217 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/consumer.proto - -package serviceconfig - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Supported data type of the property values -type Property_PropertyType int32 - -const ( - // The type is unspecified, and will result in an error. - Property_UNSPECIFIED Property_PropertyType = 0 - // The type is `int64`. - Property_INT64 Property_PropertyType = 1 - // The type is `bool`. - Property_BOOL Property_PropertyType = 2 - // The type is `string`. - Property_STRING Property_PropertyType = 3 - // The type is 'double'. - Property_DOUBLE Property_PropertyType = 4 -) - -var Property_PropertyType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "INT64", - 2: "BOOL", - 3: "STRING", - 4: "DOUBLE", -} - -var Property_PropertyType_value = map[string]int32{ - "UNSPECIFIED": 0, - "INT64": 1, - "BOOL": 2, - "STRING": 3, - "DOUBLE": 4, -} - -func (x Property_PropertyType) String() string { - return proto.EnumName(Property_PropertyType_name, int32(x)) -} - -func (Property_PropertyType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bec5e69370b3104e, []int{1, 0} -} - -// A descriptor for defining project properties for a service. One service may -// have many consumer projects, and the service may want to behave differently -// depending on some properties on the project. For example, a project may be -// associated with a school, or a business, or a government agency, a business -// type property on the project may affect how a service responds to the client. -// This descriptor defines which properties are allowed to be set on a project. -// -// Example: -// -// project_properties: -// properties: -// - name: NO_WATERMARK -// type: BOOL -// description: Allows usage of the API without watermarks. -// - name: EXTENDED_TILE_CACHE_PERIOD -// type: INT64 -type ProjectProperties struct { - // List of per consumer project-specific properties. - Properties []*Property `protobuf:"bytes,1,rep,name=properties,proto3" json:"properties,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_bec5e69370b3104e, []int{0} -} - -func (m *ProjectProperties) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProjectProperties.Unmarshal(m, b) -} -func (m *ProjectProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProjectProperties.Marshal(b, m, deterministic) -} -func (m *ProjectProperties) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProjectProperties.Merge(m, src) -} -func (m *ProjectProperties) XXX_Size() int { - return xxx_messageInfo_ProjectProperties.Size(m) -} -func (m *ProjectProperties) XXX_DiscardUnknown() { - xxx_messageInfo_ProjectProperties.DiscardUnknown(m) -} - -var xxx_messageInfo_ProjectProperties proto.InternalMessageInfo - -func (m *ProjectProperties) GetProperties() []*Property { - if m != nil { - return m.Properties - } - return nil -} - -// Defines project properties. -// -// API services can define properties that can be assigned to consumer projects -// so that backends can perform response customization without having to make -// additional calls or maintain additional storage. For example, Maps API -// defines properties that controls map tile cache period, or whether to embed a -// watermark in a result. -// -// These values can be set via API producer console. Only API providers can -// define and set these properties. -type Property struct { - // The name of the property (a.k.a key). - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The type of this property. - Type Property_PropertyType `protobuf:"varint,2,opt,name=type,proto3,enum=google.api.Property_PropertyType" json:"type,omitempty"` - // The description of the property - 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 *Property) Reset() { *m = Property{} } -func (m *Property) String() string { return proto.CompactTextString(m) } -func (*Property) ProtoMessage() {} -func (*Property) Descriptor() ([]byte, []int) { - return fileDescriptor_bec5e69370b3104e, []int{1} -} - -func (m *Property) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Property.Unmarshal(m, b) -} -func (m *Property) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Property.Marshal(b, m, deterministic) -} -func (m *Property) XXX_Merge(src proto.Message) { - xxx_messageInfo_Property.Merge(m, src) -} -func (m *Property) XXX_Size() int { - return xxx_messageInfo_Property.Size(m) -} -func (m *Property) XXX_DiscardUnknown() { - xxx_messageInfo_Property.DiscardUnknown(m) -} - -var xxx_messageInfo_Property proto.InternalMessageInfo - -func (m *Property) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Property) GetType() Property_PropertyType { - if m != nil { - return m.Type - } - return Property_UNSPECIFIED -} - -func (m *Property) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func init() { - proto.RegisterEnum("google.api.Property_PropertyType", Property_PropertyType_name, Property_PropertyType_value) - proto.RegisterType((*ProjectProperties)(nil), "google.api.ProjectProperties") - proto.RegisterType((*Property)(nil), "google.api.Property") -} - -func init() { proto.RegisterFile("google/api/consumer.proto", fileDescriptor_bec5e69370b3104e) } - -var fileDescriptor_bec5e69370b3104e = []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, - 0x41, 0xf4, 0xe2, 0xad, 0x50, 0x4d, 0x13, 0x02, 0x4d, 0x81, 0x8b, 0xb7, 0x5a, 0xc7, 0x75, 0x0d, - 0xec, 0x6c, 0xb6, 0xd5, 0x84, 0x0f, 0xe8, 0xf7, 0x32, 0x2c, 0x88, 0x35, 0xf1, 0xf6, 0xcc, 0x3e, - 0x7f, 0xb2, 0xf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 0xd9, 0x63, 0x7c, 0x30, 0x05, 0xad, 0x73, 0x25, 0x02, - 0x32, 0x22, 0x14, 0xa8, 0x2c, 0xdd, 0x70, 0x6f, 0xe5, 0x5a, 0x96, 0x96, 0x7d, 0x89, 0xe6, 0x43, - 0x16, 0x58, 0x90, 0x7a, 0x91, 0xe2, 0xee, 0xd7, 0xf5, 0xd4, 0xb2, 0x8d, 0xeb, 0xaf, 0x00, 0x00, - 0x00, 0xff, 0xff, 0xb7, 0xa4, 0x04, 0x2c, 0xac, 0x01, 0x00, 0x00, -} 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 deleted file mode 100644 index c68fe106..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/context.pb.go +++ /dev/null @@ -1,211 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/context.proto - -package serviceconfig - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// `Context` defines which contexts an API requests. -// -// Example: -// -// context: -// rules: -// - selector: "*" -// requested: -// - google.rpc.context.ProjectContext -// - google.rpc.context.OriginContext -// -// The above specifies that all methods in the API request -// `google.rpc.context.ProjectContext` and -// `google.rpc.context.OriginContext`. -// -// Available context types are defined in package -// `google.rpc.context`. -// -// This also provides mechanism to whitelist any protobuf message extension that -// can be sent in grpc metadata using “x-goog-ext--bin” and -// “x-goog-ext--jspb” format. For example, list any service -// specific protobuf types that can appear in grpc metadata as follows in your -// yaml file: -// -// Example: -// -// context: -// rules: -// - selector: "google.example.library.v1.LibraryService.CreateBook" -// allowed_request_extensions: -// - google.foo.v1.NewExtension -// allowed_response_extensions: -// - google.foo.v1.NewExtension -// -// You can also specify extension ID instead of fully qualified extension name -// here. -type Context struct { - // A list of RPC context rules that apply to individual API methods. - // - // **NOTE:** All service configuration rules follow "last one wins" order. - Rules []*ContextRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_48d8be90143bd46c, []int{0} -} - -func (m *Context) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Context.Unmarshal(m, b) -} -func (m *Context) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Context.Marshal(b, m, deterministic) -} -func (m *Context) XXX_Merge(src proto.Message) { - xxx_messageInfo_Context.Merge(m, src) -} -func (m *Context) XXX_Size() int { - return xxx_messageInfo_Context.Size(m) -} -func (m *Context) XXX_DiscardUnknown() { - xxx_messageInfo_Context.DiscardUnknown(m) -} - -var xxx_messageInfo_Context proto.InternalMessageInfo - -func (m *Context) GetRules() []*ContextRule { - if m != nil { - return m.Rules - } - return nil -} - -// A context rule provides information about the context for an individual API -// element. -type ContextRule struct { - // Selects the methods to which this rule applies. - // - // Refer to [selector][google.api.DocumentationRule.selector] for syntax details. - Selector string `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"` - // A list of full type names of requested contexts. - Requested []string `protobuf:"bytes,2,rep,name=requested,proto3" json:"requested,omitempty"` - // A list of full type names of provided contexts. - Provided []string `protobuf:"bytes,3,rep,name=provided,proto3" json:"provided,omitempty"` - // A list of full type names or extension IDs of extensions allowed in grpc - // side channel from client to backend. - AllowedRequestExtensions []string `protobuf:"bytes,4,rep,name=allowed_request_extensions,json=allowedRequestExtensions,proto3" json:"allowed_request_extensions,omitempty"` - // A list of full type names or extension IDs of extensions allowed in grpc - // side channel from backend to client. - AllowedResponseExtensions []string `protobuf:"bytes,5,rep,name=allowed_response_extensions,json=allowedResponseExtensions,proto3" json:"allowed_response_extensions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_48d8be90143bd46c, []int{1} -} - -func (m *ContextRule) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ContextRule.Unmarshal(m, b) -} -func (m *ContextRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ContextRule.Marshal(b, m, deterministic) -} -func (m *ContextRule) XXX_Merge(src proto.Message) { - xxx_messageInfo_ContextRule.Merge(m, src) -} -func (m *ContextRule) XXX_Size() int { - return xxx_messageInfo_ContextRule.Size(m) -} -func (m *ContextRule) XXX_DiscardUnknown() { - xxx_messageInfo_ContextRule.DiscardUnknown(m) -} - -var xxx_messageInfo_ContextRule proto.InternalMessageInfo - -func (m *ContextRule) GetSelector() string { - if m != nil { - return m.Selector - } - return "" -} - -func (m *ContextRule) GetRequested() []string { - if m != nil { - return m.Requested - } - return nil -} - -func (m *ContextRule) GetProvided() []string { - if m != nil { - return m.Provided - } - return nil -} - -func (m *ContextRule) GetAllowedRequestExtensions() []string { - if m != nil { - return m.AllowedRequestExtensions - } - return nil -} - -func (m *ContextRule) GetAllowedResponseExtensions() []string { - if m != nil { - return m.AllowedResponseExtensions - } - return nil -} - -func init() { - proto.RegisterType((*Context)(nil), "google.api.Context") - proto.RegisterType((*ContextRule)(nil), "google.api.ContextRule") -} - -func init() { proto.RegisterFile("google/api/context.proto", fileDescriptor_48d8be90143bd46c) } - -var fileDescriptor_48d8be90143bd46c = []byte{ - // 281 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x91, 0xbd, 0x4e, 0xc3, 0x30, - 0x10, 0x80, 0x95, 0xfe, 0x00, 0x71, 0x11, 0x83, 0x17, 0x4c, 0x61, 0x88, 0x3a, 0x65, 0x21, 0x91, - 0x60, 0x41, 0x02, 0x21, 0x51, 0x54, 0x21, 0xb6, 0x28, 0x23, 0x4b, 0x15, 0x92, 0xc3, 0xb2, 0x64, - 0x7c, 0xc6, 0x76, 0x4a, 0x9f, 0x87, 0x37, 0xe3, 0x4d, 0x50, 0xed, 0x28, 0x09, 0xe3, 0xdd, 0xf7, - 0x7d, 0x83, 0xcf, 0x84, 0x71, 0x44, 0x2e, 0x21, 0xaf, 0xb4, 0xc8, 0x6b, 0x54, 0x0e, 0xf6, 0x2e, - 0xd3, 0x06, 0x1d, 0x52, 0x12, 0x48, 0x56, 0x69, 0xb1, 0xba, 0x23, 0xc7, 0xcf, 0x01, 0xd2, 0x6b, - 0x32, 0x37, 0xad, 0x04, 0xcb, 0xa2, 0x64, 0x9a, 0x2e, 0x6e, 0xce, 0xb3, 0x41, 0xcb, 0x3a, 0xa7, - 0x6c, 0x25, 0x94, 0xc1, 0x5a, 0xfd, 0x46, 0x64, 0x31, 0x5a, 0xd3, 0x25, 0x39, 0xb1, 0x20, 0xa1, - 0x76, 0x68, 0x58, 0x94, 0x44, 0x69, 0x5c, 0xf6, 0x33, 0xbd, 0x22, 0xb1, 0x81, 0xaf, 0x16, 0xac, - 0x83, 0x86, 0x4d, 0x92, 0x69, 0x1a, 0x97, 0xc3, 0xe2, 0x50, 0x6a, 0x83, 0x3b, 0xd1, 0x40, 0xc3, - 0xa6, 0x1e, 0xf6, 0x33, 0x7d, 0x20, 0xcb, 0x4a, 0x4a, 0xfc, 0x86, 0x66, 0xdb, 0x05, 0x5b, 0xd8, - 0x3b, 0x50, 0x56, 0xa0, 0xb2, 0x6c, 0xe6, 0x6d, 0xd6, 0x19, 0x65, 0x10, 0x36, 0x3d, 0xa7, 0x8f, - 0xe4, 0x72, 0xa8, 0xad, 0x46, 0x65, 0x61, 0x9c, 0xcf, 0x7d, 0x7e, 0xd1, 0xe7, 0xc1, 0x18, 0xfa, - 0xb5, 0x22, 0x67, 0x35, 0x7e, 0x8e, 0x0e, 0xb1, 0x3e, 0xed, 0x9e, 0x5c, 0x1c, 0x2e, 0x59, 0x44, - 0x6f, 0x9b, 0x8e, 0x71, 0x94, 0x95, 0xe2, 0x19, 0x1a, 0x9e, 0x73, 0x50, 0xfe, 0xce, 0x79, 0x40, - 0x95, 0x16, 0xd6, 0x7f, 0x82, 0x05, 0xb3, 0x13, 0x35, 0xd4, 0xa8, 0x3e, 0x04, 0xbf, 0xff, 0x37, - 0xfd, 0x4c, 0x66, 0x2f, 0x4f, 0xc5, 0xeb, 0xfb, 0x91, 0x0f, 0x6f, 0xff, 0x02, 0x00, 0x00, 0xff, - 0xff, 0x00, 0x40, 0x95, 0xa9, 0xbc, 0x01, 0x00, 0x00, -} 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 deleted file mode 100644 index 55128eeb..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/control.pb.go +++ /dev/null @@ -1,87 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/control.proto - -package serviceconfig - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Selects and configures the service controller used by the service. The -// service controller handles features like abuse, quota, billing, logging, -// monitoring, etc. -type Control struct { - // The service control environment to use. If empty, no control plane - // feature (like quota and billing) will be enabled. - Environment string `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_74b55b5694b7f0a5, []int{0} -} - -func (m *Control) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Control.Unmarshal(m, b) -} -func (m *Control) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Control.Marshal(b, m, deterministic) -} -func (m *Control) XXX_Merge(src proto.Message) { - xxx_messageInfo_Control.Merge(m, src) -} -func (m *Control) XXX_Size() int { - return xxx_messageInfo_Control.Size(m) -} -func (m *Control) XXX_DiscardUnknown() { - xxx_messageInfo_Control.DiscardUnknown(m) -} - -var xxx_messageInfo_Control proto.InternalMessageInfo - -func (m *Control) GetEnvironment() string { - if m != nil { - return m.Environment - } - return "" -} - -func init() { - proto.RegisterType((*Control)(nil), "google.api.Control") -} - -func init() { proto.RegisterFile("google/api/control.proto", fileDescriptor_74b55b5694b7f0a5) } - -var fileDescriptor_74b55b5694b7f0a5 = []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, - 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x82, 0xc8, 0xe8, 0x25, 0x16, 0x64, 0x2a, 0x69, 0x73, 0xb1, - 0x3b, 0x43, 0x24, 0x85, 0x14, 0xb8, 0xb8, 0x53, 0xf3, 0xca, 0x32, 0x8b, 0xf2, 0xf3, 0x72, 0x53, - 0xf3, 0x4a, 0x24, 0x18, 0x15, 0x18, 0x35, 0x38, 0x83, 0x90, 0x85, 0x9c, 0xf2, 0xb8, 0xf8, 0x92, - 0xf3, 0x73, 0xf5, 0x10, 0xda, 0x9d, 0x78, 0xa0, 0x9a, 0x03, 0x40, 0x06, 0x07, 0x30, 0x46, 0xb9, - 0x42, 0xe5, 0xd2, 0xf3, 0x73, 0x12, 0xf3, 0xd2, 0xf5, 0xf2, 0x8b, 0xd2, 0xf5, 0xd3, 0x53, 0xf3, - 0xc0, 0xd6, 0xea, 0x43, 0xa4, 0x12, 0x0b, 0x32, 0x8b, 0xc1, 0x6e, 0x2a, 0x4e, 0x2d, 0x2a, 0xcb, - 0x4c, 0x4e, 0x4d, 0xce, 0xcf, 0x4b, 0xcb, 0x4c, 0xb7, 0x46, 0xe1, 0x2d, 0x62, 0x62, 0x71, 0x77, - 0x0c, 0xf0, 0x4c, 0x62, 0x03, 0x6b, 0x34, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x44, 0x6e, 0x78, - 0xbd, 0xcb, 0x00, 0x00, 0x00, -} 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 deleted file mode 100644 index 7fcc05e6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/documentation.pb.go +++ /dev/null @@ -1,343 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/documentation.proto - -package serviceconfig - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// `Documentation` provides the information for describing a service. -// -// Example: -//
documentation:
-//   summary: >
-//     The Google Calendar API gives access
-//     to most calendar features.
-//   pages:
-//   - name: Overview
-//     content: (== include google/foo/overview.md ==)
-//   - name: Tutorial
-//     content: (== include google/foo/tutorial.md ==)
-//     subpages;
-//     - name: Java
-//       content: (== include google/foo/tutorial_java.md ==)
-//   rules:
-//   - selector: google.calendar.Calendar.Get
-//     description: >
-//       ...
-//   - selector: google.calendar.Calendar.Put
-//     description: >
-//       ...
-// 
-// Documentation is provided in markdown syntax. In addition to -// standard markdown features, definition lists, tables and fenced -// code blocks are supported. Section headers can be provided and are -// interpreted relative to the section nesting of the context where -// a documentation fragment is embedded. -// -// Documentation from the IDL is merged with documentation defined -// via the config at normalization time, where documentation provided -// by config rules overrides IDL provided. -// -// A number of constructs specific to the API platform are supported -// in documentation text. -// -// In order to reference a proto element, the following -// notation can be used: -//
[fully.qualified.proto.name][]
-// To override the display text used for the link, this can be used: -//
[display text][fully.qualified.proto.name]
-// Text can be excluded from doc using the following notation: -//
(-- internal comment --)
-// -// A few directives are available in documentation. Note that -// directives must appear on a single line to be properly -// identified. The `include` directive includes a markdown file from -// an external source: -//
(== include path/to/file ==)
-// The `resource_for` directive marks a message to be the resource of -// a collection in REST view. If it is not specified, tools attempt -// to infer the resource from the operations in a collection: -//
(== resource_for v1.shelves.books ==)
-// The directive `suppress_warning` does not directly affect documentation -// and is documented together with service config validation. -type Documentation struct { - // A short summary of what the service does. Can only be provided by - // plain text. - Summary string `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` - // The top level pages for the documentation set. - Pages []*Page `protobuf:"bytes,5,rep,name=pages,proto3" json:"pages,omitempty"` - // A list of documentation rules that apply to individual API elements. - // - // **NOTE:** All service configuration rules follow "last one wins" order. - Rules []*DocumentationRule `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty"` - // The URL to the root of documentation. - DocumentationRootUrl string `protobuf:"bytes,4,opt,name=documentation_root_url,json=documentationRootUrl,proto3" json:"documentation_root_url,omitempty"` - // Declares a single overview page. For example: - //
documentation:
-	//   summary: ...
-	//   overview: (== include overview.md ==)
-	// 
- // This is a shortcut for the following declaration (using pages style): - //
documentation:
-	//   summary: ...
-	//   pages:
-	//   - name: Overview
-	//     content: (== include overview.md ==)
-	// 
- // Note: you cannot specify both `overview` field and `pages` field. - Overview string `protobuf:"bytes,2,opt,name=overview,proto3" json:"overview,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_dead24b587ac0742, []int{0} -} - -func (m *Documentation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Documentation.Unmarshal(m, b) -} -func (m *Documentation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Documentation.Marshal(b, m, deterministic) -} -func (m *Documentation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Documentation.Merge(m, src) -} -func (m *Documentation) XXX_Size() int { - return xxx_messageInfo_Documentation.Size(m) -} -func (m *Documentation) XXX_DiscardUnknown() { - xxx_messageInfo_Documentation.DiscardUnknown(m) -} - -var xxx_messageInfo_Documentation proto.InternalMessageInfo - -func (m *Documentation) GetSummary() string { - if m != nil { - return m.Summary - } - return "" -} - -func (m *Documentation) GetPages() []*Page { - if m != nil { - return m.Pages - } - return nil -} - -func (m *Documentation) GetRules() []*DocumentationRule { - if m != nil { - return m.Rules - } - return nil -} - -func (m *Documentation) GetDocumentationRootUrl() string { - if m != nil { - return m.DocumentationRootUrl - } - return "" -} - -func (m *Documentation) GetOverview() string { - if m != nil { - return m.Overview - } - return "" -} - -// A documentation rule provides information about individual API elements. -type DocumentationRule struct { - // The selector is a comma-separated list of patterns. Each pattern is a - // qualified name of the element which may end in "*", indicating a wildcard. - // Wildcards are only allowed at the end and for a whole component of the - // qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A - // wildcard will match one or more components. To specify a default for all - // applicable elements, the whole pattern "*" is used. - Selector string `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"` - // Description of the selected API(s). - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - // Deprecation description of the selected element(s). It can be provided if - // an element is marked as `deprecated`. - DeprecationDescription string `protobuf:"bytes,3,opt,name=deprecation_description,json=deprecationDescription,proto3" json:"deprecation_description,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_dead24b587ac0742, []int{1} -} - -func (m *DocumentationRule) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DocumentationRule.Unmarshal(m, b) -} -func (m *DocumentationRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DocumentationRule.Marshal(b, m, deterministic) -} -func (m *DocumentationRule) XXX_Merge(src proto.Message) { - xxx_messageInfo_DocumentationRule.Merge(m, src) -} -func (m *DocumentationRule) XXX_Size() int { - return xxx_messageInfo_DocumentationRule.Size(m) -} -func (m *DocumentationRule) XXX_DiscardUnknown() { - xxx_messageInfo_DocumentationRule.DiscardUnknown(m) -} - -var xxx_messageInfo_DocumentationRule proto.InternalMessageInfo - -func (m *DocumentationRule) GetSelector() string { - if m != nil { - return m.Selector - } - return "" -} - -func (m *DocumentationRule) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *DocumentationRule) GetDeprecationDescription() string { - if m != nil { - return m.DeprecationDescription - } - return "" -} - -// Represents a documentation page. A page can contain subpages to represent -// nested documentation set structure. -type Page struct { - // The name of the page. It will be used as an identity of the page to - // generate URI of the page, text of the link to this page in navigation, - // etc. The full page name (start from the root page name to this page - // concatenated with `.`) can be used as reference to the page in your - // documentation. For example: - //
pages:
-	// - name: Tutorial
-	//   content: (== include tutorial.md ==)
-	//   subpages:
-	//   - name: Java
-	//     content: (== include tutorial_java.md ==)
-	// 
- // You can reference `Java` page using Markdown reference link syntax: - // `[Java][Tutorial.Java]`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The Markdown content of the page. You can use (== include {path} - // ==) to include content from a Markdown file. - Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` - // Subpages of this page. The order of subpages specified here will be - // honored in the generated docset. - Subpages []*Page `protobuf:"bytes,3,rep,name=subpages,proto3" json:"subpages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_dead24b587ac0742, []int{2} -} - -func (m *Page) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Page.Unmarshal(m, b) -} -func (m *Page) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Page.Marshal(b, m, deterministic) -} -func (m *Page) XXX_Merge(src proto.Message) { - xxx_messageInfo_Page.Merge(m, src) -} -func (m *Page) XXX_Size() int { - return xxx_messageInfo_Page.Size(m) -} -func (m *Page) XXX_DiscardUnknown() { - xxx_messageInfo_Page.DiscardUnknown(m) -} - -var xxx_messageInfo_Page proto.InternalMessageInfo - -func (m *Page) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Page) GetContent() string { - if m != nil { - return m.Content - } - return "" -} - -func (m *Page) GetSubpages() []*Page { - if m != nil { - return m.Subpages - } - return nil -} - -func init() { - proto.RegisterType((*Documentation)(nil), "google.api.Documentation") - proto.RegisterType((*DocumentationRule)(nil), "google.api.DocumentationRule") - proto.RegisterType((*Page)(nil), "google.api.Page") -} - -func init() { proto.RegisterFile("google/api/documentation.proto", fileDescriptor_dead24b587ac0742) } - -var fileDescriptor_dead24b587ac0742 = []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, - 0x28, 0x59, 0x14, 0x1b, 0x9a, 0x42, 0x17, 0x5d, 0x35, 0xa4, 0x94, 0xee, 0x8c, 0xa1, 0x9b, 0x6e, - 0x82, 0xa2, 0xbc, 0x0a, 0x83, 0xad, 0x67, 0x24, 0x39, 0xa5, 0xbf, 0xd0, 0xcf, 0xe8, 0x57, 0xf5, - 0x73, 0x8a, 0x65, 0x27, 0xb1, 0x29, 0xdd, 0xf9, 0xfa, 0x1e, 0xe9, 0x3e, 0x5d, 0x09, 0x4e, 0x25, - 0x91, 0xcc, 0x31, 0xe6, 0x65, 0x16, 0x6f, 0x49, 0x54, 0x05, 0x2a, 0xcb, 0x6d, 0x46, 0x2a, 0x2a, - 0x35, 0x59, 0x62, 0xd0, 0xf8, 0x11, 0x2f, 0xb3, 0xd9, 0xbb, 0x07, 0x3f, 0x57, 0x5d, 0x86, 0x85, - 0xf0, 0xdd, 0x54, 0x45, 0xc1, 0xf5, 0x4b, 0xe8, 0x4d, 0xbd, 0xf9, 0x8f, 0x74, 0x2f, 0xd9, 0x19, - 0x0c, 0x4b, 0x2e, 0xd1, 0x84, 0xc3, 0xa9, 0x3f, 0x1f, 0x5f, 0xfc, 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, 0xa9, 0xbb, 0x14, 0x28, 0x48, 0x3d, 0x65, 0xf2, 0xba, 0xa7, 0xde, 0x06, 0xc1, 0xdd, 0x4d, - 0x72, 0xbf, 0xf9, 0xe6, 0x16, 0x2e, 0x3e, 0x02, 0x00, 0x00, 0xff, 0xff, 0x3e, 0x04, 0x32, 0xbf, - 0x76, 0x02, 0x00, 0x00, -} 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 deleted file mode 100644 index 39366975..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/endpoint.pb.go +++ /dev/null @@ -1,153 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/endpoint.proto - -package serviceconfig - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// `Endpoint` describes a network endpoint that serves a set of APIs. -// A service may expose any number of endpoints, and all endpoints share the -// same service configuration, such as quota configuration and monitoring -// configuration. -// -// Example service configuration: -// -// name: library-example.googleapis.com -// endpoints: -// # Below entry makes 'google.example.library.v1.Library' -// # API be served from endpoint address library-example.googleapis.com. -// # It also allows HTTP OPTIONS calls to be passed to the backend, for -// # it to decide whether the subsequent cross-origin request is -// # allowed to proceed. -// - name: library-example.googleapis.com -// allow_cors: true -type Endpoint struct { - // The canonical name of this endpoint. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // DEPRECATED: This field is no longer supported. Instead of using aliases, - // please specify multiple [google.api.Endpoint][google.api.Endpoint] for each of the intended - // aliases. - // - // Additional names that this endpoint will be hosted on. - Aliases []string `protobuf:"bytes,2,rep,name=aliases,proto3" json:"aliases,omitempty"` // Deprecated: Do not use. - // The list of features enabled on this endpoint. - Features []string `protobuf:"bytes,4,rep,name=features,proto3" json:"features,omitempty"` - // The specification of an Internet routable address of API frontend that will - // handle requests to this [API - // Endpoint](https://cloud.google.com/apis/design/glossary). It should be - // either a valid IPv4 address or a fully-qualified domain name. For example, - // "8.8.8.8" or "myservice.appspot.com". - Target string `protobuf:"bytes,101,opt,name=target,proto3" json:"target,omitempty"` - // Allowing - // [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka - // cross-domain traffic, would allow the backends served from this endpoint to - // receive and respond to HTTP OPTIONS requests. The response will be used by - // the browser to determine whether the subsequent cross-origin request is - // allowed to proceed. - AllowCors bool `protobuf:"varint,5,opt,name=allow_cors,json=allowCors,proto3" json:"allow_cors,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ee48cbc4cc013456, []int{0} -} - -func (m *Endpoint) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Endpoint.Unmarshal(m, b) -} -func (m *Endpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Endpoint.Marshal(b, m, deterministic) -} -func (m *Endpoint) XXX_Merge(src proto.Message) { - xxx_messageInfo_Endpoint.Merge(m, src) -} -func (m *Endpoint) XXX_Size() int { - return xxx_messageInfo_Endpoint.Size(m) -} -func (m *Endpoint) XXX_DiscardUnknown() { - xxx_messageInfo_Endpoint.DiscardUnknown(m) -} - -var xxx_messageInfo_Endpoint proto.InternalMessageInfo - -func (m *Endpoint) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Deprecated: Do not use. -func (m *Endpoint) GetAliases() []string { - if m != nil { - return m.Aliases - } - return nil -} - -func (m *Endpoint) GetFeatures() []string { - if m != nil { - return m.Features - } - return nil -} - -func (m *Endpoint) GetTarget() string { - if m != nil { - return m.Target - } - return "" -} - -func (m *Endpoint) GetAllowCors() bool { - if m != nil { - return m.AllowCors - } - return false -} - -func init() { - proto.RegisterType((*Endpoint)(nil), "google.api.Endpoint") -} - -func init() { proto.RegisterFile("google/api/endpoint.proto", fileDescriptor_ee48cbc4cc013456) } - -var fileDescriptor_ee48cbc4cc013456 = []byte{ - // 236 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x8f, 0xc1, 0x4a, 0xc4, 0x30, - 0x10, 0x86, 0x49, 0xad, 0x6b, 0x3b, 0xa0, 0x87, 0x1c, 0x24, 0x8a, 0x42, 0xf1, 0xd4, 0x53, 0x7b, - 0xf0, 0xe8, 0xc9, 0xca, 0x22, 0xde, 0x4a, 0x8f, 0x5e, 0x64, 0xac, 0xb3, 0x21, 0x90, 0xcd, 0x84, - 0x24, 0xea, 0x63, 0xf8, 0x0e, 0x3e, 0xa9, 0x6c, 0xb6, 0xab, 0x78, 0xcb, 0xff, 0x7f, 0x64, 0xf8, - 0x7e, 0xb8, 0xd0, 0xcc, 0xda, 0x52, 0x8f, 0xde, 0xf4, 0xe4, 0xde, 0x3c, 0x1b, 0x97, 0x3a, 0x1f, - 0x38, 0xb1, 0x84, 0x3d, 0xea, 0xd0, 0x9b, 0x9b, 0x2f, 0x01, 0xd5, 0x7a, 0xc1, 0x52, 0x42, 0xe9, - 0x70, 0x4b, 0x4a, 0x34, 0xa2, 0xad, 0xa7, 0xfc, 0x96, 0x57, 0x70, 0x82, 0xd6, 0x60, 0xa4, 0xa8, - 0x8a, 0xe6, 0xa8, 0xad, 0x87, 0x42, 0x89, 0xe9, 0x50, 0xc9, 0x4b, 0xa8, 0x36, 0x84, 0xe9, 0x3d, - 0x50, 0x54, 0xe5, 0x0e, 0x4f, 0xbf, 0x59, 0x9e, 0xc3, 0x2a, 0x61, 0xd0, 0x94, 0x14, 0xe5, 0x7b, - 0x4b, 0x92, 0xd7, 0x00, 0x68, 0x2d, 0x7f, 0xbe, 0xcc, 0x1c, 0xa2, 0x3a, 0x6e, 0x44, 0x5b, 0x4d, - 0x75, 0x6e, 0x1e, 0x38, 0xc4, 0x81, 0xe1, 0x6c, 0xe6, 0x6d, 0xf7, 0xe7, 0x38, 0x9c, 0x1e, 0x04, - 0xc7, 0x9d, 0xfe, 0x28, 0x9e, 0xd7, 0x0b, 0xd4, 0x6c, 0xd1, 0xe9, 0x8e, 0x83, 0xee, 0x35, 0xb9, - 0x3c, 0xae, 0xdf, 0x23, 0xf4, 0x26, 0xe6, 0xe9, 0x91, 0xc2, 0x87, 0x99, 0x69, 0x66, 0xb7, 0x31, - 0xfa, 0xee, 0x5f, 0xfa, 0x2e, 0xca, 0xc7, 0xfb, 0xf1, 0xe9, 0x75, 0x95, 0x3f, 0xde, 0xfe, 0x04, - 0x00, 0x00, 0xff, 0xff, 0xa5, 0x38, 0x4b, 0xb3, 0x32, 0x01, 0x00, 0x00, -} 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 deleted file mode 100644 index 378109f9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/log.pb.go +++ /dev/null @@ -1,130 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/log.proto - -package serviceconfig - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - label "google.golang.org/genproto/googleapis/api/label" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// A description of a log type. Example in YAML format: -// -// - name: library.googleapis.com/activity_history -// description: The history of borrowing and returning library items. -// display_name: Activity -// labels: -// - key: /customer_id -// description: Identifier of a library customer -type LogDescriptor struct { - // The name of the log. It must be less than 512 characters long and can - // include the following characters: upper- and lower-case alphanumeric - // characters [A-Za-z0-9], and punctuation characters including - // slash, underscore, hyphen, period [/_-.]. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The set of labels that are available to describe a specific log entry. - // Runtime requests that contain labels not specified here are - // considered invalid. - Labels []*label.LabelDescriptor `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty"` - // A human-readable description of this log. This information appears in - // the documentation and can contain details. - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - // The human-readable name for this log. This information appears on - // the user interface and should be concise. - DisplayName string `protobuf:"bytes,4,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 *LogDescriptor) Reset() { *m = LogDescriptor{} } -func (m *LogDescriptor) String() string { return proto.CompactTextString(m) } -func (*LogDescriptor) ProtoMessage() {} -func (*LogDescriptor) Descriptor() ([]byte, []int) { - return fileDescriptor_6010a88b9216062d, []int{0} -} - -func (m *LogDescriptor) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LogDescriptor.Unmarshal(m, b) -} -func (m *LogDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LogDescriptor.Marshal(b, m, deterministic) -} -func (m *LogDescriptor) XXX_Merge(src proto.Message) { - xxx_messageInfo_LogDescriptor.Merge(m, src) -} -func (m *LogDescriptor) XXX_Size() int { - return xxx_messageInfo_LogDescriptor.Size(m) -} -func (m *LogDescriptor) XXX_DiscardUnknown() { - xxx_messageInfo_LogDescriptor.DiscardUnknown(m) -} - -var xxx_messageInfo_LogDescriptor proto.InternalMessageInfo - -func (m *LogDescriptor) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *LogDescriptor) GetLabels() []*label.LabelDescriptor { - if m != nil { - return m.Labels - } - return nil -} - -func (m *LogDescriptor) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *LogDescriptor) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func init() { - proto.RegisterType((*LogDescriptor)(nil), "google.api.LogDescriptor") -} - -func init() { proto.RegisterFile("google/api/log.proto", fileDescriptor_6010a88b9216062d) } - -var fileDescriptor_6010a88b9216062d = []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, - 0x7b, 0xf4, 0x64, 0x51, 0x44, 0x08, 0x12, 0x7a, 0xf4, 0x22, 0xd3, 0x74, 0x1c, 0x46, 0x36, 0x3b, - 0xcb, 0x6e, 0x11, 0x7c, 0x18, 0x2f, 0x3e, 0xa9, 0x74, 0x13, 0x68, 0x7a, 0xdb, 0xfd, 0xe6, 0x9b, - 0x7f, 0x66, 0xd4, 0x25, 0x89, 0x90, 0xc5, 0x0a, 0x3c, 0x57, 0x56, 0xc8, 0xf8, 0x20, 0x3b, 0xd1, - 0xaa, 0xa7, 0x06, 0x3c, 0x5f, 0x5f, 0x8d, 0x0d, 0xd8, 0xa0, 0xed, 0x9d, 0xbb, 0xdf, 0x4c, 0x9d, - 0xd7, 0x42, 0x4f, 0x18, 0xdb, 0xc0, 0x7e, 0x27, 0x41, 0x6b, 0x95, 0x3b, 0xe8, 0xb0, 0xc8, 0xca, - 0x6c, 0x71, 0xba, 0x4e, 0x6f, 0xbd, 0x54, 0xb3, 0xd4, 0x14, 0x8b, 0x49, 0x39, 0x5d, 0xcc, 0xef, - 0x6f, 0xcc, 0x21, 0xda, 0xd4, 0xfb, 0xca, 0x21, 0x60, 0x3d, 0xa8, 0xba, 0x54, 0xf3, 0xed, 0x40, - 0x59, 0x5c, 0x31, 0x4d, 0x79, 0x63, 0xa4, 0x6f, 0xd5, 0xd9, 0x96, 0xa3, 0xb7, 0xf0, 0xf3, 0x91, - 0x46, 0xe6, 0x83, 0xd2, 0xb3, 0x37, 0xe8, 0x70, 0xf5, 0xa5, 0x2e, 0x5a, 0xe9, 0x46, 0xe3, 0x56, - 0x27, 0xb5, 0x50, 0xb3, 0xdf, 0xbd, 0xc9, 0xde, 0x9f, 0x07, 0x4e, 0x62, 0xc1, 0x91, 0x91, 0x40, - 0x15, 0xa1, 0x4b, 0x97, 0x55, 0x7d, 0x09, 0x3c, 0xc7, 0x74, 0x74, 0xc4, 0xf0, 0xcd, 0x2d, 0xb6, - 0xe2, 0x3e, 0x99, 0x1e, 0x8e, 0x7e, 0x7f, 0x93, 0xfc, 0xe5, 0xb1, 0x79, 0xdd, 0xcc, 0x52, 0xe3, - 0xf2, 0x3f, 0x00, 0x00, 0xff, 0xff, 0x25, 0x6c, 0x32, 0xff, 0x4e, 0x01, 0x00, 0x00, -} 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 deleted file mode 100644 index 1d81b477..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/logging.pb.go +++ /dev/null @@ -1,189 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/logging.proto - -package serviceconfig - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Logging configuration of the service. -// -// The following example shows how to configure logs to be sent to the -// producer and consumer projects. In the example, the `activity_history` -// log is sent to both the producer and consumer projects, whereas the -// `purchase_history` log is only sent to the producer project. -// -// monitored_resources: -// - type: library.googleapis.com/branch -// labels: -// - key: /city -// description: The city where the library branch is located in. -// - key: /name -// description: The name of the branch. -// logs: -// - name: activity_history -// labels: -// - key: /customer_id -// - name: purchase_history -// logging: -// producer_destinations: -// - monitored_resource: library.googleapis.com/branch -// logs: -// - activity_history -// - purchase_history -// consumer_destinations: -// - monitored_resource: library.googleapis.com/branch -// logs: -// - activity_history -type Logging struct { - // Logging configurations for sending logs to the producer project. - // There can be multiple producer destinations, each one must have a - // different monitored resource type. A log can be used in at most - // one producer destination. - ProducerDestinations []*Logging_LoggingDestination `protobuf:"bytes,1,rep,name=producer_destinations,json=producerDestinations,proto3" json:"producer_destinations,omitempty"` - // Logging configurations for sending logs to the consumer project. - // There can be multiple consumer destinations, each one must have a - // different monitored resource type. A log can be used in at most - // one consumer destination. - ConsumerDestinations []*Logging_LoggingDestination `protobuf:"bytes,2,rep,name=consumer_destinations,json=consumerDestinations,proto3" json:"consumer_destinations,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9505b080db6dcefe, []int{0} -} - -func (m *Logging) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Logging.Unmarshal(m, b) -} -func (m *Logging) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Logging.Marshal(b, m, deterministic) -} -func (m *Logging) XXX_Merge(src proto.Message) { - xxx_messageInfo_Logging.Merge(m, src) -} -func (m *Logging) XXX_Size() int { - return xxx_messageInfo_Logging.Size(m) -} -func (m *Logging) XXX_DiscardUnknown() { - xxx_messageInfo_Logging.DiscardUnknown(m) -} - -var xxx_messageInfo_Logging proto.InternalMessageInfo - -func (m *Logging) GetProducerDestinations() []*Logging_LoggingDestination { - if m != nil { - return m.ProducerDestinations - } - return nil -} - -func (m *Logging) GetConsumerDestinations() []*Logging_LoggingDestination { - if m != nil { - return m.ConsumerDestinations - } - return nil -} - -// Configuration of a specific logging destination (the producer project -// or the consumer project). -type Logging_LoggingDestination struct { - // The monitored resource type. The type must be defined in the - // [Service.monitored_resources][google.api.Service.monitored_resources] section. - MonitoredResource string `protobuf:"bytes,3,opt,name=monitored_resource,json=monitoredResource,proto3" json:"monitored_resource,omitempty"` - // Names of the logs to be sent to this destination. Each name must - // be defined in the [Service.logs][google.api.Service.logs] section. If the log name is - // not a domain scoped name, it will be automatically prefixed with - // the service name followed by "/". - Logs []string `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Logging_LoggingDestination) Reset() { *m = Logging_LoggingDestination{} } -func (m *Logging_LoggingDestination) String() string { return proto.CompactTextString(m) } -func (*Logging_LoggingDestination) ProtoMessage() {} -func (*Logging_LoggingDestination) Descriptor() ([]byte, []int) { - return fileDescriptor_9505b080db6dcefe, []int{0, 0} -} - -func (m *Logging_LoggingDestination) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Logging_LoggingDestination.Unmarshal(m, b) -} -func (m *Logging_LoggingDestination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Logging_LoggingDestination.Marshal(b, m, deterministic) -} -func (m *Logging_LoggingDestination) XXX_Merge(src proto.Message) { - xxx_messageInfo_Logging_LoggingDestination.Merge(m, src) -} -func (m *Logging_LoggingDestination) XXX_Size() int { - return xxx_messageInfo_Logging_LoggingDestination.Size(m) -} -func (m *Logging_LoggingDestination) XXX_DiscardUnknown() { - xxx_messageInfo_Logging_LoggingDestination.DiscardUnknown(m) -} - -var xxx_messageInfo_Logging_LoggingDestination proto.InternalMessageInfo - -func (m *Logging_LoggingDestination) GetMonitoredResource() string { - if m != nil { - return m.MonitoredResource - } - return "" -} - -func (m *Logging_LoggingDestination) GetLogs() []string { - if m != nil { - return m.Logs - } - return nil -} - -func init() { - proto.RegisterType((*Logging)(nil), "google.api.Logging") - proto.RegisterType((*Logging_LoggingDestination)(nil), "google.api.Logging.LoggingDestination") -} - -func init() { proto.RegisterFile("google/api/logging.proto", fileDescriptor_9505b080db6dcefe) } - -var fileDescriptor_9505b080db6dcefe = []byte{ - // 260 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x91, 0x4d, 0x4b, 0xc4, 0x30, - 0x10, 0x86, 0x69, 0x77, 0x51, 0x36, 0x8a, 0x60, 0x50, 0x28, 0x9e, 0x16, 0x0f, 0xb2, 0x17, 0x53, - 0xd0, 0xa3, 0x27, 0x17, 0x45, 0x04, 0x0f, 0xa5, 0x17, 0x41, 0x0f, 0x4b, 0x4c, 0xe3, 0x30, 0xd0, - 0xce, 0x84, 0xa4, 0xf5, 0xd7, 0x78, 0xf2, 0x97, 0xca, 0xf6, 0xc3, 0x56, 0x3d, 0xed, 0x29, 0x1f, - 0xcf, 0xbc, 0x4f, 0x92, 0x89, 0x48, 0x80, 0x19, 0x4a, 0x9b, 0x6a, 0x87, 0x69, 0xc9, 0x00, 0x48, - 0xa0, 0x9c, 0xe7, 0x9a, 0xa5, 0xe8, 0x88, 0xd2, 0x0e, 0xcf, 0x3f, 0x63, 0xb1, 0xff, 0xd4, 0x51, - 0xf9, 0x2a, 0x4e, 0x9d, 0xe7, 0xa2, 0x31, 0xd6, 0x6f, 0x0a, 0x1b, 0x6a, 0x24, 0x5d, 0x23, 0x53, - 0x48, 0xa2, 0xe5, 0x6c, 0x75, 0x70, 0x75, 0xa1, 0xc6, 0x9c, 0xea, 0x33, 0xc3, 0x78, 0x37, 0x96, - 0xe7, 0x27, 0x83, 0x64, 0xb2, 0x19, 0xb6, 0x72, 0xc3, 0x14, 0x9a, 0xea, 0xaf, 0x3c, 0xde, 0x4d, - 0x3e, 0x48, 0xa6, 0xf2, 0xb3, 0x67, 0x21, 0xff, 0xd7, 0xca, 0x4b, 0x21, 0x2b, 0x26, 0xac, 0xd9, - 0xdb, 0x62, 0xe3, 0x6d, 0xe0, 0xc6, 0x1b, 0x9b, 0xcc, 0x96, 0xd1, 0x6a, 0x91, 0x1f, 0xff, 0x90, - 0xbc, 0x07, 0x52, 0x8a, 0x79, 0xc9, 0xd0, 0xbd, 0x76, 0x91, 0xb7, 0xf3, 0x35, 0x89, 0x23, 0xc3, - 0xd5, 0xe4, 0x6e, 0xeb, 0xc3, 0xfe, 0xa0, 0x6c, 0xdb, 0xca, 0x2c, 0x7a, 0xb9, 0xef, 0x19, 0x70, - 0xa9, 0x09, 0x14, 0x7b, 0x48, 0xc1, 0x52, 0xdb, 0xe8, 0xb4, 0x43, 0xda, 0x61, 0x68, 0x7f, 0x21, - 0x58, 0xff, 0x81, 0xc6, 0x1a, 0xa6, 0x77, 0x84, 0x9b, 0x5f, 0xab, 0xaf, 0x78, 0xfe, 0x70, 0x9b, - 0x3d, 0xbe, 0xed, 0xb5, 0xc1, 0xeb, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf7, 0x84, 0x9b, 0x80, - 0xbd, 0x01, 0x00, 0x00, -} 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 deleted file mode 100644 index fe74ef96..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/monitoring.pb.go +++ /dev/null @@ -1,199 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/monitoring.proto - -package serviceconfig - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Monitoring configuration of the service. -// -// The example below shows how to configure monitored resources and metrics -// for monitoring. In the example, a monitored resource and two metrics are -// defined. The `library.googleapis.com/book/returned_count` metric is sent -// to both producer and consumer projects, whereas the -// `library.googleapis.com/book/overdue_count` metric is only sent to the -// consumer project. -// -// monitored_resources: -// - type: library.googleapis.com/branch -// labels: -// - key: /city -// description: The city where the library branch is located in. -// - key: /name -// description: The name of the branch. -// metrics: -// - name: library.googleapis.com/book/returned_count -// metric_kind: DELTA -// value_type: INT64 -// labels: -// - key: /customer_id -// - name: library.googleapis.com/book/overdue_count -// metric_kind: GAUGE -// value_type: INT64 -// labels: -// - key: /customer_id -// monitoring: -// producer_destinations: -// - monitored_resource: library.googleapis.com/branch -// metrics: -// - library.googleapis.com/book/returned_count -// consumer_destinations: -// - monitored_resource: library.googleapis.com/branch -// metrics: -// - library.googleapis.com/book/returned_count -// - library.googleapis.com/book/overdue_count -type Monitoring struct { - // Monitoring configurations for sending metrics to the producer project. - // There can be multiple producer destinations. A monitored resouce type may - // appear in multiple monitoring destinations if different aggregations are - // needed for different sets of metrics associated with that monitored - // resource type. A monitored resource and metric pair may only be used once - // in the Monitoring configuration. - ProducerDestinations []*Monitoring_MonitoringDestination `protobuf:"bytes,1,rep,name=producer_destinations,json=producerDestinations,proto3" json:"producer_destinations,omitempty"` - // Monitoring configurations for sending metrics to the consumer project. - // There can be multiple consumer destinations. A monitored resouce type may - // appear in multiple monitoring destinations if different aggregations are - // needed for different sets of metrics associated with that monitored - // resource type. A monitored resource and metric pair may only be used once - // in the Monitoring configuration. - ConsumerDestinations []*Monitoring_MonitoringDestination `protobuf:"bytes,2,rep,name=consumer_destinations,json=consumerDestinations,proto3" json:"consumer_destinations,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_6e2076230a37a7e3, []int{0} -} - -func (m *Monitoring) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Monitoring.Unmarshal(m, b) -} -func (m *Monitoring) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Monitoring.Marshal(b, m, deterministic) -} -func (m *Monitoring) XXX_Merge(src proto.Message) { - xxx_messageInfo_Monitoring.Merge(m, src) -} -func (m *Monitoring) XXX_Size() int { - return xxx_messageInfo_Monitoring.Size(m) -} -func (m *Monitoring) XXX_DiscardUnknown() { - xxx_messageInfo_Monitoring.DiscardUnknown(m) -} - -var xxx_messageInfo_Monitoring proto.InternalMessageInfo - -func (m *Monitoring) GetProducerDestinations() []*Monitoring_MonitoringDestination { - if m != nil { - return m.ProducerDestinations - } - return nil -} - -func (m *Monitoring) GetConsumerDestinations() []*Monitoring_MonitoringDestination { - if m != nil { - return m.ConsumerDestinations - } - return nil -} - -// Configuration of a specific monitoring destination (the producer project -// or the consumer project). -type Monitoring_MonitoringDestination struct { - // The monitored resource type. The type must be defined in - // [Service.monitored_resources][google.api.Service.monitored_resources] section. - MonitoredResource string `protobuf:"bytes,1,opt,name=monitored_resource,json=monitoredResource,proto3" json:"monitored_resource,omitempty"` - // Types of the metrics to report to this monitoring destination. - // Each type must be defined in [Service.metrics][google.api.Service.metrics] section. - Metrics []string `protobuf:"bytes,2,rep,name=metrics,proto3" json:"metrics,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Monitoring_MonitoringDestination) Reset() { *m = Monitoring_MonitoringDestination{} } -func (m *Monitoring_MonitoringDestination) String() string { return proto.CompactTextString(m) } -func (*Monitoring_MonitoringDestination) ProtoMessage() {} -func (*Monitoring_MonitoringDestination) Descriptor() ([]byte, []int) { - return fileDescriptor_6e2076230a37a7e3, []int{0, 0} -} - -func (m *Monitoring_MonitoringDestination) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Monitoring_MonitoringDestination.Unmarshal(m, b) -} -func (m *Monitoring_MonitoringDestination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Monitoring_MonitoringDestination.Marshal(b, m, deterministic) -} -func (m *Monitoring_MonitoringDestination) XXX_Merge(src proto.Message) { - xxx_messageInfo_Monitoring_MonitoringDestination.Merge(m, src) -} -func (m *Monitoring_MonitoringDestination) XXX_Size() int { - return xxx_messageInfo_Monitoring_MonitoringDestination.Size(m) -} -func (m *Monitoring_MonitoringDestination) XXX_DiscardUnknown() { - xxx_messageInfo_Monitoring_MonitoringDestination.DiscardUnknown(m) -} - -var xxx_messageInfo_Monitoring_MonitoringDestination proto.InternalMessageInfo - -func (m *Monitoring_MonitoringDestination) GetMonitoredResource() string { - if m != nil { - return m.MonitoredResource - } - return "" -} - -func (m *Monitoring_MonitoringDestination) GetMetrics() []string { - if m != nil { - return m.Metrics - } - return nil -} - -func init() { - proto.RegisterType((*Monitoring)(nil), "google.api.Monitoring") - proto.RegisterType((*Monitoring_MonitoringDestination)(nil), "google.api.Monitoring.MonitoringDestination") -} - -func init() { proto.RegisterFile("google/api/monitoring.proto", fileDescriptor_6e2076230a37a7e3) } - -var fileDescriptor_6e2076230a37a7e3 = []byte{ - // 263 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x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 0x43, 0x43, 0xd5, 0x68, 0xd5, 0xe5, 0xd1, 0x40, 0xcc, 0x37, 0x57, 0xce, 0x93, 0xe7, 0xfb, - 0x4e, 0xb6, 0xb4, 0xd6, 0xce, 0x2a, 0x62, 0x9b, 0x59, 0x70, 0x4d, 0x06, 0x59, 0x2b, 0x69, 0x8f, - 0xa1, 0xc9, 0x28, 0x00, 0x7f, 0xa0, 0x01, 0x43, 0xee, 0x0d, 0xed, 0xcd, 0x8f, 0xea, 0x73, 0xb2, - 0xfb, 0x70, 0x9b, 0x3f, 0xbe, 0xee, 0x35, 0xc6, 0xeb, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb1, - 0x9a, 0xd5, 0x79, 0xdb, 0x01, 0x00, 0x00, -} 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 deleted file mode 100644 index ca0ba5eb..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/quota.pb.go +++ /dev/null @@ -1,399 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/quota.proto - -package serviceconfig - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Quota configuration helps to achieve fairness and budgeting in service -// usage. -// -// The metric based quota configuration works this way: -// - The service configuration defines a set of metrics. -// - For API calls, the quota.metric_rules maps methods to metrics with -// corresponding costs. -// - The quota.limits defines limits on the metrics, which will be used for -// quota checks at runtime. -// -// An example quota configuration in yaml format: -// -// quota: -// limits: -// -// - name: apiWriteQpsPerProject -// metric: library.googleapis.com/write_calls -// unit: "1/min/{project}" # rate limit for consumer projects -// values: -// STANDARD: 10000 -// -// -// # The metric rules bind all methods to the read_calls metric, -// # except for the UpdateBook and DeleteBook methods. These two methods -// # are mapped to the write_calls metric, with the UpdateBook method -// # consuming at twice rate as the DeleteBook method. -// metric_rules: -// - selector: "*" -// metric_costs: -// library.googleapis.com/read_calls: 1 -// - selector: google.example.library.v1.LibraryService.UpdateBook -// metric_costs: -// library.googleapis.com/write_calls: 2 -// - selector: google.example.library.v1.LibraryService.DeleteBook -// metric_costs: -// library.googleapis.com/write_calls: 1 -// -// Corresponding Metric definition: -// -// metrics: -// - name: library.googleapis.com/read_calls -// display_name: Read requests -// metric_kind: DELTA -// value_type: INT64 -// -// - name: library.googleapis.com/write_calls -// display_name: Write requests -// metric_kind: DELTA -// value_type: INT64 -// -// -type Quota struct { - // List of `QuotaLimit` definitions for the service. - Limits []*QuotaLimit `protobuf:"bytes,3,rep,name=limits,proto3" json:"limits,omitempty"` - // List of `MetricRule` definitions, each one mapping a selected method to one - // or more metrics. - MetricRules []*MetricRule `protobuf:"bytes,4,rep,name=metric_rules,json=metricRules,proto3" json:"metric_rules,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_6822ef0454b3845a, []int{0} -} - -func (m *Quota) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Quota.Unmarshal(m, b) -} -func (m *Quota) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Quota.Marshal(b, m, deterministic) -} -func (m *Quota) XXX_Merge(src proto.Message) { - xxx_messageInfo_Quota.Merge(m, src) -} -func (m *Quota) XXX_Size() int { - return xxx_messageInfo_Quota.Size(m) -} -func (m *Quota) XXX_DiscardUnknown() { - xxx_messageInfo_Quota.DiscardUnknown(m) -} - -var xxx_messageInfo_Quota proto.InternalMessageInfo - -func (m *Quota) GetLimits() []*QuotaLimit { - if m != nil { - return m.Limits - } - return nil -} - -func (m *Quota) GetMetricRules() []*MetricRule { - if m != nil { - return m.MetricRules - } - return nil -} - -// Bind API methods to metrics. Binding a method to a metric causes that -// metric's configured quota behaviors to apply to the method call. -type MetricRule struct { - // Selects the methods to which this rule applies. - // - // Refer to [selector][google.api.DocumentationRule.selector] for syntax details. - Selector string `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"` - // Metrics to update when the selected methods are called, and the associated - // cost applied to each metric. - // - // The key of the map is the metric name, and the values are the amount - // increased for the metric against which the quota limits are defined. - // The value must not be negative. - MetricCosts map[string]int64 `protobuf:"bytes,2,rep,name=metric_costs,json=metricCosts,proto3" json:"metric_costs,omitempty" protobuf_key:"bytes,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 *MetricRule) Reset() { *m = MetricRule{} } -func (m *MetricRule) String() string { return proto.CompactTextString(m) } -func (*MetricRule) ProtoMessage() {} -func (*MetricRule) Descriptor() ([]byte, []int) { - return fileDescriptor_6822ef0454b3845a, []int{1} -} - -func (m *MetricRule) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MetricRule.Unmarshal(m, b) -} -func (m *MetricRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MetricRule.Marshal(b, m, deterministic) -} -func (m *MetricRule) XXX_Merge(src proto.Message) { - xxx_messageInfo_MetricRule.Merge(m, src) -} -func (m *MetricRule) XXX_Size() int { - return xxx_messageInfo_MetricRule.Size(m) -} -func (m *MetricRule) XXX_DiscardUnknown() { - xxx_messageInfo_MetricRule.DiscardUnknown(m) -} - -var xxx_messageInfo_MetricRule proto.InternalMessageInfo - -func (m *MetricRule) GetSelector() string { - if m != nil { - return m.Selector - } - return "" -} - -func (m *MetricRule) GetMetricCosts() map[string]int64 { - if m != nil { - return m.MetricCosts - } - return nil -} - -// `QuotaLimit` defines a specific limit that applies over a specified duration -// for a limit type. There can be at most one limit for a duration and limit -// type combination defined within a `QuotaGroup`. -type QuotaLimit struct { - // Name of the quota limit. - // - // The name must be provided, and it must be unique within the service. The - // name can only include alphanumeric characters as well as '-'. - // - // The maximum length of the limit name is 64 characters. - Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` - // Optional. User-visible, extended description for this quota limit. - // Should be used only when more context is needed to understand this limit - // than provided by the limit's display name (see: `display_name`). - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - // Default number of tokens that can be consumed during the specified - // duration. This is the number of tokens assigned when a client - // application developer activates the service for his/her project. - // - // Specifying a value of 0 will block all requests. This can be used if you - // are provisioning quota to selected consumers and blocking others. - // Similarly, a value of -1 will indicate an unlimited quota. No other - // negative values are allowed. - // - // Used by group-based quotas only. - DefaultLimit int64 `protobuf:"varint,3,opt,name=default_limit,json=defaultLimit,proto3" json:"default_limit,omitempty"` - // Maximum number of tokens that can be consumed during the specified - // duration. Client application developers can override the default limit up - // to this maximum. If specified, this value cannot be set to a value less - // than the default limit. If not specified, it is set to the default limit. - // - // To allow clients to apply overrides with no upper bound, set this to -1, - // indicating unlimited maximum quota. - // - // Used by group-based quotas only. - MaxLimit int64 `protobuf:"varint,4,opt,name=max_limit,json=maxLimit,proto3" json:"max_limit,omitempty"` - // Free tier value displayed in the Developers Console for this limit. - // The free tier is the number of tokens that will be subtracted from the - // billed amount when billing is enabled. - // This field can only be set on a limit with duration "1d", in a billable - // group; it is invalid on any other limit. If this field is not set, it - // defaults to 0, indicating that there is no free tier for this service. - // - // Used by group-based quotas only. - FreeTier int64 `protobuf:"varint,7,opt,name=free_tier,json=freeTier,proto3" json:"free_tier,omitempty"` - // Duration of this limit in textual notation. Example: "100s", "24h", "1d". - // For duration longer than a day, only multiple of days is supported. We - // support only "100s" and "1d" for now. Additional support will be added in - // the future. "0" indicates indefinite duration. - // - // Used by group-based quotas only. - Duration string `protobuf:"bytes,5,opt,name=duration,proto3" json:"duration,omitempty"` - // The name of the metric this quota limit applies to. The quota limits with - // the same metric will be checked together during runtime. The metric must be - // defined within the service config. - Metric string `protobuf:"bytes,8,opt,name=metric,proto3" json:"metric,omitempty"` - // Specify the unit of the quota limit. It uses the same syntax as - // [Metric.unit][]. The supported unit kinds are determined by the quota - // backend system. - // - // Here are some examples: - // * "1/min/{project}" for quota per minute per project. - // - // Note: the order of unit components is insignificant. - // The "1" at the beginning is required to follow the metric unit syntax. - Unit string `protobuf:"bytes,9,opt,name=unit,proto3" json:"unit,omitempty"` - // Tiered limit values. You must specify this as a key:value pair, with an - // integer value that is the maximum number of requests allowed for the - // specified unit. Currently only STANDARD is supported. - Values map[string]int64 `protobuf:"bytes,10,rep,name=values,proto3" json:"values,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - // User-visible display name for this limit. - // Optional. If not set, the UI will provide a default display name based on - // the quota configuration. This field can be used to override the default - // display name generated from the configuration. - DisplayName string `protobuf:"bytes,12,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 *QuotaLimit) Reset() { *m = QuotaLimit{} } -func (m *QuotaLimit) String() string { return proto.CompactTextString(m) } -func (*QuotaLimit) ProtoMessage() {} -func (*QuotaLimit) Descriptor() ([]byte, []int) { - return fileDescriptor_6822ef0454b3845a, []int{2} -} - -func (m *QuotaLimit) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QuotaLimit.Unmarshal(m, b) -} -func (m *QuotaLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QuotaLimit.Marshal(b, m, deterministic) -} -func (m *QuotaLimit) XXX_Merge(src proto.Message) { - xxx_messageInfo_QuotaLimit.Merge(m, src) -} -func (m *QuotaLimit) XXX_Size() int { - return xxx_messageInfo_QuotaLimit.Size(m) -} -func (m *QuotaLimit) XXX_DiscardUnknown() { - xxx_messageInfo_QuotaLimit.DiscardUnknown(m) -} - -var xxx_messageInfo_QuotaLimit proto.InternalMessageInfo - -func (m *QuotaLimit) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *QuotaLimit) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *QuotaLimit) GetDefaultLimit() int64 { - if m != nil { - return m.DefaultLimit - } - return 0 -} - -func (m *QuotaLimit) GetMaxLimit() int64 { - if m != nil { - return m.MaxLimit - } - return 0 -} - -func (m *QuotaLimit) GetFreeTier() int64 { - if m != nil { - return m.FreeTier - } - return 0 -} - -func (m *QuotaLimit) GetDuration() string { - if m != nil { - return m.Duration - } - return "" -} - -func (m *QuotaLimit) GetMetric() string { - if m != nil { - return m.Metric - } - return "" -} - -func (m *QuotaLimit) GetUnit() string { - if m != nil { - return m.Unit - } - return "" -} - -func (m *QuotaLimit) GetValues() map[string]int64 { - if m != nil { - return m.Values - } - return nil -} - -func (m *QuotaLimit) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func init() { - proto.RegisterType((*Quota)(nil), "google.api.Quota") - proto.RegisterType((*MetricRule)(nil), "google.api.MetricRule") - proto.RegisterMapType((map[string]int64)(nil), "google.api.MetricRule.MetricCostsEntry") - proto.RegisterType((*QuotaLimit)(nil), "google.api.QuotaLimit") - proto.RegisterMapType((map[string]int64)(nil), "google.api.QuotaLimit.ValuesEntry") -} - -func init() { proto.RegisterFile("google/api/quota.proto", fileDescriptor_6822ef0454b3845a) } - -var fileDescriptor_6822ef0454b3845a = []byte{ - // 453 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0xc1, 0x8e, 0xd3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, 0x57, 0xea, 0xfa, 0xe8, - 0x73, 0x2e, 0xc2, 0xa3, 0xac, 0xfc, 0x6a, 0xaf, 0x92, 0x2f, 0x97, 0x91, 0xa9, 0xb4, 0x12, 0x4d, - 0x95, 0x6b, 0x53, 0x2d, 0x2b, 0x6c, 0x68, 0xf1, 0x97, 0x81, 0x12, 0xad, 0xb4, 0xf4, 0x4f, 0x58, - 0x34, 0x57, 0xb2, 0xc4, 0x52, 0x37, 0x5b, 0x59, 0x3d, 0xff, 0xa3, 0xfb, 0xd9, 0xeb, 0xbf, 0x7e, - 0xb9, 0x7a, 0xf3, 0x35, 0xa3, 0xc1, 0xa7, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x00, 0x7a, 0xae, - 0xf6, 0x4b, 0x03, 0x00, 0x00, -} 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 deleted file mode 100644 index 690cabd6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/service.pb.go +++ /dev/null @@ -1,397 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/service.proto - -package serviceconfig - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/any" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - annotations "google.golang.org/genproto/googleapis/api/annotations" - _ "google.golang.org/genproto/googleapis/api/label" - metric "google.golang.org/genproto/googleapis/api/metric" - monitoredres "google.golang.org/genproto/googleapis/api/monitoredres" - api "google.golang.org/genproto/protobuf/api" - ptype "google.golang.org/genproto/protobuf/ptype" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// `Service` is the root object of Google service configuration schema. It -// describes basic information about a service, such as the name and the -// title, and delegates other aspects to sub-sections. Each sub-section is -// either a proto message or a repeated proto message that configures a -// specific aspect, such as auth. See each proto message definition for details. -// -// Example: -// -// type: google.api.Service -// config_version: 3 -// name: calendar.googleapis.com -// title: Google Calendar API -// apis: -// - name: google.calendar.v3.Calendar -// authentication: -// providers: -// - id: google_calendar_auth -// jwks_uri: https://www.googleapis.com/oauth2/v1/certs -// issuer: https://securetoken.google.com -// rules: -// - selector: "*" -// requirements: -// provider_id: google_calendar_auth -type Service struct { - // The semantic version of the service configuration. The config version - // affects the interpretation of the service configuration. For example, - // certain features are enabled by default for certain config versions. - // The latest config version is `3`. - ConfigVersion *wrappers.UInt32Value `protobuf:"bytes,20,opt,name=config_version,json=configVersion,proto3" json:"config_version,omitempty"` - // The service name, which is a DNS-like logical identifier for the - // service, such as `calendar.googleapis.com`. The service name - // typically goes through DNS verification to make sure the owner - // of the service also owns the DNS name. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // A unique ID for a specific instance of this message, typically assigned - // by the client for tracking purpose. If empty, the server may choose to - // generate one instead. Must be no longer than 60 characters. - Id string `protobuf:"bytes,33,opt,name=id,proto3" json:"id,omitempty"` - // The product title for this service. - Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` - // The Google project that owns this service. - ProducerProjectId string `protobuf:"bytes,22,opt,name=producer_project_id,json=producerProjectId,proto3" json:"producer_project_id,omitempty"` - // A list of API interfaces exported by this service. Only the `name` field - // of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration - // author, as the remaining fields will be derived from the IDL during the - // normalization process. It is an error to specify an API interface here - // which cannot be resolved against the associated IDL files. - Apis []*api.Api `protobuf:"bytes,3,rep,name=apis,proto3" json:"apis,omitempty"` - // A list of all proto message types included in this API service. - // Types referenced directly or indirectly by the `apis` are - // automatically included. Messages which are not referenced but - // shall be included, such as types used by the `google.protobuf.Any` type, - // should be listed here by name. Example: - // - // types: - // - name: google.protobuf.Int32 - Types []*ptype.Type `protobuf:"bytes,4,rep,name=types,proto3" json:"types,omitempty"` - // A list of all enum types included in this API service. Enums - // referenced directly or indirectly by the `apis` are automatically - // included. Enums which are not referenced but shall be included - // should be listed here by name. Example: - // - // enums: - // - name: google.someapi.v1.SomeEnum - Enums []*ptype.Enum `protobuf:"bytes,5,rep,name=enums,proto3" json:"enums,omitempty"` - // Additional API documentation. - Documentation *Documentation `protobuf:"bytes,6,opt,name=documentation,proto3" json:"documentation,omitempty"` - // API backend configuration. - Backend *Backend `protobuf:"bytes,8,opt,name=backend,proto3" json:"backend,omitempty"` - // HTTP configuration. - Http *annotations.Http `protobuf:"bytes,9,opt,name=http,proto3" json:"http,omitempty"` - // Quota configuration. - Quota *Quota `protobuf:"bytes,10,opt,name=quota,proto3" json:"quota,omitempty"` - // Auth configuration. - Authentication *Authentication `protobuf:"bytes,11,opt,name=authentication,proto3" json:"authentication,omitempty"` - // Context configuration. - Context *Context `protobuf:"bytes,12,opt,name=context,proto3" json:"context,omitempty"` - // Configuration controlling usage of this service. - Usage *Usage `protobuf:"bytes,15,opt,name=usage,proto3" json:"usage,omitempty"` - // Configuration for network endpoints. If this is empty, then an endpoint - // with the same name as the service is automatically generated to service all - // defined APIs. - Endpoints []*Endpoint `protobuf:"bytes,18,rep,name=endpoints,proto3" json:"endpoints,omitempty"` - // Configuration for the service control plane. - Control *Control `protobuf:"bytes,21,opt,name=control,proto3" json:"control,omitempty"` - // Defines the logs used by this service. - Logs []*LogDescriptor `protobuf:"bytes,23,rep,name=logs,proto3" json:"logs,omitempty"` - // Defines the metrics used by this service. - Metrics []*metric.MetricDescriptor `protobuf:"bytes,24,rep,name=metrics,proto3" json:"metrics,omitempty"` - // Defines the monitored resources used by this service. This is required - // by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations. - MonitoredResources []*monitoredres.MonitoredResourceDescriptor `protobuf:"bytes,25,rep,name=monitored_resources,json=monitoredResources,proto3" json:"monitored_resources,omitempty"` - // Billing configuration. - Billing *Billing `protobuf:"bytes,26,opt,name=billing,proto3" json:"billing,omitempty"` - // Logging configuration. - Logging *Logging `protobuf:"bytes,27,opt,name=logging,proto3" json:"logging,omitempty"` - // Monitoring configuration. - Monitoring *Monitoring `protobuf:"bytes,28,opt,name=monitoring,proto3" json:"monitoring,omitempty"` - // System parameter configuration. - SystemParameters *SystemParameters `protobuf:"bytes,29,opt,name=system_parameters,json=systemParameters,proto3" json:"system_parameters,omitempty"` - // Output only. The source information for this configuration if available. - SourceInfo *SourceInfo `protobuf:"bytes,37,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 *Service) Reset() { *m = Service{} } -func (m *Service) String() string { return proto.CompactTextString(m) } -func (*Service) ProtoMessage() {} -func (*Service) Descriptor() ([]byte, []int) { - return fileDescriptor_d556deeebe545813, []int{0} -} - -func (m *Service) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Service.Unmarshal(m, b) -} -func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Service.Marshal(b, m, deterministic) -} -func (m *Service) XXX_Merge(src proto.Message) { - xxx_messageInfo_Service.Merge(m, src) -} -func (m *Service) XXX_Size() int { - return xxx_messageInfo_Service.Size(m) -} -func (m *Service) XXX_DiscardUnknown() { - xxx_messageInfo_Service.DiscardUnknown(m) -} - -var xxx_messageInfo_Service proto.InternalMessageInfo - -func (m *Service) GetConfigVersion() *wrappers.UInt32Value { - if m != nil { - return m.ConfigVersion - } - return nil -} - -func (m *Service) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Service) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *Service) GetTitle() string { - if m != nil { - return m.Title - } - return "" -} - -func (m *Service) GetProducerProjectId() string { - if m != nil { - return m.ProducerProjectId - } - return "" -} - -func (m *Service) GetApis() []*api.Api { - if m != nil { - return m.Apis - } - return nil -} - -func (m *Service) GetTypes() []*ptype.Type { - if m != nil { - return m.Types - } - return nil -} - -func (m *Service) GetEnums() []*ptype.Enum { - if m != nil { - return m.Enums - } - return nil -} - -func (m *Service) GetDocumentation() *Documentation { - if m != nil { - return m.Documentation - } - return nil -} - -func (m *Service) GetBackend() *Backend { - if m != nil { - return m.Backend - } - return nil -} - -func (m *Service) GetHttp() *annotations.Http { - if m != nil { - return m.Http - } - return nil -} - -func (m *Service) GetQuota() *Quota { - if m != nil { - return m.Quota - } - return nil -} - -func (m *Service) GetAuthentication() *Authentication { - if m != nil { - return m.Authentication - } - return nil -} - -func (m *Service) GetContext() *Context { - if m != nil { - return m.Context - } - return nil -} - -func (m *Service) GetUsage() *Usage { - if m != nil { - return m.Usage - } - return nil -} - -func (m *Service) GetEndpoints() []*Endpoint { - if m != nil { - return m.Endpoints - } - return nil -} - -func (m *Service) GetControl() *Control { - if m != nil { - return m.Control - } - return nil -} - -func (m *Service) GetLogs() []*LogDescriptor { - if m != nil { - return m.Logs - } - return nil -} - -func (m *Service) GetMetrics() []*metric.MetricDescriptor { - if m != nil { - return m.Metrics - } - return nil -} - -func (m *Service) GetMonitoredResources() []*monitoredres.MonitoredResourceDescriptor { - if m != nil { - return m.MonitoredResources - } - return nil -} - -func (m *Service) GetBilling() *Billing { - if m != nil { - return m.Billing - } - return nil -} - -func (m *Service) GetLogging() *Logging { - if m != nil { - return m.Logging - } - return nil -} - -func (m *Service) GetMonitoring() *Monitoring { - if m != nil { - return m.Monitoring - } - return nil -} - -func (m *Service) GetSystemParameters() *SystemParameters { - if m != nil { - return m.SystemParameters - } - return nil -} - -func (m *Service) GetSourceInfo() *SourceInfo { - if m != nil { - return m.SourceInfo - } - return nil -} - -func init() { - proto.RegisterType((*Service)(nil), "google.api.Service") -} - -func init() { proto.RegisterFile("google/api/service.proto", fileDescriptor_d556deeebe545813) } - -var fileDescriptor_d556deeebe545813 = []byte{ - // 792 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x95, 0xdd, 0x6e, 0xdb, 0x36, - 0x18, 0x86, 0x61, 0xd7, 0x6e, 0x66, 0xba, 0xcd, 0x1a, 0xc6, 0x49, 0x19, 0xd7, 0x1b, 0xd2, 0xfd, - 0xa0, 0x06, 0x86, 0xca, 0x80, 0x0b, 0x74, 0x07, 0x3b, 0x18, 0xe2, 0x36, 0xd8, 0x0c, 0x64, 0x80, - 0xc7, 0x2c, 0xc1, 0xb0, 0x13, 0x83, 0x96, 0x68, 0x85, 0x9b, 0x44, 0x72, 0x24, 0x95, 0xcd, 0xb7, - 0xb3, 0x7b, 0xda, 0xfd, 0x14, 0x22, 0xa5, 0x98, 0xfa, 0xc9, 0x99, 0xc5, 0xe7, 0xf9, 0xa8, 0x8f, - 0x22, 0xf9, 0x1a, 0xa0, 0x58, 0x88, 0x38, 0xa1, 0x33, 0x22, 0xd9, 0x4c, 0x53, 0x75, 0xcf, 0x42, - 0x1a, 0x48, 0x25, 0x8c, 0x80, 0xc0, 0x91, 0x80, 0x48, 0x36, 0x3e, 0xf1, 0x2c, 0x92, 0x99, 0x3b, - 0xa7, 0x8c, 0xfd, 0xe2, 0x0d, 0x09, 0xff, 0xa2, 0x3c, 0x6a, 0x23, 0x2c, 0x49, 0x18, 0x8f, 0x5b, - 0x48, 0x28, 0xb8, 0xa1, 0xff, 0x9a, 0x47, 0x88, 0x12, 0x49, 0x41, 0xbe, 0xf4, 0x48, 0x24, 0xc2, - 0x2c, 0xa5, 0xdc, 0x10, 0xc3, 0x04, 0x2f, 0xf8, 0x99, 0xc7, 0x29, 0x8f, 0xa4, 0x60, 0xbc, 0x9c, - 0xd4, 0xef, 0xfc, 0xce, 0x18, 0x59, 0x0c, 0x9f, 0x7a, 0xc3, 0x09, 0xd9, 0xd0, 0xf2, 0x4d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x1f, 0x7e, 0x2f, 0x78, 0x9e, 0x65, 0xa9, 0x27, 0x2e, 0x9e, 0x15, 0x31, 0xb7, 0xca, 0xef, - 0xf1, 0xaa, 0xf3, 0xc7, 0x65, 0xc1, 0x62, 0x91, 0x10, 0x1e, 0x07, 0x42, 0xc5, 0xb3, 0x98, 0x72, - 0x7b, 0xcb, 0x67, 0x0e, 0xe5, 0xd9, 0xe1, 0xff, 0x61, 0xbb, 0xa0, 0xfb, 0xa1, 0xf2, 0xf4, 0x5f, - 0xb7, 0xf7, 0xd3, 0xc5, 0x6a, 0xb9, 0x79, 0x6a, 0x0b, 0xdf, 0x7d, 0x0a, 0x00, 0x00, 0xff, 0xff, - 0x78, 0x8a, 0xb2, 0x67, 0xe8, 0x07, 0x00, 0x00, -} 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 deleted file mode 100644 index 1f471412..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/source_info.pb.go +++ /dev/null @@ -1,87 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/source_info.proto - -package serviceconfig - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - any "github.com/golang/protobuf/ptypes/any" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Source information used to create a Service Config -type SourceInfo struct { - // All files used during config generation. - SourceFiles []*any.Any `protobuf:"bytes,1,rep,name=source_files,json=sourceFiles,proto3" json:"source_files,omitempty"` - 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_733a5fd590cc34b8, []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 (m *SourceInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_SourceInfo.Merge(m, 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) GetSourceFiles() []*any.Any { - if m != nil { - return m.SourceFiles - } - return nil -} - -func init() { - proto.RegisterType((*SourceInfo)(nil), "google.api.SourceInfo") -} - -func init() { proto.RegisterFile("google/api/source_info.proto", fileDescriptor_733a5fd590cc34b8) } - -var fileDescriptor_733a5fd590cc34b8 = []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, - 0x4b, 0xcb, 0xd7, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x82, 0xc8, 0xea, 0x25, 0x16, 0x64, - 0x4a, 0x49, 0x42, 0x55, 0x82, 0x65, 0x92, 0x4a, 0xd3, 0xf4, 0x13, 0xf3, 0x2a, 0x21, 0xca, 0x94, - 0x5c, 0xb9, 0xb8, 0x82, 0xc1, 0x7a, 0x3d, 0xf3, 0xd2, 0xf2, 0x85, 0xcc, 0xb9, 0x78, 0xa0, 0x26, - 0xa5, 0x65, 0xe6, 0xa4, 0x16, 0x4b, 0x30, 0x2a, 0x30, 0x6b, 0x70, 0x1b, 0x89, 0xe8, 0x41, 0xcd, - 0x82, 0xe9, 0xd7, 0x73, 0xcc, 0xab, 0x0c, 0xe2, 0x86, 0xa8, 0x74, 0x03, 0x29, 0x74, 0x2a, 0xe4, - 0xe2, 0x4b, 0xce, 0xcf, 0xd5, 0x43, 0xd8, 0xe9, 0xc4, 0x8f, 0x30, 0x36, 0x00, 0xa4, 0x2d, 0x80, - 0x31, 0xca, 0x15, 0x2a, 0x9d, 0x9e, 0x9f, 0x93, 0x98, 0x97, 0xae, 0x97, 0x5f, 0x94, 0xae, 0x9f, - 0x9e, 0x9a, 0x07, 0x36, 0x54, 0x1f, 0x22, 0x95, 0x58, 0x90, 0x59, 0x0c, 0xf1, 0x4f, 0x6a, 0x51, - 0x59, 0x66, 0x72, 0x6a, 0x72, 0x7e, 0x5e, 0x5a, 0x66, 0xba, 0x35, 0x0a, 0x6f, 0x11, 0x13, 0x8b, - 0xbb, 0x63, 0x80, 0x67, 0x12, 0x1b, 0x58, 0xa3, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xd4, 0x78, - 0x5d, 0xab, 0x07, 0x01, 0x00, 0x00, -} 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 deleted file mode 100644 index e79cfe5f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/system_parameter.pb.go +++ /dev/null @@ -1,247 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/system_parameter.proto - -package serviceconfig - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// ### System parameter configuration -// -// A system parameter is a special kind of parameter defined by the API -// system, not by an individual API. It is typically mapped to an HTTP header -// and/or a URL query parameter. This configuration specifies which methods -// change the names of the system parameters. -type SystemParameters struct { - // Define system parameters. - // - // The parameters defined here will override the default parameters - // implemented by the system. If this field is missing from the service - // config, default system parameters will be used. Default system parameters - // and names is implementation-dependent. - // - // Example: define api key for all methods - // - // system_parameters - // rules: - // - selector: "*" - // parameters: - // - name: api_key - // url_query_parameter: api_key - // - // - // Example: define 2 api key names for a specific method. - // - // system_parameters - // rules: - // - selector: "/ListShelves" - // parameters: - // - name: api_key - // http_header: Api-Key1 - // - name: api_key - // http_header: Api-Key2 - // - // **NOTE:** All service configuration rules follow "last one wins" order. - Rules []*SystemParameterRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c69d4a5e03567ede, []int{0} -} - -func (m *SystemParameters) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SystemParameters.Unmarshal(m, b) -} -func (m *SystemParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SystemParameters.Marshal(b, m, deterministic) -} -func (m *SystemParameters) XXX_Merge(src proto.Message) { - xxx_messageInfo_SystemParameters.Merge(m, src) -} -func (m *SystemParameters) XXX_Size() int { - return xxx_messageInfo_SystemParameters.Size(m) -} -func (m *SystemParameters) XXX_DiscardUnknown() { - xxx_messageInfo_SystemParameters.DiscardUnknown(m) -} - -var xxx_messageInfo_SystemParameters proto.InternalMessageInfo - -func (m *SystemParameters) GetRules() []*SystemParameterRule { - if m != nil { - return m.Rules - } - return nil -} - -// Define a system parameter rule mapping system parameter definitions to -// methods. -type SystemParameterRule struct { - // Selects the methods to which this rule applies. Use '*' to indicate all - // methods in all APIs. - // - // Refer to [selector][google.api.DocumentationRule.selector] for syntax details. - Selector string `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"` - // Define parameters. Multiple names may be defined for a parameter. - // For a given method call, only one of them should be used. If multiple - // names are used the behavior is implementation-dependent. - // If none of the specified names are present the behavior is - // parameter-dependent. - Parameters []*SystemParameter `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c69d4a5e03567ede, []int{1} -} - -func (m *SystemParameterRule) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SystemParameterRule.Unmarshal(m, b) -} -func (m *SystemParameterRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SystemParameterRule.Marshal(b, m, deterministic) -} -func (m *SystemParameterRule) XXX_Merge(src proto.Message) { - xxx_messageInfo_SystemParameterRule.Merge(m, src) -} -func (m *SystemParameterRule) XXX_Size() int { - return xxx_messageInfo_SystemParameterRule.Size(m) -} -func (m *SystemParameterRule) XXX_DiscardUnknown() { - xxx_messageInfo_SystemParameterRule.DiscardUnknown(m) -} - -var xxx_messageInfo_SystemParameterRule proto.InternalMessageInfo - -func (m *SystemParameterRule) GetSelector() string { - if m != nil { - return m.Selector - } - return "" -} - -func (m *SystemParameterRule) GetParameters() []*SystemParameter { - if m != nil { - return m.Parameters - } - return nil -} - -// Define a parameter's name and location. The parameter may be passed as either -// an HTTP header or a URL query parameter, and if both are passed the behavior -// is implementation-dependent. -type SystemParameter struct { - // Define the name of the parameter, such as "api_key" . It is case sensitive. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Define the HTTP header name to use for the parameter. It is case - // insensitive. - HttpHeader string `protobuf:"bytes,2,opt,name=http_header,json=httpHeader,proto3" json:"http_header,omitempty"` - // Define the URL query parameter name to use for the parameter. It is case - // sensitive. - UrlQueryParameter string `protobuf:"bytes,3,opt,name=url_query_parameter,json=urlQueryParameter,proto3" json:"url_query_parameter,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c69d4a5e03567ede, []int{2} -} - -func (m *SystemParameter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SystemParameter.Unmarshal(m, b) -} -func (m *SystemParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SystemParameter.Marshal(b, m, deterministic) -} -func (m *SystemParameter) XXX_Merge(src proto.Message) { - xxx_messageInfo_SystemParameter.Merge(m, src) -} -func (m *SystemParameter) XXX_Size() int { - return xxx_messageInfo_SystemParameter.Size(m) -} -func (m *SystemParameter) XXX_DiscardUnknown() { - xxx_messageInfo_SystemParameter.DiscardUnknown(m) -} - -var xxx_messageInfo_SystemParameter proto.InternalMessageInfo - -func (m *SystemParameter) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *SystemParameter) GetHttpHeader() string { - if m != nil { - return m.HttpHeader - } - return "" -} - -func (m *SystemParameter) GetUrlQueryParameter() string { - if m != nil { - return m.UrlQueryParameter - } - return "" -} - -func init() { - proto.RegisterType((*SystemParameters)(nil), "google.api.SystemParameters") - proto.RegisterType((*SystemParameterRule)(nil), "google.api.SystemParameterRule") - proto.RegisterType((*SystemParameter)(nil), "google.api.SystemParameter") -} - -func init() { proto.RegisterFile("google/api/system_parameter.proto", fileDescriptor_c69d4a5e03567ede) } - -var fileDescriptor_c69d4a5e03567ede = []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, - 0x24, 0x10, 0x53, 0x27, 0x2a, 0x21, 0xe8, 0x16, 0xca, 0xc6, 0x12, 0x99, 0x70, 0xb8, 0x91, 0x9c, - 0xd8, 0x9c, 0x9d, 0x48, 0x7d, 0x1d, 0x9e, 0x14, 0xc5, 0x29, 0x69, 0x89, 0x10, 0x9b, 0xef, 0xbe, - 0xcf, 0xfa, 0x9d, 0xee, 0xe0, 0x5a, 0x6a, 0x2d, 0x15, 0x46, 0xc2, 0x64, 0x91, 0xdd, 0x58, 0x87, - 0x79, 0x62, 0x04, 0x89, 0x1c, 0x1d, 0x12, 0x37, 0xa4, 0x9d, 0x66, 0xd0, 0x28, 0x5c, 0x98, 0x6c, - 0xba, 0x84, 0xb3, 0x17, 0x6f, 0xc5, 0x3f, 0x92, 0x65, 0x77, 0x70, 0x40, 0xa5, 0x42, 0x1b, 0x06, - 0x93, 0xfe, 0x6c, 0x78, 0x33, 0xe6, 0x3b, 0x9f, 0x77, 0xe4, 0x55, 0xa9, 0x70, 0xd5, 0xd8, 0xd3, - 0x02, 0x46, 0x7f, 0x50, 0x76, 0x09, 0x47, 0x16, 0x15, 0xa6, 0x4e, 0x53, 0x18, 0x4c, 0x82, 0xd9, - 0xf1, 0xaa, 0xad, 0xd9, 0x1c, 0xa0, 0x1d, 0xce, 0x86, 0x3d, 0x1f, 0x77, 0xf5, 0x5f, 0xdc, 0x9e, - 0x3e, 0xad, 0xe0, 0xb4, 0x83, 0x19, 0x83, 0x41, 0x21, 0x72, 0xdc, 0xe6, 0xf8, 0x37, 0x1b, 0xc3, - 0x70, 0xed, 0x9c, 0x49, 0xd6, 0x28, 0xde, 0x91, 0xc2, 0x9e, 0x47, 0x50, 0xb7, 0x9e, 0x7c, 0x87, - 0x71, 0x18, 0x95, 0xa4, 0x92, 0xcf, 0x12, 0x69, 0xb3, 0xdb, 0x55, 0xd8, 0xf7, 0xe2, 0x79, 0x49, - 0xea, 0xb9, 0x26, 0x6d, 0xc8, 0xa2, 0x82, 0x93, 0x54, 0xe7, 0x7b, 0x53, 0x2e, 0x2e, 0x3a, 0x73, - 0xc4, 0xf5, 0x9a, 0xe3, 0xe0, 0xf5, 0x61, 0xeb, 0x48, 0xad, 0x44, 0x21, 0xb9, 0x26, 0x19, 0x49, - 0x2c, 0xfc, 0x11, 0xa2, 0x06, 0x09, 0x93, 0xd9, 0xe6, 0x54, 0x48, 0x55, 0x96, 0x62, 0xaa, 0x8b, - 0x8f, 0x4c, 0xce, 0x7f, 0x55, 0x5f, 0xbd, 0xc1, 0xe3, 0x7d, 0xbc, 0x7c, 0x3b, 0xf4, 0x1f, 0x6f, - 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x5e, 0xdf, 0x2e, 0x09, 0xe2, 0x01, 0x00, 0x00, -} 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 deleted file mode 100644 index e950f8eb..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/serviceconfig/usage.pb.go +++ /dev/null @@ -1,213 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/usage.proto - -package serviceconfig - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Configuration controlling usage of a service. -type Usage struct { - // Requirements that must be satisfied before a consumer project can use the - // service. Each requirement is of the form /; - // for example 'serviceusage.googleapis.com/billing-enabled'. - Requirements []string `protobuf:"bytes,1,rep,name=requirements,proto3" json:"requirements,omitempty"` - // A list of usage rules that apply to individual API methods. - // - // **NOTE:** All service configuration rules follow "last one wins" order. - Rules []*UsageRule `protobuf:"bytes,6,rep,name=rules,proto3" json:"rules,omitempty"` - // The full resource name of a channel used for sending notifications to the - // service producer. - // - // Google Service Management currently only supports - // [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification - // channel. To use Google Cloud Pub/Sub as the channel, this must be the name - // of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format - // documented in https://cloud.google.com/pubsub/docs/overview. - ProducerNotificationChannel string `protobuf:"bytes,7,opt,name=producer_notification_channel,json=producerNotificationChannel,proto3" json:"producer_notification_channel,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_701aa74a03c68f0a, []int{0} -} - -func (m *Usage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Usage.Unmarshal(m, b) -} -func (m *Usage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Usage.Marshal(b, m, deterministic) -} -func (m *Usage) XXX_Merge(src proto.Message) { - xxx_messageInfo_Usage.Merge(m, src) -} -func (m *Usage) XXX_Size() int { - return xxx_messageInfo_Usage.Size(m) -} -func (m *Usage) XXX_DiscardUnknown() { - xxx_messageInfo_Usage.DiscardUnknown(m) -} - -var xxx_messageInfo_Usage proto.InternalMessageInfo - -func (m *Usage) GetRequirements() []string { - if m != nil { - return m.Requirements - } - return nil -} - -func (m *Usage) GetRules() []*UsageRule { - if m != nil { - return m.Rules - } - return nil -} - -func (m *Usage) GetProducerNotificationChannel() string { - if m != nil { - return m.ProducerNotificationChannel - } - return "" -} - -// Usage configuration rules for the service. -// -// NOTE: Under development. -// -// -// Use this rule to configure unregistered calls for the service. Unregistered -// calls are calls that do not contain consumer project identity. -// (Example: calls that do not contain an API key). -// By default, API methods do not allow unregistered calls, and each method call -// must be identified by a consumer project identity. Use this rule to -// allow/disallow unregistered calls. -// -// Example of an API that wants to allow unregistered calls for entire service. -// -// usage: -// rules: -// - selector: "*" -// allow_unregistered_calls: true -// -// Example of a method that wants to allow unregistered calls. -// -// usage: -// rules: -// - selector: "google.example.library.v1.LibraryService.CreateBook" -// allow_unregistered_calls: true -type UsageRule struct { - // Selects the methods to which this rule applies. Use '*' to indicate all - // methods in all APIs. - // - // Refer to [selector][google.api.DocumentationRule.selector] for syntax details. - Selector string `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"` - // If true, the selected method allows unregistered calls, e.g. calls - // that don't identify any user or application. - AllowUnregisteredCalls bool `protobuf:"varint,2,opt,name=allow_unregistered_calls,json=allowUnregisteredCalls,proto3" json:"allow_unregistered_calls,omitempty"` - // If true, the selected method should skip service control and the control - // plane features, such as quota and billing, will not be available. - // This flag is used by Google Cloud Endpoints to bypass checks for internal - // methods, such as service health check methods. - SkipServiceControl bool `protobuf:"varint,3,opt,name=skip_service_control,json=skipServiceControl,proto3" json:"skip_service_control,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_701aa74a03c68f0a, []int{1} -} - -func (m *UsageRule) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UsageRule.Unmarshal(m, b) -} -func (m *UsageRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UsageRule.Marshal(b, m, deterministic) -} -func (m *UsageRule) XXX_Merge(src proto.Message) { - xxx_messageInfo_UsageRule.Merge(m, src) -} -func (m *UsageRule) XXX_Size() int { - return xxx_messageInfo_UsageRule.Size(m) -} -func (m *UsageRule) XXX_DiscardUnknown() { - xxx_messageInfo_UsageRule.DiscardUnknown(m) -} - -var xxx_messageInfo_UsageRule proto.InternalMessageInfo - -func (m *UsageRule) GetSelector() string { - if m != nil { - return m.Selector - } - return "" -} - -func (m *UsageRule) GetAllowUnregisteredCalls() bool { - if m != nil { - return m.AllowUnregisteredCalls - } - return false -} - -func (m *UsageRule) GetSkipServiceControl() bool { - if m != nil { - return m.SkipServiceControl - } - return false -} - -func init() { - proto.RegisterType((*Usage)(nil), "google.api.Usage") - proto.RegisterType((*UsageRule)(nil), "google.api.UsageRule") -} - -func init() { proto.RegisterFile("google/api/usage.proto", fileDescriptor_701aa74a03c68f0a) } - -var fileDescriptor_701aa74a03c68f0a = []byte{ - // 319 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x91, 0xc1, 0x4a, 0x33, 0x31, - 0x14, 0x85, 0x49, 0xfb, 0xb7, 0x7f, 0x1b, 0xc5, 0x45, 0xd0, 0x12, 0x14, 0x61, 0xe8, 0x6a, 0x40, - 0x98, 0x11, 0xdd, 0x08, 0xae, 0x6c, 0x11, 0x71, 0x23, 0x65, 0xa4, 0x1b, 0x37, 0x43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f, 0x75, 0x55, 0x7a, 0x70, 0xef, 0x5a, 0x42, 0x29, 0xd1, 0x06, 0x87, 0x86, - 0x77, 0xa3, 0x8b, 0x35, 0xec, 0xb1, 0x45, 0xd3, 0x96, 0x4c, 0x0c, 0x3d, 0x90, 0xb8, 0xda, 0x7a, - 0xfc, 0x84, 0xc6, 0x4b, 0xce, 0x9a, 0x7a, 0x67, 0xe4, 0xe9, 0x76, 0x4d, 0x14, 0x1a, 0x61, 0x55, - 0x86, 0x4e, 0xe5, 0x0a, 0x6c, 0x2c, 0x3f, 0x6f, 0x91, 0xa8, 0xb4, 0x8f, 0xff, 0xb2, 0x3e, 0x54, - 0xa2, 0x5d, 0x6a, 0x75, 0xbd, 0x33, 0x7d, 0x77, 0xfe, 0xdd, 0xdd, 0xcc, 0xee, 0x9f, 0xfb, 0xd1, - 0x78, 0xf9, 0x13, 0x00, 0x00, 0xff, 0xff, 0xd7, 0x64, 0x56, 0x3e, 0xcf, 0x01, 0x00, 0x00, -} 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 deleted file mode 100644 index 658fff63..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/check_error.pb.go +++ /dev/null @@ -1,216 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/servicecontrol/v1/check_error.proto - -package servicecontrol - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Error codes for Check responses. -type CheckError_Code int32 - -const ( - // This is never used in `CheckResponse`. - CheckError_ERROR_CODE_UNSPECIFIED CheckError_Code = 0 - // The consumer's project id was not found. - // Same as [google.rpc.Code.NOT_FOUND][]. - CheckError_NOT_FOUND CheckError_Code = 5 - // The consumer doesn't have access to the specified resource. - // Same as [google.rpc.Code.PERMISSION_DENIED][]. - CheckError_PERMISSION_DENIED CheckError_Code = 7 - // Quota check failed. Same as [google.rpc.Code.RESOURCE_EXHAUSTED][]. - CheckError_RESOURCE_EXHAUSTED CheckError_Code = 8 - // The consumer hasn't activated the service. - CheckError_SERVICE_NOT_ACTIVATED CheckError_Code = 104 - // The consumer cannot access the service because billing is disabled. - CheckError_BILLING_DISABLED CheckError_Code = 107 - // The consumer's project has been marked as deleted (soft deletion). - CheckError_PROJECT_DELETED CheckError_Code = 108 - // The consumer's project number or id does not represent a valid project. - CheckError_PROJECT_INVALID CheckError_Code = 114 - // The IP address of the consumer is invalid for the specific consumer - // project. - CheckError_IP_ADDRESS_BLOCKED CheckError_Code = 109 - // The referer address of the consumer request is invalid for the specific - // consumer project. - CheckError_REFERER_BLOCKED CheckError_Code = 110 - // The client application of the consumer request is invalid for the - // specific consumer project. - CheckError_CLIENT_APP_BLOCKED CheckError_Code = 111 - // The API targeted by this request is invalid for the specified consumer - // project. - CheckError_API_TARGET_BLOCKED CheckError_Code = 122 - // The consumer's API key is invalid. - CheckError_API_KEY_INVALID CheckError_Code = 105 - // The consumer's API Key has expired. - CheckError_API_KEY_EXPIRED CheckError_Code = 112 - // The consumer's API Key was not found in config record. - CheckError_API_KEY_NOT_FOUND CheckError_Code = 113 - // The backend server for looking up project id/number is unavailable. - CheckError_NAMESPACE_LOOKUP_UNAVAILABLE CheckError_Code = 300 - // The backend server for checking service status is unavailable. - CheckError_SERVICE_STATUS_UNAVAILABLE CheckError_Code = 301 - // The backend server for checking billing status is unavailable. - CheckError_BILLING_STATUS_UNAVAILABLE CheckError_Code = 302 -) - -var CheckError_Code_name = map[int32]string{ - 0: "ERROR_CODE_UNSPECIFIED", - 5: "NOT_FOUND", - 7: "PERMISSION_DENIED", - 8: "RESOURCE_EXHAUSTED", - 104: "SERVICE_NOT_ACTIVATED", - 107: "BILLING_DISABLED", - 108: "PROJECT_DELETED", - 114: "PROJECT_INVALID", - 109: "IP_ADDRESS_BLOCKED", - 110: "REFERER_BLOCKED", - 111: "CLIENT_APP_BLOCKED", - 122: "API_TARGET_BLOCKED", - 105: "API_KEY_INVALID", - 112: "API_KEY_EXPIRED", - 113: "API_KEY_NOT_FOUND", - 300: "NAMESPACE_LOOKUP_UNAVAILABLE", - 301: "SERVICE_STATUS_UNAVAILABLE", - 302: "BILLING_STATUS_UNAVAILABLE", -} - -var CheckError_Code_value = map[string]int32{ - "ERROR_CODE_UNSPECIFIED": 0, - "NOT_FOUND": 5, - "PERMISSION_DENIED": 7, - "RESOURCE_EXHAUSTED": 8, - "SERVICE_NOT_ACTIVATED": 104, - "BILLING_DISABLED": 107, - "PROJECT_DELETED": 108, - "PROJECT_INVALID": 114, - "IP_ADDRESS_BLOCKED": 109, - "REFERER_BLOCKED": 110, - "CLIENT_APP_BLOCKED": 111, - "API_TARGET_BLOCKED": 122, - "API_KEY_INVALID": 105, - "API_KEY_EXPIRED": 112, - "API_KEY_NOT_FOUND": 113, - "NAMESPACE_LOOKUP_UNAVAILABLE": 300, - "SERVICE_STATUS_UNAVAILABLE": 301, - "BILLING_STATUS_UNAVAILABLE": 302, -} - -func (x CheckError_Code) String() string { - return proto.EnumName(CheckError_Code_name, int32(x)) -} - -func (CheckError_Code) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_abfa738e19256db6, []int{0, 0} -} - -// Defines the errors to be returned in -// [google.api.servicecontrol.v1.CheckResponse.check_errors][google.api.servicecontrol.v1.CheckResponse.check_errors]. -type CheckError struct { - // The error code. - Code CheckError_Code `protobuf:"varint,1,opt,name=code,proto3,enum=google.api.servicecontrol.v1.CheckError_Code" json:"code,omitempty"` - // Free-form text providing details on the error cause of the error. - Detail string `protobuf:"bytes,2,opt,name=detail,proto3" json:"detail,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_abfa738e19256db6, []int{0} -} - -func (m *CheckError) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CheckError.Unmarshal(m, b) -} -func (m *CheckError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CheckError.Marshal(b, m, deterministic) -} -func (m *CheckError) XXX_Merge(src proto.Message) { - xxx_messageInfo_CheckError.Merge(m, src) -} -func (m *CheckError) XXX_Size() int { - return xxx_messageInfo_CheckError.Size(m) -} -func (m *CheckError) XXX_DiscardUnknown() { - xxx_messageInfo_CheckError.DiscardUnknown(m) -} - -var xxx_messageInfo_CheckError proto.InternalMessageInfo - -func (m *CheckError) GetCode() CheckError_Code { - if m != nil { - return m.Code - } - return CheckError_ERROR_CODE_UNSPECIFIED -} - -func (m *CheckError) GetDetail() string { - if m != nil { - return m.Detail - } - return "" -} - -func init() { - proto.RegisterEnum("google.api.servicecontrol.v1.CheckError_Code", CheckError_Code_name, CheckError_Code_value) - proto.RegisterType((*CheckError)(nil), "google.api.servicecontrol.v1.CheckError") -} - -func init() { - proto.RegisterFile("google/api/servicecontrol/v1/check_error.proto", fileDescriptor_abfa738e19256db6) -} - -var fileDescriptor_abfa738e19256db6 = []byte{ - // 493 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0x4f, 0x6f, 0xd3, 0x30, - 0x18, 0xc6, 0x49, 0x29, 0x83, 0x59, 0x82, 0x05, 0xc3, 0xaa, 0x51, 0x55, 0xa2, 0xec, 0xb4, 0x0b, - 0x89, 0x06, 0x47, 0x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x7e, 0x8e, 0xf6, 0xc3, 0x28, 0xd6, 0xfd, - 0x28, 0x09, 0x99, 0xfb, 0x04, 0x1f, 0xa2, 0x97, 0x02, 0xe4, 0x05, 0x57, 0x8a, 0x47, 0xa1, 0x66, - 0x10, 0x5a, 0xeb, 0x29, 0x6e, 0x21, 0x2c, 0x41, 0x45, 0x89, 0xa4, 0xa0, 0xe1, 0xf2, 0x33, 0x49, - 0x54, 0x0c, 0xcc, 0x7d, 0x86, 0xdf, 0xa0, 0x43, 0x05, 0x72, 0xc8, 0x29, 0x68, 0x9b, 0x42, 0x68, - 0xcc, 0x87, 0xc4, 0x3e, 0x5d, 0xe1, 0xd7, 0xc8, 0xed, 0xf1, 0x20, 0xe0, 0xe1, 0x99, 0x66, 0x5c, - 0x91, 0x5e, 0x00, 0xcc, 0xbd, 0xc6, 0xaf, 0xd0, 0x81, 0x90, 0xd1, 0x39, 0xd0, 0x58, 0x33, 0x08, - 0xc0, 0xaa, 0xe3, 0x6d, 0xc8, 0xc3, 0x21, 0x09, 0x38, 0x73, 0x6b, 0xbb, 0x92, 0x0b, 0x4d, 0x18, - 0x93, 0xa0, 0x94, 0xee, 0x05, 0x11, 0x1d, 0x00, 0x73, 0x6f, 0xac, 0x2c, 0xa1, 0x0f, 0x12, 0xe4, - 0x1a, 0x56, 0x56, 0xa6, 0x01, 0x87, 0x30, 0xd6, 0x44, 0x88, 0x35, 0x37, 0x96, 0x13, 0xc1, 0x75, - 0x4c, 0xe4, 0x19, 0xc4, 0x6b, 0xfe, 0xc3, 0x86, 0x58, 0x3e, 0x80, 0x2f, 0xeb, 0x8d, 0xe5, 0x36, - 0x84, 0x4b, 0xc1, 0x25, 0x30, 0x77, 0x62, 0x0f, 0xb2, 0x82, 0x9b, 0x3b, 0x7d, 0xc7, 0xef, 0x50, - 0x27, 0x24, 0x17, 0xa0, 0x04, 0xa1, 0xa0, 0x83, 0x28, 0x1a, 0x24, 0x42, 0x27, 0x21, 0x19, 0x12, - 0x1e, 0xd8, 0x5f, 0x75, 0x7f, 0x37, 0xf0, 0x5b, 0xd4, 0x5e, 0xdd, 0x46, 0xc5, 0x24, 0x4e, 0xd4, - 0x8e, 0xf0, 0x67, 0x21, 0xac, 0x2e, 0x74, 0x8f, 0xf0, 0xb7, 0xd1, 0xfb, 0xe9, 0xa0, 0x6e, 0x66, - 0x6e, 0x1e, 0xec, 0x44, 0xef, 0x60, 0x53, 0x0a, 0x61, 0x0b, 0x26, 0x9c, 0xaf, 0xe7, 0x77, 0x03, - 0x85, 0x19, 0xa7, 0x55, 0xe1, 0x99, 0xba, 0xf0, 0x8b, 0xbc, 0x5a, 0xd4, 0xcf, 0x5f, 0x3e, 0xa5, - 0x93, 0x72, 0x7a, 0x7f, 0xdb, 0x3f, 0xed, 0x92, 0xff, 0x8e, 0xf3, 0x6d, 0x6f, 0x31, 0xf9, 0xf1, - 0x36, 0x00, 0x00, 0xff, 0xff, 0x40, 0xf4, 0xc8, 0x44, 0x26, 0x03, 0x00, 0x00, -} 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 deleted file mode 100644 index 5b222a3e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/distribution.pb.go +++ /dev/null @@ -1,451 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/servicecontrol/v1/distribution.proto - -package servicecontrol - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Distribution represents a frequency distribution of double-valued sample -// points. It contains the size of the population of sample points plus -// additional optional information: -// -// - the arithmetic mean of the samples -// - the minimum and maximum of the samples -// - the sum-squared-deviation of the samples, used to compute variance -// - a histogram of the values of the sample points -type Distribution struct { - // The total number of samples in the distribution. Must be >= 0. - Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` - // The arithmetic mean of the samples in the distribution. If `count` is - // zero then this field must be zero. - Mean float64 `protobuf:"fixed64,2,opt,name=mean,proto3" json:"mean,omitempty"` - // The minimum of the population of values. Ignored if `count` is zero. - Minimum float64 `protobuf:"fixed64,3,opt,name=minimum,proto3" json:"minimum,omitempty"` - // The maximum of the population of values. Ignored if `count` is zero. - Maximum float64 `protobuf:"fixed64,4,opt,name=maximum,proto3" json:"maximum,omitempty"` - // The sum of squared deviations from the mean: - // Sum[i=1..count]((x_i - mean)^2) - // where each x_i is a sample values. If `count` is zero then this field - // must be zero, otherwise validation of the request fails. - SumOfSquaredDeviation float64 `protobuf:"fixed64,5,opt,name=sum_of_squared_deviation,json=sumOfSquaredDeviation,proto3" json:"sum_of_squared_deviation,omitempty"` - // The number of samples in each histogram bucket. `bucket_counts` are - // optional. If present, they must sum to the `count` value. - // - // The buckets are defined below in `bucket_option`. There are N buckets. - // `bucket_counts[0]` is the number of samples in the underflow bucket. - // `bucket_counts[1]` to `bucket_counts[N-1]` are the numbers of samples - // in each of the finite buckets. And `bucket_counts[N] is the number - // of samples in the overflow bucket. See the comments of `bucket_option` - // below for more details. - // - // Any suffix of trailing zeros may be omitted. - BucketCounts []int64 `protobuf:"varint,6,rep,packed,name=bucket_counts,json=bucketCounts,proto3" json:"bucket_counts,omitempty"` - // Defines the buckets in the histogram. `bucket_option` and `bucket_counts` - // must be both set, or both unset. - // - // Buckets are numbered in the range of [0, N], with a total of N+1 buckets. - // There must be at least two buckets (a single-bucket histogram gives - // no information that isn't already provided by `count`). - // - // The first bucket is the underflow bucket which has a lower bound - // of -inf. The last bucket is the overflow bucket which has an - // upper bound of +inf. All other buckets (if any) are called "finite" - // buckets because they have finite lower and upper bounds. As described - // below, there are three ways to define the finite buckets. - // - // (1) Buckets with constant width. - // (2) Buckets with exponentially growing widths. - // (3) Buckets with arbitrary user-provided widths. - // - // In all cases, the buckets cover the entire real number line (-inf, - // +inf). Bucket upper bounds are exclusive and lower bounds are - // inclusive. The upper bound of the underflow bucket is equal to the - // lower bound of the smallest finite bucket; the lower bound of the - // overflow bucket is equal to the upper bound of the largest finite - // bucket. - // - // Types that are valid to be assigned to BucketOption: - // *Distribution_LinearBuckets_ - // *Distribution_ExponentialBuckets_ - // *Distribution_ExplicitBuckets_ - BucketOption isDistribution_BucketOption `protobuf_oneof:"bucket_option"` - 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_b3f590f4dffbeb4c, []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 (m *Distribution) XXX_Merge(src proto.Message) { - xxx_messageInfo_Distribution.Merge(m, 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) GetCount() int64 { - if m != nil { - return m.Count - } - return 0 -} - -func (m *Distribution) GetMean() float64 { - if m != nil { - return m.Mean - } - return 0 -} - -func (m *Distribution) GetMinimum() float64 { - if m != nil { - return m.Minimum - } - return 0 -} - -func (m *Distribution) GetMaximum() float64 { - if m != nil { - return m.Maximum - } - return 0 -} - -func (m *Distribution) GetSumOfSquaredDeviation() float64 { - if m != nil { - return m.SumOfSquaredDeviation - } - return 0 -} - -func (m *Distribution) GetBucketCounts() []int64 { - if m != nil { - return m.BucketCounts - } - 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 - } - return nil -} - -func (m *Distribution) GetExponentialBuckets() *Distribution_ExponentialBuckets { - if x, ok := m.GetBucketOption().(*Distribution_ExponentialBuckets_); ok { - return x.ExponentialBuckets - } - return nil -} - -func (m *Distribution) GetExplicitBuckets() *Distribution_ExplicitBuckets { - if x, ok := m.GetBucketOption().(*Distribution_ExplicitBuckets_); ok { - return x.ExplicitBuckets - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Distribution) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Distribution_LinearBuckets_)(nil), - (*Distribution_ExponentialBuckets_)(nil), - (*Distribution_ExplicitBuckets_)(nil), - } -} - -// Describing buckets with constant width. -type Distribution_LinearBuckets struct { - // The number of finite buckets. With the underflow and overflow buckets, - // the total number of buckets is `num_finite_buckets` + 2. - // See comments on `bucket_options` for details. - NumFiniteBuckets int32 `protobuf:"varint,1,opt,name=num_finite_buckets,json=numFiniteBuckets,proto3" json:"num_finite_buckets,omitempty"` - // The i'th linear bucket covers the interval - // [offset + (i-1) * width, offset + i * width) - // where i ranges from 1 to num_finite_buckets, inclusive. - // Must be strictly positive. - Width float64 `protobuf:"fixed64,2,opt,name=width,proto3" json:"width,omitempty"` - // The i'th linear bucket covers the interval - // [offset + (i-1) * width, offset + i * width) - // where i ranges from 1 to num_finite_buckets, inclusive. - Offset float64 `protobuf:"fixed64,3,opt,name=offset,proto3" json:"offset,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Distribution_LinearBuckets) Reset() { *m = Distribution_LinearBuckets{} } -func (m *Distribution_LinearBuckets) String() string { return proto.CompactTextString(m) } -func (*Distribution_LinearBuckets) ProtoMessage() {} -func (*Distribution_LinearBuckets) Descriptor() ([]byte, []int) { - return fileDescriptor_b3f590f4dffbeb4c, []int{0, 0} -} - -func (m *Distribution_LinearBuckets) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Distribution_LinearBuckets.Unmarshal(m, b) -} -func (m *Distribution_LinearBuckets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Distribution_LinearBuckets.Marshal(b, m, deterministic) -} -func (m *Distribution_LinearBuckets) XXX_Merge(src proto.Message) { - xxx_messageInfo_Distribution_LinearBuckets.Merge(m, src) -} -func (m *Distribution_LinearBuckets) XXX_Size() int { - return xxx_messageInfo_Distribution_LinearBuckets.Size(m) -} -func (m *Distribution_LinearBuckets) XXX_DiscardUnknown() { - xxx_messageInfo_Distribution_LinearBuckets.DiscardUnknown(m) -} - -var xxx_messageInfo_Distribution_LinearBuckets proto.InternalMessageInfo - -func (m *Distribution_LinearBuckets) GetNumFiniteBuckets() int32 { - if m != nil { - return m.NumFiniteBuckets - } - return 0 -} - -func (m *Distribution_LinearBuckets) GetWidth() float64 { - if m != nil { - return m.Width - } - return 0 -} - -func (m *Distribution_LinearBuckets) GetOffset() float64 { - if m != nil { - return m.Offset - } - return 0 -} - -// Describing buckets with exponentially growing width. -type Distribution_ExponentialBuckets struct { - // The number of finite buckets. With the underflow and overflow buckets, - // the total number of buckets is `num_finite_buckets` + 2. - // See comments on `bucket_options` for details. - NumFiniteBuckets int32 `protobuf:"varint,1,opt,name=num_finite_buckets,json=numFiniteBuckets,proto3" json:"num_finite_buckets,omitempty"` - // The i'th exponential bucket covers the interval - // [scale * growth_factor^(i-1), scale * growth_factor^i) - // where i ranges from 1 to num_finite_buckets inclusive. - // Must be larger than 1.0. - GrowthFactor float64 `protobuf:"fixed64,2,opt,name=growth_factor,json=growthFactor,proto3" json:"growth_factor,omitempty"` - // The i'th exponential bucket covers the interval - // [scale * growth_factor^(i-1), scale * growth_factor^i) - // where i ranges from 1 to num_finite_buckets inclusive. - // Must be > 0. - Scale float64 `protobuf:"fixed64,3,opt,name=scale,proto3" json:"scale,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Distribution_ExponentialBuckets) Reset() { *m = Distribution_ExponentialBuckets{} } -func (m *Distribution_ExponentialBuckets) String() string { return proto.CompactTextString(m) } -func (*Distribution_ExponentialBuckets) ProtoMessage() {} -func (*Distribution_ExponentialBuckets) Descriptor() ([]byte, []int) { - return fileDescriptor_b3f590f4dffbeb4c, []int{0, 1} -} - -func (m *Distribution_ExponentialBuckets) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Distribution_ExponentialBuckets.Unmarshal(m, b) -} -func (m *Distribution_ExponentialBuckets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Distribution_ExponentialBuckets.Marshal(b, m, deterministic) -} -func (m *Distribution_ExponentialBuckets) XXX_Merge(src proto.Message) { - xxx_messageInfo_Distribution_ExponentialBuckets.Merge(m, src) -} -func (m *Distribution_ExponentialBuckets) XXX_Size() int { - return xxx_messageInfo_Distribution_ExponentialBuckets.Size(m) -} -func (m *Distribution_ExponentialBuckets) XXX_DiscardUnknown() { - xxx_messageInfo_Distribution_ExponentialBuckets.DiscardUnknown(m) -} - -var xxx_messageInfo_Distribution_ExponentialBuckets proto.InternalMessageInfo - -func (m *Distribution_ExponentialBuckets) GetNumFiniteBuckets() int32 { - if m != nil { - return m.NumFiniteBuckets - } - return 0 -} - -func (m *Distribution_ExponentialBuckets) GetGrowthFactor() float64 { - if m != nil { - return m.GrowthFactor - } - return 0 -} - -func (m *Distribution_ExponentialBuckets) GetScale() float64 { - if m != nil { - return m.Scale - } - return 0 -} - -// Describing buckets with arbitrary user-provided width. -type Distribution_ExplicitBuckets struct { - // 'bound' is a list of strictly increasing boundaries between - // buckets. Note that a list of length N-1 defines N buckets because - // of fenceposting. See comments on `bucket_options` for details. - // - // The i'th finite bucket covers the interval - // [bound[i-1], bound[i]) - // where i ranges from 1 to bound_size() - 1. Note that there are no - // finite buckets at all if 'bound' only contains a single element; in - // that special case the single bound defines the boundary between the - // underflow and overflow buckets. - // - // bucket number lower bound upper bound - // i == 0 (underflow) -inf bound[i] - // 0 < i < bound_size() bound[i-1] bound[i] - // i == bound_size() (overflow) bound[i-1] +inf - Bounds []float64 `protobuf:"fixed64,1,rep,packed,name=bounds,proto3" json:"bounds,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Distribution_ExplicitBuckets) Reset() { *m = Distribution_ExplicitBuckets{} } -func (m *Distribution_ExplicitBuckets) String() string { return proto.CompactTextString(m) } -func (*Distribution_ExplicitBuckets) ProtoMessage() {} -func (*Distribution_ExplicitBuckets) Descriptor() ([]byte, []int) { - return fileDescriptor_b3f590f4dffbeb4c, []int{0, 2} -} - -func (m *Distribution_ExplicitBuckets) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Distribution_ExplicitBuckets.Unmarshal(m, b) -} -func (m *Distribution_ExplicitBuckets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Distribution_ExplicitBuckets.Marshal(b, m, deterministic) -} -func (m *Distribution_ExplicitBuckets) XXX_Merge(src proto.Message) { - xxx_messageInfo_Distribution_ExplicitBuckets.Merge(m, src) -} -func (m *Distribution_ExplicitBuckets) XXX_Size() int { - return xxx_messageInfo_Distribution_ExplicitBuckets.Size(m) -} -func (m *Distribution_ExplicitBuckets) XXX_DiscardUnknown() { - xxx_messageInfo_Distribution_ExplicitBuckets.DiscardUnknown(m) -} - -var xxx_messageInfo_Distribution_ExplicitBuckets proto.InternalMessageInfo - -func (m *Distribution_ExplicitBuckets) GetBounds() []float64 { - if m != nil { - return m.Bounds - } - return nil -} - -func init() { - proto.RegisterType((*Distribution)(nil), "google.api.servicecontrol.v1.Distribution") - proto.RegisterType((*Distribution_LinearBuckets)(nil), "google.api.servicecontrol.v1.Distribution.LinearBuckets") - proto.RegisterType((*Distribution_ExponentialBuckets)(nil), "google.api.servicecontrol.v1.Distribution.ExponentialBuckets") - proto.RegisterType((*Distribution_ExplicitBuckets)(nil), "google.api.servicecontrol.v1.Distribution.ExplicitBuckets") -} - -func init() { - proto.RegisterFile("google/api/servicecontrol/v1/distribution.proto", fileDescriptor_b3f590f4dffbeb4c) -} - -var fileDescriptor_b3f590f4dffbeb4c = []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, - 0x42, 0xb6, 0x0a, 0x07, 0x10, 0x88, 0x4b, 0x28, 0x15, 0x42, 0x48, 0x54, 0xe6, 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7, 0x3c, 0xbf, 0xed, 0xd4, 0xa9, 0xe9, 0x68, - 0xb5, 0x79, 0xd8, 0xb4, 0xa3, 0x9c, 0xfe, 0xf6, 0x20, 0xcc, 0xb0, 0xde, 0x39, 0xfc, 0xe9, 0xa3, - 0xcd, 0xe9, 0x5f, 0xb4, 0x87, 0x78, 0xe1, 0xfd, 0xf8, 0xd2, 0xa5, 0x94, 0x58, 0x51, 0x51, 0x46, - 0x28, 0xcb, 0xb8, 0x64, 0xc2, 0x9e, 0x69, 0x77, 0xd6, 0xb4, 0xe1, 0xea, 0xf6, 0xd3, 0x7e, 0xbf, - 0xed, 0xfc, 0xf5, 0xbc, 0x59, 0xdf, 0x66, 0xbe, 0xfe, 0x17, 0x00, 0x00, 0xff, 0xff, 0x14, 0x52, - 0xaf, 0xef, 0x13, 0x04, 0x00, 0x00, -} 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 deleted file mode 100644 index 02a55c3f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/log_entry.pb.go +++ /dev/null @@ -1,217 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/servicecontrol/v1/log_entry.proto - -package servicecontrol - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - any "github.com/golang/protobuf/ptypes/any" - _struct "github.com/golang/protobuf/ptypes/struct" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - _type "google.golang.org/genproto/googleapis/logging/type" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// An individual log entry. -type LogEntry struct { - // Required. The log to which this log entry belongs. Examples: `"syslog"`, - // `"book_log"`. - Name string `protobuf:"bytes,10,opt,name=name,proto3" json:"name,omitempty"` - // The time the event described by the log entry occurred. If - // omitted, defaults to operation start time. - Timestamp *timestamp.Timestamp `protobuf:"bytes,11,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - // The severity of the log entry. The default value is - // `LogSeverity.DEFAULT`. - Severity _type.LogSeverity `protobuf:"varint,12,opt,name=severity,proto3,enum=google.logging.type.LogSeverity" json:"severity,omitempty"` - // A unique ID for the log entry used for deduplication. If omitted, - // the implementation will generate one based on operation_id. - InsertId string `protobuf:"bytes,4,opt,name=insert_id,json=insertId,proto3" json:"insert_id,omitempty"` - // A set of user-defined (key, value) data that provides additional - // information about the log entry. - 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"` - // The log entry payload, which can be one of multiple types. - // - // Types that are valid to be assigned to Payload: - // *LogEntry_ProtoPayload - // *LogEntry_TextPayload - // *LogEntry_StructPayload - Payload isLogEntry_Payload `protobuf_oneof:"payload"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ca6b95357c9a05d1, []int{0} -} - -func (m *LogEntry) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LogEntry.Unmarshal(m, b) -} -func (m *LogEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LogEntry.Marshal(b, m, deterministic) -} -func (m *LogEntry) XXX_Merge(src proto.Message) { - xxx_messageInfo_LogEntry.Merge(m, src) -} -func (m *LogEntry) XXX_Size() int { - return xxx_messageInfo_LogEntry.Size(m) -} -func (m *LogEntry) XXX_DiscardUnknown() { - xxx_messageInfo_LogEntry.DiscardUnknown(m) -} - -var xxx_messageInfo_LogEntry proto.InternalMessageInfo - -func (m *LogEntry) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *LogEntry) GetTimestamp() *timestamp.Timestamp { - if m != nil { - return m.Timestamp - } - return nil -} - -func (m *LogEntry) GetSeverity() _type.LogSeverity { - if m != nil { - return m.Severity - } - return _type.LogSeverity_DEFAULT -} - -func (m *LogEntry) GetInsertId() string { - if m != nil { - return m.InsertId - } - return "" -} - -func (m *LogEntry) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - 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 - } - return nil -} - -func (m *LogEntry) GetTextPayload() string { - if x, ok := m.GetPayload().(*LogEntry_TextPayload); ok { - return x.TextPayload - } - return "" -} - -func (m *LogEntry) GetStructPayload() *_struct.Struct { - if x, ok := m.GetPayload().(*LogEntry_StructPayload); ok { - return x.StructPayload - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*LogEntry) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*LogEntry_ProtoPayload)(nil), - (*LogEntry_TextPayload)(nil), - (*LogEntry_StructPayload)(nil), - } -} - -func init() { - proto.RegisterType((*LogEntry)(nil), "google.api.servicecontrol.v1.LogEntry") - proto.RegisterMapType((map[string]string)(nil), "google.api.servicecontrol.v1.LogEntry.LabelsEntry") -} - -func init() { - proto.RegisterFile("google/api/servicecontrol/v1/log_entry.proto", fileDescriptor_ca6b95357c9a05d1) -} - -var fileDescriptor_ca6b95357c9a05d1 = []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, - 0xea, 0x01, 0x39, 0xda, 0x72, 0x59, 0x58, 0x0e, 0x50, 0x09, 0xa9, 0xac, 0x7a, 0x58, 0x65, 0x39, - 0x71, 0xa9, 0xdc, 0xd6, 0x58, 0x16, 0xae, 0x27, 0x4a, 0xdc, 0x88, 0x9c, 0xf8, 0xbc, 0x7c, 0x0b, - 0x94, 0xb1, 0x53, 0xf6, 0x9f, 0xf6, 0xe6, 0xf1, 0xfb, 0xbd, 0x99, 0x79, 0x8e, 0x42, 0xde, 0x49, - 0x00, 0xa9, 0x45, 0xc6, 0x0b, 0x95, 0x55, 0xa2, 0xac, 0xd5, 0x46, 0x6c, 0xc0, 0xd8, 0x12, 0x74, - 0x56, 0x9f, 0x65, 0x1a, 0xe4, 0x4a, 0x18, 0x5b, 0x36, 0xac, 0x28, 0xc1, 0x02, 0x9d, 0x38, 0x9a, - 0xf1, 0x42, 0xb1, 0xdb, 0x34, 0xab, 0xcf, 0x92, 0xc9, 0x8d, 0x5e, 0xdc, 0x18, 0xb0, 0xdc, 0x2a, - 0x30, 0x95, 0xf3, 0x26, 0x6f, 0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, 0xeb, 0x2b, 0xc7, 0xd2, - 0x37, 0x64, 0x64, 0xc5, 0x6f, 0x7b, 0xf0, 0xf6, 0xdb, 0x45, 0x17, 0xbd, 0x3c, 0x6a, 0x6f, 0x3b, - 0xe8, 0x33, 0x39, 0x71, 0x1f, 0xe5, 0x80, 0x0d, 0x70, 0xc4, 0xf3, 0x7b, 0x23, 0xae, 0x11, 0x5b, - 0xf4, 0xf2, 0xb1, 0x33, 0xf8, 0x0e, 0xc9, 0x07, 0x12, 0xdd, 0x58, 0x9d, 0x3e, 0x23, 0xfd, 0x5f, - 0xa2, 0x89, 0x03, 0x7c, 0x95, 0xf6, 0x48, 0x4f, 0xc9, 0x93, 0x9a, 0xeb, 0xbd, 0xc0, 0xe5, 0xc3, - 0xdc, 0x15, 0x1f, 0x8f, 0xce, 0x83, 0x79, 0x48, 0x9e, 0xfa, 0xa9, 0xf3, 0x3f, 0x24, 0xdd, 0xc0, - 0xee, 0xd1, 0xa7, 0x9a, 0x8f, 0xbb, 0xb7, 0xba, 0xc2, 0x98, 0xc1, 0x8f, 0x4b, 0x8f, 0x4b, 0xd0, - 0xdc, 0x48, 0x06, 0xa5, 0xcc, 0xa4, 0x30, 0xb8, 0x71, 0xe6, 0x24, 0x5e, 0xa8, 0xea, 0xe1, 0x7f, - 0xe5, 0xe2, 0xf6, 0xcd, 0x7a, 0x80, 0xb6, 0xf7, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x67, 0x50, - 0x6e, 0x13, 0x61, 0x03, 0x00, 0x00, -} 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 deleted file mode 100644 index 7592f79e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/metric_value.pb.go +++ /dev/null @@ -1,286 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/servicecontrol/v1/metric_value.proto - -package servicecontrol - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - _ "google.golang.org/genproto/googleapis/type/money" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Represents a single metric value. -type MetricValue struct { - // The labels describing the metric value. - // See comments on - // [google.api.servicecontrol.v1.Operation.labels][google.api.servicecontrol.v1.Operation.labels] - // for the overriding relationship. - Labels map[string]string `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // The start of the time period over which this metric value's measurement - // applies. The time period has different semantics for different metric - // types (cumulative, delta, and gauge). See the metric definition - // documentation in the service configuration for details. - StartTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // The end of the time period over which this metric value's measurement - // applies. - EndTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - // The value. The type of value used in the request must - // agree with the metric definition in the service configuration, otherwise - // the MetricValue is rejected. - // - // Types that are valid to be assigned to Value: - // *MetricValue_BoolValue - // *MetricValue_Int64Value - // *MetricValue_DoubleValue - // *MetricValue_StringValue - // *MetricValue_DistributionValue - Value isMetricValue_Value `protobuf_oneof:"value"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8818c371cfc5a8d3, []int{0} -} - -func (m *MetricValue) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MetricValue.Unmarshal(m, b) -} -func (m *MetricValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MetricValue.Marshal(b, m, deterministic) -} -func (m *MetricValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_MetricValue.Merge(m, src) -} -func (m *MetricValue) XXX_Size() int { - return xxx_messageInfo_MetricValue.Size(m) -} -func (m *MetricValue) XXX_DiscardUnknown() { - xxx_messageInfo_MetricValue.DiscardUnknown(m) -} - -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() -} - -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 (m *MetricValue) GetValue() isMetricValue_Value { - if m != nil { - return m.Value - } - return nil -} - -func (m *MetricValue) GetBoolValue() bool { - if x, ok := m.GetValue().(*MetricValue_BoolValue); ok { - return x.BoolValue - } - return false -} - -func (m *MetricValue) GetInt64Value() int64 { - if x, ok := m.GetValue().(*MetricValue_Int64Value); ok { - return x.Int64Value - } - return 0 -} - -func (m *MetricValue) GetDoubleValue() float64 { - if x, ok := m.GetValue().(*MetricValue_DoubleValue); ok { - return x.DoubleValue - } - return 0 -} - -func (m *MetricValue) GetStringValue() string { - if x, ok := m.GetValue().(*MetricValue_StringValue); ok { - return x.StringValue - } - return "" -} - -func (m *MetricValue) GetDistributionValue() *Distribution { - if x, ok := m.GetValue().(*MetricValue_DistributionValue); ok { - return x.DistributionValue - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*MetricValue) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*MetricValue_BoolValue)(nil), - (*MetricValue_Int64Value)(nil), - (*MetricValue_DoubleValue)(nil), - (*MetricValue_StringValue)(nil), - (*MetricValue_DistributionValue)(nil), - } -} - -// Represents a set of metric values in the same metric. -// Each metric value in the set should have a unique combination of start time, -// end time, and label values. -type MetricValueSet struct { - // The metric name defined in the service configuration. - MetricName string `protobuf:"bytes,1,opt,name=metric_name,json=metricName,proto3" json:"metric_name,omitempty"` - // The values in this metric. - MetricValues []*MetricValue `protobuf:"bytes,2,rep,name=metric_values,json=metricValues,proto3" json:"metric_values,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8818c371cfc5a8d3, []int{1} -} - -func (m *MetricValueSet) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MetricValueSet.Unmarshal(m, b) -} -func (m *MetricValueSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MetricValueSet.Marshal(b, m, deterministic) -} -func (m *MetricValueSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_MetricValueSet.Merge(m, src) -} -func (m *MetricValueSet) XXX_Size() int { - return xxx_messageInfo_MetricValueSet.Size(m) -} -func (m *MetricValueSet) XXX_DiscardUnknown() { - xxx_messageInfo_MetricValueSet.DiscardUnknown(m) -} - -var xxx_messageInfo_MetricValueSet proto.InternalMessageInfo - -func (m *MetricValueSet) GetMetricName() string { - if m != nil { - return m.MetricName - } - return "" -} - -func (m *MetricValueSet) GetMetricValues() []*MetricValue { - if m != nil { - return m.MetricValues - } - return nil -} - -func init() { - proto.RegisterType((*MetricValue)(nil), "google.api.servicecontrol.v1.MetricValue") - proto.RegisterMapType((map[string]string)(nil), "google.api.servicecontrol.v1.MetricValue.LabelsEntry") - proto.RegisterType((*MetricValueSet)(nil), "google.api.servicecontrol.v1.MetricValueSet") -} - -func init() { - proto.RegisterFile("google/api/servicecontrol/v1/metric_value.proto", fileDescriptor_8818c371cfc5a8d3) -} - -var fileDescriptor_8818c371cfc5a8d3 = []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, - 0x0f, 0x13, 0x76, 0x75, 0xc5, 0xd5, 0x5b, 0x51, 0x28, 0xe2, 0x2e, 0x4b, 0x14, 0x0f, 0x7a, 0x58, - 0x26, 0xed, 0x33, 0x0c, 0x26, 0x33, 0x21, 0x33, 0x2d, 0xf4, 0xe8, 0xcd, 0x3f, 0xd9, 0x8b, 0x20, - 0xf3,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6e, 0xca, 0x2b, - 0xb3, 0x02, 0x57, 0xe4, 0xf3, 0x3b, 0x0f, 0x95, 0xb2, 0x62, 0xa2, 0xa4, 0xb2, 0x2d, 0xb3, 0x12, - 0x85, 0x5d, 0x10, 0x7f, 0x8b, 0x58, 0xc3, 0xd5, 0xbf, 0x6f, 0xd2, 0xeb, 0x5d, 0xe5, 0x27, 0x21, - 0xc5, 0xc0, 0x92, 0xcf, 0x7e, 0x07, 0x00, 0x00, 0xff, 0xff, 0xdb, 0x00, 0x1a, 0xde, 0xef, 0x03, - 0x00, 0x00, -} 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 deleted file mode 100644 index dd6abb79..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/operation.pb.go +++ /dev/null @@ -1,256 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/servicecontrol/v1/operation.proto - -package servicecontrol - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Defines the importance of the data contained in the operation. -type Operation_Importance int32 - -const ( - // The API implementation may cache and aggregate the data. - // The data may be lost when rare and unexpected system failures occur. - Operation_LOW Operation_Importance = 0 - // The API implementation doesn't cache and aggregate the data. - // If the method returns successfully, it's guaranteed that the data has - // been persisted in durable storage. - Operation_HIGH Operation_Importance = 1 -) - -var Operation_Importance_name = map[int32]string{ - 0: "LOW", - 1: "HIGH", -} - -var Operation_Importance_value = map[string]int32{ - "LOW": 0, - "HIGH": 1, -} - -func (x Operation_Importance) String() string { - return proto.EnumName(Operation_Importance_name, int32(x)) -} - -func (Operation_Importance) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_afd5d09de2965ad3, []int{0, 0} -} - -// Represents information regarding an operation. -type Operation struct { - // Identity of the operation. This must be unique within the scope of the - // service that generated the operation. If the service calls - // Check() and Report() on the same operation, the two calls should carry - // the same id. - // - // UUID version 4 is recommended, though not required. - // In scenarios where an operation is computed from existing information - // and an idempotent id is desirable for deduplication purpose, UUID version 5 - // is recommended. See RFC 4122 for details. - OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` - // Fully qualified name of the operation. Reserved for future use. - OperationName string `protobuf:"bytes,2,opt,name=operation_name,json=operationName,proto3" json:"operation_name,omitempty"` - // Identity of the consumer who is using the service. - // This field should be filled in for the operations initiated by a - // consumer, but not for service-initiated operations that are - // not related to a specific consumer. - // - // This can be in one of the following formats: - // project:, - // project_number:, - // api_key:. - ConsumerId string `protobuf:"bytes,3,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"` - // Required. Start time of the operation. - StartTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // End time of the operation. - // Required when the operation is used in - // [ServiceController.Report][google.api.servicecontrol.v1.ServiceController.Report], - // but optional when the operation is used in - // [ServiceController.Check][google.api.servicecontrol.v1.ServiceController.Check]. - EndTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - // Labels describing the operation. Only the following labels are allowed: - // - // - Labels describing monitored resources as defined in - // the service configuration. - // - Default labels of metric values. When specified, labels defined in the - // metric value override these default. - // - The following labels defined by Google Cloud Platform: - // - `cloud.googleapis.com/location` describing the location where the - // operation happened, - // - `servicecontrol.googleapis.com/user_agent` describing the user agent - // of the API request, - // - `servicecontrol.googleapis.com/service_agent` describing the service - // used to handle the API request (e.g. ESP), - // - `servicecontrol.googleapis.com/platform` describing the platform - // where the API is served (e.g. GAE, GCE, GKE). - 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"` - // Represents information about this operation. Each MetricValueSet - // corresponds to a metric defined in the service configuration. - // The data type used in the MetricValueSet must agree with - // the data type specified in the metric definition. - // - // Within a single operation, it is not allowed to have more than one - // MetricValue instances that have the same metric names and identical - // label value combinations. If a request has such duplicated MetricValue - // instances, the entire request is rejected with - // an invalid argument error. - MetricValueSets []*MetricValueSet `protobuf:"bytes,7,rep,name=metric_value_sets,json=metricValueSets,proto3" json:"metric_value_sets,omitempty"` - // Represents information to be logged. - LogEntries []*LogEntry `protobuf:"bytes,8,rep,name=log_entries,json=logEntries,proto3" json:"log_entries,omitempty"` - // DO NOT USE. This is an experimental field. - Importance Operation_Importance `protobuf:"varint,11,opt,name=importance,proto3,enum=google.api.servicecontrol.v1.Operation_Importance" json:"importance,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_afd5d09de2965ad3, []int{0} -} - -func (m *Operation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Operation.Unmarshal(m, b) -} -func (m *Operation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Operation.Marshal(b, m, deterministic) -} -func (m *Operation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Operation.Merge(m, src) -} -func (m *Operation) XXX_Size() int { - return xxx_messageInfo_Operation.Size(m) -} -func (m *Operation) XXX_DiscardUnknown() { - xxx_messageInfo_Operation.DiscardUnknown(m) -} - -var xxx_messageInfo_Operation proto.InternalMessageInfo - -func (m *Operation) GetOperationId() string { - if m != nil { - return m.OperationId - } - return "" -} - -func (m *Operation) GetOperationName() string { - if m != nil { - return m.OperationName - } - return "" -} - -func (m *Operation) GetConsumerId() string { - if m != nil { - return m.ConsumerId - } - return "" -} - -func (m *Operation) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *Operation) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -func (m *Operation) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -func (m *Operation) GetMetricValueSets() []*MetricValueSet { - if m != nil { - return m.MetricValueSets - } - return nil -} - -func (m *Operation) GetLogEntries() []*LogEntry { - if m != nil { - return m.LogEntries - } - return nil -} - -func (m *Operation) GetImportance() Operation_Importance { - if m != nil { - return m.Importance - } - return Operation_LOW -} - -func init() { - proto.RegisterEnum("google.api.servicecontrol.v1.Operation_Importance", Operation_Importance_name, Operation_Importance_value) - proto.RegisterType((*Operation)(nil), "google.api.servicecontrol.v1.Operation") - proto.RegisterMapType((map[string]string)(nil), "google.api.servicecontrol.v1.Operation.LabelsEntry") -} - -func init() { - proto.RegisterFile("google/api/servicecontrol/v1/operation.proto", fileDescriptor_afd5d09de2965ad3) -} - -var fileDescriptor_afd5d09de2965ad3 = []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, - 0x28, 0xb3, 0x34, 0x45, 0xb0, 0x7a, 0x2b, 0x48, 0x1b, 0x8d, 0xb6, 0xac, 0xa2, 0xe2, 0x25, 0x4c, - 0x36, 0xcf, 0x65, 0x70, 0x77, 0x66, 0x99, 0x99, 0x04, 0x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 0x1a, 0x92, 0x8b, 0x5f, 0x04, 0x26, 0x91, 0x4a, 0x1b, 0x13, 0x5e, 0x0c, 0xea, 0x88, 0x37, - 0xf9, 0xaa, 0x6f, 0xc8, 0xf7, 0x77, 0xa5, 0x3e, 0x56, 0x09, 0x97, 0x31, 0x53, 0x3a, 0x0e, 0x62, - 0x94, 0xee, 0x22, 0x94, 0xcf, 0x85, 0x67, 0xc2, 0xfc, 0xfb, 0xc9, 0xbc, 0xd9, 0xef, 0xfc, 0x21, - 0x64, 0xd5, 0x71, 0xe4, 0xd9, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x8d, 0x9c, 0xc2, 0x5d, 0x03, - 0x04, 0x00, 0x00, -} 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 deleted file mode 100644 index 9ffe7269..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/quota_controller.pb.go +++ /dev/null @@ -1,608 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/servicecontrol/v1/quota_controller.proto - -package servicecontrol - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Supported quota modes. -type QuotaOperation_QuotaMode int32 - -const ( - // Guard against implicit default. Must not be used. - QuotaOperation_UNSPECIFIED QuotaOperation_QuotaMode = 0 - // For AllocateQuota request, allocates quota for the amount specified in - // the service configuration or specified using the quota metrics. If the - // amount is higher than the available quota, allocation error will be - // returned and no quota will be allocated. - QuotaOperation_NORMAL QuotaOperation_QuotaMode = 1 - // The operation allocates quota for the amount specified in the service - // configuration or specified using the quota metrics. If the amount is - // higher than the available quota, request does not fail but all available - // quota will be allocated. - QuotaOperation_BEST_EFFORT QuotaOperation_QuotaMode = 2 - // For AllocateQuota request, only checks if there is enough quota - // available and does not change the available quota. No lock is placed on - // the available quota either. - QuotaOperation_CHECK_ONLY QuotaOperation_QuotaMode = 3 -) - -var QuotaOperation_QuotaMode_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "NORMAL", - 2: "BEST_EFFORT", - 3: "CHECK_ONLY", -} - -var QuotaOperation_QuotaMode_value = map[string]int32{ - "UNSPECIFIED": 0, - "NORMAL": 1, - "BEST_EFFORT": 2, - "CHECK_ONLY": 3, -} - -func (x QuotaOperation_QuotaMode) String() string { - return proto.EnumName(QuotaOperation_QuotaMode_name, int32(x)) -} - -func (QuotaOperation_QuotaMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4401e348913df3b0, []int{1, 0} -} - -// Error codes related to project config validations are deprecated since the -// quota controller methods do not perform these validations. Instead services -// have to call the Check method, without quota_properties field, to perform -// these validations before calling the quota controller methods. These -// methods check only for project deletion to be wipe out compliant. -type QuotaError_Code int32 - -const ( - // This is never used. - QuotaError_UNSPECIFIED QuotaError_Code = 0 - // Quota allocation failed. - // Same as [google.rpc.Code.RESOURCE_EXHAUSTED][]. - QuotaError_RESOURCE_EXHAUSTED QuotaError_Code = 8 - // Consumer cannot access the service because the service requires active - // billing. - QuotaError_BILLING_NOT_ACTIVE QuotaError_Code = 107 - // Consumer's project has been marked as deleted (soft deletion). - QuotaError_PROJECT_DELETED QuotaError_Code = 108 - // Specified API key is invalid. - QuotaError_API_KEY_INVALID QuotaError_Code = 105 - // Specified API Key has expired. - QuotaError_API_KEY_EXPIRED QuotaError_Code = 112 -) - -var QuotaError_Code_name = map[int32]string{ - 0: "UNSPECIFIED", - 8: "RESOURCE_EXHAUSTED", - 107: "BILLING_NOT_ACTIVE", - 108: "PROJECT_DELETED", - 105: "API_KEY_INVALID", - 112: "API_KEY_EXPIRED", -} - -var QuotaError_Code_value = map[string]int32{ - "UNSPECIFIED": 0, - "RESOURCE_EXHAUSTED": 8, - "BILLING_NOT_ACTIVE": 107, - "PROJECT_DELETED": 108, - "API_KEY_INVALID": 105, - "API_KEY_EXPIRED": 112, -} - -func (x QuotaError_Code) String() string { - return proto.EnumName(QuotaError_Code_name, int32(x)) -} - -func (QuotaError_Code) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4401e348913df3b0, []int{3, 0} -} - -// Request message for the AllocateQuota method. -type AllocateQuotaRequest struct { - // Name of the service as specified in the service configuration. For example, - // `"pubsub.googleapis.com"`. - // - // See [google.api.Service][google.api.Service] for the definition of a - // service name. - ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` - // Operation that describes the quota allocation. - AllocateOperation *QuotaOperation `protobuf:"bytes,2,opt,name=allocate_operation,json=allocateOperation,proto3" json:"allocate_operation,omitempty"` - // Specifies which version of service configuration should be used to process - // the request. If unspecified or no matching version can be found, the latest - // one will be used. - ServiceConfigId string `protobuf:"bytes,4,opt,name=service_config_id,json=serviceConfigId,proto3" json:"service_config_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_4401e348913df3b0, []int{0} -} - -func (m *AllocateQuotaRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AllocateQuotaRequest.Unmarshal(m, b) -} -func (m *AllocateQuotaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AllocateQuotaRequest.Marshal(b, m, deterministic) -} -func (m *AllocateQuotaRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AllocateQuotaRequest.Merge(m, src) -} -func (m *AllocateQuotaRequest) XXX_Size() int { - return xxx_messageInfo_AllocateQuotaRequest.Size(m) -} -func (m *AllocateQuotaRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AllocateQuotaRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AllocateQuotaRequest proto.InternalMessageInfo - -func (m *AllocateQuotaRequest) GetServiceName() string { - if m != nil { - return m.ServiceName - } - return "" -} - -func (m *AllocateQuotaRequest) GetAllocateOperation() *QuotaOperation { - if m != nil { - return m.AllocateOperation - } - return nil -} - -func (m *AllocateQuotaRequest) GetServiceConfigId() string { - if m != nil { - return m.ServiceConfigId - } - return "" -} - -// Represents information regarding a quota operation. -type QuotaOperation struct { - // Identity of the operation. This is expected to be unique within the scope - // of the service that generated the operation, and guarantees idempotency in - // case of retries. - // - // UUID version 4 is recommended, though not required. In scenarios where an - // operation is computed from existing information and an idempotent id is - // desirable for deduplication purpose, UUID version 5 is recommended. See - // RFC 4122 for details. - OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` - // Fully qualified name of the API method for which this quota operation is - // requested. This name is used for matching quota rules or metric rules and - // billing status rules defined in service configuration. This field is not - // required if the quota operation is performed on non-API resources. - // - // Example of an RPC method name: - // google.example.library.v1.LibraryService.CreateShelf - MethodName string `protobuf:"bytes,2,opt,name=method_name,json=methodName,proto3" json:"method_name,omitempty"` - // Identity of the consumer for whom this quota operation is being performed. - // - // This can be in one of the following formats: - // project:, - // project_number:, - // api_key:. - ConsumerId string `protobuf:"bytes,3,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"` - // Labels describing the operation. - 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"` - // Represents information about this operation. Each MetricValueSet - // corresponds to a metric defined in the service configuration. - // The data type used in the MetricValueSet must agree with - // the data type specified in the metric definition. - // - // Within a single operation, it is not allowed to have more than one - // MetricValue instances that have the same metric names and identical - // label value combinations. If a request has such duplicated MetricValue - // instances, the entire request is rejected with - // an invalid argument error. - QuotaMetrics []*MetricValueSet `protobuf:"bytes,5,rep,name=quota_metrics,json=quotaMetrics,proto3" json:"quota_metrics,omitempty"` - // Quota mode for this operation. - QuotaMode QuotaOperation_QuotaMode `protobuf:"varint,6,opt,name=quota_mode,json=quotaMode,proto3,enum=google.api.servicecontrol.v1.QuotaOperation_QuotaMode" json:"quota_mode,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_4401e348913df3b0, []int{1} -} - -func (m *QuotaOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QuotaOperation.Unmarshal(m, b) -} -func (m *QuotaOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QuotaOperation.Marshal(b, m, deterministic) -} -func (m *QuotaOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_QuotaOperation.Merge(m, src) -} -func (m *QuotaOperation) XXX_Size() int { - return xxx_messageInfo_QuotaOperation.Size(m) -} -func (m *QuotaOperation) XXX_DiscardUnknown() { - xxx_messageInfo_QuotaOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_QuotaOperation proto.InternalMessageInfo - -func (m *QuotaOperation) GetOperationId() string { - if m != nil { - return m.OperationId - } - return "" -} - -func (m *QuotaOperation) GetMethodName() string { - if m != nil { - return m.MethodName - } - return "" -} - -func (m *QuotaOperation) GetConsumerId() string { - if m != nil { - return m.ConsumerId - } - return "" -} - -func (m *QuotaOperation) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -func (m *QuotaOperation) GetQuotaMetrics() []*MetricValueSet { - if m != nil { - return m.QuotaMetrics - } - return nil -} - -func (m *QuotaOperation) GetQuotaMode() QuotaOperation_QuotaMode { - if m != nil { - return m.QuotaMode - } - return QuotaOperation_UNSPECIFIED -} - -// Response message for the AllocateQuota method. -type AllocateQuotaResponse struct { - // The same operation_id value used in the AllocateQuotaRequest. Used for - // logging and diagnostics purposes. - OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` - // Indicates the decision of the allocate. - AllocateErrors []*QuotaError `protobuf:"bytes,2,rep,name=allocate_errors,json=allocateErrors,proto3" json:"allocate_errors,omitempty"` - // Quota metrics to indicate the result of allocation. Depending on the - // request, one or more of the following metrics will be included: - // - // 1. Per quota group or per quota metric incremental usage will be specified - // using the following delta metric : - // "serviceruntime.googleapis.com/api/consumer/quota_used_count" - // - // 2. The quota limit reached condition will be specified using the following - // boolean metric : - // "serviceruntime.googleapis.com/quota/exceeded" - QuotaMetrics []*MetricValueSet `protobuf:"bytes,3,rep,name=quota_metrics,json=quotaMetrics,proto3" json:"quota_metrics,omitempty"` - // ID of the actual config used to process the request. - ServiceConfigId string `protobuf:"bytes,4,opt,name=service_config_id,json=serviceConfigId,proto3" json:"service_config_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_4401e348913df3b0, []int{2} -} - -func (m *AllocateQuotaResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AllocateQuotaResponse.Unmarshal(m, b) -} -func (m *AllocateQuotaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AllocateQuotaResponse.Marshal(b, m, deterministic) -} -func (m *AllocateQuotaResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AllocateQuotaResponse.Merge(m, src) -} -func (m *AllocateQuotaResponse) XXX_Size() int { - return xxx_messageInfo_AllocateQuotaResponse.Size(m) -} -func (m *AllocateQuotaResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AllocateQuotaResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AllocateQuotaResponse proto.InternalMessageInfo - -func (m *AllocateQuotaResponse) GetOperationId() string { - if m != nil { - return m.OperationId - } - return "" -} - -func (m *AllocateQuotaResponse) GetAllocateErrors() []*QuotaError { - if m != nil { - return m.AllocateErrors - } - return nil -} - -func (m *AllocateQuotaResponse) GetQuotaMetrics() []*MetricValueSet { - if m != nil { - return m.QuotaMetrics - } - return nil -} - -func (m *AllocateQuotaResponse) GetServiceConfigId() string { - if m != nil { - return m.ServiceConfigId - } - return "" -} - -// Represents error information for -// [QuotaOperation][google.api.servicecontrol.v1.QuotaOperation]. -type QuotaError struct { - // Error code. - Code QuotaError_Code `protobuf:"varint,1,opt,name=code,proto3,enum=google.api.servicecontrol.v1.QuotaError_Code" json:"code,omitempty"` - // Subject to whom this error applies. See the specific enum for more details - // on this field. For example, "clientip:" or - // "project:". - Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` - // Free-form text that provides details on the cause of the error. - 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 *QuotaError) Reset() { *m = QuotaError{} } -func (m *QuotaError) String() string { return proto.CompactTextString(m) } -func (*QuotaError) ProtoMessage() {} -func (*QuotaError) Descriptor() ([]byte, []int) { - return fileDescriptor_4401e348913df3b0, []int{3} -} - -func (m *QuotaError) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QuotaError.Unmarshal(m, b) -} -func (m *QuotaError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QuotaError.Marshal(b, m, deterministic) -} -func (m *QuotaError) XXX_Merge(src proto.Message) { - xxx_messageInfo_QuotaError.Merge(m, src) -} -func (m *QuotaError) XXX_Size() int { - return xxx_messageInfo_QuotaError.Size(m) -} -func (m *QuotaError) XXX_DiscardUnknown() { - xxx_messageInfo_QuotaError.DiscardUnknown(m) -} - -var xxx_messageInfo_QuotaError proto.InternalMessageInfo - -func (m *QuotaError) GetCode() QuotaError_Code { - if m != nil { - return m.Code - } - return QuotaError_UNSPECIFIED -} - -func (m *QuotaError) GetSubject() string { - if m != nil { - return m.Subject - } - return "" -} - -func (m *QuotaError) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func init() { - proto.RegisterEnum("google.api.servicecontrol.v1.QuotaOperation_QuotaMode", QuotaOperation_QuotaMode_name, QuotaOperation_QuotaMode_value) - proto.RegisterEnum("google.api.servicecontrol.v1.QuotaError_Code", QuotaError_Code_name, QuotaError_Code_value) - proto.RegisterType((*AllocateQuotaRequest)(nil), "google.api.servicecontrol.v1.AllocateQuotaRequest") - proto.RegisterType((*QuotaOperation)(nil), "google.api.servicecontrol.v1.QuotaOperation") - proto.RegisterMapType((map[string]string)(nil), "google.api.servicecontrol.v1.QuotaOperation.LabelsEntry") - proto.RegisterType((*AllocateQuotaResponse)(nil), "google.api.servicecontrol.v1.AllocateQuotaResponse") - proto.RegisterType((*QuotaError)(nil), "google.api.servicecontrol.v1.QuotaError") -} - -func init() { - proto.RegisterFile("google/api/servicecontrol/v1/quota_controller.proto", fileDescriptor_4401e348913df3b0) -} - -var fileDescriptor_4401e348913df3b0 = []byte{ - // 775 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 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, - 0xc1, 0xb0, 0x3a, 0xa4, 0x1e, 0x7f, 0x02, 0xd2, 0x27, 0xc3, 0xf4, 0x9d, 0x70, 0xf9, 0xb3, 0xf1, - 0xfd, 0x22, 0xf2, 0x06, 0xa1, 0xbb, 0x1c, 0x67, 0x1e, 0xbd, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xbb, - 0x98, 0x03, 0x4f, 0xe0, 0x06, 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 - -// QuotaControllerClient is the client API for QuotaController service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type QuotaControllerClient interface { - // Attempts to allocate quota for the specified consumer. It should be called - // before the operation is executed. - // - // This method requires the `servicemanagement.services.quota` - // permission on the specified service. For more information, see - // [Cloud IAM](https://cloud.google.com/iam). - // - // **NOTE:** The client **must** fail-open on server errors `INTERNAL`, - // `UNKNOWN`, `DEADLINE_EXCEEDED`, and `UNAVAILABLE`. To ensure system - // reliability, the server may inject these errors to prohibit any hard - // dependency on the quota functionality. - AllocateQuota(ctx context.Context, in *AllocateQuotaRequest, opts ...grpc.CallOption) (*AllocateQuotaResponse, error) -} - -type quotaControllerClient struct { - cc *grpc.ClientConn -} - -func NewQuotaControllerClient(cc *grpc.ClientConn) QuotaControllerClient { - return "aControllerClient{cc} -} - -func (c *quotaControllerClient) AllocateQuota(ctx context.Context, in *AllocateQuotaRequest, opts ...grpc.CallOption) (*AllocateQuotaResponse, error) { - out := new(AllocateQuotaResponse) - err := c.cc.Invoke(ctx, "/google.api.servicecontrol.v1.QuotaController/AllocateQuota", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// QuotaControllerServer is the server API for QuotaController service. -type QuotaControllerServer interface { - // Attempts to allocate quota for the specified consumer. It should be called - // before the operation is executed. - // - // This method requires the `servicemanagement.services.quota` - // permission on the specified service. For more information, see - // [Cloud IAM](https://cloud.google.com/iam). - // - // **NOTE:** The client **must** fail-open on server errors `INTERNAL`, - // `UNKNOWN`, `DEADLINE_EXCEEDED`, and `UNAVAILABLE`. To ensure system - // reliability, the server may inject these errors to prohibit any hard - // dependency on the quota functionality. - AllocateQuota(context.Context, *AllocateQuotaRequest) (*AllocateQuotaResponse, error) -} - -// UnimplementedQuotaControllerServer can be embedded to have forward compatible implementations. -type UnimplementedQuotaControllerServer struct { -} - -func (*UnimplementedQuotaControllerServer) AllocateQuota(ctx context.Context, req *AllocateQuotaRequest) (*AllocateQuotaResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AllocateQuota not implemented") -} - -func RegisterQuotaControllerServer(s *grpc.Server, srv QuotaControllerServer) { - s.RegisterService(&_QuotaController_serviceDesc, srv) -} - -func _QuotaController_AllocateQuota_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AllocateQuotaRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(QuotaControllerServer).AllocateQuota(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.api.servicecontrol.v1.QuotaController/AllocateQuota", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QuotaControllerServer).AllocateQuota(ctx, req.(*AllocateQuotaRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _QuotaController_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.api.servicecontrol.v1.QuotaController", - HandlerType: (*QuotaControllerServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AllocateQuota", - Handler: _QuotaController_AllocateQuota_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/api/servicecontrol/v1/quota_controller.proto", -} 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 deleted file mode 100644 index a4cd7b29..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/servicecontrol/v1/service_controller.pb.go +++ /dev/null @@ -1,698 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/servicecontrol/v1/service_controller.proto - -package servicecontrol - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for the Check method. -type CheckRequest struct { - // The service name as specified in its service configuration. For example, - // `"pubsub.googleapis.com"`. - // - // See - // [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service) - // for the definition of a service name. - ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` - // The operation to be checked. - Operation *Operation `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"` - // Specifies which version of service configuration should be used to process - // the request. - // - // If unspecified or no matching version can be found, the - // latest one will be used. - ServiceConfigId string `protobuf:"bytes,4,opt,name=service_config_id,json=serviceConfigId,proto3" json:"service_config_id,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_8f215053b51b20e0, []int{0} -} - -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 (m *CheckRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CheckRequest.Merge(m, 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) GetServiceName() string { - if m != nil { - return m.ServiceName - } - return "" -} - -func (m *CheckRequest) GetOperation() *Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *CheckRequest) GetServiceConfigId() string { - if m != nil { - return m.ServiceConfigId - } - return "" -} - -// Response message for the Check method. -type CheckResponse struct { - // The same operation_id value used in the - // [CheckRequest][google.api.servicecontrol.v1.CheckRequest]. Used for logging - // and diagnostics purposes. - OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` - // The current service rollout id used to process the request. - ServiceRolloutId string `protobuf:"bytes,11,opt,name=service_rollout_id,json=serviceRolloutId,proto3" json:"service_rollout_id,omitempty"` - // Indicate the decision of the check. - // - // If no check errors are present, the service should process the operation. - // Otherwise the service should use the list of errors to determine the - // appropriate action. - CheckErrors []*CheckError `protobuf:"bytes,2,rep,name=check_errors,json=checkErrors,proto3" json:"check_errors,omitempty"` - // The actual config id used to process the request. - ServiceConfigId string `protobuf:"bytes,5,opt,name=service_config_id,json=serviceConfigId,proto3" json:"service_config_id,omitempty"` - // Feedback data returned from the server during processing a Check request. - CheckInfo *CheckResponse_CheckInfo `protobuf:"bytes,6,opt,name=check_info,json=checkInfo,proto3" json:"check_info,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_8f215053b51b20e0, []int{1} -} - -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 (m *CheckResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CheckResponse.Merge(m, 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) GetOperationId() string { - if m != nil { - return m.OperationId - } - return "" -} - -func (m *CheckResponse) GetServiceRolloutId() string { - if m != nil { - return m.ServiceRolloutId - } - return "" -} - -func (m *CheckResponse) GetCheckErrors() []*CheckError { - if m != nil { - return m.CheckErrors - } - return nil -} - -func (m *CheckResponse) GetServiceConfigId() string { - if m != nil { - return m.ServiceConfigId - } - return "" -} - -func (m *CheckResponse) GetCheckInfo() *CheckResponse_CheckInfo { - if m != nil { - return m.CheckInfo - } - return nil -} - -type CheckResponse_CheckInfo struct { - // Consumer info of this check. - ConsumerInfo *CheckResponse_ConsumerInfo `protobuf:"bytes,2,opt,name=consumer_info,json=consumerInfo,proto3" json:"consumer_info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8f215053b51b20e0, []int{1, 0} -} - -func (m *CheckResponse_CheckInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CheckResponse_CheckInfo.Unmarshal(m, b) -} -func (m *CheckResponse_CheckInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CheckResponse_CheckInfo.Marshal(b, m, deterministic) -} -func (m *CheckResponse_CheckInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_CheckResponse_CheckInfo.Merge(m, src) -} -func (m *CheckResponse_CheckInfo) XXX_Size() int { - return xxx_messageInfo_CheckResponse_CheckInfo.Size(m) -} -func (m *CheckResponse_CheckInfo) XXX_DiscardUnknown() { - xxx_messageInfo_CheckResponse_CheckInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_CheckResponse_CheckInfo proto.InternalMessageInfo - -func (m *CheckResponse_CheckInfo) GetConsumerInfo() *CheckResponse_ConsumerInfo { - if m != nil { - return m.ConsumerInfo - } - return nil -} - -// `ConsumerInfo` provides information about the consumer project. -type CheckResponse_ConsumerInfo struct { - // The Google cloud project number, e.g. 1234567890. A value of 0 indicates - // no project number is found. - ProjectNumber int64 `protobuf:"varint,1,opt,name=project_number,json=projectNumber,proto3" json:"project_number,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CheckResponse_ConsumerInfo) Reset() { *m = CheckResponse_ConsumerInfo{} } -func (m *CheckResponse_ConsumerInfo) String() string { return proto.CompactTextString(m) } -func (*CheckResponse_ConsumerInfo) ProtoMessage() {} -func (*CheckResponse_ConsumerInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_8f215053b51b20e0, []int{1, 1} -} - -func (m *CheckResponse_ConsumerInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CheckResponse_ConsumerInfo.Unmarshal(m, b) -} -func (m *CheckResponse_ConsumerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CheckResponse_ConsumerInfo.Marshal(b, m, deterministic) -} -func (m *CheckResponse_ConsumerInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_CheckResponse_ConsumerInfo.Merge(m, src) -} -func (m *CheckResponse_ConsumerInfo) XXX_Size() int { - return xxx_messageInfo_CheckResponse_ConsumerInfo.Size(m) -} -func (m *CheckResponse_ConsumerInfo) XXX_DiscardUnknown() { - xxx_messageInfo_CheckResponse_ConsumerInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_CheckResponse_ConsumerInfo proto.InternalMessageInfo - -func (m *CheckResponse_ConsumerInfo) GetProjectNumber() int64 { - if m != nil { - return m.ProjectNumber - } - return 0 -} - -// Request message for the Report method. -type ReportRequest struct { - // The service name as specified in its service configuration. For example, - // `"pubsub.googleapis.com"`. - // - // See - // [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service) - // for the definition of a service name. - ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` - // Operations to be reported. - // - // Typically the service should report one operation per request. - // Putting multiple operations into a single request is allowed, but should - // be used only when multiple operations are natually available at the time - // of the report. - // - // If multiple operations are in a single request, the total request size - // should be no larger than 1MB. See - // [ReportResponse.report_errors][google.api.servicecontrol.v1.ReportResponse.report_errors] - // for partial failure behavior. - Operations []*Operation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` - // Specifies which version of service config should be used to process the - // request. - // - // If unspecified or no matching version can be found, the - // latest one will be used. - ServiceConfigId string `protobuf:"bytes,3,opt,name=service_config_id,json=serviceConfigId,proto3" json:"service_config_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8f215053b51b20e0, []int{2} -} - -func (m *ReportRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReportRequest.Unmarshal(m, b) -} -func (m *ReportRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReportRequest.Marshal(b, m, deterministic) -} -func (m *ReportRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReportRequest.Merge(m, src) -} -func (m *ReportRequest) XXX_Size() int { - return xxx_messageInfo_ReportRequest.Size(m) -} -func (m *ReportRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ReportRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ReportRequest proto.InternalMessageInfo - -func (m *ReportRequest) GetServiceName() string { - if m != nil { - return m.ServiceName - } - return "" -} - -func (m *ReportRequest) GetOperations() []*Operation { - if m != nil { - return m.Operations - } - return nil -} - -func (m *ReportRequest) GetServiceConfigId() string { - if m != nil { - return m.ServiceConfigId - } - return "" -} - -// Response message for the Report method. -type ReportResponse struct { - // Partial failures, one for each `Operation` in the request that failed - // processing. There are three possible combinations of the RPC status: - // - // 1. The combination of a successful RPC status and an empty `report_errors` - // list indicates a complete success where all `Operations` in the - // request are processed successfully. - // 2. The combination of a successful RPC status and a non-empty - // `report_errors` list indicates a partial success where some - // `Operations` in the request succeeded. Each - // `Operation` that failed processing has a corresponding item - // in this list. - // 3. A failed RPC status indicates a general non-deterministic failure. - // When this happens, it's impossible to know which of the - // 'Operations' in the request succeeded or failed. - ReportErrors []*ReportResponse_ReportError `protobuf:"bytes,1,rep,name=report_errors,json=reportErrors,proto3" json:"report_errors,omitempty"` - // The actual config id used to process the request. - ServiceConfigId string `protobuf:"bytes,2,opt,name=service_config_id,json=serviceConfigId,proto3" json:"service_config_id,omitempty"` - // The current service rollout id used to process the request. - ServiceRolloutId string `protobuf:"bytes,4,opt,name=service_rollout_id,json=serviceRolloutId,proto3" json:"service_rollout_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8f215053b51b20e0, []int{3} -} - -func (m *ReportResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReportResponse.Unmarshal(m, b) -} -func (m *ReportResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReportResponse.Marshal(b, m, deterministic) -} -func (m *ReportResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReportResponse.Merge(m, src) -} -func (m *ReportResponse) XXX_Size() int { - return xxx_messageInfo_ReportResponse.Size(m) -} -func (m *ReportResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ReportResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ReportResponse proto.InternalMessageInfo - -func (m *ReportResponse) GetReportErrors() []*ReportResponse_ReportError { - if m != nil { - return m.ReportErrors - } - return nil -} - -func (m *ReportResponse) GetServiceConfigId() string { - if m != nil { - return m.ServiceConfigId - } - return "" -} - -func (m *ReportResponse) GetServiceRolloutId() string { - if m != nil { - return m.ServiceRolloutId - } - return "" -} - -// Represents the processing error of one -// [Operation][google.api.servicecontrol.v1.Operation] in the request. -type ReportResponse_ReportError struct { - // The - // [Operation.operation_id][google.api.servicecontrol.v1.Operation.operation_id] - // value from the request. - OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` - // Details of the error when processing the - // [Operation][google.api.servicecontrol.v1.Operation]. - Status *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ReportResponse_ReportError) Reset() { *m = ReportResponse_ReportError{} } -func (m *ReportResponse_ReportError) String() string { return proto.CompactTextString(m) } -func (*ReportResponse_ReportError) ProtoMessage() {} -func (*ReportResponse_ReportError) Descriptor() ([]byte, []int) { - return fileDescriptor_8f215053b51b20e0, []int{3, 0} -} - -func (m *ReportResponse_ReportError) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReportResponse_ReportError.Unmarshal(m, b) -} -func (m *ReportResponse_ReportError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReportResponse_ReportError.Marshal(b, m, deterministic) -} -func (m *ReportResponse_ReportError) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReportResponse_ReportError.Merge(m, src) -} -func (m *ReportResponse_ReportError) XXX_Size() int { - return xxx_messageInfo_ReportResponse_ReportError.Size(m) -} -func (m *ReportResponse_ReportError) XXX_DiscardUnknown() { - xxx_messageInfo_ReportResponse_ReportError.DiscardUnknown(m) -} - -var xxx_messageInfo_ReportResponse_ReportError proto.InternalMessageInfo - -func (m *ReportResponse_ReportError) GetOperationId() string { - if m != nil { - return m.OperationId - } - return "" -} - -func (m *ReportResponse_ReportError) GetStatus() *status.Status { - if m != nil { - return m.Status - } - return nil -} - -func init() { - proto.RegisterType((*CheckRequest)(nil), "google.api.servicecontrol.v1.CheckRequest") - proto.RegisterType((*CheckResponse)(nil), "google.api.servicecontrol.v1.CheckResponse") - proto.RegisterType((*CheckResponse_CheckInfo)(nil), "google.api.servicecontrol.v1.CheckResponse.CheckInfo") - proto.RegisterType((*CheckResponse_ConsumerInfo)(nil), "google.api.servicecontrol.v1.CheckResponse.ConsumerInfo") - proto.RegisterType((*ReportRequest)(nil), "google.api.servicecontrol.v1.ReportRequest") - proto.RegisterType((*ReportResponse)(nil), "google.api.servicecontrol.v1.ReportResponse") - proto.RegisterType((*ReportResponse_ReportError)(nil), "google.api.servicecontrol.v1.ReportResponse.ReportError") -} - -func init() { - proto.RegisterFile("google/api/servicecontrol/v1/service_controller.proto", fileDescriptor_8f215053b51b20e0) -} - -var fileDescriptor_8f215053b51b20e0 = []byte{ - // 645 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x55, 0x4d, 0x6e, 0xd3, 0x40, - 0x14, 0xd6, 0x38, 0x6d, 0xa4, 0x3c, 0x3b, 0x85, 0xce, 0x02, 0x22, 0xab, 0x8b, 0xd4, 0x12, 0x34, - 0x4a, 0x83, 0xad, 0x16, 0x55, 0x42, 0x65, 0x45, 0xab, 0xaa, 0x0a, 0x48, 0xa5, 0x72, 0x59, 0x21, - 0xaa, 0xc8, 0x9d, 0x4c, 0x8d, 0x4b, 0x32, 0x63, 0xc6, 0x4e, 0x37, 0x88, 0x0d, 0x07, 0x60, 0x51, - 0x6e, 0x80, 0x90, 0x7a, 0x06, 0xae, 0x01, 0x57, 0xe0, 0x10, 0x2c, 0x91, 0x67, 0xc6, 0xae, 0x2b, - 0x8c, 0x49, 0x76, 0x99, 0xf7, 0xf7, 0x7d, 0xef, 0xbd, 0xcf, 0x2f, 0xb0, 0x13, 0x72, 0x1e, 0x4e, - 0xa8, 0x17, 0xc4, 0x91, 0x97, 0x50, 0x71, 0x19, 0x11, 0x4a, 0x38, 0x4b, 0x05, 0x9f, 0x78, 0x97, - 0x5b, 0xb9, 0x65, 0xa4, 0x4d, 0x13, 0x2a, 0xdc, 0x58, 0xf0, 0x94, 0xe3, 0x35, 0x95, 0xe6, 0x06, - 0x71, 0xe4, 0xde, 0x4e, 0x73, 0x2f, 0xb7, 0xec, 0xb5, 0x52, 0xd1, 0x80, 0x31, 0x9e, 0x06, 0x69, - 0xc4, 0x59, 0xa2, 0x72, 0x6d, 0xb7, 0x16, 0x92, 0xbc, 0xa5, 0xe4, 0xdd, 0x88, 0x0a, 0xc1, 0x35,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xd7, 0x17, 0xe3, 0xa1, - 0xb3, 0x5e, 0xba, 0xd0, 0x89, 0xf7, 0xa1, 0x2c, 0xa7, 0x8f, 0xbb, 0xf2, 0xf3, 0xd8, 0x45, 0x7d, - 0x7c, 0x85, 0xa0, 0xa9, 0xa6, 0x80, 0x37, 0xe7, 0xdb, 0x98, 0xa2, 0x34, 0x58, 0x64, 0xbd, 0xce, - 0x23, 0xc9, 0x69, 0xc3, 0x71, 0xea, 0x38, 0xa9, 0xb5, 0xef, 0xa2, 0xfe, 0xde, 0x15, 0x82, 0x2e, - 0xe1, 0xd3, 0x5a, 0x88, 0xbd, 0x7b, 0x7f, 0x4d, 0xf7, 0x38, 0x3b, 0xe4, 0xc7, 0xe8, 0xf5, 0x73, - 0x9d, 0x17, 0xf2, 0x49, 0xc0, 0x42, 0x97, 0x8b, 0xd0, 0x0b, 0x29, 0x93, 0x67, 0xde, 0x53, 0xae, - 0x20, 0x8e, 0x92, 0xea, 0x3f, 0x8c, 0xa7, 0xb7, 0x2d, 0xbf, 0x11, 0xfa, 0x6a, 0x2c, 0x1d, 0x3e, - 0x3b, 0xd9, 0x3f, 0x6b, 0xca, 0x02, 0x8f, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x2b, 0x33, 0x19, - 0x2a, 0x13, 0x07, 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 - -// ServiceControllerClient is the client API for ServiceController service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ServiceControllerClient interface { - // Checks an operation with Google Service Control to decide whether - // the given operation should proceed. It should be called before the - // operation is executed. - // - // If feasible, the client should cache the check results and reuse them for - // 60 seconds. In case of server errors, the client can rely on the cached - // results for longer time. - // - // NOTE: the [CheckRequest][google.api.servicecontrol.v1.CheckRequest] has the - // size limit of 64KB. - // - // This method requires the `servicemanagement.services.check` permission - // on the specified service. For more information, see - // [Google Cloud IAM](https://cloud.google.com/iam). - Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error) - // Reports operation results to Google Service Control, such as logs and - // metrics. It should be called after an operation is completed. - // - // If feasible, the client should aggregate reporting data for up to 5 - // seconds to reduce API traffic. Limiting aggregation to 5 seconds is to - // reduce data loss during client crashes. Clients should carefully choose - // the aggregation time window to avoid data loss risk more than 0.01% - // for business and compliance reasons. - // - // NOTE: the [ReportRequest][google.api.servicecontrol.v1.ReportRequest] has - // the size limit of 1MB. - // - // This method requires the `servicemanagement.services.report` permission - // on the specified service. For more information, see - // [Google Cloud IAM](https://cloud.google.com/iam). - Report(ctx context.Context, in *ReportRequest, opts ...grpc.CallOption) (*ReportResponse, error) -} - -type serviceControllerClient struct { - cc *grpc.ClientConn -} - -func NewServiceControllerClient(cc *grpc.ClientConn) ServiceControllerClient { - return &serviceControllerClient{cc} -} - -func (c *serviceControllerClient) Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error) { - out := new(CheckResponse) - err := c.cc.Invoke(ctx, "/google.api.servicecontrol.v1.ServiceController/Check", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *serviceControllerClient) Report(ctx context.Context, in *ReportRequest, opts ...grpc.CallOption) (*ReportResponse, error) { - out := new(ReportResponse) - err := c.cc.Invoke(ctx, "/google.api.servicecontrol.v1.ServiceController/Report", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ServiceControllerServer is the server API for ServiceController service. -type ServiceControllerServer interface { - // Checks an operation with Google Service Control to decide whether - // the given operation should proceed. It should be called before the - // operation is executed. - // - // If feasible, the client should cache the check results and reuse them for - // 60 seconds. In case of server errors, the client can rely on the cached - // results for longer time. - // - // NOTE: the [CheckRequest][google.api.servicecontrol.v1.CheckRequest] has the - // size limit of 64KB. - // - // This method requires the `servicemanagement.services.check` permission - // on the specified service. For more information, see - // [Google Cloud IAM](https://cloud.google.com/iam). - Check(context.Context, *CheckRequest) (*CheckResponse, error) - // Reports operation results to Google Service Control, such as logs and - // metrics. It should be called after an operation is completed. - // - // If feasible, the client should aggregate reporting data for up to 5 - // seconds to reduce API traffic. Limiting aggregation to 5 seconds is to - // reduce data loss during client crashes. Clients should carefully choose - // the aggregation time window to avoid data loss risk more than 0.01% - // for business and compliance reasons. - // - // NOTE: the [ReportRequest][google.api.servicecontrol.v1.ReportRequest] has - // the size limit of 1MB. - // - // This method requires the `servicemanagement.services.report` permission - // on the specified service. For more information, see - // [Google Cloud IAM](https://cloud.google.com/iam). - Report(context.Context, *ReportRequest) (*ReportResponse, error) -} - -// UnimplementedServiceControllerServer can be embedded to have forward compatible implementations. -type UnimplementedServiceControllerServer struct { -} - -func (*UnimplementedServiceControllerServer) Check(ctx context.Context, req *CheckRequest) (*CheckResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method Check not implemented") -} -func (*UnimplementedServiceControllerServer) Report(ctx context.Context, req *ReportRequest) (*ReportResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method Report not implemented") -} - -func RegisterServiceControllerServer(s *grpc.Server, srv ServiceControllerServer) { - s.RegisterService(&_ServiceController_serviceDesc, srv) -} - -func _ServiceController_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.(ServiceControllerServer).Check(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.api.servicecontrol.v1.ServiceController/Check", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceControllerServer).Check(ctx, req.(*CheckRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ServiceController_Report_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ReportRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceControllerServer).Report(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.api.servicecontrol.v1.ServiceController/Report", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceControllerServer).Report(ctx, req.(*ReportRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ServiceController_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.api.servicecontrol.v1.ServiceController", - HandlerType: (*ServiceControllerServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Check", - Handler: _ServiceController_Check_Handler, - }, - { - MethodName: "Report", - Handler: _ServiceController_Report_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/api/servicecontrol/v1/service_controller.proto", -} 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 deleted file mode 100644 index a00ed202..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/servicemanagement/v1/resources.pb.go +++ /dev/null @@ -1,992 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/servicemanagement/v1/resources.proto - -package servicemanagement - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/any" - _ "github.com/golang/protobuf/ptypes/struct" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - configchange "google.golang.org/genproto/googleapis/api/configchange" - _ "google.golang.org/genproto/googleapis/api/metric" - _ "google.golang.org/genproto/googleapis/api/serviceconfig" - _ "google.golang.org/genproto/googleapis/longrunning" - _ "google.golang.org/genproto/googleapis/rpc/status" - _ "google.golang.org/genproto/protobuf/field_mask" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Code describes the status of the operation (or one of its steps). -type OperationMetadata_Status int32 - -const ( - // Unspecifed code. - OperationMetadata_STATUS_UNSPECIFIED OperationMetadata_Status = 0 - // The operation or step has completed without errors. - OperationMetadata_DONE OperationMetadata_Status = 1 - // The operation or step has not started yet. - OperationMetadata_NOT_STARTED OperationMetadata_Status = 2 - // The operation or step is in progress. - OperationMetadata_IN_PROGRESS OperationMetadata_Status = 3 - // The operation or step has completed with errors. If the operation is - // rollbackable, the rollback completed with errors too. - OperationMetadata_FAILED OperationMetadata_Status = 4 - // The operation or step has completed with cancellation. - OperationMetadata_CANCELLED OperationMetadata_Status = 5 -) - -var OperationMetadata_Status_name = map[int32]string{ - 0: "STATUS_UNSPECIFIED", - 1: "DONE", - 2: "NOT_STARTED", - 3: "IN_PROGRESS", - 4: "FAILED", - 5: "CANCELLED", -} - -var OperationMetadata_Status_value = map[string]int32{ - "STATUS_UNSPECIFIED": 0, - "DONE": 1, - "NOT_STARTED": 2, - "IN_PROGRESS": 3, - "FAILED": 4, - "CANCELLED": 5, -} - -func (x OperationMetadata_Status) String() string { - return proto.EnumName(OperationMetadata_Status_name, int32(x)) -} - -func (OperationMetadata_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_16a1de86d13c4f21, []int{1, 0} -} - -// The kind of diagnostic information possible. -type Diagnostic_Kind int32 - -const ( - // Warnings and errors - Diagnostic_WARNING Diagnostic_Kind = 0 - // Only errors - Diagnostic_ERROR Diagnostic_Kind = 1 -) - -var Diagnostic_Kind_name = map[int32]string{ - 0: "WARNING", - 1: "ERROR", -} - -var Diagnostic_Kind_value = map[string]int32{ - "WARNING": 0, - "ERROR": 1, -} - -func (x Diagnostic_Kind) String() string { - return proto.EnumName(Diagnostic_Kind_name, int32(x)) -} - -func (Diagnostic_Kind) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_16a1de86d13c4f21, []int{2, 0} -} - -type ConfigFile_FileType int32 - -const ( - // Unknown file type. - ConfigFile_FILE_TYPE_UNSPECIFIED ConfigFile_FileType = 0 - // YAML-specification of service. - ConfigFile_SERVICE_CONFIG_YAML ConfigFile_FileType = 1 - // OpenAPI specification, serialized in JSON. - ConfigFile_OPEN_API_JSON ConfigFile_FileType = 2 - // OpenAPI specification, serialized in YAML. - ConfigFile_OPEN_API_YAML ConfigFile_FileType = 3 - // FileDescriptorSet, generated by protoc. - // - // To generate, use protoc with imports and source info included. - // For an example test.proto file, the following command would put the value - // in a new file named out.pb. - // - // $protoc --include_imports --include_source_info test.proto -o out.pb - ConfigFile_FILE_DESCRIPTOR_SET_PROTO ConfigFile_FileType = 4 - // Uncompiled Proto file. Used for storage and display purposes only, - // currently server-side compilation is not supported. Should match the - // inputs to 'protoc' command used to generated FILE_DESCRIPTOR_SET_PROTO. A - // file of this type can only be included if at least one file of type - // FILE_DESCRIPTOR_SET_PROTO is included. - ConfigFile_PROTO_FILE ConfigFile_FileType = 6 -) - -var ConfigFile_FileType_name = map[int32]string{ - 0: "FILE_TYPE_UNSPECIFIED", - 1: "SERVICE_CONFIG_YAML", - 2: "OPEN_API_JSON", - 3: "OPEN_API_YAML", - 4: "FILE_DESCRIPTOR_SET_PROTO", - 6: "PROTO_FILE", -} - -var ConfigFile_FileType_value = map[string]int32{ - "FILE_TYPE_UNSPECIFIED": 0, - "SERVICE_CONFIG_YAML": 1, - "OPEN_API_JSON": 2, - "OPEN_API_YAML": 3, - "FILE_DESCRIPTOR_SET_PROTO": 4, - "PROTO_FILE": 6, -} - -func (x ConfigFile_FileType) String() string { - return proto.EnumName(ConfigFile_FileType_name, int32(x)) -} - -func (ConfigFile_FileType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_16a1de86d13c4f21, []int{4, 0} -} - -// Status of a Rollout. -type Rollout_RolloutStatus int32 - -const ( - // No status specified. - Rollout_ROLLOUT_STATUS_UNSPECIFIED Rollout_RolloutStatus = 0 - // The Rollout is in progress. - Rollout_IN_PROGRESS Rollout_RolloutStatus = 1 - // The Rollout has completed successfully. - Rollout_SUCCESS Rollout_RolloutStatus = 2 - // The Rollout has been cancelled. This can happen if you have overlapping - // Rollout pushes, and the previous ones will be cancelled. - Rollout_CANCELLED Rollout_RolloutStatus = 3 - // The Rollout has failed and the rollback attempt has failed too. - Rollout_FAILED Rollout_RolloutStatus = 4 - // The Rollout has not started yet and is pending for execution. - Rollout_PENDING Rollout_RolloutStatus = 5 - // The Rollout has failed and rolled back to the previous successful - // Rollout. - Rollout_FAILED_ROLLED_BACK Rollout_RolloutStatus = 6 -) - -var Rollout_RolloutStatus_name = map[int32]string{ - 0: "ROLLOUT_STATUS_UNSPECIFIED", - 1: "IN_PROGRESS", - 2: "SUCCESS", - 3: "CANCELLED", - 4: "FAILED", - 5: "PENDING", - 6: "FAILED_ROLLED_BACK", -} - -var Rollout_RolloutStatus_value = map[string]int32{ - "ROLLOUT_STATUS_UNSPECIFIED": 0, - "IN_PROGRESS": 1, - "SUCCESS": 2, - "CANCELLED": 3, - "FAILED": 4, - "PENDING": 5, - "FAILED_ROLLED_BACK": 6, -} - -func (x Rollout_RolloutStatus) String() string { - return proto.EnumName(Rollout_RolloutStatus_name, int32(x)) -} - -func (Rollout_RolloutStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_16a1de86d13c4f21, []int{7, 0} -} - -// The full representation of a Service that is managed by -// Google Service Management. -type ManagedService struct { - // The name of the service. See the [overview](/service-management/overview) - // for naming requirements. - ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` - // ID of the project that produces and owns this service. - ProducerProjectId string `protobuf:"bytes,3,opt,name=producer_project_id,json=producerProjectId,proto3" json:"producer_project_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_16a1de86d13c4f21, []int{0} -} - -func (m *ManagedService) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ManagedService.Unmarshal(m, b) -} -func (m *ManagedService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ManagedService.Marshal(b, m, deterministic) -} -func (m *ManagedService) XXX_Merge(src proto.Message) { - xxx_messageInfo_ManagedService.Merge(m, src) -} -func (m *ManagedService) XXX_Size() int { - return xxx_messageInfo_ManagedService.Size(m) -} -func (m *ManagedService) XXX_DiscardUnknown() { - xxx_messageInfo_ManagedService.DiscardUnknown(m) -} - -var xxx_messageInfo_ManagedService proto.InternalMessageInfo - -func (m *ManagedService) GetServiceName() string { - if m != nil { - return m.ServiceName - } - return "" -} - -func (m *ManagedService) GetProducerProjectId() string { - if m != nil { - return m.ProducerProjectId - } - return "" -} - -// The metadata associated with a long running operation resource. -type OperationMetadata struct { - // The full name of the resources that this operation is directly - // associated with. - ResourceNames []string `protobuf:"bytes,1,rep,name=resource_names,json=resourceNames,proto3" json:"resource_names,omitempty"` - // Detailed status information for each step. The order is undetermined. - Steps []*OperationMetadata_Step `protobuf:"bytes,2,rep,name=steps,proto3" json:"steps,omitempty"` - // Percentage of completion of this operation, ranging from 0 to 100. - ProgressPercentage int32 `protobuf:"varint,3,opt,name=progress_percentage,json=progressPercentage,proto3" json:"progress_percentage,omitempty"` - // The start time of the operation. - StartTime *timestamp.Timestamp `protobuf:"bytes,4,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 *OperationMetadata) Reset() { *m = OperationMetadata{} } -func (m *OperationMetadata) String() string { return proto.CompactTextString(m) } -func (*OperationMetadata) ProtoMessage() {} -func (*OperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_16a1de86d13c4f21, []int{1} -} - -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 (m *OperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperationMetadata.Merge(m, 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) GetResourceNames() []string { - if m != nil { - return m.ResourceNames - } - return nil -} - -func (m *OperationMetadata) GetSteps() []*OperationMetadata_Step { - if m != nil { - return m.Steps - } - return nil -} - -func (m *OperationMetadata) GetProgressPercentage() int32 { - if m != nil { - return m.ProgressPercentage - } - return 0 -} - -func (m *OperationMetadata) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -// Represents the status of one operation step. -type OperationMetadata_Step struct { - // The short description of the step. - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - // The status code. - Status OperationMetadata_Status `protobuf:"varint,4,opt,name=status,proto3,enum=google.api.servicemanagement.v1.OperationMetadata_Status" json:"status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_16a1de86d13c4f21, []int{1, 0} -} - -func (m *OperationMetadata_Step) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OperationMetadata_Step.Unmarshal(m, b) -} -func (m *OperationMetadata_Step) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OperationMetadata_Step.Marshal(b, m, deterministic) -} -func (m *OperationMetadata_Step) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperationMetadata_Step.Merge(m, src) -} -func (m *OperationMetadata_Step) XXX_Size() int { - return xxx_messageInfo_OperationMetadata_Step.Size(m) -} -func (m *OperationMetadata_Step) XXX_DiscardUnknown() { - xxx_messageInfo_OperationMetadata_Step.DiscardUnknown(m) -} - -var xxx_messageInfo_OperationMetadata_Step proto.InternalMessageInfo - -func (m *OperationMetadata_Step) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *OperationMetadata_Step) GetStatus() OperationMetadata_Status { - if m != nil { - return m.Status - } - return OperationMetadata_STATUS_UNSPECIFIED -} - -// Represents a diagnostic message (error or warning) -type Diagnostic struct { - // File name and line number of the error or warning. - Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` - // The kind of diagnostic information provided. - Kind Diagnostic_Kind `protobuf:"varint,2,opt,name=kind,proto3,enum=google.api.servicemanagement.v1.Diagnostic_Kind" json:"kind,omitempty"` - // Message describing the error or warning. - Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_16a1de86d13c4f21, []int{2} -} - -func (m *Diagnostic) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Diagnostic.Unmarshal(m, b) -} -func (m *Diagnostic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Diagnostic.Marshal(b, m, deterministic) -} -func (m *Diagnostic) XXX_Merge(src proto.Message) { - xxx_messageInfo_Diagnostic.Merge(m, src) -} -func (m *Diagnostic) XXX_Size() int { - return xxx_messageInfo_Diagnostic.Size(m) -} -func (m *Diagnostic) XXX_DiscardUnknown() { - xxx_messageInfo_Diagnostic.DiscardUnknown(m) -} - -var xxx_messageInfo_Diagnostic proto.InternalMessageInfo - -func (m *Diagnostic) GetLocation() string { - if m != nil { - return m.Location - } - return "" -} - -func (m *Diagnostic) GetKind() Diagnostic_Kind { - if m != nil { - return m.Kind - } - return Diagnostic_WARNING -} - -func (m *Diagnostic) GetMessage() string { - if m != nil { - return m.Message - } - return "" -} - -// Represents a source file which is used to generate the service configuration -// defined by `google.api.Service`. -type ConfigSource struct { - // A unique ID for a specific instance of this message, typically assigned - // by the client for tracking purpose. If empty, the server may choose to - // generate one instead. - Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"` - // Set of source configuration files that are used to generate a service - // configuration (`google.api.Service`). - Files []*ConfigFile `protobuf:"bytes,2,rep,name=files,proto3" json:"files,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_16a1de86d13c4f21, []int{3} -} - -func (m *ConfigSource) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConfigSource.Unmarshal(m, b) -} -func (m *ConfigSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConfigSource.Marshal(b, m, deterministic) -} -func (m *ConfigSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConfigSource.Merge(m, src) -} -func (m *ConfigSource) XXX_Size() int { - return xxx_messageInfo_ConfigSource.Size(m) -} -func (m *ConfigSource) XXX_DiscardUnknown() { - xxx_messageInfo_ConfigSource.DiscardUnknown(m) -} - -var xxx_messageInfo_ConfigSource proto.InternalMessageInfo - -func (m *ConfigSource) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *ConfigSource) GetFiles() []*ConfigFile { - if m != nil { - return m.Files - } - return nil -} - -// Generic specification of a source configuration file -type ConfigFile struct { - // The file name of the configuration file (full or relative path). - FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` - // The bytes that constitute the file. - FileContents []byte `protobuf:"bytes,3,opt,name=file_contents,json=fileContents,proto3" json:"file_contents,omitempty"` - // The type of configuration file this represents. - FileType ConfigFile_FileType `protobuf:"varint,4,opt,name=file_type,json=fileType,proto3,enum=google.api.servicemanagement.v1.ConfigFile_FileType" json:"file_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_16a1de86d13c4f21, []int{4} -} - -func (m *ConfigFile) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConfigFile.Unmarshal(m, b) -} -func (m *ConfigFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConfigFile.Marshal(b, m, deterministic) -} -func (m *ConfigFile) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConfigFile.Merge(m, src) -} -func (m *ConfigFile) XXX_Size() int { - return xxx_messageInfo_ConfigFile.Size(m) -} -func (m *ConfigFile) XXX_DiscardUnknown() { - xxx_messageInfo_ConfigFile.DiscardUnknown(m) -} - -var xxx_messageInfo_ConfigFile proto.InternalMessageInfo - -func (m *ConfigFile) GetFilePath() string { - if m != nil { - return m.FilePath - } - return "" -} - -func (m *ConfigFile) GetFileContents() []byte { - if m != nil { - return m.FileContents - } - return nil -} - -func (m *ConfigFile) GetFileType() ConfigFile_FileType { - if m != nil { - return m.FileType - } - return ConfigFile_FILE_TYPE_UNSPECIFIED -} - -// Represents a service configuration with its name and id. -type ConfigRef struct { - // Resource name of a service config. It must have the following - // format: "services/{service name}/configs/{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 *ConfigRef) Reset() { *m = ConfigRef{} } -func (m *ConfigRef) String() string { return proto.CompactTextString(m) } -func (*ConfigRef) ProtoMessage() {} -func (*ConfigRef) Descriptor() ([]byte, []int) { - return fileDescriptor_16a1de86d13c4f21, []int{5} -} - -func (m *ConfigRef) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConfigRef.Unmarshal(m, b) -} -func (m *ConfigRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConfigRef.Marshal(b, m, deterministic) -} -func (m *ConfigRef) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConfigRef.Merge(m, src) -} -func (m *ConfigRef) XXX_Size() int { - return xxx_messageInfo_ConfigRef.Size(m) -} -func (m *ConfigRef) XXX_DiscardUnknown() { - xxx_messageInfo_ConfigRef.DiscardUnknown(m) -} - -var xxx_messageInfo_ConfigRef proto.InternalMessageInfo - -func (m *ConfigRef) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Change report associated with a particular service configuration. -// -// It contains a list of ConfigChanges based on the comparison between -// two service configurations. -type ChangeReport struct { - // List of changes between two service configurations. - // The changes will be alphabetically sorted based on the identifier - // of each change. - // A ConfigChange identifier is a dot separated path to the configuration. - // Example: visibility.rules[selector='LibraryService.CreateBook'].restriction - ConfigChanges []*configchange.ConfigChange `protobuf:"bytes,1,rep,name=config_changes,json=configChanges,proto3" json:"config_changes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_16a1de86d13c4f21, []int{6} -} - -func (m *ChangeReport) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChangeReport.Unmarshal(m, b) -} -func (m *ChangeReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChangeReport.Marshal(b, m, deterministic) -} -func (m *ChangeReport) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChangeReport.Merge(m, src) -} -func (m *ChangeReport) XXX_Size() int { - return xxx_messageInfo_ChangeReport.Size(m) -} -func (m *ChangeReport) XXX_DiscardUnknown() { - xxx_messageInfo_ChangeReport.DiscardUnknown(m) -} - -var xxx_messageInfo_ChangeReport proto.InternalMessageInfo - -func (m *ChangeReport) GetConfigChanges() []*configchange.ConfigChange { - if m != nil { - return m.ConfigChanges - } - return nil -} - -// A rollout resource that defines how service configuration versions are pushed -// to control plane systems. Typically, you create a new version of the -// service config, and then create a Rollout to push the service config. -type Rollout struct { - // Optional unique identifier of this Rollout. Only lower case letters, digits - // and '-' are allowed. - // - // If not specified by client, the server will generate one. The generated id - // will have the form of , where "date" is the create - // date in ISO 8601 format. "revision number" is a monotonically increasing - // positive number that is reset every day for each service. - // An example of the generated rollout_id is '2016-02-16r1' - RolloutId string `protobuf:"bytes,1,opt,name=rollout_id,json=rolloutId,proto3" json:"rollout_id,omitempty"` - // Creation time of the rollout. Readonly. - CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // The user who created the Rollout. Readonly. - CreatedBy string `protobuf:"bytes,3,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` - // The status of this rollout. Readonly. In case of a failed rollout, - // the system will automatically rollback to the current Rollout - // version. Readonly. - Status Rollout_RolloutStatus `protobuf:"varint,4,opt,name=status,proto3,enum=google.api.servicemanagement.v1.Rollout_RolloutStatus" json:"status,omitempty"` - // Strategy that defines which versions of service configurations should be - // pushed - // and how they should be used at runtime. - // - // Types that are valid to be assigned to Strategy: - // *Rollout_TrafficPercentStrategy_ - // *Rollout_DeleteServiceStrategy_ - Strategy isRollout_Strategy `protobuf_oneof:"strategy"` - // The name of the service associated with this Rollout. - ServiceName string `protobuf:"bytes,8,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_16a1de86d13c4f21, []int{7} -} - -func (m *Rollout) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Rollout.Unmarshal(m, b) -} -func (m *Rollout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Rollout.Marshal(b, m, deterministic) -} -func (m *Rollout) XXX_Merge(src proto.Message) { - xxx_messageInfo_Rollout.Merge(m, src) -} -func (m *Rollout) XXX_Size() int { - return xxx_messageInfo_Rollout.Size(m) -} -func (m *Rollout) XXX_DiscardUnknown() { - xxx_messageInfo_Rollout.DiscardUnknown(m) -} - -var xxx_messageInfo_Rollout proto.InternalMessageInfo - -func (m *Rollout) GetRolloutId() string { - if m != nil { - return m.RolloutId - } - return "" -} - -func (m *Rollout) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *Rollout) GetCreatedBy() string { - if m != nil { - return m.CreatedBy - } - return "" -} - -func (m *Rollout) GetStatus() Rollout_RolloutStatus { - if m != nil { - return m.Status - } - 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 - } - return nil -} - -func (m *Rollout) GetDeleteServiceStrategy() *Rollout_DeleteServiceStrategy { - if x, ok := m.GetStrategy().(*Rollout_DeleteServiceStrategy_); ok { - return x.DeleteServiceStrategy - } - return nil -} - -func (m *Rollout) GetServiceName() string { - if m != nil { - return m.ServiceName - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Rollout) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Rollout_TrafficPercentStrategy_)(nil), - (*Rollout_DeleteServiceStrategy_)(nil), - } -} - -// Strategy that specifies how clients of Google Service Controller want to -// send traffic to use different config versions. This is generally -// used by API proxy to split traffic based on your configured precentage for -// each config version. -// -// One example of how to gradually rollout a new service configuration using -// this -// strategy: -// Day 1 -// -// Rollout { -// id: "example.googleapis.com/rollout_20160206" -// traffic_percent_strategy { -// percentages: { -// "example.googleapis.com/20160201": 70.00 -// "example.googleapis.com/20160206": 30.00 -// } -// } -// } -// -// Day 2 -// -// Rollout { -// id: "example.googleapis.com/rollout_20160207" -// traffic_percent_strategy: { -// percentages: { -// "example.googleapis.com/20160206": 100.00 -// } -// } -// } -type Rollout_TrafficPercentStrategy struct { - // Maps service configuration IDs to their corresponding traffic percentage. - // Key is the service configuration ID, Value is the traffic percentage - // which must be greater than 0.0 and the sum must equal to 100.0. - Percentages map[string]float64 `protobuf:"bytes,1,rep,name=percentages,proto3" json:"percentages,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Rollout_TrafficPercentStrategy) Reset() { *m = Rollout_TrafficPercentStrategy{} } -func (m *Rollout_TrafficPercentStrategy) String() string { return proto.CompactTextString(m) } -func (*Rollout_TrafficPercentStrategy) ProtoMessage() {} -func (*Rollout_TrafficPercentStrategy) Descriptor() ([]byte, []int) { - return fileDescriptor_16a1de86d13c4f21, []int{7, 0} -} - -func (m *Rollout_TrafficPercentStrategy) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Rollout_TrafficPercentStrategy.Unmarshal(m, b) -} -func (m *Rollout_TrafficPercentStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Rollout_TrafficPercentStrategy.Marshal(b, m, deterministic) -} -func (m *Rollout_TrafficPercentStrategy) XXX_Merge(src proto.Message) { - xxx_messageInfo_Rollout_TrafficPercentStrategy.Merge(m, src) -} -func (m *Rollout_TrafficPercentStrategy) XXX_Size() int { - return xxx_messageInfo_Rollout_TrafficPercentStrategy.Size(m) -} -func (m *Rollout_TrafficPercentStrategy) XXX_DiscardUnknown() { - xxx_messageInfo_Rollout_TrafficPercentStrategy.DiscardUnknown(m) -} - -var xxx_messageInfo_Rollout_TrafficPercentStrategy proto.InternalMessageInfo - -func (m *Rollout_TrafficPercentStrategy) GetPercentages() map[string]float64 { - if m != nil { - return m.Percentages - } - return nil -} - -// Strategy used to delete a service. This strategy is a placeholder only -// used by the system generated rollout to delete a service. -type Rollout_DeleteServiceStrategy struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Rollout_DeleteServiceStrategy) Reset() { *m = Rollout_DeleteServiceStrategy{} } -func (m *Rollout_DeleteServiceStrategy) String() string { return proto.CompactTextString(m) } -func (*Rollout_DeleteServiceStrategy) ProtoMessage() {} -func (*Rollout_DeleteServiceStrategy) Descriptor() ([]byte, []int) { - return fileDescriptor_16a1de86d13c4f21, []int{7, 1} -} - -func (m *Rollout_DeleteServiceStrategy) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Rollout_DeleteServiceStrategy.Unmarshal(m, b) -} -func (m *Rollout_DeleteServiceStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Rollout_DeleteServiceStrategy.Marshal(b, m, deterministic) -} -func (m *Rollout_DeleteServiceStrategy) XXX_Merge(src proto.Message) { - xxx_messageInfo_Rollout_DeleteServiceStrategy.Merge(m, src) -} -func (m *Rollout_DeleteServiceStrategy) XXX_Size() int { - return xxx_messageInfo_Rollout_DeleteServiceStrategy.Size(m) -} -func (m *Rollout_DeleteServiceStrategy) XXX_DiscardUnknown() { - xxx_messageInfo_Rollout_DeleteServiceStrategy.DiscardUnknown(m) -} - -var xxx_messageInfo_Rollout_DeleteServiceStrategy proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.api.servicemanagement.v1.OperationMetadata_Status", OperationMetadata_Status_name, OperationMetadata_Status_value) - proto.RegisterEnum("google.api.servicemanagement.v1.Diagnostic_Kind", Diagnostic_Kind_name, Diagnostic_Kind_value) - proto.RegisterEnum("google.api.servicemanagement.v1.ConfigFile_FileType", ConfigFile_FileType_name, ConfigFile_FileType_value) - proto.RegisterEnum("google.api.servicemanagement.v1.Rollout_RolloutStatus", Rollout_RolloutStatus_name, Rollout_RolloutStatus_value) - proto.RegisterType((*ManagedService)(nil), "google.api.servicemanagement.v1.ManagedService") - proto.RegisterType((*OperationMetadata)(nil), "google.api.servicemanagement.v1.OperationMetadata") - proto.RegisterType((*OperationMetadata_Step)(nil), "google.api.servicemanagement.v1.OperationMetadata.Step") - proto.RegisterType((*Diagnostic)(nil), "google.api.servicemanagement.v1.Diagnostic") - proto.RegisterType((*ConfigSource)(nil), "google.api.servicemanagement.v1.ConfigSource") - proto.RegisterType((*ConfigFile)(nil), "google.api.servicemanagement.v1.ConfigFile") - proto.RegisterType((*ConfigRef)(nil), "google.api.servicemanagement.v1.ConfigRef") - proto.RegisterType((*ChangeReport)(nil), "google.api.servicemanagement.v1.ChangeReport") - proto.RegisterType((*Rollout)(nil), "google.api.servicemanagement.v1.Rollout") - proto.RegisterType((*Rollout_TrafficPercentStrategy)(nil), "google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy") - proto.RegisterMapType((map[string]float64)(nil), "google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy.PercentagesEntry") - proto.RegisterType((*Rollout_DeleteServiceStrategy)(nil), "google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy") -} - -func init() { - proto.RegisterFile("google/api/servicemanagement/v1/resources.proto", fileDescriptor_16a1de86d13c4f21) -} - -var fileDescriptor_16a1de86d13c4f21 = []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, - 0x74, 0x12, 0x92, 0xc3, 0x1d, 0x08, 0x28, 0x95, 0x5a, 0xe5, 0x1c, 0xdf, 0x11, 0x7a, 0x67, 0xbb, - 0xeb, 0x5c, 0x51, 0x51, 0x25, 0x6b, 0x6b, 0x6f, 0x5c, 0xd3, 0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5d, 0x66, 0x59, 0x38, 0xa1, 0x19, 0x23, 0x93, 0x64, 0xe9, 0x4c, 0x69, 0xe2, 0x75, 0x33, - 0x46, 0xd8, 0x54, 0x06, 0xd5, 0xf1, 0xa0, 0x79, 0x2a, 0x72, 0xe7, 0x3b, 0xf9, 0x89, 0xd0, 0x3d, - 0xd8, 0x92, 0x87, 0x73, 0x23, 0x32, 0xa1, 0xad, 0xd2, 0xae, 0xb2, 0x57, 0xc7, 0x0d, 0x89, 0x99, - 0x64, 0x42, 0x91, 0x06, 0xd7, 0x92, 0x34, 0xf6, 0xa7, 0x1e, 0x4d, 0xdd, 0x24, 0x8d, 0xbf, 0xa3, - 0x1e, 0x73, 0x43, 0xbf, 0x55, 0x16, 0x9a, 0x57, 0x0b, 0xca, 0xce, 0x99, 0x81, 0xdf, 0xf9, 0xb3, - 0x0c, 0x57, 0xad, 0x22, 0x1d, 0xa7, 0x94, 0x11, 0x9f, 0x30, 0x82, 0x3e, 0x84, 0x66, 0x71, 0xb3, - 0xc2, 0x53, 0xd6, 0x52, 0x76, 0xcb, 0x7b, 0x75, 0xbc, 0x5d, 0xa0, 0xdc, 0x57, 0x86, 0x4e, 0xa1, - 0x9a, 0x31, 0x9a, 0x64, 0xad, 0xd2, 0x6e, 0x79, 0xaf, 0x71, 0xf0, 0xb9, 0xb6, 0xe6, 0xf6, 0xb5, - 0x15, 0x4f, 0x9a, 0xc3, 0x68, 0x82, 0x73, 0x2b, 0xa8, 0x2b, 0x62, 0x0f, 0x52, 0x9a, 0x65, 0x6e, - 0x42, 0x53, 0x8f, 0x46, 0x8c, 0x04, 0x54, 0xc4, 0x5e, 0xc5, 0xa8, 0xa0, 0xec, 0xb7, 0x0c, 0x7a, - 0x00, 0x90, 0x31, 0x92, 0x32, 0x97, 0xe7, 0xb4, 0x55, 0xd9, 0x55, 0xf6, 0x1a, 0x07, 0xed, 0x22, - 0x88, 0x22, 0xe1, 0xda, 0xb0, 0x48, 0x38, 0xae, 0x0b, 0x6d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, 0xe5, - 0x96, 0x20, 0x1e, 0x93, 0x28, 0xd0, 0xe2, 0x34, 0xe8, 0x06, 0x34, 0x12, 0x8f, 0x4f, 0x7e, 0x44, - 0x92, 0x24, 0xcc, 0xfe, 0xf1, 0x43, 0xf2, 0xe1, 0x0a, 0xf8, 0x63, 0xa9, 0x72, 0xdc, 0x73, 0x4e, - 0x7f, 0x2e, 0xdd, 0x3b, 0xce, 0x2d, 0xeb, 0xe3, 0x78, 0xea, 0x6b, 0x32, 0x9b, 0xa7, 0x17, 0xe1, - 0x3c, 0xdb, 0xff, 0xad, 0xd0, 0x79, 0x21, 0x74, 0x5e, 0xac, 0xe8, 0xbc, 0x78, 0xb6, 0xff, 0xb2, - 0x26, 0x62, 0xf9, 0xe4, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x67, 0x13, 0xc5, 0x22, 0xd3, 0x0a, - 0x00, 0x00, -} 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 deleted file mode 100644 index 30327973..00000000 --- a/vendor/google.golang.org/genproto/googleapis/api/servicemanagement/v1/servicemanager.pb.go +++ /dev/null @@ -1,2090 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/api/servicemanagement/v1/servicemanager.proto - -package servicemanagement - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - any "github.com/golang/protobuf/ptypes/any" - _ "github.com/golang/protobuf/ptypes/struct" - _ "google.golang.org/genproto/googleapis/api/annotations" - serviceconfig "google.golang.org/genproto/googleapis/api/serviceconfig" - longrunning "google.golang.org/genproto/googleapis/longrunning" - _ "google.golang.org/genproto/googleapis/rpc/status" - _ "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -type GetServiceConfigRequest_ConfigView int32 - -const ( - // Server response includes all fields except SourceInfo. - GetServiceConfigRequest_BASIC GetServiceConfigRequest_ConfigView = 0 - // Server response includes all fields including SourceInfo. - // SourceFiles are of type 'google.api.servicemanagement.v1.ConfigFile' - // and are only available for configs created using the - // SubmitConfigSource method. - GetServiceConfigRequest_FULL GetServiceConfigRequest_ConfigView = 1 -) - -var GetServiceConfigRequest_ConfigView_name = map[int32]string{ - 0: "BASIC", - 1: "FULL", -} - -var GetServiceConfigRequest_ConfigView_value = map[string]int32{ - "BASIC": 0, - "FULL": 1, -} - -func (x GetServiceConfigRequest_ConfigView) String() string { - return proto.EnumName(GetServiceConfigRequest_ConfigView_name, int32(x)) -} - -func (GetServiceConfigRequest_ConfigView) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e7934ed1b66ee227, []int{7, 0} -} - -// Request message for `ListServices` method. -type ListServicesRequest struct { - // Include services produced by the specified project. - ProducerProjectId string `protobuf:"bytes,1,opt,name=producer_project_id,json=producerProjectId,proto3" json:"producer_project_id,omitempty"` - // Requested size of the next page of data. - PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Token identifying which result to start with; returned by a previous list - // call. - PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // Include services consumed by the specified consumer. - // - // The Google Service Management implementation accepts the following - // forms: - // - project: - ConsumerId string `protobuf:"bytes,7,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e7934ed1b66ee227, []int{0} -} - -func (m *ListServicesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListServicesRequest.Unmarshal(m, b) -} -func (m *ListServicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListServicesRequest.Marshal(b, m, deterministic) -} -func (m *ListServicesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListServicesRequest.Merge(m, src) -} -func (m *ListServicesRequest) XXX_Size() int { - return xxx_messageInfo_ListServicesRequest.Size(m) -} -func (m *ListServicesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListServicesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListServicesRequest proto.InternalMessageInfo - -func (m *ListServicesRequest) GetProducerProjectId() string { - if m != nil { - return m.ProducerProjectId - } - return "" -} - -func (m *ListServicesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListServicesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListServicesRequest) GetConsumerId() string { - if m != nil { - return m.ConsumerId - } - return "" -} - -// Response message for `ListServices` method. -type ListServicesResponse struct { - // The returned services will only have the name field set. - Services []*ManagedService `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` - // Token that can be passed to `ListServices` to resume a paginated query. - 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 *ListServicesResponse) Reset() { *m = ListServicesResponse{} } -func (m *ListServicesResponse) String() string { return proto.CompactTextString(m) } -func (*ListServicesResponse) ProtoMessage() {} -func (*ListServicesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e7934ed1b66ee227, []int{1} -} - -func (m *ListServicesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListServicesResponse.Unmarshal(m, b) -} -func (m *ListServicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListServicesResponse.Marshal(b, m, deterministic) -} -func (m *ListServicesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListServicesResponse.Merge(m, src) -} -func (m *ListServicesResponse) XXX_Size() int { - return xxx_messageInfo_ListServicesResponse.Size(m) -} -func (m *ListServicesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListServicesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListServicesResponse proto.InternalMessageInfo - -func (m *ListServicesResponse) GetServices() []*ManagedService { - if m != nil { - return m.Services - } - return nil -} - -func (m *ListServicesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request message for `GetService` method. -type GetServiceRequest struct { - // The name of the service. See the `ServiceManager` overview for naming - // requirements. For example: `example.googleapis.com`. - ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e7934ed1b66ee227, []int{2} -} - -func (m *GetServiceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetServiceRequest.Unmarshal(m, b) -} -func (m *GetServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetServiceRequest.Marshal(b, m, deterministic) -} -func (m *GetServiceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetServiceRequest.Merge(m, src) -} -func (m *GetServiceRequest) XXX_Size() int { - return xxx_messageInfo_GetServiceRequest.Size(m) -} -func (m *GetServiceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetServiceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetServiceRequest proto.InternalMessageInfo - -func (m *GetServiceRequest) GetServiceName() string { - if m != nil { - return m.ServiceName - } - return "" -} - -// Request message for CreateService method. -type CreateServiceRequest struct { - // Initial values for the service resource. - Service *ManagedService `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e7934ed1b66ee227, []int{3} -} - -func (m *CreateServiceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateServiceRequest.Unmarshal(m, b) -} -func (m *CreateServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateServiceRequest.Marshal(b, m, deterministic) -} -func (m *CreateServiceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateServiceRequest.Merge(m, src) -} -func (m *CreateServiceRequest) XXX_Size() int { - return xxx_messageInfo_CreateServiceRequest.Size(m) -} -func (m *CreateServiceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateServiceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateServiceRequest proto.InternalMessageInfo - -func (m *CreateServiceRequest) GetService() *ManagedService { - if m != nil { - return m.Service - } - return nil -} - -// Request message for DeleteService method. -type DeleteServiceRequest struct { - // The name of the service. See the [overview](/service-management/overview) - // for naming requirements. For example: `example.googleapis.com`. - ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e7934ed1b66ee227, []int{4} -} - -func (m *DeleteServiceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteServiceRequest.Unmarshal(m, b) -} -func (m *DeleteServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteServiceRequest.Marshal(b, m, deterministic) -} -func (m *DeleteServiceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteServiceRequest.Merge(m, src) -} -func (m *DeleteServiceRequest) XXX_Size() int { - return xxx_messageInfo_DeleteServiceRequest.Size(m) -} -func (m *DeleteServiceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteServiceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteServiceRequest proto.InternalMessageInfo - -func (m *DeleteServiceRequest) GetServiceName() string { - if m != nil { - return m.ServiceName - } - return "" -} - -// Request message for UndeleteService method. -type UndeleteServiceRequest struct { - // The name of the service. See the [overview](/service-management/overview) - // for naming requirements. For example: `example.googleapis.com`. - ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e7934ed1b66ee227, []int{5} -} - -func (m *UndeleteServiceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UndeleteServiceRequest.Unmarshal(m, b) -} -func (m *UndeleteServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UndeleteServiceRequest.Marshal(b, m, deterministic) -} -func (m *UndeleteServiceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UndeleteServiceRequest.Merge(m, src) -} -func (m *UndeleteServiceRequest) XXX_Size() int { - return xxx_messageInfo_UndeleteServiceRequest.Size(m) -} -func (m *UndeleteServiceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UndeleteServiceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UndeleteServiceRequest proto.InternalMessageInfo - -func (m *UndeleteServiceRequest) GetServiceName() string { - if m != nil { - return m.ServiceName - } - return "" -} - -// Response message for UndeleteService method. -type UndeleteServiceResponse struct { - // Revived service resource. - Service *ManagedService `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e7934ed1b66ee227, []int{6} -} - -func (m *UndeleteServiceResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UndeleteServiceResponse.Unmarshal(m, b) -} -func (m *UndeleteServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UndeleteServiceResponse.Marshal(b, m, deterministic) -} -func (m *UndeleteServiceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UndeleteServiceResponse.Merge(m, src) -} -func (m *UndeleteServiceResponse) XXX_Size() int { - return xxx_messageInfo_UndeleteServiceResponse.Size(m) -} -func (m *UndeleteServiceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UndeleteServiceResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_UndeleteServiceResponse proto.InternalMessageInfo - -func (m *UndeleteServiceResponse) GetService() *ManagedService { - if m != nil { - return m.Service - } - return nil -} - -// Request message for GetServiceConfig method. -type GetServiceConfigRequest struct { - // The name of the service. See the [overview](/service-management/overview) - // for naming requirements. For example: `example.googleapis.com`. - ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` - // The id of the service configuration resource. - ConfigId string `protobuf:"bytes,2,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` - // Specifies which parts of the Service Config should be returned in the - // response. - View GetServiceConfigRequest_ConfigView `protobuf:"varint,3,opt,name=view,proto3,enum=google.api.servicemanagement.v1.GetServiceConfigRequest_ConfigView" json:"view,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e7934ed1b66ee227, []int{7} -} - -func (m *GetServiceConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetServiceConfigRequest.Unmarshal(m, b) -} -func (m *GetServiceConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetServiceConfigRequest.Marshal(b, m, deterministic) -} -func (m *GetServiceConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetServiceConfigRequest.Merge(m, src) -} -func (m *GetServiceConfigRequest) XXX_Size() int { - return xxx_messageInfo_GetServiceConfigRequest.Size(m) -} -func (m *GetServiceConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetServiceConfigRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetServiceConfigRequest proto.InternalMessageInfo - -func (m *GetServiceConfigRequest) GetServiceName() string { - if m != nil { - return m.ServiceName - } - return "" -} - -func (m *GetServiceConfigRequest) GetConfigId() string { - if m != nil { - return m.ConfigId - } - return "" -} - -func (m *GetServiceConfigRequest) GetView() GetServiceConfigRequest_ConfigView { - if m != nil { - return m.View - } - return GetServiceConfigRequest_BASIC -} - -// Request message for ListServiceConfigs method. -type ListServiceConfigsRequest struct { - // The name of the service. See the [overview](/service-management/overview) - // for naming requirements. For example: `example.googleapis.com`. - ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` - // The token of the page to retrieve. - PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // The max number of items to include in the response list. - 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 *ListServiceConfigsRequest) Reset() { *m = ListServiceConfigsRequest{} } -func (m *ListServiceConfigsRequest) String() string { return proto.CompactTextString(m) } -func (*ListServiceConfigsRequest) ProtoMessage() {} -func (*ListServiceConfigsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e7934ed1b66ee227, []int{8} -} - -func (m *ListServiceConfigsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListServiceConfigsRequest.Unmarshal(m, b) -} -func (m *ListServiceConfigsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListServiceConfigsRequest.Marshal(b, m, deterministic) -} -func (m *ListServiceConfigsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListServiceConfigsRequest.Merge(m, src) -} -func (m *ListServiceConfigsRequest) XXX_Size() int { - return xxx_messageInfo_ListServiceConfigsRequest.Size(m) -} -func (m *ListServiceConfigsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListServiceConfigsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListServiceConfigsRequest proto.InternalMessageInfo - -func (m *ListServiceConfigsRequest) GetServiceName() string { - if m != nil { - return m.ServiceName - } - return "" -} - -func (m *ListServiceConfigsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListServiceConfigsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -// Response message for ListServiceConfigs method. -type ListServiceConfigsResponse struct { - // The list of service configuration resources. - ServiceConfigs []*serviceconfig.Service `protobuf:"bytes,1,rep,name=service_configs,json=serviceConfigs,proto3" json:"service_configs,omitempty"` - // The token of the next page of 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 *ListServiceConfigsResponse) Reset() { *m = ListServiceConfigsResponse{} } -func (m *ListServiceConfigsResponse) String() string { return proto.CompactTextString(m) } -func (*ListServiceConfigsResponse) ProtoMessage() {} -func (*ListServiceConfigsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e7934ed1b66ee227, []int{9} -} - -func (m *ListServiceConfigsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListServiceConfigsResponse.Unmarshal(m, b) -} -func (m *ListServiceConfigsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListServiceConfigsResponse.Marshal(b, m, deterministic) -} -func (m *ListServiceConfigsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListServiceConfigsResponse.Merge(m, src) -} -func (m *ListServiceConfigsResponse) XXX_Size() int { - return xxx_messageInfo_ListServiceConfigsResponse.Size(m) -} -func (m *ListServiceConfigsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListServiceConfigsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListServiceConfigsResponse proto.InternalMessageInfo - -func (m *ListServiceConfigsResponse) GetServiceConfigs() []*serviceconfig.Service { - if m != nil { - return m.ServiceConfigs - } - return nil -} - -func (m *ListServiceConfigsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request message for CreateServiceConfig method. -type CreateServiceConfigRequest struct { - // The name of the service. See the [overview](/service-management/overview) - // for naming requirements. For example: `example.googleapis.com`. - ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` - // The service configuration resource. - ServiceConfig *serviceconfig.Service `protobuf:"bytes,2,opt,name=service_config,json=serviceConfig,proto3" json:"service_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateServiceConfigRequest) Reset() { *m = CreateServiceConfigRequest{} } -func (m *CreateServiceConfigRequest) String() string { return proto.CompactTextString(m) } -func (*CreateServiceConfigRequest) ProtoMessage() {} -func (*CreateServiceConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e7934ed1b66ee227, []int{10} -} - -func (m *CreateServiceConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateServiceConfigRequest.Unmarshal(m, b) -} -func (m *CreateServiceConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateServiceConfigRequest.Marshal(b, m, deterministic) -} -func (m *CreateServiceConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateServiceConfigRequest.Merge(m, src) -} -func (m *CreateServiceConfigRequest) XXX_Size() int { - return xxx_messageInfo_CreateServiceConfigRequest.Size(m) -} -func (m *CreateServiceConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateServiceConfigRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateServiceConfigRequest proto.InternalMessageInfo - -func (m *CreateServiceConfigRequest) GetServiceName() string { - if m != nil { - return m.ServiceName - } - return "" -} - -func (m *CreateServiceConfigRequest) GetServiceConfig() *serviceconfig.Service { - if m != nil { - return m.ServiceConfig - } - return nil -} - -// Request message for SubmitConfigSource method. -type SubmitConfigSourceRequest struct { - // The name of the service. See the [overview](/service-management/overview) - // for naming requirements. For example: `example.googleapis.com`. - ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` - // The source configuration for the service. - ConfigSource *ConfigSource `protobuf:"bytes,2,opt,name=config_source,json=configSource,proto3" json:"config_source,omitempty"` - // Optional. If set, this will result in the generation of a - // `google.api.Service` configuration based on the `ConfigSource` provided, - // but the generated config and the sources will NOT be persisted. - ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SubmitConfigSourceRequest) Reset() { *m = SubmitConfigSourceRequest{} } -func (m *SubmitConfigSourceRequest) String() string { return proto.CompactTextString(m) } -func (*SubmitConfigSourceRequest) ProtoMessage() {} -func (*SubmitConfigSourceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e7934ed1b66ee227, []int{11} -} - -func (m *SubmitConfigSourceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubmitConfigSourceRequest.Unmarshal(m, b) -} -func (m *SubmitConfigSourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubmitConfigSourceRequest.Marshal(b, m, deterministic) -} -func (m *SubmitConfigSourceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubmitConfigSourceRequest.Merge(m, src) -} -func (m *SubmitConfigSourceRequest) XXX_Size() int { - return xxx_messageInfo_SubmitConfigSourceRequest.Size(m) -} -func (m *SubmitConfigSourceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SubmitConfigSourceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SubmitConfigSourceRequest proto.InternalMessageInfo - -func (m *SubmitConfigSourceRequest) GetServiceName() string { - if m != nil { - return m.ServiceName - } - return "" -} - -func (m *SubmitConfigSourceRequest) GetConfigSource() *ConfigSource { - if m != nil { - return m.ConfigSource - } - return nil -} - -func (m *SubmitConfigSourceRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// Response message for SubmitConfigSource method. -type SubmitConfigSourceResponse struct { - // The generated service configuration. - ServiceConfig *serviceconfig.Service `protobuf:"bytes,1,opt,name=service_config,json=serviceConfig,proto3" json:"service_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SubmitConfigSourceResponse) Reset() { *m = SubmitConfigSourceResponse{} } -func (m *SubmitConfigSourceResponse) String() string { return proto.CompactTextString(m) } -func (*SubmitConfigSourceResponse) ProtoMessage() {} -func (*SubmitConfigSourceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e7934ed1b66ee227, []int{12} -} - -func (m *SubmitConfigSourceResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubmitConfigSourceResponse.Unmarshal(m, b) -} -func (m *SubmitConfigSourceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubmitConfigSourceResponse.Marshal(b, m, deterministic) -} -func (m *SubmitConfigSourceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubmitConfigSourceResponse.Merge(m, src) -} -func (m *SubmitConfigSourceResponse) XXX_Size() int { - return xxx_messageInfo_SubmitConfigSourceResponse.Size(m) -} -func (m *SubmitConfigSourceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SubmitConfigSourceResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SubmitConfigSourceResponse proto.InternalMessageInfo - -func (m *SubmitConfigSourceResponse) GetServiceConfig() *serviceconfig.Service { - if m != nil { - return m.ServiceConfig - } - return nil -} - -// Request message for 'CreateServiceRollout' -type CreateServiceRolloutRequest struct { - // The name of the service. See the [overview](/service-management/overview) - // for naming requirements. For example: `example.googleapis.com`. - ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` - // The rollout resource. The `service_name` field is output only. - Rollout *Rollout `protobuf:"bytes,2,opt,name=rollout,proto3" json:"rollout,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateServiceRolloutRequest) Reset() { *m = CreateServiceRolloutRequest{} } -func (m *CreateServiceRolloutRequest) String() string { return proto.CompactTextString(m) } -func (*CreateServiceRolloutRequest) ProtoMessage() {} -func (*CreateServiceRolloutRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e7934ed1b66ee227, []int{13} -} - -func (m *CreateServiceRolloutRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateServiceRolloutRequest.Unmarshal(m, b) -} -func (m *CreateServiceRolloutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateServiceRolloutRequest.Marshal(b, m, deterministic) -} -func (m *CreateServiceRolloutRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateServiceRolloutRequest.Merge(m, src) -} -func (m *CreateServiceRolloutRequest) XXX_Size() int { - return xxx_messageInfo_CreateServiceRolloutRequest.Size(m) -} -func (m *CreateServiceRolloutRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateServiceRolloutRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateServiceRolloutRequest proto.InternalMessageInfo - -func (m *CreateServiceRolloutRequest) GetServiceName() string { - if m != nil { - return m.ServiceName - } - return "" -} - -func (m *CreateServiceRolloutRequest) GetRollout() *Rollout { - if m != nil { - return m.Rollout - } - return nil -} - -// Request message for 'ListServiceRollouts' -type ListServiceRolloutsRequest struct { - // The name of the service. See the [overview](/service-management/overview) - // for naming requirements. For example: `example.googleapis.com`. - ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` - // The token of the page to retrieve. - PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // The max number of items to include in the response list. - PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Use `filter` to return subset of rollouts. - // The following filters are supported: - // -- To limit the results to only those in - // [status](google.api.servicemanagement.v1.RolloutStatus) 'SUCCESS', - // use filter='status=SUCCESS' - // -- To limit the results to those in - // [status](google.api.servicemanagement.v1.RolloutStatus) 'CANCELLED' - // or 'FAILED', use filter='status=CANCELLED OR status=FAILED' - Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListServiceRolloutsRequest) Reset() { *m = ListServiceRolloutsRequest{} } -func (m *ListServiceRolloutsRequest) String() string { return proto.CompactTextString(m) } -func (*ListServiceRolloutsRequest) ProtoMessage() {} -func (*ListServiceRolloutsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e7934ed1b66ee227, []int{14} -} - -func (m *ListServiceRolloutsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListServiceRolloutsRequest.Unmarshal(m, b) -} -func (m *ListServiceRolloutsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListServiceRolloutsRequest.Marshal(b, m, deterministic) -} -func (m *ListServiceRolloutsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListServiceRolloutsRequest.Merge(m, src) -} -func (m *ListServiceRolloutsRequest) XXX_Size() int { - return xxx_messageInfo_ListServiceRolloutsRequest.Size(m) -} -func (m *ListServiceRolloutsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListServiceRolloutsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListServiceRolloutsRequest proto.InternalMessageInfo - -func (m *ListServiceRolloutsRequest) GetServiceName() string { - if m != nil { - return m.ServiceName - } - return "" -} - -func (m *ListServiceRolloutsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListServiceRolloutsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListServiceRolloutsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -// Response message for ListServiceRollouts method. -type ListServiceRolloutsResponse struct { - // The list of rollout resources. - Rollouts []*Rollout `protobuf:"bytes,1,rep,name=rollouts,proto3" json:"rollouts,omitempty"` - // The token of the next page of 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 *ListServiceRolloutsResponse) Reset() { *m = ListServiceRolloutsResponse{} } -func (m *ListServiceRolloutsResponse) String() string { return proto.CompactTextString(m) } -func (*ListServiceRolloutsResponse) ProtoMessage() {} -func (*ListServiceRolloutsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e7934ed1b66ee227, []int{15} -} - -func (m *ListServiceRolloutsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListServiceRolloutsResponse.Unmarshal(m, b) -} -func (m *ListServiceRolloutsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListServiceRolloutsResponse.Marshal(b, m, deterministic) -} -func (m *ListServiceRolloutsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListServiceRolloutsResponse.Merge(m, src) -} -func (m *ListServiceRolloutsResponse) XXX_Size() int { - return xxx_messageInfo_ListServiceRolloutsResponse.Size(m) -} -func (m *ListServiceRolloutsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListServiceRolloutsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListServiceRolloutsResponse proto.InternalMessageInfo - -func (m *ListServiceRolloutsResponse) GetRollouts() []*Rollout { - if m != nil { - return m.Rollouts - } - return nil -} - -func (m *ListServiceRolloutsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request message for GetServiceRollout method. -type GetServiceRolloutRequest struct { - // The name of the service. See the [overview](/service-management/overview) - // for naming requirements. For example: `example.googleapis.com`. - ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` - // The id of the rollout resource. - RolloutId string `protobuf:"bytes,2,opt,name=rollout_id,json=rolloutId,proto3" json:"rollout_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetServiceRolloutRequest) Reset() { *m = GetServiceRolloutRequest{} } -func (m *GetServiceRolloutRequest) String() string { return proto.CompactTextString(m) } -func (*GetServiceRolloutRequest) ProtoMessage() {} -func (*GetServiceRolloutRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e7934ed1b66ee227, []int{16} -} - -func (m *GetServiceRolloutRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetServiceRolloutRequest.Unmarshal(m, b) -} -func (m *GetServiceRolloutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetServiceRolloutRequest.Marshal(b, m, deterministic) -} -func (m *GetServiceRolloutRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetServiceRolloutRequest.Merge(m, src) -} -func (m *GetServiceRolloutRequest) XXX_Size() int { - return xxx_messageInfo_GetServiceRolloutRequest.Size(m) -} -func (m *GetServiceRolloutRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetServiceRolloutRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetServiceRolloutRequest proto.InternalMessageInfo - -func (m *GetServiceRolloutRequest) GetServiceName() string { - if m != nil { - return m.ServiceName - } - return "" -} - -func (m *GetServiceRolloutRequest) GetRolloutId() string { - if m != nil { - return m.RolloutId - } - return "" -} - -// Request message for EnableService method. -type EnableServiceRequest struct { - // Name of the service to enable. Specifying an unknown service name will - // cause the request to fail. - ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` - // The identity of consumer resource which service enablement will be - // applied to. - // - // The Google Service Management implementation accepts the following - // forms: - // - "project:" - // - // Note: this is made compatible with - // google.api.servicecontrol.v1.Operation.consumer_id. - ConsumerId string `protobuf:"bytes,2,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e7934ed1b66ee227, []int{17} -} - -func (m *EnableServiceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EnableServiceRequest.Unmarshal(m, b) -} -func (m *EnableServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EnableServiceRequest.Marshal(b, m, deterministic) -} -func (m *EnableServiceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_EnableServiceRequest.Merge(m, src) -} -func (m *EnableServiceRequest) XXX_Size() int { - return xxx_messageInfo_EnableServiceRequest.Size(m) -} -func (m *EnableServiceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_EnableServiceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_EnableServiceRequest proto.InternalMessageInfo - -func (m *EnableServiceRequest) GetServiceName() string { - if m != nil { - return m.ServiceName - } - return "" -} - -func (m *EnableServiceRequest) GetConsumerId() string { - if m != nil { - return m.ConsumerId - } - return "" -} - -// Request message for DisableService method. -type DisableServiceRequest struct { - // Name of the service to disable. Specifying an unknown service name - // will cause the request to fail. - ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` - // The identity of consumer resource which service disablement will be - // applied to. - // - // The Google Service Management implementation accepts the following - // forms: - // - "project:" - // - // Note: this is made compatible with - // google.api.servicecontrol.v1.Operation.consumer_id. - ConsumerId string `protobuf:"bytes,2,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e7934ed1b66ee227, []int{18} -} - -func (m *DisableServiceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DisableServiceRequest.Unmarshal(m, b) -} -func (m *DisableServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DisableServiceRequest.Marshal(b, m, deterministic) -} -func (m *DisableServiceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DisableServiceRequest.Merge(m, src) -} -func (m *DisableServiceRequest) XXX_Size() int { - return xxx_messageInfo_DisableServiceRequest.Size(m) -} -func (m *DisableServiceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DisableServiceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DisableServiceRequest proto.InternalMessageInfo - -func (m *DisableServiceRequest) GetServiceName() string { - if m != nil { - return m.ServiceName - } - return "" -} - -func (m *DisableServiceRequest) GetConsumerId() string { - if m != nil { - return m.ConsumerId - } - return "" -} - -// Request message for GenerateConfigReport method. -type GenerateConfigReportRequest struct { - // Service configuration for which we want to generate the report. - // For this version of API, the supported types are - // [google.api.servicemanagement.v1.ConfigRef][google.api.servicemanagement.v1.ConfigRef], - // [google.api.servicemanagement.v1.ConfigSource][google.api.servicemanagement.v1.ConfigSource], - // and [google.api.Service][google.api.Service] - NewConfig *any.Any `protobuf:"bytes,1,opt,name=new_config,json=newConfig,proto3" json:"new_config,omitempty"` - // Service configuration against which the comparison will be done. - // For this version of API, the supported types are - // [google.api.servicemanagement.v1.ConfigRef][google.api.servicemanagement.v1.ConfigRef], - // [google.api.servicemanagement.v1.ConfigSource][google.api.servicemanagement.v1.ConfigSource], - // and [google.api.Service][google.api.Service] - OldConfig *any.Any `protobuf:"bytes,2,opt,name=old_config,json=oldConfig,proto3" json:"old_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GenerateConfigReportRequest) Reset() { *m = GenerateConfigReportRequest{} } -func (m *GenerateConfigReportRequest) String() string { return proto.CompactTextString(m) } -func (*GenerateConfigReportRequest) ProtoMessage() {} -func (*GenerateConfigReportRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e7934ed1b66ee227, []int{19} -} - -func (m *GenerateConfigReportRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GenerateConfigReportRequest.Unmarshal(m, b) -} -func (m *GenerateConfigReportRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GenerateConfigReportRequest.Marshal(b, m, deterministic) -} -func (m *GenerateConfigReportRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenerateConfigReportRequest.Merge(m, src) -} -func (m *GenerateConfigReportRequest) XXX_Size() int { - return xxx_messageInfo_GenerateConfigReportRequest.Size(m) -} -func (m *GenerateConfigReportRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GenerateConfigReportRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GenerateConfigReportRequest proto.InternalMessageInfo - -func (m *GenerateConfigReportRequest) GetNewConfig() *any.Any { - if m != nil { - return m.NewConfig - } - return nil -} - -func (m *GenerateConfigReportRequest) GetOldConfig() *any.Any { - if m != nil { - return m.OldConfig - } - return nil -} - -// Response message for GenerateConfigReport method. -type GenerateConfigReportResponse struct { - // Name of the service this report belongs to. - ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` - // ID of the service configuration this report belongs to. - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // list of ChangeReport, each corresponding to comparison between two - // service configurations. - ChangeReports []*ChangeReport `protobuf:"bytes,3,rep,name=change_reports,json=changeReports,proto3" json:"change_reports,omitempty"` - // Errors / Linter warnings associated with the service definition this - // report - // belongs to. - Diagnostics []*Diagnostic `protobuf:"bytes,4,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GenerateConfigReportResponse) Reset() { *m = GenerateConfigReportResponse{} } -func (m *GenerateConfigReportResponse) String() string { return proto.CompactTextString(m) } -func (*GenerateConfigReportResponse) ProtoMessage() {} -func (*GenerateConfigReportResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e7934ed1b66ee227, []int{20} -} - -func (m *GenerateConfigReportResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GenerateConfigReportResponse.Unmarshal(m, b) -} -func (m *GenerateConfigReportResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GenerateConfigReportResponse.Marshal(b, m, deterministic) -} -func (m *GenerateConfigReportResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenerateConfigReportResponse.Merge(m, src) -} -func (m *GenerateConfigReportResponse) XXX_Size() int { - return xxx_messageInfo_GenerateConfigReportResponse.Size(m) -} -func (m *GenerateConfigReportResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GenerateConfigReportResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GenerateConfigReportResponse proto.InternalMessageInfo - -func (m *GenerateConfigReportResponse) GetServiceName() string { - if m != nil { - return m.ServiceName - } - return "" -} - -func (m *GenerateConfigReportResponse) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *GenerateConfigReportResponse) GetChangeReports() []*ChangeReport { - if m != nil { - return m.ChangeReports - } - return nil -} - -func (m *GenerateConfigReportResponse) GetDiagnostics() []*Diagnostic { - if m != nil { - return m.Diagnostics - } - return nil -} - -func init() { - proto.RegisterEnum("google.api.servicemanagement.v1.GetServiceConfigRequest_ConfigView", GetServiceConfigRequest_ConfigView_name, GetServiceConfigRequest_ConfigView_value) - proto.RegisterType((*ListServicesRequest)(nil), "google.api.servicemanagement.v1.ListServicesRequest") - proto.RegisterType((*ListServicesResponse)(nil), "google.api.servicemanagement.v1.ListServicesResponse") - proto.RegisterType((*GetServiceRequest)(nil), "google.api.servicemanagement.v1.GetServiceRequest") - proto.RegisterType((*CreateServiceRequest)(nil), "google.api.servicemanagement.v1.CreateServiceRequest") - proto.RegisterType((*DeleteServiceRequest)(nil), "google.api.servicemanagement.v1.DeleteServiceRequest") - proto.RegisterType((*UndeleteServiceRequest)(nil), "google.api.servicemanagement.v1.UndeleteServiceRequest") - proto.RegisterType((*UndeleteServiceResponse)(nil), "google.api.servicemanagement.v1.UndeleteServiceResponse") - proto.RegisterType((*GetServiceConfigRequest)(nil), "google.api.servicemanagement.v1.GetServiceConfigRequest") - proto.RegisterType((*ListServiceConfigsRequest)(nil), "google.api.servicemanagement.v1.ListServiceConfigsRequest") - proto.RegisterType((*ListServiceConfigsResponse)(nil), "google.api.servicemanagement.v1.ListServiceConfigsResponse") - proto.RegisterType((*CreateServiceConfigRequest)(nil), "google.api.servicemanagement.v1.CreateServiceConfigRequest") - proto.RegisterType((*SubmitConfigSourceRequest)(nil), "google.api.servicemanagement.v1.SubmitConfigSourceRequest") - proto.RegisterType((*SubmitConfigSourceResponse)(nil), "google.api.servicemanagement.v1.SubmitConfigSourceResponse") - proto.RegisterType((*CreateServiceRolloutRequest)(nil), "google.api.servicemanagement.v1.CreateServiceRolloutRequest") - proto.RegisterType((*ListServiceRolloutsRequest)(nil), "google.api.servicemanagement.v1.ListServiceRolloutsRequest") - proto.RegisterType((*ListServiceRolloutsResponse)(nil), "google.api.servicemanagement.v1.ListServiceRolloutsResponse") - proto.RegisterType((*GetServiceRolloutRequest)(nil), "google.api.servicemanagement.v1.GetServiceRolloutRequest") - proto.RegisterType((*EnableServiceRequest)(nil), "google.api.servicemanagement.v1.EnableServiceRequest") - proto.RegisterType((*DisableServiceRequest)(nil), "google.api.servicemanagement.v1.DisableServiceRequest") - proto.RegisterType((*GenerateConfigReportRequest)(nil), "google.api.servicemanagement.v1.GenerateConfigReportRequest") - proto.RegisterType((*GenerateConfigReportResponse)(nil), "google.api.servicemanagement.v1.GenerateConfigReportResponse") -} - -func init() { - proto.RegisterFile("google/api/servicemanagement/v1/servicemanager.proto", fileDescriptor_e7934ed1b66ee227) -} - -var fileDescriptor_e7934ed1b66ee227 = []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, - 0x52, 0xa2, 0x94, 0xda, 0x4a, 0xfa, 0x03, 0xba, 0x29, 0x87, 0x26, 0x81, 0x28, 0xa2, 0xa5, 0xd1, - 0xa6, 0x3f, 0x50, 0x09, 0x5a, 0x39, 0xf6, 0xc4, 0x98, 0x7a, 0x67, 0x16, 0xdb, 0x9b, 0x90, 0x46, - 0xbd, 0x54, 0x95, 0x90, 0xe0, 0x84, 0x8a, 0xe8, 0xbd,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f4, 0x27, 0x82, 0x19, 0x83, 0xd5, 0x93, 0xc8, 0x2c, 0x8d, 0xc9, 0xda, 0x6f, - 0xbd, 0x25, 0x8f, 0xd7, 0xd1, 0x83, 0x75, 0x81, 0xb3, 0x98, 0xa3, 0x53, 0x4b, 0x65, 0xae, 0xa5, - 0x59, 0x84, 0x72, 0xf1, 0x2c, 0xfe, 0xaa, 0xea, 0x0d, 0xdb, 0x3b, 0xf4, 0xcf, 0xea, 0x62, 0x97, - 0xf1, 0x45, 0x6e, 0x70, 0xf5, 0xc6, 0xc6, 0xad, 0x97, 0xb9, 0xe9, 0xd5, 0xc0, 0xf3, 0xb2, 0xc3, - 0x9a, 0xa6, 0x2a, 0x45, 0xe7, 0x9c, 0xee, 0xcd, 0xff, 0x1a, 0xae, 0xd9, 0xe4, 0x6b, 0x36, 0xbb, - 0xd6, 0x6c, 0xde, 0x9b, 0xdf, 0x3a, 0xca, 0xb9, 0x5c, 0xfa, 0x27, 0x00, 0x00, 0xff, 0xff, 0x0e, - 0x92, 0xfd, 0x90, 0x73, 0x16, 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 - -// ServiceManagerClient is the client API for ServiceManager service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ServiceManagerClient interface { - // Lists managed services. - // - // Returns all public services. For authenticated users, also returns all - // services the calling user has "servicemanagement.services.get" permission - // for. - // - // **BETA:** If the caller specifies the `consumer_id`, it returns only the - // services enabled on the consumer. The `consumer_id` must have the format - // of "project:{PROJECT-ID}". - ListServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error) - // Gets a managed service. Authentication is required unless the service is - // public. - GetService(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*ManagedService, error) - // Creates a new managed service. - // Please note one producer project can own no more than 20 services. - // - // Operation - CreateService(ctx context.Context, in *CreateServiceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Deletes a managed service. This method will change the service to the - // `Soft-Delete` state for 30 days. Within this period, service producers may - // call - // [UndeleteService][google.api.servicemanagement.v1.ServiceManager.UndeleteService] - // to restore the service. After 30 days, the service will be permanently - // deleted. - // - // Operation - DeleteService(ctx context.Context, in *DeleteServiceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Revives a previously deleted managed service. The method restores the - // service using the configuration at the time the service was deleted. - // The target service must exist and must have been deleted within the - // last 30 days. - // - // Operation - UndeleteService(ctx context.Context, in *UndeleteServiceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Lists the history of the service configuration for a managed service, - // from the newest to the oldest. - ListServiceConfigs(ctx context.Context, in *ListServiceConfigsRequest, opts ...grpc.CallOption) (*ListServiceConfigsResponse, error) - // Gets a service configuration (version) for a managed service. - GetServiceConfig(ctx context.Context, in *GetServiceConfigRequest, opts ...grpc.CallOption) (*serviceconfig.Service, error) - // Creates a new service configuration (version) for a managed service. - // This method only stores the service configuration. To roll out the service - // configuration to backend systems please call - // [CreateServiceRollout][google.api.servicemanagement.v1.ServiceManager.CreateServiceRollout]. - // - // Only the 100 most recent service configurations and ones referenced by - // existing rollouts are kept for each service. The rest will be deleted - // eventually. - CreateServiceConfig(ctx context.Context, in *CreateServiceConfigRequest, opts ...grpc.CallOption) (*serviceconfig.Service, error) - // Creates a new service configuration (version) for a managed service based - // on - // user-supplied configuration source files (for example: OpenAPI - // Specification). This method stores the source configurations as well as the - // generated service configuration. To rollout the service configuration to - // other services, - // please call - // [CreateServiceRollout][google.api.servicemanagement.v1.ServiceManager.CreateServiceRollout]. - // - // Only the 100 most recent configuration sources and ones referenced by - // existing service configurtions are kept for each service. The rest will be - // deleted eventually. - // - // Operation - SubmitConfigSource(ctx context.Context, in *SubmitConfigSourceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Lists the history of the service configuration rollouts for a managed - // service, from the newest to the oldest. - ListServiceRollouts(ctx context.Context, in *ListServiceRolloutsRequest, opts ...grpc.CallOption) (*ListServiceRolloutsResponse, error) - // Gets a service configuration - // [rollout][google.api.servicemanagement.v1.Rollout]. - GetServiceRollout(ctx context.Context, in *GetServiceRolloutRequest, opts ...grpc.CallOption) (*Rollout, error) - // Creates a new service configuration rollout. Based on rollout, the - // Google Service Management will roll out the service configurations to - // different backend services. For example, the logging configuration will be - // pushed to Google Cloud Logging. - // - // Please note that any previous pending and running Rollouts and associated - // Operations will be automatically cancelled so that the latest Rollout will - // not be blocked by previous Rollouts. - // - // Only the 100 most recent (in any state) and the last 10 successful (if not - // already part of the set of 100 most recent) rollouts are kept for each - // service. The rest will be deleted eventually. - // - // Operation - CreateServiceRollout(ctx context.Context, in *CreateServiceRolloutRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Generates and returns a report (errors, warnings and changes from - // existing configurations) associated with - // GenerateConfigReportRequest.new_value - // - // If GenerateConfigReportRequest.old_value is specified, - // GenerateConfigReportRequest will contain a single ChangeReport based on the - // comparison between GenerateConfigReportRequest.new_value and - // GenerateConfigReportRequest.old_value. - // If GenerateConfigReportRequest.old_value is not specified, this method - // will compare GenerateConfigReportRequest.new_value with the last pushed - // service configuration. - GenerateConfigReport(ctx context.Context, in *GenerateConfigReportRequest, opts ...grpc.CallOption) (*GenerateConfigReportResponse, error) - // Enables a [service][google.api.servicemanagement.v1.ManagedService] for a - // project, so it can be used for the project. See [Cloud Auth - // Guide](https://cloud.google.com/docs/authentication) for more information. - // - // Operation - EnableService(ctx context.Context, in *EnableServiceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Disables a [service][google.api.servicemanagement.v1.ManagedService] for a - // project, so it can no longer be be used for the project. It prevents - // accidental usage that may cause unexpected billing charges or security - // leaks. - // - // Operation - DisableService(ctx context.Context, in *DisableServiceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) -} - -type serviceManagerClient struct { - cc *grpc.ClientConn -} - -func NewServiceManagerClient(cc *grpc.ClientConn) ServiceManagerClient { - return &serviceManagerClient{cc} -} - -func (c *serviceManagerClient) ListServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error) { - out := new(ListServicesResponse) - err := c.cc.Invoke(ctx, "/google.api.servicemanagement.v1.ServiceManager/ListServices", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *serviceManagerClient) GetService(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*ManagedService, error) { - out := new(ManagedService) - err := c.cc.Invoke(ctx, "/google.api.servicemanagement.v1.ServiceManager/GetService", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *serviceManagerClient) CreateService(ctx context.Context, in *CreateServiceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.api.servicemanagement.v1.ServiceManager/CreateService", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *serviceManagerClient) DeleteService(ctx context.Context, in *DeleteServiceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.api.servicemanagement.v1.ServiceManager/DeleteService", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *serviceManagerClient) UndeleteService(ctx context.Context, in *UndeleteServiceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.api.servicemanagement.v1.ServiceManager/UndeleteService", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *serviceManagerClient) ListServiceConfigs(ctx context.Context, in *ListServiceConfigsRequest, opts ...grpc.CallOption) (*ListServiceConfigsResponse, error) { - out := new(ListServiceConfigsResponse) - err := c.cc.Invoke(ctx, "/google.api.servicemanagement.v1.ServiceManager/ListServiceConfigs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *serviceManagerClient) GetServiceConfig(ctx context.Context, in *GetServiceConfigRequest, opts ...grpc.CallOption) (*serviceconfig.Service, error) { - out := new(serviceconfig.Service) - err := c.cc.Invoke(ctx, "/google.api.servicemanagement.v1.ServiceManager/GetServiceConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *serviceManagerClient) CreateServiceConfig(ctx context.Context, in *CreateServiceConfigRequest, opts ...grpc.CallOption) (*serviceconfig.Service, error) { - out := new(serviceconfig.Service) - err := c.cc.Invoke(ctx, "/google.api.servicemanagement.v1.ServiceManager/CreateServiceConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *serviceManagerClient) SubmitConfigSource(ctx context.Context, in *SubmitConfigSourceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.api.servicemanagement.v1.ServiceManager/SubmitConfigSource", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *serviceManagerClient) ListServiceRollouts(ctx context.Context, in *ListServiceRolloutsRequest, opts ...grpc.CallOption) (*ListServiceRolloutsResponse, error) { - out := new(ListServiceRolloutsResponse) - err := c.cc.Invoke(ctx, "/google.api.servicemanagement.v1.ServiceManager/ListServiceRollouts", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *serviceManagerClient) GetServiceRollout(ctx context.Context, in *GetServiceRolloutRequest, opts ...grpc.CallOption) (*Rollout, error) { - out := new(Rollout) - err := c.cc.Invoke(ctx, "/google.api.servicemanagement.v1.ServiceManager/GetServiceRollout", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *serviceManagerClient) CreateServiceRollout(ctx context.Context, in *CreateServiceRolloutRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.api.servicemanagement.v1.ServiceManager/CreateServiceRollout", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *serviceManagerClient) GenerateConfigReport(ctx context.Context, in *GenerateConfigReportRequest, opts ...grpc.CallOption) (*GenerateConfigReportResponse, error) { - out := new(GenerateConfigReportResponse) - err := c.cc.Invoke(ctx, "/google.api.servicemanagement.v1.ServiceManager/GenerateConfigReport", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *serviceManagerClient) EnableService(ctx context.Context, in *EnableServiceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.api.servicemanagement.v1.ServiceManager/EnableService", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *serviceManagerClient) DisableService(ctx context.Context, in *DisableServiceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.api.servicemanagement.v1.ServiceManager/DisableService", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ServiceManagerServer is the server API for ServiceManager service. -type ServiceManagerServer interface { - // Lists managed services. - // - // Returns all public services. For authenticated users, also returns all - // services the calling user has "servicemanagement.services.get" permission - // for. - // - // **BETA:** If the caller specifies the `consumer_id`, it returns only the - // services enabled on the consumer. The `consumer_id` must have the format - // of "project:{PROJECT-ID}". - ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error) - // Gets a managed service. Authentication is required unless the service is - // public. - GetService(context.Context, *GetServiceRequest) (*ManagedService, error) - // Creates a new managed service. - // Please note one producer project can own no more than 20 services. - // - // Operation - CreateService(context.Context, *CreateServiceRequest) (*longrunning.Operation, error) - // Deletes a managed service. This method will change the service to the - // `Soft-Delete` state for 30 days. Within this period, service producers may - // call - // [UndeleteService][google.api.servicemanagement.v1.ServiceManager.UndeleteService] - // to restore the service. After 30 days, the service will be permanently - // deleted. - // - // Operation - DeleteService(context.Context, *DeleteServiceRequest) (*longrunning.Operation, error) - // Revives a previously deleted managed service. The method restores the - // service using the configuration at the time the service was deleted. - // The target service must exist and must have been deleted within the - // last 30 days. - // - // Operation - UndeleteService(context.Context, *UndeleteServiceRequest) (*longrunning.Operation, error) - // Lists the history of the service configuration for a managed service, - // from the newest to the oldest. - ListServiceConfigs(context.Context, *ListServiceConfigsRequest) (*ListServiceConfigsResponse, error) - // Gets a service configuration (version) for a managed service. - GetServiceConfig(context.Context, *GetServiceConfigRequest) (*serviceconfig.Service, error) - // Creates a new service configuration (version) for a managed service. - // This method only stores the service configuration. To roll out the service - // configuration to backend systems please call - // [CreateServiceRollout][google.api.servicemanagement.v1.ServiceManager.CreateServiceRollout]. - // - // Only the 100 most recent service configurations and ones referenced by - // existing rollouts are kept for each service. The rest will be deleted - // eventually. - CreateServiceConfig(context.Context, *CreateServiceConfigRequest) (*serviceconfig.Service, error) - // Creates a new service configuration (version) for a managed service based - // on - // user-supplied configuration source files (for example: OpenAPI - // Specification). This method stores the source configurations as well as the - // generated service configuration. To rollout the service configuration to - // other services, - // please call - // [CreateServiceRollout][google.api.servicemanagement.v1.ServiceManager.CreateServiceRollout]. - // - // Only the 100 most recent configuration sources and ones referenced by - // existing service configurtions are kept for each service. The rest will be - // deleted eventually. - // - // Operation - SubmitConfigSource(context.Context, *SubmitConfigSourceRequest) (*longrunning.Operation, error) - // Lists the history of the service configuration rollouts for a managed - // service, from the newest to the oldest. - ListServiceRollouts(context.Context, *ListServiceRolloutsRequest) (*ListServiceRolloutsResponse, error) - // Gets a service configuration - // [rollout][google.api.servicemanagement.v1.Rollout]. - GetServiceRollout(context.Context, *GetServiceRolloutRequest) (*Rollout, error) - // Creates a new service configuration rollout. Based on rollout, the - // Google Service Management will roll out the service configurations to - // different backend services. For example, the logging configuration will be - // pushed to Google Cloud Logging. - // - // Please note that any previous pending and running Rollouts and associated - // Operations will be automatically cancelled so that the latest Rollout will - // not be blocked by previous Rollouts. - // - // Only the 100 most recent (in any state) and the last 10 successful (if not - // already part of the set of 100 most recent) rollouts are kept for each - // service. The rest will be deleted eventually. - // - // Operation - CreateServiceRollout(context.Context, *CreateServiceRolloutRequest) (*longrunning.Operation, error) - // Generates and returns a report (errors, warnings and changes from - // existing configurations) associated with - // GenerateConfigReportRequest.new_value - // - // If GenerateConfigReportRequest.old_value is specified, - // GenerateConfigReportRequest will contain a single ChangeReport based on the - // comparison between GenerateConfigReportRequest.new_value and - // GenerateConfigReportRequest.old_value. - // If GenerateConfigReportRequest.old_value is not specified, this method - // will compare GenerateConfigReportRequest.new_value with the last pushed - // service configuration. - GenerateConfigReport(context.Context, *GenerateConfigReportRequest) (*GenerateConfigReportResponse, error) - // Enables a [service][google.api.servicemanagement.v1.ManagedService] for a - // project, so it can be used for the project. See [Cloud Auth - // Guide](https://cloud.google.com/docs/authentication) for more information. - // - // Operation - EnableService(context.Context, *EnableServiceRequest) (*longrunning.Operation, error) - // Disables a [service][google.api.servicemanagement.v1.ManagedService] for a - // project, so it can no longer be be used for the project. It prevents - // accidental usage that may cause unexpected billing charges or security - // leaks. - // - // Operation - DisableService(context.Context, *DisableServiceRequest) (*longrunning.Operation, error) -} - -// UnimplementedServiceManagerServer can be embedded to have forward compatible implementations. -type UnimplementedServiceManagerServer struct { -} - -func (*UnimplementedServiceManagerServer) ListServices(ctx context.Context, req *ListServicesRequest) (*ListServicesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListServices not implemented") -} -func (*UnimplementedServiceManagerServer) GetService(ctx context.Context, req *GetServiceRequest) (*ManagedService, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetService not implemented") -} -func (*UnimplementedServiceManagerServer) CreateService(ctx context.Context, req *CreateServiceRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateService not implemented") -} -func (*UnimplementedServiceManagerServer) DeleteService(ctx context.Context, req *DeleteServiceRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteService not implemented") -} -func (*UnimplementedServiceManagerServer) UndeleteService(ctx context.Context, req *UndeleteServiceRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UndeleteService not implemented") -} -func (*UnimplementedServiceManagerServer) ListServiceConfigs(ctx context.Context, req *ListServiceConfigsRequest) (*ListServiceConfigsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListServiceConfigs not implemented") -} -func (*UnimplementedServiceManagerServer) GetServiceConfig(ctx context.Context, req *GetServiceConfigRequest) (*serviceconfig.Service, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetServiceConfig not implemented") -} -func (*UnimplementedServiceManagerServer) CreateServiceConfig(ctx context.Context, req *CreateServiceConfigRequest) (*serviceconfig.Service, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateServiceConfig not implemented") -} -func (*UnimplementedServiceManagerServer) SubmitConfigSource(ctx context.Context, req *SubmitConfigSourceRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SubmitConfigSource not implemented") -} -func (*UnimplementedServiceManagerServer) ListServiceRollouts(ctx context.Context, req *ListServiceRolloutsRequest) (*ListServiceRolloutsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListServiceRollouts not implemented") -} -func (*UnimplementedServiceManagerServer) GetServiceRollout(ctx context.Context, req *GetServiceRolloutRequest) (*Rollout, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetServiceRollout not implemented") -} -func (*UnimplementedServiceManagerServer) CreateServiceRollout(ctx context.Context, req *CreateServiceRolloutRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateServiceRollout not implemented") -} -func (*UnimplementedServiceManagerServer) GenerateConfigReport(ctx context.Context, req *GenerateConfigReportRequest) (*GenerateConfigReportResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GenerateConfigReport not implemented") -} -func (*UnimplementedServiceManagerServer) EnableService(ctx context.Context, req *EnableServiceRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method EnableService not implemented") -} -func (*UnimplementedServiceManagerServer) DisableService(ctx context.Context, req *DisableServiceRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DisableService not implemented") -} - -func RegisterServiceManagerServer(s *grpc.Server, srv ServiceManagerServer) { - s.RegisterService(&_ServiceManager_serviceDesc, srv) -} - -func _ServiceManager_ListServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListServicesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceManagerServer).ListServices(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.api.servicemanagement.v1.ServiceManager/ListServices", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceManagerServer).ListServices(ctx, req.(*ListServicesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ServiceManager_GetService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceManagerServer).GetService(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.api.servicemanagement.v1.ServiceManager/GetService", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceManagerServer).GetService(ctx, req.(*GetServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ServiceManager_CreateService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceManagerServer).CreateService(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.api.servicemanagement.v1.ServiceManager/CreateService", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceManagerServer).CreateService(ctx, req.(*CreateServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ServiceManager_DeleteService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceManagerServer).DeleteService(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.api.servicemanagement.v1.ServiceManager/DeleteService", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceManagerServer).DeleteService(ctx, req.(*DeleteServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ServiceManager_UndeleteService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UndeleteServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceManagerServer).UndeleteService(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.api.servicemanagement.v1.ServiceManager/UndeleteService", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceManagerServer).UndeleteService(ctx, req.(*UndeleteServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ServiceManager_ListServiceConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListServiceConfigsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceManagerServer).ListServiceConfigs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.api.servicemanagement.v1.ServiceManager/ListServiceConfigs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceManagerServer).ListServiceConfigs(ctx, req.(*ListServiceConfigsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ServiceManager_GetServiceConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetServiceConfigRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceManagerServer).GetServiceConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.api.servicemanagement.v1.ServiceManager/GetServiceConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceManagerServer).GetServiceConfig(ctx, req.(*GetServiceConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ServiceManager_CreateServiceConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateServiceConfigRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceManagerServer).CreateServiceConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.api.servicemanagement.v1.ServiceManager/CreateServiceConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceManagerServer).CreateServiceConfig(ctx, req.(*CreateServiceConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ServiceManager_SubmitConfigSource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SubmitConfigSourceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceManagerServer).SubmitConfigSource(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.api.servicemanagement.v1.ServiceManager/SubmitConfigSource", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceManagerServer).SubmitConfigSource(ctx, req.(*SubmitConfigSourceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ServiceManager_ListServiceRollouts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListServiceRolloutsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceManagerServer).ListServiceRollouts(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.api.servicemanagement.v1.ServiceManager/ListServiceRollouts", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceManagerServer).ListServiceRollouts(ctx, req.(*ListServiceRolloutsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ServiceManager_GetServiceRollout_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetServiceRolloutRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceManagerServer).GetServiceRollout(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.api.servicemanagement.v1.ServiceManager/GetServiceRollout", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceManagerServer).GetServiceRollout(ctx, req.(*GetServiceRolloutRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ServiceManager_CreateServiceRollout_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateServiceRolloutRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceManagerServer).CreateServiceRollout(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.api.servicemanagement.v1.ServiceManager/CreateServiceRollout", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceManagerServer).CreateServiceRollout(ctx, req.(*CreateServiceRolloutRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ServiceManager_GenerateConfigReport_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GenerateConfigReportRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceManagerServer).GenerateConfigReport(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.api.servicemanagement.v1.ServiceManager/GenerateConfigReport", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceManagerServer).GenerateConfigReport(ctx, req.(*GenerateConfigReportRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ServiceManager_EnableService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EnableServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceManagerServer).EnableService(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.api.servicemanagement.v1.ServiceManager/EnableService", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceManagerServer).EnableService(ctx, req.(*EnableServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ServiceManager_DisableService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DisableServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceManagerServer).DisableService(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.api.servicemanagement.v1.ServiceManager/DisableService", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceManagerServer).DisableService(ctx, req.(*DisableServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ServiceManager_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.api.servicemanagement.v1.ServiceManager", - HandlerType: (*ServiceManagerServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListServices", - Handler: _ServiceManager_ListServices_Handler, - }, - { - MethodName: "GetService", - Handler: _ServiceManager_GetService_Handler, - }, - { - MethodName: "CreateService", - Handler: _ServiceManager_CreateService_Handler, - }, - { - MethodName: "DeleteService", - Handler: _ServiceManager_DeleteService_Handler, - }, - { - MethodName: "UndeleteService", - Handler: _ServiceManager_UndeleteService_Handler, - }, - { - MethodName: "ListServiceConfigs", - Handler: _ServiceManager_ListServiceConfigs_Handler, - }, - { - MethodName: "GetServiceConfig", - Handler: _ServiceManager_GetServiceConfig_Handler, - }, - { - MethodName: "CreateServiceConfig", - Handler: _ServiceManager_CreateServiceConfig_Handler, - }, - { - MethodName: "SubmitConfigSource", - Handler: _ServiceManager_SubmitConfigSource_Handler, - }, - { - MethodName: "ListServiceRollouts", - Handler: _ServiceManager_ListServiceRollouts_Handler, - }, - { - MethodName: "GetServiceRollout", - Handler: _ServiceManager_GetServiceRollout_Handler, - }, - { - MethodName: "CreateServiceRollout", - Handler: _ServiceManager_CreateServiceRollout_Handler, - }, - { - MethodName: "GenerateConfigReport", - Handler: _ServiceManager_GenerateConfigReport_Handler, - }, - { - MethodName: "EnableService", - Handler: _ServiceManager_EnableService_Handler, - }, - { - MethodName: "DisableService", - Handler: _ServiceManager_DisableService_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/api/servicemanagement/v1/servicemanager.proto", -} 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 deleted file mode 100644 index d30106e0..00000000 --- a/vendor/google.golang.org/genproto/googleapis/appengine/legacy/audit_data.pb.go +++ /dev/null @@ -1,103 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/appengine/legacy/audit_data.proto - -package legacy - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Admin Console legacy audit log. -type AuditData struct { - // Text description of the admin event. - // This is the "Event" column in Admin Console's Admin Logs. - EventMessage string `protobuf:"bytes,1,opt,name=event_message,json=eventMessage,proto3" json:"event_message,omitempty"` - // Arbitrary event data. - // This is the "Result" column in Admin Console's Admin Logs. - EventData map[string]string `protobuf:"bytes,2,rep,name=event_data,json=eventData,proto3" json:"event_data,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 *AuditData) Reset() { *m = AuditData{} } -func (m *AuditData) String() string { return proto.CompactTextString(m) } -func (*AuditData) ProtoMessage() {} -func (*AuditData) Descriptor() ([]byte, []int) { - return fileDescriptor_74c360c1976d6377, []int{0} -} - -func (m *AuditData) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AuditData.Unmarshal(m, b) -} -func (m *AuditData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AuditData.Marshal(b, m, deterministic) -} -func (m *AuditData) XXX_Merge(src proto.Message) { - xxx_messageInfo_AuditData.Merge(m, src) -} -func (m *AuditData) XXX_Size() int { - return xxx_messageInfo_AuditData.Size(m) -} -func (m *AuditData) XXX_DiscardUnknown() { - xxx_messageInfo_AuditData.DiscardUnknown(m) -} - -var xxx_messageInfo_AuditData proto.InternalMessageInfo - -func (m *AuditData) GetEventMessage() string { - if m != nil { - return m.EventMessage - } - return "" -} - -func (m *AuditData) GetEventData() map[string]string { - if m != nil { - return m.EventData - } - return nil -} - -func init() { - proto.RegisterType((*AuditData)(nil), "google.appengine.legacy.AuditData") - proto.RegisterMapType((map[string]string)(nil), "google.appengine.legacy.AuditData.EventDataEntry") -} - -func init() { - proto.RegisterFile("google/appengine/legacy/audit_data.proto", fileDescriptor_74c360c1976d6377) -} - -var fileDescriptor_74c360c1976d6377 = []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, - 0xf5, 0x22, 0xfe, 0x39, 0x58, 0xec, 0x51, 0x58, 0x7a, 0xf4, 0x52, 0xc6, 0x76, 0x18, 0x16, 0xb7, - 0x49, 0xd8, 0x4d, 0x0b, 0xfb, 0xed, 0xfc, 0x68, 0x92, 0xa4, 0x2e, 0x48, 0xe9, 0x29, 0x33, 0x6f, - 0x7e, 0x99, 0x79, 0x3c, 0x28, 0xd9, 0x5a, 0x6e, 0x48, 0xa3, 0x73, 0x64, 0xb8, 0x36, 0xa4, 0x1b, - 0x62, 0x5c, 0xf6, 0x1a, 0x37, 0xab, 0xda, 0x2f, 0x56, 0xe8, 0x51, 0xb9, 0xd6, 0x7a, 0x2b, 0x2f, - 0x13, 0xa9, 0x06, 0x52, 0x25, 0xf2, 0xe6, 0x47, 0x40, 0xfe, 0x16, 0xe8, 0x77, 0xf4, 0x28, 0x6f, - 0xe1, 0x8c, 0xb6, 0x64, 0xfc, 0x62, 0x4d, 0x5d, 0x87, 0x4c, 0x85, 0x98, 0x88, 0x32, 0x9f, 0x9f, - 0x46, 0xf1, 0x23, 0x69, 0xb2, 0x02, 0x48, 0x50, 0xd8, 0x5f, 0x64, 0x93, 0x51, 0x79, 0x72, 0x7f, - 0xa7, 0x0e, 0x1c, 0x50, 0xc3, 0x72, 0x35, 0x0b, 0x9f, 0x42, 0x35, 0x33, 0xbe, 0xed, 0xe7, 0x39, - 0xfd, 0xf5, 0x57, 0x2f, 0x30, 0xfe, 0x3f, 0x94, 0xe7, 0x30, 0xfa, 0xa6, 0x7e, 0x77, 0x3e, 0x94, - 0xf2, 0x02, 0x8e, 0xb6, 0xd8, 0x6c, 0xa8, 0xc8, 0xa2, 0x96, 0x9a, 0xa7, 0xec, 0x51, 0x4c, 0x0d, - 0x5c, 0x2f, 0xed, 0xfa, 0x90, 0x81, 0xe9, 0x78, 0x70, 0x50, 0x85, 0x28, 0x2a, 0xf1, 0xf9, 0xba, - 0x43, 0xd9, 0x36, 0x68, 0x58, 0xd9, 0x96, 0x35, 0x93, 0x89, 0x41, 0xe9, 0x34, 0x42, 0x57, 0x77, - 0x7b, 0xa9, 0x3e, 0xa7, 0xe7, 0xeb, 0x38, 0x92, 0x0f, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x4e, - 0x5d, 0x14, 0xaa, 0x7e, 0x01, 0x00, 0x00, -} 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 deleted file mode 100644 index dd210043..00000000 --- a/vendor/google.golang.org/genproto/googleapis/appengine/logging/v1/request_log.pb.go +++ /dev/null @@ -1,623 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/appengine/logging/v1/request_log.proto - -package logging - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _type "google.golang.org/genproto/googleapis/logging/type" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Application log line emitted while processing a request. -type LogLine struct { - // Approximate time when this log entry was made. - Time *timestamp.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` - // Severity of this log entry. - Severity _type.LogSeverity `protobuf:"varint,2,opt,name=severity,proto3,enum=google.logging.type.LogSeverity" json:"severity,omitempty"` - // App-provided log message. - LogMessage string `protobuf:"bytes,3,opt,name=log_message,json=logMessage,proto3" json:"log_message,omitempty"` - // Where in the source code this log message was written. - SourceLocation *SourceLocation `protobuf:"bytes,4,opt,name=source_location,json=sourceLocation,proto3" json:"source_location,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_bf83c8b28bf3fb01, []int{0} -} - -func (m *LogLine) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LogLine.Unmarshal(m, b) -} -func (m *LogLine) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LogLine.Marshal(b, m, deterministic) -} -func (m *LogLine) XXX_Merge(src proto.Message) { - xxx_messageInfo_LogLine.Merge(m, src) -} -func (m *LogLine) XXX_Size() int { - return xxx_messageInfo_LogLine.Size(m) -} -func (m *LogLine) XXX_DiscardUnknown() { - xxx_messageInfo_LogLine.DiscardUnknown(m) -} - -var xxx_messageInfo_LogLine proto.InternalMessageInfo - -func (m *LogLine) GetTime() *timestamp.Timestamp { - if m != nil { - return m.Time - } - return nil -} - -func (m *LogLine) GetSeverity() _type.LogSeverity { - if m != nil { - return m.Severity - } - return _type.LogSeverity_DEFAULT -} - -func (m *LogLine) GetLogMessage() string { - if m != nil { - return m.LogMessage - } - return "" -} - -func (m *LogLine) GetSourceLocation() *SourceLocation { - if m != nil { - return m.SourceLocation - } - return nil -} - -// Specifies a location in a source code file. -type SourceLocation struct { - // Source file name. Depending on the runtime environment, this might be a - // simple name or a fully-qualified name. - File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` - // Line within the source file. - Line int64 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"` - // Human-readable name of the function or method being invoked, with optional - // context such as the class or package name. This information is used in - // contexts such as the logs viewer, where a file and line number are less - // meaningful. The format can vary by language. For example: - // `qual.if.ied.Class.method` (Java), `dir/package.func` (Go), `function` - // (Python). - FunctionName string `protobuf:"bytes,3,opt,name=function_name,json=functionName,proto3" json:"function_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_bf83c8b28bf3fb01, []int{1} -} - -func (m *SourceLocation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SourceLocation.Unmarshal(m, b) -} -func (m *SourceLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SourceLocation.Marshal(b, m, deterministic) -} -func (m *SourceLocation) XXX_Merge(src proto.Message) { - xxx_messageInfo_SourceLocation.Merge(m, src) -} -func (m *SourceLocation) XXX_Size() int { - return xxx_messageInfo_SourceLocation.Size(m) -} -func (m *SourceLocation) XXX_DiscardUnknown() { - xxx_messageInfo_SourceLocation.DiscardUnknown(m) -} - -var xxx_messageInfo_SourceLocation proto.InternalMessageInfo - -func (m *SourceLocation) GetFile() string { - if m != nil { - return m.File - } - return "" -} - -func (m *SourceLocation) GetLine() int64 { - if m != nil { - return m.Line - } - return 0 -} - -func (m *SourceLocation) GetFunctionName() string { - if m != nil { - return m.FunctionName - } - return "" -} - -// A reference to a particular snapshot of the source tree used to build and -// deploy an application. -type SourceReference struct { - // Optional. A URI string identifying the repository. - // Example: "https://github.com/GoogleCloudPlatform/kubernetes.git" - Repository string `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // The canonical and persistent identifier of the deployed revision. - // Example (git): "0035781c50ec7aa23385dc841529ce8a4b70db1b" - 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 *SourceReference) Reset() { *m = SourceReference{} } -func (m *SourceReference) String() string { return proto.CompactTextString(m) } -func (*SourceReference) ProtoMessage() {} -func (*SourceReference) Descriptor() ([]byte, []int) { - return fileDescriptor_bf83c8b28bf3fb01, []int{2} -} - -func (m *SourceReference) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SourceReference.Unmarshal(m, b) -} -func (m *SourceReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SourceReference.Marshal(b, m, deterministic) -} -func (m *SourceReference) XXX_Merge(src proto.Message) { - xxx_messageInfo_SourceReference.Merge(m, src) -} -func (m *SourceReference) XXX_Size() int { - return xxx_messageInfo_SourceReference.Size(m) -} -func (m *SourceReference) XXX_DiscardUnknown() { - xxx_messageInfo_SourceReference.DiscardUnknown(m) -} - -var xxx_messageInfo_SourceReference proto.InternalMessageInfo - -func (m *SourceReference) GetRepository() string { - if m != nil { - return m.Repository - } - return "" -} - -func (m *SourceReference) GetRevisionId() string { - if m != nil { - return m.RevisionId - } - return "" -} - -// Complete log information about a single HTTP request to an App Engine -// application. -type RequestLog struct { - // Application that handled this request. - AppId string `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` - // Module of the application that handled this request. - ModuleId string `protobuf:"bytes,37,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"` - // Version of the application that handled this request. - VersionId string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` - // Globally unique identifier for a request, which is based on the request - // start time. Request IDs for requests which started later will compare - // greater as strings than those for requests which started earlier. - RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - // Origin IP address. - Ip string `protobuf:"bytes,4,opt,name=ip,proto3" json:"ip,omitempty"` - // Time when the request started. - StartTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // Time when the request finished. - EndTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - // Latency of the request. - Latency *duration.Duration `protobuf:"bytes,8,opt,name=latency,proto3" json:"latency,omitempty"` - // Number of CPU megacycles used to process request. - MegaCycles int64 `protobuf:"varint,9,opt,name=mega_cycles,json=megaCycles,proto3" json:"mega_cycles,omitempty"` - // Request method. Example: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`, `"DELETE"`. - Method string `protobuf:"bytes,10,opt,name=method,proto3" json:"method,omitempty"` - // Contains the path and query portion of the URL that was requested. For - // example, if the URL was "http://example.com/app?name=val", the resource - // would be "/app?name=val". The fragment identifier, which is identified by - // the `#` character, is not included. - Resource string `protobuf:"bytes,11,opt,name=resource,proto3" json:"resource,omitempty"` - // HTTP version of request. Example: `"HTTP/1.1"`. - HttpVersion string `protobuf:"bytes,12,opt,name=http_version,json=httpVersion,proto3" json:"http_version,omitempty"` - // HTTP response status code. Example: 200, 404. - Status int32 `protobuf:"varint,13,opt,name=status,proto3" json:"status,omitempty"` - // Size in bytes sent back to client by request. - ResponseSize int64 `protobuf:"varint,14,opt,name=response_size,json=responseSize,proto3" json:"response_size,omitempty"` - // Referrer URL of request. - Referrer string `protobuf:"bytes,15,opt,name=referrer,proto3" json:"referrer,omitempty"` - // User agent that made the request. - UserAgent string `protobuf:"bytes,16,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"` - // The logged-in user who made the request. - // - // Most likely, this is the part of the user's email before the `@` sign. The - // field value is the same for different requests from the same user, but - // different users can have similar names. This information is also - // available to the application via the App Engine Users API. - // - // This field will be populated starting with App Engine 1.9.21. - Nickname string `protobuf:"bytes,40,opt,name=nickname,proto3" json:"nickname,omitempty"` - // File or class that handled the request. - UrlMapEntry string `protobuf:"bytes,17,opt,name=url_map_entry,json=urlMapEntry,proto3" json:"url_map_entry,omitempty"` - // Internet host and port number of the resource being requested. - Host string `protobuf:"bytes,20,opt,name=host,proto3" json:"host,omitempty"` - // An indication of the relative cost of serving this request. - Cost float64 `protobuf:"fixed64,21,opt,name=cost,proto3" json:"cost,omitempty"` - // Queue name of the request, in the case of an offline request. - TaskQueueName string `protobuf:"bytes,22,opt,name=task_queue_name,json=taskQueueName,proto3" json:"task_queue_name,omitempty"` - // Task name of the request, in the case of an offline request. - TaskName string `protobuf:"bytes,23,opt,name=task_name,json=taskName,proto3" json:"task_name,omitempty"` - // Whether this was a loading request for the instance. - WasLoadingRequest bool `protobuf:"varint,24,opt,name=was_loading_request,json=wasLoadingRequest,proto3" json:"was_loading_request,omitempty"` - // Time this request spent in the pending request queue. - PendingTime *duration.Duration `protobuf:"bytes,25,opt,name=pending_time,json=pendingTime,proto3" json:"pending_time,omitempty"` - // If the instance processing this request belongs to a manually scaled - // module, then this is the 0-based index of the instance. Otherwise, this - // value is -1. - InstanceIndex int32 `protobuf:"varint,26,opt,name=instance_index,json=instanceIndex,proto3" json:"instance_index,omitempty"` - // Whether this request is finished or active. - Finished bool `protobuf:"varint,27,opt,name=finished,proto3" json:"finished,omitempty"` - // Whether this is the first `RequestLog` entry for this request. If an - // active request has several `RequestLog` entries written to Stackdriver - // Logging, then this field will be set for one of them. - First bool `protobuf:"varint,42,opt,name=first,proto3" json:"first,omitempty"` - // An identifier for the instance that handled the request. - InstanceId string `protobuf:"bytes,28,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` - // A list of log lines emitted by the application while serving this request. - Line []*LogLine `protobuf:"bytes,29,rep,name=line,proto3" json:"line,omitempty"` - // App Engine release version. - AppEngineRelease string `protobuf:"bytes,38,opt,name=app_engine_release,json=appEngineRelease,proto3" json:"app_engine_release,omitempty"` - // Stackdriver Trace identifier for this request. - TraceId string `protobuf:"bytes,39,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"` - // Source code for the application that handled this request. There can be - // more than one source reference per deployed application if source code is - // distributed among multiple repositories. - SourceReference []*SourceReference `protobuf:"bytes,41,rep,name=source_reference,json=sourceReference,proto3" json:"source_reference,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_bf83c8b28bf3fb01, []int{3} -} - -func (m *RequestLog) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RequestLog.Unmarshal(m, b) -} -func (m *RequestLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RequestLog.Marshal(b, m, deterministic) -} -func (m *RequestLog) XXX_Merge(src proto.Message) { - xxx_messageInfo_RequestLog.Merge(m, src) -} -func (m *RequestLog) XXX_Size() int { - return xxx_messageInfo_RequestLog.Size(m) -} -func (m *RequestLog) XXX_DiscardUnknown() { - xxx_messageInfo_RequestLog.DiscardUnknown(m) -} - -var xxx_messageInfo_RequestLog proto.InternalMessageInfo - -func (m *RequestLog) GetAppId() string { - if m != nil { - return m.AppId - } - return "" -} - -func (m *RequestLog) GetModuleId() string { - if m != nil { - return m.ModuleId - } - return "" -} - -func (m *RequestLog) GetVersionId() string { - if m != nil { - return m.VersionId - } - return "" -} - -func (m *RequestLog) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} - -func (m *RequestLog) GetIp() string { - if m != nil { - return m.Ip - } - return "" -} - -func (m *RequestLog) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *RequestLog) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -func (m *RequestLog) GetLatency() *duration.Duration { - if m != nil { - return m.Latency - } - return nil -} - -func (m *RequestLog) GetMegaCycles() int64 { - if m != nil { - return m.MegaCycles - } - return 0 -} - -func (m *RequestLog) GetMethod() string { - if m != nil { - return m.Method - } - return "" -} - -func (m *RequestLog) GetResource() string { - if m != nil { - return m.Resource - } - return "" -} - -func (m *RequestLog) GetHttpVersion() string { - if m != nil { - return m.HttpVersion - } - return "" -} - -func (m *RequestLog) GetStatus() int32 { - if m != nil { - return m.Status - } - return 0 -} - -func (m *RequestLog) GetResponseSize() int64 { - if m != nil { - return m.ResponseSize - } - return 0 -} - -func (m *RequestLog) GetReferrer() string { - if m != nil { - return m.Referrer - } - return "" -} - -func (m *RequestLog) GetUserAgent() string { - if m != nil { - return m.UserAgent - } - return "" -} - -func (m *RequestLog) GetNickname() string { - if m != nil { - return m.Nickname - } - return "" -} - -func (m *RequestLog) GetUrlMapEntry() string { - if m != nil { - return m.UrlMapEntry - } - return "" -} - -func (m *RequestLog) GetHost() string { - if m != nil { - return m.Host - } - return "" -} - -func (m *RequestLog) GetCost() float64 { - if m != nil { - return m.Cost - } - return 0 -} - -func (m *RequestLog) GetTaskQueueName() string { - if m != nil { - return m.TaskQueueName - } - return "" -} - -func (m *RequestLog) GetTaskName() string { - if m != nil { - return m.TaskName - } - return "" -} - -func (m *RequestLog) GetWasLoadingRequest() bool { - if m != nil { - return m.WasLoadingRequest - } - return false -} - -func (m *RequestLog) GetPendingTime() *duration.Duration { - if m != nil { - return m.PendingTime - } - return nil -} - -func (m *RequestLog) GetInstanceIndex() int32 { - if m != nil { - return m.InstanceIndex - } - return 0 -} - -func (m *RequestLog) GetFinished() bool { - if m != nil { - return m.Finished - } - return false -} - -func (m *RequestLog) GetFirst() bool { - if m != nil { - return m.First - } - return false -} - -func (m *RequestLog) GetInstanceId() string { - if m != nil { - return m.InstanceId - } - return "" -} - -func (m *RequestLog) GetLine() []*LogLine { - if m != nil { - return m.Line - } - return nil -} - -func (m *RequestLog) GetAppEngineRelease() string { - if m != nil { - return m.AppEngineRelease - } - return "" -} - -func (m *RequestLog) GetTraceId() string { - if m != nil { - return m.TraceId - } - return "" -} - -func (m *RequestLog) GetSourceReference() []*SourceReference { - if m != nil { - return m.SourceReference - } - return nil -} - -func init() { - proto.RegisterType((*LogLine)(nil), "google.appengine.logging.v1.LogLine") - proto.RegisterType((*SourceLocation)(nil), "google.appengine.logging.v1.SourceLocation") - proto.RegisterType((*SourceReference)(nil), "google.appengine.logging.v1.SourceReference") - proto.RegisterType((*RequestLog)(nil), "google.appengine.logging.v1.RequestLog") -} - -func init() { - proto.RegisterFile("google/appengine/logging/v1/request_log.proto", fileDescriptor_bf83c8b28bf3fb01) -} - -var fileDescriptor_bf83c8b28bf3fb01 = []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, - 0x40, 0xd9, 0x53, 0x53, 0x21, 0x81, 0xe8, 0x3f, 0x04, 0xfa, 0xc7, 0x49, 0x57, 0x54, 0x36, 0x15, - 0x48, 0x48, 0x68, 0xe5, 0xee, 0xce, 0x6d, 0xac, 0xee, 0xda, 0xae, 0xed, 0xbd, 0xf6, 0xfa, 0x41, - 0xf8, 0x98, 0x7c, 0x06, 0xe4, 0xb1, 0xf7, 0x4a, 0x00, 0x25, 0xfc, 0xb7, 0xf3, 0xe6, 0xbd, 0xf1, - 0xd8, 0x7e, 0x9e, 0x25, 0x5f, 0x55, 0x4a, 0x55, 0x35, 0x4c, 0xb8, 0xd6, 0x20, 0x2b, 0x21, 0x61, - 0x52, 0xab, 0xaa, 0x12, 0xb2, 0x9a, 0x2c, 0x1e, 0x4d, 0x0c, 0xbc, 0x6e, 0xc1, 0xba, 0xbc, 0x56, - 0x55, 0x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, 0x9f, 0x63, 0x3b, 0x0f, 0xff, - 0xc7, 0x24, 0x5d, 0x0d, 0xb2, 0x2c, 0x8e, 0xe3, 0x15, 0x70, 0xfe, 0x96, 0x1c, 0x17, 0xaa, 0xb9, - 0xae, 0xc6, 0xf9, 0xde, 0xfb, 0xc1, 0xf5, 0xdc, 0x5f, 0xd1, 0xf3, 0xe4, 0xb7, 0xf3, 0xc8, 0xaf, - 0x54, 0xcd, 0x65, 0x95, 0x2a, 0x53, 0x4d, 0x2a, 0x90, 0x78, 0x81, 0x93, 0x90, 0xe2, 0x5a, 0xd8, - 0xff, 0xfc, 0x8d, 0x7e, 0x17, 0x3f, 0x5f, 0x6e, 0x21, 0xfd, 0xf1, 0x5f, 0x01, 0x00, 0x00, 0xff, - 0xff, 0x05, 0xf7, 0x68, 0xa8, 0x74, 0x07, 0x00, 0x00, -} 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 deleted file mode 100644 index ce1f61d1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/appengine/v1/app_yaml.pb.go +++ /dev/null @@ -1,960 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/appengine/v1/app_yaml.proto - -package appengine - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Actions to take when the user is not logged in. -type AuthFailAction int32 - -const ( - // Not specified. `AUTH_FAIL_ACTION_REDIRECT` is assumed. - AuthFailAction_AUTH_FAIL_ACTION_UNSPECIFIED AuthFailAction = 0 - // Redirects user to "accounts.google.com". The user is redirected back to the - // application URL after signing in or creating an account. - AuthFailAction_AUTH_FAIL_ACTION_REDIRECT AuthFailAction = 1 - // Rejects request with a `401` HTTP status code and an error - // message. - AuthFailAction_AUTH_FAIL_ACTION_UNAUTHORIZED AuthFailAction = 2 -) - -var AuthFailAction_name = map[int32]string{ - 0: "AUTH_FAIL_ACTION_UNSPECIFIED", - 1: "AUTH_FAIL_ACTION_REDIRECT", - 2: "AUTH_FAIL_ACTION_UNAUTHORIZED", -} - -var AuthFailAction_value = map[string]int32{ - "AUTH_FAIL_ACTION_UNSPECIFIED": 0, - "AUTH_FAIL_ACTION_REDIRECT": 1, - "AUTH_FAIL_ACTION_UNAUTHORIZED": 2, -} - -func (x AuthFailAction) String() string { - return proto.EnumName(AuthFailAction_name, int32(x)) -} - -func (AuthFailAction) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2e3b6ce3f971717f, []int{0} -} - -// Methods to restrict access to a URL based on login status. -type LoginRequirement int32 - -const ( - // Not specified. `LOGIN_OPTIONAL` is assumed. - LoginRequirement_LOGIN_UNSPECIFIED LoginRequirement = 0 - // Does not require that the user is signed in. - LoginRequirement_LOGIN_OPTIONAL LoginRequirement = 1 - // If the user is not signed in, the `auth_fail_action` is taken. - // In addition, if the user is not an administrator for the - // application, they are given an error message regardless of - // `auth_fail_action`. If the user is an administrator, the handler - // proceeds. - LoginRequirement_LOGIN_ADMIN LoginRequirement = 2 - // If the user has signed in, the handler proceeds normally. Otherwise, the - // auth_fail_action is taken. - LoginRequirement_LOGIN_REQUIRED LoginRequirement = 3 -) - -var LoginRequirement_name = map[int32]string{ - 0: "LOGIN_UNSPECIFIED", - 1: "LOGIN_OPTIONAL", - 2: "LOGIN_ADMIN", - 3: "LOGIN_REQUIRED", -} - -var LoginRequirement_value = map[string]int32{ - "LOGIN_UNSPECIFIED": 0, - "LOGIN_OPTIONAL": 1, - "LOGIN_ADMIN": 2, - "LOGIN_REQUIRED": 3, -} - -func (x LoginRequirement) String() string { - return proto.EnumName(LoginRequirement_name, int32(x)) -} - -func (LoginRequirement) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2e3b6ce3f971717f, []int{1} -} - -// Methods to enforce security (HTTPS) on a URL. -type SecurityLevel int32 - -const ( - // Not specified. - SecurityLevel_SECURE_UNSPECIFIED SecurityLevel = 0 - // Both HTTP and HTTPS requests with URLs that match the handler succeed - // without redirects. The application can examine the request to determine - // which protocol was used, and respond accordingly. - SecurityLevel_SECURE_DEFAULT SecurityLevel = 0 - // Requests for a URL that match this handler that use HTTPS are automatically - // redirected to the HTTP equivalent URL. - SecurityLevel_SECURE_NEVER SecurityLevel = 1 - // Both HTTP and HTTPS requests with URLs that match the handler succeed - // without redirects. The application can examine the request to determine - // which protocol was used and respond accordingly. - SecurityLevel_SECURE_OPTIONAL SecurityLevel = 2 - // Requests for a URL that match this handler that do not use HTTPS are - // automatically redirected to the HTTPS URL with the same path. Query - // parameters are reserved for the redirect. - SecurityLevel_SECURE_ALWAYS SecurityLevel = 3 -) - -var SecurityLevel_name = map[int32]string{ - 0: "SECURE_UNSPECIFIED", - // Duplicate value: 0: "SECURE_DEFAULT", - 1: "SECURE_NEVER", - 2: "SECURE_OPTIONAL", - 3: "SECURE_ALWAYS", -} - -var SecurityLevel_value = map[string]int32{ - "SECURE_UNSPECIFIED": 0, - "SECURE_DEFAULT": 0, - "SECURE_NEVER": 1, - "SECURE_OPTIONAL": 2, - "SECURE_ALWAYS": 3, -} - -func (x SecurityLevel) String() string { - return proto.EnumName(SecurityLevel_name, int32(x)) -} - -func (SecurityLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2e3b6ce3f971717f, []int{2} -} - -// Error codes. -type ErrorHandler_ErrorCode int32 - -const ( - // Not specified. ERROR_CODE_DEFAULT is assumed. - ErrorHandler_ERROR_CODE_UNSPECIFIED ErrorHandler_ErrorCode = 0 - // All other error types. - ErrorHandler_ERROR_CODE_DEFAULT ErrorHandler_ErrorCode = 0 - // Application has exceeded a resource quota. - ErrorHandler_ERROR_CODE_OVER_QUOTA ErrorHandler_ErrorCode = 1 - // Client blocked by the application's Denial of Service protection - // configuration. - ErrorHandler_ERROR_CODE_DOS_API_DENIAL ErrorHandler_ErrorCode = 2 - // Deadline reached before the application responds. - ErrorHandler_ERROR_CODE_TIMEOUT ErrorHandler_ErrorCode = 3 -) - -var ErrorHandler_ErrorCode_name = map[int32]string{ - 0: "ERROR_CODE_UNSPECIFIED", - // Duplicate value: 0: "ERROR_CODE_DEFAULT", - 1: "ERROR_CODE_OVER_QUOTA", - 2: "ERROR_CODE_DOS_API_DENIAL", - 3: "ERROR_CODE_TIMEOUT", -} - -var ErrorHandler_ErrorCode_value = map[string]int32{ - "ERROR_CODE_UNSPECIFIED": 0, - "ERROR_CODE_DEFAULT": 0, - "ERROR_CODE_OVER_QUOTA": 1, - "ERROR_CODE_DOS_API_DENIAL": 2, - "ERROR_CODE_TIMEOUT": 3, -} - -func (x ErrorHandler_ErrorCode) String() string { - return proto.EnumName(ErrorHandler_ErrorCode_name, int32(x)) -} - -func (ErrorHandler_ErrorCode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2e3b6ce3f971717f, []int{1, 0} -} - -// Redirect codes. -type UrlMap_RedirectHttpResponseCode int32 - -const ( - // Not specified. `302` is assumed. - UrlMap_REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED UrlMap_RedirectHttpResponseCode = 0 - // `301 Moved Permanently` code. - UrlMap_REDIRECT_HTTP_RESPONSE_CODE_301 UrlMap_RedirectHttpResponseCode = 1 - // `302 Moved Temporarily` code. - UrlMap_REDIRECT_HTTP_RESPONSE_CODE_302 UrlMap_RedirectHttpResponseCode = 2 - // `303 See Other` code. - UrlMap_REDIRECT_HTTP_RESPONSE_CODE_303 UrlMap_RedirectHttpResponseCode = 3 - // `307 Temporary Redirect` code. - UrlMap_REDIRECT_HTTP_RESPONSE_CODE_307 UrlMap_RedirectHttpResponseCode = 4 -) - -var UrlMap_RedirectHttpResponseCode_name = map[int32]string{ - 0: "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED", - 1: "REDIRECT_HTTP_RESPONSE_CODE_301", - 2: "REDIRECT_HTTP_RESPONSE_CODE_302", - 3: "REDIRECT_HTTP_RESPONSE_CODE_303", - 4: "REDIRECT_HTTP_RESPONSE_CODE_307", -} - -var UrlMap_RedirectHttpResponseCode_value = map[string]int32{ - "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED": 0, - "REDIRECT_HTTP_RESPONSE_CODE_301": 1, - "REDIRECT_HTTP_RESPONSE_CODE_302": 2, - "REDIRECT_HTTP_RESPONSE_CODE_303": 3, - "REDIRECT_HTTP_RESPONSE_CODE_307": 4, -} - -func (x UrlMap_RedirectHttpResponseCode) String() string { - return proto.EnumName(UrlMap_RedirectHttpResponseCode_name, int32(x)) -} - -func (UrlMap_RedirectHttpResponseCode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2e3b6ce3f971717f, []int{2, 0} -} - -// [Google Cloud -// Endpoints](https://cloud.google.com/appengine/docs/python/endpoints/) -// configuration for API handlers. -type ApiConfigHandler struct { - // Action to take when users access resources that require - // authentication. Defaults to `redirect`. - AuthFailAction AuthFailAction `protobuf:"varint,1,opt,name=auth_fail_action,json=authFailAction,proto3,enum=google.appengine.v1.AuthFailAction" json:"auth_fail_action,omitempty"` - // Level of login required to access this resource. Defaults to - // `optional`. - Login LoginRequirement `protobuf:"varint,2,opt,name=login,proto3,enum=google.appengine.v1.LoginRequirement" json:"login,omitempty"` - // Path to the script from the application root directory. - Script string `protobuf:"bytes,3,opt,name=script,proto3" json:"script,omitempty"` - // Security (HTTPS) enforcement for this URL. - SecurityLevel SecurityLevel `protobuf:"varint,4,opt,name=security_level,json=securityLevel,proto3,enum=google.appengine.v1.SecurityLevel" json:"security_level,omitempty"` - // URL to serve the endpoint at. - Url string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2e3b6ce3f971717f, []int{0} -} - -func (m *ApiConfigHandler) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ApiConfigHandler.Unmarshal(m, b) -} -func (m *ApiConfigHandler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ApiConfigHandler.Marshal(b, m, deterministic) -} -func (m *ApiConfigHandler) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApiConfigHandler.Merge(m, src) -} -func (m *ApiConfigHandler) XXX_Size() int { - return xxx_messageInfo_ApiConfigHandler.Size(m) -} -func (m *ApiConfigHandler) XXX_DiscardUnknown() { - xxx_messageInfo_ApiConfigHandler.DiscardUnknown(m) -} - -var xxx_messageInfo_ApiConfigHandler proto.InternalMessageInfo - -func (m *ApiConfigHandler) GetAuthFailAction() AuthFailAction { - if m != nil { - return m.AuthFailAction - } - return AuthFailAction_AUTH_FAIL_ACTION_UNSPECIFIED -} - -func (m *ApiConfigHandler) GetLogin() LoginRequirement { - if m != nil { - return m.Login - } - return LoginRequirement_LOGIN_UNSPECIFIED -} - -func (m *ApiConfigHandler) GetScript() string { - if m != nil { - return m.Script - } - return "" -} - -func (m *ApiConfigHandler) GetSecurityLevel() SecurityLevel { - if m != nil { - return m.SecurityLevel - } - return SecurityLevel_SECURE_UNSPECIFIED -} - -func (m *ApiConfigHandler) GetUrl() string { - if m != nil { - return m.Url - } - return "" -} - -// Custom static error page to be served when an error occurs. -type ErrorHandler struct { - // Error condition this handler applies to. - ErrorCode ErrorHandler_ErrorCode `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3,enum=google.appengine.v1.ErrorHandler_ErrorCode" json:"error_code,omitempty"` - // Static file content to be served for this error. - StaticFile string `protobuf:"bytes,2,opt,name=static_file,json=staticFile,proto3" json:"static_file,omitempty"` - // MIME type of file. Defaults to `text/html`. - MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2e3b6ce3f971717f, []int{1} -} - -func (m *ErrorHandler) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ErrorHandler.Unmarshal(m, b) -} -func (m *ErrorHandler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ErrorHandler.Marshal(b, m, deterministic) -} -func (m *ErrorHandler) XXX_Merge(src proto.Message) { - xxx_messageInfo_ErrorHandler.Merge(m, src) -} -func (m *ErrorHandler) XXX_Size() int { - return xxx_messageInfo_ErrorHandler.Size(m) -} -func (m *ErrorHandler) XXX_DiscardUnknown() { - xxx_messageInfo_ErrorHandler.DiscardUnknown(m) -} - -var xxx_messageInfo_ErrorHandler proto.InternalMessageInfo - -func (m *ErrorHandler) GetErrorCode() ErrorHandler_ErrorCode { - if m != nil { - return m.ErrorCode - } - return ErrorHandler_ERROR_CODE_UNSPECIFIED -} - -func (m *ErrorHandler) GetStaticFile() string { - if m != nil { - return m.StaticFile - } - return "" -} - -func (m *ErrorHandler) GetMimeType() string { - if m != nil { - return m.MimeType - } - return "" -} - -// URL pattern and description of how the URL should be handled. App Engine can -// handle URLs by executing application code or by serving static files -// uploaded with the version, such as images, CSS, or JavaScript. -type UrlMap struct { - // URL prefix. Uses regular expression syntax, which means regexp - // special characters must be escaped, but should not contain groupings. - // All URLs that begin with this prefix are handled by this handler, using the - // portion of the URL after the prefix as part of the file path. - UrlRegex string `protobuf:"bytes,1,opt,name=url_regex,json=urlRegex,proto3" json:"url_regex,omitempty"` - // Type of handler for this URL pattern. - // - // Types that are valid to be assigned to HandlerType: - // *UrlMap_StaticFiles - // *UrlMap_Script - // *UrlMap_ApiEndpoint - HandlerType isUrlMap_HandlerType `protobuf_oneof:"handler_type"` - // Security (HTTPS) enforcement for this URL. - SecurityLevel SecurityLevel `protobuf:"varint,5,opt,name=security_level,json=securityLevel,proto3,enum=google.appengine.v1.SecurityLevel" json:"security_level,omitempty"` - // Level of login required to access this resource. - Login LoginRequirement `protobuf:"varint,6,opt,name=login,proto3,enum=google.appengine.v1.LoginRequirement" json:"login,omitempty"` - // Action to take when users access resources that require - // authentication. Defaults to `redirect`. - AuthFailAction AuthFailAction `protobuf:"varint,7,opt,name=auth_fail_action,json=authFailAction,proto3,enum=google.appengine.v1.AuthFailAction" json:"auth_fail_action,omitempty"` - // `30x` code to use when performing redirects for the `secure` field. - // Defaults to `302`. - RedirectHttpResponseCode UrlMap_RedirectHttpResponseCode `protobuf:"varint,8,opt,name=redirect_http_response_code,json=redirectHttpResponseCode,proto3,enum=google.appengine.v1.UrlMap_RedirectHttpResponseCode" json:"redirect_http_response_code,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2e3b6ce3f971717f, []int{2} -} - -func (m *UrlMap) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UrlMap.Unmarshal(m, b) -} -func (m *UrlMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UrlMap.Marshal(b, m, deterministic) -} -func (m *UrlMap) XXX_Merge(src proto.Message) { - xxx_messageInfo_UrlMap.Merge(m, src) -} -func (m *UrlMap) XXX_Size() int { - return xxx_messageInfo_UrlMap.Size(m) -} -func (m *UrlMap) XXX_DiscardUnknown() { - xxx_messageInfo_UrlMap.DiscardUnknown(m) -} - -var xxx_messageInfo_UrlMap proto.InternalMessageInfo - -func (m *UrlMap) GetUrlRegex() string { - if m != nil { - return m.UrlRegex - } - return "" -} - -type isUrlMap_HandlerType interface { - isUrlMap_HandlerType() -} - -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_ApiEndpoint) isUrlMap_HandlerType() {} - -func (m *UrlMap) GetHandlerType() isUrlMap_HandlerType { - if m != nil { - return m.HandlerType - } - return nil -} - -func (m *UrlMap) GetStaticFiles() *StaticFilesHandler { - if x, ok := m.GetHandlerType().(*UrlMap_StaticFiles); ok { - return x.StaticFiles - } - return nil -} - -func (m *UrlMap) GetScript() *ScriptHandler { - if x, ok := m.GetHandlerType().(*UrlMap_Script); ok { - return x.Script - } - return nil -} - -func (m *UrlMap) GetApiEndpoint() *ApiEndpointHandler { - if x, ok := m.GetHandlerType().(*UrlMap_ApiEndpoint); ok { - return x.ApiEndpoint - } - return nil -} - -func (m *UrlMap) GetSecurityLevel() SecurityLevel { - if m != nil { - return m.SecurityLevel - } - return SecurityLevel_SECURE_UNSPECIFIED -} - -func (m *UrlMap) GetLogin() LoginRequirement { - if m != nil { - return m.Login - } - return LoginRequirement_LOGIN_UNSPECIFIED -} - -func (m *UrlMap) GetAuthFailAction() AuthFailAction { - if m != nil { - return m.AuthFailAction - } - return AuthFailAction_AUTH_FAIL_ACTION_UNSPECIFIED -} - -func (m *UrlMap) GetRedirectHttpResponseCode() UrlMap_RedirectHttpResponseCode { - if m != nil { - return m.RedirectHttpResponseCode - } - return UrlMap_REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*UrlMap) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*UrlMap_StaticFiles)(nil), - (*UrlMap_Script)(nil), - (*UrlMap_ApiEndpoint)(nil), - } -} - -// Files served directly to the user for a given URL, such as images, CSS -// stylesheets, or JavaScript source files. Static file handlers describe which -// files in the application directory are static files, and which URLs serve -// them. -type StaticFilesHandler struct { - // Path to the static files matched by the URL pattern, from the - // application root directory. The path can refer to text matched in groupings - // in the URL pattern. - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` - // Regular expression that matches the file paths for all files that should be - // referenced by this handler. - UploadPathRegex string `protobuf:"bytes,2,opt,name=upload_path_regex,json=uploadPathRegex,proto3" json:"upload_path_regex,omitempty"` - // HTTP headers to use for all responses from these URLs. - HttpHeaders map[string]string `protobuf:"bytes,3,rep,name=http_headers,json=httpHeaders,proto3" json:"http_headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // MIME type used to serve all files served by this handler. - // - // Defaults to file-specific MIME types, which are derived from each file's - // filename extension. - MimeType string `protobuf:"bytes,4,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - // Time a static file served by this handler should be cached - // by web proxies and browsers. - Expiration *duration.Duration `protobuf:"bytes,5,opt,name=expiration,proto3" json:"expiration,omitempty"` - // Whether this handler should match the request if the file - // referenced by the handler does not exist. - RequireMatchingFile bool `protobuf:"varint,6,opt,name=require_matching_file,json=requireMatchingFile,proto3" json:"require_matching_file,omitempty"` - // Whether files should also be uploaded as code data. By default, files - // declared in static file handlers are uploaded as static - // data and are only served to end users; they cannot be read by the - // application. If enabled, uploads are charged against both your code and - // static data storage resource quotas. - ApplicationReadable bool `protobuf:"varint,7,opt,name=application_readable,json=applicationReadable,proto3" json:"application_readable,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2e3b6ce3f971717f, []int{3} -} - -func (m *StaticFilesHandler) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StaticFilesHandler.Unmarshal(m, b) -} -func (m *StaticFilesHandler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StaticFilesHandler.Marshal(b, m, deterministic) -} -func (m *StaticFilesHandler) XXX_Merge(src proto.Message) { - xxx_messageInfo_StaticFilesHandler.Merge(m, src) -} -func (m *StaticFilesHandler) XXX_Size() int { - return xxx_messageInfo_StaticFilesHandler.Size(m) -} -func (m *StaticFilesHandler) XXX_DiscardUnknown() { - xxx_messageInfo_StaticFilesHandler.DiscardUnknown(m) -} - -var xxx_messageInfo_StaticFilesHandler proto.InternalMessageInfo - -func (m *StaticFilesHandler) GetPath() string { - if m != nil { - return m.Path - } - return "" -} - -func (m *StaticFilesHandler) GetUploadPathRegex() string { - if m != nil { - return m.UploadPathRegex - } - return "" -} - -func (m *StaticFilesHandler) GetHttpHeaders() map[string]string { - if m != nil { - return m.HttpHeaders - } - return nil -} - -func (m *StaticFilesHandler) GetMimeType() string { - if m != nil { - return m.MimeType - } - return "" -} - -func (m *StaticFilesHandler) GetExpiration() *duration.Duration { - if m != nil { - return m.Expiration - } - return nil -} - -func (m *StaticFilesHandler) GetRequireMatchingFile() bool { - if m != nil { - return m.RequireMatchingFile - } - return false -} - -func (m *StaticFilesHandler) GetApplicationReadable() bool { - if m != nil { - return m.ApplicationReadable - } - return false -} - -// Executes a script to handle the request that matches the URL pattern. -type ScriptHandler struct { - // Path to the script from the application root directory. - ScriptPath string `protobuf:"bytes,1,opt,name=script_path,json=scriptPath,proto3" json:"script_path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2e3b6ce3f971717f, []int{4} -} - -func (m *ScriptHandler) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ScriptHandler.Unmarshal(m, b) -} -func (m *ScriptHandler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ScriptHandler.Marshal(b, m, deterministic) -} -func (m *ScriptHandler) XXX_Merge(src proto.Message) { - xxx_messageInfo_ScriptHandler.Merge(m, src) -} -func (m *ScriptHandler) XXX_Size() int { - return xxx_messageInfo_ScriptHandler.Size(m) -} -func (m *ScriptHandler) XXX_DiscardUnknown() { - xxx_messageInfo_ScriptHandler.DiscardUnknown(m) -} - -var xxx_messageInfo_ScriptHandler proto.InternalMessageInfo - -func (m *ScriptHandler) GetScriptPath() string { - if m != nil { - return m.ScriptPath - } - return "" -} - -// Uses Google Cloud Endpoints to handle requests. -type ApiEndpointHandler struct { - // Path to the script from the application root directory. - ScriptPath string `protobuf:"bytes,1,opt,name=script_path,json=scriptPath,proto3" json:"script_path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2e3b6ce3f971717f, []int{5} -} - -func (m *ApiEndpointHandler) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ApiEndpointHandler.Unmarshal(m, b) -} -func (m *ApiEndpointHandler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ApiEndpointHandler.Marshal(b, m, deterministic) -} -func (m *ApiEndpointHandler) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApiEndpointHandler.Merge(m, src) -} -func (m *ApiEndpointHandler) XXX_Size() int { - return xxx_messageInfo_ApiEndpointHandler.Size(m) -} -func (m *ApiEndpointHandler) XXX_DiscardUnknown() { - xxx_messageInfo_ApiEndpointHandler.DiscardUnknown(m) -} - -var xxx_messageInfo_ApiEndpointHandler proto.InternalMessageInfo - -func (m *ApiEndpointHandler) GetScriptPath() string { - if m != nil { - return m.ScriptPath - } - return "" -} - -// Health checking configuration for VM instances. Unhealthy instances -// are killed and replaced with new instances. Only applicable for -// instances in App Engine flexible environment. -type HealthCheck struct { - // Whether to explicitly disable health checks for this instance. - DisableHealthCheck bool `protobuf:"varint,1,opt,name=disable_health_check,json=disableHealthCheck,proto3" json:"disable_health_check,omitempty"` - // Host header to send when performing an HTTP health check. - // Example: "myapp.appspot.com" - Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` - // Number of consecutive successful health checks required before receiving - // traffic. - HealthyThreshold uint32 `protobuf:"varint,3,opt,name=healthy_threshold,json=healthyThreshold,proto3" json:"healthy_threshold,omitempty"` - // Number of consecutive failed health checks required before removing - // traffic. - UnhealthyThreshold uint32 `protobuf:"varint,4,opt,name=unhealthy_threshold,json=unhealthyThreshold,proto3" json:"unhealthy_threshold,omitempty"` - // Number of consecutive failed health checks required before an instance is - // restarted. - RestartThreshold uint32 `protobuf:"varint,5,opt,name=restart_threshold,json=restartThreshold,proto3" json:"restart_threshold,omitempty"` - // Interval between health checks. - CheckInterval *duration.Duration `protobuf:"bytes,6,opt,name=check_interval,json=checkInterval,proto3" json:"check_interval,omitempty"` - // Time before the health check is considered failed. - Timeout *duration.Duration `protobuf:"bytes,7,opt,name=timeout,proto3" json:"timeout,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2e3b6ce3f971717f, []int{6} -} - -func (m *HealthCheck) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HealthCheck.Unmarshal(m, b) -} -func (m *HealthCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HealthCheck.Marshal(b, m, deterministic) -} -func (m *HealthCheck) XXX_Merge(src proto.Message) { - xxx_messageInfo_HealthCheck.Merge(m, src) -} -func (m *HealthCheck) XXX_Size() int { - return xxx_messageInfo_HealthCheck.Size(m) -} -func (m *HealthCheck) XXX_DiscardUnknown() { - xxx_messageInfo_HealthCheck.DiscardUnknown(m) -} - -var xxx_messageInfo_HealthCheck proto.InternalMessageInfo - -func (m *HealthCheck) GetDisableHealthCheck() bool { - if m != nil { - return m.DisableHealthCheck - } - return false -} - -func (m *HealthCheck) GetHost() string { - if m != nil { - return m.Host - } - return "" -} - -func (m *HealthCheck) GetHealthyThreshold() uint32 { - if m != nil { - return m.HealthyThreshold - } - return 0 -} - -func (m *HealthCheck) GetUnhealthyThreshold() uint32 { - if m != nil { - return m.UnhealthyThreshold - } - return 0 -} - -func (m *HealthCheck) GetRestartThreshold() uint32 { - if m != nil { - return m.RestartThreshold - } - return 0 -} - -func (m *HealthCheck) GetCheckInterval() *duration.Duration { - if m != nil { - return m.CheckInterval - } - return nil -} - -func (m *HealthCheck) GetTimeout() *duration.Duration { - if m != nil { - return m.Timeout - } - return nil -} - -// Third-party Python runtime library that is required by the application. -type Library struct { - // Name of the library. Example: "django". - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Version of the library to select, or "latest". - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2e3b6ce3f971717f, []int{7} -} - -func (m *Library) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Library.Unmarshal(m, b) -} -func (m *Library) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Library.Marshal(b, m, deterministic) -} -func (m *Library) XXX_Merge(src proto.Message) { - xxx_messageInfo_Library.Merge(m, src) -} -func (m *Library) XXX_Size() int { - return xxx_messageInfo_Library.Size(m) -} -func (m *Library) XXX_DiscardUnknown() { - xxx_messageInfo_Library.DiscardUnknown(m) -} - -var xxx_messageInfo_Library proto.InternalMessageInfo - -func (m *Library) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Library) GetVersion() string { - if m != nil { - return m.Version - } - return "" -} - -func init() { - proto.RegisterEnum("google.appengine.v1.AuthFailAction", AuthFailAction_name, AuthFailAction_value) - proto.RegisterEnum("google.appengine.v1.LoginRequirement", LoginRequirement_name, LoginRequirement_value) - proto.RegisterEnum("google.appengine.v1.SecurityLevel", SecurityLevel_name, SecurityLevel_value) - proto.RegisterEnum("google.appengine.v1.ErrorHandler_ErrorCode", ErrorHandler_ErrorCode_name, ErrorHandler_ErrorCode_value) - proto.RegisterEnum("google.appengine.v1.UrlMap_RedirectHttpResponseCode", UrlMap_RedirectHttpResponseCode_name, UrlMap_RedirectHttpResponseCode_value) - proto.RegisterType((*ApiConfigHandler)(nil), "google.appengine.v1.ApiConfigHandler") - proto.RegisterType((*ErrorHandler)(nil), "google.appengine.v1.ErrorHandler") - proto.RegisterType((*UrlMap)(nil), "google.appengine.v1.UrlMap") - proto.RegisterType((*StaticFilesHandler)(nil), "google.appengine.v1.StaticFilesHandler") - proto.RegisterMapType((map[string]string)(nil), "google.appengine.v1.StaticFilesHandler.HttpHeadersEntry") - proto.RegisterType((*ScriptHandler)(nil), "google.appengine.v1.ScriptHandler") - proto.RegisterType((*ApiEndpointHandler)(nil), "google.appengine.v1.ApiEndpointHandler") - proto.RegisterType((*HealthCheck)(nil), "google.appengine.v1.HealthCheck") - proto.RegisterType((*Library)(nil), "google.appengine.v1.Library") -} - -func init() { proto.RegisterFile("google/appengine/v1/app_yaml.proto", fileDescriptor_2e3b6ce3f971717f) } - -var fileDescriptor_2e3b6ce3f971717f = []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, - 0x92, 0x4d, 0x92, 0x56, 0xd0, 0x82, 0xaa, 0x2e, 0xf6, 0xa6, 0xde, 0xca, 0x89, 0xcd, 0xd8, 0xa6, - 0x82, 0x5e, 0x8c, 0x26, 0xf6, 0xc4, 0x3b, 0x62, 0xbd, 0xbb, 0x9d, 0x1d, 0x47, 0xf8, 0x39, 0xaa, - 0xbe, 0x07, 0xb7, 0x7d, 0x90, 0x5e, 0xf5, 0x65, 0xaa, 0x99, 0x1d, 0xff, 0x25, 0x0e, 0xa9, 0xb8, - 0x9b, 0x73, 0xce, 0xf7, 0x9d, 0x9d, 0xf3, 0x3b, 0x0b, 0xc5, 0x7e, 0x18, 0xf6, 0x7d, 0x56, 0xa6, - 0x51, 0xc4, 0x82, 0x3e, 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xdc, 0x5a, 0x7a, 0x9d, 0x87, 0x9c, 0x97, 0xf4, 0x90, - 0x9e, 0xf1, 0xe2, 0xa7, 0x0c, 0xa0, 0xab, 0xbd, 0x8e, 0x10, 0x2c, 0x45, 0x54, 0x7a, 0x66, 0x84, - 0xf4, 0x19, 0xed, 0xc1, 0xe6, 0x30, 0xf2, 0x43, 0xda, 0x23, 0x4a, 0x34, 0x33, 0x96, 0xac, 0x90, - 0xdb, 0x89, 0xa1, 0x49, 0xa5, 0x97, 0x8c, 0xda, 0xef, 0x90, 0xd3, 0x05, 0xf3, 0x18, 0xed, 0x31, - 0x11, 0x17, 0x32, 0xbb, 0x99, 0xa7, 0xd9, 0xc3, 0x17, 0xff, 0x73, 0xd4, 0x4a, 0x2a, 0xef, 0xb5, - 0x84, 0xea, 0x04, 0x52, 0x8c, 0x70, 0xd6, 0x9b, 0x6a, 0xe6, 0x97, 0xd4, 0xd2, 0xfc, 0x92, 0x42, - 0x3f, 0x00, 0xb0, 0x8f, 0x11, 0x4f, 0x5e, 0x1a, 0x3d, 0x06, 0xd9, 0xc3, 0xed, 0xf1, 0x77, 0xc7, - 0x4f, 0x51, 0xa9, 0x6a, 0x9e, 0x22, 0x3c, 0x03, 0x46, 0x87, 0x70, 0x57, 0x24, 0x3d, 0x4d, 0x06, - 0x54, 0x76, 0x3d, 0x1e, 0xf4, 0x93, 0x3d, 0xa9, 0x46, 0x61, 0x0d, 0x6f, 0x19, 0xe3, 0x89, 0xb1, - 0xe9, 0x85, 0x79, 0x00, 0x77, 0x68, 0x14, 0xf9, 0xbc, 0xab, 0x5d, 0x10, 0xc1, 0x68, 0x8f, 0x9e, - 0xf9, 0x4c, 0x77, 0xfd, 0x1a, 0xde, 0x9a, 0xb1, 0x61, 0x63, 0xda, 0xf9, 0x09, 0xac, 0xcb, 0xf1, - 0xa9, 0x77, 0xe0, 0x03, 0x1b, 0x99, 0x74, 0xab, 0x23, 0xba, 0x03, 0xcb, 0x17, 0xd4, 0x1f, 0x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, 0xf4, 0x4b, 0xa1, 0xe8, 0x97, 0xfb, 0x2c, - 0xd0, 0x95, 0x2e, 0x27, 0x26, 0x1a, 0xf1, 0x78, 0xee, 0x3f, 0xfa, 0xe5, 0x44, 0x38, 0x5b, 0xd1, - 0xc0, 0xa3, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x96, 0x5d, 0x26, 0x6c, 0x6f, 0x0b, 0x00, 0x00, -} 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 deleted file mode 100644 index 5cb2a361..00000000 --- a/vendor/google.golang.org/genproto/googleapis/appengine/v1/appengine.pb.go +++ /dev/null @@ -1,1854 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/appengine/v1/appengine.proto - -package appengine - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - _ "google.golang.org/genproto/googleapis/iam/v1" - longrunning "google.golang.org/genproto/googleapis/longrunning" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Fields that should be returned when [Version][google.appengine.v1.Version] -// resources are retreived. -type VersionView int32 - -const ( - // Basic version information including scaling and inbound services, - // but not detailed deployment information. - VersionView_BASIC VersionView = 0 - // The information from `BASIC`, plus detailed information about the - // deployment. This format is required when creating resources, but - // is not returned in `Get` or `List` by default. - VersionView_FULL VersionView = 1 -) - -var VersionView_name = map[int32]string{ - 0: "BASIC", - 1: "FULL", -} - -var VersionView_value = map[string]int32{ - "BASIC": 0, - "FULL": 1, -} - -func (x VersionView) String() string { - return proto.EnumName(VersionView_name, int32(x)) -} - -func (VersionView) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b28c1d276df09fd1, []int{0} -} - -// Request message for `Applications.GetApplication`. -type GetApplicationRequest struct { - // Name of the Application resource to get. Example: `apps/myapp`. - 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 *GetApplicationRequest) Reset() { *m = GetApplicationRequest{} } -func (m *GetApplicationRequest) String() string { return proto.CompactTextString(m) } -func (*GetApplicationRequest) ProtoMessage() {} -func (*GetApplicationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b28c1d276df09fd1, []int{0} -} - -func (m *GetApplicationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetApplicationRequest.Unmarshal(m, b) -} -func (m *GetApplicationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetApplicationRequest.Marshal(b, m, deterministic) -} -func (m *GetApplicationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetApplicationRequest.Merge(m, src) -} -func (m *GetApplicationRequest) XXX_Size() int { - return xxx_messageInfo_GetApplicationRequest.Size(m) -} -func (m *GetApplicationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetApplicationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetApplicationRequest proto.InternalMessageInfo - -func (m *GetApplicationRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for 'Applications.RepairApplication'. -type RepairApplicationRequest struct { - // Name of the application to repair. Example: `apps/myapp` - 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 *RepairApplicationRequest) Reset() { *m = RepairApplicationRequest{} } -func (m *RepairApplicationRequest) String() string { return proto.CompactTextString(m) } -func (*RepairApplicationRequest) ProtoMessage() {} -func (*RepairApplicationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b28c1d276df09fd1, []int{1} -} - -func (m *RepairApplicationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RepairApplicationRequest.Unmarshal(m, b) -} -func (m *RepairApplicationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RepairApplicationRequest.Marshal(b, m, deterministic) -} -func (m *RepairApplicationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RepairApplicationRequest.Merge(m, src) -} -func (m *RepairApplicationRequest) XXX_Size() int { - return xxx_messageInfo_RepairApplicationRequest.Size(m) -} -func (m *RepairApplicationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RepairApplicationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_RepairApplicationRequest proto.InternalMessageInfo - -func (m *RepairApplicationRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for `Services.ListServices`. -type ListServicesRequest struct { - // Name of the parent Application resource. Example: `apps/myapp`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Maximum results to return per page. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Continuation token for fetching 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 *ListServicesRequest) Reset() { *m = ListServicesRequest{} } -func (m *ListServicesRequest) String() string { return proto.CompactTextString(m) } -func (*ListServicesRequest) ProtoMessage() {} -func (*ListServicesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b28c1d276df09fd1, []int{2} -} - -func (m *ListServicesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListServicesRequest.Unmarshal(m, b) -} -func (m *ListServicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListServicesRequest.Marshal(b, m, deterministic) -} -func (m *ListServicesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListServicesRequest.Merge(m, src) -} -func (m *ListServicesRequest) XXX_Size() int { - return xxx_messageInfo_ListServicesRequest.Size(m) -} -func (m *ListServicesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListServicesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListServicesRequest proto.InternalMessageInfo - -func (m *ListServicesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListServicesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListServicesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response message for `Services.ListServices`. -type ListServicesResponse struct { - // The services belonging to the requested application. - Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` - // Continuation token for fetching the next page of 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 *ListServicesResponse) Reset() { *m = ListServicesResponse{} } -func (m *ListServicesResponse) String() string { return proto.CompactTextString(m) } -func (*ListServicesResponse) ProtoMessage() {} -func (*ListServicesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b28c1d276df09fd1, []int{3} -} - -func (m *ListServicesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListServicesResponse.Unmarshal(m, b) -} -func (m *ListServicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListServicesResponse.Marshal(b, m, deterministic) -} -func (m *ListServicesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListServicesResponse.Merge(m, src) -} -func (m *ListServicesResponse) XXX_Size() int { - return xxx_messageInfo_ListServicesResponse.Size(m) -} -func (m *ListServicesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListServicesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListServicesResponse proto.InternalMessageInfo - -func (m *ListServicesResponse) GetServices() []*Service { - if m != nil { - return m.Services - } - return nil -} - -func (m *ListServicesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request message for `Services.GetService`. -type GetServiceRequest struct { - // Name of the resource requested. Example: `apps/myapp/services/default`. - 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 *GetServiceRequest) Reset() { *m = GetServiceRequest{} } -func (m *GetServiceRequest) String() string { return proto.CompactTextString(m) } -func (*GetServiceRequest) ProtoMessage() {} -func (*GetServiceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b28c1d276df09fd1, []int{4} -} - -func (m *GetServiceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetServiceRequest.Unmarshal(m, b) -} -func (m *GetServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetServiceRequest.Marshal(b, m, deterministic) -} -func (m *GetServiceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetServiceRequest.Merge(m, src) -} -func (m *GetServiceRequest) XXX_Size() int { - return xxx_messageInfo_GetServiceRequest.Size(m) -} -func (m *GetServiceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetServiceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetServiceRequest proto.InternalMessageInfo - -func (m *GetServiceRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for `Services.UpdateService`. -type UpdateServiceRequest struct { - // Name of the resource to update. Example: `apps/myapp/services/default`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // A Service resource containing the updated service. Only fields set in the - // field mask will be updated. - Service *Service `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` - // Standard field mask for the set of fields to be updated. - UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` - // Set to `true` to gradually shift traffic from one version to another - // single version. By default, traffic is shifted immediately. - // For gradual traffic migration, the target version - // must be located within instances that are configured for both - // [warmup - // requests](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#inboundservicetype) - // and - // [automatic - // scaling](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#automaticscaling). - // You must specify the - // [`shardBy`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services#shardby) - // field in the Service resource. Gradual traffic migration is not - // supported in the App Engine flexible environment. For examples, see - // [Migrating and Splitting - // Traffic](https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic). - MigrateTraffic bool `protobuf:"varint,4,opt,name=migrate_traffic,json=migrateTraffic,proto3" json:"migrate_traffic,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b28c1d276df09fd1, []int{5} -} - -func (m *UpdateServiceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateServiceRequest.Unmarshal(m, b) -} -func (m *UpdateServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateServiceRequest.Marshal(b, m, deterministic) -} -func (m *UpdateServiceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateServiceRequest.Merge(m, src) -} -func (m *UpdateServiceRequest) XXX_Size() int { - return xxx_messageInfo_UpdateServiceRequest.Size(m) -} -func (m *UpdateServiceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateServiceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateServiceRequest proto.InternalMessageInfo - -func (m *UpdateServiceRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *UpdateServiceRequest) GetService() *Service { - if m != nil { - return m.Service - } - return nil -} - -func (m *UpdateServiceRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -func (m *UpdateServiceRequest) GetMigrateTraffic() bool { - if m != nil { - return m.MigrateTraffic - } - return false -} - -// Request message for `Services.DeleteService`. -type DeleteServiceRequest struct { - // Name of the resource requested. Example: `apps/myapp/services/default`. - 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 *DeleteServiceRequest) Reset() { *m = DeleteServiceRequest{} } -func (m *DeleteServiceRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteServiceRequest) ProtoMessage() {} -func (*DeleteServiceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b28c1d276df09fd1, []int{6} -} - -func (m *DeleteServiceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteServiceRequest.Unmarshal(m, b) -} -func (m *DeleteServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteServiceRequest.Marshal(b, m, deterministic) -} -func (m *DeleteServiceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteServiceRequest.Merge(m, src) -} -func (m *DeleteServiceRequest) XXX_Size() int { - return xxx_messageInfo_DeleteServiceRequest.Size(m) -} -func (m *DeleteServiceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteServiceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteServiceRequest proto.InternalMessageInfo - -func (m *DeleteServiceRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for `Versions.ListVersions`. -type ListVersionsRequest struct { - // Name of the parent Service resource. Example: - // `apps/myapp/services/default`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Controls the set of fields returned in the `List` response. - View VersionView `protobuf:"varint,2,opt,name=view,proto3,enum=google.appengine.v1.VersionView" json:"view,omitempty"` - // Maximum results to return per page. - PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Continuation token for fetching 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 *ListVersionsRequest) Reset() { *m = ListVersionsRequest{} } -func (m *ListVersionsRequest) String() string { return proto.CompactTextString(m) } -func (*ListVersionsRequest) ProtoMessage() {} -func (*ListVersionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b28c1d276df09fd1, []int{7} -} - -func (m *ListVersionsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListVersionsRequest.Unmarshal(m, b) -} -func (m *ListVersionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListVersionsRequest.Marshal(b, m, deterministic) -} -func (m *ListVersionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListVersionsRequest.Merge(m, src) -} -func (m *ListVersionsRequest) XXX_Size() int { - return xxx_messageInfo_ListVersionsRequest.Size(m) -} -func (m *ListVersionsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListVersionsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListVersionsRequest proto.InternalMessageInfo - -func (m *ListVersionsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListVersionsRequest) GetView() VersionView { - if m != nil { - return m.View - } - return VersionView_BASIC -} - -func (m *ListVersionsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListVersionsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response message for `Versions.ListVersions`. -type ListVersionsResponse struct { - // The versions belonging to the requested service. - Versions []*Version `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"` - // Continuation token for fetching the next page of 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 *ListVersionsResponse) Reset() { *m = ListVersionsResponse{} } -func (m *ListVersionsResponse) String() string { return proto.CompactTextString(m) } -func (*ListVersionsResponse) ProtoMessage() {} -func (*ListVersionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b28c1d276df09fd1, []int{8} -} - -func (m *ListVersionsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListVersionsResponse.Unmarshal(m, b) -} -func (m *ListVersionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListVersionsResponse.Marshal(b, m, deterministic) -} -func (m *ListVersionsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListVersionsResponse.Merge(m, src) -} -func (m *ListVersionsResponse) XXX_Size() int { - return xxx_messageInfo_ListVersionsResponse.Size(m) -} -func (m *ListVersionsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListVersionsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListVersionsResponse proto.InternalMessageInfo - -func (m *ListVersionsResponse) GetVersions() []*Version { - if m != nil { - return m.Versions - } - return nil -} - -func (m *ListVersionsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request message for `Versions.GetVersion`. -type GetVersionRequest struct { - // Name of the resource requested. Example: - // `apps/myapp/services/default/versions/v1`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Controls the set of fields returned in the `Get` response. - View VersionView `protobuf:"varint,2,opt,name=view,proto3,enum=google.appengine.v1.VersionView" json:"view,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b28c1d276df09fd1, []int{9} -} - -func (m *GetVersionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetVersionRequest.Unmarshal(m, b) -} -func (m *GetVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetVersionRequest.Marshal(b, m, deterministic) -} -func (m *GetVersionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetVersionRequest.Merge(m, src) -} -func (m *GetVersionRequest) XXX_Size() int { - return xxx_messageInfo_GetVersionRequest.Size(m) -} -func (m *GetVersionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetVersionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetVersionRequest proto.InternalMessageInfo - -func (m *GetVersionRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *GetVersionRequest) GetView() VersionView { - if m != nil { - return m.View - } - return VersionView_BASIC -} - -// Request message for `Versions.CreateVersion`. -type CreateVersionRequest struct { - // Name of the parent resource to create this version under. Example: - // `apps/myapp/services/default`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Application deployment configuration. - Version *Version `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b28c1d276df09fd1, []int{10} -} - -func (m *CreateVersionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateVersionRequest.Unmarshal(m, b) -} -func (m *CreateVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateVersionRequest.Marshal(b, m, deterministic) -} -func (m *CreateVersionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateVersionRequest.Merge(m, src) -} -func (m *CreateVersionRequest) XXX_Size() int { - return xxx_messageInfo_CreateVersionRequest.Size(m) -} -func (m *CreateVersionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateVersionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateVersionRequest proto.InternalMessageInfo - -func (m *CreateVersionRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateVersionRequest) GetVersion() *Version { - if m != nil { - return m.Version - } - return nil -} - -// Request message for `Versions.UpdateVersion`. -type UpdateVersionRequest struct { - // Name of the resource to update. Example: - // `apps/myapp/services/default/versions/1`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // A Version containing the updated resource. Only fields set in the field - // mask will be updated. - Version *Version `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - // Standard field mask for the set of fields to be 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 *UpdateVersionRequest) Reset() { *m = UpdateVersionRequest{} } -func (m *UpdateVersionRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateVersionRequest) ProtoMessage() {} -func (*UpdateVersionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b28c1d276df09fd1, []int{11} -} - -func (m *UpdateVersionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateVersionRequest.Unmarshal(m, b) -} -func (m *UpdateVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateVersionRequest.Marshal(b, m, deterministic) -} -func (m *UpdateVersionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateVersionRequest.Merge(m, src) -} -func (m *UpdateVersionRequest) XXX_Size() int { - return xxx_messageInfo_UpdateVersionRequest.Size(m) -} -func (m *UpdateVersionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateVersionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateVersionRequest proto.InternalMessageInfo - -func (m *UpdateVersionRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *UpdateVersionRequest) GetVersion() *Version { - if m != nil { - return m.Version - } - return nil -} - -func (m *UpdateVersionRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// Request message for `Versions.DeleteVersion`. -type DeleteVersionRequest struct { - // Name of the resource requested. Example: - // `apps/myapp/services/default/versions/v1`. - 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 *DeleteVersionRequest) Reset() { *m = DeleteVersionRequest{} } -func (m *DeleteVersionRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteVersionRequest) ProtoMessage() {} -func (*DeleteVersionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b28c1d276df09fd1, []int{12} -} - -func (m *DeleteVersionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteVersionRequest.Unmarshal(m, b) -} -func (m *DeleteVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteVersionRequest.Marshal(b, m, deterministic) -} -func (m *DeleteVersionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteVersionRequest.Merge(m, src) -} -func (m *DeleteVersionRequest) XXX_Size() int { - return xxx_messageInfo_DeleteVersionRequest.Size(m) -} -func (m *DeleteVersionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteVersionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteVersionRequest proto.InternalMessageInfo - -func (m *DeleteVersionRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for `Instances.ListInstances`. -type ListInstancesRequest struct { - // Name of the parent Version resource. Example: - // `apps/myapp/services/default/versions/v1`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Maximum results to return per page. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Continuation token for fetching 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 *ListInstancesRequest) Reset() { *m = ListInstancesRequest{} } -func (m *ListInstancesRequest) String() string { return proto.CompactTextString(m) } -func (*ListInstancesRequest) ProtoMessage() {} -func (*ListInstancesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b28c1d276df09fd1, []int{13} -} - -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 (m *ListInstancesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListInstancesRequest.Merge(m, 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 message for `Instances.ListInstances`. -type ListInstancesResponse struct { - // The instances belonging to the requested version. - Instances []*Instance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"` - // Continuation token for fetching the next page of 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 *ListInstancesResponse) Reset() { *m = ListInstancesResponse{} } -func (m *ListInstancesResponse) String() string { return proto.CompactTextString(m) } -func (*ListInstancesResponse) ProtoMessage() {} -func (*ListInstancesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b28c1d276df09fd1, []int{14} -} - -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 (m *ListInstancesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListInstancesResponse.Merge(m, 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 message for `Instances.GetInstance`. -type GetInstanceRequest struct { - // Name of the resource requested. Example: - // `apps/myapp/services/default/versions/v1/instances/instance-1`. - 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_b28c1d276df09fd1, []int{15} -} - -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 (m *GetInstanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetInstanceRequest.Merge(m, 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 message for `Instances.DeleteInstance`. -type DeleteInstanceRequest struct { - // Name of the resource requested. Example: - // `apps/myapp/services/default/versions/v1/instances/instance-1`. - 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_b28c1d276df09fd1, []int{16} -} - -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 (m *DeleteInstanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteInstanceRequest.Merge(m, 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 "" -} - -// Request message for `Instances.DebugInstance`. -type DebugInstanceRequest struct { - // Name of the resource requested. Example: - // `apps/myapp/services/default/versions/v1/instances/instance-1`. - 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 *DebugInstanceRequest) Reset() { *m = DebugInstanceRequest{} } -func (m *DebugInstanceRequest) String() string { return proto.CompactTextString(m) } -func (*DebugInstanceRequest) ProtoMessage() {} -func (*DebugInstanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b28c1d276df09fd1, []int{17} -} - -func (m *DebugInstanceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DebugInstanceRequest.Unmarshal(m, b) -} -func (m *DebugInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DebugInstanceRequest.Marshal(b, m, deterministic) -} -func (m *DebugInstanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DebugInstanceRequest.Merge(m, src) -} -func (m *DebugInstanceRequest) XXX_Size() int { - return xxx_messageInfo_DebugInstanceRequest.Size(m) -} -func (m *DebugInstanceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DebugInstanceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DebugInstanceRequest proto.InternalMessageInfo - -func (m *DebugInstanceRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func init() { - proto.RegisterEnum("google.appengine.v1.VersionView", VersionView_name, VersionView_value) - proto.RegisterType((*GetApplicationRequest)(nil), "google.appengine.v1.GetApplicationRequest") - proto.RegisterType((*RepairApplicationRequest)(nil), "google.appengine.v1.RepairApplicationRequest") - proto.RegisterType((*ListServicesRequest)(nil), "google.appengine.v1.ListServicesRequest") - proto.RegisterType((*ListServicesResponse)(nil), "google.appengine.v1.ListServicesResponse") - proto.RegisterType((*GetServiceRequest)(nil), "google.appengine.v1.GetServiceRequest") - proto.RegisterType((*UpdateServiceRequest)(nil), "google.appengine.v1.UpdateServiceRequest") - proto.RegisterType((*DeleteServiceRequest)(nil), "google.appengine.v1.DeleteServiceRequest") - proto.RegisterType((*ListVersionsRequest)(nil), "google.appengine.v1.ListVersionsRequest") - proto.RegisterType((*ListVersionsResponse)(nil), "google.appengine.v1.ListVersionsResponse") - proto.RegisterType((*GetVersionRequest)(nil), "google.appengine.v1.GetVersionRequest") - proto.RegisterType((*CreateVersionRequest)(nil), "google.appengine.v1.CreateVersionRequest") - proto.RegisterType((*UpdateVersionRequest)(nil), "google.appengine.v1.UpdateVersionRequest") - proto.RegisterType((*DeleteVersionRequest)(nil), "google.appengine.v1.DeleteVersionRequest") - proto.RegisterType((*ListInstancesRequest)(nil), "google.appengine.v1.ListInstancesRequest") - proto.RegisterType((*ListInstancesResponse)(nil), "google.appengine.v1.ListInstancesResponse") - proto.RegisterType((*GetInstanceRequest)(nil), "google.appengine.v1.GetInstanceRequest") - proto.RegisterType((*DeleteInstanceRequest)(nil), "google.appengine.v1.DeleteInstanceRequest") - proto.RegisterType((*DebugInstanceRequest)(nil), "google.appengine.v1.DebugInstanceRequest") -} - -func init() { - proto.RegisterFile("google/appengine/v1/appengine.proto", fileDescriptor_b28c1d276df09fd1) -} - -var fileDescriptor_b28c1d276df09fd1 = []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, - 0xa9, 0xa7, 0xc5, 0x9a, 0x07, 0xd3, 0x48, 0x01, 0xa9, 0xdd, 0xb4, 0x6a, 0x52, 0x11, 0x95, 0xbb, - 0xed, 0x01, 0x09, 0x55, 0x6e, 0x7a, 0x63, 0x5d, 0x9a, 0xd8, 0xc6, 0x76, 0xb2, 0x6e, 0x10, 0x21, - 0x31, 0x09, 0x01, 0x8f, 0x1b, 0x0f, 0x3c, 0x20, 0xed, 0x81, 0x7f, 0x86, 0x77, 0xfe, 0x01, 0x1e, - 0xf8, 0x43, 0x90, 0xaf, 0xef, 0xb5, 0x63, 0xc7, 0xbf, 0x54, 0xc4, 0x5b, 0x7c, 0xef, 0x77, 0xef, - 0xf9, 0xee, 0x77, 0x3e, 0xfb, 0x9c, 0x1b, 0xb8, 0x6e, 0x58, 0x96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x3c, 0x66, 0x94, 0x93, 0xd4, 0x1b, - 0xa6, 0x98, 0xde, 0xc5, 0xce, 0x00, 0xa5, 0x77, 0x29, 0xad, 0x55, 0xb4, 0x92, 0xa4, 0x35, 0x45, - 0x3f, 0x0a, 0xb0, 0x32, 0x77, 0x17, 0x45, 0xb7, 0x52, 0xb7, 0xcc, 0xba, 0xb3, 0x16, 0xa9, 0x72, - 0x9d, 0x86, 0xdf, 0x94, 0x9a, 0x73, 0xe1, 0x7b, 0x0e, 0xdd, 0xb2, 0x27, 0xc8, 0xbb, 0x04, 0xde, - 0xe9, 0x5b, 0xa3, 0xb4, 0xb8, 0xbb, 0x8d, 0x1d, 0xfe, 0x74, 0xe0, 0x77, 0xa7, 0x07, 0xc2, 0x97, - 0x9f, 0x30, 0x98, 0x61, 0x0d, 0x75, 0xd3, 0xe8, 0x5a, 0x8e, 0xa1, 0x18, 0xd8, 0xa4, 0xbd, 0xab, - 0x12, 0x4c, 0xe9, 0x36, 0x71, 0x63, 0xff, 0x27, 0x6c, 0x87, 0x0f, 0xc7, 0x17, 0x28, 0xf0, 0xce, - 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x89, 0x36, 0x22, 0x8f, 0x3d, 0x11, 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 - -// InstancesClient is the client API for Instances service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type InstancesClient interface { - // Lists the instances of a version. - ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error) - // Gets instance information. - GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error) - // Stops a running instance. - DeleteInstance(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Enables debugging on a VM instance. This allows you to use the SSH - // command to connect to the virtual machine where the instance lives. - // While in "debug mode", the instance continues to serve live traffic. - // You should delete the instance when you are done debugging and then - // allow the system to take over and determine if another instance - // should be started. - // - // Only applicable for instances in App Engine flexible environment. - DebugInstance(ctx context.Context, in *DebugInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) -} - -type instancesClient struct { - cc *grpc.ClientConn -} - -func NewInstancesClient(cc *grpc.ClientConn) InstancesClient { - return &instancesClient{cc} -} - -func (c *instancesClient) ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error) { - out := new(ListInstancesResponse) - err := c.cc.Invoke(ctx, "/google.appengine.v1.Instances/ListInstances", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error) { - out := new(Instance) - err := c.cc.Invoke(ctx, "/google.appengine.v1.Instances/GetInstance", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) DeleteInstance(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.appengine.v1.Instances/DeleteInstance", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instancesClient) DebugInstance(ctx context.Context, in *DebugInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.appengine.v1.Instances/DebugInstance", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// InstancesServer is the server API for Instances service. -type InstancesServer interface { - // Lists the instances of a version. - ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error) - // Gets instance information. - GetInstance(context.Context, *GetInstanceRequest) (*Instance, error) - // Stops a running instance. - DeleteInstance(context.Context, *DeleteInstanceRequest) (*longrunning.Operation, error) - // Enables debugging on a VM instance. This allows you to use the SSH - // command to connect to the virtual machine where the instance lives. - // While in "debug mode", the instance continues to serve live traffic. - // You should delete the instance when you are done debugging and then - // allow the system to take over and determine if another instance - // should be started. - // - // Only applicable for instances in App Engine flexible environment. - DebugInstance(context.Context, *DebugInstanceRequest) (*longrunning.Operation, error) -} - -// UnimplementedInstancesServer can be embedded to have forward compatible implementations. -type UnimplementedInstancesServer struct { -} - -func (*UnimplementedInstancesServer) ListInstances(ctx context.Context, req *ListInstancesRequest) (*ListInstancesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListInstances not implemented") -} -func (*UnimplementedInstancesServer) GetInstance(ctx context.Context, req *GetInstanceRequest) (*Instance, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetInstance not implemented") -} -func (*UnimplementedInstancesServer) DeleteInstance(ctx context.Context, req *DeleteInstanceRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteInstance not implemented") -} -func (*UnimplementedInstancesServer) DebugInstance(ctx context.Context, req *DebugInstanceRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DebugInstance not implemented") -} - -func RegisterInstancesServer(s *grpc.Server, srv InstancesServer) { - s.RegisterService(&_Instances_serviceDesc, srv) -} - -func _Instances_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.(InstancesServer).ListInstances(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.appengine.v1.Instances/ListInstances", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).ListInstances(ctx, req.(*ListInstancesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_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.(InstancesServer).GetInstance(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.appengine.v1.Instances/GetInstance", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).GetInstance(ctx, req.(*GetInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_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.(InstancesServer).DeleteInstance(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.appengine.v1.Instances/DeleteInstance", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).DeleteInstance(ctx, req.(*DeleteInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Instances_DebugInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DebugInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstancesServer).DebugInstance(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.appengine.v1.Instances/DebugInstance", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstancesServer).DebugInstance(ctx, req.(*DebugInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Instances_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.appengine.v1.Instances", - HandlerType: (*InstancesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListInstances", - Handler: _Instances_ListInstances_Handler, - }, - { - MethodName: "GetInstance", - Handler: _Instances_GetInstance_Handler, - }, - { - MethodName: "DeleteInstance", - Handler: _Instances_DeleteInstance_Handler, - }, - { - MethodName: "DebugInstance", - Handler: _Instances_DebugInstance_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/appengine/v1/appengine.proto", -} - -// VersionsClient is the client API for Versions service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type VersionsClient interface { - // Lists the versions of a service. - ListVersions(ctx context.Context, in *ListVersionsRequest, opts ...grpc.CallOption) (*ListVersionsResponse, error) - // Gets the specified Version resource. - // By default, only a `BASIC_VIEW` will be returned. - // Specify the `FULL_VIEW` parameter to get the full resource. - GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*Version, error) - // Deploys code and resource files to a new version. - CreateVersion(ctx context.Context, in *CreateVersionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Updates the specified Version resource. - // You can specify the following fields depending on the App Engine - // environment and type of scaling that the version resource uses: - // - // * [`serving_status`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status): - // For Version resources that use basic scaling, manual scaling, or run in - // the App Engine flexible environment. - // * [`instance_class`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class): - // For Version resources that run in the App Engine standard environment. - // * [`automatic_scaling.min_idle_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): - // For Version resources that use automatic scaling and run in the App - // Engine standard environment. - // * [`automatic_scaling.max_idle_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): - // For Version resources that use automatic scaling and run in the App - // Engine standard environment. - UpdateVersion(ctx context.Context, in *UpdateVersionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Deletes an existing Version resource. - DeleteVersion(ctx context.Context, in *DeleteVersionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) -} - -type versionsClient struct { - cc *grpc.ClientConn -} - -func NewVersionsClient(cc *grpc.ClientConn) VersionsClient { - return &versionsClient{cc} -} - -func (c *versionsClient) ListVersions(ctx context.Context, in *ListVersionsRequest, opts ...grpc.CallOption) (*ListVersionsResponse, error) { - out := new(ListVersionsResponse) - err := c.cc.Invoke(ctx, "/google.appengine.v1.Versions/ListVersions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *versionsClient) GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*Version, error) { - out := new(Version) - err := c.cc.Invoke(ctx, "/google.appengine.v1.Versions/GetVersion", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *versionsClient) CreateVersion(ctx context.Context, in *CreateVersionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.appengine.v1.Versions/CreateVersion", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *versionsClient) UpdateVersion(ctx context.Context, in *UpdateVersionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.appengine.v1.Versions/UpdateVersion", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *versionsClient) DeleteVersion(ctx context.Context, in *DeleteVersionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.appengine.v1.Versions/DeleteVersion", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// VersionsServer is the server API for Versions service. -type VersionsServer interface { - // Lists the versions of a service. - ListVersions(context.Context, *ListVersionsRequest) (*ListVersionsResponse, error) - // Gets the specified Version resource. - // By default, only a `BASIC_VIEW` will be returned. - // Specify the `FULL_VIEW` parameter to get the full resource. - GetVersion(context.Context, *GetVersionRequest) (*Version, error) - // Deploys code and resource files to a new version. - CreateVersion(context.Context, *CreateVersionRequest) (*longrunning.Operation, error) - // Updates the specified Version resource. - // You can specify the following fields depending on the App Engine - // environment and type of scaling that the version resource uses: - // - // * [`serving_status`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status): - // For Version resources that use basic scaling, manual scaling, or run in - // the App Engine flexible environment. - // * [`instance_class`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class): - // For Version resources that run in the App Engine standard environment. - // * [`automatic_scaling.min_idle_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): - // For Version resources that use automatic scaling and run in the App - // Engine standard environment. - // * [`automatic_scaling.max_idle_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): - // For Version resources that use automatic scaling and run in the App - // Engine standard environment. - UpdateVersion(context.Context, *UpdateVersionRequest) (*longrunning.Operation, error) - // Deletes an existing Version resource. - DeleteVersion(context.Context, *DeleteVersionRequest) (*longrunning.Operation, error) -} - -// UnimplementedVersionsServer can be embedded to have forward compatible implementations. -type UnimplementedVersionsServer struct { -} - -func (*UnimplementedVersionsServer) ListVersions(ctx context.Context, req *ListVersionsRequest) (*ListVersionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListVersions not implemented") -} -func (*UnimplementedVersionsServer) GetVersion(ctx context.Context, req *GetVersionRequest) (*Version, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetVersion not implemented") -} -func (*UnimplementedVersionsServer) CreateVersion(ctx context.Context, req *CreateVersionRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateVersion not implemented") -} -func (*UnimplementedVersionsServer) UpdateVersion(ctx context.Context, req *UpdateVersionRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateVersion not implemented") -} -func (*UnimplementedVersionsServer) DeleteVersion(ctx context.Context, req *DeleteVersionRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteVersion not implemented") -} - -func RegisterVersionsServer(s *grpc.Server, srv VersionsServer) { - s.RegisterService(&_Versions_serviceDesc, srv) -} - -func _Versions_ListVersions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListVersionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VersionsServer).ListVersions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.appengine.v1.Versions/ListVersions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VersionsServer).ListVersions(ctx, req.(*ListVersionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Versions_GetVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetVersionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VersionsServer).GetVersion(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.appengine.v1.Versions/GetVersion", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VersionsServer).GetVersion(ctx, req.(*GetVersionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Versions_CreateVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateVersionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VersionsServer).CreateVersion(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.appengine.v1.Versions/CreateVersion", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VersionsServer).CreateVersion(ctx, req.(*CreateVersionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Versions_UpdateVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateVersionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VersionsServer).UpdateVersion(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.appengine.v1.Versions/UpdateVersion", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VersionsServer).UpdateVersion(ctx, req.(*UpdateVersionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Versions_DeleteVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteVersionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VersionsServer).DeleteVersion(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.appengine.v1.Versions/DeleteVersion", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VersionsServer).DeleteVersion(ctx, req.(*DeleteVersionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Versions_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.appengine.v1.Versions", - HandlerType: (*VersionsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListVersions", - Handler: _Versions_ListVersions_Handler, - }, - { - MethodName: "GetVersion", - Handler: _Versions_GetVersion_Handler, - }, - { - MethodName: "CreateVersion", - Handler: _Versions_CreateVersion_Handler, - }, - { - MethodName: "UpdateVersion", - Handler: _Versions_UpdateVersion_Handler, - }, - { - MethodName: "DeleteVersion", - Handler: _Versions_DeleteVersion_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/appengine/v1/appengine.proto", -} - -// ServicesClient is the client API for Services service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ServicesClient interface { - // Lists all the services in the application. - ListServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error) - // Gets the current configuration of the specified service. - GetService(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*Service, error) - // Updates the configuration of the specified service. - UpdateService(ctx context.Context, in *UpdateServiceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Deletes the specified service and all enclosed versions. - DeleteService(ctx context.Context, in *DeleteServiceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) -} - -type servicesClient struct { - cc *grpc.ClientConn -} - -func NewServicesClient(cc *grpc.ClientConn) ServicesClient { - return &servicesClient{cc} -} - -func (c *servicesClient) ListServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error) { - out := new(ListServicesResponse) - err := c.cc.Invoke(ctx, "/google.appengine.v1.Services/ListServices", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *servicesClient) GetService(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*Service, error) { - out := new(Service) - err := c.cc.Invoke(ctx, "/google.appengine.v1.Services/GetService", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *servicesClient) UpdateService(ctx context.Context, in *UpdateServiceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.appengine.v1.Services/UpdateService", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *servicesClient) DeleteService(ctx context.Context, in *DeleteServiceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.appengine.v1.Services/DeleteService", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ServicesServer is the server API for Services service. -type ServicesServer interface { - // Lists all the services in the application. - ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error) - // Gets the current configuration of the specified service. - GetService(context.Context, *GetServiceRequest) (*Service, error) - // Updates the configuration of the specified service. - UpdateService(context.Context, *UpdateServiceRequest) (*longrunning.Operation, error) - // Deletes the specified service and all enclosed versions. - DeleteService(context.Context, *DeleteServiceRequest) (*longrunning.Operation, error) -} - -// UnimplementedServicesServer can be embedded to have forward compatible implementations. -type UnimplementedServicesServer struct { -} - -func (*UnimplementedServicesServer) ListServices(ctx context.Context, req *ListServicesRequest) (*ListServicesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListServices not implemented") -} -func (*UnimplementedServicesServer) GetService(ctx context.Context, req *GetServiceRequest) (*Service, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetService not implemented") -} -func (*UnimplementedServicesServer) UpdateService(ctx context.Context, req *UpdateServiceRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateService not implemented") -} -func (*UnimplementedServicesServer) DeleteService(ctx context.Context, req *DeleteServiceRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteService not implemented") -} - -func RegisterServicesServer(s *grpc.Server, srv ServicesServer) { - s.RegisterService(&_Services_serviceDesc, srv) -} - -func _Services_ListServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListServicesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServicesServer).ListServices(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.appengine.v1.Services/ListServices", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServicesServer).ListServices(ctx, req.(*ListServicesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Services_GetService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServicesServer).GetService(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.appengine.v1.Services/GetService", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServicesServer).GetService(ctx, req.(*GetServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Services_UpdateService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServicesServer).UpdateService(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.appengine.v1.Services/UpdateService", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServicesServer).UpdateService(ctx, req.(*UpdateServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Services_DeleteService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServicesServer).DeleteService(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.appengine.v1.Services/DeleteService", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServicesServer).DeleteService(ctx, req.(*DeleteServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Services_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.appengine.v1.Services", - HandlerType: (*ServicesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListServices", - Handler: _Services_ListServices_Handler, - }, - { - MethodName: "GetService", - Handler: _Services_GetService_Handler, - }, - { - MethodName: "UpdateService", - Handler: _Services_UpdateService_Handler, - }, - { - MethodName: "DeleteService", - Handler: _Services_DeleteService_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/appengine/v1/appengine.proto", -} - -// ApplicationsClient is the client API for Applications service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ApplicationsClient interface { - // Gets information about an application. - GetApplication(ctx context.Context, in *GetApplicationRequest, opts ...grpc.CallOption) (*Application, error) - // Recreates the required App Engine features for the application in your - // project, for example a Cloud Storage bucket or App Engine service account. - // Use this method if you receive an error message about a missing feature, - // for example "*Error retrieving the App Engine service account*". - RepairApplication(ctx context.Context, in *RepairApplicationRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) -} - -type applicationsClient struct { - cc *grpc.ClientConn -} - -func NewApplicationsClient(cc *grpc.ClientConn) ApplicationsClient { - return &applicationsClient{cc} -} - -func (c *applicationsClient) GetApplication(ctx context.Context, in *GetApplicationRequest, opts ...grpc.CallOption) (*Application, error) { - out := new(Application) - err := c.cc.Invoke(ctx, "/google.appengine.v1.Applications/GetApplication", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *applicationsClient) RepairApplication(ctx context.Context, in *RepairApplicationRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.appengine.v1.Applications/RepairApplication", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ApplicationsServer is the server API for Applications service. -type ApplicationsServer interface { - // Gets information about an application. - GetApplication(context.Context, *GetApplicationRequest) (*Application, error) - // Recreates the required App Engine features for the application in your - // project, for example a Cloud Storage bucket or App Engine service account. - // Use this method if you receive an error message about a missing feature, - // for example "*Error retrieving the App Engine service account*". - RepairApplication(context.Context, *RepairApplicationRequest) (*longrunning.Operation, error) -} - -// UnimplementedApplicationsServer can be embedded to have forward compatible implementations. -type UnimplementedApplicationsServer struct { -} - -func (*UnimplementedApplicationsServer) GetApplication(ctx context.Context, req *GetApplicationRequest) (*Application, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetApplication not implemented") -} -func (*UnimplementedApplicationsServer) RepairApplication(ctx context.Context, req *RepairApplicationRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method RepairApplication not implemented") -} - -func RegisterApplicationsServer(s *grpc.Server, srv ApplicationsServer) { - s.RegisterService(&_Applications_serviceDesc, srv) -} - -func _Applications_GetApplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetApplicationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ApplicationsServer).GetApplication(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.appengine.v1.Applications/GetApplication", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ApplicationsServer).GetApplication(ctx, req.(*GetApplicationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Applications_RepairApplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RepairApplicationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ApplicationsServer).RepairApplication(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.appengine.v1.Applications/RepairApplication", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ApplicationsServer).RepairApplication(ctx, req.(*RepairApplicationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Applications_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.appengine.v1.Applications", - HandlerType: (*ApplicationsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetApplication", - Handler: _Applications_GetApplication_Handler, - }, - { - MethodName: "RepairApplication", - Handler: _Applications_RepairApplication_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/appengine/v1/appengine.proto", -} 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 deleted file mode 100644 index fffd953b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/appengine/v1/application.pb.go +++ /dev/null @@ -1,279 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/appengine/v1/application.proto - -package appengine - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// An Application resource contains the top-level configuration of an App -// Engine application. -type Application struct { - // Full path to the Application resource in the API. - // Example: `apps/myapp`. - // - // @OutputOnly - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Identifier of the Application resource. This identifier is equivalent - // to the project ID of the Google Cloud Platform project where you want to - // deploy your application. - // Example: `myapp`. - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // HTTP path dispatch rules for requests to the application that do not - // explicitly target a service or version. Rules are order-dependent. - // - // @OutputOnly - DispatchRules []*UrlDispatchRule `protobuf:"bytes,3,rep,name=dispatch_rules,json=dispatchRules,proto3" json:"dispatch_rules,omitempty"` - // Google Apps authentication domain that controls which users can access - // this application. - // - // Defaults to open access for any Google Account. - AuthDomain string `protobuf:"bytes,6,opt,name=auth_domain,json=authDomain,proto3" json:"auth_domain,omitempty"` - // Location from which this application will be run. Application instances - // will run out of data centers in the chosen location, which is also where - // all of the application's end user content is stored. - // - // Defaults to `us-central`. - // - // Options are: - // - // `us-central` - Central US - // - // `europe-west` - Western Europe - // - // `us-east1` - Eastern US - LocationId string `protobuf:"bytes,7,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` - // Google Cloud Storage bucket that can be used for storing files - // associated with this application. This bucket is associated with the - // application and can be used by the gcloud deployment commands. - // - // @OutputOnly - CodeBucket string `protobuf:"bytes,8,opt,name=code_bucket,json=codeBucket,proto3" json:"code_bucket,omitempty"` - // Cookie expiration policy for this application. - // - // @OutputOnly - DefaultCookieExpiration *duration.Duration `protobuf:"bytes,9,opt,name=default_cookie_expiration,json=defaultCookieExpiration,proto3" json:"default_cookie_expiration,omitempty"` - // Hostname used to reach this application, as resolved by App Engine. - // - // @OutputOnly - DefaultHostname string `protobuf:"bytes,11,opt,name=default_hostname,json=defaultHostname,proto3" json:"default_hostname,omitempty"` - // Google Cloud Storage bucket that can be used by this application to store - // content. - // - // @OutputOnly - DefaultBucket string `protobuf:"bytes,12,opt,name=default_bucket,json=defaultBucket,proto3" json:"default_bucket,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_fd91fbd11f8d8d62, []int{0} -} - -func (m *Application) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Application.Unmarshal(m, b) -} -func (m *Application) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Application.Marshal(b, m, deterministic) -} -func (m *Application) XXX_Merge(src proto.Message) { - xxx_messageInfo_Application.Merge(m, src) -} -func (m *Application) XXX_Size() int { - return xxx_messageInfo_Application.Size(m) -} -func (m *Application) XXX_DiscardUnknown() { - xxx_messageInfo_Application.DiscardUnknown(m) -} - -var xxx_messageInfo_Application proto.InternalMessageInfo - -func (m *Application) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Application) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *Application) GetDispatchRules() []*UrlDispatchRule { - if m != nil { - return m.DispatchRules - } - return nil -} - -func (m *Application) GetAuthDomain() string { - if m != nil { - return m.AuthDomain - } - return "" -} - -func (m *Application) GetLocationId() string { - if m != nil { - return m.LocationId - } - return "" -} - -func (m *Application) GetCodeBucket() string { - if m != nil { - return m.CodeBucket - } - return "" -} - -func (m *Application) GetDefaultCookieExpiration() *duration.Duration { - if m != nil { - return m.DefaultCookieExpiration - } - return nil -} - -func (m *Application) GetDefaultHostname() string { - if m != nil { - return m.DefaultHostname - } - return "" -} - -func (m *Application) GetDefaultBucket() string { - if m != nil { - return m.DefaultBucket - } - return "" -} - -// Rules to match an HTTP request and dispatch that request to a service. -type UrlDispatchRule struct { - // Domain name to match against. The wildcard "`*`" is supported if - // specified before a period: "`*.`". - // - // Defaults to matching all domains: "`*`". - Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` - // Pathname within the host. Must start with a "`/`". A - // single "`*`" can be included at the end of the path. The sum - // of the lengths of the domain and path may not exceed 100 - // characters. - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` - // Resource ID of a service in this application that should - // serve the matched request. The service must already - // exist. Example: `default`. - Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_fd91fbd11f8d8d62, []int{1} -} - -func (m *UrlDispatchRule) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UrlDispatchRule.Unmarshal(m, b) -} -func (m *UrlDispatchRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UrlDispatchRule.Marshal(b, m, deterministic) -} -func (m *UrlDispatchRule) XXX_Merge(src proto.Message) { - xxx_messageInfo_UrlDispatchRule.Merge(m, src) -} -func (m *UrlDispatchRule) XXX_Size() int { - return xxx_messageInfo_UrlDispatchRule.Size(m) -} -func (m *UrlDispatchRule) XXX_DiscardUnknown() { - xxx_messageInfo_UrlDispatchRule.DiscardUnknown(m) -} - -var xxx_messageInfo_UrlDispatchRule proto.InternalMessageInfo - -func (m *UrlDispatchRule) GetDomain() string { - if m != nil { - return m.Domain - } - return "" -} - -func (m *UrlDispatchRule) GetPath() string { - if m != nil { - return m.Path - } - return "" -} - -func (m *UrlDispatchRule) GetService() string { - if m != nil { - return m.Service - } - return "" -} - -func init() { - proto.RegisterType((*Application)(nil), "google.appengine.v1.Application") - proto.RegisterType((*UrlDispatchRule)(nil), "google.appengine.v1.UrlDispatchRule") -} - -func init() { - proto.RegisterFile("google/appengine/v1/application.proto", fileDescriptor_fd91fbd11f8d8d62) -} - -var fileDescriptor_fd91fbd11f8d8d62 = []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, - 0xf6, 0x62, 0x93, 0xec, 0x71, 0x7b, 0x59, 0x9a, 0x42, 0x4b, 0x5f, 0x82, 0x21, 0x14, 0xfa, 0x62, - 0x14, 0x4b, 0xb1, 0x45, 0x14, 0xc9, 0xd8, 0x72, 0xe8, 0x67, 0xe8, 0xa7, 0x2e, 0x96, 0x64, 0x37, - 0x2d, 0x79, 0xd3, 0x3d, 0xfa, 0x1d, 0xdd, 0xeb, 0x73, 0x0d, 0xe6, 0x89, 0x94, 0x09, 0xa7, 0x01, - 0xce, 0x32, 0x2a, 0x12, 0x26, 0x68, 0x70, 0x5e, 0x56, 0x05, 0x67, 0x31, 0x56, 0x4c, 0x0a, 0x3f, - 0xcb, 0xa5, 0x92, 0xf0, 0xab, 0xc1, 0xfc, 0x06, 0xf3, 0xcf, 0xcb, 0xc9, 0xf7, 0xc6, 0xcb, 0x02, - 0x2c, 0x84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03, 0xab, 0xdf, 0x59, 0x19, 0xce, 0x41, 0xbf, - 0x46, 0xed, 0x94, 0x5f, 0x34, 0xd8, 0xb3, 0xaa, 0x19, 0x74, 0xf6, 0x08, 0x06, 0x1f, 0xd2, 0x82, - 0xdf, 0x40, 0xdb, 0x26, 0x63, 0x36, 0x62, 0xab, 0x6a, 0x4f, 0x19, 0x56, 0xa9, 0xdd, 0x8a, 0x3e, - 0x43, 0x04, 0x3a, 0x05, 0xcd, 0xcf, 0x2c, 0xa6, 0xc8, 0xd5, 0x72, 0x5d, 0xae, 0x8f, 0x60, 0x14, - 0xcb, 0xd3, 0xb5, 0xf5, 0xac, 0x87, 0x17, 0xdb, 0xdf, 0x56, 0x1f, 0xbf, 0x75, 0x9e, 0xfe, 0x59, - 0x30, 0x91, 0x1c, 0x8b, 0xc4, 0x97, 0x79, 0x12, 0x24, 0x54, 0xe8, 0x68, 0x02, 0x73, 0x85, 0x33, - 0x56, 0xbc, 0xfb, 0x5b, 0xff, 0x36, 0xc5, 0xbe, 0xad, 0xc1, 0x3f, 0xaf, 0x01, 0x00, 0x00, 0xff, - 0xff, 0x7a, 0x51, 0x2e, 0x3c, 0xd5, 0x02, 0x00, 0x00, -} 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 deleted file mode 100644 index fbcd6ea1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/appengine/v1/audit_data.pb.go +++ /dev/null @@ -1,224 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/appengine/v1/audit_data.proto - -package appengine - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// App Engine admin service audit log. -type AuditData struct { - // Detailed information about methods that require it. Does not include - // simple Get, List or Delete methods because all significant information - // (resource name, number of returned elements for List operations) is already - // included in parent audit log message. - // - // Types that are valid to be assigned to Method: - // *AuditData_UpdateService - // *AuditData_CreateVersion - Method isAuditData_Method `protobuf_oneof:"method"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7c735bfd5270b805, []int{0} -} - -func (m *AuditData) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AuditData.Unmarshal(m, b) -} -func (m *AuditData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AuditData.Marshal(b, m, deterministic) -} -func (m *AuditData) XXX_Merge(src proto.Message) { - xxx_messageInfo_AuditData.Merge(m, src) -} -func (m *AuditData) XXX_Size() int { - return xxx_messageInfo_AuditData.Size(m) -} -func (m *AuditData) XXX_DiscardUnknown() { - xxx_messageInfo_AuditData.DiscardUnknown(m) -} - -var xxx_messageInfo_AuditData proto.InternalMessageInfo - -type isAuditData_Method interface { - isAuditData_Method() -} - -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 { - if m != nil { - return m.Method - } - return nil -} - -func (m *AuditData) GetUpdateService() *UpdateServiceMethod { - if x, ok := m.GetMethod().(*AuditData_UpdateService); ok { - return x.UpdateService - } - return nil -} - -func (m *AuditData) GetCreateVersion() *CreateVersionMethod { - if x, ok := m.GetMethod().(*AuditData_CreateVersion); ok { - return x.CreateVersion - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AuditData) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AuditData_UpdateService)(nil), - (*AuditData_CreateVersion)(nil), - } -} - -// Detailed information about UpdateService call. -type UpdateServiceMethod struct { - // Update service request. - Request *UpdateServiceRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7c735bfd5270b805, []int{1} -} - -func (m *UpdateServiceMethod) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateServiceMethod.Unmarshal(m, b) -} -func (m *UpdateServiceMethod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateServiceMethod.Marshal(b, m, deterministic) -} -func (m *UpdateServiceMethod) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateServiceMethod.Merge(m, src) -} -func (m *UpdateServiceMethod) XXX_Size() int { - return xxx_messageInfo_UpdateServiceMethod.Size(m) -} -func (m *UpdateServiceMethod) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateServiceMethod.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateServiceMethod proto.InternalMessageInfo - -func (m *UpdateServiceMethod) GetRequest() *UpdateServiceRequest { - if m != nil { - return m.Request - } - return nil -} - -// Detailed information about CreateVersion call. -type CreateVersionMethod struct { - // Create version request. - Request *CreateVersionRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7c735bfd5270b805, []int{2} -} - -func (m *CreateVersionMethod) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateVersionMethod.Unmarshal(m, b) -} -func (m *CreateVersionMethod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateVersionMethod.Marshal(b, m, deterministic) -} -func (m *CreateVersionMethod) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateVersionMethod.Merge(m, src) -} -func (m *CreateVersionMethod) XXX_Size() int { - return xxx_messageInfo_CreateVersionMethod.Size(m) -} -func (m *CreateVersionMethod) XXX_DiscardUnknown() { - xxx_messageInfo_CreateVersionMethod.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateVersionMethod proto.InternalMessageInfo - -func (m *CreateVersionMethod) GetRequest() *CreateVersionRequest { - if m != nil { - return m.Request - } - return nil -} - -func init() { - proto.RegisterType((*AuditData)(nil), "google.appengine.v1.AuditData") - proto.RegisterType((*UpdateServiceMethod)(nil), "google.appengine.v1.UpdateServiceMethod") - proto.RegisterType((*CreateVersionMethod)(nil), "google.appengine.v1.CreateVersionMethod") -} - -func init() { - proto.RegisterFile("google/appengine/v1/audit_data.proto", fileDescriptor_7c735bfd5270b805) -} - -var fileDescriptor_7c735bfd5270b805 = []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,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0x12, 0xe1, 0x82, 0xec, - 0x29, 0x7c, 0x6f, 0xb0, 0xd6, 0x5d, 0xff, 0x8b, 0xff, 0xfb, 0x27, 0x2e, 0x90, 0x7c, 0x27, 0x8d, - 0xdb, 0xd3, 0x66, 0x5b, 0xf7, 0x46, 0xf4, 0xb7, 0x3b, 0xe6, 0xe4, 0x38, 0x13, 0xa5, 0x2f, 0x18, - 0x0f, 0xfb, 0x6b, 0x2c, 0xcd, 0x81, 0x96, 0xc1, 0xea, 0xa6, 0xc3, 0x98, 0x28, 0xa0, 0x62, 0x54, - 0x28, 0x16, 0x31, 0xac, 0xec, 0xf9, 0x22, 0xb7, 0x02, 0xc9, 0xeb, 0x8d, 0x67, 0x70, 0xdd, 0x7f, - 0xbc, 0x0e, 0x2c, 0x78, 0xf5, 0x15, 0x00, 0x00, 0xff, 0xff, 0xdb, 0x56, 0x80, 0x49, 0x69, 0x02, - 0x00, 0x00, -} 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 deleted file mode 100644 index ce608ade..00000000 --- a/vendor/google.golang.org/genproto/googleapis/appengine/v1/deploy.pb.go +++ /dev/null @@ -1,285 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/appengine/v1/deploy.proto - -package appengine - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Code and application artifacts used to deploy a version to App Engine. -type Deployment struct { - // Manifest of the files stored in Google Cloud Storage that are included - // as part of this version. All files must be readable using the - // credentials supplied with this call. - Files map[string]*FileInfo `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // A Docker image that App Engine uses to run the version. - // Only applicable for instances in App Engine flexible environment. - Container *ContainerInfo `protobuf:"bytes,2,opt,name=container,proto3" json:"container,omitempty"` - // The zip file for this deployment, if this is a zip deployment. - Zip *ZipInfo `protobuf:"bytes,3,opt,name=zip,proto3" json:"zip,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_744f483f02f61d1c, []int{0} -} - -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 (m *Deployment) XXX_Merge(src proto.Message) { - xxx_messageInfo_Deployment.Merge(m, 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) GetFiles() map[string]*FileInfo { - if m != nil { - return m.Files - } - return nil -} - -func (m *Deployment) GetContainer() *ContainerInfo { - if m != nil { - return m.Container - } - return nil -} - -func (m *Deployment) GetZip() *ZipInfo { - if m != nil { - return m.Zip - } - return nil -} - -// Single source file that is part of the version to be deployed. Each source -// file that is deployed must be specified separately. -type FileInfo struct { - // URL source to use to fetch this file. Must be a URL to a resource in - // Google Cloud Storage in the form - // 'http(s)://storage.googleapis.com/\/\'. - SourceUrl string `protobuf:"bytes,1,opt,name=source_url,json=sourceUrl,proto3" json:"source_url,omitempty"` - // The SHA1 hash of the file, in hex. - Sha1Sum string `protobuf:"bytes,2,opt,name=sha1_sum,json=sha1Sum,proto3" json:"sha1_sum,omitempty"` - // The MIME type of the file. - // - // Defaults to the value from Google Cloud Storage. - MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_744f483f02f61d1c, []int{1} -} - -func (m *FileInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FileInfo.Unmarshal(m, b) -} -func (m *FileInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FileInfo.Marshal(b, m, deterministic) -} -func (m *FileInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_FileInfo.Merge(m, src) -} -func (m *FileInfo) XXX_Size() int { - return xxx_messageInfo_FileInfo.Size(m) -} -func (m *FileInfo) XXX_DiscardUnknown() { - xxx_messageInfo_FileInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_FileInfo proto.InternalMessageInfo - -func (m *FileInfo) GetSourceUrl() string { - if m != nil { - return m.SourceUrl - } - return "" -} - -func (m *FileInfo) GetSha1Sum() string { - if m != nil { - return m.Sha1Sum - } - return "" -} - -func (m *FileInfo) GetMimeType() string { - if m != nil { - return m.MimeType - } - return "" -} - -// Docker image that is used to start a VM container for the version you -// deploy. -type ContainerInfo struct { - // URI to the hosted container image in a Docker repository. The URI must be - // fully qualified and include a tag or digest. - // Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest" - Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_744f483f02f61d1c, []int{2} -} - -func (m *ContainerInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ContainerInfo.Unmarshal(m, b) -} -func (m *ContainerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ContainerInfo.Marshal(b, m, deterministic) -} -func (m *ContainerInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ContainerInfo.Merge(m, src) -} -func (m *ContainerInfo) XXX_Size() int { - return xxx_messageInfo_ContainerInfo.Size(m) -} -func (m *ContainerInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ContainerInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_ContainerInfo proto.InternalMessageInfo - -func (m *ContainerInfo) GetImage() string { - if m != nil { - return m.Image - } - return "" -} - -type ZipInfo struct { - // URL of the zip file to deploy from. Must be a URL to a resource in - // Google Cloud Storage in the form - // 'http(s)://storage.googleapis.com/\/\'. - SourceUrl string `protobuf:"bytes,3,opt,name=source_url,json=sourceUrl,proto3" json:"source_url,omitempty"` - // An estimate of the number of files in a zip for a zip deployment. - // If set, must be greater than or equal to the actual number of files. - // Used for optimizing performance; if not provided, deployment may be slow. - FilesCount int32 `protobuf:"varint,4,opt,name=files_count,json=filesCount,proto3" json:"files_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_744f483f02f61d1c, []int{3} -} - -func (m *ZipInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ZipInfo.Unmarshal(m, b) -} -func (m *ZipInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ZipInfo.Marshal(b, m, deterministic) -} -func (m *ZipInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ZipInfo.Merge(m, src) -} -func (m *ZipInfo) XXX_Size() int { - return xxx_messageInfo_ZipInfo.Size(m) -} -func (m *ZipInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ZipInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_ZipInfo proto.InternalMessageInfo - -func (m *ZipInfo) GetSourceUrl() string { - if m != nil { - return m.SourceUrl - } - return "" -} - -func (m *ZipInfo) GetFilesCount() int32 { - if m != nil { - return m.FilesCount - } - return 0 -} - -func init() { - proto.RegisterType((*Deployment)(nil), "google.appengine.v1.Deployment") - proto.RegisterMapType((map[string]*FileInfo)(nil), "google.appengine.v1.Deployment.FilesEntry") - proto.RegisterType((*FileInfo)(nil), "google.appengine.v1.FileInfo") - proto.RegisterType((*ContainerInfo)(nil), "google.appengine.v1.ContainerInfo") - proto.RegisterType((*ZipInfo)(nil), "google.appengine.v1.ZipInfo") -} - -func init() { proto.RegisterFile("google/appengine/v1/deploy.proto", fileDescriptor_744f483f02f61d1c) } - -var fileDescriptor_744f483f02f61d1c = []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, - 0x3e, 0xa4, 0xec, 0xde, 0x17, 0x51, 0x1f, 0x2e, 0x9b, 0x0a, 0x7b, 0x1b, 0x55, 0x11, 0xf6, 0x52, -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, 0x9f, 0xbd, 0xf3, 0x52, 0x02, 0xf3, 0x83, 0x8c, 0x6e, 0x01, - 0x3a, 0xd9, 0xb7, 0x15, 0x2d, 0xfb, 0xb6, 0x1e, 0xd3, 0x43, 0xa7, 0x7c, 0x6f, 0x6b, 0xf4, 0x12, - 0xe6, 0xdd, 0x6f, 0xb2, 0x28, 0xbb, 0xbe, 0xb1, 0xc7, 0x84, 0xc5, 0x95, 0xa9, 0xbf, 0xf6, 0x0d, - 0x7a, 0x05, 0x61, 0xc3, 0x1b, 0x5a, 0xea, 0x41, 0x51, 0x7b, 0xa9, 0xb0, 0x98, 0x1b, 0xe1, 0xdb, - 0xa0, 0x68, 0xfa, 0x06, 0x9e, 0x9c, 0xbd, 0x03, 0x7a, 0x0e, 0x01, 0x6f, 0x08, 0xa3, 0xe3, 0x11, - 0xae, 0x48, 0xd7, 0x70, 0x35, 0x5e, 0xf9, 0xa2, 0x11, 0xff, 0xb2, 0x91, 0xd7, 0x10, 0xd9, 0x39, - 0x94, 0x95, 0xec, 0x85, 0x8e, 0x1f, 0x25, 0x5e, 0x16, 0x14, 0x60, 0xa5, 0x95, 0x51, 0x96, 0x3b, - 0x78, 0x51, 0xc9, 0x66, 0xea, 0x0d, 0x96, 0x91, 0x1b, 0xec, 0xc6, 0x2c, 0xc6, 0xc6, 0xdb, 0x7e, - 0x1c, 0x19, 0x26, 0x6b, 0x22, 0x18, 0x96, 0x2d, 0xcb, 0x19, 0x15, 0x76, 0x6d, 0x72, 0xf7, 0x8b, - 0x28, 0xde, 0x9d, 0xad, 0xe3, 0x87, 0x63, 0xf1, 0xf3, 0xb1, 0x05, 0xef, 0xff, 0x07, 0x00, 0x00, - 0xff, 0xff, 0x6e, 0xeb, 0x52, 0x5a, 0xb6, 0x02, 0x00, 0x00, -} 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 deleted file mode 100644 index 82e68106..00000000 --- a/vendor/google.golang.org/genproto/googleapis/appengine/v1/instance.pb.go +++ /dev/null @@ -1,302 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/appengine/v1/instance.proto - -package appengine - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Availability of the instance. -type Instance_Availability int32 - -const ( - Instance_UNSPECIFIED Instance_Availability = 0 - Instance_RESIDENT Instance_Availability = 1 - Instance_DYNAMIC Instance_Availability = 2 -) - -var Instance_Availability_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "RESIDENT", - 2: "DYNAMIC", -} - -var Instance_Availability_value = map[string]int32{ - "UNSPECIFIED": 0, - "RESIDENT": 1, - "DYNAMIC": 2, -} - -func (x Instance_Availability) String() string { - return proto.EnumName(Instance_Availability_name, int32(x)) -} - -func (Instance_Availability) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_3b3f5aa565fc77c9, []int{0, 0} -} - -// An Instance resource is the computing unit that App Engine uses to -// automatically scale an application. -type Instance struct { - // Full path to the Instance resource in the API. - // Example: `apps/myapp/services/default/versions/v1/instances/instance-1`. - // - // @OutputOnly - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Relative name of the instance within the version. - // Example: `instance-1`. - // - // @OutputOnly - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // App Engine release this instance is running on. - // - // @OutputOnly - AppEngineRelease string `protobuf:"bytes,3,opt,name=app_engine_release,json=appEngineRelease,proto3" json:"app_engine_release,omitempty"` - // Availability of the instance. - // - // @OutputOnly - Availability Instance_Availability `protobuf:"varint,4,opt,name=availability,proto3,enum=google.appengine.v1.Instance_Availability" json:"availability,omitempty"` - // Name of the virtual machine where this instance lives. Only applicable - // for instances in App Engine flexible environment. - // - // @OutputOnly - VmName string `protobuf:"bytes,5,opt,name=vm_name,json=vmName,proto3" json:"vm_name,omitempty"` - // Zone where the virtual machine is located. Only applicable for instances - // in App Engine flexible environment. - // - // @OutputOnly - VmZoneName string `protobuf:"bytes,6,opt,name=vm_zone_name,json=vmZoneName,proto3" json:"vm_zone_name,omitempty"` - // Virtual machine ID of this instance. Only applicable for instances in - // App Engine flexible environment. - // - // @OutputOnly - VmId string `protobuf:"bytes,7,opt,name=vm_id,json=vmId,proto3" json:"vm_id,omitempty"` - // Time that this instance was started. - // - // @OutputOnly - StartTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // Number of requests since this instance was started. - // - // @OutputOnly - Requests int32 `protobuf:"varint,9,opt,name=requests,proto3" json:"requests,omitempty"` - // Number of errors since this instance was started. - // - // @OutputOnly - Errors int32 `protobuf:"varint,10,opt,name=errors,proto3" json:"errors,omitempty"` - // Average queries per second (QPS) over the last minute. - // - // @OutputOnly - Qps float32 `protobuf:"fixed32,11,opt,name=qps,proto3" json:"qps,omitempty"` - // Average latency (ms) over the last minute. - // - // @OutputOnly - AverageLatency int32 `protobuf:"varint,12,opt,name=average_latency,json=averageLatency,proto3" json:"average_latency,omitempty"` - // Total memory in use (bytes). - // - // @OutputOnly - MemoryUsage int64 `protobuf:"varint,13,opt,name=memory_usage,json=memoryUsage,proto3" json:"memory_usage,omitempty"` - // Status of the virtual machine where this instance lives. Only applicable - // for instances in App Engine flexible environment. - // - // @OutputOnly - VmStatus string `protobuf:"bytes,14,opt,name=vm_status,json=vmStatus,proto3" json:"vm_status,omitempty"` - // Whether this instance is in debug mode. Only applicable for instances in - // App Engine flexible environment. - // - // @OutputOnly - VmDebugEnabled bool `protobuf:"varint,15,opt,name=vm_debug_enabled,json=vmDebugEnabled,proto3" json:"vm_debug_enabled,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_3b3f5aa565fc77c9, []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 (m *Instance) XXX_Merge(src proto.Message) { - xxx_messageInfo_Instance.Merge(m, 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) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *Instance) GetAppEngineRelease() string { - if m != nil { - return m.AppEngineRelease - } - return "" -} - -func (m *Instance) GetAvailability() Instance_Availability { - if m != nil { - return m.Availability - } - return Instance_UNSPECIFIED -} - -func (m *Instance) GetVmName() string { - if m != nil { - return m.VmName - } - return "" -} - -func (m *Instance) GetVmZoneName() string { - if m != nil { - return m.VmZoneName - } - return "" -} - -func (m *Instance) GetVmId() string { - if m != nil { - return m.VmId - } - return "" -} - -func (m *Instance) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *Instance) GetRequests() int32 { - if m != nil { - return m.Requests - } - return 0 -} - -func (m *Instance) GetErrors() int32 { - if m != nil { - return m.Errors - } - return 0 -} - -func (m *Instance) GetQps() float32 { - if m != nil { - return m.Qps - } - return 0 -} - -func (m *Instance) GetAverageLatency() int32 { - if m != nil { - return m.AverageLatency - } - return 0 -} - -func (m *Instance) GetMemoryUsage() int64 { - if m != nil { - return m.MemoryUsage - } - return 0 -} - -func (m *Instance) GetVmStatus() string { - if m != nil { - return m.VmStatus - } - return "" -} - -func (m *Instance) GetVmDebugEnabled() bool { - if m != nil { - return m.VmDebugEnabled - } - return false -} - -func init() { - proto.RegisterEnum("google.appengine.v1.Instance_Availability", Instance_Availability_name, Instance_Availability_value) - proto.RegisterType((*Instance)(nil), "google.appengine.v1.Instance") -} - -func init() { proto.RegisterFile("google/appengine/v1/instance.proto", fileDescriptor_3b3f5aa565fc77c9) } - -var fileDescriptor_3b3f5aa565fc77c9 = []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, - 0xcc, 0x18, 0x36, 0xed, 0xae, 0xf6, 0x71, 0xd3, 0x36, 0x1e, 0x18, 0xb6, 0x10, 0x9c, 0xf6, 0x62, - 0xbd, 0x31, 0x4a, 0xac, 0x79, 0x02, 0x4b, 0x72, 0x2d, 0x45, 0x90, 0xfd, 0xc6, 0xfd, 0xa8, 0x61, - 0x39, 0x09, 0x2d, 0xf4, 0xce, 0xcf, 0xc7, 0x41, 0xcf, 0x79, 0x0e, 0x86, 0x69, 0x29, 0x65, 0x59, - 0xd1, 0x98, 0xd4, 0x35, 0x15, 0x25, 0x13, 0x34, 0x36, 0x97, 0x31, 0x13, 0x4a, 0x13, 0xb1, 0xa6, - 0x51, 0xdd, 0x48, 0x2d, 0xd1, 0x79, 0xe7, 0x89, 0x0e, 0x9e, 0xc8, 0x5c, 0x4e, 0x5e, 0x1f, 0x06, - 0x59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c, 0x87, 0xaf, 0x3b, - 0x57, 0x29, 0x2b, 0x22, 0xca, 0x48, 0x36, 0x65, 0x5c, 0x52, 0x61, 0x4b, 0x8f, 0x3b, 0x89, 0xd4, - 0x4c, 0x3d, 0xfb, 0x23, 0xbe, 0x1c, 0xc0, 0xaa, 0x6f, 0x8d, 0x1f, 0xff, 0x05, 0x00, 0x00, 0xff, - 0xff, 0x97, 0xe7, 0x7d, 0x88, 0x39, 0x03, 0x00, 0x00, -} 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 deleted file mode 100644 index 3acbc096..00000000 --- a/vendor/google.golang.org/genproto/googleapis/appengine/v1/location.pb.go +++ /dev/null @@ -1,104 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/appengine/v1/location.proto - -package appengine - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - _ "google.golang.org/genproto/googleapis/type/latlng" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Metadata for the given -// [google.cloud.location.Location][google.cloud.location.Location]. -type LocationMetadata struct { - // App Engine Standard Environment is available in the given location. - // - // @OutputOnly - StandardEnvironmentAvailable bool `protobuf:"varint,2,opt,name=standard_environment_available,json=standardEnvironmentAvailable,proto3" json:"standard_environment_available,omitempty"` - // App Engine Flexible Environment is available in the given location. - // - // @OutputOnly - FlexibleEnvironmentAvailable bool `protobuf:"varint,4,opt,name=flexible_environment_available,json=flexibleEnvironmentAvailable,proto3" json:"flexible_environment_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_c86665b4be2de7f4, []int{0} -} - -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 (m *LocationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocationMetadata.Merge(m, 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) GetStandardEnvironmentAvailable() bool { - if m != nil { - return m.StandardEnvironmentAvailable - } - return false -} - -func (m *LocationMetadata) GetFlexibleEnvironmentAvailable() bool { - if m != nil { - return m.FlexibleEnvironmentAvailable - } - return false -} - -func init() { - proto.RegisterType((*LocationMetadata)(nil), "google.appengine.v1.LocationMetadata") -} - -func init() { proto.RegisterFile("google/appengine/v1/location.proto", fileDescriptor_c86665b4be2de7f4) } - -var fileDescriptor_c86665b4be2de7f4 = []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, - 0x47, 0xbd, 0x58, 0xf4, 0xa6, 0x50, 0x3c, 0x7a, 0x29, 0x93, 0x66, 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x00, 0xff, 0xff, 0x93, 0x9b, 0x7c, 0xf8, 0x84, 0x01, 0x00, 0x00, -} 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 deleted file mode 100644 index 7c6240a6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/appengine/v1/operation.pb.go +++ /dev/null @@ -1,143 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/appengine/v1/operation.proto - -package appengine - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Metadata for the given -// [google.longrunning.Operation][google.longrunning.Operation]. -type OperationMetadataV1 struct { - // API method that initiated this operation. Example: - // `google.appengine.v1.Versions.CreateVersion`. - // - // @OutputOnly - Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` - // Time that this operation was created. - // - // @OutputOnly - InsertTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=insert_time,json=insertTime,proto3" json:"insert_time,omitempty"` - // Time that this operation completed. - // - // @OutputOnly - EndTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - // User who requested this operation. - // - // @OutputOnly - User string `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"` - // Name of the resource that this operation is acting on. Example: - // `apps/myapp/services/default`. - // - // @OutputOnly - Target string `protobuf:"bytes,5,opt,name=target,proto3" json:"target,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_cd79c83122c3fcce, []int{0} -} - -func (m *OperationMetadataV1) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OperationMetadataV1.Unmarshal(m, b) -} -func (m *OperationMetadataV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OperationMetadataV1.Marshal(b, m, deterministic) -} -func (m *OperationMetadataV1) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperationMetadataV1.Merge(m, src) -} -func (m *OperationMetadataV1) XXX_Size() int { - return xxx_messageInfo_OperationMetadataV1.Size(m) -} -func (m *OperationMetadataV1) XXX_DiscardUnknown() { - xxx_messageInfo_OperationMetadataV1.DiscardUnknown(m) -} - -var xxx_messageInfo_OperationMetadataV1 proto.InternalMessageInfo - -func (m *OperationMetadataV1) GetMethod() string { - if m != nil { - return m.Method - } - return "" -} - -func (m *OperationMetadataV1) GetInsertTime() *timestamp.Timestamp { - if m != nil { - return m.InsertTime - } - return nil -} - -func (m *OperationMetadataV1) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -func (m *OperationMetadataV1) GetUser() string { - if m != nil { - return m.User - } - return "" -} - -func (m *OperationMetadataV1) GetTarget() string { - if m != nil { - return m.Target - } - return "" -} - -func init() { - proto.RegisterType((*OperationMetadataV1)(nil), "google.appengine.v1.OperationMetadataV1") -} - -func init() { - proto.RegisterFile("google/appengine/v1/operation.proto", fileDescriptor_cd79c83122c3fcce) -} - -var fileDescriptor_cd79c83122c3fcce = []byte{ - // 271 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0x41, 0x4b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00, 0xbe, 0x18, 0xc5, 0x26, 0x71, 0xdd, 0xf6, 0x63, 0xed, 0x0d, 0x70, - 0x71, 0x92, 0xfa, 0x25, 0xb5, 0xb4, 0xe2, 0xea, 0x93, 0x1a, 0xf9, 0xcf, 0x4b, 0x2d, 0x2f, 0x86, - 0x7b, 0xae, 0xda, 0xb0, 0x55, 0xf6, 0xfe, 0xd4, 0xd9, 0x0c, 0x6d, 0x35, 0x1a, 0x49, 0xde, 0x28, - 0x03, 0x18, 0xab, 0xa8, 0x34, 0xd2, 0xce, 0x86, 0x3f, 0x9f, 0xb2, 0x18, 0xc4, 0x66, 0x1c, 0x8d, - 0x0f, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x1d, 0x8e, 0xb2, 0x00, 0xbc, 0x01, 0x00, 0x00, -} 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 deleted file mode 100644 index e3277851..00000000 --- a/vendor/google.golang.org/genproto/googleapis/appengine/v1/service.pb.go +++ /dev/null @@ -1,225 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/appengine/v1/service.proto - -package appengine - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Available sharding mechanisms. -type TrafficSplit_ShardBy int32 - -const ( - // Diversion method unspecified. - TrafficSplit_UNSPECIFIED TrafficSplit_ShardBy = 0 - // Diversion based on a specially named cookie, "GOOGAPPUID." The cookie - // must be set by the application itself or no diversion will occur. - TrafficSplit_COOKIE TrafficSplit_ShardBy = 1 - // Diversion based on applying the modulus operation to a fingerprint - // of the IP address. - TrafficSplit_IP TrafficSplit_ShardBy = 2 -) - -var TrafficSplit_ShardBy_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "COOKIE", - 2: "IP", -} - -var TrafficSplit_ShardBy_value = map[string]int32{ - "UNSPECIFIED": 0, - "COOKIE": 1, - "IP": 2, -} - -func (x TrafficSplit_ShardBy) String() string { - return proto.EnumName(TrafficSplit_ShardBy_name, int32(x)) -} - -func (TrafficSplit_ShardBy) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_c1fc975248a879f7, []int{1, 0} -} - -// A Service resource is a logical component of an application that can share -// state and communicate in a secure fashion with other services. -// For example, an application that handles customer requests might -// include separate services to handle tasks such as backend data -// analysis or API requests from mobile devices. Each service has a -// collection of versions that define a specific set of code used to -// implement the functionality of that service. -type Service struct { - // Full path to the Service resource in the API. - // Example: `apps/myapp/services/default`. - // - // @OutputOnly - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Relative name of the service within the application. - // Example: `default`. - // - // @OutputOnly - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // Mapping that defines fractional HTTP traffic diversion to - // different versions within the service. - Split *TrafficSplit `protobuf:"bytes,3,opt,name=split,proto3" json:"split,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c1fc975248a879f7, []int{0} -} - -func (m *Service) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Service.Unmarshal(m, b) -} -func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Service.Marshal(b, m, deterministic) -} -func (m *Service) XXX_Merge(src proto.Message) { - xxx_messageInfo_Service.Merge(m, src) -} -func (m *Service) XXX_Size() int { - return xxx_messageInfo_Service.Size(m) -} -func (m *Service) XXX_DiscardUnknown() { - xxx_messageInfo_Service.DiscardUnknown(m) -} - -var xxx_messageInfo_Service proto.InternalMessageInfo - -func (m *Service) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Service) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *Service) GetSplit() *TrafficSplit { - if m != nil { - return m.Split - } - return nil -} - -// Traffic routing configuration for versions within a single service. Traffic -// splits define how traffic directed to the service is assigned to versions. -type TrafficSplit struct { - // Mechanism used to determine which version a request is sent to. - // The traffic selection algorithm will - // be stable for either type until allocations are changed. - ShardBy TrafficSplit_ShardBy `protobuf:"varint,1,opt,name=shard_by,json=shardBy,proto3,enum=google.appengine.v1.TrafficSplit_ShardBy" json:"shard_by,omitempty"` - // Mapping from version IDs within the service to fractional - // (0.000, 1] allocations of traffic for that version. Each version can - // be specified only once, but some versions in the service may not - // have any traffic allocation. Services that have traffic allocated - // cannot be deleted until either the service is deleted or - // their traffic allocation is removed. Allocations must sum to 1. - // Up to two decimal place precision is supported for IP-based splits and - // up to three decimal places is supported for cookie-based splits. - Allocations map[string]float64 `protobuf:"bytes,2,rep,name=allocations,proto3" json:"allocations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c1fc975248a879f7, []int{1} -} - -func (m *TrafficSplit) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TrafficSplit.Unmarshal(m, b) -} -func (m *TrafficSplit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TrafficSplit.Marshal(b, m, deterministic) -} -func (m *TrafficSplit) XXX_Merge(src proto.Message) { - xxx_messageInfo_TrafficSplit.Merge(m, src) -} -func (m *TrafficSplit) XXX_Size() int { - return xxx_messageInfo_TrafficSplit.Size(m) -} -func (m *TrafficSplit) XXX_DiscardUnknown() { - xxx_messageInfo_TrafficSplit.DiscardUnknown(m) -} - -var xxx_messageInfo_TrafficSplit proto.InternalMessageInfo - -func (m *TrafficSplit) GetShardBy() TrafficSplit_ShardBy { - if m != nil { - return m.ShardBy - } - return TrafficSplit_UNSPECIFIED -} - -func (m *TrafficSplit) GetAllocations() map[string]float64 { - if m != nil { - return m.Allocations - } - return nil -} - -func init() { - proto.RegisterEnum("google.appengine.v1.TrafficSplit_ShardBy", TrafficSplit_ShardBy_name, TrafficSplit_ShardBy_value) - proto.RegisterType((*Service)(nil), "google.appengine.v1.Service") - proto.RegisterType((*TrafficSplit)(nil), "google.appengine.v1.TrafficSplit") - proto.RegisterMapType((map[string]float64)(nil), "google.appengine.v1.TrafficSplit.AllocationsEntry") -} - -func init() { proto.RegisterFile("google/appengine/v1/service.proto", fileDescriptor_c1fc975248a879f7) } - -var fileDescriptor_c1fc975248a879f7 = []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, - 0x36, 0x98, 0x3e, 0xb4, 0xb4, 0xa5, 0x50, 0x35, 0x85, 0x50, 0x38, 0x43, 0xe2, 0xbd, 0xdc, 0xcb, - 0xb1, 0xc6, 0x75, 0x6f, 0xb9, 0xb8, 0x1b, 0x92, 0x5c, 0x20, 0x5f, 0xe5, 0x3e, 0xed, 0x91, 0x6c, - 0xf0, 0xbc, 0x43, 0xf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b, 0xd2, 0xe4, 0x81, 0x35, 0xeb, 0x31, - 0x42, 0x9d, 0xfc, 0x44, 0x3f, 0x8c, 0x29, 0x81, 0x7e, 0x3b, 0x29, 0xfe, 0x00, 0xe6, 0xf5, 0x55, - 0x14, 0x78, 0x4b, 0xff, 0x9f, 0xef, 0xad, 0xac, 0x37, 0x18, 0xa0, 0xb7, 0x5c, 0xaf, 0xff, 0xfb, - 0x9e, 0x65, 0xe0, 0x1e, 0x20, 0x3f, 0xb0, 0xd0, 0x82, 0xc3, 0xe7, 0x58, 0x1d, 0xce, 0x4d, 0xbd, - 0x18, 0xb4, 0xd7, 0x09, 0xea, 0x6b, 0x05, 0xc6, 0xcd, 0xef, 0x16, 0xe2, 0x2a, 0xa1, 0x92, 0x13, - 0x95, 0x71, 0x87, 0x33, 0xd9, 0xdc, 0xd2, 0xd1, 0x9f, 0x68, 0x2a, 0xf2, 0x17, 0x8f, 0xe4, 0xd7, - 0x31, 0xd9, 0xf6, 0x1a, 0xf0, 0xdb, 0x53, 0x00, 0x00, 0x00, 0xff, 0xff, 0x5f, 0xbc, 0x13, 0xf4, - 0x4c, 0x02, 0x00, 0x00, -} 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 deleted file mode 100644 index 0cfe47c8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/appengine/v1/version.pb.go +++ /dev/null @@ -1,1243 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/appengine/v1/version.proto - -package appengine - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Available inbound services. -type InboundServiceType int32 - -const ( - // Not specified. - InboundServiceType_INBOUND_SERVICE_UNSPECIFIED InboundServiceType = 0 - // Allows an application to receive mail. - InboundServiceType_INBOUND_SERVICE_MAIL InboundServiceType = 1 - // Allows an application to receive email-bound notifications. - InboundServiceType_INBOUND_SERVICE_MAIL_BOUNCE InboundServiceType = 2 - // Allows an application to receive error stanzas. - InboundServiceType_INBOUND_SERVICE_XMPP_ERROR InboundServiceType = 3 - // Allows an application to receive instant messages. - InboundServiceType_INBOUND_SERVICE_XMPP_MESSAGE InboundServiceType = 4 - // Allows an application to receive user subscription POSTs. - InboundServiceType_INBOUND_SERVICE_XMPP_SUBSCRIBE InboundServiceType = 5 - // Allows an application to receive a user's chat presence. - InboundServiceType_INBOUND_SERVICE_XMPP_PRESENCE InboundServiceType = 6 - // Registers an application for notifications when a client connects or - // disconnects from a channel. - InboundServiceType_INBOUND_SERVICE_CHANNEL_PRESENCE InboundServiceType = 7 - // Enables warmup requests. - InboundServiceType_INBOUND_SERVICE_WARMUP InboundServiceType = 9 -) - -var InboundServiceType_name = map[int32]string{ - 0: "INBOUND_SERVICE_UNSPECIFIED", - 1: "INBOUND_SERVICE_MAIL", - 2: "INBOUND_SERVICE_MAIL_BOUNCE", - 3: "INBOUND_SERVICE_XMPP_ERROR", - 4: "INBOUND_SERVICE_XMPP_MESSAGE", - 5: "INBOUND_SERVICE_XMPP_SUBSCRIBE", - 6: "INBOUND_SERVICE_XMPP_PRESENCE", - 7: "INBOUND_SERVICE_CHANNEL_PRESENCE", - 9: "INBOUND_SERVICE_WARMUP", -} - -var InboundServiceType_value = map[string]int32{ - "INBOUND_SERVICE_UNSPECIFIED": 0, - "INBOUND_SERVICE_MAIL": 1, - "INBOUND_SERVICE_MAIL_BOUNCE": 2, - "INBOUND_SERVICE_XMPP_ERROR": 3, - "INBOUND_SERVICE_XMPP_MESSAGE": 4, - "INBOUND_SERVICE_XMPP_SUBSCRIBE": 5, - "INBOUND_SERVICE_XMPP_PRESENCE": 6, - "INBOUND_SERVICE_CHANNEL_PRESENCE": 7, - "INBOUND_SERVICE_WARMUP": 9, -} - -func (x InboundServiceType) String() string { - return proto.EnumName(InboundServiceType_name, int32(x)) -} - -func (InboundServiceType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_fbe3eca208d62f7c, []int{0} -} - -// Run states of a version. -type ServingStatus int32 - -const ( - // Not specified. - ServingStatus_SERVING_STATUS_UNSPECIFIED ServingStatus = 0 - // Currently serving. Instances are created according to the - // scaling settings of the version. - ServingStatus_SERVING ServingStatus = 1 - // Disabled. No instances will be created and the scaling - // settings are ignored until the state of the version changes - // to `SERVING`. - ServingStatus_STOPPED ServingStatus = 2 -) - -var ServingStatus_name = map[int32]string{ - 0: "SERVING_STATUS_UNSPECIFIED", - 1: "SERVING", - 2: "STOPPED", -} - -var ServingStatus_value = map[string]int32{ - "SERVING_STATUS_UNSPECIFIED": 0, - "SERVING": 1, - "STOPPED": 2, -} - -func (x ServingStatus) String() string { - return proto.EnumName(ServingStatus_name, int32(x)) -} - -func (ServingStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_fbe3eca208d62f7c, []int{1} -} - -// A Version resource is a specific set of source code and configuration files -// that are deployed into a service. -type Version struct { - // Full path to the Version resource in the API. Example: - // `apps/myapp/services/default/versions/v1`. - // - // @OutputOnly - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Relative name of the version within the service. Example: `v1`. - // Version names can contain only lowercase letters, numbers, or hyphens. - // Reserved names: "default", "latest", and any name with the prefix "ah-". - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // Controls how instances are created. - // - // Defaults to `AutomaticScaling`. - // - // Types that are valid to be assigned to Scaling: - // *Version_AutomaticScaling - // *Version_BasicScaling - // *Version_ManualScaling - Scaling isVersion_Scaling `protobuf_oneof:"scaling"` - // Before an application can receive email or XMPP messages, the application - // must be configured to enable the service. - InboundServices []InboundServiceType `protobuf:"varint,6,rep,packed,name=inbound_services,json=inboundServices,proto3,enum=google.appengine.v1.InboundServiceType" json:"inbound_services,omitempty"` - // Instance class that is used to run this version. Valid values are: - // * AutomaticScaling: `F1`, `F2`, `F4`, `F4_1G` - // * ManualScaling or BasicScaling: `B1`, `B2`, `B4`, `B8`, `B4_1G` - // - // Defaults to `F1` for AutomaticScaling and `B1` for ManualScaling or - // BasicScaling. - InstanceClass string `protobuf:"bytes,7,opt,name=instance_class,json=instanceClass,proto3" json:"instance_class,omitempty"` - // Extra network settings. Only applicable for VM runtimes. - Network *Network `protobuf:"bytes,8,opt,name=network,proto3" json:"network,omitempty"` - // Machine resources for this version. Only applicable for VM runtimes. - Resources *Resources `protobuf:"bytes,9,opt,name=resources,proto3" json:"resources,omitempty"` - // Desired runtime. Example: `python27`. - Runtime string `protobuf:"bytes,10,opt,name=runtime,proto3" json:"runtime,omitempty"` - // Whether multiple requests can be dispatched to this version at once. - Threadsafe bool `protobuf:"varint,11,opt,name=threadsafe,proto3" json:"threadsafe,omitempty"` - // Whether to deploy this version in a container on a virtual machine. - Vm bool `protobuf:"varint,12,opt,name=vm,proto3" json:"vm,omitempty"` - // Metadata settings that are supplied to this version to enable - // beta runtime features. - BetaSettings map[string]string `protobuf:"bytes,13,rep,name=beta_settings,json=betaSettings,proto3" json:"beta_settings,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // App Engine execution environment for this version. - // - // Defaults to `standard`. - Env string `protobuf:"bytes,14,opt,name=env,proto3" json:"env,omitempty"` - // Current serving status of this version. Only the versions with a - // `SERVING` status create instances and can be billed. - // - // `SERVING_STATUS_UNSPECIFIED` is an invalid value. Defaults to `SERVING`. - ServingStatus ServingStatus `protobuf:"varint,15,opt,name=serving_status,json=servingStatus,proto3,enum=google.appengine.v1.ServingStatus" json:"serving_status,omitempty"` - // Email address of the user who created this version. - // - // @OutputOnly - CreatedBy string `protobuf:"bytes,16,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` - // Time that this version was created. - // - // @OutputOnly - CreateTime *timestamp.Timestamp `protobuf:"bytes,17,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Total size in bytes of all the files that are included in this version - // and curerntly hosted on the App Engine disk. - // - // @OutputOnly - DiskUsageBytes int64 `protobuf:"varint,18,opt,name=disk_usage_bytes,json=diskUsageBytes,proto3" json:"disk_usage_bytes,omitempty"` - // An ordered list of URL-matching patterns that should be applied to incoming - // requests. The first matching URL handles the request and other request - // handlers are not attempted. - // - // Only returned in `GET` requests if `view=FULL` is set. - Handlers []*UrlMap `protobuf:"bytes,100,rep,name=handlers,proto3" json:"handlers,omitempty"` - // Custom static error pages. Limited to 10KB per page. - // - // Only returned in `GET` requests if `view=FULL` is set. - ErrorHandlers []*ErrorHandler `protobuf:"bytes,101,rep,name=error_handlers,json=errorHandlers,proto3" json:"error_handlers,omitempty"` - // Configuration for third-party Python runtime libraries that are required - // by the application. - // - // Only returned in `GET` requests if `view=FULL` is set. - Libraries []*Library `protobuf:"bytes,102,rep,name=libraries,proto3" json:"libraries,omitempty"` - // Serving configuration for - // [Google Cloud - // Endpoints](https://cloud.google.com/appengine/docs/python/endpoints/). - // - // Only returned in `GET` requests if `view=FULL` is set. - ApiConfig *ApiConfigHandler `protobuf:"bytes,103,opt,name=api_config,json=apiConfig,proto3" json:"api_config,omitempty"` - // Environment variables available to the application. - // - // Only returned in `GET` requests if `view=FULL` is set. - EnvVariables map[string]string `protobuf:"bytes,104,rep,name=env_variables,json=envVariables,proto3" json:"env_variables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Duration that static files should be cached by web proxies and browsers. - // Only applicable if the corresponding - // [StaticFilesHandler](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#staticfileshandler) - // does not specify its own expiration time. - // - // Only returned in `GET` requests if `view=FULL` is set. - DefaultExpiration *duration.Duration `protobuf:"bytes,105,opt,name=default_expiration,json=defaultExpiration,proto3" json:"default_expiration,omitempty"` - // Configures health checking for VM instances. Unhealthy instances are - // stopped and replaced with new instances. Only applicable for VM - // runtimes. - // - // Only returned in `GET` requests if `view=FULL` is set. - HealthCheck *HealthCheck `protobuf:"bytes,106,opt,name=health_check,json=healthCheck,proto3" json:"health_check,omitempty"` - // Files that match this pattern will not be built into this version. - // Only applicable for Go runtimes. - // - // Only returned in `GET` requests if `view=FULL` is set. - NobuildFilesRegex string `protobuf:"bytes,107,opt,name=nobuild_files_regex,json=nobuildFilesRegex,proto3" json:"nobuild_files_regex,omitempty"` - // Code and application artifacts that make up this version. - // - // Only returned in `GET` requests if `view=FULL` is set. - Deployment *Deployment `protobuf:"bytes,108,opt,name=deployment,proto3" json:"deployment,omitempty"` - // Serving URL for this version. Example: - // "https://myversion-dot-myservice-dot-myapp.appspot.com" - // - // @OutputOnly - VersionUrl string `protobuf:"bytes,109,opt,name=version_url,json=versionUrl,proto3" json:"version_url,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_fbe3eca208d62f7c, []int{0} -} - -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 (m *Version) XXX_Merge(src proto.Message) { - xxx_messageInfo_Version.Merge(m, 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) 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() -} - -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 (m *Version) GetScaling() isVersion_Scaling { - if m != nil { - return m.Scaling - } - return nil -} - -func (m *Version) GetAutomaticScaling() *AutomaticScaling { - if x, ok := m.GetScaling().(*Version_AutomaticScaling); ok { - return x.AutomaticScaling - } - return nil -} - -func (m *Version) GetBasicScaling() *BasicScaling { - if x, ok := m.GetScaling().(*Version_BasicScaling); ok { - return x.BasicScaling - } - return nil -} - -func (m *Version) GetManualScaling() *ManualScaling { - if x, ok := m.GetScaling().(*Version_ManualScaling); ok { - return x.ManualScaling - } - return nil -} - -func (m *Version) GetInboundServices() []InboundServiceType { - if m != nil { - return m.InboundServices - } - return nil -} - -func (m *Version) GetInstanceClass() string { - if m != nil { - return m.InstanceClass - } - return "" -} - -func (m *Version) GetNetwork() *Network { - if m != nil { - return m.Network - } - return nil -} - -func (m *Version) GetResources() *Resources { - if m != nil { - return m.Resources - } - return nil -} - -func (m *Version) GetRuntime() string { - if m != nil { - return m.Runtime - } - return "" -} - -func (m *Version) GetThreadsafe() bool { - if m != nil { - return m.Threadsafe - } - return false -} - -func (m *Version) GetVm() bool { - if m != nil { - return m.Vm - } - return false -} - -func (m *Version) GetBetaSettings() map[string]string { - if m != nil { - return m.BetaSettings - } - return nil -} - -func (m *Version) GetEnv() string { - if m != nil { - return m.Env - } - return "" -} - -func (m *Version) GetServingStatus() ServingStatus { - if m != nil { - return m.ServingStatus - } - return ServingStatus_SERVING_STATUS_UNSPECIFIED -} - -func (m *Version) GetCreatedBy() string { - if m != nil { - return m.CreatedBy - } - return "" -} - -func (m *Version) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *Version) GetDiskUsageBytes() int64 { - if m != nil { - return m.DiskUsageBytes - } - return 0 -} - -func (m *Version) GetHandlers() []*UrlMap { - if m != nil { - return m.Handlers - } - return nil -} - -func (m *Version) GetErrorHandlers() []*ErrorHandler { - if m != nil { - return m.ErrorHandlers - } - return nil -} - -func (m *Version) GetLibraries() []*Library { - if m != nil { - return m.Libraries - } - return nil -} - -func (m *Version) GetApiConfig() *ApiConfigHandler { - if m != nil { - return m.ApiConfig - } - return nil -} - -func (m *Version) GetEnvVariables() map[string]string { - if m != nil { - return m.EnvVariables - } - return nil -} - -func (m *Version) GetDefaultExpiration() *duration.Duration { - if m != nil { - return m.DefaultExpiration - } - return nil -} - -func (m *Version) GetHealthCheck() *HealthCheck { - if m != nil { - return m.HealthCheck - } - return nil -} - -func (m *Version) GetNobuildFilesRegex() string { - if m != nil { - return m.NobuildFilesRegex - } - return "" -} - -func (m *Version) GetDeployment() *Deployment { - if m != nil { - return m.Deployment - } - return nil -} - -func (m *Version) GetVersionUrl() string { - if m != nil { - return m.VersionUrl - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Version) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Version_AutomaticScaling)(nil), - (*Version_BasicScaling)(nil), - (*Version_ManualScaling)(nil), - } -} - -// Automatic scaling is based on request rate, response latencies, and other -// application metrics. -type AutomaticScaling struct { - // Amount of time that the - // [Autoscaler](https://cloud.google.com/compute/docs/autoscaler/) - // should wait between changes to the number of virtual machines. - // Only applicable for VM runtimes. - CoolDownPeriod *duration.Duration `protobuf:"bytes,1,opt,name=cool_down_period,json=coolDownPeriod,proto3" json:"cool_down_period,omitempty"` - // Target scaling by CPU usage. - CpuUtilization *CpuUtilization `protobuf:"bytes,2,opt,name=cpu_utilization,json=cpuUtilization,proto3" json:"cpu_utilization,omitempty"` - // Number of concurrent requests an automatic scaling instance can accept - // before the scheduler spawns a new instance. - // - // Defaults to a runtime-specific value. - MaxConcurrentRequests int32 `protobuf:"varint,3,opt,name=max_concurrent_requests,json=maxConcurrentRequests,proto3" json:"max_concurrent_requests,omitempty"` - // Maximum number of idle instances that should be maintained for this - // version. - MaxIdleInstances int32 `protobuf:"varint,4,opt,name=max_idle_instances,json=maxIdleInstances,proto3" json:"max_idle_instances,omitempty"` - // Maximum number of instances that should be started to handle requests. - MaxTotalInstances int32 `protobuf:"varint,5,opt,name=max_total_instances,json=maxTotalInstances,proto3" json:"max_total_instances,omitempty"` - // Maximum amount of time that a request should wait in the pending queue - // before starting a new instance to handle it. - MaxPendingLatency *duration.Duration `protobuf:"bytes,6,opt,name=max_pending_latency,json=maxPendingLatency,proto3" json:"max_pending_latency,omitempty"` - // Minimum number of idle instances that should be maintained for - // this version. Only applicable for the default version of a service. - MinIdleInstances int32 `protobuf:"varint,7,opt,name=min_idle_instances,json=minIdleInstances,proto3" json:"min_idle_instances,omitempty"` - // Minimum number of instances that should be maintained for this version. - MinTotalInstances int32 `protobuf:"varint,8,opt,name=min_total_instances,json=minTotalInstances,proto3" json:"min_total_instances,omitempty"` - // Minimum amount of time a request should wait in the pending queue before - // starting a new instance to handle it. - MinPendingLatency *duration.Duration `protobuf:"bytes,9,opt,name=min_pending_latency,json=minPendingLatency,proto3" json:"min_pending_latency,omitempty"` - // Target scaling by request utilization. - RequestUtilization *RequestUtilization `protobuf:"bytes,10,opt,name=request_utilization,json=requestUtilization,proto3" json:"request_utilization,omitempty"` - // Target scaling by disk usage. - DiskUtilization *DiskUtilization `protobuf:"bytes,11,opt,name=disk_utilization,json=diskUtilization,proto3" json:"disk_utilization,omitempty"` - // Target scaling by network usage. - NetworkUtilization *NetworkUtilization `protobuf:"bytes,12,opt,name=network_utilization,json=networkUtilization,proto3" json:"network_utilization,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_fbe3eca208d62f7c, []int{1} -} - -func (m *AutomaticScaling) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AutomaticScaling.Unmarshal(m, b) -} -func (m *AutomaticScaling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AutomaticScaling.Marshal(b, m, deterministic) -} -func (m *AutomaticScaling) XXX_Merge(src proto.Message) { - xxx_messageInfo_AutomaticScaling.Merge(m, src) -} -func (m *AutomaticScaling) XXX_Size() int { - return xxx_messageInfo_AutomaticScaling.Size(m) -} -func (m *AutomaticScaling) XXX_DiscardUnknown() { - xxx_messageInfo_AutomaticScaling.DiscardUnknown(m) -} - -var xxx_messageInfo_AutomaticScaling proto.InternalMessageInfo - -func (m *AutomaticScaling) GetCoolDownPeriod() *duration.Duration { - if m != nil { - return m.CoolDownPeriod - } - return nil -} - -func (m *AutomaticScaling) GetCpuUtilization() *CpuUtilization { - if m != nil { - return m.CpuUtilization - } - return nil -} - -func (m *AutomaticScaling) GetMaxConcurrentRequests() int32 { - if m != nil { - return m.MaxConcurrentRequests - } - return 0 -} - -func (m *AutomaticScaling) GetMaxIdleInstances() int32 { - if m != nil { - return m.MaxIdleInstances - } - return 0 -} - -func (m *AutomaticScaling) GetMaxTotalInstances() int32 { - if m != nil { - return m.MaxTotalInstances - } - return 0 -} - -func (m *AutomaticScaling) GetMaxPendingLatency() *duration.Duration { - if m != nil { - return m.MaxPendingLatency - } - return nil -} - -func (m *AutomaticScaling) GetMinIdleInstances() int32 { - if m != nil { - return m.MinIdleInstances - } - return 0 -} - -func (m *AutomaticScaling) GetMinTotalInstances() int32 { - if m != nil { - return m.MinTotalInstances - } - return 0 -} - -func (m *AutomaticScaling) GetMinPendingLatency() *duration.Duration { - if m != nil { - return m.MinPendingLatency - } - return nil -} - -func (m *AutomaticScaling) GetRequestUtilization() *RequestUtilization { - if m != nil { - return m.RequestUtilization - } - return nil -} - -func (m *AutomaticScaling) GetDiskUtilization() *DiskUtilization { - if m != nil { - return m.DiskUtilization - } - return nil -} - -func (m *AutomaticScaling) GetNetworkUtilization() *NetworkUtilization { - if m != nil { - return m.NetworkUtilization - } - return nil -} - -// A service with basic scaling will create an instance when the application -// receives a request. The instance will be turned down when the app becomes -// idle. Basic scaling is ideal for work that is intermittent or driven by -// user activity. -type BasicScaling struct { - // Duration of time after the last request that an instance must wait before - // the instance is shut down. - IdleTimeout *duration.Duration `protobuf:"bytes,1,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"` - // Maximum number of instances to create for this version. - MaxInstances int32 `protobuf:"varint,2,opt,name=max_instances,json=maxInstances,proto3" json:"max_instances,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_fbe3eca208d62f7c, []int{2} -} - -func (m *BasicScaling) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BasicScaling.Unmarshal(m, b) -} -func (m *BasicScaling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BasicScaling.Marshal(b, m, deterministic) -} -func (m *BasicScaling) XXX_Merge(src proto.Message) { - xxx_messageInfo_BasicScaling.Merge(m, src) -} -func (m *BasicScaling) XXX_Size() int { - return xxx_messageInfo_BasicScaling.Size(m) -} -func (m *BasicScaling) XXX_DiscardUnknown() { - xxx_messageInfo_BasicScaling.DiscardUnknown(m) -} - -var xxx_messageInfo_BasicScaling proto.InternalMessageInfo - -func (m *BasicScaling) GetIdleTimeout() *duration.Duration { - if m != nil { - return m.IdleTimeout - } - return nil -} - -func (m *BasicScaling) GetMaxInstances() int32 { - if m != nil { - return m.MaxInstances - } - return 0 -} - -// A service with manual scaling runs continuously, allowing you to perform -// complex initialization and rely on the state of its memory over time. -type ManualScaling struct { - // Number of instances to assign to the service at the start. This number - // can later be altered by using the - // [Modules - // API](https://cloud.google.com/appengine/docs/python/modules/functions) - // `set_num_instances()` function. - Instances int32 `protobuf:"varint,1,opt,name=instances,proto3" json:"instances,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_fbe3eca208d62f7c, []int{3} -} - -func (m *ManualScaling) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ManualScaling.Unmarshal(m, b) -} -func (m *ManualScaling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ManualScaling.Marshal(b, m, deterministic) -} -func (m *ManualScaling) XXX_Merge(src proto.Message) { - xxx_messageInfo_ManualScaling.Merge(m, src) -} -func (m *ManualScaling) XXX_Size() int { - return xxx_messageInfo_ManualScaling.Size(m) -} -func (m *ManualScaling) XXX_DiscardUnknown() { - xxx_messageInfo_ManualScaling.DiscardUnknown(m) -} - -var xxx_messageInfo_ManualScaling proto.InternalMessageInfo - -func (m *ManualScaling) GetInstances() int32 { - if m != nil { - return m.Instances - } - return 0 -} - -// Target scaling by CPU usage. -type CpuUtilization struct { - // Period of time over which CPU utilization is calculated. - AggregationWindowLength *duration.Duration `protobuf:"bytes,1,opt,name=aggregation_window_length,json=aggregationWindowLength,proto3" json:"aggregation_window_length,omitempty"` - // Target CPU utilization ratio to maintain when scaling. Must be between 0 - // and 1. - TargetUtilization float64 `protobuf:"fixed64,2,opt,name=target_utilization,json=targetUtilization,proto3" json:"target_utilization,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_fbe3eca208d62f7c, []int{4} -} - -func (m *CpuUtilization) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CpuUtilization.Unmarshal(m, b) -} -func (m *CpuUtilization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CpuUtilization.Marshal(b, m, deterministic) -} -func (m *CpuUtilization) XXX_Merge(src proto.Message) { - xxx_messageInfo_CpuUtilization.Merge(m, src) -} -func (m *CpuUtilization) XXX_Size() int { - return xxx_messageInfo_CpuUtilization.Size(m) -} -func (m *CpuUtilization) XXX_DiscardUnknown() { - xxx_messageInfo_CpuUtilization.DiscardUnknown(m) -} - -var xxx_messageInfo_CpuUtilization proto.InternalMessageInfo - -func (m *CpuUtilization) GetAggregationWindowLength() *duration.Duration { - if m != nil { - return m.AggregationWindowLength - } - return nil -} - -func (m *CpuUtilization) GetTargetUtilization() float64 { - if m != nil { - return m.TargetUtilization - } - return 0 -} - -// Target scaling by request utilization. Only applicable for VM runtimes. -type RequestUtilization struct { - // Target requests per second. - TargetRequestCountPerSecond int32 `protobuf:"varint,1,opt,name=target_request_count_per_second,json=targetRequestCountPerSecond,proto3" json:"target_request_count_per_second,omitempty"` - // Target number of concurrent requests. - TargetConcurrentRequests int32 `protobuf:"varint,2,opt,name=target_concurrent_requests,json=targetConcurrentRequests,proto3" json:"target_concurrent_requests,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_fbe3eca208d62f7c, []int{5} -} - -func (m *RequestUtilization) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RequestUtilization.Unmarshal(m, b) -} -func (m *RequestUtilization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RequestUtilization.Marshal(b, m, deterministic) -} -func (m *RequestUtilization) XXX_Merge(src proto.Message) { - xxx_messageInfo_RequestUtilization.Merge(m, src) -} -func (m *RequestUtilization) XXX_Size() int { - return xxx_messageInfo_RequestUtilization.Size(m) -} -func (m *RequestUtilization) XXX_DiscardUnknown() { - xxx_messageInfo_RequestUtilization.DiscardUnknown(m) -} - -var xxx_messageInfo_RequestUtilization proto.InternalMessageInfo - -func (m *RequestUtilization) GetTargetRequestCountPerSecond() int32 { - if m != nil { - return m.TargetRequestCountPerSecond - } - return 0 -} - -func (m *RequestUtilization) GetTargetConcurrentRequests() int32 { - if m != nil { - return m.TargetConcurrentRequests - } - return 0 -} - -// Target scaling by disk usage. Only applicable for VM runtimes. -type DiskUtilization struct { - // Target bytes written per second. - TargetWriteBytesPerSecond int32 `protobuf:"varint,14,opt,name=target_write_bytes_per_second,json=targetWriteBytesPerSecond,proto3" json:"target_write_bytes_per_second,omitempty"` - // Target ops written per second. - TargetWriteOpsPerSecond int32 `protobuf:"varint,15,opt,name=target_write_ops_per_second,json=targetWriteOpsPerSecond,proto3" json:"target_write_ops_per_second,omitempty"` - // Target bytes read per second. - TargetReadBytesPerSecond int32 `protobuf:"varint,16,opt,name=target_read_bytes_per_second,json=targetReadBytesPerSecond,proto3" json:"target_read_bytes_per_second,omitempty"` - // Target ops read per seconds. - TargetReadOpsPerSecond int32 `protobuf:"varint,17,opt,name=target_read_ops_per_second,json=targetReadOpsPerSecond,proto3" json:"target_read_ops_per_second,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_fbe3eca208d62f7c, []int{6} -} - -func (m *DiskUtilization) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiskUtilization.Unmarshal(m, b) -} -func (m *DiskUtilization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiskUtilization.Marshal(b, m, deterministic) -} -func (m *DiskUtilization) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiskUtilization.Merge(m, src) -} -func (m *DiskUtilization) XXX_Size() int { - return xxx_messageInfo_DiskUtilization.Size(m) -} -func (m *DiskUtilization) XXX_DiscardUnknown() { - xxx_messageInfo_DiskUtilization.DiscardUnknown(m) -} - -var xxx_messageInfo_DiskUtilization proto.InternalMessageInfo - -func (m *DiskUtilization) GetTargetWriteBytesPerSecond() int32 { - if m != nil { - return m.TargetWriteBytesPerSecond - } - return 0 -} - -func (m *DiskUtilization) GetTargetWriteOpsPerSecond() int32 { - if m != nil { - return m.TargetWriteOpsPerSecond - } - return 0 -} - -func (m *DiskUtilization) GetTargetReadBytesPerSecond() int32 { - if m != nil { - return m.TargetReadBytesPerSecond - } - return 0 -} - -func (m *DiskUtilization) GetTargetReadOpsPerSecond() int32 { - if m != nil { - return m.TargetReadOpsPerSecond - } - return 0 -} - -// Target scaling by network usage. Only applicable for VM runtimes. -type NetworkUtilization struct { - // Target bytes sent per second. - TargetSentBytesPerSecond int32 `protobuf:"varint,1,opt,name=target_sent_bytes_per_second,json=targetSentBytesPerSecond,proto3" json:"target_sent_bytes_per_second,omitempty"` - // Target packets sent per second. - TargetSentPacketsPerSecond int32 `protobuf:"varint,11,opt,name=target_sent_packets_per_second,json=targetSentPacketsPerSecond,proto3" json:"target_sent_packets_per_second,omitempty"` - // Target bytes received per second. - TargetReceivedBytesPerSecond int32 `protobuf:"varint,12,opt,name=target_received_bytes_per_second,json=targetReceivedBytesPerSecond,proto3" json:"target_received_bytes_per_second,omitempty"` - // Target packets received per second. - TargetReceivedPacketsPerSecond int32 `protobuf:"varint,13,opt,name=target_received_packets_per_second,json=targetReceivedPacketsPerSecond,proto3" json:"target_received_packets_per_second,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_fbe3eca208d62f7c, []int{7} -} - -func (m *NetworkUtilization) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NetworkUtilization.Unmarshal(m, b) -} -func (m *NetworkUtilization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NetworkUtilization.Marshal(b, m, deterministic) -} -func (m *NetworkUtilization) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkUtilization.Merge(m, src) -} -func (m *NetworkUtilization) XXX_Size() int { - return xxx_messageInfo_NetworkUtilization.Size(m) -} -func (m *NetworkUtilization) XXX_DiscardUnknown() { - xxx_messageInfo_NetworkUtilization.DiscardUnknown(m) -} - -var xxx_messageInfo_NetworkUtilization proto.InternalMessageInfo - -func (m *NetworkUtilization) GetTargetSentBytesPerSecond() int32 { - if m != nil { - return m.TargetSentBytesPerSecond - } - return 0 -} - -func (m *NetworkUtilization) GetTargetSentPacketsPerSecond() int32 { - if m != nil { - return m.TargetSentPacketsPerSecond - } - return 0 -} - -func (m *NetworkUtilization) GetTargetReceivedBytesPerSecond() int32 { - if m != nil { - return m.TargetReceivedBytesPerSecond - } - return 0 -} - -func (m *NetworkUtilization) GetTargetReceivedPacketsPerSecond() int32 { - if m != nil { - return m.TargetReceivedPacketsPerSecond - } - return 0 -} - -// Extra network settings. Only applicable for VM runtimes. -type Network struct { - // List of ports, or port pairs, to forward from the virtual machine to the - // application container. - ForwardedPorts []string `protobuf:"bytes,1,rep,name=forwarded_ports,json=forwardedPorts,proto3" json:"forwarded_ports,omitempty"` - // Tag to apply to the VM instance during creation. - InstanceTag string `protobuf:"bytes,2,opt,name=instance_tag,json=instanceTag,proto3" json:"instance_tag,omitempty"` - // Google Cloud Platform network where the virtual machines are created. - // Specify the short name, not the resource path. - // - // Defaults to `default`. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_fbe3eca208d62f7c, []int{8} -} - -func (m *Network) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Network.Unmarshal(m, b) -} -func (m *Network) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Network.Marshal(b, m, deterministic) -} -func (m *Network) XXX_Merge(src proto.Message) { - xxx_messageInfo_Network.Merge(m, src) -} -func (m *Network) XXX_Size() int { - return xxx_messageInfo_Network.Size(m) -} -func (m *Network) XXX_DiscardUnknown() { - xxx_messageInfo_Network.DiscardUnknown(m) -} - -var xxx_messageInfo_Network proto.InternalMessageInfo - -func (m *Network) GetForwardedPorts() []string { - if m != nil { - return m.ForwardedPorts - } - return nil -} - -func (m *Network) GetInstanceTag() string { - if m != nil { - return m.InstanceTag - } - return "" -} - -func (m *Network) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Machine resources for a version. -type Resources struct { - // Number of CPU cores needed. - Cpu float64 `protobuf:"fixed64,1,opt,name=cpu,proto3" json:"cpu,omitempty"` - // Disk size (GB) needed. - DiskGb float64 `protobuf:"fixed64,2,opt,name=disk_gb,json=diskGb,proto3" json:"disk_gb,omitempty"` - // Memory (GB) needed. - MemoryGb float64 `protobuf:"fixed64,3,opt,name=memory_gb,json=memoryGb,proto3" json:"memory_gb,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_fbe3eca208d62f7c, []int{9} -} - -func (m *Resources) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Resources.Unmarshal(m, b) -} -func (m *Resources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Resources.Marshal(b, m, deterministic) -} -func (m *Resources) XXX_Merge(src proto.Message) { - xxx_messageInfo_Resources.Merge(m, src) -} -func (m *Resources) XXX_Size() int { - return xxx_messageInfo_Resources.Size(m) -} -func (m *Resources) XXX_DiscardUnknown() { - xxx_messageInfo_Resources.DiscardUnknown(m) -} - -var xxx_messageInfo_Resources proto.InternalMessageInfo - -func (m *Resources) GetCpu() float64 { - if m != nil { - return m.Cpu - } - return 0 -} - -func (m *Resources) GetDiskGb() float64 { - if m != nil { - return m.DiskGb - } - return 0 -} - -func (m *Resources) GetMemoryGb() float64 { - if m != nil { - return m.MemoryGb - } - return 0 -} - -func init() { - proto.RegisterEnum("google.appengine.v1.InboundServiceType", InboundServiceType_name, InboundServiceType_value) - proto.RegisterEnum("google.appengine.v1.ServingStatus", ServingStatus_name, ServingStatus_value) - proto.RegisterType((*Version)(nil), "google.appengine.v1.Version") - proto.RegisterMapType((map[string]string)(nil), "google.appengine.v1.Version.BetaSettingsEntry") - proto.RegisterMapType((map[string]string)(nil), "google.appengine.v1.Version.EnvVariablesEntry") - proto.RegisterType((*AutomaticScaling)(nil), "google.appengine.v1.AutomaticScaling") - proto.RegisterType((*BasicScaling)(nil), "google.appengine.v1.BasicScaling") - proto.RegisterType((*ManualScaling)(nil), "google.appengine.v1.ManualScaling") - proto.RegisterType((*CpuUtilization)(nil), "google.appengine.v1.CpuUtilization") - proto.RegisterType((*RequestUtilization)(nil), "google.appengine.v1.RequestUtilization") - proto.RegisterType((*DiskUtilization)(nil), "google.appengine.v1.DiskUtilization") - proto.RegisterType((*NetworkUtilization)(nil), "google.appengine.v1.NetworkUtilization") - proto.RegisterType((*Network)(nil), "google.appengine.v1.Network") - proto.RegisterType((*Resources)(nil), "google.appengine.v1.Resources") -} - -func init() { proto.RegisterFile("google/appengine/v1/version.proto", fileDescriptor_fbe3eca208d62f7c) } - -var fileDescriptor_fbe3eca208d62f7c = []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, - 0xb1, 0x26, 0xd3, 0x50, 0x13, 0x77, 0x26, 0xed, 0x38, 0x9e, 0xa6, 0x22, 0x45, 0x5b, 0x6c, 0xf5, - 0xc1, 0x01, 0x48, 0x3b, 0xd3, 0x17, 0xcc, 0x12, 0x58, 0x41, 0x5b, 0x01, 0x0b, 0x64, 0xb1, 0xa0, - 0xc4, 0xfe, 0x87, 0x3e, 0xb6, 0xd3, 0x1f, 0xd1, 0xc7, 0xbe, 0xf5, 0xcf, 0x75, 0x76, 0x01, 0x90, - 0x20, 0x89, 0xd8, 0xed, 0x1b, 0xf7, 0xee, 0x39, 0x67, 0x0f, 0xee, 0xde, 0xbd, 0x0b, 0x10, 0x5e, - 0xb8, 0x41, 0xe0, 0x7a, 0xe4, 0x14, 0x87, 0x21, 0x61, 0x2e, 0x65, 0xe4, 0x74, 0xfa, 0xdd, 0xe9, - 0x94, 0xf0, 0x88, 0x06, 0xac, 0x13, 0xf2, 0x40, 0x04, 0xe8, 0x69, 0x02, 0xe9, 0xcc, 0x21, 0x9d, - 0xe9, 0x77, 0xfb, 0x87, 0x73, 0x1e, 0x3d, 0xc5, 0x8c, 0x05, 0x02, 0x0b, 0x1a, 0xb0, 0x28, 0xa1, - 0xec, 0xb7, 0x8b, 0x54, 0x71, 0x18, 0x5a, 0x33, 0xec, 0x7b, 0x29, 0xa6, 0x55, 0x84, 0x71, 0x48, - 0xe8, 0x05, 0xb3, 0x14, 0x71, 0x94, 0x22, 0xd4, 0x68, 0x12, 0xdf, 0x9e, 0x3a, 0x31, 0x57, 0xcb, - 0xa4, 0xf3, 0xc7, 0xab, 0xf3, 0x82, 0xfa, 0x24, 0x12, 0xd8, 0x0f, 0x13, 0x40, 0xfb, 0xef, 0x0d, - 0xa8, 0xbc, 0x4f, 0x9e, 0x05, 0x21, 0x78, 0xc2, 0xb0, 0x4f, 0xf4, 0x52, 0xab, 0x74, 0x52, 0x35, - 0xd4, 0x6f, 0xd4, 0x84, 0x32, 0x75, 0xf4, 0xb2, 0x8a, 0x94, 0xa9, 0x83, 0x46, 0xb0, 0x8b, 0x63, - 0x11, 0xf8, 0x58, 0x50, 0xdb, 0x8a, 0x6c, 0xec, 0x51, 0xe6, 0xea, 0x1b, 0xad, 0xd2, 0x49, 0xed, - 0xd5, 0xd7, 0x9d, 0x82, 0x2c, 0x74, 0xce, 0x32, 0xb4, 0x99, 0x80, 0x2f, 0x3e, 0x33, 0x34, 0xbc, - 0x12, 0x43, 0x17, 0xd0, 0x98, 0xe0, 0x28, 0xa7, 0xf8, 0x44, 0x29, 0xbe, 0x28, 0x54, 0xec, 0x4a, - 0xe4, 0x42, 0xad, 0x3e, 0xc9, 0x8d, 0xd1, 0x9f, 0xa0, 0xe9, 0x63, 0x16, 0x63, 0x6f, 0x2e, 0xb5, - 0xa9, 0xa4, 0xda, 0x85, 0x52, 0x57, 0x0a, 0xba, 0xd0, 0x6a, 0xf8, 0xf9, 0x00, 0x32, 0x40, 0xa3, - 0x6c, 0x12, 0xc4, 0xcc, 0xb1, 0x22, 0xc2, 0xa7, 0xd4, 0x26, 0x91, 0xbe, 0xd5, 0xda, 0x38, 0x69, - 0xbe, 0x7a, 0x59, 0x28, 0x37, 0x48, 0xc0, 0x66, 0x82, 0x1d, 0xcd, 0x42, 0x62, 0xec, 0xd0, 0xa5, - 0x58, 0x84, 0xbe, 0x86, 0x26, 0x65, 0x91, 0xc0, 0xcc, 0x26, 0x96, 0xed, 0xe1, 0x28, 0xd2, 0x2b, - 0x2a, 0xb9, 0x8d, 0x2c, 0xda, 0x93, 0x41, 0xf4, 0x3d, 0x54, 0x18, 0x11, 0x0f, 0x01, 0xbf, 0xd7, - 0xb7, 0xd5, 0x03, 0x1c, 0x16, 0xae, 0x78, 0x9d, 0x60, 0x8c, 0x0c, 0x8c, 0xde, 0x40, 0x95, 0x93, - 0x28, 0x88, 0xb9, 0xf4, 0x5a, 0x55, 0xcc, 0xa3, 0x42, 0xa6, 0x91, 0xa1, 0x8c, 0x05, 0x01, 0xe9, - 0x50, 0xe1, 0x31, 0x93, 0x35, 0xa2, 0x83, 0x72, 0x95, 0x0d, 0xd1, 0x11, 0x80, 0xb8, 0xe3, 0x04, - 0x3b, 0x11, 0xbe, 0x25, 0x7a, 0xad, 0x55, 0x3a, 0xd9, 0x36, 0x72, 0x11, 0x59, 0x27, 0x53, 0x5f, - 0xaf, 0xab, 0x78, 0x79, 0xea, 0x23, 0x13, 0x1a, 0x13, 0x22, 0xb0, 0x15, 0x11, 0x21, 0x28, 0x73, - 0x23, 0xbd, 0xd1, 0xda, 0x38, 0xa9, 0xbd, 0xea, 0x14, 0x7a, 0x49, 0x0b, 0xb0, 0xd3, 0x25, 0x02, - 0x9b, 0x29, 0xa1, 0xcf, 0x04, 0x9f, 0x19, 0xf5, 0x49, 0x2e, 0x84, 0x34, 0xd8, 0x20, 0x6c, 0xaa, - 0x37, 0x95, 0x35, 0xf9, 0x13, 0x0d, 0xa0, 0xa9, 0x76, 0x86, 0xb9, 0x56, 0x24, 0xb0, 0x88, 0x23, - 0x7d, 0xa7, 0x55, 0x3a, 0x69, 0xfe, 0xc2, 0x76, 0x9b, 0x09, 0xd4, 0x54, 0x48, 0xa3, 0x11, 0xe5, - 0x87, 0xe8, 0x39, 0x80, 0xcd, 0x09, 0x16, 0xc4, 0xb1, 0x26, 0x33, 0x5d, 0x53, 0x6b, 0x54, 0xd3, - 0x48, 0x77, 0x86, 0x7e, 0x80, 0x5a, 0x32, 0xb0, 0x54, 0x7a, 0x76, 0x55, 0x6a, 0xf7, 0xb3, 0x65, - 0xb2, 0xf3, 0xd5, 0x19, 0x65, 0xe7, 0xcb, 0x48, 0xd5, 0x64, 0x00, 0x9d, 0x80, 0xe6, 0xd0, 0xe8, - 0xde, 0x8a, 0x23, 0xec, 0x12, 0x6b, 0x32, 0x13, 0x24, 0xd2, 0x51, 0xab, 0x74, 0xb2, 0x61, 0x34, - 0x65, 0x7c, 0x2c, 0xc3, 0x5d, 0x19, 0x45, 0xbf, 0x85, 0xed, 0x3b, 0xcc, 0x1c, 0x8f, 0xf0, 0x48, - 0x77, 0x54, 0xca, 0x0e, 0x0a, 0x1f, 0x65, 0xcc, 0xbd, 0x2b, 0x1c, 0x1a, 0x73, 0x30, 0xba, 0x80, - 0x26, 0xe1, 0x3c, 0xe0, 0xd6, 0x9c, 0x4e, 0x14, 0xbd, 0xf8, 0x0c, 0xf5, 0x25, 0xf4, 0x22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x1a, 0x3e, 0x94, 0xfd, 0x79, 0x58, 0xfa, 0xf3, 0x9b, 0x14, 0xe4, 0x06, 0x1e, 0x66, 0x6e, - 0x27, 0xe0, 0xee, 0xa9, 0x4b, 0x98, 0xea, 0xde, 0xa7, 0xc9, 0x14, 0x0e, 0x69, 0xb4, 0xf4, 0xcf, - 0xc6, 0x0f, 0xf3, 0xc1, 0x64, 0x4b, 0x01, 0x7f, 0xf3, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x2f, - 0xe1, 0xd6, 0xfa, 0x7b, 0x11, 0x00, 0x00, -} 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 deleted file mode 100644 index 0b6096ce..00000000 --- a/vendor/google.golang.org/genproto/googleapis/assistant/embedded/v1alpha1/embedded_assistant.pb.go +++ /dev/null @@ -1,1009 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/assistant/embedded/v1alpha1/embedded_assistant.proto - -package embedded - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Audio encoding of the data sent in the audio message. -// Audio must be one-channel (mono). The only language supported is "en-US". -type AudioInConfig_Encoding int32 - -const ( - // Not specified. Will return result [google.rpc.Code.INVALID_ARGUMENT][]. - AudioInConfig_ENCODING_UNSPECIFIED AudioInConfig_Encoding = 0 - // Uncompressed 16-bit signed little-endian samples (Linear PCM). - // This encoding includes no header, only the raw audio bytes. - AudioInConfig_LINEAR16 AudioInConfig_Encoding = 1 - // [`FLAC`](https://xiph.org/flac/documentation.html) (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`. This encoding - // includes the `FLAC` stream header followed by audio data. It supports - // 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` are - // supported. - AudioInConfig_FLAC AudioInConfig_Encoding = 2 -) - -var AudioInConfig_Encoding_name = map[int32]string{ - 0: "ENCODING_UNSPECIFIED", - 1: "LINEAR16", - 2: "FLAC", -} - -var AudioInConfig_Encoding_value = map[string]int32{ - "ENCODING_UNSPECIFIED": 0, - "LINEAR16": 1, - "FLAC": 2, -} - -func (x AudioInConfig_Encoding) String() string { - return proto.EnumName(AudioInConfig_Encoding_name, int32(x)) -} - -func (AudioInConfig_Encoding) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2a6c80cea3f0c886, []int{1, 0} -} - -// Audio encoding of the data returned in the audio message. All encodings are -// raw audio bytes with no header, except as indicated below. -type AudioOutConfig_Encoding int32 - -const ( - // Not specified. Will return result [google.rpc.Code.INVALID_ARGUMENT][]. - AudioOutConfig_ENCODING_UNSPECIFIED AudioOutConfig_Encoding = 0 - // Uncompressed 16-bit signed little-endian samples (Linear PCM). - AudioOutConfig_LINEAR16 AudioOutConfig_Encoding = 1 - // MP3 audio encoding. The sample rate is encoded in the payload. - AudioOutConfig_MP3 AudioOutConfig_Encoding = 2 - // Opus-encoded audio wrapped in an ogg container. The result will be a - // file which can be played natively on Android and in some browsers (such - // as Chrome). The quality of the encoding is considerably higher than MP3 - // while using the same bitrate. The sample rate is encoded in the payload. - AudioOutConfig_OPUS_IN_OGG AudioOutConfig_Encoding = 3 -) - -var AudioOutConfig_Encoding_name = map[int32]string{ - 0: "ENCODING_UNSPECIFIED", - 1: "LINEAR16", - 2: "MP3", - 3: "OPUS_IN_OGG", -} - -var AudioOutConfig_Encoding_value = map[string]int32{ - "ENCODING_UNSPECIFIED": 0, - "LINEAR16": 1, - "MP3": 2, - "OPUS_IN_OGG": 3, -} - -func (x AudioOutConfig_Encoding) String() string { - return proto.EnumName(AudioOutConfig_Encoding_name, int32(x)) -} - -func (AudioOutConfig_Encoding) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2a6c80cea3f0c886, []int{2, 0} -} - -// Possible states of the microphone after a `Converse` RPC completes. -type ConverseResult_MicrophoneMode int32 - -const ( - // No mode specified. - ConverseResult_MICROPHONE_MODE_UNSPECIFIED ConverseResult_MicrophoneMode = 0 - // The service is not expecting a follow-on question from the user. - // The microphone should remain off until the user re-activates it. - ConverseResult_CLOSE_MICROPHONE ConverseResult_MicrophoneMode = 1 - // The service is expecting a follow-on question from the user. The - // microphone should be re-opened when the `AudioOut` playback completes - // (by starting a new `Converse` RPC call to send the new audio). - ConverseResult_DIALOG_FOLLOW_ON ConverseResult_MicrophoneMode = 2 -) - -var ConverseResult_MicrophoneMode_name = map[int32]string{ - 0: "MICROPHONE_MODE_UNSPECIFIED", - 1: "CLOSE_MICROPHONE", - 2: "DIALOG_FOLLOW_ON", -} - -var ConverseResult_MicrophoneMode_value = map[string]int32{ - "MICROPHONE_MODE_UNSPECIFIED": 0, - "CLOSE_MICROPHONE": 1, - "DIALOG_FOLLOW_ON": 2, -} - -func (x ConverseResult_MicrophoneMode) String() string { - return proto.EnumName(ConverseResult_MicrophoneMode_name, int32(x)) -} - -func (ConverseResult_MicrophoneMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2a6c80cea3f0c886, []int{5, 0} -} - -// Indicates the type of event. -type ConverseResponse_EventType int32 - -const ( - // No event specified. - ConverseResponse_EVENT_TYPE_UNSPECIFIED ConverseResponse_EventType = 0 - // This event indicates that the server has detected the end of the user's - // speech utterance and expects no additional speech. Therefore, the server - // will not process additional audio (although it may subsequently return - // additional results). The client should stop sending additional audio - // data, half-close the gRPC connection, and wait for any additional results - // until the server closes the gRPC connection. - ConverseResponse_END_OF_UTTERANCE ConverseResponse_EventType = 1 -) - -var ConverseResponse_EventType_name = map[int32]string{ - 0: "EVENT_TYPE_UNSPECIFIED", - 1: "END_OF_UTTERANCE", -} - -var ConverseResponse_EventType_value = map[string]int32{ - "EVENT_TYPE_UNSPECIFIED": 0, - "END_OF_UTTERANCE": 1, -} - -func (x ConverseResponse_EventType) String() string { - return proto.EnumName(ConverseResponse_EventType_name, int32(x)) -} - -func (ConverseResponse_EventType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2a6c80cea3f0c886, []int{7, 0} -} - -// Specifies how to process the `ConverseRequest` messages. -type ConverseConfig struct { - // *Required* Specifies how to process the subsequent incoming audio. - AudioInConfig *AudioInConfig `protobuf:"bytes,1,opt,name=audio_in_config,json=audioInConfig,proto3" json:"audio_in_config,omitempty"` - // *Required* Specifies how to format the audio that will be returned. - AudioOutConfig *AudioOutConfig `protobuf:"bytes,2,opt,name=audio_out_config,json=audioOutConfig,proto3" json:"audio_out_config,omitempty"` - // *Required* Represents the current dialog state. - ConverseState *ConverseState `protobuf:"bytes,3,opt,name=converse_state,json=converseState,proto3" json:"converse_state,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2a6c80cea3f0c886, []int{0} -} - -func (m *ConverseConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConverseConfig.Unmarshal(m, b) -} -func (m *ConverseConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConverseConfig.Marshal(b, m, deterministic) -} -func (m *ConverseConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConverseConfig.Merge(m, src) -} -func (m *ConverseConfig) XXX_Size() int { - return xxx_messageInfo_ConverseConfig.Size(m) -} -func (m *ConverseConfig) XXX_DiscardUnknown() { - xxx_messageInfo_ConverseConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_ConverseConfig proto.InternalMessageInfo - -func (m *ConverseConfig) GetAudioInConfig() *AudioInConfig { - if m != nil { - return m.AudioInConfig - } - return nil -} - -func (m *ConverseConfig) GetAudioOutConfig() *AudioOutConfig { - if m != nil { - return m.AudioOutConfig - } - return nil -} - -func (m *ConverseConfig) GetConverseState() *ConverseState { - if m != nil { - return m.ConverseState - } - return nil -} - -// Specifies how to process the `audio_in` data that will be provided in -// subsequent requests. For recommended settings, see the Google Assistant SDK -// [best -// practices](https://developers.google.com/assistant/sdk/develop/grpc/best-practices/audio). -type AudioInConfig struct { - // *Required* Encoding of audio data sent in all `audio_in` messages. - Encoding AudioInConfig_Encoding `protobuf:"varint,1,opt,name=encoding,proto3,enum=google.assistant.embedded.v1alpha1.AudioInConfig_Encoding" json:"encoding,omitempty"` - // *Required* Sample rate (in Hertz) of the audio data sent in all `audio_in` - // messages. Valid values are from 16000-24000, but 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). - SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2a6c80cea3f0c886, []int{1} -} - -func (m *AudioInConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AudioInConfig.Unmarshal(m, b) -} -func (m *AudioInConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AudioInConfig.Marshal(b, m, deterministic) -} -func (m *AudioInConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_AudioInConfig.Merge(m, src) -} -func (m *AudioInConfig) XXX_Size() int { - return xxx_messageInfo_AudioInConfig.Size(m) -} -func (m *AudioInConfig) XXX_DiscardUnknown() { - xxx_messageInfo_AudioInConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_AudioInConfig proto.InternalMessageInfo - -func (m *AudioInConfig) GetEncoding() AudioInConfig_Encoding { - if m != nil { - return m.Encoding - } - return AudioInConfig_ENCODING_UNSPECIFIED -} - -func (m *AudioInConfig) GetSampleRateHertz() int32 { - if m != nil { - return m.SampleRateHertz - } - return 0 -} - -// Specifies the desired format for the server to use when it returns -// `audio_out` messages. -type AudioOutConfig struct { - // *Required* The encoding of audio data to be returned in all `audio_out` - // messages. - Encoding AudioOutConfig_Encoding `protobuf:"varint,1,opt,name=encoding,proto3,enum=google.assistant.embedded.v1alpha1.AudioOutConfig_Encoding" json:"encoding,omitempty"` - // *Required* The sample rate in Hertz of the audio data returned in - // `audio_out` messages. Valid values are: 16000-24000. - SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"` - // *Required* Current volume setting of the device's audio output. - // Valid values are 1 to 100 (corresponding to 1% to 100%). - VolumePercentage int32 `protobuf:"varint,3,opt,name=volume_percentage,json=volumePercentage,proto3" json:"volume_percentage,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2a6c80cea3f0c886, []int{2} -} - -func (m *AudioOutConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AudioOutConfig.Unmarshal(m, b) -} -func (m *AudioOutConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AudioOutConfig.Marshal(b, m, deterministic) -} -func (m *AudioOutConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_AudioOutConfig.Merge(m, src) -} -func (m *AudioOutConfig) XXX_Size() int { - return xxx_messageInfo_AudioOutConfig.Size(m) -} -func (m *AudioOutConfig) XXX_DiscardUnknown() { - xxx_messageInfo_AudioOutConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_AudioOutConfig proto.InternalMessageInfo - -func (m *AudioOutConfig) GetEncoding() AudioOutConfig_Encoding { - if m != nil { - return m.Encoding - } - return AudioOutConfig_ENCODING_UNSPECIFIED -} - -func (m *AudioOutConfig) GetSampleRateHertz() int32 { - if m != nil { - return m.SampleRateHertz - } - return 0 -} - -func (m *AudioOutConfig) GetVolumePercentage() int32 { - if m != nil { - return m.VolumePercentage - } - return 0 -} - -// Provides information about the current dialog state. -type ConverseState struct { - // *Required* The `conversation_state` value returned in the prior - // `ConverseResponse`. Omit (do not set the field) if there was no prior - // `ConverseResponse`. If there was a prior `ConverseResponse`, do not omit - // this field; doing so will end that conversation (and this new request will - // start a new conversation). - ConversationState []byte `protobuf:"bytes,1,opt,name=conversation_state,json=conversationState,proto3" json:"conversation_state,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2a6c80cea3f0c886, []int{3} -} - -func (m *ConverseState) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConverseState.Unmarshal(m, b) -} -func (m *ConverseState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConverseState.Marshal(b, m, deterministic) -} -func (m *ConverseState) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConverseState.Merge(m, src) -} -func (m *ConverseState) XXX_Size() int { - return xxx_messageInfo_ConverseState.Size(m) -} -func (m *ConverseState) XXX_DiscardUnknown() { - xxx_messageInfo_ConverseState.DiscardUnknown(m) -} - -var xxx_messageInfo_ConverseState proto.InternalMessageInfo - -func (m *ConverseState) GetConversationState() []byte { - if m != nil { - return m.ConversationState - } - return nil -} - -// The audio containing the assistant's response to the query. Sequential chunks -// of audio data are received in sequential `ConverseResponse` messages. -type AudioOut struct { - // *Output-only* The audio data containing the assistant's response to the - // query. Sequential chunks of audio data are received in sequential - // `ConverseResponse` messages. - AudioData []byte `protobuf:"bytes,1,opt,name=audio_data,json=audioData,proto3" json:"audio_data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2a6c80cea3f0c886, []int{4} -} - -func (m *AudioOut) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AudioOut.Unmarshal(m, b) -} -func (m *AudioOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AudioOut.Marshal(b, m, deterministic) -} -func (m *AudioOut) XXX_Merge(src proto.Message) { - xxx_messageInfo_AudioOut.Merge(m, src) -} -func (m *AudioOut) XXX_Size() int { - return xxx_messageInfo_AudioOut.Size(m) -} -func (m *AudioOut) XXX_DiscardUnknown() { - xxx_messageInfo_AudioOut.DiscardUnknown(m) -} - -var xxx_messageInfo_AudioOut proto.InternalMessageInfo - -func (m *AudioOut) GetAudioData() []byte { - if m != nil { - return m.AudioData - } - return nil -} - -// The semantic result for the user's spoken query. -type ConverseResult struct { - // *Output-only* The recognized transcript of what the user said. - SpokenRequestText string `protobuf:"bytes,1,opt,name=spoken_request_text,json=spokenRequestText,proto3" json:"spoken_request_text,omitempty"` - // *Output-only* The text of the assistant's spoken response. This is only - // returned for an IFTTT action. - SpokenResponseText string `protobuf:"bytes,2,opt,name=spoken_response_text,json=spokenResponseText,proto3" json:"spoken_response_text,omitempty"` - // *Output-only* State information for subsequent `ConverseRequest`. This - // value should be saved in the client and returned in the - // `conversation_state` with the next `ConverseRequest`. (The client does not - // need to interpret or otherwise use this value.) There is no need to save - // this information across device restarts. - ConversationState []byte `protobuf:"bytes,3,opt,name=conversation_state,json=conversationState,proto3" json:"conversation_state,omitempty"` - // *Output-only* Specifies the mode of the microphone after this `Converse` - // RPC is processed. - MicrophoneMode ConverseResult_MicrophoneMode `protobuf:"varint,4,opt,name=microphone_mode,json=microphoneMode,proto3,enum=google.assistant.embedded.v1alpha1.ConverseResult_MicrophoneMode" json:"microphone_mode,omitempty"` - // *Output-only* Updated volume level. The value will be 0 or omitted - // (indicating no change) unless a voice command such as "Increase the volume" - // or "Set volume level 4" was recognized, in which case the value will be - // between 1 and 100 (corresponding to the new volume level of 1% to 100%). - // Typically, a client should use this volume level when playing the - // `audio_out` data, and retain this value as the current volume level and - // supply it in the `AudioOutConfig` of the next `ConverseRequest`. (Some - // clients may also implement other ways to allow the current volume level to - // be changed, for example, by providing a knob that the user can turn.) - VolumePercentage int32 `protobuf:"varint,5,opt,name=volume_percentage,json=volumePercentage,proto3" json:"volume_percentage,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2a6c80cea3f0c886, []int{5} -} - -func (m *ConverseResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConverseResult.Unmarshal(m, b) -} -func (m *ConverseResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConverseResult.Marshal(b, m, deterministic) -} -func (m *ConverseResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConverseResult.Merge(m, src) -} -func (m *ConverseResult) XXX_Size() int { - return xxx_messageInfo_ConverseResult.Size(m) -} -func (m *ConverseResult) XXX_DiscardUnknown() { - xxx_messageInfo_ConverseResult.DiscardUnknown(m) -} - -var xxx_messageInfo_ConverseResult proto.InternalMessageInfo - -func (m *ConverseResult) GetSpokenRequestText() string { - if m != nil { - return m.SpokenRequestText - } - return "" -} - -func (m *ConverseResult) GetSpokenResponseText() string { - if m != nil { - return m.SpokenResponseText - } - return "" -} - -func (m *ConverseResult) GetConversationState() []byte { - if m != nil { - return m.ConversationState - } - return nil -} - -func (m *ConverseResult) GetMicrophoneMode() ConverseResult_MicrophoneMode { - if m != nil { - return m.MicrophoneMode - } - return ConverseResult_MICROPHONE_MODE_UNSPECIFIED -} - -func (m *ConverseResult) GetVolumePercentage() int32 { - if m != nil { - return m.VolumePercentage - } - return 0 -} - -// The top-level message sent by the client. Clients must send at least two, and -// typically numerous `ConverseRequest` messages. The first message must -// contain a `config` message and must not contain `audio_in` data. All -// subsequent messages must contain `audio_in` data and must not contain a -// `config` message. -type ConverseRequest struct { - // Exactly one of these fields must be specified in each `ConverseRequest`. - // - // Types that are valid to be assigned to ConverseRequest: - // *ConverseRequest_Config - // *ConverseRequest_AudioIn - ConverseRequest isConverseRequest_ConverseRequest `protobuf_oneof:"converse_request"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2a6c80cea3f0c886, []int{6} -} - -func (m *ConverseRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConverseRequest.Unmarshal(m, b) -} -func (m *ConverseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConverseRequest.Marshal(b, m, deterministic) -} -func (m *ConverseRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConverseRequest.Merge(m, src) -} -func (m *ConverseRequest) XXX_Size() int { - return xxx_messageInfo_ConverseRequest.Size(m) -} -func (m *ConverseRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ConverseRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ConverseRequest proto.InternalMessageInfo - -type isConverseRequest_ConverseRequest interface { - isConverseRequest_ConverseRequest() -} - -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_AudioIn) isConverseRequest_ConverseRequest() {} - -func (m *ConverseRequest) GetConverseRequest() isConverseRequest_ConverseRequest { - if m != nil { - return m.ConverseRequest - } - return nil -} - -func (m *ConverseRequest) GetConfig() *ConverseConfig { - if x, ok := m.GetConverseRequest().(*ConverseRequest_Config); ok { - return x.Config - } - return nil -} - -func (m *ConverseRequest) GetAudioIn() []byte { - if x, ok := m.GetConverseRequest().(*ConverseRequest_AudioIn); ok { - return x.AudioIn - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ConverseRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ConverseRequest_Config)(nil), - (*ConverseRequest_AudioIn)(nil), - } -} - -// The top-level message received by the client. A series of one or more -// `ConverseResponse` messages are streamed back to the client. -type ConverseResponse struct { - // Exactly one of these fields will be populated in each `ConverseResponse`. - // - // Types that are valid to be assigned to ConverseResponse: - // *ConverseResponse_Error - // *ConverseResponse_EventType_ - // *ConverseResponse_AudioOut - // *ConverseResponse_Result - ConverseResponse isConverseResponse_ConverseResponse `protobuf_oneof:"converse_response"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2a6c80cea3f0c886, []int{7} -} - -func (m *ConverseResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConverseResponse.Unmarshal(m, b) -} -func (m *ConverseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConverseResponse.Marshal(b, m, deterministic) -} -func (m *ConverseResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConverseResponse.Merge(m, src) -} -func (m *ConverseResponse) XXX_Size() int { - return xxx_messageInfo_ConverseResponse.Size(m) -} -func (m *ConverseResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ConverseResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ConverseResponse proto.InternalMessageInfo - -type isConverseResponse_ConverseResponse interface { - isConverseResponse_ConverseResponse() -} - -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_EventType_) isConverseResponse_ConverseResponse() {} - -func (*ConverseResponse_AudioOut) isConverseResponse_ConverseResponse() {} - -func (*ConverseResponse_Result) isConverseResponse_ConverseResponse() {} - -func (m *ConverseResponse) GetConverseResponse() isConverseResponse_ConverseResponse { - if m != nil { - return m.ConverseResponse - } - return nil -} - -func (m *ConverseResponse) GetError() *status.Status { - if x, ok := m.GetConverseResponse().(*ConverseResponse_Error); ok { - return x.Error - } - return nil -} - -func (m *ConverseResponse) GetEventType() ConverseResponse_EventType { - if x, ok := m.GetConverseResponse().(*ConverseResponse_EventType_); ok { - return x.EventType - } - return ConverseResponse_EVENT_TYPE_UNSPECIFIED -} - -func (m *ConverseResponse) GetAudioOut() *AudioOut { - if x, ok := m.GetConverseResponse().(*ConverseResponse_AudioOut); ok { - return x.AudioOut - } - return nil -} - -func (m *ConverseResponse) GetResult() *ConverseResult { - if x, ok := m.GetConverseResponse().(*ConverseResponse_Result); ok { - return x.Result - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ConverseResponse) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ConverseResponse_Error)(nil), - (*ConverseResponse_EventType_)(nil), - (*ConverseResponse_AudioOut)(nil), - (*ConverseResponse_Result)(nil), - } -} - -func init() { - proto.RegisterEnum("google.assistant.embedded.v1alpha1.AudioInConfig_Encoding", AudioInConfig_Encoding_name, AudioInConfig_Encoding_value) - proto.RegisterEnum("google.assistant.embedded.v1alpha1.AudioOutConfig_Encoding", AudioOutConfig_Encoding_name, AudioOutConfig_Encoding_value) - proto.RegisterEnum("google.assistant.embedded.v1alpha1.ConverseResult_MicrophoneMode", ConverseResult_MicrophoneMode_name, ConverseResult_MicrophoneMode_value) - proto.RegisterEnum("google.assistant.embedded.v1alpha1.ConverseResponse_EventType", ConverseResponse_EventType_name, ConverseResponse_EventType_value) - proto.RegisterType((*ConverseConfig)(nil), "google.assistant.embedded.v1alpha1.ConverseConfig") - proto.RegisterType((*AudioInConfig)(nil), "google.assistant.embedded.v1alpha1.AudioInConfig") - proto.RegisterType((*AudioOutConfig)(nil), "google.assistant.embedded.v1alpha1.AudioOutConfig") - proto.RegisterType((*ConverseState)(nil), "google.assistant.embedded.v1alpha1.ConverseState") - proto.RegisterType((*AudioOut)(nil), "google.assistant.embedded.v1alpha1.AudioOut") - proto.RegisterType((*ConverseResult)(nil), "google.assistant.embedded.v1alpha1.ConverseResult") - proto.RegisterType((*ConverseRequest)(nil), "google.assistant.embedded.v1alpha1.ConverseRequest") - proto.RegisterType((*ConverseResponse)(nil), "google.assistant.embedded.v1alpha1.ConverseResponse") -} - -func init() { - proto.RegisterFile("google/assistant/embedded/v1alpha1/embedded_assistant.proto", fileDescriptor_2a6c80cea3f0c886) -} - -var fileDescriptor_2a6c80cea3f0c886 = []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, - 0x94, 0x02, 0x72, 0xe3, 0x30, 0x3c, 0x10, 0xe8, 0x8c, 0x63, 0x2b, 0xb1, 0xc1, 0x96, 0x3c, 0x67, - 0xa7, 0xa5, 0x0c, 0xcc, 0xcd, 0x55, 0x3e, 0x1c, 0x81, 0x7d, 0x27, 0xa4, 0x73, 0xa6, 0xe1, 0x07, - 0xf0, 0xd8, 0xe1, 0x95, 0x67, 0x7e, 0x11, 0xff, 0x88, 0xd1, 0x9d, 0xa4, 0xd8, 0x90, 0x42, 0x1c, - 0x1e, 0x6f, 0xf7, 0xbe, 0x4f, 0xbb, 0xdf, 0x7e, 0xb7, 0x23, 0x38, 0x9a, 0x09, 0x31, 0x9b, 0xb3, - 0x26, 0x4d, 0x92, 0x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 0x0f, 0x02, - 0xb1, 0xb8, 0x01, 0xfe, 0xd8, 0x2c, 0x0a, 0x1e, 0xa5, 0xff, 0x00, 0x23, 0xe3, 0xdb, 0xaf, 0x32, - 0xd4, 0x4c, 0xcc, 0x29, 0x9f, 0x39, 0x22, 0x9e, 0x35, 0x67, 0x8c, 0xab, 0x3f, 0x84, 0xa6, 0x4e, - 0xd1, 0x28, 0x4c, 0xfe, 0xed, 0xe7, 0xe5, 0x28, 0x8f, 0xbc, 0xbc, 0xab, 0x60, 0x87, 0x7f, 0x05, - 0x00, 0x00, 0xff, 0xff, 0xec, 0x7a, 0x68, 0xfa, 0xf2, 0x08, 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 - -// EmbeddedAssistantClient is the client API for EmbeddedAssistant service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type EmbeddedAssistantClient interface { - // Initiates or continues a conversation with the embedded assistant service. - // Each call performs one round-trip, sending an audio request to the service - // and receiving the audio response. Uses bidirectional streaming to receive - // results, such as the `END_OF_UTTERANCE` event, while sending audio. - // - // A conversation is one or more gRPC connections, each consisting of several - // streamed requests and responses. - // For example, the user says *Add to my shopping list* and the assistant - // responds *What do you want to add?*. The sequence of streamed requests and - // responses in the first gRPC message could be: - // - // * ConverseRequest.config - // * ConverseRequest.audio_in - // * ConverseRequest.audio_in - // * ConverseRequest.audio_in - // * ConverseRequest.audio_in - // * ConverseResponse.event_type.END_OF_UTTERANCE - // * ConverseResponse.result.microphone_mode.DIALOG_FOLLOW_ON - // * ConverseResponse.audio_out - // * ConverseResponse.audio_out - // * ConverseResponse.audio_out - // - // The user then says *bagels* and the assistant responds - // *OK, I've added bagels to your shopping list*. This is sent as another gRPC - // connection call to the `Converse` method, again with streamed requests and - // responses, such as: - // - // * ConverseRequest.config - // * ConverseRequest.audio_in - // * ConverseRequest.audio_in - // * ConverseRequest.audio_in - // * ConverseResponse.event_type.END_OF_UTTERANCE - // * ConverseResponse.result.microphone_mode.CLOSE_MICROPHONE - // * ConverseResponse.audio_out - // * ConverseResponse.audio_out - // * ConverseResponse.audio_out - // * ConverseResponse.audio_out - // - // Although the precise order of responses is not guaranteed, sequential - // ConverseResponse.audio_out messages will always contain sequential portions - // of audio. - Converse(ctx context.Context, opts ...grpc.CallOption) (EmbeddedAssistant_ConverseClient, error) -} - -type embeddedAssistantClient struct { - cc *grpc.ClientConn -} - -func NewEmbeddedAssistantClient(cc *grpc.ClientConn) EmbeddedAssistantClient { - return &embeddedAssistantClient{cc} -} - -func (c *embeddedAssistantClient) Converse(ctx context.Context, opts ...grpc.CallOption) (EmbeddedAssistant_ConverseClient, error) { - stream, err := c.cc.NewStream(ctx, &_EmbeddedAssistant_serviceDesc.Streams[0], "/google.assistant.embedded.v1alpha1.EmbeddedAssistant/Converse", opts...) - if err != nil { - return nil, err - } - x := &embeddedAssistantConverseClient{stream} - return x, nil -} - -type EmbeddedAssistant_ConverseClient interface { - Send(*ConverseRequest) error - Recv() (*ConverseResponse, error) - grpc.ClientStream -} - -type embeddedAssistantConverseClient struct { - grpc.ClientStream -} - -func (x *embeddedAssistantConverseClient) Send(m *ConverseRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *embeddedAssistantConverseClient) Recv() (*ConverseResponse, error) { - m := new(ConverseResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// EmbeddedAssistantServer is the server API for EmbeddedAssistant service. -type EmbeddedAssistantServer interface { - // Initiates or continues a conversation with the embedded assistant service. - // Each call performs one round-trip, sending an audio request to the service - // and receiving the audio response. Uses bidirectional streaming to receive - // results, such as the `END_OF_UTTERANCE` event, while sending audio. - // - // A conversation is one or more gRPC connections, each consisting of several - // streamed requests and responses. - // For example, the user says *Add to my shopping list* and the assistant - // responds *What do you want to add?*. The sequence of streamed requests and - // responses in the first gRPC message could be: - // - // * ConverseRequest.config - // * ConverseRequest.audio_in - // * ConverseRequest.audio_in - // * ConverseRequest.audio_in - // * ConverseRequest.audio_in - // * ConverseResponse.event_type.END_OF_UTTERANCE - // * ConverseResponse.result.microphone_mode.DIALOG_FOLLOW_ON - // * ConverseResponse.audio_out - // * ConverseResponse.audio_out - // * ConverseResponse.audio_out - // - // The user then says *bagels* and the assistant responds - // *OK, I've added bagels to your shopping list*. This is sent as another gRPC - // connection call to the `Converse` method, again with streamed requests and - // responses, such as: - // - // * ConverseRequest.config - // * ConverseRequest.audio_in - // * ConverseRequest.audio_in - // * ConverseRequest.audio_in - // * ConverseResponse.event_type.END_OF_UTTERANCE - // * ConverseResponse.result.microphone_mode.CLOSE_MICROPHONE - // * ConverseResponse.audio_out - // * ConverseResponse.audio_out - // * ConverseResponse.audio_out - // * ConverseResponse.audio_out - // - // Although the precise order of responses is not guaranteed, sequential - // ConverseResponse.audio_out messages will always contain sequential portions - // of audio. - Converse(EmbeddedAssistant_ConverseServer) error -} - -// UnimplementedEmbeddedAssistantServer can be embedded to have forward compatible implementations. -type UnimplementedEmbeddedAssistantServer struct { -} - -func (*UnimplementedEmbeddedAssistantServer) Converse(srv EmbeddedAssistant_ConverseServer) error { - return status1.Errorf(codes.Unimplemented, "method Converse not implemented") -} - -func RegisterEmbeddedAssistantServer(s *grpc.Server, srv EmbeddedAssistantServer) { - s.RegisterService(&_EmbeddedAssistant_serviceDesc, srv) -} - -func _EmbeddedAssistant_Converse_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(EmbeddedAssistantServer).Converse(&embeddedAssistantConverseServer{stream}) -} - -type EmbeddedAssistant_ConverseServer interface { - Send(*ConverseResponse) error - Recv() (*ConverseRequest, error) - grpc.ServerStream -} - -type embeddedAssistantConverseServer struct { - grpc.ServerStream -} - -func (x *embeddedAssistantConverseServer) Send(m *ConverseResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *embeddedAssistantConverseServer) Recv() (*ConverseRequest, error) { - m := new(ConverseRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -var _EmbeddedAssistant_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.assistant.embedded.v1alpha1.EmbeddedAssistant", - HandlerType: (*EmbeddedAssistantServer)(nil), - Methods: []grpc.MethodDesc{}, - Streams: []grpc.StreamDesc{ - { - StreamName: "Converse", - Handler: _EmbeddedAssistant_Converse_Handler, - ServerStreams: true, - ClientStreams: true, - }, - }, - Metadata: "google/assistant/embedded/v1alpha1/embedded_assistant.proto", -} 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 deleted file mode 100644 index a11e2735..00000000 --- a/vendor/google.golang.org/genproto/googleapis/assistant/embedded/v1alpha2/embedded_assistant.pb.go +++ /dev/null @@ -1,1641 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/assistant/embedded/v1alpha2/embedded_assistant.proto - -package embedded - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - latlng "google.golang.org/genproto/googleapis/type/latlng" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Indicates the type of event. -type AssistResponse_EventType int32 - -const ( - // No event specified. - AssistResponse_EVENT_TYPE_UNSPECIFIED AssistResponse_EventType = 0 - // This event indicates that the server has detected the end of the user's - // speech utterance and expects no additional speech. Therefore, the server - // will not process additional audio (although it may subsequently return - // additional results). The client should stop sending additional audio - // data, half-close the gRPC connection, and wait for any additional results - // until the server closes the gRPC connection. - AssistResponse_END_OF_UTTERANCE AssistResponse_EventType = 1 -) - -var AssistResponse_EventType_name = map[int32]string{ - 0: "EVENT_TYPE_UNSPECIFIED", - 1: "END_OF_UTTERANCE", -} - -var AssistResponse_EventType_value = map[string]int32{ - "EVENT_TYPE_UNSPECIFIED": 0, - "END_OF_UTTERANCE": 1, -} - -func (x AssistResponse_EventType) String() string { - return proto.EnumName(AssistResponse_EventType_name, int32(x)) -} - -func (AssistResponse_EventType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a514007bdf931c71, []int{1, 0} -} - -// Audio encoding of the data sent in the audio message. -// Audio must be one-channel (mono). -type AudioInConfig_Encoding int32 - -const ( - // Not specified. Will return result [google.rpc.Code.INVALID_ARGUMENT][]. - AudioInConfig_ENCODING_UNSPECIFIED AudioInConfig_Encoding = 0 - // Uncompressed 16-bit signed little-endian samples (Linear PCM). - // This encoding includes no header, only the raw audio bytes. - AudioInConfig_LINEAR16 AudioInConfig_Encoding = 1 - // [`FLAC`](https://xiph.org/flac/documentation.html) (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`. This encoding - // includes the `FLAC` stream header followed by audio data. It supports - // 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` are - // supported. - AudioInConfig_FLAC AudioInConfig_Encoding = 2 -) - -var AudioInConfig_Encoding_name = map[int32]string{ - 0: "ENCODING_UNSPECIFIED", - 1: "LINEAR16", - 2: "FLAC", -} - -var AudioInConfig_Encoding_value = map[string]int32{ - "ENCODING_UNSPECIFIED": 0, - "LINEAR16": 1, - "FLAC": 2, -} - -func (x AudioInConfig_Encoding) String() string { - return proto.EnumName(AudioInConfig_Encoding_name, int32(x)) -} - -func (AudioInConfig_Encoding) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a514007bdf931c71, []int{4, 0} -} - -// Audio encoding of the data returned in the audio message. All encodings are -// raw audio bytes with no header, except as indicated below. -type AudioOutConfig_Encoding int32 - -const ( - // Not specified. Will return result [google.rpc.Code.INVALID_ARGUMENT][]. - AudioOutConfig_ENCODING_UNSPECIFIED AudioOutConfig_Encoding = 0 - // Uncompressed 16-bit signed little-endian samples (Linear PCM). - AudioOutConfig_LINEAR16 AudioOutConfig_Encoding = 1 - // MP3 audio encoding. The sample rate is encoded in the payload. - AudioOutConfig_MP3 AudioOutConfig_Encoding = 2 - // Opus-encoded audio wrapped in an ogg container. The result will be a - // file which can be played natively on Android and in some browsers (such - // as Chrome). The quality of the encoding is considerably higher than MP3 - // while using the same bitrate. The sample rate is encoded in the payload. - AudioOutConfig_OPUS_IN_OGG AudioOutConfig_Encoding = 3 -) - -var AudioOutConfig_Encoding_name = map[int32]string{ - 0: "ENCODING_UNSPECIFIED", - 1: "LINEAR16", - 2: "MP3", - 3: "OPUS_IN_OGG", -} - -var AudioOutConfig_Encoding_value = map[string]int32{ - "ENCODING_UNSPECIFIED": 0, - "LINEAR16": 1, - "MP3": 2, - "OPUS_IN_OGG": 3, -} - -func (x AudioOutConfig_Encoding) String() string { - return proto.EnumName(AudioOutConfig_Encoding_name, int32(x)) -} - -func (AudioOutConfig_Encoding) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a514007bdf931c71, []int{5, 0} -} - -// Possible modes for visual screen-output on the device. -type ScreenOutConfig_ScreenMode int32 - -const ( - // No video mode specified. - // The Assistant may respond as if in `OFF` mode. - ScreenOutConfig_SCREEN_MODE_UNSPECIFIED ScreenOutConfig_ScreenMode = 0 - // Screen is off (or has brightness or other settings set so low it is - // not visible). The Assistant will typically not return a screen response - // in this mode. - ScreenOutConfig_OFF ScreenOutConfig_ScreenMode = 1 - // The Assistant will typically return a partial-screen response in this - // mode. - ScreenOutConfig_PLAYING ScreenOutConfig_ScreenMode = 3 -) - -var ScreenOutConfig_ScreenMode_name = map[int32]string{ - 0: "SCREEN_MODE_UNSPECIFIED", - 1: "OFF", - 3: "PLAYING", -} - -var ScreenOutConfig_ScreenMode_value = map[string]int32{ - "SCREEN_MODE_UNSPECIFIED": 0, - "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_a514007bdf931c71, []int{6, 0} -} - -// Possible formats of the screen data. -type ScreenOut_Format int32 - -const ( - // No format specified. - ScreenOut_FORMAT_UNSPECIFIED ScreenOut_Format = 0 - // Data will contain a fully-formed HTML5 layout encoded in UTF-8, e.g. - // `
...
`. It is intended to be rendered - // along with the audio response. Note that HTML5 doctype should be included - // in the actual HTML data. - ScreenOut_HTML ScreenOut_Format = 1 -) - -var ScreenOut_Format_name = map[int32]string{ - 0: "FORMAT_UNSPECIFIED", - 1: "HTML", -} - -var ScreenOut_Format_value = map[string]int32{ - "FORMAT_UNSPECIFIED": 0, - "HTML": 1, -} - -func (x ScreenOut_Format) String() string { - return proto.EnumName(ScreenOut_Format_name, int32(x)) -} - -func (ScreenOut_Format) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a514007bdf931c71, []int{10, 0} -} - -// Possible states of the microphone after a `Assist` RPC completes. -type DialogStateOut_MicrophoneMode int32 - -const ( - // No mode specified. - DialogStateOut_MICROPHONE_MODE_UNSPECIFIED DialogStateOut_MicrophoneMode = 0 - // The service is not expecting a follow-on question from the user. - // The microphone should remain off until the user re-activates it. - DialogStateOut_CLOSE_MICROPHONE DialogStateOut_MicrophoneMode = 1 - // The service is expecting a follow-on question from the user. The - // microphone should be re-opened when the `AudioOut` playback completes - // (by starting a new `Assist` RPC call to send the new audio). - DialogStateOut_DIALOG_FOLLOW_ON DialogStateOut_MicrophoneMode = 2 -) - -var DialogStateOut_MicrophoneMode_name = map[int32]string{ - 0: "MICROPHONE_MODE_UNSPECIFIED", - 1: "CLOSE_MICROPHONE", - 2: "DIALOG_FOLLOW_ON", -} - -var DialogStateOut_MicrophoneMode_value = map[string]int32{ - "MICROPHONE_MODE_UNSPECIFIED": 0, - "CLOSE_MICROPHONE": 1, - "DIALOG_FOLLOW_ON": 2, -} - -func (x DialogStateOut_MicrophoneMode) String() string { - return proto.EnumName(DialogStateOut_MicrophoneMode_name, int32(x)) -} - -func (DialogStateOut_MicrophoneMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a514007bdf931c71, []int{13, 0} -} - -// The top-level message sent by the client. Clients must send at least two, and -// typically numerous `AssistRequest` messages. The first message must -// contain a `config` message and must not contain `audio_in` data. All -// subsequent messages must contain `audio_in` data and must not contain a -// `config` message. -type AssistRequest struct { - // Exactly one of these fields must be specified in each `AssistRequest`. - // - // Types that are valid to be assigned to Type: - // *AssistRequest_Config - // *AssistRequest_AudioIn - Type isAssistRequest_Type `protobuf_oneof:"type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a514007bdf931c71, []int{0} -} - -func (m *AssistRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AssistRequest.Unmarshal(m, b) -} -func (m *AssistRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AssistRequest.Marshal(b, m, deterministic) -} -func (m *AssistRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AssistRequest.Merge(m, src) -} -func (m *AssistRequest) XXX_Size() int { - return xxx_messageInfo_AssistRequest.Size(m) -} -func (m *AssistRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AssistRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AssistRequest proto.InternalMessageInfo - -type isAssistRequest_Type interface { - isAssistRequest_Type() -} - -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_AudioIn) isAssistRequest_Type() {} - -func (m *AssistRequest) GetType() isAssistRequest_Type { - if m != nil { - return m.Type - } - return nil -} - -func (m *AssistRequest) GetConfig() *AssistConfig { - if x, ok := m.GetType().(*AssistRequest_Config); ok { - return x.Config - } - return nil -} - -func (m *AssistRequest) GetAudioIn() []byte { - if x, ok := m.GetType().(*AssistRequest_AudioIn); ok { - return x.AudioIn - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AssistRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AssistRequest_Config)(nil), - (*AssistRequest_AudioIn)(nil), - } -} - -// The top-level message received by the client. A series of one or more -// `AssistResponse` messages are streamed back to the client. -type AssistResponse struct { - // *Output-only* Indicates the type of event. - EventType AssistResponse_EventType `protobuf:"varint,1,opt,name=event_type,json=eventType,proto3,enum=google.assistant.embedded.v1alpha2.AssistResponse_EventType" json:"event_type,omitempty"` - // *Output-only* The audio containing the Assistant's response to the query. - AudioOut *AudioOut `protobuf:"bytes,3,opt,name=audio_out,json=audioOut,proto3" json:"audio_out,omitempty"` - // *Output-only* Contains the Assistant's visual response to the query. - ScreenOut *ScreenOut `protobuf:"bytes,4,opt,name=screen_out,json=screenOut,proto3" json:"screen_out,omitempty"` - // *Output-only* Contains the action triggered by the query with the - // appropriate payloads and semantic parsing. - DeviceAction *DeviceAction `protobuf:"bytes,6,opt,name=device_action,json=deviceAction,proto3" json:"device_action,omitempty"` - // *Output-only* This repeated list contains zero or more speech recognition - // results that correspond to consecutive portions of the audio currently - // being processed, starting with the portion corresponding to the earliest - // audio (and most stable portion) to the portion corresponding to the most - // recent audio. The strings can be concatenated to view the full - // in-progress response. When the speech recognition completes, this list - // will contain one item with `stability` of `1.0`. - SpeechResults []*SpeechRecognitionResult `protobuf:"bytes,2,rep,name=speech_results,json=speechResults,proto3" json:"speech_results,omitempty"` - // *Output-only* Contains output related to the user's query. - DialogStateOut *DialogStateOut `protobuf:"bytes,5,opt,name=dialog_state_out,json=dialogStateOut,proto3" json:"dialog_state_out,omitempty"` - // *Output-only* Debugging info for developer. Only returned if request set - // `return_debug_info` to true. - DebugInfo *DebugInfo `protobuf:"bytes,8,opt,name=debug_info,json=debugInfo,proto3" json:"debug_info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a514007bdf931c71, []int{1} -} - -func (m *AssistResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AssistResponse.Unmarshal(m, b) -} -func (m *AssistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AssistResponse.Marshal(b, m, deterministic) -} -func (m *AssistResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AssistResponse.Merge(m, src) -} -func (m *AssistResponse) XXX_Size() int { - return xxx_messageInfo_AssistResponse.Size(m) -} -func (m *AssistResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AssistResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AssistResponse proto.InternalMessageInfo - -func (m *AssistResponse) GetEventType() AssistResponse_EventType { - if m != nil { - return m.EventType - } - return AssistResponse_EVENT_TYPE_UNSPECIFIED -} - -func (m *AssistResponse) GetAudioOut() *AudioOut { - if m != nil { - return m.AudioOut - } - return nil -} - -func (m *AssistResponse) GetScreenOut() *ScreenOut { - if m != nil { - return m.ScreenOut - } - return nil -} - -func (m *AssistResponse) GetDeviceAction() *DeviceAction { - if m != nil { - return m.DeviceAction - } - return nil -} - -func (m *AssistResponse) GetSpeechResults() []*SpeechRecognitionResult { - if m != nil { - return m.SpeechResults - } - return nil -} - -func (m *AssistResponse) GetDialogStateOut() *DialogStateOut { - if m != nil { - return m.DialogStateOut - } - return nil -} - -func (m *AssistResponse) GetDebugInfo() *DebugInfo { - if m != nil { - return m.DebugInfo - } - return nil -} - -// Debug info for developer. Only returned if request set `return_debug_info` -// to true. -type DebugInfo struct { - // The original JSON response from an Action-on-Google agent to Google server. - // See - // https://developers.google.com/actions/reference/rest/Shared.Types/AppResponse. - // It will only be populated if the request maker owns the AoG project and the - // AoG project is in preview mode. - AogAgentToAssistantJson string `protobuf:"bytes,1,opt,name=aog_agent_to_assistant_json,json=aogAgentToAssistantJson,proto3" json:"aog_agent_to_assistant_json,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a514007bdf931c71, []int{2} -} - -func (m *DebugInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DebugInfo.Unmarshal(m, b) -} -func (m *DebugInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DebugInfo.Marshal(b, m, deterministic) -} -func (m *DebugInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_DebugInfo.Merge(m, src) -} -func (m *DebugInfo) XXX_Size() int { - return xxx_messageInfo_DebugInfo.Size(m) -} -func (m *DebugInfo) XXX_DiscardUnknown() { - xxx_messageInfo_DebugInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_DebugInfo proto.InternalMessageInfo - -func (m *DebugInfo) GetAogAgentToAssistantJson() string { - if m != nil { - return m.AogAgentToAssistantJson - } - return "" -} - -// Specifies how to process the `AssistRequest` messages. -type AssistConfig struct { - // Types that are valid to be assigned to Type: - // *AssistConfig_AudioInConfig - // *AssistConfig_TextQuery - Type isAssistConfig_Type `protobuf_oneof:"type"` - // *Required* Specifies how to format the audio that will be returned. - AudioOutConfig *AudioOutConfig `protobuf:"bytes,2,opt,name=audio_out_config,json=audioOutConfig,proto3" json:"audio_out_config,omitempty"` - // *Optional* Specifies the desired format to use when server returns a - // visual screen response. - ScreenOutConfig *ScreenOutConfig `protobuf:"bytes,8,opt,name=screen_out_config,json=screenOutConfig,proto3" json:"screen_out_config,omitempty"` - // *Required* Represents the current dialog state. - DialogStateIn *DialogStateIn `protobuf:"bytes,3,opt,name=dialog_state_in,json=dialogStateIn,proto3" json:"dialog_state_in,omitempty"` - // Device configuration that uniquely identifies a specific device. - DeviceConfig *DeviceConfig `protobuf:"bytes,4,opt,name=device_config,json=deviceConfig,proto3" json:"device_config,omitempty"` - // *Optional* Debugging parameters for the whole `Assist` RPC. - DebugConfig *DebugConfig `protobuf:"bytes,5,opt,name=debug_config,json=debugConfig,proto3" json:"debug_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a514007bdf931c71, []int{3} -} - -func (m *AssistConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AssistConfig.Unmarshal(m, b) -} -func (m *AssistConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AssistConfig.Marshal(b, m, deterministic) -} -func (m *AssistConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_AssistConfig.Merge(m, src) -} -func (m *AssistConfig) XXX_Size() int { - return xxx_messageInfo_AssistConfig.Size(m) -} -func (m *AssistConfig) XXX_DiscardUnknown() { - xxx_messageInfo_AssistConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_AssistConfig proto.InternalMessageInfo - -type isAssistConfig_Type interface { - isAssistConfig_Type() -} - -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 (m *AssistConfig) GetType() isAssistConfig_Type { - if m != nil { - return m.Type - } - return nil -} - -func (m *AssistConfig) GetAudioInConfig() *AudioInConfig { - if x, ok := m.GetType().(*AssistConfig_AudioInConfig); ok { - return x.AudioInConfig - } - return nil -} - -func (m *AssistConfig) GetTextQuery() string { - if x, ok := m.GetType().(*AssistConfig_TextQuery); ok { - return x.TextQuery - } - return "" -} - -func (m *AssistConfig) GetAudioOutConfig() *AudioOutConfig { - if m != nil { - return m.AudioOutConfig - } - return nil -} - -func (m *AssistConfig) GetScreenOutConfig() *ScreenOutConfig { - if m != nil { - return m.ScreenOutConfig - } - return nil -} - -func (m *AssistConfig) GetDialogStateIn() *DialogStateIn { - if m != nil { - return m.DialogStateIn - } - return nil -} - -func (m *AssistConfig) GetDeviceConfig() *DeviceConfig { - if m != nil { - return m.DeviceConfig - } - return nil -} - -func (m *AssistConfig) GetDebugConfig() *DebugConfig { - if m != nil { - return m.DebugConfig - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AssistConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AssistConfig_AudioInConfig)(nil), - (*AssistConfig_TextQuery)(nil), - } -} - -// Specifies how to process the `audio_in` data that will be provided in -// subsequent requests. For recommended settings, see the Google Assistant SDK -// [best -// practices](https://developers.google.com/assistant/sdk/guides/service/python/best-practices/audio). -type AudioInConfig struct { - // *Required* Encoding of audio data sent in all `audio_in` messages. - Encoding AudioInConfig_Encoding `protobuf:"varint,1,opt,name=encoding,proto3,enum=google.assistant.embedded.v1alpha2.AudioInConfig_Encoding" json:"encoding,omitempty"` - // *Required* Sample rate (in Hertz) of the audio data sent in all `audio_in` - // messages. Valid values are from 16000-24000, but 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). - SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a514007bdf931c71, []int{4} -} - -func (m *AudioInConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AudioInConfig.Unmarshal(m, b) -} -func (m *AudioInConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AudioInConfig.Marshal(b, m, deterministic) -} -func (m *AudioInConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_AudioInConfig.Merge(m, src) -} -func (m *AudioInConfig) XXX_Size() int { - return xxx_messageInfo_AudioInConfig.Size(m) -} -func (m *AudioInConfig) XXX_DiscardUnknown() { - xxx_messageInfo_AudioInConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_AudioInConfig proto.InternalMessageInfo - -func (m *AudioInConfig) GetEncoding() AudioInConfig_Encoding { - if m != nil { - return m.Encoding - } - return AudioInConfig_ENCODING_UNSPECIFIED -} - -func (m *AudioInConfig) GetSampleRateHertz() int32 { - if m != nil { - return m.SampleRateHertz - } - return 0 -} - -// Specifies the desired format for the server to use when it returns -// `audio_out` messages. -type AudioOutConfig struct { - // *Required* The encoding of audio data to be returned in all `audio_out` - // messages. - Encoding AudioOutConfig_Encoding `protobuf:"varint,1,opt,name=encoding,proto3,enum=google.assistant.embedded.v1alpha2.AudioOutConfig_Encoding" json:"encoding,omitempty"` - // *Required* The sample rate in Hertz of the audio data returned in - // `audio_out` messages. Valid values are: 16000-24000. - SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"` - // *Required* Current volume setting of the device's audio output. - // Valid values are 1 to 100 (corresponding to 1% to 100%). - VolumePercentage int32 `protobuf:"varint,3,opt,name=volume_percentage,json=volumePercentage,proto3" json:"volume_percentage,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a514007bdf931c71, []int{5} -} - -func (m *AudioOutConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AudioOutConfig.Unmarshal(m, b) -} -func (m *AudioOutConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AudioOutConfig.Marshal(b, m, deterministic) -} -func (m *AudioOutConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_AudioOutConfig.Merge(m, src) -} -func (m *AudioOutConfig) XXX_Size() int { - return xxx_messageInfo_AudioOutConfig.Size(m) -} -func (m *AudioOutConfig) XXX_DiscardUnknown() { - xxx_messageInfo_AudioOutConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_AudioOutConfig proto.InternalMessageInfo - -func (m *AudioOutConfig) GetEncoding() AudioOutConfig_Encoding { - if m != nil { - return m.Encoding - } - return AudioOutConfig_ENCODING_UNSPECIFIED -} - -func (m *AudioOutConfig) GetSampleRateHertz() int32 { - if m != nil { - return m.SampleRateHertz - } - return 0 -} - -func (m *AudioOutConfig) GetVolumePercentage() int32 { - if m != nil { - return m.VolumePercentage - } - return 0 -} - -// Specifies the desired format for the server to use when it returns -// `screen_out` response. -type ScreenOutConfig struct { - // Current visual screen-mode for the device while issuing the query. - ScreenMode ScreenOutConfig_ScreenMode `protobuf:"varint,1,opt,name=screen_mode,json=screenMode,proto3,enum=google.assistant.embedded.v1alpha2.ScreenOutConfig_ScreenMode" json:"screen_mode,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a514007bdf931c71, []int{6} -} - -func (m *ScreenOutConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ScreenOutConfig.Unmarshal(m, b) -} -func (m *ScreenOutConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ScreenOutConfig.Marshal(b, m, deterministic) -} -func (m *ScreenOutConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ScreenOutConfig.Merge(m, src) -} -func (m *ScreenOutConfig) XXX_Size() int { - return xxx_messageInfo_ScreenOutConfig.Size(m) -} -func (m *ScreenOutConfig) XXX_DiscardUnknown() { - xxx_messageInfo_ScreenOutConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_ScreenOutConfig proto.InternalMessageInfo - -func (m *ScreenOutConfig) GetScreenMode() ScreenOutConfig_ScreenMode { - if m != nil { - return m.ScreenMode - } - return ScreenOutConfig_SCREEN_MODE_UNSPECIFIED -} - -// Provides information about the current dialog state. -type DialogStateIn struct { - // *Required* This field must always be set to the - // [DialogStateOut.conversation_state][google.assistant.embedded.v1alpha2.DialogStateOut.conversation_state] - // value that was returned in the prior `Assist` RPC. It should only be - // omitted (field not set) if there was no prior `Assist` RPC because this is - // the first `Assist` RPC made by this device after it was first setup and/or - // a factory-default reset. - ConversationState []byte `protobuf:"bytes,1,opt,name=conversation_state,json=conversationState,proto3" json:"conversation_state,omitempty"` - // *Required* Language of the request in - // [IETF BCP 47 syntax](https://tools.ietf.org/html/bcp47) (for example, - // "en-US"). See [Language - // Support](https://developers.google.com/assistant/sdk/reference/rpc/languages) - // for more information. If you have selected a language for this `device_id` - // using the - // [Settings](https://developers.google.com/assistant/sdk/reference/assistant-app/assistant-settings) - // menu in your phone's Google Assistant app, that selection will override - // this value. - LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // *Optional* Location of the device where the query originated. - DeviceLocation *DeviceLocation `protobuf:"bytes,5,opt,name=device_location,json=deviceLocation,proto3" json:"device_location,omitempty"` - // *Optional* If true, the server will treat the request as a new conversation - // and not use state from the prior request. Set this field to true when the - // conversation should be restarted, such as after a device reboot, or after a - // significant lapse of time since the prior query. - IsNewConversation bool `protobuf:"varint,7,opt,name=is_new_conversation,json=isNewConversation,proto3" json:"is_new_conversation,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a514007bdf931c71, []int{7} -} - -func (m *DialogStateIn) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DialogStateIn.Unmarshal(m, b) -} -func (m *DialogStateIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DialogStateIn.Marshal(b, m, deterministic) -} -func (m *DialogStateIn) XXX_Merge(src proto.Message) { - xxx_messageInfo_DialogStateIn.Merge(m, src) -} -func (m *DialogStateIn) XXX_Size() int { - return xxx_messageInfo_DialogStateIn.Size(m) -} -func (m *DialogStateIn) XXX_DiscardUnknown() { - xxx_messageInfo_DialogStateIn.DiscardUnknown(m) -} - -var xxx_messageInfo_DialogStateIn proto.InternalMessageInfo - -func (m *DialogStateIn) GetConversationState() []byte { - if m != nil { - return m.ConversationState - } - return nil -} - -func (m *DialogStateIn) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *DialogStateIn) GetDeviceLocation() *DeviceLocation { - if m != nil { - return m.DeviceLocation - } - return nil -} - -func (m *DialogStateIn) GetIsNewConversation() bool { - if m != nil { - return m.IsNewConversation - } - return false -} - -// *Required* Fields that identify the device to the Assistant. -// -// See also: -// -// * [Register a Device - REST -// API](https://developers.google.com/assistant/sdk/reference/device-registration/register-device-manual) -// * [Device Model and Instance -// Schemas](https://developers.google.com/assistant/sdk/reference/device-registration/model-and-instance-schemas) -// * [Device -// Proto](https://developers.google.com/assistant/sdk/reference/rpc/google.assistant.devices.v1alpha2#device) -type DeviceConfig struct { - // *Required* Unique identifier for the device. The id length must be 128 - // characters or less. Example: DBCDW098234. This MUST match the device_id - // returned from device registration. This device_id is used to match against - // the user's registered devices to lookup the supported traits and - // capabilities of this device. This information should not change across - // device reboots. However, it should not be saved across - // factory-default resets. - DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` - // *Required* Unique identifier for the device model. The combination of - // device_model_id and device_id must have been previously associated through - // device registration. - DeviceModelId string `protobuf:"bytes,3,opt,name=device_model_id,json=deviceModelId,proto3" json:"device_model_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a514007bdf931c71, []int{8} -} - -func (m *DeviceConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeviceConfig.Unmarshal(m, b) -} -func (m *DeviceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeviceConfig.Marshal(b, m, deterministic) -} -func (m *DeviceConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeviceConfig.Merge(m, src) -} -func (m *DeviceConfig) XXX_Size() int { - return xxx_messageInfo_DeviceConfig.Size(m) -} -func (m *DeviceConfig) XXX_DiscardUnknown() { - xxx_messageInfo_DeviceConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_DeviceConfig proto.InternalMessageInfo - -func (m *DeviceConfig) GetDeviceId() string { - if m != nil { - return m.DeviceId - } - return "" -} - -func (m *DeviceConfig) GetDeviceModelId() string { - if m != nil { - return m.DeviceModelId - } - return "" -} - -// The audio containing the Assistant's response to the query. Sequential chunks -// of audio data are received in sequential `AssistResponse` messages. -type AudioOut struct { - // *Output-only* The audio data containing the Assistant's response to the - // query. Sequential chunks of audio data are received in sequential - // `AssistResponse` messages. - AudioData []byte `protobuf:"bytes,1,opt,name=audio_data,json=audioData,proto3" json:"audio_data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a514007bdf931c71, []int{9} -} - -func (m *AudioOut) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AudioOut.Unmarshal(m, b) -} -func (m *AudioOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AudioOut.Marshal(b, m, deterministic) -} -func (m *AudioOut) XXX_Merge(src proto.Message) { - xxx_messageInfo_AudioOut.Merge(m, src) -} -func (m *AudioOut) XXX_Size() int { - return xxx_messageInfo_AudioOut.Size(m) -} -func (m *AudioOut) XXX_DiscardUnknown() { - xxx_messageInfo_AudioOut.DiscardUnknown(m) -} - -var xxx_messageInfo_AudioOut proto.InternalMessageInfo - -func (m *AudioOut) GetAudioData() []byte { - if m != nil { - return m.AudioData - } - return nil -} - -// The Assistant's visual output response to query. Enabled by -// `screen_out_config`. -type ScreenOut struct { - // *Output-only* The format of the provided screen data. - Format ScreenOut_Format `protobuf:"varint,1,opt,name=format,proto3,enum=google.assistant.embedded.v1alpha2.ScreenOut_Format" json:"format,omitempty"` - // *Output-only* The raw screen data to be displayed as the result of the - // Assistant query. - Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a514007bdf931c71, []int{10} -} - -func (m *ScreenOut) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ScreenOut.Unmarshal(m, b) -} -func (m *ScreenOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ScreenOut.Marshal(b, m, deterministic) -} -func (m *ScreenOut) XXX_Merge(src proto.Message) { - xxx_messageInfo_ScreenOut.Merge(m, src) -} -func (m *ScreenOut) XXX_Size() int { - return xxx_messageInfo_ScreenOut.Size(m) -} -func (m *ScreenOut) XXX_DiscardUnknown() { - xxx_messageInfo_ScreenOut.DiscardUnknown(m) -} - -var xxx_messageInfo_ScreenOut proto.InternalMessageInfo - -func (m *ScreenOut) GetFormat() ScreenOut_Format { - if m != nil { - return m.Format - } - return ScreenOut_FORMAT_UNSPECIFIED -} - -func (m *ScreenOut) GetData() []byte { - if m != nil { - return m.Data - } - return nil -} - -// The response returned to the device if the user has triggered a Device -// Action. For example, a device which supports the query *Turn on the light* -// would receive a `DeviceAction` with a JSON payload containing the semantics -// of the request. -type DeviceAction struct { - // JSON containing the device command response generated from the triggered - // Device Action grammar. The format is given by the - // `action.devices.EXECUTE` intent for a given - // [trait](https://developers.google.com/assistant/sdk/reference/traits/). - DeviceRequestJson string `protobuf:"bytes,1,opt,name=device_request_json,json=deviceRequestJson,proto3" json:"device_request_json,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a514007bdf931c71, []int{11} -} - -func (m *DeviceAction) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeviceAction.Unmarshal(m, b) -} -func (m *DeviceAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeviceAction.Marshal(b, m, deterministic) -} -func (m *DeviceAction) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeviceAction.Merge(m, src) -} -func (m *DeviceAction) XXX_Size() int { - return xxx_messageInfo_DeviceAction.Size(m) -} -func (m *DeviceAction) XXX_DiscardUnknown() { - xxx_messageInfo_DeviceAction.DiscardUnknown(m) -} - -var xxx_messageInfo_DeviceAction proto.InternalMessageInfo - -func (m *DeviceAction) GetDeviceRequestJson() string { - if m != nil { - return m.DeviceRequestJson - } - return "" -} - -// The estimated transcription of a phrase the user has spoken. This could be -// a single segment or the full guess of the user's spoken query. -type SpeechRecognitionResult struct { - // *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* An estimate of the likelihood that the Assistant will not - // change its guess about this result. Values range from 0.0 (completely - // unstable) to 1.0 (completely stable and final). The default of 0.0 is a - // sentinel value indicating `stability` was not set. - Stability float32 `protobuf:"fixed32,2,opt,name=stability,proto3" json:"stability,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a514007bdf931c71, []int{12} -} - -func (m *SpeechRecognitionResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SpeechRecognitionResult.Unmarshal(m, b) -} -func (m *SpeechRecognitionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SpeechRecognitionResult.Marshal(b, m, deterministic) -} -func (m *SpeechRecognitionResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpeechRecognitionResult.Merge(m, src) -} -func (m *SpeechRecognitionResult) XXX_Size() int { - return xxx_messageInfo_SpeechRecognitionResult.Size(m) -} -func (m *SpeechRecognitionResult) XXX_DiscardUnknown() { - xxx_messageInfo_SpeechRecognitionResult.DiscardUnknown(m) -} - -var xxx_messageInfo_SpeechRecognitionResult proto.InternalMessageInfo - -func (m *SpeechRecognitionResult) GetTranscript() string { - if m != nil { - return m.Transcript - } - return "" -} - -func (m *SpeechRecognitionResult) GetStability() float32 { - if m != nil { - return m.Stability - } - return 0 -} - -// The dialog state resulting from the user's query. Multiple of these messages -// may be received. -type DialogStateOut struct { - // *Output-only* Supplemental display text from the Assistant. This could be - // the same as the speech spoken in `AssistResponse.audio_out` or it could - // be some additional information which aids the user's understanding. - SupplementalDisplayText string `protobuf:"bytes,1,opt,name=supplemental_display_text,json=supplementalDisplayText,proto3" json:"supplemental_display_text,omitempty"` - // *Output-only* State information for the subsequent `Assist` RPC. This - // value should be saved in the client and returned in the - // [`DialogStateIn.conversation_state`](#dialogstatein) field with the next - // `Assist` RPC. (The client does not need to interpret or otherwise use this - // value.) This information should be saved across device reboots. However, - // this value should be cleared (not saved in the client) during a - // factory-default reset. - ConversationState []byte `protobuf:"bytes,2,opt,name=conversation_state,json=conversationState,proto3" json:"conversation_state,omitempty"` - // *Output-only* Specifies the mode of the microphone after this `Assist` - // RPC is processed. - MicrophoneMode DialogStateOut_MicrophoneMode `protobuf:"varint,3,opt,name=microphone_mode,json=microphoneMode,proto3,enum=google.assistant.embedded.v1alpha2.DialogStateOut_MicrophoneMode" json:"microphone_mode,omitempty"` - // *Output-only* Updated volume level. The value will be 0 or omitted - // (indicating no change) unless a voice command such as *Increase the volume* - // or *Set volume level 4* was recognized, in which case the value will be - // between 1 and 100 (corresponding to the new volume level of 1% to 100%). - // Typically, a client should use this volume level when playing the - // `audio_out` data, and retain this value as the current volume level and - // supply it in the `AudioOutConfig` of the next `AssistRequest`. (Some - // clients may also implement other ways to allow the current volume level to - // be changed, for example, by providing a knob that the user can turn.) - VolumePercentage int32 `protobuf:"varint,4,opt,name=volume_percentage,json=volumePercentage,proto3" json:"volume_percentage,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a514007bdf931c71, []int{13} -} - -func (m *DialogStateOut) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DialogStateOut.Unmarshal(m, b) -} -func (m *DialogStateOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DialogStateOut.Marshal(b, m, deterministic) -} -func (m *DialogStateOut) XXX_Merge(src proto.Message) { - xxx_messageInfo_DialogStateOut.Merge(m, src) -} -func (m *DialogStateOut) XXX_Size() int { - return xxx_messageInfo_DialogStateOut.Size(m) -} -func (m *DialogStateOut) XXX_DiscardUnknown() { - xxx_messageInfo_DialogStateOut.DiscardUnknown(m) -} - -var xxx_messageInfo_DialogStateOut proto.InternalMessageInfo - -func (m *DialogStateOut) GetSupplementalDisplayText() string { - if m != nil { - return m.SupplementalDisplayText - } - return "" -} - -func (m *DialogStateOut) GetConversationState() []byte { - if m != nil { - return m.ConversationState - } - return nil -} - -func (m *DialogStateOut) GetMicrophoneMode() DialogStateOut_MicrophoneMode { - if m != nil { - return m.MicrophoneMode - } - return DialogStateOut_MICROPHONE_MODE_UNSPECIFIED -} - -func (m *DialogStateOut) GetVolumePercentage() int32 { - if m != nil { - return m.VolumePercentage - } - return 0 -} - -// Debugging parameters for the current request. -type DebugConfig struct { - // When this field is set to true, the `debug_info` field in `AssistResponse` - // may be populated. However it will significantly increase latency of - // responses. Do not set this field true in production code. - ReturnDebugInfo bool `protobuf:"varint,6,opt,name=return_debug_info,json=returnDebugInfo,proto3" json:"return_debug_info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a514007bdf931c71, []int{14} -} - -func (m *DebugConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DebugConfig.Unmarshal(m, b) -} -func (m *DebugConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DebugConfig.Marshal(b, m, deterministic) -} -func (m *DebugConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_DebugConfig.Merge(m, src) -} -func (m *DebugConfig) XXX_Size() int { - return xxx_messageInfo_DebugConfig.Size(m) -} -func (m *DebugConfig) XXX_DiscardUnknown() { - xxx_messageInfo_DebugConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_DebugConfig proto.InternalMessageInfo - -func (m *DebugConfig) GetReturnDebugInfo() bool { - if m != nil { - return m.ReturnDebugInfo - } - return false -} - -// There are three sources of locations. They are used with this precedence: -// -// 1. This `DeviceLocation`, which is primarily used for mobile devices with -// GPS . -// 2. Location specified by the user during device setup; this is per-user, per -// device. This location is used if `DeviceLocation` is not specified. -// 3. Inferred location based on IP address. This is used only if neither of the -// above are specified. -type DeviceLocation struct { - // Types that are valid to be assigned to Type: - // *DeviceLocation_Coordinates - Type isDeviceLocation_Type `protobuf_oneof:"type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a514007bdf931c71, []int{15} -} - -func (m *DeviceLocation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeviceLocation.Unmarshal(m, b) -} -func (m *DeviceLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeviceLocation.Marshal(b, m, deterministic) -} -func (m *DeviceLocation) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeviceLocation.Merge(m, src) -} -func (m *DeviceLocation) XXX_Size() int { - return xxx_messageInfo_DeviceLocation.Size(m) -} -func (m *DeviceLocation) XXX_DiscardUnknown() { - xxx_messageInfo_DeviceLocation.DiscardUnknown(m) -} - -var xxx_messageInfo_DeviceLocation proto.InternalMessageInfo - -type isDeviceLocation_Type interface { - isDeviceLocation_Type() -} - -type DeviceLocation_Coordinates struct { - Coordinates *latlng.LatLng `protobuf:"bytes,1,opt,name=coordinates,proto3,oneof"` -} - -func (*DeviceLocation_Coordinates) isDeviceLocation_Type() {} - -func (m *DeviceLocation) GetType() isDeviceLocation_Type { - if m != nil { - return m.Type - } - return nil -} - -func (m *DeviceLocation) GetCoordinates() *latlng.LatLng { - if x, ok := m.GetType().(*DeviceLocation_Coordinates); ok { - return x.Coordinates - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*DeviceLocation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*DeviceLocation_Coordinates)(nil), - } -} - -func init() { - proto.RegisterEnum("google.assistant.embedded.v1alpha2.AssistResponse_EventType", AssistResponse_EventType_name, AssistResponse_EventType_value) - proto.RegisterEnum("google.assistant.embedded.v1alpha2.AudioInConfig_Encoding", AudioInConfig_Encoding_name, AudioInConfig_Encoding_value) - proto.RegisterEnum("google.assistant.embedded.v1alpha2.AudioOutConfig_Encoding", AudioOutConfig_Encoding_name, AudioOutConfig_Encoding_value) - proto.RegisterEnum("google.assistant.embedded.v1alpha2.ScreenOutConfig_ScreenMode", ScreenOutConfig_ScreenMode_name, ScreenOutConfig_ScreenMode_value) - proto.RegisterEnum("google.assistant.embedded.v1alpha2.ScreenOut_Format", ScreenOut_Format_name, ScreenOut_Format_value) - proto.RegisterEnum("google.assistant.embedded.v1alpha2.DialogStateOut_MicrophoneMode", DialogStateOut_MicrophoneMode_name, DialogStateOut_MicrophoneMode_value) - proto.RegisterType((*AssistRequest)(nil), "google.assistant.embedded.v1alpha2.AssistRequest") - proto.RegisterType((*AssistResponse)(nil), "google.assistant.embedded.v1alpha2.AssistResponse") - proto.RegisterType((*DebugInfo)(nil), "google.assistant.embedded.v1alpha2.DebugInfo") - proto.RegisterType((*AssistConfig)(nil), "google.assistant.embedded.v1alpha2.AssistConfig") - proto.RegisterType((*AudioInConfig)(nil), "google.assistant.embedded.v1alpha2.AudioInConfig") - proto.RegisterType((*AudioOutConfig)(nil), "google.assistant.embedded.v1alpha2.AudioOutConfig") - proto.RegisterType((*ScreenOutConfig)(nil), "google.assistant.embedded.v1alpha2.ScreenOutConfig") - proto.RegisterType((*DialogStateIn)(nil), "google.assistant.embedded.v1alpha2.DialogStateIn") - proto.RegisterType((*DeviceConfig)(nil), "google.assistant.embedded.v1alpha2.DeviceConfig") - proto.RegisterType((*AudioOut)(nil), "google.assistant.embedded.v1alpha2.AudioOut") - proto.RegisterType((*ScreenOut)(nil), "google.assistant.embedded.v1alpha2.ScreenOut") - proto.RegisterType((*DeviceAction)(nil), "google.assistant.embedded.v1alpha2.DeviceAction") - proto.RegisterType((*SpeechRecognitionResult)(nil), "google.assistant.embedded.v1alpha2.SpeechRecognitionResult") - proto.RegisterType((*DialogStateOut)(nil), "google.assistant.embedded.v1alpha2.DialogStateOut") - proto.RegisterType((*DebugConfig)(nil), "google.assistant.embedded.v1alpha2.DebugConfig") - proto.RegisterType((*DeviceLocation)(nil), "google.assistant.embedded.v1alpha2.DeviceLocation") -} - -func init() { - proto.RegisterFile("google/assistant/embedded/v1alpha2/embedded_assistant.proto", fileDescriptor_a514007bdf931c71) -} - -var fileDescriptor_a514007bdf931c71 = []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, - 0xe3, 0x51, 0xdd, 0x9a, 0xb4, 0xe8, 0x4e, 0x3b, 0xb5, 0x5c, 0x77, 0x68, 0x12, 0x94, 0xe0, 0x52, - 0x04, 0x0d, 0x52, 0xf6, 0xb8, 0x6e, 0x07, 0xb3, 0x22, 0x56, 0x10, 0x3c, 0xe0, 0x2e, 0x0d, 0x2c, - 0x65, 0xab, 0xa7, 0x1c, 0x73, 0x4b, 0xae, 0xb9, 0xe6, 0x9c, 0x5b, 0x7e, 0x49, 0x8e, 0xf9, 0x17, - 0x99, 0xc9, 0x1f, 0xc8, 0xec, 0x62, 0x41, 0x91, 0x8a, 0x95, 0x90, 0xce, 0x0d, 0xfb, 0xde, 0xbe, - 0x0f, 0x0f, 0xbb, 0xdf, 0xf7, 0xde, 0x03, 0xec, 0x7b, 0x8c, 0x79, 0x01, 0xa9, 0xe1, 0x28, 0xf2, - 0x23, 0x8e, 0x29, 0xaf, 0x91, 0xd1, 0x09, 0x71, 0x5d, 0xe2, 0xd6, 0xce, 0xf7, 0x70, 0x30, 0x3e, - 0xc3, 0xf5, 0xa9, 0xc5, 0x99, 0x6e, 0xaa, 0x8e, 0x43, 0xc6, 0x19, 0xd2, 0xe3, 0xe0, 0xea, 0xa5, - 0x3d, 0xd9, 0x5a, 0x4d, 0x82, 0xb7, 0xee, 0x24, 0x2f, 0x18, 0xfb, 0x35, 0x4c, 0x29, 0xe3, 0x98, - 0xfb, 0x8c, 0x46, 0x31, 0xc2, 0x56, 0x45, 0x79, 0xf9, 0xc5, 0x98, 0xd4, 0x02, 0xcc, 0x03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da, 0x32, 0x1b, 0x1d, 0xeb, 0xc0, 0x69, 0x5b, 0x9d, 0x8e, 0xf5, - 0xca, 0xb1, 0xba, 0xe5, 0x94, 0xfe, 0x0f, 0xc8, 0xcf, 0xb4, 0x37, 0x51, 0x89, 0x43, 0xc2, 0x27, - 0x21, 0x75, 0x66, 0x86, 0xc0, 0x8c, 0xd4, 0x59, 0x29, 0x76, 0x4c, 0xe7, 0x31, 0xfd, 0x05, 0x14, - 0xe7, 0x75, 0x8b, 0xfe, 0x0e, 0xf9, 0x21, 0x63, 0xa1, 0xeb, 0x53, 0xcc, 0x49, 0xa4, 0xc6, 0xa9, - 0x1b, 0xc9, 0x01, 0x8a, 0x56, 0x59, 0xed, 0x60, 0xde, 0xa1, 0x62, 0x60, 0x9a, 0xdd, 0x99, 0x34, - 0xd2, 0xfa, 0xe7, 0x1a, 0x6c, 0x1a, 0xea, 0x74, 0xa7, 0xe3, 0x1b, 0x8a, 0x20, 0x13, 0x2f, 0xd0, - 0xde, 0x32, 0xff, 0x25, 0x92, 0xb3, 0x5b, 0xf5, 0xe5, 0x7f, 0x65, 0x76, 0xb5, 0x87, 0xda, 0xb3, - 0x2f, 0x34, 0xb8, 0x37, 0x64, 0xa3, 0x05, 0xa2, 0x9f, 0x15, 0xa7, 0xa9, 0xf6, 0xc4, 0x7f, 0x5e, - 0x4f, 0xfb, 0xcf, 0x73, 0x15, 0xe5, 0x31, 0x51, 0x24, 0xab, 0x2c, 0xf4, 0x6a, 0x1e, 0xa1, 0xf2, - 0x2f, 0xb0, 0x16, 0xbb, 0xf0, 0xd8, 0x8f, 0x7e, 0xe9, 0x0f, 0x75, 0x3f, 0xb1, 0x7c, 0x9d, 0xca, - 0x34, 0xfa, 0x83, 0x7e, 0xeb, 0xdf, 0x27, 0x19, 0x19, 0xff, 0xe8, 0xa7, 0x00, 0x00, 0x00, 0xff, - 0xff, 0xb9, 0x08, 0x29, 0x0f, 0xe0, 0x0e, 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 - -// EmbeddedAssistantClient is the client API for EmbeddedAssistant service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type EmbeddedAssistantClient interface { - // Initiates or continues a conversation with the embedded Assistant Service. - // Each call performs one round-trip, sending an audio request to the service - // and receiving the audio response. Uses bidirectional streaming to receive - // results, such as the `END_OF_UTTERANCE` event, while sending audio. - // - // A conversation is one or more gRPC connections, each consisting of several - // streamed requests and responses. - // For example, the user says *Add to my shopping list* and the Assistant - // responds *What do you want to add?*. The sequence of streamed requests and - // responses in the first gRPC message could be: - // - // * AssistRequest.config - // * AssistRequest.audio_in - // * AssistRequest.audio_in - // * AssistRequest.audio_in - // * AssistRequest.audio_in - // * AssistResponse.event_type.END_OF_UTTERANCE - // * AssistResponse.speech_results.transcript "add to my shopping list" - // * AssistResponse.dialog_state_out.microphone_mode.DIALOG_FOLLOW_ON - // * AssistResponse.audio_out - // * AssistResponse.audio_out - // * AssistResponse.audio_out - // - // - // The user then says *bagels* and the Assistant responds - // *OK, I've added bagels to your shopping list*. This is sent as another gRPC - // connection call to the `Assist` method, again with streamed requests and - // responses, such as: - // - // * AssistRequest.config - // * AssistRequest.audio_in - // * AssistRequest.audio_in - // * AssistRequest.audio_in - // * AssistResponse.event_type.END_OF_UTTERANCE - // * AssistResponse.dialog_state_out.microphone_mode.CLOSE_MICROPHONE - // * AssistResponse.audio_out - // * AssistResponse.audio_out - // * AssistResponse.audio_out - // * AssistResponse.audio_out - // - // Although the precise order of responses is not guaranteed, sequential - // `AssistResponse.audio_out` messages will always contain sequential portions - // of audio. - Assist(ctx context.Context, opts ...grpc.CallOption) (EmbeddedAssistant_AssistClient, error) -} - -type embeddedAssistantClient struct { - cc *grpc.ClientConn -} - -func NewEmbeddedAssistantClient(cc *grpc.ClientConn) EmbeddedAssistantClient { - return &embeddedAssistantClient{cc} -} - -func (c *embeddedAssistantClient) Assist(ctx context.Context, opts ...grpc.CallOption) (EmbeddedAssistant_AssistClient, error) { - stream, err := c.cc.NewStream(ctx, &_EmbeddedAssistant_serviceDesc.Streams[0], "/google.assistant.embedded.v1alpha2.EmbeddedAssistant/Assist", opts...) - if err != nil { - return nil, err - } - x := &embeddedAssistantAssistClient{stream} - return x, nil -} - -type EmbeddedAssistant_AssistClient interface { - Send(*AssistRequest) error - Recv() (*AssistResponse, error) - grpc.ClientStream -} - -type embeddedAssistantAssistClient struct { - grpc.ClientStream -} - -func (x *embeddedAssistantAssistClient) Send(m *AssistRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *embeddedAssistantAssistClient) Recv() (*AssistResponse, error) { - m := new(AssistResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// EmbeddedAssistantServer is the server API for EmbeddedAssistant service. -type EmbeddedAssistantServer interface { - // Initiates or continues a conversation with the embedded Assistant Service. - // Each call performs one round-trip, sending an audio request to the service - // and receiving the audio response. Uses bidirectional streaming to receive - // results, such as the `END_OF_UTTERANCE` event, while sending audio. - // - // A conversation is one or more gRPC connections, each consisting of several - // streamed requests and responses. - // For example, the user says *Add to my shopping list* and the Assistant - // responds *What do you want to add?*. The sequence of streamed requests and - // responses in the first gRPC message could be: - // - // * AssistRequest.config - // * AssistRequest.audio_in - // * AssistRequest.audio_in - // * AssistRequest.audio_in - // * AssistRequest.audio_in - // * AssistResponse.event_type.END_OF_UTTERANCE - // * AssistResponse.speech_results.transcript "add to my shopping list" - // * AssistResponse.dialog_state_out.microphone_mode.DIALOG_FOLLOW_ON - // * AssistResponse.audio_out - // * AssistResponse.audio_out - // * AssistResponse.audio_out - // - // - // The user then says *bagels* and the Assistant responds - // *OK, I've added bagels to your shopping list*. This is sent as another gRPC - // connection call to the `Assist` method, again with streamed requests and - // responses, such as: - // - // * AssistRequest.config - // * AssistRequest.audio_in - // * AssistRequest.audio_in - // * AssistRequest.audio_in - // * AssistResponse.event_type.END_OF_UTTERANCE - // * AssistResponse.dialog_state_out.microphone_mode.CLOSE_MICROPHONE - // * AssistResponse.audio_out - // * AssistResponse.audio_out - // * AssistResponse.audio_out - // * AssistResponse.audio_out - // - // Although the precise order of responses is not guaranteed, sequential - // `AssistResponse.audio_out` messages will always contain sequential portions - // of audio. - Assist(EmbeddedAssistant_AssistServer) error -} - -// UnimplementedEmbeddedAssistantServer can be embedded to have forward compatible implementations. -type UnimplementedEmbeddedAssistantServer struct { -} - -func (*UnimplementedEmbeddedAssistantServer) Assist(srv EmbeddedAssistant_AssistServer) error { - return status.Errorf(codes.Unimplemented, "method Assist not implemented") -} - -func RegisterEmbeddedAssistantServer(s *grpc.Server, srv EmbeddedAssistantServer) { - s.RegisterService(&_EmbeddedAssistant_serviceDesc, srv) -} - -func _EmbeddedAssistant_Assist_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(EmbeddedAssistantServer).Assist(&embeddedAssistantAssistServer{stream}) -} - -type EmbeddedAssistant_AssistServer interface { - Send(*AssistResponse) error - Recv() (*AssistRequest, error) - grpc.ServerStream -} - -type embeddedAssistantAssistServer struct { - grpc.ServerStream -} - -func (x *embeddedAssistantAssistServer) Send(m *AssistResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *embeddedAssistantAssistServer) Recv() (*AssistRequest, error) { - m := new(AssistRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -var _EmbeddedAssistant_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.assistant.embedded.v1alpha2.EmbeddedAssistant", - HandlerType: (*EmbeddedAssistantServer)(nil), - Methods: []grpc.MethodDesc{}, - Streams: []grpc.StreamDesc{ - { - StreamName: "Assist", - Handler: _EmbeddedAssistant_Assist_Handler, - ServerStreams: true, - ClientStreams: true, - }, - }, - Metadata: "google/assistant/embedded/v1alpha2/embedded_assistant.proto", -} 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 deleted file mode 100644 index 36ffd143..00000000 --- a/vendor/google.golang.org/genproto/googleapis/bigtable/admin/cluster/v1/bigtable_cluster_data.pb.go +++ /dev/null @@ -1,285 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/bigtable/admin/cluster/v1/bigtable_cluster_data.proto - -package cluster - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -type StorageType int32 - -const ( - // The storage type used is unspecified. - StorageType_STORAGE_UNSPECIFIED StorageType = 0 - // Data will be stored in SSD, providing low and consistent latencies. - StorageType_STORAGE_SSD StorageType = 1 - // Data will be stored in HDD, providing high and less predictable - // latencies. - StorageType_STORAGE_HDD StorageType = 2 -) - -var StorageType_name = map[int32]string{ - 0: "STORAGE_UNSPECIFIED", - 1: "STORAGE_SSD", - 2: "STORAGE_HDD", -} - -var StorageType_value = map[string]int32{ - "STORAGE_UNSPECIFIED": 0, - "STORAGE_SSD": 1, - "STORAGE_HDD": 2, -} - -func (x StorageType) String() string { - return proto.EnumName(StorageType_name, int32(x)) -} - -func (StorageType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_33bf61dbf3bd7369, []int{0} -} - -// Possible states of a zone. -type Zone_Status int32 - -const ( - // The state of the zone is unknown or unspecified. - Zone_UNKNOWN Zone_Status = 0 - // The zone is in a good state. - Zone_OK Zone_Status = 1 - // The zone is down for planned maintenance. - Zone_PLANNED_MAINTENANCE Zone_Status = 2 - // The zone is down for emergency or unplanned maintenance. - Zone_EMERGENCY_MAINENANCE Zone_Status = 3 -) - -var Zone_Status_name = map[int32]string{ - 0: "UNKNOWN", - 1: "OK", - 2: "PLANNED_MAINTENANCE", - 3: "EMERGENCY_MAINENANCE", -} - -var Zone_Status_value = map[string]int32{ - "UNKNOWN": 0, - "OK": 1, - "PLANNED_MAINTENANCE": 2, - "EMERGENCY_MAINENANCE": 3, -} - -func (x Zone_Status) String() string { - return proto.EnumName(Zone_Status_name, int32(x)) -} - -func (Zone_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_33bf61dbf3bd7369, []int{0, 0} -} - -// A physical location in which a particular project can allocate Cloud BigTable -// resources. -type Zone struct { - // A permanent unique identifier for the zone. - // Values are of the form projects//zones/[a-z][-a-z0-9]* - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The name of this zone as it appears in UIs. - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // The current state of this zone. - Status Zone_Status `protobuf:"varint,3,opt,name=status,proto3,enum=google.bigtable.admin.cluster.v1.Zone_Status" json:"status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_33bf61dbf3bd7369, []int{0} -} - -func (m *Zone) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Zone.Unmarshal(m, b) -} -func (m *Zone) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Zone.Marshal(b, m, deterministic) -} -func (m *Zone) XXX_Merge(src proto.Message) { - xxx_messageInfo_Zone.Merge(m, src) -} -func (m *Zone) XXX_Size() int { - return xxx_messageInfo_Zone.Size(m) -} -func (m *Zone) XXX_DiscardUnknown() { - xxx_messageInfo_Zone.DiscardUnknown(m) -} - -var xxx_messageInfo_Zone proto.InternalMessageInfo - -func (m *Zone) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Zone) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *Zone) GetStatus() Zone_Status { - if m != nil { - return m.Status - } - return Zone_UNKNOWN -} - -// An isolated set of Cloud BigTable resources on which tables can be hosted. -type Cluster struct { - // A permanent unique identifier for the cluster. For technical reasons, the - // zone in which the cluster resides is included here. - // Values are of the form - // projects//zones//clusters/[a-z][-a-z0-9]* - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The operation currently running on the cluster, if any. - // This cannot be set directly, only through CreateCluster, UpdateCluster, - // or UndeleteCluster. Calls to these methods will be rejected if - // "current_operation" is already set. - CurrentOperation *longrunning.Operation `protobuf:"bytes,3,opt,name=current_operation,json=currentOperation,proto3" json:"current_operation,omitempty"` - // The descriptive name for this cluster as it appears in UIs. - // Must be unique per zone. - DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // The number of serve nodes allocated to this cluster. - ServeNodes int32 `protobuf:"varint,5,opt,name=serve_nodes,json=serveNodes,proto3" json:"serve_nodes,omitempty"` - // What storage type to use for tables in this cluster. Only configurable at - // cluster creation time. If unspecified, STORAGE_SSD will be used. - DefaultStorageType StorageType `protobuf:"varint,8,opt,name=default_storage_type,json=defaultStorageType,proto3,enum=google.bigtable.admin.cluster.v1.StorageType" json:"default_storage_type,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_33bf61dbf3bd7369, []int{1} -} - -func (m *Cluster) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Cluster.Unmarshal(m, b) -} -func (m *Cluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Cluster.Marshal(b, m, deterministic) -} -func (m *Cluster) XXX_Merge(src proto.Message) { - xxx_messageInfo_Cluster.Merge(m, src) -} -func (m *Cluster) XXX_Size() int { - return xxx_messageInfo_Cluster.Size(m) -} -func (m *Cluster) XXX_DiscardUnknown() { - xxx_messageInfo_Cluster.DiscardUnknown(m) -} - -var xxx_messageInfo_Cluster proto.InternalMessageInfo - -func (m *Cluster) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Cluster) GetCurrentOperation() *longrunning.Operation { - if m != nil { - return m.CurrentOperation - } - return nil -} - -func (m *Cluster) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *Cluster) GetServeNodes() int32 { - if m != nil { - return m.ServeNodes - } - return 0 -} - -func (m *Cluster) GetDefaultStorageType() StorageType { - if m != nil { - return m.DefaultStorageType - } - return StorageType_STORAGE_UNSPECIFIED -} - -func init() { - proto.RegisterEnum("google.bigtable.admin.cluster.v1.StorageType", StorageType_name, StorageType_value) - proto.RegisterEnum("google.bigtable.admin.cluster.v1.Zone_Status", Zone_Status_name, Zone_Status_value) - proto.RegisterType((*Zone)(nil), "google.bigtable.admin.cluster.v1.Zone") - proto.RegisterType((*Cluster)(nil), "google.bigtable.admin.cluster.v1.Cluster") -} - -func init() { - proto.RegisterFile("google/bigtable/admin/cluster/v1/bigtable_cluster_data.proto", fileDescriptor_33bf61dbf3bd7369) -} - -var fileDescriptor_33bf61dbf3bd7369 = []byte{ - // 493 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xd1, 0x6e, 0xd3, 0x3c, - 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6, 0xa6, 0xeb, 0x82, 0x27, 0xd0, - 0x1d, 0xb5, 0xa7, 0xbd, 0xbd, 0x04, 0xfe, 0xde, 0x76, 0x53, 0x69, 0x3a, 0x1d, 0x27, 0xbd, 0x21, - 0xa6, 0x37, 0x24, 0x9d, 0xe0, 0xc1, 0xe8, 0xd3, 0x08, 0xc7, 0xc1, 0x01, 0x7c, 0x02, 0xfc, 0xad, - 0x91, 0xa6, 0x71, 0xe0, 0xed, 0x0b, 0x97, 0x71, 0x1c, 0x34, 0xfa, 0xdf, 0x3d, 0xf0, 0x66, 0xae, - 0x96, 0x0f, 0xfe, 0xa4, 0x7e, 0xd8, 0x77, 0x96, 0xfb, 0x23, 0x62, 0x66, 0xd8, 0x64, 0xf3, 0xec, - 0x26, 0xde, 0xed, 0xd0, 0xd1, 0x42, 0xe5, 0x4c, 0x0a, 0xa4, 0x4a, 0x11, 0x09, 0x2e, 0xed, 0xa3, - 0x8c, 0x6a, 0x8b, 0x15, 0x99, 0xfe, 0xfb, 0xb7, 0xf5, 0xc1, 0x2d, 0x67, 0x2d, 0xcb, 0xbc, 0xff, - 0x15, 0x00, 0x00, 0xff, 0xff, 0xc9, 0x27, 0x25, 0xa6, 0x8e, 0x03, 0x00, 0x00, -} 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 deleted file mode 100644 index 7e38d9f1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/bigtable/admin/cluster/v1/bigtable_cluster_service.pb.go +++ /dev/null @@ -1,512 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/bigtable/admin/cluster/v1/bigtable_cluster_service.proto - -package cluster - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -func init() { - proto.RegisterFile("google/bigtable/admin/cluster/v1/bigtable_cluster_service.proto", fileDescriptor_597cf005382fe64c) -} - -var fileDescriptor_597cf005382fe64c = []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, - 0x26, 0x6e, 0x17, 0xc5, 0xbf, 0x08, 0x5b, 0xa5, 0x1e, 0x04, 0x8b, 0xd2, 0x4b, 0x2f, 0x4b, 0x76, - 0xe7, 0x35, 0x8c, 0xcc, 0x24, 0x31, 0xc9, 0x2c, 0xa8, 0xf4, 0xe2, 0xcd, 0x93, 0x88, 0x27, 0x3d, - 0x78, 0xeb, 0xdd, 0xef, 0xe2, 0x57, 0xf0, 0x83, 0xc8, 0x64, 0x92, 0xb5, 0x2b, 0x6b, 0x77, 0xa6, - 0xb7, 0x99, 0xc9, 0xfb, 0xbc, 0xcf, 0x6f, 0x9e, 0x24, 0x2f, 0x7e, 0x2c, 0x94, 0x12, 0x05, 0xb0, - 0x49, 0x2e, 0x1c, 0x9f, 0x14, 0xc0, 0x78, 0x56, 0xe6, 0x92, 0x4d, 0x8b, 0xca, 0x3a, 0x30, 0x6c, - 0x36, 0x98, 0xaf, 0x8c, 0xc3, 0xb7, 0xb1, 0x05, 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0xe9, 0x73, 0x64, 0xcd, 0x12, 0xd7, 0xb9, 0xfd, 0xff, 0xfc, 0x7d, 0x10, - 0x1e, 0x27, 0x17, 0xbd, 0x66, 0xf8, 0x27, 0x00, 0x00, 0xff, 0xff, 0x50, 0x92, 0x91, 0x86, 0x71, - 0x06, 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 - -// BigtableClusterServiceClient is the client API for BigtableClusterService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type BigtableClusterServiceClient interface { - // Lists the supported zones for the given project. - ListZones(ctx context.Context, in *ListZonesRequest, opts ...grpc.CallOption) (*ListZonesResponse, error) - // Gets information about a particular cluster. - GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error) - // Lists all clusters in the given project, along with any zones for which - // cluster information could not be retrieved. - ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) - // Creates a cluster and begins preparing it to begin serving. The returned - // cluster embeds as its "current_operation" a long-running operation which - // can be used to track the progress of turning up the new cluster. - // Immediately upon completion of this request: - // * The cluster will be readable via the API, with all requested attributes - // but no allocated resources. - // Until completion of the embedded operation: - // * Cancelling the operation will render the cluster immediately unreadable - // via the API. - // * All other attempts to modify or delete the cluster will be rejected. - // Upon completion of the embedded operation: - // * Billing for all successfully-allocated resources will begin (some types - // may have lower than the requested levels). - // * New tables can be created in the cluster. - // * The cluster's allocated resource levels will be readable via the API. - // The embedded operation's "metadata" field type is - // [CreateClusterMetadata][google.bigtable.admin.cluster.v1.CreateClusterMetadata] - // The embedded operation's "response" field type is - // [Cluster][google.bigtable.admin.cluster.v1.Cluster], if successful. - CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*Cluster, error) - // Updates a cluster, and begins allocating or releasing resources as - // requested. The returned cluster embeds as its "current_operation" a - // long-running operation which can be used to track the progress of updating - // the cluster. - // Immediately upon completion of this request: - // * For resource types where a decrease in the cluster's allocation has been - // requested, billing will be based on the newly-requested level. - // Until completion of the embedded operation: - // * Cancelling the operation will set its metadata's "cancelled_at_time", - // and begin restoring resources to their pre-request values. The operation - // is guaranteed to succeed at undoing all resource changes, after which - // point it will terminate with a CANCELLED status. - // * All other attempts to modify or delete the cluster will be rejected. - // * Reading the cluster via the API will continue to give the pre-request - // resource levels. - // Upon completion of the embedded operation: - // * Billing will begin for all successfully-allocated resources (some types - // may have lower than the requested levels). - // * All newly-reserved resources will be available for serving the cluster's - // tables. - // * The cluster's new resource levels will be readable via the API. - // [UpdateClusterMetadata][google.bigtable.admin.cluster.v1.UpdateClusterMetadata] - // The embedded operation's "response" field type is - // [Cluster][google.bigtable.admin.cluster.v1.Cluster], if successful. - UpdateCluster(ctx context.Context, in *Cluster, opts ...grpc.CallOption) (*Cluster, error) - // Marks a cluster and all of its tables for permanent deletion in 7 days. - // Immediately upon completion of the request: - // * Billing will cease for all of the cluster's reserved resources. - // * The cluster's "delete_time" field will be set 7 days in the future. - // Soon afterward: - // * All tables within the cluster will become unavailable. - // Prior to the cluster's "delete_time": - // * The cluster can be recovered with a call to UndeleteCluster. - // * All other attempts to modify or delete the cluster will be rejected. - // At the cluster's "delete_time": - // * The cluster and *all of its tables* will immediately and irrevocably - // disappear from the API, and their data will be permanently deleted. - DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Cancels the scheduled deletion of an cluster and begins preparing it to - // resume serving. The returned operation will also be embedded as the - // cluster's "current_operation". - // Immediately upon completion of this request: - // * The cluster's "delete_time" field will be unset, protecting it from - // automatic deletion. - // Until completion of the returned operation: - // * The operation cannot be cancelled. - // Upon completion of the returned operation: - // * Billing for the cluster's resources will resume. - // * All tables within the cluster will be available. - // [UndeleteClusterMetadata][google.bigtable.admin.cluster.v1.UndeleteClusterMetadata] - // The embedded operation's "response" field type is - // [Cluster][google.bigtable.admin.cluster.v1.Cluster], if successful. - UndeleteCluster(ctx context.Context, in *UndeleteClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) -} - -type bigtableClusterServiceClient struct { - cc *grpc.ClientConn -} - -func NewBigtableClusterServiceClient(cc *grpc.ClientConn) BigtableClusterServiceClient { - return &bigtableClusterServiceClient{cc} -} - -func (c *bigtableClusterServiceClient) ListZones(ctx context.Context, in *ListZonesRequest, opts ...grpc.CallOption) (*ListZonesResponse, error) { - out := new(ListZonesResponse) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.cluster.v1.BigtableClusterService/ListZones", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableClusterServiceClient) GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error) { - out := new(Cluster) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.cluster.v1.BigtableClusterService/GetCluster", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableClusterServiceClient) ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) { - out := new(ListClustersResponse) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.cluster.v1.BigtableClusterService/ListClusters", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableClusterServiceClient) CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*Cluster, error) { - out := new(Cluster) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.cluster.v1.BigtableClusterService/CreateCluster", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableClusterServiceClient) UpdateCluster(ctx context.Context, in *Cluster, opts ...grpc.CallOption) (*Cluster, error) { - out := new(Cluster) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.cluster.v1.BigtableClusterService/UpdateCluster", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableClusterServiceClient) DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.cluster.v1.BigtableClusterService/DeleteCluster", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableClusterServiceClient) UndeleteCluster(ctx context.Context, in *UndeleteClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.cluster.v1.BigtableClusterService/UndeleteCluster", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// BigtableClusterServiceServer is the server API for BigtableClusterService service. -type BigtableClusterServiceServer interface { - // Lists the supported zones for the given project. - ListZones(context.Context, *ListZonesRequest) (*ListZonesResponse, error) - // Gets information about a particular cluster. - GetCluster(context.Context, *GetClusterRequest) (*Cluster, error) - // Lists all clusters in the given project, along with any zones for which - // cluster information could not be retrieved. - ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error) - // Creates a cluster and begins preparing it to begin serving. The returned - // cluster embeds as its "current_operation" a long-running operation which - // can be used to track the progress of turning up the new cluster. - // Immediately upon completion of this request: - // * The cluster will be readable via the API, with all requested attributes - // but no allocated resources. - // Until completion of the embedded operation: - // * Cancelling the operation will render the cluster immediately unreadable - // via the API. - // * All other attempts to modify or delete the cluster will be rejected. - // Upon completion of the embedded operation: - // * Billing for all successfully-allocated resources will begin (some types - // may have lower than the requested levels). - // * New tables can be created in the cluster. - // * The cluster's allocated resource levels will be readable via the API. - // The embedded operation's "metadata" field type is - // [CreateClusterMetadata][google.bigtable.admin.cluster.v1.CreateClusterMetadata] - // The embedded operation's "response" field type is - // [Cluster][google.bigtable.admin.cluster.v1.Cluster], if successful. - CreateCluster(context.Context, *CreateClusterRequest) (*Cluster, error) - // Updates a cluster, and begins allocating or releasing resources as - // requested. The returned cluster embeds as its "current_operation" a - // long-running operation which can be used to track the progress of updating - // the cluster. - // Immediately upon completion of this request: - // * For resource types where a decrease in the cluster's allocation has been - // requested, billing will be based on the newly-requested level. - // Until completion of the embedded operation: - // * Cancelling the operation will set its metadata's "cancelled_at_time", - // and begin restoring resources to their pre-request values. The operation - // is guaranteed to succeed at undoing all resource changes, after which - // point it will terminate with a CANCELLED status. - // * All other attempts to modify or delete the cluster will be rejected. - // * Reading the cluster via the API will continue to give the pre-request - // resource levels. - // Upon completion of the embedded operation: - // * Billing will begin for all successfully-allocated resources (some types - // may have lower than the requested levels). - // * All newly-reserved resources will be available for serving the cluster's - // tables. - // * The cluster's new resource levels will be readable via the API. - // [UpdateClusterMetadata][google.bigtable.admin.cluster.v1.UpdateClusterMetadata] - // The embedded operation's "response" field type is - // [Cluster][google.bigtable.admin.cluster.v1.Cluster], if successful. - UpdateCluster(context.Context, *Cluster) (*Cluster, error) - // Marks a cluster and all of its tables for permanent deletion in 7 days. - // Immediately upon completion of the request: - // * Billing will cease for all of the cluster's reserved resources. - // * The cluster's "delete_time" field will be set 7 days in the future. - // Soon afterward: - // * All tables within the cluster will become unavailable. - // Prior to the cluster's "delete_time": - // * The cluster can be recovered with a call to UndeleteCluster. - // * All other attempts to modify or delete the cluster will be rejected. - // At the cluster's "delete_time": - // * The cluster and *all of its tables* will immediately and irrevocably - // disappear from the API, and their data will be permanently deleted. - DeleteCluster(context.Context, *DeleteClusterRequest) (*empty.Empty, error) - // Cancels the scheduled deletion of an cluster and begins preparing it to - // resume serving. The returned operation will also be embedded as the - // cluster's "current_operation". - // Immediately upon completion of this request: - // * The cluster's "delete_time" field will be unset, protecting it from - // automatic deletion. - // Until completion of the returned operation: - // * The operation cannot be cancelled. - // Upon completion of the returned operation: - // * Billing for the cluster's resources will resume. - // * All tables within the cluster will be available. - // [UndeleteClusterMetadata][google.bigtable.admin.cluster.v1.UndeleteClusterMetadata] - // The embedded operation's "response" field type is - // [Cluster][google.bigtable.admin.cluster.v1.Cluster], if successful. - UndeleteCluster(context.Context, *UndeleteClusterRequest) (*longrunning.Operation, error) -} - -// UnimplementedBigtableClusterServiceServer can be embedded to have forward compatible implementations. -type UnimplementedBigtableClusterServiceServer struct { -} - -func (*UnimplementedBigtableClusterServiceServer) ListZones(ctx context.Context, req *ListZonesRequest) (*ListZonesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListZones not implemented") -} -func (*UnimplementedBigtableClusterServiceServer) GetCluster(ctx context.Context, req *GetClusterRequest) (*Cluster, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCluster not implemented") -} -func (*UnimplementedBigtableClusterServiceServer) ListClusters(ctx context.Context, req *ListClustersRequest) (*ListClustersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListClusters not implemented") -} -func (*UnimplementedBigtableClusterServiceServer) CreateCluster(ctx context.Context, req *CreateClusterRequest) (*Cluster, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateCluster not implemented") -} -func (*UnimplementedBigtableClusterServiceServer) UpdateCluster(ctx context.Context, req *Cluster) (*Cluster, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateCluster not implemented") -} -func (*UnimplementedBigtableClusterServiceServer) DeleteCluster(ctx context.Context, req *DeleteClusterRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteCluster not implemented") -} -func (*UnimplementedBigtableClusterServiceServer) UndeleteCluster(ctx context.Context, req *UndeleteClusterRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UndeleteCluster not implemented") -} - -func RegisterBigtableClusterServiceServer(s *grpc.Server, srv BigtableClusterServiceServer) { - s.RegisterService(&_BigtableClusterService_serviceDesc, srv) -} - -func _BigtableClusterService_ListZones_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListZonesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableClusterServiceServer).ListZones(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.cluster.v1.BigtableClusterService/ListZones", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableClusterServiceServer).ListZones(ctx, req.(*ListZonesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableClusterService_GetCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetClusterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableClusterServiceServer).GetCluster(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.cluster.v1.BigtableClusterService/GetCluster", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableClusterServiceServer).GetCluster(ctx, req.(*GetClusterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableClusterService_ListClusters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListClustersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableClusterServiceServer).ListClusters(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.cluster.v1.BigtableClusterService/ListClusters", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableClusterServiceServer).ListClusters(ctx, req.(*ListClustersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableClusterService_CreateCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateClusterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableClusterServiceServer).CreateCluster(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.cluster.v1.BigtableClusterService/CreateCluster", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableClusterServiceServer).CreateCluster(ctx, req.(*CreateClusterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableClusterService_UpdateCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Cluster) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableClusterServiceServer).UpdateCluster(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.cluster.v1.BigtableClusterService/UpdateCluster", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableClusterServiceServer).UpdateCluster(ctx, req.(*Cluster)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableClusterService_DeleteCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteClusterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableClusterServiceServer).DeleteCluster(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.cluster.v1.BigtableClusterService/DeleteCluster", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableClusterServiceServer).DeleteCluster(ctx, req.(*DeleteClusterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableClusterService_UndeleteCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UndeleteClusterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableClusterServiceServer).UndeleteCluster(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.cluster.v1.BigtableClusterService/UndeleteCluster", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableClusterServiceServer).UndeleteCluster(ctx, req.(*UndeleteClusterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _BigtableClusterService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.bigtable.admin.cluster.v1.BigtableClusterService", - HandlerType: (*BigtableClusterServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListZones", - Handler: _BigtableClusterService_ListZones_Handler, - }, - { - MethodName: "GetCluster", - Handler: _BigtableClusterService_GetCluster_Handler, - }, - { - MethodName: "ListClusters", - Handler: _BigtableClusterService_ListClusters_Handler, - }, - { - MethodName: "CreateCluster", - Handler: _BigtableClusterService_CreateCluster_Handler, - }, - { - MethodName: "UpdateCluster", - Handler: _BigtableClusterService_UpdateCluster_Handler, - }, - { - MethodName: "DeleteCluster", - Handler: _BigtableClusterService_DeleteCluster_Handler, - }, - { - MethodName: "UndeleteCluster", - Handler: _BigtableClusterService_UndeleteCluster_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/bigtable/admin/cluster/v1/bigtable_cluster_service.proto", -} 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 deleted file mode 100644 index 4ce7fb87..00000000 --- a/vendor/google.golang.org/genproto/googleapis/bigtable/admin/cluster/v1/bigtable_cluster_service_messages.pb.go +++ /dev/null @@ -1,661 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/bigtable/admin/cluster/v1/bigtable_cluster_service_messages.proto - -package cluster - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for BigtableClusterService.ListZones. -type ListZonesRequest struct { - // The unique name of the project for which a list of supported zones is - // requested. - // Values are of the form projects/ - 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 *ListZonesRequest) Reset() { *m = ListZonesRequest{} } -func (m *ListZonesRequest) String() string { return proto.CompactTextString(m) } -func (*ListZonesRequest) ProtoMessage() {} -func (*ListZonesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2a8715cfb8408734, []int{0} -} - -func (m *ListZonesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListZonesRequest.Unmarshal(m, b) -} -func (m *ListZonesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListZonesRequest.Marshal(b, m, deterministic) -} -func (m *ListZonesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListZonesRequest.Merge(m, src) -} -func (m *ListZonesRequest) XXX_Size() int { - return xxx_messageInfo_ListZonesRequest.Size(m) -} -func (m *ListZonesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListZonesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListZonesRequest proto.InternalMessageInfo - -func (m *ListZonesRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Response message for BigtableClusterService.ListZones. -type ListZonesResponse struct { - // The list of requested zones. - Zones []*Zone `protobuf:"bytes,1,rep,name=zones,proto3" json:"zones,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2a8715cfb8408734, []int{1} -} - -func (m *ListZonesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListZonesResponse.Unmarshal(m, b) -} -func (m *ListZonesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListZonesResponse.Marshal(b, m, deterministic) -} -func (m *ListZonesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListZonesResponse.Merge(m, src) -} -func (m *ListZonesResponse) XXX_Size() int { - return xxx_messageInfo_ListZonesResponse.Size(m) -} -func (m *ListZonesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListZonesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListZonesResponse proto.InternalMessageInfo - -func (m *ListZonesResponse) GetZones() []*Zone { - if m != nil { - return m.Zones - } - return nil -} - -// Request message for BigtableClusterService.GetCluster. -type GetClusterRequest struct { - // The unique name of the requested cluster. - // Values are of the form projects//zones//clusters/ - 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 *GetClusterRequest) Reset() { *m = GetClusterRequest{} } -func (m *GetClusterRequest) String() string { return proto.CompactTextString(m) } -func (*GetClusterRequest) ProtoMessage() {} -func (*GetClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2a8715cfb8408734, []int{2} -} - -func (m *GetClusterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetClusterRequest.Unmarshal(m, b) -} -func (m *GetClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetClusterRequest.Marshal(b, m, deterministic) -} -func (m *GetClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetClusterRequest.Merge(m, src) -} -func (m *GetClusterRequest) XXX_Size() int { - return xxx_messageInfo_GetClusterRequest.Size(m) -} -func (m *GetClusterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetClusterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetClusterRequest proto.InternalMessageInfo - -func (m *GetClusterRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for BigtableClusterService.ListClusters. -type ListClustersRequest struct { - // The unique name of the project for which a list of clusters is requested. - // Values are of the form projects/ - 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 *ListClustersRequest) Reset() { *m = ListClustersRequest{} } -func (m *ListClustersRequest) String() string { return proto.CompactTextString(m) } -func (*ListClustersRequest) ProtoMessage() {} -func (*ListClustersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2a8715cfb8408734, []int{3} -} - -func (m *ListClustersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListClustersRequest.Unmarshal(m, b) -} -func (m *ListClustersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListClustersRequest.Marshal(b, m, deterministic) -} -func (m *ListClustersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClustersRequest.Merge(m, src) -} -func (m *ListClustersRequest) XXX_Size() int { - return xxx_messageInfo_ListClustersRequest.Size(m) -} -func (m *ListClustersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListClustersRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListClustersRequest proto.InternalMessageInfo - -func (m *ListClustersRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Response message for BigtableClusterService.ListClusters. -type ListClustersResponse struct { - // The list of requested Clusters. - Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"` - // The zones for which clusters could not be retrieved. - FailedZones []*Zone `protobuf:"bytes,2,rep,name=failed_zones,json=failedZones,proto3" json:"failed_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_2a8715cfb8408734, []int{4} -} - -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 (m *ListClustersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClustersResponse.Merge(m, 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.Clusters - } - return nil -} - -func (m *ListClustersResponse) GetFailedZones() []*Zone { - if m != nil { - return m.FailedZones - } - return nil -} - -// Request message for BigtableClusterService.CreateCluster. -type CreateClusterRequest struct { - // The unique name of the zone in which to create the cluster. - // Values are of the form projects//zones/ - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The id to be used when referring to the new cluster within its zone, - // e.g. just the "test-cluster" section of the full name - // "projects//zones//clusters/test-cluster". - ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // The cluster to create. - // The "name", "delete_time", and "current_operation" fields must be left - // blank. - Cluster *Cluster `protobuf:"bytes,3,opt,name=cluster,proto3" json:"cluster,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2a8715cfb8408734, []int{5} -} - -func (m *CreateClusterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateClusterRequest.Unmarshal(m, b) -} -func (m *CreateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateClusterRequest.Marshal(b, m, deterministic) -} -func (m *CreateClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateClusterRequest.Merge(m, src) -} -func (m *CreateClusterRequest) XXX_Size() int { - return xxx_messageInfo_CreateClusterRequest.Size(m) -} -func (m *CreateClusterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateClusterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateClusterRequest proto.InternalMessageInfo - -func (m *CreateClusterRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *CreateClusterRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -func (m *CreateClusterRequest) GetCluster() *Cluster { - if m != nil { - return m.Cluster - } - return nil -} - -// Metadata type for the operation returned by -// BigtableClusterService.CreateCluster. -type CreateClusterMetadata struct { - // The request which prompted the creation of this operation. - OriginalRequest *CreateClusterRequest `protobuf:"bytes,1,opt,name=original_request,json=originalRequest,proto3" json:"original_request,omitempty"` - // The time at which original_request was received. - RequestTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=request_time,json=requestTime,proto3" json:"request_time,omitempty"` - // The time at which this operation failed or was completed successfully. - FinishTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2a8715cfb8408734, []int{6} -} - -func (m *CreateClusterMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateClusterMetadata.Unmarshal(m, b) -} -func (m *CreateClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateClusterMetadata.Marshal(b, m, deterministic) -} -func (m *CreateClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateClusterMetadata.Merge(m, src) -} -func (m *CreateClusterMetadata) XXX_Size() int { - return xxx_messageInfo_CreateClusterMetadata.Size(m) -} -func (m *CreateClusterMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_CreateClusterMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateClusterMetadata proto.InternalMessageInfo - -func (m *CreateClusterMetadata) GetOriginalRequest() *CreateClusterRequest { - if m != nil { - return m.OriginalRequest - } - return nil -} - -func (m *CreateClusterMetadata) GetRequestTime() *timestamp.Timestamp { - if m != nil { - return m.RequestTime - } - return nil -} - -func (m *CreateClusterMetadata) GetFinishTime() *timestamp.Timestamp { - if m != nil { - return m.FinishTime - } - return nil -} - -// Metadata type for the operation returned by -// BigtableClusterService.UpdateCluster. -type UpdateClusterMetadata struct { - // The request which prompted the creation of this operation. - OriginalRequest *Cluster `protobuf:"bytes,1,opt,name=original_request,json=originalRequest,proto3" json:"original_request,omitempty"` - // The time at which original_request was received. - RequestTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=request_time,json=requestTime,proto3" json:"request_time,omitempty"` - // The time at which this operation was cancelled. If set, this operation is - // in the process of undoing itself (which is guaranteed to succeed) and - // cannot be cancelled again. - CancelTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=cancel_time,json=cancelTime,proto3" json:"cancel_time,omitempty"` - // The time at which this operation failed or was completed successfully. - FinishTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2a8715cfb8408734, []int{7} -} - -func (m *UpdateClusterMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateClusterMetadata.Unmarshal(m, b) -} -func (m *UpdateClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateClusterMetadata.Marshal(b, m, deterministic) -} -func (m *UpdateClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateClusterMetadata.Merge(m, src) -} -func (m *UpdateClusterMetadata) XXX_Size() int { - return xxx_messageInfo_UpdateClusterMetadata.Size(m) -} -func (m *UpdateClusterMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateClusterMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateClusterMetadata proto.InternalMessageInfo - -func (m *UpdateClusterMetadata) GetOriginalRequest() *Cluster { - if m != nil { - return m.OriginalRequest - } - return nil -} - -func (m *UpdateClusterMetadata) GetRequestTime() *timestamp.Timestamp { - if m != nil { - return m.RequestTime - } - return nil -} - -func (m *UpdateClusterMetadata) GetCancelTime() *timestamp.Timestamp { - if m != nil { - return m.CancelTime - } - return nil -} - -func (m *UpdateClusterMetadata) GetFinishTime() *timestamp.Timestamp { - if m != nil { - return m.FinishTime - } - return nil -} - -// Request message for BigtableClusterService.DeleteCluster. -type DeleteClusterRequest struct { - // The unique name of the cluster to be deleted. - // Values are of the form projects//zones//clusters/ - 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 *DeleteClusterRequest) Reset() { *m = DeleteClusterRequest{} } -func (m *DeleteClusterRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteClusterRequest) ProtoMessage() {} -func (*DeleteClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2a8715cfb8408734, []int{8} -} - -func (m *DeleteClusterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteClusterRequest.Unmarshal(m, b) -} -func (m *DeleteClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteClusterRequest.Marshal(b, m, deterministic) -} -func (m *DeleteClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteClusterRequest.Merge(m, src) -} -func (m *DeleteClusterRequest) XXX_Size() int { - return xxx_messageInfo_DeleteClusterRequest.Size(m) -} -func (m *DeleteClusterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteClusterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteClusterRequest proto.InternalMessageInfo - -func (m *DeleteClusterRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for BigtableClusterService.UndeleteCluster. -type UndeleteClusterRequest struct { - // The unique name of the cluster to be un-deleted. - // Values are of the form projects//zones//clusters/ - 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 *UndeleteClusterRequest) Reset() { *m = UndeleteClusterRequest{} } -func (m *UndeleteClusterRequest) String() string { return proto.CompactTextString(m) } -func (*UndeleteClusterRequest) ProtoMessage() {} -func (*UndeleteClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2a8715cfb8408734, []int{9} -} - -func (m *UndeleteClusterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UndeleteClusterRequest.Unmarshal(m, b) -} -func (m *UndeleteClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UndeleteClusterRequest.Marshal(b, m, deterministic) -} -func (m *UndeleteClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UndeleteClusterRequest.Merge(m, src) -} -func (m *UndeleteClusterRequest) XXX_Size() int { - return xxx_messageInfo_UndeleteClusterRequest.Size(m) -} -func (m *UndeleteClusterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UndeleteClusterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UndeleteClusterRequest proto.InternalMessageInfo - -func (m *UndeleteClusterRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Metadata type for the operation returned by -// BigtableClusterService.UndeleteCluster. -type UndeleteClusterMetadata struct { - // The time at which the original request was received. - RequestTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=request_time,json=requestTime,proto3" json:"request_time,omitempty"` - // The time at which this operation failed or was completed successfully. - FinishTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2a8715cfb8408734, []int{10} -} - -func (m *UndeleteClusterMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UndeleteClusterMetadata.Unmarshal(m, b) -} -func (m *UndeleteClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UndeleteClusterMetadata.Marshal(b, m, deterministic) -} -func (m *UndeleteClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_UndeleteClusterMetadata.Merge(m, src) -} -func (m *UndeleteClusterMetadata) XXX_Size() int { - return xxx_messageInfo_UndeleteClusterMetadata.Size(m) -} -func (m *UndeleteClusterMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_UndeleteClusterMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_UndeleteClusterMetadata proto.InternalMessageInfo - -func (m *UndeleteClusterMetadata) GetRequestTime() *timestamp.Timestamp { - if m != nil { - return m.RequestTime - } - return nil -} - -func (m *UndeleteClusterMetadata) GetFinishTime() *timestamp.Timestamp { - if m != nil { - return m.FinishTime - } - return nil -} - -// Metadata type for operations initiated by the V2 BigtableAdmin service. -// More complete information for such operations is available via the V2 API. -type V2OperationMetadata struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2a8715cfb8408734, []int{11} -} - -func (m *V2OperationMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_V2OperationMetadata.Unmarshal(m, b) -} -func (m *V2OperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_V2OperationMetadata.Marshal(b, m, deterministic) -} -func (m *V2OperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_V2OperationMetadata.Merge(m, src) -} -func (m *V2OperationMetadata) XXX_Size() int { - return xxx_messageInfo_V2OperationMetadata.Size(m) -} -func (m *V2OperationMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_V2OperationMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_V2OperationMetadata proto.InternalMessageInfo - -func init() { - proto.RegisterType((*ListZonesRequest)(nil), "google.bigtable.admin.cluster.v1.ListZonesRequest") - proto.RegisterType((*ListZonesResponse)(nil), "google.bigtable.admin.cluster.v1.ListZonesResponse") - proto.RegisterType((*GetClusterRequest)(nil), "google.bigtable.admin.cluster.v1.GetClusterRequest") - proto.RegisterType((*ListClustersRequest)(nil), "google.bigtable.admin.cluster.v1.ListClustersRequest") - proto.RegisterType((*ListClustersResponse)(nil), "google.bigtable.admin.cluster.v1.ListClustersResponse") - proto.RegisterType((*CreateClusterRequest)(nil), "google.bigtable.admin.cluster.v1.CreateClusterRequest") - proto.RegisterType((*CreateClusterMetadata)(nil), "google.bigtable.admin.cluster.v1.CreateClusterMetadata") - proto.RegisterType((*UpdateClusterMetadata)(nil), "google.bigtable.admin.cluster.v1.UpdateClusterMetadata") - proto.RegisterType((*DeleteClusterRequest)(nil), "google.bigtable.admin.cluster.v1.DeleteClusterRequest") - proto.RegisterType((*UndeleteClusterRequest)(nil), "google.bigtable.admin.cluster.v1.UndeleteClusterRequest") - proto.RegisterType((*UndeleteClusterMetadata)(nil), "google.bigtable.admin.cluster.v1.UndeleteClusterMetadata") - proto.RegisterType((*V2OperationMetadata)(nil), "google.bigtable.admin.cluster.v1.V2OperationMetadata") -} - -func init() { - proto.RegisterFile("google/bigtable/admin/cluster/v1/bigtable_cluster_service_messages.proto", fileDescriptor_2a8715cfb8408734) -} - -var fileDescriptor_2a8715cfb8408734 = []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, 0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 0xf6, 0x79, 0x16, 0x2d, - 0x31, 0x7e, 0x76, 0xad, 0xf1, 0x1a, 0x03, 0xfe, 0x0f, 0x5e, 0x27, 0x94, 0x4f, 0x30, 0x59, 0xd9, - 0xab, 0x86, 0x2f, 0x1b, 0xd4, 0x5a, 0xad, 0x41, 0x3d, 0x83, 0xd6, 0x6b, 0x4c, 0x70, 0x95, 0x8d, - 0xf5, 0x9e, 0xc3, 0xfd, 0x73, 0x1e, 0xad, 0x8a, 0xfe, 0x4e, 0xe0, 0xc1, 0x15, 0xf8, 0xe2, 0x11, - 0xae, 0x8e, 0x8b, 0xfc, 0xd3, 0x6a, 0x34, 0x6a, 0x39, 0x6e, 0xc3, 0xf6, 0xa7, 0xfe, 0xfb, 0x0c, - 0x73, 0xaa, 0x98, 0xe0, 0x56, 0xd2, 0xe0, 0x07, 0x81, 0x27, 0x13, 0x91, 0x56, 0xee, 0xc0, 0xe0, - 0xf1, 0xc0, 0xa4, 0x8c, 0xa9, 0x8f, 0xfa, 0x1b, 0x38, 0x31, 0xbf, 0xc0, 0x69, 0xd1, 0xfd, 0x94, - 0x5c, 0x1c, 0x99, 0x42, 0xb1, 0x48, 0x28, 0x8f, 0x7d, 0x91, 0xc7, 0x41, 0x8c, 0xbc, 0xd4, 0x16, - 0xe8, 0x14, 0xcd, 0x98, 0xbc, 0xfe, 0x0f, 0x38, 0x30, 0xc7, 0xf1, 0xed, 0x92, 0xf3, 0xe2, 0x4f, - 0x00, 0x00, 0x00, 0xff, 0xff, 0xc1, 0x75, 0x68, 0x13, 0xa2, 0x06, 0x00, 0x00, -} 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 deleted file mode 100644 index 4286ddb5..00000000 --- a/vendor/google.golang.org/genproto/googleapis/bigtable/admin/table/v1/bigtable_table_data.pb.go +++ /dev/null @@ -1,459 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/bigtable/admin/table/v1/bigtable_table_data.proto - -package table - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - longrunning "google.golang.org/genproto/googleapis/longrunning" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -type Table_TimestampGranularity int32 - -const ( - Table_MILLIS Table_TimestampGranularity = 0 -) - -var Table_TimestampGranularity_name = map[int32]string{ - 0: "MILLIS", -} - -var Table_TimestampGranularity_value = map[string]int32{ - "MILLIS": 0, -} - -func (x Table_TimestampGranularity) String() string { - return proto.EnumName(Table_TimestampGranularity_name, int32(x)) -} - -func (Table_TimestampGranularity) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b9ed6c4c9bdaf892, []int{0, 0} -} - -// A collection of user data indexed by row, column, and timestamp. -// Each table is served using the resources of its parent cluster. -type Table struct { - // A unique identifier of the form - // /tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]* - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // If this Table is in the process of being created, the Operation used to - // track its progress. As long as this operation is present, the Table will - // not accept any Table Admin or Read/Write requests. - CurrentOperation *longrunning.Operation `protobuf:"bytes,2,opt,name=current_operation,json=currentOperation,proto3" json:"current_operation,omitempty"` - // The column families configured for this table, mapped by column family id. - ColumnFamilies map[string]*ColumnFamily `protobuf:"bytes,3,rep,name=column_families,json=columnFamilies,proto3" json:"column_families,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // The granularity (e.g. MILLIS, MICROS) at which timestamps are stored in - // this table. Timestamps not matching the granularity will be rejected. - // Cannot be changed once the table is created. - Granularity Table_TimestampGranularity `protobuf:"varint,4,opt,name=granularity,proto3,enum=google.bigtable.admin.table.v1.Table_TimestampGranularity" json:"granularity,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_b9ed6c4c9bdaf892, []int{0} -} - -func (m *Table) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Table.Unmarshal(m, b) -} -func (m *Table) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Table.Marshal(b, m, deterministic) -} -func (m *Table) XXX_Merge(src proto.Message) { - xxx_messageInfo_Table.Merge(m, src) -} -func (m *Table) XXX_Size() int { - return xxx_messageInfo_Table.Size(m) -} -func (m *Table) XXX_DiscardUnknown() { - xxx_messageInfo_Table.DiscardUnknown(m) -} - -var xxx_messageInfo_Table proto.InternalMessageInfo - -func (m *Table) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Table) GetCurrentOperation() *longrunning.Operation { - if m != nil { - return m.CurrentOperation - } - return nil -} - -func (m *Table) GetColumnFamilies() map[string]*ColumnFamily { - if m != nil { - return m.ColumnFamilies - } - return nil -} - -func (m *Table) GetGranularity() Table_TimestampGranularity { - if m != nil { - return m.Granularity - } - return Table_MILLIS -} - -// A set of columns within a table which share a common configuration. -type ColumnFamily struct { - // A unique identifier of the form /columnFamilies/[-_.a-zA-Z0-9]+ - // The last segment is the same as the "name" field in - // google.bigtable.v1.Family. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Garbage collection expression specified by the following grammar: - // GC = EXPR - // | "" ; - // EXPR = EXPR, "||", EXPR (* lowest precedence *) - // | EXPR, "&&", EXPR - // | "(", EXPR, ")" (* highest precedence *) - // | PROP ; - // PROP = "version() >", NUM32 - // | "age() >", NUM64, [ UNIT ] ; - // NUM32 = non-zero-digit { digit } ; (* # NUM32 <= 2^32 - 1 *) - // NUM64 = non-zero-digit { digit } ; (* # NUM64 <= 2^63 - 1 *) - // UNIT = "d" | "h" | "m" (* d=days, h=hours, m=minutes, else micros *) - // GC expressions can be up to 500 characters in length - // - // The different types of PROP are defined as follows: - // version() - cell index, counting from most recent and starting at 1 - // age() - age of the cell (current time minus cell timestamp) - // - // Example: "version() > 3 || (age() > 3d && version() > 1)" - // drop cells beyond the most recent three, and drop cells older than three - // days unless they're the most recent cell in the row/column - // - // Garbage collection executes opportunistically in the background, and so - // it's possible for reads to return a cell even if it matches the active GC - // expression for its family. - GcExpression string `protobuf:"bytes,2,opt,name=gc_expression,json=gcExpression,proto3" json:"gc_expression,omitempty"` - // Garbage collection rule specified as a protobuf. - // Supersedes `gc_expression`. - // Must serialize to at most 500 bytes. - // - // NOTE: Garbage collection executes opportunistically in the background, and - // so it's possible for reads to return a cell even if it matches the active - // GC expression for its family. - GcRule *GcRule `protobuf:"bytes,3,opt,name=gc_rule,json=gcRule,proto3" json:"gc_rule,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b9ed6c4c9bdaf892, []int{1} -} - -func (m *ColumnFamily) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ColumnFamily.Unmarshal(m, b) -} -func (m *ColumnFamily) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ColumnFamily.Marshal(b, m, deterministic) -} -func (m *ColumnFamily) XXX_Merge(src proto.Message) { - xxx_messageInfo_ColumnFamily.Merge(m, src) -} -func (m *ColumnFamily) XXX_Size() int { - return xxx_messageInfo_ColumnFamily.Size(m) -} -func (m *ColumnFamily) XXX_DiscardUnknown() { - xxx_messageInfo_ColumnFamily.DiscardUnknown(m) -} - -var xxx_messageInfo_ColumnFamily proto.InternalMessageInfo - -func (m *ColumnFamily) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ColumnFamily) GetGcExpression() string { - if m != nil { - return m.GcExpression - } - return "" -} - -func (m *ColumnFamily) GetGcRule() *GcRule { - if m != nil { - return m.GcRule - } - return nil -} - -// Rule for determining which cells to delete during garbage collection. -type GcRule struct { - // Types that are valid to be assigned to Rule: - // *GcRule_MaxNumVersions - // *GcRule_MaxAge - // *GcRule_Intersection_ - // *GcRule_Union_ - Rule isGcRule_Rule `protobuf_oneof:"rule"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b9ed6c4c9bdaf892, []int{2} -} - -func (m *GcRule) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GcRule.Unmarshal(m, b) -} -func (m *GcRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GcRule.Marshal(b, m, deterministic) -} -func (m *GcRule) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcRule.Merge(m, src) -} -func (m *GcRule) XXX_Size() int { - return xxx_messageInfo_GcRule.Size(m) -} -func (m *GcRule) XXX_DiscardUnknown() { - xxx_messageInfo_GcRule.DiscardUnknown(m) -} - -var xxx_messageInfo_GcRule proto.InternalMessageInfo - -type isGcRule_Rule interface { - isGcRule_Rule() -} - -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 (m *GcRule) GetRule() isGcRule_Rule { - if m != nil { - return m.Rule - } - return nil -} - -func (m *GcRule) GetMaxNumVersions() int32 { - if x, ok := m.GetRule().(*GcRule_MaxNumVersions); ok { - return x.MaxNumVersions - } - return 0 -} - -func (m *GcRule) GetMaxAge() *duration.Duration { - if x, ok := m.GetRule().(*GcRule_MaxAge); ok { - return x.MaxAge - } - return nil -} - -func (m *GcRule) GetIntersection() *GcRule_Intersection { - if x, ok := m.GetRule().(*GcRule_Intersection_); ok { - return x.Intersection - } - return nil -} - -func (m *GcRule) GetUnion() *GcRule_Union { - if x, ok := m.GetRule().(*GcRule_Union_); ok { - return x.Union - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*GcRule) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*GcRule_MaxNumVersions)(nil), - (*GcRule_MaxAge)(nil), - (*GcRule_Intersection_)(nil), - (*GcRule_Union_)(nil), - } -} - -// A GcRule which deletes cells matching all of the given rules. -type GcRule_Intersection struct { - // Only delete cells which would be deleted by every element of `rules`. - Rules []*GcRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b9ed6c4c9bdaf892, []int{2, 0} -} - -func (m *GcRule_Intersection) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GcRule_Intersection.Unmarshal(m, b) -} -func (m *GcRule_Intersection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GcRule_Intersection.Marshal(b, m, deterministic) -} -func (m *GcRule_Intersection) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcRule_Intersection.Merge(m, src) -} -func (m *GcRule_Intersection) XXX_Size() int { - return xxx_messageInfo_GcRule_Intersection.Size(m) -} -func (m *GcRule_Intersection) XXX_DiscardUnknown() { - xxx_messageInfo_GcRule_Intersection.DiscardUnknown(m) -} - -var xxx_messageInfo_GcRule_Intersection proto.InternalMessageInfo - -func (m *GcRule_Intersection) GetRules() []*GcRule { - if m != nil { - return m.Rules - } - return nil -} - -// A GcRule which deletes cells matching any of the given rules. -type GcRule_Union struct { - // Delete cells which would be deleted by any element of `rules`. - Rules []*GcRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b9ed6c4c9bdaf892, []int{2, 1} -} - -func (m *GcRule_Union) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GcRule_Union.Unmarshal(m, b) -} -func (m *GcRule_Union) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GcRule_Union.Marshal(b, m, deterministic) -} -func (m *GcRule_Union) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcRule_Union.Merge(m, src) -} -func (m *GcRule_Union) XXX_Size() int { - return xxx_messageInfo_GcRule_Union.Size(m) -} -func (m *GcRule_Union) XXX_DiscardUnknown() { - xxx_messageInfo_GcRule_Union.DiscardUnknown(m) -} - -var xxx_messageInfo_GcRule_Union proto.InternalMessageInfo - -func (m *GcRule_Union) GetRules() []*GcRule { - if m != nil { - return m.Rules - } - return nil -} - -func init() { - proto.RegisterEnum("google.bigtable.admin.table.v1.Table_TimestampGranularity", Table_TimestampGranularity_name, Table_TimestampGranularity_value) - proto.RegisterType((*Table)(nil), "google.bigtable.admin.table.v1.Table") - proto.RegisterMapType((map[string]*ColumnFamily)(nil), "google.bigtable.admin.table.v1.Table.ColumnFamiliesEntry") - proto.RegisterType((*ColumnFamily)(nil), "google.bigtable.admin.table.v1.ColumnFamily") - proto.RegisterType((*GcRule)(nil), "google.bigtable.admin.table.v1.GcRule") - proto.RegisterType((*GcRule_Intersection)(nil), "google.bigtable.admin.table.v1.GcRule.Intersection") - proto.RegisterType((*GcRule_Union)(nil), "google.bigtable.admin.table.v1.GcRule.Union") -} - -func init() { - proto.RegisterFile("google/bigtable/admin/table/v1/bigtable_table_data.proto", fileDescriptor_b9ed6c4c9bdaf892) -} - -var fileDescriptor_b9ed6c4c9bdaf892 = []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, - 0xc8, 0x85, 0x6d, 0xbe, 0x98, 0x53, 0x10, 0xbb, 0xcd, 0x6d, 0x32, 0x75, 0xc4, 0x29, 0x28, 0x42, - 0xb8, 0x66, 0xb7, 0x23, 0x98, 0xbb, 0x2b, 0x97, 0x5c, 0x69, 0x5f, 0xfb, 0xc6, 0x8f, 0xe2, 0xa7, - 0xf0, 0x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, 0xd5, 0xa1, 0xc5, 0x7b, - 0xee, 0xd0, 0x1e, 0x36, 0xa2, 0x36, 0x27, 0xb3, 0x97, 0x8c, 0xa2, 0x4f, 0xd0, 0x49, 0x45, 0x41, - 0x55, 0x4e, 0x13, 0x73, 0x2a, 0xad, 0xe5, 0xad, 0xeb, 0x59, 0xc6, 0x47, 0x35, 0xe9, 0x61, 0x23, - 0xba, 0x80, 0x42, 0x7b, 0xd0, 0xd2, 0xa2, 0x64, 0x36, 0xaf, 0x37, 0x3e, 0xc7, 0xfc, 0x20, 0x2c, - 0xcc, 0x8a, 0xfb, 0xc7, 0xd0, 0xa9, 0xef, 0x82, 0x9e, 0x43, 0xab, 0xec, 0x6d, 0xd9, 0x07, 0xff, - 0x1f, 0x9a, 0x6b, 0x45, 0xfd, 0x7d, 0x68, 0x19, 0xfe, 0xff, 0x61, 0x46, 0x6d, 0x68, 0x96, 0xc1, - 0xe8, 0x9b, 0x07, 0x41, 0x22, 0xf9, 0x15, 0xe2, 0xd1, 0xdd, 0x91, 0x5b, 0x30, 0x9f, 0xc8, 0x1e, - 0x29, 0xc8, 0x49, 0x39, 0x92, 0x13, 0xef, 0xf3, 0xae, 0x53, 0x32, 0x99, 0x11, 0xc1, 0xb0, 0x54, - 0x2c, 0x64, 0x54, 0x98, 0x81, 0x85, 0x76, 0x89, 0x4c, 0xd2, 0xfc, 0x4f, 0x7f, 0xbd, 0x67, 0x26, - 0x18, 0xb7, 0x4d, 0xfd, 0xd6, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd7, 0x80, 0x76, 0xdc, 0x24, - 0x05, 0x00, 0x00, -} 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 deleted file mode 100644 index 3f2efe84..00000000 --- a/vendor/google.golang.org/genproto/googleapis/bigtable/admin/table/v1/bigtable_table_service.pb.go +++ /dev/null @@ -1,463 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/bigtable/admin/table/v1/bigtable_table_service.proto - -package table - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -func init() { - proto.RegisterFile("google/bigtable/admin/table/v1/bigtable_table_service.proto", fileDescriptor_3185ad3e7140bd14) -} - -var fileDescriptor_3185ad3e7140bd14 = []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, - 0x58, 0xb9, 0x82, 0x68, 0xaf, 0xaa, 0x84, 0x72, 0xd7, 0x56, 0xa2, 0x20, 0x95, 0x03, 0x16, 0x96, - 0xca, 0xc9, 0x3d, 0xa2, 0x40, 0x62, 0x87, 0xd8, 0x39, 0x54, 0x50, 0x17, 0x16, 0xfe, 0x00, 0x58, - 0x61, 0x62, 0x64, 0x82, 0x1d, 0x76, 0x56, 0xfe, 0x05, 0xfe, 0x10, 0x14, 0x3b, 0xa1, 0x69, 0xf9, - 0xe1, 0x73, 0xd5, 0x25, 0xe7, 0xb3, 0xbf, 0xdf, 0xf7, 0x3e, 0xcf, 0x7e, 0x96, 0xf1, 0x7a, 0x2a, - 0x44, 0x9a, 0x03, 0x8d, 0xb3, 0x54, 0xb1, 0x38, 0x07, 0xca, 0xe6, 0x45, 0xc6, 0xa9, 0x19, 0x2f, - 0xc2, 0xdf, 0xf3, 0x7b, 0xe6, 0x2b, 0xa1, 0x5a, 0x64, 0x09, 0x04, 0x65, 0x25, 0x94, 0x20, 0x57, - 0x8d, 0x39, 0xe8, 0x44, 0x81, 0x36, 0x07, 0x66, 0xbc, 0x08, 0x87, 0x57, 0xda, 0xe0, 0xac, 0xcc, - 0x28, 0xe3, 0x5c, 0x28, 0xa6, 0x32, 0xc1, 0xa5, 0x71, 0x0f, 0x57, 0xdd, 0x52, 0xcf, 0x99, 0x62, - 0xad, 0x73, 0x7a, 0x22, 0xe8, 0xbd, 0x02, 0xa4, 0x64, 0x29, 0x74, 0xf9, 0x2f, 0xb7, 0x51, 0xf4, - 0xbf, 0xb8, 0x7e, 0x42, 0xa1, 0x28, 0xd5, 0xbe, 0x59, 0x1c, 0x7d, 0x3d, 0x8f, 0x2f, 0x46, 0x6d, - 0x98, 0x87, 0xcd, 0xe7, 0x81, 0x09, 0x42, 0x3e, 0x22, 0x3c, 0x98, 0x54, 0xc0, 0x94, 0x99, 0x26, - 0xa3, 0xe0, 0xff, 0x9b, 0x10, 0xf4, 0xc4, 0x33, 0x78, 0x5e, 0x83, 0x54, 0xc3, 0x6b, 0x36, 0x8f, - 0x56, 0x7b, 0xe3, 0xd7, 0x3f, 0x7e, 0xbe, 0x3d, 0x73, 0xc3, 0xa3, 0x4d, 0x4d, 0xaf, 0x38, 0x2b, - 0x60, 0xa3, 0xac, 0xc4, 0x53, 0x48, 0x94, 0xa4, 0x3e, 0x7d, 0x29, 0x38, 0x34, 0xbf, 0x49, 0x5e, - 0x4b, 0x05, 0x95, 0xa4, 0xfe, 0x81, 0xd9, 0x01, 0x39, 0x46, 0x3e, 0xf9, 0x84, 0x30, 0xbe, 0x9b, - 0x49, 0xa5, 0x23, 0x49, 0x12, 0xda, 0x32, 0x1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, 0x80, 0x93, 0xcf, 0x08, - 0x5f, 0x88, 0xea, 0xfc, 0x99, 0xa1, 0x98, 0x89, 0x17, 0x92, 0xdc, 0xb4, 0x11, 0x1f, 0xd5, 0xdb, - 0x68, 0xef, 0x6b, 0xda, 0x1d, 0x6f, 0x4b, 0xd3, 0x9a, 0x57, 0xc3, 0xa9, 0xe3, 0xe3, 0x23, 0xe9, - 0xc6, 0xc8, 0x8f, 0xde, 0x20, 0xec, 0x25, 0xa2, 0xb0, 0x70, 0x46, 0xc3, 0xbf, 0x3d, 0x32, 0x72, - 0xb7, 0xc1, 0xdb, 0x45, 0x8f, 0x27, 0xad, 0x3b, 0x15, 0x39, 0xe3, 0x69, 0x20, 0xaa, 0x94, 0xa6, - 0xc0, 0x35, 0x3c, 0x35, 0x4b, 0xac, 0xcc, 0xe4, 0xbf, 0xde, 0xc1, 0x75, 0x3d, 0x88, 0xcf, 0x6a, - 0xfd, 0xca, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x03, 0x65, 0xb4, 0xe0, 0xeb, 0x07, 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 - -// BigtableTableServiceClient is the client API for BigtableTableService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type BigtableTableServiceClient interface { - // Creates a new table, to be served from a specified cluster. - // The table can be created with a full set of initial column families, - // specified in the request. - CreateTable(ctx context.Context, in *CreateTableRequest, opts ...grpc.CallOption) (*Table, error) - // Lists the names of all tables served from a specified cluster. - ListTables(ctx context.Context, in *ListTablesRequest, opts ...grpc.CallOption) (*ListTablesResponse, error) - // Gets the schema of the specified table, including its column families. - GetTable(ctx context.Context, in *GetTableRequest, opts ...grpc.CallOption) (*Table, error) - // Permanently deletes a specified table and all of its data. - DeleteTable(ctx context.Context, in *DeleteTableRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Changes the name of a specified table. - // Cannot be used to move tables between clusters, zones, or projects. - RenameTable(ctx context.Context, in *RenameTableRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Creates a new column family within a specified table. - CreateColumnFamily(ctx context.Context, in *CreateColumnFamilyRequest, opts ...grpc.CallOption) (*ColumnFamily, error) - // Changes the configuration of a specified column family. - UpdateColumnFamily(ctx context.Context, in *ColumnFamily, opts ...grpc.CallOption) (*ColumnFamily, error) - // Permanently deletes a specified column family and all of its data. - DeleteColumnFamily(ctx context.Context, in *DeleteColumnFamilyRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Delete all rows in a table corresponding to a particular prefix - BulkDeleteRows(ctx context.Context, in *BulkDeleteRowsRequest, opts ...grpc.CallOption) (*empty.Empty, error) -} - -type bigtableTableServiceClient struct { - cc *grpc.ClientConn -} - -func NewBigtableTableServiceClient(cc *grpc.ClientConn) BigtableTableServiceClient { - return &bigtableTableServiceClient{cc} -} - -func (c *bigtableTableServiceClient) CreateTable(ctx context.Context, in *CreateTableRequest, opts ...grpc.CallOption) (*Table, error) { - out := new(Table) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.table.v1.BigtableTableService/CreateTable", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableTableServiceClient) ListTables(ctx context.Context, in *ListTablesRequest, opts ...grpc.CallOption) (*ListTablesResponse, error) { - out := new(ListTablesResponse) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.table.v1.BigtableTableService/ListTables", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableTableServiceClient) GetTable(ctx context.Context, in *GetTableRequest, opts ...grpc.CallOption) (*Table, error) { - out := new(Table) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.table.v1.BigtableTableService/GetTable", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableTableServiceClient) DeleteTable(ctx context.Context, in *DeleteTableRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.table.v1.BigtableTableService/DeleteTable", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableTableServiceClient) RenameTable(ctx context.Context, in *RenameTableRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.table.v1.BigtableTableService/RenameTable", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableTableServiceClient) CreateColumnFamily(ctx context.Context, in *CreateColumnFamilyRequest, opts ...grpc.CallOption) (*ColumnFamily, error) { - out := new(ColumnFamily) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.table.v1.BigtableTableService/CreateColumnFamily", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableTableServiceClient) UpdateColumnFamily(ctx context.Context, in *ColumnFamily, opts ...grpc.CallOption) (*ColumnFamily, error) { - out := new(ColumnFamily) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.table.v1.BigtableTableService/UpdateColumnFamily", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableTableServiceClient) DeleteColumnFamily(ctx context.Context, in *DeleteColumnFamilyRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.table.v1.BigtableTableService/DeleteColumnFamily", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableTableServiceClient) BulkDeleteRows(ctx context.Context, in *BulkDeleteRowsRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.table.v1.BigtableTableService/BulkDeleteRows", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// BigtableTableServiceServer is the server API for BigtableTableService service. -type BigtableTableServiceServer interface { - // Creates a new table, to be served from a specified cluster. - // The table can be created with a full set of initial column families, - // specified in the request. - CreateTable(context.Context, *CreateTableRequest) (*Table, error) - // Lists the names of all tables served from a specified cluster. - ListTables(context.Context, *ListTablesRequest) (*ListTablesResponse, error) - // Gets the schema of the specified table, including its column families. - GetTable(context.Context, *GetTableRequest) (*Table, error) - // Permanently deletes a specified table and all of its data. - DeleteTable(context.Context, *DeleteTableRequest) (*empty.Empty, error) - // Changes the name of a specified table. - // Cannot be used to move tables between clusters, zones, or projects. - RenameTable(context.Context, *RenameTableRequest) (*empty.Empty, error) - // Creates a new column family within a specified table. - CreateColumnFamily(context.Context, *CreateColumnFamilyRequest) (*ColumnFamily, error) - // Changes the configuration of a specified column family. - UpdateColumnFamily(context.Context, *ColumnFamily) (*ColumnFamily, error) - // Permanently deletes a specified column family and all of its data. - DeleteColumnFamily(context.Context, *DeleteColumnFamilyRequest) (*empty.Empty, error) - // Delete all rows in a table corresponding to a particular prefix - BulkDeleteRows(context.Context, *BulkDeleteRowsRequest) (*empty.Empty, error) -} - -// UnimplementedBigtableTableServiceServer can be embedded to have forward compatible implementations. -type UnimplementedBigtableTableServiceServer struct { -} - -func (*UnimplementedBigtableTableServiceServer) CreateTable(ctx context.Context, req *CreateTableRequest) (*Table, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateTable not implemented") -} -func (*UnimplementedBigtableTableServiceServer) ListTables(ctx context.Context, req *ListTablesRequest) (*ListTablesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListTables not implemented") -} -func (*UnimplementedBigtableTableServiceServer) GetTable(ctx context.Context, req *GetTableRequest) (*Table, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTable not implemented") -} -func (*UnimplementedBigtableTableServiceServer) DeleteTable(ctx context.Context, req *DeleteTableRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteTable not implemented") -} -func (*UnimplementedBigtableTableServiceServer) RenameTable(ctx context.Context, req *RenameTableRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method RenameTable not implemented") -} -func (*UnimplementedBigtableTableServiceServer) CreateColumnFamily(ctx context.Context, req *CreateColumnFamilyRequest) (*ColumnFamily, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateColumnFamily not implemented") -} -func (*UnimplementedBigtableTableServiceServer) UpdateColumnFamily(ctx context.Context, req *ColumnFamily) (*ColumnFamily, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateColumnFamily not implemented") -} -func (*UnimplementedBigtableTableServiceServer) DeleteColumnFamily(ctx context.Context, req *DeleteColumnFamilyRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteColumnFamily not implemented") -} -func (*UnimplementedBigtableTableServiceServer) BulkDeleteRows(ctx context.Context, req *BulkDeleteRowsRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method BulkDeleteRows not implemented") -} - -func RegisterBigtableTableServiceServer(s *grpc.Server, srv BigtableTableServiceServer) { - s.RegisterService(&_BigtableTableService_serviceDesc, srv) -} - -func _BigtableTableService_CreateTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateTableRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableTableServiceServer).CreateTable(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.table.v1.BigtableTableService/CreateTable", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableTableServiceServer).CreateTable(ctx, req.(*CreateTableRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableTableService_ListTables_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListTablesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableTableServiceServer).ListTables(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.table.v1.BigtableTableService/ListTables", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableTableServiceServer).ListTables(ctx, req.(*ListTablesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableTableService_GetTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTableRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableTableServiceServer).GetTable(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.table.v1.BigtableTableService/GetTable", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableTableServiceServer).GetTable(ctx, req.(*GetTableRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableTableService_DeleteTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteTableRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableTableServiceServer).DeleteTable(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.table.v1.BigtableTableService/DeleteTable", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableTableServiceServer).DeleteTable(ctx, req.(*DeleteTableRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableTableService_RenameTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RenameTableRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableTableServiceServer).RenameTable(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.table.v1.BigtableTableService/RenameTable", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableTableServiceServer).RenameTable(ctx, req.(*RenameTableRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableTableService_CreateColumnFamily_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateColumnFamilyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableTableServiceServer).CreateColumnFamily(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.table.v1.BigtableTableService/CreateColumnFamily", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableTableServiceServer).CreateColumnFamily(ctx, req.(*CreateColumnFamilyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableTableService_UpdateColumnFamily_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ColumnFamily) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableTableServiceServer).UpdateColumnFamily(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.table.v1.BigtableTableService/UpdateColumnFamily", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableTableServiceServer).UpdateColumnFamily(ctx, req.(*ColumnFamily)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableTableService_DeleteColumnFamily_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteColumnFamilyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableTableServiceServer).DeleteColumnFamily(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.table.v1.BigtableTableService/DeleteColumnFamily", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableTableServiceServer).DeleteColumnFamily(ctx, req.(*DeleteColumnFamilyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableTableService_BulkDeleteRows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BulkDeleteRowsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableTableServiceServer).BulkDeleteRows(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.table.v1.BigtableTableService/BulkDeleteRows", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableTableServiceServer).BulkDeleteRows(ctx, req.(*BulkDeleteRowsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _BigtableTableService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.bigtable.admin.table.v1.BigtableTableService", - HandlerType: (*BigtableTableServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateTable", - Handler: _BigtableTableService_CreateTable_Handler, - }, - { - MethodName: "ListTables", - Handler: _BigtableTableService_ListTables_Handler, - }, - { - MethodName: "GetTable", - Handler: _BigtableTableService_GetTable_Handler, - }, - { - MethodName: "DeleteTable", - Handler: _BigtableTableService_DeleteTable_Handler, - }, - { - MethodName: "RenameTable", - Handler: _BigtableTableService_RenameTable_Handler, - }, - { - MethodName: "CreateColumnFamily", - Handler: _BigtableTableService_CreateColumnFamily_Handler, - }, - { - MethodName: "UpdateColumnFamily", - Handler: _BigtableTableService_UpdateColumnFamily_Handler, - }, - { - MethodName: "DeleteColumnFamily", - Handler: _BigtableTableService_DeleteColumnFamily_Handler, - }, - { - MethodName: "BulkDeleteRows", - Handler: _BigtableTableService_BulkDeleteRows_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/bigtable/admin/table/v1/bigtable_table_service.proto", -} 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 deleted file mode 100644 index aab7bc3c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/bigtable/admin/table/v1/bigtable_table_service_messages.pb.go +++ /dev/null @@ -1,557 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/bigtable/admin/table/v1/bigtable_table_service_messages.proto - -package table - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -type CreateTableRequest struct { - // The unique name of the cluster in which to create the new table. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The name by which the new table should be referred to within the cluster, - // e.g. "foobar" rather than "/tables/foobar". - TableId string `protobuf:"bytes,2,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"` - // The Table to create. The `name` field of the Table and all of its - // ColumnFamilies must be left blank, and will be populated in the response. - Table *Table `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"` - // The optional list of row keys that will be used to initially split the - // table into several tablets (Tablets are similar to HBase regions). - // Given two split keys, "s1" and "s2", three tablets will be created, - // spanning the key ranges: [, s1), [s1, s2), [s2, ). - // - // Example: - // * Row keys := ["a", "apple", "custom", "customer_1", "customer_2", - // "other", "zz"] - // * initial_split_keys := ["apple", "customer_1", "customer_2", "other"] - // * Key assignment: - // - Tablet 1 [, apple) => {"a"}. - // - Tablet 2 [apple, customer_1) => {"apple", "custom"}. - // - Tablet 3 [customer_1, customer_2) => {"customer_1"}. - // - Tablet 4 [customer_2, other) => {"customer_2"}. - // - Tablet 5 [other, ) => {"other", "zz"}. - InitialSplitKeys []string `protobuf:"bytes,4,rep,name=initial_split_keys,json=initialSplitKeys,proto3" json:"initial_split_keys,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a159d72e7e8b0be6, []int{0} -} - -func (m *CreateTableRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateTableRequest.Unmarshal(m, b) -} -func (m *CreateTableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateTableRequest.Marshal(b, m, deterministic) -} -func (m *CreateTableRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateTableRequest.Merge(m, src) -} -func (m *CreateTableRequest) XXX_Size() int { - return xxx_messageInfo_CreateTableRequest.Size(m) -} -func (m *CreateTableRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateTableRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateTableRequest proto.InternalMessageInfo - -func (m *CreateTableRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *CreateTableRequest) GetTableId() string { - if m != nil { - return m.TableId - } - return "" -} - -func (m *CreateTableRequest) GetTable() *Table { - if m != nil { - return m.Table - } - return nil -} - -func (m *CreateTableRequest) GetInitialSplitKeys() []string { - if m != nil { - return m.InitialSplitKeys - } - return nil -} - -type ListTablesRequest struct { - // The unique name of the cluster for which tables should be listed. - 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 *ListTablesRequest) Reset() { *m = ListTablesRequest{} } -func (m *ListTablesRequest) String() string { return proto.CompactTextString(m) } -func (*ListTablesRequest) ProtoMessage() {} -func (*ListTablesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a159d72e7e8b0be6, []int{1} -} - -func (m *ListTablesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTablesRequest.Unmarshal(m, b) -} -func (m *ListTablesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTablesRequest.Marshal(b, m, deterministic) -} -func (m *ListTablesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTablesRequest.Merge(m, src) -} -func (m *ListTablesRequest) XXX_Size() int { - return xxx_messageInfo_ListTablesRequest.Size(m) -} -func (m *ListTablesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListTablesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTablesRequest proto.InternalMessageInfo - -func (m *ListTablesRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -type ListTablesResponse struct { - // The tables present in the requested cluster. - // At present, only the names of the tables are populated. - Tables []*Table `protobuf:"bytes,1,rep,name=tables,proto3" json:"tables,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a159d72e7e8b0be6, []int{2} -} - -func (m *ListTablesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTablesResponse.Unmarshal(m, b) -} -func (m *ListTablesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTablesResponse.Marshal(b, m, deterministic) -} -func (m *ListTablesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTablesResponse.Merge(m, src) -} -func (m *ListTablesResponse) XXX_Size() int { - return xxx_messageInfo_ListTablesResponse.Size(m) -} -func (m *ListTablesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListTablesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTablesResponse proto.InternalMessageInfo - -func (m *ListTablesResponse) GetTables() []*Table { - if m != nil { - return m.Tables - } - return nil -} - -type GetTableRequest struct { - // The unique name of the requested table. - 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 *GetTableRequest) Reset() { *m = GetTableRequest{} } -func (m *GetTableRequest) String() string { return proto.CompactTextString(m) } -func (*GetTableRequest) ProtoMessage() {} -func (*GetTableRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a159d72e7e8b0be6, []int{3} -} - -func (m *GetTableRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTableRequest.Unmarshal(m, b) -} -func (m *GetTableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTableRequest.Marshal(b, m, deterministic) -} -func (m *GetTableRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTableRequest.Merge(m, src) -} -func (m *GetTableRequest) XXX_Size() int { - return xxx_messageInfo_GetTableRequest.Size(m) -} -func (m *GetTableRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTableRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetTableRequest proto.InternalMessageInfo - -func (m *GetTableRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -type DeleteTableRequest struct { - // The unique name of the table 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 (m *DeleteTableRequest) Reset() { *m = DeleteTableRequest{} } -func (m *DeleteTableRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteTableRequest) ProtoMessage() {} -func (*DeleteTableRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a159d72e7e8b0be6, []int{4} -} - -func (m *DeleteTableRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteTableRequest.Unmarshal(m, b) -} -func (m *DeleteTableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteTableRequest.Marshal(b, m, deterministic) -} -func (m *DeleteTableRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteTableRequest.Merge(m, src) -} -func (m *DeleteTableRequest) XXX_Size() int { - return xxx_messageInfo_DeleteTableRequest.Size(m) -} -func (m *DeleteTableRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteTableRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteTableRequest proto.InternalMessageInfo - -func (m *DeleteTableRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -type RenameTableRequest struct { - // The current unique name of the table. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The new name by which the table should be referred to within its containing - // cluster, e.g. "foobar" rather than "/tables/foobar". - NewId string `protobuf:"bytes,2,opt,name=new_id,json=newId,proto3" json:"new_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a159d72e7e8b0be6, []int{5} -} - -func (m *RenameTableRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RenameTableRequest.Unmarshal(m, b) -} -func (m *RenameTableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RenameTableRequest.Marshal(b, m, deterministic) -} -func (m *RenameTableRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RenameTableRequest.Merge(m, src) -} -func (m *RenameTableRequest) XXX_Size() int { - return xxx_messageInfo_RenameTableRequest.Size(m) -} -func (m *RenameTableRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RenameTableRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_RenameTableRequest proto.InternalMessageInfo - -func (m *RenameTableRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *RenameTableRequest) GetNewId() string { - if m != nil { - return m.NewId - } - return "" -} - -type CreateColumnFamilyRequest struct { - // The unique name of the table in which to create the new column family. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The name by which the new column family should be referred to within the - // table, e.g. "foobar" rather than "/columnFamilies/foobar". - ColumnFamilyId string `protobuf:"bytes,2,opt,name=column_family_id,json=columnFamilyId,proto3" json:"column_family_id,omitempty"` - // The column family to create. The `name` field must be left blank. - ColumnFamily *ColumnFamily `protobuf:"bytes,3,opt,name=column_family,json=columnFamily,proto3" json:"column_family,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateColumnFamilyRequest) Reset() { *m = CreateColumnFamilyRequest{} } -func (m *CreateColumnFamilyRequest) String() string { return proto.CompactTextString(m) } -func (*CreateColumnFamilyRequest) ProtoMessage() {} -func (*CreateColumnFamilyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a159d72e7e8b0be6, []int{6} -} - -func (m *CreateColumnFamilyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateColumnFamilyRequest.Unmarshal(m, b) -} -func (m *CreateColumnFamilyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateColumnFamilyRequest.Marshal(b, m, deterministic) -} -func (m *CreateColumnFamilyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateColumnFamilyRequest.Merge(m, src) -} -func (m *CreateColumnFamilyRequest) XXX_Size() int { - return xxx_messageInfo_CreateColumnFamilyRequest.Size(m) -} -func (m *CreateColumnFamilyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateColumnFamilyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateColumnFamilyRequest proto.InternalMessageInfo - -func (m *CreateColumnFamilyRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *CreateColumnFamilyRequest) GetColumnFamilyId() string { - if m != nil { - return m.ColumnFamilyId - } - return "" -} - -func (m *CreateColumnFamilyRequest) GetColumnFamily() *ColumnFamily { - if m != nil { - return m.ColumnFamily - } - return nil -} - -type DeleteColumnFamilyRequest struct { - // The unique name of the column family 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 (m *DeleteColumnFamilyRequest) Reset() { *m = DeleteColumnFamilyRequest{} } -func (m *DeleteColumnFamilyRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteColumnFamilyRequest) ProtoMessage() {} -func (*DeleteColumnFamilyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a159d72e7e8b0be6, []int{7} -} - -func (m *DeleteColumnFamilyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteColumnFamilyRequest.Unmarshal(m, b) -} -func (m *DeleteColumnFamilyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteColumnFamilyRequest.Marshal(b, m, deterministic) -} -func (m *DeleteColumnFamilyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteColumnFamilyRequest.Merge(m, src) -} -func (m *DeleteColumnFamilyRequest) XXX_Size() int { - return xxx_messageInfo_DeleteColumnFamilyRequest.Size(m) -} -func (m *DeleteColumnFamilyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteColumnFamilyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteColumnFamilyRequest proto.InternalMessageInfo - -func (m *DeleteColumnFamilyRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -type BulkDeleteRowsRequest struct { - // The unique name of the table on which to perform the bulk delete - TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` - // Types that are valid to be assigned to Target: - // *BulkDeleteRowsRequest_RowKeyPrefix - // *BulkDeleteRowsRequest_DeleteAllDataFromTable - Target isBulkDeleteRowsRequest_Target `protobuf_oneof:"target"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a159d72e7e8b0be6, []int{8} -} - -func (m *BulkDeleteRowsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BulkDeleteRowsRequest.Unmarshal(m, b) -} -func (m *BulkDeleteRowsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BulkDeleteRowsRequest.Marshal(b, m, deterministic) -} -func (m *BulkDeleteRowsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BulkDeleteRowsRequest.Merge(m, src) -} -func (m *BulkDeleteRowsRequest) XXX_Size() int { - return xxx_messageInfo_BulkDeleteRowsRequest.Size(m) -} -func (m *BulkDeleteRowsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BulkDeleteRowsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BulkDeleteRowsRequest proto.InternalMessageInfo - -func (m *BulkDeleteRowsRequest) GetTableName() string { - if m != nil { - return m.TableName - } - return "" -} - -type isBulkDeleteRowsRequest_Target interface { - isBulkDeleteRowsRequest_Target() -} - -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_DeleteAllDataFromTable) isBulkDeleteRowsRequest_Target() {} - -func (m *BulkDeleteRowsRequest) GetTarget() isBulkDeleteRowsRequest_Target { - if m != nil { - return m.Target - } - return nil -} - -func (m *BulkDeleteRowsRequest) GetRowKeyPrefix() []byte { - if x, ok := m.GetTarget().(*BulkDeleteRowsRequest_RowKeyPrefix); ok { - return x.RowKeyPrefix - } - return nil -} - -func (m *BulkDeleteRowsRequest) GetDeleteAllDataFromTable() bool { - if x, ok := m.GetTarget().(*BulkDeleteRowsRequest_DeleteAllDataFromTable); ok { - return x.DeleteAllDataFromTable - } - return false -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*BulkDeleteRowsRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*BulkDeleteRowsRequest_RowKeyPrefix)(nil), - (*BulkDeleteRowsRequest_DeleteAllDataFromTable)(nil), - } -} - -func init() { - proto.RegisterType((*CreateTableRequest)(nil), "google.bigtable.admin.table.v1.CreateTableRequest") - proto.RegisterType((*ListTablesRequest)(nil), "google.bigtable.admin.table.v1.ListTablesRequest") - proto.RegisterType((*ListTablesResponse)(nil), "google.bigtable.admin.table.v1.ListTablesResponse") - proto.RegisterType((*GetTableRequest)(nil), "google.bigtable.admin.table.v1.GetTableRequest") - proto.RegisterType((*DeleteTableRequest)(nil), "google.bigtable.admin.table.v1.DeleteTableRequest") - proto.RegisterType((*RenameTableRequest)(nil), "google.bigtable.admin.table.v1.RenameTableRequest") - proto.RegisterType((*CreateColumnFamilyRequest)(nil), "google.bigtable.admin.table.v1.CreateColumnFamilyRequest") - proto.RegisterType((*DeleteColumnFamilyRequest)(nil), "google.bigtable.admin.table.v1.DeleteColumnFamilyRequest") - proto.RegisterType((*BulkDeleteRowsRequest)(nil), "google.bigtable.admin.table.v1.BulkDeleteRowsRequest") -} - -func init() { - proto.RegisterFile("google/bigtable/admin/table/v1/bigtable_table_service_messages.proto", fileDescriptor_a159d72e7e8b0be6) -} - -var fileDescriptor_a159d72e7e8b0be6 = []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, - 0x50, 0xd9, 0x2a, 0x5c, 0x90, 0x0a, 0x42, 0x24, 0x51, 0x69, 0x54, 0x40, 0xc1, 0xe1, 0xc4, 0xc5, - 0xda, 0xc4, 0x13, 0x6b, 0xd5, 0xb5, 0x37, 0xec, 0x6e, 0x12, 0xf2, 0x13, 0x7c, 0x06, 0x27, 0xc4, - 0x37, 0x22, 0xef, 0x9a, 0x26, 0x3d, 0x10, 0x97, 0x8b, 0x35, 0x9e, 0x79, 0xf3, 0x66, 0xf6, 0xcd, - 0x0c, 0xf4, 0x13, 0x29, 0x13, 0x81, 0xc1, 0x98, 0x27, 0x86, 0x8d, 0x05, 0x06, 0x2c, 0x4e, 0x79, - 0x16, 0x38, 0x7b, 0x71, 0x7a, 0xed, 0x8f, 0xdc, 0x57, 0xa3, 0x5a, 0xf0, 0x09, 0x46, 0x29, 0x6a, - 0xcd, 0x12, 0xd4, 0xfe, 0x4c, 0x49, 0x23, 0xc9, 0x13, 0xc7, 0xe2, 0xff, 0x45, 0xfb, 0x96, 0xc5, - 0x77, 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7e, 0x66, 0x8d, - 0x71, 0xd5, 0xe2, 0x5f, 0xfe, 0x09, 0x00, 0x00, 0xff, 0xff, 0xf7, 0x08, 0x29, 0x16, 0x83, 0x04, - 0x00, 0x00, -} 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 deleted file mode 100644 index f924b41c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/bigtable_instance_admin.pb.go +++ /dev/null @@ -1,2148 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/bigtable/admin/v2/bigtable_instance_admin.proto - -package admin - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - v1 "google.golang.org/genproto/googleapis/iam/v1" - longrunning "google.golang.org/genproto/googleapis/longrunning" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for BigtableInstanceAdmin.CreateInstance. -type CreateInstanceRequest struct { - // The unique name of the project in which to create the new instance. - // Values are of the form `projects/`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The ID to be used when referring to the new instance within its project, - // e.g., just `myinstance` rather than - // `projects/myproject/instances/myinstance`. - InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` - // The instance to create. - // Fields marked `OutputOnly` must be left blank. - Instance *Instance `protobuf:"bytes,3,opt,name=instance,proto3" json:"instance,omitempty"` - // The clusters to be created within the instance, mapped by desired - // cluster ID, e.g., just `mycluster` rather than - // `projects/myproject/instances/myinstance/clusters/mycluster`. - // Fields marked `OutputOnly` must be left blank. - // 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:"-"` - 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_7e62c0eb67875591, []int{0} -} - -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 (m *CreateInstanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateInstanceRequest.Merge(m, 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 -} - -func (m *CreateInstanceRequest) GetClusters() map[string]*Cluster { - if m != nil { - return m.Clusters - } - return nil -} - -// Request message for BigtableInstanceAdmin.GetInstance. -type GetInstanceRequest struct { - // The unique name of the requested instance. Values are of the form - // `projects//instances/`. - 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_7e62c0eb67875591, []int{1} -} - -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 (m *GetInstanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetInstanceRequest.Merge(m, 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 message for BigtableInstanceAdmin.ListInstances. -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"` - // 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:"-"` - 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_7e62c0eb67875591, []int{2} -} - -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 (m *ListInstancesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListInstancesRequest.Merge(m, 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) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response message for BigtableInstanceAdmin.ListInstances. -type ListInstancesResponse struct { - // The list of requested instances. - Instances []*Instance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"` - // Locations from which Instance information could not be retrieved, - // due to an outage or some other transient condition. - // 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"` - // 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:"-"` - 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_7e62c0eb67875591, []int{3} -} - -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 (m *ListInstancesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListInstancesResponse.Merge(m, 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) GetFailedLocations() []string { - if m != nil { - return m.FailedLocations - } - return nil -} - -func (m *ListInstancesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request message for BigtableInstanceAdmin.PartialUpdateInstance. -type PartialUpdateInstanceRequest struct { - // The Instance which will (partially) replace the current value. - Instance *Instance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` - // The subset of Instance fields which should be replaced. - // Must be explicitly set. - 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 *PartialUpdateInstanceRequest) Reset() { *m = PartialUpdateInstanceRequest{} } -func (m *PartialUpdateInstanceRequest) String() string { return proto.CompactTextString(m) } -func (*PartialUpdateInstanceRequest) ProtoMessage() {} -func (*PartialUpdateInstanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7e62c0eb67875591, []int{4} -} - -func (m *PartialUpdateInstanceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PartialUpdateInstanceRequest.Unmarshal(m, b) -} -func (m *PartialUpdateInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PartialUpdateInstanceRequest.Marshal(b, m, deterministic) -} -func (m *PartialUpdateInstanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PartialUpdateInstanceRequest.Merge(m, src) -} -func (m *PartialUpdateInstanceRequest) XXX_Size() int { - return xxx_messageInfo_PartialUpdateInstanceRequest.Size(m) -} -func (m *PartialUpdateInstanceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PartialUpdateInstanceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_PartialUpdateInstanceRequest proto.InternalMessageInfo - -func (m *PartialUpdateInstanceRequest) GetInstance() *Instance { - if m != nil { - return m.Instance - } - return nil -} - -func (m *PartialUpdateInstanceRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// Request message for BigtableInstanceAdmin.DeleteInstance. -type DeleteInstanceRequest struct { - // The unique name of the instance to be deleted. - // Values are of the form `projects//instances/`. - 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_7e62c0eb67875591, []int{5} -} - -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 (m *DeleteInstanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteInstanceRequest.Merge(m, 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 "" -} - -// Request message for BigtableInstanceAdmin.CreateCluster. -type CreateClusterRequest struct { - // The unique name of the instance in which to create the new cluster. - // Values are of the form - // `projects//instances/`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The ID to be used when referring to the new cluster within its instance, - // e.g., just `mycluster` rather than - // `projects/myproject/instances/myinstance/clusters/mycluster`. - ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // The cluster to be created. - // Fields marked `OutputOnly` must be left blank. - Cluster *Cluster `protobuf:"bytes,3,opt,name=cluster,proto3" json:"cluster,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7e62c0eb67875591, []int{6} -} - -func (m *CreateClusterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateClusterRequest.Unmarshal(m, b) -} -func (m *CreateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateClusterRequest.Marshal(b, m, deterministic) -} -func (m *CreateClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateClusterRequest.Merge(m, src) -} -func (m *CreateClusterRequest) XXX_Size() int { - return xxx_messageInfo_CreateClusterRequest.Size(m) -} -func (m *CreateClusterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateClusterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateClusterRequest proto.InternalMessageInfo - -func (m *CreateClusterRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateClusterRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -func (m *CreateClusterRequest) GetCluster() *Cluster { - if m != nil { - return m.Cluster - } - return nil -} - -// Request message for BigtableInstanceAdmin.GetCluster. -type GetClusterRequest struct { - // The unique name of the requested cluster. Values are of the form - // `projects//instances//clusters/`. - 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 *GetClusterRequest) Reset() { *m = GetClusterRequest{} } -func (m *GetClusterRequest) String() string { return proto.CompactTextString(m) } -func (*GetClusterRequest) ProtoMessage() {} -func (*GetClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7e62c0eb67875591, []int{7} -} - -func (m *GetClusterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetClusterRequest.Unmarshal(m, b) -} -func (m *GetClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetClusterRequest.Marshal(b, m, deterministic) -} -func (m *GetClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetClusterRequest.Merge(m, src) -} -func (m *GetClusterRequest) XXX_Size() int { - return xxx_messageInfo_GetClusterRequest.Size(m) -} -func (m *GetClusterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetClusterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetClusterRequest proto.InternalMessageInfo - -func (m *GetClusterRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for BigtableInstanceAdmin.ListClusters. -type ListClustersRequest struct { - // The unique name of the instance for which a list of clusters is requested. - // Values are of the form `projects//instances/`. - // 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"` - // 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:"-"` - 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_7e62c0eb67875591, []int{8} -} - -func (m *ListClustersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListClustersRequest.Unmarshal(m, b) -} -func (m *ListClustersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListClustersRequest.Marshal(b, m, deterministic) -} -func (m *ListClustersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClustersRequest.Merge(m, src) -} -func (m *ListClustersRequest) XXX_Size() int { - return xxx_messageInfo_ListClustersRequest.Size(m) -} -func (m *ListClustersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListClustersRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListClustersRequest proto.InternalMessageInfo - -func (m *ListClustersRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListClustersRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response message for BigtableInstanceAdmin.ListClusters. -type ListClustersResponse struct { - // The list of requested clusters. - Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"` - // Locations from which Cluster information could not be retrieved, - // 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"` - // 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:"-"` - 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_7e62c0eb67875591, []int{9} -} - -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 (m *ListClustersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClustersResponse.Merge(m, 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.Clusters - } - return nil -} - -func (m *ListClustersResponse) GetFailedLocations() []string { - if m != nil { - return m.FailedLocations - } - return nil -} - -func (m *ListClustersResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request message for BigtableInstanceAdmin.DeleteCluster. -type DeleteClusterRequest struct { - // The unique name of the cluster to be deleted. Values are of the form - // `projects//instances//clusters/`. - 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 *DeleteClusterRequest) Reset() { *m = DeleteClusterRequest{} } -func (m *DeleteClusterRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteClusterRequest) ProtoMessage() {} -func (*DeleteClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7e62c0eb67875591, []int{10} -} - -func (m *DeleteClusterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteClusterRequest.Unmarshal(m, b) -} -func (m *DeleteClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteClusterRequest.Marshal(b, m, deterministic) -} -func (m *DeleteClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteClusterRequest.Merge(m, src) -} -func (m *DeleteClusterRequest) XXX_Size() int { - return xxx_messageInfo_DeleteClusterRequest.Size(m) -} -func (m *DeleteClusterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteClusterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteClusterRequest proto.InternalMessageInfo - -func (m *DeleteClusterRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The metadata for the Operation returned by CreateInstance. -type CreateInstanceMetadata struct { - // The request that prompted the initiation of this CreateInstance operation. - OriginalRequest *CreateInstanceRequest `protobuf:"bytes,1,opt,name=original_request,json=originalRequest,proto3" json:"original_request,omitempty"` - // The time at which the original request was received. - RequestTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=request_time,json=requestTime,proto3" json:"request_time,omitempty"` - // The time at which the operation failed or was completed successfully. - FinishTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7e62c0eb67875591, []int{11} -} - -func (m *CreateInstanceMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateInstanceMetadata.Unmarshal(m, b) -} -func (m *CreateInstanceMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateInstanceMetadata.Marshal(b, m, deterministic) -} -func (m *CreateInstanceMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateInstanceMetadata.Merge(m, src) -} -func (m *CreateInstanceMetadata) XXX_Size() int { - return xxx_messageInfo_CreateInstanceMetadata.Size(m) -} -func (m *CreateInstanceMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_CreateInstanceMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateInstanceMetadata proto.InternalMessageInfo - -func (m *CreateInstanceMetadata) GetOriginalRequest() *CreateInstanceRequest { - if m != nil { - return m.OriginalRequest - } - return nil -} - -func (m *CreateInstanceMetadata) GetRequestTime() *timestamp.Timestamp { - if m != nil { - return m.RequestTime - } - return nil -} - -func (m *CreateInstanceMetadata) GetFinishTime() *timestamp.Timestamp { - if m != nil { - return m.FinishTime - } - return nil -} - -// The metadata for the Operation returned by UpdateInstance. -type UpdateInstanceMetadata struct { - // The request that prompted the initiation of this UpdateInstance operation. - OriginalRequest *PartialUpdateInstanceRequest `protobuf:"bytes,1,opt,name=original_request,json=originalRequest,proto3" json:"original_request,omitempty"` - // The time at which the original request was received. - RequestTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=request_time,json=requestTime,proto3" json:"request_time,omitempty"` - // The time at which the operation failed or was completed successfully. - FinishTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7e62c0eb67875591, []int{12} -} - -func (m *UpdateInstanceMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateInstanceMetadata.Unmarshal(m, b) -} -func (m *UpdateInstanceMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateInstanceMetadata.Marshal(b, m, deterministic) -} -func (m *UpdateInstanceMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateInstanceMetadata.Merge(m, src) -} -func (m *UpdateInstanceMetadata) XXX_Size() int { - return xxx_messageInfo_UpdateInstanceMetadata.Size(m) -} -func (m *UpdateInstanceMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateInstanceMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateInstanceMetadata proto.InternalMessageInfo - -func (m *UpdateInstanceMetadata) GetOriginalRequest() *PartialUpdateInstanceRequest { - if m != nil { - return m.OriginalRequest - } - return nil -} - -func (m *UpdateInstanceMetadata) GetRequestTime() *timestamp.Timestamp { - if m != nil { - return m.RequestTime - } - return nil -} - -func (m *UpdateInstanceMetadata) GetFinishTime() *timestamp.Timestamp { - if m != nil { - return m.FinishTime - } - return nil -} - -// The metadata for the Operation returned by CreateCluster. -type CreateClusterMetadata struct { - // The request that prompted the initiation of this CreateCluster operation. - OriginalRequest *CreateClusterRequest `protobuf:"bytes,1,opt,name=original_request,json=originalRequest,proto3" json:"original_request,omitempty"` - // The time at which the original request was received. - RequestTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=request_time,json=requestTime,proto3" json:"request_time,omitempty"` - // The time at which the operation failed or was completed successfully. - FinishTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7e62c0eb67875591, []int{13} -} - -func (m *CreateClusterMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateClusterMetadata.Unmarshal(m, b) -} -func (m *CreateClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateClusterMetadata.Marshal(b, m, deterministic) -} -func (m *CreateClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateClusterMetadata.Merge(m, src) -} -func (m *CreateClusterMetadata) XXX_Size() int { - return xxx_messageInfo_CreateClusterMetadata.Size(m) -} -func (m *CreateClusterMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_CreateClusterMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateClusterMetadata proto.InternalMessageInfo - -func (m *CreateClusterMetadata) GetOriginalRequest() *CreateClusterRequest { - if m != nil { - return m.OriginalRequest - } - return nil -} - -func (m *CreateClusterMetadata) GetRequestTime() *timestamp.Timestamp { - if m != nil { - return m.RequestTime - } - return nil -} - -func (m *CreateClusterMetadata) GetFinishTime() *timestamp.Timestamp { - if m != nil { - return m.FinishTime - } - return nil -} - -// The metadata for the Operation returned by UpdateCluster. -type UpdateClusterMetadata struct { - // The request that prompted the initiation of this UpdateCluster operation. - OriginalRequest *Cluster `protobuf:"bytes,1,opt,name=original_request,json=originalRequest,proto3" json:"original_request,omitempty"` - // The time at which the original request was received. - RequestTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=request_time,json=requestTime,proto3" json:"request_time,omitempty"` - // The time at which the operation failed or was completed successfully. - FinishTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7e62c0eb67875591, []int{14} -} - -func (m *UpdateClusterMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateClusterMetadata.Unmarshal(m, b) -} -func (m *UpdateClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateClusterMetadata.Marshal(b, m, deterministic) -} -func (m *UpdateClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateClusterMetadata.Merge(m, src) -} -func (m *UpdateClusterMetadata) XXX_Size() int { - return xxx_messageInfo_UpdateClusterMetadata.Size(m) -} -func (m *UpdateClusterMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateClusterMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateClusterMetadata proto.InternalMessageInfo - -func (m *UpdateClusterMetadata) GetOriginalRequest() *Cluster { - if m != nil { - return m.OriginalRequest - } - return nil -} - -func (m *UpdateClusterMetadata) GetRequestTime() *timestamp.Timestamp { - if m != nil { - return m.RequestTime - } - return nil -} - -func (m *UpdateClusterMetadata) GetFinishTime() *timestamp.Timestamp { - if m != nil { - return m.FinishTime - } - return nil -} - -// Request message for BigtableInstanceAdmin.CreateAppProfile. -type CreateAppProfileRequest struct { - // The unique name of the instance in which to create the new app profile. - // Values are of the form - // `projects//instances/`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The ID to be used when referring to the new app profile within its - // instance, e.g., just `myprofile` rather than - // `projects/myproject/instances/myinstance/appProfiles/myprofile`. - AppProfileId string `protobuf:"bytes,2,opt,name=app_profile_id,json=appProfileId,proto3" json:"app_profile_id,omitempty"` - // The app profile to be created. - // Fields marked `OutputOnly` will be ignored. - AppProfile *AppProfile `protobuf:"bytes,3,opt,name=app_profile,json=appProfile,proto3" json:"app_profile,omitempty"` - // If true, ignore safety checks when creating the app profile. - IgnoreWarnings bool `protobuf:"varint,4,opt,name=ignore_warnings,json=ignoreWarnings,proto3" json:"ignore_warnings,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7e62c0eb67875591, []int{15} -} - -func (m *CreateAppProfileRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateAppProfileRequest.Unmarshal(m, b) -} -func (m *CreateAppProfileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateAppProfileRequest.Marshal(b, m, deterministic) -} -func (m *CreateAppProfileRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateAppProfileRequest.Merge(m, src) -} -func (m *CreateAppProfileRequest) XXX_Size() int { - return xxx_messageInfo_CreateAppProfileRequest.Size(m) -} -func (m *CreateAppProfileRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateAppProfileRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateAppProfileRequest proto.InternalMessageInfo - -func (m *CreateAppProfileRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateAppProfileRequest) GetAppProfileId() string { - if m != nil { - return m.AppProfileId - } - return "" -} - -func (m *CreateAppProfileRequest) GetAppProfile() *AppProfile { - if m != nil { - return m.AppProfile - } - return nil -} - -func (m *CreateAppProfileRequest) GetIgnoreWarnings() bool { - if m != nil { - return m.IgnoreWarnings - } - return false -} - -// Request message for BigtableInstanceAdmin.GetAppProfile. -type GetAppProfileRequest struct { - // The unique name of the requested app profile. Values are of the form - // `projects//instances//appProfiles/`. - 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 *GetAppProfileRequest) Reset() { *m = GetAppProfileRequest{} } -func (m *GetAppProfileRequest) String() string { return proto.CompactTextString(m) } -func (*GetAppProfileRequest) ProtoMessage() {} -func (*GetAppProfileRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7e62c0eb67875591, []int{16} -} - -func (m *GetAppProfileRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAppProfileRequest.Unmarshal(m, b) -} -func (m *GetAppProfileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAppProfileRequest.Marshal(b, m, deterministic) -} -func (m *GetAppProfileRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAppProfileRequest.Merge(m, src) -} -func (m *GetAppProfileRequest) XXX_Size() int { - return xxx_messageInfo_GetAppProfileRequest.Size(m) -} -func (m *GetAppProfileRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAppProfileRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetAppProfileRequest proto.InternalMessageInfo - -func (m *GetAppProfileRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for BigtableInstanceAdmin.ListAppProfiles. -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:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7e62c0eb67875591, []int{17} -} - -func (m *ListAppProfilesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListAppProfilesRequest.Unmarshal(m, b) -} -func (m *ListAppProfilesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListAppProfilesRequest.Marshal(b, m, deterministic) -} -func (m *ListAppProfilesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAppProfilesRequest.Merge(m, src) -} -func (m *ListAppProfilesRequest) XXX_Size() int { - return xxx_messageInfo_ListAppProfilesRequest.Size(m) -} -func (m *ListAppProfilesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListAppProfilesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListAppProfilesRequest proto.InternalMessageInfo - -func (m *ListAppProfilesRequest) GetParent() string { - if m != nil { - return m.Parent - } - 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 - } - return "" -} - -// Response message for BigtableInstanceAdmin.ListAppProfiles. -type ListAppProfilesResponse struct { - // The list of requested app profiles. - AppProfiles []*AppProfile `protobuf:"bytes,1,rep,name=app_profiles,json=appProfiles,proto3" json:"app_profiles,omitempty"` - // 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"` - // 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:"-"` -} - -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_7e62c0eb67875591, []int{18} -} - -func (m *ListAppProfilesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListAppProfilesResponse.Unmarshal(m, b) -} -func (m *ListAppProfilesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListAppProfilesResponse.Marshal(b, m, deterministic) -} -func (m *ListAppProfilesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAppProfilesResponse.Merge(m, src) -} -func (m *ListAppProfilesResponse) XXX_Size() int { - return xxx_messageInfo_ListAppProfilesResponse.Size(m) -} -func (m *ListAppProfilesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListAppProfilesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListAppProfilesResponse proto.InternalMessageInfo - -func (m *ListAppProfilesResponse) GetAppProfiles() []*AppProfile { - if m != nil { - return m.AppProfiles - } - return nil -} - -func (m *ListAppProfilesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - 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. - AppProfile *AppProfile `protobuf:"bytes,1,opt,name=app_profile,json=appProfile,proto3" json:"app_profile,omitempty"` - // The subset of app profile fields which should be replaced. - // If unset, all fields will be replaced. - UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` - // If true, ignore safety checks when updating the app profile. - IgnoreWarnings bool `protobuf:"varint,3,opt,name=ignore_warnings,json=ignoreWarnings,proto3" json:"ignore_warnings,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7e62c0eb67875591, []int{19} -} - -func (m *UpdateAppProfileRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateAppProfileRequest.Unmarshal(m, b) -} -func (m *UpdateAppProfileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateAppProfileRequest.Marshal(b, m, deterministic) -} -func (m *UpdateAppProfileRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateAppProfileRequest.Merge(m, src) -} -func (m *UpdateAppProfileRequest) XXX_Size() int { - return xxx_messageInfo_UpdateAppProfileRequest.Size(m) -} -func (m *UpdateAppProfileRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateAppProfileRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateAppProfileRequest proto.InternalMessageInfo - -func (m *UpdateAppProfileRequest) GetAppProfile() *AppProfile { - if m != nil { - return m.AppProfile - } - return nil -} - -func (m *UpdateAppProfileRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -func (m *UpdateAppProfileRequest) GetIgnoreWarnings() bool { - if m != nil { - return m.IgnoreWarnings - } - return false -} - -// Request message for BigtableInstanceAdmin.DeleteAppProfile. -type DeleteAppProfileRequest struct { - // The unique name of the app profile to be deleted. Values are of the form - // `projects//instances//appProfiles/`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // If true, ignore safety checks when deleting the app profile. - IgnoreWarnings bool `protobuf:"varint,2,opt,name=ignore_warnings,json=ignoreWarnings,proto3" json:"ignore_warnings,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7e62c0eb67875591, []int{20} -} - -func (m *DeleteAppProfileRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteAppProfileRequest.Unmarshal(m, b) -} -func (m *DeleteAppProfileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteAppProfileRequest.Marshal(b, m, deterministic) -} -func (m *DeleteAppProfileRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteAppProfileRequest.Merge(m, src) -} -func (m *DeleteAppProfileRequest) XXX_Size() int { - return xxx_messageInfo_DeleteAppProfileRequest.Size(m) -} -func (m *DeleteAppProfileRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteAppProfileRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteAppProfileRequest proto.InternalMessageInfo - -func (m *DeleteAppProfileRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *DeleteAppProfileRequest) GetIgnoreWarnings() bool { - if m != nil { - return m.IgnoreWarnings - } - return false -} - -// The metadata for the Operation returned by UpdateAppProfile. -type UpdateAppProfileMetadata struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpdateAppProfileMetadata) Reset() { *m = UpdateAppProfileMetadata{} } -func (m *UpdateAppProfileMetadata) String() string { return proto.CompactTextString(m) } -func (*UpdateAppProfileMetadata) ProtoMessage() {} -func (*UpdateAppProfileMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_7e62c0eb67875591, []int{21} -} - -func (m *UpdateAppProfileMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateAppProfileMetadata.Unmarshal(m, b) -} -func (m *UpdateAppProfileMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateAppProfileMetadata.Marshal(b, m, deterministic) -} -func (m *UpdateAppProfileMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateAppProfileMetadata.Merge(m, src) -} -func (m *UpdateAppProfileMetadata) XXX_Size() int { - return xxx_messageInfo_UpdateAppProfileMetadata.Size(m) -} -func (m *UpdateAppProfileMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateAppProfileMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateAppProfileMetadata proto.InternalMessageInfo - -func init() { - proto.RegisterType((*CreateInstanceRequest)(nil), "google.bigtable.admin.v2.CreateInstanceRequest") - proto.RegisterMapType((map[string]*Cluster)(nil), "google.bigtable.admin.v2.CreateInstanceRequest.ClustersEntry") - proto.RegisterType((*GetInstanceRequest)(nil), "google.bigtable.admin.v2.GetInstanceRequest") - proto.RegisterType((*ListInstancesRequest)(nil), "google.bigtable.admin.v2.ListInstancesRequest") - proto.RegisterType((*ListInstancesResponse)(nil), "google.bigtable.admin.v2.ListInstancesResponse") - proto.RegisterType((*PartialUpdateInstanceRequest)(nil), "google.bigtable.admin.v2.PartialUpdateInstanceRequest") - proto.RegisterType((*DeleteInstanceRequest)(nil), "google.bigtable.admin.v2.DeleteInstanceRequest") - proto.RegisterType((*CreateClusterRequest)(nil), "google.bigtable.admin.v2.CreateClusterRequest") - proto.RegisterType((*GetClusterRequest)(nil), "google.bigtable.admin.v2.GetClusterRequest") - proto.RegisterType((*ListClustersRequest)(nil), "google.bigtable.admin.v2.ListClustersRequest") - proto.RegisterType((*ListClustersResponse)(nil), "google.bigtable.admin.v2.ListClustersResponse") - proto.RegisterType((*DeleteClusterRequest)(nil), "google.bigtable.admin.v2.DeleteClusterRequest") - proto.RegisterType((*CreateInstanceMetadata)(nil), "google.bigtable.admin.v2.CreateInstanceMetadata") - proto.RegisterType((*UpdateInstanceMetadata)(nil), "google.bigtable.admin.v2.UpdateInstanceMetadata") - proto.RegisterType((*CreateClusterMetadata)(nil), "google.bigtable.admin.v2.CreateClusterMetadata") - proto.RegisterType((*UpdateClusterMetadata)(nil), "google.bigtable.admin.v2.UpdateClusterMetadata") - proto.RegisterType((*CreateAppProfileRequest)(nil), "google.bigtable.admin.v2.CreateAppProfileRequest") - proto.RegisterType((*GetAppProfileRequest)(nil), "google.bigtable.admin.v2.GetAppProfileRequest") - proto.RegisterType((*ListAppProfilesRequest)(nil), "google.bigtable.admin.v2.ListAppProfilesRequest") - proto.RegisterType((*ListAppProfilesResponse)(nil), "google.bigtable.admin.v2.ListAppProfilesResponse") - proto.RegisterType((*UpdateAppProfileRequest)(nil), "google.bigtable.admin.v2.UpdateAppProfileRequest") - proto.RegisterType((*DeleteAppProfileRequest)(nil), "google.bigtable.admin.v2.DeleteAppProfileRequest") - proto.RegisterType((*UpdateAppProfileMetadata)(nil), "google.bigtable.admin.v2.UpdateAppProfileMetadata") -} - -func init() { - proto.RegisterFile("google/bigtable/admin/v2/bigtable_instance_admin.proto", fileDescriptor_7e62c0eb67875591) -} - -var fileDescriptor_7e62c0eb67875591 = []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, 0x3d, 0x75, 0x3d, 0xf3, 0xe6, 0xcd, 0xef, 0xbd, 0xf7, 0x7b, 0x6f, - 0xde, 0x4b, 0xe1, 0x5c, 0xdb, 0xb6, 0xdb, 0x26, 0xd5, 0x37, 0x8d, 0xb6, 0x4f, 0x36, 0x4d, 0xaa, - 0x93, 0x56, 0xc7, 0xb0, 0xf4, 0xdd, 0x7a, 0xb8, 0xd2, 0x34, 0x2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xed, 0xce, 0x6b, 0xd1, 0x4d, 0x89, 0x62, 0x32, 0x21, 0x13, 0xec, 0x86, - 0x6f, 0x47, 0x9d, 0x83, 0x70, 0xa9, 0x67, 0x77, 0xdd, 0xad, 0xec, 0xc7, 0xb5, 0x1d, 0xd1, 0xcc, - 0x6a, 0x0e, 0x83, 0x72, 0x7d, 0x10, 0x94, 0xeb, 0x4f, 0x0c, 0x8a, 0x97, 0x80, 0xf2, 0x3d, 0x02, - 0x7c, 0x83, 0x7a, 0x7c, 0x91, 0xba, 0x1d, 0xc3, 0xf3, 0xf8, 0x5f, 0xa0, 0x66, 0x13, 0x97, 0xf5, - 0x8b, 0x48, 0x58, 0x67, 0x0a, 0x48, 0x8a, 0x64, 0x58, 0xe6, 0x50, 0x97, 0xd4, 0x0b, 0xc5, 0xa0, - 0xfa, 0x7d, 0x9a, 0x16, 0x50, 0xed, 0xf2, 0x2f, 0x08, 0x0e, 0x6f, 0xd9, 0x9d, 0x4c, 0x42, 0x5d, - 0x56, 0x52, 0x5b, 0xf9, 0x75, 0xc6, 0xa2, 0x75, 0x74, 0x7b, 0x49, 0x9c, 0x6b, 0xdb, 0x26, 0xb1, - 0xda, 0x9a, 0xed, 0xb6, 0xf5, 0x36, 0xb5, 0x38, 0xc7, 0xf4, 0x60, 0x8b, 0x38, 0x86, 0xd7, 0xff, - 0x7f, 0x25, 0x8b, 0xfc, 0xc7, 0xc3, 0xd2, 0xd1, 0x95, 0xe0, 0xfc, 0xb2, 0x69, 0x77, 0x5b, 0x9a, - 0xbc, 0x4a, 0xe3, 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, -} - -// 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 - -// BigtableInstanceAdminClient is the client API for BigtableInstanceAdmin service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type BigtableInstanceAdminClient interface { - // Create an instance within a project. - CreateInstance(ctx context.Context, in *CreateInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Gets information about an instance. - GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error) - // Lists information about instances in a project. - ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error) - // Updates an instance within a project. - UpdateInstance(ctx context.Context, in *Instance, opts ...grpc.CallOption) (*Instance, error) - // Partially updates an instance within a project. - PartialUpdateInstance(ctx context.Context, in *PartialUpdateInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Delete an instance from a project. - DeleteInstance(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Creates a cluster within an instance. - CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Gets information about a cluster. - GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error) - // Lists information about clusters in an instance. - ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) - // Updates a cluster within an instance. - UpdateCluster(ctx context.Context, in *Cluster, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Deletes a cluster from an instance. - DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Creates an app profile within an instance. - CreateAppProfile(ctx context.Context, in *CreateAppProfileRequest, opts ...grpc.CallOption) (*AppProfile, error) - // Gets information about an app profile. - GetAppProfile(ctx context.Context, in *GetAppProfileRequest, opts ...grpc.CallOption) (*AppProfile, error) - // Lists information about app profiles in an instance. - ListAppProfiles(ctx context.Context, in *ListAppProfilesRequest, opts ...grpc.CallOption) (*ListAppProfilesResponse, error) - // Updates an app profile within an instance. - UpdateAppProfile(ctx context.Context, in *UpdateAppProfileRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Deletes an app profile from an instance. - DeleteAppProfile(ctx context.Context, in *DeleteAppProfileRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Gets the access control policy for an instance resource. Returns an empty - // policy if an instance exists but does not have a policy set. - GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) - // Sets the access control policy on an instance resource. Replaces any - // existing policy. - SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) - // Returns permissions that the caller has on the specified instance resource. - TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) -} - -type bigtableInstanceAdminClient struct { - cc *grpc.ClientConn -} - -func NewBigtableInstanceAdminClient(cc *grpc.ClientConn) BigtableInstanceAdminClient { - return &bigtableInstanceAdminClient{cc} -} - -func (c *bigtableInstanceAdminClient) CreateInstance(ctx context.Context, in *CreateInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableInstanceAdmin/CreateInstance", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableInstanceAdminClient) GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error) { - out := new(Instance) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableInstanceAdmin/GetInstance", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableInstanceAdminClient) ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error) { - out := new(ListInstancesResponse) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableInstanceAdmin/ListInstances", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableInstanceAdminClient) UpdateInstance(ctx context.Context, in *Instance, opts ...grpc.CallOption) (*Instance, error) { - out := new(Instance) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableInstanceAdmin/UpdateInstance", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableInstanceAdminClient) PartialUpdateInstance(ctx context.Context, in *PartialUpdateInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableInstanceAdmin/PartialUpdateInstance", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableInstanceAdminClient) DeleteInstance(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableInstanceAdmin/DeleteInstance", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableInstanceAdminClient) CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableInstanceAdmin/CreateCluster", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableInstanceAdminClient) GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error) { - out := new(Cluster) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableInstanceAdmin/GetCluster", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableInstanceAdminClient) ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) { - out := new(ListClustersResponse) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableInstanceAdmin/ListClusters", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableInstanceAdminClient) UpdateCluster(ctx context.Context, in *Cluster, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableInstanceAdmin/UpdateCluster", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableInstanceAdminClient) DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableInstanceAdmin/DeleteCluster", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableInstanceAdminClient) CreateAppProfile(ctx context.Context, in *CreateAppProfileRequest, opts ...grpc.CallOption) (*AppProfile, error) { - out := new(AppProfile) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableInstanceAdmin/CreateAppProfile", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableInstanceAdminClient) GetAppProfile(ctx context.Context, in *GetAppProfileRequest, opts ...grpc.CallOption) (*AppProfile, error) { - out := new(AppProfile) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableInstanceAdmin/GetAppProfile", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableInstanceAdminClient) ListAppProfiles(ctx context.Context, in *ListAppProfilesRequest, opts ...grpc.CallOption) (*ListAppProfilesResponse, error) { - out := new(ListAppProfilesResponse) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableInstanceAdmin/ListAppProfiles", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableInstanceAdminClient) UpdateAppProfile(ctx context.Context, in *UpdateAppProfileRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableInstanceAdmin/UpdateAppProfile", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableInstanceAdminClient) DeleteAppProfile(ctx context.Context, in *DeleteAppProfileRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableInstanceAdmin/DeleteAppProfile", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableInstanceAdminClient) GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { - out := new(v1.Policy) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableInstanceAdmin/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableInstanceAdminClient) SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { - out := new(v1.Policy) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableInstanceAdmin/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableInstanceAdminClient) TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) { - out := new(v1.TestIamPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableInstanceAdmin/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// BigtableInstanceAdminServer is the server API for BigtableInstanceAdmin service. -type BigtableInstanceAdminServer interface { - // Create an instance within a project. - CreateInstance(context.Context, *CreateInstanceRequest) (*longrunning.Operation, error) - // Gets information about an instance. - GetInstance(context.Context, *GetInstanceRequest) (*Instance, error) - // Lists information about instances in a project. - ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error) - // Updates an instance within a project. - UpdateInstance(context.Context, *Instance) (*Instance, error) - // Partially updates an instance within a project. - PartialUpdateInstance(context.Context, *PartialUpdateInstanceRequest) (*longrunning.Operation, error) - // Delete an instance from a project. - DeleteInstance(context.Context, *DeleteInstanceRequest) (*empty.Empty, error) - // Creates a cluster within an instance. - CreateCluster(context.Context, *CreateClusterRequest) (*longrunning.Operation, error) - // Gets information about a cluster. - GetCluster(context.Context, *GetClusterRequest) (*Cluster, error) - // Lists information about clusters in an instance. - ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error) - // Updates a cluster within an instance. - UpdateCluster(context.Context, *Cluster) (*longrunning.Operation, error) - // Deletes a cluster from an instance. - DeleteCluster(context.Context, *DeleteClusterRequest) (*empty.Empty, error) - // Creates an app profile within an instance. - CreateAppProfile(context.Context, *CreateAppProfileRequest) (*AppProfile, error) - // Gets information about an app profile. - GetAppProfile(context.Context, *GetAppProfileRequest) (*AppProfile, error) - // Lists information about app profiles in an instance. - ListAppProfiles(context.Context, *ListAppProfilesRequest) (*ListAppProfilesResponse, error) - // Updates an app profile within an instance. - UpdateAppProfile(context.Context, *UpdateAppProfileRequest) (*longrunning.Operation, error) - // Deletes an app profile from an instance. - DeleteAppProfile(context.Context, *DeleteAppProfileRequest) (*empty.Empty, error) - // Gets the access control policy for an instance resource. Returns an empty - // policy if an instance exists but does not have a policy set. - GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error) - // Sets the access control policy on an instance resource. Replaces any - // existing policy. - SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error) - // Returns permissions that the caller has on the specified instance resource. - TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) -} - -// UnimplementedBigtableInstanceAdminServer can be embedded to have forward compatible implementations. -type UnimplementedBigtableInstanceAdminServer struct { -} - -func (*UnimplementedBigtableInstanceAdminServer) CreateInstance(ctx context.Context, req *CreateInstanceRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateInstance not implemented") -} -func (*UnimplementedBigtableInstanceAdminServer) GetInstance(ctx context.Context, req *GetInstanceRequest) (*Instance, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetInstance not implemented") -} -func (*UnimplementedBigtableInstanceAdminServer) ListInstances(ctx context.Context, req *ListInstancesRequest) (*ListInstancesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListInstances not implemented") -} -func (*UnimplementedBigtableInstanceAdminServer) UpdateInstance(ctx context.Context, req *Instance) (*Instance, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateInstance not implemented") -} -func (*UnimplementedBigtableInstanceAdminServer) PartialUpdateInstance(ctx context.Context, req *PartialUpdateInstanceRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method PartialUpdateInstance not implemented") -} -func (*UnimplementedBigtableInstanceAdminServer) DeleteInstance(ctx context.Context, req *DeleteInstanceRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteInstance not implemented") -} -func (*UnimplementedBigtableInstanceAdminServer) CreateCluster(ctx context.Context, req *CreateClusterRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateCluster not implemented") -} -func (*UnimplementedBigtableInstanceAdminServer) GetCluster(ctx context.Context, req *GetClusterRequest) (*Cluster, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCluster not implemented") -} -func (*UnimplementedBigtableInstanceAdminServer) ListClusters(ctx context.Context, req *ListClustersRequest) (*ListClustersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListClusters not implemented") -} -func (*UnimplementedBigtableInstanceAdminServer) UpdateCluster(ctx context.Context, req *Cluster) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateCluster not implemented") -} -func (*UnimplementedBigtableInstanceAdminServer) DeleteCluster(ctx context.Context, req *DeleteClusterRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteCluster not implemented") -} -func (*UnimplementedBigtableInstanceAdminServer) CreateAppProfile(ctx context.Context, req *CreateAppProfileRequest) (*AppProfile, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateAppProfile not implemented") -} -func (*UnimplementedBigtableInstanceAdminServer) GetAppProfile(ctx context.Context, req *GetAppProfileRequest) (*AppProfile, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAppProfile not implemented") -} -func (*UnimplementedBigtableInstanceAdminServer) ListAppProfiles(ctx context.Context, req *ListAppProfilesRequest) (*ListAppProfilesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListAppProfiles not implemented") -} -func (*UnimplementedBigtableInstanceAdminServer) UpdateAppProfile(ctx context.Context, req *UpdateAppProfileRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateAppProfile not implemented") -} -func (*UnimplementedBigtableInstanceAdminServer) DeleteAppProfile(ctx context.Context, req *DeleteAppProfileRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteAppProfile not implemented") -} -func (*UnimplementedBigtableInstanceAdminServer) GetIamPolicy(ctx context.Context, req *v1.GetIamPolicyRequest) (*v1.Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedBigtableInstanceAdminServer) SetIamPolicy(ctx context.Context, req *v1.SetIamPolicyRequest) (*v1.Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedBigtableInstanceAdminServer) TestIamPermissions(ctx context.Context, req *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} - -func RegisterBigtableInstanceAdminServer(s *grpc.Server, srv BigtableInstanceAdminServer) { - s.RegisterService(&_BigtableInstanceAdmin_serviceDesc, srv) -} - -func _BigtableInstanceAdmin_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.(BigtableInstanceAdminServer).CreateInstance(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.v2.BigtableInstanceAdmin/CreateInstance", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableInstanceAdminServer).CreateInstance(ctx, req.(*CreateInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableInstanceAdmin_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.(BigtableInstanceAdminServer).GetInstance(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.v2.BigtableInstanceAdmin/GetInstance", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableInstanceAdminServer).GetInstance(ctx, req.(*GetInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableInstanceAdmin_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.(BigtableInstanceAdminServer).ListInstances(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.v2.BigtableInstanceAdmin/ListInstances", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableInstanceAdminServer).ListInstances(ctx, req.(*ListInstancesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableInstanceAdmin_UpdateInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Instance) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableInstanceAdminServer).UpdateInstance(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.v2.BigtableInstanceAdmin/UpdateInstance", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableInstanceAdminServer).UpdateInstance(ctx, req.(*Instance)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableInstanceAdmin_PartialUpdateInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PartialUpdateInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableInstanceAdminServer).PartialUpdateInstance(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.v2.BigtableInstanceAdmin/PartialUpdateInstance", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableInstanceAdminServer).PartialUpdateInstance(ctx, req.(*PartialUpdateInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableInstanceAdmin_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.(BigtableInstanceAdminServer).DeleteInstance(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.v2.BigtableInstanceAdmin/DeleteInstance", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableInstanceAdminServer).DeleteInstance(ctx, req.(*DeleteInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableInstanceAdmin_CreateCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateClusterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableInstanceAdminServer).CreateCluster(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.v2.BigtableInstanceAdmin/CreateCluster", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableInstanceAdminServer).CreateCluster(ctx, req.(*CreateClusterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableInstanceAdmin_GetCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetClusterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableInstanceAdminServer).GetCluster(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.v2.BigtableInstanceAdmin/GetCluster", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableInstanceAdminServer).GetCluster(ctx, req.(*GetClusterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableInstanceAdmin_ListClusters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListClustersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableInstanceAdminServer).ListClusters(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.v2.BigtableInstanceAdmin/ListClusters", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableInstanceAdminServer).ListClusters(ctx, req.(*ListClustersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableInstanceAdmin_UpdateCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Cluster) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableInstanceAdminServer).UpdateCluster(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.v2.BigtableInstanceAdmin/UpdateCluster", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableInstanceAdminServer).UpdateCluster(ctx, req.(*Cluster)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableInstanceAdmin_DeleteCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteClusterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableInstanceAdminServer).DeleteCluster(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.v2.BigtableInstanceAdmin/DeleteCluster", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableInstanceAdminServer).DeleteCluster(ctx, req.(*DeleteClusterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableInstanceAdmin_CreateAppProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateAppProfileRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableInstanceAdminServer).CreateAppProfile(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.v2.BigtableInstanceAdmin/CreateAppProfile", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableInstanceAdminServer).CreateAppProfile(ctx, req.(*CreateAppProfileRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableInstanceAdmin_GetAppProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAppProfileRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableInstanceAdminServer).GetAppProfile(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.v2.BigtableInstanceAdmin/GetAppProfile", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableInstanceAdminServer).GetAppProfile(ctx, req.(*GetAppProfileRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableInstanceAdmin_ListAppProfiles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListAppProfilesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableInstanceAdminServer).ListAppProfiles(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.v2.BigtableInstanceAdmin/ListAppProfiles", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableInstanceAdminServer).ListAppProfiles(ctx, req.(*ListAppProfilesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableInstanceAdmin_UpdateAppProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateAppProfileRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableInstanceAdminServer).UpdateAppProfile(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.v2.BigtableInstanceAdmin/UpdateAppProfile", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableInstanceAdminServer).UpdateAppProfile(ctx, req.(*UpdateAppProfileRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableInstanceAdmin_DeleteAppProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteAppProfileRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableInstanceAdminServer).DeleteAppProfile(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.v2.BigtableInstanceAdmin/DeleteAppProfile", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableInstanceAdminServer).DeleteAppProfile(ctx, req.(*DeleteAppProfileRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableInstanceAdmin_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.(BigtableInstanceAdminServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.v2.BigtableInstanceAdmin/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableInstanceAdminServer).GetIamPolicy(ctx, req.(*v1.GetIamPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableInstanceAdmin_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.(BigtableInstanceAdminServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.v2.BigtableInstanceAdmin/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableInstanceAdminServer).SetIamPolicy(ctx, req.(*v1.SetIamPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableInstanceAdmin_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.(BigtableInstanceAdminServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.v2.BigtableInstanceAdmin/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableInstanceAdminServer).TestIamPermissions(ctx, req.(*v1.TestIamPermissionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _BigtableInstanceAdmin_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.bigtable.admin.v2.BigtableInstanceAdmin", - HandlerType: (*BigtableInstanceAdminServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateInstance", - Handler: _BigtableInstanceAdmin_CreateInstance_Handler, - }, - { - MethodName: "GetInstance", - Handler: _BigtableInstanceAdmin_GetInstance_Handler, - }, - { - MethodName: "ListInstances", - Handler: _BigtableInstanceAdmin_ListInstances_Handler, - }, - { - MethodName: "UpdateInstance", - Handler: _BigtableInstanceAdmin_UpdateInstance_Handler, - }, - { - MethodName: "PartialUpdateInstance", - Handler: _BigtableInstanceAdmin_PartialUpdateInstance_Handler, - }, - { - MethodName: "DeleteInstance", - Handler: _BigtableInstanceAdmin_DeleteInstance_Handler, - }, - { - MethodName: "CreateCluster", - Handler: _BigtableInstanceAdmin_CreateCluster_Handler, - }, - { - MethodName: "GetCluster", - Handler: _BigtableInstanceAdmin_GetCluster_Handler, - }, - { - MethodName: "ListClusters", - Handler: _BigtableInstanceAdmin_ListClusters_Handler, - }, - { - MethodName: "UpdateCluster", - Handler: _BigtableInstanceAdmin_UpdateCluster_Handler, - }, - { - MethodName: "DeleteCluster", - Handler: _BigtableInstanceAdmin_DeleteCluster_Handler, - }, - { - MethodName: "CreateAppProfile", - Handler: _BigtableInstanceAdmin_CreateAppProfile_Handler, - }, - { - MethodName: "GetAppProfile", - Handler: _BigtableInstanceAdmin_GetAppProfile_Handler, - }, - { - MethodName: "ListAppProfiles", - Handler: _BigtableInstanceAdmin_ListAppProfiles_Handler, - }, - { - MethodName: "UpdateAppProfile", - Handler: _BigtableInstanceAdmin_UpdateAppProfile_Handler, - }, - { - MethodName: "DeleteAppProfile", - Handler: _BigtableInstanceAdmin_DeleteAppProfile_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _BigtableInstanceAdmin_GetIamPolicy_Handler, - }, - { - MethodName: "SetIamPolicy", - Handler: _BigtableInstanceAdmin_SetIamPolicy_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _BigtableInstanceAdmin_TestIamPermissions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/bigtable/admin/v2/bigtable_instance_admin.proto", -} 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 deleted file mode 100644 index 7f393cd2..00000000 --- a/vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/bigtable_table_admin.pb.go +++ /dev/null @@ -1,2224 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/bigtable/admin/v2/bigtable_table_admin.proto - -package admin - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - empty "github.com/golang/protobuf/ptypes/empty" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - v1 "google.golang.org/genproto/googleapis/iam/v1" - longrunning "google.golang.org/genproto/googleapis/longrunning" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [google.bigtable.admin.v2.BigtableTableAdmin.CreateTable][google.bigtable.admin.v2.BigtableTableAdmin.CreateTable] -type CreateTableRequest struct { - // The unique name of the instance in which to create the table. - // Values are of the form `projects//instances/`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The name by which the new table should be referred to within the parent - // instance, e.g., `foobar` rather than `/tables/foobar`. - TableId string `protobuf:"bytes,2,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"` - // The Table to create. - Table *Table `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"` - // The optional list of row keys that will be used to initially split the - // table into several tablets (tablets are similar to HBase regions). - // Given two split keys, `s1` and `s2`, three tablets will be created, - // spanning the key ranges: `[, s1), [s1, s2), [s2, )`. - // - // Example: - // - // * Row keys := `["a", "apple", "custom", "customer_1", "customer_2",` - // `"other", "zz"]` - // * initial_split_keys := `["apple", "customer_1", "customer_2", "other"]` - // * Key assignment: - // - Tablet 1 `[, apple) => {"a"}.` - // - Tablet 2 `[apple, customer_1) => {"apple", "custom"}.` - // - Tablet 3 `[customer_1, customer_2) => {"customer_1"}.` - // - Tablet 4 `[customer_2, other) => {"customer_2"}.` - // - Tablet 5 `[other, ) => {"other", "zz"}.` - InitialSplits []*CreateTableRequest_Split `protobuf:"bytes,4,rep,name=initial_splits,json=initialSplits,proto3" json:"initial_splits,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_43baa00e5f96b1e4, []int{0} -} - -func (m *CreateTableRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateTableRequest.Unmarshal(m, b) -} -func (m *CreateTableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateTableRequest.Marshal(b, m, deterministic) -} -func (m *CreateTableRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateTableRequest.Merge(m, src) -} -func (m *CreateTableRequest) XXX_Size() int { - return xxx_messageInfo_CreateTableRequest.Size(m) -} -func (m *CreateTableRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateTableRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateTableRequest proto.InternalMessageInfo - -func (m *CreateTableRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateTableRequest) GetTableId() string { - if m != nil { - return m.TableId - } - return "" -} - -func (m *CreateTableRequest) GetTable() *Table { - if m != nil { - return m.Table - } - return nil -} - -func (m *CreateTableRequest) GetInitialSplits() []*CreateTableRequest_Split { - if m != nil { - return m.InitialSplits - } - return nil -} - -// An initial split point for a newly created table. -type CreateTableRequest_Split struct { - // Row key to use as an initial tablet boundary. - 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 *CreateTableRequest_Split) Reset() { *m = CreateTableRequest_Split{} } -func (m *CreateTableRequest_Split) String() string { return proto.CompactTextString(m) } -func (*CreateTableRequest_Split) ProtoMessage() {} -func (*CreateTableRequest_Split) Descriptor() ([]byte, []int) { - return fileDescriptor_43baa00e5f96b1e4, []int{0, 0} -} - -func (m *CreateTableRequest_Split) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateTableRequest_Split.Unmarshal(m, b) -} -func (m *CreateTableRequest_Split) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateTableRequest_Split.Marshal(b, m, deterministic) -} -func (m *CreateTableRequest_Split) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateTableRequest_Split.Merge(m, src) -} -func (m *CreateTableRequest_Split) XXX_Size() int { - return xxx_messageInfo_CreateTableRequest_Split.Size(m) -} -func (m *CreateTableRequest_Split) XXX_DiscardUnknown() { - xxx_messageInfo_CreateTableRequest_Split.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateTableRequest_Split proto.InternalMessageInfo - -func (m *CreateTableRequest_Split) GetKey() []byte { - if m != nil { - return m.Key - } - return nil -} - -// Request message for -// [google.bigtable.admin.v2.BigtableTableAdmin.CreateTableFromSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.CreateTableFromSnapshot] -// -// Note: This is a private alpha release of Cloud Bigtable snapshots. This -// feature is not currently available to most Cloud Bigtable customers. This -// feature might be changed in backward-incompatible ways and is not recommended -// for production use. It is not subject to any SLA or deprecation policy. -type CreateTableFromSnapshotRequest struct { - // The unique name of the instance in which to create the table. - // Values are of the form `projects//instances/`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The name by which the new table should be referred to within the parent - // instance, e.g., `foobar` rather than `/tables/foobar`. - TableId string `protobuf:"bytes,2,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"` - // The unique name of the snapshot from which to restore the table. The - // snapshot and the table must be in the same instance. - // Values are of the form - // `projects//instances//clusters//snapshots/`. - SourceSnapshot string `protobuf:"bytes,3,opt,name=source_snapshot,json=sourceSnapshot,proto3" json:"source_snapshot,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateTableFromSnapshotRequest) Reset() { *m = CreateTableFromSnapshotRequest{} } -func (m *CreateTableFromSnapshotRequest) String() string { return proto.CompactTextString(m) } -func (*CreateTableFromSnapshotRequest) ProtoMessage() {} -func (*CreateTableFromSnapshotRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_43baa00e5f96b1e4, []int{1} -} - -func (m *CreateTableFromSnapshotRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateTableFromSnapshotRequest.Unmarshal(m, b) -} -func (m *CreateTableFromSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateTableFromSnapshotRequest.Marshal(b, m, deterministic) -} -func (m *CreateTableFromSnapshotRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateTableFromSnapshotRequest.Merge(m, src) -} -func (m *CreateTableFromSnapshotRequest) XXX_Size() int { - return xxx_messageInfo_CreateTableFromSnapshotRequest.Size(m) -} -func (m *CreateTableFromSnapshotRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateTableFromSnapshotRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateTableFromSnapshotRequest proto.InternalMessageInfo - -func (m *CreateTableFromSnapshotRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateTableFromSnapshotRequest) GetTableId() string { - if m != nil { - return m.TableId - } - return "" -} - -func (m *CreateTableFromSnapshotRequest) GetSourceSnapshot() string { - if m != nil { - return m.SourceSnapshot - } - return "" -} - -// Request message for -// [google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange][google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange] -type DropRowRangeRequest struct { - // The unique name of the table on which to drop a range of rows. - // Values are of the form - // `projects//instances//tables/`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Delete all rows or by prefix. - // - // Types that are valid to be assigned to Target: - // *DropRowRangeRequest_RowKeyPrefix - // *DropRowRangeRequest_DeleteAllDataFromTable - Target isDropRowRangeRequest_Target `protobuf_oneof:"target"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_43baa00e5f96b1e4, []int{2} -} - -func (m *DropRowRangeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DropRowRangeRequest.Unmarshal(m, b) -} -func (m *DropRowRangeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DropRowRangeRequest.Marshal(b, m, deterministic) -} -func (m *DropRowRangeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DropRowRangeRequest.Merge(m, src) -} -func (m *DropRowRangeRequest) XXX_Size() int { - return xxx_messageInfo_DropRowRangeRequest.Size(m) -} -func (m *DropRowRangeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DropRowRangeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DropRowRangeRequest proto.InternalMessageInfo - -func (m *DropRowRangeRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -type isDropRowRangeRequest_Target interface { - isDropRowRangeRequest_Target() -} - -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_DeleteAllDataFromTable) isDropRowRangeRequest_Target() {} - -func (m *DropRowRangeRequest) GetTarget() isDropRowRangeRequest_Target { - if m != nil { - return m.Target - } - return nil -} - -func (m *DropRowRangeRequest) GetRowKeyPrefix() []byte { - if x, ok := m.GetTarget().(*DropRowRangeRequest_RowKeyPrefix); ok { - return x.RowKeyPrefix - } - return nil -} - -func (m *DropRowRangeRequest) GetDeleteAllDataFromTable() bool { - if x, ok := m.GetTarget().(*DropRowRangeRequest_DeleteAllDataFromTable); ok { - return x.DeleteAllDataFromTable - } - return false -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*DropRowRangeRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*DropRowRangeRequest_RowKeyPrefix)(nil), - (*DropRowRangeRequest_DeleteAllDataFromTable)(nil), - } -} - -// Request message for -// [google.bigtable.admin.v2.BigtableTableAdmin.ListTables][google.bigtable.admin.v2.BigtableTableAdmin.ListTables] -type ListTablesRequest struct { - // The unique name of the instance for which tables should be listed. - // Values are of the form `projects//instances/`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // 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:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_43baa00e5f96b1e4, []int{3} -} - -func (m *ListTablesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTablesRequest.Unmarshal(m, b) -} -func (m *ListTablesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTablesRequest.Marshal(b, m, deterministic) -} -func (m *ListTablesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTablesRequest.Merge(m, src) -} -func (m *ListTablesRequest) XXX_Size() int { - return xxx_messageInfo_ListTablesRequest.Size(m) -} -func (m *ListTablesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListTablesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTablesRequest proto.InternalMessageInfo - -func (m *ListTablesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListTablesRequest) GetView() Table_View { - if m != nil { - return m.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 - } - return "" -} - -// Response message for -// [google.bigtable.admin.v2.BigtableTableAdmin.ListTables][google.bigtable.admin.v2.BigtableTableAdmin.ListTables] -type ListTablesResponse struct { - // The tables present in the requested instance. - Tables []*Table `protobuf:"bytes,1,rep,name=tables,proto3" json:"tables,omitempty"` - // Set if not all tables 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_43baa00e5f96b1e4, []int{4} -} - -func (m *ListTablesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTablesResponse.Unmarshal(m, b) -} -func (m *ListTablesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTablesResponse.Marshal(b, m, deterministic) -} -func (m *ListTablesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTablesResponse.Merge(m, src) -} -func (m *ListTablesResponse) XXX_Size() int { - return xxx_messageInfo_ListTablesResponse.Size(m) -} -func (m *ListTablesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListTablesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTablesResponse proto.InternalMessageInfo - -func (m *ListTablesResponse) GetTables() []*Table { - if m != nil { - return m.Tables - } - return nil -} - -func (m *ListTablesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request message for -// [google.bigtable.admin.v2.BigtableTableAdmin.GetTable][google.bigtable.admin.v2.BigtableTableAdmin.GetTable] -type GetTableRequest struct { - // The unique name of the requested table. - // Values are of the form - // `projects//instances//tables/
`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The view to be applied to the returned table's fields. - // Defaults to `SCHEMA_VIEW` if unspecified. - View Table_View `protobuf:"varint,2,opt,name=view,proto3,enum=google.bigtable.admin.v2.Table_View" json:"view,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_43baa00e5f96b1e4, []int{5} -} - -func (m *GetTableRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTableRequest.Unmarshal(m, b) -} -func (m *GetTableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTableRequest.Marshal(b, m, deterministic) -} -func (m *GetTableRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTableRequest.Merge(m, src) -} -func (m *GetTableRequest) XXX_Size() int { - return xxx_messageInfo_GetTableRequest.Size(m) -} -func (m *GetTableRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTableRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetTableRequest proto.InternalMessageInfo - -func (m *GetTableRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *GetTableRequest) GetView() Table_View { - if m != nil { - return m.View - } - return Table_VIEW_UNSPECIFIED -} - -// Request message for -// [google.bigtable.admin.v2.BigtableTableAdmin.DeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.DeleteTable] -type DeleteTableRequest struct { - // The unique name of the table to be deleted. - // Values are of the form - // `projects//instances//tables/
`. - 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 *DeleteTableRequest) Reset() { *m = DeleteTableRequest{} } -func (m *DeleteTableRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteTableRequest) ProtoMessage() {} -func (*DeleteTableRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_43baa00e5f96b1e4, []int{6} -} - -func (m *DeleteTableRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteTableRequest.Unmarshal(m, b) -} -func (m *DeleteTableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteTableRequest.Marshal(b, m, deterministic) -} -func (m *DeleteTableRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteTableRequest.Merge(m, src) -} -func (m *DeleteTableRequest) XXX_Size() int { - return xxx_messageInfo_DeleteTableRequest.Size(m) -} -func (m *DeleteTableRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteTableRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteTableRequest proto.InternalMessageInfo - -func (m *DeleteTableRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for -// [google.bigtable.admin.v2.BigtableTableAdmin.ModifyColumnFamilies][google.bigtable.admin.v2.BigtableTableAdmin.ModifyColumnFamilies] -type ModifyColumnFamiliesRequest struct { - // The unique name of the table whose families should be modified. - // Values are of the form - // `projects//instances//tables/
`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Modifications to be atomically applied to the specified table's families. - // Entries are applied in order, meaning that earlier modifications can be - // masked by later ones (in the case of repeated updates to the same family, - // for example). - Modifications []*ModifyColumnFamiliesRequest_Modification `protobuf:"bytes,2,rep,name=modifications,proto3" json:"modifications,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ModifyColumnFamiliesRequest) Reset() { *m = ModifyColumnFamiliesRequest{} } -func (m *ModifyColumnFamiliesRequest) String() string { return proto.CompactTextString(m) } -func (*ModifyColumnFamiliesRequest) ProtoMessage() {} -func (*ModifyColumnFamiliesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_43baa00e5f96b1e4, []int{7} -} - -func (m *ModifyColumnFamiliesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ModifyColumnFamiliesRequest.Unmarshal(m, b) -} -func (m *ModifyColumnFamiliesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ModifyColumnFamiliesRequest.Marshal(b, m, deterministic) -} -func (m *ModifyColumnFamiliesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ModifyColumnFamiliesRequest.Merge(m, src) -} -func (m *ModifyColumnFamiliesRequest) XXX_Size() int { - return xxx_messageInfo_ModifyColumnFamiliesRequest.Size(m) -} -func (m *ModifyColumnFamiliesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ModifyColumnFamiliesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ModifyColumnFamiliesRequest proto.InternalMessageInfo - -func (m *ModifyColumnFamiliesRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ModifyColumnFamiliesRequest) GetModifications() []*ModifyColumnFamiliesRequest_Modification { - if m != nil { - return m.Modifications - } - return nil -} - -// A create, update, or delete of a particular column family. -type ModifyColumnFamiliesRequest_Modification struct { - // The ID of the column family to be modified. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // Column familiy modifications. - // - // Types that are valid to be assigned to Mod: - // *ModifyColumnFamiliesRequest_Modification_Create - // *ModifyColumnFamiliesRequest_Modification_Update - // *ModifyColumnFamiliesRequest_Modification_Drop - Mod isModifyColumnFamiliesRequest_Modification_Mod `protobuf_oneof:"mod"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ModifyColumnFamiliesRequest_Modification) Reset() { - *m = ModifyColumnFamiliesRequest_Modification{} -} -func (m *ModifyColumnFamiliesRequest_Modification) String() string { return proto.CompactTextString(m) } -func (*ModifyColumnFamiliesRequest_Modification) ProtoMessage() {} -func (*ModifyColumnFamiliesRequest_Modification) Descriptor() ([]byte, []int) { - return fileDescriptor_43baa00e5f96b1e4, []int{7, 0} -} - -func (m *ModifyColumnFamiliesRequest_Modification) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ModifyColumnFamiliesRequest_Modification.Unmarshal(m, b) -} -func (m *ModifyColumnFamiliesRequest_Modification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ModifyColumnFamiliesRequest_Modification.Marshal(b, m, deterministic) -} -func (m *ModifyColumnFamiliesRequest_Modification) XXX_Merge(src proto.Message) { - xxx_messageInfo_ModifyColumnFamiliesRequest_Modification.Merge(m, src) -} -func (m *ModifyColumnFamiliesRequest_Modification) XXX_Size() int { - return xxx_messageInfo_ModifyColumnFamiliesRequest_Modification.Size(m) -} -func (m *ModifyColumnFamiliesRequest_Modification) XXX_DiscardUnknown() { - xxx_messageInfo_ModifyColumnFamiliesRequest_Modification.DiscardUnknown(m) -} - -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() -} - -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() { -} - -func (m *ModifyColumnFamiliesRequest_Modification) GetMod() isModifyColumnFamiliesRequest_Modification_Mod { - if m != nil { - return m.Mod - } - return nil -} - -func (m *ModifyColumnFamiliesRequest_Modification) GetCreate() *ColumnFamily { - if x, ok := m.GetMod().(*ModifyColumnFamiliesRequest_Modification_Create); ok { - return x.Create - } - return nil -} - -func (m *ModifyColumnFamiliesRequest_Modification) GetUpdate() *ColumnFamily { - if x, ok := m.GetMod().(*ModifyColumnFamiliesRequest_Modification_Update); ok { - return x.Update - } - return nil -} - -func (m *ModifyColumnFamiliesRequest_Modification) GetDrop() bool { - if x, ok := m.GetMod().(*ModifyColumnFamiliesRequest_Modification_Drop); ok { - return x.Drop - } - return false -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ModifyColumnFamiliesRequest_Modification) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ModifyColumnFamiliesRequest_Modification_Create)(nil), - (*ModifyColumnFamiliesRequest_Modification_Update)(nil), - (*ModifyColumnFamiliesRequest_Modification_Drop)(nil), - } -} - -// Request message for -// [google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken][google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken] -type GenerateConsistencyTokenRequest struct { - // The unique name of the Table for which to create a consistency token. - // Values are of the form - // `projects//instances//tables/
`. - 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 *GenerateConsistencyTokenRequest) Reset() { *m = GenerateConsistencyTokenRequest{} } -func (m *GenerateConsistencyTokenRequest) String() string { return proto.CompactTextString(m) } -func (*GenerateConsistencyTokenRequest) ProtoMessage() {} -func (*GenerateConsistencyTokenRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_43baa00e5f96b1e4, []int{8} -} - -func (m *GenerateConsistencyTokenRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GenerateConsistencyTokenRequest.Unmarshal(m, b) -} -func (m *GenerateConsistencyTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GenerateConsistencyTokenRequest.Marshal(b, m, deterministic) -} -func (m *GenerateConsistencyTokenRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenerateConsistencyTokenRequest.Merge(m, src) -} -func (m *GenerateConsistencyTokenRequest) XXX_Size() int { - return xxx_messageInfo_GenerateConsistencyTokenRequest.Size(m) -} -func (m *GenerateConsistencyTokenRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GenerateConsistencyTokenRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GenerateConsistencyTokenRequest proto.InternalMessageInfo - -func (m *GenerateConsistencyTokenRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Response message for -// [google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken][google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken] -type GenerateConsistencyTokenResponse struct { - // The generated consistency token. - ConsistencyToken string `protobuf:"bytes,1,opt,name=consistency_token,json=consistencyToken,proto3" json:"consistency_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GenerateConsistencyTokenResponse) Reset() { *m = GenerateConsistencyTokenResponse{} } -func (m *GenerateConsistencyTokenResponse) String() string { return proto.CompactTextString(m) } -func (*GenerateConsistencyTokenResponse) ProtoMessage() {} -func (*GenerateConsistencyTokenResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_43baa00e5f96b1e4, []int{9} -} - -func (m *GenerateConsistencyTokenResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GenerateConsistencyTokenResponse.Unmarshal(m, b) -} -func (m *GenerateConsistencyTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GenerateConsistencyTokenResponse.Marshal(b, m, deterministic) -} -func (m *GenerateConsistencyTokenResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenerateConsistencyTokenResponse.Merge(m, src) -} -func (m *GenerateConsistencyTokenResponse) XXX_Size() int { - return xxx_messageInfo_GenerateConsistencyTokenResponse.Size(m) -} -func (m *GenerateConsistencyTokenResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GenerateConsistencyTokenResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GenerateConsistencyTokenResponse proto.InternalMessageInfo - -func (m *GenerateConsistencyTokenResponse) GetConsistencyToken() string { - if m != nil { - return m.ConsistencyToken - } - return "" -} - -// Request message for -// [google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency][google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency] -type CheckConsistencyRequest struct { - // The unique name of the Table for which to check replication consistency. - // Values are of the form - // `projects//instances//tables/
`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The token created using GenerateConsistencyToken for the Table. - ConsistencyToken string `protobuf:"bytes,2,opt,name=consistency_token,json=consistencyToken,proto3" json:"consistency_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_43baa00e5f96b1e4, []int{10} -} - -func (m *CheckConsistencyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CheckConsistencyRequest.Unmarshal(m, b) -} -func (m *CheckConsistencyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CheckConsistencyRequest.Marshal(b, m, deterministic) -} -func (m *CheckConsistencyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CheckConsistencyRequest.Merge(m, src) -} -func (m *CheckConsistencyRequest) XXX_Size() int { - return xxx_messageInfo_CheckConsistencyRequest.Size(m) -} -func (m *CheckConsistencyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CheckConsistencyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CheckConsistencyRequest proto.InternalMessageInfo - -func (m *CheckConsistencyRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *CheckConsistencyRequest) GetConsistencyToken() string { - if m != nil { - return m.ConsistencyToken - } - return "" -} - -// Response message for -// [google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency][google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency] -type CheckConsistencyResponse struct { - // True only if the token is consistent. A token is consistent if replication - // has caught up with the restrictions specified in the request. - Consistent bool `protobuf:"varint,1,opt,name=consistent,proto3" json:"consistent,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CheckConsistencyResponse) Reset() { *m = CheckConsistencyResponse{} } -func (m *CheckConsistencyResponse) String() string { return proto.CompactTextString(m) } -func (*CheckConsistencyResponse) ProtoMessage() {} -func (*CheckConsistencyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_43baa00e5f96b1e4, []int{11} -} - -func (m *CheckConsistencyResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CheckConsistencyResponse.Unmarshal(m, b) -} -func (m *CheckConsistencyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CheckConsistencyResponse.Marshal(b, m, deterministic) -} -func (m *CheckConsistencyResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CheckConsistencyResponse.Merge(m, src) -} -func (m *CheckConsistencyResponse) XXX_Size() int { - return xxx_messageInfo_CheckConsistencyResponse.Size(m) -} -func (m *CheckConsistencyResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CheckConsistencyResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_CheckConsistencyResponse proto.InternalMessageInfo - -func (m *CheckConsistencyResponse) GetConsistent() bool { - if m != nil { - return m.Consistent - } - return false -} - -// Request message for -// [google.bigtable.admin.v2.BigtableTableAdmin.SnapshotTable][google.bigtable.admin.v2.BigtableTableAdmin.SnapshotTable] -// -// Note: This is a private alpha release of Cloud Bigtable snapshots. This -// feature is not currently available to most Cloud Bigtable customers. This -// feature might be changed in backward-incompatible ways and is not recommended -// for production use. It is not subject to any SLA or deprecation policy. -type SnapshotTableRequest struct { - // The unique name of the table to have the snapshot taken. - // Values are of the form - // `projects//instances//tables/
`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The name of the cluster where the snapshot will be created in. - // Values are of the form - // `projects//instances//clusters/`. - Cluster string `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"` - // The ID by which the new snapshot should be referred to within the parent - // cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` - // rather than - // `projects//instances//clusters//snapshots/mysnapshot`. - SnapshotId string `protobuf:"bytes,3,opt,name=snapshot_id,json=snapshotId,proto3" json:"snapshot_id,omitempty"` - // The amount of time that the new snapshot can stay active after it is - // created. Once 'ttl' expires, the snapshot will get deleted. The maximum - // amount of time a snapshot can stay active is 7 days. If 'ttl' is not - // specified, the default value of 24 hours will be used. - Ttl *duration.Duration `protobuf:"bytes,4,opt,name=ttl,proto3" json:"ttl,omitempty"` - // Description of the snapshot. - Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_43baa00e5f96b1e4, []int{12} -} - -func (m *SnapshotTableRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SnapshotTableRequest.Unmarshal(m, b) -} -func (m *SnapshotTableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SnapshotTableRequest.Marshal(b, m, deterministic) -} -func (m *SnapshotTableRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SnapshotTableRequest.Merge(m, src) -} -func (m *SnapshotTableRequest) XXX_Size() int { - return xxx_messageInfo_SnapshotTableRequest.Size(m) -} -func (m *SnapshotTableRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SnapshotTableRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SnapshotTableRequest proto.InternalMessageInfo - -func (m *SnapshotTableRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *SnapshotTableRequest) GetCluster() string { - if m != nil { - return m.Cluster - } - return "" -} - -func (m *SnapshotTableRequest) GetSnapshotId() string { - if m != nil { - return m.SnapshotId - } - return "" -} - -func (m *SnapshotTableRequest) GetTtl() *duration.Duration { - if m != nil { - return m.Ttl - } - return nil -} - -func (m *SnapshotTableRequest) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -// Request message for -// [google.bigtable.admin.v2.BigtableTableAdmin.GetSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.GetSnapshot] -// -// Note: This is a private alpha release of Cloud Bigtable snapshots. This -// feature is not currently available to most Cloud Bigtable customers. This -// feature might be changed in backward-incompatible ways and is not recommended -// for production use. It is not subject to any SLA or deprecation policy. -type GetSnapshotRequest struct { - // The unique name of the requested snapshot. - // Values are of the form - // `projects//instances//clusters//snapshots/`. - 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 *GetSnapshotRequest) Reset() { *m = GetSnapshotRequest{} } -func (m *GetSnapshotRequest) String() string { return proto.CompactTextString(m) } -func (*GetSnapshotRequest) ProtoMessage() {} -func (*GetSnapshotRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_43baa00e5f96b1e4, []int{13} -} - -func (m *GetSnapshotRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetSnapshotRequest.Unmarshal(m, b) -} -func (m *GetSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetSnapshotRequest.Marshal(b, m, deterministic) -} -func (m *GetSnapshotRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetSnapshotRequest.Merge(m, src) -} -func (m *GetSnapshotRequest) XXX_Size() int { - return xxx_messageInfo_GetSnapshotRequest.Size(m) -} -func (m *GetSnapshotRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetSnapshotRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetSnapshotRequest proto.InternalMessageInfo - -func (m *GetSnapshotRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for -// [google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots][google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots] -// -// Note: This is a private alpha release of Cloud Bigtable snapshots. This -// feature is not currently available to most Cloud Bigtable customers. This -// feature might be 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 unique name of the cluster for which snapshots should be listed. - // Values are of the form - // `projects//instances//clusters/`. - // 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 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_43baa00e5f96b1e4, []int{14} -} - -func (m *ListSnapshotsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListSnapshotsRequest.Unmarshal(m, b) -} -func (m *ListSnapshotsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListSnapshotsRequest.Marshal(b, m, deterministic) -} -func (m *ListSnapshotsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSnapshotsRequest.Merge(m, src) -} -func (m *ListSnapshotsRequest) XXX_Size() int { - return xxx_messageInfo_ListSnapshotsRequest.Size(m) -} -func (m *ListSnapshotsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListSnapshotsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListSnapshotsRequest proto.InternalMessageInfo - -func (m *ListSnapshotsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListSnapshotsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListSnapshotsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response message for -// [google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots][google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots] -// -// Note: This is a private alpha release of Cloud Bigtable snapshots. This -// feature is not currently available to most Cloud Bigtable customers. This -// feature might be changed in backward-incompatible ways and is not recommended -// for production use. It is not subject to any SLA or deprecation policy. -type ListSnapshotsResponse struct { - // The snapshots present in the requested cluster. - Snapshots []*Snapshot `protobuf:"bytes,1,rep,name=snapshots,proto3" json:"snapshots,omitempty"` - // Set if not all snapshots 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_43baa00e5f96b1e4, []int{15} -} - -func (m *ListSnapshotsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListSnapshotsResponse.Unmarshal(m, b) -} -func (m *ListSnapshotsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListSnapshotsResponse.Marshal(b, m, deterministic) -} -func (m *ListSnapshotsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSnapshotsResponse.Merge(m, src) -} -func (m *ListSnapshotsResponse) XXX_Size() int { - return xxx_messageInfo_ListSnapshotsResponse.Size(m) -} -func (m *ListSnapshotsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListSnapshotsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListSnapshotsResponse proto.InternalMessageInfo - -func (m *ListSnapshotsResponse) GetSnapshots() []*Snapshot { - if m != nil { - return m.Snapshots - } - return nil -} - -func (m *ListSnapshotsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request message for -// [google.bigtable.admin.v2.BigtableTableAdmin.DeleteSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.DeleteSnapshot] -// -// Note: This is a private alpha release of Cloud Bigtable snapshots. This -// feature is not currently available to most Cloud Bigtable customers. This -// feature might be changed in backward-incompatible ways and is not recommended -// for production use. It is not subject to any SLA or deprecation policy. -type DeleteSnapshotRequest struct { - // The unique name of the snapshot to be deleted. - // Values are of the form - // `projects//instances//clusters//snapshots/`. - 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 *DeleteSnapshotRequest) Reset() { *m = DeleteSnapshotRequest{} } -func (m *DeleteSnapshotRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteSnapshotRequest) ProtoMessage() {} -func (*DeleteSnapshotRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_43baa00e5f96b1e4, []int{16} -} - -func (m *DeleteSnapshotRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteSnapshotRequest.Unmarshal(m, b) -} -func (m *DeleteSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteSnapshotRequest.Marshal(b, m, deterministic) -} -func (m *DeleteSnapshotRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteSnapshotRequest.Merge(m, src) -} -func (m *DeleteSnapshotRequest) XXX_Size() int { - return xxx_messageInfo_DeleteSnapshotRequest.Size(m) -} -func (m *DeleteSnapshotRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteSnapshotRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteSnapshotRequest proto.InternalMessageInfo - -func (m *DeleteSnapshotRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The metadata for the Operation returned by SnapshotTable. -// -// Note: This is a private alpha release of Cloud Bigtable snapshots. This -// feature is not currently available to most Cloud Bigtable customers. This -// feature might be changed in backward-incompatible ways and is not recommended -// for production use. It is not subject to any SLA or deprecation policy. -type SnapshotTableMetadata struct { - // The request that prompted the initiation of this SnapshotTable operation. - OriginalRequest *SnapshotTableRequest `protobuf:"bytes,1,opt,name=original_request,json=originalRequest,proto3" json:"original_request,omitempty"` - // The time at which the original request was received. - RequestTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=request_time,json=requestTime,proto3" json:"request_time,omitempty"` - // The time at which the operation failed or was completed successfully. - FinishTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_43baa00e5f96b1e4, []int{17} -} - -func (m *SnapshotTableMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SnapshotTableMetadata.Unmarshal(m, b) -} -func (m *SnapshotTableMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SnapshotTableMetadata.Marshal(b, m, deterministic) -} -func (m *SnapshotTableMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_SnapshotTableMetadata.Merge(m, src) -} -func (m *SnapshotTableMetadata) XXX_Size() int { - return xxx_messageInfo_SnapshotTableMetadata.Size(m) -} -func (m *SnapshotTableMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_SnapshotTableMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_SnapshotTableMetadata proto.InternalMessageInfo - -func (m *SnapshotTableMetadata) GetOriginalRequest() *SnapshotTableRequest { - if m != nil { - return m.OriginalRequest - } - return nil -} - -func (m *SnapshotTableMetadata) GetRequestTime() *timestamp.Timestamp { - if m != nil { - return m.RequestTime - } - return nil -} - -func (m *SnapshotTableMetadata) GetFinishTime() *timestamp.Timestamp { - if m != nil { - return m.FinishTime - } - return nil -} - -// The metadata for the Operation returned by CreateTableFromSnapshot. -// -// Note: This is a private alpha release of Cloud Bigtable snapshots. This -// feature is not currently available to most Cloud Bigtable customers. This -// feature might be changed in backward-incompatible ways and is not recommended -// for production use. It is not subject to any SLA or deprecation policy. -type CreateTableFromSnapshotMetadata struct { - // The request that prompted the initiation of this CreateTableFromSnapshot - // operation. - OriginalRequest *CreateTableFromSnapshotRequest `protobuf:"bytes,1,opt,name=original_request,json=originalRequest,proto3" json:"original_request,omitempty"` - // The time at which the original request was received. - RequestTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=request_time,json=requestTime,proto3" json:"request_time,omitempty"` - // The time at which the operation failed or was completed successfully. - FinishTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateTableFromSnapshotMetadata) Reset() { *m = CreateTableFromSnapshotMetadata{} } -func (m *CreateTableFromSnapshotMetadata) String() string { return proto.CompactTextString(m) } -func (*CreateTableFromSnapshotMetadata) ProtoMessage() {} -func (*CreateTableFromSnapshotMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_43baa00e5f96b1e4, []int{18} -} - -func (m *CreateTableFromSnapshotMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateTableFromSnapshotMetadata.Unmarshal(m, b) -} -func (m *CreateTableFromSnapshotMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateTableFromSnapshotMetadata.Marshal(b, m, deterministic) -} -func (m *CreateTableFromSnapshotMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateTableFromSnapshotMetadata.Merge(m, src) -} -func (m *CreateTableFromSnapshotMetadata) XXX_Size() int { - return xxx_messageInfo_CreateTableFromSnapshotMetadata.Size(m) -} -func (m *CreateTableFromSnapshotMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_CreateTableFromSnapshotMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateTableFromSnapshotMetadata proto.InternalMessageInfo - -func (m *CreateTableFromSnapshotMetadata) GetOriginalRequest() *CreateTableFromSnapshotRequest { - if m != nil { - return m.OriginalRequest - } - return nil -} - -func (m *CreateTableFromSnapshotMetadata) GetRequestTime() *timestamp.Timestamp { - if m != nil { - return m.RequestTime - } - return nil -} - -func (m *CreateTableFromSnapshotMetadata) GetFinishTime() *timestamp.Timestamp { - if m != nil { - return m.FinishTime - } - return nil -} - -func init() { - proto.RegisterType((*CreateTableRequest)(nil), "google.bigtable.admin.v2.CreateTableRequest") - proto.RegisterType((*CreateTableRequest_Split)(nil), "google.bigtable.admin.v2.CreateTableRequest.Split") - proto.RegisterType((*CreateTableFromSnapshotRequest)(nil), "google.bigtable.admin.v2.CreateTableFromSnapshotRequest") - proto.RegisterType((*DropRowRangeRequest)(nil), "google.bigtable.admin.v2.DropRowRangeRequest") - proto.RegisterType((*ListTablesRequest)(nil), "google.bigtable.admin.v2.ListTablesRequest") - proto.RegisterType((*ListTablesResponse)(nil), "google.bigtable.admin.v2.ListTablesResponse") - proto.RegisterType((*GetTableRequest)(nil), "google.bigtable.admin.v2.GetTableRequest") - proto.RegisterType((*DeleteTableRequest)(nil), "google.bigtable.admin.v2.DeleteTableRequest") - proto.RegisterType((*ModifyColumnFamiliesRequest)(nil), "google.bigtable.admin.v2.ModifyColumnFamiliesRequest") - proto.RegisterType((*ModifyColumnFamiliesRequest_Modification)(nil), "google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification") - proto.RegisterType((*GenerateConsistencyTokenRequest)(nil), "google.bigtable.admin.v2.GenerateConsistencyTokenRequest") - proto.RegisterType((*GenerateConsistencyTokenResponse)(nil), "google.bigtable.admin.v2.GenerateConsistencyTokenResponse") - proto.RegisterType((*CheckConsistencyRequest)(nil), "google.bigtable.admin.v2.CheckConsistencyRequest") - proto.RegisterType((*CheckConsistencyResponse)(nil), "google.bigtable.admin.v2.CheckConsistencyResponse") - proto.RegisterType((*SnapshotTableRequest)(nil), "google.bigtable.admin.v2.SnapshotTableRequest") - proto.RegisterType((*GetSnapshotRequest)(nil), "google.bigtable.admin.v2.GetSnapshotRequest") - proto.RegisterType((*ListSnapshotsRequest)(nil), "google.bigtable.admin.v2.ListSnapshotsRequest") - proto.RegisterType((*ListSnapshotsResponse)(nil), "google.bigtable.admin.v2.ListSnapshotsResponse") - proto.RegisterType((*DeleteSnapshotRequest)(nil), "google.bigtable.admin.v2.DeleteSnapshotRequest") - proto.RegisterType((*SnapshotTableMetadata)(nil), "google.bigtable.admin.v2.SnapshotTableMetadata") - proto.RegisterType((*CreateTableFromSnapshotMetadata)(nil), "google.bigtable.admin.v2.CreateTableFromSnapshotMetadata") -} - -func init() { - proto.RegisterFile("google/bigtable/admin/v2/bigtable_table_admin.proto", fileDescriptor_43baa00e5f96b1e4) -} - -var fileDescriptor_43baa00e5f96b1e4 = []byte{ - // 1638 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcb, 0x6b, 0x1b, 0xd7, - 0x1a, 0xcf, 0xc8, 0x8f, 0xd8, 0x9f, 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 0xef, 0xb9, 0x21, 0x46, 0xb7, 0x59, - 0x0c, 0x8c, 0x92, 0x51, 0x78, 0x07, 0x75, 0xec, 0x40, 0x29, 0x8e, 0xae, 0xc1, 0xb8, 0x8b, 0x9f, - 0xd3, 0x62, 0xcc, 0xa5, 0xa8, 0xec, 0x28, 0x23, 0x6f, 0x55, 0xdd, 0x16, 0x61, 0x7c, 0x03, 0xd3, - 0xba, 0x73, 0xd2, 0xaa, 0x62, 0xa7, 0xce, 0x89, 0x3a, 0x07, 0x68, 0x8d, 0xd7, 0xa7, 0x93, 0x0f, - 0xf5, 0xe7, 0x14, 0x5c, 0x7a, 0xe8, 0x59, 0x64, 0xff, 0x64, 0xd5, 0xb3, 0x2b, 0x8e, 0xbb, 0x6e, - 0x3a, 0xc4, 0x26, 0xb5, 0x7a, 0xb5, 0xc2, 0x75, 0x00, 0xa3, 0x0e, 0x53, 0x21, 0x25, 0x31, 0x5f, - 0x32, 0x29, 0x9e, 0xa6, 0x42, 0x32, 0xc0, 0x36, 0x1e, 0x04, 0x4f, 0x9a, 0x32, 0xea, 0x0d, 0x67, - 0xbf, 0x57, 0x60, 0x24, 0xce, 0x47, 0x63, 0x90, 0x22, 0x96, 0x04, 0x93, 0x22, 0x16, 0x5a, 0x81, - 0xc1, 0x12, 0x3f, 0x7e, 0x3c, 0x49, 0xe9, 0xfc, 0xb5, 0x36, 0x87, 0xbd, 0xe6, 0xfd, 0x64, 0xf3, - 0x8c, 0x21, 0xf5, 0x98, 0x85, 0x8a, 0x6f, 0x31, 0x0b, 0x7d, 0xbd, 0x5a, 0x10, 0x7a, 0x68, 0x12, - 0xfa, 0xad, 0xc0, 0xf3, 0x79, 0xef, 0xb1, 0xa3, 0xc1, 0xdf, 0x0a, 0x03, 0xd0, 0xe7, 0x78, 0x96, - 0xba, 0x00, 0x33, 0x1b, 0xd8, 0x65, 0x93, 0x18, 0xaf, 0x7a, 0x6e, 0x48, 0x42, 0x8a, 0xdd, 0xd2, - 0x09, 0x6f, 0x83, 0x76, 0x65, 0x79, 0x04, 0xb3, 0xc9, 0x6a, 0xb2, 0x4d, 0xe7, 0xe1, 0x5c, 0xa9, - 0xc6, 0x93, 0xfd, 0x26, 0x8c, 0x4c, 0x94, 0x1a, 0x94, 0xd4, 0xa7, 0x70, 0x61, 0xf5, 0x00, 0x97, - 0x0e, 0x63, 0xd6, 0xda, 0x95, 0xb8, 0xa5, 0xed, 0x54, 0x82, 0xed, 0x25, 0xc8, 0x34, 0xdb, 0x96, - 0x20, 0xa7, 0x01, 0xaa, 0xf2, 0xe2, 0xcc, 0x0f, 0x19, 0x31, 0x8a, 0xfa, 0x8d, 0x02, 0x93, 0xd1, - 0x38, 0xeb, 0x78, 0x20, 0x32, 0x70, 0xb6, 0x64, 0x57, 0x42, 0x8a, 0x83, 0x68, 0x62, 0xca, 0x57, - 0x34, 0x03, 0xe9, 0x68, 0x54, 0xb2, 0x79, 0x2a, 0x0e, 0x3a, 0x44, 0xa4, 0xfb, 0x16, 0x9a, 0x87, - 0x3e, 0x4a, 0x6d, 0x5e, 0xa3, 0x74, 0xfe, 0x62, 0x54, 0xe3, 0xe8, 0x36, 0xd3, 0xd6, 0xe4, 0x55, - 0x68, 0x30, 0x29, 0x34, 0x0b, 0x69, 0x0b, 0x87, 0xa5, 0x80, 0xf8, 0x8c, 0x96, 0x19, 0xe0, 0xd6, - 0xe2, 0x24, 0x76, 0xc0, 0x36, 0x30, 0x6d, 0x1c, 0xf5, 0xad, 0x2a, 0xf9, 0x0c, 0x26, 0xd9, 0x88, - 0x89, 0x44, 0x3b, 0x0e, 0xc2, 0xba, 0x71, 0x96, 0xea, 0x6d, 0x9c, 0x7d, 0xa2, 0xc0, 0x54, 0x83, - 0x33, 0x59, 0x86, 0x15, 0x18, 0x8e, 0x92, 0x11, 0x4d, 0x35, 0x35, 0xb9, 0xd1, 0xab, 0x71, 0xd5, - 0x94, 0xba, 0x9e, 0x6d, 0xf3, 0x30, 0x25, 0x46, 0x4f, 0x37, 0xc9, 0xf9, 0x4d, 0x81, 0xa9, 0xba, - 0xea, 0x3f, 0xc4, 0xd4, 0x64, 0x57, 0x0e, 0x7a, 0x02, 0x13, 0x5e, 0x40, 0xca, 0xc4, 0x35, 0xed, - 0x62, 0x20, 0x2c, 0x70, 0xcd, 0x74, 0x5e, 0xeb, 0x8c, 0x3b, 0xde, 0x48, 0xc6, 0x78, 0x64, 0x27, - 0x02, 0xb2, 0x0c, 0x23, 0xd2, 0x62, 0x91, 0x2d, 0x31, 0x72, 0x72, 0x64, 0x9b, 0x7a, 0x62, 0x27, - 0xda, 0x70, 0x8c, 0xb4, 0x94, 0x67, 0x14, 0x74, 0x07, 0xd2, 0xfb, 0xc4, 0x25, 0xe1, 0x81, 0xd0, - 0xee, 0xeb, 0xa8, 0x0d, 0x42, 0x9c, 0x11, 0xd4, 0x57, 0x29, 0x98, 0x49, 0xd8, 0x17, 0xaa, 0xa1, - 0x97, 0x12, 0x43, 0x5f, 0xec, 0x6a, 0x95, 0x69, 0xb1, 0x84, 0xfc, 0xad, 0x92, 0x90, 0x7f, 0x33, - 0x05, 0xa8, 0x20, 0x23, 0xe0, 0x88, 0xef, 0xb1, 0x28, 0xd0, 0x6b, 0x05, 0xd2, 0xb1, 0x30, 0xd0, - 0x8d, 0x5e, 0x16, 0xb7, 0x6c, 0xa7, 0x4b, 0x5a, 0x5d, 0x78, 0xf5, 0xd3, 0xaf, 0xaf, 0x53, 0xba, - 0x9a, 0x63, 0x8b, 0xf7, 0x47, 0xe2, 0xb4, 0x2d, 0xfb, 0x81, 0xf7, 0x0c, 0x97, 0x68, 0xa8, 0xe7, - 0x74, 0xe2, 0x86, 0xd4, 0x74, 0x4b, 0x38, 0xd4, 0x73, 0x2f, 0xc5, 0x62, 0x1e, 0x2e, 0x29, 0x39, - 0xf4, 0x9d, 0x02, 0x17, 0x12, 0x92, 0x8b, 0x4e, 0x5d, 0x8f, 0xec, 0x95, 0x48, 0x33, 0xb6, 0xb1, - 0x6b, 0x8f, 0x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, 0x73, 0xc1, 0x5a, - 0x91, 0x61, 0xda, 0x6e, 0x87, 0x69, 0xfb, 0xaf, 0xc7, 0x14, 0x36, 0x60, 0xfa, 0x56, 0x01, 0xb4, - 0x83, 0x43, 0x4e, 0xc4, 0x81, 0x43, 0xc2, 0x90, 0x7d, 0xce, 0xa3, 0xb9, 0x06, 0xaf, 0xcd, 0x22, - 0x11, 0xbe, 0xeb, 0x5d, 0x48, 0xca, 0x9e, 0x7b, 0xc0, 0x31, 0xaf, 0xab, 0xf7, 0x7a, 0xc4, 0x4c, - 0x9b, 0x4c, 0x2e, 0x29, 0xb9, 0xc2, 0x3b, 0x05, 0x2e, 0x97, 0x3c, 0x27, 0xb1, 0xe5, 0x0a, 0x17, - 0x9a, 0x37, 0xd7, 0x2d, 0xd6, 0x66, 0x5b, 0xca, 0xd3, 0x65, 0xa9, 0x54, 0xf6, 0x6c, 0xd3, 0x2d, - 0x6b, 0x5e, 0x50, 0xd6, 0xcb, 0xd8, 0xe5, 0x4d, 0xa8, 0x0b, 0x96, 0xe9, 0x93, 0xb0, 0xf9, 0x67, - 0xe0, 0x3b, 0xfc, 0xe1, 0xab, 0xd4, 0xf4, 0x86, 0xd0, 0x5f, 0xb5, 0xbd, 0x8a, 0xa5, 0x45, 0x7e, - 0x34, 0xee, 0x43, 0x7b, 0x9c, 0xff, 0x31, 0x12, 0xd8, 0xe5, 0x02, 0xbb, 0x91, 0xc0, 0x2e, 0x17, - 0xd8, 0x7d, 0x9c, 0xdf, 0x1b, 0xe4, 0xbe, 0x6e, 0xfd, 0x11, 0x00, 0x00, 0xff, 0xff, 0xaf, 0xcd, - 0x7e, 0xb8, 0xde, 0x16, 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 - -// BigtableTableAdminClient is the client API for BigtableTableAdmin service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type BigtableTableAdminClient interface { - // Creates a new table in the specified instance. - // The table can be created with a full set of initial column families, - // specified in the request. - CreateTable(ctx context.Context, in *CreateTableRequest, opts ...grpc.CallOption) (*Table, error) - // Creates a new table from the specified snapshot. The target table must - // not exist. The snapshot and the table must be in the same instance. - // - // Note: This is a private alpha release of Cloud Bigtable snapshots. This - // feature is not currently available to most Cloud Bigtable customers. This - // feature might be changed in backward-incompatible ways and is not - // recommended for production use. It is not subject to any SLA or deprecation - // policy. - CreateTableFromSnapshot(ctx context.Context, in *CreateTableFromSnapshotRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Lists all tables served from a specified instance. - ListTables(ctx context.Context, in *ListTablesRequest, opts ...grpc.CallOption) (*ListTablesResponse, error) - // Gets metadata information about the specified table. - GetTable(ctx context.Context, in *GetTableRequest, opts ...grpc.CallOption) (*Table, error) - // Permanently deletes a specified table and all of its data. - DeleteTable(ctx context.Context, in *DeleteTableRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Performs a series of column family modifications on the specified table. - // Either all or none of the modifications will occur before this method - // returns, but data requests received prior to that point may see a table - // where only some modifications have taken effect. - ModifyColumnFamilies(ctx context.Context, in *ModifyColumnFamiliesRequest, opts ...grpc.CallOption) (*Table, error) - // Permanently drop/delete a row range from a specified table. The request can - // specify whether to delete all rows in a table, or only those that match a - // particular prefix. - DropRowRange(ctx context.Context, in *DropRowRangeRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Generates a consistency token for a Table, which can be used in - // CheckConsistency to check whether mutations to the table that finished - // before this call started have been replicated. The tokens will be available - // for 90 days. - GenerateConsistencyToken(ctx context.Context, in *GenerateConsistencyTokenRequest, opts ...grpc.CallOption) (*GenerateConsistencyTokenResponse, error) - // Checks replication consistency based on a consistency token, that is, if - // replication has caught up based on the conditions specified in the token - // and the check request. - CheckConsistency(ctx context.Context, in *CheckConsistencyRequest, opts ...grpc.CallOption) (*CheckConsistencyResponse, error) - // Creates a new snapshot in the specified cluster from the specified - // source table. The cluster and the table must be in the same instance. - // - // Note: This is a private alpha release of Cloud Bigtable snapshots. This - // feature is not currently available to most Cloud Bigtable customers. This - // feature might be changed in backward-incompatible ways and is not - // recommended for production use. It is not subject to any SLA or deprecation - // policy. - SnapshotTable(ctx context.Context, in *SnapshotTableRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Gets metadata information about the specified snapshot. - // - // Note: This is a private alpha release of Cloud Bigtable snapshots. This - // feature is not currently available to most Cloud Bigtable customers. This - // feature might be changed in backward-incompatible ways and is not - // recommended for production use. It is not subject to any SLA or deprecation - // policy. - GetSnapshot(ctx context.Context, in *GetSnapshotRequest, opts ...grpc.CallOption) (*Snapshot, error) - // Lists all snapshots associated with the specified cluster. - // - // Note: This is a private alpha release of Cloud Bigtable snapshots. This - // feature is not currently available to most Cloud Bigtable customers. This - // feature might be changed in backward-incompatible ways and is not - // recommended for production use. It is not subject to any SLA or deprecation - // policy. - ListSnapshots(ctx context.Context, in *ListSnapshotsRequest, opts ...grpc.CallOption) (*ListSnapshotsResponse, error) - // Permanently deletes the specified snapshot. - // - // Note: This is a private alpha release of Cloud Bigtable snapshots. This - // feature is not currently available to most Cloud Bigtable customers. This - // feature might be changed in backward-incompatible ways and is not - // recommended for production use. It is not subject to any SLA or deprecation - // policy. - DeleteSnapshot(ctx context.Context, in *DeleteSnapshotRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Gets the access control policy for an instance resource. Returns an empty - // policy if an table exists but does not have a policy set. - GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) - // Sets the access control policy on a table resource. Replaces any existing - // policy. - SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) - // Returns permissions that the caller has on the specified table resource. - TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) -} - -type bigtableTableAdminClient struct { - cc *grpc.ClientConn -} - -func NewBigtableTableAdminClient(cc *grpc.ClientConn) BigtableTableAdminClient { - return &bigtableTableAdminClient{cc} -} - -func (c *bigtableTableAdminClient) CreateTable(ctx context.Context, in *CreateTableRequest, opts ...grpc.CallOption) (*Table, error) { - out := new(Table) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableTableAdmin/CreateTable", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableTableAdminClient) CreateTableFromSnapshot(ctx context.Context, in *CreateTableFromSnapshotRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableTableAdmin/CreateTableFromSnapshot", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableTableAdminClient) ListTables(ctx context.Context, in *ListTablesRequest, opts ...grpc.CallOption) (*ListTablesResponse, error) { - out := new(ListTablesResponse) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableTableAdmin/ListTables", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableTableAdminClient) GetTable(ctx context.Context, in *GetTableRequest, opts ...grpc.CallOption) (*Table, error) { - out := new(Table) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableTableAdmin/GetTable", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableTableAdminClient) DeleteTable(ctx context.Context, in *DeleteTableRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableTableAdmin/DeleteTable", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableTableAdminClient) ModifyColumnFamilies(ctx context.Context, in *ModifyColumnFamiliesRequest, opts ...grpc.CallOption) (*Table, error) { - out := new(Table) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableTableAdmin/ModifyColumnFamilies", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableTableAdminClient) DropRowRange(ctx context.Context, in *DropRowRangeRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableTableAdmin/DropRowRange", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableTableAdminClient) GenerateConsistencyToken(ctx context.Context, in *GenerateConsistencyTokenRequest, opts ...grpc.CallOption) (*GenerateConsistencyTokenResponse, error) { - out := new(GenerateConsistencyTokenResponse) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableTableAdmin/GenerateConsistencyToken", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableTableAdminClient) CheckConsistency(ctx context.Context, in *CheckConsistencyRequest, opts ...grpc.CallOption) (*CheckConsistencyResponse, error) { - out := new(CheckConsistencyResponse) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableTableAdmin/CheckConsistency", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableTableAdminClient) SnapshotTable(ctx context.Context, in *SnapshotTableRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableTableAdmin/SnapshotTable", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableTableAdminClient) GetSnapshot(ctx context.Context, in *GetSnapshotRequest, opts ...grpc.CallOption) (*Snapshot, error) { - out := new(Snapshot) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableTableAdmin/GetSnapshot", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableTableAdminClient) ListSnapshots(ctx context.Context, in *ListSnapshotsRequest, opts ...grpc.CallOption) (*ListSnapshotsResponse, error) { - out := new(ListSnapshotsResponse) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableTableAdmin/ListSnapshots", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableTableAdminClient) DeleteSnapshot(ctx context.Context, in *DeleteSnapshotRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableTableAdmin/DeleteSnapshot", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableTableAdminClient) GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { - out := new(v1.Policy) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableTableAdmin/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableTableAdminClient) SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { - out := new(v1.Policy) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableTableAdmin/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableTableAdminClient) TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) { - out := new(v1.TestIamPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.bigtable.admin.v2.BigtableTableAdmin/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// BigtableTableAdminServer is the server API for BigtableTableAdmin service. -type BigtableTableAdminServer interface { - // Creates a new table in the specified instance. - // The table can be created with a full set of initial column families, - // specified in the request. - CreateTable(context.Context, *CreateTableRequest) (*Table, error) - // Creates a new table from the specified snapshot. The target table must - // not exist. The snapshot and the table must be in the same instance. - // - // Note: This is a private alpha release of Cloud Bigtable snapshots. This - // feature is not currently available to most Cloud Bigtable customers. This - // feature might be changed in backward-incompatible ways and is not - // recommended for production use. It is not subject to any SLA or deprecation - // policy. - CreateTableFromSnapshot(context.Context, *CreateTableFromSnapshotRequest) (*longrunning.Operation, error) - // Lists all tables served from a specified instance. - ListTables(context.Context, *ListTablesRequest) (*ListTablesResponse, error) - // Gets metadata information about the specified table. - GetTable(context.Context, *GetTableRequest) (*Table, error) - // Permanently deletes a specified table and all of its data. - DeleteTable(context.Context, *DeleteTableRequest) (*empty.Empty, error) - // Performs a series of column family modifications on the specified table. - // Either all or none of the modifications will occur before this method - // returns, but data requests received prior to that point may see a table - // where only some modifications have taken effect. - ModifyColumnFamilies(context.Context, *ModifyColumnFamiliesRequest) (*Table, error) - // Permanently drop/delete a row range from a specified table. The request can - // specify whether to delete all rows in a table, or only those that match a - // particular prefix. - DropRowRange(context.Context, *DropRowRangeRequest) (*empty.Empty, error) - // Generates a consistency token for a Table, which can be used in - // CheckConsistency to check whether mutations to the table that finished - // before this call started have been replicated. The tokens will be available - // for 90 days. - GenerateConsistencyToken(context.Context, *GenerateConsistencyTokenRequest) (*GenerateConsistencyTokenResponse, error) - // Checks replication consistency based on a consistency token, that is, if - // replication has caught up based on the conditions specified in the token - // and the check request. - CheckConsistency(context.Context, *CheckConsistencyRequest) (*CheckConsistencyResponse, error) - // Creates a new snapshot in the specified cluster from the specified - // source table. The cluster and the table must be in the same instance. - // - // Note: This is a private alpha release of Cloud Bigtable snapshots. This - // feature is not currently available to most Cloud Bigtable customers. This - // feature might be changed in backward-incompatible ways and is not - // recommended for production use. It is not subject to any SLA or deprecation - // policy. - SnapshotTable(context.Context, *SnapshotTableRequest) (*longrunning.Operation, error) - // Gets metadata information about the specified snapshot. - // - // Note: This is a private alpha release of Cloud Bigtable snapshots. This - // feature is not currently available to most Cloud Bigtable customers. This - // feature might be changed in backward-incompatible ways and is not - // recommended for production use. It is not subject to any SLA or deprecation - // policy. - GetSnapshot(context.Context, *GetSnapshotRequest) (*Snapshot, error) - // Lists all snapshots associated with the specified cluster. - // - // Note: This is a private alpha release of Cloud Bigtable snapshots. This - // feature is not currently available to most Cloud Bigtable customers. This - // feature might be changed in backward-incompatible ways and is not - // recommended for production use. It is not subject to any SLA or deprecation - // policy. - ListSnapshots(context.Context, *ListSnapshotsRequest) (*ListSnapshotsResponse, error) - // Permanently deletes the specified snapshot. - // - // Note: This is a private alpha release of Cloud Bigtable snapshots. This - // feature is not currently available to most Cloud Bigtable customers. This - // feature might be changed in backward-incompatible ways and is not - // recommended for production use. It is not subject to any SLA or deprecation - // policy. - DeleteSnapshot(context.Context, *DeleteSnapshotRequest) (*empty.Empty, error) - // Gets the access control policy for an instance resource. Returns an empty - // policy if an table exists but does not have a policy set. - GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error) - // Sets the access control policy on a table resource. Replaces any existing - // policy. - SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error) - // Returns permissions that the caller has on the specified table resource. - TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) -} - -// UnimplementedBigtableTableAdminServer can be embedded to have forward compatible implementations. -type UnimplementedBigtableTableAdminServer struct { -} - -func (*UnimplementedBigtableTableAdminServer) CreateTable(ctx context.Context, req *CreateTableRequest) (*Table, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateTable not implemented") -} -func (*UnimplementedBigtableTableAdminServer) CreateTableFromSnapshot(ctx context.Context, req *CreateTableFromSnapshotRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateTableFromSnapshot not implemented") -} -func (*UnimplementedBigtableTableAdminServer) ListTables(ctx context.Context, req *ListTablesRequest) (*ListTablesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListTables not implemented") -} -func (*UnimplementedBigtableTableAdminServer) GetTable(ctx context.Context, req *GetTableRequest) (*Table, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTable not implemented") -} -func (*UnimplementedBigtableTableAdminServer) DeleteTable(ctx context.Context, req *DeleteTableRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteTable not implemented") -} -func (*UnimplementedBigtableTableAdminServer) ModifyColumnFamilies(ctx context.Context, req *ModifyColumnFamiliesRequest) (*Table, error) { - return nil, status.Errorf(codes.Unimplemented, "method ModifyColumnFamilies not implemented") -} -func (*UnimplementedBigtableTableAdminServer) DropRowRange(ctx context.Context, req *DropRowRangeRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DropRowRange not implemented") -} -func (*UnimplementedBigtableTableAdminServer) GenerateConsistencyToken(ctx context.Context, req *GenerateConsistencyTokenRequest) (*GenerateConsistencyTokenResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GenerateConsistencyToken not implemented") -} -func (*UnimplementedBigtableTableAdminServer) CheckConsistency(ctx context.Context, req *CheckConsistencyRequest) (*CheckConsistencyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CheckConsistency not implemented") -} -func (*UnimplementedBigtableTableAdminServer) SnapshotTable(ctx context.Context, req *SnapshotTableRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SnapshotTable not implemented") -} -func (*UnimplementedBigtableTableAdminServer) GetSnapshot(ctx context.Context, req *GetSnapshotRequest) (*Snapshot, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetSnapshot not implemented") -} -func (*UnimplementedBigtableTableAdminServer) ListSnapshots(ctx context.Context, req *ListSnapshotsRequest) (*ListSnapshotsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListSnapshots not implemented") -} -func (*UnimplementedBigtableTableAdminServer) DeleteSnapshot(ctx context.Context, req *DeleteSnapshotRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteSnapshot not implemented") -} -func (*UnimplementedBigtableTableAdminServer) GetIamPolicy(ctx context.Context, req *v1.GetIamPolicyRequest) (*v1.Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedBigtableTableAdminServer) SetIamPolicy(ctx context.Context, req *v1.SetIamPolicyRequest) (*v1.Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedBigtableTableAdminServer) TestIamPermissions(ctx context.Context, req *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} - -func RegisterBigtableTableAdminServer(s *grpc.Server, srv BigtableTableAdminServer) { - s.RegisterService(&_BigtableTableAdmin_serviceDesc, srv) -} - -func _BigtableTableAdmin_CreateTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateTableRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableTableAdminServer).CreateTable(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.v2.BigtableTableAdmin/CreateTable", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableTableAdminServer).CreateTable(ctx, req.(*CreateTableRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableTableAdmin_CreateTableFromSnapshot_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateTableFromSnapshotRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableTableAdminServer).CreateTableFromSnapshot(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.v2.BigtableTableAdmin/CreateTableFromSnapshot", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableTableAdminServer).CreateTableFromSnapshot(ctx, req.(*CreateTableFromSnapshotRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableTableAdmin_ListTables_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListTablesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableTableAdminServer).ListTables(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.v2.BigtableTableAdmin/ListTables", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableTableAdminServer).ListTables(ctx, req.(*ListTablesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableTableAdmin_GetTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTableRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableTableAdminServer).GetTable(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.v2.BigtableTableAdmin/GetTable", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableTableAdminServer).GetTable(ctx, req.(*GetTableRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableTableAdmin_DeleteTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteTableRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableTableAdminServer).DeleteTable(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.v2.BigtableTableAdmin/DeleteTable", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableTableAdminServer).DeleteTable(ctx, req.(*DeleteTableRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableTableAdmin_ModifyColumnFamilies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ModifyColumnFamiliesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableTableAdminServer).ModifyColumnFamilies(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.v2.BigtableTableAdmin/ModifyColumnFamilies", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableTableAdminServer).ModifyColumnFamilies(ctx, req.(*ModifyColumnFamiliesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableTableAdmin_DropRowRange_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DropRowRangeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableTableAdminServer).DropRowRange(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.v2.BigtableTableAdmin/DropRowRange", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableTableAdminServer).DropRowRange(ctx, req.(*DropRowRangeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableTableAdmin_GenerateConsistencyToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GenerateConsistencyTokenRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableTableAdminServer).GenerateConsistencyToken(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.v2.BigtableTableAdmin/GenerateConsistencyToken", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableTableAdminServer).GenerateConsistencyToken(ctx, req.(*GenerateConsistencyTokenRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableTableAdmin_CheckConsistency_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CheckConsistencyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableTableAdminServer).CheckConsistency(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.v2.BigtableTableAdmin/CheckConsistency", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableTableAdminServer).CheckConsistency(ctx, req.(*CheckConsistencyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableTableAdmin_SnapshotTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SnapshotTableRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableTableAdminServer).SnapshotTable(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.v2.BigtableTableAdmin/SnapshotTable", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableTableAdminServer).SnapshotTable(ctx, req.(*SnapshotTableRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableTableAdmin_GetSnapshot_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetSnapshotRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableTableAdminServer).GetSnapshot(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.v2.BigtableTableAdmin/GetSnapshot", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableTableAdminServer).GetSnapshot(ctx, req.(*GetSnapshotRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableTableAdmin_ListSnapshots_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListSnapshotsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableTableAdminServer).ListSnapshots(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.v2.BigtableTableAdmin/ListSnapshots", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableTableAdminServer).ListSnapshots(ctx, req.(*ListSnapshotsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableTableAdmin_DeleteSnapshot_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteSnapshotRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableTableAdminServer).DeleteSnapshot(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.v2.BigtableTableAdmin/DeleteSnapshot", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableTableAdminServer).DeleteSnapshot(ctx, req.(*DeleteSnapshotRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableTableAdmin_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.(BigtableTableAdminServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.v2.BigtableTableAdmin/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableTableAdminServer).GetIamPolicy(ctx, req.(*v1.GetIamPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableTableAdmin_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.(BigtableTableAdminServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.v2.BigtableTableAdmin/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableTableAdminServer).SetIamPolicy(ctx, req.(*v1.SetIamPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableTableAdmin_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.(BigtableTableAdminServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.admin.v2.BigtableTableAdmin/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableTableAdminServer).TestIamPermissions(ctx, req.(*v1.TestIamPermissionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _BigtableTableAdmin_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.bigtable.admin.v2.BigtableTableAdmin", - HandlerType: (*BigtableTableAdminServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateTable", - Handler: _BigtableTableAdmin_CreateTable_Handler, - }, - { - MethodName: "CreateTableFromSnapshot", - Handler: _BigtableTableAdmin_CreateTableFromSnapshot_Handler, - }, - { - MethodName: "ListTables", - Handler: _BigtableTableAdmin_ListTables_Handler, - }, - { - MethodName: "GetTable", - Handler: _BigtableTableAdmin_GetTable_Handler, - }, - { - MethodName: "DeleteTable", - Handler: _BigtableTableAdmin_DeleteTable_Handler, - }, - { - MethodName: "ModifyColumnFamilies", - Handler: _BigtableTableAdmin_ModifyColumnFamilies_Handler, - }, - { - MethodName: "DropRowRange", - Handler: _BigtableTableAdmin_DropRowRange_Handler, - }, - { - MethodName: "GenerateConsistencyToken", - Handler: _BigtableTableAdmin_GenerateConsistencyToken_Handler, - }, - { - MethodName: "CheckConsistency", - Handler: _BigtableTableAdmin_CheckConsistency_Handler, - }, - { - MethodName: "SnapshotTable", - Handler: _BigtableTableAdmin_SnapshotTable_Handler, - }, - { - MethodName: "GetSnapshot", - Handler: _BigtableTableAdmin_GetSnapshot_Handler, - }, - { - MethodName: "ListSnapshots", - Handler: _BigtableTableAdmin_ListSnapshots_Handler, - }, - { - MethodName: "DeleteSnapshot", - Handler: _BigtableTableAdmin_DeleteSnapshot_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _BigtableTableAdmin_GetIamPolicy_Handler, - }, - { - MethodName: "SetIamPolicy", - Handler: _BigtableTableAdmin_SetIamPolicy_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _BigtableTableAdmin_TestIamPermissions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/bigtable/admin/v2/bigtable_table_admin.proto", -} 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 deleted file mode 100644 index b70a18a3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/common.pb.go +++ /dev/null @@ -1,85 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/bigtable/admin/v2/common.proto - -package admin - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Storage media types for persisting Bigtable data. -type StorageType int32 - -const ( - // The user did not specify a storage type. - StorageType_STORAGE_TYPE_UNSPECIFIED StorageType = 0 - // Flash (SSD) storage should be used. - StorageType_SSD StorageType = 1 - // Magnetic drive (HDD) storage should be used. - StorageType_HDD StorageType = 2 -) - -var StorageType_name = map[int32]string{ - 0: "STORAGE_TYPE_UNSPECIFIED", - 1: "SSD", - 2: "HDD", -} - -var StorageType_value = map[string]int32{ - "STORAGE_TYPE_UNSPECIFIED": 0, - "SSD": 1, - "HDD": 2, -} - -func (x StorageType) String() string { - return proto.EnumName(StorageType_name, int32(x)) -} - -func (StorageType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_79ab584e3c858108, []int{0} -} - -func init() { - proto.RegisterEnum("google.bigtable.admin.v2.StorageType", StorageType_name, StorageType_value) -} - -func init() { - proto.RegisterFile("google/bigtable/admin/v2/common.proto", fileDescriptor_79ab584e3c858108) -} - -var fileDescriptor_79ab584e3c858108 = []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, - 0x7a, 0x94, 0x1d, 0xd6, 0x1f, 0xce, 0x5d, 0xb4, 0x98, 0x3a, 0x50, 0x0a, 0x23, 0xdd, 0x62, 0x08, - 0x34, 0x79, 0xa1, 0xcd, 0x06, 0xfe, 0x4b, 0x1e, 0xfc, 0x43, 0xfc, 0xab, 0x64, 0x49, 0x7b, 0x12, - 0x6f, 0x2f, 0xbc, 0xcf, 0xcb, 0xf7, 0x25, 0xe8, 0x46, 0x00, 0x88, 0x96, 0x93, 0x46, 0x0a, 0xcb, - 0x9a, 0x96, 0x13, 0xb6, 0x57, 0x52, 0x93, 0x63, 0x42, 0x76, 0xa0, 0x14, 0x68, 0x6c, 0x3a, 0xb0, - 0x10, 0xcd, 0x3c, 0xc3, 0x23, 0xc3, 0x8e, 0xe1, 0x63, 0x32, 0x8f, 0x87, 0x0b, 0x98, 0x91, 0x84, - 0x69, 0x0d, 0x96, 0x59, 0x09, 0xba, 0xf7, 0x73, 0xf3, 0xeb, 0xa1, 0xeb, 0x4e, 0xcd, 0xe1, 0x83, - 0x58, 0xa9, 0x78, 0x6f, 0x99, 0x32, 0x1e, 0xdc, 0x2e, 0xd0, 0x94, 0x5a, 0xe8, 0x98, 0xe0, 0xd5, - 0xa7, 0xe1, 0x51, 0x8c, 0x66, 0xb4, 0x7a, 0x7e, 0x59, 0xae, 0x8a, 0x6d, 0xf5, 0x56, 0x16, 0xdb, - 0xd7, 0x27, 0x5a, 0x16, 0xd9, 0xfa, 0x61, 0x5d, 0xe4, 0xe1, 0x59, 0x74, 0x89, 0xce, 0x29, 0xcd, - 0xc3, 0xe0, 0x54, 0x3c, 0xe6, 0x79, 0x38, 0x49, 0xbf, 0x03, 0x14, 0xef, 0x40, 0xe1, 0xff, 0xd6, - 0x4b, 0xa7, 0x99, 0x7b, 0x46, 0x79, 0x0a, 0x2b, 0x83, 0xf7, 0xc5, 0x00, 0x05, 0xb4, 0x4c, 0x0b, - 0x0c, 0x9d, 0x20, 0x82, 0x6b, 0xb7, 0x0a, 0xf1, 0x2d, 0x66, 0x64, 0xff, 0xf7, 0x37, 0xee, 0x5d, - 0xf1, 0x35, 0xb9, 0x5a, 0xf9, 0xf9, 0xac, 0x85, 0xc3, 0x1e, 0xa7, 0x63, 0xdc, 0xd2, 0xc5, 0x6d, - 0x92, 0x9f, 0x11, 0xd4, 0x0e, 0xd4, 0x23, 0xa8, 0x1d, 0xa8, 0x37, 0x49, 0x73, 0xe1, 0xb2, 0xee, - 0x7e, 0x03, 0x00, 0x00, 0xff, 0xff, 0xaf, 0x9e, 0x61, 0x6a, 0x78, 0x01, 0x00, 0x00, -} 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 deleted file mode 100644 index c1032b0e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/instance.pb.go +++ /dev/null @@ -1,607 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/bigtable/admin/v2/instance.proto - -package admin - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible states of an instance. -type Instance_State int32 - -const ( - // The state of the instance could not be determined. - Instance_STATE_NOT_KNOWN Instance_State = 0 - // The instance has been successfully created and can serve requests - // to its tables. - Instance_READY Instance_State = 1 - // The instance is currently being created, and may be destroyed - // if the creation process encounters an error. - Instance_CREATING Instance_State = 2 -) - -var Instance_State_name = map[int32]string{ - 0: "STATE_NOT_KNOWN", - 1: "READY", - 2: "CREATING", -} - -var Instance_State_value = map[string]int32{ - "STATE_NOT_KNOWN": 0, - "READY": 1, - "CREATING": 2, -} - -func (x Instance_State) String() string { - return proto.EnumName(Instance_State_name, int32(x)) -} - -func (Instance_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_712127d2a900984d, []int{0, 0} -} - -// The type of the instance. -type Instance_Type int32 - -const ( - // The type of the instance is unspecified. If set when creating an - // instance, a `PRODUCTION` instance will be created. If set when updating - // an instance, the type will be left unchanged. - Instance_TYPE_UNSPECIFIED Instance_Type = 0 - // An instance meant for production use. `serve_nodes` must be set - // on the cluster. - Instance_PRODUCTION Instance_Type = 1 - // The instance is meant for development and testing purposes only; it has - // no performance or uptime guarantees and is not covered by SLA. - // After a development instance is created, it can be upgraded by - // updating the instance to type `PRODUCTION`. An instance created - // as a production instance cannot be changed to a development instance. - // When creating a development instance, `serve_nodes` on the cluster must - // not be set. - Instance_DEVELOPMENT Instance_Type = 2 -) - -var Instance_Type_name = map[int32]string{ - 0: "TYPE_UNSPECIFIED", - 1: "PRODUCTION", - 2: "DEVELOPMENT", -} - -var Instance_Type_value = map[string]int32{ - "TYPE_UNSPECIFIED": 0, - "PRODUCTION": 1, - "DEVELOPMENT": 2, -} - -func (x Instance_Type) String() string { - return proto.EnumName(Instance_Type_name, int32(x)) -} - -func (Instance_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_712127d2a900984d, []int{0, 1} -} - -// Possible states of a cluster. -type Cluster_State int32 - -const ( - // The state of the cluster could not be determined. - Cluster_STATE_NOT_KNOWN Cluster_State = 0 - // The cluster has been successfully created and is ready to serve requests. - Cluster_READY Cluster_State = 1 - // The cluster is currently being created, and may be destroyed - // if the creation process encounters an error. - // A cluster may not be able to serve requests while being created. - Cluster_CREATING Cluster_State = 2 - // The cluster is currently being resized, and may revert to its previous - // node count if the process encounters an error. - // A cluster is still capable of serving requests while being resized, - // but may exhibit performance as if its number of allocated nodes is - // between the starting and requested states. - Cluster_RESIZING Cluster_State = 3 - // The cluster has no backing nodes. The data (tables) still - // exist, but no operations can be performed on the cluster. - Cluster_DISABLED Cluster_State = 4 -) - -var Cluster_State_name = map[int32]string{ - 0: "STATE_NOT_KNOWN", - 1: "READY", - 2: "CREATING", - 3: "RESIZING", - 4: "DISABLED", -} - -var Cluster_State_value = map[string]int32{ - "STATE_NOT_KNOWN": 0, - "READY": 1, - "CREATING": 2, - "RESIZING": 3, - "DISABLED": 4, -} - -func (x Cluster_State) String() string { - return proto.EnumName(Cluster_State_name, int32(x)) -} - -func (Cluster_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_712127d2a900984d, []int{1, 0} -} - -// A collection of Bigtable [Tables][google.bigtable.admin.v2.Table] and -// the resources that serve them. -// All tables in an instance are served from a single -// [Cluster][google.bigtable.admin.v2.Cluster]. -type Instance struct { - // (`OutputOnly`) - // The unique name of the instance. Values are of the form - // `projects//instances/[a-z][a-z0-9\\-]+[a-z0-9]`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The descriptive name for this instance as it appears in UIs. - // Can be changed at any time, but should be kept globally unique - // to avoid confusion. - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // (`OutputOnly`) - // The current state of the instance. - State Instance_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.bigtable.admin.v2.Instance_State" json:"state,omitempty"` - // The type of the instance. Defaults to `PRODUCTION`. - Type Instance_Type `protobuf:"varint,4,opt,name=type,proto3,enum=google.bigtable.admin.v2.Instance_Type" json:"type,omitempty"` - // Labels are a flexible and lightweight mechanism for organizing cloud - // resources into groups that reflect a customer's organizational needs and - // deployment strategies. They can be used to filter resources and aggregate - // metrics. - // - // * Label keys must be between 1 and 63 characters long and must conform to - // the regular expression: `[\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}`. - // * Label values must be between 0 and 63 characters long and must conform to - // the regular expression: `[\p{Ll}\p{Lo}\p{N}_-]{0,63}`. - // * No more than 64 labels can be associated with a given resource. - // * Keys and values must both be under 128 bytes. - Labels map[string]string `protobuf:"bytes,5,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 *Instance) Reset() { *m = Instance{} } -func (m *Instance) String() string { return proto.CompactTextString(m) } -func (*Instance) ProtoMessage() {} -func (*Instance) Descriptor() ([]byte, []int) { - return fileDescriptor_712127d2a900984d, []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 (m *Instance) XXX_Merge(src proto.Message) { - xxx_messageInfo_Instance.Merge(m, 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) GetState() Instance_State { - if m != nil { - return m.State - } - return Instance_STATE_NOT_KNOWN -} - -func (m *Instance) GetType() Instance_Type { - if m != nil { - return m.Type - } - return Instance_TYPE_UNSPECIFIED -} - -func (m *Instance) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -// A resizable group of nodes in a particular cloud location, capable -// of serving all [Tables][google.bigtable.admin.v2.Table] in the parent -// [Instance][google.bigtable.admin.v2.Instance]. -type Cluster struct { - // (`OutputOnly`) - // The unique name of the cluster. Values are of the form - // `projects//instances//clusters/[a-z][-a-z0-9]*`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // (`CreationOnly`) - // The location where this cluster's nodes and storage reside. For best - // performance, clients should be located as close as possible to this - // cluster. Currently only zones are supported, so values should be of the - // form `projects//locations/`. - Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` - // (`OutputOnly`) - // The current state of the cluster. - State Cluster_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.bigtable.admin.v2.Cluster_State" json:"state,omitempty"` - // The number of nodes allocated to this cluster. More nodes enable higher - // throughput and more consistent performance. - ServeNodes int32 `protobuf:"varint,4,opt,name=serve_nodes,json=serveNodes,proto3" json:"serve_nodes,omitempty"` - // (`CreationOnly`) - // The type of storage used by this cluster to serve its - // parent instance's tables, unless explicitly overridden. - DefaultStorageType StorageType `protobuf:"varint,5,opt,name=default_storage_type,json=defaultStorageType,proto3,enum=google.bigtable.admin.v2.StorageType" json:"default_storage_type,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_712127d2a900984d, []int{1} -} - -func (m *Cluster) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Cluster.Unmarshal(m, b) -} -func (m *Cluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Cluster.Marshal(b, m, deterministic) -} -func (m *Cluster) XXX_Merge(src proto.Message) { - xxx_messageInfo_Cluster.Merge(m, src) -} -func (m *Cluster) XXX_Size() int { - return xxx_messageInfo_Cluster.Size(m) -} -func (m *Cluster) XXX_DiscardUnknown() { - xxx_messageInfo_Cluster.DiscardUnknown(m) -} - -var xxx_messageInfo_Cluster proto.InternalMessageInfo - -func (m *Cluster) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Cluster) GetLocation() string { - if m != nil { - return m.Location - } - return "" -} - -func (m *Cluster) GetState() Cluster_State { - if m != nil { - return m.State - } - return Cluster_STATE_NOT_KNOWN -} - -func (m *Cluster) GetServeNodes() int32 { - if m != nil { - return m.ServeNodes - } - return 0 -} - -func (m *Cluster) GetDefaultStorageType() StorageType { - if m != nil { - return m.DefaultStorageType - } - return StorageType_STORAGE_TYPE_UNSPECIFIED -} - -// A configuration object describing how Cloud Bigtable should treat traffic -// from a particular end user application. -type AppProfile struct { - // (`OutputOnly`) - // The unique name of the app profile. Values are of the form - // `projects//instances//appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Strongly validated etag for optimistic concurrency control. Preserve the - // value returned from `GetAppProfile` when calling `UpdateAppProfile` to - // fail the request if there has been a modification in the mean time. The - // `update_mask` of the request need not include `etag` for this protection - // to apply. - // See [Wikipedia](https://en.wikipedia.org/wiki/HTTP_ETag) and - // [RFC 7232](https://tools.ietf.org/html/rfc7232#section-2.3) for more - // details. - Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"` - // Optional long form description of the use case for this AppProfile. - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - // The routing policy for all read/write requests which use this app profile. - // A value must be explicitly set. - // - // Types that are valid to be assigned to RoutingPolicy: - // *AppProfile_MultiClusterRoutingUseAny_ - // *AppProfile_SingleClusterRouting_ - RoutingPolicy isAppProfile_RoutingPolicy `protobuf_oneof:"routing_policy"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_712127d2a900984d, []int{2} -} - -func (m *AppProfile) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AppProfile.Unmarshal(m, b) -} -func (m *AppProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AppProfile.Marshal(b, m, deterministic) -} -func (m *AppProfile) XXX_Merge(src proto.Message) { - xxx_messageInfo_AppProfile.Merge(m, src) -} -func (m *AppProfile) XXX_Size() int { - return xxx_messageInfo_AppProfile.Size(m) -} -func (m *AppProfile) XXX_DiscardUnknown() { - xxx_messageInfo_AppProfile.DiscardUnknown(m) -} - -var xxx_messageInfo_AppProfile proto.InternalMessageInfo - -func (m *AppProfile) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *AppProfile) GetEtag() string { - if m != nil { - return m.Etag - } - return "" -} - -func (m *AppProfile) GetDescription() string { - if m != nil { - return m.Description - } - 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 - } - return nil -} - -func (m *AppProfile) GetSingleClusterRouting() *AppProfile_SingleClusterRouting { - if x, ok := m.GetRoutingPolicy().(*AppProfile_SingleClusterRouting_); ok { - return x.SingleClusterRouting - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AppProfile) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AppProfile_MultiClusterRoutingUseAny_)(nil), - (*AppProfile_SingleClusterRouting_)(nil), - } -} - -// Read/write requests may be routed to any cluster in the instance, and will -// fail over to another cluster in the event of transient errors or delays. -// Choosing this option sacrifices read-your-writes consistency to improve -// availability. -type AppProfile_MultiClusterRoutingUseAny struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AppProfile_MultiClusterRoutingUseAny) Reset() { *m = AppProfile_MultiClusterRoutingUseAny{} } -func (m *AppProfile_MultiClusterRoutingUseAny) String() string { return proto.CompactTextString(m) } -func (*AppProfile_MultiClusterRoutingUseAny) ProtoMessage() {} -func (*AppProfile_MultiClusterRoutingUseAny) Descriptor() ([]byte, []int) { - return fileDescriptor_712127d2a900984d, []int{2, 0} -} - -func (m *AppProfile_MultiClusterRoutingUseAny) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AppProfile_MultiClusterRoutingUseAny.Unmarshal(m, b) -} -func (m *AppProfile_MultiClusterRoutingUseAny) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AppProfile_MultiClusterRoutingUseAny.Marshal(b, m, deterministic) -} -func (m *AppProfile_MultiClusterRoutingUseAny) XXX_Merge(src proto.Message) { - xxx_messageInfo_AppProfile_MultiClusterRoutingUseAny.Merge(m, src) -} -func (m *AppProfile_MultiClusterRoutingUseAny) XXX_Size() int { - return xxx_messageInfo_AppProfile_MultiClusterRoutingUseAny.Size(m) -} -func (m *AppProfile_MultiClusterRoutingUseAny) XXX_DiscardUnknown() { - xxx_messageInfo_AppProfile_MultiClusterRoutingUseAny.DiscardUnknown(m) -} - -var xxx_messageInfo_AppProfile_MultiClusterRoutingUseAny proto.InternalMessageInfo - -// Unconditionally routes all read/write requests to a specific cluster. -// This option preserves read-your-writes consistency, but does not improve -// availability. -type AppProfile_SingleClusterRouting struct { - // The cluster to which read/write requests should be routed. - ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are - // allowed by this app profile. It is unsafe to send these requests to - // the same table/row/column in multiple clusters. - AllowTransactionalWrites bool `protobuf:"varint,2,opt,name=allow_transactional_writes,json=allowTransactionalWrites,proto3" json:"allow_transactional_writes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AppProfile_SingleClusterRouting) Reset() { *m = AppProfile_SingleClusterRouting{} } -func (m *AppProfile_SingleClusterRouting) String() string { return proto.CompactTextString(m) } -func (*AppProfile_SingleClusterRouting) ProtoMessage() {} -func (*AppProfile_SingleClusterRouting) Descriptor() ([]byte, []int) { - return fileDescriptor_712127d2a900984d, []int{2, 1} -} - -func (m *AppProfile_SingleClusterRouting) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AppProfile_SingleClusterRouting.Unmarshal(m, b) -} -func (m *AppProfile_SingleClusterRouting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AppProfile_SingleClusterRouting.Marshal(b, m, deterministic) -} -func (m *AppProfile_SingleClusterRouting) XXX_Merge(src proto.Message) { - xxx_messageInfo_AppProfile_SingleClusterRouting.Merge(m, src) -} -func (m *AppProfile_SingleClusterRouting) XXX_Size() int { - return xxx_messageInfo_AppProfile_SingleClusterRouting.Size(m) -} -func (m *AppProfile_SingleClusterRouting) XXX_DiscardUnknown() { - xxx_messageInfo_AppProfile_SingleClusterRouting.DiscardUnknown(m) -} - -var xxx_messageInfo_AppProfile_SingleClusterRouting proto.InternalMessageInfo - -func (m *AppProfile_SingleClusterRouting) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -func (m *AppProfile_SingleClusterRouting) GetAllowTransactionalWrites() bool { - if m != nil { - return m.AllowTransactionalWrites - } - return false -} - -func init() { - proto.RegisterEnum("google.bigtable.admin.v2.Instance_State", Instance_State_name, Instance_State_value) - proto.RegisterEnum("google.bigtable.admin.v2.Instance_Type", Instance_Type_name, Instance_Type_value) - proto.RegisterEnum("google.bigtable.admin.v2.Cluster_State", Cluster_State_name, Cluster_State_value) - proto.RegisterType((*Instance)(nil), "google.bigtable.admin.v2.Instance") - proto.RegisterMapType((map[string]string)(nil), "google.bigtable.admin.v2.Instance.LabelsEntry") - proto.RegisterType((*Cluster)(nil), "google.bigtable.admin.v2.Cluster") - proto.RegisterType((*AppProfile)(nil), "google.bigtable.admin.v2.AppProfile") - proto.RegisterType((*AppProfile_MultiClusterRoutingUseAny)(nil), "google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny") - proto.RegisterType((*AppProfile_SingleClusterRouting)(nil), "google.bigtable.admin.v2.AppProfile.SingleClusterRouting") -} - -func init() { - proto.RegisterFile("google/bigtable/admin/v2/instance.proto", fileDescriptor_712127d2a900984d) -} - -var fileDescriptor_712127d2a900984d = []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, - 0xb9, 0x72, 0xa4, 0x20, 0x24, 0x4a, 0xd9, 0x4a, 0xf9, 0x71, 0x5b, 0x8b, 0xad, 0x13, 0x1c, 0xef, - 0xae, 0xba, 0x8a, 0x64, 0x4d, 0xec, 0x59, 0xcb, 0x62, 0x32, 0x63, 0x3c, 0x93, 0xac, 0x7c, 0xcb, - 0xe3, 0x70, 0xc5, 0x1d, 0x4f, 0xc0, 0x0d, 0x8f, 0xc3, 0x13, 0x20, 0x8f, 0x6d, 0x76, 0x17, 0x12, - 0xb4, 0xe2, 0x6e, 0xce, 0x39, 0xdf, 0x77, 0xbe, 0x33, 0xdf, 0xb1, 0x07, 0x5e, 0x84, 0x9c, 0x87, - 0x94, 0x0c, 0xd7, 0x51, 0x28, 0xf1, 0x9a, 0x92, 0x21, 0x0e, 0x36, 0x11, 0x1b, 0xee, 0x46, 0xc3, - 0x88, 0x09, 0x89, 0x99, 0x4f, 0x8c, 0x38, 0xe1, 0x92, 0xa3, 0x4e, 0x0e, 0x34, 0x4a, 0xa0, 0xa1, - 0x80, 0xc6, 0x6e, 0xd4, 0x7d, 0x5a, 0xb4, 0xc0, 0x71, 0x34, 0xc4, 0x8c, 0x71, 0x89, 0x65, 0xc4, - 0x99, 0xc8, 0x79, 0xdd, 0xe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53, 0xcc, 0x42, 0x83, 0x27, 0xe1, 0x30, 0x24, 0x4c, 0x3d, - 0xa2, 0xc3, 0xbc, 0x84, 0xe3, 0x48, 0xfc, 0xfb, 0xb9, 0x7d, 0xa5, 0x0e, 0xbf, 0x54, 0x3f, 0x7f, - 0x9b, 0xf3, 0xa7, 0x94, 0x6f, 0x03, 0x63, 0x52, 0x0a, 0x8e, 0x95, 0xe0, 0xc5, 0xe8, 0x8f, 0x12, - 0xb0, 0x52, 0x80, 0x55, 0x09, 0x58, 0x29, 0xc0, 0xea, 0x62, 0xb4, 0x3e, 0x52, 0x5a, 0x5f, 0xfd, - 0x15, 0x00, 0x00, 0xff, 0xff, 0xd9, 0x04, 0x3d, 0xfc, 0x3a, 0x06, 0x00, 0x00, -} 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 deleted file mode 100644 index 8a98b6f3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/table.pb.go +++ /dev/null @@ -1,741 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/bigtable/admin/v2/table.proto - -package admin - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible timestamp granularities to use when keeping multiple versions -// of data in a table. -type Table_TimestampGranularity int32 - -const ( - // The user did not specify a granularity. Should not be returned. - // When specified during table creation, MILLIS will be used. - Table_TIMESTAMP_GRANULARITY_UNSPECIFIED Table_TimestampGranularity = 0 - // The table keeps data versioned at a granularity of 1ms. - Table_MILLIS Table_TimestampGranularity = 1 -) - -var Table_TimestampGranularity_name = map[int32]string{ - 0: "TIMESTAMP_GRANULARITY_UNSPECIFIED", - 1: "MILLIS", -} - -var Table_TimestampGranularity_value = map[string]int32{ - "TIMESTAMP_GRANULARITY_UNSPECIFIED": 0, - "MILLIS": 1, -} - -func (x Table_TimestampGranularity) String() string { - return proto.EnumName(Table_TimestampGranularity_name, int32(x)) -} - -func (Table_TimestampGranularity) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ea1666be9e81bb35, []int{0, 0} -} - -// Defines a view over a table's fields. -type Table_View int32 - -const ( - // Uses the default view for each method as documented in its request. - Table_VIEW_UNSPECIFIED Table_View = 0 - // Only populates `name`. - Table_NAME_ONLY Table_View = 1 - // Only populates `name` and fields related to the table's schema. - Table_SCHEMA_VIEW Table_View = 2 - // Only populates `name` and fields related to the table's - // replication state. - Table_REPLICATION_VIEW Table_View = 3 - // Populates all fields. - Table_FULL Table_View = 4 -) - -var Table_View_name = map[int32]string{ - 0: "VIEW_UNSPECIFIED", - 1: "NAME_ONLY", - 2: "SCHEMA_VIEW", - 3: "REPLICATION_VIEW", - 4: "FULL", -} - -var Table_View_value = map[string]int32{ - "VIEW_UNSPECIFIED": 0, - "NAME_ONLY": 1, - "SCHEMA_VIEW": 2, - "REPLICATION_VIEW": 3, - "FULL": 4, -} - -func (x Table_View) String() string { - return proto.EnumName(Table_View_name, int32(x)) -} - -func (Table_View) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ea1666be9e81bb35, []int{0, 1} -} - -// Table replication states. -type Table_ClusterState_ReplicationState int32 - -const ( - // The replication state of the table is unknown in this cluster. - Table_ClusterState_STATE_NOT_KNOWN Table_ClusterState_ReplicationState = 0 - // The cluster was recently created, and the table must finish copying - // over pre-existing data from other clusters before it can begin - // receiving live replication updates and serving Data API requests. - Table_ClusterState_INITIALIZING Table_ClusterState_ReplicationState = 1 - // The table is temporarily unable to serve Data API requests from this - // cluster due to planned internal maintenance. - Table_ClusterState_PLANNED_MAINTENANCE Table_ClusterState_ReplicationState = 2 - // The table is temporarily unable to serve Data API requests from this - // cluster due to unplanned or emergency maintenance. - Table_ClusterState_UNPLANNED_MAINTENANCE Table_ClusterState_ReplicationState = 3 - // The table can serve Data API requests from this cluster. Depending on - // replication delay, reads may not immediately reflect the state of the - // table in other clusters. - Table_ClusterState_READY Table_ClusterState_ReplicationState = 4 -) - -var Table_ClusterState_ReplicationState_name = map[int32]string{ - 0: "STATE_NOT_KNOWN", - 1: "INITIALIZING", - 2: "PLANNED_MAINTENANCE", - 3: "UNPLANNED_MAINTENANCE", - 4: "READY", -} - -var Table_ClusterState_ReplicationState_value = map[string]int32{ - "STATE_NOT_KNOWN": 0, - "INITIALIZING": 1, - "PLANNED_MAINTENANCE": 2, - "UNPLANNED_MAINTENANCE": 3, - "READY": 4, -} - -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_ea1666be9e81bb35, []int{0, 0, 0} -} - -// Possible states of a snapshot. -type Snapshot_State int32 - -const ( - // The state of the snapshot could not be determined. - Snapshot_STATE_NOT_KNOWN Snapshot_State = 0 - // The snapshot has been successfully created and can serve all requests. - Snapshot_READY Snapshot_State = 1 - // The snapshot is currently being created, and may be destroyed if the - // creation process encounters an error. A snapshot may not be restored to a - // table while it is being created. - Snapshot_CREATING Snapshot_State = 2 -) - -var Snapshot_State_name = map[int32]string{ - 0: "STATE_NOT_KNOWN", - 1: "READY", - 2: "CREATING", -} - -var Snapshot_State_value = map[string]int32{ - "STATE_NOT_KNOWN": 0, - "READY": 1, - "CREATING": 2, -} - -func (x Snapshot_State) String() string { - return proto.EnumName(Snapshot_State_name, int32(x)) -} - -func (Snapshot_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ea1666be9e81bb35, []int{3, 0} -} - -// A collection of user data indexed by row, column, and timestamp. -// Each table is served using the resources of its parent cluster. -type Table struct { - // (`OutputOnly`) - // The unique name of the table. Values are of the form - // `projects//instances//tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`. - // Views: `NAME_ONLY`, `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // (`OutputOnly`) - // Map from cluster ID to per-cluster table state. - // If it could not be determined whether or not the table has data in a - // particular cluster (for example, if its zone is unavailable), then - // there will be an entry for the cluster with UNKNOWN `replication_status`. - // Views: `REPLICATION_VIEW`, `FULL` - ClusterStates map[string]*Table_ClusterState `protobuf:"bytes,2,rep,name=cluster_states,json=clusterStates,proto3" json:"cluster_states,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // (`CreationOnly`) - // The column families configured for this table, mapped by column family ID. - // Views: `SCHEMA_VIEW`, `FULL` - ColumnFamilies map[string]*ColumnFamily `protobuf:"bytes,3,rep,name=column_families,json=columnFamilies,proto3" json:"column_families,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // (`CreationOnly`) - // The granularity (i.e. `MILLIS`) at which timestamps are stored in - // this table. Timestamps not matching the granularity will be rejected. - // If unspecified at creation time, the value will be set to `MILLIS`. - // Views: `SCHEMA_VIEW`, `FULL` - Granularity Table_TimestampGranularity `protobuf:"varint,4,opt,name=granularity,proto3,enum=google.bigtable.admin.v2.Table_TimestampGranularity" json:"granularity,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_ea1666be9e81bb35, []int{0} -} - -func (m *Table) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Table.Unmarshal(m, b) -} -func (m *Table) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Table.Marshal(b, m, deterministic) -} -func (m *Table) XXX_Merge(src proto.Message) { - xxx_messageInfo_Table.Merge(m, src) -} -func (m *Table) XXX_Size() int { - return xxx_messageInfo_Table.Size(m) -} -func (m *Table) XXX_DiscardUnknown() { - xxx_messageInfo_Table.DiscardUnknown(m) -} - -var xxx_messageInfo_Table proto.InternalMessageInfo - -func (m *Table) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Table) GetClusterStates() map[string]*Table_ClusterState { - if m != nil { - return m.ClusterStates - } - return nil -} - -func (m *Table) GetColumnFamilies() map[string]*ColumnFamily { - if m != nil { - return m.ColumnFamilies - } - return nil -} - -func (m *Table) GetGranularity() Table_TimestampGranularity { - if m != nil { - return m.Granularity - } - return Table_TIMESTAMP_GRANULARITY_UNSPECIFIED -} - -// The state of a table's data in a particular cluster. -type Table_ClusterState struct { - // (`OutputOnly`) - // The state of replication for the table in this cluster. - ReplicationState Table_ClusterState_ReplicationState `protobuf:"varint,1,opt,name=replication_state,json=replicationState,proto3,enum=google.bigtable.admin.v2.Table_ClusterState_ReplicationState" json:"replication_state,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ea1666be9e81bb35, []int{0, 0} -} - -func (m *Table_ClusterState) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Table_ClusterState.Unmarshal(m, b) -} -func (m *Table_ClusterState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Table_ClusterState.Marshal(b, m, deterministic) -} -func (m *Table_ClusterState) XXX_Merge(src proto.Message) { - xxx_messageInfo_Table_ClusterState.Merge(m, src) -} -func (m *Table_ClusterState) XXX_Size() int { - return xxx_messageInfo_Table_ClusterState.Size(m) -} -func (m *Table_ClusterState) XXX_DiscardUnknown() { - xxx_messageInfo_Table_ClusterState.DiscardUnknown(m) -} - -var xxx_messageInfo_Table_ClusterState proto.InternalMessageInfo - -func (m *Table_ClusterState) GetReplicationState() Table_ClusterState_ReplicationState { - if m != nil { - return m.ReplicationState - } - return Table_ClusterState_STATE_NOT_KNOWN -} - -// A set of columns within a table which share a common configuration. -type ColumnFamily struct { - // Garbage collection rule specified as a protobuf. - // Must serialize to at most 500 bytes. - // - // NOTE: Garbage collection executes opportunistically in the background, and - // so it's possible for reads to return a cell even if it matches the active - // GC expression for its family. - GcRule *GcRule `protobuf:"bytes,1,opt,name=gc_rule,json=gcRule,proto3" json:"gc_rule,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ea1666be9e81bb35, []int{1} -} - -func (m *ColumnFamily) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ColumnFamily.Unmarshal(m, b) -} -func (m *ColumnFamily) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ColumnFamily.Marshal(b, m, deterministic) -} -func (m *ColumnFamily) XXX_Merge(src proto.Message) { - xxx_messageInfo_ColumnFamily.Merge(m, src) -} -func (m *ColumnFamily) XXX_Size() int { - return xxx_messageInfo_ColumnFamily.Size(m) -} -func (m *ColumnFamily) XXX_DiscardUnknown() { - xxx_messageInfo_ColumnFamily.DiscardUnknown(m) -} - -var xxx_messageInfo_ColumnFamily proto.InternalMessageInfo - -func (m *ColumnFamily) GetGcRule() *GcRule { - if m != nil { - return m.GcRule - } - return nil -} - -// Rule for determining which cells to delete during garbage collection. -type GcRule struct { - // Garbage collection rules. - // - // Types that are valid to be assigned to Rule: - // *GcRule_MaxNumVersions - // *GcRule_MaxAge - // *GcRule_Intersection_ - // *GcRule_Union_ - Rule isGcRule_Rule `protobuf_oneof:"rule"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ea1666be9e81bb35, []int{2} -} - -func (m *GcRule) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GcRule.Unmarshal(m, b) -} -func (m *GcRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GcRule.Marshal(b, m, deterministic) -} -func (m *GcRule) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcRule.Merge(m, src) -} -func (m *GcRule) XXX_Size() int { - return xxx_messageInfo_GcRule.Size(m) -} -func (m *GcRule) XXX_DiscardUnknown() { - xxx_messageInfo_GcRule.DiscardUnknown(m) -} - -var xxx_messageInfo_GcRule proto.InternalMessageInfo - -type isGcRule_Rule interface { - isGcRule_Rule() -} - -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 (m *GcRule) GetRule() isGcRule_Rule { - if m != nil { - return m.Rule - } - return nil -} - -func (m *GcRule) GetMaxNumVersions() int32 { - if x, ok := m.GetRule().(*GcRule_MaxNumVersions); ok { - return x.MaxNumVersions - } - return 0 -} - -func (m *GcRule) GetMaxAge() *duration.Duration { - if x, ok := m.GetRule().(*GcRule_MaxAge); ok { - return x.MaxAge - } - return nil -} - -func (m *GcRule) GetIntersection() *GcRule_Intersection { - if x, ok := m.GetRule().(*GcRule_Intersection_); ok { - return x.Intersection - } - return nil -} - -func (m *GcRule) GetUnion() *GcRule_Union { - if x, ok := m.GetRule().(*GcRule_Union_); ok { - return x.Union - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*GcRule) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*GcRule_MaxNumVersions)(nil), - (*GcRule_MaxAge)(nil), - (*GcRule_Intersection_)(nil), - (*GcRule_Union_)(nil), - } -} - -// A GcRule which deletes cells matching all of the given rules. -type GcRule_Intersection struct { - // Only delete cells which would be deleted by every element of `rules`. - Rules []*GcRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ea1666be9e81bb35, []int{2, 0} -} - -func (m *GcRule_Intersection) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GcRule_Intersection.Unmarshal(m, b) -} -func (m *GcRule_Intersection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GcRule_Intersection.Marshal(b, m, deterministic) -} -func (m *GcRule_Intersection) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcRule_Intersection.Merge(m, src) -} -func (m *GcRule_Intersection) XXX_Size() int { - return xxx_messageInfo_GcRule_Intersection.Size(m) -} -func (m *GcRule_Intersection) XXX_DiscardUnknown() { - xxx_messageInfo_GcRule_Intersection.DiscardUnknown(m) -} - -var xxx_messageInfo_GcRule_Intersection proto.InternalMessageInfo - -func (m *GcRule_Intersection) GetRules() []*GcRule { - if m != nil { - return m.Rules - } - return nil -} - -// A GcRule which deletes cells matching any of the given rules. -type GcRule_Union struct { - // Delete cells which would be deleted by any element of `rules`. - Rules []*GcRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ea1666be9e81bb35, []int{2, 1} -} - -func (m *GcRule_Union) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GcRule_Union.Unmarshal(m, b) -} -func (m *GcRule_Union) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GcRule_Union.Marshal(b, m, deterministic) -} -func (m *GcRule_Union) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcRule_Union.Merge(m, src) -} -func (m *GcRule_Union) XXX_Size() int { - return xxx_messageInfo_GcRule_Union.Size(m) -} -func (m *GcRule_Union) XXX_DiscardUnknown() { - xxx_messageInfo_GcRule_Union.DiscardUnknown(m) -} - -var xxx_messageInfo_GcRule_Union proto.InternalMessageInfo - -func (m *GcRule_Union) GetRules() []*GcRule { - if m != nil { - return m.Rules - } - return nil -} - -// A snapshot of a table at a particular time. A snapshot can be used as a -// checkpoint for data restoration or a data source for a new table. -// -// Note: This is a private alpha release of Cloud Bigtable snapshots. This -// feature is not currently available to most Cloud Bigtable customers. This -// feature might be changed in backward-incompatible ways and is not recommended -// for production use. It is not subject to any SLA or deprecation policy. -type Snapshot struct { - // (`OutputOnly`) - // The unique name of the snapshot. - // Values are of the form - // `projects//instances//clusters//snapshots/`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // (`OutputOnly`) - // The source table at the time the snapshot was taken. - SourceTable *Table `protobuf:"bytes,2,opt,name=source_table,json=sourceTable,proto3" json:"source_table,omitempty"` - // (`OutputOnly`) - // The size of the data in the source table at the time the snapshot was - // taken. In some cases, this value may be computed asynchronously via a - // background process and a placeholder of 0 will be used in the meantime. - DataSizeBytes int64 `protobuf:"varint,3,opt,name=data_size_bytes,json=dataSizeBytes,proto3" json:"data_size_bytes,omitempty"` - // (`OutputOnly`) - // The time when the snapshot is created. - CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // (`OutputOnly`) - // The time when the snapshot will be deleted. The maximum amount of time a - // snapshot can stay active is 365 days. If 'ttl' is not specified, - // the default maximum of 365 days will be used. - DeleteTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"` - // (`OutputOnly`) - // The current state of the snapshot. - State Snapshot_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.bigtable.admin.v2.Snapshot_State" json:"state,omitempty"` - // (`OutputOnly`) - // Description of the snapshot. - Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ea1666be9e81bb35, []int{3} -} - -func (m *Snapshot) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Snapshot.Unmarshal(m, b) -} -func (m *Snapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Snapshot.Marshal(b, m, deterministic) -} -func (m *Snapshot) XXX_Merge(src proto.Message) { - xxx_messageInfo_Snapshot.Merge(m, src) -} -func (m *Snapshot) XXX_Size() int { - return xxx_messageInfo_Snapshot.Size(m) -} -func (m *Snapshot) XXX_DiscardUnknown() { - xxx_messageInfo_Snapshot.DiscardUnknown(m) -} - -var xxx_messageInfo_Snapshot proto.InternalMessageInfo - -func (m *Snapshot) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Snapshot) GetSourceTable() *Table { - if m != nil { - return m.SourceTable - } - return nil -} - -func (m *Snapshot) GetDataSizeBytes() int64 { - if m != nil { - return m.DataSizeBytes - } - return 0 -} - -func (m *Snapshot) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *Snapshot) GetDeleteTime() *timestamp.Timestamp { - if m != nil { - return m.DeleteTime - } - return nil -} - -func (m *Snapshot) GetState() Snapshot_State { - if m != nil { - return m.State - } - return Snapshot_STATE_NOT_KNOWN -} - -func (m *Snapshot) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func init() { - proto.RegisterEnum("google.bigtable.admin.v2.Table_TimestampGranularity", Table_TimestampGranularity_name, Table_TimestampGranularity_value) - proto.RegisterEnum("google.bigtable.admin.v2.Table_View", Table_View_name, Table_View_value) - proto.RegisterEnum("google.bigtable.admin.v2.Table_ClusterState_ReplicationState", Table_ClusterState_ReplicationState_name, Table_ClusterState_ReplicationState_value) - proto.RegisterEnum("google.bigtable.admin.v2.Snapshot_State", Snapshot_State_name, Snapshot_State_value) - proto.RegisterType((*Table)(nil), "google.bigtable.admin.v2.Table") - proto.RegisterMapType((map[string]*Table_ClusterState)(nil), "google.bigtable.admin.v2.Table.ClusterStatesEntry") - proto.RegisterMapType((map[string]*ColumnFamily)(nil), "google.bigtable.admin.v2.Table.ColumnFamiliesEntry") - proto.RegisterType((*Table_ClusterState)(nil), "google.bigtable.admin.v2.Table.ClusterState") - proto.RegisterType((*ColumnFamily)(nil), "google.bigtable.admin.v2.ColumnFamily") - proto.RegisterType((*GcRule)(nil), "google.bigtable.admin.v2.GcRule") - proto.RegisterType((*GcRule_Intersection)(nil), "google.bigtable.admin.v2.GcRule.Intersection") - proto.RegisterType((*GcRule_Union)(nil), "google.bigtable.admin.v2.GcRule.Union") - proto.RegisterType((*Snapshot)(nil), "google.bigtable.admin.v2.Snapshot") -} - -func init() { - proto.RegisterFile("google/bigtable/admin/v2/table.proto", fileDescriptor_ea1666be9e81bb35) -} - -var fileDescriptor_ea1666be9e81bb35 = []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, - 0x45, 0x08, 0x1c, 0xc9, 0x1b, 0x08, 0x18, 0x1b, 0x72, 0x52, 0xb7, 0xb5, 0x48, 0xdc, 0xc8, 0x71, - 0x32, 0x75, 0x8a, 0x64, 0xdd, 0x38, 0x77, 0xc6, 0xe0, 0x1f, 0x91, 0x7f, 0x94, 0x66, 0x4f, 0xc1, - 0x0b, 0xf0, 0x37, 0x12, 0x12, 0x2f, 0xc2, 0xf3, 0xf0, 0x00, 0xc8, 0xf7, 0xda, 0x5b, 0xda, 0x26, - 0x84, 0xf1, 0x57, 0xaf, 0xbf, 0x7b, 0xce, 0xf9, 0xfc, 0x9d, 0x7b, 0x7d, 0x1a, 0xf8, 0xc4, 0x09, - 0x43, 0xc7, 0x23, 0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xbd, 0x79, 0xbc, 0xc2, - 0x2c, 0x29, 0x0f, 0x0f, 0x4a, 0x43, 0xcd, 0xac, 0x79, 0x6c, 0x47, 0xee, 0x82, 0xde, 0xb5, 0x5d, - 0x6a, 0xe0, 0x6a, 0xa9, 0xf5, 0x25, 0x08, 0xff, 0x92, 0x9c, 0x6f, 0x33, 0x8f, 0x43, 0x35, 0xd8, - 0xeb, 0x19, 0xaa, 0x62, 0x66, 0x01, 0x5a, 0xea, 0xfe, 0xc9, 0xc1, 0x03, 0x3b, 0xf4, 0x37, 0xbe, - 0x4f, 0x17, 0xa8, 0xc5, 0xc3, 0x6c, 0xbc, 0x21, 0xf7, 0xea, 0x79, 0x8e, 0x73, 0x42, 0x0f, 0x07, - 0x8e, 0x14, 0x46, 0x4e, 0xc7, 0x21, 0x01, 0x1d, 0xbe, 0xc3, 0xb6, 0xf0, 0xc2, 0x8d, 0xef, 0xfe, - 0x28, 0x78, 0x46, 0x17, 0x7f, 0x94, 0x1e, 0x9e, 0x31, 0x7e, 0xcf, 0x0b, 0xd3, 0xb9, 0xd4, 0x2d, - 0xba, 0x29, 0xb4, 0xdb, 0x44, 0xfe, 0xab, 0x00, 0x4c, 0x29, 0x60, 0x5a, 0x00, 0xa6, 0x14, 0x30, - 0x9d, 0xc8, 0xb3, 0x0a, 0xed, 0xf5, 0xe4, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x56, 0x59, 0xa7, - 0xc1, 0x7f, 0x08, 0x00, 0x00, -} 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 deleted file mode 100644 index db1a7591..00000000 --- a/vendor/google.golang.org/genproto/googleapis/bigtable/v1/bigtable_data.pb.go +++ /dev/null @@ -1,1767 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/bigtable/v1/bigtable_data.proto - -package bigtable - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Specifies the complete (requested) contents of a single row of a table. -// Rows which exceed 256MiB in size cannot be read in full. -type Row struct { - // The unique key which identifies this row within its table. This is the same - // key that's used to identify the row in, for example, a MutateRowRequest. - // May contain any non-empty byte string up to 4KiB in length. - Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - // May be empty, but only if the entire row is empty. - // The mutual ordering of column families is not specified. - Families []*Family `protobuf:"bytes,2,rep,name=families,proto3" json:"families,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_234346170b768b8c, []int{0} -} - -func (m *Row) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Row.Unmarshal(m, b) -} -func (m *Row) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Row.Marshal(b, m, deterministic) -} -func (m *Row) XXX_Merge(src proto.Message) { - xxx_messageInfo_Row.Merge(m, src) -} -func (m *Row) XXX_Size() int { - return xxx_messageInfo_Row.Size(m) -} -func (m *Row) XXX_DiscardUnknown() { - xxx_messageInfo_Row.DiscardUnknown(m) -} - -var xxx_messageInfo_Row proto.InternalMessageInfo - -func (m *Row) GetKey() []byte { - if m != nil { - return m.Key - } - return nil -} - -func (m *Row) GetFamilies() []*Family { - if m != nil { - return m.Families - } - return nil -} - -// Specifies (some of) the contents of a single row/column family of a table. -type Family struct { - // The unique key which identifies this family within its row. This is the - // same key that's used to identify the family in, for example, a RowFilter - // which sets its "family_name_regex_filter" field. - // Must match [-_.a-zA-Z0-9]+, except that AggregatingRowProcessors may - // produce cells in a sentinel family with an empty name. - // Must be no greater than 64 characters in length. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Must not be empty. Sorted in order of increasing "qualifier". - Columns []*Column `protobuf:"bytes,2,rep,name=columns,proto3" json:"columns,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_234346170b768b8c, []int{1} -} - -func (m *Family) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Family.Unmarshal(m, b) -} -func (m *Family) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Family.Marshal(b, m, deterministic) -} -func (m *Family) XXX_Merge(src proto.Message) { - xxx_messageInfo_Family.Merge(m, src) -} -func (m *Family) XXX_Size() int { - return xxx_messageInfo_Family.Size(m) -} -func (m *Family) XXX_DiscardUnknown() { - xxx_messageInfo_Family.DiscardUnknown(m) -} - -var xxx_messageInfo_Family proto.InternalMessageInfo - -func (m *Family) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Family) GetColumns() []*Column { - if m != nil { - return m.Columns - } - return nil -} - -// Specifies (some of) the contents of a single row/column of a table. -type Column struct { - // The unique key which identifies this column within its family. This is the - // same key that's used to identify the column in, for example, a RowFilter - // which sets its "column_qualifier_regex_filter" field. - // May contain any byte string, including the empty string, up to 16kiB in - // length. - Qualifier []byte `protobuf:"bytes,1,opt,name=qualifier,proto3" json:"qualifier,omitempty"` - // Must not be empty. Sorted in order of decreasing "timestamp_micros". - Cells []*Cell `protobuf:"bytes,2,rep,name=cells,proto3" json:"cells,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_234346170b768b8c, []int{2} -} - -func (m *Column) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Column.Unmarshal(m, b) -} -func (m *Column) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Column.Marshal(b, m, deterministic) -} -func (m *Column) XXX_Merge(src proto.Message) { - xxx_messageInfo_Column.Merge(m, src) -} -func (m *Column) XXX_Size() int { - return xxx_messageInfo_Column.Size(m) -} -func (m *Column) XXX_DiscardUnknown() { - xxx_messageInfo_Column.DiscardUnknown(m) -} - -var xxx_messageInfo_Column proto.InternalMessageInfo - -func (m *Column) GetQualifier() []byte { - if m != nil { - return m.Qualifier - } - return nil -} - -func (m *Column) GetCells() []*Cell { - if m != nil { - return m.Cells - } - return nil -} - -// Specifies (some of) the contents of a single row/column/timestamp of a table. -type Cell struct { - // The cell's stored timestamp, which also uniquely identifies it within - // its column. - // Values are always expressed in microseconds, but individual tables may set - // a coarser "granularity" to further restrict the allowed values. For - // example, a table which specifies millisecond granularity will only allow - // values of "timestamp_micros" which are multiples of 1000. - TimestampMicros int64 `protobuf:"varint,1,opt,name=timestamp_micros,json=timestampMicros,proto3" json:"timestamp_micros,omitempty"` - // The value stored in the cell. - // May contain any byte string, including the empty string, up to 100MiB in - // length. - Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - // Labels applied to the cell by a [RowFilter][google.bigtable.v1.RowFilter]. - Labels []string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_234346170b768b8c, []int{3} -} - -func (m *Cell) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Cell.Unmarshal(m, b) -} -func (m *Cell) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Cell.Marshal(b, m, deterministic) -} -func (m *Cell) XXX_Merge(src proto.Message) { - xxx_messageInfo_Cell.Merge(m, src) -} -func (m *Cell) XXX_Size() int { - return xxx_messageInfo_Cell.Size(m) -} -func (m *Cell) XXX_DiscardUnknown() { - xxx_messageInfo_Cell.DiscardUnknown(m) -} - -var xxx_messageInfo_Cell proto.InternalMessageInfo - -func (m *Cell) GetTimestampMicros() int64 { - if m != nil { - return m.TimestampMicros - } - return 0 -} - -func (m *Cell) GetValue() []byte { - if m != nil { - return m.Value - } - return nil -} - -func (m *Cell) GetLabels() []string { - if m != nil { - return m.Labels - } - return nil -} - -// Specifies a contiguous range of rows. -type RowRange struct { - // Inclusive lower bound. If left empty, interpreted as the empty string. - StartKey []byte `protobuf:"bytes,2,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` - // Exclusive upper bound. If left empty, interpreted as infinity. - EndKey []byte `protobuf:"bytes,3,opt,name=end_key,json=endKey,proto3" json:"end_key,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_234346170b768b8c, []int{4} -} - -func (m *RowRange) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RowRange.Unmarshal(m, b) -} -func (m *RowRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RowRange.Marshal(b, m, deterministic) -} -func (m *RowRange) XXX_Merge(src proto.Message) { - xxx_messageInfo_RowRange.Merge(m, src) -} -func (m *RowRange) XXX_Size() int { - return xxx_messageInfo_RowRange.Size(m) -} -func (m *RowRange) XXX_DiscardUnknown() { - xxx_messageInfo_RowRange.DiscardUnknown(m) -} - -var xxx_messageInfo_RowRange proto.InternalMessageInfo - -func (m *RowRange) GetStartKey() []byte { - if m != nil { - return m.StartKey - } - return nil -} - -func (m *RowRange) GetEndKey() []byte { - if m != nil { - return m.EndKey - } - return nil -} - -// Specifies a non-contiguous set of rows. -type RowSet struct { - // Single rows included in the set. - RowKeys [][]byte `protobuf:"bytes,1,rep,name=row_keys,json=rowKeys,proto3" json:"row_keys,omitempty"` - // Contiguous row ranges included in the set. - RowRanges []*RowRange `protobuf:"bytes,2,rep,name=row_ranges,json=rowRanges,proto3" json:"row_ranges,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_234346170b768b8c, []int{5} -} - -func (m *RowSet) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RowSet.Unmarshal(m, b) -} -func (m *RowSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RowSet.Marshal(b, m, deterministic) -} -func (m *RowSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_RowSet.Merge(m, src) -} -func (m *RowSet) XXX_Size() int { - return xxx_messageInfo_RowSet.Size(m) -} -func (m *RowSet) XXX_DiscardUnknown() { - xxx_messageInfo_RowSet.DiscardUnknown(m) -} - -var xxx_messageInfo_RowSet proto.InternalMessageInfo - -func (m *RowSet) GetRowKeys() [][]byte { - if m != nil { - return m.RowKeys - } - return nil -} - -func (m *RowSet) GetRowRanges() []*RowRange { - if m != nil { - return m.RowRanges - } - return nil -} - -// Specifies a contiguous range of columns within a single column family. -// The range spans from : to -// :, where both bounds can be either inclusive or -// exclusive. -type ColumnRange struct { - // The name of the column family within which this range falls. - FamilyName string `protobuf:"bytes,1,opt,name=family_name,json=familyName,proto3" json:"family_name,omitempty"` - // The column qualifier at which to start the range (within 'column_family'). - // If neither field is set, interpreted as the empty string, inclusive. - // - // Types that are valid to be assigned to StartQualifier: - // *ColumnRange_StartQualifierInclusive - // *ColumnRange_StartQualifierExclusive - StartQualifier isColumnRange_StartQualifier `protobuf_oneof:"start_qualifier"` - // The column qualifier at which to end the range (within 'column_family'). - // If neither field is set, interpreted as the infinite string, exclusive. - // - // Types that are valid to be assigned to EndQualifier: - // *ColumnRange_EndQualifierInclusive - // *ColumnRange_EndQualifierExclusive - EndQualifier isColumnRange_EndQualifier `protobuf_oneof:"end_qualifier"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_234346170b768b8c, []int{6} -} - -func (m *ColumnRange) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ColumnRange.Unmarshal(m, b) -} -func (m *ColumnRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ColumnRange.Marshal(b, m, deterministic) -} -func (m *ColumnRange) XXX_Merge(src proto.Message) { - xxx_messageInfo_ColumnRange.Merge(m, src) -} -func (m *ColumnRange) XXX_Size() int { - return xxx_messageInfo_ColumnRange.Size(m) -} -func (m *ColumnRange) XXX_DiscardUnknown() { - xxx_messageInfo_ColumnRange.DiscardUnknown(m) -} - -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 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"` -} - -func (*ColumnRange_StartQualifierInclusive) isColumnRange_StartQualifier() {} - -func (*ColumnRange_StartQualifierExclusive) isColumnRange_StartQualifier() {} - -func (m *ColumnRange) GetStartQualifier() isColumnRange_StartQualifier { - if m != nil { - return m.StartQualifier - } - return nil -} - -func (m *ColumnRange) GetStartQualifierInclusive() []byte { - if x, ok := m.GetStartQualifier().(*ColumnRange_StartQualifierInclusive); ok { - return x.StartQualifierInclusive - } - return nil -} - -func (m *ColumnRange) GetStartQualifierExclusive() []byte { - if x, ok := m.GetStartQualifier().(*ColumnRange_StartQualifierExclusive); ok { - return x.StartQualifierExclusive - } - 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 - } - return nil -} - -func (m *ColumnRange) GetEndQualifierExclusive() []byte { - if x, ok := m.GetEndQualifier().(*ColumnRange_EndQualifierExclusive); ok { - return x.EndQualifierExclusive - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ColumnRange) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ColumnRange_StartQualifierInclusive)(nil), - (*ColumnRange_StartQualifierExclusive)(nil), - (*ColumnRange_EndQualifierInclusive)(nil), - (*ColumnRange_EndQualifierExclusive)(nil), - } -} - -// Specified a contiguous range of microsecond timestamps. -type TimestampRange struct { - // Inclusive lower bound. If left empty, interpreted as 0. - StartTimestampMicros int64 `protobuf:"varint,1,opt,name=start_timestamp_micros,json=startTimestampMicros,proto3" json:"start_timestamp_micros,omitempty"` - // Exclusive upper bound. If left empty, interpreted as infinity. - EndTimestampMicros int64 `protobuf:"varint,2,opt,name=end_timestamp_micros,json=endTimestampMicros,proto3" json:"end_timestamp_micros,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_234346170b768b8c, []int{7} -} - -func (m *TimestampRange) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TimestampRange.Unmarshal(m, b) -} -func (m *TimestampRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TimestampRange.Marshal(b, m, deterministic) -} -func (m *TimestampRange) XXX_Merge(src proto.Message) { - xxx_messageInfo_TimestampRange.Merge(m, src) -} -func (m *TimestampRange) XXX_Size() int { - return xxx_messageInfo_TimestampRange.Size(m) -} -func (m *TimestampRange) XXX_DiscardUnknown() { - xxx_messageInfo_TimestampRange.DiscardUnknown(m) -} - -var xxx_messageInfo_TimestampRange proto.InternalMessageInfo - -func (m *TimestampRange) GetStartTimestampMicros() int64 { - if m != nil { - return m.StartTimestampMicros - } - return 0 -} - -func (m *TimestampRange) GetEndTimestampMicros() int64 { - if m != nil { - return m.EndTimestampMicros - } - return 0 -} - -// Specifies a contiguous range of raw byte values. -type ValueRange struct { - // The value at which to start the range. - // If neither field is set, interpreted as the empty string, inclusive. - // - // Types that are valid to be assigned to StartValue: - // *ValueRange_StartValueInclusive - // *ValueRange_StartValueExclusive - StartValue isValueRange_StartValue `protobuf_oneof:"start_value"` - // The value at which to end the range. - // If neither field is set, interpreted as the infinite string, exclusive. - // - // Types that are valid to be assigned to EndValue: - // *ValueRange_EndValueInclusive - // *ValueRange_EndValueExclusive - EndValue isValueRange_EndValue `protobuf_oneof:"end_value"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_234346170b768b8c, []int{8} -} - -func (m *ValueRange) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ValueRange.Unmarshal(m, b) -} -func (m *ValueRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ValueRange.Marshal(b, m, deterministic) -} -func (m *ValueRange) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValueRange.Merge(m, src) -} -func (m *ValueRange) XXX_Size() int { - return xxx_messageInfo_ValueRange.Size(m) -} -func (m *ValueRange) XXX_DiscardUnknown() { - xxx_messageInfo_ValueRange.DiscardUnknown(m) -} - -var xxx_messageInfo_ValueRange proto.InternalMessageInfo - -type isValueRange_StartValue interface { - isValueRange_StartValue() -} - -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"` -} - -func (*ValueRange_StartValueInclusive) isValueRange_StartValue() {} - -func (*ValueRange_StartValueExclusive) isValueRange_StartValue() {} - -func (m *ValueRange) GetStartValue() isValueRange_StartValue { - if m != nil { - return m.StartValue - } - return nil -} - -func (m *ValueRange) GetStartValueInclusive() []byte { - if x, ok := m.GetStartValue().(*ValueRange_StartValueInclusive); ok { - return x.StartValueInclusive - } - return nil -} - -func (m *ValueRange) GetStartValueExclusive() []byte { - if x, ok := m.GetStartValue().(*ValueRange_StartValueExclusive); ok { - return x.StartValueExclusive - } - 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 - } - return nil -} - -func (m *ValueRange) GetEndValueExclusive() []byte { - if x, ok := m.GetEndValue().(*ValueRange_EndValueExclusive); ok { - return x.EndValueExclusive - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ValueRange) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ValueRange_StartValueInclusive)(nil), - (*ValueRange_StartValueExclusive)(nil), - (*ValueRange_EndValueInclusive)(nil), - (*ValueRange_EndValueExclusive)(nil), - } -} - -// Takes a row as input and produces an alternate view of the row based on -// specified rules. For example, a RowFilter might trim down a row to include -// just the cells from columns matching a given regular expression, or might -// return all the cells of a row but not their values. More complicated filters -// can be composed out of these components to express requests such as, "within -// every column of a particular family, give just the two most recent cells -// which are older than timestamp X." -// -// There are two broad categories of RowFilters (true filters and transformers), -// as well as two ways to compose simple filters into more complex ones -// (chains and interleaves). They work as follows: -// -// * True filters alter the input row by excluding some of its cells wholesale -// from the output row. An example of a true filter is the "value_regex_filter", -// which excludes cells whose values don't match the specified pattern. All -// regex true filters use RE2 syntax (https://github.com/google/re2/wiki/Syntax) -// in raw byte mode (RE2::Latin1), and are evaluated as full matches. An -// important point to keep in mind is that RE2(.) is equivalent by default to -// RE2([^\n]), meaning that it does not match newlines. When attempting to match -// an arbitrary byte, you should therefore use the escape sequence '\C', which -// may need to be further escaped as '\\C' in your client language. -// -// * Transformers alter the input row by changing the values of some of its -// cells in the output, without excluding them completely. Currently, the only -// supported transformer is the "strip_value_transformer", which replaces every -// cell's value with the empty string. -// -// * Chains and interleaves are described in more detail in the -// RowFilter.Chain and RowFilter.Interleave documentation. -// -// The total serialized size of a RowFilter message must not -// exceed 4096 bytes, and RowFilters may not be nested within each other -// (in Chains or Interleaves) to a depth of more than 20. -type RowFilter struct { - // Which of the possible RowFilter types to apply. If none are set, this - // RowFilter returns all cells in the input row. - // - // Types that are valid to be assigned to Filter: - // *RowFilter_Chain_ - // *RowFilter_Interleave_ - // *RowFilter_Condition_ - // *RowFilter_Sink - // *RowFilter_PassAllFilter - // *RowFilter_BlockAllFilter - // *RowFilter_RowKeyRegexFilter - // *RowFilter_RowSampleFilter - // *RowFilter_FamilyNameRegexFilter - // *RowFilter_ColumnQualifierRegexFilter - // *RowFilter_ColumnRangeFilter - // *RowFilter_TimestampRangeFilter - // *RowFilter_ValueRegexFilter - // *RowFilter_ValueRangeFilter - // *RowFilter_CellsPerRowOffsetFilter - // *RowFilter_CellsPerRowLimitFilter - // *RowFilter_CellsPerColumnLimitFilter - // *RowFilter_StripValueTransformer - // *RowFilter_ApplyLabelTransformer - Filter isRowFilter_Filter `protobuf_oneof:"filter"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_234346170b768b8c, []int{9} -} - -func (m *RowFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RowFilter.Unmarshal(m, b) -} -func (m *RowFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RowFilter.Marshal(b, m, deterministic) -} -func (m *RowFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_RowFilter.Merge(m, src) -} -func (m *RowFilter) XXX_Size() int { - return xxx_messageInfo_RowFilter.Size(m) -} -func (m *RowFilter) XXX_DiscardUnknown() { - xxx_messageInfo_RowFilter.DiscardUnknown(m) -} - -var xxx_messageInfo_RowFilter proto.InternalMessageInfo - -type isRowFilter_Filter interface { - isRowFilter_Filter() -} - -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_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 (m *RowFilter) GetFilter() isRowFilter_Filter { - if m != nil { - return m.Filter - } - return nil -} - -func (m *RowFilter) GetChain() *RowFilter_Chain { - if x, ok := m.GetFilter().(*RowFilter_Chain_); ok { - return x.Chain - } - return nil -} - -func (m *RowFilter) GetInterleave() *RowFilter_Interleave { - if x, ok := m.GetFilter().(*RowFilter_Interleave_); ok { - return x.Interleave - } - return nil -} - -func (m *RowFilter) GetCondition() *RowFilter_Condition { - if x, ok := m.GetFilter().(*RowFilter_Condition_); ok { - return x.Condition - } - return nil -} - -func (m *RowFilter) GetSink() bool { - if x, ok := m.GetFilter().(*RowFilter_Sink); ok { - return x.Sink - } - return false -} - -func (m *RowFilter) GetPassAllFilter() bool { - if x, ok := m.GetFilter().(*RowFilter_PassAllFilter); ok { - return x.PassAllFilter - } - return false -} - -func (m *RowFilter) GetBlockAllFilter() bool { - if x, ok := m.GetFilter().(*RowFilter_BlockAllFilter); ok { - return x.BlockAllFilter - } - return false -} - -func (m *RowFilter) GetRowKeyRegexFilter() []byte { - if x, ok := m.GetFilter().(*RowFilter_RowKeyRegexFilter); ok { - return x.RowKeyRegexFilter - } - return nil -} - -func (m *RowFilter) GetRowSampleFilter() float64 { - if x, ok := m.GetFilter().(*RowFilter_RowSampleFilter); ok { - return x.RowSampleFilter - } - return 0 -} - -func (m *RowFilter) GetFamilyNameRegexFilter() string { - if x, ok := m.GetFilter().(*RowFilter_FamilyNameRegexFilter); ok { - return x.FamilyNameRegexFilter - } - return "" -} - -func (m *RowFilter) GetColumnQualifierRegexFilter() []byte { - if x, ok := m.GetFilter().(*RowFilter_ColumnQualifierRegexFilter); ok { - return x.ColumnQualifierRegexFilter - } - return nil -} - -func (m *RowFilter) GetColumnRangeFilter() *ColumnRange { - if x, ok := m.GetFilter().(*RowFilter_ColumnRangeFilter); ok { - return x.ColumnRangeFilter - } - return nil -} - -func (m *RowFilter) GetTimestampRangeFilter() *TimestampRange { - if x, ok := m.GetFilter().(*RowFilter_TimestampRangeFilter); ok { - return x.TimestampRangeFilter - } - return nil -} - -func (m *RowFilter) GetValueRegexFilter() []byte { - if x, ok := m.GetFilter().(*RowFilter_ValueRegexFilter); ok { - return x.ValueRegexFilter - } - return nil -} - -func (m *RowFilter) GetValueRangeFilter() *ValueRange { - if x, ok := m.GetFilter().(*RowFilter_ValueRangeFilter); ok { - return x.ValueRangeFilter - } - return nil -} - -func (m *RowFilter) GetCellsPerRowOffsetFilter() int32 { - if x, ok := m.GetFilter().(*RowFilter_CellsPerRowOffsetFilter); ok { - return x.CellsPerRowOffsetFilter - } - return 0 -} - -func (m *RowFilter) GetCellsPerRowLimitFilter() int32 { - if x, ok := m.GetFilter().(*RowFilter_CellsPerRowLimitFilter); ok { - return x.CellsPerRowLimitFilter - } - return 0 -} - -func (m *RowFilter) GetCellsPerColumnLimitFilter() int32 { - if x, ok := m.GetFilter().(*RowFilter_CellsPerColumnLimitFilter); ok { - return x.CellsPerColumnLimitFilter - } - return 0 -} - -func (m *RowFilter) GetStripValueTransformer() bool { - if x, ok := m.GetFilter().(*RowFilter_StripValueTransformer); ok { - return x.StripValueTransformer - } - return false -} - -func (m *RowFilter) GetApplyLabelTransformer() string { - if x, ok := m.GetFilter().(*RowFilter_ApplyLabelTransformer); ok { - return x.ApplyLabelTransformer - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*RowFilter) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*RowFilter_Chain_)(nil), - (*RowFilter_Interleave_)(nil), - (*RowFilter_Condition_)(nil), - (*RowFilter_Sink)(nil), - (*RowFilter_PassAllFilter)(nil), - (*RowFilter_BlockAllFilter)(nil), - (*RowFilter_RowKeyRegexFilter)(nil), - (*RowFilter_RowSampleFilter)(nil), - (*RowFilter_FamilyNameRegexFilter)(nil), - (*RowFilter_ColumnQualifierRegexFilter)(nil), - (*RowFilter_ColumnRangeFilter)(nil), - (*RowFilter_TimestampRangeFilter)(nil), - (*RowFilter_ValueRegexFilter)(nil), - (*RowFilter_ValueRangeFilter)(nil), - (*RowFilter_CellsPerRowOffsetFilter)(nil), - (*RowFilter_CellsPerRowLimitFilter)(nil), - (*RowFilter_CellsPerColumnLimitFilter)(nil), - (*RowFilter_StripValueTransformer)(nil), - (*RowFilter_ApplyLabelTransformer)(nil), - } -} - -// A RowFilter which sends rows through several RowFilters in sequence. -type RowFilter_Chain struct { - // The elements of "filters" are chained together to process the input row: - // in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row - // The full chain is executed atomically. - Filters []*RowFilter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_234346170b768b8c, []int{9, 0} -} - -func (m *RowFilter_Chain) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RowFilter_Chain.Unmarshal(m, b) -} -func (m *RowFilter_Chain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RowFilter_Chain.Marshal(b, m, deterministic) -} -func (m *RowFilter_Chain) XXX_Merge(src proto.Message) { - xxx_messageInfo_RowFilter_Chain.Merge(m, src) -} -func (m *RowFilter_Chain) XXX_Size() int { - return xxx_messageInfo_RowFilter_Chain.Size(m) -} -func (m *RowFilter_Chain) XXX_DiscardUnknown() { - xxx_messageInfo_RowFilter_Chain.DiscardUnknown(m) -} - -var xxx_messageInfo_RowFilter_Chain proto.InternalMessageInfo - -func (m *RowFilter_Chain) GetFilters() []*RowFilter { - if m != nil { - return m.Filters - } - return nil -} - -// A RowFilter which sends each row to each of several component -// RowFilters and interleaves the results. -type RowFilter_Interleave struct { - // The elements of "filters" all process a copy of the input row, and the - // results are pooled, sorted, and combined into a single output row. - // If multiple cells are produced with the same column and timestamp, - // they will all appear in the output row in an unspecified mutual order. - // Consider the following example, with three filters: - // - // input row - // | - // ----------------------------------------------------- - // | | | - // f(0) f(1) f(2) - // | | | - // 1: foo,bar,10,x foo,bar,10,z far,bar,7,a - // 2: foo,blah,11,z far,blah,5,x far,blah,5,x - // | | | - // ----------------------------------------------------- - // | - // 1: foo,bar,10,z // could have switched with #2 - // 2: foo,bar,10,x // could have switched with #1 - // 3: foo,blah,11,z - // 4: far,bar,7,a - // 5: far,blah,5,x // identical to #6 - // 6: far,blah,5,x // identical to #5 - // All interleaved filters are executed atomically. - Filters []*RowFilter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_234346170b768b8c, []int{9, 1} -} - -func (m *RowFilter_Interleave) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RowFilter_Interleave.Unmarshal(m, b) -} -func (m *RowFilter_Interleave) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RowFilter_Interleave.Marshal(b, m, deterministic) -} -func (m *RowFilter_Interleave) XXX_Merge(src proto.Message) { - xxx_messageInfo_RowFilter_Interleave.Merge(m, src) -} -func (m *RowFilter_Interleave) XXX_Size() int { - return xxx_messageInfo_RowFilter_Interleave.Size(m) -} -func (m *RowFilter_Interleave) XXX_DiscardUnknown() { - xxx_messageInfo_RowFilter_Interleave.DiscardUnknown(m) -} - -var xxx_messageInfo_RowFilter_Interleave proto.InternalMessageInfo - -func (m *RowFilter_Interleave) GetFilters() []*RowFilter { - if m != nil { - return m.Filters - } - return nil -} - -// A RowFilter which evaluates one of two possible RowFilters, depending on -// whether or not a predicate RowFilter outputs any cells from the input row. -// -// IMPORTANT NOTE: The predicate filter does not execute atomically with the -// true and false filters, which may lead to inconsistent or unexpected -// results. Additionally, Condition filters have poor performance, especially -// when filters are set for the false condition. -type RowFilter_Condition struct { - // If "predicate_filter" outputs any cells, then "true_filter" will be - // evaluated on the input row. Otherwise, "false_filter" will be evaluated. - PredicateFilter *RowFilter `protobuf:"bytes,1,opt,name=predicate_filter,json=predicateFilter,proto3" json:"predicate_filter,omitempty"` - // The filter to apply to the input row if "predicate_filter" returns any - // results. If not provided, no results will be returned in the true case. - TrueFilter *RowFilter `protobuf:"bytes,2,opt,name=true_filter,json=trueFilter,proto3" json:"true_filter,omitempty"` - // The filter to apply to the input row if "predicate_filter" does not - // return any results. If not provided, no results will be returned in the - // false case. - FalseFilter *RowFilter `protobuf:"bytes,3,opt,name=false_filter,json=falseFilter,proto3" json:"false_filter,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_234346170b768b8c, []int{9, 2} -} - -func (m *RowFilter_Condition) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RowFilter_Condition.Unmarshal(m, b) -} -func (m *RowFilter_Condition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RowFilter_Condition.Marshal(b, m, deterministic) -} -func (m *RowFilter_Condition) XXX_Merge(src proto.Message) { - xxx_messageInfo_RowFilter_Condition.Merge(m, src) -} -func (m *RowFilter_Condition) XXX_Size() int { - return xxx_messageInfo_RowFilter_Condition.Size(m) -} -func (m *RowFilter_Condition) XXX_DiscardUnknown() { - xxx_messageInfo_RowFilter_Condition.DiscardUnknown(m) -} - -var xxx_messageInfo_RowFilter_Condition proto.InternalMessageInfo - -func (m *RowFilter_Condition) GetPredicateFilter() *RowFilter { - if m != nil { - return m.PredicateFilter - } - return nil -} - -func (m *RowFilter_Condition) GetTrueFilter() *RowFilter { - if m != nil { - return m.TrueFilter - } - return nil -} - -func (m *RowFilter_Condition) GetFalseFilter() *RowFilter { - if m != nil { - return m.FalseFilter - } - return nil -} - -// Specifies a particular change to be made to the contents of a row. -type Mutation struct { - // Which of the possible Mutation types to apply. - // - // Types that are valid to be assigned to Mutation: - // *Mutation_SetCell_ - // *Mutation_DeleteFromColumn_ - // *Mutation_DeleteFromFamily_ - // *Mutation_DeleteFromRow_ - Mutation isMutation_Mutation `protobuf_oneof:"mutation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_234346170b768b8c, []int{10} -} - -func (m *Mutation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Mutation.Unmarshal(m, b) -} -func (m *Mutation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Mutation.Marshal(b, m, deterministic) -} -func (m *Mutation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Mutation.Merge(m, src) -} -func (m *Mutation) XXX_Size() int { - return xxx_messageInfo_Mutation.Size(m) -} -func (m *Mutation) XXX_DiscardUnknown() { - xxx_messageInfo_Mutation.DiscardUnknown(m) -} - -var xxx_messageInfo_Mutation proto.InternalMessageInfo - -type isMutation_Mutation interface { - isMutation_Mutation() -} - -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_DeleteFromColumn_) isMutation_Mutation() {} - -func (*Mutation_DeleteFromFamily_) isMutation_Mutation() {} - -func (*Mutation_DeleteFromRow_) isMutation_Mutation() {} - -func (m *Mutation) GetMutation() isMutation_Mutation { - if m != nil { - return m.Mutation - } - return nil -} - -func (m *Mutation) GetSetCell() *Mutation_SetCell { - if x, ok := m.GetMutation().(*Mutation_SetCell_); ok { - return x.SetCell - } - return nil -} - -func (m *Mutation) GetDeleteFromColumn() *Mutation_DeleteFromColumn { - if x, ok := m.GetMutation().(*Mutation_DeleteFromColumn_); ok { - return x.DeleteFromColumn - } - return nil -} - -func (m *Mutation) GetDeleteFromFamily() *Mutation_DeleteFromFamily { - if x, ok := m.GetMutation().(*Mutation_DeleteFromFamily_); ok { - return x.DeleteFromFamily - } - return nil -} - -func (m *Mutation) GetDeleteFromRow() *Mutation_DeleteFromRow { - if x, ok := m.GetMutation().(*Mutation_DeleteFromRow_); ok { - return x.DeleteFromRow - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Mutation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Mutation_SetCell_)(nil), - (*Mutation_DeleteFromColumn_)(nil), - (*Mutation_DeleteFromFamily_)(nil), - (*Mutation_DeleteFromRow_)(nil), - } -} - -// A Mutation which sets the value of the specified cell. -type Mutation_SetCell struct { - // The name of the family into which new data should be written. - // Must match [-_.a-zA-Z0-9]+ - FamilyName string `protobuf:"bytes,1,opt,name=family_name,json=familyName,proto3" json:"family_name,omitempty"` - // The qualifier of the column into which new data should be written. - // Can be any byte string, including the empty string. - ColumnQualifier []byte `protobuf:"bytes,2,opt,name=column_qualifier,json=columnQualifier,proto3" json:"column_qualifier,omitempty"` - // The timestamp of the cell into which new data should be written. - // Use -1 for current Bigtable server time. - // Otherwise, the client should set this value itself, noting that the - // default value is a timestamp of zero if the field is left unspecified. - // Values must match the "granularity" of the table (e.g. micros, millis). - TimestampMicros int64 `protobuf:"varint,3,opt,name=timestamp_micros,json=timestampMicros,proto3" json:"timestamp_micros,omitempty"` - // The value to be written into the specified cell. - Value []byte `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_234346170b768b8c, []int{10, 0} -} - -func (m *Mutation_SetCell) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Mutation_SetCell.Unmarshal(m, b) -} -func (m *Mutation_SetCell) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Mutation_SetCell.Marshal(b, m, deterministic) -} -func (m *Mutation_SetCell) XXX_Merge(src proto.Message) { - xxx_messageInfo_Mutation_SetCell.Merge(m, src) -} -func (m *Mutation_SetCell) XXX_Size() int { - return xxx_messageInfo_Mutation_SetCell.Size(m) -} -func (m *Mutation_SetCell) XXX_DiscardUnknown() { - xxx_messageInfo_Mutation_SetCell.DiscardUnknown(m) -} - -var xxx_messageInfo_Mutation_SetCell proto.InternalMessageInfo - -func (m *Mutation_SetCell) GetFamilyName() string { - if m != nil { - return m.FamilyName - } - return "" -} - -func (m *Mutation_SetCell) GetColumnQualifier() []byte { - if m != nil { - return m.ColumnQualifier - } - return nil -} - -func (m *Mutation_SetCell) GetTimestampMicros() int64 { - if m != nil { - return m.TimestampMicros - } - return 0 -} - -func (m *Mutation_SetCell) GetValue() []byte { - if m != nil { - return m.Value - } - return nil -} - -// A Mutation which deletes cells from the specified column, optionally -// restricting the deletions to a given timestamp range. -type Mutation_DeleteFromColumn struct { - // The name of the family from which cells should be deleted. - // Must match [-_.a-zA-Z0-9]+ - FamilyName string `protobuf:"bytes,1,opt,name=family_name,json=familyName,proto3" json:"family_name,omitempty"` - // The qualifier of the column from which cells should be deleted. - // Can be any byte string, including the empty string. - ColumnQualifier []byte `protobuf:"bytes,2,opt,name=column_qualifier,json=columnQualifier,proto3" json:"column_qualifier,omitempty"` - // The range of timestamps within which cells should be deleted. - TimeRange *TimestampRange `protobuf:"bytes,3,opt,name=time_range,json=timeRange,proto3" json:"time_range,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Mutation_DeleteFromColumn) Reset() { *m = Mutation_DeleteFromColumn{} } -func (m *Mutation_DeleteFromColumn) String() string { return proto.CompactTextString(m) } -func (*Mutation_DeleteFromColumn) ProtoMessage() {} -func (*Mutation_DeleteFromColumn) Descriptor() ([]byte, []int) { - return fileDescriptor_234346170b768b8c, []int{10, 1} -} - -func (m *Mutation_DeleteFromColumn) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Mutation_DeleteFromColumn.Unmarshal(m, b) -} -func (m *Mutation_DeleteFromColumn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Mutation_DeleteFromColumn.Marshal(b, m, deterministic) -} -func (m *Mutation_DeleteFromColumn) XXX_Merge(src proto.Message) { - xxx_messageInfo_Mutation_DeleteFromColumn.Merge(m, src) -} -func (m *Mutation_DeleteFromColumn) XXX_Size() int { - return xxx_messageInfo_Mutation_DeleteFromColumn.Size(m) -} -func (m *Mutation_DeleteFromColumn) XXX_DiscardUnknown() { - xxx_messageInfo_Mutation_DeleteFromColumn.DiscardUnknown(m) -} - -var xxx_messageInfo_Mutation_DeleteFromColumn proto.InternalMessageInfo - -func (m *Mutation_DeleteFromColumn) GetFamilyName() string { - if m != nil { - return m.FamilyName - } - return "" -} - -func (m *Mutation_DeleteFromColumn) GetColumnQualifier() []byte { - if m != nil { - return m.ColumnQualifier - } - return nil -} - -func (m *Mutation_DeleteFromColumn) GetTimeRange() *TimestampRange { - if m != nil { - return m.TimeRange - } - return nil -} - -// A Mutation which deletes all cells from the specified column family. -type Mutation_DeleteFromFamily struct { - // The name of the family from which cells should be deleted. - // Must match [-_.a-zA-Z0-9]+ - FamilyName string `protobuf:"bytes,1,opt,name=family_name,json=familyName,proto3" json:"family_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Mutation_DeleteFromFamily) Reset() { *m = Mutation_DeleteFromFamily{} } -func (m *Mutation_DeleteFromFamily) String() string { return proto.CompactTextString(m) } -func (*Mutation_DeleteFromFamily) ProtoMessage() {} -func (*Mutation_DeleteFromFamily) Descriptor() ([]byte, []int) { - return fileDescriptor_234346170b768b8c, []int{10, 2} -} - -func (m *Mutation_DeleteFromFamily) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Mutation_DeleteFromFamily.Unmarshal(m, b) -} -func (m *Mutation_DeleteFromFamily) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Mutation_DeleteFromFamily.Marshal(b, m, deterministic) -} -func (m *Mutation_DeleteFromFamily) XXX_Merge(src proto.Message) { - xxx_messageInfo_Mutation_DeleteFromFamily.Merge(m, src) -} -func (m *Mutation_DeleteFromFamily) XXX_Size() int { - return xxx_messageInfo_Mutation_DeleteFromFamily.Size(m) -} -func (m *Mutation_DeleteFromFamily) XXX_DiscardUnknown() { - xxx_messageInfo_Mutation_DeleteFromFamily.DiscardUnknown(m) -} - -var xxx_messageInfo_Mutation_DeleteFromFamily proto.InternalMessageInfo - -func (m *Mutation_DeleteFromFamily) GetFamilyName() string { - if m != nil { - return m.FamilyName - } - return "" -} - -// A Mutation which deletes all cells from the containing row. -type Mutation_DeleteFromRow struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_234346170b768b8c, []int{10, 3} -} - -func (m *Mutation_DeleteFromRow) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Mutation_DeleteFromRow.Unmarshal(m, b) -} -func (m *Mutation_DeleteFromRow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Mutation_DeleteFromRow.Marshal(b, m, deterministic) -} -func (m *Mutation_DeleteFromRow) XXX_Merge(src proto.Message) { - xxx_messageInfo_Mutation_DeleteFromRow.Merge(m, src) -} -func (m *Mutation_DeleteFromRow) XXX_Size() int { - return xxx_messageInfo_Mutation_DeleteFromRow.Size(m) -} -func (m *Mutation_DeleteFromRow) XXX_DiscardUnknown() { - xxx_messageInfo_Mutation_DeleteFromRow.DiscardUnknown(m) -} - -var xxx_messageInfo_Mutation_DeleteFromRow proto.InternalMessageInfo - -// Specifies an atomic read/modify/write operation on the latest value of the -// specified column. -type ReadModifyWriteRule struct { - // The name of the family to which the read/modify/write should be applied. - // Must match [-_.a-zA-Z0-9]+ - FamilyName string `protobuf:"bytes,1,opt,name=family_name,json=familyName,proto3" json:"family_name,omitempty"` - // The qualifier of the column to which the read/modify/write should be - // applied. - // Can be any byte string, including the empty string. - ColumnQualifier []byte `protobuf:"bytes,2,opt,name=column_qualifier,json=columnQualifier,proto3" json:"column_qualifier,omitempty"` - // The rule used to determine the column's new latest value from its current - // latest value. - // - // Types that are valid to be assigned to Rule: - // *ReadModifyWriteRule_AppendValue - // *ReadModifyWriteRule_IncrementAmount - Rule isReadModifyWriteRule_Rule `protobuf_oneof:"rule"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_234346170b768b8c, []int{11} -} - -func (m *ReadModifyWriteRule) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReadModifyWriteRule.Unmarshal(m, b) -} -func (m *ReadModifyWriteRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReadModifyWriteRule.Marshal(b, m, deterministic) -} -func (m *ReadModifyWriteRule) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReadModifyWriteRule.Merge(m, src) -} -func (m *ReadModifyWriteRule) XXX_Size() int { - return xxx_messageInfo_ReadModifyWriteRule.Size(m) -} -func (m *ReadModifyWriteRule) XXX_DiscardUnknown() { - xxx_messageInfo_ReadModifyWriteRule.DiscardUnknown(m) -} - -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() -} - -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_IncrementAmount) isReadModifyWriteRule_Rule() {} - -func (m *ReadModifyWriteRule) GetRule() isReadModifyWriteRule_Rule { - if m != nil { - return m.Rule - } - return nil -} - -func (m *ReadModifyWriteRule) GetAppendValue() []byte { - if x, ok := m.GetRule().(*ReadModifyWriteRule_AppendValue); ok { - return x.AppendValue - } - return nil -} - -func (m *ReadModifyWriteRule) GetIncrementAmount() int64 { - if x, ok := m.GetRule().(*ReadModifyWriteRule_IncrementAmount); ok { - return x.IncrementAmount - } - return 0 -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ReadModifyWriteRule) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ReadModifyWriteRule_AppendValue)(nil), - (*ReadModifyWriteRule_IncrementAmount)(nil), - } -} - -func init() { - proto.RegisterType((*Row)(nil), "google.bigtable.v1.Row") - proto.RegisterType((*Family)(nil), "google.bigtable.v1.Family") - proto.RegisterType((*Column)(nil), "google.bigtable.v1.Column") - proto.RegisterType((*Cell)(nil), "google.bigtable.v1.Cell") - proto.RegisterType((*RowRange)(nil), "google.bigtable.v1.RowRange") - proto.RegisterType((*RowSet)(nil), "google.bigtable.v1.RowSet") - proto.RegisterType((*ColumnRange)(nil), "google.bigtable.v1.ColumnRange") - proto.RegisterType((*TimestampRange)(nil), "google.bigtable.v1.TimestampRange") - proto.RegisterType((*ValueRange)(nil), "google.bigtable.v1.ValueRange") - proto.RegisterType((*RowFilter)(nil), "google.bigtable.v1.RowFilter") - proto.RegisterType((*RowFilter_Chain)(nil), "google.bigtable.v1.RowFilter.Chain") - proto.RegisterType((*RowFilter_Interleave)(nil), "google.bigtable.v1.RowFilter.Interleave") - proto.RegisterType((*RowFilter_Condition)(nil), "google.bigtable.v1.RowFilter.Condition") - proto.RegisterType((*Mutation)(nil), "google.bigtable.v1.Mutation") - proto.RegisterType((*Mutation_SetCell)(nil), "google.bigtable.v1.Mutation.SetCell") - proto.RegisterType((*Mutation_DeleteFromColumn)(nil), "google.bigtable.v1.Mutation.DeleteFromColumn") - proto.RegisterType((*Mutation_DeleteFromFamily)(nil), "google.bigtable.v1.Mutation.DeleteFromFamily") - proto.RegisterType((*Mutation_DeleteFromRow)(nil), "google.bigtable.v1.Mutation.DeleteFromRow") - proto.RegisterType((*ReadModifyWriteRule)(nil), "google.bigtable.v1.ReadModifyWriteRule") -} - -func init() { - proto.RegisterFile("google/bigtable/v1/bigtable_data.proto", fileDescriptor_234346170b768b8c) -} - -var fileDescriptor_234346170b768b8c = []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, - 0x56, 0x49, 0x5b, 0x39, 0x71, 0x82, 0x36, 0x6d, 0x82, 0x22, 0x56, 0x0e, 0x55, 0x9a, 0x33, 0x63, - 0xa4, 0x40, 0x80, 0x62, 0x4b, 0x6b, 0x29, 0x75, 0x11, 0xee, 0x52, 0xe5, 0xae, 0xac, 0xe8, 0x45, - 0x7a, 0xdf, 0xe7, 0xe8, 0x5d, 0x5f, 0xa2, 0xaf, 0xd1, 0xcb, 0x5e, 0xf4, 0xa2, 0xe0, 0x61, 0x4f, - 0xb2, 0x62, 0x1b, 0x45, 0xee, 0x96, 0x9c, 0xef, 0xfb, 0x66, 0x38, 0x1c, 0x0e, 0xb9, 0xf0, 0xc9, - 0x88, 0xf3, 0x11, 0xa3, 0xbb, 0x87, 0xde, 0x28, 0x22, 0x87, 0x8c, 0xee, 0x1e, 0xdd, 0x48, 0xbe, - 0x1d, 0x97, 0x44, 0xa4, 0x3b, 0x16, 0x3c, 0xe2, 0x08, 0x69, 0x5c, 0x37, 0xb6, 0x75, 0x8f, 0x6e, - 0xb4, 0x5f, 0x40, 0x11, 0xf3, 0x29, 0x6a, 0x40, 0xf1, 0x1d, 0x9d, 0x35, 0xad, 0x1d, 0xab, 0xb3, - 0x82, 0xe5, 0x27, 0xfa, 0x12, 0xaa, 0x43, 0xe2, 0x7b, 0xcc, 0xa3, 0x61, 0x73, 0x69, 0xa7, 0xd8, - 0xb1, 0xf7, 0x5a, 0xdd, 0xe3, 0xfc, 0xee, 0x23, 0x89, 0x99, 0xe1, 0x04, 0xdb, 0xc6, 0x50, 0xd6, - 0x73, 0x08, 0x41, 0x29, 0x20, 0x3e, 0x55, 0xa2, 0x35, 0xac, 0xbe, 0xd1, 0x2d, 0xa8, 0x0c, 0x38, - 0x9b, 0xf8, 0xc1, 0x89, 0xa2, 0xf7, 0x15, 0x04, 0xc7, 0xd0, 0xf6, 0x1b, 0x28, 0xeb, 0x29, 0x74, - 0x11, 0x6a, 0xbf, 0x4c, 0x08, 0xf3, 0x86, 0x1e, 0x15, 0x26, 0xda, 0x74, 0x02, 0x75, 0x61, 0x79, - 0x40, 0x19, 0x8b, 0xb5, 0x9b, 0x0b, 0xb5, 0x29, 0x63, 0x58, 0xc3, 0xda, 0x0e, 0x94, 0xe4, 0x10, - 0x5d, 0x85, 0x46, 0xe4, 0xf9, 0x34, 0x8c, 0x88, 0x3f, 0x76, 0x7c, 0x6f, 0x20, 0x78, 0xa8, 0xc4, - 0x8b, 0xb8, 0x9e, 0xcc, 0x3f, 0x53, 0xd3, 0x68, 0x03, 0x96, 0x8f, 0x08, 0x9b, 0xd0, 0xe6, 0x92, - 0x72, 0xae, 0x07, 0x68, 0x0b, 0xca, 0x8c, 0x1c, 0x52, 0x16, 0x36, 0x8b, 0x3b, 0xc5, 0x4e, 0x0d, - 0x9b, 0x51, 0xfb, 0x1e, 0x54, 0x31, 0x9f, 0x62, 0x12, 0x8c, 0x28, 0xba, 0x00, 0xb5, 0x30, 0x22, - 0x22, 0x72, 0x64, 0xa2, 0x35, 0xbb, 0xaa, 0x26, 0x9e, 0xd0, 0x19, 0xda, 0x86, 0x0a, 0x0d, 0x5c, - 0x65, 0x2a, 0x2a, 0x53, 0x99, 0x06, 0xee, 0x13, 0x3a, 0x6b, 0xff, 0x04, 0x65, 0xcc, 0xa7, 0xaf, - 0x69, 0x84, 0xce, 0x43, 0x55, 0xf0, 0xa9, 0x84, 0xc8, 0xe0, 0x8a, 0x9d, 0x15, 0x5c, 0x11,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- 0xfe, 0x5d, 0x68, 0xe5, 0xf9, 0xcc, 0xf3, 0xbd, 0x84, 0x6e, 0x1b, 0xfa, 0x56, 0x86, 0xfe, 0x54, - 0x02, 0x0c, 0xbb, 0x07, 0x97, 0x52, 0xb6, 0xd9, 0xb6, 0x9c, 0xc0, 0x8a, 0x11, 0x38, 0x1f, 0x0b, - 0xe8, 0xcd, 0xca, 0x6a, 0xdc, 0x86, 0xed, 0x30, 0x12, 0xde, 0xd8, 0x74, 0x9b, 0x48, 0x90, 0x20, - 0x1c, 0x72, 0xe1, 0x53, 0xd1, 0x5c, 0x35, 0x87, 0x60, 0x53, 0x01, 0x54, 0x26, 0x0e, 0x52, 0xb3, - 0x64, 0x92, 0xf1, 0x98, 0xcd, 0x1c, 0x75, 0x8b, 0xe7, 0x98, 0xeb, 0x71, 0xa5, 0x2a, 0xc0, 0x53, - 0x69, 0xcf, 0x30, 0x5b, 0xf7, 0x60, 0x59, 0x35, 0x16, 0xf4, 0x15, 0x54, 0x74, 0xa4, 0xfa, 0xae, - 0xb6, 0xf7, 0x2e, 0x9d, 0xd8, 0x01, 0x70, 0x8c, 0x6e, 0x3d, 0x04, 0x48, 0x1b, 0xcb, 0x7f, 0x97, - 0xf9, 0xd3, 0x82, 0x5a, 0xd2, 0x55, 0x50, 0x1f, 0x1a, 0x63, 0x41, 0x5d, 0x6f, 0x40, 0xa2, 0xa4, - 0x34, 0x74, 0x97, 0x3c, 0x45, 0xaf, 0x9e, 0xd0, 0x92, 0xb2, 0xb0, 0x23, 0x31, 0x49, 0x44, 0x96, - 0xce, 0x22, 0x02, 0x92, 0x61, 0xf8, 0xf7, 0x60, 0x65, 0x48, 0x58, 0x98, 0x08, 0x14, 0xcf, 0x22, - 0x60, 0x2b, 0x8a, 0x1e, 0xf4, 0xaa, 0x50, 0xd6, 0xdc, 0xf6, 0x5f, 0xcb, 0x50, 0x7d, 0x36, 0x89, - 0x88, 0x5a, 0xe2, 0x3e, 0x54, 0x65, 0x79, 0xca,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8f, 0xba, - 0xf0, 0x2b, 0xb0, 0x42, 0xc6, 0xe3, 0xe4, 0x95, 0x95, 0xbc, 0xc9, 0x6d, 0x3d, 0xab, 0xba, 0x25, - 0xfa, 0x0c, 0x1a, 0x5e, 0x30, 0x10, 0xd4, 0xa7, 0x41, 0xe4, 0x10, 0x9f, 0x4f, 0x82, 0x48, 0xed, - 0x4f, 0x51, 0x5e, 0xfd, 0x89, 0x65, 0x5f, 0x19, 0x7a, 0x65, 0x28, 0x89, 0x09, 0xa3, 0x3d, 0x0f, - 0xb6, 0x06, 0xdc, 0x5f, 0x90, 0xc3, 0xde, 0x5a, 0xcf, 0x0c, 0x1e, 0x90, 0x88, 0xbc, 0x94, 0x3f, - 0xab, 0x2f, 0xad, 0xb7, 0xdf, 0x18, 0xe0, 0x88, 0x33, 0x12, 0x8c, 0xba, 0x5c, 0x8c, 0x76, 0x47, - 0x34, 0x50, 0xbf, 0xb2, 0xbb, 0xda, 0x44, 0xc6, 0x5e, 0x98, 0xfd, 0xeb, 0xbd, 0x13, 0x7f, 0x1f, - 0x96, 0x15, 0xec, 0xe6, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x3e, 0x54, 0x66, 0x7c, 0x1b, 0x0f, - 0x00, 0x00, -} 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 deleted file mode 100644 index 9df283eb..00000000 --- a/vendor/google.golang.org/genproto/googleapis/bigtable/v1/bigtable_service.pb.go +++ /dev/null @@ -1,420 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/bigtable/v1/bigtable_service.proto - -package bigtable - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -func init() { - proto.RegisterFile("google/bigtable/v1/bigtable_service.proto", fileDescriptor_a9a2f3a013379609) -} - -var fileDescriptor_a9a2f3a013379609 = []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, - 0x8d, 0xdb, 0x72, 0x0b, 0xe2, 0xd0, 0x45, 0x50, 0x21, 0x58, 0x51, 0xa5, 0xe2, 0x43, 0xe5, 0xb0, - 0x78, 0x93, 0x69, 0x08, 0x4d, 0xe2, 0x60, 0x7b, 0x37, 0x5a, 0xaa, 0x5e, 0x38, 0x71, 0xe7, 0x11, - 0x10, 0x17, 0x5e, 0x80, 0x23, 0xef, 0x00, 0x67, 0x6e, 0x3c, 0x08, 0xb2, 0x63, 0x2f, 0x2c, 0x0d, - 0xcb, 0x8a, 0xee, 0x29, 0x8e, 0xe6, 0x3f, 0x33, 0xbf, 0xff, 0xf8, 0x03, 0xaf, 0xa6, 0x9c, 0xa7, - 0x39, 0xd0, 0x41, 0x96, 0x2a, 0x36, 0xc8, 0x81, 0x8e, 0x36, 0x26, 0xeb, 0xbe, 0x04, 0x31, 0xca, - 0x62, 0x08, 0x2a, 0xc1, 0x15, 0x27, 0xa4, 0x91, 0x06, 0x2e, 0x1c, 0x8c, 0x36, 0x3a, 0x97, 0x6d, - 0x3a, 0xab, 0x32, 0xca, 0xca, 0x92, 0x2b, 0xa6,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x08, 0x0d, 0x4e, 0x1b, 0xe5, 0xcd, 0x9f, 0x01, 0x00, 0x00, 0xff, - 0xff, 0x4c, 0x27, 0x6e, 0x9a, 0xb0, 0x05, 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 - -// BigtableServiceClient is the client API for BigtableService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type BigtableServiceClient interface { - // Streams back the contents of all requested rows, optionally applying - // the same Reader filter to each. Depending on their size, rows may be - // broken up across multiple responses, but atomicity of each row will still - // be preserved. - ReadRows(ctx context.Context, in *ReadRowsRequest, opts ...grpc.CallOption) (BigtableService_ReadRowsClient, error) - // Returns a sample of row keys in the table. The returned row keys will - // delimit contiguous sections of the table of approximately equal size, - // which can be used to break up the data for distributed tasks like - // mapreduces. - SampleRowKeys(ctx context.Context, in *SampleRowKeysRequest, opts ...grpc.CallOption) (BigtableService_SampleRowKeysClient, error) - // Mutates a row atomically. Cells already present in the row are left - // unchanged unless explicitly changed by 'mutation'. - MutateRow(ctx context.Context, in *MutateRowRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Mutates multiple rows in a batch. Each individual row is mutated - // atomically as in MutateRow, but the entire batch is not executed - // atomically. - MutateRows(ctx context.Context, in *MutateRowsRequest, opts ...grpc.CallOption) (*MutateRowsResponse, error) - // Mutates a row atomically based on the output of a predicate Reader filter. - CheckAndMutateRow(ctx context.Context, in *CheckAndMutateRowRequest, opts ...grpc.CallOption) (*CheckAndMutateRowResponse, error) - // Modifies a row atomically, reading the latest existing timestamp/value from - // the specified columns and writing a new value at - // max(existing timestamp, current server time) based on pre-defined - // read/modify/write rules. Returns the new contents of all modified cells. - ReadModifyWriteRow(ctx context.Context, in *ReadModifyWriteRowRequest, opts ...grpc.CallOption) (*Row, error) -} - -type bigtableServiceClient struct { - cc *grpc.ClientConn -} - -func NewBigtableServiceClient(cc *grpc.ClientConn) BigtableServiceClient { - return &bigtableServiceClient{cc} -} - -func (c *bigtableServiceClient) ReadRows(ctx context.Context, in *ReadRowsRequest, opts ...grpc.CallOption) (BigtableService_ReadRowsClient, error) { - stream, err := c.cc.NewStream(ctx, &_BigtableService_serviceDesc.Streams[0], "/google.bigtable.v1.BigtableService/ReadRows", opts...) - if err != nil { - return nil, err - } - x := &bigtableServiceReadRowsClient{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 BigtableService_ReadRowsClient interface { - Recv() (*ReadRowsResponse, error) - grpc.ClientStream -} - -type bigtableServiceReadRowsClient struct { - grpc.ClientStream -} - -func (x *bigtableServiceReadRowsClient) Recv() (*ReadRowsResponse, error) { - m := new(ReadRowsResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *bigtableServiceClient) SampleRowKeys(ctx context.Context, in *SampleRowKeysRequest, opts ...grpc.CallOption) (BigtableService_SampleRowKeysClient, error) { - stream, err := c.cc.NewStream(ctx, &_BigtableService_serviceDesc.Streams[1], "/google.bigtable.v1.BigtableService/SampleRowKeys", opts...) - if err != nil { - return nil, err - } - x := &bigtableServiceSampleRowKeysClient{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 BigtableService_SampleRowKeysClient interface { - Recv() (*SampleRowKeysResponse, error) - grpc.ClientStream -} - -type bigtableServiceSampleRowKeysClient struct { - grpc.ClientStream -} - -func (x *bigtableServiceSampleRowKeysClient) Recv() (*SampleRowKeysResponse, error) { - m := new(SampleRowKeysResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *bigtableServiceClient) MutateRow(ctx context.Context, in *MutateRowRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.bigtable.v1.BigtableService/MutateRow", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableServiceClient) MutateRows(ctx context.Context, in *MutateRowsRequest, opts ...grpc.CallOption) (*MutateRowsResponse, error) { - out := new(MutateRowsResponse) - err := c.cc.Invoke(ctx, "/google.bigtable.v1.BigtableService/MutateRows", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableServiceClient) CheckAndMutateRow(ctx context.Context, in *CheckAndMutateRowRequest, opts ...grpc.CallOption) (*CheckAndMutateRowResponse, error) { - out := new(CheckAndMutateRowResponse) - err := c.cc.Invoke(ctx, "/google.bigtable.v1.BigtableService/CheckAndMutateRow", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableServiceClient) ReadModifyWriteRow(ctx context.Context, in *ReadModifyWriteRowRequest, opts ...grpc.CallOption) (*Row, error) { - out := new(Row) - err := c.cc.Invoke(ctx, "/google.bigtable.v1.BigtableService/ReadModifyWriteRow", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// BigtableServiceServer is the server API for BigtableService service. -type BigtableServiceServer interface { - // Streams back the contents of all requested rows, optionally applying - // the same Reader filter to each. Depending on their size, rows may be - // broken up across multiple responses, but atomicity of each row will still - // be preserved. - ReadRows(*ReadRowsRequest, BigtableService_ReadRowsServer) error - // Returns a sample of row keys in the table. The returned row keys will - // delimit contiguous sections of the table of approximately equal size, - // which can be used to break up the data for distributed tasks like - // mapreduces. - SampleRowKeys(*SampleRowKeysRequest, BigtableService_SampleRowKeysServer) error - // Mutates a row atomically. Cells already present in the row are left - // unchanged unless explicitly changed by 'mutation'. - MutateRow(context.Context, *MutateRowRequest) (*empty.Empty, error) - // Mutates multiple rows in a batch. Each individual row is mutated - // atomically as in MutateRow, but the entire batch is not executed - // atomically. - MutateRows(context.Context, *MutateRowsRequest) (*MutateRowsResponse, error) - // Mutates a row atomically based on the output of a predicate Reader filter. - CheckAndMutateRow(context.Context, *CheckAndMutateRowRequest) (*CheckAndMutateRowResponse, error) - // Modifies a row atomically, reading the latest existing timestamp/value from - // the specified columns and writing a new value at - // max(existing timestamp, current server time) based on pre-defined - // read/modify/write rules. Returns the new contents of all modified cells. - ReadModifyWriteRow(context.Context, *ReadModifyWriteRowRequest) (*Row, error) -} - -// UnimplementedBigtableServiceServer can be embedded to have forward compatible implementations. -type UnimplementedBigtableServiceServer struct { -} - -func (*UnimplementedBigtableServiceServer) ReadRows(req *ReadRowsRequest, srv BigtableService_ReadRowsServer) error { - return status.Errorf(codes.Unimplemented, "method ReadRows not implemented") -} -func (*UnimplementedBigtableServiceServer) SampleRowKeys(req *SampleRowKeysRequest, srv BigtableService_SampleRowKeysServer) error { - return status.Errorf(codes.Unimplemented, "method SampleRowKeys not implemented") -} -func (*UnimplementedBigtableServiceServer) MutateRow(ctx context.Context, req *MutateRowRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method MutateRow not implemented") -} -func (*UnimplementedBigtableServiceServer) MutateRows(ctx context.Context, req *MutateRowsRequest) (*MutateRowsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method MutateRows not implemented") -} -func (*UnimplementedBigtableServiceServer) CheckAndMutateRow(ctx context.Context, req *CheckAndMutateRowRequest) (*CheckAndMutateRowResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CheckAndMutateRow not implemented") -} -func (*UnimplementedBigtableServiceServer) ReadModifyWriteRow(ctx context.Context, req *ReadModifyWriteRowRequest) (*Row, error) { - return nil, status.Errorf(codes.Unimplemented, "method ReadModifyWriteRow not implemented") -} - -func RegisterBigtableServiceServer(s *grpc.Server, srv BigtableServiceServer) { - s.RegisterService(&_BigtableService_serviceDesc, srv) -} - -func _BigtableService_ReadRows_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ReadRowsRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(BigtableServiceServer).ReadRows(m, &bigtableServiceReadRowsServer{stream}) -} - -type BigtableService_ReadRowsServer interface { - Send(*ReadRowsResponse) error - grpc.ServerStream -} - -type bigtableServiceReadRowsServer struct { - grpc.ServerStream -} - -func (x *bigtableServiceReadRowsServer) Send(m *ReadRowsResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _BigtableService_SampleRowKeys_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(SampleRowKeysRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(BigtableServiceServer).SampleRowKeys(m, &bigtableServiceSampleRowKeysServer{stream}) -} - -type BigtableService_SampleRowKeysServer interface { - Send(*SampleRowKeysResponse) error - grpc.ServerStream -} - -type bigtableServiceSampleRowKeysServer struct { - grpc.ServerStream -} - -func (x *bigtableServiceSampleRowKeysServer) Send(m *SampleRowKeysResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _BigtableService_MutateRow_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateRowRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableServiceServer).MutateRow(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.v1.BigtableService/MutateRow", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableServiceServer).MutateRow(ctx, req.(*MutateRowRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableService_MutateRows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateRowsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableServiceServer).MutateRows(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.v1.BigtableService/MutateRows", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableServiceServer).MutateRows(ctx, req.(*MutateRowsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableService_CheckAndMutateRow_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CheckAndMutateRowRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableServiceServer).CheckAndMutateRow(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.v1.BigtableService/CheckAndMutateRow", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableServiceServer).CheckAndMutateRow(ctx, req.(*CheckAndMutateRowRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BigtableService_ReadModifyWriteRow_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ReadModifyWriteRowRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableServiceServer).ReadModifyWriteRow(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.v1.BigtableService/ReadModifyWriteRow", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableServiceServer).ReadModifyWriteRow(ctx, req.(*ReadModifyWriteRowRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _BigtableService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.bigtable.v1.BigtableService", - HandlerType: (*BigtableServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "MutateRow", - Handler: _BigtableService_MutateRow_Handler, - }, - { - MethodName: "MutateRows", - Handler: _BigtableService_MutateRows_Handler, - }, - { - MethodName: "CheckAndMutateRow", - Handler: _BigtableService_CheckAndMutateRow_Handler, - }, - { - MethodName: "ReadModifyWriteRow", - Handler: _BigtableService_ReadModifyWriteRow_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "ReadRows", - Handler: _BigtableService_ReadRows_Handler, - ServerStreams: true, - }, - { - StreamName: "SampleRowKeys", - Handler: _BigtableService_SampleRowKeys_Handler, - ServerStreams: true, - }, - }, - Metadata: "google/bigtable/v1/bigtable_service.proto", -} 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 deleted file mode 100644 index 62cdc07b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/bigtable/v1/bigtable_service_messages.pb.go +++ /dev/null @@ -1,892 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/bigtable/v1/bigtable_service_messages.proto - -package bigtable - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for BigtableServer.ReadRows. -type ReadRowsRequest struct { - // The unique name of the table from which to read. - TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` - // If neither row_key nor row_range is set, reads from all rows. - // - // Types that are valid to be assigned to Target: - // *ReadRowsRequest_RowKey - // *ReadRowsRequest_RowRange - // *ReadRowsRequest_RowSet - Target isReadRowsRequest_Target `protobuf_oneof:"target"` - // The filter to apply to the contents of the specified row(s). If unset, - // reads the entire table. - Filter *RowFilter `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"` - // By default, rows are read sequentially, producing results which are - // guaranteed to arrive in increasing row order. Setting - // "allow_row_interleaving" to true allows multiple rows to be interleaved in - // the response stream, which increases throughput but breaks this guarantee, - // and may force the client to use more memory to buffer partially-received - // rows. Cannot be set to true when specifying "num_rows_limit". - AllowRowInterleaving bool `protobuf:"varint,6,opt,name=allow_row_interleaving,json=allowRowInterleaving,proto3" json:"allow_row_interleaving,omitempty"` - // The read will terminate after committing to N rows' worth of results. The - // default (zero) is to return all results. - // Note that "allow_row_interleaving" cannot be set to true when this is set. - NumRowsLimit int64 `protobuf:"varint,7,opt,name=num_rows_limit,json=numRowsLimit,proto3" json:"num_rows_limit,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_f3f31120fcc6bad7, []int{0} -} - -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 (m *ReadRowsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReadRowsRequest.Merge(m, 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) GetTableName() string { - if m != nil { - return m.TableName - } - return "" -} - -type isReadRowsRequest_Target interface { - isReadRowsRequest_Target() -} - -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_RowRange) isReadRowsRequest_Target() {} - -func (*ReadRowsRequest_RowSet) isReadRowsRequest_Target() {} - -func (m *ReadRowsRequest) GetTarget() isReadRowsRequest_Target { - if m != nil { - return m.Target - } - return nil -} - -func (m *ReadRowsRequest) GetRowKey() []byte { - if x, ok := m.GetTarget().(*ReadRowsRequest_RowKey); ok { - return x.RowKey - } - return nil -} - -func (m *ReadRowsRequest) GetRowRange() *RowRange { - if x, ok := m.GetTarget().(*ReadRowsRequest_RowRange); ok { - return x.RowRange - } - return nil -} - -func (m *ReadRowsRequest) GetRowSet() *RowSet { - if x, ok := m.GetTarget().(*ReadRowsRequest_RowSet); ok { - return x.RowSet - } - return nil -} - -func (m *ReadRowsRequest) GetFilter() *RowFilter { - if m != nil { - return m.Filter - } - return nil -} - -func (m *ReadRowsRequest) GetAllowRowInterleaving() bool { - if m != nil { - return m.AllowRowInterleaving - } - return false -} - -func (m *ReadRowsRequest) GetNumRowsLimit() int64 { - if m != nil { - return m.NumRowsLimit - } - return 0 -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ReadRowsRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ReadRowsRequest_RowKey)(nil), - (*ReadRowsRequest_RowRange)(nil), - (*ReadRowsRequest_RowSet)(nil), - } -} - -// Response message for BigtableService.ReadRows. -type ReadRowsResponse struct { - // The key of the row for which we're receiving data. - // Results will be received in increasing row key order, unless - // "allow_row_interleaving" was specified in the request. - RowKey []byte `protobuf:"bytes,1,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"` - // One or more chunks of the row specified by "row_key". - Chunks []*ReadRowsResponse_Chunk `protobuf:"bytes,2,rep,name=chunks,proto3" json:"chunks,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_f3f31120fcc6bad7, []int{1} -} - -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 (m *ReadRowsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReadRowsResponse.Merge(m, 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 - -func (m *ReadRowsResponse) GetRowKey() []byte { - if m != nil { - return m.RowKey - } - return nil -} - -func (m *ReadRowsResponse) GetChunks() []*ReadRowsResponse_Chunk { - if m != nil { - return m.Chunks - } - return nil -} - -// Specifies a piece of a row's contents returned as part of the read -// response stream. -type ReadRowsResponse_Chunk struct { - // Types that are valid to be assigned to Chunk: - // *ReadRowsResponse_Chunk_RowContents - // *ReadRowsResponse_Chunk_ResetRow - // *ReadRowsResponse_Chunk_CommitRow - Chunk isReadRowsResponse_Chunk_Chunk `protobuf_oneof:"chunk"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f3f31120fcc6bad7, []int{1, 0} -} - -func (m *ReadRowsResponse_Chunk) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReadRowsResponse_Chunk.Unmarshal(m, b) -} -func (m *ReadRowsResponse_Chunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReadRowsResponse_Chunk.Marshal(b, m, deterministic) -} -func (m *ReadRowsResponse_Chunk) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReadRowsResponse_Chunk.Merge(m, src) -} -func (m *ReadRowsResponse_Chunk) XXX_Size() int { - return xxx_messageInfo_ReadRowsResponse_Chunk.Size(m) -} -func (m *ReadRowsResponse_Chunk) XXX_DiscardUnknown() { - xxx_messageInfo_ReadRowsResponse_Chunk.DiscardUnknown(m) -} - -var xxx_messageInfo_ReadRowsResponse_Chunk proto.InternalMessageInfo - -type isReadRowsResponse_Chunk_Chunk interface { - isReadRowsResponse_Chunk_Chunk() -} - -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 (m *ReadRowsResponse_Chunk) GetChunk() isReadRowsResponse_Chunk_Chunk { - if m != nil { - return m.Chunk - } - return nil -} - -func (m *ReadRowsResponse_Chunk) GetRowContents() *Family { - if x, ok := m.GetChunk().(*ReadRowsResponse_Chunk_RowContents); ok { - return x.RowContents - } - return nil -} - -func (m *ReadRowsResponse_Chunk) GetResetRow() bool { - if x, ok := m.GetChunk().(*ReadRowsResponse_Chunk_ResetRow); ok { - return x.ResetRow - } - return false -} - -func (m *ReadRowsResponse_Chunk) GetCommitRow() bool { - if x, ok := m.GetChunk().(*ReadRowsResponse_Chunk_CommitRow); ok { - return x.CommitRow - } - return false -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ReadRowsResponse_Chunk) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ReadRowsResponse_Chunk_RowContents)(nil), - (*ReadRowsResponse_Chunk_ResetRow)(nil), - (*ReadRowsResponse_Chunk_CommitRow)(nil), - } -} - -// Request message for BigtableService.SampleRowKeys. -type SampleRowKeysRequest struct { - // The unique name of the table from which to sample row keys. - TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f3f31120fcc6bad7, []int{2} -} - -func (m *SampleRowKeysRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SampleRowKeysRequest.Unmarshal(m, b) -} -func (m *SampleRowKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SampleRowKeysRequest.Marshal(b, m, deterministic) -} -func (m *SampleRowKeysRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SampleRowKeysRequest.Merge(m, src) -} -func (m *SampleRowKeysRequest) XXX_Size() int { - return xxx_messageInfo_SampleRowKeysRequest.Size(m) -} -func (m *SampleRowKeysRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SampleRowKeysRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SampleRowKeysRequest proto.InternalMessageInfo - -func (m *SampleRowKeysRequest) GetTableName() string { - if m != nil { - return m.TableName - } - return "" -} - -// Response message for BigtableService.SampleRowKeys. -type SampleRowKeysResponse struct { - // Sorted streamed sequence of sample row keys in the table. The table might - // have contents before the first row key in the list and after the last one, - // but a key containing the empty string indicates "end of table" and will be - // the last response given, if present. - // Note that row keys in this list may not have ever been written to or read - // from, and users should therefore not make any assumptions about the row key - // structure that are specific to their use case. - RowKey []byte `protobuf:"bytes,1,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"` - // Approximate total storage space used by all rows in the table which precede - // "row_key". Buffering the contents of all rows between two subsequent - // samples would require space roughly equal to the difference in their - // "offset_bytes" fields. - OffsetBytes int64 `protobuf:"varint,2,opt,name=offset_bytes,json=offsetBytes,proto3" json:"offset_bytes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f3f31120fcc6bad7, []int{3} -} - -func (m *SampleRowKeysResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SampleRowKeysResponse.Unmarshal(m, b) -} -func (m *SampleRowKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SampleRowKeysResponse.Marshal(b, m, deterministic) -} -func (m *SampleRowKeysResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SampleRowKeysResponse.Merge(m, src) -} -func (m *SampleRowKeysResponse) XXX_Size() int { - return xxx_messageInfo_SampleRowKeysResponse.Size(m) -} -func (m *SampleRowKeysResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SampleRowKeysResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SampleRowKeysResponse proto.InternalMessageInfo - -func (m *SampleRowKeysResponse) GetRowKey() []byte { - if m != nil { - return m.RowKey - } - return nil -} - -func (m *SampleRowKeysResponse) GetOffsetBytes() int64 { - if m != nil { - return m.OffsetBytes - } - return 0 -} - -// Request message for BigtableService.MutateRow. -type MutateRowRequest struct { - // The unique name of the table to which the mutation should be applied. - TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` - // The key of the row to which the mutation should be applied. - RowKey []byte `protobuf:"bytes,2,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"` - // Changes to be atomically applied to the specified row. Entries are applied - // in order, meaning that earlier mutations can be masked by later ones. - // Must contain at least one entry and at most 100000. - Mutations []*Mutation `protobuf:"bytes,3,rep,name=mutations,proto3" json:"mutations,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f3f31120fcc6bad7, []int{4} -} - -func (m *MutateRowRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateRowRequest.Unmarshal(m, b) -} -func (m *MutateRowRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateRowRequest.Marshal(b, m, deterministic) -} -func (m *MutateRowRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateRowRequest.Merge(m, src) -} -func (m *MutateRowRequest) XXX_Size() int { - return xxx_messageInfo_MutateRowRequest.Size(m) -} -func (m *MutateRowRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateRowRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateRowRequest proto.InternalMessageInfo - -func (m *MutateRowRequest) GetTableName() string { - if m != nil { - return m.TableName - } - return "" -} - -func (m *MutateRowRequest) GetRowKey() []byte { - if m != nil { - return m.RowKey - } - return nil -} - -func (m *MutateRowRequest) GetMutations() []*Mutation { - if m != nil { - return m.Mutations - } - return nil -} - -// Request message for BigtableService.MutateRows. -type MutateRowsRequest struct { - // The unique name of the table to which the mutations should be applied. - TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` - // The row keys/mutations to be applied in bulk. - // Each entry is applied as an atomic mutation, but the entries may be - // applied in arbitrary order (even between entries for the same row). - // At least one entry must be specified, and in total the entries may - // contain at most 100000 mutations. - Entries []*MutateRowsRequest_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 *MutateRowsRequest) Reset() { *m = MutateRowsRequest{} } -func (m *MutateRowsRequest) String() string { return proto.CompactTextString(m) } -func (*MutateRowsRequest) ProtoMessage() {} -func (*MutateRowsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f3f31120fcc6bad7, []int{5} -} - -func (m *MutateRowsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateRowsRequest.Unmarshal(m, b) -} -func (m *MutateRowsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateRowsRequest.Marshal(b, m, deterministic) -} -func (m *MutateRowsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateRowsRequest.Merge(m, src) -} -func (m *MutateRowsRequest) XXX_Size() int { - return xxx_messageInfo_MutateRowsRequest.Size(m) -} -func (m *MutateRowsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateRowsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateRowsRequest proto.InternalMessageInfo - -func (m *MutateRowsRequest) GetTableName() string { - if m != nil { - return m.TableName - } - return "" -} - -func (m *MutateRowsRequest) GetEntries() []*MutateRowsRequest_Entry { - if m != nil { - return m.Entries - } - return nil -} - -type MutateRowsRequest_Entry struct { - // The key of the row to which the `mutations` should be applied. - RowKey []byte `protobuf:"bytes,1,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"` - // Changes to be atomically applied to the specified row. Mutations are - // applied in order, meaning that earlier mutations can be masked by - // later ones. - // At least one mutation must be specified. - Mutations []*Mutation `protobuf:"bytes,2,rep,name=mutations,proto3" json:"mutations,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f3f31120fcc6bad7, []int{5, 0} -} - -func (m *MutateRowsRequest_Entry) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateRowsRequest_Entry.Unmarshal(m, b) -} -func (m *MutateRowsRequest_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateRowsRequest_Entry.Marshal(b, m, deterministic) -} -func (m *MutateRowsRequest_Entry) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateRowsRequest_Entry.Merge(m, src) -} -func (m *MutateRowsRequest_Entry) XXX_Size() int { - return xxx_messageInfo_MutateRowsRequest_Entry.Size(m) -} -func (m *MutateRowsRequest_Entry) XXX_DiscardUnknown() { - xxx_messageInfo_MutateRowsRequest_Entry.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateRowsRequest_Entry proto.InternalMessageInfo - -func (m *MutateRowsRequest_Entry) GetRowKey() []byte { - if m != nil { - return m.RowKey - } - return nil -} - -func (m *MutateRowsRequest_Entry) GetMutations() []*Mutation { - if m != nil { - return m.Mutations - } - return nil -} - -// Response message for BigtableService.MutateRows. -type MutateRowsResponse struct { - // The results for each Entry from the request, presented in the order - // in which the entries were originally given. - // Depending on how requests are batched during execution, it is possible - // for one Entry to fail due to an error with another Entry. In the event - // that this occurs, the same error will be reported for both entries. - Statuses []*status.Status `protobuf:"bytes,1,rep,name=statuses,proto3" json:"statuses,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f3f31120fcc6bad7, []int{6} -} - -func (m *MutateRowsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateRowsResponse.Unmarshal(m, b) -} -func (m *MutateRowsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateRowsResponse.Marshal(b, m, deterministic) -} -func (m *MutateRowsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateRowsResponse.Merge(m, src) -} -func (m *MutateRowsResponse) XXX_Size() int { - return xxx_messageInfo_MutateRowsResponse.Size(m) -} -func (m *MutateRowsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateRowsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateRowsResponse proto.InternalMessageInfo - -func (m *MutateRowsResponse) GetStatuses() []*status.Status { - if m != nil { - return m.Statuses - } - return nil -} - -// Request message for BigtableService.CheckAndMutateRowRequest -type CheckAndMutateRowRequest struct { - // The unique name of the table to which the conditional mutation should be - // applied. - TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` - // The key of the row to which the conditional mutation should be applied. - RowKey []byte `protobuf:"bytes,2,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"` - // The filter to be applied to the contents of the specified row. Depending - // on whether or not any results are yielded, either "true_mutations" or - // "false_mutations" will be executed. If unset, checks that the row contains - // any values at all. - PredicateFilter *RowFilter `protobuf:"bytes,6,opt,name=predicate_filter,json=predicateFilter,proto3" json:"predicate_filter,omitempty"` - // Changes to be atomically applied to the specified row if "predicate_filter" - // yields at least one cell when applied to "row_key". Entries are applied in - // order, meaning that earlier mutations can be masked by later ones. - // Must contain at least one entry if "false_mutations" is empty, and at most - // 100000. - TrueMutations []*Mutation `protobuf:"bytes,4,rep,name=true_mutations,json=trueMutations,proto3" json:"true_mutations,omitempty"` - // Changes to be atomically applied to the specified row if "predicate_filter" - // does not yield any cells when applied to "row_key". Entries are applied in - // order, meaning that earlier mutations can be masked by later ones. - // Must contain at least one entry if "true_mutations" is empty, and at most - // 100000. - FalseMutations []*Mutation `protobuf:"bytes,5,rep,name=false_mutations,json=falseMutations,proto3" json:"false_mutations,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CheckAndMutateRowRequest) Reset() { *m = CheckAndMutateRowRequest{} } -func (m *CheckAndMutateRowRequest) String() string { return proto.CompactTextString(m) } -func (*CheckAndMutateRowRequest) ProtoMessage() {} -func (*CheckAndMutateRowRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f3f31120fcc6bad7, []int{7} -} - -func (m *CheckAndMutateRowRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CheckAndMutateRowRequest.Unmarshal(m, b) -} -func (m *CheckAndMutateRowRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CheckAndMutateRowRequest.Marshal(b, m, deterministic) -} -func (m *CheckAndMutateRowRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CheckAndMutateRowRequest.Merge(m, src) -} -func (m *CheckAndMutateRowRequest) XXX_Size() int { - return xxx_messageInfo_CheckAndMutateRowRequest.Size(m) -} -func (m *CheckAndMutateRowRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CheckAndMutateRowRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CheckAndMutateRowRequest proto.InternalMessageInfo - -func (m *CheckAndMutateRowRequest) GetTableName() string { - if m != nil { - return m.TableName - } - return "" -} - -func (m *CheckAndMutateRowRequest) GetRowKey() []byte { - if m != nil { - return m.RowKey - } - return nil -} - -func (m *CheckAndMutateRowRequest) GetPredicateFilter() *RowFilter { - if m != nil { - return m.PredicateFilter - } - return nil -} - -func (m *CheckAndMutateRowRequest) GetTrueMutations() []*Mutation { - if m != nil { - return m.TrueMutations - } - return nil -} - -func (m *CheckAndMutateRowRequest) GetFalseMutations() []*Mutation { - if m != nil { - return m.FalseMutations - } - return nil -} - -// Response message for BigtableService.CheckAndMutateRowRequest. -type CheckAndMutateRowResponse struct { - // Whether or not the request's "predicate_filter" yielded any results for - // the specified row. - PredicateMatched bool `protobuf:"varint,1,opt,name=predicate_matched,json=predicateMatched,proto3" json:"predicate_matched,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CheckAndMutateRowResponse) Reset() { *m = CheckAndMutateRowResponse{} } -func (m *CheckAndMutateRowResponse) String() string { return proto.CompactTextString(m) } -func (*CheckAndMutateRowResponse) ProtoMessage() {} -func (*CheckAndMutateRowResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f3f31120fcc6bad7, []int{8} -} - -func (m *CheckAndMutateRowResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CheckAndMutateRowResponse.Unmarshal(m, b) -} -func (m *CheckAndMutateRowResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CheckAndMutateRowResponse.Marshal(b, m, deterministic) -} -func (m *CheckAndMutateRowResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CheckAndMutateRowResponse.Merge(m, src) -} -func (m *CheckAndMutateRowResponse) XXX_Size() int { - return xxx_messageInfo_CheckAndMutateRowResponse.Size(m) -} -func (m *CheckAndMutateRowResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CheckAndMutateRowResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_CheckAndMutateRowResponse proto.InternalMessageInfo - -func (m *CheckAndMutateRowResponse) GetPredicateMatched() bool { - if m != nil { - return m.PredicateMatched - } - return false -} - -// Request message for BigtableService.ReadModifyWriteRowRequest. -type ReadModifyWriteRowRequest struct { - // The unique name of the table to which the read/modify/write rules should be - // applied. - TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` - // The key of the row to which the read/modify/write rules should be applied. - RowKey []byte `protobuf:"bytes,2,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"` - // Rules specifying how the specified row's contents are to be transformed - // into writes. Entries are applied in order, meaning that earlier rules will - // affect the results of later ones. - Rules []*ReadModifyWriteRule `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ReadModifyWriteRowRequest) Reset() { *m = ReadModifyWriteRowRequest{} } -func (m *ReadModifyWriteRowRequest) String() string { return proto.CompactTextString(m) } -func (*ReadModifyWriteRowRequest) ProtoMessage() {} -func (*ReadModifyWriteRowRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f3f31120fcc6bad7, []int{9} -} - -func (m *ReadModifyWriteRowRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReadModifyWriteRowRequest.Unmarshal(m, b) -} -func (m *ReadModifyWriteRowRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReadModifyWriteRowRequest.Marshal(b, m, deterministic) -} -func (m *ReadModifyWriteRowRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReadModifyWriteRowRequest.Merge(m, src) -} -func (m *ReadModifyWriteRowRequest) XXX_Size() int { - return xxx_messageInfo_ReadModifyWriteRowRequest.Size(m) -} -func (m *ReadModifyWriteRowRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ReadModifyWriteRowRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ReadModifyWriteRowRequest proto.InternalMessageInfo - -func (m *ReadModifyWriteRowRequest) GetTableName() string { - if m != nil { - return m.TableName - } - return "" -} - -func (m *ReadModifyWriteRowRequest) GetRowKey() []byte { - if m != nil { - return m.RowKey - } - return nil -} - -func (m *ReadModifyWriteRowRequest) GetRules() []*ReadModifyWriteRule { - if m != nil { - return m.Rules - } - return nil -} - -func init() { - proto.RegisterType((*ReadRowsRequest)(nil), "google.bigtable.v1.ReadRowsRequest") - proto.RegisterType((*ReadRowsResponse)(nil), "google.bigtable.v1.ReadRowsResponse") - proto.RegisterType((*ReadRowsResponse_Chunk)(nil), "google.bigtable.v1.ReadRowsResponse.Chunk") - proto.RegisterType((*SampleRowKeysRequest)(nil), "google.bigtable.v1.SampleRowKeysRequest") - proto.RegisterType((*SampleRowKeysResponse)(nil), "google.bigtable.v1.SampleRowKeysResponse") - proto.RegisterType((*MutateRowRequest)(nil), "google.bigtable.v1.MutateRowRequest") - proto.RegisterType((*MutateRowsRequest)(nil), "google.bigtable.v1.MutateRowsRequest") - proto.RegisterType((*MutateRowsRequest_Entry)(nil), "google.bigtable.v1.MutateRowsRequest.Entry") - proto.RegisterType((*MutateRowsResponse)(nil), "google.bigtable.v1.MutateRowsResponse") - proto.RegisterType((*CheckAndMutateRowRequest)(nil), "google.bigtable.v1.CheckAndMutateRowRequest") - proto.RegisterType((*CheckAndMutateRowResponse)(nil), "google.bigtable.v1.CheckAndMutateRowResponse") - proto.RegisterType((*ReadModifyWriteRowRequest)(nil), "google.bigtable.v1.ReadModifyWriteRowRequest") -} - -func init() { - proto.RegisterFile("google/bigtable/v1/bigtable_service_messages.proto", fileDescriptor_f3f31120fcc6bad7) -} - -var fileDescriptor_f3f31120fcc6bad7 = []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, - 0x0d, 0x1e, 0x4c, 0xb8, 0xd5, 0x7d, 0xb9, 0x43, 0xc4, 0xc4, 0x3d, 0x22, 0x1a, 0x39, 0x3a, 0x0f, - 0x82, 0x08, 0xa1, 0x33, 0xa9, 0xcc, 0x0e, 0x3b, 0xd3, 0x1d, 0xbb, 0x7b, 0x32, 0xe4, 0x59, 0xf0, - 0x5d, 0x3f, 0x85, 0xdf, 0xc8, 0x17, 0x3f, 0x8c, 0x74, 0xcf, 0xe4, 0x8f, 0x6b, 0xa2, 0x11, 0xf6, - 0xad, 0xa7, 0xaa, 0x7e, 0xbf, 0xaa, 0xfa, 0x75, 0x4d, 0x17, 0x5c, 0x87, 0x42, 0x84, 0x31, 0xf6, - 0xa6, 0x51, 0xa8, 0xd9, 0x34, 0xc6, 0xde, 0xf2, 0xe5, 0xe6, 0x3c, 0x51, 0x28, 0x97, 0x51, 0x80, - 0x93, 0x04, 0x95, 0x62, 0x21, 0x2a, 0x7f, 0x21, 0x85, 0x16, 0x84, 0xe4, 0x18, 0x7f, 0x1d, 0xe7, - 0x2f, 0x5f, 0xb6, 0x3f, 0xfa, 0x37, 0x9e, 0x19, 0xd3, 0x2c, 0xc7, 0xb6, 0x2f, 0x8a, 0x38, 0xb9, - 0x08, 0x7a, 0x4a, 0x33, 0x9d, 0x16, 0xa4, 0xde, 0x9f, 0x25, 0x38, 0xa3, 0xc8, 0x66, 0x54, 0x64, - 0x8a, 0xe2, 0x4f, 0x29, 0x2a, 0x4d, 0xae, 0x00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a1, 0x67, 0x6d, 0x37, 0x6b, 0x1a, 0x23, 0xcd, 0x51, 0x7d, - 0x0d, 0xcf, 0x02, 0x91, 0xec, 0x01, 0xf5, 0x9f, 0xf7, 0x8b, 0x8f, 0x71, 0xbe, 0x32, 0x47, 0xc5, - 0xc6, 0x7c, 0x6b, 0x76, 0xdb, 0x5b, 0xe7, 0x87, 0x57, 0x05, 0x26, 0x14, 0x31, 0xe3, 0xa1, 0x2f, - 0x64, 0xd8, 0x0b, 0x91, 0xdb, 0xcd, 0xd7, 0xcb, 0x5d, 0x6c, 0x11, 0xa9, 0xdd, 0xed, 0xf9, 0x7a, - 0x7d, 0x9e, 0x56, 0x6d, 0xd8, 0xa7, 0x7f, 0x05, 0x00, 0x00, 0xff, 0xff, 0x16, 0x55, 0x90, 0x95, - 0xab, 0x07, 0x00, 0x00, -} 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 deleted file mode 100644 index c770e820..00000000 --- a/vendor/google.golang.org/genproto/googleapis/bigtable/v2/bigtable.pb.go +++ /dev/null @@ -1,1506 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/bigtable/v2/bigtable.proto - -package bigtable - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for Bigtable.ReadRows. -type ReadRowsRequest struct { - // The unique name of the table from which to read. - // Values are of the form - // `projects//instances//tables/
`. - TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` - // This value specifies routing for replication. If not specified, the - // "default" application profile will be used. - AppProfileId string `protobuf:"bytes,5,opt,name=app_profile_id,json=appProfileId,proto3" json:"app_profile_id,omitempty"` - // The row keys and/or ranges to read. If not specified, reads from all rows. - Rows *RowSet `protobuf:"bytes,2,opt,name=rows,proto3" json:"rows,omitempty"` - // The filter to apply to the contents of the specified row(s). If unset, - // reads the entirety of each row. - Filter *RowFilter `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` - // The read will terminate after committing to N rows' worth of results. The - // default (zero) is to return all results. - RowsLimit int64 `protobuf:"varint,4,opt,name=rows_limit,json=rowsLimit,proto3" json:"rows_limit,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_7e9247725ec9a6cf, []int{0} -} - -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 (m *ReadRowsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReadRowsRequest.Merge(m, 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) GetTableName() string { - if m != nil { - return m.TableName - } - return "" -} - -func (m *ReadRowsRequest) GetAppProfileId() string { - if m != nil { - return m.AppProfileId - } - return "" -} - -func (m *ReadRowsRequest) GetRows() *RowSet { - if m != nil { - return m.Rows - } - return nil -} - -func (m *ReadRowsRequest) GetFilter() *RowFilter { - if m != nil { - return m.Filter - } - return nil -} - -func (m *ReadRowsRequest) GetRowsLimit() int64 { - if m != nil { - return m.RowsLimit - } - return 0 -} - -// Response message for Bigtable.ReadRows. -type ReadRowsResponse struct { - Chunks []*ReadRowsResponse_CellChunk `protobuf:"bytes,1,rep,name=chunks,proto3" json:"chunks,omitempty"` - // Optionally the server might return the row key of the last row it - // has scanned. The client can use this to construct a more - // efficient retry request if needed: any row keys or portions of - // ranges less than this row key can be dropped from the request. - // This is primarily useful for cases where the server has read a - // lot of data that was filtered out since the last committed row - // key, allowing the client to skip that work on a retry. - LastScannedRowKey []byte `protobuf:"bytes,2,opt,name=last_scanned_row_key,json=lastScannedRowKey,proto3" json:"last_scanned_row_key,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_7e9247725ec9a6cf, []int{1} -} - -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 (m *ReadRowsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReadRowsResponse.Merge(m, 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 - -func (m *ReadRowsResponse) GetChunks() []*ReadRowsResponse_CellChunk { - if m != nil { - return m.Chunks - } - return nil -} - -func (m *ReadRowsResponse) GetLastScannedRowKey() []byte { - if m != nil { - return m.LastScannedRowKey - } - return nil -} - -// Specifies a piece of a row's contents returned as part of the read -// response stream. -type ReadRowsResponse_CellChunk struct { - // The row key for this chunk of data. If the row key is empty, - // this CellChunk is a continuation of the same row as the previous - // CellChunk in the response stream, even if that CellChunk was in a - // previous ReadRowsResponse message. - RowKey []byte `protobuf:"bytes,1,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"` - // The column family name for this chunk of data. If this message - // is not present this CellChunk is a continuation of the same column - // family as the previous CellChunk. The empty string can occur as a - // column family name in a response so clients must check - // explicitly for the presence of this message, not just for - // `family_name.value` being non-empty. - FamilyName *wrappers.StringValue `protobuf:"bytes,2,opt,name=family_name,json=familyName,proto3" json:"family_name,omitempty"` - // The column qualifier for this chunk of data. If this message - // is not present, this CellChunk is a continuation of the same column - // as the previous CellChunk. Column qualifiers may be empty so - // clients must check for the presence of this message, not just - // for `qualifier.value` being non-empty. - Qualifier *wrappers.BytesValue `protobuf:"bytes,3,opt,name=qualifier,proto3" json:"qualifier,omitempty"` - // The cell's stored timestamp, which also uniquely identifies it - // within its column. Values are always expressed in - // microseconds, but individual tables may set a coarser - // granularity to further restrict the allowed values. For - // example, a table which specifies millisecond granularity will - // only allow values of `timestamp_micros` which are multiples of - // 1000. Timestamps are only set in the first CellChunk per cell - // (for cells split into multiple chunks). - TimestampMicros int64 `protobuf:"varint,4,opt,name=timestamp_micros,json=timestampMicros,proto3" json:"timestamp_micros,omitempty"` - // Labels applied to the cell by a - // [RowFilter][google.bigtable.v2.RowFilter]. Labels are only set - // on the first CellChunk per cell. - Labels []string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty"` - // The value stored in the cell. Cell values can be split across - // multiple CellChunks. In that case only the value field will be - // set in CellChunks after the first: the timestamp and labels - // will only be present in the first CellChunk, even if the first - // CellChunk came in a previous ReadRowsResponse. - Value []byte `protobuf:"bytes,6,opt,name=value,proto3" json:"value,omitempty"` - // If this CellChunk is part of a chunked cell value and this is - // not the final chunk of that cell, value_size will be set to the - // total length of the cell value. The client can use this size - // to pre-allocate memory to hold the full cell value. - ValueSize int32 `protobuf:"varint,7,opt,name=value_size,json=valueSize,proto3" json:"value_size,omitempty"` - // Types that are valid to be assigned to RowStatus: - // *ReadRowsResponse_CellChunk_ResetRow - // *ReadRowsResponse_CellChunk_CommitRow - RowStatus isReadRowsResponse_CellChunk_RowStatus `protobuf_oneof:"row_status"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ReadRowsResponse_CellChunk) Reset() { *m = ReadRowsResponse_CellChunk{} } -func (m *ReadRowsResponse_CellChunk) String() string { return proto.CompactTextString(m) } -func (*ReadRowsResponse_CellChunk) ProtoMessage() {} -func (*ReadRowsResponse_CellChunk) Descriptor() ([]byte, []int) { - return fileDescriptor_7e9247725ec9a6cf, []int{1, 0} -} - -func (m *ReadRowsResponse_CellChunk) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReadRowsResponse_CellChunk.Unmarshal(m, b) -} -func (m *ReadRowsResponse_CellChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReadRowsResponse_CellChunk.Marshal(b, m, deterministic) -} -func (m *ReadRowsResponse_CellChunk) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReadRowsResponse_CellChunk.Merge(m, src) -} -func (m *ReadRowsResponse_CellChunk) XXX_Size() int { - return xxx_messageInfo_ReadRowsResponse_CellChunk.Size(m) -} -func (m *ReadRowsResponse_CellChunk) XXX_DiscardUnknown() { - xxx_messageInfo_ReadRowsResponse_CellChunk.DiscardUnknown(m) -} - -var xxx_messageInfo_ReadRowsResponse_CellChunk proto.InternalMessageInfo - -func (m *ReadRowsResponse_CellChunk) GetRowKey() []byte { - if m != nil { - return m.RowKey - } - return nil -} - -func (m *ReadRowsResponse_CellChunk) GetFamilyName() *wrappers.StringValue { - if m != nil { - return m.FamilyName - } - return nil -} - -func (m *ReadRowsResponse_CellChunk) GetQualifier() *wrappers.BytesValue { - if m != nil { - return m.Qualifier - } - return nil -} - -func (m *ReadRowsResponse_CellChunk) GetTimestampMicros() int64 { - if m != nil { - return m.TimestampMicros - } - return 0 -} - -func (m *ReadRowsResponse_CellChunk) GetLabels() []string { - if m != nil { - return m.Labels - } - return nil -} - -func (m *ReadRowsResponse_CellChunk) GetValue() []byte { - if m != nil { - return m.Value - } - return nil -} - -func (m *ReadRowsResponse_CellChunk) GetValueSize() int32 { - if m != nil { - return m.ValueSize - } - 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 - } - return false -} - -func (m *ReadRowsResponse_CellChunk) GetCommitRow() bool { - if x, ok := m.GetRowStatus().(*ReadRowsResponse_CellChunk_CommitRow); ok { - return x.CommitRow - } - return false -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ReadRowsResponse_CellChunk) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ReadRowsResponse_CellChunk_ResetRow)(nil), - (*ReadRowsResponse_CellChunk_CommitRow)(nil), - } -} - -// Request message for Bigtable.SampleRowKeys. -type SampleRowKeysRequest struct { - // The unique name of the table from which to sample row keys. - // Values are of the form - // `projects//instances//tables/
`. - TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` - // This value specifies routing for replication. If not specified, the - // "default" application profile will be used. - AppProfileId string `protobuf:"bytes,2,opt,name=app_profile_id,json=appProfileId,proto3" json:"app_profile_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7e9247725ec9a6cf, []int{2} -} - -func (m *SampleRowKeysRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SampleRowKeysRequest.Unmarshal(m, b) -} -func (m *SampleRowKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SampleRowKeysRequest.Marshal(b, m, deterministic) -} -func (m *SampleRowKeysRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SampleRowKeysRequest.Merge(m, src) -} -func (m *SampleRowKeysRequest) XXX_Size() int { - return xxx_messageInfo_SampleRowKeysRequest.Size(m) -} -func (m *SampleRowKeysRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SampleRowKeysRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SampleRowKeysRequest proto.InternalMessageInfo - -func (m *SampleRowKeysRequest) GetTableName() string { - if m != nil { - return m.TableName - } - return "" -} - -func (m *SampleRowKeysRequest) GetAppProfileId() string { - if m != nil { - return m.AppProfileId - } - return "" -} - -// Response message for Bigtable.SampleRowKeys. -type SampleRowKeysResponse struct { - // Sorted streamed sequence of sample row keys in the table. The table might - // have contents before the first row key in the list and after the last one, - // but a key containing the empty string indicates "end of table" and will be - // the last response given, if present. - // Note that row keys in this list may not have ever been written to or read - // from, and users should therefore not make any assumptions about the row key - // structure that are specific to their use case. - RowKey []byte `protobuf:"bytes,1,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"` - // Approximate total storage space used by all rows in the table which precede - // `row_key`. Buffering the contents of all rows between two subsequent - // samples would require space roughly equal to the difference in their - // `offset_bytes` fields. - OffsetBytes int64 `protobuf:"varint,2,opt,name=offset_bytes,json=offsetBytes,proto3" json:"offset_bytes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7e9247725ec9a6cf, []int{3} -} - -func (m *SampleRowKeysResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SampleRowKeysResponse.Unmarshal(m, b) -} -func (m *SampleRowKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SampleRowKeysResponse.Marshal(b, m, deterministic) -} -func (m *SampleRowKeysResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SampleRowKeysResponse.Merge(m, src) -} -func (m *SampleRowKeysResponse) XXX_Size() int { - return xxx_messageInfo_SampleRowKeysResponse.Size(m) -} -func (m *SampleRowKeysResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SampleRowKeysResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SampleRowKeysResponse proto.InternalMessageInfo - -func (m *SampleRowKeysResponse) GetRowKey() []byte { - if m != nil { - return m.RowKey - } - return nil -} - -func (m *SampleRowKeysResponse) GetOffsetBytes() int64 { - if m != nil { - return m.OffsetBytes - } - return 0 -} - -// Request message for Bigtable.MutateRow. -type MutateRowRequest struct { - // The unique name of the table to which the mutation should be applied. - // Values are of the form - // `projects//instances//tables/
`. - TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` - // This value specifies routing for replication. If not specified, the - // "default" application profile will be used. - AppProfileId string `protobuf:"bytes,4,opt,name=app_profile_id,json=appProfileId,proto3" json:"app_profile_id,omitempty"` - // The key of the row to which the mutation should be applied. - RowKey []byte `protobuf:"bytes,2,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"` - // Changes to be atomically applied to the specified row. Entries are applied - // in order, meaning that earlier mutations can be masked by later ones. - // Must contain at least one entry and at most 100000. - Mutations []*Mutation `protobuf:"bytes,3,rep,name=mutations,proto3" json:"mutations,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7e9247725ec9a6cf, []int{4} -} - -func (m *MutateRowRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateRowRequest.Unmarshal(m, b) -} -func (m *MutateRowRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateRowRequest.Marshal(b, m, deterministic) -} -func (m *MutateRowRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateRowRequest.Merge(m, src) -} -func (m *MutateRowRequest) XXX_Size() int { - return xxx_messageInfo_MutateRowRequest.Size(m) -} -func (m *MutateRowRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateRowRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateRowRequest proto.InternalMessageInfo - -func (m *MutateRowRequest) GetTableName() string { - if m != nil { - return m.TableName - } - return "" -} - -func (m *MutateRowRequest) GetAppProfileId() string { - if m != nil { - return m.AppProfileId - } - return "" -} - -func (m *MutateRowRequest) GetRowKey() []byte { - if m != nil { - return m.RowKey - } - return nil -} - -func (m *MutateRowRequest) GetMutations() []*Mutation { - if m != nil { - return m.Mutations - } - return nil -} - -// Response message for Bigtable.MutateRow. -type MutateRowResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7e9247725ec9a6cf, []int{5} -} - -func (m *MutateRowResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateRowResponse.Unmarshal(m, b) -} -func (m *MutateRowResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateRowResponse.Marshal(b, m, deterministic) -} -func (m *MutateRowResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateRowResponse.Merge(m, src) -} -func (m *MutateRowResponse) XXX_Size() int { - return xxx_messageInfo_MutateRowResponse.Size(m) -} -func (m *MutateRowResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateRowResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateRowResponse proto.InternalMessageInfo - -// Request message for BigtableService.MutateRows. -type MutateRowsRequest struct { - // The unique name of the table to which the mutations should be applied. - TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` - // This value specifies routing for replication. If not specified, the - // "default" application profile will be used. - AppProfileId string `protobuf:"bytes,3,opt,name=app_profile_id,json=appProfileId,proto3" json:"app_profile_id,omitempty"` - // The row keys and corresponding mutations to be applied in bulk. - // Each entry is applied as an atomic mutation, but the entries may be - // applied in arbitrary order (even between entries for the same row). - // At least one entry must be specified, and in total the entries can - // contain at most 100000 mutations. - Entries []*MutateRowsRequest_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 *MutateRowsRequest) Reset() { *m = MutateRowsRequest{} } -func (m *MutateRowsRequest) String() string { return proto.CompactTextString(m) } -func (*MutateRowsRequest) ProtoMessage() {} -func (*MutateRowsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7e9247725ec9a6cf, []int{6} -} - -func (m *MutateRowsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateRowsRequest.Unmarshal(m, b) -} -func (m *MutateRowsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateRowsRequest.Marshal(b, m, deterministic) -} -func (m *MutateRowsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateRowsRequest.Merge(m, src) -} -func (m *MutateRowsRequest) XXX_Size() int { - return xxx_messageInfo_MutateRowsRequest.Size(m) -} -func (m *MutateRowsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MutateRowsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateRowsRequest proto.InternalMessageInfo - -func (m *MutateRowsRequest) GetTableName() string { - if m != nil { - return m.TableName - } - return "" -} - -func (m *MutateRowsRequest) GetAppProfileId() string { - if m != nil { - return m.AppProfileId - } - return "" -} - -func (m *MutateRowsRequest) GetEntries() []*MutateRowsRequest_Entry { - if m != nil { - return m.Entries - } - return nil -} - -type MutateRowsRequest_Entry struct { - // The key of the row to which the `mutations` should be applied. - RowKey []byte `protobuf:"bytes,1,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"` - // Changes to be atomically applied to the specified row. Mutations are - // applied in order, meaning that earlier mutations can be masked by - // later ones. - // You must specify at least one mutation. - Mutations []*Mutation `protobuf:"bytes,2,rep,name=mutations,proto3" json:"mutations,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7e9247725ec9a6cf, []int{6, 0} -} - -func (m *MutateRowsRequest_Entry) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateRowsRequest_Entry.Unmarshal(m, b) -} -func (m *MutateRowsRequest_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateRowsRequest_Entry.Marshal(b, m, deterministic) -} -func (m *MutateRowsRequest_Entry) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateRowsRequest_Entry.Merge(m, src) -} -func (m *MutateRowsRequest_Entry) XXX_Size() int { - return xxx_messageInfo_MutateRowsRequest_Entry.Size(m) -} -func (m *MutateRowsRequest_Entry) XXX_DiscardUnknown() { - xxx_messageInfo_MutateRowsRequest_Entry.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateRowsRequest_Entry proto.InternalMessageInfo - -func (m *MutateRowsRequest_Entry) GetRowKey() []byte { - if m != nil { - return m.RowKey - } - return nil -} - -func (m *MutateRowsRequest_Entry) GetMutations() []*Mutation { - if m != nil { - return m.Mutations - } - return nil -} - -// Response message for BigtableService.MutateRows. -type MutateRowsResponse struct { - // One or more results for Entries from the batch request. - Entries []*MutateRowsResponse_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 *MutateRowsResponse) Reset() { *m = MutateRowsResponse{} } -func (m *MutateRowsResponse) String() string { return proto.CompactTextString(m) } -func (*MutateRowsResponse) ProtoMessage() {} -func (*MutateRowsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7e9247725ec9a6cf, []int{7} -} - -func (m *MutateRowsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateRowsResponse.Unmarshal(m, b) -} -func (m *MutateRowsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateRowsResponse.Marshal(b, m, deterministic) -} -func (m *MutateRowsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateRowsResponse.Merge(m, src) -} -func (m *MutateRowsResponse) XXX_Size() int { - return xxx_messageInfo_MutateRowsResponse.Size(m) -} -func (m *MutateRowsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MutateRowsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateRowsResponse proto.InternalMessageInfo - -func (m *MutateRowsResponse) GetEntries() []*MutateRowsResponse_Entry { - if m != nil { - return m.Entries - } - return nil -} - -type MutateRowsResponse_Entry struct { - // The index into the original request's `entries` list of the Entry - // for which a result is being reported. - Index int64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` - // The result of the request Entry identified by `index`. - // Depending on how requests are batched during execution, it is possible - // for one Entry to fail due to an error with another Entry. In the event - // that this occurs, the same error will be reported for both entries. - Status *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MutateRowsResponse_Entry) Reset() { *m = MutateRowsResponse_Entry{} } -func (m *MutateRowsResponse_Entry) String() string { return proto.CompactTextString(m) } -func (*MutateRowsResponse_Entry) ProtoMessage() {} -func (*MutateRowsResponse_Entry) Descriptor() ([]byte, []int) { - return fileDescriptor_7e9247725ec9a6cf, []int{7, 0} -} - -func (m *MutateRowsResponse_Entry) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutateRowsResponse_Entry.Unmarshal(m, b) -} -func (m *MutateRowsResponse_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutateRowsResponse_Entry.Marshal(b, m, deterministic) -} -func (m *MutateRowsResponse_Entry) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutateRowsResponse_Entry.Merge(m, src) -} -func (m *MutateRowsResponse_Entry) XXX_Size() int { - return xxx_messageInfo_MutateRowsResponse_Entry.Size(m) -} -func (m *MutateRowsResponse_Entry) XXX_DiscardUnknown() { - xxx_messageInfo_MutateRowsResponse_Entry.DiscardUnknown(m) -} - -var xxx_messageInfo_MutateRowsResponse_Entry proto.InternalMessageInfo - -func (m *MutateRowsResponse_Entry) GetIndex() int64 { - if m != nil { - return m.Index - } - return 0 -} - -func (m *MutateRowsResponse_Entry) GetStatus() *status.Status { - if m != nil { - return m.Status - } - return nil -} - -// Request message for Bigtable.CheckAndMutateRow. -type CheckAndMutateRowRequest struct { - // The unique name of the table to which the conditional mutation should be - // applied. - // Values are of the form - // `projects//instances//tables/
`. - TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` - // This value specifies routing for replication. If not specified, the - // "default" application profile will be used. - AppProfileId string `protobuf:"bytes,7,opt,name=app_profile_id,json=appProfileId,proto3" json:"app_profile_id,omitempty"` - // The key of the row to which the conditional mutation should be applied. - RowKey []byte `protobuf:"bytes,2,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"` - // The filter to be applied to the contents of the specified row. Depending - // on whether or not any results are yielded, either `true_mutations` or - // `false_mutations` will be executed. If unset, checks that the row contains - // any values at all. - PredicateFilter *RowFilter `protobuf:"bytes,6,opt,name=predicate_filter,json=predicateFilter,proto3" json:"predicate_filter,omitempty"` - // Changes to be atomically applied to the specified row if `predicate_filter` - // yields at least one cell when applied to `row_key`. Entries are applied in - // order, meaning that earlier mutations can be masked by later ones. - // Must contain at least one entry if `false_mutations` is empty, and at most - // 100000. - TrueMutations []*Mutation `protobuf:"bytes,4,rep,name=true_mutations,json=trueMutations,proto3" json:"true_mutations,omitempty"` - // Changes to be atomically applied to the specified row if `predicate_filter` - // does not yield any cells when applied to `row_key`. Entries are applied in - // order, meaning that earlier mutations can be masked by later ones. - // Must contain at least one entry if `true_mutations` is empty, and at most - // 100000. - FalseMutations []*Mutation `protobuf:"bytes,5,rep,name=false_mutations,json=falseMutations,proto3" json:"false_mutations,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CheckAndMutateRowRequest) Reset() { *m = CheckAndMutateRowRequest{} } -func (m *CheckAndMutateRowRequest) String() string { return proto.CompactTextString(m) } -func (*CheckAndMutateRowRequest) ProtoMessage() {} -func (*CheckAndMutateRowRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7e9247725ec9a6cf, []int{8} -} - -func (m *CheckAndMutateRowRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CheckAndMutateRowRequest.Unmarshal(m, b) -} -func (m *CheckAndMutateRowRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CheckAndMutateRowRequest.Marshal(b, m, deterministic) -} -func (m *CheckAndMutateRowRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CheckAndMutateRowRequest.Merge(m, src) -} -func (m *CheckAndMutateRowRequest) XXX_Size() int { - return xxx_messageInfo_CheckAndMutateRowRequest.Size(m) -} -func (m *CheckAndMutateRowRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CheckAndMutateRowRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CheckAndMutateRowRequest proto.InternalMessageInfo - -func (m *CheckAndMutateRowRequest) GetTableName() string { - if m != nil { - return m.TableName - } - return "" -} - -func (m *CheckAndMutateRowRequest) GetAppProfileId() string { - if m != nil { - return m.AppProfileId - } - return "" -} - -func (m *CheckAndMutateRowRequest) GetRowKey() []byte { - if m != nil { - return m.RowKey - } - return nil -} - -func (m *CheckAndMutateRowRequest) GetPredicateFilter() *RowFilter { - if m != nil { - return m.PredicateFilter - } - return nil -} - -func (m *CheckAndMutateRowRequest) GetTrueMutations() []*Mutation { - if m != nil { - return m.TrueMutations - } - return nil -} - -func (m *CheckAndMutateRowRequest) GetFalseMutations() []*Mutation { - if m != nil { - return m.FalseMutations - } - return nil -} - -// Response message for Bigtable.CheckAndMutateRow. -type CheckAndMutateRowResponse struct { - // Whether or not the request's `predicate_filter` yielded any results for - // the specified row. - PredicateMatched bool `protobuf:"varint,1,opt,name=predicate_matched,json=predicateMatched,proto3" json:"predicate_matched,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CheckAndMutateRowResponse) Reset() { *m = CheckAndMutateRowResponse{} } -func (m *CheckAndMutateRowResponse) String() string { return proto.CompactTextString(m) } -func (*CheckAndMutateRowResponse) ProtoMessage() {} -func (*CheckAndMutateRowResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7e9247725ec9a6cf, []int{9} -} - -func (m *CheckAndMutateRowResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CheckAndMutateRowResponse.Unmarshal(m, b) -} -func (m *CheckAndMutateRowResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CheckAndMutateRowResponse.Marshal(b, m, deterministic) -} -func (m *CheckAndMutateRowResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CheckAndMutateRowResponse.Merge(m, src) -} -func (m *CheckAndMutateRowResponse) XXX_Size() int { - return xxx_messageInfo_CheckAndMutateRowResponse.Size(m) -} -func (m *CheckAndMutateRowResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CheckAndMutateRowResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_CheckAndMutateRowResponse proto.InternalMessageInfo - -func (m *CheckAndMutateRowResponse) GetPredicateMatched() bool { - if m != nil { - return m.PredicateMatched - } - return false -} - -// Request message for Bigtable.ReadModifyWriteRow. -type ReadModifyWriteRowRequest struct { - // The unique name of the table to which the read/modify/write rules should be - // applied. - // Values are of the form - // `projects//instances//tables/
`. - TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` - // This value specifies routing for replication. If not specified, the - // "default" application profile will be used. - AppProfileId string `protobuf:"bytes,4,opt,name=app_profile_id,json=appProfileId,proto3" json:"app_profile_id,omitempty"` - // The key of the row to which the read/modify/write rules should be applied. - RowKey []byte `protobuf:"bytes,2,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"` - // Rules specifying how the specified row's contents are to be transformed - // into writes. Entries are applied in order, meaning that earlier rules will - // affect the results of later ones. - Rules []*ReadModifyWriteRule `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ReadModifyWriteRowRequest) Reset() { *m = ReadModifyWriteRowRequest{} } -func (m *ReadModifyWriteRowRequest) String() string { return proto.CompactTextString(m) } -func (*ReadModifyWriteRowRequest) ProtoMessage() {} -func (*ReadModifyWriteRowRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7e9247725ec9a6cf, []int{10} -} - -func (m *ReadModifyWriteRowRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReadModifyWriteRowRequest.Unmarshal(m, b) -} -func (m *ReadModifyWriteRowRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReadModifyWriteRowRequest.Marshal(b, m, deterministic) -} -func (m *ReadModifyWriteRowRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReadModifyWriteRowRequest.Merge(m, src) -} -func (m *ReadModifyWriteRowRequest) XXX_Size() int { - return xxx_messageInfo_ReadModifyWriteRowRequest.Size(m) -} -func (m *ReadModifyWriteRowRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ReadModifyWriteRowRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ReadModifyWriteRowRequest proto.InternalMessageInfo - -func (m *ReadModifyWriteRowRequest) GetTableName() string { - if m != nil { - return m.TableName - } - return "" -} - -func (m *ReadModifyWriteRowRequest) GetAppProfileId() string { - if m != nil { - return m.AppProfileId - } - return "" -} - -func (m *ReadModifyWriteRowRequest) GetRowKey() []byte { - if m != nil { - return m.RowKey - } - return nil -} - -func (m *ReadModifyWriteRowRequest) GetRules() []*ReadModifyWriteRule { - if m != nil { - return m.Rules - } - return nil -} - -// Response message for Bigtable.ReadModifyWriteRow. -type ReadModifyWriteRowResponse struct { - // A Row containing the new contents of all cells modified by the request. - Row *Row `protobuf:"bytes,1,opt,name=row,proto3" json:"row,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ReadModifyWriteRowResponse) Reset() { *m = ReadModifyWriteRowResponse{} } -func (m *ReadModifyWriteRowResponse) String() string { return proto.CompactTextString(m) } -func (*ReadModifyWriteRowResponse) ProtoMessage() {} -func (*ReadModifyWriteRowResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7e9247725ec9a6cf, []int{11} -} - -func (m *ReadModifyWriteRowResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReadModifyWriteRowResponse.Unmarshal(m, b) -} -func (m *ReadModifyWriteRowResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReadModifyWriteRowResponse.Marshal(b, m, deterministic) -} -func (m *ReadModifyWriteRowResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReadModifyWriteRowResponse.Merge(m, src) -} -func (m *ReadModifyWriteRowResponse) XXX_Size() int { - return xxx_messageInfo_ReadModifyWriteRowResponse.Size(m) -} -func (m *ReadModifyWriteRowResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ReadModifyWriteRowResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ReadModifyWriteRowResponse proto.InternalMessageInfo - -func (m *ReadModifyWriteRowResponse) GetRow() *Row { - if m != nil { - return m.Row - } - return nil -} - -func init() { - proto.RegisterType((*ReadRowsRequest)(nil), "google.bigtable.v2.ReadRowsRequest") - proto.RegisterType((*ReadRowsResponse)(nil), "google.bigtable.v2.ReadRowsResponse") - proto.RegisterType((*ReadRowsResponse_CellChunk)(nil), "google.bigtable.v2.ReadRowsResponse.CellChunk") - proto.RegisterType((*SampleRowKeysRequest)(nil), "google.bigtable.v2.SampleRowKeysRequest") - proto.RegisterType((*SampleRowKeysResponse)(nil), "google.bigtable.v2.SampleRowKeysResponse") - proto.RegisterType((*MutateRowRequest)(nil), "google.bigtable.v2.MutateRowRequest") - proto.RegisterType((*MutateRowResponse)(nil), "google.bigtable.v2.MutateRowResponse") - proto.RegisterType((*MutateRowsRequest)(nil), "google.bigtable.v2.MutateRowsRequest") - proto.RegisterType((*MutateRowsRequest_Entry)(nil), "google.bigtable.v2.MutateRowsRequest.Entry") - proto.RegisterType((*MutateRowsResponse)(nil), "google.bigtable.v2.MutateRowsResponse") - proto.RegisterType((*MutateRowsResponse_Entry)(nil), "google.bigtable.v2.MutateRowsResponse.Entry") - proto.RegisterType((*CheckAndMutateRowRequest)(nil), "google.bigtable.v2.CheckAndMutateRowRequest") - proto.RegisterType((*CheckAndMutateRowResponse)(nil), "google.bigtable.v2.CheckAndMutateRowResponse") - proto.RegisterType((*ReadModifyWriteRowRequest)(nil), "google.bigtable.v2.ReadModifyWriteRowRequest") - proto.RegisterType((*ReadModifyWriteRowResponse)(nil), "google.bigtable.v2.ReadModifyWriteRowResponse") -} - -func init() { proto.RegisterFile("google/bigtable/v2/bigtable.proto", fileDescriptor_7e9247725ec9a6cf) } - -var fileDescriptor_7e9247725ec9a6cf = []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, - 0xdc, 0x94, 0xae, 0x2b, 0x23, 0x0e, 0x75, 0xd5, 0x02, 0x09, 0x69, 0x53, 0x41, 0xaa, 0x6a, 0x2c, - 0x15, 0x09, 0x22, 0xad, 0xc6, 0xeb, 0xb1, 0x3b, 0x74, 0x77, 0x67, 0xbb, 0x3b, 0x5b, 0xe3, 0x22, - 0x2e, 0xfc, 0x05, 0x8e, 0x08, 0x71, 0x42, 0x48, 0x08, 0x38, 0x73, 0xe3, 0xc0, 0x8d, 0x03, 0x17, - 0xae, 0x1c, 0xfb, 0x0b, 0xb8, 0x23, 0xa1, 0x9d, 0x9d, 0xb5, 0x9d, 0xc4, 0x6e, 0x9d, 0x20, 0x71, - 0xdb, 0x7d, 0xef, 0x7d, 0x6f, 0xbf, 0xf7, 0xbd, 0x37, 0x6f, 0x6c, 0x38, 0xdf, 0x17, 0xa2, 0xef, - 0xb1, 0x46, 0x87, 0xf7, 0x25, 0xed, 0x78, 0xac, 0xf1, 0xb8, 0x39, 0x7a, 0xb6, 0xc3, 0x48, 0x48, - 0x81, 0x71, 0x16, 0x62, 0x8f, 0xcc, 0x8f, 0x9b, 0xd5, 0xb3, 0x1a, 0x46, 0x43, 0xde, 0xa0, 0x41, - 0x20, 0x24, 0x95, 0x5c, 0x04, 0x71, 0x86, 0xa8, 0x9e, 0x9b, 0x92, 0xb4, 0x4b, 0x25, 0xd5, 0xee, - 0x57, 0xb4, 0x5b, 0xbd, 0x75, 0x92, 0x5e, 0x63, 0x10, 0xd1, 0x30, 0x64, 0x51, 0x0e, 0x3f, 0xad, - 0xfd, 0x51, 0xe8, 0x36, 0x62, 0x49, 0x65, 0xa2, 0x1d, 0xd6, 0x5f, 0x08, 0x56, 0x08, 0xa3, 0x5d, - 0x22, 0x06, 0x31, 0x61, 0x8f, 0x12, 0x16, 0x4b, 0x7c, 0x0e, 0x40, 0x7d, 0xc3, 0x09, 0xa8, 0xcf, - 0x4c, 0x54, 0x43, 0x75, 0x83, 0x18, 0xca, 0x72, 0x97, 0xfa, 0x0c, 0x5f, 0x80, 0x93, 0x34, 0x0c, - 0x9d, 0x30, 0x12, 0x3d, 0xee, 0x31, 0x87, 0x77, 0xcd, 0x92, 0x0a, 0x59, 0xa6, 0x61, 0x78, 0x2f, - 0x33, 0xde, 0xe9, 0x62, 0x1b, 0x16, 0x22, 0x31, 0x88, 0xcd, 0x42, 0x0d, 0xd5, 0x97, 0x9a, 0x55, - 0xfb, 0x70, 0xc5, 0x36, 0x11, 0x83, 0x36, 0x93, 0x44, 0xc5, 0xe1, 0xb7, 0xa1, 0xdc, 0xe3, 0x9e, - 0x64, 0x91, 0x59, 0x54, 0x88, 0x73, 0x33, 0x10, 0xb7, 0x54, 0x10, 0xd1, 0xc1, 0x29, 0xd7, 0x14, - 0xee, 0x78, 0xdc, 0xe7, 0xd2, 0x5c, 0xa8, 0xa1, 0x7a, 0x91, 0x18, 0xa9, 0xe5, 0xc3, 0xd4, 0x60, - 0xfd, 0x5d, 0x84, 0xd5, 0x71, 0x79, 0x71, 0x28, 0x82, 0x98, 0xe1, 0x5b, 0x50, 0x76, 0x1f, 0x24, - 0xc1, 0xc3, 0xd8, 0x44, 0xb5, 0x62, 0x7d, 0xa9, 0x69, 0x4f, 0xfd, 0xd4, 0x01, 0x94, 0xbd, 0xc5, - 0x3c, 0x6f, 0x2b, 0x85, 0x11, 0x8d, 0xc6, 0x0d, 0x58, 0xf7, 0x68, 0x2c, 0x9d, 0xd8, 0xa5, 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3c, 0x32, 0x79, 0xf7, 0x60, 0xce, 0x54, 0xe9, 0xdf, - 0x10, 0xe0, 0xc3, 0x67, 0x16, 0x5f, 0x99, 0xe7, 0xe4, 0x8f, 0x6b, 0xb0, 0xe7, 0x0d, 0xd7, 0x45, - 0xdc, 0x55, 0x45, 0xec, 0x58, 0x5b, 0xc7, 0x3a, 0x7a, 0xfb, 0x93, 0xb6, 0xd0, 0xc6, 0xe6, 0xd7, - 0x08, 0x4e, 0xb9, 0xc2, 0x9f, 0xc2, 0x62, 0xf3, 0x44, 0xbe, 0x47, 0xee, 0xa5, 0xbf, 0x7b, 0xef, - 0xa1, 0x8f, 0x5b, 0x3a, 0xa8, 0x2f, 0x3c, 0x1a, 0xf4, 0x6d, 0x11, 0xf5, 0x1b, 0x7d, 0x16, 0xa8, - 0x5f, 0xc5, 0x8d, 0xcc, 0x45, 0x43, 0x1e, 0x4f, 0xfe, 0xcb, 0xba, 0x9e, 0x3f, 0xff, 0x50, 0x30, - 0x6f, 0x67, 0xe0, 0x2d, 0x4f, 0x24, 0x5d, 0x3b, 0x4f, 0x6d, 0xdf, 0x6f, 0xfe, 0x9e, 0xbb, 0xf6, - 0x94, 0x6b, 0x2f, 0x77, 0xed, 0xdd, 0x6f, 0x76, 0xca, 0x2a, 0xf9, 0x5b, 0xff, 0x06, 0x00, 0x00, - 0xff, 0xff, 0xd6, 0x35, 0xfc, 0x0e, 0x16, 0x0e, 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 - -// BigtableClient is the client API for Bigtable service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type BigtableClient interface { - // Streams back the contents of all requested rows in key order, optionally - // applying the same Reader filter to each. Depending on their size, - // rows and cells may be broken up across multiple responses, but - // atomicity of each row will still be preserved. See the - // ReadRowsResponse documentation for details. - ReadRows(ctx context.Context, in *ReadRowsRequest, opts ...grpc.CallOption) (Bigtable_ReadRowsClient, error) - // Returns a sample of row keys in the table. The returned row keys will - // delimit contiguous sections of the table of approximately equal size, - // which can be used to break up the data for distributed tasks like - // mapreduces. - SampleRowKeys(ctx context.Context, in *SampleRowKeysRequest, opts ...grpc.CallOption) (Bigtable_SampleRowKeysClient, error) - // Mutates a row atomically. Cells already present in the row are left - // unchanged unless explicitly changed by `mutation`. - MutateRow(ctx context.Context, in *MutateRowRequest, opts ...grpc.CallOption) (*MutateRowResponse, error) - // Mutates multiple rows in a batch. Each individual row is mutated - // atomically as in MutateRow, but the entire batch is not executed - // atomically. - MutateRows(ctx context.Context, in *MutateRowsRequest, opts ...grpc.CallOption) (Bigtable_MutateRowsClient, error) - // Mutates a row atomically based on the output of a predicate Reader filter. - CheckAndMutateRow(ctx context.Context, in *CheckAndMutateRowRequest, opts ...grpc.CallOption) (*CheckAndMutateRowResponse, error) - // Modifies a row atomically on the server. The method reads the latest - // existing timestamp and value from the specified columns and writes a new - // entry based on pre-defined read/modify/write rules. The new value for the - // timestamp is the greater of the existing timestamp or the current server - // time. The method returns the new contents of all modified cells. - ReadModifyWriteRow(ctx context.Context, in *ReadModifyWriteRowRequest, opts ...grpc.CallOption) (*ReadModifyWriteRowResponse, error) -} - -type bigtableClient struct { - cc *grpc.ClientConn -} - -func NewBigtableClient(cc *grpc.ClientConn) BigtableClient { - return &bigtableClient{cc} -} - -func (c *bigtableClient) ReadRows(ctx context.Context, in *ReadRowsRequest, opts ...grpc.CallOption) (Bigtable_ReadRowsClient, error) { - stream, err := c.cc.NewStream(ctx, &_Bigtable_serviceDesc.Streams[0], "/google.bigtable.v2.Bigtable/ReadRows", opts...) - if err != nil { - return nil, err - } - x := &bigtableReadRowsClient{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 Bigtable_ReadRowsClient interface { - Recv() (*ReadRowsResponse, error) - grpc.ClientStream -} - -type bigtableReadRowsClient struct { - grpc.ClientStream -} - -func (x *bigtableReadRowsClient) Recv() (*ReadRowsResponse, error) { - m := new(ReadRowsResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *bigtableClient) SampleRowKeys(ctx context.Context, in *SampleRowKeysRequest, opts ...grpc.CallOption) (Bigtable_SampleRowKeysClient, error) { - stream, err := c.cc.NewStream(ctx, &_Bigtable_serviceDesc.Streams[1], "/google.bigtable.v2.Bigtable/SampleRowKeys", opts...) - if err != nil { - return nil, err - } - x := &bigtableSampleRowKeysClient{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 Bigtable_SampleRowKeysClient interface { - Recv() (*SampleRowKeysResponse, error) - grpc.ClientStream -} - -type bigtableSampleRowKeysClient struct { - grpc.ClientStream -} - -func (x *bigtableSampleRowKeysClient) Recv() (*SampleRowKeysResponse, error) { - m := new(SampleRowKeysResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *bigtableClient) MutateRow(ctx context.Context, in *MutateRowRequest, opts ...grpc.CallOption) (*MutateRowResponse, error) { - out := new(MutateRowResponse) - err := c.cc.Invoke(ctx, "/google.bigtable.v2.Bigtable/MutateRow", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableClient) MutateRows(ctx context.Context, in *MutateRowsRequest, opts ...grpc.CallOption) (Bigtable_MutateRowsClient, error) { - stream, err := c.cc.NewStream(ctx, &_Bigtable_serviceDesc.Streams[2], "/google.bigtable.v2.Bigtable/MutateRows", opts...) - if err != nil { - return nil, err - } - x := &bigtableMutateRowsClient{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 Bigtable_MutateRowsClient interface { - Recv() (*MutateRowsResponse, error) - grpc.ClientStream -} - -type bigtableMutateRowsClient struct { - grpc.ClientStream -} - -func (x *bigtableMutateRowsClient) Recv() (*MutateRowsResponse, error) { - m := new(MutateRowsResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *bigtableClient) CheckAndMutateRow(ctx context.Context, in *CheckAndMutateRowRequest, opts ...grpc.CallOption) (*CheckAndMutateRowResponse, error) { - out := new(CheckAndMutateRowResponse) - err := c.cc.Invoke(ctx, "/google.bigtable.v2.Bigtable/CheckAndMutateRow", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bigtableClient) ReadModifyWriteRow(ctx context.Context, in *ReadModifyWriteRowRequest, opts ...grpc.CallOption) (*ReadModifyWriteRowResponse, error) { - out := new(ReadModifyWriteRowResponse) - err := c.cc.Invoke(ctx, "/google.bigtable.v2.Bigtable/ReadModifyWriteRow", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// BigtableServer is the server API for Bigtable service. -type BigtableServer interface { - // Streams back the contents of all requested rows in key order, optionally - // applying the same Reader filter to each. Depending on their size, - // rows and cells may be broken up across multiple responses, but - // atomicity of each row will still be preserved. See the - // ReadRowsResponse documentation for details. - ReadRows(*ReadRowsRequest, Bigtable_ReadRowsServer) error - // Returns a sample of row keys in the table. The returned row keys will - // delimit contiguous sections of the table of approximately equal size, - // which can be used to break up the data for distributed tasks like - // mapreduces. - SampleRowKeys(*SampleRowKeysRequest, Bigtable_SampleRowKeysServer) error - // Mutates a row atomically. Cells already present in the row are left - // unchanged unless explicitly changed by `mutation`. - MutateRow(context.Context, *MutateRowRequest) (*MutateRowResponse, error) - // Mutates multiple rows in a batch. Each individual row is mutated - // atomically as in MutateRow, but the entire batch is not executed - // atomically. - MutateRows(*MutateRowsRequest, Bigtable_MutateRowsServer) error - // Mutates a row atomically based on the output of a predicate Reader filter. - CheckAndMutateRow(context.Context, *CheckAndMutateRowRequest) (*CheckAndMutateRowResponse, error) - // Modifies a row atomically on the server. The method reads the latest - // existing timestamp and value from the specified columns and writes a new - // entry based on pre-defined read/modify/write rules. The new value for the - // timestamp is the greater of the existing timestamp or the current server - // time. The method returns the new contents of all modified cells. - ReadModifyWriteRow(context.Context, *ReadModifyWriteRowRequest) (*ReadModifyWriteRowResponse, error) -} - -// UnimplementedBigtableServer can be embedded to have forward compatible implementations. -type UnimplementedBigtableServer struct { -} - -func (*UnimplementedBigtableServer) ReadRows(req *ReadRowsRequest, srv Bigtable_ReadRowsServer) error { - return status1.Errorf(codes.Unimplemented, "method ReadRows not implemented") -} -func (*UnimplementedBigtableServer) SampleRowKeys(req *SampleRowKeysRequest, srv Bigtable_SampleRowKeysServer) error { - return status1.Errorf(codes.Unimplemented, "method SampleRowKeys not implemented") -} -func (*UnimplementedBigtableServer) MutateRow(ctx context.Context, req *MutateRowRequest) (*MutateRowResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method MutateRow not implemented") -} -func (*UnimplementedBigtableServer) MutateRows(req *MutateRowsRequest, srv Bigtable_MutateRowsServer) error { - return status1.Errorf(codes.Unimplemented, "method MutateRows not implemented") -} -func (*UnimplementedBigtableServer) CheckAndMutateRow(ctx context.Context, req *CheckAndMutateRowRequest) (*CheckAndMutateRowResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method CheckAndMutateRow not implemented") -} -func (*UnimplementedBigtableServer) ReadModifyWriteRow(ctx context.Context, req *ReadModifyWriteRowRequest) (*ReadModifyWriteRowResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ReadModifyWriteRow not implemented") -} - -func RegisterBigtableServer(s *grpc.Server, srv BigtableServer) { - s.RegisterService(&_Bigtable_serviceDesc, srv) -} - -func _Bigtable_ReadRows_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ReadRowsRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(BigtableServer).ReadRows(m, &bigtableReadRowsServer{stream}) -} - -type Bigtable_ReadRowsServer interface { - Send(*ReadRowsResponse) error - grpc.ServerStream -} - -type bigtableReadRowsServer struct { - grpc.ServerStream -} - -func (x *bigtableReadRowsServer) Send(m *ReadRowsResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _Bigtable_SampleRowKeys_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(SampleRowKeysRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(BigtableServer).SampleRowKeys(m, &bigtableSampleRowKeysServer{stream}) -} - -type Bigtable_SampleRowKeysServer interface { - Send(*SampleRowKeysResponse) error - grpc.ServerStream -} - -type bigtableSampleRowKeysServer struct { - grpc.ServerStream -} - -func (x *bigtableSampleRowKeysServer) Send(m *SampleRowKeysResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _Bigtable_MutateRow_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MutateRowRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableServer).MutateRow(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.v2.Bigtable/MutateRow", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableServer).MutateRow(ctx, req.(*MutateRowRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Bigtable_MutateRows_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(MutateRowsRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(BigtableServer).MutateRows(m, &bigtableMutateRowsServer{stream}) -} - -type Bigtable_MutateRowsServer interface { - Send(*MutateRowsResponse) error - grpc.ServerStream -} - -type bigtableMutateRowsServer struct { - grpc.ServerStream -} - -func (x *bigtableMutateRowsServer) Send(m *MutateRowsResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _Bigtable_CheckAndMutateRow_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CheckAndMutateRowRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableServer).CheckAndMutateRow(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.v2.Bigtable/CheckAndMutateRow", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableServer).CheckAndMutateRow(ctx, req.(*CheckAndMutateRowRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Bigtable_ReadModifyWriteRow_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ReadModifyWriteRowRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BigtableServer).ReadModifyWriteRow(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bigtable.v2.Bigtable/ReadModifyWriteRow", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BigtableServer).ReadModifyWriteRow(ctx, req.(*ReadModifyWriteRowRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Bigtable_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.bigtable.v2.Bigtable", - HandlerType: (*BigtableServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "MutateRow", - Handler: _Bigtable_MutateRow_Handler, - }, - { - MethodName: "CheckAndMutateRow", - Handler: _Bigtable_CheckAndMutateRow_Handler, - }, - { - MethodName: "ReadModifyWriteRow", - Handler: _Bigtable_ReadModifyWriteRow_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "ReadRows", - Handler: _Bigtable_ReadRows_Handler, - ServerStreams: true, - }, - { - StreamName: "SampleRowKeys", - Handler: _Bigtable_SampleRowKeys_Handler, - ServerStreams: true, - }, - { - StreamName: "MutateRows", - Handler: _Bigtable_MutateRows_Handler, - ServerStreams: true, - }, - }, - Metadata: "google/bigtable/v2/bigtable.proto", -} 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 deleted file mode 100644 index 197de496..00000000 --- a/vendor/google.golang.org/genproto/googleapis/bigtable/v2/data.pb.go +++ /dev/null @@ -1,1852 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/bigtable/v2/data.proto - -package bigtable - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Specifies the complete (requested) contents of a single row of a table. -// Rows which exceed 256MiB in size cannot be read in full. -type Row struct { - // The unique key which identifies this row within its table. This is the same - // key that's used to identify the row in, for example, a MutateRowRequest. - // May contain any non-empty byte string up to 4KiB in length. - Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - // May be empty, but only if the entire row is empty. - // The mutual ordering of column families is not specified. - Families []*Family `protobuf:"bytes,2,rep,name=families,proto3" json:"families,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_343df51a8f7aa933, []int{0} -} - -func (m *Row) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Row.Unmarshal(m, b) -} -func (m *Row) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Row.Marshal(b, m, deterministic) -} -func (m *Row) XXX_Merge(src proto.Message) { - xxx_messageInfo_Row.Merge(m, src) -} -func (m *Row) XXX_Size() int { - return xxx_messageInfo_Row.Size(m) -} -func (m *Row) XXX_DiscardUnknown() { - xxx_messageInfo_Row.DiscardUnknown(m) -} - -var xxx_messageInfo_Row proto.InternalMessageInfo - -func (m *Row) GetKey() []byte { - if m != nil { - return m.Key - } - return nil -} - -func (m *Row) GetFamilies() []*Family { - if m != nil { - return m.Families - } - return nil -} - -// Specifies (some of) the contents of a single row/column family intersection -// of a table. -type Family struct { - // The unique key which identifies this family within its row. This is the - // same key that's used to identify the family in, for example, a RowFilter - // which sets its "family_name_regex_filter" field. - // Must match `[-_.a-zA-Z0-9]+`, except that AggregatingRowProcessors may - // produce cells in a sentinel family with an empty name. - // Must be no greater than 64 characters in length. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Must not be empty. Sorted in order of increasing "qualifier". - Columns []*Column `protobuf:"bytes,2,rep,name=columns,proto3" json:"columns,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_343df51a8f7aa933, []int{1} -} - -func (m *Family) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Family.Unmarshal(m, b) -} -func (m *Family) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Family.Marshal(b, m, deterministic) -} -func (m *Family) XXX_Merge(src proto.Message) { - xxx_messageInfo_Family.Merge(m, src) -} -func (m *Family) XXX_Size() int { - return xxx_messageInfo_Family.Size(m) -} -func (m *Family) XXX_DiscardUnknown() { - xxx_messageInfo_Family.DiscardUnknown(m) -} - -var xxx_messageInfo_Family proto.InternalMessageInfo - -func (m *Family) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Family) GetColumns() []*Column { - if m != nil { - return m.Columns - } - return nil -} - -// Specifies (some of) the contents of a single row/column intersection of a -// table. -type Column struct { - // The unique key which identifies this column within its family. This is the - // same key that's used to identify the column in, for example, a RowFilter - // which sets its `column_qualifier_regex_filter` field. - // May contain any byte string, including the empty string, up to 16kiB in - // length. - Qualifier []byte `protobuf:"bytes,1,opt,name=qualifier,proto3" json:"qualifier,omitempty"` - // Must not be empty. Sorted in order of decreasing "timestamp_micros". - Cells []*Cell `protobuf:"bytes,2,rep,name=cells,proto3" json:"cells,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_343df51a8f7aa933, []int{2} -} - -func (m *Column) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Column.Unmarshal(m, b) -} -func (m *Column) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Column.Marshal(b, m, deterministic) -} -func (m *Column) XXX_Merge(src proto.Message) { - xxx_messageInfo_Column.Merge(m, src) -} -func (m *Column) XXX_Size() int { - return xxx_messageInfo_Column.Size(m) -} -func (m *Column) XXX_DiscardUnknown() { - xxx_messageInfo_Column.DiscardUnknown(m) -} - -var xxx_messageInfo_Column proto.InternalMessageInfo - -func (m *Column) GetQualifier() []byte { - if m != nil { - return m.Qualifier - } - return nil -} - -func (m *Column) GetCells() []*Cell { - if m != nil { - return m.Cells - } - return nil -} - -// Specifies (some of) the contents of a single row/column/timestamp of a table. -type Cell struct { - // The cell's stored timestamp, which also uniquely identifies it within - // its column. - // Values are always expressed in microseconds, but individual tables may set - // a coarser granularity to further restrict the allowed values. For - // example, a table which specifies millisecond granularity will only allow - // values of `timestamp_micros` which are multiples of 1000. - TimestampMicros int64 `protobuf:"varint,1,opt,name=timestamp_micros,json=timestampMicros,proto3" json:"timestamp_micros,omitempty"` - // The value stored in the cell. - // May contain any byte string, including the empty string, up to 100MiB in - // length. - Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - // Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter]. - Labels []string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_343df51a8f7aa933, []int{3} -} - -func (m *Cell) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Cell.Unmarshal(m, b) -} -func (m *Cell) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Cell.Marshal(b, m, deterministic) -} -func (m *Cell) XXX_Merge(src proto.Message) { - xxx_messageInfo_Cell.Merge(m, src) -} -func (m *Cell) XXX_Size() int { - return xxx_messageInfo_Cell.Size(m) -} -func (m *Cell) XXX_DiscardUnknown() { - xxx_messageInfo_Cell.DiscardUnknown(m) -} - -var xxx_messageInfo_Cell proto.InternalMessageInfo - -func (m *Cell) GetTimestampMicros() int64 { - if m != nil { - return m.TimestampMicros - } - return 0 -} - -func (m *Cell) GetValue() []byte { - if m != nil { - return m.Value - } - return nil -} - -func (m *Cell) GetLabels() []string { - if m != nil { - return m.Labels - } - return nil -} - -// Specifies a contiguous range of rows. -type RowRange struct { - // The row key at which to start the range. - // If neither field is set, interpreted as the empty string, inclusive. - // - // Types that are valid to be assigned to StartKey: - // *RowRange_StartKeyClosed - // *RowRange_StartKeyOpen - StartKey isRowRange_StartKey `protobuf_oneof:"start_key"` - // The row key at which to end the range. - // If neither field is set, interpreted as the infinite row key, exclusive. - // - // Types that are valid to be assigned to EndKey: - // *RowRange_EndKeyOpen - // *RowRange_EndKeyClosed - EndKey isRowRange_EndKey `protobuf_oneof:"end_key"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_343df51a8f7aa933, []int{4} -} - -func (m *RowRange) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RowRange.Unmarshal(m, b) -} -func (m *RowRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RowRange.Marshal(b, m, deterministic) -} -func (m *RowRange) XXX_Merge(src proto.Message) { - xxx_messageInfo_RowRange.Merge(m, src) -} -func (m *RowRange) XXX_Size() int { - return xxx_messageInfo_RowRange.Size(m) -} -func (m *RowRange) XXX_DiscardUnknown() { - xxx_messageInfo_RowRange.DiscardUnknown(m) -} - -var xxx_messageInfo_RowRange proto.InternalMessageInfo - -type isRowRange_StartKey interface { - isRowRange_StartKey() -} - -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"` -} - -func (*RowRange_StartKeyClosed) isRowRange_StartKey() {} - -func (*RowRange_StartKeyOpen) isRowRange_StartKey() {} - -func (m *RowRange) GetStartKey() isRowRange_StartKey { - if m != nil { - return m.StartKey - } - return nil -} - -func (m *RowRange) GetStartKeyClosed() []byte { - if x, ok := m.GetStartKey().(*RowRange_StartKeyClosed); ok { - return x.StartKeyClosed - } - return nil -} - -func (m *RowRange) GetStartKeyOpen() []byte { - if x, ok := m.GetStartKey().(*RowRange_StartKeyOpen); ok { - return x.StartKeyOpen - } - 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 - } - return nil -} - -func (m *RowRange) GetEndKeyClosed() []byte { - if x, ok := m.GetEndKey().(*RowRange_EndKeyClosed); ok { - return x.EndKeyClosed - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*RowRange) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*RowRange_StartKeyClosed)(nil), - (*RowRange_StartKeyOpen)(nil), - (*RowRange_EndKeyOpen)(nil), - (*RowRange_EndKeyClosed)(nil), - } -} - -// Specifies a non-contiguous set of rows. -type RowSet struct { - // Single rows included in the set. - RowKeys [][]byte `protobuf:"bytes,1,rep,name=row_keys,json=rowKeys,proto3" json:"row_keys,omitempty"` - // Contiguous row ranges included in the set. - RowRanges []*RowRange `protobuf:"bytes,2,rep,name=row_ranges,json=rowRanges,proto3" json:"row_ranges,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_343df51a8f7aa933, []int{5} -} - -func (m *RowSet) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RowSet.Unmarshal(m, b) -} -func (m *RowSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RowSet.Marshal(b, m, deterministic) -} -func (m *RowSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_RowSet.Merge(m, src) -} -func (m *RowSet) XXX_Size() int { - return xxx_messageInfo_RowSet.Size(m) -} -func (m *RowSet) XXX_DiscardUnknown() { - xxx_messageInfo_RowSet.DiscardUnknown(m) -} - -var xxx_messageInfo_RowSet proto.InternalMessageInfo - -func (m *RowSet) GetRowKeys() [][]byte { - if m != nil { - return m.RowKeys - } - return nil -} - -func (m *RowSet) GetRowRanges() []*RowRange { - if m != nil { - return m.RowRanges - } - return nil -} - -// Specifies a contiguous range of columns within a single column family. -// The range spans from <column_family>:<start_qualifier> to -// <column_family>:<end_qualifier>, where both bounds can be either -// inclusive or exclusive. -type ColumnRange struct { - // The name of the column family within which this range falls. - FamilyName string `protobuf:"bytes,1,opt,name=family_name,json=familyName,proto3" json:"family_name,omitempty"` - // The column qualifier at which to start the range (within `column_family`). - // If neither field is set, interpreted as the empty string, inclusive. - // - // Types that are valid to be assigned to StartQualifier: - // *ColumnRange_StartQualifierClosed - // *ColumnRange_StartQualifierOpen - StartQualifier isColumnRange_StartQualifier `protobuf_oneof:"start_qualifier"` - // The column qualifier at which to end the range (within `column_family`). - // If neither field is set, interpreted as the infinite string, exclusive. - // - // Types that are valid to be assigned to EndQualifier: - // *ColumnRange_EndQualifierClosed - // *ColumnRange_EndQualifierOpen - EndQualifier isColumnRange_EndQualifier `protobuf_oneof:"end_qualifier"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_343df51a8f7aa933, []int{6} -} - -func (m *ColumnRange) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ColumnRange.Unmarshal(m, b) -} -func (m *ColumnRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ColumnRange.Marshal(b, m, deterministic) -} -func (m *ColumnRange) XXX_Merge(src proto.Message) { - xxx_messageInfo_ColumnRange.Merge(m, src) -} -func (m *ColumnRange) XXX_Size() int { - return xxx_messageInfo_ColumnRange.Size(m) -} -func (m *ColumnRange) XXX_DiscardUnknown() { - xxx_messageInfo_ColumnRange.DiscardUnknown(m) -} - -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 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"` -} - -func (*ColumnRange_StartQualifierClosed) isColumnRange_StartQualifier() {} - -func (*ColumnRange_StartQualifierOpen) isColumnRange_StartQualifier() {} - -func (m *ColumnRange) GetStartQualifier() isColumnRange_StartQualifier { - if m != nil { - return m.StartQualifier - } - return nil -} - -func (m *ColumnRange) GetStartQualifierClosed() []byte { - if x, ok := m.GetStartQualifier().(*ColumnRange_StartQualifierClosed); ok { - return x.StartQualifierClosed - } - return nil -} - -func (m *ColumnRange) GetStartQualifierOpen() []byte { - if x, ok := m.GetStartQualifier().(*ColumnRange_StartQualifierOpen); ok { - return x.StartQualifierOpen - } - 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 - } - return nil -} - -func (m *ColumnRange) GetEndQualifierOpen() []byte { - if x, ok := m.GetEndQualifier().(*ColumnRange_EndQualifierOpen); ok { - return x.EndQualifierOpen - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ColumnRange) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ColumnRange_StartQualifierClosed)(nil), - (*ColumnRange_StartQualifierOpen)(nil), - (*ColumnRange_EndQualifierClosed)(nil), - (*ColumnRange_EndQualifierOpen)(nil), - } -} - -// Specified a contiguous range of microsecond timestamps. -type TimestampRange struct { - // Inclusive lower bound. If left empty, interpreted as 0. - StartTimestampMicros int64 `protobuf:"varint,1,opt,name=start_timestamp_micros,json=startTimestampMicros,proto3" json:"start_timestamp_micros,omitempty"` - // Exclusive upper bound. If left empty, interpreted as infinity. - EndTimestampMicros int64 `protobuf:"varint,2,opt,name=end_timestamp_micros,json=endTimestampMicros,proto3" json:"end_timestamp_micros,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_343df51a8f7aa933, []int{7} -} - -func (m *TimestampRange) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TimestampRange.Unmarshal(m, b) -} -func (m *TimestampRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TimestampRange.Marshal(b, m, deterministic) -} -func (m *TimestampRange) XXX_Merge(src proto.Message) { - xxx_messageInfo_TimestampRange.Merge(m, src) -} -func (m *TimestampRange) XXX_Size() int { - return xxx_messageInfo_TimestampRange.Size(m) -} -func (m *TimestampRange) XXX_DiscardUnknown() { - xxx_messageInfo_TimestampRange.DiscardUnknown(m) -} - -var xxx_messageInfo_TimestampRange proto.InternalMessageInfo - -func (m *TimestampRange) GetStartTimestampMicros() int64 { - if m != nil { - return m.StartTimestampMicros - } - return 0 -} - -func (m *TimestampRange) GetEndTimestampMicros() int64 { - if m != nil { - return m.EndTimestampMicros - } - return 0 -} - -// Specifies a contiguous range of raw byte values. -type ValueRange struct { - // The value at which to start the range. - // If neither field is set, interpreted as the empty string, inclusive. - // - // Types that are valid to be assigned to StartValue: - // *ValueRange_StartValueClosed - // *ValueRange_StartValueOpen - StartValue isValueRange_StartValue `protobuf_oneof:"start_value"` - // The value at which to end the range. - // If neither field is set, interpreted as the infinite string, exclusive. - // - // Types that are valid to be assigned to EndValue: - // *ValueRange_EndValueClosed - // *ValueRange_EndValueOpen - EndValue isValueRange_EndValue `protobuf_oneof:"end_value"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_343df51a8f7aa933, []int{8} -} - -func (m *ValueRange) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ValueRange.Unmarshal(m, b) -} -func (m *ValueRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ValueRange.Marshal(b, m, deterministic) -} -func (m *ValueRange) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValueRange.Merge(m, src) -} -func (m *ValueRange) XXX_Size() int { - return xxx_messageInfo_ValueRange.Size(m) -} -func (m *ValueRange) XXX_DiscardUnknown() { - xxx_messageInfo_ValueRange.DiscardUnknown(m) -} - -var xxx_messageInfo_ValueRange proto.InternalMessageInfo - -type isValueRange_StartValue interface { - isValueRange_StartValue() -} - -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"` -} - -func (*ValueRange_StartValueClosed) isValueRange_StartValue() {} - -func (*ValueRange_StartValueOpen) isValueRange_StartValue() {} - -func (m *ValueRange) GetStartValue() isValueRange_StartValue { - if m != nil { - return m.StartValue - } - return nil -} - -func (m *ValueRange) GetStartValueClosed() []byte { - if x, ok := m.GetStartValue().(*ValueRange_StartValueClosed); ok { - return x.StartValueClosed - } - return nil -} - -func (m *ValueRange) GetStartValueOpen() []byte { - if x, ok := m.GetStartValue().(*ValueRange_StartValueOpen); ok { - return x.StartValueOpen - } - 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 - } - return nil -} - -func (m *ValueRange) GetEndValueOpen() []byte { - if x, ok := m.GetEndValue().(*ValueRange_EndValueOpen); ok { - return x.EndValueOpen - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ValueRange) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ValueRange_StartValueClosed)(nil), - (*ValueRange_StartValueOpen)(nil), - (*ValueRange_EndValueClosed)(nil), - (*ValueRange_EndValueOpen)(nil), - } -} - -// Takes a row as input and produces an alternate view of the row based on -// specified rules. For example, a RowFilter might trim down a row to include -// just the cells from columns matching a given regular expression, or might -// return all the cells of a row but not their values. More complicated filters -// can be composed out of these components to express requests such as, "within -// every column of a particular family, give just the two most recent cells -// which are older than timestamp X." -// -// There are two broad categories of RowFilters (true filters and transformers), -// as well as two ways to compose simple filters into more complex ones -// (chains and interleaves). They work as follows: -// -// * True filters alter the input row by excluding some of its cells wholesale -// from the output row. An example of a true filter is the `value_regex_filter`, -// which excludes cells whose values don't match the specified pattern. All -// regex true filters use RE2 syntax (https://github.com/google/re2/wiki/Syntax) -// in raw byte mode (RE2::Latin1), and are evaluated as full matches. An -// important point to keep in mind is that `RE2(.)` is equivalent by default to -// `RE2([^\n])`, meaning that it does not match newlines. When attempting to -// match an arbitrary byte, you should therefore use the escape sequence `\C`, -// which may need to be further escaped as `\\C` in your client language. -// -// * Transformers alter the input row by changing the values of some of its -// cells in the output, without excluding them completely. Currently, the only -// supported transformer is the `strip_value_transformer`, which replaces every -// cell's value with the empty string. -// -// * Chains and interleaves are described in more detail in the -// RowFilter.Chain and RowFilter.Interleave documentation. -// -// The total serialized size of a RowFilter message must not -// exceed 4096 bytes, and RowFilters may not be nested within each other -// (in Chains or Interleaves) to a depth of more than 20. -type RowFilter struct { - // Which of the possible RowFilter types to apply. If none are set, this - // RowFilter returns all cells in the input row. - // - // Types that are valid to be assigned to Filter: - // *RowFilter_Chain_ - // *RowFilter_Interleave_ - // *RowFilter_Condition_ - // *RowFilter_Sink - // *RowFilter_PassAllFilter - // *RowFilter_BlockAllFilter - // *RowFilter_RowKeyRegexFilter - // *RowFilter_RowSampleFilter - // *RowFilter_FamilyNameRegexFilter - // *RowFilter_ColumnQualifierRegexFilter - // *RowFilter_ColumnRangeFilter - // *RowFilter_TimestampRangeFilter - // *RowFilter_ValueRegexFilter - // *RowFilter_ValueRangeFilter - // *RowFilter_CellsPerRowOffsetFilter - // *RowFilter_CellsPerRowLimitFilter - // *RowFilter_CellsPerColumnLimitFilter - // *RowFilter_StripValueTransformer - // *RowFilter_ApplyLabelTransformer - Filter isRowFilter_Filter `protobuf_oneof:"filter"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_343df51a8f7aa933, []int{9} -} - -func (m *RowFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RowFilter.Unmarshal(m, b) -} -func (m *RowFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RowFilter.Marshal(b, m, deterministic) -} -func (m *RowFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_RowFilter.Merge(m, src) -} -func (m *RowFilter) XXX_Size() int { - return xxx_messageInfo_RowFilter.Size(m) -} -func (m *RowFilter) XXX_DiscardUnknown() { - xxx_messageInfo_RowFilter.DiscardUnknown(m) -} - -var xxx_messageInfo_RowFilter proto.InternalMessageInfo - -type isRowFilter_Filter interface { - isRowFilter_Filter() -} - -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_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 (m *RowFilter) GetFilter() isRowFilter_Filter { - if m != nil { - return m.Filter - } - return nil -} - -func (m *RowFilter) GetChain() *RowFilter_Chain { - if x, ok := m.GetFilter().(*RowFilter_Chain_); ok { - return x.Chain - } - return nil -} - -func (m *RowFilter) GetInterleave() *RowFilter_Interleave { - if x, ok := m.GetFilter().(*RowFilter_Interleave_); ok { - return x.Interleave - } - return nil -} - -func (m *RowFilter) GetCondition() *RowFilter_Condition { - if x, ok := m.GetFilter().(*RowFilter_Condition_); ok { - return x.Condition - } - return nil -} - -func (m *RowFilter) GetSink() bool { - if x, ok := m.GetFilter().(*RowFilter_Sink); ok { - return x.Sink - } - return false -} - -func (m *RowFilter) GetPassAllFilter() bool { - if x, ok := m.GetFilter().(*RowFilter_PassAllFilter); ok { - return x.PassAllFilter - } - return false -} - -func (m *RowFilter) GetBlockAllFilter() bool { - if x, ok := m.GetFilter().(*RowFilter_BlockAllFilter); ok { - return x.BlockAllFilter - } - return false -} - -func (m *RowFilter) GetRowKeyRegexFilter() []byte { - if x, ok := m.GetFilter().(*RowFilter_RowKeyRegexFilter); ok { - return x.RowKeyRegexFilter - } - return nil -} - -func (m *RowFilter) GetRowSampleFilter() float64 { - if x, ok := m.GetFilter().(*RowFilter_RowSampleFilter); ok { - return x.RowSampleFilter - } - return 0 -} - -func (m *RowFilter) GetFamilyNameRegexFilter() string { - if x, ok := m.GetFilter().(*RowFilter_FamilyNameRegexFilter); ok { - return x.FamilyNameRegexFilter - } - return "" -} - -func (m *RowFilter) GetColumnQualifierRegexFilter() []byte { - if x, ok := m.GetFilter().(*RowFilter_ColumnQualifierRegexFilter); ok { - return x.ColumnQualifierRegexFilter - } - return nil -} - -func (m *RowFilter) GetColumnRangeFilter() *ColumnRange { - if x, ok := m.GetFilter().(*RowFilter_ColumnRangeFilter); ok { - return x.ColumnRangeFilter - } - return nil -} - -func (m *RowFilter) GetTimestampRangeFilter() *TimestampRange { - if x, ok := m.GetFilter().(*RowFilter_TimestampRangeFilter); ok { - return x.TimestampRangeFilter - } - return nil -} - -func (m *RowFilter) GetValueRegexFilter() []byte { - if x, ok := m.GetFilter().(*RowFilter_ValueRegexFilter); ok { - return x.ValueRegexFilter - } - return nil -} - -func (m *RowFilter) GetValueRangeFilter() *ValueRange { - if x, ok := m.GetFilter().(*RowFilter_ValueRangeFilter); ok { - return x.ValueRangeFilter - } - return nil -} - -func (m *RowFilter) GetCellsPerRowOffsetFilter() int32 { - if x, ok := m.GetFilter().(*RowFilter_CellsPerRowOffsetFilter); ok { - return x.CellsPerRowOffsetFilter - } - return 0 -} - -func (m *RowFilter) GetCellsPerRowLimitFilter() int32 { - if x, ok := m.GetFilter().(*RowFilter_CellsPerRowLimitFilter); ok { - return x.CellsPerRowLimitFilter - } - return 0 -} - -func (m *RowFilter) GetCellsPerColumnLimitFilter() int32 { - if x, ok := m.GetFilter().(*RowFilter_CellsPerColumnLimitFilter); ok { - return x.CellsPerColumnLimitFilter - } - return 0 -} - -func (m *RowFilter) GetStripValueTransformer() bool { - if x, ok := m.GetFilter().(*RowFilter_StripValueTransformer); ok { - return x.StripValueTransformer - } - return false -} - -func (m *RowFilter) GetApplyLabelTransformer() string { - if x, ok := m.GetFilter().(*RowFilter_ApplyLabelTransformer); ok { - return x.ApplyLabelTransformer - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*RowFilter) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*RowFilter_Chain_)(nil), - (*RowFilter_Interleave_)(nil), - (*RowFilter_Condition_)(nil), - (*RowFilter_Sink)(nil), - (*RowFilter_PassAllFilter)(nil), - (*RowFilter_BlockAllFilter)(nil), - (*RowFilter_RowKeyRegexFilter)(nil), - (*RowFilter_RowSampleFilter)(nil), - (*RowFilter_FamilyNameRegexFilter)(nil), - (*RowFilter_ColumnQualifierRegexFilter)(nil), - (*RowFilter_ColumnRangeFilter)(nil), - (*RowFilter_TimestampRangeFilter)(nil), - (*RowFilter_ValueRegexFilter)(nil), - (*RowFilter_ValueRangeFilter)(nil), - (*RowFilter_CellsPerRowOffsetFilter)(nil), - (*RowFilter_CellsPerRowLimitFilter)(nil), - (*RowFilter_CellsPerColumnLimitFilter)(nil), - (*RowFilter_StripValueTransformer)(nil), - (*RowFilter_ApplyLabelTransformer)(nil), - } -} - -// A RowFilter which sends rows through several RowFilters in sequence. -type RowFilter_Chain struct { - // The elements of "filters" are chained together to process the input row: - // in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row - // The full chain is executed atomically. - Filters []*RowFilter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_343df51a8f7aa933, []int{9, 0} -} - -func (m *RowFilter_Chain) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RowFilter_Chain.Unmarshal(m, b) -} -func (m *RowFilter_Chain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RowFilter_Chain.Marshal(b, m, deterministic) -} -func (m *RowFilter_Chain) XXX_Merge(src proto.Message) { - xxx_messageInfo_RowFilter_Chain.Merge(m, src) -} -func (m *RowFilter_Chain) XXX_Size() int { - return xxx_messageInfo_RowFilter_Chain.Size(m) -} -func (m *RowFilter_Chain) XXX_DiscardUnknown() { - xxx_messageInfo_RowFilter_Chain.DiscardUnknown(m) -} - -var xxx_messageInfo_RowFilter_Chain proto.InternalMessageInfo - -func (m *RowFilter_Chain) GetFilters() []*RowFilter { - if m != nil { - return m.Filters - } - return nil -} - -// A RowFilter which sends each row to each of several component -// RowFilters and interleaves the results. -type RowFilter_Interleave struct { - // The elements of "filters" all process a copy of the input row, and the - // results are pooled, sorted, and combined into a single output row. - // If multiple cells are produced with the same column and timestamp, - // they will all appear in the output row in an unspecified mutual order. - // Consider the following example, with three filters: - // - // input row - // | - // ----------------------------------------------------- - // | | | - // f(0) f(1) f(2) - // | | | - // 1: foo,bar,10,x foo,bar,10,z far,bar,7,a - // 2: foo,blah,11,z far,blah,5,x far,blah,5,x - // | | | - // ----------------------------------------------------- - // | - // 1: foo,bar,10,z // could have switched with #2 - // 2: foo,bar,10,x // could have switched with #1 - // 3: foo,blah,11,z - // 4: far,bar,7,a - // 5: far,blah,5,x // identical to #6 - // 6: far,blah,5,x // identical to #5 - // - // All interleaved filters are executed atomically. - Filters []*RowFilter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_343df51a8f7aa933, []int{9, 1} -} - -func (m *RowFilter_Interleave) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RowFilter_Interleave.Unmarshal(m, b) -} -func (m *RowFilter_Interleave) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RowFilter_Interleave.Marshal(b, m, deterministic) -} -func (m *RowFilter_Interleave) XXX_Merge(src proto.Message) { - xxx_messageInfo_RowFilter_Interleave.Merge(m, src) -} -func (m *RowFilter_Interleave) XXX_Size() int { - return xxx_messageInfo_RowFilter_Interleave.Size(m) -} -func (m *RowFilter_Interleave) XXX_DiscardUnknown() { - xxx_messageInfo_RowFilter_Interleave.DiscardUnknown(m) -} - -var xxx_messageInfo_RowFilter_Interleave proto.InternalMessageInfo - -func (m *RowFilter_Interleave) GetFilters() []*RowFilter { - if m != nil { - return m.Filters - } - return nil -} - -// A RowFilter which evaluates one of two possible RowFilters, depending on -// whether or not a predicate RowFilter outputs any cells from the input row. -// -// IMPORTANT NOTE: The predicate filter does not execute atomically with the -// true and false filters, which may lead to inconsistent or unexpected -// results. Additionally, Condition filters have poor performance, especially -// when filters are set for the false condition. -type RowFilter_Condition struct { - // If `predicate_filter` outputs any cells, then `true_filter` will be - // evaluated on the input row. Otherwise, `false_filter` will be evaluated. - PredicateFilter *RowFilter `protobuf:"bytes,1,opt,name=predicate_filter,json=predicateFilter,proto3" json:"predicate_filter,omitempty"` - // The filter to apply to the input row if `predicate_filter` returns any - // results. If not provided, no results will be returned in the true case. - TrueFilter *RowFilter `protobuf:"bytes,2,opt,name=true_filter,json=trueFilter,proto3" json:"true_filter,omitempty"` - // The filter to apply to the input row if `predicate_filter` does not - // return any results. If not provided, no results will be returned in the - // false case. - FalseFilter *RowFilter `protobuf:"bytes,3,opt,name=false_filter,json=falseFilter,proto3" json:"false_filter,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_343df51a8f7aa933, []int{9, 2} -} - -func (m *RowFilter_Condition) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RowFilter_Condition.Unmarshal(m, b) -} -func (m *RowFilter_Condition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RowFilter_Condition.Marshal(b, m, deterministic) -} -func (m *RowFilter_Condition) XXX_Merge(src proto.Message) { - xxx_messageInfo_RowFilter_Condition.Merge(m, src) -} -func (m *RowFilter_Condition) XXX_Size() int { - return xxx_messageInfo_RowFilter_Condition.Size(m) -} -func (m *RowFilter_Condition) XXX_DiscardUnknown() { - xxx_messageInfo_RowFilter_Condition.DiscardUnknown(m) -} - -var xxx_messageInfo_RowFilter_Condition proto.InternalMessageInfo - -func (m *RowFilter_Condition) GetPredicateFilter() *RowFilter { - if m != nil { - return m.PredicateFilter - } - return nil -} - -func (m *RowFilter_Condition) GetTrueFilter() *RowFilter { - if m != nil { - return m.TrueFilter - } - return nil -} - -func (m *RowFilter_Condition) GetFalseFilter() *RowFilter { - if m != nil { - return m.FalseFilter - } - return nil -} - -// Specifies a particular change to be made to the contents of a row. -type Mutation struct { - // Which of the possible Mutation types to apply. - // - // Types that are valid to be assigned to Mutation: - // *Mutation_SetCell_ - // *Mutation_DeleteFromColumn_ - // *Mutation_DeleteFromFamily_ - // *Mutation_DeleteFromRow_ - Mutation isMutation_Mutation `protobuf_oneof:"mutation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_343df51a8f7aa933, []int{10} -} - -func (m *Mutation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Mutation.Unmarshal(m, b) -} -func (m *Mutation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Mutation.Marshal(b, m, deterministic) -} -func (m *Mutation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Mutation.Merge(m, src) -} -func (m *Mutation) XXX_Size() int { - return xxx_messageInfo_Mutation.Size(m) -} -func (m *Mutation) XXX_DiscardUnknown() { - xxx_messageInfo_Mutation.DiscardUnknown(m) -} - -var xxx_messageInfo_Mutation proto.InternalMessageInfo - -type isMutation_Mutation interface { - isMutation_Mutation() -} - -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_DeleteFromColumn_) isMutation_Mutation() {} - -func (*Mutation_DeleteFromFamily_) isMutation_Mutation() {} - -func (*Mutation_DeleteFromRow_) isMutation_Mutation() {} - -func (m *Mutation) GetMutation() isMutation_Mutation { - if m != nil { - return m.Mutation - } - return nil -} - -func (m *Mutation) GetSetCell() *Mutation_SetCell { - if x, ok := m.GetMutation().(*Mutation_SetCell_); ok { - return x.SetCell - } - return nil -} - -func (m *Mutation) GetDeleteFromColumn() *Mutation_DeleteFromColumn { - if x, ok := m.GetMutation().(*Mutation_DeleteFromColumn_); ok { - return x.DeleteFromColumn - } - return nil -} - -func (m *Mutation) GetDeleteFromFamily() *Mutation_DeleteFromFamily { - if x, ok := m.GetMutation().(*Mutation_DeleteFromFamily_); ok { - return x.DeleteFromFamily - } - return nil -} - -func (m *Mutation) GetDeleteFromRow() *Mutation_DeleteFromRow { - if x, ok := m.GetMutation().(*Mutation_DeleteFromRow_); ok { - return x.DeleteFromRow - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Mutation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Mutation_SetCell_)(nil), - (*Mutation_DeleteFromColumn_)(nil), - (*Mutation_DeleteFromFamily_)(nil), - (*Mutation_DeleteFromRow_)(nil), - } -} - -// A Mutation which sets the value of the specified cell. -type Mutation_SetCell struct { - // The name of the family into which new data should be written. - // Must match `[-_.a-zA-Z0-9]+` - FamilyName string `protobuf:"bytes,1,opt,name=family_name,json=familyName,proto3" json:"family_name,omitempty"` - // The qualifier of the column into which new data should be written. - // Can be any byte string, including the empty string. - ColumnQualifier []byte `protobuf:"bytes,2,opt,name=column_qualifier,json=columnQualifier,proto3" json:"column_qualifier,omitempty"` - // The timestamp of the cell into which new data should be written. - // Use -1 for current Bigtable server time. - // Otherwise, the client should set this value itself, noting that the - // default value is a timestamp of zero if the field is left unspecified. - // Values must match the granularity of the table (e.g. micros, millis). - TimestampMicros int64 `protobuf:"varint,3,opt,name=timestamp_micros,json=timestampMicros,proto3" json:"timestamp_micros,omitempty"` - // The value to be written into the specified cell. - Value []byte `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_343df51a8f7aa933, []int{10, 0} -} - -func (m *Mutation_SetCell) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Mutation_SetCell.Unmarshal(m, b) -} -func (m *Mutation_SetCell) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Mutation_SetCell.Marshal(b, m, deterministic) -} -func (m *Mutation_SetCell) XXX_Merge(src proto.Message) { - xxx_messageInfo_Mutation_SetCell.Merge(m, src) -} -func (m *Mutation_SetCell) XXX_Size() int { - return xxx_messageInfo_Mutation_SetCell.Size(m) -} -func (m *Mutation_SetCell) XXX_DiscardUnknown() { - xxx_messageInfo_Mutation_SetCell.DiscardUnknown(m) -} - -var xxx_messageInfo_Mutation_SetCell proto.InternalMessageInfo - -func (m *Mutation_SetCell) GetFamilyName() string { - if m != nil { - return m.FamilyName - } - return "" -} - -func (m *Mutation_SetCell) GetColumnQualifier() []byte { - if m != nil { - return m.ColumnQualifier - } - return nil -} - -func (m *Mutation_SetCell) GetTimestampMicros() int64 { - if m != nil { - return m.TimestampMicros - } - return 0 -} - -func (m *Mutation_SetCell) GetValue() []byte { - if m != nil { - return m.Value - } - return nil -} - -// A Mutation which deletes cells from the specified column, optionally -// restricting the deletions to a given timestamp range. -type Mutation_DeleteFromColumn struct { - // The name of the family from which cells should be deleted. - // Must match `[-_.a-zA-Z0-9]+` - FamilyName string `protobuf:"bytes,1,opt,name=family_name,json=familyName,proto3" json:"family_name,omitempty"` - // The qualifier of the column from which cells should be deleted. - // Can be any byte string, including the empty string. - ColumnQualifier []byte `protobuf:"bytes,2,opt,name=column_qualifier,json=columnQualifier,proto3" json:"column_qualifier,omitempty"` - // The range of timestamps within which cells should be deleted. - TimeRange *TimestampRange `protobuf:"bytes,3,opt,name=time_range,json=timeRange,proto3" json:"time_range,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Mutation_DeleteFromColumn) Reset() { *m = Mutation_DeleteFromColumn{} } -func (m *Mutation_DeleteFromColumn) String() string { return proto.CompactTextString(m) } -func (*Mutation_DeleteFromColumn) ProtoMessage() {} -func (*Mutation_DeleteFromColumn) Descriptor() ([]byte, []int) { - return fileDescriptor_343df51a8f7aa933, []int{10, 1} -} - -func (m *Mutation_DeleteFromColumn) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Mutation_DeleteFromColumn.Unmarshal(m, b) -} -func (m *Mutation_DeleteFromColumn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Mutation_DeleteFromColumn.Marshal(b, m, deterministic) -} -func (m *Mutation_DeleteFromColumn) XXX_Merge(src proto.Message) { - xxx_messageInfo_Mutation_DeleteFromColumn.Merge(m, src) -} -func (m *Mutation_DeleteFromColumn) XXX_Size() int { - return xxx_messageInfo_Mutation_DeleteFromColumn.Size(m) -} -func (m *Mutation_DeleteFromColumn) XXX_DiscardUnknown() { - xxx_messageInfo_Mutation_DeleteFromColumn.DiscardUnknown(m) -} - -var xxx_messageInfo_Mutation_DeleteFromColumn proto.InternalMessageInfo - -func (m *Mutation_DeleteFromColumn) GetFamilyName() string { - if m != nil { - return m.FamilyName - } - return "" -} - -func (m *Mutation_DeleteFromColumn) GetColumnQualifier() []byte { - if m != nil { - return m.ColumnQualifier - } - return nil -} - -func (m *Mutation_DeleteFromColumn) GetTimeRange() *TimestampRange { - if m != nil { - return m.TimeRange - } - return nil -} - -// A Mutation which deletes all cells from the specified column family. -type Mutation_DeleteFromFamily struct { - // The name of the family from which cells should be deleted. - // Must match `[-_.a-zA-Z0-9]+` - FamilyName string `protobuf:"bytes,1,opt,name=family_name,json=familyName,proto3" json:"family_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Mutation_DeleteFromFamily) Reset() { *m = Mutation_DeleteFromFamily{} } -func (m *Mutation_DeleteFromFamily) String() string { return proto.CompactTextString(m) } -func (*Mutation_DeleteFromFamily) ProtoMessage() {} -func (*Mutation_DeleteFromFamily) Descriptor() ([]byte, []int) { - return fileDescriptor_343df51a8f7aa933, []int{10, 2} -} - -func (m *Mutation_DeleteFromFamily) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Mutation_DeleteFromFamily.Unmarshal(m, b) -} -func (m *Mutation_DeleteFromFamily) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Mutation_DeleteFromFamily.Marshal(b, m, deterministic) -} -func (m *Mutation_DeleteFromFamily) XXX_Merge(src proto.Message) { - xxx_messageInfo_Mutation_DeleteFromFamily.Merge(m, src) -} -func (m *Mutation_DeleteFromFamily) XXX_Size() int { - return xxx_messageInfo_Mutation_DeleteFromFamily.Size(m) -} -func (m *Mutation_DeleteFromFamily) XXX_DiscardUnknown() { - xxx_messageInfo_Mutation_DeleteFromFamily.DiscardUnknown(m) -} - -var xxx_messageInfo_Mutation_DeleteFromFamily proto.InternalMessageInfo - -func (m *Mutation_DeleteFromFamily) GetFamilyName() string { - if m != nil { - return m.FamilyName - } - return "" -} - -// A Mutation which deletes all cells from the containing row. -type Mutation_DeleteFromRow struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_343df51a8f7aa933, []int{10, 3} -} - -func (m *Mutation_DeleteFromRow) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Mutation_DeleteFromRow.Unmarshal(m, b) -} -func (m *Mutation_DeleteFromRow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Mutation_DeleteFromRow.Marshal(b, m, deterministic) -} -func (m *Mutation_DeleteFromRow) XXX_Merge(src proto.Message) { - xxx_messageInfo_Mutation_DeleteFromRow.Merge(m, src) -} -func (m *Mutation_DeleteFromRow) XXX_Size() int { - return xxx_messageInfo_Mutation_DeleteFromRow.Size(m) -} -func (m *Mutation_DeleteFromRow) XXX_DiscardUnknown() { - xxx_messageInfo_Mutation_DeleteFromRow.DiscardUnknown(m) -} - -var xxx_messageInfo_Mutation_DeleteFromRow proto.InternalMessageInfo - -// Specifies an atomic read/modify/write operation on the latest value of the -// specified column. -type ReadModifyWriteRule struct { - // The name of the family to which the read/modify/write should be applied. - // Must match `[-_.a-zA-Z0-9]+` - FamilyName string `protobuf:"bytes,1,opt,name=family_name,json=familyName,proto3" json:"family_name,omitempty"` - // The qualifier of the column to which the read/modify/write should be - // applied. - // Can be any byte string, including the empty string. - ColumnQualifier []byte `protobuf:"bytes,2,opt,name=column_qualifier,json=columnQualifier,proto3" json:"column_qualifier,omitempty"` - // The rule used to determine the column's new latest value from its current - // latest value. - // - // Types that are valid to be assigned to Rule: - // *ReadModifyWriteRule_AppendValue - // *ReadModifyWriteRule_IncrementAmount - Rule isReadModifyWriteRule_Rule `protobuf_oneof:"rule"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_343df51a8f7aa933, []int{11} -} - -func (m *ReadModifyWriteRule) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReadModifyWriteRule.Unmarshal(m, b) -} -func (m *ReadModifyWriteRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReadModifyWriteRule.Marshal(b, m, deterministic) -} -func (m *ReadModifyWriteRule) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReadModifyWriteRule.Merge(m, src) -} -func (m *ReadModifyWriteRule) XXX_Size() int { - return xxx_messageInfo_ReadModifyWriteRule.Size(m) -} -func (m *ReadModifyWriteRule) XXX_DiscardUnknown() { - xxx_messageInfo_ReadModifyWriteRule.DiscardUnknown(m) -} - -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() -} - -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_IncrementAmount) isReadModifyWriteRule_Rule() {} - -func (m *ReadModifyWriteRule) GetRule() isReadModifyWriteRule_Rule { - if m != nil { - return m.Rule - } - return nil -} - -func (m *ReadModifyWriteRule) GetAppendValue() []byte { - if x, ok := m.GetRule().(*ReadModifyWriteRule_AppendValue); ok { - return x.AppendValue - } - return nil -} - -func (m *ReadModifyWriteRule) GetIncrementAmount() int64 { - if x, ok := m.GetRule().(*ReadModifyWriteRule_IncrementAmount); ok { - return x.IncrementAmount - } - return 0 -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ReadModifyWriteRule) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ReadModifyWriteRule_AppendValue)(nil), - (*ReadModifyWriteRule_IncrementAmount)(nil), - } -} - -func init() { - proto.RegisterType((*Row)(nil), "google.bigtable.v2.Row") - proto.RegisterType((*Family)(nil), "google.bigtable.v2.Family") - proto.RegisterType((*Column)(nil), "google.bigtable.v2.Column") - proto.RegisterType((*Cell)(nil), "google.bigtable.v2.Cell") - proto.RegisterType((*RowRange)(nil), "google.bigtable.v2.RowRange") - proto.RegisterType((*RowSet)(nil), "google.bigtable.v2.RowSet") - proto.RegisterType((*ColumnRange)(nil), "google.bigtable.v2.ColumnRange") - proto.RegisterType((*TimestampRange)(nil), "google.bigtable.v2.TimestampRange") - proto.RegisterType((*ValueRange)(nil), "google.bigtable.v2.ValueRange") - proto.RegisterType((*RowFilter)(nil), "google.bigtable.v2.RowFilter") - proto.RegisterType((*RowFilter_Chain)(nil), "google.bigtable.v2.RowFilter.Chain") - proto.RegisterType((*RowFilter_Interleave)(nil), "google.bigtable.v2.RowFilter.Interleave") - proto.RegisterType((*RowFilter_Condition)(nil), "google.bigtable.v2.RowFilter.Condition") - proto.RegisterType((*Mutation)(nil), "google.bigtable.v2.Mutation") - proto.RegisterType((*Mutation_SetCell)(nil), "google.bigtable.v2.Mutation.SetCell") - proto.RegisterType((*Mutation_DeleteFromColumn)(nil), "google.bigtable.v2.Mutation.DeleteFromColumn") - proto.RegisterType((*Mutation_DeleteFromFamily)(nil), "google.bigtable.v2.Mutation.DeleteFromFamily") - proto.RegisterType((*Mutation_DeleteFromRow)(nil), "google.bigtable.v2.Mutation.DeleteFromRow") - proto.RegisterType((*ReadModifyWriteRule)(nil), "google.bigtable.v2.ReadModifyWriteRule") -} - -func init() { proto.RegisterFile("google/bigtable/v2/data.proto", fileDescriptor_343df51a8f7aa933) } - -var fileDescriptor_343df51a8f7aa933 = []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, - 0x50, 0x41, 0x31, 0x20, 0x83, 0x92, 0x0a, 0x87, 0x50, 0x54, 0x2c, 0x87, 0x44, 0x90, 0xf3, 0xc4, - 0x65, 0xaa, 0x52, 0xa1, 0x96, 0xb1, 0x34, 0x12, 0x5b, 0x9e, 0xdd, 0x59, 0x76, 0x57, 0x56, 0xf4, - 0x22, 0x70, 0x0d, 0x97, 0xbc, 0x02, 0x77, 0x5c, 0xf2, 0x02, 0xf0, 0x18, 0x3c, 0x00, 0x17, 0xd4, - 0x9c, 0xf6, 0xa0, 0x38, 0xb6, 0x8b, 0xca, 0xdd, 0x6e, 0xf7, 0xf7, 0x7d, 0xdd, 0xd3, 0xd3, 0xd3, - 0x3b, 0x0b, 0x1b, 0x63, 0xce, 0xc7, 0x8c, 0x6e, 0x1f, 0xb8, 0xe3, 0x98, 0x1c, 0x30, 0xba, 0x7d, - 0xd4, 0xdd, 0x1e, 0x92, 0x98, 0x74, 0x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70, 0xa3, 0xec, 0x8f, 0xf2, 0x6d, 0xf3, 0xfc, 0xeb, 0x42, 0xe3, 0xbe, 0x22, 0xef, 0x32, 0x3e, - 0x19, 0x76, 0x7a, 0x26, 0xc6, 0x7e, 0xf7, 0x0f, 0xe3, 0x7a, 0x29, 0x5d, 0x2f, 0x8d, 0xeb, 0xe5, - 0x7e, 0xf7, 0xa0, 0x24, 0xc5, 0x6f, 0xfc, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x05, 0xf7, 0x92, 0x43, - 0x84, 0x0f, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/bytestream/bytestream.pb.go b/vendor/google.golang.org/genproto/googleapis/bytestream/bytestream.pb.go deleted file mode 100644 index 11f5bdd3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/bytestream/bytestream.pb.go +++ /dev/null @@ -1,695 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/bytestream/bytestream.proto - -package bytestream - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/wrappers" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request object for ByteStream.Read. -type ReadRequest struct { - // The name of the resource to read. - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The offset for the first byte to return in the read, relative to the start - // of the resource. - // - // A `read_offset` that is negative or greater than the size of the resource - // will cause an `OUT_OF_RANGE` error. - ReadOffset int64 `protobuf:"varint,2,opt,name=read_offset,json=readOffset,proto3" json:"read_offset,omitempty"` - // The maximum number of `data` bytes the server is allowed to return in the - // sum of all `ReadResponse` messages. A `read_limit` of zero indicates that - // there is no limit, and a negative `read_limit` will cause an error. - // - // If the stream returns fewer bytes than allowed by the `read_limit` and no - // error occurred, the stream includes all data from the `read_offset` to the - // end of the resource. - ReadLimit int64 `protobuf:"varint,3,opt,name=read_limit,json=readLimit,proto3" json:"read_limit,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_657cab877f44cd08, []int{0} -} - -func (m *ReadRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReadRequest.Unmarshal(m, b) -} -func (m *ReadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReadRequest.Marshal(b, m, deterministic) -} -func (m *ReadRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReadRequest.Merge(m, src) -} -func (m *ReadRequest) XXX_Size() int { - return xxx_messageInfo_ReadRequest.Size(m) -} -func (m *ReadRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ReadRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ReadRequest proto.InternalMessageInfo - -func (m *ReadRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *ReadRequest) GetReadOffset() int64 { - if m != nil { - return m.ReadOffset - } - return 0 -} - -func (m *ReadRequest) GetReadLimit() int64 { - if m != nil { - return m.ReadLimit - } - return 0 -} - -// Response object for ByteStream.Read. -type ReadResponse struct { - // A portion of the data for the resource. The service **may** leave `data` - // empty for any given `ReadResponse`. This enables the service to inform the - // client that the request is still live while it is running an operation to - // generate more data. - Data []byte `protobuf:"bytes,10,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_657cab877f44cd08, []int{1} -} - -func (m *ReadResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReadResponse.Unmarshal(m, b) -} -func (m *ReadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReadResponse.Marshal(b, m, deterministic) -} -func (m *ReadResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReadResponse.Merge(m, src) -} -func (m *ReadResponse) XXX_Size() int { - return xxx_messageInfo_ReadResponse.Size(m) -} -func (m *ReadResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ReadResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ReadResponse proto.InternalMessageInfo - -func (m *ReadResponse) GetData() []byte { - if m != nil { - return m.Data - } - return nil -} - -// Request object for ByteStream.Write. -type WriteRequest struct { - // The name of the resource to write. This **must** be set on the first - // `WriteRequest` of each `Write()` action. If it is set on subsequent calls, - // it **must** match the value of the first request. - ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The offset from the beginning of the resource at which the data should be - // written. It is required on all `WriteRequest`s. - // - // In the first `WriteRequest` of a `Write()` action, it indicates - // the initial offset for the `Write()` call. The value **must** be equal to - // the `committed_size` that a call to `QueryWriteStatus()` would return. - // - // On subsequent calls, this value **must** be set and **must** be equal to - // the sum of the first `write_offset` and the sizes of all `data` bundles - // sent previously on this stream. - // - // An incorrect value will cause an error. - WriteOffset int64 `protobuf:"varint,2,opt,name=write_offset,json=writeOffset,proto3" json:"write_offset,omitempty"` - // If `true`, this indicates that the write is complete. Sending any - // `WriteRequest`s subsequent to one in which `finish_write` is `true` will - // cause an error. - FinishWrite bool `protobuf:"varint,3,opt,name=finish_write,json=finishWrite,proto3" json:"finish_write,omitempty"` - // A portion of the data for the resource. The client **may** leave `data` - // empty for any given `WriteRequest`. This enables the client to inform the - // service that the request is still live while it is running an operation to - // generate more data. - Data []byte `protobuf:"bytes,10,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_657cab877f44cd08, []int{2} -} - -func (m *WriteRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WriteRequest.Unmarshal(m, b) -} -func (m *WriteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WriteRequest.Marshal(b, m, deterministic) -} -func (m *WriteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WriteRequest.Merge(m, src) -} -func (m *WriteRequest) XXX_Size() int { - return xxx_messageInfo_WriteRequest.Size(m) -} -func (m *WriteRequest) XXX_DiscardUnknown() { - xxx_messageInfo_WriteRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_WriteRequest proto.InternalMessageInfo - -func (m *WriteRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *WriteRequest) GetWriteOffset() int64 { - if m != nil { - return m.WriteOffset - } - return 0 -} - -func (m *WriteRequest) GetFinishWrite() bool { - if m != nil { - return m.FinishWrite - } - return false -} - -func (m *WriteRequest) GetData() []byte { - if m != nil { - return m.Data - } - return nil -} - -// Response object for ByteStream.Write. -type WriteResponse struct { - // The number of bytes that have been processed for the given resource. - CommittedSize int64 `protobuf:"varint,1,opt,name=committed_size,json=committedSize,proto3" json:"committed_size,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_657cab877f44cd08, []int{3} -} - -func (m *WriteResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WriteResponse.Unmarshal(m, b) -} -func (m *WriteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WriteResponse.Marshal(b, m, deterministic) -} -func (m *WriteResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_WriteResponse.Merge(m, src) -} -func (m *WriteResponse) XXX_Size() int { - return xxx_messageInfo_WriteResponse.Size(m) -} -func (m *WriteResponse) XXX_DiscardUnknown() { - xxx_messageInfo_WriteResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_WriteResponse proto.InternalMessageInfo - -func (m *WriteResponse) GetCommittedSize() int64 { - if m != nil { - return m.CommittedSize - } - return 0 -} - -// Request object for ByteStream.QueryWriteStatus. -type QueryWriteStatusRequest struct { - // The name of the resource whose write status is being requested. - 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 *QueryWriteStatusRequest) Reset() { *m = QueryWriteStatusRequest{} } -func (m *QueryWriteStatusRequest) String() string { return proto.CompactTextString(m) } -func (*QueryWriteStatusRequest) ProtoMessage() {} -func (*QueryWriteStatusRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_657cab877f44cd08, []int{4} -} - -func (m *QueryWriteStatusRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryWriteStatusRequest.Unmarshal(m, b) -} -func (m *QueryWriteStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryWriteStatusRequest.Marshal(b, m, deterministic) -} -func (m *QueryWriteStatusRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryWriteStatusRequest.Merge(m, src) -} -func (m *QueryWriteStatusRequest) XXX_Size() int { - return xxx_messageInfo_QueryWriteStatusRequest.Size(m) -} -func (m *QueryWriteStatusRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryWriteStatusRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryWriteStatusRequest proto.InternalMessageInfo - -func (m *QueryWriteStatusRequest) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -// Response object for ByteStream.QueryWriteStatus. -type QueryWriteStatusResponse struct { - // The number of bytes that have been processed for the given resource. - CommittedSize int64 `protobuf:"varint,1,opt,name=committed_size,json=committedSize,proto3" json:"committed_size,omitempty"` - // `complete` is `true` only if the client has sent a `WriteRequest` with - // `finish_write` set to true, and the server has processed that request. - Complete bool `protobuf:"varint,2,opt,name=complete,proto3" json:"complete,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *QueryWriteStatusResponse) Reset() { *m = QueryWriteStatusResponse{} } -func (m *QueryWriteStatusResponse) String() string { return proto.CompactTextString(m) } -func (*QueryWriteStatusResponse) ProtoMessage() {} -func (*QueryWriteStatusResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_657cab877f44cd08, []int{5} -} - -func (m *QueryWriteStatusResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryWriteStatusResponse.Unmarshal(m, b) -} -func (m *QueryWriteStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryWriteStatusResponse.Marshal(b, m, deterministic) -} -func (m *QueryWriteStatusResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryWriteStatusResponse.Merge(m, src) -} -func (m *QueryWriteStatusResponse) XXX_Size() int { - return xxx_messageInfo_QueryWriteStatusResponse.Size(m) -} -func (m *QueryWriteStatusResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryWriteStatusResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryWriteStatusResponse proto.InternalMessageInfo - -func (m *QueryWriteStatusResponse) GetCommittedSize() int64 { - if m != nil { - return m.CommittedSize - } - return 0 -} - -func (m *QueryWriteStatusResponse) GetComplete() bool { - if m != nil { - return m.Complete - } - return false -} - -func init() { - proto.RegisterType((*ReadRequest)(nil), "google.bytestream.ReadRequest") - proto.RegisterType((*ReadResponse)(nil), "google.bytestream.ReadResponse") - proto.RegisterType((*WriteRequest)(nil), "google.bytestream.WriteRequest") - proto.RegisterType((*WriteResponse)(nil), "google.bytestream.WriteResponse") - proto.RegisterType((*QueryWriteStatusRequest)(nil), "google.bytestream.QueryWriteStatusRequest") - proto.RegisterType((*QueryWriteStatusResponse)(nil), "google.bytestream.QueryWriteStatusResponse") -} - -func init() { proto.RegisterFile("google/bytestream/bytestream.proto", fileDescriptor_657cab877f44cd08) } - -var fileDescriptor_657cab877f44cd08 = []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, - 0x0a, 0x33, 0xa2, 0xe0, 0xcb, 0x82, 0x0f, 0x7d, 0x13, 0x16, 0x2f, 0xd9, 0x07, 0x41, 0x90, 0x21, - 0x6d, 0x4f, 0xc7, 0x60, 0x93, 0x8c, 0x49, 0x86, 0xa5, 0xfb, 0x1f, 0x7c, 0xf1, 0x17, 0x4b, 0x92, - 0xb1, 0x1d, 0x6d, 0x0b, 0xdb, 0xb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c, 0x09, 0x00, 0x00, 0xff, 0xff, 0x8f, 0x91, 0x09, 0xd4, 0xf8, 0x03, 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 - -// ByteStreamClient is the client API for ByteStream service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ByteStreamClient interface { - // `Read()` is used to retrieve the contents of a resource as a sequence - // of bytes. The bytes are returned in a sequence of responses, and the - // responses are delivered as the results of a server-side streaming RPC. - Read(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (ByteStream_ReadClient, error) - // `Write()` is used to send the contents of a resource as a sequence of - // bytes. The bytes are sent in a sequence of request protos of a client-side - // streaming RPC. - // - // A `Write()` action is resumable. If there is an error or the connection is - // broken during the `Write()`, the client should check the status of the - // `Write()` by calling `QueryWriteStatus()` and continue writing from the - // returned `committed_size`. This may be less than the amount of data the - // client previously sent. - // - // Calling `Write()` on a resource name that was previously written and - // finalized could cause an error, depending on whether the underlying service - // allows over-writing of previously written resources. - // - // When the client closes the request channel, the service will respond with - // a `WriteResponse`. The service will not view the resource as `complete` - // until the client has sent a `WriteRequest` with `finish_write` set to - // `true`. Sending any requests on a stream after sending a request with - // `finish_write` set to `true` will cause an error. The client **should** - // check the `WriteResponse` it receives to determine how much data the - // service was able to commit and whether the service views the resource as - // `complete` or not. - Write(ctx context.Context, opts ...grpc.CallOption) (ByteStream_WriteClient, error) - // `QueryWriteStatus()` is used to find the `committed_size` for a resource - // that is being written, which can then be used as the `write_offset` for - // the next `Write()` call. - // - // If the resource does not exist (i.e., the resource has been deleted, or the - // first `Write()` has not yet reached the service), this method returns the - // error `NOT_FOUND`. - // - // The client **may** call `QueryWriteStatus()` at any time to determine how - // much data has been processed for this resource. This is useful if the - // client is buffering data and needs to know which data can be safely - // evicted. For any sequence of `QueryWriteStatus()` calls for a given - // resource name, the sequence of returned `committed_size` values will be - // non-decreasing. - QueryWriteStatus(ctx context.Context, in *QueryWriteStatusRequest, opts ...grpc.CallOption) (*QueryWriteStatusResponse, error) -} - -type byteStreamClient struct { - cc *grpc.ClientConn -} - -func NewByteStreamClient(cc *grpc.ClientConn) ByteStreamClient { - return &byteStreamClient{cc} -} - -func (c *byteStreamClient) Read(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (ByteStream_ReadClient, error) { - stream, err := c.cc.NewStream(ctx, &_ByteStream_serviceDesc.Streams[0], "/google.bytestream.ByteStream/Read", opts...) - if err != nil { - return nil, err - } - x := &byteStreamReadClient{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 ByteStream_ReadClient interface { - Recv() (*ReadResponse, error) - grpc.ClientStream -} - -type byteStreamReadClient struct { - grpc.ClientStream -} - -func (x *byteStreamReadClient) Recv() (*ReadResponse, error) { - m := new(ReadResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *byteStreamClient) Write(ctx context.Context, opts ...grpc.CallOption) (ByteStream_WriteClient, error) { - stream, err := c.cc.NewStream(ctx, &_ByteStream_serviceDesc.Streams[1], "/google.bytestream.ByteStream/Write", opts...) - if err != nil { - return nil, err - } - x := &byteStreamWriteClient{stream} - return x, nil -} - -type ByteStream_WriteClient interface { - Send(*WriteRequest) error - CloseAndRecv() (*WriteResponse, error) - grpc.ClientStream -} - -type byteStreamWriteClient struct { - grpc.ClientStream -} - -func (x *byteStreamWriteClient) Send(m *WriteRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *byteStreamWriteClient) CloseAndRecv() (*WriteResponse, error) { - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - m := new(WriteResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *byteStreamClient) QueryWriteStatus(ctx context.Context, in *QueryWriteStatusRequest, opts ...grpc.CallOption) (*QueryWriteStatusResponse, error) { - out := new(QueryWriteStatusResponse) - err := c.cc.Invoke(ctx, "/google.bytestream.ByteStream/QueryWriteStatus", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ByteStreamServer is the server API for ByteStream service. -type ByteStreamServer interface { - // `Read()` is used to retrieve the contents of a resource as a sequence - // of bytes. The bytes are returned in a sequence of responses, and the - // responses are delivered as the results of a server-side streaming RPC. - Read(*ReadRequest, ByteStream_ReadServer) error - // `Write()` is used to send the contents of a resource as a sequence of - // bytes. The bytes are sent in a sequence of request protos of a client-side - // streaming RPC. - // - // A `Write()` action is resumable. If there is an error or the connection is - // broken during the `Write()`, the client should check the status of the - // `Write()` by calling `QueryWriteStatus()` and continue writing from the - // returned `committed_size`. This may be less than the amount of data the - // client previously sent. - // - // Calling `Write()` on a resource name that was previously written and - // finalized could cause an error, depending on whether the underlying service - // allows over-writing of previously written resources. - // - // When the client closes the request channel, the service will respond with - // a `WriteResponse`. The service will not view the resource as `complete` - // until the client has sent a `WriteRequest` with `finish_write` set to - // `true`. Sending any requests on a stream after sending a request with - // `finish_write` set to `true` will cause an error. The client **should** - // check the `WriteResponse` it receives to determine how much data the - // service was able to commit and whether the service views the resource as - // `complete` or not. - Write(ByteStream_WriteServer) error - // `QueryWriteStatus()` is used to find the `committed_size` for a resource - // that is being written, which can then be used as the `write_offset` for - // the next `Write()` call. - // - // If the resource does not exist (i.e., the resource has been deleted, or the - // first `Write()` has not yet reached the service), this method returns the - // error `NOT_FOUND`. - // - // The client **may** call `QueryWriteStatus()` at any time to determine how - // much data has been processed for this resource. This is useful if the - // client is buffering data and needs to know which data can be safely - // evicted. For any sequence of `QueryWriteStatus()` calls for a given - // resource name, the sequence of returned `committed_size` values will be - // non-decreasing. - QueryWriteStatus(context.Context, *QueryWriteStatusRequest) (*QueryWriteStatusResponse, error) -} - -// UnimplementedByteStreamServer can be embedded to have forward compatible implementations. -type UnimplementedByteStreamServer struct { -} - -func (*UnimplementedByteStreamServer) Read(req *ReadRequest, srv ByteStream_ReadServer) error { - return status.Errorf(codes.Unimplemented, "method Read not implemented") -} -func (*UnimplementedByteStreamServer) Write(srv ByteStream_WriteServer) error { - return status.Errorf(codes.Unimplemented, "method Write not implemented") -} -func (*UnimplementedByteStreamServer) QueryWriteStatus(ctx context.Context, req *QueryWriteStatusRequest) (*QueryWriteStatusResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method QueryWriteStatus not implemented") -} - -func RegisterByteStreamServer(s *grpc.Server, srv ByteStreamServer) { - s.RegisterService(&_ByteStream_serviceDesc, srv) -} - -func _ByteStream_Read_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ReadRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(ByteStreamServer).Read(m, &byteStreamReadServer{stream}) -} - -type ByteStream_ReadServer interface { - Send(*ReadResponse) error - grpc.ServerStream -} - -type byteStreamReadServer struct { - grpc.ServerStream -} - -func (x *byteStreamReadServer) Send(m *ReadResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _ByteStream_Write_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(ByteStreamServer).Write(&byteStreamWriteServer{stream}) -} - -type ByteStream_WriteServer interface { - SendAndClose(*WriteResponse) error - Recv() (*WriteRequest, error) - grpc.ServerStream -} - -type byteStreamWriteServer struct { - grpc.ServerStream -} - -func (x *byteStreamWriteServer) SendAndClose(m *WriteResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *byteStreamWriteServer) Recv() (*WriteRequest, error) { - m := new(WriteRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _ByteStream_QueryWriteStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryWriteStatusRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ByteStreamServer).QueryWriteStatus(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.bytestream.ByteStream/QueryWriteStatus", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ByteStreamServer).QueryWriteStatus(ctx, req.(*QueryWriteStatusRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ByteStream_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.bytestream.ByteStream", - HandlerType: (*ByteStreamServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "QueryWriteStatus", - Handler: _ByteStream_QueryWriteStatus_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "Read", - Handler: _ByteStream_Read_Handler, - ServerStreams: true, - }, - { - StreamName: "Write", - Handler: _ByteStream_Write_Handler, - ClientStreams: true, - }, - }, - Metadata: "google/bytestream/bytestream.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/asset/v1/asset_service.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/asset/v1/asset_service.pb.go deleted file mode 100644 index 6abac1be..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/asset/v1/asset_service.pb.go +++ /dev/null @@ -1,667 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/asset/v1/asset_service.proto - -package asset - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // 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_5104159f18b2092a, []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"), - // or a folder number (such as "folders/123"). - 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 - // between 2018-10-02 UTC (inclusive) and 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: - // "compute.googleapis.com/Disk". If specified, only matching assets will be returned. - // See [Introduction to Cloud Asset - // Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview) - // for all supported asset types. - 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.v1.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_5104159f18b2092a, []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 (m *ExportAssetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportAssetsRequest.Merge(m, 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_5104159f18b2092a, []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 (m *ExportAssetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportAssetsResponse.Merge(m, 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) - // and [Resource Name Format](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/resource-name-format) - // 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.v1.ContentType" json:"content_type,omitempty"` - // Optional. The time window for the asset history. Both start_time and - // end_time are optional and if set, it must be after 2018-10-02 UTC. If - // end_time is not set, it is default to current timestamp. If start_time is - // not set, the snapshot of the assets at end_time will be returned. 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_5104159f18b2092a, []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 (m *BatchGetAssetsHistoryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchGetAssetsHistoryRequest.Merge(m, 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_5104159f18b2092a, []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 (m *BatchGetAssetsHistoryResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchGetAssetsHistoryResponse.Merge(m, 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_5104159f18b2092a, []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 (m *OutputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_OutputConfig.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*OutputConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*OutputConfig_GcsDestination)(nil), - } -} - -// A Cloud Storage location. -type GcsDestination struct { - // Required. - // - // Types that are valid to be assigned to ObjectUri: - // *GcsDestination_Uri - ObjectUri isGcsDestination_ObjectUri `protobuf_oneof:"object_uri"` - 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_5104159f18b2092a, []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 (m *GcsDestination) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcsDestination.Merge(m, 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 - -type isGcsDestination_ObjectUri interface { - isGcsDestination_ObjectUri() -} - -type GcsDestination_Uri struct { - Uri string `protobuf:"bytes,1,opt,name=uri,proto3,oneof"` -} - -func (*GcsDestination_Uri) isGcsDestination_ObjectUri() {} - -func (m *GcsDestination) GetObjectUri() isGcsDestination_ObjectUri { - if m != nil { - return m.ObjectUri - } - return nil -} - -func (m *GcsDestination) GetUri() string { - if x, ok := m.GetObjectUri().(*GcsDestination_Uri); ok { - return x.Uri - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*GcsDestination) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*GcsDestination_Uri)(nil), - } -} - -func init() { - proto.RegisterEnum("google.cloud.asset.v1.ContentType", ContentType_name, ContentType_value) - proto.RegisterType((*ExportAssetsRequest)(nil), "google.cloud.asset.v1.ExportAssetsRequest") - proto.RegisterType((*ExportAssetsResponse)(nil), "google.cloud.asset.v1.ExportAssetsResponse") - proto.RegisterType((*BatchGetAssetsHistoryRequest)(nil), "google.cloud.asset.v1.BatchGetAssetsHistoryRequest") - proto.RegisterType((*BatchGetAssetsHistoryResponse)(nil), "google.cloud.asset.v1.BatchGetAssetsHistoryResponse") - proto.RegisterType((*OutputConfig)(nil), "google.cloud.asset.v1.OutputConfig") - proto.RegisterType((*GcsDestination)(nil), "google.cloud.asset.v1.GcsDestination") -} - -func init() { - proto.RegisterFile("google/cloud/asset/v1/asset_service.proto", fileDescriptor_5104159f18b2092a) -} - -var fileDescriptor_5104159f18b2092a = []byte{ - // 739 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xc1, 0x6e, 0xd3, 0x4a, - 0x14, 0xad, 0x9d, 0xf7, 0xaa, 0x76, 0x92, 0xe6, 0xe5, 0xcd, 0x7b, 0x45, 0x26, 0x6a, 0xd5, 0xe0, - 0x02, 0x0a, 0x59, 0xd8, 0x4a, 0x8a, 0x84, 0x54, 0x60, 0xd1, 0xa4, 0xa6, 0x89, 0x80, 0x24, 0x72, - 0xd3, 0xa2, 0xa2, 0x22, 0xcb, 0x71, 0xa6, 0xc6,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60, 0xaf, - 0xc5, 0x2d, 0xbc, 0x5f, 0xd1, 0x2b, 0x6f, 0xd6, 0x51, 0x82, 0x6c, 0x5d, 0xaa, 0xc0, 0x2f, 0x12, - 0x58, 0x9c, 0x6a, 0x33, 0x5c, 0x4b, 0x19, 0xe7, 0xbc, 0x17, 0x50, 0xbc, 0x7d, 0xb1, 0x22, 0x71, - 0x93, 0x54, 0x8d, 0x8f, 0x5b, 0x86, 0x37, 0xcf, 0x8c, 0xdb, 0x9f, 0x56, 0x57, 0xff, 0x24, 0x81, - 0xab, 0x0e, 0x19, 0x4d, 0xef, 0x55, 0xff, 0x37, 0x29, 0x73, 0x37, 0x5a, 0x0d, 0x5d, 0xe9, 0xe9, - 0x7a, 0x8c, 0x75, 0xc9, 0xd0, 0xc6, 0xae, 0x46, 0x02, 0x57, 0x77, 0x11, 0xe6, 0x8b, 0x43, 0x17, - 0xbf, 0x6c, 0xdf, 0xa3, 0xbf, 0xed, 0xfe, 0xbb, 0xfc, 0xe3, 0xb3, 0xbc, 0xb8, 0x25, 0x8a, 0x1b, - 0xbc, 0x11, 0xa7, 0xd7, 0x76, 0xab, 0xdf, 0xc6, 0xf9, 0x7d, 0x9e, 0xdf, 0xe7, 0xf9, 0xfd, 0xdd, - 0x6a, 0x7f, 0x96, 0xd3, 0xae, 0xfd, 0x0a, 0x00, 0x00, 0xff, 0xff, 0xd0, 0xb5, 0xf3, 0x28, 0xb1, - 0x06, 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 - -// 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. - // If a specified asset does not exist, this API returns an INVALID_ARGUMENT - // error. - 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.v1.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.v1.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. - // If a specified asset does not exist, this API returns an INVALID_ARGUMENT - // error. - BatchGetAssetsHistory(context.Context, *BatchGetAssetsHistoryRequest) (*BatchGetAssetsHistoryResponse, error) -} - -// UnimplementedAssetServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAssetServiceServer struct { -} - -func (*UnimplementedAssetServiceServer) ExportAssets(ctx context.Context, req *ExportAssetsRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ExportAssets not implemented") -} -func (*UnimplementedAssetServiceServer) BatchGetAssetsHistory(ctx context.Context, req *BatchGetAssetsHistoryRequest) (*BatchGetAssetsHistoryResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method BatchGetAssetsHistory not implemented") -} - -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.v1.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.v1.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.v1.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/v1/asset_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/asset/v1/assets.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/asset/v1/assets.pb.go deleted file mode 100644 index 16a47429..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/asset/v1/assets.pb.go +++ /dev/null @@ -1,366 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/asset/v1/assets.proto - -package asset - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/any" - _struct "github.com/golang/protobuf/ptypes/struct" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - 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.ProtoPackageIsVersion3 // 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_e71186cd3ee2fb90, []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 (m *TemporalAsset) XXX_Merge(src proto.Message) { - xxx_messageInfo_TemporalAsset.Merge(m, 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 (exclusive). - StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // End time of the time window (inclusive). - // 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_e71186cd3ee2fb90, []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 (m *TimeWindow) XXX_Merge(src proto.Message) { - xxx_messageInfo_TimeWindow.Merge(m, 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: "compute.googleapis.com/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_e71186cd3ee2fb90, []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 (m *Asset) XXX_Merge(src proto.Message) { - xxx_messageInfo_Asset.Merge(m, 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_e71186cd3ee2fb90, []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 (m *Resource) XXX_Merge(src proto.Message) { - xxx_messageInfo_Resource.Merge(m, 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.v1.TemporalAsset") - proto.RegisterType((*TimeWindow)(nil), "google.cloud.asset.v1.TimeWindow") - proto.RegisterType((*Asset)(nil), "google.cloud.asset.v1.Asset") - proto.RegisterType((*Resource)(nil), "google.cloud.asset.v1.Resource") -} - -func init() { proto.RegisterFile("google/cloud/asset/v1/assets.proto", fileDescriptor_e71186cd3ee2fb90) } - -var fileDescriptor_e71186cd3ee2fb90 = []byte{ - // 541 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x53, 0xdf, 0x6a, 0xdb, 0x3c, - 0x14, 0xc7, 0x69, 0x92, 0xc6, 0xa7, 0x5f, 0xbf, 0x0b, 0xb1, 0x74, 0x6e, 0xc8, 0x68, 0x6b, 0x18, - 0x14, 0x06, 0x36, 0xe9, 0xba, 0x8b, 0xae, 0x57, 0xeb, 0x06, 0xbb, 0x1b, 0x41, 0x4b, 0x3b, 0x18, - 0x01, 0xa3, 0xda, 0x9a, 0x11, 0xd8, 0x92, 0x91, 0xe5, 0x94, 0xdc, 0xec, 0x2d, 0x06, 0x7b, 0x86, - 0xc1, 0x5e, 0x64, 0x6f, 0xb2, 0xb7, 0x18, 0x3e, 0x92, 0x53, 0xc8, 0x5a, 0x76, 0xa7, 0x73, 0x7e, - 0x7f, 0x74, 0x7e, 0x47, 0x36, 0x84, 0xb9, 0x52, 0x79, 0xc1, 0xe3, 0xb4, 0x50, 0x4d, 0x16, 0xb3, - 0xba, 0xe6, 0x26, 0x5e, 0xcd, 0xec, 0xa1, 0x8e, 0x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0xb3, 0xcd, 0x5b, 0xe5, 0xdc, 0xfb, 0xfc, 0xda, 0x91, 0x72, - 0x55, 0x30, 0x99, 0x47, 0x4a, 0xe7, 0x71, 0xce, 0x25, 0xfa, 0xc6, 0x16, 0x62, 0x95, 0xa8, 0xb7, - 0x7e, 0xe8, 0x4b, 0x3c, 0xfc, 0xe8, 0x8d, 0xdf, 0x5b, 0xf1, 0x5b, 0xbc, 0x01, 0x7d, 0xa3, 0x9b, - 0xd9, 0xaf, 0xae, 0xbf, 0xc4, 0xfe, 0x12, 0xfb, 0xcb, 0x9b, 0xd9, 0xed, 0x10, 0x6d, 0x5f, 0xfe, - 0x09, 0x00, 0x00, 0xff, 0xff, 0x66, 0xec, 0xa8, 0x3b, 0x26, 0x04, 0x00, 0x00, -} 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 deleted file mode 100644 index 7d5f95d5..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/asset/v1beta1/asset_service.pb.go +++ /dev/null @@ -1,669 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/asset/v1beta1/asset_service.proto - -package asset - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // 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_565cfbddaa85b7d6, []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"), a project number (such as "projects/12345"), or - // a folder number (such as "folders/123"). - 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 - // between 2018-10-02 UTC (inclusive) and 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. - // See [Introduction to Cloud Asset - // Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview) - // for all supported asset types. - 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_565cfbddaa85b7d6, []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 (m *ExportAssetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportAssetsRequest.Merge(m, 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_565cfbddaa85b7d6, []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 (m *ExportAssetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportAssetsResponse.Merge(m, 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"` - // Optional. The time window for the asset history. Both start_time and - // end_time are optional and if set, it must be after 2018-10-02 UTC. If - // end_time is not set, it is default to current timestamp. If start_time is - // not set, the snapshot of the assets at end_time will be returned. 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_565cfbddaa85b7d6, []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 (m *BatchGetAssetsHistoryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchGetAssetsHistoryRequest.Merge(m, 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_565cfbddaa85b7d6, []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 (m *BatchGetAssetsHistoryResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchGetAssetsHistoryResponse.Merge(m, 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_565cfbddaa85b7d6, []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 (m *OutputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_OutputConfig.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*OutputConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*OutputConfig_GcsDestination)(nil), - } -} - -// A Cloud Storage location. -type GcsDestination struct { - // Required. - // - // Types that are valid to be assigned to ObjectUri: - // *GcsDestination_Uri - ObjectUri isGcsDestination_ObjectUri `protobuf_oneof:"object_uri"` - 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_565cfbddaa85b7d6, []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 (m *GcsDestination) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcsDestination.Merge(m, 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 - -type isGcsDestination_ObjectUri interface { - isGcsDestination_ObjectUri() -} - -type GcsDestination_Uri struct { - Uri string `protobuf:"bytes,1,opt,name=uri,proto3,oneof"` -} - -func (*GcsDestination_Uri) isGcsDestination_ObjectUri() {} - -func (m *GcsDestination) GetObjectUri() isGcsDestination_ObjectUri { - if m != nil { - return m.ObjectUri - } - return nil -} - -func (m *GcsDestination) GetUri() string { - if x, ok := m.GetObjectUri().(*GcsDestination_Uri); ok { - return x.Uri - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*GcsDestination) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*GcsDestination_Uri)(nil), - } -} - -func init() { - proto.RegisterEnum("google.cloud.asset.v1beta1.ContentType", ContentType_name, ContentType_value) - 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") -} - -func init() { - proto.RegisterFile("google/cloud/asset/v1beta1/asset_service.proto", fileDescriptor_565cfbddaa85b7d6) -} - -var fileDescriptor_565cfbddaa85b7d6 = []byte{ - // 793 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0xcd, 0x6e, 0xd3, 0x4a, - 0x14, 0xae, 0x9d, 0xde, 0xaa, 0x9d, 0xa4, 0xb9, 0xb9, 0x73, 0x7f, 0x64, 0x45, 0xed, 0x6d, 0x64, - 0x24, 0x9a, 0x46, 0xc2, 0x56, 0xd3, 0x45, 0x69, 0x11, 0x42, 0x4d, 0x1a, 0xda, 0x20, 0x9a, 0x44, - 0x6e, 0x5a, 0xd4, 0xaa, 0x92, 0xe5, 0x38, 0x53, 0x63, 0x94, 0xcc, 0x18, 0xcf, 0xb8, 0xa5, 0x20, - 0x36, 0xf0, 0x04, 0xc0, 0x8a, 0x0d, 0x0b, 0x96, 0xac, 0x78, 0x0e, 0xb6, 0xbc, 0x02, 0xaf, 0xc0, - 0x86, 0x15, 0xf2, 0x8c, 0xd3, 0x3a, 0x4a, 0xea, 0x0a, 0xba, 0x3c, 0x33, 0xdf, 0xf7, 0x9d, 0x33, - 0xdf, 0x99, 0x39, 0x03, 0x34, 0x87, 0x10, 0xa7, 0x87, 0x74, 0xbb, 0x47, 0x82, 0xae, 0x6e, 0x51, - 0x8a, 0x98, 0x7e, 0xb2, 0xdc, 0x41, 0xcc, 0x5a, 0x16, 0x91, 0x49, 0x91, 0x7f, 0xe2, 0xda, 0x48, - 0xf3, 0x7c, 0xc2, 0x08, 0xcc, 0x0b, 0xbc, 0xc6, 0xf1, 0x1a, 0x47, 0x68, 0x11, 0x3e, 0x3f, 0x17, - 0x69, 0x59, 0x9e, 0xab, 0x5b, 0x18, 0x13, 0x66, 0x31, 0x97, 0x60, 0x2a, 0x98, 0xf9, 0xc5, 0xab, - 0x32, 0x0d, 0x80, 0x37, 0x22, 0x60, 0x8f, 0x60, 0xc7, 0x0f, 0x30, 0x76, 0xb1, 0xa3, 0x13, 0x0f, - 0xf9, 0x43, 0x6a, 0x0b, 0x11, 0x88, 0x47, 0x9d, 0xe0, 0x58, 0x67, 0x6e, 0x1f, 0x51, 0x66, 0xf5, - 0x3d, 0x01, 0x50, 0x3f, 0xca, 0xe0, 0xef, 0xda, 0x33, 0x8f, 0xf8, 0x6c, 0x83, 0x8b, 0x1b, 0xe8, - 0x69, 0x80, 0x28, 0x83, 0xff, 0x81, 0x29, 0xcf, 0xf2, 0x11, 0x66, 0x8a, 0x54, 0x90, 0x8a, 0x33, - 0x46, 0x14, 0xc1, 0x55, 0x30, 0xe3, 0x23, 0xab, 0x6b, 0x86, 0x3a, 0x8a, 0x5c, 0x90, 0x8a, 0xe9, - 0x72, 0x3e, 0x32, 0x47, 0x1b, 0x24, 0xd1, 0xda, 0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 0xe9, 0x7c, 0xde, 0xbd, 0x10, 0xb7, 0xf4, 0xae, 0xe7, - 0x93, 0xf0, 0x90, 0x54, 0x2f, 0xbd, 0x5c, 0x47, 0x31, 0xe9, 0x75, 0xa9, 0x74, 0x78, 0x4b, 0x2d, - 0x8e, 0xe0, 0x8f, 0x49, 0xaf, 0x8b, 0xfc, 0xb1, 0xf0, 0x15, 0x55, 0x1b, 0x81, 0x13, 0xdf, 0xb1, - 0xb0, 0xfb, 0x5c, 0x0c, 0xce, 0x31, 0x24, 0xf8, 0x5a, 0x06, 0xff, 0x8e, 0xbd, 0x67, 0xf0, 0x76, - 0x92, 0x0b, 0x49, 0x2f, 0x32, 0xbf, 0xf6, 0x1b, 0x4c, 0x71, 0xa9, 0xd5, 0x80, 0x3b, 0x45, 0x60, - 0x39, 0xd1, 0xa8, 0xce, 0x38, 0x8d, 0xc3, 0x35, 0xb8, 0x7a, 0xf5, 0xf9, 0xc7, 0x52, 0x2b, 0x9f, - 0x25, 0xf0, 0xbf, 0x4d, 0xfa, 0x09, 0x75, 0x57, 0xfe, 0x8a, 0xdf, 0x99, 0x56, 0x38, 0x00, 0x5b, - 0xd2, 0xe1, 0xbd, 0x88, 0xe0, 0x90, 0x9e, 0x85, 0x1d, 0x8d, 0xf8, 0x8e, 0xee, 0x20, 0xcc, 0xc7, - 0xa3, 0x2e, 0xb6, 0x2c, 0xcf, 0xa5, 0xe3, 0x3e, 0xbc, 0x3b, 0x3c, 0xfa, 0x24, 0xe7, 0xb7, 0x84, - 0x42, 0x95, 0xa7, 0xe4, 0x39, 0xb4, 0xfd, 0xe5, 0x4a, 0x08, 0xf9, 0x32, 0xd8, 0x3c, 0xe2, 0x9b, - 0x47, 0x7c, 0xf3, 0x68, 0x5f, 0xf0, 0x3b, 0x53, 0x3c, 0xcb, 0xca, 0xcf, 0x00, 0x00, 0x00, 0xff, - 0xff, 0xc4, 0xf2, 0x88, 0x01, 0xbf, 0x07, 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 - -// 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) -} - -// UnimplementedAssetServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAssetServiceServer struct { -} - -func (*UnimplementedAssetServiceServer) ExportAssets(ctx context.Context, req *ExportAssetsRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ExportAssets not implemented") -} -func (*UnimplementedAssetServiceServer) BatchGetAssetsHistory(ctx context.Context, req *BatchGetAssetsHistoryRequest) (*BatchGetAssetsHistoryResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method BatchGetAssetsHistory not implemented") -} - -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", -} 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 deleted file mode 100644 index b7765990..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/asset/v1beta1/assets.pb.go +++ /dev/null @@ -1,369 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/asset/v1beta1/assets.proto - -package asset - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/any" - _struct "github.com/golang/protobuf/ptypes/struct" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - 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.ProtoPackageIsVersion3 // 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_2e0a79b6d8a101c1, []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 (m *TemporalAsset) XXX_Merge(src proto.Message) { - xxx_messageInfo_TemporalAsset.Merge(m, 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 (exclusive). - StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // End time of the time window (inclusive). - // 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_2e0a79b6d8a101c1, []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 (m *TimeWindow) XXX_Merge(src proto.Message) { - xxx_messageInfo_TimeWindow.Merge(m, 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_2e0a79b6d8a101c1, []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 (m *Asset) XXX_Merge(src proto.Message) { - xxx_messageInfo_Asset.Merge(m, 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_2e0a79b6d8a101c1, []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 (m *Resource) XXX_Merge(src proto.Message) { - xxx_messageInfo_Resource.Merge(m, 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_2e0a79b6d8a101c1) -} - -var fileDescriptor_2e0a79b6d8a101c1 = []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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, 0xd6, 0x39, 0xce, 0xee, 0xd3, 0xdd, - 0x6e, 0xed, 0x54, 0xe7, 0x64, 0x1f, 0x06, 0x25, 0xd3, 0x5c, 0x9a, 0xa0, 0x8f, 0xa4, 0x43, 0xe4, - 0x21, 0xf4, 0x52, 0x66, 0x58, 0x30, 0xc0, 0xba, 0x37, 0xfe, 0xb8, 0xa6, 0x0f, 0xf8, 0xcc, 0x29, - 0x8a, 0xa6, 0xdf, 0x3c, 0xb8, 0x9d, 0xa8, 0x62, 0xc3, 0xb9, 0x4e, 0x01, 0x2f, 0x70, 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/asset/v1p2beta1/asset_service.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/asset/v1p2beta1/asset_service.pb.go deleted file mode 100644 index 15624f16..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/asset/v1p2beta1/asset_service.pb.go +++ /dev/null @@ -1,1519 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/asset/v1p2beta1/asset_service.proto - -package asset - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // 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 - // The IAM policy name for the IAM policy set on a resource. - ContentType_IAM_POLICY_NAME ContentType = 3 - ContentType_ORG_POLICY ContentType = 4 - // The Cloud Access context mananger Policy set on an asset. - ContentType_ACCESS_POLICY ContentType = 5 -) - -var ContentType_name = map[int32]string{ - 0: "CONTENT_TYPE_UNSPECIFIED", - 1: "RESOURCE", - 2: "IAM_POLICY", - 3: "IAM_POLICY_NAME", - 4: "ORG_POLICY", - 5: "ACCESS_POLICY", -} - -var ContentType_value = map[string]int32{ - "CONTENT_TYPE_UNSPECIFIED": 0, - "RESOURCE": 1, - "IAM_POLICY": 2, - "IAM_POLICY_NAME": 3, - "ORG_POLICY": 4, - "ACCESS_POLICY": 5, -} - -func (x ContentType) String() string { - return proto.EnumName(ContentType_name, int32(x)) -} - -func (ContentType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_266ed218574f68b8, []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 - // between 2018-10-02 UTC (inclusive) and 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: - // "compute.googleapis.com/Disk". If specified, only matching assets will be - // returned. See [Introduction to Cloud Asset - // Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview) - // for all supported asset types. - 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.v1p2beta1.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_266ed218574f68b8, []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 (m *ExportAssetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportAssetsRequest.Merge(m, 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_266ed218574f68b8, []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 (m *ExportAssetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportAssetsResponse.Merge(m, 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) - // and [Resource Name - // Format](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/resource-name-format) - // 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.v1p2beta1.ContentType" json:"content_type,omitempty"` - // Optional. The time window for the asset history. Both start_time and - // end_time are optional and if set, it must be after 2018-10-02 UTC. If - // end_time is not set, it is default to current timestamp. If start_time is - // not set, the snapshot of the assets at end_time will be returned. 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_266ed218574f68b8, []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 (m *BatchGetAssetsHistoryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchGetAssetsHistoryRequest.Merge(m, 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_266ed218574f68b8, []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 (m *BatchGetAssetsHistoryResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchGetAssetsHistoryResponse.Merge(m, 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 -} - -// Create asset feed request. -type CreateFeedRequest struct { - // Required. The name of the project/folder/organization where this feed - // should be created in. It can only be an organization number (such as - // "organizations/123"), a folder number (such as "folders/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"` - // Required. This is the client-assigned asset feed identifier and it needs to - // be unique under a specific parent project/folder/organization. - FeedId string `protobuf:"bytes,2,opt,name=feed_id,json=feedId,proto3" json:"feed_id,omitempty"` - // The feed details. The field `name` must be empty and it will be generated - // in the format of: - // projects/project_number/feeds/feed_id - // folders/folder_number/feeds/feed_id - // organizations/organization_number/feeds/feed_id - Feed *Feed `protobuf:"bytes,3,opt,name=feed,proto3" json:"feed,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateFeedRequest) Reset() { *m = CreateFeedRequest{} } -func (m *CreateFeedRequest) String() string { return proto.CompactTextString(m) } -func (*CreateFeedRequest) ProtoMessage() {} -func (*CreateFeedRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_266ed218574f68b8, []int{4} -} - -func (m *CreateFeedRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateFeedRequest.Unmarshal(m, b) -} -func (m *CreateFeedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateFeedRequest.Marshal(b, m, deterministic) -} -func (m *CreateFeedRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateFeedRequest.Merge(m, src) -} -func (m *CreateFeedRequest) XXX_Size() int { - return xxx_messageInfo_CreateFeedRequest.Size(m) -} -func (m *CreateFeedRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateFeedRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateFeedRequest proto.InternalMessageInfo - -func (m *CreateFeedRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateFeedRequest) GetFeedId() string { - if m != nil { - return m.FeedId - } - return "" -} - -func (m *CreateFeedRequest) GetFeed() *Feed { - if m != nil { - return m.Feed - } - return nil -} - -// Get asset feed request. -type GetFeedRequest struct { - // The name of the Feed and it must be in the format of: - // projects/project_number/feeds/feed_id - // folders/folder_number/feeds/feed_id - // organizations/organization_number/feeds/feed_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 *GetFeedRequest) Reset() { *m = GetFeedRequest{} } -func (m *GetFeedRequest) String() string { return proto.CompactTextString(m) } -func (*GetFeedRequest) ProtoMessage() {} -func (*GetFeedRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_266ed218574f68b8, []int{5} -} - -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 (m *GetFeedRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetFeedRequest.Merge(m, 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) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// List asset feeds request. -type ListFeedsRequest struct { - // Required. The parent project/folder/organization whose feeds are to be - // listed. It can only be using project/folder/organization number (such as - // "folders/12345")", or a project ID (such as "projects/my-project-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 *ListFeedsRequest) Reset() { *m = ListFeedsRequest{} } -func (m *ListFeedsRequest) String() string { return proto.CompactTextString(m) } -func (*ListFeedsRequest) ProtoMessage() {} -func (*ListFeedsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_266ed218574f68b8, []int{6} -} - -func (m *ListFeedsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListFeedsRequest.Unmarshal(m, b) -} -func (m *ListFeedsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListFeedsRequest.Marshal(b, m, deterministic) -} -func (m *ListFeedsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFeedsRequest.Merge(m, src) -} -func (m *ListFeedsRequest) XXX_Size() int { - return xxx_messageInfo_ListFeedsRequest.Size(m) -} -func (m *ListFeedsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListFeedsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListFeedsRequest proto.InternalMessageInfo - -func (m *ListFeedsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -// List asset feeds response. -type ListFeedsResponse struct { - // A list of feeds. - Feeds []*Feed `protobuf:"bytes,1,rep,name=feeds,proto3" json:"feeds,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListFeedsResponse) Reset() { *m = ListFeedsResponse{} } -func (m *ListFeedsResponse) String() string { return proto.CompactTextString(m) } -func (*ListFeedsResponse) ProtoMessage() {} -func (*ListFeedsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_266ed218574f68b8, []int{7} -} - -func (m *ListFeedsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListFeedsResponse.Unmarshal(m, b) -} -func (m *ListFeedsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListFeedsResponse.Marshal(b, m, deterministic) -} -func (m *ListFeedsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFeedsResponse.Merge(m, src) -} -func (m *ListFeedsResponse) XXX_Size() int { - return xxx_messageInfo_ListFeedsResponse.Size(m) -} -func (m *ListFeedsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListFeedsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListFeedsResponse proto.InternalMessageInfo - -func (m *ListFeedsResponse) GetFeeds() []*Feed { - if m != nil { - return m.Feeds - } - return nil -} - -// Update asset feed request. -type UpdateFeedRequest struct { - // The new values of feed details. It must match an existing feed and the - // field `name` must be in the format of: - // projects/project_number/feeds/feed_id or - // folders/folder_number/feeds/feed_id or - // organizations/organization_number/feeds/feed_id. - Feed *Feed `protobuf:"bytes,1,opt,name=feed,proto3" json:"feed,omitempty"` - // Only updates the `feed` fields indicated by this mask. - // The field mask must not be empty, and it must not contain fields that - // are immutable or only set by the server. - 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 *UpdateFeedRequest) Reset() { *m = UpdateFeedRequest{} } -func (m *UpdateFeedRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateFeedRequest) ProtoMessage() {} -func (*UpdateFeedRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_266ed218574f68b8, []int{8} -} - -func (m *UpdateFeedRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateFeedRequest.Unmarshal(m, b) -} -func (m *UpdateFeedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateFeedRequest.Marshal(b, m, deterministic) -} -func (m *UpdateFeedRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateFeedRequest.Merge(m, src) -} -func (m *UpdateFeedRequest) XXX_Size() int { - return xxx_messageInfo_UpdateFeedRequest.Size(m) -} -func (m *UpdateFeedRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateFeedRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateFeedRequest proto.InternalMessageInfo - -func (m *UpdateFeedRequest) GetFeed() *Feed { - if m != nil { - return m.Feed - } - return nil -} - -func (m *UpdateFeedRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// Delete asset feed request. -type DeleteFeedRequest struct { - // The name of the feed and it must be in the format of: - // projects/project_number/feeds/feed_id - // folders/folder_number/feeds/feed_id - // organizations/organization_number/feeds/feed_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 *DeleteFeedRequest) Reset() { *m = DeleteFeedRequest{} } -func (m *DeleteFeedRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteFeedRequest) ProtoMessage() {} -func (*DeleteFeedRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_266ed218574f68b8, []int{9} -} - -func (m *DeleteFeedRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteFeedRequest.Unmarshal(m, b) -} -func (m *DeleteFeedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteFeedRequest.Marshal(b, m, deterministic) -} -func (m *DeleteFeedRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteFeedRequest.Merge(m, src) -} -func (m *DeleteFeedRequest) XXX_Size() int { - return xxx_messageInfo_DeleteFeedRequest.Size(m) -} -func (m *DeleteFeedRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteFeedRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteFeedRequest proto.InternalMessageInfo - -func (m *DeleteFeedRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Output configuration for export assets destination. -type OutputConfig struct { - // Asset export destination. - // - // Types that are valid to be assigned to Destination: - // *OutputConfig_GcsDestination - // *OutputConfig_BigqueryDestination - 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_266ed218574f68b8, []int{10} -} - -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 (m *OutputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_OutputConfig.Merge(m, 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"` -} - -type OutputConfig_BigqueryDestination struct { - BigqueryDestination *BigQueryDestination `protobuf:"bytes,2,opt,name=bigquery_destination,json=bigqueryDestination,proto3,oneof"` -} - -func (*OutputConfig_GcsDestination) isOutputConfig_Destination() {} - -func (*OutputConfig_BigqueryDestination) 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 -} - -func (m *OutputConfig) GetBigqueryDestination() *BigQueryDestination { - if x, ok := m.GetDestination().(*OutputConfig_BigqueryDestination); ok { - return x.BigqueryDestination - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*OutputConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*OutputConfig_GcsDestination)(nil), - (*OutputConfig_BigqueryDestination)(nil), - } -} - -// A Cloud Storage location. -type GcsDestination struct { - // Required. - // - // Types that are valid to be assigned to ObjectUri: - // *GcsDestination_Uri - // *GcsDestination_UriPrefix - ObjectUri isGcsDestination_ObjectUri `protobuf_oneof:"object_uri"` - 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_266ed218574f68b8, []int{11} -} - -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 (m *GcsDestination) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcsDestination.Merge(m, 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 - -type isGcsDestination_ObjectUri interface { - isGcsDestination_ObjectUri() -} - -type GcsDestination_Uri struct { - Uri string `protobuf:"bytes,1,opt,name=uri,proto3,oneof"` -} - -type GcsDestination_UriPrefix struct { - UriPrefix string `protobuf:"bytes,2,opt,name=uri_prefix,json=uriPrefix,proto3,oneof"` -} - -func (*GcsDestination_Uri) isGcsDestination_ObjectUri() {} - -func (*GcsDestination_UriPrefix) isGcsDestination_ObjectUri() {} - -func (m *GcsDestination) GetObjectUri() isGcsDestination_ObjectUri { - if m != nil { - return m.ObjectUri - } - return nil -} - -func (m *GcsDestination) GetUri() string { - if x, ok := m.GetObjectUri().(*GcsDestination_Uri); ok { - return x.Uri - } - return "" -} - -func (m *GcsDestination) GetUriPrefix() string { - if x, ok := m.GetObjectUri().(*GcsDestination_UriPrefix); ok { - return x.UriPrefix - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*GcsDestination) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*GcsDestination_Uri)(nil), - (*GcsDestination_UriPrefix)(nil), - } -} - -// A Bigquery destination. -type BigQueryDestination struct { - // Required. The BigQuery dataset in format - // "projects/projectId/datasets/datasetId", to which the snapshot result - // should be exported. If this dataset does not exist, the export call returns - // an error. - Dataset string `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"` - // Required. The BigQuery table to which the snapshot result should be - // written. If this table does not exist, a new table with the given name - // will be created. - Table string `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"` - // If the destination table already exists and this flag is `TRUE`, the - // table will be overwritten by the contents of assets snapshot. If the flag - // is not set and the destination table already exists, the export call - // returns an error. - Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BigQueryDestination) Reset() { *m = BigQueryDestination{} } -func (m *BigQueryDestination) String() string { return proto.CompactTextString(m) } -func (*BigQueryDestination) ProtoMessage() {} -func (*BigQueryDestination) Descriptor() ([]byte, []int) { - return fileDescriptor_266ed218574f68b8, []int{12} -} - -func (m *BigQueryDestination) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BigQueryDestination.Unmarshal(m, b) -} -func (m *BigQueryDestination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BigQueryDestination.Marshal(b, m, deterministic) -} -func (m *BigQueryDestination) XXX_Merge(src proto.Message) { - xxx_messageInfo_BigQueryDestination.Merge(m, src) -} -func (m *BigQueryDestination) XXX_Size() int { - return xxx_messageInfo_BigQueryDestination.Size(m) -} -func (m *BigQueryDestination) XXX_DiscardUnknown() { - xxx_messageInfo_BigQueryDestination.DiscardUnknown(m) -} - -var xxx_messageInfo_BigQueryDestination proto.InternalMessageInfo - -func (m *BigQueryDestination) GetDataset() string { - if m != nil { - return m.Dataset - } - return "" -} - -func (m *BigQueryDestination) GetTable() string { - if m != nil { - return m.Table - } - return "" -} - -func (m *BigQueryDestination) GetForce() bool { - if m != nil { - return m.Force - } - return false -} - -// A Cloud Pubsub destination. -type PubsubDestination struct { - // The name of the Cloud Pub/Sub topic to publish to. - // For example: `projects/PROJECT_ID/topics/TOPIC_ID`. - 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 *PubsubDestination) Reset() { *m = PubsubDestination{} } -func (m *PubsubDestination) String() string { return proto.CompactTextString(m) } -func (*PubsubDestination) ProtoMessage() {} -func (*PubsubDestination) Descriptor() ([]byte, []int) { - return fileDescriptor_266ed218574f68b8, []int{13} -} - -func (m *PubsubDestination) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PubsubDestination.Unmarshal(m, b) -} -func (m *PubsubDestination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PubsubDestination.Marshal(b, m, deterministic) -} -func (m *PubsubDestination) XXX_Merge(src proto.Message) { - xxx_messageInfo_PubsubDestination.Merge(m, src) -} -func (m *PubsubDestination) XXX_Size() int { - return xxx_messageInfo_PubsubDestination.Size(m) -} -func (m *PubsubDestination) XXX_DiscardUnknown() { - xxx_messageInfo_PubsubDestination.DiscardUnknown(m) -} - -var xxx_messageInfo_PubsubDestination proto.InternalMessageInfo - -func (m *PubsubDestination) GetTopic() string { - if m != nil { - return m.Topic - } - return "" -} - -// Output configuration for asset feed destination. -type FeedOutputConfig struct { - // Asset feed destination. - // - // Types that are valid to be assigned to Destination: - // *FeedOutputConfig_PubsubDestination - Destination isFeedOutputConfig_Destination `protobuf_oneof:"destination"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FeedOutputConfig) Reset() { *m = FeedOutputConfig{} } -func (m *FeedOutputConfig) String() string { return proto.CompactTextString(m) } -func (*FeedOutputConfig) ProtoMessage() {} -func (*FeedOutputConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_266ed218574f68b8, []int{14} -} - -func (m *FeedOutputConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FeedOutputConfig.Unmarshal(m, b) -} -func (m *FeedOutputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FeedOutputConfig.Marshal(b, m, deterministic) -} -func (m *FeedOutputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeedOutputConfig.Merge(m, src) -} -func (m *FeedOutputConfig) XXX_Size() int { - return xxx_messageInfo_FeedOutputConfig.Size(m) -} -func (m *FeedOutputConfig) XXX_DiscardUnknown() { - xxx_messageInfo_FeedOutputConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_FeedOutputConfig proto.InternalMessageInfo - -type isFeedOutputConfig_Destination interface { - isFeedOutputConfig_Destination() -} - -type FeedOutputConfig_PubsubDestination struct { - PubsubDestination *PubsubDestination `protobuf:"bytes,1,opt,name=pubsub_destination,json=pubsubDestination,proto3,oneof"` -} - -func (*FeedOutputConfig_PubsubDestination) isFeedOutputConfig_Destination() {} - -func (m *FeedOutputConfig) GetDestination() isFeedOutputConfig_Destination { - if m != nil { - return m.Destination - } - return nil -} - -func (m *FeedOutputConfig) GetPubsubDestination() *PubsubDestination { - if x, ok := m.GetDestination().(*FeedOutputConfig_PubsubDestination); ok { - return x.PubsubDestination - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*FeedOutputConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*FeedOutputConfig_PubsubDestination)(nil), - } -} - -// An asset feed used to export asset updates to a destinations. -// An asset feed filter controls what updates are exported. -// The asset feed must be created within a project, organization, or -// folder. Supported destinations are: -// Cloud Pub/Sub topics. -type Feed struct { - // Required. The format will be - // projects/{project_number}/feeds/{client-assigned_feed_identifier} or - // folders/{folder_number}/feeds/{client-assigned_feed_identifier} or - // organizations/{organization_number}/feeds/{client-assigned_feed_identifier} - // - // The client-assigned feed identifier must be unique within the parent - // project/folder/organization. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // A list of the full names of the assets to receive updates. You must specify - // either or both of asset_names and asset_types. Only asset updates matching - // specified asset_names and asset_types are exported to the feed. 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. - AssetNames []string `protobuf:"bytes,2,rep,name=asset_names,json=assetNames,proto3" json:"asset_names,omitempty"` - // A list of types of the assets to receive updates. You must specify either - // or both of asset_names and asset_types. Only asset updates matching - // specified asset_names and asset_types are exported to the feed. - // For example: - // "compute.googleapis.com/Disk" See [Introduction to Cloud Asset - // Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview) - // for all supported asset types. - 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 and - // type will be returned. - ContentType ContentType `protobuf:"varint,4,opt,name=content_type,json=contentType,proto3,enum=google.cloud.asset.v1p2beta1.ContentType" json:"content_type,omitempty"` - // Required. Feed output configuration defining where the asset updates are - // published to. - FeedOutputConfig *FeedOutputConfig `protobuf:"bytes,5,opt,name=feed_output_config,json=feedOutputConfig,proto3" json:"feed_output_config,omitempty"` - 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_266ed218574f68b8, []int{15} -} - -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 (m *Feed) XXX_Merge(src proto.Message) { - xxx_messageInfo_Feed.Merge(m, 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) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Feed) GetAssetNames() []string { - if m != nil { - return m.AssetNames - } - return nil -} - -func (m *Feed) GetAssetTypes() []string { - if m != nil { - return m.AssetTypes - } - return nil -} - -func (m *Feed) GetContentType() ContentType { - if m != nil { - return m.ContentType - } - return ContentType_CONTENT_TYPE_UNSPECIFIED -} - -func (m *Feed) GetFeedOutputConfig() *FeedOutputConfig { - if m != nil { - return m.FeedOutputConfig - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.asset.v1p2beta1.ContentType", ContentType_name, ContentType_value) - proto.RegisterType((*ExportAssetsRequest)(nil), "google.cloud.asset.v1p2beta1.ExportAssetsRequest") - proto.RegisterType((*ExportAssetsResponse)(nil), "google.cloud.asset.v1p2beta1.ExportAssetsResponse") - proto.RegisterType((*BatchGetAssetsHistoryRequest)(nil), "google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryRequest") - proto.RegisterType((*BatchGetAssetsHistoryResponse)(nil), "google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse") - proto.RegisterType((*CreateFeedRequest)(nil), "google.cloud.asset.v1p2beta1.CreateFeedRequest") - proto.RegisterType((*GetFeedRequest)(nil), "google.cloud.asset.v1p2beta1.GetFeedRequest") - proto.RegisterType((*ListFeedsRequest)(nil), "google.cloud.asset.v1p2beta1.ListFeedsRequest") - proto.RegisterType((*ListFeedsResponse)(nil), "google.cloud.asset.v1p2beta1.ListFeedsResponse") - proto.RegisterType((*UpdateFeedRequest)(nil), "google.cloud.asset.v1p2beta1.UpdateFeedRequest") - proto.RegisterType((*DeleteFeedRequest)(nil), "google.cloud.asset.v1p2beta1.DeleteFeedRequest") - proto.RegisterType((*OutputConfig)(nil), "google.cloud.asset.v1p2beta1.OutputConfig") - proto.RegisterType((*GcsDestination)(nil), "google.cloud.asset.v1p2beta1.GcsDestination") - proto.RegisterType((*BigQueryDestination)(nil), "google.cloud.asset.v1p2beta1.BigQueryDestination") - proto.RegisterType((*PubsubDestination)(nil), "google.cloud.asset.v1p2beta1.PubsubDestination") - proto.RegisterType((*FeedOutputConfig)(nil), "google.cloud.asset.v1p2beta1.FeedOutputConfig") - proto.RegisterType((*Feed)(nil), "google.cloud.asset.v1p2beta1.Feed") -} - -func init() { - proto.RegisterFile("google/cloud/asset/v1p2beta1/asset_service.proto", fileDescriptor_266ed218574f68b8) -} - -var fileDescriptor_266ed218574f68b8 = []byte{ - // 1314 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0xcd, 0x6e, 0xdb, 0x46, - 0x10, 0x36, 0xe5, 0x9f, 0xd8, 0x23, 0xc5, 0x91, 0xd6, 0x69, 0xa2, 0xaa, 0x0e, 0x2c, 0xb0, 0x29, - 0x22, 0xab, 0x0d, 0x59, 0xab, 0xe8, 0x0f, 0x1c, 0xf4, 0x20, 0x29, 0x8a, 0x6d, 0x20, 0xb6, 0x54, - 0xda, 0x69, 0x90, 0xd6, 0x00, 0x4b, 0x51, 0x2b, 0x86, 0x8d, 0xc4, 0x65, 0xc8, 0x65, 0x1c, 0xa3, - 0xc9, 0xa1, 0xe9, 0x25, 0x40, 0x2f, 0x2d, 0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- 0xa2, 0xc2, 0x95, 0x28, 0x24, 0xf6, 0x8e, 0x53, 0x9a, 0xd1, 0x3b, 0x4e, 0x56, 0x9f, 0xfd, 0xf1, - 0xd7, 0x8b, 0xd4, 0xba, 0x7c, 0x35, 0xf6, 0x0c, 0xfc, 0x46, 0x74, 0xd9, 0x4f, 0xcb, 0x6a, 0xf9, - 0xe9, 0x26, 0x8e, 0xe5, 0xdc, 0x94, 0xca, 0xe8, 0x37, 0x09, 0xde, 0x98, 0x38, 0xb1, 0xd0, 0x66, - 0x42, 0x27, 0x98, 0x32, 0xe1, 0x0b, 0x37, 0xfe, 0x53, 0xac, 0x68, 0xfc, 0xf2, 0x87, 0xfc, 0x0c, - 0x2a, 0xba, 0x7e, 0xda, 0x19, 0xda, 0x13, 0xf9, 0x7e, 0x2f, 0x01, 0x0c, 0xa6, 0x22, 0x4a, 0xb8, - 0x61, 0x63, 0xf3, 0xb3, 0x70, 0x86, 0x89, 0x20, 0x97, 0x38, 0x35, 0x59, 0xbe, 0x72, 0x0a, 0x35, - 0x95, 0x0f, 0x20, 0xa6, 0xeb, 0x33, 0x09, 0xce, 0x85, 0x53, 0x12, 0x25, 0x75, 0xec, 0xa1, 0x61, - 0x7a, 0x26, 0x1e, 0xef, 0x70, 0x1e, 0x6b, 0x68, 0x88, 0x07, 0xbb, 0xd8, 0x8c, 0x85, 0x20, 0xa1, - 0x96, 0x9f, 0xa2, 0x17, 0x12, 0x2c, 0x9d, 0x0c, 0x56, 0x94, 0x70, 0xab, 0x46, 0xa7, 0x75, 0x41, - 0x3d, 0xb3, 0x7f, 0x58, 0xb8, 0x89, 0xac, 0xc6, 0xd4, 0x41, 0x3f, 0x48, 0x00, 0x83, 0xf1, 0x9c, - 0x54, 0xa8, 0xb1, 0x41, 0x7e, 0x26, 0x81, 0xae, 0x73, 0x2a, 0xd7, 0x2a, 0x72, 0x9c, 0x0a, 0x83, - 0x57, 0xc6, 0x54, 0x62, 0xd5, 0x7a, 0x02, 0x30, 0x18, 0xd3, 0x49, 0x8c, 0xc6, 0x06, 0x7a, 0xe1, - 0xd2, 0xd8, 0x6b, 0xa0, 0xc1, 0xbe, 0x9b, 0x22, 0x41, 0xca, 0xd3, 0xcb, 0x54, 0xd8, 0x7d, 0x59, - 0x7d, 0x93, 0x43, 0x09, 0x24, 0x91, 0xcb, 0x70, 0x6d, 0x5f, 0x31, 0x49, 0xff, 0xf7, 0xaa, 0x72, - 0x9f, 0x52, 0xd7, 0xdf, 0x54, 0xd5, 0xa3, 0xa3, 0xa3, 0x91, 0x4d, 0xd5, 0x08, 0xe8, 0x7d, 0xf1, - 0xf5, 0x77, 0xdd, 0xed, 0x19, 0xb4, 0x4b, 0xbc, 0x7e, 0xed, 0x57, 0x09, 0x8a, 0x26, 0xe9, 0x4f, - 0x3d, 0x44, 0x2d, 0x17, 0xef, 0x4c, 0x2d, 0x46, 0xbb, 0x25, 0x7d, 0x51, 0x0d, 0x43, 0x2c, 0xd2, - 0x33, 0x1c, 0x4b, 0x21, 0x9e, 0xa5, 0x5a, 0xd8, 0xe1, 0x87, 0x52, 0x07, 0xc0, 0x93, 0xbf, 0x36, - 0x6f, 0x70, 0xfb, 0x97, 0xd4, 0xea, 0x96, 0xc8, 0x51, 0xe7, 0xb0, 0x1c, 0x45, 0xf9, 0x7c, 0xc3, - 0xad, 0xd4, 0x98, 0xd3, 0xcb, 0x68, 0xfb, 0x90, 0x6f, 0x1f, 0xf2, 0xed, 0xc3, 0x93, 0xed, 0xf6, - 0x02, 0xc7, 0xfa, 0xe0, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x76, 0x29, 0x46, 0x9f, 0x46, 0x0f, - 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 - -// 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) - // Creates a feed in a parent project/folder/organization to listen to its - // asset updates. - CreateFeed(ctx context.Context, in *CreateFeedRequest, opts ...grpc.CallOption) (*Feed, error) - // Gets details about an asset feed. - GetFeed(ctx context.Context, in *GetFeedRequest, opts ...grpc.CallOption) (*Feed, error) - // Lists all asset feeds in a parent project/folder/organization. - ListFeeds(ctx context.Context, in *ListFeedsRequest, opts ...grpc.CallOption) (*ListFeedsResponse, error) - // Updates an asset feed configuration. - UpdateFeed(ctx context.Context, in *UpdateFeedRequest, opts ...grpc.CallOption) (*Feed, error) - // Deletes an asset feed. - DeleteFeed(ctx context.Context, in *DeleteFeedRequest, opts ...grpc.CallOption) (*empty.Empty, 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.v1p2beta1.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.v1p2beta1.AssetService/BatchGetAssetsHistory", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *assetServiceClient) CreateFeed(ctx context.Context, in *CreateFeedRequest, opts ...grpc.CallOption) (*Feed, error) { - out := new(Feed) - err := c.cc.Invoke(ctx, "/google.cloud.asset.v1p2beta1.AssetService/CreateFeed", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *assetServiceClient) GetFeed(ctx context.Context, in *GetFeedRequest, opts ...grpc.CallOption) (*Feed, error) { - out := new(Feed) - err := c.cc.Invoke(ctx, "/google.cloud.asset.v1p2beta1.AssetService/GetFeed", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *assetServiceClient) ListFeeds(ctx context.Context, in *ListFeedsRequest, opts ...grpc.CallOption) (*ListFeedsResponse, error) { - out := new(ListFeedsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.asset.v1p2beta1.AssetService/ListFeeds", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *assetServiceClient) UpdateFeed(ctx context.Context, in *UpdateFeedRequest, opts ...grpc.CallOption) (*Feed, error) { - out := new(Feed) - err := c.cc.Invoke(ctx, "/google.cloud.asset.v1p2beta1.AssetService/UpdateFeed", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *assetServiceClient) DeleteFeed(ctx context.Context, in *DeleteFeedRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.asset.v1p2beta1.AssetService/DeleteFeed", 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) - // Creates a feed in a parent project/folder/organization to listen to its - // asset updates. - CreateFeed(context.Context, *CreateFeedRequest) (*Feed, error) - // Gets details about an asset feed. - GetFeed(context.Context, *GetFeedRequest) (*Feed, error) - // Lists all asset feeds in a parent project/folder/organization. - ListFeeds(context.Context, *ListFeedsRequest) (*ListFeedsResponse, error) - // Updates an asset feed configuration. - UpdateFeed(context.Context, *UpdateFeedRequest) (*Feed, error) - // Deletes an asset feed. - DeleteFeed(context.Context, *DeleteFeedRequest) (*empty.Empty, error) -} - -// UnimplementedAssetServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAssetServiceServer struct { -} - -func (*UnimplementedAssetServiceServer) ExportAssets(ctx context.Context, req *ExportAssetsRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ExportAssets not implemented") -} -func (*UnimplementedAssetServiceServer) BatchGetAssetsHistory(ctx context.Context, req *BatchGetAssetsHistoryRequest) (*BatchGetAssetsHistoryResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method BatchGetAssetsHistory not implemented") -} -func (*UnimplementedAssetServiceServer) CreateFeed(ctx context.Context, req *CreateFeedRequest) (*Feed, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateFeed not implemented") -} -func (*UnimplementedAssetServiceServer) GetFeed(ctx context.Context, req *GetFeedRequest) (*Feed, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetFeed not implemented") -} -func (*UnimplementedAssetServiceServer) ListFeeds(ctx context.Context, req *ListFeedsRequest) (*ListFeedsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListFeeds not implemented") -} -func (*UnimplementedAssetServiceServer) UpdateFeed(ctx context.Context, req *UpdateFeedRequest) (*Feed, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateFeed not implemented") -} -func (*UnimplementedAssetServiceServer) DeleteFeed(ctx context.Context, req *DeleteFeedRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteFeed not implemented") -} - -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.v1p2beta1.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.v1p2beta1.AssetService/BatchGetAssetsHistory", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AssetServiceServer).BatchGetAssetsHistory(ctx, req.(*BatchGetAssetsHistoryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AssetService_CreateFeed_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateFeedRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AssetServiceServer).CreateFeed(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.asset.v1p2beta1.AssetService/CreateFeed", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AssetServiceServer).CreateFeed(ctx, req.(*CreateFeedRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AssetService_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.(AssetServiceServer).GetFeed(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.asset.v1p2beta1.AssetService/GetFeed", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AssetServiceServer).GetFeed(ctx, req.(*GetFeedRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AssetService_ListFeeds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListFeedsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AssetServiceServer).ListFeeds(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.asset.v1p2beta1.AssetService/ListFeeds", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AssetServiceServer).ListFeeds(ctx, req.(*ListFeedsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AssetService_UpdateFeed_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateFeedRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AssetServiceServer).UpdateFeed(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.asset.v1p2beta1.AssetService/UpdateFeed", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AssetServiceServer).UpdateFeed(ctx, req.(*UpdateFeedRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AssetService_DeleteFeed_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteFeedRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AssetServiceServer).DeleteFeed(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.asset.v1p2beta1.AssetService/DeleteFeed", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AssetServiceServer).DeleteFeed(ctx, req.(*DeleteFeedRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _AssetService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.asset.v1p2beta1.AssetService", - HandlerType: (*AssetServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ExportAssets", - Handler: _AssetService_ExportAssets_Handler, - }, - { - MethodName: "BatchGetAssetsHistory", - Handler: _AssetService_BatchGetAssetsHistory_Handler, - }, - { - MethodName: "CreateFeed", - Handler: _AssetService_CreateFeed_Handler, - }, - { - MethodName: "GetFeed", - Handler: _AssetService_GetFeed_Handler, - }, - { - MethodName: "ListFeeds", - Handler: _AssetService_ListFeeds_Handler, - }, - { - MethodName: "UpdateFeed", - Handler: _AssetService_UpdateFeed_Handler, - }, - { - MethodName: "DeleteFeed", - Handler: _AssetService_DeleteFeed_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/asset/v1p2beta1/asset_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/asset/v1p2beta1/assets.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/asset/v1p2beta1/assets.pb.go deleted file mode 100644 index e215ed6c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/asset/v1p2beta1/assets.pb.go +++ /dev/null @@ -1,408 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/asset/v1p2beta1/assets.proto - -package asset - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - any "github.com/golang/protobuf/ptypes/any" - _struct "github.com/golang/protobuf/ptypes/struct" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - 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.ProtoPackageIsVersion3 // 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_723f69529b7a1cc3, []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 (m *TemporalAsset) XXX_Merge(src proto.Message) { - xxx_messageInfo_TemporalAsset.Merge(m, 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 (exclusive). - StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // End time of the time window (inclusive). - // 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_723f69529b7a1cc3, []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 (m *TimeWindow) XXX_Merge(src proto.Message) { - xxx_messageInfo_TimeWindow.Merge(m, 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: "compute.googleapis.com/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"` - // Cloud IAM policy name of the Cloud IAM policy set on a cloud resource. For - // each resource, there must be at most one Cloud IAM policy name associated - // with it. - IamPolicyName []byte `protobuf:"bytes,5,opt,name=iam_policy_name,json=iamPolicyName,proto3" json:"iam_policy_name,omitempty"` - // Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy, - // represented as a list of relative resource names. Ancestry path starts with - // the closest CRM ancestor and ending at a visible root. If the asset is a - // CRM project/ folder/organization, this starts from the asset itself. - // - // Example: ["projects/123456789", "folders/5432", "organizations/1234"] - Ancestors []string `protobuf:"bytes,6,rep,name=ancestors,proto3" json:"ancestors,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_723f69529b7a1cc3, []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 (m *Asset) XXX_Merge(src proto.Message) { - xxx_messageInfo_Asset.Merge(m, 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 -} - -func (m *Asset) GetIamPolicyName() []byte { - if m != nil { - return m.IamPolicyName - } - return nil -} - -func (m *Asset) GetAncestors() []string { - if m != nil { - return m.Ancestors - } - 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"` - // The actual metadata content for the resource, only visible for internal - // users. - InternalData *any.Any `protobuf:"bytes,7,opt,name=internal_data,json=internalData,proto3" json:"internal_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_723f69529b7a1cc3, []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 (m *Resource) XXX_Merge(src proto.Message) { - xxx_messageInfo_Resource.Merge(m, 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 (m *Resource) GetInternalData() *any.Any { - if m != nil { - return m.InternalData - } - return nil -} - -func init() { - proto.RegisterType((*TemporalAsset)(nil), "google.cloud.asset.v1p2beta1.TemporalAsset") - proto.RegisterType((*TimeWindow)(nil), "google.cloud.asset.v1p2beta1.TimeWindow") - proto.RegisterType((*Asset)(nil), "google.cloud.asset.v1p2beta1.Asset") - proto.RegisterType((*Resource)(nil), "google.cloud.asset.v1p2beta1.Resource") -} - -func init() { - proto.RegisterFile("google/cloud/asset/v1p2beta1/assets.proto", fileDescriptor_723f69529b7a1cc3) -} - -var fileDescriptor_723f69529b7a1cc3 = []byte{ - // 611 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x54, 0x51, 0x6b, 0x13, 0x4d, - 0x14, 0x65, 0xd3, 0x36, 0xcd, 0xde, 0x36, 0xdf, 0x07, 0x43, 0xad, 0x6b, 0x88, 0x18, 0x23, 0x96, - 0x88, 0xb0, 0x4b, 0x6a, 0x7d, 0x28, 0xbe, 0x98, 0x5a, 0xf0, 0x4d, 0xca, 0xd8, 0x22, 0x48, 0x61, - 0x99, 0xee, 0x8e, 0x61, 0x60, 0x77, 0x66, 0x99, 0x99, 0x4d, 0xc9, 0x8b, 0xbf, 0x46, 0x7c, 0xf0, - 0xd9, 0x5f, 0xe1, 0x2f, 0x12, 0x9f, 0x64, 0xef, 0xce, 0x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a, 0x3d, 0x75, 0xe0, 0x85, 0x16, 0xe4, 0x29, 0xfc, 0x77, 0xa3, 0x42, - 0x87, 0x1b, 0xc8, 0xee, 0xaf, 0x4e, 0xd1, 0xe1, 0x63, 0xd8, 0xf5, 0xbb, 0x48, 0x6b, 0x5d, 0xe0, - 0x06, 0x42, 0xba, 0xe3, 0xcf, 0x2e, 0x74, 0x41, 0xf6, 0xa1, 0x5b, 0x31, 0xcd, 0xa5, 0xc5, 0x8c, - 0x21, 0x75, 0x15, 0x79, 0x0e, 0x9b, 0x39, 0xb3, 0x2c, 0xea, 0xe2, 0xd2, 0xee, 0xdf, 0xb9, 0xee, - 0xf7, 0xf8, 0x93, 0xa1, 0x48, 0x22, 0xc7, 0xd0, 0x17, 0xd2, 0x72, 0x2d, 0x59, 0x91, 0xa2, 0x6a, - 0x1b, 0x55, 0x7b, 0x77, 0x54, 0x33, 0xb9, 0xa4, 0xbb, 0x9e, 0x7a, 0xca, 0x2c, 0x3b, 0xf9, 0x1e, - 0xc0, 0x28, 0x53, 0xe5, 0xda, 0xab, 0x3d, 0x01, 0x7c, 0x45, 0x67, 0x4d, 0x97, 0xb3, 0xe0, 0xe3, - 0xcc, 0x71, 0xe7, 0xaa, 0x60, 0x72, 0x1e, 0x2b, 0x3d, 0x4f, 0xe6, 0x5c, 0xe2, 0x8c, 0xa4, 0x85, - 0x58, 0x25, 0xcc, 0xdf, 0xff, 0x7b, 0x5e, 0x61, 0xfd, 0x33, 0x08, 0xbe, 0x75, 0x86, 0x6f, 0xdb, - 0x36, 0x6f, 0x70, 0xe4, 0xec, 0xcf, 0x91, 0x3f, 0x3c, 0x7c, 0x89, 0xf0, 0x25, 0xc2, 0x97, 0x2b, - 0xf8, 0xaa, 0x8b, 0xe3, 0x5e, 0xfc, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x1c, 0xff, 0x70, 0xd9, 0xe9, - 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 deleted file mode 100644 index f18c0dae..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/audit/audit_log.pb.go +++ /dev/null @@ -1,394 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/audit/audit_log.proto - -package audit - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - any "github.com/golang/protobuf/ptypes/any" - _struct "github.com/golang/protobuf/ptypes/struct" - _ "google.golang.org/genproto/googleapis/api/annotations" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Common audit log format for Google Cloud Platform API operations. -type AuditLog struct { - // The name of the API service performing the operation. For example, - // `"datastore.googleapis.com"`. - ServiceName string `protobuf:"bytes,7,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` - // The name of the service method or operation. - // For API calls, this should be the name of the API method. - // For example, - // - // "google.datastore.v1.Datastore.RunQuery" - // "google.logging.v1.LoggingService.DeleteLog" - MethodName string `protobuf:"bytes,8,opt,name=method_name,json=methodName,proto3" json:"method_name,omitempty"` - // The resource or collection that is the target of the operation. - // The name is a scheme-less URI, not including the API service name. - // For example: - // - // "shelves/SHELF_ID/books" - // "shelves/SHELF_ID/books/BOOK_ID" - ResourceName string `protobuf:"bytes,11,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The number of items returned from a List or Query API method, - // if applicable. - NumResponseItems int64 `protobuf:"varint,12,opt,name=num_response_items,json=numResponseItems,proto3" json:"num_response_items,omitempty"` - // The status of the overall operation. - Status *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` - // Authentication information. - AuthenticationInfo *AuthenticationInfo `protobuf:"bytes,3,opt,name=authentication_info,json=authenticationInfo,proto3" json:"authentication_info,omitempty"` - // Authorization information. If there are multiple - // resources or permissions involved, then there is - // one AuthorizationInfo element for each {resource, permission} tuple. - AuthorizationInfo []*AuthorizationInfo `protobuf:"bytes,9,rep,name=authorization_info,json=authorizationInfo,proto3" json:"authorization_info,omitempty"` - // Metadata about the operation. - RequestMetadata *RequestMetadata `protobuf:"bytes,4,opt,name=request_metadata,json=requestMetadata,proto3" json:"request_metadata,omitempty"` - // The operation request. This may not include all request parameters, - // such as those that are too large, privacy-sensitive, or duplicated - // elsewhere in the log record. - // It should never include user-generated data, such as file contents. - // When the JSON object represented here has a proto equivalent, the proto - // name will be indicated in the `@type` property. - Request *_struct.Struct `protobuf:"bytes,16,opt,name=request,proto3" json:"request,omitempty"` - // The operation response. This may not include all response elements, - // such as those that are too large, privacy-sensitive, or duplicated - // elsewhere in the log record. - // It should never include user-generated data, such as file contents. - // When the JSON object represented here has a proto equivalent, the proto - // name will be indicated in the `@type` property. - Response *_struct.Struct `protobuf:"bytes,17,opt,name=response,proto3" json:"response,omitempty"` - // Other service-specific data about the request, response, and other - // activities. - ServiceData *any.Any `protobuf:"bytes,15,opt,name=service_data,json=serviceData,proto3" json:"service_data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_197799a4334e4cbf, []int{0} -} - -func (m *AuditLog) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AuditLog.Unmarshal(m, b) -} -func (m *AuditLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AuditLog.Marshal(b, m, deterministic) -} -func (m *AuditLog) XXX_Merge(src proto.Message) { - xxx_messageInfo_AuditLog.Merge(m, src) -} -func (m *AuditLog) XXX_Size() int { - return xxx_messageInfo_AuditLog.Size(m) -} -func (m *AuditLog) XXX_DiscardUnknown() { - xxx_messageInfo_AuditLog.DiscardUnknown(m) -} - -var xxx_messageInfo_AuditLog proto.InternalMessageInfo - -func (m *AuditLog) GetServiceName() string { - if m != nil { - return m.ServiceName - } - return "" -} - -func (m *AuditLog) GetMethodName() string { - if m != nil { - return m.MethodName - } - return "" -} - -func (m *AuditLog) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *AuditLog) GetNumResponseItems() int64 { - if m != nil { - return m.NumResponseItems - } - return 0 -} - -func (m *AuditLog) GetStatus() *status.Status { - if m != nil { - return m.Status - } - return nil -} - -func (m *AuditLog) GetAuthenticationInfo() *AuthenticationInfo { - if m != nil { - return m.AuthenticationInfo - } - return nil -} - -func (m *AuditLog) GetAuthorizationInfo() []*AuthorizationInfo { - if m != nil { - return m.AuthorizationInfo - } - return nil -} - -func (m *AuditLog) GetRequestMetadata() *RequestMetadata { - if m != nil { - return m.RequestMetadata - } - return nil -} - -func (m *AuditLog) GetRequest() *_struct.Struct { - if m != nil { - return m.Request - } - return nil -} - -func (m *AuditLog) GetResponse() *_struct.Struct { - if m != nil { - return m.Response - } - return nil -} - -func (m *AuditLog) GetServiceData() *any.Any { - if m != nil { - return m.ServiceData - } - return nil -} - -// Authentication information for the operation. -type AuthenticationInfo struct { - // The email address of the authenticated user making the request. - PrincipalEmail string `protobuf:"bytes,1,opt,name=principal_email,json=principalEmail,proto3" json:"principal_email,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_197799a4334e4cbf, []int{1} -} - -func (m *AuthenticationInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AuthenticationInfo.Unmarshal(m, b) -} -func (m *AuthenticationInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AuthenticationInfo.Marshal(b, m, deterministic) -} -func (m *AuthenticationInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_AuthenticationInfo.Merge(m, src) -} -func (m *AuthenticationInfo) XXX_Size() int { - return xxx_messageInfo_AuthenticationInfo.Size(m) -} -func (m *AuthenticationInfo) XXX_DiscardUnknown() { - xxx_messageInfo_AuthenticationInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_AuthenticationInfo proto.InternalMessageInfo - -func (m *AuthenticationInfo) GetPrincipalEmail() string { - if m != nil { - return m.PrincipalEmail - } - return "" -} - -// Authorization information for the operation. -type AuthorizationInfo struct { - // The resource being accessed, as a REST-style string. For example: - // - // bigquery.googlapis.com/projects/PROJECTID/datasets/DATASETID - Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` - // The required IAM permission. - Permission string `protobuf:"bytes,2,opt,name=permission,proto3" json:"permission,omitempty"` - // Whether or not authorization for `resource` and `permission` - // was granted. - Granted bool `protobuf:"varint,3,opt,name=granted,proto3" json:"granted,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_197799a4334e4cbf, []int{2} -} - -func (m *AuthorizationInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AuthorizationInfo.Unmarshal(m, b) -} -func (m *AuthorizationInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AuthorizationInfo.Marshal(b, m, deterministic) -} -func (m *AuthorizationInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_AuthorizationInfo.Merge(m, src) -} -func (m *AuthorizationInfo) XXX_Size() int { - return xxx_messageInfo_AuthorizationInfo.Size(m) -} -func (m *AuthorizationInfo) XXX_DiscardUnknown() { - xxx_messageInfo_AuthorizationInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_AuthorizationInfo proto.InternalMessageInfo - -func (m *AuthorizationInfo) GetResource() string { - if m != nil { - return m.Resource - } - return "" -} - -func (m *AuthorizationInfo) GetPermission() string { - if m != nil { - return m.Permission - } - return "" -} - -func (m *AuthorizationInfo) GetGranted() bool { - if m != nil { - return m.Granted - } - return false -} - -// Metadata about the request. -type RequestMetadata struct { - // The IP address of the caller. - CallerIp string `protobuf:"bytes,1,opt,name=caller_ip,json=callerIp,proto3" json:"caller_ip,omitempty"` - // The user agent of the caller. - // This information is not authenticated and should be treated accordingly. - // For example: - // - // + `google-api-python-client/1.4.0`: - // The request was made by the Google API client for Python. - // + `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`: - // The request was made by the Google Cloud SDK CLI (gcloud). - // + `AppEngine-Google; (+http://code.google.com/appengine; appid: - // s~my-project`: - // The request was made from the `my-project` App Engine app. - CallerSuppliedUserAgent string `protobuf:"bytes,2,opt,name=caller_supplied_user_agent,json=callerSuppliedUserAgent,proto3" json:"caller_supplied_user_agent,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_197799a4334e4cbf, []int{3} -} - -func (m *RequestMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RequestMetadata.Unmarshal(m, b) -} -func (m *RequestMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RequestMetadata.Marshal(b, m, deterministic) -} -func (m *RequestMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_RequestMetadata.Merge(m, src) -} -func (m *RequestMetadata) XXX_Size() int { - return xxx_messageInfo_RequestMetadata.Size(m) -} -func (m *RequestMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_RequestMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_RequestMetadata proto.InternalMessageInfo - -func (m *RequestMetadata) GetCallerIp() string { - if m != nil { - return m.CallerIp - } - return "" -} - -func (m *RequestMetadata) GetCallerSuppliedUserAgent() string { - if m != nil { - return m.CallerSuppliedUserAgent - } - return "" -} - -func init() { - proto.RegisterType((*AuditLog)(nil), "google.cloud.audit.AuditLog") - proto.RegisterType((*AuthenticationInfo)(nil), "google.cloud.audit.AuthenticationInfo") - proto.RegisterType((*AuthorizationInfo)(nil), "google.cloud.audit.AuthorizationInfo") - proto.RegisterType((*RequestMetadata)(nil), "google.cloud.audit.RequestMetadata") -} - -func init() { proto.RegisterFile("google/cloud/audit/audit_log.proto", fileDescriptor_197799a4334e4cbf) } - -var fileDescriptor_197799a4334e4cbf = []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, - 0x21, 0x94, 0x88, 0xed, 0x61, 0x0f, 0x13, 0x0f, 0x9d, 0xe0, 0xa1, 0x12, 0x4c, 0x53, 0x0a, 0x42, - 0xe2, 0x25, 0x72, 0x93, 0xdb, 0xcc, 0x22, 0xb1, 0x8d, 0xff, 0x20, 0x8d, 0xef, 0xcc, 0x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x9c, 0xf4, 0xb6, 0xe6, 0x4a, 0x07, - 0xf8, 0x0b, 0x30, 0x5d, 0xbe, 0x6c, 0xb5, 0xa7, 0x4f, 0x09, 0x51, 0xa0, 0x4b, 0x6e, 0x0c, 0x97, - 0x02, 0xf3, 0xd3, 0x8a, 0xd7, 0x14, 0x1a, 0x90, 0xfd, 0x5c, 0x33, 0x61, 0x21, 0xc3, 0x8c, 0x34, - 0xe3, 0x7a, 0x3b, 0xfa, 0x4e, 0x3a, 0x1b, 0xe3, 0xa6, 0x4f, 0x48, 0x2b, 0x65, 0x45, 0x01, 0x3a, - 0xe1, 0xaa, 0x3e, 0xa9, 0x12, 0xa6, 0x8a, 0x9e, 0x93, 0x81, 0x37, 0x8d, 0x53, 0xaa, 0xe0, 0x90, - 0x25, 0xce, 0x80, 0x4e, 0x58, 0x0e, 0xc2, 0xfa, 0x93, 0xfb, 0x15, 0x31, 0xf3, 0xc0, 0x17, 0x03, - 0x7a, 0xb2, 0xb4, 0x2f, 0xe6, 0xe4, 0x51, 0x2a, 0xcb, 0x3b, 0x9e, 0xfc, 0xe2, 0xb0, 0xfe, 0x77, - 0x5e, 0x2d, 0x67, 0x7a, 0xd5, 0xf8, 0x76, 0xe6, 0xa1, 0x5c, 0x16, 0x4c, 0xe4, 0xa1, 0xd4, 0x79, - 0x94, 0x83, 0xc0, 0x89, 0x47, 0x95, 0xc5, 0x14, 0x37, 0xeb, 0x1f, 0x9e, 0x73, 0x5c, 0xe7, 0x7b, - 0xc8, 0x9c, 0xfe, 0x09, 0x00, 0x00, 0xff, 0xff, 0x90, 0xe4, 0x37, 0xbf, 0x9b, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/annotation_payload.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/annotation_payload.pb.go deleted file mode 100644 index 146fb870..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/annotation_payload.pb.go +++ /dev/null @@ -1,122 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1/annotation_payload.proto - -package automl - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/any" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Contains annotation information that is relevant to AutoML. -type AnnotationPayload struct { - // Output only . Additional information about the annotation - // specific to the AutoML domain. - // - // Types that are valid to be assigned to Detail: - // *AnnotationPayload_Translation - Detail isAnnotationPayload_Detail `protobuf_oneof:"detail"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a945962355943c79, []int{0} -} - -func (m *AnnotationPayload) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotationPayload.Unmarshal(m, b) -} -func (m *AnnotationPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotationPayload.Marshal(b, m, deterministic) -} -func (m *AnnotationPayload) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotationPayload.Merge(m, src) -} -func (m *AnnotationPayload) XXX_Size() int { - return xxx_messageInfo_AnnotationPayload.Size(m) -} -func (m *AnnotationPayload) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotationPayload.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotationPayload proto.InternalMessageInfo - -type isAnnotationPayload_Detail interface { - isAnnotationPayload_Detail() -} - -type AnnotationPayload_Translation struct { - Translation *TranslationAnnotation `protobuf:"bytes,2,opt,name=translation,proto3,oneof"` -} - -func (*AnnotationPayload_Translation) isAnnotationPayload_Detail() {} - -func (m *AnnotationPayload) GetDetail() isAnnotationPayload_Detail { - if m != nil { - return m.Detail - } - return nil -} - -func (m *AnnotationPayload) GetTranslation() *TranslationAnnotation { - if x, ok := m.GetDetail().(*AnnotationPayload_Translation); ok { - return x.Translation - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AnnotationPayload) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AnnotationPayload_Translation)(nil), - } -} - -func init() { - proto.RegisterType((*AnnotationPayload)(nil), "google.cloud.automl.v1.AnnotationPayload") -} - -func init() { - proto.RegisterFile("google/cloud/automl/v1/annotation_payload.proto", fileDescriptor_a945962355943c79) -} - -var fileDescriptor_a945962355943c79 = []byte{ - // 270 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x90, 0xc1, 0x4a, 0xc3, 0x40, - 0x10, 0x86, 0x4d, 0x0e, 0x45, 0xb6, 0x27, 0x7b, 0x28, 0x36, 0x78, 0x10, 0x4f, 0xbd, 0xb8, 0xcb, - 0xea, 0x6d, 0xf5, 0xd2, 0x7a, 0xd0, 0x83, 0x42, 0x15, 0xc9, 0x41, 0x02, 0x32, 0x6d, 0xe2, 0x12, - 0xd8, 0xee, 0x2c, 0xc9, 0xa6, 0xd0, 0x57, 0xea, 0xa3, 0xf8, 0x28, 0x3e, 0x85, 0xb0, 0xb3, 0xda, - 0x20, 0xf6, 0x96, 0xec, 0x37, 0xff, 0x37, 0x3f, 0xc3, 0x84, 0x46, 0xd4, 0xa6, 0x12, 0x2b, 0x83, - 0x5d, 0x29, 0xa0, 0xf3, 0xb8, 0x36, 0x62, 0x23, 0x05, 0x58, 0x8b, 0x1e, 0x7c, 0x8d, 0xf6, 0xdd, - 0xc1, 0xd6, 0x20, 0x94, 0xdc, 0x35, 0xe8, 0x71, 0x34, 0xa6, 0x00, 0x0f, 0x01, 0x4e, 0x01, 0xbe, - 0x91, 0xd9, 0xf4, 0x80, 0xc8, 0x37, 0x60, 0x5b, 0x13, 0x4c, 0x64, 0xc8, 0x26, 0x71, 0x32, 0xfc, - 0x2d, 0xbb, 0x0f, 0x01, 0x76, 0x1b, 0xd1, 0x59, 0x44, 0xe0, 0xea, 0x5e, 0x83, 0x96, 0xe8, 0x85, - 0x63, 0x27, 0xb3, 0xdf, 0xc7, 0x05, 0xb5, 0x1a, 0x3d, 0xb3, 0x61, 0x6f, 0xc5, 0x69, 0x7a, 0x9e, - 0x4c, 0x87, 0x57, 0x97, 0xfc, 0xff, 0x96, 0xfc, 0x75, 0x3f, 0xba, 0x57, 0x3d, 0x1c, 0xbd, 0xf4, - 0x1d, 0xf3, 0x63, 0x36, 0x28, 0x2b, 0x0f, 0xb5, 0x99, 0xef, 0x12, 0x96, 0xad, 0x70, 0x7d, 0xc0, - 0xb6, 0x48, 0xde, 0x6e, 0x23, 0xd1, 0x68, 0xc0, 0x6a, 0x8e, 0x8d, 0x16, 0xba, 0xb2, 0xa1, 0x6e, - 0xbc, 0x2c, 0xb8, 0xba, 0xfd, 0x7b, 0x94, 0x1b, 0xfa, 0xda, 0xa5, 0xe3, 0x7b, 0x8a, 0xdf, 0x05, - 0xf1, 0xac, 0xf3, 0xf8, 0xf4, 0xc8, 0x73, 0xf9, 0xf9, 0x03, 0x8a, 0x00, 0x0a, 0x02, 0x45, 0x2e, - 0xbf, 0xd2, 0x09, 0x01, 0xa5, 0x02, 0x51, 0x8a, 0x90, 0x52, 0xb9, 0x5c, 0x0e, 0xc2, 0xda, 0xeb, - 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x1f, 0x7a, 0x5f, 0xe5, 0xd3, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/data_items.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/data_items.pb.go deleted file mode 100644 index 43ec1716..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/data_items.pb.go +++ /dev/null @@ -1,191 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1/data_items.proto - -package automl - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/any" - _ "github.com/golang/protobuf/ptypes/duration" - _ "github.com/golang/protobuf/ptypes/struct" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A representation of a text snippet. -type TextSnippet struct { - // Required. The content of the text snippet as a string. Up to 250000 - // characters long. - Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` - // Optional. The format of [content][google.cloud.automl.v1.TextSnippet.content]. Currently the only two allowed - // values are "text/html" and "text/plain". If left blank, the format is - // automatically determined from the type of the uploaded [content][google.cloud.automl.v1.TextSnippet.content]. - MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - // Output only. HTTP URI where you can download the content. - ContentUri string `protobuf:"bytes,4,opt,name=content_uri,json=contentUri,proto3" json:"content_uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9aa6620a22bddfe1, []int{0} -} - -func (m *TextSnippet) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextSnippet.Unmarshal(m, b) -} -func (m *TextSnippet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextSnippet.Marshal(b, m, deterministic) -} -func (m *TextSnippet) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextSnippet.Merge(m, src) -} -func (m *TextSnippet) XXX_Size() int { - return xxx_messageInfo_TextSnippet.Size(m) -} -func (m *TextSnippet) XXX_DiscardUnknown() { - xxx_messageInfo_TextSnippet.DiscardUnknown(m) -} - -var xxx_messageInfo_TextSnippet proto.InternalMessageInfo - -func (m *TextSnippet) GetContent() string { - if m != nil { - return m.Content - } - return "" -} - -func (m *TextSnippet) GetMimeType() string { - if m != nil { - return m.MimeType - } - return "" -} - -func (m *TextSnippet) GetContentUri() string { - if m != nil { - return m.ContentUri - } - return "" -} - -// Example data used for training or prediction. -type ExamplePayload struct { - // Required. Input only. The example data. - // - // Types that are valid to be assigned to Payload: - // *ExamplePayload_TextSnippet - Payload isExamplePayload_Payload `protobuf_oneof:"payload"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9aa6620a22bddfe1, []int{1} -} - -func (m *ExamplePayload) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExamplePayload.Unmarshal(m, b) -} -func (m *ExamplePayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExamplePayload.Marshal(b, m, deterministic) -} -func (m *ExamplePayload) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExamplePayload.Merge(m, src) -} -func (m *ExamplePayload) XXX_Size() int { - return xxx_messageInfo_ExamplePayload.Size(m) -} -func (m *ExamplePayload) XXX_DiscardUnknown() { - xxx_messageInfo_ExamplePayload.DiscardUnknown(m) -} - -var xxx_messageInfo_ExamplePayload proto.InternalMessageInfo - -type isExamplePayload_Payload interface { - isExamplePayload_Payload() -} - -type ExamplePayload_TextSnippet struct { - TextSnippet *TextSnippet `protobuf:"bytes,2,opt,name=text_snippet,json=textSnippet,proto3,oneof"` -} - -func (*ExamplePayload_TextSnippet) isExamplePayload_Payload() {} - -func (m *ExamplePayload) GetPayload() isExamplePayload_Payload { - if m != nil { - return m.Payload - } - return nil -} - -func (m *ExamplePayload) GetTextSnippet() *TextSnippet { - if x, ok := m.GetPayload().(*ExamplePayload_TextSnippet); ok { - return x.TextSnippet - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ExamplePayload) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ExamplePayload_TextSnippet)(nil), - } -} - -func init() { - proto.RegisterType((*TextSnippet)(nil), "google.cloud.automl.v1.TextSnippet") - proto.RegisterType((*ExamplePayload)(nil), "google.cloud.automl.v1.ExamplePayload") -} - -func init() { - proto.RegisterFile("google/cloud/automl/v1/data_items.proto", fileDescriptor_9aa6620a22bddfe1) -} - -var fileDescriptor_9aa6620a22bddfe1 = []byte{ - // 350 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x91, 0xc1, 0x4e, 0xe3, 0x30, - 0x10, 0x86, 0x37, 0xd5, 0x6a, 0xbb, 0x75, 0x56, 0x7b, 0xc8, 0xa1, 0x4a, 0xbb, 0x2b, 0x8a, 0xca, - 0x01, 0x4e, 0xb6, 0x02, 0xb7, 0xc0, 0x85, 0x22, 0x44, 0x0f, 0x20, 0x55, 0xa5, 0xf4, 0x80, 0x2a, - 0x45, 0x6e, 0x62, 0x22, 0x4b, 0x89, 0xc7, 0x4a, 0x26, 0x55, 0xf3, 0x4a, 0x7d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, 0x09, 0xfd, 0xfe, 0x7e, 0xf4, 0xcb, 0x92, 0xd3, 0x1f, 0x73, 0x17, 0x3f, 0xcb, - 0x49, 0x8f, 0x74, 0xb5, 0x0d, 0x9d, 0xec, 0x1c, 0x32, 0x8c, 0x21, 0x3f, 0x10, 0x32, 0x73, 0x9e, - 0xaf, 0x1a, 0x92, 0x42, 0xc6, 0x55, 0x4a, 0xa1, 0x48, 0x59, 0x2a, 0x94, 0x39, 0x05, 0xb3, 0x88, - 0x6b, 0x59, 0xb6, 0x7f, 0xe9, 0xd2, 0xbe, 0x76, 0x9d, 0xfe, 0x9d, 0xb5, 0xdf, 0x98, 0xe0, 0xeb, - 0x0a, 0xe1, 0xe1, 0x9e, 0x2e, 0x83, 0xd7, 0x3d, 0x58, 0x19, 0xb0, 0xb2, 0x60, 0xb5, 0x0c, 0xde, - 0x3a, 0x03, 0x0b, 0xc2, 0xd0, 0x90, 0x30, 0xb4, 0x28, 0x0c, 0x97, 0xc1, 0xfa, 0x97, 0x19, 0x7b, - 0xf1, 0x1e, 0x00, 0x00, 0xff, 0xff, 0xa7, 0xf3, 0x63, 0xbe, 0x5c, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/dataset.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/dataset.pb.go deleted file mode 100644 index f7a6b8b4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/dataset.pb.go +++ /dev/null @@ -1,212 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1/dataset.proto - -package automl - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A workspace for solving a single, particular machine learning (ML) problem. -// A workspace contains examples that may be annotated. -type Dataset struct { - // Required. - // The dataset metadata that is specific to the problem type. - // - // Types that are valid to be assigned to DatasetMetadata: - // *Dataset_TranslationDatasetMetadata - DatasetMetadata isDataset_DatasetMetadata `protobuf_oneof:"dataset_metadata"` - // Output only. The resource name of the dataset. - // Form: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The name of the dataset to show in the interface. The name can be - // up to 32 characters long and can consist only of ASCII Latin letters A-Z - // and a-z, underscores - // (_), and ASCII digits 0-9. - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // User-provided description of the dataset. The description can be up to - // 25000 characters long. - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - // Output only. The number of examples in the dataset. - ExampleCount int32 `protobuf:"varint,21,opt,name=example_count,json=exampleCount,proto3" json:"example_count,omitempty"` - // Output only. Timestamp when this dataset was created. - CreateTime *timestamp.Timestamp `protobuf:"bytes,14,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Used to perform consistent read-modify-write updates. If not set, a blind - // "overwrite" update happens. - Etag string `protobuf:"bytes,17,opt,name=etag,proto3" json:"etag,omitempty"` - // Optional. The labels with user-defined metadata to organize your dataset. - // - // Label keys and values can be no longer than 64 characters - // (Unicode codepoints), can only contain lowercase letters, numeric - // characters, underscores and dashes. International characters are allowed. - // Label values are optional. Label keys must start with a letter. - // - // See https://goo.gl/xmQnxf for more information on and examples of labels. - Labels map[string]string `protobuf:"bytes,39,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 *Dataset) Reset() { *m = Dataset{} } -func (m *Dataset) String() string { return proto.CompactTextString(m) } -func (*Dataset) ProtoMessage() {} -func (*Dataset) Descriptor() ([]byte, []int) { - return fileDescriptor_78541757d26dc96c, []int{0} -} - -func (m *Dataset) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Dataset.Unmarshal(m, b) -} -func (m *Dataset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Dataset.Marshal(b, m, deterministic) -} -func (m *Dataset) XXX_Merge(src proto.Message) { - xxx_messageInfo_Dataset.Merge(m, src) -} -func (m *Dataset) XXX_Size() int { - return xxx_messageInfo_Dataset.Size(m) -} -func (m *Dataset) XXX_DiscardUnknown() { - xxx_messageInfo_Dataset.DiscardUnknown(m) -} - -var xxx_messageInfo_Dataset proto.InternalMessageInfo - -type isDataset_DatasetMetadata interface { - isDataset_DatasetMetadata() -} - -type Dataset_TranslationDatasetMetadata struct { - TranslationDatasetMetadata *TranslationDatasetMetadata `protobuf:"bytes,23,opt,name=translation_dataset_metadata,json=translationDatasetMetadata,proto3,oneof"` -} - -func (*Dataset_TranslationDatasetMetadata) isDataset_DatasetMetadata() {} - -func (m *Dataset) GetDatasetMetadata() isDataset_DatasetMetadata { - if m != nil { - return m.DatasetMetadata - } - return nil -} - -func (m *Dataset) GetTranslationDatasetMetadata() *TranslationDatasetMetadata { - if x, ok := m.GetDatasetMetadata().(*Dataset_TranslationDatasetMetadata); ok { - return x.TranslationDatasetMetadata - } - return nil -} - -func (m *Dataset) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Dataset) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *Dataset) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *Dataset) GetExampleCount() int32 { - if m != nil { - return m.ExampleCount - } - return 0 -} - -func (m *Dataset) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *Dataset) GetEtag() string { - if m != nil { - return m.Etag - } - return "" -} - -func (m *Dataset) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Dataset) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Dataset_TranslationDatasetMetadata)(nil), - } -} - -func init() { - proto.RegisterType((*Dataset)(nil), "google.cloud.automl.v1.Dataset") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.automl.v1.Dataset.LabelsEntry") -} - -func init() { - proto.RegisterFile("google/cloud/automl/v1/dataset.proto", fileDescriptor_78541757d26dc96c) -} - -var fileDescriptor_78541757d26dc96c = []byte{ - // 455 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0xdf, 0x6a, 0xd4, 0x40, - 0x14, 0xc6, 0xcd, 0xae, 0xad, 0x38, 0xa9, 0x52, 0x07, 0xad, 0x31, 0x14, 0x8c, 0x7f, 0xc0, 0x80, - 0x30, 0x21, 0xeb, 0x8d, 0xa6, 0xde, 0xd8, 0x55, 0xf4, 0xa2, 0x15, 0x09, 0x65, 0x2f, 0x64, 0x21, - 0x9c, 0xcd, 0x8e, 0x21, 0x38, 0x99, 0x09, 0xc9, 0xc9, 0xe2, 0xbe, 0x52, 0x1f, 0xc5, 0xe7, 0xf0, - 0xca, 0xa7, 0x90, 0xf9, 0x13, 0x5a, 0x8a, 0x7b, 0x77, 0xe6, 0xfc, 0xbe, 0x73, 0xf6, 0x3b, 0xdf, - 0x86, 0xbc, 0xac, 0x94, 0xaa, 0x04, 0x4f, 0x4a, 0xa1, 0x86, 0x75, 0x02, 0x03, 0xaa, 0x46, 0x24, - 0x9b, 0x34, 0x59, 0x03, 0x42, 0xcf, 0x91, 0xb5, 0x9d, 0x42, 0x45, 0x8f, 0xac, 0x8a, 0x19, 0x15, - 0xb3,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0x9d, 0x23, 0x54, 0xc1, 0x03, 0x6b, 0x5d, 0xd7, 0x74, 0x4e, - 0xf6, 0x05, 0xac, 0xb8, 0xe8, 0x83, 0x57, 0xd1, 0x34, 0xf6, 0x67, 0xaf, 0x77, 0x05, 0xe6, 0x72, - 0x60, 0x67, 0x46, 0xfd, 0x49, 0x62, 0xb7, 0xcd, 0xdd, 0x68, 0xf8, 0x8e, 0xf8, 0xd7, 0xda, 0xf4, - 0x90, 0x4c, 0x7f, 0xf2, 0xad, 0x4b, 0x48, 0x97, 0xf4, 0x21, 0xd9, 0xdb, 0x80, 0x18, 0xc6, 0x64, - 0xec, 0x23, 0x9b, 0xbc, 0xf5, 0x4e, 0x29, 0x39, 0xbc, 0xf9, 0xd7, 0x9d, 0x5e, 0x7a, 0x24, 0x2c, - 0x55, 0xb3, 0xc3, 0xc9, 0x37, 0xef, 0xfb, 0x7b, 0x47, 0x2a, 0x25, 0x40, 0x56, 0x4c, 0x75, 0x55, - 0x52, 0x71, 0x69, 0xae, 0x4f, 0x2c, 0x82, 0xb6, 0xee, 0x6f, 0x7e, 0x8f, 0x27, 0xb6, 0xba, 0x9c, - 0x1c, 0x7d, 0xb6, 0xe3, 0x73, 0xb3, 0xf8, 0xc3, 0x80, 0xea, 0xfc, 0x8c, 0x2d, 0xd2, 0xdf, 0x23, - 0x58, 0x1a, 0xb0, 0xb4, 0x60, 0xb9, 0x48, 0xff, 0x4e, 0x9e, 0x58, 0x90, 0x65, 0x86, 0x64, 0x99, - 0x45, 0x59, 0xb6, 0x48, 0x57, 0xfb, 0xe6, 0x67, 0xdf, 0xfc, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x5a, - 0xf5, 0x66, 0x47, 0x43, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/io.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/io.pb.go deleted file mode 100644 index d040daa4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/io.pb.go +++ /dev/null @@ -1,332 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1/io.proto - -package automl - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Input configuration for ImportData Action. -// -// The format of input depends on dataset_metadata the Dataset into which -// the import is happening has. As input source the -// [gcs_source][google.cloud.automl.v1beta1.InputConfig.gcs_source] -// is expected, unless specified otherwise. Additionally any input .CSV file -// by itself must be 100MB or smaller, unless specified otherwise. -// If an "example" file (that is, image, video etc.) with identical content -// (even if it had different GCS_FILE_PATH) is mentioned multiple times, then -// its label, bounding boxes etc. are appended. The same file should be always -// provided with the same ML_USE and GCS_FILE_PATH, if it is not, then -// these values are nondeterministically selected from the given ones. -// -// Errors: -// If any of the provided CSV files can't be parsed or if more than certain -// percent of CSV rows cannot be processed then the operation fails and -// nothing is imported. Regardless of overall success or failure the per-row -// failures, up to a certain count cap, is listed in -// Operation.metadata.partial_failures. -// -type InputConfig struct { - // The source of the input. - // - // Types that are valid to be assigned to Source: - // *InputConfig_GcsSource - Source isInputConfig_Source `protobuf_oneof:"source"` - // Additional domain-specific parameters describing the semantic of the - // imported data, any string must be up to 25000 - // characters long. - Params map[string]string `protobuf:"bytes,2,rep,name=params,proto3" json:"params,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 *InputConfig) Reset() { *m = InputConfig{} } -func (m *InputConfig) String() string { return proto.CompactTextString(m) } -func (*InputConfig) ProtoMessage() {} -func (*InputConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_929966d18309cd53, []int{0} -} - -func (m *InputConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InputConfig.Unmarshal(m, b) -} -func (m *InputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InputConfig.Marshal(b, m, deterministic) -} -func (m *InputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_InputConfig.Merge(m, src) -} -func (m *InputConfig) XXX_Size() int { - return xxx_messageInfo_InputConfig.Size(m) -} -func (m *InputConfig) XXX_DiscardUnknown() { - xxx_messageInfo_InputConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_InputConfig proto.InternalMessageInfo - -type isInputConfig_Source interface { - isInputConfig_Source() -} - -type InputConfig_GcsSource struct { - GcsSource *GcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3,oneof"` -} - -func (*InputConfig_GcsSource) isInputConfig_Source() {} - -func (m *InputConfig) GetSource() isInputConfig_Source { - if m != nil { - return m.Source - } - return nil -} - -func (m *InputConfig) GetGcsSource() *GcsSource { - if x, ok := m.GetSource().(*InputConfig_GcsSource); ok { - return x.GcsSource - } - return nil -} - -func (m *InputConfig) GetParams() map[string]string { - if m != nil { - return m.Params - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*InputConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*InputConfig_GcsSource)(nil), - } -} - -// * For Translation: -// CSV file `translation.csv`, with each line in format: -// ML_USE,GCS_FILE_PATH -// GCS_FILE_PATH leads to a .TSV file which describes examples that have -// given ML_USE, using the following row format per line: -// TEXT_SNIPPET (in source language) \t TEXT_SNIPPET (in target -// language) -// -// `export_data__` -// where will be made -// BigQuery-dataset-name compatible (e.g. most special characters will -// become underscores), and timestamp will be in -// YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In that -// dataset a new table called `primary_table` will be created, and -// filled with precisely the same data as this obtained on import. -type OutputConfig struct { - // Required. The destination of the output. - // - // 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_929966d18309cd53, []int{1} -} - -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 (m *OutputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_OutputConfig.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*OutputConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*OutputConfig_GcsDestination)(nil), - } -} - -// The Google Cloud Storage location for the input content. -type GcsSource struct { - // Required. Google Cloud Storage URIs to input files, up to 2000 characters - // long. Accepted forms: - // * Full object path, e.g. gs://bucket/directory/object.csv - InputUris []string `protobuf:"bytes,1,rep,name=input_uris,json=inputUris,proto3" json:"input_uris,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_929966d18309cd53, []int{2} -} - -func (m *GcsSource) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GcsSource.Unmarshal(m, b) -} -func (m *GcsSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GcsSource.Marshal(b, m, deterministic) -} -func (m *GcsSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcsSource.Merge(m, src) -} -func (m *GcsSource) XXX_Size() int { - return xxx_messageInfo_GcsSource.Size(m) -} -func (m *GcsSource) XXX_DiscardUnknown() { - xxx_messageInfo_GcsSource.DiscardUnknown(m) -} - -var xxx_messageInfo_GcsSource proto.InternalMessageInfo - -func (m *GcsSource) GetInputUris() []string { - if m != nil { - return m.InputUris - } - return nil -} - -// The Google Cloud Storage location where the output is to be written to. -type GcsDestination struct { - // Required. Google Cloud Storage URI to output directory, up to 2000 - // characters long. - // Accepted forms: - // * Prefix path: gs://bucket/directory - // The requesting user must have write permission to the bucket. - // The directory is created if it doesn't exist. - 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 *GcsDestination) Reset() { *m = GcsDestination{} } -func (m *GcsDestination) String() string { return proto.CompactTextString(m) } -func (*GcsDestination) ProtoMessage() {} -func (*GcsDestination) Descriptor() ([]byte, []int) { - return fileDescriptor_929966d18309cd53, []int{3} -} - -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 (m *GcsDestination) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcsDestination.Merge(m, 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) GetOutputUriPrefix() string { - if m != nil { - return m.OutputUriPrefix - } - return "" -} - -func init() { - proto.RegisterType((*InputConfig)(nil), "google.cloud.automl.v1.InputConfig") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.automl.v1.InputConfig.ParamsEntry") - proto.RegisterType((*OutputConfig)(nil), "google.cloud.automl.v1.OutputConfig") - proto.RegisterType((*GcsSource)(nil), "google.cloud.automl.v1.GcsSource") - proto.RegisterType((*GcsDestination)(nil), "google.cloud.automl.v1.GcsDestination") -} - -func init() { proto.RegisterFile("google/cloud/automl/v1/io.proto", fileDescriptor_929966d18309cd53) } - -var fileDescriptor_929966d18309cd53 = []byte{ - // 416 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xdf, 0x6e, 0xd3, 0x30, - 0x18, 0xc5, 0x97, 0x54, 0x54, 0xe4, 0x0b, 0x6c, 0x10, 0xa1, 0xa9, 0x54, 0x20, 0x4a, 0x2f, 0x50, - 0xb5, 0x0b, 0x5b, 0x19, 0x37, 0x10, 0x76, 0x43, 0x06,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0x00, 0x00, 0xff, 0xff, 0xc6, 0x09, 0x41, 0xdb, 0xca, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/model.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/model.pb.go deleted file mode 100644 index 8c9b155a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/model.pb.go +++ /dev/null @@ -1,247 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1/model.proto - -package automl - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Deployment state of the model. -type Model_DeploymentState int32 - -const ( - // Should not be used, an un-set enum has this value by default. - Model_DEPLOYMENT_STATE_UNSPECIFIED Model_DeploymentState = 0 - // Model is deployed. - Model_DEPLOYED Model_DeploymentState = 1 - // Model is not deployed. - Model_UNDEPLOYED Model_DeploymentState = 2 -) - -var Model_DeploymentState_name = map[int32]string{ - 0: "DEPLOYMENT_STATE_UNSPECIFIED", - 1: "DEPLOYED", - 2: "UNDEPLOYED", -} - -var Model_DeploymentState_value = map[string]int32{ - "DEPLOYMENT_STATE_UNSPECIFIED": 0, - "DEPLOYED": 1, - "UNDEPLOYED": 2, -} - -func (x Model_DeploymentState) String() string { - return proto.EnumName(Model_DeploymentState_name, int32(x)) -} - -func (Model_DeploymentState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_452845e4ed6fce9d, []int{0, 0} -} - -// API proto representing a trained machine learning model. -type Model struct { - // Required. - // The model metadata that is specific to the problem type. - // Must match the metadata type of the dataset used to train the model. - // - // Types that are valid to be assigned to ModelMetadata: - // *Model_TranslationModelMetadata - ModelMetadata isModel_ModelMetadata `protobuf_oneof:"model_metadata"` - // Output only. Resource name of the model. - // Format: `projects/{project_id}/locations/{location_id}/models/{model_id}` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The name of the model to show in the interface. The name can be - // up to 32 characters long and can consist only of ASCII Latin letters A-Z - // and a-z, underscores - // (_), and ASCII digits 0-9. It must start with a letter. - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Required. The resource ID of the dataset used to create the model. The dataset must - // come from the same ancestor project and location. - DatasetId string `protobuf:"bytes,3,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"` - // Output only. Timestamp when the model training finished and can be used for prediction. - CreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Output only. Timestamp when this model was last updated. - UpdateTime *timestamp.Timestamp `protobuf:"bytes,11,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - // Output only. Deployment state of the model. A model can only serve - // prediction requests after it gets deployed. - DeploymentState Model_DeploymentState `protobuf:"varint,8,opt,name=deployment_state,json=deploymentState,proto3,enum=google.cloud.automl.v1.Model_DeploymentState" json:"deployment_state,omitempty"` - // Optional. The labels with user-defined metadata to organize your model. - // - // Label keys and values can be no longer than 64 characters - // (Unicode codepoints), can only contain lowercase letters, numeric - // characters, underscores and dashes. International characters are allowed. - // Label values are optional. Label keys must start with a letter. - // - // See https://goo.gl/xmQnxf for more information on and examples of labels. - Labels map[string]string `protobuf:"bytes,34,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 *Model) Reset() { *m = Model{} } -func (m *Model) String() string { return proto.CompactTextString(m) } -func (*Model) ProtoMessage() {} -func (*Model) Descriptor() ([]byte, []int) { - return fileDescriptor_452845e4ed6fce9d, []int{0} -} - -func (m *Model) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Model.Unmarshal(m, b) -} -func (m *Model) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Model.Marshal(b, m, deterministic) -} -func (m *Model) XXX_Merge(src proto.Message) { - xxx_messageInfo_Model.Merge(m, src) -} -func (m *Model) XXX_Size() int { - return xxx_messageInfo_Model.Size(m) -} -func (m *Model) XXX_DiscardUnknown() { - xxx_messageInfo_Model.DiscardUnknown(m) -} - -var xxx_messageInfo_Model proto.InternalMessageInfo - -type isModel_ModelMetadata interface { - isModel_ModelMetadata() -} - -type Model_TranslationModelMetadata struct { - TranslationModelMetadata *TranslationModelMetadata `protobuf:"bytes,15,opt,name=translation_model_metadata,json=translationModelMetadata,proto3,oneof"` -} - -func (*Model_TranslationModelMetadata) isModel_ModelMetadata() {} - -func (m *Model) GetModelMetadata() isModel_ModelMetadata { - if m != nil { - return m.ModelMetadata - } - return nil -} - -func (m *Model) GetTranslationModelMetadata() *TranslationModelMetadata { - if x, ok := m.GetModelMetadata().(*Model_TranslationModelMetadata); ok { - return x.TranslationModelMetadata - } - return nil -} - -func (m *Model) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Model) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *Model) GetDatasetId() string { - if m != nil { - return m.DatasetId - } - return "" -} - -func (m *Model) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *Model) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -func (m *Model) GetDeploymentState() Model_DeploymentState { - if m != nil { - return m.DeploymentState - } - return Model_DEPLOYMENT_STATE_UNSPECIFIED -} - -func (m *Model) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Model) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Model_TranslationModelMetadata)(nil), - } -} - -func init() { - proto.RegisterEnum("google.cloud.automl.v1.Model_DeploymentState", Model_DeploymentState_name, Model_DeploymentState_value) - proto.RegisterType((*Model)(nil), "google.cloud.automl.v1.Model") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.automl.v1.Model.LabelsEntry") -} - -func init() { proto.RegisterFile("google/cloud/automl/v1/model.proto", fileDescriptor_452845e4ed6fce9d) } - -var fileDescriptor_452845e4ed6fce9d = []byte{ - // 523 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0xd1, 0x8e, 0xd2, 0x40, - 0x18, 0x85, 0xb7, 0xac, 0xac, 0xbb, 0x7f, 0x37, 0x40, 0x26, 0x66, 0x53, 0x9b, 0x35, 0x22, 0x57, - 0x78, 0xe1, 0x54, 0xf0, 0x46, 0xbb, 0xde, 0xb0, 0x4b, 0x55, 0x12, 0x40, 0x04, 0x96, 0xa8, 0x21, - 0x69, 0x06, 0x3a, 0x36, 0x8d, 0xd3, 0x4e, 0xd3, 0x4e, 0x49, 0x78, 0x01, 0x1f, 0x66, 0x1f, 0xc5, - 0x47, 0xf1, 0x29, 0x4c, 0x67, 0x5a, 0xdc, 0xdd, 0x88, 0xde, 0xcd, 0xfc, 0xe7, 0x7c, 0x3f, 0x87, - 0xd3, 0x16, 0x5a, 0x3e, 0xe7, 0x3e, 0xa3, 0xd6, 0x9a, 0xf1, 0xcc, 0xb3, 0x48, 0x26, 0x78, 0xc8, - 0xac, 0x4d, 0xc7, 0x0a, 0xb9, 0x47, 0x19, 0x8e, 0x13, 0x2e, 0x38, 0x3a, 0x53, 0x1e, 0x2c, 0x3d, - 0x58, 0x79, 0xf0, 0xa6, 0x63, 0xb6, 0xf7, 0xb0, 0x22, 0x21, 0x51, 0xca, 0x88, 0x08, 0x78, 0xa4, - 0x36, 0x98, 0x4f, 0x0b, 0xa7, 0xbc, 0xad, 0xb2, 0x6f, 0x96, 0x08, 0x42, 0x9a, 0x0a, 0x12, 0xc6, - 0x85, 0xe1, 0xbc, 0x30, 0x90, 0x38, 0xb0, 0x48, 0x14, 0x71, 0x21, 0xe9, 0x54, 0xa9, 0xad, 0x1f, - 0x55, 0xa8, 0x8e, 0xf2, 0x40, 0x28, 0x06, 0xf3, 0xd6, 0x76, 0x57, 0xa6, 0x74, 0x43, 0x2a, 0x88, - 0x47, 0x04, 0x31, 0xea, 0x4d, 0xad, 0xad, 0x77, 0x5f, 0xe2, 0xbf, 0xe7, 0xc5, 0xf3, 0x3f, 0xa4, - 0xdc, 0x36, 0x2a, 0xb8, 0x0f, 0x07, 0x53, 0x43, 0xec, 0xd1, 0x10, 0x82, 0x07, 0x11, 0x09, 0xa9, - 0xa1, 0x35, 0xb5, 0xf6, 0xc9, 0x54, 0x9e, 0xd1, 0x33, 0x38, 0xf5, 0x82, 0x34, 0x66, 0x64, 0xeb, - 0x4a, 0xad, 0x22, 0x35, 0xbd, 0x98, 0x8d, 0x73, 0xcb, 0x13, 0x80, 0x1c, 0x4f, 0xa9, 0x70, 0x03, - 0xcf, 0x38, 0x94, 0x86, 0x93, 0x62, 0x32, 0xf0, 0xd0, 0x05, 0xe8, 0xeb, 0x84, 0x12, 0x41, 0xdd, - 0xbc, 0x09, 0xe3, 0xa1, 0x0c, 0x6e, 0x96, 0xc1, 0xcb, 0x9a, 0xf0, 0xbc, 0xac, 0x69, 0x0a, 0xca, - 0x9e, 0x0f, 0x72, 0x38, 0x8b, 0xbd, 0x1d, 0xac, 0xff, 0x1f, 0x56, 0x76, 0x09, 0x7f, 0x86, 0x86, - 0x47, 0x63, 0xc6, 0xb7, 0x21, 0x8d, 0x84, 0x9b, 0x0a, 0x22, 0xa8, 0x71, 0xdc, 0xd4, 0xda, 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 0x61, 0xa9, 0x84, 0xe5, 0xa2, 0xf3, 0xab, 0xf2, 0x58, 0x09, 0xb6, - 0x2d, 0x15, 0xdb, 0x56, 0x92, 0x6d, 0x2f, 0x3a, 0xab, 0x23, 0xf9, 0xb3, 0xaf, 0x7e, 0x07, 0x00, - 0x00, 0xff, 0xff, 0xc7, 0xd2, 0x39, 0x12, 0xe3, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/model_evaluation.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/model_evaluation.pb.go deleted file mode 100644 index aeb6cdfa..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/model_evaluation.pb.go +++ /dev/null @@ -1,177 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1/model_evaluation.proto - -package automl - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Evaluation results of a model. -type ModelEvaluation struct { - // Output only. Problem type specific evaluation metrics. - // - // Types that are valid to be assigned to Metrics: - // *ModelEvaluation_TranslationEvaluationMetrics - Metrics isModelEvaluation_Metrics `protobuf_oneof:"metrics"` - // Output only. Resource name of the model evaluation. - // Format: - // - // `projects/{project_id}/locations/{location_id}/models/{model_id}/modelEvaluations/{model_evaluation_id}` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Output only. The ID of the annotation spec that the model evaluation applies to. The - // The ID is empty for the overall model evaluation. - AnnotationSpecId string `protobuf:"bytes,2,opt,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"` - // Output only. Timestamp when this model evaluation was created. - CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Output only. The number of examples used for model evaluation, i.e. for - // which ground truth from time of model creation is compared against the - // predicted annotations created by the model. - // For overall ModelEvaluation (i.e. with annotation_spec_id not set) this is - // the total number of all examples used for evaluation. - // Otherwise, this is the count of examples that according to the ground - // truth were annotated by the - // - // [annotation_spec_id][google.cloud.automl.v1beta1.ModelEvaluation.annotation_spec_id]. - EvaluatedExampleCount int32 `protobuf:"varint,6,opt,name=evaluated_example_count,json=evaluatedExampleCount,proto3" json:"evaluated_example_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_008481175b84a2ca, []int{0} -} - -func (m *ModelEvaluation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ModelEvaluation.Unmarshal(m, b) -} -func (m *ModelEvaluation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ModelEvaluation.Marshal(b, m, deterministic) -} -func (m *ModelEvaluation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ModelEvaluation.Merge(m, src) -} -func (m *ModelEvaluation) XXX_Size() int { - return xxx_messageInfo_ModelEvaluation.Size(m) -} -func (m *ModelEvaluation) XXX_DiscardUnknown() { - xxx_messageInfo_ModelEvaluation.DiscardUnknown(m) -} - -var xxx_messageInfo_ModelEvaluation proto.InternalMessageInfo - -type isModelEvaluation_Metrics interface { - isModelEvaluation_Metrics() -} - -type ModelEvaluation_TranslationEvaluationMetrics struct { - TranslationEvaluationMetrics *TranslationEvaluationMetrics `protobuf:"bytes,9,opt,name=translation_evaluation_metrics,json=translationEvaluationMetrics,proto3,oneof"` -} - -func (*ModelEvaluation_TranslationEvaluationMetrics) isModelEvaluation_Metrics() {} - -func (m *ModelEvaluation) GetMetrics() isModelEvaluation_Metrics { - if m != nil { - return m.Metrics - } - return nil -} - -func (m *ModelEvaluation) GetTranslationEvaluationMetrics() *TranslationEvaluationMetrics { - if x, ok := m.GetMetrics().(*ModelEvaluation_TranslationEvaluationMetrics); ok { - return x.TranslationEvaluationMetrics - } - return nil -} - -func (m *ModelEvaluation) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ModelEvaluation) GetAnnotationSpecId() string { - if m != nil { - return m.AnnotationSpecId - } - return "" -} - -func (m *ModelEvaluation) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *ModelEvaluation) GetEvaluatedExampleCount() int32 { - if m != nil { - return m.EvaluatedExampleCount - } - return 0 -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ModelEvaluation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ModelEvaluation_TranslationEvaluationMetrics)(nil), - } -} - -func init() { - proto.RegisterType((*ModelEvaluation)(nil), "google.cloud.automl.v1.ModelEvaluation") -} - -func init() { - proto.RegisterFile("google/cloud/automl/v1/model_evaluation.proto", fileDescriptor_008481175b84a2ca) -} - -var fileDescriptor_008481175b84a2ca = []byte{ - // 392 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xcf, 0x6a, 0xdb, 0x30, - 0x1c, 0xc7, 0x67, 0xb3, 0x64, 0x44, 0x39, 0x6c, 0x08, 0x96, 0x79, 0x26, 0x6c, 0x61, 0x27, 0x1f, - 0x36, 0x09, 0x6f, 0x63, 0x07, 0x67, 0x97, 0x25, 0x84, 0xb5, 0xd0, 0x40, 0x71, 0x43, 0x0e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1c, 0x65, 0x89, 0x63, 0xeb, 0xc4, 0x87, 0x8e, 0x5c, 0xe5, 0x34, 0x3e, - 0x4f, 0xe0, 0x14, 0x0c, 0xe3, 0x82, 0x12, 0x45, 0xa3, 0xba, 0x0b, 0xa7, 0xa7, 0x65, 0xdd, 0x56, - 0xb6, 0x2d, 0x0a, 0xad, 0xda, 0xa2, 0x42, 0x60, 0xe2, 0xf5, 0x0b, 0xf8, 0x07, 0x7c, 0x6a, 0x3e, - 0x98, 0x26, 0x11, 0xbd, 0x25, 0x3c, 0x67, 0x34, 0x8a, 0x65, 0x25, 0x94, 0xd3, 0x9f, 0x58, 0x5e, - 0x2f, 0xfc, 0x78, 0xc0, 0x0b, 0x43, 0xe7, 0x35, 0x9c, 0x0d, 0xc0, 0xbb, 0xa6, 0x9d, 0xd9, 0xde, - 0x02, 0x6e, 0x2c, 0xf9, 0x89, 0x76, 0x2e, 0xad, 0xeb, 0xbf, 0x0d, 0x49, 0x25, 0x23, 0x22, 0x45, - 0xb2, 0x48, 0x71, 0x4a, 0x85, 0x16, 0xc3, 0x06, 0x91, 0x3c, 0x2b, 0x9f, 0xff, 0xfc, 0xa9, 0x39, - 0xed, 0xed, 0xd1, 0x7f, 0x33, 0x3e, 0xd7, 0x8b, 0xff, 0x55, 0x4a, 0x2e, 0x2f, 0xd0, 0xda, 0xbf, - 0x6f, 0xc1, 0x46, 0x83, 0x8d, 0x01, 0x9b, 0xb5, 0xff, 0x68, 0x7f, 0x36, 0x20, 0x08, 0x34, 0x09, - 0x02, 0x83, 0x82, 0x60, 0xed, 0x6f, 0xfb, 0xfa, 0xda, 0x5f, 0x4f, 0x01, 0x00, 0x00, 0xff, 0xff, - 0x29, 0xa5, 0xb5, 0xde, 0xb9, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/operations.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/operations.pb.go deleted file mode 100644 index 135d9937..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/operations.pb.go +++ /dev/null @@ -1,258 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1/operations.proto - -package automl - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/empty" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Metadata used across all long running operations returned by AutoML API. -type OperationMetadata struct { - // Ouptut only. Details of specific operation. Even if this field is empty, - // the presence allows to distinguish different types of operations. - // - // Types that are valid to be assigned to Details: - // *OperationMetadata_DeleteDetails - // *OperationMetadata_CreateModelDetails - Details isOperationMetadata_Details `protobuf_oneof:"details"` - // Output only. Progress of operation. Range: [0, 100]. - // Not used currently. - ProgressPercent int32 `protobuf:"varint,13,opt,name=progress_percent,json=progressPercent,proto3" json:"progress_percent,omitempty"` - // Output only. Partial failures encountered. - // E.g. single files that couldn't be read. - // This field should never exceed 20 entries. - // Status details field will contain standard GCP error details. - PartialFailures []*status.Status `protobuf:"bytes,2,rep,name=partial_failures,json=partialFailures,proto3" json:"partial_failures,omitempty"` - // Output only. Time when the operation was created. - CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Output only. Time when the operation was updated for the last time. - 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 *OperationMetadata) Reset() { *m = OperationMetadata{} } -func (m *OperationMetadata) String() string { return proto.CompactTextString(m) } -func (*OperationMetadata) ProtoMessage() {} -func (*OperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_f887f15250a8bfee, []int{0} -} - -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 (m *OperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperationMetadata.Merge(m, 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 - -type isOperationMetadata_Details interface { - isOperationMetadata_Details() -} - -type OperationMetadata_DeleteDetails struct { - DeleteDetails *DeleteOperationMetadata `protobuf:"bytes,8,opt,name=delete_details,json=deleteDetails,proto3,oneof"` -} - -type OperationMetadata_CreateModelDetails struct { - CreateModelDetails *CreateModelOperationMetadata `protobuf:"bytes,10,opt,name=create_model_details,json=createModelDetails,proto3,oneof"` -} - -func (*OperationMetadata_DeleteDetails) isOperationMetadata_Details() {} - -func (*OperationMetadata_CreateModelDetails) isOperationMetadata_Details() {} - -func (m *OperationMetadata) GetDetails() isOperationMetadata_Details { - if m != nil { - return m.Details - } - return nil -} - -func (m *OperationMetadata) GetDeleteDetails() *DeleteOperationMetadata { - if x, ok := m.GetDetails().(*OperationMetadata_DeleteDetails); ok { - return x.DeleteDetails - } - return nil -} - -func (m *OperationMetadata) GetCreateModelDetails() *CreateModelOperationMetadata { - if x, ok := m.GetDetails().(*OperationMetadata_CreateModelDetails); ok { - return x.CreateModelDetails - } - return nil -} - -func (m *OperationMetadata) GetProgressPercent() int32 { - if m != nil { - return m.ProgressPercent - } - return 0 -} - -func (m *OperationMetadata) GetPartialFailures() []*status.Status { - if m != nil { - return m.PartialFailures - } - return nil -} - -func (m *OperationMetadata) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *OperationMetadata) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*OperationMetadata) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*OperationMetadata_DeleteDetails)(nil), - (*OperationMetadata_CreateModelDetails)(nil), - } -} - -// Details of operations that perform deletes of any entities. -type DeleteOperationMetadata struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DeleteOperationMetadata) Reset() { *m = DeleteOperationMetadata{} } -func (m *DeleteOperationMetadata) String() string { return proto.CompactTextString(m) } -func (*DeleteOperationMetadata) ProtoMessage() {} -func (*DeleteOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_f887f15250a8bfee, []int{1} -} - -func (m *DeleteOperationMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteOperationMetadata.Unmarshal(m, b) -} -func (m *DeleteOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteOperationMetadata.Marshal(b, m, deterministic) -} -func (m *DeleteOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteOperationMetadata.Merge(m, src) -} -func (m *DeleteOperationMetadata) XXX_Size() int { - return xxx_messageInfo_DeleteOperationMetadata.Size(m) -} -func (m *DeleteOperationMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteOperationMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteOperationMetadata proto.InternalMessageInfo - -// Details of CreateModel operation. -type CreateModelOperationMetadata struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateModelOperationMetadata) Reset() { *m = CreateModelOperationMetadata{} } -func (m *CreateModelOperationMetadata) String() string { return proto.CompactTextString(m) } -func (*CreateModelOperationMetadata) ProtoMessage() {} -func (*CreateModelOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_f887f15250a8bfee, []int{2} -} - -func (m *CreateModelOperationMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateModelOperationMetadata.Unmarshal(m, b) -} -func (m *CreateModelOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateModelOperationMetadata.Marshal(b, m, deterministic) -} -func (m *CreateModelOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateModelOperationMetadata.Merge(m, src) -} -func (m *CreateModelOperationMetadata) XXX_Size() int { - return xxx_messageInfo_CreateModelOperationMetadata.Size(m) -} -func (m *CreateModelOperationMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_CreateModelOperationMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateModelOperationMetadata proto.InternalMessageInfo - -func init() { - proto.RegisterType((*OperationMetadata)(nil), "google.cloud.automl.v1.OperationMetadata") - proto.RegisterType((*DeleteOperationMetadata)(nil), "google.cloud.automl.v1.DeleteOperationMetadata") - proto.RegisterType((*CreateModelOperationMetadata)(nil), "google.cloud.automl.v1.CreateModelOperationMetadata") -} - -func init() { - proto.RegisterFile("google/cloud/automl/v1/operations.proto", fileDescriptor_f887f15250a8bfee) -} - -var fileDescriptor_f887f15250a8bfee = []byte{ - // 470 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xcd, 0x6e, 0xd3, 0x40, - 0x14, 0x85, 0x49, 0xc2, 0xef, 0x44, 0xa5, 0xc5, 0x42, 0x6d, 0x6a, 0x2a, 0x1a, 0x65, 0x43, 0x58, - 0x30, 0x23, 0x17, 0x56, 0x2e, 0x2c, 0x68, 0x2b, 0x60, 0x41, 0x44, 0x65, 0x50, 0x84, 0x50, 0x24, - 0x6b, 0x6a, 0xdf, 0x1a, 0x4b, 0x63, 0xcf, 0x68, 0x7c, 0x1d, 0x89, 0x57, 0xea, 0x83, 0xb0, 0xe0, - 0x51, 0x78, 0x0a, 0xe4, 0xf9, 0x01, 0x54, 0xea, 0xb2, 0x4b, 0xee, 0xf9, 0xce, 0x99, 0x99, 0x73, - 0x4d, 0x9e, 0x14, 0x52, 0x16, 0x02, 0x58, 0x26, 0x64, 0x9b, 0x33, 0xde, 0xa2, 0xac, 0x04, 0x5b, - 0x47, 0x4c, 0x2a, 0xd0, 0x1c, 0x4b, 0x59, 0x37, 0x54, 0x69, 0x89, 0x32, 0xd8, 0xb6, 0x20, 0x35, - 0x20, 0xb5, 0x20, 0x5d, 0x47, 0xe1, 0x7e, 0x4f, 0x40, 0x29, 0xad, 0x31, 0x9c, 0xf5, 0x00, 0x95, - 0xcc, 0x41, 0x38, 0xe6, 0xd9, 0x75, 0x4c, 0x0a, 0x6b, 0x2e, 0x5a, 0x73, 0x19, 0x87, 0x3f, 0x72, - 0xb8, 0xf9, 0x77, 0xd6, 0x9e, 0x33, 0xa8, 0x14, 0x7e, 0x73, 0xe2, 0xfe, 0x65, 0x11, 0xcb, 0x0a, - 0x1a, 0xe4, 0x95, 0x72, 0xc0, 0x8e, 0x03, 0xb4, 0xca, 0x58, 0x83, 0x1c, 0x5b, 0xf7, 0xc4, 0x70, - 0xcf, 0x09, 0x5c, 0x95, 0x8c, 0xd7, 0xb5, 0xc4, 0xbf, 0x0b, 0x98, 0x7d, 0x1f, 0x91, 0x07, 0x1f, - 0x7c, 0x2b, 0x0b, 0x40, 0x9e, 0x73, 0xe4, 0xc1, 0x67, 0x72, 0x3f, 0x07, 0x01, 0x08, 0x69, 0x0e, - 0xc8, 0x4b, 0xd1, 0x4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0x0a, 0x5e, 0x17, 0x54, 0xea, 0x82, 0x15, 0x50, - 0x9b, 0xbb, 0x31, 0x2b, 0x71, 0x55, 0x36, 0x97, 0xbf, 0xf3, 0x43, 0xfb, 0xeb, 0x62, 0xb8, 0xfd, - 0xd6, 0xda, 0x8f, 0x4d, 0xf0, 0xeb, 0x16, 0xe5, 0xe2, 0x3d, 0x5d, 0x46, 0x3f, 0xbc, 0xb0, 0x32, - 0xc2, 0xca, 0x0a, 0xab, 0x65, 0xf4, 0x73, 0xb8, 0x6b, 0x85, 0x38, 0x36, 0x4a, 0x1c, 0x5b, 0x29, - 0x8e, 0x97, 0xd1, 0xd9, 0x6d, 0x73, 0xec, 0xf3, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xcc, 0xad, - 0xba, 0x38, 0xe3, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/prediction_service.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/prediction_service.pb.go deleted file mode 100644 index d757f8ed..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/prediction_service.pb.go +++ /dev/null @@ -1,284 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1/prediction_service.proto - -package automl - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - _ "google.golang.org/genproto/googleapis/longrunning" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [PredictionService.Predict][google.cloud.automl.v1.PredictionService.Predict]. -type PredictRequest struct { - // Name of the model requested to serve the prediction. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. Payload to perform a prediction on. The payload must match the - // problem type that the model was trained to solve. - Payload *ExamplePayload `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` - // Additional domain-specific parameters, any string must be up to 25000 - // characters long. - Params map[string]string `protobuf:"bytes,3,rep,name=params,proto3" json:"params,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 *PredictRequest) Reset() { *m = PredictRequest{} } -func (m *PredictRequest) String() string { return proto.CompactTextString(m) } -func (*PredictRequest) ProtoMessage() {} -func (*PredictRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a60105ec759f54a4, []int{0} -} - -func (m *PredictRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PredictRequest.Unmarshal(m, b) -} -func (m *PredictRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PredictRequest.Marshal(b, m, deterministic) -} -func (m *PredictRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PredictRequest.Merge(m, src) -} -func (m *PredictRequest) XXX_Size() int { - return xxx_messageInfo_PredictRequest.Size(m) -} -func (m *PredictRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PredictRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_PredictRequest proto.InternalMessageInfo - -func (m *PredictRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *PredictRequest) GetPayload() *ExamplePayload { - if m != nil { - return m.Payload - } - return nil -} - -func (m *PredictRequest) GetParams() map[string]string { - if m != nil { - return m.Params - } - return nil -} - -// Response message for -// [PredictionService.Predict][google.cloud.automl.v1.PredictionService.Predict]. -type PredictResponse struct { - // Prediction result. - // Translation and Text Sentiment will return precisely one payload. - Payload []*AnnotationPayload `protobuf:"bytes,1,rep,name=payload,proto3" json:"payload,omitempty"` - // Additional domain-specific prediction response metadata. - Metadata map[string]string `protobuf:"bytes,2,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:"-"` -} - -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_a60105ec759f54a4, []int{1} -} - -func (m *PredictResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PredictResponse.Unmarshal(m, b) -} -func (m *PredictResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PredictResponse.Marshal(b, m, deterministic) -} -func (m *PredictResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PredictResponse.Merge(m, src) -} -func (m *PredictResponse) XXX_Size() int { - return xxx_messageInfo_PredictResponse.Size(m) -} -func (m *PredictResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PredictResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_PredictResponse proto.InternalMessageInfo - -func (m *PredictResponse) GetPayload() []*AnnotationPayload { - if m != nil { - return m.Payload - } - return nil -} - -func (m *PredictResponse) GetMetadata() map[string]string { - if m != nil { - return m.Metadata - } - return nil -} - -func init() { - proto.RegisterType((*PredictRequest)(nil), "google.cloud.automl.v1.PredictRequest") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.automl.v1.PredictRequest.ParamsEntry") - proto.RegisterType((*PredictResponse)(nil), "google.cloud.automl.v1.PredictResponse") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.automl.v1.PredictResponse.MetadataEntry") -} - -func init() { - proto.RegisterFile("google/cloud/automl/v1/prediction_service.proto", fileDescriptor_a60105ec759f54a4) -} - -var fileDescriptor_a60105ec759f54a4 = []byte{ - // 578 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0x4f, 0x8b, 0x13, 0x31, - 0x1c, 0x25, 0x53, 0xdd, 0x75, 0x53, 0xfc, 0x37, 0x68, 0xad, 0x83, 0x60, 0xa9, 0xb0, 0x5b, 0x0b, - 0x26, 0xb4, 0x22, 0xea, 0xac, 0x0b, 0x76, 0x97, 0x45, 0x14, 0x17, 0xc6, 0x0a, 0x3d, 0x48, 0xa1, - 0xc4, 0x69, 0x9c, 0x1d, 0xcd, 0x24, 0x71, 0x26, 0xd3, 0x5a, 0xc4, 0x8b, 0x5f, 0xc1, 0x93, 0x5f, - 0xc1, 0x8f, 0xe1, 0x71, 0x8f, 0xfa, 0x15, 0xc4, 0x83, 0xe0, 0x17, 0xf0, 0x24, 0x33, 0x49, 0xdb, - 0xed, 0xd6, 0x61, 0xd7, 0x5b, 0x66, 0x5e, 0xde, 0x7b, 0xbf, 0x97, 0xe4, 0x41, 0x1c, 0x08, 0x11, - 0x30, 0x8a, 0x7d, 0x26, 0xd2, 0x21, 0x26, 0xa9, 0x12, 0x11, 0xc3, 0xa3, 0x16, 0x96, 0x31, 0x1d, - 0x86, 0xbe, 0x0a, 0x05, 0x1f, 0x24, 0x34, 0x1e, 0x85, 0x3e, 0x45, 0x32, 0x16, 0x4a, 0xd8, 0x15, - 0x4d, 0x40, 0x39, 0x01, 0x69, 0x02, 0x1a, 0xb5, 0x9c, 0x6b, 0x46, 0x88, 0xc8, 0x10, 0x13, 0xce, - 0x85, 0x22, 0x19, 0x39, 0xd1, 0x2c, 0xe7, 0xca, 0x21, 0xd4, 0x67, 0x21, 0xe5, 0xca, 0x00, 0x45, - 0xfe, 0x73, 0x89, 0x81, 0x24, 0x13, 0x26, 0xc8, 0xd0, 0x10, 0x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 0xeb, 0x60, 0x0a, 0xf4, 0x73, 0xa0, 0xaf, 0x81, 0x7e, - 0xaf, 0xf5, 0xcb, 0xba, 0xaa, 0x01, 0xd7, 0xcd, 0x11, 0xd7, 0xd5, 0x90, 0xeb, 0xf6, 0x5a, 0x2f, - 0x57, 0x72, 0xdb, 0xdb, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x32, 0xc9, 0x22, 0xb3, 0xec, 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 - -// PredictionServiceClient is the client API for PredictionService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type PredictionServiceClient interface { - // Perform an online prediction. The prediction result will be directly - // returned in the response. - // Available for following ML problems, and their expected request payloads: - // * Translation - TextSnippet, content up to 25,000 characters, UTF-8 - // encoded. - Predict(ctx context.Context, in *PredictRequest, opts ...grpc.CallOption) (*PredictResponse, error) -} - -type predictionServiceClient struct { - cc *grpc.ClientConn -} - -func NewPredictionServiceClient(cc *grpc.ClientConn) PredictionServiceClient { - return &predictionServiceClient{cc} -} - -func (c *predictionServiceClient) Predict(ctx context.Context, in *PredictRequest, opts ...grpc.CallOption) (*PredictResponse, error) { - out := new(PredictResponse) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1.PredictionService/Predict", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// PredictionServiceServer is the server API for PredictionService service. -type PredictionServiceServer interface { - // Perform an online prediction. The prediction result will be directly - // returned in the response. - // Available for following ML problems, and their expected request payloads: - // * Translation - TextSnippet, content up to 25,000 characters, UTF-8 - // encoded. - Predict(context.Context, *PredictRequest) (*PredictResponse, error) -} - -// UnimplementedPredictionServiceServer can be embedded to have forward compatible implementations. -type UnimplementedPredictionServiceServer struct { -} - -func (*UnimplementedPredictionServiceServer) Predict(ctx context.Context, req *PredictRequest) (*PredictResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Predict not implemented") -} - -func RegisterPredictionServiceServer(s *grpc.Server, srv PredictionServiceServer) { - s.RegisterService(&_PredictionService_serviceDesc, srv) -} - -func _PredictionService_Predict_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PredictRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PredictionServiceServer).Predict(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1.PredictionService/Predict", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PredictionServiceServer).Predict(ctx, req.(*PredictRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _PredictionService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.automl.v1.PredictionService", - HandlerType: (*PredictionServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Predict", - Handler: _PredictionService_Predict_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/automl/v1/prediction_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/service.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/service.pb.go deleted file mode 100644 index f70314e8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/service.pb.go +++ /dev/null @@ -1,1668 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1/service.proto - -package automl - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [AutoMl.CreateDataset][google.cloud.automl.v1.AutoMl.CreateDataset]. -type CreateDatasetRequest struct { - // The resource name of the project to create the dataset for. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The dataset to create. - Dataset *Dataset `protobuf:"bytes,2,opt,name=dataset,proto3" json:"dataset,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_d14ac936eda1c3a8, []int{0} -} - -func (m *CreateDatasetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateDatasetRequest.Unmarshal(m, b) -} -func (m *CreateDatasetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateDatasetRequest.Marshal(b, m, deterministic) -} -func (m *CreateDatasetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateDatasetRequest.Merge(m, src) -} -func (m *CreateDatasetRequest) XXX_Size() int { - return xxx_messageInfo_CreateDatasetRequest.Size(m) -} -func (m *CreateDatasetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateDatasetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateDatasetRequest proto.InternalMessageInfo - -func (m *CreateDatasetRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateDatasetRequest) GetDataset() *Dataset { - if m != nil { - return m.Dataset - } - return nil -} - -// Request message for -// [AutoMl.GetDataset][google.cloud.automl.v1.AutoMl.GetDataset]. -type GetDatasetRequest struct { - // The resource name of the dataset to retrieve. - 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 *GetDatasetRequest) Reset() { *m = GetDatasetRequest{} } -func (m *GetDatasetRequest) String() string { return proto.CompactTextString(m) } -func (*GetDatasetRequest) ProtoMessage() {} -func (*GetDatasetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d14ac936eda1c3a8, []int{1} -} - -func (m *GetDatasetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDatasetRequest.Unmarshal(m, b) -} -func (m *GetDatasetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDatasetRequest.Marshal(b, m, deterministic) -} -func (m *GetDatasetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDatasetRequest.Merge(m, src) -} -func (m *GetDatasetRequest) XXX_Size() int { - return xxx_messageInfo_GetDatasetRequest.Size(m) -} -func (m *GetDatasetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetDatasetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetDatasetRequest proto.InternalMessageInfo - -func (m *GetDatasetRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for -// [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets]. -type ListDatasetsRequest struct { - // The resource name of the project from which to list datasets. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // An expression for filtering the results of the request. - // - // * `dataset_metadata` - for existence of the case (e.g. - // image_classification_dataset_metadata:*). - // Some examples of using the filter are: - // - // * `translation_dataset_metadata:*` --> The dataset has - // translation_dataset_metadata. - Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` - // Requested page size. Server may return fewer results than requested. - // If unspecified, server will pick a default size. - PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // A token identifying a page of results for the server to return - // Typically obtained via - // [ListDatasetsResponse.next_page_token][google.cloud.automl.v1.ListDatasetsResponse.next_page_token] - // of the previous - // [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets] call. - 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 *ListDatasetsRequest) Reset() { *m = ListDatasetsRequest{} } -func (m *ListDatasetsRequest) String() string { return proto.CompactTextString(m) } -func (*ListDatasetsRequest) ProtoMessage() {} -func (*ListDatasetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d14ac936eda1c3a8, []int{2} -} - -func (m *ListDatasetsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDatasetsRequest.Unmarshal(m, b) -} -func (m *ListDatasetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDatasetsRequest.Marshal(b, m, deterministic) -} -func (m *ListDatasetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDatasetsRequest.Merge(m, src) -} -func (m *ListDatasetsRequest) XXX_Size() int { - return xxx_messageInfo_ListDatasetsRequest.Size(m) -} -func (m *ListDatasetsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListDatasetsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDatasetsRequest proto.InternalMessageInfo - -func (m *ListDatasetsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListDatasetsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListDatasetsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListDatasetsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response message for -// [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets]. -type ListDatasetsResponse struct { - // The datasets read. - Datasets []*Dataset `protobuf:"bytes,1,rep,name=datasets,proto3" json:"datasets,omitempty"` - // A token to retrieve next page of results. - // Pass to - // [ListDatasetsRequest.page_token][google.cloud.automl.v1.ListDatasetsRequest.page_token] - // to obtain that 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 *ListDatasetsResponse) Reset() { *m = ListDatasetsResponse{} } -func (m *ListDatasetsResponse) String() string { return proto.CompactTextString(m) } -func (*ListDatasetsResponse) ProtoMessage() {} -func (*ListDatasetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d14ac936eda1c3a8, []int{3} -} - -func (m *ListDatasetsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDatasetsResponse.Unmarshal(m, b) -} -func (m *ListDatasetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDatasetsResponse.Marshal(b, m, deterministic) -} -func (m *ListDatasetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDatasetsResponse.Merge(m, src) -} -func (m *ListDatasetsResponse) XXX_Size() int { - return xxx_messageInfo_ListDatasetsResponse.Size(m) -} -func (m *ListDatasetsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListDatasetsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDatasetsResponse proto.InternalMessageInfo - -func (m *ListDatasetsResponse) GetDatasets() []*Dataset { - if m != nil { - return m.Datasets - } - return nil -} - -func (m *ListDatasetsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request message for -// [AutoMl.UpdateDataset][google.cloud.automl.v1.AutoMl.UpdateDataset] -type UpdateDatasetRequest struct { - // The dataset which replaces the resource on the server. - Dataset *Dataset `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"` - // Required. The update mask applies to the 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 *UpdateDatasetRequest) Reset() { *m = UpdateDatasetRequest{} } -func (m *UpdateDatasetRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateDatasetRequest) ProtoMessage() {} -func (*UpdateDatasetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d14ac936eda1c3a8, []int{4} -} - -func (m *UpdateDatasetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateDatasetRequest.Unmarshal(m, b) -} -func (m *UpdateDatasetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateDatasetRequest.Marshal(b, m, deterministic) -} -func (m *UpdateDatasetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateDatasetRequest.Merge(m, src) -} -func (m *UpdateDatasetRequest) XXX_Size() int { - return xxx_messageInfo_UpdateDatasetRequest.Size(m) -} -func (m *UpdateDatasetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateDatasetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateDatasetRequest proto.InternalMessageInfo - -func (m *UpdateDatasetRequest) GetDataset() *Dataset { - if m != nil { - return m.Dataset - } - return nil -} - -func (m *UpdateDatasetRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// Request message for -// [AutoMl.DeleteDataset][google.cloud.automl.v1.AutoMl.DeleteDataset]. -type DeleteDatasetRequest struct { - // The resource name of the dataset to delete. - 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 *DeleteDatasetRequest) Reset() { *m = DeleteDatasetRequest{} } -func (m *DeleteDatasetRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteDatasetRequest) ProtoMessage() {} -func (*DeleteDatasetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d14ac936eda1c3a8, []int{5} -} - -func (m *DeleteDatasetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteDatasetRequest.Unmarshal(m, b) -} -func (m *DeleteDatasetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteDatasetRequest.Marshal(b, m, deterministic) -} -func (m *DeleteDatasetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteDatasetRequest.Merge(m, src) -} -func (m *DeleteDatasetRequest) XXX_Size() int { - return xxx_messageInfo_DeleteDatasetRequest.Size(m) -} -func (m *DeleteDatasetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteDatasetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteDatasetRequest proto.InternalMessageInfo - -func (m *DeleteDatasetRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for -// [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData]. -type ImportDataRequest struct { - // Required. Dataset name. Dataset must already exist. All imported - // annotations and examples will be added. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The desired input location and its domain specific semantics, - // if any. - InputConfig *InputConfig `protobuf:"bytes,3,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 *ImportDataRequest) Reset() { *m = ImportDataRequest{} } -func (m *ImportDataRequest) String() string { return proto.CompactTextString(m) } -func (*ImportDataRequest) ProtoMessage() {} -func (*ImportDataRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d14ac936eda1c3a8, []int{6} -} - -func (m *ImportDataRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImportDataRequest.Unmarshal(m, b) -} -func (m *ImportDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImportDataRequest.Marshal(b, m, deterministic) -} -func (m *ImportDataRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportDataRequest.Merge(m, src) -} -func (m *ImportDataRequest) XXX_Size() int { - return xxx_messageInfo_ImportDataRequest.Size(m) -} -func (m *ImportDataRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ImportDataRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ImportDataRequest proto.InternalMessageInfo - -func (m *ImportDataRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ImportDataRequest) GetInputConfig() *InputConfig { - if m != nil { - return m.InputConfig - } - return nil -} - -// Request message for -// [AutoMl.ExportData][google.cloud.automl.v1.AutoMl.ExportData]. -type ExportDataRequest struct { - // Required. The resource name of the dataset. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The desired output location. - OutputConfig *OutputConfig `protobuf:"bytes,3,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 *ExportDataRequest) Reset() { *m = ExportDataRequest{} } -func (m *ExportDataRequest) String() string { return proto.CompactTextString(m) } -func (*ExportDataRequest) ProtoMessage() {} -func (*ExportDataRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d14ac936eda1c3a8, []int{7} -} - -func (m *ExportDataRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExportDataRequest.Unmarshal(m, b) -} -func (m *ExportDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExportDataRequest.Marshal(b, m, deterministic) -} -func (m *ExportDataRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportDataRequest.Merge(m, src) -} -func (m *ExportDataRequest) XXX_Size() int { - return xxx_messageInfo_ExportDataRequest.Size(m) -} -func (m *ExportDataRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ExportDataRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ExportDataRequest proto.InternalMessageInfo - -func (m *ExportDataRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ExportDataRequest) GetOutputConfig() *OutputConfig { - if m != nil { - return m.OutputConfig - } - return nil -} - -// Request message for -// [AutoMl.CreateModel][google.cloud.automl.v1.AutoMl.CreateModel]. -type CreateModelRequest struct { - // Resource name of the parent project where the model is being created. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The model to create. - Model *Model `protobuf:"bytes,4,opt,name=model,proto3" json:"model,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_d14ac936eda1c3a8, []int{8} -} - -func (m *CreateModelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateModelRequest.Unmarshal(m, b) -} -func (m *CreateModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateModelRequest.Marshal(b, m, deterministic) -} -func (m *CreateModelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateModelRequest.Merge(m, src) -} -func (m *CreateModelRequest) XXX_Size() int { - return xxx_messageInfo_CreateModelRequest.Size(m) -} -func (m *CreateModelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateModelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateModelRequest proto.InternalMessageInfo - -func (m *CreateModelRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateModelRequest) GetModel() *Model { - if m != nil { - return m.Model - } - return nil -} - -// Request message for -// [AutoMl.GetModel][google.cloud.automl.v1.AutoMl.GetModel]. -type GetModelRequest struct { - // Resource name of the model. - 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 *GetModelRequest) Reset() { *m = GetModelRequest{} } -func (m *GetModelRequest) String() string { return proto.CompactTextString(m) } -func (*GetModelRequest) ProtoMessage() {} -func (*GetModelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d14ac936eda1c3a8, []int{9} -} - -func (m *GetModelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetModelRequest.Unmarshal(m, b) -} -func (m *GetModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetModelRequest.Marshal(b, m, deterministic) -} -func (m *GetModelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetModelRequest.Merge(m, src) -} -func (m *GetModelRequest) XXX_Size() int { - return xxx_messageInfo_GetModelRequest.Size(m) -} -func (m *GetModelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetModelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetModelRequest proto.InternalMessageInfo - -func (m *GetModelRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for -// [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels]. -type ListModelsRequest struct { - // Resource name of the project, from which to list the models. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // An expression for filtering the results of the request. - // - // * `model_metadata` - for existence of the case (e.g. - // video_classification_model_metadata:*). - // * `dataset_id` - for = or !=. Some examples of using the filter are: - // - // * `image_classification_model_metadata:*` --> The model has - // image_classification_model_metadata. - // * `dataset_id=5` --> The model was created from a dataset with ID 5. - Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` - // Requested page size. - PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // A token identifying a page of results for the server to return - // Typically obtained via - // [ListModelsResponse.next_page_token][google.cloud.automl.v1.ListModelsResponse.next_page_token] - // of the previous - // [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels] call. - 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 *ListModelsRequest) Reset() { *m = ListModelsRequest{} } -func (m *ListModelsRequest) String() string { return proto.CompactTextString(m) } -func (*ListModelsRequest) ProtoMessage() {} -func (*ListModelsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d14ac936eda1c3a8, []int{10} -} - -func (m *ListModelsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListModelsRequest.Unmarshal(m, b) -} -func (m *ListModelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListModelsRequest.Marshal(b, m, deterministic) -} -func (m *ListModelsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListModelsRequest.Merge(m, src) -} -func (m *ListModelsRequest) XXX_Size() int { - return xxx_messageInfo_ListModelsRequest.Size(m) -} -func (m *ListModelsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListModelsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListModelsRequest proto.InternalMessageInfo - -func (m *ListModelsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListModelsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListModelsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListModelsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response message for -// [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels]. -type ListModelsResponse struct { - // List of models in the requested page. - Model []*Model `protobuf:"bytes,1,rep,name=model,proto3" json:"model,omitempty"` - // A token to retrieve next page of results. - // Pass to - // [ListModelsRequest.page_token][google.cloud.automl.v1.ListModelsRequest.page_token] - // to obtain that 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 *ListModelsResponse) Reset() { *m = ListModelsResponse{} } -func (m *ListModelsResponse) String() string { return proto.CompactTextString(m) } -func (*ListModelsResponse) ProtoMessage() {} -func (*ListModelsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d14ac936eda1c3a8, []int{11} -} - -func (m *ListModelsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListModelsResponse.Unmarshal(m, b) -} -func (m *ListModelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListModelsResponse.Marshal(b, m, deterministic) -} -func (m *ListModelsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListModelsResponse.Merge(m, src) -} -func (m *ListModelsResponse) XXX_Size() int { - return xxx_messageInfo_ListModelsResponse.Size(m) -} -func (m *ListModelsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListModelsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListModelsResponse proto.InternalMessageInfo - -func (m *ListModelsResponse) GetModel() []*Model { - if m != nil { - return m.Model - } - return nil -} - -func (m *ListModelsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request message for -// [AutoMl.DeleteModel][google.cloud.automl.v1.AutoMl.DeleteModel]. -type DeleteModelRequest struct { - // Resource name of the model being 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 (m *DeleteModelRequest) Reset() { *m = DeleteModelRequest{} } -func (m *DeleteModelRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteModelRequest) ProtoMessage() {} -func (*DeleteModelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d14ac936eda1c3a8, []int{12} -} - -func (m *DeleteModelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteModelRequest.Unmarshal(m, b) -} -func (m *DeleteModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteModelRequest.Marshal(b, m, deterministic) -} -func (m *DeleteModelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteModelRequest.Merge(m, src) -} -func (m *DeleteModelRequest) XXX_Size() int { - return xxx_messageInfo_DeleteModelRequest.Size(m) -} -func (m *DeleteModelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteModelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteModelRequest proto.InternalMessageInfo - -func (m *DeleteModelRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for -// [AutoMl.UpdateModel][google.cloud.automl.v1.AutoMl.UpdateModel] -type UpdateModelRequest struct { - // The model which replaces the resource on the server. - Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` - // Required. The update mask applies to the 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 *UpdateModelRequest) Reset() { *m = UpdateModelRequest{} } -func (m *UpdateModelRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateModelRequest) ProtoMessage() {} -func (*UpdateModelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d14ac936eda1c3a8, []int{13} -} - -func (m *UpdateModelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateModelRequest.Unmarshal(m, b) -} -func (m *UpdateModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateModelRequest.Marshal(b, m, deterministic) -} -func (m *UpdateModelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateModelRequest.Merge(m, src) -} -func (m *UpdateModelRequest) XXX_Size() int { - return xxx_messageInfo_UpdateModelRequest.Size(m) -} -func (m *UpdateModelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateModelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateModelRequest proto.InternalMessageInfo - -func (m *UpdateModelRequest) GetModel() *Model { - if m != nil { - return m.Model - } - return nil -} - -func (m *UpdateModelRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// Request message for -// [AutoMl.GetModelEvaluation][google.cloud.automl.v1.AutoMl.GetModelEvaluation]. -type GetModelEvaluationRequest struct { - // Resource name for the model evaluation. - 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 *GetModelEvaluationRequest) Reset() { *m = GetModelEvaluationRequest{} } -func (m *GetModelEvaluationRequest) String() string { return proto.CompactTextString(m) } -func (*GetModelEvaluationRequest) ProtoMessage() {} -func (*GetModelEvaluationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d14ac936eda1c3a8, []int{14} -} - -func (m *GetModelEvaluationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetModelEvaluationRequest.Unmarshal(m, b) -} -func (m *GetModelEvaluationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetModelEvaluationRequest.Marshal(b, m, deterministic) -} -func (m *GetModelEvaluationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetModelEvaluationRequest.Merge(m, src) -} -func (m *GetModelEvaluationRequest) XXX_Size() int { - return xxx_messageInfo_GetModelEvaluationRequest.Size(m) -} -func (m *GetModelEvaluationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetModelEvaluationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetModelEvaluationRequest proto.InternalMessageInfo - -func (m *GetModelEvaluationRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for -// [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations]. -type ListModelEvaluationsRequest struct { - // Resource name of the model to list the model evaluations for. - // If modelId is set as "-", this will list model evaluations from across all - // models of the parent location. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // An expression for filtering the results of the request. - // - // * `annotation_spec_id` - for =, != or existence. See example below for - // the last. - // - // Some examples of using the filter are: - // - // * `annotation_spec_id!=4` --> The model evaluation was done for - // annotation spec with ID different than 4. - // * `NOT annotation_spec_id:*` --> The model evaluation was done for - // aggregate of all annotation specs. - Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` - // Requested page size. - PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // A token identifying a page of results for the server to return. - // Typically obtained via - // [ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1.ListModelEvaluationsResponse.next_page_token] - // of the previous - // [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations] - // call. - 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 *ListModelEvaluationsRequest) Reset() { *m = ListModelEvaluationsRequest{} } -func (m *ListModelEvaluationsRequest) String() string { return proto.CompactTextString(m) } -func (*ListModelEvaluationsRequest) ProtoMessage() {} -func (*ListModelEvaluationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d14ac936eda1c3a8, []int{15} -} - -func (m *ListModelEvaluationsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListModelEvaluationsRequest.Unmarshal(m, b) -} -func (m *ListModelEvaluationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListModelEvaluationsRequest.Marshal(b, m, deterministic) -} -func (m *ListModelEvaluationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListModelEvaluationsRequest.Merge(m, src) -} -func (m *ListModelEvaluationsRequest) XXX_Size() int { - return xxx_messageInfo_ListModelEvaluationsRequest.Size(m) -} -func (m *ListModelEvaluationsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListModelEvaluationsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListModelEvaluationsRequest proto.InternalMessageInfo - -func (m *ListModelEvaluationsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListModelEvaluationsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListModelEvaluationsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListModelEvaluationsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response message for -// [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations]. -type ListModelEvaluationsResponse struct { - // List of model evaluations in the requested page. - ModelEvaluation []*ModelEvaluation `protobuf:"bytes,1,rep,name=model_evaluation,json=modelEvaluation,proto3" json:"model_evaluation,omitempty"` - // A token to retrieve next page of results. - // Pass to the - // [ListModelEvaluationsRequest.page_token][google.cloud.automl.v1.ListModelEvaluationsRequest.page_token] - // field of a new - // [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations] - // request to obtain that 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 *ListModelEvaluationsResponse) Reset() { *m = ListModelEvaluationsResponse{} } -func (m *ListModelEvaluationsResponse) String() string { return proto.CompactTextString(m) } -func (*ListModelEvaluationsResponse) ProtoMessage() {} -func (*ListModelEvaluationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d14ac936eda1c3a8, []int{16} -} - -func (m *ListModelEvaluationsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListModelEvaluationsResponse.Unmarshal(m, b) -} -func (m *ListModelEvaluationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListModelEvaluationsResponse.Marshal(b, m, deterministic) -} -func (m *ListModelEvaluationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListModelEvaluationsResponse.Merge(m, src) -} -func (m *ListModelEvaluationsResponse) XXX_Size() int { - return xxx_messageInfo_ListModelEvaluationsResponse.Size(m) -} -func (m *ListModelEvaluationsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListModelEvaluationsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListModelEvaluationsResponse proto.InternalMessageInfo - -func (m *ListModelEvaluationsResponse) GetModelEvaluation() []*ModelEvaluation { - if m != nil { - return m.ModelEvaluation - } - return nil -} - -func (m *ListModelEvaluationsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -func init() { - proto.RegisterType((*CreateDatasetRequest)(nil), "google.cloud.automl.v1.CreateDatasetRequest") - proto.RegisterType((*GetDatasetRequest)(nil), "google.cloud.automl.v1.GetDatasetRequest") - proto.RegisterType((*ListDatasetsRequest)(nil), "google.cloud.automl.v1.ListDatasetsRequest") - proto.RegisterType((*ListDatasetsResponse)(nil), "google.cloud.automl.v1.ListDatasetsResponse") - proto.RegisterType((*UpdateDatasetRequest)(nil), "google.cloud.automl.v1.UpdateDatasetRequest") - proto.RegisterType((*DeleteDatasetRequest)(nil), "google.cloud.automl.v1.DeleteDatasetRequest") - proto.RegisterType((*ImportDataRequest)(nil), "google.cloud.automl.v1.ImportDataRequest") - proto.RegisterType((*ExportDataRequest)(nil), "google.cloud.automl.v1.ExportDataRequest") - proto.RegisterType((*CreateModelRequest)(nil), "google.cloud.automl.v1.CreateModelRequest") - proto.RegisterType((*GetModelRequest)(nil), "google.cloud.automl.v1.GetModelRequest") - proto.RegisterType((*ListModelsRequest)(nil), "google.cloud.automl.v1.ListModelsRequest") - proto.RegisterType((*ListModelsResponse)(nil), "google.cloud.automl.v1.ListModelsResponse") - proto.RegisterType((*DeleteModelRequest)(nil), "google.cloud.automl.v1.DeleteModelRequest") - proto.RegisterType((*UpdateModelRequest)(nil), "google.cloud.automl.v1.UpdateModelRequest") - proto.RegisterType((*GetModelEvaluationRequest)(nil), "google.cloud.automl.v1.GetModelEvaluationRequest") - proto.RegisterType((*ListModelEvaluationsRequest)(nil), "google.cloud.automl.v1.ListModelEvaluationsRequest") - proto.RegisterType((*ListModelEvaluationsResponse)(nil), "google.cloud.automl.v1.ListModelEvaluationsResponse") -} - -func init() { - proto.RegisterFile("google/cloud/automl/v1/service.proto", fileDescriptor_d14ac936eda1c3a8) -} - -var fileDescriptor_d14ac936eda1c3a8 = []byte{ - // 1219 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0x41, 0x6f, 0xdc, 0x44, - 0x1b, 0xd6, 0xa4, 0x6d, 0xbe, 0xf4, 0xd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bf, - 0x40, 0x00, 0x5d, 0x03, 0xc4, 0x1f, 0x66, 0x51, 0x4b, 0x99, 0xa4, 0x92, 0x77, 0xcb, 0xab, 0x2b, - 0x9c, 0x99, 0x8e, 0x05, 0xb3, 0xa8, 0x7e, 0x32, 0x78, 0x75, 0x68, 0x19, 0xda, 0x33, 0xfc, 0x0b, - 0x82, 0xc9, 0xa4, 0xc9, 0xe1, 0x8f, 0xb2, 0xe2, 0x0c, 0x70, 0x63, 0x65, 0xa9, 0x18, 0x58, 0x54, - 0x48, 0x1f, 0xc3, 0x82, 0xda, 0xe1, 0x5f, 0x11, 0x4c, 0xf5, 0x18, 0x61, 0x76, 0x42, 0x07, 0xf9, - 0x65, 0xbe, 0x70, 0xdb, 0x9c, 0xd6, 0x9d, 0xea, 0x0a, 0xa7, 0x15, 0xb7, 0x7f, 0x05, 0x05, 0xec, - 0xa6, 0xf6, 0x07, 0x04, 0x53, 0x3d, 0x06, 0x99, 0xcd, 0x73, 0x90, 0x8f, 0xe6, 0x15, 0x9e, 0x14, - 0x4f, 0x1b, 0x2d, 0xbd, 0xaf, 0x10, 0x40, 0xd7, 0x89, 0xb3, 0xeb, 0x2d, 0xe5, 0xd6, 0x79, 0x74, - 0x36, 0x39, 0x9d, 0xdb, 0xea, 0xad, 0x51, 0xe8, 0x98, 0x76, 0x27, 0x8c, 0x89, 0x34, 0x4e, 0xae, - 0xeb, 0xda, 0xd9, 0xe4, 0x52, 0xce, 0xfe, 0xdf, 0x90, 0x23, 0x67, 0x49, 0x72, 0x2f, 0x11, 0x94, - 0x12, 0xf6, 0x8e, 0xb5, 0xe1, 0xb7, 0x48, 0xd2, 0x5a, 0xf2, 0xe8, 0xad, 0x72, 0x7a, 0xcb, 0xaa, - 0x56, 0xe4, 0x1c, 0xf0, 0x2b, 0x31, 0x30, 0xa5, 0xff, 0x3c, 0x47, 0x30, 0x11, 0x7b, 0x08, 0x5e, - 0x18, 0x72, 0x7b, 0x0c, 0xe6, 0x33, 0xf0, 0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9b, 0xaf, 0x11, 0x28, - 0x0d, 0xda, 0xce, 0xd8, 0xcd, 0x66, 0x49, 0xb4, 0x48, 0xfb, 0x51, 0x97, 0xba, 0x8f, 0x3e, 0xbf, - 0x2d, 0x61, 0x2d, 0xea, 0x58, 0x6e, 0x4b, 0xa7, 0x7e, 0xcb, 0x68, 0x11, 0x97, 0xf7, 0xb0, 0x46, - 0x37, 0x58, 0xff, 0xbf, 0x10, 0x6b, 0xe2, 0xe9, 0xb7, 0xb1, 0xb9, 0x1d, 0x31, 0x7d, 0x8b, 0x47, - 0xe1, 0x4b, 0xdf, 0xd7, 0x0f, 0x2a, 0x6f, 0xe2, 0x81, 0x43, 0x3e, 0x70, 0x28, 0x06, 0x0e, 0x0f, - 0x2a, 0x7f, 0x8f, 0x5d, 0x12, 0x03, 0xa6, 0xc9, 0x47, 0x4c, 0x53, 0x0c, 0x99, 0xe6, 0x41, 0xe5, - 0xe1, 0x38, 0x0f, 0xbb, 0xfc, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xea, 0x29, 0x44, 0x8d, 0x3b, - 0x12, 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 - -// AutoMlClient is the client API for AutoMl service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AutoMlClient interface { - // Creates a dataset. - CreateDataset(ctx context.Context, in *CreateDatasetRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Gets a dataset. - GetDataset(ctx context.Context, in *GetDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) - // Lists datasets in a project. - ListDatasets(ctx context.Context, in *ListDatasetsRequest, opts ...grpc.CallOption) (*ListDatasetsResponse, error) - // Updates a dataset. - UpdateDataset(ctx context.Context, in *UpdateDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) - // Deletes a dataset and all of its contents. - // Returns empty response in the - // [response][google.longrunning.Operation.response] field when it completes, - // and `delete_details` in the - // [metadata][google.longrunning.Operation.metadata] field. - DeleteDataset(ctx context.Context, in *DeleteDatasetRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Imports data into a dataset. - ImportData(ctx context.Context, in *ImportDataRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Exports dataset's data to the provided output location. - // Returns an empty response in the - // [response][google.longrunning.Operation.response] field when it completes. - ExportData(ctx context.Context, in *ExportDataRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Creates a model. - // Returns a Model in the [response][google.longrunning.Operation.response] - // field when it completes. - // When you create a model, several model evaluations are created for it: - // a global evaluation, and one evaluation for each annotation spec. - CreateModel(ctx context.Context, in *CreateModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Gets a model. - GetModel(ctx context.Context, in *GetModelRequest, opts ...grpc.CallOption) (*Model, error) - // Lists models. - ListModels(ctx context.Context, in *ListModelsRequest, opts ...grpc.CallOption) (*ListModelsResponse, error) - // Deletes a model. - // Returns `google.protobuf.Empty` in the - // [response][google.longrunning.Operation.response] field when it completes, - // and `delete_details` in the - // [metadata][google.longrunning.Operation.metadata] field. - DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Updates a model. - UpdateModel(ctx context.Context, in *UpdateModelRequest, opts ...grpc.CallOption) (*Model, error) - // Gets a model evaluation. - GetModelEvaluation(ctx context.Context, in *GetModelEvaluationRequest, opts ...grpc.CallOption) (*ModelEvaluation, error) - // Lists model evaluations. - ListModelEvaluations(ctx context.Context, in *ListModelEvaluationsRequest, opts ...grpc.CallOption) (*ListModelEvaluationsResponse, error) -} - -type autoMlClient struct { - cc *grpc.ClientConn -} - -func NewAutoMlClient(cc *grpc.ClientConn) AutoMlClient { - return &autoMlClient{cc} -} - -func (c *autoMlClient) CreateDataset(ctx context.Context, in *CreateDatasetRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1.AutoMl/CreateDataset", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoMlClient) GetDataset(ctx context.Context, in *GetDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) { - out := new(Dataset) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1.AutoMl/GetDataset", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoMlClient) ListDatasets(ctx context.Context, in *ListDatasetsRequest, opts ...grpc.CallOption) (*ListDatasetsResponse, error) { - out := new(ListDatasetsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1.AutoMl/ListDatasets", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoMlClient) UpdateDataset(ctx context.Context, in *UpdateDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) { - out := new(Dataset) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1.AutoMl/UpdateDataset", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoMlClient) DeleteDataset(ctx context.Context, in *DeleteDatasetRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1.AutoMl/DeleteDataset", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoMlClient) ImportData(ctx context.Context, in *ImportDataRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1.AutoMl/ImportData", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoMlClient) ExportData(ctx context.Context, in *ExportDataRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1.AutoMl/ExportData", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoMlClient) CreateModel(ctx context.Context, in *CreateModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1.AutoMl/CreateModel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoMlClient) GetModel(ctx context.Context, in *GetModelRequest, opts ...grpc.CallOption) (*Model, error) { - out := new(Model) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1.AutoMl/GetModel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoMlClient) ListModels(ctx context.Context, in *ListModelsRequest, opts ...grpc.CallOption) (*ListModelsResponse, error) { - out := new(ListModelsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1.AutoMl/ListModels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoMlClient) DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1.AutoMl/DeleteModel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoMlClient) UpdateModel(ctx context.Context, in *UpdateModelRequest, opts ...grpc.CallOption) (*Model, error) { - out := new(Model) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1.AutoMl/UpdateModel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoMlClient) GetModelEvaluation(ctx context.Context, in *GetModelEvaluationRequest, opts ...grpc.CallOption) (*ModelEvaluation, error) { - out := new(ModelEvaluation) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1.AutoMl/GetModelEvaluation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoMlClient) ListModelEvaluations(ctx context.Context, in *ListModelEvaluationsRequest, opts ...grpc.CallOption) (*ListModelEvaluationsResponse, error) { - out := new(ListModelEvaluationsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1.AutoMl/ListModelEvaluations", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AutoMlServer is the server API for AutoMl service. -type AutoMlServer interface { - // Creates a dataset. - CreateDataset(context.Context, *CreateDatasetRequest) (*longrunning.Operation, error) - // Gets a dataset. - GetDataset(context.Context, *GetDatasetRequest) (*Dataset, error) - // Lists datasets in a project. - ListDatasets(context.Context, *ListDatasetsRequest) (*ListDatasetsResponse, error) - // Updates a dataset. - UpdateDataset(context.Context, *UpdateDatasetRequest) (*Dataset, error) - // Deletes a dataset and all of its contents. - // Returns empty response in the - // [response][google.longrunning.Operation.response] field when it completes, - // and `delete_details` in the - // [metadata][google.longrunning.Operation.metadata] field. - DeleteDataset(context.Context, *DeleteDatasetRequest) (*longrunning.Operation, error) - // Imports data into a dataset. - ImportData(context.Context, *ImportDataRequest) (*longrunning.Operation, error) - // Exports dataset's data to the provided output location. - // Returns an empty response in the - // [response][google.longrunning.Operation.response] field when it completes. - ExportData(context.Context, *ExportDataRequest) (*longrunning.Operation, error) - // Creates a model. - // Returns a Model in the [response][google.longrunning.Operation.response] - // field when it completes. - // When you create a model, several model evaluations are created for it: - // a global evaluation, and one evaluation for each annotation spec. - CreateModel(context.Context, *CreateModelRequest) (*longrunning.Operation, error) - // Gets a model. - GetModel(context.Context, *GetModelRequest) (*Model, error) - // Lists models. - ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error) - // Deletes a model. - // Returns `google.protobuf.Empty` in the - // [response][google.longrunning.Operation.response] field when it completes, - // and `delete_details` in the - // [metadata][google.longrunning.Operation.metadata] field. - DeleteModel(context.Context, *DeleteModelRequest) (*longrunning.Operation, error) - // Updates a model. - UpdateModel(context.Context, *UpdateModelRequest) (*Model, error) - // Gets a model evaluation. - GetModelEvaluation(context.Context, *GetModelEvaluationRequest) (*ModelEvaluation, error) - // Lists model evaluations. - ListModelEvaluations(context.Context, *ListModelEvaluationsRequest) (*ListModelEvaluationsResponse, error) -} - -// UnimplementedAutoMlServer can be embedded to have forward compatible implementations. -type UnimplementedAutoMlServer struct { -} - -func (*UnimplementedAutoMlServer) CreateDataset(ctx context.Context, req *CreateDatasetRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateDataset not implemented") -} -func (*UnimplementedAutoMlServer) GetDataset(ctx context.Context, req *GetDatasetRequest) (*Dataset, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDataset not implemented") -} -func (*UnimplementedAutoMlServer) ListDatasets(ctx context.Context, req *ListDatasetsRequest) (*ListDatasetsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListDatasets not implemented") -} -func (*UnimplementedAutoMlServer) UpdateDataset(ctx context.Context, req *UpdateDatasetRequest) (*Dataset, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateDataset not implemented") -} -func (*UnimplementedAutoMlServer) DeleteDataset(ctx context.Context, req *DeleteDatasetRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteDataset not implemented") -} -func (*UnimplementedAutoMlServer) ImportData(ctx context.Context, req *ImportDataRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ImportData not implemented") -} -func (*UnimplementedAutoMlServer) ExportData(ctx context.Context, req *ExportDataRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ExportData not implemented") -} -func (*UnimplementedAutoMlServer) CreateModel(ctx context.Context, req *CreateModelRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateModel not implemented") -} -func (*UnimplementedAutoMlServer) GetModel(ctx context.Context, req *GetModelRequest) (*Model, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetModel not implemented") -} -func (*UnimplementedAutoMlServer) ListModels(ctx context.Context, req *ListModelsRequest) (*ListModelsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListModels not implemented") -} -func (*UnimplementedAutoMlServer) DeleteModel(ctx context.Context, req *DeleteModelRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteModel not implemented") -} -func (*UnimplementedAutoMlServer) UpdateModel(ctx context.Context, req *UpdateModelRequest) (*Model, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateModel not implemented") -} -func (*UnimplementedAutoMlServer) GetModelEvaluation(ctx context.Context, req *GetModelEvaluationRequest) (*ModelEvaluation, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetModelEvaluation not implemented") -} -func (*UnimplementedAutoMlServer) ListModelEvaluations(ctx context.Context, req *ListModelEvaluationsRequest) (*ListModelEvaluationsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListModelEvaluations not implemented") -} - -func RegisterAutoMlServer(s *grpc.Server, srv AutoMlServer) { - s.RegisterService(&_AutoMl_serviceDesc, srv) -} - -func _AutoMl_CreateDataset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateDatasetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).CreateDataset(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1.AutoMl/CreateDataset", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).CreateDataset(ctx, req.(*CreateDatasetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoMl_GetDataset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDatasetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).GetDataset(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1.AutoMl/GetDataset", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).GetDataset(ctx, req.(*GetDatasetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoMl_ListDatasets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListDatasetsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).ListDatasets(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1.AutoMl/ListDatasets", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).ListDatasets(ctx, req.(*ListDatasetsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoMl_UpdateDataset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateDatasetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).UpdateDataset(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1.AutoMl/UpdateDataset", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).UpdateDataset(ctx, req.(*UpdateDatasetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoMl_DeleteDataset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteDatasetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).DeleteDataset(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1.AutoMl/DeleteDataset", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).DeleteDataset(ctx, req.(*DeleteDatasetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoMl_ImportData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ImportDataRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).ImportData(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1.AutoMl/ImportData", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).ImportData(ctx, req.(*ImportDataRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoMl_ExportData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ExportDataRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).ExportData(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1.AutoMl/ExportData", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).ExportData(ctx, req.(*ExportDataRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoMl_CreateModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateModelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).CreateModel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1.AutoMl/CreateModel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).CreateModel(ctx, req.(*CreateModelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoMl_GetModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetModelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).GetModel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1.AutoMl/GetModel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).GetModel(ctx, req.(*GetModelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoMl_ListModels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListModelsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).ListModels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1.AutoMl/ListModels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).ListModels(ctx, req.(*ListModelsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoMl_DeleteModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteModelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).DeleteModel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1.AutoMl/DeleteModel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).DeleteModel(ctx, req.(*DeleteModelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoMl_UpdateModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateModelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).UpdateModel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1.AutoMl/UpdateModel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).UpdateModel(ctx, req.(*UpdateModelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoMl_GetModelEvaluation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetModelEvaluationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).GetModelEvaluation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1.AutoMl/GetModelEvaluation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).GetModelEvaluation(ctx, req.(*GetModelEvaluationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoMl_ListModelEvaluations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListModelEvaluationsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).ListModelEvaluations(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1.AutoMl/ListModelEvaluations", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).ListModelEvaluations(ctx, req.(*ListModelEvaluationsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _AutoMl_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.automl.v1.AutoMl", - HandlerType: (*AutoMlServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateDataset", - Handler: _AutoMl_CreateDataset_Handler, - }, - { - MethodName: "GetDataset", - Handler: _AutoMl_GetDataset_Handler, - }, - { - MethodName: "ListDatasets", - Handler: _AutoMl_ListDatasets_Handler, - }, - { - MethodName: "UpdateDataset", - Handler: _AutoMl_UpdateDataset_Handler, - }, - { - MethodName: "DeleteDataset", - Handler: _AutoMl_DeleteDataset_Handler, - }, - { - MethodName: "ImportData", - Handler: _AutoMl_ImportData_Handler, - }, - { - MethodName: "ExportData", - Handler: _AutoMl_ExportData_Handler, - }, - { - MethodName: "CreateModel", - Handler: _AutoMl_CreateModel_Handler, - }, - { - MethodName: "GetModel", - Handler: _AutoMl_GetModel_Handler, - }, - { - MethodName: "ListModels", - Handler: _AutoMl_ListModels_Handler, - }, - { - MethodName: "DeleteModel", - Handler: _AutoMl_DeleteModel_Handler, - }, - { - MethodName: "UpdateModel", - Handler: _AutoMl_UpdateModel_Handler, - }, - { - MethodName: "GetModelEvaluation", - Handler: _AutoMl_GetModelEvaluation_Handler, - }, - { - MethodName: "ListModelEvaluations", - Handler: _AutoMl_ListModelEvaluations_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/automl/v1/service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/translation.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/translation.pb.go deleted file mode 100644 index f62f95fd..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1/translation.pb.go +++ /dev/null @@ -1,270 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1/translation.proto - -package automl - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Dataset metadata that is specific to translation. -type TranslationDatasetMetadata struct { - // Required. The BCP-47 language code of the source language. - SourceLanguageCode string `protobuf:"bytes,1,opt,name=source_language_code,json=sourceLanguageCode,proto3" json:"source_language_code,omitempty"` - // Required. The BCP-47 language code of the target language. - TargetLanguageCode string `protobuf:"bytes,2,opt,name=target_language_code,json=targetLanguageCode,proto3" json:"target_language_code,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TranslationDatasetMetadata) Reset() { *m = TranslationDatasetMetadata{} } -func (m *TranslationDatasetMetadata) String() string { return proto.CompactTextString(m) } -func (*TranslationDatasetMetadata) ProtoMessage() {} -func (*TranslationDatasetMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_c3df1fd6bde1101e, []int{0} -} - -func (m *TranslationDatasetMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TranslationDatasetMetadata.Unmarshal(m, b) -} -func (m *TranslationDatasetMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TranslationDatasetMetadata.Marshal(b, m, deterministic) -} -func (m *TranslationDatasetMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_TranslationDatasetMetadata.Merge(m, src) -} -func (m *TranslationDatasetMetadata) XXX_Size() int { - return xxx_messageInfo_TranslationDatasetMetadata.Size(m) -} -func (m *TranslationDatasetMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_TranslationDatasetMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_TranslationDatasetMetadata proto.InternalMessageInfo - -func (m *TranslationDatasetMetadata) GetSourceLanguageCode() string { - if m != nil { - return m.SourceLanguageCode - } - return "" -} - -func (m *TranslationDatasetMetadata) GetTargetLanguageCode() string { - if m != nil { - return m.TargetLanguageCode - } - return "" -} - -// Evaluation metrics for the dataset. -type TranslationEvaluationMetrics struct { - // Output only. BLEU score. - BleuScore float64 `protobuf:"fixed64,1,opt,name=bleu_score,json=bleuScore,proto3" json:"bleu_score,omitempty"` - // Output only. BLEU score for base model. - BaseBleuScore float64 `protobuf:"fixed64,2,opt,name=base_bleu_score,json=baseBleuScore,proto3" json:"base_bleu_score,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TranslationEvaluationMetrics) Reset() { *m = TranslationEvaluationMetrics{} } -func (m *TranslationEvaluationMetrics) String() string { return proto.CompactTextString(m) } -func (*TranslationEvaluationMetrics) ProtoMessage() {} -func (*TranslationEvaluationMetrics) Descriptor() ([]byte, []int) { - return fileDescriptor_c3df1fd6bde1101e, []int{1} -} - -func (m *TranslationEvaluationMetrics) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TranslationEvaluationMetrics.Unmarshal(m, b) -} -func (m *TranslationEvaluationMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TranslationEvaluationMetrics.Marshal(b, m, deterministic) -} -func (m *TranslationEvaluationMetrics) XXX_Merge(src proto.Message) { - xxx_messageInfo_TranslationEvaluationMetrics.Merge(m, src) -} -func (m *TranslationEvaluationMetrics) XXX_Size() int { - return xxx_messageInfo_TranslationEvaluationMetrics.Size(m) -} -func (m *TranslationEvaluationMetrics) XXX_DiscardUnknown() { - xxx_messageInfo_TranslationEvaluationMetrics.DiscardUnknown(m) -} - -var xxx_messageInfo_TranslationEvaluationMetrics proto.InternalMessageInfo - -func (m *TranslationEvaluationMetrics) GetBleuScore() float64 { - if m != nil { - return m.BleuScore - } - return 0 -} - -func (m *TranslationEvaluationMetrics) GetBaseBleuScore() float64 { - if m != nil { - return m.BaseBleuScore - } - return 0 -} - -// Model metadata that is specific to translation. -type TranslationModelMetadata struct { - // The resource name of the model to use as a baseline to train the custom - // model. If unset, we use the default base model provided by Google - // Translate. Format: - // `projects/{project_id}/locations/{location_id}/models/{model_id}` - BaseModel string `protobuf:"bytes,1,opt,name=base_model,json=baseModel,proto3" json:"base_model,omitempty"` - // Output only. Inferred from the dataset. - // The source languge (The BCP-47 language code) that is used for training. - SourceLanguageCode string `protobuf:"bytes,2,opt,name=source_language_code,json=sourceLanguageCode,proto3" json:"source_language_code,omitempty"` - // Output only. The target languge (The BCP-47 language code) that is used for - // training. - TargetLanguageCode string `protobuf:"bytes,3,opt,name=target_language_code,json=targetLanguageCode,proto3" json:"target_language_code,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TranslationModelMetadata) Reset() { *m = TranslationModelMetadata{} } -func (m *TranslationModelMetadata) String() string { return proto.CompactTextString(m) } -func (*TranslationModelMetadata) ProtoMessage() {} -func (*TranslationModelMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_c3df1fd6bde1101e, []int{2} -} - -func (m *TranslationModelMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TranslationModelMetadata.Unmarshal(m, b) -} -func (m *TranslationModelMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TranslationModelMetadata.Marshal(b, m, deterministic) -} -func (m *TranslationModelMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_TranslationModelMetadata.Merge(m, src) -} -func (m *TranslationModelMetadata) XXX_Size() int { - return xxx_messageInfo_TranslationModelMetadata.Size(m) -} -func (m *TranslationModelMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_TranslationModelMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_TranslationModelMetadata proto.InternalMessageInfo - -func (m *TranslationModelMetadata) GetBaseModel() string { - if m != nil { - return m.BaseModel - } - return "" -} - -func (m *TranslationModelMetadata) GetSourceLanguageCode() string { - if m != nil { - return m.SourceLanguageCode - } - return "" -} - -func (m *TranslationModelMetadata) GetTargetLanguageCode() string { - if m != nil { - return m.TargetLanguageCode - } - return "" -} - -// Annotation details specific to translation. -type TranslationAnnotation struct { - // Output only . The translated content. - TranslatedContent *TextSnippet `protobuf:"bytes,1,opt,name=translated_content,json=translatedContent,proto3" json:"translated_content,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c3df1fd6bde1101e, []int{3} -} - -func (m *TranslationAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TranslationAnnotation.Unmarshal(m, b) -} -func (m *TranslationAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TranslationAnnotation.Marshal(b, m, deterministic) -} -func (m *TranslationAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_TranslationAnnotation.Merge(m, src) -} -func (m *TranslationAnnotation) XXX_Size() int { - return xxx_messageInfo_TranslationAnnotation.Size(m) -} -func (m *TranslationAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_TranslationAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_TranslationAnnotation proto.InternalMessageInfo - -func (m *TranslationAnnotation) GetTranslatedContent() *TextSnippet { - if m != nil { - return m.TranslatedContent - } - return nil -} - -func init() { - proto.RegisterType((*TranslationDatasetMetadata)(nil), "google.cloud.automl.v1.TranslationDatasetMetadata") - proto.RegisterType((*TranslationEvaluationMetrics)(nil), "google.cloud.automl.v1.TranslationEvaluationMetrics") - proto.RegisterType((*TranslationModelMetadata)(nil), "google.cloud.automl.v1.TranslationModelMetadata") - proto.RegisterType((*TranslationAnnotation)(nil), "google.cloud.automl.v1.TranslationAnnotation") -} - -func init() { - proto.RegisterFile("google/cloud/automl/v1/translation.proto", fileDescriptor_c3df1fd6bde1101e) -} - -var fileDescriptor_c3df1fd6bde1101e = []byte{ - // 424 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0xc1, 0x8a, 0xd4, 0x40, - 0x10, 0x86, 0x49, 0x04, 0x61, 0x5a, 0x44, 0x0d, 0xba, 0xac, 0xc3, 0x0a, 0x32, 0x82, 0xee, 0xa9, - 0x63, 0xf4, 0x16, 0xbd, 0xec, 0x8c, 0xe2, 0x65,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xf9, 0x3a, 0xdb, 0xde, 0xf7, 0xb1, 0xef, 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, - 0x4a, 0xeb, 0xa8, 0xb3, 0x47, 0x03, 0x00, 0x00, -} 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 deleted file mode 100644 index a7d376cd..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/annotation_payload.pb.go +++ /dev/null @@ -1,269 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1beta1/annotation_payload.proto - -package automl - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/any" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Contains annotation information that is relevant to AutoML. -type AnnotationPayload struct { - // Output only . Additional information about the annotation - // specific to the AutoML domain. - // - // Types that are valid to be assigned to Detail: - // *AnnotationPayload_Translation - // *AnnotationPayload_Classification - // *AnnotationPayload_ImageObjectDetection - // *AnnotationPayload_VideoClassification - // *AnnotationPayload_VideoObjectTracking - // *AnnotationPayload_TextExtraction - // *AnnotationPayload_TextSentiment - // *AnnotationPayload_Tables - Detail isAnnotationPayload_Detail `protobuf_oneof:"detail"` - // Output only . The resource ID of the annotation spec that - // this annotation pertains to. The annotation spec comes from either an - // ancestor dataset, or the dataset that was used to train the model in use. - AnnotationSpecId string `protobuf:"bytes,1,opt,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"` - // Output only. The value of - // [display_name][google.cloud.automl.v1beta1.AnnotationSpec.display_name] - // when the model was trained. Because this field returns a value at model - // training time, for different models trained using the same dataset, the - // returned value could be different as model owner could update the - // `display_name` between any two model training. - 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 *AnnotationPayload) Reset() { *m = AnnotationPayload{} } -func (m *AnnotationPayload) String() string { return proto.CompactTextString(m) } -func (*AnnotationPayload) ProtoMessage() {} -func (*AnnotationPayload) Descriptor() ([]byte, []int) { - return fileDescriptor_cb8fb684261d0460, []int{0} -} - -func (m *AnnotationPayload) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotationPayload.Unmarshal(m, b) -} -func (m *AnnotationPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotationPayload.Marshal(b, m, deterministic) -} -func (m *AnnotationPayload) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotationPayload.Merge(m, src) -} -func (m *AnnotationPayload) XXX_Size() int { - return xxx_messageInfo_AnnotationPayload.Size(m) -} -func (m *AnnotationPayload) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotationPayload.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotationPayload proto.InternalMessageInfo - -type isAnnotationPayload_Detail interface { - isAnnotationPayload_Detail() -} - -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"` -} - -type AnnotationPayload_ImageObjectDetection struct { - ImageObjectDetection *ImageObjectDetectionAnnotation `protobuf:"bytes,4,opt,name=image_object_detection,json=imageObjectDetection,proto3,oneof"` -} - -type AnnotationPayload_VideoClassification struct { - VideoClassification *VideoClassificationAnnotation `protobuf:"bytes,9,opt,name=video_classification,json=videoClassification,proto3,oneof"` -} - -type AnnotationPayload_VideoObjectTracking struct { - VideoObjectTracking *VideoObjectTrackingAnnotation `protobuf:"bytes,8,opt,name=video_object_tracking,json=videoObjectTracking,proto3,oneof"` -} - -type AnnotationPayload_TextExtraction struct { - TextExtraction *TextExtractionAnnotation `protobuf:"bytes,6,opt,name=text_extraction,json=textExtraction,proto3,oneof"` -} - -type AnnotationPayload_TextSentiment struct { - TextSentiment *TextSentimentAnnotation `protobuf:"bytes,7,opt,name=text_sentiment,json=textSentiment,proto3,oneof"` -} - -type AnnotationPayload_Tables struct { - Tables *TablesAnnotation `protobuf:"bytes,10,opt,name=tables,proto3,oneof"` -} - -func (*AnnotationPayload_Translation) isAnnotationPayload_Detail() {} - -func (*AnnotationPayload_Classification) isAnnotationPayload_Detail() {} - -func (*AnnotationPayload_ImageObjectDetection) isAnnotationPayload_Detail() {} - -func (*AnnotationPayload_VideoClassification) isAnnotationPayload_Detail() {} - -func (*AnnotationPayload_VideoObjectTracking) isAnnotationPayload_Detail() {} - -func (*AnnotationPayload_TextExtraction) isAnnotationPayload_Detail() {} - -func (*AnnotationPayload_TextSentiment) isAnnotationPayload_Detail() {} - -func (*AnnotationPayload_Tables) isAnnotationPayload_Detail() {} - -func (m *AnnotationPayload) GetDetail() isAnnotationPayload_Detail { - if m != nil { - return m.Detail - } - return nil -} - -func (m *AnnotationPayload) GetTranslation() *TranslationAnnotation { - if x, ok := m.GetDetail().(*AnnotationPayload_Translation); ok { - return x.Translation - } - return nil -} - -func (m *AnnotationPayload) GetClassification() *ClassificationAnnotation { - if x, ok := m.GetDetail().(*AnnotationPayload_Classification); ok { - return x.Classification - } - return nil -} - -func (m *AnnotationPayload) GetImageObjectDetection() *ImageObjectDetectionAnnotation { - if x, ok := m.GetDetail().(*AnnotationPayload_ImageObjectDetection); ok { - return x.ImageObjectDetection - } - return nil -} - -func (m *AnnotationPayload) GetVideoClassification() *VideoClassificationAnnotation { - if x, ok := m.GetDetail().(*AnnotationPayload_VideoClassification); ok { - return x.VideoClassification - } - return nil -} - -func (m *AnnotationPayload) GetVideoObjectTracking() *VideoObjectTrackingAnnotation { - if x, ok := m.GetDetail().(*AnnotationPayload_VideoObjectTracking); ok { - return x.VideoObjectTracking - } - return nil -} - -func (m *AnnotationPayload) GetTextExtraction() *TextExtractionAnnotation { - if x, ok := m.GetDetail().(*AnnotationPayload_TextExtraction); ok { - return x.TextExtraction - } - return nil -} - -func (m *AnnotationPayload) GetTextSentiment() *TextSentimentAnnotation { - if x, ok := m.GetDetail().(*AnnotationPayload_TextSentiment); ok { - return x.TextSentiment - } - return nil -} - -func (m *AnnotationPayload) GetTables() *TablesAnnotation { - if x, ok := m.GetDetail().(*AnnotationPayload_Tables); ok { - return x.Tables - } - return nil -} - -func (m *AnnotationPayload) GetAnnotationSpecId() string { - if m != nil { - return m.AnnotationSpecId - } - return "" -} - -func (m *AnnotationPayload) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AnnotationPayload) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AnnotationPayload_Translation)(nil), - (*AnnotationPayload_Classification)(nil), - (*AnnotationPayload_ImageObjectDetection)(nil), - (*AnnotationPayload_VideoClassification)(nil), - (*AnnotationPayload_VideoObjectTracking)(nil), - (*AnnotationPayload_TextExtraction)(nil), - (*AnnotationPayload_TextSentiment)(nil), - (*AnnotationPayload_Tables)(nil), - } -} - -func init() { - proto.RegisterType((*AnnotationPayload)(nil), "google.cloud.automl.v1beta1.AnnotationPayload") -} - -func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/annotation_payload.proto", fileDescriptor_cb8fb684261d0460) -} - -var fileDescriptor_cb8fb684261d0460 = []byte{ - // 540 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0xdf, 0x6e, 0xd3, 0x30, - 0x18, 0xc5, 0x69, 0x81, 0x6e, 0x73, 0x61, 0x80, 0x19, 0x28, 0x6c, 0x08, 0x06, 0x57, 0x95, 0x60, - 0xc9, 0x3a, 0xc6, 0x4d, 0x76, 0xd5, 0x0d, 0x34, 0x26, 0xf1, 0x67, 0xda, 0xaa, 0x5e, 0xa0, 0xa2, - 0xe0, 0x24, 0xdf, 0x22, 0x83, 0x63, 0x47, 0x8d, 0x5b, 0xb5, 0x8f, 0xc0, 0x83, 0xf0, 0x32, 0x3c, - 0x0a, 0x4f, 0x81, 0x6a, 0x7b, 0x6d, 0x5c, 0x2a, 0x6f, 0x97, 0xc9, 0x39, 0xbf, 0x73, 0xfa, 0xf5, - 0x8b, 0x8d, 0xf6, 0x33, 0x21, 0x32, 0x06, 0x41, 0xc2, 0xc4, 0x30, 0x0d, 0xc8, 0x50, 0x8a, 0x9c, - 0x05, 0xa3, 0x76, 0x0c, 0x92, 0xb4, 0x03, 0xc2, 0xb9, 0x90, 0x44, 0x52, 0xc1, 0xa3, 0x82, 0x4c, - 0x98, 0x20, 0xa9, 0x5f, 0x0c, 0x84, 0x14, 0x78, 0x4b, 0x53, 0xbe, 0xa2, 0x7c, 0x4d, 0xf9, 0x86, - 0xda, 0xdc, 0x75, 0x45, 0x26, 0x8c, 0x94, 0x25, 0xbd, 0xa0, 0x89, 0x8a, 0xd5, 0x71, 0x9b, 0xaf, - 0x5c, 0x44, 0x0a, 0x12, 0x92, 0x8a, 0xb9, 0xe5, 0x32, 0x4b, 0x12, 0x33, 0x28, 0x8d, 0xb3, 0xed, - 0x74, 0xc2, 0x58, 0x46, 0x30, 0x96, 0x03, 0x52, 0x0d, 0xdf, 0xbd, 0x12, 0x29, 0x81, 0x4b, 0x9a, - 0x03, 0x97, 0x86, 0xd8, 0x71, 0x12, 0x03, 0xc2, 0x4b, 0x56, 0x1d, 0xf5, 0x89, 0xb1, 0xab, 0xa7, - 0x78, 0x78, 0x11, 0x10, 0x3e, 0x31, 0xd2, 0x53, 0x23, 0x91, 0x82, 0x56, 0xfe, 0x79, 0x33, 0xcc, - 0xcb, 0x5f, 0x2b, 0xe8, 0x41, 0x67, 0xf6, 0xf6, 0x54, 0xaf, 0x03, 0xf7, 0x50, 0xb3, 0xd2, 0xe1, - 0xd5, 0xb7, 0x6b, 0xad, 0xe6, 0xde, 0x9e, 0xef, 0x58, 0x8f, 0xdf, 0x9d, 0xfb, 0xe7, 0x79, 0x1f, - 0x6e, 0x9c, 0x55, 0x83, 0x70, 0x84, 0xd6, 0xed, 0x4d, 0x79, 0x37, 0x55, 0xf4, 0x5b, 0x67, 0xf4, - 0x91, 0x85, 0x58, 0xe9, 0x0b, 0x71, 0xb8, 0x44, 0x8f, 0x69, 0x4e, 0x32, 0x88, 0x44, 0xfc, 0x03, - 0x12, 0x19, 0xcd, 0xb6, 0xec, 0xdd, 0x52, 0x45, 0x07, 0xce, 0xa2, 0x93, 0x29, 0xfa, 0x45, 0x91, - 0xef, 0x2e, 0x41, 0xab, 0x6e, 0x83, 0x2e, 0x71, 0x60, 0x81, 0x36, 0x46, 0x34, 0x05, 0x11, 0x2d, - 0xcc, 0xb6, 0xa6, 0x2a, 0x43, 0x67, 0x65, 0x6f, 0x0a, 0x3a, 0x06, 0x7c, 0x38, 0xfa, 0xdf, 0x80, - 0x0b, 0xf4, 0x48, 0x17, 0x9a, 0x29, 0xa7, 0x5f, 0xdb, 0x4f, 0xca, 0x33, 0x6f, 0xf5, 0xba, 0x8d, - 0x7a, 0x84, 0xae, 0xe1, 0x96, 0x34, 0xda, 0x06, 0xfc, 0x1d, 0xdd, 0x5b, 0xf8, 0xb2, 0xbd, 0xc6, - 0x35, 0x36, 0xd7, 0x85, 0xb1, 0x7c, 0x3f, 0x43, 0xec, 0xcd, 0x49, 0x4b, 0xc3, 0xdf, 0xd0, 0xba, - 0x7d, 0x10, 0xbc, 0x15, 0x55, 0xb0, 0x7f, 0x65, 0xc1, 0xf9, 0x25, 0x61, 0xe5, 0xdf, 0x95, 0x55, - 0x09, 0x1f, 0xa3, 0x86, 0x3e, 0xc4, 0x1e, 0x52, 0xb1, 0x3b, 0xee, 0x58, 0x65, 0xb5, 0xf2, 0x0c, - 0x8e, 0x5f, 0x23, 0x5c, 0xb9, 0xbf, 0xca, 0x02, 0x92, 0x88, 0xa6, 0x5e, 0x6d, 0xbb, 0xd6, 0x5a, - 0x3b, 0xbb, 0x3f, 0x57, 0xce, 0x0b, 0x48, 0x4e, 0x52, 0xfc, 0x02, 0xdd, 0x49, 0x69, 0x59, 0x30, - 0x32, 0x89, 0x38, 0xc9, 0xc1, 0xbb, 0xad, 0x7c, 0x4d, 0xf3, 0xee, 0x33, 0xc9, 0xe1, 0x70, 0x15, - 0x35, 0x52, 0x90, 0x84, 0xb2, 0xc3, 0xdf, 0x35, 0xf4, 0x3c, 0x11, 0xb9, 0xeb, 0x97, 0x9d, 0xd6, - 0xbe, 0x76, 0x8c, 0x9c, 0x09, 0x46, 0x78, 0xe6, 0x8b, 0x41, 0x16, 0x64, 0xc0, 0xd5, 0x69, 0x0e, - 0xb4, 0x44, 0x0a, 0x5a, 0x2e, 0xbd, 0x38, 0x0e, 0xf4, 0xe3, 0x9f, 0xfa, 0xd6, 0xb1, 0x32, 0xf6, - 0x8f, 0xa6, 0xa6, 0x7e, 0x67, 0x28, 0xc5, 0x27, 0xd6, 0xef, 0x69, 0xd3, 0xdf, 0xfa, 0x33, 0xad, - 0x86, 0xa1, 0x92, 0xc3, 0x50, 0xe9, 0x1f, 0xc3, 0xd0, 0x18, 0xe2, 0x86, 0x2a, 0x7b, 0xf3, 0x2f, - 0x00, 0x00, 0xff, 0xff, 0xc1, 0xf1, 0x53, 0xbb, 0xe5, 0x05, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/annotation_spec.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/annotation_spec.pb.go deleted file mode 100644 index 919802e6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/annotation_spec.pb.go +++ /dev/null @@ -1,118 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1beta1/annotation_spec.proto - -package automl - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A definition of an annotation spec. -type AnnotationSpec struct { - // Output only. Resource name of the annotation spec. - // Form: - // - // 'projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationSpecs/{annotation_spec_id}' - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. - // The name of the annotation spec to show in the interface. The name can be - // up to 32 characters long and must match the regexp `[a-zA-Z0-9_]+`. - // (_), and ASCII digits 0-9. - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Output only. The number of examples in the parent dataset - // labeled by the annotation spec. - ExampleCount int32 `protobuf:"varint,9,opt,name=example_count,json=exampleCount,proto3" json:"example_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AnnotationSpec) Reset() { *m = AnnotationSpec{} } -func (m *AnnotationSpec) String() string { return proto.CompactTextString(m) } -func (*AnnotationSpec) ProtoMessage() {} -func (*AnnotationSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_584ed6bab6ac13f7, []int{0} -} - -func (m *AnnotationSpec) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotationSpec.Unmarshal(m, b) -} -func (m *AnnotationSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotationSpec.Marshal(b, m, deterministic) -} -func (m *AnnotationSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotationSpec.Merge(m, src) -} -func (m *AnnotationSpec) XXX_Size() int { - return xxx_messageInfo_AnnotationSpec.Size(m) -} -func (m *AnnotationSpec) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotationSpec.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotationSpec proto.InternalMessageInfo - -func (m *AnnotationSpec) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *AnnotationSpec) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *AnnotationSpec) GetExampleCount() int32 { - if m != nil { - return m.ExampleCount - } - return 0 -} - -func init() { - proto.RegisterType((*AnnotationSpec)(nil), "google.cloud.automl.v1beta1.AnnotationSpec") -} - -func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/annotation_spec.proto", fileDescriptor_584ed6bab6ac13f7) -} - -var fileDescriptor_584ed6bab6ac13f7 = []byte{ - // 265 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x41, 0x4a, 0xc4, 0x30, - 0x14, 0x86, 0x49, 0x51, 0x61, 0xe2, 0xe8, 0xa2, 0xab, 0xc1, 0x11, 0x1d, 0x75, 0x33, 0xab, 0x84, - 0xe2, 0x2e, 0xae, 0xea, 0x2c, 0xdc, 0xa8, 0xc8, 0x08, 0x2e, 0xa4, 0x50, 0xde, 0x64, 0x42, 0x28, - 0xa4, 0x79, 0xa1, 0x4d, 0x45, 0x0f, 0xe4, 0x65, 0x3c, 0x8a, 0xa7, 0x90, 0x26, 0x41, 0x5c, 0xc8, - 0xec, 0x92, 0xff, 0xfb, 0xbf, 0xe4, 0xf1, 0x68, 0xa1, 0x11, 0xb5, 0x51, 0x5c, 0x1a, 0x1c, 0xb6, - 0x1c, 0x06, 0x8f, 0xad, 0xe1, 0x6f, 0xc5, 0x46, 0x79, 0x28, 0x38, 0x58, 0x8b, 0x1e, 0x7c, 0x83, - 0xb6, 0xee, 0x9d, 0x92, 0xcc, 0x75, 0xe8, 0x31, 0x9f, 0x47, 0x85, 0x05, 0x85, 0x45, 0x85, 0x25, - 0xe5, 0xe4, 0x34, 0xbd, 0x07, 0xae, 0xf9, 0xa3, 0xf7, 0x51, 0xbd, 0x34, 0xf4, 0xb8, 0xfc, 0x0d, - 0x9f, 0x9d, 0x92, 0x79, 0x4e, 0xf7, 0x2c, 0xb4, 0x6a, 0x46, 0x16, 0x64, 0x39, 0x59, 0x87, 0x73, - 0x7e, 0x41, 0xa7, 0xdb, 0xa6, 0x77, 0x06, 0x3e, 0xea, 0xc0, 0xb2, 0xc0, 0x0e, 0x53, 0xf6, 0x38, - 0x56, 0xae, 0xe8, 0x91, 0x7a, 0x87, 0xd6, 0x19, 0x55, 0x4b, 0x1c, 0xac, 0x9f, 0x4d, 0x16, 0x64, - 0xb9, 0xbf, 0x9e, 0xa6, 0x70, 0x35, 0x66, 0xb7, 0x9f, 0x84, 0x9e, 0x4b, 0x6c, 0xd9, 0x8e, 0x79, - 0x9f, 0xc8, 0x6b, 0x99, 0xb0, 0x46, 0x03, 0x56, 0x33, 0xec, 0x34, 0xd7, 0xca, 0x86, 0x79, 0x79, - 0x44, 0xe0, 0x9a, 0xfe, 0xdf, 0x05, 0xdd, 0xc4, 0xeb, 0x57, 0x36, 0xbf, 0x0b, 0xc5, 0x6a, 0x35, - 0x96, 0xaa, 0x72, 0xf0, 0xf8, 0x60, 0xaa, 0x97, 0x58, 0xfa, 0xce, 0xce, 0x22, 0x15, 0x22, 0x60, - 0x21, 0x02, 0xbf, 0x17, 0x22, 0x15, 0x36, 0x07, 0xe1, 0xb3, 0xeb, 0x9f, 0x00, 0x00, 0x00, 0xff, - 0xff, 0x71, 0x3a, 0x58, 0x4c, 0x8c, 0x01, 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 deleted file mode 100644 index 0aaa24f9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/classification.pb.go +++ /dev/null @@ -1,668 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1beta1/classification.proto - -package automl - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Type of the classification problem. -type ClassificationType int32 - -const ( - // An un-set value of this enum. - ClassificationType_CLASSIFICATION_TYPE_UNSPECIFIED ClassificationType = 0 - // At most one label is allowed per example. - ClassificationType_MULTICLASS ClassificationType = 1 - // Multiple labels are allowed for one example. - ClassificationType_MULTILABEL ClassificationType = 2 -) - -var ClassificationType_name = map[int32]string{ - 0: "CLASSIFICATION_TYPE_UNSPECIFIED", - 1: "MULTICLASS", - 2: "MULTILABEL", -} - -var ClassificationType_value = map[string]int32{ - "CLASSIFICATION_TYPE_UNSPECIFIED": 0, - "MULTICLASS": 1, - "MULTILABEL": 2, -} - -func (x ClassificationType) String() string { - return proto.EnumName(ClassificationType_name, int32(x)) -} - -func (ClassificationType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7b436fefe6ae5367, []int{0} -} - -// Contains annotation details specific to classification. -type ClassificationAnnotation struct { - // Output only. A confidence estimate between 0.0 and 1.0. A higher value - // means greater confidence that the annotation is positive. If a user - // approves an annotation as negative or positive, the score value remains - // unchanged. If a user creates an annotation, the score is 0 for negative or - // 1 for positive. - Score float32 `protobuf:"fixed32,1,opt,name=score,proto3" json:"score,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ClassificationAnnotation) Reset() { *m = ClassificationAnnotation{} } -func (m *ClassificationAnnotation) String() string { return proto.CompactTextString(m) } -func (*ClassificationAnnotation) ProtoMessage() {} -func (*ClassificationAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_7b436fefe6ae5367, []int{0} -} - -func (m *ClassificationAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClassificationAnnotation.Unmarshal(m, b) -} -func (m *ClassificationAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClassificationAnnotation.Marshal(b, m, deterministic) -} -func (m *ClassificationAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClassificationAnnotation.Merge(m, src) -} -func (m *ClassificationAnnotation) XXX_Size() int { - return xxx_messageInfo_ClassificationAnnotation.Size(m) -} -func (m *ClassificationAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_ClassificationAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_ClassificationAnnotation proto.InternalMessageInfo - -func (m *ClassificationAnnotation) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -// Contains annotation details specific to video classification. -type VideoClassificationAnnotation struct { - // Output only. Expresses the type of video classification. Possible values: - // - // * `segment` - Classification done on a specified by user - // time segment of a video. AnnotationSpec is answered to be present - // in that time segment, if it is present in any part of it. The video - // ML model evaluations are done only for this type of classification. - // - // * `shot`- Shot-level classification. - // AutoML Video Intelligence determines the boundaries - // for each camera shot in the entire segment of the video that user - // specified in the request configuration. AutoML Video Intelligence - // then returns labels and their confidence scores for each detected - // shot, along with the start and end time of the shot. - // WARNING: Model evaluation is not done for this classification type, - // the quality of it depends on training data, but there are no - // metrics provided to describe that quality. - // - // * `1s_interval` - AutoML Video Intelligence returns labels and their - // confidence scores for each second of the entire segment of the video - // that user specified in the request configuration. - // WARNING: Model evaluation is not done for this classification type, - // the quality of it depends on training data, but there are no - // metrics provided to describe that quality. - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - // Output only . The classification details of this annotation. - ClassificationAnnotation *ClassificationAnnotation `protobuf:"bytes,2,opt,name=classification_annotation,json=classificationAnnotation,proto3" json:"classification_annotation,omitempty"` - // Output only . The time segment of the video to which the - // annotation applies. - TimeSegment *TimeSegment `protobuf:"bytes,3,opt,name=time_segment,json=timeSegment,proto3" json:"time_segment,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VideoClassificationAnnotation) Reset() { *m = VideoClassificationAnnotation{} } -func (m *VideoClassificationAnnotation) String() string { return proto.CompactTextString(m) } -func (*VideoClassificationAnnotation) ProtoMessage() {} -func (*VideoClassificationAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_7b436fefe6ae5367, []int{1} -} - -func (m *VideoClassificationAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VideoClassificationAnnotation.Unmarshal(m, b) -} -func (m *VideoClassificationAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VideoClassificationAnnotation.Marshal(b, m, deterministic) -} -func (m *VideoClassificationAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoClassificationAnnotation.Merge(m, src) -} -func (m *VideoClassificationAnnotation) XXX_Size() int { - return xxx_messageInfo_VideoClassificationAnnotation.Size(m) -} -func (m *VideoClassificationAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_VideoClassificationAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_VideoClassificationAnnotation proto.InternalMessageInfo - -func (m *VideoClassificationAnnotation) GetType() string { - if m != nil { - return m.Type - } - return "" -} - -func (m *VideoClassificationAnnotation) GetClassificationAnnotation() *ClassificationAnnotation { - if m != nil { - return m.ClassificationAnnotation - } - return nil -} - -func (m *VideoClassificationAnnotation) GetTimeSegment() *TimeSegment { - if m != nil { - return m.TimeSegment - } - return nil -} - -// Model evaluation metrics for classification problems. -// Note: For Video Classification this metrics only describe quality of the -// Video Classification predictions of "segment_classification" type. -type ClassificationEvaluationMetrics struct { - // Output only. The Area Under Precision-Recall Curve metric. Micro-averaged - // for the overall evaluation. - AuPrc float32 `protobuf:"fixed32,1,opt,name=au_prc,json=auPrc,proto3" json:"au_prc,omitempty"` - // Output only. The Area Under Precision-Recall Curve metric based on priors. - // Micro-averaged for the overall evaluation. - // Deprecated. - BaseAuPrc float32 `protobuf:"fixed32,2,opt,name=base_au_prc,json=baseAuPrc,proto3" json:"base_au_prc,omitempty"` // Deprecated: Do not use. - // Output only. The Area Under Receiver Operating Characteristic curve metric. - // Micro-averaged for the overall evaluation. - AuRoc float32 `protobuf:"fixed32,6,opt,name=au_roc,json=auRoc,proto3" json:"au_roc,omitempty"` - // Output only. The Log Loss metric. - LogLoss float32 `protobuf:"fixed32,7,opt,name=log_loss,json=logLoss,proto3" json:"log_loss,omitempty"` - // Output only. Metrics for each confidence_threshold in - // 0.00,0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and - // position_threshold = INT32_MAX_VALUE. - // ROC and precision-recall curves, and other aggregated metrics are derived - // from them. The confidence metrics entries may also be supplied for - // additional values of position_threshold, but from these no aggregated - // metrics are computed. - ConfidenceMetricsEntry []*ClassificationEvaluationMetrics_ConfidenceMetricsEntry `protobuf:"bytes,3,rep,name=confidence_metrics_entry,json=confidenceMetricsEntry,proto3" json:"confidence_metrics_entry,omitempty"` - // Output only. Confusion matrix of the evaluation. - // Only set for MULTICLASS classification problems where number - // of labels is no more than 10. - // Only set for model level evaluation, not for evaluation per label. - ConfusionMatrix *ClassificationEvaluationMetrics_ConfusionMatrix `protobuf:"bytes,4,opt,name=confusion_matrix,json=confusionMatrix,proto3" json:"confusion_matrix,omitempty"` - // Output only. The annotation spec ids used for this evaluation. - AnnotationSpecId []string `protobuf:"bytes,5,rep,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ClassificationEvaluationMetrics) Reset() { *m = ClassificationEvaluationMetrics{} } -func (m *ClassificationEvaluationMetrics) String() string { return proto.CompactTextString(m) } -func (*ClassificationEvaluationMetrics) ProtoMessage() {} -func (*ClassificationEvaluationMetrics) Descriptor() ([]byte, []int) { - return fileDescriptor_7b436fefe6ae5367, []int{2} -} - -func (m *ClassificationEvaluationMetrics) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClassificationEvaluationMetrics.Unmarshal(m, b) -} -func (m *ClassificationEvaluationMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClassificationEvaluationMetrics.Marshal(b, m, deterministic) -} -func (m *ClassificationEvaluationMetrics) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClassificationEvaluationMetrics.Merge(m, src) -} -func (m *ClassificationEvaluationMetrics) XXX_Size() int { - return xxx_messageInfo_ClassificationEvaluationMetrics.Size(m) -} -func (m *ClassificationEvaluationMetrics) XXX_DiscardUnknown() { - xxx_messageInfo_ClassificationEvaluationMetrics.DiscardUnknown(m) -} - -var xxx_messageInfo_ClassificationEvaluationMetrics proto.InternalMessageInfo - -func (m *ClassificationEvaluationMetrics) GetAuPrc() float32 { - if m != nil { - return m.AuPrc - } - return 0 -} - -// Deprecated: Do not use. -func (m *ClassificationEvaluationMetrics) GetBaseAuPrc() float32 { - if m != nil { - return m.BaseAuPrc - } - return 0 -} - -func (m *ClassificationEvaluationMetrics) GetAuRoc() float32 { - if m != nil { - return m.AuRoc - } - return 0 -} - -func (m *ClassificationEvaluationMetrics) GetLogLoss() float32 { - if m != nil { - return m.LogLoss - } - return 0 -} - -func (m *ClassificationEvaluationMetrics) GetConfidenceMetricsEntry() []*ClassificationEvaluationMetrics_ConfidenceMetricsEntry { - if m != nil { - return m.ConfidenceMetricsEntry - } - return nil -} - -func (m *ClassificationEvaluationMetrics) GetConfusionMatrix() *ClassificationEvaluationMetrics_ConfusionMatrix { - if m != nil { - return m.ConfusionMatrix - } - return nil -} - -func (m *ClassificationEvaluationMetrics) GetAnnotationSpecId() []string { - if m != nil { - return m.AnnotationSpecId - } - return nil -} - -// Metrics for a single confidence threshold. -type ClassificationEvaluationMetrics_ConfidenceMetricsEntry struct { - // Output only. Metrics are computed with an assumption that the model - // never returns predictions with score lower than this value. - ConfidenceThreshold float32 `protobuf:"fixed32,1,opt,name=confidence_threshold,json=confidenceThreshold,proto3" json:"confidence_threshold,omitempty"` - // Output only. Metrics are computed with an assumption that the model - // always returns at most this many predictions (ordered by their score, - // descendingly), but they all still need to meet the confidence_threshold. - PositionThreshold int32 `protobuf:"varint,14,opt,name=position_threshold,json=positionThreshold,proto3" json:"position_threshold,omitempty"` - // Output only. Recall (True Positive Rate) for the given confidence - // threshold. - Recall float32 `protobuf:"fixed32,2,opt,name=recall,proto3" json:"recall,omitempty"` - // Output only. Precision for the given confidence threshold. - Precision float32 `protobuf:"fixed32,3,opt,name=precision,proto3" json:"precision,omitempty"` - // Output only. False Positive Rate for the given confidence threshold. - FalsePositiveRate float32 `protobuf:"fixed32,8,opt,name=false_positive_rate,json=falsePositiveRate,proto3" json:"false_positive_rate,omitempty"` - // Output only. The harmonic mean of recall and precision. - F1Score float32 `protobuf:"fixed32,4,opt,name=f1_score,json=f1Score,proto3" json:"f1_score,omitempty"` - // Output only. The Recall (True Positive Rate) when only considering the - // label that has the highest prediction score and not below the confidence - // threshold for each example. - RecallAt1 float32 `protobuf:"fixed32,5,opt,name=recall_at1,json=recallAt1,proto3" json:"recall_at1,omitempty"` - // Output only. The precision when only considering the label that has the - // highest prediction score and not below the confidence threshold for each - // example. - PrecisionAt1 float32 `protobuf:"fixed32,6,opt,name=precision_at1,json=precisionAt1,proto3" json:"precision_at1,omitempty"` - // Output only. The False Positive Rate when only considering the label that - // has the highest prediction score and not below the confidence threshold - // for each example. - FalsePositiveRateAt1 float32 `protobuf:"fixed32,9,opt,name=false_positive_rate_at1,json=falsePositiveRateAt1,proto3" json:"false_positive_rate_at1,omitempty"` - // Output only. The harmonic mean of [recall_at1][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.recall_at1] and [precision_at1][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.precision_at1]. - F1ScoreAt1 float32 `protobuf:"fixed32,7,opt,name=f1_score_at1,json=f1ScoreAt1,proto3" json:"f1_score_at1,omitempty"` - // Output only. The number of model created labels that match a ground truth - // label. - TruePositiveCount int64 `protobuf:"varint,10,opt,name=true_positive_count,json=truePositiveCount,proto3" json:"true_positive_count,omitempty"` - // Output only. The number of model created labels that do not match a - // ground truth label. - FalsePositiveCount int64 `protobuf:"varint,11,opt,name=false_positive_count,json=falsePositiveCount,proto3" json:"false_positive_count,omitempty"` - // Output only. The number of ground truth labels that are not matched - // by a model created label. - FalseNegativeCount int64 `protobuf:"varint,12,opt,name=false_negative_count,json=falseNegativeCount,proto3" json:"false_negative_count,omitempty"` - // Output only. The number of labels that were not created by the model, - // but if they would, they would not match a ground truth label. - TrueNegativeCount int64 `protobuf:"varint,13,opt,name=true_negative_count,json=trueNegativeCount,proto3" json:"true_negative_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) Reset() { - *m = ClassificationEvaluationMetrics_ConfidenceMetricsEntry{} -} -func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) String() string { - return proto.CompactTextString(m) -} -func (*ClassificationEvaluationMetrics_ConfidenceMetricsEntry) ProtoMessage() {} -func (*ClassificationEvaluationMetrics_ConfidenceMetricsEntry) Descriptor() ([]byte, []int) { - return fileDescriptor_7b436fefe6ae5367, []int{2, 0} -} - -func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClassificationEvaluationMetrics_ConfidenceMetricsEntry.Unmarshal(m, b) -} -func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClassificationEvaluationMetrics_ConfidenceMetricsEntry.Marshal(b, m, deterministic) -} -func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClassificationEvaluationMetrics_ConfidenceMetricsEntry.Merge(m, src) -} -func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) XXX_Size() int { - return xxx_messageInfo_ClassificationEvaluationMetrics_ConfidenceMetricsEntry.Size(m) -} -func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) XXX_DiscardUnknown() { - xxx_messageInfo_ClassificationEvaluationMetrics_ConfidenceMetricsEntry.DiscardUnknown(m) -} - -var xxx_messageInfo_ClassificationEvaluationMetrics_ConfidenceMetricsEntry proto.InternalMessageInfo - -func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetConfidenceThreshold() float32 { - if m != nil { - return m.ConfidenceThreshold - } - return 0 -} - -func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetPositionThreshold() int32 { - if m != nil { - return m.PositionThreshold - } - return 0 -} - -func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetRecall() float32 { - if m != nil { - return m.Recall - } - return 0 -} - -func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetPrecision() float32 { - if m != nil { - return m.Precision - } - return 0 -} - -func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetFalsePositiveRate() float32 { - if m != nil { - return m.FalsePositiveRate - } - return 0 -} - -func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetF1Score() float32 { - if m != nil { - return m.F1Score - } - return 0 -} - -func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetRecallAt1() float32 { - if m != nil { - return m.RecallAt1 - } - return 0 -} - -func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetPrecisionAt1() float32 { - if m != nil { - return m.PrecisionAt1 - } - return 0 -} - -func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetFalsePositiveRateAt1() float32 { - if m != nil { - return m.FalsePositiveRateAt1 - } - return 0 -} - -func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetF1ScoreAt1() float32 { - if m != nil { - return m.F1ScoreAt1 - } - return 0 -} - -func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetTruePositiveCount() int64 { - if m != nil { - return m.TruePositiveCount - } - return 0 -} - -func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetFalsePositiveCount() int64 { - if m != nil { - return m.FalsePositiveCount - } - return 0 -} - -func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetFalseNegativeCount() int64 { - if m != nil { - return m.FalseNegativeCount - } - return 0 -} - -func (m *ClassificationEvaluationMetrics_ConfidenceMetricsEntry) GetTrueNegativeCount() int64 { - if m != nil { - return m.TrueNegativeCount - } - return 0 -} - -// Confusion matrix of the model running the classification. -type ClassificationEvaluationMetrics_ConfusionMatrix struct { - // Output only. IDs of the annotation specs used in the confusion matrix. - // For Tables CLASSIFICATION - // - // [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type] - // only list of [annotation_spec_display_name-s][] is populated. - AnnotationSpecId []string `protobuf:"bytes,1,rep,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"` - // Output only. Display name of the annotation specs used in the confusion - // matrix, as they were at the moment of the evaluation. For Tables - // CLASSIFICATION - // - // [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type], - // distinct values of the target column at the moment of the model - // evaluation are populated here. - DisplayName []string `protobuf:"bytes,3,rep,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Output only. Rows in the confusion matrix. The number of rows is equal to - // the size of `annotation_spec_id`. - // `row[i].value[j]` is the number of examples that have ground truth of the - // `annotation_spec_id[i]` and are predicted as `annotation_spec_id[j]` by - // the model being evaluated. - Row []*ClassificationEvaluationMetrics_ConfusionMatrix_Row `protobuf:"bytes,2,rep,name=row,proto3" json:"row,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ClassificationEvaluationMetrics_ConfusionMatrix) Reset() { - *m = ClassificationEvaluationMetrics_ConfusionMatrix{} -} -func (m *ClassificationEvaluationMetrics_ConfusionMatrix) String() string { - return proto.CompactTextString(m) -} -func (*ClassificationEvaluationMetrics_ConfusionMatrix) ProtoMessage() {} -func (*ClassificationEvaluationMetrics_ConfusionMatrix) Descriptor() ([]byte, []int) { - return fileDescriptor_7b436fefe6ae5367, []int{2, 1} -} - -func (m *ClassificationEvaluationMetrics_ConfusionMatrix) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClassificationEvaluationMetrics_ConfusionMatrix.Unmarshal(m, b) -} -func (m *ClassificationEvaluationMetrics_ConfusionMatrix) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClassificationEvaluationMetrics_ConfusionMatrix.Marshal(b, m, deterministic) -} -func (m *ClassificationEvaluationMetrics_ConfusionMatrix) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClassificationEvaluationMetrics_ConfusionMatrix.Merge(m, src) -} -func (m *ClassificationEvaluationMetrics_ConfusionMatrix) XXX_Size() int { - return xxx_messageInfo_ClassificationEvaluationMetrics_ConfusionMatrix.Size(m) -} -func (m *ClassificationEvaluationMetrics_ConfusionMatrix) XXX_DiscardUnknown() { - xxx_messageInfo_ClassificationEvaluationMetrics_ConfusionMatrix.DiscardUnknown(m) -} - -var xxx_messageInfo_ClassificationEvaluationMetrics_ConfusionMatrix proto.InternalMessageInfo - -func (m *ClassificationEvaluationMetrics_ConfusionMatrix) GetAnnotationSpecId() []string { - if m != nil { - return m.AnnotationSpecId - } - return nil -} - -func (m *ClassificationEvaluationMetrics_ConfusionMatrix) GetDisplayName() []string { - if m != nil { - return m.DisplayName - } - return nil -} - -func (m *ClassificationEvaluationMetrics_ConfusionMatrix) GetRow() []*ClassificationEvaluationMetrics_ConfusionMatrix_Row { - if m != nil { - return m.Row - } - return nil -} - -// Output only. A row in the confusion matrix. -type ClassificationEvaluationMetrics_ConfusionMatrix_Row struct { - // Output only. Value of the specific cell in the confusion matrix. - // The number of values each row has (i.e. the length of the row) is equal - // to the length of the `annotation_spec_id` field or, if that one is not - // populated, length of the [display_name][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field. - ExampleCount []int32 `protobuf:"varint,1,rep,packed,name=example_count,json=exampleCount,proto3" json:"example_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ClassificationEvaluationMetrics_ConfusionMatrix_Row) Reset() { - *m = ClassificationEvaluationMetrics_ConfusionMatrix_Row{} -} -func (m *ClassificationEvaluationMetrics_ConfusionMatrix_Row) String() string { - return proto.CompactTextString(m) -} -func (*ClassificationEvaluationMetrics_ConfusionMatrix_Row) ProtoMessage() {} -func (*ClassificationEvaluationMetrics_ConfusionMatrix_Row) Descriptor() ([]byte, []int) { - return fileDescriptor_7b436fefe6ae5367, []int{2, 1, 0} -} - -func (m *ClassificationEvaluationMetrics_ConfusionMatrix_Row) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClassificationEvaluationMetrics_ConfusionMatrix_Row.Unmarshal(m, b) -} -func (m *ClassificationEvaluationMetrics_ConfusionMatrix_Row) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClassificationEvaluationMetrics_ConfusionMatrix_Row.Marshal(b, m, deterministic) -} -func (m *ClassificationEvaluationMetrics_ConfusionMatrix_Row) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClassificationEvaluationMetrics_ConfusionMatrix_Row.Merge(m, src) -} -func (m *ClassificationEvaluationMetrics_ConfusionMatrix_Row) XXX_Size() int { - return xxx_messageInfo_ClassificationEvaluationMetrics_ConfusionMatrix_Row.Size(m) -} -func (m *ClassificationEvaluationMetrics_ConfusionMatrix_Row) XXX_DiscardUnknown() { - xxx_messageInfo_ClassificationEvaluationMetrics_ConfusionMatrix_Row.DiscardUnknown(m) -} - -var xxx_messageInfo_ClassificationEvaluationMetrics_ConfusionMatrix_Row proto.InternalMessageInfo - -func (m *ClassificationEvaluationMetrics_ConfusionMatrix_Row) GetExampleCount() []int32 { - if m != nil { - return m.ExampleCount - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.automl.v1beta1.ClassificationType", ClassificationType_name, ClassificationType_value) - proto.RegisterType((*ClassificationAnnotation)(nil), "google.cloud.automl.v1beta1.ClassificationAnnotation") - proto.RegisterType((*VideoClassificationAnnotation)(nil), "google.cloud.automl.v1beta1.VideoClassificationAnnotation") - proto.RegisterType((*ClassificationEvaluationMetrics)(nil), "google.cloud.automl.v1beta1.ClassificationEvaluationMetrics") - proto.RegisterType((*ClassificationEvaluationMetrics_ConfidenceMetricsEntry)(nil), "google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry") - proto.RegisterType((*ClassificationEvaluationMetrics_ConfusionMatrix)(nil), "google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix") - proto.RegisterType((*ClassificationEvaluationMetrics_ConfusionMatrix_Row)(nil), "google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.Row") -} - -func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/classification.proto", fileDescriptor_7b436fefe6ae5367) -} - -var fileDescriptor_7b436fefe6ae5367 = []byte{ - // 881 bytes of a gzipped FileDescriptorPro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4e, 0xf4, 0xce, 0x34, - 0x6e, 0x7f, 0x59, 0x3c, 0xcf, 0x0c, 0x54, 0x69, 0xbc, 0x4f, 0xd7, 0xe6, 0xd1, 0x15, 0xd4, 0x15, - 0x92, 0x09, 0xf5, 0x71, 0x23, 0x22, 0xd3, 0xe0, 0xa3, 0xb3, 0xa5, 0x4f, 0x7c, 0xf4, 0xbf, 0x6d, - 0xe8, 0xa2, 0xa7, 0xba, 0x26, 0x7e, 0x42, 0x57, 0x13, 0xe8, 0x6b, 0x40, 0xc5, 0x2e, 0x79, 0x22, - 0x61, 0xd4, 0x0b, 0x66, 0x4e, 0xb9, 0x59, 0x6a, 0x55, 0x70, 0xbd, 0x40, 0x26, 0x09, 0xa3, 0xc3, - 0x59, 0xe3, 0x8f, 0x2d, 0xd8, 0x5f, 0x3f, 0x19, 0xea, 0xc0, 0xde, 0x8d, 0x03, 0x95, 0x1f, 0x52, - 0x26, 0x3e, 0xf0, 0x70, 0x96, 0x7f, 0xcc, 0xdd, 0x02, 0x9b, 0x2e, 0x20, 0xf4, 0x0d, 0xa0, 0x84, - 0x8b, 0x40, 0x77, 0x2e, 0x04, 0x8f, 0x9b, 0x56, 0xab, 0x8c, 0x77, 0x16, 0x48, 0x41, 0xdf, 0x87, - 0xed, 0x94, 0x51, 0x12, 0x86, 0x66, 0x09, 0x70, 0x1e, 0xa1, 0xe7, 0x50, 0x49, 0x52, 0x46, 0x03, - 0x35, 0x95, 0x5e, 0x53, 0x1b, 0x17, 0x09, 0xe4, 0xc2, 0xee, 0x9c, 0x84, 0x82, 0x79, 0xa6, 0xe0, - 0x25, 0xf3, 0x52, 0x22, 0x99, 0xf3, 0x50, 0xf3, 0x76, 0x34, 0x34, 0xce, 0x11, 0x4c, 0x24, 0x53, - 0x4b, 0x33, 0xef, 0x78, 0xe6, 0xea, 0x6e, 0x99, 0xa5, 0x99, 0x77, 0x26, 0x2a, 0x44, 0x2f, 0x00, - 0x4c, 0x4b, 0x8f, 0xc8, 0x8e,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, 0xfe, 0x4b, 0x38, - 0xe8, 0x8f, 0x7a, 0x93, 0xc9, 0xf0, 0xcd, 0xb0, 0xdf, 0x9b, 0x0e, 0x7f, 0x3a, 0xf3, 0xa6, 0xef, - 0xc7, 0x03, 0xef, 0xed, 0xd9, 0x64, 0x3c, 0xe8, 0x0f, 0xdf, 0x0c, 0x07, 0xdf, 0xd7, 0x3f, 0x43, - 0x8f, 0x01, 0x4e, 0xdf, 0x8e, 0xa6, 0x43, 0xcd, 0xac, 0x5b, 0xcb, 0x78, 0xd4, 0x3b, 0x19, 0x8c, - 0xea, 0xf6, 0xc9, 0x6f, 0x16, 0x1c, 0x50, 0x1e, 0x6d, 0x9a, 0xf1, 0x64, 0x77, 0xb5, 0xf9, 0x58, - 0x3d, 0x6c, 0x3f, 0xf7, 0x72, 0x85, 0xcf, 0x43, 0x12, 0xfb, 0x2e, 0x4f, 0xfd, 0xb6, 0xcf, 0x62, - 0xfd, 0xe8, 0xb5, 0x0d, 0x44, 0x92, 0x40, 0xac, 0x7d, 0x41, 0xbf, 0x33, 0xe1, 0xef, 0xf6, 0xb3, - 0x1f, 0x34, 0xf1, 0xbc, 0xaf, 0x48, 0xe7, 0xbd, 0x4c, 0xf2, 0xd3, 0xf0, 0xfc, 0x9d, 0x21, 0xfd, - 0x69, 0x7f, 0x69, 0xd0, 0x6e, 0x57, 0xc3, 0xdd, 0xae, 0xc6, 0x47, 0xdd, 0x6e, 0x4e, 0xb8, 0xd8, - 0xd6, 0xcd, 0xbe, 0xfd, 0x27, 0x00, 0x00, 0xff, 0xff, 0x30, 0x50, 0x8f, 0x30, 0xfc, 0x07, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/column_spec.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/column_spec.pb.go deleted file mode 100644 index f958793f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/column_spec.pb.go +++ /dev/null @@ -1,213 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1beta1/column_spec.proto - -package automl - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A representation of a column in a relational table. When listing them, column specs are returned in the same order in which they were -// given on import . -// Used by: -// * Tables -type ColumnSpec struct { - // Output only. The resource name of the column specs. - // Form: - // - // `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/tableSpecs/{table_spec_id}/columnSpecs/{column_spec_id}` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The data type of elements stored in the column. - DataType *DataType `protobuf:"bytes,2,opt,name=data_type,json=dataType,proto3" json:"data_type,omitempty"` - // Output only. The name of the column to show in the interface. The name can - // be up to 100 characters long and can consist only of ASCII Latin letters - // A-Z and a-z, ASCII digits 0-9, underscores(_), and forward slashes(/), and - // must start with a letter or a digit. - DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Output only. Stats of the series of values in the column. - // This field may be stale, see the ancestor's - // Dataset.tables_dataset_metadata.stats_update_time field - // for the timestamp at which these stats were last updated. - DataStats *DataStats `protobuf:"bytes,4,opt,name=data_stats,json=dataStats,proto3" json:"data_stats,omitempty"` - // Deprecated. - TopCorrelatedColumns []*ColumnSpec_CorrelatedColumn `protobuf:"bytes,5,rep,name=top_correlated_columns,json=topCorrelatedColumns,proto3" json:"top_correlated_columns,omitempty"` - // Used to perform consistent read-modify-write updates. If not set, a blind - // "overwrite" update happens. - Etag string `protobuf:"bytes,6,opt,name=etag,proto3" json:"etag,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ColumnSpec) Reset() { *m = ColumnSpec{} } -func (m *ColumnSpec) String() string { return proto.CompactTextString(m) } -func (*ColumnSpec) ProtoMessage() {} -func (*ColumnSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_828eac69e0599d60, []int{0} -} - -func (m *ColumnSpec) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ColumnSpec.Unmarshal(m, b) -} -func (m *ColumnSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ColumnSpec.Marshal(b, m, deterministic) -} -func (m *ColumnSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_ColumnSpec.Merge(m, src) -} -func (m *ColumnSpec) XXX_Size() int { - return xxx_messageInfo_ColumnSpec.Size(m) -} -func (m *ColumnSpec) XXX_DiscardUnknown() { - xxx_messageInfo_ColumnSpec.DiscardUnknown(m) -} - -var xxx_messageInfo_ColumnSpec proto.InternalMessageInfo - -func (m *ColumnSpec) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ColumnSpec) GetDataType() *DataType { - if m != nil { - return m.DataType - } - return nil -} - -func (m *ColumnSpec) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *ColumnSpec) GetDataStats() *DataStats { - if m != nil { - return m.DataStats - } - return nil -} - -func (m *ColumnSpec) GetTopCorrelatedColumns() []*ColumnSpec_CorrelatedColumn { - if m != nil { - return m.TopCorrelatedColumns - } - return nil -} - -func (m *ColumnSpec) GetEtag() string { - if m != nil { - return m.Etag - } - return "" -} - -// Identifies the table's column, and its correlation with the column this -// ColumnSpec describes. -type ColumnSpec_CorrelatedColumn struct { - // The column_spec_id of the correlated column, which belongs to the same - // table as the in-context column. - ColumnSpecId string `protobuf:"bytes,1,opt,name=column_spec_id,json=columnSpecId,proto3" json:"column_spec_id,omitempty"` - // Correlation between this and the in-context column. - CorrelationStats *CorrelationStats `protobuf:"bytes,2,opt,name=correlation_stats,json=correlationStats,proto3" json:"correlation_stats,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ColumnSpec_CorrelatedColumn) Reset() { *m = ColumnSpec_CorrelatedColumn{} } -func (m *ColumnSpec_CorrelatedColumn) String() string { return proto.CompactTextString(m) } -func (*ColumnSpec_CorrelatedColumn) ProtoMessage() {} -func (*ColumnSpec_CorrelatedColumn) Descriptor() ([]byte, []int) { - return fileDescriptor_828eac69e0599d60, []int{0, 0} -} - -func (m *ColumnSpec_CorrelatedColumn) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ColumnSpec_CorrelatedColumn.Unmarshal(m, b) -} -func (m *ColumnSpec_CorrelatedColumn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ColumnSpec_CorrelatedColumn.Marshal(b, m, deterministic) -} -func (m *ColumnSpec_CorrelatedColumn) XXX_Merge(src proto.Message) { - xxx_messageInfo_ColumnSpec_CorrelatedColumn.Merge(m, src) -} -func (m *ColumnSpec_CorrelatedColumn) XXX_Size() int { - return xxx_messageInfo_ColumnSpec_CorrelatedColumn.Size(m) -} -func (m *ColumnSpec_CorrelatedColumn) XXX_DiscardUnknown() { - xxx_messageInfo_ColumnSpec_CorrelatedColumn.DiscardUnknown(m) -} - -var xxx_messageInfo_ColumnSpec_CorrelatedColumn proto.InternalMessageInfo - -func (m *ColumnSpec_CorrelatedColumn) GetColumnSpecId() string { - if m != nil { - return m.ColumnSpecId - } - return "" -} - -func (m *ColumnSpec_CorrelatedColumn) GetCorrelationStats() *CorrelationStats { - if m != nil { - return m.CorrelationStats - } - return nil -} - -func init() { - proto.RegisterType((*ColumnSpec)(nil), "google.cloud.automl.v1beta1.ColumnSpec") - proto.RegisterType((*ColumnSpec_CorrelatedColumn)(nil), "google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn") -} - -func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/column_spec.proto", fileDescriptor_828eac69e0599d60) -} - -var fileDescriptor_828eac69e0599d60 = []byte{ - // 415 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xd1, 0x8a, 0xd3, 0x40, - 0x14, 0x86, 0x49, 0xbb, 0x2e, 0xee, 0x74, 0x91, 0x75, 0x10, 0x09, 0xbb, 0xa2, 0x55, 0x54, 0x7a, - 0xe1, 0x4e, 0xd8, 0x7a, 0x23, 0xf1, 0xaa, 0xad, 0x22, 0x82, 0x8a, 0xa4, 0xe2, 0x45, 0x29, 0x84, - 0xd3, 0xc9, 0x10, 0x02, 0x93, 0x39, 0x43, 0x32, 0x11, 0xfa, 0x1e, 0xbe, 0x82, 0x2f, 0xe3, 0x9b, - 0xe8, 0x53, 0x48, 0x66, 0xa6, 0xa9, 0x14, 0x49, 0xbd, 0x3b, 0x3d, 0xff, 0xd7, 0xff, 0x9c, 0xf9, - 0x73, 0xc8, 0x75, 0x8e, 0x98, 0x4b, 0x11, 0x71, 0x89, 0x4d, 0x16, 0x41, 0x63, 0xb0, 0x94, 0xd1, - 0xb7, 0x9b, 0x8d, 0x30, 0x70, 0x13, 0x71, 0x94, 0x4d, 0xa9, 0xd2, 0x5a, 0x0b, 0xce, 0x74, 0x85, - 0x06, 0xe9, 0x95, 0xc3, 0x99, 0xc5, 0x99, 0xc3, 0x99, 0xc7, 0x2f, 0x5f, 0xf4, 0x79, 0x65, 0x60, - 0x20, 0xad, 0x0d, 0x98, 0xda, 0x59, 0xfd, 0x07, 0x6d, 0xb6, 0x5a, 0xec, 0xe8, 0x07, 0x9e, 0x06, - 0x5d, 0x44, 0xa0, 0x14, 0x1a, 0x30, 0x05, 0x2a, 0xaf, 0x3e, 0xf9, 0x35, 0x24, 0x64, 0x61, 0x97, - 0x5d, 0x6a, 0xc1, 0x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04, 0x95, 0x33, 0xac, 0xf2, 0x28, 0x17, 0xca, - 0x5e, 0x4b, 0xe4, 0x24, 0xd0, 0x45, 0xfd, 0xcf, 0xe3, 0x7b, 0xed, 0x7e, 0xfe, 0x1c, 0x5c, 0xbd, - 0xb3, 0xe0, 0x7a, 0xd1, 0x42, 0xeb, 0x59, 0x63, 0xf0, 0xa3, 0x5c, 0x7f, 0x75, 0xd0, 0xef, 0xc1, - 0x43, 0xa7, 0xc6, 0xb1, 0x95, 0xe3, 0xd8, 0xea, 0x1f, 0xe2, 0xd8, 0x03, 0x9b, 0x53, 0x3b, 0xec, - 0xe5, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x53, 0x68, 0x0b, 0x87, 0x62, 0x03, 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 deleted file mode 100644 index 508cab0b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/data_items.pb.go +++ /dev/null @@ -1,773 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1beta1/data_items.proto - -package automl - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/any" - _ "github.com/golang/protobuf/ptypes/duration" - _struct "github.com/golang/protobuf/ptypes/struct" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Unit of the document dimension. -type DocumentDimensions_DocumentDimensionUnit int32 - -const ( - // Should not be used. - DocumentDimensions_DOCUMENT_DIMENSION_UNIT_UNSPECIFIED DocumentDimensions_DocumentDimensionUnit = 0 - // Document dimension is measured in inches. - DocumentDimensions_INCH DocumentDimensions_DocumentDimensionUnit = 1 - // Document dimension is measured in centimeters. - DocumentDimensions_CENTIMETER DocumentDimensions_DocumentDimensionUnit = 2 - // Document dimension is measured in points. 72 points = 1 inch. - DocumentDimensions_POINT DocumentDimensions_DocumentDimensionUnit = 3 -) - -var DocumentDimensions_DocumentDimensionUnit_name = map[int32]string{ - 0: "DOCUMENT_DIMENSION_UNIT_UNSPECIFIED", - 1: "INCH", - 2: "CENTIMETER", - 3: "POINT", -} - -var DocumentDimensions_DocumentDimensionUnit_value = map[string]int32{ - "DOCUMENT_DIMENSION_UNIT_UNSPECIFIED": 0, - "INCH": 1, - "CENTIMETER": 2, - "POINT": 3, -} - -func (x DocumentDimensions_DocumentDimensionUnit) String() string { - return proto.EnumName(DocumentDimensions_DocumentDimensionUnit_name, int32(x)) -} - -func (DocumentDimensions_DocumentDimensionUnit) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bd1fd4e23d5f1ca3, []int{2, 0} -} - -// The type of TextSegment in the context of the original document. -type Document_Layout_TextSegmentType int32 - -const ( - // Should not be used. - Document_Layout_TEXT_SEGMENT_TYPE_UNSPECIFIED Document_Layout_TextSegmentType = 0 - // The text segment is a token. e.g. word. - Document_Layout_TOKEN Document_Layout_TextSegmentType = 1 - // The text segment is a paragraph. - Document_Layout_PARAGRAPH Document_Layout_TextSegmentType = 2 - // The text segment is a form field. - Document_Layout_FORM_FIELD Document_Layout_TextSegmentType = 3 - // The text segment is the name part of a form field. It will be treated - // as child of another FORM_FIELD TextSegment if its span is subspan of - // another TextSegment with type FORM_FIELD. - Document_Layout_FORM_FIELD_NAME Document_Layout_TextSegmentType = 4 - // The text segment is the text content part of a form field. It will be - // treated as child of another FORM_FIELD TextSegment if its span is - // subspan of another TextSegment with type FORM_FIELD. - Document_Layout_FORM_FIELD_CONTENTS Document_Layout_TextSegmentType = 5 - // The text segment is a whole table, including headers, and all rows. - Document_Layout_TABLE Document_Layout_TextSegmentType = 6 - // The text segment is a table's headers. It will be treated as child of - // another TABLE TextSegment if its span is subspan of another TextSegment - // with type TABLE. - Document_Layout_TABLE_HEADER Document_Layout_TextSegmentType = 7 - // The text segment is a row in table. It will be treated as child of - // another TABLE TextSegment if its span is subspan of another TextSegment - // with type TABLE. - Document_Layout_TABLE_ROW Document_Layout_TextSegmentType = 8 - // The text segment is a cell in table. It will be treated as child of - // another TABLE_ROW TextSegment if its span is subspan of another - // TextSegment with type TABLE_ROW. - Document_Layout_TABLE_CELL Document_Layout_TextSegmentType = 9 -) - -var Document_Layout_TextSegmentType_name = map[int32]string{ - 0: "TEXT_SEGMENT_TYPE_UNSPECIFIED", - 1: "TOKEN", - 2: "PARAGRAPH", - 3: "FORM_FIELD", - 4: "FORM_FIELD_NAME", - 5: "FORM_FIELD_CONTENTS", - 6: "TABLE", - 7: "TABLE_HEADER", - 8: "TABLE_ROW", - 9: "TABLE_CELL", -} - -var Document_Layout_TextSegmentType_value = map[string]int32{ - "TEXT_SEGMENT_TYPE_UNSPECIFIED": 0, - "TOKEN": 1, - "PARAGRAPH": 2, - "FORM_FIELD": 3, - "FORM_FIELD_NAME": 4, - "FORM_FIELD_CONTENTS": 5, - "TABLE": 6, - "TABLE_HEADER": 7, - "TABLE_ROW": 8, - "TABLE_CELL": 9, -} - -func (x Document_Layout_TextSegmentType) String() string { - return proto.EnumName(Document_Layout_TextSegmentType_name, int32(x)) -} - -func (Document_Layout_TextSegmentType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bd1fd4e23d5f1ca3, []int{3, 0, 0} -} - -// A representation of an image. -// Only images up to 30MB in size are supported. -type Image struct { - // Input only. The data representing the image. - // For Predict calls [image_bytes][] must be set, as other options are not - // currently supported by prediction API. You can read the contents of an - // uploaded image by using the [content_uri][] field. - // - // Types that are valid to be assigned to Data: - // *Image_ImageBytes - // *Image_InputConfig - Data isImage_Data `protobuf_oneof:"data"` - // Output only. HTTP URI to the thumbnail image. - ThumbnailUri string `protobuf:"bytes,4,opt,name=thumbnail_uri,json=thumbnailUri,proto3" json:"thumbnail_uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_bd1fd4e23d5f1ca3, []int{0} -} - -func (m *Image) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Image.Unmarshal(m, b) -} -func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Image.Marshal(b, m, deterministic) -} -func (m *Image) XXX_Merge(src proto.Message) { - xxx_messageInfo_Image.Merge(m, src) -} -func (m *Image) XXX_Size() int { - return xxx_messageInfo_Image.Size(m) -} -func (m *Image) XXX_DiscardUnknown() { - xxx_messageInfo_Image.DiscardUnknown(m) -} - -var xxx_messageInfo_Image proto.InternalMessageInfo - -type isImage_Data interface { - isImage_Data() -} - -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_InputConfig) isImage_Data() {} - -func (m *Image) GetData() isImage_Data { - if m != nil { - return m.Data - } - return nil -} - -func (m *Image) GetImageBytes() []byte { - if x, ok := m.GetData().(*Image_ImageBytes); ok { - return x.ImageBytes - } - return nil -} - -func (m *Image) GetInputConfig() *InputConfig { - if x, ok := m.GetData().(*Image_InputConfig); ok { - return x.InputConfig - } - return nil -} - -func (m *Image) GetThumbnailUri() string { - if m != nil { - return m.ThumbnailUri - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Image) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Image_ImageBytes)(nil), - (*Image_InputConfig)(nil), - } -} - -// A representation of a text snippet. -type TextSnippet struct { - // Required. The content of the text snippet as a string. Up to 250000 - // characters long. - Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` - // Optional. The format of - // [content][google.cloud.automl.v1beta1.TextSnippet.content]. Currently the - // only two allowed values are "text/html" and "text/plain". If left blank, - // the format is automatically determined from the type of the uploaded - // [content][google.cloud.automl.v1beta1.TextSnippet.content]. - MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - // Output only. HTTP URI where you can download the content. - ContentUri string `protobuf:"bytes,4,opt,name=content_uri,json=contentUri,proto3" json:"content_uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_bd1fd4e23d5f1ca3, []int{1} -} - -func (m *TextSnippet) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextSnippet.Unmarshal(m, b) -} -func (m *TextSnippet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextSnippet.Marshal(b, m, deterministic) -} -func (m *TextSnippet) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextSnippet.Merge(m, src) -} -func (m *TextSnippet) XXX_Size() int { - return xxx_messageInfo_TextSnippet.Size(m) -} -func (m *TextSnippet) XXX_DiscardUnknown() { - xxx_messageInfo_TextSnippet.DiscardUnknown(m) -} - -var xxx_messageInfo_TextSnippet proto.InternalMessageInfo - -func (m *TextSnippet) GetContent() string { - if m != nil { - return m.Content - } - return "" -} - -func (m *TextSnippet) GetMimeType() string { - if m != nil { - return m.MimeType - } - return "" -} - -func (m *TextSnippet) GetContentUri() string { - if m != nil { - return m.ContentUri - } - return "" -} - -// Message that describes dimension of a document. -type DocumentDimensions struct { - // Unit of the dimension. - Unit DocumentDimensions_DocumentDimensionUnit `protobuf:"varint,1,opt,name=unit,proto3,enum=google.cloud.automl.v1beta1.DocumentDimensions_DocumentDimensionUnit" json:"unit,omitempty"` - // Width value of the document, works together with the unit. - Width float32 `protobuf:"fixed32,2,opt,name=width,proto3" json:"width,omitempty"` - // Height value of the document, works together with the unit. - Height float32 `protobuf:"fixed32,3,opt,name=height,proto3" json:"height,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DocumentDimensions) Reset() { *m = DocumentDimensions{} } -func (m *DocumentDimensions) String() string { return proto.CompactTextString(m) } -func (*DocumentDimensions) ProtoMessage() {} -func (*DocumentDimensions) Descriptor() ([]byte, []int) { - return fileDescriptor_bd1fd4e23d5f1ca3, []int{2} -} - -func (m *DocumentDimensions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DocumentDimensions.Unmarshal(m, b) -} -func (m *DocumentDimensions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DocumentDimensions.Marshal(b, m, deterministic) -} -func (m *DocumentDimensions) XXX_Merge(src proto.Message) { - xxx_messageInfo_DocumentDimensions.Merge(m, src) -} -func (m *DocumentDimensions) XXX_Size() int { - return xxx_messageInfo_DocumentDimensions.Size(m) -} -func (m *DocumentDimensions) XXX_DiscardUnknown() { - xxx_messageInfo_DocumentDimensions.DiscardUnknown(m) -} - -var xxx_messageInfo_DocumentDimensions proto.InternalMessageInfo - -func (m *DocumentDimensions) GetUnit() DocumentDimensions_DocumentDimensionUnit { - if m != nil { - return m.Unit - } - return DocumentDimensions_DOCUMENT_DIMENSION_UNIT_UNSPECIFIED -} - -func (m *DocumentDimensions) GetWidth() float32 { - if m != nil { - return m.Width - } - return 0 -} - -func (m *DocumentDimensions) GetHeight() float32 { - if m != nil { - return m.Height - } - return 0 -} - -// A structured text document e.g. a PDF. -type Document struct { - // An input config specifying the content of the document. - InputConfig *DocumentInputConfig `protobuf:"bytes,1,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"` - // The plain text version of this document. - DocumentText *TextSnippet `protobuf:"bytes,2,opt,name=document_text,json=documentText,proto3" json:"document_text,omitempty"` - // Describes the layout of the document. - // Sorted by [page_number][]. - Layout []*Document_Layout `protobuf:"bytes,3,rep,name=layout,proto3" json:"layout,omitempty"` - // The dimensions of the page in the document. - DocumentDimensions *DocumentDimensions `protobuf:"bytes,4,opt,name=document_dimensions,json=documentDimensions,proto3" json:"document_dimensions,omitempty"` - // Number of pages in the document. - PageCount int32 `protobuf:"varint,5,opt,name=page_count,json=pageCount,proto3" json:"page_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_bd1fd4e23d5f1ca3, []int{3} -} - -func (m *Document) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Document.Unmarshal(m, b) -} -func (m *Document) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Document.Marshal(b, m, deterministic) -} -func (m *Document) XXX_Merge(src proto.Message) { - xxx_messageInfo_Document.Merge(m, src) -} -func (m *Document) XXX_Size() int { - return xxx_messageInfo_Document.Size(m) -} -func (m *Document) XXX_DiscardUnknown() { - xxx_messageInfo_Document.DiscardUnknown(m) -} - -var xxx_messageInfo_Document proto.InternalMessageInfo - -func (m *Document) GetInputConfig() *DocumentInputConfig { - if m != nil { - return m.InputConfig - } - return nil -} - -func (m *Document) GetDocumentText() *TextSnippet { - if m != nil { - return m.DocumentText - } - return nil -} - -func (m *Document) GetLayout() []*Document_Layout { - if m != nil { - return m.Layout - } - return nil -} - -func (m *Document) GetDocumentDimensions() *DocumentDimensions { - if m != nil { - return m.DocumentDimensions - } - return nil -} - -func (m *Document) GetPageCount() int32 { - if m != nil { - return m.PageCount - } - return 0 -} - -// Describes the layout information of a -// [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in -// the document. -type Document_Layout struct { - // Text Segment that represents a segment in - // [document_text][google.cloud.automl.v1beta1.Document.document_text]. - TextSegment *TextSegment `protobuf:"bytes,1,opt,name=text_segment,json=textSegment,proto3" json:"text_segment,omitempty"` - // Page number of the - // [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] - // in the original document, starts from 1. - PageNumber int32 `protobuf:"varint,2,opt,name=page_number,json=pageNumber,proto3" json:"page_number,omitempty"` - // The position of the - // [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] - // in the page. Contains exactly 4 - // - // [normalized_vertices][google.cloud.automl.v1beta1.BoundingPoly.normalized_vertices] - // and they are connected by edges in the order provided, which will - // represent a rectangle parallel to the frame. The - // [NormalizedVertex-s][google.cloud.automl.v1beta1.NormalizedVertex] are - // relative to the page. - // Coordinates are based on top-left as point (0,0). - BoundingPoly *BoundingPoly `protobuf:"bytes,3,opt,name=bounding_poly,json=boundingPoly,proto3" json:"bounding_poly,omitempty"` - // The type of the - // [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] - // in document. - TextSegmentType Document_Layout_TextSegmentType `protobuf:"varint,4,opt,name=text_segment_type,json=textSegmentType,proto3,enum=google.cloud.automl.v1beta1.Document_Layout_TextSegmentType" json:"text_segment_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Document_Layout) Reset() { *m = Document_Layout{} } -func (m *Document_Layout) String() string { return proto.CompactTextString(m) } -func (*Document_Layout) ProtoMessage() {} -func (*Document_Layout) Descriptor() ([]byte, []int) { - return fileDescriptor_bd1fd4e23d5f1ca3, []int{3, 0} -} - -func (m *Document_Layout) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Document_Layout.Unmarshal(m, b) -} -func (m *Document_Layout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Document_Layout.Marshal(b, m, deterministic) -} -func (m *Document_Layout) XXX_Merge(src proto.Message) { - xxx_messageInfo_Document_Layout.Merge(m, src) -} -func (m *Document_Layout) XXX_Size() int { - return xxx_messageInfo_Document_Layout.Size(m) -} -func (m *Document_Layout) XXX_DiscardUnknown() { - xxx_messageInfo_Document_Layout.DiscardUnknown(m) -} - -var xxx_messageInfo_Document_Layout proto.InternalMessageInfo - -func (m *Document_Layout) GetTextSegment() *TextSegment { - if m != nil { - return m.TextSegment - } - return nil -} - -func (m *Document_Layout) GetPageNumber() int32 { - if m != nil { - return m.PageNumber - } - return 0 -} - -func (m *Document_Layout) GetBoundingPoly() *BoundingPoly { - if m != nil { - return m.BoundingPoly - } - return nil -} - -func (m *Document_Layout) GetTextSegmentType() Document_Layout_TextSegmentType { - if m != nil { - return m.TextSegmentType - } - return Document_Layout_TEXT_SEGMENT_TYPE_UNSPECIFIED -} - -// A representation of a row in a relational table. -type Row struct { - // The resource IDs of the column specs describing the columns of the row. - // If set must contain, but possibly in a different order, all input - // feature - // - // [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] - // of the Model this row is being passed to. - // Note: The below `values` field must match order of this field, if this - // field is set. - ColumnSpecIds []string `protobuf:"bytes,2,rep,name=column_spec_ids,json=columnSpecIds,proto3" json:"column_spec_ids,omitempty"` - // Required. The values of the row cells, given in the same order as the - // column_spec_ids, or, if not set, then in the same order as input - // feature - // - // [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] - // of the Model this row is being passed to. - Values []*_struct.Value `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_bd1fd4e23d5f1ca3, []int{4} -} - -func (m *Row) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Row.Unmarshal(m, b) -} -func (m *Row) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Row.Marshal(b, m, deterministic) -} -func (m *Row) XXX_Merge(src proto.Message) { - xxx_messageInfo_Row.Merge(m, src) -} -func (m *Row) XXX_Size() int { - return xxx_messageInfo_Row.Size(m) -} -func (m *Row) XXX_DiscardUnknown() { - xxx_messageInfo_Row.DiscardUnknown(m) -} - -var xxx_messageInfo_Row proto.InternalMessageInfo - -func (m *Row) GetColumnSpecIds() []string { - if m != nil { - return m.ColumnSpecIds - } - return nil -} - -func (m *Row) GetValues() []*_struct.Value { - if m != nil { - return m.Values - } - return nil -} - -// Example data used for training or prediction. -type ExamplePayload struct { - // Required. Input only. The example data. - // - // Types that are valid to be assigned to Payload: - // *ExamplePayload_Image - // *ExamplePayload_TextSnippet - // *ExamplePayload_Document - // *ExamplePayload_Row - Payload isExamplePayload_Payload `protobuf_oneof:"payload"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_bd1fd4e23d5f1ca3, []int{5} -} - -func (m *ExamplePayload) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExamplePayload.Unmarshal(m, b) -} -func (m *ExamplePayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExamplePayload.Marshal(b, m, deterministic) -} -func (m *ExamplePayload) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExamplePayload.Merge(m, src) -} -func (m *ExamplePayload) XXX_Size() int { - return xxx_messageInfo_ExamplePayload.Size(m) -} -func (m *ExamplePayload) XXX_DiscardUnknown() { - xxx_messageInfo_ExamplePayload.DiscardUnknown(m) -} - -var xxx_messageInfo_ExamplePayload proto.InternalMessageInfo - -type isExamplePayload_Payload interface { - isExamplePayload_Payload() -} - -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"` -} - -type ExamplePayload_Document struct { - Document *Document `protobuf:"bytes,4,opt,name=document,proto3,oneof"` -} - -type ExamplePayload_Row struct { - Row *Row `protobuf:"bytes,3,opt,name=row,proto3,oneof"` -} - -func (*ExamplePayload_Image) isExamplePayload_Payload() {} - -func (*ExamplePayload_TextSnippet) isExamplePayload_Payload() {} - -func (*ExamplePayload_Document) isExamplePayload_Payload() {} - -func (*ExamplePayload_Row) isExamplePayload_Payload() {} - -func (m *ExamplePayload) GetPayload() isExamplePayload_Payload { - if m != nil { - return m.Payload - } - return nil -} - -func (m *ExamplePayload) GetImage() *Image { - if x, ok := m.GetPayload().(*ExamplePayload_Image); ok { - return x.Image - } - return nil -} - -func (m *ExamplePayload) GetTextSnippet() *TextSnippet { - if x, ok := m.GetPayload().(*ExamplePayload_TextSnippet); ok { - return x.TextSnippet - } - return nil -} - -func (m *ExamplePayload) GetDocument() *Document { - if x, ok := m.GetPayload().(*ExamplePayload_Document); ok { - return x.Document - } - return nil -} - -func (m *ExamplePayload) GetRow() *Row { - if x, ok := m.GetPayload().(*ExamplePayload_Row); ok { - return x.Row - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ExamplePayload) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ExamplePayload_Image)(nil), - (*ExamplePayload_TextSnippet)(nil), - (*ExamplePayload_Document)(nil), - (*ExamplePayload_Row)(nil), - } -} - -func init() { - proto.RegisterEnum("google.cloud.automl.v1beta1.DocumentDimensions_DocumentDimensionUnit", DocumentDimensions_DocumentDimensionUnit_name, DocumentDimensions_DocumentDimensionUnit_value) - proto.RegisterEnum("google.cloud.automl.v1beta1.Document_Layout_TextSegmentType", Document_Layout_TextSegmentType_name, Document_Layout_TextSegmentType_value) - proto.RegisterType((*Image)(nil), "google.cloud.automl.v1beta1.Image") - proto.RegisterType((*TextSnippet)(nil), "google.cloud.automl.v1beta1.TextSnippet") - proto.RegisterType((*DocumentDimensions)(nil), "google.cloud.automl.v1beta1.DocumentDimensions") - proto.RegisterType((*Document)(nil), "google.cloud.automl.v1beta1.Document") - proto.RegisterType((*Document_Layout)(nil), "google.cloud.automl.v1beta1.Document.Layout") - proto.RegisterType((*Row)(nil), "google.cloud.automl.v1beta1.Row") - proto.RegisterType((*ExamplePayload)(nil), "google.cloud.automl.v1beta1.ExamplePayload") -} - -func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/data_items.proto", fileDescriptor_bd1fd4e23d5f1ca3) -} - -var fileDescriptor_bd1fd4e23d5f1ca3 = []byte{ - // 1030 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x55, 0x4b, 0x73, 0xe3, 0x44, - 0x10, 0xb6, 0xfc, 0xda, 0xb8, 0xed, 0x6c, 0xc4, 0x04, 0x16, 0x93, 0xec, 0xc3, 0xeb, 0xe5, 0x61, - 0xa8, 0x2d, 0x9b, 0x0d, 0x9c, 0x0c, 0x17, 0x3f, 0x94, 0x58, 0xb5, 0xb6, 0xec, 0x1a, 0xcb, 0x0b, - 0x4b, 0x85, 0x12, 0xb2, 0x3d, 0xab, 0x4c, 0x95, 0xa4, 0x51, 0xd9, 0xa3, 0x4d, 0x7c, 0xe7, 0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0xff, 0x2e, - 0x31, 0xff, 0x4a, 0x1f, 0x9e, 0x48, 0xe2, 0x69, 0x47, 0x90, 0x4e, 0x5b, 0x31, 0x67, 0x03, 0xff, - 0xf4, 0x55, 0x42, 0xfa, 0x3b, 0xfd, 0x38, 0xf1, 0x36, 0x9b, 0xd2, 0xdd, 0x6c, 0x4a, 0x7f, 0xbf, - 0xd9, 0x54, 0x84, 0x69, 0x5e, 0x26, 0xfb, 0xe6, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x77, 0xbf, - 0xea, 0x65, 0x04, 0x09, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/data_stats.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/data_stats.pb.go deleted file mode 100644 index 8406f318..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/data_stats.pb.go +++ /dev/null @@ -1,808 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1beta1/data_stats.proto - -package automl - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The data statistics of a series of values that share the same DataType. -type DataStats struct { - // The data statistics specific to a DataType. - // - // Types that are valid to be assigned to Stats: - // *DataStats_Float64Stats - // *DataStats_StringStats - // *DataStats_TimestampStats - // *DataStats_ArrayStats - // *DataStats_StructStats - // *DataStats_CategoryStats - Stats isDataStats_Stats `protobuf_oneof:"stats"` - // The number of distinct values. - DistinctValueCount int64 `protobuf:"varint,1,opt,name=distinct_value_count,json=distinctValueCount,proto3" json:"distinct_value_count,omitempty"` - // The number of values that are null. - NullValueCount int64 `protobuf:"varint,2,opt,name=null_value_count,json=nullValueCount,proto3" json:"null_value_count,omitempty"` - // The number of values that are valid. - ValidValueCount int64 `protobuf:"varint,9,opt,name=valid_value_count,json=validValueCount,proto3" json:"valid_value_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DataStats) Reset() { *m = DataStats{} } -func (m *DataStats) String() string { return proto.CompactTextString(m) } -func (*DataStats) ProtoMessage() {} -func (*DataStats) Descriptor() ([]byte, []int) { - return fileDescriptor_1f99b1d575d82961, []int{0} -} - -func (m *DataStats) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DataStats.Unmarshal(m, b) -} -func (m *DataStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DataStats.Marshal(b, m, deterministic) -} -func (m *DataStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_DataStats.Merge(m, src) -} -func (m *DataStats) XXX_Size() int { - return xxx_messageInfo_DataStats.Size(m) -} -func (m *DataStats) XXX_DiscardUnknown() { - xxx_messageInfo_DataStats.DiscardUnknown(m) -} - -var xxx_messageInfo_DataStats proto.InternalMessageInfo - -type isDataStats_Stats interface { - isDataStats_Stats() -} - -type DataStats_Float64Stats struct { - Float64Stats *Float64Stats `protobuf:"bytes,3,opt,name=float64_stats,json=float64Stats,proto3,oneof"` -} - -type DataStats_StringStats struct { - StringStats *StringStats `protobuf:"bytes,4,opt,name=string_stats,json=stringStats,proto3,oneof"` -} - -type DataStats_TimestampStats struct { - TimestampStats *TimestampStats `protobuf:"bytes,5,opt,name=timestamp_stats,json=timestampStats,proto3,oneof"` -} - -type DataStats_ArrayStats struct { - ArrayStats *ArrayStats `protobuf:"bytes,6,opt,name=array_stats,json=arrayStats,proto3,oneof"` -} - -type DataStats_StructStats struct { - StructStats *StructStats `protobuf:"bytes,7,opt,name=struct_stats,json=structStats,proto3,oneof"` -} - -type DataStats_CategoryStats struct { - CategoryStats *CategoryStats `protobuf:"bytes,8,opt,name=category_stats,json=categoryStats,proto3,oneof"` -} - -func (*DataStats_Float64Stats) isDataStats_Stats() {} - -func (*DataStats_StringStats) isDataStats_Stats() {} - -func (*DataStats_TimestampStats) isDataStats_Stats() {} - -func (*DataStats_ArrayStats) isDataStats_Stats() {} - -func (*DataStats_StructStats) isDataStats_Stats() {} - -func (*DataStats_CategoryStats) isDataStats_Stats() {} - -func (m *DataStats) GetStats() isDataStats_Stats { - if m != nil { - return m.Stats - } - return nil -} - -func (m *DataStats) GetFloat64Stats() *Float64Stats { - if x, ok := m.GetStats().(*DataStats_Float64Stats); ok { - return x.Float64Stats - } - return nil -} - -func (m *DataStats) GetStringStats() *StringStats { - if x, ok := m.GetStats().(*DataStats_StringStats); ok { - return x.StringStats - } - return nil -} - -func (m *DataStats) GetTimestampStats() *TimestampStats { - if x, ok := m.GetStats().(*DataStats_TimestampStats); ok { - return x.TimestampStats - } - return nil -} - -func (m *DataStats) GetArrayStats() *ArrayStats { - if x, ok := m.GetStats().(*DataStats_ArrayStats); ok { - return x.ArrayStats - } - return nil -} - -func (m *DataStats) GetStructStats() *StructStats { - if x, ok := m.GetStats().(*DataStats_StructStats); ok { - return x.StructStats - } - return nil -} - -func (m *DataStats) GetCategoryStats() *CategoryStats { - if x, ok := m.GetStats().(*DataStats_CategoryStats); ok { - return x.CategoryStats - } - return nil -} - -func (m *DataStats) GetDistinctValueCount() int64 { - if m != nil { - return m.DistinctValueCount - } - return 0 -} - -func (m *DataStats) GetNullValueCount() int64 { - if m != nil { - return m.NullValueCount - } - return 0 -} - -func (m *DataStats) GetValidValueCount() int64 { - if m != nil { - return m.ValidValueCount - } - return 0 -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*DataStats) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*DataStats_Float64Stats)(nil), - (*DataStats_StringStats)(nil), - (*DataStats_TimestampStats)(nil), - (*DataStats_ArrayStats)(nil), - (*DataStats_StructStats)(nil), - (*DataStats_CategoryStats)(nil), - } -} - -// The data statistics of a series of FLOAT64 values. -type Float64Stats struct { - // The mean of the series. - Mean float64 `protobuf:"fixed64,1,opt,name=mean,proto3" json:"mean,omitempty"` - // The standard deviation of the series. - StandardDeviation float64 `protobuf:"fixed64,2,opt,name=standard_deviation,json=standardDeviation,proto3" json:"standard_deviation,omitempty"` - // Ordered from 0 to k k-quantile values of the data series of n values. - // The value at index i is, approximately, the i*n/k-th smallest value in the - // series; for i = 0 and i = k these are, respectively, the min and max - // values. - Quantiles []float64 `protobuf:"fixed64,3,rep,packed,name=quantiles,proto3" json:"quantiles,omitempty"` - // Histogram buckets of the data series. Sorted by the min value of the - // bucket, ascendingly, and the number of the buckets is dynamically - // generated. The buckets are non-overlapping and completely cover whole - // FLOAT64 range with min of first bucket being `"-Infinity"`, and max of - // the last one being `"Infinity"`. - HistogramBuckets []*Float64Stats_HistogramBucket `protobuf:"bytes,4,rep,name=histogram_buckets,json=histogramBuckets,proto3" json:"histogram_buckets,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Float64Stats) Reset() { *m = Float64Stats{} } -func (m *Float64Stats) String() string { return proto.CompactTextString(m) } -func (*Float64Stats) ProtoMessage() {} -func (*Float64Stats) Descriptor() ([]byte, []int) { - return fileDescriptor_1f99b1d575d82961, []int{1} -} - -func (m *Float64Stats) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Float64Stats.Unmarshal(m, b) -} -func (m *Float64Stats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Float64Stats.Marshal(b, m, deterministic) -} -func (m *Float64Stats) XXX_Merge(src proto.Message) { - xxx_messageInfo_Float64Stats.Merge(m, src) -} -func (m *Float64Stats) XXX_Size() int { - return xxx_messageInfo_Float64Stats.Size(m) -} -func (m *Float64Stats) XXX_DiscardUnknown() { - xxx_messageInfo_Float64Stats.DiscardUnknown(m) -} - -var xxx_messageInfo_Float64Stats proto.InternalMessageInfo - -func (m *Float64Stats) GetMean() float64 { - if m != nil { - return m.Mean - } - return 0 -} - -func (m *Float64Stats) GetStandardDeviation() float64 { - if m != nil { - return m.StandardDeviation - } - return 0 -} - -func (m *Float64Stats) GetQuantiles() []float64 { - if m != nil { - return m.Quantiles - } - return nil -} - -func (m *Float64Stats) GetHistogramBuckets() []*Float64Stats_HistogramBucket { - if m != nil { - return m.HistogramBuckets - } - return nil -} - -// A bucket of a histogram. -type Float64Stats_HistogramBucket struct { - // The minimum value of the bucket, inclusive. - Min float64 `protobuf:"fixed64,1,opt,name=min,proto3" json:"min,omitempty"` - // The maximum value of the bucket, exclusive unless max = `"Infinity"`, in - // which case it's inclusive. - Max float64 `protobuf:"fixed64,2,opt,name=max,proto3" json:"max,omitempty"` - // The number of data values that are in the bucket, i.e. are between - // min and max values. - Count int64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Float64Stats_HistogramBucket) Reset() { *m = Float64Stats_HistogramBucket{} } -func (m *Float64Stats_HistogramBucket) String() string { return proto.CompactTextString(m) } -func (*Float64Stats_HistogramBucket) ProtoMessage() {} -func (*Float64Stats_HistogramBucket) Descriptor() ([]byte, []int) { - return fileDescriptor_1f99b1d575d82961, []int{1, 0} -} - -func (m *Float64Stats_HistogramBucket) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Float64Stats_HistogramBucket.Unmarshal(m, b) -} -func (m *Float64Stats_HistogramBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Float64Stats_HistogramBucket.Marshal(b, m, deterministic) -} -func (m *Float64Stats_HistogramBucket) XXX_Merge(src proto.Message) { - xxx_messageInfo_Float64Stats_HistogramBucket.Merge(m, src) -} -func (m *Float64Stats_HistogramBucket) XXX_Size() int { - return xxx_messageInfo_Float64Stats_HistogramBucket.Size(m) -} -func (m *Float64Stats_HistogramBucket) XXX_DiscardUnknown() { - xxx_messageInfo_Float64Stats_HistogramBucket.DiscardUnknown(m) -} - -var xxx_messageInfo_Float64Stats_HistogramBucket proto.InternalMessageInfo - -func (m *Float64Stats_HistogramBucket) GetMin() float64 { - if m != nil { - return m.Min - } - return 0 -} - -func (m *Float64Stats_HistogramBucket) GetMax() float64 { - if m != nil { - return m.Max - } - return 0 -} - -func (m *Float64Stats_HistogramBucket) GetCount() int64 { - if m != nil { - return m.Count - } - return 0 -} - -// The data statistics of a series of STRING values. -type StringStats struct { - // The statistics of the top 20 unigrams, ordered by - // [count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count]. - TopUnigramStats []*StringStats_UnigramStats `protobuf:"bytes,1,rep,name=top_unigram_stats,json=topUnigramStats,proto3" json:"top_unigram_stats,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StringStats) Reset() { *m = StringStats{} } -func (m *StringStats) String() string { return proto.CompactTextString(m) } -func (*StringStats) ProtoMessage() {} -func (*StringStats) Descriptor() ([]byte, []int) { - return fileDescriptor_1f99b1d575d82961, []int{2} -} - -func (m *StringStats) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StringStats.Unmarshal(m, b) -} -func (m *StringStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StringStats.Marshal(b, m, deterministic) -} -func (m *StringStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_StringStats.Merge(m, src) -} -func (m *StringStats) XXX_Size() int { - return xxx_messageInfo_StringStats.Size(m) -} -func (m *StringStats) XXX_DiscardUnknown() { - xxx_messageInfo_StringStats.DiscardUnknown(m) -} - -var xxx_messageInfo_StringStats proto.InternalMessageInfo - -func (m *StringStats) GetTopUnigramStats() []*StringStats_UnigramStats { - if m != nil { - return m.TopUnigramStats - } - return nil -} - -// The statistics of a unigram. -type StringStats_UnigramStats struct { - // The unigram. - Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` - // The number of occurrences of this unigram in the series. - 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 *StringStats_UnigramStats) Reset() { *m = StringStats_UnigramStats{} } -func (m *StringStats_UnigramStats) String() string { return proto.CompactTextString(m) } -func (*StringStats_UnigramStats) ProtoMessage() {} -func (*StringStats_UnigramStats) Descriptor() ([]byte, []int) { - return fileDescriptor_1f99b1d575d82961, []int{2, 0} -} - -func (m *StringStats_UnigramStats) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StringStats_UnigramStats.Unmarshal(m, b) -} -func (m *StringStats_UnigramStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StringStats_UnigramStats.Marshal(b, m, deterministic) -} -func (m *StringStats_UnigramStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_StringStats_UnigramStats.Merge(m, src) -} -func (m *StringStats_UnigramStats) XXX_Size() int { - return xxx_messageInfo_StringStats_UnigramStats.Size(m) -} -func (m *StringStats_UnigramStats) XXX_DiscardUnknown() { - xxx_messageInfo_StringStats_UnigramStats.DiscardUnknown(m) -} - -var xxx_messageInfo_StringStats_UnigramStats proto.InternalMessageInfo - -func (m *StringStats_UnigramStats) GetValue() string { - if m != nil { - return m.Value - } - return "" -} - -func (m *StringStats_UnigramStats) GetCount() int64 { - if m != nil { - return m.Count - } - return 0 -} - -// The data statistics of a series of TIMESTAMP values. -type TimestampStats struct { - // The string key is the pre-defined granularity. Currently supported: - // hour_of_day, day_of_week, month_of_year. - // Granularities finer that the granularity of timestamp data are not - // populated (e.g. if timestamps are at day granularity, then hour_of_day - // is not populated). - GranularStats map[string]*TimestampStats_GranularStats `protobuf:"bytes,1,rep,name=granular_stats,json=granularStats,proto3" json:"granular_stats,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 *TimestampStats) Reset() { *m = TimestampStats{} } -func (m *TimestampStats) String() string { return proto.CompactTextString(m) } -func (*TimestampStats) ProtoMessage() {} -func (*TimestampStats) Descriptor() ([]byte, []int) { - return fileDescriptor_1f99b1d575d82961, []int{3} -} - -func (m *TimestampStats) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TimestampStats.Unmarshal(m, b) -} -func (m *TimestampStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TimestampStats.Marshal(b, m, deterministic) -} -func (m *TimestampStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_TimestampStats.Merge(m, src) -} -func (m *TimestampStats) XXX_Size() int { - return xxx_messageInfo_TimestampStats.Size(m) -} -func (m *TimestampStats) XXX_DiscardUnknown() { - xxx_messageInfo_TimestampStats.DiscardUnknown(m) -} - -var xxx_messageInfo_TimestampStats proto.InternalMessageInfo - -func (m *TimestampStats) GetGranularStats() map[string]*TimestampStats_GranularStats { - if m != nil { - return m.GranularStats - } - return nil -} - -// Stats split by a defined in context granularity. -type TimestampStats_GranularStats struct { - // A map from granularity key to example count for that key. - // E.g. for hour_of_day `13` means 1pm, or for month_of_year `5` means May). - Buckets map[int32]int64 `protobuf:"bytes,1,rep,name=buckets,proto3" json:"buckets,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 *TimestampStats_GranularStats) Reset() { *m = TimestampStats_GranularStats{} } -func (m *TimestampStats_GranularStats) String() string { return proto.CompactTextString(m) } -func (*TimestampStats_GranularStats) ProtoMessage() {} -func (*TimestampStats_GranularStats) Descriptor() ([]byte, []int) { - return fileDescriptor_1f99b1d575d82961, []int{3, 0} -} - -func (m *TimestampStats_GranularStats) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TimestampStats_GranularStats.Unmarshal(m, b) -} -func (m *TimestampStats_GranularStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TimestampStats_GranularStats.Marshal(b, m, deterministic) -} -func (m *TimestampStats_GranularStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_TimestampStats_GranularStats.Merge(m, src) -} -func (m *TimestampStats_GranularStats) XXX_Size() int { - return xxx_messageInfo_TimestampStats_GranularStats.Size(m) -} -func (m *TimestampStats_GranularStats) XXX_DiscardUnknown() { - xxx_messageInfo_TimestampStats_GranularStats.DiscardUnknown(m) -} - -var xxx_messageInfo_TimestampStats_GranularStats proto.InternalMessageInfo - -func (m *TimestampStats_GranularStats) GetBuckets() map[int32]int64 { - if m != nil { - return m.Buckets - } - return nil -} - -// The data statistics of a series of ARRAY values. -type ArrayStats struct { - // Stats of all the values of all arrays, as if they were a single long - // series of data. The type depends on the element type of the array. - MemberStats *DataStats `protobuf:"bytes,2,opt,name=member_stats,json=memberStats,proto3" json:"member_stats,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ArrayStats) Reset() { *m = ArrayStats{} } -func (m *ArrayStats) String() string { return proto.CompactTextString(m) } -func (*ArrayStats) ProtoMessage() {} -func (*ArrayStats) Descriptor() ([]byte, []int) { - return fileDescriptor_1f99b1d575d82961, []int{4} -} - -func (m *ArrayStats) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ArrayStats.Unmarshal(m, b) -} -func (m *ArrayStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ArrayStats.Marshal(b, m, deterministic) -} -func (m *ArrayStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_ArrayStats.Merge(m, src) -} -func (m *ArrayStats) XXX_Size() int { - return xxx_messageInfo_ArrayStats.Size(m) -} -func (m *ArrayStats) XXX_DiscardUnknown() { - xxx_messageInfo_ArrayStats.DiscardUnknown(m) -} - -var xxx_messageInfo_ArrayStats proto.InternalMessageInfo - -func (m *ArrayStats) GetMemberStats() *DataStats { - if m != nil { - return m.MemberStats - } - return nil -} - -// The data statistics of a series of STRUCT values. -type StructStats struct { - // Map from a field name of the struct to data stats aggregated over series - // of all data in that field across all the structs. - FieldStats map[string]*DataStats `protobuf:"bytes,1,rep,name=field_stats,json=fieldStats,proto3" json:"field_stats,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 *StructStats) Reset() { *m = StructStats{} } -func (m *StructStats) String() string { return proto.CompactTextString(m) } -func (*StructStats) ProtoMessage() {} -func (*StructStats) Descriptor() ([]byte, []int) { - return fileDescriptor_1f99b1d575d82961, []int{5} -} - -func (m *StructStats) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StructStats.Unmarshal(m, b) -} -func (m *StructStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StructStats.Marshal(b, m, deterministic) -} -func (m *StructStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_StructStats.Merge(m, src) -} -func (m *StructStats) XXX_Size() int { - return xxx_messageInfo_StructStats.Size(m) -} -func (m *StructStats) XXX_DiscardUnknown() { - xxx_messageInfo_StructStats.DiscardUnknown(m) -} - -var xxx_messageInfo_StructStats proto.InternalMessageInfo - -func (m *StructStats) GetFieldStats() map[string]*DataStats { - if m != nil { - return m.FieldStats - } - return nil -} - -// The data statistics of a series of CATEGORY values. -type CategoryStats struct { - // The statistics of the top 20 CATEGORY values, ordered by - // - // [count][google.cloud.automl.v1beta1.CategoryStats.SingleCategoryStats.count]. - TopCategoryStats []*CategoryStats_SingleCategoryStats `protobuf:"bytes,1,rep,name=top_category_stats,json=topCategoryStats,proto3" json:"top_category_stats,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CategoryStats) Reset() { *m = CategoryStats{} } -func (m *CategoryStats) String() string { return proto.CompactTextString(m) } -func (*CategoryStats) ProtoMessage() {} -func (*CategoryStats) Descriptor() ([]byte, []int) { - return fileDescriptor_1f99b1d575d82961, []int{6} -} - -func (m *CategoryStats) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CategoryStats.Unmarshal(m, b) -} -func (m *CategoryStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CategoryStats.Marshal(b, m, deterministic) -} -func (m *CategoryStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_CategoryStats.Merge(m, src) -} -func (m *CategoryStats) XXX_Size() int { - return xxx_messageInfo_CategoryStats.Size(m) -} -func (m *CategoryStats) XXX_DiscardUnknown() { - xxx_messageInfo_CategoryStats.DiscardUnknown(m) -} - -var xxx_messageInfo_CategoryStats proto.InternalMessageInfo - -func (m *CategoryStats) GetTopCategoryStats() []*CategoryStats_SingleCategoryStats { - if m != nil { - return m.TopCategoryStats - } - return nil -} - -// The statistics of a single CATEGORY value. -type CategoryStats_SingleCategoryStats struct { - // The CATEGORY value. - Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` - // The number of occurrences of this value in the series. - 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 *CategoryStats_SingleCategoryStats) Reset() { *m = CategoryStats_SingleCategoryStats{} } -func (m *CategoryStats_SingleCategoryStats) String() string { return proto.CompactTextString(m) } -func (*CategoryStats_SingleCategoryStats) ProtoMessage() {} -func (*CategoryStats_SingleCategoryStats) Descriptor() ([]byte, []int) { - return fileDescriptor_1f99b1d575d82961, []int{6, 0} -} - -func (m *CategoryStats_SingleCategoryStats) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CategoryStats_SingleCategoryStats.Unmarshal(m, b) -} -func (m *CategoryStats_SingleCategoryStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CategoryStats_SingleCategoryStats.Marshal(b, m, deterministic) -} -func (m *CategoryStats_SingleCategoryStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_CategoryStats_SingleCategoryStats.Merge(m, src) -} -func (m *CategoryStats_SingleCategoryStats) XXX_Size() int { - return xxx_messageInfo_CategoryStats_SingleCategoryStats.Size(m) -} -func (m *CategoryStats_SingleCategoryStats) XXX_DiscardUnknown() { - xxx_messageInfo_CategoryStats_SingleCategoryStats.DiscardUnknown(m) -} - -var xxx_messageInfo_CategoryStats_SingleCategoryStats proto.InternalMessageInfo - -func (m *CategoryStats_SingleCategoryStats) GetValue() string { - if m != nil { - return m.Value - } - return "" -} - -func (m *CategoryStats_SingleCategoryStats) GetCount() int64 { - if m != nil { - return m.Count - } - return 0 -} - -// A correlation statistics between two series of DataType values. The series -// may have differing DataType-s, but within a single series the DataType must -// be the same. -type CorrelationStats struct { - // The correlation value using the Cramer's V measure. - CramersV float64 `protobuf:"fixed64,1,opt,name=cramers_v,json=cramersV,proto3" json:"cramers_v,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CorrelationStats) Reset() { *m = CorrelationStats{} } -func (m *CorrelationStats) String() string { return proto.CompactTextString(m) } -func (*CorrelationStats) ProtoMessage() {} -func (*CorrelationStats) Descriptor() ([]byte, []int) { - return fileDescriptor_1f99b1d575d82961, []int{7} -} - -func (m *CorrelationStats) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CorrelationStats.Unmarshal(m, b) -} -func (m *CorrelationStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CorrelationStats.Marshal(b, m, deterministic) -} -func (m *CorrelationStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_CorrelationStats.Merge(m, src) -} -func (m *CorrelationStats) XXX_Size() int { - return xxx_messageInfo_CorrelationStats.Size(m) -} -func (m *CorrelationStats) XXX_DiscardUnknown() { - xxx_messageInfo_CorrelationStats.DiscardUnknown(m) -} - -var xxx_messageInfo_CorrelationStats proto.InternalMessageInfo - -func (m *CorrelationStats) GetCramersV() float64 { - if m != nil { - return m.CramersV - } - return 0 -} - -func init() { - proto.RegisterType((*DataStats)(nil), "google.cloud.automl.v1beta1.DataStats") - proto.RegisterType((*Float64Stats)(nil), "google.cloud.automl.v1beta1.Float64Stats") - proto.RegisterType((*Float64Stats_HistogramBucket)(nil), "google.cloud.automl.v1beta1.Float64Stats.HistogramBucket") - proto.RegisterType((*StringStats)(nil), "google.cloud.automl.v1beta1.StringStats") - proto.RegisterType((*StringStats_UnigramStats)(nil), "google.cloud.automl.v1beta1.StringStats.UnigramStats") - proto.RegisterType((*TimestampStats)(nil), "google.cloud.automl.v1beta1.TimestampStats") - proto.RegisterMapType((map[string]*TimestampStats_GranularStats)(nil), "google.cloud.automl.v1beta1.TimestampStats.GranularStatsEntry") - proto.RegisterType((*TimestampStats_GranularStats)(nil), "google.cloud.automl.v1beta1.TimestampStats.GranularStats") - proto.RegisterMapType((map[int32]int64)(nil), "google.cloud.automl.v1beta1.TimestampStats.GranularStats.BucketsEntry") - proto.RegisterType((*ArrayStats)(nil), "google.cloud.automl.v1beta1.ArrayStats") - proto.RegisterType((*StructStats)(nil), "google.cloud.automl.v1beta1.StructStats") - proto.RegisterMapType((map[string]*DataStats)(nil), "google.cloud.automl.v1beta1.StructStats.FieldStatsEntry") - proto.RegisterType((*CategoryStats)(nil), "google.cloud.automl.v1beta1.CategoryStats") - proto.RegisterType((*CategoryStats_SingleCategoryStats)(nil), "google.cloud.automl.v1beta1.CategoryStats.SingleCategoryStats") - proto.RegisterType((*CorrelationStats)(nil), "google.cloud.automl.v1beta1.CorrelationStats") -} - -func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/data_stats.proto", fileDescriptor_1f99b1d575d82961) -} - -var fileDescriptor_1f99b1d575d82961 = []byte{ - // 863 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xdd, 0x8e, 0xdb, 0x44, - 0x14, 0xc6, 0x49, 0xd3, 0x6d, 0x4e, 0x7e, 0x77, 0xe8, 0x45, 0x95, 0xad, 0xa0, 0xca, 0x05, 0x84, - 0x02, 0x36, 0x2d, 0x3f, 0x2a, 0x06, 0x21, 0xed, 0x6e, 0xd9, 0x96, 0x9f, 0x8a, 0xca, 0x0b, 0x8b, - 0x40, 0x2b, 0x85, 0x59, 0x7b, 0xe2, 0x5a, 0x1d, 0xcf, 0x04, 0x7b, 0x1c, 0xb1, 0xe2, 0x9a, 0x37, - 0x29, 0x77, 0xf0, 0x0e, 0x5c, 0x73, 0xc3, 0x7b, 0xf0, 0x14, 0xc8, 0x67, 0xc6, 0xc9, 0x78, 0x59, - 0x99, 0x2c, 0x77, 0x3e, 0xe7, 0x7c, 0xe7, 0x3b, 0xbf, 0x73, 0x12, 0x78, 0x2b, 0x96, 0x32, 0xe6, - 0xcc, 0x0b, 0xb9, 0x2c, 0x22, 0x8f, 0x16, 0x4a, 0xa6, 0xdc, 0x5b, 0xdd, 0x3b, 0x63, 0x8a, 0xde, - 0xf3, 0x22, 0xaa, 0xe8, 0x3c, 0x57, 0x54, 0xe5, 0xee, 0x32, 0x93, 0x4a, 0x92, 0x3d, 0x8d, 0x76, - 0x11, 0xed, 0x6a, 0xb4, 0x6b, 0xd0, 0x93,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cb, 0xe8, 0x1e, 0x95, 0xbe, 0xd6, - 0xcc, 0x61, 0xb1, 0x56, 0x4c, 0x18, 0x8c, 0x2e, 0x98, 0x2f, 0xe9, 0xde, 0xc7, 0xf5, 0xee, 0x6d, - 0x5b, 0x93, 0xd5, 0xaa, 0x3f, 0x1c, 0x18, 0xd4, 0x6e, 0x2b, 0xe1, 0x40, 0xca, 0x27, 0x78, 0xe1, - 0x46, 0x6f, 0xb3, 0xd4, 0x35, 0x1e, 0xf7, 0x38, 0x11, 0x31, 0x67, 0x35, 0x5d, 0x30, 0x56, 0x72, - 0x59, 0xd3, 0x4c, 0xf6, 0xe1, 0xe5, 0x4b, 0x80, 0x57, 0x7a, 0x94, 0x1e, 0x8c, 0x0f, 0x65, 0x96, - 0x31, 0x8e, 0x57, 0x52, 0xfb, 0xef, 0x41, 0x37, 0xcc, 0x68, 0xca, 0xb2, 0x7c, 0xbe, 0x32, 0x77, - 0xe9, 0x86, 0x51, 0x9c, 0x1c, 0xfc, 0xea, 0xc0, 0xab, 0xa1, 0x4c, 0x9b, 0x6a, 0x79, 0xea, 0x7c, - 0xbf, 0x6f, 0xcc, 0xb1, 0xe4, 0x54, 0xc4, 0xae, 0xcc, 0x62, 0x2f, 0x66, 0x02, 0xff, 0x65, 0x78, - 0xda, 0x44, 0x97, 0x49, 0x7e, 0xe9, 0x3f, 0x9a, 0x8f, 0xb4, 0xf8, 0x67, 0x6b, 0xef, 0x11, 0x02, - 0x4f, 0x0f, 0x4b, 0xd0, 0xe9, 0x7e, 0xa1, 0xe4, 0x13, 0x7e, 0x7a, 0xa2, 0x41, 0x7f, 0xb7, 0x5e, - 0xd1, 0x56, 0xdf, 0x47, 0xb3, 0xef, 0xa3, 0xfd, 0x4b, 0xdf, 0x37, 0x80, 0xb3, 0xeb, 0x18, 0xec, - 0xdd, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x25, 0x00, 0xaf, 0x85, 0x3d, 0x09, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/data_types.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/data_types.pb.go deleted file mode 100644 index fe85a35d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/data_types.pb.go +++ /dev/null @@ -1,293 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1beta1/data_types.proto - -package automl - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// `TypeCode` is used as a part of -// [DataType][google.cloud.automl.v1beta1.DataType]. -type TypeCode int32 - -const ( - // Not specified. Should not be used. - TypeCode_TYPE_CODE_UNSPECIFIED TypeCode = 0 - // Encoded as `number`, or the strings `"NaN"`, `"Infinity"`, or - // `"-Infinity"`. - TypeCode_FLOAT64 TypeCode = 3 - // Must be between 0AD and 9999AD. Encoded as `string` according to - // [time_format][google.cloud.automl.v1beta1.DataType.time_format], or, if - // that format is not set, then in RFC 3339 `date-time` format, where - // `time-offset` = `"Z"` (e.g. 1985-04-12T23:20:50.52Z). - TypeCode_TIMESTAMP TypeCode = 4 - // Encoded as `string`. - TypeCode_STRING TypeCode = 6 - // Encoded as `list`, where the list elements are represented according to - // - // [list_element_type][google.cloud.automl.v1beta1.DataType.list_element_type]. - TypeCode_ARRAY TypeCode = 8 - // Encoded as `struct`, where field values are represented according to - // [struct_type][google.cloud.automl.v1beta1.DataType.struct_type]. - TypeCode_STRUCT TypeCode = 9 - // Values of this type are not further understood by AutoML, - // e.g. AutoML is unable to tell the order of values (as it could with - // FLOAT64), or is unable to say if one value contains another (as it - // could with STRING). - // Encoded as `string` (bytes should be base64-encoded, as described in RFC - // 4648, section 4). - TypeCode_CATEGORY TypeCode = 10 -) - -var TypeCode_name = map[int32]string{ - 0: "TYPE_CODE_UNSPECIFIED", - 3: "FLOAT64", - 4: "TIMESTAMP", - 6: "STRING", - 8: "ARRAY", - 9: "STRUCT", - 10: "CATEGORY", -} - -var TypeCode_value = map[string]int32{ - "TYPE_CODE_UNSPECIFIED": 0, - "FLOAT64": 3, - "TIMESTAMP": 4, - "STRING": 6, - "ARRAY": 8, - "STRUCT": 9, - "CATEGORY": 10, -} - -func (x TypeCode) String() string { - return proto.EnumName(TypeCode_name, int32(x)) -} - -func (TypeCode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_43071a57be770d81, []int{0} -} - -// Indicated the type of data that can be stored in a structured data entity -// (e.g. a table). -type DataType struct { - // Details of DataType-s that need additional specification. - // - // Types that are valid to be assigned to Details: - // *DataType_ListElementType - // *DataType_StructType - // *DataType_TimeFormat - Details isDataType_Details `protobuf_oneof:"details"` - // Required. The [TypeCode][google.cloud.automl.v1beta1.TypeCode] for this type. - TypeCode TypeCode `protobuf:"varint,1,opt,name=type_code,json=typeCode,proto3,enum=google.cloud.automl.v1beta1.TypeCode" json:"type_code,omitempty"` - // If true, this DataType can also be `NULL`. In .CSV files `NULL` value is - // expressed as an empty string. - Nullable bool `protobuf:"varint,4,opt,name=nullable,proto3" json:"nullable,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DataType) Reset() { *m = DataType{} } -func (m *DataType) String() string { return proto.CompactTextString(m) } -func (*DataType) ProtoMessage() {} -func (*DataType) Descriptor() ([]byte, []int) { - return fileDescriptor_43071a57be770d81, []int{0} -} - -func (m *DataType) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DataType.Unmarshal(m, b) -} -func (m *DataType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DataType.Marshal(b, m, deterministic) -} -func (m *DataType) XXX_Merge(src proto.Message) { - xxx_messageInfo_DataType.Merge(m, src) -} -func (m *DataType) XXX_Size() int { - return xxx_messageInfo_DataType.Size(m) -} -func (m *DataType) XXX_DiscardUnknown() { - xxx_messageInfo_DataType.DiscardUnknown(m) -} - -var xxx_messageInfo_DataType proto.InternalMessageInfo - -type isDataType_Details interface { - isDataType_Details() -} - -type DataType_ListElementType struct { - ListElementType *DataType `protobuf:"bytes,2,opt,name=list_element_type,json=listElementType,proto3,oneof"` -} - -type DataType_StructType struct { - StructType *StructType `protobuf:"bytes,3,opt,name=struct_type,json=structType,proto3,oneof"` -} - -type DataType_TimeFormat struct { - TimeFormat string `protobuf:"bytes,5,opt,name=time_format,json=timeFormat,proto3,oneof"` -} - -func (*DataType_ListElementType) isDataType_Details() {} - -func (*DataType_StructType) isDataType_Details() {} - -func (*DataType_TimeFormat) isDataType_Details() {} - -func (m *DataType) GetDetails() isDataType_Details { - if m != nil { - return m.Details - } - return nil -} - -func (m *DataType) GetListElementType() *DataType { - if x, ok := m.GetDetails().(*DataType_ListElementType); ok { - return x.ListElementType - } - return nil -} - -func (m *DataType) GetStructType() *StructType { - if x, ok := m.GetDetails().(*DataType_StructType); ok { - return x.StructType - } - return nil -} - -func (m *DataType) GetTimeFormat() string { - if x, ok := m.GetDetails().(*DataType_TimeFormat); ok { - return x.TimeFormat - } - return "" -} - -func (m *DataType) GetTypeCode() TypeCode { - if m != nil { - return m.TypeCode - } - return TypeCode_TYPE_CODE_UNSPECIFIED -} - -func (m *DataType) GetNullable() bool { - if m != nil { - return m.Nullable - } - return false -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*DataType) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*DataType_ListElementType)(nil), - (*DataType_StructType)(nil), - (*DataType_TimeFormat)(nil), - } -} - -// `StructType` defines the DataType-s of a [STRUCT][google.cloud.automl.v1beta1.TypeCode.STRUCT] type. -type StructType struct { - // Unordered map of struct field names to their data types. - // Fields cannot be added or removed via Update. Their names and - // data types are still mutable. - Fields map[string]*DataType `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,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 *StructType) Reset() { *m = StructType{} } -func (m *StructType) String() string { return proto.CompactTextString(m) } -func (*StructType) ProtoMessage() {} -func (*StructType) Descriptor() ([]byte, []int) { - return fileDescriptor_43071a57be770d81, []int{1} -} - -func (m *StructType) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StructType.Unmarshal(m, b) -} -func (m *StructType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StructType.Marshal(b, m, deterministic) -} -func (m *StructType) XXX_Merge(src proto.Message) { - xxx_messageInfo_StructType.Merge(m, src) -} -func (m *StructType) XXX_Size() int { - return xxx_messageInfo_StructType.Size(m) -} -func (m *StructType) XXX_DiscardUnknown() { - xxx_messageInfo_StructType.DiscardUnknown(m) -} - -var xxx_messageInfo_StructType proto.InternalMessageInfo - -func (m *StructType) GetFields() map[string]*DataType { - if m != nil { - return m.Fields - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.automl.v1beta1.TypeCode", TypeCode_name, TypeCode_value) - proto.RegisterType((*DataType)(nil), "google.cloud.automl.v1beta1.DataType") - proto.RegisterType((*StructType)(nil), "google.cloud.automl.v1beta1.StructType") - proto.RegisterMapType((map[string]*DataType)(nil), "google.cloud.automl.v1beta1.StructType.FieldsEntry") -} - -func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/data_types.proto", fileDescriptor_43071a57be770d81) -} - -var fileDescriptor_43071a57be770d81 = []byte{ - // 514 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02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3, 0x89, 0x13, 0xbc, 0x7a, 0x69, 0xd4, 0xd1, 0xff, 0xa0, 0x05, - 0xa3, 0xb1, 0x37, 0x0b, 0x9c, 0xf1, 0xd4, 0xd8, 0x47, 0x00, 0xcd, 0x59, 0xe0, 0x8f, 0x2e, 0x86, - 0x46, 0x13, 0x69, 0xd0, 0x70, 0x7c, 0xdf, 0x99, 0x1b, 0xaa, 0x4c, 0x5f, 0xba, 0x81, 0xa1, 0xa1, - 0xff, 0x40, 0x75, 0x9d, 0xc0, 0x1b, 0x4e, 0xfc, 0xb9, 0x01, 0xbd, 0xcf, 0x0a, 0x3c, 0x5e, 0xb1, - 0xf5, 0xae, 0x5d, 0xa7, 0xca, 0x07, 0x47, 0x96, 0x63, 0x46, 0x71, 0x1a, 0x9b, 0x2c, 0x8b, 0xad, - 0x98, 0xa4, 0xe2, 0xff, 0x6a, 0x55, 0x25, 0xbc, 0x49, 0xf2, 0xdf, 0x7e, 0x1b, 0x67, 0x55, 0xf8, - 0xad, 0x76, 0x38, 0x14, 0xe0, 0xc2, 0x2d, 0xa1, 0x85, 0x53, 0x70, 0x36, 0xa6, 0x8b, 0xf7, 0x15, - 0xf4, 0xbd, 0xf6, 0xa8, 0xaa, 0xda, 0xb6, 0x28, 0xdb, 0xb6, 0xa8, 0x9f, 0xdb, 0xb6, 0x04, 0x96, - 0x4d, 0x31, 0xec, 0xf4, 0x47, 0x00, 0x00, 0x00, 0xff, 0xff, 0x5f, 0x5c, 0xf0, 0x29, 0x87, 0x03, - 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 deleted file mode 100644 index fd8fa10c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/dataset.pb.go +++ /dev/null @@ -1,327 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1beta1/dataset.proto - -package automl - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A workspace for solving a single, particular machine learning (ML) problem. -// A workspace contains examples that may be annotated. -type Dataset struct { - // Required. - // The dataset metadata that is specific to the problem type. - // - // Types that are valid to be assigned to DatasetMetadata: - // *Dataset_TranslationDatasetMetadata - // *Dataset_ImageClassificationDatasetMetadata - // *Dataset_TextClassificationDatasetMetadata - // *Dataset_ImageObjectDetectionDatasetMetadata - // *Dataset_VideoClassificationDatasetMetadata - // *Dataset_VideoObjectTrackingDatasetMetadata - // *Dataset_TextExtractionDatasetMetadata - // *Dataset_TextSentimentDatasetMetadata - // *Dataset_TablesDatasetMetadata - DatasetMetadata isDataset_DatasetMetadata `protobuf_oneof:"dataset_metadata"` - // Output only. The resource name of the dataset. - // Form: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The name of the dataset to show in the interface. The name can be - // up to 32 characters long and can consist only of ASCII Latin letters A-Z - // and a-z, underscores - // (_), and ASCII digits 0-9. - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // User-provided description of the dataset. The description can be up to - // 25000 characters long. - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - // Output only. The number of examples in the dataset. - ExampleCount int32 `protobuf:"varint,21,opt,name=example_count,json=exampleCount,proto3" json:"example_count,omitempty"` - // Output only. Timestamp when this dataset was created. - CreateTime *timestamp.Timestamp `protobuf:"bytes,14,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Used to perform consistent read-modify-write updates. If not set, a blind - // "overwrite" update happens. - Etag string `protobuf:"bytes,17,opt,name=etag,proto3" json:"etag,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1f2b1dc66a1e92da, []int{0} -} - -func (m *Dataset) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Dataset.Unmarshal(m, b) -} -func (m *Dataset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Dataset.Marshal(b, m, deterministic) -} -func (m *Dataset) XXX_Merge(src proto.Message) { - xxx_messageInfo_Dataset.Merge(m, src) -} -func (m *Dataset) XXX_Size() int { - return xxx_messageInfo_Dataset.Size(m) -} -func (m *Dataset) XXX_DiscardUnknown() { - xxx_messageInfo_Dataset.DiscardUnknown(m) -} - -var xxx_messageInfo_Dataset proto.InternalMessageInfo - -type isDataset_DatasetMetadata interface { - isDataset_DatasetMetadata() -} - -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"` -} - -type Dataset_ImageObjectDetectionDatasetMetadata struct { - ImageObjectDetectionDatasetMetadata *ImageObjectDetectionDatasetMetadata `protobuf:"bytes,26,opt,name=image_object_detection_dataset_metadata,json=imageObjectDetectionDatasetMetadata,proto3,oneof"` -} - -type Dataset_VideoClassificationDatasetMetadata struct { - VideoClassificationDatasetMetadata *VideoClassificationDatasetMetadata `protobuf:"bytes,31,opt,name=video_classification_dataset_metadata,json=videoClassificationDatasetMetadata,proto3,oneof"` -} - -type Dataset_VideoObjectTrackingDatasetMetadata struct { - VideoObjectTrackingDatasetMetadata *VideoObjectTrackingDatasetMetadata `protobuf:"bytes,29,opt,name=video_object_tracking_dataset_metadata,json=videoObjectTrackingDatasetMetadata,proto3,oneof"` -} - -type Dataset_TextExtractionDatasetMetadata struct { - TextExtractionDatasetMetadata *TextExtractionDatasetMetadata `protobuf:"bytes,28,opt,name=text_extraction_dataset_metadata,json=textExtractionDatasetMetadata,proto3,oneof"` -} - -type Dataset_TextSentimentDatasetMetadata struct { - TextSentimentDatasetMetadata *TextSentimentDatasetMetadata `protobuf:"bytes,30,opt,name=text_sentiment_dataset_metadata,json=textSentimentDatasetMetadata,proto3,oneof"` -} - -type Dataset_TablesDatasetMetadata struct { - TablesDatasetMetadata *TablesDatasetMetadata `protobuf:"bytes,33,opt,name=tables_dataset_metadata,json=tablesDatasetMetadata,proto3,oneof"` -} - -func (*Dataset_TranslationDatasetMetadata) isDataset_DatasetMetadata() {} - -func (*Dataset_ImageClassificationDatasetMetadata) isDataset_DatasetMetadata() {} - -func (*Dataset_TextClassificationDatasetMetadata) isDataset_DatasetMetadata() {} - -func (*Dataset_ImageObjectDetectionDatasetMetadata) isDataset_DatasetMetadata() {} - -func (*Dataset_VideoClassificationDatasetMetadata) isDataset_DatasetMetadata() {} - -func (*Dataset_VideoObjectTrackingDatasetMetadata) isDataset_DatasetMetadata() {} - -func (*Dataset_TextExtractionDatasetMetadata) isDataset_DatasetMetadata() {} - -func (*Dataset_TextSentimentDatasetMetadata) isDataset_DatasetMetadata() {} - -func (*Dataset_TablesDatasetMetadata) isDataset_DatasetMetadata() {} - -func (m *Dataset) GetDatasetMetadata() isDataset_DatasetMetadata { - if m != nil { - return m.DatasetMetadata - } - return nil -} - -func (m *Dataset) GetTranslationDatasetMetadata() *TranslationDatasetMetadata { - if x, ok := m.GetDatasetMetadata().(*Dataset_TranslationDatasetMetadata); ok { - return x.TranslationDatasetMetadata - } - return nil -} - -func (m *Dataset) GetImageClassificationDatasetMetadata() *ImageClassificationDatasetMetadata { - if x, ok := m.GetDatasetMetadata().(*Dataset_ImageClassificationDatasetMetadata); ok { - return x.ImageClassificationDatasetMetadata - } - return nil -} - -func (m *Dataset) GetTextClassificationDatasetMetadata() *TextClassificationDatasetMetadata { - if x, ok := m.GetDatasetMetadata().(*Dataset_TextClassificationDatasetMetadata); ok { - return x.TextClassificationDatasetMetadata - } - return nil -} - -func (m *Dataset) GetImageObjectDetectionDatasetMetadata() *ImageObjectDetectionDatasetMetadata { - if x, ok := m.GetDatasetMetadata().(*Dataset_ImageObjectDetectionDatasetMetadata); ok { - return x.ImageObjectDetectionDatasetMetadata - } - return nil -} - -func (m *Dataset) GetVideoClassificationDatasetMetadata() *VideoClassificationDatasetMetadata { - if x, ok := m.GetDatasetMetadata().(*Dataset_VideoClassificationDatasetMetadata); ok { - return x.VideoClassificationDatasetMetadata - } - return nil -} - -func (m *Dataset) GetVideoObjectTrackingDatasetMetadata() *VideoObjectTrackingDatasetMetadata { - if x, ok := m.GetDatasetMetadata().(*Dataset_VideoObjectTrackingDatasetMetadata); ok { - return x.VideoObjectTrackingDatasetMetadata - } - return nil -} - -func (m *Dataset) GetTextExtractionDatasetMetadata() *TextExtractionDatasetMetadata { - if x, ok := m.GetDatasetMetadata().(*Dataset_TextExtractionDatasetMetadata); ok { - return x.TextExtractionDatasetMetadata - } - return nil -} - -func (m *Dataset) GetTextSentimentDatasetMetadata() *TextSentimentDatasetMetadata { - if x, ok := m.GetDatasetMetadata().(*Dataset_TextSentimentDatasetMetadata); ok { - return x.TextSentimentDatasetMetadata - } - return nil -} - -func (m *Dataset) GetTablesDatasetMetadata() *TablesDatasetMetadata { - if x, ok := m.GetDatasetMetadata().(*Dataset_TablesDatasetMetadata); ok { - return x.TablesDatasetMetadata - } - return nil -} - -func (m *Dataset) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Dataset) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *Dataset) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *Dataset) GetExampleCount() int32 { - if m != nil { - return m.ExampleCount - } - return 0 -} - -func (m *Dataset) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *Dataset) GetEtag() string { - if m != nil { - return m.Etag - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Dataset) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Dataset_TranslationDatasetMetadata)(nil), - (*Dataset_ImageClassificationDatasetMetadata)(nil), - (*Dataset_TextClassificationDatasetMetadata)(nil), - (*Dataset_ImageObjectDetectionDatasetMetadata)(nil), - (*Dataset_VideoClassificationDatasetMetadata)(nil), - (*Dataset_VideoObjectTrackingDatasetMetadata)(nil), - (*Dataset_TextExtractionDatasetMetadata)(nil), - (*Dataset_TextSentimentDatasetMetadata)(nil), - (*Dataset_TablesDatasetMetadata)(nil), - } -} - -func init() { - proto.RegisterType((*Dataset)(nil), "google.cloud.automl.v1beta1.Dataset") -} - -func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/dataset.proto", fileDescriptor_1f2b1dc66a1e92da) -} - -var fileDescriptor_1f2b1dc66a1e92da = []byte{ - // 654 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x95, 0xdf, 0x6a, 0xd4, 0x4e, - 0x14, 0xc7, 0x7f, 0xe9, 0xcf, 0x3f, 0x38, 0x5b, 0x45, 0x07, 0x4a, 0xe3, 0x76, 0xdb,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ed, 0xa5, - 0xf3, 0x7a, 0xdb, 0x94, 0x63, 0x99, 0xb0, 0x2c, 0xf6, 0x64, 0x11, 0xfb, 0x31, 0xcf, 0x50, 0xc1, - 0xd7, 0x25, 0x96, 0x8b, 0x72, 0xe2, 0x1f, 0xd1, 0x96, 0xfe, 0xf9, 0x7d, 0x66, 0xe1, 0x31, 0x82, - 0x47, 0xbb, 0x0a, 0x3a, 0xda, 0x1e, 0x82, 0xdc, 0x4f, 0x8e, 0x0e, 0x35, 0xf4, 0x73, 0x66, 0x49, - 0x57, 0x83, 0x00, 0xcb, 0x41, 0x80, 0xf5, 0x67, 0x41, 0x60, 0x80, 0xfe, 0x05, 0x1c, 0x76, 0xe7, - 0x57, 0x00, 0x00, 0x00, 0xff, 0xff, 0xcd, 0xfd, 0x61, 0xd6, 0xe6, 0x07, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/detection.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/detection.pb.go deleted file mode 100644 index aa4899da..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/detection.pb.go +++ /dev/null @@ -1,490 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1beta1/detection.proto - -package automl - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Annotation details for image object detection. -type ImageObjectDetectionAnnotation struct { - // Output only. The rectangle representing the object location. - BoundingBox *BoundingPoly `protobuf:"bytes,1,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"` - // Output only. The confidence that this annotation is positive for the parent example, - // value in [0, 1], higher means higher positivity confidence. - Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ImageObjectDetectionAnnotation) Reset() { *m = ImageObjectDetectionAnnotation{} } -func (m *ImageObjectDetectionAnnotation) String() string { return proto.CompactTextString(m) } -func (*ImageObjectDetectionAnnotation) ProtoMessage() {} -func (*ImageObjectDetectionAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_85c92c72aeb2dfbd, []int{0} -} - -func (m *ImageObjectDetectionAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageObjectDetectionAnnotation.Unmarshal(m, b) -} -func (m *ImageObjectDetectionAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageObjectDetectionAnnotation.Marshal(b, m, deterministic) -} -func (m *ImageObjectDetectionAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageObjectDetectionAnnotation.Merge(m, src) -} -func (m *ImageObjectDetectionAnnotation) XXX_Size() int { - return xxx_messageInfo_ImageObjectDetectionAnnotation.Size(m) -} -func (m *ImageObjectDetectionAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_ImageObjectDetectionAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageObjectDetectionAnnotation proto.InternalMessageInfo - -func (m *ImageObjectDetectionAnnotation) GetBoundingBox() *BoundingPoly { - if m != nil { - return m.BoundingBox - } - return nil -} - -func (m *ImageObjectDetectionAnnotation) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -// Annotation details for video object tracking. -type VideoObjectTrackingAnnotation struct { - // Optional. The instance of the object, expressed as a positive integer. Used to tell - // apart objects of the same type (i.e. AnnotationSpec) when multiple are - // present on a single example. - // NOTE: Instance ID prediction quality is not a part of model evaluation and - // is done as best effort. Especially in cases when an entity goes - // off-screen for a longer time (minutes), when it comes back it may be given - // a new instance ID. - InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` - // Required. A time (frame) of a video to which this annotation pertains. - // Represented as the duration since the video's start. - TimeOffset *duration.Duration `protobuf:"bytes,2,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` - // Required. The rectangle representing the object location on the frame (i.e. - // at the time_offset of the video). - BoundingBox *BoundingPoly `protobuf:"bytes,3,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"` - // Output only. The confidence that this annotation is positive for the video at - // the time_offset, value in [0, 1], higher means higher positivity - // confidence. For annotations created by the user the score is 1. When - // user approves an annotation, the original float score is kept (and not - // changed to 1). - Score float32 `protobuf:"fixed32,4,opt,name=score,proto3" json:"score,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VideoObjectTrackingAnnotation) Reset() { *m = VideoObjectTrackingAnnotation{} } -func (m *VideoObjectTrackingAnnotation) String() string { return proto.CompactTextString(m) } -func (*VideoObjectTrackingAnnotation) ProtoMessage() {} -func (*VideoObjectTrackingAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_85c92c72aeb2dfbd, []int{1} -} - -func (m *VideoObjectTrackingAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VideoObjectTrackingAnnotation.Unmarshal(m, b) -} -func (m *VideoObjectTrackingAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VideoObjectTrackingAnnotation.Marshal(b, m, deterministic) -} -func (m *VideoObjectTrackingAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoObjectTrackingAnnotation.Merge(m, src) -} -func (m *VideoObjectTrackingAnnotation) XXX_Size() int { - return xxx_messageInfo_VideoObjectTrackingAnnotation.Size(m) -} -func (m *VideoObjectTrackingAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_VideoObjectTrackingAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_VideoObjectTrackingAnnotation proto.InternalMessageInfo - -func (m *VideoObjectTrackingAnnotation) GetInstanceId() string { - if m != nil { - return m.InstanceId - } - return "" -} - -func (m *VideoObjectTrackingAnnotation) GetTimeOffset() *duration.Duration { - if m != nil { - return m.TimeOffset - } - return nil -} - -func (m *VideoObjectTrackingAnnotation) GetBoundingBox() *BoundingPoly { - if m != nil { - return m.BoundingBox - } - return nil -} - -func (m *VideoObjectTrackingAnnotation) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -// Bounding box matching model metrics for a single intersection-over-union -// threshold and multiple label match confidence thresholds. -type BoundingBoxMetricsEntry struct { - // Output only. The intersection-over-union threshold value used to compute - // this metrics entry. - IouThreshold float32 `protobuf:"fixed32,1,opt,name=iou_threshold,json=iouThreshold,proto3" json:"iou_threshold,omitempty"` - // Output only. The mean average precision, most often close to au_prc. - MeanAveragePrecision float32 `protobuf:"fixed32,2,opt,name=mean_average_precision,json=meanAveragePrecision,proto3" json:"mean_average_precision,omitempty"` - // Output only. Metrics for each label-match confidence_threshold from - // 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is - // derived from them. - ConfidenceMetricsEntries []*BoundingBoxMetricsEntry_ConfidenceMetricsEntry `protobuf:"bytes,3,rep,name=confidence_metrics_entries,json=confidenceMetricsEntries,proto3" json:"confidence_metrics_entries,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BoundingBoxMetricsEntry) Reset() { *m = BoundingBoxMetricsEntry{} } -func (m *BoundingBoxMetricsEntry) String() string { return proto.CompactTextString(m) } -func (*BoundingBoxMetricsEntry) ProtoMessage() {} -func (*BoundingBoxMetricsEntry) Descriptor() ([]byte, []int) { - return fileDescriptor_85c92c72aeb2dfbd, []int{2} -} - -func (m *BoundingBoxMetricsEntry) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BoundingBoxMetricsEntry.Unmarshal(m, b) -} -func (m *BoundingBoxMetricsEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BoundingBoxMetricsEntry.Marshal(b, m, deterministic) -} -func (m *BoundingBoxMetricsEntry) XXX_Merge(src proto.Message) { - xxx_messageInfo_BoundingBoxMetricsEntry.Merge(m, src) -} -func (m *BoundingBoxMetricsEntry) XXX_Size() int { - return xxx_messageInfo_BoundingBoxMetricsEntry.Size(m) -} -func (m *BoundingBoxMetricsEntry) XXX_DiscardUnknown() { - xxx_messageInfo_BoundingBoxMetricsEntry.DiscardUnknown(m) -} - -var xxx_messageInfo_BoundingBoxMetricsEntry proto.InternalMessageInfo - -func (m *BoundingBoxMetricsEntry) GetIouThreshold() float32 { - if m != nil { - return m.IouThreshold - } - return 0 -} - -func (m *BoundingBoxMetricsEntry) GetMeanAveragePrecision() float32 { - if m != nil { - return m.MeanAveragePrecision - } - return 0 -} - -func (m *BoundingBoxMetricsEntry) GetConfidenceMetricsEntries() []*BoundingBoxMetricsEntry_ConfidenceMetricsEntry { - if m != nil { - return m.ConfidenceMetricsEntries - } - return nil -} - -// Metrics for a single confidence threshold. -type BoundingBoxMetricsEntry_ConfidenceMetricsEntry struct { - // Output only. The confidence threshold value used to compute the metrics. - ConfidenceThreshold float32 `protobuf:"fixed32,1,opt,name=confidence_threshold,json=confidenceThreshold,proto3" json:"confidence_threshold,omitempty"` - // Output only. Recall under the given confidence threshold. - Recall float32 `protobuf:"fixed32,2,opt,name=recall,proto3" json:"recall,omitempty"` - // Output only. Precision under the given confidence threshold. - Precision float32 `protobuf:"fixed32,3,opt,name=precision,proto3" json:"precision,omitempty"` - // Output only. The harmonic mean of recall and precision. - F1Score float32 `protobuf:"fixed32,4,opt,name=f1_score,json=f1Score,proto3" json:"f1_score,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BoundingBoxMetricsEntry_ConfidenceMetricsEntry) Reset() { - *m = BoundingBoxMetricsEntry_ConfidenceMetricsEntry{} -} -func (m *BoundingBoxMetricsEntry_ConfidenceMetricsEntry) String() string { - return proto.CompactTextString(m) -} -func (*BoundingBoxMetricsEntry_ConfidenceMetricsEntry) ProtoMessage() {} -func (*BoundingBoxMetricsEntry_ConfidenceMetricsEntry) Descriptor() ([]byte, []int) { - return fileDescriptor_85c92c72aeb2dfbd, []int{2, 0} -} - -func (m *BoundingBoxMetricsEntry_ConfidenceMetricsEntry) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BoundingBoxMetricsEntry_ConfidenceMetricsEntry.Unmarshal(m, b) -} -func (m *BoundingBoxMetricsEntry_ConfidenceMetricsEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BoundingBoxMetricsEntry_ConfidenceMetricsEntry.Marshal(b, m, deterministic) -} -func (m *BoundingBoxMetricsEntry_ConfidenceMetricsEntry) XXX_Merge(src proto.Message) { - xxx_messageInfo_BoundingBoxMetricsEntry_ConfidenceMetricsEntry.Merge(m, src) -} -func (m *BoundingBoxMetricsEntry_ConfidenceMetricsEntry) XXX_Size() int { - return xxx_messageInfo_BoundingBoxMetricsEntry_ConfidenceMetricsEntry.Size(m) -} -func (m *BoundingBoxMetricsEntry_ConfidenceMetricsEntry) XXX_DiscardUnknown() { - xxx_messageInfo_BoundingBoxMetricsEntry_ConfidenceMetricsEntry.DiscardUnknown(m) -} - -var xxx_messageInfo_BoundingBoxMetricsEntry_ConfidenceMetricsEntry proto.InternalMessageInfo - -func (m *BoundingBoxMetricsEntry_ConfidenceMetricsEntry) GetConfidenceThreshold() float32 { - if m != nil { - return m.ConfidenceThreshold - } - return 0 -} - -func (m *BoundingBoxMetricsEntry_ConfidenceMetricsEntry) GetRecall() float32 { - if m != nil { - return m.Recall - } - return 0 -} - -func (m *BoundingBoxMetricsEntry_ConfidenceMetricsEntry) GetPrecision() float32 { - if m != nil { - return m.Precision - } - return 0 -} - -func (m *BoundingBoxMetricsEntry_ConfidenceMetricsEntry) GetF1Score() float32 { - if m != nil { - return m.F1Score - } - return 0 -} - -// Model evaluation metrics for image object detection problems. -// Evaluates prediction quality of labeled bounding boxes. -type ImageObjectDetectionEvaluationMetrics struct { - // Output only. The total number of bounding boxes (i.e. summed over all - // images) the ground truth used to create this evaluation had. - EvaluatedBoundingBoxCount int32 `protobuf:"varint,1,opt,name=evaluated_bounding_box_count,json=evaluatedBoundingBoxCount,proto3" json:"evaluated_bounding_box_count,omitempty"` - // Output only. The bounding boxes match metrics for each - // Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 - // and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 - // pair. - BoundingBoxMetricsEntries []*BoundingBoxMetricsEntry `protobuf:"bytes,2,rep,name=bounding_box_metrics_entries,json=boundingBoxMetricsEntries,proto3" json:"bounding_box_metrics_entries,omitempty"` - // Output only. The single metric for bounding boxes evaluation: - // the mean_average_precision averaged over all bounding_box_metrics_entries. - BoundingBoxMeanAveragePrecision float32 `protobuf:"fixed32,3,opt,name=bounding_box_mean_average_precision,json=boundingBoxMeanAveragePrecision,proto3" json:"bounding_box_mean_average_precision,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ImageObjectDetectionEvaluationMetrics) Reset() { *m = ImageObjectDetectionEvaluationMetrics{} } -func (m *ImageObjectDetectionEvaluationMetrics) String() string { return proto.CompactTextString(m) } -func (*ImageObjectDetectionEvaluationMetrics) ProtoMessage() {} -func (*ImageObjectDetectionEvaluationMetrics) Descriptor() ([]byte, []int) { - return fileDescriptor_85c92c72aeb2dfbd, []int{3} -} - -func (m *ImageObjectDetectionEvaluationMetrics) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageObjectDetectionEvaluationMetrics.Unmarshal(m, b) -} -func (m *ImageObjectDetectionEvaluationMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageObjectDetectionEvaluationMetrics.Marshal(b, m, deterministic) -} -func (m *ImageObjectDetectionEvaluationMetrics) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageObjectDetectionEvaluationMetrics.Merge(m, src) -} -func (m *ImageObjectDetectionEvaluationMetrics) XXX_Size() int { - return xxx_messageInfo_ImageObjectDetectionEvaluationMetrics.Size(m) -} -func (m *ImageObjectDetectionEvaluationMetrics) XXX_DiscardUnknown() { - xxx_messageInfo_ImageObjectDetectionEvaluationMetrics.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageObjectDetectionEvaluationMetrics proto.InternalMessageInfo - -func (m *ImageObjectDetectionEvaluationMetrics) GetEvaluatedBoundingBoxCount() int32 { - if m != nil { - return m.EvaluatedBoundingBoxCount - } - return 0 -} - -func (m *ImageObjectDetectionEvaluationMetrics) GetBoundingBoxMetricsEntries() []*BoundingBoxMetricsEntry { - if m != nil { - return m.BoundingBoxMetricsEntries - } - return nil -} - -func (m *ImageObjectDetectionEvaluationMetrics) GetBoundingBoxMeanAveragePrecision() float32 { - if m != nil { - return m.BoundingBoxMeanAveragePrecision - } - return 0 -} - -// Model evaluation metrics for video object tracking problems. -// Evaluates prediction quality of both labeled bounding boxes and labeled -// tracks (i.e. series of bounding boxes sharing same label and instance ID). -type VideoObjectTrackingEvaluationMetrics struct { - // Output only. The number of video frames used to create this evaluation. - EvaluatedFrameCount int32 `protobuf:"varint,1,opt,name=evaluated_frame_count,json=evaluatedFrameCount,proto3" json:"evaluated_frame_count,omitempty"` - // Output only. The total number of bounding boxes (i.e. summed over all - // frames) the ground truth used to create this evaluation had. - EvaluatedBoundingBoxCount int32 `protobuf:"varint,2,opt,name=evaluated_bounding_box_count,json=evaluatedBoundingBoxCount,proto3" json:"evaluated_bounding_box_count,omitempty"` - // Output only. The bounding boxes match metrics for each - // Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 - // and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 - // pair. - BoundingBoxMetricsEntries []*BoundingBoxMetricsEntry `protobuf:"bytes,4,rep,name=bounding_box_metrics_entries,json=boundingBoxMetricsEntries,proto3" json:"bounding_box_metrics_entries,omitempty"` - // Output only. The single metric for bounding boxes evaluation: - // the mean_average_precision averaged over all bounding_box_metrics_entries. - BoundingBoxMeanAveragePrecision float32 `protobuf:"fixed32,6,opt,name=bounding_box_mean_average_precision,json=boundingBoxMeanAveragePrecision,proto3" json:"bounding_box_mean_average_precision,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VideoObjectTrackingEvaluationMetrics) Reset() { *m = VideoObjectTrackingEvaluationMetrics{} } -func (m *VideoObjectTrackingEvaluationMetrics) String() string { return proto.CompactTextString(m) } -func (*VideoObjectTrackingEvaluationMetrics) ProtoMessage() {} -func (*VideoObjectTrackingEvaluationMetrics) Descriptor() ([]byte, []int) { - return fileDescriptor_85c92c72aeb2dfbd, []int{4} -} - -func (m *VideoObjectTrackingEvaluationMetrics) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VideoObjectTrackingEvaluationMetrics.Unmarshal(m, b) -} -func (m *VideoObjectTrackingEvaluationMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VideoObjectTrackingEvaluationMetrics.Marshal(b, m, deterministic) -} -func (m *VideoObjectTrackingEvaluationMetrics) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoObjectTrackingEvaluationMetrics.Merge(m, src) -} -func (m *VideoObjectTrackingEvaluationMetrics) XXX_Size() int { - return xxx_messageInfo_VideoObjectTrackingEvaluationMetrics.Size(m) -} -func (m *VideoObjectTrackingEvaluationMetrics) XXX_DiscardUnknown() { - xxx_messageInfo_VideoObjectTrackingEvaluationMetrics.DiscardUnknown(m) -} - -var xxx_messageInfo_VideoObjectTrackingEvaluationMetrics proto.InternalMessageInfo - -func (m *VideoObjectTrackingEvaluationMetrics) GetEvaluatedFrameCount() int32 { - if m != nil { - return m.EvaluatedFrameCount - } - return 0 -} - -func (m *VideoObjectTrackingEvaluationMetrics) GetEvaluatedBoundingBoxCount() int32 { - if m != nil { - return m.EvaluatedBoundingBoxCount - } - return 0 -} - -func (m *VideoObjectTrackingEvaluationMetrics) GetBoundingBoxMetricsEntries() []*BoundingBoxMetricsEntry { - if m != nil { - return m.BoundingBoxMetricsEntries - } - return nil -} - -func (m *VideoObjectTrackingEvaluationMetrics) GetBoundingBoxMeanAveragePrecision() float32 { - if m != nil { - return m.BoundingBoxMeanAveragePrecision - } - return 0 -} - -func init() { - proto.RegisterType((*ImageObjectDetectionAnnotation)(nil), "google.cloud.automl.v1beta1.ImageObjectDetectionAnnotation") - proto.RegisterType((*VideoObjectTrackingAnnotation)(nil), "google.cloud.automl.v1beta1.VideoObjectTrackingAnnotation") - proto.RegisterType((*BoundingBoxMetricsEntry)(nil), "google.cloud.automl.v1beta1.BoundingBoxMetricsEntry") - proto.RegisterType((*BoundingBoxMetricsEntry_ConfidenceMetricsEntry)(nil), "google.cloud.automl.v1beta1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry") - proto.RegisterType((*ImageObjectDetectionEvaluationMetrics)(nil), "google.cloud.automl.v1beta1.ImageObjectDetectionEvaluationMetrics") - proto.RegisterType((*VideoObjectTrackingEvaluationMetrics)(nil), "google.cloud.automl.v1beta1.VideoObjectTrackingEvaluationMetrics") -} - -func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/detection.proto", fileDescriptor_85c92c72aeb2dfbd) -} - -var fileDescriptor_85c92c72aeb2dfbd = []byte{ - // 674 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x95, 0xc1, 0x4e, 0xdb, 0x4a, - 0x14, 0x86, 0x65, 0x07, 0xb8, 0x97, 0x09, 0x77, 0x63, 0xb8, 0xdc, 0x24, 0xe4, 0x02, 0x82, 0x56, - 0xa2, 0xad, 0x64, 0x2b, 0x29, 0x2b, 0x77, 0x51, 0x25, 0x40, 0x2b, 0x54, 0x10, 0xc8, 0x45, 0x2c, - 0x2a, 0x24, 0x6b, 0x6c, 0x1f, 0x9b, 0x69, 0xed, 0x99, 0x68, 0x3c, 0x46, 0xb0, 0xef, 0xa6, 0xef, - 0x50, 0xa9, 0xab, 0x2e, 0xfb, 0x22, 0x7d, 0x0a, 0xd6, 0x7d, 0x8a, 0x2a, 0x33, 0x76, 0x6c, 0x82, - 0x45, 0x51, 0x5b, 0xa9, 0xcb, 0x39, 0xff, 0x3f, 0x33, 0xff, 0xf9, 0xce, 0x38, 0x41, 0x4f, 0x22, - 0xc6, 0xa2, 0x18, 0x2c, 0x3f, 0x66, 0x59, 0x60, 0xe1, 0x4c, 0xb0, 0x24, 0xb6, 0x2e, 0x7a, 0x1e, - 0x08, 0xdc, 0xb3, 0x02, 0x10, 0xe0, 0x0b, 0xc2, 0xa8, 0x39, 0xe2, 0x4c, 0x30, 0x63, 0x45, 0x99, - 0x4d, 0x69, 0x36, 0x95, 0xd9, 0xcc, 0xcd, 0x9d, 0xc7, 0x77, 0x9d, 0x14, 0x01, 0x4b, 0x40, 0xf0, - 0x2b, 0x75, 0x50, 0x67, 0x35, 0xf7, 0xca, 0x95, 0x97, 0x85, 0x56, 0x90, 0x71, 0x5c, 0x5e, 0xd4, - 0xe9, 0xe6, 0x3a, 0x1e, 0x11, 0x0b, 0x53, 0xca, 0x84, 0x14, 0x53, 0xa5, 0x6e, 0xbc, 0xd7, 0xd0, - 0xea, 0x7e, 0x82, 0x23, 0x38, 0xf2, 0xde, 0x82, 0x2f, 0x76, 0x8b, 0x94, 0x83, 0x89, 0xd3, 0x38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 0xd1, 0xbf, 0x25, 0xae, - 0x90, 0xe3, 0x04, 0x6e, 0x70, 0x5a, 0x9c, 0x88, 0x2f, 0xc6, 0x9a, 0x22, 0xf4, 0x23, 0xc4, 0xfa, - 0xaf, 0x22, 0x9e, 0xf9, 0xa3, 0x88, 0xe7, 0xee, 0x85, 0x78, 0xf8, 0x59, 0x43, 0x6b, 0x3e, 0x4b, - 0xee, 0x0a, 0x79, 0xac, 0xbd, 0x19, 0xe4, 0x72, 0xc4, 0x62, 0x4c, 0x23, 0x93, 0xf1, 0xc8, 0x8a, - 0x80, 0xca, 0x9f, 0x3c, 0x4b, 0x49, 0x78, 0x44, 0xd2, 0xda, 0x7f, 0x93, 0x67, 0x6a, 0xf9, 0x55, - 0x5f, 0x79, 0x29, 0x8d, 0x67, 0x3b, 0x63, 0xd3, 0xd9, 0x20, 0x13, 0xec, 0x30, 0x3e, 0x3b, 0x55, - 0xa6, 0x6f, 0xfa, 0xaa, 0x52, 0x6d, 0x5b, 0xca, 0xb6, 0x2d, 0xf5, 0x03, 0xdb, 0xce, 0x0d, 0xde, - 0x9c, 0xbc, 0xec, 0xe9, 0xf7, 0x00, 0x00, 0x00, 0xff, 0xff, 0xec, 0x5c, 0xae, 0x18, 0x03, 0x07, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/geometry.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/geometry.pb.go deleted file mode 100644 index 901b75f1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/geometry.pb.go +++ /dev/null @@ -1,151 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1beta1/geometry.proto - -package automl - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A vertex represents a 2D point in the image. -// The normalized vertex coordinates are between 0 to 1 fractions relative to -// the original plane (image, video). E.g. if the plane (e.g. whole image) would -// have size 10 x 20 then a point with normalized coordinates (0.1, 0.3) would -// be at the position (1, 6) on that plane. -type NormalizedVertex struct { - // Required. Horizontal coordinate. - X float32 `protobuf:"fixed32,1,opt,name=x,proto3" json:"x,omitempty"` - // Required. Vertical 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_cbaead6fc80bf3a2, []int{0} -} - -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 (m *NormalizedVertex) XXX_Merge(src proto.Message) { - xxx_messageInfo_NormalizedVertex.Merge(m, 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 -} - -// A bounding polygon of a detected object on a plane. -// On output both vertices and normalized_vertices are provided. -// The polygon is formed by connecting vertices in the order they are listed. -type BoundingPoly struct { - // Output only . The bounding polygon normalized vertices. - NormalizedVertices []*NormalizedVertex `protobuf:"bytes,2,rep,name=normalized_vertices,json=normalizedVertices,proto3" json:"normalized_vertices,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_cbaead6fc80bf3a2, []int{1} -} - -func (m *BoundingPoly) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BoundingPoly.Unmarshal(m, b) -} -func (m *BoundingPoly) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BoundingPoly.Marshal(b, m, deterministic) -} -func (m *BoundingPoly) XXX_Merge(src proto.Message) { - xxx_messageInfo_BoundingPoly.Merge(m, src) -} -func (m *BoundingPoly) XXX_Size() int { - return xxx_messageInfo_BoundingPoly.Size(m) -} -func (m *BoundingPoly) XXX_DiscardUnknown() { - xxx_messageInfo_BoundingPoly.DiscardUnknown(m) -} - -var xxx_messageInfo_BoundingPoly proto.InternalMessageInfo - -func (m *BoundingPoly) GetNormalizedVertices() []*NormalizedVertex { - if m != nil { - return m.NormalizedVertices - } - return nil -} - -func init() { - proto.RegisterType((*NormalizedVertex)(nil), "google.cloud.automl.v1beta1.NormalizedVertex") - proto.RegisterType((*BoundingPoly)(nil), "google.cloud.automl.v1beta1.BoundingPoly") -} - -func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/geometry.proto", fileDescriptor_cbaead6fc80bf3a2) -} - -var fileDescriptor_cbaead6fc80bf3a2 = []byte{ - // 278 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x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0xc5, 0xd8, 0xff, 0xbd, 0xcb, - 0x14, 0xfe, 0x9c, 0xec, 0x8a, 0xe6, 0x9f, 0x84, 0x5e, 0x15, 0x58, 0x1d, 0x2a, 0x5a, 0x90, 0xd7, - 0x59, 0x8f, 0x35, 0x5a, 0x09, 0x9a, 0xa1, 0xd3, 0x5c, 0x2b, 0x08, 0x2f, 0xe4, 0x11, 0xc9, 0xda, - 0x34, 0x7b, 0xff, 0xf2, 0x3e, 0xc6, 0xaf, 0x64, 0xf8, 0x18, 0xc4, 0xfc, 0x61, 0x27, 0xe5, 0xb3, - 0xd6, 0xe3, 0xb3, 0xcd, 0x57, 0x51, 0xfa, 0x4e, 0x2e, 0x23, 0x15, 0x22, 0x60, 0x21, 0x02, 0x7f, - 0x12, 0xa2, 0x17, 0xd6, 0xc7, 0x61, 0xd9, 0xdd, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x53, 0x5d, - 0x3f, 0xba, 0xb7, 0x01, 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 deleted file mode 100644 index 206a1457..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/image.pb.go +++ /dev/null @@ -1,482 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1beta1/image.proto - -package automl - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Dataset metadata that is specific to image classification. -type ImageClassificationDatasetMetadata struct { - // Required. Type of the classification problem. - ClassificationType ClassificationType `protobuf:"varint,1,opt,name=classification_type,json=classificationType,proto3,enum=google.cloud.automl.v1beta1.ClassificationType" json:"classification_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ImageClassificationDatasetMetadata) Reset() { *m = ImageClassificationDatasetMetadata{} } -func (m *ImageClassificationDatasetMetadata) String() string { return proto.CompactTextString(m) } -func (*ImageClassificationDatasetMetadata) ProtoMessage() {} -func (*ImageClassificationDatasetMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_29b9f2bc900da869, []int{0} -} - -func (m *ImageClassificationDatasetMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageClassificationDatasetMetadata.Unmarshal(m, b) -} -func (m *ImageClassificationDatasetMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageClassificationDatasetMetadata.Marshal(b, m, deterministic) -} -func (m *ImageClassificationDatasetMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageClassificationDatasetMetadata.Merge(m, src) -} -func (m *ImageClassificationDatasetMetadata) XXX_Size() int { - return xxx_messageInfo_ImageClassificationDatasetMetadata.Size(m) -} -func (m *ImageClassificationDatasetMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_ImageClassificationDatasetMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageClassificationDatasetMetadata proto.InternalMessageInfo - -func (m *ImageClassificationDatasetMetadata) GetClassificationType() ClassificationType { - if m != nil { - return m.ClassificationType - } - return ClassificationType_CLASSIFICATION_TYPE_UNSPECIFIED -} - -// Dataset metadata specific to image object detection. -type ImageObjectDetectionDatasetMetadata struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ImageObjectDetectionDatasetMetadata) Reset() { *m = ImageObjectDetectionDatasetMetadata{} } -func (m *ImageObjectDetectionDatasetMetadata) String() string { return proto.CompactTextString(m) } -func (*ImageObjectDetectionDatasetMetadata) ProtoMessage() {} -func (*ImageObjectDetectionDatasetMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_29b9f2bc900da869, []int{1} -} - -func (m *ImageObjectDetectionDatasetMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageObjectDetectionDatasetMetadata.Unmarshal(m, b) -} -func (m *ImageObjectDetectionDatasetMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageObjectDetectionDatasetMetadata.Marshal(b, m, deterministic) -} -func (m *ImageObjectDetectionDatasetMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageObjectDetectionDatasetMetadata.Merge(m, src) -} -func (m *ImageObjectDetectionDatasetMetadata) XXX_Size() int { - return xxx_messageInfo_ImageObjectDetectionDatasetMetadata.Size(m) -} -func (m *ImageObjectDetectionDatasetMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_ImageObjectDetectionDatasetMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageObjectDetectionDatasetMetadata proto.InternalMessageInfo - -// Model metadata for image classification. -type ImageClassificationModelMetadata struct { - // Optional. The ID of the `base` model. If it is specified, the new model - // will be created based on the `base` model. Otherwise, the new model will be - // created from scratch. The `base` model must be in the same - // `project` and `location` as the new model to create, and have the same - // `model_type`. - BaseModelId string `protobuf:"bytes,1,opt,name=base_model_id,json=baseModelId,proto3" json:"base_model_id,omitempty"` - // Required. The train budget of creating this model, expressed in hours. The - // actual `train_cost` will be equal or less than this value. - TrainBudget int64 `protobuf:"varint,2,opt,name=train_budget,json=trainBudget,proto3" json:"train_budget,omitempty"` - // Output only. The actual train cost of creating this model, expressed in - // hours. If this model is created from a `base` model, the train cost used - // to create the `base` model are not included. - TrainCost int64 `protobuf:"varint,3,opt,name=train_cost,json=trainCost,proto3" json:"train_cost,omitempty"` - // Output only. The reason that this create model operation stopped, - // e.g. `BUDGET_REACHED`, `MODEL_CONVERGED`. - StopReason string `protobuf:"bytes,5,opt,name=stop_reason,json=stopReason,proto3" json:"stop_reason,omitempty"` - // Optional. Type of the model. The available values are: - // * `cloud` - Model to be used via prediction calls to AutoML API. - // This is the default value. - // * `mobile-low-latency-1` - A model that, in addition to providing - // prediction via AutoML API, can also be exported (see - // [AutoMl.ExportModel][google.cloud.automl.v1beta1.AutoMl.ExportModel]) - // and used on a mobile or edge device with TensorFlow - // afterwards. Expected to have low latency, but may have lower - // prediction quality than other models. - // * `mobile-versatile-1` - A model that, in addition to providing - // prediction via AutoML API, can also be exported (see - // [AutoMl.ExportModel][google.cloud.automl.v1beta1.AutoMl.ExportModel]) - // and used on a mobile or edge device with TensorFlow - // afterwards. - // * `mobile-high-accuracy-1` - A model that, in addition to providing - // prediction via AutoML API, can also be exported (see - // [AutoMl.ExportModel][google.cloud.automl.v1beta1.AutoMl.ExportModel]) - // and used on a mobile or edge device with TensorFlow - // afterwards. Expected to have a higher latency, but should - // also have a higher prediction quality than other models. - // * `mobile-core-ml-low-latency-1` - A model that, in addition to providing - // prediction via AutoML API, can also be exported (see - // [AutoMl.ExportModel][google.cloud.automl.v1beta1.AutoMl.ExportModel]) - // and used on a mobile device with Core ML afterwards. Expected - // to have low latency, but may have lower prediction quality - // than other models. - // * `mobile-core-ml-versatile-1` - A model that, in addition to providing - // prediction via AutoML API, can also be exported (see - // [AutoMl.ExportModel][google.cloud.automl.v1beta1.AutoMl.ExportModel]) - // and used on a mobile device with Core ML afterwards. - // * `mobile-core-ml-high-accuracy-1` - A model that, in addition to - // providing prediction via AutoML API, can also be exported - // (see - // [AutoMl.ExportModel][google.cloud.automl.v1beta1.AutoMl.ExportModel]) - // and used on a mobile device with Core ML afterwards. Expected - // to have a higher latency, but should also have a higher - // prediction quality than other models. - ModelType string `protobuf:"bytes,7,opt,name=model_type,json=modelType,proto3" json:"model_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ImageClassificationModelMetadata) Reset() { *m = ImageClassificationModelMetadata{} } -func (m *ImageClassificationModelMetadata) String() string { return proto.CompactTextString(m) } -func (*ImageClassificationModelMetadata) ProtoMessage() {} -func (*ImageClassificationModelMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_29b9f2bc900da869, []int{2} -} - -func (m *ImageClassificationModelMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageClassificationModelMetadata.Unmarshal(m, b) -} -func (m *ImageClassificationModelMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageClassificationModelMetadata.Marshal(b, m, deterministic) -} -func (m *ImageClassificationModelMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageClassificationModelMetadata.Merge(m, src) -} -func (m *ImageClassificationModelMetadata) XXX_Size() int { - return xxx_messageInfo_ImageClassificationModelMetadata.Size(m) -} -func (m *ImageClassificationModelMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_ImageClassificationModelMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageClassificationModelMetadata proto.InternalMessageInfo - -func (m *ImageClassificationModelMetadata) GetBaseModelId() string { - if m != nil { - return m.BaseModelId - } - return "" -} - -func (m *ImageClassificationModelMetadata) GetTrainBudget() int64 { - if m != nil { - return m.TrainBudget - } - return 0 -} - -func (m *ImageClassificationModelMetadata) GetTrainCost() int64 { - if m != nil { - return m.TrainCost - } - return 0 -} - -func (m *ImageClassificationModelMetadata) GetStopReason() string { - if m != nil { - return m.StopReason - } - return "" -} - -func (m *ImageClassificationModelMetadata) GetModelType() string { - if m != nil { - return m.ModelType - } - return "" -} - -// Model metadata specific to image object detection. -type ImageObjectDetectionModelMetadata struct { - // Optional. Type of the model. The available values are: - // * `cloud-high-accuracy-1` - (default) A model to be used via prediction - // calls to AutoML API. Expected to have a higher latency, but - // should also have a higher prediction quality than other - // models. - // * `cloud-low-latency-1` - A model to be used via prediction - // calls to AutoML API. Expected to have low latency, but may - // have lower prediction quality than other models. - ModelType string `protobuf:"bytes,1,opt,name=model_type,json=modelType,proto3" json:"model_type,omitempty"` - // Output only. The number of nodes this model is deployed on. A node is an - // abstraction of a machine resource, which can handle online prediction QPS - // as given in the qps_per_node field. - NodeCount int64 `protobuf:"varint,3,opt,name=node_count,json=nodeCount,proto3" json:"node_count,omitempty"` - // Output only. An approximate number of online prediction QPS that can - // be supported by this model per each node on which it is deployed. - NodeQps float64 `protobuf:"fixed64,4,opt,name=node_qps,json=nodeQps,proto3" json:"node_qps,omitempty"` - // Output only. The reason that this create model operation stopped, - // e.g. `BUDGET_REACHED`, `MODEL_CONVERGED`. - StopReason string `protobuf:"bytes,5,opt,name=stop_reason,json=stopReason,proto3" json:"stop_reason,omitempty"` - // The train budget of creating this model, expressed in milli node - // hours i.e. 1,000 value in this field means 1 node hour. The actual - // `train_cost` will be equal or less than this value. If further model - // training ceases to provide any improvements, it will stop without using - // full budget and the stop_reason will be `MODEL_CONVERGED`. - // Note, node_hour = actual_hour * number_of_nodes_invovled. - // For model type `cloud-high-accuracy-1`(default) and `cloud-low-latency-1`, - // the train budget must be between 20,000 and 2,000,000 milli node hours, - // inclusive. The default value is 216, 000 which represents one day in - // wall time. - // For model type `mobile-low-latency-1`, `mobile-versatile-1`, - // `mobile-high-accuracy-1`, `mobile-core-ml-low-latency-1`, - // `mobile-core-ml-versatile-1`, `mobile-core-ml-high-accuracy-1`, the train - // budget must be between 1,000 and 100,000 milli node hours, inclusive. - // The default value is 24, 000 which represents one day in wall time. - TrainBudgetMilliNodeHours int64 `protobuf:"varint,6,opt,name=train_budget_milli_node_hours,json=trainBudgetMilliNodeHours,proto3" json:"train_budget_milli_node_hours,omitempty"` - // Output only. The actual train cost of creating this model, expressed in - // milli node hours, i.e. 1,000 value in this field means 1 node hour. - // Guaranteed to not exceed the train budget. - TrainCostMilliNodeHours int64 `protobuf:"varint,7,opt,name=train_cost_milli_node_hours,json=trainCostMilliNodeHours,proto3" json:"train_cost_milli_node_hours,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ImageObjectDetectionModelMetadata) Reset() { *m = ImageObjectDetectionModelMetadata{} } -func (m *ImageObjectDetectionModelMetadata) String() string { return proto.CompactTextString(m) } -func (*ImageObjectDetectionModelMetadata) ProtoMessage() {} -func (*ImageObjectDetectionModelMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_29b9f2bc900da869, []int{3} -} - -func (m *ImageObjectDetectionModelMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageObjectDetectionModelMetadata.Unmarshal(m, b) -} -func (m *ImageObjectDetectionModelMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageObjectDetectionModelMetadata.Marshal(b, m, deterministic) -} -func (m *ImageObjectDetectionModelMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageObjectDetectionModelMetadata.Merge(m, src) -} -func (m *ImageObjectDetectionModelMetadata) XXX_Size() int { - return xxx_messageInfo_ImageObjectDetectionModelMetadata.Size(m) -} -func (m *ImageObjectDetectionModelMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_ImageObjectDetectionModelMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageObjectDetectionModelMetadata proto.InternalMessageInfo - -func (m *ImageObjectDetectionModelMetadata) GetModelType() string { - if m != nil { - return m.ModelType - } - return "" -} - -func (m *ImageObjectDetectionModelMetadata) GetNodeCount() int64 { - if m != nil { - return m.NodeCount - } - return 0 -} - -func (m *ImageObjectDetectionModelMetadata) GetNodeQps() float64 { - if m != nil { - return m.NodeQps - } - return 0 -} - -func (m *ImageObjectDetectionModelMetadata) GetStopReason() string { - if m != nil { - return m.StopReason - } - return "" -} - -func (m *ImageObjectDetectionModelMetadata) GetTrainBudgetMilliNodeHours() int64 { - if m != nil { - return m.TrainBudgetMilliNodeHours - } - return 0 -} - -func (m *ImageObjectDetectionModelMetadata) GetTrainCostMilliNodeHours() int64 { - if m != nil { - return m.TrainCostMilliNodeHours - } - return 0 -} - -// Model deployment metadata specific to Image Classification. -type ImageClassificationModelDeploymentMetadata struct { - // Input only. The number of nodes to deploy the model on. A node is an - // abstraction of a machine resource, which can handle online prediction QPS - // as given in the model's - // [node_qps][google.cloud.automl.v1p1beta.ImageClassificationModelMetadata.node_qps]. - // Must be between 1 and 100, inclusive on both ends. - NodeCount int64 `protobuf:"varint,1,opt,name=node_count,json=nodeCount,proto3" json:"node_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ImageClassificationModelDeploymentMetadata) Reset() { - *m = ImageClassificationModelDeploymentMetadata{} -} -func (m *ImageClassificationModelDeploymentMetadata) String() string { - return proto.CompactTextString(m) -} -func (*ImageClassificationModelDeploymentMetadata) ProtoMessage() {} -func (*ImageClassificationModelDeploymentMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_29b9f2bc900da869, []int{4} -} - -func (m *ImageClassificationModelDeploymentMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageClassificationModelDeploymentMetadata.Unmarshal(m, b) -} -func (m *ImageClassificationModelDeploymentMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageClassificationModelDeploymentMetadata.Marshal(b, m, deterministic) -} -func (m *ImageClassificationModelDeploymentMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageClassificationModelDeploymentMetadata.Merge(m, src) -} -func (m *ImageClassificationModelDeploymentMetadata) XXX_Size() int { - return xxx_messageInfo_ImageClassificationModelDeploymentMetadata.Size(m) -} -func (m *ImageClassificationModelDeploymentMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_ImageClassificationModelDeploymentMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageClassificationModelDeploymentMetadata proto.InternalMessageInfo - -func (m *ImageClassificationModelDeploymentMetadata) GetNodeCount() int64 { - if m != nil { - return m.NodeCount - } - return 0 -} - -// Model deployment metadata specific to Image Object Detection. -type ImageObjectDetectionModelDeploymentMetadata struct { - // Input only. The number of nodes to deploy the model on. A node is an - // abstraction of a machine resource, which can handle online prediction QPS - // as given in the model's - // - // [qps_per_node][google.cloud.automl.v1beta1.ImageObjectDetectionModelMetadata.qps_per_node]. - // Must be between 1 and 100, inclusive on both ends. - NodeCount int64 `protobuf:"varint,1,opt,name=node_count,json=nodeCount,proto3" json:"node_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ImageObjectDetectionModelDeploymentMetadata) Reset() { - *m = ImageObjectDetectionModelDeploymentMetadata{} -} -func (m *ImageObjectDetectionModelDeploymentMetadata) String() string { - return proto.CompactTextString(m) -} -func (*ImageObjectDetectionModelDeploymentMetadata) ProtoMessage() {} -func (*ImageObjectDetectionModelDeploymentMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_29b9f2bc900da869, []int{5} -} - -func (m *ImageObjectDetectionModelDeploymentMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageObjectDetectionModelDeploymentMetadata.Unmarshal(m, b) -} -func (m *ImageObjectDetectionModelDeploymentMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageObjectDetectionModelDeploymentMetadata.Marshal(b, m, deterministic) -} -func (m *ImageObjectDetectionModelDeploymentMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageObjectDetectionModelDeploymentMetadata.Merge(m, src) -} -func (m *ImageObjectDetectionModelDeploymentMetadata) XXX_Size() int { - return xxx_messageInfo_ImageObjectDetectionModelDeploymentMetadata.Size(m) -} -func (m *ImageObjectDetectionModelDeploymentMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_ImageObjectDetectionModelDeploymentMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageObjectDetectionModelDeploymentMetadata proto.InternalMessageInfo - -func (m *ImageObjectDetectionModelDeploymentMetadata) GetNodeCount() int64 { - if m != nil { - return m.NodeCount - } - return 0 -} - -func init() { - proto.RegisterType((*ImageClassificationDatasetMetadata)(nil), "google.cloud.automl.v1beta1.ImageClassificationDatasetMetadata") - proto.RegisterType((*ImageObjectDetectionDatasetMetadata)(nil), "google.cloud.automl.v1beta1.ImageObjectDetectionDatasetMetadata") - proto.RegisterType((*ImageClassificationModelMetadata)(nil), "google.cloud.automl.v1beta1.ImageClassificationModelMetadata") - proto.RegisterType((*ImageObjectDetectionModelMetadata)(nil), "google.cloud.automl.v1beta1.ImageObjectDetectionModelMetadata") - proto.RegisterType((*ImageClassificationModelDeploymentMetadata)(nil), "google.cloud.automl.v1beta1.ImageClassificationModelDeploymentMetadata") - proto.RegisterType((*ImageObjectDetectionModelDeploymentMetadata)(nil), "google.cloud.automl.v1beta1.ImageObjectDetectionModelDeploymentMetadata") -} - -func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/image.proto", fileDescriptor_29b9f2bc900da869) -} - -var fileDescriptor_29b9f2bc900da869 = []byte{ - // 552 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0xd1, 0x6e, 0xd3, 0x30, - 0x14, 0x86, 0xe5, 0x0e, 0x36, 0xea, 0x02, 0x17, 0xe1, 0x82, 0x6c, 0x65, 0xb4, 0x0b, 0x42, 0x54, - 0x20, 0x25, 0x14, 0xee, 0x02, 0x17, 0xac, 0xad, 0x04, 0x13, 0x2b, 0x8c, 0x0a, 0x71, 0x81, 0x2a, - 0x05, 0x27, 0xf1, 0x82, 0x51, 0x92, 0x63, 0x62, 0x07, 0xa9, 0x2f, 0xc0, 0x5b, 0xf0, 0x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f6, 0x32, 0xd1, 0xa6, 0xdb, 0x79, 0x4d, - 0x1f, 0x5e, 0xf6, 0xa5, 0x27, 0x5c, 0xa6, 0xb0, 0xc8, 0x78, 0xae, 0x57, 0x73, 0x5a, 0x09, 0x82, - 0x9c, 0x0b, 0xc2, 0x39, 0xa6, 0x8f, 0x2e, 0xcd, 0xfa, 0xbf, 0xbb, 0x8d, 0x7e, 0x12, 0xda, 0x8b, - 0x20, 0xdb, 0xf4, 0xdf, 0x8f, 0x28, 0xce, 0x3b, 0x31, 0xaf, 0xec, 0x84, 0x7c, 0x3c, 0xac, 0xd1, - 0x04, 0x52, 0x96, 0x27, 0x2e, 0x14, 0x89, 0x97, 0xf0, 0x1c, 0xdf, 0xa0, 0x57, 0x95, 0x98, 0x14, - 0x6a, 0xed, 0xcb, 0x7e, 0x56, 0x1d, 0x7f, 0xb7, 0xba, 0x2f, 0x11, 0x9c, 0x8f, 0x0d, 0x34, 0x3f, - 0x2c, 0x35, 0x4c, 0xd3, 0xf9, 0x87, 0x0a, 0xfa, 0xd3, 0xba, 0x5b, 0x55, 0x7d, 0x1f, 0xcb, 0xbe, - 0x8f, 0xf5, 0x63, 0xdf, 0xaf, 0x81, 0x70, 0x1b, 0x87, 0x3d, 0xfd, 0x1b, 0x00, 0x00, 0xff, 0xff, - 0x71, 0xdd, 0xe9, 0x83, 0xdc, 0x04, 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 deleted file mode 100644 index 286d4db8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/io.pb.go +++ /dev/null @@ -1,1816 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1beta1/io.proto - -package automl - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Input configuration for ImportData Action. -// -// The format of input depends on dataset_metadata the Dataset into which -// the import is happening has. As input source the -// [gcs_source][google.cloud.automl.v1beta1.InputConfig.gcs_source] -// is expected, unless specified otherwise. Additionally any input .CSV file -// by itself must be 100MB or smaller, unless specified otherwise. -// If an "example" file (that is, image, video etc.) with identical content -// (even if it had different GCS_FILE_PATH) is mentioned multiple times, then -// its label, bounding boxes etc. are appended. The same file should be always -// provided with the same ML_USE and GCS_FILE_PATH, if it is not, then -// these values are nondeterministically selected from the given ones. -// -// The formats are represented in EBNF with commas being literal and with -// non-terminal symbols defined near the end of this comment. The formats are: -// -// * For Image Classification: -// CSV file(s) with each line in format: -// ML_USE,GCS_FILE_PATH,LABEL,LABEL,... -// GCS_FILE_PATH leads to image of up to 30MB in size. Supported -// extensions: .JPEG, .GIF, .PNG, .WEBP, .BMP, .TIFF, .ICO -// For MULTICLASS classification type, at most one LABEL is allowed -// per image. If an image has not yet been labeled, then it should be -// mentioned just once with no LABEL. -// Some sample rows: -// TRAIN,gs://folder/image1.jpg,daisy -// TEST,gs://folder/image2.jpg,dandelion,tulip,rose -// UNASSIGNED,gs://folder/image3.jpg,daisy -// UNASSIGNED,gs://folder/image4.jpg -// -// * For Image Object Detection: -// CSV file(s) with each line in format: -// ML_USE,GCS_FILE_PATH,(LABEL,BOUNDING_BOX | ,,,,,,,) -// GCS_FILE_PATH leads to image of up to 30MB in size. Supported -// extensions: .JPEG, .GIF, .PNG. -// Each image is assumed to be exhaustively labeled. The minimum -// allowed BOUNDING_BOX edge length is 0.01, and no more than 500 -// BOUNDING_BOX-es per image are allowed (one BOUNDING_BOX is defined -// per line). If an image has not yet been labeled, then it should be -// mentioned just once with no LABEL and the ",,,,,,," in place of the -// BOUNDING_BOX. For images which are known to not contain any -// bounding boxes, they should be labelled explictly as -// "NEGATIVE_IMAGE", followed by ",,,,,,," in place of the -// BOUNDING_BOX. -// Sample rows: -// TRAIN,gs://folder/image1.png,car,0.1,0.1,,,0.3,0.3,, -// TRAIN,gs://folder/image1.png,bike,.7,.6,,,.8,.9,, -// UNASSIGNED,gs://folder/im2.png,car,0.1,0.1,0.2,0.1,0.2,0.3,0.1,0.3 -// TEST,gs://folder/im3.png,,,,,,,,, -// TRAIN,gs://folder/im4.png,NEGATIVE_IMAGE,,,,,,,,, -// -// * For Video Classification: -// CSV file(s) with each line in format: -// ML_USE,GCS_FILE_PATH -// where ML_USE VALIDATE value should not be used. The GCS_FILE_PATH -// should lead to another .csv file which describes examples that have -// given ML_USE, using the following row format: -// GCS_FILE_PATH,(LABEL,TIME_SEGMENT_START,TIME_SEGMENT_END | ,,) -// Here GCS_FILE_PATH leads to a video of up to 50GB in size and up -// to 3h duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI. -// TIME_SEGMENT_START and TIME_SEGMENT_END must be within the -// length of the video, and end has to be after the start. Any segment -// of a video which has one or more labels on it, is considered a -// hard negative for all other labels. Any segment with no labels on -// it is considered to be unknown. If a whole video is unknown, then -// it shuold be mentioned just once with ",," in place of LABEL, -// TIME_SEGMENT_START,TIME_SEGMENT_END. -// Sample top level CSV file: -// TRAIN,gs://folder/train_videos.csv -// TEST,gs://folder/test_videos.csv -// UNASSIGNED,gs://folder/other_videos.csv -// Sample rows of a CSV file for a particular ML_USE: -// gs://folder/video1.avi,car,120,180.000021 -// gs://folder/video1.avi,bike,150,180.000021 -// gs://folder/vid2.avi,car,0,60.5 -// gs://folder/vid3.avi,,, -// -// * For Video Object Tracking: -// CSV file(s) with each line in format: -// ML_USE,GCS_FILE_PATH -// where ML_USE VALIDATE value should not be used. The GCS_FILE_PATH -// should lead to another .csv file which describes examples that have -// given ML_USE, using one of the following row format: -// GCS_FILE_PATH,LABEL,[INSTANCE_ID],TIMESTAMP,BOUNDING_BOX -// or -// GCS_FILE_PATH,,,,,,,,,, -// Here GCS_FILE_PATH leads to a video of up to 50GB in size and up -// to 3h duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI. -// Providing INSTANCE_IDs can help to obtain a better model. When -// a specific labeled entity leaves the video frame, and shows up -// afterwards it is not required, albeit preferable, that the same -// INSTANCE_ID is given to it. -// TIMESTAMP must be within the length of the video, the -// BOUNDING_BOX is assumed to be drawn on the closest video's frame -// to the TIMESTAMP. Any mentioned by the TIMESTAMP frame is expected -// to be exhaustively labeled and no more than 500 BOUNDING_BOX-es per -// frame are allowed. If a whole video is unknown, then it should be -// mentioned just once with ",,,,,,,,,," in place of LABEL, -// [INSTANCE_ID],TIMESTAMP,BOUNDING_BOX. -// Sample top level CSV file: -// TRAIN,gs://folder/train_videos.csv -// TEST,gs://folder/test_videos.csv -// UNASSIGNED,gs://folder/other_videos.csv -// Seven sample rows of a CSV file for a particular ML_USE: -// gs://folder/video1.avi,car,1,12.10,0.8,0.8,0.9,0.8,0.9,0.9,0.8,0.9 -// gs://folder/video1.avi,car,1,12.90,0.4,0.8,0.5,0.8,0.5,0.9,0.4,0.9 -// gs://folder/video1.avi,car,2,12.10,.4,.2,.5,.2,.5,.3,.4,.3 -// gs://folder/video1.avi,car,2,12.90,.8,.2,,,.9,.3,, -// gs://folder/video1.avi,bike,,12.50,.45,.45,,,.55,.55,, -// gs://folder/video2.avi,car,1,0,.1,.9,,,.9,.1,, -// gs://folder/video2.avi,,,,,,,,,,, -// * For Text Extraction: -// CSV file(s) with each line in format: -// ML_USE,GCS_FILE_PATH -// GCS_FILE_PATH leads to a .JSONL (that is, JSON Lines) file which -// either imports text in-line or as documents. Any given -// .JSONL file must be 100MB or smaller. -// The in-line .JSONL file contains, per line, a proto that wraps a -// TextSnippet proto (in json representation) followed by one or more -// AnnotationPayload protos (called annotations), which have -// display_name and text_extraction detail populated. The given text -// is expected to be annotated exhaustively, for example, if you look -// for animals and text contains "dolphin" that is not labeled, then -// "dolphin" is assumed to not be an animal. Any given text snippet -// content must be 10KB or smaller, and also be UTF-8 NFC encoded -// (ASCII already is). -// The document .JSONL file contains, per line, a proto that wraps a -// Document proto. The Document proto must have either document_text -// or input_config set. In document_text case, the Document proto may -// also contain the spatial information of the document, including -// layout, document dimension and page number. In input_config case, -// only PDF documents are supported now, and each document may be up -// to 2MB large. Currently, annotations on documents cannot be -// specified at import. -// Three sample CSV rows: -// TRAIN,gs://folder/file1.jsonl -// VALIDATE,gs://folder/file2.jsonl -// TEST,gs://folder/file3.jsonl -// Sample in-line JSON Lines file for entity extraction (presented here -// with artificial line breaks, but the only actual line break is -// denoted by \n).: -// { -// "document": { -// "document_text": {"content": "dog cat"} -// "layout": [ -// { -// "text_segment": { -// "start_offset": 0, -// "end_offset": 3, -// }, -// "page_number": 1, -// "bounding_poly": { -// "normalized_vertices": [ -// {"x": 0.1, "y": 0.1}, -// {"x": 0.1, "y": 0.3}, -// {"x": 0.3, "y": 0.3}, -// {"x": 0.3, "y": 0.1}, -// ], -// }, -// "text_segment_type": TOKEN, -// }, -// { -// "text_segment": { -// "start_offset": 4, -// "end_offset": 7, -// }, -// "page_number": 1, -// "bounding_poly": { -// "normalized_vertices": [ -// {"x": 0.4, "y": 0.1}, -// {"x": 0.4, "y": 0.3}, -// {"x": 0.8, "y": 0.3}, -// {"x": 0.8, "y": 0.1}, -// ], -// }, -// "text_segment_type": TOKEN, -// } -// -// ], -// "document_dimensions": { -// "width": 8.27, -// "height": 11.69, -// "unit": INCH, -// } -// "page_count": 1, -// }, -// "annotations": [ -// { -// "display_name": "animal", -// "text_extraction": {"text_segment": {"start_offset": 0, -// "end_offset": 3}} -// }, -// { -// "display_name": "animal", -// "text_extraction": {"text_segment": {"start_offset": 4, -// "end_offset": 7}} -// } -// ], -// }\n -// { -// "text_snippet": { -// "content": "This dog is good." -// }, -// "annotations": [ -// { -// "display_name": "animal", -// "text_extraction": { -// "text_segment": {"start_offset": 5, "end_offset": 8} -// } -// } -// ] -// } -// Sample document JSON Lines file (presented here with artificial line -// breaks, but the only actual line break is denoted by \n).: -// { -// "document": { -// "input_config": { -// "gcs_source": { "input_uris": [ "gs://folder/document1.pdf" ] -// } -// } -// } -// }\n -// { -// "document": { -// "input_config": { -// "gcs_source": { "input_uris": [ "gs://folder/document2.pdf" ] -// } -// } -// } -// } -// -// * For Text Classification: -// CSV file(s) with each line in format: -// ML_USE,(TEXT_SNIPPET | GCS_FILE_PATH),LABEL,LABEL,... -// TEXT_SNIPPET and GCS_FILE_PATH are distinguished by a pattern. If -// the column content is a valid gcs file path, i.e. prefixed by -// "gs://", it will be treated as a GCS_FILE_PATH, else if the content -// is enclosed within double quotes (""), it is -// treated as a TEXT_SNIPPET. In the GCS_FILE_PATH case, the path -// must lead to a .txt file with UTF-8 encoding, for example, -// "gs://folder/content.txt", and the content in it is extracted -// as a text snippet. In TEXT_SNIPPET case, the column content -// excluding quotes is treated as to be imported text snippet. In -// both cases, the text snippet/file size must be within 128kB. -// Maximum 100 unique labels are allowed per CSV row. -// Sample rows: -// TRAIN,"They have bad food and very rude",RudeService,BadFood -// TRAIN,gs://folder/content.txt,SlowService -// TEST,"Typically always bad service there.",RudeService -// VALIDATE,"Stomach ache to go.",BadFood -// -// * For Text Sentiment: -// CSV file(s) with each line in format: -// ML_USE,(TEXT_SNIPPET | GCS_FILE_PATH),SENTIMENT -// TEXT_SNIPPET and GCS_FILE_PATH are distinguished by a pattern. If -// the column content is a valid gcs file path, that is, prefixed by -// "gs://", it is treated as a GCS_FILE_PATH, otherwise it is treated -// as a TEXT_SNIPPET. In the GCS_FILE_PATH case, the path -// must lead to a .txt file with UTF-8 encoding, for example, -// "gs://folder/content.txt", and the content in it is extracted -// as a text snippet. In TEXT_SNIPPET case, the column content itself -// is treated as to be imported text snippet. In both cases, the -// text snippet must be up to 500 characters long. -// Sample rows: -// TRAIN,"@freewrytin this is way too good for your product",2 -// TRAIN,"I need this product so bad",3 -// TEST,"Thank you for this product.",4 -// VALIDATE,gs://folder/content.txt,2 -// -// * For Tables: -// Either -// [gcs_source][google.cloud.automl.v1beta1.InputConfig.gcs_source] or -// -// [bigquery_source][google.cloud.automl.v1beta1.InputConfig.bigquery_source] -// can be used. All inputs is concatenated into a single -// -// [primary_table][google.cloud.automl.v1beta1.TablesDatasetMetadata.primary_table_name] -// For gcs_source: -// CSV file(s), where the first row of the first file is the header, -// containing unique column names. If the first row of a subsequent -// file is the same as the header, then it is also treated as a -// header. All other rows contain values for the corresponding -// columns. -// Each .CSV file by itself must be 10GB or smaller, and their total -// size must be 100GB or smaller. -// First three sample rows of a CSV file: -// "Id","First Name","Last Name","Dob","Addresses" -// -// "1","John","Doe","1968-01-22","[{"status":"current","address":"123_First_Avenue","city":"Seattle","state":"WA","zip":"11111","numberOfYears":"1"},{"status":"previous","address":"456_Main_Street","city":"Portland","state":"OR","zip":"22222","numberOfYears":"5"}]" -// -// "2","Jane","Doe","1980-10-16","[{"status":"current","address":"789_Any_Avenue","city":"Albany","state":"NY","zip":"33333","numberOfYears":"2"},{"status":"previous","address":"321_Main_Street","city":"Hoboken","state":"NJ","zip":"44444","numberOfYears":"3"}]} -// For bigquery_source: -// An URI of a BigQuery table. The user data size of the BigQuery -// table must be 100GB or smaller. -// An imported table must have between 2 and 1,000 columns, inclusive, -// and between 1000 and 100,000,000 rows, inclusive. There are at most 5 -// import data running in parallel. -// Definitions: -// ML_USE = "TRAIN" | "VALIDATE" | "TEST" | "UNASSIGNED" -// Describes how the given example (file) should be used for model -// training. "UNASSIGNED" can be used when user has no preference. -// GCS_FILE_PATH = A path to file on GCS, e.g. "gs://folder/image1.png". -// LABEL = A display name of an object on an image, video etc., e.g. "dog". -// Must be up to 32 characters long and can consist only of ASCII -// Latin letters A-Z and a-z, underscores(_), and ASCII digits 0-9. -// For each label an AnnotationSpec is created which display_name -// becomes the label; AnnotationSpecs are given back in predictions. -// INSTANCE_ID = A positive integer that identifies a specific instance of a -// labeled entity on an example. Used e.g. to track two cars on -// a video while being able to tell apart which one is which. -// BOUNDING_BOX = VERTEX,VERTEX,VERTEX,VERTEX | VERTEX,,,VERTEX,, -// A rectangle parallel to the frame of the example (image, -// video). If 4 vertices are given they are connected by edges -// in the order provided, if 2 are given they are recognized -// as diagonally opposite vertices of the rectangle. -// VERTEX = COORDINATE,COORDINATE -// First coordinate is horizontal (x), the second is vertical (y). -// COORDINATE = A float in 0 to 1 range, relative to total length of -// image or video in given dimension. For fractions the -// leading non-decimal 0 can be omitted (i.e. 0.3 = .3). -// Point 0,0 is in top left. -// TIME_SEGMENT_START = TIME_OFFSET -// Expresses a beginning, inclusive, of a time segment -// within an example that has a time dimension -// (e.g. video). -// TIME_SEGMENT_END = TIME_OFFSET -// Expresses an end, exclusive, of a time segment within -// an example that has a time dimension (e.g. video). -// TIME_OFFSET = A number of seconds as measured from the start of an -// example (e.g. video). Fractions are allowed, up to a -// microsecond precision. "inf" is allowed, and it means the end -// of the example. -// TEXT_SNIPPET = A content of a text snippet, UTF-8 encoded, enclosed within -// double quotes (""). -// SENTIMENT = An integer between 0 and -// Dataset.text_sentiment_dataset_metadata.sentiment_max -// (inclusive). Describes the ordinal of the sentiment - higher -// value means a more positive sentiment. All the values are -// completely relative, i.e. neither 0 needs to mean a negative or -// neutral sentiment nor sentiment_max needs to mean a positive one -// - it is just required that 0 is the least positive sentiment -// in the data, and sentiment_max is the most positive one. -// The SENTIMENT shouldn't be confused with "score" or "magnitude" -// from the previous Natural Language Sentiment Analysis API. -// All SENTIMENT values between 0 and sentiment_max must be -// represented in the imported data. On prediction the same 0 to -// sentiment_max range will be used. The difference between -// neighboring sentiment values needs not to be uniform, e.g. 1 and -// 2 may be similar whereas the difference between 2 and 3 may be -// huge. -// -// Errors: -// If any of the provided CSV files can't be parsed or if more than certain -// percent of CSV rows cannot be processed then the operation fails and -// nothing is imported. Regardless of overall success or failure the per-row -// failures, up to a certain count cap, is listed in -// Operation.metadata.partial_failures. -// -type InputConfig struct { - // The source of the input. - // - // Types that are valid to be assigned to Source: - // *InputConfig_GcsSource - // *InputConfig_BigquerySource - Source isInputConfig_Source `protobuf_oneof:"source"` - // Additional domain-specific parameters describing the semantic of the - // imported data, any string must be up to 25000 - // characters long. - // - // * For Tables: - // `schema_inference_version` - (integer) Required. The version of the - // algorithm that should be used for the initial inference of the - // schema (columns' DataTypes) of the table the data is being imported - // into. Allowed values: "1". - Params map[string]string `protobuf:"bytes,2,rep,name=params,proto3" json:"params,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 *InputConfig) Reset() { *m = InputConfig{} } -func (m *InputConfig) String() string { return proto.CompactTextString(m) } -func (*InputConfig) ProtoMessage() {} -func (*InputConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_6e2d768504aa30d7, []int{0} -} - -func (m *InputConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InputConfig.Unmarshal(m, b) -} -func (m *InputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InputConfig.Marshal(b, m, deterministic) -} -func (m *InputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_InputConfig.Merge(m, src) -} -func (m *InputConfig) XXX_Size() int { - return xxx_messageInfo_InputConfig.Size(m) -} -func (m *InputConfig) XXX_DiscardUnknown() { - xxx_messageInfo_InputConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_InputConfig proto.InternalMessageInfo - -type isInputConfig_Source interface { - isInputConfig_Source() -} - -type InputConfig_GcsSource struct { - GcsSource *GcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3,oneof"` -} - -type InputConfig_BigquerySource struct { - BigquerySource *BigQuerySource `protobuf:"bytes,3,opt,name=bigquery_source,json=bigquerySource,proto3,oneof"` -} - -func (*InputConfig_GcsSource) isInputConfig_Source() {} - -func (*InputConfig_BigquerySource) isInputConfig_Source() {} - -func (m *InputConfig) GetSource() isInputConfig_Source { - if m != nil { - return m.Source - } - return nil -} - -func (m *InputConfig) GetGcsSource() *GcsSource { - if x, ok := m.GetSource().(*InputConfig_GcsSource); ok { - return x.GcsSource - } - return nil -} - -func (m *InputConfig) GetBigquerySource() *BigQuerySource { - if x, ok := m.GetSource().(*InputConfig_BigquerySource); ok { - return x.BigquerySource - } - return nil -} - -func (m *InputConfig) GetParams() map[string]string { - if m != nil { - return m.Params - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*InputConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*InputConfig_GcsSource)(nil), - (*InputConfig_BigquerySource)(nil), - } -} - -// Input configuration for BatchPredict Action. -// -// The format of input depends on the ML problem of the model used for -// prediction. As input source the -// [gcs_source][google.cloud.automl.v1beta1.InputConfig.gcs_source] -// is expected, unless specified otherwise. -// -// The formats are represented in EBNF with commas being literal and with -// non-terminal symbols defined near the end of this comment. The formats -// are: -// -// * For Image Classification: -// CSV file(s) with each line having just a single column: -// GCS_FILE_PATH -// which leads to image of up to 30MB in size. Supported -// extensions: .JPEG, .GIF, .PNG. This path is treated as the ID in -// the Batch predict output. -// Three sample rows: -// gs://folder/image1.jpeg -// gs://folder/image2.gif -// gs://folder/image3.png -// -// * For Image Object Detection: -// CSV file(s) with each line having just a single column: -// GCS_FILE_PATH -// which leads to image of up to 30MB in size. Supported -// extensions: .JPEG, .GIF, .PNG. This path is treated as the ID in -// the Batch predict output. -// Three sample rows: -// gs://folder/image1.jpeg -// gs://folder/image2.gif -// gs://folder/image3.png -// * For Video Classification: -// CSV file(s) with each line in format: -// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END -// GCS_FILE_PATH leads to video of up to 50GB in size and up to 3h -// duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI. -// TIME_SEGMENT_START and TIME_SEGMENT_END must be within the -// length of the video, and end has to be after the start. -// Three sample rows: -// gs://folder/video1.mp4,10,40 -// gs://folder/video1.mp4,20,60 -// gs://folder/vid2.mov,0,inf -// -// * For Video Object Tracking: -// CSV file(s) with each line in format: -// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END -// GCS_FILE_PATH leads to video of up to 50GB in size and up to 3h -// duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI. -// TIME_SEGMENT_START and TIME_SEGMENT_END must be within the -// length of the video, and end has to be after the start. -// Three sample rows: -// gs://folder/video1.mp4,10,240 -// gs://folder/video1.mp4,300,360 -// gs://folder/vid2.mov,0,inf -// * For Text Classification: -// CSV file(s) with each line having just a single column: -// GCS_FILE_PATH | TEXT_SNIPPET -// Any given text file can have size upto 128kB. -// Any given text snippet content must have 60,000 characters or less. -// Three sample rows: -// gs://folder/text1.txt -// "Some text content to predict" -// gs://folder/text3.pdf -// Supported file extensions: .txt, .pdf -// -// * For Text Sentiment: -// CSV file(s) with each line having just a single column: -// GCS_FILE_PATH | TEXT_SNIPPET -// Any given text file can have size upto 128kB. -// Any given text snippet content must have 500 characters or less. -// Three sample rows: -// gs://folder/text1.txt -// "Some text content to predict" -// gs://folder/text3.pdf -// Supported file extensions: .txt, .pdf -// -// * For Text Extraction -// .JSONL (i.e. JSON Lines) file(s) which either provide text in-line or -// as documents (for a single BatchPredict call only one of the these -// formats may be used). -// The in-line .JSONL file(s) contain per line a proto that -// wraps a temporary user-assigned TextSnippet ID (string up to 2000 -// characters long) called "id", a TextSnippet proto (in -// json representation) and zero or more TextFeature protos. Any given -// text snippet content must have 30,000 characters or less, and also -// be UTF-8 NFC encoded (ASCII already is). The IDs provided should be -// unique. -// The document .JSONL file(s) contain, per line, a proto that wraps a -// Document proto with input_config set. Only PDF documents are -// supported now, and each document must be up to 2MB large. -// Any given .JSONL file must be 100MB or smaller, and no more than 20 -// files may be given. -// Sample in-line JSON Lines file (presented here with artificial line -// breaks, but the only actual line break is denoted by \n): -// { -// "id": "my_first_id", -// "text_snippet": { "content": "dog car cat"}, -// "text_features": [ -// { -// "text_segment": {"start_offset": 4, "end_offset": 6}, -// "structural_type": PARAGRAPH, -// "bounding_poly": { -// "normalized_vertices": [ -// {"x": 0.1, "y": 0.1}, -// {"x": 0.1, "y": 0.3}, -// {"x": 0.3, "y": 0.3}, -// {"x": 0.3, "y": 0.1}, -// ] -// }, -// } -// ], -// }\n -// { -// "id": "2", -// "text_snippet": { -// "content": "An elaborate content", -// "mime_type": "text/plain" -// } -// } -// Sample document JSON Lines file (presented here with artificial line -// breaks, but the only actual line break is denoted by \n).: -// { -// "document": { -// "input_config": { -// "gcs_source": { "input_uris": [ "gs://folder/document1.pdf" ] -// } -// } -// } -// }\n -// { -// "document": { -// "input_config": { -// "gcs_source": { "input_uris": [ "gs://folder/document2.pdf" ] -// } -// } -// } -// } -// -// * For Tables: -// Either -// [gcs_source][google.cloud.automl.v1beta1.InputConfig.gcs_source] or -// -// [bigquery_source][google.cloud.automl.v1beta1.InputConfig.bigquery_source]. -// GCS case: -// CSV file(s), each by itself 10GB or smaller and total size must be -// 100GB or smaller, where first file must have a header containing -// column names. If the first row of a subsequent file is the same as -// the header, then it is also treated as a header. All other rows -// contain values for the corresponding columns. -// The column names must contain the model's -// -// [input_feature_column_specs'][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] -// -// [display_name-s][google.cloud.automl.v1beta1.ColumnSpec.display_name] -// (order doesn't matter). The columns corresponding to the model's -// input feature column specs must contain values compatible with the -// column spec's data types. Prediction on all the rows, i.e. the CSV -// lines, will be attempted. For FORECASTING -// -// [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]: -// all columns having -// -// [TIME_SERIES_AVAILABLE_PAST_ONLY][google.cloud.automl.v1beta1.ColumnSpec.ForecastingMetadata.ColumnType] -// type will be ignored. -// First three sample rows of a CSV file: -// "First Name","Last Name","Dob","Addresses" -// -// "John","Doe","1968-01-22","[{"status":"current","address":"123_First_Avenue","city":"Seattle","state":"WA","zip":"11111","numberOfYears":"1"},{"status":"previous","address":"456_Main_Street","city":"Portland","state":"OR","zip":"22222","numberOfYears":"5"}]" -// -// "Jane","Doe","1980-10-16","[{"status":"current","address":"789_Any_Avenue","city":"Albany","state":"NY","zip":"33333","numberOfYears":"2"},{"status":"previous","address":"321_Main_Street","city":"Hoboken","state":"NJ","zip":"44444","numberOfYears":"3"}]} -// BigQuery case: -// An URI of a BigQuery table. The user data size of the BigQuery -// table must be 100GB or smaller. -// The column names must contain the model's -// -// [input_feature_column_specs'][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] -// -// [display_name-s][google.cloud.automl.v1beta1.ColumnSpec.display_name] -// (order doesn't matter). The columns corresponding to the model's -// input feature column specs must contain values compatible with the -// column spec's data types. Prediction on all the rows of the table -// will be attempted. For FORECASTING -// -// [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]: -// all columns having -// -// [TIME_SERIES_AVAILABLE_PAST_ONLY][google.cloud.automl.v1beta1.ColumnSpec.ForecastingMetadata.ColumnType] -// type will be ignored. -// -// Definitions: -// GCS_FILE_PATH = A path to file on GCS, e.g. "gs://folder/video.avi". -// TEXT_SNIPPET = A content of a text snippet, UTF-8 encoded, enclosed within -// double quotes ("") -// TIME_SEGMENT_START = TIME_OFFSET -// Expresses a beginning, inclusive, of a time segment -// within an -// example that has a time dimension (e.g. video). -// TIME_SEGMENT_END = TIME_OFFSET -// Expresses an end, exclusive, of a time segment within -// an example that has a time dimension (e.g. video). -// TIME_OFFSET = A number of seconds as measured from the start of an -// example (e.g. video). Fractions are allowed, up to a -// microsecond precision. "inf" is allowed and it means the end -// of the example. -// -// Errors: -// If any of the provided CSV files can't be parsed or if more than certain -// percent of CSV rows cannot be processed then the operation fails and -// prediction does not happen. Regardless of overall success or failure the -// per-row failures, up to a certain count cap, will be listed in -// Operation.metadata.partial_failures. -type BatchPredictInputConfig struct { - // Required. The source of the input. - // - // Types that are valid to be assigned to Source: - // *BatchPredictInputConfig_GcsSource - // *BatchPredictInputConfig_BigquerySource - Source isBatchPredictInputConfig_Source `protobuf_oneof:"source"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchPredictInputConfig) Reset() { *m = BatchPredictInputConfig{} } -func (m *BatchPredictInputConfig) String() string { return proto.CompactTextString(m) } -func (*BatchPredictInputConfig) ProtoMessage() {} -func (*BatchPredictInputConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_6e2d768504aa30d7, []int{1} -} - -func (m *BatchPredictInputConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchPredictInputConfig.Unmarshal(m, b) -} -func (m *BatchPredictInputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchPredictInputConfig.Marshal(b, m, deterministic) -} -func (m *BatchPredictInputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchPredictInputConfig.Merge(m, src) -} -func (m *BatchPredictInputConfig) XXX_Size() int { - return xxx_messageInfo_BatchPredictInputConfig.Size(m) -} -func (m *BatchPredictInputConfig) XXX_DiscardUnknown() { - xxx_messageInfo_BatchPredictInputConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchPredictInputConfig proto.InternalMessageInfo - -type isBatchPredictInputConfig_Source interface { - isBatchPredictInputConfig_Source() -} - -type BatchPredictInputConfig_GcsSource struct { - GcsSource *GcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3,oneof"` -} - -type BatchPredictInputConfig_BigquerySource struct { - BigquerySource *BigQuerySource `protobuf:"bytes,2,opt,name=bigquery_source,json=bigquerySource,proto3,oneof"` -} - -func (*BatchPredictInputConfig_GcsSource) isBatchPredictInputConfig_Source() {} - -func (*BatchPredictInputConfig_BigquerySource) isBatchPredictInputConfig_Source() {} - -func (m *BatchPredictInputConfig) GetSource() isBatchPredictInputConfig_Source { - if m != nil { - return m.Source - } - return nil -} - -func (m *BatchPredictInputConfig) GetGcsSource() *GcsSource { - if x, ok := m.GetSource().(*BatchPredictInputConfig_GcsSource); ok { - return x.GcsSource - } - return nil -} - -func (m *BatchPredictInputConfig) GetBigquerySource() *BigQuerySource { - if x, ok := m.GetSource().(*BatchPredictInputConfig_BigquerySource); ok { - return x.BigquerySource - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*BatchPredictInputConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*BatchPredictInputConfig_GcsSource)(nil), - (*BatchPredictInputConfig_BigquerySource)(nil), - } -} - -// Input configuration of a [Document][google.cloud.automl.v1beta1.Document]. -type DocumentInputConfig struct { - // The Google Cloud Storage location of the document file. Only a single path - // should be given. - // Max supported size: 512MB. - // Supported extensions: .PDF. - GcsSource *GcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3" json:"gcs_source,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DocumentInputConfig) Reset() { *m = DocumentInputConfig{} } -func (m *DocumentInputConfig) String() string { return proto.CompactTextString(m) } -func (*DocumentInputConfig) ProtoMessage() {} -func (*DocumentInputConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_6e2d768504aa30d7, []int{2} -} - -func (m *DocumentInputConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DocumentInputConfig.Unmarshal(m, b) -} -func (m *DocumentInputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DocumentInputConfig.Marshal(b, m, deterministic) -} -func (m *DocumentInputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_DocumentInputConfig.Merge(m, src) -} -func (m *DocumentInputConfig) XXX_Size() int { - return xxx_messageInfo_DocumentInputConfig.Size(m) -} -func (m *DocumentInputConfig) XXX_DiscardUnknown() { - xxx_messageInfo_DocumentInputConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_DocumentInputConfig proto.InternalMessageInfo - -func (m *DocumentInputConfig) GetGcsSource() *GcsSource { - if m != nil { - return m.GcsSource - } - return nil -} - -// * For Translation: -// CSV file `translation.csv`, with each line in format: -// ML_USE,GCS_FILE_PATH -// GCS_FILE_PATH leads to a .TSV file which describes examples that have -// given ML_USE, using the following row format per line: -// TEXT_SNIPPET (in source language) \t TEXT_SNIPPET (in target -// language) -// -// * For Tables: -// Output depends on whether the dataset was imported from GCS or -// BigQuery. -// GCS case: -// -// [gcs_destination][google.cloud.automl.v1beta1.OutputConfig.gcs_destination] -// must be set. Exported are CSV file(s) `tables_1.csv`, -// `tables_2.csv`,...,`tables_N.csv` with each having as header line -// the table's column names, and all other lines contain values for -// the header columns. -// BigQuery case: -// -// [bigquery_destination][google.cloud.automl.v1beta1.OutputConfig.bigquery_destination] -// pointing to a BigQuery project must be set. In the given project a -// new dataset will be created with name -// -// `export_data__` -// where will be made -// BigQuery-dataset-name compatible (e.g. most special characters will -// become underscores), and timestamp will be in -// YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In that -// dataset a new table called `primary_table` will be created, and -// filled with precisely the same data as this obtained on import. -type OutputConfig struct { - // Required. The destination of the output. - // - // Types that are valid to be assigned to Destination: - // *OutputConfig_GcsDestination - // *OutputConfig_BigqueryDestination - 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_6e2d768504aa30d7, []int{3} -} - -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 (m *OutputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_OutputConfig.Merge(m, 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"` -} - -type OutputConfig_BigqueryDestination struct { - BigqueryDestination *BigQueryDestination `protobuf:"bytes,2,opt,name=bigquery_destination,json=bigqueryDestination,proto3,oneof"` -} - -func (*OutputConfig_GcsDestination) isOutputConfig_Destination() {} - -func (*OutputConfig_BigqueryDestination) 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 -} - -func (m *OutputConfig) GetBigqueryDestination() *BigQueryDestination { - if x, ok := m.GetDestination().(*OutputConfig_BigqueryDestination); ok { - return x.BigqueryDestination - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*OutputConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*OutputConfig_GcsDestination)(nil), - (*OutputConfig_BigqueryDestination)(nil), - } -} - -// Output configuration for BatchPredict Action. -// -// As destination the -// -// [gcs_destination][google.cloud.automl.v1beta1.BatchPredictOutputConfig.gcs_destination] -// must be set unless specified otherwise for a domain. If gcs_destination is -// set then in the given directory a new directory is created. Its name -// will be -// "prediction--", -// where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. The contents -// of it depends on the ML problem the predictions are made for. -// -// * For Image Classification: -// In the created directory files `image_classification_1.jsonl`, -// `image_classification_2.jsonl`,...,`image_classification_N.jsonl` -// will be created, where N may be 1, and depends on the -// total number of the successfully predicted images and annotations. -// A single image will be listed only once with all its annotations, -// and its annotations will never be split across files. -// Each .JSONL file will contain, per line, a JSON representation of a -// proto that wraps image's "ID" : "" followed by a list of -// zero or more AnnotationPayload protos (called annotations), which -// have classification detail populated. -// If prediction for any image failed (partially or completely), then an -// additional `errors_1.jsonl`, `errors_2.jsonl`,..., `errors_N.jsonl` -// files will be created (N depends on total number of failed -// predictions). These files will have a JSON representation of a proto -// that wraps the same "ID" : "" but here followed by -// exactly one -// -// [`google.rpc.Status`](https: -// //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) -// containing only `code` and `message`fields. -// -// * For Image Object Detection: -// In the created directory files `image_object_detection_1.jsonl`, -// `image_object_detection_2.jsonl`,...,`image_object_detection_N.jsonl` -// will be created, where N may be 1, and depends on the -// total number of the successfully predicted images and annotations. -// Each .JSONL file will contain, per line, a JSON representation of a -// proto that wraps image's "ID" : "" followed by a list of -// zero or more AnnotationPayload protos (called annotations), which -// have image_object_detection detail populated. A single image will -// be listed only once with all its annotations, and its annotations -// will never be split across files. -// If prediction for any image failed (partially or completely), then -// additional `errors_1.jsonl`, `errors_2.jsonl`,..., `errors_N.jsonl` -// files will be created (N depends on total number of failed -// predictions). These files will have a JSON representation of a proto -// that wraps the same "ID" : "" but here followed by -// exactly one -// -// [`google.rpc.Status`](https: -// //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) -// containing only `code` and `message`fields. -// * For Video Classification: -// In the created directory a video_classification.csv file, and a .JSON -// file per each video classification requested in the input (i.e. each -// line in given CSV(s)), will be created. -// -// The format of video_classification.csv is: -// -// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END,JSON_FILE_NAME,STATUS -// where: -// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END = matches 1 to 1 -// the prediction input lines (i.e. video_classification.csv has -// precisely the same number of lines as the prediction input had.) -// JSON_FILE_NAME = Name of .JSON file in the output directory, which -// contains prediction responses for the video time segment. -// STATUS = "OK" if prediction completed successfully, or an error code -// with message otherwise. If STATUS is not "OK" then the .JSON file -// for that line may not exist or be empty. -// -// Each .JSON file, assuming STATUS is "OK", will contain a list of -// AnnotationPayload protos in JSON format, which are the predictions -// for the video time segment the file is assigned to in the -// video_classification.csv. All AnnotationPayload protos will have -// video_classification field set, and will be sorted by -// video_classification.type field (note that the returned types are -// governed by `classifaction_types` parameter in -// [PredictService.BatchPredictRequest.params][]). -// -// * For Video Object Tracking: -// In the created directory a video_object_tracking.csv file will be -// created, and multiple files video_object_trackinng_1.json, -// video_object_trackinng_2.json,..., video_object_trackinng_N.json, -// where N is the number of requests in the input (i.e. the number of -// lines in given CSV(s)). -// -// The format of video_object_tracking.csv is: -// -// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END,JSON_FILE_NAME,STATUS -// where: -// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END = matches 1 to 1 -// the prediction input lines (i.e. video_object_tracking.csv has -// precisely the same number of lines as the prediction input had.) -// JSON_FILE_NAME = Name of .JSON file in the output directory, which -// contains prediction responses for the video time segment. -// STATUS = "OK" if prediction completed successfully, or an error -// code with message otherwise. If STATUS is not "OK" then the .JSON -// file for that line may not exist or be empty. -// -// Each .JSON file, assuming STATUS is "OK", will contain a list of -// AnnotationPayload protos in JSON format, which are the predictions -// for each frame of the video time segment the file is assigned to in -// video_object_tracking.csv. All AnnotationPayload protos will have -// video_object_tracking field set. -// * For Text Classification: -// In the created directory files `text_classification_1.jsonl`, -// `text_classification_2.jsonl`,...,`text_classification_N.jsonl` -// will be created, where N may be 1, and depends on the -// total number of inputs and annotations found. -// -// Each .JSONL file will contain, per line, a JSON representation of a -// proto that wraps input text snippet or input text file and a list of -// zero or more AnnotationPayload protos (called annotations), which -// have classification detail populated. A single text snippet or file -// will be listed only once with all its annotations, and its -// annotations will never be split across files. -// -// If prediction for any text snippet or file failed (partially or -// completely), then additional `errors_1.jsonl`, `errors_2.jsonl`,..., -// `errors_N.jsonl` files will be created (N depends on total number of -// failed predictions). These files will have a JSON representation of a -// proto that wraps input text snippet or input text file followed by -// exactly one -// -// [`google.rpc.Status`](https: -// //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) -// containing only `code` and `message`. -// -// * For Text Sentiment: -// In the created directory files `text_sentiment_1.jsonl`, -// `text_sentiment_2.jsonl`,...,`text_sentiment_N.jsonl` -// will be created, where N may be 1, and depends on the -// total number of inputs and annotations found. -// -// Each .JSONL file will contain, per line, a JSON representation of a -// proto that wraps input text snippet or input text file and a list of -// zero or more AnnotationPayload protos (called annotations), which -// have text_sentiment detail populated. A single text snippet or file -// will be listed only once with all its annotations, and its -// annotations will never be split across files. -// -// If prediction for any text snippet or file failed (partially or -// completely), then additional `errors_1.jsonl`, `errors_2.jsonl`,..., -// `errors_N.jsonl` files will be created (N depends on total number of -// failed predictions). These files will have a JSON representation of a -// proto that wraps input text snippet or input text file followed by -// exactly one -// -// [`google.rpc.Status`](https: -// //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) -// containing only `code` and `message`. -// -// * For Text Extraction: -// In the created directory files `text_extraction_1.jsonl`, -// `text_extraction_2.jsonl`,...,`text_extraction_N.jsonl` -// will be created, where N may be 1, and depends on the -// total number of inputs and annotations found. -// The contents of these .JSONL file(s) depend on whether the input -// used inline text, or documents. -// If input was inline, then each .JSONL file will contain, per line, -// a JSON representation of a proto that wraps given in request text -// snippet's "id" (if specified), followed by input text snippet, -// and a list of zero or more -// AnnotationPayload protos (called annotations), which have -// text_extraction detail populated. A single text snippet will be -// listed only once with all its annotations, and its annotations will -// never be split across files. -// If input used documents, then each .JSONL file will contain, per -// line, a JSON representation of a proto that wraps given in request -// document proto, followed by its OCR-ed representation in the form -// of a text snippet, finally followed by a list of zero or more -// AnnotationPayload protos (called annotations), which have -// text_extraction detail populated and refer, via their indices, to -// the OCR-ed text snippet. A single document (and its text snippet) -// will be listed only once with all its annotations, and its -// annotations will never be split across files. -// If prediction for any text snippet failed (partially or completely), -// then additional `errors_1.jsonl`, `errors_2.jsonl`,..., -// `errors_N.jsonl` files will be created (N depends on total number of -// failed predictions). These files will have a JSON representation of a -// proto that wraps either the "id" : "" (in case of inline) -// or the document proto (in case of document) but here followed by -// exactly one -// -// [`google.rpc.Status`](https: -// //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) -// containing only `code` and `message`. -// -// * For Tables: -// Output depends on whether -// -// [gcs_destination][google.cloud.automl.v1beta1.BatchPredictOutputConfig.gcs_destination] -// or -// -// [bigquery_destination][google.cloud.automl.v1beta1.BatchPredictOutputConfig.bigquery_destination] -// is set (either is allowed). -// GCS case: -// In the created directory files `tables_1.csv`, `tables_2.csv`,..., -// `tables_N.csv` will be created, where N may be 1, and depends on -// the total number of the successfully predicted rows. -// For all CLASSIFICATION -// -// [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]: -// Each .csv file will contain a header, listing all columns' -// -// [display_name-s][google.cloud.automl.v1beta1.ColumnSpec.display_name] -// given on input followed by M target column names in the format of -// -// "<[target_column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] -// -// [display_name][google.cloud.automl.v1beta1.ColumnSpec.display_name]>__score" where M is the number of distinct target values, -// i.e. number of distinct values in the target column of the table -// used to train the model. Subsequent lines will contain the -// respective values of successfully predicted rows, with the last, -// i.e. the target, columns having the corresponding prediction -// [scores][google.cloud.automl.v1beta1.TablesAnnotation.score]. -// For REGRESSION and FORECASTING -// -// [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]: -// Each .csv file will contain a header, listing all columns' -// [display_name-s][google.cloud.automl.v1beta1.display_name] given -// on input followed by the predicted target column with name in the -// format of -// -// "predicted_<[target_column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] -// -// [display_name][google.cloud.automl.v1beta1.ColumnSpec.display_name]>" -// Subsequent lines will contain the respective values of -// successfully predicted rows, with the last, i.e. the target, -// column having the predicted target value. -// If prediction for any rows failed, then an additional -// `errors_1.csv`, `errors_2.csv`,..., `errors_N.csv` will be -// created (N depends on total number of failed rows). These files -// will have analogous format as `tables_*.csv`, but always with a -// single target column having -// -// [`google.rpc.Status`](https: -// //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) -// represented as a JSON string, and containing only `code` and -// `message`. -// BigQuery case: -// -// [bigquery_destination][google.cloud.automl.v1beta1.OutputConfig.bigquery_destination] -// pointing to a BigQuery project must be set. In the given project a -// new dataset will be created with name -// `prediction__` -// where will be made -// BigQuery-dataset-name compatible (e.g. most special characters will -// become underscores), and timestamp will be in -// YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In the dataset -// two tables will be created, `predictions`, and `errors`. -// The `predictions` table's column names will be the input columns' -// -// [display_name-s][google.cloud.automl.v1beta1.ColumnSpec.display_name] -// followed by the target column with name in the format of -// -// "predicted_<[target_column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] -// -// [display_name][google.cloud.automl.v1beta1.ColumnSpec.display_name]>" -// The input feature columns will contain the respective values of -// successfully predicted rows, with the target column having an -// ARRAY of -// -// [AnnotationPayloads][google.cloud.automl.v1beta1.AnnotationPayload], -// represented as STRUCT-s, containing -// [TablesAnnotation][google.cloud.automl.v1beta1.TablesAnnotation]. -// The `errors` table contains rows for which the prediction has -// failed, it has analogous input columns while the target column name -// is in the format of -// -// "errors_<[target_column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] -// -// [display_name][google.cloud.automl.v1beta1.ColumnSpec.display_name]>", -// and as a value has -// -// [`google.rpc.Status`](https: -// //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) -// represented as a STRUCT, and containing only `code` and `message`. -type BatchPredictOutputConfig struct { - // Required. The destination of the output. - // - // Types that are valid to be assigned to Destination: - // *BatchPredictOutputConfig_GcsDestination - // *BatchPredictOutputConfig_BigqueryDestination - Destination isBatchPredictOutputConfig_Destination `protobuf_oneof:"destination"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchPredictOutputConfig) Reset() { *m = BatchPredictOutputConfig{} } -func (m *BatchPredictOutputConfig) String() string { return proto.CompactTextString(m) } -func (*BatchPredictOutputConfig) ProtoMessage() {} -func (*BatchPredictOutputConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_6e2d768504aa30d7, []int{4} -} - -func (m *BatchPredictOutputConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchPredictOutputConfig.Unmarshal(m, b) -} -func (m *BatchPredictOutputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchPredictOutputConfig.Marshal(b, m, deterministic) -} -func (m *BatchPredictOutputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchPredictOutputConfig.Merge(m, src) -} -func (m *BatchPredictOutputConfig) XXX_Size() int { - return xxx_messageInfo_BatchPredictOutputConfig.Size(m) -} -func (m *BatchPredictOutputConfig) XXX_DiscardUnknown() { - xxx_messageInfo_BatchPredictOutputConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchPredictOutputConfig proto.InternalMessageInfo - -type isBatchPredictOutputConfig_Destination interface { - isBatchPredictOutputConfig_Destination() -} - -type BatchPredictOutputConfig_GcsDestination struct { - GcsDestination *GcsDestination `protobuf:"bytes,1,opt,name=gcs_destination,json=gcsDestination,proto3,oneof"` -} - -type BatchPredictOutputConfig_BigqueryDestination struct { - BigqueryDestination *BigQueryDestination `protobuf:"bytes,2,opt,name=bigquery_destination,json=bigqueryDestination,proto3,oneof"` -} - -func (*BatchPredictOutputConfig_GcsDestination) isBatchPredictOutputConfig_Destination() {} - -func (*BatchPredictOutputConfig_BigqueryDestination) isBatchPredictOutputConfig_Destination() {} - -func (m *BatchPredictOutputConfig) GetDestination() isBatchPredictOutputConfig_Destination { - if m != nil { - return m.Destination - } - return nil -} - -func (m *BatchPredictOutputConfig) GetGcsDestination() *GcsDestination { - if x, ok := m.GetDestination().(*BatchPredictOutputConfig_GcsDestination); ok { - return x.GcsDestination - } - return nil -} - -func (m *BatchPredictOutputConfig) GetBigqueryDestination() *BigQueryDestination { - if x, ok := m.GetDestination().(*BatchPredictOutputConfig_BigqueryDestination); ok { - return x.BigqueryDestination - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*BatchPredictOutputConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*BatchPredictOutputConfig_GcsDestination)(nil), - (*BatchPredictOutputConfig_BigqueryDestination)(nil), - } -} - -// Output configuration for ModelExport Action. -type ModelExportOutputConfig struct { - // Required. The destination of the output. - // - // Types that are valid to be assigned to Destination: - // *ModelExportOutputConfig_GcsDestination - // *ModelExportOutputConfig_GcrDestination - Destination isModelExportOutputConfig_Destination `protobuf_oneof:"destination"` - // The format in which the model must be exported. The available, and default, - // formats depend on the problem and model type (if given problem and type - // combination doesn't have a format listed, it means its models are not - // exportable): - // - // * For Image Classification mobile-low-latency-1, mobile-versatile-1, - // mobile-high-accuracy-1: - // "tflite" (default), "edgetpu_tflite", "tf_saved_model", "docker". - // - // * For Image Classification mobile-core-ml-low-latency-1, - // mobile-core-ml-versatile-1, mobile-core-ml-high-accuracy-1: - // "core_ml" (default). - // Formats description: - // - // * tflite - Used for Android mobile devices. - // * edgetpu_tflite - Used for [Edge TPU](https://cloud.google.com/edge-tpu/) - // devices. - // * tf_saved_model - A tensorflow model in SavedModel format. - // * docker - Used for Docker containers. Use the params field to customize - // the container. The container is verified to work correctly on - // ubuntu 16.04 operating system. See more at - // [containers - // - // quickstart](https: - // //cloud.google.com/vision/automl/docs/containers-gcs-quickstart) - // * core_ml - Used for iOS mobile devices. - ModelFormat string `protobuf:"bytes,4,opt,name=model_format,json=modelFormat,proto3" json:"model_format,omitempty"` - // Additional model-type and format specific parameters describing the - // requirements for the to be exported model files, any string must be up to - // 25000 characters long. - // - // * For `docker` format: - // `cpu_architecture` - (string) "x86_64" (default). - // `gpu_architecture` - (string) "none" (default), "nvidia". - Params map[string]string `protobuf:"bytes,2,rep,name=params,proto3" json:"params,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 *ModelExportOutputConfig) Reset() { *m = ModelExportOutputConfig{} } -func (m *ModelExportOutputConfig) String() string { return proto.CompactTextString(m) } -func (*ModelExportOutputConfig) ProtoMessage() {} -func (*ModelExportOutputConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_6e2d768504aa30d7, []int{5} -} - -func (m *ModelExportOutputConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ModelExportOutputConfig.Unmarshal(m, b) -} -func (m *ModelExportOutputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ModelExportOutputConfig.Marshal(b, m, deterministic) -} -func (m *ModelExportOutputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ModelExportOutputConfig.Merge(m, src) -} -func (m *ModelExportOutputConfig) XXX_Size() int { - return xxx_messageInfo_ModelExportOutputConfig.Size(m) -} -func (m *ModelExportOutputConfig) XXX_DiscardUnknown() { - xxx_messageInfo_ModelExportOutputConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_ModelExportOutputConfig proto.InternalMessageInfo - -type isModelExportOutputConfig_Destination interface { - isModelExportOutputConfig_Destination() -} - -type ModelExportOutputConfig_GcsDestination struct { - GcsDestination *GcsDestination `protobuf:"bytes,1,opt,name=gcs_destination,json=gcsDestination,proto3,oneof"` -} - -type ModelExportOutputConfig_GcrDestination struct { - GcrDestination *GcrDestination `protobuf:"bytes,3,opt,name=gcr_destination,json=gcrDestination,proto3,oneof"` -} - -func (*ModelExportOutputConfig_GcsDestination) isModelExportOutputConfig_Destination() {} - -func (*ModelExportOutputConfig_GcrDestination) isModelExportOutputConfig_Destination() {} - -func (m *ModelExportOutputConfig) GetDestination() isModelExportOutputConfig_Destination { - if m != nil { - return m.Destination - } - return nil -} - -func (m *ModelExportOutputConfig) GetGcsDestination() *GcsDestination { - if x, ok := m.GetDestination().(*ModelExportOutputConfig_GcsDestination); ok { - return x.GcsDestination - } - return nil -} - -func (m *ModelExportOutputConfig) GetGcrDestination() *GcrDestination { - if x, ok := m.GetDestination().(*ModelExportOutputConfig_GcrDestination); ok { - return x.GcrDestination - } - return nil -} - -func (m *ModelExportOutputConfig) GetModelFormat() string { - if m != nil { - return m.ModelFormat - } - return "" -} - -func (m *ModelExportOutputConfig) GetParams() map[string]string { - if m != nil { - return m.Params - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ModelExportOutputConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ModelExportOutputConfig_GcsDestination)(nil), - (*ModelExportOutputConfig_GcrDestination)(nil), - } -} - -// Output configuration for ExportEvaluatedExamples Action. Note that this call -// is available only for 30 days since the moment the model was evaluated. -// The output depends on the domain, as follows (note that only examples from -// the TEST set are exported): -// -// * For Tables: -// -// [bigquery_destination][google.cloud.automl.v1beta1.OutputConfig.bigquery_destination] -// pointing to a BigQuery project must be set. In the given project a -// new dataset will be created with name -// -// `export_evaluated_examples__` -// where will be made BigQuery-dataset-name -// compatible (e.g. most special characters will become underscores), -// and timestamp will be in YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" -// format. In the dataset an `evaluated_examples` table will be -// created. It will have all the same columns as the -// -// [primary_table][google.cloud.automl.v1beta1.TablesDatasetMetadata.primary_table_spec_id] -// of the -// [dataset][google.cloud.automl.v1beta1.Model.dataset_id] from which -// the model was created, as they were at the moment of model's -// evaluation (this includes the target column with its ground -// truth), followed by a column called "predicted_". That -// last column will contain the model's prediction result for each -// respective row, given as ARRAY of -// [AnnotationPayloads][google.cloud.automl.v1beta1.AnnotationPayload], -// represented as STRUCT-s, containing -// [TablesAnnotation][google.cloud.automl.v1beta1.TablesAnnotation]. -type ExportEvaluatedExamplesOutputConfig struct { - // Required. The destination of the output. - // - // Types that are valid to be assigned to Destination: - // *ExportEvaluatedExamplesOutputConfig_BigqueryDestination - Destination isExportEvaluatedExamplesOutputConfig_Destination `protobuf_oneof:"destination"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExportEvaluatedExamplesOutputConfig) Reset() { *m = ExportEvaluatedExamplesOutputConfig{} } -func (m *ExportEvaluatedExamplesOutputConfig) String() string { return proto.CompactTextString(m) } -func (*ExportEvaluatedExamplesOutputConfig) ProtoMessage() {} -func (*ExportEvaluatedExamplesOutputConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_6e2d768504aa30d7, []int{6} -} - -func (m *ExportEvaluatedExamplesOutputConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExportEvaluatedExamplesOutputConfig.Unmarshal(m, b) -} -func (m *ExportEvaluatedExamplesOutputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExportEvaluatedExamplesOutputConfig.Marshal(b, m, deterministic) -} -func (m *ExportEvaluatedExamplesOutputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportEvaluatedExamplesOutputConfig.Merge(m, src) -} -func (m *ExportEvaluatedExamplesOutputConfig) XXX_Size() int { - return xxx_messageInfo_ExportEvaluatedExamplesOutputConfig.Size(m) -} -func (m *ExportEvaluatedExamplesOutputConfig) XXX_DiscardUnknown() { - xxx_messageInfo_ExportEvaluatedExamplesOutputConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_ExportEvaluatedExamplesOutputConfig proto.InternalMessageInfo - -type isExportEvaluatedExamplesOutputConfig_Destination interface { - isExportEvaluatedExamplesOutputConfig_Destination() -} - -type ExportEvaluatedExamplesOutputConfig_BigqueryDestination struct { - BigqueryDestination *BigQueryDestination `protobuf:"bytes,2,opt,name=bigquery_destination,json=bigqueryDestination,proto3,oneof"` -} - -func (*ExportEvaluatedExamplesOutputConfig_BigqueryDestination) isExportEvaluatedExamplesOutputConfig_Destination() { -} - -func (m *ExportEvaluatedExamplesOutputConfig) GetDestination() isExportEvaluatedExamplesOutputConfig_Destination { - if m != nil { - return m.Destination - } - return nil -} - -func (m *ExportEvaluatedExamplesOutputConfig) GetBigqueryDestination() *BigQueryDestination { - if x, ok := m.GetDestination().(*ExportEvaluatedExamplesOutputConfig_BigqueryDestination); ok { - return x.BigqueryDestination - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ExportEvaluatedExamplesOutputConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ExportEvaluatedExamplesOutputConfig_BigqueryDestination)(nil), - } -} - -// The Google Cloud Storage location for the input content. -type GcsSource struct { - // Required. Google Cloud Storage URIs to input files, up to 2000 characters - // long. Accepted forms: - // * Full object path, e.g. gs://bucket/directory/object.csv - InputUris []string `protobuf:"bytes,1,rep,name=input_uris,json=inputUris,proto3" json:"input_uris,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_6e2d768504aa30d7, []int{7} -} - -func (m *GcsSource) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GcsSource.Unmarshal(m, b) -} -func (m *GcsSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GcsSource.Marshal(b, m, deterministic) -} -func (m *GcsSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcsSource.Merge(m, src) -} -func (m *GcsSource) XXX_Size() int { - return xxx_messageInfo_GcsSource.Size(m) -} -func (m *GcsSource) XXX_DiscardUnknown() { - xxx_messageInfo_GcsSource.DiscardUnknown(m) -} - -var xxx_messageInfo_GcsSource proto.InternalMessageInfo - -func (m *GcsSource) GetInputUris() []string { - if m != nil { - return m.InputUris - } - return nil -} - -// The BigQuery location for the input content. -type BigQuerySource struct { - // Required. BigQuery URI to a table, up to 2000 characters long. - // Accepted forms: - // * BigQuery path e.g. bq://projectId.bqDatasetId.bqTableId - InputUri string `protobuf:"bytes,1,opt,name=input_uri,json=inputUri,proto3" json:"input_uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BigQuerySource) Reset() { *m = BigQuerySource{} } -func (m *BigQuerySource) String() string { return proto.CompactTextString(m) } -func (*BigQuerySource) ProtoMessage() {} -func (*BigQuerySource) Descriptor() ([]byte, []int) { - return fileDescriptor_6e2d768504aa30d7, []int{8} -} - -func (m *BigQuerySource) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BigQuerySource.Unmarshal(m, b) -} -func (m *BigQuerySource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BigQuerySource.Marshal(b, m, deterministic) -} -func (m *BigQuerySource) XXX_Merge(src proto.Message) { - xxx_messageInfo_BigQuerySource.Merge(m, src) -} -func (m *BigQuerySource) XXX_Size() int { - return xxx_messageInfo_BigQuerySource.Size(m) -} -func (m *BigQuerySource) XXX_DiscardUnknown() { - xxx_messageInfo_BigQuerySource.DiscardUnknown(m) -} - -var xxx_messageInfo_BigQuerySource proto.InternalMessageInfo - -func (m *BigQuerySource) GetInputUri() string { - if m != nil { - return m.InputUri - } - return "" -} - -// The Google Cloud Storage location where the output is to be written to. -type GcsDestination struct { - // Required. Google Cloud Storage URI to output directory, up to 2000 - // characters long. - // Accepted forms: - // * Prefix path: gs://bucket/directory - // The requesting user must have write permission to the bucket. - // The directory is created if it doesn't exist. - 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 *GcsDestination) Reset() { *m = GcsDestination{} } -func (m *GcsDestination) String() string { return proto.CompactTextString(m) } -func (*GcsDestination) ProtoMessage() {} -func (*GcsDestination) Descriptor() ([]byte, []int) { - return fileDescriptor_6e2d768504aa30d7, []int{9} -} - -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 (m *GcsDestination) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcsDestination.Merge(m, 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) GetOutputUriPrefix() string { - if m != nil { - return m.OutputUriPrefix - } - return "" -} - -// The BigQuery location for the output content. -type BigQueryDestination struct { - // Required. BigQuery URI to a project, up to 2000 characters long. - // Accepted forms: - // * BigQuery path e.g. bq://projectId - OutputUri string `protobuf:"bytes,1,opt,name=output_uri,json=outputUri,proto3" json:"output_uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BigQueryDestination) Reset() { *m = BigQueryDestination{} } -func (m *BigQueryDestination) String() string { return proto.CompactTextString(m) } -func (*BigQueryDestination) ProtoMessage() {} -func (*BigQueryDestination) Descriptor() ([]byte, []int) { - return fileDescriptor_6e2d768504aa30d7, []int{10} -} - -func (m *BigQueryDestination) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BigQueryDestination.Unmarshal(m, b) -} -func (m *BigQueryDestination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BigQueryDestination.Marshal(b, m, deterministic) -} -func (m *BigQueryDestination) XXX_Merge(src proto.Message) { - xxx_messageInfo_BigQueryDestination.Merge(m, src) -} -func (m *BigQueryDestination) XXX_Size() int { - return xxx_messageInfo_BigQueryDestination.Size(m) -} -func (m *BigQueryDestination) XXX_DiscardUnknown() { - xxx_messageInfo_BigQueryDestination.DiscardUnknown(m) -} - -var xxx_messageInfo_BigQueryDestination proto.InternalMessageInfo - -func (m *BigQueryDestination) GetOutputUri() string { - if m != nil { - return m.OutputUri - } - return "" -} - -// The GCR location where the image must be pushed to. -type GcrDestination struct { - // Required. Google Contained Registry URI of the new image, up to 2000 - // characters long. See - // - // https: - // //cloud.google.com/container-registry/do - // // cs/pushing-and-pulling#pushing_an_image_to_a_registry - // Accepted forms: - // * [HOSTNAME]/[PROJECT-ID]/[IMAGE] - // * [HOSTNAME]/[PROJECT-ID]/[IMAGE]:[TAG] - // - // The requesting user must have permission to push images the project. - OutputUri string `protobuf:"bytes,1,opt,name=output_uri,json=outputUri,proto3" json:"output_uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GcrDestination) Reset() { *m = GcrDestination{} } -func (m *GcrDestination) String() string { return proto.CompactTextString(m) } -func (*GcrDestination) ProtoMessage() {} -func (*GcrDestination) Descriptor() ([]byte, []int) { - return fileDescriptor_6e2d768504aa30d7, []int{11} -} - -func (m *GcrDestination) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GcrDestination.Unmarshal(m, b) -} -func (m *GcrDestination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GcrDestination.Marshal(b, m, deterministic) -} -func (m *GcrDestination) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcrDestination.Merge(m, src) -} -func (m *GcrDestination) XXX_Size() int { - return xxx_messageInfo_GcrDestination.Size(m) -} -func (m *GcrDestination) XXX_DiscardUnknown() { - xxx_messageInfo_GcrDestination.DiscardUnknown(m) -} - -var xxx_messageInfo_GcrDestination proto.InternalMessageInfo - -func (m *GcrDestination) GetOutputUri() string { - if m != nil { - return m.OutputUri - } - return "" -} - -func init() { - proto.RegisterType((*InputConfig)(nil), "google.cloud.automl.v1beta1.InputConfig") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.automl.v1beta1.InputConfig.ParamsEntry") - proto.RegisterType((*BatchPredictInputConfig)(nil), "google.cloud.automl.v1beta1.BatchPredictInputConfig") - proto.RegisterType((*DocumentInputConfig)(nil), "google.cloud.automl.v1beta1.DocumentInputConfig") - proto.RegisterType((*OutputConfig)(nil), "google.cloud.automl.v1beta1.OutputConfig") - proto.RegisterType((*BatchPredictOutputConfig)(nil), "google.cloud.automl.v1beta1.BatchPredictOutputConfig") - proto.RegisterType((*ModelExportOutputConfig)(nil), "google.cloud.automl.v1beta1.ModelExportOutputConfig") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.automl.v1beta1.ModelExportOutputConfig.ParamsEntry") - proto.RegisterType((*ExportEvaluatedExamplesOutputConfig)(nil), "google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig") - proto.RegisterType((*GcsSource)(nil), "google.cloud.automl.v1beta1.GcsSource") - proto.RegisterType((*BigQuerySource)(nil), "google.cloud.automl.v1beta1.BigQuerySource") - proto.RegisterType((*GcsDestination)(nil), "google.cloud.automl.v1beta1.GcsDestination") - proto.RegisterType((*BigQueryDestination)(nil), "google.cloud.automl.v1beta1.BigQueryDestination") - proto.RegisterType((*GcrDestination)(nil), "google.cloud.automl.v1beta1.GcrDestination") -} - -func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/io.proto", fileDescriptor_6e2d768504aa30d7) -} - -var fileDescriptor_6e2d768504aa30d7 = []byte{ - // 647 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x96, 0xdf, 0x4e, 0xd4, 0x4e, - 0x14, 0xc7, 0x7f, 0x6d, 0x7f, 0x12, 0x7a, 0x8a, 0xa0, 0x85, 0x84, 0x06, 0xfc, 0x83, 0xd5, 0x18, - 0x02, 0xb1, 0x15, 0xe4, 0x42, 0xab, 0x17, 0xb2, 0xb0, 0xa2, 0x09, 0xc4, 0x75, 0x0d, 0xc4, 0x98, - 0x4d, 0x36, 0x43, 0x77, 0x18, 0x27, 0xb6, 0x9d, 0x3a, 0x9d, 0x12, 0x78, 0x0b, 0xef, 0xbd, 0xf6, - 0x41, 0x4c, 0xbc, 0xf2, 0x19, 0x7c, 0x00, 0xe3, 0x53, 0x98, 0xce, 0x74, 0x97, 0x16, 0x71, 0x25, - 0x86, 0x60, 0xe2, 0xdd, 0xce, 0x39, 0xdf, 0xf3, 0x39, 0xfd, 0x9e, 0xce, 0x9e, 0x5d, 0xb8, 0x45, - 0x18, 0x23, 0x11, 0xf6, 0xc3, 0x88, 0xe5, 0x3d, 0x1f, 0xe5, 0x82, 0xc5, 0x91, 0xbf, 0xbf, 0xb4, - 0x8b, 0x05, 0x5a, 0xf2, 0x29, 0xf3, 0x52, 0xce, 0x04, 0xb3, 0x67, 0x95, 0xca, 0x93, 0x2a, 0x4f, - 0xa9, 0xbc, 0x52, 0x35, 0x73, 0xa5, 0x44, 0xa0, 0x94, 0xfa, 0x28, 0x49, 0x98, 0x40, 0x82, 0xb2, - 0x24, 0x53, 0xa5, 0xee, 0x27, 0x1d, 0xac, 0x67, 0x49, 0x9a, 0x8b, 0x35, 0x96, 0xec, 0x51, 0x62, - 0x6f, 0x00, 0x90, 0x30, 0xeb, 0x66, 0x2c, 0xe7, 0x21, 0x76, 0xb4, 0x39, 0x6d, 0xde, 0x5a, 0xbe, - 0xed, 0x0d, 0xe1, 0x7b, 0x1b, 0x61, 0xf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23, 0x44, 0x59, 0x6b, 0x0e, 0x6a, 0x5d, 0xbf, 0xe8, 0xc9, 0x4f, 0x5f, 0xd0, 0xf8, - 0xa8, 0xc1, 0xf5, 0x90, 0xc5, 0xc3, 0xa6, 0xdb, 0xd2, 0x5e, 0xaf, 0x96, 0x69, 0xc2, 0x22, 0x94, - 0x10, 0x8f, 0x71, 0xe2, 0x13, 0x9c, 0xc8, 0x5f, 0x69, 0x5f, 0xa5, 0x50, 0x4a, 0xb3, 0x13, 0xff, - 0x09, 0x3c, 0x54, 0xc7, 0x2f, 0xfa, 0xec, 0x86, 0x14, 0x76, 0xd6, 0x0a, 0x51, 0x67, 0x35, 0x17, - 0x6c, 0x2b, 0xea, 0xec, 0x28, 0xd1, 0x77, 0xfd, 0x9a, 0xca, 0x06, 0x81, 0x4c, 0x07, 0x81, 0xcc, - 0x6f, 0x06, 0x41, 0x29, 0xd8, 0x1d, 0x91, 0xcd, 0xee, 0xfd, 0x08, 0x00, 0x00, 0xff, 0xff, 0xc0, - 0x26, 0xdb, 0xd5, 0x75, 0x08, 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 deleted file mode 100644 index acfc6981..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/model.pb.go +++ /dev/null @@ -1,364 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1beta1/model.proto - -package automl - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Deployment state of the model. -type Model_DeploymentState int32 - -const ( - // Should not be used, an un-set enum has this value by default. - Model_DEPLOYMENT_STATE_UNSPECIFIED Model_DeploymentState = 0 - // Model is deployed. - Model_DEPLOYED Model_DeploymentState = 1 - // Model is not deployed. - Model_UNDEPLOYED Model_DeploymentState = 2 -) - -var Model_DeploymentState_name = map[int32]string{ - 0: "DEPLOYMENT_STATE_UNSPECIFIED", - 1: "DEPLOYED", - 2: "UNDEPLOYED", -} - -var Model_DeploymentState_value = map[string]int32{ - "DEPLOYMENT_STATE_UNSPECIFIED": 0, - "DEPLOYED": 1, - "UNDEPLOYED": 2, -} - -func (x Model_DeploymentState) String() string { - return proto.EnumName(Model_DeploymentState_name, int32(x)) -} - -func (Model_DeploymentState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_27c9ed3a1b40360b, []int{0, 0} -} - -// API proto representing a trained machine learning model. -type Model struct { - // Required. - // The model metadata that is specific to the problem type. - // Must match the metadata type of the dataset used to train the model. - // - // Types that are valid to be assigned to ModelMetadata: - // *Model_TranslationModelMetadata - // *Model_ImageClassificationModelMetadata - // *Model_TextClassificationModelMetadata - // *Model_ImageObjectDetectionModelMetadata - // *Model_VideoClassificationModelMetadata - // *Model_VideoObjectTrackingModelMetadata - // *Model_TextExtractionModelMetadata - // *Model_TablesModelMetadata - // *Model_TextSentimentModelMetadata - ModelMetadata isModel_ModelMetadata `protobuf_oneof:"model_metadata"` - // Output only. Resource name of the model. - // Format: `projects/{project_id}/locations/{location_id}/models/{model_id}` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The name of the model to show in the interface. The name can be - // up to 32 characters long and can consist only of ASCII Latin letters A-Z - // and a-z, underscores - // (_), and ASCII digits 0-9. It must start with a letter. - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Required. The resource ID of the dataset used to create the model. The dataset must - // come from the same ancestor project and location. - DatasetId string `protobuf:"bytes,3,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"` - // Output only. Timestamp when the model training finished and can be used for prediction. - CreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Output only. Timestamp when this model was last updated. - UpdateTime *timestamp.Timestamp `protobuf:"bytes,11,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - // Output only. Deployment state of the model. A model can only serve - // prediction requests after it gets deployed. - DeploymentState Model_DeploymentState `protobuf:"varint,8,opt,name=deployment_state,json=deploymentState,proto3,enum=google.cloud.automl.v1beta1.Model_DeploymentState" json:"deployment_state,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_27c9ed3a1b40360b, []int{0} -} - -func (m *Model) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Model.Unmarshal(m, b) -} -func (m *Model) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Model.Marshal(b, m, deterministic) -} -func (m *Model) XXX_Merge(src proto.Message) { - xxx_messageInfo_Model.Merge(m, src) -} -func (m *Model) XXX_Size() int { - return xxx_messageInfo_Model.Size(m) -} -func (m *Model) XXX_DiscardUnknown() { - xxx_messageInfo_Model.DiscardUnknown(m) -} - -var xxx_messageInfo_Model proto.InternalMessageInfo - -type isModel_ModelMetadata interface { - isModel_ModelMetadata() -} - -type Model_TranslationModelMetadata struct { - TranslationModelMetadata *TranslationModelMetadata `protobuf:"bytes,15,opt,name=translation_model_metadata,json=translationModelMetadata,proto3,oneof"` -} - -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_ImageObjectDetectionModelMetadata struct { - ImageObjectDetectionModelMetadata *ImageObjectDetectionModelMetadata `protobuf:"bytes,20,opt,name=image_object_detection_model_metadata,json=imageObjectDetectionModelMetadata,proto3,oneof"` -} - -type Model_VideoClassificationModelMetadata struct { - VideoClassificationModelMetadata *VideoClassificationModelMetadata `protobuf:"bytes,23,opt,name=video_classification_model_metadata,json=videoClassificationModelMetadata,proto3,oneof"` -} - -type Model_VideoObjectTrackingModelMetadata struct { - VideoObjectTrackingModelMetadata *VideoObjectTrackingModelMetadata `protobuf:"bytes,21,opt,name=video_object_tracking_model_metadata,json=videoObjectTrackingModelMetadata,proto3,oneof"` -} - -type Model_TextExtractionModelMetadata struct { - TextExtractionModelMetadata *TextExtractionModelMetadata `protobuf:"bytes,19,opt,name=text_extraction_model_metadata,json=textExtractionModelMetadata,proto3,oneof"` -} - -type Model_TablesModelMetadata struct { - TablesModelMetadata *TablesModelMetadata `protobuf:"bytes,24,opt,name=tables_model_metadata,json=tablesModelMetadata,proto3,oneof"` -} - -type Model_TextSentimentModelMetadata struct { - TextSentimentModelMetadata *TextSentimentModelMetadata `protobuf:"bytes,22,opt,name=text_sentiment_model_metadata,json=textSentimentModelMetadata,proto3,oneof"` -} - -func (*Model_TranslationModelMetadata) isModel_ModelMetadata() {} - -func (*Model_ImageClassificationModelMetadata) isModel_ModelMetadata() {} - -func (*Model_TextClassificationModelMetadata) isModel_ModelMetadata() {} - -func (*Model_ImageObjectDetectionModelMetadata) isModel_ModelMetadata() {} - -func (*Model_VideoClassificationModelMetadata) isModel_ModelMetadata() {} - -func (*Model_VideoObjectTrackingModelMetadata) isModel_ModelMetadata() {} - -func (*Model_TextExtractionModelMetadata) isModel_ModelMetadata() {} - -func (*Model_TablesModelMetadata) isModel_ModelMetadata() {} - -func (*Model_TextSentimentModelMetadata) isModel_ModelMetadata() {} - -func (m *Model) GetModelMetadata() isModel_ModelMetadata { - if m != nil { - return m.ModelMetadata - } - return nil -} - -func (m *Model) GetTranslationModelMetadata() *TranslationModelMetadata { - if x, ok := m.GetModelMetadata().(*Model_TranslationModelMetadata); ok { - return x.TranslationModelMetadata - } - return nil -} - -func (m *Model) GetImageClassificationModelMetadata() *ImageClassificationModelMetadata { - if x, ok := m.GetModelMetadata().(*Model_ImageClassificationModelMetadata); ok { - return x.ImageClassificationModelMetadata - } - return nil -} - -func (m *Model) GetTextClassificationModelMetadata() *TextClassificationModelMetadata { - if x, ok := m.GetModelMetadata().(*Model_TextClassificationModelMetadata); ok { - return x.TextClassificationModelMetadata - } - return nil -} - -func (m *Model) GetImageObjectDetectionModelMetadata() *ImageObjectDetectionModelMetadata { - if x, ok := m.GetModelMetadata().(*Model_ImageObjectDetectionModelMetadata); ok { - return x.ImageObjectDetectionModelMetadata - } - return nil -} - -func (m *Model) GetVideoClassificationModelMetadata() *VideoClassificationModelMetadata { - if x, ok := m.GetModelMetadata().(*Model_VideoClassificationModelMetadata); ok { - return x.VideoClassificationModelMetadata - } - return nil -} - -func (m *Model) GetVideoObjectTrackingModelMetadata() *VideoObjectTrackingModelMetadata { - if x, ok := m.GetModelMetadata().(*Model_VideoObjectTrackingModelMetadata); ok { - return x.VideoObjectTrackingModelMetadata - } - return nil -} - -func (m *Model) GetTextExtractionModelMetadata() *TextExtractionModelMetadata { - if x, ok := m.GetModelMetadata().(*Model_TextExtractionModelMetadata); ok { - return x.TextExtractionModelMetadata - } - return nil -} - -func (m *Model) GetTablesModelMetadata() *TablesModelMetadata { - if x, ok := m.GetModelMetadata().(*Model_TablesModelMetadata); ok { - return x.TablesModelMetadata - } - return nil -} - -func (m *Model) GetTextSentimentModelMetadata() *TextSentimentModelMetadata { - if x, ok := m.GetModelMetadata().(*Model_TextSentimentModelMetadata); ok { - return x.TextSentimentModelMetadata - } - return nil -} - -func (m *Model) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Model) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *Model) GetDatasetId() string { - if m != nil { - return m.DatasetId - } - return "" -} - -func (m *Model) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *Model) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -func (m *Model) GetDeploymentState() Model_DeploymentState { - if m != nil { - return m.DeploymentState - } - return Model_DEPLOYMENT_STATE_UNSPECIFIED -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Model) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Model_TranslationModelMetadata)(nil), - (*Model_ImageClassificationModelMetadata)(nil), - (*Model_TextClassificationModelMetadata)(nil), - (*Model_ImageObjectDetectionModelMetadata)(nil), - (*Model_VideoClassificationModelMetadata)(nil), - (*Model_VideoObjectTrackingModelMetadata)(nil), - (*Model_TextExtractionModelMetadata)(nil), - (*Model_TablesModelMetadata)(nil), - (*Model_TextSentimentModelMetadata)(nil), - } -} - -func init() { - proto.RegisterEnum("google.cloud.automl.v1beta1.Model_DeploymentState", Model_DeploymentState_name, Model_DeploymentState_value) - proto.RegisterType((*Model)(nil), "google.cloud.automl.v1beta1.Model") -} - -func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/model.proto", fileDescriptor_27c9ed3a1b40360b) -} - -var fileDescriptor_27c9ed3a1b40360b = []byte{ - // 719 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x95, 0xed, 0x6e, 0xd3, 0x30, - 0x14, 0x86, 0x97, 0xf2, 0xb5, 0xb9, 0xa3, 0xab, 0x3c, 0x06, 0x55, 0xf7, 0xd5, 0x8d, 0xaf, 0xfe, - 0x21, 0x61, 0x43, 0x08,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b7, 0xb3, 0xfb, 0xb6, 0x69, 0xb6, 0xba, - 0x56, 0xa7, 0xbb, 0xd9, 0x35, 0xad, 0xfd, 0x56, 0x67, 0xcf, 0xdc, 0x6e, 0xbc, 0x6c, 0x98, 0xf5, - 0xe2, 0x04, 0x9e, 0x46, 0x93, 0x82, 0x30, 0xeb, 0x45, 0x0d, 0x17, 0x10, 0xda, 0x6f, 0x8d, 0xbe, - 0x73, 0x5b, 0x45, 0x54, 0x38, 0x7b, 0xe0, 0x5b, 0x3f, 0x34, 0xb4, 0x6c, 0xb3, 0x40, 0xe5, 0x77, - 0x4f, 0x7b, 0xb7, 0x29, 0xcb, 0x2e, 0xf3, 0x49, 0xe8, 0xea, 0xac, 0xef, 0x1a, 0x2e, 0x0d, 0x21, - 0x1e, 0x43, 0x94, 0x48, 0xe4, 0xc5, 0x63, 0xff, 0xff, 0x36, 0xc4, 0xe7, 0xcf, 0xdc, 0xfc, 0x2b, - 0x00, 0x0f, 0xb7, 0x13, 0xe8, 0x70, 0x73, 0xc0, 0x59, 0xd3, 0x3f, 0x3c, 0x10, 0xd0, 0xef, 0xdc, - 0x92, 0xa8, 0xd6, 0x6a, 0x50, 0xae, 0xd5, 0xa0, 0xbe, 0x53, 0xab, 0x49, 0xa0, 0x77, 0x15, 0x86, - 0x3d, 0xfa, 0x13, 0x00, 0x00, 0xff, 0xff, 0x0c, 0x15, 0xad, 0xe6, 0x5b, 0x08, 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 deleted file mode 100644 index dda0d697..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/model_evaluation.pb.go +++ /dev/null @@ -1,310 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1beta1/model_evaluation.proto - -package automl - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Evaluation results of a model. -type ModelEvaluation struct { - // Output only. Problem type specific evaluation metrics. - // - // Types that are valid to be assigned to Metrics: - // *ModelEvaluation_ClassificationEvaluationMetrics - // *ModelEvaluation_RegressionEvaluationMetrics - // *ModelEvaluation_TranslationEvaluationMetrics - // *ModelEvaluation_ImageObjectDetectionEvaluationMetrics - // *ModelEvaluation_VideoObjectTrackingEvaluationMetrics - // *ModelEvaluation_TextSentimentEvaluationMetrics - // *ModelEvaluation_TextExtractionEvaluationMetrics - Metrics isModelEvaluation_Metrics `protobuf_oneof:"metrics"` - // Output only. Resource name of the model evaluation. - // Format: - // - // `projects/{project_id}/locations/{location_id}/models/{model_id}/modelEvaluations/{model_evaluation_id}` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Output only. The ID of the annotation spec that the model evaluation applies to. The - // The ID is empty for the overall model evaluation. - // For Tables annotation specs in the dataset do not exist and this ID is - // always not set, but for CLASSIFICATION - // - // [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type] - // the - // [display_name][google.cloud.automl.v1beta1.ModelEvaluation.display_name] - // field is used. - AnnotationSpecId string `protobuf:"bytes,2,opt,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"` - // Output only. The value of - // [display_name][google.cloud.automl.v1beta1.AnnotationSpec.display_name] at - // the moment when the model was trained. Because this field returns a value - // at model training time, for different models trained from the same dataset, - // the values may differ, since display names could had been changed between - // the two model's trainings. - // For Tables CLASSIFICATION - // - // [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type] - // distinct values of the target column at the moment of the model evaluation - // are populated here. - // The display_name is empty for the overall model evaluation. - DisplayName string `protobuf:"bytes,15,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Output only. Timestamp when this model evaluation was created. - CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Output only. The number of examples used for model evaluation, i.e. for - // which ground truth from time of model creation is compared against the - // predicted annotations created by the model. - // For overall ModelEvaluation (i.e. with annotation_spec_id not set) this is - // the total number of all examples used for evaluation. - // Otherwise, this is the count of examples that according to the ground - // truth were annotated by the - // - // [annotation_spec_id][google.cloud.automl.v1beta1.ModelEvaluation.annotation_spec_id]. - EvaluatedExampleCount int32 `protobuf:"varint,6,opt,name=evaluated_example_count,json=evaluatedExampleCount,proto3" json:"evaluated_example_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2d3cea51cfd5443a, []int{0} -} - -func (m *ModelEvaluation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ModelEvaluation.Unmarshal(m, b) -} -func (m *ModelEvaluation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ModelEvaluation.Marshal(b, m, deterministic) -} -func (m *ModelEvaluation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ModelEvaluation.Merge(m, src) -} -func (m *ModelEvaluation) XXX_Size() int { - return xxx_messageInfo_ModelEvaluation.Size(m) -} -func (m *ModelEvaluation) XXX_DiscardUnknown() { - xxx_messageInfo_ModelEvaluation.DiscardUnknown(m) -} - -var xxx_messageInfo_ModelEvaluation proto.InternalMessageInfo - -type isModelEvaluation_Metrics interface { - isModelEvaluation_Metrics() -} - -type ModelEvaluation_ClassificationEvaluationMetrics struct { - ClassificationEvaluationMetrics *ClassificationEvaluationMetrics `protobuf:"bytes,8,opt,name=classification_evaluation_metrics,json=classificationEvaluationMetrics,proto3,oneof"` -} - -type ModelEvaluation_RegressionEvaluationMetrics struct { - RegressionEvaluationMetrics *RegressionEvaluationMetrics `protobuf:"bytes,24,opt,name=regression_evaluation_metrics,json=regressionEvaluationMetrics,proto3,oneof"` -} - -type ModelEvaluation_TranslationEvaluationMetrics struct { - TranslationEvaluationMetrics *TranslationEvaluationMetrics `protobuf:"bytes,9,opt,name=translation_evaluation_metrics,json=translationEvaluationMetrics,proto3,oneof"` -} - -type ModelEvaluation_ImageObjectDetectionEvaluationMetrics struct { - ImageObjectDetectionEvaluationMetrics *ImageObjectDetectionEvaluationMetrics `protobuf:"bytes,12,opt,name=image_object_detection_evaluation_metrics,json=imageObjectDetectionEvaluationMetrics,proto3,oneof"` -} - -type ModelEvaluation_VideoObjectTrackingEvaluationMetrics struct { - VideoObjectTrackingEvaluationMetrics *VideoObjectTrackingEvaluationMetrics `protobuf:"bytes,14,opt,name=video_object_tracking_evaluation_metrics,json=videoObjectTrackingEvaluationMetrics,proto3,oneof"` -} - -type ModelEvaluation_TextSentimentEvaluationMetrics struct { - TextSentimentEvaluationMetrics *TextSentimentEvaluationMetrics `protobuf:"bytes,11,opt,name=text_sentiment_evaluation_metrics,json=textSentimentEvaluationMetrics,proto3,oneof"` -} - -type ModelEvaluation_TextExtractionEvaluationMetrics struct { - TextExtractionEvaluationMetrics *TextExtractionEvaluationMetrics `protobuf:"bytes,13,opt,name=text_extraction_evaluation_metrics,json=textExtractionEvaluationMetrics,proto3,oneof"` -} - -func (*ModelEvaluation_ClassificationEvaluationMetrics) isModelEvaluation_Metrics() {} - -func (*ModelEvaluation_RegressionEvaluationMetrics) isModelEvaluation_Metrics() {} - -func (*ModelEvaluation_TranslationEvaluationMetrics) isModelEvaluation_Metrics() {} - -func (*ModelEvaluation_ImageObjectDetectionEvaluationMetrics) isModelEvaluation_Metrics() {} - -func (*ModelEvaluation_VideoObjectTrackingEvaluationMetrics) isModelEvaluation_Metrics() {} - -func (*ModelEvaluation_TextSentimentEvaluationMetrics) isModelEvaluation_Metrics() {} - -func (*ModelEvaluation_TextExtractionEvaluationMetrics) isModelEvaluation_Metrics() {} - -func (m *ModelEvaluation) GetMetrics() isModelEvaluation_Metrics { - if m != nil { - return m.Metrics - } - return nil -} - -func (m *ModelEvaluation) GetClassificationEvaluationMetrics() *ClassificationEvaluationMetrics { - if x, ok := m.GetMetrics().(*ModelEvaluation_ClassificationEvaluationMetrics); ok { - return x.ClassificationEvaluationMetrics - } - return nil -} - -func (m *ModelEvaluation) GetRegressionEvaluationMetrics() *RegressionEvaluationMetrics { - if x, ok := m.GetMetrics().(*ModelEvaluation_RegressionEvaluationMetrics); ok { - return x.RegressionEvaluationMetrics - } - return nil -} - -func (m *ModelEvaluation) GetTranslationEvaluationMetrics() *TranslationEvaluationMetrics { - if x, ok := m.GetMetrics().(*ModelEvaluation_TranslationEvaluationMetrics); ok { - return x.TranslationEvaluationMetrics - } - return nil -} - -func (m *ModelEvaluation) GetImageObjectDetectionEvaluationMetrics() *ImageObjectDetectionEvaluationMetrics { - if x, ok := m.GetMetrics().(*ModelEvaluation_ImageObjectDetectionEvaluationMetrics); ok { - return x.ImageObjectDetectionEvaluationMetrics - } - return nil -} - -func (m *ModelEvaluation) GetVideoObjectTrackingEvaluationMetrics() *VideoObjectTrackingEvaluationMetrics { - if x, ok := m.GetMetrics().(*ModelEvaluation_VideoObjectTrackingEvaluationMetrics); ok { - return x.VideoObjectTrackingEvaluationMetrics - } - return nil -} - -func (m *ModelEvaluation) GetTextSentimentEvaluationMetrics() *TextSentimentEvaluationMetrics { - if x, ok := m.GetMetrics().(*ModelEvaluation_TextSentimentEvaluationMetrics); ok { - return x.TextSentimentEvaluationMetrics - } - return nil -} - -func (m *ModelEvaluation) GetTextExtractionEvaluationMetrics() *TextExtractionEvaluationMetrics { - if x, ok := m.GetMetrics().(*ModelEvaluation_TextExtractionEvaluationMetrics); ok { - return x.TextExtractionEvaluationMetrics - } - return nil -} - -func (m *ModelEvaluation) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ModelEvaluation) GetAnnotationSpecId() string { - if m != nil { - return m.AnnotationSpecId - } - return "" -} - -func (m *ModelEvaluation) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *ModelEvaluation) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *ModelEvaluation) GetEvaluatedExampleCount() int32 { - if m != nil { - return m.EvaluatedExampleCount - } - return 0 -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ModelEvaluation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ModelEvaluation_ClassificationEvaluationMetrics)(nil), - (*ModelEvaluation_RegressionEvaluationMetrics)(nil), - (*ModelEvaluation_TranslationEvaluationMetrics)(nil), - (*ModelEvaluation_ImageObjectDetectionEvaluationMetrics)(nil), - (*ModelEvaluation_VideoObjectTrackingEvaluationMetrics)(nil), - (*ModelEvaluation_TextSentimentEvaluationMetrics)(nil), - (*ModelEvaluation_TextExtractionEvaluationMetrics)(nil), - } -} - -func init() { - proto.RegisterType((*ModelEvaluation)(nil), "google.cloud.automl.v1beta1.ModelEvaluation") -} - -func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/model_evaluation.proto", fileDescriptor_2d3cea51cfd5443a) -} - -var fileDescriptor_2d3cea51cfd5443a = []byte{ - // 651 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0xdf, 0x6a, 0x14, 0x31, - 0x14, 0xc6, 0x4d, 0xb1, 0xd5, 0xcd, 0x56, 0x2b, 0x01, 0x71, 0x69, 0x6b, 0xff, 0xa1, 0xb0, 0x62, - 0x9d, 0x69, 0x2b, 0x88, 0x6e, 0xbd, 0x69, 0x6b, 0xd1, 0x82, 0x55, 0xd9, 0x96, 0x5e, 0x48, 0x61, - 0xc8, 0x66, 0x4e, 0x87, 0x68, 0x66, 0x32, 0x4c, 0xb2, 0xcb, 0x7a, 0x23, 0x78, 0x27, 0xfa, 0x08, - 0x82, 0x77, 0xbe, 0x8c, 0x2f, 0xe1, 0xbd, 0x4f, 0x21, 0x93, 0xc9, 0xee, 0x4e, 0x25, 0xc6, 0xde, - 0xed, 0xcc, 0xf7, 0x9d, 0x6f, 0x7e, 0x39, 0x67, 0x73, 0xf0, 0x56, 0x22, 0x65, 0x22, 0x20, 0x64, - 0x42, 0xf6, 0xe3, 0x90, 0xf6, 0xb5, 0x4c, 0x45, 0x38, 0xd8, 0xec, 0x81, 0xa6, 0x9b, 0x61, 0x2a, - 0x63, 0x10, 0x11, 0x0c, 0xa8, 0xe8, 0x53, 0xcd, 0x65, 0x16, 0xe4, 0x85, 0xd4, 0x92, 0x2c, 0x54, - 0x35, 0x81, 0xa9, 0x09, 0xaa, 0x9a, 0xc0, 0xd6, 0xcc, 0x6f, 0xf8, 0x02, 0x99, 0xa0, 0x4a, 0xf1, - 0x33, 0xce, 0x6a, 0x71, 0xf3, 0xf7, 0x7d, 0x15, 0x31, 0x68, 0x60, 0x35, 0xf3, 0xba, 0xcf, 0x5c, - 0x40, 0x52, 0x80, 0x52, 0x13, 0x77, 0xdb, 0xe7, 0xd6, 0xb4, 0x27, 0x40, 0x59, 0xe7, 0xa6, 0xd7, - 0x09, 0x43, 0x1d, 0xc1, 0x50, 0x17, 0xb4, 0x8e, 0xb2, 0xf1, 0xdf, 0x12, 0x05, 0x99, 0xe6, 0x29, - 0x64, 0xda, 0x56, 0x3c, 0xf0, 0x56, 0x14, 0x34, 0x53, 0xa2, 0xde, 0x98, 0x65, 0x6b, 0x37, 0x4f, - 0xbd, 0xfe, 0x59, 0x58, 0x86, 0x29, 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 0x96, 0x04, 0xb2, 0x48, 0xc2, 0x04, 0x32, 0x43, 0x17, 0x56, 0x12, 0xcd, 0xb9, - 0x72, 0x2e, 0xe5, 0xed, 0xea, 0xf1, 0xe7, 0xd4, 0xc2, 0x73, 0x63, 0x3c, 0xdd, 0x2b, 0x4d, 0xa7, - 0x3b, 0x7d, 0x2d, 0x0f, 0xc5, 0xe9, 0x49, 0x65, 0xfa, 0x3d, 0xb5, 0x54, 0xa9, 0x9d, 0x8e, 0x91, - 0x3b, 0x1d, 0xa3, 0xbf, 0xec, 0x74, 0xac, 0xa1, 0x37, 0x63, 0x3e, 0xf6, 0xf0, 0x4f, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x1e, 0x8c, 0x9f, 0x9c, 0x6d, 0x07, 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 deleted file mode 100644 index 5eb554ec..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/operations.pb.go +++ /dev/null @@ -1,956 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1beta1/operations.proto - -package automl - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/empty" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Metadata used across all long running operations returned by AutoML API. -type OperationMetadata struct { - // Ouptut only. Details of specific operation. Even if this field is empty, - // the presence allows to distinguish different types of operations. - // - // Types that are valid to be assigned to Details: - // *OperationMetadata_DeleteDetails - // *OperationMetadata_DeployModelDetails - // *OperationMetadata_UndeployModelDetails - // *OperationMetadata_CreateModelDetails - // *OperationMetadata_ImportDataDetails - // *OperationMetadata_BatchPredictDetails - // *OperationMetadata_ExportDataDetails - // *OperationMetadata_ExportModelDetails - // *OperationMetadata_ExportEvaluatedExamplesDetails - Details isOperationMetadata_Details `protobuf_oneof:"details"` - // Output only. Progress of operation. Range: [0, 100]. - // Not used currently. - ProgressPercent int32 `protobuf:"varint,13,opt,name=progress_percent,json=progressPercent,proto3" json:"progress_percent,omitempty"` - // Output only. Partial failures encountered. - // E.g. single files that couldn't be read. - // This field should never exceed 20 entries. - // Status details field will contain standard GCP error details. - PartialFailures []*status.Status `protobuf:"bytes,2,rep,name=partial_failures,json=partialFailures,proto3" json:"partial_failures,omitempty"` - // Output only. Time when the operation was created. - CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Output only. Time when the operation was updated for the last time. - 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 *OperationMetadata) Reset() { *m = OperationMetadata{} } -func (m *OperationMetadata) String() string { return proto.CompactTextString(m) } -func (*OperationMetadata) ProtoMessage() {} -func (*OperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_07afd87baa9bfac3, []int{0} -} - -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 (m *OperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperationMetadata.Merge(m, 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 - -type isOperationMetadata_Details interface { - isOperationMetadata_Details() -} - -type OperationMetadata_DeleteDetails struct { - DeleteDetails *DeleteOperationMetadata `protobuf:"bytes,8,opt,name=delete_details,json=deleteDetails,proto3,oneof"` -} - -type OperationMetadata_DeployModelDetails struct { - DeployModelDetails *DeployModelOperationMetadata `protobuf:"bytes,24,opt,name=deploy_model_details,json=deployModelDetails,proto3,oneof"` -} - -type OperationMetadata_UndeployModelDetails struct { - UndeployModelDetails *UndeployModelOperationMetadata `protobuf:"bytes,25,opt,name=undeploy_model_details,json=undeployModelDetails,proto3,oneof"` -} - -type OperationMetadata_CreateModelDetails struct { - CreateModelDetails *CreateModelOperationMetadata `protobuf:"bytes,10,opt,name=create_model_details,json=createModelDetails,proto3,oneof"` -} - -type OperationMetadata_ImportDataDetails struct { - ImportDataDetails *ImportDataOperationMetadata `protobuf:"bytes,15,opt,name=import_data_details,json=importDataDetails,proto3,oneof"` -} - -type OperationMetadata_BatchPredictDetails struct { - BatchPredictDetails *BatchPredictOperationMetadata `protobuf:"bytes,16,opt,name=batch_predict_details,json=batchPredictDetails,proto3,oneof"` -} - -type OperationMetadata_ExportDataDetails struct { - ExportDataDetails *ExportDataOperationMetadata `protobuf:"bytes,21,opt,name=export_data_details,json=exportDataDetails,proto3,oneof"` -} - -type OperationMetadata_ExportModelDetails struct { - ExportModelDetails *ExportModelOperationMetadata `protobuf:"bytes,22,opt,name=export_model_details,json=exportModelDetails,proto3,oneof"` -} - -type OperationMetadata_ExportEvaluatedExamplesDetails struct { - ExportEvaluatedExamplesDetails *ExportEvaluatedExamplesOperationMetadata `protobuf:"bytes,26,opt,name=export_evaluated_examples_details,json=exportEvaluatedExamplesDetails,proto3,oneof"` -} - -func (*OperationMetadata_DeleteDetails) isOperationMetadata_Details() {} - -func (*OperationMetadata_DeployModelDetails) isOperationMetadata_Details() {} - -func (*OperationMetadata_UndeployModelDetails) isOperationMetadata_Details() {} - -func (*OperationMetadata_CreateModelDetails) isOperationMetadata_Details() {} - -func (*OperationMetadata_ImportDataDetails) isOperationMetadata_Details() {} - -func (*OperationMetadata_BatchPredictDetails) isOperationMetadata_Details() {} - -func (*OperationMetadata_ExportDataDetails) isOperationMetadata_Details() {} - -func (*OperationMetadata_ExportModelDetails) isOperationMetadata_Details() {} - -func (*OperationMetadata_ExportEvaluatedExamplesDetails) isOperationMetadata_Details() {} - -func (m *OperationMetadata) GetDetails() isOperationMetadata_Details { - if m != nil { - return m.Details - } - return nil -} - -func (m *OperationMetadata) GetDeleteDetails() *DeleteOperationMetadata { - if x, ok := m.GetDetails().(*OperationMetadata_DeleteDetails); ok { - return x.DeleteDetails - } - return nil -} - -func (m *OperationMetadata) GetDeployModelDetails() *DeployModelOperationMetadata { - if x, ok := m.GetDetails().(*OperationMetadata_DeployModelDetails); ok { - return x.DeployModelDetails - } - return nil -} - -func (m *OperationMetadata) GetUndeployModelDetails() *UndeployModelOperationMetadata { - if x, ok := m.GetDetails().(*OperationMetadata_UndeployModelDetails); ok { - return x.UndeployModelDetails - } - return nil -} - -func (m *OperationMetadata) GetCreateModelDetails() *CreateModelOperationMetadata { - if x, ok := m.GetDetails().(*OperationMetadata_CreateModelDetails); ok { - return x.CreateModelDetails - } - return nil -} - -func (m *OperationMetadata) GetImportDataDetails() *ImportDataOperationMetadata { - if x, ok := m.GetDetails().(*OperationMetadata_ImportDataDetails); ok { - return x.ImportDataDetails - } - return nil -} - -func (m *OperationMetadata) GetBatchPredictDetails() *BatchPredictOperationMetadata { - if x, ok := m.GetDetails().(*OperationMetadata_BatchPredictDetails); ok { - return x.BatchPredictDetails - } - return nil -} - -func (m *OperationMetadata) GetExportDataDetails() *ExportDataOperationMetadata { - if x, ok := m.GetDetails().(*OperationMetadata_ExportDataDetails); ok { - return x.ExportDataDetails - } - return nil -} - -func (m *OperationMetadata) GetExportModelDetails() *ExportModelOperationMetadata { - if x, ok := m.GetDetails().(*OperationMetadata_ExportModelDetails); ok { - return x.ExportModelDetails - } - return nil -} - -func (m *OperationMetadata) GetExportEvaluatedExamplesDetails() *ExportEvaluatedExamplesOperationMetadata { - if x, ok := m.GetDetails().(*OperationMetadata_ExportEvaluatedExamplesDetails); ok { - return x.ExportEvaluatedExamplesDetails - } - return nil -} - -func (m *OperationMetadata) GetProgressPercent() int32 { - if m != nil { - return m.ProgressPercent - } - return 0 -} - -func (m *OperationMetadata) GetPartialFailures() []*status.Status { - if m != nil { - return m.PartialFailures - } - return nil -} - -func (m *OperationMetadata) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *OperationMetadata) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*OperationMetadata) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*OperationMetadata_DeleteDetails)(nil), - (*OperationMetadata_DeployModelDetails)(nil), - (*OperationMetadata_UndeployModelDetails)(nil), - (*OperationMetadata_CreateModelDetails)(nil), - (*OperationMetadata_ImportDataDetails)(nil), - (*OperationMetadata_BatchPredictDetails)(nil), - (*OperationMetadata_ExportDataDetails)(nil), - (*OperationMetadata_ExportModelDetails)(nil), - (*OperationMetadata_ExportEvaluatedExamplesDetails)(nil), - } -} - -// Details of operations that perform deletes of any entities. -type DeleteOperationMetadata struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DeleteOperationMetadata) Reset() { *m = DeleteOperationMetadata{} } -func (m *DeleteOperationMetadata) String() string { return proto.CompactTextString(m) } -func (*DeleteOperationMetadata) ProtoMessage() {} -func (*DeleteOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_07afd87baa9bfac3, []int{1} -} - -func (m *DeleteOperationMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteOperationMetadata.Unmarshal(m, b) -} -func (m *DeleteOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteOperationMetadata.Marshal(b, m, deterministic) -} -func (m *DeleteOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteOperationMetadata.Merge(m, src) -} -func (m *DeleteOperationMetadata) XXX_Size() int { - return xxx_messageInfo_DeleteOperationMetadata.Size(m) -} -func (m *DeleteOperationMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteOperationMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteOperationMetadata proto.InternalMessageInfo - -// Details of DeployModel operation. -type DeployModelOperationMetadata struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DeployModelOperationMetadata) Reset() { *m = DeployModelOperationMetadata{} } -func (m *DeployModelOperationMetadata) String() string { return proto.CompactTextString(m) } -func (*DeployModelOperationMetadata) ProtoMessage() {} -func (*DeployModelOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_07afd87baa9bfac3, []int{2} -} - -func (m *DeployModelOperationMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeployModelOperationMetadata.Unmarshal(m, b) -} -func (m *DeployModelOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeployModelOperationMetadata.Marshal(b, m, deterministic) -} -func (m *DeployModelOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeployModelOperationMetadata.Merge(m, src) -} -func (m *DeployModelOperationMetadata) XXX_Size() int { - return xxx_messageInfo_DeployModelOperationMetadata.Size(m) -} -func (m *DeployModelOperationMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_DeployModelOperationMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_DeployModelOperationMetadata proto.InternalMessageInfo - -// Details of UndeployModel operation. -type UndeployModelOperationMetadata struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UndeployModelOperationMetadata) Reset() { *m = UndeployModelOperationMetadata{} } -func (m *UndeployModelOperationMetadata) String() string { return proto.CompactTextString(m) } -func (*UndeployModelOperationMetadata) ProtoMessage() {} -func (*UndeployModelOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_07afd87baa9bfac3, []int{3} -} - -func (m *UndeployModelOperationMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UndeployModelOperationMetadata.Unmarshal(m, b) -} -func (m *UndeployModelOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UndeployModelOperationMetadata.Marshal(b, m, deterministic) -} -func (m *UndeployModelOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_UndeployModelOperationMetadata.Merge(m, src) -} -func (m *UndeployModelOperationMetadata) XXX_Size() int { - return xxx_messageInfo_UndeployModelOperationMetadata.Size(m) -} -func (m *UndeployModelOperationMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_UndeployModelOperationMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_UndeployModelOperationMetadata proto.InternalMessageInfo - -// Details of CreateModel operation. -type CreateModelOperationMetadata struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateModelOperationMetadata) Reset() { *m = CreateModelOperationMetadata{} } -func (m *CreateModelOperationMetadata) String() string { return proto.CompactTextString(m) } -func (*CreateModelOperationMetadata) ProtoMessage() {} -func (*CreateModelOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_07afd87baa9bfac3, []int{4} -} - -func (m *CreateModelOperationMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateModelOperationMetadata.Unmarshal(m, b) -} -func (m *CreateModelOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateModelOperationMetadata.Marshal(b, m, deterministic) -} -func (m *CreateModelOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateModelOperationMetadata.Merge(m, src) -} -func (m *CreateModelOperationMetadata) XXX_Size() int { - return xxx_messageInfo_CreateModelOperationMetadata.Size(m) -} -func (m *CreateModelOperationMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_CreateModelOperationMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateModelOperationMetadata proto.InternalMessageInfo - -// Details of ImportData operation. -type ImportDataOperationMetadata struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ImportDataOperationMetadata) Reset() { *m = ImportDataOperationMetadata{} } -func (m *ImportDataOperationMetadata) String() string { return proto.CompactTextString(m) } -func (*ImportDataOperationMetadata) ProtoMessage() {} -func (*ImportDataOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_07afd87baa9bfac3, []int{5} -} - -func (m *ImportDataOperationMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImportDataOperationMetadata.Unmarshal(m, b) -} -func (m *ImportDataOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImportDataOperationMetadata.Marshal(b, m, deterministic) -} -func (m *ImportDataOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportDataOperationMetadata.Merge(m, src) -} -func (m *ImportDataOperationMetadata) XXX_Size() int { - return xxx_messageInfo_ImportDataOperationMetadata.Size(m) -} -func (m *ImportDataOperationMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_ImportDataOperationMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_ImportDataOperationMetadata proto.InternalMessageInfo - -// Details of ExportData operation. -type ExportDataOperationMetadata struct { - // Output only. Information further describing this export data's output. - OutputInfo *ExportDataOperationMetadata_ExportDataOutputInfo `protobuf:"bytes,1,opt,name=output_info,json=outputInfo,proto3" json:"output_info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExportDataOperationMetadata) Reset() { *m = ExportDataOperationMetadata{} } -func (m *ExportDataOperationMetadata) String() string { return proto.CompactTextString(m) } -func (*ExportDataOperationMetadata) ProtoMessage() {} -func (*ExportDataOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_07afd87baa9bfac3, []int{6} -} - -func (m *ExportDataOperationMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExportDataOperationMetadata.Unmarshal(m, b) -} -func (m *ExportDataOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExportDataOperationMetadata.Marshal(b, m, deterministic) -} -func (m *ExportDataOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportDataOperationMetadata.Merge(m, src) -} -func (m *ExportDataOperationMetadata) XXX_Size() int { - return xxx_messageInfo_ExportDataOperationMetadata.Size(m) -} -func (m *ExportDataOperationMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_ExportDataOperationMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_ExportDataOperationMetadata proto.InternalMessageInfo - -func (m *ExportDataOperationMetadata) GetOutputInfo() *ExportDataOperationMetadata_ExportDataOutputInfo { - if m != nil { - return m.OutputInfo - } - return nil -} - -// Further describes this export data's output. -// Supplements -// [OutputConfig][google.cloud.automl.v1beta1.OutputConfig]. -type ExportDataOperationMetadata_ExportDataOutputInfo struct { - // The output location to which the exported data is written. - // - // Types that are valid to be assigned to OutputLocation: - // *ExportDataOperationMetadata_ExportDataOutputInfo_GcsOutputDirectory - // *ExportDataOperationMetadata_ExportDataOutputInfo_BigqueryOutputDataset - OutputLocation isExportDataOperationMetadata_ExportDataOutputInfo_OutputLocation `protobuf_oneof:"output_location"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExportDataOperationMetadata_ExportDataOutputInfo) Reset() { - *m = ExportDataOperationMetadata_ExportDataOutputInfo{} -} -func (m *ExportDataOperationMetadata_ExportDataOutputInfo) String() string { - return proto.CompactTextString(m) -} -func (*ExportDataOperationMetadata_ExportDataOutputInfo) ProtoMessage() {} -func (*ExportDataOperationMetadata_ExportDataOutputInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_07afd87baa9bfac3, []int{6, 0} -} - -func (m *ExportDataOperationMetadata_ExportDataOutputInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExportDataOperationMetadata_ExportDataOutputInfo.Unmarshal(m, b) -} -func (m *ExportDataOperationMetadata_ExportDataOutputInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExportDataOperationMetadata_ExportDataOutputInfo.Marshal(b, m, deterministic) -} -func (m *ExportDataOperationMetadata_ExportDataOutputInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportDataOperationMetadata_ExportDataOutputInfo.Merge(m, src) -} -func (m *ExportDataOperationMetadata_ExportDataOutputInfo) XXX_Size() int { - return xxx_messageInfo_ExportDataOperationMetadata_ExportDataOutputInfo.Size(m) -} -func (m *ExportDataOperationMetadata_ExportDataOutputInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ExportDataOperationMetadata_ExportDataOutputInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_ExportDataOperationMetadata_ExportDataOutputInfo proto.InternalMessageInfo - -type isExportDataOperationMetadata_ExportDataOutputInfo_OutputLocation interface { - isExportDataOperationMetadata_ExportDataOutputInfo_OutputLocation() -} - -type ExportDataOperationMetadata_ExportDataOutputInfo_GcsOutputDirectory struct { - GcsOutputDirectory string `protobuf:"bytes,1,opt,name=gcs_output_directory,json=gcsOutputDirectory,proto3,oneof"` -} - -type ExportDataOperationMetadata_ExportDataOutputInfo_BigqueryOutputDataset struct { - BigqueryOutputDataset string `protobuf:"bytes,2,opt,name=bigquery_output_dataset,json=bigqueryOutputDataset,proto3,oneof"` -} - -func (*ExportDataOperationMetadata_ExportDataOutputInfo_GcsOutputDirectory) isExportDataOperationMetadata_ExportDataOutputInfo_OutputLocation() { -} - -func (*ExportDataOperationMetadata_ExportDataOutputInfo_BigqueryOutputDataset) isExportDataOperationMetadata_ExportDataOutputInfo_OutputLocation() { -} - -func (m *ExportDataOperationMetadata_ExportDataOutputInfo) GetOutputLocation() isExportDataOperationMetadata_ExportDataOutputInfo_OutputLocation { - if m != nil { - return m.OutputLocation - } - return nil -} - -func (m *ExportDataOperationMetadata_ExportDataOutputInfo) GetGcsOutputDirectory() string { - if x, ok := m.GetOutputLocation().(*ExportDataOperationMetadata_ExportDataOutputInfo_GcsOutputDirectory); ok { - return x.GcsOutputDirectory - } - return "" -} - -func (m *ExportDataOperationMetadata_ExportDataOutputInfo) GetBigqueryOutputDataset() string { - if x, ok := m.GetOutputLocation().(*ExportDataOperationMetadata_ExportDataOutputInfo_BigqueryOutputDataset); ok { - return x.BigqueryOutputDataset - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ExportDataOperationMetadata_ExportDataOutputInfo) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ExportDataOperationMetadata_ExportDataOutputInfo_GcsOutputDirectory)(nil), - (*ExportDataOperationMetadata_ExportDataOutputInfo_BigqueryOutputDataset)(nil), - } -} - -// Details of BatchPredict operation. -type BatchPredictOperationMetadata struct { - // Output only. The input config that was given upon starting this - // batch predict operation. - InputConfig *BatchPredictInputConfig `protobuf:"bytes,1,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"` - // Output only. Information further describing this batch predict's output. - OutputInfo *BatchPredictOperationMetadata_BatchPredictOutputInfo `protobuf:"bytes,2,opt,name=output_info,json=outputInfo,proto3" json:"output_info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchPredictOperationMetadata) Reset() { *m = BatchPredictOperationMetadata{} } -func (m *BatchPredictOperationMetadata) String() string { return proto.CompactTextString(m) } -func (*BatchPredictOperationMetadata) ProtoMessage() {} -func (*BatchPredictOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_07afd87baa9bfac3, []int{7} -} - -func (m *BatchPredictOperationMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchPredictOperationMetadata.Unmarshal(m, b) -} -func (m *BatchPredictOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchPredictOperationMetadata.Marshal(b, m, deterministic) -} -func (m *BatchPredictOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchPredictOperationMetadata.Merge(m, src) -} -func (m *BatchPredictOperationMetadata) XXX_Size() int { - return xxx_messageInfo_BatchPredictOperationMetadata.Size(m) -} -func (m *BatchPredictOperationMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_BatchPredictOperationMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchPredictOperationMetadata proto.InternalMessageInfo - -func (m *BatchPredictOperationMetadata) GetInputConfig() *BatchPredictInputConfig { - if m != nil { - return m.InputConfig - } - return nil -} - -func (m *BatchPredictOperationMetadata) GetOutputInfo() *BatchPredictOperationMetadata_BatchPredictOutputInfo { - if m != nil { - return m.OutputInfo - } - return nil -} - -// Further describes this batch predict's output. -// Supplements -// -// [BatchPredictOutputConfig][google.cloud.automl.v1beta1.BatchPredictOutputConfig]. -type BatchPredictOperationMetadata_BatchPredictOutputInfo struct { - // The output location into which prediction output is written. - // - // Types that are valid to be assigned to OutputLocation: - // *BatchPredictOperationMetadata_BatchPredictOutputInfo_GcsOutputDirectory - // *BatchPredictOperationMetadata_BatchPredictOutputInfo_BigqueryOutputDataset - OutputLocation isBatchPredictOperationMetadata_BatchPredictOutputInfo_OutputLocation `protobuf_oneof:"output_location"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchPredictOperationMetadata_BatchPredictOutputInfo) Reset() { - *m = BatchPredictOperationMetadata_BatchPredictOutputInfo{} -} -func (m *BatchPredictOperationMetadata_BatchPredictOutputInfo) String() string { - return proto.CompactTextString(m) -} -func (*BatchPredictOperationMetadata_BatchPredictOutputInfo) ProtoMessage() {} -func (*BatchPredictOperationMetadata_BatchPredictOutputInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_07afd87baa9bfac3, []int{7, 0} -} - -func (m *BatchPredictOperationMetadata_BatchPredictOutputInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchPredictOperationMetadata_BatchPredictOutputInfo.Unmarshal(m, b) -} -func (m *BatchPredictOperationMetadata_BatchPredictOutputInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchPredictOperationMetadata_BatchPredictOutputInfo.Marshal(b, m, deterministic) -} -func (m *BatchPredictOperationMetadata_BatchPredictOutputInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchPredictOperationMetadata_BatchPredictOutputInfo.Merge(m, src) -} -func (m *BatchPredictOperationMetadata_BatchPredictOutputInfo) XXX_Size() int { - return xxx_messageInfo_BatchPredictOperationMetadata_BatchPredictOutputInfo.Size(m) -} -func (m *BatchPredictOperationMetadata_BatchPredictOutputInfo) XXX_DiscardUnknown() { - xxx_messageInfo_BatchPredictOperationMetadata_BatchPredictOutputInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchPredictOperationMetadata_BatchPredictOutputInfo proto.InternalMessageInfo - -type isBatchPredictOperationMetadata_BatchPredictOutputInfo_OutputLocation interface { - isBatchPredictOperationMetadata_BatchPredictOutputInfo_OutputLocation() -} - -type BatchPredictOperationMetadata_BatchPredictOutputInfo_GcsOutputDirectory struct { - GcsOutputDirectory string `protobuf:"bytes,1,opt,name=gcs_output_directory,json=gcsOutputDirectory,proto3,oneof"` -} - -type BatchPredictOperationMetadata_BatchPredictOutputInfo_BigqueryOutputDataset struct { - BigqueryOutputDataset string `protobuf:"bytes,2,opt,name=bigquery_output_dataset,json=bigqueryOutputDataset,proto3,oneof"` -} - -func (*BatchPredictOperationMetadata_BatchPredictOutputInfo_GcsOutputDirectory) isBatchPredictOperationMetadata_BatchPredictOutputInfo_OutputLocation() { -} - -func (*BatchPredictOperationMetadata_BatchPredictOutputInfo_BigqueryOutputDataset) isBatchPredictOperationMetadata_BatchPredictOutputInfo_OutputLocation() { -} - -func (m *BatchPredictOperationMetadata_BatchPredictOutputInfo) GetOutputLocation() isBatchPredictOperationMetadata_BatchPredictOutputInfo_OutputLocation { - if m != nil { - return m.OutputLocation - } - return nil -} - -func (m *BatchPredictOperationMetadata_BatchPredictOutputInfo) GetGcsOutputDirectory() string { - if x, ok := m.GetOutputLocation().(*BatchPredictOperationMetadata_BatchPredictOutputInfo_GcsOutputDirectory); ok { - return x.GcsOutputDirectory - } - return "" -} - -func (m *BatchPredictOperationMetadata_BatchPredictOutputInfo) GetBigqueryOutputDataset() string { - if x, ok := m.GetOutputLocation().(*BatchPredictOperationMetadata_BatchPredictOutputInfo_BigqueryOutputDataset); ok { - return x.BigqueryOutputDataset - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*BatchPredictOperationMetadata_BatchPredictOutputInfo) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*BatchPredictOperationMetadata_BatchPredictOutputInfo_GcsOutputDirectory)(nil), - (*BatchPredictOperationMetadata_BatchPredictOutputInfo_BigqueryOutputDataset)(nil), - } -} - -// Details of ExportModel operation. -type ExportModelOperationMetadata struct { - // Output only. Information further describing the output of this model - // export. - OutputInfo *ExportModelOperationMetadata_ExportModelOutputInfo `protobuf:"bytes,2,opt,name=output_info,json=outputInfo,proto3" json:"output_info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExportModelOperationMetadata) Reset() { *m = ExportModelOperationMetadata{} } -func (m *ExportModelOperationMetadata) String() string { return proto.CompactTextString(m) } -func (*ExportModelOperationMetadata) ProtoMessage() {} -func (*ExportModelOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_07afd87baa9bfac3, []int{8} -} - -func (m *ExportModelOperationMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExportModelOperationMetadata.Unmarshal(m, b) -} -func (m *ExportModelOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExportModelOperationMetadata.Marshal(b, m, deterministic) -} -func (m *ExportModelOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportModelOperationMetadata.Merge(m, src) -} -func (m *ExportModelOperationMetadata) XXX_Size() int { - return xxx_messageInfo_ExportModelOperationMetadata.Size(m) -} -func (m *ExportModelOperationMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_ExportModelOperationMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_ExportModelOperationMetadata proto.InternalMessageInfo - -func (m *ExportModelOperationMetadata) GetOutputInfo() *ExportModelOperationMetadata_ExportModelOutputInfo { - if m != nil { - return m.OutputInfo - } - return nil -} - -// Further describes the output of model export. -// Supplements -// -// [ModelExportOutputConfig][google.cloud.automl.v1beta1.ModelExportOutputConfig]. -type ExportModelOperationMetadata_ExportModelOutputInfo struct { - // The full path of the Google Cloud Storage directory created, into which - // the model will be exported. - GcsOutputDirectory string `protobuf:"bytes,1,opt,name=gcs_output_directory,json=gcsOutputDirectory,proto3" json:"gcs_output_directory,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExportModelOperationMetadata_ExportModelOutputInfo) Reset() { - *m = ExportModelOperationMetadata_ExportModelOutputInfo{} -} -func (m *ExportModelOperationMetadata_ExportModelOutputInfo) String() string { - return proto.CompactTextString(m) -} -func (*ExportModelOperationMetadata_ExportModelOutputInfo) ProtoMessage() {} -func (*ExportModelOperationMetadata_ExportModelOutputInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_07afd87baa9bfac3, []int{8, 0} -} - -func (m *ExportModelOperationMetadata_ExportModelOutputInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExportModelOperationMetadata_ExportModelOutputInfo.Unmarshal(m, b) -} -func (m *ExportModelOperationMetadata_ExportModelOutputInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExportModelOperationMetadata_ExportModelOutputInfo.Marshal(b, m, deterministic) -} -func (m *ExportModelOperationMetadata_ExportModelOutputInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportModelOperationMetadata_ExportModelOutputInfo.Merge(m, src) -} -func (m *ExportModelOperationMetadata_ExportModelOutputInfo) XXX_Size() int { - return xxx_messageInfo_ExportModelOperationMetadata_ExportModelOutputInfo.Size(m) -} -func (m *ExportModelOperationMetadata_ExportModelOutputInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ExportModelOperationMetadata_ExportModelOutputInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_ExportModelOperationMetadata_ExportModelOutputInfo proto.InternalMessageInfo - -func (m *ExportModelOperationMetadata_ExportModelOutputInfo) GetGcsOutputDirectory() string { - if m != nil { - return m.GcsOutputDirectory - } - return "" -} - -// Details of EvaluatedExamples operation. -type ExportEvaluatedExamplesOperationMetadata struct { - // Output only. Information further describing the output of this evaluated - // examples export. - OutputInfo *ExportEvaluatedExamplesOperationMetadata_ExportEvaluatedExamplesOutputInfo `protobuf:"bytes,2,opt,name=output_info,json=outputInfo,proto3" json:"output_info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExportEvaluatedExamplesOperationMetadata) Reset() { - *m = ExportEvaluatedExamplesOperationMetadata{} -} -func (m *ExportEvaluatedExamplesOperationMetadata) String() string { return proto.CompactTextString(m) } -func (*ExportEvaluatedExamplesOperationMetadata) ProtoMessage() {} -func (*ExportEvaluatedExamplesOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_07afd87baa9bfac3, []int{9} -} - -func (m *ExportEvaluatedExamplesOperationMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExportEvaluatedExamplesOperationMetadata.Unmarshal(m, b) -} -func (m *ExportEvaluatedExamplesOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExportEvaluatedExamplesOperationMetadata.Marshal(b, m, deterministic) -} -func (m *ExportEvaluatedExamplesOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportEvaluatedExamplesOperationMetadata.Merge(m, src) -} -func (m *ExportEvaluatedExamplesOperationMetadata) XXX_Size() int { - return xxx_messageInfo_ExportEvaluatedExamplesOperationMetadata.Size(m) -} -func (m *ExportEvaluatedExamplesOperationMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_ExportEvaluatedExamplesOperationMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_ExportEvaluatedExamplesOperationMetadata proto.InternalMessageInfo - -func (m *ExportEvaluatedExamplesOperationMetadata) GetOutputInfo() *ExportEvaluatedExamplesOperationMetadata_ExportEvaluatedExamplesOutputInfo { - if m != nil { - return m.OutputInfo - } - return nil -} - -// Further describes the output of the evaluated examples export. -// Supplements -// -// [ExportEvaluatedExamplesOutputConfig][google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig]. -type ExportEvaluatedExamplesOperationMetadata_ExportEvaluatedExamplesOutputInfo struct { - // The path of the BigQuery dataset created, in bq://projectId.bqDatasetId - // format, into which the output of export evaluated examples is written. - BigqueryOutputDataset string `protobuf:"bytes,2,opt,name=bigquery_output_dataset,json=bigqueryOutputDataset,proto3" json:"bigquery_output_dataset,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExportEvaluatedExamplesOperationMetadata_ExportEvaluatedExamplesOutputInfo) Reset() { - *m = ExportEvaluatedExamplesOperationMetadata_ExportEvaluatedExamplesOutputInfo{} -} -func (m *ExportEvaluatedExamplesOperationMetadata_ExportEvaluatedExamplesOutputInfo) String() string { - return proto.CompactTextString(m) -} -func (*ExportEvaluatedExamplesOperationMetadata_ExportEvaluatedExamplesOutputInfo) ProtoMessage() {} -func (*ExportEvaluatedExamplesOperationMetadata_ExportEvaluatedExamplesOutputInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_07afd87baa9bfac3, []int{9, 0} -} - -func (m *ExportEvaluatedExamplesOperationMetadata_ExportEvaluatedExamplesOutputInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExportEvaluatedExamplesOperationMetadata_ExportEvaluatedExamplesOutputInfo.Unmarshal(m, b) -} -func (m *ExportEvaluatedExamplesOperationMetadata_ExportEvaluatedExamplesOutputInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExportEvaluatedExamplesOperationMetadata_ExportEvaluatedExamplesOutputInfo.Marshal(b, m, deterministic) -} -func (m *ExportEvaluatedExamplesOperationMetadata_ExportEvaluatedExamplesOutputInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportEvaluatedExamplesOperationMetadata_ExportEvaluatedExamplesOutputInfo.Merge(m, src) -} -func (m *ExportEvaluatedExamplesOperationMetadata_ExportEvaluatedExamplesOutputInfo) XXX_Size() int { - return xxx_messageInfo_ExportEvaluatedExamplesOperationMetadata_ExportEvaluatedExamplesOutputInfo.Size(m) -} -func (m *ExportEvaluatedExamplesOperationMetadata_ExportEvaluatedExamplesOutputInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ExportEvaluatedExamplesOperationMetadata_ExportEvaluatedExamplesOutputInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_ExportEvaluatedExamplesOperationMetadata_ExportEvaluatedExamplesOutputInfo proto.InternalMessageInfo - -func (m *ExportEvaluatedExamplesOperationMetadata_ExportEvaluatedExamplesOutputInfo) GetBigqueryOutputDataset() string { - if m != nil { - return m.BigqueryOutputDataset - } - return "" -} - -func init() { - proto.RegisterType((*OperationMetadata)(nil), "google.cloud.automl.v1beta1.OperationMetadata") - proto.RegisterType((*DeleteOperationMetadata)(nil), "google.cloud.automl.v1beta1.DeleteOperationMetadata") - proto.RegisterType((*DeployModelOperationMetadata)(nil), "google.cloud.automl.v1beta1.DeployModelOperationMetadata") - proto.RegisterType((*UndeployModelOperationMetadata)(nil), "google.cloud.automl.v1beta1.UndeployModelOperationMetadata") - proto.RegisterType((*CreateModelOperationMetadata)(nil), "google.cloud.automl.v1beta1.CreateModelOperationMetadata") - proto.RegisterType((*ImportDataOperationMetadata)(nil), "google.cloud.automl.v1beta1.ImportDataOperationMetadata") - proto.RegisterType((*ExportDataOperationMetadata)(nil), "google.cloud.automl.v1beta1.ExportDataOperationMetadata") - proto.RegisterType((*ExportDataOperationMetadata_ExportDataOutputInfo)(nil), "google.cloud.automl.v1beta1.ExportDataOperationMetadata.ExportDataOutputInfo") - proto.RegisterType((*BatchPredictOperationMetadata)(nil), "google.cloud.automl.v1beta1.BatchPredictOperationMetadata") - proto.RegisterType((*BatchPredictOperationMetadata_BatchPredictOutputInfo)(nil), "google.cloud.automl.v1beta1.BatchPredictOperationMetadata.BatchPredictOutputInfo") - proto.RegisterType((*ExportModelOperationMetadata)(nil), "google.cloud.automl.v1beta1.ExportModelOperationMetadata") - proto.RegisterType((*ExportModelOperationMetadata_ExportModelOutputInfo)(nil), "google.cloud.automl.v1beta1.ExportModelOperationMetadata.ExportModelOutputInfo") - proto.RegisterType((*ExportEvaluatedExamplesOperationMetadata)(nil), "google.cloud.automl.v1beta1.ExportEvaluatedExamplesOperationMetadata") - proto.RegisterType((*ExportEvaluatedExamplesOperationMetadata_ExportEvaluatedExamplesOutputInfo)(nil), "google.cloud.automl.v1beta1.ExportEvaluatedExamplesOperationMetadata.ExportEvaluatedExamplesOutputInfo") -} - -func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/operations.proto", fileDescriptor_07afd87baa9bfac3) -} - -var fileDescriptor_07afd87baa9bfac3 = []byte{ - // 902 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x56, 0xdd, 0x6e, 0x23, 0x35, - 0x18, 0x65, 0x52, 0xfe, 0xf6, 0x0b, 0x4b, 0x5b, 0x6f, 0xda, 0x66, 0xd3, 0x6e, 0xb7, 0x3b, 0x42, - 0xa2, 0x48, 0x68, 0x86, 0x2d, 0x2b, 0xb4, 0xa4, 0xe2, 0x62, 0xfb, 0x03, 0x54, 0xa2, 0xda, 0x12, - 0xfe, 0x24, 0x28, 0x1a, 0x39, 0x33, 0xce, 0x60, 0x34, 0x33, 0x36, 0x1e, 0xcf, 0xaa, 0xbd, 0xe5, - 0x6a, 0xaf, 0xf7, 0x06, 0xf1, 0x00, 0x88, 0x77, 0xe1, 0x15, 0x78, 0x03, 0x9e, 0x02, 0x8d, 0xed, - 0x49, 0x93, 0xae, 0xe3, 0x44, 0x15, 0x12, 0x77, 0x19, 0x9f, 0x73, 0xbe, 0xe3, 0xef, 0xb3, 0x7d, - 0x14, 0x78, 0x3f, 0x65, 0x2c, 0xcd, 0x48, 0x18, 0x67, 0xac, 0x4a, 0x42, 0x5c, 0x49, 0x96, 0x67, - 0xe1, 0xb3, 0x87, 0x43, 0x22, 0xf1, 0xc3, 0x90, 0x71, 0x22, 0xb0, 0xa4, 0xac, 0x28, 0x03, 0x2e, - 0x98, 0x64, 0x68, 0x53, 0xb3, 0x03, 0xc5, 0x0e, 0x34, 0x3b, 0x30, 0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, 0x3c, 0x54, 0xc2, 0xd9, 0x3d, 0xc6, 0x57, 0x78, 0x63, 0xf7, 0x33, 0xdc, 0xa1, - 0x39, 0x67, 0x42, 0x46, 0x35, 0x69, 0xec, 0xb6, 0xac, 0xdc, 0x1e, 0x3b, 0xdd, 0x4e, 0x94, 0xee, - 0x08, 0x4b, 0x6c, 0x33, 0x5b, 0xa5, 0x63, 0xb8, 0xf1, 0xe2, 0xb0, 0x36, 0xc4, 0x32, 0xfe, 0x29, - 0xe2, 0x82, 0x24, 0x34, 0x96, 0x63, 0xb7, 0x15, 0xe5, 0xd6, 0x77, 0xba, 0x1d, 0xd4, 0xca, 0x33, - 0x2d, 0xb4, 0xf9, 0xdd, 0x19, 0x4e, 0x10, 0x26, 0xba, 0x23, 0x17, 0x2f, 0x77, 0xb7, 0xb6, 0x40, - 0x77, 0xc7, 0x17, 0xce, 0xee, 0xc8, 0xc5, 0xf5, 0xee, 0x72, 0xe8, 0x18, 0xaf, 0xe9, 0x83, 0x5b, - 0x5f, 0xe0, 0xe0, 0xb4, 0xd9, 0xec, 0x83, 0x23, 0x57, 0x78, 0x63, 0xf7, 0xc2, 0x83, 0x07, 0xc6, - 0xcf, 0x24, 0x02, 0x49, 0x22, 0x72, 0x81, 0x73, 0x9e, 0x91, 0x72, 0x6c, 0xde, 0x53, 0xe6, 0xc7, - 0x0b, 0x98, 0x1f, 0x37, 0x45, 0x8e, 0x4d, 0x0d, 0xdb, 0x46, 0xb6, 0x89, 0x9d, 0xdb, 0x6c, 0xea, - 0x3d, 0x58, 0xe1, 0x82, 0xa5, 0x82, 0x94, 0x65, 0xc4, 0x89, 0x88, 0x49, 0x21, 0xbb, 0xb7, 0x77, - 0xbc, 0xdd, 0xd7, 0x06, 0xcb, 0xcd, 0xfa, 0x99, 0x5e, 0x46, 0x9f, 0xc0, 0x0a, 0xc7, 0x42, 0x52, - 0x9c, 0x45, 0x23, 0x4c, 0xb3, 0x4a, 0x90, 0xb2, 0xdb, 0xda, 0x59,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x9f, 0xd6, 0xb6, 0x46, 0xfb, 0x7d, 0x05, 0xf7, 0xfb, 0x0a, 0xff, 0xa2, - 0xdf, 0x37, 0x84, 0xe1, 0xeb, 0xca, 0xec, 0xc3, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x98, 0xa6, - 0x68, 0x05, 0x3c, 0x0c, 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 deleted file mode 100644 index 3fb696ed..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/prediction_service.pb.go +++ /dev/null @@ -1,623 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1beta1/prediction_service.proto - -package automl - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for -// [PredictionService.Predict][google.cloud.automl.v1beta1.PredictionService.Predict]. -type PredictRequest struct { - // Name of the model requested to serve the prediction. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. Payload to perform a prediction on. The payload must match the - // problem type that the model was trained to solve. - Payload *ExamplePayload `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` - // Additional domain-specific parameters, any string must be up to 25000 - // characters long. - // - // * For Image Classification: - // - // `score_threshold` - (float) A value from 0.0 to 1.0. When the model - // makes predictions for an image, it will only produce results that have - // at least this confidence score. The default is 0.5. - // - // * For Image Object Detection: - // `score_threshold` - (float) When Model detects objects on the image, - // it will only produce bounding boxes which have at least this - // confidence score. Value in 0 to 1 range, default is 0.5. - // `max_bounding_box_count` - (int64) No more than this number of bounding - // boxes will be returned in the response. Default is 100, the - // requested value may be limited by server. - // * For Tables: - // `feature_importance` - (boolean) Whether - // - // [feature_importance][[google.cloud.automl.v1beta1.TablesModelColumnInfo.feature_importance] - // should be populated in the returned - // - // [TablesAnnotation(-s)][[google.cloud.automl.v1beta1.TablesAnnotation]. - // The default is false. - Params map[string]string `protobuf:"bytes,3,rep,name=params,proto3" json:"params,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 *PredictRequest) Reset() { *m = PredictRequest{} } -func (m *PredictRequest) String() string { return proto.CompactTextString(m) } -func (*PredictRequest) ProtoMessage() {} -func (*PredictRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_59a9dba5da3c687d, []int{0} -} - -func (m *PredictRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PredictRequest.Unmarshal(m, b) -} -func (m *PredictRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PredictRequest.Marshal(b, m, deterministic) -} -func (m *PredictRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PredictRequest.Merge(m, src) -} -func (m *PredictRequest) XXX_Size() int { - return xxx_messageInfo_PredictRequest.Size(m) -} -func (m *PredictRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PredictRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_PredictRequest proto.InternalMessageInfo - -func (m *PredictRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *PredictRequest) GetPayload() *ExamplePayload { - if m != nil { - return m.Payload - } - return nil -} - -func (m *PredictRequest) GetParams() map[string]string { - if m != nil { - return m.Params - } - return nil -} - -// Response message for -// [PredictionService.Predict][google.cloud.automl.v1beta1.PredictionService.Predict]. -type PredictResponse struct { - // Prediction result. - // Translation and Text Sentiment will return precisely one payload. - Payload []*AnnotationPayload `protobuf:"bytes,1,rep,name=payload,proto3" json:"payload,omitempty"` - // The preprocessed example that AutoML actually makes prediction on. - // Empty if AutoML does not preprocess the input example. - // * For Text Extraction: - // If the input is a .pdf file, the OCR'ed text will be provided in - // [document_text][google.cloud.automl.v1beta1.Document.document_text]. - PreprocessedInput *ExamplePayload `protobuf:"bytes,3,opt,name=preprocessed_input,json=preprocessedInput,proto3" json:"preprocessed_input,omitempty"` - // Additional domain-specific prediction response metadata. - // - // * For Image Object Detection: - // `max_bounding_box_count` - (int64) At most that many bounding boxes per - // image could have been returned. - // - // * For Text Sentiment: - // `sentiment_score` - (float, deprecated) A value between -1 and 1, - // -1 maps to least positive sentiment, while 1 maps to the most positive - // one and the higher the score, the more positive the sentiment in the - // document is. Yet these values are relative to the training data, so - // e.g. if all data was positive then -1 will be also positive (though - // the least). - // The sentiment_score shouldn't be confused with "score" or "magnitude" - // from the previous Natural Language Sentiment Analysis API. - Metadata map[string]string `protobuf:"bytes,2,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:"-"` -} - -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_59a9dba5da3c687d, []int{1} -} - -func (m *PredictResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PredictResponse.Unmarshal(m, b) -} -func (m *PredictResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PredictResponse.Marshal(b, m, deterministic) -} -func (m *PredictResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PredictResponse.Merge(m, src) -} -func (m *PredictResponse) XXX_Size() int { - return xxx_messageInfo_PredictResponse.Size(m) -} -func (m *PredictResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PredictResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_PredictResponse proto.InternalMessageInfo - -func (m *PredictResponse) GetPayload() []*AnnotationPayload { - if m != nil { - return m.Payload - } - return nil -} - -func (m *PredictResponse) GetPreprocessedInput() *ExamplePayload { - if m != nil { - return m.PreprocessedInput - } - return nil -} - -func (m *PredictResponse) GetMetadata() map[string]string { - if m != nil { - return m.Metadata - } - return nil -} - -// Request message for -// [PredictionService.BatchPredict][google.cloud.automl.v1beta1.PredictionService.BatchPredict]. -type BatchPredictRequest struct { - // Name of the model requested to serve the batch prediction. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The input configuration for batch prediction. - InputConfig *BatchPredictInputConfig `protobuf:"bytes,3,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"` - // Required. The Configuration specifying where output predictions should - // be written. - OutputConfig *BatchPredictOutputConfig `protobuf:"bytes,4,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"` - // Additional domain-specific parameters for the predictions, any string must - // be up to 25000 characters long. - // - // * For Text Classification: - // - // `score_threshold` - (float) A value from 0.0 to 1.0. When the model - // makes predictions for a text snippet, it will only produce results - // that have at least this confidence score. The default is 0.5. - // - // * For Image Classification: - // - // `score_threshold` - (float) A value from 0.0 to 1.0. When the model - // makes predictions for an image, it will only produce results that - // have at least this confidence score. The default is 0.5. - // - // * For Image Object Detection: - // - // `score_threshold` - (float) When Model detects objects on the image, - // it will only produce bounding boxes which have at least this - // confidence score. Value in 0 to 1 range, default is 0.5. - // `max_bounding_box_count` - (int64) No more than this number of bounding - // boxes will be produced per image. Default is 100, the - // requested value may be limited by server. - // - // * For Video Classification : - // `score_threshold` - (float) A value from 0.0 to 1.0. When the model - // makes predictions for a video, it will only produce results that - // have at least this confidence score. The default is 0.5. - // `segment_classification` - (boolean) Set to true to request - // segment-level classification. AutoML Video Intelligence returns - // labels and their confidence scores for the entire segment of the - // video that user specified in the request configuration. - // The default is "true". - // `shot_classification` - (boolean) Set to true to request shot-level - // classification. AutoML Video Intelligence determines the boundaries - // for each camera shot in the entire segment of the video that user - // specified in the request configuration. AutoML Video Intelligence - // then returns labels and their confidence scores for each detected - // shot, along with the start and end time of the shot. - // WARNING: Model evaluation is not done for this classification type, - // the quality of it depends on training data, but there are no metrics - // provided to describe that quality. The default is "false". - // `1s_interval_classification` - (boolean) Set to true to request - // classification for a video at one-second intervals. AutoML Video - // Intelligence returns labels and their confidence scores for each - // second of the entire segment of the video that user specified in the - // request configuration. - // WARNING: Model evaluation is not done for this classification - // type, the quality of it depends on training data, but there are no - // metrics provided to describe that quality. The default is - // "false". - // - // * For Video Object Tracking: - // `score_threshold` - (float) When Model detects objects on video frames, - // it will only produce bounding boxes which have at least this - // confidence score. Value in 0 to 1 range, default is 0.5. - // `max_bounding_box_count` - (int64) No more than this number of bounding - // boxes will be returned per frame. Default is 100, the requested - // value may be limited by server. - // `min_bounding_box_size` - (float) Only bounding boxes with shortest edge - // at least that long as a relative value of video frame size will be - // returned. Value in 0 to 1 range. Default is 0. - // - Params map[string]string `protobuf:"bytes,5,rep,name=params,proto3" json:"params,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 *BatchPredictRequest) Reset() { *m = BatchPredictRequest{} } -func (m *BatchPredictRequest) String() string { return proto.CompactTextString(m) } -func (*BatchPredictRequest) ProtoMessage() {} -func (*BatchPredictRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_59a9dba5da3c687d, []int{2} -} - -func (m *BatchPredictRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchPredictRequest.Unmarshal(m, b) -} -func (m *BatchPredictRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchPredictRequest.Marshal(b, m, deterministic) -} -func (m *BatchPredictRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchPredictRequest.Merge(m, src) -} -func (m *BatchPredictRequest) XXX_Size() int { - return xxx_messageInfo_BatchPredictRequest.Size(m) -} -func (m *BatchPredictRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchPredictRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchPredictRequest proto.InternalMessageInfo - -func (m *BatchPredictRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *BatchPredictRequest) GetInputConfig() *BatchPredictInputConfig { - if m != nil { - return m.InputConfig - } - return nil -} - -func (m *BatchPredictRequest) GetOutputConfig() *BatchPredictOutputConfig { - if m != nil { - return m.OutputConfig - } - return nil -} - -func (m *BatchPredictRequest) GetParams() map[string]string { - if m != nil { - return m.Params - } - return nil -} - -// Result of the Batch Predict. This message is returned in -// [response][google.longrunning.Operation.response] of the operation returned -// by the -// [PredictionService.BatchPredict][google.cloud.automl.v1beta1.PredictionService.BatchPredict]. -type BatchPredictResult struct { - // Additional domain-specific prediction response metadata. - // - // * For Image Object Detection: - // `max_bounding_box_count` - (int64) At most that many bounding boxes per - // image could have been returned. - // - // * For Video Object Tracking: - // `max_bounding_box_count` - (int64) At most that many bounding boxes per - // frame could have been returned. - Metadata map[string]string `protobuf:"bytes,1,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:"-"` -} - -func (m *BatchPredictResult) Reset() { *m = BatchPredictResult{} } -func (m *BatchPredictResult) String() string { return proto.CompactTextString(m) } -func (*BatchPredictResult) ProtoMessage() {} -func (*BatchPredictResult) Descriptor() ([]byte, []int) { - return fileDescriptor_59a9dba5da3c687d, []int{3} -} - -func (m *BatchPredictResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchPredictResult.Unmarshal(m, b) -} -func (m *BatchPredictResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchPredictResult.Marshal(b, m, deterministic) -} -func (m *BatchPredictResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchPredictResult.Merge(m, src) -} -func (m *BatchPredictResult) XXX_Size() int { - return xxx_messageInfo_BatchPredictResult.Size(m) -} -func (m *BatchPredictResult) XXX_DiscardUnknown() { - xxx_messageInfo_BatchPredictResult.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchPredictResult proto.InternalMessageInfo - -func (m *BatchPredictResult) GetMetadata() map[string]string { - if m != nil { - return m.Metadata - } - return nil -} - -func init() { - proto.RegisterType((*PredictRequest)(nil), "google.cloud.automl.v1beta1.PredictRequest") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.automl.v1beta1.PredictRequest.ParamsEntry") - proto.RegisterType((*PredictResponse)(nil), "google.cloud.automl.v1beta1.PredictResponse") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.automl.v1beta1.PredictResponse.MetadataEntry") - proto.RegisterType((*BatchPredictRequest)(nil), "google.cloud.automl.v1beta1.BatchPredictRequest") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.automl.v1beta1.BatchPredictRequest.ParamsEntry") - proto.RegisterType((*BatchPredictResult)(nil), "google.cloud.automl.v1beta1.BatchPredictResult") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.automl.v1beta1.BatchPredictResult.MetadataEntry") -} - -func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/prediction_service.proto", fileDescriptor_59a9dba5da3c687d) -} - -var fileDescriptor_59a9dba5da3c687d = []byte{ - // 741 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0xcd, 0x6e, 0xd3, 0x4c, - 0x14, 0x95, 0x9d, 0xfe, 0x7c, 0x9d, 0xb4, 0x1f, 0x74, 0xf8, 0x8b, 0x52, 0x7e, 0xaa, 0xc0, 0xa2, - 0x4a, 0x8b, 0x4d, 0x4b, 0x51, 0xc1, 0x6d, 0x17, 0x49, 0x55, 0x95, 0x4a, 0x54, 0x8d, 0x02, 0x2a, - 0xa2, 0xaa, 0x14, 0x4d, 0x9d, 0xa9, 0x6b, 0x18, 0xcf, 0x0c, 0xf6, 0xb8, 0xa5, 0x42, 0x6c, 0x78, - 0x05, 0x5e, 0x82, 0x05, 0x4b, 0xb6, 0xbc, 0x40, 0xc5, 0x0a, 0x5e, 0x81, 0x15, 0x1b, 0x96, 0x6c, - 0x91, 0x67, 0x26, 0x89, 0x43, 0x91, 0x15, 0x2f, 0xba, 0xcb, 0xe4, 0xde, 0x73, 0xee, 0xb9, 0xc7, - 0x57, 0xf7, 0x82, 0x45, 0x8f, 0x31, 0x8f, 0x60, 0xdb, 0x25, 0x2c, 0x6e, 0xdb, 0x28, 0x16, 0x2c, - 0x20, 0xf6, 0xd1, 0xfc, 0x3e, 0x16, 0x68, 0xde, 0xe6, 0x21, 0x6e, 0xfb, 0xae, 0xf0, 0x19, 0x6d, - 0x45, 0x38, 0x3c, 0xf2, 0x5d, 0x6c, 0xf1, 0x90, 0x09, 0x06, 0xa7, 0x14, 0xca, 0x92, 0x28, 0x4b, - 0xa1, 0x2c, 0x8d, 0x2a, 0x5f, 0xd7, 0x94, 0x88, 0xfb, 0x36, 0xa2, 0x94, 0x09, 0x94, 0x30, 0x44, - 0x0a, 0x5a, 0xbe, 0x96, 0x8a, 0xba, 0xc4, 0xc7, 0x54, 0xe8, 0x40, 0xa6, 0x92, 0x1e, 0x4f, 0x8b, - 0xa3, 0x13, 0xc2, 0x50, 0x5b, 0xa3, 0xe6, 0xb2, 0x50, 0x6d, 0x24, 0x50, 0xcb, 0x17, 0x38, 0xe8, - 0x14, 0xbf, 0x93, 0x95, 0xed, 0xb3, 0x41, 0x38, 0x19, 0xc7, 0x61, 0x5f, 0x43, 0xb7, 0x75, 0x36, - 0x61, 0xd4, 0x0b, 0x63, 0x4a, 0x7d, 0xea, 0x9d, 0x49, 0xaa, 0xfc, 0x36, 0xc0, 0xff, 0x0d, 0xe5, - 0x66, 0x13, 0xbf, 0x8e, 0x71, 0x24, 0x20, 0x04, 0x43, 0x14, 0x05, 0xb8, 0x64, 0x4c, 0x1b, 0x33, - 0x63, 0x4d, 0xf9, 0x1b, 0xae, 0x83, 0x51, 0xdd, 0x5e, 0xc9, 0x9c, 0x36, 0x66, 0x8a, 0x0b, 0xb3, - 0x56, 0x86, 0xd3, 0xd6, 0xfa, 0x1b, 0x14, 0x70, 0x82, 0x1b, 0x0a, 0xd2, 0xec, 0x60, 0xe1, 0x36, - 0x18, 0xe1, 0x28, 0x44, 0x41, 0x54, 0x2a, 0x4c, 0x17, 0x66, 0x8a, 0x0b, 0x4b, 0x99, 0x2c, 0xfd, - 0xba, 0xac, 0x86, 0x44, 0xae, 0x53, 0x11, 0x9e, 0x34, 0x35, 0x4d, 0xf9, 0x11, 0x28, 0xa6, 0xfe, - 0x86, 0x17, 0x41, 0xe1, 0x15, 0x3e, 0xd1, 0xca, 0x93, 0x9f, 0xf0, 0x32, 0x18, 0x3e, 0x42, 0x24, - 0xc6, 0x52, 0xf6, 0x58, 0x53, 0x3d, 0x1c, 0xf3, 0xa1, 0x51, 0xf9, 0x6a, 0x82, 0x0b, 0xdd, 0x0a, - 0x11, 0x67, 0x34, 0xc2, 0xf0, 0x71, 0xaf, 0x4d, 0x43, 0x0a, 0xb4, 0x32, 0x05, 0xd6, 0xba, 0x1f, - 0xff, 0x4c, 0xa7, 0xbb, 0x00, 0xf2, 0x10, 0xf3, 0x90, 0xb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3f, 0x22, 0x8b, 0xdd, 0xff, 0x13, 0x00, 0x00, 0xff, 0xff, 0xc5, 0xb8, 0x8c, - 0xfa, 0x50, 0x08, 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 - -// PredictionServiceClient is the client API for PredictionService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type PredictionServiceClient interface { - // Perform an online prediction. The prediction result will be directly - // returned in the response. - // Available for following ML problems, and their expected request payloads: - // * Image Classification - Image in .JPEG, .GIF or .PNG format, image_bytes - // up to 30MB. - // * Image Object Detection - Image in .JPEG, .GIF or .PNG format, image_bytes - // up to 30MB. - // * Text Classification - TextSnippet, content up to 60,000 characters, - // UTF-8 encoded. - // * Text Extraction - TextSnippet, content up to 30,000 characters, - // UTF-8 NFC encoded. - // * Translation - TextSnippet, content up to 25,000 characters, UTF-8 - // encoded. - // * Tables - Row, with column values matching the columns of the model, - // up to 5MB. Not available for FORECASTING - // - // [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]. - // * Text Sentiment - TextSnippet, content up 500 characters, UTF-8 - // encoded. - Predict(ctx context.Context, in *PredictRequest, opts ...grpc.CallOption) (*PredictResponse, error) - // Perform a batch prediction. Unlike the online - // [Predict][google.cloud.automl.v1beta1.PredictionService.Predict], batch - // prediction result won't be immediately available in the response. Instead, - // a long running operation object is returned. User can poll the operation - // result via [GetOperation][google.longrunning.Operations.GetOperation] - // method. Once the operation is done, - // [BatchPredictResult][google.cloud.automl.v1beta1.BatchPredictResult] is - // returned in the [response][google.longrunning.Operation.response] field. - // Available for following ML problems: - // * Image Classification - // * Image Object Detection - // * Video Classification - // * Video Object Tracking * Text Extraction - // * Tables - BatchPredict(ctx context.Context, in *BatchPredictRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) -} - -type predictionServiceClient struct { - cc *grpc.ClientConn -} - -func NewPredictionServiceClient(cc *grpc.ClientConn) PredictionServiceClient { - return &predictionServiceClient{cc} -} - -func (c *predictionServiceClient) Predict(ctx context.Context, in *PredictRequest, opts ...grpc.CallOption) (*PredictResponse, error) { - out := new(PredictResponse) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.PredictionService/Predict", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *predictionServiceClient) BatchPredict(ctx context.Context, in *BatchPredictRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.PredictionService/BatchPredict", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// PredictionServiceServer is the server API for PredictionService service. -type PredictionServiceServer interface { - // Perform an online prediction. The prediction result will be directly - // returned in the response. - // Available for following ML problems, and their expected request payloads: - // * Image Classification - Image in .JPEG, .GIF or .PNG format, image_bytes - // up to 30MB. - // * Image Object Detection - Image in .JPEG, .GIF or .PNG format, image_bytes - // up to 30MB. - // * Text Classification - TextSnippet, content up to 60,000 characters, - // UTF-8 encoded. - // * Text Extraction - TextSnippet, content up to 30,000 characters, - // UTF-8 NFC encoded. - // * Translation - TextSnippet, content up to 25,000 characters, UTF-8 - // encoded. - // * Tables - Row, with column values matching the columns of the model, - // up to 5MB. Not available for FORECASTING - // - // [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]. - // * Text Sentiment - TextSnippet, content up 500 characters, UTF-8 - // encoded. - Predict(context.Context, *PredictRequest) (*PredictResponse, error) - // Perform a batch prediction. Unlike the online - // [Predict][google.cloud.automl.v1beta1.PredictionService.Predict], batch - // prediction result won't be immediately available in the response. Instead, - // a long running operation object is returned. User can poll the operation - // result via [GetOperation][google.longrunning.Operations.GetOperation] - // method. Once the operation is done, - // [BatchPredictResult][google.cloud.automl.v1beta1.BatchPredictResult] is - // returned in the [response][google.longrunning.Operation.response] field. - // Available for following ML problems: - // * Image Classification - // * Image Object Detection - // * Video Classification - // * Video Object Tracking * Text Extraction - // * Tables - BatchPredict(context.Context, *BatchPredictRequest) (*longrunning.Operation, error) -} - -// UnimplementedPredictionServiceServer can be embedded to have forward compatible implementations. -type UnimplementedPredictionServiceServer struct { -} - -func (*UnimplementedPredictionServiceServer) Predict(ctx context.Context, req *PredictRequest) (*PredictResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Predict not implemented") -} -func (*UnimplementedPredictionServiceServer) BatchPredict(ctx context.Context, req *BatchPredictRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method BatchPredict not implemented") -} - -func RegisterPredictionServiceServer(s *grpc.Server, srv PredictionServiceServer) { - s.RegisterService(&_PredictionService_serviceDesc, srv) -} - -func _PredictionService_Predict_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PredictRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PredictionServiceServer).Predict(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1beta1.PredictionService/Predict", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PredictionServiceServer).Predict(ctx, req.(*PredictRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PredictionService_BatchPredict_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchPredictRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PredictionServiceServer).BatchPredict(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1beta1.PredictionService/BatchPredict", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PredictionServiceServer).BatchPredict(ctx, req.(*BatchPredictRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _PredictionService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.automl.v1beta1.PredictionService", - HandlerType: (*PredictionServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Predict", - Handler: _PredictionService_Predict_Handler, - }, - { - MethodName: "BatchPredict", - Handler: _PredictionService_BatchPredict_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/automl/v1beta1/prediction_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/ranges.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/ranges.pb.go deleted file mode 100644 index dfe2f6f9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/ranges.pb.go +++ /dev/null @@ -1,100 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1beta1/ranges.proto - -package automl - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A range between two double numbers. -type DoubleRange struct { - // Start of the range, inclusive. - Start float64 `protobuf:"fixed64,1,opt,name=start,proto3" json:"start,omitempty"` - // End of the range, exclusive. - End float64 `protobuf:"fixed64,2,opt,name=end,proto3" json:"end,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DoubleRange) Reset() { *m = DoubleRange{} } -func (m *DoubleRange) String() string { return proto.CompactTextString(m) } -func (*DoubleRange) ProtoMessage() {} -func (*DoubleRange) Descriptor() ([]byte, []int) { - return fileDescriptor_a166e9960f6d1167, []int{0} -} - -func (m *DoubleRange) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DoubleRange.Unmarshal(m, b) -} -func (m *DoubleRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DoubleRange.Marshal(b, m, deterministic) -} -func (m *DoubleRange) XXX_Merge(src proto.Message) { - xxx_messageInfo_DoubleRange.Merge(m, src) -} -func (m *DoubleRange) XXX_Size() int { - return xxx_messageInfo_DoubleRange.Size(m) -} -func (m *DoubleRange) XXX_DiscardUnknown() { - xxx_messageInfo_DoubleRange.DiscardUnknown(m) -} - -var xxx_messageInfo_DoubleRange proto.InternalMessageInfo - -func (m *DoubleRange) GetStart() float64 { - if m != nil { - return m.Start - } - return 0 -} - -func (m *DoubleRange) GetEnd() float64 { - if m != nil { - return m.End - } - return 0 -} - -func init() { - proto.RegisterType((*DoubleRange)(nil), "google.cloud.automl.v1beta1.DoubleRange") -} - -func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/ranges.proto", fileDescriptor_a166e9960f6d1167) -} - -var fileDescriptor_a166e9960f6d1167 = []byte{ - // 238 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x8f, 0xb1, 0x4a, 0x04, 0x31, - 0x10, 0x86, 0xc9, 0x8a, 0x16, 0xb9, 0x46, 0x16, 0x8b, 0xc3, 0x13, 0x15, 0xab, 0xab, 0x12, 0x0e, - 0xb1, 0x89, 0xd5, 0x9d, 0x82, 0x8d, 0xc2, 0x71, 0x85, 0x85, 0x6c, 0x33, 0x7b, 0x17, 0xc2, 0x42, - 0x2e, 0xb3, 0x6c, 0x26, 0x3e, 0x98, 0x8f, 0xe1, 0xa3, 0xf8, 0x14, 0x92, 0x49, 0x4a, 0xb1, 0xcb, - 0xe4, 0xfb, 0xf2, 0xff, 0x19, 0xb9, 0x74, 0x88, 0xce, 0x5b, 0xbd, 0xf7, 0x98, 0x0e, 0x1a, 0x12, - 0xe1, 0xd1, 0xeb, 0xcf, 0x55, 0x6f, 0x09, 0x56, 0x7a, 0x82, 0xe0, 0x6c, 0x54, 0xe3, 0x84, 0x84, - 0xed, 0xa2, 0x98, 0x8a, 0x4d, 0x55, 0x4c, 0x55, 0xcd, 0xcb, 0xab, 0x1a, 0x03, 0xe3, 0xa0, 0x21, - 0x04, 0x24, 0xa0, 0x01, 0x43, 0x7d, 0x7a, 0xf7, 0x20, 0x67, 0xcf, 0x98, 0x7a, 0x6f, 0x77, 0x39, - 0xb0, 0xbd, 0x90, 0xa7, 0x91, 0x60, 0xa2, 0xb9, 0xb8, 0x15, 0x4b, 0xb1, 0x2b, 0x43, 0x7b, 0x2e, - 0x4f, 0x6c, 0x38, 0xcc, 0x1b, 0xbe, 0xcb, 0xc7, 0xcd, 0x97, 0x90, 0x37, 0x7b, 0x3c, 0xaa, 0x7f, - 0x8a, 0x37, 0x33, 0x8e, 0x8c, 0xdb, 0xdc, 0xb3, 0x15, 0x1f, 0xeb, 0xea, 0x3a, 0xf4, 0x10, 0x9c, - 0xc2, 0xc9, 0x69, 0x67, 0x03, 0xff, 0x42, 0x17, 0x04, 0xe3, 0x10, 0xff, 0xdc, 0xf6, 0xb1, 0x8c, - 0xdf, 0xcd, 0xe2, 0x85, 0xc5, 0xee, 0x29, 0x4b, 0xdd, 0x3a, 0x11, 0xbe, 0xf9, 0xee, 0xbd, 0x48, - 0x3f, 0xcd, 0x75, 0xa1, 0xc6, 0x30, 0x36, 0x86, 0xf9, 0xab, 0x31, 0x55, 0xe8, 0xcf, 0xb8, 0xec, - 0xfe, 0x37, 0x00, 0x00, 0xff, 0xff, 0x05, 0xcb, 0x11, 0xcf, 0x59, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/regression.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/regression.pb.go deleted file mode 100644 index 6d63d190..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/regression.pb.go +++ /dev/null @@ -1,135 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1beta1/regression.proto - -package automl - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Metrics for regression problems. -type RegressionEvaluationMetrics struct { - // Output only. Root Mean Squared Error (RMSE). - RootMeanSquaredError float32 `protobuf:"fixed32,1,opt,name=root_mean_squared_error,json=rootMeanSquaredError,proto3" json:"root_mean_squared_error,omitempty"` - // Output only. Mean Absolute Error (MAE). - MeanAbsoluteError float32 `protobuf:"fixed32,2,opt,name=mean_absolute_error,json=meanAbsoluteError,proto3" json:"mean_absolute_error,omitempty"` - // Output only. Mean absolute percentage error. Only set if all ground truth - // values are are positive. - MeanAbsolutePercentageError float32 `protobuf:"fixed32,3,opt,name=mean_absolute_percentage_error,json=meanAbsolutePercentageError,proto3" json:"mean_absolute_percentage_error,omitempty"` - // Output only. R squared. - RSquared float32 `protobuf:"fixed32,4,opt,name=r_squared,json=rSquared,proto3" json:"r_squared,omitempty"` - // Output only. Root mean squared log error. - RootMeanSquaredLogError float32 `protobuf:"fixed32,5,opt,name=root_mean_squared_log_error,json=rootMeanSquaredLogError,proto3" json:"root_mean_squared_log_error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RegressionEvaluationMetrics) Reset() { *m = RegressionEvaluationMetrics{} } -func (m *RegressionEvaluationMetrics) String() string { return proto.CompactTextString(m) } -func (*RegressionEvaluationMetrics) ProtoMessage() {} -func (*RegressionEvaluationMetrics) Descriptor() ([]byte, []int) { - return fileDescriptor_b0fa6250b0d4b440, []int{0} -} - -func (m *RegressionEvaluationMetrics) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RegressionEvaluationMetrics.Unmarshal(m, b) -} -func (m *RegressionEvaluationMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RegressionEvaluationMetrics.Marshal(b, m, deterministic) -} -func (m *RegressionEvaluationMetrics) XXX_Merge(src proto.Message) { - xxx_messageInfo_RegressionEvaluationMetrics.Merge(m, src) -} -func (m *RegressionEvaluationMetrics) XXX_Size() int { - return xxx_messageInfo_RegressionEvaluationMetrics.Size(m) -} -func (m *RegressionEvaluationMetrics) XXX_DiscardUnknown() { - xxx_messageInfo_RegressionEvaluationMetrics.DiscardUnknown(m) -} - -var xxx_messageInfo_RegressionEvaluationMetrics proto.InternalMessageInfo - -func (m *RegressionEvaluationMetrics) GetRootMeanSquaredError() float32 { - if m != nil { - return m.RootMeanSquaredError - } - return 0 -} - -func (m *RegressionEvaluationMetrics) GetMeanAbsoluteError() float32 { - if m != nil { - return m.MeanAbsoluteError - } - return 0 -} - -func (m *RegressionEvaluationMetrics) GetMeanAbsolutePercentageError() float32 { - if m != nil { - return m.MeanAbsolutePercentageError - } - return 0 -} - -func (m *RegressionEvaluationMetrics) GetRSquared() float32 { - if m != nil { - return m.RSquared - } - return 0 -} - -func (m *RegressionEvaluationMetrics) GetRootMeanSquaredLogError() float32 { - if m != nil { - return m.RootMeanSquaredLogError - } - return 0 -} - -func init() { - proto.RegisterType((*RegressionEvaluationMetrics)(nil), "google.cloud.automl.v1beta1.RegressionEvaluationMetrics") -} - -func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/regression.proto", fileDescriptor_b0fa6250b0d4b440) -} - -var fileDescriptor_b0fa6250b0d4b440 = []byte{ - // 337 bytes of a gzipped FileDescriptorProto - 0x1f,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, 0x82, 0xae, 0x9c, 0x0c, 0x91, 0x88, 0x22, - 0x87, 0x35, 0xea, 0x06, 0xe2, 0xfd, 0x3e, 0x6b, 0x7f, 0xf7, 0x4b, 0x89, 0xb9, 0x34, 0x4e, 0xa8, - 0x75, 0x74, 0x8b, 0xa2, 0xc9, 0xd7, 0xe8, 0x78, 0xe3, 0xf8, 0x92, 0x84, 0xed, 0xe3, 0xfa, 0x8c, - 0xad, 0x6d, 0xf2, 0xf7, 0x30, 0x1c, 0x2b, 0xbe, 0x63, 0xc9, 0xef, 0x8b, 0x68, 0x50, 0xa1, 0x7e, - 0x87, 0xf4, 0xe6, 0x8f, 0xcb, 0x0c, 0x41, 0x51, 0x75, 0xef, 0xb5, 0xc1, 0xce, 0x72, 0x58, 0xa6, - 0xff, 0x0c, 0xdd, 0x3b, 0xf8, 0xdc, 0x71, 0x5c, 0x6f, 0xfb, 0xd4, 0x0d, 0xb6, 0x02, 0x2d, 0x8c, - 0x4a, 0x01, 0x15, 0x57, 0xd2, 0xd0, 0xee, 0xdc, 0x23, 0x51, 0x16, 0xf6, 0xcf, 0x37, 0xbe, 0xf5, - 0x9f, 0x6f, 0x51, 0x72, 0x4f, 0xe2, 0xb4, 0x5f, 0x4b, 0xd3, 0x6e, 0xe5, 0x60, 0xa4, 0xa7, 0x8f, - 0x5e, 0x7a, 0x8f, 0xda, 0x9e, 0x66, 0x19, 0xe1, 0x2c, 0x23, 0x3e, 0xcc, 0xb2, 0x20, 0xcc, 0x77, - 0xe9, 0x67, 0xd7, 0x1f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x55, 0x43, 0xc7, 0x17, 0x4f, 0x02, 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 deleted file mode 100644 index 3137b217..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/service.pb.go +++ /dev/null @@ -1,2853 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1beta1/service.proto - -package automl - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [AutoMl.CreateDataset][google.cloud.automl.v1beta1.AutoMl.CreateDataset]. -type CreateDatasetRequest struct { - // The resource name of the project to create the dataset for. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The dataset to create. - Dataset *Dataset `protobuf:"bytes,2,opt,name=dataset,proto3" json:"dataset,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_62cd04b8735a9250, []int{0} -} - -func (m *CreateDatasetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateDatasetRequest.Unmarshal(m, b) -} -func (m *CreateDatasetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateDatasetRequest.Marshal(b, m, deterministic) -} -func (m *CreateDatasetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateDatasetRequest.Merge(m, src) -} -func (m *CreateDatasetRequest) XXX_Size() int { - return xxx_messageInfo_CreateDatasetRequest.Size(m) -} -func (m *CreateDatasetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateDatasetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateDatasetRequest proto.InternalMessageInfo - -func (m *CreateDatasetRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateDatasetRequest) GetDataset() *Dataset { - if m != nil { - return m.Dataset - } - return nil -} - -// Request message for [AutoMl.GetDataset][google.cloud.automl.v1beta1.AutoMl.GetDataset]. -type GetDatasetRequest struct { - // The resource name of the dataset to retrieve. - 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 *GetDatasetRequest) Reset() { *m = GetDatasetRequest{} } -func (m *GetDatasetRequest) String() string { return proto.CompactTextString(m) } -func (*GetDatasetRequest) ProtoMessage() {} -func (*GetDatasetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62cd04b8735a9250, []int{1} -} - -func (m *GetDatasetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDatasetRequest.Unmarshal(m, b) -} -func (m *GetDatasetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDatasetRequest.Marshal(b, m, deterministic) -} -func (m *GetDatasetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDatasetRequest.Merge(m, src) -} -func (m *GetDatasetRequest) XXX_Size() int { - return xxx_messageInfo_GetDatasetRequest.Size(m) -} -func (m *GetDatasetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetDatasetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetDatasetRequest proto.InternalMessageInfo - -func (m *GetDatasetRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for [AutoMl.ListDatasets][google.cloud.automl.v1beta1.AutoMl.ListDatasets]. -type ListDatasetsRequest struct { - // The resource name of the project from which to list datasets. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // An expression for filtering the results of the request. - // - // * `dataset_metadata` - for existence of the case (e.g. - // image_classification_dataset_metadata:*). Some examples of using the filter are: - // - // * `translation_dataset_metadata:*` --> The dataset has - // translation_dataset_metadata. - Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` - // Requested page size. Server may return fewer results than requested. - // If unspecified, server will pick a default size. - PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // A token identifying a page of results for the server to return - // Typically obtained via - // [ListDatasetsResponse.next_page_token][google.cloud.automl.v1beta1.ListDatasetsResponse.next_page_token] of the previous - // [AutoMl.ListDatasets][google.cloud.automl.v1beta1.AutoMl.ListDatasets] call. - 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 *ListDatasetsRequest) Reset() { *m = ListDatasetsRequest{} } -func (m *ListDatasetsRequest) String() string { return proto.CompactTextString(m) } -func (*ListDatasetsRequest) ProtoMessage() {} -func (*ListDatasetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62cd04b8735a9250, []int{2} -} - -func (m *ListDatasetsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDatasetsRequest.Unmarshal(m, b) -} -func (m *ListDatasetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDatasetsRequest.Marshal(b, m, deterministic) -} -func (m *ListDatasetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDatasetsRequest.Merge(m, src) -} -func (m *ListDatasetsRequest) XXX_Size() int { - return xxx_messageInfo_ListDatasetsRequest.Size(m) -} -func (m *ListDatasetsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListDatasetsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDatasetsRequest proto.InternalMessageInfo - -func (m *ListDatasetsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListDatasetsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListDatasetsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListDatasetsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response message for [AutoMl.ListDatasets][google.cloud.automl.v1beta1.AutoMl.ListDatasets]. -type ListDatasetsResponse struct { - // The datasets read. - Datasets []*Dataset `protobuf:"bytes,1,rep,name=datasets,proto3" json:"datasets,omitempty"` - // A token to retrieve next page of results. - // Pass to [ListDatasetsRequest.page_token][google.cloud.automl.v1beta1.ListDatasetsRequest.page_token] to obtain that 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 *ListDatasetsResponse) Reset() { *m = ListDatasetsResponse{} } -func (m *ListDatasetsResponse) String() string { return proto.CompactTextString(m) } -func (*ListDatasetsResponse) ProtoMessage() {} -func (*ListDatasetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62cd04b8735a9250, []int{3} -} - -func (m *ListDatasetsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDatasetsResponse.Unmarshal(m, b) -} -func (m *ListDatasetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDatasetsResponse.Marshal(b, m, deterministic) -} -func (m *ListDatasetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDatasetsResponse.Merge(m, src) -} -func (m *ListDatasetsResponse) XXX_Size() int { - return xxx_messageInfo_ListDatasetsResponse.Size(m) -} -func (m *ListDatasetsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListDatasetsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDatasetsResponse proto.InternalMessageInfo - -func (m *ListDatasetsResponse) GetDatasets() []*Dataset { - if m != nil { - return m.Datasets - } - return nil -} - -func (m *ListDatasetsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request message for [AutoMl.UpdateDataset][google.cloud.automl.v1beta1.AutoMl.UpdateDataset] -type UpdateDatasetRequest struct { - // The dataset which replaces the resource on the server. - Dataset *Dataset `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"` - // The update mask applies to the 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 *UpdateDatasetRequest) Reset() { *m = UpdateDatasetRequest{} } -func (m *UpdateDatasetRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateDatasetRequest) ProtoMessage() {} -func (*UpdateDatasetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62cd04b8735a9250, []int{4} -} - -func (m *UpdateDatasetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateDatasetRequest.Unmarshal(m, b) -} -func (m *UpdateDatasetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateDatasetRequest.Marshal(b, m, deterministic) -} -func (m *UpdateDatasetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateDatasetRequest.Merge(m, src) -} -func (m *UpdateDatasetRequest) XXX_Size() int { - return xxx_messageInfo_UpdateDatasetRequest.Size(m) -} -func (m *UpdateDatasetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateDatasetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateDatasetRequest proto.InternalMessageInfo - -func (m *UpdateDatasetRequest) GetDataset() *Dataset { - if m != nil { - return m.Dataset - } - return nil -} - -func (m *UpdateDatasetRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// Request message for [AutoMl.DeleteDataset][google.cloud.automl.v1beta1.AutoMl.DeleteDataset]. -type DeleteDatasetRequest struct { - // The resource name of the dataset to delete. - 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 *DeleteDatasetRequest) Reset() { *m = DeleteDatasetRequest{} } -func (m *DeleteDatasetRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteDatasetRequest) ProtoMessage() {} -func (*DeleteDatasetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62cd04b8735a9250, []int{5} -} - -func (m *DeleteDatasetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteDatasetRequest.Unmarshal(m, b) -} -func (m *DeleteDatasetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteDatasetRequest.Marshal(b, m, deterministic) -} -func (m *DeleteDatasetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteDatasetRequest.Merge(m, src) -} -func (m *DeleteDatasetRequest) XXX_Size() int { - return xxx_messageInfo_DeleteDatasetRequest.Size(m) -} -func (m *DeleteDatasetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteDatasetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteDatasetRequest proto.InternalMessageInfo - -func (m *DeleteDatasetRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for [AutoMl.ImportData][google.cloud.automl.v1beta1.AutoMl.ImportData]. -type ImportDataRequest struct { - // Required. Dataset name. Dataset must already exist. All imported - // annotations and examples will be added. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The desired input location and its domain specific semantics, - // if any. - InputConfig *InputConfig `protobuf:"bytes,3,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 *ImportDataRequest) Reset() { *m = ImportDataRequest{} } -func (m *ImportDataRequest) String() string { return proto.CompactTextString(m) } -func (*ImportDataRequest) ProtoMessage() {} -func (*ImportDataRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62cd04b8735a9250, []int{6} -} - -func (m *ImportDataRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImportDataRequest.Unmarshal(m, b) -} -func (m *ImportDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImportDataRequest.Marshal(b, m, deterministic) -} -func (m *ImportDataRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportDataRequest.Merge(m, src) -} -func (m *ImportDataRequest) XXX_Size() int { - return xxx_messageInfo_ImportDataRequest.Size(m) -} -func (m *ImportDataRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ImportDataRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ImportDataRequest proto.InternalMessageInfo - -func (m *ImportDataRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ImportDataRequest) GetInputConfig() *InputConfig { - if m != nil { - return m.InputConfig - } - return nil -} - -// Request message for [AutoMl.ExportData][google.cloud.automl.v1beta1.AutoMl.ExportData]. -type ExportDataRequest struct { - // Required. The resource name of the dataset. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The desired output location. - OutputConfig *OutputConfig `protobuf:"bytes,3,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 *ExportDataRequest) Reset() { *m = ExportDataRequest{} } -func (m *ExportDataRequest) String() string { return proto.CompactTextString(m) } -func (*ExportDataRequest) ProtoMessage() {} -func (*ExportDataRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62cd04b8735a9250, []int{7} -} - -func (m *ExportDataRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExportDataRequest.Unmarshal(m, b) -} -func (m *ExportDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExportDataRequest.Marshal(b, m, deterministic) -} -func (m *ExportDataRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportDataRequest.Merge(m, src) -} -func (m *ExportDataRequest) XXX_Size() int { - return xxx_messageInfo_ExportDataRequest.Size(m) -} -func (m *ExportDataRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ExportDataRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ExportDataRequest proto.InternalMessageInfo - -func (m *ExportDataRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ExportDataRequest) GetOutputConfig() *OutputConfig { - if m != nil { - return m.OutputConfig - } - return nil -} - -// Request message for [AutoMl.GetAnnotationSpec][google.cloud.automl.v1beta1.AutoMl.GetAnnotationSpec]. -type GetAnnotationSpecRequest struct { - // The resource name of the annotation spec to retrieve. - 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 *GetAnnotationSpecRequest) Reset() { *m = GetAnnotationSpecRequest{} } -func (m *GetAnnotationSpecRequest) String() string { return proto.CompactTextString(m) } -func (*GetAnnotationSpecRequest) ProtoMessage() {} -func (*GetAnnotationSpecRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62cd04b8735a9250, []int{8} -} - -func (m *GetAnnotationSpecRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAnnotationSpecRequest.Unmarshal(m, b) -} -func (m *GetAnnotationSpecRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAnnotationSpecRequest.Marshal(b, m, deterministic) -} -func (m *GetAnnotationSpecRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAnnotationSpecRequest.Merge(m, src) -} -func (m *GetAnnotationSpecRequest) XXX_Size() int { - return xxx_messageInfo_GetAnnotationSpecRequest.Size(m) -} -func (m *GetAnnotationSpecRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAnnotationSpecRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetAnnotationSpecRequest proto.InternalMessageInfo - -func (m *GetAnnotationSpecRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for [AutoMl.GetTableSpec][google.cloud.automl.v1beta1.AutoMl.GetTableSpec]. -type GetTableSpecRequest struct { - // The resource name of the table spec to retrieve. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Mask specifying which fields to read. - FieldMask *field_mask.FieldMask `protobuf:"bytes,2,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 *GetTableSpecRequest) Reset() { *m = GetTableSpecRequest{} } -func (m *GetTableSpecRequest) String() string { return proto.CompactTextString(m) } -func (*GetTableSpecRequest) ProtoMessage() {} -func (*GetTableSpecRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62cd04b8735a9250, []int{9} -} - -func (m *GetTableSpecRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTableSpecRequest.Unmarshal(m, b) -} -func (m *GetTableSpecRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTableSpecRequest.Marshal(b, m, deterministic) -} -func (m *GetTableSpecRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTableSpecRequest.Merge(m, src) -} -func (m *GetTableSpecRequest) XXX_Size() int { - return xxx_messageInfo_GetTableSpecRequest.Size(m) -} -func (m *GetTableSpecRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTableSpecRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetTableSpecRequest proto.InternalMessageInfo - -func (m *GetTableSpecRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *GetTableSpecRequest) GetFieldMask() *field_mask.FieldMask { - if m != nil { - return m.FieldMask - } - return nil -} - -// Request message for [AutoMl.ListTableSpecs][google.cloud.automl.v1beta1.AutoMl.ListTableSpecs]. -type ListTableSpecsRequest struct { - // The resource name of the dataset to list table specs from. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Mask specifying which fields to read. - FieldMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` - // Filter expression, see go/filtering. - Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` - // Requested page size. The server can return fewer results than requested. - // If unspecified, the server will pick a default size. - PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // A token identifying a page of results for the server to return. - // Typically obtained from the - // [ListTableSpecsResponse.next_page_token][google.cloud.automl.v1beta1.ListTableSpecsResponse.next_page_token] field of the previous - // [AutoMl.ListTableSpecs][google.cloud.automl.v1beta1.AutoMl.ListTableSpecs] call. - 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 *ListTableSpecsRequest) Reset() { *m = ListTableSpecsRequest{} } -func (m *ListTableSpecsRequest) String() string { return proto.CompactTextString(m) } -func (*ListTableSpecsRequest) ProtoMessage() {} -func (*ListTableSpecsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62cd04b8735a9250, []int{10} -} - -func (m *ListTableSpecsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTableSpecsRequest.Unmarshal(m, b) -} -func (m *ListTableSpecsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTableSpecsRequest.Marshal(b, m, deterministic) -} -func (m *ListTableSpecsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTableSpecsRequest.Merge(m, src) -} -func (m *ListTableSpecsRequest) XXX_Size() int { - return xxx_messageInfo_ListTableSpecsRequest.Size(m) -} -func (m *ListTableSpecsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListTableSpecsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTableSpecsRequest proto.InternalMessageInfo - -func (m *ListTableSpecsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListTableSpecsRequest) GetFieldMask() *field_mask.FieldMask { - if m != nil { - return m.FieldMask - } - return nil -} - -func (m *ListTableSpecsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListTableSpecsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListTableSpecsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response message for [AutoMl.ListTableSpecs][google.cloud.automl.v1beta1.AutoMl.ListTableSpecs]. -type ListTableSpecsResponse struct { - // The table specs read. - TableSpecs []*TableSpec `protobuf:"bytes,1,rep,name=table_specs,json=tableSpecs,proto3" json:"table_specs,omitempty"` - // A token to retrieve next page of results. - // Pass to [ListTableSpecsRequest.page_token][google.cloud.automl.v1beta1.ListTableSpecsRequest.page_token] to obtain that 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 *ListTableSpecsResponse) Reset() { *m = ListTableSpecsResponse{} } -func (m *ListTableSpecsResponse) String() string { return proto.CompactTextString(m) } -func (*ListTableSpecsResponse) ProtoMessage() {} -func (*ListTableSpecsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62cd04b8735a9250, []int{11} -} - -func (m *ListTableSpecsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTableSpecsResponse.Unmarshal(m, b) -} -func (m *ListTableSpecsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTableSpecsResponse.Marshal(b, m, deterministic) -} -func (m *ListTableSpecsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTableSpecsResponse.Merge(m, src) -} -func (m *ListTableSpecsResponse) XXX_Size() int { - return xxx_messageInfo_ListTableSpecsResponse.Size(m) -} -func (m *ListTableSpecsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListTableSpecsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTableSpecsResponse proto.InternalMessageInfo - -func (m *ListTableSpecsResponse) GetTableSpecs() []*TableSpec { - if m != nil { - return m.TableSpecs - } - return nil -} - -func (m *ListTableSpecsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request message for [AutoMl.UpdateTableSpec][google.cloud.automl.v1beta1.AutoMl.UpdateTableSpec] -type UpdateTableSpecRequest struct { - // The table spec which replaces the resource on the server. - TableSpec *TableSpec `protobuf:"bytes,1,opt,name=table_spec,json=tableSpec,proto3" json:"table_spec,omitempty"` - // The update mask applies to the 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 *UpdateTableSpecRequest) Reset() { *m = UpdateTableSpecRequest{} } -func (m *UpdateTableSpecRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateTableSpecRequest) ProtoMessage() {} -func (*UpdateTableSpecRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62cd04b8735a9250, []int{12} -} - -func (m *UpdateTableSpecRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateTableSpecRequest.Unmarshal(m, b) -} -func (m *UpdateTableSpecRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateTableSpecRequest.Marshal(b, m, deterministic) -} -func (m *UpdateTableSpecRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateTableSpecRequest.Merge(m, src) -} -func (m *UpdateTableSpecRequest) XXX_Size() int { - return xxx_messageInfo_UpdateTableSpecRequest.Size(m) -} -func (m *UpdateTableSpecRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateTableSpecRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateTableSpecRequest proto.InternalMessageInfo - -func (m *UpdateTableSpecRequest) GetTableSpec() *TableSpec { - if m != nil { - return m.TableSpec - } - return nil -} - -func (m *UpdateTableSpecRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// Request message for [AutoMl.GetColumnSpec][google.cloud.automl.v1beta1.AutoMl.GetColumnSpec]. -type GetColumnSpecRequest struct { - // The resource name of the column spec to retrieve. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Mask specifying which fields to read. - FieldMask *field_mask.FieldMask `protobuf:"bytes,2,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 *GetColumnSpecRequest) Reset() { *m = GetColumnSpecRequest{} } -func (m *GetColumnSpecRequest) String() string { return proto.CompactTextString(m) } -func (*GetColumnSpecRequest) ProtoMessage() {} -func (*GetColumnSpecRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62cd04b8735a9250, []int{13} -} - -func (m *GetColumnSpecRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetColumnSpecRequest.Unmarshal(m, b) -} -func (m *GetColumnSpecRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetColumnSpecRequest.Marshal(b, m, deterministic) -} -func (m *GetColumnSpecRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetColumnSpecRequest.Merge(m, src) -} -func (m *GetColumnSpecRequest) XXX_Size() int { - return xxx_messageInfo_GetColumnSpecRequest.Size(m) -} -func (m *GetColumnSpecRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetColumnSpecRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetColumnSpecRequest proto.InternalMessageInfo - -func (m *GetColumnSpecRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *GetColumnSpecRequest) GetFieldMask() *field_mask.FieldMask { - if m != nil { - return m.FieldMask - } - return nil -} - -// Request message for [AutoMl.ListColumnSpecs][google.cloud.automl.v1beta1.AutoMl.ListColumnSpecs]. -type ListColumnSpecsRequest struct { - // The resource name of the table spec to list column specs from. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Mask specifying which fields to read. - FieldMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` - // Filter expression, see go/filtering. - Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` - // Requested page size. The server can return fewer results than requested. - // If unspecified, the server will pick a default size. - PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // A token identifying a page of results for the server to return. - // Typically obtained from the - // [ListColumnSpecsResponse.next_page_token][google.cloud.automl.v1beta1.ListColumnSpecsResponse.next_page_token] field of the previous - // [AutoMl.ListColumnSpecs][google.cloud.automl.v1beta1.AutoMl.ListColumnSpecs] call. - 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 *ListColumnSpecsRequest) Reset() { *m = ListColumnSpecsRequest{} } -func (m *ListColumnSpecsRequest) String() string { return proto.CompactTextString(m) } -func (*ListColumnSpecsRequest) ProtoMessage() {} -func (*ListColumnSpecsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62cd04b8735a9250, []int{14} -} - -func (m *ListColumnSpecsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListColumnSpecsRequest.Unmarshal(m, b) -} -func (m *ListColumnSpecsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListColumnSpecsRequest.Marshal(b, m, deterministic) -} -func (m *ListColumnSpecsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListColumnSpecsRequest.Merge(m, src) -} -func (m *ListColumnSpecsRequest) XXX_Size() int { - return xxx_messageInfo_ListColumnSpecsRequest.Size(m) -} -func (m *ListColumnSpecsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListColumnSpecsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListColumnSpecsRequest proto.InternalMessageInfo - -func (m *ListColumnSpecsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListColumnSpecsRequest) GetFieldMask() *field_mask.FieldMask { - if m != nil { - return m.FieldMask - } - return nil -} - -func (m *ListColumnSpecsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListColumnSpecsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListColumnSpecsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response message for [AutoMl.ListColumnSpecs][google.cloud.automl.v1beta1.AutoMl.ListColumnSpecs]. -type ListColumnSpecsResponse struct { - // The column specs read. - ColumnSpecs []*ColumnSpec `protobuf:"bytes,1,rep,name=column_specs,json=columnSpecs,proto3" json:"column_specs,omitempty"` - // A token to retrieve next page of results. - // Pass to [ListColumnSpecsRequest.page_token][google.cloud.automl.v1beta1.ListColumnSpecsRequest.page_token] to obtain that 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 *ListColumnSpecsResponse) Reset() { *m = ListColumnSpecsResponse{} } -func (m *ListColumnSpecsResponse) String() string { return proto.CompactTextString(m) } -func (*ListColumnSpecsResponse) ProtoMessage() {} -func (*ListColumnSpecsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62cd04b8735a9250, []int{15} -} - -func (m *ListColumnSpecsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListColumnSpecsResponse.Unmarshal(m, b) -} -func (m *ListColumnSpecsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListColumnSpecsResponse.Marshal(b, m, deterministic) -} -func (m *ListColumnSpecsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListColumnSpecsResponse.Merge(m, src) -} -func (m *ListColumnSpecsResponse) XXX_Size() int { - return xxx_messageInfo_ListColumnSpecsResponse.Size(m) -} -func (m *ListColumnSpecsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListColumnSpecsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListColumnSpecsResponse proto.InternalMessageInfo - -func (m *ListColumnSpecsResponse) GetColumnSpecs() []*ColumnSpec { - if m != nil { - return m.ColumnSpecs - } - return nil -} - -func (m *ListColumnSpecsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request message for [AutoMl.UpdateColumnSpec][google.cloud.automl.v1beta1.AutoMl.UpdateColumnSpec] -type UpdateColumnSpecRequest struct { - // The column spec which replaces the resource on the server. - ColumnSpec *ColumnSpec `protobuf:"bytes,1,opt,name=column_spec,json=columnSpec,proto3" json:"column_spec,omitempty"` - // The update mask applies to the 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 *UpdateColumnSpecRequest) Reset() { *m = UpdateColumnSpecRequest{} } -func (m *UpdateColumnSpecRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateColumnSpecRequest) ProtoMessage() {} -func (*UpdateColumnSpecRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62cd04b8735a9250, []int{16} -} - -func (m *UpdateColumnSpecRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateColumnSpecRequest.Unmarshal(m, b) -} -func (m *UpdateColumnSpecRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateColumnSpecRequest.Marshal(b, m, deterministic) -} -func (m *UpdateColumnSpecRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateColumnSpecRequest.Merge(m, src) -} -func (m *UpdateColumnSpecRequest) XXX_Size() int { - return xxx_messageInfo_UpdateColumnSpecRequest.Size(m) -} -func (m *UpdateColumnSpecRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateColumnSpecRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateColumnSpecRequest proto.InternalMessageInfo - -func (m *UpdateColumnSpecRequest) GetColumnSpec() *ColumnSpec { - if m != nil { - return m.ColumnSpec - } - return nil -} - -func (m *UpdateColumnSpecRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// Request message for [AutoMl.CreateModel][google.cloud.automl.v1beta1.AutoMl.CreateModel]. -type CreateModelRequest struct { - // Resource name of the parent project where the model is being created. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The model to create. - Model *Model `protobuf:"bytes,4,opt,name=model,proto3" json:"model,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_62cd04b8735a9250, []int{17} -} - -func (m *CreateModelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateModelRequest.Unmarshal(m, b) -} -func (m *CreateModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateModelRequest.Marshal(b, m, deterministic) -} -func (m *CreateModelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateModelRequest.Merge(m, src) -} -func (m *CreateModelRequest) XXX_Size() int { - return xxx_messageInfo_CreateModelRequest.Size(m) -} -func (m *CreateModelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateModelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateModelRequest proto.InternalMessageInfo - -func (m *CreateModelRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateModelRequest) GetModel() *Model { - if m != nil { - return m.Model - } - return nil -} - -// Request message for [AutoMl.GetModel][google.cloud.automl.v1beta1.AutoMl.GetModel]. -type GetModelRequest struct { - // Resource name of the model. - 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 *GetModelRequest) Reset() { *m = GetModelRequest{} } -func (m *GetModelRequest) String() string { return proto.CompactTextString(m) } -func (*GetModelRequest) ProtoMessage() {} -func (*GetModelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62cd04b8735a9250, []int{18} -} - -func (m *GetModelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetModelRequest.Unmarshal(m, b) -} -func (m *GetModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetModelRequest.Marshal(b, m, deterministic) -} -func (m *GetModelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetModelRequest.Merge(m, src) -} -func (m *GetModelRequest) XXX_Size() int { - return xxx_messageInfo_GetModelRequest.Size(m) -} -func (m *GetModelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetModelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetModelRequest proto.InternalMessageInfo - -func (m *GetModelRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for [AutoMl.ListModels][google.cloud.automl.v1beta1.AutoMl.ListModels]. -type ListModelsRequest struct { - // Resource name of the project, from which to list the models. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // An expression for filtering the results of the request. - // - // * `model_metadata` - for existence of the case (e.g. - // video_classification_model_metadata:*). - // * `dataset_id` - for = or !=. Some examples of using the filter are: - // - // * `image_classification_model_metadata:*` --> The model has - // image_classification_model_metadata. - // * `dataset_id=5` --> The model was created from a dataset with ID 5. - Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` - // Requested page size. - PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // A token identifying a page of results for the server to return - // Typically obtained via - // [ListModelsResponse.next_page_token][google.cloud.automl.v1beta1.ListModelsResponse.next_page_token] of the previous - // [AutoMl.ListModels][google.cloud.automl.v1beta1.AutoMl.ListModels] call. - 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 *ListModelsRequest) Reset() { *m = ListModelsRequest{} } -func (m *ListModelsRequest) String() string { return proto.CompactTextString(m) } -func (*ListModelsRequest) ProtoMessage() {} -func (*ListModelsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62cd04b8735a9250, []int{19} -} - -func (m *ListModelsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListModelsRequest.Unmarshal(m, b) -} -func (m *ListModelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListModelsRequest.Marshal(b, m, deterministic) -} -func (m *ListModelsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListModelsRequest.Merge(m, src) -} -func (m *ListModelsRequest) XXX_Size() int { - return xxx_messageInfo_ListModelsRequest.Size(m) -} -func (m *ListModelsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListModelsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListModelsRequest proto.InternalMessageInfo - -func (m *ListModelsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListModelsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListModelsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListModelsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response message for [AutoMl.ListModels][google.cloud.automl.v1beta1.AutoMl.ListModels]. -type ListModelsResponse struct { - // List of models in the requested page. - Model []*Model `protobuf:"bytes,1,rep,name=model,proto3" json:"model,omitempty"` - // A token to retrieve next page of results. - // Pass to [ListModelsRequest.page_token][google.cloud.automl.v1beta1.ListModelsRequest.page_token] to obtain that 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 *ListModelsResponse) Reset() { *m = ListModelsResponse{} } -func (m *ListModelsResponse) String() string { return proto.CompactTextString(m) } -func (*ListModelsResponse) ProtoMessage() {} -func (*ListModelsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62cd04b8735a9250, []int{20} -} - -func (m *ListModelsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListModelsResponse.Unmarshal(m, b) -} -func (m *ListModelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListModelsResponse.Marshal(b, m, deterministic) -} -func (m *ListModelsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListModelsResponse.Merge(m, src) -} -func (m *ListModelsResponse) XXX_Size() int { - return xxx_messageInfo_ListModelsResponse.Size(m) -} -func (m *ListModelsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListModelsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListModelsResponse proto.InternalMessageInfo - -func (m *ListModelsResponse) GetModel() []*Model { - if m != nil { - return m.Model - } - return nil -} - -func (m *ListModelsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request message for [AutoMl.DeleteModel][google.cloud.automl.v1beta1.AutoMl.DeleteModel]. -type DeleteModelRequest struct { - // Resource name of the model being 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 (m *DeleteModelRequest) Reset() { *m = DeleteModelRequest{} } -func (m *DeleteModelRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteModelRequest) ProtoMessage() {} -func (*DeleteModelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62cd04b8735a9250, []int{21} -} - -func (m *DeleteModelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteModelRequest.Unmarshal(m, b) -} -func (m *DeleteModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteModelRequest.Marshal(b, m, deterministic) -} -func (m *DeleteModelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteModelRequest.Merge(m, src) -} -func (m *DeleteModelRequest) XXX_Size() int { - return xxx_messageInfo_DeleteModelRequest.Size(m) -} -func (m *DeleteModelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteModelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteModelRequest proto.InternalMessageInfo - -func (m *DeleteModelRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for [AutoMl.DeployModel][google.cloud.automl.v1beta1.AutoMl.DeployModel]. -type DeployModelRequest struct { - // The per-domain specific deployment parameters. - // - // Types that are valid to be assigned to ModelDeploymentMetadata: - // *DeployModelRequest_ImageObjectDetectionModelDeploymentMetadata - // *DeployModelRequest_ImageClassificationModelDeploymentMetadata - ModelDeploymentMetadata isDeployModelRequest_ModelDeploymentMetadata `protobuf_oneof:"model_deployment_metadata"` - // Resource name of the model to deploy. - 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 *DeployModelRequest) Reset() { *m = DeployModelRequest{} } -func (m *DeployModelRequest) String() string { return proto.CompactTextString(m) } -func (*DeployModelRequest) ProtoMessage() {} -func (*DeployModelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62cd04b8735a9250, []int{22} -} - -func (m *DeployModelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeployModelRequest.Unmarshal(m, b) -} -func (m *DeployModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeployModelRequest.Marshal(b, m, deterministic) -} -func (m *DeployModelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeployModelRequest.Merge(m, src) -} -func (m *DeployModelRequest) XXX_Size() int { - return xxx_messageInfo_DeployModelRequest.Size(m) -} -func (m *DeployModelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeployModelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeployModelRequest proto.InternalMessageInfo - -type isDeployModelRequest_ModelDeploymentMetadata interface { - isDeployModelRequest_ModelDeploymentMetadata() -} - -type DeployModelRequest_ImageObjectDetectionModelDeploymentMetadata struct { - ImageObjectDetectionModelDeploymentMetadata *ImageObjectDetectionModelDeploymentMetadata `protobuf:"bytes,2,opt,name=image_object_detection_model_deployment_metadata,json=imageObjectDetectionModelDeploymentMetadata,proto3,oneof"` -} - -type DeployModelRequest_ImageClassificationModelDeploymentMetadata struct { - ImageClassificationModelDeploymentMetadata *ImageClassificationModelDeploymentMetadata `protobuf:"bytes,4,opt,name=image_classification_model_deployment_metadata,json=imageClassificationModelDeploymentMetadata,proto3,oneof"` -} - -func (*DeployModelRequest_ImageObjectDetectionModelDeploymentMetadata) isDeployModelRequest_ModelDeploymentMetadata() { -} - -func (*DeployModelRequest_ImageClassificationModelDeploymentMetadata) isDeployModelRequest_ModelDeploymentMetadata() { -} - -func (m *DeployModelRequest) GetModelDeploymentMetadata() isDeployModelRequest_ModelDeploymentMetadata { - if m != nil { - return m.ModelDeploymentMetadata - } - return nil -} - -func (m *DeployModelRequest) GetImageObjectDetectionModelDeploymentMetadata() *ImageObjectDetectionModelDeploymentMetadata { - if x, ok := m.GetModelDeploymentMetadata().(*DeployModelRequest_ImageObjectDetectionModelDeploymentMetadata); ok { - return x.ImageObjectDetectionModelDeploymentMetadata - } - return nil -} - -func (m *DeployModelRequest) GetImageClassificationModelDeploymentMetadata() *ImageClassificationModelDeploymentMetadata { - if x, ok := m.GetModelDeploymentMetadata().(*DeployModelRequest_ImageClassificationModelDeploymentMetadata); ok { - return x.ImageClassificationModelDeploymentMetadata - } - return nil -} - -func (m *DeployModelRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*DeployModelRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*DeployModelRequest_ImageObjectDetectionModelDeploymentMetadata)(nil), - (*DeployModelRequest_ImageClassificationModelDeploymentMetadata)(nil), - } -} - -// Request message for [AutoMl.UndeployModel][google.cloud.automl.v1beta1.AutoMl.UndeployModel]. -type UndeployModelRequest struct { - // Resource name of the model to undeploy. - 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 *UndeployModelRequest) Reset() { *m = UndeployModelRequest{} } -func (m *UndeployModelRequest) String() string { return proto.CompactTextString(m) } -func (*UndeployModelRequest) ProtoMessage() {} -func (*UndeployModelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62cd04b8735a9250, []int{23} -} - -func (m *UndeployModelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UndeployModelRequest.Unmarshal(m, b) -} -func (m *UndeployModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UndeployModelRequest.Marshal(b, m, deterministic) -} -func (m *UndeployModelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UndeployModelRequest.Merge(m, src) -} -func (m *UndeployModelRequest) XXX_Size() int { - return xxx_messageInfo_UndeployModelRequest.Size(m) -} -func (m *UndeployModelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UndeployModelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UndeployModelRequest proto.InternalMessageInfo - -func (m *UndeployModelRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for [AutoMl.ExportModel][google.cloud.automl.v1beta1.AutoMl.ExportModel]. -// Models need to be enabled for exporting, otherwise an error code will be -// returned. -type ExportModelRequest struct { - // Required. The resource name of the model to export. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The desired output location and configuration. - OutputConfig *ModelExportOutputConfig `protobuf:"bytes,3,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 *ExportModelRequest) Reset() { *m = ExportModelRequest{} } -func (m *ExportModelRequest) String() string { return proto.CompactTextString(m) } -func (*ExportModelRequest) ProtoMessage() {} -func (*ExportModelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62cd04b8735a9250, []int{24} -} - -func (m *ExportModelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExportModelRequest.Unmarshal(m, b) -} -func (m *ExportModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExportModelRequest.Marshal(b, m, deterministic) -} -func (m *ExportModelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportModelRequest.Merge(m, src) -} -func (m *ExportModelRequest) XXX_Size() int { - return xxx_messageInfo_ExportModelRequest.Size(m) -} -func (m *ExportModelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ExportModelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ExportModelRequest proto.InternalMessageInfo - -func (m *ExportModelRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ExportModelRequest) GetOutputConfig() *ModelExportOutputConfig { - if m != nil { - return m.OutputConfig - } - return nil -} - -// Request message for [AutoMl.ExportEvaluatedExamples][google.cloud.automl.v1beta1.AutoMl.ExportEvaluatedExamples]. -type ExportEvaluatedExamplesRequest struct { - // Required. The resource name of the model whose evaluated examples are to - // be exported. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The desired output location and configuration. - OutputConfig *ExportEvaluatedExamplesOutputConfig `protobuf:"bytes,3,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 *ExportEvaluatedExamplesRequest) Reset() { *m = ExportEvaluatedExamplesRequest{} } -func (m *ExportEvaluatedExamplesRequest) String() string { return proto.CompactTextString(m) } -func (*ExportEvaluatedExamplesRequest) ProtoMessage() {} -func (*ExportEvaluatedExamplesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62cd04b8735a9250, []int{25} -} - -func (m *ExportEvaluatedExamplesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExportEvaluatedExamplesRequest.Unmarshal(m, b) -} -func (m *ExportEvaluatedExamplesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExportEvaluatedExamplesRequest.Marshal(b, m, deterministic) -} -func (m *ExportEvaluatedExamplesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportEvaluatedExamplesRequest.Merge(m, src) -} -func (m *ExportEvaluatedExamplesRequest) XXX_Size() int { - return xxx_messageInfo_ExportEvaluatedExamplesRequest.Size(m) -} -func (m *ExportEvaluatedExamplesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ExportEvaluatedExamplesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ExportEvaluatedExamplesRequest proto.InternalMessageInfo - -func (m *ExportEvaluatedExamplesRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ExportEvaluatedExamplesRequest) GetOutputConfig() *ExportEvaluatedExamplesOutputConfig { - if m != nil { - return m.OutputConfig - } - return nil -} - -// Request message for [AutoMl.GetModelEvaluation][google.cloud.automl.v1beta1.AutoMl.GetModelEvaluation]. -type GetModelEvaluationRequest struct { - // Resource name for the model evaluation. - 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 *GetModelEvaluationRequest) Reset() { *m = GetModelEvaluationRequest{} } -func (m *GetModelEvaluationRequest) String() string { return proto.CompactTextString(m) } -func (*GetModelEvaluationRequest) ProtoMessage() {} -func (*GetModelEvaluationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62cd04b8735a9250, []int{26} -} - -func (m *GetModelEvaluationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetModelEvaluationRequest.Unmarshal(m, b) -} -func (m *GetModelEvaluationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetModelEvaluationRequest.Marshal(b, m, deterministic) -} -func (m *GetModelEvaluationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetModelEvaluationRequest.Merge(m, src) -} -func (m *GetModelEvaluationRequest) XXX_Size() int { - return xxx_messageInfo_GetModelEvaluationRequest.Size(m) -} -func (m *GetModelEvaluationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetModelEvaluationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetModelEvaluationRequest proto.InternalMessageInfo - -func (m *GetModelEvaluationRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for [AutoMl.ListModelEvaluations][google.cloud.automl.v1beta1.AutoMl.ListModelEvaluations]. -type ListModelEvaluationsRequest struct { - // Resource name of the model to list the model evaluations for. - // If modelId is set as "-", this will list model evaluations from across all - // models of the parent location. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // An expression for filtering the results of the request. - // - // * `annotation_spec_id` - for =, != or existence. See example below for - // the last. - // - // Some examples of using the filter are: - // - // * `annotation_spec_id!=4` --> The model evaluation was done for - // annotation spec with ID different than 4. - // * `NOT annotation_spec_id:*` --> The model evaluation was done for - // aggregate of all annotation specs. - Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` - // Requested page size. - PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // A token identifying a page of results for the server to return. - // Typically obtained via - // [ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1beta1.ListModelEvaluationsResponse.next_page_token] of the previous - // [AutoMl.ListModelEvaluations][google.cloud.automl.v1beta1.AutoMl.ListModelEvaluations] call. - 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 *ListModelEvaluationsRequest) Reset() { *m = ListModelEvaluationsRequest{} } -func (m *ListModelEvaluationsRequest) String() string { return proto.CompactTextString(m) } -func (*ListModelEvaluationsRequest) ProtoMessage() {} -func (*ListModelEvaluationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62cd04b8735a9250, []int{27} -} - -func (m *ListModelEvaluationsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListModelEvaluationsRequest.Unmarshal(m, b) -} -func (m *ListModelEvaluationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListModelEvaluationsRequest.Marshal(b, m, deterministic) -} -func (m *ListModelEvaluationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListModelEvaluationsRequest.Merge(m, src) -} -func (m *ListModelEvaluationsRequest) XXX_Size() int { - return xxx_messageInfo_ListModelEvaluationsRequest.Size(m) -} -func (m *ListModelEvaluationsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListModelEvaluationsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListModelEvaluationsRequest proto.InternalMessageInfo - -func (m *ListModelEvaluationsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListModelEvaluationsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListModelEvaluationsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListModelEvaluationsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response message for [AutoMl.ListModelEvaluations][google.cloud.automl.v1beta1.AutoMl.ListModelEvaluations]. -type ListModelEvaluationsResponse struct { - // List of model evaluations in the requested page. - ModelEvaluation []*ModelEvaluation `protobuf:"bytes,1,rep,name=model_evaluation,json=modelEvaluation,proto3" json:"model_evaluation,omitempty"` - // A token to retrieve next page of results. - // Pass to the [ListModelEvaluationsRequest.page_token][google.cloud.automl.v1beta1.ListModelEvaluationsRequest.page_token] field of a new - // [AutoMl.ListModelEvaluations][google.cloud.automl.v1beta1.AutoMl.ListModelEvaluations] request to obtain that 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 *ListModelEvaluationsResponse) Reset() { *m = ListModelEvaluationsResponse{} } -func (m *ListModelEvaluationsResponse) String() string { return proto.CompactTextString(m) } -func (*ListModelEvaluationsResponse) ProtoMessage() {} -func (*ListModelEvaluationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62cd04b8735a9250, []int{28} -} - -func (m *ListModelEvaluationsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListModelEvaluationsResponse.Unmarshal(m, b) -} -func (m *ListModelEvaluationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListModelEvaluationsResponse.Marshal(b, m, deterministic) -} -func (m *ListModelEvaluationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListModelEvaluationsResponse.Merge(m, src) -} -func (m *ListModelEvaluationsResponse) XXX_Size() int { - return xxx_messageInfo_ListModelEvaluationsResponse.Size(m) -} -func (m *ListModelEvaluationsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListModelEvaluationsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListModelEvaluationsResponse proto.InternalMessageInfo - -func (m *ListModelEvaluationsResponse) GetModelEvaluation() []*ModelEvaluation { - if m != nil { - return m.ModelEvaluation - } - return nil -} - -func (m *ListModelEvaluationsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -func init() { - proto.RegisterType((*CreateDatasetRequest)(nil), "google.cloud.automl.v1beta1.CreateDatasetRequest") - proto.RegisterType((*GetDatasetRequest)(nil), "google.cloud.automl.v1beta1.GetDatasetRequest") - proto.RegisterType((*ListDatasetsRequest)(nil), "google.cloud.automl.v1beta1.ListDatasetsRequest") - proto.RegisterType((*ListDatasetsResponse)(nil), "google.cloud.automl.v1beta1.ListDatasetsResponse") - proto.RegisterType((*UpdateDatasetRequest)(nil), "google.cloud.automl.v1beta1.UpdateDatasetRequest") - proto.RegisterType((*DeleteDatasetRequest)(nil), "google.cloud.automl.v1beta1.DeleteDatasetRequest") - proto.RegisterType((*ImportDataRequest)(nil), "google.cloud.automl.v1beta1.ImportDataRequest") - proto.RegisterType((*ExportDataRequest)(nil), "google.cloud.automl.v1beta1.ExportDataRequest") - proto.RegisterType((*GetAnnotationSpecRequest)(nil), "google.cloud.automl.v1beta1.GetAnnotationSpecRequest") - proto.RegisterType((*GetTableSpecRequest)(nil), "google.cloud.automl.v1beta1.GetTableSpecRequest") - proto.RegisterType((*ListTableSpecsRequest)(nil), "google.cloud.automl.v1beta1.ListTableSpecsRequest") - proto.RegisterType((*ListTableSpecsResponse)(nil), "google.cloud.automl.v1beta1.ListTableSpecsResponse") - proto.RegisterType((*UpdateTableSpecRequest)(nil), "google.cloud.automl.v1beta1.UpdateTableSpecRequest") - proto.RegisterType((*GetColumnSpecRequest)(nil), "google.cloud.automl.v1beta1.GetColumnSpecRequest") - proto.RegisterType((*ListColumnSpecsRequest)(nil), "google.cloud.automl.v1beta1.ListColumnSpecsRequest") - proto.RegisterType((*ListColumnSpecsResponse)(nil), "google.cloud.automl.v1beta1.ListColumnSpecsResponse") - proto.RegisterType((*UpdateColumnSpecRequest)(nil), "google.cloud.automl.v1beta1.UpdateColumnSpecRequest") - proto.RegisterType((*CreateModelRequest)(nil), "google.cloud.automl.v1beta1.CreateModelRequest") - proto.RegisterType((*GetModelRequest)(nil), "google.cloud.automl.v1beta1.GetModelRequest") - proto.RegisterType((*ListModelsRequest)(nil), "google.cloud.automl.v1beta1.ListModelsRequest") - proto.RegisterType((*ListModelsResponse)(nil), "google.cloud.automl.v1beta1.ListModelsResponse") - proto.RegisterType((*DeleteModelRequest)(nil), "google.cloud.automl.v1beta1.DeleteModelRequest") - proto.RegisterType((*DeployModelRequest)(nil), "google.cloud.automl.v1beta1.DeployModelRequest") - proto.RegisterType((*UndeployModelRequest)(nil), "google.cloud.automl.v1beta1.UndeployModelRequest") - proto.RegisterType((*ExportModelRequest)(nil), "google.cloud.automl.v1beta1.ExportModelRequest") - proto.RegisterType((*ExportEvaluatedExamplesRequest)(nil), "google.cloud.automl.v1beta1.ExportEvaluatedExamplesRequest") - proto.RegisterType((*GetModelEvaluationRequest)(nil), "google.cloud.automl.v1beta1.GetModelEvaluationRequest") - proto.RegisterType((*ListModelEvaluationsRequest)(nil), "google.cloud.automl.v1beta1.ListModelEvaluationsRequest") - proto.RegisterType((*ListModelEvaluationsResponse)(nil), "google.cloud.automl.v1beta1.ListModelEvaluationsResponse") -} - -func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/service.proto", fileDescriptor_62cd04b8735a9250) -} - -var fileDescriptor_62cd04b8735a9250 = []byte{ - // 1887 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x5a, 0xcd, 0x6f, 0x24, 0x47, - 0x15, 0xa7, 0xbc, 0x89, 0x59, 0xbf, 0xb1, 0x71, 0x5c, 0x71, 0x6c, 0xa7, 0x9d, 0x04, 0xab, 0x09, - 0x59, 0x67, 0xb2, 0x99, 0x8e, 0xc7, 0x26, 0xd8, 0xe3, 0x64, 0xb5, 0xfe, 0xca, 0xac, 0x13, 0x3b, - 0xbb, 0x72, 0x36, 0x04, 0xd0, 0xa2, 0x51, 0x7b, 0xa6, 0x66, 0xd2, 0x6c, 0x4f, 0x57, 0x33, 0x5d, - 0x63, 0x3b, 0x41, 0x11, 0x5f, 0xa7, 0x1c, 0x38, 0x45, 0x70, 0x21, 0x88, 0x1c, 0x50, 0x24, 0x24, - 0x40, 0x80, 0x38, 0x83, 0x90, 0x10, 0x12, 0x91, 0xb8, 0x84, 0x03, 0xe2, 0xc6, 0x81, 0x13, 0x7f, - 0x05, 0xea, 0xaa, 0xea, 0xaf, 0xe9, 0x76, 0x77, 0xcd, 0x58, 0xd6, 0x2a, 0xb7, 0xe9, 0x99, 0xf7, - 0xea, 0xfd, 0xde, 0x47, 0xbd, 0x7e, 0xbf, 0x67, 0xc3, 0xb3, 0x1d, 0x4a, 0x3b, 0x36, 0x31, 0x9a, - 0x36, 0xed, 0xb7, 0x0c, 0xb3, 0xcf, 0x68, 0xd7, 0x36, 0x4e, 0x56, 0x8e, 0x09, 0x33, 0x57, 0x0c, - 0x8f, 0xf4, 0x4e, 0xac, 0x26, 0xa9, 0xb8, 0x3d, 0xca, 0x28, 0x5e, 0x14, 0xa2, 0x15, 0x2e, 0x5a, - 0x11, 0xa2, 0x15, 0x29, 0xaa, 0x3d, 0x21, 0xcf, 0x31, 0x5d, 0xcb, 0x30, 0x1d, 0x87, 0x32, 0x93, - 0x59, 0xd4, 0xf1, 0x84, 0xaa, 0xb6, 0x96, 0x67, 0x25, 0x12, 0x6f, 0xb8, 0xe6, 0x3b, 0x36, 0x35, - 0x5b, 0x52, 0x6b, 0x45, 0x51, 0xcb, 0x73, 0x49, 0x53, 0xaa, 0x3c, 0x9f, 0xa7, 0xd2, 0xa4, 0x76, - 0xbf, 0x9b, 0x10, 0xcf, 0xf5, 0xbe, 0x65, 0x32, 0xd3, 0x23, 0x4c, 0x8a, 0x5e, 0xcb, 0x13, 0xb5, - 0xba, 0x66, 0x47, 0x86, 0x49, 0x7b,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 0x16, 0x1e, 0x5a, - 0x42, 0xcb, 0x0f, 0x1f, 0x5d, 0xf5, 0xbf, 0x78, 0xc3, 0x7a, 0x97, 0xe0, 0x27, 0x01, 0xf8, 0x8f, - 0x8c, 0xde, 0x27, 0xce, 0xc2, 0x38, 0x57, 0xe4, 0xe2, 0x77, 0xfd, 0x2f, 0xf4, 0xef, 0x23, 0x98, - 0x4d, 0x62, 0xf0, 0x5c, 0xea, 0x78, 0x04, 0xdf, 0x84, 0xab, 0xd2, 0x21, 0x6f, 0x01, 0x2d, 0x5d, - 0x51, 0x0e, 0x43, 0xa8, 0x85, 0x9f, 0x81, 0x69, 0x87, 0x9c, 0xb1, 0x46, 0xcc, 0xfc, 0x18, 0x37, - 0x3f, 0xe5, 0x7f, 0x7d, 0x27, 0x84, 0xf0, 0x01, 0x82, 0xd9, 0x37, 0xdd, 0x56, 0x3a, 0x41, 0xb1, - 0x44, 0xa0, 0x11, 0x12, 0x81, 0x37, 0xa1, 0xd4, 0xe7, 0xe7, 0xf2, 0x32, 0x91, 0xc9, 0xd4, 0x82, - 0x33, 0x82, 0x4a, 0xaa, 0xbc, 0xe2, 0x57, 0xd2, 0xa1, 0xe9, 0xdd, 0x3f, 0x02, 0x21, 0xee, 0x7f, - 0xd6, 0xcb, 0x30, 0xbb, 0x4b, 0x6c, 0x92, 0x02, 0x95, 0x95, 0x48, 0x06, 0x33, 0xfb, 0x5d, 0x97, - 0xf6, 0x78, 0x14, 0x73, 0x04, 0xf1, 0x6b, 0x30, 0x69, 0x39, 0x6e, 0x9f, 0x35, 0x9a, 0xd4, 0x69, - 0x5b, 0x1d, 0x9e, 0xc7, 0x52, 0x75, 0x39, 0xd7, 0xad, 0x7d, 0x5f, 0x61, 0x87, 0xcb, 0x1f, 0x95, - 0xac, 0xe8, 0x41, 0x3f, 0x85, 0x99, 0xbd, 0x33, 0x15, 0xab, 0xaf, 0xc3, 0x14, 0xed, 0xb3, 0x94, - 0xd9, 0x67, 0x73, 0xcd, 0xde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8a, 0x5e, 0x19, 0x37, 0xb8, 0x3b, 0xeb, 0xba, 0xa1, 0x3c, 0xc8, 0xf0, 0x11, 0xd8, 0xab, 0x49, - 0x16, 0xfe, 0x13, 0x04, 0x57, 0x03, 0xe2, 0x80, 0xaf, 0x17, 0x5d, 0x8b, 0x04, 0x32, 0x05, 0xae, - 0xaf, 0x7f, 0x95, 0xc3, 0x5b, 0xc1, 0x86, 0xda, 0x65, 0x10, 0xd8, 0xfc, 0x7a, 0xff, 0x18, 0x01, - 0x44, 0xeb, 0x86, 0x82, 0x17, 0x6d, 0x6a, 0x31, 0xa2, 0x19, 0xca, 0xf2, 0xb2, 0xc0, 0x33, 0x80, - 0x2a, 0xc5, 0x11, 0xff, 0x14, 0x41, 0x29, 0xb6, 0x9f, 0x28, 0x48, 0x70, 0x7a, 0x93, 0x51, 0x94, - 0x60, 0x09, 0xac, 0x3c, 0x74, 0x04, 0x3f, 0xe2, 0xc0, 0x42, 0x82, 0x5d, 0x08, 0x6c, 0x90, 0x8a, - 0x17, 0x01, 0xdb, 0xe2, 0xc0, 0x36, 0xf5, 0x17, 0x87, 0x04, 0x56, 0x13, 0xac, 0xdf, 0x1f, 0x53, - 0x3e, 0xf6, 0x47, 0xe9, 0xf8, 0x16, 0xa0, 0x68, 0x94, 0xce, 0xd8, 0x18, 0x14, 0xc1, 0xdc, 0xe1, - 0x30, 0x5f, 0xd6, 0xd7, 0x87, 0x85, 0xd9, 0x77, 0x22, 0xa0, 0x7e, 0x2c, 0x63, 0x1b, 0x88, 0x82, - 0x58, 0xa6, 0x77, 0x15, 0x97, 0x16, 0x4b, 0x31, 0xf6, 0xf9, 0x10, 0xff, 0x8e, 0x60, 0xfe, 0x9c, - 0xb5, 0x01, 0xde, 0x1c, 0x65, 0xd9, 0xa0, 0x08, 0xfd, 0x88, 0x43, 0x3f, 0xd0, 0xeb, 0xa3, 0x41, - 0x4f, 0x99, 0xf5, 0x7d, 0xf9, 0x1b, 0x02, 0x9c, 0xde, 0x66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 0xfd, 0x7f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x9e, 0x4e, 0x06, 0xe1, 0xe6, 0x22, 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 - -// AutoMlClient is the client API for AutoMl service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AutoMlClient interface { - // Creates a dataset. - CreateDataset(ctx context.Context, in *CreateDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) - // Gets a dataset. - GetDataset(ctx context.Context, in *GetDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) - // Lists datasets in a project. - ListDatasets(ctx context.Context, in *ListDatasetsRequest, opts ...grpc.CallOption) (*ListDatasetsResponse, error) - // Updates a dataset. - UpdateDataset(ctx context.Context, in *UpdateDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) - // Deletes a dataset and all of its contents. - // Returns empty response in the - // [response][google.longrunning.Operation.response] field when it completes, - // and `delete_details` in the - // [metadata][google.longrunning.Operation.metadata] field. - DeleteDataset(ctx context.Context, in *DeleteDatasetRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Imports data into a dataset. - // For Tables this method can only be called on an empty Dataset. - // - // For Tables: - // * A - // [schema_inference_version][google.cloud.automl.v1beta1.InputConfig.params] - // parameter must be explicitly set. - // Returns an empty response in the - // [response][google.longrunning.Operation.response] field when it completes. - ImportData(ctx context.Context, in *ImportDataRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Exports dataset's data to the provided output location. - // Returns an empty response in the - // [response][google.longrunning.Operation.response] field when it completes. - ExportData(ctx context.Context, in *ExportDataRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Gets an annotation spec. - GetAnnotationSpec(ctx context.Context, in *GetAnnotationSpecRequest, opts ...grpc.CallOption) (*AnnotationSpec, error) - // Gets a table spec. - GetTableSpec(ctx context.Context, in *GetTableSpecRequest, opts ...grpc.CallOption) (*TableSpec, error) - // Lists table specs in a dataset. - ListTableSpecs(ctx context.Context, in *ListTableSpecsRequest, opts ...grpc.CallOption) (*ListTableSpecsResponse, error) - // Updates a table spec. - UpdateTableSpec(ctx context.Context, in *UpdateTableSpecRequest, opts ...grpc.CallOption) (*TableSpec, error) - // Gets a column spec. - GetColumnSpec(ctx context.Context, in *GetColumnSpecRequest, opts ...grpc.CallOption) (*ColumnSpec, error) - // Lists column specs in a table spec. - ListColumnSpecs(ctx context.Context, in *ListColumnSpecsRequest, opts ...grpc.CallOption) (*ListColumnSpecsResponse, error) - // Updates a column spec. - UpdateColumnSpec(ctx context.Context, in *UpdateColumnSpecRequest, opts ...grpc.CallOption) (*ColumnSpec, error) - // Creates a model. - // Returns a Model in the [response][google.longrunning.Operation.response] - // field when it completes. - // When you create a model, several model evaluations are created for it: - // a global evaluation, and one evaluation for each annotation spec. - CreateModel(ctx context.Context, in *CreateModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Gets a model. - GetModel(ctx context.Context, in *GetModelRequest, opts ...grpc.CallOption) (*Model, error) - // Lists models. - ListModels(ctx context.Context, in *ListModelsRequest, opts ...grpc.CallOption) (*ListModelsResponse, error) - // Deletes a model. - // Returns `google.protobuf.Empty` in the - // [response][google.longrunning.Operation.response] field when it completes, - // and `delete_details` in the - // [metadata][google.longrunning.Operation.metadata] field. - DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Deploys a model. If a model is already deployed, deploying it with the - // same parameters has no effect. Deploying with different parametrs - // (as e.g. changing - // - // [node_number][google.cloud.automl.v1beta1.ImageObjectDetectionModelDeploymentMetadata.node_number]) - // will reset the deployment state without pausing the model's availability. - // - // Only applicable for Text Classification, Image Object Detection and Tables; all other domains manage deployment automatically. - // - // Returns an empty response in the - // [response][google.longrunning.Operation.response] field when it completes. - DeployModel(ctx context.Context, in *DeployModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Undeploys a model. If the model is not deployed this method has no effect. - // - // Only applicable for Text Classification, Image Object Detection and Tables; - // all other domains manage deployment automatically. - // - // Returns an empty response in the - // [response][google.longrunning.Operation.response] field when it completes. - UndeployModel(ctx context.Context, in *UndeployModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Exports a trained, "export-able", model to a user specified Google Cloud - // Storage location. A model is considered export-able if and only if it has - // an export format defined for it in - // - // [ModelExportOutputConfig][google.cloud.automl.v1beta1.ModelExportOutputConfig]. - // - // Returns an empty response in the - // [response][google.longrunning.Operation.response] field when it completes. - ExportModel(ctx context.Context, in *ExportModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Exports examples on which the model was evaluated (i.e. which were in the - // TEST set of the dataset the model was created from), together with their - // ground truth annotations and the annotations created (predicted) by the - // model. - // The examples, ground truth and predictions are exported in the state - // they were at the moment the model was evaluated. - // - // This export is available only for 30 days since the model evaluation is - // created. - // - // Currently only available for Tables. - // - // Returns an empty response in the - // [response][google.longrunning.Operation.response] field when it completes. - ExportEvaluatedExamples(ctx context.Context, in *ExportEvaluatedExamplesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Gets a model evaluation. - GetModelEvaluation(ctx context.Context, in *GetModelEvaluationRequest, opts ...grpc.CallOption) (*ModelEvaluation, error) - // Lists model evaluations. - ListModelEvaluations(ctx context.Context, in *ListModelEvaluationsRequest, opts ...grpc.CallOption) (*ListModelEvaluationsResponse, error) -} - -type autoMlClient struct { - cc *grpc.ClientConn -} - -func NewAutoMlClient(cc *grpc.ClientConn) AutoMlClient { - return &autoMlClient{cc} -} - -func (c *autoMlClient) CreateDataset(ctx context.Context, in *CreateDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) { - out := new(Dataset) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/CreateDataset", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoMlClient) GetDataset(ctx context.Context, in *GetDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) { - out := new(Dataset) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/GetDataset", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoMlClient) ListDatasets(ctx context.Context, in *ListDatasetsRequest, opts ...grpc.CallOption) (*ListDatasetsResponse, error) { - out := new(ListDatasetsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/ListDatasets", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoMlClient) UpdateDataset(ctx context.Context, in *UpdateDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) { - out := new(Dataset) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/UpdateDataset", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoMlClient) DeleteDataset(ctx context.Context, in *DeleteDatasetRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/DeleteDataset", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoMlClient) ImportData(ctx context.Context, in *ImportDataRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/ImportData", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoMlClient) ExportData(ctx context.Context, in *ExportDataRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/ExportData", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoMlClient) GetAnnotationSpec(ctx context.Context, in *GetAnnotationSpecRequest, opts ...grpc.CallOption) (*AnnotationSpec, error) { - out := new(AnnotationSpec) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/GetAnnotationSpec", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoMlClient) GetTableSpec(ctx context.Context, in *GetTableSpecRequest, opts ...grpc.CallOption) (*TableSpec, error) { - out := new(TableSpec) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/GetTableSpec", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoMlClient) ListTableSpecs(ctx context.Context, in *ListTableSpecsRequest, opts ...grpc.CallOption) (*ListTableSpecsResponse, error) { - out := new(ListTableSpecsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/ListTableSpecs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoMlClient) UpdateTableSpec(ctx context.Context, in *UpdateTableSpecRequest, opts ...grpc.CallOption) (*TableSpec, error) { - out := new(TableSpec) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/UpdateTableSpec", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoMlClient) GetColumnSpec(ctx context.Context, in *GetColumnSpecRequest, opts ...grpc.CallOption) (*ColumnSpec, error) { - out := new(ColumnSpec) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/GetColumnSpec", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoMlClient) ListColumnSpecs(ctx context.Context, in *ListColumnSpecsRequest, opts ...grpc.CallOption) (*ListColumnSpecsResponse, error) { - out := new(ListColumnSpecsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/ListColumnSpecs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoMlClient) UpdateColumnSpec(ctx context.Context, in *UpdateColumnSpecRequest, opts ...grpc.CallOption) (*ColumnSpec, error) { - out := new(ColumnSpec) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/UpdateColumnSpec", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoMlClient) CreateModel(ctx context.Context, in *CreateModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/CreateModel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoMlClient) GetModel(ctx context.Context, in *GetModelRequest, opts ...grpc.CallOption) (*Model, error) { - out := new(Model) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/GetModel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoMlClient) ListModels(ctx context.Context, in *ListModelsRequest, opts ...grpc.CallOption) (*ListModelsResponse, error) { - out := new(ListModelsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/ListModels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoMlClient) DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/DeleteModel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoMlClient) DeployModel(ctx context.Context, in *DeployModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/DeployModel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoMlClient) UndeployModel(ctx context.Context, in *UndeployModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/UndeployModel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoMlClient) ExportModel(ctx context.Context, in *ExportModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/ExportModel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoMlClient) ExportEvaluatedExamples(ctx context.Context, in *ExportEvaluatedExamplesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/ExportEvaluatedExamples", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoMlClient) GetModelEvaluation(ctx context.Context, in *GetModelEvaluationRequest, opts ...grpc.CallOption) (*ModelEvaluation, error) { - out := new(ModelEvaluation) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/GetModelEvaluation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoMlClient) ListModelEvaluations(ctx context.Context, in *ListModelEvaluationsRequest, opts ...grpc.CallOption) (*ListModelEvaluationsResponse, error) { - out := new(ListModelEvaluationsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.automl.v1beta1.AutoMl/ListModelEvaluations", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AutoMlServer is the server API for AutoMl service. -type AutoMlServer interface { - // Creates a dataset. - CreateDataset(context.Context, *CreateDatasetRequest) (*Dataset, error) - // Gets a dataset. - GetDataset(context.Context, *GetDatasetRequest) (*Dataset, error) - // Lists datasets in a project. - ListDatasets(context.Context, *ListDatasetsRequest) (*ListDatasetsResponse, error) - // Updates a dataset. - UpdateDataset(context.Context, *UpdateDatasetRequest) (*Dataset, error) - // Deletes a dataset and all of its contents. - // Returns empty response in the - // [response][google.longrunning.Operation.response] field when it completes, - // and `delete_details` in the - // [metadata][google.longrunning.Operation.metadata] field. - DeleteDataset(context.Context, *DeleteDatasetRequest) (*longrunning.Operation, error) - // Imports data into a dataset. - // For Tables this method can only be called on an empty Dataset. - // - // For Tables: - // * A - // [schema_inference_version][google.cloud.automl.v1beta1.InputConfig.params] - // parameter must be explicitly set. - // Returns an empty response in the - // [response][google.longrunning.Operation.response] field when it completes. - ImportData(context.Context, *ImportDataRequest) (*longrunning.Operation, error) - // Exports dataset's data to the provided output location. - // Returns an empty response in the - // [response][google.longrunning.Operation.response] field when it completes. - ExportData(context.Context, *ExportDataRequest) (*longrunning.Operation, error) - // Gets an annotation spec. - GetAnnotationSpec(context.Context, *GetAnnotationSpecRequest) (*AnnotationSpec, error) - // Gets a table spec. - GetTableSpec(context.Context, *GetTableSpecRequest) (*TableSpec, error) - // Lists table specs in a dataset. - ListTableSpecs(context.Context, *ListTableSpecsRequest) (*ListTableSpecsResponse, error) - // Updates a table spec. - UpdateTableSpec(context.Context, *UpdateTableSpecRequest) (*TableSpec, error) - // Gets a column spec. - GetColumnSpec(context.Context, *GetColumnSpecRequest) (*ColumnSpec, error) - // Lists column specs in a table spec. - ListColumnSpecs(context.Context, *ListColumnSpecsRequest) (*ListColumnSpecsResponse, error) - // Updates a column spec. - UpdateColumnSpec(context.Context, *UpdateColumnSpecRequest) (*ColumnSpec, error) - // Creates a model. - // Returns a Model in the [response][google.longrunning.Operation.response] - // field when it completes. - // When you create a model, several model evaluations are created for it: - // a global evaluation, and one evaluation for each annotation spec. - CreateModel(context.Context, *CreateModelRequest) (*longrunning.Operation, error) - // Gets a model. - GetModel(context.Context, *GetModelRequest) (*Model, error) - // Lists models. - ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error) - // Deletes a model. - // Returns `google.protobuf.Empty` in the - // [response][google.longrunning.Operation.response] field when it completes, - // and `delete_details` in the - // [metadata][google.longrunning.Operation.metadata] field. - DeleteModel(context.Context, *DeleteModelRequest) (*longrunning.Operation, error) - // Deploys a model. If a model is already deployed, deploying it with the - // same parameters has no effect. Deploying with different parametrs - // (as e.g. changing - // - // [node_number][google.cloud.automl.v1beta1.ImageObjectDetectionModelDeploymentMetadata.node_number]) - // will reset the deployment state without pausing the model's availability. - // - // Only applicable for Text Classification, Image Object Detection and Tables; all other domains manage deployment automatically. - // - // Returns an empty response in the - // [response][google.longrunning.Operation.response] field when it completes. - DeployModel(context.Context, *DeployModelRequest) (*longrunning.Operation, error) - // Undeploys a model. If the model is not deployed this method has no effect. - // - // Only applicable for Text Classification, Image Object Detection and Tables; - // all other domains manage deployment automatically. - // - // Returns an empty response in the - // [response][google.longrunning.Operation.response] field when it completes. - UndeployModel(context.Context, *UndeployModelRequest) (*longrunning.Operation, error) - // Exports a trained, "export-able", model to a user specified Google Cloud - // Storage location. A model is considered export-able if and only if it has - // an export format defined for it in - // - // [ModelExportOutputConfig][google.cloud.automl.v1beta1.ModelExportOutputConfig]. - // - // Returns an empty response in the - // [response][google.longrunning.Operation.response] field when it completes. - ExportModel(context.Context, *ExportModelRequest) (*longrunning.Operation, error) - // Exports examples on which the model was evaluated (i.e. which were in the - // TEST set of the dataset the model was created from), together with their - // ground truth annotations and the annotations created (predicted) by the - // model. - // The examples, ground truth and predictions are exported in the state - // they were at the moment the model was evaluated. - // - // This export is available only for 30 days since the model evaluation is - // created. - // - // Currently only available for Tables. - // - // Returns an empty response in the - // [response][google.longrunning.Operation.response] field when it completes. - ExportEvaluatedExamples(context.Context, *ExportEvaluatedExamplesRequest) (*longrunning.Operation, error) - // Gets a model evaluation. - GetModelEvaluation(context.Context, *GetModelEvaluationRequest) (*ModelEvaluation, error) - // Lists model evaluations. - ListModelEvaluations(context.Context, *ListModelEvaluationsRequest) (*ListModelEvaluationsResponse, error) -} - -// UnimplementedAutoMlServer can be embedded to have forward compatible implementations. -type UnimplementedAutoMlServer struct { -} - -func (*UnimplementedAutoMlServer) CreateDataset(ctx context.Context, req *CreateDatasetRequest) (*Dataset, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateDataset not implemented") -} -func (*UnimplementedAutoMlServer) GetDataset(ctx context.Context, req *GetDatasetRequest) (*Dataset, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDataset not implemented") -} -func (*UnimplementedAutoMlServer) ListDatasets(ctx context.Context, req *ListDatasetsRequest) (*ListDatasetsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListDatasets not implemented") -} -func (*UnimplementedAutoMlServer) UpdateDataset(ctx context.Context, req *UpdateDatasetRequest) (*Dataset, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateDataset not implemented") -} -func (*UnimplementedAutoMlServer) DeleteDataset(ctx context.Context, req *DeleteDatasetRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteDataset not implemented") -} -func (*UnimplementedAutoMlServer) ImportData(ctx context.Context, req *ImportDataRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ImportData not implemented") -} -func (*UnimplementedAutoMlServer) ExportData(ctx context.Context, req *ExportDataRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ExportData not implemented") -} -func (*UnimplementedAutoMlServer) GetAnnotationSpec(ctx context.Context, req *GetAnnotationSpecRequest) (*AnnotationSpec, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAnnotationSpec not implemented") -} -func (*UnimplementedAutoMlServer) GetTableSpec(ctx context.Context, req *GetTableSpecRequest) (*TableSpec, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTableSpec not implemented") -} -func (*UnimplementedAutoMlServer) ListTableSpecs(ctx context.Context, req *ListTableSpecsRequest) (*ListTableSpecsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListTableSpecs not implemented") -} -func (*UnimplementedAutoMlServer) UpdateTableSpec(ctx context.Context, req *UpdateTableSpecRequest) (*TableSpec, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateTableSpec not implemented") -} -func (*UnimplementedAutoMlServer) GetColumnSpec(ctx context.Context, req *GetColumnSpecRequest) (*ColumnSpec, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetColumnSpec not implemented") -} -func (*UnimplementedAutoMlServer) ListColumnSpecs(ctx context.Context, req *ListColumnSpecsRequest) (*ListColumnSpecsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListColumnSpecs not implemented") -} -func (*UnimplementedAutoMlServer) UpdateColumnSpec(ctx context.Context, req *UpdateColumnSpecRequest) (*ColumnSpec, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateColumnSpec not implemented") -} -func (*UnimplementedAutoMlServer) CreateModel(ctx context.Context, req *CreateModelRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateModel not implemented") -} -func (*UnimplementedAutoMlServer) GetModel(ctx context.Context, req *GetModelRequest) (*Model, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetModel not implemented") -} -func (*UnimplementedAutoMlServer) ListModels(ctx context.Context, req *ListModelsRequest) (*ListModelsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListModels not implemented") -} -func (*UnimplementedAutoMlServer) DeleteModel(ctx context.Context, req *DeleteModelRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteModel not implemented") -} -func (*UnimplementedAutoMlServer) DeployModel(ctx context.Context, req *DeployModelRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeployModel not implemented") -} -func (*UnimplementedAutoMlServer) UndeployModel(ctx context.Context, req *UndeployModelRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UndeployModel not implemented") -} -func (*UnimplementedAutoMlServer) ExportModel(ctx context.Context, req *ExportModelRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ExportModel not implemented") -} -func (*UnimplementedAutoMlServer) ExportEvaluatedExamples(ctx context.Context, req *ExportEvaluatedExamplesRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ExportEvaluatedExamples not implemented") -} -func (*UnimplementedAutoMlServer) GetModelEvaluation(ctx context.Context, req *GetModelEvaluationRequest) (*ModelEvaluation, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetModelEvaluation not implemented") -} -func (*UnimplementedAutoMlServer) ListModelEvaluations(ctx context.Context, req *ListModelEvaluationsRequest) (*ListModelEvaluationsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListModelEvaluations not implemented") -} - -func RegisterAutoMlServer(s *grpc.Server, srv AutoMlServer) { - s.RegisterService(&_AutoMl_serviceDesc, srv) -} - -func _AutoMl_CreateDataset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateDatasetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).CreateDataset(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1beta1.AutoMl/CreateDataset", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).CreateDataset(ctx, req.(*CreateDatasetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoMl_GetDataset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDatasetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).GetDataset(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1beta1.AutoMl/GetDataset", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).GetDataset(ctx, req.(*GetDatasetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoMl_ListDatasets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListDatasetsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).ListDatasets(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1beta1.AutoMl/ListDatasets", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).ListDatasets(ctx, req.(*ListDatasetsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoMl_UpdateDataset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateDatasetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).UpdateDataset(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1beta1.AutoMl/UpdateDataset", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).UpdateDataset(ctx, req.(*UpdateDatasetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoMl_DeleteDataset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteDatasetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).DeleteDataset(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1beta1.AutoMl/DeleteDataset", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).DeleteDataset(ctx, req.(*DeleteDatasetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoMl_ImportData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ImportDataRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).ImportData(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1beta1.AutoMl/ImportData", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).ImportData(ctx, req.(*ImportDataRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoMl_ExportData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ExportDataRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).ExportData(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1beta1.AutoMl/ExportData", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).ExportData(ctx, req.(*ExportDataRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoMl_GetAnnotationSpec_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAnnotationSpecRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).GetAnnotationSpec(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1beta1.AutoMl/GetAnnotationSpec", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).GetAnnotationSpec(ctx, req.(*GetAnnotationSpecRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoMl_GetTableSpec_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTableSpecRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).GetTableSpec(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1beta1.AutoMl/GetTableSpec", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).GetTableSpec(ctx, req.(*GetTableSpecRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoMl_ListTableSpecs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListTableSpecsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).ListTableSpecs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1beta1.AutoMl/ListTableSpecs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).ListTableSpecs(ctx, req.(*ListTableSpecsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoMl_UpdateTableSpec_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateTableSpecRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).UpdateTableSpec(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1beta1.AutoMl/UpdateTableSpec", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).UpdateTableSpec(ctx, req.(*UpdateTableSpecRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoMl_GetColumnSpec_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetColumnSpecRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).GetColumnSpec(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1beta1.AutoMl/GetColumnSpec", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).GetColumnSpec(ctx, req.(*GetColumnSpecRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoMl_ListColumnSpecs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListColumnSpecsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).ListColumnSpecs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1beta1.AutoMl/ListColumnSpecs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).ListColumnSpecs(ctx, req.(*ListColumnSpecsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoMl_UpdateColumnSpec_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateColumnSpecRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).UpdateColumnSpec(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1beta1.AutoMl/UpdateColumnSpec", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).UpdateColumnSpec(ctx, req.(*UpdateColumnSpecRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoMl_CreateModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateModelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).CreateModel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1beta1.AutoMl/CreateModel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).CreateModel(ctx, req.(*CreateModelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoMl_GetModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetModelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).GetModel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1beta1.AutoMl/GetModel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).GetModel(ctx, req.(*GetModelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoMl_ListModels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListModelsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).ListModels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1beta1.AutoMl/ListModels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).ListModels(ctx, req.(*ListModelsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoMl_DeleteModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteModelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).DeleteModel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1beta1.AutoMl/DeleteModel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).DeleteModel(ctx, req.(*DeleteModelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoMl_DeployModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeployModelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).DeployModel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1beta1.AutoMl/DeployModel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).DeployModel(ctx, req.(*DeployModelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoMl_UndeployModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UndeployModelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).UndeployModel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1beta1.AutoMl/UndeployModel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).UndeployModel(ctx, req.(*UndeployModelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoMl_ExportModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ExportModelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).ExportModel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1beta1.AutoMl/ExportModel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).ExportModel(ctx, req.(*ExportModelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoMl_ExportEvaluatedExamples_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ExportEvaluatedExamplesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).ExportEvaluatedExamples(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1beta1.AutoMl/ExportEvaluatedExamples", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).ExportEvaluatedExamples(ctx, req.(*ExportEvaluatedExamplesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoMl_GetModelEvaluation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetModelEvaluationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).GetModelEvaluation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1beta1.AutoMl/GetModelEvaluation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).GetModelEvaluation(ctx, req.(*GetModelEvaluationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoMl_ListModelEvaluations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListModelEvaluationsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoMlServer).ListModelEvaluations(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.automl.v1beta1.AutoMl/ListModelEvaluations", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoMlServer).ListModelEvaluations(ctx, req.(*ListModelEvaluationsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _AutoMl_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.automl.v1beta1.AutoMl", - HandlerType: (*AutoMlServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateDataset", - Handler: _AutoMl_CreateDataset_Handler, - }, - { - MethodName: "GetDataset", - Handler: _AutoMl_GetDataset_Handler, - }, - { - MethodName: "ListDatasets", - Handler: _AutoMl_ListDatasets_Handler, - }, - { - MethodName: "UpdateDataset", - Handler: _AutoMl_UpdateDataset_Handler, - }, - { - MethodName: "DeleteDataset", - Handler: _AutoMl_DeleteDataset_Handler, - }, - { - MethodName: "ImportData", - Handler: _AutoMl_ImportData_Handler, - }, - { - MethodName: "ExportData", - Handler: _AutoMl_ExportData_Handler, - }, - { - MethodName: "GetAnnotationSpec", - Handler: _AutoMl_GetAnnotationSpec_Handler, - }, - { - MethodName: "GetTableSpec", - Handler: _AutoMl_GetTableSpec_Handler, - }, - { - MethodName: "ListTableSpecs", - Handler: _AutoMl_ListTableSpecs_Handler, - }, - { - MethodName: "UpdateTableSpec", - Handler: _AutoMl_UpdateTableSpec_Handler, - }, - { - MethodName: "GetColumnSpec", - Handler: _AutoMl_GetColumnSpec_Handler, - }, - { - MethodName: "ListColumnSpecs", - Handler: _AutoMl_ListColumnSpecs_Handler, - }, - { - MethodName: "UpdateColumnSpec", - Handler: _AutoMl_UpdateColumnSpec_Handler, - }, - { - MethodName: "CreateModel", - Handler: _AutoMl_CreateModel_Handler, - }, - { - MethodName: "GetModel", - Handler: _AutoMl_GetModel_Handler, - }, - { - MethodName: "ListModels", - Handler: _AutoMl_ListModels_Handler, - }, - { - MethodName: "DeleteModel", - Handler: _AutoMl_DeleteModel_Handler, - }, - { - MethodName: "DeployModel", - Handler: _AutoMl_DeployModel_Handler, - }, - { - MethodName: "UndeployModel", - Handler: _AutoMl_UndeployModel_Handler, - }, - { - MethodName: "ExportModel", - Handler: _AutoMl_ExportModel_Handler, - }, - { - MethodName: "ExportEvaluatedExamples", - Handler: _AutoMl_ExportEvaluatedExamples_Handler, - }, - { - MethodName: "GetModelEvaluation", - Handler: _AutoMl_GetModelEvaluation_Handler, - }, - { - MethodName: "ListModelEvaluations", - Handler: _AutoMl_ListModelEvaluations_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/automl/v1beta1/service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/table_spec.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/table_spec.pb.go deleted file mode 100644 index c9781b10..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/table_spec.pb.go +++ /dev/null @@ -1,175 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1beta1/table_spec.proto - -package automl - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A specification of a relational table. -// The table's schema is represented via its child column specs. It is -// pre-populated as part of ImportData by schema inference algorithm, the -// version of which is a required parameter of ImportData InputConfig. -// Note: While working with a table, at times the schema may be -// inconsistent with the data in the table (e.g. string in a FLOAT64 column). -// The consistency validation is done upon creation of a model. -// Used by: -// * Tables -type TableSpec struct { - // Output only. The resource name of the table spec. - // Form: - // - // `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/tableSpecs/{table_spec_id}` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // column_spec_id of the time column. Only used if the parent dataset's - // ml_use_column_spec_id is not set. Used to split rows into TRAIN, VALIDATE - // and TEST sets such that oldest rows go to TRAIN set, newest to TEST, and - // those in between to VALIDATE. - // Required type: TIMESTAMP. - // If both this column and ml_use_column are not set, then ML use of all rows - // will be assigned by AutoML. NOTE: Updates of this field will instantly - // affect any other users concurrently working with the dataset. - TimeColumnSpecId string `protobuf:"bytes,2,opt,name=time_column_spec_id,json=timeColumnSpecId,proto3" json:"time_column_spec_id,omitempty"` - // Output only. The number of rows (i.e. examples) in the table. - RowCount int64 `protobuf:"varint,3,opt,name=row_count,json=rowCount,proto3" json:"row_count,omitempty"` - // Output only. The number of valid rows (i.e. without values that don't match - // DataType-s of their columns). - ValidRowCount int64 `protobuf:"varint,4,opt,name=valid_row_count,json=validRowCount,proto3" json:"valid_row_count,omitempty"` - // Output only. The number of columns of the table. That is, the number of - // child ColumnSpec-s. - ColumnCount int64 `protobuf:"varint,7,opt,name=column_count,json=columnCount,proto3" json:"column_count,omitempty"` - // Output only. Input configs via which data currently residing in the table - // had been imported. - InputConfigs []*InputConfig `protobuf:"bytes,5,rep,name=input_configs,json=inputConfigs,proto3" json:"input_configs,omitempty"` - // Used to perform consistent read-modify-write updates. If not set, a blind - // "overwrite" update happens. - Etag string `protobuf:"bytes,6,opt,name=etag,proto3" json:"etag,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TableSpec) Reset() { *m = TableSpec{} } -func (m *TableSpec) String() string { return proto.CompactTextString(m) } -func (*TableSpec) ProtoMessage() {} -func (*TableSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_67819f165062ce17, []int{0} -} - -func (m *TableSpec) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TableSpec.Unmarshal(m, b) -} -func (m *TableSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TableSpec.Marshal(b, m, deterministic) -} -func (m *TableSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_TableSpec.Merge(m, src) -} -func (m *TableSpec) XXX_Size() int { - return xxx_messageInfo_TableSpec.Size(m) -} -func (m *TableSpec) XXX_DiscardUnknown() { - xxx_messageInfo_TableSpec.DiscardUnknown(m) -} - -var xxx_messageInfo_TableSpec proto.InternalMessageInfo - -func (m *TableSpec) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *TableSpec) GetTimeColumnSpecId() string { - if m != nil { - return m.TimeColumnSpecId - } - return "" -} - -func (m *TableSpec) GetRowCount() int64 { - if m != nil { - return m.RowCount - } - return 0 -} - -func (m *TableSpec) GetValidRowCount() int64 { - if m != nil { - return m.ValidRowCount - } - return 0 -} - -func (m *TableSpec) GetColumnCount() int64 { - if m != nil { - return m.ColumnCount - } - return 0 -} - -func (m *TableSpec) GetInputConfigs() []*InputConfig { - if m != nil { - return m.InputConfigs - } - return nil -} - -func (m *TableSpec) GetEtag() string { - if m != nil { - return m.Etag - } - return "" -} - -func init() { - proto.RegisterType((*TableSpec)(nil), "google.cloud.automl.v1beta1.TableSpec") -} - -func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/table_spec.proto", fileDescriptor_67819f165062ce17) -} - -var fileDescriptor_67819f165062ce17 = []byte{ - // 360 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0xd1, 0xd1, 0x4a, 0xeb, 0x30, - 0x18, 0x07, 0x70, 0xda, 0xed, 0xec, 0x9c, 0x65, 0x1b, 0x47, 0xea, 0x4d, 0xd9, 0x44, 0xa7, 0x88, - 0xf4, 0x42, 0x5b, 0xa6, 0x77, 0xf5, 0x6a, 0xf6, 0x42, 0x06, 0x0e, 0xa4, 0x8a, 0x17, 0x32, 0x28, - 0x59, 0x1a, 0x43, 0x20, 0xcd, 0x57, 0xda, 0x74, 0x7b, 0x16, 0x1f, 0xc0, 0x97, 0xf1, 0x51, 0x7c, - 0x0a, 0x49, 0x52, 0xd9, 0x8d, 0xec, 0x2e, 0x5f, 0xfe, 0xbf, 0x7c, 0x5f, 0x93, 0xa2, 0x4b, 0x06, - 0xc0, 0x04, 0x8d, 0x88, 0x80, 0x26, 0x8f, 0x70, 0xa3, 0xa0, 0x10, 0xd1, 0x66, 0xb6, 0xa6, 0x0a, - 0xcf, 0x22, 0x85, 0xd7, 0x82, 0x66, 0x75, 0x49, 0x49, 0x58, 0x56, 0xa0, 0xc0, 0x9b, 0x58, 0x1d, - 0x1a, 0x1d, 0x5a, 0x1d, 0xb6, 0x7a, 0x7c, 0xbe, 0xaf, 0x15, 0x07, 0xdb, 0x62, 0x7c, 0xd4, 0x2a, - 0x5c, 0xf2, 0x08, 0x4b, 0x09, 0x0a, 0x2b, 0x0e, 0xb2, 0xb6, 0xe9, 0xd9, 0xbb, 0x8b, 0xfa, 0xcf, - 0x7a, 0xea, 0x53, 0x49, 0x89, 0xe7, 0xa1, 0xae, 0xc4, 0x05, 0xf5, 0x9d, 0xa9,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f, 0x88, 0xe3, 0x16, 0xac, 0x7b, 0x66, 0xd8, 0xcd, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, - 0x1c, 0x57, 0x2f, 0xa6, 0x5b, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/tables.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/tables.pb.go deleted file mode 100644 index 73c0ef18..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/tables.pb.go +++ /dev/null @@ -1,567 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1beta1/tables.proto - -package automl - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _struct "github.com/golang/protobuf/ptypes/struct" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Metadata for a dataset used for AutoML Tables. -type TablesDatasetMetadata struct { - // Output only. The table_spec_id of the primary table of this dataset. - PrimaryTableSpecId string `protobuf:"bytes,1,opt,name=primary_table_spec_id,json=primaryTableSpecId,proto3" json:"primary_table_spec_id,omitempty"` - // column_spec_id of the primary table's column that should be used as the - // training & prediction target. - // This column must be non-nullable and have one of following data types - // (otherwise model creation will error): - // - // * CATEGORY - // - // * FLOAT64 - // - // If the type is CATEGORY , only up to - // 100 unique values may exist in that column across all rows. - // - // NOTE: Updates of this field will instantly affect any other users - // concurrently working with the dataset. - TargetColumnSpecId string `protobuf:"bytes,2,opt,name=target_column_spec_id,json=targetColumnSpecId,proto3" json:"target_column_spec_id,omitempty"` - // column_spec_id of the primary table's column that should be used as the - // weight column, i.e. the higher the value the more important the row will be - // during model training. - // Required type: FLOAT64. - // Allowed values: 0 to 10000, inclusive on both ends; 0 means the row is - // ignored for training. - // If not set all rows are assumed to have equal weight of 1. - // NOTE: Updates of this field will instantly affect any other users - // concurrently working with the dataset. - WeightColumnSpecId string `protobuf:"bytes,3,opt,name=weight_column_spec_id,json=weightColumnSpecId,proto3" json:"weight_column_spec_id,omitempty"` - // column_spec_id of the primary table column which specifies a possible ML - // use of the row, i.e. the column will be used to split the rows into TRAIN, - // VALIDATE and TEST sets. - // Required type: STRING. - // This column, if set, must either have all of `TRAIN`, `VALIDATE`, `TEST` - // among its values, or only have `TEST`, `UNASSIGNED` values. In the latter - // case the rows with `UNASSIGNED` value will be assigned by AutoML. Note - // that if a given ml use distribution makes it impossible to create a "good" - // model, that call will error describing the issue. - // If both this column_spec_id and primary table's time_column_spec_id are not - // set, then all rows are treated as `UNASSIGNED`. - // NOTE: Updates of this field will instantly affect any other users - // concurrently working with the dataset. - MlUseColumnSpecId string `protobuf:"bytes,4,opt,name=ml_use_column_spec_id,json=mlUseColumnSpecId,proto3" json:"ml_use_column_spec_id,omitempty"` - // Output only. Correlations between - // - // [TablesDatasetMetadata.target_column_spec_id][google.cloud.automl.v1beta1.TablesDatasetMetadata.target_column_spec_id], - // and other columns of the - // - // [TablesDatasetMetadataprimary_table][google.cloud.automl.v1beta1.TablesDatasetMetadata.primary_table_spec_id]. - // Only set if the target column is set. Mapping from other column spec id to - // its CorrelationStats with the target column. - // This field may be stale, see the stats_update_time field for - // for the timestamp at which these stats were last updated. - TargetColumnCorrelations map[string]*CorrelationStats `protobuf:"bytes,6,rep,name=target_column_correlations,json=targetColumnCorrelations,proto3" json:"target_column_correlations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Output only. The most recent timestamp when target_column_correlations - // field and all descendant ColumnSpec.data_stats and - // ColumnSpec.top_correlated_columns fields were last (re-)generated. Any - // changes that happened to the dataset afterwards are not reflected in these - // fields values. The regeneration happens in the background on a best effort - // basis. - StatsUpdateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=stats_update_time,json=statsUpdateTime,proto3" json:"stats_update_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TablesDatasetMetadata) Reset() { *m = TablesDatasetMetadata{} } -func (m *TablesDatasetMetadata) String() string { return proto.CompactTextString(m) } -func (*TablesDatasetMetadata) ProtoMessage() {} -func (*TablesDatasetMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_a4edb25480826735, []int{0} -} - -func (m *TablesDatasetMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TablesDatasetMetadata.Unmarshal(m, b) -} -func (m *TablesDatasetMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TablesDatasetMetadata.Marshal(b, m, deterministic) -} -func (m *TablesDatasetMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_TablesDatasetMetadata.Merge(m, src) -} -func (m *TablesDatasetMetadata) XXX_Size() int { - return xxx_messageInfo_TablesDatasetMetadata.Size(m) -} -func (m *TablesDatasetMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_TablesDatasetMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_TablesDatasetMetadata proto.InternalMessageInfo - -func (m *TablesDatasetMetadata) GetPrimaryTableSpecId() string { - if m != nil { - return m.PrimaryTableSpecId - } - return "" -} - -func (m *TablesDatasetMetadata) GetTargetColumnSpecId() string { - if m != nil { - return m.TargetColumnSpecId - } - return "" -} - -func (m *TablesDatasetMetadata) GetWeightColumnSpecId() string { - if m != nil { - return m.WeightColumnSpecId - } - return "" -} - -func (m *TablesDatasetMetadata) GetMlUseColumnSpecId() string { - if m != nil { - return m.MlUseColumnSpecId - } - return "" -} - -func (m *TablesDatasetMetadata) GetTargetColumnCorrelations() map[string]*CorrelationStats { - if m != nil { - return m.TargetColumnCorrelations - } - return nil -} - -func (m *TablesDatasetMetadata) GetStatsUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.StatsUpdateTime - } - return nil -} - -// Model metadata specific to AutoML Tables. -type TablesModelMetadata struct { - // Column spec of the dataset's primary table's column the model is - // predicting. Snapshotted when model creation started. - // Only 3 fields are used: - // name - May be set on CreateModel, if it's not then the ColumnSpec - // corresponding to the current target_column_spec_id of the dataset - // the model is trained from is used. - // If neither is set, CreateModel will error. - // display_name - Output only. - // data_type - Output only. - TargetColumnSpec *ColumnSpec `protobuf:"bytes,2,opt,name=target_column_spec,json=targetColumnSpec,proto3" json:"target_column_spec,omitempty"` - // Column specs of the dataset's primary table's columns, on which - // the model is trained and which are used as the input for predictions. - // The - // - // [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] - // as well as, according to dataset's state upon model creation, - // - // [weight_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.weight_column_spec_id], - // and - // - // [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id] - // must never be included here. - // - // Only 3 fields are used: - // - // * name - May be set on CreateModel, if set only the columns specified are - // used, otherwise all primary table's columns (except the ones listed - // above) are used for the training and prediction input. - // - // * display_name - Output only. - // - // * data_type - Output only. - InputFeatureColumnSpecs []*ColumnSpec `protobuf:"bytes,3,rep,name=input_feature_column_specs,json=inputFeatureColumnSpecs,proto3" json:"input_feature_column_specs,omitempty"` - // Objective function the model is optimizing towards. The training process - // creates a model that maximizes/minimizes the value of the objective - // function over the validation set. - // - // The supported optimization objectives depend on the prediction type. - // If the field is not set, a default objective function is used. - // - // CLASSIFICATION_BINARY: - // "MAXIMIZE_AU_ROC" (default) - Maximize the area under the receiver - // operating characteristic (ROC) curve. - // "MINIMIZE_LOG_LOSS" - Minimize log loss. - // "MAXIMIZE_AU_PRC" - Maximize the area under the precision-recall curve. - // "MAXIMIZE_PRECISION_AT_RECALL" - Maximize precision for a specified - // recall value. - // "MAXIMIZE_RECALL_AT_PRECISION" - Maximize recall for a specified - // precision value. - // - // CLASSIFICATION_MULTI_CLASS : - // "MINIMIZE_LOG_LOSS" (default) - Minimize log loss. - // - // - // REGRESSION: - // "MINIMIZE_RMSE" (default) - Minimize root-mean-squared error (RMSE). - // "MINIMIZE_MAE" - Minimize mean-absolute error (MAE). - // "MINIMIZE_RMSLE" - Minimize root-mean-squared log error (RMSLE). - OptimizationObjective string `protobuf:"bytes,4,opt,name=optimization_objective,json=optimizationObjective,proto3" json:"optimization_objective,omitempty"` - // Output only. Auxiliary information for each of the - // input_feature_column_specs with respect to this particular model. - TablesModelColumnInfo []*TablesModelColumnInfo `protobuf:"bytes,5,rep,name=tables_model_column_info,json=tablesModelColumnInfo,proto3" json:"tables_model_column_info,omitempty"` - // Required. The train budget of creating this model, expressed in milli node - // hours i.e. 1,000 value in this field means 1 node hour. - // - // The training cost of the model will not exceed this budget. The final cost - // will be attempted to be close to the budget, though may end up being (even) - // noticeably smaller - at the backend's discretion. This especially may - // happen when further model training ceases to provide any improvements. - // - // If the budget is set to a value known to be insufficient to train a - // model for the given dataset, the training won't be attempted and - // will error. - // - // The train budget must be between 1,000 and 72,000 milli node hours, - // inclusive. - TrainBudgetMilliNodeHours int64 `protobuf:"varint,6,opt,name=train_budget_milli_node_hours,json=trainBudgetMilliNodeHours,proto3" json:"train_budget_milli_node_hours,omitempty"` - // Output only. The actual training cost of the model, expressed in milli - // node hours, i.e. 1,000 value in this field means 1 node hour. Guaranteed - // to not exceed the train budget. - TrainCostMilliNodeHours int64 `protobuf:"varint,7,opt,name=train_cost_milli_node_hours,json=trainCostMilliNodeHours,proto3" json:"train_cost_milli_node_hours,omitempty"` - // Use the entire training budget. This disables the early stopping feature. - // By default, the early stopping feature is enabled, which means that AutoML - // Tables might stop training before the entire training budget has been used. - DisableEarlyStopping bool `protobuf:"varint,12,opt,name=disable_early_stopping,json=disableEarlyStopping,proto3" json:"disable_early_stopping,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TablesModelMetadata) Reset() { *m = TablesModelMetadata{} } -func (m *TablesModelMetadata) String() string { return proto.CompactTextString(m) } -func (*TablesModelMetadata) ProtoMessage() {} -func (*TablesModelMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_a4edb25480826735, []int{1} -} - -func (m *TablesModelMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TablesModelMetadata.Unmarshal(m, b) -} -func (m *TablesModelMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TablesModelMetadata.Marshal(b, m, deterministic) -} -func (m *TablesModelMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_TablesModelMetadata.Merge(m, src) -} -func (m *TablesModelMetadata) XXX_Size() int { - return xxx_messageInfo_TablesModelMetadata.Size(m) -} -func (m *TablesModelMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_TablesModelMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_TablesModelMetadata proto.InternalMessageInfo - -func (m *TablesModelMetadata) GetTargetColumnSpec() *ColumnSpec { - if m != nil { - return m.TargetColumnSpec - } - return nil -} - -func (m *TablesModelMetadata) GetInputFeatureColumnSpecs() []*ColumnSpec { - if m != nil { - return m.InputFeatureColumnSpecs - } - return nil -} - -func (m *TablesModelMetadata) GetOptimizationObjective() string { - if m != nil { - return m.OptimizationObjective - } - return "" -} - -func (m *TablesModelMetadata) GetTablesModelColumnInfo() []*TablesModelColumnInfo { - if m != nil { - return m.TablesModelColumnInfo - } - return nil -} - -func (m *TablesModelMetadata) GetTrainBudgetMilliNodeHours() int64 { - if m != nil { - return m.TrainBudgetMilliNodeHours - } - return 0 -} - -func (m *TablesModelMetadata) GetTrainCostMilliNodeHours() int64 { - if m != nil { - return m.TrainCostMilliNodeHours - } - return 0 -} - -func (m *TablesModelMetadata) GetDisableEarlyStopping() bool { - if m != nil { - return m.DisableEarlyStopping - } - return false -} - -// Contains annotation details specific to Tables. -type TablesAnnotation struct { - // Output only. A confidence estimate between 0.0 and 1.0, inclusive. A higher - // value means greater confidence in the returned value. - // For - // - // [target_column_spec][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] - // of FLOAT64 data type the score is not populated. - Score float32 `protobuf:"fixed32,1,opt,name=score,proto3" json:"score,omitempty"` - // Output only. Only populated when - // - // [target_column_spec][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] - // has FLOAT64 data type. An interval in which the exactly correct target - // value has 95% chance to be in. - PredictionInterval *DoubleRange `protobuf:"bytes,4,opt,name=prediction_interval,json=predictionInterval,proto3" json:"prediction_interval,omitempty"` - // The predicted value of the row's - // - // [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec]. - // The value depends on the column's DataType: - // - // * CATEGORY - the predicted (with the above confidence `score`) CATEGORY - // value. - // - // * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value. - Value *_struct.Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - // Output only. Auxiliary information for each of the model's - // - // [input_feature_column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] - // with respect to this particular prediction. - // If no other fields than - // - // [column_spec_name][google.cloud.automl.v1beta1.TablesModelColumnInfo.column_spec_name] - // and - // - // [column_display_name][google.cloud.automl.v1beta1.TablesModelColumnInfo.column_display_name] - // would be populated, then this whole field is not. - TablesModelColumnInfo []*TablesModelColumnInfo `protobuf:"bytes,3,rep,name=tables_model_column_info,json=tablesModelColumnInfo,proto3" json:"tables_model_column_info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TablesAnnotation) Reset() { *m = TablesAnnotation{} } -func (m *TablesAnnotation) String() string { return proto.CompactTextString(m) } -func (*TablesAnnotation) ProtoMessage() {} -func (*TablesAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_a4edb25480826735, []int{2} -} - -func (m *TablesAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TablesAnnotation.Unmarshal(m, b) -} -func (m *TablesAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TablesAnnotation.Marshal(b, m, deterministic) -} -func (m *TablesAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_TablesAnnotation.Merge(m, src) -} -func (m *TablesAnnotation) XXX_Size() int { - return xxx_messageInfo_TablesAnnotation.Size(m) -} -func (m *TablesAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_TablesAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_TablesAnnotation proto.InternalMessageInfo - -func (m *TablesAnnotation) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -func (m *TablesAnnotation) GetPredictionInterval() *DoubleRange { - if m != nil { - return m.PredictionInterval - } - return nil -} - -func (m *TablesAnnotation) GetValue() *_struct.Value { - if m != nil { - return m.Value - } - return nil -} - -func (m *TablesAnnotation) GetTablesModelColumnInfo() []*TablesModelColumnInfo { - if m != nil { - return m.TablesModelColumnInfo - } - return nil -} - -// An information specific to given column and Tables Model, in context -// of the Model and the predictions created by it. -type TablesModelColumnInfo struct { - // Output only. The name of the ColumnSpec describing the column. Not - // populated when this proto is outputted to BigQuery. - ColumnSpecName string `protobuf:"bytes,1,opt,name=column_spec_name,json=columnSpecName,proto3" json:"column_spec_name,omitempty"` - // Output only. The display name of the column (same as the display_name of - // its ColumnSpec). - ColumnDisplayName string `protobuf:"bytes,2,opt,name=column_display_name,json=columnDisplayName,proto3" json:"column_display_name,omitempty"` - // Output only. When given as part of a Model (always populated): - // Measurement of how much model predictions correctness on the TEST data - // depend on values in this column. A value between 0 and 1, higher means - // higher influence. These values are normalized - for all input feature - // columns of a given model they add to 1. - // - // When given back by Predict (populated iff - // [feature_importance - // param][google.cloud.automl.v1beta1.PredictRequest.params] is set) or Batch - // Predict (populated iff - // [feature_importance][google.cloud.automl.v1beta1.PredictRequest.params] - // param is set): - // Measurement of how impactful for the prediction returned for the given row - // the value in this column was. A value between 0 and 1, higher means larger - // impact. These values are normalized - for all input feature columns of a - // single predicted row they add to 1. - FeatureImportance float32 `protobuf:"fixed32,3,opt,name=feature_importance,json=featureImportance,proto3" json:"feature_importance,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TablesModelColumnInfo) Reset() { *m = TablesModelColumnInfo{} } -func (m *TablesModelColumnInfo) String() string { return proto.CompactTextString(m) } -func (*TablesModelColumnInfo) ProtoMessage() {} -func (*TablesModelColumnInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_a4edb25480826735, []int{3} -} - -func (m *TablesModelColumnInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TablesModelColumnInfo.Unmarshal(m, b) -} -func (m *TablesModelColumnInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TablesModelColumnInfo.Marshal(b, m, deterministic) -} -func (m *TablesModelColumnInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_TablesModelColumnInfo.Merge(m, src) -} -func (m *TablesModelColumnInfo) XXX_Size() int { - return xxx_messageInfo_TablesModelColumnInfo.Size(m) -} -func (m *TablesModelColumnInfo) XXX_DiscardUnknown() { - xxx_messageInfo_TablesModelColumnInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_TablesModelColumnInfo proto.InternalMessageInfo - -func (m *TablesModelColumnInfo) GetColumnSpecName() string { - if m != nil { - return m.ColumnSpecName - } - return "" -} - -func (m *TablesModelColumnInfo) GetColumnDisplayName() string { - if m != nil { - return m.ColumnDisplayName - } - return "" -} - -func (m *TablesModelColumnInfo) GetFeatureImportance() float32 { - if m != nil { - return m.FeatureImportance - } - return 0 -} - -func init() { - proto.RegisterType((*TablesDatasetMetadata)(nil), "google.cloud.automl.v1beta1.TablesDatasetMetadata") - proto.RegisterMapType((map[string]*CorrelationStats)(nil), "google.cloud.automl.v1beta1.TablesDatasetMetadata.TargetColumnCorrelationsEntry") - proto.RegisterType((*TablesModelMetadata)(nil), "google.cloud.automl.v1beta1.TablesModelMetadata") - proto.RegisterType((*TablesAnnotation)(nil), "google.cloud.automl.v1beta1.TablesAnnotation") - proto.RegisterType((*TablesModelColumnInfo)(nil), "google.cloud.automl.v1beta1.TablesModelColumnInfo") -} - -func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/tables.proto", fileDescriptor_a4edb25480826735) -} - -var fileDescriptor_a4edb25480826735 = []byte{ - // 874 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xd1, 0x6e, 0x1b, 0x45, - 0x14, 0xd5, 0xda, 0x49, 0x0b, 0x13, 0x04, 0xc9, 0xa6, 0x4e, 0x8d, 0x43, 0x69, 0x94, 0x17, 0x2c, - 0xd4, 0xac, 0x1b, 0x03, 0x12, 0x32, 0x3c, 0x90, 0x3a, 0x2d, 0x44, 0x22, 0xa5, 0xda, 0x24, 0x95, - 0x40, 0x91, 0x56, 0xe3, 0xdd, 0xeb, 0xed, 0xd0, 0xd9, 0x99, 0xd5, 0xcc, 0x6c, 0x90, 0xfb, 0x11, - 0x7c, 0x02, 0xe2, 0x85, 0x37, 0xde, 0xf9, 0x07, 0x3e, 0x85, 0xaf, 0x40, 0x73, 0x67, 0x36, 0xb1, - 0x9d, 0xb0, 0xe4, 0xa1, 0x6f, 0xde, 0x3d, 0xe7, 0xdc, 0xb9, 0x73, 0xce, 0xdd, 0x6b, 0xd2, 0xcf, - 0xa5, 0xcc, 0x39, 0x0c, 0x52, 0x2e, 0xab, 0x6c, 0x40, 0x2b, 0x23, 0x0b, 0x3e, 0xb8, 0xd8, 0x9f, - 0x80, 0xa1, 0xfb, 0x03, 0x43, 0x27, 0x1c, 0x74, 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 0x8d, 0x10, 0xff, 0x7e, 0x34, 0xf2, 0x84, 0xc9, 0x1d, 0x3c, 0xec, 0xb3, 0x7f, 0x03, 0x00, 0x00, - 0xff, 0xff, 0x5f, 0x1b, 0xca, 0x58, 0x94, 0x08, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/temporal.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/temporal.pb.go deleted file mode 100644 index 81d6dfa7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/temporal.pb.go +++ /dev/null @@ -1,106 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1beta1/temporal.proto - -package automl - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A time period inside of an example that has a time dimension (e.g. video). -type TimeSegment struct { - // Start of the time segment (inclusive), represented as the duration since - // the example start. - StartTimeOffset *duration.Duration `protobuf:"bytes,1,opt,name=start_time_offset,json=startTimeOffset,proto3" json:"start_time_offset,omitempty"` - // End of the time segment (exclusive), represented as the duration since the - // example start. - 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 *TimeSegment) Reset() { *m = TimeSegment{} } -func (m *TimeSegment) String() string { return proto.CompactTextString(m) } -func (*TimeSegment) ProtoMessage() {} -func (*TimeSegment) Descriptor() ([]byte, []int) { - return fileDescriptor_7ab98b0922d3bd6f, []int{0} -} - -func (m *TimeSegment) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TimeSegment.Unmarshal(m, b) -} -func (m *TimeSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TimeSegment.Marshal(b, m, deterministic) -} -func (m *TimeSegment) XXX_Merge(src proto.Message) { - xxx_messageInfo_TimeSegment.Merge(m, src) -} -func (m *TimeSegment) XXX_Size() int { - return xxx_messageInfo_TimeSegment.Size(m) -} -func (m *TimeSegment) XXX_DiscardUnknown() { - xxx_messageInfo_TimeSegment.DiscardUnknown(m) -} - -var xxx_messageInfo_TimeSegment proto.InternalMessageInfo - -func (m *TimeSegment) GetStartTimeOffset() *duration.Duration { - if m != nil { - return m.StartTimeOffset - } - return nil -} - -func (m *TimeSegment) GetEndTimeOffset() *duration.Duration { - if m != nil { - return m.EndTimeOffset - } - return nil -} - -func init() { - proto.RegisterType((*TimeSegment)(nil), "google.cloud.automl.v1beta1.TimeSegment") -} - -func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/temporal.proto", fileDescriptor_7ab98b0922d3bd6f) -} - -var fileDescriptor_7ab98b0922d3bd6f = []byte{ - // 280 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0xcd, 0x4a, 0xc4, 0x30, - 0x10, 0x80, 0xe9, 0x1e, 0x3c, 0x74, 0x91, 0xc5, 0x9e, 0x74, 0x57, 0x56, 0xf1, 0x24, 0x1e, 0x12, - 0x56, 0x6f, 0xf1, 0x54, 0x7f, 0xf0, 0xa2, 0x28, 0x2a, 0x1e, 0xa4, 0xb0, 0xa4, 0xdb, 0x69, 0x28, - 0x24, 0x99, 0xd2, 0x4e, 0x7d, 0x15, 0x9f, 0xc0, 0x97, 0xf1, 0x51, 0x7c, 0x0a, 0xd9, 0x49, 0x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, 0x6c, 0xf1, 0x14, 0xa4, 0x8f, 0xd1, 0x3c, 0x50, 0xa5, 0x18, - 0x2b, 0xc5, 0xfc, 0x5a, 0xa9, 0x28, 0x94, 0x1b, 0xbc, 0xec, 0xe4, 0x33, 0x00, 0x00, 0xff, 0xff, - 0x96, 0x9e, 0xa0, 0xcd, 0xd1, 0x01, 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 deleted file mode 100644 index 6ee86fd7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/text.pb.go +++ /dev/null @@ -1,277 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1beta1/text.proto - -package automl - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Dataset metadata for classification. -type TextClassificationDatasetMetadata struct { - // Required. Type of the classification problem. - ClassificationType ClassificationType `protobuf:"varint,1,opt,name=classification_type,json=classificationType,proto3,enum=google.cloud.automl.v1beta1.ClassificationType" json:"classification_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TextClassificationDatasetMetadata) Reset() { *m = TextClassificationDatasetMetadata{} } -func (m *TextClassificationDatasetMetadata) String() string { return proto.CompactTextString(m) } -func (*TextClassificationDatasetMetadata) ProtoMessage() {} -func (*TextClassificationDatasetMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_c1121cf231f416fd, []int{0} -} - -func (m *TextClassificationDatasetMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextClassificationDatasetMetadata.Unmarshal(m, b) -} -func (m *TextClassificationDatasetMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextClassificationDatasetMetadata.Marshal(b, m, deterministic) -} -func (m *TextClassificationDatasetMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextClassificationDatasetMetadata.Merge(m, src) -} -func (m *TextClassificationDatasetMetadata) XXX_Size() int { - return xxx_messageInfo_TextClassificationDatasetMetadata.Size(m) -} -func (m *TextClassificationDatasetMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_TextClassificationDatasetMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_TextClassificationDatasetMetadata proto.InternalMessageInfo - -func (m *TextClassificationDatasetMetadata) GetClassificationType() ClassificationType { - if m != nil { - return m.ClassificationType - } - return ClassificationType_CLASSIFICATION_TYPE_UNSPECIFIED -} - -// Model metadata that is specific to text classification. -type TextClassificationModelMetadata struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TextClassificationModelMetadata) Reset() { *m = TextClassificationModelMetadata{} } -func (m *TextClassificationModelMetadata) String() string { return proto.CompactTextString(m) } -func (*TextClassificationModelMetadata) ProtoMessage() {} -func (*TextClassificationModelMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_c1121cf231f416fd, []int{1} -} - -func (m *TextClassificationModelMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextClassificationModelMetadata.Unmarshal(m, b) -} -func (m *TextClassificationModelMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextClassificationModelMetadata.Marshal(b, m, deterministic) -} -func (m *TextClassificationModelMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextClassificationModelMetadata.Merge(m, src) -} -func (m *TextClassificationModelMetadata) XXX_Size() int { - return xxx_messageInfo_TextClassificationModelMetadata.Size(m) -} -func (m *TextClassificationModelMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_TextClassificationModelMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_TextClassificationModelMetadata proto.InternalMessageInfo - -// Dataset metadata that is specific to text extraction -type TextExtractionDatasetMetadata struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TextExtractionDatasetMetadata) Reset() { *m = TextExtractionDatasetMetadata{} } -func (m *TextExtractionDatasetMetadata) String() string { return proto.CompactTextString(m) } -func (*TextExtractionDatasetMetadata) ProtoMessage() {} -func (*TextExtractionDatasetMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_c1121cf231f416fd, []int{2} -} - -func (m *TextExtractionDatasetMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextExtractionDatasetMetadata.Unmarshal(m, b) -} -func (m *TextExtractionDatasetMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextExtractionDatasetMetadata.Marshal(b, m, deterministic) -} -func (m *TextExtractionDatasetMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextExtractionDatasetMetadata.Merge(m, src) -} -func (m *TextExtractionDatasetMetadata) XXX_Size() int { - return xxx_messageInfo_TextExtractionDatasetMetadata.Size(m) -} -func (m *TextExtractionDatasetMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_TextExtractionDatasetMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_TextExtractionDatasetMetadata proto.InternalMessageInfo - -// Model metadata that is specific to text extraction. -type TextExtractionModelMetadata struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TextExtractionModelMetadata) Reset() { *m = TextExtractionModelMetadata{} } -func (m *TextExtractionModelMetadata) String() string { return proto.CompactTextString(m) } -func (*TextExtractionModelMetadata) ProtoMessage() {} -func (*TextExtractionModelMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_c1121cf231f416fd, []int{3} -} - -func (m *TextExtractionModelMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextExtractionModelMetadata.Unmarshal(m, b) -} -func (m *TextExtractionModelMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextExtractionModelMetadata.Marshal(b, m, deterministic) -} -func (m *TextExtractionModelMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextExtractionModelMetadata.Merge(m, src) -} -func (m *TextExtractionModelMetadata) XXX_Size() int { - return xxx_messageInfo_TextExtractionModelMetadata.Size(m) -} -func (m *TextExtractionModelMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_TextExtractionModelMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_TextExtractionModelMetadata proto.InternalMessageInfo - -// Dataset metadata for text sentiment. -type TextSentimentDatasetMetadata struct { - // Required. A sentiment is expressed as an integer ordinal, where higher value - // means a more positive sentiment. The range of sentiments that will be used - // is between 0 and sentiment_max (inclusive on both ends), and all the values - // in the range must be represented in the dataset before a model can be - // created. - // sentiment_max value must be between 1 and 10 (inclusive). - SentimentMax int32 `protobuf:"varint,1,opt,name=sentiment_max,json=sentimentMax,proto3" json:"sentiment_max,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TextSentimentDatasetMetadata) Reset() { *m = TextSentimentDatasetMetadata{} } -func (m *TextSentimentDatasetMetadata) String() string { return proto.CompactTextString(m) } -func (*TextSentimentDatasetMetadata) ProtoMessage() {} -func (*TextSentimentDatasetMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_c1121cf231f416fd, []int{4} -} - -func (m *TextSentimentDatasetMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextSentimentDatasetMetadata.Unmarshal(m, b) -} -func (m *TextSentimentDatasetMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextSentimentDatasetMetadata.Marshal(b, m, deterministic) -} -func (m *TextSentimentDatasetMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextSentimentDatasetMetadata.Merge(m, src) -} -func (m *TextSentimentDatasetMetadata) XXX_Size() int { - return xxx_messageInfo_TextSentimentDatasetMetadata.Size(m) -} -func (m *TextSentimentDatasetMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_TextSentimentDatasetMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_TextSentimentDatasetMetadata proto.InternalMessageInfo - -func (m *TextSentimentDatasetMetadata) GetSentimentMax() int32 { - if m != nil { - return m.SentimentMax - } - return 0 -} - -// Model metadata that is specific to text sentiment. -type TextSentimentModelMetadata struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TextSentimentModelMetadata) Reset() { *m = TextSentimentModelMetadata{} } -func (m *TextSentimentModelMetadata) String() string { return proto.CompactTextString(m) } -func (*TextSentimentModelMetadata) ProtoMessage() {} -func (*TextSentimentModelMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_c1121cf231f416fd, []int{5} -} - -func (m *TextSentimentModelMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextSentimentModelMetadata.Unmarshal(m, b) -} -func (m *TextSentimentModelMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextSentimentModelMetadata.Marshal(b, m, deterministic) -} -func (m *TextSentimentModelMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextSentimentModelMetadata.Merge(m, src) -} -func (m *TextSentimentModelMetadata) XXX_Size() int { - return xxx_messageInfo_TextSentimentModelMetadata.Size(m) -} -func (m *TextSentimentModelMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_TextSentimentModelMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_TextSentimentModelMetadata proto.InternalMessageInfo - -func init() { - proto.RegisterType((*TextClassificationDatasetMetadata)(nil), "google.cloud.automl.v1beta1.TextClassificationDatasetMetadata") - proto.RegisterType((*TextClassificationModelMetadata)(nil), "google.cloud.automl.v1beta1.TextClassificationModelMetadata") - proto.RegisterType((*TextExtractionDatasetMetadata)(nil), "google.cloud.automl.v1beta1.TextExtractionDatasetMetadata") - proto.RegisterType((*TextExtractionModelMetadata)(nil), "google.cloud.automl.v1beta1.TextExtractionModelMetadata") - proto.RegisterType((*TextSentimentDatasetMetadata)(nil), "google.cloud.automl.v1beta1.TextSentimentDatasetMetadata") - proto.RegisterType((*TextSentimentModelMetadata)(nil), "google.cloud.automl.v1beta1.TextSentimentModelMetadata") -} - -func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/text.proto", fileDescriptor_c1121cf231f416fd) -} - -var fileDescriptor_c1121cf231f416fd = []byte{ - // 342 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xcf, 0x4a, 0x2b, 0x31, - 0x14, 0xc6, 0x99, 0xc2, 0xbd, 0x70, 0xc3, 0xd5, 0x45, 0xdd, 0x48, 0xff, 0x58, 0x3b, 0x82, 0xb8, - 0x4a, 0xac, 0xee, 0xc6, 0x55, 0x5b, 0xc5, 0x8d, 0x03, 0xa5, 0x16, 0x17, 0x52, 0xa8, 0xa7, 0xd3, - 0x38, 0x0c, 0x64, 0x72, 0x86, 0xce, 0xa9, 0x4c, 0x1f, 0xc0, 0xf7, 0xf1, 0x39, 0x7c, 0x14, 0x9f, - 0x42, 0x26, 0x99, 0x0a, 0xb1, 0xa5, 0xcb, 0xe4, 0xf7, 0x3b, 0x5f, 0xbe, 0x24, 0xec, 0x3c, 0x46, - 0x8c, 0x95, 0x14, 0x91, 0xc2, 0xd5, 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xcf, 0xfd, 0xca, - 0x8c, 0x51, 0x81, 0x8e, 0x39, 0x2e, 0x63, 0x11, 0x4b, 0x6d, 0xbe, 0x46, 0x58, 0x04, 0x59, 0x92, - 0xef, 0xfc, 0xed, 0x1b, 0xbb, 0xfc, 0xac, 0x35, 0xef, 0x8d, 0x38, 0x1d, 0x96, 0xd2, 0xb4, 0xbf, - 0x22, 0x0c, 0xd5, 0xf4, 0xc9, 0x4a, 0x5f, 0xb5, 0x13, 0x4b, 0x83, 0xc0, 0xe0, 0x20, 0x30, 0xfc, - 0x21, 0x08, 0x2a, 0x61, 0xfe, 0xd7, 0x1c, 0x76, 0xfd, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x5c, 0xfd, - 0x49, 0xfc, 0x9e, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/text_extraction.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/text_extraction.pb.go deleted file mode 100644 index afd71822..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/text_extraction.pb.go +++ /dev/null @@ -1,269 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1beta1/text_extraction.proto - -package automl - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Annotation for identifying spans of text. -type TextExtractionAnnotation struct { - // Required. Text extraction annotations can either be a text segment or a - // text relation. - // - // Types that are valid to be assigned to Annotation: - // *TextExtractionAnnotation_TextSegment - Annotation isTextExtractionAnnotation_Annotation `protobuf_oneof:"annotation"` - // Output only. A confidence estimate between 0.0 and 1.0. A higher value - // means greater confidence in correctness of the annotation. - Score float32 `protobuf:"fixed32,1,opt,name=score,proto3" json:"score,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TextExtractionAnnotation) Reset() { *m = TextExtractionAnnotation{} } -func (m *TextExtractionAnnotation) String() string { return proto.CompactTextString(m) } -func (*TextExtractionAnnotation) ProtoMessage() {} -func (*TextExtractionAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_425e57cc225e529c, []int{0} -} - -func (m *TextExtractionAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextExtractionAnnotation.Unmarshal(m, b) -} -func (m *TextExtractionAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextExtractionAnnotation.Marshal(b, m, deterministic) -} -func (m *TextExtractionAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextExtractionAnnotation.Merge(m, src) -} -func (m *TextExtractionAnnotation) XXX_Size() int { - return xxx_messageInfo_TextExtractionAnnotation.Size(m) -} -func (m *TextExtractionAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_TextExtractionAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_TextExtractionAnnotation proto.InternalMessageInfo - -type isTextExtractionAnnotation_Annotation interface { - isTextExtractionAnnotation_Annotation() -} - -type TextExtractionAnnotation_TextSegment struct { - TextSegment *TextSegment `protobuf:"bytes,3,opt,name=text_segment,json=textSegment,proto3,oneof"` -} - -func (*TextExtractionAnnotation_TextSegment) isTextExtractionAnnotation_Annotation() {} - -func (m *TextExtractionAnnotation) GetAnnotation() isTextExtractionAnnotation_Annotation { - if m != nil { - return m.Annotation - } - return nil -} - -func (m *TextExtractionAnnotation) GetTextSegment() *TextSegment { - if x, ok := m.GetAnnotation().(*TextExtractionAnnotation_TextSegment); ok { - return x.TextSegment - } - return nil -} - -func (m *TextExtractionAnnotation) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*TextExtractionAnnotation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*TextExtractionAnnotation_TextSegment)(nil), - } -} - -// Model evaluation metrics for text extraction problems. -type TextExtractionEvaluationMetrics struct { - // Output only. The Area under precision recall curve metric. - AuPrc float32 `protobuf:"fixed32,1,opt,name=au_prc,json=auPrc,proto3" json:"au_prc,omitempty"` - // Output only. Metrics that have confidence thresholds. - // Precision-recall curve can be derived from it. - ConfidenceMetricsEntries []*TextExtractionEvaluationMetrics_ConfidenceMetricsEntry `protobuf:"bytes,2,rep,name=confidence_metrics_entries,json=confidenceMetricsEntries,proto3" json:"confidence_metrics_entries,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TextExtractionEvaluationMetrics) Reset() { *m = TextExtractionEvaluationMetrics{} } -func (m *TextExtractionEvaluationMetrics) String() string { return proto.CompactTextString(m) } -func (*TextExtractionEvaluationMetrics) ProtoMessage() {} -func (*TextExtractionEvaluationMetrics) Descriptor() ([]byte, []int) { - return fileDescriptor_425e57cc225e529c, []int{1} -} - -func (m *TextExtractionEvaluationMetrics) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextExtractionEvaluationMetrics.Unmarshal(m, b) -} -func (m *TextExtractionEvaluationMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextExtractionEvaluationMetrics.Marshal(b, m, deterministic) -} -func (m *TextExtractionEvaluationMetrics) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextExtractionEvaluationMetrics.Merge(m, src) -} -func (m *TextExtractionEvaluationMetrics) XXX_Size() int { - return xxx_messageInfo_TextExtractionEvaluationMetrics.Size(m) -} -func (m *TextExtractionEvaluationMetrics) XXX_DiscardUnknown() { - xxx_messageInfo_TextExtractionEvaluationMetrics.DiscardUnknown(m) -} - -var xxx_messageInfo_TextExtractionEvaluationMetrics proto.InternalMessageInfo - -func (m *TextExtractionEvaluationMetrics) GetAuPrc() float32 { - if m != nil { - return m.AuPrc - } - return 0 -} - -func (m *TextExtractionEvaluationMetrics) GetConfidenceMetricsEntries() []*TextExtractionEvaluationMetrics_ConfidenceMetricsEntry { - if m != nil { - return m.ConfidenceMetricsEntries - } - return nil -} - -// Metrics for a single confidence threshold. -type TextExtractionEvaluationMetrics_ConfidenceMetricsEntry struct { - // Output only. The confidence threshold value used to compute the metrics. - // Only annotations with score of at least this threshold are considered to - // be ones the model would return. - ConfidenceThreshold float32 `protobuf:"fixed32,1,opt,name=confidence_threshold,json=confidenceThreshold,proto3" json:"confidence_threshold,omitempty"` - // Output only. Recall under the given confidence threshold. - Recall float32 `protobuf:"fixed32,3,opt,name=recall,proto3" json:"recall,omitempty"` - // Output only. Precision under the given confidence threshold. - Precision float32 `protobuf:"fixed32,4,opt,name=precision,proto3" json:"precision,omitempty"` - // Output only. The harmonic mean of recall and precision. - F1Score float32 `protobuf:"fixed32,5,opt,name=f1_score,json=f1Score,proto3" json:"f1_score,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TextExtractionEvaluationMetrics_ConfidenceMetricsEntry) Reset() { - *m = TextExtractionEvaluationMetrics_ConfidenceMetricsEntry{} -} -func (m *TextExtractionEvaluationMetrics_ConfidenceMetricsEntry) String() string { - return proto.CompactTextString(m) -} -func (*TextExtractionEvaluationMetrics_ConfidenceMetricsEntry) ProtoMessage() {} -func (*TextExtractionEvaluationMetrics_ConfidenceMetricsEntry) Descriptor() ([]byte, []int) { - return fileDescriptor_425e57cc225e529c, []int{1, 0} -} - -func (m *TextExtractionEvaluationMetrics_ConfidenceMetricsEntry) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextExtractionEvaluationMetrics_ConfidenceMetricsEntry.Unmarshal(m, b) -} -func (m *TextExtractionEvaluationMetrics_ConfidenceMetricsEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextExtractionEvaluationMetrics_ConfidenceMetricsEntry.Marshal(b, m, deterministic) -} -func (m *TextExtractionEvaluationMetrics_ConfidenceMetricsEntry) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextExtractionEvaluationMetrics_ConfidenceMetricsEntry.Merge(m, src) -} -func (m *TextExtractionEvaluationMetrics_ConfidenceMetricsEntry) XXX_Size() int { - return xxx_messageInfo_TextExtractionEvaluationMetrics_ConfidenceMetricsEntry.Size(m) -} -func (m *TextExtractionEvaluationMetrics_ConfidenceMetricsEntry) XXX_DiscardUnknown() { - xxx_messageInfo_TextExtractionEvaluationMetrics_ConfidenceMetricsEntry.DiscardUnknown(m) -} - -var xxx_messageInfo_TextExtractionEvaluationMetrics_ConfidenceMetricsEntry proto.InternalMessageInfo - -func (m *TextExtractionEvaluationMetrics_ConfidenceMetricsEntry) GetConfidenceThreshold() float32 { - if m != nil { - return m.ConfidenceThreshold - } - return 0 -} - -func (m *TextExtractionEvaluationMetrics_ConfidenceMetricsEntry) GetRecall() float32 { - if m != nil { - return m.Recall - } - return 0 -} - -func (m *TextExtractionEvaluationMetrics_ConfidenceMetricsEntry) GetPrecision() float32 { - if m != nil { - return m.Precision - } - return 0 -} - -func (m *TextExtractionEvaluationMetrics_ConfidenceMetricsEntry) GetF1Score() float32 { - if m != nil { - return m.F1Score - } - return 0 -} - -func init() { - proto.RegisterType((*TextExtractionAnnotation)(nil), "google.cloud.automl.v1beta1.TextExtractionAnnotation") - proto.RegisterType((*TextExtractionEvaluationMetrics)(nil), "google.cloud.automl.v1beta1.TextExtractionEvaluationMetrics") - proto.RegisterType((*TextExtractionEvaluationMetrics_ConfidenceMetricsEntry)(nil), "google.cloud.automl.v1beta1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry") -} - -func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/text_extraction.proto", fileDescriptor_425e57cc225e529c) -} - -var fileDescriptor_425e57cc225e529c = []byte{ - // 433 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xc1, 0x6e, 0xd3, 0x40, - 0x10, 0x86, 0xb1, 0x4b, 0x03, 0x6c, 0x7a, 0x5a, 0x4a, 0x65, 0xd2, 0x8a, 0x46, 0x3d, 0xe5, 0xb4, - 0x96, 0xcb, 0xcd, 0x9c, 0x42, 0x15, 0xc1, 0x81, 0x48, 0x55, 0x52, 0x71, 0x40, 0x91, 0xac, 0xed, - 0x66, 0xe2, 0xae, 0xb4, 0xd9, 0xb5, 0x76, 0xc7, 0x55, 0x78, 0x08, 0x0e, 0xdc, 0xb9, 0xf2, 0x32, - 0x3c, 0x0a, 0xbc, 0x04, 0xca, 0xae, 0x1b, 0xb7, 0x52, 0x94, 0x1c, 0x67, 0xbe, 0x7f, 0xfe, 0xf9, - 0x3d, 0x5e, 0x92, 0x95, 0xc6, 0x94, 0x0a, 0x52, 0xa1, 0x4c, 0x3d, 0x4f, 0x79, 0x8d, 0x66, 0xa9, - 0xd2, 0xfb, 0xec, 0x16, 0x90, 0x67, 0x29, 0xc2, 0x0a, 0x0b, 0x58, 0xa1, 0xe5, 0x02, 0xa5, 0xd1, - 0xac, 0xb2, 0x06, 0x0d, 0x3d, 0x0d, 0x23, 0xcc, 0x8f, 0xb0, 0x30, 0xc2, 0x9a, 0x91, 0x1e, 0xdb, - 0xeb, 0xe7, 0xa0, 0x5c, 0x82, 0xc6, 0x60, 0xd6, 0x3b, 0x6b, 0xf4, 0xbc, 0x92, 0x29, 0xd7, 0xda, - 0x20, 0x5f, 0x6f, 0x72, 0x81, 0x5e, 0xfc, 0x88, 0x48, 0x72, 0x03, 0x2b, 0x1c, 0x6d, 0x32, 0x0c, - 0x37, 0x1a, 0x3a, 0x26, 0x47, 0x8f, 0x0d,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, 0x3b, 0x22, 0xe7, 0xc2, - 0x2c, 0x77, 0xdd, 0xe4, 0x3a, 0xfa, 0x36, 0x6c, 0x70, 0x69, 0x14, 0xd7, 0x25, 0x33, 0xb6, 0x4c, - 0x4b, 0xd0, 0xfe, 0xfd, 0xa4, 0x01, 0xf1, 0x4a, 0xba, 0xad, 0x0f, 0xf2, 0x43, 0x28, 0xff, 0xc4, - 0xa7, 0x9f, 0xbc, 0x70, 0x76, 0xb5, 0x16, 0xcd, 0x86, 0x35, 0x9a, 0xb1, 0x9a, 0x7d, 0x0d, 0xa2, - 0xbf, 0xf1, 0xbb, 0x40, 0xf3, 0xdc, 0xe3, 0x3c, 0xf7, 0xfc, 0x4b, 0x9e, 0x37, 0x82, 0xdb, 0x8e, - 0x5f, 0xf6, 0xfe, 0x7f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x2f, 0xe1, 0xd7, 0x4a, 0x4c, 0x03, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/text_segment.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/text_segment.pb.go deleted file mode 100644 index 458a3627..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/text_segment.pb.go +++ /dev/null @@ -1,114 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1beta1/text_segment.proto - -package automl - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A contiguous part of a text (string), assuming it has an UTF-8 NFC encoding. -type TextSegment struct { - // Output only. The content of the TextSegment. - Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` - // Required. Zero-based character index of the first character of the text - // segment (counting characters from the beginning of the text). - StartOffset int64 `protobuf:"varint,1,opt,name=start_offset,json=startOffset,proto3" json:"start_offset,omitempty"` - // Required. Zero-based character index of the first character past the end of - // the text segment (counting character from the beginning of the text). - // The character at the end_offset is NOT included in the text segment. - EndOffset int64 `protobuf:"varint,2,opt,name=end_offset,json=endOffset,proto3" json:"end_offset,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_bbd0421c131b44e6, []int{0} -} - -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 (m *TextSegment) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextSegment.Merge(m, 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) GetContent() string { - if m != nil { - return m.Content - } - return "" -} - -func (m *TextSegment) GetStartOffset() int64 { - if m != nil { - return m.StartOffset - } - return 0 -} - -func (m *TextSegment) GetEndOffset() int64 { - if m != nil { - return m.EndOffset - } - return 0 -} - -func init() { - proto.RegisterType((*TextSegment)(nil), "google.cloud.automl.v1beta1.TextSegment") -} - -func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/text_segment.proto", fileDescriptor_bbd0421c131b44e6) -} - -var fileDescriptor_bbd0421c131b44e6 = []byte{ - // 272 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xcf, 0x4a, 0xc3, 0x40, - 0x10, 0xc6, 0x49, 0x0a, 0x4a, 0xb7, 0x1e, 0x24, 0xa7, 0x60, 0xfd, 0x53, 0x3d, 0xf5, 0xb4, 0x4b, - 0xf1, 0xb6, 0x9e, 0x5a, 0x0f, 0x5e, 0x14, 0x4b, 0x15, 0x0f, 0x12, 0x28, 0xdb, 0x64, 0xba, 0x04, - 0x92, 0x99, 0x90, 0x9d, 0x48, 0xdf, 0xcc, 0x77, 0xf0, 0x51, 0x7c, 0x0a, 0xe9, 0x6e, 0x0a, 0x1e, - 0xc4, 0xe3, 0xcc, 0xef, 0x37, 0xdf, 0x7e, 0xac, 0x90, 0x96, 0xc8, 0x56, 0xa0, 0xf2, 0x8a, 0xba, - 0x42, 0x99, 0x8e, 0xa9, 0xae, 0xd4, 0xc7, 0x6c, 0x03, 0x6c, 0x66, 0x8a, 0x61, 0xc7, 0x6b, 0x07, - 0xb6, 0x06, 0x64, 0xd9, 0xb4, 0xc4, 0x94, 0x8c, 0x83, 0x2f, 0xbd, 0x2f, 0x83, 0x2f, 0x7b, 0xff, - 0xec, 0xbc, 0x0f, 0x33, 0x4d, 0xa9, 0x0c, 0x22, 0xb1, 0xe1, 0x92, 0xd0, 0x85, 0xd3, 0x9b, 0x52, - 0x8c, 0x5e, 0x61, 0xc7, 0x2f, 0x21, 0x2f, 0x49, 0xc5, 0x71, 0x4e, 0xc8, 0x80, 0x9c, 0x0e, 0x26, - 0xd1, 0x74, 0xb8, 0x3a, 0x8c, 0xc9, 0xb5, 0x38, 0x71, 0x6c, 0x5a, 0x5e, 0xd3, 0x76, 0xeb, 0x80, - 0xd3, 0x68, 0x12, 0x4d, 0x07, 0xab, 0x91, 0xdf, 0x3d, 0xfb, 0x55, 0x72, 0x21, 0x04, 0x60, 0x71, - 0x10, 0x62, 0x2f, 0x0c, 0x01, 0x8b, 0x80, 0x17, 0x9f, 0x91, 0xb8, 0xca, 0xa9, 0x96, 0xff, 0x94, - 0x5d, 0x9c, 0xfe, 0x2a, 0xb3, 0xdc, 0x17, 0x5c, 0x46, 0xef, 0xf3, 0xfe, 0xc0, 0x52, 0x65, 0xd0, - 0x4a, 0x6a, 0xad, 0xb2, 0x80, 0xbe, 0xbe, 0x0a, 0xc8, 0x34, 0xa5, 0xfb, 0xf3, 0xb3, 0xee, 0xc2, - 0xf8, 0x15, 0x8f, 0x1f, 0xbc, 0x98, 0xdd, 0xef, 0xa5, 0x6c, 0xde, 0x31, 0x3d, 0x55, 0xd9, 0x5b, - 0x90, 0xbe, 0xe3, 0xcb, 0x40, 0xb5, 0xf6, 0x58, 0x6b, 0xcf, 0x1f, 0xb5, 0xee, 0x85, 0xcd, 0x91, - 0x7f, 0xec, 0xf6, 0x27, 0x00, 0x00, 0xff, 0xff, 0x97, 0x0e, 0x20, 0x23, 0x98, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/text_sentiment.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/text_sentiment.pb.go deleted file mode 100644 index fd22dbce..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/text_sentiment.pb.go +++ /dev/null @@ -1,239 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1beta1/text_sentiment.proto - -package automl - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Contains annotation details specific to text sentiment. -type TextSentimentAnnotation struct { - // Output only. The sentiment with the semantic, as given to the - // [AutoMl.ImportData][google.cloud.automl.v1beta1.AutoMl.ImportData] when populating the dataset from which the model used - // for the prediction had been trained. - // The sentiment values are between 0 and - // Dataset.text_sentiment_dataset_metadata.sentiment_max (inclusive), - // with higher value meaning more positive sentiment. They are completely - // relative, i.e. 0 means least positive sentiment and sentiment_max means - // the most positive from the sentiments present in the train data. Therefore - // e.g. if train data had only negative sentiment, then sentiment_max, would - // be still negative (although least negative). - // The sentiment shouldn't be confused with "score" or "magnitude" - // from the previous Natural Language Sentiment Analysis API. - Sentiment int32 `protobuf:"varint,1,opt,name=sentiment,proto3" json:"sentiment,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TextSentimentAnnotation) Reset() { *m = TextSentimentAnnotation{} } -func (m *TextSentimentAnnotation) String() string { return proto.CompactTextString(m) } -func (*TextSentimentAnnotation) ProtoMessage() {} -func (*TextSentimentAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_2c3765cde9ff2509, []int{0} -} - -func (m *TextSentimentAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextSentimentAnnotation.Unmarshal(m, b) -} -func (m *TextSentimentAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextSentimentAnnotation.Marshal(b, m, deterministic) -} -func (m *TextSentimentAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextSentimentAnnotation.Merge(m, src) -} -func (m *TextSentimentAnnotation) XXX_Size() int { - return xxx_messageInfo_TextSentimentAnnotation.Size(m) -} -func (m *TextSentimentAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_TextSentimentAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_TextSentimentAnnotation proto.InternalMessageInfo - -func (m *TextSentimentAnnotation) GetSentiment() int32 { - if m != nil { - return m.Sentiment - } - return 0 -} - -// Model evaluation metrics for text sentiment problems. -type TextSentimentEvaluationMetrics struct { - // Output only. Precision. - Precision float32 `protobuf:"fixed32,1,opt,name=precision,proto3" json:"precision,omitempty"` - // Output only. Recall. - Recall float32 `protobuf:"fixed32,2,opt,name=recall,proto3" json:"recall,omitempty"` - // Output only. The harmonic mean of recall and precision. - F1Score float32 `protobuf:"fixed32,3,opt,name=f1_score,json=f1Score,proto3" json:"f1_score,omitempty"` - // Output only. Mean absolute error. Only set for the overall model - // evaluation, not for evaluation of a single annotation spec. - MeanAbsoluteError float32 `protobuf:"fixed32,4,opt,name=mean_absolute_error,json=meanAbsoluteError,proto3" json:"mean_absolute_error,omitempty"` - // Output only. Mean squared error. Only set for the overall model - // evaluation, not for evaluation of a single annotation spec. - MeanSquaredError float32 `protobuf:"fixed32,5,opt,name=mean_squared_error,json=meanSquaredError,proto3" json:"mean_squared_error,omitempty"` - // Output only. Linear weighted kappa. Only set for the overall model - // evaluation, not for evaluation of a single annotation spec. - LinearKappa float32 `protobuf:"fixed32,6,opt,name=linear_kappa,json=linearKappa,proto3" json:"linear_kappa,omitempty"` - // Output only. Quadratic weighted kappa. Only set for the overall model - // evaluation, not for evaluation of a single annotation spec. - QuadraticKappa float32 `protobuf:"fixed32,7,opt,name=quadratic_kappa,json=quadraticKappa,proto3" json:"quadratic_kappa,omitempty"` - // Output only. Confusion matrix of the evaluation. - // Only set for the overall model evaluation, not for evaluation of a single - // annotation spec. - ConfusionMatrix *ClassificationEvaluationMetrics_ConfusionMatrix `protobuf:"bytes,8,opt,name=confusion_matrix,json=confusionMatrix,proto3" json:"confusion_matrix,omitempty"` - // Output only. The annotation spec ids used for this evaluation. - // Deprecated . - AnnotationSpecId []string `protobuf:"bytes,9,rep,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"` // Deprecated: Do not use. - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TextSentimentEvaluationMetrics) Reset() { *m = TextSentimentEvaluationMetrics{} } -func (m *TextSentimentEvaluationMetrics) String() string { return proto.CompactTextString(m) } -func (*TextSentimentEvaluationMetrics) ProtoMessage() {} -func (*TextSentimentEvaluationMetrics) Descriptor() ([]byte, []int) { - return fileDescriptor_2c3765cde9ff2509, []int{1} -} - -func (m *TextSentimentEvaluationMetrics) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextSentimentEvaluationMetrics.Unmarshal(m, b) -} -func (m *TextSentimentEvaluationMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextSentimentEvaluationMetrics.Marshal(b, m, deterministic) -} -func (m *TextSentimentEvaluationMetrics) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextSentimentEvaluationMetrics.Merge(m, src) -} -func (m *TextSentimentEvaluationMetrics) XXX_Size() int { - return xxx_messageInfo_TextSentimentEvaluationMetrics.Size(m) -} -func (m *TextSentimentEvaluationMetrics) XXX_DiscardUnknown() { - xxx_messageInfo_TextSentimentEvaluationMetrics.DiscardUnknown(m) -} - -var xxx_messageInfo_TextSentimentEvaluationMetrics proto.InternalMessageInfo - -func (m *TextSentimentEvaluationMetrics) GetPrecision() float32 { - if m != nil { - return m.Precision - } - return 0 -} - -func (m *TextSentimentEvaluationMetrics) GetRecall() float32 { - if m != nil { - return m.Recall - } - return 0 -} - -func (m *TextSentimentEvaluationMetrics) GetF1Score() float32 { - if m != nil { - return m.F1Score - } - return 0 -} - -func (m *TextSentimentEvaluationMetrics) GetMeanAbsoluteError() float32 { - if m != nil { - return m.MeanAbsoluteError - } - return 0 -} - -func (m *TextSentimentEvaluationMetrics) GetMeanSquaredError() float32 { - if m != nil { - return m.MeanSquaredError - } - return 0 -} - -func (m *TextSentimentEvaluationMetrics) GetLinearKappa() float32 { - if m != nil { - return m.LinearKappa - } - return 0 -} - -func (m *TextSentimentEvaluationMetrics) GetQuadraticKappa() float32 { - if m != nil { - return m.QuadraticKappa - } - return 0 -} - -func (m *TextSentimentEvaluationMetrics) GetConfusionMatrix() *ClassificationEvaluationMetrics_ConfusionMatrix { - if m != nil { - return m.ConfusionMatrix - } - return nil -} - -// Deprecated: Do not use. -func (m *TextSentimentEvaluationMetrics) GetAnnotationSpecId() []string { - if m != nil { - return m.AnnotationSpecId - } - return nil -} - -func init() { - proto.RegisterType((*TextSentimentAnnotation)(nil), "google.cloud.automl.v1beta1.TextSentimentAnnotation") - proto.RegisterType((*TextSentimentEvaluationMetrics)(nil), "google.cloud.automl.v1beta1.TextSentimentEvaluationMetrics") -} - -func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/text_sentiment.proto", fileDescriptor_2c3765cde9ff2509) -} - -var fileDescriptor_2c3765cde9ff2509 = []byte{ - // 473 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xd1, 0x6e, 0xd3, 0x30, - 0x14, 0x86, 0xd5, 0x94, 0x75, 0xab, 0x87, 0x58, 0x31, 0x12, 0x84, 0x6d, 0x1a, 0x65, 0x37, 0xf4, - 0x02, 0x25, 0x2b, 0x5c, 0x20, 0x85, 0xab, 0xb6, 0x9a, 0x10, 0x62, 0x95, 0x50, 0x8b, 0xb8, 0x40, - 0x95, 0xa2, 0x53, 0xe7, 0x34, 0xb2, 0x70, 0xec, 0xcc, 0x76, 0x46, 0xdf, 0x8c, 0x37, 0xe0, 0x82, - 0x47, 0xe1, 0x29, 0x50, 0xec, 0xac, 0x55, 0x05, 0xea, 0xa5, 0xcf, 0xf7, 0xfd, 0x7f, 0xdd, 0x1c, - 0x93, 0xab, 0x5c, 0xa9, 0x5c, 0x60, 0xcc, 0x84, 0xaa, 0xb2, 0x18, 0x2a, 0xab, 0x0a, 0x11, 0xdf, - 0x0d, 0x97, 0x68, 0x61, 0x18, 0x5b, 0x5c, 0xdb, 0xd4, 0xa0,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, 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 deleted file mode 100644 index 86474123..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/translation.pb.go +++ /dev/null @@ -1,270 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1beta1/translation.proto - -package automl - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Dataset metadata that is specific to translation. -type TranslationDatasetMetadata struct { - // Required. The BCP-47 language code of the source language. - SourceLanguageCode string `protobuf:"bytes,1,opt,name=source_language_code,json=sourceLanguageCode,proto3" json:"source_language_code,omitempty"` - // Required. The BCP-47 language code of the target language. - TargetLanguageCode string `protobuf:"bytes,2,opt,name=target_language_code,json=targetLanguageCode,proto3" json:"target_language_code,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TranslationDatasetMetadata) Reset() { *m = TranslationDatasetMetadata{} } -func (m *TranslationDatasetMetadata) String() string { return proto.CompactTextString(m) } -func (*TranslationDatasetMetadata) ProtoMessage() {} -func (*TranslationDatasetMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_74f6484316c15700, []int{0} -} - -func (m *TranslationDatasetMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TranslationDatasetMetadata.Unmarshal(m, b) -} -func (m *TranslationDatasetMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TranslationDatasetMetadata.Marshal(b, m, deterministic) -} -func (m *TranslationDatasetMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_TranslationDatasetMetadata.Merge(m, src) -} -func (m *TranslationDatasetMetadata) XXX_Size() int { - return xxx_messageInfo_TranslationDatasetMetadata.Size(m) -} -func (m *TranslationDatasetMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_TranslationDatasetMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_TranslationDatasetMetadata proto.InternalMessageInfo - -func (m *TranslationDatasetMetadata) GetSourceLanguageCode() string { - if m != nil { - return m.SourceLanguageCode - } - return "" -} - -func (m *TranslationDatasetMetadata) GetTargetLanguageCode() string { - if m != nil { - return m.TargetLanguageCode - } - return "" -} - -// Evaluation metrics for the dataset. -type TranslationEvaluationMetrics struct { - // Output only. BLEU score. - BleuScore float64 `protobuf:"fixed64,1,opt,name=bleu_score,json=bleuScore,proto3" json:"bleu_score,omitempty"` - // Output only. BLEU score for base model. - BaseBleuScore float64 `protobuf:"fixed64,2,opt,name=base_bleu_score,json=baseBleuScore,proto3" json:"base_bleu_score,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TranslationEvaluationMetrics) Reset() { *m = TranslationEvaluationMetrics{} } -func (m *TranslationEvaluationMetrics) String() string { return proto.CompactTextString(m) } -func (*TranslationEvaluationMetrics) ProtoMessage() {} -func (*TranslationEvaluationMetrics) Descriptor() ([]byte, []int) { - return fileDescriptor_74f6484316c15700, []int{1} -} - -func (m *TranslationEvaluationMetrics) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TranslationEvaluationMetrics.Unmarshal(m, b) -} -func (m *TranslationEvaluationMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TranslationEvaluationMetrics.Marshal(b, m, deterministic) -} -func (m *TranslationEvaluationMetrics) XXX_Merge(src proto.Message) { - xxx_messageInfo_TranslationEvaluationMetrics.Merge(m, src) -} -func (m *TranslationEvaluationMetrics) XXX_Size() int { - return xxx_messageInfo_TranslationEvaluationMetrics.Size(m) -} -func (m *TranslationEvaluationMetrics) XXX_DiscardUnknown() { - xxx_messageInfo_TranslationEvaluationMetrics.DiscardUnknown(m) -} - -var xxx_messageInfo_TranslationEvaluationMetrics proto.InternalMessageInfo - -func (m *TranslationEvaluationMetrics) GetBleuScore() float64 { - if m != nil { - return m.BleuScore - } - return 0 -} - -func (m *TranslationEvaluationMetrics) GetBaseBleuScore() float64 { - if m != nil { - return m.BaseBleuScore - } - return 0 -} - -// Model metadata that is specific to translation. -type TranslationModelMetadata struct { - // The resource name of the model to use as a baseline to train the custom - // model. If unset, we use the default base model provided by Google - // Translate. Format: - // `projects/{project_id}/locations/{location_id}/models/{model_id}` - BaseModel string `protobuf:"bytes,1,opt,name=base_model,json=baseModel,proto3" json:"base_model,omitempty"` - // Output only. Inferred from the dataset. - // The source languge (The BCP-47 language code) that is used for training. - SourceLanguageCode string `protobuf:"bytes,2,opt,name=source_language_code,json=sourceLanguageCode,proto3" json:"source_language_code,omitempty"` - // Output only. The target languge (The BCP-47 language code) that is used for - // training. - TargetLanguageCode string `protobuf:"bytes,3,opt,name=target_language_code,json=targetLanguageCode,proto3" json:"target_language_code,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TranslationModelMetadata) Reset() { *m = TranslationModelMetadata{} } -func (m *TranslationModelMetadata) String() string { return proto.CompactTextString(m) } -func (*TranslationModelMetadata) ProtoMessage() {} -func (*TranslationModelMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_74f6484316c15700, []int{2} -} - -func (m *TranslationModelMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TranslationModelMetadata.Unmarshal(m, b) -} -func (m *TranslationModelMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TranslationModelMetadata.Marshal(b, m, deterministic) -} -func (m *TranslationModelMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_TranslationModelMetadata.Merge(m, src) -} -func (m *TranslationModelMetadata) XXX_Size() int { - return xxx_messageInfo_TranslationModelMetadata.Size(m) -} -func (m *TranslationModelMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_TranslationModelMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_TranslationModelMetadata proto.InternalMessageInfo - -func (m *TranslationModelMetadata) GetBaseModel() string { - if m != nil { - return m.BaseModel - } - return "" -} - -func (m *TranslationModelMetadata) GetSourceLanguageCode() string { - if m != nil { - return m.SourceLanguageCode - } - return "" -} - -func (m *TranslationModelMetadata) GetTargetLanguageCode() string { - if m != nil { - return m.TargetLanguageCode - } - return "" -} - -// Annotation details specific to translation. -type TranslationAnnotation struct { - // Output only . The translated content. - TranslatedContent *TextSnippet `protobuf:"bytes,1,opt,name=translated_content,json=translatedContent,proto3" json:"translated_content,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_74f6484316c15700, []int{3} -} - -func (m *TranslationAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TranslationAnnotation.Unmarshal(m, b) -} -func (m *TranslationAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TranslationAnnotation.Marshal(b, m, deterministic) -} -func (m *TranslationAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_TranslationAnnotation.Merge(m, src) -} -func (m *TranslationAnnotation) XXX_Size() int { - return xxx_messageInfo_TranslationAnnotation.Size(m) -} -func (m *TranslationAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_TranslationAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_TranslationAnnotation proto.InternalMessageInfo - -func (m *TranslationAnnotation) GetTranslatedContent() *TextSnippet { - if m != nil { - return m.TranslatedContent - } - return nil -} - -func init() { - proto.RegisterType((*TranslationDatasetMetadata)(nil), "google.cloud.automl.v1beta1.TranslationDatasetMetadata") - proto.RegisterType((*TranslationEvaluationMetrics)(nil), "google.cloud.automl.v1beta1.TranslationEvaluationMetrics") - proto.RegisterType((*TranslationModelMetadata)(nil), "google.cloud.automl.v1beta1.TranslationModelMetadata") - proto.RegisterType((*TranslationAnnotation)(nil), "google.cloud.automl.v1beta1.TranslationAnnotation") -} - -func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/translation.proto", fileDescriptor_74f6484316c15700) -} - -var fileDescriptor_74f6484316c15700 = []byte{ - // 419 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0xdf, 0xaa, 0xd3, 0x40, - 0x10, 0xc6, 0x49, 0x04, 0xa1, 0x2b, 0xa2, 0x06, 0x85, 0x43, 0xcf, 0xf1, 0x0f, 0xbd, 0x90, 0x73, - 0xa1, 0x89, 0x47, 0xef, 0xe2, 0x55, 0x5b, 0xc5, 0x9b, 0x13, 0x38, 0xf4, 0x14, 0x05, 0x29, 0x84, - 0x49, 0x32, 0x2c, 0x81, 0xcd, 0x4e, 0xc8, 0x4e, 0x8a, 0x97, 0xbe, 0x88, 0xcf, 0xe1, 0x3b, 0xf8, - 0x28, 0x3e, 0x85, 0xec, 0x6e, 0xda, 0x06, 0xb1, 0x05, 0xef, 0xda, 0xf9, 0x7e, 0xf3, 0x7d, 0xb3, - 0x93, 0x11, 0xaf, 0x25, 0x91, 0x54, 0x98, 0x94, 0x8a, 0xfa, 0x2a, 0x81, 0x9e, 0xa9, 0x51, 0xc9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0xe1, 0x7f, 0xaf, 0xe1, 0xce, 0xd1, 0x35, 0xb4, 0xe2, 0xc9, 0x68, - 0xbc, 0xf9, 0xfe, 0x4b, 0x45, 0x5f, 0x44, 0xb4, 0x3b, 0x10, 0xac, 0xf2, 0x92, 0x34, 0xa3, 0x66, - 0x37, 0xe3, 0xbd, 0xb7, 0x97, 0xf1, 0x89, 0x43, 0x89, 0xd7, 0xf8, 0x8d, 0x6f, 0x75, 0xdd, 0xb6, - 0xc8, 0xab, 0x47, 0x07, 0x8f, 0xa5, 0xb7, 0x58, 0xfc, 0x0c, 0xc4, 0xf3, 0x92, 0x9a, 0x53, 0x16, - 0x8b, 0x87, 0xa3, 0x99, 0x6e, 0xec, 0xc5, 0xdc, 0x04, 0x5f, 0xe7, 0x43, 0x83, 0x24, 0xfb, 0xb6, - 0x98, 0x3a, 0x99, 0x48, 0xd4, 0xee, 0x9e, 0x12, 0x2f, 0x41, 0x5b, 0x9b, 0x7f, 0x9e, 0xe7, 0x7b, - 0xff, 0xf7, 0x57, 0x78, 0xfe, 0xc9, 0x81, 0x9b, 0xa5, 0x85, 0x36, 0xf3, 0x9e, 0x29, 0x53, 0x9b, - 0xcf, 0x1e, 0xfa, 0x1d, 0x3e, 0xf3, 0x6a, 0x9a, 0x3a, 0x39, 0x4d, 0x9d, 0x7e, 0x9d, 0xa6, 0x03, - 0x50, 0xdc, 0x75, 0x61, 0xef, 0xfe, 0x04, 0x00, 0x00, 0xff, 0xff, 0x63, 0x05, 0x99, 0xec, 0x56, - 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/video.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/video.pb.go deleted file mode 100644 index 31ec8049..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/automl/v1beta1/video.pb.go +++ /dev/null @@ -1,184 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/automl/v1beta1/video.proto - -package automl - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Dataset metadata specific to video classification. -// All Video Classification datasets are treated as multi label. -type VideoClassificationDatasetMetadata struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VideoClassificationDatasetMetadata) Reset() { *m = VideoClassificationDatasetMetadata{} } -func (m *VideoClassificationDatasetMetadata) String() string { return proto.CompactTextString(m) } -func (*VideoClassificationDatasetMetadata) ProtoMessage() {} -func (*VideoClassificationDatasetMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_ec8c6b74d94d2916, []int{0} -} - -func (m *VideoClassificationDatasetMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VideoClassificationDatasetMetadata.Unmarshal(m, b) -} -func (m *VideoClassificationDatasetMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VideoClassificationDatasetMetadata.Marshal(b, m, deterministic) -} -func (m *VideoClassificationDatasetMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoClassificationDatasetMetadata.Merge(m, src) -} -func (m *VideoClassificationDatasetMetadata) XXX_Size() int { - return xxx_messageInfo_VideoClassificationDatasetMetadata.Size(m) -} -func (m *VideoClassificationDatasetMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_VideoClassificationDatasetMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_VideoClassificationDatasetMetadata proto.InternalMessageInfo - -// Dataset metadata specific to video object tracking. -type VideoObjectTrackingDatasetMetadata struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VideoObjectTrackingDatasetMetadata) Reset() { *m = VideoObjectTrackingDatasetMetadata{} } -func (m *VideoObjectTrackingDatasetMetadata) String() string { return proto.CompactTextString(m) } -func (*VideoObjectTrackingDatasetMetadata) ProtoMessage() {} -func (*VideoObjectTrackingDatasetMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_ec8c6b74d94d2916, []int{1} -} - -func (m *VideoObjectTrackingDatasetMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VideoObjectTrackingDatasetMetadata.Unmarshal(m, b) -} -func (m *VideoObjectTrackingDatasetMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VideoObjectTrackingDatasetMetadata.Marshal(b, m, deterministic) -} -func (m *VideoObjectTrackingDatasetMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoObjectTrackingDatasetMetadata.Merge(m, src) -} -func (m *VideoObjectTrackingDatasetMetadata) XXX_Size() int { - return xxx_messageInfo_VideoObjectTrackingDatasetMetadata.Size(m) -} -func (m *VideoObjectTrackingDatasetMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_VideoObjectTrackingDatasetMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_VideoObjectTrackingDatasetMetadata proto.InternalMessageInfo - -// Model metadata specific to video classification. -type VideoClassificationModelMetadata struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VideoClassificationModelMetadata) Reset() { *m = VideoClassificationModelMetadata{} } -func (m *VideoClassificationModelMetadata) String() string { return proto.CompactTextString(m) } -func (*VideoClassificationModelMetadata) ProtoMessage() {} -func (*VideoClassificationModelMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_ec8c6b74d94d2916, []int{2} -} - -func (m *VideoClassificationModelMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VideoClassificationModelMetadata.Unmarshal(m, b) -} -func (m *VideoClassificationModelMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VideoClassificationModelMetadata.Marshal(b, m, deterministic) -} -func (m *VideoClassificationModelMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoClassificationModelMetadata.Merge(m, src) -} -func (m *VideoClassificationModelMetadata) XXX_Size() int { - return xxx_messageInfo_VideoClassificationModelMetadata.Size(m) -} -func (m *VideoClassificationModelMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_VideoClassificationModelMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_VideoClassificationModelMetadata proto.InternalMessageInfo - -// Model metadata specific to video object tracking. -type VideoObjectTrackingModelMetadata struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VideoObjectTrackingModelMetadata) Reset() { *m = VideoObjectTrackingModelMetadata{} } -func (m *VideoObjectTrackingModelMetadata) String() string { return proto.CompactTextString(m) } -func (*VideoObjectTrackingModelMetadata) ProtoMessage() {} -func (*VideoObjectTrackingModelMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_ec8c6b74d94d2916, []int{3} -} - -func (m *VideoObjectTrackingModelMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VideoObjectTrackingModelMetadata.Unmarshal(m, b) -} -func (m *VideoObjectTrackingModelMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VideoObjectTrackingModelMetadata.Marshal(b, m, deterministic) -} -func (m *VideoObjectTrackingModelMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoObjectTrackingModelMetadata.Merge(m, src) -} -func (m *VideoObjectTrackingModelMetadata) XXX_Size() int { - return xxx_messageInfo_VideoObjectTrackingModelMetadata.Size(m) -} -func (m *VideoObjectTrackingModelMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_VideoObjectTrackingModelMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_VideoObjectTrackingModelMetadata proto.InternalMessageInfo - -func init() { - proto.RegisterType((*VideoClassificationDatasetMetadata)(nil), "google.cloud.automl.v1beta1.VideoClassificationDatasetMetadata") - proto.RegisterType((*VideoObjectTrackingDatasetMetadata)(nil), "google.cloud.automl.v1beta1.VideoObjectTrackingDatasetMetadata") - proto.RegisterType((*VideoClassificationModelMetadata)(nil), "google.cloud.automl.v1beta1.VideoClassificationModelMetadata") - proto.RegisterType((*VideoObjectTrackingModelMetadata)(nil), "google.cloud.automl.v1beta1.VideoObjectTrackingModelMetadata") -} - -func init() { - proto.RegisterFile("google/cloud/automl/v1beta1/video.proto", fileDescriptor_ec8c6b74d94d2916) -} - -var fileDescriptor_ec8c6b74d94d2916 = []byte{ - // 262 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0xd0, 0xb1, 0x4e, 0xc3, 0x30, - 0x10, 0x06, 0x60, 0xb5, 0x03, 0x83, 0x47, 0xc6, 0x16, 0x01, 0x8a, 0x90, 0xd8, 0x6c, 0x2a, 0x36, - 0x33, 0xb5, 0x45, 0x62, 0x21, 0xa2, 0x03, 0xea, 0x80, 0xb2, 0x5c, 0x1c, 0x63, 0x19, 0x5c, 0x5f, - 0x14, 0x5f, 0xfa, 0x5e, 0xbc, 0x06, 0x8f, 0xc2, 0x53, 0xa0, 0xd8, 0x16, 0x52, 0x68, 0xd5, 0xd1, - 0xfa, 0x3f, 0xff, 0xa7, 0x3b, 0x76, 0x6b, 0x10, 0x8d, 0xd3, 0x42, 0x39, 0xec, 0x1b, 0x01, 0x3d, - 0xe1, 0xce, 0x89, 0xfd, 0xa2, 0xd6, 0x04, 0x0b, 0xb1, 0xb7, 0x8d, 0x46, 0xde, 0x76, 0x48, 0x78, - 0x3e, 0x4f, 0x90, 0x47, 0xc8, 0x13, 0xe4, 0x19, 0xce, 0xee, 0x4e, 0xb5, 0x28, 0x07, 0x21, 0xd8, - 0x77, 0xab, 0x80, 0x2c, 0xfa, 0x54, 0x37, 0xbb, 0xc8, 0x3f, 0xa0, 0xb5, 0x02, 0xbc, 0x47, 0x8a, - 0x61, 0x48, 0x69, 0x71, 0xc3, 0x8a, 0xed, 0x30, 0x7b, 0x3d, 0xfa, 0xfa, 0x08, 0x04, 0x41, 0x53, - 0xa9, 0x09, 0x1a, 0x20, 0xf8, 0x53, 0x2f, 0xf5, 0x87, 0x56, 0xf4, 0xda, 0x81, 0xfa, 0xb4, 0xde, - 0xfc, 0x57, 0x05, 0xbb, 0x3e, 0xd2, 0x55, 0x62, 0xa3, 0xdd, 0x81, 0x19, 0x37, 0x8d, 0xcc, 0xea, - 0x6b, 0xc2, 0xae, 0x14, 0xee, 0xf8, 0x89, 0x3b, 0xac, 0x58, 0x6c, 0xd9, 0x0c, 0x3b, 0x6c, 0x26, - 0x6f, 0xcb, 0x4c, 0x0d, 0x3a, 0xf0, 0x86, 0x63, 0x67, 0x84, 0xd1, 0x3e, 0x6e, 0x28, 0x52, 0x04, - 0xad, 0x0d, 0x47, 0x8f, 0xf6, 0x90, 0x9e, 0xdf, 0xd3, 0xf9, 0x53, 0x84, 0xd5, 0x7a, 0x40, 0xd5, - 0xb2, 0x27, 0x2c, 0x5d, 0xb5, 0x4d, 0xe8, 0x67, 0x7a, 0x99, 0x52, 0x29, 0x63, 0x2c, 0x65, 0xcc, - 0x9f, 0xa5, 0xcc, 0xa0, 0x3e, 0x8b, 0xc3, 0xee, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xe2, 0x60, - 0x79, 0x44, 0xe6, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/connection/v1beta1/connection.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/connection/v1beta1/connection.pb.go deleted file mode 100644 index 3dd00bfc..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/connection/v1beta1/connection.pb.go +++ /dev/null @@ -1,1239 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/bigquery/connection/v1beta1/connection.proto - -package connection - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "google.golang.org/genproto/googleapis/api/annotations" - v1 "google.golang.org/genproto/googleapis/iam/v1" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Supported Cloud SQL database types. -type CloudSqlProperties_DatabaseType int32 - -const ( - // Unspecified database type. - CloudSqlProperties_DATABASE_TYPE_UNSPECIFIED CloudSqlProperties_DatabaseType = 0 - // Cloud SQL for PostgreSQL. - CloudSqlProperties_POSTGRES CloudSqlProperties_DatabaseType = 1 - // Cloud SQL for MySQL. - CloudSqlProperties_MYSQL CloudSqlProperties_DatabaseType = 2 -) - -var CloudSqlProperties_DatabaseType_name = map[int32]string{ - 0: "DATABASE_TYPE_UNSPECIFIED", - 1: "POSTGRES", - 2: "MYSQL", -} - -var CloudSqlProperties_DatabaseType_value = map[string]int32{ - "DATABASE_TYPE_UNSPECIFIED": 0, - "POSTGRES": 1, - "MYSQL": 2, -} - -func (x CloudSqlProperties_DatabaseType) String() string { - return proto.EnumName(CloudSqlProperties_DatabaseType_name, int32(x)) -} - -func (CloudSqlProperties_DatabaseType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_57d65490f51d0d62, []int{9, 0} -} - -// The request for [ConnectionService.CreateConnection][google.cloud.bigquery.connection.v1beta1.ConnectionService.CreateConnection]. -type CreateConnectionRequest struct { - // Parent resource name. - // Must be in the format `projects/{project_id}/locations/{location_id}` - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional connection id that should be assigned to the created connection. - ConnectionId string `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` - // Connection to create. - Connection *Connection `protobuf:"bytes,3,opt,name=connection,proto3" json:"connection,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateConnectionRequest) Reset() { *m = CreateConnectionRequest{} } -func (m *CreateConnectionRequest) String() string { return proto.CompactTextString(m) } -func (*CreateConnectionRequest) ProtoMessage() {} -func (*CreateConnectionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_57d65490f51d0d62, []int{0} -} - -func (m *CreateConnectionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateConnectionRequest.Unmarshal(m, b) -} -func (m *CreateConnectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateConnectionRequest.Marshal(b, m, deterministic) -} -func (m *CreateConnectionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateConnectionRequest.Merge(m, src) -} -func (m *CreateConnectionRequest) XXX_Size() int { - return xxx_messageInfo_CreateConnectionRequest.Size(m) -} -func (m *CreateConnectionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateConnectionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateConnectionRequest proto.InternalMessageInfo - -func (m *CreateConnectionRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateConnectionRequest) GetConnectionId() string { - if m != nil { - return m.ConnectionId - } - return "" -} - -func (m *CreateConnectionRequest) GetConnection() *Connection { - if m != nil { - return m.Connection - } - return nil -} - -// The request for [ConnectionService.GetConnection][google.cloud.bigquery.connection.v1beta1.ConnectionService.GetConnection]. -type GetConnectionRequest struct { - // Name of the requested connection, for example: - // `projects/{project_id}/locations/{location_id}/connections/{connection_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 *GetConnectionRequest) Reset() { *m = GetConnectionRequest{} } -func (m *GetConnectionRequest) String() string { return proto.CompactTextString(m) } -func (*GetConnectionRequest) ProtoMessage() {} -func (*GetConnectionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_57d65490f51d0d62, []int{1} -} - -func (m *GetConnectionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetConnectionRequest.Unmarshal(m, b) -} -func (m *GetConnectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetConnectionRequest.Marshal(b, m, deterministic) -} -func (m *GetConnectionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetConnectionRequest.Merge(m, src) -} -func (m *GetConnectionRequest) XXX_Size() int { - return xxx_messageInfo_GetConnectionRequest.Size(m) -} -func (m *GetConnectionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetConnectionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetConnectionRequest proto.InternalMessageInfo - -func (m *GetConnectionRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The request for [ConnectionService.ListConnections][google.cloud.bigquery.connection.v1beta1.ConnectionService.ListConnections]. -type ListConnectionsRequest struct { - // Parent resource name. - // Must be in the form: `projects/{project_id}/locations/{location_id}` - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Maximum number of results per page. - MaxResults *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"` - // 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:"-"` -} - -func (m *ListConnectionsRequest) Reset() { *m = ListConnectionsRequest{} } -func (m *ListConnectionsRequest) String() string { return proto.CompactTextString(m) } -func (*ListConnectionsRequest) ProtoMessage() {} -func (*ListConnectionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_57d65490f51d0d62, []int{2} -} - -func (m *ListConnectionsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListConnectionsRequest.Unmarshal(m, b) -} -func (m *ListConnectionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListConnectionsRequest.Marshal(b, m, deterministic) -} -func (m *ListConnectionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListConnectionsRequest.Merge(m, src) -} -func (m *ListConnectionsRequest) XXX_Size() int { - return xxx_messageInfo_ListConnectionsRequest.Size(m) -} -func (m *ListConnectionsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListConnectionsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListConnectionsRequest proto.InternalMessageInfo - -func (m *ListConnectionsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListConnectionsRequest) GetMaxResults() *wrappers.UInt32Value { - if m != nil { - return m.MaxResults - } - return nil -} - -func (m *ListConnectionsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// The response for [ConnectionService.ListConnections][google.cloud.bigquery.connection.v1beta1.ConnectionService.ListConnections]. -type ListConnectionsResponse struct { - // Next page token. - NextPageToken string `protobuf:"bytes,1,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - // List of connections. - Connections []*Connection `protobuf:"bytes,2,rep,name=connections,proto3" json:"connections,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListConnectionsResponse) Reset() { *m = ListConnectionsResponse{} } -func (m *ListConnectionsResponse) String() string { return proto.CompactTextString(m) } -func (*ListConnectionsResponse) ProtoMessage() {} -func (*ListConnectionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_57d65490f51d0d62, []int{3} -} - -func (m *ListConnectionsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListConnectionsResponse.Unmarshal(m, b) -} -func (m *ListConnectionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListConnectionsResponse.Marshal(b, m, deterministic) -} -func (m *ListConnectionsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListConnectionsResponse.Merge(m, src) -} -func (m *ListConnectionsResponse) XXX_Size() int { - return xxx_messageInfo_ListConnectionsResponse.Size(m) -} -func (m *ListConnectionsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListConnectionsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListConnectionsResponse proto.InternalMessageInfo - -func (m *ListConnectionsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -func (m *ListConnectionsResponse) GetConnections() []*Connection { - if m != nil { - return m.Connections - } - return nil -} - -// The request for [ConnectionService.UpdateConnection][google.cloud.bigquery.connection.v1beta1.ConnectionService.UpdateConnection]. -type UpdateConnectionRequest struct { - // Name of the connection to update, for example: - // `projects/{project_id}/locations/{location_id}/connections/{connection_id}` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Connection containing the updated fields. - Connection *Connection `protobuf:"bytes,2,opt,name=connection,proto3" json:"connection,omitempty"` - // Update mask for the connection fields to be 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 *UpdateConnectionRequest) Reset() { *m = UpdateConnectionRequest{} } -func (m *UpdateConnectionRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateConnectionRequest) ProtoMessage() {} -func (*UpdateConnectionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_57d65490f51d0d62, []int{4} -} - -func (m *UpdateConnectionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateConnectionRequest.Unmarshal(m, b) -} -func (m *UpdateConnectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateConnectionRequest.Marshal(b, m, deterministic) -} -func (m *UpdateConnectionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateConnectionRequest.Merge(m, src) -} -func (m *UpdateConnectionRequest) XXX_Size() int { - return xxx_messageInfo_UpdateConnectionRequest.Size(m) -} -func (m *UpdateConnectionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateConnectionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateConnectionRequest proto.InternalMessageInfo - -func (m *UpdateConnectionRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *UpdateConnectionRequest) GetConnection() *Connection { - if m != nil { - return m.Connection - } - return nil -} - -func (m *UpdateConnectionRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// The request for [ConnectionService.UpdateConnectionCredential][google.cloud.bigquery.connection.v1beta1.ConnectionService.UpdateConnectionCredential]. -type UpdateConnectionCredentialRequest struct { - // Name of the connection, for example: - // `projects/{project_id}/locations/{location_id}/connections/{connection_id}/credential` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Credential to use with the connection. - Credential *ConnectionCredential `protobuf:"bytes,2,opt,name=credential,proto3" json:"credential,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpdateConnectionCredentialRequest) Reset() { *m = UpdateConnectionCredentialRequest{} } -func (m *UpdateConnectionCredentialRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateConnectionCredentialRequest) ProtoMessage() {} -func (*UpdateConnectionCredentialRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_57d65490f51d0d62, []int{5} -} - -func (m *UpdateConnectionCredentialRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateConnectionCredentialRequest.Unmarshal(m, b) -} -func (m *UpdateConnectionCredentialRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateConnectionCredentialRequest.Marshal(b, m, deterministic) -} -func (m *UpdateConnectionCredentialRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateConnectionCredentialRequest.Merge(m, src) -} -func (m *UpdateConnectionCredentialRequest) XXX_Size() int { - return xxx_messageInfo_UpdateConnectionCredentialRequest.Size(m) -} -func (m *UpdateConnectionCredentialRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateConnectionCredentialRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateConnectionCredentialRequest proto.InternalMessageInfo - -func (m *UpdateConnectionCredentialRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *UpdateConnectionCredentialRequest) GetCredential() *ConnectionCredential { - if m != nil { - return m.Credential - } - return nil -} - -// The request for [ConnectionService.DeleteConnectionRequest][]. -type DeleteConnectionRequest struct { - // Name of the deleted connection, for example: - // `projects/{project_id}/locations/{location_id}/connections/{connection_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 *DeleteConnectionRequest) Reset() { *m = DeleteConnectionRequest{} } -func (m *DeleteConnectionRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteConnectionRequest) ProtoMessage() {} -func (*DeleteConnectionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_57d65490f51d0d62, []int{6} -} - -func (m *DeleteConnectionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteConnectionRequest.Unmarshal(m, b) -} -func (m *DeleteConnectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteConnectionRequest.Marshal(b, m, deterministic) -} -func (m *DeleteConnectionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteConnectionRequest.Merge(m, src) -} -func (m *DeleteConnectionRequest) XXX_Size() int { - return xxx_messageInfo_DeleteConnectionRequest.Size(m) -} -func (m *DeleteConnectionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteConnectionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteConnectionRequest proto.InternalMessageInfo - -func (m *DeleteConnectionRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Configuration parameters to establish connection with an external data -// source, except the credential attributes. -type Connection struct { - // The resource name of the connection in the form of: - // `projects/{project_id}/locations/{location_id}/connections/{connection_id}` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // User provided display name for the connection. - FriendlyName string `protobuf:"bytes,2,opt,name=friendly_name,json=friendlyName,proto3" json:"friendly_name,omitempty"` - // User provided description. - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - // Properties specific to the underlying data source. - // - // Types that are valid to be assigned to Properties: - // *Connection_CloudSql - Properties isConnection_Properties `protobuf_oneof:"properties"` - // Output only. The creation timestamp of the connection. - CreationTime int64 `protobuf:"varint,5,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"` - // Output only. The last update timestamp of the connection. - LastModifiedTime int64 `protobuf:"varint,6,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` - // Output only. True, if credential is configured for this connection. - HasCredential bool `protobuf:"varint,7,opt,name=has_credential,json=hasCredential,proto3" json:"has_credential,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_57d65490f51d0d62, []int{7} -} - -func (m *Connection) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Connection.Unmarshal(m, b) -} -func (m *Connection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Connection.Marshal(b, m, deterministic) -} -func (m *Connection) XXX_Merge(src proto.Message) { - xxx_messageInfo_Connection.Merge(m, src) -} -func (m *Connection) XXX_Size() int { - return xxx_messageInfo_Connection.Size(m) -} -func (m *Connection) XXX_DiscardUnknown() { - xxx_messageInfo_Connection.DiscardUnknown(m) -} - -var xxx_messageInfo_Connection proto.InternalMessageInfo - -func (m *Connection) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Connection) GetFriendlyName() string { - if m != nil { - return m.FriendlyName - } - return "" -} - -func (m *Connection) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -type isConnection_Properties interface { - isConnection_Properties() -} - -type Connection_CloudSql struct { - CloudSql *CloudSqlProperties `protobuf:"bytes,4,opt,name=cloud_sql,json=cloudSql,proto3,oneof"` -} - -func (*Connection_CloudSql) isConnection_Properties() {} - -func (m *Connection) GetProperties() isConnection_Properties { - if m != nil { - return m.Properties - } - return nil -} - -func (m *Connection) GetCloudSql() *CloudSqlProperties { - if x, ok := m.GetProperties().(*Connection_CloudSql); ok { - return x.CloudSql - } - return nil -} - -func (m *Connection) GetCreationTime() int64 { - if m != nil { - return m.CreationTime - } - return 0 -} - -func (m *Connection) GetLastModifiedTime() int64 { - if m != nil { - return m.LastModifiedTime - } - return 0 -} - -func (m *Connection) GetHasCredential() bool { - if m != nil { - return m.HasCredential - } - return false -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Connection) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Connection_CloudSql)(nil), - } -} - -// Credential to use with a connection. -type ConnectionCredential struct { - // Credential specific to the underlying data source. - // - // Types that are valid to be assigned to Credential: - // *ConnectionCredential_CloudSql - Credential isConnectionCredential_Credential `protobuf_oneof:"credential"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ConnectionCredential) Reset() { *m = ConnectionCredential{} } -func (m *ConnectionCredential) String() string { return proto.CompactTextString(m) } -func (*ConnectionCredential) ProtoMessage() {} -func (*ConnectionCredential) Descriptor() ([]byte, []int) { - return fileDescriptor_57d65490f51d0d62, []int{8} -} - -func (m *ConnectionCredential) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConnectionCredential.Unmarshal(m, b) -} -func (m *ConnectionCredential) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConnectionCredential.Marshal(b, m, deterministic) -} -func (m *ConnectionCredential) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConnectionCredential.Merge(m, src) -} -func (m *ConnectionCredential) XXX_Size() int { - return xxx_messageInfo_ConnectionCredential.Size(m) -} -func (m *ConnectionCredential) XXX_DiscardUnknown() { - xxx_messageInfo_ConnectionCredential.DiscardUnknown(m) -} - -var xxx_messageInfo_ConnectionCredential proto.InternalMessageInfo - -type isConnectionCredential_Credential interface { - isConnectionCredential_Credential() -} - -type ConnectionCredential_CloudSql struct { - CloudSql *CloudSqlCredential `protobuf:"bytes,1,opt,name=cloud_sql,json=cloudSql,proto3,oneof"` -} - -func (*ConnectionCredential_CloudSql) isConnectionCredential_Credential() {} - -func (m *ConnectionCredential) GetCredential() isConnectionCredential_Credential { - if m != nil { - return m.Credential - } - return nil -} - -func (m *ConnectionCredential) GetCloudSql() *CloudSqlCredential { - if x, ok := m.GetCredential().(*ConnectionCredential_CloudSql); ok { - return x.CloudSql - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ConnectionCredential) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ConnectionCredential_CloudSql)(nil), - } -} - -// Connection properties specific to the Cloud SQL. -type CloudSqlProperties struct { - // Cloud SQL instance ID in the form `project:location:instance`. - InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` - // Database name. - Database string `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"` - // Type of the Cloud SQL database. - Type CloudSqlProperties_DatabaseType `protobuf:"varint,3,opt,name=type,proto3,enum=google.cloud.bigquery.connection.v1beta1.CloudSqlProperties_DatabaseType" json:"type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CloudSqlProperties) Reset() { *m = CloudSqlProperties{} } -func (m *CloudSqlProperties) String() string { return proto.CompactTextString(m) } -func (*CloudSqlProperties) ProtoMessage() {} -func (*CloudSqlProperties) Descriptor() ([]byte, []int) { - return fileDescriptor_57d65490f51d0d62, []int{9} -} - -func (m *CloudSqlProperties) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CloudSqlProperties.Unmarshal(m, b) -} -func (m *CloudSqlProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CloudSqlProperties.Marshal(b, m, deterministic) -} -func (m *CloudSqlProperties) XXX_Merge(src proto.Message) { - xxx_messageInfo_CloudSqlProperties.Merge(m, src) -} -func (m *CloudSqlProperties) XXX_Size() int { - return xxx_messageInfo_CloudSqlProperties.Size(m) -} -func (m *CloudSqlProperties) XXX_DiscardUnknown() { - xxx_messageInfo_CloudSqlProperties.DiscardUnknown(m) -} - -var xxx_messageInfo_CloudSqlProperties proto.InternalMessageInfo - -func (m *CloudSqlProperties) GetInstanceId() string { - if m != nil { - return m.InstanceId - } - return "" -} - -func (m *CloudSqlProperties) GetDatabase() string { - if m != nil { - return m.Database - } - return "" -} - -func (m *CloudSqlProperties) GetType() CloudSqlProperties_DatabaseType { - if m != nil { - return m.Type - } - return CloudSqlProperties_DATABASE_TYPE_UNSPECIFIED -} - -// Credential info for the Cloud SQL. -type CloudSqlCredential struct { - // The username for the credential. - Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` - // The password for the credential. - Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CloudSqlCredential) Reset() { *m = CloudSqlCredential{} } -func (m *CloudSqlCredential) String() string { return proto.CompactTextString(m) } -func (*CloudSqlCredential) ProtoMessage() {} -func (*CloudSqlCredential) Descriptor() ([]byte, []int) { - return fileDescriptor_57d65490f51d0d62, []int{10} -} - -func (m *CloudSqlCredential) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CloudSqlCredential.Unmarshal(m, b) -} -func (m *CloudSqlCredential) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CloudSqlCredential.Marshal(b, m, deterministic) -} -func (m *CloudSqlCredential) XXX_Merge(src proto.Message) { - xxx_messageInfo_CloudSqlCredential.Merge(m, src) -} -func (m *CloudSqlCredential) XXX_Size() int { - return xxx_messageInfo_CloudSqlCredential.Size(m) -} -func (m *CloudSqlCredential) XXX_DiscardUnknown() { - xxx_messageInfo_CloudSqlCredential.DiscardUnknown(m) -} - -var xxx_messageInfo_CloudSqlCredential proto.InternalMessageInfo - -func (m *CloudSqlCredential) GetUsername() string { - if m != nil { - return m.Username - } - return "" -} - -func (m *CloudSqlCredential) GetPassword() string { - if m != nil { - return m.Password - } - return "" -} - -func init() { - proto.RegisterEnum("google.cloud.bigquery.connection.v1beta1.CloudSqlProperties_DatabaseType", CloudSqlProperties_DatabaseType_name, CloudSqlProperties_DatabaseType_value) - proto.RegisterType((*CreateConnectionRequest)(nil), "google.cloud.bigquery.connection.v1beta1.CreateConnectionRequest") - proto.RegisterType((*GetConnectionRequest)(nil), "google.cloud.bigquery.connection.v1beta1.GetConnectionRequest") - proto.RegisterType((*ListConnectionsRequest)(nil), "google.cloud.bigquery.connection.v1beta1.ListConnectionsRequest") - proto.RegisterType((*ListConnectionsResponse)(nil), "google.cloud.bigquery.connection.v1beta1.ListConnectionsResponse") - proto.RegisterType((*UpdateConnectionRequest)(nil), "google.cloud.bigquery.connection.v1beta1.UpdateConnectionRequest") - proto.RegisterType((*UpdateConnectionCredentialRequest)(nil), "google.cloud.bigquery.connection.v1beta1.UpdateConnectionCredentialRequest") - proto.RegisterType((*DeleteConnectionRequest)(nil), "google.cloud.bigquery.connection.v1beta1.DeleteConnectionRequest") - proto.RegisterType((*Connection)(nil), "google.cloud.bigquery.connection.v1beta1.Connection") - proto.RegisterType((*ConnectionCredential)(nil), "google.cloud.bigquery.connection.v1beta1.ConnectionCredential") - proto.RegisterType((*CloudSqlProperties)(nil), "google.cloud.bigquery.connection.v1beta1.CloudSqlProperties") - proto.RegisterType((*CloudSqlCredential)(nil), "google.cloud.bigquery.connection.v1beta1.CloudSqlCredential") -} - -func init() { - proto.RegisterFile("google/cloud/bigquery/connection/v1beta1/connection.proto", fileDescriptor_57d65490f51d0d62) -} - -var fileDescriptor_57d65490f51d0d62 = []byte{ - // 1225 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0xdd, 0x6e, 0x1b, 0x45, - 0x14, 0xee, 0xa4, 0x3f, 0xc4, 0xc7, 0x4e, 0x62, 0x46, 0x25, 0x09, 0xa6, 0x05, 0x77, 0x2b, 0x90, - 0xb1, 0x52, 0xaf, 0xe2, 0x56, 0x48, 0xa4, 0x2d, 0xe0, 0x24, 0x4e, 0x6a, 0x9a, 0x14, 0xb3, 0x76, - 0x82, 0x0a, 0x82, 0xd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x27, 0xcf, - 0x51, 0xfc, 0x70, 0x74, 0x86, 0x7d, 0xd3, 0xb8, 0x30, 0xdd, 0x37, 0xdb, 0xeb, 0xfe, 0xbb, 0x57, - 0x6a, 0x09, 0x36, 0xeb, 0xd5, 0xb7, 0x47, 0x60, 0x23, 0xc7, 0xf7, 0xae, 0x4f, 0x2c, 0x46, 0xfe, - 0x1d, 0x82, 0x7c, 0x7a, 0x0e, 0x9f, 0x25, 0x61, 0x27, 0xcc, 0xf0, 0x13, 0x49, 0x84, 0xe5, 0x55, - 0x1e, 0xad, 0x6b, 0xbe, 0x45, 0x90, 0x5b, 0xa5, 0xbc, 0x41, 0xac, 0xa6, 0xf8, 0x50, 0xc0, 0x52, - 0x74, 0x8c, 0x41, 0xac, 0xca, 0xbe, 0xe8, 0xef, 0x9e, 0x32, 0x82, 0xf2, 0x42, 0xca, 0x26, 0xd0, - 0x4a, 0x4d, 0x81, 0xe4, 0x5d, 0xa9, 0x1e, 0x23, 0xf1, 0x28, 0x73, 0xba, 0x9e, 0x36, 0x6c, 0x81, - 0x74, 0x12, 0x87, 0x2d, 0xa0, 0xb2, 0x40, 0xd7, 0x7a, 0x16, 0xba, 0xd6, 0xff, 0x89, 0x8e, 0xa5, - 0xd0, 0xfd, 0x88, 0x00, 0xb7, 0x29, 0x13, 0x42, 0xea, 0x59, 0x06, 0x63, 0xa2, 0x63, 0x4b, 0xa9, - 0xf3, 0xfb, 0x4d, 0x22, 0xa4, 0xaf, 0x0f, 0x61, 0x19, 0x5e, 0x22, 0x9b, 0x02, 0x7d, 0x53, 0x7a, - 0x38, 0x32, 0x7a, 0xde, 0xe7, 0x7c, 0x01, 0x95, 0x0b, 0x9f, 0xff, 0x5c, 0xbb, 0x11, 0x55, 0x63, - 0xa2, 0x18, 0x03, 0x5c, 0xc4, 0x35, 0x58, 0x45, 0x73, 0xac, 0x5f, 0x6b, 0x1f, 0xec, 0x70, 0xee, - 0xb2, 0x05, 0x59, 0x3e, 0x38, 0x38, 0x48, 0x29, 0x65, 0xd2, 0xe5, 0x3b, 0xbd, 0x4f, 0xe1, 0xb9, - 0xd3, 0x0c, 0x45, 0x03, 0xdc, 0x72, 0x4d, 0xc2, 0xb7, 0x1d, 0xcf, 0x5a, 0x7c, 0x8a, 0x60, 0x4e, - 0x73, 0xac, 0xa1, 0xdb, 0x63, 0x71, 0x2a, 0xee, 0x8c, 0xa6, 0xdf, 0x08, 0x1f, 0x2a, 0xe1, 0xd6, - 0x8e, 0x63, 0x12, 0xbb, 0x53, 0x71, 0xbc, 0x8e, 0xdc, 0xa1, 0xb6, 0x68, 0x12, 0x39, 0x06, 0x70, - 0xfa, 0x17, 0xfb, 0xdd, 0x58, 0xb4, 0x75, 0x45, 0x6c, 0xbf, 0xfd, 0x6f, 0x00, 0x00, 0x00, 0xff, - 0xff, 0xbe, 0x84, 0x4f, 0xbc, 0xef, 0x0f, 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 - -// ConnectionServiceClient is the client API for ConnectionService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ConnectionServiceClient interface { - // Creates a new connection. - CreateConnection(ctx context.Context, in *CreateConnectionRequest, opts ...grpc.CallOption) (*Connection, error) - // Returns specified connection. - GetConnection(ctx context.Context, in *GetConnectionRequest, opts ...grpc.CallOption) (*Connection, error) - // Returns a list of connections in the given project. - ListConnections(ctx context.Context, in *ListConnectionsRequest, opts ...grpc.CallOption) (*ListConnectionsResponse, error) - // Updates the specified connection. For security reasons, also resets - // credential if connection properties are in the update field mask. - UpdateConnection(ctx context.Context, in *UpdateConnectionRequest, opts ...grpc.CallOption) (*Connection, error) - // Sets the credential for the specified connection. - UpdateConnectionCredential(ctx context.Context, in *UpdateConnectionCredentialRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Deletes connection and associated credential. - DeleteConnection(ctx context.Context, in *DeleteConnectionRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Gets the access control policy for a resource. - // Returns an empty policy if the resource exists and does not have a policy - // set. - GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) - // Sets the access control policy on the specified resource. Replaces any - // existing policy. - // - // Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED - SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) - // Returns permissions that a caller has on the specified resource. - // If the resource does not exist, this will return an empty set of - // permissions, not a 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) -} - -type connectionServiceClient struct { - cc *grpc.ClientConn -} - -func NewConnectionServiceClient(cc *grpc.ClientConn) ConnectionServiceClient { - return &connectionServiceClient{cc} -} - -func (c *connectionServiceClient) CreateConnection(ctx context.Context, in *CreateConnectionRequest, opts ...grpc.CallOption) (*Connection, error) { - out := new(Connection) - err := c.cc.Invoke(ctx, "/google.cloud.bigquery.connection.v1beta1.ConnectionService/CreateConnection", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *connectionServiceClient) GetConnection(ctx context.Context, in *GetConnectionRequest, opts ...grpc.CallOption) (*Connection, error) { - out := new(Connection) - err := c.cc.Invoke(ctx, "/google.cloud.bigquery.connection.v1beta1.ConnectionService/GetConnection", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *connectionServiceClient) ListConnections(ctx context.Context, in *ListConnectionsRequest, opts ...grpc.CallOption) (*ListConnectionsResponse, error) { - out := new(ListConnectionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.bigquery.connection.v1beta1.ConnectionService/ListConnections", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *connectionServiceClient) UpdateConnection(ctx context.Context, in *UpdateConnectionRequest, opts ...grpc.CallOption) (*Connection, error) { - out := new(Connection) - err := c.cc.Invoke(ctx, "/google.cloud.bigquery.connection.v1beta1.ConnectionService/UpdateConnection", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *connectionServiceClient) UpdateConnectionCredential(ctx context.Context, in *UpdateConnectionCredentialRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.bigquery.connection.v1beta1.ConnectionService/UpdateConnectionCredential", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *connectionServiceClient) DeleteConnection(ctx context.Context, in *DeleteConnectionRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.bigquery.connection.v1beta1.ConnectionService/DeleteConnection", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *connectionServiceClient) GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { - out := new(v1.Policy) - err := c.cc.Invoke(ctx, "/google.cloud.bigquery.connection.v1beta1.ConnectionService/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *connectionServiceClient) SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { - out := new(v1.Policy) - err := c.cc.Invoke(ctx, "/google.cloud.bigquery.connection.v1beta1.ConnectionService/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *connectionServiceClient) TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) { - out := new(v1.TestIamPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.bigquery.connection.v1beta1.ConnectionService/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ConnectionServiceServer is the server API for ConnectionService service. -type ConnectionServiceServer interface { - // Creates a new connection. - CreateConnection(context.Context, *CreateConnectionRequest) (*Connection, error) - // Returns specified connection. - GetConnection(context.Context, *GetConnectionRequest) (*Connection, error) - // Returns a list of connections in the given project. - ListConnections(context.Context, *ListConnectionsRequest) (*ListConnectionsResponse, error) - // Updates the specified connection. For security reasons, also resets - // credential if connection properties are in the update field mask. - UpdateConnection(context.Context, *UpdateConnectionRequest) (*Connection, error) - // Sets the credential for the specified connection. - UpdateConnectionCredential(context.Context, *UpdateConnectionCredentialRequest) (*empty.Empty, error) - // Deletes connection and associated credential. - DeleteConnection(context.Context, *DeleteConnectionRequest) (*empty.Empty, error) - // Gets the access control policy for a resource. - // Returns an empty policy if the resource exists and does not have a policy - // set. - GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error) - // Sets the access control policy on the specified resource. Replaces any - // existing policy. - // - // Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED - SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error) - // Returns permissions that a caller has on the specified resource. - // If the resource does not exist, this will return an empty set of - // permissions, not a 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) -} - -// UnimplementedConnectionServiceServer can be embedded to have forward compatible implementations. -type UnimplementedConnectionServiceServer struct { -} - -func (*UnimplementedConnectionServiceServer) CreateConnection(ctx context.Context, req *CreateConnectionRequest) (*Connection, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateConnection not implemented") -} -func (*UnimplementedConnectionServiceServer) GetConnection(ctx context.Context, req *GetConnectionRequest) (*Connection, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetConnection not implemented") -} -func (*UnimplementedConnectionServiceServer) ListConnections(ctx context.Context, req *ListConnectionsRequest) (*ListConnectionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListConnections not implemented") -} -func (*UnimplementedConnectionServiceServer) UpdateConnection(ctx context.Context, req *UpdateConnectionRequest) (*Connection, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateConnection not implemented") -} -func (*UnimplementedConnectionServiceServer) UpdateConnectionCredential(ctx context.Context, req *UpdateConnectionCredentialRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateConnectionCredential not implemented") -} -func (*UnimplementedConnectionServiceServer) DeleteConnection(ctx context.Context, req *DeleteConnectionRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteConnection not implemented") -} -func (*UnimplementedConnectionServiceServer) GetIamPolicy(ctx context.Context, req *v1.GetIamPolicyRequest) (*v1.Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedConnectionServiceServer) SetIamPolicy(ctx context.Context, req *v1.SetIamPolicyRequest) (*v1.Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedConnectionServiceServer) TestIamPermissions(ctx context.Context, req *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} - -func RegisterConnectionServiceServer(s *grpc.Server, srv ConnectionServiceServer) { - s.RegisterService(&_ConnectionService_serviceDesc, srv) -} - -func _ConnectionService_CreateConnection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateConnectionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ConnectionServiceServer).CreateConnection(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.bigquery.connection.v1beta1.ConnectionService/CreateConnection", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ConnectionServiceServer).CreateConnection(ctx, req.(*CreateConnectionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ConnectionService_GetConnection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetConnectionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ConnectionServiceServer).GetConnection(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.bigquery.connection.v1beta1.ConnectionService/GetConnection", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ConnectionServiceServer).GetConnection(ctx, req.(*GetConnectionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ConnectionService_ListConnections_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListConnectionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ConnectionServiceServer).ListConnections(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.bigquery.connection.v1beta1.ConnectionService/ListConnections", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ConnectionServiceServer).ListConnections(ctx, req.(*ListConnectionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ConnectionService_UpdateConnection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateConnectionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ConnectionServiceServer).UpdateConnection(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.bigquery.connection.v1beta1.ConnectionService/UpdateConnection", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ConnectionServiceServer).UpdateConnection(ctx, req.(*UpdateConnectionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ConnectionService_UpdateConnectionCredential_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateConnectionCredentialRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ConnectionServiceServer).UpdateConnectionCredential(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.bigquery.connection.v1beta1.ConnectionService/UpdateConnectionCredential", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ConnectionServiceServer).UpdateConnectionCredential(ctx, req.(*UpdateConnectionCredentialRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ConnectionService_DeleteConnection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteConnectionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ConnectionServiceServer).DeleteConnection(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.bigquery.connection.v1beta1.ConnectionService/DeleteConnection", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ConnectionServiceServer).DeleteConnection(ctx, req.(*DeleteConnectionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ConnectionService_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.(ConnectionServiceServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.bigquery.connection.v1beta1.ConnectionService/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ConnectionServiceServer).GetIamPolicy(ctx, req.(*v1.GetIamPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ConnectionService_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.(ConnectionServiceServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.bigquery.connection.v1beta1.ConnectionService/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ConnectionServiceServer).SetIamPolicy(ctx, req.(*v1.SetIamPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ConnectionService_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.(ConnectionServiceServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.bigquery.connection.v1beta1.ConnectionService/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ConnectionServiceServer).TestIamPermissions(ctx, req.(*v1.TestIamPermissionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ConnectionService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.bigquery.connection.v1beta1.ConnectionService", - HandlerType: (*ConnectionServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateConnection", - Handler: _ConnectionService_CreateConnection_Handler, - }, - { - MethodName: "GetConnection", - Handler: _ConnectionService_GetConnection_Handler, - }, - { - MethodName: "ListConnections", - Handler: _ConnectionService_ListConnections_Handler, - }, - { - MethodName: "UpdateConnection", - Handler: _ConnectionService_UpdateConnection_Handler, - }, - { - MethodName: "UpdateConnectionCredential", - Handler: _ConnectionService_UpdateConnectionCredential_Handler, - }, - { - MethodName: "DeleteConnection", - Handler: _ConnectionService_DeleteConnection_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _ConnectionService_GetIamPolicy_Handler, - }, - { - MethodName: "SetIamPolicy", - Handler: _ConnectionService_SetIamPolicy_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _ConnectionService_TestIamPermissions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/bigquery/connection/v1beta1/connection.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/datatransfer/v1/datasource.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/datatransfer/v1/datasource.pb.go deleted file mode 100644 index c704ff20..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/datatransfer/v1/datasource.pb.go +++ /dev/null @@ -1,1941 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/bigquery/datatransfer/v1/datasource.proto - -package datatransfer - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - empty "github.com/golang/protobuf/ptypes/empty" - _ "github.com/golang/protobuf/ptypes/timestamp" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Options for writing to the table. -// The WRITE_EMPTY option is intentionally excluded from the enum and is not -// supported by the data transfer service. -type WriteDisposition int32 - -const ( - // The default writeDispostion - WriteDisposition_WRITE_DISPOSITION_UNSPECIFIED WriteDisposition = 0 - // overwrites the table data. - WriteDisposition_WRITE_TRUNCATE WriteDisposition = 1 - // the data is appended to the table. - // Note duplication might happen if this mode is used. - WriteDisposition_WRITE_APPEND WriteDisposition = 2 -) - -var WriteDisposition_name = map[int32]string{ - 0: "WRITE_DISPOSITION_UNSPECIFIED", - 1: "WRITE_TRUNCATE", - 2: "WRITE_APPEND", -} - -var WriteDisposition_value = map[string]int32{ - "WRITE_DISPOSITION_UNSPECIFIED": 0, - "WRITE_TRUNCATE": 1, - "WRITE_APPEND": 2, -} - -func (x WriteDisposition) String() string { - return proto.EnumName(WriteDisposition_name, int32(x)) -} - -func (WriteDisposition) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_63170854e2f004ff, []int{0} -} - -// Data format. -type ImportedDataInfo_Format int32 - -const ( - // Unspecified format. In this case, we have to infer the format from the - // data source. - ImportedDataInfo_FORMAT_UNSPECIFIED ImportedDataInfo_Format = 0 - // CSV format. - ImportedDataInfo_CSV ImportedDataInfo_Format = 1 - // Newline-delimited JSON. - ImportedDataInfo_JSON ImportedDataInfo_Format = 2 - // Avro format. See http://avro.apache.org . - ImportedDataInfo_AVRO ImportedDataInfo_Format = 3 - // RecordIO. - ImportedDataInfo_RECORDIO ImportedDataInfo_Format = 4 - // ColumnIO. - ImportedDataInfo_COLUMNIO ImportedDataInfo_Format = 5 - // Capacitor. - ImportedDataInfo_CAPACITOR ImportedDataInfo_Format = 6 - // Parquet format. See https://parquet.apache.org . - ImportedDataInfo_PARQUET ImportedDataInfo_Format = 7 - // ORC format. See https://orc.apache.org . - ImportedDataInfo_ORC ImportedDataInfo_Format = 8 -) - -var ImportedDataInfo_Format_name = map[int32]string{ - 0: "FORMAT_UNSPECIFIED", - 1: "CSV", - 2: "JSON", - 3: "AVRO", - 4: "RECORDIO", - 5: "COLUMNIO", - 6: "CAPACITOR", - 7: "PARQUET", - 8: "ORC", -} - -var ImportedDataInfo_Format_value = map[string]int32{ - "FORMAT_UNSPECIFIED": 0, - "CSV": 1, - "JSON": 2, - "AVRO": 3, - "RECORDIO": 4, - "COLUMNIO": 5, - "CAPACITOR": 6, - "PARQUET": 7, - "ORC": 8, -} - -func (x ImportedDataInfo_Format) String() string { - return proto.EnumName(ImportedDataInfo_Format_name, int32(x)) -} - -func (ImportedDataInfo_Format) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_63170854e2f004ff, []int{0, 0} -} - -// Encoding of input data in CSV/JSON format. -type ImportedDataInfo_Encoding int32 - -const ( - // Default encoding (UTF8). - ImportedDataInfo_ENCODING_UNSPECIFIED ImportedDataInfo_Encoding = 0 - // ISO_8859_1 encoding. - ImportedDataInfo_ISO_8859_1 ImportedDataInfo_Encoding = 1 - // UTF8 encoding. - ImportedDataInfo_UTF8 ImportedDataInfo_Encoding = 2 -) - -var ImportedDataInfo_Encoding_name = map[int32]string{ - 0: "ENCODING_UNSPECIFIED", - 1: "ISO_8859_1", - 2: "UTF8", -} - -var ImportedDataInfo_Encoding_value = map[string]int32{ - "ENCODING_UNSPECIFIED": 0, - "ISO_8859_1": 1, - "UTF8": 2, -} - -func (x ImportedDataInfo_Encoding) String() string { - return proto.EnumName(ImportedDataInfo_Encoding_name, int32(x)) -} - -func (ImportedDataInfo_Encoding) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_63170854e2f004ff, []int{0, 1} -} - -// LINT.IfChange -// Field type. -type ImportedDataInfo_FieldSchema_Type int32 - -const ( - // Illegal value. - ImportedDataInfo_FieldSchema_TYPE_UNSPECIFIED ImportedDataInfo_FieldSchema_Type = 0 - // 64K, UTF8. - ImportedDataInfo_FieldSchema_STRING ImportedDataInfo_FieldSchema_Type = 1 - // 64-bit signed. - ImportedDataInfo_FieldSchema_INTEGER ImportedDataInfo_FieldSchema_Type = 2 - // 64-bit IEEE floating point. - ImportedDataInfo_FieldSchema_FLOAT ImportedDataInfo_FieldSchema_Type = 3 - // Aggregate type. - ImportedDataInfo_FieldSchema_RECORD ImportedDataInfo_FieldSchema_Type = 4 - // 64K, Binary. - ImportedDataInfo_FieldSchema_BYTES ImportedDataInfo_FieldSchema_Type = 5 - // 2-valued. - ImportedDataInfo_FieldSchema_BOOLEAN ImportedDataInfo_FieldSchema_Type = 6 - // 64-bit signed usec since UTC epoch. - ImportedDataInfo_FieldSchema_TIMESTAMP ImportedDataInfo_FieldSchema_Type = 7 - // Civil date - Year, Month, Day. - ImportedDataInfo_FieldSchema_DATE ImportedDataInfo_FieldSchema_Type = 8 - // Civil time - Hour, Minute, Second, Microseconds. - ImportedDataInfo_FieldSchema_TIME ImportedDataInfo_FieldSchema_Type = 9 - // Combination of civil date and civil time. - ImportedDataInfo_FieldSchema_DATETIME ImportedDataInfo_FieldSchema_Type = 10 - // Numeric type with 38 decimal digits of precision and 9 decimal digits - // of scale. - ImportedDataInfo_FieldSchema_NUMERIC ImportedDataInfo_FieldSchema_Type = 11 - // Geography object (go/googlesql_geography). - ImportedDataInfo_FieldSchema_GEOGRAPHY ImportedDataInfo_FieldSchema_Type = 12 -) - -var ImportedDataInfo_FieldSchema_Type_name = map[int32]string{ - 0: "TYPE_UNSPECIFIED", - 1: "STRING", - 2: "INTEGER", - 3: "FLOAT", - 4: "RECORD", - 5: "BYTES", - 6: "BOOLEAN", - 7: "TIMESTAMP", - 8: "DATE", - 9: "TIME", - 10: "DATETIME", - 11: "NUMERIC", - 12: "GEOGRAPHY", -} - -var ImportedDataInfo_FieldSchema_Type_value = map[string]int32{ - "TYPE_UNSPECIFIED": 0, - "STRING": 1, - "INTEGER": 2, - "FLOAT": 3, - "RECORD": 4, - "BYTES": 5, - "BOOLEAN": 6, - "TIMESTAMP": 7, - "DATE": 8, - "TIME": 9, - "DATETIME": 10, - "NUMERIC": 11, - "GEOGRAPHY": 12, -} - -func (x ImportedDataInfo_FieldSchema_Type) String() string { - return proto.EnumName(ImportedDataInfo_FieldSchema_Type_name, int32(x)) -} - -func (ImportedDataInfo_FieldSchema_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_63170854e2f004ff, []int{0, 0, 0} -} - -// Describes data which should be imported. -type ImportedDataInfo struct { - // SQL query to run. When empty, API checks that there is only one - // table_def specified and loads this table. Only Standard SQL queries - // are accepted. Legacy SQL is not allowed. - Sql string `protobuf:"bytes,1,opt,name=sql,proto3" json:"sql,omitempty"` - // Table where results should be written. - DestinationTableId string `protobuf:"bytes,2,opt,name=destination_table_id,json=destinationTableId,proto3" json:"destination_table_id,omitempty"` - // The description of a destination table. This can be several sentences - // or paragraphs describing the table contents in detail. - DestinationTableDescription string `protobuf:"bytes,10,opt,name=destination_table_description,json=destinationTableDescription,proto3" json:"destination_table_description,omitempty"` - // When used WITHOUT the "sql" parameter, describes the schema of the - // destination table. - // When used WITH the "sql" parameter, describes tables with data stored - // outside of BigQuery. - TableDefs []*ImportedDataInfo_TableDefinition `protobuf:"bytes,3,rep,name=table_defs,json=tableDefs,proto3" json:"table_defs,omitempty"` - // Inline code for User-defined function resources. - // Ignored when "sql" parameter is empty. - UserDefinedFunctions []string `protobuf:"bytes,4,rep,name=user_defined_functions,json=userDefinedFunctions,proto3" json:"user_defined_functions,omitempty"` - // Specifies the action if the destination table already exists. - WriteDisposition WriteDisposition `protobuf:"varint,6,opt,name=write_disposition,json=writeDisposition,proto3,enum=google.cloud.bigquery.datatransfer.v1.WriteDisposition" json:"write_disposition,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ImportedDataInfo) Reset() { *m = ImportedDataInfo{} } -func (m *ImportedDataInfo) String() string { return proto.CompactTextString(m) } -func (*ImportedDataInfo) ProtoMessage() {} -func (*ImportedDataInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_63170854e2f004ff, []int{0} -} - -func (m *ImportedDataInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImportedDataInfo.Unmarshal(m, b) -} -func (m *ImportedDataInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImportedDataInfo.Marshal(b, m, deterministic) -} -func (m *ImportedDataInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportedDataInfo.Merge(m, src) -} -func (m *ImportedDataInfo) XXX_Size() int { - return xxx_messageInfo_ImportedDataInfo.Size(m) -} -func (m *ImportedDataInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ImportedDataInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_ImportedDataInfo proto.InternalMessageInfo - -func (m *ImportedDataInfo) GetSql() string { - if m != nil { - return m.Sql - } - return "" -} - -func (m *ImportedDataInfo) GetDestinationTableId() string { - if m != nil { - return m.DestinationTableId - } - return "" -} - -func (m *ImportedDataInfo) GetDestinationTableDescription() string { - if m != nil { - return m.DestinationTableDescription - } - return "" -} - -func (m *ImportedDataInfo) GetTableDefs() []*ImportedDataInfo_TableDefinition { - if m != nil { - return m.TableDefs - } - return nil -} - -func (m *ImportedDataInfo) GetUserDefinedFunctions() []string { - if m != nil { - return m.UserDefinedFunctions - } - return nil -} - -func (m *ImportedDataInfo) GetWriteDisposition() WriteDisposition { - if m != nil { - return m.WriteDisposition - } - return WriteDisposition_WRITE_DISPOSITION_UNSPECIFIED -} - -// Defines schema of a field in the imported data. -type ImportedDataInfo_FieldSchema struct { - // Field name. Matches: [A-Za-z_][A-Za-z_0-9]{0,127} - FieldName string `protobuf:"bytes,1,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"` - // Field type - Type ImportedDataInfo_FieldSchema_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.bigquery.datatransfer.v1.ImportedDataInfo_FieldSchema_Type" json:"type,omitempty"` - // Is field repeated. - IsRepeated bool `protobuf:"varint,3,opt,name=is_repeated,json=isRepeated,proto3" json:"is_repeated,omitempty"` - // Description for this field. - Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` - // Present iff type == RECORD. - Schema *ImportedDataInfo_RecordSchema `protobuf:"bytes,5,opt,name=schema,proto3" json:"schema,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ImportedDataInfo_FieldSchema) Reset() { *m = ImportedDataInfo_FieldSchema{} } -func (m *ImportedDataInfo_FieldSchema) String() string { return proto.CompactTextString(m) } -func (*ImportedDataInfo_FieldSchema) ProtoMessage() {} -func (*ImportedDataInfo_FieldSchema) Descriptor() ([]byte, []int) { - return fileDescriptor_63170854e2f004ff, []int{0, 0} -} - -func (m *ImportedDataInfo_FieldSchema) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImportedDataInfo_FieldSchema.Unmarshal(m, b) -} -func (m *ImportedDataInfo_FieldSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImportedDataInfo_FieldSchema.Marshal(b, m, deterministic) -} -func (m *ImportedDataInfo_FieldSchema) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportedDataInfo_FieldSchema.Merge(m, src) -} -func (m *ImportedDataInfo_FieldSchema) XXX_Size() int { - return xxx_messageInfo_ImportedDataInfo_FieldSchema.Size(m) -} -func (m *ImportedDataInfo_FieldSchema) XXX_DiscardUnknown() { - xxx_messageInfo_ImportedDataInfo_FieldSchema.DiscardUnknown(m) -} - -var xxx_messageInfo_ImportedDataInfo_FieldSchema proto.InternalMessageInfo - -func (m *ImportedDataInfo_FieldSchema) GetFieldName() string { - if m != nil { - return m.FieldName - } - return "" -} - -func (m *ImportedDataInfo_FieldSchema) GetType() ImportedDataInfo_FieldSchema_Type { - if m != nil { - return m.Type - } - return ImportedDataInfo_FieldSchema_TYPE_UNSPECIFIED -} - -func (m *ImportedDataInfo_FieldSchema) GetIsRepeated() bool { - if m != nil { - return m.IsRepeated - } - return false -} - -func (m *ImportedDataInfo_FieldSchema) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *ImportedDataInfo_FieldSchema) GetSchema() *ImportedDataInfo_RecordSchema { - if m != nil { - return m.Schema - } - return nil -} - -// Describes schema of the data to be ingested. -type ImportedDataInfo_RecordSchema struct { - // One field per column in the record. - Fields []*ImportedDataInfo_FieldSchema `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ImportedDataInfo_RecordSchema) Reset() { *m = ImportedDataInfo_RecordSchema{} } -func (m *ImportedDataInfo_RecordSchema) String() string { return proto.CompactTextString(m) } -func (*ImportedDataInfo_RecordSchema) ProtoMessage() {} -func (*ImportedDataInfo_RecordSchema) Descriptor() ([]byte, []int) { - return fileDescriptor_63170854e2f004ff, []int{0, 1} -} - -func (m *ImportedDataInfo_RecordSchema) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImportedDataInfo_RecordSchema.Unmarshal(m, b) -} -func (m *ImportedDataInfo_RecordSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImportedDataInfo_RecordSchema.Marshal(b, m, deterministic) -} -func (m *ImportedDataInfo_RecordSchema) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportedDataInfo_RecordSchema.Merge(m, src) -} -func (m *ImportedDataInfo_RecordSchema) XXX_Size() int { - return xxx_messageInfo_ImportedDataInfo_RecordSchema.Size(m) -} -func (m *ImportedDataInfo_RecordSchema) XXX_DiscardUnknown() { - xxx_messageInfo_ImportedDataInfo_RecordSchema.DiscardUnknown(m) -} - -var xxx_messageInfo_ImportedDataInfo_RecordSchema proto.InternalMessageInfo - -func (m *ImportedDataInfo_RecordSchema) GetFields() []*ImportedDataInfo_FieldSchema { - if m != nil { - return m.Fields - } - return nil -} - -// External table definition. These tables can be referenced with 'name' -// in the query and can be read just like any other table. -type ImportedDataInfo_TableDefinition struct { - // BigQuery table_id (required). This will be used to reference this - // table in the query. - TableId string `protobuf:"bytes,1,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"` - // URIs for the data to be imported. All URIs must be from the same storage - // system. - SourceUris []string `protobuf:"bytes,2,rep,name=source_uris,json=sourceUris,proto3" json:"source_uris,omitempty"` - // Describes the format of the data in source_uri. - Format ImportedDataInfo_Format `protobuf:"varint,3,opt,name=format,proto3,enum=google.cloud.bigquery.datatransfer.v1.ImportedDataInfo_Format" json:"format,omitempty"` - // Specify the maximum number of bad records that can be ignored. - // If bad records exceed this threshold the query is aborted. - MaxBadRecords int32 `protobuf:"varint,4,opt,name=max_bad_records,json=maxBadRecords,proto3" json:"max_bad_records,omitempty"` - // Character encoding of the input when applicable (CSV, JSON). - // Defaults to UTF8. - Encoding ImportedDataInfo_Encoding `protobuf:"varint,5,opt,name=encoding,proto3,enum=google.cloud.bigquery.datatransfer.v1.ImportedDataInfo_Encoding" json:"encoding,omitempty"` - // CSV specific options. - CsvOptions *ImportedDataInfo_TableDefinition_CsvOptions `protobuf:"bytes,6,opt,name=csv_options,json=csvOptions,proto3" json:"csv_options,omitempty"` - // Optional schema for the data. When not specified for JSON and CSV formats - // we will try to detect it automatically. - Schema *ImportedDataInfo_RecordSchema `protobuf:"bytes,7,opt,name=schema,proto3" json:"schema,omitempty"` - // Indicates if extra values that are not represented in the table schema is - // allowed. - IgnoreUnknownValues *wrappers.BoolValue `protobuf:"bytes,10,opt,name=ignore_unknown_values,json=ignoreUnknownValues,proto3" json:"ignore_unknown_values,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ImportedDataInfo_TableDefinition) Reset() { *m = ImportedDataInfo_TableDefinition{} } -func (m *ImportedDataInfo_TableDefinition) String() string { return proto.CompactTextString(m) } -func (*ImportedDataInfo_TableDefinition) ProtoMessage() {} -func (*ImportedDataInfo_TableDefinition) Descriptor() ([]byte, []int) { - return fileDescriptor_63170854e2f004ff, []int{0, 2} -} - -func (m *ImportedDataInfo_TableDefinition) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImportedDataInfo_TableDefinition.Unmarshal(m, b) -} -func (m *ImportedDataInfo_TableDefinition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImportedDataInfo_TableDefinition.Marshal(b, m, deterministic) -} -func (m *ImportedDataInfo_TableDefinition) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportedDataInfo_TableDefinition.Merge(m, src) -} -func (m *ImportedDataInfo_TableDefinition) XXX_Size() int { - return xxx_messageInfo_ImportedDataInfo_TableDefinition.Size(m) -} -func (m *ImportedDataInfo_TableDefinition) XXX_DiscardUnknown() { - xxx_messageInfo_ImportedDataInfo_TableDefinition.DiscardUnknown(m) -} - -var xxx_messageInfo_ImportedDataInfo_TableDefinition proto.InternalMessageInfo - -func (m *ImportedDataInfo_TableDefinition) GetTableId() string { - if m != nil { - return m.TableId - } - return "" -} - -func (m *ImportedDataInfo_TableDefinition) GetSourceUris() []string { - if m != nil { - return m.SourceUris - } - return nil -} - -func (m *ImportedDataInfo_TableDefinition) GetFormat() ImportedDataInfo_Format { - if m != nil { - return m.Format - } - return ImportedDataInfo_FORMAT_UNSPECIFIED -} - -func (m *ImportedDataInfo_TableDefinition) GetMaxBadRecords() int32 { - if m != nil { - return m.MaxBadRecords - } - return 0 -} - -func (m *ImportedDataInfo_TableDefinition) GetEncoding() ImportedDataInfo_Encoding { - if m != nil { - return m.Encoding - } - return ImportedDataInfo_ENCODING_UNSPECIFIED -} - -func (m *ImportedDataInfo_TableDefinition) GetCsvOptions() *ImportedDataInfo_TableDefinition_CsvOptions { - if m != nil { - return m.CsvOptions - } - return nil -} - -func (m *ImportedDataInfo_TableDefinition) GetSchema() *ImportedDataInfo_RecordSchema { - if m != nil { - return m.Schema - } - return nil -} - -func (m *ImportedDataInfo_TableDefinition) GetIgnoreUnknownValues() *wrappers.BoolValue { - if m != nil { - return m.IgnoreUnknownValues - } - return nil -} - -// CSV specific options. -type ImportedDataInfo_TableDefinition_CsvOptions struct { - // The delimiter. We currently restrict this to U+0001 to U+00FF and - // apply additional constraints during validation. - FieldDelimiter *wrappers.StringValue `protobuf:"bytes,1,opt,name=field_delimiter,json=fieldDelimiter,proto3" json:"field_delimiter,omitempty"` - // Whether CSV files are allowed to have quoted newlines. If quoted - // newlines are allowed, we can't split CSV files. - AllowQuotedNewlines *wrappers.BoolValue `protobuf:"bytes,2,opt,name=allow_quoted_newlines,json=allowQuotedNewlines,proto3" json:"allow_quoted_newlines,omitempty"` - // The quote character. We currently restrict this to U+0000 to U+00FF - // and apply additional constraints during validation. Set to '\0' to - // indicate no quote is used. - QuoteChar *wrappers.StringValue `protobuf:"bytes,3,opt,name=quote_char,json=quoteChar,proto3" json:"quote_char,omitempty"` - // Number of leading rows to skip. - SkipLeadingRows *wrappers.Int64Value `protobuf:"bytes,4,opt,name=skip_leading_rows,json=skipLeadingRows,proto3" json:"skip_leading_rows,omitempty"` - // Accept rows that are missing trailing optional columns. - AllowJaggedRows *wrappers.BoolValue `protobuf:"bytes,5,opt,name=allow_jagged_rows,json=allowJaggedRows,proto3" json:"allow_jagged_rows,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ImportedDataInfo_TableDefinition_CsvOptions) Reset() { - *m = ImportedDataInfo_TableDefinition_CsvOptions{} -} -func (m *ImportedDataInfo_TableDefinition_CsvOptions) String() string { - return proto.CompactTextString(m) -} -func (*ImportedDataInfo_TableDefinition_CsvOptions) ProtoMessage() {} -func (*ImportedDataInfo_TableDefinition_CsvOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_63170854e2f004ff, []int{0, 2, 0} -} - -func (m *ImportedDataInfo_TableDefinition_CsvOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImportedDataInfo_TableDefinition_CsvOptions.Unmarshal(m, b) -} -func (m *ImportedDataInfo_TableDefinition_CsvOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImportedDataInfo_TableDefinition_CsvOptions.Marshal(b, m, deterministic) -} -func (m *ImportedDataInfo_TableDefinition_CsvOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportedDataInfo_TableDefinition_CsvOptions.Merge(m, src) -} -func (m *ImportedDataInfo_TableDefinition_CsvOptions) XXX_Size() int { - return xxx_messageInfo_ImportedDataInfo_TableDefinition_CsvOptions.Size(m) -} -func (m *ImportedDataInfo_TableDefinition_CsvOptions) XXX_DiscardUnknown() { - xxx_messageInfo_ImportedDataInfo_TableDefinition_CsvOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_ImportedDataInfo_TableDefinition_CsvOptions proto.InternalMessageInfo - -func (m *ImportedDataInfo_TableDefinition_CsvOptions) GetFieldDelimiter() *wrappers.StringValue { - if m != nil { - return m.FieldDelimiter - } - return nil -} - -func (m *ImportedDataInfo_TableDefinition_CsvOptions) GetAllowQuotedNewlines() *wrappers.BoolValue { - if m != nil { - return m.AllowQuotedNewlines - } - return nil -} - -func (m *ImportedDataInfo_TableDefinition_CsvOptions) GetQuoteChar() *wrappers.StringValue { - if m != nil { - return m.QuoteChar - } - return nil -} - -func (m *ImportedDataInfo_TableDefinition_CsvOptions) GetSkipLeadingRows() *wrappers.Int64Value { - if m != nil { - return m.SkipLeadingRows - } - return nil -} - -func (m *ImportedDataInfo_TableDefinition_CsvOptions) GetAllowJaggedRows() *wrappers.BoolValue { - if m != nil { - return m.AllowJaggedRows - } - return nil -} - -// A request to update a transfer run. -type UpdateTransferRunRequest struct { - // Run name must be set and correspond to an already existing run. Only - // state, error_status, and data_version fields will be updated. All other - // fields will be ignored. - TransferRun *TransferRun `protobuf:"bytes,1,opt,name=transfer_run,json=transferRun,proto3" json:"transfer_run,omitempty"` - // Required list of fields to be updated in this request. - 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 *UpdateTransferRunRequest) Reset() { *m = UpdateTransferRunRequest{} } -func (m *UpdateTransferRunRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateTransferRunRequest) ProtoMessage() {} -func (*UpdateTransferRunRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_63170854e2f004ff, []int{1} -} - -func (m *UpdateTransferRunRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateTransferRunRequest.Unmarshal(m, b) -} -func (m *UpdateTransferRunRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateTransferRunRequest.Marshal(b, m, deterministic) -} -func (m *UpdateTransferRunRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateTransferRunRequest.Merge(m, src) -} -func (m *UpdateTransferRunRequest) XXX_Size() int { - return xxx_messageInfo_UpdateTransferRunRequest.Size(m) -} -func (m *UpdateTransferRunRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateTransferRunRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateTransferRunRequest proto.InternalMessageInfo - -func (m *UpdateTransferRunRequest) GetTransferRun() *TransferRun { - if m != nil { - return m.TransferRun - } - return nil -} - -func (m *UpdateTransferRunRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// A request to add transfer status messages to the run. -type LogTransferRunMessagesRequest struct { - // Name of the resource in the form: - // "projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}" - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Messages to append. - TransferMessages []*TransferMessage `protobuf:"bytes,2,rep,name=transfer_messages,json=transferMessages,proto3" json:"transfer_messages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LogTransferRunMessagesRequest) Reset() { *m = LogTransferRunMessagesRequest{} } -func (m *LogTransferRunMessagesRequest) String() string { return proto.CompactTextString(m) } -func (*LogTransferRunMessagesRequest) ProtoMessage() {} -func (*LogTransferRunMessagesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_63170854e2f004ff, []int{2} -} - -func (m *LogTransferRunMessagesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LogTransferRunMessagesRequest.Unmarshal(m, b) -} -func (m *LogTransferRunMessagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LogTransferRunMessagesRequest.Marshal(b, m, deterministic) -} -func (m *LogTransferRunMessagesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_LogTransferRunMessagesRequest.Merge(m, src) -} -func (m *LogTransferRunMessagesRequest) XXX_Size() int { - return xxx_messageInfo_LogTransferRunMessagesRequest.Size(m) -} -func (m *LogTransferRunMessagesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_LogTransferRunMessagesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_LogTransferRunMessagesRequest proto.InternalMessageInfo - -func (m *LogTransferRunMessagesRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *LogTransferRunMessagesRequest) GetTransferMessages() []*TransferMessage { - if m != nil { - return m.TransferMessages - } - return nil -} - -// A request to start and monitor a BigQuery load job. -type StartBigQueryJobsRequest struct { - // Name of the resource in the form: - // "projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}" - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Import jobs which should be started and monitored. - ImportedData []*ImportedDataInfo `protobuf:"bytes,2,rep,name=imported_data,json=importedData,proto3" json:"imported_data,omitempty"` - // User credentials which should be used to start/monitor - // BigQuery jobs. If not specified, then jobs - // are started using data source service account credentials. - // This may be OAuth token or JWT token. - UserCredentials []byte `protobuf:"bytes,3,opt,name=user_credentials,json=userCredentials,proto3" json:"user_credentials,omitempty"` - // The number of BQ Jobs that can run in parallel. - MaxParallelism int32 `protobuf:"varint,8,opt,name=max_parallelism,json=maxParallelism,proto3" json:"max_parallelism,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StartBigQueryJobsRequest) Reset() { *m = StartBigQueryJobsRequest{} } -func (m *StartBigQueryJobsRequest) String() string { return proto.CompactTextString(m) } -func (*StartBigQueryJobsRequest) ProtoMessage() {} -func (*StartBigQueryJobsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_63170854e2f004ff, []int{3} -} - -func (m *StartBigQueryJobsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StartBigQueryJobsRequest.Unmarshal(m, b) -} -func (m *StartBigQueryJobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StartBigQueryJobsRequest.Marshal(b, m, deterministic) -} -func (m *StartBigQueryJobsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartBigQueryJobsRequest.Merge(m, src) -} -func (m *StartBigQueryJobsRequest) XXX_Size() int { - return xxx_messageInfo_StartBigQueryJobsRequest.Size(m) -} -func (m *StartBigQueryJobsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StartBigQueryJobsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_StartBigQueryJobsRequest proto.InternalMessageInfo - -func (m *StartBigQueryJobsRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *StartBigQueryJobsRequest) GetImportedData() []*ImportedDataInfo { - if m != nil { - return m.ImportedData - } - return nil -} - -func (m *StartBigQueryJobsRequest) GetUserCredentials() []byte { - if m != nil { - return m.UserCredentials - } - return nil -} - -func (m *StartBigQueryJobsRequest) GetMaxParallelism() int32 { - if m != nil { - return m.MaxParallelism - } - return 0 -} - -// A request to finish a run. -type FinishRunRequest struct { - // Name of the resource in the form: - // "projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_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 *FinishRunRequest) Reset() { *m = FinishRunRequest{} } -func (m *FinishRunRequest) String() string { return proto.CompactTextString(m) } -func (*FinishRunRequest) ProtoMessage() {} -func (*FinishRunRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_63170854e2f004ff, []int{4} -} - -func (m *FinishRunRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FinishRunRequest.Unmarshal(m, b) -} -func (m *FinishRunRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FinishRunRequest.Marshal(b, m, deterministic) -} -func (m *FinishRunRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FinishRunRequest.Merge(m, src) -} -func (m *FinishRunRequest) XXX_Size() int { - return xxx_messageInfo_FinishRunRequest.Size(m) -} -func (m *FinishRunRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FinishRunRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_FinishRunRequest proto.InternalMessageInfo - -func (m *FinishRunRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Represents the request of the CreateDataSourceDefinition method. -type CreateDataSourceDefinitionRequest struct { - // The BigQuery project id for which data source definition is associated. - // Must be in the form: `projects/{project_id}/locations/{location_id}` - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Data source definition. - DataSourceDefinition *DataSourceDefinition `protobuf:"bytes,2,opt,name=data_source_definition,json=dataSourceDefinition,proto3" json:"data_source_definition,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateDataSourceDefinitionRequest) Reset() { *m = CreateDataSourceDefinitionRequest{} } -func (m *CreateDataSourceDefinitionRequest) String() string { return proto.CompactTextString(m) } -func (*CreateDataSourceDefinitionRequest) ProtoMessage() {} -func (*CreateDataSourceDefinitionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_63170854e2f004ff, []int{5} -} - -func (m *CreateDataSourceDefinitionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateDataSourceDefinitionRequest.Unmarshal(m, b) -} -func (m *CreateDataSourceDefinitionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateDataSourceDefinitionRequest.Marshal(b, m, deterministic) -} -func (m *CreateDataSourceDefinitionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateDataSourceDefinitionRequest.Merge(m, src) -} -func (m *CreateDataSourceDefinitionRequest) XXX_Size() int { - return xxx_messageInfo_CreateDataSourceDefinitionRequest.Size(m) -} -func (m *CreateDataSourceDefinitionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateDataSourceDefinitionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateDataSourceDefinitionRequest proto.InternalMessageInfo - -func (m *CreateDataSourceDefinitionRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateDataSourceDefinitionRequest) GetDataSourceDefinition() *DataSourceDefinition { - if m != nil { - return m.DataSourceDefinition - } - return nil -} - -// Represents the request of the UpdateDataSourceDefinition method. -type UpdateDataSourceDefinitionRequest struct { - // Data source definition. - DataSourceDefinition *DataSourceDefinition `protobuf:"bytes,1,opt,name=data_source_definition,json=dataSourceDefinition,proto3" json:"data_source_definition,omitempty"` - // Update field mask. - 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 *UpdateDataSourceDefinitionRequest) Reset() { *m = UpdateDataSourceDefinitionRequest{} } -func (m *UpdateDataSourceDefinitionRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateDataSourceDefinitionRequest) ProtoMessage() {} -func (*UpdateDataSourceDefinitionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_63170854e2f004ff, []int{6} -} - -func (m *UpdateDataSourceDefinitionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateDataSourceDefinitionRequest.Unmarshal(m, b) -} -func (m *UpdateDataSourceDefinitionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateDataSourceDefinitionRequest.Marshal(b, m, deterministic) -} -func (m *UpdateDataSourceDefinitionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateDataSourceDefinitionRequest.Merge(m, src) -} -func (m *UpdateDataSourceDefinitionRequest) XXX_Size() int { - return xxx_messageInfo_UpdateDataSourceDefinitionRequest.Size(m) -} -func (m *UpdateDataSourceDefinitionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateDataSourceDefinitionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateDataSourceDefinitionRequest proto.InternalMessageInfo - -func (m *UpdateDataSourceDefinitionRequest) GetDataSourceDefinition() *DataSourceDefinition { - if m != nil { - return m.DataSourceDefinition - } - return nil -} - -func (m *UpdateDataSourceDefinitionRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// Represents the request of the DeleteDataSourceDefinition method. All transfer -// configs associated with the data source must be deleted first, before the -// data source can be deleted. -type DeleteDataSourceDefinitionRequest struct { - // The field will contain name of the resource requested, for example: - // `projects/{project_id}/locations/{location_id}/dataSourceDefinitions/{data_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 *DeleteDataSourceDefinitionRequest) Reset() { *m = DeleteDataSourceDefinitionRequest{} } -func (m *DeleteDataSourceDefinitionRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteDataSourceDefinitionRequest) ProtoMessage() {} -func (*DeleteDataSourceDefinitionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_63170854e2f004ff, []int{7} -} - -func (m *DeleteDataSourceDefinitionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteDataSourceDefinitionRequest.Unmarshal(m, b) -} -func (m *DeleteDataSourceDefinitionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteDataSourceDefinitionRequest.Marshal(b, m, deterministic) -} -func (m *DeleteDataSourceDefinitionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteDataSourceDefinitionRequest.Merge(m, src) -} -func (m *DeleteDataSourceDefinitionRequest) XXX_Size() int { - return xxx_messageInfo_DeleteDataSourceDefinitionRequest.Size(m) -} -func (m *DeleteDataSourceDefinitionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteDataSourceDefinitionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteDataSourceDefinitionRequest proto.InternalMessageInfo - -func (m *DeleteDataSourceDefinitionRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Represents the request of the GetDataSourceDefinition method. -type GetDataSourceDefinitionRequest struct { - // The field will contain name of the resource requested. - 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 *GetDataSourceDefinitionRequest) Reset() { *m = GetDataSourceDefinitionRequest{} } -func (m *GetDataSourceDefinitionRequest) String() string { return proto.CompactTextString(m) } -func (*GetDataSourceDefinitionRequest) ProtoMessage() {} -func (*GetDataSourceDefinitionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_63170854e2f004ff, []int{8} -} - -func (m *GetDataSourceDefinitionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDataSourceDefinitionRequest.Unmarshal(m, b) -} -func (m *GetDataSourceDefinitionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDataSourceDefinitionRequest.Marshal(b, m, deterministic) -} -func (m *GetDataSourceDefinitionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDataSourceDefinitionRequest.Merge(m, src) -} -func (m *GetDataSourceDefinitionRequest) XXX_Size() int { - return xxx_messageInfo_GetDataSourceDefinitionRequest.Size(m) -} -func (m *GetDataSourceDefinitionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetDataSourceDefinitionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetDataSourceDefinitionRequest proto.InternalMessageInfo - -func (m *GetDataSourceDefinitionRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Represents the request of the ListDataSourceDefinitions method. -type ListDataSourceDefinitionsRequest struct { - // The BigQuery project id for which data sources should be returned. - // Must be in the form: `projects/{project_id}/locations/{location_id}` - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Pagination token, which can be used to request a specific page - // of `ListDataSourceDefinitionsRequest` list results. For multiple-page - // results, `ListDataSourceDefinitionsResponse` outputs a `next_page` token, - // which can be used as the `page_token` value to request the next page of - // the list results. - PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // Page size. The default page size is the maximum value of 1000 results. - 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 *ListDataSourceDefinitionsRequest) Reset() { *m = ListDataSourceDefinitionsRequest{} } -func (m *ListDataSourceDefinitionsRequest) String() string { return proto.CompactTextString(m) } -func (*ListDataSourceDefinitionsRequest) ProtoMessage() {} -func (*ListDataSourceDefinitionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_63170854e2f004ff, []int{9} -} - -func (m *ListDataSourceDefinitionsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDataSourceDefinitionsRequest.Unmarshal(m, b) -} -func (m *ListDataSourceDefinitionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDataSourceDefinitionsRequest.Marshal(b, m, deterministic) -} -func (m *ListDataSourceDefinitionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDataSourceDefinitionsRequest.Merge(m, src) -} -func (m *ListDataSourceDefinitionsRequest) XXX_Size() int { - return xxx_messageInfo_ListDataSourceDefinitionsRequest.Size(m) -} -func (m *ListDataSourceDefinitionsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListDataSourceDefinitionsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDataSourceDefinitionsRequest proto.InternalMessageInfo - -func (m *ListDataSourceDefinitionsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListDataSourceDefinitionsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListDataSourceDefinitionsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -// Returns a list of supported data source definitions. -type ListDataSourceDefinitionsResponse struct { - // List of supported data source definitions. - DataSourceDefinitions []*DataSourceDefinition `protobuf:"bytes,1,rep,name=data_source_definitions,json=dataSourceDefinitions,proto3" json:"data_source_definitions,omitempty"` - // Output only. The next-pagination token. For multiple-page list results, - // this token can be used as the - // `ListDataSourceDefinitionsRequest.page_token` - // to request the next page of the list 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 *ListDataSourceDefinitionsResponse) Reset() { *m = ListDataSourceDefinitionsResponse{} } -func (m *ListDataSourceDefinitionsResponse) String() string { return proto.CompactTextString(m) } -func (*ListDataSourceDefinitionsResponse) ProtoMessage() {} -func (*ListDataSourceDefinitionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_63170854e2f004ff, []int{10} -} - -func (m *ListDataSourceDefinitionsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDataSourceDefinitionsResponse.Unmarshal(m, b) -} -func (m *ListDataSourceDefinitionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDataSourceDefinitionsResponse.Marshal(b, m, deterministic) -} -func (m *ListDataSourceDefinitionsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDataSourceDefinitionsResponse.Merge(m, src) -} -func (m *ListDataSourceDefinitionsResponse) XXX_Size() int { - return xxx_messageInfo_ListDataSourceDefinitionsResponse.Size(m) -} -func (m *ListDataSourceDefinitionsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListDataSourceDefinitionsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDataSourceDefinitionsResponse proto.InternalMessageInfo - -func (m *ListDataSourceDefinitionsResponse) GetDataSourceDefinitions() []*DataSourceDefinition { - if m != nil { - return m.DataSourceDefinitions - } - return nil -} - -func (m *ListDataSourceDefinitionsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Represents the data source definition. -type DataSourceDefinition struct { - // The resource name of the data source definition. - // Data source definition names have the form - // `projects/{project_id}/locations/{location}/dataSourceDefinitions/{data_source_id}`. - Name string `protobuf:"bytes,21,opt,name=name,proto3" json:"name,omitempty"` - // Data source metadata. - DataSource *DataSource `protobuf:"bytes,1,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"` - // The Pub/Sub topic to be used for broadcasting a message when a transfer run - // is created. Both this topic and transfer_config_pubsub_topic can be - // set to a custom topic. By default, both topics are auto-generated if none - // of them is provided when creating the definition. However, if one topic is - // manually set, the other topic has to be manually set as well. The only - // difference is that transfer_run_pubsub_topic must be a non-empty Pub/Sub - // topic, but transfer_config_pubsub_topic can be set to empty. The comments - // about "{location}" for transfer_config_pubsub_topic apply here too. - TransferRunPubsubTopic string `protobuf:"bytes,13,opt,name=transfer_run_pubsub_topic,json=transferRunPubsubTopic,proto3" json:"transfer_run_pubsub_topic,omitempty"` - // Duration which should be added to schedule_time to calculate - // run_time when job is scheduled. Only applicable for automatically - // scheduled transfer runs. Used to start a run early on a data source that - // supports continuous data refresh to compensate for unknown timezone - // offsets. Use a negative number to start a run late for data sources not - // supporting continuous data refresh. - RunTimeOffset *duration.Duration `protobuf:"bytes,16,opt,name=run_time_offset,json=runTimeOffset,proto3" json:"run_time_offset,omitempty"` - // Support e-mail address of the OAuth client's Brand, which contains the - // consent screen data. - SupportEmail string `protobuf:"bytes,22,opt,name=support_email,json=supportEmail,proto3" json:"support_email,omitempty"` - // When service account is specified, BigQuery will share created dataset - // with the given service account. Also, this service account will be - // eligible to perform status updates and message logging for data transfer - // runs for the corresponding data_source_id. - ServiceAccount string `protobuf:"bytes,2,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` - // Is data source disabled? If true, data_source is not visible. - // API will also stop returning any data transfer configs and/or runs - // associated with the data source. This setting has higher priority - // than whitelisted_project_ids. - Disabled bool `protobuf:"varint,5,opt,name=disabled,proto3" json:"disabled,omitempty"` - // The Pub/Sub topic to use for broadcasting a message for transfer config. If - // empty, a message will not be broadcasted. Both this topic and - // transfer_run_pubsub_topic are auto-generated if none of them is provided - // when creating the definition. It is recommended to provide - // transfer_config_pubsub_topic if a user-owned transfer_run_pubsub_topic is - // provided. Otherwise, it will be set to empty. If "{location}" is found in - // the value, then that means, data source wants to handle message separately - // for datasets in different regions. We will replace {location} with the - // actual dataset location, as the actual topic name. For example, - // projects/connector/topics/scheduler-{location} could become - // projects/connector/topics/scheduler-us. If "{location}" is not found, then - // we will use the input value as topic name. - TransferConfigPubsubTopic string `protobuf:"bytes,12,opt,name=transfer_config_pubsub_topic,json=transferConfigPubsubTopic,proto3" json:"transfer_config_pubsub_topic,omitempty"` - // Supported location_ids used for deciding in which locations Pub/Sub topics - // need to be created. If custom Pub/Sub topics are used and they contains - // '{location}', the location_ids will be used for validating the topics by - // replacing the '{location}' with the individual location in the list. The - // valid values are the "location_id" field of the response of `GET - // https://bigquerydatatransfer.googleapis.com/v1/{name=projects/*}/locations` - // In addition, if the data source needs to support all available regions, - // supported_location_ids can be set to "global" (a single string element). - // When "global" is specified: - // 1) the data source implementation is supposed to stage the data in proper - // region of the destination dataset; - // 2) Data source developer should be aware of the implications (e.g., network - // traffic latency, potential charge associated with cross-region traffic, - // etc.) of supporting the "global" region; - SupportedLocationIds []string `protobuf:"bytes,23,rep,name=supported_location_ids,json=supportedLocationIds,proto3" json:"supported_location_ids,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DataSourceDefinition) Reset() { *m = DataSourceDefinition{} } -func (m *DataSourceDefinition) String() string { return proto.CompactTextString(m) } -func (*DataSourceDefinition) ProtoMessage() {} -func (*DataSourceDefinition) Descriptor() ([]byte, []int) { - return fileDescriptor_63170854e2f004ff, []int{11} -} - -func (m *DataSourceDefinition) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DataSourceDefinition.Unmarshal(m, b) -} -func (m *DataSourceDefinition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DataSourceDefinition.Marshal(b, m, deterministic) -} -func (m *DataSourceDefinition) XXX_Merge(src proto.Message) { - xxx_messageInfo_DataSourceDefinition.Merge(m, src) -} -func (m *DataSourceDefinition) XXX_Size() int { - return xxx_messageInfo_DataSourceDefinition.Size(m) -} -func (m *DataSourceDefinition) XXX_DiscardUnknown() { - xxx_messageInfo_DataSourceDefinition.DiscardUnknown(m) -} - -var xxx_messageInfo_DataSourceDefinition proto.InternalMessageInfo - -func (m *DataSourceDefinition) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *DataSourceDefinition) GetDataSource() *DataSource { - if m != nil { - return m.DataSource - } - return nil -} - -func (m *DataSourceDefinition) GetTransferRunPubsubTopic() string { - if m != nil { - return m.TransferRunPubsubTopic - } - return "" -} - -func (m *DataSourceDefinition) GetRunTimeOffset() *duration.Duration { - if m != nil { - return m.RunTimeOffset - } - return nil -} - -func (m *DataSourceDefinition) GetSupportEmail() string { - if m != nil { - return m.SupportEmail - } - return "" -} - -func (m *DataSourceDefinition) GetServiceAccount() string { - if m != nil { - return m.ServiceAccount - } - return "" -} - -func (m *DataSourceDefinition) GetDisabled() bool { - if m != nil { - return m.Disabled - } - return false -} - -func (m *DataSourceDefinition) GetTransferConfigPubsubTopic() string { - if m != nil { - return m.TransferConfigPubsubTopic - } - return "" -} - -func (m *DataSourceDefinition) GetSupportedLocationIds() []string { - if m != nil { - return m.SupportedLocationIds - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.bigquery.datatransfer.v1.WriteDisposition", WriteDisposition_name, WriteDisposition_value) - proto.RegisterEnum("google.cloud.bigquery.datatransfer.v1.ImportedDataInfo_Format", ImportedDataInfo_Format_name, ImportedDataInfo_Format_value) - proto.RegisterEnum("google.cloud.bigquery.datatransfer.v1.ImportedDataInfo_Encoding", ImportedDataInfo_Encoding_name, ImportedDataInfo_Encoding_value) - proto.RegisterEnum("google.cloud.bigquery.datatransfer.v1.ImportedDataInfo_FieldSchema_Type", ImportedDataInfo_FieldSchema_Type_name, ImportedDataInfo_FieldSchema_Type_value) - proto.RegisterType((*ImportedDataInfo)(nil), "google.cloud.bigquery.datatransfer.v1.ImportedDataInfo") - proto.RegisterType((*ImportedDataInfo_FieldSchema)(nil), "google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema") - proto.RegisterType((*ImportedDataInfo_RecordSchema)(nil), "google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.RecordSchema") - proto.RegisterType((*ImportedDataInfo_TableDefinition)(nil), "google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition") - proto.RegisterType((*ImportedDataInfo_TableDefinition_CsvOptions)(nil), "google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.TableDefinition.CsvOptions") - proto.RegisterType((*UpdateTransferRunRequest)(nil), "google.cloud.bigquery.datatransfer.v1.UpdateTransferRunRequest") - proto.RegisterType((*LogTransferRunMessagesRequest)(nil), "google.cloud.bigquery.datatransfer.v1.LogTransferRunMessagesRequest") - proto.RegisterType((*StartBigQueryJobsRequest)(nil), "google.cloud.bigquery.datatransfer.v1.StartBigQueryJobsRequest") - proto.RegisterType((*FinishRunRequest)(nil), "google.cloud.bigquery.datatransfer.v1.FinishRunRequest") - proto.RegisterType((*CreateDataSourceDefinitionRequest)(nil), "google.cloud.bigquery.datatransfer.v1.CreateDataSourceDefinitionRequest") - proto.RegisterType((*UpdateDataSourceDefinitionRequest)(nil), "google.cloud.bigquery.datatransfer.v1.UpdateDataSourceDefinitionRequest") - proto.RegisterType((*DeleteDataSourceDefinitionRequest)(nil), "google.cloud.bigquery.datatransfer.v1.DeleteDataSourceDefinitionRequest") - proto.RegisterType((*GetDataSourceDefinitionRequest)(nil), "google.cloud.bigquery.datatransfer.v1.GetDataSourceDefinitionRequest") - proto.RegisterType((*ListDataSourceDefinitionsRequest)(nil), "google.cloud.bigquery.datatransfer.v1.ListDataSourceDefinitionsRequest") - proto.RegisterType((*ListDataSourceDefinitionsResponse)(nil), "google.cloud.bigquery.datatransfer.v1.ListDataSourceDefinitionsResponse") - proto.RegisterType((*DataSourceDefinition)(nil), "google.cloud.bigquery.datatransfer.v1.DataSourceDefinition") -} - -func init() { - proto.RegisterFile("google/cloud/bigquery/datatransfer/v1/datasource.proto", fileDescriptor_63170854e2f004ff) -} - -var fileDescriptor_63170854e2f004ff = []byte{ - // 2189 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00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0d, 0x95, 0x7a, 0x59, - 0x50, 0x7e, 0x7c, 0xe7, 0xe1, 0x48, 0xa9, 0x0f, 0xe3, 0x86, 0xbe, 0x91, 0xe0, 0xca, 0x90, 0x7e, - 0x0e, 0x29, 0x63, 0x12, 0x38, 0xbf, 0x1f, 0xbc, 0xdc, 0xae, 0xc6, 0x14, 0xd1, 0x25, 0x28, 0x7e, - 0x2b, 0xc1, 0xd5, 0xa1, 0x3d, 0x20, 0x1a, 0xf7, 0xa7, 0xea, 0x51, 0xed, 0x6b, 0xee, 0xc9, 0xe5, - 0x03, 0x45, 0xed, 0x68, 0x1f, 0xe7, 0x8b, 0x1c, 0xe5, 0xdc, 0xed, 0xaf, 0xca, 0x1f, 0x75, 0x11, - 0xbc, 0x05, 0x20, 0xc2, 0x88, 0x3d, 0xca, 0x0a, 0xa6, 0xdb, 0xd9, 0xf8, 0xa7, 0x04, 0x9f, 0x98, - 0x6e, 0x67, 0x3c, 0xe8, 0x1b, 0x8b, 0xa7, 0xb8, 0x1b, 0x5c, 0x89, 0x0d, 0xe9, 0xa7, 0xbb, 0xb1, - 0x67, 0xdb, 0xb5, 0xb1, 0xd3, 0x2e, 0xb8, 0x7e, 0xbb, 0xd8, 0x26, 0x8e, 0xd0, 0x69, 0xf1, 0x74, - 0xad, 0x11, 0x7f, 0xd4, 0x3c, 0x4e, 0xbe, 0xff, 0x6e, 0xe2, 0xe3, 0xad, 0x28, 0x66, 0x45, 0xa0, - 0xe9, 0x5e, 0x1f, 0x42, 0x1f, 0xdd, 0x9b, 0xb8, 0xb0, 0xbf, 0xfe, 0x55, 0x77, 0xde, 0x81, 0x98, - 0x77, 0xd0, 0x9d, 0x77, 0x90, 0x9c, 0x77, 0xb0, 0xbf, 0x7e, 0x98, 0x12, 0x68, 0x7e, 0xf0, 0xbf, - 0x00, 0x00, 0x00, 0xff, 0xff, 0x86, 0x02, 0xf2, 0x9b, 0xec, 0x1a, 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 - -// DataSourceServiceClient is the client API for DataSourceService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type DataSourceServiceClient interface { - // Update a transfer run. If successful, resets - // data_source.update_deadline_seconds timer. - UpdateTransferRun(ctx context.Context, in *UpdateTransferRunRequest, opts ...grpc.CallOption) (*TransferRun, error) - // Log messages for a transfer run. If successful (at least 1 message), resets - // data_source.update_deadline_seconds timer. - LogTransferRunMessages(ctx context.Context, in *LogTransferRunMessagesRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Notify the Data Transfer Service that data is ready for loading. - // The Data Transfer Service will start and monitor multiple BigQuery Load - // jobs for a transfer run. Monitored jobs will be automatically retried - // and produce log messages when starting and finishing a job. - // Can be called multiple times for the same transfer run. - StartBigQueryJobs(ctx context.Context, in *StartBigQueryJobsRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Notify the Data Transfer Service that the data source is done processing - // the run. No more status updates or requests to start/monitor jobs will be - // accepted. The run will be finalized by the Data Transfer Service when all - // monitored jobs are completed. - // Does not need to be called if the run is set to FAILED. - FinishRun(ctx context.Context, in *FinishRunRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Creates a data source definition. Calling this method will automatically - // use your credentials to create the following Google Cloud resources in - // YOUR Google Cloud project. - // 1. OAuth client - // 2. Pub/Sub Topics and Subscriptions in each supported_location_ids. e.g., - // projects/{project_id}/{topics|subscriptions}/bigquerydatatransfer.{data_source_id}.{location_id}.run - // The field data_source.client_id should be left empty in the input request, - // as the API will create a new OAuth client on behalf of the caller. On the - // other hand data_source.scopes usually need to be set when there are OAuth - // scopes that need to be granted by end users. - // 3. We need a longer deadline due to the 60 seconds SLO from Pub/Sub admin - // Operations. This also applies to update and delete data source definition. - CreateDataSourceDefinition(ctx context.Context, in *CreateDataSourceDefinitionRequest, opts ...grpc.CallOption) (*DataSourceDefinition, error) - // Updates an existing data source definition. If changing - // supported_location_ids, triggers same effects as mentioned in "Create a - // data source definition." - UpdateDataSourceDefinition(ctx context.Context, in *UpdateDataSourceDefinitionRequest, opts ...grpc.CallOption) (*DataSourceDefinition, error) - // Deletes a data source definition, all of the transfer configs associated - // with this data source definition (if any) must be deleted first by the user - // in ALL regions, in order to delete the data source definition. - // This method is primarily meant for deleting data sources created during - // testing stage. - // If the data source is referenced by transfer configs in the region - // specified in the request URL, the method will fail immediately. If in the - // current region (e.g., US) it's not used by any transfer configs, but in - // another region (e.g., EU) it is, then although the method will succeed in - // region US, but it will fail when the deletion operation is replicated to - // region EU. And eventually, the system will replicate the data source - // definition back from EU to US, in order to bring all regions to - // consistency. The final effect is that the data source appears to be - // 'undeleted' in the US region. - DeleteDataSourceDefinition(ctx context.Context, in *DeleteDataSourceDefinitionRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Retrieves an existing data source definition. - GetDataSourceDefinition(ctx context.Context, in *GetDataSourceDefinitionRequest, opts ...grpc.CallOption) (*DataSourceDefinition, error) - // Lists supported data source definitions. - ListDataSourceDefinitions(ctx context.Context, in *ListDataSourceDefinitionsRequest, opts ...grpc.CallOption) (*ListDataSourceDefinitionsResponse, error) -} - -type dataSourceServiceClient struct { - cc *grpc.ClientConn -} - -func NewDataSourceServiceClient(cc *grpc.ClientConn) DataSourceServiceClient { - return &dataSourceServiceClient{cc} -} - -func (c *dataSourceServiceClient) UpdateTransferRun(ctx context.Context, in *UpdateTransferRunRequest, opts ...grpc.CallOption) (*TransferRun, error) { - out := new(TransferRun) - err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datatransfer.v1.DataSourceService/UpdateTransferRun", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataSourceServiceClient) LogTransferRunMessages(ctx context.Context, in *LogTransferRunMessagesRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datatransfer.v1.DataSourceService/LogTransferRunMessages", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataSourceServiceClient) StartBigQueryJobs(ctx context.Context, in *StartBigQueryJobsRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datatransfer.v1.DataSourceService/StartBigQueryJobs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataSourceServiceClient) FinishRun(ctx context.Context, in *FinishRunRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datatransfer.v1.DataSourceService/FinishRun", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataSourceServiceClient) CreateDataSourceDefinition(ctx context.Context, in *CreateDataSourceDefinitionRequest, opts ...grpc.CallOption) (*DataSourceDefinition, error) { - out := new(DataSourceDefinition) - err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datatransfer.v1.DataSourceService/CreateDataSourceDefinition", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataSourceServiceClient) UpdateDataSourceDefinition(ctx context.Context, in *UpdateDataSourceDefinitionRequest, opts ...grpc.CallOption) (*DataSourceDefinition, error) { - out := new(DataSourceDefinition) - err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datatransfer.v1.DataSourceService/UpdateDataSourceDefinition", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataSourceServiceClient) DeleteDataSourceDefinition(ctx context.Context, in *DeleteDataSourceDefinitionRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datatransfer.v1.DataSourceService/DeleteDataSourceDefinition", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataSourceServiceClient) GetDataSourceDefinition(ctx context.Context, in *GetDataSourceDefinitionRequest, opts ...grpc.CallOption) (*DataSourceDefinition, error) { - out := new(DataSourceDefinition) - err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datatransfer.v1.DataSourceService/GetDataSourceDefinition", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataSourceServiceClient) ListDataSourceDefinitions(ctx context.Context, in *ListDataSourceDefinitionsRequest, opts ...grpc.CallOption) (*ListDataSourceDefinitionsResponse, error) { - out := new(ListDataSourceDefinitionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datatransfer.v1.DataSourceService/ListDataSourceDefinitions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// DataSourceServiceServer is the server API for DataSourceService service. -type DataSourceServiceServer interface { - // Update a transfer run. If successful, resets - // data_source.update_deadline_seconds timer. - UpdateTransferRun(context.Context, *UpdateTransferRunRequest) (*TransferRun, error) - // Log messages for a transfer run. If successful (at least 1 message), resets - // data_source.update_deadline_seconds timer. - LogTransferRunMessages(context.Context, *LogTransferRunMessagesRequest) (*empty.Empty, error) - // Notify the Data Transfer Service that data is ready for loading. - // The Data Transfer Service will start and monitor multiple BigQuery Load - // jobs for a transfer run. Monitored jobs will be automatically retried - // and produce log messages when starting and finishing a job. - // Can be called multiple times for the same transfer run. - StartBigQueryJobs(context.Context, *StartBigQueryJobsRequest) (*empty.Empty, error) - // Notify the Data Transfer Service that the data source is done processing - // the run. No more status updates or requests to start/monitor jobs will be - // accepted. The run will be finalized by the Data Transfer Service when all - // monitored jobs are completed. - // Does not need to be called if the run is set to FAILED. - FinishRun(context.Context, *FinishRunRequest) (*empty.Empty, error) - // Creates a data source definition. Calling this method will automatically - // use your credentials to create the following Google Cloud resources in - // YOUR Google Cloud project. - // 1. OAuth client - // 2. Pub/Sub Topics and Subscriptions in each supported_location_ids. e.g., - // projects/{project_id}/{topics|subscriptions}/bigquerydatatransfer.{data_source_id}.{location_id}.run - // The field data_source.client_id should be left empty in the input request, - // as the API will create a new OAuth client on behalf of the caller. On the - // other hand data_source.scopes usually need to be set when there are OAuth - // scopes that need to be granted by end users. - // 3. We need a longer deadline due to the 60 seconds SLO from Pub/Sub admin - // Operations. This also applies to update and delete data source definition. - CreateDataSourceDefinition(context.Context, *CreateDataSourceDefinitionRequest) (*DataSourceDefinition, error) - // Updates an existing data source definition. If changing - // supported_location_ids, triggers same effects as mentioned in "Create a - // data source definition." - UpdateDataSourceDefinition(context.Context, *UpdateDataSourceDefinitionRequest) (*DataSourceDefinition, error) - // Deletes a data source definition, all of the transfer configs associated - // with this data source definition (if any) must be deleted first by the user - // in ALL regions, in order to delete the data source definition. - // This method is primarily meant for deleting data sources created during - // testing stage. - // If the data source is referenced by transfer configs in the region - // specified in the request URL, the method will fail immediately. If in the - // current region (e.g., US) it's not used by any transfer configs, but in - // another region (e.g., EU) it is, then although the method will succeed in - // region US, but it will fail when the deletion operation is replicated to - // region EU. And eventually, the system will replicate the data source - // definition back from EU to US, in order to bring all regions to - // consistency. The final effect is that the data source appears to be - // 'undeleted' in the US region. - DeleteDataSourceDefinition(context.Context, *DeleteDataSourceDefinitionRequest) (*empty.Empty, error) - // Retrieves an existing data source definition. - GetDataSourceDefinition(context.Context, *GetDataSourceDefinitionRequest) (*DataSourceDefinition, error) - // Lists supported data source definitions. - ListDataSourceDefinitions(context.Context, *ListDataSourceDefinitionsRequest) (*ListDataSourceDefinitionsResponse, error) -} - -// UnimplementedDataSourceServiceServer can be embedded to have forward compatible implementations. -type UnimplementedDataSourceServiceServer struct { -} - -func (*UnimplementedDataSourceServiceServer) UpdateTransferRun(ctx context.Context, req *UpdateTransferRunRequest) (*TransferRun, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateTransferRun not implemented") -} -func (*UnimplementedDataSourceServiceServer) LogTransferRunMessages(ctx context.Context, req *LogTransferRunMessagesRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method LogTransferRunMessages not implemented") -} -func (*UnimplementedDataSourceServiceServer) StartBigQueryJobs(ctx context.Context, req *StartBigQueryJobsRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method StartBigQueryJobs not implemented") -} -func (*UnimplementedDataSourceServiceServer) FinishRun(ctx context.Context, req *FinishRunRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method FinishRun not implemented") -} -func (*UnimplementedDataSourceServiceServer) CreateDataSourceDefinition(ctx context.Context, req *CreateDataSourceDefinitionRequest) (*DataSourceDefinition, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateDataSourceDefinition not implemented") -} -func (*UnimplementedDataSourceServiceServer) UpdateDataSourceDefinition(ctx context.Context, req *UpdateDataSourceDefinitionRequest) (*DataSourceDefinition, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateDataSourceDefinition not implemented") -} -func (*UnimplementedDataSourceServiceServer) DeleteDataSourceDefinition(ctx context.Context, req *DeleteDataSourceDefinitionRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteDataSourceDefinition not implemented") -} -func (*UnimplementedDataSourceServiceServer) GetDataSourceDefinition(ctx context.Context, req *GetDataSourceDefinitionRequest) (*DataSourceDefinition, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDataSourceDefinition not implemented") -} -func (*UnimplementedDataSourceServiceServer) ListDataSourceDefinitions(ctx context.Context, req *ListDataSourceDefinitionsRequest) (*ListDataSourceDefinitionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListDataSourceDefinitions not implemented") -} - -func RegisterDataSourceServiceServer(s *grpc.Server, srv DataSourceServiceServer) { - s.RegisterService(&_DataSourceService_serviceDesc, srv) -} - -func _DataSourceService_UpdateTransferRun_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateTransferRunRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataSourceServiceServer).UpdateTransferRun(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.bigquery.datatransfer.v1.DataSourceService/UpdateTransferRun", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataSourceServiceServer).UpdateTransferRun(ctx, req.(*UpdateTransferRunRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataSourceService_LogTransferRunMessages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(LogTransferRunMessagesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataSourceServiceServer).LogTransferRunMessages(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.bigquery.datatransfer.v1.DataSourceService/LogTransferRunMessages", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataSourceServiceServer).LogTransferRunMessages(ctx, req.(*LogTransferRunMessagesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataSourceService_StartBigQueryJobs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(StartBigQueryJobsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataSourceServiceServer).StartBigQueryJobs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.bigquery.datatransfer.v1.DataSourceService/StartBigQueryJobs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataSourceServiceServer).StartBigQueryJobs(ctx, req.(*StartBigQueryJobsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataSourceService_FinishRun_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(FinishRunRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataSourceServiceServer).FinishRun(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.bigquery.datatransfer.v1.DataSourceService/FinishRun", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataSourceServiceServer).FinishRun(ctx, req.(*FinishRunRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataSourceService_CreateDataSourceDefinition_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateDataSourceDefinitionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataSourceServiceServer).CreateDataSourceDefinition(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.bigquery.datatransfer.v1.DataSourceService/CreateDataSourceDefinition", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataSourceServiceServer).CreateDataSourceDefinition(ctx, req.(*CreateDataSourceDefinitionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataSourceService_UpdateDataSourceDefinition_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateDataSourceDefinitionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataSourceServiceServer).UpdateDataSourceDefinition(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.bigquery.datatransfer.v1.DataSourceService/UpdateDataSourceDefinition", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataSourceServiceServer).UpdateDataSourceDefinition(ctx, req.(*UpdateDataSourceDefinitionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataSourceService_DeleteDataSourceDefinition_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteDataSourceDefinitionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataSourceServiceServer).DeleteDataSourceDefinition(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.bigquery.datatransfer.v1.DataSourceService/DeleteDataSourceDefinition", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataSourceServiceServer).DeleteDataSourceDefinition(ctx, req.(*DeleteDataSourceDefinitionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataSourceService_GetDataSourceDefinition_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDataSourceDefinitionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataSourceServiceServer).GetDataSourceDefinition(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.bigquery.datatransfer.v1.DataSourceService/GetDataSourceDefinition", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataSourceServiceServer).GetDataSourceDefinition(ctx, req.(*GetDataSourceDefinitionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataSourceService_ListDataSourceDefinitions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListDataSourceDefinitionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataSourceServiceServer).ListDataSourceDefinitions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.bigquery.datatransfer.v1.DataSourceService/ListDataSourceDefinitions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataSourceServiceServer).ListDataSourceDefinitions(ctx, req.(*ListDataSourceDefinitionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _DataSourceService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.bigquery.datatransfer.v1.DataSourceService", - HandlerType: (*DataSourceServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "UpdateTransferRun", - Handler: _DataSourceService_UpdateTransferRun_Handler, - }, - { - MethodName: "LogTransferRunMessages", - Handler: _DataSourceService_LogTransferRunMessages_Handler, - }, - { - MethodName: "StartBigQueryJobs", - Handler: _DataSourceService_StartBigQueryJobs_Handler, - }, - { - MethodName: "FinishRun", - Handler: _DataSourceService_FinishRun_Handler, - }, - { - MethodName: "CreateDataSourceDefinition", - Handler: _DataSourceService_CreateDataSourceDefinition_Handler, - }, - { - MethodName: "UpdateDataSourceDefinition", - Handler: _DataSourceService_UpdateDataSourceDefinition_Handler, - }, - { - MethodName: "DeleteDataSourceDefinition", - Handler: _DataSourceService_DeleteDataSourceDefinition_Handler, - }, - { - MethodName: "GetDataSourceDefinition", - Handler: _DataSourceService_GetDataSourceDefinition_Handler, - }, - { - MethodName: "ListDataSourceDefinitions", - Handler: _DataSourceService_ListDataSourceDefinitions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/bigquery/datatransfer/v1/datasource.proto", -} 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 deleted file mode 100644 index 9b2fd3cd..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/datatransfer/v1/datatransfer.pb.go +++ /dev/null @@ -1,2687 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/bigquery/datatransfer/v1/datatransfer.proto - -package datatransfer - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - empty "github.com/golang/protobuf/ptypes/empty" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Parameter type. -type DataSourceParameter_Type int32 - -const ( - // Type unspecified. - DataSourceParameter_TYPE_UNSPECIFIED DataSourceParameter_Type = 0 - // String parameter. - DataSourceParameter_STRING DataSourceParameter_Type = 1 - // Integer parameter (64-bits). - // Will be serialized to json as string. - DataSourceParameter_INTEGER DataSourceParameter_Type = 2 - // Double precision floating point parameter. - DataSourceParameter_DOUBLE DataSourceParameter_Type = 3 - // Boolean parameter. - DataSourceParameter_BOOLEAN DataSourceParameter_Type = 4 - // Deprecated. This field has no effect. - DataSourceParameter_RECORD DataSourceParameter_Type = 5 - // Page ID for a Google+ Page. - DataSourceParameter_PLUS_PAGE DataSourceParameter_Type = 6 -) - -var DataSourceParameter_Type_name = map[int32]string{ - 0: "TYPE_UNSPECIFIED", - 1: "STRING", - 2: "INTEGER", - 3: "DOUBLE", - 4: "BOOLEAN", - 5: "RECORD", - 6: "PLUS_PAGE", -} - -var DataSourceParameter_Type_value = map[string]int32{ - "TYPE_UNSPECIFIED": 0, - "STRING": 1, - "INTEGER": 2, - "DOUBLE": 3, - "BOOLEAN": 4, - "RECORD": 5, - "PLUS_PAGE": 6, -} - -func (x DataSourceParameter_Type) String() string { - return proto.EnumName(DataSourceParameter_Type_name, int32(x)) -} - -func (DataSourceParameter_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8edec8f64c27b8a4, []int{0, 0} -} - -// The type of authorization needed for this data source. -type DataSource_AuthorizationType int32 - -const ( - // Type unspecified. - DataSource_AUTHORIZATION_TYPE_UNSPECIFIED DataSource_AuthorizationType = 0 - // Use OAuth 2 authorization codes that can be exchanged - // for a refresh token on the backend. - DataSource_AUTHORIZATION_CODE DataSource_AuthorizationType = 1 - // Return an authorization code for a given Google+ page that can then be - // exchanged for a refresh token on the backend. - DataSource_GOOGLE_PLUS_AUTHORIZATION_CODE DataSource_AuthorizationType = 2 -) - -var DataSource_AuthorizationType_name = map[int32]string{ - 0: "AUTHORIZATION_TYPE_UNSPECIFIED", - 1: "AUTHORIZATION_CODE", - 2: "GOOGLE_PLUS_AUTHORIZATION_CODE", -} - -var DataSource_AuthorizationType_value = map[string]int32{ - "AUTHORIZATION_TYPE_UNSPECIFIED": 0, - "AUTHORIZATION_CODE": 1, - "GOOGLE_PLUS_AUTHORIZATION_CODE": 2, -} - -func (x DataSource_AuthorizationType) String() string { - return proto.EnumName(DataSource_AuthorizationType_name, int32(x)) -} - -func (DataSource_AuthorizationType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8edec8f64c27b8a4, []int{1, 0} -} - -// Represents how the data source supports data auto refresh. -type DataSource_DataRefreshType int32 - -const ( - // The data source won't support data auto refresh, which is default value. - DataSource_DATA_REFRESH_TYPE_UNSPECIFIED DataSource_DataRefreshType = 0 - // The data source supports data auto refresh, and runs will be scheduled - // for the past few days. Does not allow custom values to be set for each - // transfer config. - DataSource_SLIDING_WINDOW DataSource_DataRefreshType = 1 - // The data source supports data auto refresh, and runs will be scheduled - // for the past few days. Allows custom values to be set for each transfer - // config. - DataSource_CUSTOM_SLIDING_WINDOW DataSource_DataRefreshType = 2 -) - -var DataSource_DataRefreshType_name = map[int32]string{ - 0: "DATA_REFRESH_TYPE_UNSPECIFIED", - 1: "SLIDING_WINDOW", - 2: "CUSTOM_SLIDING_WINDOW", -} - -var DataSource_DataRefreshType_value = map[string]int32{ - "DATA_REFRESH_TYPE_UNSPECIFIED": 0, - "SLIDING_WINDOW": 1, - "CUSTOM_SLIDING_WINDOW": 2, -} - -func (x DataSource_DataRefreshType) String() string { - return proto.EnumName(DataSource_DataRefreshType_name, int32(x)) -} - -func (DataSource_DataRefreshType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8edec8f64c27b8a4, []int{1, 1} -} - -// Represents which runs should be pulled. -type ListTransferRunsRequest_RunAttempt int32 - -const ( - // All runs should be returned. - ListTransferRunsRequest_RUN_ATTEMPT_UNSPECIFIED ListTransferRunsRequest_RunAttempt = 0 - // Only latest run per day should be returned. - ListTransferRunsRequest_LATEST ListTransferRunsRequest_RunAttempt = 1 -) - -var ListTransferRunsRequest_RunAttempt_name = map[int32]string{ - 0: "RUN_ATTEMPT_UNSPECIFIED", - 1: "LATEST", -} - -var ListTransferRunsRequest_RunAttempt_value = map[string]int32{ - "RUN_ATTEMPT_UNSPECIFIED": 0, - "LATEST": 1, -} - -func (x ListTransferRunsRequest_RunAttempt) String() string { - return proto.EnumName(ListTransferRunsRequest_RunAttempt_name, int32(x)) -} - -func (ListTransferRunsRequest_RunAttempt) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8edec8f64c27b8a4, []int{13, 0} -} - -// Represents a data source parameter with validation rules, so that -// parameters can be rendered in the UI. These parameters are given to us by -// supported data sources, and include all needed information for rendering -// and validation. -// Thus, whoever uses this api can decide to generate either generic ui, -// or custom data source specific forms. -type DataSourceParameter struct { - // Parameter identifier. - ParamId string `protobuf:"bytes,1,opt,name=param_id,json=paramId,proto3" json:"param_id,omitempty"` - // Parameter display name in the user interface. - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Parameter description. - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - // Parameter type. - Type DataSourceParameter_Type `protobuf:"varint,4,opt,name=type,proto3,enum=google.cloud.bigquery.datatransfer.v1.DataSourceParameter_Type" json:"type,omitempty"` - // Is parameter required. - Required bool `protobuf:"varint,5,opt,name=required,proto3" json:"required,omitempty"` - // Deprecated. This field has no effect. - Repeated bool `protobuf:"varint,6,opt,name=repeated,proto3" json:"repeated,omitempty"` - // Regular expression which can be used for parameter validation. - ValidationRegex string `protobuf:"bytes,7,opt,name=validation_regex,json=validationRegex,proto3" json:"validation_regex,omitempty"` - // All possible values for the parameter. - AllowedValues []string `protobuf:"bytes,8,rep,name=allowed_values,json=allowedValues,proto3" json:"allowed_values,omitempty"` - // For integer and double values specifies minimum allowed value. - MinValue *wrappers.DoubleValue `protobuf:"bytes,9,opt,name=min_value,json=minValue,proto3" json:"min_value,omitempty"` - // For integer and double values specifies maxminum allowed value. - MaxValue *wrappers.DoubleValue `protobuf:"bytes,10,opt,name=max_value,json=maxValue,proto3" json:"max_value,omitempty"` - // Deprecated. This field has no effect. - Fields []*DataSourceParameter `protobuf:"bytes,11,rep,name=fields,proto3" json:"fields,omitempty"` - // Description of the requirements for this field, in case the user input does - // not fulfill the regex pattern or min/max values. - ValidationDescription string `protobuf:"bytes,12,opt,name=validation_description,json=validationDescription,proto3" json:"validation_description,omitempty"` - // URL to a help document to further explain the naming requirements. - ValidationHelpUrl string `protobuf:"bytes,13,opt,name=validation_help_url,json=validationHelpUrl,proto3" json:"validation_help_url,omitempty"` - // Cannot be changed after initial creation. - Immutable bool `protobuf:"varint,14,opt,name=immutable,proto3" json:"immutable,omitempty"` - // Deprecated. This field has no effect. - Recurse bool `protobuf:"varint,15,opt,name=recurse,proto3" json:"recurse,omitempty"` - // If true, it should not be used in new transfers, and it should not be - // visible to users. - Deprecated bool `protobuf:"varint,20,opt,name=deprecated,proto3" json:"deprecated,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8edec8f64c27b8a4, []int{0} -} - -func (m *DataSourceParameter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DataSourceParameter.Unmarshal(m, b) -} -func (m *DataSourceParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DataSourceParameter.Marshal(b, m, deterministic) -} -func (m *DataSourceParameter) XXX_Merge(src proto.Message) { - xxx_messageInfo_DataSourceParameter.Merge(m, src) -} -func (m *DataSourceParameter) XXX_Size() int { - return xxx_messageInfo_DataSourceParameter.Size(m) -} -func (m *DataSourceParameter) XXX_DiscardUnknown() { - xxx_messageInfo_DataSourceParameter.DiscardUnknown(m) -} - -var xxx_messageInfo_DataSourceParameter proto.InternalMessageInfo - -func (m *DataSourceParameter) GetParamId() string { - if m != nil { - return m.ParamId - } - return "" -} - -func (m *DataSourceParameter) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *DataSourceParameter) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *DataSourceParameter) GetType() DataSourceParameter_Type { - if m != nil { - return m.Type - } - return DataSourceParameter_TYPE_UNSPECIFIED -} - -func (m *DataSourceParameter) GetRequired() bool { - if m != nil { - return m.Required - } - return false -} - -func (m *DataSourceParameter) GetRepeated() bool { - if m != nil { - return m.Repeated - } - return false -} - -func (m *DataSourceParameter) GetValidationRegex() string { - if m != nil { - return m.ValidationRegex - } - return "" -} - -func (m *DataSourceParameter) GetAllowedValues() []string { - if m != nil { - return m.AllowedValues - } - return nil -} - -func (m *DataSourceParameter) GetMinValue() *wrappers.DoubleValue { - if m != nil { - return m.MinValue - } - return nil -} - -func (m *DataSourceParameter) GetMaxValue() *wrappers.DoubleValue { - if m != nil { - return m.MaxValue - } - return nil -} - -func (m *DataSourceParameter) GetFields() []*DataSourceParameter { - if m != nil { - return m.Fields - } - return nil -} - -func (m *DataSourceParameter) GetValidationDescription() string { - if m != nil { - return m.ValidationDescription - } - return "" -} - -func (m *DataSourceParameter) GetValidationHelpUrl() string { - if m != nil { - return m.ValidationHelpUrl - } - return "" -} - -func (m *DataSourceParameter) GetImmutable() bool { - if m != nil { - return m.Immutable - } - return false -} - -func (m *DataSourceParameter) GetRecurse() bool { - if m != nil { - return m.Recurse - } - return false -} - -func (m *DataSourceParameter) GetDeprecated() bool { - if m != nil { - return m.Deprecated - } - return false -} - -// Represents data source metadata. Metadata is sufficient to -// render UI and request proper OAuth tokens. -type DataSource struct { - // Output only. Data source resource name. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Data source id. - DataSourceId string `protobuf:"bytes,2,opt,name=data_source_id,json=dataSourceId,proto3" json:"data_source_id,omitempty"` - // User friendly data source name. - DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // User friendly data source description string. - Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` - // Data source client id which should be used to receive refresh token. - ClientId string `protobuf:"bytes,5,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` - // Api auth scopes for which refresh token needs to be obtained. These are - // scopes needed by a data source to prepare data and ingest them into - // BigQuery, e.g., https://www.googleapis.com/auth/bigquery - Scopes []string `protobuf:"bytes,6,rep,name=scopes,proto3" json:"scopes,omitempty"` - // Deprecated. This field has no effect. - TransferType TransferType `protobuf:"varint,7,opt,name=transfer_type,json=transferType,proto3,enum=google.cloud.bigquery.datatransfer.v1.TransferType" json:"transfer_type,omitempty"` // Deprecated: Do not use. - // Deprecated. This field has no effect. - SupportsMultipleTransfers bool `protobuf:"varint,8,opt,name=supports_multiple_transfers,json=supportsMultipleTransfers,proto3" json:"supports_multiple_transfers,omitempty"` // Deprecated: Do not use. - // The number of seconds to wait for an update from the data source - // before the Data Transfer Service marks the transfer as FAILED. - UpdateDeadlineSeconds int32 `protobuf:"varint,9,opt,name=update_deadline_seconds,json=updateDeadlineSeconds,proto3" json:"update_deadline_seconds,omitempty"` - // Default data transfer schedule. - // Examples of valid schedules include: - // `1st,3rd monday of month 15:30`, - // `every wed,fri of jan,jun 13:15`, and - // `first sunday of quarter 00:00`. - DefaultSchedule string `protobuf:"bytes,10,opt,name=default_schedule,json=defaultSchedule,proto3" json:"default_schedule,omitempty"` - // Specifies whether the data source supports a user defined schedule, or - // operates on the default schedule. - // When set to `true`, user can override default schedule. - SupportsCustomSchedule bool `protobuf:"varint,11,opt,name=supports_custom_schedule,json=supportsCustomSchedule,proto3" json:"supports_custom_schedule,omitempty"` - // Data source parameters. - Parameters []*DataSourceParameter `protobuf:"bytes,12,rep,name=parameters,proto3" json:"parameters,omitempty"` - // Url for the help document for this data source. - HelpUrl string `protobuf:"bytes,13,opt,name=help_url,json=helpUrl,proto3" json:"help_url,omitempty"` - // Indicates the type of authorization. - AuthorizationType DataSource_AuthorizationType `protobuf:"varint,14,opt,name=authorization_type,json=authorizationType,proto3,enum=google.cloud.bigquery.datatransfer.v1.DataSource_AuthorizationType" json:"authorization_type,omitempty"` - // Specifies whether the data source supports automatic data refresh for the - // past few days, and how it's supported. - // For some data sources, data might not be complete until a few days later, - // so it's useful to refresh data automatically. - DataRefreshType DataSource_DataRefreshType `protobuf:"varint,15,opt,name=data_refresh_type,json=dataRefreshType,proto3,enum=google.cloud.bigquery.datatransfer.v1.DataSource_DataRefreshType" json:"data_refresh_type,omitempty"` - // Default data refresh window on days. - // Only meaningful when `data_refresh_type` = `SLIDING_WINDOW`. - DefaultDataRefreshWindowDays int32 `protobuf:"varint,16,opt,name=default_data_refresh_window_days,json=defaultDataRefreshWindowDays,proto3" json:"default_data_refresh_window_days,omitempty"` - // Disables backfilling and manual run scheduling - // for the data source. - ManualRunsDisabled bool `protobuf:"varint,17,opt,name=manual_runs_disabled,json=manualRunsDisabled,proto3" json:"manual_runs_disabled,omitempty"` - // The minimum interval for scheduler to schedule runs. - MinimumScheduleInterval *duration.Duration `protobuf:"bytes,18,opt,name=minimum_schedule_interval,json=minimumScheduleInterval,proto3" json:"minimum_schedule_interval,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8edec8f64c27b8a4, []int{1} -} - -func (m *DataSource) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DataSource.Unmarshal(m, b) -} -func (m *DataSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DataSource.Marshal(b, m, deterministic) -} -func (m *DataSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_DataSource.Merge(m, src) -} -func (m *DataSource) XXX_Size() int { - return xxx_messageInfo_DataSource.Size(m) -} -func (m *DataSource) XXX_DiscardUnknown() { - xxx_messageInfo_DataSource.DiscardUnknown(m) -} - -var xxx_messageInfo_DataSource proto.InternalMessageInfo - -func (m *DataSource) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *DataSource) GetDataSourceId() string { - if m != nil { - return m.DataSourceId - } - return "" -} - -func (m *DataSource) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *DataSource) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *DataSource) GetClientId() string { - if m != nil { - return m.ClientId - } - return "" -} - -func (m *DataSource) GetScopes() []string { - if m != nil { - return m.Scopes - } - return nil -} - -// Deprecated: Do not use. -func (m *DataSource) GetTransferType() TransferType { - if m != nil { - return m.TransferType - } - return TransferType_TRANSFER_TYPE_UNSPECIFIED -} - -// Deprecated: Do not use. -func (m *DataSource) GetSupportsMultipleTransfers() bool { - if m != nil { - return m.SupportsMultipleTransfers - } - return false -} - -func (m *DataSource) GetUpdateDeadlineSeconds() int32 { - if m != nil { - return m.UpdateDeadlineSeconds - } - return 0 -} - -func (m *DataSource) GetDefaultSchedule() string { - if m != nil { - return m.DefaultSchedule - } - return "" -} - -func (m *DataSource) GetSupportsCustomSchedule() bool { - if m != nil { - return m.SupportsCustomSchedule - } - return false -} - -func (m *DataSource) GetParameters() []*DataSourceParameter { - if m != nil { - return m.Parameters - } - return nil -} - -func (m *DataSource) GetHelpUrl() string { - if m != nil { - return m.HelpUrl - } - return "" -} - -func (m *DataSource) GetAuthorizationType() DataSource_AuthorizationType { - if m != nil { - return m.AuthorizationType - } - return DataSource_AUTHORIZATION_TYPE_UNSPECIFIED -} - -func (m *DataSource) GetDataRefreshType() DataSource_DataRefreshType { - if m != nil { - return m.DataRefreshType - } - return DataSource_DATA_REFRESH_TYPE_UNSPECIFIED -} - -func (m *DataSource) GetDefaultDataRefreshWindowDays() int32 { - if m != nil { - return m.DefaultDataRefreshWindowDays - } - return 0 -} - -func (m *DataSource) GetManualRunsDisabled() bool { - if m != nil { - return m.ManualRunsDisabled - } - return false -} - -func (m *DataSource) GetMinimumScheduleInterval() *duration.Duration { - if m != nil { - return m.MinimumScheduleInterval - } - return nil -} - -// A request to get data source info. -type GetDataSourceRequest struct { - // Required. The field will contain name of the resource requested, for example: - // `projects/{project_id}/dataSources/{data_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 *GetDataSourceRequest) Reset() { *m = GetDataSourceRequest{} } -func (m *GetDataSourceRequest) String() string { return proto.CompactTextString(m) } -func (*GetDataSourceRequest) ProtoMessage() {} -func (*GetDataSourceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8edec8f64c27b8a4, []int{2} -} - -func (m *GetDataSourceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDataSourceRequest.Unmarshal(m, b) -} -func (m *GetDataSourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDataSourceRequest.Marshal(b, m, deterministic) -} -func (m *GetDataSourceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDataSourceRequest.Merge(m, src) -} -func (m *GetDataSourceRequest) XXX_Size() int { - return xxx_messageInfo_GetDataSourceRequest.Size(m) -} -func (m *GetDataSourceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetDataSourceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetDataSourceRequest proto.InternalMessageInfo - -func (m *GetDataSourceRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request to list supported data sources and their data transfer settings. -type ListDataSourcesRequest struct { - // Required. The BigQuery project id for which data sources should be returned. - // Must be in the form: `projects/{project_id}` - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Pagination token, which can be used to request a specific page - // of `ListDataSourcesRequest` list results. For multiple-page - // results, `ListDataSourcesResponse` outputs - // a `next_page` token, which can be used as the - // `page_token` value to request the next page of list results. - PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // Page size. The default page size is the maximum value of 1000 results. - 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 *ListDataSourcesRequest) Reset() { *m = ListDataSourcesRequest{} } -func (m *ListDataSourcesRequest) String() string { return proto.CompactTextString(m) } -func (*ListDataSourcesRequest) ProtoMessage() {} -func (*ListDataSourcesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8edec8f64c27b8a4, []int{3} -} - -func (m *ListDataSourcesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDataSourcesRequest.Unmarshal(m, b) -} -func (m *ListDataSourcesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDataSourcesRequest.Marshal(b, m, deterministic) -} -func (m *ListDataSourcesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDataSourcesRequest.Merge(m, src) -} -func (m *ListDataSourcesRequest) XXX_Size() int { - return xxx_messageInfo_ListDataSourcesRequest.Size(m) -} -func (m *ListDataSourcesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListDataSourcesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDataSourcesRequest proto.InternalMessageInfo - -func (m *ListDataSourcesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListDataSourcesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListDataSourcesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -// Returns list of supported data sources and their metadata. -type ListDataSourcesResponse struct { - // List of supported data sources and their transfer settings. - DataSources []*DataSource `protobuf:"bytes,1,rep,name=data_sources,json=dataSources,proto3" json:"data_sources,omitempty"` - // Output only. The next-pagination token. For multiple-page list results, - // this token can be used as the - // `ListDataSourcesRequest.page_token` - // to request the next page of list 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 *ListDataSourcesResponse) Reset() { *m = ListDataSourcesResponse{} } -func (m *ListDataSourcesResponse) String() string { return proto.CompactTextString(m) } -func (*ListDataSourcesResponse) ProtoMessage() {} -func (*ListDataSourcesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8edec8f64c27b8a4, []int{4} -} - -func (m *ListDataSourcesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDataSourcesResponse.Unmarshal(m, b) -} -func (m *ListDataSourcesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDataSourcesResponse.Marshal(b, m, deterministic) -} -func (m *ListDataSourcesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDataSourcesResponse.Merge(m, src) -} -func (m *ListDataSourcesResponse) XXX_Size() int { - return xxx_messageInfo_ListDataSourcesResponse.Size(m) -} -func (m *ListDataSourcesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListDataSourcesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDataSourcesResponse proto.InternalMessageInfo - -func (m *ListDataSourcesResponse) GetDataSources() []*DataSource { - if m != nil { - return m.DataSources - } - return nil -} - -func (m *ListDataSourcesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// A request to create a data transfer configuration. If new credentials are -// needed for this transfer configuration, an authorization code must be -// provided. If an authorization code is provided, the transfer configuration -// will be associated with the user id corresponding to the -// authorization code. Otherwise, the transfer configuration will be associated -// with the calling user. -type CreateTransferConfigRequest struct { - // Required. The BigQuery project id where the transfer configuration should be created. - // Must be in the format projects/{project_id}/locations/{location_id} - // If specified location and location of the destination bigquery dataset - // do not match - the request will fail. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. Data transfer configuration to create. - TransferConfig *TransferConfig `protobuf:"bytes,2,opt,name=transfer_config,json=transferConfig,proto3" json:"transfer_config,omitempty"` - // Optional OAuth2 authorization code to use with this transfer configuration. - // This is required if new credentials are needed, as indicated by - // `CheckValidCreds`. - // In order to obtain authorization_code, please make a - // request to - // https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=&scope=&redirect_uri= - // - // * client_id should be OAuth client_id of BigQuery DTS API for the given - // data source returned by ListDataSources method. - // * data_source_scopes are the scopes returned by ListDataSources method. - // * redirect_uri is an optional parameter. If not specified, then - // authorization code is posted to the opener of authorization flow window. - // Otherwise it will be sent to the redirect uri. A special value of - // urn:ietf:wg:oauth:2.0:oob means that authorization code should be - // returned in the title bar of the browser, with the page text prompting - // the user to copy the code and paste it in the application. - AuthorizationCode string `protobuf:"bytes,3,opt,name=authorization_code,json=authorizationCode,proto3" json:"authorization_code,omitempty"` - // Optional version info. If users want to find a very recent access token, - // that is, immediately after approving access, users have to set the - // version_info claim in the token request. To obtain the version_info, users - // must use the "none+gsession" response type. which be return a - // version_info back in the authorization response which be be put in a JWT - // claim in the token request. - VersionInfo string `protobuf:"bytes,5,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateTransferConfigRequest) Reset() { *m = CreateTransferConfigRequest{} } -func (m *CreateTransferConfigRequest) String() string { return proto.CompactTextString(m) } -func (*CreateTransferConfigRequest) ProtoMessage() {} -func (*CreateTransferConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8edec8f64c27b8a4, []int{5} -} - -func (m *CreateTransferConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateTransferConfigRequest.Unmarshal(m, b) -} -func (m *CreateTransferConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateTransferConfigRequest.Marshal(b, m, deterministic) -} -func (m *CreateTransferConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateTransferConfigRequest.Merge(m, src) -} -func (m *CreateTransferConfigRequest) XXX_Size() int { - return xxx_messageInfo_CreateTransferConfigRequest.Size(m) -} -func (m *CreateTransferConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateTransferConfigRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateTransferConfigRequest proto.InternalMessageInfo - -func (m *CreateTransferConfigRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateTransferConfigRequest) GetTransferConfig() *TransferConfig { - if m != nil { - return m.TransferConfig - } - return nil -} - -func (m *CreateTransferConfigRequest) GetAuthorizationCode() string { - if m != nil { - return m.AuthorizationCode - } - return "" -} - -func (m *CreateTransferConfigRequest) GetVersionInfo() string { - if m != nil { - return m.VersionInfo - } - return "" -} - -// A request to update a transfer configuration. To update the user id of the -// transfer configuration, an authorization code needs to be provided. -type UpdateTransferConfigRequest struct { - // Required. Data transfer configuration to create. - TransferConfig *TransferConfig `protobuf:"bytes,1,opt,name=transfer_config,json=transferConfig,proto3" json:"transfer_config,omitempty"` - // Optional OAuth2 authorization code to use with this transfer configuration. - // If it is provided, the transfer configuration will be associated with the - // authorizing user. - // In order to obtain authorization_code, please make a - // request to - // https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=&scope=&redirect_uri= - // - // * client_id should be OAuth client_id of BigQuery DTS API for the given - // data source returned by ListDataSources method. - // * data_source_scopes are the scopes returned by ListDataSources method. - // * redirect_uri is an optional parameter. If not specified, then - // authorization code is posted to the opener of authorization flow window. - // Otherwise it will be sent to the redirect uri. A special value of - // urn:ietf:wg:oauth:2.0:oob means that authorization code should be - // returned in the title bar of the browser, with the page text prompting - // the user to copy the code and paste it in the application. - AuthorizationCode string `protobuf:"bytes,3,opt,name=authorization_code,json=authorizationCode,proto3" json:"authorization_code,omitempty"` - // Required. Required list of fields to be updated in this request. - UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` - // Optional version info. If users want to find a very recent access token, - // that is, immediately after approving access, users have to set the - // version_info claim in the token request. To obtain the version_info, users - // must use the "none+gsession" response type. which be return a - // version_info back in the authorization response which be be put in a JWT - // claim in the token request. - VersionInfo string `protobuf:"bytes,5,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpdateTransferConfigRequest) Reset() { *m = UpdateTransferConfigRequest{} } -func (m *UpdateTransferConfigRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateTransferConfigRequest) ProtoMessage() {} -func (*UpdateTransferConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8edec8f64c27b8a4, []int{6} -} - -func (m *UpdateTransferConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateTransferConfigRequest.Unmarshal(m, b) -} -func (m *UpdateTransferConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateTransferConfigRequest.Marshal(b, m, deterministic) -} -func (m *UpdateTransferConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateTransferConfigRequest.Merge(m, src) -} -func (m *UpdateTransferConfigRequest) XXX_Size() int { - return xxx_messageInfo_UpdateTransferConfigRequest.Size(m) -} -func (m *UpdateTransferConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateTransferConfigRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateTransferConfigRequest proto.InternalMessageInfo - -func (m *UpdateTransferConfigRequest) GetTransferConfig() *TransferConfig { - if m != nil { - return m.TransferConfig - } - return nil -} - -func (m *UpdateTransferConfigRequest) GetAuthorizationCode() string { - if m != nil { - return m.AuthorizationCode - } - return "" -} - -func (m *UpdateTransferConfigRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -func (m *UpdateTransferConfigRequest) GetVersionInfo() string { - if m != nil { - return m.VersionInfo - } - return "" -} - -// A request to get data transfer information. -type GetTransferConfigRequest struct { - // Required. The field will contain name of the resource requested, for example: - // `projects/{project_id}/transferConfigs/{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 *GetTransferConfigRequest) Reset() { *m = GetTransferConfigRequest{} } -func (m *GetTransferConfigRequest) String() string { return proto.CompactTextString(m) } -func (*GetTransferConfigRequest) ProtoMessage() {} -func (*GetTransferConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8edec8f64c27b8a4, []int{7} -} - -func (m *GetTransferConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTransferConfigRequest.Unmarshal(m, b) -} -func (m *GetTransferConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTransferConfigRequest.Marshal(b, m, deterministic) -} -func (m *GetTransferConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTransferConfigRequest.Merge(m, src) -} -func (m *GetTransferConfigRequest) XXX_Size() int { - return xxx_messageInfo_GetTransferConfigRequest.Size(m) -} -func (m *GetTransferConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTransferConfigRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetTransferConfigRequest proto.InternalMessageInfo - -func (m *GetTransferConfigRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// A request to delete data transfer information. All associated transfer runs -// and log messages will be deleted as well. -type DeleteTransferConfigRequest struct { - // Required. The field will contain name of the resource requested, for example: - // `projects/{project_id}/transferConfigs/{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 *DeleteTransferConfigRequest) Reset() { *m = DeleteTransferConfigRequest{} } -func (m *DeleteTransferConfigRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteTransferConfigRequest) ProtoMessage() {} -func (*DeleteTransferConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8edec8f64c27b8a4, []int{8} -} - -func (m *DeleteTransferConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteTransferConfigRequest.Unmarshal(m, b) -} -func (m *DeleteTransferConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteTransferConfigRequest.Marshal(b, m, deterministic) -} -func (m *DeleteTransferConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteTransferConfigRequest.Merge(m, src) -} -func (m *DeleteTransferConfigRequest) XXX_Size() int { - return xxx_messageInfo_DeleteTransferConfigRequest.Size(m) -} -func (m *DeleteTransferConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteTransferConfigRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteTransferConfigRequest proto.InternalMessageInfo - -func (m *DeleteTransferConfigRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// A request to get data transfer run information. -type GetTransferRunRequest struct { - // Required. The field will contain name of the resource requested, for example: - // `projects/{project_id}/transferConfigs/{config_id}/runs/{run_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 *GetTransferRunRequest) Reset() { *m = GetTransferRunRequest{} } -func (m *GetTransferRunRequest) String() string { return proto.CompactTextString(m) } -func (*GetTransferRunRequest) ProtoMessage() {} -func (*GetTransferRunRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8edec8f64c27b8a4, []int{9} -} - -func (m *GetTransferRunRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTransferRunRequest.Unmarshal(m, b) -} -func (m *GetTransferRunRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTransferRunRequest.Marshal(b, m, deterministic) -} -func (m *GetTransferRunRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTransferRunRequest.Merge(m, src) -} -func (m *GetTransferRunRequest) XXX_Size() int { - return xxx_messageInfo_GetTransferRunRequest.Size(m) -} -func (m *GetTransferRunRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTransferRunRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetTransferRunRequest proto.InternalMessageInfo - -func (m *GetTransferRunRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// A request to delete data transfer run information. -type DeleteTransferRunRequest struct { - // Required. The field will contain name of the resource requested, for example: - // `projects/{project_id}/transferConfigs/{config_id}/runs/{run_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 *DeleteTransferRunRequest) Reset() { *m = DeleteTransferRunRequest{} } -func (m *DeleteTransferRunRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteTransferRunRequest) ProtoMessage() {} -func (*DeleteTransferRunRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8edec8f64c27b8a4, []int{10} -} - -func (m *DeleteTransferRunRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteTransferRunRequest.Unmarshal(m, b) -} -func (m *DeleteTransferRunRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteTransferRunRequest.Marshal(b, m, deterministic) -} -func (m *DeleteTransferRunRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteTransferRunRequest.Merge(m, src) -} -func (m *DeleteTransferRunRequest) XXX_Size() int { - return xxx_messageInfo_DeleteTransferRunRequest.Size(m) -} -func (m *DeleteTransferRunRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteTransferRunRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteTransferRunRequest proto.InternalMessageInfo - -func (m *DeleteTransferRunRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// A request to list data transfers configured for a BigQuery project. -type ListTransferConfigsRequest struct { - // Required. The BigQuery project id for which data sources - // should be returned: `projects/{project_id}`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // When specified, only configurations of requested data sources are returned. - DataSourceIds []string `protobuf:"bytes,2,rep,name=data_source_ids,json=dataSourceIds,proto3" json:"data_source_ids,omitempty"` - // Pagination token, which can be used to request a specific page - // of `ListTransfersRequest` list results. For multiple-page - // results, `ListTransfersResponse` outputs - // a `next_page` token, which can be used as the - // `page_token` value to request the next page of list results. - PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // Page size. The default page size is the maximum value of 1000 results. - 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 *ListTransferConfigsRequest) Reset() { *m = ListTransferConfigsRequest{} } -func (m *ListTransferConfigsRequest) String() string { return proto.CompactTextString(m) } -func (*ListTransferConfigsRequest) ProtoMessage() {} -func (*ListTransferConfigsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8edec8f64c27b8a4, []int{11} -} - -func (m *ListTransferConfigsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTransferConfigsRequest.Unmarshal(m, b) -} -func (m *ListTransferConfigsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTransferConfigsRequest.Marshal(b, m, deterministic) -} -func (m *ListTransferConfigsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTransferConfigsRequest.Merge(m, src) -} -func (m *ListTransferConfigsRequest) XXX_Size() int { - return xxx_messageInfo_ListTransferConfigsRequest.Size(m) -} -func (m *ListTransferConfigsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListTransferConfigsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTransferConfigsRequest proto.InternalMessageInfo - -func (m *ListTransferConfigsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListTransferConfigsRequest) GetDataSourceIds() []string { - if m != nil { - return m.DataSourceIds - } - return nil -} - -func (m *ListTransferConfigsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListTransferConfigsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -// The returned list of pipelines in the project. -type ListTransferConfigsResponse struct { - // Output only. The stored pipeline transfer configurations. - TransferConfigs []*TransferConfig `protobuf:"bytes,1,rep,name=transfer_configs,json=transferConfigs,proto3" json:"transfer_configs,omitempty"` - // Output only. The next-pagination token. For multiple-page list results, - // this token can be used as the - // `ListTransferConfigsRequest.page_token` - // to request the next page of list 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 *ListTransferConfigsResponse) Reset() { *m = ListTransferConfigsResponse{} } -func (m *ListTransferConfigsResponse) String() string { return proto.CompactTextString(m) } -func (*ListTransferConfigsResponse) ProtoMessage() {} -func (*ListTransferConfigsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8edec8f64c27b8a4, []int{12} -} - -func (m *ListTransferConfigsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTransferConfigsResponse.Unmarshal(m, b) -} -func (m *ListTransferConfigsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTransferConfigsResponse.Marshal(b, m, deterministic) -} -func (m *ListTransferConfigsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTransferConfigsResponse.Merge(m, src) -} -func (m *ListTransferConfigsResponse) XXX_Size() int { - return xxx_messageInfo_ListTransferConfigsResponse.Size(m) -} -func (m *ListTransferConfigsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListTransferConfigsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTransferConfigsResponse proto.InternalMessageInfo - -func (m *ListTransferConfigsResponse) GetTransferConfigs() []*TransferConfig { - if m != nil { - return m.TransferConfigs - } - return nil -} - -func (m *ListTransferConfigsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// A request to list data transfer runs. UI can use this method to show/filter -// specific data transfer runs. The data source can use this method to request -// all scheduled transfer runs. -type ListTransferRunsRequest struct { - // Required. Name of transfer configuration for which transfer runs should be retrieved. - // Format of transfer configuration resource name is: - // `projects/{project_id}/transferConfigs/{config_id}`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // When specified, only transfer runs with requested states are returned. - States []TransferState `protobuf:"varint,2,rep,packed,name=states,proto3,enum=google.cloud.bigquery.datatransfer.v1.TransferState" json:"states,omitempty"` - // Pagination token, which can be used to request a specific page - // of `ListTransferRunsRequest` list results. For multiple-page - // results, `ListTransferRunsResponse` outputs - // a `next_page` token, which can be used as the - // `page_token` value to request the next page of list results. - PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // Page size. The default page size is the maximum value of 1000 results. - PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Indicates how run attempts are to be pulled. - RunAttempt ListTransferRunsRequest_RunAttempt `protobuf:"varint,5,opt,name=run_attempt,json=runAttempt,proto3,enum=google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest_RunAttempt" json:"run_attempt,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8edec8f64c27b8a4, []int{13} -} - -func (m *ListTransferRunsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTransferRunsRequest.Unmarshal(m, b) -} -func (m *ListTransferRunsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTransferRunsRequest.Marshal(b, m, deterministic) -} -func (m *ListTransferRunsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTransferRunsRequest.Merge(m, src) -} -func (m *ListTransferRunsRequest) XXX_Size() int { - return xxx_messageInfo_ListTransferRunsRequest.Size(m) -} -func (m *ListTransferRunsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListTransferRunsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTransferRunsRequest proto.InternalMessageInfo - -func (m *ListTransferRunsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListTransferRunsRequest) GetStates() []TransferState { - if m != nil { - return m.States - } - return nil -} - -func (m *ListTransferRunsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListTransferRunsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListTransferRunsRequest) GetRunAttempt() ListTransferRunsRequest_RunAttempt { - if m != nil { - return m.RunAttempt - } - return ListTransferRunsRequest_RUN_ATTEMPT_UNSPECIFIED -} - -// The returned list of pipelines in the project. -type ListTransferRunsResponse struct { - // Output only. The stored pipeline transfer runs. - TransferRuns []*TransferRun `protobuf:"bytes,1,rep,name=transfer_runs,json=transferRuns,proto3" json:"transfer_runs,omitempty"` - // Output only. The next-pagination token. For multiple-page list results, - // this token can be used as the - // `ListTransferRunsRequest.page_token` - // to request the next page of list 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 *ListTransferRunsResponse) Reset() { *m = ListTransferRunsResponse{} } -func (m *ListTransferRunsResponse) String() string { return proto.CompactTextString(m) } -func (*ListTransferRunsResponse) ProtoMessage() {} -func (*ListTransferRunsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8edec8f64c27b8a4, []int{14} -} - -func (m *ListTransferRunsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTransferRunsResponse.Unmarshal(m, b) -} -func (m *ListTransferRunsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTransferRunsResponse.Marshal(b, m, deterministic) -} -func (m *ListTransferRunsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTransferRunsResponse.Merge(m, src) -} -func (m *ListTransferRunsResponse) XXX_Size() int { - return xxx_messageInfo_ListTransferRunsResponse.Size(m) -} -func (m *ListTransferRunsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListTransferRunsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTransferRunsResponse proto.InternalMessageInfo - -func (m *ListTransferRunsResponse) GetTransferRuns() []*TransferRun { - if m != nil { - return m.TransferRuns - } - return nil -} - -func (m *ListTransferRunsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// A request to get user facing log messages associated with data transfer run. -type ListTransferLogsRequest struct { - // Required. Transfer run name in the form: - // `projects/{project_id}/transferConfigs/{config_Id}/runs/{run_id}`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Pagination token, which can be used to request a specific page - // of `ListTransferLogsRequest` list results. For multiple-page - // results, `ListTransferLogsResponse` outputs - // a `next_page` token, which can be used as the - // `page_token` value to request the next page of list results. - PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // Page size. The default page size is the maximum value of 1000 results. - PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Message types to return. If not populated - INFO, WARNING and ERROR - // messages are returned. - MessageTypes []TransferMessage_MessageSeverity `protobuf:"varint,6,rep,packed,name=message_types,json=messageTypes,proto3,enum=google.cloud.bigquery.datatransfer.v1.TransferMessage_MessageSeverity" json:"message_types,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8edec8f64c27b8a4, []int{15} -} - -func (m *ListTransferLogsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTransferLogsRequest.Unmarshal(m, b) -} -func (m *ListTransferLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTransferLogsRequest.Marshal(b, m, deterministic) -} -func (m *ListTransferLogsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTransferLogsRequest.Merge(m, src) -} -func (m *ListTransferLogsRequest) XXX_Size() int { - return xxx_messageInfo_ListTransferLogsRequest.Size(m) -} -func (m *ListTransferLogsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListTransferLogsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTransferLogsRequest proto.InternalMessageInfo - -func (m *ListTransferLogsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListTransferLogsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListTransferLogsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListTransferLogsRequest) GetMessageTypes() []TransferMessage_MessageSeverity { - if m != nil { - return m.MessageTypes - } - return nil -} - -// The returned list transfer run messages. -type ListTransferLogsResponse struct { - // Output only. The stored pipeline transfer messages. - TransferMessages []*TransferMessage `protobuf:"bytes,1,rep,name=transfer_messages,json=transferMessages,proto3" json:"transfer_messages,omitempty"` - // Output only. The next-pagination token. For multiple-page list results, - // this token can be used as the - // `GetTransferRunLogRequest.page_token` - // to request the next page of list 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 *ListTransferLogsResponse) Reset() { *m = ListTransferLogsResponse{} } -func (m *ListTransferLogsResponse) String() string { return proto.CompactTextString(m) } -func (*ListTransferLogsResponse) ProtoMessage() {} -func (*ListTransferLogsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8edec8f64c27b8a4, []int{16} -} - -func (m *ListTransferLogsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTransferLogsResponse.Unmarshal(m, b) -} -func (m *ListTransferLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTransferLogsResponse.Marshal(b, m, deterministic) -} -func (m *ListTransferLogsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTransferLogsResponse.Merge(m, src) -} -func (m *ListTransferLogsResponse) XXX_Size() int { - return xxx_messageInfo_ListTransferLogsResponse.Size(m) -} -func (m *ListTransferLogsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListTransferLogsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTransferLogsResponse proto.InternalMessageInfo - -func (m *ListTransferLogsResponse) GetTransferMessages() []*TransferMessage { - if m != nil { - return m.TransferMessages - } - return nil -} - -func (m *ListTransferLogsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// A request to determine whether the user has valid credentials. This method -// is used to limit the number of OAuth popups in the user interface. The -// user id is inferred from the API call context. -// If the data source has the Google+ authorization type, this method -// returns false, as it cannot be determined whether the credentials are -// already valid merely based on the user id. -type CheckValidCredsRequest struct { - // Required. The data source in the form: - // `projects/{project_id}/dataSources/{data_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 *CheckValidCredsRequest) Reset() { *m = CheckValidCredsRequest{} } -func (m *CheckValidCredsRequest) String() string { return proto.CompactTextString(m) } -func (*CheckValidCredsRequest) ProtoMessage() {} -func (*CheckValidCredsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8edec8f64c27b8a4, []int{17} -} - -func (m *CheckValidCredsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CheckValidCredsRequest.Unmarshal(m, b) -} -func (m *CheckValidCredsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CheckValidCredsRequest.Marshal(b, m, deterministic) -} -func (m *CheckValidCredsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CheckValidCredsRequest.Merge(m, src) -} -func (m *CheckValidCredsRequest) XXX_Size() int { - return xxx_messageInfo_CheckValidCredsRequest.Size(m) -} -func (m *CheckValidCredsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CheckValidCredsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CheckValidCredsRequest proto.InternalMessageInfo - -func (m *CheckValidCredsRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// A response indicating whether the credentials exist and are valid. -type CheckValidCredsResponse struct { - // If set to `true`, the credentials exist and are valid. - HasValidCreds bool `protobuf:"varint,1,opt,name=has_valid_creds,json=hasValidCreds,proto3" json:"has_valid_creds,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8edec8f64c27b8a4, []int{18} -} - -func (m *CheckValidCredsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CheckValidCredsResponse.Unmarshal(m, b) -} -func (m *CheckValidCredsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CheckValidCredsResponse.Marshal(b, m, deterministic) -} -func (m *CheckValidCredsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CheckValidCredsResponse.Merge(m, src) -} -func (m *CheckValidCredsResponse) XXX_Size() int { - return xxx_messageInfo_CheckValidCredsResponse.Size(m) -} -func (m *CheckValidCredsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CheckValidCredsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_CheckValidCredsResponse proto.InternalMessageInfo - -func (m *CheckValidCredsResponse) GetHasValidCreds() bool { - if m != nil { - return m.HasValidCreds - } - return false -} - -// A request to schedule transfer runs for a time range. -type ScheduleTransferRunsRequest struct { - // Required. Transfer configuration name in the form: - // `projects/{project_id}/transferConfigs/{config_id}`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. Start time of the range of transfer runs. For example, - // `"2017-05-25T00:00:00+00:00"`. - StartTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // Required. End time of the range of transfer runs. For example, - // `"2017-05-30T00:00:00+00:00"`. - 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 *ScheduleTransferRunsRequest) Reset() { *m = ScheduleTransferRunsRequest{} } -func (m *ScheduleTransferRunsRequest) String() string { return proto.CompactTextString(m) } -func (*ScheduleTransferRunsRequest) ProtoMessage() {} -func (*ScheduleTransferRunsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8edec8f64c27b8a4, []int{19} -} - -func (m *ScheduleTransferRunsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ScheduleTransferRunsRequest.Unmarshal(m, b) -} -func (m *ScheduleTransferRunsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ScheduleTransferRunsRequest.Marshal(b, m, deterministic) -} -func (m *ScheduleTransferRunsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ScheduleTransferRunsRequest.Merge(m, src) -} -func (m *ScheduleTransferRunsRequest) XXX_Size() int { - return xxx_messageInfo_ScheduleTransferRunsRequest.Size(m) -} -func (m *ScheduleTransferRunsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ScheduleTransferRunsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ScheduleTransferRunsRequest proto.InternalMessageInfo - -func (m *ScheduleTransferRunsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ScheduleTransferRunsRequest) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *ScheduleTransferRunsRequest) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -// A response to schedule transfer runs for a time range. -type ScheduleTransferRunsResponse struct { - // The transfer runs that were scheduled. - Runs []*TransferRun `protobuf:"bytes,1,rep,name=runs,proto3" json:"runs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ScheduleTransferRunsResponse) Reset() { *m = ScheduleTransferRunsResponse{} } -func (m *ScheduleTransferRunsResponse) String() string { return proto.CompactTextString(m) } -func (*ScheduleTransferRunsResponse) ProtoMessage() {} -func (*ScheduleTransferRunsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8edec8f64c27b8a4, []int{20} -} - -func (m *ScheduleTransferRunsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ScheduleTransferRunsResponse.Unmarshal(m, b) -} -func (m *ScheduleTransferRunsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ScheduleTransferRunsResponse.Marshal(b, m, deterministic) -} -func (m *ScheduleTransferRunsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ScheduleTransferRunsResponse.Merge(m, src) -} -func (m *ScheduleTransferRunsResponse) XXX_Size() int { - return xxx_messageInfo_ScheduleTransferRunsResponse.Size(m) -} -func (m *ScheduleTransferRunsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ScheduleTransferRunsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ScheduleTransferRunsResponse proto.InternalMessageInfo - -func (m *ScheduleTransferRunsResponse) GetRuns() []*TransferRun { - if m != nil { - return m.Runs - } - return nil -} - -// A request to start manual transfer runs. -type StartManualTransferRunsRequest struct { - // Transfer configuration name in the form: - // `projects/{project_id}/transferConfigs/{config_id}`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The requested time specification - this can be a time range or a specific - // run_time. - // - // Types that are valid to be assigned to Time: - // *StartManualTransferRunsRequest_RequestedTimeRange - // *StartManualTransferRunsRequest_RequestedRunTime - Time isStartManualTransferRunsRequest_Time `protobuf_oneof:"time"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StartManualTransferRunsRequest) Reset() { *m = StartManualTransferRunsRequest{} } -func (m *StartManualTransferRunsRequest) String() string { return proto.CompactTextString(m) } -func (*StartManualTransferRunsRequest) ProtoMessage() {} -func (*StartManualTransferRunsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8edec8f64c27b8a4, []int{21} -} - -func (m *StartManualTransferRunsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StartManualTransferRunsRequest.Unmarshal(m, b) -} -func (m *StartManualTransferRunsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StartManualTransferRunsRequest.Marshal(b, m, deterministic) -} -func (m *StartManualTransferRunsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartManualTransferRunsRequest.Merge(m, src) -} -func (m *StartManualTransferRunsRequest) XXX_Size() int { - return xxx_messageInfo_StartManualTransferRunsRequest.Size(m) -} -func (m *StartManualTransferRunsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StartManualTransferRunsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_StartManualTransferRunsRequest proto.InternalMessageInfo - -func (m *StartManualTransferRunsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -type isStartManualTransferRunsRequest_Time interface { - isStartManualTransferRunsRequest_Time() -} - -type StartManualTransferRunsRequest_RequestedTimeRange struct { - RequestedTimeRange *StartManualTransferRunsRequest_TimeRange `protobuf:"bytes,3,opt,name=requested_time_range,json=requestedTimeRange,proto3,oneof"` -} - -type StartManualTransferRunsRequest_RequestedRunTime struct { - RequestedRunTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=requested_run_time,json=requestedRunTime,proto3,oneof"` -} - -func (*StartManualTransferRunsRequest_RequestedTimeRange) isStartManualTransferRunsRequest_Time() {} - -func (*StartManualTransferRunsRequest_RequestedRunTime) isStartManualTransferRunsRequest_Time() {} - -func (m *StartManualTransferRunsRequest) GetTime() isStartManualTransferRunsRequest_Time { - if m != nil { - return m.Time - } - return nil -} - -func (m *StartManualTransferRunsRequest) GetRequestedTimeRange() *StartManualTransferRunsRequest_TimeRange { - if x, ok := m.GetTime().(*StartManualTransferRunsRequest_RequestedTimeRange); ok { - return x.RequestedTimeRange - } - return nil -} - -func (m *StartManualTransferRunsRequest) GetRequestedRunTime() *timestamp.Timestamp { - if x, ok := m.GetTime().(*StartManualTransferRunsRequest_RequestedRunTime); ok { - return x.RequestedRunTime - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*StartManualTransferRunsRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*StartManualTransferRunsRequest_RequestedTimeRange)(nil), - (*StartManualTransferRunsRequest_RequestedRunTime)(nil), - } -} - -// A specification for a time range, this will request transfer runs with -// run_time between start_time (inclusive) and end_time (exclusive). -type StartManualTransferRunsRequest_TimeRange struct { - // Start time of the range of transfer runs. For example, - // `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than - // the end_time. Creates transfer runs where run_time is in the range betwen - // start_time (inclusive) and end_time (exlusive). - StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // End time of the range of transfer runs. For example, - // `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future. - // Creates transfer runs where run_time is in the range betwen start_time - // (inclusive) and end_time (exlusive). - 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 *StartManualTransferRunsRequest_TimeRange) Reset() { - *m = StartManualTransferRunsRequest_TimeRange{} -} -func (m *StartManualTransferRunsRequest_TimeRange) String() string { return proto.CompactTextString(m) } -func (*StartManualTransferRunsRequest_TimeRange) ProtoMessage() {} -func (*StartManualTransferRunsRequest_TimeRange) Descriptor() ([]byte, []int) { - return fileDescriptor_8edec8f64c27b8a4, []int{21, 0} -} - -func (m *StartManualTransferRunsRequest_TimeRange) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StartManualTransferRunsRequest_TimeRange.Unmarshal(m, b) -} -func (m *StartManualTransferRunsRequest_TimeRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StartManualTransferRunsRequest_TimeRange.Marshal(b, m, deterministic) -} -func (m *StartManualTransferRunsRequest_TimeRange) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartManualTransferRunsRequest_TimeRange.Merge(m, src) -} -func (m *StartManualTransferRunsRequest_TimeRange) XXX_Size() int { - return xxx_messageInfo_StartManualTransferRunsRequest_TimeRange.Size(m) -} -func (m *StartManualTransferRunsRequest_TimeRange) XXX_DiscardUnknown() { - xxx_messageInfo_StartManualTransferRunsRequest_TimeRange.DiscardUnknown(m) -} - -var xxx_messageInfo_StartManualTransferRunsRequest_TimeRange proto.InternalMessageInfo - -func (m *StartManualTransferRunsRequest_TimeRange) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *StartManualTransferRunsRequest_TimeRange) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -// A response to start manual transfer runs. -type StartManualTransferRunsResponse struct { - // The transfer runs that were created. - Runs []*TransferRun `protobuf:"bytes,1,rep,name=runs,proto3" json:"runs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StartManualTransferRunsResponse) Reset() { *m = StartManualTransferRunsResponse{} } -func (m *StartManualTransferRunsResponse) String() string { return proto.CompactTextString(m) } -func (*StartManualTransferRunsResponse) ProtoMessage() {} -func (*StartManualTransferRunsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8edec8f64c27b8a4, []int{22} -} - -func (m *StartManualTransferRunsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StartManualTransferRunsResponse.Unmarshal(m, b) -} -func (m *StartManualTransferRunsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StartManualTransferRunsResponse.Marshal(b, m, deterministic) -} -func (m *StartManualTransferRunsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartManualTransferRunsResponse.Merge(m, src) -} -func (m *StartManualTransferRunsResponse) XXX_Size() int { - return xxx_messageInfo_StartManualTransferRunsResponse.Size(m) -} -func (m *StartManualTransferRunsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_StartManualTransferRunsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_StartManualTransferRunsResponse proto.InternalMessageInfo - -func (m *StartManualTransferRunsResponse) GetRuns() []*TransferRun { - if m != nil { - return m.Runs - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.bigquery.datatransfer.v1.DataSourceParameter_Type", DataSourceParameter_Type_name, DataSourceParameter_Type_value) - proto.RegisterEnum("google.cloud.bigquery.datatransfer.v1.DataSource_AuthorizationType", DataSource_AuthorizationType_name, DataSource_AuthorizationType_value) - proto.RegisterEnum("google.cloud.bigquery.datatransfer.v1.DataSource_DataRefreshType", DataSource_DataRefreshType_name, DataSource_DataRefreshType_value) - proto.RegisterEnum("google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest_RunAttempt", ListTransferRunsRequest_RunAttempt_name, ListTransferRunsRequest_RunAttempt_value) - proto.RegisterType((*DataSourceParameter)(nil), "google.cloud.bigquery.datatransfer.v1.DataSourceParameter") - proto.RegisterType((*DataSource)(nil), "google.cloud.bigquery.datatransfer.v1.DataSource") - proto.RegisterType((*GetDataSourceRequest)(nil), "google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest") - proto.RegisterType((*ListDataSourcesRequest)(nil), "google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest") - proto.RegisterType((*ListDataSourcesResponse)(nil), "google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse") - proto.RegisterType((*CreateTransferConfigRequest)(nil), "google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest") - proto.RegisterType((*UpdateTransferConfigRequest)(nil), "google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest") - proto.RegisterType((*GetTransferConfigRequest)(nil), "google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest") - proto.RegisterType((*DeleteTransferConfigRequest)(nil), "google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest") - proto.RegisterType((*GetTransferRunRequest)(nil), "google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest") - proto.RegisterType((*DeleteTransferRunRequest)(nil), "google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest") - proto.RegisterType((*ListTransferConfigsRequest)(nil), "google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest") - proto.RegisterType((*ListTransferConfigsResponse)(nil), "google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse") - proto.RegisterType((*ListTransferRunsRequest)(nil), "google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest") - proto.RegisterType((*ListTransferRunsResponse)(nil), "google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse") - proto.RegisterType((*ListTransferLogsRequest)(nil), "google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest") - proto.RegisterType((*ListTransferLogsResponse)(nil), "google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse") - proto.RegisterType((*CheckValidCredsRequest)(nil), "google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest") - proto.RegisterType((*CheckValidCredsResponse)(nil), "google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse") - proto.RegisterType((*ScheduleTransferRunsRequest)(nil), "google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest") - proto.RegisterType((*ScheduleTransferRunsResponse)(nil), "google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse") - proto.RegisterType((*StartManualTransferRunsRequest)(nil), "google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest") - proto.RegisterType((*StartManualTransferRunsRequest_TimeRange)(nil), "google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange") - proto.RegisterType((*StartManualTransferRunsResponse)(nil), "google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse") -} - -func init() { - proto.RegisterFile("google/cloud/bigquery/datatransfer/v1/datatransfer.proto", fileDescriptor_8edec8f64c27b8a4) -} - -var fileDescriptor_8edec8f64c27b8a4 = []byte{ - // 2831 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0xcb, 0x6f, 0x1b, 0xd7, - 0xd5, 0xcf, 0x50, 0xb2, 0x1e, 0x47, 0x2f, 0xea, 0x46, 0x96, 0xc6, 0x94, 0xe3, 0x28, 0x93, 0xcf, - 0x89, 0xac, 0x38, 0x64, 0x24, 0xc7, 0x4e, 0xa2, 0x7c, 0xb1, 0x4b, 0x91, 0x94, 0xcc, 0x54, 0x16, - 0x95, 0x21, 0x65, 0xb7, 0x82, 0xd1, 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, 0xd0, - 0xf5, 0xac, 0xa8, 0x8d, 0x77, 0xe8, 0x7a, 0xc2, 0xee, 0xb3, 0xb7, 0x17, 0x3f, 0x09, 0xe6, 0xdd, - 0xa5, 0xf3, 0xee, 0x06, 0xf3, 0xee, 0x86, 0xe7, 0xdd, 0xbd, 0xbd, 0xb8, 0x33, 0x40, 0x57, 0x73, - 0xe5, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xcd, 0x1f, 0x0b, 0x86, 0x68, 0x2a, 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 - -// DataTransferServiceClient is the client API for DataTransferService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type DataTransferServiceClient interface { - // Retrieves a supported data source and returns its settings, - // which can be used for UI rendering. - GetDataSource(ctx context.Context, in *GetDataSourceRequest, opts ...grpc.CallOption) (*DataSource, error) - // Lists supported data sources and returns their settings, - // which can be used for UI rendering. - ListDataSources(ctx context.Context, in *ListDataSourcesRequest, opts ...grpc.CallOption) (*ListDataSourcesResponse, error) - // Creates a new data transfer configuration. - CreateTransferConfig(ctx context.Context, in *CreateTransferConfigRequest, opts ...grpc.CallOption) (*TransferConfig, error) - // Updates a data transfer configuration. - // All fields must be set, even if they are not updated. - UpdateTransferConfig(ctx context.Context, in *UpdateTransferConfigRequest, opts ...grpc.CallOption) (*TransferConfig, error) - // Deletes a data transfer configuration, - // including any associated transfer runs and logs. - DeleteTransferConfig(ctx context.Context, in *DeleteTransferConfigRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Returns information about a data transfer config. - GetTransferConfig(ctx context.Context, in *GetTransferConfigRequest, opts ...grpc.CallOption) (*TransferConfig, error) - // Returns information about all data transfers in the project. - ListTransferConfigs(ctx context.Context, in *ListTransferConfigsRequest, opts ...grpc.CallOption) (*ListTransferConfigsResponse, error) - // Creates transfer runs for a time range [start_time, end_time]. - // For each date - or whatever granularity the data source supports - in the - // range, one transfer run is created. - // Note that runs are created per UTC time in the time range. - // DEPRECATED: use StartManualTransferRuns instead. - ScheduleTransferRuns(ctx context.Context, in *ScheduleTransferRunsRequest, opts ...grpc.CallOption) (*ScheduleTransferRunsResponse, error) - // Start manual transfer runs to be executed now with schedule_time equal to - // current time. The transfer runs can be created for a time range where the - // run_time is between start_time (inclusive) and end_time (exclusive), or for - // a specific run_time. - StartManualTransferRuns(ctx context.Context, in *StartManualTransferRunsRequest, opts ...grpc.CallOption) (*StartManualTransferRunsResponse, error) - // Returns information about the particular transfer run. - GetTransferRun(ctx context.Context, in *GetTransferRunRequest, opts ...grpc.CallOption) (*TransferRun, error) - // Deletes the specified transfer run. - DeleteTransferRun(ctx context.Context, in *DeleteTransferRunRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Returns information about running and completed jobs. - ListTransferRuns(ctx context.Context, in *ListTransferRunsRequest, opts ...grpc.CallOption) (*ListTransferRunsResponse, error) - // Returns user facing log messages for the data transfer run. - ListTransferLogs(ctx context.Context, in *ListTransferLogsRequest, opts ...grpc.CallOption) (*ListTransferLogsResponse, error) - // Returns true if valid credentials exist for the given data source and - // requesting user. - // Some data sources doesn't support service account, so we need to talk to - // them on behalf of the end user. This API just checks whether we have OAuth - // token for the particular user, which is a pre-requisite before user can - // create a transfer config. - CheckValidCreds(ctx context.Context, in *CheckValidCredsRequest, opts ...grpc.CallOption) (*CheckValidCredsResponse, error) -} - -type dataTransferServiceClient struct { - cc *grpc.ClientConn -} - -func NewDataTransferServiceClient(cc *grpc.ClientConn) DataTransferServiceClient { - return &dataTransferServiceClient{cc} -} - -func (c *dataTransferServiceClient) GetDataSource(ctx context.Context, in *GetDataSourceRequest, opts ...grpc.CallOption) (*DataSource, error) { - out := new(DataSource) - err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datatransfer.v1.DataTransferService/GetDataSource", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataTransferServiceClient) ListDataSources(ctx context.Context, in *ListDataSourcesRequest, opts ...grpc.CallOption) (*ListDataSourcesResponse, error) { - out := new(ListDataSourcesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datatransfer.v1.DataTransferService/ListDataSources", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataTransferServiceClient) CreateTransferConfig(ctx context.Context, in *CreateTransferConfigRequest, opts ...grpc.CallOption) (*TransferConfig, error) { - out := new(TransferConfig) - err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datatransfer.v1.DataTransferService/CreateTransferConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataTransferServiceClient) UpdateTransferConfig(ctx context.Context, in *UpdateTransferConfigRequest, opts ...grpc.CallOption) (*TransferConfig, error) { - out := new(TransferConfig) - err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datatransfer.v1.DataTransferService/UpdateTransferConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataTransferServiceClient) DeleteTransferConfig(ctx context.Context, in *DeleteTransferConfigRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datatransfer.v1.DataTransferService/DeleteTransferConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataTransferServiceClient) GetTransferConfig(ctx context.Context, in *GetTransferConfigRequest, opts ...grpc.CallOption) (*TransferConfig, error) { - out := new(TransferConfig) - err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datatransfer.v1.DataTransferService/GetTransferConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataTransferServiceClient) ListTransferConfigs(ctx context.Context, in *ListTransferConfigsRequest, opts ...grpc.CallOption) (*ListTransferConfigsResponse, error) { - out := new(ListTransferConfigsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datatransfer.v1.DataTransferService/ListTransferConfigs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// Deprecated: Do not use. -func (c *dataTransferServiceClient) ScheduleTransferRuns(ctx context.Context, in *ScheduleTransferRunsRequest, opts ...grpc.CallOption) (*ScheduleTransferRunsResponse, error) { - out := new(ScheduleTransferRunsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datatransfer.v1.DataTransferService/ScheduleTransferRuns", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataTransferServiceClient) StartManualTransferRuns(ctx context.Context, in *StartManualTransferRunsRequest, opts ...grpc.CallOption) (*StartManualTransferRunsResponse, error) { - out := new(StartManualTransferRunsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datatransfer.v1.DataTransferService/StartManualTransferRuns", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataTransferServiceClient) GetTransferRun(ctx context.Context, in *GetTransferRunRequest, opts ...grpc.CallOption) (*TransferRun, error) { - out := new(TransferRun) - err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datatransfer.v1.DataTransferService/GetTransferRun", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataTransferServiceClient) DeleteTransferRun(ctx context.Context, in *DeleteTransferRunRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datatransfer.v1.DataTransferService/DeleteTransferRun", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataTransferServiceClient) ListTransferRuns(ctx context.Context, in *ListTransferRunsRequest, opts ...grpc.CallOption) (*ListTransferRunsResponse, error) { - out := new(ListTransferRunsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datatransfer.v1.DataTransferService/ListTransferRuns", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataTransferServiceClient) ListTransferLogs(ctx context.Context, in *ListTransferLogsRequest, opts ...grpc.CallOption) (*ListTransferLogsResponse, error) { - out := new(ListTransferLogsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datatransfer.v1.DataTransferService/ListTransferLogs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataTransferServiceClient) CheckValidCreds(ctx context.Context, in *CheckValidCredsRequest, opts ...grpc.CallOption) (*CheckValidCredsResponse, error) { - out := new(CheckValidCredsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datatransfer.v1.DataTransferService/CheckValidCreds", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// DataTransferServiceServer is the server API for DataTransferService service. -type DataTransferServiceServer interface { - // Retrieves a supported data source and returns its settings, - // which can be used for UI rendering. - GetDataSource(context.Context, *GetDataSourceRequest) (*DataSource, error) - // Lists supported data sources and returns their settings, - // which can be used for UI rendering. - ListDataSources(context.Context, *ListDataSourcesRequest) (*ListDataSourcesResponse, error) - // Creates a new data transfer configuration. - CreateTransferConfig(context.Context, *CreateTransferConfigRequest) (*TransferConfig, error) - // Updates a data transfer configuration. - // All fields must be set, even if they are not updated. - UpdateTransferConfig(context.Context, *UpdateTransferConfigRequest) (*TransferConfig, error) - // Deletes a data transfer configuration, - // including any associated transfer runs and logs. - DeleteTransferConfig(context.Context, *DeleteTransferConfigRequest) (*empty.Empty, error) - // Returns information about a data transfer config. - GetTransferConfig(context.Context, *GetTransferConfigRequest) (*TransferConfig, error) - // Returns information about all data transfers in the project. - ListTransferConfigs(context.Context, *ListTransferConfigsRequest) (*ListTransferConfigsResponse, error) - // Creates transfer runs for a time range [start_time, end_time]. - // For each date - or whatever granularity the data source supports - in the - // range, one transfer run is created. - // Note that runs are created per UTC time in the time range. - // DEPRECATED: use StartManualTransferRuns instead. - ScheduleTransferRuns(context.Context, *ScheduleTransferRunsRequest) (*ScheduleTransferRunsResponse, error) - // Start manual transfer runs to be executed now with schedule_time equal to - // current time. The transfer runs can be created for a time range where the - // run_time is between start_time (inclusive) and end_time (exclusive), or for - // a specific run_time. - StartManualTransferRuns(context.Context, *StartManualTransferRunsRequest) (*StartManualTransferRunsResponse, error) - // Returns information about the particular transfer run. - GetTransferRun(context.Context, *GetTransferRunRequest) (*TransferRun, error) - // Deletes the specified transfer run. - DeleteTransferRun(context.Context, *DeleteTransferRunRequest) (*empty.Empty, error) - // Returns information about running and completed jobs. - ListTransferRuns(context.Context, *ListTransferRunsRequest) (*ListTransferRunsResponse, error) - // Returns user facing log messages for the data transfer run. - ListTransferLogs(context.Context, *ListTransferLogsRequest) (*ListTransferLogsResponse, error) - // Returns true if valid credentials exist for the given data source and - // requesting user. - // Some data sources doesn't support service account, so we need to talk to - // them on behalf of the end user. This API just checks whether we have OAuth - // token for the particular user, which is a pre-requisite before user can - // create a transfer config. - CheckValidCreds(context.Context, *CheckValidCredsRequest) (*CheckValidCredsResponse, error) -} - -// UnimplementedDataTransferServiceServer can be embedded to have forward compatible implementations. -type UnimplementedDataTransferServiceServer struct { -} - -func (*UnimplementedDataTransferServiceServer) GetDataSource(ctx context.Context, req *GetDataSourceRequest) (*DataSource, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDataSource not implemented") -} -func (*UnimplementedDataTransferServiceServer) ListDataSources(ctx context.Context, req *ListDataSourcesRequest) (*ListDataSourcesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListDataSources not implemented") -} -func (*UnimplementedDataTransferServiceServer) CreateTransferConfig(ctx context.Context, req *CreateTransferConfigRequest) (*TransferConfig, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateTransferConfig not implemented") -} -func (*UnimplementedDataTransferServiceServer) UpdateTransferConfig(ctx context.Context, req *UpdateTransferConfigRequest) (*TransferConfig, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateTransferConfig not implemented") -} -func (*UnimplementedDataTransferServiceServer) DeleteTransferConfig(ctx context.Context, req *DeleteTransferConfigRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteTransferConfig not implemented") -} -func (*UnimplementedDataTransferServiceServer) GetTransferConfig(ctx context.Context, req *GetTransferConfigRequest) (*TransferConfig, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransferConfig not implemented") -} -func (*UnimplementedDataTransferServiceServer) ListTransferConfigs(ctx context.Context, req *ListTransferConfigsRequest) (*ListTransferConfigsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListTransferConfigs not implemented") -} -func (*UnimplementedDataTransferServiceServer) ScheduleTransferRuns(ctx context.Context, req *ScheduleTransferRunsRequest) (*ScheduleTransferRunsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ScheduleTransferRuns not implemented") -} -func (*UnimplementedDataTransferServiceServer) StartManualTransferRuns(ctx context.Context, req *StartManualTransferRunsRequest) (*StartManualTransferRunsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method StartManualTransferRuns not implemented") -} -func (*UnimplementedDataTransferServiceServer) GetTransferRun(ctx context.Context, req *GetTransferRunRequest) (*TransferRun, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransferRun not implemented") -} -func (*UnimplementedDataTransferServiceServer) DeleteTransferRun(ctx context.Context, req *DeleteTransferRunRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteTransferRun not implemented") -} -func (*UnimplementedDataTransferServiceServer) ListTransferRuns(ctx context.Context, req *ListTransferRunsRequest) (*ListTransferRunsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListTransferRuns not implemented") -} -func (*UnimplementedDataTransferServiceServer) ListTransferLogs(ctx context.Context, req *ListTransferLogsRequest) (*ListTransferLogsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListTransferLogs not implemented") -} -func (*UnimplementedDataTransferServiceServer) CheckValidCreds(ctx context.Context, req *CheckValidCredsRequest) (*CheckValidCredsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CheckValidCreds not implemented") -} - -func RegisterDataTransferServiceServer(s *grpc.Server, srv DataTransferServiceServer) { - s.RegisterService(&_DataTransferService_serviceDesc, srv) -} - -func _DataTransferService_GetDataSource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDataSourceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataTransferServiceServer).GetDataSource(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.bigquery.datatransfer.v1.DataTransferService/GetDataSource", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataTransferServiceServer).GetDataSource(ctx, req.(*GetDataSourceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataTransferService_ListDataSources_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListDataSourcesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataTransferServiceServer).ListDataSources(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.bigquery.datatransfer.v1.DataTransferService/ListDataSources", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataTransferServiceServer).ListDataSources(ctx, req.(*ListDataSourcesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataTransferService_CreateTransferConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateTransferConfigRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataTransferServiceServer).CreateTransferConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.bigquery.datatransfer.v1.DataTransferService/CreateTransferConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataTransferServiceServer).CreateTransferConfig(ctx, req.(*CreateTransferConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataTransferService_UpdateTransferConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateTransferConfigRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataTransferServiceServer).UpdateTransferConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.bigquery.datatransfer.v1.DataTransferService/UpdateTransferConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataTransferServiceServer).UpdateTransferConfig(ctx, req.(*UpdateTransferConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataTransferService_DeleteTransferConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteTransferConfigRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataTransferServiceServer).DeleteTransferConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.bigquery.datatransfer.v1.DataTransferService/DeleteTransferConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataTransferServiceServer).DeleteTransferConfig(ctx, req.(*DeleteTransferConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataTransferService_GetTransferConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTransferConfigRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataTransferServiceServer).GetTransferConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.bigquery.datatransfer.v1.DataTransferService/GetTransferConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataTransferServiceServer).GetTransferConfig(ctx, req.(*GetTransferConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataTransferService_ListTransferConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListTransferConfigsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataTransferServiceServer).ListTransferConfigs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.bigquery.datatransfer.v1.DataTransferService/ListTransferConfigs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataTransferServiceServer).ListTransferConfigs(ctx, req.(*ListTransferConfigsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataTransferService_ScheduleTransferRuns_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ScheduleTransferRunsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataTransferServiceServer).ScheduleTransferRuns(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.bigquery.datatransfer.v1.DataTransferService/ScheduleTransferRuns", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataTransferServiceServer).ScheduleTransferRuns(ctx, req.(*ScheduleTransferRunsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataTransferService_StartManualTransferRuns_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(StartManualTransferRunsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataTransferServiceServer).StartManualTransferRuns(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.bigquery.datatransfer.v1.DataTransferService/StartManualTransferRuns", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataTransferServiceServer).StartManualTransferRuns(ctx, req.(*StartManualTransferRunsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataTransferService_GetTransferRun_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTransferRunRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataTransferServiceServer).GetTransferRun(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.bigquery.datatransfer.v1.DataTransferService/GetTransferRun", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataTransferServiceServer).GetTransferRun(ctx, req.(*GetTransferRunRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataTransferService_DeleteTransferRun_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteTransferRunRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataTransferServiceServer).DeleteTransferRun(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.bigquery.datatransfer.v1.DataTransferService/DeleteTransferRun", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataTransferServiceServer).DeleteTransferRun(ctx, req.(*DeleteTransferRunRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataTransferService_ListTransferRuns_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListTransferRunsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataTransferServiceServer).ListTransferRuns(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.bigquery.datatransfer.v1.DataTransferService/ListTransferRuns", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataTransferServiceServer).ListTransferRuns(ctx, req.(*ListTransferRunsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataTransferService_ListTransferLogs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListTransferLogsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataTransferServiceServer).ListTransferLogs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.bigquery.datatransfer.v1.DataTransferService/ListTransferLogs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataTransferServiceServer).ListTransferLogs(ctx, req.(*ListTransferLogsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataTransferService_CheckValidCreds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CheckValidCredsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataTransferServiceServer).CheckValidCreds(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.bigquery.datatransfer.v1.DataTransferService/CheckValidCreds", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataTransferServiceServer).CheckValidCreds(ctx, req.(*CheckValidCredsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _DataTransferService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.bigquery.datatransfer.v1.DataTransferService", - HandlerType: (*DataTransferServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetDataSource", - Handler: _DataTransferService_GetDataSource_Handler, - }, - { - MethodName: "ListDataSources", - Handler: _DataTransferService_ListDataSources_Handler, - }, - { - MethodName: "CreateTransferConfig", - Handler: _DataTransferService_CreateTransferConfig_Handler, - }, - { - MethodName: "UpdateTransferConfig", - Handler: _DataTransferService_UpdateTransferConfig_Handler, - }, - { - MethodName: "DeleteTransferConfig", - Handler: _DataTransferService_DeleteTransferConfig_Handler, - }, - { - MethodName: "GetTransferConfig", - Handler: _DataTransferService_GetTransferConfig_Handler, - }, - { - MethodName: "ListTransferConfigs", - Handler: _DataTransferService_ListTransferConfigs_Handler, - }, - { - MethodName: "ScheduleTransferRuns", - Handler: _DataTransferService_ScheduleTransferRuns_Handler, - }, - { - MethodName: "StartManualTransferRuns", - Handler: _DataTransferService_StartManualTransferRuns_Handler, - }, - { - MethodName: "GetTransferRun", - Handler: _DataTransferService_GetTransferRun_Handler, - }, - { - MethodName: "DeleteTransferRun", - Handler: _DataTransferService_DeleteTransferRun_Handler, - }, - { - MethodName: "ListTransferRuns", - Handler: _DataTransferService_ListTransferRuns_Handler, - }, - { - MethodName: "ListTransferLogs", - Handler: _DataTransferService_ListTransferLogs_Handler, - }, - { - MethodName: "CheckValidCreds", - Handler: _DataTransferService_CheckValidCreds_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/bigquery/datatransfer/v1/datatransfer.proto", -} 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 deleted file mode 100644 index 54df18c5..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/datatransfer/v1/transfer.pb.go +++ /dev/null @@ -1,756 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/bigquery/datatransfer/v1/transfer.proto - -package datatransfer - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _struct "github.com/golang/protobuf/ptypes/struct" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// DEPRECATED. Represents data transfer type. -type TransferType int32 // Deprecated: Do not use. -const ( - // Invalid or Unknown transfer type placeholder. - TransferType_TRANSFER_TYPE_UNSPECIFIED TransferType = 0 - // Batch data transfer. - TransferType_BATCH TransferType = 1 - // Streaming data transfer. Streaming data source currently doesn't - // support multiple transfer configs per project. - TransferType_STREAMING TransferType = 2 -) - -var TransferType_name = map[int32]string{ - 0: "TRANSFER_TYPE_UNSPECIFIED", - 1: "BATCH", - 2: "STREAMING", -} - -var TransferType_value = map[string]int32{ - "TRANSFER_TYPE_UNSPECIFIED": 0, - "BATCH": 1, - "STREAMING": 2, -} - -func (x TransferType) String() string { - return proto.EnumName(TransferType_name, int32(x)) -} - -func (TransferType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_90c2574420b818ad, []int{0} -} - -// Represents data transfer run state. -type TransferState int32 - -const ( - // State placeholder. - TransferState_TRANSFER_STATE_UNSPECIFIED TransferState = 0 - // Data transfer is scheduled and is waiting to be picked up by - // data transfer backend. - TransferState_PENDING TransferState = 2 - // Data transfer is in progress. - TransferState_RUNNING TransferState = 3 - // Data transfer completed successfully. - TransferState_SUCCEEDED TransferState = 4 - // Data transfer failed. - TransferState_FAILED TransferState = 5 - // Data transfer is cancelled. - TransferState_CANCELLED TransferState = 6 -) - -var TransferState_name = map[int32]string{ - 0: "TRANSFER_STATE_UNSPECIFIED", - 2: "PENDING", - 3: "RUNNING", - 4: "SUCCEEDED", - 5: "FAILED", - 6: "CANCELLED", -} - -var TransferState_value = map[string]int32{ - "TRANSFER_STATE_UNSPECIFIED": 0, - "PENDING": 2, - "RUNNING": 3, - "SUCCEEDED": 4, - "FAILED": 5, - "CANCELLED": 6, -} - -func (x TransferState) String() string { - return proto.EnumName(TransferState_name, int32(x)) -} - -func (TransferState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_90c2574420b818ad, []int{1} -} - -// Represents data transfer user facing message severity. -type TransferMessage_MessageSeverity int32 - -const ( - // No severity specified. - TransferMessage_MESSAGE_SEVERITY_UNSPECIFIED TransferMessage_MessageSeverity = 0 - // Informational message. - TransferMessage_INFO TransferMessage_MessageSeverity = 1 - // Warning message. - TransferMessage_WARNING TransferMessage_MessageSeverity = 2 - // Error message. - TransferMessage_ERROR TransferMessage_MessageSeverity = 3 -) - -var TransferMessage_MessageSeverity_name = map[int32]string{ - 0: "MESSAGE_SEVERITY_UNSPECIFIED", - 1: "INFO", - 2: "WARNING", - 3: "ERROR", -} - -var TransferMessage_MessageSeverity_value = map[string]int32{ - "MESSAGE_SEVERITY_UNSPECIFIED": 0, - "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_90c2574420b818ad, []int{3, 0} -} - -// Options customizing the data transfer schedule. -type ScheduleOptions struct { - // If true, automatic scheduling of data transfer runs for this configuration - // will be disabled. The runs can be started on ad-hoc basis using - // StartManualTransferRuns API. When automatic scheduling is disabled, the - // TransferConfig.schedule field will be ignored. - DisableAutoScheduling bool `protobuf:"varint,3,opt,name=disable_auto_scheduling,json=disableAutoScheduling,proto3" json:"disable_auto_scheduling,omitempty"` - // Specifies time to start scheduling transfer runs. The first run will be - // scheduled at or after the start time according to a recurrence pattern - // defined in the schedule string. The start time can be changed at any - // moment. The time when a data transfer can be trigerred manually is not - // limited by this option. - StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // Defines time to stop scheduling transfer runs. A transfer run cannot be - // scheduled at or after the end time. The end time can be changed at any - // moment. The time when a data transfer can be trigerred manually is not - // limited by this option. - 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 *ScheduleOptions) Reset() { *m = ScheduleOptions{} } -func (m *ScheduleOptions) String() string { return proto.CompactTextString(m) } -func (*ScheduleOptions) ProtoMessage() {} -func (*ScheduleOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_90c2574420b818ad, []int{0} -} - -func (m *ScheduleOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ScheduleOptions.Unmarshal(m, b) -} -func (m *ScheduleOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ScheduleOptions.Marshal(b, m, deterministic) -} -func (m *ScheduleOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_ScheduleOptions.Merge(m, src) -} -func (m *ScheduleOptions) XXX_Size() int { - return xxx_messageInfo_ScheduleOptions.Size(m) -} -func (m *ScheduleOptions) XXX_DiscardUnknown() { - xxx_messageInfo_ScheduleOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_ScheduleOptions proto.InternalMessageInfo - -func (m *ScheduleOptions) GetDisableAutoScheduling() bool { - if m != nil { - return m.DisableAutoScheduling - } - return false -} - -func (m *ScheduleOptions) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *ScheduleOptions) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -// Represents a data transfer configuration. A transfer configuration -// contains all metadata needed to perform a data transfer. For example, -// `destination_dataset_id` specifies where data should be stored. -// When a new transfer configuration is created, the specified -// `destination_dataset_id` is created when needed and shared with the -// appropriate data source service account. -type TransferConfig struct { - // The resource name of the transfer config. - // Transfer config names have the form of - // `projects/{project_id}/locations/{region}/transferConfigs/{config_id}`. - // The name is automatically generated based on the config_id specified in - // CreateTransferConfigRequest along with project_id and region. If config_id - // is not provided, usually a uuid, even though it is not guaranteed or - // required, will be generated for config_id. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The desination of the transfer config. - // - // Types that are valid to be assigned to Destination: - // *TransferConfig_DestinationDatasetId - Destination isTransferConfig_Destination `protobuf_oneof:"destination"` - // User specified display name for the data transfer. - DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Data source id. Cannot be changed once data transfer is created. - DataSourceId string `protobuf:"bytes,5,opt,name=data_source_id,json=dataSourceId,proto3" json:"data_source_id,omitempty"` - // Data transfer specific parameters. - Params *_struct.Struct `protobuf:"bytes,9,opt,name=params,proto3" json:"params,omitempty"` - // Data transfer schedule. - // If the data source does not support a custom schedule, this should be - // empty. If it is empty, the default value for the data source will be - // used. - // The specified times are in UTC. - // Examples of valid format: - // `1st,3rd monday of month 15:30`, - // `every wed,fri of jan,jun 13:15`, and - // `first sunday of quarter 00:00`. - // See more explanation about the format here: - // https://cloud.google.com/appengine/docs/flexible/python/scheduling-jobs-with-cron-yaml#the_schedule_format - // NOTE: the granularity should be at least 8 hours, or less frequent. - Schedule string `protobuf:"bytes,7,opt,name=schedule,proto3" json:"schedule,omitempty"` - // Options customizing the data transfer schedule. - ScheduleOptions *ScheduleOptions `protobuf:"bytes,24,opt,name=schedule_options,json=scheduleOptions,proto3" json:"schedule_options,omitempty"` - // The number of days to look back to automatically refresh the data. - // For example, if `data_refresh_window_days = 10`, then every day - // BigQuery reingests data for [today-10, today-1], rather than ingesting data - // for just [today-1]. - // Only valid if the data source supports the feature. Set the value to 0 - // to use the default value. - DataRefreshWindowDays int32 `protobuf:"varint,12,opt,name=data_refresh_window_days,json=dataRefreshWindowDays,proto3" json:"data_refresh_window_days,omitempty"` - // Is this config disabled. When set to true, no runs are scheduled - // for a given transfer. - Disabled bool `protobuf:"varint,13,opt,name=disabled,proto3" json:"disabled,omitempty"` - // Output only. Data transfer modification time. Ignored by server on input. - UpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - // Output only. Next time when data transfer will run. - NextRunTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=next_run_time,json=nextRunTime,proto3" json:"next_run_time,omitempty"` - // Output only. State of the most recently updated transfer run. - State TransferState `protobuf:"varint,10,opt,name=state,proto3,enum=google.cloud.bigquery.datatransfer.v1.TransferState" json:"state,omitempty"` - // Deprecated. Unique ID of the user on whose behalf transfer is done. - UserId int64 `protobuf:"varint,11,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` - // Output only. Region in which BigQuery dataset is located. - DatasetRegion string `protobuf:"bytes,14,opt,name=dataset_region,json=datasetRegion,proto3" json:"dataset_region,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_90c2574420b818ad, []int{1} -} - -func (m *TransferConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransferConfig.Unmarshal(m, b) -} -func (m *TransferConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransferConfig.Marshal(b, m, deterministic) -} -func (m *TransferConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransferConfig.Merge(m, src) -} -func (m *TransferConfig) XXX_Size() int { - return xxx_messageInfo_TransferConfig.Size(m) -} -func (m *TransferConfig) XXX_DiscardUnknown() { - xxx_messageInfo_TransferConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_TransferConfig proto.InternalMessageInfo - -func (m *TransferConfig) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -type isTransferConfig_Destination interface { - isTransferConfig_Destination() -} - -type TransferConfig_DestinationDatasetId struct { - DestinationDatasetId string `protobuf:"bytes,2,opt,name=destination_dataset_id,json=destinationDatasetId,proto3,oneof"` -} - -func (*TransferConfig_DestinationDatasetId) isTransferConfig_Destination() {} - -func (m *TransferConfig) GetDestination() isTransferConfig_Destination { - if m != nil { - return m.Destination - } - return nil -} - -func (m *TransferConfig) GetDestinationDatasetId() string { - if x, ok := m.GetDestination().(*TransferConfig_DestinationDatasetId); ok { - return x.DestinationDatasetId - } - return "" -} - -func (m *TransferConfig) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *TransferConfig) GetDataSourceId() string { - if m != nil { - return m.DataSourceId - } - return "" -} - -func (m *TransferConfig) GetParams() *_struct.Struct { - if m != nil { - return m.Params - } - return nil -} - -func (m *TransferConfig) GetSchedule() string { - if m != nil { - return m.Schedule - } - return "" -} - -func (m *TransferConfig) GetScheduleOptions() *ScheduleOptions { - if m != nil { - return m.ScheduleOptions - } - return nil -} - -func (m *TransferConfig) GetDataRefreshWindowDays() int32 { - if m != nil { - return m.DataRefreshWindowDays - } - return 0 -} - -func (m *TransferConfig) GetDisabled() bool { - if m != nil { - return m.Disabled - } - return false -} - -func (m *TransferConfig) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -func (m *TransferConfig) GetNextRunTime() *timestamp.Timestamp { - if m != nil { - return m.NextRunTime - } - return nil -} - -func (m *TransferConfig) GetState() TransferState { - if m != nil { - return m.State - } - return TransferState_TRANSFER_STATE_UNSPECIFIED -} - -func (m *TransferConfig) GetUserId() int64 { - if m != nil { - return m.UserId - } - return 0 -} - -func (m *TransferConfig) GetDatasetRegion() string { - if m != nil { - return m.DatasetRegion - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*TransferConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*TransferConfig_DestinationDatasetId)(nil), - } -} - -// Represents a data transfer run. -type TransferRun struct { - // The resource name of the transfer run. - // Transfer run names have the form - // `projects/{project_id}/locations/{location}/transferConfigs/{config_id}/runs/{run_id}`. - // The name is ignored when creating a transfer run. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Minimum time after which a transfer run can be started. - ScheduleTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"` - // For batch transfer runs, specifies the date and time of the data should be - // ingested. - RunTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=run_time,json=runTime,proto3" json:"run_time,omitempty"` - // Status of the transfer run. - ErrorStatus *status.Status `protobuf:"bytes,21,opt,name=error_status,json=errorStatus,proto3" json:"error_status,omitempty"` - // Output only. Time when transfer run was started. - // Parameter ignored by server for input requests. - StartTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // Output only. Time when transfer run ended. - // Parameter ignored by server for input requests. - EndTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - // Output only. Last time the data transfer run state was updated. - UpdateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - // Output only. Data transfer specific parameters. - Params *_struct.Struct `protobuf:"bytes,9,opt,name=params,proto3" json:"params,omitempty"` - // Data transfer destination. - // - // Types that are valid to be assigned to Destination: - // *TransferRun_DestinationDatasetId - Destination isTransferRun_Destination `protobuf_oneof:"destination"` - // Output only. Data source id. - DataSourceId string `protobuf:"bytes,7,opt,name=data_source_id,json=dataSourceId,proto3" json:"data_source_id,omitempty"` - // Data transfer run state. Ignored for input requests. - State TransferState `protobuf:"varint,8,opt,name=state,proto3,enum=google.cloud.bigquery.datatransfer.v1.TransferState" json:"state,omitempty"` - // Deprecated. Unique ID of the user on whose behalf transfer is done. - UserId int64 `protobuf:"varint,11,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` - // Output only. Describes the schedule of this transfer run if it was - // created as part of a regular schedule. For batch transfer runs that are - // scheduled manually, this is empty. - // NOTE: the system might choose to delay the schedule depending on the - // current load, so `schedule_time` doesn't always match this. - Schedule string `protobuf:"bytes,12,opt,name=schedule,proto3" json:"schedule,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_90c2574420b818ad, []int{2} -} - -func (m *TransferRun) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransferRun.Unmarshal(m, b) -} -func (m *TransferRun) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransferRun.Marshal(b, m, deterministic) -} -func (m *TransferRun) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransferRun.Merge(m, src) -} -func (m *TransferRun) XXX_Size() int { - return xxx_messageInfo_TransferRun.Size(m) -} -func (m *TransferRun) XXX_DiscardUnknown() { - xxx_messageInfo_TransferRun.DiscardUnknown(m) -} - -var xxx_messageInfo_TransferRun proto.InternalMessageInfo - -func (m *TransferRun) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *TransferRun) GetScheduleTime() *timestamp.Timestamp { - if m != nil { - return m.ScheduleTime - } - return nil -} - -func (m *TransferRun) GetRunTime() *timestamp.Timestamp { - if m != nil { - return m.RunTime - } - return nil -} - -func (m *TransferRun) GetErrorStatus() *status.Status { - if m != nil { - return m.ErrorStatus - } - return nil -} - -func (m *TransferRun) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *TransferRun) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -func (m *TransferRun) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -func (m *TransferRun) GetParams() *_struct.Struct { - if m != nil { - return m.Params - } - return nil -} - -type isTransferRun_Destination interface { - isTransferRun_Destination() -} - -type TransferRun_DestinationDatasetId struct { - DestinationDatasetId string `protobuf:"bytes,2,opt,name=destination_dataset_id,json=destinationDatasetId,proto3,oneof"` -} - -func (*TransferRun_DestinationDatasetId) isTransferRun_Destination() {} - -func (m *TransferRun) GetDestination() isTransferRun_Destination { - if m != nil { - return m.Destination - } - return nil -} - -func (m *TransferRun) GetDestinationDatasetId() string { - if x, ok := m.GetDestination().(*TransferRun_DestinationDatasetId); ok { - return x.DestinationDatasetId - } - return "" -} - -func (m *TransferRun) GetDataSourceId() string { - if m != nil { - return m.DataSourceId - } - return "" -} - -func (m *TransferRun) GetState() TransferState { - if m != nil { - return m.State - } - return TransferState_TRANSFER_STATE_UNSPECIFIED -} - -func (m *TransferRun) GetUserId() int64 { - if m != nil { - return m.UserId - } - return 0 -} - -func (m *TransferRun) GetSchedule() string { - if m != nil { - return m.Schedule - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*TransferRun) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*TransferRun_DestinationDatasetId)(nil), - } -} - -// Represents a user facing message for a particular data transfer run. -type TransferMessage struct { - // Time when message was logged. - MessageTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=message_time,json=messageTime,proto3" json:"message_time,omitempty"` - // Message severity. - Severity TransferMessage_MessageSeverity `protobuf:"varint,2,opt,name=severity,proto3,enum=google.cloud.bigquery.datatransfer.v1.TransferMessage_MessageSeverity" json:"severity,omitempty"` - // Message text. - MessageText string `protobuf:"bytes,3,opt,name=message_text,json=messageText,proto3" json:"message_text,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_90c2574420b818ad, []int{3} -} - -func (m *TransferMessage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransferMessage.Unmarshal(m, b) -} -func (m *TransferMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransferMessage.Marshal(b, m, deterministic) -} -func (m *TransferMessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransferMessage.Merge(m, src) -} -func (m *TransferMessage) XXX_Size() int { - return xxx_messageInfo_TransferMessage.Size(m) -} -func (m *TransferMessage) XXX_DiscardUnknown() { - xxx_messageInfo_TransferMessage.DiscardUnknown(m) -} - -var xxx_messageInfo_TransferMessage proto.InternalMessageInfo - -func (m *TransferMessage) GetMessageTime() *timestamp.Timestamp { - if m != nil { - return m.MessageTime - } - return nil -} - -func (m *TransferMessage) GetSeverity() TransferMessage_MessageSeverity { - if m != nil { - return m.Severity - } - return TransferMessage_MESSAGE_SEVERITY_UNSPECIFIED -} - -func (m *TransferMessage) GetMessageText() string { - if m != nil { - return m.MessageText - } - return "" -} - -func init() { - proto.RegisterEnum("google.cloud.bigquery.datatransfer.v1.TransferType", TransferType_name, TransferType_value) - proto.RegisterEnum("google.cloud.bigquery.datatransfer.v1.TransferState", TransferState_name, TransferState_value) - proto.RegisterEnum("google.cloud.bigquery.datatransfer.v1.TransferMessage_MessageSeverity", TransferMessage_MessageSeverity_name, TransferMessage_MessageSeverity_value) - proto.RegisterType((*ScheduleOptions)(nil), "google.cloud.bigquery.datatransfer.v1.ScheduleOptions") - proto.RegisterType((*TransferConfig)(nil), "google.cloud.bigquery.datatransfer.v1.TransferConfig") - proto.RegisterType((*TransferRun)(nil), "google.cloud.bigquery.datatransfer.v1.TransferRun") - proto.RegisterType((*TransferMessage)(nil), "google.cloud.bigquery.datatransfer.v1.TransferMessage") -} - -func init() { - proto.RegisterFile("google/cloud/bigquery/datatransfer/v1/transfer.proto", fileDescriptor_90c2574420b818ad) -} - -var fileDescriptor_90c2574420b818ad = []byte{ - // 1151 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xcd, 0x6e, 0xdb, 0x46, - 0x10, 0x0e, 0x25, 0xeb, 0x6f, 0x28, 0xd9, 0xc2, 0xa2, 0xa9, 0x19, 0x21, 0x6d, 0x54, 0xa3, 0x01, - 0x9c, 0x1c, 0x48, 0xd8, 0x75, 0x52, 0x34, 0x41, 0x7f, 0x28, 0x89, 0x76, 0xd4, 0x26, 0xb2, 0xb3, - 0xa4, 0x13, 0xa4, 0x30, 0x40, 0x50, 0xe2, 0x9a, 0x61, 0x20, 0x91, 0xec, 0x2e, 0xe9, 0x44, 0x08, - 0x72, 0xee, 0xa1, 0x6f, 0xd1, 0x63, 0x0f, 0x7d, 0x81, 0x9e, 0x7b, 0xe9, 0xa5, 0xaf, 0xd0, 0x5b, - 0x81, 0x3c, 0x45, 0xb1, 0x4b, 0x52, 0x91, 0xe5, 0xb4, 0x92, 0x7b, 0xd2, 0xce, 0xce, 0x7c, 0xdf, - 0xce, 0xee, 0x7c, 0x33, 0x14, 0xec, 0x79, 0x61, 0xe8, 0x8d, 0x89, 0x36, 0x1a, 0x87, 0x89, 0xab, - 0x0d, 0x7d, 0xef, 0x87, 0x84, 0xd0, 0xa9, 0xe6, 0x3a, 0xb1, 0x13, 0x53, 0x27, 0x60, 0xa7, 0x84, - 0x6a, 0x67, 0x3b, 0x5a, 0xbe, 0x56, 0x23, 0x1a, 0xc6, 0x21, 0xba, 0x99, 0xa2, 0x54, 0x81, 0x52, - 0x73, 0x94, 0x3a, 0x8f, 0x52, 0xcf, 0x76, 0x5a, 0x37, 0x32, 0x72, 0x27, 0xf2, 0xb5, 0x53, 0x9f, - 0x8c, 0x5d, 0x7b, 0x48, 0x9e, 0x3b, 0x67, 0x7e, 0x98, 0xf1, 0xb4, 0xae, 0xcd, 0x05, 0x50, 0xc2, - 0xc2, 0x84, 0x8e, 0x48, 0xe6, 0xba, 0x9e, 0xb9, 0x84, 0x35, 0x4c, 0x4e, 0x35, 0x16, 0xd3, 0x64, - 0x14, 0x67, 0xde, 0x1b, 0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, 0x7f, 0x0a, 0xeb, 0x9c, 0xce, - 0x4e, 0x8b, 0xc5, 0x29, 0x4b, 0x22, 0xa8, 0xce, 0x77, 0x4d, 0xb1, 0xd9, 0x77, 0x91, 0x06, 0xe5, - 0xc8, 0xa1, 0xce, 0x84, 0x29, 0x35, 0x71, 0xb9, 0xcd, 0x0b, 0x97, 0x33, 0x45, 0x39, 0x71, 0x16, - 0x86, 0x5a, 0x50, 0xcd, 0x5e, 0x9d, 0x28, 0x15, 0x41, 0x38, 0xb3, 0x91, 0x03, 0xcd, 0x7c, 0x6d, - 0x87, 0x69, 0xc9, 0x14, 0x45, 0xd0, 0xde, 0x55, 0x57, 0x12, 0xa2, 0xba, 0x50, 0x70, 0xbc, 0xc1, - 0x16, 0x14, 0xf0, 0x39, 0x28, 0xe2, 0x56, 0x94, 0x9c, 0x52, 0xc2, 0x9e, 0xdb, 0x2f, 0xfd, 0xc0, - 0x0d, 0x5f, 0xda, 0xae, 0x33, 0x65, 0x4a, 0xbd, 0x2d, 0x6d, 0x97, 0xf0, 0x55, 0xee, 0xc7, 0xa9, - 0xfb, 0xa9, 0xf0, 0xf6, 0x9c, 0xa9, 0xc8, 0x3b, 0xd3, 0x86, 0xab, 0x34, 0x84, 0x56, 0x66, 0x36, - 0xfa, 0x06, 0xe4, 0x24, 0x72, 0x9d, 0x98, 0xa4, 0x65, 0x5e, 0x5b, 0x56, 0xe6, 0x4e, 0xf1, 0x2f, - 0xbd, 0x88, 0x21, 0xc5, 0x08, 0x95, 0x74, 0xa1, 0x11, 0x90, 0x57, 0xb1, 0x4d, 0x93, 0x20, 0xe5, - 0xa8, 0xae, 0xc6, 0x21, 0x73, 0x14, 0x4e, 0x02, 0x41, 0x72, 0x08, 0x25, 0xde, 0x01, 0x44, 0x81, - 0xb6, 0xb4, 0xbd, 0xbe, 0xbb, 0xb7, 0xe2, 0x9b, 0xe5, 0x32, 0x33, 0x39, 0x36, 0xa5, 0x4d, 0x79, - 0xd0, 0x26, 0x54, 0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1e, 0x8b, 0x9c, 0x78, 0xf3, 0xe7, 0x69, 0xa8, 0x4f, 0x76, 0xfe, 0xc8, 0xe3, - 0x4e, 0x44, 0xdc, 0x49, 0x1e, 0x77, 0x32, 0x1f, 0x77, 0xf2, 0x64, 0x67, 0x58, 0x16, 0x59, 0x7d, - 0xf6, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb3, 0xf7, 0x51, 0xb3, 0x2e, 0x0b, 0x00, 0x00, -} 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 deleted file mode 100644 index cec77952..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/logging/v1/audit_data.pb.go +++ /dev/null @@ -1,2653 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/bigquery/logging/v1/audit_data.proto - -package logging - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// BigQuery request and response messages for audit log. -// Note: `Table.schema` has been deprecated in favor of `Table.schemaJson`. -// `Table.schema` may continue to be present in your logs during this -// transition. -type AuditData struct { - // Request data for each BigQuery method. - // - // Types that are valid to be assigned to Request: - // *AuditData_TableInsertRequest - // *AuditData_TableUpdateRequest - // *AuditData_DatasetListRequest - // *AuditData_DatasetInsertRequest - // *AuditData_DatasetUpdateRequest - // *AuditData_JobInsertRequest - // *AuditData_JobQueryRequest - // *AuditData_JobGetQueryResultsRequest - // *AuditData_TableDataListRequest - Request isAuditData_Request `protobuf_oneof:"request"` - // Response data for each BigQuery method. - // - // Types that are valid to be assigned to Response: - // *AuditData_TableInsertResponse - // *AuditData_TableUpdateResponse - // *AuditData_DatasetInsertResponse - // *AuditData_DatasetUpdateResponse - // *AuditData_JobInsertResponse - // *AuditData_JobQueryResponse - // *AuditData_JobGetQueryResultsResponse - // *AuditData_JobQueryDoneResponse - Response isAuditData_Response `protobuf_oneof:"response"` - // A job completion event. - JobCompletedEvent *JobCompletedEvent `protobuf:"bytes,17,opt,name=job_completed_event,json=jobCompletedEvent,proto3" json:"job_completed_event,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3d113473d81b6d20, []int{0} -} - -func (m *AuditData) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AuditData.Unmarshal(m, b) -} -func (m *AuditData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AuditData.Marshal(b, m, deterministic) -} -func (m *AuditData) XXX_Merge(src proto.Message) { - xxx_messageInfo_AuditData.Merge(m, src) -} -func (m *AuditData) XXX_Size() int { - return xxx_messageInfo_AuditData.Size(m) -} -func (m *AuditData) XXX_DiscardUnknown() { - xxx_messageInfo_AuditData.DiscardUnknown(m) -} - -var xxx_messageInfo_AuditData proto.InternalMessageInfo - -type isAuditData_Request interface { - isAuditData_Request() -} - -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"` -} - -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 { - return m.Request - } - return nil -} - -func (m *AuditData) GetTableInsertRequest() *TableInsertRequest { - if x, ok := m.GetRequest().(*AuditData_TableInsertRequest); ok { - return x.TableInsertRequest - } - return nil -} - -func (m *AuditData) GetTableUpdateRequest() *TableUpdateRequest { - if x, ok := m.GetRequest().(*AuditData_TableUpdateRequest); ok { - return x.TableUpdateRequest - } - return nil -} - -func (m *AuditData) GetDatasetListRequest() *DatasetListRequest { - if x, ok := m.GetRequest().(*AuditData_DatasetListRequest); ok { - return x.DatasetListRequest - } - return nil -} - -func (m *AuditData) GetDatasetInsertRequest() *DatasetInsertRequest { - if x, ok := m.GetRequest().(*AuditData_DatasetInsertRequest); ok { - return x.DatasetInsertRequest - } - return nil -} - -func (m *AuditData) GetDatasetUpdateRequest() *DatasetUpdateRequest { - if x, ok := m.GetRequest().(*AuditData_DatasetUpdateRequest); ok { - return x.DatasetUpdateRequest - } - return nil -} - -func (m *AuditData) GetJobInsertRequest() *JobInsertRequest { - if x, ok := m.GetRequest().(*AuditData_JobInsertRequest); ok { - return x.JobInsertRequest - } - return nil -} - -func (m *AuditData) GetJobQueryRequest() *JobQueryRequest { - if x, ok := m.GetRequest().(*AuditData_JobQueryRequest); ok { - return x.JobQueryRequest - } - return nil -} - -func (m *AuditData) GetJobGetQueryResultsRequest() *JobGetQueryResultsRequest { - if x, ok := m.GetRequest().(*AuditData_JobGetQueryResultsRequest); ok { - return x.JobGetQueryResultsRequest - } - return nil -} - -func (m *AuditData) GetTableDataListRequest() *TableDataListRequest { - if x, ok := m.GetRequest().(*AuditData_TableDataListRequest); ok { - return x.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 - } - return nil -} - -func (m *AuditData) GetTableUpdateResponse() *TableUpdateResponse { - if x, ok := m.GetResponse().(*AuditData_TableUpdateResponse); ok { - return x.TableUpdateResponse - } - return nil -} - -func (m *AuditData) GetDatasetInsertResponse() *DatasetInsertResponse { - if x, ok := m.GetResponse().(*AuditData_DatasetInsertResponse); ok { - return x.DatasetInsertResponse - } - return nil -} - -func (m *AuditData) GetDatasetUpdateResponse() *DatasetUpdateResponse { - if x, ok := m.GetResponse().(*AuditData_DatasetUpdateResponse); ok { - return x.DatasetUpdateResponse - } - return nil -} - -func (m *AuditData) GetJobInsertResponse() *JobInsertResponse { - if x, ok := m.GetResponse().(*AuditData_JobInsertResponse); ok { - return x.JobInsertResponse - } - return nil -} - -func (m *AuditData) GetJobQueryResponse() *JobQueryResponse { - if x, ok := m.GetResponse().(*AuditData_JobQueryResponse); ok { - return x.JobQueryResponse - } - return nil -} - -func (m *AuditData) GetJobGetQueryResultsResponse() *JobGetQueryResultsResponse { - if x, ok := m.GetResponse().(*AuditData_JobGetQueryResultsResponse); ok { - return x.JobGetQueryResultsResponse - } - return nil -} - -func (m *AuditData) GetJobQueryDoneResponse() *JobQueryDoneResponse { - if x, ok := m.GetResponse().(*AuditData_JobQueryDoneResponse); ok { - return x.JobQueryDoneResponse - } - return nil -} - -func (m *AuditData) GetJobCompletedEvent() *JobCompletedEvent { - if m != nil { - return m.JobCompletedEvent - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AuditData) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AuditData_TableInsertRequest)(nil), - (*AuditData_TableUpdateRequest)(nil), - (*AuditData_DatasetListRequest)(nil), - (*AuditData_DatasetInsertRequest)(nil), - (*AuditData_DatasetUpdateRequest)(nil), - (*AuditData_JobInsertRequest)(nil), - (*AuditData_JobQueryRequest)(nil), - (*AuditData_JobGetQueryResultsRequest)(nil), - (*AuditData_TableDataListRequest)(nil), - (*AuditData_TableInsertResponse)(nil), - (*AuditData_TableUpdateResponse)(nil), - (*AuditData_DatasetInsertResponse)(nil), - (*AuditData_DatasetUpdateResponse)(nil), - (*AuditData_JobInsertResponse)(nil), - (*AuditData_JobQueryResponse)(nil), - (*AuditData_JobGetQueryResultsResponse)(nil), - (*AuditData_JobQueryDoneResponse)(nil), - } -} - -// Table insert request. -type TableInsertRequest struct { - // The new table. - Resource *Table `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3d113473d81b6d20, []int{1} -} - -func (m *TableInsertRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TableInsertRequest.Unmarshal(m, b) -} -func (m *TableInsertRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TableInsertRequest.Marshal(b, m, deterministic) -} -func (m *TableInsertRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_TableInsertRequest.Merge(m, src) -} -func (m *TableInsertRequest) XXX_Size() int { - return xxx_messageInfo_TableInsertRequest.Size(m) -} -func (m *TableInsertRequest) XXX_DiscardUnknown() { - xxx_messageInfo_TableInsertRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_TableInsertRequest proto.InternalMessageInfo - -func (m *TableInsertRequest) GetResource() *Table { - if m != nil { - return m.Resource - } - return nil -} - -// Table update request. -type TableUpdateRequest struct { - // The table to be updated. - Resource *Table `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3d113473d81b6d20, []int{2} -} - -func (m *TableUpdateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TableUpdateRequest.Unmarshal(m, b) -} -func (m *TableUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TableUpdateRequest.Marshal(b, m, deterministic) -} -func (m *TableUpdateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_TableUpdateRequest.Merge(m, src) -} -func (m *TableUpdateRequest) XXX_Size() int { - return xxx_messageInfo_TableUpdateRequest.Size(m) -} -func (m *TableUpdateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_TableUpdateRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_TableUpdateRequest proto.InternalMessageInfo - -func (m *TableUpdateRequest) GetResource() *Table { - if m != nil { - return m.Resource - } - return nil -} - -// Table insert response. -type TableInsertResponse struct { - // Final state of the inserted table. - Resource *Table `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3d113473d81b6d20, []int{3} -} - -func (m *TableInsertResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TableInsertResponse.Unmarshal(m, b) -} -func (m *TableInsertResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TableInsertResponse.Marshal(b, m, deterministic) -} -func (m *TableInsertResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_TableInsertResponse.Merge(m, src) -} -func (m *TableInsertResponse) XXX_Size() int { - return xxx_messageInfo_TableInsertResponse.Size(m) -} -func (m *TableInsertResponse) XXX_DiscardUnknown() { - xxx_messageInfo_TableInsertResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_TableInsertResponse proto.InternalMessageInfo - -func (m *TableInsertResponse) GetResource() *Table { - if m != nil { - return m.Resource - } - return nil -} - -// Table update response. -type TableUpdateResponse struct { - // Final state of the updated table. - Resource *Table `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3d113473d81b6d20, []int{4} -} - -func (m *TableUpdateResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TableUpdateResponse.Unmarshal(m, b) -} -func (m *TableUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TableUpdateResponse.Marshal(b, m, deterministic) -} -func (m *TableUpdateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_TableUpdateResponse.Merge(m, src) -} -func (m *TableUpdateResponse) XXX_Size() int { - return xxx_messageInfo_TableUpdateResponse.Size(m) -} -func (m *TableUpdateResponse) XXX_DiscardUnknown() { - xxx_messageInfo_TableUpdateResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_TableUpdateResponse proto.InternalMessageInfo - -func (m *TableUpdateResponse) GetResource() *Table { - if m != nil { - return m.Resource - } - return nil -} - -// Dataset list request. -type DatasetListRequest struct { - // Whether to list all datasets, including hidden ones. - ListAll bool `protobuf:"varint,1,opt,name=list_all,json=listAll,proto3" json:"list_all,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3d113473d81b6d20, []int{5} -} - -func (m *DatasetListRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DatasetListRequest.Unmarshal(m, b) -} -func (m *DatasetListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DatasetListRequest.Marshal(b, m, deterministic) -} -func (m *DatasetListRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DatasetListRequest.Merge(m, src) -} -func (m *DatasetListRequest) XXX_Size() int { - return xxx_messageInfo_DatasetListRequest.Size(m) -} -func (m *DatasetListRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DatasetListRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DatasetListRequest proto.InternalMessageInfo - -func (m *DatasetListRequest) GetListAll() bool { - if m != nil { - return m.ListAll - } - return false -} - -// Dataset insert request. -type DatasetInsertRequest struct { - // The dataset to be inserted. - Resource *Dataset `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3d113473d81b6d20, []int{6} -} - -func (m *DatasetInsertRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DatasetInsertRequest.Unmarshal(m, b) -} -func (m *DatasetInsertRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DatasetInsertRequest.Marshal(b, m, deterministic) -} -func (m *DatasetInsertRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DatasetInsertRequest.Merge(m, src) -} -func (m *DatasetInsertRequest) XXX_Size() int { - return xxx_messageInfo_DatasetInsertRequest.Size(m) -} -func (m *DatasetInsertRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DatasetInsertRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DatasetInsertRequest proto.InternalMessageInfo - -func (m *DatasetInsertRequest) GetResource() *Dataset { - if m != nil { - return m.Resource - } - return nil -} - -// Dataset insert response. -type DatasetInsertResponse struct { - // Final state of the inserted dataset. - Resource *Dataset `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3d113473d81b6d20, []int{7} -} - -func (m *DatasetInsertResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DatasetInsertResponse.Unmarshal(m, b) -} -func (m *DatasetInsertResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DatasetInsertResponse.Marshal(b, m, deterministic) -} -func (m *DatasetInsertResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DatasetInsertResponse.Merge(m, src) -} -func (m *DatasetInsertResponse) XXX_Size() int { - return xxx_messageInfo_DatasetInsertResponse.Size(m) -} -func (m *DatasetInsertResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DatasetInsertResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_DatasetInsertResponse proto.InternalMessageInfo - -func (m *DatasetInsertResponse) GetResource() *Dataset { - if m != nil { - return m.Resource - } - return nil -} - -// Dataset update request. -type DatasetUpdateRequest struct { - // The dataset to be updated. - Resource *Dataset `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3d113473d81b6d20, []int{8} -} - -func (m *DatasetUpdateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DatasetUpdateRequest.Unmarshal(m, b) -} -func (m *DatasetUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DatasetUpdateRequest.Marshal(b, m, deterministic) -} -func (m *DatasetUpdateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DatasetUpdateRequest.Merge(m, src) -} -func (m *DatasetUpdateRequest) XXX_Size() int { - return xxx_messageInfo_DatasetUpdateRequest.Size(m) -} -func (m *DatasetUpdateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DatasetUpdateRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DatasetUpdateRequest proto.InternalMessageInfo - -func (m *DatasetUpdateRequest) GetResource() *Dataset { - if m != nil { - return m.Resource - } - return nil -} - -// Dataset update response. -type DatasetUpdateResponse struct { - // Final state of the updated dataset. - Resource *Dataset `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3d113473d81b6d20, []int{9} -} - -func (m *DatasetUpdateResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DatasetUpdateResponse.Unmarshal(m, b) -} -func (m *DatasetUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DatasetUpdateResponse.Marshal(b, m, deterministic) -} -func (m *DatasetUpdateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DatasetUpdateResponse.Merge(m, src) -} -func (m *DatasetUpdateResponse) XXX_Size() int { - return xxx_messageInfo_DatasetUpdateResponse.Size(m) -} -func (m *DatasetUpdateResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DatasetUpdateResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_DatasetUpdateResponse proto.InternalMessageInfo - -func (m *DatasetUpdateResponse) GetResource() *Dataset { - if m != nil { - return m.Resource - } - return nil -} - -// Job insert request. -type JobInsertRequest struct { - // Job insert request. - Resource *Job `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3d113473d81b6d20, []int{10} -} - -func (m *JobInsertRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JobInsertRequest.Unmarshal(m, b) -} -func (m *JobInsertRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JobInsertRequest.Marshal(b, m, deterministic) -} -func (m *JobInsertRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobInsertRequest.Merge(m, src) -} -func (m *JobInsertRequest) XXX_Size() int { - return xxx_messageInfo_JobInsertRequest.Size(m) -} -func (m *JobInsertRequest) XXX_DiscardUnknown() { - xxx_messageInfo_JobInsertRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_JobInsertRequest proto.InternalMessageInfo - -func (m *JobInsertRequest) GetResource() *Job { - if m != nil { - return m.Resource - } - return nil -} - -// Job insert response. -type JobInsertResponse struct { - // Job insert response. - Resource *Job `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3d113473d81b6d20, []int{11} -} - -func (m *JobInsertResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JobInsertResponse.Unmarshal(m, b) -} -func (m *JobInsertResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JobInsertResponse.Marshal(b, m, deterministic) -} -func (m *JobInsertResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobInsertResponse.Merge(m, src) -} -func (m *JobInsertResponse) XXX_Size() int { - return xxx_messageInfo_JobInsertResponse.Size(m) -} -func (m *JobInsertResponse) XXX_DiscardUnknown() { - xxx_messageInfo_JobInsertResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_JobInsertResponse proto.InternalMessageInfo - -func (m *JobInsertResponse) GetResource() *Job { - if m != nil { - return m.Resource - } - return nil -} - -// Job query request. -type JobQueryRequest struct { - // The query. - Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` - // The maximum number of results. - MaxResults uint32 `protobuf:"varint,2,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"` - // The default dataset for tables that do not have a dataset specified. - DefaultDataset *DatasetName `protobuf:"bytes,3,opt,name=default_dataset,json=defaultDataset,proto3" json:"default_dataset,omitempty"` - // Project that the query should be charged to. - ProjectId string `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // If true, don't actually run the job. Just check that it would run. - DryRun bool `protobuf:"varint,5,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3d113473d81b6d20, []int{12} -} - -func (m *JobQueryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JobQueryRequest.Unmarshal(m, b) -} -func (m *JobQueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JobQueryRequest.Marshal(b, m, deterministic) -} -func (m *JobQueryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobQueryRequest.Merge(m, src) -} -func (m *JobQueryRequest) XXX_Size() int { - return xxx_messageInfo_JobQueryRequest.Size(m) -} -func (m *JobQueryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_JobQueryRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_JobQueryRequest proto.InternalMessageInfo - -func (m *JobQueryRequest) GetQuery() string { - if m != nil { - return m.Query - } - return "" -} - -func (m *JobQueryRequest) GetMaxResults() uint32 { - if m != nil { - return m.MaxResults - } - return 0 -} - -func (m *JobQueryRequest) GetDefaultDataset() *DatasetName { - if m != nil { - return m.DefaultDataset - } - return nil -} - -func (m *JobQueryRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *JobQueryRequest) GetDryRun() bool { - if m != nil { - return m.DryRun - } - return false -} - -// Job query response. -type JobQueryResponse struct { - // The total number of rows in the full query result set. - TotalResults uint64 `protobuf:"varint,1,opt,name=total_results,json=totalResults,proto3" json:"total_results,omitempty"` - // Information about the queried job. - 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 *JobQueryResponse) Reset() { *m = JobQueryResponse{} } -func (m *JobQueryResponse) String() string { return proto.CompactTextString(m) } -func (*JobQueryResponse) ProtoMessage() {} -func (*JobQueryResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3d113473d81b6d20, []int{13} -} - -func (m *JobQueryResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JobQueryResponse.Unmarshal(m, b) -} -func (m *JobQueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JobQueryResponse.Marshal(b, m, deterministic) -} -func (m *JobQueryResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobQueryResponse.Merge(m, src) -} -func (m *JobQueryResponse) XXX_Size() int { - return xxx_messageInfo_JobQueryResponse.Size(m) -} -func (m *JobQueryResponse) XXX_DiscardUnknown() { - xxx_messageInfo_JobQueryResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_JobQueryResponse proto.InternalMessageInfo - -func (m *JobQueryResponse) GetTotalResults() uint64 { - if m != nil { - return m.TotalResults - } - return 0 -} - -func (m *JobQueryResponse) GetJob() *Job { - if m != nil { - return m.Job - } - return nil -} - -// Job getQueryResults request. -type JobGetQueryResultsRequest struct { - // Maximum number of results to return. - MaxResults uint32 `protobuf:"varint,1,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"` - // Zero-based row number at which to start. - StartRow uint64 `protobuf:"varint,2,opt,name=start_row,json=startRow,proto3" json:"start_row,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *JobGetQueryResultsRequest) Reset() { *m = JobGetQueryResultsRequest{} } -func (m *JobGetQueryResultsRequest) String() string { return proto.CompactTextString(m) } -func (*JobGetQueryResultsRequest) ProtoMessage() {} -func (*JobGetQueryResultsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3d113473d81b6d20, []int{14} -} - -func (m *JobGetQueryResultsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JobGetQueryResultsRequest.Unmarshal(m, b) -} -func (m *JobGetQueryResultsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JobGetQueryResultsRequest.Marshal(b, m, deterministic) -} -func (m *JobGetQueryResultsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobGetQueryResultsRequest.Merge(m, src) -} -func (m *JobGetQueryResultsRequest) XXX_Size() int { - return xxx_messageInfo_JobGetQueryResultsRequest.Size(m) -} -func (m *JobGetQueryResultsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_JobGetQueryResultsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_JobGetQueryResultsRequest proto.InternalMessageInfo - -func (m *JobGetQueryResultsRequest) GetMaxResults() uint32 { - if m != nil { - return m.MaxResults - } - return 0 -} - -func (m *JobGetQueryResultsRequest) GetStartRow() uint64 { - if m != nil { - return m.StartRow - } - return 0 -} - -// Job getQueryResults response. -type JobGetQueryResultsResponse struct { - // Total number of results in query results. - TotalResults uint64 `protobuf:"varint,1,opt,name=total_results,json=totalResults,proto3" json:"total_results,omitempty"` - // The job that was created to run the query. - // It completed if `job.status.state` is `DONE`. - // It failed if `job.status.errorResult` is also present. - 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 *JobGetQueryResultsResponse) Reset() { *m = JobGetQueryResultsResponse{} } -func (m *JobGetQueryResultsResponse) String() string { return proto.CompactTextString(m) } -func (*JobGetQueryResultsResponse) ProtoMessage() {} -func (*JobGetQueryResultsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3d113473d81b6d20, []int{15} -} - -func (m *JobGetQueryResultsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JobGetQueryResultsResponse.Unmarshal(m, b) -} -func (m *JobGetQueryResultsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JobGetQueryResultsResponse.Marshal(b, m, deterministic) -} -func (m *JobGetQueryResultsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobGetQueryResultsResponse.Merge(m, src) -} -func (m *JobGetQueryResultsResponse) XXX_Size() int { - return xxx_messageInfo_JobGetQueryResultsResponse.Size(m) -} -func (m *JobGetQueryResultsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_JobGetQueryResultsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_JobGetQueryResultsResponse proto.InternalMessageInfo - -func (m *JobGetQueryResultsResponse) GetTotalResults() uint64 { - if m != nil { - return m.TotalResults - } - return 0 -} - -func (m *JobGetQueryResultsResponse) GetJob() *Job { - if m != nil { - return m.Job - } - return nil -} - -// Job getQueryDone response. -type JobQueryDoneResponse struct { - // The job and status information. - // The job completed if `job.status.state` is `DONE`. - Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3d113473d81b6d20, []int{16} -} - -func (m *JobQueryDoneResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JobQueryDoneResponse.Unmarshal(m, b) -} -func (m *JobQueryDoneResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JobQueryDoneResponse.Marshal(b, m, deterministic) -} -func (m *JobQueryDoneResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobQueryDoneResponse.Merge(m, src) -} -func (m *JobQueryDoneResponse) XXX_Size() int { - return xxx_messageInfo_JobQueryDoneResponse.Size(m) -} -func (m *JobQueryDoneResponse) XXX_DiscardUnknown() { - xxx_messageInfo_JobQueryDoneResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_JobQueryDoneResponse proto.InternalMessageInfo - -func (m *JobQueryDoneResponse) GetJob() *Job { - if m != nil { - return m.Job - } - return nil -} - -// Query job completed event. -type JobCompletedEvent struct { - // Name of the event. - EventName string `protobuf:"bytes,1,opt,name=event_name,json=eventName,proto3" json:"event_name,omitempty"` - // Job information. - 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 *JobCompletedEvent) Reset() { *m = JobCompletedEvent{} } -func (m *JobCompletedEvent) String() string { return proto.CompactTextString(m) } -func (*JobCompletedEvent) ProtoMessage() {} -func (*JobCompletedEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_3d113473d81b6d20, []int{17} -} - -func (m *JobCompletedEvent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JobCompletedEvent.Unmarshal(m, b) -} -func (m *JobCompletedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JobCompletedEvent.Marshal(b, m, deterministic) -} -func (m *JobCompletedEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobCompletedEvent.Merge(m, src) -} -func (m *JobCompletedEvent) XXX_Size() int { - return xxx_messageInfo_JobCompletedEvent.Size(m) -} -func (m *JobCompletedEvent) XXX_DiscardUnknown() { - xxx_messageInfo_JobCompletedEvent.DiscardUnknown(m) -} - -var xxx_messageInfo_JobCompletedEvent proto.InternalMessageInfo - -func (m *JobCompletedEvent) GetEventName() string { - if m != nil { - return m.EventName - } - return "" -} - -func (m *JobCompletedEvent) GetJob() *Job { - if m != nil { - return m.Job - } - return nil -} - -// Table data-list request. -type TableDataListRequest struct { - // Starting row offset. - StartRow uint64 `protobuf:"varint,1,opt,name=start_row,json=startRow,proto3" json:"start_row,omitempty"` - // Maximum number of results to return. - MaxResults uint32 `protobuf:"varint,2,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3d113473d81b6d20, []int{18} -} - -func (m *TableDataListRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TableDataListRequest.Unmarshal(m, b) -} -func (m *TableDataListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TableDataListRequest.Marshal(b, m, deterministic) -} -func (m *TableDataListRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_TableDataListRequest.Merge(m, src) -} -func (m *TableDataListRequest) XXX_Size() int { - return xxx_messageInfo_TableDataListRequest.Size(m) -} -func (m *TableDataListRequest) XXX_DiscardUnknown() { - xxx_messageInfo_TableDataListRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_TableDataListRequest proto.InternalMessageInfo - -func (m *TableDataListRequest) GetStartRow() uint64 { - if m != nil { - return m.StartRow - } - return 0 -} - -func (m *TableDataListRequest) GetMaxResults() uint32 { - if m != nil { - return m.MaxResults - } - return 0 -} - -// Describes a BigQuery table. -// See the [Table](/bigquery/docs/reference/v2/tables) API resource -// for more details on individual fields. -// Note: `Table.schema` has been deprecated in favor of `Table.schemaJson`. -// `Table.schema` may continue to be present in your logs during this -// transition. -type Table struct { - // The name of the table. - TableName *TableName `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` - // User-provided metadata for the table. - Info *TableInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` - // A JSON representation of the table's schema. - SchemaJson string `protobuf:"bytes,8,opt,name=schema_json,json=schemaJson,proto3" json:"schema_json,omitempty"` - // If present, this is a virtual table defined by a SQL query. - View *TableViewDefinition `protobuf:"bytes,4,opt,name=view,proto3" json:"view,omitempty"` - // The expiration date for the table, after which the table - // is deleted and the storage reclaimed. - // If not present, the table persists indefinitely. - ExpireTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` - // The time the table was created. - CreateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // The time the table was last truncated - // by an operation with a `writeDisposition` of `WRITE_TRUNCATE`. - TruncateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=truncate_time,json=truncateTime,proto3" json:"truncate_time,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_3d113473d81b6d20, []int{19} -} - -func (m *Table) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Table.Unmarshal(m, b) -} -func (m *Table) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Table.Marshal(b, m, deterministic) -} -func (m *Table) XXX_Merge(src proto.Message) { - xxx_messageInfo_Table.Merge(m, src) -} -func (m *Table) XXX_Size() int { - return xxx_messageInfo_Table.Size(m) -} -func (m *Table) XXX_DiscardUnknown() { - xxx_messageInfo_Table.DiscardUnknown(m) -} - -var xxx_messageInfo_Table proto.InternalMessageInfo - -func (m *Table) GetTableName() *TableName { - if m != nil { - return m.TableName - } - return nil -} - -func (m *Table) GetInfo() *TableInfo { - if m != nil { - return m.Info - } - return nil -} - -func (m *Table) GetSchemaJson() string { - if m != nil { - return m.SchemaJson - } - return "" -} - -func (m *Table) GetView() *TableViewDefinition { - if m != nil { - return m.View - } - return nil -} - -func (m *Table) GetExpireTime() *timestamp.Timestamp { - if m != nil { - return m.ExpireTime - } - return nil -} - -func (m *Table) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *Table) GetTruncateTime() *timestamp.Timestamp { - if m != nil { - return m.TruncateTime - } - return nil -} - -// User-provided metadata for a table. -type TableInfo struct { - // A short name for the table, such as`"Analytics Data - Jan 2011"`. - FriendlyName string `protobuf:"bytes,1,opt,name=friendly_name,json=friendlyName,proto3" json:"friendly_name,omitempty"` - // A long description, perhaps several paragraphs, - // describing the table contents in detail. - 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 *TableInfo) Reset() { *m = TableInfo{} } -func (m *TableInfo) String() string { return proto.CompactTextString(m) } -func (*TableInfo) ProtoMessage() {} -func (*TableInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_3d113473d81b6d20, []int{20} -} - -func (m *TableInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TableInfo.Unmarshal(m, b) -} -func (m *TableInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TableInfo.Marshal(b, m, deterministic) -} -func (m *TableInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_TableInfo.Merge(m, src) -} -func (m *TableInfo) XXX_Size() int { - return xxx_messageInfo_TableInfo.Size(m) -} -func (m *TableInfo) XXX_DiscardUnknown() { - xxx_messageInfo_TableInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_TableInfo proto.InternalMessageInfo - -func (m *TableInfo) GetFriendlyName() string { - if m != nil { - return m.FriendlyName - } - return "" -} - -func (m *TableInfo) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -// Describes a virtual table defined by a SQL query. -type TableViewDefinition struct { - // SQL query defining the view. - Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3d113473d81b6d20, []int{21} -} - -func (m *TableViewDefinition) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TableViewDefinition.Unmarshal(m, b) -} -func (m *TableViewDefinition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TableViewDefinition.Marshal(b, m, deterministic) -} -func (m *TableViewDefinition) XXX_Merge(src proto.Message) { - xxx_messageInfo_TableViewDefinition.Merge(m, src) -} -func (m *TableViewDefinition) XXX_Size() int { - return xxx_messageInfo_TableViewDefinition.Size(m) -} -func (m *TableViewDefinition) XXX_DiscardUnknown() { - xxx_messageInfo_TableViewDefinition.DiscardUnknown(m) -} - -var xxx_messageInfo_TableViewDefinition proto.InternalMessageInfo - -func (m *TableViewDefinition) GetQuery() string { - if m != nil { - return m.Query - } - return "" -} - -// BigQuery dataset information. -// See the [Dataset](/bigquery/docs/reference/v2/datasets) API resource -// for more details on individual fields. -type Dataset struct { - // The name of the dataset. - DatasetName *DatasetName `protobuf:"bytes,1,opt,name=dataset_name,json=datasetName,proto3" json:"dataset_name,omitempty"` - // User-provided metadata for the dataset. - Info *DatasetInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` - // The time the dataset was created. - CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // The time the dataset was last modified. - UpdateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - // The access control list for the dataset. - Acl *BigQueryAcl `protobuf:"bytes,6,opt,name=acl,proto3" json:"acl,omitempty"` - // If this field is present, each table that does not specify an - // expiration time is assigned an expiration time by adding this - // duration to the table's `createTime`. If this field is empty, - // there is no default table expiration time. - DefaultTableExpireDuration *duration.Duration `protobuf:"bytes,8,opt,name=default_table_expire_duration,json=defaultTableExpireDuration,proto3" json:"default_table_expire_duration,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3d113473d81b6d20, []int{22} -} - -func (m *Dataset) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Dataset.Unmarshal(m, b) -} -func (m *Dataset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Dataset.Marshal(b, m, deterministic) -} -func (m *Dataset) XXX_Merge(src proto.Message) { - xxx_messageInfo_Dataset.Merge(m, src) -} -func (m *Dataset) XXX_Size() int { - return xxx_messageInfo_Dataset.Size(m) -} -func (m *Dataset) XXX_DiscardUnknown() { - xxx_messageInfo_Dataset.DiscardUnknown(m) -} - -var xxx_messageInfo_Dataset proto.InternalMessageInfo - -func (m *Dataset) GetDatasetName() *DatasetName { - if m != nil { - return m.DatasetName - } - return nil -} - -func (m *Dataset) GetInfo() *DatasetInfo { - if m != nil { - return m.Info - } - return nil -} - -func (m *Dataset) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *Dataset) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -func (m *Dataset) GetAcl() *BigQueryAcl { - if m != nil { - return m.Acl - } - return nil -} - -func (m *Dataset) GetDefaultTableExpireDuration() *duration.Duration { - if m != nil { - return m.DefaultTableExpireDuration - } - return nil -} - -// User-provided metadata for a dataset. -type DatasetInfo struct { - // A short name for the dataset, such as`"Analytics Data 2011"`. - FriendlyName string `protobuf:"bytes,1,opt,name=friendly_name,json=friendlyName,proto3" json:"friendly_name,omitempty"` - // A long description, perhaps several paragraphs, - // describing the dataset contents in detail. - 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 *DatasetInfo) Reset() { *m = DatasetInfo{} } -func (m *DatasetInfo) String() string { return proto.CompactTextString(m) } -func (*DatasetInfo) ProtoMessage() {} -func (*DatasetInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_3d113473d81b6d20, []int{23} -} - -func (m *DatasetInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DatasetInfo.Unmarshal(m, b) -} -func (m *DatasetInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DatasetInfo.Marshal(b, m, deterministic) -} -func (m *DatasetInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_DatasetInfo.Merge(m, src) -} -func (m *DatasetInfo) XXX_Size() int { - return xxx_messageInfo_DatasetInfo.Size(m) -} -func (m *DatasetInfo) XXX_DiscardUnknown() { - xxx_messageInfo_DatasetInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_DatasetInfo proto.InternalMessageInfo - -func (m *DatasetInfo) GetFriendlyName() string { - if m != nil { - return m.FriendlyName - } - return "" -} - -func (m *DatasetInfo) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -// An access control list. -type BigQueryAcl struct { - // Access control entry list. - Entries []*BigQueryAcl_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 *BigQueryAcl) Reset() { *m = BigQueryAcl{} } -func (m *BigQueryAcl) String() string { return proto.CompactTextString(m) } -func (*BigQueryAcl) ProtoMessage() {} -func (*BigQueryAcl) Descriptor() ([]byte, []int) { - return fileDescriptor_3d113473d81b6d20, []int{24} -} - -func (m *BigQueryAcl) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BigQueryAcl.Unmarshal(m, b) -} -func (m *BigQueryAcl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BigQueryAcl.Marshal(b, m, deterministic) -} -func (m *BigQueryAcl) XXX_Merge(src proto.Message) { - xxx_messageInfo_BigQueryAcl.Merge(m, src) -} -func (m *BigQueryAcl) XXX_Size() int { - return xxx_messageInfo_BigQueryAcl.Size(m) -} -func (m *BigQueryAcl) XXX_DiscardUnknown() { - xxx_messageInfo_BigQueryAcl.DiscardUnknown(m) -} - -var xxx_messageInfo_BigQueryAcl proto.InternalMessageInfo - -func (m *BigQueryAcl) GetEntries() []*BigQueryAcl_Entry { - if m != nil { - return m.Entries - } - return nil -} - -// Access control entry. -type BigQueryAcl_Entry struct { - // The granted role, which can be `READER`, `WRITER`, or `OWNER`. - Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` - // Grants access to a group identified by an email address. - GroupEmail string `protobuf:"bytes,2,opt,name=group_email,json=groupEmail,proto3" json:"group_email,omitempty"` - // Grants access to a user identified by an email address. - UserEmail string `protobuf:"bytes,3,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` - // Grants access to all members of a domain. - Domain string `protobuf:"bytes,4,opt,name=domain,proto3" json:"domain,omitempty"` - // Grants access to special groups. Valid groups are `PROJECT_OWNERS`, - // `PROJECT_READERS`, `PROJECT_WRITERS` and `ALL_AUTHENTICATED_USERS`. - SpecialGroup string `protobuf:"bytes,5,opt,name=special_group,json=specialGroup,proto3" json:"special_group,omitempty"` - // Grants access to a BigQuery View. - ViewName *TableName `protobuf:"bytes,6,opt,name=view_name,json=viewName,proto3" json:"view_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3d113473d81b6d20, []int{24, 0} -} - -func (m *BigQueryAcl_Entry) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BigQueryAcl_Entry.Unmarshal(m, b) -} -func (m *BigQueryAcl_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BigQueryAcl_Entry.Marshal(b, m, deterministic) -} -func (m *BigQueryAcl_Entry) XXX_Merge(src proto.Message) { - xxx_messageInfo_BigQueryAcl_Entry.Merge(m, src) -} -func (m *BigQueryAcl_Entry) XXX_Size() int { - return xxx_messageInfo_BigQueryAcl_Entry.Size(m) -} -func (m *BigQueryAcl_Entry) XXX_DiscardUnknown() { - xxx_messageInfo_BigQueryAcl_Entry.DiscardUnknown(m) -} - -var xxx_messageInfo_BigQueryAcl_Entry proto.InternalMessageInfo - -func (m *BigQueryAcl_Entry) GetRole() string { - if m != nil { - return m.Role - } - return "" -} - -func (m *BigQueryAcl_Entry) GetGroupEmail() string { - if m != nil { - return m.GroupEmail - } - return "" -} - -func (m *BigQueryAcl_Entry) GetUserEmail() string { - if m != nil { - return m.UserEmail - } - return "" -} - -func (m *BigQueryAcl_Entry) GetDomain() string { - if m != nil { - return m.Domain - } - return "" -} - -func (m *BigQueryAcl_Entry) GetSpecialGroup() string { - if m != nil { - return m.SpecialGroup - } - return "" -} - -func (m *BigQueryAcl_Entry) GetViewName() *TableName { - if m != nil { - return m.ViewName - } - return nil -} - -// Describes a job. -type Job struct { - // Job name. - JobName *JobName `protobuf:"bytes,1,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"` - // Job configuration. - JobConfiguration *JobConfiguration `protobuf:"bytes,2,opt,name=job_configuration,json=jobConfiguration,proto3" json:"job_configuration,omitempty"` - // Job status. - JobStatus *JobStatus `protobuf:"bytes,3,opt,name=job_status,json=jobStatus,proto3" json:"job_status,omitempty"` - // Job statistics. - JobStatistics *JobStatistics `protobuf:"bytes,4,opt,name=job_statistics,json=jobStatistics,proto3" json:"job_statistics,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_3d113473d81b6d20, []int{25} -} - -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 (m *Job) XXX_Merge(src proto.Message) { - xxx_messageInfo_Job.Merge(m, 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) GetJobName() *JobName { - if m != nil { - return m.JobName - } - return nil -} - -func (m *Job) GetJobConfiguration() *JobConfiguration { - if m != nil { - return m.JobConfiguration - } - return nil -} - -func (m *Job) GetJobStatus() *JobStatus { - if m != nil { - return m.JobStatus - } - return nil -} - -func (m *Job) GetJobStatistics() *JobStatistics { - if m != nil { - return m.JobStatistics - } - return nil -} - -// Job configuration information. -// See the [Jobs](/bigquery/docs/reference/v2/jobs) API resource -// for more details on individual fields. -type JobConfiguration struct { - // Job configuration information. - // - // Types that are valid to be assigned to Configuration: - // *JobConfiguration_Query_ - // *JobConfiguration_Load_ - // *JobConfiguration_Extract_ - // *JobConfiguration_TableCopy_ - Configuration isJobConfiguration_Configuration `protobuf_oneof:"configuration"` - // If true, don't actually run the job. Just check that it would run. - DryRun bool `protobuf:"varint,9,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3d113473d81b6d20, []int{26} -} - -func (m *JobConfiguration) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JobConfiguration.Unmarshal(m, b) -} -func (m *JobConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JobConfiguration.Marshal(b, m, deterministic) -} -func (m *JobConfiguration) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobConfiguration.Merge(m, src) -} -func (m *JobConfiguration) XXX_Size() int { - return xxx_messageInfo_JobConfiguration.Size(m) -} -func (m *JobConfiguration) XXX_DiscardUnknown() { - xxx_messageInfo_JobConfiguration.DiscardUnknown(m) -} - -var xxx_messageInfo_JobConfiguration proto.InternalMessageInfo - -type isJobConfiguration_Configuration interface { - isJobConfiguration_Configuration() -} - -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_TableCopy_) isJobConfiguration_Configuration() {} - -func (m *JobConfiguration) GetConfiguration() isJobConfiguration_Configuration { - if m != nil { - return m.Configuration - } - return nil -} - -func (m *JobConfiguration) GetQuery() *JobConfiguration_Query { - if x, ok := m.GetConfiguration().(*JobConfiguration_Query_); ok { - return x.Query - } - return nil -} - -func (m *JobConfiguration) GetLoad() *JobConfiguration_Load { - if x, ok := m.GetConfiguration().(*JobConfiguration_Load_); ok { - return x.Load - } - return nil -} - -func (m *JobConfiguration) GetExtract() *JobConfiguration_Extract { - if x, ok := m.GetConfiguration().(*JobConfiguration_Extract_); ok { - return x.Extract - } - return nil -} - -func (m *JobConfiguration) GetTableCopy() *JobConfiguration_TableCopy { - if x, ok := m.GetConfiguration().(*JobConfiguration_TableCopy_); ok { - return x.TableCopy - } - return nil -} - -func (m *JobConfiguration) GetDryRun() bool { - if m != nil { - return m.DryRun - } - return false -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*JobConfiguration) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*JobConfiguration_Query_)(nil), - (*JobConfiguration_Load_)(nil), - (*JobConfiguration_Extract_)(nil), - (*JobConfiguration_TableCopy_)(nil), - } -} - -// Describes a query job, which executes a SQL-like query. -type JobConfiguration_Query struct { - // The SQL query to run. - Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` - // The table where results are written. - DestinationTable *TableName `protobuf:"bytes,2,opt,name=destination_table,json=destinationTable,proto3" json:"destination_table,omitempty"` - // Describes when a job is allowed to create a table: - // `CREATE_IF_NEEDED`, `CREATE_NEVER`. - CreateDisposition string `protobuf:"bytes,3,opt,name=create_disposition,json=createDisposition,proto3" json:"create_disposition,omitempty"` - // Describes how writes affect existing tables: - // `WRITE_TRUNCATE`, `WRITE_APPEND`, `WRITE_EMPTY`. - WriteDisposition string `protobuf:"bytes,4,opt,name=write_disposition,json=writeDisposition,proto3" json:"write_disposition,omitempty"` - // If a table name is specified without a dataset in a query, - // this dataset will be added to table name. - DefaultDataset *DatasetName `protobuf:"bytes,5,opt,name=default_dataset,json=defaultDataset,proto3" json:"default_dataset,omitempty"` - // Describes data sources outside BigQuery, if needed. - TableDefinitions []*TableDefinition `protobuf:"bytes,6,rep,name=table_definitions,json=tableDefinitions,proto3" json:"table_definitions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3d113473d81b6d20, []int{26, 0} -} - -func (m *JobConfiguration_Query) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JobConfiguration_Query.Unmarshal(m, b) -} -func (m *JobConfiguration_Query) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JobConfiguration_Query.Marshal(b, m, deterministic) -} -func (m *JobConfiguration_Query) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobConfiguration_Query.Merge(m, src) -} -func (m *JobConfiguration_Query) XXX_Size() int { - return xxx_messageInfo_JobConfiguration_Query.Size(m) -} -func (m *JobConfiguration_Query) XXX_DiscardUnknown() { - xxx_messageInfo_JobConfiguration_Query.DiscardUnknown(m) -} - -var xxx_messageInfo_JobConfiguration_Query proto.InternalMessageInfo - -func (m *JobConfiguration_Query) GetQuery() string { - if m != nil { - return m.Query - } - return "" -} - -func (m *JobConfiguration_Query) GetDestinationTable() *TableName { - if m != nil { - return m.DestinationTable - } - return nil -} - -func (m *JobConfiguration_Query) GetCreateDisposition() string { - if m != nil { - return m.CreateDisposition - } - return "" -} - -func (m *JobConfiguration_Query) GetWriteDisposition() string { - if m != nil { - return m.WriteDisposition - } - return "" -} - -func (m *JobConfiguration_Query) GetDefaultDataset() *DatasetName { - if m != nil { - return m.DefaultDataset - } - return nil -} - -func (m *JobConfiguration_Query) GetTableDefinitions() []*TableDefinition { - if m != nil { - return m.TableDefinitions - } - return nil -} - -// Describes a load job, which loads data from an external source via -// the import pipeline. -type JobConfiguration_Load struct { - // URIs for the data to be imported. Only Google Cloud Storage URIs are - // supported. - SourceUris []string `protobuf:"bytes,1,rep,name=source_uris,json=sourceUris,proto3" json:"source_uris,omitempty"` - // The table schema in JSON format representation of a TableSchema. - SchemaJson string `protobuf:"bytes,6,opt,name=schema_json,json=schemaJson,proto3" json:"schema_json,omitempty"` - // The table where the imported data is written. - DestinationTable *TableName `protobuf:"bytes,3,opt,name=destination_table,json=destinationTable,proto3" json:"destination_table,omitempty"` - // Describes when a job is allowed to create a table: - // `CREATE_IF_NEEDED`, `CREATE_NEVER`. - CreateDisposition string `protobuf:"bytes,4,opt,name=create_disposition,json=createDisposition,proto3" json:"create_disposition,omitempty"` - // Describes how writes affect existing tables: - // `WRITE_TRUNCATE`, `WRITE_APPEND`, `WRITE_EMPTY`. - WriteDisposition string `protobuf:"bytes,5,opt,name=write_disposition,json=writeDisposition,proto3" json:"write_disposition,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3d113473d81b6d20, []int{26, 1} -} - -func (m *JobConfiguration_Load) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JobConfiguration_Load.Unmarshal(m, b) -} -func (m *JobConfiguration_Load) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JobConfiguration_Load.Marshal(b, m, deterministic) -} -func (m *JobConfiguration_Load) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobConfiguration_Load.Merge(m, src) -} -func (m *JobConfiguration_Load) XXX_Size() int { - return xxx_messageInfo_JobConfiguration_Load.Size(m) -} -func (m *JobConfiguration_Load) XXX_DiscardUnknown() { - xxx_messageInfo_JobConfiguration_Load.DiscardUnknown(m) -} - -var xxx_messageInfo_JobConfiguration_Load proto.InternalMessageInfo - -func (m *JobConfiguration_Load) GetSourceUris() []string { - if m != nil { - return m.SourceUris - } - return nil -} - -func (m *JobConfiguration_Load) GetSchemaJson() string { - if m != nil { - return m.SchemaJson - } - return "" -} - -func (m *JobConfiguration_Load) GetDestinationTable() *TableName { - if m != nil { - return m.DestinationTable - } - return nil -} - -func (m *JobConfiguration_Load) GetCreateDisposition() string { - if m != nil { - return m.CreateDisposition - } - return "" -} - -func (m *JobConfiguration_Load) GetWriteDisposition() string { - if m != nil { - return m.WriteDisposition - } - return "" -} - -// Describes an extract job, which exports data to an external source -// via the export pipeline. -type JobConfiguration_Extract struct { - // Google Cloud Storage URIs where extracted data should be written. - DestinationUris []string `protobuf:"bytes,1,rep,name=destination_uris,json=destinationUris,proto3" json:"destination_uris,omitempty"` - // The source table. - SourceTable *TableName `protobuf:"bytes,2,opt,name=source_table,json=sourceTable,proto3" json:"source_table,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *JobConfiguration_Extract) Reset() { *m = JobConfiguration_Extract{} } -func (m *JobConfiguration_Extract) String() string { return proto.CompactTextString(m) } -func (*JobConfiguration_Extract) ProtoMessage() {} -func (*JobConfiguration_Extract) Descriptor() ([]byte, []int) { - return fileDescriptor_3d113473d81b6d20, []int{26, 2} -} - -func (m *JobConfiguration_Extract) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JobConfiguration_Extract.Unmarshal(m, b) -} -func (m *JobConfiguration_Extract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JobConfiguration_Extract.Marshal(b, m, deterministic) -} -func (m *JobConfiguration_Extract) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobConfiguration_Extract.Merge(m, src) -} -func (m *JobConfiguration_Extract) XXX_Size() int { - return xxx_messageInfo_JobConfiguration_Extract.Size(m) -} -func (m *JobConfiguration_Extract) XXX_DiscardUnknown() { - xxx_messageInfo_JobConfiguration_Extract.DiscardUnknown(m) -} - -var xxx_messageInfo_JobConfiguration_Extract proto.InternalMessageInfo - -func (m *JobConfiguration_Extract) GetDestinationUris() []string { - if m != nil { - return m.DestinationUris - } - return nil -} - -func (m *JobConfiguration_Extract) GetSourceTable() *TableName { - if m != nil { - return m.SourceTable - } - return nil -} - -// Describes a copy job, which copies an existing table to another table. -type JobConfiguration_TableCopy struct { - // Source tables. - SourceTables []*TableName `protobuf:"bytes,1,rep,name=source_tables,json=sourceTables,proto3" json:"source_tables,omitempty"` - // Destination table. - DestinationTable *TableName `protobuf:"bytes,2,opt,name=destination_table,json=destinationTable,proto3" json:"destination_table,omitempty"` - // Describes when a job is allowed to create a table: - // `CREATE_IF_NEEDED`, `CREATE_NEVER`. - CreateDisposition string `protobuf:"bytes,3,opt,name=create_disposition,json=createDisposition,proto3" json:"create_disposition,omitempty"` - // Describes how writes affect existing tables: - // `WRITE_TRUNCATE`, `WRITE_APPEND`, `WRITE_EMPTY`. - WriteDisposition string `protobuf:"bytes,4,opt,name=write_disposition,json=writeDisposition,proto3" json:"write_disposition,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *JobConfiguration_TableCopy) Reset() { *m = JobConfiguration_TableCopy{} } -func (m *JobConfiguration_TableCopy) String() string { return proto.CompactTextString(m) } -func (*JobConfiguration_TableCopy) ProtoMessage() {} -func (*JobConfiguration_TableCopy) Descriptor() ([]byte, []int) { - return fileDescriptor_3d113473d81b6d20, []int{26, 3} -} - -func (m *JobConfiguration_TableCopy) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JobConfiguration_TableCopy.Unmarshal(m, b) -} -func (m *JobConfiguration_TableCopy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JobConfiguration_TableCopy.Marshal(b, m, deterministic) -} -func (m *JobConfiguration_TableCopy) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobConfiguration_TableCopy.Merge(m, src) -} -func (m *JobConfiguration_TableCopy) XXX_Size() int { - return xxx_messageInfo_JobConfiguration_TableCopy.Size(m) -} -func (m *JobConfiguration_TableCopy) XXX_DiscardUnknown() { - xxx_messageInfo_JobConfiguration_TableCopy.DiscardUnknown(m) -} - -var xxx_messageInfo_JobConfiguration_TableCopy proto.InternalMessageInfo - -func (m *JobConfiguration_TableCopy) GetSourceTables() []*TableName { - if m != nil { - return m.SourceTables - } - return nil -} - -func (m *JobConfiguration_TableCopy) GetDestinationTable() *TableName { - if m != nil { - return m.DestinationTable - } - return nil -} - -func (m *JobConfiguration_TableCopy) GetCreateDisposition() string { - if m != nil { - return m.CreateDisposition - } - return "" -} - -func (m *JobConfiguration_TableCopy) GetWriteDisposition() string { - if m != nil { - return m.WriteDisposition - } - return "" -} - -// Describes an external data source used in a query. -type TableDefinition struct { - // Name of the table, used in queries. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Google Cloud Storage URIs for the data to be imported. - SourceUris []string `protobuf:"bytes,2,rep,name=source_uris,json=sourceUris,proto3" json:"source_uris,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3d113473d81b6d20, []int{27} -} - -func (m *TableDefinition) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TableDefinition.Unmarshal(m, b) -} -func (m *TableDefinition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TableDefinition.Marshal(b, m, deterministic) -} -func (m *TableDefinition) XXX_Merge(src proto.Message) { - xxx_messageInfo_TableDefinition.Merge(m, src) -} -func (m *TableDefinition) XXX_Size() int { - return xxx_messageInfo_TableDefinition.Size(m) -} -func (m *TableDefinition) XXX_DiscardUnknown() { - xxx_messageInfo_TableDefinition.DiscardUnknown(m) -} - -var xxx_messageInfo_TableDefinition proto.InternalMessageInfo - -func (m *TableDefinition) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *TableDefinition) GetSourceUris() []string { - if m != nil { - return m.SourceUris - } - return nil -} - -// Running state of a job. -type JobStatus struct { - // State of a job: `PENDING`, `RUNNING`, or `DONE`. - State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` - // If the job did not complete successfully, this field describes why. - Error *status.Status `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3d113473d81b6d20, []int{28} -} - -func (m *JobStatus) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JobStatus.Unmarshal(m, b) -} -func (m *JobStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JobStatus.Marshal(b, m, deterministic) -} -func (m *JobStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobStatus.Merge(m, src) -} -func (m *JobStatus) XXX_Size() int { - return xxx_messageInfo_JobStatus.Size(m) -} -func (m *JobStatus) XXX_DiscardUnknown() { - xxx_messageInfo_JobStatus.DiscardUnknown(m) -} - -var xxx_messageInfo_JobStatus proto.InternalMessageInfo - -func (m *JobStatus) GetState() string { - if m != nil { - return m.State - } - return "" -} - -func (m *JobStatus) GetError() *status.Status { - if m != nil { - return m.Error - } - return nil -} - -// Job statistics that may change after a job starts. -type JobStatistics struct { - // Time when the job was created. - CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Time when the job started. - StartTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // Time when the job ended. - EndTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - // Total bytes processed for a job. - TotalProcessedBytes int64 `protobuf:"varint,4,opt,name=total_processed_bytes,json=totalProcessedBytes,proto3" json:"total_processed_bytes,omitempty"` - // Processed bytes, adjusted by the job's CPU usage. - TotalBilledBytes int64 `protobuf:"varint,5,opt,name=total_billed_bytes,json=totalBilledBytes,proto3" json:"total_billed_bytes,omitempty"` - // The tier assigned by CPU-based billing. - BillingTier int32 `protobuf:"varint,7,opt,name=billing_tier,json=billingTier,proto3" json:"billing_tier,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3d113473d81b6d20, []int{29} -} - -func (m *JobStatistics) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JobStatistics.Unmarshal(m, b) -} -func (m *JobStatistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JobStatistics.Marshal(b, m, deterministic) -} -func (m *JobStatistics) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobStatistics.Merge(m, src) -} -func (m *JobStatistics) XXX_Size() int { - return xxx_messageInfo_JobStatistics.Size(m) -} -func (m *JobStatistics) XXX_DiscardUnknown() { - xxx_messageInfo_JobStatistics.DiscardUnknown(m) -} - -var xxx_messageInfo_JobStatistics proto.InternalMessageInfo - -func (m *JobStatistics) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *JobStatistics) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *JobStatistics) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -func (m *JobStatistics) GetTotalProcessedBytes() int64 { - if m != nil { - return m.TotalProcessedBytes - } - return 0 -} - -func (m *JobStatistics) GetTotalBilledBytes() int64 { - if m != nil { - return m.TotalBilledBytes - } - return 0 -} - -func (m *JobStatistics) GetBillingTier() int32 { - if m != nil { - return m.BillingTier - } - return 0 -} - -// The fully-qualified name for a dataset. -type DatasetName struct { - // The project ID. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The dataset ID within the project. - DatasetId string `protobuf:"bytes,2,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 *DatasetName) Reset() { *m = DatasetName{} } -func (m *DatasetName) String() string { return proto.CompactTextString(m) } -func (*DatasetName) ProtoMessage() {} -func (*DatasetName) Descriptor() ([]byte, []int) { - return fileDescriptor_3d113473d81b6d20, []int{30} -} - -func (m *DatasetName) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DatasetName.Unmarshal(m, b) -} -func (m *DatasetName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DatasetName.Marshal(b, m, deterministic) -} -func (m *DatasetName) XXX_Merge(src proto.Message) { - xxx_messageInfo_DatasetName.Merge(m, src) -} -func (m *DatasetName) XXX_Size() int { - return xxx_messageInfo_DatasetName.Size(m) -} -func (m *DatasetName) XXX_DiscardUnknown() { - xxx_messageInfo_DatasetName.DiscardUnknown(m) -} - -var xxx_messageInfo_DatasetName proto.InternalMessageInfo - -func (m *DatasetName) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *DatasetName) GetDatasetId() string { - if m != nil { - return m.DatasetId - } - return "" -} - -// The fully-qualified name for a table. -type TableName struct { - // The project ID. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The dataset ID within the project. - DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"` - // The table ID of the table within the 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 *TableName) Reset() { *m = TableName{} } -func (m *TableName) String() string { return proto.CompactTextString(m) } -func (*TableName) ProtoMessage() {} -func (*TableName) Descriptor() ([]byte, []int) { - return fileDescriptor_3d113473d81b6d20, []int{31} -} - -func (m *TableName) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TableName.Unmarshal(m, b) -} -func (m *TableName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TableName.Marshal(b, m, deterministic) -} -func (m *TableName) XXX_Merge(src proto.Message) { - xxx_messageInfo_TableName.Merge(m, src) -} -func (m *TableName) XXX_Size() int { - return xxx_messageInfo_TableName.Size(m) -} -func (m *TableName) XXX_DiscardUnknown() { - xxx_messageInfo_TableName.DiscardUnknown(m) -} - -var xxx_messageInfo_TableName proto.InternalMessageInfo - -func (m *TableName) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *TableName) GetDatasetId() string { - if m != nil { - return m.DatasetId - } - return "" -} - -func (m *TableName) GetTableId() string { - if m != nil { - return m.TableId - } - return "" -} - -// The fully-qualified name for a job. -type JobName struct { - // The project ID. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The job ID within the project. - JobId string `protobuf:"bytes,2,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 *JobName) Reset() { *m = JobName{} } -func (m *JobName) String() string { return proto.CompactTextString(m) } -func (*JobName) ProtoMessage() {} -func (*JobName) Descriptor() ([]byte, []int) { - return fileDescriptor_3d113473d81b6d20, []int{32} -} - -func (m *JobName) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JobName.Unmarshal(m, b) -} -func (m *JobName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JobName.Marshal(b, m, deterministic) -} -func (m *JobName) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobName.Merge(m, src) -} -func (m *JobName) XXX_Size() int { - return xxx_messageInfo_JobName.Size(m) -} -func (m *JobName) XXX_DiscardUnknown() { - xxx_messageInfo_JobName.DiscardUnknown(m) -} - -var xxx_messageInfo_JobName proto.InternalMessageInfo - -func (m *JobName) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *JobName) GetJobId() string { - if m != nil { - return m.JobId - } - return "" -} - -func init() { - proto.RegisterType((*AuditData)(nil), "google.cloud.bigquery.logging.v1.AuditData") - proto.RegisterType((*TableInsertRequest)(nil), "google.cloud.bigquery.logging.v1.TableInsertRequest") - proto.RegisterType((*TableUpdateRequest)(nil), "google.cloud.bigquery.logging.v1.TableUpdateRequest") - proto.RegisterType((*TableInsertResponse)(nil), "google.cloud.bigquery.logging.v1.TableInsertResponse") - proto.RegisterType((*TableUpdateResponse)(nil), "google.cloud.bigquery.logging.v1.TableUpdateResponse") - proto.RegisterType((*DatasetListRequest)(nil), "google.cloud.bigquery.logging.v1.DatasetListRequest") - proto.RegisterType((*DatasetInsertRequest)(nil), "google.cloud.bigquery.logging.v1.DatasetInsertRequest") - proto.RegisterType((*DatasetInsertResponse)(nil), "google.cloud.bigquery.logging.v1.DatasetInsertResponse") - proto.RegisterType((*DatasetUpdateRequest)(nil), "google.cloud.bigquery.logging.v1.DatasetUpdateRequest") - proto.RegisterType((*DatasetUpdateResponse)(nil), "google.cloud.bigquery.logging.v1.DatasetUpdateResponse") - proto.RegisterType((*JobInsertRequest)(nil), "google.cloud.bigquery.logging.v1.JobInsertRequest") - proto.RegisterType((*JobInsertResponse)(nil), "google.cloud.bigquery.logging.v1.JobInsertResponse") - proto.RegisterType((*JobQueryRequest)(nil), "google.cloud.bigquery.logging.v1.JobQueryRequest") - proto.RegisterType((*JobQueryResponse)(nil), "google.cloud.bigquery.logging.v1.JobQueryResponse") - proto.RegisterType((*JobGetQueryResultsRequest)(nil), "google.cloud.bigquery.logging.v1.JobGetQueryResultsRequest") - proto.RegisterType((*JobGetQueryResultsResponse)(nil), "google.cloud.bigquery.logging.v1.JobGetQueryResultsResponse") - proto.RegisterType((*JobQueryDoneResponse)(nil), "google.cloud.bigquery.logging.v1.JobQueryDoneResponse") - proto.RegisterType((*JobCompletedEvent)(nil), "google.cloud.bigquery.logging.v1.JobCompletedEvent") - proto.RegisterType((*TableDataListRequest)(nil), "google.cloud.bigquery.logging.v1.TableDataListRequest") - proto.RegisterType((*Table)(nil), "google.cloud.bigquery.logging.v1.Table") - proto.RegisterType((*TableInfo)(nil), "google.cloud.bigquery.logging.v1.TableInfo") - proto.RegisterType((*TableViewDefinition)(nil), "google.cloud.bigquery.logging.v1.TableViewDefinition") - proto.RegisterType((*Dataset)(nil), "google.cloud.bigquery.logging.v1.Dataset") - proto.RegisterType((*DatasetInfo)(nil), "google.cloud.bigquery.logging.v1.DatasetInfo") - proto.RegisterType((*BigQueryAcl)(nil), "google.cloud.bigquery.logging.v1.BigQueryAcl") - proto.RegisterType((*BigQueryAcl_Entry)(nil), "google.cloud.bigquery.logging.v1.BigQueryAcl.Entry") - proto.RegisterType((*Job)(nil), "google.cloud.bigquery.logging.v1.Job") - proto.RegisterType((*JobConfiguration)(nil), "google.cloud.bigquery.logging.v1.JobConfiguration") - proto.RegisterType((*JobConfiguration_Query)(nil), "google.cloud.bigquery.logging.v1.JobConfiguration.Query") - proto.RegisterType((*JobConfiguration_Load)(nil), "google.cloud.bigquery.logging.v1.JobConfiguration.Load") - proto.RegisterType((*JobConfiguration_Extract)(nil), "google.cloud.bigquery.logging.v1.JobConfiguration.Extract") - proto.RegisterType((*JobConfiguration_TableCopy)(nil), "google.cloud.bigquery.logging.v1.JobConfiguration.TableCopy") - proto.RegisterType((*TableDefinition)(nil), "google.cloud.bigquery.logging.v1.TableDefinition") - proto.RegisterType((*JobStatus)(nil), "google.cloud.bigquery.logging.v1.JobStatus") - proto.RegisterType((*JobStatistics)(nil), "google.cloud.bigquery.logging.v1.JobStatistics") - proto.RegisterType((*DatasetName)(nil), "google.cloud.bigquery.logging.v1.DatasetName") - proto.RegisterType((*TableName)(nil), "google.cloud.bigquery.logging.v1.TableName") - proto.RegisterType((*JobName)(nil), "google.cloud.bigquery.logging.v1.JobName") -} - -func init() { - proto.RegisterFile("google/cloud/bigquery/logging/v1/audit_data.proto", fileDescriptor_3d113473d81b6d20) -} - -var fileDescriptor_3d113473d81b6d20 = []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, - 0xb1, 0x29, 0x13, 0xa9, 0x9c, 0x65, 0x09, 0x90, 0xad, 0x4a, 0xd9,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, 0xbe, 0x85, 0x83, 0xc7, 0x66, 0x6c, 0x5f, 0x0e, 0x91, 0x1f, 0x02, 0x51, 0x98, 0x01, 0xf3, - 0xfd, 0x04, 0x50, 0x47, 0xc0, 0x3a, 0x8e, 0xec, 0xe3, 0x80, 0x9a, 0xfd, 0x1d, 0x58, 0x91, 0xf3, - 0x58, 0x30, 0xec, 0x0b, 0x46, 0x23, 0xac, 0x64, 0x75, 0xbb, 0xad, 0x65, 0x27, 0x8c, 0x46, 0xd6, - 0x87, 0x49, 0x2b, 0x8a, 0x1d, 0x4b, 0xf6, 0x3b, 0x49, 0x25, 0xff, 0x9d, 0xe4, 0x2e, 0x40, 0xf2, - 0x63, 0xc3, 0xd3, 0x4d, 0x5e, 0xcb, 0xfc, 0x90, 0xf0, 0x2c, 0x4f, 0x47, 0xd3, 0xff, 0xaf, 0x8a, - 0x6c, 0x43, 0x53, 0xff, 0x1c, 0xf2, 0xb4, 0x57, 0x37, 0xd4, 0x6f, 0x1d, 0xcf, 0x7a, 0x02, 0x0d, - 0xdd, 0x69, 0x5d, 0xc5, 0xb1, 0x05, 0xcb, 0xf8, 0x87, 0xc2, 0xe8, 0xaf, 0x8f, 0xf8, 0xe0, 0xb9, - 0xb7, 0xff, 0xfb, 0x0a, 0x7c, 0xcf, 0xe5, 0xe3, 0x2b, 0x03, 0x70, 0xff, 0x66, 0xf2, 0x07, 0xfa, - 0x58, 0x9e, 0xe3, 0x71, 0xe5, 0xb3, 0x67, 0x1a, 0x33, 0xe4, 0xbe, 0x13, 0x0c, 0xbb, 0x3c, 0x1a, - 0xf6, 0x86, 0x34, 0xc0, 0x53, 0xee, 0xa9, 0x21, 0x27, 0x64, 0xf1, 0xe5, 0xbf, 0xe0, 0x1f, 0xeb, - 0xc7, 0xc1, 0x32, 0x62, 0xde, 0xfb, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x76, 0x60, 0x19, 0x87, - 0xb5, 0x1f, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1/arrow.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1/arrow.pb.go deleted file mode 100644 index f6e9f4e5..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1/arrow.pb.go +++ /dev/null @@ -1,142 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/bigquery/storage/v1beta1/arrow.proto - -package storage - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Arrow schema. -type ArrowSchema struct { - // IPC serialized Arrow schema. - SerializedSchema []byte `protobuf:"bytes,1,opt,name=serialized_schema,json=serializedSchema,proto3" json:"serialized_schema,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ArrowSchema) Reset() { *m = ArrowSchema{} } -func (m *ArrowSchema) String() string { return proto.CompactTextString(m) } -func (*ArrowSchema) ProtoMessage() {} -func (*ArrowSchema) Descriptor() ([]byte, []int) { - return fileDescriptor_b85627c9be97e962, []int{0} -} - -func (m *ArrowSchema) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ArrowSchema.Unmarshal(m, b) -} -func (m *ArrowSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ArrowSchema.Marshal(b, m, deterministic) -} -func (m *ArrowSchema) XXX_Merge(src proto.Message) { - xxx_messageInfo_ArrowSchema.Merge(m, src) -} -func (m *ArrowSchema) XXX_Size() int { - return xxx_messageInfo_ArrowSchema.Size(m) -} -func (m *ArrowSchema) XXX_DiscardUnknown() { - xxx_messageInfo_ArrowSchema.DiscardUnknown(m) -} - -var xxx_messageInfo_ArrowSchema proto.InternalMessageInfo - -func (m *ArrowSchema) GetSerializedSchema() []byte { - if m != nil { - return m.SerializedSchema - } - return nil -} - -// Arrow RecordBatch. -type ArrowRecordBatch struct { - // IPC serialized Arrow RecordBatch. - SerializedRecordBatch []byte `protobuf:"bytes,1,opt,name=serialized_record_batch,json=serializedRecordBatch,proto3" json:"serialized_record_batch,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 *ArrowRecordBatch) Reset() { *m = ArrowRecordBatch{} } -func (m *ArrowRecordBatch) String() string { return proto.CompactTextString(m) } -func (*ArrowRecordBatch) ProtoMessage() {} -func (*ArrowRecordBatch) Descriptor() ([]byte, []int) { - return fileDescriptor_b85627c9be97e962, []int{1} -} - -func (m *ArrowRecordBatch) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ArrowRecordBatch.Unmarshal(m, b) -} -func (m *ArrowRecordBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ArrowRecordBatch.Marshal(b, m, deterministic) -} -func (m *ArrowRecordBatch) XXX_Merge(src proto.Message) { - xxx_messageInfo_ArrowRecordBatch.Merge(m, src) -} -func (m *ArrowRecordBatch) XXX_Size() int { - return xxx_messageInfo_ArrowRecordBatch.Size(m) -} -func (m *ArrowRecordBatch) XXX_DiscardUnknown() { - xxx_messageInfo_ArrowRecordBatch.DiscardUnknown(m) -} - -var xxx_messageInfo_ArrowRecordBatch proto.InternalMessageInfo - -func (m *ArrowRecordBatch) GetSerializedRecordBatch() []byte { - if m != nil { - return m.SerializedRecordBatch - } - return nil -} - -func (m *ArrowRecordBatch) GetRowCount() int64 { - if m != nil { - return m.RowCount - } - return 0 -} - -func init() { - proto.RegisterType((*ArrowSchema)(nil), "google.cloud.bigquery.storage.v1beta1.ArrowSchema") - proto.RegisterType((*ArrowRecordBatch)(nil), "google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch") -} - -func init() { - proto.RegisterFile("google/cloud/bigquery/storage/v1beta1/arrow.proto", fileDescriptor_b85627c9be97e962) -} - -var fileDescriptor_b85627c9be97e962 = []byte{ - // 247 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0xd0, 0xb1, 0x4b, 0xc4, 0x30, - 0x14, 0x06, 0x70, 0xaa, 0x20, 0x1a, 0x1d, 0xce, 0x82, 0x78, 0xe0, 0x72, 0x1c, 0x08, 0x27, 0x42, - 0x42, 0x11, 0x1c, 0x74, 0xb2, 0xae, 0x0e, 0x52, 0x37, 0x97, 0xf2, 0x9a, 0x3e, 0xde, 0x15, 0x7a, - 0x7d, 0xe7, 0x6b, 0x6a, 0xd1, 0xdd, 0xff, 0x5b, 0x9a, 0x46, 0xae, 0x9b, 0x37, 0xbe, 0x7c, 0xf9, - 0x3d, 0x92, 0x4f, 0x25, 0xc4, 0x4c, 0x35, 0x1a, 0x5b, 0x73, 0x57, 0x9a, 0xa2, 0xa2, 0x8f, 0x0e, - 0xe5, 0xcb, 0xb4, 0x8e, 0x05, 0x08, 0xcd, 0x67, 0x52, 0xa0, 0x83, 0xc4, 0x80, 0x08, 0xf7, 0x7a, - 0x2b, 0xec, 0x38, 0xbe, 0x1e, 0x89, 0xf6, 0x44, 0xff, 0x11, 0x1d, 0x88, 0x0e, 0x64, 0xf9, 0xa0, - 0x4e, 0x9f, 0x06, 0xf5, 0x66, 0xd7, 0xb8, 0x81, 0xf8, 0x56, 0x9d, 0xb7, 0x28, 0x15, 0xd4, 0xd5, - 0x37, 0x96, 0x79, 0xeb, 0x0f, 0xe7, 0xd1, 0x22, 0x5a, 0x9d, 0x65, 0xb3, 0x5d, 0x30, 0x5e, 0x5e, - 0x92, 0x9a, 0x79, 0x9b, 0xa1, 0x65, 0x29, 0x53, 0x70, 0x76, 0x1d, 0xdf, 0xab, 0xcb, 0xc9, 0x02, - 0xf1, 0x49, 0x5e, 0x0c, 0x51, 0x58, 0x73, 0xb1, 0x8b, 0xa7, 0xee, 0x4a, 0x9d, 0x08, 0xf7, 0xb9, - 0xe5, 0xae, 0x71, 0xf3, 0x83, 0x45, 0xb4, 0x3a, 0xcc, 0x8e, 0x85, 0xfb, 0xe7, 0x61, 0x4e, 0x7f, - 0x22, 0x75, 0x63, 0x79, 0xa3, 0xf7, 0xfa, 0x52, 0xaa, 0xfc, 0xa3, 0x5e, 0x87, 0x16, 0xde, 0x5f, - 0x02, 0x21, 0xae, 0xa1, 0x21, 0xcd, 0x42, 0x86, 0xb0, 0xf1, 0x0d, 0x99, 0x31, 0x82, 0x6d, 0xd5, - 0xfe, 0xd3, 0xeb, 0x63, 0x98, 0x8b, 0x23, 0x0f, 0xef, 0x7e, 0x03, 0x00, 0x00, 0xff, 0xff, 0x61, - 0xf1, 0x2a, 0xa7, 0x8f, 0x01, 0x00, 0x00, -} 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 deleted file mode 100644 index 9208ede2..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1/avro.pb.go +++ /dev/null @@ -1,143 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/bigquery/storage/v1beta1/avro.proto - -package storage - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // 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_8664acda99313b12, []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 (m *AvroSchema) XXX_Merge(src proto.Message) { - xxx_messageInfo_AvroSchema.Merge(m, 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_8664acda99313b12, []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 (m *AvroRows) XXX_Merge(src proto.Message) { - xxx_messageInfo_AvroRows.Merge(m, 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_8664acda99313b12) -} - -var fileDescriptor_8664acda99313b12 = []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, 0x69, 0x17, 0x9e, 0x81, 0xae, 0xdf, - 0xf9, 0xd2, 0x1f, 0xcc, 0xb3, 0x7f, 0xb8, 0x24, 0x8d, 0x78, 0xd4, 0x5b, 0xbe, 0x7c, 0xf3, 0x81, - 0xf7, 0x9e, 0xb8, 0x21, 0x80, 0x1a, 0xa3, 0xea, 0x06, 0xfd, 0x4e, 0x55, 0x96, 0x3e, 0x7a, 0xc3, - 0x47, 0xe5, 0x3a, 0xb0, 0x26, 0xa3, 0x86, 0x6d, 0x65, 0x3a, 0xbd, 0x55, 0x7a, 0x60, 0xc8, 0x03, - 0xa3, 0x43, 0x76, 0x35, 0x09, 0x19, 0x84, 0xfc, 0x11, 0x32, 0x0a, 0x19, 0xc5, 0xfa, 0x52, 0x88, - 0x87, 0x81, 0xf1, 0x52, 0xbf, 0x9b, 0xbd, 0xce, 0x16, 0x62, 0xe6, 0xc2, 0x6b, 0x99, 0xac, 0x92, - 0x4d, 0x5a, 0xc4, 0xb4, 0x7e, 0x13, 0x73, 0xff, 0xab, 0xc0, 0xe8, 0xb2, 0x3b, 0xb1, 0x70, 0x86, - 0xad, 0x6e, 0xec, 0xa7, 0xd9, 0x95, 0x95, 0x6d, 0x35, 0x1f, 0x4b, 0xc6, 0xe8, 0x82, 0x39, 0x2b, - 0xce, 0x7f, 0xdb, 0x3c, 0x94, 0x41, 0x5d, 0x88, 0x94, 0x31, 0x96, 0x35, 0xfa, 0xb6, 0x5b, 0x9e, - 0xac, 0x92, 0xcd, 0x69, 0x31, 0x67, 0x8c, 0x8f, 0x3e, 0xe7, 0x5f, 0x89, 0xb8, 0xae, 0xb1, 0x97, - 0xff, 0x1a, 0x39, 0x4f, 0xfd, 0x28, 0xcf, 0x7e, 0xc9, 0xd7, 0xa7, 0x28, 0x08, 0x8d, 0x6e, 0x49, - 0x82, 0x49, 0x91, 0x69, 0xc3, 0x01, 0xd4, 0x54, 0xe9, 0x83, 0x75, 0x7f, 0x5c, 0xed, 0x3e, 0xe6, - 0x6a, 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 deleted file mode 100644 index f619505b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1/read_options.pb.go +++ /dev/null @@ -1,109 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/bigquery/storage/v1beta1/read_options.proto - -package storage - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // 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, only a single predicate that is a comparison between - // a column and a constant value is supported. Aggregates are not supported. - // - // Examples: "int_field > 5" - // "date_field = CAST('2014-9-27' as DATE)" - // "nullable_field is not NULL" - // "st_equals(geo_field, st_geofromtext("POINT(2, 2)"))" - // "numeric_field BETWEEN 1.0 AND 5.0" - 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_b5cb6d339ef0ad09, []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 (m *TableReadOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_TableReadOptions.Merge(m, 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_b5cb6d339ef0ad09) -} - -var fileDescriptor_b5cb6d339ef0ad09 = []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 deleted file mode 100644 index dc703dce..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1/storage.pb.go +++ /dev/null @@ -1,1512 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/bigquery/storage/v1beta1/storage.proto - -package storage - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // 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 - DataFormat_ARROW DataFormat = 3 -) - -var DataFormat_name = map[int32]string{ - 0: "DATA_FORMAT_UNSPECIFIED", - 1: "AVRO", - 3: "ARROW", -} - -var DataFormat_value = map[string]int32{ - "DATA_FORMAT_UNSPECIFIED": 0, - "AVRO": 1, - "ARROW": 3, -} - -func (x DataFormat) String() string { - return proto.EnumName(DataFormat_name, int32(x)) -} - -func (DataFormat) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2a3518a93fa439fd, []int{0} -} - -// Strategy for distributing data among multiple streams in a read session. -type ShardingStrategy int32 - -const ( - // Same as LIQUID. - ShardingStrategy_SHARDING_STRATEGY_UNSPECIFIED ShardingStrategy = 0 - // Assigns data to each stream based on the client's read rate. The faster the - // client reads from a stream, the more data is assigned to the stream. In - // this strategy, it's possible to read all data from a single stream even if - // there are other streams present. - ShardingStrategy_LIQUID ShardingStrategy = 1 - // Assigns data to each stream such that roughly the same number of rows can - // be read from each stream. Because the server-side unit for assigning data - // is collections of rows, the API does not guarantee that each stream will - // return the same number or rows. Additionally, the limits are enforced based - // on the number of pre-filtering rows, so some filters can lead to lopsided - // assignments. - ShardingStrategy_BALANCED ShardingStrategy = 2 -) - -var ShardingStrategy_name = map[int32]string{ - 0: "SHARDING_STRATEGY_UNSPECIFIED", - 1: "LIQUID", - 2: "BALANCED", -} - -var ShardingStrategy_value = map[string]int32{ - "SHARDING_STRATEGY_UNSPECIFIED": 0, - "LIQUID": 1, - "BALANCED": 2, -} - -func (x ShardingStrategy) String() string { - return proto.EnumName(ShardingStrategy_name, int32(x)) -} - -func (ShardingStrategy) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2a3518a93fa439fd, []int{1} -} - -// Information about a single data stream within a read session. -type Stream struct { - // Name of the stream, in the form - // `projects/{project_id}/locations/{location}/streams/{stream_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 *Stream) Reset() { *m = Stream{} } -func (m *Stream) String() string { return proto.CompactTextString(m) } -func (*Stream) ProtoMessage() {} -func (*Stream) Descriptor() ([]byte, []int) { - return fileDescriptor_2a3518a93fa439fd, []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 (m *Stream) XXX_Merge(src proto.Message) { - xxx_messageInfo_Stream.Merge(m, 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 "" -} - -// 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_2a3518a93fa439fd, []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 (m *StreamPosition) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamPosition.Merge(m, 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}/locations/{location}/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 - // *ReadSession_ArrowSchema - 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"` - // The strategy to use for distributing data among the streams. - ShardingStrategy ShardingStrategy `protobuf:"varint,9,opt,name=sharding_strategy,json=shardingStrategy,proto3,enum=google.cloud.bigquery.storage.v1beta1.ShardingStrategy" json:"sharding_strategy,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_2a3518a93fa439fd, []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 (m *ReadSession) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReadSession.Merge(m, 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"` -} - -type ReadSession_ArrowSchema struct { - ArrowSchema *ArrowSchema `protobuf:"bytes,6,opt,name=arrow_schema,json=arrowSchema,proto3,oneof"` -} - -func (*ReadSession_AvroSchema) isReadSession_Schema() {} - -func (*ReadSession_ArrowSchema) 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) GetArrowSchema() *ArrowSchema { - if x, ok := m.GetSchema().(*ReadSession_ArrowSchema); ok { - return x.ArrowSchema - } - 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 -} - -func (m *ReadSession) GetShardingStrategy() ShardingStrategy { - if m != nil { - return m.ShardingStrategy - } - return ShardingStrategy_SHARDING_STRATEGY_UNSPECIFIED -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ReadSession) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ReadSession_AvroSchema)(nil), - (*ReadSession_ArrowSchema)(nil), - } -} - -// 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/{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"` - // 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"` - // 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"` - // 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"` - // The strategy to use for distributing data among multiple streams. Currently - // defaults to liquid sharding. - ShardingStrategy ShardingStrategy `protobuf:"varint,7,opt,name=sharding_strategy,json=shardingStrategy,proto3,enum=google.cloud.bigquery.storage.v1beta1.ShardingStrategy" json:"sharding_strategy,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_2a3518a93fa439fd, []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 (m *CreateReadSessionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateReadSessionRequest.Merge(m, 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 -} - -func (m *CreateReadSessionRequest) GetShardingStrategy() ShardingStrategy { - if m != nil { - return m.ShardingStrategy - } - return ShardingStrategy_SHARDING_STRATEGY_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_2a3518a93fa439fd, []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 (m *ReadRowsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReadRowsRequest.Merge(m, 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"` - // A value in the range [0.0, 1.0] that represents the fraction of rows - // assigned to this stream that have been processed by the server. In the - // presence of read filters, the server may process more rows than it returns, - // so this value reflects progress through the pre-filtering rows. - // - // This value is only populated for sessions created through the BALANCED - // sharding strategy. - FractionConsumed float32 `protobuf:"fixed32,2,opt,name=fraction_consumed,json=fractionConsumed,proto3" json:"fraction_consumed,omitempty"` - // Represents the progress of the current stream. - // - // Note: This value is under development and should not be used. Use - // `fraction_consumed` instead. - Progress *Progress `protobuf:"bytes,4,opt,name=progress,proto3" json:"progress,omitempty"` - // Whether this stream can be split. For sessions that use the LIQUID sharding - // strategy, this value is always false. For BALANCED sessions, this value is - // false when enough data have been read such that no more splits are possible - // at that point or beyond. For small tables or streams that are the result of - // a chain of splits, this value may never be true. - IsSplittable bool `protobuf:"varint,3,opt,name=is_splittable,json=isSplittable,proto3" json:"is_splittable,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_2a3518a93fa439fd, []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 (m *StreamStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamStatus.Merge(m, 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 -} - -func (m *StreamStatus) GetFractionConsumed() float32 { - if m != nil { - return m.FractionConsumed - } - return 0 -} - -func (m *StreamStatus) GetProgress() *Progress { - if m != nil { - return m.Progress - } - return nil -} - -func (m *StreamStatus) GetIsSplittable() bool { - if m != nil { - return m.IsSplittable - } - return false -} - -type Progress struct { - // The fraction of rows assigned to the stream that have been processed by the - // server so far, not including the rows in the current response message. - // - // This value, along with `at_response_end`, can be used to interpolate the - // progress made as the rows in the message are being processed using the - // following formula: `at_response_start + (at_response_end - - // at_response_start) * rows_processed_from_response / rows_in_response`. - // - // Note that if a filter is provided, the `at_response_end` value of the - // previous response may not necessarily be equal to the `at_response_start` - // value of the current response. - AtResponseStart float32 `protobuf:"fixed32,1,opt,name=at_response_start,json=atResponseStart,proto3" json:"at_response_start,omitempty"` - // Similar to `at_response_start`, except that this value includes the rows in - // the current response. - AtResponseEnd float32 `protobuf:"fixed32,2,opt,name=at_response_end,json=atResponseEnd,proto3" json:"at_response_end,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_2a3518a93fa439fd, []int{6} -} - -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 (m *Progress) XXX_Merge(src proto.Message) { - xxx_messageInfo_Progress.Merge(m, 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) GetAtResponseStart() float32 { - if m != nil { - return m.AtResponseStart - } - return 0 -} - -func (m *Progress) GetAtResponseEnd() float32 { - if m != nil { - return m.AtResponseEnd - } - 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_2a3518a93fa439fd, []int{7} -} - -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 (m *ThrottleStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_ThrottleStatus.Merge(m, 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 - // *ReadRowsResponse_ArrowRecordBatch - Rows isReadRowsResponse_Rows `protobuf_oneof:"rows"` - // Number of serialized rows in the rows block. This value is recorded here, - // in addition to the row_count values in the output-specific messages in - // `rows`, so that code which needs to record progress through the stream can - // do so in an output format-independent way. - RowCount int64 `protobuf:"varint,6,opt,name=row_count,json=rowCount,proto3" json:"row_count,omitempty"` - // 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_2a3518a93fa439fd, []int{8} -} - -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 (m *ReadRowsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReadRowsResponse.Merge(m, 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"` -} - -type ReadRowsResponse_ArrowRecordBatch struct { - ArrowRecordBatch *ArrowRecordBatch `protobuf:"bytes,4,opt,name=arrow_record_batch,json=arrowRecordBatch,proto3,oneof"` -} - -func (*ReadRowsResponse_AvroRows) isReadRowsResponse_Rows() {} - -func (*ReadRowsResponse_ArrowRecordBatch) 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) GetArrowRecordBatch() *ArrowRecordBatch { - if x, ok := m.GetRows().(*ReadRowsResponse_ArrowRecordBatch); ok { - return x.ArrowRecordBatch - } - return nil -} - -func (m *ReadRowsResponse) GetRowCount() int64 { - if m != nil { - return m.RowCount - } - return 0 -} - -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_OneofWrappers is for the internal use of the proto package. -func (*ReadRowsResponse) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ReadRowsResponse_AvroRows)(nil), - (*ReadRowsResponse_ArrowRecordBatch)(nil), - } -} - -// 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_2a3518a93fa439fd, []int{9} -} - -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 (m *BatchCreateReadSessionStreamsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchCreateReadSessionStreamsRequest.Merge(m, 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_2a3518a93fa439fd, []int{10} -} - -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 (m *BatchCreateReadSessionStreamsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchCreateReadSessionStreamsResponse.Merge(m, 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_2a3518a93fa439fd, []int{11} -} - -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 (m *FinalizeStreamRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FinalizeStreamRequest.Merge(m, 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"` - // A value in the range (0.0, 1.0) that specifies the fractional point at - // which the original stream should be split. The actual split point is - // evaluated on pre-filtered rows, so if a filter is provided, then there is - // no guarantee that the division of the rows between the new child streams - // will be proportional to this fractional value. Additionally, because the - // server-side unit for assigning data is collections of rows, this fraction - // will always map to to a data storage boundary on the server side. - Fraction float32 `protobuf:"fixed32,2,opt,name=fraction,proto3" json:"fraction,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_2a3518a93fa439fd, []int{12} -} - -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 (m *SplitReadStreamRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SplitReadStreamRequest.Merge(m, 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 -} - -func (m *SplitReadStreamRequest) GetFraction() float32 { - if m != nil { - return m.Fraction - } - return 0 -} - -// Response from `SplitReadStream`. -type SplitReadStreamResponse struct { - // Primary stream, which contains the beginning portion of - // |original_stream|. An empty value indicates that the original stream can no - // longer be split. - PrimaryStream *Stream `protobuf:"bytes,1,opt,name=primary_stream,json=primaryStream,proto3" json:"primary_stream,omitempty"` - // Remainder stream, which contains the tail of |original_stream|. An empty - // value indicates that the original stream can no longer be split. - 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_2a3518a93fa439fd, []int{13} -} - -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 (m *SplitReadStreamResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SplitReadStreamResponse.Merge(m, 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.RegisterEnum("google.cloud.bigquery.storage.v1beta1.DataFormat", DataFormat_name, DataFormat_value) - proto.RegisterEnum("google.cloud.bigquery.storage.v1beta1.ShardingStrategy", ShardingStrategy_name, ShardingStrategy_value) - 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((*Progress)(nil), "google.cloud.bigquery.storage.v1beta1.Progress") - 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") -} - -func init() { - proto.RegisterFile("google/cloud/bigquery/storage/v1beta1/storage.proto", fileDescriptor_2a3518a93fa439fd) -} - -var fileDescriptor_2a3518a93fa439fd = []byte{ - // 1645 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0xcb, 0x6f, 0x23, 0x49, - 0x19, 0x9f, 0x76, 0x12, 0x8f, 0xf3, 0x25, 0xb1, 0x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de, 0x69, 0x05, 0xe2, 0xdc, 0xfc, 0xe8, - 0xca, 0xd6, 0xfd, 0x58, 0xea, 0xba, 0x62, 0xbe, 0xdb, 0xa7, 0xeb, 0x4d, 0xb1, 0x8b, 0x34, 0xfd, - 0xd2, 0x80, 0xdc, 0x50, 0xdb, 0x44, 0x1f, 0x24, 0x6d, 0x5f, 0xd7, 0x76, 0xff, 0xe2, 0x87, 0xaf, - 0x0b, 0xd7, 0x21, 0x39, 0xbc, 0xb2, 0x87, 0xaf, 0x0f, 0x69, 0xdc, 0x7b, 0xe8, 0x87, 0x3d, 0xe3, - 0x86, 0x04, 0x5e, 0x61, 0x65, 0xf1, 0x2f, 0xc6, 0x3f, 0xec, 0x6f, 0xbf, 0xfa, 0xa1, 0xf9, 0x2f, - 0xfb, 0x37, 0x46, 0x43, 0x88, 0x20, 0x5c, 0xb7, 0xac, 0x4e, 0xa7, 0x33, 0xfc, 0x0c, 0x25, 0x6d, - 0xd1, 0xe8, 0xfe, 0x25, 0xf5, 0x30, 0xa9, 0x60, 0x29, 0x2a, 0x25, 0xe6, 0x37, 0x6f, 0x46, 0x48, - 0x47, 0x3d, 0x0a, 0x9a, 0x44, 0x44, 0x4f, 0x9a, 0xcd, 0x73, 0x78, 0xa7, 0xca, 0x5a, 0xc9, 0xbc, - 0xf8, 0xfc, 0x40, 0x8b, 0xd5, 0x59, 0x93, 0xf8, 0xf5, 0x12, 0xe3, 0x75, 0xab, 0x4e, 0x7d, 0x99, - 0x26, 0x56, 0xef, 0xb7, 0x6e, 0xf8, 0x5b, 0x6d, 0x43, 0xaf, 0x4f, 0xd3, 0x12, 0xf8, 0xf8, 0xeb, - 0x00, 0x00, 0x00, 0xff, 0xff, 0xa1, 0xa5, 0xc4, 0x46, 0xfc, 0x14, 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 - -// 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) -} - -// UnimplementedBigQueryStorageServer can be embedded to have forward compatible implementations. -type UnimplementedBigQueryStorageServer struct { -} - -func (*UnimplementedBigQueryStorageServer) CreateReadSession(ctx context.Context, req *CreateReadSessionRequest) (*ReadSession, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateReadSession not implemented") -} -func (*UnimplementedBigQueryStorageServer) ReadRows(req *ReadRowsRequest, srv BigQueryStorage_ReadRowsServer) error { - return status.Errorf(codes.Unimplemented, "method ReadRows not implemented") -} -func (*UnimplementedBigQueryStorageServer) BatchCreateReadSessionStreams(ctx context.Context, req *BatchCreateReadSessionStreamsRequest) (*BatchCreateReadSessionStreamsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method BatchCreateReadSessionStreams not implemented") -} -func (*UnimplementedBigQueryStorageServer) FinalizeStream(ctx context.Context, req *FinalizeStreamRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method FinalizeStream not implemented") -} -func (*UnimplementedBigQueryStorageServer) SplitReadStream(ctx context.Context, req *SplitReadStreamRequest) (*SplitReadStreamResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SplitReadStream not implemented") -} - -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", -} 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 deleted file mode 100644 index dd7c1a2d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1/table_reference.pb.go +++ /dev/null @@ -1,156 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/bigquery/storage/v1beta1/table_reference.proto - -package storage - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // 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_00fafb38a9ed74ff, []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 (m *TableReference) XXX_Merge(src proto.Message) { - xxx_messageInfo_TableReference.Merge(m, 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_00fafb38a9ed74ff, []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 (m *TableModifiers) XXX_Merge(src proto.Message) { - xxx_messageInfo_TableModifiers.Merge(m, 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_00fafb38a9ed74ff) -} - -var fileDescriptor_00fafb38a9ed74ff = []byte{ - // 293 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0x4d, 0x4b, 0xc4, 0x30, - 0x10, 0x86, 0x59, 0x05, 0x75, 0xe3, 0xc7, 0xa1, 0x5e, 0x76, 0x0b, 0xa2, 0x2c, 0x08, 0x7a, 0x49, - 0x58, 0x3d, 0xee, 0x41, 0xd8, 0x5b, 0x41, 0x41, 0xcb, 0x9e, 0xbc, 0x94, 0xb4, 0x99, 0xc6, 0x48, - 0xdb, 0x89, 0x49, 0x2a, 0xf8, 0x27, 0xfc, 0xcd, 0xd2, 0x7c, 0x1c, 0x3c, 0xe9, 0x71, 0xe6, 0xed, - 0x33, 0xcf, 0x4c, 0x43, 0x36, 0x12, 0x51, 0x76, 0xc0, 0x9a, 0x0e, 0x47, 0xc1, 0x6a, 0x25, 0x3f, - 0x46, 0x30, 0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37, 0xb3, 0x10, 0x71, 0xad, 0xec, 0x1f, 0xef, - 0xb7, 0x89, 0x75, 0x7d, 0xe0, 0xc1, 0xfb, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x68, 0x1c, 0xaf, - 0x7a, 0xf7, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/v2/encryption_config.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/v2/encryption_config.pb.go deleted file mode 100644 index c840ac1a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/v2/encryption_config.pb.go +++ /dev/null @@ -1,95 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/bigquery/v2/encryption_config.proto - -package bigquery - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -type EncryptionConfiguration struct { - // Optional. Describes the Cloud KMS encryption key that will be used to - // protect destination BigQuery table. The BigQuery Service Account associated - // with your project requires access to this encryption key. - KmsKeyName *wrappers.StringValue `protobuf:"bytes,1,opt,name=kms_key_name,json=kmsKeyName,proto3" json:"kms_key_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *EncryptionConfiguration) Reset() { *m = EncryptionConfiguration{} } -func (m *EncryptionConfiguration) String() string { return proto.CompactTextString(m) } -func (*EncryptionConfiguration) ProtoMessage() {} -func (*EncryptionConfiguration) Descriptor() ([]byte, []int) { - return fileDescriptor_2f635ca5218ca47a, []int{0} -} - -func (m *EncryptionConfiguration) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EncryptionConfiguration.Unmarshal(m, b) -} -func (m *EncryptionConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EncryptionConfiguration.Marshal(b, m, deterministic) -} -func (m *EncryptionConfiguration) XXX_Merge(src proto.Message) { - xxx_messageInfo_EncryptionConfiguration.Merge(m, src) -} -func (m *EncryptionConfiguration) XXX_Size() int { - return xxx_messageInfo_EncryptionConfiguration.Size(m) -} -func (m *EncryptionConfiguration) XXX_DiscardUnknown() { - xxx_messageInfo_EncryptionConfiguration.DiscardUnknown(m) -} - -var xxx_messageInfo_EncryptionConfiguration proto.InternalMessageInfo - -func (m *EncryptionConfiguration) GetKmsKeyName() *wrappers.StringValue { - if m != nil { - return m.KmsKeyName - } - return nil -} - -func init() { - proto.RegisterType((*EncryptionConfiguration)(nil), "google.cloud.bigquery.v2.EncryptionConfiguration") -} - -func init() { - proto.RegisterFile("google/cloud/bigquery/v2/encryption_config.proto", fileDescriptor_2f635ca5218ca47a) -} - -var fileDescriptor_2f635ca5218ca47a = []byte{ - // 261 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x90, 0x41, 0x4b, 0xc4, 0x30, - 0x14, 0x84, 0x29, 0x82, 0x87, 0xea, 0x69, 0x41, 0x5c, 0x96, 0xa2, 0xe2, 0xc9, 0x53, 0x22, 0xf5, - 0xe8, 0x45, 0xbb, 0x78, 0x12, 0x44, 0x14, 0x3c, 0x78, 0xb0, 0xbc, 0x76, 0x5f, 0x63, 0x68, 0x92, - 0x17, 0xd3, 0xa6, 0x4b, 0xff, 0xad, 0x3f, 0x45, 0x36, 0x4d, 0x45, 0x14, 0x6f, 0x09, 0x33, 0xdf, - 0xcc, 0x24, 0xe9, 0xa5, 0x20, 0x12, 0x0a, 0x79, 0xad, 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4, 0x66, - 0xb5, 0x8c, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/v2/model.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/v2/model.pb.go deleted file mode 100644 index b72e4a37..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/v2/model.pb.go +++ /dev/null @@ -1,2698 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/bigquery/v2/model.proto - -package bigquery - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Indicates the type of the Model. -type Model_ModelType int32 - -const ( - Model_MODEL_TYPE_UNSPECIFIED Model_ModelType = 0 - // Linear regression model. - Model_LINEAR_REGRESSION Model_ModelType = 1 - // Logistic regression based classification model. - Model_LOGISTIC_REGRESSION Model_ModelType = 2 - // K-means clustering model. - Model_KMEANS Model_ModelType = 3 - // [Beta] An imported TensorFlow model. - Model_TENSORFLOW Model_ModelType = 6 -) - -var Model_ModelType_name = map[int32]string{ - 0: "MODEL_TYPE_UNSPECIFIED", - 1: "LINEAR_REGRESSION", - 2: "LOGISTIC_REGRESSION", - 3: "KMEANS", - 6: "TENSORFLOW", -} - -var Model_ModelType_value = map[string]int32{ - "MODEL_TYPE_UNSPECIFIED": 0, - "LINEAR_REGRESSION": 1, - "LOGISTIC_REGRESSION": 2, - "KMEANS": 3, - "TENSORFLOW": 6, -} - -func (x Model_ModelType) String() string { - return proto.EnumName(Model_ModelType_name, int32(x)) -} - -func (Model_ModelType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0bf703c728e4b09a, []int{0, 0} -} - -// Loss metric to evaluate model training performance. -type Model_LossType int32 - -const ( - Model_LOSS_TYPE_UNSPECIFIED Model_LossType = 0 - // Mean squared loss, used for linear regression. - Model_MEAN_SQUARED_LOSS Model_LossType = 1 - // Mean log loss, used for logistic regression. - Model_MEAN_LOG_LOSS Model_LossType = 2 -) - -var Model_LossType_name = map[int32]string{ - 0: "LOSS_TYPE_UNSPECIFIED", - 1: "MEAN_SQUARED_LOSS", - 2: "MEAN_LOG_LOSS", -} - -var Model_LossType_value = map[string]int32{ - "LOSS_TYPE_UNSPECIFIED": 0, - "MEAN_SQUARED_LOSS": 1, - "MEAN_LOG_LOSS": 2, -} - -func (x Model_LossType) String() string { - return proto.EnumName(Model_LossType_name, int32(x)) -} - -func (Model_LossType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0bf703c728e4b09a, []int{0, 1} -} - -// Distance metric used to compute the distance between two points. -type Model_DistanceType int32 - -const ( - Model_DISTANCE_TYPE_UNSPECIFIED Model_DistanceType = 0 - // Eculidean distance. - Model_EUCLIDEAN Model_DistanceType = 1 - // Cosine distance. - Model_COSINE Model_DistanceType = 2 -) - -var Model_DistanceType_name = map[int32]string{ - 0: "DISTANCE_TYPE_UNSPECIFIED", - 1: "EUCLIDEAN", - 2: "COSINE", -} - -var Model_DistanceType_value = map[string]int32{ - "DISTANCE_TYPE_UNSPECIFIED": 0, - "EUCLIDEAN": 1, - "COSINE": 2, -} - -func (x Model_DistanceType) String() string { - return proto.EnumName(Model_DistanceType_name, int32(x)) -} - -func (Model_DistanceType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0bf703c728e4b09a, []int{0, 2} -} - -// Indicates the method to split input data into multiple tables. -type Model_DataSplitMethod int32 - -const ( - Model_DATA_SPLIT_METHOD_UNSPECIFIED Model_DataSplitMethod = 0 - // Splits data randomly. - Model_RANDOM Model_DataSplitMethod = 1 - // Splits data with the user provided tags. - Model_CUSTOM Model_DataSplitMethod = 2 - // Splits data sequentially. - Model_SEQUENTIAL Model_DataSplitMethod = 3 - // Data split will be skipped. - Model_NO_SPLIT Model_DataSplitMethod = 4 - // Splits data automatically: Uses NO_SPLIT if the data size is small. - // Otherwise uses RANDOM. - Model_AUTO_SPLIT Model_DataSplitMethod = 5 -) - -var Model_DataSplitMethod_name = map[int32]string{ - 0: "DATA_SPLIT_METHOD_UNSPECIFIED", - 1: "RANDOM", - 2: "CUSTOM", - 3: "SEQUENTIAL", - 4: "NO_SPLIT", - 5: "AUTO_SPLIT", -} - -var Model_DataSplitMethod_value = map[string]int32{ - "DATA_SPLIT_METHOD_UNSPECIFIED": 0, - "RANDOM": 1, - "CUSTOM": 2, - "SEQUENTIAL": 3, - "NO_SPLIT": 4, - "AUTO_SPLIT": 5, -} - -func (x Model_DataSplitMethod) String() string { - return proto.EnumName(Model_DataSplitMethod_name, int32(x)) -} - -func (Model_DataSplitMethod) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0bf703c728e4b09a, []int{0, 3} -} - -// Indicates the learning rate optimization strategy to use. -type Model_LearnRateStrategy int32 - -const ( - Model_LEARN_RATE_STRATEGY_UNSPECIFIED Model_LearnRateStrategy = 0 - // Use line search to determine learning rate. - Model_LINE_SEARCH Model_LearnRateStrategy = 1 - // Use a constant learning rate. - Model_CONSTANT Model_LearnRateStrategy = 2 -) - -var Model_LearnRateStrategy_name = map[int32]string{ - 0: "LEARN_RATE_STRATEGY_UNSPECIFIED", - 1: "LINE_SEARCH", - 2: "CONSTANT", -} - -var Model_LearnRateStrategy_value = map[string]int32{ - "LEARN_RATE_STRATEGY_UNSPECIFIED": 0, - "LINE_SEARCH": 1, - "CONSTANT": 2, -} - -func (x Model_LearnRateStrategy) String() string { - return proto.EnumName(Model_LearnRateStrategy_name, int32(x)) -} - -func (Model_LearnRateStrategy) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0bf703c728e4b09a, []int{0, 4} -} - -// Indicates the optimization strategy used for training. -type Model_OptimizationStrategy int32 - -const ( - Model_OPTIMIZATION_STRATEGY_UNSPECIFIED Model_OptimizationStrategy = 0 - // Uses an iterative batch gradient descent algorithm. - Model_BATCH_GRADIENT_DESCENT Model_OptimizationStrategy = 1 - // Uses a normal equation to solve linear regression problem. - Model_NORMAL_EQUATION Model_OptimizationStrategy = 2 -) - -var Model_OptimizationStrategy_name = map[int32]string{ - 0: "OPTIMIZATION_STRATEGY_UNSPECIFIED", - 1: "BATCH_GRADIENT_DESCENT", - 2: "NORMAL_EQUATION", -} - -var Model_OptimizationStrategy_value = map[string]int32{ - "OPTIMIZATION_STRATEGY_UNSPECIFIED": 0, - "BATCH_GRADIENT_DESCENT": 1, - "NORMAL_EQUATION": 2, -} - -func (x Model_OptimizationStrategy) String() string { - return proto.EnumName(Model_OptimizationStrategy_name, int32(x)) -} - -func (Model_OptimizationStrategy) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0bf703c728e4b09a, []int{0, 5} -} - -// Indicates the method used to initialize the centroids for KMeans -// clustering algorithm. -type Model_KmeansEnums_KmeansInitializationMethod int32 - -const ( - Model_KmeansEnums_KMEANS_INITIALIZATION_METHOD_UNSPECIFIED Model_KmeansEnums_KmeansInitializationMethod = 0 - // Initializes the centroids randomly. - Model_KmeansEnums_RANDOM Model_KmeansEnums_KmeansInitializationMethod = 1 - // Initializes the centroids using data specified in - // kmeans_initialization_column. - Model_KmeansEnums_CUSTOM Model_KmeansEnums_KmeansInitializationMethod = 2 -) - -var Model_KmeansEnums_KmeansInitializationMethod_name = map[int32]string{ - 0: "KMEANS_INITIALIZATION_METHOD_UNSPECIFIED", - 1: "RANDOM", - 2: "CUSTOM", -} - -var Model_KmeansEnums_KmeansInitializationMethod_value = map[string]int32{ - "KMEANS_INITIALIZATION_METHOD_UNSPECIFIED": 0, - "RANDOM": 1, - "CUSTOM": 2, -} - -func (x Model_KmeansEnums_KmeansInitializationMethod) String() string { - return proto.EnumName(Model_KmeansEnums_KmeansInitializationMethod_name, int32(x)) -} - -func (Model_KmeansEnums_KmeansInitializationMethod) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0bf703c728e4b09a, []int{0, 0, 0} -} - -type Model struct { - // Output only. A hash of this resource. - Etag string `protobuf:"bytes,1,opt,name=etag,proto3" json:"etag,omitempty"` - // Required. Unique identifier for this model. - ModelReference *ModelReference `protobuf:"bytes,2,opt,name=model_reference,json=modelReference,proto3" json:"model_reference,omitempty"` - // Output only. The time when this model was created, in millisecs since the epoch. - CreationTime int64 `protobuf:"varint,5,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"` - // Output only. The time when this model was last modified, in millisecs since the epoch. - LastModifiedTime int64 `protobuf:"varint,6,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` - // Optional. A user-friendly description of this model. - Description string `protobuf:"bytes,12,opt,name=description,proto3" json:"description,omitempty"` - // Optional. A descriptive name for this model. - FriendlyName string `protobuf:"bytes,14,opt,name=friendly_name,json=friendlyName,proto3" json:"friendly_name,omitempty"` - // The labels associated with this model. You can use these to organize - // and group your models. Label keys and values can be no longer - // than 63 characters, can only contain lowercase letters, numeric - // characters, underscores and dashes. International characters are allowed. - // Label values are optional. Label keys must start with a letter and each - // label in the list must have a different key. - Labels map[string]string `protobuf:"bytes,15,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 time when this model expires, in milliseconds since the epoch. - // If not present, the model will persist indefinitely. Expired models - // will be deleted and their storage reclaimed. The defaultTableExpirationMs - // property of the encapsulating dataset can be used to set a default - // expirationTime on newly created models. - ExpirationTime int64 `protobuf:"varint,16,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"` - // Output only. The geographic location where the model resides. This value - // is inherited from the dataset. - Location string `protobuf:"bytes,13,opt,name=location,proto3" json:"location,omitempty"` - // Custom encryption configuration (e.g., Cloud KMS keys). This shows the - // encryption configuration of the model data while stored in BigQuery - // storage. - EncryptionConfiguration *EncryptionConfiguration `protobuf:"bytes,17,opt,name=encryption_configuration,json=encryptionConfiguration,proto3" json:"encryption_configuration,omitempty"` - // Output only. Type of the model resource. - ModelType Model_ModelType `protobuf:"varint,7,opt,name=model_type,json=modelType,proto3,enum=google.cloud.bigquery.v2.Model_ModelType" json:"model_type,omitempty"` - // Output only. Information for all training runs in increasing order of start_time. - TrainingRuns []*Model_TrainingRun `protobuf:"bytes,9,rep,name=training_runs,json=trainingRuns,proto3" json:"training_runs,omitempty"` - // Output only. Input feature columns that were used to train this model. - FeatureColumns []*StandardSqlField `protobuf:"bytes,10,rep,name=feature_columns,json=featureColumns,proto3" json:"feature_columns,omitempty"` - // Output only. Label columns that were used to train this model. - // The output of the model will have a "predicted_" prefix to these columns. - LabelColumns []*StandardSqlField `protobuf:"bytes,11,rep,name=label_columns,json=labelColumns,proto3" json:"label_columns,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_0bf703c728e4b09a, []int{0} -} - -func (m *Model) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Model.Unmarshal(m, b) -} -func (m *Model) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Model.Marshal(b, m, deterministic) -} -func (m *Model) XXX_Merge(src proto.Message) { - xxx_messageInfo_Model.Merge(m, src) -} -func (m *Model) XXX_Size() int { - return xxx_messageInfo_Model.Size(m) -} -func (m *Model) XXX_DiscardUnknown() { - xxx_messageInfo_Model.DiscardUnknown(m) -} - -var xxx_messageInfo_Model proto.InternalMessageInfo - -func (m *Model) GetEtag() string { - if m != nil { - return m.Etag - } - return "" -} - -func (m *Model) GetModelReference() *ModelReference { - if m != nil { - return m.ModelReference - } - return nil -} - -func (m *Model) GetCreationTime() int64 { - if m != nil { - return m.CreationTime - } - return 0 -} - -func (m *Model) GetLastModifiedTime() int64 { - if m != nil { - return m.LastModifiedTime - } - return 0 -} - -func (m *Model) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *Model) GetFriendlyName() string { - if m != nil { - return m.FriendlyName - } - return "" -} - -func (m *Model) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -func (m *Model) GetExpirationTime() int64 { - if m != nil { - return m.ExpirationTime - } - return 0 -} - -func (m *Model) GetLocation() string { - if m != nil { - return m.Location - } - return "" -} - -func (m *Model) GetEncryptionConfiguration() *EncryptionConfiguration { - if m != nil { - return m.EncryptionConfiguration - } - return nil -} - -func (m *Model) GetModelType() Model_ModelType { - if m != nil { - return m.ModelType - } - return Model_MODEL_TYPE_UNSPECIFIED -} - -func (m *Model) GetTrainingRuns() []*Model_TrainingRun { - if m != nil { - return m.TrainingRuns - } - return nil -} - -func (m *Model) GetFeatureColumns() []*StandardSqlField { - if m != nil { - return m.FeatureColumns - } - return nil -} - -func (m *Model) GetLabelColumns() []*StandardSqlField { - if m != nil { - return m.LabelColumns - } - return nil -} - -type Model_KmeansEnums struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Model_KmeansEnums) Reset() { *m = Model_KmeansEnums{} } -func (m *Model_KmeansEnums) String() string { return proto.CompactTextString(m) } -func (*Model_KmeansEnums) ProtoMessage() {} -func (*Model_KmeansEnums) Descriptor() ([]byte, []int) { - return fileDescriptor_0bf703c728e4b09a, []int{0, 0} -} - -func (m *Model_KmeansEnums) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Model_KmeansEnums.Unmarshal(m, b) -} -func (m *Model_KmeansEnums) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Model_KmeansEnums.Marshal(b, m, deterministic) -} -func (m *Model_KmeansEnums) XXX_Merge(src proto.Message) { - xxx_messageInfo_Model_KmeansEnums.Merge(m, src) -} -func (m *Model_KmeansEnums) XXX_Size() int { - return xxx_messageInfo_Model_KmeansEnums.Size(m) -} -func (m *Model_KmeansEnums) XXX_DiscardUnknown() { - xxx_messageInfo_Model_KmeansEnums.DiscardUnknown(m) -} - -var xxx_messageInfo_Model_KmeansEnums proto.InternalMessageInfo - -// Evaluation metrics for regression and explicit feedback type matrix -// factorization models. -type Model_RegressionMetrics struct { - // Mean absolute error. - MeanAbsoluteError *wrappers.DoubleValue `protobuf:"bytes,1,opt,name=mean_absolute_error,json=meanAbsoluteError,proto3" json:"mean_absolute_error,omitempty"` - // Mean squared error. - MeanSquaredError *wrappers.DoubleValue `protobuf:"bytes,2,opt,name=mean_squared_error,json=meanSquaredError,proto3" json:"mean_squared_error,omitempty"` - // Mean squared log error. - MeanSquaredLogError *wrappers.DoubleValue `protobuf:"bytes,3,opt,name=mean_squared_log_error,json=meanSquaredLogError,proto3" json:"mean_squared_log_error,omitempty"` - // Median absolute error. - MedianAbsoluteError *wrappers.DoubleValue `protobuf:"bytes,4,opt,name=median_absolute_error,json=medianAbsoluteError,proto3" json:"median_absolute_error,omitempty"` - // R^2 score. - RSquared *wrappers.DoubleValue `protobuf:"bytes,5,opt,name=r_squared,json=rSquared,proto3" json:"r_squared,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Model_RegressionMetrics) Reset() { *m = Model_RegressionMetrics{} } -func (m *Model_RegressionMetrics) String() string { return proto.CompactTextString(m) } -func (*Model_RegressionMetrics) ProtoMessage() {} -func (*Model_RegressionMetrics) Descriptor() ([]byte, []int) { - return fileDescriptor_0bf703c728e4b09a, []int{0, 1} -} - -func (m *Model_RegressionMetrics) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Model_RegressionMetrics.Unmarshal(m, b) -} -func (m *Model_RegressionMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Model_RegressionMetrics.Marshal(b, m, deterministic) -} -func (m *Model_RegressionMetrics) XXX_Merge(src proto.Message) { - xxx_messageInfo_Model_RegressionMetrics.Merge(m, src) -} -func (m *Model_RegressionMetrics) XXX_Size() int { - return xxx_messageInfo_Model_RegressionMetrics.Size(m) -} -func (m *Model_RegressionMetrics) XXX_DiscardUnknown() { - xxx_messageInfo_Model_RegressionMetrics.DiscardUnknown(m) -} - -var xxx_messageInfo_Model_RegressionMetrics proto.InternalMessageInfo - -func (m *Model_RegressionMetrics) GetMeanAbsoluteError() *wrappers.DoubleValue { - if m != nil { - return m.MeanAbsoluteError - } - return nil -} - -func (m *Model_RegressionMetrics) GetMeanSquaredError() *wrappers.DoubleValue { - if m != nil { - return m.MeanSquaredError - } - return nil -} - -func (m *Model_RegressionMetrics) GetMeanSquaredLogError() *wrappers.DoubleValue { - if m != nil { - return m.MeanSquaredLogError - } - return nil -} - -func (m *Model_RegressionMetrics) GetMedianAbsoluteError() *wrappers.DoubleValue { - if m != nil { - return m.MedianAbsoluteError - } - return nil -} - -func (m *Model_RegressionMetrics) GetRSquared() *wrappers.DoubleValue { - if m != nil { - return m.RSquared - } - return nil -} - -// Aggregate metrics for classification/classifier models. For multi-class -// models, the metrics are either macro-averaged or micro-averaged. When -// macro-averaged, the metrics are calculated for each label and then an -// unweighted average is taken of those values. When micro-averaged, the -// metric is calculated globally by counting the total number of correctly -// predicted rows. -type Model_AggregateClassificationMetrics struct { - // Precision is the fraction of actual positive predictions that had - // positive actual labels. For multiclass this is a macro-averaged - // metric treating each class as a binary classifier. - Precision *wrappers.DoubleValue `protobuf:"bytes,1,opt,name=precision,proto3" json:"precision,omitempty"` - // Recall is the fraction of actual positive labels that were given a - // positive prediction. For multiclass this is a macro-averaged metric. - Recall *wrappers.DoubleValue `protobuf:"bytes,2,opt,name=recall,proto3" json:"recall,omitempty"` - // Accuracy is the fraction of predictions given the correct label. For - // multiclass this is a micro-averaged metric. - Accuracy *wrappers.DoubleValue `protobuf:"bytes,3,opt,name=accuracy,proto3" json:"accuracy,omitempty"` - // Threshold at which the metrics are computed. For binary - // classification models this is the positive class threshold. - // For multi-class classfication models this is the confidence - // threshold. - Threshold *wrappers.DoubleValue `protobuf:"bytes,4,opt,name=threshold,proto3" json:"threshold,omitempty"` - // The F1 score is an average of recall and precision. For multiclass - // this is a macro-averaged metric. - F1Score *wrappers.DoubleValue `protobuf:"bytes,5,opt,name=f1_score,json=f1Score,proto3" json:"f1_score,omitempty"` - // Logarithmic Loss. For multiclass this is a macro-averaged metric. - LogLoss *wrappers.DoubleValue `protobuf:"bytes,6,opt,name=log_loss,json=logLoss,proto3" json:"log_loss,omitempty"` - // Area Under a ROC Curve. For multiclass this is a macro-averaged - // metric. - RocAuc *wrappers.DoubleValue `protobuf:"bytes,7,opt,name=roc_auc,json=rocAuc,proto3" json:"roc_auc,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Model_AggregateClassificationMetrics) Reset() { *m = Model_AggregateClassificationMetrics{} } -func (m *Model_AggregateClassificationMetrics) String() string { return proto.CompactTextString(m) } -func (*Model_AggregateClassificationMetrics) ProtoMessage() {} -func (*Model_AggregateClassificationMetrics) Descriptor() ([]byte, []int) { - return fileDescriptor_0bf703c728e4b09a, []int{0, 2} -} - -func (m *Model_AggregateClassificationMetrics) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Model_AggregateClassificationMetrics.Unmarshal(m, b) -} -func (m *Model_AggregateClassificationMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Model_AggregateClassificationMetrics.Marshal(b, m, deterministic) -} -func (m *Model_AggregateClassificationMetrics) XXX_Merge(src proto.Message) { - xxx_messageInfo_Model_AggregateClassificationMetrics.Merge(m, src) -} -func (m *Model_AggregateClassificationMetrics) XXX_Size() int { - return xxx_messageInfo_Model_AggregateClassificationMetrics.Size(m) -} -func (m *Model_AggregateClassificationMetrics) XXX_DiscardUnknown() { - xxx_messageInfo_Model_AggregateClassificationMetrics.DiscardUnknown(m) -} - -var xxx_messageInfo_Model_AggregateClassificationMetrics proto.InternalMessageInfo - -func (m *Model_AggregateClassificationMetrics) GetPrecision() *wrappers.DoubleValue { - if m != nil { - return m.Precision - } - return nil -} - -func (m *Model_AggregateClassificationMetrics) GetRecall() *wrappers.DoubleValue { - if m != nil { - return m.Recall - } - return nil -} - -func (m *Model_AggregateClassificationMetrics) GetAccuracy() *wrappers.DoubleValue { - if m != nil { - return m.Accuracy - } - return nil -} - -func (m *Model_AggregateClassificationMetrics) GetThreshold() *wrappers.DoubleValue { - if m != nil { - return m.Threshold - } - return nil -} - -func (m *Model_AggregateClassificationMetrics) GetF1Score() *wrappers.DoubleValue { - if m != nil { - return m.F1Score - } - return nil -} - -func (m *Model_AggregateClassificationMetrics) GetLogLoss() *wrappers.DoubleValue { - if m != nil { - return m.LogLoss - } - return nil -} - -func (m *Model_AggregateClassificationMetrics) GetRocAuc() *wrappers.DoubleValue { - if m != nil { - return m.RocAuc - } - return nil -} - -// Evaluation metrics for binary classification/classifier models. -type Model_BinaryClassificationMetrics struct { - // Aggregate classification metrics. - AggregateClassificationMetrics *Model_AggregateClassificationMetrics `protobuf:"bytes,1,opt,name=aggregate_classification_metrics,json=aggregateClassificationMetrics,proto3" json:"aggregate_classification_metrics,omitempty"` - // Binary confusion matrix at multiple thresholds. - BinaryConfusionMatrixList []*Model_BinaryClassificationMetrics_BinaryConfusionMatrix `protobuf:"bytes,2,rep,name=binary_confusion_matrix_list,json=binaryConfusionMatrixList,proto3" json:"binary_confusion_matrix_list,omitempty"` - // Label representing the positive class. - PositiveLabel string `protobuf:"bytes,3,opt,name=positive_label,json=positiveLabel,proto3" json:"positive_label,omitempty"` - // Label representing the negative class. - NegativeLabel string `protobuf:"bytes,4,opt,name=negative_label,json=negativeLabel,proto3" json:"negative_label,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Model_BinaryClassificationMetrics) Reset() { *m = Model_BinaryClassificationMetrics{} } -func (m *Model_BinaryClassificationMetrics) String() string { return proto.CompactTextString(m) } -func (*Model_BinaryClassificationMetrics) ProtoMessage() {} -func (*Model_BinaryClassificationMetrics) Descriptor() ([]byte, []int) { - return fileDescriptor_0bf703c728e4b09a, []int{0, 3} -} - -func (m *Model_BinaryClassificationMetrics) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Model_BinaryClassificationMetrics.Unmarshal(m, b) -} -func (m *Model_BinaryClassificationMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Model_BinaryClassificationMetrics.Marshal(b, m, deterministic) -} -func (m *Model_BinaryClassificationMetrics) XXX_Merge(src proto.Message) { - xxx_messageInfo_Model_BinaryClassificationMetrics.Merge(m, src) -} -func (m *Model_BinaryClassificationMetrics) XXX_Size() int { - return xxx_messageInfo_Model_BinaryClassificationMetrics.Size(m) -} -func (m *Model_BinaryClassificationMetrics) XXX_DiscardUnknown() { - xxx_messageInfo_Model_BinaryClassificationMetrics.DiscardUnknown(m) -} - -var xxx_messageInfo_Model_BinaryClassificationMetrics proto.InternalMessageInfo - -func (m *Model_BinaryClassificationMetrics) GetAggregateClassificationMetrics() *Model_AggregateClassificationMetrics { - if m != nil { - return m.AggregateClassificationMetrics - } - return nil -} - -func (m *Model_BinaryClassificationMetrics) GetBinaryConfusionMatrixList() []*Model_BinaryClassificationMetrics_BinaryConfusionMatrix { - if m != nil { - return m.BinaryConfusionMatrixList - } - return nil -} - -func (m *Model_BinaryClassificationMetrics) GetPositiveLabel() string { - if m != nil { - return m.PositiveLabel - } - return "" -} - -func (m *Model_BinaryClassificationMetrics) GetNegativeLabel() string { - if m != nil { - return m.NegativeLabel - } - return "" -} - -// Confusion matrix for binary classification models. -type Model_BinaryClassificationMetrics_BinaryConfusionMatrix struct { - // Threshold value used when computing each of the following metric. - PositiveClassThreshold *wrappers.DoubleValue `protobuf:"bytes,1,opt,name=positive_class_threshold,json=positiveClassThreshold,proto3" json:"positive_class_threshold,omitempty"` - // Number of true samples predicted as true. - TruePositives *wrappers.Int64Value `protobuf:"bytes,2,opt,name=true_positives,json=truePositives,proto3" json:"true_positives,omitempty"` - // Number of false samples predicted as true. - FalsePositives *wrappers.Int64Value `protobuf:"bytes,3,opt,name=false_positives,json=falsePositives,proto3" json:"false_positives,omitempty"` - // Number of true samples predicted as false. - TrueNegatives *wrappers.Int64Value `protobuf:"bytes,4,opt,name=true_negatives,json=trueNegatives,proto3" json:"true_negatives,omitempty"` - // Number of false samples predicted as false. - FalseNegatives *wrappers.Int64Value `protobuf:"bytes,5,opt,name=false_negatives,json=falseNegatives,proto3" json:"false_negatives,omitempty"` - // The fraction of actual positive predictions that had positive actual - // labels. - Precision *wrappers.DoubleValue `protobuf:"bytes,6,opt,name=precision,proto3" json:"precision,omitempty"` - // The fraction of actual positive labels that were given a positive - // prediction. - Recall *wrappers.DoubleValue `protobuf:"bytes,7,opt,name=recall,proto3" json:"recall,omitempty"` - // The equally weighted average of recall and precision. - F1Score *wrappers.DoubleValue `protobuf:"bytes,8,opt,name=f1_score,json=f1Score,proto3" json:"f1_score,omitempty"` - // The fraction of predictions given the correct label. - Accuracy *wrappers.DoubleValue `protobuf:"bytes,9,opt,name=accuracy,proto3" json:"accuracy,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) Reset() { - *m = Model_BinaryClassificationMetrics_BinaryConfusionMatrix{} -} -func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) String() string { - return proto.CompactTextString(m) -} -func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) ProtoMessage() {} -func (*Model_BinaryClassificationMetrics_BinaryConfusionMatrix) Descriptor() ([]byte, []int) { - return fileDescriptor_0bf703c728e4b09a, []int{0, 3, 0} -} - -func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Model_BinaryClassificationMetrics_BinaryConfusionMatrix.Unmarshal(m, b) -} -func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Model_BinaryClassificationMetrics_BinaryConfusionMatrix.Marshal(b, m, deterministic) -} -func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) XXX_Merge(src proto.Message) { - xxx_messageInfo_Model_BinaryClassificationMetrics_BinaryConfusionMatrix.Merge(m, src) -} -func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) XXX_Size() int { - return xxx_messageInfo_Model_BinaryClassificationMetrics_BinaryConfusionMatrix.Size(m) -} -func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) XXX_DiscardUnknown() { - xxx_messageInfo_Model_BinaryClassificationMetrics_BinaryConfusionMatrix.DiscardUnknown(m) -} - -var xxx_messageInfo_Model_BinaryClassificationMetrics_BinaryConfusionMatrix proto.InternalMessageInfo - -func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetPositiveClassThreshold() *wrappers.DoubleValue { - if m != nil { - return m.PositiveClassThreshold - } - return nil -} - -func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetTruePositives() *wrappers.Int64Value { - if m != nil { - return m.TruePositives - } - return nil -} - -func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetFalsePositives() *wrappers.Int64Value { - if m != nil { - return m.FalsePositives - } - return nil -} - -func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetTrueNegatives() *wrappers.Int64Value { - if m != nil { - return m.TrueNegatives - } - return nil -} - -func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetFalseNegatives() *wrappers.Int64Value { - if m != nil { - return m.FalseNegatives - } - return nil -} - -func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetPrecision() *wrappers.DoubleValue { - if m != nil { - return m.Precision - } - return nil -} - -func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetRecall() *wrappers.DoubleValue { - if m != nil { - return m.Recall - } - return nil -} - -func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetF1Score() *wrappers.DoubleValue { - if m != nil { - return m.F1Score - } - return nil -} - -func (m *Model_BinaryClassificationMetrics_BinaryConfusionMatrix) GetAccuracy() *wrappers.DoubleValue { - if m != nil { - return m.Accuracy - } - return nil -} - -// Evaluation metrics for multi-class classification/classifier models. -type Model_MultiClassClassificationMetrics struct { - // Aggregate classification metrics. - AggregateClassificationMetrics *Model_AggregateClassificationMetrics `protobuf:"bytes,1,opt,name=aggregate_classification_metrics,json=aggregateClassificationMetrics,proto3" json:"aggregate_classification_metrics,omitempty"` - // Confusion matrix at different thresholds. - ConfusionMatrixList []*Model_MultiClassClassificationMetrics_ConfusionMatrix `protobuf:"bytes,2,rep,name=confusion_matrix_list,json=confusionMatrixList,proto3" json:"confusion_matrix_list,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Model_MultiClassClassificationMetrics) Reset() { *m = Model_MultiClassClassificationMetrics{} } -func (m *Model_MultiClassClassificationMetrics) String() string { return proto.CompactTextString(m) } -func (*Model_MultiClassClassificationMetrics) ProtoMessage() {} -func (*Model_MultiClassClassificationMetrics) Descriptor() ([]byte, []int) { - return fileDescriptor_0bf703c728e4b09a, []int{0, 4} -} - -func (m *Model_MultiClassClassificationMetrics) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Model_MultiClassClassificationMetrics.Unmarshal(m, b) -} -func (m *Model_MultiClassClassificationMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Model_MultiClassClassificationMetrics.Marshal(b, m, deterministic) -} -func (m *Model_MultiClassClassificationMetrics) XXX_Merge(src proto.Message) { - xxx_messageInfo_Model_MultiClassClassificationMetrics.Merge(m, src) -} -func (m *Model_MultiClassClassificationMetrics) XXX_Size() int { - return xxx_messageInfo_Model_MultiClassClassificationMetrics.Size(m) -} -func (m *Model_MultiClassClassificationMetrics) XXX_DiscardUnknown() { - xxx_messageInfo_Model_MultiClassClassificationMetrics.DiscardUnknown(m) -} - -var xxx_messageInfo_Model_MultiClassClassificationMetrics proto.InternalMessageInfo - -func (m *Model_MultiClassClassificationMetrics) GetAggregateClassificationMetrics() *Model_AggregateClassificationMetrics { - if m != nil { - return m.AggregateClassificationMetrics - } - return nil -} - -func (m *Model_MultiClassClassificationMetrics) GetConfusionMatrixList() []*Model_MultiClassClassificationMetrics_ConfusionMatrix { - if m != nil { - return m.ConfusionMatrixList - } - return nil -} - -// Confusion matrix for multi-class classification models. -type Model_MultiClassClassificationMetrics_ConfusionMatrix struct { - // Confidence threshold used when computing the entries of the - // confusion matrix. - ConfidenceThreshold *wrappers.DoubleValue `protobuf:"bytes,1,opt,name=confidence_threshold,json=confidenceThreshold,proto3" json:"confidence_threshold,omitempty"` - // One row per actual label. - Rows []*Model_MultiClassClassificationMetrics_ConfusionMatrix_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 *Model_MultiClassClassificationMetrics_ConfusionMatrix) Reset() { - *m = Model_MultiClassClassificationMetrics_ConfusionMatrix{} -} -func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix) String() string { - return proto.CompactTextString(m) -} -func (*Model_MultiClassClassificationMetrics_ConfusionMatrix) ProtoMessage() {} -func (*Model_MultiClassClassificationMetrics_ConfusionMatrix) Descriptor() ([]byte, []int) { - return fileDescriptor_0bf703c728e4b09a, []int{0, 4, 0} -} - -func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Model_MultiClassClassificationMetrics_ConfusionMatrix.Unmarshal(m, b) -} -func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Model_MultiClassClassificationMetrics_ConfusionMatrix.Marshal(b, m, deterministic) -} -func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix) XXX_Merge(src proto.Message) { - xxx_messageInfo_Model_MultiClassClassificationMetrics_ConfusionMatrix.Merge(m, src) -} -func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix) XXX_Size() int { - return xxx_messageInfo_Model_MultiClassClassificationMetrics_ConfusionMatrix.Size(m) -} -func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix) XXX_DiscardUnknown() { - xxx_messageInfo_Model_MultiClassClassificationMetrics_ConfusionMatrix.DiscardUnknown(m) -} - -var xxx_messageInfo_Model_MultiClassClassificationMetrics_ConfusionMatrix proto.InternalMessageInfo - -func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix) GetConfidenceThreshold() *wrappers.DoubleValue { - if m != nil { - return m.ConfidenceThreshold - } - return nil -} - -func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix) GetRows() []*Model_MultiClassClassificationMetrics_ConfusionMatrix_Row { - if m != nil { - return m.Rows - } - return nil -} - -// A single entry in the confusion matrix. -type Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry struct { - // The predicted label. For confidence_threshold > 0, we will - // also add an entry indicating the number of items under the - // confidence threshold. - PredictedLabel string `protobuf:"bytes,1,opt,name=predicted_label,json=predictedLabel,proto3" json:"predicted_label,omitempty"` - // Number of items being predicted as this label. - ItemCount *wrappers.Int64Value `protobuf:"bytes,2,opt,name=item_count,json=itemCount,proto3" json:"item_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) Reset() { - *m = Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry{} -} -func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) String() string { - return proto.CompactTextString(m) -} -func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) ProtoMessage() {} -func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) Descriptor() ([]byte, []int) { - return fileDescriptor_0bf703c728e4b09a, []int{0, 4, 0, 0} -} - -func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry.Unmarshal(m, b) -} -func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry.Marshal(b, m, deterministic) -} -func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) XXX_Merge(src proto.Message) { - xxx_messageInfo_Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry.Merge(m, src) -} -func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) XXX_Size() int { - return xxx_messageInfo_Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry.Size(m) -} -func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) XXX_DiscardUnknown() { - xxx_messageInfo_Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry.DiscardUnknown(m) -} - -var xxx_messageInfo_Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry proto.InternalMessageInfo - -func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) GetPredictedLabel() string { - if m != nil { - return m.PredictedLabel - } - return "" -} - -func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry) GetItemCount() *wrappers.Int64Value { - if m != nil { - return m.ItemCount - } - return nil -} - -// A single row in the confusion matrix. -type Model_MultiClassClassificationMetrics_ConfusionMatrix_Row struct { - // The original label of this row. - ActualLabel string `protobuf:"bytes,1,opt,name=actual_label,json=actualLabel,proto3" json:"actual_label,omitempty"` - // Info describing predicted label distribution. - Entries []*Model_MultiClassClassificationMetrics_ConfusionMatrix_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 *Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) Reset() { - *m = Model_MultiClassClassificationMetrics_ConfusionMatrix_Row{} -} -func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) String() string { - return proto.CompactTextString(m) -} -func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) ProtoMessage() {} -func (*Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) Descriptor() ([]byte, []int) { - return fileDescriptor_0bf703c728e4b09a, []int{0, 4, 0, 1} -} - -func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Model_MultiClassClassificationMetrics_ConfusionMatrix_Row.Unmarshal(m, b) -} -func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Model_MultiClassClassificationMetrics_ConfusionMatrix_Row.Marshal(b, m, deterministic) -} -func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) XXX_Merge(src proto.Message) { - xxx_messageInfo_Model_MultiClassClassificationMetrics_ConfusionMatrix_Row.Merge(m, src) -} -func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) XXX_Size() int { - return xxx_messageInfo_Model_MultiClassClassificationMetrics_ConfusionMatrix_Row.Size(m) -} -func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) XXX_DiscardUnknown() { - xxx_messageInfo_Model_MultiClassClassificationMetrics_ConfusionMatrix_Row.DiscardUnknown(m) -} - -var xxx_messageInfo_Model_MultiClassClassificationMetrics_ConfusionMatrix_Row proto.InternalMessageInfo - -func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) GetActualLabel() string { - if m != nil { - return m.ActualLabel - } - return "" -} - -func (m *Model_MultiClassClassificationMetrics_ConfusionMatrix_Row) GetEntries() []*Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry { - if m != nil { - return m.Entries - } - return nil -} - -// Evaluation metrics for clustering models. -type Model_ClusteringMetrics struct { - // Davies-Bouldin index. - DaviesBouldinIndex *wrappers.DoubleValue `protobuf:"bytes,1,opt,name=davies_bouldin_index,json=daviesBouldinIndex,proto3" json:"davies_bouldin_index,omitempty"` - // Mean of squared distances between each sample to its cluster centroid. - MeanSquaredDistance *wrappers.DoubleValue `protobuf:"bytes,2,opt,name=mean_squared_distance,json=meanSquaredDistance,proto3" json:"mean_squared_distance,omitempty"` - // [Beta] Information for all clusters. - Clusters []*Model_ClusteringMetrics_Cluster `protobuf:"bytes,3,rep,name=clusters,proto3" json:"clusters,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Model_ClusteringMetrics) Reset() { *m = Model_ClusteringMetrics{} } -func (m *Model_ClusteringMetrics) String() string { return proto.CompactTextString(m) } -func (*Model_ClusteringMetrics) ProtoMessage() {} -func (*Model_ClusteringMetrics) Descriptor() ([]byte, []int) { - return fileDescriptor_0bf703c728e4b09a, []int{0, 5} -} - -func (m *Model_ClusteringMetrics) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Model_ClusteringMetrics.Unmarshal(m, b) -} -func (m *Model_ClusteringMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Model_ClusteringMetrics.Marshal(b, m, deterministic) -} -func (m *Model_ClusteringMetrics) XXX_Merge(src proto.Message) { - xxx_messageInfo_Model_ClusteringMetrics.Merge(m, src) -} -func (m *Model_ClusteringMetrics) XXX_Size() int { - return xxx_messageInfo_Model_ClusteringMetrics.Size(m) -} -func (m *Model_ClusteringMetrics) XXX_DiscardUnknown() { - xxx_messageInfo_Model_ClusteringMetrics.DiscardUnknown(m) -} - -var xxx_messageInfo_Model_ClusteringMetrics proto.InternalMessageInfo - -func (m *Model_ClusteringMetrics) GetDaviesBouldinIndex() *wrappers.DoubleValue { - if m != nil { - return m.DaviesBouldinIndex - } - return nil -} - -func (m *Model_ClusteringMetrics) GetMeanSquaredDistance() *wrappers.DoubleValue { - if m != nil { - return m.MeanSquaredDistance - } - return nil -} - -func (m *Model_ClusteringMetrics) GetClusters() []*Model_ClusteringMetrics_Cluster { - if m != nil { - return m.Clusters - } - return nil -} - -// Message containing the information about one cluster. -type Model_ClusteringMetrics_Cluster struct { - // Centroid id. - CentroidId int64 `protobuf:"varint,1,opt,name=centroid_id,json=centroidId,proto3" json:"centroid_id,omitempty"` - // Values of highly variant features for this cluster. - FeatureValues []*Model_ClusteringMetrics_Cluster_FeatureValue `protobuf:"bytes,2,rep,name=feature_values,json=featureValues,proto3" json:"feature_values,omitempty"` - // Count of training data rows that were assigned to this cluster. - Count *wrappers.Int64Value `protobuf:"bytes,3,opt,name=count,proto3" json:"count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Model_ClusteringMetrics_Cluster) Reset() { *m = Model_ClusteringMetrics_Cluster{} } -func (m *Model_ClusteringMetrics_Cluster) String() string { return proto.CompactTextString(m) } -func (*Model_ClusteringMetrics_Cluster) ProtoMessage() {} -func (*Model_ClusteringMetrics_Cluster) Descriptor() ([]byte, []int) { - return fileDescriptor_0bf703c728e4b09a, []int{0, 5, 0} -} - -func (m *Model_ClusteringMetrics_Cluster) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Model_ClusteringMetrics_Cluster.Unmarshal(m, b) -} -func (m *Model_ClusteringMetrics_Cluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Model_ClusteringMetrics_Cluster.Marshal(b, m, deterministic) -} -func (m *Model_ClusteringMetrics_Cluster) XXX_Merge(src proto.Message) { - xxx_messageInfo_Model_ClusteringMetrics_Cluster.Merge(m, src) -} -func (m *Model_ClusteringMetrics_Cluster) XXX_Size() int { - return xxx_messageInfo_Model_ClusteringMetrics_Cluster.Size(m) -} -func (m *Model_ClusteringMetrics_Cluster) XXX_DiscardUnknown() { - xxx_messageInfo_Model_ClusteringMetrics_Cluster.DiscardUnknown(m) -} - -var xxx_messageInfo_Model_ClusteringMetrics_Cluster proto.InternalMessageInfo - -func (m *Model_ClusteringMetrics_Cluster) GetCentroidId() int64 { - if m != nil { - return m.CentroidId - } - return 0 -} - -func (m *Model_ClusteringMetrics_Cluster) GetFeatureValues() []*Model_ClusteringMetrics_Cluster_FeatureValue { - if m != nil { - return m.FeatureValues - } - return nil -} - -func (m *Model_ClusteringMetrics_Cluster) GetCount() *wrappers.Int64Value { - if m != nil { - return m.Count - } - return nil -} - -// Representative value of a single feature within the cluster. -type Model_ClusteringMetrics_Cluster_FeatureValue struct { - // The feature column name. - FeatureColumn string `protobuf:"bytes,1,opt,name=feature_column,json=featureColumn,proto3" json:"feature_column,omitempty"` - // Types that are valid to be assigned to Value: - // *Model_ClusteringMetrics_Cluster_FeatureValue_NumericalValue - // *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_ - Value isModel_ClusteringMetrics_Cluster_FeatureValue_Value `protobuf_oneof:"value"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Model_ClusteringMetrics_Cluster_FeatureValue) Reset() { - *m = Model_ClusteringMetrics_Cluster_FeatureValue{} -} -func (m *Model_ClusteringMetrics_Cluster_FeatureValue) String() string { - return proto.CompactTextString(m) -} -func (*Model_ClusteringMetrics_Cluster_FeatureValue) ProtoMessage() {} -func (*Model_ClusteringMetrics_Cluster_FeatureValue) Descriptor() ([]byte, []int) { - return fileDescriptor_0bf703c728e4b09a, []int{0, 5, 0, 0} -} - -func (m *Model_ClusteringMetrics_Cluster_FeatureValue) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Model_ClusteringMetrics_Cluster_FeatureValue.Unmarshal(m, b) -} -func (m *Model_ClusteringMetrics_Cluster_FeatureValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Model_ClusteringMetrics_Cluster_FeatureValue.Marshal(b, m, deterministic) -} -func (m *Model_ClusteringMetrics_Cluster_FeatureValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_Model_ClusteringMetrics_Cluster_FeatureValue.Merge(m, src) -} -func (m *Model_ClusteringMetrics_Cluster_FeatureValue) XXX_Size() int { - return xxx_messageInfo_Model_ClusteringMetrics_Cluster_FeatureValue.Size(m) -} -func (m *Model_ClusteringMetrics_Cluster_FeatureValue) XXX_DiscardUnknown() { - xxx_messageInfo_Model_ClusteringMetrics_Cluster_FeatureValue.DiscardUnknown(m) -} - -var xxx_messageInfo_Model_ClusteringMetrics_Cluster_FeatureValue proto.InternalMessageInfo - -func (m *Model_ClusteringMetrics_Cluster_FeatureValue) GetFeatureColumn() string { - if m != nil { - return m.FeatureColumn - } - return "" -} - -type isModel_ClusteringMetrics_Cluster_FeatureValue_Value interface { - isModel_ClusteringMetrics_Cluster_FeatureValue_Value() -} - -type Model_ClusteringMetrics_Cluster_FeatureValue_NumericalValue struct { - NumericalValue *wrappers.DoubleValue `protobuf:"bytes,2,opt,name=numerical_value,json=numericalValue,proto3,oneof"` -} - -type Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_ struct { - CategoricalValue *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue `protobuf:"bytes,3,opt,name=categorical_value,json=categoricalValue,proto3,oneof"` -} - -func (*Model_ClusteringMetrics_Cluster_FeatureValue_NumericalValue) isModel_ClusteringMetrics_Cluster_FeatureValue_Value() { -} - -func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_) isModel_ClusteringMetrics_Cluster_FeatureValue_Value() { -} - -func (m *Model_ClusteringMetrics_Cluster_FeatureValue) GetValue() isModel_ClusteringMetrics_Cluster_FeatureValue_Value { - if m != nil { - return m.Value - } - return nil -} - -func (m *Model_ClusteringMetrics_Cluster_FeatureValue) GetNumericalValue() *wrappers.DoubleValue { - if x, ok := m.GetValue().(*Model_ClusteringMetrics_Cluster_FeatureValue_NumericalValue); ok { - return x.NumericalValue - } - return nil -} - -func (m *Model_ClusteringMetrics_Cluster_FeatureValue) GetCategoricalValue() *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue { - if x, ok := m.GetValue().(*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_); ok { - return x.CategoricalValue - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Model_ClusteringMetrics_Cluster_FeatureValue) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Model_ClusteringMetrics_Cluster_FeatureValue_NumericalValue)(nil), - (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_)(nil), - } -} - -// Representative value of a categorical feature. -type Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue struct { - // Counts of all categories for the categorical feature. If there are - // more than ten categories, we return top ten (by count) and return - // one more CategoryCount with category "_OTHER_" and count as - // aggregate counts of remaining categories. - CategoryCounts []*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount `protobuf:"bytes,1,rep,name=category_counts,json=categoryCounts,proto3" json:"category_counts,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) Reset() { - *m = Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue{} -} -func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) String() string { - return proto.CompactTextString(m) -} -func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) ProtoMessage() {} -func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) Descriptor() ([]byte, []int) { - return fileDescriptor_0bf703c728e4b09a, []int{0, 5, 0, 0, 0} -} - -func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue.Unmarshal(m, b) -} -func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue.Marshal(b, m, deterministic) -} -func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue.Merge(m, src) -} -func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) XXX_Size() int { - return xxx_messageInfo_Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue.Size(m) -} -func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) XXX_DiscardUnknown() { - xxx_messageInfo_Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue.DiscardUnknown(m) -} - -var xxx_messageInfo_Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue proto.InternalMessageInfo - -func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue) GetCategoryCounts() []*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount { - if m != nil { - return m.CategoryCounts - } - return nil -} - -// Represents the count of a single category within the cluster. -type Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount struct { - // The name of category. - Category string `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"` - // The count of training samples matching the category within the - // cluster. - Count *wrappers.Int64Value `protobuf:"bytes,2,opt,name=count,proto3" json:"count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) Reset() { - *m = Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount{} -} -func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) String() string { - return proto.CompactTextString(m) -} -func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) ProtoMessage() {} -func (*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) Descriptor() ([]byte, []int) { - return fileDescriptor_0bf703c728e4b09a, []int{0, 5, 0, 0, 0, 0} -} - -func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount.Unmarshal(m, b) -} -func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount.Marshal(b, m, deterministic) -} -func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) XXX_Merge(src proto.Message) { - xxx_messageInfo_Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount.Merge(m, src) -} -func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) XXX_Size() int { - return xxx_messageInfo_Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount.Size(m) -} -func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) XXX_DiscardUnknown() { - xxx_messageInfo_Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount.DiscardUnknown(m) -} - -var xxx_messageInfo_Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount proto.InternalMessageInfo - -func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) GetCategory() string { - if m != nil { - return m.Category - } - return "" -} - -func (m *Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount) GetCount() *wrappers.Int64Value { - if m != nil { - return m.Count - } - return nil -} - -// Evaluation metrics of a model. These are either computed on all training -// data or just the eval data based on whether eval data was used during -// training. These are not present for imported models. -type Model_EvaluationMetrics struct { - // Types that are valid to be assigned to Metrics: - // *Model_EvaluationMetrics_RegressionMetrics - // *Model_EvaluationMetrics_BinaryClassificationMetrics - // *Model_EvaluationMetrics_MultiClassClassificationMetrics - // *Model_EvaluationMetrics_ClusteringMetrics - Metrics isModel_EvaluationMetrics_Metrics `protobuf_oneof:"metrics"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Model_EvaluationMetrics) Reset() { *m = Model_EvaluationMetrics{} } -func (m *Model_EvaluationMetrics) String() string { return proto.CompactTextString(m) } -func (*Model_EvaluationMetrics) ProtoMessage() {} -func (*Model_EvaluationMetrics) Descriptor() ([]byte, []int) { - return fileDescriptor_0bf703c728e4b09a, []int{0, 6} -} - -func (m *Model_EvaluationMetrics) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Model_EvaluationMetrics.Unmarshal(m, b) -} -func (m *Model_EvaluationMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Model_EvaluationMetrics.Marshal(b, m, deterministic) -} -func (m *Model_EvaluationMetrics) XXX_Merge(src proto.Message) { - xxx_messageInfo_Model_EvaluationMetrics.Merge(m, src) -} -func (m *Model_EvaluationMetrics) XXX_Size() int { - return xxx_messageInfo_Model_EvaluationMetrics.Size(m) -} -func (m *Model_EvaluationMetrics) XXX_DiscardUnknown() { - xxx_messageInfo_Model_EvaluationMetrics.DiscardUnknown(m) -} - -var xxx_messageInfo_Model_EvaluationMetrics proto.InternalMessageInfo - -type isModel_EvaluationMetrics_Metrics interface { - isModel_EvaluationMetrics_Metrics() -} - -type Model_EvaluationMetrics_RegressionMetrics struct { - RegressionMetrics *Model_RegressionMetrics `protobuf:"bytes,1,opt,name=regression_metrics,json=regressionMetrics,proto3,oneof"` -} - -type Model_EvaluationMetrics_BinaryClassificationMetrics struct { - BinaryClassificationMetrics *Model_BinaryClassificationMetrics `protobuf:"bytes,2,opt,name=binary_classification_metrics,json=binaryClassificationMetrics,proto3,oneof"` -} - -type Model_EvaluationMetrics_MultiClassClassificationMetrics struct { - MultiClassClassificationMetrics *Model_MultiClassClassificationMetrics `protobuf:"bytes,3,opt,name=multi_class_classification_metrics,json=multiClassClassificationMetrics,proto3,oneof"` -} - -type Model_EvaluationMetrics_ClusteringMetrics struct { - ClusteringMetrics *Model_ClusteringMetrics `protobuf:"bytes,4,opt,name=clustering_metrics,json=clusteringMetrics,proto3,oneof"` -} - -func (*Model_EvaluationMetrics_RegressionMetrics) isModel_EvaluationMetrics_Metrics() {} - -func (*Model_EvaluationMetrics_BinaryClassificationMetrics) isModel_EvaluationMetrics_Metrics() {} - -func (*Model_EvaluationMetrics_MultiClassClassificationMetrics) isModel_EvaluationMetrics_Metrics() {} - -func (*Model_EvaluationMetrics_ClusteringMetrics) isModel_EvaluationMetrics_Metrics() {} - -func (m *Model_EvaluationMetrics) GetMetrics() isModel_EvaluationMetrics_Metrics { - if m != nil { - return m.Metrics - } - return nil -} - -func (m *Model_EvaluationMetrics) GetRegressionMetrics() *Model_RegressionMetrics { - if x, ok := m.GetMetrics().(*Model_EvaluationMetrics_RegressionMetrics); ok { - return x.RegressionMetrics - } - return nil -} - -func (m *Model_EvaluationMetrics) GetBinaryClassificationMetrics() *Model_BinaryClassificationMetrics { - if x, ok := m.GetMetrics().(*Model_EvaluationMetrics_BinaryClassificationMetrics); ok { - return x.BinaryClassificationMetrics - } - return nil -} - -func (m *Model_EvaluationMetrics) GetMultiClassClassificationMetrics() *Model_MultiClassClassificationMetrics { - if x, ok := m.GetMetrics().(*Model_EvaluationMetrics_MultiClassClassificationMetrics); ok { - return x.MultiClassClassificationMetrics - } - return nil -} - -func (m *Model_EvaluationMetrics) GetClusteringMetrics() *Model_ClusteringMetrics { - if x, ok := m.GetMetrics().(*Model_EvaluationMetrics_ClusteringMetrics); ok { - return x.ClusteringMetrics - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Model_EvaluationMetrics) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Model_EvaluationMetrics_RegressionMetrics)(nil), - (*Model_EvaluationMetrics_BinaryClassificationMetrics)(nil), - (*Model_EvaluationMetrics_MultiClassClassificationMetrics)(nil), - (*Model_EvaluationMetrics_ClusteringMetrics)(nil), - } -} - -// Information about a single training query run for the model. -type Model_TrainingRun struct { - // Options that were used for this training run, includes - // user specified and default options that were used. - TrainingOptions *Model_TrainingRun_TrainingOptions `protobuf:"bytes,1,opt,name=training_options,json=trainingOptions,proto3" json:"training_options,omitempty"` - // The start time of this training run. - StartTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // Output of each iteration run, results.size() <= max_iterations. - Results []*Model_TrainingRun_IterationResult `protobuf:"bytes,6,rep,name=results,proto3" json:"results,omitempty"` - // The evaluation metrics over training/eval data that were computed at the - // end of training. - EvaluationMetrics *Model_EvaluationMetrics `protobuf:"bytes,7,opt,name=evaluation_metrics,json=evaluationMetrics,proto3" json:"evaluation_metrics,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Model_TrainingRun) Reset() { *m = Model_TrainingRun{} } -func (m *Model_TrainingRun) String() string { return proto.CompactTextString(m) } -func (*Model_TrainingRun) ProtoMessage() {} -func (*Model_TrainingRun) Descriptor() ([]byte, []int) { - return fileDescriptor_0bf703c728e4b09a, []int{0, 7} -} - -func (m *Model_TrainingRun) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Model_TrainingRun.Unmarshal(m, b) -} -func (m *Model_TrainingRun) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Model_TrainingRun.Marshal(b, m, deterministic) -} -func (m *Model_TrainingRun) XXX_Merge(src proto.Message) { - xxx_messageInfo_Model_TrainingRun.Merge(m, src) -} -func (m *Model_TrainingRun) XXX_Size() int { - return xxx_messageInfo_Model_TrainingRun.Size(m) -} -func (m *Model_TrainingRun) XXX_DiscardUnknown() { - xxx_messageInfo_Model_TrainingRun.DiscardUnknown(m) -} - -var xxx_messageInfo_Model_TrainingRun proto.InternalMessageInfo - -func (m *Model_TrainingRun) GetTrainingOptions() *Model_TrainingRun_TrainingOptions { - if m != nil { - return m.TrainingOptions - } - return nil -} - -func (m *Model_TrainingRun) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *Model_TrainingRun) GetResults() []*Model_TrainingRun_IterationResult { - if m != nil { - return m.Results - } - return nil -} - -func (m *Model_TrainingRun) GetEvaluationMetrics() *Model_EvaluationMetrics { - if m != nil { - return m.EvaluationMetrics - } - return nil -} - -type Model_TrainingRun_TrainingOptions struct { - // The maximum number of iterations in training. Used only for iterative - // training algorithms. - MaxIterations int64 `protobuf:"varint,1,opt,name=max_iterations,json=maxIterations,proto3" json:"max_iterations,omitempty"` - // Type of loss function used during training run. - LossType Model_LossType `protobuf:"varint,2,opt,name=loss_type,json=lossType,proto3,enum=google.cloud.bigquery.v2.Model_LossType" json:"loss_type,omitempty"` - // Learning rate in training. Used only for iterative training algorithms. - LearnRate float64 `protobuf:"fixed64,3,opt,name=learn_rate,json=learnRate,proto3" json:"learn_rate,omitempty"` - // L1 regularization coefficient. - L1Regularization *wrappers.DoubleValue `protobuf:"bytes,4,opt,name=l1_regularization,json=l1Regularization,proto3" json:"l1_regularization,omitempty"` - // L2 regularization coefficient. - L2Regularization *wrappers.DoubleValue `protobuf:"bytes,5,opt,name=l2_regularization,json=l2Regularization,proto3" json:"l2_regularization,omitempty"` - // When early_stop is true, stops training when accuracy improvement is - // less than 'min_relative_progress'. Used only for iterative training - // algorithms. - MinRelativeProgress *wrappers.DoubleValue `protobuf:"bytes,6,opt,name=min_relative_progress,json=minRelativeProgress,proto3" json:"min_relative_progress,omitempty"` - // Whether to train a model from the last checkpoint. - WarmStart *wrappers.BoolValue `protobuf:"bytes,7,opt,name=warm_start,json=warmStart,proto3" json:"warm_start,omitempty"` - // Whether to stop early when the loss doesn't improve significantly - // any more (compared to min_relative_progress). Used only for iterative - // training algorithms. - EarlyStop *wrappers.BoolValue `protobuf:"bytes,8,opt,name=early_stop,json=earlyStop,proto3" json:"early_stop,omitempty"` - // Name of input label columns in training data. - InputLabelColumns []string `protobuf:"bytes,9,rep,name=input_label_columns,json=inputLabelColumns,proto3" json:"input_label_columns,omitempty"` - // The data split type for training and evaluation, e.g. RANDOM. - DataSplitMethod Model_DataSplitMethod `protobuf:"varint,10,opt,name=data_split_method,json=dataSplitMethod,proto3,enum=google.cloud.bigquery.v2.Model_DataSplitMethod" json:"data_split_method,omitempty"` - // The fraction of evaluation data over the whole input data. The rest - // of data will be used as training data. The format should be double. - // Accurate to two decimal places. - // Default value is 0.2. - DataSplitEvalFraction float64 `protobuf:"fixed64,11,opt,name=data_split_eval_fraction,json=dataSplitEvalFraction,proto3" json:"data_split_eval_fraction,omitempty"` - // The column to split data with. This column won't be used as a - // feature. - // 1. When data_split_method is CUSTOM, the corresponding column should - // be boolean. The rows with true value tag are eval data, and the false - // are training data. - // 2. When data_split_method is SEQ, the first DATA_SPLIT_EVAL_FRACTION - // rows (from smallest to largest) in the corresponding column are used - // as training data, and the rest are eval data. It respects the order - // in Orderable data types: - // https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types#data-type-properties - DataSplitColumn string `protobuf:"bytes,12,opt,name=data_split_column,json=dataSplitColumn,proto3" json:"data_split_column,omitempty"` - // The strategy to determine learn rate for the current iteration. - LearnRateStrategy Model_LearnRateStrategy `protobuf:"varint,13,opt,name=learn_rate_strategy,json=learnRateStrategy,proto3,enum=google.cloud.bigquery.v2.Model_LearnRateStrategy" json:"learn_rate_strategy,omitempty"` - // Specifies the initial learning rate for the line search learn rate - // strategy. - InitialLearnRate float64 `protobuf:"fixed64,16,opt,name=initial_learn_rate,json=initialLearnRate,proto3" json:"initial_learn_rate,omitempty"` - // Weights associated with each label class, for rebalancing the - // training data. Only applicable for classification models. - LabelClassWeights map[string]float64 `protobuf:"bytes,17,rep,name=label_class_weights,json=labelClassWeights,proto3" json:"label_class_weights,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"` - // Distance type for clustering models. - DistanceType Model_DistanceType `protobuf:"varint,20,opt,name=distance_type,json=distanceType,proto3,enum=google.cloud.bigquery.v2.Model_DistanceType" json:"distance_type,omitempty"` - // Number of clusters for clustering models. - NumClusters int64 `protobuf:"varint,21,opt,name=num_clusters,json=numClusters,proto3" json:"num_clusters,omitempty"` - // [Beta] Google Cloud Storage URI from which the model was imported. Only - // applicable for imported models. - ModelUri string `protobuf:"bytes,22,opt,name=model_uri,json=modelUri,proto3" json:"model_uri,omitempty"` - // Optimization strategy for training linear regression models. - OptimizationStrategy Model_OptimizationStrategy `protobuf:"varint,23,opt,name=optimization_strategy,json=optimizationStrategy,proto3,enum=google.cloud.bigquery.v2.Model_OptimizationStrategy" json:"optimization_strategy,omitempty"` - // The method used to initialize the centroids for kmeans algorithm. - KmeansInitializationMethod Model_KmeansEnums_KmeansInitializationMethod `protobuf:"varint,33,opt,name=kmeans_initialization_method,json=kmeansInitializationMethod,proto3,enum=google.cloud.bigquery.v2.Model_KmeansEnums_KmeansInitializationMethod" json:"kmeans_initialization_method,omitempty"` - // The column used to provide the initial centroids for kmeans algorithm - // when kmeans_initialization_method is CUSTOM. - KmeansInitializationColumn string `protobuf:"bytes,34,opt,name=kmeans_initialization_column,json=kmeansInitializationColumn,proto3" json:"kmeans_initialization_column,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Model_TrainingRun_TrainingOptions) Reset() { *m = Model_TrainingRun_TrainingOptions{} } -func (m *Model_TrainingRun_TrainingOptions) String() string { return proto.CompactTextString(m) } -func (*Model_TrainingRun_TrainingOptions) ProtoMessage() {} -func (*Model_TrainingRun_TrainingOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_0bf703c728e4b09a, []int{0, 7, 0} -} - -func (m *Model_TrainingRun_TrainingOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Model_TrainingRun_TrainingOptions.Unmarshal(m, b) -} -func (m *Model_TrainingRun_TrainingOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Model_TrainingRun_TrainingOptions.Marshal(b, m, deterministic) -} -func (m *Model_TrainingRun_TrainingOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_Model_TrainingRun_TrainingOptions.Merge(m, src) -} -func (m *Model_TrainingRun_TrainingOptions) XXX_Size() int { - return xxx_messageInfo_Model_TrainingRun_TrainingOptions.Size(m) -} -func (m *Model_TrainingRun_TrainingOptions) XXX_DiscardUnknown() { - xxx_messageInfo_Model_TrainingRun_TrainingOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_Model_TrainingRun_TrainingOptions proto.InternalMessageInfo - -func (m *Model_TrainingRun_TrainingOptions) GetMaxIterations() int64 { - if m != nil { - return m.MaxIterations - } - return 0 -} - -func (m *Model_TrainingRun_TrainingOptions) GetLossType() Model_LossType { - if m != nil { - return m.LossType - } - return Model_LOSS_TYPE_UNSPECIFIED -} - -func (m *Model_TrainingRun_TrainingOptions) GetLearnRate() float64 { - if m != nil { - return m.LearnRate - } - return 0 -} - -func (m *Model_TrainingRun_TrainingOptions) GetL1Regularization() *wrappers.DoubleValue { - if m != nil { - return m.L1Regularization - } - return nil -} - -func (m *Model_TrainingRun_TrainingOptions) GetL2Regularization() *wrappers.DoubleValue { - if m != nil { - return m.L2Regularization - } - return nil -} - -func (m *Model_TrainingRun_TrainingOptions) GetMinRelativeProgress() *wrappers.DoubleValue { - if m != nil { - return m.MinRelativeProgress - } - return nil -} - -func (m *Model_TrainingRun_TrainingOptions) GetWarmStart() *wrappers.BoolValue { - if m != nil { - return m.WarmStart - } - return nil -} - -func (m *Model_TrainingRun_TrainingOptions) GetEarlyStop() *wrappers.BoolValue { - if m != nil { - return m.EarlyStop - } - return nil -} - -func (m *Model_TrainingRun_TrainingOptions) GetInputLabelColumns() []string { - if m != nil { - return m.InputLabelColumns - } - return nil -} - -func (m *Model_TrainingRun_TrainingOptions) GetDataSplitMethod() Model_DataSplitMethod { - if m != nil { - return m.DataSplitMethod - } - return Model_DATA_SPLIT_METHOD_UNSPECIFIED -} - -func (m *Model_TrainingRun_TrainingOptions) GetDataSplitEvalFraction() float64 { - if m != nil { - return m.DataSplitEvalFraction - } - return 0 -} - -func (m *Model_TrainingRun_TrainingOptions) GetDataSplitColumn() string { - if m != nil { - return m.DataSplitColumn - } - return "" -} - -func (m *Model_TrainingRun_TrainingOptions) GetLearnRateStrategy() Model_LearnRateStrategy { - if m != nil { - return m.LearnRateStrategy - } - return Model_LEARN_RATE_STRATEGY_UNSPECIFIED -} - -func (m *Model_TrainingRun_TrainingOptions) GetInitialLearnRate() float64 { - if m != nil { - return m.InitialLearnRate - } - return 0 -} - -func (m *Model_TrainingRun_TrainingOptions) GetLabelClassWeights() map[string]float64 { - if m != nil { - return m.LabelClassWeights - } - return nil -} - -func (m *Model_TrainingRun_TrainingOptions) GetDistanceType() Model_DistanceType { - if m != nil { - return m.DistanceType - } - return Model_DISTANCE_TYPE_UNSPECIFIED -} - -func (m *Model_TrainingRun_TrainingOptions) GetNumClusters() int64 { - if m != nil { - return m.NumClusters - } - return 0 -} - -func (m *Model_TrainingRun_TrainingOptions) GetModelUri() string { - if m != nil { - return m.ModelUri - } - return "" -} - -func (m *Model_TrainingRun_TrainingOptions) GetOptimizationStrategy() Model_OptimizationStrategy { - if m != nil { - return m.OptimizationStrategy - } - return Model_OPTIMIZATION_STRATEGY_UNSPECIFIED -} - -func (m *Model_TrainingRun_TrainingOptions) GetKmeansInitializationMethod() Model_KmeansEnums_KmeansInitializationMethod { - if m != nil { - return m.KmeansInitializationMethod - } - return Model_KmeansEnums_KMEANS_INITIALIZATION_METHOD_UNSPECIFIED -} - -func (m *Model_TrainingRun_TrainingOptions) GetKmeansInitializationColumn() string { - if m != nil { - return m.KmeansInitializationColumn - } - return "" -} - -// Information about a single iteration of the training run. -type Model_TrainingRun_IterationResult struct { - // Index of the iteration, 0 based. - Index *wrappers.Int32Value `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` - // Time taken to run the iteration in milliseconds. - DurationMs *wrappers.Int64Value `protobuf:"bytes,4,opt,name=duration_ms,json=durationMs,proto3" json:"duration_ms,omitempty"` - // Loss computed on the training data at the end of iteration. - TrainingLoss *wrappers.DoubleValue `protobuf:"bytes,5,opt,name=training_loss,json=trainingLoss,proto3" json:"training_loss,omitempty"` - // Loss computed on the eval data at the end of iteration. - EvalLoss *wrappers.DoubleValue `protobuf:"bytes,6,opt,name=eval_loss,json=evalLoss,proto3" json:"eval_loss,omitempty"` - // Learn rate used for this iteration. - LearnRate float64 `protobuf:"fixed64,7,opt,name=learn_rate,json=learnRate,proto3" json:"learn_rate,omitempty"` - // Information about top clusters for clustering models. - ClusterInfos []*Model_TrainingRun_IterationResult_ClusterInfo `protobuf:"bytes,8,rep,name=cluster_infos,json=clusterInfos,proto3" json:"cluster_infos,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Model_TrainingRun_IterationResult) Reset() { *m = Model_TrainingRun_IterationResult{} } -func (m *Model_TrainingRun_IterationResult) String() string { return proto.CompactTextString(m) } -func (*Model_TrainingRun_IterationResult) ProtoMessage() {} -func (*Model_TrainingRun_IterationResult) Descriptor() ([]byte, []int) { - return fileDescriptor_0bf703c728e4b09a, []int{0, 7, 1} -} - -func (m *Model_TrainingRun_IterationResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Model_TrainingRun_IterationResult.Unmarshal(m, b) -} -func (m *Model_TrainingRun_IterationResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Model_TrainingRun_IterationResult.Marshal(b, m, deterministic) -} -func (m *Model_TrainingRun_IterationResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_Model_TrainingRun_IterationResult.Merge(m, src) -} -func (m *Model_TrainingRun_IterationResult) XXX_Size() int { - return xxx_messageInfo_Model_TrainingRun_IterationResult.Size(m) -} -func (m *Model_TrainingRun_IterationResult) XXX_DiscardUnknown() { - xxx_messageInfo_Model_TrainingRun_IterationResult.DiscardUnknown(m) -} - -var xxx_messageInfo_Model_TrainingRun_IterationResult proto.InternalMessageInfo - -func (m *Model_TrainingRun_IterationResult) GetIndex() *wrappers.Int32Value { - if m != nil { - return m.Index - } - return nil -} - -func (m *Model_TrainingRun_IterationResult) GetDurationMs() *wrappers.Int64Value { - if m != nil { - return m.DurationMs - } - return nil -} - -func (m *Model_TrainingRun_IterationResult) GetTrainingLoss() *wrappers.DoubleValue { - if m != nil { - return m.TrainingLoss - } - return nil -} - -func (m *Model_TrainingRun_IterationResult) GetEvalLoss() *wrappers.DoubleValue { - if m != nil { - return m.EvalLoss - } - return nil -} - -func (m *Model_TrainingRun_IterationResult) GetLearnRate() float64 { - if m != nil { - return m.LearnRate - } - return 0 -} - -func (m *Model_TrainingRun_IterationResult) GetClusterInfos() []*Model_TrainingRun_IterationResult_ClusterInfo { - if m != nil { - return m.ClusterInfos - } - return nil -} - -// Information about a single cluster for clustering model. -type Model_TrainingRun_IterationResult_ClusterInfo struct { - // Centroid id. - CentroidId int64 `protobuf:"varint,1,opt,name=centroid_id,json=centroidId,proto3" json:"centroid_id,omitempty"` - // Cluster radius, the average distance from centroid - // to each point assigned to the cluster. - ClusterRadius *wrappers.DoubleValue `protobuf:"bytes,2,opt,name=cluster_radius,json=clusterRadius,proto3" json:"cluster_radius,omitempty"` - // Cluster size, the total number of points assigned to the cluster. - ClusterSize *wrappers.Int64Value `protobuf:"bytes,3,opt,name=cluster_size,json=clusterSize,proto3" json:"cluster_size,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Model_TrainingRun_IterationResult_ClusterInfo) Reset() { - *m = Model_TrainingRun_IterationResult_ClusterInfo{} -} -func (m *Model_TrainingRun_IterationResult_ClusterInfo) String() string { - return proto.CompactTextString(m) -} -func (*Model_TrainingRun_IterationResult_ClusterInfo) ProtoMessage() {} -func (*Model_TrainingRun_IterationResult_ClusterInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_0bf703c728e4b09a, []int{0, 7, 1, 0} -} - -func (m *Model_TrainingRun_IterationResult_ClusterInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Model_TrainingRun_IterationResult_ClusterInfo.Unmarshal(m, b) -} -func (m *Model_TrainingRun_IterationResult_ClusterInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Model_TrainingRun_IterationResult_ClusterInfo.Marshal(b, m, deterministic) -} -func (m *Model_TrainingRun_IterationResult_ClusterInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_Model_TrainingRun_IterationResult_ClusterInfo.Merge(m, src) -} -func (m *Model_TrainingRun_IterationResult_ClusterInfo) XXX_Size() int { - return xxx_messageInfo_Model_TrainingRun_IterationResult_ClusterInfo.Size(m) -} -func (m *Model_TrainingRun_IterationResult_ClusterInfo) XXX_DiscardUnknown() { - xxx_messageInfo_Model_TrainingRun_IterationResult_ClusterInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_Model_TrainingRun_IterationResult_ClusterInfo proto.InternalMessageInfo - -func (m *Model_TrainingRun_IterationResult_ClusterInfo) GetCentroidId() int64 { - if m != nil { - return m.CentroidId - } - return 0 -} - -func (m *Model_TrainingRun_IterationResult_ClusterInfo) GetClusterRadius() *wrappers.DoubleValue { - if m != nil { - return m.ClusterRadius - } - return nil -} - -func (m *Model_TrainingRun_IterationResult_ClusterInfo) GetClusterSize() *wrappers.Int64Value { - if m != nil { - return m.ClusterSize - } - return nil -} - -type GetModelRequest struct { - // Required. Project ID of the requested model. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Required. Dataset ID of the requested model. - DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"` - // Required. Model ID of the requested model. - ModelId string `protobuf:"bytes,3,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_0bf703c728e4b09a, []int{1} -} - -func (m *GetModelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetModelRequest.Unmarshal(m, b) -} -func (m *GetModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetModelRequest.Marshal(b, m, deterministic) -} -func (m *GetModelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetModelRequest.Merge(m, src) -} -func (m *GetModelRequest) XXX_Size() int { - return xxx_messageInfo_GetModelRequest.Size(m) -} -func (m *GetModelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetModelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetModelRequest proto.InternalMessageInfo - -func (m *GetModelRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *GetModelRequest) GetDatasetId() string { - if m != nil { - return m.DatasetId - } - return "" -} - -func (m *GetModelRequest) GetModelId() string { - if m != nil { - return m.ModelId - } - return "" -} - -type PatchModelRequest struct { - // Required. Project ID of the model to patch. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Required. Dataset ID of the model to patch. - DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"` - // Required. Model ID of the model to patch. - ModelId string `protobuf:"bytes,3,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"` - // Required. Patched model. - // Follows RFC5789 patch semantics. Missing fields are not updated. - // To clear a field, explicitly set to default value. - Model *Model `protobuf:"bytes,4,opt,name=model,proto3" json:"model,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PatchModelRequest) Reset() { *m = PatchModelRequest{} } -func (m *PatchModelRequest) String() string { return proto.CompactTextString(m) } -func (*PatchModelRequest) ProtoMessage() {} -func (*PatchModelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0bf703c728e4b09a, []int{2} -} - -func (m *PatchModelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PatchModelRequest.Unmarshal(m, b) -} -func (m *PatchModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PatchModelRequest.Marshal(b, m, deterministic) -} -func (m *PatchModelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PatchModelRequest.Merge(m, src) -} -func (m *PatchModelRequest) XXX_Size() int { - return xxx_messageInfo_PatchModelRequest.Size(m) -} -func (m *PatchModelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PatchModelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_PatchModelRequest proto.InternalMessageInfo - -func (m *PatchModelRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *PatchModelRequest) GetDatasetId() string { - if m != nil { - return m.DatasetId - } - return "" -} - -func (m *PatchModelRequest) GetModelId() string { - if m != nil { - return m.ModelId - } - return "" -} - -func (m *PatchModelRequest) GetModel() *Model { - if m != nil { - return m.Model - } - return nil -} - -type DeleteModelRequest struct { - // Required. Project ID of the model to delete. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Required. Dataset ID of the model to delete. - DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"` - // Required. Model ID of the model to delete. - ModelId string `protobuf:"bytes,3,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_0bf703c728e4b09a, []int{3} -} - -func (m *DeleteModelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteModelRequest.Unmarshal(m, b) -} -func (m *DeleteModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteModelRequest.Marshal(b, m, deterministic) -} -func (m *DeleteModelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteModelRequest.Merge(m, src) -} -func (m *DeleteModelRequest) XXX_Size() int { - return xxx_messageInfo_DeleteModelRequest.Size(m) -} -func (m *DeleteModelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteModelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteModelRequest proto.InternalMessageInfo - -func (m *DeleteModelRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *DeleteModelRequest) GetDatasetId() string { - if m != nil { - return m.DatasetId - } - return "" -} - -func (m *DeleteModelRequest) GetModelId() string { - if m != nil { - return m.ModelId - } - return "" -} - -type ListModelsRequest struct { - // Required. Project ID of the models to list. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Required. Dataset ID of the models to list. - DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"` - // The maximum number of results to return in a single response page. - // Leverage the page tokens to iterate through the entire collection. - MaxResults *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"` - // Page token, returned by a previous call to request 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 *ListModelsRequest) Reset() { *m = ListModelsRequest{} } -func (m *ListModelsRequest) String() string { return proto.CompactTextString(m) } -func (*ListModelsRequest) ProtoMessage() {} -func (*ListModelsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0bf703c728e4b09a, []int{4} -} - -func (m *ListModelsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListModelsRequest.Unmarshal(m, b) -} -func (m *ListModelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListModelsRequest.Marshal(b, m, deterministic) -} -func (m *ListModelsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListModelsRequest.Merge(m, src) -} -func (m *ListModelsRequest) XXX_Size() int { - return xxx_messageInfo_ListModelsRequest.Size(m) -} -func (m *ListModelsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListModelsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListModelsRequest proto.InternalMessageInfo - -func (m *ListModelsRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *ListModelsRequest) GetDatasetId() string { - if m != nil { - return m.DatasetId - } - return "" -} - -func (m *ListModelsRequest) GetMaxResults() *wrappers.UInt32Value { - if m != nil { - return m.MaxResults - } - return nil -} - -func (m *ListModelsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -type ListModelsResponse struct { - // Models in the requested dataset. Only the following fields are populated: - // model_reference, model_type, creation_time, last_modified_time and - // labels. - Models []*Model `protobuf:"bytes,1,rep,name=models,proto3" json:"models,omitempty"` - // A token to request the next page of 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 *ListModelsResponse) Reset() { *m = ListModelsResponse{} } -func (m *ListModelsResponse) String() string { return proto.CompactTextString(m) } -func (*ListModelsResponse) ProtoMessage() {} -func (*ListModelsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0bf703c728e4b09a, []int{5} -} - -func (m *ListModelsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListModelsResponse.Unmarshal(m, b) -} -func (m *ListModelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListModelsResponse.Marshal(b, m, deterministic) -} -func (m *ListModelsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListModelsResponse.Merge(m, src) -} -func (m *ListModelsResponse) XXX_Size() int { - return xxx_messageInfo_ListModelsResponse.Size(m) -} -func (m *ListModelsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListModelsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListModelsResponse proto.InternalMessageInfo - -func (m *ListModelsResponse) GetModels() []*Model { - if m != nil { - return m.Models - } - return nil -} - -func (m *ListModelsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -func init() { - proto.RegisterEnum("google.cloud.bigquery.v2.Model_ModelType", Model_ModelType_name, Model_ModelType_value) - proto.RegisterEnum("google.cloud.bigquery.v2.Model_LossType", Model_LossType_name, Model_LossType_value) - proto.RegisterEnum("google.cloud.bigquery.v2.Model_DistanceType", Model_DistanceType_name, Model_DistanceType_value) - proto.RegisterEnum("google.cloud.bigquery.v2.Model_DataSplitMethod", Model_DataSplitMethod_name, Model_DataSplitMethod_value) - proto.RegisterEnum("google.cloud.bigquery.v2.Model_LearnRateStrategy", Model_LearnRateStrategy_name, Model_LearnRateStrategy_value) - proto.RegisterEnum("google.cloud.bigquery.v2.Model_OptimizationStrategy", Model_OptimizationStrategy_name, Model_OptimizationStrategy_value) - proto.RegisterEnum("google.cloud.bigquery.v2.Model_KmeansEnums_KmeansInitializationMethod", Model_KmeansEnums_KmeansInitializationMethod_name, Model_KmeansEnums_KmeansInitializationMethod_value) - proto.RegisterType((*Model)(nil), "google.cloud.bigquery.v2.Model") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.bigquery.v2.Model.LabelsEntry") - proto.RegisterType((*Model_KmeansEnums)(nil), "google.cloud.bigquery.v2.Model.KmeansEnums") - proto.RegisterType((*Model_RegressionMetrics)(nil), "google.cloud.bigquery.v2.Model.RegressionMetrics") - proto.RegisterType((*Model_AggregateClassificationMetrics)(nil), "google.cloud.bigquery.v2.Model.AggregateClassificationMetrics") - proto.RegisterType((*Model_BinaryClassificationMetrics)(nil), "google.cloud.bigquery.v2.Model.BinaryClassificationMetrics") - proto.RegisterType((*Model_BinaryClassificationMetrics_BinaryConfusionMatrix)(nil), "google.cloud.bigquery.v2.Model.BinaryClassificationMetrics.BinaryConfusionMatrix") - proto.RegisterType((*Model_MultiClassClassificationMetrics)(nil), "google.cloud.bigquery.v2.Model.MultiClassClassificationMetrics") - proto.RegisterType((*Model_MultiClassClassificationMetrics_ConfusionMatrix)(nil), "google.cloud.bigquery.v2.Model.MultiClassClassificationMetrics.ConfusionMatrix") - proto.RegisterType((*Model_MultiClassClassificationMetrics_ConfusionMatrix_Entry)(nil), "google.cloud.bigquery.v2.Model.MultiClassClassificationMetrics.ConfusionMatrix.Entry") - proto.RegisterType((*Model_MultiClassClassificationMetrics_ConfusionMatrix_Row)(nil), "google.cloud.bigquery.v2.Model.MultiClassClassificationMetrics.ConfusionMatrix.Row") - proto.RegisterType((*Model_ClusteringMetrics)(nil), "google.cloud.bigquery.v2.Model.ClusteringMetrics") - proto.RegisterType((*Model_ClusteringMetrics_Cluster)(nil), "google.cloud.bigquery.v2.Model.ClusteringMetrics.Cluster") - proto.RegisterType((*Model_ClusteringMetrics_Cluster_FeatureValue)(nil), "google.cloud.bigquery.v2.Model.ClusteringMetrics.Cluster.FeatureValue") - proto.RegisterType((*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue)(nil), "google.cloud.bigquery.v2.Model.ClusteringMetrics.Cluster.FeatureValue.CategoricalValue") - proto.RegisterType((*Model_ClusteringMetrics_Cluster_FeatureValue_CategoricalValue_CategoryCount)(nil), "google.cloud.bigquery.v2.Model.ClusteringMetrics.Cluster.FeatureValue.CategoricalValue.CategoryCount") - proto.RegisterType((*Model_EvaluationMetrics)(nil), "google.cloud.bigquery.v2.Model.EvaluationMetrics") - proto.RegisterType((*Model_TrainingRun)(nil), "google.cloud.bigquery.v2.Model.TrainingRun") - proto.RegisterType((*Model_TrainingRun_TrainingOptions)(nil), "google.cloud.bigquery.v2.Model.TrainingRun.TrainingOptions") - proto.RegisterMapType((map[string]float64)(nil), "google.cloud.bigquery.v2.Model.TrainingRun.TrainingOptions.LabelClassWeightsEntry") - proto.RegisterType((*Model_TrainingRun_IterationResult)(nil), "google.cloud.bigquery.v2.Model.TrainingRun.IterationResult") - proto.RegisterType((*Model_TrainingRun_IterationResult_ClusterInfo)(nil), "google.cloud.bigquery.v2.Model.TrainingRun.IterationResult.ClusterInfo") - proto.RegisterType((*GetModelRequest)(nil), "google.cloud.bigquery.v2.GetModelRequest") - proto.RegisterType((*PatchModelRequest)(nil), "google.cloud.bigquery.v2.PatchModelRequest") - proto.RegisterType((*DeleteModelRequest)(nil), "google.cloud.bigquery.v2.DeleteModelRequest") - proto.RegisterType((*ListModelsRequest)(nil), "google.cloud.bigquery.v2.ListModelsRequest") - proto.RegisterType((*ListModelsResponse)(nil), "google.cloud.bigquery.v2.ListModelsResponse") -} - -func init() { - proto.RegisterFile("google/cloud/bigquery/v2/model.proto", fileDescriptor_0bf703c728e4b09a) -} - -var fileDescriptor_0bf703c728e4b09a = []byte{ - // 3182 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0x4b, 0x6f, 0x23, 0xc7, - 0xb5, 0x1e, 0x92, 0x7a, 0xf1, 0x50, 0x12, 0xc9, 0xd2, 0x68, 0x86, 0xee, 0x79, 0xf3, 0xda, 0xd7, - 0xba, 0xb6, 0x4c, 0x5d, 0xc9, 0xbe, 0xd7, 0x9e, 0x71, 0xe2, 0x98, 0x22, 0x39, 0x12, 0x63, 0x8a, - 0xd4, 0x34, 0x29, 0x4f, 0xec, 0x00, 0xe9, 0xb4, 0xba, 0x8b, 0x54, 0x67, 0xfa, 0xc1, 0xe9, 0xaa, - 0x96, 0xc4, 0x41, 0x36, 0x89, 0x81, 0x20, 0x30, 0x60, 0x2f, 0x02, 0x24, 0x40, 0x7e, 0x46, 0x90, - 0x45, 0x90, 0x6d, 0xb2, 0x08, 0x90, 0x65,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x6b, 0x28, 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 - -// ModelServiceClient is the client API for ModelService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ModelServiceClient interface { - // Gets the specified model resource by model ID. - GetModel(ctx context.Context, in *GetModelRequest, opts ...grpc.CallOption) (*Model, error) - // Lists all models in the specified dataset. Requires the READER dataset - // role. - ListModels(ctx context.Context, in *ListModelsRequest, opts ...grpc.CallOption) (*ListModelsResponse, error) - // Patch specific fields in the specified model. - PatchModel(ctx context.Context, in *PatchModelRequest, opts ...grpc.CallOption) (*Model, error) - // Deletes the model specified by modelId from the dataset. - DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*empty.Empty, error) -} - -type modelServiceClient struct { - cc *grpc.ClientConn -} - -func NewModelServiceClient(cc *grpc.ClientConn) ModelServiceClient { - return &modelServiceClient{cc} -} - -func (c *modelServiceClient) GetModel(ctx context.Context, in *GetModelRequest, opts ...grpc.CallOption) (*Model, error) { - out := new(Model) - err := c.cc.Invoke(ctx, "/google.cloud.bigquery.v2.ModelService/GetModel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *modelServiceClient) ListModels(ctx context.Context, in *ListModelsRequest, opts ...grpc.CallOption) (*ListModelsResponse, error) { - out := new(ListModelsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.bigquery.v2.ModelService/ListModels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *modelServiceClient) PatchModel(ctx context.Context, in *PatchModelRequest, opts ...grpc.CallOption) (*Model, error) { - out := new(Model) - err := c.cc.Invoke(ctx, "/google.cloud.bigquery.v2.ModelService/PatchModel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *modelServiceClient) DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.bigquery.v2.ModelService/DeleteModel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ModelServiceServer is the server API for ModelService service. -type ModelServiceServer interface { - // Gets the specified model resource by model ID. - GetModel(context.Context, *GetModelRequest) (*Model, error) - // Lists all models in the specified dataset. Requires the READER dataset - // role. - ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error) - // Patch specific fields in the specified model. - PatchModel(context.Context, *PatchModelRequest) (*Model, error) - // Deletes the model specified by modelId from the dataset. - DeleteModel(context.Context, *DeleteModelRequest) (*empty.Empty, error) -} - -// UnimplementedModelServiceServer can be embedded to have forward compatible implementations. -type UnimplementedModelServiceServer struct { -} - -func (*UnimplementedModelServiceServer) GetModel(ctx context.Context, req *GetModelRequest) (*Model, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetModel not implemented") -} -func (*UnimplementedModelServiceServer) ListModels(ctx context.Context, req *ListModelsRequest) (*ListModelsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListModels not implemented") -} -func (*UnimplementedModelServiceServer) PatchModel(ctx context.Context, req *PatchModelRequest) (*Model, error) { - return nil, status.Errorf(codes.Unimplemented, "method PatchModel not implemented") -} -func (*UnimplementedModelServiceServer) DeleteModel(ctx context.Context, req *DeleteModelRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteModel not implemented") -} - -func RegisterModelServiceServer(s *grpc.Server, srv ModelServiceServer) { - s.RegisterService(&_ModelService_serviceDesc, srv) -} - -func _ModelService_GetModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetModelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ModelServiceServer).GetModel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.bigquery.v2.ModelService/GetModel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ModelServiceServer).GetModel(ctx, req.(*GetModelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ModelService_ListModels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListModelsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ModelServiceServer).ListModels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.bigquery.v2.ModelService/ListModels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ModelServiceServer).ListModels(ctx, req.(*ListModelsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ModelService_PatchModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchModelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ModelServiceServer).PatchModel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.bigquery.v2.ModelService/PatchModel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ModelServiceServer).PatchModel(ctx, req.(*PatchModelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ModelService_DeleteModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteModelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ModelServiceServer).DeleteModel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.bigquery.v2.ModelService/DeleteModel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ModelServiceServer).DeleteModel(ctx, req.(*DeleteModelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ModelService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.bigquery.v2.ModelService", - HandlerType: (*ModelServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetModel", - Handler: _ModelService_GetModel_Handler, - }, - { - MethodName: "ListModels", - Handler: _ModelService_ListModels_Handler, - }, - { - MethodName: "PatchModel", - Handler: _ModelService_PatchModel_Handler, - }, - { - MethodName: "DeleteModel", - Handler: _ModelService_DeleteModel_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/bigquery/v2/model.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/v2/model_reference.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/v2/model_reference.pb.go deleted file mode 100644 index 7777b200..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/v2/model_reference.pb.go +++ /dev/null @@ -1,112 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/bigquery/v2/model_reference.proto - -package bigquery - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Id path of a model. -type ModelReference struct { - // Required. The ID of the project containing this model. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Required. The ID of the dataset containing this model. - DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"` - // Required. The ID of the model. The ID must contain only - // letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum - // length is 1,024 characters. - ModelId string `protobuf:"bytes,3,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ModelReference) Reset() { *m = ModelReference{} } -func (m *ModelReference) String() string { return proto.CompactTextString(m) } -func (*ModelReference) ProtoMessage() {} -func (*ModelReference) Descriptor() ([]byte, []int) { - return fileDescriptor_4c8f9aced577e06a, []int{0} -} - -func (m *ModelReference) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ModelReference.Unmarshal(m, b) -} -func (m *ModelReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ModelReference.Marshal(b, m, deterministic) -} -func (m *ModelReference) XXX_Merge(src proto.Message) { - xxx_messageInfo_ModelReference.Merge(m, src) -} -func (m *ModelReference) XXX_Size() int { - return xxx_messageInfo_ModelReference.Size(m) -} -func (m *ModelReference) XXX_DiscardUnknown() { - xxx_messageInfo_ModelReference.DiscardUnknown(m) -} - -var xxx_messageInfo_ModelReference proto.InternalMessageInfo - -func (m *ModelReference) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *ModelReference) GetDatasetId() string { - if m != nil { - return m.DatasetId - } - return "" -} - -func (m *ModelReference) GetModelId() string { - if m != nil { - return m.ModelId - } - return "" -} - -func init() { - proto.RegisterType((*ModelReference)(nil), "google.cloud.bigquery.v2.ModelReference") -} - -func init() { - proto.RegisterFile("google/cloud/bigquery/v2/model_reference.proto", fileDescriptor_4c8f9aced577e06a) -} - -var fileDescriptor_4c8f9aced577e06a = []byte{ - // 249 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0xd0, 0xb1, 0x4e, 0xc3, 0x30, - 0x10, 0x06, 0x60, 0xb5, 0x95, 0x80, 0x7a, 0x60, 0x08, 0x4b, 0x54, 0x55, 0x80, 0x3a, 0x31, 0xd9, - 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 0x71, 0x72, 0x4a, 0x28, 0xb4, 0x21, 0x8a, 0x88, 0x2d, 0xd9, - 0xea, 0xee, 0xff, 0xb7, 0x3e, 0x4c, 0xe7, 0xfa, 0x2c, 0xe0, 0xfb, 0x9f, 0x00, 0x00, 0x00, 0xff, - 0xff, 0x78, 0xee, 0x8e, 0xdc, 0x82, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/v2/standard_sql.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/v2/standard_sql.pb.go deleted file mode 100644 index 6201b17f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/bigquery/v2/standard_sql.pb.go +++ /dev/null @@ -1,339 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/bigquery/v2/standard_sql.proto - -package bigquery - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -type StandardSqlDataType_TypeKind int32 - -const ( - // Invalid type. - StandardSqlDataType_TYPE_KIND_UNSPECIFIED StandardSqlDataType_TypeKind = 0 - // Encoded as a string in decimal format. - StandardSqlDataType_INT64 StandardSqlDataType_TypeKind = 2 - // Encoded as a boolean "false" or "true". - StandardSqlDataType_BOOL StandardSqlDataType_TypeKind = 5 - // Encoded as a number, or string "NaN", "Infinity" or "-Infinity". - StandardSqlDataType_FLOAT64 StandardSqlDataType_TypeKind = 7 - // Encoded as a string value. - StandardSqlDataType_STRING StandardSqlDataType_TypeKind = 8 - // Encoded as a base64 string per RFC 4648, section 4. - StandardSqlDataType_BYTES StandardSqlDataType_TypeKind = 9 - // Encoded as an RFC 3339 timestamp with mandatory "Z" time zone string: - // 1985-04-12T23:20:50.52Z - StandardSqlDataType_TIMESTAMP StandardSqlDataType_TypeKind = 19 - // Encoded as RFC 3339 full-date format string: 1985-04-12 - StandardSqlDataType_DATE StandardSqlDataType_TypeKind = 10 - // Encoded as RFC 3339 partial-time format string: 23:20:50.52 - StandardSqlDataType_TIME StandardSqlDataType_TypeKind = 20 - // Encoded as RFC 3339 full-date "T" partial-time: 1985-04-12T23:20:50.52 - StandardSqlDataType_DATETIME StandardSqlDataType_TypeKind = 21 - // Encoded as WKT - StandardSqlDataType_GEOGRAPHY StandardSqlDataType_TypeKind = 22 - // Encoded as a decimal string. - StandardSqlDataType_NUMERIC StandardSqlDataType_TypeKind = 23 - // Encoded as a list with types matching Type.array_type. - StandardSqlDataType_ARRAY StandardSqlDataType_TypeKind = 16 - // Encoded as a list with fields of type Type.struct_type[i]. List is used - // because a JSON object cannot have duplicate field names. - StandardSqlDataType_STRUCT StandardSqlDataType_TypeKind = 17 -) - -var StandardSqlDataType_TypeKind_name = map[int32]string{ - 0: "TYPE_KIND_UNSPECIFIED", - 2: "INT64", - 5: "BOOL", - 7: "FLOAT64", - 8: "STRING", - 9: "BYTES", - 19: "TIMESTAMP", - 10: "DATE", - 20: "TIME", - 21: "DATETIME", - 22: "GEOGRAPHY", - 23: "NUMERIC", - 16: "ARRAY", - 17: "STRUCT", -} - -var StandardSqlDataType_TypeKind_value = map[string]int32{ - "TYPE_KIND_UNSPECIFIED": 0, - "INT64": 2, - "BOOL": 5, - "FLOAT64": 7, - "STRING": 8, - "BYTES": 9, - "TIMESTAMP": 19, - "DATE": 10, - "TIME": 20, - "DATETIME": 21, - "GEOGRAPHY": 22, - "NUMERIC": 23, - "ARRAY": 16, - "STRUCT": 17, -} - -func (x StandardSqlDataType_TypeKind) String() string { - return proto.EnumName(StandardSqlDataType_TypeKind_name, int32(x)) -} - -func (StandardSqlDataType_TypeKind) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_17cd17721212b1f9, []int{0, 0} -} - -// The type of a variable, e.g., a function argument. -// Examples: -// INT64: {type_kind="INT64"} -// ARRAY: {type_kind="ARRAY", array_element_type="STRING"} -// STRUCT>: -// {type_kind="STRUCT", -// struct_type={fields=[ -// {name="x", type={type_kind="STRING"}}, -// {name="y", type={type_kind="ARRAY", array_element_type="DATE"}} -// ]}} -type StandardSqlDataType struct { - // Required. The top level type of this field. - // Can be any standard SQL data type (e.g., "INT64", "DATE", "ARRAY"). - TypeKind StandardSqlDataType_TypeKind `protobuf:"varint,1,opt,name=type_kind,json=typeKind,proto3,enum=google.cloud.bigquery.v2.StandardSqlDataType_TypeKind" json:"type_kind,omitempty"` - // Types that are valid to be assigned to SubType: - // *StandardSqlDataType_ArrayElementType - // *StandardSqlDataType_StructType - SubType isStandardSqlDataType_SubType `protobuf_oneof:"sub_type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StandardSqlDataType) Reset() { *m = StandardSqlDataType{} } -func (m *StandardSqlDataType) String() string { return proto.CompactTextString(m) } -func (*StandardSqlDataType) ProtoMessage() {} -func (*StandardSqlDataType) Descriptor() ([]byte, []int) { - return fileDescriptor_17cd17721212b1f9, []int{0} -} - -func (m *StandardSqlDataType) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StandardSqlDataType.Unmarshal(m, b) -} -func (m *StandardSqlDataType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StandardSqlDataType.Marshal(b, m, deterministic) -} -func (m *StandardSqlDataType) XXX_Merge(src proto.Message) { - xxx_messageInfo_StandardSqlDataType.Merge(m, src) -} -func (m *StandardSqlDataType) XXX_Size() int { - return xxx_messageInfo_StandardSqlDataType.Size(m) -} -func (m *StandardSqlDataType) XXX_DiscardUnknown() { - xxx_messageInfo_StandardSqlDataType.DiscardUnknown(m) -} - -var xxx_messageInfo_StandardSqlDataType proto.InternalMessageInfo - -func (m *StandardSqlDataType) GetTypeKind() StandardSqlDataType_TypeKind { - if m != nil { - return m.TypeKind - } - return StandardSqlDataType_TYPE_KIND_UNSPECIFIED -} - -type isStandardSqlDataType_SubType interface { - isStandardSqlDataType_SubType() -} - -type StandardSqlDataType_ArrayElementType struct { - ArrayElementType *StandardSqlDataType `protobuf:"bytes,2,opt,name=array_element_type,json=arrayElementType,proto3,oneof"` -} - -type StandardSqlDataType_StructType struct { - StructType *StandardSqlStructType `protobuf:"bytes,3,opt,name=struct_type,json=structType,proto3,oneof"` -} - -func (*StandardSqlDataType_ArrayElementType) isStandardSqlDataType_SubType() {} - -func (*StandardSqlDataType_StructType) isStandardSqlDataType_SubType() {} - -func (m *StandardSqlDataType) GetSubType() isStandardSqlDataType_SubType { - if m != nil { - return m.SubType - } - return nil -} - -func (m *StandardSqlDataType) GetArrayElementType() *StandardSqlDataType { - if x, ok := m.GetSubType().(*StandardSqlDataType_ArrayElementType); ok { - return x.ArrayElementType - } - return nil -} - -func (m *StandardSqlDataType) GetStructType() *StandardSqlStructType { - if x, ok := m.GetSubType().(*StandardSqlDataType_StructType); ok { - return x.StructType - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*StandardSqlDataType) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*StandardSqlDataType_ArrayElementType)(nil), - (*StandardSqlDataType_StructType)(nil), - } -} - -// A field or a column. -type StandardSqlField struct { - // Optional. The name of this field. Can be absent for struct fields. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Optional. The type of this parameter. Absent if not explicitly - // specified (e.g., CREATE FUNCTION statement can omit the return type; - // in this case the output parameter does not have this "type" field). - Type *StandardSqlDataType `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StandardSqlField) Reset() { *m = StandardSqlField{} } -func (m *StandardSqlField) String() string { return proto.CompactTextString(m) } -func (*StandardSqlField) ProtoMessage() {} -func (*StandardSqlField) Descriptor() ([]byte, []int) { - return fileDescriptor_17cd17721212b1f9, []int{1} -} - -func (m *StandardSqlField) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StandardSqlField.Unmarshal(m, b) -} -func (m *StandardSqlField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StandardSqlField.Marshal(b, m, deterministic) -} -func (m *StandardSqlField) XXX_Merge(src proto.Message) { - xxx_messageInfo_StandardSqlField.Merge(m, src) -} -func (m *StandardSqlField) XXX_Size() int { - return xxx_messageInfo_StandardSqlField.Size(m) -} -func (m *StandardSqlField) XXX_DiscardUnknown() { - xxx_messageInfo_StandardSqlField.DiscardUnknown(m) -} - -var xxx_messageInfo_StandardSqlField proto.InternalMessageInfo - -func (m *StandardSqlField) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *StandardSqlField) GetType() *StandardSqlDataType { - if m != nil { - return m.Type - } - return nil -} - -type StandardSqlStructType struct { - Fields []*StandardSqlField `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StandardSqlStructType) Reset() { *m = StandardSqlStructType{} } -func (m *StandardSqlStructType) String() string { return proto.CompactTextString(m) } -func (*StandardSqlStructType) ProtoMessage() {} -func (*StandardSqlStructType) Descriptor() ([]byte, []int) { - return fileDescriptor_17cd17721212b1f9, []int{2} -} - -func (m *StandardSqlStructType) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StandardSqlStructType.Unmarshal(m, b) -} -func (m *StandardSqlStructType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StandardSqlStructType.Marshal(b, m, deterministic) -} -func (m *StandardSqlStructType) XXX_Merge(src proto.Message) { - xxx_messageInfo_StandardSqlStructType.Merge(m, src) -} -func (m *StandardSqlStructType) XXX_Size() int { - return xxx_messageInfo_StandardSqlStructType.Size(m) -} -func (m *StandardSqlStructType) XXX_DiscardUnknown() { - xxx_messageInfo_StandardSqlStructType.DiscardUnknown(m) -} - -var xxx_messageInfo_StandardSqlStructType proto.InternalMessageInfo - -func (m *StandardSqlStructType) GetFields() []*StandardSqlField { - if m != nil { - return m.Fields - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.bigquery.v2.StandardSqlDataType_TypeKind", StandardSqlDataType_TypeKind_name, StandardSqlDataType_TypeKind_value) - proto.RegisterType((*StandardSqlDataType)(nil), "google.cloud.bigquery.v2.StandardSqlDataType") - proto.RegisterType((*StandardSqlField)(nil), "google.cloud.bigquery.v2.StandardSqlField") - proto.RegisterType((*StandardSqlStructType)(nil), "google.cloud.bigquery.v2.StandardSqlStructType") -} - -func init() { - proto.RegisterFile("google/cloud/bigquery/v2/standard_sql.proto", fileDescriptor_17cd17721212b1f9) -} - -var fileDescriptor_17cd17721212b1f9 = []byte{ - // 517 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x53, 0xef, 0x8e, 0xd2, 0x40, - 0x10, 0xbf, 0x1e, 0x1c, 0x57, 0x06, 0x35, 0xeb, 0x9e, 0x78, 0x78, 0xb9, 0x44, 0xc2, 0x27, 0xa2, - 0xb1, 0x4d, 0xd0, 0xdc, 0x17, 0xbf, 0xd8, 0x42, 0xe1, 0x9a, 0x3b, 0xfe, 0xa4, 0x2d, 0x89, 0x68, - 0x4c, 0xb3, 0xd0, 0xb5, 0x36, 0x96, 0x5d, 0x68, 0x0b, 0x09, 0xaf, 0xe7, 0x93, 0xf8, 0x0e, 0xbe, - 0x80, 0xd9, 0x6d, 0x31, 0x24, 0xde, 0x25, 0xa7, 0x5f, 0x9a, 0xee, 0xcc, 0xef, 0xcf, 0xcc, 0xce, - 0x2c, 0xbc, 0x0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4b, - 0xed, 0x5a, 0xe7, 0xd5, 0x83, 0x2c, 0x64, 0xd5, 0x4e, 0xc1, 0x34, 0x13, 0xb8, 0x5c, 0xf0, 0xe5, - 0xbd, 0x44, 0xf3, 0xb0, 0xdf, 0x89, 0xd8, 0xfc, 0x4f, 0x1f, 0x0a, 0x6c, 0xc8, 0x63, 0xc2, 0x42, - 0x8d, 0x27, 0xa1, 0x1e, 0x52, 0x26, 0x5f, 0x85, 0x9e, 0xa7, 0xc8, 0x2a, 0x4a, 0xff, 0x7e, 0x9e, - 0xef, 0xf7, 0xff, 0xf3, 0x8a, 0x04, 0xbf, 0xfd, 0x1d, 0x00, 0x00, 0xff, 0xff, 0xe6, 0xcb, 0x82, - 0x5e, 0xca, 0x03, 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 deleted file mode 100644 index ed01d4d9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/billing/v1/cloud_billing.pb.go +++ /dev/null @@ -1,902 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/billing/v1/cloud_billing.proto - -package billing - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A billing account in [Google Cloud -// Console](https://console.cloud.google.com/). You can assign a billing account -// to one or more projects. -type BillingAccount struct { - // The resource name of the billing account. The resource name has the form - // `billingAccounts/{billing_account_id}`. For example, - // `billingAccounts/012345-567890-ABCDEF` would be the resource name for - // billing account `012345-567890-ABCDEF`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // True if the billing account is open, and will therefore be charged for any - // usage on associated projects. False if the billing account is closed, and - // therefore projects associated with it will be unable to use paid services. - Open bool `protobuf:"varint,2,opt,name=open,proto3" json:"open,omitempty"` - // The display name given to the billing account, such as `My Billing - // Account`. This name is displayed in the Google Cloud Console. - DisplayName string `protobuf:"bytes,3,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 *BillingAccount) Reset() { *m = BillingAccount{} } -func (m *BillingAccount) String() string { return proto.CompactTextString(m) } -func (*BillingAccount) ProtoMessage() {} -func (*BillingAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_47fe072480332805, []int{0} -} - -func (m *BillingAccount) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BillingAccount.Unmarshal(m, b) -} -func (m *BillingAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BillingAccount.Marshal(b, m, deterministic) -} -func (m *BillingAccount) XXX_Merge(src proto.Message) { - xxx_messageInfo_BillingAccount.Merge(m, src) -} -func (m *BillingAccount) XXX_Size() int { - return xxx_messageInfo_BillingAccount.Size(m) -} -func (m *BillingAccount) XXX_DiscardUnknown() { - xxx_messageInfo_BillingAccount.DiscardUnknown(m) -} - -var xxx_messageInfo_BillingAccount proto.InternalMessageInfo - -func (m *BillingAccount) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *BillingAccount) GetOpen() bool { - if m != nil { - return m.Open - } - return false -} - -func (m *BillingAccount) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -// Encapsulation of billing information for a Cloud Console project. A project -// has at most one associated billing account at a time (but a billing account -// can be assigned to multiple projects). -type ProjectBillingInfo struct { - // The resource name for the `ProjectBillingInfo`; has the form - // `projects/{project_id}/billingInfo`. For example, the resource name for the - // billing information for project `tokyo-rain-123` would be - // `projects/tokyo-rain-123/billingInfo`. This field is read-only. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The ID of the project that this `ProjectBillingInfo` represents, such as - // `tokyo-rain-123`. This is a convenience field so that you don't need to - // parse the `name` field to obtain a project ID. This field is read-only. - ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The resource name of the billing account associated with the project, if - // any. For example, `billingAccounts/012345-567890-ABCDEF`. - BillingAccountName string `protobuf:"bytes,3,opt,name=billing_account_name,json=billingAccountName,proto3" json:"billing_account_name,omitempty"` - // True if the project is associated with an open billing account, to which - // usage on the project is charged. False if the project is associated with a - // closed billing account, or no billing account at all, and therefore cannot - // use paid services. This field is read-only. - BillingEnabled bool `protobuf:"varint,4,opt,name=billing_enabled,json=billingEnabled,proto3" json:"billing_enabled,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_47fe072480332805, []int{1} -} - -func (m *ProjectBillingInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProjectBillingInfo.Unmarshal(m, b) -} -func (m *ProjectBillingInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProjectBillingInfo.Marshal(b, m, deterministic) -} -func (m *ProjectBillingInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProjectBillingInfo.Merge(m, src) -} -func (m *ProjectBillingInfo) XXX_Size() int { - return xxx_messageInfo_ProjectBillingInfo.Size(m) -} -func (m *ProjectBillingInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ProjectBillingInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_ProjectBillingInfo proto.InternalMessageInfo - -func (m *ProjectBillingInfo) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ProjectBillingInfo) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *ProjectBillingInfo) GetBillingAccountName() string { - if m != nil { - return m.BillingAccountName - } - return "" -} - -func (m *ProjectBillingInfo) GetBillingEnabled() bool { - if m != nil { - return m.BillingEnabled - } - return false -} - -// Request message for `GetBillingAccount`. -type GetBillingAccountRequest struct { - // The resource name of the billing account to retrieve. For example, - // `billingAccounts/012345-567890-ABCDEF`. - 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 *GetBillingAccountRequest) Reset() { *m = GetBillingAccountRequest{} } -func (m *GetBillingAccountRequest) String() string { return proto.CompactTextString(m) } -func (*GetBillingAccountRequest) ProtoMessage() {} -func (*GetBillingAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_47fe072480332805, []int{2} -} - -func (m *GetBillingAccountRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetBillingAccountRequest.Unmarshal(m, b) -} -func (m *GetBillingAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetBillingAccountRequest.Marshal(b, m, deterministic) -} -func (m *GetBillingAccountRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBillingAccountRequest.Merge(m, src) -} -func (m *GetBillingAccountRequest) XXX_Size() int { - return xxx_messageInfo_GetBillingAccountRequest.Size(m) -} -func (m *GetBillingAccountRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetBillingAccountRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetBillingAccountRequest proto.InternalMessageInfo - -func (m *GetBillingAccountRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for `ListBillingAccounts`. -type ListBillingAccountsRequest struct { - // Requested page size. The maximum page size is 100; this is also the - // default. - PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // A token identifying a page of results to return. This should be a - // `next_page_token` value returned from a previous `ListBillingAccounts` - // call. If unspecified, the first page of results is returned. - PageToken string `protobuf:"bytes,2,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 *ListBillingAccountsRequest) Reset() { *m = ListBillingAccountsRequest{} } -func (m *ListBillingAccountsRequest) String() string { return proto.CompactTextString(m) } -func (*ListBillingAccountsRequest) ProtoMessage() {} -func (*ListBillingAccountsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_47fe072480332805, []int{3} -} - -func (m *ListBillingAccountsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListBillingAccountsRequest.Unmarshal(m, b) -} -func (m *ListBillingAccountsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListBillingAccountsRequest.Marshal(b, m, deterministic) -} -func (m *ListBillingAccountsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListBillingAccountsRequest.Merge(m, src) -} -func (m *ListBillingAccountsRequest) XXX_Size() int { - return xxx_messageInfo_ListBillingAccountsRequest.Size(m) -} -func (m *ListBillingAccountsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListBillingAccountsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListBillingAccountsRequest proto.InternalMessageInfo - -func (m *ListBillingAccountsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListBillingAccountsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response message for `ListBillingAccounts`. -type ListBillingAccountsResponse struct { - // A list of billing accounts. - BillingAccounts []*BillingAccount `protobuf:"bytes,1,rep,name=billing_accounts,json=billingAccounts,proto3" json:"billing_accounts,omitempty"` - // A token to retrieve the next page of results. To retrieve the next page, - // call `ListBillingAccounts` again with the `page_token` field set to this - // value. This field is empty if there are no more results to retrieve. - 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 *ListBillingAccountsResponse) Reset() { *m = ListBillingAccountsResponse{} } -func (m *ListBillingAccountsResponse) String() string { return proto.CompactTextString(m) } -func (*ListBillingAccountsResponse) ProtoMessage() {} -func (*ListBillingAccountsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_47fe072480332805, []int{4} -} - -func (m *ListBillingAccountsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListBillingAccountsResponse.Unmarshal(m, b) -} -func (m *ListBillingAccountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListBillingAccountsResponse.Marshal(b, m, deterministic) -} -func (m *ListBillingAccountsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListBillingAccountsResponse.Merge(m, src) -} -func (m *ListBillingAccountsResponse) XXX_Size() int { - return xxx_messageInfo_ListBillingAccountsResponse.Size(m) -} -func (m *ListBillingAccountsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListBillingAccountsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListBillingAccountsResponse proto.InternalMessageInfo - -func (m *ListBillingAccountsResponse) GetBillingAccounts() []*BillingAccount { - if m != nil { - return m.BillingAccounts - } - return nil -} - -func (m *ListBillingAccountsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request message for `ListProjectBillingInfo`. -type ListProjectBillingInfoRequest struct { - // The resource name of the billing account associated with the projects that - // you want to list. For example, `billingAccounts/012345-567890-ABCDEF`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Requested page size. The maximum page size is 100; this is also the - // default. - 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 should be a - // `next_page_token` value returned from a previous `ListProjectBillingInfo` - // call. If unspecified, the first page of results is returned. - 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 *ListProjectBillingInfoRequest) Reset() { *m = ListProjectBillingInfoRequest{} } -func (m *ListProjectBillingInfoRequest) String() string { return proto.CompactTextString(m) } -func (*ListProjectBillingInfoRequest) ProtoMessage() {} -func (*ListProjectBillingInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_47fe072480332805, []int{5} -} - -func (m *ListProjectBillingInfoRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListProjectBillingInfoRequest.Unmarshal(m, b) -} -func (m *ListProjectBillingInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListProjectBillingInfoRequest.Marshal(b, m, deterministic) -} -func (m *ListProjectBillingInfoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListProjectBillingInfoRequest.Merge(m, src) -} -func (m *ListProjectBillingInfoRequest) XXX_Size() int { - return xxx_messageInfo_ListProjectBillingInfoRequest.Size(m) -} -func (m *ListProjectBillingInfoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListProjectBillingInfoRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListProjectBillingInfoRequest proto.InternalMessageInfo - -func (m *ListProjectBillingInfoRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ListProjectBillingInfoRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListProjectBillingInfoRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Request message for `ListProjectBillingInfoResponse`. -type ListProjectBillingInfoResponse struct { - // A list of `ProjectBillingInfo` resources representing the projects - // associated with the billing account. - ProjectBillingInfo []*ProjectBillingInfo `protobuf:"bytes,1,rep,name=project_billing_info,json=projectBillingInfo,proto3" json:"project_billing_info,omitempty"` - // A token to retrieve the next page of results. To retrieve the next page, - // call `ListProjectBillingInfo` again with the `page_token` field set to this - // value. This field is empty if there are no more results to retrieve. - 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 *ListProjectBillingInfoResponse) Reset() { *m = ListProjectBillingInfoResponse{} } -func (m *ListProjectBillingInfoResponse) String() string { return proto.CompactTextString(m) } -func (*ListProjectBillingInfoResponse) ProtoMessage() {} -func (*ListProjectBillingInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_47fe072480332805, []int{6} -} - -func (m *ListProjectBillingInfoResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListProjectBillingInfoResponse.Unmarshal(m, b) -} -func (m *ListProjectBillingInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListProjectBillingInfoResponse.Marshal(b, m, deterministic) -} -func (m *ListProjectBillingInfoResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListProjectBillingInfoResponse.Merge(m, src) -} -func (m *ListProjectBillingInfoResponse) XXX_Size() int { - return xxx_messageInfo_ListProjectBillingInfoResponse.Size(m) -} -func (m *ListProjectBillingInfoResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListProjectBillingInfoResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListProjectBillingInfoResponse proto.InternalMessageInfo - -func (m *ListProjectBillingInfoResponse) GetProjectBillingInfo() []*ProjectBillingInfo { - if m != nil { - return m.ProjectBillingInfo - } - return nil -} - -func (m *ListProjectBillingInfoResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request message for `GetProjectBillingInfo`. -type GetProjectBillingInfoRequest struct { - // The resource name of the project for which billing information is - // retrieved. For example, `projects/tokyo-rain-123`. - 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 *GetProjectBillingInfoRequest) Reset() { *m = GetProjectBillingInfoRequest{} } -func (m *GetProjectBillingInfoRequest) String() string { return proto.CompactTextString(m) } -func (*GetProjectBillingInfoRequest) ProtoMessage() {} -func (*GetProjectBillingInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_47fe072480332805, []int{7} -} - -func (m *GetProjectBillingInfoRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetProjectBillingInfoRequest.Unmarshal(m, b) -} -func (m *GetProjectBillingInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetProjectBillingInfoRequest.Marshal(b, m, deterministic) -} -func (m *GetProjectBillingInfoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetProjectBillingInfoRequest.Merge(m, src) -} -func (m *GetProjectBillingInfoRequest) XXX_Size() int { - return xxx_messageInfo_GetProjectBillingInfoRequest.Size(m) -} -func (m *GetProjectBillingInfoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetProjectBillingInfoRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetProjectBillingInfoRequest proto.InternalMessageInfo - -func (m *GetProjectBillingInfoRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for `UpdateProjectBillingInfo`. -type UpdateProjectBillingInfoRequest struct { - // The resource name of the project associated with the billing information - // that you want to update. For example, `projects/tokyo-rain-123`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The new billing information for the project. Read-only fields are ignored; - // thus, you may leave empty all fields except `billing_account_name`. - ProjectBillingInfo *ProjectBillingInfo `protobuf:"bytes,2,opt,name=project_billing_info,json=projectBillingInfo,proto3" json:"project_billing_info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpdateProjectBillingInfoRequest) Reset() { *m = UpdateProjectBillingInfoRequest{} } -func (m *UpdateProjectBillingInfoRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateProjectBillingInfoRequest) ProtoMessage() {} -func (*UpdateProjectBillingInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_47fe072480332805, []int{8} -} - -func (m *UpdateProjectBillingInfoRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateProjectBillingInfoRequest.Unmarshal(m, b) -} -func (m *UpdateProjectBillingInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateProjectBillingInfoRequest.Marshal(b, m, deterministic) -} -func (m *UpdateProjectBillingInfoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateProjectBillingInfoRequest.Merge(m, src) -} -func (m *UpdateProjectBillingInfoRequest) XXX_Size() int { - return xxx_messageInfo_UpdateProjectBillingInfoRequest.Size(m) -} -func (m *UpdateProjectBillingInfoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateProjectBillingInfoRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateProjectBillingInfoRequest proto.InternalMessageInfo - -func (m *UpdateProjectBillingInfoRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *UpdateProjectBillingInfoRequest) GetProjectBillingInfo() *ProjectBillingInfo { - if m != nil { - return m.ProjectBillingInfo - } - return nil -} - -func init() { - proto.RegisterType((*BillingAccount)(nil), "google.cloud.billing.v1.BillingAccount") - proto.RegisterType((*ProjectBillingInfo)(nil), "google.cloud.billing.v1.ProjectBillingInfo") - proto.RegisterType((*GetBillingAccountRequest)(nil), "google.cloud.billing.v1.GetBillingAccountRequest") - proto.RegisterType((*ListBillingAccountsRequest)(nil), "google.cloud.billing.v1.ListBillingAccountsRequest") - proto.RegisterType((*ListBillingAccountsResponse)(nil), "google.cloud.billing.v1.ListBillingAccountsResponse") - proto.RegisterType((*ListProjectBillingInfoRequest)(nil), "google.cloud.billing.v1.ListProjectBillingInfoRequest") - proto.RegisterType((*ListProjectBillingInfoResponse)(nil), "google.cloud.billing.v1.ListProjectBillingInfoResponse") - proto.RegisterType((*GetProjectBillingInfoRequest)(nil), "google.cloud.billing.v1.GetProjectBillingInfoRequest") - proto.RegisterType((*UpdateProjectBillingInfoRequest)(nil), "google.cloud.billing.v1.UpdateProjectBillingInfoRequest") -} - -func init() { - proto.RegisterFile("google/cloud/billing/v1/cloud_billing.proto", fileDescriptor_47fe072480332805) -} - -var fileDescriptor_47fe072480332805 = []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, - 0x15, 0xf0, 0xdf, 0xa8, 0x11, 0x63, 0x08, 0x89, 0x31, 0x9b, 0xaa, 0x89, 0xd1, 0x98, 0x66, 0x76, - 0x3b, 0x34, 0xd5, 0x32, 0x53, 0x77, 0x0a, 0x51, 0x8c, 0x37, 0xbe, 0x82, 0x7a, 0xe1, 0x85, 0x37, - 0x5e, 0xe8, 0x2b, 0x78, 0xed, 0x2b, 0xf8, 0x0a, 0xde, 0xfb, 0x0a, 0x66, 0xa6, 0x53, 0x65, 0xbb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, 0x61, 0x81, 0xcd, 0xdb, 0x81, 0x13, 0x50, 0xa6, 0xbe, 0xe7, 0x4e, 0x7a, 0x44, - 0xe2, 0x50, 0x74, 0xfd, 0x6d, 0xb8, 0xae, 0x1f, 0x9b, 0x83, 0xaa, 0x74, 0xf5, 0x4f, 0x00, 0x00, - 0x00, 0xff, 0xff, 0xc0, 0x01, 0x24, 0x32, 0x60, 0x08, 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 - -// CloudBillingClient is the client API for CloudBilling service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type CloudBillingClient interface { - // Gets information about a billing account. The current authenticated user - // must be an [owner of the billing - // account](https://support.google.com/cloud/answer/4430947). - GetBillingAccount(ctx context.Context, in *GetBillingAccountRequest, opts ...grpc.CallOption) (*BillingAccount, error) - // Lists the billing accounts that the current authenticated user - // [owns](https://support.google.com/cloud/answer/4430947). - ListBillingAccounts(ctx context.Context, in *ListBillingAccountsRequest, opts ...grpc.CallOption) (*ListBillingAccountsResponse, error) - // Lists the projects associated with a billing account. The current - // authenticated user must be an [owner of the billing - // account](https://support.google.com/cloud/answer/4430947). - ListProjectBillingInfo(ctx context.Context, in *ListProjectBillingInfoRequest, opts ...grpc.CallOption) (*ListProjectBillingInfoResponse, error) - // Gets the billing information for a project. The current authenticated user - // must have [permission to view the - // project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo - // ). - GetProjectBillingInfo(ctx context.Context, in *GetProjectBillingInfoRequest, opts ...grpc.CallOption) (*ProjectBillingInfo, error) - // Sets or updates the billing account associated with a project. You specify - // the new billing account by setting the `billing_account_name` in the - // `ProjectBillingInfo` resource to the resource name of a billing account. - // Associating a project with an open billing account enables billing on the - // project and allows charges for resource usage. If the project already had a - // billing account, this method changes the billing account used for resource - // usage charges. - // - // *Note:* Incurred charges that have not yet been reported in the transaction - // history of the Google Cloud Console may be billed to the new billing - // account, even if the charge occurred before the new billing account was - // assigned to the project. - // - // The current authenticated user must have ownership privileges for both the - // [project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo - // ) and the [billing - // account](https://support.google.com/cloud/answer/4430947). - // - // You can disable billing on the project by setting the - // `billing_account_name` field to empty. This action disassociates the - // current billing account from the project. Any billable activity of your - // in-use services will stop, and your application could stop functioning as - // expected. Any unbilled charges to date will be billed to the previously - // associated account. The current authenticated user must be either an owner - // of the project or an owner of the billing account for the project. - // - // Note that associating a project with a *closed* billing account will have - // much the same effect as disabling billing on the project: any paid - // resources used by the project will be shut down. Thus, unless you wish to - // disable billing, you should always call this method with the name of an - // *open* billing account. - UpdateProjectBillingInfo(ctx context.Context, in *UpdateProjectBillingInfoRequest, opts ...grpc.CallOption) (*ProjectBillingInfo, error) -} - -type cloudBillingClient struct { - cc *grpc.ClientConn -} - -func NewCloudBillingClient(cc *grpc.ClientConn) CloudBillingClient { - return &cloudBillingClient{cc} -} - -func (c *cloudBillingClient) GetBillingAccount(ctx context.Context, in *GetBillingAccountRequest, opts ...grpc.CallOption) (*BillingAccount, error) { - out := new(BillingAccount) - err := c.cc.Invoke(ctx, "/google.cloud.billing.v1.CloudBilling/GetBillingAccount", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudBillingClient) ListBillingAccounts(ctx context.Context, in *ListBillingAccountsRequest, opts ...grpc.CallOption) (*ListBillingAccountsResponse, error) { - out := new(ListBillingAccountsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.billing.v1.CloudBilling/ListBillingAccounts", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudBillingClient) ListProjectBillingInfo(ctx context.Context, in *ListProjectBillingInfoRequest, opts ...grpc.CallOption) (*ListProjectBillingInfoResponse, error) { - out := new(ListProjectBillingInfoResponse) - err := c.cc.Invoke(ctx, "/google.cloud.billing.v1.CloudBilling/ListProjectBillingInfo", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudBillingClient) GetProjectBillingInfo(ctx context.Context, in *GetProjectBillingInfoRequest, opts ...grpc.CallOption) (*ProjectBillingInfo, error) { - out := new(ProjectBillingInfo) - err := c.cc.Invoke(ctx, "/google.cloud.billing.v1.CloudBilling/GetProjectBillingInfo", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudBillingClient) UpdateProjectBillingInfo(ctx context.Context, in *UpdateProjectBillingInfoRequest, opts ...grpc.CallOption) (*ProjectBillingInfo, error) { - out := new(ProjectBillingInfo) - err := c.cc.Invoke(ctx, "/google.cloud.billing.v1.CloudBilling/UpdateProjectBillingInfo", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// CloudBillingServer is the server API for CloudBilling service. -type CloudBillingServer interface { - // Gets information about a billing account. The current authenticated user - // must be an [owner of the billing - // account](https://support.google.com/cloud/answer/4430947). - GetBillingAccount(context.Context, *GetBillingAccountRequest) (*BillingAccount, error) - // Lists the billing accounts that the current authenticated user - // [owns](https://support.google.com/cloud/answer/4430947). - ListBillingAccounts(context.Context, *ListBillingAccountsRequest) (*ListBillingAccountsResponse, error) - // Lists the projects associated with a billing account. The current - // authenticated user must be an [owner of the billing - // account](https://support.google.com/cloud/answer/4430947). - ListProjectBillingInfo(context.Context, *ListProjectBillingInfoRequest) (*ListProjectBillingInfoResponse, error) - // Gets the billing information for a project. The current authenticated user - // must have [permission to view the - // project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo - // ). - GetProjectBillingInfo(context.Context, *GetProjectBillingInfoRequest) (*ProjectBillingInfo, error) - // Sets or updates the billing account associated with a project. You specify - // the new billing account by setting the `billing_account_name` in the - // `ProjectBillingInfo` resource to the resource name of a billing account. - // Associating a project with an open billing account enables billing on the - // project and allows charges for resource usage. If the project already had a - // billing account, this method changes the billing account used for resource - // usage charges. - // - // *Note:* Incurred charges that have not yet been reported in the transaction - // history of the Google Cloud Console may be billed to the new billing - // account, even if the charge occurred before the new billing account was - // assigned to the project. - // - // The current authenticated user must have ownership privileges for both the - // [project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo - // ) and the [billing - // account](https://support.google.com/cloud/answer/4430947). - // - // You can disable billing on the project by setting the - // `billing_account_name` field to empty. This action disassociates the - // current billing account from the project. Any billable activity of your - // in-use services will stop, and your application could stop functioning as - // expected. Any unbilled charges to date will be billed to the previously - // associated account. The current authenticated user must be either an owner - // of the project or an owner of the billing account for the project. - // - // Note that associating a project with a *closed* billing account will have - // much the same effect as disabling billing on the project: any paid - // resources used by the project will be shut down. Thus, unless you wish to - // disable billing, you should always call this method with the name of an - // *open* billing account. - UpdateProjectBillingInfo(context.Context, *UpdateProjectBillingInfoRequest) (*ProjectBillingInfo, error) -} - -// UnimplementedCloudBillingServer can be embedded to have forward compatible implementations. -type UnimplementedCloudBillingServer struct { -} - -func (*UnimplementedCloudBillingServer) GetBillingAccount(ctx context.Context, req *GetBillingAccountRequest) (*BillingAccount, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBillingAccount not implemented") -} -func (*UnimplementedCloudBillingServer) ListBillingAccounts(ctx context.Context, req *ListBillingAccountsRequest) (*ListBillingAccountsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListBillingAccounts not implemented") -} -func (*UnimplementedCloudBillingServer) ListProjectBillingInfo(ctx context.Context, req *ListProjectBillingInfoRequest) (*ListProjectBillingInfoResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListProjectBillingInfo not implemented") -} -func (*UnimplementedCloudBillingServer) GetProjectBillingInfo(ctx context.Context, req *GetProjectBillingInfoRequest) (*ProjectBillingInfo, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetProjectBillingInfo not implemented") -} -func (*UnimplementedCloudBillingServer) UpdateProjectBillingInfo(ctx context.Context, req *UpdateProjectBillingInfoRequest) (*ProjectBillingInfo, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateProjectBillingInfo not implemented") -} - -func RegisterCloudBillingServer(s *grpc.Server, srv CloudBillingServer) { - s.RegisterService(&_CloudBilling_serviceDesc, srv) -} - -func _CloudBilling_GetBillingAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetBillingAccountRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudBillingServer).GetBillingAccount(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.billing.v1.CloudBilling/GetBillingAccount", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudBillingServer).GetBillingAccount(ctx, req.(*GetBillingAccountRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudBilling_ListBillingAccounts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListBillingAccountsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudBillingServer).ListBillingAccounts(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.billing.v1.CloudBilling/ListBillingAccounts", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudBillingServer).ListBillingAccounts(ctx, req.(*ListBillingAccountsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudBilling_ListProjectBillingInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListProjectBillingInfoRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudBillingServer).ListProjectBillingInfo(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.billing.v1.CloudBilling/ListProjectBillingInfo", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudBillingServer).ListProjectBillingInfo(ctx, req.(*ListProjectBillingInfoRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudBilling_GetProjectBillingInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetProjectBillingInfoRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudBillingServer).GetProjectBillingInfo(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.billing.v1.CloudBilling/GetProjectBillingInfo", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudBillingServer).GetProjectBillingInfo(ctx, req.(*GetProjectBillingInfoRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudBilling_UpdateProjectBillingInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateProjectBillingInfoRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudBillingServer).UpdateProjectBillingInfo(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.billing.v1.CloudBilling/UpdateProjectBillingInfo", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudBillingServer).UpdateProjectBillingInfo(ctx, req.(*UpdateProjectBillingInfoRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _CloudBilling_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.billing.v1.CloudBilling", - HandlerType: (*CloudBillingServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetBillingAccount", - Handler: _CloudBilling_GetBillingAccount_Handler, - }, - { - MethodName: "ListBillingAccounts", - Handler: _CloudBilling_ListBillingAccounts_Handler, - }, - { - MethodName: "ListProjectBillingInfo", - Handler: _CloudBilling_ListProjectBillingInfo_Handler, - }, - { - MethodName: "GetProjectBillingInfo", - Handler: _CloudBilling_GetProjectBillingInfo_Handler, - }, - { - MethodName: "UpdateProjectBillingInfo", - Handler: _CloudBilling_UpdateProjectBillingInfo_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/billing/v1/cloud_billing.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/binaryauthorization/v1beta1/resources.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/binaryauthorization/v1beta1/resources.pb.go deleted file mode 100644 index 3cb25fd1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/binaryauthorization/v1beta1/resources.pb.go +++ /dev/null @@ -1,874 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/binaryauthorization/v1beta1/resources.proto - -package binaryauthorization - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -type Policy_GlobalPolicyEvaluationMode int32 - -const ( - // Not specified: DISABLE is assumed. - Policy_GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED Policy_GlobalPolicyEvaluationMode = 0 - // Enables global policy evaluation. - Policy_ENABLE Policy_GlobalPolicyEvaluationMode = 1 - // Disables global policy evaluation. - Policy_DISABLE Policy_GlobalPolicyEvaluationMode = 2 -) - -var Policy_GlobalPolicyEvaluationMode_name = map[int32]string{ - 0: "GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED", - 1: "ENABLE", - 2: "DISABLE", -} - -var Policy_GlobalPolicyEvaluationMode_value = map[string]int32{ - "GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED": 0, - "ENABLE": 1, - "DISABLE": 2, -} - -func (x Policy_GlobalPolicyEvaluationMode) String() string { - return proto.EnumName(Policy_GlobalPolicyEvaluationMode_name, int32(x)) -} - -func (Policy_GlobalPolicyEvaluationMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1b83e716c45ff98c, []int{0, 0} -} - -type AdmissionRule_EvaluationMode int32 - -const ( - // Do not use. - AdmissionRule_EVALUATION_MODE_UNSPECIFIED AdmissionRule_EvaluationMode = 0 - // This rule allows all all pod creations. - AdmissionRule_ALWAYS_ALLOW AdmissionRule_EvaluationMode = 1 - // This rule allows a pod creation if all the attestors listed in - // 'require_attestations_by' have valid attestations for all of the - // images in the pod spec. - AdmissionRule_REQUIRE_ATTESTATION AdmissionRule_EvaluationMode = 2 - // This rule denies all pod creations. - AdmissionRule_ALWAYS_DENY AdmissionRule_EvaluationMode = 3 -) - -var AdmissionRule_EvaluationMode_name = map[int32]string{ - 0: "EVALUATION_MODE_UNSPECIFIED", - 1: "ALWAYS_ALLOW", - 2: "REQUIRE_ATTESTATION", - 3: "ALWAYS_DENY", -} - -var AdmissionRule_EvaluationMode_value = map[string]int32{ - "EVALUATION_MODE_UNSPECIFIED": 0, - "ALWAYS_ALLOW": 1, - "REQUIRE_ATTESTATION": 2, - "ALWAYS_DENY": 3, -} - -func (x AdmissionRule_EvaluationMode) String() string { - return proto.EnumName(AdmissionRule_EvaluationMode_name, int32(x)) -} - -func (AdmissionRule_EvaluationMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1b83e716c45ff98c, []int{2, 0} -} - -// Defines the possible actions when a pod creation is denied by an admission -// rule. -type AdmissionRule_EnforcementMode int32 - -const ( - // Do not use. - AdmissionRule_ENFORCEMENT_MODE_UNSPECIFIED AdmissionRule_EnforcementMode = 0 - // Enforce the admission rule by blocking the pod creation. - AdmissionRule_ENFORCED_BLOCK_AND_AUDIT_LOG AdmissionRule_EnforcementMode = 1 - // Dryrun mode: Audit logging only. This will allow the pod creation as if - // the admission request had specified break-glass. - AdmissionRule_DRYRUN_AUDIT_LOG_ONLY AdmissionRule_EnforcementMode = 2 -) - -var AdmissionRule_EnforcementMode_name = map[int32]string{ - 0: "ENFORCEMENT_MODE_UNSPECIFIED", - 1: "ENFORCED_BLOCK_AND_AUDIT_LOG", - 2: "DRYRUN_AUDIT_LOG_ONLY", -} - -var AdmissionRule_EnforcementMode_value = map[string]int32{ - "ENFORCEMENT_MODE_UNSPECIFIED": 0, - "ENFORCED_BLOCK_AND_AUDIT_LOG": 1, - "DRYRUN_AUDIT_LOG_ONLY": 2, -} - -func (x AdmissionRule_EnforcementMode) String() string { - return proto.EnumName(AdmissionRule_EnforcementMode_name, int32(x)) -} - -func (AdmissionRule_EnforcementMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1b83e716c45ff98c, []int{2, 1} -} - -// Represents a signature algorithm and other information necessary to verify -// signatures with a given public key. -// This is based primarily on the public key types supported by Tink's -// PemKeyType, which is in turn based on KMS's supported signing algorithms. -// See https://cloud.google.com/kms/docs/algorithms. In the future, BinAuthz -// might support additional public key types independently of Tink and/or KMS. -type PkixPublicKey_SignatureAlgorithm int32 - -const ( - // Not specified. - PkixPublicKey_SIGNATURE_ALGORITHM_UNSPECIFIED PkixPublicKey_SignatureAlgorithm = 0 - // RSASSA-PSS 2048 bit key with a SHA256 digest. - PkixPublicKey_RSA_PSS_2048_SHA256 PkixPublicKey_SignatureAlgorithm = 1 - // RSASSA-PSS 3072 bit key with a SHA256 digest. - PkixPublicKey_RSA_PSS_3072_SHA256 PkixPublicKey_SignatureAlgorithm = 2 - // RSASSA-PSS 4096 bit key with a SHA256 digest. - PkixPublicKey_RSA_PSS_4096_SHA256 PkixPublicKey_SignatureAlgorithm = 3 - // RSASSA-PSS 4096 bit key with a SHA512 digest. - PkixPublicKey_RSA_PSS_4096_SHA512 PkixPublicKey_SignatureAlgorithm = 4 - // RSASSA-PKCS1-v1_5 with a 2048 bit key and a SHA256 digest. - PkixPublicKey_RSA_SIGN_PKCS1_2048_SHA256 PkixPublicKey_SignatureAlgorithm = 5 - // RSASSA-PKCS1-v1_5 with a 3072 bit key and a SHA256 digest. - PkixPublicKey_RSA_SIGN_PKCS1_3072_SHA256 PkixPublicKey_SignatureAlgorithm = 6 - // RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA256 digest. - PkixPublicKey_RSA_SIGN_PKCS1_4096_SHA256 PkixPublicKey_SignatureAlgorithm = 7 - // RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA512 digest. - PkixPublicKey_RSA_SIGN_PKCS1_4096_SHA512 PkixPublicKey_SignatureAlgorithm = 8 - // ECDSA on the NIST P-256 curve with a SHA256 digest. - PkixPublicKey_ECDSA_P256_SHA256 PkixPublicKey_SignatureAlgorithm = 9 - // ECDSA on the NIST P-384 curve with a SHA384 digest. - PkixPublicKey_ECDSA_P384_SHA384 PkixPublicKey_SignatureAlgorithm = 10 - // ECDSA on the NIST P-521 curve with a SHA512 digest. - PkixPublicKey_ECDSA_P521_SHA512 PkixPublicKey_SignatureAlgorithm = 11 -) - -var PkixPublicKey_SignatureAlgorithm_name = map[int32]string{ - 0: "SIGNATURE_ALGORITHM_UNSPECIFIED", - 1: "RSA_PSS_2048_SHA256", - 2: "RSA_PSS_3072_SHA256", - 3: "RSA_PSS_4096_SHA256", - 4: "RSA_PSS_4096_SHA512", - 5: "RSA_SIGN_PKCS1_2048_SHA256", - 6: "RSA_SIGN_PKCS1_3072_SHA256", - 7: "RSA_SIGN_PKCS1_4096_SHA256", - 8: "RSA_SIGN_PKCS1_4096_SHA512", - 9: "ECDSA_P256_SHA256", - 10: "ECDSA_P384_SHA384", - 11: "ECDSA_P521_SHA512", -} - -var PkixPublicKey_SignatureAlgorithm_value = map[string]int32{ - "SIGNATURE_ALGORITHM_UNSPECIFIED": 0, - "RSA_PSS_2048_SHA256": 1, - "RSA_PSS_3072_SHA256": 2, - "RSA_PSS_4096_SHA256": 3, - "RSA_PSS_4096_SHA512": 4, - "RSA_SIGN_PKCS1_2048_SHA256": 5, - "RSA_SIGN_PKCS1_3072_SHA256": 6, - "RSA_SIGN_PKCS1_4096_SHA256": 7, - "RSA_SIGN_PKCS1_4096_SHA512": 8, - "ECDSA_P256_SHA256": 9, - "ECDSA_P384_SHA384": 10, - "ECDSA_P521_SHA512": 11, -} - -func (x PkixPublicKey_SignatureAlgorithm) String() string { - return proto.EnumName(PkixPublicKey_SignatureAlgorithm_name, int32(x)) -} - -func (PkixPublicKey_SignatureAlgorithm) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1b83e716c45ff98c, []int{5, 0} -} - -// A [policy][google.cloud.binaryauthorization.v1beta1.Policy] for container image binary authorization. -type Policy struct { - // Output only. The resource name, in the format `projects/*/policy`. There is - // at most one policy per project. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Optional. A descriptive comment. - Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` - // Optional. Controls the evaluation of a Google-maintained global admission - // policy for common system-level images. Images not covered by the global - // policy will be subject to the project admission policy. This setting - // has no effect when specified inside a global admission policy. - GlobalPolicyEvaluationMode Policy_GlobalPolicyEvaluationMode `protobuf:"varint,7,opt,name=global_policy_evaluation_mode,json=globalPolicyEvaluationMode,proto3,enum=google.cloud.binaryauthorization.v1beta1.Policy_GlobalPolicyEvaluationMode" json:"global_policy_evaluation_mode,omitempty"` - // Optional. Admission policy whitelisting. A matching admission request will - // always be permitted. This feature is typically used to exclude Google or - // third-party infrastructure images from Binary Authorization policies. - AdmissionWhitelistPatterns []*AdmissionWhitelistPattern `protobuf:"bytes,2,rep,name=admission_whitelist_patterns,json=admissionWhitelistPatterns,proto3" json:"admission_whitelist_patterns,omitempty"` - // Optional. Per-cluster admission rules. Cluster spec format: - // `location.clusterId`. There can be at most one admission rule per cluster - // spec. - // A `location` is either a compute zone (e.g. us-central1-a) or a region - // (e.g. us-central1). - // For `clusterId` syntax restrictions see - // https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters. - ClusterAdmissionRules map[string]*AdmissionRule `protobuf:"bytes,3,rep,name=cluster_admission_rules,json=clusterAdmissionRules,proto3" json:"cluster_admission_rules,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Required. Default admission rule for a cluster without a per-cluster, per- - // kubernetes-service-account, or per-istio-service-identity admission rule. - DefaultAdmissionRule *AdmissionRule `protobuf:"bytes,4,opt,name=default_admission_rule,json=defaultAdmissionRule,proto3" json:"default_admission_rule,omitempty"` - // Output only. Time when the policy 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 *Policy) Reset() { *m = Policy{} } -func (m *Policy) String() string { return proto.CompactTextString(m) } -func (*Policy) ProtoMessage() {} -func (*Policy) Descriptor() ([]byte, []int) { - return fileDescriptor_1b83e716c45ff98c, []int{0} -} - -func (m *Policy) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Policy.Unmarshal(m, b) -} -func (m *Policy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Policy.Marshal(b, m, deterministic) -} -func (m *Policy) XXX_Merge(src proto.Message) { - xxx_messageInfo_Policy.Merge(m, src) -} -func (m *Policy) XXX_Size() int { - return xxx_messageInfo_Policy.Size(m) -} -func (m *Policy) XXX_DiscardUnknown() { - xxx_messageInfo_Policy.DiscardUnknown(m) -} - -var xxx_messageInfo_Policy proto.InternalMessageInfo - -func (m *Policy) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Policy) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *Policy) GetGlobalPolicyEvaluationMode() Policy_GlobalPolicyEvaluationMode { - if m != nil { - return m.GlobalPolicyEvaluationMode - } - return Policy_GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED -} - -func (m *Policy) GetAdmissionWhitelistPatterns() []*AdmissionWhitelistPattern { - if m != nil { - return m.AdmissionWhitelistPatterns - } - return nil -} - -func (m *Policy) GetClusterAdmissionRules() map[string]*AdmissionRule { - if m != nil { - return m.ClusterAdmissionRules - } - return nil -} - -func (m *Policy) GetDefaultAdmissionRule() *AdmissionRule { - if m != nil { - return m.DefaultAdmissionRule - } - return nil -} - -func (m *Policy) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -// An [admission whitelist pattern][google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern] exempts images -// from checks by [admission rules][google.cloud.binaryauthorization.v1beta1.AdmissionRule]. -type AdmissionWhitelistPattern struct { - // An image name pattern to whitelist, in the form `registry/path/to/image`. - // This supports a trailing `*` as a wildcard, but this is allowed only in - // text after the `registry/` part. - NamePattern string `protobuf:"bytes,1,opt,name=name_pattern,json=namePattern,proto3" json:"name_pattern,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdmissionWhitelistPattern) Reset() { *m = AdmissionWhitelistPattern{} } -func (m *AdmissionWhitelistPattern) String() string { return proto.CompactTextString(m) } -func (*AdmissionWhitelistPattern) ProtoMessage() {} -func (*AdmissionWhitelistPattern) Descriptor() ([]byte, []int) { - return fileDescriptor_1b83e716c45ff98c, []int{1} -} - -func (m *AdmissionWhitelistPattern) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdmissionWhitelistPattern.Unmarshal(m, b) -} -func (m *AdmissionWhitelistPattern) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdmissionWhitelistPattern.Marshal(b, m, deterministic) -} -func (m *AdmissionWhitelistPattern) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdmissionWhitelistPattern.Merge(m, src) -} -func (m *AdmissionWhitelistPattern) XXX_Size() int { - return xxx_messageInfo_AdmissionWhitelistPattern.Size(m) -} -func (m *AdmissionWhitelistPattern) XXX_DiscardUnknown() { - xxx_messageInfo_AdmissionWhitelistPattern.DiscardUnknown(m) -} - -var xxx_messageInfo_AdmissionWhitelistPattern proto.InternalMessageInfo - -func (m *AdmissionWhitelistPattern) GetNamePattern() string { - if m != nil { - return m.NamePattern - } - return "" -} - -// An [admission rule][google.cloud.binaryauthorization.v1beta1.AdmissionRule] specifies either that all container images -// used in a pod creation request must be attested to by one or more -// [attestors][google.cloud.binaryauthorization.v1beta1.Attestor], that all pod creations will be allowed, or that all -// pod creations will be denied. -// -// Images matching an [admission whitelist pattern][google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern] -// are exempted from admission rules and will never block a pod creation. -type AdmissionRule struct { - // Required. How this admission rule will be evaluated. - EvaluationMode AdmissionRule_EvaluationMode `protobuf:"varint,1,opt,name=evaluation_mode,json=evaluationMode,proto3,enum=google.cloud.binaryauthorization.v1beta1.AdmissionRule_EvaluationMode" json:"evaluation_mode,omitempty"` - // Optional. The resource names of the attestors that must attest to - // a container image, in the format `projects/*/attestors/*`. Each - // attestor must exist before a policy can reference it. To add an attestor - // to a policy the principal issuing the policy change request must be able - // to read the attestor resource. - // - // Note: this field must be non-empty when the evaluation_mode field specifies - // REQUIRE_ATTESTATION, otherwise it must be empty. - RequireAttestationsBy []string `protobuf:"bytes,2,rep,name=require_attestations_by,json=requireAttestationsBy,proto3" json:"require_attestations_by,omitempty"` - // Required. The action when a pod creation is denied by the admission rule. - EnforcementMode AdmissionRule_EnforcementMode `protobuf:"varint,3,opt,name=enforcement_mode,json=enforcementMode,proto3,enum=google.cloud.binaryauthorization.v1beta1.AdmissionRule_EnforcementMode" json:"enforcement_mode,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdmissionRule) Reset() { *m = AdmissionRule{} } -func (m *AdmissionRule) String() string { return proto.CompactTextString(m) } -func (*AdmissionRule) ProtoMessage() {} -func (*AdmissionRule) Descriptor() ([]byte, []int) { - return fileDescriptor_1b83e716c45ff98c, []int{2} -} - -func (m *AdmissionRule) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdmissionRule.Unmarshal(m, b) -} -func (m *AdmissionRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdmissionRule.Marshal(b, m, deterministic) -} -func (m *AdmissionRule) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdmissionRule.Merge(m, src) -} -func (m *AdmissionRule) XXX_Size() int { - return xxx_messageInfo_AdmissionRule.Size(m) -} -func (m *AdmissionRule) XXX_DiscardUnknown() { - xxx_messageInfo_AdmissionRule.DiscardUnknown(m) -} - -var xxx_messageInfo_AdmissionRule proto.InternalMessageInfo - -func (m *AdmissionRule) GetEvaluationMode() AdmissionRule_EvaluationMode { - if m != nil { - return m.EvaluationMode - } - return AdmissionRule_EVALUATION_MODE_UNSPECIFIED -} - -func (m *AdmissionRule) GetRequireAttestationsBy() []string { - if m != nil { - return m.RequireAttestationsBy - } - return nil -} - -func (m *AdmissionRule) GetEnforcementMode() AdmissionRule_EnforcementMode { - if m != nil { - return m.EnforcementMode - } - return AdmissionRule_ENFORCEMENT_MODE_UNSPECIFIED -} - -// An [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] that attests to container image -// artifacts. An existing attestor cannot be modified except where -// indicated. -type Attestor struct { - // Required. The resource name, in the format: - // `projects/*/attestors/*`. This field may not be updated. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Optional. A descriptive comment. This field may be updated. - // The field may be displayed in chooser dialogs. - Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` - // Required. Identifies an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] that attests to a - // container image artifact. This determines how an attestation will - // be stored, and how it will be used during policy - // enforcement. Updates may not change the attestor type, but individual - // attestor fields may be updated - // - // Types that are valid to be assigned to AttestorType: - // *Attestor_UserOwnedDrydockNote - AttestorType isAttestor_AttestorType `protobuf_oneof:"attestor_type"` - // Output only. Time when the attestor was last updated. - 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 *Attestor) Reset() { *m = Attestor{} } -func (m *Attestor) String() string { return proto.CompactTextString(m) } -func (*Attestor) ProtoMessage() {} -func (*Attestor) Descriptor() ([]byte, []int) { - return fileDescriptor_1b83e716c45ff98c, []int{3} -} - -func (m *Attestor) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Attestor.Unmarshal(m, b) -} -func (m *Attestor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Attestor.Marshal(b, m, deterministic) -} -func (m *Attestor) XXX_Merge(src proto.Message) { - xxx_messageInfo_Attestor.Merge(m, src) -} -func (m *Attestor) XXX_Size() int { - return xxx_messageInfo_Attestor.Size(m) -} -func (m *Attestor) XXX_DiscardUnknown() { - xxx_messageInfo_Attestor.DiscardUnknown(m) -} - -var xxx_messageInfo_Attestor proto.InternalMessageInfo - -func (m *Attestor) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Attestor) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -type isAttestor_AttestorType interface { - isAttestor_AttestorType() -} - -type Attestor_UserOwnedDrydockNote struct { - UserOwnedDrydockNote *UserOwnedDrydockNote `protobuf:"bytes,3,opt,name=user_owned_drydock_note,json=userOwnedDrydockNote,proto3,oneof"` -} - -func (*Attestor_UserOwnedDrydockNote) isAttestor_AttestorType() {} - -func (m *Attestor) GetAttestorType() isAttestor_AttestorType { - if m != nil { - return m.AttestorType - } - return nil -} - -func (m *Attestor) GetUserOwnedDrydockNote() *UserOwnedDrydockNote { - if x, ok := m.GetAttestorType().(*Attestor_UserOwnedDrydockNote); ok { - return x.UserOwnedDrydockNote - } - return nil -} - -func (m *Attestor) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Attestor) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Attestor_UserOwnedDrydockNote)(nil), - } -} - -// An [user owned drydock note][google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote] references a Drydock -// ATTESTATION_AUTHORITY Note created by the user. -type UserOwnedDrydockNote struct { - // Required. The Drydock resource name of a ATTESTATION_AUTHORITY Note, - // created by the user, in the format: `projects/*/notes/*` (or the legacy - // `providers/*/notes/*`). This field may not be updated. - // - // An attestation by this attestor is stored as a Drydock - // ATTESTATION_AUTHORITY Occurrence that names a container image and that - // links to this Note. Drydock is an external dependency. - NoteReference string `protobuf:"bytes,1,opt,name=note_reference,json=noteReference,proto3" json:"note_reference,omitempty"` - // Optional. Public keys that verify attestations signed by this - // attestor. This field may be updated. - // - // If this field is non-empty, one of the specified public keys must - // verify that an attestation was signed by this attestor for the - // image specified in the admission request. - // - // If this field is empty, this attestor always returns that no - // valid attestations exist. - PublicKeys []*AttestorPublicKey `protobuf:"bytes,2,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"` - // Output only. This field will contain the service account email address - // that this Attestor will use as the principal when querying Container - // Analysis. Attestor administrators must grant this service account the - // IAM role needed to read attestations from the [note_reference][Note] in - // Container Analysis (`containeranalysis.notes.occurrences.viewer`). - // - // This email address is fixed for the lifetime of the Attestor, but callers - // should not make any other assumptions about the service account email; - // future versions may use an email based on a different naming pattern. - DelegationServiceAccountEmail string `protobuf:"bytes,3,opt,name=delegation_service_account_email,json=delegationServiceAccountEmail,proto3" json:"delegation_service_account_email,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserOwnedDrydockNote) Reset() { *m = UserOwnedDrydockNote{} } -func (m *UserOwnedDrydockNote) String() string { return proto.CompactTextString(m) } -func (*UserOwnedDrydockNote) ProtoMessage() {} -func (*UserOwnedDrydockNote) Descriptor() ([]byte, []int) { - return fileDescriptor_1b83e716c45ff98c, []int{4} -} - -func (m *UserOwnedDrydockNote) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserOwnedDrydockNote.Unmarshal(m, b) -} -func (m *UserOwnedDrydockNote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserOwnedDrydockNote.Marshal(b, m, deterministic) -} -func (m *UserOwnedDrydockNote) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserOwnedDrydockNote.Merge(m, src) -} -func (m *UserOwnedDrydockNote) XXX_Size() int { - return xxx_messageInfo_UserOwnedDrydockNote.Size(m) -} -func (m *UserOwnedDrydockNote) XXX_DiscardUnknown() { - xxx_messageInfo_UserOwnedDrydockNote.DiscardUnknown(m) -} - -var xxx_messageInfo_UserOwnedDrydockNote proto.InternalMessageInfo - -func (m *UserOwnedDrydockNote) GetNoteReference() string { - if m != nil { - return m.NoteReference - } - return "" -} - -func (m *UserOwnedDrydockNote) GetPublicKeys() []*AttestorPublicKey { - if m != nil { - return m.PublicKeys - } - return nil -} - -func (m *UserOwnedDrydockNote) GetDelegationServiceAccountEmail() string { - if m != nil { - return m.DelegationServiceAccountEmail - } - return "" -} - -// A public key in the PkixPublicKey format (see -// https://tools.ietf.org/html/rfc5280#section-4.1.2.7 for details). -// Public keys of this type are typically textually encoded using the PEM -// format. -type PkixPublicKey struct { - // A PEM-encoded public key, as described in - // https://tools.ietf.org/html/rfc7468#section-13 - PublicKeyPem string `protobuf:"bytes,1,opt,name=public_key_pem,json=publicKeyPem,proto3" json:"public_key_pem,omitempty"` - // The signature algorithm used to verify a message against a signature using - // this key. - // These signature algorithm must match the structure and any object - // identifiers encoded in `public_key_pem` (i.e. this algorithm must match - // that of the public key). - SignatureAlgorithm PkixPublicKey_SignatureAlgorithm `protobuf:"varint,2,opt,name=signature_algorithm,json=signatureAlgorithm,proto3,enum=google.cloud.binaryauthorization.v1beta1.PkixPublicKey_SignatureAlgorithm" json:"signature_algorithm,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PkixPublicKey) Reset() { *m = PkixPublicKey{} } -func (m *PkixPublicKey) String() string { return proto.CompactTextString(m) } -func (*PkixPublicKey) ProtoMessage() {} -func (*PkixPublicKey) Descriptor() ([]byte, []int) { - return fileDescriptor_1b83e716c45ff98c, []int{5} -} - -func (m *PkixPublicKey) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PkixPublicKey.Unmarshal(m, b) -} -func (m *PkixPublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PkixPublicKey.Marshal(b, m, deterministic) -} -func (m *PkixPublicKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_PkixPublicKey.Merge(m, src) -} -func (m *PkixPublicKey) XXX_Size() int { - return xxx_messageInfo_PkixPublicKey.Size(m) -} -func (m *PkixPublicKey) XXX_DiscardUnknown() { - xxx_messageInfo_PkixPublicKey.DiscardUnknown(m) -} - -var xxx_messageInfo_PkixPublicKey proto.InternalMessageInfo - -func (m *PkixPublicKey) GetPublicKeyPem() string { - if m != nil { - return m.PublicKeyPem - } - return "" -} - -func (m *PkixPublicKey) GetSignatureAlgorithm() PkixPublicKey_SignatureAlgorithm { - if m != nil { - return m.SignatureAlgorithm - } - return PkixPublicKey_SIGNATURE_ALGORITHM_UNSPECIFIED -} - -// An [attestor public key][google.cloud.binaryauthorization.v1beta1.AttestorPublicKey] that will be used to verify -// attestations signed by this attestor. -type AttestorPublicKey struct { - // Optional. A descriptive comment. This field may be updated. - Comment string `protobuf:"bytes,1,opt,name=comment,proto3" json:"comment,omitempty"` - // The ID of this public key. - // Signatures verified by BinAuthz must include the ID of the public key that - // can be used to verify them, and that ID must match the contents of this - // field exactly. - // Additional restrictions on this field can be imposed based on which public - // key type is encapsulated. See the documentation on `public_key` cases below - // for details. - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // Required. A public key reference or serialized instance. This field may be - // updated. - // - // Types that are valid to be assigned to PublicKey: - // *AttestorPublicKey_AsciiArmoredPgpPublicKey - // *AttestorPublicKey_PkixPublicKey - PublicKey isAttestorPublicKey_PublicKey `protobuf_oneof:"public_key"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AttestorPublicKey) Reset() { *m = AttestorPublicKey{} } -func (m *AttestorPublicKey) String() string { return proto.CompactTextString(m) } -func (*AttestorPublicKey) ProtoMessage() {} -func (*AttestorPublicKey) Descriptor() ([]byte, []int) { - return fileDescriptor_1b83e716c45ff98c, []int{6} -} - -func (m *AttestorPublicKey) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AttestorPublicKey.Unmarshal(m, b) -} -func (m *AttestorPublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AttestorPublicKey.Marshal(b, m, deterministic) -} -func (m *AttestorPublicKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttestorPublicKey.Merge(m, src) -} -func (m *AttestorPublicKey) XXX_Size() int { - return xxx_messageInfo_AttestorPublicKey.Size(m) -} -func (m *AttestorPublicKey) XXX_DiscardUnknown() { - xxx_messageInfo_AttestorPublicKey.DiscardUnknown(m) -} - -var xxx_messageInfo_AttestorPublicKey proto.InternalMessageInfo - -func (m *AttestorPublicKey) GetComment() string { - if m != nil { - return m.Comment - } - return "" -} - -func (m *AttestorPublicKey) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -type isAttestorPublicKey_PublicKey interface { - isAttestorPublicKey_PublicKey() -} - -type AttestorPublicKey_AsciiArmoredPgpPublicKey struct { - AsciiArmoredPgpPublicKey string `protobuf:"bytes,3,opt,name=ascii_armored_pgp_public_key,json=asciiArmoredPgpPublicKey,proto3,oneof"` -} - -type AttestorPublicKey_PkixPublicKey struct { - PkixPublicKey *PkixPublicKey `protobuf:"bytes,5,opt,name=pkix_public_key,json=pkixPublicKey,proto3,oneof"` -} - -func (*AttestorPublicKey_AsciiArmoredPgpPublicKey) isAttestorPublicKey_PublicKey() {} - -func (*AttestorPublicKey_PkixPublicKey) isAttestorPublicKey_PublicKey() {} - -func (m *AttestorPublicKey) GetPublicKey() isAttestorPublicKey_PublicKey { - if m != nil { - return m.PublicKey - } - return nil -} - -func (m *AttestorPublicKey) GetAsciiArmoredPgpPublicKey() string { - if x, ok := m.GetPublicKey().(*AttestorPublicKey_AsciiArmoredPgpPublicKey); ok { - return x.AsciiArmoredPgpPublicKey - } - return "" -} - -func (m *AttestorPublicKey) GetPkixPublicKey() *PkixPublicKey { - if x, ok := m.GetPublicKey().(*AttestorPublicKey_PkixPublicKey); ok { - return x.PkixPublicKey - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AttestorPublicKey) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AttestorPublicKey_AsciiArmoredPgpPublicKey)(nil), - (*AttestorPublicKey_PkixPublicKey)(nil), - } -} - -func init() { - proto.RegisterEnum("google.cloud.binaryauthorization.v1beta1.Policy_GlobalPolicyEvaluationMode", Policy_GlobalPolicyEvaluationMode_name, Policy_GlobalPolicyEvaluationMode_value) - proto.RegisterEnum("google.cloud.binaryauthorization.v1beta1.AdmissionRule_EvaluationMode", AdmissionRule_EvaluationMode_name, AdmissionRule_EvaluationMode_value) - proto.RegisterEnum("google.cloud.binaryauthorization.v1beta1.AdmissionRule_EnforcementMode", AdmissionRule_EnforcementMode_name, AdmissionRule_EnforcementMode_value) - proto.RegisterEnum("google.cloud.binaryauthorization.v1beta1.PkixPublicKey_SignatureAlgorithm", PkixPublicKey_SignatureAlgorithm_name, PkixPublicKey_SignatureAlgorithm_value) - proto.RegisterType((*Policy)(nil), "google.cloud.binaryauthorization.v1beta1.Policy") - proto.RegisterMapType((map[string]*AdmissionRule)(nil), "google.cloud.binaryauthorization.v1beta1.Policy.ClusterAdmissionRulesEntry") - proto.RegisterType((*AdmissionWhitelistPattern)(nil), "google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern") - proto.RegisterType((*AdmissionRule)(nil), "google.cloud.binaryauthorization.v1beta1.AdmissionRule") - proto.RegisterType((*Attestor)(nil), "google.cloud.binaryauthorization.v1beta1.Attestor") - proto.RegisterType((*UserOwnedDrydockNote)(nil), "google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote") - proto.RegisterType((*PkixPublicKey)(nil), "google.cloud.binaryauthorization.v1beta1.PkixPublicKey") - proto.RegisterType((*AttestorPublicKey)(nil), "google.cloud.binaryauthorization.v1beta1.AttestorPublicKey") -} - -func init() { - proto.RegisterFile("google/cloud/binaryauthorization/v1beta1/resources.proto", fileDescriptor_1b83e716c45ff98c) -} - -var fileDescriptor_1b83e716c45ff98c = []byte{ - // 1214 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0x5f, 0x73, 0xdb, 0xc4, - 0x17, 0x8d, 0x9c, 0x7f, 0xcd, 0x75, 0xe2, 0xb8, 0xdb, 0xe6, 0x17, 0xd7, 0xbf, 0x94, 0x1a, 0x03, - 0x33, 0xe1, 0x01, 0xbb, 0x71, 0x92, 0x36, 0xd0, 0x99, 0x0e, 0xb2, 0xad, 0x3a, 0x26, 0x8e, 0x6d, - 0x64, 0x9b, 0x4e, 0x80, 0x99, 0x65, 0x2d, 0x6d, 0x54, 0x4d, 0x24, 0xad, 0x58, 0x49, 0x6d, 0x0d, - 0x4f, 0x0c, 0xc3, 0xf0, 0x04, 0xaf, 0x7c, 0x3f, 0x86, 0x0f, 0xc0, 0x0c, 0x2f, 0x3c, 0x32, 0xab, - 0x3f, 0xb1, 0x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 0x06, 0x75, 0xc2, 0xb7, 0xa3, 0x1c, 0x41, 0xc4, - 0x35, 0xbd, 0x7f, 0xff, 0x1f, 0xfe, 0x64, 0x06, 0xf6, 0xb7, 0x24, 0x0d, 0x97, 0x42, 0xaa, 0xdd, - 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xf0, 0x82, 0x0c, 0x36, 0xd1, 0x0b, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/binaryauthorization/v1beta1/service.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/binaryauthorization/v1beta1/service.pb.go deleted file mode 100644 index 7637b6b6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/binaryauthorization/v1beta1/service.pb.go +++ /dev/null @@ -1,813 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/binaryauthorization/v1beta1/service.proto - -package binaryauthorization - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [BinauthzManagementService.GetPolicy][]. -type GetPolicyRequest struct { - // Required. The resource name of the [policy][google.cloud.binaryauthorization.v1beta1.Policy] to retrieve, - // in the format `projects/*/policy`. - 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 *GetPolicyRequest) Reset() { *m = GetPolicyRequest{} } -func (m *GetPolicyRequest) String() string { return proto.CompactTextString(m) } -func (*GetPolicyRequest) ProtoMessage() {} -func (*GetPolicyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b5f16bed3f845be4, []int{0} -} - -func (m *GetPolicyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetPolicyRequest.Unmarshal(m, b) -} -func (m *GetPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetPolicyRequest.Marshal(b, m, deterministic) -} -func (m *GetPolicyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetPolicyRequest.Merge(m, src) -} -func (m *GetPolicyRequest) XXX_Size() int { - return xxx_messageInfo_GetPolicyRequest.Size(m) -} -func (m *GetPolicyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetPolicyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetPolicyRequest proto.InternalMessageInfo - -func (m *GetPolicyRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for [BinauthzManagementService.UpdatePolicy][]. -type UpdatePolicyRequest struct { - // Required. A new or updated [policy][google.cloud.binaryauthorization.v1beta1.Policy] value. The service will - // overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.Policy.name] field with the resource name in - // the request URL, in the format `projects/*/policy`. - Policy *Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpdatePolicyRequest) Reset() { *m = UpdatePolicyRequest{} } -func (m *UpdatePolicyRequest) String() string { return proto.CompactTextString(m) } -func (*UpdatePolicyRequest) ProtoMessage() {} -func (*UpdatePolicyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b5f16bed3f845be4, []int{1} -} - -func (m *UpdatePolicyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdatePolicyRequest.Unmarshal(m, b) -} -func (m *UpdatePolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdatePolicyRequest.Marshal(b, m, deterministic) -} -func (m *UpdatePolicyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdatePolicyRequest.Merge(m, src) -} -func (m *UpdatePolicyRequest) XXX_Size() int { - return xxx_messageInfo_UpdatePolicyRequest.Size(m) -} -func (m *UpdatePolicyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdatePolicyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdatePolicyRequest proto.InternalMessageInfo - -func (m *UpdatePolicyRequest) GetPolicy() *Policy { - if m != nil { - return m.Policy - } - return nil -} - -// Request message for [BinauthzManagementService.CreateAttestor][]. -type CreateAttestorRequest struct { - // Required. The parent of this [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] ID. - AttestorId string `protobuf:"bytes,2,opt,name=attestor_id,json=attestorId,proto3" json:"attestor_id,omitempty"` - // Required. The initial [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will - // overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name, - // in the format `projects/*/attestors/*`. - Attestor *Attestor `protobuf:"bytes,3,opt,name=attestor,proto3" json:"attestor,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateAttestorRequest) Reset() { *m = CreateAttestorRequest{} } -func (m *CreateAttestorRequest) String() string { return proto.CompactTextString(m) } -func (*CreateAttestorRequest) ProtoMessage() {} -func (*CreateAttestorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b5f16bed3f845be4, []int{2} -} - -func (m *CreateAttestorRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateAttestorRequest.Unmarshal(m, b) -} -func (m *CreateAttestorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateAttestorRequest.Marshal(b, m, deterministic) -} -func (m *CreateAttestorRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateAttestorRequest.Merge(m, src) -} -func (m *CreateAttestorRequest) XXX_Size() int { - return xxx_messageInfo_CreateAttestorRequest.Size(m) -} -func (m *CreateAttestorRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateAttestorRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateAttestorRequest proto.InternalMessageInfo - -func (m *CreateAttestorRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateAttestorRequest) GetAttestorId() string { - if m != nil { - return m.AttestorId - } - return "" -} - -func (m *CreateAttestorRequest) GetAttestor() *Attestor { - if m != nil { - return m.Attestor - } - return nil -} - -// Request message for [BinauthzManagementService.GetAttestor][]. -type GetAttestorRequest struct { - // Required. The name of the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] to retrieve, in the format - // `projects/*/attestors/*`. - 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 *GetAttestorRequest) Reset() { *m = GetAttestorRequest{} } -func (m *GetAttestorRequest) String() string { return proto.CompactTextString(m) } -func (*GetAttestorRequest) ProtoMessage() {} -func (*GetAttestorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b5f16bed3f845be4, []int{3} -} - -func (m *GetAttestorRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAttestorRequest.Unmarshal(m, b) -} -func (m *GetAttestorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAttestorRequest.Marshal(b, m, deterministic) -} -func (m *GetAttestorRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAttestorRequest.Merge(m, src) -} -func (m *GetAttestorRequest) XXX_Size() int { - return xxx_messageInfo_GetAttestorRequest.Size(m) -} -func (m *GetAttestorRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAttestorRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetAttestorRequest proto.InternalMessageInfo - -func (m *GetAttestorRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for [BinauthzManagementService.UpdateAttestor][]. -type UpdateAttestorRequest struct { - // Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will - // overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name - // in the request URL, in the format `projects/*/attestors/*`. - Attestor *Attestor `protobuf:"bytes,1,opt,name=attestor,proto3" json:"attestor,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpdateAttestorRequest) Reset() { *m = UpdateAttestorRequest{} } -func (m *UpdateAttestorRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateAttestorRequest) ProtoMessage() {} -func (*UpdateAttestorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b5f16bed3f845be4, []int{4} -} - -func (m *UpdateAttestorRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateAttestorRequest.Unmarshal(m, b) -} -func (m *UpdateAttestorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateAttestorRequest.Marshal(b, m, deterministic) -} -func (m *UpdateAttestorRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateAttestorRequest.Merge(m, src) -} -func (m *UpdateAttestorRequest) XXX_Size() int { - return xxx_messageInfo_UpdateAttestorRequest.Size(m) -} -func (m *UpdateAttestorRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateAttestorRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateAttestorRequest proto.InternalMessageInfo - -func (m *UpdateAttestorRequest) GetAttestor() *Attestor { - if m != nil { - return m.Attestor - } - return nil -} - -// Request message for [BinauthzManagementService.ListAttestors][]. -type ListAttestorsRequest struct { - // Required. The resource name of the project associated with the - // [attestors][google.cloud.binaryauthorization.v1beta1.Attestor], in the format `projects/*`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Requested page size. The server may return fewer results than requested. If - // unspecified, the server will pick an appropriate default. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // A token identifying a page of results the server should return. Typically, - // this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.next_page_token] returned - // from the previous call to the `ListAttestors` method. - 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 *ListAttestorsRequest) Reset() { *m = ListAttestorsRequest{} } -func (m *ListAttestorsRequest) String() string { return proto.CompactTextString(m) } -func (*ListAttestorsRequest) ProtoMessage() {} -func (*ListAttestorsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b5f16bed3f845be4, []int{5} -} - -func (m *ListAttestorsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListAttestorsRequest.Unmarshal(m, b) -} -func (m *ListAttestorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListAttestorsRequest.Marshal(b, m, deterministic) -} -func (m *ListAttestorsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAttestorsRequest.Merge(m, src) -} -func (m *ListAttestorsRequest) XXX_Size() int { - return xxx_messageInfo_ListAttestorsRequest.Size(m) -} -func (m *ListAttestorsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListAttestorsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListAttestorsRequest proto.InternalMessageInfo - -func (m *ListAttestorsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListAttestorsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListAttestorsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response message for [BinauthzManagementService.ListAttestors][]. -type ListAttestorsResponse struct { - // The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor]. - Attestors []*Attestor `protobuf:"bytes,1,rep,name=attestors,proto3" json:"attestors,omitempty"` - // A token to retrieve the next page of results. Pass this value in the - // [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.page_token] field in the subsequent call to the - // `ListAttestors` method to retrieve the next page of 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 *ListAttestorsResponse) Reset() { *m = ListAttestorsResponse{} } -func (m *ListAttestorsResponse) String() string { return proto.CompactTextString(m) } -func (*ListAttestorsResponse) ProtoMessage() {} -func (*ListAttestorsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b5f16bed3f845be4, []int{6} -} - -func (m *ListAttestorsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListAttestorsResponse.Unmarshal(m, b) -} -func (m *ListAttestorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListAttestorsResponse.Marshal(b, m, deterministic) -} -func (m *ListAttestorsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAttestorsResponse.Merge(m, src) -} -func (m *ListAttestorsResponse) XXX_Size() int { - return xxx_messageInfo_ListAttestorsResponse.Size(m) -} -func (m *ListAttestorsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListAttestorsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListAttestorsResponse proto.InternalMessageInfo - -func (m *ListAttestorsResponse) GetAttestors() []*Attestor { - if m != nil { - return m.Attestors - } - return nil -} - -func (m *ListAttestorsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request message for [BinauthzManagementService.DeleteAttestor][]. -type DeleteAttestorRequest struct { - // Required. The name of the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] to delete, in the format - // `projects/*/attestors/*`. - 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 *DeleteAttestorRequest) Reset() { *m = DeleteAttestorRequest{} } -func (m *DeleteAttestorRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteAttestorRequest) ProtoMessage() {} -func (*DeleteAttestorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b5f16bed3f845be4, []int{7} -} - -func (m *DeleteAttestorRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteAttestorRequest.Unmarshal(m, b) -} -func (m *DeleteAttestorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteAttestorRequest.Marshal(b, m, deterministic) -} -func (m *DeleteAttestorRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteAttestorRequest.Merge(m, src) -} -func (m *DeleteAttestorRequest) XXX_Size() int { - return xxx_messageInfo_DeleteAttestorRequest.Size(m) -} -func (m *DeleteAttestorRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteAttestorRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteAttestorRequest proto.InternalMessageInfo - -func (m *DeleteAttestorRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func init() { - proto.RegisterType((*GetPolicyRequest)(nil), "google.cloud.binaryauthorization.v1beta1.GetPolicyRequest") - proto.RegisterType((*UpdatePolicyRequest)(nil), "google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest") - proto.RegisterType((*CreateAttestorRequest)(nil), "google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest") - proto.RegisterType((*GetAttestorRequest)(nil), "google.cloud.binaryauthorization.v1beta1.GetAttestorRequest") - proto.RegisterType((*UpdateAttestorRequest)(nil), "google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest") - proto.RegisterType((*ListAttestorsRequest)(nil), "google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest") - proto.RegisterType((*ListAttestorsResponse)(nil), "google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse") - proto.RegisterType((*DeleteAttestorRequest)(nil), "google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest") -} - -func init() { - proto.RegisterFile("google/cloud/binaryauthorization/v1beta1/service.proto", fileDescriptor_b5f16bed3f845be4) -} - -var fileDescriptor_b5f16bed3f845be4 = []byte{ - // 701 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x96, 0xcf, 0x4f, 0x13, 0x41, - 0x14, 0xc7, 0x33, 0xa0, 0x84, 0x3e, 0x04, 0xcd, 0x68, 0x49, 0xb3, 0x68, 0xc4, 0x35, 0x69, 0x2a, - 0x26, 0xbb, 0x52, 0x13, 0x43, 0x40, 0x24, 0xa0, 0x06, 0x4d, 0xd4, 0x90, 0xa2, 0x1e, 0xf4, 0x50, - 0xa7, 0xed, 0x73, 0x5d, 0x2c, 0x33, 0xeb, 0xce, 0x94, 0x48, 0x0d, 0x17, 0xff, 0x03, 0xe3, 0xc9, - 0x9b, 0x89, 0xde, 0x3d, 0x7b, 0xd2, 0xa3, 0x77, 0xff, 0x05, 0xff, 0x08, 0x8f, 0x66, 0x67, 0x7f, - 0xb0, 0xad, 0x0b, 0x6c, 0x1b, 0x6e, 0x9d, 0x1f, 0x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 0xe9, 0xd8, 0x41, 0xfc, 0x9d, - 0xb7, 0xee, 0x06, 0xdf, 0xf9, 0x98, 0x6d, 0x2e, 0x67, 0xa7, 0xac, 0xbd, 0x78, 0xf6, 0x3c, 0x72, - 0xe4, 0x88, 0x36, 0xe3, 0x8e, 0x25, 0x7c, 0xc7, 0x76, 0x90, 0x6b, 0xb7, 0x76, 0x78, 0xc4, 0x3c, - 0x57, 0x1e, 0xfd, 0x4f, 0x64, 0x29, 0xe3, 0xec, 0x2f, 0x21, 0x8d, 0x31, 0xed, 0xea, 0xfa, 0xbf, - 0x00, 0x00, 0x00, 0xff, 0xff, 0xa6, 0xda, 0x4c, 0x49, 0x53, 0x09, 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 - -// BinauthzManagementServiceV1Beta1Client is the client API for BinauthzManagementServiceV1Beta1 service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type BinauthzManagementServiceV1Beta1Client interface { - // Gets the [policy][google.cloud.binaryauthorization.v1beta1.Policy] for this project. Returns a default - // [policy][google.cloud.binaryauthorization.v1beta1.Policy] if the project does not have one. - GetPolicy(ctx context.Context, in *GetPolicyRequest, opts ...grpc.CallOption) (*Policy, error) - // Creates or updates a project's [policy][google.cloud.binaryauthorization.v1beta1.Policy], and returns a copy of the - // new [policy][google.cloud.binaryauthorization.v1beta1.Policy]. A policy is always updated as a whole, to avoid race - // conditions with concurrent policy enforcement (or management!) - // requests. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT - // if the request is malformed. - UpdatePolicy(ctx context.Context, in *UpdatePolicyRequest, opts ...grpc.CallOption) (*Policy, error) - // Creates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor], and returns a copy of the new - // [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the project does not exist, - // INVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the - // [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] already exists. - CreateAttestor(ctx context.Context, in *CreateAttestorRequest, opts ...grpc.CallOption) (*Attestor, error) - // Gets an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. - // Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist. - GetAttestor(ctx context.Context, in *GetAttestorRequest, opts ...grpc.CallOption) (*Attestor, error) - // Updates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. - // Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist. - UpdateAttestor(ctx context.Context, in *UpdateAttestorRequest, opts ...grpc.CallOption) (*Attestor, error) - // Lists [attestors][google.cloud.binaryauthorization.v1beta1.Attestor]. - // Returns INVALID_ARGUMENT if the project does not exist. - ListAttestors(ctx context.Context, in *ListAttestorsRequest, opts ...grpc.CallOption) (*ListAttestorsResponse, error) - // Deletes an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the - // [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist. - DeleteAttestor(ctx context.Context, in *DeleteAttestorRequest, opts ...grpc.CallOption) (*empty.Empty, error) -} - -type binauthzManagementServiceV1Beta1Client struct { - cc *grpc.ClientConn -} - -func NewBinauthzManagementServiceV1Beta1Client(cc *grpc.ClientConn) BinauthzManagementServiceV1Beta1Client { - return &binauthzManagementServiceV1Beta1Client{cc} -} - -func (c *binauthzManagementServiceV1Beta1Client) GetPolicy(ctx context.Context, in *GetPolicyRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/GetPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *binauthzManagementServiceV1Beta1Client) UpdatePolicy(ctx context.Context, in *UpdatePolicyRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/UpdatePolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *binauthzManagementServiceV1Beta1Client) CreateAttestor(ctx context.Context, in *CreateAttestorRequest, opts ...grpc.CallOption) (*Attestor, error) { - out := new(Attestor) - err := c.cc.Invoke(ctx, "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/CreateAttestor", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *binauthzManagementServiceV1Beta1Client) GetAttestor(ctx context.Context, in *GetAttestorRequest, opts ...grpc.CallOption) (*Attestor, error) { - out := new(Attestor) - err := c.cc.Invoke(ctx, "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/GetAttestor", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *binauthzManagementServiceV1Beta1Client) UpdateAttestor(ctx context.Context, in *UpdateAttestorRequest, opts ...grpc.CallOption) (*Attestor, error) { - out := new(Attestor) - err := c.cc.Invoke(ctx, "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/UpdateAttestor", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *binauthzManagementServiceV1Beta1Client) ListAttestors(ctx context.Context, in *ListAttestorsRequest, opts ...grpc.CallOption) (*ListAttestorsResponse, error) { - out := new(ListAttestorsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/ListAttestors", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *binauthzManagementServiceV1Beta1Client) DeleteAttestor(ctx context.Context, in *DeleteAttestorRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/DeleteAttestor", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// BinauthzManagementServiceV1Beta1Server is the server API for BinauthzManagementServiceV1Beta1 service. -type BinauthzManagementServiceV1Beta1Server interface { - // Gets the [policy][google.cloud.binaryauthorization.v1beta1.Policy] for this project. Returns a default - // [policy][google.cloud.binaryauthorization.v1beta1.Policy] if the project does not have one. - GetPolicy(context.Context, *GetPolicyRequest) (*Policy, error) - // Creates or updates a project's [policy][google.cloud.binaryauthorization.v1beta1.Policy], and returns a copy of the - // new [policy][google.cloud.binaryauthorization.v1beta1.Policy]. A policy is always updated as a whole, to avoid race - // conditions with concurrent policy enforcement (or management!) - // requests. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT - // if the request is malformed. - UpdatePolicy(context.Context, *UpdatePolicyRequest) (*Policy, error) - // Creates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor], and returns a copy of the new - // [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the project does not exist, - // INVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the - // [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] already exists. - CreateAttestor(context.Context, *CreateAttestorRequest) (*Attestor, error) - // Gets an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. - // Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist. - GetAttestor(context.Context, *GetAttestorRequest) (*Attestor, error) - // Updates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. - // Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist. - UpdateAttestor(context.Context, *UpdateAttestorRequest) (*Attestor, error) - // Lists [attestors][google.cloud.binaryauthorization.v1beta1.Attestor]. - // Returns INVALID_ARGUMENT if the project does not exist. - ListAttestors(context.Context, *ListAttestorsRequest) (*ListAttestorsResponse, error) - // Deletes an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the - // [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist. - DeleteAttestor(context.Context, *DeleteAttestorRequest) (*empty.Empty, error) -} - -// UnimplementedBinauthzManagementServiceV1Beta1Server can be embedded to have forward compatible implementations. -type UnimplementedBinauthzManagementServiceV1Beta1Server struct { -} - -func (*UnimplementedBinauthzManagementServiceV1Beta1Server) GetPolicy(ctx context.Context, req *GetPolicyRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetPolicy not implemented") -} -func (*UnimplementedBinauthzManagementServiceV1Beta1Server) UpdatePolicy(ctx context.Context, req *UpdatePolicyRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdatePolicy not implemented") -} -func (*UnimplementedBinauthzManagementServiceV1Beta1Server) CreateAttestor(ctx context.Context, req *CreateAttestorRequest) (*Attestor, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateAttestor not implemented") -} -func (*UnimplementedBinauthzManagementServiceV1Beta1Server) GetAttestor(ctx context.Context, req *GetAttestorRequest) (*Attestor, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAttestor not implemented") -} -func (*UnimplementedBinauthzManagementServiceV1Beta1Server) UpdateAttestor(ctx context.Context, req *UpdateAttestorRequest) (*Attestor, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateAttestor not implemented") -} -func (*UnimplementedBinauthzManagementServiceV1Beta1Server) ListAttestors(ctx context.Context, req *ListAttestorsRequest) (*ListAttestorsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListAttestors not implemented") -} -func (*UnimplementedBinauthzManagementServiceV1Beta1Server) DeleteAttestor(ctx context.Context, req *DeleteAttestorRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteAttestor not implemented") -} - -func RegisterBinauthzManagementServiceV1Beta1Server(s *grpc.Server, srv BinauthzManagementServiceV1Beta1Server) { - s.RegisterService(&_BinauthzManagementServiceV1Beta1_serviceDesc, srv) -} - -func _BinauthzManagementServiceV1Beta1_GetPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BinauthzManagementServiceV1Beta1Server).GetPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/GetPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BinauthzManagementServiceV1Beta1Server).GetPolicy(ctx, req.(*GetPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BinauthzManagementServiceV1Beta1_UpdatePolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdatePolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BinauthzManagementServiceV1Beta1Server).UpdatePolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/UpdatePolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BinauthzManagementServiceV1Beta1Server).UpdatePolicy(ctx, req.(*UpdatePolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BinauthzManagementServiceV1Beta1_CreateAttestor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateAttestorRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BinauthzManagementServiceV1Beta1Server).CreateAttestor(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/CreateAttestor", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BinauthzManagementServiceV1Beta1Server).CreateAttestor(ctx, req.(*CreateAttestorRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BinauthzManagementServiceV1Beta1_GetAttestor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAttestorRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BinauthzManagementServiceV1Beta1Server).GetAttestor(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/GetAttestor", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BinauthzManagementServiceV1Beta1Server).GetAttestor(ctx, req.(*GetAttestorRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BinauthzManagementServiceV1Beta1_UpdateAttestor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateAttestorRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BinauthzManagementServiceV1Beta1Server).UpdateAttestor(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/UpdateAttestor", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BinauthzManagementServiceV1Beta1Server).UpdateAttestor(ctx, req.(*UpdateAttestorRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BinauthzManagementServiceV1Beta1_ListAttestors_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListAttestorsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BinauthzManagementServiceV1Beta1Server).ListAttestors(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/ListAttestors", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BinauthzManagementServiceV1Beta1Server).ListAttestors(ctx, req.(*ListAttestorsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BinauthzManagementServiceV1Beta1_DeleteAttestor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteAttestorRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BinauthzManagementServiceV1Beta1Server).DeleteAttestor(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/DeleteAttestor", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BinauthzManagementServiceV1Beta1Server).DeleteAttestor(ctx, req.(*DeleteAttestorRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _BinauthzManagementServiceV1Beta1_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1", - HandlerType: (*BinauthzManagementServiceV1Beta1Server)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetPolicy", - Handler: _BinauthzManagementServiceV1Beta1_GetPolicy_Handler, - }, - { - MethodName: "UpdatePolicy", - Handler: _BinauthzManagementServiceV1Beta1_UpdatePolicy_Handler, - }, - { - MethodName: "CreateAttestor", - Handler: _BinauthzManagementServiceV1Beta1_CreateAttestor_Handler, - }, - { - MethodName: "GetAttestor", - Handler: _BinauthzManagementServiceV1Beta1_GetAttestor_Handler, - }, - { - MethodName: "UpdateAttestor", - Handler: _BinauthzManagementServiceV1Beta1_UpdateAttestor_Handler, - }, - { - MethodName: "ListAttestors", - Handler: _BinauthzManagementServiceV1Beta1_ListAttestors_Handler, - }, - { - MethodName: "DeleteAttestor", - Handler: _BinauthzManagementServiceV1Beta1_DeleteAttestor_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/binaryauthorization/v1beta1/service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1/datacatalog.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1/datacatalog.pb.go deleted file mode 100644 index 1e4a99dd..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1/datacatalog.pb.go +++ /dev/null @@ -1,3169 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/datacatalog/v1beta1/datacatalog.proto - -package datacatalog - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - v1 "google.golang.org/genproto/googleapis/iam/v1" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Entry resources in Data Catalog can be of different types e.g. a BigQuery -// Table entry is of type `TABLE`. This enum describes all the possible types -// Data Catalog contains. -type EntryType int32 - -const ( - // Default unknown type - EntryType_ENTRY_TYPE_UNSPECIFIED EntryType = 0 - // Output only. The type of entry that has a GoogleSQL schema, including - // logical views. - EntryType_TABLE EntryType = 2 - // Output only. An entry type which is used for streaming entries. Example: - // Cloud Pub/Sub topic. - EntryType_DATA_STREAM EntryType = 3 - // An entry type which is a set of files or objects. Example: Cloud Storage - // fileset. - EntryType_FILESET EntryType = 4 -) - -var EntryType_name = map[int32]string{ - 0: "ENTRY_TYPE_UNSPECIFIED", - 2: "TABLE", - 3: "DATA_STREAM", - 4: "FILESET", -} - -var EntryType_value = map[string]int32{ - "ENTRY_TYPE_UNSPECIFIED": 0, - "TABLE": 2, - "DATA_STREAM": 3, - "FILESET": 4, -} - -func (x EntryType) String() string { - return proto.EnumName(EntryType_name, int32(x)) -} - -func (EntryType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2054d97e7b16f897, []int{0} -} - -// Request message for -// [SearchCatalog][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog]. -type SearchCatalogRequest struct { - // Required. The scope of this search request. - Scope *SearchCatalogRequest_Scope `protobuf:"bytes,6,opt,name=scope,proto3" json:"scope,omitempty"` - // Required. The query string in search query syntax. The query must be - // non-empty. - // - // Query strings can be simple as "x" or more qualified as: - // - // * name:x - // * column:x - // * description:y - // - // Note: Query tokens need to have a minimum of 3 characters for substring - // matching to work correctly. See [Data Catalog Search - // Syntax](/data-catalog/docs/how-to/search-reference) for more information. - Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` - // Number of results in the search page. If <=0 then defaults to 10. Max limit - // for page_size is 1000. Throws an invalid argument for page_size > 1000. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional pagination token returned in an earlier - // [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which - // indicates that this is a continuation of a prior - // [SearchCatalogRequest][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog] - // call, and that the system should return the next page of data. If empty, - // the first page is returned. - PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // Specifies the ordering of results, currently supported case-sensitive - // choices are: - // - // * `relevance`, only supports desecending - // * `last_access_timestamp [asc|desc]`, defaults to descending if not - // specified - // * `last_modified_timestamp [asc|desc]`, defaults to descending if not - // specified - // - // If not specified, defaults to `relevance` descending. - OrderBy string `protobuf:"bytes,5,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 *SearchCatalogRequest) Reset() { *m = SearchCatalogRequest{} } -func (m *SearchCatalogRequest) String() string { return proto.CompactTextString(m) } -func (*SearchCatalogRequest) ProtoMessage() {} -func (*SearchCatalogRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2054d97e7b16f897, []int{0} -} - -func (m *SearchCatalogRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchCatalogRequest.Unmarshal(m, b) -} -func (m *SearchCatalogRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchCatalogRequest.Marshal(b, m, deterministic) -} -func (m *SearchCatalogRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchCatalogRequest.Merge(m, src) -} -func (m *SearchCatalogRequest) XXX_Size() int { - return xxx_messageInfo_SearchCatalogRequest.Size(m) -} -func (m *SearchCatalogRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SearchCatalogRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchCatalogRequest proto.InternalMessageInfo - -func (m *SearchCatalogRequest) GetScope() *SearchCatalogRequest_Scope { - if m != nil { - return m.Scope - } - return nil -} - -func (m *SearchCatalogRequest) GetQuery() string { - if m != nil { - return m.Query - } - return "" -} - -func (m *SearchCatalogRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *SearchCatalogRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *SearchCatalogRequest) GetOrderBy() string { - if m != nil { - return m.OrderBy - } - return "" -} - -type SearchCatalogRequest_Scope struct { - // Data Catalog tries to automatically choose the right corpus of data to - // search through. You can ensure an organization is included by adding it - // to `include_org_ids`. You can ensure a project's org is included with - // `include_project_ids`. You must specify at least one organization - // using `include_org_ids` or `include_project_ids` in all search requests. - // - // List of organization IDs to search within. To find your organization ID, - // follow instructions in - // https://cloud.google.com/resource-manager/docs/creating-managing-organization. - IncludeOrgIds []string `protobuf:"bytes,2,rep,name=include_org_ids,json=includeOrgIds,proto3" json:"include_org_ids,omitempty"` - // List of project IDs to search within. To learn more about the - // distinction between project names/IDs/numbers, go to - // https://cloud.google.com/docs/overview/#projects. - IncludeProjectIds []string `protobuf:"bytes,3,rep,name=include_project_ids,json=includeProjectIds,proto3" json:"include_project_ids,omitempty"` - // If `true`, include Google Cloud Platform (GCP) public datasets in the - // search results. Info on GCP public datasets is available at - // https://cloud.google.com/public-datasets/. By default, GCP public - // datasets are excluded. - IncludeGcpPublicDatasets bool `protobuf:"varint,7,opt,name=include_gcp_public_datasets,json=includeGcpPublicDatasets,proto3" json:"include_gcp_public_datasets,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SearchCatalogRequest_Scope) Reset() { *m = SearchCatalogRequest_Scope{} } -func (m *SearchCatalogRequest_Scope) String() string { return proto.CompactTextString(m) } -func (*SearchCatalogRequest_Scope) ProtoMessage() {} -func (*SearchCatalogRequest_Scope) Descriptor() ([]byte, []int) { - return fileDescriptor_2054d97e7b16f897, []int{0, 0} -} - -func (m *SearchCatalogRequest_Scope) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchCatalogRequest_Scope.Unmarshal(m, b) -} -func (m *SearchCatalogRequest_Scope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchCatalogRequest_Scope.Marshal(b, m, deterministic) -} -func (m *SearchCatalogRequest_Scope) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchCatalogRequest_Scope.Merge(m, src) -} -func (m *SearchCatalogRequest_Scope) XXX_Size() int { - return xxx_messageInfo_SearchCatalogRequest_Scope.Size(m) -} -func (m *SearchCatalogRequest_Scope) XXX_DiscardUnknown() { - xxx_messageInfo_SearchCatalogRequest_Scope.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchCatalogRequest_Scope proto.InternalMessageInfo - -func (m *SearchCatalogRequest_Scope) GetIncludeOrgIds() []string { - if m != nil { - return m.IncludeOrgIds - } - return nil -} - -func (m *SearchCatalogRequest_Scope) GetIncludeProjectIds() []string { - if m != nil { - return m.IncludeProjectIds - } - return nil -} - -func (m *SearchCatalogRequest_Scope) GetIncludeGcpPublicDatasets() bool { - if m != nil { - return m.IncludeGcpPublicDatasets - } - return false -} - -// Response message for -// [SearchCatalog][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog]. -type SearchCatalogResponse struct { - // Search results. - Results []*SearchCatalogResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` - // The token that can be used to retrieve the next page of 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 *SearchCatalogResponse) Reset() { *m = SearchCatalogResponse{} } -func (m *SearchCatalogResponse) String() string { return proto.CompactTextString(m) } -func (*SearchCatalogResponse) ProtoMessage() {} -func (*SearchCatalogResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2054d97e7b16f897, []int{1} -} - -func (m *SearchCatalogResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchCatalogResponse.Unmarshal(m, b) -} -func (m *SearchCatalogResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchCatalogResponse.Marshal(b, m, deterministic) -} -func (m *SearchCatalogResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchCatalogResponse.Merge(m, src) -} -func (m *SearchCatalogResponse) XXX_Size() int { - return xxx_messageInfo_SearchCatalogResponse.Size(m) -} -func (m *SearchCatalogResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SearchCatalogResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchCatalogResponse proto.InternalMessageInfo - -func (m *SearchCatalogResponse) GetResults() []*SearchCatalogResult { - if m != nil { - return m.Results - } - return nil -} - -func (m *SearchCatalogResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request message for -// [CreateEntryGroup][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntryGroup]. -type CreateEntryGroupRequest struct { - // Required. The name of the project this entry group is in. Example: - // - // * projects/{project_id}/locations/{location} - // - // Note that this EntryGroup and its child resources may not actually be - // stored in the location in this name. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The id of the entry group to create. - EntryGroupId string `protobuf:"bytes,3,opt,name=entry_group_id,json=entryGroupId,proto3" json:"entry_group_id,omitempty"` - // Optional. The entry group to create. Defaults to an empty entry group. - EntryGroup *EntryGroup `protobuf:"bytes,2,opt,name=entry_group,json=entryGroup,proto3" json:"entry_group,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateEntryGroupRequest) Reset() { *m = CreateEntryGroupRequest{} } -func (m *CreateEntryGroupRequest) String() string { return proto.CompactTextString(m) } -func (*CreateEntryGroupRequest) ProtoMessage() {} -func (*CreateEntryGroupRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2054d97e7b16f897, []int{2} -} - -func (m *CreateEntryGroupRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateEntryGroupRequest.Unmarshal(m, b) -} -func (m *CreateEntryGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateEntryGroupRequest.Marshal(b, m, deterministic) -} -func (m *CreateEntryGroupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateEntryGroupRequest.Merge(m, src) -} -func (m *CreateEntryGroupRequest) XXX_Size() int { - return xxx_messageInfo_CreateEntryGroupRequest.Size(m) -} -func (m *CreateEntryGroupRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateEntryGroupRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateEntryGroupRequest proto.InternalMessageInfo - -func (m *CreateEntryGroupRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateEntryGroupRequest) GetEntryGroupId() string { - if m != nil { - return m.EntryGroupId - } - return "" -} - -func (m *CreateEntryGroupRequest) GetEntryGroup() *EntryGroup { - if m != nil { - return m.EntryGroup - } - return nil -} - -// Request message for -// [GetEntryGroup][google.cloud.datacatalog.v1beta1.DataCatalog.GetEntryGroup]. -type GetEntryGroupRequest struct { - // Required. The name of the entry group. For example, - // `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Optional. The fields to return. If not set or empty, all fields are - // returned. - ReadMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetEntryGroupRequest) Reset() { *m = GetEntryGroupRequest{} } -func (m *GetEntryGroupRequest) String() string { return proto.CompactTextString(m) } -func (*GetEntryGroupRequest) ProtoMessage() {} -func (*GetEntryGroupRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2054d97e7b16f897, []int{3} -} - -func (m *GetEntryGroupRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetEntryGroupRequest.Unmarshal(m, b) -} -func (m *GetEntryGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetEntryGroupRequest.Marshal(b, m, deterministic) -} -func (m *GetEntryGroupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetEntryGroupRequest.Merge(m, src) -} -func (m *GetEntryGroupRequest) XXX_Size() int { - return xxx_messageInfo_GetEntryGroupRequest.Size(m) -} -func (m *GetEntryGroupRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetEntryGroupRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetEntryGroupRequest proto.InternalMessageInfo - -func (m *GetEntryGroupRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *GetEntryGroupRequest) GetReadMask() *field_mask.FieldMask { - if m != nil { - return m.ReadMask - } - return nil -} - -// Request message for -// [DeleteEntryGroup][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteEntryGroup]. -type DeleteEntryGroupRequest struct { - // Required. The name of the entry group. For example, - // `projects/{project_id}/locations/{location}/entryGroups/{entry_group_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 *DeleteEntryGroupRequest) Reset() { *m = DeleteEntryGroupRequest{} } -func (m *DeleteEntryGroupRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteEntryGroupRequest) ProtoMessage() {} -func (*DeleteEntryGroupRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2054d97e7b16f897, []int{4} -} - -func (m *DeleteEntryGroupRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteEntryGroupRequest.Unmarshal(m, b) -} -func (m *DeleteEntryGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteEntryGroupRequest.Marshal(b, m, deterministic) -} -func (m *DeleteEntryGroupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteEntryGroupRequest.Merge(m, src) -} -func (m *DeleteEntryGroupRequest) XXX_Size() int { - return xxx_messageInfo_DeleteEntryGroupRequest.Size(m) -} -func (m *DeleteEntryGroupRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteEntryGroupRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteEntryGroupRequest proto.InternalMessageInfo - -func (m *DeleteEntryGroupRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for -// [CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry]. -type CreateEntryRequest struct { - // Required. The name of the entry group this entry is in. Example: - // - // * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id} - // - // Note that this Entry and its child resources may not actually be stored in - // the location in this name. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The id of the entry to create. - EntryId string `protobuf:"bytes,3,opt,name=entry_id,json=entryId,proto3" json:"entry_id,omitempty"` - // Required. The entry to create. - Entry *Entry `protobuf:"bytes,2,opt,name=entry,proto3" json:"entry,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateEntryRequest) Reset() { *m = CreateEntryRequest{} } -func (m *CreateEntryRequest) String() string { return proto.CompactTextString(m) } -func (*CreateEntryRequest) ProtoMessage() {} -func (*CreateEntryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2054d97e7b16f897, []int{5} -} - -func (m *CreateEntryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateEntryRequest.Unmarshal(m, b) -} -func (m *CreateEntryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateEntryRequest.Marshal(b, m, deterministic) -} -func (m *CreateEntryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateEntryRequest.Merge(m, src) -} -func (m *CreateEntryRequest) XXX_Size() int { - return xxx_messageInfo_CreateEntryRequest.Size(m) -} -func (m *CreateEntryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateEntryRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateEntryRequest proto.InternalMessageInfo - -func (m *CreateEntryRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateEntryRequest) GetEntryId() string { - if m != nil { - return m.EntryId - } - return "" -} - -func (m *CreateEntryRequest) GetEntry() *Entry { - if m != nil { - return m.Entry - } - return nil -} - -// Request message for -// [UpdateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateEntry]. -type UpdateEntryRequest struct { - // Required. The updated entry. - Entry *Entry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"` - // Optional. The fields to update on the entry. If absent or empty, all - // modifiable fields are updated. - // - // Currently only `schema` field in Cloud Pub/Sub topic entries is modifiable. - 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 *UpdateEntryRequest) Reset() { *m = UpdateEntryRequest{} } -func (m *UpdateEntryRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateEntryRequest) ProtoMessage() {} -func (*UpdateEntryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2054d97e7b16f897, []int{6} -} - -func (m *UpdateEntryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateEntryRequest.Unmarshal(m, b) -} -func (m *UpdateEntryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateEntryRequest.Marshal(b, m, deterministic) -} -func (m *UpdateEntryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateEntryRequest.Merge(m, src) -} -func (m *UpdateEntryRequest) XXX_Size() int { - return xxx_messageInfo_UpdateEntryRequest.Size(m) -} -func (m *UpdateEntryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateEntryRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateEntryRequest proto.InternalMessageInfo - -func (m *UpdateEntryRequest) GetEntry() *Entry { - if m != nil { - return m.Entry - } - return nil -} - -func (m *UpdateEntryRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// Request message for -// [DeleteEntry][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteEntry]. -type DeleteEntryRequest struct { - // Required. The name of the entry. Example: - // - // * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_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 *DeleteEntryRequest) Reset() { *m = DeleteEntryRequest{} } -func (m *DeleteEntryRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteEntryRequest) ProtoMessage() {} -func (*DeleteEntryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2054d97e7b16f897, []int{7} -} - -func (m *DeleteEntryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteEntryRequest.Unmarshal(m, b) -} -func (m *DeleteEntryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteEntryRequest.Marshal(b, m, deterministic) -} -func (m *DeleteEntryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteEntryRequest.Merge(m, src) -} -func (m *DeleteEntryRequest) XXX_Size() int { - return xxx_messageInfo_DeleteEntryRequest.Size(m) -} -func (m *DeleteEntryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteEntryRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteEntryRequest proto.InternalMessageInfo - -func (m *DeleteEntryRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for -// [GetEntry][google.cloud.datacatalog.v1beta1.DataCatalog.GetEntry]. -type GetEntryRequest struct { - // Required. The name of the entry. Example: - // - // * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} - // - // Entry groups are logical groupings of entries. Currently, users cannot - // create/modify entry groups. They are created by Data Catalog; they include - // `@bigquery` for all BigQuery entries, and `@pubsub` for all Cloud Pub/Sub - // entries. - 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 *GetEntryRequest) Reset() { *m = GetEntryRequest{} } -func (m *GetEntryRequest) String() string { return proto.CompactTextString(m) } -func (*GetEntryRequest) ProtoMessage() {} -func (*GetEntryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2054d97e7b16f897, []int{8} -} - -func (m *GetEntryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetEntryRequest.Unmarshal(m, b) -} -func (m *GetEntryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetEntryRequest.Marshal(b, m, deterministic) -} -func (m *GetEntryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetEntryRequest.Merge(m, src) -} -func (m *GetEntryRequest) XXX_Size() int { - return xxx_messageInfo_GetEntryRequest.Size(m) -} -func (m *GetEntryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetEntryRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetEntryRequest proto.InternalMessageInfo - -func (m *GetEntryRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for -// [LookupEntry][google.cloud.datacatalog.v1beta1.DataCatalog.LookupEntry]. -type LookupEntryRequest struct { - // Required. Represents either the Google Cloud Platform resource or SQL name - // for a Google Cloud Platform resource. - // - // Types that are valid to be assigned to TargetName: - // *LookupEntryRequest_LinkedResource - // *LookupEntryRequest_SqlResource - TargetName isLookupEntryRequest_TargetName `protobuf_oneof:"target_name"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LookupEntryRequest) Reset() { *m = LookupEntryRequest{} } -func (m *LookupEntryRequest) String() string { return proto.CompactTextString(m) } -func (*LookupEntryRequest) ProtoMessage() {} -func (*LookupEntryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2054d97e7b16f897, []int{9} -} - -func (m *LookupEntryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LookupEntryRequest.Unmarshal(m, b) -} -func (m *LookupEntryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LookupEntryRequest.Marshal(b, m, deterministic) -} -func (m *LookupEntryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_LookupEntryRequest.Merge(m, src) -} -func (m *LookupEntryRequest) XXX_Size() int { - return xxx_messageInfo_LookupEntryRequest.Size(m) -} -func (m *LookupEntryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_LookupEntryRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_LookupEntryRequest proto.InternalMessageInfo - -type isLookupEntryRequest_TargetName interface { - isLookupEntryRequest_TargetName() -} - -type LookupEntryRequest_LinkedResource struct { - LinkedResource string `protobuf:"bytes,1,opt,name=linked_resource,json=linkedResource,proto3,oneof"` -} - -type LookupEntryRequest_SqlResource struct { - SqlResource string `protobuf:"bytes,3,opt,name=sql_resource,json=sqlResource,proto3,oneof"` -} - -func (*LookupEntryRequest_LinkedResource) isLookupEntryRequest_TargetName() {} - -func (*LookupEntryRequest_SqlResource) isLookupEntryRequest_TargetName() {} - -func (m *LookupEntryRequest) GetTargetName() isLookupEntryRequest_TargetName { - if m != nil { - return m.TargetName - } - return nil -} - -func (m *LookupEntryRequest) GetLinkedResource() string { - if x, ok := m.GetTargetName().(*LookupEntryRequest_LinkedResource); ok { - return x.LinkedResource - } - return "" -} - -func (m *LookupEntryRequest) GetSqlResource() string { - if x, ok := m.GetTargetName().(*LookupEntryRequest_SqlResource); ok { - return x.SqlResource - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*LookupEntryRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*LookupEntryRequest_LinkedResource)(nil), - (*LookupEntryRequest_SqlResource)(nil), - } -} - -// Entry Metadata. -// A Data Catalog Entry resource represents another resource in Google -// Cloud Platform, such as a BigQuery dataset or a Cloud Pub/Sub topic. -// Clients can use the `linked_resource` field in the Entry resource to refer to -// the original resource ID of the source system. -// -// An Entry resource contains resource details, such as its schema. An Entry can -// also be used to attach flexible metadata, such as a -// [Tag][google.cloud.datacatalog.v1beta1.Tag]. -type Entry struct { - // Required when used in - // [UpdateEntryRequest][google.cloud.datacatalog.v1beta1.UpdateEntryRequest]. - // The Data Catalog resource name of the entry in URL format. Example: - // - // * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} - // - // Note that this Entry and its child resources may not actually be stored in - // the location in this name. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Output only. The resource this metadata entry refers to. - // - // For Google Cloud Platform resources, `linked_resource` is the [full name of - // the - // resource](https://cloud.google.com/apis/design/resource_names#full_resource_name). - // For example, the `linked_resource` for a table resource from BigQuery is: - // - // * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId - LinkedResource string `protobuf:"bytes,9,opt,name=linked_resource,json=linkedResource,proto3" json:"linked_resource,omitempty"` - // Required. Entry type. - // - // Types that are valid to be assigned to EntryType: - // *Entry_Type - EntryType isEntry_EntryType `protobuf_oneof:"entry_type"` - // Optional. Type specification information. - // - // Types that are valid to be assigned to TypeSpec: - // *Entry_GcsFilesetSpec - // *Entry_BigqueryTableSpec - // *Entry_BigqueryDateShardedSpec - TypeSpec isEntry_TypeSpec `protobuf_oneof:"type_spec"` - // Optional. Display information such as title and description. A short name - // to identify the entry, for example, "Analytics Data - Jan 2011". Default - // value is an empty string. - DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Optional. Entry description, which can consist of several sentences or - // paragraphs that describe entry contents. Default value is an empty string. - Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` - // Optional. Schema of the entry. An entry might not have any schema attached - // to it. - Schema *Schema `protobuf:"bytes,5,opt,name=schema,proto3" json:"schema,omitempty"` - // Output only. Timestamps about the underlying Google Cloud Platform - // resource, not about this Data Catalog Entry. - SourceSystemTimestamps *SystemTimestamps `protobuf:"bytes,7,opt,name=source_system_timestamps,json=sourceSystemTimestamps,proto3" json:"source_system_timestamps,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Entry) Reset() { *m = Entry{} } -func (m *Entry) String() string { return proto.CompactTextString(m) } -func (*Entry) ProtoMessage() {} -func (*Entry) Descriptor() ([]byte, []int) { - return fileDescriptor_2054d97e7b16f897, []int{10} -} - -func (m *Entry) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Entry.Unmarshal(m, b) -} -func (m *Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Entry.Marshal(b, m, deterministic) -} -func (m *Entry) XXX_Merge(src proto.Message) { - xxx_messageInfo_Entry.Merge(m, src) -} -func (m *Entry) XXX_Size() int { - return xxx_messageInfo_Entry.Size(m) -} -func (m *Entry) XXX_DiscardUnknown() { - xxx_messageInfo_Entry.DiscardUnknown(m) -} - -var xxx_messageInfo_Entry proto.InternalMessageInfo - -func (m *Entry) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Entry) GetLinkedResource() string { - if m != nil { - return m.LinkedResource - } - return "" -} - -type isEntry_EntryType interface { - isEntry_EntryType() -} - -type Entry_Type struct { - Type EntryType `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.datacatalog.v1beta1.EntryType,oneof"` -} - -func (*Entry_Type) isEntry_EntryType() {} - -func (m *Entry) GetEntryType() isEntry_EntryType { - if m != nil { - return m.EntryType - } - return nil -} - -func (m *Entry) GetType() EntryType { - if x, ok := m.GetEntryType().(*Entry_Type); ok { - return x.Type - } - return EntryType_ENTRY_TYPE_UNSPECIFIED -} - -type isEntry_TypeSpec interface { - isEntry_TypeSpec() -} - -type Entry_GcsFilesetSpec struct { - GcsFilesetSpec *GcsFilesetSpec `protobuf:"bytes,6,opt,name=gcs_fileset_spec,json=gcsFilesetSpec,proto3,oneof"` -} - -type Entry_BigqueryTableSpec struct { - BigqueryTableSpec *BigQueryTableSpec `protobuf:"bytes,12,opt,name=bigquery_table_spec,json=bigqueryTableSpec,proto3,oneof"` -} - -type Entry_BigqueryDateShardedSpec struct { - BigqueryDateShardedSpec *BigQueryDateShardedSpec `protobuf:"bytes,15,opt,name=bigquery_date_sharded_spec,json=bigqueryDateShardedSpec,proto3,oneof"` -} - -func (*Entry_GcsFilesetSpec) isEntry_TypeSpec() {} - -func (*Entry_BigqueryTableSpec) isEntry_TypeSpec() {} - -func (*Entry_BigqueryDateShardedSpec) isEntry_TypeSpec() {} - -func (m *Entry) GetTypeSpec() isEntry_TypeSpec { - if m != nil { - return m.TypeSpec - } - return nil -} - -func (m *Entry) GetGcsFilesetSpec() *GcsFilesetSpec { - if x, ok := m.GetTypeSpec().(*Entry_GcsFilesetSpec); ok { - return x.GcsFilesetSpec - } - return nil -} - -func (m *Entry) GetBigqueryTableSpec() *BigQueryTableSpec { - if x, ok := m.GetTypeSpec().(*Entry_BigqueryTableSpec); ok { - return x.BigqueryTableSpec - } - return nil -} - -func (m *Entry) GetBigqueryDateShardedSpec() *BigQueryDateShardedSpec { - if x, ok := m.GetTypeSpec().(*Entry_BigqueryDateShardedSpec); ok { - return x.BigqueryDateShardedSpec - } - return nil -} - -func (m *Entry) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *Entry) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *Entry) GetSchema() *Schema { - if m != nil { - return m.Schema - } - return nil -} - -func (m *Entry) GetSourceSystemTimestamps() *SystemTimestamps { - if m != nil { - return m.SourceSystemTimestamps - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Entry) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Entry_Type)(nil), - (*Entry_GcsFilesetSpec)(nil), - (*Entry_BigqueryTableSpec)(nil), - (*Entry_BigqueryDateShardedSpec)(nil), - } -} - -// EntryGroup Metadata. -// An EntryGroup resource represents a logical grouping of zero or more -// Data Catalog [Entry][google.cloud.datacatalog.v1beta1.Entry] resources. -type EntryGroup struct { - // Required when used in - // [UpdateEntryGroupRequest][google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest]. - // The resource name of the entry group in URL format. Example: - // - // * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id} - // - // Note that this EntryGroup and its child resources may not actually be - // stored in the location in this name. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Optional. A short name to identify the entry group, for example, - // "analytics data - jan 2011". Default value is an empty string. - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Optional. Entry group description, which can consist of several sentences - // or paragraphs that describe entry group contents. Default value is an empty - // string. - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - // Output only. Timestamps about this EntryGroup. Default value is empty - // timestamps. - DataCatalogTimestamps *SystemTimestamps `protobuf:"bytes,4,opt,name=data_catalog_timestamps,json=dataCatalogTimestamps,proto3" json:"data_catalog_timestamps,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *EntryGroup) Reset() { *m = EntryGroup{} } -func (m *EntryGroup) String() string { return proto.CompactTextString(m) } -func (*EntryGroup) ProtoMessage() {} -func (*EntryGroup) Descriptor() ([]byte, []int) { - return fileDescriptor_2054d97e7b16f897, []int{11} -} - -func (m *EntryGroup) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EntryGroup.Unmarshal(m, b) -} -func (m *EntryGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EntryGroup.Marshal(b, m, deterministic) -} -func (m *EntryGroup) XXX_Merge(src proto.Message) { - xxx_messageInfo_EntryGroup.Merge(m, src) -} -func (m *EntryGroup) XXX_Size() int { - return xxx_messageInfo_EntryGroup.Size(m) -} -func (m *EntryGroup) XXX_DiscardUnknown() { - xxx_messageInfo_EntryGroup.DiscardUnknown(m) -} - -var xxx_messageInfo_EntryGroup proto.InternalMessageInfo - -func (m *EntryGroup) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *EntryGroup) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *EntryGroup) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *EntryGroup) GetDataCatalogTimestamps() *SystemTimestamps { - if m != nil { - return m.DataCatalogTimestamps - } - return nil -} - -// Request message for -// [CreateTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.CreateTagTemplate]. -type CreateTagTemplateRequest struct { - // Required. The name of the project and the location this template is in. - // Example: - // - // * projects/{project_id}/locations/{location} - // - // TagTemplate and its child resources may not actually be stored in the - // location in this name. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The id of the tag template to create. - TagTemplateId string `protobuf:"bytes,3,opt,name=tag_template_id,json=tagTemplateId,proto3" json:"tag_template_id,omitempty"` - // Required. The tag template to create. - TagTemplate *TagTemplate `protobuf:"bytes,2,opt,name=tag_template,json=tagTemplate,proto3" json:"tag_template,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateTagTemplateRequest) Reset() { *m = CreateTagTemplateRequest{} } -func (m *CreateTagTemplateRequest) String() string { return proto.CompactTextString(m) } -func (*CreateTagTemplateRequest) ProtoMessage() {} -func (*CreateTagTemplateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2054d97e7b16f897, []int{12} -} - -func (m *CreateTagTemplateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateTagTemplateRequest.Unmarshal(m, b) -} -func (m *CreateTagTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateTagTemplateRequest.Marshal(b, m, deterministic) -} -func (m *CreateTagTemplateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateTagTemplateRequest.Merge(m, src) -} -func (m *CreateTagTemplateRequest) XXX_Size() int { - return xxx_messageInfo_CreateTagTemplateRequest.Size(m) -} -func (m *CreateTagTemplateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateTagTemplateRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateTagTemplateRequest proto.InternalMessageInfo - -func (m *CreateTagTemplateRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateTagTemplateRequest) GetTagTemplateId() string { - if m != nil { - return m.TagTemplateId - } - return "" -} - -func (m *CreateTagTemplateRequest) GetTagTemplate() *TagTemplate { - if m != nil { - return m.TagTemplate - } - return nil -} - -// Request message for -// [GetTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.GetTagTemplate]. -type GetTagTemplateRequest struct { - // Required. The name of the tag template. Example: - // - // * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_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 *GetTagTemplateRequest) Reset() { *m = GetTagTemplateRequest{} } -func (m *GetTagTemplateRequest) String() string { return proto.CompactTextString(m) } -func (*GetTagTemplateRequest) ProtoMessage() {} -func (*GetTagTemplateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2054d97e7b16f897, []int{13} -} - -func (m *GetTagTemplateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTagTemplateRequest.Unmarshal(m, b) -} -func (m *GetTagTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTagTemplateRequest.Marshal(b, m, deterministic) -} -func (m *GetTagTemplateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTagTemplateRequest.Merge(m, src) -} -func (m *GetTagTemplateRequest) XXX_Size() int { - return xxx_messageInfo_GetTagTemplateRequest.Size(m) -} -func (m *GetTagTemplateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTagTemplateRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetTagTemplateRequest proto.InternalMessageInfo - -func (m *GetTagTemplateRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for -// [UpdateTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTagTemplate]. -type UpdateTagTemplateRequest struct { - // Required. The template to update. - TagTemplate *TagTemplate `protobuf:"bytes,1,opt,name=tag_template,json=tagTemplate,proto3" json:"tag_template,omitempty"` - // Optional. The field mask specifies the parts of the template to overwrite. - // - // Allowed fields: - // - // * `display_name` - // - // If absent or empty, all of the allowed fields above 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 *UpdateTagTemplateRequest) Reset() { *m = UpdateTagTemplateRequest{} } -func (m *UpdateTagTemplateRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateTagTemplateRequest) ProtoMessage() {} -func (*UpdateTagTemplateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2054d97e7b16f897, []int{14} -} - -func (m *UpdateTagTemplateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateTagTemplateRequest.Unmarshal(m, b) -} -func (m *UpdateTagTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateTagTemplateRequest.Marshal(b, m, deterministic) -} -func (m *UpdateTagTemplateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateTagTemplateRequest.Merge(m, src) -} -func (m *UpdateTagTemplateRequest) XXX_Size() int { - return xxx_messageInfo_UpdateTagTemplateRequest.Size(m) -} -func (m *UpdateTagTemplateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateTagTemplateRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateTagTemplateRequest proto.InternalMessageInfo - -func (m *UpdateTagTemplateRequest) GetTagTemplate() *TagTemplate { - if m != nil { - return m.TagTemplate - } - return nil -} - -func (m *UpdateTagTemplateRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// Request message for -// [DeleteTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTagTemplate]. -type DeleteTagTemplateRequest struct { - // Required. The name of the tag template to delete. Example: - // - // * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id} - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. Currently, this field must always be set to `true`. - // This confirms the deletion of any possible tags using this template. - // `force = false` will be supported in the future. - Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DeleteTagTemplateRequest) Reset() { *m = DeleteTagTemplateRequest{} } -func (m *DeleteTagTemplateRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteTagTemplateRequest) ProtoMessage() {} -func (*DeleteTagTemplateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2054d97e7b16f897, []int{15} -} - -func (m *DeleteTagTemplateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteTagTemplateRequest.Unmarshal(m, b) -} -func (m *DeleteTagTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteTagTemplateRequest.Marshal(b, m, deterministic) -} -func (m *DeleteTagTemplateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteTagTemplateRequest.Merge(m, src) -} -func (m *DeleteTagTemplateRequest) XXX_Size() int { - return xxx_messageInfo_DeleteTagTemplateRequest.Size(m) -} -func (m *DeleteTagTemplateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteTagTemplateRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteTagTemplateRequest proto.InternalMessageInfo - -func (m *DeleteTagTemplateRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *DeleteTagTemplateRequest) GetForce() bool { - if m != nil { - return m.Force - } - return false -} - -// Request message for -// [CreateTag][google.cloud.datacatalog.v1beta1.DataCatalog.CreateTag]. -type CreateTagRequest struct { - // Required. The name of the resource to attach this tag to. Tags can be attached to - // Entries. Example: - // - // * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} - // - // Note that this Tag and its child resources may not actually be stored in - // the location in this name. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The tag to create. - Tag *Tag `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateTagRequest) Reset() { *m = CreateTagRequest{} } -func (m *CreateTagRequest) String() string { return proto.CompactTextString(m) } -func (*CreateTagRequest) ProtoMessage() {} -func (*CreateTagRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2054d97e7b16f897, []int{16} -} - -func (m *CreateTagRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateTagRequest.Unmarshal(m, b) -} -func (m *CreateTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateTagRequest.Marshal(b, m, deterministic) -} -func (m *CreateTagRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateTagRequest.Merge(m, src) -} -func (m *CreateTagRequest) XXX_Size() int { - return xxx_messageInfo_CreateTagRequest.Size(m) -} -func (m *CreateTagRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateTagRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateTagRequest proto.InternalMessageInfo - -func (m *CreateTagRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateTagRequest) GetTag() *Tag { - if m != nil { - return m.Tag - } - return nil -} - -// Request message for -// [UpdateTag][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTag]. -type UpdateTagRequest struct { - // Required. The updated tag. - Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` - // Optional. The fields to update on the Tag. If absent or empty, all - // modifiable fields are updated. Currently the only modifiable field is the - // field `fields`. - 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 *UpdateTagRequest) Reset() { *m = UpdateTagRequest{} } -func (m *UpdateTagRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateTagRequest) ProtoMessage() {} -func (*UpdateTagRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2054d97e7b16f897, []int{17} -} - -func (m *UpdateTagRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateTagRequest.Unmarshal(m, b) -} -func (m *UpdateTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateTagRequest.Marshal(b, m, deterministic) -} -func (m *UpdateTagRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateTagRequest.Merge(m, src) -} -func (m *UpdateTagRequest) XXX_Size() int { - return xxx_messageInfo_UpdateTagRequest.Size(m) -} -func (m *UpdateTagRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateTagRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateTagRequest proto.InternalMessageInfo - -func (m *UpdateTagRequest) GetTag() *Tag { - if m != nil { - return m.Tag - } - return nil -} - -func (m *UpdateTagRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// Request message for -// [DeleteTag][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTag]. -type DeleteTagRequest struct { - // Required. The name of the tag to delete. Example: - // - // * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_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 *DeleteTagRequest) Reset() { *m = DeleteTagRequest{} } -func (m *DeleteTagRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteTagRequest) ProtoMessage() {} -func (*DeleteTagRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2054d97e7b16f897, []int{18} -} - -func (m *DeleteTagRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteTagRequest.Unmarshal(m, b) -} -func (m *DeleteTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteTagRequest.Marshal(b, m, deterministic) -} -func (m *DeleteTagRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteTagRequest.Merge(m, src) -} -func (m *DeleteTagRequest) XXX_Size() int { - return xxx_messageInfo_DeleteTagRequest.Size(m) -} -func (m *DeleteTagRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteTagRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteTagRequest proto.InternalMessageInfo - -func (m *DeleteTagRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for -// [CreateTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.CreateTagTemplateField]. -type CreateTagTemplateFieldRequest struct { - // Required. The name of the project this template is in. Example: - // - // * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id} - // - // Note that this TagTemplateField may not actually be stored in the location - // in this name. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The ID of the tag template field to create. - // Field ids can contain letters (both uppercase and lowercase), numbers - // (0-9), underscores (_) and dashes (-). Field IDs must be at least 1 - // character long and at most 128 characters long. Field IDs must also be - // unique within their template. - TagTemplateFieldId string `protobuf:"bytes,2,opt,name=tag_template_field_id,json=tagTemplateFieldId,proto3" json:"tag_template_field_id,omitempty"` - // Required. The tag template field to create. - TagTemplateField *TagTemplateField `protobuf:"bytes,3,opt,name=tag_template_field,json=tagTemplateField,proto3" json:"tag_template_field,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateTagTemplateFieldRequest) Reset() { *m = CreateTagTemplateFieldRequest{} } -func (m *CreateTagTemplateFieldRequest) String() string { return proto.CompactTextString(m) } -func (*CreateTagTemplateFieldRequest) ProtoMessage() {} -func (*CreateTagTemplateFieldRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2054d97e7b16f897, []int{19} -} - -func (m *CreateTagTemplateFieldRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateTagTemplateFieldRequest.Unmarshal(m, b) -} -func (m *CreateTagTemplateFieldRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateTagTemplateFieldRequest.Marshal(b, m, deterministic) -} -func (m *CreateTagTemplateFieldRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateTagTemplateFieldRequest.Merge(m, src) -} -func (m *CreateTagTemplateFieldRequest) XXX_Size() int { - return xxx_messageInfo_CreateTagTemplateFieldRequest.Size(m) -} -func (m *CreateTagTemplateFieldRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateTagTemplateFieldRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateTagTemplateFieldRequest proto.InternalMessageInfo - -func (m *CreateTagTemplateFieldRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateTagTemplateFieldRequest) GetTagTemplateFieldId() string { - if m != nil { - return m.TagTemplateFieldId - } - return "" -} - -func (m *CreateTagTemplateFieldRequest) GetTagTemplateField() *TagTemplateField { - if m != nil { - return m.TagTemplateField - } - return nil -} - -// Request message for -// [UpdateTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTagTemplateField]. -type UpdateTagTemplateFieldRequest struct { - // Required. The name of the tag template field. Example: - // - // * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id} - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The template to update. - TagTemplateField *TagTemplateField `protobuf:"bytes,2,opt,name=tag_template_field,json=tagTemplateField,proto3" json:"tag_template_field,omitempty"` - // Optional. The field mask specifies the parts of the template to be updated. - // Allowed fields: - // - // * `display_name` - // * `type.enum_type` - // - // If `update_mask` is not set or empty, all of the allowed fields above will - // be updated. - // - // When updating an enum type, the provided values will be merged with the - // existing values. Therefore, enum values can only be added, existing enum - // values cannot be deleted nor renamed. - 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 *UpdateTagTemplateFieldRequest) Reset() { *m = UpdateTagTemplateFieldRequest{} } -func (m *UpdateTagTemplateFieldRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateTagTemplateFieldRequest) ProtoMessage() {} -func (*UpdateTagTemplateFieldRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2054d97e7b16f897, []int{20} -} - -func (m *UpdateTagTemplateFieldRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateTagTemplateFieldRequest.Unmarshal(m, b) -} -func (m *UpdateTagTemplateFieldRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateTagTemplateFieldRequest.Marshal(b, m, deterministic) -} -func (m *UpdateTagTemplateFieldRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateTagTemplateFieldRequest.Merge(m, src) -} -func (m *UpdateTagTemplateFieldRequest) XXX_Size() int { - return xxx_messageInfo_UpdateTagTemplateFieldRequest.Size(m) -} -func (m *UpdateTagTemplateFieldRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateTagTemplateFieldRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateTagTemplateFieldRequest proto.InternalMessageInfo - -func (m *UpdateTagTemplateFieldRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *UpdateTagTemplateFieldRequest) GetTagTemplateField() *TagTemplateField { - if m != nil { - return m.TagTemplateField - } - return nil -} - -func (m *UpdateTagTemplateFieldRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// Request message for -// [RenameTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.RenameTagTemplateField]. -type RenameTagTemplateFieldRequest struct { - // Required. The name of the tag template. Example: - // - // * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id} - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The new ID of this tag template field. For example, - // `my_new_field`. - NewTagTemplateFieldId string `protobuf:"bytes,2,opt,name=new_tag_template_field_id,json=newTagTemplateFieldId,proto3" json:"new_tag_template_field_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RenameTagTemplateFieldRequest) Reset() { *m = RenameTagTemplateFieldRequest{} } -func (m *RenameTagTemplateFieldRequest) String() string { return proto.CompactTextString(m) } -func (*RenameTagTemplateFieldRequest) ProtoMessage() {} -func (*RenameTagTemplateFieldRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2054d97e7b16f897, []int{21} -} - -func (m *RenameTagTemplateFieldRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RenameTagTemplateFieldRequest.Unmarshal(m, b) -} -func (m *RenameTagTemplateFieldRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RenameTagTemplateFieldRequest.Marshal(b, m, deterministic) -} -func (m *RenameTagTemplateFieldRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RenameTagTemplateFieldRequest.Merge(m, src) -} -func (m *RenameTagTemplateFieldRequest) XXX_Size() int { - return xxx_messageInfo_RenameTagTemplateFieldRequest.Size(m) -} -func (m *RenameTagTemplateFieldRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RenameTagTemplateFieldRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_RenameTagTemplateFieldRequest proto.InternalMessageInfo - -func (m *RenameTagTemplateFieldRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *RenameTagTemplateFieldRequest) GetNewTagTemplateFieldId() string { - if m != nil { - return m.NewTagTemplateFieldId - } - return "" -} - -// Request message for -// [DeleteTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTagTemplateField]. -type DeleteTagTemplateFieldRequest struct { - // Required. The name of the tag template field to delete. Example: - // - // * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id} - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. Currently, this field must always be set to `true`. - // This confirms the deletion of this field from any tags using this field. - // `force = false` will be supported in the future. - Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DeleteTagTemplateFieldRequest) Reset() { *m = DeleteTagTemplateFieldRequest{} } -func (m *DeleteTagTemplateFieldRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteTagTemplateFieldRequest) ProtoMessage() {} -func (*DeleteTagTemplateFieldRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2054d97e7b16f897, []int{22} -} - -func (m *DeleteTagTemplateFieldRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteTagTemplateFieldRequest.Unmarshal(m, b) -} -func (m *DeleteTagTemplateFieldRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteTagTemplateFieldRequest.Marshal(b, m, deterministic) -} -func (m *DeleteTagTemplateFieldRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteTagTemplateFieldRequest.Merge(m, src) -} -func (m *DeleteTagTemplateFieldRequest) XXX_Size() int { - return xxx_messageInfo_DeleteTagTemplateFieldRequest.Size(m) -} -func (m *DeleteTagTemplateFieldRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteTagTemplateFieldRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteTagTemplateFieldRequest proto.InternalMessageInfo - -func (m *DeleteTagTemplateFieldRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *DeleteTagTemplateFieldRequest) GetForce() bool { - if m != nil { - return m.Force - } - return false -} - -// Request message for -// [ListTags][google.cloud.datacatalog.v1beta1.DataCatalog.ListTags]. -type ListTagsRequest struct { - // Required. The name of the Data Catalog resource to list the tags of. The - // resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry]. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. The maximum number of tags to return. Default is 10. Max limit is - // 1000. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional. Token that specifies which page is requested. If empty, the first - // page is returned. - 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 *ListTagsRequest) Reset() { *m = ListTagsRequest{} } -func (m *ListTagsRequest) String() string { return proto.CompactTextString(m) } -func (*ListTagsRequest) ProtoMessage() {} -func (*ListTagsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2054d97e7b16f897, []int{23} -} - -func (m *ListTagsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTagsRequest.Unmarshal(m, b) -} -func (m *ListTagsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTagsRequest.Marshal(b, m, deterministic) -} -func (m *ListTagsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTagsRequest.Merge(m, src) -} -func (m *ListTagsRequest) XXX_Size() int { - return xxx_messageInfo_ListTagsRequest.Size(m) -} -func (m *ListTagsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListTagsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTagsRequest proto.InternalMessageInfo - -func (m *ListTagsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListTagsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListTagsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response message for -// [ListTags][google.cloud.datacatalog.v1beta1.DataCatalog.ListTags]. -type ListTagsResponse struct { - // [Tag][google.cloud.datacatalog.v1beta1.Tag] details. - Tags []*Tag `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` - // Token to retrieve the next page of results. It is set to empty if no items - // remain in 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 *ListTagsResponse) Reset() { *m = ListTagsResponse{} } -func (m *ListTagsResponse) String() string { return proto.CompactTextString(m) } -func (*ListTagsResponse) ProtoMessage() {} -func (*ListTagsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2054d97e7b16f897, []int{24} -} - -func (m *ListTagsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTagsResponse.Unmarshal(m, b) -} -func (m *ListTagsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTagsResponse.Marshal(b, m, deterministic) -} -func (m *ListTagsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTagsResponse.Merge(m, src) -} -func (m *ListTagsResponse) XXX_Size() int { - return xxx_messageInfo_ListTagsResponse.Size(m) -} -func (m *ListTagsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListTagsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTagsResponse proto.InternalMessageInfo - -func (m *ListTagsResponse) GetTags() []*Tag { - if m != nil { - return m.Tags - } - return nil -} - -func (m *ListTagsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -func init() { - proto.RegisterEnum("google.cloud.datacatalog.v1beta1.EntryType", EntryType_name, EntryType_value) - proto.RegisterType((*SearchCatalogRequest)(nil), "google.cloud.datacatalog.v1beta1.SearchCatalogRequest") - proto.RegisterType((*SearchCatalogRequest_Scope)(nil), "google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope") - proto.RegisterType((*SearchCatalogResponse)(nil), "google.cloud.datacatalog.v1beta1.SearchCatalogResponse") - proto.RegisterType((*CreateEntryGroupRequest)(nil), "google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest") - proto.RegisterType((*GetEntryGroupRequest)(nil), "google.cloud.datacatalog.v1beta1.GetEntryGroupRequest") - proto.RegisterType((*DeleteEntryGroupRequest)(nil), "google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest") - proto.RegisterType((*CreateEntryRequest)(nil), "google.cloud.datacatalog.v1beta1.CreateEntryRequest") - proto.RegisterType((*UpdateEntryRequest)(nil), "google.cloud.datacatalog.v1beta1.UpdateEntryRequest") - proto.RegisterType((*DeleteEntryRequest)(nil), "google.cloud.datacatalog.v1beta1.DeleteEntryRequest") - proto.RegisterType((*GetEntryRequest)(nil), "google.cloud.datacatalog.v1beta1.GetEntryRequest") - proto.RegisterType((*LookupEntryRequest)(nil), "google.cloud.datacatalog.v1beta1.LookupEntryRequest") - proto.RegisterType((*Entry)(nil), "google.cloud.datacatalog.v1beta1.Entry") - proto.RegisterType((*EntryGroup)(nil), "google.cloud.datacatalog.v1beta1.EntryGroup") - proto.RegisterType((*CreateTagTemplateRequest)(nil), "google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest") - proto.RegisterType((*GetTagTemplateRequest)(nil), "google.cloud.datacatalog.v1beta1.GetTagTemplateRequest") - proto.RegisterType((*UpdateTagTemplateRequest)(nil), "google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest") - proto.RegisterType((*DeleteTagTemplateRequest)(nil), "google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest") - proto.RegisterType((*CreateTagRequest)(nil), "google.cloud.datacatalog.v1beta1.CreateTagRequest") - proto.RegisterType((*UpdateTagRequest)(nil), "google.cloud.datacatalog.v1beta1.UpdateTagRequest") - proto.RegisterType((*DeleteTagRequest)(nil), "google.cloud.datacatalog.v1beta1.DeleteTagRequest") - proto.RegisterType((*CreateTagTemplateFieldRequest)(nil), "google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest") - proto.RegisterType((*UpdateTagTemplateFieldRequest)(nil), "google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest") - proto.RegisterType((*RenameTagTemplateFieldRequest)(nil), "google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest") - proto.RegisterType((*DeleteTagTemplateFieldRequest)(nil), "google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest") - proto.RegisterType((*ListTagsRequest)(nil), "google.cloud.datacatalog.v1beta1.ListTagsRequest") - proto.RegisterType((*ListTagsResponse)(nil), "google.cloud.datacatalog.v1beta1.ListTagsResponse") -} - -func init() { - proto.RegisterFile("google/cloud/datacatalog/v1beta1/datacatalog.proto", fileDescriptor_2054d97e7b16f897) -} - -var fileDescriptor_2054d97e7b16f897 = []byte{ - // 2653 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x5a, 0x4d, 0x6c, 0x1b, 0xc7, - 0x15, 0xce, 0x90, 0x92, 0x2d, 0x3d, 0xea, 0x77, 0x12, 0x49, 0x34, 0x13, 0x3b, 0xca, 0x06, 0xb1, - 0x65, 0x5a, 0x26, 0x2b, 0x3a, 0xb6, 0x61, 0xc6, 0x76, 0xb3, 0xb2, 0x28, 0x59, 0x89, 0x6c, 0x2b, - 0x14, 0xdd, 0x22, 0x6e, 0x80, 0xc5, 0x8a, 0x1c, 0xaf, 0x36, 0x26, 0xb9, 0xab, 0xdd, 0xa5, 0x6d, - 0xc5, 0x30, 0x50, 0x38, 0x40, 0x4e, 0x31, 0x50, 0xb4, 0xe8, 0xa5, 0x28, 0x7a, 0x2d, 0x60, 0xa0, - 0xbd, 0x14, 0x3d, 0x15, 0x68, 0x7b, 0x69, 0x8b, 0xb6, 0xa7, 0x36, 0x40, 0x0f, 0x04, 0x0a, 0xe4, - 0x50, 0xf4, 0x60, 0xa0, 0x87, 0x16, 0x3d, 0x14, 0x45, 0x81, 0x16, 0x3b, 0x33, 0x4b, 0xee, 0x0f, - 0x29, 0x0e, 0x29, 0xb9, 0x27, 0x91, 0x33, 0xef, 0xbd, 0x79, 0xef, 0x7b, 0x6f, 0xe6, 0xfd, 0x88, - 0x90, 0xd3, 0x0c, 0x43, 0xab, 0x92, 0x6c, 0xb9, 0x6a, 0x34, 0x2a, 0xd9, 0x8a, 0xea, 0xa8, 0x65, - 0xd5, 0x51,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x78, 0x21, 0x04, 0x52, 0x94, 0xc4, 0x83, 0xf3, 0xb4, 0x00, 0x25, 0xbf, 0x49, 0x9f, 0xc5, - 0x28, 0xc4, 0xff, 0x45, 0xd2, 0xc6, 0xe0, 0x10, 0x3b, 0x11, 0xf9, 0x2e, 0x38, 0x9b, 0xd2, 0xfb, - 0x03, 0x03, 0xdd, 0x59, 0xe2, 0x1d, 0xe9, 0xf6, 0x21, 0xc0, 0xdd, 0x51, 0x76, 0xea, 0xe6, 0xef, - 0xe4, 0x54, 0xf7, 0x99, 0xf5, 0x1f, 0xe5, 0xcc, 0x8e, 0xe3, 0x98, 0x76, 0x3e, 0x9b, 0x7d, 0xf0, - 0xe0, 0x41, 0x78, 0xa0, 0xad, 0x36, 0x9c, 0x1d, 0xf6, 0x9b, 0xd0, 0xb3, 0x2e, 0x28, 0x77, 0x0d, - 0xab, 0xb6, 0x6c, 0xc2, 0x6b, 0x65, 0xa3, 0xd6, 0xf5, 0x6d, 0xdb, 0x44, 0x77, 0xde, 0xe7, 0x7b, - 0x9a, 0x51, 0x55, 0xeb, 0x5a, 0xc6, 0xb0, 0xb4, 0xac, 0x46, 0xea, 0xf4, 0xcd, 0xce, 0xb6, 0x0f, - 0xe8, 0xfe, 0x5b, 0xd3, 0x77, 0x7c, 0x6b, 0xff, 0x42, 0x68, 0xfb, 0x08, 0x65, 0x3d, 0xf7, 0xbf, - 0x00, 0x00, 0x00, 0xff, 0xff, 0x6d, 0x80, 0x30, 0x11, 0x65, 0x2c, 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 - -// DataCatalogClient is the client API for DataCatalog service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type DataCatalogClient interface { - // Searches Data Catalog for multiple resources like entries, tags that - // match a query. - // - // This is a custom method - // (https://cloud.google.com/apis/design/custom_methods) and does not return - // the complete resource, only the resource identifier and high level - // fields. Clients can subsequentally call `Get` methods. - // - // Note that searches do not have full recall. There may be results that match - // your query but are not returned, even in subsequent pages of results. These - // missing results may vary across repeated calls to search. Do not rely on - // this method if you need to guarantee full recall. - // - // See [Data Catalog Search - // Syntax](/data-catalog/docs/how-to/search-reference) for more information. - SearchCatalog(ctx context.Context, in *SearchCatalogRequest, opts ...grpc.CallOption) (*SearchCatalogResponse, error) - // Alpha feature. - // Creates an EntryGroup. - // The user should enable the Data Catalog API in the project identified by - // the `parent` parameter (see [Data Catalog Resource Project] - // (/data-catalog/docs/concepts/resource-project) for more information). - CreateEntryGroup(ctx context.Context, in *CreateEntryGroupRequest, opts ...grpc.CallOption) (*EntryGroup, error) - // Alpha feature. - // Gets an EntryGroup. - GetEntryGroup(ctx context.Context, in *GetEntryGroupRequest, opts ...grpc.CallOption) (*EntryGroup, error) - // Alpha feature. - // Deletes an EntryGroup. Only entry groups that do not contain entries can be - // deleted. The user should enable the Data Catalog API in the project - // identified by the `name` parameter (see [Data Catalog Resource Project] - // (/data-catalog/docs/concepts/resource-project) for more information). - DeleteEntryGroup(ctx context.Context, in *DeleteEntryGroupRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Alpha feature. - // Creates an entry. Currently only entries of 'FILESET' type can be created. - // The user should enable the Data Catalog API in the project identified by - // the `parent` parameter (see [Data Catalog Resource Project] - // (/data-catalog/docs/concepts/resource-project) for more information). - CreateEntry(ctx context.Context, in *CreateEntryRequest, opts ...grpc.CallOption) (*Entry, error) - // Updates an existing entry. - // The user should enable the Data Catalog API in the project identified by - // the `entry.name` parameter (see [Data Catalog Resource Project] - // (/data-catalog/docs/concepts/resource-project) for more information). - UpdateEntry(ctx context.Context, in *UpdateEntryRequest, opts ...grpc.CallOption) (*Entry, error) - // Alpha feature. - // Deletes an existing entry. Only entries created through - // [CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry] - // method can be deleted. - // The user should enable the Data Catalog API in the project identified by - // the `name` parameter (see [Data Catalog Resource Project] - // (/data-catalog/docs/concepts/resource-project) for more information). - DeleteEntry(ctx context.Context, in *DeleteEntryRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Gets an entry. - GetEntry(ctx context.Context, in *GetEntryRequest, opts ...grpc.CallOption) (*Entry, error) - // Get an entry by target resource name. This method allows clients to use - // the resource name from the source Google Cloud Platform service to get the - // Data Catalog Entry. - LookupEntry(ctx context.Context, in *LookupEntryRequest, opts ...grpc.CallOption) (*Entry, error) - // Creates a tag template. The user should enable the Data Catalog API in - // the project identified by the `parent` parameter (see [Data Catalog - // Resource Project](/data-catalog/docs/concepts/resource-project) for more - // information). - CreateTagTemplate(ctx context.Context, in *CreateTagTemplateRequest, opts ...grpc.CallOption) (*TagTemplate, error) - // Gets a tag template. - GetTagTemplate(ctx context.Context, in *GetTagTemplateRequest, opts ...grpc.CallOption) (*TagTemplate, error) - // Updates a tag template. This method cannot be used to update the fields of - // a template. The tag template fields are represented as separate resources - // and should be updated using their own create/update/delete methods. - // The user should enable the Data Catalog API in the project identified by - // the `tag_template.name` parameter (see [Data Catalog Resource Project] - // (/data-catalog/docs/concepts/resource-project) for more information). - UpdateTagTemplate(ctx context.Context, in *UpdateTagTemplateRequest, opts ...grpc.CallOption) (*TagTemplate, error) - // Deletes a tag template and all tags using the template. - // The user should enable the Data Catalog API in the project identified by - // the `name` parameter (see [Data Catalog Resource Project] - // (/data-catalog/docs/concepts/resource-project) for more information). - DeleteTagTemplate(ctx context.Context, in *DeleteTagTemplateRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Creates a field in a tag template. The user should enable the Data Catalog - // API in the project identified by the `parent` parameter (see - // [Data Catalog Resource - // Project](/data-catalog/docs/concepts/resource-project) for more - // information). - CreateTagTemplateField(ctx context.Context, in *CreateTagTemplateFieldRequest, opts ...grpc.CallOption) (*TagTemplateField, error) - // Updates a field in a tag template. This method cannot be used to update the - // field type. The user should enable the Data Catalog API in the project - // identified by the `name` parameter (see [Data Catalog Resource Project] - // (/data-catalog/docs/concepts/resource-project) for more information). - UpdateTagTemplateField(ctx context.Context, in *UpdateTagTemplateFieldRequest, opts ...grpc.CallOption) (*TagTemplateField, error) - // Renames a field in a tag template. The user should enable the Data Catalog - // API in the project identified by the `name` parameter (see [Data Catalog - // Resource Project](/data-catalog/docs/concepts/resource-project) for more - // information). - RenameTagTemplateField(ctx context.Context, in *RenameTagTemplateFieldRequest, opts ...grpc.CallOption) (*TagTemplateField, error) - // Deletes a field in a tag template and all uses of that field. - // The user should enable the Data Catalog API in the project identified by - // the `name` parameter (see [Data Catalog Resource Project] - // (/data-catalog/docs/concepts/resource-project) for more information). - DeleteTagTemplateField(ctx context.Context, in *DeleteTagTemplateFieldRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Creates a tag on an [Entry][google.cloud.datacatalog.v1beta1.Entry]. - // Note: The project identified by the `parent` parameter for the - // [tag](/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters) - // and the - // [tag - // template](/data-catalog/docs/reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters) - // used to create the tag must be from the same organization. - CreateTag(ctx context.Context, in *CreateTagRequest, opts ...grpc.CallOption) (*Tag, error) - // Updates an existing tag. - UpdateTag(ctx context.Context, in *UpdateTagRequest, opts ...grpc.CallOption) (*Tag, error) - // Deletes a tag. - DeleteTag(ctx context.Context, in *DeleteTagRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Lists the tags on an [Entry][google.cloud.datacatalog.v1beta1.Entry]. - ListTags(ctx context.Context, in *ListTagsRequest, opts ...grpc.CallOption) (*ListTagsResponse, error) - // Sets the access control policy for a resource. Replaces any existing - // policy. - // Supported resources are: - // - Tag templates. - // - Entries. - // - Entry groups. - // Note, this method cannot be used to manage policies for BigQuery, Cloud - // Pub/Sub and any external Google Cloud Platform resources synced to Cloud - // Data Catalog. - // - // Callers must have following Google IAM permission - // - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag - // templates. - // - `datacatalog.entries.setIamPolicy` to set policies on entries. - // - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups. - SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) - // Gets the access control policy for a resource. A `NOT_FOUND` error - // is returned if the resource does not exist. An empty policy is returned - // if the resource exists but does not have a policy set on it. - // - // Supported resources are: - // - Tag templates. - // - Entries. - // - Entry groups. - // Note, this method cannot be used to manage policies for BigQuery, Cloud - // Pub/Sub and any external Google Cloud Platform resources synced to Cloud - // Data Catalog. - // - // Callers must have following Google IAM permission - // - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag - // templates. - // - `datacatalog.entries.getIamPolicy` to get policies on entries. - // - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups. - GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) - // Returns the caller's permissions on a resource. - // If the resource does not exist, an empty set of permissions is returned - // (We don't return a `NOT_FOUND` error). - // - // Supported resources are: - // - Tag templates. - // - Entries. - // - Entry groups. - // Note, this method cannot be used to manage policies for BigQuery, Cloud - // Pub/Sub and any external Google Cloud Platform resources synced to Cloud - // Data Catalog. - // - // A caller is not required to have Google IAM permission to make this - // request. - TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) -} - -type dataCatalogClient struct { - cc *grpc.ClientConn -} - -func NewDataCatalogClient(cc *grpc.ClientConn) DataCatalogClient { - return &dataCatalogClient{cc} -} - -func (c *dataCatalogClient) SearchCatalog(ctx context.Context, in *SearchCatalogRequest, opts ...grpc.CallOption) (*SearchCatalogResponse, error) { - out := new(SearchCatalogResponse) - err := c.cc.Invoke(ctx, "/google.cloud.datacatalog.v1beta1.DataCatalog/SearchCatalog", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataCatalogClient) CreateEntryGroup(ctx context.Context, in *CreateEntryGroupRequest, opts ...grpc.CallOption) (*EntryGroup, error) { - out := new(EntryGroup) - err := c.cc.Invoke(ctx, "/google.cloud.datacatalog.v1beta1.DataCatalog/CreateEntryGroup", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataCatalogClient) GetEntryGroup(ctx context.Context, in *GetEntryGroupRequest, opts ...grpc.CallOption) (*EntryGroup, error) { - out := new(EntryGroup) - err := c.cc.Invoke(ctx, "/google.cloud.datacatalog.v1beta1.DataCatalog/GetEntryGroup", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataCatalogClient) DeleteEntryGroup(ctx context.Context, in *DeleteEntryGroupRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.datacatalog.v1beta1.DataCatalog/DeleteEntryGroup", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataCatalogClient) CreateEntry(ctx context.Context, in *CreateEntryRequest, opts ...grpc.CallOption) (*Entry, error) { - out := new(Entry) - err := c.cc.Invoke(ctx, "/google.cloud.datacatalog.v1beta1.DataCatalog/CreateEntry", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataCatalogClient) UpdateEntry(ctx context.Context, in *UpdateEntryRequest, opts ...grpc.CallOption) (*Entry, error) { - out := new(Entry) - err := c.cc.Invoke(ctx, "/google.cloud.datacatalog.v1beta1.DataCatalog/UpdateEntry", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataCatalogClient) DeleteEntry(ctx context.Context, in *DeleteEntryRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.datacatalog.v1beta1.DataCatalog/DeleteEntry", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataCatalogClient) GetEntry(ctx context.Context, in *GetEntryRequest, opts ...grpc.CallOption) (*Entry, error) { - out := new(Entry) - err := c.cc.Invoke(ctx, "/google.cloud.datacatalog.v1beta1.DataCatalog/GetEntry", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataCatalogClient) LookupEntry(ctx context.Context, in *LookupEntryRequest, opts ...grpc.CallOption) (*Entry, error) { - out := new(Entry) - err := c.cc.Invoke(ctx, "/google.cloud.datacatalog.v1beta1.DataCatalog/LookupEntry", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataCatalogClient) CreateTagTemplate(ctx context.Context, in *CreateTagTemplateRequest, opts ...grpc.CallOption) (*TagTemplate, error) { - out := new(TagTemplate) - err := c.cc.Invoke(ctx, "/google.cloud.datacatalog.v1beta1.DataCatalog/CreateTagTemplate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataCatalogClient) GetTagTemplate(ctx context.Context, in *GetTagTemplateRequest, opts ...grpc.CallOption) (*TagTemplate, error) { - out := new(TagTemplate) - err := c.cc.Invoke(ctx, "/google.cloud.datacatalog.v1beta1.DataCatalog/GetTagTemplate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataCatalogClient) UpdateTagTemplate(ctx context.Context, in *UpdateTagTemplateRequest, opts ...grpc.CallOption) (*TagTemplate, error) { - out := new(TagTemplate) - err := c.cc.Invoke(ctx, "/google.cloud.datacatalog.v1beta1.DataCatalog/UpdateTagTemplate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataCatalogClient) DeleteTagTemplate(ctx context.Context, in *DeleteTagTemplateRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.datacatalog.v1beta1.DataCatalog/DeleteTagTemplate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataCatalogClient) CreateTagTemplateField(ctx context.Context, in *CreateTagTemplateFieldRequest, opts ...grpc.CallOption) (*TagTemplateField, error) { - out := new(TagTemplateField) - err := c.cc.Invoke(ctx, "/google.cloud.datacatalog.v1beta1.DataCatalog/CreateTagTemplateField", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataCatalogClient) UpdateTagTemplateField(ctx context.Context, in *UpdateTagTemplateFieldRequest, opts ...grpc.CallOption) (*TagTemplateField, error) { - out := new(TagTemplateField) - err := c.cc.Invoke(ctx, "/google.cloud.datacatalog.v1beta1.DataCatalog/UpdateTagTemplateField", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataCatalogClient) RenameTagTemplateField(ctx context.Context, in *RenameTagTemplateFieldRequest, opts ...grpc.CallOption) (*TagTemplateField, error) { - out := new(TagTemplateField) - err := c.cc.Invoke(ctx, "/google.cloud.datacatalog.v1beta1.DataCatalog/RenameTagTemplateField", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataCatalogClient) DeleteTagTemplateField(ctx context.Context, in *DeleteTagTemplateFieldRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.datacatalog.v1beta1.DataCatalog/DeleteTagTemplateField", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataCatalogClient) CreateTag(ctx context.Context, in *CreateTagRequest, opts ...grpc.CallOption) (*Tag, error) { - out := new(Tag) - err := c.cc.Invoke(ctx, "/google.cloud.datacatalog.v1beta1.DataCatalog/CreateTag", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataCatalogClient) UpdateTag(ctx context.Context, in *UpdateTagRequest, opts ...grpc.CallOption) (*Tag, error) { - out := new(Tag) - err := c.cc.Invoke(ctx, "/google.cloud.datacatalog.v1beta1.DataCatalog/UpdateTag", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataCatalogClient) DeleteTag(ctx context.Context, in *DeleteTagRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.datacatalog.v1beta1.DataCatalog/DeleteTag", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataCatalogClient) ListTags(ctx context.Context, in *ListTagsRequest, opts ...grpc.CallOption) (*ListTagsResponse, error) { - out := new(ListTagsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.datacatalog.v1beta1.DataCatalog/ListTags", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataCatalogClient) SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { - out := new(v1.Policy) - err := c.cc.Invoke(ctx, "/google.cloud.datacatalog.v1beta1.DataCatalog/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataCatalogClient) GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { - out := new(v1.Policy) - err := c.cc.Invoke(ctx, "/google.cloud.datacatalog.v1beta1.DataCatalog/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataCatalogClient) TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) { - out := new(v1.TestIamPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.datacatalog.v1beta1.DataCatalog/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// DataCatalogServer is the server API for DataCatalog service. -type DataCatalogServer interface { - // Searches Data Catalog for multiple resources like entries, tags that - // match a query. - // - // This is a custom method - // (https://cloud.google.com/apis/design/custom_methods) and does not return - // the complete resource, only the resource identifier and high level - // fields. Clients can subsequentally call `Get` methods. - // - // Note that searches do not have full recall. There may be results that match - // your query but are not returned, even in subsequent pages of results. These - // missing results may vary across repeated calls to search. Do not rely on - // this method if you need to guarantee full recall. - // - // See [Data Catalog Search - // Syntax](/data-catalog/docs/how-to/search-reference) for more information. - SearchCatalog(context.Context, *SearchCatalogRequest) (*SearchCatalogResponse, error) - // Alpha feature. - // Creates an EntryGroup. - // The user should enable the Data Catalog API in the project identified by - // the `parent` parameter (see [Data Catalog Resource Project] - // (/data-catalog/docs/concepts/resource-project) for more information). - CreateEntryGroup(context.Context, *CreateEntryGroupRequest) (*EntryGroup, error) - // Alpha feature. - // Gets an EntryGroup. - GetEntryGroup(context.Context, *GetEntryGroupRequest) (*EntryGroup, error) - // Alpha feature. - // Deletes an EntryGroup. Only entry groups that do not contain entries can be - // deleted. The user should enable the Data Catalog API in the project - // identified by the `name` parameter (see [Data Catalog Resource Project] - // (/data-catalog/docs/concepts/resource-project) for more information). - DeleteEntryGroup(context.Context, *DeleteEntryGroupRequest) (*empty.Empty, error) - // Alpha feature. - // Creates an entry. Currently only entries of 'FILESET' type can be created. - // The user should enable the Data Catalog API in the project identified by - // the `parent` parameter (see [Data Catalog Resource Project] - // (/data-catalog/docs/concepts/resource-project) for more information). - CreateEntry(context.Context, *CreateEntryRequest) (*Entry, error) - // Updates an existing entry. - // The user should enable the Data Catalog API in the project identified by - // the `entry.name` parameter (see [Data Catalog Resource Project] - // (/data-catalog/docs/concepts/resource-project) for more information). - UpdateEntry(context.Context, *UpdateEntryRequest) (*Entry, error) - // Alpha feature. - // Deletes an existing entry. Only entries created through - // [CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry] - // method can be deleted. - // The user should enable the Data Catalog API in the project identified by - // the `name` parameter (see [Data Catalog Resource Project] - // (/data-catalog/docs/concepts/resource-project) for more information). - DeleteEntry(context.Context, *DeleteEntryRequest) (*empty.Empty, error) - // Gets an entry. - GetEntry(context.Context, *GetEntryRequest) (*Entry, error) - // Get an entry by target resource name. This method allows clients to use - // the resource name from the source Google Cloud Platform service to get the - // Data Catalog Entry. - LookupEntry(context.Context, *LookupEntryRequest) (*Entry, error) - // Creates a tag template. The user should enable the Data Catalog API in - // the project identified by the `parent` parameter (see [Data Catalog - // Resource Project](/data-catalog/docs/concepts/resource-project) for more - // information). - CreateTagTemplate(context.Context, *CreateTagTemplateRequest) (*TagTemplate, error) - // Gets a tag template. - GetTagTemplate(context.Context, *GetTagTemplateRequest) (*TagTemplate, error) - // Updates a tag template. This method cannot be used to update the fields of - // a template. The tag template fields are represented as separate resources - // and should be updated using their own create/update/delete methods. - // The user should enable the Data Catalog API in the project identified by - // the `tag_template.name` parameter (see [Data Catalog Resource Project] - // (/data-catalog/docs/concepts/resource-project) for more information). - UpdateTagTemplate(context.Context, *UpdateTagTemplateRequest) (*TagTemplate, error) - // Deletes a tag template and all tags using the template. - // The user should enable the Data Catalog API in the project identified by - // the `name` parameter (see [Data Catalog Resource Project] - // (/data-catalog/docs/concepts/resource-project) for more information). - DeleteTagTemplate(context.Context, *DeleteTagTemplateRequest) (*empty.Empty, error) - // Creates a field in a tag template. The user should enable the Data Catalog - // API in the project identified by the `parent` parameter (see - // [Data Catalog Resource - // Project](/data-catalog/docs/concepts/resource-project) for more - // information). - CreateTagTemplateField(context.Context, *CreateTagTemplateFieldRequest) (*TagTemplateField, error) - // Updates a field in a tag template. This method cannot be used to update the - // field type. The user should enable the Data Catalog API in the project - // identified by the `name` parameter (see [Data Catalog Resource Project] - // (/data-catalog/docs/concepts/resource-project) for more information). - UpdateTagTemplateField(context.Context, *UpdateTagTemplateFieldRequest) (*TagTemplateField, error) - // Renames a field in a tag template. The user should enable the Data Catalog - // API in the project identified by the `name` parameter (see [Data Catalog - // Resource Project](/data-catalog/docs/concepts/resource-project) for more - // information). - RenameTagTemplateField(context.Context, *RenameTagTemplateFieldRequest) (*TagTemplateField, error) - // Deletes a field in a tag template and all uses of that field. - // The user should enable the Data Catalog API in the project identified by - // the `name` parameter (see [Data Catalog Resource Project] - // (/data-catalog/docs/concepts/resource-project) for more information). - DeleteTagTemplateField(context.Context, *DeleteTagTemplateFieldRequest) (*empty.Empty, error) - // Creates a tag on an [Entry][google.cloud.datacatalog.v1beta1.Entry]. - // Note: The project identified by the `parent` parameter for the - // [tag](/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters) - // and the - // [tag - // template](/data-catalog/docs/reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters) - // used to create the tag must be from the same organization. - CreateTag(context.Context, *CreateTagRequest) (*Tag, error) - // Updates an existing tag. - UpdateTag(context.Context, *UpdateTagRequest) (*Tag, error) - // Deletes a tag. - DeleteTag(context.Context, *DeleteTagRequest) (*empty.Empty, error) - // Lists the tags on an [Entry][google.cloud.datacatalog.v1beta1.Entry]. - ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error) - // Sets the access control policy for a resource. Replaces any existing - // policy. - // Supported resources are: - // - Tag templates. - // - Entries. - // - Entry groups. - // Note, this method cannot be used to manage policies for BigQuery, Cloud - // Pub/Sub and any external Google Cloud Platform resources synced to Cloud - // Data Catalog. - // - // Callers must have following Google IAM permission - // - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag - // templates. - // - `datacatalog.entries.setIamPolicy` to set policies on entries. - // - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups. - SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error) - // Gets the access control policy for a resource. A `NOT_FOUND` error - // is returned if the resource does not exist. An empty policy is returned - // if the resource exists but does not have a policy set on it. - // - // Supported resources are: - // - Tag templates. - // - Entries. - // - Entry groups. - // Note, this method cannot be used to manage policies for BigQuery, Cloud - // Pub/Sub and any external Google Cloud Platform resources synced to Cloud - // Data Catalog. - // - // Callers must have following Google IAM permission - // - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag - // templates. - // - `datacatalog.entries.getIamPolicy` to get policies on entries. - // - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups. - GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error) - // Returns the caller's permissions on a resource. - // If the resource does not exist, an empty set of permissions is returned - // (We don't return a `NOT_FOUND` error). - // - // Supported resources are: - // - Tag templates. - // - Entries. - // - Entry groups. - // Note, this method cannot be used to manage policies for BigQuery, Cloud - // Pub/Sub and any external Google Cloud Platform resources synced to Cloud - // Data Catalog. - // - // A caller is not required to have Google IAM permission to make this - // request. - TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) -} - -// UnimplementedDataCatalogServer can be embedded to have forward compatible implementations. -type UnimplementedDataCatalogServer struct { -} - -func (*UnimplementedDataCatalogServer) SearchCatalog(ctx context.Context, req *SearchCatalogRequest) (*SearchCatalogResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchCatalog not implemented") -} -func (*UnimplementedDataCatalogServer) CreateEntryGroup(ctx context.Context, req *CreateEntryGroupRequest) (*EntryGroup, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateEntryGroup not implemented") -} -func (*UnimplementedDataCatalogServer) GetEntryGroup(ctx context.Context, req *GetEntryGroupRequest) (*EntryGroup, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetEntryGroup not implemented") -} -func (*UnimplementedDataCatalogServer) DeleteEntryGroup(ctx context.Context, req *DeleteEntryGroupRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteEntryGroup not implemented") -} -func (*UnimplementedDataCatalogServer) CreateEntry(ctx context.Context, req *CreateEntryRequest) (*Entry, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateEntry not implemented") -} -func (*UnimplementedDataCatalogServer) UpdateEntry(ctx context.Context, req *UpdateEntryRequest) (*Entry, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateEntry not implemented") -} -func (*UnimplementedDataCatalogServer) DeleteEntry(ctx context.Context, req *DeleteEntryRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteEntry not implemented") -} -func (*UnimplementedDataCatalogServer) GetEntry(ctx context.Context, req *GetEntryRequest) (*Entry, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetEntry not implemented") -} -func (*UnimplementedDataCatalogServer) LookupEntry(ctx context.Context, req *LookupEntryRequest) (*Entry, error) { - return nil, status.Errorf(codes.Unimplemented, "method LookupEntry not implemented") -} -func (*UnimplementedDataCatalogServer) CreateTagTemplate(ctx context.Context, req *CreateTagTemplateRequest) (*TagTemplate, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateTagTemplate not implemented") -} -func (*UnimplementedDataCatalogServer) GetTagTemplate(ctx context.Context, req *GetTagTemplateRequest) (*TagTemplate, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTagTemplate not implemented") -} -func (*UnimplementedDataCatalogServer) UpdateTagTemplate(ctx context.Context, req *UpdateTagTemplateRequest) (*TagTemplate, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateTagTemplate not implemented") -} -func (*UnimplementedDataCatalogServer) DeleteTagTemplate(ctx context.Context, req *DeleteTagTemplateRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteTagTemplate not implemented") -} -func (*UnimplementedDataCatalogServer) CreateTagTemplateField(ctx context.Context, req *CreateTagTemplateFieldRequest) (*TagTemplateField, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateTagTemplateField not implemented") -} -func (*UnimplementedDataCatalogServer) UpdateTagTemplateField(ctx context.Context, req *UpdateTagTemplateFieldRequest) (*TagTemplateField, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateTagTemplateField not implemented") -} -func (*UnimplementedDataCatalogServer) RenameTagTemplateField(ctx context.Context, req *RenameTagTemplateFieldRequest) (*TagTemplateField, error) { - return nil, status.Errorf(codes.Unimplemented, "method RenameTagTemplateField not implemented") -} -func (*UnimplementedDataCatalogServer) DeleteTagTemplateField(ctx context.Context, req *DeleteTagTemplateFieldRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteTagTemplateField not implemented") -} -func (*UnimplementedDataCatalogServer) CreateTag(ctx context.Context, req *CreateTagRequest) (*Tag, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateTag not implemented") -} -func (*UnimplementedDataCatalogServer) UpdateTag(ctx context.Context, req *UpdateTagRequest) (*Tag, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateTag not implemented") -} -func (*UnimplementedDataCatalogServer) DeleteTag(ctx context.Context, req *DeleteTagRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteTag not implemented") -} -func (*UnimplementedDataCatalogServer) ListTags(ctx context.Context, req *ListTagsRequest) (*ListTagsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListTags not implemented") -} -func (*UnimplementedDataCatalogServer) SetIamPolicy(ctx context.Context, req *v1.SetIamPolicyRequest) (*v1.Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedDataCatalogServer) GetIamPolicy(ctx context.Context, req *v1.GetIamPolicyRequest) (*v1.Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedDataCatalogServer) TestIamPermissions(ctx context.Context, req *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} - -func RegisterDataCatalogServer(s *grpc.Server, srv DataCatalogServer) { - s.RegisterService(&_DataCatalog_serviceDesc, srv) -} - -func _DataCatalog_SearchCatalog_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchCatalogRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataCatalogServer).SearchCatalog(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datacatalog.v1beta1.DataCatalog/SearchCatalog", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCatalogServer).SearchCatalog(ctx, req.(*SearchCatalogRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataCatalog_CreateEntryGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateEntryGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataCatalogServer).CreateEntryGroup(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datacatalog.v1beta1.DataCatalog/CreateEntryGroup", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCatalogServer).CreateEntryGroup(ctx, req.(*CreateEntryGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataCatalog_GetEntryGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetEntryGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataCatalogServer).GetEntryGroup(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datacatalog.v1beta1.DataCatalog/GetEntryGroup", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCatalogServer).GetEntryGroup(ctx, req.(*GetEntryGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataCatalog_DeleteEntryGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteEntryGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataCatalogServer).DeleteEntryGroup(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datacatalog.v1beta1.DataCatalog/DeleteEntryGroup", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCatalogServer).DeleteEntryGroup(ctx, req.(*DeleteEntryGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataCatalog_CreateEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateEntryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataCatalogServer).CreateEntry(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datacatalog.v1beta1.DataCatalog/CreateEntry", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCatalogServer).CreateEntry(ctx, req.(*CreateEntryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataCatalog_UpdateEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateEntryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataCatalogServer).UpdateEntry(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datacatalog.v1beta1.DataCatalog/UpdateEntry", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCatalogServer).UpdateEntry(ctx, req.(*UpdateEntryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataCatalog_DeleteEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteEntryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataCatalogServer).DeleteEntry(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datacatalog.v1beta1.DataCatalog/DeleteEntry", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCatalogServer).DeleteEntry(ctx, req.(*DeleteEntryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataCatalog_GetEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetEntryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataCatalogServer).GetEntry(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datacatalog.v1beta1.DataCatalog/GetEntry", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCatalogServer).GetEntry(ctx, req.(*GetEntryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataCatalog_LookupEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(LookupEntryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataCatalogServer).LookupEntry(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datacatalog.v1beta1.DataCatalog/LookupEntry", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCatalogServer).LookupEntry(ctx, req.(*LookupEntryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataCatalog_CreateTagTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateTagTemplateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataCatalogServer).CreateTagTemplate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datacatalog.v1beta1.DataCatalog/CreateTagTemplate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCatalogServer).CreateTagTemplate(ctx, req.(*CreateTagTemplateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataCatalog_GetTagTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTagTemplateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataCatalogServer).GetTagTemplate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datacatalog.v1beta1.DataCatalog/GetTagTemplate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCatalogServer).GetTagTemplate(ctx, req.(*GetTagTemplateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataCatalog_UpdateTagTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateTagTemplateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataCatalogServer).UpdateTagTemplate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datacatalog.v1beta1.DataCatalog/UpdateTagTemplate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCatalogServer).UpdateTagTemplate(ctx, req.(*UpdateTagTemplateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataCatalog_DeleteTagTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteTagTemplateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataCatalogServer).DeleteTagTemplate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datacatalog.v1beta1.DataCatalog/DeleteTagTemplate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCatalogServer).DeleteTagTemplate(ctx, req.(*DeleteTagTemplateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataCatalog_CreateTagTemplateField_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateTagTemplateFieldRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataCatalogServer).CreateTagTemplateField(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datacatalog.v1beta1.DataCatalog/CreateTagTemplateField", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCatalogServer).CreateTagTemplateField(ctx, req.(*CreateTagTemplateFieldRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataCatalog_UpdateTagTemplateField_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateTagTemplateFieldRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataCatalogServer).UpdateTagTemplateField(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datacatalog.v1beta1.DataCatalog/UpdateTagTemplateField", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCatalogServer).UpdateTagTemplateField(ctx, req.(*UpdateTagTemplateFieldRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataCatalog_RenameTagTemplateField_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RenameTagTemplateFieldRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataCatalogServer).RenameTagTemplateField(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datacatalog.v1beta1.DataCatalog/RenameTagTemplateField", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCatalogServer).RenameTagTemplateField(ctx, req.(*RenameTagTemplateFieldRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataCatalog_DeleteTagTemplateField_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteTagTemplateFieldRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataCatalogServer).DeleteTagTemplateField(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datacatalog.v1beta1.DataCatalog/DeleteTagTemplateField", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCatalogServer).DeleteTagTemplateField(ctx, req.(*DeleteTagTemplateFieldRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataCatalog_CreateTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateTagRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataCatalogServer).CreateTag(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datacatalog.v1beta1.DataCatalog/CreateTag", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCatalogServer).CreateTag(ctx, req.(*CreateTagRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataCatalog_UpdateTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateTagRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataCatalogServer).UpdateTag(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datacatalog.v1beta1.DataCatalog/UpdateTag", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCatalogServer).UpdateTag(ctx, req.(*UpdateTagRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataCatalog_DeleteTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteTagRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataCatalogServer).DeleteTag(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datacatalog.v1beta1.DataCatalog/DeleteTag", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCatalogServer).DeleteTag(ctx, req.(*DeleteTagRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataCatalog_ListTags_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListTagsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataCatalogServer).ListTags(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datacatalog.v1beta1.DataCatalog/ListTags", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCatalogServer).ListTags(ctx, req.(*ListTagsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataCatalog_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.(DataCatalogServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datacatalog.v1beta1.DataCatalog/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCatalogServer).SetIamPolicy(ctx, req.(*v1.SetIamPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataCatalog_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.(DataCatalogServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datacatalog.v1beta1.DataCatalog/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCatalogServer).GetIamPolicy(ctx, req.(*v1.GetIamPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataCatalog_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.(DataCatalogServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datacatalog.v1beta1.DataCatalog/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCatalogServer).TestIamPermissions(ctx, req.(*v1.TestIamPermissionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _DataCatalog_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.datacatalog.v1beta1.DataCatalog", - HandlerType: (*DataCatalogServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "SearchCatalog", - Handler: _DataCatalog_SearchCatalog_Handler, - }, - { - MethodName: "CreateEntryGroup", - Handler: _DataCatalog_CreateEntryGroup_Handler, - }, - { - MethodName: "GetEntryGroup", - Handler: _DataCatalog_GetEntryGroup_Handler, - }, - { - MethodName: "DeleteEntryGroup", - Handler: _DataCatalog_DeleteEntryGroup_Handler, - }, - { - MethodName: "CreateEntry", - Handler: _DataCatalog_CreateEntry_Handler, - }, - { - MethodName: "UpdateEntry", - Handler: _DataCatalog_UpdateEntry_Handler, - }, - { - MethodName: "DeleteEntry", - Handler: _DataCatalog_DeleteEntry_Handler, - }, - { - MethodName: "GetEntry", - Handler: _DataCatalog_GetEntry_Handler, - }, - { - MethodName: "LookupEntry", - Handler: _DataCatalog_LookupEntry_Handler, - }, - { - MethodName: "CreateTagTemplate", - Handler: _DataCatalog_CreateTagTemplate_Handler, - }, - { - MethodName: "GetTagTemplate", - Handler: _DataCatalog_GetTagTemplate_Handler, - }, - { - MethodName: "UpdateTagTemplate", - Handler: _DataCatalog_UpdateTagTemplate_Handler, - }, - { - MethodName: "DeleteTagTemplate", - Handler: _DataCatalog_DeleteTagTemplate_Handler, - }, - { - MethodName: "CreateTagTemplateField", - Handler: _DataCatalog_CreateTagTemplateField_Handler, - }, - { - MethodName: "UpdateTagTemplateField", - Handler: _DataCatalog_UpdateTagTemplateField_Handler, - }, - { - MethodName: "RenameTagTemplateField", - Handler: _DataCatalog_RenameTagTemplateField_Handler, - }, - { - MethodName: "DeleteTagTemplateField", - Handler: _DataCatalog_DeleteTagTemplateField_Handler, - }, - { - MethodName: "CreateTag", - Handler: _DataCatalog_CreateTag_Handler, - }, - { - MethodName: "UpdateTag", - Handler: _DataCatalog_UpdateTag_Handler, - }, - { - MethodName: "DeleteTag", - Handler: _DataCatalog_DeleteTag_Handler, - }, - { - MethodName: "ListTags", - Handler: _DataCatalog_ListTags_Handler, - }, - { - MethodName: "SetIamPolicy", - Handler: _DataCatalog_SetIamPolicy_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _DataCatalog_GetIamPolicy_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _DataCatalog_TestIamPermissions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/datacatalog/v1beta1/datacatalog.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1/gcs_fileset_spec.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1/gcs_fileset_spec.pb.go deleted file mode 100644 index a68e4124..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1/gcs_fileset_spec.pb.go +++ /dev/null @@ -1,177 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto - -package datacatalog - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Describes a Cloud Storage fileset entry. -type GcsFilesetSpec struct { - // Required. Patterns to identify a set of files in Google Cloud Storage. - // - // Examples of valid file_patterns: - // - // * `gs://bucket_name/*`: matches all files in `bucket_name` - // * `gs://bucket_name/file*`: matches files prefixed by `file` in - // `bucket_name` - // * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match - // `a/*/b` pattern, such as `a/c/b`, `a/d/b` - // * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt` - FilePatterns []string `protobuf:"bytes,1,rep,name=file_patterns,json=filePatterns,proto3" json:"file_patterns,omitempty"` - // Output only. Sample files contained in this fileset, not all files contained in this - // fileset are represented here. - SampleGcsFileSpecs []*GcsFileSpec `protobuf:"bytes,2,rep,name=sample_gcs_file_specs,json=sampleGcsFileSpecs,proto3" json:"sample_gcs_file_specs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GcsFilesetSpec) Reset() { *m = GcsFilesetSpec{} } -func (m *GcsFilesetSpec) String() string { return proto.CompactTextString(m) } -func (*GcsFilesetSpec) ProtoMessage() {} -func (*GcsFilesetSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_4d6379beb7306c38, []int{0} -} - -func (m *GcsFilesetSpec) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GcsFilesetSpec.Unmarshal(m, b) -} -func (m *GcsFilesetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GcsFilesetSpec.Marshal(b, m, deterministic) -} -func (m *GcsFilesetSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcsFilesetSpec.Merge(m, src) -} -func (m *GcsFilesetSpec) XXX_Size() int { - return xxx_messageInfo_GcsFilesetSpec.Size(m) -} -func (m *GcsFilesetSpec) XXX_DiscardUnknown() { - xxx_messageInfo_GcsFilesetSpec.DiscardUnknown(m) -} - -var xxx_messageInfo_GcsFilesetSpec proto.InternalMessageInfo - -func (m *GcsFilesetSpec) GetFilePatterns() []string { - if m != nil { - return m.FilePatterns - } - return nil -} - -func (m *GcsFilesetSpec) GetSampleGcsFileSpecs() []*GcsFileSpec { - if m != nil { - return m.SampleGcsFileSpecs - } - return nil -} - -// Specifications of a single file in GCS. -type GcsFileSpec struct { - // Required. The full file path. Example: `gs://bucket_name/a/b.txt`. - FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` - // Output only. Timestamps about the GCS file. - GcsTimestamps *SystemTimestamps `protobuf:"bytes,2,opt,name=gcs_timestamps,json=gcsTimestamps,proto3" json:"gcs_timestamps,omitempty"` - // Output only. The size of the file, in bytes. - SizeBytes int64 `protobuf:"varint,4,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GcsFileSpec) Reset() { *m = GcsFileSpec{} } -func (m *GcsFileSpec) String() string { return proto.CompactTextString(m) } -func (*GcsFileSpec) ProtoMessage() {} -func (*GcsFileSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_4d6379beb7306c38, []int{1} -} - -func (m *GcsFileSpec) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GcsFileSpec.Unmarshal(m, b) -} -func (m *GcsFileSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GcsFileSpec.Marshal(b, m, deterministic) -} -func (m *GcsFileSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcsFileSpec.Merge(m, src) -} -func (m *GcsFileSpec) XXX_Size() int { - return xxx_messageInfo_GcsFileSpec.Size(m) -} -func (m *GcsFileSpec) XXX_DiscardUnknown() { - xxx_messageInfo_GcsFileSpec.DiscardUnknown(m) -} - -var xxx_messageInfo_GcsFileSpec proto.InternalMessageInfo - -func (m *GcsFileSpec) GetFilePath() string { - if m != nil { - return m.FilePath - } - return "" -} - -func (m *GcsFileSpec) GetGcsTimestamps() *SystemTimestamps { - if m != nil { - return m.GcsTimestamps - } - return nil -} - -func (m *GcsFileSpec) GetSizeBytes() int64 { - if m != nil { - return m.SizeBytes - } - return 0 -} - -func init() { - proto.RegisterType((*GcsFilesetSpec)(nil), "google.cloud.datacatalog.v1beta1.GcsFilesetSpec") - proto.RegisterType((*GcsFileSpec)(nil), "google.cloud.datacatalog.v1beta1.GcsFileSpec") -} - -func init() { - proto.RegisterFile("google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto", fileDescriptor_4d6379beb7306c38) -} - -var fileDescriptor_4d6379beb7306c38 = []byte{ - // 344 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xb1, 0x4e, 0xc3, 0x30, - 0x18, 0x84, 0xe5, 0x06, 0x21, 0xea, 0xd2, 0x0e, 0x91, 0x90, 0xa2, 0x0a, 0x89, 0xa8, 0x53, 0x16, - 0x12, 0xb5, 0x0c, 0x0c, 0x4c, 0x74, 0x80, 0x81, 0xa5, 0x6a, 0x99, 0x18, 0x88, 0x1c, 0xf7, 0xaf, - 0x6b, 0xc9, 0xa9, 0xad, 0xfc, 0xa6, 0x52, 0x79, 0x1b, 0x9e, 0x81, 0x17, 0xe2, 0x31, 0x18, 0x91, - 0xe3, 0x94, 0x66, 0xa9, 0xba, 0xde, 0xf9, 0xfe, 0xfb, 0x4e, 0xa6, 0xf7, 0x42, 0x6b, 0xa1, 0x20, - 0xe3, 0x4a, 0x7f, 0x2c, 0xb3, 0x25, 0xb3, 0x8c, 0x33, 0xcb, 0x94, 0x16, 0xd9, 0x76, 0x5c, 0x80, - 0x65, 0xe3, 0x4c, 0x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49, 0x02, 0xff, 0xae, 0xeb, 0xe4, - 0xa9, 0x53, 0xa7, 0x86, 0x5e, 0x73, 0x5d, 0x1e, 0x2d, 0x9c, 0x91, 0xb7, 0x97, 0xc6, 0x13, 0x5a, - 0xb1, 0x8d, 0x48, 0x75, 0x25, 0x32, 0x01, 0x9b, 0xfa, 0x5f, 0x32, 0x6f, 0x31, 0x23, 0xf1, 0xf8, - 0x6f, 0x3e, 0xb4, 0xb4, 0x5f, 0x42, 0x8a, 0xf3, 0x3a, 0x7a, 0xf7, 0x17, 0x00, 0x00, 0xff, 0xff, - 0xee, 0xb5, 0x12, 0xd0, 0x83, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1/schema.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1/schema.pb.go deleted file mode 100644 index 96ad7df7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1/schema.pb.go +++ /dev/null @@ -1,177 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/datacatalog/v1beta1/schema.proto - -package datacatalog - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Represents a schema (e.g. BigQuery, GoogleSQL, Avro schema). -type Schema struct { - // Required. Schema of columns. A maximum of 10,000 columns and sub-columns - // can be specified. - Columns []*ColumnSchema `protobuf:"bytes,2,rep,name=columns,proto3" json:"columns,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_834760e0ed3be1cb, []int{0} -} - -func (m *Schema) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Schema.Unmarshal(m, b) -} -func (m *Schema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Schema.Marshal(b, m, deterministic) -} -func (m *Schema) XXX_Merge(src proto.Message) { - xxx_messageInfo_Schema.Merge(m, src) -} -func (m *Schema) XXX_Size() int { - return xxx_messageInfo_Schema.Size(m) -} -func (m *Schema) XXX_DiscardUnknown() { - xxx_messageInfo_Schema.DiscardUnknown(m) -} - -var xxx_messageInfo_Schema proto.InternalMessageInfo - -func (m *Schema) GetColumns() []*ColumnSchema { - if m != nil { - return m.Columns - } - return nil -} - -// Representation of a column within a schema. Columns could be nested inside -// other columns. -type ColumnSchema struct { - // Required. Name of the column. - Column string `protobuf:"bytes,6,opt,name=column,proto3" json:"column,omitempty"` - // Required. Type of the column. - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - // Optional. Description of the column. Default value is an empty string. - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - // Optional. A column's mode indicates whether the values in this column are - // required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are - // supported. Default mode is `NULLABLE`. - Mode string `protobuf:"bytes,3,opt,name=mode,proto3" json:"mode,omitempty"` - // Optional. Schema of sub-columns. A column can have zero or more - // sub-columns. - Subcolumns []*ColumnSchema `protobuf:"bytes,7,rep,name=subcolumns,proto3" json:"subcolumns,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ColumnSchema) Reset() { *m = ColumnSchema{} } -func (m *ColumnSchema) String() string { return proto.CompactTextString(m) } -func (*ColumnSchema) ProtoMessage() {} -func (*ColumnSchema) Descriptor() ([]byte, []int) { - return fileDescriptor_834760e0ed3be1cb, []int{1} -} - -func (m *ColumnSchema) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ColumnSchema.Unmarshal(m, b) -} -func (m *ColumnSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ColumnSchema.Marshal(b, m, deterministic) -} -func (m *ColumnSchema) XXX_Merge(src proto.Message) { - xxx_messageInfo_ColumnSchema.Merge(m, src) -} -func (m *ColumnSchema) XXX_Size() int { - return xxx_messageInfo_ColumnSchema.Size(m) -} -func (m *ColumnSchema) XXX_DiscardUnknown() { - xxx_messageInfo_ColumnSchema.DiscardUnknown(m) -} - -var xxx_messageInfo_ColumnSchema proto.InternalMessageInfo - -func (m *ColumnSchema) GetColumn() string { - if m != nil { - return m.Column - } - return "" -} - -func (m *ColumnSchema) GetType() string { - if m != nil { - return m.Type - } - return "" -} - -func (m *ColumnSchema) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *ColumnSchema) GetMode() string { - if m != nil { - return m.Mode - } - return "" -} - -func (m *ColumnSchema) GetSubcolumns() []*ColumnSchema { - if m != nil { - return m.Subcolumns - } - return nil -} - -func init() { - proto.RegisterType((*Schema)(nil), "google.cloud.datacatalog.v1beta1.Schema") - proto.RegisterType((*ColumnSchema)(nil), "google.cloud.datacatalog.v1beta1.ColumnSchema") -} - -func init() { - proto.RegisterFile("google/cloud/datacatalog/v1beta1/schema.proto", fileDescriptor_834760e0ed3be1cb) -} - -var fileDescriptor_834760e0ed3be1cb = []byte{ - // 283 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x91, 0x41, 0x4b, 0xf4, 0x30, - 0x10, 0x86, 0x49, 0xbb, 0x74, 0xf9, 0x66, 0xbf, 0x53, 0x2e, 0x16, 0x15, 0x2c, 0x7b, 0xda, 0x8b,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, 0x03, 0x0a, 0x6f, 0x7a, 0x0f, 0xd0, 0x0f, 0xd5, 0x7e, 0x9d, - 0xf9, 0x5f, 0xd6, 0x29, 0x27, 0x86, 0x8d, 0x83, 0x53, 0x89, 0xcd, 0x41, 0xc1, 0x03, 0x79, 0xbe, - 0x1d, 0x99, 0x46, 0x2b, 0x5a, 0xcd, 0xb0, 0xd3, 0x5c, 0xab, 0x36, 0xfc, 0x31, 0x8f, 0x48, 0x38, - 0xd3, 0x1f, 0x3e, 0xec, 0xd5, 0x24, 0xfb, 0x24, 0xa4, 0xca, 0xc2, 0xe8, 0xe5, 0x57, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x60, 0x88, 0x41, 0x3f, 0x12, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1/search.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1/search.pb.go deleted file mode 100644 index ad935d52..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1/search.pb.go +++ /dev/null @@ -1,176 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/datacatalog/v1beta1/search.proto - -package datacatalog - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The different types of resources that can be returned in search. -type SearchResultType int32 - -const ( - // Default unknown type. - SearchResultType_SEARCH_RESULT_TYPE_UNSPECIFIED SearchResultType = 0 - // An [Entry][google.cloud.datacatalog.v1beta1.Entry]. - SearchResultType_ENTRY SearchResultType = 1 - // A [TagTemplate][google.cloud.datacatalog.v1beta1.TagTemplate]. - SearchResultType_TAG_TEMPLATE SearchResultType = 2 - // An [EntryGroup][google.cloud.datacatalog.v1beta1.EntryGroup]. - SearchResultType_ENTRY_GROUP SearchResultType = 3 -) - -var SearchResultType_name = map[int32]string{ - 0: "SEARCH_RESULT_TYPE_UNSPECIFIED", - 1: "ENTRY", - 2: "TAG_TEMPLATE", - 3: "ENTRY_GROUP", -} - -var SearchResultType_value = map[string]int32{ - "SEARCH_RESULT_TYPE_UNSPECIFIED": 0, - "ENTRY": 1, - "TAG_TEMPLATE": 2, - "ENTRY_GROUP": 3, -} - -func (x SearchResultType) String() string { - return proto.EnumName(SearchResultType_name, int32(x)) -} - -func (SearchResultType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_075a004a2049c613, []int{0} -} - -// A result that appears in the response of a search request. Each result -// captures details of one entry that matches the search. -type SearchCatalogResult struct { - // Type of the search result. This field can be used to determine which Get - // method to call to fetch the full resource. - SearchResultType SearchResultType `protobuf:"varint,1,opt,name=search_result_type,json=searchResultType,proto3,enum=google.cloud.datacatalog.v1beta1.SearchResultType" json:"search_result_type,omitempty"` - // Sub-type of the search result. This is a dot-delimited description of the - // resource's full type, and is the same as the value callers would provide in - // the "type" search facet. Examples: `entry.table`, `entry.dataStream`, - // `tagTemplate`. - SearchResultSubtype string `protobuf:"bytes,2,opt,name=search_result_subtype,json=searchResultSubtype,proto3" json:"search_result_subtype,omitempty"` - // The relative resource name of the resource in URL format. - // Examples: - // - // * `projects/{project_id}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}` - // * `projects/{project_id}/tagTemplates/{tag_template_id}` - RelativeResourceName string `protobuf:"bytes,3,opt,name=relative_resource_name,json=relativeResourceName,proto3" json:"relative_resource_name,omitempty"` - // The full name of the cloud resource the entry belongs to. See: - // https://cloud.google.com/apis/design/resource_names#full_resource_name. - // Example: - // - // * `//bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId` - LinkedResource string `protobuf:"bytes,4,opt,name=linked_resource,json=linkedResource,proto3" json:"linked_resource,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SearchCatalogResult) Reset() { *m = SearchCatalogResult{} } -func (m *SearchCatalogResult) String() string { return proto.CompactTextString(m) } -func (*SearchCatalogResult) ProtoMessage() {} -func (*SearchCatalogResult) Descriptor() ([]byte, []int) { - return fileDescriptor_075a004a2049c613, []int{0} -} - -func (m *SearchCatalogResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchCatalogResult.Unmarshal(m, b) -} -func (m *SearchCatalogResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchCatalogResult.Marshal(b, m, deterministic) -} -func (m *SearchCatalogResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchCatalogResult.Merge(m, src) -} -func (m *SearchCatalogResult) XXX_Size() int { - return xxx_messageInfo_SearchCatalogResult.Size(m) -} -func (m *SearchCatalogResult) XXX_DiscardUnknown() { - xxx_messageInfo_SearchCatalogResult.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchCatalogResult proto.InternalMessageInfo - -func (m *SearchCatalogResult) GetSearchResultType() SearchResultType { - if m != nil { - return m.SearchResultType - } - return SearchResultType_SEARCH_RESULT_TYPE_UNSPECIFIED -} - -func (m *SearchCatalogResult) GetSearchResultSubtype() string { - if m != nil { - return m.SearchResultSubtype - } - return "" -} - -func (m *SearchCatalogResult) GetRelativeResourceName() string { - if m != nil { - return m.RelativeResourceName - } - return "" -} - -func (m *SearchCatalogResult) GetLinkedResource() string { - if m != nil { - return m.LinkedResource - } - return "" -} - -func init() { - proto.RegisterEnum("google.cloud.datacatalog.v1beta1.SearchResultType", SearchResultType_name, SearchResultType_value) - proto.RegisterType((*SearchCatalogResult)(nil), "google.cloud.datacatalog.v1beta1.SearchCatalogResult") -} - -func init() { - proto.RegisterFile("google/cloud/datacatalog/v1beta1/search.proto", fileDescriptor_075a004a2049c613) -} - -var fileDescriptor_075a004a2049c613 = []byte{ - // 364 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xc1, 0x4f, 0xf2, 0x30, - 0x00, 0xc5, 0xbf, 0xc1, 0xf7, 0x7d, 0x09, 0xd5, 0xc0, 0x52, 0xd4, 0x10, 0x63, 0x94, 0x70, 0x91, - 0x98, 0xb8, 0x05, 0xf4, 0xe6, 0x09, 0xb1, 0x22, 0x11, 0x71, 0xe9, 0xc6, 0x01, 0x2f, 0xb5, 0xdb, - 0xea, 0x5c, 0xdc, 0xd6, 0x65, 0xeb, 0x48, 0xf8, 0x17, 0xfc, 0x8b, 0x3d, 0x1a, 0xdb, 0x61, 0x90, - 0x84, 0x78, 0x7d, 0xef, 0xf7, 0xde, 0x6b, 0xda, 0x82, 0xf3, 0x80, 0xf3, 0x20, 0x62, 0xa6, 0x17, - 0xf1, 0xc2, 0x37, 0x7d, 0x2a, 0xa8, 0x47, 0x05, 0x8d, 0x78, 0x60, 0x2e, 0x7a, 0x2e, 0x13, 0xb4, - 0x67, 0xe6, 0x8c, 0x66, 0xde, 0xab, 0x91, 0x66, 0x5c, 0x70, 0xd8, 0x56, 0xb8, 0x21, 0x71, 0x63, - 0x0d, 0x37, 0x4a, 0xfc, 0xf0, 0xa4, 0x2c, 0x94, 0xbc, 0x5b, 0xbc, 0x98, 0x22, 0x8c, 0x59, 0x2e, - 0x68, 0x9c, 0xaa, 0x8a, 0xce, 0x7b, 0x05, 0x34, 0x6d, 0xd9, 0x39, 0x54, 0x51, 0xcc, 0xf2, 0x22, - 0x12, 0xf0, 0x19, 0x40, 0x35, 0x45, 0x32, 0x29, 0x10, 0xb1, 0x4c, 0x59, 0x4b, 0x6b, 0x6b, 0xdd, - 0x7a, 0xbf, 0x6f, 0xfc, 0xb6, 0x6b, 0xa8, 0x4a, 0xd5, 0xe5, 0x2c, 0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0xff, 0xff, 0xaa, 0xbf, 0x92, 0x1a, 0x5f, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1/table_spec.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1/table_spec.pb.go deleted file mode 100644 index 8d56af2e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1/table_spec.pb.go +++ /dev/null @@ -1,346 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/datacatalog/v1beta1/table_spec.proto - -package datacatalog - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Table source type. -type TableSourceType int32 - -const ( - // Default unknown type. - TableSourceType_TABLE_SOURCE_TYPE_UNSPECIFIED TableSourceType = 0 - // Table view. - TableSourceType_BIGQUERY_VIEW TableSourceType = 2 - // BigQuery native table. - TableSourceType_BIGQUERY_TABLE TableSourceType = 5 -) - -var TableSourceType_name = map[int32]string{ - 0: "TABLE_SOURCE_TYPE_UNSPECIFIED", - 2: "BIGQUERY_VIEW", - 5: "BIGQUERY_TABLE", -} - -var TableSourceType_value = map[string]int32{ - "TABLE_SOURCE_TYPE_UNSPECIFIED": 0, - "BIGQUERY_VIEW": 2, - "BIGQUERY_TABLE": 5, -} - -func (x TableSourceType) String() string { - return proto.EnumName(TableSourceType_name, int32(x)) -} - -func (TableSourceType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2effb41fca72136b, []int{0} -} - -// Describes a BigQuery table. -type BigQueryTableSpec struct { - // Output only. The table source type. - TableSourceType TableSourceType `protobuf:"varint,1,opt,name=table_source_type,json=tableSourceType,proto3,enum=google.cloud.datacatalog.v1beta1.TableSourceType" json:"table_source_type,omitempty"` - // Output only. - // - // Types that are valid to be assigned to TypeSpec: - // *BigQueryTableSpec_ViewSpec - // *BigQueryTableSpec_TableSpec - TypeSpec isBigQueryTableSpec_TypeSpec `protobuf_oneof:"type_spec"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BigQueryTableSpec) Reset() { *m = BigQueryTableSpec{} } -func (m *BigQueryTableSpec) String() string { return proto.CompactTextString(m) } -func (*BigQueryTableSpec) ProtoMessage() {} -func (*BigQueryTableSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_2effb41fca72136b, []int{0} -} - -func (m *BigQueryTableSpec) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BigQueryTableSpec.Unmarshal(m, b) -} -func (m *BigQueryTableSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BigQueryTableSpec.Marshal(b, m, deterministic) -} -func (m *BigQueryTableSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_BigQueryTableSpec.Merge(m, src) -} -func (m *BigQueryTableSpec) XXX_Size() int { - return xxx_messageInfo_BigQueryTableSpec.Size(m) -} -func (m *BigQueryTableSpec) XXX_DiscardUnknown() { - xxx_messageInfo_BigQueryTableSpec.DiscardUnknown(m) -} - -var xxx_messageInfo_BigQueryTableSpec proto.InternalMessageInfo - -func (m *BigQueryTableSpec) GetTableSourceType() TableSourceType { - if m != nil { - return m.TableSourceType - } - return TableSourceType_TABLE_SOURCE_TYPE_UNSPECIFIED -} - -type isBigQueryTableSpec_TypeSpec interface { - isBigQueryTableSpec_TypeSpec() -} - -type BigQueryTableSpec_ViewSpec struct { - ViewSpec *ViewSpec `protobuf:"bytes,2,opt,name=view_spec,json=viewSpec,proto3,oneof"` -} - -type BigQueryTableSpec_TableSpec struct { - TableSpec *TableSpec `protobuf:"bytes,3,opt,name=table_spec,json=tableSpec,proto3,oneof"` -} - -func (*BigQueryTableSpec_ViewSpec) isBigQueryTableSpec_TypeSpec() {} - -func (*BigQueryTableSpec_TableSpec) isBigQueryTableSpec_TypeSpec() {} - -func (m *BigQueryTableSpec) GetTypeSpec() isBigQueryTableSpec_TypeSpec { - if m != nil { - return m.TypeSpec - } - return nil -} - -func (m *BigQueryTableSpec) GetViewSpec() *ViewSpec { - if x, ok := m.GetTypeSpec().(*BigQueryTableSpec_ViewSpec); ok { - return x.ViewSpec - } - return nil -} - -func (m *BigQueryTableSpec) GetTableSpec() *TableSpec { - if x, ok := m.GetTypeSpec().(*BigQueryTableSpec_TableSpec); ok { - return x.TableSpec - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*BigQueryTableSpec) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*BigQueryTableSpec_ViewSpec)(nil), - (*BigQueryTableSpec_TableSpec)(nil), - } -} - -// Table view specification. -type ViewSpec struct { - // Required. Output only. The query that defines the table view. - ViewQuery string `protobuf:"bytes,1,opt,name=view_query,json=viewQuery,proto3" json:"view_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ViewSpec) Reset() { *m = ViewSpec{} } -func (m *ViewSpec) String() string { return proto.CompactTextString(m) } -func (*ViewSpec) ProtoMessage() {} -func (*ViewSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_2effb41fca72136b, []int{1} -} - -func (m *ViewSpec) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ViewSpec.Unmarshal(m, b) -} -func (m *ViewSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ViewSpec.Marshal(b, m, deterministic) -} -func (m *ViewSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_ViewSpec.Merge(m, src) -} -func (m *ViewSpec) XXX_Size() int { - return xxx_messageInfo_ViewSpec.Size(m) -} -func (m *ViewSpec) XXX_DiscardUnknown() { - xxx_messageInfo_ViewSpec.DiscardUnknown(m) -} - -var xxx_messageInfo_ViewSpec proto.InternalMessageInfo - -func (m *ViewSpec) GetViewQuery() string { - if m != nil { - return m.ViewQuery - } - return "" -} - -// Normal BigQuery table spec. -type TableSpec struct { - // Output only. If the table is a dated shard, i.e., with name pattern - // `[prefix]YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of - // the date sharded grouped entry, for example, - // `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`. - // Otherwise, `grouped_entry` is empty. - GroupedEntry string `protobuf:"bytes,1,opt,name=grouped_entry,json=groupedEntry,proto3" json:"grouped_entry,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TableSpec) Reset() { *m = TableSpec{} } -func (m *TableSpec) String() string { return proto.CompactTextString(m) } -func (*TableSpec) ProtoMessage() {} -func (*TableSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_2effb41fca72136b, []int{2} -} - -func (m *TableSpec) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TableSpec.Unmarshal(m, b) -} -func (m *TableSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TableSpec.Marshal(b, m, deterministic) -} -func (m *TableSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_TableSpec.Merge(m, src) -} -func (m *TableSpec) XXX_Size() int { - return xxx_messageInfo_TableSpec.Size(m) -} -func (m *TableSpec) XXX_DiscardUnknown() { - xxx_messageInfo_TableSpec.DiscardUnknown(m) -} - -var xxx_messageInfo_TableSpec proto.InternalMessageInfo - -func (m *TableSpec) GetGroupedEntry() string { - if m != nil { - return m.GroupedEntry - } - return "" -} - -// Spec for a group of BigQuery tables with name pattern `[prefix]YYYYMMDD`. -// Context: -// https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding -type BigQueryDateShardedSpec struct { - // Output only. The Data Catalog resource name of the dataset entry the - // current table belongs to, for example, - // `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`. - Dataset string `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"` - // Output only. The table name prefix of the shards. The name of any given - // shard is `[table_prefix]YYYYMMDD`, for example, for shard - // `MyTable20180101`, the `table_prefix` is `MyTable`. - TablePrefix string `protobuf:"bytes,2,opt,name=table_prefix,json=tablePrefix,proto3" json:"table_prefix,omitempty"` - // Output only. Total number of shards. - ShardCount int64 `protobuf:"varint,3,opt,name=shard_count,json=shardCount,proto3" json:"shard_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BigQueryDateShardedSpec) Reset() { *m = BigQueryDateShardedSpec{} } -func (m *BigQueryDateShardedSpec) String() string { return proto.CompactTextString(m) } -func (*BigQueryDateShardedSpec) ProtoMessage() {} -func (*BigQueryDateShardedSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_2effb41fca72136b, []int{3} -} - -func (m *BigQueryDateShardedSpec) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BigQueryDateShardedSpec.Unmarshal(m, b) -} -func (m *BigQueryDateShardedSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BigQueryDateShardedSpec.Marshal(b, m, deterministic) -} -func (m *BigQueryDateShardedSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_BigQueryDateShardedSpec.Merge(m, src) -} -func (m *BigQueryDateShardedSpec) XXX_Size() int { - return xxx_messageInfo_BigQueryDateShardedSpec.Size(m) -} -func (m *BigQueryDateShardedSpec) XXX_DiscardUnknown() { - xxx_messageInfo_BigQueryDateShardedSpec.DiscardUnknown(m) -} - -var xxx_messageInfo_BigQueryDateShardedSpec proto.InternalMessageInfo - -func (m *BigQueryDateShardedSpec) GetDataset() string { - if m != nil { - return m.Dataset - } - return "" -} - -func (m *BigQueryDateShardedSpec) GetTablePrefix() string { - if m != nil { - return m.TablePrefix - } - return "" -} - -func (m *BigQueryDateShardedSpec) GetShardCount() int64 { - if m != nil { - return m.ShardCount - } - return 0 -} - -func init() { - proto.RegisterEnum("google.cloud.datacatalog.v1beta1.TableSourceType", TableSourceType_name, TableSourceType_value) - proto.RegisterType((*BigQueryTableSpec)(nil), "google.cloud.datacatalog.v1beta1.BigQueryTableSpec") - proto.RegisterType((*ViewSpec)(nil), "google.cloud.datacatalog.v1beta1.ViewSpec") - proto.RegisterType((*TableSpec)(nil), "google.cloud.datacatalog.v1beta1.TableSpec") - proto.RegisterType((*BigQueryDateShardedSpec)(nil), "google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec") -} - -func init() { - proto.RegisterFile("google/cloud/datacatalog/v1beta1/table_spec.proto", fileDescriptor_2effb41fca72136b) -} - -var fileDescriptor_2effb41fca72136b = []byte{ - // 500 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0x4d, 0x6f, 0xd3, 0x40, - 0x10, 0xad, 0x13, 0x01, 0xf5, 0xa4, 0x1f, 0xc9, 0x5e, 0x08, 0x15, 0xa8, 0xa9, 0x4f, 0x51, 0x91, - 0x6c, 0xa5, 0x1c, 0x39, 0xc5, 0xa9, 0x81, 0x88, 0x02, 0xa9, 0x93, 0x14, 0xb5, 0x1c, 0xac, 0xb5, - 0x3d, 0x75, 0x2d, 0xb9, 0xd9, 0xc5, 0x5e, 0xa7, 0xe4, 0xc7, 0x70, 0xe0, 0x9f, 0xf5, 0x67, 0x20, - 0x4e, 0xc8, 0x63, 0xa7, 0x09, 0x48, 0x55, 0xe1, 0xe6, 0x7d, 0x3b, 0xef, 0xcd, 0x9b, 0x37, 0x5e, - 0xe8, 0x45, 0x42, 0x44, 0x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 0x1e, - 0x88, 0xeb, 0x7b, 0x17, 0x3b, 0xd2, 0x2e, 0xde, 0x57, 0x77, 0x91, 0x48, 0xf8, 0x2c, 0x32, 0x45, - 0x1a, 0x59, 0x11, 0xce, 0xe8, 0x57, 0xb7, 0x56, 0xc3, 0xdf, 0xff, 0xfc, 0x5e, 0xaf, 0x61, 0x3f, - 0x35, 0xcd, 0x7f, 0x4c, 0xd4, 0x57, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xca, 0xc2, 0x2f, 0x2d, - 0xb8, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1/tags.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1/tags.pb.go deleted file mode 100644 index 0c7803f7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1/tags.pb.go +++ /dev/null @@ -1,751 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/datacatalog/v1beta1/tags.proto - -package datacatalog - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -type FieldType_PrimitiveType int32 - -const ( - // This is the default invalid value for a type. - FieldType_PRIMITIVE_TYPE_UNSPECIFIED FieldType_PrimitiveType = 0 - // A double precision number. - FieldType_DOUBLE FieldType_PrimitiveType = 1 - // An UTF-8 string. - FieldType_STRING FieldType_PrimitiveType = 2 - // A boolean value. - FieldType_BOOL FieldType_PrimitiveType = 3 - // A timestamp. - FieldType_TIMESTAMP FieldType_PrimitiveType = 4 -) - -var FieldType_PrimitiveType_name = map[int32]string{ - 0: "PRIMITIVE_TYPE_UNSPECIFIED", - 1: "DOUBLE", - 2: "STRING", - 3: "BOOL", - 4: "TIMESTAMP", -} - -var FieldType_PrimitiveType_value = map[string]int32{ - "PRIMITIVE_TYPE_UNSPECIFIED": 0, - "DOUBLE": 1, - "STRING": 2, - "BOOL": 3, - "TIMESTAMP": 4, -} - -func (x FieldType_PrimitiveType) String() string { - return proto.EnumName(FieldType_PrimitiveType_name, int32(x)) -} - -func (FieldType_PrimitiveType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6fd303c40f581309, []int{4, 0} -} - -// Tags are used to attach custom metadata to Data Catalog resources. Tags -// conform to the specifications within their tag template. -type Tag struct { - // Required when used in - // [UpdateTagRequest][google.cloud.datacatalog.v1beta1.UpdateTagRequest]. The - // resource name of the tag in URL format. Example: - // - // * projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id} - // - // where `tag_id` is a system-generated identifier. - // Note that this Tag may not actually be stored in the location in this name. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The resource name of the tag template that this tag uses. - // Example: - // - // * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id} - // - // This field cannot be modified after creation. - Template string `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"` - // Output only. The display name of the tag template. - TemplateDisplayName string `protobuf:"bytes,5,opt,name=template_display_name,json=templateDisplayName,proto3" json:"template_display_name,omitempty"` - // Optional. The scope within the parent resource that this tag is attached - // to. If not provided, the tag is attached to the parent resource itself. - // Deleting the scope from the parent resource will delete all tags attached - // to that scope. These fields cannot be updated after creation. - // - // Types that are valid to be assigned to Scope: - // *Tag_Column - Scope isTag_Scope `protobuf_oneof:"scope"` - // Required. This maps the ID of a tag field to the value of and additional - // information about that field. Valid field IDs are defined by the tag's - // template. A tag must have at least 1 field and at most 500 fields. - Fields map[string]*TagField `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,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 *Tag) Reset() { *m = Tag{} } -func (m *Tag) String() string { return proto.CompactTextString(m) } -func (*Tag) ProtoMessage() {} -func (*Tag) Descriptor() ([]byte, []int) { - return fileDescriptor_6fd303c40f581309, []int{0} -} - -func (m *Tag) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Tag.Unmarshal(m, b) -} -func (m *Tag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Tag.Marshal(b, m, deterministic) -} -func (m *Tag) XXX_Merge(src proto.Message) { - xxx_messageInfo_Tag.Merge(m, src) -} -func (m *Tag) XXX_Size() int { - return xxx_messageInfo_Tag.Size(m) -} -func (m *Tag) XXX_DiscardUnknown() { - xxx_messageInfo_Tag.DiscardUnknown(m) -} - -var xxx_messageInfo_Tag proto.InternalMessageInfo - -func (m *Tag) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Tag) GetTemplate() string { - if m != nil { - return m.Template - } - return "" -} - -func (m *Tag) GetTemplateDisplayName() string { - if m != nil { - return m.TemplateDisplayName - } - return "" -} - -type isTag_Scope interface { - isTag_Scope() -} - -type Tag_Column struct { - Column string `protobuf:"bytes,4,opt,name=column,proto3,oneof"` -} - -func (*Tag_Column) isTag_Scope() {} - -func (m *Tag) GetScope() isTag_Scope { - if m != nil { - return m.Scope - } - return nil -} - -func (m *Tag) GetColumn() string { - if x, ok := m.GetScope().(*Tag_Column); ok { - return x.Column - } - return "" -} - -func (m *Tag) GetFields() map[string]*TagField { - if m != nil { - return m.Fields - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Tag) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Tag_Column)(nil), - } -} - -// Contains the value and supporting information for a field within -// a [Tag][google.cloud.datacatalog.v1beta1.Tag]. -type TagField struct { - // Output only. The display name of this field. - DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Required. The value of this field. - // - // Types that are valid to be assigned to Kind: - // *TagField_DoubleValue - // *TagField_StringValue - // *TagField_BoolValue - // *TagField_TimestampValue - // *TagField_EnumValue_ - Kind isTagField_Kind `protobuf_oneof:"kind"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TagField) Reset() { *m = TagField{} } -func (m *TagField) String() string { return proto.CompactTextString(m) } -func (*TagField) ProtoMessage() {} -func (*TagField) Descriptor() ([]byte, []int) { - return fileDescriptor_6fd303c40f581309, []int{1} -} - -func (m *TagField) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TagField.Unmarshal(m, b) -} -func (m *TagField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TagField.Marshal(b, m, deterministic) -} -func (m *TagField) XXX_Merge(src proto.Message) { - xxx_messageInfo_TagField.Merge(m, src) -} -func (m *TagField) XXX_Size() int { - return xxx_messageInfo_TagField.Size(m) -} -func (m *TagField) XXX_DiscardUnknown() { - xxx_messageInfo_TagField.DiscardUnknown(m) -} - -var xxx_messageInfo_TagField proto.InternalMessageInfo - -func (m *TagField) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -type isTagField_Kind interface { - isTagField_Kind() -} - -type TagField_DoubleValue struct { - DoubleValue float64 `protobuf:"fixed64,2,opt,name=double_value,json=doubleValue,proto3,oneof"` -} - -type TagField_StringValue struct { - StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3,oneof"` -} - -type TagField_BoolValue struct { - BoolValue bool `protobuf:"varint,4,opt,name=bool_value,json=boolValue,proto3,oneof"` -} - -type TagField_TimestampValue struct { - TimestampValue *timestamp.Timestamp `protobuf:"bytes,5,opt,name=timestamp_value,json=timestampValue,proto3,oneof"` -} - -type TagField_EnumValue_ struct { - EnumValue *TagField_EnumValue `protobuf:"bytes,6,opt,name=enum_value,json=enumValue,proto3,oneof"` -} - -func (*TagField_DoubleValue) isTagField_Kind() {} - -func (*TagField_StringValue) isTagField_Kind() {} - -func (*TagField_BoolValue) isTagField_Kind() {} - -func (*TagField_TimestampValue) isTagField_Kind() {} - -func (*TagField_EnumValue_) isTagField_Kind() {} - -func (m *TagField) GetKind() isTagField_Kind { - if m != nil { - return m.Kind - } - return nil -} - -func (m *TagField) GetDoubleValue() float64 { - if x, ok := m.GetKind().(*TagField_DoubleValue); ok { - return x.DoubleValue - } - return 0 -} - -func (m *TagField) GetStringValue() string { - if x, ok := m.GetKind().(*TagField_StringValue); ok { - return x.StringValue - } - return "" -} - -func (m *TagField) GetBoolValue() bool { - if x, ok := m.GetKind().(*TagField_BoolValue); ok { - return x.BoolValue - } - return false -} - -func (m *TagField) GetTimestampValue() *timestamp.Timestamp { - if x, ok := m.GetKind().(*TagField_TimestampValue); ok { - return x.TimestampValue - } - return nil -} - -func (m *TagField) GetEnumValue() *TagField_EnumValue { - if x, ok := m.GetKind().(*TagField_EnumValue_); ok { - return x.EnumValue - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*TagField) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*TagField_DoubleValue)(nil), - (*TagField_StringValue)(nil), - (*TagField_BoolValue)(nil), - (*TagField_TimestampValue)(nil), - (*TagField_EnumValue_)(nil), - } -} - -// Holds an enum value. -type TagField_EnumValue struct { - // The display name of the enum value. - DisplayName string `protobuf:"bytes,1,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 *TagField_EnumValue) Reset() { *m = TagField_EnumValue{} } -func (m *TagField_EnumValue) String() string { return proto.CompactTextString(m) } -func (*TagField_EnumValue) ProtoMessage() {} -func (*TagField_EnumValue) Descriptor() ([]byte, []int) { - return fileDescriptor_6fd303c40f581309, []int{1, 0} -} - -func (m *TagField_EnumValue) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TagField_EnumValue.Unmarshal(m, b) -} -func (m *TagField_EnumValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TagField_EnumValue.Marshal(b, m, deterministic) -} -func (m *TagField_EnumValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_TagField_EnumValue.Merge(m, src) -} -func (m *TagField_EnumValue) XXX_Size() int { - return xxx_messageInfo_TagField_EnumValue.Size(m) -} -func (m *TagField_EnumValue) XXX_DiscardUnknown() { - xxx_messageInfo_TagField_EnumValue.DiscardUnknown(m) -} - -var xxx_messageInfo_TagField_EnumValue proto.InternalMessageInfo - -func (m *TagField_EnumValue) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -// A tag template defines the schema of the tags used to attach to Data Catalog -// resources. It defines the mapping of accepted field names and types that can -// be used within the tag. The tag template also controls the access to the tag. -type TagTemplate struct { - // Required when used in - // [UpdateTagTemplateRequest][google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest]. - // The resource name of the tag template in URL format. Example: - // - // * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id} - // - // Note that this TagTemplate and its child resources may not actually be - // stored in the location in this name. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Optional. The display name for this template. Defaults to an empty string. - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Required. Map of tag template field IDs to the settings for the field. - // This map is an exhaustive list of the allowed fields. This map must contain - // at least one field and at most 500 fields. - // - // The keys to this map are tag template field IDs. Field IDs can contain - // letters (both uppercase and lowercase), numbers (0-9) and underscores (_). - // Field IDs must be at least 1 character long and at most - // 64 characters long. Field IDs must start with a letter or underscore. - Fields map[string]*TagTemplateField `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,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 *TagTemplate) Reset() { *m = TagTemplate{} } -func (m *TagTemplate) String() string { return proto.CompactTextString(m) } -func (*TagTemplate) ProtoMessage() {} -func (*TagTemplate) Descriptor() ([]byte, []int) { - return fileDescriptor_6fd303c40f581309, []int{2} -} - -func (m *TagTemplate) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TagTemplate.Unmarshal(m, b) -} -func (m *TagTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TagTemplate.Marshal(b, m, deterministic) -} -func (m *TagTemplate) XXX_Merge(src proto.Message) { - xxx_messageInfo_TagTemplate.Merge(m, src) -} -func (m *TagTemplate) XXX_Size() int { - return xxx_messageInfo_TagTemplate.Size(m) -} -func (m *TagTemplate) XXX_DiscardUnknown() { - xxx_messageInfo_TagTemplate.DiscardUnknown(m) -} - -var xxx_messageInfo_TagTemplate proto.InternalMessageInfo - -func (m *TagTemplate) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *TagTemplate) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *TagTemplate) GetFields() map[string]*TagTemplateField { - if m != nil { - return m.Fields - } - return nil -} - -// The template for an individual field within a tag template. -type TagTemplateField struct { - // Output only. The resource name of the tag template field in URL format. - // Example: - // - // * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field} - // - // Note that this TagTemplateField may not actually be stored in the location - // in this name. - Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` - // Optional. The display name for this field. Defaults to an empty string. - DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Required. The type of value this tag field can contain. - Type *FieldType `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TagTemplateField) Reset() { *m = TagTemplateField{} } -func (m *TagTemplateField) String() string { return proto.CompactTextString(m) } -func (*TagTemplateField) ProtoMessage() {} -func (*TagTemplateField) Descriptor() ([]byte, []int) { - return fileDescriptor_6fd303c40f581309, []int{3} -} - -func (m *TagTemplateField) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TagTemplateField.Unmarshal(m, b) -} -func (m *TagTemplateField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TagTemplateField.Marshal(b, m, deterministic) -} -func (m *TagTemplateField) XXX_Merge(src proto.Message) { - xxx_messageInfo_TagTemplateField.Merge(m, src) -} -func (m *TagTemplateField) XXX_Size() int { - return xxx_messageInfo_TagTemplateField.Size(m) -} -func (m *TagTemplateField) XXX_DiscardUnknown() { - xxx_messageInfo_TagTemplateField.DiscardUnknown(m) -} - -var xxx_messageInfo_TagTemplateField proto.InternalMessageInfo - -func (m *TagTemplateField) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *TagTemplateField) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *TagTemplateField) GetType() *FieldType { - if m != nil { - return m.Type - } - return nil -} - -type FieldType struct { - // Required. - // - // Types that are valid to be assigned to TypeDecl: - // *FieldType_PrimitiveType_ - // *FieldType_EnumType_ - TypeDecl isFieldType_TypeDecl `protobuf_oneof:"type_decl"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FieldType) Reset() { *m = FieldType{} } -func (m *FieldType) String() string { return proto.CompactTextString(m) } -func (*FieldType) ProtoMessage() {} -func (*FieldType) Descriptor() ([]byte, []int) { - return fileDescriptor_6fd303c40f581309, []int{4} -} - -func (m *FieldType) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FieldType.Unmarshal(m, b) -} -func (m *FieldType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FieldType.Marshal(b, m, deterministic) -} -func (m *FieldType) XXX_Merge(src proto.Message) { - xxx_messageInfo_FieldType.Merge(m, src) -} -func (m *FieldType) XXX_Size() int { - return xxx_messageInfo_FieldType.Size(m) -} -func (m *FieldType) XXX_DiscardUnknown() { - xxx_messageInfo_FieldType.DiscardUnknown(m) -} - -var xxx_messageInfo_FieldType proto.InternalMessageInfo - -type isFieldType_TypeDecl interface { - isFieldType_TypeDecl() -} - -type FieldType_PrimitiveType_ struct { - PrimitiveType FieldType_PrimitiveType `protobuf:"varint,1,opt,name=primitive_type,json=primitiveType,proto3,enum=google.cloud.datacatalog.v1beta1.FieldType_PrimitiveType,oneof"` -} - -type FieldType_EnumType_ struct { - EnumType *FieldType_EnumType `protobuf:"bytes,2,opt,name=enum_type,json=enumType,proto3,oneof"` -} - -func (*FieldType_PrimitiveType_) isFieldType_TypeDecl() {} - -func (*FieldType_EnumType_) isFieldType_TypeDecl() {} - -func (m *FieldType) GetTypeDecl() isFieldType_TypeDecl { - if m != nil { - return m.TypeDecl - } - return nil -} - -func (m *FieldType) GetPrimitiveType() FieldType_PrimitiveType { - if x, ok := m.GetTypeDecl().(*FieldType_PrimitiveType_); ok { - return x.PrimitiveType - } - return FieldType_PRIMITIVE_TYPE_UNSPECIFIED -} - -func (m *FieldType) GetEnumType() *FieldType_EnumType { - if x, ok := m.GetTypeDecl().(*FieldType_EnumType_); ok { - return x.EnumType - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*FieldType) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*FieldType_PrimitiveType_)(nil), - (*FieldType_EnumType_)(nil), - } -} - -type FieldType_EnumType struct { - // Required on create; optional on update. The set of allowed values for - // this enum. This set must not be empty, the display names of the values in - // this set must not be empty and the display names of the values must be - // case-insensitively unique within this set. Currently, enum values can - // only be added to the list of allowed values. Deletion and renaming of - // enum values are not supported. Can have up to 500 allowed values. - AllowedValues []*FieldType_EnumType_EnumValue `protobuf:"bytes,1,rep,name=allowed_values,json=allowedValues,proto3" json:"allowed_values,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FieldType_EnumType) Reset() { *m = FieldType_EnumType{} } -func (m *FieldType_EnumType) String() string { return proto.CompactTextString(m) } -func (*FieldType_EnumType) ProtoMessage() {} -func (*FieldType_EnumType) Descriptor() ([]byte, []int) { - return fileDescriptor_6fd303c40f581309, []int{4, 0} -} - -func (m *FieldType_EnumType) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FieldType_EnumType.Unmarshal(m, b) -} -func (m *FieldType_EnumType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FieldType_EnumType.Marshal(b, m, deterministic) -} -func (m *FieldType_EnumType) XXX_Merge(src proto.Message) { - xxx_messageInfo_FieldType_EnumType.Merge(m, src) -} -func (m *FieldType_EnumType) XXX_Size() int { - return xxx_messageInfo_FieldType_EnumType.Size(m) -} -func (m *FieldType_EnumType) XXX_DiscardUnknown() { - xxx_messageInfo_FieldType_EnumType.DiscardUnknown(m) -} - -var xxx_messageInfo_FieldType_EnumType proto.InternalMessageInfo - -func (m *FieldType_EnumType) GetAllowedValues() []*FieldType_EnumType_EnumValue { - if m != nil { - return m.AllowedValues - } - return nil -} - -type FieldType_EnumType_EnumValue struct { - // Required. The display name of the enum value. Must not be an empty - // string. - DisplayName string `protobuf:"bytes,1,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 *FieldType_EnumType_EnumValue) Reset() { *m = FieldType_EnumType_EnumValue{} } -func (m *FieldType_EnumType_EnumValue) String() string { return proto.CompactTextString(m) } -func (*FieldType_EnumType_EnumValue) ProtoMessage() {} -func (*FieldType_EnumType_EnumValue) Descriptor() ([]byte, []int) { - return fileDescriptor_6fd303c40f581309, []int{4, 0, 0} -} - -func (m *FieldType_EnumType_EnumValue) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FieldType_EnumType_EnumValue.Unmarshal(m, b) -} -func (m *FieldType_EnumType_EnumValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FieldType_EnumType_EnumValue.Marshal(b, m, deterministic) -} -func (m *FieldType_EnumType_EnumValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_FieldType_EnumType_EnumValue.Merge(m, src) -} -func (m *FieldType_EnumType_EnumValue) XXX_Size() int { - return xxx_messageInfo_FieldType_EnumType_EnumValue.Size(m) -} -func (m *FieldType_EnumType_EnumValue) XXX_DiscardUnknown() { - xxx_messageInfo_FieldType_EnumType_EnumValue.DiscardUnknown(m) -} - -var xxx_messageInfo_FieldType_EnumType_EnumValue proto.InternalMessageInfo - -func (m *FieldType_EnumType_EnumValue) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func init() { - proto.RegisterEnum("google.cloud.datacatalog.v1beta1.FieldType_PrimitiveType", FieldType_PrimitiveType_name, FieldType_PrimitiveType_value) - proto.RegisterType((*Tag)(nil), "google.cloud.datacatalog.v1beta1.Tag") - proto.RegisterMapType((map[string]*TagField)(nil), "google.cloud.datacatalog.v1beta1.Tag.FieldsEntry") - proto.RegisterType((*TagField)(nil), "google.cloud.datacatalog.v1beta1.TagField") - proto.RegisterType((*TagField_EnumValue)(nil), "google.cloud.datacatalog.v1beta1.TagField.EnumValue") - proto.RegisterType((*TagTemplate)(nil), "google.cloud.datacatalog.v1beta1.TagTemplate") - proto.RegisterMapType((map[string]*TagTemplateField)(nil), "google.cloud.datacatalog.v1beta1.TagTemplate.FieldsEntry") - proto.RegisterType((*TagTemplateField)(nil), "google.cloud.datacatalog.v1beta1.TagTemplateField") - proto.RegisterType((*FieldType)(nil), "google.cloud.datacatalog.v1beta1.FieldType") - proto.RegisterType((*FieldType_EnumType)(nil), "google.cloud.datacatalog.v1beta1.FieldType.EnumType") - proto.RegisterType((*FieldType_EnumType_EnumValue)(nil), "google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue") -} - -func init() { - proto.RegisterFile("google/cloud/datacatalog/v1beta1/tags.proto", fileDescriptor_6fd303c40f581309) -} - -var fileDescriptor_6fd303c40f581309 = []byte{ - // 901 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x4f, 0x6f, 0xe3, 0x44, - 0x14, 0x8f, 0xed, 0x34, 0x24, 0x2f, 0xdb, 0x12, 0x0d, 0x42, 0x0a, 0x11, 0xda, 0x96, 0x20, 0xad, - 0x56, 0x54, 0xb2, 0xd5, 0xee, 0x4a, 0x40, 0x91, 0x10, 0xcd, 0xd6, 0xbb, 0x89, 0xd8, 0xb6, 0x91, - 0xeb, 0x56, 0x02, 0x21, 0x99, 0x89, 0x3d, 0x6b, 0xcc, 0xda, 0x1e, 0xcb, 0x7f, 0x8a, 0xa2, 0x28, - 0x48, 0x7b, 0xe0, 0x33, 0xf0, 0x0d, 0xf8, 0x3e, 0xdc, 0x39, 0x70, 0xee, 0x95, 0x0b, 0x17, 0x24, - 0x34, 0x33, 0x9e, 0xc4, 0x69, 0xb7, 0xdb, 0x2c, 0xe2, 0x94, 0x79, 0x6f, 0x7e, 0xef, 0x37, 0x6f, - 0x7e, 0xef, 0xbd, 0x89, 0x61, 0xd7, 0xa7, 0xd4, 0x0f, 0x89, 0xe1, 0x86, 0xb4, 0xf0, 0x0c, 0x0f, - 0xe7, 0xd8, 0xc5, 0x39, 0x0e, 0xa9, 0x6f, 0x5c, 0xee, 0x4d, 0x48, 0x8e, 0xf7, 0x8c, 0x1c, 0xfb, - 0x99, 0x9e, 0xa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71, 0x58, 0x88, 0x1b, 0xb6, 0xf7, - 0x3f, 0x59, 0xeb, 0x3c, 0x4e, 0x69, 0x89, 0xc0, 0x03, 0xf5, 0x33, 0xe5, 0xe0, 0x95, 0x72, 0x75, - 0xf8, 0x33, 0xdc, 0xaf, 0xc2, 0x05, 0x0f, 0x4e, 0x82, 0x4c, 0x77, 0x69, 0x64, 0x30, 0x91, 0xbf, - 0x4b, 0x52, 0xfa, 0x23, 0x71, 0xf3, 0xcc, 0x98, 0x95, 0xab, 0xb9, 0x11, 0x52, 0x17, 0xe7, 0x01, - 0x8d, 0x33, 0x63, 0x26, 0x97, 0x73, 0x83, 0xb0, 0x64, 0x9f, 0xa5, 0xb4, 0x48, 0x32, 0x63, 0xc6, - 0x0d, 0xc7, 0x67, 0x96, 0xd8, 0x09, 0x88, 0xf4, 0xce, 0x79, 0x27, 0x19, 0xb3, 0x1c, 0xfb, 0xf3, - 0xc1, 0x3b, 0xb0, 0x91, 0xb9, 0x34, 0x21, 0xfd, 0xbf, 0x54, 0x68, 0xca, 0x24, 0xd1, 0x03, 0xb8, - 0xb7, 0x52, 0x1a, 0x65, 0x59, 0x9a, 0xb6, 0x57, 0x29, 0xc9, 0xc7, 0x70, 0xcf, 0xa3, 0xc5, 0x24, - 0x24, 0xce, 0x52, 0x0e, 0x65, 0x58, 0xb3, 0xda, 0xc2, 0x7b, 0xc1, 0x9c, 0x0c, 0x94, 0xe5, 0x69, - 0x10, 0xfb, 0x25, 0x48, 0x2b, 0xab, 0xd7, 0x16, 0x5e, 0x01, 0xda, 0x06, 0x98, 0x50, 0x1a, 0x96, - 0x10, 0x56, 0xe0, 0xe6, 0xb0, 0x66, 0xb5, 0x98, 0x4f, 0x00, 0x4c, 0x78, 0x77, 0xd1, 0x86, 0x25, - 0x6a, 0x83, 0x8b, 0xdf, 0x93, 0xe2, 0xcb, 0x76, 0xd5, 0x6d, 0x89, 0x1b, 0xd6, 0xac, 0xad, 0x45, - 0x90, 0xa0, 0x39, 0x07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 0x3a, 0x4d, - 0x7d, 0xc3, 0x27, 0x31, 0x7f, 0x64, 0x8d, 0x65, 0x43, 0xde, 0xfe, 0xbd, 0xf2, 0x45, 0xc5, 0xf7, - 0xb7, 0xa2, 0x4c, 0x1a, 0x3c, 0xf4, 0xd1, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x64, 0x61, 0xbb, - 0x1d, 0xe9, 0x08, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1/timestamps.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1/timestamps.pb.go deleted file mode 100644 index a03995d9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1/timestamps.pb.go +++ /dev/null @@ -1,112 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/datacatalog/v1beta1/timestamps.proto - -package datacatalog - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Timestamps about this resource according to a particular system. -type SystemTimestamps struct { - // The creation time of the resource within the given system. - CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // The last-modified time of the resource within the given system. - UpdateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - // Output only. The expiration time of the resource within the given system. - // Currently only apllicable to BigQuery resources. - 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 *SystemTimestamps) Reset() { *m = SystemTimestamps{} } -func (m *SystemTimestamps) String() string { return proto.CompactTextString(m) } -func (*SystemTimestamps) ProtoMessage() {} -func (*SystemTimestamps) Descriptor() ([]byte, []int) { - return fileDescriptor_a178faa5e507582b, []int{0} -} - -func (m *SystemTimestamps) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SystemTimestamps.Unmarshal(m, b) -} -func (m *SystemTimestamps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SystemTimestamps.Marshal(b, m, deterministic) -} -func (m *SystemTimestamps) XXX_Merge(src proto.Message) { - xxx_messageInfo_SystemTimestamps.Merge(m, src) -} -func (m *SystemTimestamps) XXX_Size() int { - return xxx_messageInfo_SystemTimestamps.Size(m) -} -func (m *SystemTimestamps) XXX_DiscardUnknown() { - xxx_messageInfo_SystemTimestamps.DiscardUnknown(m) -} - -var xxx_messageInfo_SystemTimestamps proto.InternalMessageInfo - -func (m *SystemTimestamps) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *SystemTimestamps) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -func (m *SystemTimestamps) GetExpireTime() *timestamp.Timestamp { - if m != nil { - return m.ExpireTime - } - return nil -} - -func init() { - proto.RegisterType((*SystemTimestamps)(nil), "google.cloud.datacatalog.v1beta1.SystemTimestamps") -} - -func init() { - proto.RegisterFile("google/cloud/datacatalog/v1beta1/timestamps.proto", fileDescriptor_a178faa5e507582b) -} - -var fileDescriptor_a178faa5e507582b = []byte{ - // 256 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0xd1, 0xb1, 0x4e, 0xc3, 0x30, - 0x10, 0x06, 0x60, 0x99, 0x48, 0x0c, 0xce, 0x82, 0x3a, 0xa1, 0x0a, 0x89, 0x8a, 0x89, 0xc9, 0x56, - 0x60, 0xec, 0x02, 0x5d, 0x59, 0x50, 0x61, 0x62, 0xa9, 0x2e, 0xc9, 0xd5, 0x58, 0x72, 0x7a, 0x96, - 0x73, 0xa9, 0xe0, 0x25, 0x79, 0x06, 0x1e, 0x83, 0x11, 0xc5, 0x36, 0xa1, 0x4b, 0xd5, 0x31, 0x77, - 0xff, 0xf7, 0x5f, 0x94, 0xc8, 0xca, 0x10, 0x19, 0x87, 0xba, 0x71, 0x34, 0xb4, 0xba, 0x05, 0x86, - 0x06, 0x18, 0x1c, 0x19, 0xbd, 0xaf, 0x6a, 0x64, 0xa8, 0x34, 0xdb, 0x0e, 0x7b, 0x86, 0xce, 0xf7, - 0xca, 0x07, 0x62, 0x9a, 0x2d, 0x12, 0x51, 0x91, 0xa8, 0x03, 0xa2, 0x32, 0x99, 0x5f, 0xe7, 0x52, - 0xf0, 0x56, 0x6f, 0x2d, 0xba, 0x76, 0x53, 0xe3, 0x3b, 0xec, 0x2d, 0x85, 0x54, 0x31, 0x05, 0xe2, - 0x53, 0x3d, 0x6c, 0xff, 0x8f, 0xa4, 0xc0, 0xcd, 0x97, 0x90, 0x17, 0x2f, 0x9f, 0x3d, 0x63, 0xf7, - 0x3a, 0x9d, 0x9f, 0x2d, 0x65, 0xd9, 0x04, 0x04, 0xc6, 0xcd, 0x18, 0xbf, 0x14, 0x0b, 0x71, 0x5b, - 0xde, 0xcd, 0x55, 0x7e, 0x9d, 0xbf, 0x2e, 0x35, 0x89, 0xb5, 0x4c, 0xf1, 0x71, 0x30, 0xe2, 0xc1, - 0xb7, 0x13, 0x3e, 0x3b, 0x8d, 0x53, 0x3c, 0xe2, 0x07, 0x59, 0xe2, 0x87, 0xb7, 0x21, 0xe3, 0xe2, - 0x14, 0x5e, 0x15, 0xdf, 0x8f, 0xc5, 0x5a, 0x26, 0x33, 0x4e, 0x57, 0x5e, 0x5e, 0x35, 0xd4, 0xa9, - 0x63, 0x9f, 0xee, 0x59, 0xbc, 0x3d, 0xe5, 0x9d, 0x21, 0x07, 0x3b, 0xa3, 0x28, 0x18, 0x6d, 0x70, - 0x17, 0xbb, 0x75, 0x5a, 0x81, 0xb7, 0xfd, 0xf1, 0x1f, 0xb5, 0x3c, 0x98, 0xfd, 0x08, 0x51, 0x9f, - 0x47, 0x7a, 0xff, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x38, 0xaa, 0x03, 0x23, 0xe2, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/annotation.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/annotation.pb.go deleted file mode 100644 index 1a5c4597..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/annotation.pb.go +++ /dev/null @@ -1,1674 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/datalabeling/v1beta1/annotation.proto - -package datalabeling - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Specifies where is the answer from. -type AnnotationSource int32 - -const ( - AnnotationSource_ANNOTATION_SOURCE_UNSPECIFIED AnnotationSource = 0 - // Answer is provided by a human contributor. - AnnotationSource_OPERATOR AnnotationSource = 3 -) - -var AnnotationSource_name = map[int32]string{ - 0: "ANNOTATION_SOURCE_UNSPECIFIED", - 3: "OPERATOR", -} - -var AnnotationSource_value = map[string]int32{ - "ANNOTATION_SOURCE_UNSPECIFIED": 0, - "OPERATOR": 3, -} - -func (x AnnotationSource) String() string { - return proto.EnumName(AnnotationSource_name, int32(x)) -} - -func (AnnotationSource) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4bb97872d232a7f7, []int{0} -} - -type AnnotationSentiment int32 - -const ( - AnnotationSentiment_ANNOTATION_SENTIMENT_UNSPECIFIED AnnotationSentiment = 0 - // This annotation describes negatively about the data. - AnnotationSentiment_NEGATIVE AnnotationSentiment = 1 - // This label describes positively about the data. - AnnotationSentiment_POSITIVE AnnotationSentiment = 2 -) - -var AnnotationSentiment_name = map[int32]string{ - 0: "ANNOTATION_SENTIMENT_UNSPECIFIED", - 1: "NEGATIVE", - 2: "POSITIVE", -} - -var AnnotationSentiment_value = map[string]int32{ - "ANNOTATION_SENTIMENT_UNSPECIFIED": 0, - "NEGATIVE": 1, - "POSITIVE": 2, -} - -func (x AnnotationSentiment) String() string { - return proto.EnumName(AnnotationSentiment_name, int32(x)) -} - -func (AnnotationSentiment) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4bb97872d232a7f7, []int{1} -} - -type AnnotationType int32 - -const ( - AnnotationType_ANNOTATION_TYPE_UNSPECIFIED AnnotationType = 0 - // Classification annotations in an image. - AnnotationType_IMAGE_CLASSIFICATION_ANNOTATION AnnotationType = 1 - // Bounding box annotations in an image. - AnnotationType_IMAGE_BOUNDING_BOX_ANNOTATION AnnotationType = 2 - // Oriented bounding box. The box does not have to be parallel to horizontal - // line. - AnnotationType_IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION AnnotationType = 13 - // Bounding poly annotations in an image. - AnnotationType_IMAGE_BOUNDING_POLY_ANNOTATION AnnotationType = 10 - // Polyline annotations in an image. - AnnotationType_IMAGE_POLYLINE_ANNOTATION AnnotationType = 11 - // Segmentation annotations in an image. - AnnotationType_IMAGE_SEGMENTATION_ANNOTATION AnnotationType = 12 - // Classification annotations in video shots. - AnnotationType_VIDEO_SHOTS_CLASSIFICATION_ANNOTATION AnnotationType = 3 - // Video object tracking annotation. - AnnotationType_VIDEO_OBJECT_TRACKING_ANNOTATION AnnotationType = 4 - // Video object detection annotation. - AnnotationType_VIDEO_OBJECT_DETECTION_ANNOTATION AnnotationType = 5 - // Video event annotation. - AnnotationType_VIDEO_EVENT_ANNOTATION AnnotationType = 6 - // Classification for text. - AnnotationType_TEXT_CLASSIFICATION_ANNOTATION AnnotationType = 8 - // Entity extraction for text. - AnnotationType_TEXT_ENTITY_EXTRACTION_ANNOTATION AnnotationType = 9 - // General classification. - AnnotationType_GENERAL_CLASSIFICATION_ANNOTATION AnnotationType = 14 -) - -var AnnotationType_name = map[int32]string{ - 0: "ANNOTATION_TYPE_UNSPECIFIED", - 1: "IMAGE_CLASSIFICATION_ANNOTATION", - 2: "IMAGE_BOUNDING_BOX_ANNOTATION", - 13: "IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION", - 10: "IMAGE_BOUNDING_POLY_ANNOTATION", - 11: "IMAGE_POLYLINE_ANNOTATION", - 12: "IMAGE_SEGMENTATION_ANNOTATION", - 3: "VIDEO_SHOTS_CLASSIFICATION_ANNOTATION", - 4: "VIDEO_OBJECT_TRACKING_ANNOTATION", - 5: "VIDEO_OBJECT_DETECTION_ANNOTATION", - 6: "VIDEO_EVENT_ANNOTATION", - 8: "TEXT_CLASSIFICATION_ANNOTATION", - 9: "TEXT_ENTITY_EXTRACTION_ANNOTATION", - 14: "GENERAL_CLASSIFICATION_ANNOTATION", -} - -var AnnotationType_value = map[string]int32{ - "ANNOTATION_TYPE_UNSPECIFIED": 0, - "IMAGE_CLASSIFICATION_ANNOTATION": 1, - "IMAGE_BOUNDING_BOX_ANNOTATION": 2, - "IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION": 13, - "IMAGE_BOUNDING_POLY_ANNOTATION": 10, - "IMAGE_POLYLINE_ANNOTATION": 11, - "IMAGE_SEGMENTATION_ANNOTATION": 12, - "VIDEO_SHOTS_CLASSIFICATION_ANNOTATION": 3, - "VIDEO_OBJECT_TRACKING_ANNOTATION": 4, - "VIDEO_OBJECT_DETECTION_ANNOTATION": 5, - "VIDEO_EVENT_ANNOTATION": 6, - "TEXT_CLASSIFICATION_ANNOTATION": 8, - "TEXT_ENTITY_EXTRACTION_ANNOTATION": 9, - "GENERAL_CLASSIFICATION_ANNOTATION": 14, -} - -func (x AnnotationType) String() string { - return proto.EnumName(AnnotationType_name, int32(x)) -} - -func (AnnotationType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4bb97872d232a7f7, []int{2} -} - -// Annotation for Example. Each example may have one or more annotations. For -// example in image classification problem, each image might have one or more -// labels. We call labels binded with this image an Annotation. -type Annotation struct { - // Output only. Unique name of this annotation, format is: - // - // projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset}/examples/{example_id}/annotations/{annotation_id} - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Output only. The source of the annotation. - AnnotationSource AnnotationSource `protobuf:"varint,2,opt,name=annotation_source,json=annotationSource,proto3,enum=google.cloud.datalabeling.v1beta1.AnnotationSource" json:"annotation_source,omitempty"` - // Output only. This is the actual annotation value, e.g classification, - // bounding box values are stored here. - AnnotationValue *AnnotationValue `protobuf:"bytes,3,opt,name=annotation_value,json=annotationValue,proto3" json:"annotation_value,omitempty"` - // Output only. Annotation metadata, including information like votes - // for labels. - AnnotationMetadata *AnnotationMetadata `protobuf:"bytes,4,opt,name=annotation_metadata,json=annotationMetadata,proto3" json:"annotation_metadata,omitempty"` - // Output only. Sentiment for this annotation. - AnnotationSentiment AnnotationSentiment `protobuf:"varint,6,opt,name=annotation_sentiment,json=annotationSentiment,proto3,enum=google.cloud.datalabeling.v1beta1.AnnotationSentiment" json:"annotation_sentiment,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_4bb97872d232a7f7, []int{0} -} - -func (m *Annotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Annotation.Unmarshal(m, b) -} -func (m *Annotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Annotation.Marshal(b, m, deterministic) -} -func (m *Annotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Annotation.Merge(m, src) -} -func (m *Annotation) XXX_Size() int { - return xxx_messageInfo_Annotation.Size(m) -} -func (m *Annotation) XXX_DiscardUnknown() { - xxx_messageInfo_Annotation.DiscardUnknown(m) -} - -var xxx_messageInfo_Annotation proto.InternalMessageInfo - -func (m *Annotation) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Annotation) GetAnnotationSource() AnnotationSource { - if m != nil { - return m.AnnotationSource - } - return AnnotationSource_ANNOTATION_SOURCE_UNSPECIFIED -} - -func (m *Annotation) GetAnnotationValue() *AnnotationValue { - if m != nil { - return m.AnnotationValue - } - return nil -} - -func (m *Annotation) GetAnnotationMetadata() *AnnotationMetadata { - if m != nil { - return m.AnnotationMetadata - } - return nil -} - -func (m *Annotation) GetAnnotationSentiment() AnnotationSentiment { - if m != nil { - return m.AnnotationSentiment - } - return AnnotationSentiment_ANNOTATION_SENTIMENT_UNSPECIFIED -} - -// Annotation value for an example. -type AnnotationValue struct { - // Types that are valid to be assigned to ValueType: - // *AnnotationValue_ImageClassificationAnnotation - // *AnnotationValue_ImageBoundingPolyAnnotation - // *AnnotationValue_ImagePolylineAnnotation - // *AnnotationValue_ImageSegmentationAnnotation - // *AnnotationValue_TextClassificationAnnotation - // *AnnotationValue_TextEntityExtractionAnnotation - // *AnnotationValue_VideoClassificationAnnotation - // *AnnotationValue_VideoObjectTrackingAnnotation - // *AnnotationValue_VideoEventAnnotation - ValueType isAnnotationValue_ValueType `protobuf_oneof:"value_type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AnnotationValue) Reset() { *m = AnnotationValue{} } -func (m *AnnotationValue) String() string { return proto.CompactTextString(m) } -func (*AnnotationValue) ProtoMessage() {} -func (*AnnotationValue) Descriptor() ([]byte, []int) { - return fileDescriptor_4bb97872d232a7f7, []int{1} -} - -func (m *AnnotationValue) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotationValue.Unmarshal(m, b) -} -func (m *AnnotationValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotationValue.Marshal(b, m, deterministic) -} -func (m *AnnotationValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotationValue.Merge(m, src) -} -func (m *AnnotationValue) XXX_Size() int { - return xxx_messageInfo_AnnotationValue.Size(m) -} -func (m *AnnotationValue) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotationValue.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotationValue proto.InternalMessageInfo - -type isAnnotationValue_ValueType interface { - isAnnotationValue_ValueType() -} - -type AnnotationValue_ImageClassificationAnnotation struct { - ImageClassificationAnnotation *ImageClassificationAnnotation `protobuf:"bytes,1,opt,name=image_classification_annotation,json=imageClassificationAnnotation,proto3,oneof"` -} - -type AnnotationValue_ImageBoundingPolyAnnotation struct { - ImageBoundingPolyAnnotation *ImageBoundingPolyAnnotation `protobuf:"bytes,2,opt,name=image_bounding_poly_annotation,json=imageBoundingPolyAnnotation,proto3,oneof"` -} - -type AnnotationValue_ImagePolylineAnnotation struct { - ImagePolylineAnnotation *ImagePolylineAnnotation `protobuf:"bytes,8,opt,name=image_polyline_annotation,json=imagePolylineAnnotation,proto3,oneof"` -} - -type AnnotationValue_ImageSegmentationAnnotation struct { - ImageSegmentationAnnotation *ImageSegmentationAnnotation `protobuf:"bytes,9,opt,name=image_segmentation_annotation,json=imageSegmentationAnnotation,proto3,oneof"` -} - -type AnnotationValue_TextClassificationAnnotation struct { - TextClassificationAnnotation *TextClassificationAnnotation `protobuf:"bytes,3,opt,name=text_classification_annotation,json=textClassificationAnnotation,proto3,oneof"` -} - -type AnnotationValue_TextEntityExtractionAnnotation struct { - TextEntityExtractionAnnotation *TextEntityExtractionAnnotation `protobuf:"bytes,10,opt,name=text_entity_extraction_annotation,json=textEntityExtractionAnnotation,proto3,oneof"` -} - -type AnnotationValue_VideoClassificationAnnotation struct { - VideoClassificationAnnotation *VideoClassificationAnnotation `protobuf:"bytes,4,opt,name=video_classification_annotation,json=videoClassificationAnnotation,proto3,oneof"` -} - -type AnnotationValue_VideoObjectTrackingAnnotation struct { - VideoObjectTrackingAnnotation *VideoObjectTrackingAnnotation `protobuf:"bytes,5,opt,name=video_object_tracking_annotation,json=videoObjectTrackingAnnotation,proto3,oneof"` -} - -type AnnotationValue_VideoEventAnnotation struct { - VideoEventAnnotation *VideoEventAnnotation `protobuf:"bytes,6,opt,name=video_event_annotation,json=videoEventAnnotation,proto3,oneof"` -} - -func (*AnnotationValue_ImageClassificationAnnotation) isAnnotationValue_ValueType() {} - -func (*AnnotationValue_ImageBoundingPolyAnnotation) isAnnotationValue_ValueType() {} - -func (*AnnotationValue_ImagePolylineAnnotation) isAnnotationValue_ValueType() {} - -func (*AnnotationValue_ImageSegmentationAnnotation) isAnnotationValue_ValueType() {} - -func (*AnnotationValue_TextClassificationAnnotation) isAnnotationValue_ValueType() {} - -func (*AnnotationValue_TextEntityExtractionAnnotation) isAnnotationValue_ValueType() {} - -func (*AnnotationValue_VideoClassificationAnnotation) isAnnotationValue_ValueType() {} - -func (*AnnotationValue_VideoObjectTrackingAnnotation) isAnnotationValue_ValueType() {} - -func (*AnnotationValue_VideoEventAnnotation) isAnnotationValue_ValueType() {} - -func (m *AnnotationValue) GetValueType() isAnnotationValue_ValueType { - if m != nil { - return m.ValueType - } - return nil -} - -func (m *AnnotationValue) GetImageClassificationAnnotation() *ImageClassificationAnnotation { - if x, ok := m.GetValueType().(*AnnotationValue_ImageClassificationAnnotation); ok { - return x.ImageClassificationAnnotation - } - return nil -} - -func (m *AnnotationValue) GetImageBoundingPolyAnnotation() *ImageBoundingPolyAnnotation { - if x, ok := m.GetValueType().(*AnnotationValue_ImageBoundingPolyAnnotation); ok { - return x.ImageBoundingPolyAnnotation - } - return nil -} - -func (m *AnnotationValue) GetImagePolylineAnnotation() *ImagePolylineAnnotation { - if x, ok := m.GetValueType().(*AnnotationValue_ImagePolylineAnnotation); ok { - return x.ImagePolylineAnnotation - } - return nil -} - -func (m *AnnotationValue) GetImageSegmentationAnnotation() *ImageSegmentationAnnotation { - if x, ok := m.GetValueType().(*AnnotationValue_ImageSegmentationAnnotation); ok { - return x.ImageSegmentationAnnotation - } - return nil -} - -func (m *AnnotationValue) GetTextClassificationAnnotation() *TextClassificationAnnotation { - if x, ok := m.GetValueType().(*AnnotationValue_TextClassificationAnnotation); ok { - return x.TextClassificationAnnotation - } - return nil -} - -func (m *AnnotationValue) GetTextEntityExtractionAnnotation() *TextEntityExtractionAnnotation { - if x, ok := m.GetValueType().(*AnnotationValue_TextEntityExtractionAnnotation); ok { - return x.TextEntityExtractionAnnotation - } - return nil -} - -func (m *AnnotationValue) GetVideoClassificationAnnotation() *VideoClassificationAnnotation { - if x, ok := m.GetValueType().(*AnnotationValue_VideoClassificationAnnotation); ok { - return x.VideoClassificationAnnotation - } - return nil -} - -func (m *AnnotationValue) GetVideoObjectTrackingAnnotation() *VideoObjectTrackingAnnotation { - if x, ok := m.GetValueType().(*AnnotationValue_VideoObjectTrackingAnnotation); ok { - return x.VideoObjectTrackingAnnotation - } - return nil -} - -func (m *AnnotationValue) GetVideoEventAnnotation() *VideoEventAnnotation { - if x, ok := m.GetValueType().(*AnnotationValue_VideoEventAnnotation); ok { - return x.VideoEventAnnotation - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AnnotationValue) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AnnotationValue_ImageClassificationAnnotation)(nil), - (*AnnotationValue_ImageBoundingPolyAnnotation)(nil), - (*AnnotationValue_ImagePolylineAnnotation)(nil), - (*AnnotationValue_ImageSegmentationAnnotation)(nil), - (*AnnotationValue_TextClassificationAnnotation)(nil), - (*AnnotationValue_TextEntityExtractionAnnotation)(nil), - (*AnnotationValue_VideoClassificationAnnotation)(nil), - (*AnnotationValue_VideoObjectTrackingAnnotation)(nil), - (*AnnotationValue_VideoEventAnnotation)(nil), - } -} - -// Image classification annotation definition. -type ImageClassificationAnnotation struct { - // Label of image. - AnnotationSpec *AnnotationSpec `protobuf:"bytes,1,opt,name=annotation_spec,json=annotationSpec,proto3" json:"annotation_spec,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ImageClassificationAnnotation) Reset() { *m = ImageClassificationAnnotation{} } -func (m *ImageClassificationAnnotation) String() string { return proto.CompactTextString(m) } -func (*ImageClassificationAnnotation) ProtoMessage() {} -func (*ImageClassificationAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_4bb97872d232a7f7, []int{2} -} - -func (m *ImageClassificationAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageClassificationAnnotation.Unmarshal(m, b) -} -func (m *ImageClassificationAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageClassificationAnnotation.Marshal(b, m, deterministic) -} -func (m *ImageClassificationAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageClassificationAnnotation.Merge(m, src) -} -func (m *ImageClassificationAnnotation) XXX_Size() int { - return xxx_messageInfo_ImageClassificationAnnotation.Size(m) -} -func (m *ImageClassificationAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_ImageClassificationAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageClassificationAnnotation proto.InternalMessageInfo - -func (m *ImageClassificationAnnotation) GetAnnotationSpec() *AnnotationSpec { - if m != nil { - return m.AnnotationSpec - } - return nil -} - -// A vertex represents a 2D point in the image. -// NOTE: the vertex coordinates are in the same scale as the original image. -type Vertex struct { - // X coordinate. - X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` - // Y coordinate. - Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_4bb97872d232a7f7, []int{3} -} - -func (m *Vertex) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Vertex.Unmarshal(m, b) -} -func (m *Vertex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Vertex.Marshal(b, m, deterministic) -} -func (m *Vertex) XXX_Merge(src proto.Message) { - xxx_messageInfo_Vertex.Merge(m, src) -} -func (m *Vertex) XXX_Size() int { - return xxx_messageInfo_Vertex.Size(m) -} -func (m *Vertex) XXX_DiscardUnknown() { - xxx_messageInfo_Vertex.DiscardUnknown(m) -} - -var xxx_messageInfo_Vertex proto.InternalMessageInfo - -func (m *Vertex) GetX() int32 { - if m != nil { - return m.X - } - return 0 -} - -func (m *Vertex) GetY() int32 { - if m != nil { - return m.Y - } - return 0 -} - -// 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_4bb97872d232a7f7, []int{4} -} - -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 (m *NormalizedVertex) XXX_Merge(src proto.Message) { - xxx_messageInfo_NormalizedVertex.Merge(m, 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 -} - -// A bounding polygon in the image. -type BoundingPoly struct { - // The bounding polygon vertices. - Vertices []*Vertex `protobuf:"bytes,1,rep,name=vertices,proto3" json:"vertices,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_4bb97872d232a7f7, []int{5} -} - -func (m *BoundingPoly) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BoundingPoly.Unmarshal(m, b) -} -func (m *BoundingPoly) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BoundingPoly.Marshal(b, m, deterministic) -} -func (m *BoundingPoly) XXX_Merge(src proto.Message) { - xxx_messageInfo_BoundingPoly.Merge(m, src) -} -func (m *BoundingPoly) XXX_Size() int { - return xxx_messageInfo_BoundingPoly.Size(m) -} -func (m *BoundingPoly) XXX_DiscardUnknown() { - xxx_messageInfo_BoundingPoly.DiscardUnknown(m) -} - -var xxx_messageInfo_BoundingPoly proto.InternalMessageInfo - -func (m *BoundingPoly) GetVertices() []*Vertex { - if m != nil { - return m.Vertices - } - return nil -} - -// Normalized bounding polygon. -type NormalizedBoundingPoly struct { - // The bounding polygon normalized vertices. - NormalizedVertices []*NormalizedVertex `protobuf:"bytes,1,rep,name=normalized_vertices,json=normalizedVertices,proto3" json:"normalized_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_4bb97872d232a7f7, []int{6} -} - -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 (m *NormalizedBoundingPoly) XXX_Merge(src proto.Message) { - xxx_messageInfo_NormalizedBoundingPoly.Merge(m, 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) GetNormalizedVertices() []*NormalizedVertex { - if m != nil { - return m.NormalizedVertices - } - return nil -} - -// Image bounding poly annotation. It represents a polygon including -// bounding box in the image. -type ImageBoundingPolyAnnotation struct { - // The region of the polygon. If it is a bounding box, it is guaranteed to be - // four points. - // - // Types that are valid to be assigned to BoundedArea: - // *ImageBoundingPolyAnnotation_BoundingPoly - // *ImageBoundingPolyAnnotation_NormalizedBoundingPoly - BoundedArea isImageBoundingPolyAnnotation_BoundedArea `protobuf_oneof:"bounded_area"` - // Label of object in this bounding polygon. - AnnotationSpec *AnnotationSpec `protobuf:"bytes,1,opt,name=annotation_spec,json=annotationSpec,proto3" json:"annotation_spec,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ImageBoundingPolyAnnotation) Reset() { *m = ImageBoundingPolyAnnotation{} } -func (m *ImageBoundingPolyAnnotation) String() string { return proto.CompactTextString(m) } -func (*ImageBoundingPolyAnnotation) ProtoMessage() {} -func (*ImageBoundingPolyAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_4bb97872d232a7f7, []int{7} -} - -func (m *ImageBoundingPolyAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageBoundingPolyAnnotation.Unmarshal(m, b) -} -func (m *ImageBoundingPolyAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageBoundingPolyAnnotation.Marshal(b, m, deterministic) -} -func (m *ImageBoundingPolyAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageBoundingPolyAnnotation.Merge(m, src) -} -func (m *ImageBoundingPolyAnnotation) XXX_Size() int { - return xxx_messageInfo_ImageBoundingPolyAnnotation.Size(m) -} -func (m *ImageBoundingPolyAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_ImageBoundingPolyAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageBoundingPolyAnnotation proto.InternalMessageInfo - -type isImageBoundingPolyAnnotation_BoundedArea interface { - isImageBoundingPolyAnnotation_BoundedArea() -} - -type ImageBoundingPolyAnnotation_BoundingPoly struct { - BoundingPoly *BoundingPoly `protobuf:"bytes,2,opt,name=bounding_poly,json=boundingPoly,proto3,oneof"` -} - -type ImageBoundingPolyAnnotation_NormalizedBoundingPoly struct { - NormalizedBoundingPoly *NormalizedBoundingPoly `protobuf:"bytes,3,opt,name=normalized_bounding_poly,json=normalizedBoundingPoly,proto3,oneof"` -} - -func (*ImageBoundingPolyAnnotation_BoundingPoly) isImageBoundingPolyAnnotation_BoundedArea() {} - -func (*ImageBoundingPolyAnnotation_NormalizedBoundingPoly) isImageBoundingPolyAnnotation_BoundedArea() { -} - -func (m *ImageBoundingPolyAnnotation) GetBoundedArea() isImageBoundingPolyAnnotation_BoundedArea { - if m != nil { - return m.BoundedArea - } - return nil -} - -func (m *ImageBoundingPolyAnnotation) GetBoundingPoly() *BoundingPoly { - if x, ok := m.GetBoundedArea().(*ImageBoundingPolyAnnotation_BoundingPoly); ok { - return x.BoundingPoly - } - return nil -} - -func (m *ImageBoundingPolyAnnotation) GetNormalizedBoundingPoly() *NormalizedBoundingPoly { - if x, ok := m.GetBoundedArea().(*ImageBoundingPolyAnnotation_NormalizedBoundingPoly); ok { - return x.NormalizedBoundingPoly - } - return nil -} - -func (m *ImageBoundingPolyAnnotation) GetAnnotationSpec() *AnnotationSpec { - if m != nil { - return m.AnnotationSpec - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ImageBoundingPolyAnnotation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ImageBoundingPolyAnnotation_BoundingPoly)(nil), - (*ImageBoundingPolyAnnotation_NormalizedBoundingPoly)(nil), - } -} - -// A line with multiple line segments. -type Polyline struct { - // The polyline vertices. - Vertices []*Vertex `protobuf:"bytes,1,rep,name=vertices,proto3" json:"vertices,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Polyline) Reset() { *m = Polyline{} } -func (m *Polyline) String() string { return proto.CompactTextString(m) } -func (*Polyline) ProtoMessage() {} -func (*Polyline) Descriptor() ([]byte, []int) { - return fileDescriptor_4bb97872d232a7f7, []int{8} -} - -func (m *Polyline) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Polyline.Unmarshal(m, b) -} -func (m *Polyline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Polyline.Marshal(b, m, deterministic) -} -func (m *Polyline) XXX_Merge(src proto.Message) { - xxx_messageInfo_Polyline.Merge(m, src) -} -func (m *Polyline) XXX_Size() int { - return xxx_messageInfo_Polyline.Size(m) -} -func (m *Polyline) XXX_DiscardUnknown() { - xxx_messageInfo_Polyline.DiscardUnknown(m) -} - -var xxx_messageInfo_Polyline proto.InternalMessageInfo - -func (m *Polyline) GetVertices() []*Vertex { - if m != nil { - return m.Vertices - } - return nil -} - -// Normalized polyline. -type NormalizedPolyline struct { - // The normalized polyline vertices. - NormalizedVertices []*NormalizedVertex `protobuf:"bytes,1,rep,name=normalized_vertices,json=normalizedVertices,proto3" json:"normalized_vertices,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *NormalizedPolyline) Reset() { *m = NormalizedPolyline{} } -func (m *NormalizedPolyline) String() string { return proto.CompactTextString(m) } -func (*NormalizedPolyline) ProtoMessage() {} -func (*NormalizedPolyline) Descriptor() ([]byte, []int) { - return fileDescriptor_4bb97872d232a7f7, []int{9} -} - -func (m *NormalizedPolyline) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NormalizedPolyline.Unmarshal(m, b) -} -func (m *NormalizedPolyline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NormalizedPolyline.Marshal(b, m, deterministic) -} -func (m *NormalizedPolyline) XXX_Merge(src proto.Message) { - xxx_messageInfo_NormalizedPolyline.Merge(m, src) -} -func (m *NormalizedPolyline) XXX_Size() int { - return xxx_messageInfo_NormalizedPolyline.Size(m) -} -func (m *NormalizedPolyline) XXX_DiscardUnknown() { - xxx_messageInfo_NormalizedPolyline.DiscardUnknown(m) -} - -var xxx_messageInfo_NormalizedPolyline proto.InternalMessageInfo - -func (m *NormalizedPolyline) GetNormalizedVertices() []*NormalizedVertex { - if m != nil { - return m.NormalizedVertices - } - return nil -} - -// A polyline for the image annotation. -type ImagePolylineAnnotation struct { - // Types that are valid to be assigned to Poly: - // *ImagePolylineAnnotation_Polyline - // *ImagePolylineAnnotation_NormalizedPolyline - Poly isImagePolylineAnnotation_Poly `protobuf_oneof:"poly"` - // Label of this polyline. - AnnotationSpec *AnnotationSpec `protobuf:"bytes,1,opt,name=annotation_spec,json=annotationSpec,proto3" json:"annotation_spec,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ImagePolylineAnnotation) Reset() { *m = ImagePolylineAnnotation{} } -func (m *ImagePolylineAnnotation) String() string { return proto.CompactTextString(m) } -func (*ImagePolylineAnnotation) ProtoMessage() {} -func (*ImagePolylineAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_4bb97872d232a7f7, []int{10} -} - -func (m *ImagePolylineAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImagePolylineAnnotation.Unmarshal(m, b) -} -func (m *ImagePolylineAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImagePolylineAnnotation.Marshal(b, m, deterministic) -} -func (m *ImagePolylineAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImagePolylineAnnotation.Merge(m, src) -} -func (m *ImagePolylineAnnotation) XXX_Size() int { - return xxx_messageInfo_ImagePolylineAnnotation.Size(m) -} -func (m *ImagePolylineAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_ImagePolylineAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_ImagePolylineAnnotation proto.InternalMessageInfo - -type isImagePolylineAnnotation_Poly interface { - isImagePolylineAnnotation_Poly() -} - -type ImagePolylineAnnotation_Polyline struct { - Polyline *Polyline `protobuf:"bytes,2,opt,name=polyline,proto3,oneof"` -} - -type ImagePolylineAnnotation_NormalizedPolyline struct { - NormalizedPolyline *NormalizedPolyline `protobuf:"bytes,3,opt,name=normalized_polyline,json=normalizedPolyline,proto3,oneof"` -} - -func (*ImagePolylineAnnotation_Polyline) isImagePolylineAnnotation_Poly() {} - -func (*ImagePolylineAnnotation_NormalizedPolyline) isImagePolylineAnnotation_Poly() {} - -func (m *ImagePolylineAnnotation) GetPoly() isImagePolylineAnnotation_Poly { - if m != nil { - return m.Poly - } - return nil -} - -func (m *ImagePolylineAnnotation) GetPolyline() *Polyline { - if x, ok := m.GetPoly().(*ImagePolylineAnnotation_Polyline); ok { - return x.Polyline - } - return nil -} - -func (m *ImagePolylineAnnotation) GetNormalizedPolyline() *NormalizedPolyline { - if x, ok := m.GetPoly().(*ImagePolylineAnnotation_NormalizedPolyline); ok { - return x.NormalizedPolyline - } - return nil -} - -func (m *ImagePolylineAnnotation) GetAnnotationSpec() *AnnotationSpec { - if m != nil { - return m.AnnotationSpec - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ImagePolylineAnnotation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ImagePolylineAnnotation_Polyline)(nil), - (*ImagePolylineAnnotation_NormalizedPolyline)(nil), - } -} - -// Image segmentation annotation. -type ImageSegmentationAnnotation struct { - // The mapping between rgb color and annotation spec. The key is the rgb - // color represented in format of rgb(0, 0, 0). The value is the - // AnnotationSpec. - AnnotationColors map[string]*AnnotationSpec `protobuf:"bytes,1,rep,name=annotation_colors,json=annotationColors,proto3" json:"annotation_colors,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Image format. - MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - // A byte string of a full image's color map. - ImageBytes []byte `protobuf:"bytes,3,opt,name=image_bytes,json=imageBytes,proto3" json:"image_bytes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ImageSegmentationAnnotation) Reset() { *m = ImageSegmentationAnnotation{} } -func (m *ImageSegmentationAnnotation) String() string { return proto.CompactTextString(m) } -func (*ImageSegmentationAnnotation) ProtoMessage() {} -func (*ImageSegmentationAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_4bb97872d232a7f7, []int{11} -} - -func (m *ImageSegmentationAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageSegmentationAnnotation.Unmarshal(m, b) -} -func (m *ImageSegmentationAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageSegmentationAnnotation.Marshal(b, m, deterministic) -} -func (m *ImageSegmentationAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageSegmentationAnnotation.Merge(m, src) -} -func (m *ImageSegmentationAnnotation) XXX_Size() int { - return xxx_messageInfo_ImageSegmentationAnnotation.Size(m) -} -func (m *ImageSegmentationAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_ImageSegmentationAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageSegmentationAnnotation proto.InternalMessageInfo - -func (m *ImageSegmentationAnnotation) GetAnnotationColors() map[string]*AnnotationSpec { - if m != nil { - return m.AnnotationColors - } - return nil -} - -func (m *ImageSegmentationAnnotation) GetMimeType() string { - if m != nil { - return m.MimeType - } - return "" -} - -func (m *ImageSegmentationAnnotation) GetImageBytes() []byte { - if m != nil { - return m.ImageBytes - } - return nil -} - -// Text classification annotation. -type TextClassificationAnnotation struct { - // Label of the text. - AnnotationSpec *AnnotationSpec `protobuf:"bytes,1,opt,name=annotation_spec,json=annotationSpec,proto3" json:"annotation_spec,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TextClassificationAnnotation) Reset() { *m = TextClassificationAnnotation{} } -func (m *TextClassificationAnnotation) String() string { return proto.CompactTextString(m) } -func (*TextClassificationAnnotation) ProtoMessage() {} -func (*TextClassificationAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_4bb97872d232a7f7, []int{12} -} - -func (m *TextClassificationAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextClassificationAnnotation.Unmarshal(m, b) -} -func (m *TextClassificationAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextClassificationAnnotation.Marshal(b, m, deterministic) -} -func (m *TextClassificationAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextClassificationAnnotation.Merge(m, src) -} -func (m *TextClassificationAnnotation) XXX_Size() int { - return xxx_messageInfo_TextClassificationAnnotation.Size(m) -} -func (m *TextClassificationAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_TextClassificationAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_TextClassificationAnnotation proto.InternalMessageInfo - -func (m *TextClassificationAnnotation) GetAnnotationSpec() *AnnotationSpec { - if m != nil { - return m.AnnotationSpec - } - return nil -} - -// Text entity extraction annotation. -type TextEntityExtractionAnnotation struct { - // Label of the text entities. - AnnotationSpec *AnnotationSpec `protobuf:"bytes,1,opt,name=annotation_spec,json=annotationSpec,proto3" json:"annotation_spec,omitempty"` - // Position of the entity. - SequentialSegment *SequentialSegment `protobuf:"bytes,2,opt,name=sequential_segment,json=sequentialSegment,proto3" json:"sequential_segment,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TextEntityExtractionAnnotation) Reset() { *m = TextEntityExtractionAnnotation{} } -func (m *TextEntityExtractionAnnotation) String() string { return proto.CompactTextString(m) } -func (*TextEntityExtractionAnnotation) ProtoMessage() {} -func (*TextEntityExtractionAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_4bb97872d232a7f7, []int{13} -} - -func (m *TextEntityExtractionAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextEntityExtractionAnnotation.Unmarshal(m, b) -} -func (m *TextEntityExtractionAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextEntityExtractionAnnotation.Marshal(b, m, deterministic) -} -func (m *TextEntityExtractionAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextEntityExtractionAnnotation.Merge(m, src) -} -func (m *TextEntityExtractionAnnotation) XXX_Size() int { - return xxx_messageInfo_TextEntityExtractionAnnotation.Size(m) -} -func (m *TextEntityExtractionAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_TextEntityExtractionAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_TextEntityExtractionAnnotation proto.InternalMessageInfo - -func (m *TextEntityExtractionAnnotation) GetAnnotationSpec() *AnnotationSpec { - if m != nil { - return m.AnnotationSpec - } - return nil -} - -func (m *TextEntityExtractionAnnotation) GetSequentialSegment() *SequentialSegment { - if m != nil { - return m.SequentialSegment - } - return nil -} - -// Start and end position in a sequence (e.g. text segment). -type SequentialSegment struct { - // Start position (inclusive). - Start int32 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` - // End position (exclusive). - End int32 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SequentialSegment) Reset() { *m = SequentialSegment{} } -func (m *SequentialSegment) String() string { return proto.CompactTextString(m) } -func (*SequentialSegment) ProtoMessage() {} -func (*SequentialSegment) Descriptor() ([]byte, []int) { - return fileDescriptor_4bb97872d232a7f7, []int{14} -} - -func (m *SequentialSegment) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SequentialSegment.Unmarshal(m, b) -} -func (m *SequentialSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SequentialSegment.Marshal(b, m, deterministic) -} -func (m *SequentialSegment) XXX_Merge(src proto.Message) { - xxx_messageInfo_SequentialSegment.Merge(m, src) -} -func (m *SequentialSegment) XXX_Size() int { - return xxx_messageInfo_SequentialSegment.Size(m) -} -func (m *SequentialSegment) XXX_DiscardUnknown() { - xxx_messageInfo_SequentialSegment.DiscardUnknown(m) -} - -var xxx_messageInfo_SequentialSegment proto.InternalMessageInfo - -func (m *SequentialSegment) GetStart() int32 { - if m != nil { - return m.Start - } - return 0 -} - -func (m *SequentialSegment) GetEnd() int32 { - if m != nil { - return m.End - } - return 0 -} - -// A time period inside of an example that has a time dimension (e.g. video). -type TimeSegment struct { - // Start of the time segment (inclusive), represented as the duration since - // the example start. - StartTimeOffset *duration.Duration `protobuf:"bytes,1,opt,name=start_time_offset,json=startTimeOffset,proto3" json:"start_time_offset,omitempty"` - // End of the time segment (exclusive), represented as the duration since the - // example start. - 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 *TimeSegment) Reset() { *m = TimeSegment{} } -func (m *TimeSegment) String() string { return proto.CompactTextString(m) } -func (*TimeSegment) ProtoMessage() {} -func (*TimeSegment) Descriptor() ([]byte, []int) { - return fileDescriptor_4bb97872d232a7f7, []int{15} -} - -func (m *TimeSegment) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TimeSegment.Unmarshal(m, b) -} -func (m *TimeSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TimeSegment.Marshal(b, m, deterministic) -} -func (m *TimeSegment) XXX_Merge(src proto.Message) { - xxx_messageInfo_TimeSegment.Merge(m, src) -} -func (m *TimeSegment) XXX_Size() int { - return xxx_messageInfo_TimeSegment.Size(m) -} -func (m *TimeSegment) XXX_DiscardUnknown() { - xxx_messageInfo_TimeSegment.DiscardUnknown(m) -} - -var xxx_messageInfo_TimeSegment proto.InternalMessageInfo - -func (m *TimeSegment) GetStartTimeOffset() *duration.Duration { - if m != nil { - return m.StartTimeOffset - } - return nil -} - -func (m *TimeSegment) GetEndTimeOffset() *duration.Duration { - if m != nil { - return m.EndTimeOffset - } - return nil -} - -// Video classification annotation. -type VideoClassificationAnnotation struct { - // The time segment of the video to which the annotation applies. - TimeSegment *TimeSegment `protobuf:"bytes,1,opt,name=time_segment,json=timeSegment,proto3" json:"time_segment,omitempty"` - // Label of the segment specified by time_segment. - AnnotationSpec *AnnotationSpec `protobuf:"bytes,2,opt,name=annotation_spec,json=annotationSpec,proto3" json:"annotation_spec,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VideoClassificationAnnotation) Reset() { *m = VideoClassificationAnnotation{} } -func (m *VideoClassificationAnnotation) String() string { return proto.CompactTextString(m) } -func (*VideoClassificationAnnotation) ProtoMessage() {} -func (*VideoClassificationAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_4bb97872d232a7f7, []int{16} -} - -func (m *VideoClassificationAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VideoClassificationAnnotation.Unmarshal(m, b) -} -func (m *VideoClassificationAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VideoClassificationAnnotation.Marshal(b, m, deterministic) -} -func (m *VideoClassificationAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoClassificationAnnotation.Merge(m, src) -} -func (m *VideoClassificationAnnotation) XXX_Size() int { - return xxx_messageInfo_VideoClassificationAnnotation.Size(m) -} -func (m *VideoClassificationAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_VideoClassificationAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_VideoClassificationAnnotation proto.InternalMessageInfo - -func (m *VideoClassificationAnnotation) GetTimeSegment() *TimeSegment { - if m != nil { - return m.TimeSegment - } - return nil -} - -func (m *VideoClassificationAnnotation) GetAnnotationSpec() *AnnotationSpec { - if m != nil { - return m.AnnotationSpec - } - return nil -} - -// Video frame level annotation for object detection and tracking. -type ObjectTrackingFrame struct { - // The bounding box location of this object track for the frame. - // - // Types that are valid to be assigned to BoundedArea: - // *ObjectTrackingFrame_BoundingPoly - // *ObjectTrackingFrame_NormalizedBoundingPoly - BoundedArea isObjectTrackingFrame_BoundedArea `protobuf_oneof:"bounded_area"` - // The time offset of this frame relative to the beginning of the video. - TimeOffset *duration.Duration `protobuf:"bytes,3,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_4bb97872d232a7f7, []int{17} -} - -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 (m *ObjectTrackingFrame) XXX_Merge(src proto.Message) { - xxx_messageInfo_ObjectTrackingFrame.Merge(m, 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 - -type isObjectTrackingFrame_BoundedArea interface { - isObjectTrackingFrame_BoundedArea() -} - -type ObjectTrackingFrame_BoundingPoly struct { - BoundingPoly *BoundingPoly `protobuf:"bytes,1,opt,name=bounding_poly,json=boundingPoly,proto3,oneof"` -} - -type ObjectTrackingFrame_NormalizedBoundingPoly struct { - NormalizedBoundingPoly *NormalizedBoundingPoly `protobuf:"bytes,2,opt,name=normalized_bounding_poly,json=normalizedBoundingPoly,proto3,oneof"` -} - -func (*ObjectTrackingFrame_BoundingPoly) isObjectTrackingFrame_BoundedArea() {} - -func (*ObjectTrackingFrame_NormalizedBoundingPoly) isObjectTrackingFrame_BoundedArea() {} - -func (m *ObjectTrackingFrame) GetBoundedArea() isObjectTrackingFrame_BoundedArea { - if m != nil { - return m.BoundedArea - } - return nil -} - -func (m *ObjectTrackingFrame) GetBoundingPoly() *BoundingPoly { - if x, ok := m.GetBoundedArea().(*ObjectTrackingFrame_BoundingPoly); ok { - return x.BoundingPoly - } - return nil -} - -func (m *ObjectTrackingFrame) GetNormalizedBoundingPoly() *NormalizedBoundingPoly { - if x, ok := m.GetBoundedArea().(*ObjectTrackingFrame_NormalizedBoundingPoly); ok { - return x.NormalizedBoundingPoly - } - return nil -} - -func (m *ObjectTrackingFrame) GetTimeOffset() *duration.Duration { - if m != nil { - return m.TimeOffset - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ObjectTrackingFrame) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ObjectTrackingFrame_BoundingPoly)(nil), - (*ObjectTrackingFrame_NormalizedBoundingPoly)(nil), - } -} - -// Video object tracking annotation. -type VideoObjectTrackingAnnotation struct { - // Label of the object tracked in this annotation. - AnnotationSpec *AnnotationSpec `protobuf:"bytes,1,opt,name=annotation_spec,json=annotationSpec,proto3" json:"annotation_spec,omitempty"` - // The time segment of the video to which object tracking applies. - TimeSegment *TimeSegment `protobuf:"bytes,2,opt,name=time_segment,json=timeSegment,proto3" json:"time_segment,omitempty"` - // The list of frames where this object track appears. - ObjectTrackingFrames []*ObjectTrackingFrame `protobuf:"bytes,3,rep,name=object_tracking_frames,json=objectTrackingFrames,proto3" json:"object_tracking_frames,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VideoObjectTrackingAnnotation) Reset() { *m = VideoObjectTrackingAnnotation{} } -func (m *VideoObjectTrackingAnnotation) String() string { return proto.CompactTextString(m) } -func (*VideoObjectTrackingAnnotation) ProtoMessage() {} -func (*VideoObjectTrackingAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_4bb97872d232a7f7, []int{18} -} - -func (m *VideoObjectTrackingAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VideoObjectTrackingAnnotation.Unmarshal(m, b) -} -func (m *VideoObjectTrackingAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VideoObjectTrackingAnnotation.Marshal(b, m, deterministic) -} -func (m *VideoObjectTrackingAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoObjectTrackingAnnotation.Merge(m, src) -} -func (m *VideoObjectTrackingAnnotation) XXX_Size() int { - return xxx_messageInfo_VideoObjectTrackingAnnotation.Size(m) -} -func (m *VideoObjectTrackingAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_VideoObjectTrackingAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_VideoObjectTrackingAnnotation proto.InternalMessageInfo - -func (m *VideoObjectTrackingAnnotation) GetAnnotationSpec() *AnnotationSpec { - if m != nil { - return m.AnnotationSpec - } - return nil -} - -func (m *VideoObjectTrackingAnnotation) GetTimeSegment() *TimeSegment { - if m != nil { - return m.TimeSegment - } - return nil -} - -func (m *VideoObjectTrackingAnnotation) GetObjectTrackingFrames() []*ObjectTrackingFrame { - if m != nil { - return m.ObjectTrackingFrames - } - return nil -} - -// Video event annotation. -type VideoEventAnnotation struct { - // Label of the event in this annotation. - AnnotationSpec *AnnotationSpec `protobuf:"bytes,1,opt,name=annotation_spec,json=annotationSpec,proto3" json:"annotation_spec,omitempty"` - // The time segment of the video to which the annotation applies. - TimeSegment *TimeSegment `protobuf:"bytes,2,opt,name=time_segment,json=timeSegment,proto3" json:"time_segment,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VideoEventAnnotation) Reset() { *m = VideoEventAnnotation{} } -func (m *VideoEventAnnotation) String() string { return proto.CompactTextString(m) } -func (*VideoEventAnnotation) ProtoMessage() {} -func (*VideoEventAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_4bb97872d232a7f7, []int{19} -} - -func (m *VideoEventAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VideoEventAnnotation.Unmarshal(m, b) -} -func (m *VideoEventAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VideoEventAnnotation.Marshal(b, m, deterministic) -} -func (m *VideoEventAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoEventAnnotation.Merge(m, src) -} -func (m *VideoEventAnnotation) XXX_Size() int { - return xxx_messageInfo_VideoEventAnnotation.Size(m) -} -func (m *VideoEventAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_VideoEventAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_VideoEventAnnotation proto.InternalMessageInfo - -func (m *VideoEventAnnotation) GetAnnotationSpec() *AnnotationSpec { - if m != nil { - return m.AnnotationSpec - } - return nil -} - -func (m *VideoEventAnnotation) GetTimeSegment() *TimeSegment { - if m != nil { - return m.TimeSegment - } - return nil -} - -// Additional information associated with the annotation. -type AnnotationMetadata struct { - // Metadata related to human labeling. - OperatorMetadata *OperatorMetadata `protobuf:"bytes,2,opt,name=operator_metadata,json=operatorMetadata,proto3" json:"operator_metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AnnotationMetadata) Reset() { *m = AnnotationMetadata{} } -func (m *AnnotationMetadata) String() string { return proto.CompactTextString(m) } -func (*AnnotationMetadata) ProtoMessage() {} -func (*AnnotationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_4bb97872d232a7f7, []int{20} -} - -func (m *AnnotationMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotationMetadata.Unmarshal(m, b) -} -func (m *AnnotationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotationMetadata.Marshal(b, m, deterministic) -} -func (m *AnnotationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotationMetadata.Merge(m, src) -} -func (m *AnnotationMetadata) XXX_Size() int { - return xxx_messageInfo_AnnotationMetadata.Size(m) -} -func (m *AnnotationMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotationMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotationMetadata proto.InternalMessageInfo - -func (m *AnnotationMetadata) GetOperatorMetadata() *OperatorMetadata { - if m != nil { - return m.OperatorMetadata - } - return nil -} - -// General information useful for labels coming from contributors. -type OperatorMetadata struct { - // Confidence score corresponding to a label. For examle, if 3 contributors - // have answered the question and 2 of them agree on the final label, the - // confidence score will be 0.67 (2/3). - Score float32 `protobuf:"fixed32,1,opt,name=score,proto3" json:"score,omitempty"` - // The total number of contributors that answer this question. - TotalVotes int32 `protobuf:"varint,2,opt,name=total_votes,json=totalVotes,proto3" json:"total_votes,omitempty"` - // The total number of contributors that choose this label. - LabelVotes int32 `protobuf:"varint,3,opt,name=label_votes,json=labelVotes,proto3" json:"label_votes,omitempty"` - // Comments from contributors. - Comments []string `protobuf:"bytes,4,rep,name=comments,proto3" json:"comments,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OperatorMetadata) Reset() { *m = OperatorMetadata{} } -func (m *OperatorMetadata) String() string { return proto.CompactTextString(m) } -func (*OperatorMetadata) ProtoMessage() {} -func (*OperatorMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_4bb97872d232a7f7, []int{21} -} - -func (m *OperatorMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OperatorMetadata.Unmarshal(m, b) -} -func (m *OperatorMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OperatorMetadata.Marshal(b, m, deterministic) -} -func (m *OperatorMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperatorMetadata.Merge(m, src) -} -func (m *OperatorMetadata) XXX_Size() int { - return xxx_messageInfo_OperatorMetadata.Size(m) -} -func (m *OperatorMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_OperatorMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_OperatorMetadata proto.InternalMessageInfo - -func (m *OperatorMetadata) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -func (m *OperatorMetadata) GetTotalVotes() int32 { - if m != nil { - return m.TotalVotes - } - return 0 -} - -func (m *OperatorMetadata) GetLabelVotes() int32 { - if m != nil { - return m.LabelVotes - } - return 0 -} - -func (m *OperatorMetadata) GetComments() []string { - if m != nil { - return m.Comments - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.datalabeling.v1beta1.AnnotationSource", AnnotationSource_name, AnnotationSource_value) - proto.RegisterEnum("google.cloud.datalabeling.v1beta1.AnnotationSentiment", AnnotationSentiment_name, AnnotationSentiment_value) - proto.RegisterEnum("google.cloud.datalabeling.v1beta1.AnnotationType", AnnotationType_name, AnnotationType_value) - proto.RegisterType((*Annotation)(nil), "google.cloud.datalabeling.v1beta1.Annotation") - proto.RegisterType((*AnnotationValue)(nil), "google.cloud.datalabeling.v1beta1.AnnotationValue") - proto.RegisterType((*ImageClassificationAnnotation)(nil), "google.cloud.datalabeling.v1beta1.ImageClassificationAnnotation") - proto.RegisterType((*Vertex)(nil), "google.cloud.datalabeling.v1beta1.Vertex") - proto.RegisterType((*NormalizedVertex)(nil), "google.cloud.datalabeling.v1beta1.NormalizedVertex") - proto.RegisterType((*BoundingPoly)(nil), "google.cloud.datalabeling.v1beta1.BoundingPoly") - proto.RegisterType((*NormalizedBoundingPoly)(nil), "google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly") - proto.RegisterType((*ImageBoundingPolyAnnotation)(nil), "google.cloud.datalabeling.v1beta1.ImageBoundingPolyAnnotation") - proto.RegisterType((*Polyline)(nil), "google.cloud.datalabeling.v1beta1.Polyline") - proto.RegisterType((*NormalizedPolyline)(nil), "google.cloud.datalabeling.v1beta1.NormalizedPolyline") - proto.RegisterType((*ImagePolylineAnnotation)(nil), "google.cloud.datalabeling.v1beta1.ImagePolylineAnnotation") - proto.RegisterType((*ImageSegmentationAnnotation)(nil), "google.cloud.datalabeling.v1beta1.ImageSegmentationAnnotation") - proto.RegisterMapType((map[string]*AnnotationSpec)(nil), "google.cloud.datalabeling.v1beta1.ImageSegmentationAnnotation.AnnotationColorsEntry") - proto.RegisterType((*TextClassificationAnnotation)(nil), "google.cloud.datalabeling.v1beta1.TextClassificationAnnotation") - proto.RegisterType((*TextEntityExtractionAnnotation)(nil), "google.cloud.datalabeling.v1beta1.TextEntityExtractionAnnotation") - proto.RegisterType((*SequentialSegment)(nil), "google.cloud.datalabeling.v1beta1.SequentialSegment") - proto.RegisterType((*TimeSegment)(nil), "google.cloud.datalabeling.v1beta1.TimeSegment") - proto.RegisterType((*VideoClassificationAnnotation)(nil), "google.cloud.datalabeling.v1beta1.VideoClassificationAnnotation") - proto.RegisterType((*ObjectTrackingFrame)(nil), "google.cloud.datalabeling.v1beta1.ObjectTrackingFrame") - proto.RegisterType((*VideoObjectTrackingAnnotation)(nil), "google.cloud.datalabeling.v1beta1.VideoObjectTrackingAnnotation") - proto.RegisterType((*VideoEventAnnotation)(nil), "google.cloud.datalabeling.v1beta1.VideoEventAnnotation") - proto.RegisterType((*AnnotationMetadata)(nil), "google.cloud.datalabeling.v1beta1.AnnotationMetadata") - proto.RegisterType((*OperatorMetadata)(nil), "google.cloud.datalabeling.v1beta1.OperatorMetadata") -} - -func init() { - proto.RegisterFile("google/cloud/datalabeling/v1beta1/annotation.proto", fileDescriptor_4bb97872d232a7f7) -} - -var fileDescriptor_4bb97872d232a7f7 = []byte{ - // 1638 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x58, 0x5f, 0x6f, 0xdb, 0x46, - 0x12, 0x37, 0x29, 0xdb, 0x90, 0x47, 0x8a, 0x2d, 0xaf, 0x7d, 0x8e, 0x62, 0xc7, 0x8e, 0xcd, 0x4b, - 0x0e, 0x8e, 0x0f, 0x90, 0x10, 0xe7, 0x72, 0x7f, 0x12, 0xe0, 0xee, 0x64, 0x99, 0xb1, 0x75, 0x67, - 0x8b, 0x0a, 0x45, 0xab, 0x49, 0x80, 0x82, 0xa1, 0xa5, 0xb5, 0xca, 0x86, 0x22, 0x55, 0x92, 0x12, - 0xac, 0x14, 0x28, 0x50, 0xa0, 0x7f, 0x80, 0x16, 0x28, 0xd0, 0xa7, 0x7e, 0x8d, 0xa2, 0xe8, 0x63, - 0x5f, 0xfb, 0xda, 0xd7, 0xf6, 0xa1, 0x2f, 0xfd, 0x26, 0xc5, 0x2e, 0x29, 0x69, 0x49, 0xc9, 0x34, - 0xd5, 0xc4, 0x05, 0xfa, 0x46, 0xce, 0xce, 0xfc, 0xe6, 0x37, 0xb3, 0xc3, 0x9d, 0x59, 0xc2, 0x6e, - 0xd3, 0xb2, 0x9a, 0x06, 0xce, 0xd7, 0x0d, 0xab, 0xd3, 0xc8, 0x37, 0x34, 0x57, 0x33, 0x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c, 0xee, 0xd4, - 0xad, 0xd6, 0xe5, 0x9f, 0x61, 0x85, 0x7b, 0x7e, 0xec, 0x2b, 0x35, 0x2d, 0x43, 0x33, 0x9b, 0x39, - 0xcb, 0x6e, 0xe6, 0x9b, 0xd8, 0xa4, 0x8d, 0x22, 0xef, 0x2d, 0x69, 0x6d, 0xdd, 0x89, 0xf8, 0x1d, - 0xff, 0x88, 0x15, 0x9e, 0xce, 0x52, 0xcb, 0xfb, 0xbf, 0x06, 0x00, 0x00, 0xff, 0xff, 0x65, 0x1e, - 0xc8, 0xba, 0x79, 0x18, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/annotation_spec_set.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/annotation_spec_set.pb.go deleted file mode 100644 index 6b15ddd7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/annotation_spec_set.pb.go +++ /dev/null @@ -1,189 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/datalabeling/v1beta1/annotation_spec_set.proto - -package datalabeling - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// AnnotationSpecSet is a collection of label definitions. For example, in -// image classification tasks, we define a set of labels, this set is called -// AnnotationSpecSet. AnnotationSpecSet is immutable upon creation. -type AnnotationSpecSet struct { - // Output only. AnnotationSpecSet resource name, format: - // projects/{project_id}/annotationSpecSets/{annotation_spec_set_id} - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The display name for AnnotationSpecSet defined by user. - // Maximum of 64 characters. - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Optional. User-provided description of the annotation specification set. - // The description can be up to 10000 characters long. - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - // Required. The actual spec set defined by the users. - AnnotationSpecs []*AnnotationSpec `protobuf:"bytes,4,rep,name=annotation_specs,json=annotationSpecs,proto3" json:"annotation_specs,omitempty"` - // Output only. The names of any related resources that are blocking changes - // to the annotation spec set. - BlockingResources []string `protobuf:"bytes,5,rep,name=blocking_resources,json=blockingResources,proto3" json:"blocking_resources,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AnnotationSpecSet) Reset() { *m = AnnotationSpecSet{} } -func (m *AnnotationSpecSet) String() string { return proto.CompactTextString(m) } -func (*AnnotationSpecSet) ProtoMessage() {} -func (*AnnotationSpecSet) Descriptor() ([]byte, []int) { - return fileDescriptor_ee18bab2b343845e, []int{0} -} - -func (m *AnnotationSpecSet) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotationSpecSet.Unmarshal(m, b) -} -func (m *AnnotationSpecSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotationSpecSet.Marshal(b, m, deterministic) -} -func (m *AnnotationSpecSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotationSpecSet.Merge(m, src) -} -func (m *AnnotationSpecSet) XXX_Size() int { - return xxx_messageInfo_AnnotationSpecSet.Size(m) -} -func (m *AnnotationSpecSet) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotationSpecSet.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotationSpecSet proto.InternalMessageInfo - -func (m *AnnotationSpecSet) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *AnnotationSpecSet) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *AnnotationSpecSet) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *AnnotationSpecSet) GetAnnotationSpecs() []*AnnotationSpec { - if m != nil { - return m.AnnotationSpecs - } - return nil -} - -func (m *AnnotationSpecSet) GetBlockingResources() []string { - if m != nil { - return m.BlockingResources - } - return nil -} - -// Container of information related to one annotation spec. -type AnnotationSpec struct { - // Required. The display name of the AnnotationSpec. Maximum of 64 characters. - DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Optional. User-provided description of the annotation specification. - // The description can be up to 10000 characters long. - 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 *AnnotationSpec) Reset() { *m = AnnotationSpec{} } -func (m *AnnotationSpec) String() string { return proto.CompactTextString(m) } -func (*AnnotationSpec) ProtoMessage() {} -func (*AnnotationSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_ee18bab2b343845e, []int{1} -} - -func (m *AnnotationSpec) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotationSpec.Unmarshal(m, b) -} -func (m *AnnotationSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotationSpec.Marshal(b, m, deterministic) -} -func (m *AnnotationSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotationSpec.Merge(m, src) -} -func (m *AnnotationSpec) XXX_Size() int { - return xxx_messageInfo_AnnotationSpec.Size(m) -} -func (m *AnnotationSpec) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotationSpec.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotationSpec proto.InternalMessageInfo - -func (m *AnnotationSpec) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *AnnotationSpec) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func init() { - proto.RegisterType((*AnnotationSpecSet)(nil), "google.cloud.datalabeling.v1beta1.AnnotationSpecSet") - proto.RegisterType((*AnnotationSpec)(nil), "google.cloud.datalabeling.v1beta1.AnnotationSpec") -} - -func init() { - proto.RegisterFile("google/cloud/datalabeling/v1beta1/annotation_spec_set.proto", fileDescriptor_ee18bab2b343845e) -} - -var fileDescriptor_ee18bab2b343845e = []byte{ - // 293 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xcf, 0x4b, 0xc3, 0x30, - 0x14, 0xc7, 0xe9, 0x36, 0x85, 0x65, 0xa2, 0x2e, 0xa7, 0x22, 0x1e, 0xba, 0x81, 0xb0, 0x8b, 0x29, - 0xd3, 0xe3, 0x4e, 0x7a, 0x57, 0xa4, 0xc3, 0x8b, 0x08, 0xe5, 0x35, 0x7d, 0x84, 0x60, 0x96, 0x17, - 0x9a, 0x4c, 0xf4, 0x4f, 0xf7, 0x26, 0xcb, 0x3a, 0xdd, 0x1c, 0xb8, 0x5b, 0xfb, 0xfd, 0x45, 0x3e, - 0x24, 0x6c, 0xa6, 0x88, 0x94, 0xc1, 0x5c, 0x1a, 0x5a, 0xd6, 0x79, 0x0d, 0x01, 0x0c, 0x54, 0x68, - 0xb4, 0x55, 0xf9, 0xfb, 0xb4, 0xc2, 0x00, 0xd3, 0x1c, 0xac, 0xa5, 0x00, 0x41, 0x93, 0x2d, 0xbd, - 0x43, 0x59, 0x7a, 0x0c, 0xc2, 0x35, 0x14, 0x88, 0x8f, 0xd6, 0x65, 0x11, 0xcb, 0x62, 0xbb, 0x2c, - 0xda, 0xf2, 0xc5, 0x65, 0xbb, 0x0f, 0x4e, 0x6f, 0x0d, 0xf9, 0xf5, 0xc0, 0xf8, 0x2b, 0x61, 0xc3, - 0xbb, 0x1f, 0x75, 0xee, 0x50, 0xce, 0x31, 0x70, 0xce, 0x7a, 0x16, 0x16, 0x98, 0x26, 0x59, 0x32, - 0xe9, 0x17, 0xf1, 0x9b, 0x8f, 0xd8, 0x49, 0xad, 0xbd, 0x33, 0xf0, 0x59, 0x46, 0xaf, 0x13, 0xbd, - 0x41, 0xab, 0x3d, 0xae, 0x22, 0x19, 0x1b, 0xd4, 0xe8, 0x65, 0xa3, 0xdd, 0x6a, 0x2c, 0xed, 0xb6, - 0x89, 0x5f, 0x89, 0xbf, 0xb2, 0xf3, 0x3f, 0x30, 0x3e, 0xed, 0x65, 0xdd, 0xc9, 0xe0, 0x66, 0x2a, - 0x0e, 0xa2, 0x88, 0xdd, 0x83, 0x16, 0x67, 0xb0, 0xf3, 0xef, 0xf9, 0x35, 0xe3, 0x95, 0x21, 0xf9, - 0xa6, 0xad, 0x2a, 0x1b, 0xf4, 0xb4, 0x6c, 0x24, 0xfa, 0xf4, 0x28, 0xeb, 0x4e, 0xfa, 0xc5, 0x70, - 0xe3, 0x14, 0x1b, 0x63, 0xfc, 0xcc, 0x4e, 0x77, 0x17, 0xf7, 0x18, 0x93, 0x83, 0x8c, 0x9d, 0x3d, - 0xc6, 0xfb, 0x0f, 0x76, 0x25, 0x69, 0x71, 0x18, 0xe7, 0x29, 0x79, 0x79, 0x68, 0x43, 0x8a, 0x0c, - 0x58, 0x25, 0xa8, 0x51, 0xb9, 0x42, 0x1b, 0x6f, 0x26, 0x5f, 0x5b, 0xe0, 0xb4, 0xff, 0xe7, 0x69, - 0xcc, 0xb6, 0xc5, 0xea, 0x38, 0x36, 0x6f, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x1c, 0xe5, 0x00, - 0x70, 0x53, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/data_labeling_service.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/data_labeling_service.pb.go deleted file mode 100644 index 3f1ac5c5..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/data_labeling_service.pb.go +++ /dev/null @@ -1,4363 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/datalabeling/v1beta1/data_labeling_service.proto - -package datalabeling - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Image labeling task feature. -type LabelImageRequest_Feature int32 - -const ( - LabelImageRequest_FEATURE_UNSPECIFIED LabelImageRequest_Feature = 0 - // Label whole image with one or more of labels. - LabelImageRequest_CLASSIFICATION LabelImageRequest_Feature = 1 - // Label image with bounding boxes for labels. - LabelImageRequest_BOUNDING_BOX LabelImageRequest_Feature = 2 - // Label oriented bounding box. The box does not have to be parallel to - // horizontal line. - LabelImageRequest_ORIENTED_BOUNDING_BOX LabelImageRequest_Feature = 6 - // Label images with bounding poly. A bounding poly is a plane figure that - // is bounded by a finite chain of straight line segments closing in a loop. - LabelImageRequest_BOUNDING_POLY LabelImageRequest_Feature = 3 - // Label images with polyline. Polyline is formed by connected line segments - // which are not in closed form. - LabelImageRequest_POLYLINE LabelImageRequest_Feature = 4 - // Label images with segmentation. Segmentation is different from bounding - // poly since it is more fine-grained, pixel level annotation. - LabelImageRequest_SEGMENTATION LabelImageRequest_Feature = 5 -) - -var LabelImageRequest_Feature_name = map[int32]string{ - 0: "FEATURE_UNSPECIFIED", - 1: "CLASSIFICATION", - 2: "BOUNDING_BOX", - 6: "ORIENTED_BOUNDING_BOX", - 3: "BOUNDING_POLY", - 4: "POLYLINE", - 5: "SEGMENTATION", -} - -var LabelImageRequest_Feature_value = map[string]int32{ - "FEATURE_UNSPECIFIED": 0, - "CLASSIFICATION": 1, - "BOUNDING_BOX": 2, - "ORIENTED_BOUNDING_BOX": 6, - "BOUNDING_POLY": 3, - "POLYLINE": 4, - "SEGMENTATION": 5, -} - -func (x LabelImageRequest_Feature) String() string { - return proto.EnumName(LabelImageRequest_Feature_name, int32(x)) -} - -func (LabelImageRequest_Feature) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{14, 0} -} - -// Video labeling task feature. -type LabelVideoRequest_Feature int32 - -const ( - LabelVideoRequest_FEATURE_UNSPECIFIED LabelVideoRequest_Feature = 0 - // Label whole video or video segment with one or more labels. - LabelVideoRequest_CLASSIFICATION LabelVideoRequest_Feature = 1 - // Label objects with bounding box on image frames extracted from the video. - LabelVideoRequest_OBJECT_DETECTION LabelVideoRequest_Feature = 2 - // Label and track objects in video. - LabelVideoRequest_OBJECT_TRACKING LabelVideoRequest_Feature = 3 - // Label the range of video for the specified events. - LabelVideoRequest_EVENT LabelVideoRequest_Feature = 4 -) - -var LabelVideoRequest_Feature_name = map[int32]string{ - 0: "FEATURE_UNSPECIFIED", - 1: "CLASSIFICATION", - 2: "OBJECT_DETECTION", - 3: "OBJECT_TRACKING", - 4: "EVENT", -} - -var LabelVideoRequest_Feature_value = map[string]int32{ - "FEATURE_UNSPECIFIED": 0, - "CLASSIFICATION": 1, - "OBJECT_DETECTION": 2, - "OBJECT_TRACKING": 3, - "EVENT": 4, -} - -func (x LabelVideoRequest_Feature) String() string { - return proto.EnumName(LabelVideoRequest_Feature_name, int32(x)) -} - -func (LabelVideoRequest_Feature) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{15, 0} -} - -// Text labeling task feature. -type LabelTextRequest_Feature int32 - -const ( - LabelTextRequest_FEATURE_UNSPECIFIED LabelTextRequest_Feature = 0 - // Label text content to one of more labels. - LabelTextRequest_TEXT_CLASSIFICATION LabelTextRequest_Feature = 1 - // Label entities and their span in text. - LabelTextRequest_TEXT_ENTITY_EXTRACTION LabelTextRequest_Feature = 2 -) - -var LabelTextRequest_Feature_name = map[int32]string{ - 0: "FEATURE_UNSPECIFIED", - 1: "TEXT_CLASSIFICATION", - 2: "TEXT_ENTITY_EXTRACTION", -} - -var LabelTextRequest_Feature_value = map[string]int32{ - "FEATURE_UNSPECIFIED": 0, - "TEXT_CLASSIFICATION": 1, - "TEXT_ENTITY_EXTRACTION": 2, -} - -func (x LabelTextRequest_Feature) String() string { - return proto.EnumName(LabelTextRequest_Feature_name, int32(x)) -} - -func (LabelTextRequest_Feature) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{16, 0} -} - -// Request message for CreateDataset. -type CreateDatasetRequest struct { - // Required. Dataset resource parent, format: - // projects/{project_id} - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The dataset to be created. - Dataset *Dataset `protobuf:"bytes,2,opt,name=dataset,proto3" json:"dataset,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a21c40690da1750b, []int{0} -} - -func (m *CreateDatasetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateDatasetRequest.Unmarshal(m, b) -} -func (m *CreateDatasetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateDatasetRequest.Marshal(b, m, deterministic) -} -func (m *CreateDatasetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateDatasetRequest.Merge(m, src) -} -func (m *CreateDatasetRequest) XXX_Size() int { - return xxx_messageInfo_CreateDatasetRequest.Size(m) -} -func (m *CreateDatasetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateDatasetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateDatasetRequest proto.InternalMessageInfo - -func (m *CreateDatasetRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateDatasetRequest) GetDataset() *Dataset { - if m != nil { - return m.Dataset - } - return nil -} - -// Request message for GetDataSet. -type GetDatasetRequest struct { - // Required. Dataset resource name, format: - // projects/{project_id}/datasets/{dataset_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 *GetDatasetRequest) Reset() { *m = GetDatasetRequest{} } -func (m *GetDatasetRequest) String() string { return proto.CompactTextString(m) } -func (*GetDatasetRequest) ProtoMessage() {} -func (*GetDatasetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{1} -} - -func (m *GetDatasetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDatasetRequest.Unmarshal(m, b) -} -func (m *GetDatasetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDatasetRequest.Marshal(b, m, deterministic) -} -func (m *GetDatasetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDatasetRequest.Merge(m, src) -} -func (m *GetDatasetRequest) XXX_Size() int { - return xxx_messageInfo_GetDatasetRequest.Size(m) -} -func (m *GetDatasetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetDatasetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetDatasetRequest proto.InternalMessageInfo - -func (m *GetDatasetRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for ListDataset. -type ListDatasetsRequest struct { - // Required. Dataset resource parent, format: - // projects/{project_id} - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. Filter on dataset is not supported at this moment. - Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` - // Optional. Requested page size. Server may return fewer results than - // requested. Default value is 100. - PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional. A token identifying a page of results for the server to return. - // Typically obtained by - // [ListDatasetsResponse.next_page_token][google.cloud.datalabeling.v1beta1.ListDatasetsResponse.next_page_token] - // of the previous [DataLabelingService.ListDatasets] call. Returns the first - // page if empty. - 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 *ListDatasetsRequest) Reset() { *m = ListDatasetsRequest{} } -func (m *ListDatasetsRequest) String() string { return proto.CompactTextString(m) } -func (*ListDatasetsRequest) ProtoMessage() {} -func (*ListDatasetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{2} -} - -func (m *ListDatasetsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDatasetsRequest.Unmarshal(m, b) -} -func (m *ListDatasetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDatasetsRequest.Marshal(b, m, deterministic) -} -func (m *ListDatasetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDatasetsRequest.Merge(m, src) -} -func (m *ListDatasetsRequest) XXX_Size() int { - return xxx_messageInfo_ListDatasetsRequest.Size(m) -} -func (m *ListDatasetsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListDatasetsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDatasetsRequest proto.InternalMessageInfo - -func (m *ListDatasetsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListDatasetsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListDatasetsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListDatasetsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Results of listing datasets within a project. -type ListDatasetsResponse struct { - // The list of datasets to return. - Datasets []*Dataset `protobuf:"bytes,1,rep,name=datasets,proto3" json:"datasets,omitempty"` - // A token to retrieve next page of 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 *ListDatasetsResponse) Reset() { *m = ListDatasetsResponse{} } -func (m *ListDatasetsResponse) String() string { return proto.CompactTextString(m) } -func (*ListDatasetsResponse) ProtoMessage() {} -func (*ListDatasetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{3} -} - -func (m *ListDatasetsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDatasetsResponse.Unmarshal(m, b) -} -func (m *ListDatasetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDatasetsResponse.Marshal(b, m, deterministic) -} -func (m *ListDatasetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDatasetsResponse.Merge(m, src) -} -func (m *ListDatasetsResponse) XXX_Size() int { - return xxx_messageInfo_ListDatasetsResponse.Size(m) -} -func (m *ListDatasetsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListDatasetsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDatasetsResponse proto.InternalMessageInfo - -func (m *ListDatasetsResponse) GetDatasets() []*Dataset { - if m != nil { - return m.Datasets - } - return nil -} - -func (m *ListDatasetsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request message for DeleteDataset. -type DeleteDatasetRequest struct { - // Required. Dataset resource name, format: - // projects/{project_id}/datasets/{dataset_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 *DeleteDatasetRequest) Reset() { *m = DeleteDatasetRequest{} } -func (m *DeleteDatasetRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteDatasetRequest) ProtoMessage() {} -func (*DeleteDatasetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{4} -} - -func (m *DeleteDatasetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteDatasetRequest.Unmarshal(m, b) -} -func (m *DeleteDatasetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteDatasetRequest.Marshal(b, m, deterministic) -} -func (m *DeleteDatasetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteDatasetRequest.Merge(m, src) -} -func (m *DeleteDatasetRequest) XXX_Size() int { - return xxx_messageInfo_DeleteDatasetRequest.Size(m) -} -func (m *DeleteDatasetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteDatasetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteDatasetRequest proto.InternalMessageInfo - -func (m *DeleteDatasetRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for ImportData API. -type ImportDataRequest struct { - // Required. Dataset resource name, format: - // projects/{project_id}/datasets/{dataset_id} - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. Specify the input source of the data. - InputConfig *InputConfig `protobuf:"bytes,2,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"` - // Email of the user who started the import task and should be notified by - // email. If empty no notification will be sent. - UserEmailAddress string `protobuf:"bytes,3,opt,name=user_email_address,json=userEmailAddress,proto3" json:"user_email_address,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a21c40690da1750b, []int{5} -} - -func (m *ImportDataRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImportDataRequest.Unmarshal(m, b) -} -func (m *ImportDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImportDataRequest.Marshal(b, m, deterministic) -} -func (m *ImportDataRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportDataRequest.Merge(m, src) -} -func (m *ImportDataRequest) XXX_Size() int { - return xxx_messageInfo_ImportDataRequest.Size(m) -} -func (m *ImportDataRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ImportDataRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ImportDataRequest proto.InternalMessageInfo - -func (m *ImportDataRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ImportDataRequest) GetInputConfig() *InputConfig { - if m != nil { - return m.InputConfig - } - return nil -} - -func (m *ImportDataRequest) GetUserEmailAddress() string { - if m != nil { - return m.UserEmailAddress - } - return "" -} - -// Request message for ExportData API. -type ExportDataRequest struct { - // Required. Dataset resource name, format: - // projects/{project_id}/datasets/{dataset_id} - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. Annotated dataset resource name. DataItem in - // Dataset and their annotations in specified annotated dataset will be - // exported. It's in format of - // projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ - // {annotated_dataset_id} - AnnotatedDataset string `protobuf:"bytes,2,opt,name=annotated_dataset,json=annotatedDataset,proto3" json:"annotated_dataset,omitempty"` - // Optional. Filter is not supported at this moment. - Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` - // Required. Specify the output destination. - OutputConfig *OutputConfig `protobuf:"bytes,4,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"` - // Email of the user who started the export task and should be notified by - // email. If empty no notification will be sent. - UserEmailAddress string `protobuf:"bytes,5,opt,name=user_email_address,json=userEmailAddress,proto3" json:"user_email_address,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a21c40690da1750b, []int{6} -} - -func (m *ExportDataRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExportDataRequest.Unmarshal(m, b) -} -func (m *ExportDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExportDataRequest.Marshal(b, m, deterministic) -} -func (m *ExportDataRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportDataRequest.Merge(m, src) -} -func (m *ExportDataRequest) XXX_Size() int { - return xxx_messageInfo_ExportDataRequest.Size(m) -} -func (m *ExportDataRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ExportDataRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ExportDataRequest proto.InternalMessageInfo - -func (m *ExportDataRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ExportDataRequest) GetAnnotatedDataset() string { - if m != nil { - return m.AnnotatedDataset - } - return "" -} - -func (m *ExportDataRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ExportDataRequest) GetOutputConfig() *OutputConfig { - if m != nil { - return m.OutputConfig - } - return nil -} - -func (m *ExportDataRequest) GetUserEmailAddress() string { - if m != nil { - return m.UserEmailAddress - } - return "" -} - -// Request message for GetDataItem. -type GetDataItemRequest struct { - // Required. The name of the data item to get, format: - // projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_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 *GetDataItemRequest) Reset() { *m = GetDataItemRequest{} } -func (m *GetDataItemRequest) String() string { return proto.CompactTextString(m) } -func (*GetDataItemRequest) ProtoMessage() {} -func (*GetDataItemRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{7} -} - -func (m *GetDataItemRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDataItemRequest.Unmarshal(m, b) -} -func (m *GetDataItemRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDataItemRequest.Marshal(b, m, deterministic) -} -func (m *GetDataItemRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDataItemRequest.Merge(m, src) -} -func (m *GetDataItemRequest) XXX_Size() int { - return xxx_messageInfo_GetDataItemRequest.Size(m) -} -func (m *GetDataItemRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetDataItemRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetDataItemRequest proto.InternalMessageInfo - -func (m *GetDataItemRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for ListDataItems. -type ListDataItemsRequest struct { - // Required. Name of the dataset to list data items, format: - // projects/{project_id}/datasets/{dataset_id} - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. Filter is not supported at this moment. - Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` - // Optional. Requested page size. Server may return fewer results than - // requested. Default value is 100. - PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional. A token identifying a page of results for the server to return. - // Typically obtained by - // [ListDataItemsResponse.next_page_token][google.cloud.datalabeling.v1beta1.ListDataItemsResponse.next_page_token] - // of the previous [DataLabelingService.ListDataItems] call. Return first page - // if empty. - 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 *ListDataItemsRequest) Reset() { *m = ListDataItemsRequest{} } -func (m *ListDataItemsRequest) String() string { return proto.CompactTextString(m) } -func (*ListDataItemsRequest) ProtoMessage() {} -func (*ListDataItemsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{8} -} - -func (m *ListDataItemsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDataItemsRequest.Unmarshal(m, b) -} -func (m *ListDataItemsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDataItemsRequest.Marshal(b, m, deterministic) -} -func (m *ListDataItemsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDataItemsRequest.Merge(m, src) -} -func (m *ListDataItemsRequest) XXX_Size() int { - return xxx_messageInfo_ListDataItemsRequest.Size(m) -} -func (m *ListDataItemsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListDataItemsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDataItemsRequest proto.InternalMessageInfo - -func (m *ListDataItemsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListDataItemsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListDataItemsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListDataItemsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Results of listing data items in a dataset. -type ListDataItemsResponse struct { - // The list of data items to return. - DataItems []*DataItem `protobuf:"bytes,1,rep,name=data_items,json=dataItems,proto3" json:"data_items,omitempty"` - // A token to retrieve next page of 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 *ListDataItemsResponse) Reset() { *m = ListDataItemsResponse{} } -func (m *ListDataItemsResponse) String() string { return proto.CompactTextString(m) } -func (*ListDataItemsResponse) ProtoMessage() {} -func (*ListDataItemsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{9} -} - -func (m *ListDataItemsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDataItemsResponse.Unmarshal(m, b) -} -func (m *ListDataItemsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDataItemsResponse.Marshal(b, m, deterministic) -} -func (m *ListDataItemsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDataItemsResponse.Merge(m, src) -} -func (m *ListDataItemsResponse) XXX_Size() int { - return xxx_messageInfo_ListDataItemsResponse.Size(m) -} -func (m *ListDataItemsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListDataItemsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDataItemsResponse proto.InternalMessageInfo - -func (m *ListDataItemsResponse) GetDataItems() []*DataItem { - if m != nil { - return m.DataItems - } - return nil -} - -func (m *ListDataItemsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request message for GetAnnotatedDataset. -type GetAnnotatedDatasetRequest struct { - // Required. Name of the annotated dataset to get, format: - // projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ - // {annotated_dataset_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 *GetAnnotatedDatasetRequest) Reset() { *m = GetAnnotatedDatasetRequest{} } -func (m *GetAnnotatedDatasetRequest) String() string { return proto.CompactTextString(m) } -func (*GetAnnotatedDatasetRequest) ProtoMessage() {} -func (*GetAnnotatedDatasetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{10} -} - -func (m *GetAnnotatedDatasetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAnnotatedDatasetRequest.Unmarshal(m, b) -} -func (m *GetAnnotatedDatasetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAnnotatedDatasetRequest.Marshal(b, m, deterministic) -} -func (m *GetAnnotatedDatasetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAnnotatedDatasetRequest.Merge(m, src) -} -func (m *GetAnnotatedDatasetRequest) XXX_Size() int { - return xxx_messageInfo_GetAnnotatedDatasetRequest.Size(m) -} -func (m *GetAnnotatedDatasetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAnnotatedDatasetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetAnnotatedDatasetRequest proto.InternalMessageInfo - -func (m *GetAnnotatedDatasetRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for ListAnnotatedDatasets. -type ListAnnotatedDatasetsRequest struct { - // Required. Name of the dataset to list annotated datasets, format: - // projects/{project_id}/datasets/{dataset_id} - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. Filter is not supported at this moment. - Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` - // Optional. Requested page size. Server may return fewer results than - // requested. Default value is 100. - PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional. A token identifying a page of results for the server to return. - // Typically obtained by - // [ListAnnotatedDatasetsResponse.next_page_token][google.cloud.datalabeling.v1beta1.ListAnnotatedDatasetsResponse.next_page_token] - // of the previous [DataLabelingService.ListAnnotatedDatasets] call. Return - // first page if empty. - 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 *ListAnnotatedDatasetsRequest) Reset() { *m = ListAnnotatedDatasetsRequest{} } -func (m *ListAnnotatedDatasetsRequest) String() string { return proto.CompactTextString(m) } -func (*ListAnnotatedDatasetsRequest) ProtoMessage() {} -func (*ListAnnotatedDatasetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{11} -} - -func (m *ListAnnotatedDatasetsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListAnnotatedDatasetsRequest.Unmarshal(m, b) -} -func (m *ListAnnotatedDatasetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListAnnotatedDatasetsRequest.Marshal(b, m, deterministic) -} -func (m *ListAnnotatedDatasetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAnnotatedDatasetsRequest.Merge(m, src) -} -func (m *ListAnnotatedDatasetsRequest) XXX_Size() int { - return xxx_messageInfo_ListAnnotatedDatasetsRequest.Size(m) -} -func (m *ListAnnotatedDatasetsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListAnnotatedDatasetsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListAnnotatedDatasetsRequest proto.InternalMessageInfo - -func (m *ListAnnotatedDatasetsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListAnnotatedDatasetsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListAnnotatedDatasetsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListAnnotatedDatasetsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Results of listing annotated datasets for a dataset. -type ListAnnotatedDatasetsResponse struct { - // The list of annotated datasets to return. - AnnotatedDatasets []*AnnotatedDataset `protobuf:"bytes,1,rep,name=annotated_datasets,json=annotatedDatasets,proto3" json:"annotated_datasets,omitempty"` - // A token to retrieve next page of 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 *ListAnnotatedDatasetsResponse) Reset() { *m = ListAnnotatedDatasetsResponse{} } -func (m *ListAnnotatedDatasetsResponse) String() string { return proto.CompactTextString(m) } -func (*ListAnnotatedDatasetsResponse) ProtoMessage() {} -func (*ListAnnotatedDatasetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{12} -} - -func (m *ListAnnotatedDatasetsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListAnnotatedDatasetsResponse.Unmarshal(m, b) -} -func (m *ListAnnotatedDatasetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListAnnotatedDatasetsResponse.Marshal(b, m, deterministic) -} -func (m *ListAnnotatedDatasetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAnnotatedDatasetsResponse.Merge(m, src) -} -func (m *ListAnnotatedDatasetsResponse) XXX_Size() int { - return xxx_messageInfo_ListAnnotatedDatasetsResponse.Size(m) -} -func (m *ListAnnotatedDatasetsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListAnnotatedDatasetsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListAnnotatedDatasetsResponse proto.InternalMessageInfo - -func (m *ListAnnotatedDatasetsResponse) GetAnnotatedDatasets() []*AnnotatedDataset { - if m != nil { - return m.AnnotatedDatasets - } - return nil -} - -func (m *ListAnnotatedDatasetsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request message for DeleteAnnotatedDataset. -type DeleteAnnotatedDatasetRequest struct { - // Required. Name of the annotated dataset to delete, format: - // projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ - // {annotated_dataset_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 *DeleteAnnotatedDatasetRequest) Reset() { *m = DeleteAnnotatedDatasetRequest{} } -func (m *DeleteAnnotatedDatasetRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteAnnotatedDatasetRequest) ProtoMessage() {} -func (*DeleteAnnotatedDatasetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{13} -} - -func (m *DeleteAnnotatedDatasetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteAnnotatedDatasetRequest.Unmarshal(m, b) -} -func (m *DeleteAnnotatedDatasetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteAnnotatedDatasetRequest.Marshal(b, m, deterministic) -} -func (m *DeleteAnnotatedDatasetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteAnnotatedDatasetRequest.Merge(m, src) -} -func (m *DeleteAnnotatedDatasetRequest) XXX_Size() int { - return xxx_messageInfo_DeleteAnnotatedDatasetRequest.Size(m) -} -func (m *DeleteAnnotatedDatasetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteAnnotatedDatasetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteAnnotatedDatasetRequest proto.InternalMessageInfo - -func (m *DeleteAnnotatedDatasetRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for starting an image labeling task. -type LabelImageRequest struct { - // Required. Config for labeling tasks. The type of request config must - // match the selected feature. - // - // Types that are valid to be assigned to RequestConfig: - // *LabelImageRequest_ImageClassificationConfig - // *LabelImageRequest_BoundingPolyConfig - // *LabelImageRequest_PolylineConfig - // *LabelImageRequest_SegmentationConfig - RequestConfig isLabelImageRequest_RequestConfig `protobuf_oneof:"request_config"` - // Required. Name of the dataset to request labeling task, format: - // projects/{project_id}/datasets/{dataset_id} - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. Basic human annotation config. - BasicConfig *HumanAnnotationConfig `protobuf:"bytes,2,opt,name=basic_config,json=basicConfig,proto3" json:"basic_config,omitempty"` - // Required. The type of image labeling task. - Feature LabelImageRequest_Feature `protobuf:"varint,3,opt,name=feature,proto3,enum=google.cloud.datalabeling.v1beta1.LabelImageRequest_Feature" json:"feature,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LabelImageRequest) Reset() { *m = LabelImageRequest{} } -func (m *LabelImageRequest) String() string { return proto.CompactTextString(m) } -func (*LabelImageRequest) ProtoMessage() {} -func (*LabelImageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{14} -} - -func (m *LabelImageRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LabelImageRequest.Unmarshal(m, b) -} -func (m *LabelImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LabelImageRequest.Marshal(b, m, deterministic) -} -func (m *LabelImageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelImageRequest.Merge(m, src) -} -func (m *LabelImageRequest) XXX_Size() int { - return xxx_messageInfo_LabelImageRequest.Size(m) -} -func (m *LabelImageRequest) XXX_DiscardUnknown() { - xxx_messageInfo_LabelImageRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_LabelImageRequest proto.InternalMessageInfo - -type isLabelImageRequest_RequestConfig interface { - isLabelImageRequest_RequestConfig() -} - -type LabelImageRequest_ImageClassificationConfig struct { - ImageClassificationConfig *ImageClassificationConfig `protobuf:"bytes,4,opt,name=image_classification_config,json=imageClassificationConfig,proto3,oneof"` -} - -type LabelImageRequest_BoundingPolyConfig struct { - BoundingPolyConfig *BoundingPolyConfig `protobuf:"bytes,5,opt,name=bounding_poly_config,json=boundingPolyConfig,proto3,oneof"` -} - -type LabelImageRequest_PolylineConfig struct { - PolylineConfig *PolylineConfig `protobuf:"bytes,6,opt,name=polyline_config,json=polylineConfig,proto3,oneof"` -} - -type LabelImageRequest_SegmentationConfig struct { - SegmentationConfig *SegmentationConfig `protobuf:"bytes,7,opt,name=segmentation_config,json=segmentationConfig,proto3,oneof"` -} - -func (*LabelImageRequest_ImageClassificationConfig) isLabelImageRequest_RequestConfig() {} - -func (*LabelImageRequest_BoundingPolyConfig) isLabelImageRequest_RequestConfig() {} - -func (*LabelImageRequest_PolylineConfig) isLabelImageRequest_RequestConfig() {} - -func (*LabelImageRequest_SegmentationConfig) isLabelImageRequest_RequestConfig() {} - -func (m *LabelImageRequest) GetRequestConfig() isLabelImageRequest_RequestConfig { - if m != nil { - return m.RequestConfig - } - return nil -} - -func (m *LabelImageRequest) GetImageClassificationConfig() *ImageClassificationConfig { - if x, ok := m.GetRequestConfig().(*LabelImageRequest_ImageClassificationConfig); ok { - return x.ImageClassificationConfig - } - return nil -} - -func (m *LabelImageRequest) GetBoundingPolyConfig() *BoundingPolyConfig { - if x, ok := m.GetRequestConfig().(*LabelImageRequest_BoundingPolyConfig); ok { - return x.BoundingPolyConfig - } - return nil -} - -func (m *LabelImageRequest) GetPolylineConfig() *PolylineConfig { - if x, ok := m.GetRequestConfig().(*LabelImageRequest_PolylineConfig); ok { - return x.PolylineConfig - } - return nil -} - -func (m *LabelImageRequest) GetSegmentationConfig() *SegmentationConfig { - if x, ok := m.GetRequestConfig().(*LabelImageRequest_SegmentationConfig); ok { - return x.SegmentationConfig - } - return nil -} - -func (m *LabelImageRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *LabelImageRequest) GetBasicConfig() *HumanAnnotationConfig { - if m != nil { - return m.BasicConfig - } - return nil -} - -func (m *LabelImageRequest) GetFeature() LabelImageRequest_Feature { - if m != nil { - return m.Feature - } - return LabelImageRequest_FEATURE_UNSPECIFIED -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*LabelImageRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*LabelImageRequest_ImageClassificationConfig)(nil), - (*LabelImageRequest_BoundingPolyConfig)(nil), - (*LabelImageRequest_PolylineConfig)(nil), - (*LabelImageRequest_SegmentationConfig)(nil), - } -} - -// Request message for LabelVideo. -type LabelVideoRequest struct { - // Required. Config for labeling tasks. The type of request config must - // match the selected feature. - // - // Types that are valid to be assigned to RequestConfig: - // *LabelVideoRequest_VideoClassificationConfig - // *LabelVideoRequest_ObjectDetectionConfig - // *LabelVideoRequest_ObjectTrackingConfig - // *LabelVideoRequest_EventConfig - RequestConfig isLabelVideoRequest_RequestConfig `protobuf_oneof:"request_config"` - // Required. Name of the dataset to request labeling task, format: - // projects/{project_id}/datasets/{dataset_id} - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. Basic human annotation config. - BasicConfig *HumanAnnotationConfig `protobuf:"bytes,2,opt,name=basic_config,json=basicConfig,proto3" json:"basic_config,omitempty"` - // Required. The type of video labeling task. - Feature LabelVideoRequest_Feature `protobuf:"varint,3,opt,name=feature,proto3,enum=google.cloud.datalabeling.v1beta1.LabelVideoRequest_Feature" json:"feature,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LabelVideoRequest) Reset() { *m = LabelVideoRequest{} } -func (m *LabelVideoRequest) String() string { return proto.CompactTextString(m) } -func (*LabelVideoRequest) ProtoMessage() {} -func (*LabelVideoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{15} -} - -func (m *LabelVideoRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LabelVideoRequest.Unmarshal(m, b) -} -func (m *LabelVideoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LabelVideoRequest.Marshal(b, m, deterministic) -} -func (m *LabelVideoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelVideoRequest.Merge(m, src) -} -func (m *LabelVideoRequest) XXX_Size() int { - return xxx_messageInfo_LabelVideoRequest.Size(m) -} -func (m *LabelVideoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_LabelVideoRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_LabelVideoRequest proto.InternalMessageInfo - -type isLabelVideoRequest_RequestConfig interface { - isLabelVideoRequest_RequestConfig() -} - -type LabelVideoRequest_VideoClassificationConfig struct { - VideoClassificationConfig *VideoClassificationConfig `protobuf:"bytes,4,opt,name=video_classification_config,json=videoClassificationConfig,proto3,oneof"` -} - -type LabelVideoRequest_ObjectDetectionConfig struct { - ObjectDetectionConfig *ObjectDetectionConfig `protobuf:"bytes,5,opt,name=object_detection_config,json=objectDetectionConfig,proto3,oneof"` -} - -type LabelVideoRequest_ObjectTrackingConfig struct { - ObjectTrackingConfig *ObjectTrackingConfig `protobuf:"bytes,6,opt,name=object_tracking_config,json=objectTrackingConfig,proto3,oneof"` -} - -type LabelVideoRequest_EventConfig struct { - EventConfig *EventConfig `protobuf:"bytes,7,opt,name=event_config,json=eventConfig,proto3,oneof"` -} - -func (*LabelVideoRequest_VideoClassificationConfig) isLabelVideoRequest_RequestConfig() {} - -func (*LabelVideoRequest_ObjectDetectionConfig) isLabelVideoRequest_RequestConfig() {} - -func (*LabelVideoRequest_ObjectTrackingConfig) isLabelVideoRequest_RequestConfig() {} - -func (*LabelVideoRequest_EventConfig) isLabelVideoRequest_RequestConfig() {} - -func (m *LabelVideoRequest) GetRequestConfig() isLabelVideoRequest_RequestConfig { - if m != nil { - return m.RequestConfig - } - return nil -} - -func (m *LabelVideoRequest) GetVideoClassificationConfig() *VideoClassificationConfig { - if x, ok := m.GetRequestConfig().(*LabelVideoRequest_VideoClassificationConfig); ok { - return x.VideoClassificationConfig - } - return nil -} - -func (m *LabelVideoRequest) GetObjectDetectionConfig() *ObjectDetectionConfig { - if x, ok := m.GetRequestConfig().(*LabelVideoRequest_ObjectDetectionConfig); ok { - return x.ObjectDetectionConfig - } - return nil -} - -func (m *LabelVideoRequest) GetObjectTrackingConfig() *ObjectTrackingConfig { - if x, ok := m.GetRequestConfig().(*LabelVideoRequest_ObjectTrackingConfig); ok { - return x.ObjectTrackingConfig - } - return nil -} - -func (m *LabelVideoRequest) GetEventConfig() *EventConfig { - if x, ok := m.GetRequestConfig().(*LabelVideoRequest_EventConfig); ok { - return x.EventConfig - } - return nil -} - -func (m *LabelVideoRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *LabelVideoRequest) GetBasicConfig() *HumanAnnotationConfig { - if m != nil { - return m.BasicConfig - } - return nil -} - -func (m *LabelVideoRequest) GetFeature() LabelVideoRequest_Feature { - if m != nil { - return m.Feature - } - return LabelVideoRequest_FEATURE_UNSPECIFIED -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*LabelVideoRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*LabelVideoRequest_VideoClassificationConfig)(nil), - (*LabelVideoRequest_ObjectDetectionConfig)(nil), - (*LabelVideoRequest_ObjectTrackingConfig)(nil), - (*LabelVideoRequest_EventConfig)(nil), - } -} - -// Request message for LabelText. -type LabelTextRequest struct { - // Required. Config for labeling tasks. The type of request config must - // match the selected feature. - // - // Types that are valid to be assigned to RequestConfig: - // *LabelTextRequest_TextClassificationConfig - // *LabelTextRequest_TextEntityExtractionConfig - RequestConfig isLabelTextRequest_RequestConfig `protobuf_oneof:"request_config"` - // Required. Name of the data set to request labeling task, format: - // projects/{project_id}/datasets/{dataset_id} - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. Basic human annotation config. - BasicConfig *HumanAnnotationConfig `protobuf:"bytes,2,opt,name=basic_config,json=basicConfig,proto3" json:"basic_config,omitempty"` - // Required. The type of text labeling task. - Feature LabelTextRequest_Feature `protobuf:"varint,6,opt,name=feature,proto3,enum=google.cloud.datalabeling.v1beta1.LabelTextRequest_Feature" json:"feature,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LabelTextRequest) Reset() { *m = LabelTextRequest{} } -func (m *LabelTextRequest) String() string { return proto.CompactTextString(m) } -func (*LabelTextRequest) ProtoMessage() {} -func (*LabelTextRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{16} -} - -func (m *LabelTextRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LabelTextRequest.Unmarshal(m, b) -} -func (m *LabelTextRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LabelTextRequest.Marshal(b, m, deterministic) -} -func (m *LabelTextRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelTextRequest.Merge(m, src) -} -func (m *LabelTextRequest) XXX_Size() int { - return xxx_messageInfo_LabelTextRequest.Size(m) -} -func (m *LabelTextRequest) XXX_DiscardUnknown() { - xxx_messageInfo_LabelTextRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_LabelTextRequest proto.InternalMessageInfo - -type isLabelTextRequest_RequestConfig interface { - isLabelTextRequest_RequestConfig() -} - -type LabelTextRequest_TextClassificationConfig struct { - TextClassificationConfig *TextClassificationConfig `protobuf:"bytes,4,opt,name=text_classification_config,json=textClassificationConfig,proto3,oneof"` -} - -type LabelTextRequest_TextEntityExtractionConfig struct { - TextEntityExtractionConfig *TextEntityExtractionConfig `protobuf:"bytes,5,opt,name=text_entity_extraction_config,json=textEntityExtractionConfig,proto3,oneof"` -} - -func (*LabelTextRequest_TextClassificationConfig) isLabelTextRequest_RequestConfig() {} - -func (*LabelTextRequest_TextEntityExtractionConfig) isLabelTextRequest_RequestConfig() {} - -func (m *LabelTextRequest) GetRequestConfig() isLabelTextRequest_RequestConfig { - if m != nil { - return m.RequestConfig - } - return nil -} - -func (m *LabelTextRequest) GetTextClassificationConfig() *TextClassificationConfig { - if x, ok := m.GetRequestConfig().(*LabelTextRequest_TextClassificationConfig); ok { - return x.TextClassificationConfig - } - return nil -} - -func (m *LabelTextRequest) GetTextEntityExtractionConfig() *TextEntityExtractionConfig { - if x, ok := m.GetRequestConfig().(*LabelTextRequest_TextEntityExtractionConfig); ok { - return x.TextEntityExtractionConfig - } - return nil -} - -func (m *LabelTextRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *LabelTextRequest) GetBasicConfig() *HumanAnnotationConfig { - if m != nil { - return m.BasicConfig - } - return nil -} - -func (m *LabelTextRequest) GetFeature() LabelTextRequest_Feature { - if m != nil { - return m.Feature - } - return LabelTextRequest_FEATURE_UNSPECIFIED -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*LabelTextRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*LabelTextRequest_TextClassificationConfig)(nil), - (*LabelTextRequest_TextEntityExtractionConfig)(nil), - } -} - -// Request message for GetExample -type GetExampleRequest struct { - // Required. Name of example, format: - // projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ - // {annotated_dataset_id}/examples/{example_id} - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Optional. An expression for filtering Examples. Filter by - // annotation_spec.display_name is supported. Format - // "annotation_spec.display_name = {display_name}" - 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 *GetExampleRequest) Reset() { *m = GetExampleRequest{} } -func (m *GetExampleRequest) String() string { return proto.CompactTextString(m) } -func (*GetExampleRequest) ProtoMessage() {} -func (*GetExampleRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{17} -} - -func (m *GetExampleRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetExampleRequest.Unmarshal(m, b) -} -func (m *GetExampleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetExampleRequest.Marshal(b, m, deterministic) -} -func (m *GetExampleRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetExampleRequest.Merge(m, src) -} -func (m *GetExampleRequest) XXX_Size() int { - return xxx_messageInfo_GetExampleRequest.Size(m) -} -func (m *GetExampleRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetExampleRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetExampleRequest proto.InternalMessageInfo - -func (m *GetExampleRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *GetExampleRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -// Request message for ListExamples. -type ListExamplesRequest struct { - // Required. Example resource parent. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. An expression for filtering Examples. For annotated datasets that - // have annotation spec set, filter by - // annotation_spec.display_name is supported. Format - // "annotation_spec.display_name = {display_name}" - Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` - // Optional. Requested page size. Server may return fewer results than - // requested. Default value is 100. - PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional. A token identifying a page of results for the server to return. - // Typically obtained by - // [ListExamplesResponse.next_page_token][google.cloud.datalabeling.v1beta1.ListExamplesResponse.next_page_token] - // of the previous [DataLabelingService.ListExamples] call. Return first page - // if empty. - 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 *ListExamplesRequest) Reset() { *m = ListExamplesRequest{} } -func (m *ListExamplesRequest) String() string { return proto.CompactTextString(m) } -func (*ListExamplesRequest) ProtoMessage() {} -func (*ListExamplesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{18} -} - -func (m *ListExamplesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListExamplesRequest.Unmarshal(m, b) -} -func (m *ListExamplesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListExamplesRequest.Marshal(b, m, deterministic) -} -func (m *ListExamplesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListExamplesRequest.Merge(m, src) -} -func (m *ListExamplesRequest) XXX_Size() int { - return xxx_messageInfo_ListExamplesRequest.Size(m) -} -func (m *ListExamplesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListExamplesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListExamplesRequest proto.InternalMessageInfo - -func (m *ListExamplesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListExamplesRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListExamplesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListExamplesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Results of listing Examples in and annotated dataset. -type ListExamplesResponse struct { - // The list of examples to return. - Examples []*Example `protobuf:"bytes,1,rep,name=examples,proto3" json:"examples,omitempty"` - // A token to retrieve next page of 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 *ListExamplesResponse) Reset() { *m = ListExamplesResponse{} } -func (m *ListExamplesResponse) String() string { return proto.CompactTextString(m) } -func (*ListExamplesResponse) ProtoMessage() {} -func (*ListExamplesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{19} -} - -func (m *ListExamplesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListExamplesResponse.Unmarshal(m, b) -} -func (m *ListExamplesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListExamplesResponse.Marshal(b, m, deterministic) -} -func (m *ListExamplesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListExamplesResponse.Merge(m, src) -} -func (m *ListExamplesResponse) XXX_Size() int { - return xxx_messageInfo_ListExamplesResponse.Size(m) -} -func (m *ListExamplesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListExamplesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListExamplesResponse proto.InternalMessageInfo - -func (m *ListExamplesResponse) GetExamples() []*Example { - if m != nil { - return m.Examples - } - return nil -} - -func (m *ListExamplesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request message for CreateAnnotationSpecSet. -type CreateAnnotationSpecSetRequest struct { - // Required. AnnotationSpecSet resource parent, format: - // projects/{project_id} - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. Annotation spec set to create. Annotation specs must be included. - // Only one annotation spec will be accepted for annotation specs with same - // display_name. - AnnotationSpecSet *AnnotationSpecSet `protobuf:"bytes,2,opt,name=annotation_spec_set,json=annotationSpecSet,proto3" json:"annotation_spec_set,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateAnnotationSpecSetRequest) Reset() { *m = CreateAnnotationSpecSetRequest{} } -func (m *CreateAnnotationSpecSetRequest) String() string { return proto.CompactTextString(m) } -func (*CreateAnnotationSpecSetRequest) ProtoMessage() {} -func (*CreateAnnotationSpecSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{20} -} - -func (m *CreateAnnotationSpecSetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateAnnotationSpecSetRequest.Unmarshal(m, b) -} -func (m *CreateAnnotationSpecSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateAnnotationSpecSetRequest.Marshal(b, m, deterministic) -} -func (m *CreateAnnotationSpecSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateAnnotationSpecSetRequest.Merge(m, src) -} -func (m *CreateAnnotationSpecSetRequest) XXX_Size() int { - return xxx_messageInfo_CreateAnnotationSpecSetRequest.Size(m) -} -func (m *CreateAnnotationSpecSetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateAnnotationSpecSetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateAnnotationSpecSetRequest proto.InternalMessageInfo - -func (m *CreateAnnotationSpecSetRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateAnnotationSpecSetRequest) GetAnnotationSpecSet() *AnnotationSpecSet { - if m != nil { - return m.AnnotationSpecSet - } - return nil -} - -// Request message for GetAnnotationSpecSet. -type GetAnnotationSpecSetRequest struct { - // Required. AnnotationSpecSet resource name, format: - // projects/{project_id}/annotationSpecSets/{annotation_spec_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 *GetAnnotationSpecSetRequest) Reset() { *m = GetAnnotationSpecSetRequest{} } -func (m *GetAnnotationSpecSetRequest) String() string { return proto.CompactTextString(m) } -func (*GetAnnotationSpecSetRequest) ProtoMessage() {} -func (*GetAnnotationSpecSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{21} -} - -func (m *GetAnnotationSpecSetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAnnotationSpecSetRequest.Unmarshal(m, b) -} -func (m *GetAnnotationSpecSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAnnotationSpecSetRequest.Marshal(b, m, deterministic) -} -func (m *GetAnnotationSpecSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAnnotationSpecSetRequest.Merge(m, src) -} -func (m *GetAnnotationSpecSetRequest) XXX_Size() int { - return xxx_messageInfo_GetAnnotationSpecSetRequest.Size(m) -} -func (m *GetAnnotationSpecSetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAnnotationSpecSetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetAnnotationSpecSetRequest proto.InternalMessageInfo - -func (m *GetAnnotationSpecSetRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for ListAnnotationSpecSets. -type ListAnnotationSpecSetsRequest struct { - // Required. Parent of AnnotationSpecSet resource, format: - // projects/{project_id} - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. Filter is not supported at this moment. - Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` - // Optional. Requested page size. Server may return fewer results than - // requested. Default value is 100. - PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional. A token identifying a page of results for the server to return. - // Typically obtained by - // [ListAnnotationSpecSetsResponse.next_page_token][google.cloud.datalabeling.v1beta1.ListAnnotationSpecSetsResponse.next_page_token] - // of the previous [DataLabelingService.ListAnnotationSpecSets] call. Return - // first page if empty. - 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 *ListAnnotationSpecSetsRequest) Reset() { *m = ListAnnotationSpecSetsRequest{} } -func (m *ListAnnotationSpecSetsRequest) String() string { return proto.CompactTextString(m) } -func (*ListAnnotationSpecSetsRequest) ProtoMessage() {} -func (*ListAnnotationSpecSetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{22} -} - -func (m *ListAnnotationSpecSetsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListAnnotationSpecSetsRequest.Unmarshal(m, b) -} -func (m *ListAnnotationSpecSetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListAnnotationSpecSetsRequest.Marshal(b, m, deterministic) -} -func (m *ListAnnotationSpecSetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAnnotationSpecSetsRequest.Merge(m, src) -} -func (m *ListAnnotationSpecSetsRequest) XXX_Size() int { - return xxx_messageInfo_ListAnnotationSpecSetsRequest.Size(m) -} -func (m *ListAnnotationSpecSetsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListAnnotationSpecSetsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListAnnotationSpecSetsRequest proto.InternalMessageInfo - -func (m *ListAnnotationSpecSetsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListAnnotationSpecSetsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListAnnotationSpecSetsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListAnnotationSpecSetsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Results of listing annotation spec set under a project. -type ListAnnotationSpecSetsResponse struct { - // The list of annotation spec sets. - AnnotationSpecSets []*AnnotationSpecSet `protobuf:"bytes,1,rep,name=annotation_spec_sets,json=annotationSpecSets,proto3" json:"annotation_spec_sets,omitempty"` - // A token to retrieve next page of 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 *ListAnnotationSpecSetsResponse) Reset() { *m = ListAnnotationSpecSetsResponse{} } -func (m *ListAnnotationSpecSetsResponse) String() string { return proto.CompactTextString(m) } -func (*ListAnnotationSpecSetsResponse) ProtoMessage() {} -func (*ListAnnotationSpecSetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{23} -} - -func (m *ListAnnotationSpecSetsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListAnnotationSpecSetsResponse.Unmarshal(m, b) -} -func (m *ListAnnotationSpecSetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListAnnotationSpecSetsResponse.Marshal(b, m, deterministic) -} -func (m *ListAnnotationSpecSetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAnnotationSpecSetsResponse.Merge(m, src) -} -func (m *ListAnnotationSpecSetsResponse) XXX_Size() int { - return xxx_messageInfo_ListAnnotationSpecSetsResponse.Size(m) -} -func (m *ListAnnotationSpecSetsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListAnnotationSpecSetsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListAnnotationSpecSetsResponse proto.InternalMessageInfo - -func (m *ListAnnotationSpecSetsResponse) GetAnnotationSpecSets() []*AnnotationSpecSet { - if m != nil { - return m.AnnotationSpecSets - } - return nil -} - -func (m *ListAnnotationSpecSetsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request message for DeleteAnnotationSpecSet. -type DeleteAnnotationSpecSetRequest struct { - // Required. AnnotationSpec resource name, format: - // `projects/{project_id}/annotationSpecSets/{annotation_spec_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 *DeleteAnnotationSpecSetRequest) Reset() { *m = DeleteAnnotationSpecSetRequest{} } -func (m *DeleteAnnotationSpecSetRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteAnnotationSpecSetRequest) ProtoMessage() {} -func (*DeleteAnnotationSpecSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{24} -} - -func (m *DeleteAnnotationSpecSetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteAnnotationSpecSetRequest.Unmarshal(m, b) -} -func (m *DeleteAnnotationSpecSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteAnnotationSpecSetRequest.Marshal(b, m, deterministic) -} -func (m *DeleteAnnotationSpecSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteAnnotationSpecSetRequest.Merge(m, src) -} -func (m *DeleteAnnotationSpecSetRequest) XXX_Size() int { - return xxx_messageInfo_DeleteAnnotationSpecSetRequest.Size(m) -} -func (m *DeleteAnnotationSpecSetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteAnnotationSpecSetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteAnnotationSpecSetRequest proto.InternalMessageInfo - -func (m *DeleteAnnotationSpecSetRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for CreateInstruction. -type CreateInstructionRequest struct { - // Required. Instruction resource parent, format: - // projects/{project_id} - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. Instruction of how to perform the labeling task. - Instruction *Instruction `protobuf:"bytes,2,opt,name=instruction,proto3" json:"instruction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateInstructionRequest) Reset() { *m = CreateInstructionRequest{} } -func (m *CreateInstructionRequest) String() string { return proto.CompactTextString(m) } -func (*CreateInstructionRequest) ProtoMessage() {} -func (*CreateInstructionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{25} -} - -func (m *CreateInstructionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateInstructionRequest.Unmarshal(m, b) -} -func (m *CreateInstructionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateInstructionRequest.Marshal(b, m, deterministic) -} -func (m *CreateInstructionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateInstructionRequest.Merge(m, src) -} -func (m *CreateInstructionRequest) XXX_Size() int { - return xxx_messageInfo_CreateInstructionRequest.Size(m) -} -func (m *CreateInstructionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateInstructionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateInstructionRequest proto.InternalMessageInfo - -func (m *CreateInstructionRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateInstructionRequest) GetInstruction() *Instruction { - if m != nil { - return m.Instruction - } - return nil -} - -// Request message for GetInstruction. -type GetInstructionRequest struct { - // Required. Instruction resource name, format: - // projects/{project_id}/instructions/{instruction_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 *GetInstructionRequest) Reset() { *m = GetInstructionRequest{} } -func (m *GetInstructionRequest) String() string { return proto.CompactTextString(m) } -func (*GetInstructionRequest) ProtoMessage() {} -func (*GetInstructionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{26} -} - -func (m *GetInstructionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetInstructionRequest.Unmarshal(m, b) -} -func (m *GetInstructionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetInstructionRequest.Marshal(b, m, deterministic) -} -func (m *GetInstructionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetInstructionRequest.Merge(m, src) -} -func (m *GetInstructionRequest) XXX_Size() int { - return xxx_messageInfo_GetInstructionRequest.Size(m) -} -func (m *GetInstructionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetInstructionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetInstructionRequest proto.InternalMessageInfo - -func (m *GetInstructionRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for DeleteInstruction. -type DeleteInstructionRequest struct { - // Required. Instruction resource name, format: - // projects/{project_id}/instructions/{instruction_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 *DeleteInstructionRequest) Reset() { *m = DeleteInstructionRequest{} } -func (m *DeleteInstructionRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteInstructionRequest) ProtoMessage() {} -func (*DeleteInstructionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{27} -} - -func (m *DeleteInstructionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteInstructionRequest.Unmarshal(m, b) -} -func (m *DeleteInstructionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteInstructionRequest.Marshal(b, m, deterministic) -} -func (m *DeleteInstructionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteInstructionRequest.Merge(m, src) -} -func (m *DeleteInstructionRequest) XXX_Size() int { - return xxx_messageInfo_DeleteInstructionRequest.Size(m) -} -func (m *DeleteInstructionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteInstructionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteInstructionRequest proto.InternalMessageInfo - -func (m *DeleteInstructionRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for ListInstructions. -type ListInstructionsRequest struct { - // Required. Instruction resource parent, format: - // projects/{project_id} - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. Filter is not supported at this moment. - Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` - // Optional. Requested page size. Server may return fewer results than - // requested. Default value is 100. - PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional. A token identifying a page of results for the server to return. - // Typically obtained by - // [ListInstructionsResponse.next_page_token][google.cloud.datalabeling.v1beta1.ListInstructionsResponse.next_page_token] - // of the previous [DataLabelingService.ListInstructions] call. Return first - // page if empty. - 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 *ListInstructionsRequest) Reset() { *m = ListInstructionsRequest{} } -func (m *ListInstructionsRequest) String() string { return proto.CompactTextString(m) } -func (*ListInstructionsRequest) ProtoMessage() {} -func (*ListInstructionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{28} -} - -func (m *ListInstructionsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListInstructionsRequest.Unmarshal(m, b) -} -func (m *ListInstructionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListInstructionsRequest.Marshal(b, m, deterministic) -} -func (m *ListInstructionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListInstructionsRequest.Merge(m, src) -} -func (m *ListInstructionsRequest) XXX_Size() int { - return xxx_messageInfo_ListInstructionsRequest.Size(m) -} -func (m *ListInstructionsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListInstructionsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListInstructionsRequest proto.InternalMessageInfo - -func (m *ListInstructionsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListInstructionsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListInstructionsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListInstructionsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Results of listing instructions under a project. -type ListInstructionsResponse struct { - // The list of Instructions to return. - Instructions []*Instruction `protobuf:"bytes,1,rep,name=instructions,proto3" json:"instructions,omitempty"` - // A token to retrieve next page of 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 *ListInstructionsResponse) Reset() { *m = ListInstructionsResponse{} } -func (m *ListInstructionsResponse) String() string { return proto.CompactTextString(m) } -func (*ListInstructionsResponse) ProtoMessage() {} -func (*ListInstructionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{29} -} - -func (m *ListInstructionsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListInstructionsResponse.Unmarshal(m, b) -} -func (m *ListInstructionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListInstructionsResponse.Marshal(b, m, deterministic) -} -func (m *ListInstructionsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListInstructionsResponse.Merge(m, src) -} -func (m *ListInstructionsResponse) XXX_Size() int { - return xxx_messageInfo_ListInstructionsResponse.Size(m) -} -func (m *ListInstructionsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListInstructionsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListInstructionsResponse proto.InternalMessageInfo - -func (m *ListInstructionsResponse) GetInstructions() []*Instruction { - if m != nil { - return m.Instructions - } - return nil -} - -func (m *ListInstructionsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request message for GetEvaluation. -type GetEvaluationRequest struct { - // Required. Name of the evaluation. Format: - // 'projects/{project_id}/datasets/{dataset_id}/evaluations/{evaluation_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 *GetEvaluationRequest) Reset() { *m = GetEvaluationRequest{} } -func (m *GetEvaluationRequest) String() string { return proto.CompactTextString(m) } -func (*GetEvaluationRequest) ProtoMessage() {} -func (*GetEvaluationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{30} -} - -func (m *GetEvaluationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetEvaluationRequest.Unmarshal(m, b) -} -func (m *GetEvaluationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetEvaluationRequest.Marshal(b, m, deterministic) -} -func (m *GetEvaluationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetEvaluationRequest.Merge(m, src) -} -func (m *GetEvaluationRequest) XXX_Size() int { - return xxx_messageInfo_GetEvaluationRequest.Size(m) -} -func (m *GetEvaluationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetEvaluationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetEvaluationRequest proto.InternalMessageInfo - -func (m *GetEvaluationRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for SearchEvaluation. -type SearchEvaluationsRequest struct { - // Required. Evaluation search parent. Format: - // projects/{project_id} - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. Support filtering by model id, job state, start and end time. - // Format: - // "evaluation_job.evaluation_job_id = {evaluation_job_id} AND - // evaluation_job.evaluation_job_run_time_start = {timestamp} AND - // evaluation_job.evaluation_job_run_time_end = {timestamp} AND - // annotation_spec.display_name = {display_name}" - Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` - // Optional. Requested page size. Server may return fewer results than - // requested. Default value is 100. - PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional. A token identifying a page of results for the server to return. - // Typically obtained by - // [SearchEvaluationsResponse.next_page_token][google.cloud.datalabeling.v1beta1.SearchEvaluationsResponse.next_page_token] - // of the previous [DataLabelingService.SearchEvaluations] call. Return first - // page if empty. - 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 *SearchEvaluationsRequest) Reset() { *m = SearchEvaluationsRequest{} } -func (m *SearchEvaluationsRequest) String() string { return proto.CompactTextString(m) } -func (*SearchEvaluationsRequest) ProtoMessage() {} -func (*SearchEvaluationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{31} -} - -func (m *SearchEvaluationsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchEvaluationsRequest.Unmarshal(m, b) -} -func (m *SearchEvaluationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchEvaluationsRequest.Marshal(b, m, deterministic) -} -func (m *SearchEvaluationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchEvaluationsRequest.Merge(m, src) -} -func (m *SearchEvaluationsRequest) XXX_Size() int { - return xxx_messageInfo_SearchEvaluationsRequest.Size(m) -} -func (m *SearchEvaluationsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SearchEvaluationsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchEvaluationsRequest proto.InternalMessageInfo - -func (m *SearchEvaluationsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *SearchEvaluationsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *SearchEvaluationsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *SearchEvaluationsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Results of searching evaluations. -type SearchEvaluationsResponse struct { - // The list of evaluations to return. - Evaluations []*Evaluation `protobuf:"bytes,1,rep,name=evaluations,proto3" json:"evaluations,omitempty"` - // A token to retrieve next page of 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 *SearchEvaluationsResponse) Reset() { *m = SearchEvaluationsResponse{} } -func (m *SearchEvaluationsResponse) String() string { return proto.CompactTextString(m) } -func (*SearchEvaluationsResponse) ProtoMessage() {} -func (*SearchEvaluationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{32} -} - -func (m *SearchEvaluationsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchEvaluationsResponse.Unmarshal(m, b) -} -func (m *SearchEvaluationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchEvaluationsResponse.Marshal(b, m, deterministic) -} -func (m *SearchEvaluationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchEvaluationsResponse.Merge(m, src) -} -func (m *SearchEvaluationsResponse) XXX_Size() int { - return xxx_messageInfo_SearchEvaluationsResponse.Size(m) -} -func (m *SearchEvaluationsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SearchEvaluationsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchEvaluationsResponse proto.InternalMessageInfo - -func (m *SearchEvaluationsResponse) GetEvaluations() []*Evaluation { - if m != nil { - return m.Evaluations - } - return nil -} - -func (m *SearchEvaluationsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request message of SearchExampleComparisons. -type SearchExampleComparisonsRequest struct { - // Required. Name of the Evaluation resource to search example comparison - // from. Format: - // projects/{project_id}/datasets/{dataset_id}/evaluations/{evaluation_id} - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. Requested page size. Server may return fewer results than - // requested. Default value is 100. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional. A token identifying a page of results for the server to return. - // Typically obtained by - // [SearchExampleComparisons.next_page_token][] of the previous - // [DataLabelingService.SearchExampleComparisons] call. - // Return first page if empty. - 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 *SearchExampleComparisonsRequest) Reset() { *m = SearchExampleComparisonsRequest{} } -func (m *SearchExampleComparisonsRequest) String() string { return proto.CompactTextString(m) } -func (*SearchExampleComparisonsRequest) ProtoMessage() {} -func (*SearchExampleComparisonsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{33} -} - -func (m *SearchExampleComparisonsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchExampleComparisonsRequest.Unmarshal(m, b) -} -func (m *SearchExampleComparisonsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchExampleComparisonsRequest.Marshal(b, m, deterministic) -} -func (m *SearchExampleComparisonsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchExampleComparisonsRequest.Merge(m, src) -} -func (m *SearchExampleComparisonsRequest) XXX_Size() int { - return xxx_messageInfo_SearchExampleComparisonsRequest.Size(m) -} -func (m *SearchExampleComparisonsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SearchExampleComparisonsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchExampleComparisonsRequest proto.InternalMessageInfo - -func (m *SearchExampleComparisonsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *SearchExampleComparisonsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *SearchExampleComparisonsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Results of searching example comparisons. -type SearchExampleComparisonsResponse struct { - ExampleComparisons []*SearchExampleComparisonsResponse_ExampleComparison `protobuf:"bytes,1,rep,name=example_comparisons,json=exampleComparisons,proto3" json:"example_comparisons,omitempty"` - // A token to retrieve next page of 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 *SearchExampleComparisonsResponse) Reset() { *m = SearchExampleComparisonsResponse{} } -func (m *SearchExampleComparisonsResponse) String() string { return proto.CompactTextString(m) } -func (*SearchExampleComparisonsResponse) ProtoMessage() {} -func (*SearchExampleComparisonsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{34} -} - -func (m *SearchExampleComparisonsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchExampleComparisonsResponse.Unmarshal(m, b) -} -func (m *SearchExampleComparisonsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchExampleComparisonsResponse.Marshal(b, m, deterministic) -} -func (m *SearchExampleComparisonsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchExampleComparisonsResponse.Merge(m, src) -} -func (m *SearchExampleComparisonsResponse) XXX_Size() int { - return xxx_messageInfo_SearchExampleComparisonsResponse.Size(m) -} -func (m *SearchExampleComparisonsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SearchExampleComparisonsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchExampleComparisonsResponse proto.InternalMessageInfo - -func (m *SearchExampleComparisonsResponse) GetExampleComparisons() []*SearchExampleComparisonsResponse_ExampleComparison { - if m != nil { - return m.ExampleComparisons - } - return nil -} - -func (m *SearchExampleComparisonsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Example comparisons containing annotation comparison between groundtruth -// and predictions. -type SearchExampleComparisonsResponse_ExampleComparison struct { - GroundTruthExample *Example `protobuf:"bytes,1,opt,name=ground_truth_example,json=groundTruthExample,proto3" json:"ground_truth_example,omitempty"` - ModelCreatedExamples []*Example `protobuf:"bytes,2,rep,name=model_created_examples,json=modelCreatedExamples,proto3" json:"model_created_examples,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SearchExampleComparisonsResponse_ExampleComparison) Reset() { - *m = SearchExampleComparisonsResponse_ExampleComparison{} -} -func (m *SearchExampleComparisonsResponse_ExampleComparison) String() string { - return proto.CompactTextString(m) -} -func (*SearchExampleComparisonsResponse_ExampleComparison) ProtoMessage() {} -func (*SearchExampleComparisonsResponse_ExampleComparison) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{34, 0} -} - -func (m *SearchExampleComparisonsResponse_ExampleComparison) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchExampleComparisonsResponse_ExampleComparison.Unmarshal(m, b) -} -func (m *SearchExampleComparisonsResponse_ExampleComparison) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchExampleComparisonsResponse_ExampleComparison.Marshal(b, m, deterministic) -} -func (m *SearchExampleComparisonsResponse_ExampleComparison) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchExampleComparisonsResponse_ExampleComparison.Merge(m, src) -} -func (m *SearchExampleComparisonsResponse_ExampleComparison) XXX_Size() int { - return xxx_messageInfo_SearchExampleComparisonsResponse_ExampleComparison.Size(m) -} -func (m *SearchExampleComparisonsResponse_ExampleComparison) XXX_DiscardUnknown() { - xxx_messageInfo_SearchExampleComparisonsResponse_ExampleComparison.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchExampleComparisonsResponse_ExampleComparison proto.InternalMessageInfo - -func (m *SearchExampleComparisonsResponse_ExampleComparison) GetGroundTruthExample() *Example { - if m != nil { - return m.GroundTruthExample - } - return nil -} - -func (m *SearchExampleComparisonsResponse_ExampleComparison) GetModelCreatedExamples() []*Example { - if m != nil { - return m.ModelCreatedExamples - } - return nil -} - -// Request message for CreateEvaluationJob. -type CreateEvaluationJobRequest struct { - // Required. Evaluation job resource parent, format: - // projects/{project_id}. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The evaluation job to create. - Job *EvaluationJob `protobuf:"bytes,2,opt,name=job,proto3" json:"job,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateEvaluationJobRequest) Reset() { *m = CreateEvaluationJobRequest{} } -func (m *CreateEvaluationJobRequest) String() string { return proto.CompactTextString(m) } -func (*CreateEvaluationJobRequest) ProtoMessage() {} -func (*CreateEvaluationJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{35} -} - -func (m *CreateEvaluationJobRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateEvaluationJobRequest.Unmarshal(m, b) -} -func (m *CreateEvaluationJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateEvaluationJobRequest.Marshal(b, m, deterministic) -} -func (m *CreateEvaluationJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateEvaluationJobRequest.Merge(m, src) -} -func (m *CreateEvaluationJobRequest) XXX_Size() int { - return xxx_messageInfo_CreateEvaluationJobRequest.Size(m) -} -func (m *CreateEvaluationJobRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateEvaluationJobRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateEvaluationJobRequest proto.InternalMessageInfo - -func (m *CreateEvaluationJobRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateEvaluationJobRequest) GetJob() *EvaluationJob { - if m != nil { - return m.Job - } - return nil -} - -// Request message for UpdateEvaluationJob. -type UpdateEvaluationJobRequest struct { - // Required. Evaluation job that is going to be updated. - EvaluationJob *EvaluationJob `protobuf:"bytes,1,opt,name=evaluation_job,json=evaluationJob,proto3" json:"evaluation_job,omitempty"` - // Optional. Mask for which field in evaluation_job should 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 *UpdateEvaluationJobRequest) Reset() { *m = UpdateEvaluationJobRequest{} } -func (m *UpdateEvaluationJobRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateEvaluationJobRequest) ProtoMessage() {} -func (*UpdateEvaluationJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{36} -} - -func (m *UpdateEvaluationJobRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateEvaluationJobRequest.Unmarshal(m, b) -} -func (m *UpdateEvaluationJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateEvaluationJobRequest.Marshal(b, m, deterministic) -} -func (m *UpdateEvaluationJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateEvaluationJobRequest.Merge(m, src) -} -func (m *UpdateEvaluationJobRequest) XXX_Size() int { - return xxx_messageInfo_UpdateEvaluationJobRequest.Size(m) -} -func (m *UpdateEvaluationJobRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateEvaluationJobRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateEvaluationJobRequest proto.InternalMessageInfo - -func (m *UpdateEvaluationJobRequest) GetEvaluationJob() *EvaluationJob { - if m != nil { - return m.EvaluationJob - } - return nil -} - -func (m *UpdateEvaluationJobRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// Request message for GetEvaluationJob. -type GetEvaluationJobRequest struct { - // Required. Name of the evaluation job. Format: - // 'projects/{project_id}/evaluationJobs/{evaluation_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 *GetEvaluationJobRequest) Reset() { *m = GetEvaluationJobRequest{} } -func (m *GetEvaluationJobRequest) String() string { return proto.CompactTextString(m) } -func (*GetEvaluationJobRequest) ProtoMessage() {} -func (*GetEvaluationJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{37} -} - -func (m *GetEvaluationJobRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetEvaluationJobRequest.Unmarshal(m, b) -} -func (m *GetEvaluationJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetEvaluationJobRequest.Marshal(b, m, deterministic) -} -func (m *GetEvaluationJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetEvaluationJobRequest.Merge(m, src) -} -func (m *GetEvaluationJobRequest) XXX_Size() int { - return xxx_messageInfo_GetEvaluationJobRequest.Size(m) -} -func (m *GetEvaluationJobRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetEvaluationJobRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetEvaluationJobRequest proto.InternalMessageInfo - -func (m *GetEvaluationJobRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for PauseEvaluationJob. -type PauseEvaluationJobRequest struct { - // Required. Name of the evaluation job that is going to be paused. Format: - // 'projects/{project_id}/evaluationJobs/{evaluation_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 *PauseEvaluationJobRequest) Reset() { *m = PauseEvaluationJobRequest{} } -func (m *PauseEvaluationJobRequest) String() string { return proto.CompactTextString(m) } -func (*PauseEvaluationJobRequest) ProtoMessage() {} -func (*PauseEvaluationJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{38} -} - -func (m *PauseEvaluationJobRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PauseEvaluationJobRequest.Unmarshal(m, b) -} -func (m *PauseEvaluationJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PauseEvaluationJobRequest.Marshal(b, m, deterministic) -} -func (m *PauseEvaluationJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PauseEvaluationJobRequest.Merge(m, src) -} -func (m *PauseEvaluationJobRequest) XXX_Size() int { - return xxx_messageInfo_PauseEvaluationJobRequest.Size(m) -} -func (m *PauseEvaluationJobRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PauseEvaluationJobRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_PauseEvaluationJobRequest proto.InternalMessageInfo - -func (m *PauseEvaluationJobRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message ResumeEvaluationJob. -type ResumeEvaluationJobRequest struct { - // Required. Name of the evaluation job that is going to be resumed. Format: - // 'projects/{project_id}/evaluationJobs/{evaluation_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 *ResumeEvaluationJobRequest) Reset() { *m = ResumeEvaluationJobRequest{} } -func (m *ResumeEvaluationJobRequest) String() string { return proto.CompactTextString(m) } -func (*ResumeEvaluationJobRequest) ProtoMessage() {} -func (*ResumeEvaluationJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{39} -} - -func (m *ResumeEvaluationJobRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResumeEvaluationJobRequest.Unmarshal(m, b) -} -func (m *ResumeEvaluationJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResumeEvaluationJobRequest.Marshal(b, m, deterministic) -} -func (m *ResumeEvaluationJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResumeEvaluationJobRequest.Merge(m, src) -} -func (m *ResumeEvaluationJobRequest) XXX_Size() int { - return xxx_messageInfo_ResumeEvaluationJobRequest.Size(m) -} -func (m *ResumeEvaluationJobRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ResumeEvaluationJobRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ResumeEvaluationJobRequest proto.InternalMessageInfo - -func (m *ResumeEvaluationJobRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message DeleteEvaluationJob. -type DeleteEvaluationJobRequest struct { - // Required. Name of the evaluation job that is going to be deleted. Format: - // 'projects/{project_id}/evaluationJobs/{evaluation_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 *DeleteEvaluationJobRequest) Reset() { *m = DeleteEvaluationJobRequest{} } -func (m *DeleteEvaluationJobRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteEvaluationJobRequest) ProtoMessage() {} -func (*DeleteEvaluationJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{40} -} - -func (m *DeleteEvaluationJobRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteEvaluationJobRequest.Unmarshal(m, b) -} -func (m *DeleteEvaluationJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteEvaluationJobRequest.Marshal(b, m, deterministic) -} -func (m *DeleteEvaluationJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteEvaluationJobRequest.Merge(m, src) -} -func (m *DeleteEvaluationJobRequest) XXX_Size() int { - return xxx_messageInfo_DeleteEvaluationJobRequest.Size(m) -} -func (m *DeleteEvaluationJobRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteEvaluationJobRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteEvaluationJobRequest proto.InternalMessageInfo - -func (m *DeleteEvaluationJobRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for ListEvaluationJobs. -type ListEvaluationJobsRequest struct { - // Required. Evaluation resource parent. Format: - // "projects/{project_id}" - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. Only support filter by model id and job state. Format: - // "evaluation_job.model_id = {model_id} AND evaluation_job.state = - // {EvaluationJob::State}" - Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` - // Optional. Requested page size. Server may return fewer results than - // requested. Default value is 100. - PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional. A token identifying a page of results for the server to return. - // Typically obtained by - // [ListEvaluationJobs.next_page_token][] of the previous - // [DataLabelingService.ListEvaluationJobs] call. - // Return first page if empty. - 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 *ListEvaluationJobsRequest) Reset() { *m = ListEvaluationJobsRequest{} } -func (m *ListEvaluationJobsRequest) String() string { return proto.CompactTextString(m) } -func (*ListEvaluationJobsRequest) ProtoMessage() {} -func (*ListEvaluationJobsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{41} -} - -func (m *ListEvaluationJobsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListEvaluationJobsRequest.Unmarshal(m, b) -} -func (m *ListEvaluationJobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListEvaluationJobsRequest.Marshal(b, m, deterministic) -} -func (m *ListEvaluationJobsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListEvaluationJobsRequest.Merge(m, src) -} -func (m *ListEvaluationJobsRequest) XXX_Size() int { - return xxx_messageInfo_ListEvaluationJobsRequest.Size(m) -} -func (m *ListEvaluationJobsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListEvaluationJobsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListEvaluationJobsRequest proto.InternalMessageInfo - -func (m *ListEvaluationJobsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListEvaluationJobsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListEvaluationJobsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListEvaluationJobsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Results for listing evaluation jobs. -type ListEvaluationJobsResponse struct { - // The list of evaluation jobs to return. - EvaluationJobs []*EvaluationJob `protobuf:"bytes,1,rep,name=evaluation_jobs,json=evaluationJobs,proto3" json:"evaluation_jobs,omitempty"` - // A token to retrieve next page of 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 *ListEvaluationJobsResponse) Reset() { *m = ListEvaluationJobsResponse{} } -func (m *ListEvaluationJobsResponse) String() string { return proto.CompactTextString(m) } -func (*ListEvaluationJobsResponse) ProtoMessage() {} -func (*ListEvaluationJobsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_a21c40690da1750b, []int{42} -} - -func (m *ListEvaluationJobsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListEvaluationJobsResponse.Unmarshal(m, b) -} -func (m *ListEvaluationJobsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListEvaluationJobsResponse.Marshal(b, m, deterministic) -} -func (m *ListEvaluationJobsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListEvaluationJobsResponse.Merge(m, src) -} -func (m *ListEvaluationJobsResponse) XXX_Size() int { - return xxx_messageInfo_ListEvaluationJobsResponse.Size(m) -} -func (m *ListEvaluationJobsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListEvaluationJobsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListEvaluationJobsResponse proto.InternalMessageInfo - -func (m *ListEvaluationJobsResponse) GetEvaluationJobs() []*EvaluationJob { - if m != nil { - return m.EvaluationJobs - } - return nil -} - -func (m *ListEvaluationJobsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -func init() { - proto.RegisterEnum("google.cloud.datalabeling.v1beta1.LabelImageRequest_Feature", LabelImageRequest_Feature_name, LabelImageRequest_Feature_value) - proto.RegisterEnum("google.cloud.datalabeling.v1beta1.LabelVideoRequest_Feature", LabelVideoRequest_Feature_name, LabelVideoRequest_Feature_value) - proto.RegisterEnum("google.cloud.datalabeling.v1beta1.LabelTextRequest_Feature", LabelTextRequest_Feature_name, LabelTextRequest_Feature_value) - proto.RegisterType((*CreateDatasetRequest)(nil), "google.cloud.datalabeling.v1beta1.CreateDatasetRequest") - proto.RegisterType((*GetDatasetRequest)(nil), "google.cloud.datalabeling.v1beta1.GetDatasetRequest") - proto.RegisterType((*ListDatasetsRequest)(nil), "google.cloud.datalabeling.v1beta1.ListDatasetsRequest") - proto.RegisterType((*ListDatasetsResponse)(nil), "google.cloud.datalabeling.v1beta1.ListDatasetsResponse") - proto.RegisterType((*DeleteDatasetRequest)(nil), "google.cloud.datalabeling.v1beta1.DeleteDatasetRequest") - proto.RegisterType((*ImportDataRequest)(nil), "google.cloud.datalabeling.v1beta1.ImportDataRequest") - proto.RegisterType((*ExportDataRequest)(nil), "google.cloud.datalabeling.v1beta1.ExportDataRequest") - proto.RegisterType((*GetDataItemRequest)(nil), "google.cloud.datalabeling.v1beta1.GetDataItemRequest") - proto.RegisterType((*ListDataItemsRequest)(nil), "google.cloud.datalabeling.v1beta1.ListDataItemsRequest") - proto.RegisterType((*ListDataItemsResponse)(nil), "google.cloud.datalabeling.v1beta1.ListDataItemsResponse") - proto.RegisterType((*GetAnnotatedDatasetRequest)(nil), "google.cloud.datalabeling.v1beta1.GetAnnotatedDatasetRequest") - proto.RegisterType((*ListAnnotatedDatasetsRequest)(nil), "google.cloud.datalabeling.v1beta1.ListAnnotatedDatasetsRequest") - proto.RegisterType((*ListAnnotatedDatasetsResponse)(nil), "google.cloud.datalabeling.v1beta1.ListAnnotatedDatasetsResponse") - proto.RegisterType((*DeleteAnnotatedDatasetRequest)(nil), "google.cloud.datalabeling.v1beta1.DeleteAnnotatedDatasetRequest") - proto.RegisterType((*LabelImageRequest)(nil), "google.cloud.datalabeling.v1beta1.LabelImageRequest") - proto.RegisterType((*LabelVideoRequest)(nil), "google.cloud.datalabeling.v1beta1.LabelVideoRequest") - proto.RegisterType((*LabelTextRequest)(nil), "google.cloud.datalabeling.v1beta1.LabelTextRequest") - proto.RegisterType((*GetExampleRequest)(nil), "google.cloud.datalabeling.v1beta1.GetExampleRequest") - proto.RegisterType((*ListExamplesRequest)(nil), "google.cloud.datalabeling.v1beta1.ListExamplesRequest") - proto.RegisterType((*ListExamplesResponse)(nil), "google.cloud.datalabeling.v1beta1.ListExamplesResponse") - proto.RegisterType((*CreateAnnotationSpecSetRequest)(nil), "google.cloud.datalabeling.v1beta1.CreateAnnotationSpecSetRequest") - proto.RegisterType((*GetAnnotationSpecSetRequest)(nil), "google.cloud.datalabeling.v1beta1.GetAnnotationSpecSetRequest") - proto.RegisterType((*ListAnnotationSpecSetsRequest)(nil), "google.cloud.datalabeling.v1beta1.ListAnnotationSpecSetsRequest") - proto.RegisterType((*ListAnnotationSpecSetsResponse)(nil), "google.cloud.datalabeling.v1beta1.ListAnnotationSpecSetsResponse") - proto.RegisterType((*DeleteAnnotationSpecSetRequest)(nil), "google.cloud.datalabeling.v1beta1.DeleteAnnotationSpecSetRequest") - proto.RegisterType((*CreateInstructionRequest)(nil), "google.cloud.datalabeling.v1beta1.CreateInstructionRequest") - proto.RegisterType((*GetInstructionRequest)(nil), "google.cloud.datalabeling.v1beta1.GetInstructionRequest") - proto.RegisterType((*DeleteInstructionRequest)(nil), "google.cloud.datalabeling.v1beta1.DeleteInstructionRequest") - proto.RegisterType((*ListInstructionsRequest)(nil), "google.cloud.datalabeling.v1beta1.ListInstructionsRequest") - proto.RegisterType((*ListInstructionsResponse)(nil), "google.cloud.datalabeling.v1beta1.ListInstructionsResponse") - proto.RegisterType((*GetEvaluationRequest)(nil), "google.cloud.datalabeling.v1beta1.GetEvaluationRequest") - proto.RegisterType((*SearchEvaluationsRequest)(nil), "google.cloud.datalabeling.v1beta1.SearchEvaluationsRequest") - proto.RegisterType((*SearchEvaluationsResponse)(nil), "google.cloud.datalabeling.v1beta1.SearchEvaluationsResponse") - proto.RegisterType((*SearchExampleComparisonsRequest)(nil), "google.cloud.datalabeling.v1beta1.SearchExampleComparisonsRequest") - proto.RegisterType((*SearchExampleComparisonsResponse)(nil), "google.cloud.datalabeling.v1beta1.SearchExampleComparisonsResponse") - proto.RegisterType((*SearchExampleComparisonsResponse_ExampleComparison)(nil), "google.cloud.datalabeling.v1beta1.SearchExampleComparisonsResponse.ExampleComparison") - proto.RegisterType((*CreateEvaluationJobRequest)(nil), "google.cloud.datalabeling.v1beta1.CreateEvaluationJobRequest") - proto.RegisterType((*UpdateEvaluationJobRequest)(nil), "google.cloud.datalabeling.v1beta1.UpdateEvaluationJobRequest") - proto.RegisterType((*GetEvaluationJobRequest)(nil), "google.cloud.datalabeling.v1beta1.GetEvaluationJobRequest") - proto.RegisterType((*PauseEvaluationJobRequest)(nil), "google.cloud.datalabeling.v1beta1.PauseEvaluationJobRequest") - proto.RegisterType((*ResumeEvaluationJobRequest)(nil), "google.cloud.datalabeling.v1beta1.ResumeEvaluationJobRequest") - proto.RegisterType((*DeleteEvaluationJobRequest)(nil), "google.cloud.datalabeling.v1beta1.DeleteEvaluationJobRequest") - proto.RegisterType((*ListEvaluationJobsRequest)(nil), "google.cloud.datalabeling.v1beta1.ListEvaluationJobsRequest") - proto.RegisterType((*ListEvaluationJobsResponse)(nil), "google.cloud.datalabeling.v1beta1.ListEvaluationJobsResponse") -} - -func init() { - proto.RegisterFile("google/cloud/datalabeling/v1beta1/data_labeling_service.proto", fileDescriptor_a21c40690da1750b) -} - -var fileDescriptor_a21c40690da1750b = []byte{ - // 2850 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x5b, 0xdd, 0x6f, 0x23, 0x57, - 0xd9, 0xef, 0xd9, 0x6c, 0xb2, 0xcd, 0x93, 0x8f, 0x75, 0x8e, 0xb3, 0x49, 0x76, 0xb6, 0xdb, 0x37, - 0xef, 0xa0, 0xd2, 0xad, 0xc3, 0xda, 0xc9, 0x66, 0xbb, 0xbb, 0x4d, 0x9a, 0xb6, 0x4e, 0x32, 0x49, - 0xbd, 0xa4, 0x71, 0x70, 0x9c, 0x7e, 0x51, 0x69, 0x18, 0xdb, 0x27, 0xce, 0xec, 0xda, 0x33, 0xc6, - 0x33, 0x4e, 0xb3, 0xad, 0x8a, 0x44, 0x05, 0x45, 0xa2, 0x17, 0x5c, 0x80, 0x7a, 0x01, 0xa2, 0x88, - 0x0b, 0x50, 0x51, 0x29, 0x42, 0x08, 0xee, 0x60, 0xef, 0x00, 0x89, 0xaf, 0x0b, 0x2a, 0x71, 0x81, - 0xc4, 0x1d, 0x7f, 0x00, 0xd7, 0xdc, 0x80, 0xe6, 0xcc, 0x99,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 0x70, 0xa1, 0x0b, 0x04, - 0x4b, 0x81, 0xdb, 0x00, 0xf4, 0x4c, 0x53, 0xad, 0x51, 0x96, 0x04, 0x0b, 0x9c, 0x49, 0x40, 0x55, - 0x1f, 0xad, 0x39, 0x3c, 0xb9, 0xd3, 0x60, 0x11, 0x84, 0x6d, 0x62, 0xe6, 0xbb, 0xfc, 0xdd, 0xcb, - 0x88, 0xdf, 0x44, 0xf0, 0x98, 0x85, 0xbf, 0x9b, 0xe6, 0x54, 0x8c, 0xf9, 0x31, 0x82, 0xcb, 0x31, - 0x60, 0x98, 0x51, 0x2b, 0x80, 0x43, 0x61, 0xee, 0x18, 0x77, 0x99, 0xc3, 0xb8, 0x21, 0xd3, 0x4c, - 0x75, 0x27, 0x07, 0xbf, 0xb1, 0x97, 0xe1, 0xb2, 0xbd, 0xe7, 0x24, 0xb1, 0xf7, 0xfd, 0x11, 0x98, - 0xda, 0xb1, 0x50, 0x15, 0x9a, 0x4a, 0x9d, 0x38, 0x2b, 0xbf, 0x02, 0x97, 0x54, 0xeb, 0x5b, 0xae, - 0x36, 0x14, 0xc3, 0x50, 0x0f, 0xd5, 0xaa, 0xff, 0x70, 0x65, 0x69, 0xf8, 0x2c, 0xcf, 0xbe, 0x63, - 0x71, 0xd9, 0x08, 0x30, 0xb1, 0xb3, 0xf0, 0xc5, 0x47, 0x4a, 0x17, 0xd5, 0xb8, 0x49, 0xac, 0xc2, - 0x74, 0x45, 0xef, 0x68, 0x35, 0xeb, 0xea, 0xd5, 0xd2, 0x1b, 0xf7, 0x1c, 0xc1, 0xc3, 0x54, 0xf0, - 0xd3, 0x1c, 0x82, 0xd7, 0x19, 0xf9, 0x9e, 0xde, 0xb8, 0xe7, 0x4a, 0xc4, 0x95, 0xd0, 0x28, 0x7e, - 0x03, 0xce, 0x5b, 0x12, 0x1a, 0xaa, 0x46, 0x1c, 0x29, 0x23, 0x54, 0xca, 0x12, 0x87, 0x94, 0x3d, - 0x46, 0xe9, 0x4a, 0x98,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 0x12, 0x98, 0xf7, 0x97, 0x08, 0x26, 0x02, - 0xd5, 0x2f, 0xae, 0x77, 0x47, 0x54, 0x35, 0x5f, 0x48, 0x56, 0xfd, 0x76, 0x5e, 0x77, 0x78, 0x99, - 0xeb, 0xc0, 0xf5, 0x95, 0xca, 0x2d, 0xd8, 0xbf, 0x47, 0x30, 0x15, 0x2a, 0xce, 0x73, 0x19, 0x35, - 0xae, 0xb7, 0x20, 0x3c, 0x3b, 0x18, 0x71, 0xa2, 0x7d, 0xce, 0xa7, 0xc5, 0x8a, 0x41, 0x79, 0xe1, - 0xff, 0x78, 0xfd, 0x8e, 0x70, 0x1d, 0x7b, 0xfd, 0x81, 0x4a, 0xe6, 0xb6, 0x5e, 0x1b, 0x0f, 0xa1, - 0xec, 0x2e, 0xbe, 0x4e, 0xd5, 0x2b, 0x8b, 0x45, 0xce, 0xdb, 0x44, 0xd0, 0x5d, 0xb9, 0x70, 0x89, - 0x9e, 0xa9, 0x6f, 0xed, 0x48, 0xf7, 0x11, 0xa4, 0x23, 0xea, 0xd5, 0x5c, 0x4f, 0xc7, 0xf8, 0x3a, - 0xb7, 0x90, 0xb8, 0xa0, 0x28, 0xde, 0xa0, 0x4a, 0x2e, 0x8a, 0x0b, 0x9c, 0x3e, 0xbc, 0xad, 0x57, - 0xe8, 0x96, 0xfa, 0x77, 0x04, 0xe9, 0x88, 0xaa, 0x37, 0x97, 0x02, 0xf1, 0xd5, 0xf2, 0x01, 0x14, - 0x28, 0x51, 0x05, 0x76, 0xae, 0xad, 0x78, 0x0a, 0x74, 0xfd, 0x79, 0xa2, 0x3b, 0xc3, 0x82, 0xca, - 0xe4, 0x32, 0xef, 0xac, 0x74, 0x55, 0xe8, 0xad, 0x97, 0x62, 0xaa, 0xbb, 0x3c, 0xce, 0xb5, 0xff, - 0xc6, 0xd4, 0xd4, 0x07, 0x50, 0x6b, 0x99, 0xaa, 0x75, 0x15, 0x2f, 0xc4, 0xef, 0x14, 0x21, 0x3d, - 0xf0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, 0xff, 0xff, 0x35, 0xda, 0xd3, 0x94, 0x61, 0x37, - 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 - -// DataLabelingServiceClient is the client API for DataLabelingService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type DataLabelingServiceClient interface { - // Creates dataset. If success return a Dataset resource. - CreateDataset(ctx context.Context, in *CreateDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) - // Gets dataset by resource name. - GetDataset(ctx context.Context, in *GetDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) - // Lists datasets under a project. Pagination is supported. - ListDatasets(ctx context.Context, in *ListDatasetsRequest, opts ...grpc.CallOption) (*ListDatasetsResponse, error) - // Deletes a dataset by resource name. - DeleteDataset(ctx context.Context, in *DeleteDatasetRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Imports data into dataset based on source locations defined in request. - // It can be called multiple times for the same dataset. Each dataset can - // only have one long running operation running on it. For example, no - // labeling task (also long running operation) can be started while - // importing is still ongoing. Vice versa. - ImportData(ctx context.Context, in *ImportDataRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Exports data and annotations from dataset. - ExportData(ctx context.Context, in *ExportDataRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Gets a data item in a dataset by resource name. This API can be - // called after data are imported into dataset. - GetDataItem(ctx context.Context, in *GetDataItemRequest, opts ...grpc.CallOption) (*DataItem, error) - // Lists data items in a dataset. This API can be called after data - // are imported into dataset. Pagination is supported. - ListDataItems(ctx context.Context, in *ListDataItemsRequest, opts ...grpc.CallOption) (*ListDataItemsResponse, error) - // Gets an annotated dataset by resource name. - GetAnnotatedDataset(ctx context.Context, in *GetAnnotatedDatasetRequest, opts ...grpc.CallOption) (*AnnotatedDataset, error) - // Lists annotated datasets for a dataset. Pagination is supported. - ListAnnotatedDatasets(ctx context.Context, in *ListAnnotatedDatasetsRequest, opts ...grpc.CallOption) (*ListAnnotatedDatasetsResponse, error) - // Deletes an annotated dataset by resource name. - DeleteAnnotatedDataset(ctx context.Context, in *DeleteAnnotatedDatasetRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Starts a labeling task for image. The type of image labeling task is - // configured by feature in the request. - LabelImage(ctx context.Context, in *LabelImageRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Starts a labeling task for video. The type of video labeling task is - // configured by feature in the request. - LabelVideo(ctx context.Context, in *LabelVideoRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Starts a labeling task for text. The type of text labeling task is - // configured by feature in the request. - LabelText(ctx context.Context, in *LabelTextRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Gets an example by resource name, including both data and annotation. - GetExample(ctx context.Context, in *GetExampleRequest, opts ...grpc.CallOption) (*Example, error) - // Lists examples in an annotated dataset. Pagination is supported. - ListExamples(ctx context.Context, in *ListExamplesRequest, opts ...grpc.CallOption) (*ListExamplesResponse, error) - // Creates an annotation spec set by providing a set of labels. - CreateAnnotationSpecSet(ctx context.Context, in *CreateAnnotationSpecSetRequest, opts ...grpc.CallOption) (*AnnotationSpecSet, error) - // Gets an annotation spec set by resource name. - GetAnnotationSpecSet(ctx context.Context, in *GetAnnotationSpecSetRequest, opts ...grpc.CallOption) (*AnnotationSpecSet, error) - // Lists annotation spec sets for a project. Pagination is supported. - ListAnnotationSpecSets(ctx context.Context, in *ListAnnotationSpecSetsRequest, opts ...grpc.CallOption) (*ListAnnotationSpecSetsResponse, error) - // Deletes an annotation spec set by resource name. - DeleteAnnotationSpecSet(ctx context.Context, in *DeleteAnnotationSpecSetRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Creates an instruction for how data should be labeled. - CreateInstruction(ctx context.Context, in *CreateInstructionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Gets an instruction by resource name. - GetInstruction(ctx context.Context, in *GetInstructionRequest, opts ...grpc.CallOption) (*Instruction, error) - // Lists instructions for a project. Pagination is supported. - ListInstructions(ctx context.Context, in *ListInstructionsRequest, opts ...grpc.CallOption) (*ListInstructionsResponse, error) - // Deletes an instruction object by resource name. - DeleteInstruction(ctx context.Context, in *DeleteInstructionRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Gets an evaluation by resource name. - GetEvaluation(ctx context.Context, in *GetEvaluationRequest, opts ...grpc.CallOption) (*Evaluation, error) - // Searchs evaluations within a project. Supported filter: evaluation_job, - // evaluation_time. - SearchEvaluations(ctx context.Context, in *SearchEvaluationsRequest, opts ...grpc.CallOption) (*SearchEvaluationsResponse, error) - // Searchs example comparisons in evaluation, in format of examples - // of both ground truth and prediction(s). It is represented as a search with - // evaluation id. - SearchExampleComparisons(ctx context.Context, in *SearchExampleComparisonsRequest, opts ...grpc.CallOption) (*SearchExampleComparisonsResponse, error) - // Creates an evaluation job. - CreateEvaluationJob(ctx context.Context, in *CreateEvaluationJobRequest, opts ...grpc.CallOption) (*EvaluationJob, error) - // Updates an evaluation job. - UpdateEvaluationJob(ctx context.Context, in *UpdateEvaluationJobRequest, opts ...grpc.CallOption) (*EvaluationJob, error) - // Gets an evaluation job by resource name. - GetEvaluationJob(ctx context.Context, in *GetEvaluationJobRequest, opts ...grpc.CallOption) (*EvaluationJob, error) - // Pauses an evaluation job. Pausing a evaluation job that is already in - // PAUSED state will be a no-op. - PauseEvaluationJob(ctx context.Context, in *PauseEvaluationJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Resumes a paused evaluation job. Deleted evaluation job can't be resumed. - // Resuming a running evaluation job will be a no-op. - ResumeEvaluationJob(ctx context.Context, in *ResumeEvaluationJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Stops and deletes an evaluation job. - DeleteEvaluationJob(ctx context.Context, in *DeleteEvaluationJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Lists all evaluation jobs within a project with possible filters. - // Pagination is supported. - ListEvaluationJobs(ctx context.Context, in *ListEvaluationJobsRequest, opts ...grpc.CallOption) (*ListEvaluationJobsResponse, error) -} - -type dataLabelingServiceClient struct { - cc *grpc.ClientConn -} - -func NewDataLabelingServiceClient(cc *grpc.ClientConn) DataLabelingServiceClient { - return &dataLabelingServiceClient{cc} -} - -func (c *dataLabelingServiceClient) CreateDataset(ctx context.Context, in *CreateDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) { - out := new(Dataset) - err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/CreateDataset", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataLabelingServiceClient) GetDataset(ctx context.Context, in *GetDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) { - out := new(Dataset) - err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/GetDataset", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataLabelingServiceClient) ListDatasets(ctx context.Context, in *ListDatasetsRequest, opts ...grpc.CallOption) (*ListDatasetsResponse, error) { - out := new(ListDatasetsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/ListDatasets", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataLabelingServiceClient) DeleteDataset(ctx context.Context, in *DeleteDatasetRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/DeleteDataset", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataLabelingServiceClient) ImportData(ctx context.Context, in *ImportDataRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/ImportData", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataLabelingServiceClient) ExportData(ctx context.Context, in *ExportDataRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/ExportData", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataLabelingServiceClient) GetDataItem(ctx context.Context, in *GetDataItemRequest, opts ...grpc.CallOption) (*DataItem, error) { - out := new(DataItem) - err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/GetDataItem", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataLabelingServiceClient) ListDataItems(ctx context.Context, in *ListDataItemsRequest, opts ...grpc.CallOption) (*ListDataItemsResponse, error) { - out := new(ListDataItemsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/ListDataItems", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataLabelingServiceClient) GetAnnotatedDataset(ctx context.Context, in *GetAnnotatedDatasetRequest, opts ...grpc.CallOption) (*AnnotatedDataset, error) { - out := new(AnnotatedDataset) - err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/GetAnnotatedDataset", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataLabelingServiceClient) ListAnnotatedDatasets(ctx context.Context, in *ListAnnotatedDatasetsRequest, opts ...grpc.CallOption) (*ListAnnotatedDatasetsResponse, error) { - out := new(ListAnnotatedDatasetsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/ListAnnotatedDatasets", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataLabelingServiceClient) DeleteAnnotatedDataset(ctx context.Context, in *DeleteAnnotatedDatasetRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/DeleteAnnotatedDataset", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataLabelingServiceClient) LabelImage(ctx context.Context, in *LabelImageRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/LabelImage", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataLabelingServiceClient) LabelVideo(ctx context.Context, in *LabelVideoRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/LabelVideo", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataLabelingServiceClient) LabelText(ctx context.Context, in *LabelTextRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/LabelText", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataLabelingServiceClient) GetExample(ctx context.Context, in *GetExampleRequest, opts ...grpc.CallOption) (*Example, error) { - out := new(Example) - err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/GetExample", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataLabelingServiceClient) ListExamples(ctx context.Context, in *ListExamplesRequest, opts ...grpc.CallOption) (*ListExamplesResponse, error) { - out := new(ListExamplesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/ListExamples", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataLabelingServiceClient) CreateAnnotationSpecSet(ctx context.Context, in *CreateAnnotationSpecSetRequest, opts ...grpc.CallOption) (*AnnotationSpecSet, error) { - out := new(AnnotationSpecSet) - err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/CreateAnnotationSpecSet", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataLabelingServiceClient) GetAnnotationSpecSet(ctx context.Context, in *GetAnnotationSpecSetRequest, opts ...grpc.CallOption) (*AnnotationSpecSet, error) { - out := new(AnnotationSpecSet) - err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/GetAnnotationSpecSet", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataLabelingServiceClient) ListAnnotationSpecSets(ctx context.Context, in *ListAnnotationSpecSetsRequest, opts ...grpc.CallOption) (*ListAnnotationSpecSetsResponse, error) { - out := new(ListAnnotationSpecSetsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/ListAnnotationSpecSets", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataLabelingServiceClient) DeleteAnnotationSpecSet(ctx context.Context, in *DeleteAnnotationSpecSetRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/DeleteAnnotationSpecSet", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataLabelingServiceClient) CreateInstruction(ctx context.Context, in *CreateInstructionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/CreateInstruction", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataLabelingServiceClient) GetInstruction(ctx context.Context, in *GetInstructionRequest, opts ...grpc.CallOption) (*Instruction, error) { - out := new(Instruction) - err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/GetInstruction", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataLabelingServiceClient) ListInstructions(ctx context.Context, in *ListInstructionsRequest, opts ...grpc.CallOption) (*ListInstructionsResponse, error) { - out := new(ListInstructionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/ListInstructions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataLabelingServiceClient) DeleteInstruction(ctx context.Context, in *DeleteInstructionRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/DeleteInstruction", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataLabelingServiceClient) GetEvaluation(ctx context.Context, in *GetEvaluationRequest, opts ...grpc.CallOption) (*Evaluation, error) { - out := new(Evaluation) - err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/GetEvaluation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataLabelingServiceClient) SearchEvaluations(ctx context.Context, in *SearchEvaluationsRequest, opts ...grpc.CallOption) (*SearchEvaluationsResponse, error) { - out := new(SearchEvaluationsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/SearchEvaluations", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataLabelingServiceClient) SearchExampleComparisons(ctx context.Context, in *SearchExampleComparisonsRequest, opts ...grpc.CallOption) (*SearchExampleComparisonsResponse, error) { - out := new(SearchExampleComparisonsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/SearchExampleComparisons", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataLabelingServiceClient) CreateEvaluationJob(ctx context.Context, in *CreateEvaluationJobRequest, opts ...grpc.CallOption) (*EvaluationJob, error) { - out := new(EvaluationJob) - err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/CreateEvaluationJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataLabelingServiceClient) UpdateEvaluationJob(ctx context.Context, in *UpdateEvaluationJobRequest, opts ...grpc.CallOption) (*EvaluationJob, error) { - out := new(EvaluationJob) - err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/UpdateEvaluationJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataLabelingServiceClient) GetEvaluationJob(ctx context.Context, in *GetEvaluationJobRequest, opts ...grpc.CallOption) (*EvaluationJob, error) { - out := new(EvaluationJob) - err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/GetEvaluationJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataLabelingServiceClient) PauseEvaluationJob(ctx context.Context, in *PauseEvaluationJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/PauseEvaluationJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataLabelingServiceClient) ResumeEvaluationJob(ctx context.Context, in *ResumeEvaluationJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/ResumeEvaluationJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataLabelingServiceClient) DeleteEvaluationJob(ctx context.Context, in *DeleteEvaluationJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/DeleteEvaluationJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataLabelingServiceClient) ListEvaluationJobs(ctx context.Context, in *ListEvaluationJobsRequest, opts ...grpc.CallOption) (*ListEvaluationJobsResponse, error) { - out := new(ListEvaluationJobsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.datalabeling.v1beta1.DataLabelingService/ListEvaluationJobs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// DataLabelingServiceServer is the server API for DataLabelingService service. -type DataLabelingServiceServer interface { - // Creates dataset. If success return a Dataset resource. - CreateDataset(context.Context, *CreateDatasetRequest) (*Dataset, error) - // Gets dataset by resource name. - GetDataset(context.Context, *GetDatasetRequest) (*Dataset, error) - // Lists datasets under a project. Pagination is supported. - ListDatasets(context.Context, *ListDatasetsRequest) (*ListDatasetsResponse, error) - // Deletes a dataset by resource name. - DeleteDataset(context.Context, *DeleteDatasetRequest) (*empty.Empty, error) - // Imports data into dataset based on source locations defined in request. - // It can be called multiple times for the same dataset. Each dataset can - // only have one long running operation running on it. For example, no - // labeling task (also long running operation) can be started while - // importing is still ongoing. Vice versa. - ImportData(context.Context, *ImportDataRequest) (*longrunning.Operation, error) - // Exports data and annotations from dataset. - ExportData(context.Context, *ExportDataRequest) (*longrunning.Operation, error) - // Gets a data item in a dataset by resource name. This API can be - // called after data are imported into dataset. - GetDataItem(context.Context, *GetDataItemRequest) (*DataItem, error) - // Lists data items in a dataset. This API can be called after data - // are imported into dataset. Pagination is supported. - ListDataItems(context.Context, *ListDataItemsRequest) (*ListDataItemsResponse, error) - // Gets an annotated dataset by resource name. - GetAnnotatedDataset(context.Context, *GetAnnotatedDatasetRequest) (*AnnotatedDataset, error) - // Lists annotated datasets for a dataset. Pagination is supported. - ListAnnotatedDatasets(context.Context, *ListAnnotatedDatasetsRequest) (*ListAnnotatedDatasetsResponse, error) - // Deletes an annotated dataset by resource name. - DeleteAnnotatedDataset(context.Context, *DeleteAnnotatedDatasetRequest) (*empty.Empty, error) - // Starts a labeling task for image. The type of image labeling task is - // configured by feature in the request. - LabelImage(context.Context, *LabelImageRequest) (*longrunning.Operation, error) - // Starts a labeling task for video. The type of video labeling task is - // configured by feature in the request. - LabelVideo(context.Context, *LabelVideoRequest) (*longrunning.Operation, error) - // Starts a labeling task for text. The type of text labeling task is - // configured by feature in the request. - LabelText(context.Context, *LabelTextRequest) (*longrunning.Operation, error) - // Gets an example by resource name, including both data and annotation. - GetExample(context.Context, *GetExampleRequest) (*Example, error) - // Lists examples in an annotated dataset. Pagination is supported. - ListExamples(context.Context, *ListExamplesRequest) (*ListExamplesResponse, error) - // Creates an annotation spec set by providing a set of labels. - CreateAnnotationSpecSet(context.Context, *CreateAnnotationSpecSetRequest) (*AnnotationSpecSet, error) - // Gets an annotation spec set by resource name. - GetAnnotationSpecSet(context.Context, *GetAnnotationSpecSetRequest) (*AnnotationSpecSet, error) - // Lists annotation spec sets for a project. Pagination is supported. - ListAnnotationSpecSets(context.Context, *ListAnnotationSpecSetsRequest) (*ListAnnotationSpecSetsResponse, error) - // Deletes an annotation spec set by resource name. - DeleteAnnotationSpecSet(context.Context, *DeleteAnnotationSpecSetRequest) (*empty.Empty, error) - // Creates an instruction for how data should be labeled. - CreateInstruction(context.Context, *CreateInstructionRequest) (*longrunning.Operation, error) - // Gets an instruction by resource name. - GetInstruction(context.Context, *GetInstructionRequest) (*Instruction, error) - // Lists instructions for a project. Pagination is supported. - ListInstructions(context.Context, *ListInstructionsRequest) (*ListInstructionsResponse, error) - // Deletes an instruction object by resource name. - DeleteInstruction(context.Context, *DeleteInstructionRequest) (*empty.Empty, error) - // Gets an evaluation by resource name. - GetEvaluation(context.Context, *GetEvaluationRequest) (*Evaluation, error) - // Searchs evaluations within a project. Supported filter: evaluation_job, - // evaluation_time. - SearchEvaluations(context.Context, *SearchEvaluationsRequest) (*SearchEvaluationsResponse, error) - // Searchs example comparisons in evaluation, in format of examples - // of both ground truth and prediction(s). It is represented as a search with - // evaluation id. - SearchExampleComparisons(context.Context, *SearchExampleComparisonsRequest) (*SearchExampleComparisonsResponse, error) - // Creates an evaluation job. - CreateEvaluationJob(context.Context, *CreateEvaluationJobRequest) (*EvaluationJob, error) - // Updates an evaluation job. - UpdateEvaluationJob(context.Context, *UpdateEvaluationJobRequest) (*EvaluationJob, error) - // Gets an evaluation job by resource name. - GetEvaluationJob(context.Context, *GetEvaluationJobRequest) (*EvaluationJob, error) - // Pauses an evaluation job. Pausing a evaluation job that is already in - // PAUSED state will be a no-op. - PauseEvaluationJob(context.Context, *PauseEvaluationJobRequest) (*empty.Empty, error) - // Resumes a paused evaluation job. Deleted evaluation job can't be resumed. - // Resuming a running evaluation job will be a no-op. - ResumeEvaluationJob(context.Context, *ResumeEvaluationJobRequest) (*empty.Empty, error) - // Stops and deletes an evaluation job. - DeleteEvaluationJob(context.Context, *DeleteEvaluationJobRequest) (*empty.Empty, error) - // Lists all evaluation jobs within a project with possible filters. - // Pagination is supported. - ListEvaluationJobs(context.Context, *ListEvaluationJobsRequest) (*ListEvaluationJobsResponse, error) -} - -// UnimplementedDataLabelingServiceServer can be embedded to have forward compatible implementations. -type UnimplementedDataLabelingServiceServer struct { -} - -func (*UnimplementedDataLabelingServiceServer) CreateDataset(ctx context.Context, req *CreateDatasetRequest) (*Dataset, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateDataset not implemented") -} -func (*UnimplementedDataLabelingServiceServer) GetDataset(ctx context.Context, req *GetDatasetRequest) (*Dataset, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDataset not implemented") -} -func (*UnimplementedDataLabelingServiceServer) ListDatasets(ctx context.Context, req *ListDatasetsRequest) (*ListDatasetsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListDatasets not implemented") -} -func (*UnimplementedDataLabelingServiceServer) DeleteDataset(ctx context.Context, req *DeleteDatasetRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteDataset not implemented") -} -func (*UnimplementedDataLabelingServiceServer) ImportData(ctx context.Context, req *ImportDataRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ImportData not implemented") -} -func (*UnimplementedDataLabelingServiceServer) ExportData(ctx context.Context, req *ExportDataRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ExportData not implemented") -} -func (*UnimplementedDataLabelingServiceServer) GetDataItem(ctx context.Context, req *GetDataItemRequest) (*DataItem, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDataItem not implemented") -} -func (*UnimplementedDataLabelingServiceServer) ListDataItems(ctx context.Context, req *ListDataItemsRequest) (*ListDataItemsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListDataItems not implemented") -} -func (*UnimplementedDataLabelingServiceServer) GetAnnotatedDataset(ctx context.Context, req *GetAnnotatedDatasetRequest) (*AnnotatedDataset, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAnnotatedDataset not implemented") -} -func (*UnimplementedDataLabelingServiceServer) ListAnnotatedDatasets(ctx context.Context, req *ListAnnotatedDatasetsRequest) (*ListAnnotatedDatasetsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListAnnotatedDatasets not implemented") -} -func (*UnimplementedDataLabelingServiceServer) DeleteAnnotatedDataset(ctx context.Context, req *DeleteAnnotatedDatasetRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteAnnotatedDataset not implemented") -} -func (*UnimplementedDataLabelingServiceServer) LabelImage(ctx context.Context, req *LabelImageRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method LabelImage not implemented") -} -func (*UnimplementedDataLabelingServiceServer) LabelVideo(ctx context.Context, req *LabelVideoRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method LabelVideo not implemented") -} -func (*UnimplementedDataLabelingServiceServer) LabelText(ctx context.Context, req *LabelTextRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method LabelText not implemented") -} -func (*UnimplementedDataLabelingServiceServer) GetExample(ctx context.Context, req *GetExampleRequest) (*Example, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetExample not implemented") -} -func (*UnimplementedDataLabelingServiceServer) ListExamples(ctx context.Context, req *ListExamplesRequest) (*ListExamplesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListExamples not implemented") -} -func (*UnimplementedDataLabelingServiceServer) CreateAnnotationSpecSet(ctx context.Context, req *CreateAnnotationSpecSetRequest) (*AnnotationSpecSet, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateAnnotationSpecSet not implemented") -} -func (*UnimplementedDataLabelingServiceServer) GetAnnotationSpecSet(ctx context.Context, req *GetAnnotationSpecSetRequest) (*AnnotationSpecSet, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAnnotationSpecSet not implemented") -} -func (*UnimplementedDataLabelingServiceServer) ListAnnotationSpecSets(ctx context.Context, req *ListAnnotationSpecSetsRequest) (*ListAnnotationSpecSetsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListAnnotationSpecSets not implemented") -} -func (*UnimplementedDataLabelingServiceServer) DeleteAnnotationSpecSet(ctx context.Context, req *DeleteAnnotationSpecSetRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteAnnotationSpecSet not implemented") -} -func (*UnimplementedDataLabelingServiceServer) CreateInstruction(ctx context.Context, req *CreateInstructionRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateInstruction not implemented") -} -func (*UnimplementedDataLabelingServiceServer) GetInstruction(ctx context.Context, req *GetInstructionRequest) (*Instruction, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetInstruction not implemented") -} -func (*UnimplementedDataLabelingServiceServer) ListInstructions(ctx context.Context, req *ListInstructionsRequest) (*ListInstructionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListInstructions not implemented") -} -func (*UnimplementedDataLabelingServiceServer) DeleteInstruction(ctx context.Context, req *DeleteInstructionRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteInstruction not implemented") -} -func (*UnimplementedDataLabelingServiceServer) GetEvaluation(ctx context.Context, req *GetEvaluationRequest) (*Evaluation, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetEvaluation not implemented") -} -func (*UnimplementedDataLabelingServiceServer) SearchEvaluations(ctx context.Context, req *SearchEvaluationsRequest) (*SearchEvaluationsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchEvaluations not implemented") -} -func (*UnimplementedDataLabelingServiceServer) SearchExampleComparisons(ctx context.Context, req *SearchExampleComparisonsRequest) (*SearchExampleComparisonsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchExampleComparisons not implemented") -} -func (*UnimplementedDataLabelingServiceServer) CreateEvaluationJob(ctx context.Context, req *CreateEvaluationJobRequest) (*EvaluationJob, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateEvaluationJob not implemented") -} -func (*UnimplementedDataLabelingServiceServer) UpdateEvaluationJob(ctx context.Context, req *UpdateEvaluationJobRequest) (*EvaluationJob, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateEvaluationJob not implemented") -} -func (*UnimplementedDataLabelingServiceServer) GetEvaluationJob(ctx context.Context, req *GetEvaluationJobRequest) (*EvaluationJob, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetEvaluationJob not implemented") -} -func (*UnimplementedDataLabelingServiceServer) PauseEvaluationJob(ctx context.Context, req *PauseEvaluationJobRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method PauseEvaluationJob not implemented") -} -func (*UnimplementedDataLabelingServiceServer) ResumeEvaluationJob(ctx context.Context, req *ResumeEvaluationJobRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method ResumeEvaluationJob not implemented") -} -func (*UnimplementedDataLabelingServiceServer) DeleteEvaluationJob(ctx context.Context, req *DeleteEvaluationJobRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteEvaluationJob not implemented") -} -func (*UnimplementedDataLabelingServiceServer) ListEvaluationJobs(ctx context.Context, req *ListEvaluationJobsRequest) (*ListEvaluationJobsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListEvaluationJobs not implemented") -} - -func RegisterDataLabelingServiceServer(s *grpc.Server, srv DataLabelingServiceServer) { - s.RegisterService(&_DataLabelingService_serviceDesc, srv) -} - -func _DataLabelingService_CreateDataset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateDatasetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataLabelingServiceServer).CreateDataset(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datalabeling.v1beta1.DataLabelingService/CreateDataset", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataLabelingServiceServer).CreateDataset(ctx, req.(*CreateDatasetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataLabelingService_GetDataset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDatasetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataLabelingServiceServer).GetDataset(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datalabeling.v1beta1.DataLabelingService/GetDataset", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataLabelingServiceServer).GetDataset(ctx, req.(*GetDatasetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataLabelingService_ListDatasets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListDatasetsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataLabelingServiceServer).ListDatasets(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datalabeling.v1beta1.DataLabelingService/ListDatasets", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataLabelingServiceServer).ListDatasets(ctx, req.(*ListDatasetsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataLabelingService_DeleteDataset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteDatasetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataLabelingServiceServer).DeleteDataset(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datalabeling.v1beta1.DataLabelingService/DeleteDataset", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataLabelingServiceServer).DeleteDataset(ctx, req.(*DeleteDatasetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataLabelingService_ImportData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ImportDataRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataLabelingServiceServer).ImportData(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datalabeling.v1beta1.DataLabelingService/ImportData", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataLabelingServiceServer).ImportData(ctx, req.(*ImportDataRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataLabelingService_ExportData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ExportDataRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataLabelingServiceServer).ExportData(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datalabeling.v1beta1.DataLabelingService/ExportData", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataLabelingServiceServer).ExportData(ctx, req.(*ExportDataRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataLabelingService_GetDataItem_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDataItemRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataLabelingServiceServer).GetDataItem(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datalabeling.v1beta1.DataLabelingService/GetDataItem", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataLabelingServiceServer).GetDataItem(ctx, req.(*GetDataItemRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataLabelingService_ListDataItems_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListDataItemsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataLabelingServiceServer).ListDataItems(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datalabeling.v1beta1.DataLabelingService/ListDataItems", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataLabelingServiceServer).ListDataItems(ctx, req.(*ListDataItemsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataLabelingService_GetAnnotatedDataset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAnnotatedDatasetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataLabelingServiceServer).GetAnnotatedDataset(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datalabeling.v1beta1.DataLabelingService/GetAnnotatedDataset", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataLabelingServiceServer).GetAnnotatedDataset(ctx, req.(*GetAnnotatedDatasetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataLabelingService_ListAnnotatedDatasets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListAnnotatedDatasetsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataLabelingServiceServer).ListAnnotatedDatasets(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datalabeling.v1beta1.DataLabelingService/ListAnnotatedDatasets", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataLabelingServiceServer).ListAnnotatedDatasets(ctx, req.(*ListAnnotatedDatasetsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataLabelingService_DeleteAnnotatedDataset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteAnnotatedDatasetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataLabelingServiceServer).DeleteAnnotatedDataset(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datalabeling.v1beta1.DataLabelingService/DeleteAnnotatedDataset", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataLabelingServiceServer).DeleteAnnotatedDataset(ctx, req.(*DeleteAnnotatedDatasetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataLabelingService_LabelImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(LabelImageRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataLabelingServiceServer).LabelImage(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datalabeling.v1beta1.DataLabelingService/LabelImage", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataLabelingServiceServer).LabelImage(ctx, req.(*LabelImageRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataLabelingService_LabelVideo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(LabelVideoRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataLabelingServiceServer).LabelVideo(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datalabeling.v1beta1.DataLabelingService/LabelVideo", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataLabelingServiceServer).LabelVideo(ctx, req.(*LabelVideoRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataLabelingService_LabelText_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(LabelTextRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataLabelingServiceServer).LabelText(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datalabeling.v1beta1.DataLabelingService/LabelText", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataLabelingServiceServer).LabelText(ctx, req.(*LabelTextRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataLabelingService_GetExample_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetExampleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataLabelingServiceServer).GetExample(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datalabeling.v1beta1.DataLabelingService/GetExample", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataLabelingServiceServer).GetExample(ctx, req.(*GetExampleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataLabelingService_ListExamples_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListExamplesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataLabelingServiceServer).ListExamples(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datalabeling.v1beta1.DataLabelingService/ListExamples", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataLabelingServiceServer).ListExamples(ctx, req.(*ListExamplesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataLabelingService_CreateAnnotationSpecSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateAnnotationSpecSetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataLabelingServiceServer).CreateAnnotationSpecSet(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datalabeling.v1beta1.DataLabelingService/CreateAnnotationSpecSet", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataLabelingServiceServer).CreateAnnotationSpecSet(ctx, req.(*CreateAnnotationSpecSetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataLabelingService_GetAnnotationSpecSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAnnotationSpecSetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataLabelingServiceServer).GetAnnotationSpecSet(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datalabeling.v1beta1.DataLabelingService/GetAnnotationSpecSet", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataLabelingServiceServer).GetAnnotationSpecSet(ctx, req.(*GetAnnotationSpecSetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataLabelingService_ListAnnotationSpecSets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListAnnotationSpecSetsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataLabelingServiceServer).ListAnnotationSpecSets(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datalabeling.v1beta1.DataLabelingService/ListAnnotationSpecSets", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataLabelingServiceServer).ListAnnotationSpecSets(ctx, req.(*ListAnnotationSpecSetsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataLabelingService_DeleteAnnotationSpecSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteAnnotationSpecSetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataLabelingServiceServer).DeleteAnnotationSpecSet(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datalabeling.v1beta1.DataLabelingService/DeleteAnnotationSpecSet", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataLabelingServiceServer).DeleteAnnotationSpecSet(ctx, req.(*DeleteAnnotationSpecSetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataLabelingService_CreateInstruction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateInstructionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataLabelingServiceServer).CreateInstruction(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datalabeling.v1beta1.DataLabelingService/CreateInstruction", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataLabelingServiceServer).CreateInstruction(ctx, req.(*CreateInstructionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataLabelingService_GetInstruction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetInstructionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataLabelingServiceServer).GetInstruction(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datalabeling.v1beta1.DataLabelingService/GetInstruction", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataLabelingServiceServer).GetInstruction(ctx, req.(*GetInstructionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataLabelingService_ListInstructions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListInstructionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataLabelingServiceServer).ListInstructions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datalabeling.v1beta1.DataLabelingService/ListInstructions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataLabelingServiceServer).ListInstructions(ctx, req.(*ListInstructionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataLabelingService_DeleteInstruction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteInstructionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataLabelingServiceServer).DeleteInstruction(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datalabeling.v1beta1.DataLabelingService/DeleteInstruction", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataLabelingServiceServer).DeleteInstruction(ctx, req.(*DeleteInstructionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataLabelingService_GetEvaluation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetEvaluationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataLabelingServiceServer).GetEvaluation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datalabeling.v1beta1.DataLabelingService/GetEvaluation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataLabelingServiceServer).GetEvaluation(ctx, req.(*GetEvaluationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataLabelingService_SearchEvaluations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchEvaluationsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataLabelingServiceServer).SearchEvaluations(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datalabeling.v1beta1.DataLabelingService/SearchEvaluations", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataLabelingServiceServer).SearchEvaluations(ctx, req.(*SearchEvaluationsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataLabelingService_SearchExampleComparisons_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchExampleComparisonsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataLabelingServiceServer).SearchExampleComparisons(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datalabeling.v1beta1.DataLabelingService/SearchExampleComparisons", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataLabelingServiceServer).SearchExampleComparisons(ctx, req.(*SearchExampleComparisonsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataLabelingService_CreateEvaluationJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateEvaluationJobRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataLabelingServiceServer).CreateEvaluationJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datalabeling.v1beta1.DataLabelingService/CreateEvaluationJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataLabelingServiceServer).CreateEvaluationJob(ctx, req.(*CreateEvaluationJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataLabelingService_UpdateEvaluationJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateEvaluationJobRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataLabelingServiceServer).UpdateEvaluationJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datalabeling.v1beta1.DataLabelingService/UpdateEvaluationJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataLabelingServiceServer).UpdateEvaluationJob(ctx, req.(*UpdateEvaluationJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataLabelingService_GetEvaluationJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetEvaluationJobRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataLabelingServiceServer).GetEvaluationJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datalabeling.v1beta1.DataLabelingService/GetEvaluationJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataLabelingServiceServer).GetEvaluationJob(ctx, req.(*GetEvaluationJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataLabelingService_PauseEvaluationJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PauseEvaluationJobRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataLabelingServiceServer).PauseEvaluationJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datalabeling.v1beta1.DataLabelingService/PauseEvaluationJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataLabelingServiceServer).PauseEvaluationJob(ctx, req.(*PauseEvaluationJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataLabelingService_ResumeEvaluationJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ResumeEvaluationJobRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataLabelingServiceServer).ResumeEvaluationJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datalabeling.v1beta1.DataLabelingService/ResumeEvaluationJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataLabelingServiceServer).ResumeEvaluationJob(ctx, req.(*ResumeEvaluationJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataLabelingService_DeleteEvaluationJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteEvaluationJobRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataLabelingServiceServer).DeleteEvaluationJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datalabeling.v1beta1.DataLabelingService/DeleteEvaluationJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataLabelingServiceServer).DeleteEvaluationJob(ctx, req.(*DeleteEvaluationJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DataLabelingService_ListEvaluationJobs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListEvaluationJobsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DataLabelingServiceServer).ListEvaluationJobs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.datalabeling.v1beta1.DataLabelingService/ListEvaluationJobs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataLabelingServiceServer).ListEvaluationJobs(ctx, req.(*ListEvaluationJobsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _DataLabelingService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.datalabeling.v1beta1.DataLabelingService", - HandlerType: (*DataLabelingServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateDataset", - Handler: _DataLabelingService_CreateDataset_Handler, - }, - { - MethodName: "GetDataset", - Handler: _DataLabelingService_GetDataset_Handler, - }, - { - MethodName: "ListDatasets", - Handler: _DataLabelingService_ListDatasets_Handler, - }, - { - MethodName: "DeleteDataset", - Handler: _DataLabelingService_DeleteDataset_Handler, - }, - { - MethodName: "ImportData", - Handler: _DataLabelingService_ImportData_Handler, - }, - { - MethodName: "ExportData", - Handler: _DataLabelingService_ExportData_Handler, - }, - { - MethodName: "GetDataItem", - Handler: _DataLabelingService_GetDataItem_Handler, - }, - { - MethodName: "ListDataItems", - Handler: _DataLabelingService_ListDataItems_Handler, - }, - { - MethodName: "GetAnnotatedDataset", - Handler: _DataLabelingService_GetAnnotatedDataset_Handler, - }, - { - MethodName: "ListAnnotatedDatasets", - Handler: _DataLabelingService_ListAnnotatedDatasets_Handler, - }, - { - MethodName: "DeleteAnnotatedDataset", - Handler: _DataLabelingService_DeleteAnnotatedDataset_Handler, - }, - { - MethodName: "LabelImage", - Handler: _DataLabelingService_LabelImage_Handler, - }, - { - MethodName: "LabelVideo", - Handler: _DataLabelingService_LabelVideo_Handler, - }, - { - MethodName: "LabelText", - Handler: _DataLabelingService_LabelText_Handler, - }, - { - MethodName: "GetExample", - Handler: _DataLabelingService_GetExample_Handler, - }, - { - MethodName: "ListExamples", - Handler: _DataLabelingService_ListExamples_Handler, - }, - { - MethodName: "CreateAnnotationSpecSet", - Handler: _DataLabelingService_CreateAnnotationSpecSet_Handler, - }, - { - MethodName: "GetAnnotationSpecSet", - Handler: _DataLabelingService_GetAnnotationSpecSet_Handler, - }, - { - MethodName: "ListAnnotationSpecSets", - Handler: _DataLabelingService_ListAnnotationSpecSets_Handler, - }, - { - MethodName: "DeleteAnnotationSpecSet", - Handler: _DataLabelingService_DeleteAnnotationSpecSet_Handler, - }, - { - MethodName: "CreateInstruction", - Handler: _DataLabelingService_CreateInstruction_Handler, - }, - { - MethodName: "GetInstruction", - Handler: _DataLabelingService_GetInstruction_Handler, - }, - { - MethodName: "ListInstructions", - Handler: _DataLabelingService_ListInstructions_Handler, - }, - { - MethodName: "DeleteInstruction", - Handler: _DataLabelingService_DeleteInstruction_Handler, - }, - { - MethodName: "GetEvaluation", - Handler: _DataLabelingService_GetEvaluation_Handler, - }, - { - MethodName: "SearchEvaluations", - Handler: _DataLabelingService_SearchEvaluations_Handler, - }, - { - MethodName: "SearchExampleComparisons", - Handler: _DataLabelingService_SearchExampleComparisons_Handler, - }, - { - MethodName: "CreateEvaluationJob", - Handler: _DataLabelingService_CreateEvaluationJob_Handler, - }, - { - MethodName: "UpdateEvaluationJob", - Handler: _DataLabelingService_UpdateEvaluationJob_Handler, - }, - { - MethodName: "GetEvaluationJob", - Handler: _DataLabelingService_GetEvaluationJob_Handler, - }, - { - MethodName: "PauseEvaluationJob", - Handler: _DataLabelingService_PauseEvaluationJob_Handler, - }, - { - MethodName: "ResumeEvaluationJob", - Handler: _DataLabelingService_ResumeEvaluationJob_Handler, - }, - { - MethodName: "DeleteEvaluationJob", - Handler: _DataLabelingService_DeleteEvaluationJob_Handler, - }, - { - MethodName: "ListEvaluationJobs", - Handler: _DataLabelingService_ListEvaluationJobs_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/datalabeling/v1beta1/data_labeling_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/data_payloads.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/data_payloads.pb.go deleted file mode 100644 index 256ea6ea..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/data_payloads.pb.go +++ /dev/null @@ -1,305 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/datalabeling/v1beta1/data_payloads.proto - -package datalabeling - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - _ "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Container of information about an image. -type ImagePayload struct { - // Image format. - MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - // A byte string of a thumbnail image. - ImageThumbnail []byte `protobuf:"bytes,2,opt,name=image_thumbnail,json=imageThumbnail,proto3" json:"image_thumbnail,omitempty"` - // Image uri from the user bucket. - ImageUri string `protobuf:"bytes,3,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"` - // Signed uri of the image file in the service bucket. - SignedUri string `protobuf:"bytes,4,opt,name=signed_uri,json=signedUri,proto3" json:"signed_uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ImagePayload) Reset() { *m = ImagePayload{} } -func (m *ImagePayload) String() string { return proto.CompactTextString(m) } -func (*ImagePayload) ProtoMessage() {} -func (*ImagePayload) Descriptor() ([]byte, []int) { - return fileDescriptor_7d5088066040abfe, []int{0} -} - -func (m *ImagePayload) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImagePayload.Unmarshal(m, b) -} -func (m *ImagePayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImagePayload.Marshal(b, m, deterministic) -} -func (m *ImagePayload) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImagePayload.Merge(m, src) -} -func (m *ImagePayload) XXX_Size() int { - return xxx_messageInfo_ImagePayload.Size(m) -} -func (m *ImagePayload) XXX_DiscardUnknown() { - xxx_messageInfo_ImagePayload.DiscardUnknown(m) -} - -var xxx_messageInfo_ImagePayload proto.InternalMessageInfo - -func (m *ImagePayload) GetMimeType() string { - if m != nil { - return m.MimeType - } - return "" -} - -func (m *ImagePayload) GetImageThumbnail() []byte { - if m != nil { - return m.ImageThumbnail - } - return nil -} - -func (m *ImagePayload) GetImageUri() string { - if m != nil { - return m.ImageUri - } - return "" -} - -func (m *ImagePayload) GetSignedUri() string { - if m != nil { - return m.SignedUri - } - return "" -} - -// Container of information about a piece of text. -type TextPayload struct { - // Text content. - TextContent string `protobuf:"bytes,1,opt,name=text_content,json=textContent,proto3" json:"text_content,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TextPayload) Reset() { *m = TextPayload{} } -func (m *TextPayload) String() string { return proto.CompactTextString(m) } -func (*TextPayload) ProtoMessage() {} -func (*TextPayload) Descriptor() ([]byte, []int) { - return fileDescriptor_7d5088066040abfe, []int{1} -} - -func (m *TextPayload) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextPayload.Unmarshal(m, b) -} -func (m *TextPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextPayload.Marshal(b, m, deterministic) -} -func (m *TextPayload) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextPayload.Merge(m, src) -} -func (m *TextPayload) XXX_Size() int { - return xxx_messageInfo_TextPayload.Size(m) -} -func (m *TextPayload) XXX_DiscardUnknown() { - xxx_messageInfo_TextPayload.DiscardUnknown(m) -} - -var xxx_messageInfo_TextPayload proto.InternalMessageInfo - -func (m *TextPayload) GetTextContent() string { - if m != nil { - return m.TextContent - } - return "" -} - -// Container of information of a video thumbnail. -type VideoThumbnail struct { - // A byte string of the video frame. - Thumbnail []byte `protobuf:"bytes,1,opt,name=thumbnail,proto3" json:"thumbnail,omitempty"` - // Time offset relative to the beginning of the video, corresponding to the - // video frame where the thumbnail has been extracted from. - 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 *VideoThumbnail) Reset() { *m = VideoThumbnail{} } -func (m *VideoThumbnail) String() string { return proto.CompactTextString(m) } -func (*VideoThumbnail) ProtoMessage() {} -func (*VideoThumbnail) Descriptor() ([]byte, []int) { - return fileDescriptor_7d5088066040abfe, []int{2} -} - -func (m *VideoThumbnail) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VideoThumbnail.Unmarshal(m, b) -} -func (m *VideoThumbnail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VideoThumbnail.Marshal(b, m, deterministic) -} -func (m *VideoThumbnail) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoThumbnail.Merge(m, src) -} -func (m *VideoThumbnail) XXX_Size() int { - return xxx_messageInfo_VideoThumbnail.Size(m) -} -func (m *VideoThumbnail) XXX_DiscardUnknown() { - xxx_messageInfo_VideoThumbnail.DiscardUnknown(m) -} - -var xxx_messageInfo_VideoThumbnail proto.InternalMessageInfo - -func (m *VideoThumbnail) GetThumbnail() []byte { - if m != nil { - return m.Thumbnail - } - return nil -} - -func (m *VideoThumbnail) GetTimeOffset() *duration.Duration { - if m != nil { - return m.TimeOffset - } - return nil -} - -// Container of information of a video. -type VideoPayload struct { - // Video format. - MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - // Video uri from the user bucket. - VideoUri string `protobuf:"bytes,2,opt,name=video_uri,json=videoUri,proto3" json:"video_uri,omitempty"` - // The list of video thumbnails. - VideoThumbnails []*VideoThumbnail `protobuf:"bytes,3,rep,name=video_thumbnails,json=videoThumbnails,proto3" json:"video_thumbnails,omitempty"` - // FPS of the video. - FrameRate float32 `protobuf:"fixed32,4,opt,name=frame_rate,json=frameRate,proto3" json:"frame_rate,omitempty"` - // Signed uri of the video file in the service bucket. - SignedUri string `protobuf:"bytes,5,opt,name=signed_uri,json=signedUri,proto3" json:"signed_uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VideoPayload) Reset() { *m = VideoPayload{} } -func (m *VideoPayload) String() string { return proto.CompactTextString(m) } -func (*VideoPayload) ProtoMessage() {} -func (*VideoPayload) Descriptor() ([]byte, []int) { - return fileDescriptor_7d5088066040abfe, []int{3} -} - -func (m *VideoPayload) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VideoPayload.Unmarshal(m, b) -} -func (m *VideoPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VideoPayload.Marshal(b, m, deterministic) -} -func (m *VideoPayload) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoPayload.Merge(m, src) -} -func (m *VideoPayload) XXX_Size() int { - return xxx_messageInfo_VideoPayload.Size(m) -} -func (m *VideoPayload) XXX_DiscardUnknown() { - xxx_messageInfo_VideoPayload.DiscardUnknown(m) -} - -var xxx_messageInfo_VideoPayload proto.InternalMessageInfo - -func (m *VideoPayload) GetMimeType() string { - if m != nil { - return m.MimeType - } - return "" -} - -func (m *VideoPayload) GetVideoUri() string { - if m != nil { - return m.VideoUri - } - return "" -} - -func (m *VideoPayload) GetVideoThumbnails() []*VideoThumbnail { - if m != nil { - return m.VideoThumbnails - } - return nil -} - -func (m *VideoPayload) GetFrameRate() float32 { - if m != nil { - return m.FrameRate - } - return 0 -} - -func (m *VideoPayload) GetSignedUri() string { - if m != nil { - return m.SignedUri - } - return "" -} - -func init() { - proto.RegisterType((*ImagePayload)(nil), "google.cloud.datalabeling.v1beta1.ImagePayload") - proto.RegisterType((*TextPayload)(nil), "google.cloud.datalabeling.v1beta1.TextPayload") - proto.RegisterType((*VideoThumbnail)(nil), "google.cloud.datalabeling.v1beta1.VideoThumbnail") - proto.RegisterType((*VideoPayload)(nil), "google.cloud.datalabeling.v1beta1.VideoPayload") -} - -func init() { - proto.RegisterFile("google/cloud/datalabeling/v1beta1/data_payloads.proto", fileDescriptor_7d5088066040abfe) -} - -var fileDescriptor_7d5088066040abfe = []byte{ - // 434 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0x41, 0x6f, 0xd3, 0x40, - 0x10, 0x85, 0xe5, 0x04, 0x10, 0x5e, 0x47, 0x2d, 0xf2, 0x29, 0xb4, 0x05, 0xd2, 0x48, 0x88, 0x9c, - 0x6c, 0x52, 0xc4, 0x05, 0x6e, 0xc0, 0x85, 0x03, 0xa2, 0xb2, 0x52, 0x0e, 0x08, 0xc9, 0x1a, 0xc7, - 0x93, 0x65, 0x91, 0xbd, 0x6b, 0xd9, 0xe3, 0x28, 0xf9, 0x17, 0xfc, 0x48, 0x7e, 0x08, 0xda, 0xd9, - 0x0d, 0x69, 0x73, 0x20, 0x3d, 0xfa, 0x7b, 0x6f, 0x66, 0xdf, 0xbe, 0x4d, 0xc4, 0x5b, 0x69, 0x8c, - 0xac, 0x30, 0x5d, 0x56, 0xa6, 0x2f, 0xd3, 0x12, 0x08, 0x2a, 0x28, 0xb0, 0x52, 0x5a, 0xa6, 0xeb, - 0x79, 0x81, 0x04,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x07, 0xf1, 0x3b, 0x11, 0xd9, 0x1e, 0x72, - 0xb3, 0x5a, 0x75, 0x48, 0x7c, 0x85, 0xe8, 0xea, 0x69, 0xe2, 0x1f, 0x63, 0xd7, 0x55, 0xf2, 0xc9, - 0x77, 0x99, 0x09, 0xeb, 0xfe, 0xca, 0xe6, 0xe9, 0x9f, 0x40, 0x8c, 0xf8, 0xb0, 0x7b, 0x15, 0x76, - 0x2e, 0xc2, 0xb5, 0x35, 0xf3, 0x4d, 0x07, 0x4e, 0x64, 0x60, 0x7b, 0xf8, 0x21, 0x9e, 0x38, 0xf1, - 0x5f, 0xb2, 0x6e, 0x3c, 0x9c, 0x0c, 0x67, 0xd1, 0xd5, 0x3c, 0x39, 0xfa, 0xc3, 0x48, 0xee, 0xde, - 0x38, 0x3b, 0x5d, 0xdf, 0xf9, 0xee, 0x6c, 0xcb, 0xab, 0x16, 0x6a, 0xcc, 0x5b, 0x20, 0xe4, 0x96, - 0x07, 0x59, 0xc8, 0x24, 0x03, 0xc2, 0x83, 0x47, 0x78, 0x78, 0xf0, 0x08, 0x1f, 0x36, 0xe2, 0xe5, - 0xd2, 0xd4, 0xc7, 0x63, 0x5c, 0x07, 0xdf, 0xbf, 0x78, 0x93, 0x34, 0x15, 0x68, 0x99, 0x98, 0x56, - 0xa6, 0x12, 0x35, 0xb7, 0x98, 0x3a, 0x09, 0x1a, 0xd5, 0xfd, 0xe7, 0xaf, 0xf1, 0xfe, 0x36, 0x2c, - 0x1e, 0xf1, 0xe4, 0x9b, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xb3, 0xb8, 0x19, 0x5a, 0x53, 0x03, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/dataset.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/dataset.pb.go deleted file mode 100644 index a14c4d2b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/dataset.pb.go +++ /dev/null @@ -1,1413 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/datalabeling/v1beta1/dataset.proto - -package datalabeling - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -type DataType int32 - -const ( - DataType_DATA_TYPE_UNSPECIFIED DataType = 0 - DataType_IMAGE DataType = 1 - DataType_VIDEO DataType = 2 - DataType_TEXT DataType = 4 - DataType_GENERAL_DATA DataType = 6 -) - -var DataType_name = map[int32]string{ - 0: "DATA_TYPE_UNSPECIFIED", - 1: "IMAGE", - 2: "VIDEO", - 4: "TEXT", - 6: "GENERAL_DATA", -} - -var DataType_value = map[string]int32{ - "DATA_TYPE_UNSPECIFIED": 0, - "IMAGE": 1, - "VIDEO": 2, - "TEXT": 4, - "GENERAL_DATA": 6, -} - -func (x DataType) String() string { - return proto.EnumName(DataType_name, int32(x)) -} - -func (DataType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_70a9435b8b2ad223, []int{0} -} - -// Dataset is the resource to hold your data. You can request multiple labeling -// tasks for a dataset while each one will generate an AnnotatedDataset. -type Dataset struct { - // Output only. Dataset resource name, format is: - // projects/{project_id}/datasets/{dataset_id} - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The display name of the dataset. Maximum of 64 characters. - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Optional. User-provided description of the annotation specification set. - // The description can be up to 10000 characters long. - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - // Output only. Time the dataset is created. - CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Output only. This is populated with the original input configs - // where ImportData is called. It is available only after the clients - // import data to this dataset. - InputConfigs []*InputConfig `protobuf:"bytes,5,rep,name=input_configs,json=inputConfigs,proto3" json:"input_configs,omitempty"` - // Output only. The names of any related resources that are blocking changes - // to the dataset. - BlockingResources []string `protobuf:"bytes,6,rep,name=blocking_resources,json=blockingResources,proto3" json:"blocking_resources,omitempty"` - // Output only. The number of data items in the dataset. - DataItemCount int64 `protobuf:"varint,7,opt,name=data_item_count,json=dataItemCount,proto3" json:"data_item_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_70a9435b8b2ad223, []int{0} -} - -func (m *Dataset) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Dataset.Unmarshal(m, b) -} -func (m *Dataset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Dataset.Marshal(b, m, deterministic) -} -func (m *Dataset) XXX_Merge(src proto.Message) { - xxx_messageInfo_Dataset.Merge(m, src) -} -func (m *Dataset) XXX_Size() int { - return xxx_messageInfo_Dataset.Size(m) -} -func (m *Dataset) XXX_DiscardUnknown() { - xxx_messageInfo_Dataset.DiscardUnknown(m) -} - -var xxx_messageInfo_Dataset proto.InternalMessageInfo - -func (m *Dataset) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Dataset) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *Dataset) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *Dataset) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *Dataset) GetInputConfigs() []*InputConfig { - if m != nil { - return m.InputConfigs - } - return nil -} - -func (m *Dataset) GetBlockingResources() []string { - if m != nil { - return m.BlockingResources - } - return nil -} - -func (m *Dataset) GetDataItemCount() int64 { - if m != nil { - return m.DataItemCount - } - return 0 -} - -// The configuration of input data, including data type, location, etc. -type InputConfig struct { - // Optional. The metadata associated with each data type. - // - // Types that are valid to be assigned to DataTypeMetadata: - // *InputConfig_TextMetadata - DataTypeMetadata isInputConfig_DataTypeMetadata `protobuf_oneof:"data_type_metadata"` - // Required. Where the data is from. - // - // Types that are valid to be assigned to Source: - // *InputConfig_GcsSource - // *InputConfig_BigquerySource - Source isInputConfig_Source `protobuf_oneof:"source"` - // Required. Data type must be specifed when user tries to import data. - DataType DataType `protobuf:"varint,1,opt,name=data_type,json=dataType,proto3,enum=google.cloud.datalabeling.v1beta1.DataType" json:"data_type,omitempty"` - // Optional. If input contains annotation, user needs to specify the - // type and metadata of the annotation when creating it as an annotated - // dataset. - AnnotationType AnnotationType `protobuf:"varint,3,opt,name=annotation_type,json=annotationType,proto3,enum=google.cloud.datalabeling.v1beta1.AnnotationType" json:"annotation_type,omitempty"` - // Optional. Metadata about annotations in the input. Each annotation type may - // have different metadata. - // Metadata for classification problem. - ClassificationMetadata *ClassificationMetadata `protobuf:"bytes,4,opt,name=classification_metadata,json=classificationMetadata,proto3" json:"classification_metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_70a9435b8b2ad223, []int{1} -} - -func (m *InputConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InputConfig.Unmarshal(m, b) -} -func (m *InputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InputConfig.Marshal(b, m, deterministic) -} -func (m *InputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_InputConfig.Merge(m, src) -} -func (m *InputConfig) XXX_Size() int { - return xxx_messageInfo_InputConfig.Size(m) -} -func (m *InputConfig) XXX_DiscardUnknown() { - xxx_messageInfo_InputConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_InputConfig proto.InternalMessageInfo - -type isInputConfig_DataTypeMetadata interface { - isInputConfig_DataTypeMetadata() -} - -type InputConfig_TextMetadata struct { - TextMetadata *TextMetadata `protobuf:"bytes,6,opt,name=text_metadata,json=textMetadata,proto3,oneof"` -} - -func (*InputConfig_TextMetadata) isInputConfig_DataTypeMetadata() {} - -func (m *InputConfig) GetDataTypeMetadata() isInputConfig_DataTypeMetadata { - if m != nil { - return m.DataTypeMetadata - } - return nil -} - -func (m *InputConfig) GetTextMetadata() *TextMetadata { - if x, ok := m.GetDataTypeMetadata().(*InputConfig_TextMetadata); ok { - return x.TextMetadata - } - return nil -} - -type isInputConfig_Source interface { - isInputConfig_Source() -} - -type InputConfig_GcsSource struct { - GcsSource *GcsSource `protobuf:"bytes,2,opt,name=gcs_source,json=gcsSource,proto3,oneof"` -} - -type InputConfig_BigquerySource struct { - BigquerySource *BigQuerySource `protobuf:"bytes,5,opt,name=bigquery_source,json=bigquerySource,proto3,oneof"` -} - -func (*InputConfig_GcsSource) isInputConfig_Source() {} - -func (*InputConfig_BigquerySource) isInputConfig_Source() {} - -func (m *InputConfig) GetSource() isInputConfig_Source { - if m != nil { - return m.Source - } - return nil -} - -func (m *InputConfig) GetGcsSource() *GcsSource { - if x, ok := m.GetSource().(*InputConfig_GcsSource); ok { - return x.GcsSource - } - return nil -} - -func (m *InputConfig) GetBigquerySource() *BigQuerySource { - if x, ok := m.GetSource().(*InputConfig_BigquerySource); ok { - return x.BigquerySource - } - return nil -} - -func (m *InputConfig) GetDataType() DataType { - if m != nil { - return m.DataType - } - return DataType_DATA_TYPE_UNSPECIFIED -} - -func (m *InputConfig) GetAnnotationType() AnnotationType { - if m != nil { - return m.AnnotationType - } - return AnnotationType_ANNOTATION_TYPE_UNSPECIFIED -} - -func (m *InputConfig) GetClassificationMetadata() *ClassificationMetadata { - if m != nil { - return m.ClassificationMetadata - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*InputConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*InputConfig_TextMetadata)(nil), - (*InputConfig_GcsSource)(nil), - (*InputConfig_BigquerySource)(nil), - } -} - -// Metadata for the text. -type TextMetadata struct { - // The language of this text, as a - // [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). - // Default value is en-US. - LanguageCode string `protobuf:"bytes,1,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 *TextMetadata) Reset() { *m = TextMetadata{} } -func (m *TextMetadata) String() string { return proto.CompactTextString(m) } -func (*TextMetadata) ProtoMessage() {} -func (*TextMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_70a9435b8b2ad223, []int{2} -} - -func (m *TextMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextMetadata.Unmarshal(m, b) -} -func (m *TextMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextMetadata.Marshal(b, m, deterministic) -} -func (m *TextMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextMetadata.Merge(m, src) -} -func (m *TextMetadata) XXX_Size() int { - return xxx_messageInfo_TextMetadata.Size(m) -} -func (m *TextMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_TextMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_TextMetadata proto.InternalMessageInfo - -func (m *TextMetadata) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -// Metadata for classification annotations. -type ClassificationMetadata struct { - // Whether the classification task is multi-label or not. - IsMultiLabel bool `protobuf:"varint,1,opt,name=is_multi_label,json=isMultiLabel,proto3" json:"is_multi_label,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ClassificationMetadata) Reset() { *m = ClassificationMetadata{} } -func (m *ClassificationMetadata) String() string { return proto.CompactTextString(m) } -func (*ClassificationMetadata) ProtoMessage() {} -func (*ClassificationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_70a9435b8b2ad223, []int{3} -} - -func (m *ClassificationMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClassificationMetadata.Unmarshal(m, b) -} -func (m *ClassificationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClassificationMetadata.Marshal(b, m, deterministic) -} -func (m *ClassificationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClassificationMetadata.Merge(m, src) -} -func (m *ClassificationMetadata) XXX_Size() int { - return xxx_messageInfo_ClassificationMetadata.Size(m) -} -func (m *ClassificationMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_ClassificationMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_ClassificationMetadata proto.InternalMessageInfo - -func (m *ClassificationMetadata) GetIsMultiLabel() bool { - if m != nil { - return m.IsMultiLabel - } - return false -} - -// Source of the Cloud Storage file to be imported. -type GcsSource struct { - // Required. The input URI of source file. This must be a Cloud Storage path - // (`gs://...`). - InputUri string `protobuf:"bytes,1,opt,name=input_uri,json=inputUri,proto3" json:"input_uri,omitempty"` - // Required. The format of the source file. Only "text/csv" is supported. - MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_70a9435b8b2ad223, []int{4} -} - -func (m *GcsSource) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GcsSource.Unmarshal(m, b) -} -func (m *GcsSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GcsSource.Marshal(b, m, deterministic) -} -func (m *GcsSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcsSource.Merge(m, src) -} -func (m *GcsSource) XXX_Size() int { - return xxx_messageInfo_GcsSource.Size(m) -} -func (m *GcsSource) XXX_DiscardUnknown() { - xxx_messageInfo_GcsSource.DiscardUnknown(m) -} - -var xxx_messageInfo_GcsSource proto.InternalMessageInfo - -func (m *GcsSource) GetInputUri() string { - if m != nil { - return m.InputUri - } - return "" -} - -func (m *GcsSource) GetMimeType() string { - if m != nil { - return m.MimeType - } - return "" -} - -// The BigQuery location for the input content. -type BigQuerySource struct { - // Required. BigQuery URI to a table, up to 2000 characters long. - // Accepted forms: BigQuery gs path e.g. bq://projectId.bqDatasetId.bqTableId - InputUri string `protobuf:"bytes,1,opt,name=input_uri,json=inputUri,proto3" json:"input_uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BigQuerySource) Reset() { *m = BigQuerySource{} } -func (m *BigQuerySource) String() string { return proto.CompactTextString(m) } -func (*BigQuerySource) ProtoMessage() {} -func (*BigQuerySource) Descriptor() ([]byte, []int) { - return fileDescriptor_70a9435b8b2ad223, []int{5} -} - -func (m *BigQuerySource) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BigQuerySource.Unmarshal(m, b) -} -func (m *BigQuerySource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BigQuerySource.Marshal(b, m, deterministic) -} -func (m *BigQuerySource) XXX_Merge(src proto.Message) { - xxx_messageInfo_BigQuerySource.Merge(m, src) -} -func (m *BigQuerySource) XXX_Size() int { - return xxx_messageInfo_BigQuerySource.Size(m) -} -func (m *BigQuerySource) XXX_DiscardUnknown() { - xxx_messageInfo_BigQuerySource.DiscardUnknown(m) -} - -var xxx_messageInfo_BigQuerySource proto.InternalMessageInfo - -func (m *BigQuerySource) GetInputUri() string { - if m != nil { - return m.InputUri - } - return "" -} - -// The configuration of output data. -type OutputConfig struct { - // Required. Location to output data to. - // - // Types that are valid to be assigned to Destination: - // *OutputConfig_GcsDestination - // *OutputConfig_GcsFolderDestination - 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_70a9435b8b2ad223, []int{6} -} - -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 (m *OutputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_OutputConfig.Merge(m, 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"` -} - -type OutputConfig_GcsFolderDestination struct { - GcsFolderDestination *GcsFolderDestination `protobuf:"bytes,2,opt,name=gcs_folder_destination,json=gcsFolderDestination,proto3,oneof"` -} - -func (*OutputConfig_GcsDestination) isOutputConfig_Destination() {} - -func (*OutputConfig_GcsFolderDestination) 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 -} - -func (m *OutputConfig) GetGcsFolderDestination() *GcsFolderDestination { - if x, ok := m.GetDestination().(*OutputConfig_GcsFolderDestination); ok { - return x.GcsFolderDestination - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*OutputConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*OutputConfig_GcsDestination)(nil), - (*OutputConfig_GcsFolderDestination)(nil), - } -} - -// Export destination of the data.Only gcs path is allowed in -// output_uri. -type GcsDestination struct { - // Required. The output uri of destination file. - OutputUri string `protobuf:"bytes,1,opt,name=output_uri,json=outputUri,proto3" json:"output_uri,omitempty"` - // Required. The format of the gcs destination. Only "text/csv" and - // "application/json" - // are supported. - MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,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_70a9435b8b2ad223, []int{7} -} - -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 (m *GcsDestination) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcsDestination.Merge(m, 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) GetOutputUri() string { - if m != nil { - return m.OutputUri - } - return "" -} - -func (m *GcsDestination) GetMimeType() string { - if m != nil { - return m.MimeType - } - return "" -} - -// Export folder destination of the data. -type GcsFolderDestination struct { - // Required. Cloud Storage directory to export data to. - OutputFolderUri string `protobuf:"bytes,1,opt,name=output_folder_uri,json=outputFolderUri,proto3" json:"output_folder_uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GcsFolderDestination) Reset() { *m = GcsFolderDestination{} } -func (m *GcsFolderDestination) String() string { return proto.CompactTextString(m) } -func (*GcsFolderDestination) ProtoMessage() {} -func (*GcsFolderDestination) Descriptor() ([]byte, []int) { - return fileDescriptor_70a9435b8b2ad223, []int{8} -} - -func (m *GcsFolderDestination) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GcsFolderDestination.Unmarshal(m, b) -} -func (m *GcsFolderDestination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GcsFolderDestination.Marshal(b, m, deterministic) -} -func (m *GcsFolderDestination) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcsFolderDestination.Merge(m, src) -} -func (m *GcsFolderDestination) XXX_Size() int { - return xxx_messageInfo_GcsFolderDestination.Size(m) -} -func (m *GcsFolderDestination) XXX_DiscardUnknown() { - xxx_messageInfo_GcsFolderDestination.DiscardUnknown(m) -} - -var xxx_messageInfo_GcsFolderDestination proto.InternalMessageInfo - -func (m *GcsFolderDestination) GetOutputFolderUri() string { - if m != nil { - return m.OutputFolderUri - } - return "" -} - -// DataItem is a piece of data, without annotation. For example, an image. -type DataItem struct { - // Output only. - // - // Types that are valid to be assigned to Payload: - // *DataItem_ImagePayload - // *DataItem_TextPayload - // *DataItem_VideoPayload - Payload isDataItem_Payload `protobuf_oneof:"payload"` - // Output only. Name of the data item, in format of: - // projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_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 *DataItem) Reset() { *m = DataItem{} } -func (m *DataItem) String() string { return proto.CompactTextString(m) } -func (*DataItem) ProtoMessage() {} -func (*DataItem) Descriptor() ([]byte, []int) { - return fileDescriptor_70a9435b8b2ad223, []int{9} -} - -func (m *DataItem) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DataItem.Unmarshal(m, b) -} -func (m *DataItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DataItem.Marshal(b, m, deterministic) -} -func (m *DataItem) XXX_Merge(src proto.Message) { - xxx_messageInfo_DataItem.Merge(m, src) -} -func (m *DataItem) XXX_Size() int { - return xxx_messageInfo_DataItem.Size(m) -} -func (m *DataItem) XXX_DiscardUnknown() { - xxx_messageInfo_DataItem.DiscardUnknown(m) -} - -var xxx_messageInfo_DataItem proto.InternalMessageInfo - -type isDataItem_Payload interface { - isDataItem_Payload() -} - -type DataItem_ImagePayload struct { - ImagePayload *ImagePayload `protobuf:"bytes,2,opt,name=image_payload,json=imagePayload,proto3,oneof"` -} - -type DataItem_TextPayload struct { - TextPayload *TextPayload `protobuf:"bytes,3,opt,name=text_payload,json=textPayload,proto3,oneof"` -} - -type DataItem_VideoPayload struct { - VideoPayload *VideoPayload `protobuf:"bytes,4,opt,name=video_payload,json=videoPayload,proto3,oneof"` -} - -func (*DataItem_ImagePayload) isDataItem_Payload() {} - -func (*DataItem_TextPayload) isDataItem_Payload() {} - -func (*DataItem_VideoPayload) isDataItem_Payload() {} - -func (m *DataItem) GetPayload() isDataItem_Payload { - if m != nil { - return m.Payload - } - return nil -} - -func (m *DataItem) GetImagePayload() *ImagePayload { - if x, ok := m.GetPayload().(*DataItem_ImagePayload); ok { - return x.ImagePayload - } - return nil -} - -func (m *DataItem) GetTextPayload() *TextPayload { - if x, ok := m.GetPayload().(*DataItem_TextPayload); ok { - return x.TextPayload - } - return nil -} - -func (m *DataItem) GetVideoPayload() *VideoPayload { - if x, ok := m.GetPayload().(*DataItem_VideoPayload); ok { - return x.VideoPayload - } - return nil -} - -func (m *DataItem) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*DataItem) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*DataItem_ImagePayload)(nil), - (*DataItem_TextPayload)(nil), - (*DataItem_VideoPayload)(nil), - } -} - -// AnnotatedDataset is a set holding annotations for data in a Dataset. Each -// labeling task will generate an AnnotatedDataset under the Dataset that the -// task is requested for. -type AnnotatedDataset struct { - // Output only. AnnotatedDataset resource name in format of: - // projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ - // {annotated_dataset_id} - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Output only. The display name of the AnnotatedDataset. It is specified in - // HumanAnnotationConfig when user starts a labeling task. Maximum of 64 - // characters. - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Output only. The description of the AnnotatedDataset. It is specified in - // HumanAnnotationConfig when user starts a labeling task. Maximum of 10000 - // characters. - Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"` - // Output only. Source of the annotation. - AnnotationSource AnnotationSource `protobuf:"varint,3,opt,name=annotation_source,json=annotationSource,proto3,enum=google.cloud.datalabeling.v1beta1.AnnotationSource" json:"annotation_source,omitempty"` - // Output only. Type of the annotation. It is specified when starting labeling - // task. - AnnotationType AnnotationType `protobuf:"varint,8,opt,name=annotation_type,json=annotationType,proto3,enum=google.cloud.datalabeling.v1beta1.AnnotationType" json:"annotation_type,omitempty"` - // Output only. Number of examples in the annotated dataset. - ExampleCount int64 `protobuf:"varint,4,opt,name=example_count,json=exampleCount,proto3" json:"example_count,omitempty"` - // Output only. Number of examples that have annotation in the annotated - // dataset. - CompletedExampleCount int64 `protobuf:"varint,5,opt,name=completed_example_count,json=completedExampleCount,proto3" json:"completed_example_count,omitempty"` - // Output only. Per label statistics. - LabelStats *LabelStats `protobuf:"bytes,6,opt,name=label_stats,json=labelStats,proto3" json:"label_stats,omitempty"` - // Output only. Time the AnnotatedDataset was created. - CreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Output only. Additional information about AnnotatedDataset. - Metadata *AnnotatedDatasetMetadata `protobuf:"bytes,10,opt,name=metadata,proto3" json:"metadata,omitempty"` - // Output only. The names of any related resources that are blocking changes - // to the annotated dataset. - BlockingResources []string `protobuf:"bytes,11,rep,name=blocking_resources,json=blockingResources,proto3" json:"blocking_resources,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AnnotatedDataset) Reset() { *m = AnnotatedDataset{} } -func (m *AnnotatedDataset) String() string { return proto.CompactTextString(m) } -func (*AnnotatedDataset) ProtoMessage() {} -func (*AnnotatedDataset) Descriptor() ([]byte, []int) { - return fileDescriptor_70a9435b8b2ad223, []int{10} -} - -func (m *AnnotatedDataset) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotatedDataset.Unmarshal(m, b) -} -func (m *AnnotatedDataset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotatedDataset.Marshal(b, m, deterministic) -} -func (m *AnnotatedDataset) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotatedDataset.Merge(m, src) -} -func (m *AnnotatedDataset) XXX_Size() int { - return xxx_messageInfo_AnnotatedDataset.Size(m) -} -func (m *AnnotatedDataset) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotatedDataset.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotatedDataset proto.InternalMessageInfo - -func (m *AnnotatedDataset) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *AnnotatedDataset) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *AnnotatedDataset) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *AnnotatedDataset) GetAnnotationSource() AnnotationSource { - if m != nil { - return m.AnnotationSource - } - return AnnotationSource_ANNOTATION_SOURCE_UNSPECIFIED -} - -func (m *AnnotatedDataset) GetAnnotationType() AnnotationType { - if m != nil { - return m.AnnotationType - } - return AnnotationType_ANNOTATION_TYPE_UNSPECIFIED -} - -func (m *AnnotatedDataset) GetExampleCount() int64 { - if m != nil { - return m.ExampleCount - } - return 0 -} - -func (m *AnnotatedDataset) GetCompletedExampleCount() int64 { - if m != nil { - return m.CompletedExampleCount - } - return 0 -} - -func (m *AnnotatedDataset) GetLabelStats() *LabelStats { - if m != nil { - return m.LabelStats - } - return nil -} - -func (m *AnnotatedDataset) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *AnnotatedDataset) GetMetadata() *AnnotatedDatasetMetadata { - if m != nil { - return m.Metadata - } - return nil -} - -func (m *AnnotatedDataset) GetBlockingResources() []string { - if m != nil { - return m.BlockingResources - } - return nil -} - -// Statistics about annotation specs. -type LabelStats struct { - // Map of each annotation spec's example count. Key is the annotation spec - // name and value is the number of examples for that annotation spec. - // If the annotated dataset does not have annotation spec, the map will return - // a pair where the key is empty string and value is the total number of - // annotations. - ExampleCount map[string]int64 `protobuf:"bytes,1,rep,name=example_count,json=exampleCount,proto3" json:"example_count,omitempty" protobuf_key:"bytes,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 *LabelStats) Reset() { *m = LabelStats{} } -func (m *LabelStats) String() string { return proto.CompactTextString(m) } -func (*LabelStats) ProtoMessage() {} -func (*LabelStats) Descriptor() ([]byte, []int) { - return fileDescriptor_70a9435b8b2ad223, []int{11} -} - -func (m *LabelStats) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LabelStats.Unmarshal(m, b) -} -func (m *LabelStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LabelStats.Marshal(b, m, deterministic) -} -func (m *LabelStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelStats.Merge(m, src) -} -func (m *LabelStats) XXX_Size() int { - return xxx_messageInfo_LabelStats.Size(m) -} -func (m *LabelStats) XXX_DiscardUnknown() { - xxx_messageInfo_LabelStats.DiscardUnknown(m) -} - -var xxx_messageInfo_LabelStats proto.InternalMessageInfo - -func (m *LabelStats) GetExampleCount() map[string]int64 { - if m != nil { - return m.ExampleCount - } - return nil -} - -// Metadata on AnnotatedDataset. -type AnnotatedDatasetMetadata struct { - // Specific request configuration used when requesting the labeling task. - // - // Types that are valid to be assigned to AnnotationRequestConfig: - // *AnnotatedDatasetMetadata_ImageClassificationConfig - // *AnnotatedDatasetMetadata_BoundingPolyConfig - // *AnnotatedDatasetMetadata_PolylineConfig - // *AnnotatedDatasetMetadata_SegmentationConfig - // *AnnotatedDatasetMetadata_VideoClassificationConfig - // *AnnotatedDatasetMetadata_ObjectDetectionConfig - // *AnnotatedDatasetMetadata_ObjectTrackingConfig - // *AnnotatedDatasetMetadata_EventConfig - // *AnnotatedDatasetMetadata_TextClassificationConfig - // *AnnotatedDatasetMetadata_TextEntityExtractionConfig - AnnotationRequestConfig isAnnotatedDatasetMetadata_AnnotationRequestConfig `protobuf_oneof:"annotation_request_config"` - // HumanAnnotationConfig used when requesting the human labeling task for this - // AnnotatedDataset. - HumanAnnotationConfig *HumanAnnotationConfig `protobuf:"bytes,1,opt,name=human_annotation_config,json=humanAnnotationConfig,proto3" json:"human_annotation_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AnnotatedDatasetMetadata) Reset() { *m = AnnotatedDatasetMetadata{} } -func (m *AnnotatedDatasetMetadata) String() string { return proto.CompactTextString(m) } -func (*AnnotatedDatasetMetadata) ProtoMessage() {} -func (*AnnotatedDatasetMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_70a9435b8b2ad223, []int{12} -} - -func (m *AnnotatedDatasetMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotatedDatasetMetadata.Unmarshal(m, b) -} -func (m *AnnotatedDatasetMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotatedDatasetMetadata.Marshal(b, m, deterministic) -} -func (m *AnnotatedDatasetMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotatedDatasetMetadata.Merge(m, src) -} -func (m *AnnotatedDatasetMetadata) XXX_Size() int { - return xxx_messageInfo_AnnotatedDatasetMetadata.Size(m) -} -func (m *AnnotatedDatasetMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotatedDatasetMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotatedDatasetMetadata proto.InternalMessageInfo - -type isAnnotatedDatasetMetadata_AnnotationRequestConfig interface { - isAnnotatedDatasetMetadata_AnnotationRequestConfig() -} - -type AnnotatedDatasetMetadata_ImageClassificationConfig struct { - ImageClassificationConfig *ImageClassificationConfig `protobuf:"bytes,2,opt,name=image_classification_config,json=imageClassificationConfig,proto3,oneof"` -} - -type AnnotatedDatasetMetadata_BoundingPolyConfig struct { - BoundingPolyConfig *BoundingPolyConfig `protobuf:"bytes,3,opt,name=bounding_poly_config,json=boundingPolyConfig,proto3,oneof"` -} - -type AnnotatedDatasetMetadata_PolylineConfig struct { - PolylineConfig *PolylineConfig `protobuf:"bytes,4,opt,name=polyline_config,json=polylineConfig,proto3,oneof"` -} - -type AnnotatedDatasetMetadata_SegmentationConfig struct { - SegmentationConfig *SegmentationConfig `protobuf:"bytes,5,opt,name=segmentation_config,json=segmentationConfig,proto3,oneof"` -} - -type AnnotatedDatasetMetadata_VideoClassificationConfig struct { - VideoClassificationConfig *VideoClassificationConfig `protobuf:"bytes,6,opt,name=video_classification_config,json=videoClassificationConfig,proto3,oneof"` -} - -type AnnotatedDatasetMetadata_ObjectDetectionConfig struct { - ObjectDetectionConfig *ObjectDetectionConfig `protobuf:"bytes,7,opt,name=object_detection_config,json=objectDetectionConfig,proto3,oneof"` -} - -type AnnotatedDatasetMetadata_ObjectTrackingConfig struct { - ObjectTrackingConfig *ObjectTrackingConfig `protobuf:"bytes,8,opt,name=object_tracking_config,json=objectTrackingConfig,proto3,oneof"` -} - -type AnnotatedDatasetMetadata_EventConfig struct { - EventConfig *EventConfig `protobuf:"bytes,9,opt,name=event_config,json=eventConfig,proto3,oneof"` -} - -type AnnotatedDatasetMetadata_TextClassificationConfig struct { - TextClassificationConfig *TextClassificationConfig `protobuf:"bytes,10,opt,name=text_classification_config,json=textClassificationConfig,proto3,oneof"` -} - -type AnnotatedDatasetMetadata_TextEntityExtractionConfig struct { - TextEntityExtractionConfig *TextEntityExtractionConfig `protobuf:"bytes,11,opt,name=text_entity_extraction_config,json=textEntityExtractionConfig,proto3,oneof"` -} - -func (*AnnotatedDatasetMetadata_ImageClassificationConfig) isAnnotatedDatasetMetadata_AnnotationRequestConfig() { -} - -func (*AnnotatedDatasetMetadata_BoundingPolyConfig) isAnnotatedDatasetMetadata_AnnotationRequestConfig() { -} - -func (*AnnotatedDatasetMetadata_PolylineConfig) isAnnotatedDatasetMetadata_AnnotationRequestConfig() {} - -func (*AnnotatedDatasetMetadata_SegmentationConfig) isAnnotatedDatasetMetadata_AnnotationRequestConfig() { -} - -func (*AnnotatedDatasetMetadata_VideoClassificationConfig) isAnnotatedDatasetMetadata_AnnotationRequestConfig() { -} - -func (*AnnotatedDatasetMetadata_ObjectDetectionConfig) isAnnotatedDatasetMetadata_AnnotationRequestConfig() { -} - -func (*AnnotatedDatasetMetadata_ObjectTrackingConfig) isAnnotatedDatasetMetadata_AnnotationRequestConfig() { -} - -func (*AnnotatedDatasetMetadata_EventConfig) isAnnotatedDatasetMetadata_AnnotationRequestConfig() {} - -func (*AnnotatedDatasetMetadata_TextClassificationConfig) isAnnotatedDatasetMetadata_AnnotationRequestConfig() { -} - -func (*AnnotatedDatasetMetadata_TextEntityExtractionConfig) isAnnotatedDatasetMetadata_AnnotationRequestConfig() { -} - -func (m *AnnotatedDatasetMetadata) GetAnnotationRequestConfig() isAnnotatedDatasetMetadata_AnnotationRequestConfig { - if m != nil { - return m.AnnotationRequestConfig - } - return nil -} - -func (m *AnnotatedDatasetMetadata) GetImageClassificationConfig() *ImageClassificationConfig { - if x, ok := m.GetAnnotationRequestConfig().(*AnnotatedDatasetMetadata_ImageClassificationConfig); ok { - return x.ImageClassificationConfig - } - return nil -} - -func (m *AnnotatedDatasetMetadata) GetBoundingPolyConfig() *BoundingPolyConfig { - if x, ok := m.GetAnnotationRequestConfig().(*AnnotatedDatasetMetadata_BoundingPolyConfig); ok { - return x.BoundingPolyConfig - } - return nil -} - -func (m *AnnotatedDatasetMetadata) GetPolylineConfig() *PolylineConfig { - if x, ok := m.GetAnnotationRequestConfig().(*AnnotatedDatasetMetadata_PolylineConfig); ok { - return x.PolylineConfig - } - return nil -} - -func (m *AnnotatedDatasetMetadata) GetSegmentationConfig() *SegmentationConfig { - if x, ok := m.GetAnnotationRequestConfig().(*AnnotatedDatasetMetadata_SegmentationConfig); ok { - return x.SegmentationConfig - } - return nil -} - -func (m *AnnotatedDatasetMetadata) GetVideoClassificationConfig() *VideoClassificationConfig { - if x, ok := m.GetAnnotationRequestConfig().(*AnnotatedDatasetMetadata_VideoClassificationConfig); ok { - return x.VideoClassificationConfig - } - return nil -} - -func (m *AnnotatedDatasetMetadata) GetObjectDetectionConfig() *ObjectDetectionConfig { - if x, ok := m.GetAnnotationRequestConfig().(*AnnotatedDatasetMetadata_ObjectDetectionConfig); ok { - return x.ObjectDetectionConfig - } - return nil -} - -func (m *AnnotatedDatasetMetadata) GetObjectTrackingConfig() *ObjectTrackingConfig { - if x, ok := m.GetAnnotationRequestConfig().(*AnnotatedDatasetMetadata_ObjectTrackingConfig); ok { - return x.ObjectTrackingConfig - } - return nil -} - -func (m *AnnotatedDatasetMetadata) GetEventConfig() *EventConfig { - if x, ok := m.GetAnnotationRequestConfig().(*AnnotatedDatasetMetadata_EventConfig); ok { - return x.EventConfig - } - return nil -} - -func (m *AnnotatedDatasetMetadata) GetTextClassificationConfig() *TextClassificationConfig { - if x, ok := m.GetAnnotationRequestConfig().(*AnnotatedDatasetMetadata_TextClassificationConfig); ok { - return x.TextClassificationConfig - } - return nil -} - -func (m *AnnotatedDatasetMetadata) GetTextEntityExtractionConfig() *TextEntityExtractionConfig { - if x, ok := m.GetAnnotationRequestConfig().(*AnnotatedDatasetMetadata_TextEntityExtractionConfig); ok { - return x.TextEntityExtractionConfig - } - return nil -} - -func (m *AnnotatedDatasetMetadata) GetHumanAnnotationConfig() *HumanAnnotationConfig { - if m != nil { - return m.HumanAnnotationConfig - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AnnotatedDatasetMetadata) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AnnotatedDatasetMetadata_ImageClassificationConfig)(nil), - (*AnnotatedDatasetMetadata_BoundingPolyConfig)(nil), - (*AnnotatedDatasetMetadata_PolylineConfig)(nil), - (*AnnotatedDatasetMetadata_SegmentationConfig)(nil), - (*AnnotatedDatasetMetadata_VideoClassificationConfig)(nil), - (*AnnotatedDatasetMetadata_ObjectDetectionConfig)(nil), - (*AnnotatedDatasetMetadata_ObjectTrackingConfig)(nil), - (*AnnotatedDatasetMetadata_EventConfig)(nil), - (*AnnotatedDatasetMetadata_TextClassificationConfig)(nil), - (*AnnotatedDatasetMetadata_TextEntityExtractionConfig)(nil), - } -} - -// An Example is a piece of data and its annotation. For example, an image with -// label "house". -type Example struct { - // Output only. The data part of Example. - // - // Types that are valid to be assigned to Payload: - // *Example_ImagePayload - // *Example_TextPayload - // *Example_VideoPayload - Payload isExample_Payload `protobuf_oneof:"payload"` - // Output only. Name of the example, in format of: - // projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ - // {annotated_dataset_id}/examples/{example_id} - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Output only. Annotations for the piece of data in Example. - // One piece of data can have multiple annotations. - Annotations []*Annotation `protobuf:"bytes,5,rep,name=annotations,proto3" json:"annotations,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Example) Reset() { *m = Example{} } -func (m *Example) String() string { return proto.CompactTextString(m) } -func (*Example) ProtoMessage() {} -func (*Example) Descriptor() ([]byte, []int) { - return fileDescriptor_70a9435b8b2ad223, []int{13} -} - -func (m *Example) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Example.Unmarshal(m, b) -} -func (m *Example) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Example.Marshal(b, m, deterministic) -} -func (m *Example) XXX_Merge(src proto.Message) { - xxx_messageInfo_Example.Merge(m, src) -} -func (m *Example) XXX_Size() int { - return xxx_messageInfo_Example.Size(m) -} -func (m *Example) XXX_DiscardUnknown() { - xxx_messageInfo_Example.DiscardUnknown(m) -} - -var xxx_messageInfo_Example proto.InternalMessageInfo - -type isExample_Payload interface { - isExample_Payload() -} - -type Example_ImagePayload struct { - ImagePayload *ImagePayload `protobuf:"bytes,2,opt,name=image_payload,json=imagePayload,proto3,oneof"` -} - -type Example_TextPayload struct { - TextPayload *TextPayload `protobuf:"bytes,6,opt,name=text_payload,json=textPayload,proto3,oneof"` -} - -type Example_VideoPayload struct { - VideoPayload *VideoPayload `protobuf:"bytes,7,opt,name=video_payload,json=videoPayload,proto3,oneof"` -} - -func (*Example_ImagePayload) isExample_Payload() {} - -func (*Example_TextPayload) isExample_Payload() {} - -func (*Example_VideoPayload) isExample_Payload() {} - -func (m *Example) GetPayload() isExample_Payload { - if m != nil { - return m.Payload - } - return nil -} - -func (m *Example) GetImagePayload() *ImagePayload { - if x, ok := m.GetPayload().(*Example_ImagePayload); ok { - return x.ImagePayload - } - return nil -} - -func (m *Example) GetTextPayload() *TextPayload { - if x, ok := m.GetPayload().(*Example_TextPayload); ok { - return x.TextPayload - } - return nil -} - -func (m *Example) GetVideoPayload() *VideoPayload { - if x, ok := m.GetPayload().(*Example_VideoPayload); ok { - return x.VideoPayload - } - return nil -} - -func (m *Example) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Example) GetAnnotations() []*Annotation { - if m != nil { - return m.Annotations - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Example) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Example_ImagePayload)(nil), - (*Example_TextPayload)(nil), - (*Example_VideoPayload)(nil), - } -} - -func init() { - proto.RegisterEnum("google.cloud.datalabeling.v1beta1.DataType", DataType_name, DataType_value) - proto.RegisterType((*Dataset)(nil), "google.cloud.datalabeling.v1beta1.Dataset") - proto.RegisterType((*InputConfig)(nil), "google.cloud.datalabeling.v1beta1.InputConfig") - proto.RegisterType((*TextMetadata)(nil), "google.cloud.datalabeling.v1beta1.TextMetadata") - proto.RegisterType((*ClassificationMetadata)(nil), "google.cloud.datalabeling.v1beta1.ClassificationMetadata") - proto.RegisterType((*GcsSource)(nil), "google.cloud.datalabeling.v1beta1.GcsSource") - proto.RegisterType((*BigQuerySource)(nil), "google.cloud.datalabeling.v1beta1.BigQuerySource") - proto.RegisterType((*OutputConfig)(nil), "google.cloud.datalabeling.v1beta1.OutputConfig") - proto.RegisterType((*GcsDestination)(nil), "google.cloud.datalabeling.v1beta1.GcsDestination") - proto.RegisterType((*GcsFolderDestination)(nil), "google.cloud.datalabeling.v1beta1.GcsFolderDestination") - proto.RegisterType((*DataItem)(nil), "google.cloud.datalabeling.v1beta1.DataItem") - proto.RegisterType((*AnnotatedDataset)(nil), "google.cloud.datalabeling.v1beta1.AnnotatedDataset") - proto.RegisterType((*LabelStats)(nil), "google.cloud.datalabeling.v1beta1.LabelStats") - proto.RegisterMapType((map[string]int64)(nil), "google.cloud.datalabeling.v1beta1.LabelStats.ExampleCountEntry") - proto.RegisterType((*AnnotatedDatasetMetadata)(nil), "google.cloud.datalabeling.v1beta1.AnnotatedDatasetMetadata") - proto.RegisterType((*Example)(nil), "google.cloud.datalabeling.v1beta1.Example") -} - -func init() { - proto.RegisterFile("google/cloud/datalabeling/v1beta1/dataset.proto", fileDescriptor_70a9435b8b2ad223) -} - -var fileDescriptor_70a9435b8b2ad223 = []byte{ - // 1476 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xdd, 0x6e, 0xdb, 0xc6, - 0x12, 0xb6, 0x2c, 0xd9, 0x96, 0x46, 0xb2, 0x2c, 0xef, 0xb1, 0x13, 0xc5, 0x39, 0xc1, 0x71, 0x94, - 0x73, 0x0e, 0x8c, 0xb4, 0x96, 0x10, 0x07, 0x69, 0xd3, 0xa6, 0x6d, 0x60, 0xd9, 0x8c, 0x6d, 0x20, - 0xfe, 0x29, 0xad, 0x24, 0x6d, 0x10, 0x80, 0xa5, 0xc8, 0x35, 0xb3, 0x0d, 0xc9, 0x65, 0xc8, 0xa5, - 0x61, 0xa1, 0x40, 0x2f, 0xfa, 0x14, 0x05, 0xfa, 0x0e, 0xbd, 0xe9, 0x63, 0xb4, 0x8f, 0xd2, 0x67, - 0x28, 0x8a, 0xfd, 0x21, 0x45, 0xd9, 0x52, 0x4c, 0x03, 0x49, 0xef, 0xb4, 0xb3, 0xfb, 0x7d, 0xdf, - 0xec, 0xce, 0xee, 0xcc, 0x50, 0xd0, 0x71, 0x28, 0x75, 0x5c, 0xdc, 0xb1, 0x5c, 0x1a, 0xdb, 0x1d, - 0xdb, 0x64, 0xa6, 0x6b, 0xf6, 0xb1, 0x4b, 0x7c, 0xa7, 0x73, 0x7a, 0xaf, 0x8f, 0x99, 0x79, 0x4f, - 0x18, 0x23, 0xcc, 0xda, 0x41, 0x48, 0x19, 0x45, 0xb7, 0x25, 0xa0, 0x2d, 0x00, 0xed, 0x2c, 0xa0, - 0xad, 0x00, 0x2b, 0xff, 0x56, 0x9c, 0x66, 0x40, 0x3a, 0xa6, 0xef, 0x53, 0x66, 0x32, 0x42, 0xfd, - 0x48, 0x12, 0xac, 0x6c, 0x5c, 0xae, 0x38, 0x04, 0x29, 0xcc, 0x83, 0x7c, 0x5e, 0x1a, 0x81, 0x39, - 0x70, 0xa9, 0x69, 0x27, 0x52, 0x8f, 0x2f, 0x87, 0xbd, 0x8e, 0x3d, 0xd3, 0x37, 0x86, 0x82, 0x86, - 0x45, 0xfd, 0x13, 0xe2, 0x28, 0x82, 0xff, 0x28, 0x02, 0x31, 0xea, 0xc7, 0x27, 0x1d, 0x46, 0x3c, - 0x1c, 0x31, 0xd3, 0x0b, 0xe4, 0x82, 0xd6, 0xef, 0xd3, 0x30, 0xb7, 0x2d, 0xcf, 0x07, 0x21, 0x28, - 0xf9, 0xa6, 0x87, 0x9b, 0x85, 0xd5, 0xc2, 0x5a, 0x45, 0x17, 0xbf, 0xd1, 0x6d, 0xa8, 0xd9, 0x24, - 0x0a, 0x5c, 0x73, 0x60, 0x88, 0xb9, 0x69, 0x31, 0x57, 0x55, 0xb6, 0x03, 0xbe, 0x64, 0x15, 0xaa, - 0x36, 0x8e, 0xac, 0x90, 0x04, 0x5c, 0xbf, 0x59, 0x54, 0x2b, 0x86, 0x26, 0xf4, 0x08, 0xaa, 0x56, - 0x88, 0x4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0x13, - 0x43, 0x99, 0x1b, 0xf8, 0x79, 0xb6, 0xd6, 0xa1, 0x3e, 0x7a, 0x33, 0xde, 0xc9, 0xd5, 0xfa, 0xb3, - 0x00, 0xb5, 0xc3, 0x98, 0x0d, 0x9f, 0xce, 0x2b, 0x58, 0xe0, 0x57, 0xdc, 0xc6, 0x11, 0x23, 0xbe, - 0xd8, 0x87, 0xc0, 0xe4, 0xbb, 0x93, 0x3b, 0x56, 0xb4, 0x3d, 0x04, 0xee, 0x4e, 0xe9, 0x75, 0x67, - 0xc4, 0x82, 0x28, 0x5c, 0xe3, 0xec, 0x27, 0xd4, 0xb5, 0x71, 0x38, 0x22, 0x22, 0x1f, 0xd3, 0xa7, - 0xf9, 0x44, 0x9e, 0x08, 0xfc, 0xa8, 0xd4, 0x92, 0x33, 0xc6, 0xde, 0x9d, 0x17, 0x49, 0x32, 0x19, - 0xb6, 0x9e, 0x42, 0x7d, 0xd4, 0x47, 0x74, 0x0b, 0x80, 0x8a, 0xfd, 0x67, 0x8e, 0xa7, 0x22, 0x2d, - 0x97, 0x9e, 0x75, 0x17, 0x96, 0xc6, 0x39, 0x83, 0xee, 0xc2, 0xa2, 0xe2, 0x54, 0x1b, 0x1d, 0x52, - 0x2f, 0xc8, 0x09, 0x89, 0xe1, 0x01, 0xf8, 0x75, 0x1a, 0xca, 0xdb, 0x2a, 0x99, 0xf1, 0xbc, 0x45, - 0x3c, 0x7e, 0xcb, 0x54, 0x3d, 0x52, 0xa7, 0x92, 0x27, 0x6f, 0xed, 0x71, 0xdc, 0x91, 0x84, 0xf1, - 0xbc, 0x45, 0x32, 0x63, 0x74, 0x0c, 0x22, 0x8f, 0xa5, 0xb4, 0x45, 0x41, 0xdb, 0xce, 0x99, 0x0e, - 0x87, 0xac, 0x55, 0x36, 0x1c, 0x72, 0x67, 0x4f, 0x89, 0x8d, 0x69, 0xca, 0x5a, 0xca, 0xed, 0xec, - 0x73, 0x8e, 0xcb, 0x38, 0x7b, 0x9a, 0x19,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0x5b, 0x7b, 0x4f, 0xf6, 0xb4, - 0xed, 0xc6, 0x14, 0xaa, 0xc0, 0xcc, 0xde, 0xfe, 0xe6, 0x8e, 0xd6, 0x28, 0xf0, 0x9f, 0xcf, 0xf7, - 0xb6, 0xb5, 0xc3, 0xc6, 0x34, 0x2a, 0x43, 0xa9, 0xa7, 0x7d, 0xd3, 0x6b, 0x94, 0x50, 0x03, 0x6a, - 0x3b, 0xda, 0x81, 0xa6, 0x6f, 0x3e, 0x35, 0x38, 0x45, 0x63, 0xb6, 0x7b, 0x06, 0xff, 0xb3, 0xa8, - 0x77, 0xb9, 0x93, 0x47, 0x85, 0x97, 0xfb, 0x6a, 0x91, 0x43, 0xf9, 0x27, 0x5f, 0x9b, 0x86, 0x4e, - 0xc7, 0xc1, 0xbe, 0x68, 0x49, 0xd4, 0xff, 0x60, 0x66, 0x40, 0xa2, 0x77, 0xfc, 0x5d, 0xf4, 0x28, - 0x6b, 0xec, 0xcf, 0x0a, 0xe4, 0xfd, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x10, 0xfd, 0x28, 0x80, - 0x44, 0x13, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/evaluation.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/evaluation.pb.go deleted file mode 100644 index 68bcd0b6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/evaluation.pb.go +++ /dev/null @@ -1,820 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/datalabeling/v1beta1/evaluation.proto - -package datalabeling - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Describes an evaluation between 2 annotated datasets. Created by an -// evaluation plan. -type Evaluation struct { - // Resource name of an evaluation. - // Format: - // 'projects/{project_id}/datasets/{dataset_id}/evaluations/{evaluation_id}' - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Options used in evaluation plan for creating the evaluation. - Config *EvaluationConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` - // Output only. Timestamp when the evaluation plan triggered this evaluation - // flow. - EvaluationJobRunTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=evaluation_job_run_time,json=evaluationJobRunTime,proto3" json:"evaluation_job_run_time,omitempty"` - // Output only. Timestamp when this model evaluation was created. - CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Output only. Metrics of the evaluation. - EvaluationMetrics *EvaluationMetrics `protobuf:"bytes,5,opt,name=evaluation_metrics,json=evaluationMetrics,proto3" json:"evaluation_metrics,omitempty"` - // Type of the annotation to compute metrics for in the groundtruth and - // annotation labeled dataset. Required for creation. - AnnotationType AnnotationType `protobuf:"varint,6,opt,name=annotation_type,json=annotationType,proto3,enum=google.cloud.datalabeling.v1beta1.AnnotationType" json:"annotation_type,omitempty"` - // Output only. Count of items in groundtruth dataset included in this - // evaluation. Will be unset if annotation type is not applicable. - EvaluatedItemCount int64 `protobuf:"varint,7,opt,name=evaluated_item_count,json=evaluatedItemCount,proto3" json:"evaluated_item_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Evaluation) Reset() { *m = Evaluation{} } -func (m *Evaluation) String() string { return proto.CompactTextString(m) } -func (*Evaluation) ProtoMessage() {} -func (*Evaluation) Descriptor() ([]byte, []int) { - return fileDescriptor_9d8b95e8e98c043d, []int{0} -} - -func (m *Evaluation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Evaluation.Unmarshal(m, b) -} -func (m *Evaluation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Evaluation.Marshal(b, m, deterministic) -} -func (m *Evaluation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Evaluation.Merge(m, src) -} -func (m *Evaluation) XXX_Size() int { - return xxx_messageInfo_Evaluation.Size(m) -} -func (m *Evaluation) XXX_DiscardUnknown() { - xxx_messageInfo_Evaluation.DiscardUnknown(m) -} - -var xxx_messageInfo_Evaluation proto.InternalMessageInfo - -func (m *Evaluation) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Evaluation) GetConfig() *EvaluationConfig { - if m != nil { - return m.Config - } - return nil -} - -func (m *Evaluation) GetEvaluationJobRunTime() *timestamp.Timestamp { - if m != nil { - return m.EvaluationJobRunTime - } - return nil -} - -func (m *Evaluation) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *Evaluation) GetEvaluationMetrics() *EvaluationMetrics { - if m != nil { - return m.EvaluationMetrics - } - return nil -} - -func (m *Evaluation) GetAnnotationType() AnnotationType { - if m != nil { - return m.AnnotationType - } - return AnnotationType_ANNOTATION_TYPE_UNSPECIFIED -} - -func (m *Evaluation) GetEvaluatedItemCount() int64 { - if m != nil { - return m.EvaluatedItemCount - } - return 0 -} - -type EvaluationConfig struct { - // Vertical specific options for general metrics. - // - // Types that are valid to be assigned to VerticalOption: - // *EvaluationConfig_BoundingBoxEvaluationOptions - VerticalOption isEvaluationConfig_VerticalOption `protobuf_oneof:"vertical_option"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *EvaluationConfig) Reset() { *m = EvaluationConfig{} } -func (m *EvaluationConfig) String() string { return proto.CompactTextString(m) } -func (*EvaluationConfig) ProtoMessage() {} -func (*EvaluationConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_9d8b95e8e98c043d, []int{1} -} - -func (m *EvaluationConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EvaluationConfig.Unmarshal(m, b) -} -func (m *EvaluationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EvaluationConfig.Marshal(b, m, deterministic) -} -func (m *EvaluationConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_EvaluationConfig.Merge(m, src) -} -func (m *EvaluationConfig) XXX_Size() int { - return xxx_messageInfo_EvaluationConfig.Size(m) -} -func (m *EvaluationConfig) XXX_DiscardUnknown() { - xxx_messageInfo_EvaluationConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_EvaluationConfig proto.InternalMessageInfo - -type isEvaluationConfig_VerticalOption interface { - isEvaluationConfig_VerticalOption() -} - -type EvaluationConfig_BoundingBoxEvaluationOptions struct { - BoundingBoxEvaluationOptions *BoundingBoxEvaluationOptions `protobuf:"bytes,1,opt,name=bounding_box_evaluation_options,json=boundingBoxEvaluationOptions,proto3,oneof"` -} - -func (*EvaluationConfig_BoundingBoxEvaluationOptions) isEvaluationConfig_VerticalOption() {} - -func (m *EvaluationConfig) GetVerticalOption() isEvaluationConfig_VerticalOption { - if m != nil { - return m.VerticalOption - } - return nil -} - -func (m *EvaluationConfig) GetBoundingBoxEvaluationOptions() *BoundingBoxEvaluationOptions { - if x, ok := m.GetVerticalOption().(*EvaluationConfig_BoundingBoxEvaluationOptions); ok { - return x.BoundingBoxEvaluationOptions - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*EvaluationConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*EvaluationConfig_BoundingBoxEvaluationOptions)(nil), - } -} - -// Options regarding evaluation between bounding boxes. -type BoundingBoxEvaluationOptions struct { - // Minimize IoU required to consider 2 bounding boxes are matched. - IouThreshold float32 `protobuf:"fixed32,1,opt,name=iou_threshold,json=iouThreshold,proto3" json:"iou_threshold,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BoundingBoxEvaluationOptions) Reset() { *m = BoundingBoxEvaluationOptions{} } -func (m *BoundingBoxEvaluationOptions) String() string { return proto.CompactTextString(m) } -func (*BoundingBoxEvaluationOptions) ProtoMessage() {} -func (*BoundingBoxEvaluationOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_9d8b95e8e98c043d, []int{2} -} - -func (m *BoundingBoxEvaluationOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BoundingBoxEvaluationOptions.Unmarshal(m, b) -} -func (m *BoundingBoxEvaluationOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BoundingBoxEvaluationOptions.Marshal(b, m, deterministic) -} -func (m *BoundingBoxEvaluationOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_BoundingBoxEvaluationOptions.Merge(m, src) -} -func (m *BoundingBoxEvaluationOptions) XXX_Size() int { - return xxx_messageInfo_BoundingBoxEvaluationOptions.Size(m) -} -func (m *BoundingBoxEvaluationOptions) XXX_DiscardUnknown() { - xxx_messageInfo_BoundingBoxEvaluationOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_BoundingBoxEvaluationOptions proto.InternalMessageInfo - -func (m *BoundingBoxEvaluationOptions) GetIouThreshold() float32 { - if m != nil { - return m.IouThreshold - } - return 0 -} - -type EvaluationMetrics struct { - // Common metrics covering most genernal cases. - // - // Types that are valid to be assigned to Metrics: - // *EvaluationMetrics_ClassificationMetrics - // *EvaluationMetrics_ObjectDetectionMetrics - Metrics isEvaluationMetrics_Metrics `protobuf_oneof:"metrics"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *EvaluationMetrics) Reset() { *m = EvaluationMetrics{} } -func (m *EvaluationMetrics) String() string { return proto.CompactTextString(m) } -func (*EvaluationMetrics) ProtoMessage() {} -func (*EvaluationMetrics) Descriptor() ([]byte, []int) { - return fileDescriptor_9d8b95e8e98c043d, []int{3} -} - -func (m *EvaluationMetrics) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EvaluationMetrics.Unmarshal(m, b) -} -func (m *EvaluationMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EvaluationMetrics.Marshal(b, m, deterministic) -} -func (m *EvaluationMetrics) XXX_Merge(src proto.Message) { - xxx_messageInfo_EvaluationMetrics.Merge(m, src) -} -func (m *EvaluationMetrics) XXX_Size() int { - return xxx_messageInfo_EvaluationMetrics.Size(m) -} -func (m *EvaluationMetrics) XXX_DiscardUnknown() { - xxx_messageInfo_EvaluationMetrics.DiscardUnknown(m) -} - -var xxx_messageInfo_EvaluationMetrics proto.InternalMessageInfo - -type isEvaluationMetrics_Metrics interface { - isEvaluationMetrics_Metrics() -} - -type EvaluationMetrics_ClassificationMetrics struct { - ClassificationMetrics *ClassificationMetrics `protobuf:"bytes,1,opt,name=classification_metrics,json=classificationMetrics,proto3,oneof"` -} - -type EvaluationMetrics_ObjectDetectionMetrics struct { - ObjectDetectionMetrics *ObjectDetectionMetrics `protobuf:"bytes,2,opt,name=object_detection_metrics,json=objectDetectionMetrics,proto3,oneof"` -} - -func (*EvaluationMetrics_ClassificationMetrics) isEvaluationMetrics_Metrics() {} - -func (*EvaluationMetrics_ObjectDetectionMetrics) isEvaluationMetrics_Metrics() {} - -func (m *EvaluationMetrics) GetMetrics() isEvaluationMetrics_Metrics { - if m != nil { - return m.Metrics - } - return nil -} - -func (m *EvaluationMetrics) GetClassificationMetrics() *ClassificationMetrics { - if x, ok := m.GetMetrics().(*EvaluationMetrics_ClassificationMetrics); ok { - return x.ClassificationMetrics - } - return nil -} - -func (m *EvaluationMetrics) GetObjectDetectionMetrics() *ObjectDetectionMetrics { - if x, ok := m.GetMetrics().(*EvaluationMetrics_ObjectDetectionMetrics); ok { - return x.ObjectDetectionMetrics - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*EvaluationMetrics) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*EvaluationMetrics_ClassificationMetrics)(nil), - (*EvaluationMetrics_ObjectDetectionMetrics)(nil), - } -} - -type ClassificationMetrics struct { - // Precision-recall curve. - PrCurve *PrCurve `protobuf:"bytes,1,opt,name=pr_curve,json=prCurve,proto3" json:"pr_curve,omitempty"` - ConfusionMatrix *ConfusionMatrix `protobuf:"bytes,2,opt,name=confusion_matrix,json=confusionMatrix,proto3" json:"confusion_matrix,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ClassificationMetrics) Reset() { *m = ClassificationMetrics{} } -func (m *ClassificationMetrics) String() string { return proto.CompactTextString(m) } -func (*ClassificationMetrics) ProtoMessage() {} -func (*ClassificationMetrics) Descriptor() ([]byte, []int) { - return fileDescriptor_9d8b95e8e98c043d, []int{4} -} - -func (m *ClassificationMetrics) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClassificationMetrics.Unmarshal(m, b) -} -func (m *ClassificationMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClassificationMetrics.Marshal(b, m, deterministic) -} -func (m *ClassificationMetrics) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClassificationMetrics.Merge(m, src) -} -func (m *ClassificationMetrics) XXX_Size() int { - return xxx_messageInfo_ClassificationMetrics.Size(m) -} -func (m *ClassificationMetrics) XXX_DiscardUnknown() { - xxx_messageInfo_ClassificationMetrics.DiscardUnknown(m) -} - -var xxx_messageInfo_ClassificationMetrics proto.InternalMessageInfo - -func (m *ClassificationMetrics) GetPrCurve() *PrCurve { - if m != nil { - return m.PrCurve - } - return nil -} - -func (m *ClassificationMetrics) GetConfusionMatrix() *ConfusionMatrix { - if m != nil { - return m.ConfusionMatrix - } - return nil -} - -type ObjectDetectionMetrics struct { - // Precision-recall curve. - PrCurve *PrCurve `protobuf:"bytes,1,opt,name=pr_curve,json=prCurve,proto3" json:"pr_curve,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ObjectDetectionMetrics) Reset() { *m = ObjectDetectionMetrics{} } -func (m *ObjectDetectionMetrics) String() string { return proto.CompactTextString(m) } -func (*ObjectDetectionMetrics) ProtoMessage() {} -func (*ObjectDetectionMetrics) Descriptor() ([]byte, []int) { - return fileDescriptor_9d8b95e8e98c043d, []int{5} -} - -func (m *ObjectDetectionMetrics) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ObjectDetectionMetrics.Unmarshal(m, b) -} -func (m *ObjectDetectionMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ObjectDetectionMetrics.Marshal(b, m, deterministic) -} -func (m *ObjectDetectionMetrics) XXX_Merge(src proto.Message) { - xxx_messageInfo_ObjectDetectionMetrics.Merge(m, src) -} -func (m *ObjectDetectionMetrics) XXX_Size() int { - return xxx_messageInfo_ObjectDetectionMetrics.Size(m) -} -func (m *ObjectDetectionMetrics) XXX_DiscardUnknown() { - xxx_messageInfo_ObjectDetectionMetrics.DiscardUnknown(m) -} - -var xxx_messageInfo_ObjectDetectionMetrics proto.InternalMessageInfo - -func (m *ObjectDetectionMetrics) GetPrCurve() *PrCurve { - if m != nil { - return m.PrCurve - } - return nil -} - -type PrCurve struct { - // PR curve against which annotation spec. Could be empty. - AnnotationSpec *AnnotationSpec `protobuf:"bytes,1,opt,name=annotation_spec,json=annotationSpec,proto3" json:"annotation_spec,omitempty"` - // Area under precision recall curve. - AreaUnderCurve float32 `protobuf:"fixed32,2,opt,name=area_under_curve,json=areaUnderCurve,proto3" json:"area_under_curve,omitempty"` - // entries to draw PR graph. - ConfidenceMetricsEntries []*PrCurve_ConfidenceMetricsEntry `protobuf:"bytes,3,rep,name=confidence_metrics_entries,json=confidenceMetricsEntries,proto3" json:"confidence_metrics_entries,omitempty"` - // mean average prcision of this curve. - MeanAveragePrecision float32 `protobuf:"fixed32,4,opt,name=mean_average_precision,json=meanAveragePrecision,proto3" json:"mean_average_precision,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PrCurve) Reset() { *m = PrCurve{} } -func (m *PrCurve) String() string { return proto.CompactTextString(m) } -func (*PrCurve) ProtoMessage() {} -func (*PrCurve) Descriptor() ([]byte, []int) { - return fileDescriptor_9d8b95e8e98c043d, []int{6} -} - -func (m *PrCurve) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PrCurve.Unmarshal(m, b) -} -func (m *PrCurve) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PrCurve.Marshal(b, m, deterministic) -} -func (m *PrCurve) XXX_Merge(src proto.Message) { - xxx_messageInfo_PrCurve.Merge(m, src) -} -func (m *PrCurve) XXX_Size() int { - return xxx_messageInfo_PrCurve.Size(m) -} -func (m *PrCurve) XXX_DiscardUnknown() { - xxx_messageInfo_PrCurve.DiscardUnknown(m) -} - -var xxx_messageInfo_PrCurve proto.InternalMessageInfo - -func (m *PrCurve) GetAnnotationSpec() *AnnotationSpec { - if m != nil { - return m.AnnotationSpec - } - return nil -} - -func (m *PrCurve) GetAreaUnderCurve() float32 { - if m != nil { - return m.AreaUnderCurve - } - return 0 -} - -func (m *PrCurve) GetConfidenceMetricsEntries() []*PrCurve_ConfidenceMetricsEntry { - if m != nil { - return m.ConfidenceMetricsEntries - } - return nil -} - -func (m *PrCurve) GetMeanAveragePrecision() float32 { - if m != nil { - return m.MeanAveragePrecision - } - return 0 -} - -type PrCurve_ConfidenceMetricsEntry struct { - // Threshold used for this entry, for example, IoU threshold for bounding - // box problem, or detection threshold for classification. - ConfidenceThreshold float32 `protobuf:"fixed32,1,opt,name=confidence_threshold,json=confidenceThreshold,proto3" json:"confidence_threshold,omitempty"` - // Recall value. - Recall float32 `protobuf:"fixed32,2,opt,name=recall,proto3" json:"recall,omitempty"` - // Precision value. - Precision float32 `protobuf:"fixed32,3,opt,name=precision,proto3" json:"precision,omitempty"` - // Harmonic mean of recall and precision. - F1Score float32 `protobuf:"fixed32,4,opt,name=f1_score,json=f1Score,proto3" json:"f1_score,omitempty"` - // Recall value for entries with label that has highest score. - RecallAt1 float32 `protobuf:"fixed32,5,opt,name=recall_at1,json=recallAt1,proto3" json:"recall_at1,omitempty"` - // Precision value for entries with label that has highest score. - PrecisionAt1 float32 `protobuf:"fixed32,6,opt,name=precision_at1,json=precisionAt1,proto3" json:"precision_at1,omitempty"` - // The harmonic mean of - // [recall_at1][google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry.recall_at1] - // and - // [precision_at1][google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry.precision_at1]. - F1ScoreAt1 float32 `protobuf:"fixed32,7,opt,name=f1_score_at1,json=f1ScoreAt1,proto3" json:"f1_score_at1,omitempty"` - // Recall value for entries with label that has highest 5 scores. - RecallAt5 float32 `protobuf:"fixed32,8,opt,name=recall_at5,json=recallAt5,proto3" json:"recall_at5,omitempty"` - // Precision value for entries with label that has highest 5 scores. - PrecisionAt5 float32 `protobuf:"fixed32,9,opt,name=precision_at5,json=precisionAt5,proto3" json:"precision_at5,omitempty"` - // The harmonic mean of - // [recall_at5][google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry.recall_at5] - // and - // [precision_at5][google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry.precision_at5]. - F1ScoreAt5 float32 `protobuf:"fixed32,10,opt,name=f1_score_at5,json=f1ScoreAt5,proto3" json:"f1_score_at5,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PrCurve_ConfidenceMetricsEntry) Reset() { *m = PrCurve_ConfidenceMetricsEntry{} } -func (m *PrCurve_ConfidenceMetricsEntry) String() string { return proto.CompactTextString(m) } -func (*PrCurve_ConfidenceMetricsEntry) ProtoMessage() {} -func (*PrCurve_ConfidenceMetricsEntry) Descriptor() ([]byte, []int) { - return fileDescriptor_9d8b95e8e98c043d, []int{6, 0} -} - -func (m *PrCurve_ConfidenceMetricsEntry) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PrCurve_ConfidenceMetricsEntry.Unmarshal(m, b) -} -func (m *PrCurve_ConfidenceMetricsEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PrCurve_ConfidenceMetricsEntry.Marshal(b, m, deterministic) -} -func (m *PrCurve_ConfidenceMetricsEntry) XXX_Merge(src proto.Message) { - xxx_messageInfo_PrCurve_ConfidenceMetricsEntry.Merge(m, src) -} -func (m *PrCurve_ConfidenceMetricsEntry) XXX_Size() int { - return xxx_messageInfo_PrCurve_ConfidenceMetricsEntry.Size(m) -} -func (m *PrCurve_ConfidenceMetricsEntry) XXX_DiscardUnknown() { - xxx_messageInfo_PrCurve_ConfidenceMetricsEntry.DiscardUnknown(m) -} - -var xxx_messageInfo_PrCurve_ConfidenceMetricsEntry proto.InternalMessageInfo - -func (m *PrCurve_ConfidenceMetricsEntry) GetConfidenceThreshold() float32 { - if m != nil { - return m.ConfidenceThreshold - } - return 0 -} - -func (m *PrCurve_ConfidenceMetricsEntry) GetRecall() float32 { - if m != nil { - return m.Recall - } - return 0 -} - -func (m *PrCurve_ConfidenceMetricsEntry) GetPrecision() float32 { - if m != nil { - return m.Precision - } - return 0 -} - -func (m *PrCurve_ConfidenceMetricsEntry) GetF1Score() float32 { - if m != nil { - return m.F1Score - } - return 0 -} - -func (m *PrCurve_ConfidenceMetricsEntry) GetRecallAt1() float32 { - if m != nil { - return m.RecallAt1 - } - return 0 -} - -func (m *PrCurve_ConfidenceMetricsEntry) GetPrecisionAt1() float32 { - if m != nil { - return m.PrecisionAt1 - } - return 0 -} - -func (m *PrCurve_ConfidenceMetricsEntry) GetF1ScoreAt1() float32 { - if m != nil { - return m.F1ScoreAt1 - } - return 0 -} - -func (m *PrCurve_ConfidenceMetricsEntry) GetRecallAt5() float32 { - if m != nil { - return m.RecallAt5 - } - return 0 -} - -func (m *PrCurve_ConfidenceMetricsEntry) GetPrecisionAt5() float32 { - if m != nil { - return m.PrecisionAt5 - } - return 0 -} - -func (m *PrCurve_ConfidenceMetricsEntry) GetF1ScoreAt5() float32 { - if m != nil { - return m.F1ScoreAt5 - } - return 0 -} - -// Confusion matrix of the model running the classification. Not applicable -// when label filtering is specified in evaluation option. -type ConfusionMatrix struct { - Row []*ConfusionMatrix_Row `protobuf:"bytes,1,rep,name=row,proto3" json:"row,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ConfusionMatrix) Reset() { *m = ConfusionMatrix{} } -func (m *ConfusionMatrix) String() string { return proto.CompactTextString(m) } -func (*ConfusionMatrix) ProtoMessage() {} -func (*ConfusionMatrix) Descriptor() ([]byte, []int) { - return fileDescriptor_9d8b95e8e98c043d, []int{7} -} - -func (m *ConfusionMatrix) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConfusionMatrix.Unmarshal(m, b) -} -func (m *ConfusionMatrix) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConfusionMatrix.Marshal(b, m, deterministic) -} -func (m *ConfusionMatrix) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConfusionMatrix.Merge(m, src) -} -func (m *ConfusionMatrix) XXX_Size() int { - return xxx_messageInfo_ConfusionMatrix.Size(m) -} -func (m *ConfusionMatrix) XXX_DiscardUnknown() { - xxx_messageInfo_ConfusionMatrix.DiscardUnknown(m) -} - -var xxx_messageInfo_ConfusionMatrix proto.InternalMessageInfo - -func (m *ConfusionMatrix) GetRow() []*ConfusionMatrix_Row { - if m != nil { - return m.Row - } - return nil -} - -type ConfusionMatrix_ConfusionMatrixEntry struct { - // The predicted annotation spec. - AnnotationSpec *AnnotationSpec `protobuf:"bytes,1,opt,name=annotation_spec,json=annotationSpec,proto3" json:"annotation_spec,omitempty"` - // Number of items being predicted as this label. - ItemCount int32 `protobuf:"varint,2,opt,name=item_count,json=itemCount,proto3" json:"item_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ConfusionMatrix_ConfusionMatrixEntry) Reset() { *m = ConfusionMatrix_ConfusionMatrixEntry{} } -func (m *ConfusionMatrix_ConfusionMatrixEntry) String() string { return proto.CompactTextString(m) } -func (*ConfusionMatrix_ConfusionMatrixEntry) ProtoMessage() {} -func (*ConfusionMatrix_ConfusionMatrixEntry) Descriptor() ([]byte, []int) { - return fileDescriptor_9d8b95e8e98c043d, []int{7, 0} -} - -func (m *ConfusionMatrix_ConfusionMatrixEntry) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConfusionMatrix_ConfusionMatrixEntry.Unmarshal(m, b) -} -func (m *ConfusionMatrix_ConfusionMatrixEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConfusionMatrix_ConfusionMatrixEntry.Marshal(b, m, deterministic) -} -func (m *ConfusionMatrix_ConfusionMatrixEntry) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConfusionMatrix_ConfusionMatrixEntry.Merge(m, src) -} -func (m *ConfusionMatrix_ConfusionMatrixEntry) XXX_Size() int { - return xxx_messageInfo_ConfusionMatrix_ConfusionMatrixEntry.Size(m) -} -func (m *ConfusionMatrix_ConfusionMatrixEntry) XXX_DiscardUnknown() { - xxx_messageInfo_ConfusionMatrix_ConfusionMatrixEntry.DiscardUnknown(m) -} - -var xxx_messageInfo_ConfusionMatrix_ConfusionMatrixEntry proto.InternalMessageInfo - -func (m *ConfusionMatrix_ConfusionMatrixEntry) GetAnnotationSpec() *AnnotationSpec { - if m != nil { - return m.AnnotationSpec - } - return nil -} - -func (m *ConfusionMatrix_ConfusionMatrixEntry) GetItemCount() int32 { - if m != nil { - return m.ItemCount - } - return 0 -} - -// A row in the confusion matrix. -type ConfusionMatrix_Row struct { - // the original annotation spec of this row. - AnnotationSpec *AnnotationSpec `protobuf:"bytes,1,opt,name=annotation_spec,json=annotationSpec,proto3" json:"annotation_spec,omitempty"` - // Info describing predicted label distribution. - Entries []*ConfusionMatrix_ConfusionMatrixEntry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ConfusionMatrix_Row) Reset() { *m = ConfusionMatrix_Row{} } -func (m *ConfusionMatrix_Row) String() string { return proto.CompactTextString(m) } -func (*ConfusionMatrix_Row) ProtoMessage() {} -func (*ConfusionMatrix_Row) Descriptor() ([]byte, []int) { - return fileDescriptor_9d8b95e8e98c043d, []int{7, 1} -} - -func (m *ConfusionMatrix_Row) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConfusionMatrix_Row.Unmarshal(m, b) -} -func (m *ConfusionMatrix_Row) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConfusionMatrix_Row.Marshal(b, m, deterministic) -} -func (m *ConfusionMatrix_Row) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConfusionMatrix_Row.Merge(m, src) -} -func (m *ConfusionMatrix_Row) XXX_Size() int { - return xxx_messageInfo_ConfusionMatrix_Row.Size(m) -} -func (m *ConfusionMatrix_Row) XXX_DiscardUnknown() { - xxx_messageInfo_ConfusionMatrix_Row.DiscardUnknown(m) -} - -var xxx_messageInfo_ConfusionMatrix_Row proto.InternalMessageInfo - -func (m *ConfusionMatrix_Row) GetAnnotationSpec() *AnnotationSpec { - if m != nil { - return m.AnnotationSpec - } - return nil -} - -func (m *ConfusionMatrix_Row) GetEntries() []*ConfusionMatrix_ConfusionMatrixEntry { - if m != nil { - return m.Entries - } - return nil -} - -func init() { - proto.RegisterType((*Evaluation)(nil), "google.cloud.datalabeling.v1beta1.Evaluation") - proto.RegisterType((*EvaluationConfig)(nil), "google.cloud.datalabeling.v1beta1.EvaluationConfig") - proto.RegisterType((*BoundingBoxEvaluationOptions)(nil), "google.cloud.datalabeling.v1beta1.BoundingBoxEvaluationOptions") - proto.RegisterType((*EvaluationMetrics)(nil), "google.cloud.datalabeling.v1beta1.EvaluationMetrics") - proto.RegisterType((*ClassificationMetrics)(nil), "google.cloud.datalabeling.v1beta1.ClassificationMetrics") - proto.RegisterType((*ObjectDetectionMetrics)(nil), "google.cloud.datalabeling.v1beta1.ObjectDetectionMetrics") - proto.RegisterType((*PrCurve)(nil), "google.cloud.datalabeling.v1beta1.PrCurve") - proto.RegisterType((*PrCurve_ConfidenceMetricsEntry)(nil), "google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry") - proto.RegisterType((*ConfusionMatrix)(nil), "google.cloud.datalabeling.v1beta1.ConfusionMatrix") - proto.RegisterType((*ConfusionMatrix_ConfusionMatrixEntry)(nil), "google.cloud.datalabeling.v1beta1.ConfusionMatrix.ConfusionMatrixEntry") - proto.RegisterType((*ConfusionMatrix_Row)(nil), "google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row") -} - -func init() { - proto.RegisterFile("google/cloud/datalabeling/v1beta1/evaluation.proto", fileDescriptor_9d8b95e8e98c043d) -} - -var fileDescriptor_9d8b95e8e98c043d = []byte{ - // 952 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0x4f, 0x6f, 0x1b, 0x45, - 0x14, 0xef, 0xda, 0x6d, 0x1c, 0xbf, 0x94, 0xfc, 0x19, 0x52, 0xb3, 0x58, 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a7, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, - 0x38, 0xc2, 0x25, 0x39, 0x0d, 0x0b, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/evaluation_job.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/evaluation_job.pb.go deleted file mode 100644 index b5cccda4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/evaluation_job.pb.go +++ /dev/null @@ -1,597 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/datalabeling/v1beta1/evaluation_job.proto - -package datalabeling - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// State of the job. -type EvaluationJob_State int32 - -const ( - EvaluationJob_STATE_UNSPECIFIED EvaluationJob_State = 0 - EvaluationJob_SCHEDULED EvaluationJob_State = 1 - EvaluationJob_RUNNING EvaluationJob_State = 2 - EvaluationJob_PAUSED EvaluationJob_State = 3 - EvaluationJob_STOPPED EvaluationJob_State = 4 -) - -var EvaluationJob_State_name = map[int32]string{ - 0: "STATE_UNSPECIFIED", - 1: "SCHEDULED", - 2: "RUNNING", - 3: "PAUSED", - 4: "STOPPED", -} - -var EvaluationJob_State_value = map[string]int32{ - "STATE_UNSPECIFIED": 0, - "SCHEDULED": 1, - "RUNNING": 2, - "PAUSED": 3, - "STOPPED": 4, -} - -func (x EvaluationJob_State) String() string { - return proto.EnumName(EvaluationJob_State_name, int32(x)) -} - -func (EvaluationJob_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_052df044fb4ef883, []int{0, 0} -} - -// Defines an evaluation job that is triggered periodically to generate -// evaluations. -type EvaluationJob struct { - // Format: 'projects/{project_id}/evaluationJobs/{evaluation_job_id}' - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Description of the job. The description can be up to - // 25000 characters long. - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - State EvaluationJob_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.datalabeling.v1beta1.EvaluationJob_State" json:"state,omitempty"` - // Describes the schedule on which the job will be executed. Minimum schedule - // unit is 1 day. - // - // 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,4,opt,name=schedule,proto3" json:"schedule,omitempty"` - // The versioned model that is being evaluated here. - // Only one job is allowed for each model name. - // Format: 'projects/*/models/*/versions/*' - ModelVersion string `protobuf:"bytes,5,opt,name=model_version,json=modelVersion,proto3" json:"model_version,omitempty"` - // Detailed config for running this eval job. - EvaluationJobConfig *EvaluationJobConfig `protobuf:"bytes,6,opt,name=evaluation_job_config,json=evaluationJobConfig,proto3" json:"evaluation_job_config,omitempty"` - // Name of the AnnotationSpecSet. - AnnotationSpecSet string `protobuf:"bytes,7,opt,name=annotation_spec_set,json=annotationSpecSet,proto3" json:"annotation_spec_set,omitempty"` - // If a human annotation should be requested when some data don't have ground - // truth. - LabelMissingGroundTruth bool `protobuf:"varint,8,opt,name=label_missing_ground_truth,json=labelMissingGroundTruth,proto3" json:"label_missing_ground_truth,omitempty"` - // Output only. Any attempts with errors happening in evaluation job runs each - // time will be recorded here incrementally. - Attempts []*Attempt `protobuf:"bytes,9,rep,name=attempts,proto3" json:"attempts,omitempty"` - // Timestamp when this evaluation job was created. - 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 *EvaluationJob) Reset() { *m = EvaluationJob{} } -func (m *EvaluationJob) String() string { return proto.CompactTextString(m) } -func (*EvaluationJob) ProtoMessage() {} -func (*EvaluationJob) Descriptor() ([]byte, []int) { - return fileDescriptor_052df044fb4ef883, []int{0} -} - -func (m *EvaluationJob) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EvaluationJob.Unmarshal(m, b) -} -func (m *EvaluationJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EvaluationJob.Marshal(b, m, deterministic) -} -func (m *EvaluationJob) XXX_Merge(src proto.Message) { - xxx_messageInfo_EvaluationJob.Merge(m, src) -} -func (m *EvaluationJob) XXX_Size() int { - return xxx_messageInfo_EvaluationJob.Size(m) -} -func (m *EvaluationJob) XXX_DiscardUnknown() { - xxx_messageInfo_EvaluationJob.DiscardUnknown(m) -} - -var xxx_messageInfo_EvaluationJob proto.InternalMessageInfo - -func (m *EvaluationJob) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *EvaluationJob) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *EvaluationJob) GetState() EvaluationJob_State { - if m != nil { - return m.State - } - return EvaluationJob_STATE_UNSPECIFIED -} - -func (m *EvaluationJob) GetSchedule() string { - if m != nil { - return m.Schedule - } - return "" -} - -func (m *EvaluationJob) GetModelVersion() string { - if m != nil { - return m.ModelVersion - } - return "" -} - -func (m *EvaluationJob) GetEvaluationJobConfig() *EvaluationJobConfig { - if m != nil { - return m.EvaluationJobConfig - } - return nil -} - -func (m *EvaluationJob) GetAnnotationSpecSet() string { - if m != nil { - return m.AnnotationSpecSet - } - return "" -} - -func (m *EvaluationJob) GetLabelMissingGroundTruth() bool { - if m != nil { - return m.LabelMissingGroundTruth - } - return false -} - -func (m *EvaluationJob) GetAttempts() []*Attempt { - if m != nil { - return m.Attempts - } - return nil -} - -func (m *EvaluationJob) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -type EvaluationJobConfig struct { - // config specific to different supported human annotation use cases. - // - // Types that are valid to be assigned to HumanAnnotationRequestConfig: - // *EvaluationJobConfig_ImageClassificationConfig - // *EvaluationJobConfig_BoundingPolyConfig - // *EvaluationJobConfig_VideoClassificationConfig - // *EvaluationJobConfig_ObjectDetectionConfig - // *EvaluationJobConfig_TextClassificationConfig - // *EvaluationJobConfig_ObjectTrackingConfig - HumanAnnotationRequestConfig isEvaluationJobConfig_HumanAnnotationRequestConfig `protobuf_oneof:"human_annotation_request_config"` - // Input config for data, gcs_source in the config will be the root path for - // data. Data should be organzied chronically under that path. - InputConfig *InputConfig `protobuf:"bytes,1,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"` - // Config used to create evaluation. - EvaluationConfig *EvaluationConfig `protobuf:"bytes,2,opt,name=evaluation_config,json=evaluationConfig,proto3" json:"evaluation_config,omitempty"` - HumanAnnotationConfig *HumanAnnotationConfig `protobuf:"bytes,3,opt,name=human_annotation_config,json=humanAnnotationConfig,proto3" json:"human_annotation_config,omitempty"` - // Mappings between reserved keys for bigquery import and customized tensor - // names. Key is the reserved key, value is tensor name in the bigquery table. - // Different annotation type has different required key mapping. See user - // manual for more details: - // - // https: - // //docs.google.com/document/d/1bg1meMIBGY - // // 9I5QEoFoHSX6u9LsZQYBSmPt6E9SxqHZc/edit#heading=h.tfyjhxhvsqem - BigqueryImportKeys map[string]string `protobuf:"bytes,9,rep,name=bigquery_import_keys,json=bigqueryImportKeys,proto3" json:"bigquery_import_keys,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Max number of examples to collect in each period. - ExampleCount int32 `protobuf:"varint,10,opt,name=example_count,json=exampleCount,proto3" json:"example_count,omitempty"` - // Percentage of examples to collect in each period. 0.1 means 10% of total - // examples will be collected, and 0.0 means no collection. - ExampleSamplePercentage float64 `protobuf:"fixed64,11,opt,name=example_sample_percentage,json=exampleSamplePercentage,proto3" json:"example_sample_percentage,omitempty"` - // Alert config for the evaluation job. The alert will be triggered when its - // criteria is met. - EvaluationJobAlertConfig *EvaluationJobAlertConfig `protobuf:"bytes,13,opt,name=evaluation_job_alert_config,json=evaluationJobAlertConfig,proto3" json:"evaluation_job_alert_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *EvaluationJobConfig) Reset() { *m = EvaluationJobConfig{} } -func (m *EvaluationJobConfig) String() string { return proto.CompactTextString(m) } -func (*EvaluationJobConfig) ProtoMessage() {} -func (*EvaluationJobConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_052df044fb4ef883, []int{1} -} - -func (m *EvaluationJobConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EvaluationJobConfig.Unmarshal(m, b) -} -func (m *EvaluationJobConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EvaluationJobConfig.Marshal(b, m, deterministic) -} -func (m *EvaluationJobConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_EvaluationJobConfig.Merge(m, src) -} -func (m *EvaluationJobConfig) XXX_Size() int { - return xxx_messageInfo_EvaluationJobConfig.Size(m) -} -func (m *EvaluationJobConfig) XXX_DiscardUnknown() { - xxx_messageInfo_EvaluationJobConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_EvaluationJobConfig proto.InternalMessageInfo - -type isEvaluationJobConfig_HumanAnnotationRequestConfig interface { - isEvaluationJobConfig_HumanAnnotationRequestConfig() -} - -type EvaluationJobConfig_ImageClassificationConfig struct { - ImageClassificationConfig *ImageClassificationConfig `protobuf:"bytes,4,opt,name=image_classification_config,json=imageClassificationConfig,proto3,oneof"` -} - -type EvaluationJobConfig_BoundingPolyConfig struct { - BoundingPolyConfig *BoundingPolyConfig `protobuf:"bytes,5,opt,name=bounding_poly_config,json=boundingPolyConfig,proto3,oneof"` -} - -type EvaluationJobConfig_VideoClassificationConfig struct { - VideoClassificationConfig *VideoClassificationConfig `protobuf:"bytes,6,opt,name=video_classification_config,json=videoClassificationConfig,proto3,oneof"` -} - -type EvaluationJobConfig_ObjectDetectionConfig struct { - ObjectDetectionConfig *ObjectDetectionConfig `protobuf:"bytes,7,opt,name=object_detection_config,json=objectDetectionConfig,proto3,oneof"` -} - -type EvaluationJobConfig_TextClassificationConfig struct { - TextClassificationConfig *TextClassificationConfig `protobuf:"bytes,8,opt,name=text_classification_config,json=textClassificationConfig,proto3,oneof"` -} - -type EvaluationJobConfig_ObjectTrackingConfig struct { - ObjectTrackingConfig *ObjectTrackingConfig `protobuf:"bytes,12,opt,name=object_tracking_config,json=objectTrackingConfig,proto3,oneof"` -} - -func (*EvaluationJobConfig_ImageClassificationConfig) isEvaluationJobConfig_HumanAnnotationRequestConfig() { -} - -func (*EvaluationJobConfig_BoundingPolyConfig) isEvaluationJobConfig_HumanAnnotationRequestConfig() {} - -func (*EvaluationJobConfig_VideoClassificationConfig) isEvaluationJobConfig_HumanAnnotationRequestConfig() { -} - -func (*EvaluationJobConfig_ObjectDetectionConfig) isEvaluationJobConfig_HumanAnnotationRequestConfig() { -} - -func (*EvaluationJobConfig_TextClassificationConfig) isEvaluationJobConfig_HumanAnnotationRequestConfig() { -} - -func (*EvaluationJobConfig_ObjectTrackingConfig) isEvaluationJobConfig_HumanAnnotationRequestConfig() { -} - -func (m *EvaluationJobConfig) GetHumanAnnotationRequestConfig() isEvaluationJobConfig_HumanAnnotationRequestConfig { - if m != nil { - return m.HumanAnnotationRequestConfig - } - return nil -} - -func (m *EvaluationJobConfig) GetImageClassificationConfig() *ImageClassificationConfig { - if x, ok := m.GetHumanAnnotationRequestConfig().(*EvaluationJobConfig_ImageClassificationConfig); ok { - return x.ImageClassificationConfig - } - return nil -} - -func (m *EvaluationJobConfig) GetBoundingPolyConfig() *BoundingPolyConfig { - if x, ok := m.GetHumanAnnotationRequestConfig().(*EvaluationJobConfig_BoundingPolyConfig); ok { - return x.BoundingPolyConfig - } - return nil -} - -func (m *EvaluationJobConfig) GetVideoClassificationConfig() *VideoClassificationConfig { - if x, ok := m.GetHumanAnnotationRequestConfig().(*EvaluationJobConfig_VideoClassificationConfig); ok { - return x.VideoClassificationConfig - } - return nil -} - -func (m *EvaluationJobConfig) GetObjectDetectionConfig() *ObjectDetectionConfig { - if x, ok := m.GetHumanAnnotationRequestConfig().(*EvaluationJobConfig_ObjectDetectionConfig); ok { - return x.ObjectDetectionConfig - } - return nil -} - -func (m *EvaluationJobConfig) GetTextClassificationConfig() *TextClassificationConfig { - if x, ok := m.GetHumanAnnotationRequestConfig().(*EvaluationJobConfig_TextClassificationConfig); ok { - return x.TextClassificationConfig - } - return nil -} - -func (m *EvaluationJobConfig) GetObjectTrackingConfig() *ObjectTrackingConfig { - if x, ok := m.GetHumanAnnotationRequestConfig().(*EvaluationJobConfig_ObjectTrackingConfig); ok { - return x.ObjectTrackingConfig - } - return nil -} - -func (m *EvaluationJobConfig) GetInputConfig() *InputConfig { - if m != nil { - return m.InputConfig - } - return nil -} - -func (m *EvaluationJobConfig) GetEvaluationConfig() *EvaluationConfig { - if m != nil { - return m.EvaluationConfig - } - return nil -} - -func (m *EvaluationJobConfig) GetHumanAnnotationConfig() *HumanAnnotationConfig { - if m != nil { - return m.HumanAnnotationConfig - } - return nil -} - -func (m *EvaluationJobConfig) GetBigqueryImportKeys() map[string]string { - if m != nil { - return m.BigqueryImportKeys - } - return nil -} - -func (m *EvaluationJobConfig) GetExampleCount() int32 { - if m != nil { - return m.ExampleCount - } - return 0 -} - -func (m *EvaluationJobConfig) GetExampleSamplePercentage() float64 { - if m != nil { - return m.ExampleSamplePercentage - } - return 0 -} - -func (m *EvaluationJobConfig) GetEvaluationJobAlertConfig() *EvaluationJobAlertConfig { - if m != nil { - return m.EvaluationJobAlertConfig - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*EvaluationJobConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*EvaluationJobConfig_ImageClassificationConfig)(nil), - (*EvaluationJobConfig_BoundingPolyConfig)(nil), - (*EvaluationJobConfig_VideoClassificationConfig)(nil), - (*EvaluationJobConfig_ObjectDetectionConfig)(nil), - (*EvaluationJobConfig_TextClassificationConfig)(nil), - (*EvaluationJobConfig_ObjectTrackingConfig)(nil), - } -} - -type EvaluationJobAlertConfig struct { - // Required. Email of the user who will be receiving the alert. - Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` - // If a single evaluation run's aggregate mean average precision is - // lower than this threshold, the alert will be triggered. - MinAcceptableMeanAveragePrecision float64 `protobuf:"fixed64,2,opt,name=min_acceptable_mean_average_precision,json=minAcceptableMeanAveragePrecision,proto3" json:"min_acceptable_mean_average_precision,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *EvaluationJobAlertConfig) Reset() { *m = EvaluationJobAlertConfig{} } -func (m *EvaluationJobAlertConfig) String() string { return proto.CompactTextString(m) } -func (*EvaluationJobAlertConfig) ProtoMessage() {} -func (*EvaluationJobAlertConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_052df044fb4ef883, []int{2} -} - -func (m *EvaluationJobAlertConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EvaluationJobAlertConfig.Unmarshal(m, b) -} -func (m *EvaluationJobAlertConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EvaluationJobAlertConfig.Marshal(b, m, deterministic) -} -func (m *EvaluationJobAlertConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_EvaluationJobAlertConfig.Merge(m, src) -} -func (m *EvaluationJobAlertConfig) XXX_Size() int { - return xxx_messageInfo_EvaluationJobAlertConfig.Size(m) -} -func (m *EvaluationJobAlertConfig) XXX_DiscardUnknown() { - xxx_messageInfo_EvaluationJobAlertConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_EvaluationJobAlertConfig proto.InternalMessageInfo - -func (m *EvaluationJobAlertConfig) GetEmail() string { - if m != nil { - return m.Email - } - return "" -} - -func (m *EvaluationJobAlertConfig) GetMinAcceptableMeanAveragePrecision() float64 { - if m != nil { - return m.MinAcceptableMeanAveragePrecision - } - return 0 -} - -// Records a failed attempt. -type Attempt struct { - AttemptTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=attempt_time,json=attemptTime,proto3" json:"attempt_time,omitempty"` - PartialFailures []*status.Status `protobuf:"bytes,2,rep,name=partial_failures,json=partialFailures,proto3" json:"partial_failures,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_052df044fb4ef883, []int{3} -} - -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 (m *Attempt) XXX_Merge(src proto.Message) { - xxx_messageInfo_Attempt.Merge(m, 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) GetAttemptTime() *timestamp.Timestamp { - if m != nil { - return m.AttemptTime - } - return nil -} - -func (m *Attempt) GetPartialFailures() []*status.Status { - if m != nil { - return m.PartialFailures - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.datalabeling.v1beta1.EvaluationJob_State", EvaluationJob_State_name, EvaluationJob_State_value) - proto.RegisterType((*EvaluationJob)(nil), "google.cloud.datalabeling.v1beta1.EvaluationJob") - proto.RegisterType((*EvaluationJobConfig)(nil), "google.cloud.datalabeling.v1beta1.EvaluationJobConfig") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.datalabeling.v1beta1.EvaluationJobConfig.BigqueryImportKeysEntry") - proto.RegisterType((*EvaluationJobAlertConfig)(nil), "google.cloud.datalabeling.v1beta1.EvaluationJobAlertConfig") - proto.RegisterType((*Attempt)(nil), "google.cloud.datalabeling.v1beta1.Attempt") -} - -func init() { - proto.RegisterFile("google/cloud/datalabeling/v1beta1/evaluation_job.proto", fileDescriptor_052df044fb4ef883) -} - -var fileDescriptor_052df044fb4ef883 = []byte{ - // 1073 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xdf, 0x53, 0xdb, 0x46, - 0x10, 0x8e, 0x00, 0xf3, 0xe3, 0x0c, 0xad, 0x39, 0xa0, 0x56, 0x9c, 0xce, 0xc4, 0xd0, 0xc9, 0x8c, - 0xa7, 0x0f, 0xf2, 0x84, 0x4c, 0xd3, 0x4c, 0x68, 0xa6, 0x63, 0xb0, 0x09, 0xb4, 0x81, 0xb8, 0xb2, - 0xc9, 0x43, 0x5f, 0xd4, 0x93, 0xbc, 0x88, 0x03, 0x49, 0xa7, 0xe8, 0x4e, 0x1e, 0xdc, 0xce, 0x74, - 0x3a, 0x7d, 0xc9, 0x1f, 0xd8, 0x7f, 0xa8, 0x73, 0xa7, 0x93, 0x31, 0x01, 0xd5, 0xa6, 0x2f, 0xa0, - 0xdb, 0xfd, 0xf6, 0xfb, 0x6e, 0xf7, 0xd6, 0xb7, 0x87, 0x5e, 0xfa, 0x8c, 0xf9, 0x01, 0x34, 0xbd, - 0x80, 0xa5, 0x83, 0xe6, 0x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0xa5, 0xc6, 0x1e, 0x6a, 0xe8, 0xfe, 0x35, 0x7a, 0xe6, 0xb1, 0x70, 0xfa, - 0xa1, 0x76, 0x8d, 0x5f, 0x4f, 0x34, 0xc8, 0x67, 0x01, 0x89, 0x7c, 0x8b, 0x25, 0x7e, 0xd3, 0x87, - 0x48, 0xed, 0x4f, 0x3f, 0x4a, 0x49, 0x4c, 0xf9, 0x7f, 0xbc, 0x19, 0xf7, 0x26, 0x8d, 0xee, 0xa2, - 0x8a, 0x7c, 0xf1, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x95, 0xe1, 0xc5, 0x2b, 0x4a, 0x0b, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/human_annotation_config.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/human_annotation_config.pb.go deleted file mode 100644 index 4fca3a7e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/human_annotation_config.pb.go +++ /dev/null @@ -1,879 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/datalabeling/v1beta1/human_annotation_config.proto - -package datalabeling - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -type StringAggregationType int32 - -const ( - StringAggregationType_STRING_AGGREGATION_TYPE_UNSPECIFIED StringAggregationType = 0 - // Majority vote to aggregate answers. - StringAggregationType_MAJORITY_VOTE StringAggregationType = 1 - // Unanimous answers will be adopted. - StringAggregationType_UNANIMOUS_VOTE StringAggregationType = 2 - // Preserve all answers by crowd compute. - StringAggregationType_NO_AGGREGATION StringAggregationType = 3 -) - -var StringAggregationType_name = map[int32]string{ - 0: "STRING_AGGREGATION_TYPE_UNSPECIFIED", - 1: "MAJORITY_VOTE", - 2: "UNANIMOUS_VOTE", - 3: "NO_AGGREGATION", -} - -var StringAggregationType_value = map[string]int32{ - "STRING_AGGREGATION_TYPE_UNSPECIFIED": 0, - "MAJORITY_VOTE": 1, - "UNANIMOUS_VOTE": 2, - "NO_AGGREGATION": 3, -} - -func (x StringAggregationType) String() string { - return proto.EnumName(StringAggregationType_name, int32(x)) -} - -func (StringAggregationType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_331725facbee63fc, []int{0} -} - -// Configuration for how human labeling task should be done. -type HumanAnnotationConfig struct { - // Required except for LabelAudio case. Instruction resource name. - Instruction string `protobuf:"bytes,1,opt,name=instruction,proto3" json:"instruction,omitempty"` - // Required. A human-readable name for AnnotatedDataset defined by - // users. Maximum of 64 characters - // . - AnnotatedDatasetDisplayName string `protobuf:"bytes,2,opt,name=annotated_dataset_display_name,json=annotatedDatasetDisplayName,proto3" json:"annotated_dataset_display_name,omitempty"` - // Optional. A human-readable description for AnnotatedDataset. - // The description can be up to 10000 characters long. - AnnotatedDatasetDescription string `protobuf:"bytes,3,opt,name=annotated_dataset_description,json=annotatedDatasetDescription,proto3" json:"annotated_dataset_description,omitempty"` - // Optional. A human-readable label used to logically group labeling tasks. - // This string must match the regular expression `[a-zA-Z\\d_-]{0,128}`. - LabelGroup string `protobuf:"bytes,4,opt,name=label_group,json=labelGroup,proto3" json:"label_group,omitempty"` - // Optional. The Language of this question, as a - // [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). - // Default value is en-US. - // Only need to set this when task is language related. For example, French - // text classification or Chinese audio transcription. - LanguageCode string `protobuf:"bytes,5,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // Optional. Replication of questions. Each question will be sent to up to - // this number of contributors to label. Aggregated answers will be returned. - // Default is set to 1. - // For image related labeling, valid values are 1, 3, 5. - ReplicaCount int32 `protobuf:"varint,6,opt,name=replica_count,json=replicaCount,proto3" json:"replica_count,omitempty"` - // Optional. Maximum duration for contributors to answer a question. Default - // is 1800 seconds. - QuestionDuration *duration.Duration `protobuf:"bytes,7,opt,name=question_duration,json=questionDuration,proto3" json:"question_duration,omitempty"` - // Optional. If you want your own labeling contributors to manage and work on - // this labeling request, you can set these contributors here. We will give - // them access to the question types in crowdcompute. Note that these - // emails must be registered in crowdcompute worker UI: - // https://crowd-compute.appspot.com/ - ContributorEmails []string `protobuf:"bytes,9,rep,name=contributor_emails,json=contributorEmails,proto3" json:"contributor_emails,omitempty"` - // Email of the user who started the labeling task and should be notified by - // email. If empty no notification will be sent. - UserEmailAddress string `protobuf:"bytes,10,opt,name=user_email_address,json=userEmailAddress,proto3" json:"user_email_address,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *HumanAnnotationConfig) Reset() { *m = HumanAnnotationConfig{} } -func (m *HumanAnnotationConfig) String() string { return proto.CompactTextString(m) } -func (*HumanAnnotationConfig) ProtoMessage() {} -func (*HumanAnnotationConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_331725facbee63fc, []int{0} -} - -func (m *HumanAnnotationConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HumanAnnotationConfig.Unmarshal(m, b) -} -func (m *HumanAnnotationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HumanAnnotationConfig.Marshal(b, m, deterministic) -} -func (m *HumanAnnotationConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_HumanAnnotationConfig.Merge(m, src) -} -func (m *HumanAnnotationConfig) XXX_Size() int { - return xxx_messageInfo_HumanAnnotationConfig.Size(m) -} -func (m *HumanAnnotationConfig) XXX_DiscardUnknown() { - xxx_messageInfo_HumanAnnotationConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_HumanAnnotationConfig proto.InternalMessageInfo - -func (m *HumanAnnotationConfig) GetInstruction() string { - if m != nil { - return m.Instruction - } - return "" -} - -func (m *HumanAnnotationConfig) GetAnnotatedDatasetDisplayName() string { - if m != nil { - return m.AnnotatedDatasetDisplayName - } - return "" -} - -func (m *HumanAnnotationConfig) GetAnnotatedDatasetDescription() string { - if m != nil { - return m.AnnotatedDatasetDescription - } - return "" -} - -func (m *HumanAnnotationConfig) GetLabelGroup() string { - if m != nil { - return m.LabelGroup - } - return "" -} - -func (m *HumanAnnotationConfig) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *HumanAnnotationConfig) GetReplicaCount() int32 { - if m != nil { - return m.ReplicaCount - } - return 0 -} - -func (m *HumanAnnotationConfig) GetQuestionDuration() *duration.Duration { - if m != nil { - return m.QuestionDuration - } - return nil -} - -func (m *HumanAnnotationConfig) GetContributorEmails() []string { - if m != nil { - return m.ContributorEmails - } - return nil -} - -func (m *HumanAnnotationConfig) GetUserEmailAddress() string { - if m != nil { - return m.UserEmailAddress - } - return "" -} - -// Config for image classification human labeling task. -type ImageClassificationConfig struct { - // Required. Annotation spec set resource name. - AnnotationSpecSet string `protobuf:"bytes,1,opt,name=annotation_spec_set,json=annotationSpecSet,proto3" json:"annotation_spec_set,omitempty"` - // Optional. If allow_multi_label is true, contributors are able to choose - // multiple labels for one image. - AllowMultiLabel bool `protobuf:"varint,2,opt,name=allow_multi_label,json=allowMultiLabel,proto3" json:"allow_multi_label,omitempty"` - // Optional. The type of how to aggregate answers. - AnswerAggregationType StringAggregationType `protobuf:"varint,3,opt,name=answer_aggregation_type,json=answerAggregationType,proto3,enum=google.cloud.datalabeling.v1beta1.StringAggregationType" json:"answer_aggregation_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ImageClassificationConfig) Reset() { *m = ImageClassificationConfig{} } -func (m *ImageClassificationConfig) String() string { return proto.CompactTextString(m) } -func (*ImageClassificationConfig) ProtoMessage() {} -func (*ImageClassificationConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_331725facbee63fc, []int{1} -} - -func (m *ImageClassificationConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageClassificationConfig.Unmarshal(m, b) -} -func (m *ImageClassificationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageClassificationConfig.Marshal(b, m, deterministic) -} -func (m *ImageClassificationConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageClassificationConfig.Merge(m, src) -} -func (m *ImageClassificationConfig) XXX_Size() int { - return xxx_messageInfo_ImageClassificationConfig.Size(m) -} -func (m *ImageClassificationConfig) XXX_DiscardUnknown() { - xxx_messageInfo_ImageClassificationConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageClassificationConfig proto.InternalMessageInfo - -func (m *ImageClassificationConfig) GetAnnotationSpecSet() string { - if m != nil { - return m.AnnotationSpecSet - } - return "" -} - -func (m *ImageClassificationConfig) GetAllowMultiLabel() bool { - if m != nil { - return m.AllowMultiLabel - } - return false -} - -func (m *ImageClassificationConfig) GetAnswerAggregationType() StringAggregationType { - if m != nil { - return m.AnswerAggregationType - } - return StringAggregationType_STRING_AGGREGATION_TYPE_UNSPECIFIED -} - -// Config for image bounding poly (and bounding box) human labeling task. -type BoundingPolyConfig struct { - // Required. Annotation spec set resource name. - AnnotationSpecSet string `protobuf:"bytes,1,opt,name=annotation_spec_set,json=annotationSpecSet,proto3" json:"annotation_spec_set,omitempty"` - // Optional. Instruction message showed on contributors UI. - InstructionMessage string `protobuf:"bytes,2,opt,name=instruction_message,json=instructionMessage,proto3" json:"instruction_message,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BoundingPolyConfig) Reset() { *m = BoundingPolyConfig{} } -func (m *BoundingPolyConfig) String() string { return proto.CompactTextString(m) } -func (*BoundingPolyConfig) ProtoMessage() {} -func (*BoundingPolyConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_331725facbee63fc, []int{2} -} - -func (m *BoundingPolyConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BoundingPolyConfig.Unmarshal(m, b) -} -func (m *BoundingPolyConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BoundingPolyConfig.Marshal(b, m, deterministic) -} -func (m *BoundingPolyConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_BoundingPolyConfig.Merge(m, src) -} -func (m *BoundingPolyConfig) XXX_Size() int { - return xxx_messageInfo_BoundingPolyConfig.Size(m) -} -func (m *BoundingPolyConfig) XXX_DiscardUnknown() { - xxx_messageInfo_BoundingPolyConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_BoundingPolyConfig proto.InternalMessageInfo - -func (m *BoundingPolyConfig) GetAnnotationSpecSet() string { - if m != nil { - return m.AnnotationSpecSet - } - return "" -} - -func (m *BoundingPolyConfig) GetInstructionMessage() string { - if m != nil { - return m.InstructionMessage - } - return "" -} - -// Config for image polyline human labeling task. -type PolylineConfig struct { - // Required. Annotation spec set resource name. - AnnotationSpecSet string `protobuf:"bytes,1,opt,name=annotation_spec_set,json=annotationSpecSet,proto3" json:"annotation_spec_set,omitempty"` - // Optional. Instruction message showed on contributors UI. - InstructionMessage string `protobuf:"bytes,2,opt,name=instruction_message,json=instructionMessage,proto3" json:"instruction_message,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PolylineConfig) Reset() { *m = PolylineConfig{} } -func (m *PolylineConfig) String() string { return proto.CompactTextString(m) } -func (*PolylineConfig) ProtoMessage() {} -func (*PolylineConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_331725facbee63fc, []int{3} -} - -func (m *PolylineConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PolylineConfig.Unmarshal(m, b) -} -func (m *PolylineConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PolylineConfig.Marshal(b, m, deterministic) -} -func (m *PolylineConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolylineConfig.Merge(m, src) -} -func (m *PolylineConfig) XXX_Size() int { - return xxx_messageInfo_PolylineConfig.Size(m) -} -func (m *PolylineConfig) XXX_DiscardUnknown() { - xxx_messageInfo_PolylineConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_PolylineConfig proto.InternalMessageInfo - -func (m *PolylineConfig) GetAnnotationSpecSet() string { - if m != nil { - return m.AnnotationSpecSet - } - return "" -} - -func (m *PolylineConfig) GetInstructionMessage() string { - if m != nil { - return m.InstructionMessage - } - return "" -} - -// Config for image segmentation -type SegmentationConfig struct { - // Required. Annotation spec set resource name. format: - // projects/{project_id}/annotationSpecSets/{annotation_spec_set_id} - AnnotationSpecSet string `protobuf:"bytes,1,opt,name=annotation_spec_set,json=annotationSpecSet,proto3" json:"annotation_spec_set,omitempty"` - // Instruction message showed on labelers UI. - InstructionMessage string `protobuf:"bytes,2,opt,name=instruction_message,json=instructionMessage,proto3" json:"instruction_message,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SegmentationConfig) Reset() { *m = SegmentationConfig{} } -func (m *SegmentationConfig) String() string { return proto.CompactTextString(m) } -func (*SegmentationConfig) ProtoMessage() {} -func (*SegmentationConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_331725facbee63fc, []int{4} -} - -func (m *SegmentationConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SegmentationConfig.Unmarshal(m, b) -} -func (m *SegmentationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SegmentationConfig.Marshal(b, m, deterministic) -} -func (m *SegmentationConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_SegmentationConfig.Merge(m, src) -} -func (m *SegmentationConfig) XXX_Size() int { - return xxx_messageInfo_SegmentationConfig.Size(m) -} -func (m *SegmentationConfig) XXX_DiscardUnknown() { - xxx_messageInfo_SegmentationConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_SegmentationConfig proto.InternalMessageInfo - -func (m *SegmentationConfig) GetAnnotationSpecSet() string { - if m != nil { - return m.AnnotationSpecSet - } - return "" -} - -func (m *SegmentationConfig) GetInstructionMessage() string { - if m != nil { - return m.InstructionMessage - } - return "" -} - -// Config for video classification human labeling task. -// Currently two types of video classification are supported: -// 1. Assign labels on the entire video. -// 2. Split the video into multiple video clips based on camera shot, and -// assign labels on each video clip. -type VideoClassificationConfig struct { - // Required. The list of annotation spec set configs. - // Since watching a video clip takes much longer time than an image, we - // support label with multiple AnnotationSpecSet at the same time. Labels - // in each AnnotationSpecSet will be shown in a group to contributors. - // Contributors can select one or more (depending on whether to allow multi - // label) from each group. - AnnotationSpecSetConfigs []*VideoClassificationConfig_AnnotationSpecSetConfig `protobuf:"bytes,1,rep,name=annotation_spec_set_configs,json=annotationSpecSetConfigs,proto3" json:"annotation_spec_set_configs,omitempty"` - // Optional. Option to apply shot detection on the video. - ApplyShotDetection bool `protobuf:"varint,2,opt,name=apply_shot_detection,json=applyShotDetection,proto3" json:"apply_shot_detection,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VideoClassificationConfig) Reset() { *m = VideoClassificationConfig{} } -func (m *VideoClassificationConfig) String() string { return proto.CompactTextString(m) } -func (*VideoClassificationConfig) ProtoMessage() {} -func (*VideoClassificationConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_331725facbee63fc, []int{5} -} - -func (m *VideoClassificationConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VideoClassificationConfig.Unmarshal(m, b) -} -func (m *VideoClassificationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VideoClassificationConfig.Marshal(b, m, deterministic) -} -func (m *VideoClassificationConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoClassificationConfig.Merge(m, src) -} -func (m *VideoClassificationConfig) XXX_Size() int { - return xxx_messageInfo_VideoClassificationConfig.Size(m) -} -func (m *VideoClassificationConfig) XXX_DiscardUnknown() { - xxx_messageInfo_VideoClassificationConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_VideoClassificationConfig proto.InternalMessageInfo - -func (m *VideoClassificationConfig) GetAnnotationSpecSetConfigs() []*VideoClassificationConfig_AnnotationSpecSetConfig { - if m != nil { - return m.AnnotationSpecSetConfigs - } - return nil -} - -func (m *VideoClassificationConfig) GetApplyShotDetection() bool { - if m != nil { - return m.ApplyShotDetection - } - return false -} - -// Annotation spec set with the setting of allowing multi labels or not. -type VideoClassificationConfig_AnnotationSpecSetConfig struct { - // Required. Annotation spec set resource name. - AnnotationSpecSet string `protobuf:"bytes,1,opt,name=annotation_spec_set,json=annotationSpecSet,proto3" json:"annotation_spec_set,omitempty"` - // Optional. If allow_multi_label is true, contributors are able to - // choose multiple labels from one annotation spec set. - AllowMultiLabel bool `protobuf:"varint,2,opt,name=allow_multi_label,json=allowMultiLabel,proto3" json:"allow_multi_label,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VideoClassificationConfig_AnnotationSpecSetConfig) Reset() { - *m = VideoClassificationConfig_AnnotationSpecSetConfig{} -} -func (m *VideoClassificationConfig_AnnotationSpecSetConfig) String() string { - return proto.CompactTextString(m) -} -func (*VideoClassificationConfig_AnnotationSpecSetConfig) ProtoMessage() {} -func (*VideoClassificationConfig_AnnotationSpecSetConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_331725facbee63fc, []int{5, 0} -} - -func (m *VideoClassificationConfig_AnnotationSpecSetConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VideoClassificationConfig_AnnotationSpecSetConfig.Unmarshal(m, b) -} -func (m *VideoClassificationConfig_AnnotationSpecSetConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VideoClassificationConfig_AnnotationSpecSetConfig.Marshal(b, m, deterministic) -} -func (m *VideoClassificationConfig_AnnotationSpecSetConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoClassificationConfig_AnnotationSpecSetConfig.Merge(m, src) -} -func (m *VideoClassificationConfig_AnnotationSpecSetConfig) XXX_Size() int { - return xxx_messageInfo_VideoClassificationConfig_AnnotationSpecSetConfig.Size(m) -} -func (m *VideoClassificationConfig_AnnotationSpecSetConfig) XXX_DiscardUnknown() { - xxx_messageInfo_VideoClassificationConfig_AnnotationSpecSetConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_VideoClassificationConfig_AnnotationSpecSetConfig proto.InternalMessageInfo - -func (m *VideoClassificationConfig_AnnotationSpecSetConfig) GetAnnotationSpecSet() string { - if m != nil { - return m.AnnotationSpecSet - } - return "" -} - -func (m *VideoClassificationConfig_AnnotationSpecSetConfig) GetAllowMultiLabel() bool { - if m != nil { - return m.AllowMultiLabel - } - return false -} - -// Config for video object detection human labeling task. -// Object detection will be conducted on the images extracted from the video, -// and those objects will be labeled with bounding boxes. -// User need to specify the number of images to be extracted per second as the -// extraction frame rate. -type ObjectDetectionConfig struct { - // Required. Annotation spec set resource name. - AnnotationSpecSet string `protobuf:"bytes,1,opt,name=annotation_spec_set,json=annotationSpecSet,proto3" json:"annotation_spec_set,omitempty"` - // Required. Number of frames per second to be extracted from the video. - ExtractionFrameRate float64 `protobuf:"fixed64,3,opt,name=extraction_frame_rate,json=extractionFrameRate,proto3" json:"extraction_frame_rate,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ObjectDetectionConfig) Reset() { *m = ObjectDetectionConfig{} } -func (m *ObjectDetectionConfig) String() string { return proto.CompactTextString(m) } -func (*ObjectDetectionConfig) ProtoMessage() {} -func (*ObjectDetectionConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_331725facbee63fc, []int{6} -} - -func (m *ObjectDetectionConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ObjectDetectionConfig.Unmarshal(m, b) -} -func (m *ObjectDetectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ObjectDetectionConfig.Marshal(b, m, deterministic) -} -func (m *ObjectDetectionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ObjectDetectionConfig.Merge(m, src) -} -func (m *ObjectDetectionConfig) XXX_Size() int { - return xxx_messageInfo_ObjectDetectionConfig.Size(m) -} -func (m *ObjectDetectionConfig) XXX_DiscardUnknown() { - xxx_messageInfo_ObjectDetectionConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_ObjectDetectionConfig proto.InternalMessageInfo - -func (m *ObjectDetectionConfig) GetAnnotationSpecSet() string { - if m != nil { - return m.AnnotationSpecSet - } - return "" -} - -func (m *ObjectDetectionConfig) GetExtractionFrameRate() float64 { - if m != nil { - return m.ExtractionFrameRate - } - return 0 -} - -// Config for video object tracking human labeling task. -type ObjectTrackingConfig struct { - // Required. Annotation spec set resource name. - AnnotationSpecSet string `protobuf:"bytes,1,opt,name=annotation_spec_set,json=annotationSpecSet,proto3" json:"annotation_spec_set,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ObjectTrackingConfig) Reset() { *m = ObjectTrackingConfig{} } -func (m *ObjectTrackingConfig) String() string { return proto.CompactTextString(m) } -func (*ObjectTrackingConfig) ProtoMessage() {} -func (*ObjectTrackingConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_331725facbee63fc, []int{7} -} - -func (m *ObjectTrackingConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ObjectTrackingConfig.Unmarshal(m, b) -} -func (m *ObjectTrackingConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ObjectTrackingConfig.Marshal(b, m, deterministic) -} -func (m *ObjectTrackingConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ObjectTrackingConfig.Merge(m, src) -} -func (m *ObjectTrackingConfig) XXX_Size() int { - return xxx_messageInfo_ObjectTrackingConfig.Size(m) -} -func (m *ObjectTrackingConfig) XXX_DiscardUnknown() { - xxx_messageInfo_ObjectTrackingConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_ObjectTrackingConfig proto.InternalMessageInfo - -func (m *ObjectTrackingConfig) GetAnnotationSpecSet() string { - if m != nil { - return m.AnnotationSpecSet - } - return "" -} - -// Config for video event human labeling task. -type EventConfig struct { - // Required. The list of annotation spec set resource name. Similar to video - // classification, we support selecting event from multiple AnnotationSpecSet - // at the same time. - AnnotationSpecSets []string `protobuf:"bytes,1,rep,name=annotation_spec_sets,json=annotationSpecSets,proto3" json:"annotation_spec_sets,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *EventConfig) Reset() { *m = EventConfig{} } -func (m *EventConfig) String() string { return proto.CompactTextString(m) } -func (*EventConfig) ProtoMessage() {} -func (*EventConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_331725facbee63fc, []int{8} -} - -func (m *EventConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EventConfig.Unmarshal(m, b) -} -func (m *EventConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EventConfig.Marshal(b, m, deterministic) -} -func (m *EventConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventConfig.Merge(m, src) -} -func (m *EventConfig) XXX_Size() int { - return xxx_messageInfo_EventConfig.Size(m) -} -func (m *EventConfig) XXX_DiscardUnknown() { - xxx_messageInfo_EventConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_EventConfig proto.InternalMessageInfo - -func (m *EventConfig) GetAnnotationSpecSets() []string { - if m != nil { - return m.AnnotationSpecSets - } - return nil -} - -// Config for text classification human labeling task. -type TextClassificationConfig struct { - // Optional. If allow_multi_label is true, contributors are able to choose - // multiple labels for one text segment. - AllowMultiLabel bool `protobuf:"varint,1,opt,name=allow_multi_label,json=allowMultiLabel,proto3" json:"allow_multi_label,omitempty"` - // Required. Annotation spec set resource name. - AnnotationSpecSet string `protobuf:"bytes,2,opt,name=annotation_spec_set,json=annotationSpecSet,proto3" json:"annotation_spec_set,omitempty"` - // Optional. Configs for sentiment selection. - SentimentConfig *SentimentConfig `protobuf:"bytes,3,opt,name=sentiment_config,json=sentimentConfig,proto3" json:"sentiment_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TextClassificationConfig) Reset() { *m = TextClassificationConfig{} } -func (m *TextClassificationConfig) String() string { return proto.CompactTextString(m) } -func (*TextClassificationConfig) ProtoMessage() {} -func (*TextClassificationConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_331725facbee63fc, []int{9} -} - -func (m *TextClassificationConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextClassificationConfig.Unmarshal(m, b) -} -func (m *TextClassificationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextClassificationConfig.Marshal(b, m, deterministic) -} -func (m *TextClassificationConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextClassificationConfig.Merge(m, src) -} -func (m *TextClassificationConfig) XXX_Size() int { - return xxx_messageInfo_TextClassificationConfig.Size(m) -} -func (m *TextClassificationConfig) XXX_DiscardUnknown() { - xxx_messageInfo_TextClassificationConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_TextClassificationConfig proto.InternalMessageInfo - -func (m *TextClassificationConfig) GetAllowMultiLabel() bool { - if m != nil { - return m.AllowMultiLabel - } - return false -} - -func (m *TextClassificationConfig) GetAnnotationSpecSet() string { - if m != nil { - return m.AnnotationSpecSet - } - return "" -} - -func (m *TextClassificationConfig) GetSentimentConfig() *SentimentConfig { - if m != nil { - return m.SentimentConfig - } - return nil -} - -// Config for setting up sentiments. -type SentimentConfig struct { - // If set to true, contributors will have the option to select sentiment of - // the label they selected, to mark it as negative or positive label. Default - // is false. - EnableLabelSentimentSelection bool `protobuf:"varint,1,opt,name=enable_label_sentiment_selection,json=enableLabelSentimentSelection,proto3" json:"enable_label_sentiment_selection,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SentimentConfig) Reset() { *m = SentimentConfig{} } -func (m *SentimentConfig) String() string { return proto.CompactTextString(m) } -func (*SentimentConfig) ProtoMessage() {} -func (*SentimentConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_331725facbee63fc, []int{10} -} - -func (m *SentimentConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SentimentConfig.Unmarshal(m, b) -} -func (m *SentimentConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SentimentConfig.Marshal(b, m, deterministic) -} -func (m *SentimentConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_SentimentConfig.Merge(m, src) -} -func (m *SentimentConfig) XXX_Size() int { - return xxx_messageInfo_SentimentConfig.Size(m) -} -func (m *SentimentConfig) XXX_DiscardUnknown() { - xxx_messageInfo_SentimentConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_SentimentConfig proto.InternalMessageInfo - -func (m *SentimentConfig) GetEnableLabelSentimentSelection() bool { - if m != nil { - return m.EnableLabelSentimentSelection - } - return false -} - -// Config for text entity extraction human labeling task. -type TextEntityExtractionConfig struct { - // Required. Annotation spec set resource name. - AnnotationSpecSet string `protobuf:"bytes,1,opt,name=annotation_spec_set,json=annotationSpecSet,proto3" json:"annotation_spec_set,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TextEntityExtractionConfig) Reset() { *m = TextEntityExtractionConfig{} } -func (m *TextEntityExtractionConfig) String() string { return proto.CompactTextString(m) } -func (*TextEntityExtractionConfig) ProtoMessage() {} -func (*TextEntityExtractionConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_331725facbee63fc, []int{11} -} - -func (m *TextEntityExtractionConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextEntityExtractionConfig.Unmarshal(m, b) -} -func (m *TextEntityExtractionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextEntityExtractionConfig.Marshal(b, m, deterministic) -} -func (m *TextEntityExtractionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextEntityExtractionConfig.Merge(m, src) -} -func (m *TextEntityExtractionConfig) XXX_Size() int { - return xxx_messageInfo_TextEntityExtractionConfig.Size(m) -} -func (m *TextEntityExtractionConfig) XXX_DiscardUnknown() { - xxx_messageInfo_TextEntityExtractionConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_TextEntityExtractionConfig proto.InternalMessageInfo - -func (m *TextEntityExtractionConfig) GetAnnotationSpecSet() string { - if m != nil { - return m.AnnotationSpecSet - } - return "" -} - -func init() { - proto.RegisterEnum("google.cloud.datalabeling.v1beta1.StringAggregationType", StringAggregationType_name, StringAggregationType_value) - proto.RegisterType((*HumanAnnotationConfig)(nil), "google.cloud.datalabeling.v1beta1.HumanAnnotationConfig") - proto.RegisterType((*ImageClassificationConfig)(nil), "google.cloud.datalabeling.v1beta1.ImageClassificationConfig") - proto.RegisterType((*BoundingPolyConfig)(nil), "google.cloud.datalabeling.v1beta1.BoundingPolyConfig") - proto.RegisterType((*PolylineConfig)(nil), "google.cloud.datalabeling.v1beta1.PolylineConfig") - proto.RegisterType((*SegmentationConfig)(nil), "google.cloud.datalabeling.v1beta1.SegmentationConfig") - proto.RegisterType((*VideoClassificationConfig)(nil), "google.cloud.datalabeling.v1beta1.VideoClassificationConfig") - proto.RegisterType((*VideoClassificationConfig_AnnotationSpecSetConfig)(nil), "google.cloud.datalabeling.v1beta1.VideoClassificationConfig.AnnotationSpecSetConfig") - proto.RegisterType((*ObjectDetectionConfig)(nil), "google.cloud.datalabeling.v1beta1.ObjectDetectionConfig") - proto.RegisterType((*ObjectTrackingConfig)(nil), "google.cloud.datalabeling.v1beta1.ObjectTrackingConfig") - proto.RegisterType((*EventConfig)(nil), "google.cloud.datalabeling.v1beta1.EventConfig") - proto.RegisterType((*TextClassificationConfig)(nil), "google.cloud.datalabeling.v1beta1.TextClassificationConfig") - proto.RegisterType((*SentimentConfig)(nil), "google.cloud.datalabeling.v1beta1.SentimentConfig") - proto.RegisterType((*TextEntityExtractionConfig)(nil), "google.cloud.datalabeling.v1beta1.TextEntityExtractionConfig") -} - -func init() { - proto.RegisterFile("google/cloud/datalabeling/v1beta1/human_annotation_config.proto", fileDescriptor_331725facbee63fc) -} - -var fileDescriptor_331725facbee63fc = []byte{ - // 932 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x56, 0xd1, 0x6e, 0xdb, 0x36, - 0x17, 0xfe, 0x95, 0xfc, 0xed, 0x1a, 0xba, 0x4d, 0x6c, 0xa6, 0x46, 0x95, 0x74, 0xed, 0x3c, 0x15, - 0xc3, 0x8c, 0x62, 0x93, 0x57, 0xef, 0x66, 0xc0, 0x2e, 0x0a, 0xc7, 0x76, 0x3c, 0x0f, 0xb5, 0x1d, - 0xc8, 0x4e, 0x81, 0x16, 0x18, 0x08, 0x5a, 0x3a, 0x51, 0xb8, 0x49, 0xa4, 0x2a, 0x52, 0x6d, 0x8c, - 0x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0x7e, 0xca, 0x12, 0x6d, 0xbc, 0xbd, 0x21, 0xc7, 0x52, - 0x82, 0x3f, 0x41, 0x15, 0x5d, 0x16, 0x12, 0xa6, 0x22, 0x4b, 0xec, 0xff, 0xeb, 0x08, 0xa4, 0xa1, - 0x41, 0x8e, 0xe0, 0x47, 0xe8, 0x4e, 0x44, 0x79, 0x98, 0xd1, 0x10, 0x88, 0x2f, 0x02, 0xb0, 0x6f, - 0x68, 0xc9, 0xed, 0x12, 0xec, 0x8a, 0x00, 0x72, 0x51, 0x0a, 0x49, 0xc4, 0x7c, 0x4a, 0x7c, 0x91, - 0x71, 0x65, 0xdf, 0x6c, 0x58, 0xcd, 0x1b, 0xde, 0xed, 0x02, 0xec, 0xe6, 0x18, 0x3e, 0x46, 0xb5, - 0x57, 0x19, 0x48, 0xdd, 0xa9, 0xb2, 0x94, 0xf6, 0x47, 0x0d, 0xab, 0x59, 0x69, 0x1f, 0xb8, 0x45, - 0xb3, 0xca, 0x5a, 0xbb, 0xbd, 0x42, 0xe0, 0x55, 0xcb, 0x98, 0x12, 0xc1, 0x5f, 0x22, 0xec, 0x0b, - 0xae, 0x52, 0x36, 0xcf, 0x94, 0x48, 0x09, 0xc4, 0x94, 0x45, 0xd2, 0xde, 0x69, 0x6c, 0x37, 0x77, - 0xbc, 0xda, 0x0a, 0xd3, 0xd7, 0x04, 0xfe, 0x02, 0xe1, 0x4c, 0x42, 0xa1, 0x23, 0x34, 0x08, 0x52, - 0x90, 0xd2, 0x46, 0xfa, 0x16, 0xd5, 0x9c, 0xd1, 0xba, 0x8e, 0xc1, 0x9d, 0xdf, 0x2d, 0x74, 0x30, - 0x8c, 0xf3, 0x7b, 0x45, 0x54, 0x4a, 0x76, 0xc6, 0xfc, 0xd5, 0xc6, 0xba, 0x68, 0x7f, 0x65, 0xdc, - 0x64, 0x02, 0x3e, 0x91, 0xa0, 0x8a, 0x06, 0xd7, 0x96, 0xd4, 0x34, 0x01, 0x7f, 0x0a, 0x0a, 0x3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0x5e, 0x0b, 0x1f, 0xbf, 0x45, 0xf5, 0xb5, - 0x5b, 0x17, 0x7f, 0x8e, 0x1e, 0x4d, 0x67, 0xde, 0x70, 0x3c, 0x20, 0x9d, 0xc1, 0xc0, 0xeb, 0x0f, - 0x3a, 0xb3, 0xe1, 0x64, 0x4c, 0x66, 0x2f, 0x4e, 0xfa, 0xe4, 0x74, 0x3c, 0x3d, 0xe9, 0x77, 0x87, - 0xc7, 0xc3, 0x7e, 0xaf, 0xfa, 0x3f, 0x5c, 0x43, 0x77, 0x46, 0x9d, 0xef, 0x27, 0xde, 0x70, 0xf6, - 0x82, 0x3c, 0x9f, 0xcc, 0xfa, 0x55, 0x0b, 0x63, 0xb4, 0x7b, 0x3a, 0xee, 0x8c, 0x87, 0xa3, 0xc9, - 0xe9, 0xd4, 0x60, 0x5b, 0x39, 0x36, 0x9e, 0xac, 0xe6, 0xaa, 0x6e, 0x1f, 0x5d, 0xa0, 0xcf, 0x7c, - 0x11, 0xbf, 0xbf, 0xe0, 0x27, 0xd6, 0xcb, 0x51, 0x21, 0x0a, 0x45, 0xfe, 0x74, 0xbb, 0x22, 0x0d, - 0x5b, 0x21, 0x70, 0xfd, 0xe0, 0xb6, 0x0c, 0x45, 0x13, 0x26, 0xff, 0xe2, 0xff, 0xd6, 0xb7, 0xab, - 0xe0, 0xfc, 0xa6, 0x8e, 0xfc, 0xfa, 0x8f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x5c, 0xb3, 0x56, 0xdc, - 0xa8, 0x09, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/instruction.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/instruction.pb.go deleted file mode 100644 index 6315d354..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/instruction.pb.go +++ /dev/null @@ -1,275 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/datalabeling/v1beta1/instruction.proto - -package datalabeling - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Instruction of how to perform the labeling task for human operators. -// Currently two types of instruction are supported - CSV file and PDF. -// One of the two types instruction must be provided. -// CSV file is only supported for image classification task. Instructions for -// other task should be provided as PDF. -// For image classification, CSV and PDF can be provided at the same time. -type Instruction struct { - // Output only. Instruction resource name, format: - // projects/{project_id}/instructions/{instruction_id} - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The display name of the instruction. Maximum of 64 characters. - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Optional. User-provided description of the instruction. - // The description can be up to 10000 characters long. - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - // Output only. Creation time of instruction. - CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Output only. Last update time of instruction. - UpdateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - // Required. The data type of this instruction. - DataType DataType `protobuf:"varint,6,opt,name=data_type,json=dataType,proto3,enum=google.cloud.datalabeling.v1beta1.DataType" json:"data_type,omitempty"` - // One of CSV or PDF instruction is required. - // Instruction from a CSV file, such as for classification task. - // The CSV file should have exact two columns, in the following format: - // - // * The first column is labeled data, such as an image reference, text. - // * The second column is comma separated labels associated with data. - CsvInstruction *CsvInstruction `protobuf:"bytes,7,opt,name=csv_instruction,json=csvInstruction,proto3" json:"csv_instruction,omitempty"` - // One of CSV or PDF instruction is required. - // Instruction from a PDF document. The PDF should be in a Cloud Storage - // bucket. - PdfInstruction *PdfInstruction `protobuf:"bytes,9,opt,name=pdf_instruction,json=pdfInstruction,proto3" json:"pdf_instruction,omitempty"` - // Output only. The names of any related resources that are blocking changes - // to the instruction. - BlockingResources []string `protobuf:"bytes,10,rep,name=blocking_resources,json=blockingResources,proto3" json:"blocking_resources,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Instruction) Reset() { *m = Instruction{} } -func (m *Instruction) String() string { return proto.CompactTextString(m) } -func (*Instruction) ProtoMessage() {} -func (*Instruction) Descriptor() ([]byte, []int) { - return fileDescriptor_683081924dd940d7, []int{0} -} - -func (m *Instruction) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Instruction.Unmarshal(m, b) -} -func (m *Instruction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Instruction.Marshal(b, m, deterministic) -} -func (m *Instruction) XXX_Merge(src proto.Message) { - xxx_messageInfo_Instruction.Merge(m, src) -} -func (m *Instruction) XXX_Size() int { - return xxx_messageInfo_Instruction.Size(m) -} -func (m *Instruction) XXX_DiscardUnknown() { - xxx_messageInfo_Instruction.DiscardUnknown(m) -} - -var xxx_messageInfo_Instruction proto.InternalMessageInfo - -func (m *Instruction) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Instruction) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *Instruction) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *Instruction) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *Instruction) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -func (m *Instruction) GetDataType() DataType { - if m != nil { - return m.DataType - } - return DataType_DATA_TYPE_UNSPECIFIED -} - -func (m *Instruction) GetCsvInstruction() *CsvInstruction { - if m != nil { - return m.CsvInstruction - } - return nil -} - -func (m *Instruction) GetPdfInstruction() *PdfInstruction { - if m != nil { - return m.PdfInstruction - } - return nil -} - -func (m *Instruction) GetBlockingResources() []string { - if m != nil { - return m.BlockingResources - } - return nil -} - -// Instruction from a CSV file. -type CsvInstruction struct { - // CSV file for the instruction. Only gcs path is allowed. - GcsFileUri string `protobuf:"bytes,1,opt,name=gcs_file_uri,json=gcsFileUri,proto3" json:"gcs_file_uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CsvInstruction) Reset() { *m = CsvInstruction{} } -func (m *CsvInstruction) String() string { return proto.CompactTextString(m) } -func (*CsvInstruction) ProtoMessage() {} -func (*CsvInstruction) Descriptor() ([]byte, []int) { - return fileDescriptor_683081924dd940d7, []int{1} -} - -func (m *CsvInstruction) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CsvInstruction.Unmarshal(m, b) -} -func (m *CsvInstruction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CsvInstruction.Marshal(b, m, deterministic) -} -func (m *CsvInstruction) XXX_Merge(src proto.Message) { - xxx_messageInfo_CsvInstruction.Merge(m, src) -} -func (m *CsvInstruction) XXX_Size() int { - return xxx_messageInfo_CsvInstruction.Size(m) -} -func (m *CsvInstruction) XXX_DiscardUnknown() { - xxx_messageInfo_CsvInstruction.DiscardUnknown(m) -} - -var xxx_messageInfo_CsvInstruction proto.InternalMessageInfo - -func (m *CsvInstruction) GetGcsFileUri() string { - if m != nil { - return m.GcsFileUri - } - return "" -} - -// Instruction from a PDF file. -type PdfInstruction struct { - // PDF file for the instruction. Only gcs path is allowed. - GcsFileUri string `protobuf:"bytes,1,opt,name=gcs_file_uri,json=gcsFileUri,proto3" json:"gcs_file_uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PdfInstruction) Reset() { *m = PdfInstruction{} } -func (m *PdfInstruction) String() string { return proto.CompactTextString(m) } -func (*PdfInstruction) ProtoMessage() {} -func (*PdfInstruction) Descriptor() ([]byte, []int) { - return fileDescriptor_683081924dd940d7, []int{2} -} - -func (m *PdfInstruction) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PdfInstruction.Unmarshal(m, b) -} -func (m *PdfInstruction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PdfInstruction.Marshal(b, m, deterministic) -} -func (m *PdfInstruction) XXX_Merge(src proto.Message) { - xxx_messageInfo_PdfInstruction.Merge(m, src) -} -func (m *PdfInstruction) XXX_Size() int { - return xxx_messageInfo_PdfInstruction.Size(m) -} -func (m *PdfInstruction) XXX_DiscardUnknown() { - xxx_messageInfo_PdfInstruction.DiscardUnknown(m) -} - -var xxx_messageInfo_PdfInstruction proto.InternalMessageInfo - -func (m *PdfInstruction) GetGcsFileUri() string { - if m != nil { - return m.GcsFileUri - } - return "" -} - -func init() { - proto.RegisterType((*Instruction)(nil), "google.cloud.datalabeling.v1beta1.Instruction") - proto.RegisterType((*CsvInstruction)(nil), "google.cloud.datalabeling.v1beta1.CsvInstruction") - proto.RegisterType((*PdfInstruction)(nil), "google.cloud.datalabeling.v1beta1.PdfInstruction") -} - -func init() { - proto.RegisterFile("google/cloud/datalabeling/v1beta1/instruction.proto", fileDescriptor_683081924dd940d7) -} - -var fileDescriptor_683081924dd940d7 = []byte{ - // 426 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xc1, 0x8b, 0x13, 0x31, - 0x14, 0xc6, 0x19, 0xb7, 0xae, 0x36, 0xb3, 0x54, 0xcc, 0x69, 0x28, 0x82, 0xb3, 0x0b, 0x42, 0x41, - 0xc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 0xde, 0x04, - 0x35, 0xc2, 0xfd, 0xe7, 0x5d, 0xdc, 0x9d, 0x16, 0xdb, 0xcb, 0x48, 0xde, 0xfe, 0x0d, 0x00, 0x00, - 0xff, 0xff, 0xb3, 0x4c, 0xf6, 0x74, 0xc6, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/operations.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/operations.pb.go deleted file mode 100644 index 9aa2cffb..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1/operations.pb.go +++ /dev/null @@ -1,1223 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/datalabeling/v1beta1/operations.proto - -package datalabeling - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Response used for ImportData longrunning operation. -type ImportDataOperationResponse struct { - // Ouptut only. The name of imported dataset. - Dataset string `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"` - // Output only. Total number of examples requested to import - TotalCount int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` - // Output only. Number of examples imported successfully. - ImportCount int32 `protobuf:"varint,3,opt,name=import_count,json=importCount,proto3" json:"import_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ImportDataOperationResponse) Reset() { *m = ImportDataOperationResponse{} } -func (m *ImportDataOperationResponse) String() string { return proto.CompactTextString(m) } -func (*ImportDataOperationResponse) ProtoMessage() {} -func (*ImportDataOperationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1364cf1609076a0d, []int{0} -} - -func (m *ImportDataOperationResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImportDataOperationResponse.Unmarshal(m, b) -} -func (m *ImportDataOperationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImportDataOperationResponse.Marshal(b, m, deterministic) -} -func (m *ImportDataOperationResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportDataOperationResponse.Merge(m, src) -} -func (m *ImportDataOperationResponse) XXX_Size() int { - return xxx_messageInfo_ImportDataOperationResponse.Size(m) -} -func (m *ImportDataOperationResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ImportDataOperationResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ImportDataOperationResponse proto.InternalMessageInfo - -func (m *ImportDataOperationResponse) GetDataset() string { - if m != nil { - return m.Dataset - } - return "" -} - -func (m *ImportDataOperationResponse) GetTotalCount() int32 { - if m != nil { - return m.TotalCount - } - return 0 -} - -func (m *ImportDataOperationResponse) GetImportCount() int32 { - if m != nil { - return m.ImportCount - } - return 0 -} - -// Response used for ExportDataset longrunning operation. -type ExportDataOperationResponse struct { - // Ouptut only. The name of dataset. - // "projects/*/datasets/*/Datasets/*" - Dataset string `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"` - // Output only. Total number of examples requested to export - TotalCount int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` - // Output only. Number of examples exported successfully. - ExportCount int32 `protobuf:"varint,3,opt,name=export_count,json=exportCount,proto3" json:"export_count,omitempty"` - // Output only. Statistic infos of labels in the exported dataset. - LabelStats *LabelStats `protobuf:"bytes,4,opt,name=label_stats,json=labelStats,proto3" json:"label_stats,omitempty"` - // Output only. output_config in the ExportData request. - 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 *ExportDataOperationResponse) Reset() { *m = ExportDataOperationResponse{} } -func (m *ExportDataOperationResponse) String() string { return proto.CompactTextString(m) } -func (*ExportDataOperationResponse) ProtoMessage() {} -func (*ExportDataOperationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1364cf1609076a0d, []int{1} -} - -func (m *ExportDataOperationResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExportDataOperationResponse.Unmarshal(m, b) -} -func (m *ExportDataOperationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExportDataOperationResponse.Marshal(b, m, deterministic) -} -func (m *ExportDataOperationResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportDataOperationResponse.Merge(m, src) -} -func (m *ExportDataOperationResponse) XXX_Size() int { - return xxx_messageInfo_ExportDataOperationResponse.Size(m) -} -func (m *ExportDataOperationResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ExportDataOperationResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ExportDataOperationResponse proto.InternalMessageInfo - -func (m *ExportDataOperationResponse) GetDataset() string { - if m != nil { - return m.Dataset - } - return "" -} - -func (m *ExportDataOperationResponse) GetTotalCount() int32 { - if m != nil { - return m.TotalCount - } - return 0 -} - -func (m *ExportDataOperationResponse) GetExportCount() int32 { - if m != nil { - return m.ExportCount - } - return 0 -} - -func (m *ExportDataOperationResponse) GetLabelStats() *LabelStats { - if m != nil { - return m.LabelStats - } - return nil -} - -func (m *ExportDataOperationResponse) GetOutputConfig() *OutputConfig { - if m != nil { - return m.OutputConfig - } - return nil -} - -// Metadata of an ImportData operation. -type ImportDataOperationMetadata struct { - // Ouptut only. The name of imported dataset. - // "projects/*/datasets/*" - Dataset string `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"` - // Output only. Partial failures encountered. - // E.g. single files that couldn't be read. - // Status details field will contain standard GCP error details. - PartialFailures []*status.Status `protobuf:"bytes,2,rep,name=partial_failures,json=partialFailures,proto3" json:"partial_failures,omitempty"` - // Output only. Timestamp when import dataset request was created. - CreateTime *timestamp.Timestamp `protobuf:"bytes,3,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 *ImportDataOperationMetadata) Reset() { *m = ImportDataOperationMetadata{} } -func (m *ImportDataOperationMetadata) String() string { return proto.CompactTextString(m) } -func (*ImportDataOperationMetadata) ProtoMessage() {} -func (*ImportDataOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_1364cf1609076a0d, []int{2} -} - -func (m *ImportDataOperationMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImportDataOperationMetadata.Unmarshal(m, b) -} -func (m *ImportDataOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImportDataOperationMetadata.Marshal(b, m, deterministic) -} -func (m *ImportDataOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportDataOperationMetadata.Merge(m, src) -} -func (m *ImportDataOperationMetadata) XXX_Size() int { - return xxx_messageInfo_ImportDataOperationMetadata.Size(m) -} -func (m *ImportDataOperationMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_ImportDataOperationMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_ImportDataOperationMetadata proto.InternalMessageInfo - -func (m *ImportDataOperationMetadata) GetDataset() string { - if m != nil { - return m.Dataset - } - return "" -} - -func (m *ImportDataOperationMetadata) GetPartialFailures() []*status.Status { - if m != nil { - return m.PartialFailures - } - return nil -} - -func (m *ImportDataOperationMetadata) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -// Metadata of an ExportData operation. -type ExportDataOperationMetadata struct { - // Output only. The name of dataset to be exported. - // "projects/*/datasets/*/Datasets/*" - Dataset string `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"` - // Output only. Partial failures encountered. - // E.g. single files that couldn't be read. - // Status details field will contain standard GCP error details. - PartialFailures []*status.Status `protobuf:"bytes,2,rep,name=partial_failures,json=partialFailures,proto3" json:"partial_failures,omitempty"` - // Output only. Timestamp when export dataset request was created. - CreateTime *timestamp.Timestamp `protobuf:"bytes,3,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 *ExportDataOperationMetadata) Reset() { *m = ExportDataOperationMetadata{} } -func (m *ExportDataOperationMetadata) String() string { return proto.CompactTextString(m) } -func (*ExportDataOperationMetadata) ProtoMessage() {} -func (*ExportDataOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_1364cf1609076a0d, []int{3} -} - -func (m *ExportDataOperationMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExportDataOperationMetadata.Unmarshal(m, b) -} -func (m *ExportDataOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExportDataOperationMetadata.Marshal(b, m, deterministic) -} -func (m *ExportDataOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportDataOperationMetadata.Merge(m, src) -} -func (m *ExportDataOperationMetadata) XXX_Size() int { - return xxx_messageInfo_ExportDataOperationMetadata.Size(m) -} -func (m *ExportDataOperationMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_ExportDataOperationMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_ExportDataOperationMetadata proto.InternalMessageInfo - -func (m *ExportDataOperationMetadata) GetDataset() string { - if m != nil { - return m.Dataset - } - return "" -} - -func (m *ExportDataOperationMetadata) GetPartialFailures() []*status.Status { - if m != nil { - return m.PartialFailures - } - return nil -} - -func (m *ExportDataOperationMetadata) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -// Metadata of a labeling operation, such as LabelImage or LabelVideo. -// Next tag: 18 -type LabelOperationMetadata struct { - // Ouptut only. Details of specific label operation. - // - // Types that are valid to be assigned to Details: - // *LabelOperationMetadata_ImageClassificationDetails - // *LabelOperationMetadata_ImageBoundingBoxDetails - // *LabelOperationMetadata_ImageBoundingPolyDetails - // *LabelOperationMetadata_ImageOrientedBoundingBoxDetails - // *LabelOperationMetadata_ImagePolylineDetails - // *LabelOperationMetadata_ImageSegmentationDetails - // *LabelOperationMetadata_VideoClassificationDetails - // *LabelOperationMetadata_VideoObjectDetectionDetails - // *LabelOperationMetadata_VideoObjectTrackingDetails - // *LabelOperationMetadata_VideoEventDetails - // *LabelOperationMetadata_TextClassificationDetails - // *LabelOperationMetadata_TextEntityExtractionDetails - Details isLabelOperationMetadata_Details `protobuf_oneof:"details"` - // Output only. Progress of label operation. Range: [0, 100]. - ProgressPercent int32 `protobuf:"varint,1,opt,name=progress_percent,json=progressPercent,proto3" json:"progress_percent,omitempty"` - // Output only. Partial failures encountered. - // E.g. single files that couldn't be read. - // Status details field will contain standard GCP error details. - PartialFailures []*status.Status `protobuf:"bytes,2,rep,name=partial_failures,json=partialFailures,proto3" json:"partial_failures,omitempty"` - // Output only. Timestamp when labeling request was created. - CreateTime *timestamp.Timestamp `protobuf:"bytes,16,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 *LabelOperationMetadata) Reset() { *m = LabelOperationMetadata{} } -func (m *LabelOperationMetadata) String() string { return proto.CompactTextString(m) } -func (*LabelOperationMetadata) ProtoMessage() {} -func (*LabelOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_1364cf1609076a0d, []int{4} -} - -func (m *LabelOperationMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LabelOperationMetadata.Unmarshal(m, b) -} -func (m *LabelOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LabelOperationMetadata.Marshal(b, m, deterministic) -} -func (m *LabelOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelOperationMetadata.Merge(m, src) -} -func (m *LabelOperationMetadata) XXX_Size() int { - return xxx_messageInfo_LabelOperationMetadata.Size(m) -} -func (m *LabelOperationMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_LabelOperationMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_LabelOperationMetadata proto.InternalMessageInfo - -type isLabelOperationMetadata_Details interface { - isLabelOperationMetadata_Details() -} - -type LabelOperationMetadata_ImageClassificationDetails struct { - ImageClassificationDetails *LabelImageClassificationOperationMetadata `protobuf:"bytes,3,opt,name=image_classification_details,json=imageClassificationDetails,proto3,oneof"` -} - -type LabelOperationMetadata_ImageBoundingBoxDetails struct { - ImageBoundingBoxDetails *LabelImageBoundingBoxOperationMetadata `protobuf:"bytes,4,opt,name=image_bounding_box_details,json=imageBoundingBoxDetails,proto3,oneof"` -} - -type LabelOperationMetadata_ImageBoundingPolyDetails struct { - ImageBoundingPolyDetails *LabelImageBoundingPolyOperationMetadata `protobuf:"bytes,11,opt,name=image_bounding_poly_details,json=imageBoundingPolyDetails,proto3,oneof"` -} - -type LabelOperationMetadata_ImageOrientedBoundingBoxDetails struct { - ImageOrientedBoundingBoxDetails *LabelImageOrientedBoundingBoxOperationMetadata `protobuf:"bytes,14,opt,name=image_oriented_bounding_box_details,json=imageOrientedBoundingBoxDetails,proto3,oneof"` -} - -type LabelOperationMetadata_ImagePolylineDetails struct { - ImagePolylineDetails *LabelImagePolylineOperationMetadata `protobuf:"bytes,12,opt,name=image_polyline_details,json=imagePolylineDetails,proto3,oneof"` -} - -type LabelOperationMetadata_ImageSegmentationDetails struct { - ImageSegmentationDetails *LabelImageSegmentationOperationMetadata `protobuf:"bytes,15,opt,name=image_segmentation_details,json=imageSegmentationDetails,proto3,oneof"` -} - -type LabelOperationMetadata_VideoClassificationDetails struct { - VideoClassificationDetails *LabelVideoClassificationOperationMetadata `protobuf:"bytes,5,opt,name=video_classification_details,json=videoClassificationDetails,proto3,oneof"` -} - -type LabelOperationMetadata_VideoObjectDetectionDetails struct { - VideoObjectDetectionDetails *LabelVideoObjectDetectionOperationMetadata `protobuf:"bytes,6,opt,name=video_object_detection_details,json=videoObjectDetectionDetails,proto3,oneof"` -} - -type LabelOperationMetadata_VideoObjectTrackingDetails struct { - VideoObjectTrackingDetails *LabelVideoObjectTrackingOperationMetadata `protobuf:"bytes,7,opt,name=video_object_tracking_details,json=videoObjectTrackingDetails,proto3,oneof"` -} - -type LabelOperationMetadata_VideoEventDetails struct { - VideoEventDetails *LabelVideoEventOperationMetadata `protobuf:"bytes,8,opt,name=video_event_details,json=videoEventDetails,proto3,oneof"` -} - -type LabelOperationMetadata_TextClassificationDetails struct { - TextClassificationDetails *LabelTextClassificationOperationMetadata `protobuf:"bytes,9,opt,name=text_classification_details,json=textClassificationDetails,proto3,oneof"` -} - -type LabelOperationMetadata_TextEntityExtractionDetails struct { - TextEntityExtractionDetails *LabelTextEntityExtractionOperationMetadata `protobuf:"bytes,13,opt,name=text_entity_extraction_details,json=textEntityExtractionDetails,proto3,oneof"` -} - -func (*LabelOperationMetadata_ImageClassificationDetails) isLabelOperationMetadata_Details() {} - -func (*LabelOperationMetadata_ImageBoundingBoxDetails) isLabelOperationMetadata_Details() {} - -func (*LabelOperationMetadata_ImageBoundingPolyDetails) isLabelOperationMetadata_Details() {} - -func (*LabelOperationMetadata_ImageOrientedBoundingBoxDetails) isLabelOperationMetadata_Details() {} - -func (*LabelOperationMetadata_ImagePolylineDetails) isLabelOperationMetadata_Details() {} - -func (*LabelOperationMetadata_ImageSegmentationDetails) isLabelOperationMetadata_Details() {} - -func (*LabelOperationMetadata_VideoClassificationDetails) isLabelOperationMetadata_Details() {} - -func (*LabelOperationMetadata_VideoObjectDetectionDetails) isLabelOperationMetadata_Details() {} - -func (*LabelOperationMetadata_VideoObjectTrackingDetails) isLabelOperationMetadata_Details() {} - -func (*LabelOperationMetadata_VideoEventDetails) isLabelOperationMetadata_Details() {} - -func (*LabelOperationMetadata_TextClassificationDetails) isLabelOperationMetadata_Details() {} - -func (*LabelOperationMetadata_TextEntityExtractionDetails) isLabelOperationMetadata_Details() {} - -func (m *LabelOperationMetadata) GetDetails() isLabelOperationMetadata_Details { - if m != nil { - return m.Details - } - return nil -} - -func (m *LabelOperationMetadata) GetImageClassificationDetails() *LabelImageClassificationOperationMetadata { - if x, ok := m.GetDetails().(*LabelOperationMetadata_ImageClassificationDetails); ok { - return x.ImageClassificationDetails - } - return nil -} - -func (m *LabelOperationMetadata) GetImageBoundingBoxDetails() *LabelImageBoundingBoxOperationMetadata { - if x, ok := m.GetDetails().(*LabelOperationMetadata_ImageBoundingBoxDetails); ok { - return x.ImageBoundingBoxDetails - } - return nil -} - -func (m *LabelOperationMetadata) GetImageBoundingPolyDetails() *LabelImageBoundingPolyOperationMetadata { - if x, ok := m.GetDetails().(*LabelOperationMetadata_ImageBoundingPolyDetails); ok { - return x.ImageBoundingPolyDetails - } - return nil -} - -func (m *LabelOperationMetadata) GetImageOrientedBoundingBoxDetails() *LabelImageOrientedBoundingBoxOperationMetadata { - if x, ok := m.GetDetails().(*LabelOperationMetadata_ImageOrientedBoundingBoxDetails); ok { - return x.ImageOrientedBoundingBoxDetails - } - return nil -} - -func (m *LabelOperationMetadata) GetImagePolylineDetails() *LabelImagePolylineOperationMetadata { - if x, ok := m.GetDetails().(*LabelOperationMetadata_ImagePolylineDetails); ok { - return x.ImagePolylineDetails - } - return nil -} - -func (m *LabelOperationMetadata) GetImageSegmentationDetails() *LabelImageSegmentationOperationMetadata { - if x, ok := m.GetDetails().(*LabelOperationMetadata_ImageSegmentationDetails); ok { - return x.ImageSegmentationDetails - } - return nil -} - -func (m *LabelOperationMetadata) GetVideoClassificationDetails() *LabelVideoClassificationOperationMetadata { - if x, ok := m.GetDetails().(*LabelOperationMetadata_VideoClassificationDetails); ok { - return x.VideoClassificationDetails - } - return nil -} - -func (m *LabelOperationMetadata) GetVideoObjectDetectionDetails() *LabelVideoObjectDetectionOperationMetadata { - if x, ok := m.GetDetails().(*LabelOperationMetadata_VideoObjectDetectionDetails); ok { - return x.VideoObjectDetectionDetails - } - return nil -} - -func (m *LabelOperationMetadata) GetVideoObjectTrackingDetails() *LabelVideoObjectTrackingOperationMetadata { - if x, ok := m.GetDetails().(*LabelOperationMetadata_VideoObjectTrackingDetails); ok { - return x.VideoObjectTrackingDetails - } - return nil -} - -func (m *LabelOperationMetadata) GetVideoEventDetails() *LabelVideoEventOperationMetadata { - if x, ok := m.GetDetails().(*LabelOperationMetadata_VideoEventDetails); ok { - return x.VideoEventDetails - } - return nil -} - -func (m *LabelOperationMetadata) GetTextClassificationDetails() *LabelTextClassificationOperationMetadata { - if x, ok := m.GetDetails().(*LabelOperationMetadata_TextClassificationDetails); ok { - return x.TextClassificationDetails - } - return nil -} - -func (m *LabelOperationMetadata) GetTextEntityExtractionDetails() *LabelTextEntityExtractionOperationMetadata { - if x, ok := m.GetDetails().(*LabelOperationMetadata_TextEntityExtractionDetails); ok { - return x.TextEntityExtractionDetails - } - return nil -} - -func (m *LabelOperationMetadata) GetProgressPercent() int32 { - if m != nil { - return m.ProgressPercent - } - return 0 -} - -func (m *LabelOperationMetadata) GetPartialFailures() []*status.Status { - if m != nil { - return m.PartialFailures - } - return nil -} - -func (m *LabelOperationMetadata) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*LabelOperationMetadata) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*LabelOperationMetadata_ImageClassificationDetails)(nil), - (*LabelOperationMetadata_ImageBoundingBoxDetails)(nil), - (*LabelOperationMetadata_ImageBoundingPolyDetails)(nil), - (*LabelOperationMetadata_ImageOrientedBoundingBoxDetails)(nil), - (*LabelOperationMetadata_ImagePolylineDetails)(nil), - (*LabelOperationMetadata_ImageSegmentationDetails)(nil), - (*LabelOperationMetadata_VideoClassificationDetails)(nil), - (*LabelOperationMetadata_VideoObjectDetectionDetails)(nil), - (*LabelOperationMetadata_VideoObjectTrackingDetails)(nil), - (*LabelOperationMetadata_VideoEventDetails)(nil), - (*LabelOperationMetadata_TextClassificationDetails)(nil), - (*LabelOperationMetadata_TextEntityExtractionDetails)(nil), - } -} - -// Metadata of a LabelImageClassification operation. -type LabelImageClassificationOperationMetadata struct { - // Basic human annotation config used in labeling request. - BasicConfig *HumanAnnotationConfig `protobuf:"bytes,1,opt,name=basic_config,json=basicConfig,proto3" json:"basic_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LabelImageClassificationOperationMetadata) Reset() { - *m = LabelImageClassificationOperationMetadata{} -} -func (m *LabelImageClassificationOperationMetadata) String() string { return proto.CompactTextString(m) } -func (*LabelImageClassificationOperationMetadata) ProtoMessage() {} -func (*LabelImageClassificationOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_1364cf1609076a0d, []int{5} -} - -func (m *LabelImageClassificationOperationMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LabelImageClassificationOperationMetadata.Unmarshal(m, b) -} -func (m *LabelImageClassificationOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LabelImageClassificationOperationMetadata.Marshal(b, m, deterministic) -} -func (m *LabelImageClassificationOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelImageClassificationOperationMetadata.Merge(m, src) -} -func (m *LabelImageClassificationOperationMetadata) XXX_Size() int { - return xxx_messageInfo_LabelImageClassificationOperationMetadata.Size(m) -} -func (m *LabelImageClassificationOperationMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_LabelImageClassificationOperationMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_LabelImageClassificationOperationMetadata proto.InternalMessageInfo - -func (m *LabelImageClassificationOperationMetadata) GetBasicConfig() *HumanAnnotationConfig { - if m != nil { - return m.BasicConfig - } - return nil -} - -// Details of a LabelImageBoundingBox operation metadata. -type LabelImageBoundingBoxOperationMetadata struct { - // Basic human annotation config used in labeling request. - BasicConfig *HumanAnnotationConfig `protobuf:"bytes,1,opt,name=basic_config,json=basicConfig,proto3" json:"basic_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LabelImageBoundingBoxOperationMetadata) Reset() { - *m = LabelImageBoundingBoxOperationMetadata{} -} -func (m *LabelImageBoundingBoxOperationMetadata) String() string { return proto.CompactTextString(m) } -func (*LabelImageBoundingBoxOperationMetadata) ProtoMessage() {} -func (*LabelImageBoundingBoxOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_1364cf1609076a0d, []int{6} -} - -func (m *LabelImageBoundingBoxOperationMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LabelImageBoundingBoxOperationMetadata.Unmarshal(m, b) -} -func (m *LabelImageBoundingBoxOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LabelImageBoundingBoxOperationMetadata.Marshal(b, m, deterministic) -} -func (m *LabelImageBoundingBoxOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelImageBoundingBoxOperationMetadata.Merge(m, src) -} -func (m *LabelImageBoundingBoxOperationMetadata) XXX_Size() int { - return xxx_messageInfo_LabelImageBoundingBoxOperationMetadata.Size(m) -} -func (m *LabelImageBoundingBoxOperationMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_LabelImageBoundingBoxOperationMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_LabelImageBoundingBoxOperationMetadata proto.InternalMessageInfo - -func (m *LabelImageBoundingBoxOperationMetadata) GetBasicConfig() *HumanAnnotationConfig { - if m != nil { - return m.BasicConfig - } - return nil -} - -// Details of a LabelImageOrientedBoundingBox operation metadata. -type LabelImageOrientedBoundingBoxOperationMetadata struct { - // Basic human annotation config. - BasicConfig *HumanAnnotationConfig `protobuf:"bytes,1,opt,name=basic_config,json=basicConfig,proto3" json:"basic_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LabelImageOrientedBoundingBoxOperationMetadata) Reset() { - *m = LabelImageOrientedBoundingBoxOperationMetadata{} -} -func (m *LabelImageOrientedBoundingBoxOperationMetadata) String() string { - return proto.CompactTextString(m) -} -func (*LabelImageOrientedBoundingBoxOperationMetadata) ProtoMessage() {} -func (*LabelImageOrientedBoundingBoxOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_1364cf1609076a0d, []int{7} -} - -func (m *LabelImageOrientedBoundingBoxOperationMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LabelImageOrientedBoundingBoxOperationMetadata.Unmarshal(m, b) -} -func (m *LabelImageOrientedBoundingBoxOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LabelImageOrientedBoundingBoxOperationMetadata.Marshal(b, m, deterministic) -} -func (m *LabelImageOrientedBoundingBoxOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelImageOrientedBoundingBoxOperationMetadata.Merge(m, src) -} -func (m *LabelImageOrientedBoundingBoxOperationMetadata) XXX_Size() int { - return xxx_messageInfo_LabelImageOrientedBoundingBoxOperationMetadata.Size(m) -} -func (m *LabelImageOrientedBoundingBoxOperationMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_LabelImageOrientedBoundingBoxOperationMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_LabelImageOrientedBoundingBoxOperationMetadata proto.InternalMessageInfo - -func (m *LabelImageOrientedBoundingBoxOperationMetadata) GetBasicConfig() *HumanAnnotationConfig { - if m != nil { - return m.BasicConfig - } - return nil -} - -// Details of LabelImageBoundingPoly operation metadata. -type LabelImageBoundingPolyOperationMetadata struct { - // Basic human annotation config used in labeling request. - BasicConfig *HumanAnnotationConfig `protobuf:"bytes,1,opt,name=basic_config,json=basicConfig,proto3" json:"basic_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LabelImageBoundingPolyOperationMetadata) Reset() { - *m = LabelImageBoundingPolyOperationMetadata{} -} -func (m *LabelImageBoundingPolyOperationMetadata) String() string { return proto.CompactTextString(m) } -func (*LabelImageBoundingPolyOperationMetadata) ProtoMessage() {} -func (*LabelImageBoundingPolyOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_1364cf1609076a0d, []int{8} -} - -func (m *LabelImageBoundingPolyOperationMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LabelImageBoundingPolyOperationMetadata.Unmarshal(m, b) -} -func (m *LabelImageBoundingPolyOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LabelImageBoundingPolyOperationMetadata.Marshal(b, m, deterministic) -} -func (m *LabelImageBoundingPolyOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelImageBoundingPolyOperationMetadata.Merge(m, src) -} -func (m *LabelImageBoundingPolyOperationMetadata) XXX_Size() int { - return xxx_messageInfo_LabelImageBoundingPolyOperationMetadata.Size(m) -} -func (m *LabelImageBoundingPolyOperationMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_LabelImageBoundingPolyOperationMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_LabelImageBoundingPolyOperationMetadata proto.InternalMessageInfo - -func (m *LabelImageBoundingPolyOperationMetadata) GetBasicConfig() *HumanAnnotationConfig { - if m != nil { - return m.BasicConfig - } - return nil -} - -// Details of LabelImagePolyline operation metadata. -type LabelImagePolylineOperationMetadata struct { - // Basic human annotation config used in labeling request. - BasicConfig *HumanAnnotationConfig `protobuf:"bytes,1,opt,name=basic_config,json=basicConfig,proto3" json:"basic_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LabelImagePolylineOperationMetadata) Reset() { *m = LabelImagePolylineOperationMetadata{} } -func (m *LabelImagePolylineOperationMetadata) String() string { return proto.CompactTextString(m) } -func (*LabelImagePolylineOperationMetadata) ProtoMessage() {} -func (*LabelImagePolylineOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_1364cf1609076a0d, []int{9} -} - -func (m *LabelImagePolylineOperationMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LabelImagePolylineOperationMetadata.Unmarshal(m, b) -} -func (m *LabelImagePolylineOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LabelImagePolylineOperationMetadata.Marshal(b, m, deterministic) -} -func (m *LabelImagePolylineOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelImagePolylineOperationMetadata.Merge(m, src) -} -func (m *LabelImagePolylineOperationMetadata) XXX_Size() int { - return xxx_messageInfo_LabelImagePolylineOperationMetadata.Size(m) -} -func (m *LabelImagePolylineOperationMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_LabelImagePolylineOperationMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_LabelImagePolylineOperationMetadata proto.InternalMessageInfo - -func (m *LabelImagePolylineOperationMetadata) GetBasicConfig() *HumanAnnotationConfig { - if m != nil { - return m.BasicConfig - } - return nil -} - -// Details of a LabelImageSegmentation operation metadata. -type LabelImageSegmentationOperationMetadata struct { - // Basic human annotation config. - BasicConfig *HumanAnnotationConfig `protobuf:"bytes,1,opt,name=basic_config,json=basicConfig,proto3" json:"basic_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LabelImageSegmentationOperationMetadata) Reset() { - *m = LabelImageSegmentationOperationMetadata{} -} -func (m *LabelImageSegmentationOperationMetadata) String() string { return proto.CompactTextString(m) } -func (*LabelImageSegmentationOperationMetadata) ProtoMessage() {} -func (*LabelImageSegmentationOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_1364cf1609076a0d, []int{10} -} - -func (m *LabelImageSegmentationOperationMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LabelImageSegmentationOperationMetadata.Unmarshal(m, b) -} -func (m *LabelImageSegmentationOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LabelImageSegmentationOperationMetadata.Marshal(b, m, deterministic) -} -func (m *LabelImageSegmentationOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelImageSegmentationOperationMetadata.Merge(m, src) -} -func (m *LabelImageSegmentationOperationMetadata) XXX_Size() int { - return xxx_messageInfo_LabelImageSegmentationOperationMetadata.Size(m) -} -func (m *LabelImageSegmentationOperationMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_LabelImageSegmentationOperationMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_LabelImageSegmentationOperationMetadata proto.InternalMessageInfo - -func (m *LabelImageSegmentationOperationMetadata) GetBasicConfig() *HumanAnnotationConfig { - if m != nil { - return m.BasicConfig - } - return nil -} - -// Details of a LabelVideoClassification operation metadata. -type LabelVideoClassificationOperationMetadata struct { - // Basic human annotation config used in labeling request. - BasicConfig *HumanAnnotationConfig `protobuf:"bytes,1,opt,name=basic_config,json=basicConfig,proto3" json:"basic_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LabelVideoClassificationOperationMetadata) Reset() { - *m = LabelVideoClassificationOperationMetadata{} -} -func (m *LabelVideoClassificationOperationMetadata) String() string { return proto.CompactTextString(m) } -func (*LabelVideoClassificationOperationMetadata) ProtoMessage() {} -func (*LabelVideoClassificationOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_1364cf1609076a0d, []int{11} -} - -func (m *LabelVideoClassificationOperationMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LabelVideoClassificationOperationMetadata.Unmarshal(m, b) -} -func (m *LabelVideoClassificationOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LabelVideoClassificationOperationMetadata.Marshal(b, m, deterministic) -} -func (m *LabelVideoClassificationOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelVideoClassificationOperationMetadata.Merge(m, src) -} -func (m *LabelVideoClassificationOperationMetadata) XXX_Size() int { - return xxx_messageInfo_LabelVideoClassificationOperationMetadata.Size(m) -} -func (m *LabelVideoClassificationOperationMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_LabelVideoClassificationOperationMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_LabelVideoClassificationOperationMetadata proto.InternalMessageInfo - -func (m *LabelVideoClassificationOperationMetadata) GetBasicConfig() *HumanAnnotationConfig { - if m != nil { - return m.BasicConfig - } - return nil -} - -// Details of a LabelVideoObjectDetection operation metadata. -type LabelVideoObjectDetectionOperationMetadata struct { - // Basic human annotation config used in labeling request. - BasicConfig *HumanAnnotationConfig `protobuf:"bytes,1,opt,name=basic_config,json=basicConfig,proto3" json:"basic_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LabelVideoObjectDetectionOperationMetadata) Reset() { - *m = LabelVideoObjectDetectionOperationMetadata{} -} -func (m *LabelVideoObjectDetectionOperationMetadata) String() string { - return proto.CompactTextString(m) -} -func (*LabelVideoObjectDetectionOperationMetadata) ProtoMessage() {} -func (*LabelVideoObjectDetectionOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_1364cf1609076a0d, []int{12} -} - -func (m *LabelVideoObjectDetectionOperationMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LabelVideoObjectDetectionOperationMetadata.Unmarshal(m, b) -} -func (m *LabelVideoObjectDetectionOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LabelVideoObjectDetectionOperationMetadata.Marshal(b, m, deterministic) -} -func (m *LabelVideoObjectDetectionOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelVideoObjectDetectionOperationMetadata.Merge(m, src) -} -func (m *LabelVideoObjectDetectionOperationMetadata) XXX_Size() int { - return xxx_messageInfo_LabelVideoObjectDetectionOperationMetadata.Size(m) -} -func (m *LabelVideoObjectDetectionOperationMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_LabelVideoObjectDetectionOperationMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_LabelVideoObjectDetectionOperationMetadata proto.InternalMessageInfo - -func (m *LabelVideoObjectDetectionOperationMetadata) GetBasicConfig() *HumanAnnotationConfig { - if m != nil { - return m.BasicConfig - } - return nil -} - -// Details of a LabelVideoObjectTracking operation metadata. -type LabelVideoObjectTrackingOperationMetadata struct { - // Basic human annotation config used in labeling request. - BasicConfig *HumanAnnotationConfig `protobuf:"bytes,1,opt,name=basic_config,json=basicConfig,proto3" json:"basic_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LabelVideoObjectTrackingOperationMetadata) Reset() { - *m = LabelVideoObjectTrackingOperationMetadata{} -} -func (m *LabelVideoObjectTrackingOperationMetadata) String() string { return proto.CompactTextString(m) } -func (*LabelVideoObjectTrackingOperationMetadata) ProtoMessage() {} -func (*LabelVideoObjectTrackingOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_1364cf1609076a0d, []int{13} -} - -func (m *LabelVideoObjectTrackingOperationMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LabelVideoObjectTrackingOperationMetadata.Unmarshal(m, b) -} -func (m *LabelVideoObjectTrackingOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LabelVideoObjectTrackingOperationMetadata.Marshal(b, m, deterministic) -} -func (m *LabelVideoObjectTrackingOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelVideoObjectTrackingOperationMetadata.Merge(m, src) -} -func (m *LabelVideoObjectTrackingOperationMetadata) XXX_Size() int { - return xxx_messageInfo_LabelVideoObjectTrackingOperationMetadata.Size(m) -} -func (m *LabelVideoObjectTrackingOperationMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_LabelVideoObjectTrackingOperationMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_LabelVideoObjectTrackingOperationMetadata proto.InternalMessageInfo - -func (m *LabelVideoObjectTrackingOperationMetadata) GetBasicConfig() *HumanAnnotationConfig { - if m != nil { - return m.BasicConfig - } - return nil -} - -// Details of a LabelVideoEvent operation metadata. -type LabelVideoEventOperationMetadata struct { - // Basic human annotation config used in labeling request. - BasicConfig *HumanAnnotationConfig `protobuf:"bytes,1,opt,name=basic_config,json=basicConfig,proto3" json:"basic_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LabelVideoEventOperationMetadata) Reset() { *m = LabelVideoEventOperationMetadata{} } -func (m *LabelVideoEventOperationMetadata) String() string { return proto.CompactTextString(m) } -func (*LabelVideoEventOperationMetadata) ProtoMessage() {} -func (*LabelVideoEventOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_1364cf1609076a0d, []int{14} -} - -func (m *LabelVideoEventOperationMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LabelVideoEventOperationMetadata.Unmarshal(m, b) -} -func (m *LabelVideoEventOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LabelVideoEventOperationMetadata.Marshal(b, m, deterministic) -} -func (m *LabelVideoEventOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelVideoEventOperationMetadata.Merge(m, src) -} -func (m *LabelVideoEventOperationMetadata) XXX_Size() int { - return xxx_messageInfo_LabelVideoEventOperationMetadata.Size(m) -} -func (m *LabelVideoEventOperationMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_LabelVideoEventOperationMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_LabelVideoEventOperationMetadata proto.InternalMessageInfo - -func (m *LabelVideoEventOperationMetadata) GetBasicConfig() *HumanAnnotationConfig { - if m != nil { - return m.BasicConfig - } - return nil -} - -// Details of a LabelTextClassification operation metadata. -type LabelTextClassificationOperationMetadata struct { - // Basic human annotation config used in labeling request. - BasicConfig *HumanAnnotationConfig `protobuf:"bytes,1,opt,name=basic_config,json=basicConfig,proto3" json:"basic_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LabelTextClassificationOperationMetadata) Reset() { - *m = LabelTextClassificationOperationMetadata{} -} -func (m *LabelTextClassificationOperationMetadata) String() string { return proto.CompactTextString(m) } -func (*LabelTextClassificationOperationMetadata) ProtoMessage() {} -func (*LabelTextClassificationOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_1364cf1609076a0d, []int{15} -} - -func (m *LabelTextClassificationOperationMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LabelTextClassificationOperationMetadata.Unmarshal(m, b) -} -func (m *LabelTextClassificationOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LabelTextClassificationOperationMetadata.Marshal(b, m, deterministic) -} -func (m *LabelTextClassificationOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelTextClassificationOperationMetadata.Merge(m, src) -} -func (m *LabelTextClassificationOperationMetadata) XXX_Size() int { - return xxx_messageInfo_LabelTextClassificationOperationMetadata.Size(m) -} -func (m *LabelTextClassificationOperationMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_LabelTextClassificationOperationMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_LabelTextClassificationOperationMetadata proto.InternalMessageInfo - -func (m *LabelTextClassificationOperationMetadata) GetBasicConfig() *HumanAnnotationConfig { - if m != nil { - return m.BasicConfig - } - return nil -} - -// Details of a LabelTextEntityExtraction operation metadata. -type LabelTextEntityExtractionOperationMetadata struct { - // Basic human annotation config used in labeling request. - BasicConfig *HumanAnnotationConfig `protobuf:"bytes,1,opt,name=basic_config,json=basicConfig,proto3" json:"basic_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LabelTextEntityExtractionOperationMetadata) Reset() { - *m = LabelTextEntityExtractionOperationMetadata{} -} -func (m *LabelTextEntityExtractionOperationMetadata) String() string { - return proto.CompactTextString(m) -} -func (*LabelTextEntityExtractionOperationMetadata) ProtoMessage() {} -func (*LabelTextEntityExtractionOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_1364cf1609076a0d, []int{16} -} - -func (m *LabelTextEntityExtractionOperationMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LabelTextEntityExtractionOperationMetadata.Unmarshal(m, b) -} -func (m *LabelTextEntityExtractionOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LabelTextEntityExtractionOperationMetadata.Marshal(b, m, deterministic) -} -func (m *LabelTextEntityExtractionOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelTextEntityExtractionOperationMetadata.Merge(m, src) -} -func (m *LabelTextEntityExtractionOperationMetadata) XXX_Size() int { - return xxx_messageInfo_LabelTextEntityExtractionOperationMetadata.Size(m) -} -func (m *LabelTextEntityExtractionOperationMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_LabelTextEntityExtractionOperationMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_LabelTextEntityExtractionOperationMetadata proto.InternalMessageInfo - -func (m *LabelTextEntityExtractionOperationMetadata) GetBasicConfig() *HumanAnnotationConfig { - if m != nil { - return m.BasicConfig - } - return nil -} - -// Metadata of a CreateInstruction operation. -type CreateInstructionMetadata struct { - // The name of the created Instruction. - // projects/{project_id}/instructions/{instruction_id} - Instruction string `protobuf:"bytes,1,opt,name=instruction,proto3" json:"instruction,omitempty"` - // Partial failures encountered. - // E.g. single files that couldn't be read. - // Status details field will contain standard GCP error details. - PartialFailures []*status.Status `protobuf:"bytes,2,rep,name=partial_failures,json=partialFailures,proto3" json:"partial_failures,omitempty"` - // Timestamp when create instruction request was created. - CreateTime *timestamp.Timestamp `protobuf:"bytes,3,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 *CreateInstructionMetadata) Reset() { *m = CreateInstructionMetadata{} } -func (m *CreateInstructionMetadata) String() string { return proto.CompactTextString(m) } -func (*CreateInstructionMetadata) ProtoMessage() {} -func (*CreateInstructionMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_1364cf1609076a0d, []int{17} -} - -func (m *CreateInstructionMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateInstructionMetadata.Unmarshal(m, b) -} -func (m *CreateInstructionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateInstructionMetadata.Marshal(b, m, deterministic) -} -func (m *CreateInstructionMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateInstructionMetadata.Merge(m, src) -} -func (m *CreateInstructionMetadata) XXX_Size() int { - return xxx_messageInfo_CreateInstructionMetadata.Size(m) -} -func (m *CreateInstructionMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_CreateInstructionMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateInstructionMetadata proto.InternalMessageInfo - -func (m *CreateInstructionMetadata) GetInstruction() string { - if m != nil { - return m.Instruction - } - return "" -} - -func (m *CreateInstructionMetadata) GetPartialFailures() []*status.Status { - if m != nil { - return m.PartialFailures - } - return nil -} - -func (m *CreateInstructionMetadata) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func init() { - proto.RegisterType((*ImportDataOperationResponse)(nil), "google.cloud.datalabeling.v1beta1.ImportDataOperationResponse") - proto.RegisterType((*ExportDataOperationResponse)(nil), "google.cloud.datalabeling.v1beta1.ExportDataOperationResponse") - proto.RegisterType((*ImportDataOperationMetadata)(nil), "google.cloud.datalabeling.v1beta1.ImportDataOperationMetadata") - proto.RegisterType((*ExportDataOperationMetadata)(nil), "google.cloud.datalabeling.v1beta1.ExportDataOperationMetadata") - proto.RegisterType((*LabelOperationMetadata)(nil), "google.cloud.datalabeling.v1beta1.LabelOperationMetadata") - proto.RegisterType((*LabelImageClassificationOperationMetadata)(nil), "google.cloud.datalabeling.v1beta1.LabelImageClassificationOperationMetadata") - proto.RegisterType((*LabelImageBoundingBoxOperationMetadata)(nil), "google.cloud.datalabeling.v1beta1.LabelImageBoundingBoxOperationMetadata") - proto.RegisterType((*LabelImageOrientedBoundingBoxOperationMetadata)(nil), "google.cloud.datalabeling.v1beta1.LabelImageOrientedBoundingBoxOperationMetadata") - proto.RegisterType((*LabelImageBoundingPolyOperationMetadata)(nil), "google.cloud.datalabeling.v1beta1.LabelImageBoundingPolyOperationMetadata") - proto.RegisterType((*LabelImagePolylineOperationMetadata)(nil), "google.cloud.datalabeling.v1beta1.LabelImagePolylineOperationMetadata") - proto.RegisterType((*LabelImageSegmentationOperationMetadata)(nil), "google.cloud.datalabeling.v1beta1.LabelImageSegmentationOperationMetadata") - proto.RegisterType((*LabelVideoClassificationOperationMetadata)(nil), "google.cloud.datalabeling.v1beta1.LabelVideoClassificationOperationMetadata") - proto.RegisterType((*LabelVideoObjectDetectionOperationMetadata)(nil), "google.cloud.datalabeling.v1beta1.LabelVideoObjectDetectionOperationMetadata") - proto.RegisterType((*LabelVideoObjectTrackingOperationMetadata)(nil), "google.cloud.datalabeling.v1beta1.LabelVideoObjectTrackingOperationMetadata") - proto.RegisterType((*LabelVideoEventOperationMetadata)(nil), "google.cloud.datalabeling.v1beta1.LabelVideoEventOperationMetadata") - proto.RegisterType((*LabelTextClassificationOperationMetadata)(nil), "google.cloud.datalabeling.v1beta1.LabelTextClassificationOperationMetadata") - proto.RegisterType((*LabelTextEntityExtractionOperationMetadata)(nil), "google.cloud.datalabeling.v1beta1.LabelTextEntityExtractionOperationMetadata") - proto.RegisterType((*CreateInstructionMetadata)(nil), "google.cloud.datalabeling.v1beta1.CreateInstructionMetadata") -} - -func init() { - proto.RegisterFile("google/cloud/datalabeling/v1beta1/operations.proto", fileDescriptor_1364cf1609076a0d) -} - -var fileDescriptor_1364cf1609076a0d = []byte{ - // 1027 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x98, 0x61, 0x6f, 0xdb, 0x44, - 0x18, 0xc7, 0xb9, 0x8e, 0xae, 0xf4, 0x71, 0x47, 0x4b, 0x40, 0x5b, 0xd6, 0x0c, 0x9a, 0x75, 0x02, - 0x32, 0x24, 0x62, 0xad, 0xbc, 0x41, 0x9a, 0x10, 0xa2, 0x69, 0xa7, 0x15, 0x56, 0x5a, 0xdc, 0x8a, - 0x17, 0xf0, 0xc2, 0xba, 0x38, 0x57, 0x73, 0xe0, 0xdc, 0x59, 0xf6, 0x39, 0x4a, 0x85, 0x04, 0x12, - 0x08, 0x18, 0xa0, 0x49, 0x20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xe0, 0xc0, 0x8e, 0x72, 0x46, 0xb3, 0x0f, 0x2c, 0xaf, 0x32, 0x30, 0xf2, - 0x72, 0x8d, 0xe8, 0x80, 0xf0, 0x59, 0x97, 0x6b, 0xb1, 0xda, 0xe5, 0xfa, 0x5c, 0x7a, 0x95, 0xb8, - 0x5c, 0xa3, 0x69, 0x9d, 0x41, 0xfa, 0x0b, 0xc1, 0x1b, 0x29, 0x12, 0xef, 0x7f, 0x4d, 0x3c, 0x21, - 0x51, 0x88, 0x37, 0x01, 0x75, 0x55, 0x41, 0xed, 0x57, 0x82, 0x3a, 0x50, 0x66, 0x3b, 0xc6, 0xab, - 0x88, 0xaa, 0x35, 0x2a, 0x10, 0x1a, 0xac, 0x3f, 0x11, 0xbc, 0x3e, 0x81, 0x25, 0x22, 0xec, 0x7d, - 0x23, 0x07, 0xdb, 0x50, 0x2d, 0x5d, 0xa0, 0x55, 0x69, 0xb1, 0x63, 0x6d, 0x35, 0xbb, 0x55, 0x93, - 0x3a, 0xc3, 0x94, 0xc0, 0xab, 0x29, 0x12, 0x19, 0x11, 0x26, 0x32, 0x90, 0x97, 0x14, 0x48, 0xaf, - 0x12, 0xc8, 0xae, 0x74, 0x28, 0xaa, 0xff, 0xca, 0x28, 0xfb, 0xda, 0x94, 0x7d, 0x82, 0xa0, 0x25, - 0xc8, 0x58, 0xcc, 0x9a, 0x99, 0x65, 0x55, 0xff, 0x93, 0xb2, 0xf5, 0x8f, 0xc9, 0x58, 0xcc, 0x1f, - 0x99, 0x9b, 0x62, 0x4a, 0x96, 0x9f, 0x18, 0xc5, 0x43, 0x98, 0xa0, 0xe2, 0xd4, 0x25, 0x63, 0x79, - 0x36, 0x13, 0x48, 0xd7, 0xaa, 0x4d, 0x8c, 0x44, 0xda, 0x55, 0x66, 0xbb, 0x99, 0x57, 0xe1, 0xc4, - 0x88, 0x02, 0xa1, 0xc1, 0xba, 0x0b, 0x6b, 0x61, 0xc4, 0xfd, 0x88, 0xc4, 0xb1, 0x1b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 0xf3, 0xfb, 0x70, 0x88, 0xbe, 0xd8, 0xd7, 0x22, 0x9f, 0x07, 0x98, 0xf9, 0x5d, 0x1e, 0xf9, - 0xb6, 0x4f, 0x98, 0xf2, 0xd7, 0xff, 0x59, 0xe1, 0x90, 0xc6, 0xe7, 0xfc, 0x0d, 0x75, 0x3f, 0x1f, - 0xec, 0x5f, 0x55, 0x99, 0xef, 0xfd, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x99, 0x20, 0x03, 0x85, 0x65, - 0x13, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/autoscaling_policies.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/autoscaling_policies.pb.go deleted file mode 100644 index 4dba0961..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/autoscaling_policies.pb.go +++ /dev/null @@ -1,1052 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/dataproc/v1/autoscaling_policies.proto - -package dataproc - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Describes an autoscaling policy for Dataproc cluster autoscaler. -type AutoscalingPolicy struct { - // Required. The policy 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,1,opt,name=id,proto3" json:"id,omitempty"` - // Output only. The "resource name" of the autoscaling policy, as described - // in https://cloud.google.com/apis/design/resource_names. - // - // * For `projects.regions.autoscalingPolicies`, the resource name of the - // policy has the following format: - // `projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id}` - // - // * For `projects.locations.autoscalingPolicies`, the resource name of the - // policy has the following format: - // `projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - // Autoscaling algorithm for policy. - // - // Types that are valid to be assigned to Algorithm: - // *AutoscalingPolicy_BasicAlgorithm - Algorithm isAutoscalingPolicy_Algorithm `protobuf_oneof:"algorithm"` - // Required. Describes how the autoscaler will operate for primary workers. - WorkerConfig *InstanceGroupAutoscalingPolicyConfig `protobuf:"bytes,4,opt,name=worker_config,json=workerConfig,proto3" json:"worker_config,omitempty"` - // Optional. Describes how the autoscaler will operate for secondary workers. - SecondaryWorkerConfig *InstanceGroupAutoscalingPolicyConfig `protobuf:"bytes,5,opt,name=secondary_worker_config,json=secondaryWorkerConfig,proto3" json:"secondary_worker_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AutoscalingPolicy) Reset() { *m = AutoscalingPolicy{} } -func (m *AutoscalingPolicy) String() string { return proto.CompactTextString(m) } -func (*AutoscalingPolicy) ProtoMessage() {} -func (*AutoscalingPolicy) Descriptor() ([]byte, []int) { - return fileDescriptor_e49a4a9859d08ad9, []int{0} -} - -func (m *AutoscalingPolicy) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AutoscalingPolicy.Unmarshal(m, b) -} -func (m *AutoscalingPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AutoscalingPolicy.Marshal(b, m, deterministic) -} -func (m *AutoscalingPolicy) XXX_Merge(src proto.Message) { - xxx_messageInfo_AutoscalingPolicy.Merge(m, src) -} -func (m *AutoscalingPolicy) XXX_Size() int { - return xxx_messageInfo_AutoscalingPolicy.Size(m) -} -func (m *AutoscalingPolicy) XXX_DiscardUnknown() { - xxx_messageInfo_AutoscalingPolicy.DiscardUnknown(m) -} - -var xxx_messageInfo_AutoscalingPolicy proto.InternalMessageInfo - -func (m *AutoscalingPolicy) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *AutoscalingPolicy) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -type isAutoscalingPolicy_Algorithm interface { - isAutoscalingPolicy_Algorithm() -} - -type AutoscalingPolicy_BasicAlgorithm struct { - BasicAlgorithm *BasicAutoscalingAlgorithm `protobuf:"bytes,3,opt,name=basic_algorithm,json=basicAlgorithm,proto3,oneof"` -} - -func (*AutoscalingPolicy_BasicAlgorithm) isAutoscalingPolicy_Algorithm() {} - -func (m *AutoscalingPolicy) GetAlgorithm() isAutoscalingPolicy_Algorithm { - if m != nil { - return m.Algorithm - } - return nil -} - -func (m *AutoscalingPolicy) GetBasicAlgorithm() *BasicAutoscalingAlgorithm { - if x, ok := m.GetAlgorithm().(*AutoscalingPolicy_BasicAlgorithm); ok { - return x.BasicAlgorithm - } - return nil -} - -func (m *AutoscalingPolicy) GetWorkerConfig() *InstanceGroupAutoscalingPolicyConfig { - if m != nil { - return m.WorkerConfig - } - return nil -} - -func (m *AutoscalingPolicy) GetSecondaryWorkerConfig() *InstanceGroupAutoscalingPolicyConfig { - if m != nil { - return m.SecondaryWorkerConfig - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AutoscalingPolicy) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AutoscalingPolicy_BasicAlgorithm)(nil), - } -} - -// Basic algorithm for autoscaling. -type BasicAutoscalingAlgorithm struct { - // Required. YARN autoscaling configuration. - YarnConfig *BasicYarnAutoscalingConfig `protobuf:"bytes,1,opt,name=yarn_config,json=yarnConfig,proto3" json:"yarn_config,omitempty"` - // Optional. Duration between scaling events. A scaling period starts after - // the update operation from the previous event has completed. - // - // Bounds: [2m, 1d]. Default: 2m. - CooldownPeriod *duration.Duration `protobuf:"bytes,2,opt,name=cooldown_period,json=cooldownPeriod,proto3" json:"cooldown_period,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BasicAutoscalingAlgorithm) Reset() { *m = BasicAutoscalingAlgorithm{} } -func (m *BasicAutoscalingAlgorithm) String() string { return proto.CompactTextString(m) } -func (*BasicAutoscalingAlgorithm) ProtoMessage() {} -func (*BasicAutoscalingAlgorithm) Descriptor() ([]byte, []int) { - return fileDescriptor_e49a4a9859d08ad9, []int{1} -} - -func (m *BasicAutoscalingAlgorithm) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BasicAutoscalingAlgorithm.Unmarshal(m, b) -} -func (m *BasicAutoscalingAlgorithm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BasicAutoscalingAlgorithm.Marshal(b, m, deterministic) -} -func (m *BasicAutoscalingAlgorithm) XXX_Merge(src proto.Message) { - xxx_messageInfo_BasicAutoscalingAlgorithm.Merge(m, src) -} -func (m *BasicAutoscalingAlgorithm) XXX_Size() int { - return xxx_messageInfo_BasicAutoscalingAlgorithm.Size(m) -} -func (m *BasicAutoscalingAlgorithm) XXX_DiscardUnknown() { - xxx_messageInfo_BasicAutoscalingAlgorithm.DiscardUnknown(m) -} - -var xxx_messageInfo_BasicAutoscalingAlgorithm proto.InternalMessageInfo - -func (m *BasicAutoscalingAlgorithm) GetYarnConfig() *BasicYarnAutoscalingConfig { - if m != nil { - return m.YarnConfig - } - return nil -} - -func (m *BasicAutoscalingAlgorithm) GetCooldownPeriod() *duration.Duration { - if m != nil { - return m.CooldownPeriod - } - return nil -} - -// Basic autoscaling configurations for YARN. -type BasicYarnAutoscalingConfig struct { - // Required. Timeout for YARN graceful decommissioning of Node Managers. - // Specifies the duration to wait for jobs to complete before forcefully - // removing workers (and potentially interrupting jobs). Only applicable to - // downscaling operations. - // - // Bounds: [0s, 1d]. - GracefulDecommissionTimeout *duration.Duration `protobuf:"bytes,5,opt,name=graceful_decommission_timeout,json=gracefulDecommissionTimeout,proto3" json:"graceful_decommission_timeout,omitempty"` - // Required. Fraction of average pending memory in the last cooldown period - // for which to add workers. A scale-up factor of 1.0 will result in scaling - // up so that there is no pending memory remaining after the update (more - // aggressive scaling). A scale-up factor closer to 0 will result in a smaller - // magnitude of scaling up (less aggressive scaling). - // - // Bounds: [0.0, 1.0]. - ScaleUpFactor float64 `protobuf:"fixed64,1,opt,name=scale_up_factor,json=scaleUpFactor,proto3" json:"scale_up_factor,omitempty"` - // Required. Fraction of average pending memory in the last cooldown period - // for which to remove workers. A scale-down factor of 1 will result in - // scaling down so that there is no available memory remaining after the - // update (more aggressive scaling). A scale-down factor of 0 disables - // removing workers, which can be beneficial for autoscaling a single job. - // - // Bounds: [0.0, 1.0]. - ScaleDownFactor float64 `protobuf:"fixed64,2,opt,name=scale_down_factor,json=scaleDownFactor,proto3" json:"scale_down_factor,omitempty"` - // Optional. Minimum scale-up threshold as a fraction of total cluster size - // before scaling occurs. For example, in a 20-worker cluster, a threshold of - // 0.1 means the autoscaler must recommend at least a 2-worker scale-up for - // the cluster to scale. A threshold of 0 means the autoscaler will scale up - // on any recommended change. - // - // Bounds: [0.0, 1.0]. Default: 0.0. - ScaleUpMinWorkerFraction float64 `protobuf:"fixed64,3,opt,name=scale_up_min_worker_fraction,json=scaleUpMinWorkerFraction,proto3" json:"scale_up_min_worker_fraction,omitempty"` - // Optional. Minimum scale-down threshold as a fraction of total cluster size - // before scaling occurs. For example, in a 20-worker cluster, a threshold of - // 0.1 means the autoscaler must recommend at least a 2 worker scale-down for - // the cluster to scale. A threshold of 0 means the autoscaler will scale down - // on any recommended change. - // - // Bounds: [0.0, 1.0]. Default: 0.0. - ScaleDownMinWorkerFraction float64 `protobuf:"fixed64,4,opt,name=scale_down_min_worker_fraction,json=scaleDownMinWorkerFraction,proto3" json:"scale_down_min_worker_fraction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BasicYarnAutoscalingConfig) Reset() { *m = BasicYarnAutoscalingConfig{} } -func (m *BasicYarnAutoscalingConfig) String() string { return proto.CompactTextString(m) } -func (*BasicYarnAutoscalingConfig) ProtoMessage() {} -func (*BasicYarnAutoscalingConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_e49a4a9859d08ad9, []int{2} -} - -func (m *BasicYarnAutoscalingConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BasicYarnAutoscalingConfig.Unmarshal(m, b) -} -func (m *BasicYarnAutoscalingConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BasicYarnAutoscalingConfig.Marshal(b, m, deterministic) -} -func (m *BasicYarnAutoscalingConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_BasicYarnAutoscalingConfig.Merge(m, src) -} -func (m *BasicYarnAutoscalingConfig) XXX_Size() int { - return xxx_messageInfo_BasicYarnAutoscalingConfig.Size(m) -} -func (m *BasicYarnAutoscalingConfig) XXX_DiscardUnknown() { - xxx_messageInfo_BasicYarnAutoscalingConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_BasicYarnAutoscalingConfig proto.InternalMessageInfo - -func (m *BasicYarnAutoscalingConfig) GetGracefulDecommissionTimeout() *duration.Duration { - if m != nil { - return m.GracefulDecommissionTimeout - } - return nil -} - -func (m *BasicYarnAutoscalingConfig) GetScaleUpFactor() float64 { - if m != nil { - return m.ScaleUpFactor - } - return 0 -} - -func (m *BasicYarnAutoscalingConfig) GetScaleDownFactor() float64 { - if m != nil { - return m.ScaleDownFactor - } - return 0 -} - -func (m *BasicYarnAutoscalingConfig) GetScaleUpMinWorkerFraction() float64 { - if m != nil { - return m.ScaleUpMinWorkerFraction - } - return 0 -} - -func (m *BasicYarnAutoscalingConfig) GetScaleDownMinWorkerFraction() float64 { - if m != nil { - return m.ScaleDownMinWorkerFraction - } - return 0 -} - -// Configuration for the size bounds of an instance group, including its -// proportional size to other groups. -type InstanceGroupAutoscalingPolicyConfig struct { - // Optional. Minimum number of instances for this group. - // - // Primary workers - Bounds: [2, max_instances]. Default: 2. - // Secondary workers - Bounds: [0, max_instances]. Default: 0. - MinInstances int32 `protobuf:"varint,1,opt,name=min_instances,json=minInstances,proto3" json:"min_instances,omitempty"` - // Required. Maximum number of instances for this group. Required for primary - // workers. Note that by default, clusters will not use secondary workers. - // Required for secondary workers if the minimum secondary instances is set. - // - // Primary workers - Bounds: [min_instances, ). - // Secondary workers - Bounds: [min_instances, ). Default: 0. - MaxInstances int32 `protobuf:"varint,2,opt,name=max_instances,json=maxInstances,proto3" json:"max_instances,omitempty"` - // Optional. Weight for the instance group, which is used to determine the - // fraction of total workers in the cluster from this instance group. - // For example, if primary workers have weight 2, and secondary workers have - // weight 1, the cluster will have approximately 2 primary workers for each - // secondary worker. - // - // The cluster may not reach the specified balance if constrained - // by min/max bounds or other autoscaling settings. For example, if - // `max_instances` for secondary workers is 0, then only primary workers will - // be added. The cluster can also be out of balance when created. - // - // If weight is not set on any instance group, the cluster will default to - // equal weight for all groups: the cluster will attempt to maintain an equal - // number of workers in each group within the configured size bounds for each - // group. If weight is set for one group only, the cluster will default to - // zero weight on the unset group. For example if weight is set only on - // primary workers, the cluster will use primary workers only and no - // secondary workers. - Weight int32 `protobuf:"varint,3,opt,name=weight,proto3" json:"weight,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *InstanceGroupAutoscalingPolicyConfig) Reset() { *m = InstanceGroupAutoscalingPolicyConfig{} } -func (m *InstanceGroupAutoscalingPolicyConfig) String() string { return proto.CompactTextString(m) } -func (*InstanceGroupAutoscalingPolicyConfig) ProtoMessage() {} -func (*InstanceGroupAutoscalingPolicyConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_e49a4a9859d08ad9, []int{3} -} - -func (m *InstanceGroupAutoscalingPolicyConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InstanceGroupAutoscalingPolicyConfig.Unmarshal(m, b) -} -func (m *InstanceGroupAutoscalingPolicyConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InstanceGroupAutoscalingPolicyConfig.Marshal(b, m, deterministic) -} -func (m *InstanceGroupAutoscalingPolicyConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_InstanceGroupAutoscalingPolicyConfig.Merge(m, src) -} -func (m *InstanceGroupAutoscalingPolicyConfig) XXX_Size() int { - return xxx_messageInfo_InstanceGroupAutoscalingPolicyConfig.Size(m) -} -func (m *InstanceGroupAutoscalingPolicyConfig) XXX_DiscardUnknown() { - xxx_messageInfo_InstanceGroupAutoscalingPolicyConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_InstanceGroupAutoscalingPolicyConfig proto.InternalMessageInfo - -func (m *InstanceGroupAutoscalingPolicyConfig) GetMinInstances() int32 { - if m != nil { - return m.MinInstances - } - return 0 -} - -func (m *InstanceGroupAutoscalingPolicyConfig) GetMaxInstances() int32 { - if m != nil { - return m.MaxInstances - } - return 0 -} - -func (m *InstanceGroupAutoscalingPolicyConfig) GetWeight() int32 { - if m != nil { - return m.Weight - } - return 0 -} - -// A request to create an autoscaling policy. -type CreateAutoscalingPolicyRequest struct { - // Required. The "resource name" of the region or location, as described - // in https://cloud.google.com/apis/design/resource_names. - // - // * For `projects.regions.autoscalingPolicies.create`, the resource name - // of the region has the following format: - // `projects/{project_id}/regions/{region}` - // - // * For `projects.locations.autoscalingPolicies.create`, the resource name - // of the location has the following format: - // `projects/{project_id}/locations/{location}` - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The autoscaling policy to create. - Policy *AutoscalingPolicy `protobuf:"bytes,2,opt,name=policy,proto3" json:"policy,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateAutoscalingPolicyRequest) Reset() { *m = CreateAutoscalingPolicyRequest{} } -func (m *CreateAutoscalingPolicyRequest) String() string { return proto.CompactTextString(m) } -func (*CreateAutoscalingPolicyRequest) ProtoMessage() {} -func (*CreateAutoscalingPolicyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e49a4a9859d08ad9, []int{4} -} - -func (m *CreateAutoscalingPolicyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateAutoscalingPolicyRequest.Unmarshal(m, b) -} -func (m *CreateAutoscalingPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateAutoscalingPolicyRequest.Marshal(b, m, deterministic) -} -func (m *CreateAutoscalingPolicyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateAutoscalingPolicyRequest.Merge(m, src) -} -func (m *CreateAutoscalingPolicyRequest) XXX_Size() int { - return xxx_messageInfo_CreateAutoscalingPolicyRequest.Size(m) -} -func (m *CreateAutoscalingPolicyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateAutoscalingPolicyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateAutoscalingPolicyRequest proto.InternalMessageInfo - -func (m *CreateAutoscalingPolicyRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateAutoscalingPolicyRequest) GetPolicy() *AutoscalingPolicy { - if m != nil { - return m.Policy - } - return nil -} - -// A request to fetch an autoscaling policy. -type GetAutoscalingPolicyRequest struct { - // Required. The "resource name" of the autoscaling policy, as described - // in https://cloud.google.com/apis/design/resource_names. - // - // * For `projects.regions.autoscalingPolicies.get`, the resource name - // of the policy has the following format: - // `projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id}` - // - // * For `projects.locations.autoscalingPolicies.get`, the resource name - // of the policy has the following format: - // `projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_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 *GetAutoscalingPolicyRequest) Reset() { *m = GetAutoscalingPolicyRequest{} } -func (m *GetAutoscalingPolicyRequest) String() string { return proto.CompactTextString(m) } -func (*GetAutoscalingPolicyRequest) ProtoMessage() {} -func (*GetAutoscalingPolicyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e49a4a9859d08ad9, []int{5} -} - -func (m *GetAutoscalingPolicyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAutoscalingPolicyRequest.Unmarshal(m, b) -} -func (m *GetAutoscalingPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAutoscalingPolicyRequest.Marshal(b, m, deterministic) -} -func (m *GetAutoscalingPolicyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAutoscalingPolicyRequest.Merge(m, src) -} -func (m *GetAutoscalingPolicyRequest) XXX_Size() int { - return xxx_messageInfo_GetAutoscalingPolicyRequest.Size(m) -} -func (m *GetAutoscalingPolicyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAutoscalingPolicyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetAutoscalingPolicyRequest proto.InternalMessageInfo - -func (m *GetAutoscalingPolicyRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// A request to update an autoscaling policy. -type UpdateAutoscalingPolicyRequest struct { - // Required. The updated autoscaling policy. - Policy *AutoscalingPolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpdateAutoscalingPolicyRequest) Reset() { *m = UpdateAutoscalingPolicyRequest{} } -func (m *UpdateAutoscalingPolicyRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateAutoscalingPolicyRequest) ProtoMessage() {} -func (*UpdateAutoscalingPolicyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e49a4a9859d08ad9, []int{6} -} - -func (m *UpdateAutoscalingPolicyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateAutoscalingPolicyRequest.Unmarshal(m, b) -} -func (m *UpdateAutoscalingPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateAutoscalingPolicyRequest.Marshal(b, m, deterministic) -} -func (m *UpdateAutoscalingPolicyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateAutoscalingPolicyRequest.Merge(m, src) -} -func (m *UpdateAutoscalingPolicyRequest) XXX_Size() int { - return xxx_messageInfo_UpdateAutoscalingPolicyRequest.Size(m) -} -func (m *UpdateAutoscalingPolicyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateAutoscalingPolicyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateAutoscalingPolicyRequest proto.InternalMessageInfo - -func (m *UpdateAutoscalingPolicyRequest) GetPolicy() *AutoscalingPolicy { - if m != nil { - return m.Policy - } - return nil -} - -// A request to delete an autoscaling policy. -// -// Autoscaling policies in use by one or more clusters will not be deleted. -type DeleteAutoscalingPolicyRequest struct { - // Required. The "resource name" of the autoscaling policy, as described - // in https://cloud.google.com/apis/design/resource_names. - // - // * For `projects.regions.autoscalingPolicies.delete`, the resource name - // of the policy has the following format: - // `projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id}` - // - // * For `projects.locations.autoscalingPolicies.delete`, the resource name - // of the policy has the following format: - // `projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_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 *DeleteAutoscalingPolicyRequest) Reset() { *m = DeleteAutoscalingPolicyRequest{} } -func (m *DeleteAutoscalingPolicyRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteAutoscalingPolicyRequest) ProtoMessage() {} -func (*DeleteAutoscalingPolicyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e49a4a9859d08ad9, []int{7} -} - -func (m *DeleteAutoscalingPolicyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteAutoscalingPolicyRequest.Unmarshal(m, b) -} -func (m *DeleteAutoscalingPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteAutoscalingPolicyRequest.Marshal(b, m, deterministic) -} -func (m *DeleteAutoscalingPolicyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteAutoscalingPolicyRequest.Merge(m, src) -} -func (m *DeleteAutoscalingPolicyRequest) XXX_Size() int { - return xxx_messageInfo_DeleteAutoscalingPolicyRequest.Size(m) -} -func (m *DeleteAutoscalingPolicyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteAutoscalingPolicyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteAutoscalingPolicyRequest proto.InternalMessageInfo - -func (m *DeleteAutoscalingPolicyRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// A request to list autoscaling policies in a project. -type ListAutoscalingPoliciesRequest struct { - // Required. The "resource name" of the region or location, as described - // in https://cloud.google.com/apis/design/resource_names. - // - // * For `projects.regions.autoscalingPolicies.list`, the resource name - // of the region has the following format: - // `projects/{project_id}/regions/{region}` - // - // * For `projects.locations.autoscalingPolicies.list`, the resource name - // of the location has the following format: - // `projects/{project_id}/locations/{location}` - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. The maximum number of results to return in each response. - // Must be less than or equal to 1000. Defaults to 100. - 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 *ListAutoscalingPoliciesRequest) Reset() { *m = ListAutoscalingPoliciesRequest{} } -func (m *ListAutoscalingPoliciesRequest) String() string { return proto.CompactTextString(m) } -func (*ListAutoscalingPoliciesRequest) ProtoMessage() {} -func (*ListAutoscalingPoliciesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e49a4a9859d08ad9, []int{8} -} - -func (m *ListAutoscalingPoliciesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListAutoscalingPoliciesRequest.Unmarshal(m, b) -} -func (m *ListAutoscalingPoliciesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListAutoscalingPoliciesRequest.Marshal(b, m, deterministic) -} -func (m *ListAutoscalingPoliciesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAutoscalingPoliciesRequest.Merge(m, src) -} -func (m *ListAutoscalingPoliciesRequest) XXX_Size() int { - return xxx_messageInfo_ListAutoscalingPoliciesRequest.Size(m) -} -func (m *ListAutoscalingPoliciesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListAutoscalingPoliciesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListAutoscalingPoliciesRequest proto.InternalMessageInfo - -func (m *ListAutoscalingPoliciesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListAutoscalingPoliciesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListAutoscalingPoliciesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// A response to a request to list autoscaling policies in a project. -type ListAutoscalingPoliciesResponse struct { - // Output only. Autoscaling policies list. - Policies []*AutoscalingPolicy `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"` - // Output only. This token is included in the response if there are more - // results to fetch. - 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 *ListAutoscalingPoliciesResponse) Reset() { *m = ListAutoscalingPoliciesResponse{} } -func (m *ListAutoscalingPoliciesResponse) String() string { return proto.CompactTextString(m) } -func (*ListAutoscalingPoliciesResponse) ProtoMessage() {} -func (*ListAutoscalingPoliciesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e49a4a9859d08ad9, []int{9} -} - -func (m *ListAutoscalingPoliciesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListAutoscalingPoliciesResponse.Unmarshal(m, b) -} -func (m *ListAutoscalingPoliciesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListAutoscalingPoliciesResponse.Marshal(b, m, deterministic) -} -func (m *ListAutoscalingPoliciesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAutoscalingPoliciesResponse.Merge(m, src) -} -func (m *ListAutoscalingPoliciesResponse) XXX_Size() int { - return xxx_messageInfo_ListAutoscalingPoliciesResponse.Size(m) -} -func (m *ListAutoscalingPoliciesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListAutoscalingPoliciesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListAutoscalingPoliciesResponse proto.InternalMessageInfo - -func (m *ListAutoscalingPoliciesResponse) GetPolicies() []*AutoscalingPolicy { - if m != nil { - return m.Policies - } - return nil -} - -func (m *ListAutoscalingPoliciesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -func init() { - proto.RegisterType((*AutoscalingPolicy)(nil), "google.cloud.dataproc.v1.AutoscalingPolicy") - proto.RegisterType((*BasicAutoscalingAlgorithm)(nil), "google.cloud.dataproc.v1.BasicAutoscalingAlgorithm") - proto.RegisterType((*BasicYarnAutoscalingConfig)(nil), "google.cloud.dataproc.v1.BasicYarnAutoscalingConfig") - proto.RegisterType((*InstanceGroupAutoscalingPolicyConfig)(nil), "google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig") - proto.RegisterType((*CreateAutoscalingPolicyRequest)(nil), "google.cloud.dataproc.v1.CreateAutoscalingPolicyRequest") - proto.RegisterType((*GetAutoscalingPolicyRequest)(nil), "google.cloud.dataproc.v1.GetAutoscalingPolicyRequest") - proto.RegisterType((*UpdateAutoscalingPolicyRequest)(nil), "google.cloud.dataproc.v1.UpdateAutoscalingPolicyRequest") - proto.RegisterType((*DeleteAutoscalingPolicyRequest)(nil), "google.cloud.dataproc.v1.DeleteAutoscalingPolicyRequest") - proto.RegisterType((*ListAutoscalingPoliciesRequest)(nil), "google.cloud.dataproc.v1.ListAutoscalingPoliciesRequest") - proto.RegisterType((*ListAutoscalingPoliciesResponse)(nil), "google.cloud.dataproc.v1.ListAutoscalingPoliciesResponse") -} - -func init() { - proto.RegisterFile("google/cloud/dataproc/v1/autoscaling_policies.proto", fileDescriptor_e49a4a9859d08ad9) -} - -var fileDescriptor_e49a4a9859d08ad9 = []byte{ - // 1186 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0x41, 0x6f, 0xdc, 0x44, - 0x14, 0xc6, 0x4e, 0x1a, 0x35, 0x93, 0xa6, 0x51, 0x47, 0xc0, 0x6e, 0x36, 0x61, 0x1b, 0x59, 0x1c, - 0x42, 0x22, 0xd6, 0x4a, 0x42, 0x54, 0x08, 0x50, 0xd8, 0x4d, 0x9a, 0xb4, 0x22, 0x48, 0xab, 0x6d, - 0x2b, 0x44, 0x2e, 0xd6, 0xc4, 0x9e, 0xf5, 0x4e, 0x6b, 0x7b, 0xcc, 0x78, 0x36, 0x9b, 0x6d, 0x9a, - 0x4b, 0x4f, 0x20, 0x71, 0x40, 0xea, 0xa1, 0x12, 0xe2, 0x47, 0xc0, 0x3f, 0xe0, 0xcc, 0x11, 0xfe, - 0x40, 0x0f, 0x70, 0x41, 0x1c, 0x39, 0x21, 0x21, 0x21, 0xcf, 0x8c, 0xbd, 0x6e, 0x76, 0xed, 0x74, - 0xa3, 0x72, 0xca, 0x66, 0xde, 0x7b, 0xdf, 0x37, 0xef, 0x7b, 0xef, 0xcd, 0x8c, 0xc1, 0x86, 0x4b, - 0xa9, 0xeb, 0x61, 0xd3, 0xf6, 0x68, 0xd7, 0x31, 0x1d, 0xc4, 0x51, 0xc8, 0xa8, 0x6d, 0x1e, 0xad, - 0x99, 0xa8, 0xcb, 0x69, 0x64, 0x23, 0x8f, 0x04, 0xae, 0x15, 0x52, 0x8f, 0xd8, 0x04, 0x47, 0xb5, - 0x90, 0x51, 0x4e, 0x61, 0x59, 0x06, 0xd5, 0x44, 0x50, 0x2d, 0x09, 0xaa, 0x1d, 0xad, 0x55, 0x16, - 0x15, 0x1c, 0x0a, 0x89, 0x89, 0x82, 0x80, 0x72, 0xc4, 0x09, 0x0d, 0x54, 0x5c, 0xe5, 0x7a, 0xc6, - 0xda, 0x26, 0xd8, 0x73, 0xac, 0x43, 0xdc, 0x41, 0x47, 0x84, 0x32, 0xe5, 0x30, 0x9f, 0x71, 0x60, - 0x38, 0xa2, 0x5d, 0x66, 0x63, 0x65, 0xaa, 0x2a, 0x93, 0xf8, 0xef, 0xb0, 0xdb, 0x36, 0x9d, 0x2e, - 0x13, 0xe0, 0xca, 0xbe, 0x70, 0xd6, 0x8e, 0xfd, 0x90, 0xf7, 0x95, 0xb1, 0x94, 0xc1, 0xb5, 0x3d, - 0x82, 0x03, 0x2e, 0x0d, 0xc6, 0xd3, 0x49, 0x70, 0xad, 0x3e, 0x48, 0xb4, 0x19, 0xe7, 0xd9, 0x87, - 0x57,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xcd, 0x93, 0xa1, 0xce, 0xee, 0x9f, 0x36, 0x66, 0xc0, 0x74, - 0x5a, 0x43, 0xe3, 0x67, 0x0d, 0xcc, 0xe7, 0x96, 0x09, 0x1e, 0x80, 0x99, 0x3e, 0x62, 0x41, 0xa2, - 0x8c, 0x26, 0x94, 0x79, 0xef, 0x9c, 0x82, 0x7f, 0x89, 0x58, 0x90, 0x41, 0xcb, 0xd6, 0x00, 0xc4, - 0x68, 0xaa, 0x02, 0x7b, 0x60, 0xce, 0xa6, 0xd4, 0x73, 0x68, 0x2f, 0xb0, 0x42, 0xcc, 0x08, 0x75, - 0x44, 0xd3, 0xcd, 0xac, 0xcf, 0x27, 0xf8, 0x49, 0x7f, 0xd7, 0x76, 0x54, 0xff, 0x4b, 0x51, 0xaf, - 0x26, 0x61, 0x4d, 0x11, 0x65, 0xfc, 0xa5, 0x83, 0x4a, 0x3e, 0x31, 0x3c, 0x04, 0x6f, 0xb9, 0x0c, - 0xd9, 0xb8, 0xdd, 0xf5, 0x2c, 0x07, 0xdb, 0xd4, 0xf7, 0x49, 0x14, 0x11, 0x1a, 0x58, 0x9c, 0xf8, - 0x98, 0x76, 0xb9, 0xaa, 0x77, 0x31, 0xab, 0xde, 0x5a, 0x48, 0x40, 0x76, 0x32, 0x18, 0xf7, 0x24, - 0x04, 0x5c, 0x05, 0x73, 0x31, 0x29, 0xb6, 0xba, 0xa1, 0xd5, 0x46, 0x36, 0xa7, 0x4c, 0x68, 0xa5, - 0xc9, 0xd0, 0x59, 0x61, 0xbb, 0x1f, 0xee, 0x0a, 0x0b, 0x34, 0xc1, 0x35, 0xe9, 0x2c, 0x52, 0x57, - 0xee, 0xfa, 0xc0, 0x5d, 0x42, 0xed, 0xd0, 0x5e, 0xa0, 0x02, 0xb6, 0xc1, 0x62, 0x8a, 0xee, 0x93, - 0x20, 0x69, 0xd7, 0x36, 0x43, 0x76, 0xbc, 0x3f, 0x31, 0x87, 0x9a, 0xd4, 0xa6, 0xac, 0xa8, 0x3e, - 0x27, 0x81, 0xec, 0xb8, 0x5d, 0xe5, 0x04, 0xf7, 0x40, 0x35, 0xc3, 0x3a, 0x0a, 0x66, 0x72, 0x00, - 0x53, 0x49, 0xb7, 0x30, 0x04, 0x64, 0x3c, 0xd3, 0xc0, 0xdb, 0x2f, 0x33, 0x01, 0x70, 0x19, 0xcc, - 0xc6, 0x34, 0x44, 0xf9, 0x46, 0x42, 0x92, 0x4b, 0x92, 0xe0, 0x8a, 0x4f, 0x82, 0x04, 0x24, 0x12, - 0x9e, 0xe8, 0x38, 0xe3, 0xa9, 0x27, 0x9e, 0x7a, 0xeb, 0x8a, 0x8f, 0x8e, 0x07, 0x9e, 0x0b, 0x60, - 0xaa, 0x87, 0x89, 0xdb, 0xe1, 0x22, 0x69, 0x05, 0xa6, 0x96, 0x8c, 0x1f, 0x35, 0x50, 0xdd, 0x66, - 0x18, 0x71, 0x3c, 0xb4, 0xa5, 0x16, 0xfe, 0xaa, 0x8b, 0x23, 0x0e, 0xef, 0x80, 0xa9, 0x10, 0x31, - 0x1c, 0x70, 0x79, 0xe4, 0x35, 0xd6, 0x9e, 0xd7, 0xf5, 0x7f, 0xea, 0xab, 0xf0, 0xe5, 0x87, 0xb1, - 0xa5, 0x00, 0xe0, 0x36, 0x98, 0x92, 0x13, 0xa5, 0xda, 0x76, 0x35, 0x7f, 0x2c, 0x46, 0x81, 0x88, - 0xbf, 0x86, 0x03, 0x16, 0xf6, 0x30, 0xcf, 0xdd, 0xee, 0x2d, 0x75, 0x1a, 0xbf, 0xb0, 0xd9, 0x31, - 0x4e, 0x0e, 0x79, 0x76, 0x1b, 0x0f, 0x40, 0xf5, 0x7e, 0xe8, 0x14, 0xe9, 0x72, 0x3b, 0x4d, 0x46, - 0x1b, 0x3b, 0x19, 0x59, 0xa7, 0x24, 0x23, 0x17, 0x54, 0x77, 0xb0, 0x87, 0x0b, 0xb8, 0x5e, 0x51, - 0x52, 0x3f, 0x69, 0xa0, 0xba, 0x4f, 0xa2,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, 0x4d, 0x17, 0x07, 0x42, 0x27, 0x73, 0x40, 0x3d, 0xfc, 0xf1, 0xfb, 0x61, 0xf2, 0xfb, - 0x70, 0x4a, 0x38, 0x6f, 0xfc, 0x17, 0x00, 0x00, 0xff, 0xff, 0xa1, 0x94, 0xa6, 0xdd, 0x28, 0x0f, - 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 - -// AutoscalingPolicyServiceClient is the client API for AutoscalingPolicyService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AutoscalingPolicyServiceClient interface { - // Creates new autoscaling policy. - CreateAutoscalingPolicy(ctx context.Context, in *CreateAutoscalingPolicyRequest, opts ...grpc.CallOption) (*AutoscalingPolicy, error) - // Updates (replaces) autoscaling policy. - // - // Disabled check for update_mask, because all updates will be full - // replacements. - UpdateAutoscalingPolicy(ctx context.Context, in *UpdateAutoscalingPolicyRequest, opts ...grpc.CallOption) (*AutoscalingPolicy, error) - // Retrieves autoscaling policy. - GetAutoscalingPolicy(ctx context.Context, in *GetAutoscalingPolicyRequest, opts ...grpc.CallOption) (*AutoscalingPolicy, error) - // Lists autoscaling policies in the project. - ListAutoscalingPolicies(ctx context.Context, in *ListAutoscalingPoliciesRequest, opts ...grpc.CallOption) (*ListAutoscalingPoliciesResponse, error) - // Deletes an autoscaling policy. It is an error to delete an autoscaling - // policy that is in use by one or more clusters. - DeleteAutoscalingPolicy(ctx context.Context, in *DeleteAutoscalingPolicyRequest, opts ...grpc.CallOption) (*empty.Empty, error) -} - -type autoscalingPolicyServiceClient struct { - cc *grpc.ClientConn -} - -func NewAutoscalingPolicyServiceClient(cc *grpc.ClientConn) AutoscalingPolicyServiceClient { - return &autoscalingPolicyServiceClient{cc} -} - -func (c *autoscalingPolicyServiceClient) CreateAutoscalingPolicy(ctx context.Context, in *CreateAutoscalingPolicyRequest, opts ...grpc.CallOption) (*AutoscalingPolicy, error) { - out := new(AutoscalingPolicy) - err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1.AutoscalingPolicyService/CreateAutoscalingPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoscalingPolicyServiceClient) UpdateAutoscalingPolicy(ctx context.Context, in *UpdateAutoscalingPolicyRequest, opts ...grpc.CallOption) (*AutoscalingPolicy, error) { - out := new(AutoscalingPolicy) - err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1.AutoscalingPolicyService/UpdateAutoscalingPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoscalingPolicyServiceClient) GetAutoscalingPolicy(ctx context.Context, in *GetAutoscalingPolicyRequest, opts ...grpc.CallOption) (*AutoscalingPolicy, error) { - out := new(AutoscalingPolicy) - err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1.AutoscalingPolicyService/GetAutoscalingPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoscalingPolicyServiceClient) ListAutoscalingPolicies(ctx context.Context, in *ListAutoscalingPoliciesRequest, opts ...grpc.CallOption) (*ListAutoscalingPoliciesResponse, error) { - out := new(ListAutoscalingPoliciesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1.AutoscalingPolicyService/ListAutoscalingPolicies", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoscalingPolicyServiceClient) DeleteAutoscalingPolicy(ctx context.Context, in *DeleteAutoscalingPolicyRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1.AutoscalingPolicyService/DeleteAutoscalingPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AutoscalingPolicyServiceServer is the server API for AutoscalingPolicyService service. -type AutoscalingPolicyServiceServer interface { - // Creates new autoscaling policy. - CreateAutoscalingPolicy(context.Context, *CreateAutoscalingPolicyRequest) (*AutoscalingPolicy, error) - // Updates (replaces) autoscaling policy. - // - // Disabled check for update_mask, because all updates will be full - // replacements. - UpdateAutoscalingPolicy(context.Context, *UpdateAutoscalingPolicyRequest) (*AutoscalingPolicy, error) - // Retrieves autoscaling policy. - GetAutoscalingPolicy(context.Context, *GetAutoscalingPolicyRequest) (*AutoscalingPolicy, error) - // Lists autoscaling policies in the project. - ListAutoscalingPolicies(context.Context, *ListAutoscalingPoliciesRequest) (*ListAutoscalingPoliciesResponse, error) - // Deletes an autoscaling policy. It is an error to delete an autoscaling - // policy that is in use by one or more clusters. - DeleteAutoscalingPolicy(context.Context, *DeleteAutoscalingPolicyRequest) (*empty.Empty, error) -} - -// UnimplementedAutoscalingPolicyServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAutoscalingPolicyServiceServer struct { -} - -func (*UnimplementedAutoscalingPolicyServiceServer) CreateAutoscalingPolicy(ctx context.Context, req *CreateAutoscalingPolicyRequest) (*AutoscalingPolicy, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateAutoscalingPolicy not implemented") -} -func (*UnimplementedAutoscalingPolicyServiceServer) UpdateAutoscalingPolicy(ctx context.Context, req *UpdateAutoscalingPolicyRequest) (*AutoscalingPolicy, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateAutoscalingPolicy not implemented") -} -func (*UnimplementedAutoscalingPolicyServiceServer) GetAutoscalingPolicy(ctx context.Context, req *GetAutoscalingPolicyRequest) (*AutoscalingPolicy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAutoscalingPolicy not implemented") -} -func (*UnimplementedAutoscalingPolicyServiceServer) ListAutoscalingPolicies(ctx context.Context, req *ListAutoscalingPoliciesRequest) (*ListAutoscalingPoliciesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListAutoscalingPolicies not implemented") -} -func (*UnimplementedAutoscalingPolicyServiceServer) DeleteAutoscalingPolicy(ctx context.Context, req *DeleteAutoscalingPolicyRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteAutoscalingPolicy not implemented") -} - -func RegisterAutoscalingPolicyServiceServer(s *grpc.Server, srv AutoscalingPolicyServiceServer) { - s.RegisterService(&_AutoscalingPolicyService_serviceDesc, srv) -} - -func _AutoscalingPolicyService_CreateAutoscalingPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateAutoscalingPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoscalingPolicyServiceServer).CreateAutoscalingPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dataproc.v1.AutoscalingPolicyService/CreateAutoscalingPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoscalingPolicyServiceServer).CreateAutoscalingPolicy(ctx, req.(*CreateAutoscalingPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoscalingPolicyService_UpdateAutoscalingPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateAutoscalingPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoscalingPolicyServiceServer).UpdateAutoscalingPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dataproc.v1.AutoscalingPolicyService/UpdateAutoscalingPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoscalingPolicyServiceServer).UpdateAutoscalingPolicy(ctx, req.(*UpdateAutoscalingPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoscalingPolicyService_GetAutoscalingPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAutoscalingPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoscalingPolicyServiceServer).GetAutoscalingPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dataproc.v1.AutoscalingPolicyService/GetAutoscalingPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoscalingPolicyServiceServer).GetAutoscalingPolicy(ctx, req.(*GetAutoscalingPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoscalingPolicyService_ListAutoscalingPolicies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListAutoscalingPoliciesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoscalingPolicyServiceServer).ListAutoscalingPolicies(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dataproc.v1.AutoscalingPolicyService/ListAutoscalingPolicies", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoscalingPolicyServiceServer).ListAutoscalingPolicies(ctx, req.(*ListAutoscalingPoliciesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoscalingPolicyService_DeleteAutoscalingPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteAutoscalingPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoscalingPolicyServiceServer).DeleteAutoscalingPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dataproc.v1.AutoscalingPolicyService/DeleteAutoscalingPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoscalingPolicyServiceServer).DeleteAutoscalingPolicy(ctx, req.(*DeleteAutoscalingPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _AutoscalingPolicyService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.dataproc.v1.AutoscalingPolicyService", - HandlerType: (*AutoscalingPolicyServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateAutoscalingPolicy", - Handler: _AutoscalingPolicyService_CreateAutoscalingPolicy_Handler, - }, - { - MethodName: "UpdateAutoscalingPolicy", - Handler: _AutoscalingPolicyService_UpdateAutoscalingPolicy_Handler, - }, - { - MethodName: "GetAutoscalingPolicy", - Handler: _AutoscalingPolicyService_GetAutoscalingPolicy_Handler, - }, - { - MethodName: "ListAutoscalingPolicies", - Handler: _AutoscalingPolicyService_ListAutoscalingPolicies_Handler, - }, - { - MethodName: "DeleteAutoscalingPolicy", - Handler: _AutoscalingPolicyService_DeleteAutoscalingPolicy_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/dataproc/v1/autoscaling_policies.proto", -} 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 deleted file mode 100644 index 31e6fc93..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/clusters.pb.go +++ /dev/null @@ -1,2589 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/dataproc/v1/clusters.proto - -package dataproc - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The cluster state. -type ClusterStatus_State int32 - -const ( - // The cluster state is unknown. - ClusterStatus_UNKNOWN ClusterStatus_State = 0 - // The cluster is being created and set up. It is not ready for use. - ClusterStatus_CREATING ClusterStatus_State = 1 - // The cluster is currently running and healthy. It is ready for use. - ClusterStatus_RUNNING ClusterStatus_State = 2 - // The cluster encountered an error. It is not ready for use. - ClusterStatus_ERROR ClusterStatus_State = 3 - // The cluster is being deleted. It cannot be used. - ClusterStatus_DELETING ClusterStatus_State = 4 - // The cluster is being updated. It continues to accept and process jobs. - ClusterStatus_UPDATING ClusterStatus_State = 5 -) - -var ClusterStatus_State_name = map[int32]string{ - 0: "UNKNOWN", - 1: "CREATING", - 2: "RUNNING", - 3: "ERROR", - 4: "DELETING", - 5: "UPDATING", -} - -var ClusterStatus_State_value = map[string]int32{ - "UNKNOWN": 0, - "CREATING": 1, - "RUNNING": 2, - "ERROR": 3, - "DELETING": 4, - "UPDATING": 5, -} - -func (x ClusterStatus_State) String() string { - return proto.EnumName(ClusterStatus_State_name, int32(x)) -} - -func (ClusterStatus_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_29f9b85b3c7e3a5f, []int{10, 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 - // exhausted). - // - // Applies to RUNNING state. - ClusterStatus_UNHEALTHY ClusterStatus_Substate = 1 - // The agent-reported status is out of date (may occur if - // Cloud Dataproc loses communication with Agent). - // - // Applies to RUNNING state. - ClusterStatus_STALE_STATUS ClusterStatus_Substate = 2 -) - -var ClusterStatus_Substate_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNHEALTHY", - 2: "STALE_STATUS", -} - -var ClusterStatus_Substate_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNHEALTHY": 1, - "STALE_STATUS": 2, -} - -func (x ClusterStatus_Substate) String() string { - return proto.EnumName(ClusterStatus_Substate_name, int32(x)) -} - -func (ClusterStatus_Substate) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_29f9b85b3c7e3a5f, []int{10, 1} -} - -// Describes the identifying information, config, and status of -// 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"` - // Required. The cluster name. Cluster names within a project must be - // unique. Names of deleted clusters can be reused. - ClusterName string `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` - // Required. The cluster config. Note that Cloud Dataproc may set - // default values, and values may change when clusters are updated. - Config *ClusterConfig `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"` - // Optional. The labels to associate with this cluster. - // 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 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. - Status *ClusterStatus `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` - // 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 - // 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. - // - // **Beta Feature**: This report is available for testing purposes only. It - // may be changed before final release. - Metrics *ClusterMetrics `protobuf:"bytes,9,opt,name=metrics,proto3" json:"metrics,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_29f9b85b3c7e3a5f, []int{0} -} - -func (m *Cluster) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Cluster.Unmarshal(m, b) -} -func (m *Cluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Cluster.Marshal(b, m, deterministic) -} -func (m *Cluster) XXX_Merge(src proto.Message) { - xxx_messageInfo_Cluster.Merge(m, src) -} -func (m *Cluster) XXX_Size() int { - return xxx_messageInfo_Cluster.Size(m) -} -func (m *Cluster) XXX_DiscardUnknown() { - xxx_messageInfo_Cluster.DiscardUnknown(m) -} - -var xxx_messageInfo_Cluster proto.InternalMessageInfo - -func (m *Cluster) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *Cluster) GetClusterName() string { - if m != nil { - return m.ClusterName - } - return "" -} - -func (m *Cluster) GetConfig() *ClusterConfig { - if m != nil { - return m.Config - } - return nil -} - -func (m *Cluster) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -func (m *Cluster) GetStatus() *ClusterStatus { - if m != nil { - return m.Status - } - return nil -} - -func (m *Cluster) GetStatusHistory() []*ClusterStatus { - if m != nil { - return m.StatusHistory - } - return nil -} - -func (m *Cluster) GetClusterUuid() string { - if m != nil { - return m.ClusterUuid - } - return "" -} - -func (m *Cluster) GetMetrics() *ClusterMetrics { - if m != nil { - return m.Metrics - } - return nil -} - -// The cluster config. -type ClusterConfig struct { - // Optional. A Google Cloud Storage bucket used to stage job - // dependencies, config files, and job driver console output. - // If you do not specify a staging bucket, Cloud - // Dataproc will determine a 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 create - // and manage this project-level, per-location bucket (see - // [Cloud Dataproc staging - // bucket](/dataproc/docs/concepts/configuring-clusters/staging-bucket)). - ConfigBucket string `protobuf:"bytes,1,opt,name=config_bucket,json=configBucket,proto3" json:"config_bucket,omitempty"` - // Optional. 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 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 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 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. - SoftwareConfig *SoftwareConfig `protobuf:"bytes,13,opt,name=software_config,json=softwareConfig,proto3" json:"software_config,omitempty"` - // Optional. Commands to execute on each node after config is - // completed. By default, executables are run on master and all worker nodes. - // You can test a node's `role` metadata to run an executable on - // a master or worker node, as shown below using `curl` (you can also use - // `wget`): - // - // ROLE=$(curl -H Metadata-Flavor:Google - // http://metadata/computeMetadata/v1/instance/attributes/dataproc-role) - // if [[ "${ROLE}" == 'Master' ]]; then - // ... master specific actions ... - // else - // ... worker specific actions ... - // fi - InitializationActions []*NodeInitializationAction `protobuf:"bytes,11,rep,name=initialization_actions,json=initializationActions,proto3" json:"initialization_actions,omitempty"` - // Optional. Encryption settings for the cluster. - EncryptionConfig *EncryptionConfig `protobuf:"bytes,15,opt,name=encryption_config,json=encryptionConfig,proto3" json:"encryption_config,omitempty"` - // Optional. Autoscaling config for the policy associated with the cluster. - // Cluster does not autoscale if this field is unset. - AutoscalingConfig *AutoscalingConfig `protobuf:"bytes,18,opt,name=autoscaling_config,json=autoscalingConfig,proto3" json:"autoscaling_config,omitempty"` - // Optional. Security settings for the cluster. - SecurityConfig *SecurityConfig `protobuf:"bytes,16,opt,name=security_config,json=securityConfig,proto3" json:"security_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_29f9b85b3c7e3a5f, []int{1} -} - -func (m *ClusterConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClusterConfig.Unmarshal(m, b) -} -func (m *ClusterConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClusterConfig.Marshal(b, m, deterministic) -} -func (m *ClusterConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClusterConfig.Merge(m, src) -} -func (m *ClusterConfig) XXX_Size() int { - return xxx_messageInfo_ClusterConfig.Size(m) -} -func (m *ClusterConfig) XXX_DiscardUnknown() { - xxx_messageInfo_ClusterConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_ClusterConfig proto.InternalMessageInfo - -func (m *ClusterConfig) GetConfigBucket() string { - if m != nil { - return m.ConfigBucket - } - return "" -} - -func (m *ClusterConfig) GetGceClusterConfig() *GceClusterConfig { - if m != nil { - return m.GceClusterConfig - } - return nil -} - -func (m *ClusterConfig) GetMasterConfig() *InstanceGroupConfig { - if m != nil { - return m.MasterConfig - } - return nil -} - -func (m *ClusterConfig) GetWorkerConfig() *InstanceGroupConfig { - if m != nil { - return m.WorkerConfig - } - return nil -} - -func (m *ClusterConfig) GetSecondaryWorkerConfig() *InstanceGroupConfig { - if m != nil { - return m.SecondaryWorkerConfig - } - return nil -} - -func (m *ClusterConfig) GetSoftwareConfig() *SoftwareConfig { - if m != nil { - return m.SoftwareConfig - } - return nil -} - -func (m *ClusterConfig) GetInitializationActions() []*NodeInitializationAction { - if m != nil { - return m.InitializationActions - } - return nil -} - -func (m *ClusterConfig) GetEncryptionConfig() *EncryptionConfig { - if m != nil { - return m.EncryptionConfig - } - return nil -} - -func (m *ClusterConfig) GetAutoscalingConfig() *AutoscalingConfig { - if m != nil { - return m.AutoscalingConfig - } - return nil -} - -func (m *ClusterConfig) GetSecurityConfig() *SecurityConfig { - if m != nil { - return m.SecurityConfig - } - return nil -} - -// Autoscaling Policy config associated with the cluster. -type AutoscalingConfig struct { - // Optional. The autoscaling policy used by the cluster. - // - // Only resource names including projectid and location (region) are valid. - // Examples: - // - // * `https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]` - // * `projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]` - // - // Note that the policy must be in the same project and Cloud Dataproc region. - PolicyUri string `protobuf:"bytes,1,opt,name=policy_uri,json=policyUri,proto3" json:"policy_uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AutoscalingConfig) Reset() { *m = AutoscalingConfig{} } -func (m *AutoscalingConfig) String() string { return proto.CompactTextString(m) } -func (*AutoscalingConfig) ProtoMessage() {} -func (*AutoscalingConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_29f9b85b3c7e3a5f, []int{2} -} - -func (m *AutoscalingConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AutoscalingConfig.Unmarshal(m, b) -} -func (m *AutoscalingConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AutoscalingConfig.Marshal(b, m, deterministic) -} -func (m *AutoscalingConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_AutoscalingConfig.Merge(m, src) -} -func (m *AutoscalingConfig) XXX_Size() int { - return xxx_messageInfo_AutoscalingConfig.Size(m) -} -func (m *AutoscalingConfig) XXX_DiscardUnknown() { - xxx_messageInfo_AutoscalingConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_AutoscalingConfig proto.InternalMessageInfo - -func (m *AutoscalingConfig) GetPolicyUri() string { - if m != nil { - return m.PolicyUri - } - return "" -} - -// 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_29f9b85b3c7e3a5f, []int{3} -} - -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 (m *EncryptionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_EncryptionConfig.Merge(m, 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 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 - // always be present. - // - // A full URL, partial URI, or short name are valid. Examples: - // - // * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]` - // * `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 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 - // [Using Subnetworks](/compute/docs/subnetworks) for more information). - // - // A full URL, partial URI, or short name are valid. Examples: - // - // * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default` - // * `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 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: - // - // * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/subnetworks/sub0` - // * `projects/[project_id]/regions/us-east1/subnetworks/sub0` - // * `sub0` - SubnetworkUri string `protobuf:"bytes,6,opt,name=subnetwork_uri,json=subnetworkUri,proto3" json:"subnetwork_uri,omitempty"` - // Optional. If true, all instances in the cluster will only have internal IP - // addresses. By default, clusters are not restricted to internal IP - // addresses, and will have ephemeral external IP addresses assigned to each - // instance. This `internal_ip_only` restriction can only be enabled for - // subnetwork enabled networks, and all off-cluster dependencies must be - // configured to be 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 - // Compute Engine service account. Custom service accounts need - // permissions equivalent to the following IAM roles: - // - // * roles/logging.logWriter - // * roles/storage.objectAdmin - // - // (see - // https://cloud.google.com/compute/docs/access/service-accounts#custom_service_accounts - // 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 - // Compute Engine instances. The following base set of scopes is always - // included: - // - // * https://www.googleapis.com/auth/cloud.useraccounts.readonly - // * https://www.googleapis.com/auth/devstorage.read_write - // * https://www.googleapis.com/auth/logging.write - // - // If no scopes are specified, the following defaults are also provided: - // - // * https://www.googleapis.com/auth/bigquery - // * https://www.googleapis.com/auth/bigtable.admin.table - // * 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 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 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:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_29f9b85b3c7e3a5f, []int{4} -} - -func (m *GceClusterConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GceClusterConfig.Unmarshal(m, b) -} -func (m *GceClusterConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GceClusterConfig.Marshal(b, m, deterministic) -} -func (m *GceClusterConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_GceClusterConfig.Merge(m, src) -} -func (m *GceClusterConfig) XXX_Size() int { - return xxx_messageInfo_GceClusterConfig.Size(m) -} -func (m *GceClusterConfig) XXX_DiscardUnknown() { - xxx_messageInfo_GceClusterConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_GceClusterConfig proto.InternalMessageInfo - -func (m *GceClusterConfig) GetZoneUri() string { - if m != nil { - return m.ZoneUri - } - return "" -} - -func (m *GceClusterConfig) GetNetworkUri() string { - if m != nil { - return m.NetworkUri - } - return "" -} - -func (m *GceClusterConfig) GetSubnetworkUri() string { - if m != nil { - return m.SubnetworkUri - } - return "" -} - -func (m *GceClusterConfig) GetInternalIpOnly() bool { - if m != nil { - return m.InternalIpOnly - } - return false -} - -func (m *GceClusterConfig) GetServiceAccount() string { - if m != nil { - return m.ServiceAccount - } - return "" -} - -func (m *GceClusterConfig) GetServiceAccountScopes() []string { - if m != nil { - return m.ServiceAccountScopes - } - return nil -} - -func (m *GceClusterConfig) GetTags() []string { - if m != nil { - return m.Tags - } - return nil -} - -func (m *GceClusterConfig) GetMetadata() map[string]string { - if m != nil { - return m.Metadata - } - return nil -} - -// 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"` - // 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"` - // 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. - // - // 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 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 Compute Engine accelerator configuration for these - // instances. - Accelerators []*AcceleratorConfig `protobuf:"bytes,8,rep,name=accelerators,proto3" json:"accelerators,omitempty"` - // Optional. Specifies the minimum cpu platform for the Instance Group. - // See [Cloud Dataproc→Minimum CPU Platform] - // (/dataproc/docs/concepts/compute/dataproc-min-cpu). - MinCpuPlatform string `protobuf:"bytes,9,opt,name=min_cpu_platform,json=minCpuPlatform,proto3" json:"min_cpu_platform,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_29f9b85b3c7e3a5f, []int{5} -} - -func (m *InstanceGroupConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InstanceGroupConfig.Unmarshal(m, b) -} -func (m *InstanceGroupConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InstanceGroupConfig.Marshal(b, m, deterministic) -} -func (m *InstanceGroupConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_InstanceGroupConfig.Merge(m, src) -} -func (m *InstanceGroupConfig) XXX_Size() int { - return xxx_messageInfo_InstanceGroupConfig.Size(m) -} -func (m *InstanceGroupConfig) XXX_DiscardUnknown() { - xxx_messageInfo_InstanceGroupConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_InstanceGroupConfig proto.InternalMessageInfo - -func (m *InstanceGroupConfig) GetNumInstances() int32 { - if m != nil { - return m.NumInstances - } - return 0 -} - -func (m *InstanceGroupConfig) GetInstanceNames() []string { - if m != nil { - return m.InstanceNames - } - return nil -} - -func (m *InstanceGroupConfig) GetImageUri() string { - if m != nil { - return m.ImageUri - } - return "" -} - -func (m *InstanceGroupConfig) GetMachineTypeUri() string { - if m != nil { - return m.MachineTypeUri - } - return "" -} - -func (m *InstanceGroupConfig) GetDiskConfig() *DiskConfig { - if m != nil { - return m.DiskConfig - } - return nil -} - -func (m *InstanceGroupConfig) GetIsPreemptible() bool { - if m != nil { - return m.IsPreemptible - } - return false -} - -func (m *InstanceGroupConfig) GetManagedGroupConfig() *ManagedGroupConfig { - if m != nil { - return m.ManagedGroupConfig - } - return nil -} - -func (m *InstanceGroupConfig) GetAccelerators() []*AcceleratorConfig { - if m != nil { - return m.Accelerators - } - return nil -} - -func (m *InstanceGroupConfig) GetMinCpuPlatform() string { - if m != nil { - return m.MinCpuPlatform - } - return "" -} - -// 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 - // 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. - 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:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_29f9b85b3c7e3a5f, []int{6} -} - -func (m *ManagedGroupConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ManagedGroupConfig.Unmarshal(m, b) -} -func (m *ManagedGroupConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ManagedGroupConfig.Marshal(b, m, deterministic) -} -func (m *ManagedGroupConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ManagedGroupConfig.Merge(m, src) -} -func (m *ManagedGroupConfig) XXX_Size() int { - return xxx_messageInfo_ManagedGroupConfig.Size(m) -} -func (m *ManagedGroupConfig) XXX_DiscardUnknown() { - xxx_messageInfo_ManagedGroupConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_ManagedGroupConfig proto.InternalMessageInfo - -func (m *ManagedGroupConfig) GetInstanceTemplateName() string { - if m != nil { - return m.InstanceTemplateName - } - return "" -} - -func (m *ManagedGroupConfig) GetInstanceGroupManagerName() string { - if m != nil { - return m.InstanceGroupManagerName - } - return "" -} - -// Specifies the type and number of accelerator cards attached to the instances -// 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 - // [Compute Engine - // AcceleratorTypes](/compute/docs/reference/beta/acceleratorTypes). - // - // 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"` - 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_29f9b85b3c7e3a5f, []int{7} -} - -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 (m *AcceleratorConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_AcceleratorConfig.Merge(m, 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) GetAcceleratorTypeUri() string { - if m != nil { - return m.AcceleratorTypeUri - } - return "" -} - -func (m *AcceleratorConfig) GetAcceleratorCount() int32 { - if m != nil { - return m.AcceleratorCount - } - return 0 -} - -// 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). - // If SSDs are not attached, the boot disk is used to store runtime logs and - // [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. - // If one or more SSDs are attached, this runtime bulk - // data is spread across them, and the boot disk contains only basic - // config and installed binaries. - NumLocalSsds int32 `protobuf:"varint,2,opt,name=num_local_ssds,json=numLocalSsds,proto3" json:"num_local_ssds,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_29f9b85b3c7e3a5f, []int{8} -} - -func (m *DiskConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiskConfig.Unmarshal(m, b) -} -func (m *DiskConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiskConfig.Marshal(b, m, deterministic) -} -func (m *DiskConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiskConfig.Merge(m, src) -} -func (m *DiskConfig) XXX_Size() int { - return xxx_messageInfo_DiskConfig.Size(m) -} -func (m *DiskConfig) XXX_DiscardUnknown() { - xxx_messageInfo_DiskConfig.DiscardUnknown(m) -} - -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 - } - return 0 -} - -func (m *DiskConfig) GetNumLocalSsds() int32 { - if m != nil { - return m.NumLocalSsds - } - return 0 -} - -// Specifies an executable to run on a fully configured node and a -// timeout period for executable completion. -type NodeInitializationAction struct { - // 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 - // name of the executable that caused the error and the exceeded timeout - // period) if the executable is not completed at end of the timeout period. - ExecutionTimeout *duration.Duration `protobuf:"bytes,2,opt,name=execution_timeout,json=executionTimeout,proto3" json:"execution_timeout,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *NodeInitializationAction) Reset() { *m = NodeInitializationAction{} } -func (m *NodeInitializationAction) String() string { return proto.CompactTextString(m) } -func (*NodeInitializationAction) ProtoMessage() {} -func (*NodeInitializationAction) Descriptor() ([]byte, []int) { - return fileDescriptor_29f9b85b3c7e3a5f, []int{9} -} - -func (m *NodeInitializationAction) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodeInitializationAction.Unmarshal(m, b) -} -func (m *NodeInitializationAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodeInitializationAction.Marshal(b, m, deterministic) -} -func (m *NodeInitializationAction) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeInitializationAction.Merge(m, src) -} -func (m *NodeInitializationAction) XXX_Size() int { - return xxx_messageInfo_NodeInitializationAction.Size(m) -} -func (m *NodeInitializationAction) XXX_DiscardUnknown() { - xxx_messageInfo_NodeInitializationAction.DiscardUnknown(m) -} - -var xxx_messageInfo_NodeInitializationAction proto.InternalMessageInfo - -func (m *NodeInitializationAction) GetExecutableFile() string { - if m != nil { - return m.ExecutableFile - } - return "" -} - -func (m *NodeInitializationAction) GetExecutionTimeout() *duration.Duration { - if m != nil { - return m.ExecutionTimeout - } - return nil -} - -// The status of a cluster and its instances. -type ClusterStatus struct { - // 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"` - // Optional. Output only. 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. - 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 - // 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:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_29f9b85b3c7e3a5f, []int{10} -} - -func (m *ClusterStatus) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClusterStatus.Unmarshal(m, b) -} -func (m *ClusterStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClusterStatus.Marshal(b, m, deterministic) -} -func (m *ClusterStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClusterStatus.Merge(m, src) -} -func (m *ClusterStatus) XXX_Size() int { - return xxx_messageInfo_ClusterStatus.Size(m) -} -func (m *ClusterStatus) XXX_DiscardUnknown() { - xxx_messageInfo_ClusterStatus.DiscardUnknown(m) -} - -var xxx_messageInfo_ClusterStatus proto.InternalMessageInfo - -func (m *ClusterStatus) GetState() ClusterStatus_State { - if m != nil { - return m.State - } - return ClusterStatus_UNKNOWN -} - -func (m *ClusterStatus) GetDetail() string { - if m != nil { - return m.Detail - } - return "" -} - -func (m *ClusterStatus) GetStateStartTime() *timestamp.Timestamp { - if m != nil { - return m.StateStartTime - } - return nil -} - -func (m *ClusterStatus) GetSubstate() ClusterStatus_Substate { - if m != nil { - return m.Substate - } - return ClusterStatus_UNSPECIFIED -} - -// Security related configuration, including Kerberos. -type SecurityConfig struct { - // Kerberos related configuration. - KerberosConfig *KerberosConfig `protobuf:"bytes,1,opt,name=kerberos_config,json=kerberosConfig,proto3" json:"kerberos_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SecurityConfig) Reset() { *m = SecurityConfig{} } -func (m *SecurityConfig) String() string { return proto.CompactTextString(m) } -func (*SecurityConfig) ProtoMessage() {} -func (*SecurityConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_29f9b85b3c7e3a5f, []int{11} -} - -func (m *SecurityConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SecurityConfig.Unmarshal(m, b) -} -func (m *SecurityConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SecurityConfig.Marshal(b, m, deterministic) -} -func (m *SecurityConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_SecurityConfig.Merge(m, src) -} -func (m *SecurityConfig) XXX_Size() int { - return xxx_messageInfo_SecurityConfig.Size(m) -} -func (m *SecurityConfig) XXX_DiscardUnknown() { - xxx_messageInfo_SecurityConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_SecurityConfig proto.InternalMessageInfo - -func (m *SecurityConfig) GetKerberosConfig() *KerberosConfig { - if m != nil { - return m.KerberosConfig - } - return nil -} - -// Specifies Kerberos related configuration. -type KerberosConfig struct { - // Optional. Flag to indicate whether to Kerberize the cluster. - EnableKerberos bool `protobuf:"varint,1,opt,name=enable_kerberos,json=enableKerberos,proto3" json:"enable_kerberos,omitempty"` - // Required. The Cloud Storage URI of a KMS encrypted file containing the root - // principal password. - RootPrincipalPasswordUri string `protobuf:"bytes,2,opt,name=root_principal_password_uri,json=rootPrincipalPasswordUri,proto3" json:"root_principal_password_uri,omitempty"` - // Required. The uri of the KMS key used to encrypt various sensitive - // files. - KmsKeyUri string `protobuf:"bytes,3,opt,name=kms_key_uri,json=kmsKeyUri,proto3" json:"kms_key_uri,omitempty"` - // Optional. The Cloud Storage URI of the keystore file used for SSL - // encryption. If not provided, Dataproc will provide a self-signed - // certificate. - KeystoreUri string `protobuf:"bytes,4,opt,name=keystore_uri,json=keystoreUri,proto3" json:"keystore_uri,omitempty"` - // Optional. The Cloud Storage URI of the truststore file used for SSL - // encryption. If not provided, Dataproc will provide a self-signed - // certificate. - TruststoreUri string `protobuf:"bytes,5,opt,name=truststore_uri,json=truststoreUri,proto3" json:"truststore_uri,omitempty"` - // Optional. The Cloud Storage URI of a KMS encrypted file containing the - // password to the user provided keystore. For the self-signed certificate, - // this password is generated by Dataproc. - KeystorePasswordUri string `protobuf:"bytes,6,opt,name=keystore_password_uri,json=keystorePasswordUri,proto3" json:"keystore_password_uri,omitempty"` - // Optional. The Cloud Storage URI of a KMS encrypted file containing the - // password to the user provided key. For the self-signed certificate, this - // password is generated by Dataproc. - KeyPasswordUri string `protobuf:"bytes,7,opt,name=key_password_uri,json=keyPasswordUri,proto3" json:"key_password_uri,omitempty"` - // Optional. The Cloud Storage URI of a KMS encrypted file containing the - // password to the user provided truststore. For the self-signed certificate, - // this password is generated by Dataproc. - TruststorePasswordUri string `protobuf:"bytes,8,opt,name=truststore_password_uri,json=truststorePasswordUri,proto3" json:"truststore_password_uri,omitempty"` - // Optional. The remote realm the Dataproc on-cluster KDC will trust, should - // the user enable cross realm trust. - CrossRealmTrustRealm string `protobuf:"bytes,9,opt,name=cross_realm_trust_realm,json=crossRealmTrustRealm,proto3" json:"cross_realm_trust_realm,omitempty"` - // Optional. The KDC (IP or hostname) for the remote trusted realm in a cross - // realm trust relationship. - CrossRealmTrustKdc string `protobuf:"bytes,10,opt,name=cross_realm_trust_kdc,json=crossRealmTrustKdc,proto3" json:"cross_realm_trust_kdc,omitempty"` - // Optional. The admin server (IP or hostname) for the remote trusted realm in - // a cross realm trust relationship. - CrossRealmTrustAdminServer string `protobuf:"bytes,11,opt,name=cross_realm_trust_admin_server,json=crossRealmTrustAdminServer,proto3" json:"cross_realm_trust_admin_server,omitempty"` - // Optional. The Cloud Storage URI of a KMS encrypted file containing the - // shared password between the on-cluster Kerberos realm and the remote - // trusted realm, in a cross realm trust relationship. - CrossRealmTrustSharedPasswordUri string `protobuf:"bytes,12,opt,name=cross_realm_trust_shared_password_uri,json=crossRealmTrustSharedPasswordUri,proto3" json:"cross_realm_trust_shared_password_uri,omitempty"` - // Optional. The Cloud Storage URI of a KMS encrypted file containing the - // master key of the KDC database. - KdcDbKeyUri string `protobuf:"bytes,13,opt,name=kdc_db_key_uri,json=kdcDbKeyUri,proto3" json:"kdc_db_key_uri,omitempty"` - // Optional. The lifetime of the ticket granting ticket, in hours. - // If not specified, or user specifies 0, then default value 10 - // will be used. - TgtLifetimeHours int32 `protobuf:"varint,14,opt,name=tgt_lifetime_hours,json=tgtLifetimeHours,proto3" json:"tgt_lifetime_hours,omitempty"` - // Optional. The name of the on-cluster Kerberos realm. - // If not specified, the uppercased domain of hostnames will be the realm. - Realm string `protobuf:"bytes,15,opt,name=realm,proto3" json:"realm,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *KerberosConfig) Reset() { *m = KerberosConfig{} } -func (m *KerberosConfig) String() string { return proto.CompactTextString(m) } -func (*KerberosConfig) ProtoMessage() {} -func (*KerberosConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_29f9b85b3c7e3a5f, []int{12} -} - -func (m *KerberosConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_KerberosConfig.Unmarshal(m, b) -} -func (m *KerberosConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_KerberosConfig.Marshal(b, m, deterministic) -} -func (m *KerberosConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_KerberosConfig.Merge(m, src) -} -func (m *KerberosConfig) XXX_Size() int { - return xxx_messageInfo_KerberosConfig.Size(m) -} -func (m *KerberosConfig) XXX_DiscardUnknown() { - xxx_messageInfo_KerberosConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_KerberosConfig proto.InternalMessageInfo - -func (m *KerberosConfig) GetEnableKerberos() bool { - if m != nil { - return m.EnableKerberos - } - return false -} - -func (m *KerberosConfig) GetRootPrincipalPasswordUri() string { - if m != nil { - return m.RootPrincipalPasswordUri - } - return "" -} - -func (m *KerberosConfig) GetKmsKeyUri() string { - if m != nil { - return m.KmsKeyUri - } - return "" -} - -func (m *KerberosConfig) GetKeystoreUri() string { - if m != nil { - return m.KeystoreUri - } - return "" -} - -func (m *KerberosConfig) GetTruststoreUri() string { - if m != nil { - return m.TruststoreUri - } - return "" -} - -func (m *KerberosConfig) GetKeystorePasswordUri() string { - if m != nil { - return m.KeystorePasswordUri - } - return "" -} - -func (m *KerberosConfig) GetKeyPasswordUri() string { - if m != nil { - return m.KeyPasswordUri - } - return "" -} - -func (m *KerberosConfig) GetTruststorePasswordUri() string { - if m != nil { - return m.TruststorePasswordUri - } - return "" -} - -func (m *KerberosConfig) GetCrossRealmTrustRealm() string { - if m != nil { - return m.CrossRealmTrustRealm - } - return "" -} - -func (m *KerberosConfig) GetCrossRealmTrustKdc() string { - if m != nil { - return m.CrossRealmTrustKdc - } - return "" -} - -func (m *KerberosConfig) GetCrossRealmTrustAdminServer() string { - if m != nil { - return m.CrossRealmTrustAdminServer - } - return "" -} - -func (m *KerberosConfig) GetCrossRealmTrustSharedPasswordUri() string { - if m != nil { - return m.CrossRealmTrustSharedPasswordUri - } - return "" -} - -func (m *KerberosConfig) GetKdcDbKeyUri() string { - if m != nil { - return m.KdcDbKeyUri - } - return "" -} - -func (m *KerberosConfig) GetTgtLifetimeHours() int32 { - if m != nil { - return m.TgtLifetimeHours - } - return 0 -} - -func (m *KerberosConfig) GetRealm() string { - if m != nil { - return m.Realm - } - return "" -} - -// Specifies the selection and config of software inside the cluster. -type SoftwareConfig struct { - // 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 Debian 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. - // - // Property keys are specified in `prefix:property` format, for example - // `core:hadoop.tmp.dir`. The following are supported prefixes - // and their mappings: - // - // * capacity-scheduler: `capacity-scheduler.xml` - // * core: `core-site.xml` - // * distcp: `distcp-default.xml` - // * hdfs: `hdfs-site.xml` - // * hive: `hive-site.xml` - // * mapred: `mapred-site.xml` - // * pig: `pig.properties` - // * spark: `spark-defaults.conf` - // * yarn: `yarn-site.xml` - // - // For more information, see - // [Cluster properties](/dataproc/docs/concepts/cluster-properties). - Properties map[string]string `protobuf:"bytes,2,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Optional. The set of components to activate on the cluster. - OptionalComponents []Component `protobuf:"varint,3,rep,packed,name=optional_components,json=optionalComponents,proto3,enum=google.cloud.dataproc.v1.Component" json:"optional_components,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_29f9b85b3c7e3a5f, []int{13} -} - -func (m *SoftwareConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SoftwareConfig.Unmarshal(m, b) -} -func (m *SoftwareConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SoftwareConfig.Marshal(b, m, deterministic) -} -func (m *SoftwareConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_SoftwareConfig.Merge(m, src) -} -func (m *SoftwareConfig) XXX_Size() int { - return xxx_messageInfo_SoftwareConfig.Size(m) -} -func (m *SoftwareConfig) XXX_DiscardUnknown() { - xxx_messageInfo_SoftwareConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_SoftwareConfig proto.InternalMessageInfo - -func (m *SoftwareConfig) GetImageVersion() string { - if m != nil { - return m.ImageVersion - } - return "" -} - -func (m *SoftwareConfig) GetProperties() map[string]string { - if m != nil { - return m.Properties - } - return nil -} - -func (m *SoftwareConfig) GetOptionalComponents() []Component { - if m != nil { - return m.OptionalComponents - } - return nil -} - -// 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. -type ClusterMetrics struct { - // The HDFS metrics. - HdfsMetrics map[string]int64 `protobuf:"bytes,1,rep,name=hdfs_metrics,json=hdfsMetrics,proto3" json:"hdfs_metrics,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - // The YARN metrics. - YarnMetrics map[string]int64 `protobuf:"bytes,2,rep,name=yarn_metrics,json=yarnMetrics,proto3" json:"yarn_metrics,omitempty" protobuf_key:"bytes,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 *ClusterMetrics) Reset() { *m = ClusterMetrics{} } -func (m *ClusterMetrics) String() string { return proto.CompactTextString(m) } -func (*ClusterMetrics) ProtoMessage() {} -func (*ClusterMetrics) Descriptor() ([]byte, []int) { - return fileDescriptor_29f9b85b3c7e3a5f, []int{14} -} - -func (m *ClusterMetrics) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClusterMetrics.Unmarshal(m, b) -} -func (m *ClusterMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClusterMetrics.Marshal(b, m, deterministic) -} -func (m *ClusterMetrics) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClusterMetrics.Merge(m, src) -} -func (m *ClusterMetrics) XXX_Size() int { - return xxx_messageInfo_ClusterMetrics.Size(m) -} -func (m *ClusterMetrics) XXX_DiscardUnknown() { - xxx_messageInfo_ClusterMetrics.DiscardUnknown(m) -} - -var xxx_messageInfo_ClusterMetrics proto.InternalMessageInfo - -func (m *ClusterMetrics) GetHdfsMetrics() map[string]int64 { - if m != nil { - return m.HdfsMetrics - } - return nil -} - -func (m *ClusterMetrics) GetYarnMetrics() map[string]int64 { - if m != nil { - return m.YarnMetrics - } - return nil -} - -// A request to create a cluster. -type CreateClusterRequest struct { - // Required. The ID of the Google Cloud Platform project that the cluster - // belongs to. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // 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"` - // 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:"-"` -} - -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_29f9b85b3c7e3a5f, []int{15} -} - -func (m *CreateClusterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateClusterRequest.Unmarshal(m, b) -} -func (m *CreateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateClusterRequest.Marshal(b, m, deterministic) -} -func (m *CreateClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateClusterRequest.Merge(m, src) -} -func (m *CreateClusterRequest) XXX_Size() int { - return xxx_messageInfo_CreateClusterRequest.Size(m) -} -func (m *CreateClusterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateClusterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateClusterRequest proto.InternalMessageInfo - -func (m *CreateClusterRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *CreateClusterRequest) GetRegion() string { - if m != nil { - return m.Region - } - return "" -} - -func (m *CreateClusterRequest) GetCluster() *Cluster { - if m != nil { - return m.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 - // cluster belongs to. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Required. The Cloud Dataproc region in which to handle the request. - Region string `protobuf:"bytes,5,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"` - // 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 - // specified as `config.worker_config.num_instances`, - // and the `PATCH` request body would specify the new value, as follows: - // - // { - // "config":{ - // "workerConfig":{ - // "numInstances":"5" - // } - // } - // } - // Similarly, to change the number of preemptible workers in a cluster to 5, - // the `update_mask` parameter would be - // `config.secondary_worker_config.num_instances`, and the `PATCH` request - // body would be set as follows: - // - // { - // "config":{ - // "secondaryWorkerConfig":{ - // "numInstances":"5" - // } - // } - // } - // Note: Currently, only the following fields can be updated: - // - //
- // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - //
MaskPurpose
labelsUpdate labels
config.worker_config.num_instancesResize primary worker group
config.secondary_worker_config.num_instancesResize secondary worker group
config.autoscaling_config.policy_uriUse, stop using, or - // change autoscaling policies
- 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_29f9b85b3c7e3a5f, []int{16} -} - -func (m *UpdateClusterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateClusterRequest.Unmarshal(m, b) -} -func (m *UpdateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateClusterRequest.Marshal(b, m, deterministic) -} -func (m *UpdateClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateClusterRequest.Merge(m, src) -} -func (m *UpdateClusterRequest) XXX_Size() int { - return xxx_messageInfo_UpdateClusterRequest.Size(m) -} -func (m *UpdateClusterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateClusterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateClusterRequest proto.InternalMessageInfo - -func (m *UpdateClusterRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *UpdateClusterRequest) GetRegion() string { - if m != nil { - return m.Region - } - return "" -} - -func (m *UpdateClusterRequest) GetClusterName() string { - if m != nil { - return m.ClusterName - } - return "" -} - -func (m *UpdateClusterRequest) GetCluster() *Cluster { - if m != nil { - return m.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 - } - 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 - // belongs to. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // 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"` - // 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:"-"` -} - -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_29f9b85b3c7e3a5f, []int{17} -} - -func (m *DeleteClusterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteClusterRequest.Unmarshal(m, b) -} -func (m *DeleteClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteClusterRequest.Marshal(b, m, deterministic) -} -func (m *DeleteClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteClusterRequest.Merge(m, src) -} -func (m *DeleteClusterRequest) XXX_Size() int { - return xxx_messageInfo_DeleteClusterRequest.Size(m) -} -func (m *DeleteClusterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteClusterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteClusterRequest proto.InternalMessageInfo - -func (m *DeleteClusterRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *DeleteClusterRequest) GetRegion() string { - if m != nil { - return m.Region - } - return "" -} - -func (m *DeleteClusterRequest) GetClusterName() string { - if m != nil { - return m.ClusterName - } - 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 - // belongs to. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_29f9b85b3c7e3a5f, []int{18} -} - -func (m *GetClusterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetClusterRequest.Unmarshal(m, b) -} -func (m *GetClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetClusterRequest.Marshal(b, m, deterministic) -} -func (m *GetClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetClusterRequest.Merge(m, src) -} -func (m *GetClusterRequest) XXX_Size() int { - return xxx_messageInfo_GetClusterRequest.Size(m) -} -func (m *GetClusterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetClusterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetClusterRequest proto.InternalMessageInfo - -func (m *GetClusterRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *GetClusterRequest) GetRegion() string { - if m != nil { - return m.Region - } - return "" -} - -func (m *GetClusterRequest) GetClusterName() string { - if m != nil { - return m.ClusterName - } - return "" -} - -// A request to list the clusters in a project. -type ListClustersRequest struct { - // Required. The ID of the Google Cloud Platform project that the cluster - // belongs to. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Required. The Cloud Dataproc region in which to handle the request. - Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"` - // Optional. A filter constraining the clusters to list. Filters are - // case-sensitive and have the following syntax: - // - // field = value [AND [field = value]] ... - // - // where **field** is one of `status.state`, `clusterName`, or `labels.[KEY]`, - // and `[KEY]` is a label key. **value** can be `*` to match all values. - // `status.state` can be one of the following: `ACTIVE`, `INACTIVE`, - // `CREATING`, `RUNNING`, `ERROR`, `DELETING`, or `UPDATING`. `ACTIVE` - // contains the `CREATING`, `UPDATING`, and `RUNNING` states. `INACTIVE` - // contains the `DELETING` and `ERROR` states. - // `clusterName` is the name of the cluster provided at creation time. - // Only the logical `AND` operator is supported; space-separated items are - // treated as having an implicit `AND` operator. - // - // Example filter: - // - // status.state = ACTIVE AND clusterName = mycluster - // AND labels.env = staging AND labels.starred = * - Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"` - // Optional. The standard List page size. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional. The standard List 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:"-"` -} - -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_29f9b85b3c7e3a5f, []int{19} -} - -func (m *ListClustersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListClustersRequest.Unmarshal(m, b) -} -func (m *ListClustersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListClustersRequest.Marshal(b, m, deterministic) -} -func (m *ListClustersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClustersRequest.Merge(m, src) -} -func (m *ListClustersRequest) XXX_Size() int { - return xxx_messageInfo_ListClustersRequest.Size(m) -} -func (m *ListClustersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListClustersRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListClustersRequest proto.InternalMessageInfo - -func (m *ListClustersRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *ListClustersRequest) GetRegion() string { - if m != nil { - return m.Region - } - return "" -} - -func (m *ListClustersRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListClustersRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListClustersRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// The list of all clusters in a project. -type ListClustersResponse struct { - // 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 - // 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"` - 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_29f9b85b3c7e3a5f, []int{20} -} - -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 (m *ListClustersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClustersResponse.Merge(m, 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.Clusters - } - return nil -} - -func (m *ListClustersResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// A request to collect cluster diagnostic information. -type DiagnoseClusterRequest struct { - // Required. The ID of the Google Cloud Platform project that the cluster - // belongs to. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_29f9b85b3c7e3a5f, []int{21} -} - -func (m *DiagnoseClusterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiagnoseClusterRequest.Unmarshal(m, b) -} -func (m *DiagnoseClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiagnoseClusterRequest.Marshal(b, m, deterministic) -} -func (m *DiagnoseClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiagnoseClusterRequest.Merge(m, src) -} -func (m *DiagnoseClusterRequest) XXX_Size() int { - return xxx_messageInfo_DiagnoseClusterRequest.Size(m) -} -func (m *DiagnoseClusterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DiagnoseClusterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DiagnoseClusterRequest proto.InternalMessageInfo - -func (m *DiagnoseClusterRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *DiagnoseClusterRequest) GetRegion() string { - if m != nil { - return m.Region - } - return "" -} - -func (m *DiagnoseClusterRequest) GetClusterName() string { - if m != nil { - return m.ClusterName - } - return "" -} - -// The location of diagnostic output. -type DiagnoseClusterResults struct { - // 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_29f9b85b3c7e3a5f, []int{22} -} - -func (m *DiagnoseClusterResults) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiagnoseClusterResults.Unmarshal(m, b) -} -func (m *DiagnoseClusterResults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiagnoseClusterResults.Marshal(b, m, deterministic) -} -func (m *DiagnoseClusterResults) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiagnoseClusterResults.Merge(m, src) -} -func (m *DiagnoseClusterResults) XXX_Size() int { - return xxx_messageInfo_DiagnoseClusterResults.Size(m) -} -func (m *DiagnoseClusterResults) XXX_DiscardUnknown() { - xxx_messageInfo_DiagnoseClusterResults.DiscardUnknown(m) -} - -var xxx_messageInfo_DiagnoseClusterResults proto.InternalMessageInfo - -func (m *DiagnoseClusterResults) GetOutputUri() string { - if m != nil { - return m.OutputUri - } - return "" -} - -func init() { - proto.RegisterEnum("google.cloud.dataproc.v1.ClusterStatus_State", ClusterStatus_State_name, ClusterStatus_State_value) - proto.RegisterEnum("google.cloud.dataproc.v1.ClusterStatus_Substate", ClusterStatus_Substate_name, ClusterStatus_Substate_value) - 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((*AutoscalingConfig)(nil), "google.cloud.dataproc.v1.AutoscalingConfig") - 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") - proto.RegisterType((*ManagedGroupConfig)(nil), "google.cloud.dataproc.v1.ManagedGroupConfig") - proto.RegisterType((*AcceleratorConfig)(nil), "google.cloud.dataproc.v1.AcceleratorConfig") - proto.RegisterType((*DiskConfig)(nil), "google.cloud.dataproc.v1.DiskConfig") - proto.RegisterType((*NodeInitializationAction)(nil), "google.cloud.dataproc.v1.NodeInitializationAction") - proto.RegisterType((*ClusterStatus)(nil), "google.cloud.dataproc.v1.ClusterStatus") - proto.RegisterType((*SecurityConfig)(nil), "google.cloud.dataproc.v1.SecurityConfig") - proto.RegisterType((*KerberosConfig)(nil), "google.cloud.dataproc.v1.KerberosConfig") - proto.RegisterType((*SoftwareConfig)(nil), "google.cloud.dataproc.v1.SoftwareConfig") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1.SoftwareConfig.PropertiesEntry") - proto.RegisterType((*ClusterMetrics)(nil), "google.cloud.dataproc.v1.ClusterMetrics") - proto.RegisterMapType((map[string]int64)(nil), "google.cloud.dataproc.v1.ClusterMetrics.HdfsMetricsEntry") - proto.RegisterMapType((map[string]int64)(nil), "google.cloud.dataproc.v1.ClusterMetrics.YarnMetricsEntry") - proto.RegisterType((*CreateClusterRequest)(nil), "google.cloud.dataproc.v1.CreateClusterRequest") - proto.RegisterType((*UpdateClusterRequest)(nil), "google.cloud.dataproc.v1.UpdateClusterRequest") - proto.RegisterType((*DeleteClusterRequest)(nil), "google.cloud.dataproc.v1.DeleteClusterRequest") - proto.RegisterType((*GetClusterRequest)(nil), "google.cloud.dataproc.v1.GetClusterRequest") - proto.RegisterType((*ListClustersRequest)(nil), "google.cloud.dataproc.v1.ListClustersRequest") - proto.RegisterType((*ListClustersResponse)(nil), "google.cloud.dataproc.v1.ListClustersResponse") - proto.RegisterType((*DiagnoseClusterRequest)(nil), "google.cloud.dataproc.v1.DiagnoseClusterRequest") - proto.RegisterType((*DiagnoseClusterResults)(nil), "google.cloud.dataproc.v1.DiagnoseClusterResults") -} - -func init() { - proto.RegisterFile("google/cloud/dataproc/v1/clusters.proto", fileDescriptor_29f9b85b3c7e3a5f) -} - -var fileDescriptor_29f9b85b3c7e3a5f = []byte{ - // 2746 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0x4b, 0x73, 0x1b, 0xc7, - 0x11, 0x36, 0x00, 0x3e, 0x1b, 0x04, 0x08, 0x8e, 0x28, 0x0b, 0xa6, 0x6c, 0x85, 0x86, 0x5f, 0x8c, - 0x2c, 0x01, 0x16, 0x5d, 0x89, 0x6d, 0xd9, 0x71, 0x0c, 0x8a, 0xb4, 0x44, 0x93, 0xa2, 0x68, 0x10, - 0xb4, 0xcb, 0x29, 0xbb, 0xb6, 0x06, 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86, 0x67, 0x9f, 0x14, 0x83, 0xbb, 0x11, 0x45, 0xcf, 0x42, 0xd1, 0x27, 0x5c, 0x24, 0xbe, - 0x84, 0xe4, 0x53, 0x08, 0xe8, 0x71, 0x81, 0xba, 0x0c, 0x65, 0x16, 0x77, 0x4c, 0xe0, 0x44, 0x0a, - 0x2c, 0xa5, 0x22, 0x81, 0xbd, 0x0a, 0x15, 0xea, 0x73, 0x12, 0xf9, 0xd8, 0xb5, 0x68, 0x68, 0x05, - 0xbe, 0x2b, 0x8a, 0x73, 0x6e, 0x69, 0x4a, 0x47, 0x2d, 0x11, 0xae, 0x87, 0x77, 0x7c, 0xb7, 0x8f, - 0xae, 0x88, 0xd5, 0x88, 0x0e, 0xa8, 0x4d, 0x2c, 0x6c, 0xdb, 0x41, 0xec, 0x73, 0x59, 0x8e, 0xa6, - 0x07, 0x31, 0x96, 0xb2, 0xa6, 0x12, 0xa1, 0xd7, 0xe0, 0xf1, 0x21, 0xb4, 0xc5, 0xec, 0x20, 0x24, - 0xac, 0x5a, 0x58, 0x2c, 0x24, 0x4a, 0xf3, 0x59, 0xa5, 0x1d, 0x09, 0x40, 0x08, 0xc6, 0x38, 0xee, - 0x8a, 0x63, 0xa7, 0xb0, 0x34, 0xdd, 0x92, 0xdf, 0xa8, 0x0d, 0x53, 0x1e, 0xe1, 0x58, 0xac, 0x74, - 0x75, 0x5c, 0xee, 0x95, 0x57, 0x4f, 0x5f, 0x04, 0xeb, 0xb7, 0xb5, 0xaa, 0x2c, 0xe1, 0xad, 0x01, - 0xd3, 0xc2, 0xeb, 0x50, 0xca, 0x88, 0x1e, 0xaa, 0xba, 0xff, 0x66, 0x0c, 0xce, 0x1d, 0x52, 0x58, - 0x44, 0x8d, 0xf7, 0x63, 0xcf, 0xa2, 0x5a, 0xc4, 0x24, 0xdb, 0xb8, 0x2e, 0x69, 0x7e, 0xec, 0x25, - 0x3a, 0x4c, 0x2c, 0x56, 0x82, 0x92, 0x49, 0xc3, 0xaa, 0xf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, 0x47, 0xdd, 0xc3, 0xea, 0xf7, 0x49, 0x79, 0xfc, 0xbb, 0xdc, 0xfd, 0x66, 0xe3, 0xa8, 0x3c, - 0x3e, 0xa2, 0x20, 0x9f, 0x6e, 0x81, 0xb7, 0x6b, 0x1b, 0x8f, 0x60, 0x47, 0x3b, 0xda, 0x82, 0xeb, - 0xb9, 0xcb, 0x0b, 0x1b, 0xf7, 0x9b, 0x17, 0x06, 0x1e, 0x2b, 0x8b, 0x71, 0x48, 0x59, 0xdd, 0x0e, - 0xbc, 0x7f, 0x35, 0xeb, 0xfb, 0x9c, 0x87, 0xec, 0x7a, 0xa3, 0x71, 0xf7, 0xee, 0xdd, 0x21, 0x61, - 0x03, 0xc7, 0x7c, 0x5f, 0xfd, 0x2f, 0x84, 0xab, 0xc9, 0x63, 0xef, 0xca, 0x27, 0xf0, 0xa4, 0x1d, - 0x78, 0x47, 0x86, 0x73, 0x25, 0x79, 0xb7, 0x63, 0xdb, 0x22, 0x26, 0xdb, 0xb9, 0x1f, 0xbd, 0xa5, - 0xa1, 0xdd, 0xc0, 0xc5, 0x7e, 0xb7, 0x1e, 0x44, 0xdd, 0x46, 0x97, 0xf8, 0x32, 0x62, 0x8d, 0x74, - 0xbe, 0xd1, 0xff, 0xec, 0xf0, 0x7a, 0xf2, 0xdd, 0x99, 0x90, 0xe0, 0x97, 0xff, 0x1f, 0x00, 0x00, - 0xff, 0xff, 0xe0, 0xfc, 0xe1, 0x91, 0xb3, 0x21, 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 - -// ClusterControllerClient is the client API for ClusterController service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ClusterControllerClient interface { - // Creates a cluster in a project. The returned - // [Operation.metadata][google.longrunning.Operation.metadata] will be - // [ClusterOperationMetadata](/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata). - CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Updates a cluster in a project. The returned - // [Operation.metadata][google.longrunning.Operation.metadata] will be - // [ClusterOperationMetadata](/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata). - UpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Deletes a cluster in a project. The returned - // [Operation.metadata][google.longrunning.Operation.metadata] will be - // [ClusterOperationMetadata](/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata). - DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Gets the resource representation for a cluster in a project. - GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error) - // Lists all regions/{region}/clusters in a project. - ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) - // Gets cluster diagnostic information. The returned - // [Operation.metadata][google.longrunning.Operation.metadata] will be - // [ClusterOperationMetadata](/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata). - // After the operation completes, - // [Operation.response][google.longrunning.Operation.response] - // contains - // [DiagnoseClusterResults](/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#diagnoseclusterresults). - DiagnoseCluster(ctx context.Context, in *DiagnoseClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) -} - -type clusterControllerClient struct { - cc *grpc.ClientConn -} - -func NewClusterControllerClient(cc *grpc.ClientConn) ClusterControllerClient { - return &clusterControllerClient{cc} -} - -func (c *clusterControllerClient) CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1.ClusterController/CreateCluster", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterControllerClient) UpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1.ClusterController/UpdateCluster", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterControllerClient) DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1.ClusterController/DeleteCluster", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterControllerClient) GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error) { - out := new(Cluster) - err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1.ClusterController/GetCluster", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterControllerClient) ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) { - out := new(ListClustersResponse) - err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1.ClusterController/ListClusters", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterControllerClient) DiagnoseCluster(ctx context.Context, in *DiagnoseClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1.ClusterController/DiagnoseCluster", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ClusterControllerServer is the server API for ClusterController service. -type ClusterControllerServer interface { - // Creates a cluster in a project. The returned - // [Operation.metadata][google.longrunning.Operation.metadata] will be - // [ClusterOperationMetadata](/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata). - CreateCluster(context.Context, *CreateClusterRequest) (*longrunning.Operation, error) - // Updates a cluster in a project. The returned - // [Operation.metadata][google.longrunning.Operation.metadata] will be - // [ClusterOperationMetadata](/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata). - UpdateCluster(context.Context, *UpdateClusterRequest) (*longrunning.Operation, error) - // Deletes a cluster in a project. The returned - // [Operation.metadata][google.longrunning.Operation.metadata] will be - // [ClusterOperationMetadata](/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata). - DeleteCluster(context.Context, *DeleteClusterRequest) (*longrunning.Operation, error) - // Gets the resource representation for a cluster in a project. - GetCluster(context.Context, *GetClusterRequest) (*Cluster, error) - // Lists all regions/{region}/clusters in a project. - ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error) - // Gets cluster diagnostic information. The returned - // [Operation.metadata][google.longrunning.Operation.metadata] will be - // [ClusterOperationMetadata](/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata). - // After the operation completes, - // [Operation.response][google.longrunning.Operation.response] - // contains - // [DiagnoseClusterResults](/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#diagnoseclusterresults). - DiagnoseCluster(context.Context, *DiagnoseClusterRequest) (*longrunning.Operation, error) -} - -// UnimplementedClusterControllerServer can be embedded to have forward compatible implementations. -type UnimplementedClusterControllerServer struct { -} - -func (*UnimplementedClusterControllerServer) CreateCluster(ctx context.Context, req *CreateClusterRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateCluster not implemented") -} -func (*UnimplementedClusterControllerServer) UpdateCluster(ctx context.Context, req *UpdateClusterRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateCluster not implemented") -} -func (*UnimplementedClusterControllerServer) DeleteCluster(ctx context.Context, req *DeleteClusterRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteCluster not implemented") -} -func (*UnimplementedClusterControllerServer) GetCluster(ctx context.Context, req *GetClusterRequest) (*Cluster, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCluster not implemented") -} -func (*UnimplementedClusterControllerServer) ListClusters(ctx context.Context, req *ListClustersRequest) (*ListClustersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListClusters not implemented") -} -func (*UnimplementedClusterControllerServer) DiagnoseCluster(ctx context.Context, req *DiagnoseClusterRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DiagnoseCluster not implemented") -} - -func RegisterClusterControllerServer(s *grpc.Server, srv ClusterControllerServer) { - s.RegisterService(&_ClusterController_serviceDesc, srv) -} - -func _ClusterController_CreateCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateClusterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterControllerServer).CreateCluster(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dataproc.v1.ClusterController/CreateCluster", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterControllerServer).CreateCluster(ctx, req.(*CreateClusterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterController_UpdateCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateClusterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterControllerServer).UpdateCluster(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dataproc.v1.ClusterController/UpdateCluster", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterControllerServer).UpdateCluster(ctx, req.(*UpdateClusterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterController_DeleteCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteClusterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterControllerServer).DeleteCluster(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dataproc.v1.ClusterController/DeleteCluster", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterControllerServer).DeleteCluster(ctx, req.(*DeleteClusterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterController_GetCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetClusterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterControllerServer).GetCluster(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dataproc.v1.ClusterController/GetCluster", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterControllerServer).GetCluster(ctx, req.(*GetClusterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterController_ListClusters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListClustersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterControllerServer).ListClusters(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dataproc.v1.ClusterController/ListClusters", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterControllerServer).ListClusters(ctx, req.(*ListClustersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterController_DiagnoseCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DiagnoseClusterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterControllerServer).DiagnoseCluster(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dataproc.v1.ClusterController/DiagnoseCluster", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterControllerServer).DiagnoseCluster(ctx, req.(*DiagnoseClusterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ClusterController_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.dataproc.v1.ClusterController", - HandlerType: (*ClusterControllerServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateCluster", - Handler: _ClusterController_CreateCluster_Handler, - }, - { - MethodName: "UpdateCluster", - Handler: _ClusterController_UpdateCluster_Handler, - }, - { - MethodName: "DeleteCluster", - Handler: _ClusterController_DeleteCluster_Handler, - }, - { - MethodName: "GetCluster", - Handler: _ClusterController_GetCluster_Handler, - }, - { - MethodName: "ListClusters", - Handler: _ClusterController_ListClusters_Handler, - }, - { - MethodName: "DiagnoseCluster", - Handler: _ClusterController_DiagnoseCluster_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/dataproc/v1/clusters.proto", -} 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 deleted file mode 100644 index 9b1560e9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/jobs.pb.go +++ /dev/null @@ -1,2747 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/dataproc/v1/jobs.proto - -package dataproc - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The Log4j level for job execution. When running an -// [Apache Hive](http://hive.apache.org/) job, Cloud -// Dataproc configures the Hive client to an equivalent verbosity level. -type LoggingConfig_Level int32 - -const ( - // Level is unspecified. Use default level for log4j. - LoggingConfig_LEVEL_UNSPECIFIED LoggingConfig_Level = 0 - // Use ALL level for log4j. - LoggingConfig_ALL LoggingConfig_Level = 1 - // Use TRACE level for log4j. - LoggingConfig_TRACE LoggingConfig_Level = 2 - // Use DEBUG level for log4j. - LoggingConfig_DEBUG LoggingConfig_Level = 3 - // Use INFO level for log4j. - LoggingConfig_INFO LoggingConfig_Level = 4 - // Use WARN level for log4j. - LoggingConfig_WARN LoggingConfig_Level = 5 - // Use ERROR level for log4j. - LoggingConfig_ERROR LoggingConfig_Level = 6 - // Use FATAL level for log4j. - LoggingConfig_FATAL LoggingConfig_Level = 7 - // Turn off log4j. - LoggingConfig_OFF LoggingConfig_Level = 8 -) - -var LoggingConfig_Level_name = map[int32]string{ - 0: "LEVEL_UNSPECIFIED", - 1: "ALL", - 2: "TRACE", - 3: "DEBUG", - 4: "INFO", - 5: "WARN", - 6: "ERROR", - 7: "FATAL", - 8: "OFF", -} - -var LoggingConfig_Level_value = map[string]int32{ - "LEVEL_UNSPECIFIED": 0, - "ALL": 1, - "TRACE": 2, - "DEBUG": 3, - "INFO": 4, - "WARN": 5, - "ERROR": 6, - "FATAL": 7, - "OFF": 8, -} - -func (x LoggingConfig_Level) String() string { - return proto.EnumName(LoggingConfig_Level_name, int32(x)) -} - -func (LoggingConfig_Level) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_37e0b42bcf4d103b, []int{0, 0} -} - -// The job state. -type JobStatus_State int32 - -const ( - // The job state is unknown. - JobStatus_STATE_UNSPECIFIED JobStatus_State = 0 - // The job is pending; it has been submitted, but is not yet running. - JobStatus_PENDING JobStatus_State = 1 - // Job has been received by the service and completed initial setup; - // it will soon be submitted to the cluster. - JobStatus_SETUP_DONE JobStatus_State = 8 - // The job is running on the cluster. - JobStatus_RUNNING JobStatus_State = 2 - // A CancelJob request has been received, but is pending. - JobStatus_CANCEL_PENDING JobStatus_State = 3 - // Transient in-flight resources have been canceled, and the request to - // cancel the running job has been issued to the cluster. - JobStatus_CANCEL_STARTED JobStatus_State = 7 - // The job cancellation was successful. - JobStatus_CANCELLED JobStatus_State = 4 - // The job has completed successfully. - JobStatus_DONE JobStatus_State = 5 - // The job has completed, but encountered an error. - JobStatus_ERROR JobStatus_State = 6 - // Job attempt has failed. The detail field contains failure details for - // this attempt. - // - // Applies to restartable jobs only. - JobStatus_ATTEMPT_FAILURE JobStatus_State = 9 -) - -var JobStatus_State_name = map[int32]string{ - 0: "STATE_UNSPECIFIED", - 1: "PENDING", - 8: "SETUP_DONE", - 2: "RUNNING", - 3: "CANCEL_PENDING", - 7: "CANCEL_STARTED", - 4: "CANCELLED", - 5: "DONE", - 6: "ERROR", - 9: "ATTEMPT_FAILURE", -} - -var JobStatus_State_value = map[string]int32{ - "STATE_UNSPECIFIED": 0, - "PENDING": 1, - "SETUP_DONE": 8, - "RUNNING": 2, - "CANCEL_PENDING": 3, - "CANCEL_STARTED": 7, - "CANCELLED": 4, - "DONE": 5, - "ERROR": 6, - "ATTEMPT_FAILURE": 9, -} - -func (x JobStatus_State) String() string { - return proto.EnumName(JobStatus_State_name, int32(x)) -} - -func (JobStatus_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_37e0b42bcf4d103b, []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. - // - // Applies to RUNNING state. - JobStatus_SUBMITTED JobStatus_Substate = 1 - // The Job has been received and is awaiting execution (it may be waiting - // for a condition to be met). See the "details" field for the reason for - // the delay. - // - // Applies to RUNNING state. - JobStatus_QUEUED JobStatus_Substate = 2 - // The agent-reported status is out of date, which may be caused by a - // loss of communication between the agent and Cloud Dataproc. If the - // agent does not send a timely update, the job will fail. - // - // Applies to RUNNING state. - JobStatus_STALE_STATUS JobStatus_Substate = 3 -) - -var JobStatus_Substate_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "SUBMITTED", - 2: "QUEUED", - 3: "STALE_STATUS", -} - -var JobStatus_Substate_value = map[string]int32{ - "UNSPECIFIED": 0, - "SUBMITTED": 1, - "QUEUED": 2, - "STALE_STATUS": 3, -} - -func (x JobStatus_Substate) String() string { - return proto.EnumName(JobStatus_Substate_name, int32(x)) -} - -func (JobStatus_Substate) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_37e0b42bcf4d103b, []int{9, 1} -} - -// The application state, corresponding to -// YarnProtos.YarnApplicationStateProto. -type YarnApplication_State int32 - -const ( - // Status is unspecified. - YarnApplication_STATE_UNSPECIFIED YarnApplication_State = 0 - // Status is NEW. - YarnApplication_NEW YarnApplication_State = 1 - // Status is NEW_SAVING. - YarnApplication_NEW_SAVING YarnApplication_State = 2 - // Status is SUBMITTED. - YarnApplication_SUBMITTED YarnApplication_State = 3 - // Status is ACCEPTED. - YarnApplication_ACCEPTED YarnApplication_State = 4 - // Status is RUNNING. - YarnApplication_RUNNING YarnApplication_State = 5 - // Status is FINISHED. - YarnApplication_FINISHED YarnApplication_State = 6 - // Status is FAILED. - YarnApplication_FAILED YarnApplication_State = 7 - // Status is KILLED. - YarnApplication_KILLED YarnApplication_State = 8 -) - -var YarnApplication_State_name = map[int32]string{ - 0: "STATE_UNSPECIFIED", - 1: "NEW", - 2: "NEW_SAVING", - 3: "SUBMITTED", - 4: "ACCEPTED", - 5: "RUNNING", - 6: "FINISHED", - 7: "FAILED", - 8: "KILLED", -} - -var YarnApplication_State_value = map[string]int32{ - "STATE_UNSPECIFIED": 0, - "NEW": 1, - "NEW_SAVING": 2, - "SUBMITTED": 3, - "ACCEPTED": 4, - "RUNNING": 5, - "FINISHED": 6, - "FAILED": 7, - "KILLED": 8, -} - -func (x YarnApplication_State) String() string { - return proto.EnumName(YarnApplication_State_name, int32(x)) -} - -func (YarnApplication_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_37e0b42bcf4d103b, []int{11, 0} -} - -// A matcher that specifies categories of job states. -type ListJobsRequest_JobStateMatcher int32 - -const ( - // Match all jobs, regardless of state. - ListJobsRequest_ALL ListJobsRequest_JobStateMatcher = 0 - // Only match jobs in non-terminal states: PENDING, RUNNING, or - // CANCEL_PENDING. - ListJobsRequest_ACTIVE ListJobsRequest_JobStateMatcher = 1 - // Only match jobs in terminal states: CANCELLED, DONE, or ERROR. - ListJobsRequest_NON_ACTIVE ListJobsRequest_JobStateMatcher = 2 -) - -var ListJobsRequest_JobStateMatcher_name = map[int32]string{ - 0: "ALL", - 1: "ACTIVE", - 2: "NON_ACTIVE", -} - -var ListJobsRequest_JobStateMatcher_value = map[string]int32{ - "ALL": 0, - "ACTIVE": 1, - "NON_ACTIVE": 2, -} - -func (x ListJobsRequest_JobStateMatcher) String() string { - return proto.EnumName(ListJobsRequest_JobStateMatcher_name, int32(x)) -} - -func (ListJobsRequest_JobStateMatcher) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_37e0b42bcf4d103b, []int{16, 0} -} - -// The runtime logging config of the job. -type LoggingConfig struct { - // The per-package log levels for the driver. This may include - // "root" package name to configure rootLogger. - // Examples: - // 'com.google = FATAL', 'root = INFO', 'org.apache = DEBUG' - DriverLogLevels map[string]LoggingConfig_Level `protobuf:"bytes,2,rep,name=driver_log_levels,json=driverLogLevels,proto3" json:"driver_log_levels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=google.cloud.dataproc.v1.LoggingConfig_Level"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_37e0b42bcf4d103b, []int{0} -} - -func (m *LoggingConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LoggingConfig.Unmarshal(m, b) -} -func (m *LoggingConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LoggingConfig.Marshal(b, m, deterministic) -} -func (m *LoggingConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_LoggingConfig.Merge(m, src) -} -func (m *LoggingConfig) XXX_Size() int { - return xxx_messageInfo_LoggingConfig.Size(m) -} -func (m *LoggingConfig) XXX_DiscardUnknown() { - xxx_messageInfo_LoggingConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_LoggingConfig proto.InternalMessageInfo - -func (m *LoggingConfig) GetDriverLogLevels() map[string]LoggingConfig_Level { - if m != nil { - return m.DriverLogLevels - } - return nil -} - -// A Cloud Dataproc job for running -// [Apache Hadoop -// MapReduce](https://hadoop.apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/MapReduceTutorial.html) -// jobs on [Apache Hadoop -// YARN](https://hadoop.apache.org/docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html). -type HadoopJob struct { - // Required. Indicates the location of the driver's main class. Specify - // either the jar file that contains the main class or the main class name. - // To specify both, add the jar file to `jar_file_uris`, and then specify - // the main class name in this property. - // - // Types that are valid to be assigned to Driver: - // *HadoopJob_MainJarFileUri - // *HadoopJob_MainClass - Driver isHadoopJob_Driver `protobuf_oneof:"driver"` - // Optional. The arguments to pass to the driver. Do not - // include arguments, such as `-libjars` or `-Dfoo=bar`, that can be set as - // job properties, since a collision may occur that causes an incorrect job - // submission. - Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` - // Optional. Jar file URIs to add to the CLASSPATHs of the - // Hadoop driver and tasks. - JarFileUris []string `protobuf:"bytes,4,rep,name=jar_file_uris,json=jarFileUris,proto3" json:"jar_file_uris,omitempty"` - // Optional. HCFS (Hadoop Compatible Filesystem) URIs of files to be copied - // to the working directory of Hadoop drivers and distributed tasks. Useful - // for naively parallel tasks. - FileUris []string `protobuf:"bytes,5,rep,name=file_uris,json=fileUris,proto3" json:"file_uris,omitempty"` - // Optional. HCFS URIs of archives to be extracted in the working directory of - // Hadoop drivers and tasks. Supported file types: - // .jar, .tar, .tar.gz, .tgz, or .zip. - ArchiveUris []string `protobuf:"bytes,6,rep,name=archive_uris,json=archiveUris,proto3" json:"archive_uris,omitempty"` - // Optional. A mapping of property names to values, used to configure Hadoop. - // Properties that conflict with values set by the Cloud Dataproc API may be - // overwritten. Can include properties set in /etc/hadoop/conf/*-site and - // classes in user code. - Properties map[string]string `protobuf:"bytes,7,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Optional. The runtime log config for job execution. - LoggingConfig *LoggingConfig `protobuf:"bytes,8,opt,name=logging_config,json=loggingConfig,proto3" json:"logging_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_37e0b42bcf4d103b, []int{1} -} - -func (m *HadoopJob) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HadoopJob.Unmarshal(m, b) -} -func (m *HadoopJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HadoopJob.Marshal(b, m, deterministic) -} -func (m *HadoopJob) XXX_Merge(src proto.Message) { - xxx_messageInfo_HadoopJob.Merge(m, src) -} -func (m *HadoopJob) XXX_Size() int { - return xxx_messageInfo_HadoopJob.Size(m) -} -func (m *HadoopJob) XXX_DiscardUnknown() { - xxx_messageInfo_HadoopJob.DiscardUnknown(m) -} - -var xxx_messageInfo_HadoopJob proto.InternalMessageInfo - -type isHadoopJob_Driver interface { - isHadoopJob_Driver() -} - -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 (m *HadoopJob) GetDriver() isHadoopJob_Driver { - if m != nil { - return m.Driver - } - return nil -} - -func (m *HadoopJob) GetMainJarFileUri() string { - if x, ok := m.GetDriver().(*HadoopJob_MainJarFileUri); ok { - return x.MainJarFileUri - } - return "" -} - -func (m *HadoopJob) GetMainClass() string { - if x, ok := m.GetDriver().(*HadoopJob_MainClass); ok { - return x.MainClass - } - return "" -} - -func (m *HadoopJob) GetArgs() []string { - if m != nil { - return m.Args - } - return nil -} - -func (m *HadoopJob) GetJarFileUris() []string { - if m != nil { - return m.JarFileUris - } - return nil -} - -func (m *HadoopJob) GetFileUris() []string { - if m != nil { - return m.FileUris - } - return nil -} - -func (m *HadoopJob) GetArchiveUris() []string { - if m != nil { - return m.ArchiveUris - } - return nil -} - -func (m *HadoopJob) GetProperties() map[string]string { - if m != nil { - return m.Properties - } - return nil -} - -func (m *HadoopJob) GetLoggingConfig() *LoggingConfig { - if m != nil { - return m.LoggingConfig - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*HadoopJob) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*HadoopJob_MainJarFileUri)(nil), - (*HadoopJob_MainClass)(nil), - } -} - -// A Cloud Dataproc job for running [Apache Spark](http://spark.apache.org/) -// applications on YARN. -type SparkJob struct { - // Required. The specification of the main method to call to drive the job. - // Specify either the jar file that contains the main class or the main class - // name. To pass both a main jar and a main class in that jar, add the jar to - // `CommonJob.jar_file_uris`, and then specify the main class name in - // `main_class`. - // - // Types that are valid to be assigned to Driver: - // *SparkJob_MainJarFileUri - // *SparkJob_MainClass - Driver isSparkJob_Driver `protobuf_oneof:"driver"` - // Optional. The arguments to pass to the driver. Do not include arguments, - // such as `--conf`, that can be set as job properties, since a collision may - // occur that causes an incorrect job submission. - Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` - // Optional. HCFS URIs of jar files to add to the CLASSPATHs of the - // Spark driver and tasks. - JarFileUris []string `protobuf:"bytes,4,rep,name=jar_file_uris,json=jarFileUris,proto3" json:"jar_file_uris,omitempty"` - // Optional. HCFS URIs of files to be copied to the working directory of - // Spark drivers and distributed tasks. Useful for naively parallel tasks. - FileUris []string `protobuf:"bytes,5,rep,name=file_uris,json=fileUris,proto3" json:"file_uris,omitempty"` - // Optional. HCFS URIs of archives to be extracted in the working directory - // of Spark drivers and tasks. Supported file types: - // .jar, .tar, .tar.gz, .tgz, and .zip. - ArchiveUris []string `protobuf:"bytes,6,rep,name=archive_uris,json=archiveUris,proto3" json:"archive_uris,omitempty"` - // Optional. A mapping of property names to values, used to configure Spark. - // Properties that conflict with values set by the Cloud Dataproc API may be - // overwritten. Can include properties set in - // /etc/spark/conf/spark-defaults.conf and classes in user code. - Properties map[string]string `protobuf:"bytes,7,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Optional. The runtime log config for job execution. - LoggingConfig *LoggingConfig `protobuf:"bytes,8,opt,name=logging_config,json=loggingConfig,proto3" json:"logging_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_37e0b42bcf4d103b, []int{2} -} - -func (m *SparkJob) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SparkJob.Unmarshal(m, b) -} -func (m *SparkJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SparkJob.Marshal(b, m, deterministic) -} -func (m *SparkJob) XXX_Merge(src proto.Message) { - xxx_messageInfo_SparkJob.Merge(m, src) -} -func (m *SparkJob) XXX_Size() int { - return xxx_messageInfo_SparkJob.Size(m) -} -func (m *SparkJob) XXX_DiscardUnknown() { - xxx_messageInfo_SparkJob.DiscardUnknown(m) -} - -var xxx_messageInfo_SparkJob proto.InternalMessageInfo - -type isSparkJob_Driver interface { - isSparkJob_Driver() -} - -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 (m *SparkJob) GetDriver() isSparkJob_Driver { - if m != nil { - return m.Driver - } - return nil -} - -func (m *SparkJob) GetMainJarFileUri() string { - if x, ok := m.GetDriver().(*SparkJob_MainJarFileUri); ok { - return x.MainJarFileUri - } - return "" -} - -func (m *SparkJob) GetMainClass() string { - if x, ok := m.GetDriver().(*SparkJob_MainClass); ok { - return x.MainClass - } - return "" -} - -func (m *SparkJob) GetArgs() []string { - if m != nil { - return m.Args - } - return nil -} - -func (m *SparkJob) GetJarFileUris() []string { - if m != nil { - return m.JarFileUris - } - return nil -} - -func (m *SparkJob) GetFileUris() []string { - if m != nil { - return m.FileUris - } - return nil -} - -func (m *SparkJob) GetArchiveUris() []string { - if m != nil { - return m.ArchiveUris - } - return nil -} - -func (m *SparkJob) GetProperties() map[string]string { - if m != nil { - return m.Properties - } - return nil -} - -func (m *SparkJob) GetLoggingConfig() *LoggingConfig { - if m != nil { - return m.LoggingConfig - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*SparkJob) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*SparkJob_MainJarFileUri)(nil), - (*SparkJob_MainClass)(nil), - } -} - -// A Cloud Dataproc job for running -// [Apache -// PySpark](https://spark.apache.org/docs/0.9.0/python-programming-guide.html) -// applications on YARN. -type PySparkJob struct { - // Required. The HCFS URI of the main Python file to use as the driver. Must - // be a .py file. - MainPythonFileUri string `protobuf:"bytes,1,opt,name=main_python_file_uri,json=mainPythonFileUri,proto3" json:"main_python_file_uri,omitempty"` - // Optional. The arguments to pass to the driver. Do not include arguments, - // such as `--conf`, that can be set as job properties, since a collision may - // occur that causes an incorrect job submission. - Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"` - // Optional. HCFS file URIs of Python files to pass to the PySpark - // framework. Supported file types: .py, .egg, and .zip. - PythonFileUris []string `protobuf:"bytes,3,rep,name=python_file_uris,json=pythonFileUris,proto3" json:"python_file_uris,omitempty"` - // Optional. HCFS URIs of jar files to add to the CLASSPATHs of the - // Python driver and tasks. - JarFileUris []string `protobuf:"bytes,4,rep,name=jar_file_uris,json=jarFileUris,proto3" json:"jar_file_uris,omitempty"` - // Optional. HCFS URIs of files to be copied to the working directory of - // Python drivers and distributed tasks. Useful for naively parallel tasks. - FileUris []string `protobuf:"bytes,5,rep,name=file_uris,json=fileUris,proto3" json:"file_uris,omitempty"` - // Optional. HCFS URIs of archives to be extracted in the working directory of - // .jar, .tar, .tar.gz, .tgz, and .zip. - ArchiveUris []string `protobuf:"bytes,6,rep,name=archive_uris,json=archiveUris,proto3" json:"archive_uris,omitempty"` - // Optional. A mapping of property names to values, used to configure PySpark. - // Properties that conflict with values set by the Cloud Dataproc API may be - // overwritten. Can include properties set in - // /etc/spark/conf/spark-defaults.conf and classes in user code. - Properties map[string]string `protobuf:"bytes,7,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Optional. The runtime log config for job execution. - LoggingConfig *LoggingConfig `protobuf:"bytes,8,opt,name=logging_config,json=loggingConfig,proto3" json:"logging_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_37e0b42bcf4d103b, []int{3} -} - -func (m *PySparkJob) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PySparkJob.Unmarshal(m, b) -} -func (m *PySparkJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PySparkJob.Marshal(b, m, deterministic) -} -func (m *PySparkJob) XXX_Merge(src proto.Message) { - xxx_messageInfo_PySparkJob.Merge(m, src) -} -func (m *PySparkJob) XXX_Size() int { - return xxx_messageInfo_PySparkJob.Size(m) -} -func (m *PySparkJob) XXX_DiscardUnknown() { - xxx_messageInfo_PySparkJob.DiscardUnknown(m) -} - -var xxx_messageInfo_PySparkJob proto.InternalMessageInfo - -func (m *PySparkJob) GetMainPythonFileUri() string { - if m != nil { - return m.MainPythonFileUri - } - return "" -} - -func (m *PySparkJob) GetArgs() []string { - if m != nil { - return m.Args - } - return nil -} - -func (m *PySparkJob) GetPythonFileUris() []string { - if m != nil { - return m.PythonFileUris - } - return nil -} - -func (m *PySparkJob) GetJarFileUris() []string { - if m != nil { - return m.JarFileUris - } - return nil -} - -func (m *PySparkJob) GetFileUris() []string { - if m != nil { - return m.FileUris - } - return nil -} - -func (m *PySparkJob) GetArchiveUris() []string { - if m != nil { - return m.ArchiveUris - } - return nil -} - -func (m *PySparkJob) GetProperties() map[string]string { - if m != nil { - return m.Properties - } - return nil -} - -func (m *PySparkJob) GetLoggingConfig() *LoggingConfig { - if m != nil { - return m.LoggingConfig - } - return nil -} - -// A list of queries to run on a cluster. -type QueryList struct { - // Required. The queries to execute. You do not need to terminate a query - // with a semicolon. Multiple queries can be specified in one string - // by separating each with a semicolon. Here is an example of an Cloud - // Dataproc API snippet that uses a QueryList to specify a HiveJob: - // - // "hiveJob": { - // "queryList": { - // "queries": [ - // "query1", - // "query2", - // "query3;query4", - // ] - // } - // } - Queries []string `protobuf:"bytes,1,rep,name=queries,proto3" json:"queries,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_37e0b42bcf4d103b, []int{4} -} - -func (m *QueryList) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryList.Unmarshal(m, b) -} -func (m *QueryList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryList.Marshal(b, m, deterministic) -} -func (m *QueryList) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryList.Merge(m, src) -} -func (m *QueryList) XXX_Size() int { - return xxx_messageInfo_QueryList.Size(m) -} -func (m *QueryList) XXX_DiscardUnknown() { - xxx_messageInfo_QueryList.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryList proto.InternalMessageInfo - -func (m *QueryList) GetQueries() []string { - if m != nil { - return m.Queries - } - return nil -} - -// A Cloud Dataproc job for running [Apache Hive](https://hive.apache.org/) -// queries on YARN. -type HiveJob struct { - // Required. The sequence of Hive queries to execute, specified as either - // an HCFS file URI or a list of queries. - // - // Types that are valid to be assigned to Queries: - // *HiveJob_QueryFileUri - // *HiveJob_QueryList - Queries isHiveJob_Queries `protobuf_oneof:"queries"` - // Optional. Whether to continue executing queries if a query fails. - // The default value is `false`. Setting to `true` can be useful when - // executing independent parallel queries. - ContinueOnFailure bool `protobuf:"varint,3,opt,name=continue_on_failure,json=continueOnFailure,proto3" json:"continue_on_failure,omitempty"` - // Optional. Mapping of query variable names to values (equivalent to the - // Hive command: `SET name="value";`). - ScriptVariables map[string]string `protobuf:"bytes,4,rep,name=script_variables,json=scriptVariables,proto3" json:"script_variables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Optional. A mapping of property names and values, used to configure Hive. - // Properties that conflict with values set by the Cloud Dataproc API may be - // overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, - // /etc/hive/conf/hive-site.xml, and classes in user code. - Properties map[string]string `protobuf:"bytes,5,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Optional. HCFS URIs of jar files to add to the CLASSPATH of the - // Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes - // and UDFs. - JarFileUris []string `protobuf:"bytes,6,rep,name=jar_file_uris,json=jarFileUris,proto3" json:"jar_file_uris,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_37e0b42bcf4d103b, []int{5} -} - -func (m *HiveJob) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HiveJob.Unmarshal(m, b) -} -func (m *HiveJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HiveJob.Marshal(b, m, deterministic) -} -func (m *HiveJob) XXX_Merge(src proto.Message) { - xxx_messageInfo_HiveJob.Merge(m, src) -} -func (m *HiveJob) XXX_Size() int { - return xxx_messageInfo_HiveJob.Size(m) -} -func (m *HiveJob) XXX_DiscardUnknown() { - xxx_messageInfo_HiveJob.DiscardUnknown(m) -} - -var xxx_messageInfo_HiveJob proto.InternalMessageInfo - -type isHiveJob_Queries interface { - isHiveJob_Queries() -} - -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 (m *HiveJob) GetQueries() isHiveJob_Queries { - if m != nil { - return m.Queries - } - return nil -} - -func (m *HiveJob) GetQueryFileUri() string { - if x, ok := m.GetQueries().(*HiveJob_QueryFileUri); ok { - return x.QueryFileUri - } - return "" -} - -func (m *HiveJob) GetQueryList() *QueryList { - if x, ok := m.GetQueries().(*HiveJob_QueryList); ok { - return x.QueryList - } - return nil -} - -func (m *HiveJob) GetContinueOnFailure() bool { - if m != nil { - return m.ContinueOnFailure - } - return false -} - -func (m *HiveJob) GetScriptVariables() map[string]string { - if m != nil { - return m.ScriptVariables - } - return nil -} - -func (m *HiveJob) GetProperties() map[string]string { - if m != nil { - return m.Properties - } - return nil -} - -func (m *HiveJob) GetJarFileUris() []string { - if m != nil { - return m.JarFileUris - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*HiveJob) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*HiveJob_QueryFileUri)(nil), - (*HiveJob_QueryList)(nil), - } -} - -// A Cloud Dataproc job for running [Apache Spark -// SQL](http://spark.apache.org/sql/) queries. -type SparkSqlJob struct { - // Required. The sequence of Spark SQL queries to execute, specified as - // either an HCFS file URI or as a list of queries. - // - // Types that are valid to be assigned to Queries: - // *SparkSqlJob_QueryFileUri - // *SparkSqlJob_QueryList - Queries isSparkSqlJob_Queries `protobuf_oneof:"queries"` - // Optional. Mapping of query variable names to values (equivalent to the - // Spark SQL command: SET `name="value";`). - ScriptVariables map[string]string `protobuf:"bytes,3,rep,name=script_variables,json=scriptVariables,proto3" json:"script_variables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Optional. A mapping of property names to values, used to configure - // Spark SQL's SparkConf. Properties that conflict with values set by the - // Cloud Dataproc API may be overwritten. - Properties map[string]string `protobuf:"bytes,4,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH. - JarFileUris []string `protobuf:"bytes,56,rep,name=jar_file_uris,json=jarFileUris,proto3" json:"jar_file_uris,omitempty"` - // Optional. The runtime log config for job execution. - LoggingConfig *LoggingConfig `protobuf:"bytes,6,opt,name=logging_config,json=loggingConfig,proto3" json:"logging_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_37e0b42bcf4d103b, []int{6} -} - -func (m *SparkSqlJob) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SparkSqlJob.Unmarshal(m, b) -} -func (m *SparkSqlJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SparkSqlJob.Marshal(b, m, deterministic) -} -func (m *SparkSqlJob) XXX_Merge(src proto.Message) { - xxx_messageInfo_SparkSqlJob.Merge(m, src) -} -func (m *SparkSqlJob) XXX_Size() int { - return xxx_messageInfo_SparkSqlJob.Size(m) -} -func (m *SparkSqlJob) XXX_DiscardUnknown() { - xxx_messageInfo_SparkSqlJob.DiscardUnknown(m) -} - -var xxx_messageInfo_SparkSqlJob proto.InternalMessageInfo - -type isSparkSqlJob_Queries interface { - isSparkSqlJob_Queries() -} - -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 (m *SparkSqlJob) GetQueries() isSparkSqlJob_Queries { - if m != nil { - return m.Queries - } - return nil -} - -func (m *SparkSqlJob) GetQueryFileUri() string { - if x, ok := m.GetQueries().(*SparkSqlJob_QueryFileUri); ok { - return x.QueryFileUri - } - return "" -} - -func (m *SparkSqlJob) GetQueryList() *QueryList { - if x, ok := m.GetQueries().(*SparkSqlJob_QueryList); ok { - return x.QueryList - } - return nil -} - -func (m *SparkSqlJob) GetScriptVariables() map[string]string { - if m != nil { - return m.ScriptVariables - } - return nil -} - -func (m *SparkSqlJob) GetProperties() map[string]string { - if m != nil { - return m.Properties - } - return nil -} - -func (m *SparkSqlJob) GetJarFileUris() []string { - if m != nil { - return m.JarFileUris - } - return nil -} - -func (m *SparkSqlJob) GetLoggingConfig() *LoggingConfig { - if m != nil { - return m.LoggingConfig - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*SparkSqlJob) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*SparkSqlJob_QueryFileUri)(nil), - (*SparkSqlJob_QueryList)(nil), - } -} - -// A Cloud Dataproc job for running [Apache Pig](https://pig.apache.org/) -// queries on YARN. -type PigJob struct { - // Required. The sequence of Pig queries to execute, specified as an HCFS - // file URI or a list of queries. - // - // Types that are valid to be assigned to Queries: - // *PigJob_QueryFileUri - // *PigJob_QueryList - Queries isPigJob_Queries `protobuf_oneof:"queries"` - // Optional. Whether to continue executing queries if a query fails. - // The default value is `false`. Setting to `true` can be useful when - // executing independent parallel queries. - ContinueOnFailure bool `protobuf:"varint,3,opt,name=continue_on_failure,json=continueOnFailure,proto3" json:"continue_on_failure,omitempty"` - // Optional. Mapping of query variable names to values (equivalent to the Pig - // command: `name=[value]`). - ScriptVariables map[string]string `protobuf:"bytes,4,rep,name=script_variables,json=scriptVariables,proto3" json:"script_variables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Optional. A mapping of property names to values, used to configure Pig. - // Properties that conflict with values set by the Cloud Dataproc API may be - // overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, - // /etc/pig/conf/pig.properties, and classes in user code. - Properties map[string]string `protobuf:"bytes,5,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Optional. HCFS URIs of jar files to add to the CLASSPATH of - // the Pig Client and Hadoop MapReduce (MR) tasks. Can contain Pig UDFs. - JarFileUris []string `protobuf:"bytes,6,rep,name=jar_file_uris,json=jarFileUris,proto3" json:"jar_file_uris,omitempty"` - // Optional. The runtime log config for job execution. - LoggingConfig *LoggingConfig `protobuf:"bytes,7,opt,name=logging_config,json=loggingConfig,proto3" json:"logging_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_37e0b42bcf4d103b, []int{7} -} - -func (m *PigJob) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PigJob.Unmarshal(m, b) -} -func (m *PigJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PigJob.Marshal(b, m, deterministic) -} -func (m *PigJob) XXX_Merge(src proto.Message) { - xxx_messageInfo_PigJob.Merge(m, src) -} -func (m *PigJob) XXX_Size() int { - return xxx_messageInfo_PigJob.Size(m) -} -func (m *PigJob) XXX_DiscardUnknown() { - xxx_messageInfo_PigJob.DiscardUnknown(m) -} - -var xxx_messageInfo_PigJob proto.InternalMessageInfo - -type isPigJob_Queries interface { - isPigJob_Queries() -} - -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 (m *PigJob) GetQueries() isPigJob_Queries { - if m != nil { - return m.Queries - } - return nil -} - -func (m *PigJob) GetQueryFileUri() string { - if x, ok := m.GetQueries().(*PigJob_QueryFileUri); ok { - return x.QueryFileUri - } - return "" -} - -func (m *PigJob) GetQueryList() *QueryList { - if x, ok := m.GetQueries().(*PigJob_QueryList); ok { - return x.QueryList - } - return nil -} - -func (m *PigJob) GetContinueOnFailure() bool { - if m != nil { - return m.ContinueOnFailure - } - return false -} - -func (m *PigJob) GetScriptVariables() map[string]string { - if m != nil { - return m.ScriptVariables - } - return nil -} - -func (m *PigJob) GetProperties() map[string]string { - if m != nil { - return m.Properties - } - return nil -} - -func (m *PigJob) GetJarFileUris() []string { - if m != nil { - return m.JarFileUris - } - return nil -} - -func (m *PigJob) GetLoggingConfig() *LoggingConfig { - if m != nil { - return m.LoggingConfig - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*PigJob) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*PigJob_QueryFileUri)(nil), - (*PigJob_QueryList)(nil), - } -} - -// Cloud Dataproc job config. -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 - // the job is submitted. - ClusterUuid string `protobuf:"bytes,2,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 *JobPlacement) Reset() { *m = JobPlacement{} } -func (m *JobPlacement) String() string { return proto.CompactTextString(m) } -func (*JobPlacement) ProtoMessage() {} -func (*JobPlacement) Descriptor() ([]byte, []int) { - return fileDescriptor_37e0b42bcf4d103b, []int{8} -} - -func (m *JobPlacement) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JobPlacement.Unmarshal(m, b) -} -func (m *JobPlacement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JobPlacement.Marshal(b, m, deterministic) -} -func (m *JobPlacement) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobPlacement.Merge(m, src) -} -func (m *JobPlacement) XXX_Size() int { - return xxx_messageInfo_JobPlacement.Size(m) -} -func (m *JobPlacement) XXX_DiscardUnknown() { - xxx_messageInfo_JobPlacement.DiscardUnknown(m) -} - -var xxx_messageInfo_JobPlacement proto.InternalMessageInfo - -func (m *JobPlacement) GetClusterName() string { - if m != nil { - return m.ClusterName - } - return "" -} - -func (m *JobPlacement) GetClusterUuid() string { - if m != nil { - return m.ClusterUuid - } - return "" -} - -// Cloud Dataproc job status. -type JobStatus struct { - // 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"` - // Optional. Output only. 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. - 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 - // 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:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_37e0b42bcf4d103b, []int{9} -} - -func (m *JobStatus) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JobStatus.Unmarshal(m, b) -} -func (m *JobStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JobStatus.Marshal(b, m, deterministic) -} -func (m *JobStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobStatus.Merge(m, src) -} -func (m *JobStatus) XXX_Size() int { - return xxx_messageInfo_JobStatus.Size(m) -} -func (m *JobStatus) XXX_DiscardUnknown() { - xxx_messageInfo_JobStatus.DiscardUnknown(m) -} - -var xxx_messageInfo_JobStatus proto.InternalMessageInfo - -func (m *JobStatus) GetState() JobStatus_State { - if m != nil { - return m.State - } - return JobStatus_STATE_UNSPECIFIED -} - -func (m *JobStatus) GetDetails() string { - if m != nil { - return m.Details - } - return "" -} - -func (m *JobStatus) GetStateStartTime() *timestamp.Timestamp { - if m != nil { - return m.StateStartTime - } - return nil -} - -func (m *JobStatus) GetSubstate() JobStatus_Substate { - if m != nil { - return m.Substate - } - return JobStatus_UNSPECIFIED -} - -// Encapsulates the full scoping used to reference a job. -type JobReference struct { - // Required. The ID of the Google Cloud Platform project that the job - // belongs to. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Optional. The job ID, which must be unique within the project. - // - // The ID must contain only letters (a-z, A-Z), numbers (0-9), - // underscores (_), or hyphens (-). The maximum length is 100 characters. - // - // If not specified by the caller, the job ID will be provided by the server. - JobId string `protobuf:"bytes,2,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 *JobReference) Reset() { *m = JobReference{} } -func (m *JobReference) String() string { return proto.CompactTextString(m) } -func (*JobReference) ProtoMessage() {} -func (*JobReference) Descriptor() ([]byte, []int) { - return fileDescriptor_37e0b42bcf4d103b, []int{10} -} - -func (m *JobReference) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JobReference.Unmarshal(m, b) -} -func (m *JobReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JobReference.Marshal(b, m, deterministic) -} -func (m *JobReference) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobReference.Merge(m, src) -} -func (m *JobReference) XXX_Size() int { - return xxx_messageInfo_JobReference.Size(m) -} -func (m *JobReference) XXX_DiscardUnknown() { - xxx_messageInfo_JobReference.DiscardUnknown(m) -} - -var xxx_messageInfo_JobReference proto.InternalMessageInfo - -func (m *JobReference) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *JobReference) GetJobId() string { - if m != nil { - return m.JobId - } - return "" -} - -// A YARN application created by a job. Application information is a subset of -// org.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto. -// -// **Beta Feature**: This report is available for testing purposes only. It may -// be changed before final release. -type YarnApplication struct { - // Required. The application name. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The application state. - State YarnApplication_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.dataproc.v1.YarnApplication_State" json:"state,omitempty"` - // Required. The numerical progress of the application, from 1 to 100. - Progress float32 `protobuf:"fixed32,3,opt,name=progress,proto3" json:"progress,omitempty"` - // Optional. The HTTP URL of the ApplicationMaster, HistoryServer, or - // TimelineServer that provides application-specific information. The URL uses - // the internal hostname, and requires a proxy server for resolution and, - // possibly, access. - TrackingUrl string `protobuf:"bytes,4,opt,name=tracking_url,json=trackingUrl,proto3" json:"tracking_url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_37e0b42bcf4d103b, []int{11} -} - -func (m *YarnApplication) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_YarnApplication.Unmarshal(m, b) -} -func (m *YarnApplication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_YarnApplication.Marshal(b, m, deterministic) -} -func (m *YarnApplication) XXX_Merge(src proto.Message) { - xxx_messageInfo_YarnApplication.Merge(m, src) -} -func (m *YarnApplication) XXX_Size() int { - return xxx_messageInfo_YarnApplication.Size(m) -} -func (m *YarnApplication) XXX_DiscardUnknown() { - xxx_messageInfo_YarnApplication.DiscardUnknown(m) -} - -var xxx_messageInfo_YarnApplication proto.InternalMessageInfo - -func (m *YarnApplication) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *YarnApplication) GetState() YarnApplication_State { - if m != nil { - return m.State - } - return YarnApplication_STATE_UNSPECIFIED -} - -func (m *YarnApplication) GetProgress() float32 { - if m != nil { - return m.Progress - } - return 0 -} - -func (m *YarnApplication) GetTrackingUrl() string { - if m != nil { - return m.TrackingUrl - } - return "" -} - -// A Cloud Dataproc job resource. -type Job struct { - // Optional. The fully qualified reference to the job, which can be used to - // obtain the equivalent REST path of the job resource. If this property - // is not specified when a job is created, the server generates a - // job_id. - Reference *JobReference `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` - // Required. Job information, including how, when, and where to - // run the job. - Placement *JobPlacement `protobuf:"bytes,2,opt,name=placement,proto3" json:"placement,omitempty"` - // Required. The application/framework-specific portion of the job. - // - // Types that are valid to be assigned to TypeJob: - // *Job_HadoopJob - // *Job_SparkJob - // *Job_PysparkJob - // *Job_HiveJob - // *Job_PigJob - // *Job_SparkSqlJob - TypeJob isJob_TypeJob `protobuf_oneof:"type_job"` - // 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. - 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. - // - // **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 - // 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 - // 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"` - // Optional. The labels to associate with this job. - // 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 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"` - // 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_37e0b42bcf4d103b, []int{12} -} - -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 (m *Job) XXX_Merge(src proto.Message) { - xxx_messageInfo_Job.Merge(m, 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) 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() -} - -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_SparkSqlJob) isJob_TypeJob() {} - -func (m *Job) GetTypeJob() isJob_TypeJob { - if m != nil { - return m.TypeJob - } - return nil -} - -func (m *Job) GetHadoopJob() *HadoopJob { - if x, ok := m.GetTypeJob().(*Job_HadoopJob); ok { - return x.HadoopJob - } - return nil -} - -func (m *Job) GetSparkJob() *SparkJob { - if x, ok := m.GetTypeJob().(*Job_SparkJob); ok { - return x.SparkJob - } - return nil -} - -func (m *Job) GetPysparkJob() *PySparkJob { - if x, ok := m.GetTypeJob().(*Job_PysparkJob); ok { - return x.PysparkJob - } - return nil -} - -func (m *Job) GetHiveJob() *HiveJob { - if x, ok := m.GetTypeJob().(*Job_HiveJob); ok { - return x.HiveJob - } - return nil -} - -func (m *Job) GetPigJob() *PigJob { - if x, ok := m.GetTypeJob().(*Job_PigJob); ok { - return x.PigJob - } - return nil -} - -func (m *Job) GetSparkSqlJob() *SparkSqlJob { - if x, ok := m.GetTypeJob().(*Job_SparkSqlJob); ok { - return x.SparkSqlJob - } - return nil -} - -func (m *Job) GetStatus() *JobStatus { - if m != nil { - return m.Status - } - return nil -} - -func (m *Job) GetStatusHistory() []*JobStatus { - if m != nil { - return m.StatusHistory - } - return nil -} - -func (m *Job) GetYarnApplications() []*YarnApplication { - if m != nil { - return m.YarnApplications - } - return nil -} - -func (m *Job) GetDriverOutputResourceUri() string { - if m != nil { - return m.DriverOutputResourceUri - } - return "" -} - -func (m *Job) GetDriverControlFilesUri() string { - if m != nil { - return m.DriverControlFilesUri - } - return "" -} - -func (m *Job) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -func (m *Job) GetScheduling() *JobScheduling { - if m != nil { - return m.Scheduling - } - return nil -} - -func (m *Job) GetJobUuid() string { - if m != nil { - return m.JobUuid - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Job) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Job_HadoopJob)(nil), - (*Job_SparkJob)(nil), - (*Job_PysparkJob)(nil), - (*Job_HiveJob)(nil), - (*Job_PigJob)(nil), - (*Job_SparkSqlJob)(nil), - } -} - -// Job scheduling options. -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 - // reported failed. - // - // A job may be reported as thrashing if driver exits with non-zero code - // 4 times within 10 minute window. - // - // Maximum value is 10. - MaxFailuresPerHour int32 `protobuf:"varint,1,opt,name=max_failures_per_hour,json=maxFailuresPerHour,proto3" json:"max_failures_per_hour,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_37e0b42bcf4d103b, []int{13} -} - -func (m *JobScheduling) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JobScheduling.Unmarshal(m, b) -} -func (m *JobScheduling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JobScheduling.Marshal(b, m, deterministic) -} -func (m *JobScheduling) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobScheduling.Merge(m, src) -} -func (m *JobScheduling) XXX_Size() int { - return xxx_messageInfo_JobScheduling.Size(m) -} -func (m *JobScheduling) XXX_DiscardUnknown() { - xxx_messageInfo_JobScheduling.DiscardUnknown(m) -} - -var xxx_messageInfo_JobScheduling proto.InternalMessageInfo - -func (m *JobScheduling) GetMaxFailuresPerHour() int32 { - if m != nil { - return m.MaxFailuresPerHour - } - return 0 -} - -// A request to submit a job. -type SubmitJobRequest struct { - // Required. The ID of the Google Cloud Platform project that the job - // belongs to. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // 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"` - // 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:"-"` -} - -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_37e0b42bcf4d103b, []int{14} -} - -func (m *SubmitJobRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubmitJobRequest.Unmarshal(m, b) -} -func (m *SubmitJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubmitJobRequest.Marshal(b, m, deterministic) -} -func (m *SubmitJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubmitJobRequest.Merge(m, src) -} -func (m *SubmitJobRequest) XXX_Size() int { - return xxx_messageInfo_SubmitJobRequest.Size(m) -} -func (m *SubmitJobRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SubmitJobRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SubmitJobRequest proto.InternalMessageInfo - -func (m *SubmitJobRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *SubmitJobRequest) GetRegion() string { - if m != nil { - return m.Region - } - return "" -} - -func (m *SubmitJobRequest) GetJob() *Job { - if m != nil { - return m.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 - // belongs to. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // 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 ID. - JobId string `protobuf:"bytes,2,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 *GetJobRequest) Reset() { *m = GetJobRequest{} } -func (m *GetJobRequest) String() string { return proto.CompactTextString(m) } -func (*GetJobRequest) ProtoMessage() {} -func (*GetJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_37e0b42bcf4d103b, []int{15} -} - -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 (m *GetJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetJobRequest.Merge(m, 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) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *GetJobRequest) GetRegion() string { - if m != nil { - return m.Region - } - return "" -} - -func (m *GetJobRequest) GetJobId() string { - if m != nil { - return m.JobId - } - return "" -} - -// A request to list jobs in a project. -type ListJobsRequest struct { - // Required. The ID of the Google Cloud Platform project that the job - // belongs to. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Required. The Cloud Dataproc region in which to handle the request. - Region string `protobuf:"bytes,6,opt,name=region,proto3" json:"region,omitempty"` - // Optional. The 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"` - // Optional. If set, the returned jobs list includes only jobs that were - // submitted to the named cluster. - ClusterName string `protobuf:"bytes,4,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` - // Optional. Specifies enumerated categories of jobs to list. - // (default = match ALL jobs). - // - // If `filter` is provided, `jobStateMatcher` will be ignored. - JobStateMatcher ListJobsRequest_JobStateMatcher `protobuf:"varint,5,opt,name=job_state_matcher,json=jobStateMatcher,proto3,enum=google.cloud.dataproc.v1.ListJobsRequest_JobStateMatcher" json:"job_state_matcher,omitempty"` - // Optional. A filter constraining the jobs to list. Filters are - // case-sensitive and have the following syntax: - // - // [field = value] AND [field [= value]] ... - // - // where **field** is `status.state` or `labels.[KEY]`, and `[KEY]` is a label - // key. **value** can be `*` to match all values. - // `status.state` can be either `ACTIVE` or `NON_ACTIVE`. - // Only the logical `AND` operator is supported; space-separated items are - // treated as having an implicit `AND` operator. - // - // Example filter: - // - // status.state = ACTIVE AND labels.env = staging AND labels.starred = * - Filter string `protobuf:"bytes,7,opt,name=filter,proto3" json:"filter,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_37e0b42bcf4d103b, []int{16} -} - -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 (m *ListJobsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListJobsRequest.Merge(m, 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) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *ListJobsRequest) GetRegion() string { - if m != nil { - return m.Region - } - 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 "" -} - -func (m *ListJobsRequest) GetClusterName() string { - if m != nil { - return m.ClusterName - } - return "" -} - -func (m *ListJobsRequest) GetJobStateMatcher() ListJobsRequest_JobStateMatcher { - if m != nil { - return m.JobStateMatcher - } - return ListJobsRequest_ALL -} - -func (m *ListJobsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -// A request to update a job. -type UpdateJobRequest struct { - // Required. The ID of the Google Cloud Platform project that the job - // belongs to. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Required. The Cloud Dataproc region in which to handle the request. - Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"` - // Required. The job ID. - JobId string `protobuf:"bytes,3,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` - // Required. The changes to the job. - Job *Job `protobuf:"bytes,4,opt,name=job,proto3" json:"job,omitempty"` - // Required. Specifies the path, relative to Job, of - // the field to update. For example, to update the labels of a Job the - // update_mask parameter would be specified as - // labels, and the `PATCH` request body would specify the new - // value. Note: Currently, labels is the only - // field that can be updated. - UpdateMask *field_mask.FieldMask `protobuf:"bytes,5,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_37e0b42bcf4d103b, []int{17} -} - -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 (m *UpdateJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateJobRequest.Merge(m, 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) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *UpdateJobRequest) GetRegion() string { - if m != nil { - return m.Region - } - return "" -} - -func (m *UpdateJobRequest) GetJobId() string { - if m != nil { - return m.JobId - } - return "" -} - -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 -} - -// A list of jobs in a project. -type ListJobsResponse struct { - // 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 - // `page_token` in a subsequent ListJobsRequest. - 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_37e0b42bcf4d103b, []int{18} -} - -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 (m *ListJobsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListJobsResponse.Merge(m, 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 "" -} - -// A request to cancel a job. -type CancelJobRequest struct { - // Required. The ID of the Google Cloud Platform project that the job - // belongs to. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // 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 ID. - JobId string `protobuf:"bytes,2,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 *CancelJobRequest) Reset() { *m = CancelJobRequest{} } -func (m *CancelJobRequest) String() string { return proto.CompactTextString(m) } -func (*CancelJobRequest) ProtoMessage() {} -func (*CancelJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_37e0b42bcf4d103b, []int{19} -} - -func (m *CancelJobRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CancelJobRequest.Unmarshal(m, b) -} -func (m *CancelJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CancelJobRequest.Marshal(b, m, deterministic) -} -func (m *CancelJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CancelJobRequest.Merge(m, src) -} -func (m *CancelJobRequest) XXX_Size() int { - return xxx_messageInfo_CancelJobRequest.Size(m) -} -func (m *CancelJobRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CancelJobRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CancelJobRequest proto.InternalMessageInfo - -func (m *CancelJobRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *CancelJobRequest) GetRegion() string { - if m != nil { - return m.Region - } - return "" -} - -func (m *CancelJobRequest) GetJobId() string { - if m != nil { - return m.JobId - } - return "" -} - -// A request to delete a job. -type DeleteJobRequest struct { - // Required. The ID of the Google Cloud Platform project that the job - // belongs to. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // 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 ID. - JobId string `protobuf:"bytes,2,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 *DeleteJobRequest) Reset() { *m = DeleteJobRequest{} } -func (m *DeleteJobRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteJobRequest) ProtoMessage() {} -func (*DeleteJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_37e0b42bcf4d103b, []int{20} -} - -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 (m *DeleteJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteJobRequest.Merge(m, 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) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *DeleteJobRequest) GetRegion() string { - if m != nil { - return m.Region - } - return "" -} - -func (m *DeleteJobRequest) GetJobId() string { - if m != nil { - return m.JobId - } - return "" -} - -func init() { - proto.RegisterEnum("google.cloud.dataproc.v1.LoggingConfig_Level", LoggingConfig_Level_name, LoggingConfig_Level_value) - proto.RegisterEnum("google.cloud.dataproc.v1.JobStatus_State", JobStatus_State_name, JobStatus_State_value) - proto.RegisterEnum("google.cloud.dataproc.v1.JobStatus_Substate", JobStatus_Substate_name, JobStatus_Substate_value) - proto.RegisterEnum("google.cloud.dataproc.v1.YarnApplication_State", YarnApplication_State_name, YarnApplication_State_value) - proto.RegisterEnum("google.cloud.dataproc.v1.ListJobsRequest_JobStateMatcher", ListJobsRequest_JobStateMatcher_name, ListJobsRequest_JobStateMatcher_value) - proto.RegisterType((*LoggingConfig)(nil), "google.cloud.dataproc.v1.LoggingConfig") - proto.RegisterMapType((map[string]LoggingConfig_Level)(nil), "google.cloud.dataproc.v1.LoggingConfig.DriverLogLevelsEntry") - proto.RegisterType((*HadoopJob)(nil), "google.cloud.dataproc.v1.HadoopJob") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1.HadoopJob.PropertiesEntry") - proto.RegisterType((*SparkJob)(nil), "google.cloud.dataproc.v1.SparkJob") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1.SparkJob.PropertiesEntry") - proto.RegisterType((*PySparkJob)(nil), "google.cloud.dataproc.v1.PySparkJob") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1.PySparkJob.PropertiesEntry") - proto.RegisterType((*QueryList)(nil), "google.cloud.dataproc.v1.QueryList") - proto.RegisterType((*HiveJob)(nil), "google.cloud.dataproc.v1.HiveJob") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1.HiveJob.PropertiesEntry") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1.HiveJob.ScriptVariablesEntry") - proto.RegisterType((*SparkSqlJob)(nil), "google.cloud.dataproc.v1.SparkSqlJob") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1.SparkSqlJob.PropertiesEntry") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1.SparkSqlJob.ScriptVariablesEntry") - proto.RegisterType((*PigJob)(nil), "google.cloud.dataproc.v1.PigJob") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1.PigJob.PropertiesEntry") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1.PigJob.ScriptVariablesEntry") - proto.RegisterType((*JobPlacement)(nil), "google.cloud.dataproc.v1.JobPlacement") - proto.RegisterType((*JobStatus)(nil), "google.cloud.dataproc.v1.JobStatus") - proto.RegisterType((*JobReference)(nil), "google.cloud.dataproc.v1.JobReference") - proto.RegisterType((*YarnApplication)(nil), "google.cloud.dataproc.v1.YarnApplication") - proto.RegisterType((*Job)(nil), "google.cloud.dataproc.v1.Job") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1.Job.LabelsEntry") - proto.RegisterType((*JobScheduling)(nil), "google.cloud.dataproc.v1.JobScheduling") - proto.RegisterType((*SubmitJobRequest)(nil), "google.cloud.dataproc.v1.SubmitJobRequest") - proto.RegisterType((*GetJobRequest)(nil), "google.cloud.dataproc.v1.GetJobRequest") - proto.RegisterType((*ListJobsRequest)(nil), "google.cloud.dataproc.v1.ListJobsRequest") - proto.RegisterType((*UpdateJobRequest)(nil), "google.cloud.dataproc.v1.UpdateJobRequest") - proto.RegisterType((*ListJobsResponse)(nil), "google.cloud.dataproc.v1.ListJobsResponse") - proto.RegisterType((*CancelJobRequest)(nil), "google.cloud.dataproc.v1.CancelJobRequest") - proto.RegisterType((*DeleteJobRequest)(nil), "google.cloud.dataproc.v1.DeleteJobRequest") -} - -func init() { - proto.RegisterFile("google/cloud/dataproc/v1/jobs.proto", fileDescriptor_37e0b42bcf4d103b) -} - -var fileDescriptor_37e0b42bcf4d103b = []byte{ - // 2487 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x5a, 0x4b, 0x93, 0xe3,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 0xfd, 0xea, 0x4a, 0x59, 0xfb, 0x3e, 0x2c, 0xe8, 0x38, 0x84, 0xf8, 0x5b, 0x0e, 0xe2, 0xb4, - 0x22, 0x72, 0x57, 0x6d, 0x34, 0x0b, 0x4d, 0x69, 0xe6, 0xae, 0x9a, 0x86, 0x64, 0x5d, 0xaa, 0x95, - 0x2a, 0xb5, 0xbb, 0x02, 0x87, 0x36, 0x01, 0x1a, 0x52, 0xb3, 0x55, 0x57, 0x4a, 0xc7, 0x35, 0x49, - 0x48, 0x11, 0xa5, 0xdc, 0xaa, 0xd5, 0x88, 0x32, 0x82, 0x10, 0x6c, 0x16, 0x0b, 0xb5, 0xa2, 0x54, - 0x55, 0x02, 0x87, 0x68, 0x48, 0xd6, 0x68, 0x16, 0xe4, 0xa6, 0x54, 0x12, 0x92, 0x68, 0x03, 0x78, - 0x26, 0xab, 0x4a, 0x25, 0x76, 0xc7, 0xa5, 0xd1, 0xa6, 0xee, 0xb8, 0x4f, 0xc1, 0x56, 0xa1, 0xd9, - 0x94, 0xee, 0xd5, 0x9b, 0xca, 0x61, 0xa1, 0x52, 0x6d, 0xc9, 0x92, 0xc0, 0x8b, 0x65, 0x48, 0x05, - 0x65, 0xa0, 0x2d, 0x48, 0x4f, 0xe7, 0xb9, 0x01, 0x7c, 0xa3, 0x75, 0x70, 0xaf, 0xd2, 0x24, 0x8b, - 0x70, 0x08, 0x20, 0xf1, 0x7e, 0x4b, 0x6a, 0x49, 0x25, 0x21, 0x82, 0x04, 0x58, 0x6f, 0x34, 0x0b, - 0x55, 0x89, 0xe4, 0xd0, 0x6c, 0x35, 0x84, 0xa8, 0x58, 0xa3, 0x28, 0x93, 0xf1, 0x09, 0xb6, 0xb1, - 0xd1, 0xc1, 0x48, 0xa4, 0x2f, 0xf6, 0x00, 0x77, 0x5c, 0x45, 0xeb, 0x86, 0x31, 0xc6, 0xfb, 0xe2, - 0x4a, 0x17, 0x65, 0x21, 0x31, 0x30, 0xdb, 0x4a, 0x18, 0x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0x7f, 0x2c, 0xdc, - 0x18, 0x67, 0xc5, 0xd6, 0x57, 0x2d, 0xcd, 0xc9, 0x75, 0xcc, 0xe1, 0x9f, 0x0b, 0xb9, 0xbe, 0xeb, - 0x5a, 0xce, 0x7e, 0x3e, 0xff, 0xf0, 0xe1, 0xc3, 0x19, 0x65, 0x5e, 0xf5, 0xdc, 0x3e, 0xfb, 0x03, - 0x8c, 0xd7, 0x2c, 0x5d, 0x75, 0x4f, 0x4c, 0x7b, 0x78, 0x30, 0x84, 0x67, 0x3b, 0xe6, 0xf0, 0xd2, - 0x92, 0x0f, 0x78, 0x82, 0xf8, 0x3a, 0xa9, 0xae, 0xce, 0x7d, 0x78, 0xc7, 0x37, 0xeb, 0x99, 0xba, - 0x6a, 0xf4, 0x72, 0xa6, 0xdd, 0xcb, 0xf7, 0xb0, 0x41, 0x6b, 0xcf, 0x4f, 0xd6, 0xba, 0xf8, 0x37, - 0x1e, 0x6f, 0x07, 0xcf, 0xed, 0x04, 0x35, 0x7e, 0xfd, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x85, - 0xf4, 0x15, 0xa2, 0x0f, 0x22, 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 - -// JobControllerClient is the client API for JobController service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type JobControllerClient interface { - // Submits a job to a cluster. - SubmitJob(ctx context.Context, in *SubmitJobRequest, opts ...grpc.CallOption) (*Job, error) - // Gets the resource representation for a job in a project. - GetJob(ctx context.Context, in *GetJobRequest, opts ...grpc.CallOption) (*Job, error) - // Lists regions/{region}/jobs in a project. - ListJobs(ctx context.Context, in *ListJobsRequest, opts ...grpc.CallOption) (*ListJobsResponse, error) - // Updates a job in a project. - UpdateJob(ctx context.Context, in *UpdateJobRequest, opts ...grpc.CallOption) (*Job, error) - // Starts a job cancellation request. To access the job resource - // after cancellation, call - // [regions/{region}/jobs.list](/dataproc/docs/reference/rest/v1/projects.regions.jobs/list) - // or - // [regions/{region}/jobs.get](/dataproc/docs/reference/rest/v1/projects.regions.jobs/get). - CancelJob(ctx context.Context, in *CancelJobRequest, opts ...grpc.CallOption) (*Job, error) - // Deletes the job from the project. If the job is active, the delete fails, - // and the response returns `FAILED_PRECONDITION`. - DeleteJob(ctx context.Context, in *DeleteJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) -} - -type jobControllerClient struct { - cc *grpc.ClientConn -} - -func NewJobControllerClient(cc *grpc.ClientConn) JobControllerClient { - return &jobControllerClient{cc} -} - -func (c *jobControllerClient) SubmitJob(ctx context.Context, in *SubmitJobRequest, opts ...grpc.CallOption) (*Job, error) { - out := new(Job) - err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1.JobController/SubmitJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *jobControllerClient) GetJob(ctx context.Context, in *GetJobRequest, opts ...grpc.CallOption) (*Job, error) { - out := new(Job) - err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1.JobController/GetJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *jobControllerClient) ListJobs(ctx context.Context, in *ListJobsRequest, opts ...grpc.CallOption) (*ListJobsResponse, error) { - out := new(ListJobsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1.JobController/ListJobs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *jobControllerClient) UpdateJob(ctx context.Context, in *UpdateJobRequest, opts ...grpc.CallOption) (*Job, error) { - out := new(Job) - err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1.JobController/UpdateJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *jobControllerClient) CancelJob(ctx context.Context, in *CancelJobRequest, opts ...grpc.CallOption) (*Job, error) { - out := new(Job) - err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1.JobController/CancelJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *jobControllerClient) DeleteJob(ctx context.Context, in *DeleteJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1.JobController/DeleteJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// JobControllerServer is the server API for JobController service. -type JobControllerServer interface { - // Submits a job to a cluster. - SubmitJob(context.Context, *SubmitJobRequest) (*Job, error) - // Gets the resource representation for a job in a project. - GetJob(context.Context, *GetJobRequest) (*Job, error) - // Lists regions/{region}/jobs in a project. - ListJobs(context.Context, *ListJobsRequest) (*ListJobsResponse, error) - // Updates a job in a project. - UpdateJob(context.Context, *UpdateJobRequest) (*Job, error) - // Starts a job cancellation request. To access the job resource - // after cancellation, call - // [regions/{region}/jobs.list](/dataproc/docs/reference/rest/v1/projects.regions.jobs/list) - // or - // [regions/{region}/jobs.get](/dataproc/docs/reference/rest/v1/projects.regions.jobs/get). - CancelJob(context.Context, *CancelJobRequest) (*Job, error) - // Deletes the job from the project. If the job is active, the delete fails, - // and the response returns `FAILED_PRECONDITION`. - DeleteJob(context.Context, *DeleteJobRequest) (*empty.Empty, error) -} - -// UnimplementedJobControllerServer can be embedded to have forward compatible implementations. -type UnimplementedJobControllerServer struct { -} - -func (*UnimplementedJobControllerServer) SubmitJob(ctx context.Context, req *SubmitJobRequest) (*Job, error) { - return nil, status.Errorf(codes.Unimplemented, "method SubmitJob not implemented") -} -func (*UnimplementedJobControllerServer) GetJob(ctx context.Context, req *GetJobRequest) (*Job, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetJob not implemented") -} -func (*UnimplementedJobControllerServer) ListJobs(ctx context.Context, req *ListJobsRequest) (*ListJobsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListJobs not implemented") -} -func (*UnimplementedJobControllerServer) UpdateJob(ctx context.Context, req *UpdateJobRequest) (*Job, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateJob not implemented") -} -func (*UnimplementedJobControllerServer) CancelJob(ctx context.Context, req *CancelJobRequest) (*Job, error) { - return nil, status.Errorf(codes.Unimplemented, "method CancelJob not implemented") -} -func (*UnimplementedJobControllerServer) DeleteJob(ctx context.Context, req *DeleteJobRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteJob not implemented") -} - -func RegisterJobControllerServer(s *grpc.Server, srv JobControllerServer) { - s.RegisterService(&_JobController_serviceDesc, srv) -} - -func _JobController_SubmitJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SubmitJobRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(JobControllerServer).SubmitJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dataproc.v1.JobController/SubmitJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(JobControllerServer).SubmitJob(ctx, req.(*SubmitJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _JobController_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.(JobControllerServer).GetJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dataproc.v1.JobController/GetJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(JobControllerServer).GetJob(ctx, req.(*GetJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _JobController_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.(JobControllerServer).ListJobs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dataproc.v1.JobController/ListJobs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(JobControllerServer).ListJobs(ctx, req.(*ListJobsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _JobController_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.(JobControllerServer).UpdateJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dataproc.v1.JobController/UpdateJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(JobControllerServer).UpdateJob(ctx, req.(*UpdateJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _JobController_CancelJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CancelJobRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(JobControllerServer).CancelJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dataproc.v1.JobController/CancelJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(JobControllerServer).CancelJob(ctx, req.(*CancelJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _JobController_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.(JobControllerServer).DeleteJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dataproc.v1.JobController/DeleteJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(JobControllerServer).DeleteJob(ctx, req.(*DeleteJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _JobController_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.dataproc.v1.JobController", - HandlerType: (*JobControllerServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "SubmitJob", - Handler: _JobController_SubmitJob_Handler, - }, - { - MethodName: "GetJob", - Handler: _JobController_GetJob_Handler, - }, - { - MethodName: "ListJobs", - Handler: _JobController_ListJobs_Handler, - }, - { - MethodName: "UpdateJob", - Handler: _JobController_UpdateJob_Handler, - }, - { - MethodName: "CancelJob", - Handler: _JobController_CancelJob_Handler, - }, - { - MethodName: "DeleteJob", - Handler: _JobController_DeleteJob_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/dataproc/v1/jobs.proto", -} 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 deleted file mode 100644 index c20f1548..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/operations.pb.go +++ /dev/null @@ -1,283 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/dataproc/v1/operations.proto - -package dataproc - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The operation state. -type ClusterOperationStatus_State int32 - -const ( - // Unused. - ClusterOperationStatus_UNKNOWN ClusterOperationStatus_State = 0 - // The operation has been created. - ClusterOperationStatus_PENDING ClusterOperationStatus_State = 1 - // The operation is running. - ClusterOperationStatus_RUNNING ClusterOperationStatus_State = 2 - // The operation is done; either cancelled or completed. - ClusterOperationStatus_DONE ClusterOperationStatus_State = 3 -) - -var ClusterOperationStatus_State_name = map[int32]string{ - 0: "UNKNOWN", - 1: "PENDING", - 2: "RUNNING", - 3: "DONE", -} - -var ClusterOperationStatus_State_value = map[string]int32{ - "UNKNOWN": 0, - "PENDING": 1, - "RUNNING": 2, - "DONE": 3, -} - -func (x ClusterOperationStatus_State) String() string { - return proto.EnumName(ClusterOperationStatus_State_name, int32(x)) -} - -func (ClusterOperationStatus_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_78b4f56947714756, []int{0, 0} -} - -// The status of the operation. -type ClusterOperationStatus struct { - // 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. - 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. - Details string `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"` - // 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:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_78b4f56947714756, []int{0} -} - -func (m *ClusterOperationStatus) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClusterOperationStatus.Unmarshal(m, b) -} -func (m *ClusterOperationStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClusterOperationStatus.Marshal(b, m, deterministic) -} -func (m *ClusterOperationStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClusterOperationStatus.Merge(m, src) -} -func (m *ClusterOperationStatus) XXX_Size() int { - return xxx_messageInfo_ClusterOperationStatus.Size(m) -} -func (m *ClusterOperationStatus) XXX_DiscardUnknown() { - xxx_messageInfo_ClusterOperationStatus.DiscardUnknown(m) -} - -var xxx_messageInfo_ClusterOperationStatus proto.InternalMessageInfo - -func (m *ClusterOperationStatus) GetState() ClusterOperationStatus_State { - if m != nil { - return m.State - } - return ClusterOperationStatus_UNKNOWN -} - -func (m *ClusterOperationStatus) GetInnerState() string { - if m != nil { - return m.InnerState - } - return "" -} - -func (m *ClusterOperationStatus) GetDetails() string { - if m != nil { - return m.Details - } - return "" -} - -func (m *ClusterOperationStatus) GetStateStartTime() *timestamp.Timestamp { - if m != nil { - return m.StateStartTime - } - return nil -} - -// Metadata describing the operation. -type ClusterOperationMetadata struct { - // 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. - ClusterUuid string `protobuf:"bytes,8,opt,name=cluster_uuid,json=clusterUuid,proto3" json:"cluster_uuid,omitempty"` - // Output only. Current operation status. - Status *ClusterOperationStatus `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty"` - // 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. - OperationType string `protobuf:"bytes,11,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"` - // 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 - 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. - Warnings []string `protobuf:"bytes,14,rep,name=warnings,proto3" json:"warnings,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ClusterOperationMetadata) Reset() { *m = ClusterOperationMetadata{} } -func (m *ClusterOperationMetadata) String() string { return proto.CompactTextString(m) } -func (*ClusterOperationMetadata) ProtoMessage() {} -func (*ClusterOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_78b4f56947714756, []int{1} -} - -func (m *ClusterOperationMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClusterOperationMetadata.Unmarshal(m, b) -} -func (m *ClusterOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClusterOperationMetadata.Marshal(b, m, deterministic) -} -func (m *ClusterOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClusterOperationMetadata.Merge(m, src) -} -func (m *ClusterOperationMetadata) XXX_Size() int { - return xxx_messageInfo_ClusterOperationMetadata.Size(m) -} -func (m *ClusterOperationMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_ClusterOperationMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_ClusterOperationMetadata proto.InternalMessageInfo - -func (m *ClusterOperationMetadata) GetClusterName() string { - if m != nil { - return m.ClusterName - } - return "" -} - -func (m *ClusterOperationMetadata) GetClusterUuid() string { - if m != nil { - return m.ClusterUuid - } - return "" -} - -func (m *ClusterOperationMetadata) GetStatus() *ClusterOperationStatus { - if m != nil { - return m.Status - } - return nil -} - -func (m *ClusterOperationMetadata) GetStatusHistory() []*ClusterOperationStatus { - if m != nil { - return m.StatusHistory - } - return nil -} - -func (m *ClusterOperationMetadata) GetOperationType() string { - if m != nil { - return m.OperationType - } - return "" -} - -func (m *ClusterOperationMetadata) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *ClusterOperationMetadata) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -func (m *ClusterOperationMetadata) GetWarnings() []string { - if m != nil { - return m.Warnings - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.dataproc.v1.ClusterOperationStatus_State", ClusterOperationStatus_State_name, ClusterOperationStatus_State_value) - proto.RegisterType((*ClusterOperationStatus)(nil), "google.cloud.dataproc.v1.ClusterOperationStatus") - proto.RegisterType((*ClusterOperationMetadata)(nil), "google.cloud.dataproc.v1.ClusterOperationMetadata") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1.ClusterOperationMetadata.LabelsEntry") -} - -func init() { - proto.RegisterFile("google/cloud/dataproc/v1/operations.proto", fileDescriptor_78b4f56947714756) -} - -var fileDescriptor_78b4f56947714756 = []byte{ - // 563 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0x7f, 0x6b, 0xd3, 0x40, - 0x18, 0xc7, 0x4d, 0xb3, 0xfe, 0xba, 0xac, 0xb5, 0x1c, 0x22, 0x47, 0x99, 0xac, 0x14, 0x95, 0xea, - 0x1f, 0x89, 0x9b, 0x20, 0x53, 0x41, 0xb4, 0xae, 0xe8, 0xd0, 0xa5, 0xb5, 0x5b, 0x11, 0x54, 0x08, - 0xd7, 0xe6, 0x96, 0x1d, 0xa6, 0xb9, 0x70, 0x77, 0xa9, 0xf4, 0xf5, 0xf8, 0x1a, 0x7c, 0x3f, 0xbe, - 0x14, 0xb9, 0xbb, 0xa4, 0x0d, 0xce, 0x81, 0xfa, 0x57, 0xef, 0x79, 0x9e, 0xef, 0xf3, 0xc9, 0xf7, - 0x79, 0x72, 0x0d, 0x78, 0x10, 0x31, 0x16, 0xc5, 0xc4, 0x5b, 0xc4, 0x2c, 0x0b, 0xbd, 0x10, 0x4b, - 0x9c, 0x72, 0xb6, 0xf0, 0x56, 0x07, 0x1e, 0x4b, 0x09, 0xc7, 0x92, 0xb2, 0x44, 0xb8, 0x29, 0x67, - 0x92, 0x41, 0x64, 0xa4, 0xae, 0x96, 0xba, 0x85, 0xd4, 0x5d, 0x1d, 0x74, 0xf7, 0x73, 0x08, 0x4e, - 0xa9, 0x77, 0x41, 0x49, 0x1c, 0x06, 0x73, 0x72, 0x89, 0x57, 0x94, 0x71, 0xd3, 0xba, 0x11, 0xe8, - 0x68, 0x9e, 0x5d, 0x78, 0x92, 0x2e, 0x89, 0x90, 0x78, 0x99, 0xe6, 0x82, 0xbd, 0x12, 0x01, 0x27, - 0x09, 0x93, 0xe5, 0x27, 0xf7, 0x7f, 0x54, 0xc0, 0xed, 0xd7, 0x71, 0x26, 0x24, 0xe1, 0xe3, 0xc2, - 0xd5, 0x99, 0xc4, 0x32, 0x13, 0xf0, 0x03, 0xa8, 0x0a, 0x89, 0x25, 0x41, 0x56, 0xcf, 0x1a, 0xb4, - 0x0f, 0x9f, 0xb8, 0xd7, 0x99, 0x74, 0xff, 0x0c, 0x70, 0xd5, 0x0f, 0x19, 0xda, 0x3f, 0x5f, 0xd9, - 0x53, 0x43, 0x82, 0x77, 0x81, 0x43, 0x93, 0x84, 0xf0, 0xc0, 0x80, 0x2b, 0x3d, 0x6b, 0xd0, 0x34, - 0x02, 0xa0, 0xf3, 0xba, 0x03, 0xde, 0x01, 0xf5, 0x90, 0x48, 0x4c, 0x63, 0x81, 0xec, 0xad, 0xa2, - 0xc8, 0xc1, 0x13, 0xd0, 0xd1, 0xed, 0x0a, 0xc2, 0x65, 0xa0, 0xe6, 0x45, 0x3b, 0x3d, 0x6b, 0xe0, - 0x1c, 0x76, 0x0b, 0x8b, 0xc5, 0x32, 0xdc, 0xf3, 0x62, 0x19, 0x86, 0xd1, 0xd6, 0x8d, 0x67, 0xaa, - 0x4f, 0x55, 0xfa, 0x47, 0xa0, 0x6a, 0x1e, 0xe9, 0x80, 0xfa, 0xcc, 0x7f, 0xe7, 0x8f, 0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x17, 0x06, 0x36, 0xc9, 0xee, 0x53, 0xe0, 0x94, 0x9a, 0x61, 0x07, 0xd8, 0x5f, 0xc9, - 0x5a, 0xff, 0x29, 0x9a, 0x53, 0x75, 0x84, 0xb7, 0x40, 0x75, 0x85, 0xe3, 0x2c, 0xbf, 0xcf, 0x53, - 0x13, 0x3c, 0xab, 0x1c, 0x59, 0x43, 0x01, 0xf6, 0x16, 0x6c, 0x79, 0xad, 0xdb, 0xe1, 0xcd, 0x8d, - 0x4f, 0x31, 0x51, 0x57, 0x76, 0x62, 0x7d, 0x7a, 0x99, 0x8b, 0x23, 0x16, 0xe3, 0x24, 0x72, 0x19, - 0x8f, 0xbc, 0x88, 0x24, 0xfa, 0x42, 0x7b, 0xa6, 0x84, 0x53, 0x2a, 0xae, 0x7e, 0x54, 0x9e, 0x17, - 0xe7, 0x79, 0x4d, 0x8b, 0x1f, 0xff, 0x0a, 0x00, 0x00, 0xff, 0xff, 0x9d, 0xc4, 0x04, 0x47, 0x80, - 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/shared.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/shared.pb.go deleted file mode 100644 index ff240f7c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/shared.pb.go +++ /dev/null @@ -1,91 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/dataproc/v1/shared.proto - -package dataproc - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Cluster components that can be activated. -type Component int32 - -const ( - // Unspecified component. - Component_COMPONENT_UNSPECIFIED Component = 0 - // The Anaconda python distribution. - Component_ANACONDA Component = 5 - // The Hive Web HCatalog (the REST service for accessing HCatalog). - Component_HIVE_WEBHCAT Component = 3 - // The Jupyter Notebook. - Component_JUPYTER Component = 1 - // The Zeppelin notebook. - Component_ZEPPELIN Component = 4 -) - -var Component_name = map[int32]string{ - 0: "COMPONENT_UNSPECIFIED", - 5: "ANACONDA", - 3: "HIVE_WEBHCAT", - 1: "JUPYTER", - 4: "ZEPPELIN", -} - -var Component_value = map[string]int32{ - "COMPONENT_UNSPECIFIED": 0, - "ANACONDA": 5, - "HIVE_WEBHCAT": 3, - "JUPYTER": 1, - "ZEPPELIN": 4, -} - -func (x Component) String() string { - return proto.EnumName(Component_name, int32(x)) -} - -func (Component) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_c84c579aa4cb1c4c, []int{0} -} - -func init() { - proto.RegisterEnum("google.cloud.dataproc.v1.Component", Component_name, Component_value) -} - -func init() { - proto.RegisterFile("google/cloud/dataproc/v1/shared.proto", fileDescriptor_c84c579aa4cb1c4c) -} - -var fileDescriptor_c84c579aa4cb1c4c = []byte{ - // 247 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0xd0, 0xcf, 0x4b, 0xc3, 0x30, - 0x14, 0x07, 0x70, 0x87, 0xbf, 0xb3, 0x1d, 0x42, 0x40, 0x50, 0xd9, 0xd5, 0x8b, 0x87, 0x84, 0xe1, - 0xd1, 0x8b, 0x6d, 0x16, 0x59, 0x45, 0xd3, 0xe0, 0x3a, 0xc5, 0x5d, 0xc6, 0xb3, 0x2d, 0xb1, 0xd0, - 0xe5, 0x85, 0x36, 0xee, 0xef, 0x97, 0xb5, 0xdb, 0x49, 0x76, 0x7b, 0xf0, 0x3e, 0xef, 0xf1, 0x7d, - 0x8f, 0xdc, 0x59, 0x44, 0x5b, 0x97, 0x22, 0xaf, 0xf1, 0xb7, 0x10, 0x05, 0x04, 0xf0, 0x0d, 0xe6, - 0x62, 0x33, 0x11, 0xed, 0x0f, 0x34, 0x65, 0xc1, 0x7d, 0x83, 0x01, 0xd9, 0x75, 0xcf, 0x78, 0xc7, - 0xf8, 0x9e, 0xf1, 0xcd, 0xe4, 0x76, 0xbc, 0x5b, 0x00, 0xbe, 0x12, 0xe0, 0x1c, 0x06, 0x08, 0x15, - 0xba, 0xb6, 0x9f, 0xbb, 0x07, 0x72, 0x29, 0x71, 0xed, 0xd1, 0x95, 0x2e, 0xb0, 0x1b, 0x72, 0x25, - 0xd3, 0x37, 0x93, 0x6a, 0xa5, 0xb3, 0xd5, 0x42, 0xcf, 0x8d, 0x92, 0xc9, 0x73, 0xa2, 0xa6, 0xf4, - 0x88, 0x8d, 0xc8, 0x45, 0xa4, 0x23, 0x99, 0xea, 0x69, 0x44, 0x4f, 0x19, 0x25, 0xa3, 0x59, 0xf2, - 0xa1, 0x56, 0x9f, 0x2a, 0x9e, 0xc9, 0x28, 0xa3, 0xc7, 0x6c, 0x48, 0xce, 0x5f, 0x16, 0xe6, 0x2b, - 0x53, 0xef, 0x74, 0xb0, 0xc5, 0x4b, 0x65, 0x8c, 0x7a, 0x4d, 0x34, 0x3d, 0x89, 0x91, 0x8c, 0x73, - 0x5c, 0xf3, 0x43, 0x01, 0xe3, 0xe1, 0xbc, 0x3b, 0xc4, 0x6c, 0xf3, 0x98, 0xc1, 0xf2, 0x69, 0x07, - 0x2d, 0xd6, 0xe0, 0x2c, 0xc7, 0xc6, 0x0a, 0x5b, 0xba, 0x2e, 0xad, 0xe8, 0x5b, 0xe0, 0xab, 0xf6, - 0xff, 0x3f, 0x1e, 0xf7, 0xf5, 0xf7, 0x59, 0x87, 0x1f, 0xfe, 0x02, 0x00, 0x00, 0xff, 0xff, 0xcb, - 0xf9, 0x10, 0xb4, 0x3b, 0x01, 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 deleted file mode 100644 index c8c3c52e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1/workflow_templates.pb.go +++ /dev/null @@ -1,2380 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/dataproc/v1/workflow_templates.proto - -package dataproc - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // 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_a839f5a867063db9, []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_a839f5a867063db9, []int{12, 0} -} - -// A Cloud Dataproc workflow template resource. -type WorkflowTemplate struct { - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // Output only. The resource name of the workflow template, as described - // in https://cloud.google.com/apis/design/resource_names. - // - // * For `projects.regions.workflowTemplates`, the resource name of the - // template has the following format: - // `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}` - // - // * For `projects.locations.workflowTemplates`, the resource name of the - // template has the following format: - // `projects/{project_id}/locations/{location}/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. emplate 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_a839f5a867063db9, []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 (m *WorkflowTemplate) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowTemplate.Merge(m, 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_a839f5a867063db9, []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 (m *WorkflowTemplatePlacement) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowTemplatePlacement.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*WorkflowTemplatePlacement) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*WorkflowTemplatePlacement_ManagedCluster)(nil), - (*WorkflowTemplatePlacement_ClusterSelector)(nil), - } -} - -// 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_a839f5a867063db9, []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 (m *ManagedCluster) XXX_Merge(src proto.Message) { - xxx_messageInfo_ManagedCluster.Merge(m, 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_a839f5a867063db9, []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 (m *ClusterSelector) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClusterSelector.Merge(m, 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_a839f5a867063db9, []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 (m *OrderedJob) XXX_Merge(src proto.Message) { - xxx_messageInfo_OrderedJob.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*OrderedJob) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*OrderedJob_HadoopJob)(nil), - (*OrderedJob_SparkJob)(nil), - (*OrderedJob_PysparkJob)(nil), - (*OrderedJob_HiveJob)(nil), - (*OrderedJob_PigJob)(nil), - (*OrderedJob_SparkSqlJob)(nil), - } -} - -// 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_a839f5a867063db9, []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 (m *TemplateParameter) XXX_Merge(src proto.Message) { - xxx_messageInfo_TemplateParameter.Merge(m, 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_a839f5a867063db9, []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 (m *ParameterValidation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ParameterValidation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*ParameterValidation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ParameterValidation_Regex)(nil), - (*ParameterValidation_Values)(nil), - } -} - -// 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_a839f5a867063db9, []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 (m *RegexValidation) XXX_Merge(src proto.Message) { - xxx_messageInfo_RegexValidation.Merge(m, 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_a839f5a867063db9, []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 (m *ValueValidation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValueValidation.Merge(m, 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 workflow template as described - // in https://cloud.google.com/apis/design/resource_names. - // - // * For `projects.regions.workflowTemplates`, the resource name of the - // template has the following format: - // `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}` - // - // * For `projects.locations.workflowTemplates`, the resource name of the - // template has the following format: - // `projects/{project_id}/locations/{location}/workflowTemplates/{template_id}` - 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_a839f5a867063db9, []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 (m *WorkflowMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowMetadata.Merge(m, 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_a839f5a867063db9, []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 (m *ClusterOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClusterOperation.Merge(m, 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_a839f5a867063db9, []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 (m *WorkflowGraph) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowGraph.Merge(m, 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_a839f5a867063db9, []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 (m *WorkflowNode) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowNode.Merge(m, 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 or location, as described - // in https://cloud.google.com/apis/design/resource_names. - // - // * For `projects.regions.workflowTemplates,create`, the resource name of the - // region has the following format: - // `projects/{project_id}/regions/{region}` - // - // * For `projects.locations.workflowTemplates.create`, the resource name of - // the location has the following format: - // `projects/{project_id}/locations/{location}` - 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_a839f5a867063db9, []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 (m *CreateWorkflowTemplateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateWorkflowTemplateRequest.Merge(m, 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. - // - // * For `projects.regions.workflowTemplates.get`, the resource name of the - // template has the following format: - // `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}` - // - // * For `projects.locations.workflowTemplates.get`, the resource name of the - // template has the following format: - // `projects/{project_id}/locations/{location}/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 - // instantiated 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_a839f5a867063db9, []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 (m *GetWorkflowTemplateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetWorkflowTemplateRequest.Merge(m, 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. - // - // * For `projects.regions.workflowTemplates.instantiate`, the resource name - // of the template has the following format: - // `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}` - // - // * For `projects.locations.workflowTemplates.instantiate`, the resource name - // of the template has the following format: - // `projects/{project_id}/locations/{location}/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_a839f5a867063db9, []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 (m *InstantiateWorkflowTemplateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_InstantiateWorkflowTemplateRequest.Merge(m, 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 region or location, as described - // in https://cloud.google.com/apis/design/resource_names. - // - // * For `projects.regions.workflowTemplates,instantiateinline`, the resource - // name of the region has the following format: - // `projects/{project_id}/regions/{region}` - // - // * For `projects.locations.workflowTemplates.instantiateinline`, the - // resource name of the location has the following format: - // `projects/{project_id}/locations/{location}` - 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_a839f5a867063db9, []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 (m *InstantiateInlineWorkflowTemplateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_InstantiateInlineWorkflowTemplateRequest.Merge(m, 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_a839f5a867063db9, []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 (m *UpdateWorkflowTemplateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateWorkflowTemplateRequest.Merge(m, 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 or location, as described - // in https://cloud.google.com/apis/design/resource_names. - // - // * For `projects.regions.workflowTemplates,list`, the resource - // name of the region has the following format: - // `projects/{project_id}/regions/{region}` - // - // * For `projects.locations.workflowTemplates.list`, the - // resource name of the location has the following format: - // `projects/{project_id}/locations/{location}` - 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_a839f5a867063db9, []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 (m *ListWorkflowTemplatesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListWorkflowTemplatesRequest.Merge(m, 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_a839f5a867063db9, []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 (m *ListWorkflowTemplatesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListWorkflowTemplatesResponse.Merge(m, 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. - // - // * For `projects.regions.workflowTemplates.delete`, the resource name - // of the template has the following format: - // `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}` - // - // * For `projects.locations.workflowTemplates.instantiate`, the resource name - // of the template has the following format: - // `projects/{project_id}/locations/{location}/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_a839f5a867063db9, []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 (m *DeleteWorkflowTemplateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteWorkflowTemplateRequest.Merge(m, 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.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) - 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") -} - -func init() { - proto.RegisterFile("google/cloud/dataproc/v1/workflow_templates.proto", fileDescriptor_a839f5a867063db9) -} - -var fileDescriptor_a839f5a867063db9 = []byte{ - // 2289 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0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, 0xba, 0x8d, 0x3f, 0x14, 0xf3, 0x7b, 0xb6, 0x6d, 0x58, 0x2b, 0x85, 0xc2, - 0xe3, 0xc7, 0x8f, 0x83, 0xad, 0x88, 0xdc, 0xb3, 0xf7, 0xd8, 0x6f, 0xda, 0x1f, 0x11, 0xb4, 0x07, - 0xba, 0xd9, 0x5d, 0x7d, 0x0a, 0x17, 0x5b, 0x7a, 0x37, 0x94, 0x9f, 0xd5, 0xb9, 0x81, 0xfd, 0xde, - 0x21, 0x54, 0xec, 0x08, 0xf7, 0x6f, 0x71, 0x99, 0xb6, 0xde, 0x91, 0xb5, 0x76, 0x5e, 0x37, 0xdb, - 0x85, 0x36, 0xd6, 0x28, 0x51, 0x05, 0xef, 0xc3, 0x83, 0xbf, 0xa1, 0x7f, 0xea, 0x3c, 0x37, 0x13, - 0x74, 0xf1, 0xd5, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0xb8, 0x9c, 0xbf, 0x6f, 0x58, 0x20, 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 - -// 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](/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#workflowmetadata). - // Also see [Using - // WorkflowMetadata](/dataproc/docs/concepts/workflows/debugging#using_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](/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#workflowmetadata). - // Also see [Using - // WorkflowMetadata](/dataproc/docs/concepts/workflows/debugging#using_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](/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#workflowmetadata). - // Also see [Using - // WorkflowMetadata](/dataproc/docs/concepts/workflows/debugging#using_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](/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#workflowmetadata). - // Also see [Using - // WorkflowMetadata](/dataproc/docs/concepts/workflows/debugging#using_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) -} - -// UnimplementedWorkflowTemplateServiceServer can be embedded to have forward compatible implementations. -type UnimplementedWorkflowTemplateServiceServer struct { -} - -func (*UnimplementedWorkflowTemplateServiceServer) CreateWorkflowTemplate(ctx context.Context, req *CreateWorkflowTemplateRequest) (*WorkflowTemplate, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateWorkflowTemplate not implemented") -} -func (*UnimplementedWorkflowTemplateServiceServer) GetWorkflowTemplate(ctx context.Context, req *GetWorkflowTemplateRequest) (*WorkflowTemplate, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetWorkflowTemplate not implemented") -} -func (*UnimplementedWorkflowTemplateServiceServer) InstantiateWorkflowTemplate(ctx context.Context, req *InstantiateWorkflowTemplateRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method InstantiateWorkflowTemplate not implemented") -} -func (*UnimplementedWorkflowTemplateServiceServer) InstantiateInlineWorkflowTemplate(ctx context.Context, req *InstantiateInlineWorkflowTemplateRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method InstantiateInlineWorkflowTemplate not implemented") -} -func (*UnimplementedWorkflowTemplateServiceServer) UpdateWorkflowTemplate(ctx context.Context, req *UpdateWorkflowTemplateRequest) (*WorkflowTemplate, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateWorkflowTemplate not implemented") -} -func (*UnimplementedWorkflowTemplateServiceServer) ListWorkflowTemplates(ctx context.Context, req *ListWorkflowTemplatesRequest) (*ListWorkflowTemplatesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListWorkflowTemplates not implemented") -} -func (*UnimplementedWorkflowTemplateServiceServer) DeleteWorkflowTemplate(ctx context.Context, req *DeleteWorkflowTemplateRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteWorkflowTemplate not implemented") -} - -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", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/autoscaling_policies.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/autoscaling_policies.pb.go deleted file mode 100644 index 6f3e2848..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/autoscaling_policies.pb.go +++ /dev/null @@ -1,1054 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/dataproc/v1beta2/autoscaling_policies.proto - -package dataproc - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Describes an autoscaling policy for Dataproc cluster autoscaler. -type AutoscalingPolicy struct { - // Required. The policy 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,1,opt,name=id,proto3" json:"id,omitempty"` - // Output only. The "resource name" of the autoscaling policy, as described - // in https://cloud.google.com/apis/design/resource_names. - // - // * For `projects.regions.autoscalingPolicies`, the resource name of the - // policy has the following format: - // `projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id}` - // - // * For `projects.locations.autoscalingPolicies`, the resource name of the - // policy has the following format: - // `projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - // Required. Autoscaling algorithm for policy. - // - // Types that are valid to be assigned to Algorithm: - // *AutoscalingPolicy_BasicAlgorithm - Algorithm isAutoscalingPolicy_Algorithm `protobuf_oneof:"algorithm"` - // Required. Describes how the autoscaler will operate for primary workers. - WorkerConfig *InstanceGroupAutoscalingPolicyConfig `protobuf:"bytes,4,opt,name=worker_config,json=workerConfig,proto3" json:"worker_config,omitempty"` - // Optional. Describes how the autoscaler will operate for secondary workers. - SecondaryWorkerConfig *InstanceGroupAutoscalingPolicyConfig `protobuf:"bytes,5,opt,name=secondary_worker_config,json=secondaryWorkerConfig,proto3" json:"secondary_worker_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AutoscalingPolicy) Reset() { *m = AutoscalingPolicy{} } -func (m *AutoscalingPolicy) String() string { return proto.CompactTextString(m) } -func (*AutoscalingPolicy) ProtoMessage() {} -func (*AutoscalingPolicy) Descriptor() ([]byte, []int) { - return fileDescriptor_913da8702c1b2ed6, []int{0} -} - -func (m *AutoscalingPolicy) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AutoscalingPolicy.Unmarshal(m, b) -} -func (m *AutoscalingPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AutoscalingPolicy.Marshal(b, m, deterministic) -} -func (m *AutoscalingPolicy) XXX_Merge(src proto.Message) { - xxx_messageInfo_AutoscalingPolicy.Merge(m, src) -} -func (m *AutoscalingPolicy) XXX_Size() int { - return xxx_messageInfo_AutoscalingPolicy.Size(m) -} -func (m *AutoscalingPolicy) XXX_DiscardUnknown() { - xxx_messageInfo_AutoscalingPolicy.DiscardUnknown(m) -} - -var xxx_messageInfo_AutoscalingPolicy proto.InternalMessageInfo - -func (m *AutoscalingPolicy) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *AutoscalingPolicy) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -type isAutoscalingPolicy_Algorithm interface { - isAutoscalingPolicy_Algorithm() -} - -type AutoscalingPolicy_BasicAlgorithm struct { - BasicAlgorithm *BasicAutoscalingAlgorithm `protobuf:"bytes,3,opt,name=basic_algorithm,json=basicAlgorithm,proto3,oneof"` -} - -func (*AutoscalingPolicy_BasicAlgorithm) isAutoscalingPolicy_Algorithm() {} - -func (m *AutoscalingPolicy) GetAlgorithm() isAutoscalingPolicy_Algorithm { - if m != nil { - return m.Algorithm - } - return nil -} - -func (m *AutoscalingPolicy) GetBasicAlgorithm() *BasicAutoscalingAlgorithm { - if x, ok := m.GetAlgorithm().(*AutoscalingPolicy_BasicAlgorithm); ok { - return x.BasicAlgorithm - } - return nil -} - -func (m *AutoscalingPolicy) GetWorkerConfig() *InstanceGroupAutoscalingPolicyConfig { - if m != nil { - return m.WorkerConfig - } - return nil -} - -func (m *AutoscalingPolicy) GetSecondaryWorkerConfig() *InstanceGroupAutoscalingPolicyConfig { - if m != nil { - return m.SecondaryWorkerConfig - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AutoscalingPolicy) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AutoscalingPolicy_BasicAlgorithm)(nil), - } -} - -// Basic algorithm for autoscaling. -type BasicAutoscalingAlgorithm struct { - // Required. YARN autoscaling configuration. - YarnConfig *BasicYarnAutoscalingConfig `protobuf:"bytes,1,opt,name=yarn_config,json=yarnConfig,proto3" json:"yarn_config,omitempty"` - // Optional. Duration between scaling events. A scaling period starts after - // the update operation from the previous event has completed. - // - // Bounds: [2m, 1d]. Default: 2m. - CooldownPeriod *duration.Duration `protobuf:"bytes,2,opt,name=cooldown_period,json=cooldownPeriod,proto3" json:"cooldown_period,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BasicAutoscalingAlgorithm) Reset() { *m = BasicAutoscalingAlgorithm{} } -func (m *BasicAutoscalingAlgorithm) String() string { return proto.CompactTextString(m) } -func (*BasicAutoscalingAlgorithm) ProtoMessage() {} -func (*BasicAutoscalingAlgorithm) Descriptor() ([]byte, []int) { - return fileDescriptor_913da8702c1b2ed6, []int{1} -} - -func (m *BasicAutoscalingAlgorithm) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BasicAutoscalingAlgorithm.Unmarshal(m, b) -} -func (m *BasicAutoscalingAlgorithm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BasicAutoscalingAlgorithm.Marshal(b, m, deterministic) -} -func (m *BasicAutoscalingAlgorithm) XXX_Merge(src proto.Message) { - xxx_messageInfo_BasicAutoscalingAlgorithm.Merge(m, src) -} -func (m *BasicAutoscalingAlgorithm) XXX_Size() int { - return xxx_messageInfo_BasicAutoscalingAlgorithm.Size(m) -} -func (m *BasicAutoscalingAlgorithm) XXX_DiscardUnknown() { - xxx_messageInfo_BasicAutoscalingAlgorithm.DiscardUnknown(m) -} - -var xxx_messageInfo_BasicAutoscalingAlgorithm proto.InternalMessageInfo - -func (m *BasicAutoscalingAlgorithm) GetYarnConfig() *BasicYarnAutoscalingConfig { - if m != nil { - return m.YarnConfig - } - return nil -} - -func (m *BasicAutoscalingAlgorithm) GetCooldownPeriod() *duration.Duration { - if m != nil { - return m.CooldownPeriod - } - return nil -} - -// Basic autoscaling configurations for YARN. -type BasicYarnAutoscalingConfig struct { - // Required. Timeout for YARN graceful decommissioning of Node Managers. - // Specifies the duration to wait for jobs to complete before forcefully - // removing workers (and potentially interrupting jobs). Only applicable to - // downscaling operations. - // - // Bounds: [0s, 1d]. - GracefulDecommissionTimeout *duration.Duration `protobuf:"bytes,5,opt,name=graceful_decommission_timeout,json=gracefulDecommissionTimeout,proto3" json:"graceful_decommission_timeout,omitempty"` - // Required. Fraction of average pending memory in the last cooldown period - // for which to add workers. A scale-up factor of 1.0 will result in scaling - // up so that there is no pending memory remaining after the update (more - // aggressive scaling). A scale-up factor closer to 0 will result in a smaller - // magnitude of scaling up (less aggressive scaling). - // - // Bounds: [0.0, 1.0]. - ScaleUpFactor float64 `protobuf:"fixed64,1,opt,name=scale_up_factor,json=scaleUpFactor,proto3" json:"scale_up_factor,omitempty"` - // Required. Fraction of average pending memory in the last cooldown period - // for which to remove workers. A scale-down factor of 1 will result in - // scaling down so that there is no available memory remaining after the - // update (more aggressive scaling). A scale-down factor of 0 disables - // removing workers, which can be beneficial for autoscaling a single job. - // - // Bounds: [0.0, 1.0]. - ScaleDownFactor float64 `protobuf:"fixed64,2,opt,name=scale_down_factor,json=scaleDownFactor,proto3" json:"scale_down_factor,omitempty"` - // Optional. Minimum scale-up threshold as a fraction of total cluster size - // before scaling occurs. For example, in a 20-worker cluster, a threshold of - // 0.1 means the autoscaler must recommend at least a 2-worker scale-up for - // the cluster to scale. A threshold of 0 means the autoscaler will scale up - // on any recommended change. - // - // Bounds: [0.0, 1.0]. Default: 0.0. - ScaleUpMinWorkerFraction float64 `protobuf:"fixed64,3,opt,name=scale_up_min_worker_fraction,json=scaleUpMinWorkerFraction,proto3" json:"scale_up_min_worker_fraction,omitempty"` - // Optional. Minimum scale-down threshold as a fraction of total cluster size - // before scaling occurs. For example, in a 20-worker cluster, a threshold of - // 0.1 means the autoscaler must recommend at least a 2 worker scale-down for - // the cluster to scale. A threshold of 0 means the autoscaler will scale down - // on any recommended change. - // - // Bounds: [0.0, 1.0]. Default: 0.0. - ScaleDownMinWorkerFraction float64 `protobuf:"fixed64,4,opt,name=scale_down_min_worker_fraction,json=scaleDownMinWorkerFraction,proto3" json:"scale_down_min_worker_fraction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BasicYarnAutoscalingConfig) Reset() { *m = BasicYarnAutoscalingConfig{} } -func (m *BasicYarnAutoscalingConfig) String() string { return proto.CompactTextString(m) } -func (*BasicYarnAutoscalingConfig) ProtoMessage() {} -func (*BasicYarnAutoscalingConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_913da8702c1b2ed6, []int{2} -} - -func (m *BasicYarnAutoscalingConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BasicYarnAutoscalingConfig.Unmarshal(m, b) -} -func (m *BasicYarnAutoscalingConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BasicYarnAutoscalingConfig.Marshal(b, m, deterministic) -} -func (m *BasicYarnAutoscalingConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_BasicYarnAutoscalingConfig.Merge(m, src) -} -func (m *BasicYarnAutoscalingConfig) XXX_Size() int { - return xxx_messageInfo_BasicYarnAutoscalingConfig.Size(m) -} -func (m *BasicYarnAutoscalingConfig) XXX_DiscardUnknown() { - xxx_messageInfo_BasicYarnAutoscalingConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_BasicYarnAutoscalingConfig proto.InternalMessageInfo - -func (m *BasicYarnAutoscalingConfig) GetGracefulDecommissionTimeout() *duration.Duration { - if m != nil { - return m.GracefulDecommissionTimeout - } - return nil -} - -func (m *BasicYarnAutoscalingConfig) GetScaleUpFactor() float64 { - if m != nil { - return m.ScaleUpFactor - } - return 0 -} - -func (m *BasicYarnAutoscalingConfig) GetScaleDownFactor() float64 { - if m != nil { - return m.ScaleDownFactor - } - return 0 -} - -func (m *BasicYarnAutoscalingConfig) GetScaleUpMinWorkerFraction() float64 { - if m != nil { - return m.ScaleUpMinWorkerFraction - } - return 0 -} - -func (m *BasicYarnAutoscalingConfig) GetScaleDownMinWorkerFraction() float64 { - if m != nil { - return m.ScaleDownMinWorkerFraction - } - return 0 -} - -// Configuration for the size bounds of an instance group, including its -// proportional size to other groups. -type InstanceGroupAutoscalingPolicyConfig struct { - // Optional. Minimum number of instances for this group. - // - // Primary workers - Bounds: [2, max_instances]. Default: 2. - // Secondary workers - Bounds: [0, max_instances]. Default: 0. - MinInstances int32 `protobuf:"varint,1,opt,name=min_instances,json=minInstances,proto3" json:"min_instances,omitempty"` - // Optional. Maximum number of instances for this group. Required for primary - // workers. Note that by default, clusters will not use secondary workers. - // Required for secondary workers if the minimum secondary instances is set. - // - // Primary workers - Bounds: [min_instances, ). Required. - // Secondary workers - Bounds: [min_instances, ). Default: 0. - MaxInstances int32 `protobuf:"varint,2,opt,name=max_instances,json=maxInstances,proto3" json:"max_instances,omitempty"` - // Optional. Weight for the instance group, which is used to determine the - // fraction of total workers in the cluster from this instance group. - // For example, if primary workers have weight 2, and secondary workers have - // weight 1, the cluster will have approximately 2 primary workers for each - // secondary worker. - // - // The cluster may not reach the specified balance if constrained - // by min/max bounds or other autoscaling settings. For example, if - // `max_instances` for secondary workers is 0, then only primary workers will - // be added. The cluster can also be out of balance when created. - // - // If weight is not set on any instance group, the cluster will default to - // equal weight for all groups: the cluster will attempt to maintain an equal - // number of workers in each group within the configured size bounds for each - // group. If weight is set for one group only, the cluster will default to - // zero weight on the unset group. For example if weight is set only on - // primary workers, the cluster will use primary workers only and no - // secondary workers. - Weight int32 `protobuf:"varint,3,opt,name=weight,proto3" json:"weight,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *InstanceGroupAutoscalingPolicyConfig) Reset() { *m = InstanceGroupAutoscalingPolicyConfig{} } -func (m *InstanceGroupAutoscalingPolicyConfig) String() string { return proto.CompactTextString(m) } -func (*InstanceGroupAutoscalingPolicyConfig) ProtoMessage() {} -func (*InstanceGroupAutoscalingPolicyConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_913da8702c1b2ed6, []int{3} -} - -func (m *InstanceGroupAutoscalingPolicyConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InstanceGroupAutoscalingPolicyConfig.Unmarshal(m, b) -} -func (m *InstanceGroupAutoscalingPolicyConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InstanceGroupAutoscalingPolicyConfig.Marshal(b, m, deterministic) -} -func (m *InstanceGroupAutoscalingPolicyConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_InstanceGroupAutoscalingPolicyConfig.Merge(m, src) -} -func (m *InstanceGroupAutoscalingPolicyConfig) XXX_Size() int { - return xxx_messageInfo_InstanceGroupAutoscalingPolicyConfig.Size(m) -} -func (m *InstanceGroupAutoscalingPolicyConfig) XXX_DiscardUnknown() { - xxx_messageInfo_InstanceGroupAutoscalingPolicyConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_InstanceGroupAutoscalingPolicyConfig proto.InternalMessageInfo - -func (m *InstanceGroupAutoscalingPolicyConfig) GetMinInstances() int32 { - if m != nil { - return m.MinInstances - } - return 0 -} - -func (m *InstanceGroupAutoscalingPolicyConfig) GetMaxInstances() int32 { - if m != nil { - return m.MaxInstances - } - return 0 -} - -func (m *InstanceGroupAutoscalingPolicyConfig) GetWeight() int32 { - if m != nil { - return m.Weight - } - return 0 -} - -// A request to create an autoscaling policy. -type CreateAutoscalingPolicyRequest struct { - // Required. The "resource name" of the region or location, as described - // in https://cloud.google.com/apis/design/resource_names. - // - // * For `projects.regions.autoscalingPolicies.create`, the resource name - // has the following format: - // `projects/{project_id}/regions/{region}` - // - // * For `projects.locations.autoscalingPolicies.create`, the resource name - // has the following format: - // `projects/{project_id}/locations/{location}` - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The autoscaling policy to create. - Policy *AutoscalingPolicy `protobuf:"bytes,2,opt,name=policy,proto3" json:"policy,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateAutoscalingPolicyRequest) Reset() { *m = CreateAutoscalingPolicyRequest{} } -func (m *CreateAutoscalingPolicyRequest) String() string { return proto.CompactTextString(m) } -func (*CreateAutoscalingPolicyRequest) ProtoMessage() {} -func (*CreateAutoscalingPolicyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_913da8702c1b2ed6, []int{4} -} - -func (m *CreateAutoscalingPolicyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateAutoscalingPolicyRequest.Unmarshal(m, b) -} -func (m *CreateAutoscalingPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateAutoscalingPolicyRequest.Marshal(b, m, deterministic) -} -func (m *CreateAutoscalingPolicyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateAutoscalingPolicyRequest.Merge(m, src) -} -func (m *CreateAutoscalingPolicyRequest) XXX_Size() int { - return xxx_messageInfo_CreateAutoscalingPolicyRequest.Size(m) -} -func (m *CreateAutoscalingPolicyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateAutoscalingPolicyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateAutoscalingPolicyRequest proto.InternalMessageInfo - -func (m *CreateAutoscalingPolicyRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateAutoscalingPolicyRequest) GetPolicy() *AutoscalingPolicy { - if m != nil { - return m.Policy - } - return nil -} - -// A request to fetch an autoscaling policy. -type GetAutoscalingPolicyRequest struct { - // Required. The "resource name" of the autoscaling policy, as described - // in https://cloud.google.com/apis/design/resource_names. - // - // * For `projects.regions.autoscalingPolicies.get`, the resource name - // of the policy has the following format: - // `projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id}` - // - // * For `projects.locations.autoscalingPolicies.get`, the resource name - // of the policy has the following format: - // `projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_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 *GetAutoscalingPolicyRequest) Reset() { *m = GetAutoscalingPolicyRequest{} } -func (m *GetAutoscalingPolicyRequest) String() string { return proto.CompactTextString(m) } -func (*GetAutoscalingPolicyRequest) ProtoMessage() {} -func (*GetAutoscalingPolicyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_913da8702c1b2ed6, []int{5} -} - -func (m *GetAutoscalingPolicyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAutoscalingPolicyRequest.Unmarshal(m, b) -} -func (m *GetAutoscalingPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAutoscalingPolicyRequest.Marshal(b, m, deterministic) -} -func (m *GetAutoscalingPolicyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAutoscalingPolicyRequest.Merge(m, src) -} -func (m *GetAutoscalingPolicyRequest) XXX_Size() int { - return xxx_messageInfo_GetAutoscalingPolicyRequest.Size(m) -} -func (m *GetAutoscalingPolicyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAutoscalingPolicyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetAutoscalingPolicyRequest proto.InternalMessageInfo - -func (m *GetAutoscalingPolicyRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// A request to update an autoscaling policy. -type UpdateAutoscalingPolicyRequest struct { - // Required. The updated autoscaling policy. - Policy *AutoscalingPolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpdateAutoscalingPolicyRequest) Reset() { *m = UpdateAutoscalingPolicyRequest{} } -func (m *UpdateAutoscalingPolicyRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateAutoscalingPolicyRequest) ProtoMessage() {} -func (*UpdateAutoscalingPolicyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_913da8702c1b2ed6, []int{6} -} - -func (m *UpdateAutoscalingPolicyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateAutoscalingPolicyRequest.Unmarshal(m, b) -} -func (m *UpdateAutoscalingPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateAutoscalingPolicyRequest.Marshal(b, m, deterministic) -} -func (m *UpdateAutoscalingPolicyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateAutoscalingPolicyRequest.Merge(m, src) -} -func (m *UpdateAutoscalingPolicyRequest) XXX_Size() int { - return xxx_messageInfo_UpdateAutoscalingPolicyRequest.Size(m) -} -func (m *UpdateAutoscalingPolicyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateAutoscalingPolicyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateAutoscalingPolicyRequest proto.InternalMessageInfo - -func (m *UpdateAutoscalingPolicyRequest) GetPolicy() *AutoscalingPolicy { - if m != nil { - return m.Policy - } - return nil -} - -// A request to delete an autoscaling policy. -// -// Autoscaling policies in use by one or more clusters will not be deleted. -type DeleteAutoscalingPolicyRequest struct { - // Required. The "resource name" of the autoscaling policy, as described - // in https://cloud.google.com/apis/design/resource_names. - // - // * For `projects.regions.autoscalingPolicies.delete`, the resource name - // of the policy has the following format: - // `projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id}` - // - // * For `projects.locations.autoscalingPolicies.delete`, the resource name - // of the policy has the following format: - // `projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_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 *DeleteAutoscalingPolicyRequest) Reset() { *m = DeleteAutoscalingPolicyRequest{} } -func (m *DeleteAutoscalingPolicyRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteAutoscalingPolicyRequest) ProtoMessage() {} -func (*DeleteAutoscalingPolicyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_913da8702c1b2ed6, []int{7} -} - -func (m *DeleteAutoscalingPolicyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteAutoscalingPolicyRequest.Unmarshal(m, b) -} -func (m *DeleteAutoscalingPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteAutoscalingPolicyRequest.Marshal(b, m, deterministic) -} -func (m *DeleteAutoscalingPolicyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteAutoscalingPolicyRequest.Merge(m, src) -} -func (m *DeleteAutoscalingPolicyRequest) XXX_Size() int { - return xxx_messageInfo_DeleteAutoscalingPolicyRequest.Size(m) -} -func (m *DeleteAutoscalingPolicyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteAutoscalingPolicyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteAutoscalingPolicyRequest proto.InternalMessageInfo - -func (m *DeleteAutoscalingPolicyRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// A request to list autoscaling policies in a project. -type ListAutoscalingPoliciesRequest struct { - // Required. The "resource name" of the region or location, as described - // in https://cloud.google.com/apis/design/resource_names. - // - // * For `projects.regions.autoscalingPolicies.list`, the resource name - // of the region has the following format: - // `projects/{project_id}/regions/{region}` - // - // * For `projects.locations.autoscalingPolicies.list`, the resource name - // of the location has the following format: - // `projects/{project_id}/locations/{location}` - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. The maximum number of results to return in each response. - // Must be less than or equal to 1000. Defaults to 100. - 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 *ListAutoscalingPoliciesRequest) Reset() { *m = ListAutoscalingPoliciesRequest{} } -func (m *ListAutoscalingPoliciesRequest) String() string { return proto.CompactTextString(m) } -func (*ListAutoscalingPoliciesRequest) ProtoMessage() {} -func (*ListAutoscalingPoliciesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_913da8702c1b2ed6, []int{8} -} - -func (m *ListAutoscalingPoliciesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListAutoscalingPoliciesRequest.Unmarshal(m, b) -} -func (m *ListAutoscalingPoliciesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListAutoscalingPoliciesRequest.Marshal(b, m, deterministic) -} -func (m *ListAutoscalingPoliciesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAutoscalingPoliciesRequest.Merge(m, src) -} -func (m *ListAutoscalingPoliciesRequest) XXX_Size() int { - return xxx_messageInfo_ListAutoscalingPoliciesRequest.Size(m) -} -func (m *ListAutoscalingPoliciesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListAutoscalingPoliciesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListAutoscalingPoliciesRequest proto.InternalMessageInfo - -func (m *ListAutoscalingPoliciesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListAutoscalingPoliciesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListAutoscalingPoliciesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// A response to a request to list autoscaling policies in a project. -type ListAutoscalingPoliciesResponse struct { - // Output only. Autoscaling policies list. - Policies []*AutoscalingPolicy `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"` - // Output only. This token is included in the response if there are more - // results to fetch. - 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 *ListAutoscalingPoliciesResponse) Reset() { *m = ListAutoscalingPoliciesResponse{} } -func (m *ListAutoscalingPoliciesResponse) String() string { return proto.CompactTextString(m) } -func (*ListAutoscalingPoliciesResponse) ProtoMessage() {} -func (*ListAutoscalingPoliciesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_913da8702c1b2ed6, []int{9} -} - -func (m *ListAutoscalingPoliciesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListAutoscalingPoliciesResponse.Unmarshal(m, b) -} -func (m *ListAutoscalingPoliciesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListAutoscalingPoliciesResponse.Marshal(b, m, deterministic) -} -func (m *ListAutoscalingPoliciesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAutoscalingPoliciesResponse.Merge(m, src) -} -func (m *ListAutoscalingPoliciesResponse) XXX_Size() int { - return xxx_messageInfo_ListAutoscalingPoliciesResponse.Size(m) -} -func (m *ListAutoscalingPoliciesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListAutoscalingPoliciesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListAutoscalingPoliciesResponse proto.InternalMessageInfo - -func (m *ListAutoscalingPoliciesResponse) GetPolicies() []*AutoscalingPolicy { - if m != nil { - return m.Policies - } - return nil -} - -func (m *ListAutoscalingPoliciesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -func init() { - proto.RegisterType((*AutoscalingPolicy)(nil), "google.cloud.dataproc.v1beta2.AutoscalingPolicy") - proto.RegisterType((*BasicAutoscalingAlgorithm)(nil), "google.cloud.dataproc.v1beta2.BasicAutoscalingAlgorithm") - proto.RegisterType((*BasicYarnAutoscalingConfig)(nil), "google.cloud.dataproc.v1beta2.BasicYarnAutoscalingConfig") - proto.RegisterType((*InstanceGroupAutoscalingPolicyConfig)(nil), "google.cloud.dataproc.v1beta2.InstanceGroupAutoscalingPolicyConfig") - proto.RegisterType((*CreateAutoscalingPolicyRequest)(nil), "google.cloud.dataproc.v1beta2.CreateAutoscalingPolicyRequest") - proto.RegisterType((*GetAutoscalingPolicyRequest)(nil), "google.cloud.dataproc.v1beta2.GetAutoscalingPolicyRequest") - proto.RegisterType((*UpdateAutoscalingPolicyRequest)(nil), "google.cloud.dataproc.v1beta2.UpdateAutoscalingPolicyRequest") - proto.RegisterType((*DeleteAutoscalingPolicyRequest)(nil), "google.cloud.dataproc.v1beta2.DeleteAutoscalingPolicyRequest") - proto.RegisterType((*ListAutoscalingPoliciesRequest)(nil), "google.cloud.dataproc.v1beta2.ListAutoscalingPoliciesRequest") - proto.RegisterType((*ListAutoscalingPoliciesResponse)(nil), "google.cloud.dataproc.v1beta2.ListAutoscalingPoliciesResponse") -} - -func init() { - proto.RegisterFile("google/cloud/dataproc/v1beta2/autoscaling_policies.proto", fileDescriptor_913da8702c1b2ed6) -} - -var fileDescriptor_913da8702c1b2ed6 = []byte{ - // 1237 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0xcf, 0x6f, 0xdc, 0x44, - 0x14, 0x66, 0x9c, 0x34, 0x6a, 0x26, 0x4d, 0xab, 0x0e, 0x3f, 0x76, 0xbb, 0x69, 0xd3, 0x60, 0x71, - 0x28, 0x29, 0xac, 0x69, 0xb8, 0x94, 0xd0, 0x22, 0x39, 0x49, 0x1b, 0xaa, 0xb6, 0xd2, 0xb2, 0x6d, - 0x85, 0xe8, 0xc5, 0x9a, 0xb5, 0x67, 0x9d, 0xa1, 0xb6, 0xc7, 0x8c, 0x67, 0xbb, 0x4d, 0x97, 0x48, - 0x88, 0x03, 0x12, 0x02, 0x09, 0x24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b6, 0x06, 0x43, 0x82, 0xdf, 0xde, 0x41, 0xad, 0x11, 0x68, 0x01, 0x73, 0x95, 0xa0, - 0xad, 0x41, 0xf6, 0xb9, 0x77, 0xc4, 0x25, 0xb0, 0x36, 0x07, 0x67, 0x73, 0x91, 0x98, 0x3f, 0x01, - 0x78, 0xac, 0x54, 0x02, 0xc8, 0x81, 0x73, 0xdb, 0x98, 0x47, 0x19, 0xe9, 0x40, 0x92, 0xfe, 0xca, - 0x5e, 0x14, 0xf5, 0x16, 0xe6, 0x51, 0x01, 0xb2, 0xb8, 0xc9, 0x30, 0x85, 0xd4, 0x5b, 0xbc, 0x09, - 0x8f, 0xb8, 0x8c, 0x05, 0x1e, 0xeb, 0x47, 0x4e, 0x4c, 0x38, 0x65, 0x9e, 0x94, 0xf6, 0xdc, 0xca, - 0xb1, 0x2c, 0x49, 0x36, 0x31, 0xcd, 0x0d, 0x3d, 0x51, 0x6a, 0xbf, 0x0e, 0x67, 0x61, 0x2d, 0x19, - 0x65, 0xfe, 0x65, 0xc0, 0x46, 0x79, 0x62, 0xd4, 0x81, 0x27, 0x7c, 0x8e, 0x5d, 0xd2, 0xed, 0x05, - 0x8e, 0x47, 0x5c, 0x16, 0x86, 0x34, 0x49, 0x28, 0x8b, 0x1c, 0x41, 0x43, 0xc2, 0x7a, 0x42, 0xeb, - 0xa9, 0x3a, 0xab, 0xd1, 0x5e, 0xc8, 0x40, 0x36, 0x0a, 0x18, 0xd7, 0x15, 0x04, 0x3a, 0x0d, 0x8f, - 0xa4, 0x49, 0x89, 0xd3, 0x8b, 0x9d, 0x2e, 0x76, 0x05, 0xe3, 0x92, 0x30, 0xa0, 0x42, 0xe7, 0xa5, - 0xed, 0x46, 0x7c, 0x51, 0x5a, 0x90, 0x05, 0x8f, 0x2a, 0x67, 0xd9, 0xba, 0x76, 0x37, 0x76, 0xdd, - 0x15, 0xd4, 0x06, 0xeb, 0x47, 0x3a, 0x60, 0x1d, 0x1e, 0xcf, 0xd1, 0x43,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52, 0x3f, 0xea, - 0x5f, 0x8c, 0x03, 0x2c, 0xba, 0x8c, 0x87, 0x6b, 0x1f, 0x00, 0xf8, 0xac, 0xcb, 0xc2, 0x6a, 0xd6, - 0xd6, 0xea, 0x23, 0xc4, 0xd1, 0x4a, 0x19, 0x6a, 0x81, 0x9b, 0x17, 0x74, 0xa8, 0xcf, 0x02, 0x1c, - 0xf9, 0x4d, 0xc6, 0x7d, 0xcb, 0x27, 0x91, 0xe4, 0xcf, 0xda, 0x2d, 0xa0, 0xe4, 0x9f, 0x09, 0xaf, - 0x66, 0x0b, 0x9d, 0x19, 0x19, 0xf1, 0xf2, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xf3, 0xba, 0x81, - 0x3f, 0x7d, 0x10, 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 - -// AutoscalingPolicyServiceClient is the client API for AutoscalingPolicyService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AutoscalingPolicyServiceClient interface { - // Creates new autoscaling policy. - CreateAutoscalingPolicy(ctx context.Context, in *CreateAutoscalingPolicyRequest, opts ...grpc.CallOption) (*AutoscalingPolicy, error) - // Updates (replaces) autoscaling policy. - // - // Disabled check for update_mask, because all updates will be full - // replacements. - UpdateAutoscalingPolicy(ctx context.Context, in *UpdateAutoscalingPolicyRequest, opts ...grpc.CallOption) (*AutoscalingPolicy, error) - // Retrieves autoscaling policy. - GetAutoscalingPolicy(ctx context.Context, in *GetAutoscalingPolicyRequest, opts ...grpc.CallOption) (*AutoscalingPolicy, error) - // Lists autoscaling policies in the project. - ListAutoscalingPolicies(ctx context.Context, in *ListAutoscalingPoliciesRequest, opts ...grpc.CallOption) (*ListAutoscalingPoliciesResponse, error) - // Deletes an autoscaling policy. It is an error to delete an autoscaling - // policy that is in use by one or more clusters. - DeleteAutoscalingPolicy(ctx context.Context, in *DeleteAutoscalingPolicyRequest, opts ...grpc.CallOption) (*empty.Empty, error) -} - -type autoscalingPolicyServiceClient struct { - cc *grpc.ClientConn -} - -func NewAutoscalingPolicyServiceClient(cc *grpc.ClientConn) AutoscalingPolicyServiceClient { - return &autoscalingPolicyServiceClient{cc} -} - -func (c *autoscalingPolicyServiceClient) CreateAutoscalingPolicy(ctx context.Context, in *CreateAutoscalingPolicyRequest, opts ...grpc.CallOption) (*AutoscalingPolicy, error) { - out := new(AutoscalingPolicy) - err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1beta2.AutoscalingPolicyService/CreateAutoscalingPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoscalingPolicyServiceClient) UpdateAutoscalingPolicy(ctx context.Context, in *UpdateAutoscalingPolicyRequest, opts ...grpc.CallOption) (*AutoscalingPolicy, error) { - out := new(AutoscalingPolicy) - err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1beta2.AutoscalingPolicyService/UpdateAutoscalingPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoscalingPolicyServiceClient) GetAutoscalingPolicy(ctx context.Context, in *GetAutoscalingPolicyRequest, opts ...grpc.CallOption) (*AutoscalingPolicy, error) { - out := new(AutoscalingPolicy) - err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1beta2.AutoscalingPolicyService/GetAutoscalingPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoscalingPolicyServiceClient) ListAutoscalingPolicies(ctx context.Context, in *ListAutoscalingPoliciesRequest, opts ...grpc.CallOption) (*ListAutoscalingPoliciesResponse, error) { - out := new(ListAutoscalingPoliciesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1beta2.AutoscalingPolicyService/ListAutoscalingPolicies", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *autoscalingPolicyServiceClient) DeleteAutoscalingPolicy(ctx context.Context, in *DeleteAutoscalingPolicyRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1beta2.AutoscalingPolicyService/DeleteAutoscalingPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AutoscalingPolicyServiceServer is the server API for AutoscalingPolicyService service. -type AutoscalingPolicyServiceServer interface { - // Creates new autoscaling policy. - CreateAutoscalingPolicy(context.Context, *CreateAutoscalingPolicyRequest) (*AutoscalingPolicy, error) - // Updates (replaces) autoscaling policy. - // - // Disabled check for update_mask, because all updates will be full - // replacements. - UpdateAutoscalingPolicy(context.Context, *UpdateAutoscalingPolicyRequest) (*AutoscalingPolicy, error) - // Retrieves autoscaling policy. - GetAutoscalingPolicy(context.Context, *GetAutoscalingPolicyRequest) (*AutoscalingPolicy, error) - // Lists autoscaling policies in the project. - ListAutoscalingPolicies(context.Context, *ListAutoscalingPoliciesRequest) (*ListAutoscalingPoliciesResponse, error) - // Deletes an autoscaling policy. It is an error to delete an autoscaling - // policy that is in use by one or more clusters. - DeleteAutoscalingPolicy(context.Context, *DeleteAutoscalingPolicyRequest) (*empty.Empty, error) -} - -// UnimplementedAutoscalingPolicyServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAutoscalingPolicyServiceServer struct { -} - -func (*UnimplementedAutoscalingPolicyServiceServer) CreateAutoscalingPolicy(ctx context.Context, req *CreateAutoscalingPolicyRequest) (*AutoscalingPolicy, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateAutoscalingPolicy not implemented") -} -func (*UnimplementedAutoscalingPolicyServiceServer) UpdateAutoscalingPolicy(ctx context.Context, req *UpdateAutoscalingPolicyRequest) (*AutoscalingPolicy, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateAutoscalingPolicy not implemented") -} -func (*UnimplementedAutoscalingPolicyServiceServer) GetAutoscalingPolicy(ctx context.Context, req *GetAutoscalingPolicyRequest) (*AutoscalingPolicy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAutoscalingPolicy not implemented") -} -func (*UnimplementedAutoscalingPolicyServiceServer) ListAutoscalingPolicies(ctx context.Context, req *ListAutoscalingPoliciesRequest) (*ListAutoscalingPoliciesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListAutoscalingPolicies not implemented") -} -func (*UnimplementedAutoscalingPolicyServiceServer) DeleteAutoscalingPolicy(ctx context.Context, req *DeleteAutoscalingPolicyRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteAutoscalingPolicy not implemented") -} - -func RegisterAutoscalingPolicyServiceServer(s *grpc.Server, srv AutoscalingPolicyServiceServer) { - s.RegisterService(&_AutoscalingPolicyService_serviceDesc, srv) -} - -func _AutoscalingPolicyService_CreateAutoscalingPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateAutoscalingPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoscalingPolicyServiceServer).CreateAutoscalingPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dataproc.v1beta2.AutoscalingPolicyService/CreateAutoscalingPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoscalingPolicyServiceServer).CreateAutoscalingPolicy(ctx, req.(*CreateAutoscalingPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoscalingPolicyService_UpdateAutoscalingPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateAutoscalingPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoscalingPolicyServiceServer).UpdateAutoscalingPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dataproc.v1beta2.AutoscalingPolicyService/UpdateAutoscalingPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoscalingPolicyServiceServer).UpdateAutoscalingPolicy(ctx, req.(*UpdateAutoscalingPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoscalingPolicyService_GetAutoscalingPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAutoscalingPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoscalingPolicyServiceServer).GetAutoscalingPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dataproc.v1beta2.AutoscalingPolicyService/GetAutoscalingPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoscalingPolicyServiceServer).GetAutoscalingPolicy(ctx, req.(*GetAutoscalingPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoscalingPolicyService_ListAutoscalingPolicies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListAutoscalingPoliciesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoscalingPolicyServiceServer).ListAutoscalingPolicies(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dataproc.v1beta2.AutoscalingPolicyService/ListAutoscalingPolicies", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoscalingPolicyServiceServer).ListAutoscalingPolicies(ctx, req.(*ListAutoscalingPoliciesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AutoscalingPolicyService_DeleteAutoscalingPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteAutoscalingPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AutoscalingPolicyServiceServer).DeleteAutoscalingPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dataproc.v1beta2.AutoscalingPolicyService/DeleteAutoscalingPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AutoscalingPolicyServiceServer).DeleteAutoscalingPolicy(ctx, req.(*DeleteAutoscalingPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _AutoscalingPolicyService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.dataproc.v1beta2.AutoscalingPolicyService", - HandlerType: (*AutoscalingPolicyServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateAutoscalingPolicy", - Handler: _AutoscalingPolicyService_CreateAutoscalingPolicy_Handler, - }, - { - MethodName: "UpdateAutoscalingPolicy", - Handler: _AutoscalingPolicyService_UpdateAutoscalingPolicy_Handler, - }, - { - MethodName: "GetAutoscalingPolicy", - Handler: _AutoscalingPolicyService_GetAutoscalingPolicy_Handler, - }, - { - MethodName: "ListAutoscalingPolicies", - Handler: _AutoscalingPolicyService_ListAutoscalingPolicies_Handler, - }, - { - MethodName: "DeleteAutoscalingPolicy", - Handler: _AutoscalingPolicyService_DeleteAutoscalingPolicy_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/dataproc/v1beta2/autoscaling_policies.proto", -} 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 deleted file mode 100644 index b999eba6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/clusters.pb.go +++ /dev/null @@ -1,2906 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/dataproc/v1beta2/clusters.proto - -package dataproc - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The cluster state. -type ClusterStatus_State int32 - -const ( - // The cluster state is unknown. - ClusterStatus_UNKNOWN ClusterStatus_State = 0 - // The cluster is being created and set up. It is not ready for use. - ClusterStatus_CREATING ClusterStatus_State = 1 - // The cluster is currently running and healthy. It is ready for use. - ClusterStatus_RUNNING ClusterStatus_State = 2 - // The cluster encountered an error. It is not ready for use. - ClusterStatus_ERROR ClusterStatus_State = 3 - // The cluster is being deleted. It cannot be used. - ClusterStatus_DELETING ClusterStatus_State = 4 - // The cluster is being updated. It continues to accept and process jobs. - ClusterStatus_UPDATING ClusterStatus_State = 5 -) - -var ClusterStatus_State_name = map[int32]string{ - 0: "UNKNOWN", - 1: "CREATING", - 2: "RUNNING", - 3: "ERROR", - 4: "DELETING", - 5: "UPDATING", -} - -var ClusterStatus_State_value = map[string]int32{ - "UNKNOWN": 0, - "CREATING": 1, - "RUNNING": 2, - "ERROR": 3, - "DELETING": 4, - "UPDATING": 5, -} - -func (x ClusterStatus_State) String() string { - return proto.EnumName(ClusterStatus_State_name, int32(x)) -} - -func (ClusterStatus_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_abc993f8d220b626, []int{14, 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 - // exhausted). - // - // Applies to RUNNING state. - ClusterStatus_UNHEALTHY ClusterStatus_Substate = 1 - // The agent-reported status is out of date (may occur if - // Cloud Dataproc loses communication with Agent). - // - // Applies to RUNNING state. - ClusterStatus_STALE_STATUS ClusterStatus_Substate = 2 -) - -var ClusterStatus_Substate_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "UNHEALTHY", - 2: "STALE_STATUS", -} - -var ClusterStatus_Substate_value = map[string]int32{ - "UNSPECIFIED": 0, - "UNHEALTHY": 1, - "STALE_STATUS": 2, -} - -func (x ClusterStatus_Substate) String() string { - return proto.EnumName(ClusterStatus_Substate_name, int32(x)) -} - -func (ClusterStatus_Substate) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_abc993f8d220b626, []int{14, 1} -} - -// Indicates whether to consume capacity from an reservation or not. -type ReservationAffinity_Type int32 - -const ( - ReservationAffinity_TYPE_UNSPECIFIED ReservationAffinity_Type = 0 - // Do not consume from any allocated capacity. - ReservationAffinity_NO_RESERVATION ReservationAffinity_Type = 1 - // Consume any reservation available. - ReservationAffinity_ANY_RESERVATION ReservationAffinity_Type = 2 - // Must consume from a specific reservation. Must specify key value fields - // for specifying the reservations. - ReservationAffinity_SPECIFIC_RESERVATION ReservationAffinity_Type = 3 -) - -var ReservationAffinity_Type_name = map[int32]string{ - 0: "TYPE_UNSPECIFIED", - 1: "NO_RESERVATION", - 2: "ANY_RESERVATION", - 3: "SPECIFIC_RESERVATION", -} - -var ReservationAffinity_Type_value = map[string]int32{ - "TYPE_UNSPECIFIED": 0, - "NO_RESERVATION": 1, - "ANY_RESERVATION": 2, - "SPECIFIC_RESERVATION": 3, -} - -func (x ReservationAffinity_Type) String() string { - return proto.EnumName(ReservationAffinity_Type_name, int32(x)) -} - -func (ReservationAffinity_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_abc993f8d220b626, []int{25, 0} -} - -// Describes the identifying information, config, and status of -// 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"` - // Required. The cluster name. Cluster names within a project must be - // unique. Names of deleted clusters can be reused. - ClusterName string `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` - // Required. The cluster config. Note that Cloud Dataproc may set - // default values, and values may change when clusters are updated. - Config *ClusterConfig `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"` - // Optional. The labels to associate with this cluster. - // 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 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. - Status *ClusterStatus `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` - // 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 - // generates this value when it creates the cluster. - ClusterUuid string `protobuf:"bytes,6,opt,name=cluster_uuid,json=clusterUuid,proto3" json:"cluster_uuid,omitempty"` - // 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. - Metrics *ClusterMetrics `protobuf:"bytes,9,opt,name=metrics,proto3" json:"metrics,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_abc993f8d220b626, []int{0} -} - -func (m *Cluster) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Cluster.Unmarshal(m, b) -} -func (m *Cluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Cluster.Marshal(b, m, deterministic) -} -func (m *Cluster) XXX_Merge(src proto.Message) { - xxx_messageInfo_Cluster.Merge(m, src) -} -func (m *Cluster) XXX_Size() int { - return xxx_messageInfo_Cluster.Size(m) -} -func (m *Cluster) XXX_DiscardUnknown() { - xxx_messageInfo_Cluster.DiscardUnknown(m) -} - -var xxx_messageInfo_Cluster proto.InternalMessageInfo - -func (m *Cluster) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *Cluster) GetClusterName() string { - if m != nil { - return m.ClusterName - } - return "" -} - -func (m *Cluster) GetConfig() *ClusterConfig { - if m != nil { - return m.Config - } - return nil -} - -func (m *Cluster) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -func (m *Cluster) GetStatus() *ClusterStatus { - if m != nil { - return m.Status - } - return nil -} - -func (m *Cluster) GetStatusHistory() []*ClusterStatus { - if m != nil { - return m.StatusHistory - } - return nil -} - -func (m *Cluster) GetClusterUuid() string { - if m != nil { - return m.ClusterUuid - } - return "" -} - -func (m *Cluster) GetMetrics() *ClusterMetrics { - if m != nil { - return m.Metrics - } - return nil -} - -// The cluster config. -type ClusterConfig struct { - // Optional. A Google Cloud Storage bucket used to stage job - // dependencies, config files, and job driver console output. - // If you do not specify a staging bucket, Cloud - // Dataproc will determine a 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 create - // and manage this project-level, per-location bucket (see - // [Cloud Dataproc staging - // bucket](/dataproc/docs/concepts/configuring-clusters/staging-bucket)). - ConfigBucket string `protobuf:"bytes,1,opt,name=config_bucket,json=configBucket,proto3" json:"config_bucket,omitempty"` - // Optional. 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 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 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 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. - SoftwareConfig *SoftwareConfig `protobuf:"bytes,13,opt,name=software_config,json=softwareConfig,proto3" json:"software_config,omitempty"` - // Optional. The config setting for auto delete cluster schedule. - LifecycleConfig *LifecycleConfig `protobuf:"bytes,14,opt,name=lifecycle_config,json=lifecycleConfig,proto3" json:"lifecycle_config,omitempty"` - // Optional. Commands to execute on each node after config is - // completed. By default, executables are run on master and all worker nodes. - // You can test a node's role metadata to run an executable on - // a master or worker node, as shown below using `curl` (you can also use - // `wget`): - // - // ROLE=$(curl -H Metadata-Flavor:Google - // http://metadata/computeMetadata/v1beta2/instance/attributes/dataproc-role) - // if [[ "${ROLE}" == 'Master' ]]; then - // ... master specific actions ... - // else - // ... worker specific actions ... - // fi - InitializationActions []*NodeInitializationAction `protobuf:"bytes,11,rep,name=initialization_actions,json=initializationActions,proto3" json:"initialization_actions,omitempty"` - // Optional. Encryption settings for the cluster. - EncryptionConfig *EncryptionConfig `protobuf:"bytes,15,opt,name=encryption_config,json=encryptionConfig,proto3" json:"encryption_config,omitempty"` - // Optional. Autoscaling config for the policy associated with the cluster. - // Cluster does not autoscale if this field is unset. - AutoscalingConfig *AutoscalingConfig `protobuf:"bytes,16,opt,name=autoscaling_config,json=autoscalingConfig,proto3" json:"autoscaling_config,omitempty"` - // Optional. Port/endpoint configuration for this cluster - EndpointConfig *EndpointConfig `protobuf:"bytes,17,opt,name=endpoint_config,json=endpointConfig,proto3" json:"endpoint_config,omitempty"` - // Optional. Security related configuration. - SecurityConfig *SecurityConfig `protobuf:"bytes,18,opt,name=security_config,json=securityConfig,proto3" json:"security_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_abc993f8d220b626, []int{1} -} - -func (m *ClusterConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClusterConfig.Unmarshal(m, b) -} -func (m *ClusterConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClusterConfig.Marshal(b, m, deterministic) -} -func (m *ClusterConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClusterConfig.Merge(m, src) -} -func (m *ClusterConfig) XXX_Size() int { - return xxx_messageInfo_ClusterConfig.Size(m) -} -func (m *ClusterConfig) XXX_DiscardUnknown() { - xxx_messageInfo_ClusterConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_ClusterConfig proto.InternalMessageInfo - -func (m *ClusterConfig) GetConfigBucket() string { - if m != nil { - return m.ConfigBucket - } - return "" -} - -func (m *ClusterConfig) GetGceClusterConfig() *GceClusterConfig { - if m != nil { - return m.GceClusterConfig - } - return nil -} - -func (m *ClusterConfig) GetMasterConfig() *InstanceGroupConfig { - if m != nil { - return m.MasterConfig - } - return nil -} - -func (m *ClusterConfig) GetWorkerConfig() *InstanceGroupConfig { - if m != nil { - return m.WorkerConfig - } - return nil -} - -func (m *ClusterConfig) GetSecondaryWorkerConfig() *InstanceGroupConfig { - if m != nil { - return m.SecondaryWorkerConfig - } - return nil -} - -func (m *ClusterConfig) GetSoftwareConfig() *SoftwareConfig { - if m != nil { - return m.SoftwareConfig - } - return nil -} - -func (m *ClusterConfig) GetLifecycleConfig() *LifecycleConfig { - if m != nil { - return m.LifecycleConfig - } - return nil -} - -func (m *ClusterConfig) GetInitializationActions() []*NodeInitializationAction { - if m != nil { - return m.InitializationActions - } - return nil -} - -func (m *ClusterConfig) GetEncryptionConfig() *EncryptionConfig { - if m != nil { - return m.EncryptionConfig - } - return nil -} - -func (m *ClusterConfig) GetAutoscalingConfig() *AutoscalingConfig { - if m != nil { - return m.AutoscalingConfig - } - return nil -} - -func (m *ClusterConfig) GetEndpointConfig() *EndpointConfig { - if m != nil { - return m.EndpointConfig - } - return nil -} - -func (m *ClusterConfig) GetSecurityConfig() *SecurityConfig { - if m != nil { - return m.SecurityConfig - } - return nil -} - -// Endpoint config for this cluster -type EndpointConfig struct { - // Output only. The map of port descriptions to URLs. Will only be populated - // if enable_http_port_access is true. - HttpPorts map[string]string `protobuf:"bytes,1,rep,name=http_ports,json=httpPorts,proto3" json:"http_ports,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Optional. If true, enable http access to specific ports on the cluster - // from external sources. Defaults to false. - EnableHttpPortAccess bool `protobuf:"varint,2,opt,name=enable_http_port_access,json=enableHttpPortAccess,proto3" json:"enable_http_port_access,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *EndpointConfig) Reset() { *m = EndpointConfig{} } -func (m *EndpointConfig) String() string { return proto.CompactTextString(m) } -func (*EndpointConfig) ProtoMessage() {} -func (*EndpointConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_abc993f8d220b626, []int{2} -} - -func (m *EndpointConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EndpointConfig.Unmarshal(m, b) -} -func (m *EndpointConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EndpointConfig.Marshal(b, m, deterministic) -} -func (m *EndpointConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_EndpointConfig.Merge(m, src) -} -func (m *EndpointConfig) XXX_Size() int { - return xxx_messageInfo_EndpointConfig.Size(m) -} -func (m *EndpointConfig) XXX_DiscardUnknown() { - xxx_messageInfo_EndpointConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_EndpointConfig proto.InternalMessageInfo - -func (m *EndpointConfig) GetHttpPorts() map[string]string { - if m != nil { - return m.HttpPorts - } - return nil -} - -func (m *EndpointConfig) GetEnableHttpPortAccess() bool { - if m != nil { - return m.EnableHttpPortAccess - } - return false -} - -// Autoscaling Policy config associated with the cluster. -type AutoscalingConfig struct { - // Optional. The autoscaling policy used by the cluster. - // - // Only resource names including projectid and location (region) are valid. - // Examples: - // - // * `https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]` - // * `projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]` - // - // Note that the policy must be in the same project and Cloud Dataproc region. - PolicyUri string `protobuf:"bytes,1,opt,name=policy_uri,json=policyUri,proto3" json:"policy_uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AutoscalingConfig) Reset() { *m = AutoscalingConfig{} } -func (m *AutoscalingConfig) String() string { return proto.CompactTextString(m) } -func (*AutoscalingConfig) ProtoMessage() {} -func (*AutoscalingConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_abc993f8d220b626, []int{3} -} - -func (m *AutoscalingConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AutoscalingConfig.Unmarshal(m, b) -} -func (m *AutoscalingConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AutoscalingConfig.Marshal(b, m, deterministic) -} -func (m *AutoscalingConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_AutoscalingConfig.Merge(m, src) -} -func (m *AutoscalingConfig) XXX_Size() int { - return xxx_messageInfo_AutoscalingConfig.Size(m) -} -func (m *AutoscalingConfig) XXX_DiscardUnknown() { - xxx_messageInfo_AutoscalingConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_AutoscalingConfig proto.InternalMessageInfo - -func (m *AutoscalingConfig) GetPolicyUri() string { - if m != nil { - return m.PolicyUri - } - return "" -} - -// 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_abc993f8d220b626, []int{4} -} - -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 (m *EncryptionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_EncryptionConfig.Merge(m, 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 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 always be - // present. - // - // A full URL, partial URI, or short name are valid. Examples: - // - // * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]` - // * `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 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 - // [Using Subnetworks](/compute/docs/subnetworks) for more information). - // - // A full URL, partial URI, or short name are valid. Examples: - // - // * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default` - // * `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 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: - // - // * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/subnetworks/sub0` - // * `projects/[project_id]/regions/us-east1/subnetworks/sub0` - // * `sub0` - SubnetworkUri string `protobuf:"bytes,6,opt,name=subnetwork_uri,json=subnetworkUri,proto3" json:"subnetwork_uri,omitempty"` - // Optional. If true, all instances in the cluster will only have internal IP - // addresses. By default, clusters are not restricted to internal IP - // addresses, and will have ephemeral external IP addresses assigned to each - // instance. This `internal_ip_only` restriction can only be enabled for - // subnetwork enabled networks, and all off-cluster dependencies must be - // configured to be 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 - // Compute Engine service account. Custom service accounts need - // permissions equivalent to the following IAM roles: - // - // * roles/logging.logWriter - // * roles/storage.objectAdmin - // - // (see - // https://cloud.google.com/compute/docs/access/service-accounts#custom_service_accounts - // 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 - // Compute Engine instances. The following base set of scopes is always - // included: - // - // * https://www.googleapis.com/auth/cloud.useraccounts.readonly - // * https://www.googleapis.com/auth/devstorage.read_write - // * https://www.googleapis.com/auth/logging.write - // - // If no scopes are specified, the following defaults are also provided: - // - // * https://www.googleapis.com/auth/bigquery - // * https://www.googleapis.com/auth/bigtable.admin.table - // * 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 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 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"` - // Optional. Reservation Affinity for consuming Zonal reservation. - ReservationAffinity *ReservationAffinity `protobuf:"bytes,11,opt,name=reservation_affinity,json=reservationAffinity,proto3" json:"reservation_affinity,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_abc993f8d220b626, []int{5} -} - -func (m *GceClusterConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GceClusterConfig.Unmarshal(m, b) -} -func (m *GceClusterConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GceClusterConfig.Marshal(b, m, deterministic) -} -func (m *GceClusterConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_GceClusterConfig.Merge(m, src) -} -func (m *GceClusterConfig) XXX_Size() int { - return xxx_messageInfo_GceClusterConfig.Size(m) -} -func (m *GceClusterConfig) XXX_DiscardUnknown() { - xxx_messageInfo_GceClusterConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_GceClusterConfig proto.InternalMessageInfo - -func (m *GceClusterConfig) GetZoneUri() string { - if m != nil { - return m.ZoneUri - } - return "" -} - -func (m *GceClusterConfig) GetNetworkUri() string { - if m != nil { - return m.NetworkUri - } - return "" -} - -func (m *GceClusterConfig) GetSubnetworkUri() string { - if m != nil { - return m.SubnetworkUri - } - return "" -} - -func (m *GceClusterConfig) GetInternalIpOnly() bool { - if m != nil { - return m.InternalIpOnly - } - return false -} - -func (m *GceClusterConfig) GetServiceAccount() string { - if m != nil { - return m.ServiceAccount - } - return "" -} - -func (m *GceClusterConfig) GetServiceAccountScopes() []string { - if m != nil { - return m.ServiceAccountScopes - } - return nil -} - -func (m *GceClusterConfig) GetTags() []string { - if m != nil { - return m.Tags - } - return nil -} - -func (m *GceClusterConfig) GetMetadata() map[string]string { - if m != nil { - return m.Metadata - } - return nil -} - -func (m *GceClusterConfig) GetReservationAffinity() *ReservationAffinity { - if m != nil { - return m.ReservationAffinity - } - return nil -} - -// 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"` - // 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"` - // 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. - // - // 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 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 Compute Engine accelerator configuration for these - // instances. - Accelerators []*AcceleratorConfig `protobuf:"bytes,8,rep,name=accelerators,proto3" json:"accelerators,omitempty"` - // Specifies the minimum cpu platform for the Instance Group. - // See [Cloud Dataproc→Minimum CPU Platform] - // (/dataproc/docs/concepts/compute/dataproc-min-cpu). - MinCpuPlatform string `protobuf:"bytes,9,opt,name=min_cpu_platform,json=minCpuPlatform,proto3" json:"min_cpu_platform,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_abc993f8d220b626, []int{6} -} - -func (m *InstanceGroupConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InstanceGroupConfig.Unmarshal(m, b) -} -func (m *InstanceGroupConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InstanceGroupConfig.Marshal(b, m, deterministic) -} -func (m *InstanceGroupConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_InstanceGroupConfig.Merge(m, src) -} -func (m *InstanceGroupConfig) XXX_Size() int { - return xxx_messageInfo_InstanceGroupConfig.Size(m) -} -func (m *InstanceGroupConfig) XXX_DiscardUnknown() { - xxx_messageInfo_InstanceGroupConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_InstanceGroupConfig proto.InternalMessageInfo - -func (m *InstanceGroupConfig) GetNumInstances() int32 { - if m != nil { - return m.NumInstances - } - return 0 -} - -func (m *InstanceGroupConfig) GetInstanceNames() []string { - if m != nil { - return m.InstanceNames - } - return nil -} - -func (m *InstanceGroupConfig) GetImageUri() string { - if m != nil { - return m.ImageUri - } - return "" -} - -func (m *InstanceGroupConfig) GetMachineTypeUri() string { - if m != nil { - return m.MachineTypeUri - } - return "" -} - -func (m *InstanceGroupConfig) GetDiskConfig() *DiskConfig { - if m != nil { - return m.DiskConfig - } - return nil -} - -func (m *InstanceGroupConfig) GetIsPreemptible() bool { - if m != nil { - return m.IsPreemptible - } - return false -} - -func (m *InstanceGroupConfig) GetManagedGroupConfig() *ManagedGroupConfig { - if m != nil { - return m.ManagedGroupConfig - } - return nil -} - -func (m *InstanceGroupConfig) GetAccelerators() []*AcceleratorConfig { - if m != nil { - return m.Accelerators - } - return nil -} - -func (m *InstanceGroupConfig) GetMinCpuPlatform() string { - if m != nil { - return m.MinCpuPlatform - } - return "" -} - -// 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 - // 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. - 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:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_abc993f8d220b626, []int{7} -} - -func (m *ManagedGroupConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ManagedGroupConfig.Unmarshal(m, b) -} -func (m *ManagedGroupConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ManagedGroupConfig.Marshal(b, m, deterministic) -} -func (m *ManagedGroupConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ManagedGroupConfig.Merge(m, src) -} -func (m *ManagedGroupConfig) XXX_Size() int { - return xxx_messageInfo_ManagedGroupConfig.Size(m) -} -func (m *ManagedGroupConfig) XXX_DiscardUnknown() { - xxx_messageInfo_ManagedGroupConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_ManagedGroupConfig proto.InternalMessageInfo - -func (m *ManagedGroupConfig) GetInstanceTemplateName() string { - if m != nil { - return m.InstanceTemplateName - } - return "" -} - -func (m *ManagedGroupConfig) GetInstanceGroupManagerName() string { - if m != nil { - return m.InstanceGroupManagerName - } - return "" -} - -// Specifies the type and number of accelerator cards attached to the instances -// of an instance group (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 - // [Compute Engine - // AcceleratorTypes](/compute/docs/reference/beta/acceleratorTypes) - // - // 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"` - 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_abc993f8d220b626, []int{8} -} - -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 (m *AcceleratorConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_AcceleratorConfig.Merge(m, 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) GetAcceleratorTypeUri() string { - if m != nil { - return m.AcceleratorTypeUri - } - return "" -} - -func (m *AcceleratorConfig) GetAcceleratorCount() int32 { - if m != nil { - return m.AcceleratorCount - } - return 0 -} - -// 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"` - // Number of attached SSDs, from 0 to 4 (default is 0). - // If SSDs are not attached, the boot disk is used to store runtime logs and - // [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. - // If one or more SSDs are attached, this runtime bulk - // data is spread across them, and the boot disk contains only basic - // config and installed binaries. - NumLocalSsds int32 `protobuf:"varint,2,opt,name=num_local_ssds,json=numLocalSsds,proto3" json:"num_local_ssds,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_abc993f8d220b626, []int{9} -} - -func (m *DiskConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiskConfig.Unmarshal(m, b) -} -func (m *DiskConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiskConfig.Marshal(b, m, deterministic) -} -func (m *DiskConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiskConfig.Merge(m, src) -} -func (m *DiskConfig) XXX_Size() int { - return xxx_messageInfo_DiskConfig.Size(m) -} -func (m *DiskConfig) XXX_DiscardUnknown() { - xxx_messageInfo_DiskConfig.DiscardUnknown(m) -} - -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 - } - return 0 -} - -func (m *DiskConfig) GetNumLocalSsds() int32 { - if m != nil { - return m.NumLocalSsds - } - return 0 -} - -// Specifies the cluster auto-delete schedule configuration. -type LifecycleConfig struct { - // 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"` - // Either the exact time the cluster should be deleted at or - // the cluster maximum age. - // - // Types that are valid to be assigned to Ttl: - // *LifecycleConfig_AutoDeleteTime - // *LifecycleConfig_AutoDeleteTtl - Ttl isLifecycleConfig_Ttl `protobuf_oneof:"ttl"` - // Output only. The time when cluster became idle (most recent job finished) - // and became eligible for deletion due to idleness. - IdleStartTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=idle_start_time,json=idleStartTime,proto3" json:"idle_start_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_abc993f8d220b626, []int{10} -} - -func (m *LifecycleConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LifecycleConfig.Unmarshal(m, b) -} -func (m *LifecycleConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LifecycleConfig.Marshal(b, m, deterministic) -} -func (m *LifecycleConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_LifecycleConfig.Merge(m, src) -} -func (m *LifecycleConfig) XXX_Size() int { - return xxx_messageInfo_LifecycleConfig.Size(m) -} -func (m *LifecycleConfig) XXX_DiscardUnknown() { - xxx_messageInfo_LifecycleConfig.DiscardUnknown(m) -} - -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() -} - -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 (m *LifecycleConfig) GetTtl() isLifecycleConfig_Ttl { - if m != nil { - return m.Ttl - } - return nil -} - -func (m *LifecycleConfig) GetAutoDeleteTime() *timestamp.Timestamp { - if x, ok := m.GetTtl().(*LifecycleConfig_AutoDeleteTime); ok { - return x.AutoDeleteTime - } - return nil -} - -func (m *LifecycleConfig) GetAutoDeleteTtl() *duration.Duration { - if x, ok := m.GetTtl().(*LifecycleConfig_AutoDeleteTtl); ok { - return x.AutoDeleteTtl - } - return nil -} - -func (m *LifecycleConfig) GetIdleStartTime() *timestamp.Timestamp { - if m != nil { - return m.IdleStartTime - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*LifecycleConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*LifecycleConfig_AutoDeleteTime)(nil), - (*LifecycleConfig_AutoDeleteTtl)(nil), - } -} - -// Security related configuration, including encryption, Kerberos, etc. -type SecurityConfig struct { - // Kerberos related configuration. - KerberosConfig *KerberosConfig `protobuf:"bytes,1,opt,name=kerberos_config,json=kerberosConfig,proto3" json:"kerberos_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SecurityConfig) Reset() { *m = SecurityConfig{} } -func (m *SecurityConfig) String() string { return proto.CompactTextString(m) } -func (*SecurityConfig) ProtoMessage() {} -func (*SecurityConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_abc993f8d220b626, []int{11} -} - -func (m *SecurityConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SecurityConfig.Unmarshal(m, b) -} -func (m *SecurityConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SecurityConfig.Marshal(b, m, deterministic) -} -func (m *SecurityConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_SecurityConfig.Merge(m, src) -} -func (m *SecurityConfig) XXX_Size() int { - return xxx_messageInfo_SecurityConfig.Size(m) -} -func (m *SecurityConfig) XXX_DiscardUnknown() { - xxx_messageInfo_SecurityConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_SecurityConfig proto.InternalMessageInfo - -func (m *SecurityConfig) GetKerberosConfig() *KerberosConfig { - if m != nil { - return m.KerberosConfig - } - return nil -} - -// Specifies Kerberos related configuration. -type KerberosConfig struct { - // Optional. Flag to indicate whether to Kerberize the cluster. - EnableKerberos bool `protobuf:"varint,1,opt,name=enable_kerberos,json=enableKerberos,proto3" json:"enable_kerberos,omitempty"` - // Required. The Cloud Storage URI of a KMS encrypted file containing the root - // principal password. - RootPrincipalPasswordUri string `protobuf:"bytes,2,opt,name=root_principal_password_uri,json=rootPrincipalPasswordUri,proto3" json:"root_principal_password_uri,omitempty"` - // Required. The uri of the KMS key used to encrypt various sensitive - // files. - KmsKeyUri string `protobuf:"bytes,3,opt,name=kms_key_uri,json=kmsKeyUri,proto3" json:"kms_key_uri,omitempty"` - // Optional. The Cloud Storage URI of the keystore file used for SSL - // encryption. If not provided, Dataproc will provide a self-signed - // certificate. - KeystoreUri string `protobuf:"bytes,4,opt,name=keystore_uri,json=keystoreUri,proto3" json:"keystore_uri,omitempty"` - // Optional. The Cloud Storage URI of the truststore file used for SSL - // encryption. If not provided, Dataproc will provide a self-signed - // certificate. - TruststoreUri string `protobuf:"bytes,5,opt,name=truststore_uri,json=truststoreUri,proto3" json:"truststore_uri,omitempty"` - // Optional. The Cloud Storage URI of a KMS encrypted file containing the - // password to the user provided keystore. For the self-signed certificate, - // this password is generated by Dataproc. - KeystorePasswordUri string `protobuf:"bytes,6,opt,name=keystore_password_uri,json=keystorePasswordUri,proto3" json:"keystore_password_uri,omitempty"` - // Optional. The Cloud Storage URI of a KMS encrypted file containing the - // password to the user provided key. For the self-signed certificate, this - // password is generated by Dataproc. - KeyPasswordUri string `protobuf:"bytes,7,opt,name=key_password_uri,json=keyPasswordUri,proto3" json:"key_password_uri,omitempty"` - // Optional. The Cloud Storage URI of a KMS encrypted file containing the - // password to the user provided truststore. For the self-signed certificate, - // this password is generated by Dataproc. - TruststorePasswordUri string `protobuf:"bytes,8,opt,name=truststore_password_uri,json=truststorePasswordUri,proto3" json:"truststore_password_uri,omitempty"` - // Optional. The remote realm the Dataproc on-cluster KDC will trust, should - // the user enable cross realm trust. - CrossRealmTrustRealm string `protobuf:"bytes,9,opt,name=cross_realm_trust_realm,json=crossRealmTrustRealm,proto3" json:"cross_realm_trust_realm,omitempty"` - // Optional. The KDC (IP or hostname) for the remote trusted realm in a cross - // realm trust relationship. - CrossRealmTrustKdc string `protobuf:"bytes,10,opt,name=cross_realm_trust_kdc,json=crossRealmTrustKdc,proto3" json:"cross_realm_trust_kdc,omitempty"` - // Optional. The admin server (IP or hostname) for the remote trusted realm in - // a cross realm trust relationship. - CrossRealmTrustAdminServer string `protobuf:"bytes,11,opt,name=cross_realm_trust_admin_server,json=crossRealmTrustAdminServer,proto3" json:"cross_realm_trust_admin_server,omitempty"` - // Optional. The Cloud Storage URI of a KMS encrypted file containing the - // shared password between the on-cluster Kerberos realm and the remote - // trusted realm, in a cross realm trust relationship. - CrossRealmTrustSharedPasswordUri string `protobuf:"bytes,12,opt,name=cross_realm_trust_shared_password_uri,json=crossRealmTrustSharedPasswordUri,proto3" json:"cross_realm_trust_shared_password_uri,omitempty"` - // Optional. The Cloud Storage URI of a KMS encrypted file containing the - // master key of the KDC database. - KdcDbKeyUri string `protobuf:"bytes,13,opt,name=kdc_db_key_uri,json=kdcDbKeyUri,proto3" json:"kdc_db_key_uri,omitempty"` - // Optional. The lifetime of the ticket granting ticket, in hours. - // If not specified, or user specifies 0, then default value 10 - // will be used. - TgtLifetimeHours int32 `protobuf:"varint,14,opt,name=tgt_lifetime_hours,json=tgtLifetimeHours,proto3" json:"tgt_lifetime_hours,omitempty"` - // Optional. The name of the on-cluster Kerberos realm. - // If not specified, the uppercased domain of hostnames will be the realm. - Realm string `protobuf:"bytes,15,opt,name=realm,proto3" json:"realm,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *KerberosConfig) Reset() { *m = KerberosConfig{} } -func (m *KerberosConfig) String() string { return proto.CompactTextString(m) } -func (*KerberosConfig) ProtoMessage() {} -func (*KerberosConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_abc993f8d220b626, []int{12} -} - -func (m *KerberosConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_KerberosConfig.Unmarshal(m, b) -} -func (m *KerberosConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_KerberosConfig.Marshal(b, m, deterministic) -} -func (m *KerberosConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_KerberosConfig.Merge(m, src) -} -func (m *KerberosConfig) XXX_Size() int { - return xxx_messageInfo_KerberosConfig.Size(m) -} -func (m *KerberosConfig) XXX_DiscardUnknown() { - xxx_messageInfo_KerberosConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_KerberosConfig proto.InternalMessageInfo - -func (m *KerberosConfig) GetEnableKerberos() bool { - if m != nil { - return m.EnableKerberos - } - return false -} - -func (m *KerberosConfig) GetRootPrincipalPasswordUri() string { - if m != nil { - return m.RootPrincipalPasswordUri - } - return "" -} - -func (m *KerberosConfig) GetKmsKeyUri() string { - if m != nil { - return m.KmsKeyUri - } - return "" -} - -func (m *KerberosConfig) GetKeystoreUri() string { - if m != nil { - return m.KeystoreUri - } - return "" -} - -func (m *KerberosConfig) GetTruststoreUri() string { - if m != nil { - return m.TruststoreUri - } - return "" -} - -func (m *KerberosConfig) GetKeystorePasswordUri() string { - if m != nil { - return m.KeystorePasswordUri - } - return "" -} - -func (m *KerberosConfig) GetKeyPasswordUri() string { - if m != nil { - return m.KeyPasswordUri - } - return "" -} - -func (m *KerberosConfig) GetTruststorePasswordUri() string { - if m != nil { - return m.TruststorePasswordUri - } - return "" -} - -func (m *KerberosConfig) GetCrossRealmTrustRealm() string { - if m != nil { - return m.CrossRealmTrustRealm - } - return "" -} - -func (m *KerberosConfig) GetCrossRealmTrustKdc() string { - if m != nil { - return m.CrossRealmTrustKdc - } - return "" -} - -func (m *KerberosConfig) GetCrossRealmTrustAdminServer() string { - if m != nil { - return m.CrossRealmTrustAdminServer - } - return "" -} - -func (m *KerberosConfig) GetCrossRealmTrustSharedPasswordUri() string { - if m != nil { - return m.CrossRealmTrustSharedPasswordUri - } - return "" -} - -func (m *KerberosConfig) GetKdcDbKeyUri() string { - if m != nil { - return m.KdcDbKeyUri - } - return "" -} - -func (m *KerberosConfig) GetTgtLifetimeHours() int32 { - if m != nil { - return m.TgtLifetimeHours - } - return 0 -} - -func (m *KerberosConfig) GetRealm() string { - if m != nil { - return m.Realm - } - return "" -} - -// Specifies an executable to run on a fully configured node and a -// timeout period for executable completion. -type NodeInitializationAction struct { - // 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 - // name of the executable that caused the error and the exceeded timeout - // period) if the executable is not completed at end of the timeout period. - ExecutionTimeout *duration.Duration `protobuf:"bytes,2,opt,name=execution_timeout,json=executionTimeout,proto3" json:"execution_timeout,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *NodeInitializationAction) Reset() { *m = NodeInitializationAction{} } -func (m *NodeInitializationAction) String() string { return proto.CompactTextString(m) } -func (*NodeInitializationAction) ProtoMessage() {} -func (*NodeInitializationAction) Descriptor() ([]byte, []int) { - return fileDescriptor_abc993f8d220b626, []int{13} -} - -func (m *NodeInitializationAction) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodeInitializationAction.Unmarshal(m, b) -} -func (m *NodeInitializationAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodeInitializationAction.Marshal(b, m, deterministic) -} -func (m *NodeInitializationAction) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeInitializationAction.Merge(m, src) -} -func (m *NodeInitializationAction) XXX_Size() int { - return xxx_messageInfo_NodeInitializationAction.Size(m) -} -func (m *NodeInitializationAction) XXX_DiscardUnknown() { - xxx_messageInfo_NodeInitializationAction.DiscardUnknown(m) -} - -var xxx_messageInfo_NodeInitializationAction proto.InternalMessageInfo - -func (m *NodeInitializationAction) GetExecutableFile() string { - if m != nil { - return m.ExecutableFile - } - return "" -} - -func (m *NodeInitializationAction) GetExecutionTimeout() *duration.Duration { - if m != nil { - return m.ExecutionTimeout - } - return nil -} - -// The status of a cluster and its instances. -type ClusterStatus struct { - // Output only. The cluster's state. - State ClusterStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.dataproc.v1beta2.ClusterStatus_State" json:"state,omitempty"` - // 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. - 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 - // status reported by the agent. - Substate ClusterStatus_Substate `protobuf:"varint,4,opt,name=substate,proto3,enum=google.cloud.dataproc.v1beta2.ClusterStatus_Substate" json:"substate,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_abc993f8d220b626, []int{14} -} - -func (m *ClusterStatus) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClusterStatus.Unmarshal(m, b) -} -func (m *ClusterStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClusterStatus.Marshal(b, m, deterministic) -} -func (m *ClusterStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClusterStatus.Merge(m, src) -} -func (m *ClusterStatus) XXX_Size() int { - return xxx_messageInfo_ClusterStatus.Size(m) -} -func (m *ClusterStatus) XXX_DiscardUnknown() { - xxx_messageInfo_ClusterStatus.DiscardUnknown(m) -} - -var xxx_messageInfo_ClusterStatus proto.InternalMessageInfo - -func (m *ClusterStatus) GetState() ClusterStatus_State { - if m != nil { - return m.State - } - return ClusterStatus_UNKNOWN -} - -func (m *ClusterStatus) GetDetail() string { - if m != nil { - return m.Detail - } - return "" -} - -func (m *ClusterStatus) GetStateStartTime() *timestamp.Timestamp { - if m != nil { - return m.StateStartTime - } - return nil -} - -func (m *ClusterStatus) GetSubstate() ClusterStatus_Substate { - if m != nil { - return m.Substate - } - return ClusterStatus_UNSPECIFIED -} - -// Specifies the selection and config of software inside the cluster. -type SoftwareConfig struct { - // 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 Debian 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. - // - // Property keys are specified in `prefix:property` format, for example - // `core:hadoop.tmp.dir`. The following are supported prefixes - // and their mappings: - // - // * capacity-scheduler: `capacity-scheduler.xml` - // * core: `core-site.xml` - // * distcp: `distcp-default.xml` - // * hdfs: `hdfs-site.xml` - // * hive: `hive-site.xml` - // * mapred: `mapred-site.xml` - // * pig: `pig.properties` - // * spark: `spark-defaults.conf` - // * yarn: `yarn-site.xml` - // - // For more information, see - // [Cluster properties](/dataproc/docs/concepts/cluster-properties). - Properties map[string]string `protobuf:"bytes,2,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // The set of optional components to activate on the cluster. - OptionalComponents []Component `protobuf:"varint,3,rep,packed,name=optional_components,json=optionalComponents,proto3,enum=google.cloud.dataproc.v1beta2.Component" json:"optional_components,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_abc993f8d220b626, []int{15} -} - -func (m *SoftwareConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SoftwareConfig.Unmarshal(m, b) -} -func (m *SoftwareConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SoftwareConfig.Marshal(b, m, deterministic) -} -func (m *SoftwareConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_SoftwareConfig.Merge(m, src) -} -func (m *SoftwareConfig) XXX_Size() int { - return xxx_messageInfo_SoftwareConfig.Size(m) -} -func (m *SoftwareConfig) XXX_DiscardUnknown() { - xxx_messageInfo_SoftwareConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_SoftwareConfig proto.InternalMessageInfo - -func (m *SoftwareConfig) GetImageVersion() string { - if m != nil { - return m.ImageVersion - } - return "" -} - -func (m *SoftwareConfig) GetProperties() map[string]string { - if m != nil { - return m.Properties - } - return nil -} - -func (m *SoftwareConfig) GetOptionalComponents() []Component { - if m != nil { - return m.OptionalComponents - } - return nil -} - -// 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. -type ClusterMetrics struct { - // The HDFS metrics. - HdfsMetrics map[string]int64 `protobuf:"bytes,1,rep,name=hdfs_metrics,json=hdfsMetrics,proto3" json:"hdfs_metrics,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - // The YARN metrics. - YarnMetrics map[string]int64 `protobuf:"bytes,2,rep,name=yarn_metrics,json=yarnMetrics,proto3" json:"yarn_metrics,omitempty" protobuf_key:"bytes,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 *ClusterMetrics) Reset() { *m = ClusterMetrics{} } -func (m *ClusterMetrics) String() string { return proto.CompactTextString(m) } -func (*ClusterMetrics) ProtoMessage() {} -func (*ClusterMetrics) Descriptor() ([]byte, []int) { - return fileDescriptor_abc993f8d220b626, []int{16} -} - -func (m *ClusterMetrics) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClusterMetrics.Unmarshal(m, b) -} -func (m *ClusterMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClusterMetrics.Marshal(b, m, deterministic) -} -func (m *ClusterMetrics) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClusterMetrics.Merge(m, src) -} -func (m *ClusterMetrics) XXX_Size() int { - return xxx_messageInfo_ClusterMetrics.Size(m) -} -func (m *ClusterMetrics) XXX_DiscardUnknown() { - xxx_messageInfo_ClusterMetrics.DiscardUnknown(m) -} - -var xxx_messageInfo_ClusterMetrics proto.InternalMessageInfo - -func (m *ClusterMetrics) GetHdfsMetrics() map[string]int64 { - if m != nil { - return m.HdfsMetrics - } - return nil -} - -func (m *ClusterMetrics) GetYarnMetrics() map[string]int64 { - if m != nil { - return m.YarnMetrics - } - return nil -} - -// A request to create a cluster. -type CreateClusterRequest struct { - // Required. The ID of the Google Cloud Platform project that the cluster - // belongs to. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // 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"` - // Optional. A unique id used to identify the request. If the server - // receives two [CreateClusterRequest][google.cloud.dataproc.v1beta2.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:"-"` -} - -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_abc993f8d220b626, []int{17} -} - -func (m *CreateClusterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateClusterRequest.Unmarshal(m, b) -} -func (m *CreateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateClusterRequest.Marshal(b, m, deterministic) -} -func (m *CreateClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateClusterRequest.Merge(m, src) -} -func (m *CreateClusterRequest) XXX_Size() int { - return xxx_messageInfo_CreateClusterRequest.Size(m) -} -func (m *CreateClusterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateClusterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateClusterRequest proto.InternalMessageInfo - -func (m *CreateClusterRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *CreateClusterRequest) GetRegion() string { - if m != nil { - return m.Region - } - return "" -} - -func (m *CreateClusterRequest) GetCluster() *Cluster { - if m != nil { - return m.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 - // cluster belongs to. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Required. The Cloud Dataproc region in which to handle the request. - Region string `protobuf:"bytes,5,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"` - // 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 - // specified as `config.worker_config.num_instances`, - // and the `PATCH` request body would specify the new value, as follows: - // - // { - // "config":{ - // "workerConfig":{ - // "numInstances":"5" - // } - // } - // } - // - // Similarly, to change the number of preemptible workers in a cluster to 5, - // the `update_mask` parameter would be - // `config.secondary_worker_config.num_instances`, and the `PATCH` request - // body would be set as follows: - // - // { - // "config":{ - // "secondaryWorkerConfig":{ - // "numInstances":"5" - // } - // } - // } - // Note: currently only the following fields can be updated: - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - //
MaskPurpose
labelsUpdates labels
config.worker_config.num_instancesResize primary worker - // group
config.secondary_worker_config.num_instancesResize secondary - // worker group
config.lifecycle_config.auto_delete_ttlReset MAX TTL - // duration
config.lifecycle_config.auto_delete_timeUpdate MAX TTL - // deletion timestamp
config.lifecycle_config.idle_delete_ttlUpdate Idle TTL - // duration
config.autoscaling_config.policy_uriUse, stop using, or change - // autoscaling policies
- 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.v1beta2.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_abc993f8d220b626, []int{18} -} - -func (m *UpdateClusterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateClusterRequest.Unmarshal(m, b) -} -func (m *UpdateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateClusterRequest.Marshal(b, m, deterministic) -} -func (m *UpdateClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateClusterRequest.Merge(m, src) -} -func (m *UpdateClusterRequest) XXX_Size() int { - return xxx_messageInfo_UpdateClusterRequest.Size(m) -} -func (m *UpdateClusterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateClusterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateClusterRequest proto.InternalMessageInfo - -func (m *UpdateClusterRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *UpdateClusterRequest) GetRegion() string { - if m != nil { - return m.Region - } - return "" -} - -func (m *UpdateClusterRequest) GetClusterName() string { - if m != nil { - return m.ClusterName - } - return "" -} - -func (m *UpdateClusterRequest) GetCluster() *Cluster { - if m != nil { - return m.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 - } - 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 - // belongs to. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // 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"` - // 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.v1beta2.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:"-"` -} - -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_abc993f8d220b626, []int{19} -} - -func (m *DeleteClusterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteClusterRequest.Unmarshal(m, b) -} -func (m *DeleteClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteClusterRequest.Marshal(b, m, deterministic) -} -func (m *DeleteClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteClusterRequest.Merge(m, src) -} -func (m *DeleteClusterRequest) XXX_Size() int { - return xxx_messageInfo_DeleteClusterRequest.Size(m) -} -func (m *DeleteClusterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteClusterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteClusterRequest proto.InternalMessageInfo - -func (m *DeleteClusterRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *DeleteClusterRequest) GetRegion() string { - if m != nil { - return m.Region - } - return "" -} - -func (m *DeleteClusterRequest) GetClusterName() string { - if m != nil { - return m.ClusterName - } - 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 - // belongs to. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_abc993f8d220b626, []int{20} -} - -func (m *GetClusterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetClusterRequest.Unmarshal(m, b) -} -func (m *GetClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetClusterRequest.Marshal(b, m, deterministic) -} -func (m *GetClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetClusterRequest.Merge(m, src) -} -func (m *GetClusterRequest) XXX_Size() int { - return xxx_messageInfo_GetClusterRequest.Size(m) -} -func (m *GetClusterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetClusterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetClusterRequest proto.InternalMessageInfo - -func (m *GetClusterRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *GetClusterRequest) GetRegion() string { - if m != nil { - return m.Region - } - return "" -} - -func (m *GetClusterRequest) GetClusterName() string { - if m != nil { - return m.ClusterName - } - return "" -} - -// A request to list the clusters in a project. -type ListClustersRequest struct { - // Required. The ID of the Google Cloud Platform project that the cluster - // belongs to. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Required. The Cloud Dataproc region in which to handle the request. - Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"` - // Optional. A filter constraining the clusters to list. Filters are - // case-sensitive and have the following syntax: - // - // field = value [AND [field = value]] ... - // - // where **field** is one of `status.state`, `clusterName`, or `labels.[KEY]`, - // and `[KEY]` is a label key. **value** can be `*` to match all values. - // `status.state` can be one of the following: `ACTIVE`, `INACTIVE`, - // `CREATING`, `RUNNING`, `ERROR`, `DELETING`, or `UPDATING`. `ACTIVE` - // contains the `CREATING`, `UPDATING`, and `RUNNING` states. `INACTIVE` - // contains the `DELETING` and `ERROR` states. - // `clusterName` is the name of the cluster provided at creation time. - // Only the logical `AND` operator is supported; space-separated items are - // treated as having an implicit `AND` operator. - // - // Example filter: - // - // status.state = ACTIVE AND clusterName = mycluster - // AND labels.env = staging AND labels.starred = * - Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"` - // Optional. The standard List page size. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional. The standard List 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:"-"` -} - -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_abc993f8d220b626, []int{21} -} - -func (m *ListClustersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListClustersRequest.Unmarshal(m, b) -} -func (m *ListClustersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListClustersRequest.Marshal(b, m, deterministic) -} -func (m *ListClustersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClustersRequest.Merge(m, src) -} -func (m *ListClustersRequest) XXX_Size() int { - return xxx_messageInfo_ListClustersRequest.Size(m) -} -func (m *ListClustersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListClustersRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListClustersRequest proto.InternalMessageInfo - -func (m *ListClustersRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *ListClustersRequest) GetRegion() string { - if m != nil { - return m.Region - } - return "" -} - -func (m *ListClustersRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListClustersRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListClustersRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// The list of all clusters in a project. -type ListClustersResponse struct { - // 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 - // 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"` - 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_abc993f8d220b626, []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 (m *ListClustersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClustersResponse.Merge(m, 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.Clusters - } - return nil -} - -func (m *ListClustersResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// A request to collect cluster diagnostic information. -type DiagnoseClusterRequest struct { - // Required. The ID of the Google Cloud Platform project that the cluster - // belongs to. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_abc993f8d220b626, []int{23} -} - -func (m *DiagnoseClusterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiagnoseClusterRequest.Unmarshal(m, b) -} -func (m *DiagnoseClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiagnoseClusterRequest.Marshal(b, m, deterministic) -} -func (m *DiagnoseClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiagnoseClusterRequest.Merge(m, src) -} -func (m *DiagnoseClusterRequest) XXX_Size() int { - return xxx_messageInfo_DiagnoseClusterRequest.Size(m) -} -func (m *DiagnoseClusterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DiagnoseClusterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DiagnoseClusterRequest proto.InternalMessageInfo - -func (m *DiagnoseClusterRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *DiagnoseClusterRequest) GetRegion() string { - if m != nil { - return m.Region - } - return "" -} - -func (m *DiagnoseClusterRequest) GetClusterName() string { - if m != nil { - return m.ClusterName - } - return "" -} - -// The location of diagnostic output. -type DiagnoseClusterResults struct { - // 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_abc993f8d220b626, []int{24} -} - -func (m *DiagnoseClusterResults) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiagnoseClusterResults.Unmarshal(m, b) -} -func (m *DiagnoseClusterResults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiagnoseClusterResults.Marshal(b, m, deterministic) -} -func (m *DiagnoseClusterResults) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiagnoseClusterResults.Merge(m, src) -} -func (m *DiagnoseClusterResults) XXX_Size() int { - return xxx_messageInfo_DiagnoseClusterResults.Size(m) -} -func (m *DiagnoseClusterResults) XXX_DiscardUnknown() { - xxx_messageInfo_DiagnoseClusterResults.DiscardUnknown(m) -} - -var xxx_messageInfo_DiagnoseClusterResults proto.InternalMessageInfo - -func (m *DiagnoseClusterResults) GetOutputUri() string { - if m != nil { - return m.OutputUri - } - return "" -} - -// Reservation Affinity for consuming Zonal reservation. -type ReservationAffinity struct { - // Optional. Type of reservation to consume - ConsumeReservationType ReservationAffinity_Type `protobuf:"varint,1,opt,name=consume_reservation_type,json=consumeReservationType,proto3,enum=google.cloud.dataproc.v1beta2.ReservationAffinity_Type" json:"consume_reservation_type,omitempty"` - // Optional. Corresponds to the label key of reservation resource. - Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` - // Optional. Corresponds to the label values of reservation resource. - Values []string `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ReservationAffinity) Reset() { *m = ReservationAffinity{} } -func (m *ReservationAffinity) String() string { return proto.CompactTextString(m) } -func (*ReservationAffinity) ProtoMessage() {} -func (*ReservationAffinity) Descriptor() ([]byte, []int) { - return fileDescriptor_abc993f8d220b626, []int{25} -} - -func (m *ReservationAffinity) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReservationAffinity.Unmarshal(m, b) -} -func (m *ReservationAffinity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReservationAffinity.Marshal(b, m, deterministic) -} -func (m *ReservationAffinity) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReservationAffinity.Merge(m, src) -} -func (m *ReservationAffinity) XXX_Size() int { - return xxx_messageInfo_ReservationAffinity.Size(m) -} -func (m *ReservationAffinity) XXX_DiscardUnknown() { - xxx_messageInfo_ReservationAffinity.DiscardUnknown(m) -} - -var xxx_messageInfo_ReservationAffinity proto.InternalMessageInfo - -func (m *ReservationAffinity) GetConsumeReservationType() ReservationAffinity_Type { - if m != nil { - return m.ConsumeReservationType - } - return ReservationAffinity_TYPE_UNSPECIFIED -} - -func (m *ReservationAffinity) GetKey() string { - if m != nil { - return m.Key - } - return "" -} - -func (m *ReservationAffinity) GetValues() []string { - if m != nil { - return m.Values - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.dataproc.v1beta2.ClusterStatus_State", ClusterStatus_State_name, ClusterStatus_State_value) - proto.RegisterEnum("google.cloud.dataproc.v1beta2.ClusterStatus_Substate", ClusterStatus_Substate_name, ClusterStatus_Substate_value) - proto.RegisterEnum("google.cloud.dataproc.v1beta2.ReservationAffinity_Type", ReservationAffinity_Type_name, ReservationAffinity_Type_value) - 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((*EndpointConfig)(nil), "google.cloud.dataproc.v1beta2.EndpointConfig") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1beta2.EndpointConfig.HttpPortsEntry") - proto.RegisterType((*AutoscalingConfig)(nil), "google.cloud.dataproc.v1beta2.AutoscalingConfig") - 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") - proto.RegisterType((*ManagedGroupConfig)(nil), "google.cloud.dataproc.v1beta2.ManagedGroupConfig") - proto.RegisterType((*AcceleratorConfig)(nil), "google.cloud.dataproc.v1beta2.AcceleratorConfig") - proto.RegisterType((*DiskConfig)(nil), "google.cloud.dataproc.v1beta2.DiskConfig") - proto.RegisterType((*LifecycleConfig)(nil), "google.cloud.dataproc.v1beta2.LifecycleConfig") - proto.RegisterType((*SecurityConfig)(nil), "google.cloud.dataproc.v1beta2.SecurityConfig") - proto.RegisterType((*KerberosConfig)(nil), "google.cloud.dataproc.v1beta2.KerberosConfig") - proto.RegisterType((*NodeInitializationAction)(nil), "google.cloud.dataproc.v1beta2.NodeInitializationAction") - proto.RegisterType((*ClusterStatus)(nil), "google.cloud.dataproc.v1beta2.ClusterStatus") - proto.RegisterType((*SoftwareConfig)(nil), "google.cloud.dataproc.v1beta2.SoftwareConfig") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1beta2.SoftwareConfig.PropertiesEntry") - proto.RegisterType((*ClusterMetrics)(nil), "google.cloud.dataproc.v1beta2.ClusterMetrics") - proto.RegisterMapType((map[string]int64)(nil), "google.cloud.dataproc.v1beta2.ClusterMetrics.HdfsMetricsEntry") - proto.RegisterMapType((map[string]int64)(nil), "google.cloud.dataproc.v1beta2.ClusterMetrics.YarnMetricsEntry") - proto.RegisterType((*CreateClusterRequest)(nil), "google.cloud.dataproc.v1beta2.CreateClusterRequest") - proto.RegisterType((*UpdateClusterRequest)(nil), "google.cloud.dataproc.v1beta2.UpdateClusterRequest") - proto.RegisterType((*DeleteClusterRequest)(nil), "google.cloud.dataproc.v1beta2.DeleteClusterRequest") - proto.RegisterType((*GetClusterRequest)(nil), "google.cloud.dataproc.v1beta2.GetClusterRequest") - proto.RegisterType((*ListClustersRequest)(nil), "google.cloud.dataproc.v1beta2.ListClustersRequest") - proto.RegisterType((*ListClustersResponse)(nil), "google.cloud.dataproc.v1beta2.ListClustersResponse") - proto.RegisterType((*DiagnoseClusterRequest)(nil), "google.cloud.dataproc.v1beta2.DiagnoseClusterRequest") - proto.RegisterType((*DiagnoseClusterResults)(nil), "google.cloud.dataproc.v1beta2.DiagnoseClusterResults") - proto.RegisterType((*ReservationAffinity)(nil), "google.cloud.dataproc.v1beta2.ReservationAffinity") -} - -func init() { - proto.RegisterFile("google/cloud/dataproc/v1beta2/clusters.proto", fileDescriptor_abc993f8d220b626) -} - -var fileDescriptor_abc993f8d220b626 = []byte{ - // 3095 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0xdd, 0x6f, 0x1b, 0xd7, - 0x95, 0x37, 0x49, 0x7d, 0xf1, 0x50, 0xa4, 0xa8, 0x2b, 0xd9, 0x66, 0xe4, 0x4d, 0x56, 0xcb, 0x64, - 0x03, 0xc5, 0xb1, 0xc9, 0x58, 0x41, 0xe2, 0xc4, 0x71, 0x82, 0xa5, 0x25, 0x5a, 0x12, 0x2c, 0x4b, - 0xc2, 0x88, 0x72, 0xd6, 0xbb, 0x8b, 0x9d, 0x1d, 0xce, 0x5c, 0x51, 0x13, 0xce, 0xd7, 0xce, 0xbd, - 0x63, 0x87, 0x76, 0xf3, 0xd0, 0x3e, 0xb7, 0x40, 0x8b, 0xa0, 0xff, 0x40, 0x9f, 0x8a, 0xe6, 0x35, - 0x28, 0xfa, 0xf1, 0x56, 0x14, 0x28, 0x90, 0xbe, 0x14, 0x2d, 0xda, 0x87, 0x3c, 0xf5, 0xa1, 0x40, - 0x1f, 0xda, 0xff, 0xa1, 0xc5, 0xfd, 0x98, 0x99, 0x3b, 0xa4, 0x6c, 0x52, 0xb6, 0x81, 0x3c, 0x69, - 0x78, 0x3e, 0x7e, 0xe7, 0xdc, 0x73, 0xcf, 0x9c, 0x73, 0xee, 0x1d, 0xc1, 0x95, 0x9e, 0xef, 0xf7, - 0x1c, 0xdc, 0x34, 0x1d, 0x3f, 0xb2, 0x9a, 0x96, 0x41, 0x8d, 0x20, 0xf4, 0xcd, 0xe6, 0x83, 0x6b, - 0x5d, 0x4c, 0x8d, 0xf5, 0xa6, 0xe9, 0x44, 0x84, 0xe2, 0x90, 0x34, 0x82, 0xd0, 0xa7, 0x3e, 0x7a, - 0x59, 0x48, 0x37, 0xb8, 0x74, 0x23, 0x96, 0x6e, 0x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x47, 0x92, 0x27, 0xa7, 0x55, 0x7b, 0x43, 0x64, 0xf4, 0x3f, 0x50, - 0x76, 0x0d, 0x15, 0x5e, 0x84, 0x6b, 0x5c, 0x36, 0xed, 0x78, 0x84, 0x1a, 0x9e, 0x89, 0xb7, 0x42, - 0x3f, 0x0a, 0x54, 0x0b, 0xf3, 0x02, 0x2d, 0x45, 0x7f, 0xe8, 0x87, 0xfd, 0x14, 0x1d, 0x9e, 0x13, - 0x5d, 0xa0, 0x49, 0x74, 0x1f, 0x2e, 0x12, 0x6c, 0xfa, 0x9e, 0x65, 0x84, 0x03, 0x3d, 0x6b, 0x67, - 0xfe, 0xf9, 0xec, 0x9c, 0x4f, 0x70, 0x3f, 0x56, 0x0d, 0xfe, 0x37, 0x2c, 0x10, 0xff, 0x98, 0x3e, - 0x34, 0x42, 0x1c, 0x1b, 0x2a, 0x4f, 0x94, 0x5d, 0x87, 0x52, 0x4b, 0xb5, 0x51, 0x21, 0x19, 0x22, - 0xfa, 0x5f, 0xa8, 0x3a, 0xf6, 0x31, 0x36, 0x07, 0xa6, 0x93, 0xa0, 0x57, 0x38, 0x7a, 0x63, 0x0c, - 0xfa, 0x6e, 0xac, 0xa6, 0xc2, 0x2f, 0x38, 0x59, 0x2a, 0x22, 0x70, 0xc1, 0xf6, 0x6c, 0x6a, 0x1b, - 0x8e, 0xfd, 0x88, 0x97, 0x4b, 0xdd, 0x30, 0x79, 0x59, 0xad, 0x95, 0xf8, 0xcb, 0x79, 0x7d, 0x8c, - 0x95, 0x3d, 0xdf, 0xc2, 0x3b, 0x19, 0x80, 0x16, 0xd7, 0x97, 0x11, 0xb3, 0x4f, 0x61, 0x11, 0x64, - 0xc0, 0x22, 0xf6, 0xcc, 0x70, 0x10, 0x70, 0x83, 0x72, 0x55, 0x0b, 0x13, 0x65, 0x70, 0x3b, 0xd1, - 0xcb, 0x64, 0x30, 0x1e, 0x22, 0x23, 0x0b, 0x90, 0x11, 0x51, 0x9f, 0x98, 0x86, 0x63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x97, 0x49, 0x55, 0x32, 0xc3, 0x8c, 0x0a, 0x85, 0xd6, 0xa0, 0xea, 0xda, 0x9e, 0x6e, 0x06, 0x91, - 0x1e, 0x38, 0x06, 0x3d, 0xf6, 0x43, 0x97, 0xcf, 0x62, 0x45, 0xad, 0xe2, 0xda, 0xde, 0x46, 0x10, - 0x1d, 0x48, 0x6a, 0xfd, 0xf3, 0x1c, 0xa0, 0x51, 0xa7, 0xd9, 0x4b, 0x99, 0xec, 0x3f, 0xc5, 0x2e, - 0x03, 0xc1, 0x43, 0xe5, 0xaa, 0xa0, 0x2d, 0xc7, 0x22, 0x1d, 0x29, 0xc1, 0x8f, 0x25, 0xb7, 0xe0, - 0x52, 0xa2, 0x2a, 0x22, 0x28, 0xd6, 0x3e, 0x7c, 0x9a, 0x29, 0x68, 0x35, 0x5b, 0xcd, 0x51, 0xe1, - 0x05, 0x3f, 0xda, 0xd4, 0x43, 0x58, 0x1c, 0x59, 0x27, 0x7a, 0x0b, 0x96, 0x95, 0x45, 0xa6, 0x99, - 0x24, 0x5e, 0x09, 0xa4, 0xf0, 0xe2, 0x44, 0x7a, 0x13, 0x16, 0x55, 0x0d, 0x51, 0x8a, 0x98, 0x03, - 0xd3, 0x5a, 0xd5, 0x50, 0xf1, 0x23, 0x8f, 0xd6, 0xbf, 0x97, 0x03, 0x48, 0x93, 0x08, 0xbd, 0x01, - 0x95, 0xae, 0xef, 0x53, 0x9d, 0x67, 0x22, 0xb3, 0xa5, 0xa6, 0xf6, 0x3c, 0x63, 0x31, 0x61, 0x66, - 0x09, 0x35, 0x60, 0x31, 0x15, 0x25, 0xf6, 0x23, 0xac, 0xf7, 0xba, 0xea, 0xab, 0x55, 0x89, 0xa5, - 0x0f, 0xed, 0x47, 0x78, 0xab, 0x8b, 0x5e, 0x83, 0x0a, 0x7b, 0x0d, 0x1d, 0xdf, 0x34, 0x1c, 0x9d, - 0x10, 0x8b, 0x48, 0x9f, 0xd8, 0x2b, 0xb8, 0xcb, 0x88,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xff, 0xac, - 0x49, 0x74, 0x70, 0x89, 0x27, 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 - -// ClusterControllerClient is the client API for ClusterController service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ClusterControllerClient interface { - // Creates a cluster in a project. The returned - // [Operation.metadata][google.longrunning.Operation.metadata] will be - // [ClusterOperationMetadata](/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#clusteroperationmetadata). - CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Updates a cluster in a project. The returned - // [Operation.metadata][google.longrunning.Operation.metadata] will be - // [ClusterOperationMetadata](/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#clusteroperationmetadata). - UpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Deletes a cluster in a project. The returned - // [Operation.metadata][google.longrunning.Operation.metadata] will be - // [ClusterOperationMetadata](/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#clusteroperationmetadata). - DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Gets the resource representation for a cluster in a project. - GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error) - // Lists all regions/{region}/clusters in a project. - ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) - // Gets cluster diagnostic information. The returned - // [Operation.metadata][google.longrunning.Operation.metadata] will be - // [ClusterOperationMetadata](/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#clusteroperationmetadata). - // After the operation completes, - // [Operation.response][google.longrunning.Operation.response] - // contains - // [Empty](google.protobuf.Empty). - DiagnoseCluster(ctx context.Context, in *DiagnoseClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) -} - -type clusterControllerClient struct { - cc *grpc.ClientConn -} - -func NewClusterControllerClient(cc *grpc.ClientConn) ClusterControllerClient { - return &clusterControllerClient{cc} -} - -func (c *clusterControllerClient) CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1beta2.ClusterController/CreateCluster", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterControllerClient) UpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1beta2.ClusterController/UpdateCluster", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterControllerClient) DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1beta2.ClusterController/DeleteCluster", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterControllerClient) GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error) { - out := new(Cluster) - err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1beta2.ClusterController/GetCluster", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterControllerClient) ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) { - out := new(ListClustersResponse) - err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1beta2.ClusterController/ListClusters", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterControllerClient) DiagnoseCluster(ctx context.Context, in *DiagnoseClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1beta2.ClusterController/DiagnoseCluster", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ClusterControllerServer is the server API for ClusterController service. -type ClusterControllerServer interface { - // Creates a cluster in a project. The returned - // [Operation.metadata][google.longrunning.Operation.metadata] will be - // [ClusterOperationMetadata](/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#clusteroperationmetadata). - CreateCluster(context.Context, *CreateClusterRequest) (*longrunning.Operation, error) - // Updates a cluster in a project. The returned - // [Operation.metadata][google.longrunning.Operation.metadata] will be - // [ClusterOperationMetadata](/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#clusteroperationmetadata). - UpdateCluster(context.Context, *UpdateClusterRequest) (*longrunning.Operation, error) - // Deletes a cluster in a project. The returned - // [Operation.metadata][google.longrunning.Operation.metadata] will be - // [ClusterOperationMetadata](/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#clusteroperationmetadata). - DeleteCluster(context.Context, *DeleteClusterRequest) (*longrunning.Operation, error) - // Gets the resource representation for a cluster in a project. - GetCluster(context.Context, *GetClusterRequest) (*Cluster, error) - // Lists all regions/{region}/clusters in a project. - ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error) - // Gets cluster diagnostic information. The returned - // [Operation.metadata][google.longrunning.Operation.metadata] will be - // [ClusterOperationMetadata](/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#clusteroperationmetadata). - // After the operation completes, - // [Operation.response][google.longrunning.Operation.response] - // contains - // [Empty](google.protobuf.Empty). - DiagnoseCluster(context.Context, *DiagnoseClusterRequest) (*longrunning.Operation, error) -} - -// UnimplementedClusterControllerServer can be embedded to have forward compatible implementations. -type UnimplementedClusterControllerServer struct { -} - -func (*UnimplementedClusterControllerServer) CreateCluster(ctx context.Context, req *CreateClusterRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateCluster not implemented") -} -func (*UnimplementedClusterControllerServer) UpdateCluster(ctx context.Context, req *UpdateClusterRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateCluster not implemented") -} -func (*UnimplementedClusterControllerServer) DeleteCluster(ctx context.Context, req *DeleteClusterRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteCluster not implemented") -} -func (*UnimplementedClusterControllerServer) GetCluster(ctx context.Context, req *GetClusterRequest) (*Cluster, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCluster not implemented") -} -func (*UnimplementedClusterControllerServer) ListClusters(ctx context.Context, req *ListClustersRequest) (*ListClustersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListClusters not implemented") -} -func (*UnimplementedClusterControllerServer) DiagnoseCluster(ctx context.Context, req *DiagnoseClusterRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DiagnoseCluster not implemented") -} - -func RegisterClusterControllerServer(s *grpc.Server, srv ClusterControllerServer) { - s.RegisterService(&_ClusterController_serviceDesc, srv) -} - -func _ClusterController_CreateCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateClusterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterControllerServer).CreateCluster(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dataproc.v1beta2.ClusterController/CreateCluster", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterControllerServer).CreateCluster(ctx, req.(*CreateClusterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterController_UpdateCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateClusterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterControllerServer).UpdateCluster(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dataproc.v1beta2.ClusterController/UpdateCluster", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterControllerServer).UpdateCluster(ctx, req.(*UpdateClusterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterController_DeleteCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteClusterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterControllerServer).DeleteCluster(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dataproc.v1beta2.ClusterController/DeleteCluster", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterControllerServer).DeleteCluster(ctx, req.(*DeleteClusterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterController_GetCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetClusterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterControllerServer).GetCluster(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dataproc.v1beta2.ClusterController/GetCluster", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterControllerServer).GetCluster(ctx, req.(*GetClusterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterController_ListClusters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListClustersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterControllerServer).ListClusters(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dataproc.v1beta2.ClusterController/ListClusters", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterControllerServer).ListClusters(ctx, req.(*ListClustersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterController_DiagnoseCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DiagnoseClusterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterControllerServer).DiagnoseCluster(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dataproc.v1beta2.ClusterController/DiagnoseCluster", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterControllerServer).DiagnoseCluster(ctx, req.(*DiagnoseClusterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ClusterController_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.dataproc.v1beta2.ClusterController", - HandlerType: (*ClusterControllerServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateCluster", - Handler: _ClusterController_CreateCluster_Handler, - }, - { - MethodName: "UpdateCluster", - Handler: _ClusterController_UpdateCluster_Handler, - }, - { - MethodName: "DeleteCluster", - Handler: _ClusterController_DeleteCluster_Handler, - }, - { - MethodName: "GetCluster", - Handler: _ClusterController_GetCluster_Handler, - }, - { - MethodName: "ListClusters", - Handler: _ClusterController_ListClusters_Handler, - }, - { - MethodName: "DiagnoseCluster", - Handler: _ClusterController_DiagnoseCluster_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/dataproc/v1beta2/clusters.proto", -} 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 deleted file mode 100644 index b3c36e38..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/jobs.pb.go +++ /dev/null @@ -1,2874 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/dataproc/v1beta2/jobs.proto - -package dataproc - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The Log4j level for job execution. When running an -// [Apache Hive](http://hive.apache.org/) job, Cloud -// Dataproc configures the Hive client to an equivalent verbosity level. -type LoggingConfig_Level int32 - -const ( - // Level is unspecified. Use default level for log4j. - LoggingConfig_LEVEL_UNSPECIFIED LoggingConfig_Level = 0 - // Use ALL level for log4j. - LoggingConfig_ALL LoggingConfig_Level = 1 - // Use TRACE level for log4j. - LoggingConfig_TRACE LoggingConfig_Level = 2 - // Use DEBUG level for log4j. - LoggingConfig_DEBUG LoggingConfig_Level = 3 - // Use INFO level for log4j. - LoggingConfig_INFO LoggingConfig_Level = 4 - // Use WARN level for log4j. - LoggingConfig_WARN LoggingConfig_Level = 5 - // Use ERROR level for log4j. - LoggingConfig_ERROR LoggingConfig_Level = 6 - // Use FATAL level for log4j. - LoggingConfig_FATAL LoggingConfig_Level = 7 - // Turn off log4j. - LoggingConfig_OFF LoggingConfig_Level = 8 -) - -var LoggingConfig_Level_name = map[int32]string{ - 0: "LEVEL_UNSPECIFIED", - 1: "ALL", - 2: "TRACE", - 3: "DEBUG", - 4: "INFO", - 5: "WARN", - 6: "ERROR", - 7: "FATAL", - 8: "OFF", -} - -var LoggingConfig_Level_value = map[string]int32{ - "LEVEL_UNSPECIFIED": 0, - "ALL": 1, - "TRACE": 2, - "DEBUG": 3, - "INFO": 4, - "WARN": 5, - "ERROR": 6, - "FATAL": 7, - "OFF": 8, -} - -func (x LoggingConfig_Level) String() string { - return proto.EnumName(LoggingConfig_Level_name, int32(x)) -} - -func (LoggingConfig_Level) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_20fb118582e1d7de, []int{0, 0} -} - -// The job state. -type JobStatus_State int32 - -const ( - // The job state is unknown. - JobStatus_STATE_UNSPECIFIED JobStatus_State = 0 - // The job is pending; it has been submitted, but is not yet running. - JobStatus_PENDING JobStatus_State = 1 - // Job has been received by the service and completed initial setup; - // it will soon be submitted to the cluster. - JobStatus_SETUP_DONE JobStatus_State = 8 - // The job is running on the cluster. - JobStatus_RUNNING JobStatus_State = 2 - // A CancelJob request has been received, but is pending. - JobStatus_CANCEL_PENDING JobStatus_State = 3 - // Transient in-flight resources have been canceled, and the request to - // cancel the running job has been issued to the cluster. - JobStatus_CANCEL_STARTED JobStatus_State = 7 - // The job cancellation was successful. - JobStatus_CANCELLED JobStatus_State = 4 - // The job has completed successfully. - JobStatus_DONE JobStatus_State = 5 - // The job has completed, but encountered an error. - JobStatus_ERROR JobStatus_State = 6 - // Job attempt has failed. The detail field contains failure details for - // this attempt. - // - // Applies to restartable jobs only. - JobStatus_ATTEMPT_FAILURE JobStatus_State = 9 -) - -var JobStatus_State_name = map[int32]string{ - 0: "STATE_UNSPECIFIED", - 1: "PENDING", - 8: "SETUP_DONE", - 2: "RUNNING", - 3: "CANCEL_PENDING", - 7: "CANCEL_STARTED", - 4: "CANCELLED", - 5: "DONE", - 6: "ERROR", - 9: "ATTEMPT_FAILURE", -} - -var JobStatus_State_value = map[string]int32{ - "STATE_UNSPECIFIED": 0, - "PENDING": 1, - "SETUP_DONE": 8, - "RUNNING": 2, - "CANCEL_PENDING": 3, - "CANCEL_STARTED": 7, - "CANCELLED": 4, - "DONE": 5, - "ERROR": 6, - "ATTEMPT_FAILURE": 9, -} - -func (x JobStatus_State) String() string { - return proto.EnumName(JobStatus_State_name, int32(x)) -} - -func (JobStatus_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_20fb118582e1d7de, []int{10, 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. - // - // Applies to RUNNING state. - JobStatus_SUBMITTED JobStatus_Substate = 1 - // The Job has been received and is awaiting execution (it may be waiting - // for a condition to be met). See the "details" field for the reason for - // the delay. - // - // Applies to RUNNING state. - JobStatus_QUEUED JobStatus_Substate = 2 - // The agent-reported status is out of date, which may be caused by a - // loss of communication between the agent and Cloud Dataproc. If the - // agent does not send a timely update, the job will fail. - // - // Applies to RUNNING state. - JobStatus_STALE_STATUS JobStatus_Substate = 3 -) - -var JobStatus_Substate_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "SUBMITTED", - 2: "QUEUED", - 3: "STALE_STATUS", -} - -var JobStatus_Substate_value = map[string]int32{ - "UNSPECIFIED": 0, - "SUBMITTED": 1, - "QUEUED": 2, - "STALE_STATUS": 3, -} - -func (x JobStatus_Substate) String() string { - return proto.EnumName(JobStatus_Substate_name, int32(x)) -} - -func (JobStatus_Substate) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_20fb118582e1d7de, []int{10, 1} -} - -// The application state, corresponding to -// YarnProtos.YarnApplicationStateProto. -type YarnApplication_State int32 - -const ( - // Status is unspecified. - YarnApplication_STATE_UNSPECIFIED YarnApplication_State = 0 - // Status is NEW. - YarnApplication_NEW YarnApplication_State = 1 - // Status is NEW_SAVING. - YarnApplication_NEW_SAVING YarnApplication_State = 2 - // Status is SUBMITTED. - YarnApplication_SUBMITTED YarnApplication_State = 3 - // Status is ACCEPTED. - YarnApplication_ACCEPTED YarnApplication_State = 4 - // Status is RUNNING. - YarnApplication_RUNNING YarnApplication_State = 5 - // Status is FINISHED. - YarnApplication_FINISHED YarnApplication_State = 6 - // Status is FAILED. - YarnApplication_FAILED YarnApplication_State = 7 - // Status is KILLED. - YarnApplication_KILLED YarnApplication_State = 8 -) - -var YarnApplication_State_name = map[int32]string{ - 0: "STATE_UNSPECIFIED", - 1: "NEW", - 2: "NEW_SAVING", - 3: "SUBMITTED", - 4: "ACCEPTED", - 5: "RUNNING", - 6: "FINISHED", - 7: "FAILED", - 8: "KILLED", -} - -var YarnApplication_State_value = map[string]int32{ - "STATE_UNSPECIFIED": 0, - "NEW": 1, - "NEW_SAVING": 2, - "SUBMITTED": 3, - "ACCEPTED": 4, - "RUNNING": 5, - "FINISHED": 6, - "FAILED": 7, - "KILLED": 8, -} - -func (x YarnApplication_State) String() string { - return proto.EnumName(YarnApplication_State_name, int32(x)) -} - -func (YarnApplication_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_20fb118582e1d7de, []int{12, 0} -} - -// A matcher that specifies categories of job states. -type ListJobsRequest_JobStateMatcher int32 - -const ( - // Match all jobs, regardless of state. - ListJobsRequest_ALL ListJobsRequest_JobStateMatcher = 0 - // Only match jobs in non-terminal states: PENDING, RUNNING, or - // CANCEL_PENDING. - ListJobsRequest_ACTIVE ListJobsRequest_JobStateMatcher = 1 - // Only match jobs in terminal states: CANCELLED, DONE, or ERROR. - ListJobsRequest_NON_ACTIVE ListJobsRequest_JobStateMatcher = 2 -) - -var ListJobsRequest_JobStateMatcher_name = map[int32]string{ - 0: "ALL", - 1: "ACTIVE", - 2: "NON_ACTIVE", -} - -var ListJobsRequest_JobStateMatcher_value = map[string]int32{ - "ALL": 0, - "ACTIVE": 1, - "NON_ACTIVE": 2, -} - -func (x ListJobsRequest_JobStateMatcher) String() string { - return proto.EnumName(ListJobsRequest_JobStateMatcher_name, int32(x)) -} - -func (ListJobsRequest_JobStateMatcher) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_20fb118582e1d7de, []int{17, 0} -} - -// The runtime logging config of the job. -type LoggingConfig struct { - // The per-package log levels for the driver. This may include - // "root" package name to configure rootLogger. - // Examples: - // 'com.google = FATAL', 'root = INFO', 'org.apache = DEBUG' - DriverLogLevels map[string]LoggingConfig_Level `protobuf:"bytes,2,rep,name=driver_log_levels,json=driverLogLevels,proto3" json:"driver_log_levels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=google.cloud.dataproc.v1beta2.LoggingConfig_Level"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_20fb118582e1d7de, []int{0} -} - -func (m *LoggingConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LoggingConfig.Unmarshal(m, b) -} -func (m *LoggingConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LoggingConfig.Marshal(b, m, deterministic) -} -func (m *LoggingConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_LoggingConfig.Merge(m, src) -} -func (m *LoggingConfig) XXX_Size() int { - return xxx_messageInfo_LoggingConfig.Size(m) -} -func (m *LoggingConfig) XXX_DiscardUnknown() { - xxx_messageInfo_LoggingConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_LoggingConfig proto.InternalMessageInfo - -func (m *LoggingConfig) GetDriverLogLevels() map[string]LoggingConfig_Level { - if m != nil { - return m.DriverLogLevels - } - return nil -} - -// A Cloud Dataproc job for running -// [Apache Hadoop -// MapReduce](https://hadoop.apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/MapReduceTutorial.html) -// jobs on [Apache Hadoop -// YARN](https://hadoop.apache.org/docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html). -type HadoopJob struct { - // Required. Indicates the location of the driver's main class. Specify - // either the jar file that contains the main class or the main class name. - // To specify both, add the jar file to `jar_file_uris`, and then specify - // the main class name in this property. - // - // Types that are valid to be assigned to Driver: - // *HadoopJob_MainJarFileUri - // *HadoopJob_MainClass - Driver isHadoopJob_Driver `protobuf_oneof:"driver"` - // Optional. The arguments to pass to the driver. Do not - // include arguments, such as `-libjars` or `-Dfoo=bar`, that can be set as - // job properties, since a collision may occur that causes an incorrect job - // submission. - Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` - // Optional. Jar file URIs to add to the CLASSPATHs of the - // Hadoop driver and tasks. - JarFileUris []string `protobuf:"bytes,4,rep,name=jar_file_uris,json=jarFileUris,proto3" json:"jar_file_uris,omitempty"` - // Optional. HCFS (Hadoop Compatible Filesystem) URIs of files to be copied - // to the working directory of Hadoop drivers and distributed tasks. Useful - // for naively parallel tasks. - FileUris []string `protobuf:"bytes,5,rep,name=file_uris,json=fileUris,proto3" json:"file_uris,omitempty"` - // Optional. HCFS URIs of archives to be extracted in the working directory of - // Hadoop drivers and tasks. Supported file types: - // .jar, .tar, .tar.gz, .tgz, or .zip. - ArchiveUris []string `protobuf:"bytes,6,rep,name=archive_uris,json=archiveUris,proto3" json:"archive_uris,omitempty"` - // Optional. A mapping of property names to values, used to configure Hadoop. - // Properties that conflict with values set by the Cloud Dataproc API may be - // overwritten. Can include properties set in /etc/hadoop/conf/*-site and - // classes in user code. - Properties map[string]string `protobuf:"bytes,7,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Optional. The runtime log config for job execution. - LoggingConfig *LoggingConfig `protobuf:"bytes,8,opt,name=logging_config,json=loggingConfig,proto3" json:"logging_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_20fb118582e1d7de, []int{1} -} - -func (m *HadoopJob) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HadoopJob.Unmarshal(m, b) -} -func (m *HadoopJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HadoopJob.Marshal(b, m, deterministic) -} -func (m *HadoopJob) XXX_Merge(src proto.Message) { - xxx_messageInfo_HadoopJob.Merge(m, src) -} -func (m *HadoopJob) XXX_Size() int { - return xxx_messageInfo_HadoopJob.Size(m) -} -func (m *HadoopJob) XXX_DiscardUnknown() { - xxx_messageInfo_HadoopJob.DiscardUnknown(m) -} - -var xxx_messageInfo_HadoopJob proto.InternalMessageInfo - -type isHadoopJob_Driver interface { - isHadoopJob_Driver() -} - -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 (m *HadoopJob) GetDriver() isHadoopJob_Driver { - if m != nil { - return m.Driver - } - return nil -} - -func (m *HadoopJob) GetMainJarFileUri() string { - if x, ok := m.GetDriver().(*HadoopJob_MainJarFileUri); ok { - return x.MainJarFileUri - } - return "" -} - -func (m *HadoopJob) GetMainClass() string { - if x, ok := m.GetDriver().(*HadoopJob_MainClass); ok { - return x.MainClass - } - return "" -} - -func (m *HadoopJob) GetArgs() []string { - if m != nil { - return m.Args - } - return nil -} - -func (m *HadoopJob) GetJarFileUris() []string { - if m != nil { - return m.JarFileUris - } - return nil -} - -func (m *HadoopJob) GetFileUris() []string { - if m != nil { - return m.FileUris - } - return nil -} - -func (m *HadoopJob) GetArchiveUris() []string { - if m != nil { - return m.ArchiveUris - } - return nil -} - -func (m *HadoopJob) GetProperties() map[string]string { - if m != nil { - return m.Properties - } - return nil -} - -func (m *HadoopJob) GetLoggingConfig() *LoggingConfig { - if m != nil { - return m.LoggingConfig - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*HadoopJob) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*HadoopJob_MainJarFileUri)(nil), - (*HadoopJob_MainClass)(nil), - } -} - -// A Cloud Dataproc job for running [Apache Spark](http://spark.apache.org/) -// applications on YARN. -// The specification of the main method to call to drive the job. -// Specify either the jar file that contains the main class or the main class -// name. To pass both a main jar and a main class in that jar, add the jar to -// `CommonJob.jar_file_uris`, and then specify the main class name in -// `main_class`. -type SparkJob struct { - // Types that are valid to be assigned to Driver: - // *SparkJob_MainJarFileUri - // *SparkJob_MainClass - Driver isSparkJob_Driver `protobuf_oneof:"driver"` - // Optional. The arguments to pass to the driver. Do not include arguments, - // such as `--conf`, that can be set as job properties, since a collision may - // occur that causes an incorrect job submission. - Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` - // Optional. HCFS URIs of jar files to add to the CLASSPATHs of the - // Spark driver and tasks. - JarFileUris []string `protobuf:"bytes,4,rep,name=jar_file_uris,json=jarFileUris,proto3" json:"jar_file_uris,omitempty"` - // Optional. HCFS URIs of files to be copied to the working directory of - // Spark drivers and distributed tasks. Useful for naively parallel tasks. - FileUris []string `protobuf:"bytes,5,rep,name=file_uris,json=fileUris,proto3" json:"file_uris,omitempty"` - // Optional. HCFS URIs of archives to be extracted in the working directory - // of Spark drivers and tasks. Supported file types: - // .jar, .tar, .tar.gz, .tgz, and .zip. - ArchiveUris []string `protobuf:"bytes,6,rep,name=archive_uris,json=archiveUris,proto3" json:"archive_uris,omitempty"` - // Optional. A mapping of property names to values, used to configure Spark. - // Properties that conflict with values set by the Cloud Dataproc API may be - // overwritten. Can include properties set in - // /etc/spark/conf/spark-defaults.conf and classes in user code. - Properties map[string]string `protobuf:"bytes,7,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Optional. The runtime log config for job execution. - LoggingConfig *LoggingConfig `protobuf:"bytes,8,opt,name=logging_config,json=loggingConfig,proto3" json:"logging_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_20fb118582e1d7de, []int{2} -} - -func (m *SparkJob) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SparkJob.Unmarshal(m, b) -} -func (m *SparkJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SparkJob.Marshal(b, m, deterministic) -} -func (m *SparkJob) XXX_Merge(src proto.Message) { - xxx_messageInfo_SparkJob.Merge(m, src) -} -func (m *SparkJob) XXX_Size() int { - return xxx_messageInfo_SparkJob.Size(m) -} -func (m *SparkJob) XXX_DiscardUnknown() { - xxx_messageInfo_SparkJob.DiscardUnknown(m) -} - -var xxx_messageInfo_SparkJob proto.InternalMessageInfo - -type isSparkJob_Driver interface { - isSparkJob_Driver() -} - -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 (m *SparkJob) GetDriver() isSparkJob_Driver { - if m != nil { - return m.Driver - } - return nil -} - -func (m *SparkJob) GetMainJarFileUri() string { - if x, ok := m.GetDriver().(*SparkJob_MainJarFileUri); ok { - return x.MainJarFileUri - } - return "" -} - -func (m *SparkJob) GetMainClass() string { - if x, ok := m.GetDriver().(*SparkJob_MainClass); ok { - return x.MainClass - } - return "" -} - -func (m *SparkJob) GetArgs() []string { - if m != nil { - return m.Args - } - return nil -} - -func (m *SparkJob) GetJarFileUris() []string { - if m != nil { - return m.JarFileUris - } - return nil -} - -func (m *SparkJob) GetFileUris() []string { - if m != nil { - return m.FileUris - } - return nil -} - -func (m *SparkJob) GetArchiveUris() []string { - if m != nil { - return m.ArchiveUris - } - return nil -} - -func (m *SparkJob) GetProperties() map[string]string { - if m != nil { - return m.Properties - } - return nil -} - -func (m *SparkJob) GetLoggingConfig() *LoggingConfig { - if m != nil { - return m.LoggingConfig - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*SparkJob) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*SparkJob_MainJarFileUri)(nil), - (*SparkJob_MainClass)(nil), - } -} - -// A Cloud Dataproc job for running -// [Apache -// PySpark](https://spark.apache.org/docs/0.9.0/python-programming-guide.html) -// applications on YARN. -type PySparkJob struct { - // Required. The HCFS URI of the main Python file to use as the driver. Must - // be a .py file. - MainPythonFileUri string `protobuf:"bytes,1,opt,name=main_python_file_uri,json=mainPythonFileUri,proto3" json:"main_python_file_uri,omitempty"` - // Optional. The arguments to pass to the driver. Do not include arguments, - // such as `--conf`, that can be set as job properties, since a collision may - // occur that causes an incorrect job submission. - Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"` - // Optional. HCFS file URIs of Python files to pass to the PySpark - // framework. Supported file types: .py, .egg, and .zip. - PythonFileUris []string `protobuf:"bytes,3,rep,name=python_file_uris,json=pythonFileUris,proto3" json:"python_file_uris,omitempty"` - // Optional. HCFS URIs of jar files to add to the CLASSPATHs of the - // Python driver and tasks. - JarFileUris []string `protobuf:"bytes,4,rep,name=jar_file_uris,json=jarFileUris,proto3" json:"jar_file_uris,omitempty"` - // Optional. HCFS URIs of files to be copied to the working directory of - // Python drivers and distributed tasks. Useful for naively parallel tasks. - FileUris []string `protobuf:"bytes,5,rep,name=file_uris,json=fileUris,proto3" json:"file_uris,omitempty"` - // Optional. HCFS URIs of archives to be extracted in the working directory of - // .jar, .tar, .tar.gz, .tgz, and .zip. - ArchiveUris []string `protobuf:"bytes,6,rep,name=archive_uris,json=archiveUris,proto3" json:"archive_uris,omitempty"` - // Optional. A mapping of property names to values, used to configure PySpark. - // Properties that conflict with values set by the Cloud Dataproc API may be - // overwritten. Can include properties set in - // /etc/spark/conf/spark-defaults.conf and classes in user code. - Properties map[string]string `protobuf:"bytes,7,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Optional. The runtime log config for job execution. - LoggingConfig *LoggingConfig `protobuf:"bytes,8,opt,name=logging_config,json=loggingConfig,proto3" json:"logging_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_20fb118582e1d7de, []int{3} -} - -func (m *PySparkJob) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PySparkJob.Unmarshal(m, b) -} -func (m *PySparkJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PySparkJob.Marshal(b, m, deterministic) -} -func (m *PySparkJob) XXX_Merge(src proto.Message) { - xxx_messageInfo_PySparkJob.Merge(m, src) -} -func (m *PySparkJob) XXX_Size() int { - return xxx_messageInfo_PySparkJob.Size(m) -} -func (m *PySparkJob) XXX_DiscardUnknown() { - xxx_messageInfo_PySparkJob.DiscardUnknown(m) -} - -var xxx_messageInfo_PySparkJob proto.InternalMessageInfo - -func (m *PySparkJob) GetMainPythonFileUri() string { - if m != nil { - return m.MainPythonFileUri - } - return "" -} - -func (m *PySparkJob) GetArgs() []string { - if m != nil { - return m.Args - } - return nil -} - -func (m *PySparkJob) GetPythonFileUris() []string { - if m != nil { - return m.PythonFileUris - } - return nil -} - -func (m *PySparkJob) GetJarFileUris() []string { - if m != nil { - return m.JarFileUris - } - return nil -} - -func (m *PySparkJob) GetFileUris() []string { - if m != nil { - return m.FileUris - } - return nil -} - -func (m *PySparkJob) GetArchiveUris() []string { - if m != nil { - return m.ArchiveUris - } - return nil -} - -func (m *PySparkJob) GetProperties() map[string]string { - if m != nil { - return m.Properties - } - return nil -} - -func (m *PySparkJob) GetLoggingConfig() *LoggingConfig { - if m != nil { - return m.LoggingConfig - } - return nil -} - -// A list of queries to run on a cluster. -type QueryList struct { - // Required. The queries to execute. You do not need to terminate a query - // with a semicolon. Multiple queries can be specified in one string - // by separating each with a semicolon. Here is an example of an Cloud - // Dataproc API snippet that uses a QueryList to specify a HiveJob: - // - // "hiveJob": { - // "queryList": { - // "queries": [ - // "query1", - // "query2", - // "query3;query4", - // ] - // } - // } - Queries []string `protobuf:"bytes,1,rep,name=queries,proto3" json:"queries,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_20fb118582e1d7de, []int{4} -} - -func (m *QueryList) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryList.Unmarshal(m, b) -} -func (m *QueryList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryList.Marshal(b, m, deterministic) -} -func (m *QueryList) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryList.Merge(m, src) -} -func (m *QueryList) XXX_Size() int { - return xxx_messageInfo_QueryList.Size(m) -} -func (m *QueryList) XXX_DiscardUnknown() { - xxx_messageInfo_QueryList.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryList proto.InternalMessageInfo - -func (m *QueryList) GetQueries() []string { - if m != nil { - return m.Queries - } - return nil -} - -// A Cloud Dataproc job for running [Apache Hive](https://hive.apache.org/) -// queries on YARN. -type HiveJob struct { - // Required. The sequence of Hive queries to execute, specified as either - // an HCFS file URI or a list of queries. - // - // Types that are valid to be assigned to Queries: - // *HiveJob_QueryFileUri - // *HiveJob_QueryList - Queries isHiveJob_Queries `protobuf_oneof:"queries"` - // Optional. Whether to continue executing queries if a query fails. - // The default value is `false`. Setting to `true` can be useful when - // executing independent parallel queries. - ContinueOnFailure bool `protobuf:"varint,3,opt,name=continue_on_failure,json=continueOnFailure,proto3" json:"continue_on_failure,omitempty"` - // Optional. Mapping of query variable names to values (equivalent to the - // Hive command: `SET name="value";`). - ScriptVariables map[string]string `protobuf:"bytes,4,rep,name=script_variables,json=scriptVariables,proto3" json:"script_variables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Optional. A mapping of property names and values, used to configure Hive. - // Properties that conflict with values set by the Cloud Dataproc API may be - // overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, - // /etc/hive/conf/hive-site.xml, and classes in user code. - Properties map[string]string `protobuf:"bytes,5,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Optional. HCFS URIs of jar files to add to the CLASSPATH of the - // Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes - // and UDFs. - JarFileUris []string `protobuf:"bytes,6,rep,name=jar_file_uris,json=jarFileUris,proto3" json:"jar_file_uris,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_20fb118582e1d7de, []int{5} -} - -func (m *HiveJob) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HiveJob.Unmarshal(m, b) -} -func (m *HiveJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HiveJob.Marshal(b, m, deterministic) -} -func (m *HiveJob) XXX_Merge(src proto.Message) { - xxx_messageInfo_HiveJob.Merge(m, src) -} -func (m *HiveJob) XXX_Size() int { - return xxx_messageInfo_HiveJob.Size(m) -} -func (m *HiveJob) XXX_DiscardUnknown() { - xxx_messageInfo_HiveJob.DiscardUnknown(m) -} - -var xxx_messageInfo_HiveJob proto.InternalMessageInfo - -type isHiveJob_Queries interface { - isHiveJob_Queries() -} - -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 (m *HiveJob) GetQueries() isHiveJob_Queries { - if m != nil { - return m.Queries - } - return nil -} - -func (m *HiveJob) GetQueryFileUri() string { - if x, ok := m.GetQueries().(*HiveJob_QueryFileUri); ok { - return x.QueryFileUri - } - return "" -} - -func (m *HiveJob) GetQueryList() *QueryList { - if x, ok := m.GetQueries().(*HiveJob_QueryList); ok { - return x.QueryList - } - return nil -} - -func (m *HiveJob) GetContinueOnFailure() bool { - if m != nil { - return m.ContinueOnFailure - } - return false -} - -func (m *HiveJob) GetScriptVariables() map[string]string { - if m != nil { - return m.ScriptVariables - } - return nil -} - -func (m *HiveJob) GetProperties() map[string]string { - if m != nil { - return m.Properties - } - return nil -} - -func (m *HiveJob) GetJarFileUris() []string { - if m != nil { - return m.JarFileUris - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*HiveJob) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*HiveJob_QueryFileUri)(nil), - (*HiveJob_QueryList)(nil), - } -} - -// A Cloud Dataproc job for running [Apache Spark -// SQL](http://spark.apache.org/sql/) queries. -type SparkSqlJob struct { - // Required. The sequence of Spark SQL queries to execute, specified as - // either an HCFS file URI or as a list of queries. - // - // Types that are valid to be assigned to Queries: - // *SparkSqlJob_QueryFileUri - // *SparkSqlJob_QueryList - Queries isSparkSqlJob_Queries `protobuf_oneof:"queries"` - // Optional. Mapping of query variable names to values (equivalent to the - // Spark SQL command: SET `name="value";`). - ScriptVariables map[string]string `protobuf:"bytes,3,rep,name=script_variables,json=scriptVariables,proto3" json:"script_variables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Optional. A mapping of property names to values, used to configure - // Spark SQL's SparkConf. Properties that conflict with values set by the - // Cloud Dataproc API may be overwritten. - Properties map[string]string `protobuf:"bytes,4,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH. - JarFileUris []string `protobuf:"bytes,56,rep,name=jar_file_uris,json=jarFileUris,proto3" json:"jar_file_uris,omitempty"` - // Optional. The runtime log config for job execution. - LoggingConfig *LoggingConfig `protobuf:"bytes,6,opt,name=logging_config,json=loggingConfig,proto3" json:"logging_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_20fb118582e1d7de, []int{6} -} - -func (m *SparkSqlJob) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SparkSqlJob.Unmarshal(m, b) -} -func (m *SparkSqlJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SparkSqlJob.Marshal(b, m, deterministic) -} -func (m *SparkSqlJob) XXX_Merge(src proto.Message) { - xxx_messageInfo_SparkSqlJob.Merge(m, src) -} -func (m *SparkSqlJob) XXX_Size() int { - return xxx_messageInfo_SparkSqlJob.Size(m) -} -func (m *SparkSqlJob) XXX_DiscardUnknown() { - xxx_messageInfo_SparkSqlJob.DiscardUnknown(m) -} - -var xxx_messageInfo_SparkSqlJob proto.InternalMessageInfo - -type isSparkSqlJob_Queries interface { - isSparkSqlJob_Queries() -} - -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 (m *SparkSqlJob) GetQueries() isSparkSqlJob_Queries { - if m != nil { - return m.Queries - } - return nil -} - -func (m *SparkSqlJob) GetQueryFileUri() string { - if x, ok := m.GetQueries().(*SparkSqlJob_QueryFileUri); ok { - return x.QueryFileUri - } - return "" -} - -func (m *SparkSqlJob) GetQueryList() *QueryList { - if x, ok := m.GetQueries().(*SparkSqlJob_QueryList); ok { - return x.QueryList - } - return nil -} - -func (m *SparkSqlJob) GetScriptVariables() map[string]string { - if m != nil { - return m.ScriptVariables - } - return nil -} - -func (m *SparkSqlJob) GetProperties() map[string]string { - if m != nil { - return m.Properties - } - return nil -} - -func (m *SparkSqlJob) GetJarFileUris() []string { - if m != nil { - return m.JarFileUris - } - return nil -} - -func (m *SparkSqlJob) GetLoggingConfig() *LoggingConfig { - if m != nil { - return m.LoggingConfig - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*SparkSqlJob) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*SparkSqlJob_QueryFileUri)(nil), - (*SparkSqlJob_QueryList)(nil), - } -} - -// A Cloud Dataproc job for running [Apache Pig](https://pig.apache.org/) -// queries on YARN. -type PigJob struct { - // Required. The sequence of Pig queries to execute, specified as an HCFS - // file URI or a list of queries. - // - // Types that are valid to be assigned to Queries: - // *PigJob_QueryFileUri - // *PigJob_QueryList - Queries isPigJob_Queries `protobuf_oneof:"queries"` - // Optional. Whether to continue executing queries if a query fails. - // The default value is `false`. Setting to `true` can be useful when - // executing independent parallel queries. - ContinueOnFailure bool `protobuf:"varint,3,opt,name=continue_on_failure,json=continueOnFailure,proto3" json:"continue_on_failure,omitempty"` - // Optional. Mapping of query variable names to values (equivalent to the Pig - // command: `name=[value]`). - ScriptVariables map[string]string `protobuf:"bytes,4,rep,name=script_variables,json=scriptVariables,proto3" json:"script_variables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Optional. A mapping of property names to values, used to configure Pig. - // Properties that conflict with values set by the Cloud Dataproc API may be - // overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, - // /etc/pig/conf/pig.properties, and classes in user code. - Properties map[string]string `protobuf:"bytes,5,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Optional. HCFS URIs of jar files to add to the CLASSPATH of - // the Pig Client and Hadoop MapReduce (MR) tasks. Can contain Pig UDFs. - JarFileUris []string `protobuf:"bytes,6,rep,name=jar_file_uris,json=jarFileUris,proto3" json:"jar_file_uris,omitempty"` - // Optional. The runtime log config for job execution. - LoggingConfig *LoggingConfig `protobuf:"bytes,7,opt,name=logging_config,json=loggingConfig,proto3" json:"logging_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_20fb118582e1d7de, []int{7} -} - -func (m *PigJob) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PigJob.Unmarshal(m, b) -} -func (m *PigJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PigJob.Marshal(b, m, deterministic) -} -func (m *PigJob) XXX_Merge(src proto.Message) { - xxx_messageInfo_PigJob.Merge(m, src) -} -func (m *PigJob) XXX_Size() int { - return xxx_messageInfo_PigJob.Size(m) -} -func (m *PigJob) XXX_DiscardUnknown() { - xxx_messageInfo_PigJob.DiscardUnknown(m) -} - -var xxx_messageInfo_PigJob proto.InternalMessageInfo - -type isPigJob_Queries interface { - isPigJob_Queries() -} - -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 (m *PigJob) GetQueries() isPigJob_Queries { - if m != nil { - return m.Queries - } - return nil -} - -func (m *PigJob) GetQueryFileUri() string { - if x, ok := m.GetQueries().(*PigJob_QueryFileUri); ok { - return x.QueryFileUri - } - return "" -} - -func (m *PigJob) GetQueryList() *QueryList { - if x, ok := m.GetQueries().(*PigJob_QueryList); ok { - return x.QueryList - } - return nil -} - -func (m *PigJob) GetContinueOnFailure() bool { - if m != nil { - return m.ContinueOnFailure - } - return false -} - -func (m *PigJob) GetScriptVariables() map[string]string { - if m != nil { - return m.ScriptVariables - } - return nil -} - -func (m *PigJob) GetProperties() map[string]string { - if m != nil { - return m.Properties - } - return nil -} - -func (m *PigJob) GetJarFileUris() []string { - if m != nil { - return m.JarFileUris - } - return nil -} - -func (m *PigJob) GetLoggingConfig() *LoggingConfig { - if m != nil { - return m.LoggingConfig - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*PigJob) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*PigJob_QueryFileUri)(nil), - (*PigJob_QueryList)(nil), - } -} - -// A Cloud Dataproc job for running -// [Apache SparkR](https://spark.apache.org/docs/latest/sparkr.html) -// applications on YARN. -type SparkRJob struct { - // Required. The HCFS URI of the main R file to use as the driver. - // Must be a .R file. - MainRFileUri string `protobuf:"bytes,1,opt,name=main_r_file_uri,json=mainRFileUri,proto3" json:"main_r_file_uri,omitempty"` - // Optional. The arguments to pass to the driver. Do not include arguments, - // such as `--conf`, that can be set as job properties, since a collision may - // occur that causes an incorrect job submission. - Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"` - // Optional. HCFS URIs of files to be copied to the working directory of - // R drivers and distributed tasks. Useful for naively parallel tasks. - FileUris []string `protobuf:"bytes,3,rep,name=file_uris,json=fileUris,proto3" json:"file_uris,omitempty"` - // Optional. HCFS URIs of archives to be extracted in the working directory of - // Spark drivers and tasks. Supported file types: - // .jar, .tar, .tar.gz, .tgz, and .zip. - ArchiveUris []string `protobuf:"bytes,4,rep,name=archive_uris,json=archiveUris,proto3" json:"archive_uris,omitempty"` - // Optional. A mapping of property names to values, used to configure SparkR. - // Properties that conflict with values set by the Cloud Dataproc API may be - // overwritten. Can include properties set in - // /etc/spark/conf/spark-defaults.conf and classes in user code. - Properties map[string]string `protobuf:"bytes,5,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Optional. The runtime log config for job execution. - LoggingConfig *LoggingConfig `protobuf:"bytes,6,opt,name=logging_config,json=loggingConfig,proto3" json:"logging_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SparkRJob) Reset() { *m = SparkRJob{} } -func (m *SparkRJob) String() string { return proto.CompactTextString(m) } -func (*SparkRJob) ProtoMessage() {} -func (*SparkRJob) Descriptor() ([]byte, []int) { - return fileDescriptor_20fb118582e1d7de, []int{8} -} - -func (m *SparkRJob) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SparkRJob.Unmarshal(m, b) -} -func (m *SparkRJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SparkRJob.Marshal(b, m, deterministic) -} -func (m *SparkRJob) XXX_Merge(src proto.Message) { - xxx_messageInfo_SparkRJob.Merge(m, src) -} -func (m *SparkRJob) XXX_Size() int { - return xxx_messageInfo_SparkRJob.Size(m) -} -func (m *SparkRJob) XXX_DiscardUnknown() { - xxx_messageInfo_SparkRJob.DiscardUnknown(m) -} - -var xxx_messageInfo_SparkRJob proto.InternalMessageInfo - -func (m *SparkRJob) GetMainRFileUri() string { - if m != nil { - return m.MainRFileUri - } - return "" -} - -func (m *SparkRJob) GetArgs() []string { - if m != nil { - return m.Args - } - return nil -} - -func (m *SparkRJob) GetFileUris() []string { - if m != nil { - return m.FileUris - } - return nil -} - -func (m *SparkRJob) GetArchiveUris() []string { - if m != nil { - return m.ArchiveUris - } - return nil -} - -func (m *SparkRJob) GetProperties() map[string]string { - if m != nil { - return m.Properties - } - return nil -} - -func (m *SparkRJob) GetLoggingConfig() *LoggingConfig { - if m != nil { - return m.LoggingConfig - } - return nil -} - -// Cloud Dataproc job config. -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 - // the job is submitted. - ClusterUuid string `protobuf:"bytes,2,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 *JobPlacement) Reset() { *m = JobPlacement{} } -func (m *JobPlacement) String() string { return proto.CompactTextString(m) } -func (*JobPlacement) ProtoMessage() {} -func (*JobPlacement) Descriptor() ([]byte, []int) { - return fileDescriptor_20fb118582e1d7de, []int{9} -} - -func (m *JobPlacement) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JobPlacement.Unmarshal(m, b) -} -func (m *JobPlacement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JobPlacement.Marshal(b, m, deterministic) -} -func (m *JobPlacement) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobPlacement.Merge(m, src) -} -func (m *JobPlacement) XXX_Size() int { - return xxx_messageInfo_JobPlacement.Size(m) -} -func (m *JobPlacement) XXX_DiscardUnknown() { - xxx_messageInfo_JobPlacement.DiscardUnknown(m) -} - -var xxx_messageInfo_JobPlacement proto.InternalMessageInfo - -func (m *JobPlacement) GetClusterName() string { - if m != nil { - return m.ClusterName - } - return "" -} - -func (m *JobPlacement) GetClusterUuid() string { - if m != nil { - return m.ClusterUuid - } - return "" -} - -// Cloud Dataproc job status. -type JobStatus struct { - // Output only. A state message specifying the overall job state. - State JobStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.dataproc.v1beta2.JobStatus_State" json:"state,omitempty"` - // 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. - 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 - // status reported by the agent. - Substate JobStatus_Substate `protobuf:"varint,7,opt,name=substate,proto3,enum=google.cloud.dataproc.v1beta2.JobStatus_Substate" json:"substate,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_20fb118582e1d7de, []int{10} -} - -func (m *JobStatus) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JobStatus.Unmarshal(m, b) -} -func (m *JobStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JobStatus.Marshal(b, m, deterministic) -} -func (m *JobStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobStatus.Merge(m, src) -} -func (m *JobStatus) XXX_Size() int { - return xxx_messageInfo_JobStatus.Size(m) -} -func (m *JobStatus) XXX_DiscardUnknown() { - xxx_messageInfo_JobStatus.DiscardUnknown(m) -} - -var xxx_messageInfo_JobStatus proto.InternalMessageInfo - -func (m *JobStatus) GetState() JobStatus_State { - if m != nil { - return m.State - } - return JobStatus_STATE_UNSPECIFIED -} - -func (m *JobStatus) GetDetails() string { - if m != nil { - return m.Details - } - return "" -} - -func (m *JobStatus) GetStateStartTime() *timestamp.Timestamp { - if m != nil { - return m.StateStartTime - } - return nil -} - -func (m *JobStatus) GetSubstate() JobStatus_Substate { - if m != nil { - return m.Substate - } - return JobStatus_UNSPECIFIED -} - -// Encapsulates the full scoping used to reference a job. -type JobReference struct { - // Required. The ID of the Google Cloud Platform project that the job - // belongs to. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Optional. The job ID, which must be unique within the project. - // - // The ID must contain only letters (a-z, A-Z), numbers (0-9), - // underscores (_), or hyphens (-). The maximum length is 100 characters. - // - // If not specified by the caller, the job ID will be provided by the server. - JobId string `protobuf:"bytes,2,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 *JobReference) Reset() { *m = JobReference{} } -func (m *JobReference) String() string { return proto.CompactTextString(m) } -func (*JobReference) ProtoMessage() {} -func (*JobReference) Descriptor() ([]byte, []int) { - return fileDescriptor_20fb118582e1d7de, []int{11} -} - -func (m *JobReference) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JobReference.Unmarshal(m, b) -} -func (m *JobReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JobReference.Marshal(b, m, deterministic) -} -func (m *JobReference) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobReference.Merge(m, src) -} -func (m *JobReference) XXX_Size() int { - return xxx_messageInfo_JobReference.Size(m) -} -func (m *JobReference) XXX_DiscardUnknown() { - xxx_messageInfo_JobReference.DiscardUnknown(m) -} - -var xxx_messageInfo_JobReference proto.InternalMessageInfo - -func (m *JobReference) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *JobReference) GetJobId() string { - if m != nil { - return m.JobId - } - return "" -} - -// A YARN application created by a job. Application information is a subset of -// org.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto. -// -// **Beta Feature**: This report is available for testing purposes only. It may -// be changed before final release. -type YarnApplication struct { - // Output only. The application name. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Output only. The application state. - State YarnApplication_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.dataproc.v1beta2.YarnApplication_State" json:"state,omitempty"` - // Output only. The numerical progress of the application, from 1 to 100. - Progress float32 `protobuf:"fixed32,3,opt,name=progress,proto3" json:"progress,omitempty"` - // Optional. Output only. The HTTP URL of the ApplicationMaster, HistoryServer, or - // TimelineServer that provides application-specific information. The URL uses - // the internal hostname, and requires a proxy server for resolution and, - // possibly, access. - TrackingUrl string `protobuf:"bytes,4,opt,name=tracking_url,json=trackingUrl,proto3" json:"tracking_url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_20fb118582e1d7de, []int{12} -} - -func (m *YarnApplication) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_YarnApplication.Unmarshal(m, b) -} -func (m *YarnApplication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_YarnApplication.Marshal(b, m, deterministic) -} -func (m *YarnApplication) XXX_Merge(src proto.Message) { - xxx_messageInfo_YarnApplication.Merge(m, src) -} -func (m *YarnApplication) XXX_Size() int { - return xxx_messageInfo_YarnApplication.Size(m) -} -func (m *YarnApplication) XXX_DiscardUnknown() { - xxx_messageInfo_YarnApplication.DiscardUnknown(m) -} - -var xxx_messageInfo_YarnApplication proto.InternalMessageInfo - -func (m *YarnApplication) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *YarnApplication) GetState() YarnApplication_State { - if m != nil { - return m.State - } - return YarnApplication_STATE_UNSPECIFIED -} - -func (m *YarnApplication) GetProgress() float32 { - if m != nil { - return m.Progress - } - return 0 -} - -func (m *YarnApplication) GetTrackingUrl() string { - if m != nil { - return m.TrackingUrl - } - return "" -} - -// A Cloud Dataproc job resource. -type Job struct { - // Optional. The fully qualified reference to the job, which can be used to - // obtain the equivalent REST path of the job resource. If this property - // is not specified when a job is created, the server generates a - // job_id. - Reference *JobReference `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` - // Required. Job information, including how, when, and where to - // run the job. - Placement *JobPlacement `protobuf:"bytes,2,opt,name=placement,proto3" json:"placement,omitempty"` - // Required. The application/framework-specific portion of the job. - // - // Types that are valid to be assigned to TypeJob: - // *Job_HadoopJob - // *Job_SparkJob - // *Job_PysparkJob - // *Job_HiveJob - // *Job_PigJob - // *Job_SparkRJob - // *Job_SparkSqlJob - TypeJob isJob_TypeJob `protobuf_oneof:"type_job"` - // 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. - 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. - // - // **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"` - // 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"` - // Optional. The labels to associate with this job. - // 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 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"` - // 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_20fb118582e1d7de, []int{13} -} - -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 (m *Job) XXX_Merge(src proto.Message) { - xxx_messageInfo_Job.Merge(m, 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) 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() -} - -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_SparkRJob struct { - SparkRJob *SparkRJob `protobuf:"bytes,21,opt,name=spark_r_job,json=sparkRJob,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_SparkRJob) isJob_TypeJob() {} - -func (*Job_SparkSqlJob) isJob_TypeJob() {} - -func (m *Job) GetTypeJob() isJob_TypeJob { - if m != nil { - return m.TypeJob - } - return nil -} - -func (m *Job) GetHadoopJob() *HadoopJob { - if x, ok := m.GetTypeJob().(*Job_HadoopJob); ok { - return x.HadoopJob - } - return nil -} - -func (m *Job) GetSparkJob() *SparkJob { - if x, ok := m.GetTypeJob().(*Job_SparkJob); ok { - return x.SparkJob - } - return nil -} - -func (m *Job) GetPysparkJob() *PySparkJob { - if x, ok := m.GetTypeJob().(*Job_PysparkJob); ok { - return x.PysparkJob - } - return nil -} - -func (m *Job) GetHiveJob() *HiveJob { - if x, ok := m.GetTypeJob().(*Job_HiveJob); ok { - return x.HiveJob - } - return nil -} - -func (m *Job) GetPigJob() *PigJob { - if x, ok := m.GetTypeJob().(*Job_PigJob); ok { - return x.PigJob - } - return nil -} - -func (m *Job) GetSparkRJob() *SparkRJob { - if x, ok := m.GetTypeJob().(*Job_SparkRJob); ok { - return x.SparkRJob - } - return nil -} - -func (m *Job) GetSparkSqlJob() *SparkSqlJob { - if x, ok := m.GetTypeJob().(*Job_SparkSqlJob); ok { - return x.SparkSqlJob - } - return nil -} - -func (m *Job) GetStatus() *JobStatus { - if m != nil { - return m.Status - } - return nil -} - -func (m *Job) GetStatusHistory() []*JobStatus { - if m != nil { - return m.StatusHistory - } - return nil -} - -func (m *Job) GetYarnApplications() []*YarnApplication { - if m != nil { - return m.YarnApplications - } - 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 - } - return "" -} - -func (m *Job) GetDriverControlFilesUri() string { - if m != nil { - return m.DriverControlFilesUri - } - return "" -} - -func (m *Job) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -func (m *Job) GetScheduling() *JobScheduling { - if m != nil { - return m.Scheduling - } - return nil -} - -func (m *Job) GetJobUuid() string { - if m != nil { - return m.JobUuid - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Job) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Job_HadoopJob)(nil), - (*Job_SparkJob)(nil), - (*Job_PysparkJob)(nil), - (*Job_HiveJob)(nil), - (*Job_PigJob)(nil), - (*Job_SparkRJob)(nil), - (*Job_SparkSqlJob)(nil), - } -} - -// Job scheduling options. -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 - // reported failed. - // - // A job may be reported as thrashing if driver exits with non-zero code - // 4 times within 10 minute window. - // - // Maximum value is 10. - MaxFailuresPerHour int32 `protobuf:"varint,1,opt,name=max_failures_per_hour,json=maxFailuresPerHour,proto3" json:"max_failures_per_hour,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_20fb118582e1d7de, []int{14} -} - -func (m *JobScheduling) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JobScheduling.Unmarshal(m, b) -} -func (m *JobScheduling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JobScheduling.Marshal(b, m, deterministic) -} -func (m *JobScheduling) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobScheduling.Merge(m, src) -} -func (m *JobScheduling) XXX_Size() int { - return xxx_messageInfo_JobScheduling.Size(m) -} -func (m *JobScheduling) XXX_DiscardUnknown() { - xxx_messageInfo_JobScheduling.DiscardUnknown(m) -} - -var xxx_messageInfo_JobScheduling proto.InternalMessageInfo - -func (m *JobScheduling) GetMaxFailuresPerHour() int32 { - if m != nil { - return m.MaxFailuresPerHour - } - return 0 -} - -// A request to submit a job. -type SubmitJobRequest struct { - // Required. The ID of the Google Cloud Platform project that the job - // belongs to. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // 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"` - // Optional. A unique id used to identify the request. If the server - // receives two [SubmitJobRequest][google.cloud.dataproc.v1beta2.SubmitJobRequest] requests with the same - // id, then the second request will be ignored and the - // first [Job][google.cloud.dataproc.v1beta2.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:"-"` -} - -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_20fb118582e1d7de, []int{15} -} - -func (m *SubmitJobRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubmitJobRequest.Unmarshal(m, b) -} -func (m *SubmitJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubmitJobRequest.Marshal(b, m, deterministic) -} -func (m *SubmitJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubmitJobRequest.Merge(m, src) -} -func (m *SubmitJobRequest) XXX_Size() int { - return xxx_messageInfo_SubmitJobRequest.Size(m) -} -func (m *SubmitJobRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SubmitJobRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SubmitJobRequest proto.InternalMessageInfo - -func (m *SubmitJobRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *SubmitJobRequest) GetRegion() string { - if m != nil { - return m.Region - } - return "" -} - -func (m *SubmitJobRequest) GetJob() *Job { - if m != nil { - return m.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 - // belongs to. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // 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 ID. - JobId string `protobuf:"bytes,2,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 *GetJobRequest) Reset() { *m = GetJobRequest{} } -func (m *GetJobRequest) String() string { return proto.CompactTextString(m) } -func (*GetJobRequest) ProtoMessage() {} -func (*GetJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_20fb118582e1d7de, []int{16} -} - -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 (m *GetJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetJobRequest.Merge(m, 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) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *GetJobRequest) GetRegion() string { - if m != nil { - return m.Region - } - return "" -} - -func (m *GetJobRequest) GetJobId() string { - if m != nil { - return m.JobId - } - return "" -} - -// A request to list jobs in a project. -type ListJobsRequest struct { - // Required. The ID of the Google Cloud Platform project that the job - // belongs to. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Required. The Cloud Dataproc region in which to handle the request. - Region string `protobuf:"bytes,6,opt,name=region,proto3" json:"region,omitempty"` - // Optional. The 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"` - // Optional. If set, the returned jobs list includes only jobs that were - // submitted to the named cluster. - ClusterName string `protobuf:"bytes,4,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` - // Optional. Specifies enumerated categories of jobs to list. - // (default = match ALL jobs). - // - // If `filter` is provided, `jobStateMatcher` will be ignored. - JobStateMatcher ListJobsRequest_JobStateMatcher `protobuf:"varint,5,opt,name=job_state_matcher,json=jobStateMatcher,proto3,enum=google.cloud.dataproc.v1beta2.ListJobsRequest_JobStateMatcher" json:"job_state_matcher,omitempty"` - // Optional. A filter constraining the jobs to list. Filters are - // case-sensitive and have the following syntax: - // - // [field = value] AND [field [= value]] ... - // - // where **field** is `status.state` or `labels.[KEY]`, and `[KEY]` is a label - // key. **value** can be `*` to match all values. - // `status.state` can be either `ACTIVE` or `NON_ACTIVE`. - // Only the logical `AND` operator is supported; space-separated items are - // treated as having an implicit `AND` operator. - // - // Example filter: - // - // status.state = ACTIVE AND labels.env = staging AND labels.starred = * - Filter string `protobuf:"bytes,7,opt,name=filter,proto3" json:"filter,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_20fb118582e1d7de, []int{17} -} - -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 (m *ListJobsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListJobsRequest.Merge(m, 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) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *ListJobsRequest) GetRegion() string { - if m != nil { - return m.Region - } - 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 "" -} - -func (m *ListJobsRequest) GetClusterName() string { - if m != nil { - return m.ClusterName - } - return "" -} - -func (m *ListJobsRequest) GetJobStateMatcher() ListJobsRequest_JobStateMatcher { - if m != nil { - return m.JobStateMatcher - } - return ListJobsRequest_ALL -} - -func (m *ListJobsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -// A request to update a job. -type UpdateJobRequest struct { - // Required. The ID of the Google Cloud Platform project that the job - // belongs to. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Required. The Cloud Dataproc region in which to handle the request. - Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"` - // Required. The job ID. - JobId string `protobuf:"bytes,3,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` - // Required. The changes to the job. - Job *Job `protobuf:"bytes,4,opt,name=job,proto3" json:"job,omitempty"` - // Required. Specifies the path, relative to Job, of - // the field to update. For example, to update the labels of a Job the - // update_mask parameter would be specified as - // labels, and the `PATCH` request body would specify the new - // value. Note: Currently, labels is the only - // field that can be updated. - UpdateMask *field_mask.FieldMask `protobuf:"bytes,5,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_20fb118582e1d7de, []int{18} -} - -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 (m *UpdateJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateJobRequest.Merge(m, 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) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *UpdateJobRequest) GetRegion() string { - if m != nil { - return m.Region - } - return "" -} - -func (m *UpdateJobRequest) GetJobId() string { - if m != nil { - return m.JobId - } - return "" -} - -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 -} - -// A list of jobs in a project. -type ListJobsResponse struct { - // 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 - // `page_token` in a subsequent ListJobsRequest. - 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_20fb118582e1d7de, []int{19} -} - -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 (m *ListJobsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListJobsResponse.Merge(m, 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 "" -} - -// A request to cancel a job. -type CancelJobRequest struct { - // Required. The ID of the Google Cloud Platform project that the job - // belongs to. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // 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 ID. - JobId string `protobuf:"bytes,2,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 *CancelJobRequest) Reset() { *m = CancelJobRequest{} } -func (m *CancelJobRequest) String() string { return proto.CompactTextString(m) } -func (*CancelJobRequest) ProtoMessage() {} -func (*CancelJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_20fb118582e1d7de, []int{20} -} - -func (m *CancelJobRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CancelJobRequest.Unmarshal(m, b) -} -func (m *CancelJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CancelJobRequest.Marshal(b, m, deterministic) -} -func (m *CancelJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CancelJobRequest.Merge(m, src) -} -func (m *CancelJobRequest) XXX_Size() int { - return xxx_messageInfo_CancelJobRequest.Size(m) -} -func (m *CancelJobRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CancelJobRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CancelJobRequest proto.InternalMessageInfo - -func (m *CancelJobRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *CancelJobRequest) GetRegion() string { - if m != nil { - return m.Region - } - return "" -} - -func (m *CancelJobRequest) GetJobId() string { - if m != nil { - return m.JobId - } - return "" -} - -// A request to delete a job. -type DeleteJobRequest struct { - // Required. The ID of the Google Cloud Platform project that the job - // belongs to. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // 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 ID. - JobId string `protobuf:"bytes,2,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 *DeleteJobRequest) Reset() { *m = DeleteJobRequest{} } -func (m *DeleteJobRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteJobRequest) ProtoMessage() {} -func (*DeleteJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_20fb118582e1d7de, []int{21} -} - -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 (m *DeleteJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteJobRequest.Merge(m, 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) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *DeleteJobRequest) GetRegion() string { - if m != nil { - return m.Region - } - return "" -} - -func (m *DeleteJobRequest) GetJobId() string { - if m != nil { - return m.JobId - } - return "" -} - -func init() { - proto.RegisterEnum("google.cloud.dataproc.v1beta2.LoggingConfig_Level", LoggingConfig_Level_name, LoggingConfig_Level_value) - proto.RegisterEnum("google.cloud.dataproc.v1beta2.JobStatus_State", JobStatus_State_name, JobStatus_State_value) - proto.RegisterEnum("google.cloud.dataproc.v1beta2.JobStatus_Substate", JobStatus_Substate_name, JobStatus_Substate_value) - proto.RegisterEnum("google.cloud.dataproc.v1beta2.YarnApplication_State", YarnApplication_State_name, YarnApplication_State_value) - proto.RegisterEnum("google.cloud.dataproc.v1beta2.ListJobsRequest_JobStateMatcher", ListJobsRequest_JobStateMatcher_name, ListJobsRequest_JobStateMatcher_value) - proto.RegisterType((*LoggingConfig)(nil), "google.cloud.dataproc.v1beta2.LoggingConfig") - proto.RegisterMapType((map[string]LoggingConfig_Level)(nil), "google.cloud.dataproc.v1beta2.LoggingConfig.DriverLogLevelsEntry") - proto.RegisterType((*HadoopJob)(nil), "google.cloud.dataproc.v1beta2.HadoopJob") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1beta2.HadoopJob.PropertiesEntry") - proto.RegisterType((*SparkJob)(nil), "google.cloud.dataproc.v1beta2.SparkJob") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1beta2.SparkJob.PropertiesEntry") - proto.RegisterType((*PySparkJob)(nil), "google.cloud.dataproc.v1beta2.PySparkJob") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1beta2.PySparkJob.PropertiesEntry") - proto.RegisterType((*QueryList)(nil), "google.cloud.dataproc.v1beta2.QueryList") - proto.RegisterType((*HiveJob)(nil), "google.cloud.dataproc.v1beta2.HiveJob") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1beta2.HiveJob.PropertiesEntry") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1beta2.HiveJob.ScriptVariablesEntry") - proto.RegisterType((*SparkSqlJob)(nil), "google.cloud.dataproc.v1beta2.SparkSqlJob") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1beta2.SparkSqlJob.PropertiesEntry") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1beta2.SparkSqlJob.ScriptVariablesEntry") - proto.RegisterType((*PigJob)(nil), "google.cloud.dataproc.v1beta2.PigJob") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1beta2.PigJob.PropertiesEntry") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1beta2.PigJob.ScriptVariablesEntry") - proto.RegisterType((*SparkRJob)(nil), "google.cloud.dataproc.v1beta2.SparkRJob") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1beta2.SparkRJob.PropertiesEntry") - proto.RegisterType((*JobPlacement)(nil), "google.cloud.dataproc.v1beta2.JobPlacement") - proto.RegisterType((*JobStatus)(nil), "google.cloud.dataproc.v1beta2.JobStatus") - proto.RegisterType((*JobReference)(nil), "google.cloud.dataproc.v1beta2.JobReference") - proto.RegisterType((*YarnApplication)(nil), "google.cloud.dataproc.v1beta2.YarnApplication") - proto.RegisterType((*Job)(nil), "google.cloud.dataproc.v1beta2.Job") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1beta2.Job.LabelsEntry") - proto.RegisterType((*JobScheduling)(nil), "google.cloud.dataproc.v1beta2.JobScheduling") - proto.RegisterType((*SubmitJobRequest)(nil), "google.cloud.dataproc.v1beta2.SubmitJobRequest") - proto.RegisterType((*GetJobRequest)(nil), "google.cloud.dataproc.v1beta2.GetJobRequest") - proto.RegisterType((*ListJobsRequest)(nil), "google.cloud.dataproc.v1beta2.ListJobsRequest") - proto.RegisterType((*UpdateJobRequest)(nil), "google.cloud.dataproc.v1beta2.UpdateJobRequest") - proto.RegisterType((*ListJobsResponse)(nil), "google.cloud.dataproc.v1beta2.ListJobsResponse") - proto.RegisterType((*CancelJobRequest)(nil), "google.cloud.dataproc.v1beta2.CancelJobRequest") - proto.RegisterType((*DeleteJobRequest)(nil), "google.cloud.dataproc.v1beta2.DeleteJobRequest") -} - -func init() { - proto.RegisterFile("google/cloud/dataproc/v1beta2/jobs.proto", fileDescriptor_20fb118582e1d7de) -} - -var fileDescriptor_20fb118582e1d7de = []byte{ - // 2550 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x5a, 0xcf, 0x93, 0x1b, 0x47, - 0xf5, 0x5f, 0xfd, 0xd6, 0x3c, 0xed, 0x8f, 0xd9, 0x8e, 0x1d, 0xeb, 0x2b, 0x7f, 0x53, 0xd9, 0x4c, - 0x15, 0x66, 0x71, 0x82, 0x54, 0x11, 0xc1, 0x49, 0xec, 0x0a, 0xb1, 0x56, 0x1a, 0x45, 0xda, 0xc8, - 0x5a, 0x65, 0x24, 0xd9, 0x24, 0x1c, 0x86, 0x91, 0xd4, 0x2b, 0x8d, 0x3c, 0x9a, 0x19, 0xf7, 0xcc, - 0xac, 0xa3, 0xa4, 0x72, 0xe1, 0xc2, 0x1f, 0xc0, 0x9d, 0x2b, 0x45, 0x15, 0xdc, 0x39, 0x71, 0xe0, - 0x42, 0xc1, 0x21, 0x54, 0x91, 0x5b, 0xb8, 0x70, 0xe0, 0xc0, 0x01, 0xaa, 0x38, 0x51, 0x45, 0x71, - 0xa1, 0xba, 0x7b, 0x66, 0x56, 0xd2, 0xae, 0xad, 0x59, 0x2f, 0x95, 0x90, 0x9c, 0x3c, 0x7a, 0xaf, - 0xdf, 0xeb, 0xf7, 0xfa, 0xf3, 0xe9, 0xd7, 0xaf, 0x7b, 0x0d, 0xfb, 0x63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, 0x31, 0xbc, 0x34, 0xb4, 0x66, 0x4f, 0x4f, 0xff, - 0x40, 0xa0, 0x5b, 0xa5, 0x43, 0x33, 0xed, 0xc4, 0x3e, 0x90, 0xfd, 0xb1, 0x63, 0xcb, 0xd0, 0xcc, - 0x71, 0xd1, 0x22, 0xe3, 0xd2, 0x18, 0x9b, 0x6c, 0x1d, 0x4a, 0xa7, 0x13, 0x3e, 0xe1, 0x7f, 0xf9, - 0xdc, 0x09, 0x04, 0x83, 0x34, 0xb3, 0xf8, 0xce, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x12, 0x5b, - 0x36, 0x2b, 0x16, 0x24, 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 - -// JobControllerClient is the client API for JobController service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type JobControllerClient interface { - // Submits a job to a cluster. - SubmitJob(ctx context.Context, in *SubmitJobRequest, opts ...grpc.CallOption) (*Job, error) - // Gets the resource representation for a job in a project. - GetJob(ctx context.Context, in *GetJobRequest, opts ...grpc.CallOption) (*Job, error) - // Lists regions/{region}/jobs in a project. - ListJobs(ctx context.Context, in *ListJobsRequest, opts ...grpc.CallOption) (*ListJobsResponse, error) - // Updates a job in a project. - UpdateJob(ctx context.Context, in *UpdateJobRequest, opts ...grpc.CallOption) (*Job, error) - // Starts a job cancellation request. To access the job resource - // after cancellation, call - // [regions/{region}/jobs.list](/dataproc/docs/reference/rest/v1beta2/projects.regions.jobs/list) - // or - // [regions/{region}/jobs.get](/dataproc/docs/reference/rest/v1beta2/projects.regions.jobs/get). - CancelJob(ctx context.Context, in *CancelJobRequest, opts ...grpc.CallOption) (*Job, error) - // Deletes the job from the project. If the job is active, the delete fails, - // and the response returns `FAILED_PRECONDITION`. - DeleteJob(ctx context.Context, in *DeleteJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) -} - -type jobControllerClient struct { - cc *grpc.ClientConn -} - -func NewJobControllerClient(cc *grpc.ClientConn) JobControllerClient { - return &jobControllerClient{cc} -} - -func (c *jobControllerClient) SubmitJob(ctx context.Context, in *SubmitJobRequest, opts ...grpc.CallOption) (*Job, error) { - out := new(Job) - err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1beta2.JobController/SubmitJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *jobControllerClient) GetJob(ctx context.Context, in *GetJobRequest, opts ...grpc.CallOption) (*Job, error) { - out := new(Job) - err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1beta2.JobController/GetJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *jobControllerClient) ListJobs(ctx context.Context, in *ListJobsRequest, opts ...grpc.CallOption) (*ListJobsResponse, error) { - out := new(ListJobsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1beta2.JobController/ListJobs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *jobControllerClient) UpdateJob(ctx context.Context, in *UpdateJobRequest, opts ...grpc.CallOption) (*Job, error) { - out := new(Job) - err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1beta2.JobController/UpdateJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *jobControllerClient) CancelJob(ctx context.Context, in *CancelJobRequest, opts ...grpc.CallOption) (*Job, error) { - out := new(Job) - err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1beta2.JobController/CancelJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *jobControllerClient) DeleteJob(ctx context.Context, in *DeleteJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1beta2.JobController/DeleteJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// JobControllerServer is the server API for JobController service. -type JobControllerServer interface { - // Submits a job to a cluster. - SubmitJob(context.Context, *SubmitJobRequest) (*Job, error) - // Gets the resource representation for a job in a project. - GetJob(context.Context, *GetJobRequest) (*Job, error) - // Lists regions/{region}/jobs in a project. - ListJobs(context.Context, *ListJobsRequest) (*ListJobsResponse, error) - // Updates a job in a project. - UpdateJob(context.Context, *UpdateJobRequest) (*Job, error) - // Starts a job cancellation request. To access the job resource - // after cancellation, call - // [regions/{region}/jobs.list](/dataproc/docs/reference/rest/v1beta2/projects.regions.jobs/list) - // or - // [regions/{region}/jobs.get](/dataproc/docs/reference/rest/v1beta2/projects.regions.jobs/get). - CancelJob(context.Context, *CancelJobRequest) (*Job, error) - // Deletes the job from the project. If the job is active, the delete fails, - // and the response returns `FAILED_PRECONDITION`. - DeleteJob(context.Context, *DeleteJobRequest) (*empty.Empty, error) -} - -// UnimplementedJobControllerServer can be embedded to have forward compatible implementations. -type UnimplementedJobControllerServer struct { -} - -func (*UnimplementedJobControllerServer) SubmitJob(ctx context.Context, req *SubmitJobRequest) (*Job, error) { - return nil, status.Errorf(codes.Unimplemented, "method SubmitJob not implemented") -} -func (*UnimplementedJobControllerServer) GetJob(ctx context.Context, req *GetJobRequest) (*Job, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetJob not implemented") -} -func (*UnimplementedJobControllerServer) ListJobs(ctx context.Context, req *ListJobsRequest) (*ListJobsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListJobs not implemented") -} -func (*UnimplementedJobControllerServer) UpdateJob(ctx context.Context, req *UpdateJobRequest) (*Job, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateJob not implemented") -} -func (*UnimplementedJobControllerServer) CancelJob(ctx context.Context, req *CancelJobRequest) (*Job, error) { - return nil, status.Errorf(codes.Unimplemented, "method CancelJob not implemented") -} -func (*UnimplementedJobControllerServer) DeleteJob(ctx context.Context, req *DeleteJobRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteJob not implemented") -} - -func RegisterJobControllerServer(s *grpc.Server, srv JobControllerServer) { - s.RegisterService(&_JobController_serviceDesc, srv) -} - -func _JobController_SubmitJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SubmitJobRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(JobControllerServer).SubmitJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dataproc.v1beta2.JobController/SubmitJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(JobControllerServer).SubmitJob(ctx, req.(*SubmitJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _JobController_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.(JobControllerServer).GetJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dataproc.v1beta2.JobController/GetJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(JobControllerServer).GetJob(ctx, req.(*GetJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _JobController_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.(JobControllerServer).ListJobs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dataproc.v1beta2.JobController/ListJobs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(JobControllerServer).ListJobs(ctx, req.(*ListJobsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _JobController_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.(JobControllerServer).UpdateJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dataproc.v1beta2.JobController/UpdateJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(JobControllerServer).UpdateJob(ctx, req.(*UpdateJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _JobController_CancelJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CancelJobRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(JobControllerServer).CancelJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dataproc.v1beta2.JobController/CancelJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(JobControllerServer).CancelJob(ctx, req.(*CancelJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _JobController_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.(JobControllerServer).DeleteJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dataproc.v1beta2.JobController/DeleteJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(JobControllerServer).DeleteJob(ctx, req.(*DeleteJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _JobController_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.dataproc.v1beta2.JobController", - HandlerType: (*JobControllerServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "SubmitJob", - Handler: _JobController_SubmitJob_Handler, - }, - { - MethodName: "GetJob", - Handler: _JobController_GetJob_Handler, - }, - { - MethodName: "ListJobs", - Handler: _JobController_ListJobs_Handler, - }, - { - MethodName: "UpdateJob", - Handler: _JobController_UpdateJob_Handler, - }, - { - MethodName: "CancelJob", - Handler: _JobController_CancelJob_Handler, - }, - { - MethodName: "DeleteJob", - Handler: _JobController_DeleteJob_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/dataproc/v1beta2/jobs.proto", -} 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 deleted file mode 100644 index 8998c178..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/operations.pb.go +++ /dev/null @@ -1,281 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/dataproc/v1beta2/operations.proto - -package dataproc - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The operation state. -type ClusterOperationStatus_State int32 - -const ( - // Unused. - ClusterOperationStatus_UNKNOWN ClusterOperationStatus_State = 0 - // The operation has been created. - ClusterOperationStatus_PENDING ClusterOperationStatus_State = 1 - // The operation is running. - ClusterOperationStatus_RUNNING ClusterOperationStatus_State = 2 - // The operation is done; either cancelled or completed. - ClusterOperationStatus_DONE ClusterOperationStatus_State = 3 -) - -var ClusterOperationStatus_State_name = map[int32]string{ - 0: "UNKNOWN", - 1: "PENDING", - 2: "RUNNING", - 3: "DONE", -} - -var ClusterOperationStatus_State_value = map[string]int32{ - "UNKNOWN": 0, - "PENDING": 1, - "RUNNING": 2, - "DONE": 3, -} - -func (x ClusterOperationStatus_State) String() string { - return proto.EnumName(ClusterOperationStatus_State_name, int32(x)) -} - -func (ClusterOperationStatus_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e6e7a565fff113fd, []int{0, 0} -} - -// The status of the operation. -type ClusterOperationStatus struct { - // Output only. A message containing the operation state. - State ClusterOperationStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.dataproc.v1beta2.ClusterOperationStatus_State" json:"state,omitempty"` - // 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. - Details string `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"` - // 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:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e6e7a565fff113fd, []int{0} -} - -func (m *ClusterOperationStatus) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClusterOperationStatus.Unmarshal(m, b) -} -func (m *ClusterOperationStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClusterOperationStatus.Marshal(b, m, deterministic) -} -func (m *ClusterOperationStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClusterOperationStatus.Merge(m, src) -} -func (m *ClusterOperationStatus) XXX_Size() int { - return xxx_messageInfo_ClusterOperationStatus.Size(m) -} -func (m *ClusterOperationStatus) XXX_DiscardUnknown() { - xxx_messageInfo_ClusterOperationStatus.DiscardUnknown(m) -} - -var xxx_messageInfo_ClusterOperationStatus proto.InternalMessageInfo - -func (m *ClusterOperationStatus) GetState() ClusterOperationStatus_State { - if m != nil { - return m.State - } - return ClusterOperationStatus_UNKNOWN -} - -func (m *ClusterOperationStatus) GetInnerState() string { - if m != nil { - return m.InnerState - } - return "" -} - -func (m *ClusterOperationStatus) GetDetails() string { - if m != nil { - return m.Details - } - return "" -} - -func (m *ClusterOperationStatus) GetStateStartTime() *timestamp.Timestamp { - if m != nil { - return m.StateStartTime - } - return nil -} - -// Metadata describing the operation. -type ClusterOperationMetadata struct { - // 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. - ClusterUuid string `protobuf:"bytes,8,opt,name=cluster_uuid,json=clusterUuid,proto3" json:"cluster_uuid,omitempty"` - // Output only. Current operation status. - Status *ClusterOperationStatus `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty"` - // 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. - OperationType string `protobuf:"bytes,11,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"` - // 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 - 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. - Warnings []string `protobuf:"bytes,14,rep,name=warnings,proto3" json:"warnings,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ClusterOperationMetadata) Reset() { *m = ClusterOperationMetadata{} } -func (m *ClusterOperationMetadata) String() string { return proto.CompactTextString(m) } -func (*ClusterOperationMetadata) ProtoMessage() {} -func (*ClusterOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_e6e7a565fff113fd, []int{1} -} - -func (m *ClusterOperationMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClusterOperationMetadata.Unmarshal(m, b) -} -func (m *ClusterOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClusterOperationMetadata.Marshal(b, m, deterministic) -} -func (m *ClusterOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClusterOperationMetadata.Merge(m, src) -} -func (m *ClusterOperationMetadata) XXX_Size() int { - return xxx_messageInfo_ClusterOperationMetadata.Size(m) -} -func (m *ClusterOperationMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_ClusterOperationMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_ClusterOperationMetadata proto.InternalMessageInfo - -func (m *ClusterOperationMetadata) GetClusterName() string { - if m != nil { - return m.ClusterName - } - return "" -} - -func (m *ClusterOperationMetadata) GetClusterUuid() string { - if m != nil { - return m.ClusterUuid - } - return "" -} - -func (m *ClusterOperationMetadata) GetStatus() *ClusterOperationStatus { - if m != nil { - return m.Status - } - return nil -} - -func (m *ClusterOperationMetadata) GetStatusHistory() []*ClusterOperationStatus { - if m != nil { - return m.StatusHistory - } - return nil -} - -func (m *ClusterOperationMetadata) GetOperationType() string { - if m != nil { - return m.OperationType - } - return "" -} - -func (m *ClusterOperationMetadata) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *ClusterOperationMetadata) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -func (m *ClusterOperationMetadata) GetWarnings() []string { - if m != nil { - return m.Warnings - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.dataproc.v1beta2.ClusterOperationStatus_State", ClusterOperationStatus_State_name, ClusterOperationStatus_State_value) - proto.RegisterType((*ClusterOperationStatus)(nil), "google.cloud.dataproc.v1beta2.ClusterOperationStatus") - proto.RegisterType((*ClusterOperationMetadata)(nil), "google.cloud.dataproc.v1beta2.ClusterOperationMetadata") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1beta2.ClusterOperationMetadata.LabelsEntry") -} - -func init() { - proto.RegisterFile("google/cloud/dataproc/v1beta2/operations.proto", fileDescriptor_e6e7a565fff113fd) -} - -var fileDescriptor_e6e7a565fff113fd = []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, - 0x94, 0x60, 0x45, 0x58, 0xdd, 0xb7, 0xdd, 0x16, 0x15, 0xdd, 0xb4, 0x66, 0xb7, 0x08, 0x2a, 0x94, - 0x69, 0x33, 0xc6, 0x60, 0x3a, 0x13, 0x66, 0x26, 0x2b, 0x7d, 0xf0, 0x0b, 0xf8, 0x41, 0xfc, 0x9c, - 0x32, 0x33, 0x49, 0xa9, 0xa2, 0x0b, 0xee, 0x53, 0xe7, 0x9e, 0x39, 0xe7, 0xcc, 0xb9, 0xb7, 0x97, - 0x80, 0x9f, 0x70, 0x9e, 0x64, 0x34, 0xd8, 0x64, 0xbc, 0x88, 0x83, 0x98, 0x28, 0x92, 0x0b, 0xbe, - 0x09, 0x6e, 0x1e, 0xaf, 0xa9, 0x22, 0x93, 0x80, 0xe7, 0x54, 0x10, 0x95, 0x72, 0x26, 0xfd, 0x5c, - 0x70, 0xc5, 0xd1, 0x43, 0xcb, 0xf7, 0x0d, 0xdf, 0xaf, 0xf8, 0x7e, 0xc9, 0x1f, 0x1e, 0x97, 0x76, - 0x86, 0xbc, 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0x56, 0x2a, - 0x12, 0x9e, 0x11, 0x96, 0xf8, 0x5c, 0x24, 0x41, 0x42, 0x99, 0xd9, 0xdb, 0xc0, 0x5e, 0x91, 0x3c, - 0x95, 0x7f, 0xf9, 0x34, 0x9c, 0x55, 0xc0, 0xba, 0x65, 0x14, 0x4f, 0x7e, 0x06, 0x00, 0x00, 0xff, - 0xff, 0xaf, 0x94, 0xc4, 0x36, 0x4b, 0x04, 0x00, 0x00, -} 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 deleted file mode 100644 index 5232a773..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/shared.pb.go +++ /dev/null @@ -1,110 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/dataproc/v1beta2/shared.proto - -package dataproc - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Cluster components that can be activated. -type Component int32 - -const ( - // Unspecified component. - Component_COMPONENT_UNSPECIFIED Component = 0 - // The Anaconda python distribution. - Component_ANACONDA Component = 5 - // The Druid query engine. - Component_DRUID Component = 9 - // The Hive Web HCatalog (the REST service for accessing HCatalog). - Component_HIVE_WEBHCAT Component = 3 - // The Jupyter Notebook. - Component_JUPYTER Component = 1 - // The Kerberos security feature. - Component_KERBEROS Component = 7 - // The Presto query engine. - Component_PRESTO Component = 6 - // The Zeppelin notebook. - Component_ZEPPELIN Component = 4 - // The Zookeeper service. - Component_ZOOKEEPER Component = 8 -) - -var Component_name = map[int32]string{ - 0: "COMPONENT_UNSPECIFIED", - 5: "ANACONDA", - 9: "DRUID", - 3: "HIVE_WEBHCAT", - 1: "JUPYTER", - 7: "KERBEROS", - 6: "PRESTO", - 4: "ZEPPELIN", - 8: "ZOOKEEPER", -} - -var Component_value = map[string]int32{ - "COMPONENT_UNSPECIFIED": 0, - "ANACONDA": 5, - "DRUID": 9, - "HIVE_WEBHCAT": 3, - "JUPYTER": 1, - "KERBEROS": 7, - "PRESTO": 6, - "ZEPPELIN": 4, - "ZOOKEEPER": 8, -} - -func (x Component) String() string { - return proto.EnumName(Component_name, int32(x)) -} - -func (Component) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2474c85b30841989, []int{0} -} - -func init() { - proto.RegisterEnum("google.cloud.dataproc.v1beta2.Component", Component_name, Component_value) -} - -func init() { - proto.RegisterFile("google/cloud/dataproc/v1beta2/shared.proto", fileDescriptor_2474c85b30841989) -} - -var fileDescriptor_2474c85b30841989 = []byte{ - // 293 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x4d, 0x4f, 0x32, 0x31, - 0x14, 0x85, 0x5f, 0xf2, 0xca, 0xc7, 0x14, 0x4c, 0x9a, 0x26, 0x2e, 0x34, 0xba, 0x70, 0xcb, 0x62, - 0x1a, 0x75, 0xe9, 0x6a, 0x3e, 0xae, 0x61, 0x44, 0xdb, 0xa6, 0x33, 0x68, 0x64, 0x43, 0x0a, 0x4c, - 0x2a, 0x09, 0xf4, 0x4e, 0x86, 0x6a, 0xe2, 0x0f, 0xf1, 0xff, 0x1a, 0x06, 0x58, 0xea, 0xf6, 0x9e, - 0xe7, 0xdc, 0xe4, 0x39, 0x64, 0x68, 0x11, 0xed, 0xba, 0xe4, 0x8b, 0x35, 0x7e, 0x2c, 0xf9, 0xd2, - 0x78, 0x53, 0xd5, 0xb8, 0xe0, 0x9f, 0x37, 0xf3, 0xd2, 0x9b, 0x5b, 0xbe, 0x7d, 0x37, 0x75, 0xb9, - 0x0c, 0xab, 0x1a, 0x3d, 0xb2, 0xab, 0x3d, 0x1b, 0x36, 0x6c, 0x78, 0x64, 0xc3, 0x03, 0x7b, 0x71, - 0x79, 0x78, 0x65, 0xaa, 0x15, 0x37, 0xce, 0xa1, 0x37, 0x7e, 0x85, 0x6e, 0xbb, 0x2f, 0x0f, 0xbf, - 0x5b, 0x24, 0x48, 0x70, 0x53, 0xa1, 0x2b, 0x9d, 0x67, 0xe7, 0xe4, 0x2c, 0x91, 0xcf, 0x4a, 0x0a, - 0x10, 0xc5, 0x6c, 0x22, 0x72, 0x05, 0x49, 0xf6, 0x90, 0x41, 0x4a, 0xff, 0xb1, 0x01, 0xe9, 0x45, - 0x22, 0x4a, 0xa4, 0x48, 0x23, 0xda, 0x66, 0x01, 0x69, 0xa7, 0x7a, 0x92, 0xa5, 0x34, 0x60, 0x94, - 0x0c, 0x46, 0xd9, 0x0b, 0xcc, 0x5e, 0x21, 0x1e, 0x25, 0x51, 0x41, 0xff, 0xb3, 0x3e, 0xe9, 0x3e, - 0x4e, 0xd4, 0x5b, 0x01, 0x9a, 0xb6, 0x76, 0xbd, 0x31, 0xe8, 0x18, 0xb4, 0xcc, 0x69, 0x97, 0x11, - 0xd2, 0x51, 0x1a, 0xf2, 0x42, 0xd2, 0xce, 0x2e, 0x99, 0x82, 0x52, 0xf0, 0x94, 0x09, 0x7a, 0xc2, - 0x4e, 0x49, 0x30, 0x95, 0x72, 0x0c, 0xa0, 0x40, 0xd3, 0x5e, 0xfc, 0x45, 0xae, 0x17, 0xb8, 0x09, - 0xff, 0x54, 0x8b, 0xfb, 0x79, 0xb3, 0x83, 0xda, 0x99, 0xa8, 0xd6, 0x14, 0x0e, 0xb4, 0xc5, 0xb5, - 0x71, 0x36, 0xc4, 0xda, 0x72, 0x5b, 0xba, 0xc6, 0x93, 0xef, 0x23, 0x53, 0xad, 0xb6, 0xbf, 0x6c, - 0x7a, 0x7f, 0x3c, 0xcc, 0x3b, 0x4d, 0xe3, 0xee, 0x27, 0x00, 0x00, 0xff, 0xff, 0xab, 0x0b, 0x45, - 0x10, 0x84, 0x01, 0x00, 0x00, -} 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 deleted file mode 100644 index 87517b1a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2/workflow_templates.pb.go +++ /dev/null @@ -1,2408 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/dataproc/v1beta2/workflow_templates.proto - -package dataproc - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // 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_49d658bedf9bdbee, []int{9, 0} -} - -// The workflow node state. -type WorkflowNode_NodeState int32 - -const ( - // State is unspecified. - WorkflowNode_NODE_STATUS_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_STATUS_UNSPECIFIED", - 1: "BLOCKED", - 2: "RUNNABLE", - 3: "RUNNING", - 4: "COMPLETED", - 5: "FAILED", -} - -var WorkflowNode_NodeState_value = map[string]int32{ - "NODE_STATUS_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_49d658bedf9bdbee, []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 workflow template, as described - // in https://cloud.google.com/apis/design/resource_names. - // - // * For `projects.regions.workflowTemplates`, the resource name of the - // template has the following format: - // `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}` - // - // * For `projects.locations.workflowTemplates`, the resource name of the - // template has the following format: - // `projects/{project_id}/locations/{location}/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_49d658bedf9bdbee, []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 (m *WorkflowTemplate) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowTemplate.Merge(m, 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_49d658bedf9bdbee, []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 (m *WorkflowTemplatePlacement) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowTemplatePlacement.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*WorkflowTemplatePlacement) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*WorkflowTemplatePlacement_ManagedCluster)(nil), - (*WorkflowTemplatePlacement_ClusterSelector)(nil), - } -} - -// 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_49d658bedf9bdbee, []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 (m *ManagedCluster) XXX_Merge(src proto.Message) { - xxx_messageInfo_ManagedCluster.Merge(m, 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_49d658bedf9bdbee, []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 (m *ClusterSelector) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClusterSelector.Merge(m, 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.v1beta2.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_49d658bedf9bdbee, []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 (m *OrderedJob) XXX_Merge(src proto.Message) { - xxx_messageInfo_OrderedJob.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*OrderedJob) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*OrderedJob_HadoopJob)(nil), - (*OrderedJob_SparkJob)(nil), - (*OrderedJob_PysparkJob)(nil), - (*OrderedJob_HiveJob)(nil), - (*OrderedJob_PigJob)(nil), - (*OrderedJob_SparkSqlJob)(nil), - } -} - -// 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_49d658bedf9bdbee, []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 (m *TemplateParameter) XXX_Merge(src proto.Message) { - xxx_messageInfo_TemplateParameter.Merge(m, 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_49d658bedf9bdbee, []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 (m *ParameterValidation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ParameterValidation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*ParameterValidation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ParameterValidation_Regex)(nil), - (*ParameterValidation_Values)(nil), - } -} - -// 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_49d658bedf9bdbee, []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 (m *RegexValidation) XXX_Merge(src proto.Message) { - xxx_messageInfo_RegexValidation.Merge(m, 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_49d658bedf9bdbee, []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 (m *ValueValidation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValueValidation.Merge(m, 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 workflow template as described - // in https://cloud.google.com/apis/design/resource_names. - // - // * For `projects.regions.workflowTemplates`, the resource name of the - // template has the following format: - // `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}` - // - // * For `projects.locations.workflowTemplates`, the resource name of the - // template has the following format: - // `projects/{project_id}/locations/{location}/workflowTemplates/{template_id}` - 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.v1beta2.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_49d658bedf9bdbee, []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 (m *WorkflowMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowMetadata.Merge(m, 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_49d658bedf9bdbee, []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 (m *ClusterOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClusterOperation.Merge(m, 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_49d658bedf9bdbee, []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 (m *WorkflowGraph) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowGraph.Merge(m, 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.v1beta2.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_49d658bedf9bdbee, []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 (m *WorkflowNode) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkflowNode.Merge(m, 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_STATUS_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 or location, as described - // in https://cloud.google.com/apis/design/resource_names. - // - // * For `projects.regions.workflowTemplates,create`, the resource name of the - // region has the following format: - // `projects/{project_id}/regions/{region}` - // - // * For `projects.locations.workflowTemplates.create`, the resource name of - // the location has the following format: - // `projects/{project_id}/locations/{location}` - 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_49d658bedf9bdbee, []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 (m *CreateWorkflowTemplateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateWorkflowTemplateRequest.Merge(m, 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. - // - // * For `projects.regions.workflowTemplates.get`, the resource name of the - // template has the following format: - // `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}` - // - // * For `projects.locations.workflowTemplates.get`, the resource name of the - // template has the following format: - // `projects/{project_id}/locations/{location}/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 - // instantiated 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_49d658bedf9bdbee, []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 (m *GetWorkflowTemplateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetWorkflowTemplateRequest.Merge(m, 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. - // - // * For `projects.regions.workflowTemplates.instantiate`, the resource name - // of the template has the following format: - // `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}` - // - // * For `projects.locations.workflowTemplates.instantiate`, the resource name - // of the template has the following format: - // `projects/{project_id}/locations/{location}/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"` - // 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. - // - // 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,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_49d658bedf9bdbee, []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 (m *InstantiateWorkflowTemplateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_InstantiateWorkflowTemplateRequest.Merge(m, 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 -} - -// Deprecated: Do not use. -func (m *InstantiateWorkflowTemplateRequest) GetInstanceId() string { - if m != nil { - return m.InstanceId - } - 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 region or location, as described - // in https://cloud.google.com/apis/design/resource_names. - // - // * For `projects.regions.workflowTemplates,instantiateinline`, the resource - // name of the region has the following format: - // `projects/{project_id}/regions/{region}` - // - // * For `projects.locations.workflowTemplates.instantiateinline`, the - // resource name of the location has the following format: - // `projects/{project_id}/locations/{location}` - 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. - // - // 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,4,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_49d658bedf9bdbee, []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 (m *InstantiateInlineWorkflowTemplateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_InstantiateInlineWorkflowTemplateRequest.Merge(m, 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) GetInstanceId() string { - if m != nil { - return m.InstanceId - } - 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. - // - // 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_49d658bedf9bdbee, []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 (m *UpdateWorkflowTemplateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateWorkflowTemplateRequest.Merge(m, 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 or location, as described - // in https://cloud.google.com/apis/design/resource_names. - // - // * For `projects.regions.workflowTemplates,list`, the resource - // name of the region has the following format: - // `projects/{project_id}/regions/{region}` - // - // * For `projects.locations.workflowTemplates.list`, the - // resource name of the location has the following format: - // `projects/{project_id}/locations/{location}` - 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_49d658bedf9bdbee, []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 (m *ListWorkflowTemplatesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListWorkflowTemplatesRequest.Merge(m, 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_49d658bedf9bdbee, []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 (m *ListWorkflowTemplatesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListWorkflowTemplatesResponse.Merge(m, 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. - // - // * For `projects.regions.workflowTemplates.delete`, the resource name - // of the template has the following format: - // `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}` - // - // * For `projects.locations.workflowTemplates.instantiate`, the resource name - // of the template has the following format: - // `projects/{project_id}/locations/{location}/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_49d658bedf9bdbee, []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 (m *DeleteWorkflowTemplateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteWorkflowTemplateRequest.Merge(m, 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.RegisterEnum("google.cloud.dataproc.v1beta2.WorkflowMetadata_State", WorkflowMetadata_State_name, WorkflowMetadata_State_value) - proto.RegisterEnum("google.cloud.dataproc.v1beta2.WorkflowNode_NodeState", WorkflowNode_NodeState_name, WorkflowNode_NodeState_value) - proto.RegisterType((*WorkflowTemplate)(nil), "google.cloud.dataproc.v1beta2.WorkflowTemplate") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1beta2.WorkflowTemplate.LabelsEntry") - proto.RegisterType((*WorkflowTemplatePlacement)(nil), "google.cloud.dataproc.v1beta2.WorkflowTemplatePlacement") - proto.RegisterType((*ManagedCluster)(nil), "google.cloud.dataproc.v1beta2.ManagedCluster") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1beta2.ManagedCluster.LabelsEntry") - proto.RegisterType((*ClusterSelector)(nil), "google.cloud.dataproc.v1beta2.ClusterSelector") - 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") - proto.RegisterType((*WorkflowGraph)(nil), "google.cloud.dataproc.v1beta2.WorkflowGraph") - proto.RegisterType((*WorkflowNode)(nil), "google.cloud.dataproc.v1beta2.WorkflowNode") - 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") - proto.RegisterType((*ListWorkflowTemplatesResponse)(nil), "google.cloud.dataproc.v1beta2.ListWorkflowTemplatesResponse") - proto.RegisterType((*DeleteWorkflowTemplateRequest)(nil), "google.cloud.dataproc.v1beta2.DeleteWorkflowTemplateRequest") -} - -func init() { - proto.RegisterFile("google/cloud/dataproc/v1beta2/workflow_templates.proto", fileDescriptor_49d658bedf9bdbee) -} - -var fileDescriptor_49d658bedf9bdbee = []byte{ - // 2328 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x5a, 0xcf, 0x6f, 0xdb, 0xc8, - 0x15, 0x0e, 0x29, 0x4b, 0x96, 0x9e, 0xd6, 0xb1, 0x32, 0x69, 0x6c, 0x45, 0x89, 0x11, 0x87, 0x8b, - 0x6e, 0x1d, 0x27, 0x2b, 0x6d, 0x5d, 0xb4, 0xcd, 0x7a, 0x93, 0x36, 0xb2, 0x25, 0xc7, 0x4a, 0x1c, - 0x59, 0x4b, 0xd9, 0xc9, 0x22, 0x7b, 0x10, 0x28, 0x71, 0x22, 0x33, 0xa1, 0x48, 0x86, 0xa4, 0xec, - 0x38, 0x69, 0x50, 0xa0, 0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0x83, 0x83, 0x83, 0x70, 0x21, 0xa4, 0x74, 0xdd, 0x3d, 0xf6, - 0xab, 0xfc, 0xbb, 0x84, 0xed, 0x91, 0x69, 0x77, 0xd6, 0x3e, 0x11, 0xe0, 0x72, 0xcb, 0xec, 0x8c, - 0x16, 0x6c, 0x6d, 0x6e, 0xc0, 0x21, 0x6a, 0x44, 0x9b, 0x9a, 0xf0, 0xb0, 0xcc, 0x81, 0x6d, 0x53, - 0x57, 0x8c, 0x76, 0xde, 0xb4, 0xdb, 0x85, 0x36, 0x36, 0xa8, 0x72, 0x85, 0xde, 0xeb, 0x8f, 0xf8, - 0x5b, 0x80, 0x0f, 0xbc, 0x8e, 0x66, 0x82, 0x22, 0xbe, 0xf5, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, - 0x16, 0xb1, 0xa3, 0x05, 0x34, 0x21, 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 - -// 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](/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#workflowmetadata). - // Also see [Using - // WorkflowMetadata](/dataproc/docs/concepts/workflows/debugging#using_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.v1beta2.WorkflowTemplateService.CreateWorkflowTemplate], [InstantiateWorkflowTemplate][google.cloud.dataproc.v1beta2.WorkflowTemplateService.InstantiateWorkflowTemplate], - // [DeleteWorkflowTemplate][google.cloud.dataproc.v1beta2.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](/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#workflowmetadata). - // Also see [Using - // WorkflowMetadata](/dataproc/docs/concepts/workflows/debugging#using_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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.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](/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#workflowmetadata). - // Also see [Using - // WorkflowMetadata](/dataproc/docs/concepts/workflows/debugging#using_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.v1beta2.WorkflowTemplateService.CreateWorkflowTemplate], [InstantiateWorkflowTemplate][google.cloud.dataproc.v1beta2.WorkflowTemplateService.InstantiateWorkflowTemplate], - // [DeleteWorkflowTemplate][google.cloud.dataproc.v1beta2.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](/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#workflowmetadata). - // Also see [Using - // WorkflowMetadata](/dataproc/docs/concepts/workflows/debugging#using_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) -} - -// UnimplementedWorkflowTemplateServiceServer can be embedded to have forward compatible implementations. -type UnimplementedWorkflowTemplateServiceServer struct { -} - -func (*UnimplementedWorkflowTemplateServiceServer) CreateWorkflowTemplate(ctx context.Context, req *CreateWorkflowTemplateRequest) (*WorkflowTemplate, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateWorkflowTemplate not implemented") -} -func (*UnimplementedWorkflowTemplateServiceServer) GetWorkflowTemplate(ctx context.Context, req *GetWorkflowTemplateRequest) (*WorkflowTemplate, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetWorkflowTemplate not implemented") -} -func (*UnimplementedWorkflowTemplateServiceServer) InstantiateWorkflowTemplate(ctx context.Context, req *InstantiateWorkflowTemplateRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method InstantiateWorkflowTemplate not implemented") -} -func (*UnimplementedWorkflowTemplateServiceServer) InstantiateInlineWorkflowTemplate(ctx context.Context, req *InstantiateInlineWorkflowTemplateRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method InstantiateInlineWorkflowTemplate not implemented") -} -func (*UnimplementedWorkflowTemplateServiceServer) UpdateWorkflowTemplate(ctx context.Context, req *UpdateWorkflowTemplateRequest) (*WorkflowTemplate, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateWorkflowTemplate not implemented") -} -func (*UnimplementedWorkflowTemplateServiceServer) ListWorkflowTemplates(ctx context.Context, req *ListWorkflowTemplatesRequest) (*ListWorkflowTemplatesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListWorkflowTemplates not implemented") -} -func (*UnimplementedWorkflowTemplateServiceServer) DeleteWorkflowTemplate(ctx context.Context, req *DeleteWorkflowTemplateRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteWorkflowTemplate not implemented") -} - -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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.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/v1beta2/workflow_templates.proto", -} 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 deleted file mode 100644 index 75bf3b72..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/agent.pb.go +++ /dev/null @@ -1,1413 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/dialogflow/v2/agent.proto - -package dialogflow - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Match mode determines how intents are detected from user queries. -type Agent_MatchMode int32 - -const ( - // Not specified. - Agent_MATCH_MODE_UNSPECIFIED Agent_MatchMode = 0 - // Best for agents with a small number of examples in intents and/or wide - // use of templates syntax and composite entities. - Agent_MATCH_MODE_HYBRID Agent_MatchMode = 1 - // Can be used for agents with a large number of examples in intents, - // especially the ones using @sys.any or very large developer entities. - Agent_MATCH_MODE_ML_ONLY Agent_MatchMode = 2 -) - -var Agent_MatchMode_name = map[int32]string{ - 0: "MATCH_MODE_UNSPECIFIED", - 1: "MATCH_MODE_HYBRID", - 2: "MATCH_MODE_ML_ONLY", -} - -var Agent_MatchMode_value = map[string]int32{ - "MATCH_MODE_UNSPECIFIED": 0, - "MATCH_MODE_HYBRID": 1, - "MATCH_MODE_ML_ONLY": 2, -} - -func (x Agent_MatchMode) String() string { - return proto.EnumName(Agent_MatchMode_name, int32(x)) -} - -func (Agent_MatchMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_59198d2091110e70, []int{0, 0} -} - -// API version for the agent. -type Agent_ApiVersion int32 - -const ( - // Not specified. - Agent_API_VERSION_UNSPECIFIED Agent_ApiVersion = 0 - // Legacy V1 API. - Agent_API_VERSION_V1 Agent_ApiVersion = 1 - // V2 API. - Agent_API_VERSION_V2 Agent_ApiVersion = 2 - // V2beta1 API. - Agent_API_VERSION_V2_BETA_1 Agent_ApiVersion = 3 -) - -var Agent_ApiVersion_name = map[int32]string{ - 0: "API_VERSION_UNSPECIFIED", - 1: "API_VERSION_V1", - 2: "API_VERSION_V2", - 3: "API_VERSION_V2_BETA_1", -} - -var Agent_ApiVersion_value = map[string]int32{ - "API_VERSION_UNSPECIFIED": 0, - "API_VERSION_V1": 1, - "API_VERSION_V2": 2, - "API_VERSION_V2_BETA_1": 3, -} - -func (x Agent_ApiVersion) String() string { - return proto.EnumName(Agent_ApiVersion_name, int32(x)) -} - -func (Agent_ApiVersion) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_59198d2091110e70, []int{0, 1} -} - -// Represents the agent tier. -type Agent_Tier int32 - -const ( - // Not specified. This value should never be used. - Agent_TIER_UNSPECIFIED Agent_Tier = 0 - // Standard tier. - Agent_TIER_STANDARD Agent_Tier = 1 - // Enterprise tier (Essentials). - Agent_TIER_ENTERPRISE Agent_Tier = 2 - // Enterprise tier (Plus). - Agent_TIER_ENTERPRISE_PLUS Agent_Tier = 3 -) - -var Agent_Tier_name = map[int32]string{ - 0: "TIER_UNSPECIFIED", - 1: "TIER_STANDARD", - 2: "TIER_ENTERPRISE", - 3: "TIER_ENTERPRISE_PLUS", -} - -var Agent_Tier_value = map[string]int32{ - "TIER_UNSPECIFIED": 0, - "TIER_STANDARD": 1, - "TIER_ENTERPRISE": 2, - "TIER_ENTERPRISE_PLUS": 3, -} - -func (x Agent_Tier) String() string { - return proto.EnumName(Agent_Tier_name, int32(x)) -} - -func (Agent_Tier) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_59198d2091110e70, []int{0, 2} -} - -// Represents a conversational agent. -type Agent struct { - // Required. The project of this agent. - // Format: `projects/`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The name of this agent. - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Required. The default language of the agent as a language tag. See - // [Language - // Support](https://cloud.google.com/dialogflow/docs/reference/language) - // for a list of the currently supported language codes. This field cannot be - // set by the `Update` method. - DefaultLanguageCode string `protobuf:"bytes,3,opt,name=default_language_code,json=defaultLanguageCode,proto3" json:"default_language_code,omitempty"` - // Optional. The list of all languages supported by this agent (except for the - // `default_language_code`). - SupportedLanguageCodes []string `protobuf:"bytes,4,rep,name=supported_language_codes,json=supportedLanguageCodes,proto3" json:"supported_language_codes,omitempty"` - // Required. The time zone of this agent from the - // [time zone database](https://www.iana.org/time-zones), e.g., - // America/New_York, Europe/Paris. - TimeZone string `protobuf:"bytes,5,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"` - // Optional. The description of this agent. - // The maximum length is 500 characters. If exceeded, the request is rejected. - Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` - // Optional. The URI of the agent's avatar. - // Avatars are used throughout the Dialogflow console and in the self-hosted - // [Web - // Demo](https://cloud.google.com/dialogflow/docs/integrations/web-demo) - // integration. - AvatarUri string `protobuf:"bytes,7,opt,name=avatar_uri,json=avatarUri,proto3" json:"avatar_uri,omitempty"` - // Optional. Determines whether this agent should log conversation queries. - EnableLogging bool `protobuf:"varint,8,opt,name=enable_logging,json=enableLogging,proto3" json:"enable_logging,omitempty"` - // Optional. Determines how intents are detected from user queries. - MatchMode Agent_MatchMode `protobuf:"varint,9,opt,name=match_mode,json=matchMode,proto3,enum=google.cloud.dialogflow.v2.Agent_MatchMode" json:"match_mode,omitempty"` - // Optional. To filter out false positive results and still get variety in - // matched natural language inputs for your agent, you can tune the machine - // learning classification threshold. If the returned score value is less than - // the threshold value, then a fallback intent will be triggered or, if there - // are no fallback intents defined, no intent will be triggered. The score - // values range from 0.0 (completely uncertain) to 1.0 (completely certain). - // If set to 0.0, the default of 0.3 is used. - ClassificationThreshold float32 `protobuf:"fixed32,10,opt,name=classification_threshold,json=classificationThreshold,proto3" json:"classification_threshold,omitempty"` - // Optional. API version displayed in Dialogflow console. If not specified, - // V2 API is assumed. Clients are free to query different service endpoints - // for different API versions. However, bots connectors and webhook calls will - // follow the specified API version. - ApiVersion Agent_ApiVersion `protobuf:"varint,14,opt,name=api_version,json=apiVersion,proto3,enum=google.cloud.dialogflow.v2.Agent_ApiVersion" json:"api_version,omitempty"` - // Optional. The agent tier. If not specified, TIER_STANDARD is assumed. - Tier Agent_Tier `protobuf:"varint,15,opt,name=tier,proto3,enum=google.cloud.dialogflow.v2.Agent_Tier" json:"tier,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_59198d2091110e70, []int{0} -} - -func (m *Agent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Agent.Unmarshal(m, b) -} -func (m *Agent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Agent.Marshal(b, m, deterministic) -} -func (m *Agent) XXX_Merge(src proto.Message) { - xxx_messageInfo_Agent.Merge(m, src) -} -func (m *Agent) XXX_Size() int { - return xxx_messageInfo_Agent.Size(m) -} -func (m *Agent) XXX_DiscardUnknown() { - xxx_messageInfo_Agent.DiscardUnknown(m) -} - -var xxx_messageInfo_Agent proto.InternalMessageInfo - -func (m *Agent) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *Agent) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *Agent) GetDefaultLanguageCode() string { - if m != nil { - return m.DefaultLanguageCode - } - return "" -} - -func (m *Agent) GetSupportedLanguageCodes() []string { - if m != nil { - return m.SupportedLanguageCodes - } - return nil -} - -func (m *Agent) GetTimeZone() string { - if m != nil { - return m.TimeZone - } - return "" -} - -func (m *Agent) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *Agent) GetAvatarUri() string { - if m != nil { - return m.AvatarUri - } - return "" -} - -func (m *Agent) GetEnableLogging() bool { - if m != nil { - return m.EnableLogging - } - return false -} - -func (m *Agent) GetMatchMode() Agent_MatchMode { - if m != nil { - return m.MatchMode - } - return Agent_MATCH_MODE_UNSPECIFIED -} - -func (m *Agent) GetClassificationThreshold() float32 { - if m != nil { - return m.ClassificationThreshold - } - return 0 -} - -func (m *Agent) GetApiVersion() Agent_ApiVersion { - if m != nil { - return m.ApiVersion - } - return Agent_API_VERSION_UNSPECIFIED -} - -func (m *Agent) GetTier() Agent_Tier { - if m != nil { - return m.Tier - } - return Agent_TIER_UNSPECIFIED -} - -// The request message for [Agents.GetAgent][google.cloud.dialogflow.v2.Agents.GetAgent]. -type GetAgentRequest struct { - // Required. The project that the agent to fetch is associated with. - // 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 *GetAgentRequest) Reset() { *m = GetAgentRequest{} } -func (m *GetAgentRequest) String() string { return proto.CompactTextString(m) } -func (*GetAgentRequest) ProtoMessage() {} -func (*GetAgentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_59198d2091110e70, []int{1} -} - -func (m *GetAgentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAgentRequest.Unmarshal(m, b) -} -func (m *GetAgentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAgentRequest.Marshal(b, m, deterministic) -} -func (m *GetAgentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAgentRequest.Merge(m, src) -} -func (m *GetAgentRequest) XXX_Size() int { - return xxx_messageInfo_GetAgentRequest.Size(m) -} -func (m *GetAgentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAgentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetAgentRequest proto.InternalMessageInfo - -func (m *GetAgentRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -// The request message for [Agents.SetAgent][google.cloud.dialogflow.v2.Agents.SetAgent]. -type SetAgentRequest struct { - // Required. The agent to update. - Agent *Agent `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"` - // Optional. The mask to control which fields get 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 *SetAgentRequest) Reset() { *m = SetAgentRequest{} } -func (m *SetAgentRequest) String() string { return proto.CompactTextString(m) } -func (*SetAgentRequest) ProtoMessage() {} -func (*SetAgentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_59198d2091110e70, []int{2} -} - -func (m *SetAgentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetAgentRequest.Unmarshal(m, b) -} -func (m *SetAgentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetAgentRequest.Marshal(b, m, deterministic) -} -func (m *SetAgentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetAgentRequest.Merge(m, src) -} -func (m *SetAgentRequest) XXX_Size() int { - return xxx_messageInfo_SetAgentRequest.Size(m) -} -func (m *SetAgentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetAgentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetAgentRequest proto.InternalMessageInfo - -func (m *SetAgentRequest) GetAgent() *Agent { - if m != nil { - return m.Agent - } - return nil -} - -func (m *SetAgentRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// The request message for [Agents.DeleteAgent][google.cloud.dialogflow.v2.Agents.DeleteAgent]. -type DeleteAgentRequest struct { - // Required. The project that the agent to delete is associated with. - // 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 *DeleteAgentRequest) Reset() { *m = DeleteAgentRequest{} } -func (m *DeleteAgentRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteAgentRequest) ProtoMessage() {} -func (*DeleteAgentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_59198d2091110e70, []int{3} -} - -func (m *DeleteAgentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteAgentRequest.Unmarshal(m, b) -} -func (m *DeleteAgentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteAgentRequest.Marshal(b, m, deterministic) -} -func (m *DeleteAgentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteAgentRequest.Merge(m, src) -} -func (m *DeleteAgentRequest) XXX_Size() int { - return xxx_messageInfo_DeleteAgentRequest.Size(m) -} -func (m *DeleteAgentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteAgentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteAgentRequest proto.InternalMessageInfo - -func (m *DeleteAgentRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -// The request message for [Agents.SearchAgents][google.cloud.dialogflow.v2.Agents.SearchAgents]. -type SearchAgentsRequest struct { - // Required. The project to list agents from. - // Format: `projects/`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. The maximum number of items to return in a single page. By - // default 100 and at most 1000. - 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. - 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 *SearchAgentsRequest) Reset() { *m = SearchAgentsRequest{} } -func (m *SearchAgentsRequest) String() string { return proto.CompactTextString(m) } -func (*SearchAgentsRequest) ProtoMessage() {} -func (*SearchAgentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_59198d2091110e70, []int{4} -} - -func (m *SearchAgentsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchAgentsRequest.Unmarshal(m, b) -} -func (m *SearchAgentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchAgentsRequest.Marshal(b, m, deterministic) -} -func (m *SearchAgentsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchAgentsRequest.Merge(m, src) -} -func (m *SearchAgentsRequest) XXX_Size() int { - return xxx_messageInfo_SearchAgentsRequest.Size(m) -} -func (m *SearchAgentsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SearchAgentsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchAgentsRequest proto.InternalMessageInfo - -func (m *SearchAgentsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *SearchAgentsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *SearchAgentsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// The response message for [Agents.SearchAgents][google.cloud.dialogflow.v2.Agents.SearchAgents]. -type SearchAgentsResponse struct { - // The list of agents. There will be a maximum number of items returned based - // on the page_size field in the request. - Agents []*Agent `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,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 *SearchAgentsResponse) Reset() { *m = SearchAgentsResponse{} } -func (m *SearchAgentsResponse) String() string { return proto.CompactTextString(m) } -func (*SearchAgentsResponse) ProtoMessage() {} -func (*SearchAgentsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_59198d2091110e70, []int{5} -} - -func (m *SearchAgentsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchAgentsResponse.Unmarshal(m, b) -} -func (m *SearchAgentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchAgentsResponse.Marshal(b, m, deterministic) -} -func (m *SearchAgentsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchAgentsResponse.Merge(m, src) -} -func (m *SearchAgentsResponse) XXX_Size() int { - return xxx_messageInfo_SearchAgentsResponse.Size(m) -} -func (m *SearchAgentsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SearchAgentsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchAgentsResponse proto.InternalMessageInfo - -func (m *SearchAgentsResponse) GetAgents() []*Agent { - if m != nil { - return m.Agents - } - return nil -} - -func (m *SearchAgentsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The request message for [Agents.TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent]. -type TrainAgentRequest struct { - // Required. The project that the agent to train is associated with. - // 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 *TrainAgentRequest) Reset() { *m = TrainAgentRequest{} } -func (m *TrainAgentRequest) String() string { return proto.CompactTextString(m) } -func (*TrainAgentRequest) ProtoMessage() {} -func (*TrainAgentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_59198d2091110e70, []int{6} -} - -func (m *TrainAgentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TrainAgentRequest.Unmarshal(m, b) -} -func (m *TrainAgentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TrainAgentRequest.Marshal(b, m, deterministic) -} -func (m *TrainAgentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_TrainAgentRequest.Merge(m, src) -} -func (m *TrainAgentRequest) XXX_Size() int { - return xxx_messageInfo_TrainAgentRequest.Size(m) -} -func (m *TrainAgentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_TrainAgentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_TrainAgentRequest proto.InternalMessageInfo - -func (m *TrainAgentRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -// The request message for [Agents.ExportAgent][google.cloud.dialogflow.v2.Agents.ExportAgent]. -type ExportAgentRequest struct { - // Required. The project that the agent to export is associated with. - // Format: `projects/`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) - // URI to export the agent to. - // The format of this URI must be `gs:///`. - // If left unspecified, the serialized agent is returned inline. - AgentUri string `protobuf:"bytes,2,opt,name=agent_uri,json=agentUri,proto3" json:"agent_uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_59198d2091110e70, []int{7} -} - -func (m *ExportAgentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExportAgentRequest.Unmarshal(m, b) -} -func (m *ExportAgentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExportAgentRequest.Marshal(b, m, deterministic) -} -func (m *ExportAgentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportAgentRequest.Merge(m, src) -} -func (m *ExportAgentRequest) XXX_Size() int { - return xxx_messageInfo_ExportAgentRequest.Size(m) -} -func (m *ExportAgentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ExportAgentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ExportAgentRequest proto.InternalMessageInfo - -func (m *ExportAgentRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ExportAgentRequest) GetAgentUri() string { - if m != nil { - return m.AgentUri - } - return "" -} - -// The response message for [Agents.ExportAgent][google.cloud.dialogflow.v2.Agents.ExportAgent]. -type ExportAgentResponse struct { - // The exported agent. - // - // Types that are valid to be assigned to Agent: - // *ExportAgentResponse_AgentUri - // *ExportAgentResponse_AgentContent - Agent isExportAgentResponse_Agent `protobuf_oneof:"agent"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_59198d2091110e70, []int{8} -} - -func (m *ExportAgentResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExportAgentResponse.Unmarshal(m, b) -} -func (m *ExportAgentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExportAgentResponse.Marshal(b, m, deterministic) -} -func (m *ExportAgentResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportAgentResponse.Merge(m, src) -} -func (m *ExportAgentResponse) XXX_Size() int { - return xxx_messageInfo_ExportAgentResponse.Size(m) -} -func (m *ExportAgentResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ExportAgentResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ExportAgentResponse proto.InternalMessageInfo - -type isExportAgentResponse_Agent interface { - isExportAgentResponse_Agent() -} - -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_AgentContent) isExportAgentResponse_Agent() {} - -func (m *ExportAgentResponse) GetAgent() isExportAgentResponse_Agent { - if m != nil { - return m.Agent - } - return nil -} - -func (m *ExportAgentResponse) GetAgentUri() string { - if x, ok := m.GetAgent().(*ExportAgentResponse_AgentUri); ok { - return x.AgentUri - } - return "" -} - -func (m *ExportAgentResponse) GetAgentContent() []byte { - if x, ok := m.GetAgent().(*ExportAgentResponse_AgentContent); ok { - return x.AgentContent - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ExportAgentResponse) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ExportAgentResponse_AgentUri)(nil), - (*ExportAgentResponse_AgentContent)(nil), - } -} - -// The request message for [Agents.ImportAgent][google.cloud.dialogflow.v2.Agents.ImportAgent]. -type ImportAgentRequest struct { - // Required. The project that the agent to import is associated with. - // Format: `projects/`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The agent to import. - // - // Types that are valid to be assigned to Agent: - // *ImportAgentRequest_AgentUri - // *ImportAgentRequest_AgentContent - Agent isImportAgentRequest_Agent `protobuf_oneof:"agent"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_59198d2091110e70, []int{9} -} - -func (m *ImportAgentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImportAgentRequest.Unmarshal(m, b) -} -func (m *ImportAgentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImportAgentRequest.Marshal(b, m, deterministic) -} -func (m *ImportAgentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportAgentRequest.Merge(m, src) -} -func (m *ImportAgentRequest) XXX_Size() int { - return xxx_messageInfo_ImportAgentRequest.Size(m) -} -func (m *ImportAgentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ImportAgentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ImportAgentRequest proto.InternalMessageInfo - -func (m *ImportAgentRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -type isImportAgentRequest_Agent interface { - isImportAgentRequest_Agent() -} - -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_AgentContent) isImportAgentRequest_Agent() {} - -func (m *ImportAgentRequest) GetAgent() isImportAgentRequest_Agent { - if m != nil { - return m.Agent - } - return nil -} - -func (m *ImportAgentRequest) GetAgentUri() string { - if x, ok := m.GetAgent().(*ImportAgentRequest_AgentUri); ok { - return x.AgentUri - } - return "" -} - -func (m *ImportAgentRequest) GetAgentContent() []byte { - if x, ok := m.GetAgent().(*ImportAgentRequest_AgentContent); ok { - return x.AgentContent - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ImportAgentRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ImportAgentRequest_AgentUri)(nil), - (*ImportAgentRequest_AgentContent)(nil), - } -} - -// The request message for [Agents.RestoreAgent][google.cloud.dialogflow.v2.Agents.RestoreAgent]. -type RestoreAgentRequest struct { - // Required. The project that the agent to restore is associated with. - // Format: `projects/`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The agent to restore. - // - // Types that are valid to be assigned to Agent: - // *RestoreAgentRequest_AgentUri - // *RestoreAgentRequest_AgentContent - Agent isRestoreAgentRequest_Agent `protobuf_oneof:"agent"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_59198d2091110e70, []int{10} -} - -func (m *RestoreAgentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RestoreAgentRequest.Unmarshal(m, b) -} -func (m *RestoreAgentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RestoreAgentRequest.Marshal(b, m, deterministic) -} -func (m *RestoreAgentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RestoreAgentRequest.Merge(m, src) -} -func (m *RestoreAgentRequest) XXX_Size() int { - return xxx_messageInfo_RestoreAgentRequest.Size(m) -} -func (m *RestoreAgentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RestoreAgentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_RestoreAgentRequest proto.InternalMessageInfo - -func (m *RestoreAgentRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -type isRestoreAgentRequest_Agent interface { - isRestoreAgentRequest_Agent() -} - -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_AgentContent) isRestoreAgentRequest_Agent() {} - -func (m *RestoreAgentRequest) GetAgent() isRestoreAgentRequest_Agent { - if m != nil { - return m.Agent - } - return nil -} - -func (m *RestoreAgentRequest) GetAgentUri() string { - if x, ok := m.GetAgent().(*RestoreAgentRequest_AgentUri); ok { - return x.AgentUri - } - return "" -} - -func (m *RestoreAgentRequest) GetAgentContent() []byte { - if x, ok := m.GetAgent().(*RestoreAgentRequest_AgentContent); ok { - return x.AgentContent - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*RestoreAgentRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*RestoreAgentRequest_AgentUri)(nil), - (*RestoreAgentRequest_AgentContent)(nil), - } -} - -func init() { - proto.RegisterEnum("google.cloud.dialogflow.v2.Agent_MatchMode", Agent_MatchMode_name, Agent_MatchMode_value) - proto.RegisterEnum("google.cloud.dialogflow.v2.Agent_ApiVersion", Agent_ApiVersion_name, Agent_ApiVersion_value) - proto.RegisterEnum("google.cloud.dialogflow.v2.Agent_Tier", Agent_Tier_name, Agent_Tier_value) - proto.RegisterType((*Agent)(nil), "google.cloud.dialogflow.v2.Agent") - proto.RegisterType((*GetAgentRequest)(nil), "google.cloud.dialogflow.v2.GetAgentRequest") - proto.RegisterType((*SetAgentRequest)(nil), "google.cloud.dialogflow.v2.SetAgentRequest") - proto.RegisterType((*DeleteAgentRequest)(nil), "google.cloud.dialogflow.v2.DeleteAgentRequest") - proto.RegisterType((*SearchAgentsRequest)(nil), "google.cloud.dialogflow.v2.SearchAgentsRequest") - proto.RegisterType((*SearchAgentsResponse)(nil), "google.cloud.dialogflow.v2.SearchAgentsResponse") - proto.RegisterType((*TrainAgentRequest)(nil), "google.cloud.dialogflow.v2.TrainAgentRequest") - proto.RegisterType((*ExportAgentRequest)(nil), "google.cloud.dialogflow.v2.ExportAgentRequest") - proto.RegisterType((*ExportAgentResponse)(nil), "google.cloud.dialogflow.v2.ExportAgentResponse") - proto.RegisterType((*ImportAgentRequest)(nil), "google.cloud.dialogflow.v2.ImportAgentRequest") - proto.RegisterType((*RestoreAgentRequest)(nil), "google.cloud.dialogflow.v2.RestoreAgentRequest") -} - -func init() { - proto.RegisterFile("google/cloud/dialogflow/v2/agent.proto", fileDescriptor_59198d2091110e70) -} - -var fileDescriptor_59198d2091110e70 = []byte{ - // 1401 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x58, 0xcf, 0x6f, 0x1b, 0xd5, - 0x16, 0xee, 0x75, 0x9a, 0x34, 0x39, 0xce, 0x0f, 0xf7, 0xa6, 0x49, 0x5d, 0xf7, 0xe5, 0xd5, 0x6f, - 0xfa, 0x1a, 0xe5, 0xa5, 0xad, 0xe7, 0xd5, 0x15, 0x42, 0x04, 0x0a, 0x4c, 0x62, 0xb7, 0xb1, 0xc8, - 0x0f, 0x6b, 0xec, 0x44, 0x6a, 0x17, 0x0c, 0x37, 0xe3, 0x9b, 0xf1, 0xd0, 0x99, 0xb9, 0xc3, 0xcc, -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a, 0xba, 0x53, 0x8a, 0x91, 0x16, 0x8b, 0x5e, 0x48, - 0x0b, 0x2c, 0xb0, 0x54, 0x8b, 0x7a, 0x62, 0x01, 0x6a, 0x67, 0xd6, 0xb3, 0xfe, 0x85, 0x78, 0xb5, - 0xf3, 0xe9, 0x77, 0x84, 0xbe, 0x4c, 0xa5, 0x4a, 0x37, 0xbf, 0x49, 0xe5, 0x6e, 0xc9, 0x76, 0x6b, - 0x62, 0x70, 0xa9, 0x33, 0x78, 0xb7, 0xb8, 0x37, 0x26, 0xba, 0x5e, 0xff, 0x33, 0x00, 0x00, 0xff, - 0xff, 0xc2, 0xd1, 0x0a, 0xbb, 0xda, 0x10, 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 - -// AgentsClient is the client API for Agents service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AgentsClient interface { - // Retrieves the specified agent. - GetAgent(ctx context.Context, in *GetAgentRequest, opts ...grpc.CallOption) (*Agent, error) - // Creates/updates the specified agent. - SetAgent(ctx context.Context, in *SetAgentRequest, opts ...grpc.CallOption) (*Agent, error) - // Deletes the specified agent. - DeleteAgent(ctx context.Context, in *DeleteAgentRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Returns the list of agents. - // - // Since there is at most one conversational agent per project, this method is - // useful primarily for listing all agents across projects the caller has - // access to. One can achieve that with a wildcard project collection id "-". - // Refer to [List - // Sub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-collections). - SearchAgents(ctx context.Context, in *SearchAgentsRequest, opts ...grpc.CallOption) (*SearchAgentsResponse, error) - // Trains the specified agent. - // - // Operation - TrainAgent(ctx context.Context, in *TrainAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Exports the specified agent to a ZIP file. - // - // Operation - ExportAgent(ctx context.Context, in *ExportAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Imports the specified agent from a ZIP file. - // - // Uploads new intents and entity types without deleting the existing ones. - // Intents and entity types with the same name are replaced with the new - // versions from ImportAgentRequest. - // - // Operation - ImportAgent(ctx context.Context, in *ImportAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Restores the specified agent from a ZIP file. - // - // Replaces the current agent version with a new one. All the intents and - // entity types in the older version are deleted. - // - // Operation - RestoreAgent(ctx context.Context, in *RestoreAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) -} - -type agentsClient struct { - cc *grpc.ClientConn -} - -func NewAgentsClient(cc *grpc.ClientConn) AgentsClient { - return &agentsClient{cc} -} - -func (c *agentsClient) GetAgent(ctx context.Context, in *GetAgentRequest, opts ...grpc.CallOption) (*Agent, error) { - out := new(Agent) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Agents/GetAgent", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *agentsClient) SetAgent(ctx context.Context, in *SetAgentRequest, opts ...grpc.CallOption) (*Agent, error) { - out := new(Agent) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Agents/SetAgent", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *agentsClient) DeleteAgent(ctx context.Context, in *DeleteAgentRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Agents/DeleteAgent", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *agentsClient) SearchAgents(ctx context.Context, in *SearchAgentsRequest, opts ...grpc.CallOption) (*SearchAgentsResponse, error) { - out := new(SearchAgentsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Agents/SearchAgents", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *agentsClient) TrainAgent(ctx context.Context, in *TrainAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Agents/TrainAgent", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *agentsClient) ExportAgent(ctx context.Context, in *ExportAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Agents/ExportAgent", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *agentsClient) ImportAgent(ctx context.Context, in *ImportAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Agents/ImportAgent", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *agentsClient) RestoreAgent(ctx context.Context, in *RestoreAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Agents/RestoreAgent", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AgentsServer is the server API for Agents service. -type AgentsServer interface { - // Retrieves the specified agent. - GetAgent(context.Context, *GetAgentRequest) (*Agent, error) - // Creates/updates the specified agent. - SetAgent(context.Context, *SetAgentRequest) (*Agent, error) - // Deletes the specified agent. - DeleteAgent(context.Context, *DeleteAgentRequest) (*empty.Empty, error) - // Returns the list of agents. - // - // Since there is at most one conversational agent per project, this method is - // useful primarily for listing all agents across projects the caller has - // access to. One can achieve that with a wildcard project collection id "-". - // Refer to [List - // Sub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-collections). - SearchAgents(context.Context, *SearchAgentsRequest) (*SearchAgentsResponse, error) - // Trains the specified agent. - // - // Operation - TrainAgent(context.Context, *TrainAgentRequest) (*longrunning.Operation, error) - // Exports the specified agent to a ZIP file. - // - // Operation - ExportAgent(context.Context, *ExportAgentRequest) (*longrunning.Operation, error) - // Imports the specified agent from a ZIP file. - // - // Uploads new intents and entity types without deleting the existing ones. - // Intents and entity types with the same name are replaced with the new - // versions from ImportAgentRequest. - // - // Operation - ImportAgent(context.Context, *ImportAgentRequest) (*longrunning.Operation, error) - // Restores the specified agent from a ZIP file. - // - // Replaces the current agent version with a new one. All the intents and - // entity types in the older version are deleted. - // - // Operation - RestoreAgent(context.Context, *RestoreAgentRequest) (*longrunning.Operation, error) -} - -// UnimplementedAgentsServer can be embedded to have forward compatible implementations. -type UnimplementedAgentsServer struct { -} - -func (*UnimplementedAgentsServer) GetAgent(ctx context.Context, req *GetAgentRequest) (*Agent, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAgent not implemented") -} -func (*UnimplementedAgentsServer) SetAgent(ctx context.Context, req *SetAgentRequest) (*Agent, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetAgent not implemented") -} -func (*UnimplementedAgentsServer) DeleteAgent(ctx context.Context, req *DeleteAgentRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteAgent not implemented") -} -func (*UnimplementedAgentsServer) SearchAgents(ctx context.Context, req *SearchAgentsRequest) (*SearchAgentsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchAgents not implemented") -} -func (*UnimplementedAgentsServer) TrainAgent(ctx context.Context, req *TrainAgentRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method TrainAgent not implemented") -} -func (*UnimplementedAgentsServer) ExportAgent(ctx context.Context, req *ExportAgentRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ExportAgent not implemented") -} -func (*UnimplementedAgentsServer) ImportAgent(ctx context.Context, req *ImportAgentRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ImportAgent not implemented") -} -func (*UnimplementedAgentsServer) RestoreAgent(ctx context.Context, req *RestoreAgentRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method RestoreAgent not implemented") -} - -func RegisterAgentsServer(s *grpc.Server, srv AgentsServer) { - s.RegisterService(&_Agents_serviceDesc, srv) -} - -func _Agents_GetAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAgentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AgentsServer).GetAgent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.Agents/GetAgent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AgentsServer).GetAgent(ctx, req.(*GetAgentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Agents_SetAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetAgentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AgentsServer).SetAgent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.Agents/SetAgent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AgentsServer).SetAgent(ctx, req.(*SetAgentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Agents_DeleteAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteAgentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AgentsServer).DeleteAgent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.Agents/DeleteAgent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AgentsServer).DeleteAgent(ctx, req.(*DeleteAgentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Agents_SearchAgents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchAgentsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AgentsServer).SearchAgents(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.Agents/SearchAgents", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AgentsServer).SearchAgents(ctx, req.(*SearchAgentsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Agents_TrainAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TrainAgentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AgentsServer).TrainAgent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.Agents/TrainAgent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AgentsServer).TrainAgent(ctx, req.(*TrainAgentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Agents_ExportAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ExportAgentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AgentsServer).ExportAgent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.Agents/ExportAgent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AgentsServer).ExportAgent(ctx, req.(*ExportAgentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Agents_ImportAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ImportAgentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AgentsServer).ImportAgent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.Agents/ImportAgent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AgentsServer).ImportAgent(ctx, req.(*ImportAgentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Agents_RestoreAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RestoreAgentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AgentsServer).RestoreAgent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.Agents/RestoreAgent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AgentsServer).RestoreAgent(ctx, req.(*RestoreAgentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Agents_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.dialogflow.v2.Agents", - HandlerType: (*AgentsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetAgent", - Handler: _Agents_GetAgent_Handler, - }, - { - MethodName: "SetAgent", - Handler: _Agents_SetAgent_Handler, - }, - { - MethodName: "DeleteAgent", - Handler: _Agents_DeleteAgent_Handler, - }, - { - MethodName: "SearchAgents", - Handler: _Agents_SearchAgents_Handler, - }, - { - MethodName: "TrainAgent", - Handler: _Agents_TrainAgent_Handler, - }, - { - MethodName: "ExportAgent", - Handler: _Agents_ExportAgent_Handler, - }, - { - MethodName: "ImportAgent", - Handler: _Agents_ImportAgent_Handler, - }, - { - MethodName: "RestoreAgent", - Handler: _Agents_RestoreAgent_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/dialogflow/v2/agent.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/audio_config.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/audio_config.pb.go deleted file mode 100644 index 80af1792..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/audio_config.pb.go +++ /dev/null @@ -1,635 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/dialogflow/v2/audio_config.proto - -package dialogflow - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/duration" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Audio encoding of the audio content sent in the conversational query request. -// Refer to the -// [Cloud Speech API -// documentation](https://cloud.google.com/speech-to-text/docs/basics) for more -// details. -type AudioEncoding int32 - -const ( - // Not specified. - AudioEncoding_AUDIO_ENCODING_UNSPECIFIED AudioEncoding = 0 - // Uncompressed 16-bit signed little-endian samples (Linear PCM). - AudioEncoding_AUDIO_ENCODING_LINEAR_16 AudioEncoding = 1 - // [`FLAC`](https://xiph.org/flac/documentation.html) (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 encoding supports 16-bit and - // 24-bit samples, however, not all fields in `STREAMINFO` are supported. - AudioEncoding_AUDIO_ENCODING_FLAC AudioEncoding = 2 - // 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. - AudioEncoding_AUDIO_ENCODING_MULAW AudioEncoding = 3 - // Adaptive Multi-Rate Narrowband codec. `sample_rate_hertz` must be 8000. - AudioEncoding_AUDIO_ENCODING_AMR AudioEncoding = 4 - // Adaptive Multi-Rate Wideband codec. `sample_rate_hertz` must be 16000. - AudioEncoding_AUDIO_ENCODING_AMR_WB AudioEncoding = 5 - // Opus encoded audio frames in Ogg container - // ([OggOpus](https://wiki.xiph.org/OggOpus)). - // `sample_rate_hertz` must be 16000. - AudioEncoding_AUDIO_ENCODING_OGG_OPUS 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 - // Speex encoding. The [Speex](https://speex.org/) encoding supported by - // Dialogflow API has a header byte in each block, as in MIME type - // `audio/x-speex-with-header-byte`. - // It is a variant of the RTP Speex encoding defined in - // [RFC 5574](https://tools.ietf.org/html/rfc5574). - // The stream is a sequence of blocks, one block per RTP packet. Each block - // starts with a byte containing the length of the block, in bytes, followed - // by one or more frames of Speex data, padded to an integral number of - // bytes (octets) as specified in RFC 5574. In other words, each RTP header - // is replaced with a single byte containing the block length. Only Speex - // wideband is supported. `sample_rate_hertz` must be 16000. - AudioEncoding_AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE AudioEncoding = 7 -) - -var AudioEncoding_name = map[int32]string{ - 0: "AUDIO_ENCODING_UNSPECIFIED", - 1: "AUDIO_ENCODING_LINEAR_16", - 2: "AUDIO_ENCODING_FLAC", - 3: "AUDIO_ENCODING_MULAW", - 4: "AUDIO_ENCODING_AMR", - 5: "AUDIO_ENCODING_AMR_WB", - 6: "AUDIO_ENCODING_OGG_OPUS", - 7: "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE", -} - -var AudioEncoding_value = map[string]int32{ - "AUDIO_ENCODING_UNSPECIFIED": 0, - "AUDIO_ENCODING_LINEAR_16": 1, - "AUDIO_ENCODING_FLAC": 2, - "AUDIO_ENCODING_MULAW": 3, - "AUDIO_ENCODING_AMR": 4, - "AUDIO_ENCODING_AMR_WB": 5, - "AUDIO_ENCODING_OGG_OPUS": 6, - "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE": 7, -} - -func (x AudioEncoding) String() string { - return proto.EnumName(AudioEncoding_name, int32(x)) -} - -func (AudioEncoding) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_3ff9be2146363af6, []int{0} -} - -// Variant of the specified [Speech model][google.cloud.dialogflow.v2.InputAudioConfig.model] to use. -// -// See the [Cloud Speech -// documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) -// for which models have different variants. For example, the "phone_call" model -// has both a standard and an enhanced variant. When you use an enhanced model, -// you will generally receive higher quality results than for a standard model. -type SpeechModelVariant int32 - -const ( - // No model variant specified. In this case Dialogflow defaults to - // USE_BEST_AVAILABLE. - SpeechModelVariant_SPEECH_MODEL_VARIANT_UNSPECIFIED SpeechModelVariant = 0 - // Use the best available variant of the [Speech - // model][InputAudioConfig.model] that the caller is eligible for. - // - // Please see the [Dialogflow - // docs](https://cloud.google.com/dialogflow/docs/data-logging) for - // how to make your project eligible for enhanced models. - SpeechModelVariant_USE_BEST_AVAILABLE SpeechModelVariant = 1 - // Use standard model variant even if an enhanced model is available. See the - // [Cloud Speech - // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) - // for details about enhanced models. - SpeechModelVariant_USE_STANDARD SpeechModelVariant = 2 - // Use an enhanced model variant: - // - // * If an enhanced variant does not exist for the given - // [model][google.cloud.dialogflow.v2.InputAudioConfig.model] and request language, Dialogflow falls - // back to the standard variant. - // - // The [Cloud Speech - // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) - // describes which models have enhanced variants. - // - // * If the API caller isn't eligible for enhanced models, Dialogflow returns - // an error. Please see the [Dialogflow - // docs](https://cloud.google.com/dialogflow/docs/data-logging) - // for how to make your project eligible. - SpeechModelVariant_USE_ENHANCED SpeechModelVariant = 3 -) - -var SpeechModelVariant_name = map[int32]string{ - 0: "SPEECH_MODEL_VARIANT_UNSPECIFIED", - 1: "USE_BEST_AVAILABLE", - 2: "USE_STANDARD", - 3: "USE_ENHANCED", -} - -var SpeechModelVariant_value = map[string]int32{ - "SPEECH_MODEL_VARIANT_UNSPECIFIED": 0, - "USE_BEST_AVAILABLE": 1, - "USE_STANDARD": 2, - "USE_ENHANCED": 3, -} - -func (x SpeechModelVariant) String() string { - return proto.EnumName(SpeechModelVariant_name, int32(x)) -} - -func (SpeechModelVariant) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_3ff9be2146363af6, []int{1} -} - -// Gender of the voice as described in -// [SSML voice element](https://www.w3.org/TR/speech-synthesis11/#edef_voice). -type SsmlVoiceGender int32 - -const ( - // An unspecified gender, which means that the client doesn't care which - // gender the selected voice will have. - SsmlVoiceGender_SSML_VOICE_GENDER_UNSPECIFIED SsmlVoiceGender = 0 - // A male voice. - SsmlVoiceGender_SSML_VOICE_GENDER_MALE SsmlVoiceGender = 1 - // A female voice. - SsmlVoiceGender_SSML_VOICE_GENDER_FEMALE SsmlVoiceGender = 2 - // A gender-neutral voice. - SsmlVoiceGender_SSML_VOICE_GENDER_NEUTRAL SsmlVoiceGender = 3 -) - -var SsmlVoiceGender_name = map[int32]string{ - 0: "SSML_VOICE_GENDER_UNSPECIFIED", - 1: "SSML_VOICE_GENDER_MALE", - 2: "SSML_VOICE_GENDER_FEMALE", - 3: "SSML_VOICE_GENDER_NEUTRAL", -} - -var SsmlVoiceGender_value = map[string]int32{ - "SSML_VOICE_GENDER_UNSPECIFIED": 0, - "SSML_VOICE_GENDER_MALE": 1, - "SSML_VOICE_GENDER_FEMALE": 2, - "SSML_VOICE_GENDER_NEUTRAL": 3, -} - -func (x SsmlVoiceGender) String() string { - return proto.EnumName(SsmlVoiceGender_name, int32(x)) -} - -func (SsmlVoiceGender) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_3ff9be2146363af6, []int{2} -} - -// Audio encoding of the output audio format in Text-To-Speech. -type OutputAudioEncoding int32 - -const ( - // Not specified. - OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_UNSPECIFIED OutputAudioEncoding = 0 - // Uncompressed 16-bit signed little-endian samples (Linear PCM). - // Audio content returned as LINEAR16 also contains a WAV header. - OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_LINEAR_16 OutputAudioEncoding = 1 - // MP3 audio. - OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_MP3 OutputAudioEncoding = 2 - // Opus encoded audio wrapped in an ogg container. The result will be a - // file which can be played natively on Android, and in browsers (at least - // Chrome and Firefox). The quality of the encoding is considerably higher - // than MP3 while using approximately the same bitrate. - OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_OGG_OPUS OutputAudioEncoding = 3 -) - -var OutputAudioEncoding_name = map[int32]string{ - 0: "OUTPUT_AUDIO_ENCODING_UNSPECIFIED", - 1: "OUTPUT_AUDIO_ENCODING_LINEAR_16", - 2: "OUTPUT_AUDIO_ENCODING_MP3", - 3: "OUTPUT_AUDIO_ENCODING_OGG_OPUS", -} - -var OutputAudioEncoding_value = map[string]int32{ - "OUTPUT_AUDIO_ENCODING_UNSPECIFIED": 0, - "OUTPUT_AUDIO_ENCODING_LINEAR_16": 1, - "OUTPUT_AUDIO_ENCODING_MP3": 2, - "OUTPUT_AUDIO_ENCODING_OGG_OPUS": 3, -} - -func (x OutputAudioEncoding) String() string { - return proto.EnumName(OutputAudioEncoding_name, int32(x)) -} - -func (OutputAudioEncoding) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_3ff9be2146363af6, []int{3} -} - -// Instructs the speech recognizer how to process the audio content. -type InputAudioConfig struct { - // Required. Audio encoding of the audio content to process. - AudioEncoding AudioEncoding `protobuf:"varint,1,opt,name=audio_encoding,json=audioEncoding,proto3,enum=google.cloud.dialogflow.v2.AudioEncoding" json:"audio_encoding,omitempty"` - // Required. Sample rate (in Hertz) of the audio content sent in the query. - // Refer to - // [Cloud Speech API - // documentation](https://cloud.google.com/speech-to-text/docs/basics) for - // more details. - 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. Dialogflow does not do - // translations. See [Language - // Support](https://cloud.google.com/dialogflow/docs/reference/language) - // for a list of the currently supported language codes. Note that queries in - // the same session do not necessarily need to specify the same language. - LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // Optional. A list of strings containing words and phrases that the speech - // recognizer should recognize with higher likelihood. - // - // See [the Cloud Speech - // documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) - // for more details. - PhraseHints []string `protobuf:"bytes,4,rep,name=phrase_hints,json=phraseHints,proto3" json:"phrase_hints,omitempty"` - // Optional. Which variant of the [Speech model][google.cloud.dialogflow.v2.InputAudioConfig.model] to use. - ModelVariant SpeechModelVariant `protobuf:"varint,10,opt,name=model_variant,json=modelVariant,proto3,enum=google.cloud.dialogflow.v2.SpeechModelVariant" json:"model_variant,omitempty"` - // Optional. If `false` (default), recognition does not cease until the - // client closes the stream. - // If `true`, the recognizer will detect a single spoken utterance in input - // audio. Recognition ceases when it detects the audio's voice has - // stopped or paused. In this case, once a detected intent is received, the - // client should close the stream and start a new request with a new stream as - // needed. - // Note: This setting is relevant only for streaming methods. - // Note: When specified, InputAudioConfig.single_utterance takes precedence - // over StreamingDetectIntentRequest.single_utterance. - SingleUtterance bool `protobuf:"varint,8,opt,name=single_utterance,json=singleUtterance,proto3" json:"single_utterance,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3ff9be2146363af6, []int{0} -} - -func (m *InputAudioConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InputAudioConfig.Unmarshal(m, b) -} -func (m *InputAudioConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InputAudioConfig.Marshal(b, m, deterministic) -} -func (m *InputAudioConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_InputAudioConfig.Merge(m, src) -} -func (m *InputAudioConfig) XXX_Size() int { - return xxx_messageInfo_InputAudioConfig.Size(m) -} -func (m *InputAudioConfig) XXX_DiscardUnknown() { - xxx_messageInfo_InputAudioConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_InputAudioConfig proto.InternalMessageInfo - -func (m *InputAudioConfig) GetAudioEncoding() AudioEncoding { - if m != nil { - return m.AudioEncoding - } - return AudioEncoding_AUDIO_ENCODING_UNSPECIFIED -} - -func (m *InputAudioConfig) GetSampleRateHertz() int32 { - if m != nil { - return m.SampleRateHertz - } - return 0 -} - -func (m *InputAudioConfig) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *InputAudioConfig) GetPhraseHints() []string { - if m != nil { - return m.PhraseHints - } - return nil -} - -func (m *InputAudioConfig) GetModelVariant() SpeechModelVariant { - if m != nil { - return m.ModelVariant - } - return SpeechModelVariant_SPEECH_MODEL_VARIANT_UNSPECIFIED -} - -func (m *InputAudioConfig) GetSingleUtterance() bool { - if m != nil { - return m.SingleUtterance - } - return false -} - -// Description of which voice to use for speech synthesis. -type VoiceSelectionParams struct { - // Optional. The name of the voice. If not set, the service will choose a - // voice based on the other parameters such as language_code and gender. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Optional. The preferred gender of the voice. If not set, the service will - // choose a voice based on the other parameters such as language_code and - // name. Note that this is only a preference, not requirement. If a - // voice of the appropriate gender is not available, the synthesizer should - // substitute a voice with a different gender rather than failing the request. - SsmlGender SsmlVoiceGender `protobuf:"varint,2,opt,name=ssml_gender,json=ssmlGender,proto3,enum=google.cloud.dialogflow.v2.SsmlVoiceGender" json:"ssml_gender,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3ff9be2146363af6, []int{1} -} - -func (m *VoiceSelectionParams) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VoiceSelectionParams.Unmarshal(m, b) -} -func (m *VoiceSelectionParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VoiceSelectionParams.Marshal(b, m, deterministic) -} -func (m *VoiceSelectionParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_VoiceSelectionParams.Merge(m, src) -} -func (m *VoiceSelectionParams) XXX_Size() int { - return xxx_messageInfo_VoiceSelectionParams.Size(m) -} -func (m *VoiceSelectionParams) XXX_DiscardUnknown() { - xxx_messageInfo_VoiceSelectionParams.DiscardUnknown(m) -} - -var xxx_messageInfo_VoiceSelectionParams proto.InternalMessageInfo - -func (m *VoiceSelectionParams) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *VoiceSelectionParams) GetSsmlGender() SsmlVoiceGender { - if m != nil { - return m.SsmlGender - } - return SsmlVoiceGender_SSML_VOICE_GENDER_UNSPECIFIED -} - -// Configuration of how speech should be synthesized. -type SynthesizeSpeechConfig struct { - // Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal - // native speed supported by the specific voice. 2.0 is twice as fast, and - // 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any - // other values < 0.25 or > 4.0 will return an error. - SpeakingRate float64 `protobuf:"fixed64,1,opt,name=speaking_rate,json=speakingRate,proto3" json:"speaking_rate,omitempty"` - // Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20 - // semitones from the original pitch. -20 means decrease 20 semitones from the - // original pitch. - Pitch float64 `protobuf:"fixed64,2,opt,name=pitch,proto3" json:"pitch,omitempty"` - // Optional. Volume gain (in dB) of the normal native volume supported by the - // specific voice, in the range [-96.0, 16.0]. If unset, or set to a value of - // 0.0 (dB), will play at normal native signal amplitude. A value of -6.0 (dB) - // will play at approximately half the amplitude of the normal native signal - // amplitude. A value of +6.0 (dB) will play at approximately twice the - // amplitude of the normal native signal amplitude. We strongly recommend not - // to exceed +10 (dB) as there's usually no effective increase in loudness for - // any value greater than that. - VolumeGainDb float64 `protobuf:"fixed64,3,opt,name=volume_gain_db,json=volumeGainDb,proto3" json:"volume_gain_db,omitempty"` - // Optional. An identifier which selects 'audio effects' profiles that are - // applied on (post synthesized) text to speech. Effects are applied on top of - // each other in the order they are given. - EffectsProfileId []string `protobuf:"bytes,5,rep,name=effects_profile_id,json=effectsProfileId,proto3" json:"effects_profile_id,omitempty"` - // Optional. The desired voice of the synthesized audio. - Voice *VoiceSelectionParams `protobuf:"bytes,4,opt,name=voice,proto3" json:"voice,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3ff9be2146363af6, []int{2} -} - -func (m *SynthesizeSpeechConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SynthesizeSpeechConfig.Unmarshal(m, b) -} -func (m *SynthesizeSpeechConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SynthesizeSpeechConfig.Marshal(b, m, deterministic) -} -func (m *SynthesizeSpeechConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_SynthesizeSpeechConfig.Merge(m, src) -} -func (m *SynthesizeSpeechConfig) XXX_Size() int { - return xxx_messageInfo_SynthesizeSpeechConfig.Size(m) -} -func (m *SynthesizeSpeechConfig) XXX_DiscardUnknown() { - xxx_messageInfo_SynthesizeSpeechConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_SynthesizeSpeechConfig proto.InternalMessageInfo - -func (m *SynthesizeSpeechConfig) GetSpeakingRate() float64 { - if m != nil { - return m.SpeakingRate - } - return 0 -} - -func (m *SynthesizeSpeechConfig) GetPitch() float64 { - if m != nil { - return m.Pitch - } - return 0 -} - -func (m *SynthesizeSpeechConfig) GetVolumeGainDb() float64 { - if m != nil { - return m.VolumeGainDb - } - return 0 -} - -func (m *SynthesizeSpeechConfig) GetEffectsProfileId() []string { - if m != nil { - return m.EffectsProfileId - } - return nil -} - -func (m *SynthesizeSpeechConfig) GetVoice() *VoiceSelectionParams { - if m != nil { - return m.Voice - } - return nil -} - -// Instructs the speech synthesizer on how to generate the output audio content. -type OutputAudioConfig struct { - // Required. Audio encoding of the synthesized audio content. - AudioEncoding OutputAudioEncoding `protobuf:"varint,1,opt,name=audio_encoding,json=audioEncoding,proto3,enum=google.cloud.dialogflow.v2.OutputAudioEncoding" json:"audio_encoding,omitempty"` - // Optional. The synthesis sample rate (in hertz) for this audio. If not - // provided, then the synthesizer will use the default sample rate based on - // the audio encoding. If this is different from the voice's natural sample - // rate, then the synthesizer will honor this request by converting to the - // desired sample rate (which might result in worse audio quality). - SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"` - // Optional. Configuration of how speech should be synthesized. - SynthesizeSpeechConfig *SynthesizeSpeechConfig `protobuf:"bytes,3,opt,name=synthesize_speech_config,json=synthesizeSpeechConfig,proto3" json:"synthesize_speech_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3ff9be2146363af6, []int{3} -} - -func (m *OutputAudioConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OutputAudioConfig.Unmarshal(m, b) -} -func (m *OutputAudioConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OutputAudioConfig.Marshal(b, m, deterministic) -} -func (m *OutputAudioConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_OutputAudioConfig.Merge(m, src) -} -func (m *OutputAudioConfig) XXX_Size() int { - return xxx_messageInfo_OutputAudioConfig.Size(m) -} -func (m *OutputAudioConfig) XXX_DiscardUnknown() { - xxx_messageInfo_OutputAudioConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_OutputAudioConfig proto.InternalMessageInfo - -func (m *OutputAudioConfig) GetAudioEncoding() OutputAudioEncoding { - if m != nil { - return m.AudioEncoding - } - return OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_UNSPECIFIED -} - -func (m *OutputAudioConfig) GetSampleRateHertz() int32 { - if m != nil { - return m.SampleRateHertz - } - return 0 -} - -func (m *OutputAudioConfig) GetSynthesizeSpeechConfig() *SynthesizeSpeechConfig { - if m != nil { - return m.SynthesizeSpeechConfig - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.dialogflow.v2.AudioEncoding", AudioEncoding_name, AudioEncoding_value) - proto.RegisterEnum("google.cloud.dialogflow.v2.SpeechModelVariant", SpeechModelVariant_name, SpeechModelVariant_value) - proto.RegisterEnum("google.cloud.dialogflow.v2.SsmlVoiceGender", SsmlVoiceGender_name, SsmlVoiceGender_value) - proto.RegisterEnum("google.cloud.dialogflow.v2.OutputAudioEncoding", OutputAudioEncoding_name, OutputAudioEncoding_value) - proto.RegisterType((*InputAudioConfig)(nil), "google.cloud.dialogflow.v2.InputAudioConfig") - proto.RegisterType((*VoiceSelectionParams)(nil), "google.cloud.dialogflow.v2.VoiceSelectionParams") - proto.RegisterType((*SynthesizeSpeechConfig)(nil), "google.cloud.dialogflow.v2.SynthesizeSpeechConfig") - proto.RegisterType((*OutputAudioConfig)(nil), "google.cloud.dialogflow.v2.OutputAudioConfig") -} - -func init() { - proto.RegisterFile("google/cloud/dialogflow/v2/audio_config.proto", fileDescriptor_3ff9be2146363af6) -} - -var fileDescriptor_3ff9be2146363af6 = []byte{ - // 938 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x4d, 0x6f, 0xe3, 0x44, - 0x18, 0xc6, 0x49, 0xbb, 0x6c, 0xdf, 0xa6, 0xad, 0x77, 0xb6, 0x74, 0xdd, 0xd0, 0x96, 0xb4, 0xdd, - 0x95, 0xd2, 0x02, 0x09, 0x64, 0x25, 0x2e, 0x9c, 0x9c, 0x78, 0x9a, 0x58, 0xca, 0x97, 0xc6, 0x49, - 0x0a, 0x5c, 0x46, 0x53, 0x7b, 0xe2, 0x58, 0x38, 0x1e, 0xcb, 0x76, 0x02, 0xec, 0x9d, 0x23, 0xbf, - 0x01, 0x09, 0x71, 0xe2, 0x17, 0xf1, 0x2f, 0xb8, 0x22, 0x71, 0x41, 0x1e, 0xa7, 0xdb, 0x6e, 0x92, - 0xcd, 0x69, 0x6f, 0x33, 0xcf, 0xf3, 0x7e, 0x3f, 0xef, 0x68, 0xe0, 0x4b, 0x57, 0x08, 0xd7, 0xe7, - 0x55, 0xdb, 0x17, 0x33, 0xa7, 0xea, 0x78, 0xcc, 0x17, 0xee, 0xd8, 0x17, 0x3f, 0x55, 0xe7, 0xb5, - 0x2a, 0x9b, 0x39, 0x9e, 0xa0, 0xb6, 0x08, 0xc6, 0x9e, 0x5b, 0x09, 0x23, 0x91, 0x08, 0x54, 0xcc, - 0xcc, 0x2b, 0xd2, 0xbc, 0xf2, 0x60, 0x5e, 0x99, 0xd7, 0x8a, 0x67, 0x8b, 0x50, 0xd2, 0xf2, 0x6e, - 0x36, 0xae, 0x3a, 0xb3, 0x88, 0x25, 0x9e, 0x08, 0x32, 0xdf, 0xe2, 0xc9, 0x82, 0x67, 0xa1, 0x57, - 0x65, 0x41, 0x20, 0x12, 0x49, 0xc6, 0x19, 0x7b, 0xf1, 0x77,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e, 0xd6, 0x6f, - 0x1f, 0x6e, 0xff, 0x2a, 0xca, 0x1f, 0xb9, 0x9c, 0x71, 0xf3, 0x57, 0xae, 0xd8, 0xcc, 0xc2, 0x35, - 0x64, 0x7a, 0xe3, 0x21, 0xfd, 0xa8, 0x76, 0xf7, 0x44, 0x46, 0x7d, 0xfd, 0x7f, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xe0, 0x4f, 0x78, 0x7d, 0xaf, 0x07, 0x00, 0x00, -} 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 deleted file mode 100644 index adef2548..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/context.pb.go +++ /dev/null @@ -1,789 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/dialogflow/v2/context.proto - -package dialogflow - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _struct "github.com/golang/protobuf/ptypes/struct" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Represents a context. -type Context struct { - // Required. The unique identifier of the context. Format: - // `projects//agent/sessions//contexts/`. - // - // The `Context ID` is always converted to lowercase, may only contain - // characters in [a-zA-Z0-9_-%] and may be at most 250 bytes long. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Optional. The number of conversational query requests after which the - // context expires. If set to `0` (the default) the context expires - // immediately. Contexts expire automatically after 20 minutes if there - // are no matching queries. - LifespanCount int32 `protobuf:"varint,2,opt,name=lifespan_count,json=lifespanCount,proto3" json:"lifespan_count,omitempty"` - // Optional. The collection of parameters associated with this context. - // Refer to [this - // doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters) - // for syntax. - Parameters *_struct.Struct `protobuf:"bytes,3,opt,name=parameters,proto3" json:"parameters,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e7e2e3bf8515c3b3, []int{0} -} - -func (m *Context) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Context.Unmarshal(m, b) -} -func (m *Context) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Context.Marshal(b, m, deterministic) -} -func (m *Context) XXX_Merge(src proto.Message) { - xxx_messageInfo_Context.Merge(m, src) -} -func (m *Context) XXX_Size() int { - return xxx_messageInfo_Context.Size(m) -} -func (m *Context) XXX_DiscardUnknown() { - xxx_messageInfo_Context.DiscardUnknown(m) -} - -var xxx_messageInfo_Context proto.InternalMessageInfo - -func (m *Context) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Context) GetLifespanCount() int32 { - if m != nil { - return m.LifespanCount - } - return 0 -} - -func (m *Context) GetParameters() *_struct.Struct { - if m != nil { - return m.Parameters - } - return nil -} - -// The request message for [Contexts.ListContexts][google.cloud.dialogflow.v2.Contexts.ListContexts]. -type ListContextsRequest struct { - // Required. The session to list all contexts from. - // Format: `projects//agent/sessions/`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. The maximum number of items to return in a single page. By - // default 100 and at most 1000. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional. The next_page_token value returned from a previous list request. - 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 *ListContextsRequest) Reset() { *m = ListContextsRequest{} } -func (m *ListContextsRequest) String() string { return proto.CompactTextString(m) } -func (*ListContextsRequest) ProtoMessage() {} -func (*ListContextsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e7e2e3bf8515c3b3, []int{1} -} - -func (m *ListContextsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListContextsRequest.Unmarshal(m, b) -} -func (m *ListContextsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListContextsRequest.Marshal(b, m, deterministic) -} -func (m *ListContextsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListContextsRequest.Merge(m, src) -} -func (m *ListContextsRequest) XXX_Size() int { - return xxx_messageInfo_ListContextsRequest.Size(m) -} -func (m *ListContextsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListContextsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListContextsRequest proto.InternalMessageInfo - -func (m *ListContextsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListContextsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListContextsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// The response message for [Contexts.ListContexts][google.cloud.dialogflow.v2.Contexts.ListContexts]. -type ListContextsResponse struct { - // The list of contexts. There will be a maximum number of items - // returned based on the page_size field in the request. - Contexts []*Context `protobuf:"bytes,1,rep,name=contexts,proto3" json:"contexts,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 *ListContextsResponse) Reset() { *m = ListContextsResponse{} } -func (m *ListContextsResponse) String() string { return proto.CompactTextString(m) } -func (*ListContextsResponse) ProtoMessage() {} -func (*ListContextsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e7e2e3bf8515c3b3, []int{2} -} - -func (m *ListContextsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListContextsResponse.Unmarshal(m, b) -} -func (m *ListContextsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListContextsResponse.Marshal(b, m, deterministic) -} -func (m *ListContextsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListContextsResponse.Merge(m, src) -} -func (m *ListContextsResponse) XXX_Size() int { - return xxx_messageInfo_ListContextsResponse.Size(m) -} -func (m *ListContextsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListContextsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListContextsResponse proto.InternalMessageInfo - -func (m *ListContextsResponse) GetContexts() []*Context { - if m != nil { - return m.Contexts - } - return nil -} - -func (m *ListContextsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The request message for [Contexts.GetContext][google.cloud.dialogflow.v2.Contexts.GetContext]. -type GetContextRequest struct { - // Required. The name of the context. Format: - // `projects//agent/sessions//contexts/`. - 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 *GetContextRequest) Reset() { *m = GetContextRequest{} } -func (m *GetContextRequest) String() string { return proto.CompactTextString(m) } -func (*GetContextRequest) ProtoMessage() {} -func (*GetContextRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e7e2e3bf8515c3b3, []int{3} -} - -func (m *GetContextRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetContextRequest.Unmarshal(m, b) -} -func (m *GetContextRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetContextRequest.Marshal(b, m, deterministic) -} -func (m *GetContextRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetContextRequest.Merge(m, src) -} -func (m *GetContextRequest) XXX_Size() int { - return xxx_messageInfo_GetContextRequest.Size(m) -} -func (m *GetContextRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetContextRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetContextRequest proto.InternalMessageInfo - -func (m *GetContextRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The request message for [Contexts.CreateContext][google.cloud.dialogflow.v2.Contexts.CreateContext]. -type CreateContextRequest struct { - // Required. The session to create a context for. - // Format: `projects//agent/sessions/`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The context to create. - Context *Context `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e7e2e3bf8515c3b3, []int{4} -} - -func (m *CreateContextRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateContextRequest.Unmarshal(m, b) -} -func (m *CreateContextRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateContextRequest.Marshal(b, m, deterministic) -} -func (m *CreateContextRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateContextRequest.Merge(m, src) -} -func (m *CreateContextRequest) XXX_Size() int { - return xxx_messageInfo_CreateContextRequest.Size(m) -} -func (m *CreateContextRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateContextRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateContextRequest proto.InternalMessageInfo - -func (m *CreateContextRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateContextRequest) GetContext() *Context { - if m != nil { - return m.Context - } - return nil -} - -// The request message for [Contexts.UpdateContext][google.cloud.dialogflow.v2.Contexts.UpdateContext]. -type UpdateContextRequest struct { - // Required. The context to update. - Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` - // Optional. The mask to control which fields get 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 *UpdateContextRequest) Reset() { *m = UpdateContextRequest{} } -func (m *UpdateContextRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateContextRequest) ProtoMessage() {} -func (*UpdateContextRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e7e2e3bf8515c3b3, []int{5} -} - -func (m *UpdateContextRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateContextRequest.Unmarshal(m, b) -} -func (m *UpdateContextRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateContextRequest.Marshal(b, m, deterministic) -} -func (m *UpdateContextRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateContextRequest.Merge(m, src) -} -func (m *UpdateContextRequest) XXX_Size() int { - return xxx_messageInfo_UpdateContextRequest.Size(m) -} -func (m *UpdateContextRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateContextRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateContextRequest proto.InternalMessageInfo - -func (m *UpdateContextRequest) GetContext() *Context { - if m != nil { - return m.Context - } - return nil -} - -func (m *UpdateContextRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// The request message for [Contexts.DeleteContext][google.cloud.dialogflow.v2.Contexts.DeleteContext]. -type DeleteContextRequest struct { - // Required. The name of the context to delete. Format: - // `projects//agent/sessions//contexts/`. - 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 *DeleteContextRequest) Reset() { *m = DeleteContextRequest{} } -func (m *DeleteContextRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteContextRequest) ProtoMessage() {} -func (*DeleteContextRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e7e2e3bf8515c3b3, []int{6} -} - -func (m *DeleteContextRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteContextRequest.Unmarshal(m, b) -} -func (m *DeleteContextRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteContextRequest.Marshal(b, m, deterministic) -} -func (m *DeleteContextRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteContextRequest.Merge(m, src) -} -func (m *DeleteContextRequest) XXX_Size() int { - return xxx_messageInfo_DeleteContextRequest.Size(m) -} -func (m *DeleteContextRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteContextRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteContextRequest proto.InternalMessageInfo - -func (m *DeleteContextRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The request message for [Contexts.DeleteAllContexts][google.cloud.dialogflow.v2.Contexts.DeleteAllContexts]. -type DeleteAllContextsRequest struct { - // Required. The name of the session to delete all contexts from. Format: - // `projects//agent/sessions/`. - 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 *DeleteAllContextsRequest) Reset() { *m = DeleteAllContextsRequest{} } -func (m *DeleteAllContextsRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteAllContextsRequest) ProtoMessage() {} -func (*DeleteAllContextsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e7e2e3bf8515c3b3, []int{7} -} - -func (m *DeleteAllContextsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteAllContextsRequest.Unmarshal(m, b) -} -func (m *DeleteAllContextsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteAllContextsRequest.Marshal(b, m, deterministic) -} -func (m *DeleteAllContextsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteAllContextsRequest.Merge(m, src) -} -func (m *DeleteAllContextsRequest) XXX_Size() int { - return xxx_messageInfo_DeleteAllContextsRequest.Size(m) -} -func (m *DeleteAllContextsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteAllContextsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteAllContextsRequest proto.InternalMessageInfo - -func (m *DeleteAllContextsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func init() { - proto.RegisterType((*Context)(nil), "google.cloud.dialogflow.v2.Context") - proto.RegisterType((*ListContextsRequest)(nil), "google.cloud.dialogflow.v2.ListContextsRequest") - proto.RegisterType((*ListContextsResponse)(nil), "google.cloud.dialogflow.v2.ListContextsResponse") - proto.RegisterType((*GetContextRequest)(nil), "google.cloud.dialogflow.v2.GetContextRequest") - proto.RegisterType((*CreateContextRequest)(nil), "google.cloud.dialogflow.v2.CreateContextRequest") - proto.RegisterType((*UpdateContextRequest)(nil), "google.cloud.dialogflow.v2.UpdateContextRequest") - proto.RegisterType((*DeleteContextRequest)(nil), "google.cloud.dialogflow.v2.DeleteContextRequest") - proto.RegisterType((*DeleteAllContextsRequest)(nil), "google.cloud.dialogflow.v2.DeleteAllContextsRequest") -} - -func init() { - proto.RegisterFile("google/cloud/dialogflow/v2/context.proto", fileDescriptor_e7e2e3bf8515c3b3) -} - -var fileDescriptor_e7e2e3bf8515c3b3 = []byte{ - // 871 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xcf, 0x6f, 0xe3, 0x44, - 0x14, 0xd6, 0xa4, 0xb0, 0x9b, 0x4c, 0x37, 0xa0, 0x1d, 0x22, 0x9a, 0xf5, 0xae, 0x20, 0x78, 0x25, - 0x14, 0x22, 0xd6, 0x03, 0x59, 0x24, 0xb4, 0x65, 0x17, 0x70, 0x12, 0x5a, 0x09, 0x81, 0x54, 0xa5, - 0x14, 0x09, 0x2e, 0xd1, 0xd4, 0x99, 0xb8, 0xa6, 0x8e, 0xc7, 0x78, 0xc6, 0x4d, 0x68, 0x14, 0x21, - 0xf1, 0x2f, 0xc0, 0xad, 0x3d, 0x71, 0xec, 0x11, 0x89, 0x7f, 0x82, 0x23, 0xdc, 0x38, 0xf5, 0xc0, - 0x89, 0x23, 0xe2, 0x80, 0x38, 0x21, 0xdb, 0xe3, 0xd8, 0x89, 0x53, 0x37, 0x29, 0x37, 0xfb, 0xfd, - 0xfc, 0xe6, 0x7b, 0xef, 0x1b, 0x1b, 0xd6, 0x4d, 0xc6, 0x4c, 0x9b, 0x62, 0xc3, 0x66, 0x7e, 0x1f, - 0xf7, 0x2d, 0x62, 0x33, 0x73, 0x60, 0xb3, 0x11, 0x3e, 0x69, 0x62, 0x83, 0x39, 0x82, 0x8e, 0x85, - 0xe6, 0x7a, 0x4c, 0x30, 0xa4, 0x44, 0x91, 0x5a, 0x18, 0xa9, 0x25, 0x91, 0xda, 0x49, 0x53, 0x79, - 0x20, 0xab, 0x10, 0xd7, 0xc2, 0xc4, 0x71, 0x98, 0x20, 0xc2, 0x62, 0x0e, 0x8f, 0x32, 0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87, 0xd8, 0x04, 0xf4, 0x0f, 0x00, 0x96, 0xe7, 0x54, 0x95, 0x0f, 0x7a, 0x99, 0x00, 0x95, - 0x97, 0x33, 0x2a, 0xfe, 0x28, 0xf8, 0xa8, 0xc6, 0x83, 0x6f, 0xdc, 0x60, 0xf0, 0xe7, 0x00, 0xde, - 0xcd, 0xa8, 0x12, 0xbd, 0x73, 0x3d, 0xb4, 0xac, 0x88, 0x57, 0x84, 0xb7, 0xce, 0xcc, 0x95, 0xf1, - 0x2f, 0xfa, 0xbd, 0x2b, 0xef, 0x97, 0x5f, 0xf5, 0x2f, 0x8e, 0x84, 0x70, 0xf9, 0x36, 0xc6, 0xa3, - 0x51, 0xe6, 0xf2, 0x21, 0xbe, 0x38, 0x8a, 0x7e, 0x9b, 0x1e, 0xb9, 0x36, 0x11, 0x03, 0xe6, 0x0d, - 0xdf, 0xbc, 0x2e, 0x3c, 0x69, 0xd5, 0x3a, 0x03, 0xf0, 0x15, 0x83, 0x0d, 0x73, 0x88, 0x68, 0xdd, - 0x91, 0x04, 0xec, 0x05, 0xc7, 0xdd, 0x03, 0x5f, 0x76, 0x64, 0xac, 0xc9, 0x6c, 0xe2, 0x98, 0x1a, - 0xf3, 0x4c, 0x6c, 0x52, 0x27, 0x24, 0x03, 0x27, 0xdd, 0x96, 0xfd, 0xca, 0xbd, 0x97, 0xbc, 0xfd, - 0x03, 0xc0, 0x8f, 0x85, 0x42, 0x67, 0xe7, 0xa2, 0xa0, 0xec, 0x46, 0xe5, 0xda, 0x61, 0xeb, 0x4e, - 0xd2, 0xfa, 0xf3, 0xe6, 0xe1, 0xad, 0xb0, 0xea, 0xe3, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0xe2, - 0xc0, 0x75, 0xc6, 0x1f, 0x0a, 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 - -// ContextsClient is the client API for Contexts service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ContextsClient interface { - // Returns the list of all contexts in the specified session. - ListContexts(ctx context.Context, in *ListContextsRequest, opts ...grpc.CallOption) (*ListContextsResponse, error) - // Retrieves the specified context. - GetContext(ctx context.Context, in *GetContextRequest, opts ...grpc.CallOption) (*Context, error) - // Creates a context. - // - // If the specified context already exists, overrides the context. - CreateContext(ctx context.Context, in *CreateContextRequest, opts ...grpc.CallOption) (*Context, error) - // Updates the specified context. - UpdateContext(ctx context.Context, in *UpdateContextRequest, opts ...grpc.CallOption) (*Context, error) - // Deletes the specified context. - DeleteContext(ctx context.Context, in *DeleteContextRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Deletes all active contexts in the specified session. - DeleteAllContexts(ctx context.Context, in *DeleteAllContextsRequest, opts ...grpc.CallOption) (*empty.Empty, error) -} - -type contextsClient struct { - cc *grpc.ClientConn -} - -func NewContextsClient(cc *grpc.ClientConn) ContextsClient { - return &contextsClient{cc} -} - -func (c *contextsClient) ListContexts(ctx context.Context, in *ListContextsRequest, opts ...grpc.CallOption) (*ListContextsResponse, error) { - out := new(ListContextsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Contexts/ListContexts", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *contextsClient) GetContext(ctx context.Context, in *GetContextRequest, opts ...grpc.CallOption) (*Context, error) { - out := new(Context) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Contexts/GetContext", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *contextsClient) CreateContext(ctx context.Context, in *CreateContextRequest, opts ...grpc.CallOption) (*Context, error) { - out := new(Context) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Contexts/CreateContext", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *contextsClient) UpdateContext(ctx context.Context, in *UpdateContextRequest, opts ...grpc.CallOption) (*Context, error) { - out := new(Context) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Contexts/UpdateContext", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *contextsClient) DeleteContext(ctx context.Context, in *DeleteContextRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Contexts/DeleteContext", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *contextsClient) DeleteAllContexts(ctx context.Context, in *DeleteAllContextsRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Contexts/DeleteAllContexts", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ContextsServer is the server API for Contexts service. -type ContextsServer interface { - // Returns the list of all contexts in the specified session. - ListContexts(context.Context, *ListContextsRequest) (*ListContextsResponse, error) - // Retrieves the specified context. - GetContext(context.Context, *GetContextRequest) (*Context, error) - // Creates a context. - // - // If the specified context already exists, overrides the context. - CreateContext(context.Context, *CreateContextRequest) (*Context, error) - // Updates the specified context. - UpdateContext(context.Context, *UpdateContextRequest) (*Context, error) - // Deletes the specified context. - DeleteContext(context.Context, *DeleteContextRequest) (*empty.Empty, error) - // Deletes all active contexts in the specified session. - DeleteAllContexts(context.Context, *DeleteAllContextsRequest) (*empty.Empty, error) -} - -// UnimplementedContextsServer can be embedded to have forward compatible implementations. -type UnimplementedContextsServer struct { -} - -func (*UnimplementedContextsServer) ListContexts(ctx context.Context, req *ListContextsRequest) (*ListContextsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListContexts not implemented") -} -func (*UnimplementedContextsServer) GetContext(ctx context.Context, req *GetContextRequest) (*Context, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetContext not implemented") -} -func (*UnimplementedContextsServer) CreateContext(ctx context.Context, req *CreateContextRequest) (*Context, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateContext not implemented") -} -func (*UnimplementedContextsServer) UpdateContext(ctx context.Context, req *UpdateContextRequest) (*Context, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateContext not implemented") -} -func (*UnimplementedContextsServer) DeleteContext(ctx context.Context, req *DeleteContextRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteContext not implemented") -} -func (*UnimplementedContextsServer) DeleteAllContexts(ctx context.Context, req *DeleteAllContextsRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteAllContexts not implemented") -} - -func RegisterContextsServer(s *grpc.Server, srv ContextsServer) { - s.RegisterService(&_Contexts_serviceDesc, srv) -} - -func _Contexts_ListContexts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListContextsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ContextsServer).ListContexts(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.Contexts/ListContexts", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContextsServer).ListContexts(ctx, req.(*ListContextsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Contexts_GetContext_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetContextRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ContextsServer).GetContext(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.Contexts/GetContext", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContextsServer).GetContext(ctx, req.(*GetContextRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Contexts_CreateContext_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateContextRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ContextsServer).CreateContext(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.Contexts/CreateContext", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContextsServer).CreateContext(ctx, req.(*CreateContextRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Contexts_UpdateContext_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateContextRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ContextsServer).UpdateContext(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.Contexts/UpdateContext", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContextsServer).UpdateContext(ctx, req.(*UpdateContextRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Contexts_DeleteContext_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteContextRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ContextsServer).DeleteContext(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.Contexts/DeleteContext", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContextsServer).DeleteContext(ctx, req.(*DeleteContextRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Contexts_DeleteAllContexts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteAllContextsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ContextsServer).DeleteAllContexts(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.Contexts/DeleteAllContexts", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContextsServer).DeleteAllContexts(ctx, req.(*DeleteAllContextsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Contexts_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.dialogflow.v2.Contexts", - HandlerType: (*ContextsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListContexts", - Handler: _Contexts_ListContexts_Handler, - }, - { - MethodName: "GetContext", - Handler: _Contexts_GetContext_Handler, - }, - { - MethodName: "CreateContext", - Handler: _Contexts_CreateContext_Handler, - }, - { - MethodName: "UpdateContext", - Handler: _Contexts_UpdateContext_Handler, - }, - { - MethodName: "DeleteContext", - Handler: _Contexts_DeleteContext_Handler, - }, - { - MethodName: "DeleteAllContexts", - Handler: _Contexts_DeleteAllContexts_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/dialogflow/v2/context.proto", -} 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 deleted file mode 100644 index c2d5de40..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/entity_type.pb.go +++ /dev/null @@ -1,1652 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/dialogflow/v2/entity_type.proto - -package dialogflow - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Represents kinds of entities. -type EntityType_Kind int32 - -const ( - // Not specified. This value should be never used. - EntityType_KIND_UNSPECIFIED EntityType_Kind = 0 - // Map entity types allow mapping of a group of synonyms to a canonical - // value. - EntityType_KIND_MAP EntityType_Kind = 1 - // List entity types contain a set of entries that do not map to canonical - // values. However, list entity types can contain references to other entity - // types (with or without aliases). - EntityType_KIND_LIST EntityType_Kind = 2 - // Regexp entity types allow to specify regular expressions in entries - // values. - EntityType_KIND_REGEXP EntityType_Kind = 3 -) - -var EntityType_Kind_name = map[int32]string{ - 0: "KIND_UNSPECIFIED", - 1: "KIND_MAP", - 2: "KIND_LIST", - 3: "KIND_REGEXP", -} - -var EntityType_Kind_value = map[string]int32{ - "KIND_UNSPECIFIED": 0, - "KIND_MAP": 1, - "KIND_LIST": 2, - "KIND_REGEXP": 3, -} - -func (x EntityType_Kind) String() string { - return proto.EnumName(EntityType_Kind_name, int32(x)) -} - -func (EntityType_Kind) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_252de8d6c5f5c76d, []int{0, 0} -} - -// Represents different entity type expansion modes. Automated expansion -// allows an agent to recognize values that have not been explicitly listed in -// the entity (for example, new kinds of shopping list items). -type EntityType_AutoExpansionMode int32 - -const ( - // Auto expansion disabled for the entity. - EntityType_AUTO_EXPANSION_MODE_UNSPECIFIED EntityType_AutoExpansionMode = 0 - // Allows an agent to recognize values that have not been explicitly - // listed in the entity. - EntityType_AUTO_EXPANSION_MODE_DEFAULT EntityType_AutoExpansionMode = 1 -) - -var EntityType_AutoExpansionMode_name = map[int32]string{ - 0: "AUTO_EXPANSION_MODE_UNSPECIFIED", - 1: "AUTO_EXPANSION_MODE_DEFAULT", -} - -var EntityType_AutoExpansionMode_value = map[string]int32{ - "AUTO_EXPANSION_MODE_UNSPECIFIED": 0, - "AUTO_EXPANSION_MODE_DEFAULT": 1, -} - -func (x EntityType_AutoExpansionMode) String() string { - return proto.EnumName(EntityType_AutoExpansionMode_name, int32(x)) -} - -func (EntityType_AutoExpansionMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_252de8d6c5f5c76d, []int{0, 1} -} - -// Represents an entity type. -// Entity types serve as a tool for extracting parameter values from natural -// language queries. -type EntityType struct { - // The unique identifier of the entity type. - // Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2.EntityTypes.UpdateEntityType] and - // [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2.EntityTypes.BatchUpdateEntityTypes] methods. - // Format: `projects//agent/entityTypes/`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The name of the entity type. - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Required. Indicates the kind of entity type. - Kind EntityType_Kind `protobuf:"varint,3,opt,name=kind,proto3,enum=google.cloud.dialogflow.v2.EntityType_Kind" json:"kind,omitempty"` - // Optional. Indicates whether the entity type can be automatically - // expanded. - AutoExpansionMode EntityType_AutoExpansionMode `protobuf:"varint,4,opt,name=auto_expansion_mode,json=autoExpansionMode,proto3,enum=google.cloud.dialogflow.v2.EntityType_AutoExpansionMode" json:"auto_expansion_mode,omitempty"` - // Optional. The collection of entity entries associated with the entity type. - Entities []*EntityType_Entity `protobuf:"bytes,6,rep,name=entities,proto3" json:"entities,omitempty"` - // Optional. Enables fuzzy entity extraction during classification. - EnableFuzzyExtraction bool `protobuf:"varint,7,opt,name=enable_fuzzy_extraction,json=enableFuzzyExtraction,proto3" json:"enable_fuzzy_extraction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_252de8d6c5f5c76d, []int{0} -} - -func (m *EntityType) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EntityType.Unmarshal(m, b) -} -func (m *EntityType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EntityType.Marshal(b, m, deterministic) -} -func (m *EntityType) XXX_Merge(src proto.Message) { - xxx_messageInfo_EntityType.Merge(m, src) -} -func (m *EntityType) XXX_Size() int { - return xxx_messageInfo_EntityType.Size(m) -} -func (m *EntityType) XXX_DiscardUnknown() { - xxx_messageInfo_EntityType.DiscardUnknown(m) -} - -var xxx_messageInfo_EntityType proto.InternalMessageInfo - -func (m *EntityType) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *EntityType) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *EntityType) GetKind() EntityType_Kind { - if m != nil { - return m.Kind - } - return EntityType_KIND_UNSPECIFIED -} - -func (m *EntityType) GetAutoExpansionMode() EntityType_AutoExpansionMode { - if m != nil { - return m.AutoExpansionMode - } - return EntityType_AUTO_EXPANSION_MODE_UNSPECIFIED -} - -func (m *EntityType) GetEntities() []*EntityType_Entity { - if m != nil { - return m.Entities - } - return nil -} - -func (m *EntityType) GetEnableFuzzyExtraction() bool { - if m != nil { - return m.EnableFuzzyExtraction - } - return false -} - -// An **entity entry** for an associated entity type. -type EntityType_Entity struct { - // Required. The primary value associated with this entity entry. - // For example, if the entity type is *vegetable*, the value could be - // *scallions*. - // - // For `KIND_MAP` entity types: - // - // * A canonical value to be used in place of synonyms. - // - // For `KIND_LIST` entity types: - // - // * A string that can contain references to other entity types (with or - // without aliases). - Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` - // Required. A collection of value synonyms. For example, if the entity type - // is *vegetable*, and `value` is *scallions*, a synonym could be *green - // onions*. - // - // For `KIND_LIST` entity types: - // - // * This collection must contain exactly one synonym equal to `value`. - Synonyms []string `protobuf:"bytes,2,rep,name=synonyms,proto3" json:"synonyms,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_252de8d6c5f5c76d, []int{0, 0} -} - -func (m *EntityType_Entity) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EntityType_Entity.Unmarshal(m, b) -} -func (m *EntityType_Entity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EntityType_Entity.Marshal(b, m, deterministic) -} -func (m *EntityType_Entity) XXX_Merge(src proto.Message) { - xxx_messageInfo_EntityType_Entity.Merge(m, src) -} -func (m *EntityType_Entity) XXX_Size() int { - return xxx_messageInfo_EntityType_Entity.Size(m) -} -func (m *EntityType_Entity) XXX_DiscardUnknown() { - xxx_messageInfo_EntityType_Entity.DiscardUnknown(m) -} - -var xxx_messageInfo_EntityType_Entity proto.InternalMessageInfo - -func (m *EntityType_Entity) GetValue() string { - if m != nil { - return m.Value - } - return "" -} - -func (m *EntityType_Entity) GetSynonyms() []string { - if m != nil { - return m.Synonyms - } - return nil -} - -// The request message for [EntityTypes.ListEntityTypes][google.cloud.dialogflow.v2.EntityTypes.ListEntityTypes]. -type ListEntityTypesRequest struct { - // Required. The agent to list all entity types from. - // Format: `projects//agent`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. The language to list entity synonyms for. If not specified, - // the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // Optional. The maximum number of items to return in a single page. By - // default 100 and at most 1000. - PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional. The next_page_token value returned from a previous list request. - 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 *ListEntityTypesRequest) Reset() { *m = ListEntityTypesRequest{} } -func (m *ListEntityTypesRequest) String() string { return proto.CompactTextString(m) } -func (*ListEntityTypesRequest) ProtoMessage() {} -func (*ListEntityTypesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_252de8d6c5f5c76d, []int{1} -} - -func (m *ListEntityTypesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListEntityTypesRequest.Unmarshal(m, b) -} -func (m *ListEntityTypesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListEntityTypesRequest.Marshal(b, m, deterministic) -} -func (m *ListEntityTypesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListEntityTypesRequest.Merge(m, src) -} -func (m *ListEntityTypesRequest) XXX_Size() int { - return xxx_messageInfo_ListEntityTypesRequest.Size(m) -} -func (m *ListEntityTypesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListEntityTypesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListEntityTypesRequest proto.InternalMessageInfo - -func (m *ListEntityTypesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListEntityTypesRequest) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *ListEntityTypesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListEntityTypesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// The response message for [EntityTypes.ListEntityTypes][google.cloud.dialogflow.v2.EntityTypes.ListEntityTypes]. -type ListEntityTypesResponse struct { - // The list of agent entity types. There will be a maximum number of items - // returned based on the page_size field in the request. - EntityTypes []*EntityType `protobuf:"bytes,1,rep,name=entity_types,json=entityTypes,proto3" json:"entity_types,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 *ListEntityTypesResponse) Reset() { *m = ListEntityTypesResponse{} } -func (m *ListEntityTypesResponse) String() string { return proto.CompactTextString(m) } -func (*ListEntityTypesResponse) ProtoMessage() {} -func (*ListEntityTypesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_252de8d6c5f5c76d, []int{2} -} - -func (m *ListEntityTypesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListEntityTypesResponse.Unmarshal(m, b) -} -func (m *ListEntityTypesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListEntityTypesResponse.Marshal(b, m, deterministic) -} -func (m *ListEntityTypesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListEntityTypesResponse.Merge(m, src) -} -func (m *ListEntityTypesResponse) XXX_Size() int { - return xxx_messageInfo_ListEntityTypesResponse.Size(m) -} -func (m *ListEntityTypesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListEntityTypesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListEntityTypesResponse proto.InternalMessageInfo - -func (m *ListEntityTypesResponse) GetEntityTypes() []*EntityType { - if m != nil { - return m.EntityTypes - } - return nil -} - -func (m *ListEntityTypesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The request message for [EntityTypes.GetEntityType][google.cloud.dialogflow.v2.EntityTypes.GetEntityType]. -type GetEntityTypeRequest struct { - // Required. The name of the entity type. - // Format: `projects//agent/entityTypes/`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Optional. The language to retrieve entity synonyms for. If not specified, - // the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - 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 *GetEntityTypeRequest) Reset() { *m = GetEntityTypeRequest{} } -func (m *GetEntityTypeRequest) String() string { return proto.CompactTextString(m) } -func (*GetEntityTypeRequest) ProtoMessage() {} -func (*GetEntityTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_252de8d6c5f5c76d, []int{3} -} - -func (m *GetEntityTypeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetEntityTypeRequest.Unmarshal(m, b) -} -func (m *GetEntityTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetEntityTypeRequest.Marshal(b, m, deterministic) -} -func (m *GetEntityTypeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetEntityTypeRequest.Merge(m, src) -} -func (m *GetEntityTypeRequest) XXX_Size() int { - return xxx_messageInfo_GetEntityTypeRequest.Size(m) -} -func (m *GetEntityTypeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetEntityTypeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetEntityTypeRequest proto.InternalMessageInfo - -func (m *GetEntityTypeRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *GetEntityTypeRequest) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -// The request message for [EntityTypes.CreateEntityType][google.cloud.dialogflow.v2.EntityTypes.CreateEntityType]. -type CreateEntityTypeRequest struct { - // Required. The agent to create a entity type for. - // Format: `projects//agent`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The entity type to create. - EntityType *EntityType `protobuf:"bytes,2,opt,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty"` - // Optional. The language of entity synonyms defined in `entity_type`. If not - // specified, the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - 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 *CreateEntityTypeRequest) Reset() { *m = CreateEntityTypeRequest{} } -func (m *CreateEntityTypeRequest) String() string { return proto.CompactTextString(m) } -func (*CreateEntityTypeRequest) ProtoMessage() {} -func (*CreateEntityTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_252de8d6c5f5c76d, []int{4} -} - -func (m *CreateEntityTypeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateEntityTypeRequest.Unmarshal(m, b) -} -func (m *CreateEntityTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateEntityTypeRequest.Marshal(b, m, deterministic) -} -func (m *CreateEntityTypeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateEntityTypeRequest.Merge(m, src) -} -func (m *CreateEntityTypeRequest) XXX_Size() int { - return xxx_messageInfo_CreateEntityTypeRequest.Size(m) -} -func (m *CreateEntityTypeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateEntityTypeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateEntityTypeRequest proto.InternalMessageInfo - -func (m *CreateEntityTypeRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateEntityTypeRequest) GetEntityType() *EntityType { - if m != nil { - return m.EntityType - } - return nil -} - -func (m *CreateEntityTypeRequest) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -// The request message for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2.EntityTypes.UpdateEntityType]. -type UpdateEntityTypeRequest struct { - // Required. The entity type to update. - EntityType *EntityType `protobuf:"bytes,1,opt,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty"` - // Optional. The language of entity synonyms defined in `entity_type`. If not - // specified, the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // Optional. The 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 *UpdateEntityTypeRequest) Reset() { *m = UpdateEntityTypeRequest{} } -func (m *UpdateEntityTypeRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateEntityTypeRequest) ProtoMessage() {} -func (*UpdateEntityTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_252de8d6c5f5c76d, []int{5} -} - -func (m *UpdateEntityTypeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateEntityTypeRequest.Unmarshal(m, b) -} -func (m *UpdateEntityTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateEntityTypeRequest.Marshal(b, m, deterministic) -} -func (m *UpdateEntityTypeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateEntityTypeRequest.Merge(m, src) -} -func (m *UpdateEntityTypeRequest) XXX_Size() int { - return xxx_messageInfo_UpdateEntityTypeRequest.Size(m) -} -func (m *UpdateEntityTypeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateEntityTypeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateEntityTypeRequest proto.InternalMessageInfo - -func (m *UpdateEntityTypeRequest) GetEntityType() *EntityType { - if m != nil { - return m.EntityType - } - return nil -} - -func (m *UpdateEntityTypeRequest) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *UpdateEntityTypeRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// The request message for [EntityTypes.DeleteEntityType][google.cloud.dialogflow.v2.EntityTypes.DeleteEntityType]. -type DeleteEntityTypeRequest struct { - // Required. The name of the entity type to delete. - // Format: `projects//agent/entityTypes/`. - 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 *DeleteEntityTypeRequest) Reset() { *m = DeleteEntityTypeRequest{} } -func (m *DeleteEntityTypeRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteEntityTypeRequest) ProtoMessage() {} -func (*DeleteEntityTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_252de8d6c5f5c76d, []int{6} -} - -func (m *DeleteEntityTypeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteEntityTypeRequest.Unmarshal(m, b) -} -func (m *DeleteEntityTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteEntityTypeRequest.Marshal(b, m, deterministic) -} -func (m *DeleteEntityTypeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteEntityTypeRequest.Merge(m, src) -} -func (m *DeleteEntityTypeRequest) XXX_Size() int { - return xxx_messageInfo_DeleteEntityTypeRequest.Size(m) -} -func (m *DeleteEntityTypeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteEntityTypeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteEntityTypeRequest proto.InternalMessageInfo - -func (m *DeleteEntityTypeRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The request message for [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2.EntityTypes.BatchUpdateEntityTypes]. -type BatchUpdateEntityTypesRequest struct { - // Required. The name of the agent to update or create entity types in. - // Format: `projects//agent`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The source of the entity type batch. - // - // For each entity type in the batch: - // - // * If `name` is specified, we update an existing entity type. - // * If `name` is not specified, we create a new entity type. - // - // Types that are valid to be assigned to EntityTypeBatch: - // *BatchUpdateEntityTypesRequest_EntityTypeBatchUri - // *BatchUpdateEntityTypesRequest_EntityTypeBatchInline - EntityTypeBatch isBatchUpdateEntityTypesRequest_EntityTypeBatch `protobuf_oneof:"entity_type_batch"` - // Optional. The language of entity synonyms defined in `entity_types`. If not - // specified, the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - LanguageCode string `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // Optional. The mask to control which fields get updated. - UpdateMask *field_mask.FieldMask `protobuf:"bytes,5,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 *BatchUpdateEntityTypesRequest) Reset() { *m = BatchUpdateEntityTypesRequest{} } -func (m *BatchUpdateEntityTypesRequest) String() string { return proto.CompactTextString(m) } -func (*BatchUpdateEntityTypesRequest) ProtoMessage() {} -func (*BatchUpdateEntityTypesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_252de8d6c5f5c76d, []int{7} -} - -func (m *BatchUpdateEntityTypesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchUpdateEntityTypesRequest.Unmarshal(m, b) -} -func (m *BatchUpdateEntityTypesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchUpdateEntityTypesRequest.Marshal(b, m, deterministic) -} -func (m *BatchUpdateEntityTypesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchUpdateEntityTypesRequest.Merge(m, src) -} -func (m *BatchUpdateEntityTypesRequest) XXX_Size() int { - return xxx_messageInfo_BatchUpdateEntityTypesRequest.Size(m) -} -func (m *BatchUpdateEntityTypesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchUpdateEntityTypesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchUpdateEntityTypesRequest proto.InternalMessageInfo - -func (m *BatchUpdateEntityTypesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -type isBatchUpdateEntityTypesRequest_EntityTypeBatch interface { - isBatchUpdateEntityTypesRequest_EntityTypeBatch() -} - -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() { -} - -func (m *BatchUpdateEntityTypesRequest) GetEntityTypeBatch() isBatchUpdateEntityTypesRequest_EntityTypeBatch { - if m != nil { - return m.EntityTypeBatch - } - return nil -} - -func (m *BatchUpdateEntityTypesRequest) GetEntityTypeBatchUri() string { - if x, ok := m.GetEntityTypeBatch().(*BatchUpdateEntityTypesRequest_EntityTypeBatchUri); ok { - return x.EntityTypeBatchUri - } - return "" -} - -func (m *BatchUpdateEntityTypesRequest) GetEntityTypeBatchInline() *EntityTypeBatch { - if x, ok := m.GetEntityTypeBatch().(*BatchUpdateEntityTypesRequest_EntityTypeBatchInline); ok { - return x.EntityTypeBatchInline - } - return nil -} - -func (m *BatchUpdateEntityTypesRequest) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *BatchUpdateEntityTypesRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*BatchUpdateEntityTypesRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*BatchUpdateEntityTypesRequest_EntityTypeBatchUri)(nil), - (*BatchUpdateEntityTypesRequest_EntityTypeBatchInline)(nil), - } -} - -// The response message for [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2.EntityTypes.BatchUpdateEntityTypes]. -type BatchUpdateEntityTypesResponse struct { - // The collection of updated or created entity types. - EntityTypes []*EntityType `protobuf:"bytes,1,rep,name=entity_types,json=entityTypes,proto3" json:"entity_types,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchUpdateEntityTypesResponse) Reset() { *m = BatchUpdateEntityTypesResponse{} } -func (m *BatchUpdateEntityTypesResponse) String() string { return proto.CompactTextString(m) } -func (*BatchUpdateEntityTypesResponse) ProtoMessage() {} -func (*BatchUpdateEntityTypesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_252de8d6c5f5c76d, []int{8} -} - -func (m *BatchUpdateEntityTypesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchUpdateEntityTypesResponse.Unmarshal(m, b) -} -func (m *BatchUpdateEntityTypesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchUpdateEntityTypesResponse.Marshal(b, m, deterministic) -} -func (m *BatchUpdateEntityTypesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchUpdateEntityTypesResponse.Merge(m, src) -} -func (m *BatchUpdateEntityTypesResponse) XXX_Size() int { - return xxx_messageInfo_BatchUpdateEntityTypesResponse.Size(m) -} -func (m *BatchUpdateEntityTypesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BatchUpdateEntityTypesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchUpdateEntityTypesResponse proto.InternalMessageInfo - -func (m *BatchUpdateEntityTypesResponse) GetEntityTypes() []*EntityType { - if m != nil { - return m.EntityTypes - } - return nil -} - -// The request message for [EntityTypes.BatchDeleteEntityTypes][google.cloud.dialogflow.v2.EntityTypes.BatchDeleteEntityTypes]. -type BatchDeleteEntityTypesRequest struct { - // Required. The name of the agent to delete all entities types for. Format: - // `projects//agent`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The names entity types to delete. All names must point to the - // same agent as `parent`. - EntityTypeNames []string `protobuf:"bytes,2,rep,name=entity_type_names,json=entityTypeNames,proto3" json:"entity_type_names,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchDeleteEntityTypesRequest) Reset() { *m = BatchDeleteEntityTypesRequest{} } -func (m *BatchDeleteEntityTypesRequest) String() string { return proto.CompactTextString(m) } -func (*BatchDeleteEntityTypesRequest) ProtoMessage() {} -func (*BatchDeleteEntityTypesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_252de8d6c5f5c76d, []int{9} -} - -func (m *BatchDeleteEntityTypesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchDeleteEntityTypesRequest.Unmarshal(m, b) -} -func (m *BatchDeleteEntityTypesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchDeleteEntityTypesRequest.Marshal(b, m, deterministic) -} -func (m *BatchDeleteEntityTypesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchDeleteEntityTypesRequest.Merge(m, src) -} -func (m *BatchDeleteEntityTypesRequest) XXX_Size() int { - return xxx_messageInfo_BatchDeleteEntityTypesRequest.Size(m) -} -func (m *BatchDeleteEntityTypesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchDeleteEntityTypesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchDeleteEntityTypesRequest proto.InternalMessageInfo - -func (m *BatchDeleteEntityTypesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *BatchDeleteEntityTypesRequest) GetEntityTypeNames() []string { - if m != nil { - return m.EntityTypeNames - } - return nil -} - -// The request message for [EntityTypes.BatchCreateEntities][google.cloud.dialogflow.v2.EntityTypes.BatchCreateEntities]. -type BatchCreateEntitiesRequest struct { - // Required. The name of the entity type to create entities in. Format: - // `projects//agent/entityTypes/`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The entities to create. - Entities []*EntityType_Entity `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"` - // Optional. The language of entity synonyms defined in `entities`. If not - // specified, the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - 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 *BatchCreateEntitiesRequest) Reset() { *m = BatchCreateEntitiesRequest{} } -func (m *BatchCreateEntitiesRequest) String() string { return proto.CompactTextString(m) } -func (*BatchCreateEntitiesRequest) ProtoMessage() {} -func (*BatchCreateEntitiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_252de8d6c5f5c76d, []int{10} -} - -func (m *BatchCreateEntitiesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchCreateEntitiesRequest.Unmarshal(m, b) -} -func (m *BatchCreateEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchCreateEntitiesRequest.Marshal(b, m, deterministic) -} -func (m *BatchCreateEntitiesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchCreateEntitiesRequest.Merge(m, src) -} -func (m *BatchCreateEntitiesRequest) XXX_Size() int { - return xxx_messageInfo_BatchCreateEntitiesRequest.Size(m) -} -func (m *BatchCreateEntitiesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchCreateEntitiesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchCreateEntitiesRequest proto.InternalMessageInfo - -func (m *BatchCreateEntitiesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *BatchCreateEntitiesRequest) GetEntities() []*EntityType_Entity { - if m != nil { - return m.Entities - } - return nil -} - -func (m *BatchCreateEntitiesRequest) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -// The request message for [EntityTypes.BatchUpdateEntities][google.cloud.dialogflow.v2.EntityTypes.BatchUpdateEntities]. -type BatchUpdateEntitiesRequest struct { - // Required. The name of the entity type to update or create entities in. - // Format: `projects//agent/entityTypes/`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The entities to update or create. - Entities []*EntityType_Entity `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"` - // Optional. The language of entity synonyms defined in `entities`. If not - // specified, the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // Optional. The mask to control which fields get updated. - 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:"-"` -} - -func (m *BatchUpdateEntitiesRequest) Reset() { *m = BatchUpdateEntitiesRequest{} } -func (m *BatchUpdateEntitiesRequest) String() string { return proto.CompactTextString(m) } -func (*BatchUpdateEntitiesRequest) ProtoMessage() {} -func (*BatchUpdateEntitiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_252de8d6c5f5c76d, []int{11} -} - -func (m *BatchUpdateEntitiesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchUpdateEntitiesRequest.Unmarshal(m, b) -} -func (m *BatchUpdateEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchUpdateEntitiesRequest.Marshal(b, m, deterministic) -} -func (m *BatchUpdateEntitiesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchUpdateEntitiesRequest.Merge(m, src) -} -func (m *BatchUpdateEntitiesRequest) XXX_Size() int { - return xxx_messageInfo_BatchUpdateEntitiesRequest.Size(m) -} -func (m *BatchUpdateEntitiesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchUpdateEntitiesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchUpdateEntitiesRequest proto.InternalMessageInfo - -func (m *BatchUpdateEntitiesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *BatchUpdateEntitiesRequest) GetEntities() []*EntityType_Entity { - if m != nil { - return m.Entities - } - return nil -} - -func (m *BatchUpdateEntitiesRequest) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *BatchUpdateEntitiesRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// The request message for [EntityTypes.BatchDeleteEntities][google.cloud.dialogflow.v2.EntityTypes.BatchDeleteEntities]. -type BatchDeleteEntitiesRequest struct { - // Required. The name of the entity type to delete entries for. Format: - // `projects//agent/entityTypes/`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The canonical `values` of the entities to delete. Note that - // these are not fully-qualified names, i.e. they don't start with - // `projects/`. - EntityValues []string `protobuf:"bytes,2,rep,name=entity_values,json=entityValues,proto3" json:"entity_values,omitempty"` - // Optional. The language of entity synonyms defined in `entities`. If not - // specified, the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - 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 *BatchDeleteEntitiesRequest) Reset() { *m = BatchDeleteEntitiesRequest{} } -func (m *BatchDeleteEntitiesRequest) String() string { return proto.CompactTextString(m) } -func (*BatchDeleteEntitiesRequest) ProtoMessage() {} -func (*BatchDeleteEntitiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_252de8d6c5f5c76d, []int{12} -} - -func (m *BatchDeleteEntitiesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchDeleteEntitiesRequest.Unmarshal(m, b) -} -func (m *BatchDeleteEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchDeleteEntitiesRequest.Marshal(b, m, deterministic) -} -func (m *BatchDeleteEntitiesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchDeleteEntitiesRequest.Merge(m, src) -} -func (m *BatchDeleteEntitiesRequest) XXX_Size() int { - return xxx_messageInfo_BatchDeleteEntitiesRequest.Size(m) -} -func (m *BatchDeleteEntitiesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchDeleteEntitiesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchDeleteEntitiesRequest proto.InternalMessageInfo - -func (m *BatchDeleteEntitiesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *BatchDeleteEntitiesRequest) GetEntityValues() []string { - if m != nil { - return m.EntityValues - } - return nil -} - -func (m *BatchDeleteEntitiesRequest) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -// This message is a wrapper around a collection of entity types. -type EntityTypeBatch struct { - // A collection of entity types. - EntityTypes []*EntityType `protobuf:"bytes,1,rep,name=entity_types,json=entityTypes,proto3" json:"entity_types,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_252de8d6c5f5c76d, []int{13} -} - -func (m *EntityTypeBatch) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EntityTypeBatch.Unmarshal(m, b) -} -func (m *EntityTypeBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EntityTypeBatch.Marshal(b, m, deterministic) -} -func (m *EntityTypeBatch) XXX_Merge(src proto.Message) { - xxx_messageInfo_EntityTypeBatch.Merge(m, src) -} -func (m *EntityTypeBatch) XXX_Size() int { - return xxx_messageInfo_EntityTypeBatch.Size(m) -} -func (m *EntityTypeBatch) XXX_DiscardUnknown() { - xxx_messageInfo_EntityTypeBatch.DiscardUnknown(m) -} - -var xxx_messageInfo_EntityTypeBatch proto.InternalMessageInfo - -func (m *EntityTypeBatch) GetEntityTypes() []*EntityType { - if m != nil { - return m.EntityTypes - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.dialogflow.v2.EntityType_Kind", EntityType_Kind_name, EntityType_Kind_value) - proto.RegisterEnum("google.cloud.dialogflow.v2.EntityType_AutoExpansionMode", EntityType_AutoExpansionMode_name, EntityType_AutoExpansionMode_value) - proto.RegisterType((*EntityType)(nil), "google.cloud.dialogflow.v2.EntityType") - proto.RegisterType((*EntityType_Entity)(nil), "google.cloud.dialogflow.v2.EntityType.Entity") - proto.RegisterType((*ListEntityTypesRequest)(nil), "google.cloud.dialogflow.v2.ListEntityTypesRequest") - proto.RegisterType((*ListEntityTypesResponse)(nil), "google.cloud.dialogflow.v2.ListEntityTypesResponse") - proto.RegisterType((*GetEntityTypeRequest)(nil), "google.cloud.dialogflow.v2.GetEntityTypeRequest") - proto.RegisterType((*CreateEntityTypeRequest)(nil), "google.cloud.dialogflow.v2.CreateEntityTypeRequest") - proto.RegisterType((*UpdateEntityTypeRequest)(nil), "google.cloud.dialogflow.v2.UpdateEntityTypeRequest") - proto.RegisterType((*DeleteEntityTypeRequest)(nil), "google.cloud.dialogflow.v2.DeleteEntityTypeRequest") - proto.RegisterType((*BatchUpdateEntityTypesRequest)(nil), "google.cloud.dialogflow.v2.BatchUpdateEntityTypesRequest") - proto.RegisterType((*BatchUpdateEntityTypesResponse)(nil), "google.cloud.dialogflow.v2.BatchUpdateEntityTypesResponse") - proto.RegisterType((*BatchDeleteEntityTypesRequest)(nil), "google.cloud.dialogflow.v2.BatchDeleteEntityTypesRequest") - proto.RegisterType((*BatchCreateEntitiesRequest)(nil), "google.cloud.dialogflow.v2.BatchCreateEntitiesRequest") - proto.RegisterType((*BatchUpdateEntitiesRequest)(nil), "google.cloud.dialogflow.v2.BatchUpdateEntitiesRequest") - proto.RegisterType((*BatchDeleteEntitiesRequest)(nil), "google.cloud.dialogflow.v2.BatchDeleteEntitiesRequest") - proto.RegisterType((*EntityTypeBatch)(nil), "google.cloud.dialogflow.v2.EntityTypeBatch") -} - -func init() { - proto.RegisterFile("google/cloud/dialogflow/v2/entity_type.proto", fileDescriptor_252de8d6c5f5c76d) -} - -var fileDescriptor_252de8d6c5f5c76d = []byte{ - // 1579 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 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58, - 0xd3, 0x92, 0x74, 0xef, 0x5e, 0x93, 0x0e, 0x54, 0x2a, 0xf6, 0x16, 0xfb, 0x74, 0x7d, 0xc1, 0x28, - 0x29, 0xf6, 0xa6, 0x6e, 0x96, 0xa7, 0x0e, 0x33, 0x77, 0x43, 0xcd, 0x3c, 0x44, 0x70, 0x36, 0xaf, - 0x97, 0xdb, 0x10, 0x3c, 0xe3, 0x11, 0x80, 0x2b, 0xce, 0x6c, 0xac, 0xa0, 0xbb, 0x69, 0x6e, 0x5e, - 0xd4, 0x1d, 0x4a, 0x92, 0xba, 0x59, 0x94, 0x8a, 0x44, 0xa3, 0x93, 0x23, 0xb9, 0x01, 0x83, 0xbe, - 0xa8, 0x5f, 0x75, 0x9f, 0xfe, 0x44, 0xe8, 0x4b, 0x41, 0x48, 0xcf, 0x7d, 0x25, 0xc4, 0xaf, 0x33, - 0x77, 0xb3, 0x34, 0x7a, 0xda, 0x8d, 0x7e, 0x2b, 0xb5, 0xd1, 0x4b, 0xbd, 0x5e, 0xfc, 0x37, 0x00, - 0x00, 0xff, 0xff, 0xb7, 0xb3, 0x25, 0x0a, 0xa6, 0x17, 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 - -// EntityTypesClient is the client API for EntityTypes service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type EntityTypesClient interface { - // Returns the list of all entity types in the specified agent. - ListEntityTypes(ctx context.Context, in *ListEntityTypesRequest, opts ...grpc.CallOption) (*ListEntityTypesResponse, error) - // Retrieves the specified entity type. - GetEntityType(ctx context.Context, in *GetEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error) - // Creates an entity type in the specified agent. - CreateEntityType(ctx context.Context, in *CreateEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error) - // Updates the specified entity type. - UpdateEntityType(ctx context.Context, in *UpdateEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error) - // Deletes the specified entity type. - DeleteEntityType(ctx context.Context, in *DeleteEntityTypeRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Updates/Creates multiple entity types in the specified agent. - // - // Operation - BatchUpdateEntityTypes(ctx context.Context, in *BatchUpdateEntityTypesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Deletes entity types in the specified agent. - // - // Operation - BatchDeleteEntityTypes(ctx context.Context, in *BatchDeleteEntityTypesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Creates multiple new entities in the specified entity type. - // - // Operation - BatchCreateEntities(ctx context.Context, in *BatchCreateEntitiesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Updates or creates multiple entities in the specified entity type. This - // method does not affect entities in the entity type that aren't explicitly - // specified in the request. - // - // Operation - BatchUpdateEntities(ctx context.Context, in *BatchUpdateEntitiesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Deletes entities in the specified entity type. - // - // Operation - BatchDeleteEntities(ctx context.Context, in *BatchDeleteEntitiesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) -} - -type entityTypesClient struct { - cc *grpc.ClientConn -} - -func NewEntityTypesClient(cc *grpc.ClientConn) EntityTypesClient { - return &entityTypesClient{cc} -} - -func (c *entityTypesClient) ListEntityTypes(ctx context.Context, in *ListEntityTypesRequest, opts ...grpc.CallOption) (*ListEntityTypesResponse, error) { - out := new(ListEntityTypesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.EntityTypes/ListEntityTypes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *entityTypesClient) GetEntityType(ctx context.Context, in *GetEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error) { - out := new(EntityType) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.EntityTypes/GetEntityType", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *entityTypesClient) CreateEntityType(ctx context.Context, in *CreateEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error) { - out := new(EntityType) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.EntityTypes/CreateEntityType", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *entityTypesClient) UpdateEntityType(ctx context.Context, in *UpdateEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error) { - out := new(EntityType) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.EntityTypes/UpdateEntityType", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *entityTypesClient) DeleteEntityType(ctx context.Context, in *DeleteEntityTypeRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.EntityTypes/DeleteEntityType", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *entityTypesClient) BatchUpdateEntityTypes(ctx context.Context, in *BatchUpdateEntityTypesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.EntityTypes/BatchUpdateEntityTypes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *entityTypesClient) BatchDeleteEntityTypes(ctx context.Context, in *BatchDeleteEntityTypesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.EntityTypes/BatchDeleteEntityTypes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *entityTypesClient) BatchCreateEntities(ctx context.Context, in *BatchCreateEntitiesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.EntityTypes/BatchCreateEntities", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *entityTypesClient) BatchUpdateEntities(ctx context.Context, in *BatchUpdateEntitiesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.EntityTypes/BatchUpdateEntities", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *entityTypesClient) BatchDeleteEntities(ctx context.Context, in *BatchDeleteEntitiesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.EntityTypes/BatchDeleteEntities", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// EntityTypesServer is the server API for EntityTypes service. -type EntityTypesServer interface { - // Returns the list of all entity types in the specified agent. - ListEntityTypes(context.Context, *ListEntityTypesRequest) (*ListEntityTypesResponse, error) - // Retrieves the specified entity type. - GetEntityType(context.Context, *GetEntityTypeRequest) (*EntityType, error) - // Creates an entity type in the specified agent. - CreateEntityType(context.Context, *CreateEntityTypeRequest) (*EntityType, error) - // Updates the specified entity type. - UpdateEntityType(context.Context, *UpdateEntityTypeRequest) (*EntityType, error) - // Deletes the specified entity type. - DeleteEntityType(context.Context, *DeleteEntityTypeRequest) (*empty.Empty, error) - // Updates/Creates multiple entity types in the specified agent. - // - // Operation - BatchUpdateEntityTypes(context.Context, *BatchUpdateEntityTypesRequest) (*longrunning.Operation, error) - // Deletes entity types in the specified agent. - // - // Operation - BatchDeleteEntityTypes(context.Context, *BatchDeleteEntityTypesRequest) (*longrunning.Operation, error) - // Creates multiple new entities in the specified entity type. - // - // Operation - BatchCreateEntities(context.Context, *BatchCreateEntitiesRequest) (*longrunning.Operation, error) - // Updates or creates multiple entities in the specified entity type. This - // method does not affect entities in the entity type that aren't explicitly - // specified in the request. - // - // Operation - BatchUpdateEntities(context.Context, *BatchUpdateEntitiesRequest) (*longrunning.Operation, error) - // Deletes entities in the specified entity type. - // - // Operation - BatchDeleteEntities(context.Context, *BatchDeleteEntitiesRequest) (*longrunning.Operation, error) -} - -// UnimplementedEntityTypesServer can be embedded to have forward compatible implementations. -type UnimplementedEntityTypesServer struct { -} - -func (*UnimplementedEntityTypesServer) ListEntityTypes(ctx context.Context, req *ListEntityTypesRequest) (*ListEntityTypesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListEntityTypes not implemented") -} -func (*UnimplementedEntityTypesServer) GetEntityType(ctx context.Context, req *GetEntityTypeRequest) (*EntityType, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetEntityType not implemented") -} -func (*UnimplementedEntityTypesServer) CreateEntityType(ctx context.Context, req *CreateEntityTypeRequest) (*EntityType, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateEntityType not implemented") -} -func (*UnimplementedEntityTypesServer) UpdateEntityType(ctx context.Context, req *UpdateEntityTypeRequest) (*EntityType, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateEntityType not implemented") -} -func (*UnimplementedEntityTypesServer) DeleteEntityType(ctx context.Context, req *DeleteEntityTypeRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteEntityType not implemented") -} -func (*UnimplementedEntityTypesServer) BatchUpdateEntityTypes(ctx context.Context, req *BatchUpdateEntityTypesRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method BatchUpdateEntityTypes not implemented") -} -func (*UnimplementedEntityTypesServer) BatchDeleteEntityTypes(ctx context.Context, req *BatchDeleteEntityTypesRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method BatchDeleteEntityTypes not implemented") -} -func (*UnimplementedEntityTypesServer) BatchCreateEntities(ctx context.Context, req *BatchCreateEntitiesRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method BatchCreateEntities not implemented") -} -func (*UnimplementedEntityTypesServer) BatchUpdateEntities(ctx context.Context, req *BatchUpdateEntitiesRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method BatchUpdateEntities not implemented") -} -func (*UnimplementedEntityTypesServer) BatchDeleteEntities(ctx context.Context, req *BatchDeleteEntitiesRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method BatchDeleteEntities not implemented") -} - -func RegisterEntityTypesServer(s *grpc.Server, srv EntityTypesServer) { - s.RegisterService(&_EntityTypes_serviceDesc, srv) -} - -func _EntityTypes_ListEntityTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListEntityTypesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EntityTypesServer).ListEntityTypes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.EntityTypes/ListEntityTypes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EntityTypesServer).ListEntityTypes(ctx, req.(*ListEntityTypesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _EntityTypes_GetEntityType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetEntityTypeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EntityTypesServer).GetEntityType(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.EntityTypes/GetEntityType", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EntityTypesServer).GetEntityType(ctx, req.(*GetEntityTypeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _EntityTypes_CreateEntityType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateEntityTypeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EntityTypesServer).CreateEntityType(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.EntityTypes/CreateEntityType", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EntityTypesServer).CreateEntityType(ctx, req.(*CreateEntityTypeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _EntityTypes_UpdateEntityType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateEntityTypeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EntityTypesServer).UpdateEntityType(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.EntityTypes/UpdateEntityType", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EntityTypesServer).UpdateEntityType(ctx, req.(*UpdateEntityTypeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _EntityTypes_DeleteEntityType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteEntityTypeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EntityTypesServer).DeleteEntityType(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.EntityTypes/DeleteEntityType", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EntityTypesServer).DeleteEntityType(ctx, req.(*DeleteEntityTypeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _EntityTypes_BatchUpdateEntityTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchUpdateEntityTypesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EntityTypesServer).BatchUpdateEntityTypes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.EntityTypes/BatchUpdateEntityTypes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EntityTypesServer).BatchUpdateEntityTypes(ctx, req.(*BatchUpdateEntityTypesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _EntityTypes_BatchDeleteEntityTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchDeleteEntityTypesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EntityTypesServer).BatchDeleteEntityTypes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.EntityTypes/BatchDeleteEntityTypes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EntityTypesServer).BatchDeleteEntityTypes(ctx, req.(*BatchDeleteEntityTypesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _EntityTypes_BatchCreateEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchCreateEntitiesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EntityTypesServer).BatchCreateEntities(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.EntityTypes/BatchCreateEntities", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EntityTypesServer).BatchCreateEntities(ctx, req.(*BatchCreateEntitiesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _EntityTypes_BatchUpdateEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchUpdateEntitiesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EntityTypesServer).BatchUpdateEntities(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.EntityTypes/BatchUpdateEntities", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EntityTypesServer).BatchUpdateEntities(ctx, req.(*BatchUpdateEntitiesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _EntityTypes_BatchDeleteEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchDeleteEntitiesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EntityTypesServer).BatchDeleteEntities(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.EntityTypes/BatchDeleteEntities", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EntityTypesServer).BatchDeleteEntities(ctx, req.(*BatchDeleteEntitiesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _EntityTypes_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.dialogflow.v2.EntityTypes", - HandlerType: (*EntityTypesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListEntityTypes", - Handler: _EntityTypes_ListEntityTypes_Handler, - }, - { - MethodName: "GetEntityType", - Handler: _EntityTypes_GetEntityType_Handler, - }, - { - MethodName: "CreateEntityType", - Handler: _EntityTypes_CreateEntityType_Handler, - }, - { - MethodName: "UpdateEntityType", - Handler: _EntityTypes_UpdateEntityType_Handler, - }, - { - MethodName: "DeleteEntityType", - Handler: _EntityTypes_DeleteEntityType_Handler, - }, - { - MethodName: "BatchUpdateEntityTypes", - Handler: _EntityTypes_BatchUpdateEntityTypes_Handler, - }, - { - MethodName: "BatchDeleteEntityTypes", - Handler: _EntityTypes_BatchDeleteEntityTypes_Handler, - }, - { - MethodName: "BatchCreateEntities", - Handler: _EntityTypes_BatchCreateEntities_Handler, - }, - { - MethodName: "BatchUpdateEntities", - Handler: _EntityTypes_BatchUpdateEntities_Handler, - }, - { - MethodName: "BatchDeleteEntities", - Handler: _EntityTypes_BatchDeleteEntities_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/dialogflow/v2/entity_type.proto", -} 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 deleted file mode 100644 index 4626e5ae..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/intent.pb.go +++ /dev/null @@ -1,3196 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/dialogflow/v2/intent.proto - -package dialogflow - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/duration" - empty "github.com/golang/protobuf/ptypes/empty" - _struct "github.com/golang/protobuf/ptypes/struct" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Represents the options for views of an intent. -// An intent can be a sizable object. Therefore, we provide a resource view that -// does not return training phrases in the response by default. -type IntentView int32 - -const ( - // Training phrases field is not populated in the response. - IntentView_INTENT_VIEW_UNSPECIFIED IntentView = 0 - // All fields are populated. - IntentView_INTENT_VIEW_FULL IntentView = 1 -) - -var IntentView_name = map[int32]string{ - 0: "INTENT_VIEW_UNSPECIFIED", - 1: "INTENT_VIEW_FULL", -} - -var IntentView_value = map[string]int32{ - "INTENT_VIEW_UNSPECIFIED": 0, - "INTENT_VIEW_FULL": 1, -} - -func (x IntentView) String() string { - return proto.EnumName(IntentView_name, int32(x)) -} - -func (IntentView) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6c20e31044d743bd, []int{0} -} - -// Represents the different states that webhooks can be in. -type Intent_WebhookState int32 - -const ( - // Webhook is disabled in the agent and in the intent. - Intent_WEBHOOK_STATE_UNSPECIFIED Intent_WebhookState = 0 - // Webhook is enabled in the agent and in the intent. - Intent_WEBHOOK_STATE_ENABLED Intent_WebhookState = 1 - // Webhook is enabled in the agent and in the intent. Also, each slot - // filling prompt is forwarded to the webhook. - Intent_WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING Intent_WebhookState = 2 -) - -var Intent_WebhookState_name = map[int32]string{ - 0: "WEBHOOK_STATE_UNSPECIFIED", - 1: "WEBHOOK_STATE_ENABLED", - 2: "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING", -} - -var Intent_WebhookState_value = map[string]int32{ - "WEBHOOK_STATE_UNSPECIFIED": 0, - "WEBHOOK_STATE_ENABLED": 1, - "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING": 2, -} - -func (x Intent_WebhookState) String() string { - return proto.EnumName(Intent_WebhookState_name, int32(x)) -} - -func (Intent_WebhookState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6c20e31044d743bd, []int{0, 0} -} - -// Represents different types of training phrases. -type Intent_TrainingPhrase_Type int32 - -const ( - // Not specified. This value should never be used. - Intent_TrainingPhrase_TYPE_UNSPECIFIED Intent_TrainingPhrase_Type = 0 - // Examples do not contain @-prefixed entity type names, but example parts - // can be annotated with entity types. - Intent_TrainingPhrase_EXAMPLE Intent_TrainingPhrase_Type = 1 - // Templates are not annotated with entity types, but they can contain - // @-prefixed entity type names as substrings. - // Template mode has been deprecated. Example mode is the only supported - // way to create new training phrases. If you have existing training - // phrases that you've created in template mode, those will continue to - // work. - Intent_TrainingPhrase_TEMPLATE Intent_TrainingPhrase_Type = 2 // Deprecated: Do not use. -) - -var Intent_TrainingPhrase_Type_name = map[int32]string{ - 0: "TYPE_UNSPECIFIED", - 1: "EXAMPLE", - 2: "TEMPLATE", -} - -var Intent_TrainingPhrase_Type_value = map[string]int32{ - "TYPE_UNSPECIFIED": 0, - "EXAMPLE": 1, - "TEMPLATE": 2, -} - -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_6c20e31044d743bd, []int{0, 0, 0} -} - -// Represents different platforms that a rich message can be intended for. -type Intent_Message_Platform int32 - -const ( - // Not specified. - Intent_Message_PLATFORM_UNSPECIFIED Intent_Message_Platform = 0 - // Facebook. - Intent_Message_FACEBOOK Intent_Message_Platform = 1 - // Slack. - Intent_Message_SLACK Intent_Message_Platform = 2 - // Telegram. - Intent_Message_TELEGRAM Intent_Message_Platform = 3 - // Kik. - Intent_Message_KIK Intent_Message_Platform = 4 - // Skype. - Intent_Message_SKYPE Intent_Message_Platform = 5 - // Line. - Intent_Message_LINE Intent_Message_Platform = 6 - // Viber. - Intent_Message_VIBER Intent_Message_Platform = 7 - // Actions on Google. - // When using Actions on Google, you can choose one of the specific - // Intent.Message types that mention support for Actions on Google, - // or you can use the advanced Intent.Message.payload field. - // The payload field provides access to AoG features not available in the - // specific message types. - // If using the Intent.Message.payload field, it should have a structure - // similar to the JSON message shown here. For more information, see - // [Actions on Google Webhook - // Format](https://developers.google.com/actions/dialogflow/webhook) - //
{
-	//   "expectUserResponse": true,
-	//   "isSsml": false,
-	//   "noInputPrompts": [],
-	//   "richResponse": {
-	//     "items": [
-	//       {
-	//         "simpleResponse": {
-	//           "displayText": "hi",
-	//           "textToSpeech": "hello"
-	//         }
-	//       }
-	//     ],
-	//     "suggestions": [
-	//       {
-	//         "title": "Say this"
-	//       },
-	//       {
-	//         "title": "or this"
-	//       }
-	//     ]
-	//   },
-	//   "systemIntent": {
-	//     "data": {
-	//       "@type": "type.googleapis.com/google.actions.v2.OptionValueSpec",
-	//       "listSelect": {
-	//         "items": [
-	//           {
-	//             "optionInfo": {
-	//               "key": "key1",
-	//               "synonyms": [
-	//                 "key one"
-	//               ]
-	//             },
-	//             "title": "must not be empty, but unique"
-	//           },
-	//           {
-	//             "optionInfo": {
-	//               "key": "key2",
-	//               "synonyms": [
-	//                 "key two"
-	//               ]
-	//             },
-	//             "title": "must not be empty, but unique"
-	//           }
-	//         ]
-	//       }
-	//     },
-	//     "intent": "actions.intent.OPTION"
-	//   }
-	// }
- Intent_Message_ACTIONS_ON_GOOGLE Intent_Message_Platform = 8 - // Google Hangouts. - Intent_Message_GOOGLE_HANGOUTS Intent_Message_Platform = 11 -) - -var Intent_Message_Platform_name = map[int32]string{ - 0: "PLATFORM_UNSPECIFIED", - 1: "FACEBOOK", - 2: "SLACK", - 3: "TELEGRAM", - 4: "KIK", - 5: "SKYPE", - 6: "LINE", - 7: "VIBER", - 8: "ACTIONS_ON_GOOGLE", - 11: "GOOGLE_HANGOUTS", -} - -var Intent_Message_Platform_value = map[string]int32{ - "PLATFORM_UNSPECIFIED": 0, - "FACEBOOK": 1, - "SLACK": 2, - "TELEGRAM": 3, - "KIK": 4, - "SKYPE": 5, - "LINE": 6, - "VIBER": 7, - "ACTIONS_ON_GOOGLE": 8, - "GOOGLE_HANGOUTS": 11, -} - -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_6c20e31044d743bd, []int{0, 2, 0} -} - -// Represents an intent. -// Intents convert a number of user expressions or patterns into an action. An -// action is an extraction of a user command or sentence semantics. -type Intent struct { - // The unique identifier of this intent. - // Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents] - // methods. - // Format: `projects//agent/intents/`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The name of this intent. - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Optional. Indicates whether webhooks are enabled for the intent. - WebhookState Intent_WebhookState `protobuf:"varint,6,opt,name=webhook_state,json=webhookState,proto3,enum=google.cloud.dialogflow.v2.Intent_WebhookState" json:"webhook_state,omitempty"` - // Optional. The priority of this intent. Higher numbers represent higher - // priorities. If this is zero or unspecified, we use the default - // priority 500000. - // - // Negative numbers mean that the intent is disabled. - Priority int32 `protobuf:"varint,3,opt,name=priority,proto3" json:"priority,omitempty"` - // Optional. Indicates whether this is a fallback intent. - IsFallback bool `protobuf:"varint,4,opt,name=is_fallback,json=isFallback,proto3" json:"is_fallback,omitempty"` - // Optional. Indicates whether Machine Learning is disabled for the intent. - // Note: If `ml_diabled` setting is set to true, then this intent is not - // taken into account during inference in `ML ONLY` match mode. Also, - // auto-markup in the UI is turned off. - MlDisabled bool `protobuf:"varint,19,opt,name=ml_disabled,json=mlDisabled,proto3" json:"ml_disabled,omitempty"` - // Optional. The list of context names required for this intent to be - // triggered. - // Format: `projects//agent/sessions/-/contexts/`. - InputContextNames []string `protobuf:"bytes,7,rep,name=input_context_names,json=inputContextNames,proto3" json:"input_context_names,omitempty"` - // Optional. The collection of event names that trigger the intent. - // If the collection of input contexts is not empty, all of the contexts must - // be present in the active user session for an event to trigger this intent. - Events []string `protobuf:"bytes,8,rep,name=events,proto3" json:"events,omitempty"` - // Optional. The collection of examples that the agent is - // trained on. - TrainingPhrases []*Intent_TrainingPhrase `protobuf:"bytes,9,rep,name=training_phrases,json=trainingPhrases,proto3" json:"training_phrases,omitempty"` - // Optional. The name of the action associated with the intent. - // Note: The action name must not contain whitespaces. - Action string `protobuf:"bytes,10,opt,name=action,proto3" json:"action,omitempty"` - // Optional. The collection of contexts that are activated when the intent - // is matched. Context messages in this collection should not set the - // parameters field. Setting the `lifespan_count` to 0 will reset the context - // when the intent is matched. - // Format: `projects//agent/sessions/-/contexts/`. - OutputContexts []*Context `protobuf:"bytes,11,rep,name=output_contexts,json=outputContexts,proto3" json:"output_contexts,omitempty"` - // Optional. Indicates whether to delete all contexts in the current - // session when this intent is matched. - ResetContexts bool `protobuf:"varint,12,opt,name=reset_contexts,json=resetContexts,proto3" json:"reset_contexts,omitempty"` - // Optional. The collection of parameters associated with the intent. - Parameters []*Intent_Parameter `protobuf:"bytes,13,rep,name=parameters,proto3" json:"parameters,omitempty"` - // Optional. The collection of rich messages corresponding to the - // `Response` field in the Dialogflow console. - Messages []*Intent_Message `protobuf:"bytes,14,rep,name=messages,proto3" json:"messages,omitempty"` - // Optional. The list of platforms for which the first responses will be - // copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform). - DefaultResponsePlatforms []Intent_Message_Platform `protobuf:"varint,15,rep,packed,name=default_response_platforms,json=defaultResponsePlatforms,proto3,enum=google.cloud.dialogflow.v2.Intent_Message_Platform" json:"default_response_platforms,omitempty"` - // Read-only. The unique identifier of the root intent in the chain of - // followup intents. It identifies the correct followup intents chain for - // this intent. We populate this field only in the output. - // - // Format: `projects//agent/intents/`. - RootFollowupIntentName string `protobuf:"bytes,16,opt,name=root_followup_intent_name,json=rootFollowupIntentName,proto3" json:"root_followup_intent_name,omitempty"` - // Read-only after creation. The unique identifier of the parent intent in the - // chain of followup intents. You can set this field when creating an intent, - // for example with [CreateIntent][] or [BatchUpdateIntents][], in order to - // make this intent a followup intent. - // - // It identifies the parent followup intent. - // Format: `projects//agent/intents/`. - ParentFollowupIntentName string `protobuf:"bytes,17,opt,name=parent_followup_intent_name,json=parentFollowupIntentName,proto3" json:"parent_followup_intent_name,omitempty"` - // Read-only. Information about all followup intents that have this intent as - // a direct or indirect parent. We populate this field only in the output. - FollowupIntentInfo []*Intent_FollowupIntentInfo `protobuf:"bytes,18,rep,name=followup_intent_info,json=followupIntentInfo,proto3" json:"followup_intent_info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_6c20e31044d743bd, []int{0} -} - -func (m *Intent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent.Unmarshal(m, b) -} -func (m *Intent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent.Marshal(b, m, deterministic) -} -func (m *Intent) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent.Merge(m, src) -} -func (m *Intent) XXX_Size() int { - return xxx_messageInfo_Intent.Size(m) -} -func (m *Intent) XXX_DiscardUnknown() { - xxx_messageInfo_Intent.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent proto.InternalMessageInfo - -func (m *Intent) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Intent) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *Intent) GetWebhookState() Intent_WebhookState { - if m != nil { - return m.WebhookState - } - return Intent_WEBHOOK_STATE_UNSPECIFIED -} - -func (m *Intent) GetPriority() int32 { - if m != nil { - return m.Priority - } - return 0 -} - -func (m *Intent) GetIsFallback() bool { - if m != nil { - return m.IsFallback - } - return false -} - -func (m *Intent) GetMlDisabled() bool { - if m != nil { - return m.MlDisabled - } - return false -} - -func (m *Intent) GetInputContextNames() []string { - if m != nil { - return m.InputContextNames - } - return nil -} - -func (m *Intent) GetEvents() []string { - if m != nil { - return m.Events - } - return nil -} - -func (m *Intent) GetTrainingPhrases() []*Intent_TrainingPhrase { - if m != nil { - return m.TrainingPhrases - } - return nil -} - -func (m *Intent) GetAction() string { - if m != nil { - return m.Action - } - return "" -} - -func (m *Intent) GetOutputContexts() []*Context { - if m != nil { - return m.OutputContexts - } - return nil -} - -func (m *Intent) GetResetContexts() bool { - if m != nil { - return m.ResetContexts - } - return false -} - -func (m *Intent) GetParameters() []*Intent_Parameter { - if m != nil { - return m.Parameters - } - return nil -} - -func (m *Intent) GetMessages() []*Intent_Message { - if m != nil { - return m.Messages - } - return nil -} - -func (m *Intent) GetDefaultResponsePlatforms() []Intent_Message_Platform { - if m != nil { - return m.DefaultResponsePlatforms - } - return nil -} - -func (m *Intent) GetRootFollowupIntentName() string { - if m != nil { - return m.RootFollowupIntentName - } - return "" -} - -func (m *Intent) GetParentFollowupIntentName() string { - if m != nil { - return m.ParentFollowupIntentName - } - return "" -} - -func (m *Intent) GetFollowupIntentInfo() []*Intent_FollowupIntentInfo { - if m != nil { - return m.FollowupIntentInfo - } - return nil -} - -// Represents an example that the agent is trained on. -type Intent_TrainingPhrase struct { - // Output only. The unique identifier of this training phrase. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The type of the training phrase. - Type Intent_TrainingPhrase_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.dialogflow.v2.Intent_TrainingPhrase_Type" json:"type,omitempty"` - // Required. The ordered list of training phrase parts. - // The parts are concatenated in order to form the training phrase. - // - // Note: The API does not automatically annotate training phrases like the - // Dialogflow Console does. - // - // Note: Do not forget to include whitespace at part boundaries, - // so the training phrase is well formatted when the parts are concatenated. - // - // If the training phrase does not need to be annotated with parameters, - // you just need a single part with only the [Part.text][google.cloud.dialogflow.v2.Intent.TrainingPhrase.Part.text] field set. - // - // If you want to annotate the training phrase, you must create multiple - // parts, where the fields of each part are populated in one of two ways: - // - // - `Part.text` is set to a part of the phrase that has no parameters. - // - `Part.text` is set to a part of the phrase that you want to annotate, - // and the `entity_type`, `alias`, and `user_defined` fields are all - // set. - Parts []*Intent_TrainingPhrase_Part `protobuf:"bytes,3,rep,name=parts,proto3" json:"parts,omitempty"` - // Optional. Indicates how many times this example was added to - // the intent. Each time a developer adds an existing sample by editing an - // intent or training, this counter is increased. - TimesAddedCount int32 `protobuf:"varint,4,opt,name=times_added_count,json=timesAddedCount,proto3" json:"times_added_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_6c20e31044d743bd, []int{0, 0} -} - -func (m *Intent_TrainingPhrase) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_TrainingPhrase.Unmarshal(m, b) -} -func (m *Intent_TrainingPhrase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_TrainingPhrase.Marshal(b, m, deterministic) -} -func (m *Intent_TrainingPhrase) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_TrainingPhrase.Merge(m, src) -} -func (m *Intent_TrainingPhrase) XXX_Size() int { - return xxx_messageInfo_Intent_TrainingPhrase.Size(m) -} -func (m *Intent_TrainingPhrase) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_TrainingPhrase.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_TrainingPhrase proto.InternalMessageInfo - -func (m *Intent_TrainingPhrase) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Intent_TrainingPhrase) GetType() Intent_TrainingPhrase_Type { - if m != nil { - return m.Type - } - return Intent_TrainingPhrase_TYPE_UNSPECIFIED -} - -func (m *Intent_TrainingPhrase) GetParts() []*Intent_TrainingPhrase_Part { - if m != nil { - return m.Parts - } - return nil -} - -func (m *Intent_TrainingPhrase) GetTimesAddedCount() int32 { - if m != nil { - return m.TimesAddedCount - } - return 0 -} - -// Represents a part of a training phrase. -type Intent_TrainingPhrase_Part struct { - // Required. The text for this part. - Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` - // Optional. The entity type name prefixed with `@`. - // This field is required for annotated parts of the training phrase. - EntityType string `protobuf:"bytes,2,opt,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty"` - // Optional. The parameter name for the value extracted from the - // annotated part of the example. - // This field is required for annotated parts of the training phrase. - Alias string `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty"` - // Optional. Indicates whether the text was manually annotated. - // This field is set to true when the Dialogflow Console is used to - // manually annotate the part. When creating an annotated part with the - // API, you must set this to true. - UserDefined bool `protobuf:"varint,4,opt,name=user_defined,json=userDefined,proto3" json:"user_defined,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_TrainingPhrase_Part) Reset() { *m = Intent_TrainingPhrase_Part{} } -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_6c20e31044d743bd, []int{0, 0, 0} -} - -func (m *Intent_TrainingPhrase_Part) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_TrainingPhrase_Part.Unmarshal(m, b) -} -func (m *Intent_TrainingPhrase_Part) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_TrainingPhrase_Part.Marshal(b, m, deterministic) -} -func (m *Intent_TrainingPhrase_Part) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_TrainingPhrase_Part.Merge(m, src) -} -func (m *Intent_TrainingPhrase_Part) XXX_Size() int { - return xxx_messageInfo_Intent_TrainingPhrase_Part.Size(m) -} -func (m *Intent_TrainingPhrase_Part) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_TrainingPhrase_Part.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_TrainingPhrase_Part proto.InternalMessageInfo - -func (m *Intent_TrainingPhrase_Part) GetText() string { - if m != nil { - return m.Text - } - return "" -} - -func (m *Intent_TrainingPhrase_Part) GetEntityType() string { - if m != nil { - return m.EntityType - } - return "" -} - -func (m *Intent_TrainingPhrase_Part) GetAlias() string { - if m != nil { - return m.Alias - } - return "" -} - -func (m *Intent_TrainingPhrase_Part) GetUserDefined() bool { - if m != nil { - return m.UserDefined - } - return false -} - -// Represents intent parameters. -type Intent_Parameter struct { - // The unique identifier of this parameter. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The name of the parameter. - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Optional. The definition of the parameter value. It can be: - // - a constant string, - // - a parameter value defined as `$parameter_name`, - // - an original parameter value defined as `$parameter_name.original`, - // - a parameter value from some context defined as - // `#context_name.parameter_name`. - Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` - // Optional. The default value to use when the `value` yields an empty - // result. - // Default values can be extracted from contexts by using the following - // syntax: `#context_name.parameter_name`. - DefaultValue string `protobuf:"bytes,4,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` - // Optional. The name of the entity type, prefixed with `@`, that - // describes values of the parameter. If the parameter is - // required, this must be provided. - EntityTypeDisplayName string `protobuf:"bytes,5,opt,name=entity_type_display_name,json=entityTypeDisplayName,proto3" json:"entity_type_display_name,omitempty"` - // Optional. Indicates whether the parameter is required. That is, - // whether the intent cannot be completed without collecting the parameter - // value. - Mandatory bool `protobuf:"varint,6,opt,name=mandatory,proto3" json:"mandatory,omitempty"` - // Optional. The collection of prompts that the agent can present to the - // user in order to collect a value for the parameter. - Prompts []string `protobuf:"bytes,7,rep,name=prompts,proto3" json:"prompts,omitempty"` - // Optional. Indicates whether the parameter represents a list of values. - IsList bool `protobuf:"varint,8,opt,name=is_list,json=isList,proto3" json:"is_list,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_6c20e31044d743bd, []int{0, 1} -} - -func (m *Intent_Parameter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Parameter.Unmarshal(m, b) -} -func (m *Intent_Parameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Parameter.Marshal(b, m, deterministic) -} -func (m *Intent_Parameter) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Parameter.Merge(m, src) -} -func (m *Intent_Parameter) XXX_Size() int { - return xxx_messageInfo_Intent_Parameter.Size(m) -} -func (m *Intent_Parameter) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Parameter.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Parameter proto.InternalMessageInfo - -func (m *Intent_Parameter) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Intent_Parameter) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *Intent_Parameter) GetValue() string { - if m != nil { - return m.Value - } - return "" -} - -func (m *Intent_Parameter) GetDefaultValue() string { - if m != nil { - return m.DefaultValue - } - return "" -} - -func (m *Intent_Parameter) GetEntityTypeDisplayName() string { - if m != nil { - return m.EntityTypeDisplayName - } - return "" -} - -func (m *Intent_Parameter) GetMandatory() bool { - if m != nil { - return m.Mandatory - } - return false -} - -func (m *Intent_Parameter) GetPrompts() []string { - if m != nil { - return m.Prompts - } - return nil -} - -func (m *Intent_Parameter) GetIsList() bool { - if m != nil { - return m.IsList - } - return false -} - -// Corresponds to the `Response` field in the Dialogflow console. -type Intent_Message struct { - // Required. The rich response message. - // - // Types that are valid to be assigned to Message: - // *Intent_Message_Text_ - // *Intent_Message_Image_ - // *Intent_Message_QuickReplies_ - // *Intent_Message_Card_ - // *Intent_Message_Payload - // *Intent_Message_SimpleResponses_ - // *Intent_Message_BasicCard_ - // *Intent_Message_Suggestions_ - // *Intent_Message_LinkOutSuggestion_ - // *Intent_Message_ListSelect_ - // *Intent_Message_CarouselSelect_ - Message isIntent_Message_Message `protobuf_oneof:"message"` - // Optional. The platform that this message is intended for. - Platform Intent_Message_Platform `protobuf:"varint,6,opt,name=platform,proto3,enum=google.cloud.dialogflow.v2.Intent_Message_Platform" json:"platform,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_6c20e31044d743bd, []int{0, 2} -} - -func (m *Intent_Message) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message.Unmarshal(m, b) -} -func (m *Intent_Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message.Marshal(b, m, deterministic) -} -func (m *Intent_Message) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message.Merge(m, src) -} -func (m *Intent_Message) XXX_Size() int { - return xxx_messageInfo_Intent_Message.Size(m) -} -func (m *Intent_Message) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message proto.InternalMessageInfo - -type isIntent_Message_Message interface { - isIntent_Message_Message() -} - -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_LinkOutSuggestion_) 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 { - return m.Message - } - return nil -} - -func (m *Intent_Message) GetText() *Intent_Message_Text { - if x, ok := m.GetMessage().(*Intent_Message_Text_); ok { - return x.Text - } - return nil -} - -func (m *Intent_Message) GetImage() *Intent_Message_Image { - if x, ok := m.GetMessage().(*Intent_Message_Image_); ok { - return x.Image - } - return nil -} - -func (m *Intent_Message) GetQuickReplies() *Intent_Message_QuickReplies { - if x, ok := m.GetMessage().(*Intent_Message_QuickReplies_); ok { - return x.QuickReplies - } - return nil -} - -func (m *Intent_Message) GetCard() *Intent_Message_Card { - if x, ok := m.GetMessage().(*Intent_Message_Card_); ok { - return x.Card - } - return nil -} - -func (m *Intent_Message) GetPayload() *_struct.Struct { - if x, ok := m.GetMessage().(*Intent_Message_Payload); ok { - return x.Payload - } - return nil -} - -func (m *Intent_Message) GetSimpleResponses() *Intent_Message_SimpleResponses { - if x, ok := m.GetMessage().(*Intent_Message_SimpleResponses_); ok { - return x.SimpleResponses - } - return nil -} - -func (m *Intent_Message) GetBasicCard() *Intent_Message_BasicCard { - if x, ok := m.GetMessage().(*Intent_Message_BasicCard_); ok { - return x.BasicCard - } - return nil -} - -func (m *Intent_Message) GetSuggestions() *Intent_Message_Suggestions { - if x, ok := m.GetMessage().(*Intent_Message_Suggestions_); ok { - return x.Suggestions - } - return nil -} - -func (m *Intent_Message) GetLinkOutSuggestion() *Intent_Message_LinkOutSuggestion { - if x, ok := m.GetMessage().(*Intent_Message_LinkOutSuggestion_); ok { - return x.LinkOutSuggestion - } - return nil -} - -func (m *Intent_Message) GetListSelect() *Intent_Message_ListSelect { - if x, ok := m.GetMessage().(*Intent_Message_ListSelect_); ok { - return x.ListSelect - } - return nil -} - -func (m *Intent_Message) GetCarouselSelect() *Intent_Message_CarouselSelect { - if x, ok := m.GetMessage().(*Intent_Message_CarouselSelect_); ok { - return x.CarouselSelect - } - return nil -} - -func (m *Intent_Message) GetPlatform() Intent_Message_Platform { - if m != nil { - return m.Platform - } - return Intent_Message_PLATFORM_UNSPECIFIED -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Intent_Message) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Intent_Message_Text_)(nil), - (*Intent_Message_Image_)(nil), - (*Intent_Message_QuickReplies_)(nil), - (*Intent_Message_Card_)(nil), - (*Intent_Message_Payload)(nil), - (*Intent_Message_SimpleResponses_)(nil), - (*Intent_Message_BasicCard_)(nil), - (*Intent_Message_Suggestions_)(nil), - (*Intent_Message_LinkOutSuggestion_)(nil), - (*Intent_Message_ListSelect_)(nil), - (*Intent_Message_CarouselSelect_)(nil), - } -} - -// The text response message. -type Intent_Message_Text struct { - // Optional. The collection of the agent's responses. - Text []string `protobuf:"bytes,1,rep,name=text,proto3" json:"text,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_6c20e31044d743bd, []int{0, 2, 0} -} - -func (m *Intent_Message_Text) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_Text.Unmarshal(m, b) -} -func (m *Intent_Message_Text) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_Text.Marshal(b, m, deterministic) -} -func (m *Intent_Message_Text) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_Text.Merge(m, src) -} -func (m *Intent_Message_Text) XXX_Size() int { - return xxx_messageInfo_Intent_Message_Text.Size(m) -} -func (m *Intent_Message_Text) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_Text.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_Text proto.InternalMessageInfo - -func (m *Intent_Message_Text) GetText() []string { - if m != nil { - return m.Text - } - return nil -} - -// The image response message. -type Intent_Message_Image struct { - // Optional. The public URI to an image file. - ImageUri string `protobuf:"bytes,1,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"` - // Optional. A text description of the image to be used for accessibility, - // e.g., screen readers. - AccessibilityText string `protobuf:"bytes,2,opt,name=accessibility_text,json=accessibilityText,proto3" json:"accessibility_text,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_6c20e31044d743bd, []int{0, 2, 1} -} - -func (m *Intent_Message_Image) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_Image.Unmarshal(m, b) -} -func (m *Intent_Message_Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_Image.Marshal(b, m, deterministic) -} -func (m *Intent_Message_Image) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_Image.Merge(m, src) -} -func (m *Intent_Message_Image) XXX_Size() int { - return xxx_messageInfo_Intent_Message_Image.Size(m) -} -func (m *Intent_Message_Image) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_Image.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_Image proto.InternalMessageInfo - -func (m *Intent_Message_Image) GetImageUri() string { - if m != nil { - return m.ImageUri - } - return "" -} - -func (m *Intent_Message_Image) GetAccessibilityText() string { - if m != nil { - return m.AccessibilityText - } - return "" -} - -// The quick replies response message. -type Intent_Message_QuickReplies struct { - // Optional. The title of the collection of quick replies. - Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` - // Optional. The collection of quick replies. - QuickReplies []string `protobuf:"bytes,2,rep,name=quick_replies,json=quickReplies,proto3" json:"quick_replies,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_QuickReplies) Reset() { *m = Intent_Message_QuickReplies{} } -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_6c20e31044d743bd, []int{0, 2, 2} -} - -func (m *Intent_Message_QuickReplies) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_QuickReplies.Unmarshal(m, b) -} -func (m *Intent_Message_QuickReplies) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_QuickReplies.Marshal(b, m, deterministic) -} -func (m *Intent_Message_QuickReplies) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_QuickReplies.Merge(m, src) -} -func (m *Intent_Message_QuickReplies) XXX_Size() int { - return xxx_messageInfo_Intent_Message_QuickReplies.Size(m) -} -func (m *Intent_Message_QuickReplies) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_QuickReplies.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_QuickReplies proto.InternalMessageInfo - -func (m *Intent_Message_QuickReplies) GetTitle() string { - if m != nil { - return m.Title - } - return "" -} - -func (m *Intent_Message_QuickReplies) GetQuickReplies() []string { - if m != nil { - return m.QuickReplies - } - return nil -} - -// The card response message. -type Intent_Message_Card struct { - // Optional. The title of the card. - Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` - // Optional. The subtitle of the card. - Subtitle string `protobuf:"bytes,2,opt,name=subtitle,proto3" json:"subtitle,omitempty"` - // Optional. The public URI to an image file for the card. - ImageUri string `protobuf:"bytes,3,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"` - // Optional. The collection of card buttons. - Buttons []*Intent_Message_Card_Button `protobuf:"bytes,4,rep,name=buttons,proto3" json:"buttons,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_6c20e31044d743bd, []int{0, 2, 3} -} - -func (m *Intent_Message_Card) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_Card.Unmarshal(m, b) -} -func (m *Intent_Message_Card) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_Card.Marshal(b, m, deterministic) -} -func (m *Intent_Message_Card) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_Card.Merge(m, src) -} -func (m *Intent_Message_Card) XXX_Size() int { - return xxx_messageInfo_Intent_Message_Card.Size(m) -} -func (m *Intent_Message_Card) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_Card.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_Card proto.InternalMessageInfo - -func (m *Intent_Message_Card) GetTitle() string { - if m != nil { - return m.Title - } - return "" -} - -func (m *Intent_Message_Card) GetSubtitle() string { - if m != nil { - return m.Subtitle - } - return "" -} - -func (m *Intent_Message_Card) GetImageUri() string { - if m != nil { - return m.ImageUri - } - return "" -} - -func (m *Intent_Message_Card) GetButtons() []*Intent_Message_Card_Button { - if m != nil { - return m.Buttons - } - return nil -} - -// Contains information about a button. -type Intent_Message_Card_Button struct { - // Optional. The text to show on the button. - Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` - // Optional. The text to send back to the Dialogflow API or a URI to - // open. - Postback string `protobuf:"bytes,2,opt,name=postback,proto3" json:"postback,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_Card_Button) Reset() { *m = Intent_Message_Card_Button{} } -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_6c20e31044d743bd, []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) -} -func (m *Intent_Message_Card_Button) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_Card_Button.Marshal(b, m, deterministic) -} -func (m *Intent_Message_Card_Button) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_Card_Button.Merge(m, src) -} -func (m *Intent_Message_Card_Button) XXX_Size() int { - return xxx_messageInfo_Intent_Message_Card_Button.Size(m) -} -func (m *Intent_Message_Card_Button) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_Card_Button.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_Card_Button proto.InternalMessageInfo - -func (m *Intent_Message_Card_Button) GetText() string { - if m != nil { - return m.Text - } - return "" -} - -func (m *Intent_Message_Card_Button) GetPostback() string { - if m != nil { - return m.Postback - } - return "" -} - -// The simple response message containing speech or text. -type Intent_Message_SimpleResponse struct { - // One of text_to_speech or ssml must be provided. The plain text of the - // speech output. Mutually exclusive with ssml. - TextToSpeech string `protobuf:"bytes,1,opt,name=text_to_speech,json=textToSpeech,proto3" json:"text_to_speech,omitempty"` - // One of text_to_speech or ssml must be provided. Structured spoken - // response to the user in the SSML format. Mutually exclusive with - // text_to_speech. - Ssml string `protobuf:"bytes,2,opt,name=ssml,proto3" json:"ssml,omitempty"` - // Optional. The text to display. - DisplayText string `protobuf:"bytes,3,opt,name=display_text,json=displayText,proto3" json:"display_text,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_SimpleResponse) Reset() { *m = Intent_Message_SimpleResponse{} } -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_6c20e31044d743bd, []int{0, 2, 4} -} - -func (m *Intent_Message_SimpleResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_SimpleResponse.Unmarshal(m, b) -} -func (m *Intent_Message_SimpleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_SimpleResponse.Marshal(b, m, deterministic) -} -func (m *Intent_Message_SimpleResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_SimpleResponse.Merge(m, src) -} -func (m *Intent_Message_SimpleResponse) XXX_Size() int { - return xxx_messageInfo_Intent_Message_SimpleResponse.Size(m) -} -func (m *Intent_Message_SimpleResponse) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_SimpleResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_SimpleResponse proto.InternalMessageInfo - -func (m *Intent_Message_SimpleResponse) GetTextToSpeech() string { - if m != nil { - return m.TextToSpeech - } - return "" -} - -func (m *Intent_Message_SimpleResponse) GetSsml() string { - if m != nil { - return m.Ssml - } - return "" -} - -func (m *Intent_Message_SimpleResponse) GetDisplayText() string { - if m != nil { - return m.DisplayText - } - return "" -} - -// The collection of simple response candidates. -// This message in `QueryResult.fulfillment_messages` and -// `WebhookResponse.fulfillment_messages` should contain only one -// `SimpleResponse`. -type Intent_Message_SimpleResponses struct { - // Required. The list of simple responses. - SimpleResponses []*Intent_Message_SimpleResponse `protobuf:"bytes,1,rep,name=simple_responses,json=simpleResponses,proto3" json:"simple_responses,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_SimpleResponses) Reset() { *m = Intent_Message_SimpleResponses{} } -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_6c20e31044d743bd, []int{0, 2, 5} -} - -func (m *Intent_Message_SimpleResponses) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_SimpleResponses.Unmarshal(m, b) -} -func (m *Intent_Message_SimpleResponses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_SimpleResponses.Marshal(b, m, deterministic) -} -func (m *Intent_Message_SimpleResponses) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_SimpleResponses.Merge(m, src) -} -func (m *Intent_Message_SimpleResponses) XXX_Size() int { - return xxx_messageInfo_Intent_Message_SimpleResponses.Size(m) -} -func (m *Intent_Message_SimpleResponses) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_SimpleResponses.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_SimpleResponses proto.InternalMessageInfo - -func (m *Intent_Message_SimpleResponses) GetSimpleResponses() []*Intent_Message_SimpleResponse { - if m != nil { - return m.SimpleResponses - } - return nil -} - -// The basic card message. Useful for displaying information. -type Intent_Message_BasicCard struct { - // Optional. The title of the card. - Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` - // Optional. The subtitle of the card. - Subtitle string `protobuf:"bytes,2,opt,name=subtitle,proto3" json:"subtitle,omitempty"` - // Required, unless image is present. The body text of the card. - FormattedText string `protobuf:"bytes,3,opt,name=formatted_text,json=formattedText,proto3" json:"formatted_text,omitempty"` - // Optional. The image for the card. - Image *Intent_Message_Image `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"` - // Optional. The collection of card buttons. - Buttons []*Intent_Message_BasicCard_Button `protobuf:"bytes,5,rep,name=buttons,proto3" json:"buttons,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_BasicCard) Reset() { *m = Intent_Message_BasicCard{} } -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_6c20e31044d743bd, []int{0, 2, 6} -} - -func (m *Intent_Message_BasicCard) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_BasicCard.Unmarshal(m, b) -} -func (m *Intent_Message_BasicCard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_BasicCard.Marshal(b, m, deterministic) -} -func (m *Intent_Message_BasicCard) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_BasicCard.Merge(m, src) -} -func (m *Intent_Message_BasicCard) XXX_Size() int { - return xxx_messageInfo_Intent_Message_BasicCard.Size(m) -} -func (m *Intent_Message_BasicCard) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_BasicCard.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_BasicCard proto.InternalMessageInfo - -func (m *Intent_Message_BasicCard) GetTitle() string { - if m != nil { - return m.Title - } - return "" -} - -func (m *Intent_Message_BasicCard) GetSubtitle() string { - if m != nil { - return m.Subtitle - } - return "" -} - -func (m *Intent_Message_BasicCard) GetFormattedText() string { - if m != nil { - return m.FormattedText - } - return "" -} - -func (m *Intent_Message_BasicCard) GetImage() *Intent_Message_Image { - if m != nil { - return m.Image - } - return nil -} - -func (m *Intent_Message_BasicCard) GetButtons() []*Intent_Message_BasicCard_Button { - if m != nil { - return m.Buttons - } - return nil -} - -// The button object that appears at the bottom of a card. -type Intent_Message_BasicCard_Button struct { - // Required. The title of the button. - Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` - // Required. Action to take when a user taps on the button. - OpenUriAction *Intent_Message_BasicCard_Button_OpenUriAction `protobuf:"bytes,2,opt,name=open_uri_action,json=openUriAction,proto3" json:"open_uri_action,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_BasicCard_Button) Reset() { *m = Intent_Message_BasicCard_Button{} } -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_6c20e31044d743bd, []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) -} -func (m *Intent_Message_BasicCard_Button) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_BasicCard_Button.Marshal(b, m, deterministic) -} -func (m *Intent_Message_BasicCard_Button) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_BasicCard_Button.Merge(m, src) -} -func (m *Intent_Message_BasicCard_Button) XXX_Size() int { - return xxx_messageInfo_Intent_Message_BasicCard_Button.Size(m) -} -func (m *Intent_Message_BasicCard_Button) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_BasicCard_Button.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_BasicCard_Button proto.InternalMessageInfo - -func (m *Intent_Message_BasicCard_Button) GetTitle() string { - if m != nil { - return m.Title - } - return "" -} - -func (m *Intent_Message_BasicCard_Button) GetOpenUriAction() *Intent_Message_BasicCard_Button_OpenUriAction { - if m != nil { - return m.OpenUriAction - } - return nil -} - -// Opens the given URI. -type Intent_Message_BasicCard_Button_OpenUriAction struct { - // Required. The HTTP or HTTPS scheme URI. - 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 *Intent_Message_BasicCard_Button_OpenUriAction) Reset() { - *m = Intent_Message_BasicCard_Button_OpenUriAction{} -} -func (m *Intent_Message_BasicCard_Button_OpenUriAction) String() string { - return proto.CompactTextString(m) -} -func (*Intent_Message_BasicCard_Button_OpenUriAction) ProtoMessage() {} -func (*Intent_Message_BasicCard_Button_OpenUriAction) Descriptor() ([]byte, []int) { - return fileDescriptor_6c20e31044d743bd, []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) -} -func (m *Intent_Message_BasicCard_Button_OpenUriAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_BasicCard_Button_OpenUriAction.Marshal(b, m, deterministic) -} -func (m *Intent_Message_BasicCard_Button_OpenUriAction) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_BasicCard_Button_OpenUriAction.Merge(m, src) -} -func (m *Intent_Message_BasicCard_Button_OpenUriAction) XXX_Size() int { - return xxx_messageInfo_Intent_Message_BasicCard_Button_OpenUriAction.Size(m) -} -func (m *Intent_Message_BasicCard_Button_OpenUriAction) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_BasicCard_Button_OpenUriAction.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_BasicCard_Button_OpenUriAction proto.InternalMessageInfo - -func (m *Intent_Message_BasicCard_Button_OpenUriAction) GetUri() string { - if m != nil { - return m.Uri - } - return "" -} - -// The suggestion chip message that the user can tap to quickly post a reply -// to the conversation. -type Intent_Message_Suggestion struct { - // Required. The text shown the in the suggestion chip. - Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_Suggestion) Reset() { *m = Intent_Message_Suggestion{} } -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_6c20e31044d743bd, []int{0, 2, 7} -} - -func (m *Intent_Message_Suggestion) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_Suggestion.Unmarshal(m, b) -} -func (m *Intent_Message_Suggestion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_Suggestion.Marshal(b, m, deterministic) -} -func (m *Intent_Message_Suggestion) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_Suggestion.Merge(m, src) -} -func (m *Intent_Message_Suggestion) XXX_Size() int { - return xxx_messageInfo_Intent_Message_Suggestion.Size(m) -} -func (m *Intent_Message_Suggestion) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_Suggestion.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_Suggestion proto.InternalMessageInfo - -func (m *Intent_Message_Suggestion) GetTitle() string { - if m != nil { - return m.Title - } - return "" -} - -// The collection of suggestions. -type Intent_Message_Suggestions struct { - // Required. The list of suggested replies. - Suggestions []*Intent_Message_Suggestion `protobuf:"bytes,1,rep,name=suggestions,proto3" json:"suggestions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_Suggestions) Reset() { *m = Intent_Message_Suggestions{} } -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_6c20e31044d743bd, []int{0, 2, 8} -} - -func (m *Intent_Message_Suggestions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_Suggestions.Unmarshal(m, b) -} -func (m *Intent_Message_Suggestions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_Suggestions.Marshal(b, m, deterministic) -} -func (m *Intent_Message_Suggestions) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_Suggestions.Merge(m, src) -} -func (m *Intent_Message_Suggestions) XXX_Size() int { - return xxx_messageInfo_Intent_Message_Suggestions.Size(m) -} -func (m *Intent_Message_Suggestions) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_Suggestions.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_Suggestions proto.InternalMessageInfo - -func (m *Intent_Message_Suggestions) GetSuggestions() []*Intent_Message_Suggestion { - if m != nil { - return m.Suggestions - } - return nil -} - -// The suggestion chip message that allows the user to jump out to the app -// or website associated with this agent. -type Intent_Message_LinkOutSuggestion struct { - // Required. The name of the app or site this chip is linking to. - DestinationName string `protobuf:"bytes,1,opt,name=destination_name,json=destinationName,proto3" json:"destination_name,omitempty"` - // Required. The URI of the app or site to open when the user taps the - // suggestion chip. - Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_LinkOutSuggestion) Reset() { *m = Intent_Message_LinkOutSuggestion{} } -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_6c20e31044d743bd, []int{0, 2, 9} -} - -func (m *Intent_Message_LinkOutSuggestion) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_LinkOutSuggestion.Unmarshal(m, b) -} -func (m *Intent_Message_LinkOutSuggestion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_LinkOutSuggestion.Marshal(b, m, deterministic) -} -func (m *Intent_Message_LinkOutSuggestion) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_LinkOutSuggestion.Merge(m, src) -} -func (m *Intent_Message_LinkOutSuggestion) XXX_Size() int { - return xxx_messageInfo_Intent_Message_LinkOutSuggestion.Size(m) -} -func (m *Intent_Message_LinkOutSuggestion) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_LinkOutSuggestion.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_LinkOutSuggestion proto.InternalMessageInfo - -func (m *Intent_Message_LinkOutSuggestion) GetDestinationName() string { - if m != nil { - return m.DestinationName - } - return "" -} - -func (m *Intent_Message_LinkOutSuggestion) GetUri() string { - if m != nil { - return m.Uri - } - return "" -} - -// The card for presenting a list of options to select from. -type Intent_Message_ListSelect struct { - // Optional. The overall title of the list. - Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` - // Required. List items. - Items []*Intent_Message_ListSelect_Item `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_ListSelect) Reset() { *m = Intent_Message_ListSelect{} } -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_6c20e31044d743bd, []int{0, 2, 10} -} - -func (m *Intent_Message_ListSelect) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_ListSelect.Unmarshal(m, b) -} -func (m *Intent_Message_ListSelect) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_ListSelect.Marshal(b, m, deterministic) -} -func (m *Intent_Message_ListSelect) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_ListSelect.Merge(m, src) -} -func (m *Intent_Message_ListSelect) XXX_Size() int { - return xxx_messageInfo_Intent_Message_ListSelect.Size(m) -} -func (m *Intent_Message_ListSelect) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_ListSelect.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_ListSelect proto.InternalMessageInfo - -func (m *Intent_Message_ListSelect) GetTitle() string { - if m != nil { - return m.Title - } - return "" -} - -func (m *Intent_Message_ListSelect) GetItems() []*Intent_Message_ListSelect_Item { - if m != nil { - return m.Items - } - return nil -} - -// An item in the list. -type Intent_Message_ListSelect_Item struct { - // Required. Additional information about this option. - Info *Intent_Message_SelectItemInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` - // Required. The title of the list item. - Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` - // Optional. The main text describing the item. - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - // Optional. The image to display. - Image *Intent_Message_Image `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_ListSelect_Item) Reset() { *m = Intent_Message_ListSelect_Item{} } -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_6c20e31044d743bd, []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) -} -func (m *Intent_Message_ListSelect_Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_ListSelect_Item.Marshal(b, m, deterministic) -} -func (m *Intent_Message_ListSelect_Item) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_ListSelect_Item.Merge(m, src) -} -func (m *Intent_Message_ListSelect_Item) XXX_Size() int { - return xxx_messageInfo_Intent_Message_ListSelect_Item.Size(m) -} -func (m *Intent_Message_ListSelect_Item) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_ListSelect_Item.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_ListSelect_Item proto.InternalMessageInfo - -func (m *Intent_Message_ListSelect_Item) GetInfo() *Intent_Message_SelectItemInfo { - if m != nil { - return m.Info - } - return nil -} - -func (m *Intent_Message_ListSelect_Item) GetTitle() string { - if m != nil { - return m.Title - } - return "" -} - -func (m *Intent_Message_ListSelect_Item) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *Intent_Message_ListSelect_Item) GetImage() *Intent_Message_Image { - if m != nil { - return m.Image - } - return nil -} - -// The card for presenting a carousel of options to select from. -type Intent_Message_CarouselSelect struct { - // Required. Carousel items. - Items []*Intent_Message_CarouselSelect_Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_CarouselSelect) Reset() { *m = Intent_Message_CarouselSelect{} } -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_6c20e31044d743bd, []int{0, 2, 11} -} - -func (m *Intent_Message_CarouselSelect) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_CarouselSelect.Unmarshal(m, b) -} -func (m *Intent_Message_CarouselSelect) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_CarouselSelect.Marshal(b, m, deterministic) -} -func (m *Intent_Message_CarouselSelect) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_CarouselSelect.Merge(m, src) -} -func (m *Intent_Message_CarouselSelect) XXX_Size() int { - return xxx_messageInfo_Intent_Message_CarouselSelect.Size(m) -} -func (m *Intent_Message_CarouselSelect) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_CarouselSelect.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_CarouselSelect proto.InternalMessageInfo - -func (m *Intent_Message_CarouselSelect) GetItems() []*Intent_Message_CarouselSelect_Item { - if m != nil { - return m.Items - } - return nil -} - -// An item in the carousel. -type Intent_Message_CarouselSelect_Item struct { - // Required. Additional info about the option item. - Info *Intent_Message_SelectItemInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` - // Required. Title of the carousel item. - Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` - // Optional. The body text of the card. - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - // Optional. The image to display. - Image *Intent_Message_Image `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_CarouselSelect_Item) Reset() { *m = Intent_Message_CarouselSelect_Item{} } -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_6c20e31044d743bd, []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) -} -func (m *Intent_Message_CarouselSelect_Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_CarouselSelect_Item.Marshal(b, m, deterministic) -} -func (m *Intent_Message_CarouselSelect_Item) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_CarouselSelect_Item.Merge(m, src) -} -func (m *Intent_Message_CarouselSelect_Item) XXX_Size() int { - return xxx_messageInfo_Intent_Message_CarouselSelect_Item.Size(m) -} -func (m *Intent_Message_CarouselSelect_Item) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_CarouselSelect_Item.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_CarouselSelect_Item proto.InternalMessageInfo - -func (m *Intent_Message_CarouselSelect_Item) GetInfo() *Intent_Message_SelectItemInfo { - if m != nil { - return m.Info - } - return nil -} - -func (m *Intent_Message_CarouselSelect_Item) GetTitle() string { - if m != nil { - return m.Title - } - return "" -} - -func (m *Intent_Message_CarouselSelect_Item) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *Intent_Message_CarouselSelect_Item) GetImage() *Intent_Message_Image { - if m != nil { - return m.Image - } - return nil -} - -// Additional info about the select item for when it is triggered in a -// dialog. -type Intent_Message_SelectItemInfo struct { - // Required. A unique key that will be sent back to the agent if this - // response is given. - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - // Optional. A list of synonyms that can also be used to trigger this - // item in dialog. - Synonyms []string `protobuf:"bytes,2,rep,name=synonyms,proto3" json:"synonyms,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_SelectItemInfo) Reset() { *m = Intent_Message_SelectItemInfo{} } -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_6c20e31044d743bd, []int{0, 2, 12} -} - -func (m *Intent_Message_SelectItemInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_SelectItemInfo.Unmarshal(m, b) -} -func (m *Intent_Message_SelectItemInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_SelectItemInfo.Marshal(b, m, deterministic) -} -func (m *Intent_Message_SelectItemInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_SelectItemInfo.Merge(m, src) -} -func (m *Intent_Message_SelectItemInfo) XXX_Size() int { - return xxx_messageInfo_Intent_Message_SelectItemInfo.Size(m) -} -func (m *Intent_Message_SelectItemInfo) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_SelectItemInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_SelectItemInfo proto.InternalMessageInfo - -func (m *Intent_Message_SelectItemInfo) GetKey() string { - if m != nil { - return m.Key - } - return "" -} - -func (m *Intent_Message_SelectItemInfo) GetSynonyms() []string { - if m != nil { - return m.Synonyms - } - return nil -} - -// Represents a single followup intent in the chain. -type Intent_FollowupIntentInfo struct { - // The unique identifier of the followup intent. - // Format: `projects//agent/intents/`. - FollowupIntentName string `protobuf:"bytes,1,opt,name=followup_intent_name,json=followupIntentName,proto3" json:"followup_intent_name,omitempty"` - // The unique identifier of the followup intent's parent. - // Format: `projects//agent/intents/`. - ParentFollowupIntentName string `protobuf:"bytes,2,opt,name=parent_followup_intent_name,json=parentFollowupIntentName,proto3" json:"parent_followup_intent_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_FollowupIntentInfo) Reset() { *m = Intent_FollowupIntentInfo{} } -func (m *Intent_FollowupIntentInfo) String() string { return proto.CompactTextString(m) } -func (*Intent_FollowupIntentInfo) ProtoMessage() {} -func (*Intent_FollowupIntentInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_6c20e31044d743bd, []int{0, 3} -} - -func (m *Intent_FollowupIntentInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_FollowupIntentInfo.Unmarshal(m, b) -} -func (m *Intent_FollowupIntentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_FollowupIntentInfo.Marshal(b, m, deterministic) -} -func (m *Intent_FollowupIntentInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_FollowupIntentInfo.Merge(m, src) -} -func (m *Intent_FollowupIntentInfo) XXX_Size() int { - return xxx_messageInfo_Intent_FollowupIntentInfo.Size(m) -} -func (m *Intent_FollowupIntentInfo) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_FollowupIntentInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_FollowupIntentInfo proto.InternalMessageInfo - -func (m *Intent_FollowupIntentInfo) GetFollowupIntentName() string { - if m != nil { - return m.FollowupIntentName - } - return "" -} - -func (m *Intent_FollowupIntentInfo) GetParentFollowupIntentName() string { - if m != nil { - return m.ParentFollowupIntentName - } - return "" -} - -// The request message for [Intents.ListIntents][google.cloud.dialogflow.v2.Intents.ListIntents]. -type ListIntentsRequest struct { - // Required. The agent to list all intents from. - // Format: `projects//agent`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. The language to list training phrases, parameters and rich - // messages for. If not specified, the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // Optional. The resource view to apply to the returned intent. - IntentView IntentView `protobuf:"varint,3,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.v2.IntentView" json:"intent_view,omitempty"` - // Optional. The maximum number of items to return in a single page. By - // default 100 and at most 1000. - PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional. The next_page_token value returned from a previous list request. - 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 *ListIntentsRequest) Reset() { *m = ListIntentsRequest{} } -func (m *ListIntentsRequest) String() string { return proto.CompactTextString(m) } -func (*ListIntentsRequest) ProtoMessage() {} -func (*ListIntentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6c20e31044d743bd, []int{1} -} - -func (m *ListIntentsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListIntentsRequest.Unmarshal(m, b) -} -func (m *ListIntentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListIntentsRequest.Marshal(b, m, deterministic) -} -func (m *ListIntentsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListIntentsRequest.Merge(m, src) -} -func (m *ListIntentsRequest) XXX_Size() int { - return xxx_messageInfo_ListIntentsRequest.Size(m) -} -func (m *ListIntentsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListIntentsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListIntentsRequest proto.InternalMessageInfo - -func (m *ListIntentsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListIntentsRequest) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *ListIntentsRequest) GetIntentView() IntentView { - if m != nil { - return m.IntentView - } - return IntentView_INTENT_VIEW_UNSPECIFIED -} - -func (m *ListIntentsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListIntentsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// The response message for [Intents.ListIntents][google.cloud.dialogflow.v2.Intents.ListIntents]. -type ListIntentsResponse struct { - // The list of agent intents. There will be a maximum number of items - // returned based on the page_size field in the request. - Intents []*Intent `protobuf:"bytes,1,rep,name=intents,proto3" json:"intents,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 *ListIntentsResponse) Reset() { *m = ListIntentsResponse{} } -func (m *ListIntentsResponse) String() string { return proto.CompactTextString(m) } -func (*ListIntentsResponse) ProtoMessage() {} -func (*ListIntentsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6c20e31044d743bd, []int{2} -} - -func (m *ListIntentsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListIntentsResponse.Unmarshal(m, b) -} -func (m *ListIntentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListIntentsResponse.Marshal(b, m, deterministic) -} -func (m *ListIntentsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListIntentsResponse.Merge(m, src) -} -func (m *ListIntentsResponse) XXX_Size() int { - return xxx_messageInfo_ListIntentsResponse.Size(m) -} -func (m *ListIntentsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListIntentsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListIntentsResponse proto.InternalMessageInfo - -func (m *ListIntentsResponse) GetIntents() []*Intent { - if m != nil { - return m.Intents - } - return nil -} - -func (m *ListIntentsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The request message for [Intents.GetIntent][google.cloud.dialogflow.v2.Intents.GetIntent]. -type GetIntentRequest struct { - // Required. The name of the intent. - // Format: `projects//agent/intents/`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Optional. The language to retrieve training phrases, parameters and rich - // messages for. If not specified, the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // Optional. The resource view to apply to the returned intent. - IntentView IntentView `protobuf:"varint,3,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.v2.IntentView" json:"intent_view,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_6c20e31044d743bd, []int{3} -} - -func (m *GetIntentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetIntentRequest.Unmarshal(m, b) -} -func (m *GetIntentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetIntentRequest.Marshal(b, m, deterministic) -} -func (m *GetIntentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetIntentRequest.Merge(m, src) -} -func (m *GetIntentRequest) XXX_Size() int { - return xxx_messageInfo_GetIntentRequest.Size(m) -} -func (m *GetIntentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetIntentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetIntentRequest proto.InternalMessageInfo - -func (m *GetIntentRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *GetIntentRequest) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *GetIntentRequest) GetIntentView() IntentView { - if m != nil { - return m.IntentView - } - return IntentView_INTENT_VIEW_UNSPECIFIED -} - -// The request message for [Intents.CreateIntent][google.cloud.dialogflow.v2.Intents.CreateIntent]. -type CreateIntentRequest struct { - // Required. The agent to create a intent for. - // Format: `projects//agent`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The intent to create. - Intent *Intent `protobuf:"bytes,2,opt,name=intent,proto3" json:"intent,omitempty"` - // Optional. The language of training phrases, parameters and rich messages - // defined in `intent`. If not specified, the agent's default language is - // used. [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // Optional. The resource view to apply to the returned intent. - IntentView IntentView `protobuf:"varint,4,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.v2.IntentView" json:"intent_view,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_6c20e31044d743bd, []int{4} -} - -func (m *CreateIntentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateIntentRequest.Unmarshal(m, b) -} -func (m *CreateIntentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateIntentRequest.Marshal(b, m, deterministic) -} -func (m *CreateIntentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateIntentRequest.Merge(m, src) -} -func (m *CreateIntentRequest) XXX_Size() int { - return xxx_messageInfo_CreateIntentRequest.Size(m) -} -func (m *CreateIntentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateIntentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateIntentRequest proto.InternalMessageInfo - -func (m *CreateIntentRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateIntentRequest) GetIntent() *Intent { - if m != nil { - return m.Intent - } - return nil -} - -func (m *CreateIntentRequest) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *CreateIntentRequest) GetIntentView() IntentView { - if m != nil { - return m.IntentView - } - return IntentView_INTENT_VIEW_UNSPECIFIED -} - -// The request message for [Intents.UpdateIntent][google.cloud.dialogflow.v2.Intents.UpdateIntent]. -type UpdateIntentRequest struct { - // Required. The intent to update. - Intent *Intent `protobuf:"bytes,1,opt,name=intent,proto3" json:"intent,omitempty"` - // Optional. The language of training phrases, parameters and rich messages - // defined in `intent`. If not specified, the agent's default language is - // used. [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // Optional. The 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"` - // Optional. The resource view to apply to the returned intent. - IntentView IntentView `protobuf:"varint,4,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.v2.IntentView" json:"intent_view,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_6c20e31044d743bd, []int{5} -} - -func (m *UpdateIntentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateIntentRequest.Unmarshal(m, b) -} -func (m *UpdateIntentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateIntentRequest.Marshal(b, m, deterministic) -} -func (m *UpdateIntentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateIntentRequest.Merge(m, src) -} -func (m *UpdateIntentRequest) XXX_Size() int { - return xxx_messageInfo_UpdateIntentRequest.Size(m) -} -func (m *UpdateIntentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateIntentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateIntentRequest proto.InternalMessageInfo - -func (m *UpdateIntentRequest) GetIntent() *Intent { - if m != nil { - return m.Intent - } - return nil -} - -func (m *UpdateIntentRequest) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *UpdateIntentRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -func (m *UpdateIntentRequest) GetIntentView() IntentView { - if m != nil { - return m.IntentView - } - return IntentView_INTENT_VIEW_UNSPECIFIED -} - -// The request message for [Intents.DeleteIntent][google.cloud.dialogflow.v2.Intents.DeleteIntent]. -type DeleteIntentRequest struct { - // Required. The name of the intent to delete. If this intent has direct or - // indirect followup intents, we also delete them. - // Format: `projects//agent/intents/`. - 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 *DeleteIntentRequest) Reset() { *m = DeleteIntentRequest{} } -func (m *DeleteIntentRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteIntentRequest) ProtoMessage() {} -func (*DeleteIntentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6c20e31044d743bd, []int{6} -} - -func (m *DeleteIntentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteIntentRequest.Unmarshal(m, b) -} -func (m *DeleteIntentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteIntentRequest.Marshal(b, m, deterministic) -} -func (m *DeleteIntentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteIntentRequest.Merge(m, src) -} -func (m *DeleteIntentRequest) XXX_Size() int { - return xxx_messageInfo_DeleteIntentRequest.Size(m) -} -func (m *DeleteIntentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteIntentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteIntentRequest proto.InternalMessageInfo - -func (m *DeleteIntentRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The request message for [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents]. -type BatchUpdateIntentsRequest struct { - // Required. The name of the agent to update or create intents in. - // Format: `projects//agent`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The source of the intent batch. - // - // Types that are valid to be assigned to IntentBatch: - // *BatchUpdateIntentsRequest_IntentBatchUri - // *BatchUpdateIntentsRequest_IntentBatchInline - IntentBatch isBatchUpdateIntentsRequest_IntentBatch `protobuf_oneof:"intent_batch"` - // Optional. The language of training phrases, parameters and rich messages - // defined in `intents`. If not specified, the agent's default language is - // used. [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - LanguageCode string `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // Optional. The mask to control which fields get updated. - UpdateMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` - // Optional. The resource view to apply to the returned intent. - IntentView IntentView `protobuf:"varint,6,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.v2.IntentView" json:"intent_view,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchUpdateIntentsRequest) Reset() { *m = BatchUpdateIntentsRequest{} } -func (m *BatchUpdateIntentsRequest) String() string { return proto.CompactTextString(m) } -func (*BatchUpdateIntentsRequest) ProtoMessage() {} -func (*BatchUpdateIntentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6c20e31044d743bd, []int{7} -} - -func (m *BatchUpdateIntentsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchUpdateIntentsRequest.Unmarshal(m, b) -} -func (m *BatchUpdateIntentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchUpdateIntentsRequest.Marshal(b, m, deterministic) -} -func (m *BatchUpdateIntentsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchUpdateIntentsRequest.Merge(m, src) -} -func (m *BatchUpdateIntentsRequest) XXX_Size() int { - return xxx_messageInfo_BatchUpdateIntentsRequest.Size(m) -} -func (m *BatchUpdateIntentsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchUpdateIntentsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchUpdateIntentsRequest proto.InternalMessageInfo - -func (m *BatchUpdateIntentsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -type isBatchUpdateIntentsRequest_IntentBatch interface { - isBatchUpdateIntentsRequest_IntentBatch() -} - -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_IntentBatchInline) isBatchUpdateIntentsRequest_IntentBatch() {} - -func (m *BatchUpdateIntentsRequest) GetIntentBatch() isBatchUpdateIntentsRequest_IntentBatch { - if m != nil { - return m.IntentBatch - } - return nil -} - -func (m *BatchUpdateIntentsRequest) GetIntentBatchUri() string { - if x, ok := m.GetIntentBatch().(*BatchUpdateIntentsRequest_IntentBatchUri); ok { - return x.IntentBatchUri - } - return "" -} - -func (m *BatchUpdateIntentsRequest) GetIntentBatchInline() *IntentBatch { - if x, ok := m.GetIntentBatch().(*BatchUpdateIntentsRequest_IntentBatchInline); ok { - return x.IntentBatchInline - } - return nil -} - -func (m *BatchUpdateIntentsRequest) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *BatchUpdateIntentsRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -func (m *BatchUpdateIntentsRequest) GetIntentView() IntentView { - if m != nil { - return m.IntentView - } - return IntentView_INTENT_VIEW_UNSPECIFIED -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*BatchUpdateIntentsRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*BatchUpdateIntentsRequest_IntentBatchUri)(nil), - (*BatchUpdateIntentsRequest_IntentBatchInline)(nil), - } -} - -// The response message for [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents]. -type BatchUpdateIntentsResponse struct { - // The collection of updated or created intents. - Intents []*Intent `protobuf:"bytes,1,rep,name=intents,proto3" json:"intents,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchUpdateIntentsResponse) Reset() { *m = BatchUpdateIntentsResponse{} } -func (m *BatchUpdateIntentsResponse) String() string { return proto.CompactTextString(m) } -func (*BatchUpdateIntentsResponse) ProtoMessage() {} -func (*BatchUpdateIntentsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6c20e31044d743bd, []int{8} -} - -func (m *BatchUpdateIntentsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchUpdateIntentsResponse.Unmarshal(m, b) -} -func (m *BatchUpdateIntentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchUpdateIntentsResponse.Marshal(b, m, deterministic) -} -func (m *BatchUpdateIntentsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchUpdateIntentsResponse.Merge(m, src) -} -func (m *BatchUpdateIntentsResponse) XXX_Size() int { - return xxx_messageInfo_BatchUpdateIntentsResponse.Size(m) -} -func (m *BatchUpdateIntentsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BatchUpdateIntentsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchUpdateIntentsResponse proto.InternalMessageInfo - -func (m *BatchUpdateIntentsResponse) GetIntents() []*Intent { - if m != nil { - return m.Intents - } - return nil -} - -// The request message for [Intents.BatchDeleteIntents][google.cloud.dialogflow.v2.Intents.BatchDeleteIntents]. -type BatchDeleteIntentsRequest struct { - // Required. The name of the agent to delete all entities types for. Format: - // `projects//agent`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The collection of intents to delete. Only intent `name` must be - // filled in. - Intents []*Intent `protobuf:"bytes,2,rep,name=intents,proto3" json:"intents,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchDeleteIntentsRequest) Reset() { *m = BatchDeleteIntentsRequest{} } -func (m *BatchDeleteIntentsRequest) String() string { return proto.CompactTextString(m) } -func (*BatchDeleteIntentsRequest) ProtoMessage() {} -func (*BatchDeleteIntentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6c20e31044d743bd, []int{9} -} - -func (m *BatchDeleteIntentsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchDeleteIntentsRequest.Unmarshal(m, b) -} -func (m *BatchDeleteIntentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchDeleteIntentsRequest.Marshal(b, m, deterministic) -} -func (m *BatchDeleteIntentsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchDeleteIntentsRequest.Merge(m, src) -} -func (m *BatchDeleteIntentsRequest) XXX_Size() int { - return xxx_messageInfo_BatchDeleteIntentsRequest.Size(m) -} -func (m *BatchDeleteIntentsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchDeleteIntentsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchDeleteIntentsRequest proto.InternalMessageInfo - -func (m *BatchDeleteIntentsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *BatchDeleteIntentsRequest) GetIntents() []*Intent { - if m != nil { - return m.Intents - } - return nil -} - -// This message is a wrapper around a collection of intents. -type IntentBatch struct { - // A collection of intents. - Intents []*Intent `protobuf:"bytes,1,rep,name=intents,proto3" json:"intents,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_6c20e31044d743bd, []int{10} -} - -func (m *IntentBatch) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IntentBatch.Unmarshal(m, b) -} -func (m *IntentBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IntentBatch.Marshal(b, m, deterministic) -} -func (m *IntentBatch) XXX_Merge(src proto.Message) { - xxx_messageInfo_IntentBatch.Merge(m, src) -} -func (m *IntentBatch) XXX_Size() int { - return xxx_messageInfo_IntentBatch.Size(m) -} -func (m *IntentBatch) XXX_DiscardUnknown() { - xxx_messageInfo_IntentBatch.DiscardUnknown(m) -} - -var xxx_messageInfo_IntentBatch proto.InternalMessageInfo - -func (m *IntentBatch) GetIntents() []*Intent { - if m != nil { - return m.Intents - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.dialogflow.v2.IntentView", IntentView_name, IntentView_value) - proto.RegisterEnum("google.cloud.dialogflow.v2.Intent_WebhookState", Intent_WebhookState_name, Intent_WebhookState_value) - proto.RegisterEnum("google.cloud.dialogflow.v2.Intent_TrainingPhrase_Type", Intent_TrainingPhrase_Type_name, Intent_TrainingPhrase_Type_value) - proto.RegisterEnum("google.cloud.dialogflow.v2.Intent_Message_Platform", Intent_Message_Platform_name, Intent_Message_Platform_value) - proto.RegisterType((*Intent)(nil), "google.cloud.dialogflow.v2.Intent") - proto.RegisterType((*Intent_TrainingPhrase)(nil), "google.cloud.dialogflow.v2.Intent.TrainingPhrase") - proto.RegisterType((*Intent_TrainingPhrase_Part)(nil), "google.cloud.dialogflow.v2.Intent.TrainingPhrase.Part") - proto.RegisterType((*Intent_Parameter)(nil), "google.cloud.dialogflow.v2.Intent.Parameter") - proto.RegisterType((*Intent_Message)(nil), "google.cloud.dialogflow.v2.Intent.Message") - proto.RegisterType((*Intent_Message_Text)(nil), "google.cloud.dialogflow.v2.Intent.Message.Text") - proto.RegisterType((*Intent_Message_Image)(nil), "google.cloud.dialogflow.v2.Intent.Message.Image") - proto.RegisterType((*Intent_Message_QuickReplies)(nil), "google.cloud.dialogflow.v2.Intent.Message.QuickReplies") - proto.RegisterType((*Intent_Message_Card)(nil), "google.cloud.dialogflow.v2.Intent.Message.Card") - proto.RegisterType((*Intent_Message_Card_Button)(nil), "google.cloud.dialogflow.v2.Intent.Message.Card.Button") - proto.RegisterType((*Intent_Message_SimpleResponse)(nil), "google.cloud.dialogflow.v2.Intent.Message.SimpleResponse") - proto.RegisterType((*Intent_Message_SimpleResponses)(nil), "google.cloud.dialogflow.v2.Intent.Message.SimpleResponses") - proto.RegisterType((*Intent_Message_BasicCard)(nil), "google.cloud.dialogflow.v2.Intent.Message.BasicCard") - proto.RegisterType((*Intent_Message_BasicCard_Button)(nil), "google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button") - proto.RegisterType((*Intent_Message_BasicCard_Button_OpenUriAction)(nil), "google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button.OpenUriAction") - proto.RegisterType((*Intent_Message_Suggestion)(nil), "google.cloud.dialogflow.v2.Intent.Message.Suggestion") - proto.RegisterType((*Intent_Message_Suggestions)(nil), "google.cloud.dialogflow.v2.Intent.Message.Suggestions") - proto.RegisterType((*Intent_Message_LinkOutSuggestion)(nil), "google.cloud.dialogflow.v2.Intent.Message.LinkOutSuggestion") - proto.RegisterType((*Intent_Message_ListSelect)(nil), "google.cloud.dialogflow.v2.Intent.Message.ListSelect") - proto.RegisterType((*Intent_Message_ListSelect_Item)(nil), "google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item") - proto.RegisterType((*Intent_Message_CarouselSelect)(nil), "google.cloud.dialogflow.v2.Intent.Message.CarouselSelect") - proto.RegisterType((*Intent_Message_CarouselSelect_Item)(nil), "google.cloud.dialogflow.v2.Intent.Message.CarouselSelect.Item") - proto.RegisterType((*Intent_Message_SelectItemInfo)(nil), "google.cloud.dialogflow.v2.Intent.Message.SelectItemInfo") - proto.RegisterType((*Intent_FollowupIntentInfo)(nil), "google.cloud.dialogflow.v2.Intent.FollowupIntentInfo") - proto.RegisterType((*ListIntentsRequest)(nil), "google.cloud.dialogflow.v2.ListIntentsRequest") - proto.RegisterType((*ListIntentsResponse)(nil), "google.cloud.dialogflow.v2.ListIntentsResponse") - proto.RegisterType((*GetIntentRequest)(nil), "google.cloud.dialogflow.v2.GetIntentRequest") - proto.RegisterType((*CreateIntentRequest)(nil), "google.cloud.dialogflow.v2.CreateIntentRequest") - proto.RegisterType((*UpdateIntentRequest)(nil), "google.cloud.dialogflow.v2.UpdateIntentRequest") - proto.RegisterType((*DeleteIntentRequest)(nil), "google.cloud.dialogflow.v2.DeleteIntentRequest") - proto.RegisterType((*BatchUpdateIntentsRequest)(nil), "google.cloud.dialogflow.v2.BatchUpdateIntentsRequest") - proto.RegisterType((*BatchUpdateIntentsResponse)(nil), "google.cloud.dialogflow.v2.BatchUpdateIntentsResponse") - proto.RegisterType((*BatchDeleteIntentsRequest)(nil), "google.cloud.dialogflow.v2.BatchDeleteIntentsRequest") - proto.RegisterType((*IntentBatch)(nil), "google.cloud.dialogflow.v2.IntentBatch") -} - -func init() { - proto.RegisterFile("google/cloud/dialogflow/v2/intent.proto", fileDescriptor_6c20e31044d743bd) -} - -var fileDescriptor_6c20e31044d743bd = []byte{ - // 2936 bytes of a gzipped FileDescript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, 0x07, 0x3a, 0x2f, - 0xd4, 0xe6, 0x3f, 0x10, 0x7c, 0x3b, 0x8c, 0x8d, 0x49, 0x56, 0x6a, 0xa9, 0xc3, 0x10, 0x08, 0x5d, - 0x86, 0x84, 0xeb, 0x99, 0x8e, 0x67, 0xd2, 0xa3, 0xec, 0xf8, 0xa2, 0xb2, 0x34, 0x21, 0x88, 0xba, - 0x40, 0xf4, 0x0a, 0x24, 0x4d, 0xa2, 0xef, 0x19, 0x96, 0xd5, 0x30, 0x9a, 0xfb, 0xd9, 0xf8, 0xa2, - 0xb2, 0x94, 0x10, 0x34, 0x60, 0x92, 0x75, 0x09, 0x66, 0x54, 0x1d, 0x4b, 0x6f, 0x99, 0xc4, 0x68, - 0x58, 0xb8, 0x95, 0x9d, 0x0f, 0x51, 0x75, 0xac, 0x35, 0x09, 0x46, 0x37, 0x60, 0xde, 0xb4, 0x5d, - 0x9f, 0xea, 0x32, 0x8e, 0xdc, 0x6a, 0x92, 0x9d, 0x5a, 0x1c, 0x17, 0x66, 0x2b, 0xb5, 0x39, 0x8e, - 0x5f, 0x15, 0x68, 0x66, 0x3b, 0x41, 0x17, 0x61, 0x12, 0x1f, 0x60, 0x9b, 0x92, 0x6c, 0xa2, 0x47, - 0x27, 0x41, 0xc8, 0x80, 0x0c, 0xf5, 0x0c, 0x93, 0x85, 0x5e, 0x77, 0x1f, 0x7a, 0x06, 0xc1, 0x24, - 0x3b, 0xbd, 0x38, 0xbe, 0x94, 0x2c, 0xbe, 0x31, 0x82, 0x73, 0xea, 0x92, 0x75, 0x9b, 0x73, 0x0a, - 0xc9, 0xb3, 0x34, 0x02, 0xe4, 0xfa, 0x8d, 0x26, 0x4b, 0x98, 0x2c, 0x04, 0xe1, 0x51, 0x6a, 0x12, - 0x84, 0xee, 0xc2, 0xac, 0xe3, 0xd3, 0x90, 0x49, 0x24, 0x9b, 0xe4, 0xea, 0x5f, 0x1e, 0xa6, 0x5e, - 0xda, 0x27, 0x44, 0xa5, 0x85, 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x9b, 0x86, 0xe7, 0xf8, 0x04, 0x5b, 0x81, 0xf4, 0x14, 0x97, 0xfe, 0xce, 0xe9, 0x92, 0x8d, 0x4b, - 0xe8, 0x6a, 0x48, 0x37, 0x23, 0x10, 0x54, 0x87, 0x44, 0x30, 0xf5, 0xe5, 0xea, 0xfa, 0xec, 0x43, - 0xbf, 0x2b, 0x49, 0xbd, 0x0c, 0x71, 0x56, 0xd7, 0xe8, 0x42, 0xb7, 0x2d, 0x74, 0x9b, 0x0b, 0x07, - 0xa8, 0xdf, 0x80, 0x09, 0x5e, 0xb0, 0x68, 0x11, 0xa6, 0x79, 0xc1, 0xea, 0xbe, 0x67, 0x8a, 0x1e, - 0x2b, 0x65, 0x71, 0xe8, 0xae, 0x67, 0xa2, 0x22, 0x20, 0xa3, 0xd9, 0xc4, 0x84, 0x98, 0x0d, 0xd3, - 0xe2, 0xbd, 0x90, 0x49, 0x0c, 0xcd, 0x8e, 0xb9, 0x08, 0x9a, 0xe9, 0x55, 0x77, 0x20, 0x15, 0xae, - 0x5e, 0xd6, 0x8d, 0xa9, 0x49, 0x2d, 0x1c, 0xd6, 0x20, 0x20, 0xac, 0x1b, 0x47, 0x1b, 0x45, 0xac, - 0x77, 0xd6, 0x48, 0xc9, 0xab, 0xff, 0x52, 0x20, 0xce, 0xf3, 0x77, 0x88, 0xb4, 0xcb, 0x90, 0x20, - 0x7e, 0x43, 0x60, 0x43, 0x47, 0xec, 0x02, 0xa3, 0xf6, 0x8e, 0x0f, 0xb2, 0x77, 0x17, 0xa6, 0x1a, - 0x3e, 0xa5, 0xac, 0x32, 0xe2, 0x23, 0xcf, 0xf1, 0x70, 0x73, 0xc9, 0xaf, 0x70, 0x76, 0xd9, 0xcb, - 0xa5, 0x2c, 0x75, 0x05, 0x26, 0x05, 0x3c, 0x14, 0x14, 0x25, 0x12, 0x14, 0xfe, 0xc1, 0xe1, 0x10, - 0xca, 0x3f, 0x26, 0xc2, 0x87, 0x0f, 0x80, 0xaa, 0x07, 0xe9, 0x68, 0xd7, 0x40, 0xaf, 0x40, 0x9a, - 0x7f, 0x2d, 0x50, 0x47, 0x27, 0x2e, 0xc6, 0xcd, 0x87, 0x72, 0x4e, 0xa6, 0x18, 0xb4, 0xee, 0xec, - 0x70, 0x18, 0x9b, 0xa1, 0x84, 0x74, 0x2c, 0x39, 0x27, 0xf9, 0x73, 0xf8, 0x03, 0x8b, 0x9f, 0x26, - 0xe4, 0x8b, 0x60, 0x90, 0xf2, 0x50, 0x7e, 0x1b, 0x66, 0xfb, 0x3a, 0x15, 0x32, 0x07, 0xf4, 0x3f, - 0x85, 0xbb, 0xea, 0x9d, 0x67, 0xee, 0x7f, 0x62, 0xeb, 0xe9, 0xef, 0x80, 0xea, 0x17, 0xe3, 0x30, - 0xdd, 0xed, 0x62, 0x67, 0x0a, 0xfc, 0xab, 0x90, 0x66, 0xa5, 0x61, 0x50, 0x8a, 0x5b, 0x21, 0x8b, - 0x6b, 0x33, 0x5d, 0x28, 0xaf, 0x98, 0xcd, 0x60, 0x02, 0xc6, 0x9f, 0x6d, 0x02, 0xca, 0x43, 0x89, - 0x21, 0xf8, 0xa0, 0x97, 0x4a, 0x13, 0xdc, 0x3f, 0xef, 0x3e, 0x4b, 0xf3, 0x1e, 0x9c, 0x4f, 0xbf, - 0x51, 0xba, 0x09, 0x75, 0x2e, 0xe2, 0x96, 0xc0, 0x23, 0x07, 0x30, 0xeb, 0xb8, 0xd8, 0x66, 0x89, - 0xae, 0xcb, 0xaf, 0x34, 0x31, 0xd5, 0xcb, 0x67, 0x38, 0x44, 0xbe, 0xea, 0x62, 0x7b, 0xd7, 0x33, - 0x35, 0x2e, 0x50, 0x04, 0x6d, 0xc6, 0x09, 0xc3, 0xd4, 0x2b, 0x30, 0x13, 0x21, 0x42, 0x19, 0x18, - 0xef, 0x36, 0x97, 0x1a, 0x7b, 0x54, 0xaf, 0x01, 0x84, 0x5a, 0xf8, 0xc9, 0xa8, 0xc6, 0xa4, 0x0d, - 0xea, 0x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x00, 0x00, 0xff, 0xff, - 0x9d, 0xac, 0x95, 0x87, 0x7b, 0x26, 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 - -// IntentsClient is the client API for Intents service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type IntentsClient interface { - // Returns the list of all intents in the specified agent. - ListIntents(ctx context.Context, in *ListIntentsRequest, opts ...grpc.CallOption) (*ListIntentsResponse, error) - // Retrieves the specified intent. - GetIntent(ctx context.Context, in *GetIntentRequest, opts ...grpc.CallOption) (*Intent, error) - // Creates an intent in the specified agent. - CreateIntent(ctx context.Context, in *CreateIntentRequest, opts ...grpc.CallOption) (*Intent, error) - // Updates the specified intent. - UpdateIntent(ctx context.Context, in *UpdateIntentRequest, opts ...grpc.CallOption) (*Intent, error) - // Deletes the specified intent and its direct or indirect followup intents. - DeleteIntent(ctx context.Context, in *DeleteIntentRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Updates/Creates multiple intents in the specified agent. - // - // Operation - BatchUpdateIntents(ctx context.Context, in *BatchUpdateIntentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Deletes intents in the specified agent. - // - // Operation - BatchDeleteIntents(ctx context.Context, in *BatchDeleteIntentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) -} - -type intentsClient struct { - cc *grpc.ClientConn -} - -func NewIntentsClient(cc *grpc.ClientConn) IntentsClient { - return &intentsClient{cc} -} - -func (c *intentsClient) ListIntents(ctx context.Context, in *ListIntentsRequest, opts ...grpc.CallOption) (*ListIntentsResponse, error) { - out := new(ListIntentsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Intents/ListIntents", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *intentsClient) GetIntent(ctx context.Context, in *GetIntentRequest, opts ...grpc.CallOption) (*Intent, error) { - out := new(Intent) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Intents/GetIntent", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *intentsClient) CreateIntent(ctx context.Context, in *CreateIntentRequest, opts ...grpc.CallOption) (*Intent, error) { - out := new(Intent) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Intents/CreateIntent", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *intentsClient) UpdateIntent(ctx context.Context, in *UpdateIntentRequest, opts ...grpc.CallOption) (*Intent, error) { - out := new(Intent) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Intents/UpdateIntent", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *intentsClient) DeleteIntent(ctx context.Context, in *DeleteIntentRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Intents/DeleteIntent", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *intentsClient) BatchUpdateIntents(ctx context.Context, in *BatchUpdateIntentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Intents/BatchUpdateIntents", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *intentsClient) BatchDeleteIntents(ctx context.Context, in *BatchDeleteIntentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Intents/BatchDeleteIntents", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// IntentsServer is the server API for Intents service. -type IntentsServer interface { - // Returns the list of all intents in the specified agent. - ListIntents(context.Context, *ListIntentsRequest) (*ListIntentsResponse, error) - // Retrieves the specified intent. - GetIntent(context.Context, *GetIntentRequest) (*Intent, error) - // Creates an intent in the specified agent. - CreateIntent(context.Context, *CreateIntentRequest) (*Intent, error) - // Updates the specified intent. - UpdateIntent(context.Context, *UpdateIntentRequest) (*Intent, error) - // Deletes the specified intent and its direct or indirect followup intents. - DeleteIntent(context.Context, *DeleteIntentRequest) (*empty.Empty, error) - // Updates/Creates multiple intents in the specified agent. - // - // Operation - BatchUpdateIntents(context.Context, *BatchUpdateIntentsRequest) (*longrunning.Operation, error) - // Deletes intents in the specified agent. - // - // Operation - BatchDeleteIntents(context.Context, *BatchDeleteIntentsRequest) (*longrunning.Operation, error) -} - -// UnimplementedIntentsServer can be embedded to have forward compatible implementations. -type UnimplementedIntentsServer struct { -} - -func (*UnimplementedIntentsServer) ListIntents(ctx context.Context, req *ListIntentsRequest) (*ListIntentsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListIntents not implemented") -} -func (*UnimplementedIntentsServer) GetIntent(ctx context.Context, req *GetIntentRequest) (*Intent, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIntent not implemented") -} -func (*UnimplementedIntentsServer) CreateIntent(ctx context.Context, req *CreateIntentRequest) (*Intent, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateIntent not implemented") -} -func (*UnimplementedIntentsServer) UpdateIntent(ctx context.Context, req *UpdateIntentRequest) (*Intent, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateIntent not implemented") -} -func (*UnimplementedIntentsServer) DeleteIntent(ctx context.Context, req *DeleteIntentRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteIntent not implemented") -} -func (*UnimplementedIntentsServer) BatchUpdateIntents(ctx context.Context, req *BatchUpdateIntentsRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method BatchUpdateIntents not implemented") -} -func (*UnimplementedIntentsServer) BatchDeleteIntents(ctx context.Context, req *BatchDeleteIntentsRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method BatchDeleteIntents not implemented") -} - -func RegisterIntentsServer(s *grpc.Server, srv IntentsServer) { - s.RegisterService(&_Intents_serviceDesc, srv) -} - -func _Intents_ListIntents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListIntentsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IntentsServer).ListIntents(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.Intents/ListIntents", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IntentsServer).ListIntents(ctx, req.(*ListIntentsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Intents_GetIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIntentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IntentsServer).GetIntent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.Intents/GetIntent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IntentsServer).GetIntent(ctx, req.(*GetIntentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Intents_CreateIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateIntentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IntentsServer).CreateIntent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.Intents/CreateIntent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IntentsServer).CreateIntent(ctx, req.(*CreateIntentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Intents_UpdateIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateIntentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IntentsServer).UpdateIntent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.Intents/UpdateIntent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IntentsServer).UpdateIntent(ctx, req.(*UpdateIntentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Intents_DeleteIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteIntentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IntentsServer).DeleteIntent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.Intents/DeleteIntent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IntentsServer).DeleteIntent(ctx, req.(*DeleteIntentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Intents_BatchUpdateIntents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchUpdateIntentsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IntentsServer).BatchUpdateIntents(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.Intents/BatchUpdateIntents", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IntentsServer).BatchUpdateIntents(ctx, req.(*BatchUpdateIntentsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Intents_BatchDeleteIntents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchDeleteIntentsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IntentsServer).BatchDeleteIntents(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.Intents/BatchDeleteIntents", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IntentsServer).BatchDeleteIntents(ctx, req.(*BatchDeleteIntentsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Intents_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.dialogflow.v2.Intents", - HandlerType: (*IntentsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListIntents", - Handler: _Intents_ListIntents_Handler, - }, - { - MethodName: "GetIntent", - Handler: _Intents_GetIntent_Handler, - }, - { - MethodName: "CreateIntent", - Handler: _Intents_CreateIntent_Handler, - }, - { - MethodName: "UpdateIntent", - Handler: _Intents_UpdateIntent_Handler, - }, - { - MethodName: "DeleteIntent", - Handler: _Intents_DeleteIntent_Handler, - }, - { - MethodName: "BatchUpdateIntents", - Handler: _Intents_BatchUpdateIntents_Handler, - }, - { - MethodName: "BatchDeleteIntents", - Handler: _Intents_BatchDeleteIntents_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/dialogflow/v2/intent.proto", -} 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 deleted file mode 100644 index 68f0b966..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/session.pb.go +++ /dev/null @@ -1,1565 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/dialogflow/v2/session.proto - -package dialogflow - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/duration" - _struct "github.com/golang/protobuf/ptypes/struct" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - latlng "google.golang.org/genproto/googleapis/type/latlng" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Type of the response message. -type StreamingRecognitionResult_MessageType int32 - -const ( - // Not specified. Should never be used. - StreamingRecognitionResult_MESSAGE_TYPE_UNSPECIFIED StreamingRecognitionResult_MessageType = 0 - // Message contains a (possibly partial) transcript. - StreamingRecognitionResult_TRANSCRIPT StreamingRecognitionResult_MessageType = 1 - // Event indicates that the server has detected the end of the user's speech - // utterance and expects no additional inputs. - // Therefore, the server will not process additional audio (although it may subsequently return additional results). The - // client should stop sending additional audio data, half-close the gRPC - // connection, and wait for any additional results until the server closes - // the gRPC connection. This message is only sent if `single_utterance` was - // set to `true`, and is not used otherwise. - StreamingRecognitionResult_END_OF_SINGLE_UTTERANCE StreamingRecognitionResult_MessageType = 2 -) - -var StreamingRecognitionResult_MessageType_name = map[int32]string{ - 0: "MESSAGE_TYPE_UNSPECIFIED", - 1: "TRANSCRIPT", - 2: "END_OF_SINGLE_UTTERANCE", -} - -var StreamingRecognitionResult_MessageType_value = map[string]int32{ - "MESSAGE_TYPE_UNSPECIFIED": 0, - "TRANSCRIPT": 1, - "END_OF_SINGLE_UTTERANCE": 2, -} - -func (x StreamingRecognitionResult_MessageType) String() string { - return proto.EnumName(StreamingRecognitionResult_MessageType_name, int32(x)) -} - -func (StreamingRecognitionResult_MessageType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2f8892c06d516e44, []int{7, 0} -} - -// The request to detect user's intent. -type DetectIntentRequest struct { - // Required. The name of the session this query is sent to. Format: - // `projects//agent/sessions/`. It's up to the API - // caller to choose an appropriate session ID. It can be a random number or - // some type of user identifier (preferably hashed). The length of the session - // ID must not exceed 36 bytes. - Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` - // Optional. The parameters of this query. - QueryParams *QueryParameters `protobuf:"bytes,2,opt,name=query_params,json=queryParams,proto3" json:"query_params,omitempty"` - // Required. The input specification. It can be set to: - // - // 1. an audio config - // which instructs the speech recognizer how to process the speech audio, - // - // 2. a conversational query in the form of text, or - // - // 3. an event that specifies which intent to trigger. - QueryInput *QueryInput `protobuf:"bytes,3,opt,name=query_input,json=queryInput,proto3" json:"query_input,omitempty"` - // Optional. Instructs the speech synthesizer how to generate the output - // audio. If this field is not set and agent-level speech synthesizer is not - // configured, no output audio is generated. - OutputAudioConfig *OutputAudioConfig `protobuf:"bytes,4,opt,name=output_audio_config,json=outputAudioConfig,proto3" json:"output_audio_config,omitempty"` - // Optional. The natural language speech audio to be processed. This field - // should be populated iff `query_input` is set to an input audio config. - // A single request can contain up to 1 minute of speech audio data. - InputAudio []byte `protobuf:"bytes,5,opt,name=input_audio,json=inputAudio,proto3" json:"input_audio,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2f8892c06d516e44, []int{0} -} - -func (m *DetectIntentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DetectIntentRequest.Unmarshal(m, b) -} -func (m *DetectIntentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DetectIntentRequest.Marshal(b, m, deterministic) -} -func (m *DetectIntentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DetectIntentRequest.Merge(m, src) -} -func (m *DetectIntentRequest) XXX_Size() int { - return xxx_messageInfo_DetectIntentRequest.Size(m) -} -func (m *DetectIntentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DetectIntentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DetectIntentRequest proto.InternalMessageInfo - -func (m *DetectIntentRequest) GetSession() string { - if m != nil { - return m.Session - } - return "" -} - -func (m *DetectIntentRequest) GetQueryParams() *QueryParameters { - if m != nil { - return m.QueryParams - } - return nil -} - -func (m *DetectIntentRequest) GetQueryInput() *QueryInput { - if m != nil { - return m.QueryInput - } - return nil -} - -func (m *DetectIntentRequest) GetOutputAudioConfig() *OutputAudioConfig { - if m != nil { - return m.OutputAudioConfig - } - return nil -} - -func (m *DetectIntentRequest) GetInputAudio() []byte { - if m != nil { - return m.InputAudio - } - return nil -} - -// The message returned from the DetectIntent method. -type DetectIntentResponse struct { - // The unique identifier of the response. It can be used to - // locate a response in the training example set or for reporting issues. - ResponseId string `protobuf:"bytes,1,opt,name=response_id,json=responseId,proto3" json:"response_id,omitempty"` - // The selected results of the conversational query or event processing. - // See `alternative_query_results` for additional potential results. - QueryResult *QueryResult `protobuf:"bytes,2,opt,name=query_result,json=queryResult,proto3" json:"query_result,omitempty"` - // Specifies the status of the webhook request. - WebhookStatus *status.Status `protobuf:"bytes,3,opt,name=webhook_status,json=webhookStatus,proto3" json:"webhook_status,omitempty"` - // The audio data bytes encoded as specified in the request. - // Note: The output audio is generated based on the values of default platform - // text responses found in the `query_result.fulfillment_messages` field. If - // multiple default text responses exist, they will be concatenated when - // generating audio. If no default platform text responses exist, the - // generated audio content will be empty. - OutputAudio []byte `protobuf:"bytes,4,opt,name=output_audio,json=outputAudio,proto3" json:"output_audio,omitempty"` - // The config used by the speech synthesizer to generate the output audio. - OutputAudioConfig *OutputAudioConfig `protobuf:"bytes,6,opt,name=output_audio_config,json=outputAudioConfig,proto3" json:"output_audio_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2f8892c06d516e44, []int{1} -} - -func (m *DetectIntentResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DetectIntentResponse.Unmarshal(m, b) -} -func (m *DetectIntentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DetectIntentResponse.Marshal(b, m, deterministic) -} -func (m *DetectIntentResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DetectIntentResponse.Merge(m, src) -} -func (m *DetectIntentResponse) XXX_Size() int { - return xxx_messageInfo_DetectIntentResponse.Size(m) -} -func (m *DetectIntentResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DetectIntentResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_DetectIntentResponse proto.InternalMessageInfo - -func (m *DetectIntentResponse) GetResponseId() string { - if m != nil { - return m.ResponseId - } - return "" -} - -func (m *DetectIntentResponse) GetQueryResult() *QueryResult { - if m != nil { - return m.QueryResult - } - return nil -} - -func (m *DetectIntentResponse) GetWebhookStatus() *status.Status { - if m != nil { - return m.WebhookStatus - } - return nil -} - -func (m *DetectIntentResponse) GetOutputAudio() []byte { - if m != nil { - return m.OutputAudio - } - return nil -} - -func (m *DetectIntentResponse) GetOutputAudioConfig() *OutputAudioConfig { - if m != nil { - return m.OutputAudioConfig - } - return nil -} - -// Represents the parameters of the conversational query. -type QueryParameters struct { - // Optional. The time zone of this conversational query from the - // [time zone database](https://www.iana.org/time-zones), e.g., - // America/New_York, Europe/Paris. If not provided, the time zone specified in - // agent settings is used. - TimeZone string `protobuf:"bytes,1,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"` - // Optional. The geo location of this conversational query. - GeoLocation *latlng.LatLng `protobuf:"bytes,2,opt,name=geo_location,json=geoLocation,proto3" json:"geo_location,omitempty"` - // Optional. The collection of contexts to be activated before this query is - // executed. - Contexts []*Context `protobuf:"bytes,3,rep,name=contexts,proto3" json:"contexts,omitempty"` - // Optional. Specifies whether to delete all contexts in the current session - // before the new ones are activated. - ResetContexts bool `protobuf:"varint,4,opt,name=reset_contexts,json=resetContexts,proto3" json:"reset_contexts,omitempty"` - // Optional. Additional session entity types to replace or extend developer - // entity types with. The entity synonyms apply to all languages and persist - // for the session of this query. - SessionEntityTypes []*SessionEntityType `protobuf:"bytes,5,rep,name=session_entity_types,json=sessionEntityTypes,proto3" json:"session_entity_types,omitempty"` - // Optional. This field can be used to pass custom data into the webhook - // associated with the agent. Arbitrary JSON objects are supported. - Payload *_struct.Struct `protobuf:"bytes,6,opt,name=payload,proto3" json:"payload,omitempty"` - // Optional. Configures the type of sentiment analysis to perform. If not - // provided, sentiment analysis is not performed. - SentimentAnalysisRequestConfig *SentimentAnalysisRequestConfig `protobuf:"bytes,10,opt,name=sentiment_analysis_request_config,json=sentimentAnalysisRequestConfig,proto3" json:"sentiment_analysis_request_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2f8892c06d516e44, []int{2} -} - -func (m *QueryParameters) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryParameters.Unmarshal(m, b) -} -func (m *QueryParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryParameters.Marshal(b, m, deterministic) -} -func (m *QueryParameters) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryParameters.Merge(m, src) -} -func (m *QueryParameters) XXX_Size() int { - return xxx_messageInfo_QueryParameters.Size(m) -} -func (m *QueryParameters) XXX_DiscardUnknown() { - xxx_messageInfo_QueryParameters.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryParameters proto.InternalMessageInfo - -func (m *QueryParameters) GetTimeZone() string { - if m != nil { - return m.TimeZone - } - return "" -} - -func (m *QueryParameters) GetGeoLocation() *latlng.LatLng { - if m != nil { - return m.GeoLocation - } - return nil -} - -func (m *QueryParameters) GetContexts() []*Context { - if m != nil { - return m.Contexts - } - return nil -} - -func (m *QueryParameters) GetResetContexts() bool { - if m != nil { - return m.ResetContexts - } - return false -} - -func (m *QueryParameters) GetSessionEntityTypes() []*SessionEntityType { - if m != nil { - return m.SessionEntityTypes - } - return nil -} - -func (m *QueryParameters) GetPayload() *_struct.Struct { - if m != nil { - return m.Payload - } - return nil -} - -func (m *QueryParameters) GetSentimentAnalysisRequestConfig() *SentimentAnalysisRequestConfig { - if m != nil { - return m.SentimentAnalysisRequestConfig - } - return nil -} - -// Represents the query input. It can contain either: -// -// 1. An audio config which -// instructs the speech recognizer how to process the speech audio. -// -// 2. A conversational query in the form of text,. -// -// 3. An event that specifies which intent to trigger. -type QueryInput struct { - // Required. The input specification. - // - // Types that are valid to be assigned to Input: - // *QueryInput_AudioConfig - // *QueryInput_Text - // *QueryInput_Event - Input isQueryInput_Input `protobuf_oneof:"input"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2f8892c06d516e44, []int{3} -} - -func (m *QueryInput) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryInput.Unmarshal(m, b) -} -func (m *QueryInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryInput.Marshal(b, m, deterministic) -} -func (m *QueryInput) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryInput.Merge(m, src) -} -func (m *QueryInput) XXX_Size() int { - return xxx_messageInfo_QueryInput.Size(m) -} -func (m *QueryInput) XXX_DiscardUnknown() { - xxx_messageInfo_QueryInput.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryInput proto.InternalMessageInfo - -type isQueryInput_Input interface { - isQueryInput_Input() -} - -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 (m *QueryInput) GetInput() isQueryInput_Input { - if m != nil { - return m.Input - } - return nil -} - -func (m *QueryInput) GetAudioConfig() *InputAudioConfig { - if x, ok := m.GetInput().(*QueryInput_AudioConfig); ok { - return x.AudioConfig - } - return nil -} - -func (m *QueryInput) GetText() *TextInput { - if x, ok := m.GetInput().(*QueryInput_Text); ok { - return x.Text - } - return nil -} - -func (m *QueryInput) GetEvent() *EventInput { - if x, ok := m.GetInput().(*QueryInput_Event); ok { - return x.Event - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*QueryInput) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*QueryInput_AudioConfig)(nil), - (*QueryInput_Text)(nil), - (*QueryInput_Event)(nil), - } -} - -// Represents the result of conversational query or event processing. -type QueryResult struct { - // The original conversational query text: - // - // - If natural language text was provided as input, `query_text` contains - // a copy of the input. - // - If natural language speech audio was provided as input, `query_text` - // contains the speech recognition result. If speech recognizer produced - // multiple alternatives, a particular one is picked. - // - If automatic spell correction is enabled, `query_text` will contain the - // corrected user input. - QueryText string `protobuf:"bytes,1,opt,name=query_text,json=queryText,proto3" json:"query_text,omitempty"` - // The language that was triggered during intent detection. - // See [Language - // Support](https://cloud.google.com/dialogflow/docs/reference/language) - // for a list of the currently supported language codes. - LanguageCode string `protobuf:"bytes,15,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // The Speech recognition confidence between 0.0 and 1.0. A higher number - // indicates an estimated greater likelihood that the recognized words are - // correct. The default of 0.0 is a sentinel value indicating that confidence - // was not set. - // - // This field is not guaranteed to be accurate or set. In particular this - // field isn't set for StreamingDetectIntent since the streaming endpoint has - // separate confidence estimates per portion of the audio in - // StreamingRecognitionResult. - SpeechRecognitionConfidence float32 `protobuf:"fixed32,2,opt,name=speech_recognition_confidence,json=speechRecognitionConfidence,proto3" json:"speech_recognition_confidence,omitempty"` - // The action name from the matched intent. - Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"` - // The collection of extracted parameters. - Parameters *_struct.Struct `protobuf:"bytes,4,opt,name=parameters,proto3" json:"parameters,omitempty"` - // This field is set to: - // - // - `false` if the matched intent has required parameters and not all of - // the required parameter values have been collected. - // - `true` if all required parameter values have been collected, or if the - // matched intent doesn't contain any required parameters. - AllRequiredParamsPresent bool `protobuf:"varint,5,opt,name=all_required_params_present,json=allRequiredParamsPresent,proto3" json:"all_required_params_present,omitempty"` - // The text to be pronounced to the user or shown on the screen. - // Note: This is a legacy field, `fulfillment_messages` should be preferred. - FulfillmentText string `protobuf:"bytes,6,opt,name=fulfillment_text,json=fulfillmentText,proto3" json:"fulfillment_text,omitempty"` - // The collection of rich messages to present to the user. - FulfillmentMessages []*Intent_Message `protobuf:"bytes,7,rep,name=fulfillment_messages,json=fulfillmentMessages,proto3" json:"fulfillment_messages,omitempty"` - // If the query was fulfilled by a webhook call, this field is set to the - // value of the `source` field returned in the webhook response. - WebhookSource string `protobuf:"bytes,8,opt,name=webhook_source,json=webhookSource,proto3" json:"webhook_source,omitempty"` - // If the query was fulfilled by a webhook call, this field is set to the - // value of the `payload` field returned in the webhook response. - WebhookPayload *_struct.Struct `protobuf:"bytes,9,opt,name=webhook_payload,json=webhookPayload,proto3" json:"webhook_payload,omitempty"` - // The collection of output contexts. If applicable, - // `output_contexts.parameters` contains entries with name - // `.original` containing the original parameter values - // before the query. - OutputContexts []*Context `protobuf:"bytes,10,rep,name=output_contexts,json=outputContexts,proto3" json:"output_contexts,omitempty"` - // The intent that matched the conversational query. Some, not - // all fields are filled in this message, including but not limited to: - // `name`, `display_name`, `end_interaction` and `is_fallback`. - Intent *Intent `protobuf:"bytes,11,opt,name=intent,proto3" json:"intent,omitempty"` - // The intent detection confidence. Values range from 0.0 - // (completely uncertain) to 1.0 (completely certain). - // This value is for informational purpose only and is only used to - // help match the best intent within the classification threshold. - // This value may change for the same end-user expression at any time due to a - // model retraining or change in implementation. - // If there are `multiple knowledge_answers` messages, this value is set to - // the greatest `knowledgeAnswers.match_confidence` value in the list. - IntentDetectionConfidence float32 `protobuf:"fixed32,12,opt,name=intent_detection_confidence,json=intentDetectionConfidence,proto3" json:"intent_detection_confidence,omitempty"` - // The free-form diagnostic info. For example, this field could contain - // webhook call latency. The string keys of the Struct's fields map can change - // without notice. - DiagnosticInfo *_struct.Struct `protobuf:"bytes,14,opt,name=diagnostic_info,json=diagnosticInfo,proto3" json:"diagnostic_info,omitempty"` - // The sentiment analysis result, which depends on the - // `sentiment_analysis_request_config` specified in the request. - SentimentAnalysisResult *SentimentAnalysisResult `protobuf:"bytes,17,opt,name=sentiment_analysis_result,json=sentimentAnalysisResult,proto3" json:"sentiment_analysis_result,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2f8892c06d516e44, []int{4} -} - -func (m *QueryResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryResult.Unmarshal(m, b) -} -func (m *QueryResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryResult.Marshal(b, m, deterministic) -} -func (m *QueryResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryResult.Merge(m, src) -} -func (m *QueryResult) XXX_Size() int { - return xxx_messageInfo_QueryResult.Size(m) -} -func (m *QueryResult) XXX_DiscardUnknown() { - xxx_messageInfo_QueryResult.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryResult proto.InternalMessageInfo - -func (m *QueryResult) GetQueryText() string { - if m != nil { - return m.QueryText - } - return "" -} - -func (m *QueryResult) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *QueryResult) GetSpeechRecognitionConfidence() float32 { - if m != nil { - return m.SpeechRecognitionConfidence - } - return 0 -} - -func (m *QueryResult) GetAction() string { - if m != nil { - return m.Action - } - return "" -} - -func (m *QueryResult) GetParameters() *_struct.Struct { - if m != nil { - return m.Parameters - } - return nil -} - -func (m *QueryResult) GetAllRequiredParamsPresent() bool { - if m != nil { - return m.AllRequiredParamsPresent - } - return false -} - -func (m *QueryResult) GetFulfillmentText() string { - if m != nil { - return m.FulfillmentText - } - return "" -} - -func (m *QueryResult) GetFulfillmentMessages() []*Intent_Message { - if m != nil { - return m.FulfillmentMessages - } - return nil -} - -func (m *QueryResult) GetWebhookSource() string { - if m != nil { - return m.WebhookSource - } - return "" -} - -func (m *QueryResult) GetWebhookPayload() *_struct.Struct { - if m != nil { - return m.WebhookPayload - } - return nil -} - -func (m *QueryResult) GetOutputContexts() []*Context { - if m != nil { - return m.OutputContexts - } - return nil -} - -func (m *QueryResult) GetIntent() *Intent { - if m != nil { - return m.Intent - } - return nil -} - -func (m *QueryResult) GetIntentDetectionConfidence() float32 { - if m != nil { - return m.IntentDetectionConfidence - } - return 0 -} - -func (m *QueryResult) GetDiagnosticInfo() *_struct.Struct { - if m != nil { - return m.DiagnosticInfo - } - return nil -} - -func (m *QueryResult) GetSentimentAnalysisResult() *SentimentAnalysisResult { - if m != nil { - return m.SentimentAnalysisResult - } - return nil -} - -// The top-level message sent by the client to the -// [StreamingDetectIntent][] method. -// -// Multiple request messages should be sent in order: -// -// 1. The first message must contain [StreamingDetectIntentRequest.session][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.session], -// [StreamingDetectIntentRequest.query_input] plus optionally -// [StreamingDetectIntentRequest.query_params]. If the client wants to -// receive an audio response, it should also contain -// [StreamingDetectIntentRequest.output_audio_config][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.output_audio_config]. The message -// must not contain [StreamingDetectIntentRequest.input_audio][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.input_audio]. -// 2. If [StreamingDetectIntentRequest.query_input][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.query_input] was set to -// [StreamingDetectIntentRequest.query_input.audio_config][], all subsequent -// messages must contain [StreamingDetectIntentRequest.input_audio] to -// continue with Speech recognition. -// If you decide to rather detect an intent from text input after you -// already started Speech recognition, please send a message with -// [StreamingDetectIntentRequest.query_input.text][]. -// -// However, note that: -// -// * Dialogflow will bill you for the audio duration so far. -// * Dialogflow discards all Speech recognition results in favor of the -// input text. -// * Dialogflow will use the language code from the first message. -// -// After you sent all input, you must half-close or abort the request stream. -type StreamingDetectIntentRequest struct { - // Required. The name of the session the query is sent to. - // Format of the session name: - // `projects//agent/sessions/`. It's up to the API - // caller to choose an appropriate `Session ID`. It can be a random number or - // some type of user identifier (preferably hashed). The length of the session - // ID must not exceed 36 characters. - Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` - // Optional. The parameters of this query. - QueryParams *QueryParameters `protobuf:"bytes,2,opt,name=query_params,json=queryParams,proto3" json:"query_params,omitempty"` - // Required. The input specification. It can be set to: - // - // 1. an audio config which instructs the speech recognizer how to process - // the speech audio, - // - // 2. a conversational query in the form of text, or - // - // 3. an event that specifies which intent to trigger. - QueryInput *QueryInput `protobuf:"bytes,3,opt,name=query_input,json=queryInput,proto3" json:"query_input,omitempty"` - // Optional. Please use [InputAudioConfig.single_utterance][google.cloud.dialogflow.v2.InputAudioConfig.single_utterance] instead. - // If `false` (default), recognition does not cease until - // the client closes the stream. If `true`, the recognizer will detect a - // single spoken utterance in input audio. Recognition ceases when it detects - // the audio's voice has stopped or paused. In this case, once a detected - // intent is received, the client should close the stream and start a new - // request with a new stream as needed. - // This setting is ignored when `query_input` is a piece of text or an event. - SingleUtterance bool `protobuf:"varint,4,opt,name=single_utterance,json=singleUtterance,proto3" json:"single_utterance,omitempty"` // Deprecated: Do not use. - // Optional. Instructs the speech synthesizer how to generate the output - // audio. If this field is not set and agent-level speech synthesizer is not - // configured, no output audio is generated. - OutputAudioConfig *OutputAudioConfig `protobuf:"bytes,5,opt,name=output_audio_config,json=outputAudioConfig,proto3" json:"output_audio_config,omitempty"` - // Optional. The input audio content to be recognized. Must be sent if - // `query_input` was set to a streaming input audio config. The complete audio - // over all streaming messages must not exceed 1 minute. - InputAudio []byte `protobuf:"bytes,6,opt,name=input_audio,json=inputAudio,proto3" json:"input_audio,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StreamingDetectIntentRequest) Reset() { *m = StreamingDetectIntentRequest{} } -func (m *StreamingDetectIntentRequest) String() string { return proto.CompactTextString(m) } -func (*StreamingDetectIntentRequest) ProtoMessage() {} -func (*StreamingDetectIntentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2f8892c06d516e44, []int{5} -} - -func (m *StreamingDetectIntentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingDetectIntentRequest.Unmarshal(m, b) -} -func (m *StreamingDetectIntentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingDetectIntentRequest.Marshal(b, m, deterministic) -} -func (m *StreamingDetectIntentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingDetectIntentRequest.Merge(m, src) -} -func (m *StreamingDetectIntentRequest) XXX_Size() int { - return xxx_messageInfo_StreamingDetectIntentRequest.Size(m) -} -func (m *StreamingDetectIntentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingDetectIntentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingDetectIntentRequest proto.InternalMessageInfo - -func (m *StreamingDetectIntentRequest) GetSession() string { - if m != nil { - return m.Session - } - return "" -} - -func (m *StreamingDetectIntentRequest) GetQueryParams() *QueryParameters { - if m != nil { - return m.QueryParams - } - return nil -} - -func (m *StreamingDetectIntentRequest) GetQueryInput() *QueryInput { - if m != nil { - return m.QueryInput - } - return nil -} - -// Deprecated: Do not use. -func (m *StreamingDetectIntentRequest) GetSingleUtterance() bool { - if m != nil { - return m.SingleUtterance - } - return false -} - -func (m *StreamingDetectIntentRequest) GetOutputAudioConfig() *OutputAudioConfig { - if m != nil { - return m.OutputAudioConfig - } - return nil -} - -func (m *StreamingDetectIntentRequest) GetInputAudio() []byte { - if m != nil { - return m.InputAudio - } - return nil -} - -// The top-level message returned from the -// `StreamingDetectIntent` method. -// -// Multiple response messages can be returned in order: -// -// 1. If the input was set to streaming audio, the first one or more messages -// contain `recognition_result`. Each `recognition_result` represents a more -// complete transcript of what the user said. The last `recognition_result` -// has `is_final` set to `true`. -// -// 2. The next message contains `response_id`, `query_result` -// and optionally `webhook_status` if a WebHook was called. -type StreamingDetectIntentResponse struct { - // The unique identifier of the response. It can be used to - // locate a response in the training example set or for reporting issues. - ResponseId string `protobuf:"bytes,1,opt,name=response_id,json=responseId,proto3" json:"response_id,omitempty"` - // The result of speech recognition. - RecognitionResult *StreamingRecognitionResult `protobuf:"bytes,2,opt,name=recognition_result,json=recognitionResult,proto3" json:"recognition_result,omitempty"` - // The result of the conversational query or event processing. - QueryResult *QueryResult `protobuf:"bytes,3,opt,name=query_result,json=queryResult,proto3" json:"query_result,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"` - // The audio data bytes encoded as specified in the request. - // Note: The output audio is generated based on the values of default platform - // text responses found in the `query_result.fulfillment_messages` field. If - // multiple default text responses exist, they will be concatenated when - // generating audio. If no default platform text responses exist, the - // generated audio content will be empty. - OutputAudio []byte `protobuf:"bytes,5,opt,name=output_audio,json=outputAudio,proto3" json:"output_audio,omitempty"` - // The config used by the speech synthesizer to generate the output audio. - OutputAudioConfig *OutputAudioConfig `protobuf:"bytes,6,opt,name=output_audio_config,json=outputAudioConfig,proto3" json:"output_audio_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StreamingDetectIntentResponse) Reset() { *m = StreamingDetectIntentResponse{} } -func (m *StreamingDetectIntentResponse) String() string { return proto.CompactTextString(m) } -func (*StreamingDetectIntentResponse) ProtoMessage() {} -func (*StreamingDetectIntentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2f8892c06d516e44, []int{6} -} - -func (m *StreamingDetectIntentResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingDetectIntentResponse.Unmarshal(m, b) -} -func (m *StreamingDetectIntentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingDetectIntentResponse.Marshal(b, m, deterministic) -} -func (m *StreamingDetectIntentResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingDetectIntentResponse.Merge(m, src) -} -func (m *StreamingDetectIntentResponse) XXX_Size() int { - return xxx_messageInfo_StreamingDetectIntentResponse.Size(m) -} -func (m *StreamingDetectIntentResponse) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingDetectIntentResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingDetectIntentResponse proto.InternalMessageInfo - -func (m *StreamingDetectIntentResponse) GetResponseId() string { - if m != nil { - return m.ResponseId - } - return "" -} - -func (m *StreamingDetectIntentResponse) GetRecognitionResult() *StreamingRecognitionResult { - if m != nil { - return m.RecognitionResult - } - return nil -} - -func (m *StreamingDetectIntentResponse) GetQueryResult() *QueryResult { - if m != nil { - return m.QueryResult - } - return nil -} - -func (m *StreamingDetectIntentResponse) GetWebhookStatus() *status.Status { - if m != nil { - return m.WebhookStatus - } - return nil -} - -func (m *StreamingDetectIntentResponse) GetOutputAudio() []byte { - if m != nil { - return m.OutputAudio - } - return nil -} - -func (m *StreamingDetectIntentResponse) GetOutputAudioConfig() *OutputAudioConfig { - if m != nil { - return m.OutputAudioConfig - } - return nil -} - -// Contains a speech recognition result corresponding to a portion of the audio -// that is currently being processed or an indication that this is the end -// of the single requested utterance. -// -// Example: -// -// 1. transcript: "tube" -// -// 2. transcript: "to be a" -// -// 3. transcript: "to be" -// -// 4. transcript: "to be or not to be" -// is_final: true -// -// 5. transcript: " that's" -// -// 6. transcript: " that is" -// -// 7. message_type: `END_OF_SINGLE_UTTERANCE` -// -// 8. transcript: " that is the question" -// is_final: true -// -// Only two of the responses contain final results (#4 and #8 indicated by -// `is_final: true`). Concatenating these generates the full transcript: "to be -// or not to be that is the question". -// -// In each response we populate: -// -// * for `TRANSCRIPT`: `transcript` and possibly `is_final`. -// -// * for `END_OF_SINGLE_UTTERANCE`: only `message_type`. -type StreamingRecognitionResult struct { - // Type of the result message. - MessageType StreamingRecognitionResult_MessageType `protobuf:"varint,1,opt,name=message_type,json=messageType,proto3,enum=google.cloud.dialogflow.v2.StreamingRecognitionResult_MessageType" json:"message_type,omitempty"` - // Transcript text representing the words that the user spoke. - // Populated if and only if `message_type` = `TRANSCRIPT`. - Transcript string `protobuf:"bytes,2,opt,name=transcript,proto3" json:"transcript,omitempty"` - // If `false`, the `StreamingRecognitionResult` represents an - // interim result that may change. If `true`, the recognizer will not return - // any further hypotheses about this piece of the audio. May only be populated - // for `message_type` = `TRANSCRIPT`. - IsFinal bool `protobuf:"varint,3,opt,name=is_final,json=isFinal,proto3" json:"is_final,omitempty"` - // The Speech confidence between 0.0 and 1.0 for the current portion of audio. - // A higher number indicates an estimated greater likelihood that the - // recognized words are correct. The default of 0.0 is a sentinel value - // indicating that confidence was not set. - // - // This field is typically only provided if `is_final` is true and you should - // not rely on it being accurate or even set. - Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StreamingRecognitionResult) Reset() { *m = StreamingRecognitionResult{} } -func (m *StreamingRecognitionResult) String() string { return proto.CompactTextString(m) } -func (*StreamingRecognitionResult) ProtoMessage() {} -func (*StreamingRecognitionResult) Descriptor() ([]byte, []int) { - return fileDescriptor_2f8892c06d516e44, []int{7} -} - -func (m *StreamingRecognitionResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingRecognitionResult.Unmarshal(m, b) -} -func (m *StreamingRecognitionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingRecognitionResult.Marshal(b, m, deterministic) -} -func (m *StreamingRecognitionResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingRecognitionResult.Merge(m, src) -} -func (m *StreamingRecognitionResult) XXX_Size() int { - return xxx_messageInfo_StreamingRecognitionResult.Size(m) -} -func (m *StreamingRecognitionResult) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingRecognitionResult.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingRecognitionResult proto.InternalMessageInfo - -func (m *StreamingRecognitionResult) GetMessageType() StreamingRecognitionResult_MessageType { - if m != nil { - return m.MessageType - } - return StreamingRecognitionResult_MESSAGE_TYPE_UNSPECIFIED -} - -func (m *StreamingRecognitionResult) GetTranscript() string { - if m != nil { - return m.Transcript - } - return "" -} - -func (m *StreamingRecognitionResult) GetIsFinal() bool { - if m != nil { - return m.IsFinal - } - return false -} - -func (m *StreamingRecognitionResult) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -// Represents the natural language text to be processed. -type TextInput struct { - // Required. The UTF-8 encoded natural language text to be processed. - // Text length must not exceed 256 characters. - Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` - // Required. The language of this conversational query. See [Language - // Support](https://cloud.google.com/dialogflow/docs/reference/language) - // for a list of the currently supported language codes. Note that queries in - // the same session do not necessarily need to specify the same language. - 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 *TextInput) Reset() { *m = TextInput{} } -func (m *TextInput) String() string { return proto.CompactTextString(m) } -func (*TextInput) ProtoMessage() {} -func (*TextInput) Descriptor() ([]byte, []int) { - return fileDescriptor_2f8892c06d516e44, []int{8} -} - -func (m *TextInput) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextInput.Unmarshal(m, b) -} -func (m *TextInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextInput.Marshal(b, m, deterministic) -} -func (m *TextInput) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextInput.Merge(m, src) -} -func (m *TextInput) XXX_Size() int { - return xxx_messageInfo_TextInput.Size(m) -} -func (m *TextInput) XXX_DiscardUnknown() { - xxx_messageInfo_TextInput.DiscardUnknown(m) -} - -var xxx_messageInfo_TextInput proto.InternalMessageInfo - -func (m *TextInput) GetText() string { - if m != nil { - return m.Text - } - return "" -} - -func (m *TextInput) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -// Events allow for matching intents by event name instead of the natural -// language input. For instance, input `` can trigger a personalized welcome response. -// The parameter `name` may be used by the agent in the response: -// `"Hello #welcome_event.name! What can I do for you today?"`. -type EventInput struct { - // Required. The unique identifier of the event. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Optional. The collection of parameters associated with the event. - Parameters *_struct.Struct `protobuf:"bytes,2,opt,name=parameters,proto3" json:"parameters,omitempty"` - // Required. The language of this query. See [Language - // Support](https://cloud.google.com/dialogflow/docs/reference/language) - // for a list of the currently supported language codes. Note that queries in - // the same session do not necessarily need to specify the same language. - 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 *EventInput) Reset() { *m = EventInput{} } -func (m *EventInput) String() string { return proto.CompactTextString(m) } -func (*EventInput) ProtoMessage() {} -func (*EventInput) Descriptor() ([]byte, []int) { - return fileDescriptor_2f8892c06d516e44, []int{9} -} - -func (m *EventInput) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EventInput.Unmarshal(m, b) -} -func (m *EventInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EventInput.Marshal(b, m, deterministic) -} -func (m *EventInput) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventInput.Merge(m, src) -} -func (m *EventInput) XXX_Size() int { - return xxx_messageInfo_EventInput.Size(m) -} -func (m *EventInput) XXX_DiscardUnknown() { - xxx_messageInfo_EventInput.DiscardUnknown(m) -} - -var xxx_messageInfo_EventInput proto.InternalMessageInfo - -func (m *EventInput) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *EventInput) GetParameters() *_struct.Struct { - if m != nil { - return m.Parameters - } - return nil -} - -func (m *EventInput) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -// Configures the types of sentiment analysis to perform. -type SentimentAnalysisRequestConfig struct { - // Optional. Instructs the service to perform sentiment analysis on - // `query_text`. If not provided, sentiment analysis is not performed on - // `query_text`. - AnalyzeQueryTextSentiment bool `protobuf:"varint,1,opt,name=analyze_query_text_sentiment,json=analyzeQueryTextSentiment,proto3" json:"analyze_query_text_sentiment,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SentimentAnalysisRequestConfig) Reset() { *m = SentimentAnalysisRequestConfig{} } -func (m *SentimentAnalysisRequestConfig) String() string { return proto.CompactTextString(m) } -func (*SentimentAnalysisRequestConfig) ProtoMessage() {} -func (*SentimentAnalysisRequestConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_2f8892c06d516e44, []int{10} -} - -func (m *SentimentAnalysisRequestConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SentimentAnalysisRequestConfig.Unmarshal(m, b) -} -func (m *SentimentAnalysisRequestConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SentimentAnalysisRequestConfig.Marshal(b, m, deterministic) -} -func (m *SentimentAnalysisRequestConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_SentimentAnalysisRequestConfig.Merge(m, src) -} -func (m *SentimentAnalysisRequestConfig) XXX_Size() int { - return xxx_messageInfo_SentimentAnalysisRequestConfig.Size(m) -} -func (m *SentimentAnalysisRequestConfig) XXX_DiscardUnknown() { - xxx_messageInfo_SentimentAnalysisRequestConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_SentimentAnalysisRequestConfig proto.InternalMessageInfo - -func (m *SentimentAnalysisRequestConfig) GetAnalyzeQueryTextSentiment() bool { - if m != nil { - return m.AnalyzeQueryTextSentiment - } - return false -} - -// The result of sentiment analysis as configured by -// `sentiment_analysis_request_config`. -type SentimentAnalysisResult struct { - // The sentiment analysis result for `query_text`. - QueryTextSentiment *Sentiment `protobuf:"bytes,1,opt,name=query_text_sentiment,json=queryTextSentiment,proto3" json:"query_text_sentiment,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2f8892c06d516e44, []int{11} -} - -func (m *SentimentAnalysisResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SentimentAnalysisResult.Unmarshal(m, b) -} -func (m *SentimentAnalysisResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SentimentAnalysisResult.Marshal(b, m, deterministic) -} -func (m *SentimentAnalysisResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_SentimentAnalysisResult.Merge(m, src) -} -func (m *SentimentAnalysisResult) XXX_Size() int { - return xxx_messageInfo_SentimentAnalysisResult.Size(m) -} -func (m *SentimentAnalysisResult) XXX_DiscardUnknown() { - xxx_messageInfo_SentimentAnalysisResult.DiscardUnknown(m) -} - -var xxx_messageInfo_SentimentAnalysisResult proto.InternalMessageInfo - -func (m *SentimentAnalysisResult) GetQueryTextSentiment() *Sentiment { - if m != nil { - return m.QueryTextSentiment - } - return nil -} - -// The sentiment, such as positive/negative feeling or association, for a unit -// of analysis, such as the query text. -type Sentiment struct { - // Sentiment score between -1.0 (negative sentiment) and 1.0 (positive - // sentiment). - Score float32 `protobuf:"fixed32,1,opt,name=score,proto3" json:"score,omitempty"` - // A non-negative number in the [0, +inf) range, which represents the absolute - // magnitude of sentiment, regardless of score (positive or negative). - Magnitude float32 `protobuf:"fixed32,2,opt,name=magnitude,proto3" json:"magnitude,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2f8892c06d516e44, []int{12} -} - -func (m *Sentiment) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Sentiment.Unmarshal(m, b) -} -func (m *Sentiment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Sentiment.Marshal(b, m, deterministic) -} -func (m *Sentiment) XXX_Merge(src proto.Message) { - xxx_messageInfo_Sentiment.Merge(m, src) -} -func (m *Sentiment) XXX_Size() int { - return xxx_messageInfo_Sentiment.Size(m) -} -func (m *Sentiment) XXX_DiscardUnknown() { - xxx_messageInfo_Sentiment.DiscardUnknown(m) -} - -var xxx_messageInfo_Sentiment proto.InternalMessageInfo - -func (m *Sentiment) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -func (m *Sentiment) GetMagnitude() float32 { - if m != nil { - return m.Magnitude - } - return 0 -} - -func init() { - proto.RegisterEnum("google.cloud.dialogflow.v2.StreamingRecognitionResult_MessageType", StreamingRecognitionResult_MessageType_name, StreamingRecognitionResult_MessageType_value) - proto.RegisterType((*DetectIntentRequest)(nil), "google.cloud.dialogflow.v2.DetectIntentRequest") - proto.RegisterType((*DetectIntentResponse)(nil), "google.cloud.dialogflow.v2.DetectIntentResponse") - proto.RegisterType((*QueryParameters)(nil), "google.cloud.dialogflow.v2.QueryParameters") - proto.RegisterType((*QueryInput)(nil), "google.cloud.dialogflow.v2.QueryInput") - proto.RegisterType((*QueryResult)(nil), "google.cloud.dialogflow.v2.QueryResult") - proto.RegisterType((*StreamingDetectIntentRequest)(nil), "google.cloud.dialogflow.v2.StreamingDetectIntentRequest") - proto.RegisterType((*StreamingDetectIntentResponse)(nil), "google.cloud.dialogflow.v2.StreamingDetectIntentResponse") - proto.RegisterType((*StreamingRecognitionResult)(nil), "google.cloud.dialogflow.v2.StreamingRecognitionResult") - proto.RegisterType((*TextInput)(nil), "google.cloud.dialogflow.v2.TextInput") - proto.RegisterType((*EventInput)(nil), "google.cloud.dialogflow.v2.EventInput") - proto.RegisterType((*SentimentAnalysisRequestConfig)(nil), "google.cloud.dialogflow.v2.SentimentAnalysisRequestConfig") - proto.RegisterType((*SentimentAnalysisResult)(nil), "google.cloud.dialogflow.v2.SentimentAnalysisResult") - proto.RegisterType((*Sentiment)(nil), "google.cloud.dialogflow.v2.Sentiment") -} - -func init() { - proto.RegisterFile("google/cloud/dialogflow/v2/session.proto", fileDescriptor_2f8892c06d516e44) -} - -var fileDescriptor_2f8892c06d516e44 = []byte{ - // 1699 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x58, 0xcf, 0x73, 0x23, 0x47, - 0x15, 0xde, 0x91, 0xfc, 0xf3, 0x49, 0x6b, 0x7b, 0xdb, 0x06, 0xcb, 0x5e, 0xaf, 0xb3, 0x51, 0x08, - 0x31, 0x66, 0x57, 0xb3, 0xa5, 0x50, 0x0b, 0xf1, 0x92, 0x10, 0x59, 0xd2, 0x6e, 0x44, 0x39, 0x8e, - 0x76, 0xe4, 0x25, 0x24, 0x55, 0xa9, 0xa9, 0xf6, 0x4c, 0x6b, 0x3c, 0x30, 0xea, 0x1e, 0x4f, 0xf7, - 0x78, 0xd7, 0xa1, 0xb8, 0x70, 0xa4, 0x2a, 0x17, 0x28, 0x4e, 0x70, 0xe2, 0xc8, 0x89, 0x23, 0x47, - 0xce, 0x39, 0xc2, 0x8d, 0xd3, 0x52, 0x05, 0xfc, 0x0d, 0x1c, 0xa9, 0xe9, 0xee, 0x91, 0xc6, 0x5a, - 0x69, 0x6c, 0x5c, 0xc0, 0x81, 0x9b, 0xfa, 0xf5, 0xf7, 0x5e, 0xbf, 0xf9, 0xfa, 0xbd, 0xaf, 0x5f, - 0x09, 0x76, 0x3c, 0xc6, 0xbc, 0x80, 0x98, 0x4e, 0xc0, 0x62, 0xd7, 0x74, 0x7d, 0x1c, 0x30, 0xaf, - 0x1f, 0xb0, 0xe7, 0xe6, 0x59, 0xdd, 0xe4, 0x84, 0x73, 0x9f, 0xd1, 0x5a, 0x18, 0x31, 0xc1, 0xd0, - 0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, 0x03, 0x7d, 0x36, - 0x99, 0xed, 0xb9, 0x6b, 0xb0, 0x3d, 0x81, 0xe8, 0xea, 0x17, 0x33, 0xb0, 0x3c, 0x56, 0x40, 0xe8, - 0x2e, 0x2c, 0x0a, 0x7f, 0x40, 0xec, 0xcf, 0x19, 0x25, 0xa3, 0x22, 0x35, 0xac, 0x85, 0xc4, 0xfa, - 0x29, 0xa3, 0x04, 0x3d, 0x82, 0xb2, 0x47, 0x98, 0x1d, 0x30, 0x47, 0xf6, 0x90, 0xa6, 0x6f, 0x35, - 0xcd, 0x46, 0xf6, 0xdd, 0x01, 0x16, 0x07, 0x54, 0xdf, 0x70, 0xc9, 0x23, 0xec, 0x40, 0x83, 0x51, - 0x0b, 0x16, 0x74, 0xeb, 0x27, 0x4c, 0x15, 0x77, 0x4a, 0xf5, 0x37, 0xf2, 0x3e, 0xa3, 0xa9, 0xb0, - 0x3a, 0x85, 0xd4, 0x13, 0xed, 0xc2, 0x52, 0x44, 0x38, 0x11, 0xf6, 0x30, 0x56, 0x42, 0xde, 0x82, - 0x82, 0xdd, 0x94, 0x5b, 0xcd, 0x14, 0xeb, 0xc2, 0xda, 0x04, 0x65, 0xe0, 0x95, 0x59, 0x79, 0x7a, - 0x2e, 0x89, 0x3d, 0xe5, 0xd7, 0x96, 0x6e, 0x47, 0xe7, 0x21, 0x51, 0x07, 0x20, 0x3e, 0x6e, 0xe7, - 0xe8, 0x21, 0xcc, 0x87, 0xf8, 0x3c, 0x60, 0xd8, 0xd5, 0xb7, 0xb3, 0x9e, 0x06, 0x4e, 0x45, 0xa5, - 0xd6, 0x93, 0xa2, 0xa2, 0x42, 0xa4, 0x60, 0xf4, 0x73, 0x03, 0x5e, 0xe7, 0x49, 0x5e, 0x03, 0x42, - 0x85, 0x8d, 0x29, 0x0e, 0xce, 0xb9, 0xcf, 0xed, 0x48, 0x09, 0x46, 0x7a, 0xe1, 0x20, 0x43, 0xee, - 0xe5, 0xe7, 0xaa, 0x83, 0x34, 0x74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x51, 0x7f, 0x07, 0xdd, 0x0f, 0x03, 0x2c, 0xfa, 0x2c, 0x1a, 0xdc, 0xbb, 0x0c, 0x3e, 0x3a, 0x6a, - 0xff, 0xd7, 0x06, 0x6c, 0x3b, 0x6c, 0x90, 0xf3, 0x01, 0xfb, 0x65, 0x5d, 0x08, 0xdd, 0xa4, 0xf7, - 0xba, 0xc6, 0xa7, 0x2d, 0x8d, 0xf5, 0x58, 0xd2, 0x4f, 0x35, 0x16, 0x79, 0xa6, 0x47, 0xa8, 0xec, - 0x4c, 0x73, 0x74, 0xda, 0xa4, 0xbf, 0xa8, 0x1e, 0x8d, 0x56, 0xff, 0x34, 0x8c, 0xdf, 0x16, 0x0a, - 0xad, 0xc7, 0xbf, 0x2b, 0x6c, 0x3e, 0x51, 0xe1, 0x9a, 0xf2, 0xe8, 0xd6, 0xe8, 0xe8, 0x1f, 0xd4, - 0x8f, 0xe7, 0x64, 0xd4, 0xb7, 0xff, 0x15, 0x00, 0x00, 0xff, 0xff, 0xc1, 0x61, 0xd3, 0xfe, 0x17, - 0x14, 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 - -// SessionsClient is the client API for Sessions service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type SessionsClient interface { - // Processes a natural language query and returns structured, actionable data - // as a result. This method is not idempotent, because it may cause contexts - // and session entity types to be updated, which in turn might affect - // results of future queries. - DetectIntent(ctx context.Context, in *DetectIntentRequest, opts ...grpc.CallOption) (*DetectIntentResponse, error) - // Processes a natural language query in audio format in a streaming fashion - // and returns structured, actionable data as a result. This method is only - // available via the gRPC API (not REST). - StreamingDetectIntent(ctx context.Context, opts ...grpc.CallOption) (Sessions_StreamingDetectIntentClient, error) -} - -type sessionsClient struct { - cc *grpc.ClientConn -} - -func NewSessionsClient(cc *grpc.ClientConn) SessionsClient { - return &sessionsClient{cc} -} - -func (c *sessionsClient) DetectIntent(ctx context.Context, in *DetectIntentRequest, opts ...grpc.CallOption) (*DetectIntentResponse, error) { - out := new(DetectIntentResponse) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Sessions/DetectIntent", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *sessionsClient) StreamingDetectIntent(ctx context.Context, opts ...grpc.CallOption) (Sessions_StreamingDetectIntentClient, error) { - stream, err := c.cc.NewStream(ctx, &_Sessions_serviceDesc.Streams[0], "/google.cloud.dialogflow.v2.Sessions/StreamingDetectIntent", opts...) - if err != nil { - return nil, err - } - x := &sessionsStreamingDetectIntentClient{stream} - return x, nil -} - -type Sessions_StreamingDetectIntentClient interface { - Send(*StreamingDetectIntentRequest) error - Recv() (*StreamingDetectIntentResponse, error) - grpc.ClientStream -} - -type sessionsStreamingDetectIntentClient struct { - grpc.ClientStream -} - -func (x *sessionsStreamingDetectIntentClient) Send(m *StreamingDetectIntentRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *sessionsStreamingDetectIntentClient) Recv() (*StreamingDetectIntentResponse, error) { - m := new(StreamingDetectIntentResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// SessionsServer is the server API for Sessions service. -type SessionsServer interface { - // Processes a natural language query and returns structured, actionable data - // as a result. This method is not idempotent, because it may cause contexts - // and session entity types to be updated, which in turn might affect - // results of future queries. - DetectIntent(context.Context, *DetectIntentRequest) (*DetectIntentResponse, error) - // Processes a natural language query in audio format in a streaming fashion - // and returns structured, actionable data as a result. This method is only - // available via the gRPC API (not REST). - StreamingDetectIntent(Sessions_StreamingDetectIntentServer) error -} - -// UnimplementedSessionsServer can be embedded to have forward compatible implementations. -type UnimplementedSessionsServer struct { -} - -func (*UnimplementedSessionsServer) DetectIntent(ctx context.Context, req *DetectIntentRequest) (*DetectIntentResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method DetectIntent not implemented") -} -func (*UnimplementedSessionsServer) StreamingDetectIntent(srv Sessions_StreamingDetectIntentServer) error { - return status1.Errorf(codes.Unimplemented, "method StreamingDetectIntent not implemented") -} - -func RegisterSessionsServer(s *grpc.Server, srv SessionsServer) { - s.RegisterService(&_Sessions_serviceDesc, srv) -} - -func _Sessions_DetectIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DetectIntentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SessionsServer).DetectIntent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.Sessions/DetectIntent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SessionsServer).DetectIntent(ctx, req.(*DetectIntentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Sessions_StreamingDetectIntent_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(SessionsServer).StreamingDetectIntent(&sessionsStreamingDetectIntentServer{stream}) -} - -type Sessions_StreamingDetectIntentServer interface { - Send(*StreamingDetectIntentResponse) error - Recv() (*StreamingDetectIntentRequest, error) - grpc.ServerStream -} - -type sessionsStreamingDetectIntentServer struct { - grpc.ServerStream -} - -func (x *sessionsStreamingDetectIntentServer) Send(m *StreamingDetectIntentResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *sessionsStreamingDetectIntentServer) Recv() (*StreamingDetectIntentRequest, error) { - m := new(StreamingDetectIntentRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -var _Sessions_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.dialogflow.v2.Sessions", - HandlerType: (*SessionsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "DetectIntent", - Handler: _Sessions_DetectIntent_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "StreamingDetectIntent", - Handler: _Sessions_StreamingDetectIntent_Handler, - ServerStreams: true, - ClientStreams: true, - }, - }, - Metadata: "google/cloud/dialogflow/v2/session.proto", -} 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 deleted file mode 100644 index e09e81c5..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/session_entity_type.pb.go +++ /dev/null @@ -1,805 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/dialogflow/v2/session_entity_type.proto - -package dialogflow - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The types of modifications for a session entity type. -type SessionEntityType_EntityOverrideMode int32 - -const ( - // Not specified. This value should be never used. - SessionEntityType_ENTITY_OVERRIDE_MODE_UNSPECIFIED SessionEntityType_EntityOverrideMode = 0 - // The collection of session entities overrides the collection of entities - // in the corresponding developer entity type. - SessionEntityType_ENTITY_OVERRIDE_MODE_OVERRIDE SessionEntityType_EntityOverrideMode = 1 - // The collection of session entities extends the collection of entities in - // the corresponding developer entity type. - // - // Note: Even in this override mode calls to `ListSessionEntityTypes`, - // `GetSessionEntityType`, `CreateSessionEntityType` and - // `UpdateSessionEntityType` only return the additional entities added in - // this session entity type. If you want to get the supplemented list, - // please call [EntityTypes.GetEntityType][google.cloud.dialogflow.v2.EntityTypes.GetEntityType] on the developer entity type - // and merge. - SessionEntityType_ENTITY_OVERRIDE_MODE_SUPPLEMENT SessionEntityType_EntityOverrideMode = 2 -) - -var SessionEntityType_EntityOverrideMode_name = map[int32]string{ - 0: "ENTITY_OVERRIDE_MODE_UNSPECIFIED", - 1: "ENTITY_OVERRIDE_MODE_OVERRIDE", - 2: "ENTITY_OVERRIDE_MODE_SUPPLEMENT", -} - -var SessionEntityType_EntityOverrideMode_value = map[string]int32{ - "ENTITY_OVERRIDE_MODE_UNSPECIFIED": 0, - "ENTITY_OVERRIDE_MODE_OVERRIDE": 1, - "ENTITY_OVERRIDE_MODE_SUPPLEMENT": 2, -} - -func (x SessionEntityType_EntityOverrideMode) String() string { - return proto.EnumName(SessionEntityType_EntityOverrideMode_name, int32(x)) -} - -func (SessionEntityType_EntityOverrideMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_841e168133818181, []int{0, 0} -} - -// Represents a session entity type. -// -// Extends or replaces a developer entity type at the user session level (we -// refer to the entity types defined at the agent level as "developer entity -// types"). -// -// Note: session entity types apply to all queries, regardless of the language. -type SessionEntityType struct { - // Required. The unique identifier of this session entity type. Format: - // `projects//agent/sessions//entityTypes/`. - // - // `` must be the display name of an existing entity - // type in the same agent that will be overridden or supplemented. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. Indicates whether the additional data should override or - // supplement the developer entity type definition. - EntityOverrideMode SessionEntityType_EntityOverrideMode `protobuf:"varint,2,opt,name=entity_override_mode,json=entityOverrideMode,proto3,enum=google.cloud.dialogflow.v2.SessionEntityType_EntityOverrideMode" json:"entity_override_mode,omitempty"` - // Required. The collection of entities associated with this session entity - // type. - Entities []*EntityType_Entity `protobuf:"bytes,3,rep,name=entities,proto3" json:"entities,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_841e168133818181, []int{0} -} - -func (m *SessionEntityType) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SessionEntityType.Unmarshal(m, b) -} -func (m *SessionEntityType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SessionEntityType.Marshal(b, m, deterministic) -} -func (m *SessionEntityType) XXX_Merge(src proto.Message) { - xxx_messageInfo_SessionEntityType.Merge(m, src) -} -func (m *SessionEntityType) XXX_Size() int { - return xxx_messageInfo_SessionEntityType.Size(m) -} -func (m *SessionEntityType) XXX_DiscardUnknown() { - xxx_messageInfo_SessionEntityType.DiscardUnknown(m) -} - -var xxx_messageInfo_SessionEntityType proto.InternalMessageInfo - -func (m *SessionEntityType) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *SessionEntityType) GetEntityOverrideMode() SessionEntityType_EntityOverrideMode { - if m != nil { - return m.EntityOverrideMode - } - return SessionEntityType_ENTITY_OVERRIDE_MODE_UNSPECIFIED -} - -func (m *SessionEntityType) GetEntities() []*EntityType_Entity { - if m != nil { - return m.Entities - } - return nil -} - -// The request message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.v2.SessionEntityTypes.ListSessionEntityTypes]. -type ListSessionEntityTypesRequest struct { - // Required. The session to list all session entity types from. - // Format: `projects//agent/sessions/`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. The maximum number of items to return in a single page. By - // default 100 and at most 1000. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional. The next_page_token value returned from a previous list request. - 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 *ListSessionEntityTypesRequest) Reset() { *m = ListSessionEntityTypesRequest{} } -func (m *ListSessionEntityTypesRequest) String() string { return proto.CompactTextString(m) } -func (*ListSessionEntityTypesRequest) ProtoMessage() {} -func (*ListSessionEntityTypesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_841e168133818181, []int{1} -} - -func (m *ListSessionEntityTypesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListSessionEntityTypesRequest.Unmarshal(m, b) -} -func (m *ListSessionEntityTypesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListSessionEntityTypesRequest.Marshal(b, m, deterministic) -} -func (m *ListSessionEntityTypesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSessionEntityTypesRequest.Merge(m, src) -} -func (m *ListSessionEntityTypesRequest) XXX_Size() int { - return xxx_messageInfo_ListSessionEntityTypesRequest.Size(m) -} -func (m *ListSessionEntityTypesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListSessionEntityTypesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListSessionEntityTypesRequest proto.InternalMessageInfo - -func (m *ListSessionEntityTypesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListSessionEntityTypesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListSessionEntityTypesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// The response message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.v2.SessionEntityTypes.ListSessionEntityTypes]. -type ListSessionEntityTypesResponse struct { - // The list of session entity types. There will be a maximum number of items - // returned based on the page_size field in the request. - SessionEntityTypes []*SessionEntityType `protobuf:"bytes,1,rep,name=session_entity_types,json=sessionEntityTypes,proto3" json:"session_entity_types,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 *ListSessionEntityTypesResponse) Reset() { *m = ListSessionEntityTypesResponse{} } -func (m *ListSessionEntityTypesResponse) String() string { return proto.CompactTextString(m) } -func (*ListSessionEntityTypesResponse) ProtoMessage() {} -func (*ListSessionEntityTypesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_841e168133818181, []int{2} -} - -func (m *ListSessionEntityTypesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListSessionEntityTypesResponse.Unmarshal(m, b) -} -func (m *ListSessionEntityTypesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListSessionEntityTypesResponse.Marshal(b, m, deterministic) -} -func (m *ListSessionEntityTypesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSessionEntityTypesResponse.Merge(m, src) -} -func (m *ListSessionEntityTypesResponse) XXX_Size() int { - return xxx_messageInfo_ListSessionEntityTypesResponse.Size(m) -} -func (m *ListSessionEntityTypesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListSessionEntityTypesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListSessionEntityTypesResponse proto.InternalMessageInfo - -func (m *ListSessionEntityTypesResponse) GetSessionEntityTypes() []*SessionEntityType { - if m != nil { - return m.SessionEntityTypes - } - return nil -} - -func (m *ListSessionEntityTypesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The request message for [SessionEntityTypes.GetSessionEntityType][google.cloud.dialogflow.v2.SessionEntityTypes.GetSessionEntityType]. -type GetSessionEntityTypeRequest struct { - // Required. The name of the session entity type. Format: - // `projects//agent/sessions//entityTypes/`. - 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 *GetSessionEntityTypeRequest) Reset() { *m = GetSessionEntityTypeRequest{} } -func (m *GetSessionEntityTypeRequest) String() string { return proto.CompactTextString(m) } -func (*GetSessionEntityTypeRequest) ProtoMessage() {} -func (*GetSessionEntityTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_841e168133818181, []int{3} -} - -func (m *GetSessionEntityTypeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetSessionEntityTypeRequest.Unmarshal(m, b) -} -func (m *GetSessionEntityTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetSessionEntityTypeRequest.Marshal(b, m, deterministic) -} -func (m *GetSessionEntityTypeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetSessionEntityTypeRequest.Merge(m, src) -} -func (m *GetSessionEntityTypeRequest) XXX_Size() int { - return xxx_messageInfo_GetSessionEntityTypeRequest.Size(m) -} -func (m *GetSessionEntityTypeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetSessionEntityTypeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetSessionEntityTypeRequest proto.InternalMessageInfo - -func (m *GetSessionEntityTypeRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The request message for [SessionEntityTypes.CreateSessionEntityType][google.cloud.dialogflow.v2.SessionEntityTypes.CreateSessionEntityType]. -type CreateSessionEntityTypeRequest struct { - // Required. The session to create a session entity type for. - // Format: `projects//agent/sessions/`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The session entity type to create. - SessionEntityType *SessionEntityType `protobuf:"bytes,2,opt,name=session_entity_type,json=sessionEntityType,proto3" json:"session_entity_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateSessionEntityTypeRequest) Reset() { *m = CreateSessionEntityTypeRequest{} } -func (m *CreateSessionEntityTypeRequest) String() string { return proto.CompactTextString(m) } -func (*CreateSessionEntityTypeRequest) ProtoMessage() {} -func (*CreateSessionEntityTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_841e168133818181, []int{4} -} - -func (m *CreateSessionEntityTypeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateSessionEntityTypeRequest.Unmarshal(m, b) -} -func (m *CreateSessionEntityTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateSessionEntityTypeRequest.Marshal(b, m, deterministic) -} -func (m *CreateSessionEntityTypeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateSessionEntityTypeRequest.Merge(m, src) -} -func (m *CreateSessionEntityTypeRequest) XXX_Size() int { - return xxx_messageInfo_CreateSessionEntityTypeRequest.Size(m) -} -func (m *CreateSessionEntityTypeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateSessionEntityTypeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateSessionEntityTypeRequest proto.InternalMessageInfo - -func (m *CreateSessionEntityTypeRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateSessionEntityTypeRequest) GetSessionEntityType() *SessionEntityType { - if m != nil { - return m.SessionEntityType - } - return nil -} - -// The request message for [SessionEntityTypes.UpdateSessionEntityType][google.cloud.dialogflow.v2.SessionEntityTypes.UpdateSessionEntityType]. -type UpdateSessionEntityTypeRequest struct { - // Required. The entity type to update. Format: - // `projects//agent/sessions//entityTypes/`. - SessionEntityType *SessionEntityType `protobuf:"bytes,1,opt,name=session_entity_type,json=sessionEntityType,proto3" json:"session_entity_type,omitempty"` - // Optional. The mask to control which fields get 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 *UpdateSessionEntityTypeRequest) Reset() { *m = UpdateSessionEntityTypeRequest{} } -func (m *UpdateSessionEntityTypeRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateSessionEntityTypeRequest) ProtoMessage() {} -func (*UpdateSessionEntityTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_841e168133818181, []int{5} -} - -func (m *UpdateSessionEntityTypeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateSessionEntityTypeRequest.Unmarshal(m, b) -} -func (m *UpdateSessionEntityTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateSessionEntityTypeRequest.Marshal(b, m, deterministic) -} -func (m *UpdateSessionEntityTypeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateSessionEntityTypeRequest.Merge(m, src) -} -func (m *UpdateSessionEntityTypeRequest) XXX_Size() int { - return xxx_messageInfo_UpdateSessionEntityTypeRequest.Size(m) -} -func (m *UpdateSessionEntityTypeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateSessionEntityTypeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateSessionEntityTypeRequest proto.InternalMessageInfo - -func (m *UpdateSessionEntityTypeRequest) GetSessionEntityType() *SessionEntityType { - if m != nil { - return m.SessionEntityType - } - return nil -} - -func (m *UpdateSessionEntityTypeRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// The request message for [SessionEntityTypes.DeleteSessionEntityType][google.cloud.dialogflow.v2.SessionEntityTypes.DeleteSessionEntityType]. -type DeleteSessionEntityTypeRequest struct { - // Required. The name of the entity type to delete. Format: - // `projects//agent/sessions//entityTypes/`. - 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 *DeleteSessionEntityTypeRequest) Reset() { *m = DeleteSessionEntityTypeRequest{} } -func (m *DeleteSessionEntityTypeRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteSessionEntityTypeRequest) ProtoMessage() {} -func (*DeleteSessionEntityTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_841e168133818181, []int{6} -} - -func (m *DeleteSessionEntityTypeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteSessionEntityTypeRequest.Unmarshal(m, b) -} -func (m *DeleteSessionEntityTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteSessionEntityTypeRequest.Marshal(b, m, deterministic) -} -func (m *DeleteSessionEntityTypeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteSessionEntityTypeRequest.Merge(m, src) -} -func (m *DeleteSessionEntityTypeRequest) XXX_Size() int { - return xxx_messageInfo_DeleteSessionEntityTypeRequest.Size(m) -} -func (m *DeleteSessionEntityTypeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteSessionEntityTypeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteSessionEntityTypeRequest proto.InternalMessageInfo - -func (m *DeleteSessionEntityTypeRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func init() { - proto.RegisterEnum("google.cloud.dialogflow.v2.SessionEntityType_EntityOverrideMode", SessionEntityType_EntityOverrideMode_name, SessionEntityType_EntityOverrideMode_value) - proto.RegisterType((*SessionEntityType)(nil), "google.cloud.dialogflow.v2.SessionEntityType") - proto.RegisterType((*ListSessionEntityTypesRequest)(nil), "google.cloud.dialogflow.v2.ListSessionEntityTypesRequest") - proto.RegisterType((*ListSessionEntityTypesResponse)(nil), "google.cloud.dialogflow.v2.ListSessionEntityTypesResponse") - proto.RegisterType((*GetSessionEntityTypeRequest)(nil), "google.cloud.dialogflow.v2.GetSessionEntityTypeRequest") - proto.RegisterType((*CreateSessionEntityTypeRequest)(nil), "google.cloud.dialogflow.v2.CreateSessionEntityTypeRequest") - proto.RegisterType((*UpdateSessionEntityTypeRequest)(nil), "google.cloud.dialogflow.v2.UpdateSessionEntityTypeRequest") - proto.RegisterType((*DeleteSessionEntityTypeRequest)(nil), "google.cloud.dialogflow.v2.DeleteSessionEntityTypeRequest") -} - -func init() { - proto.RegisterFile("google/cloud/dialogflow/v2/session_entity_type.proto", fileDescriptor_841e168133818181) -} - -var fileDescriptor_841e168133818181 = []byte{ - // 991 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcb, 0x6f, 0x1b, 0x45, - 0x18, 0x67, 0x6c, 0xa8, 0x9a, 0xa9, 0x80, 0x74, 0x1a, 0xc5, 0xee, 0x86, 0xba, 0xee, 0x16, 0x41, - 0x08, 0xc9, 0xae, 0xe4, 0x56, 0x20, 0x02, 0x95, 0xba, 0xb1, 0x37, 0x21, 0xa2, 0x49, 0x2c, 0xc7, - 0xa9, 0x54, 0x2e, 0xab, 0xb5, 0xfd, 0x79, 0xb3, 0x64, 0xbd, 0xb3, 0xec, 0x8c, 0xf3, 0xa8, 0x95, - 0x03, 0xfd, 0x17, 0xf8, 0x0b, 0x40, 0xe2, 0x00, 0x47, 0xce, 0x9c, 0x39, 0x70, 0x04, 0xa9, 0x87, - 0x9c, 0x7a, 0xe0, 0xc4, 0x85, 0x0b, 0x07, 0xc4, 0x09, 0xed, 0xce, 0x3a, 0xb6, 0xbb, 0x8f, 0xc8, - 0x51, 0x6f, 0xde, 0xef, 0xf9, 0xfb, 0x7e, 0xdf, 0xc3, 0x83, 0xef, 0x5b, 0x94, 0x5a, 0x0e, 0xa8, - 0x6d, 0x87, 0xf6, 0x3b, 0x6a, 0xc7, 0x36, 0x1d, 0x6a, 0x75, 0x1d, 0x7a, 0xa4, 0x1e, 0x56, 0x54, - 0x06, 0x8c, 0xd9, 0xd4, 0x35, 0x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4f, 0x84, - 0x98, 0xd7, 0xa5, 0x4b, 0xcd, 0xab, 0x74, 0xfc, 0x9b, 0x76, 0x33, 0xf5, 0x14, 0xfd, 0xae, 0x3d, - 0xd9, 0xe7, 0xdc, 0x63, 0xab, 0xaa, 0x7a, 0x74, 0x14, 0xbb, 0x53, 0x66, 0x9f, 0xef, 0x8b, 0xc7, - 0xe5, 0x8a, 0xe7, 0x98, 0xbc, 0x4b, 0xfd, 0xde, 0xf2, 0x45, 0xe6, 0xa3, 0x54, 0x6b, 0x3f, 0x20, - 0x5c, 0x6a, 0xd3, 0x5e, 0x06, 0x31, 0x6b, 0xf3, 0x31, 0x4e, 0xea, 0x01, 0x05, 0x75, 0xf4, 0x65, - 0x2d, 0xf2, 0xb2, 0xa8, 0x63, 0xba, 0x96, 0x42, 0x7d, 0x4b, 0xb5, 0xc0, 0x0d, 0x09, 0x52, 0x47, - 0x79, 0x93, 0x9e, 0xbe, 0x9f, 0x8e, 0xbe, 0xfe, 0x45, 0xe8, 0xfb, 0x5c, 0xae, 0xb6, 0xfe, 0x53, - 0x4e, 0xda, 0x10, 0xe1, 0xaa, 0x21, 0x88, 0xda, 0x08, 0xc4, 0xe3, 0x4a, 0xeb, 0x4a, 0x18, 0xf5, - 0xde, 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, 0x55, 0x1b, 0xe9, 0x03, 0x14, 0x0c, 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 - -// SessionEntityTypesClient is the client API for SessionEntityTypes service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type SessionEntityTypesClient interface { - // Returns the list of all session entity types in the specified session. - // - // This method doesn't work with Google Assistant integration. - // Contact Dialogflow support if you need to use session entities - // with Google Assistant integration. - ListSessionEntityTypes(ctx context.Context, in *ListSessionEntityTypesRequest, opts ...grpc.CallOption) (*ListSessionEntityTypesResponse, error) - // Retrieves the specified session entity type. - // - // This method doesn't work with Google Assistant integration. - // Contact Dialogflow support if you need to use session entities - // with Google Assistant integration. - GetSessionEntityType(ctx context.Context, in *GetSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error) - // Creates a session entity type. - // - // If the specified session entity type already exists, overrides the session - // entity type. - // - // This method doesn't work with Google Assistant integration. - // Contact Dialogflow support if you need to use session entities - // with Google Assistant integration. - CreateSessionEntityType(ctx context.Context, in *CreateSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error) - // Updates the specified session entity type. - // - // This method doesn't work with Google Assistant integration. - // Contact Dialogflow support if you need to use session entities - // with Google Assistant integration. - UpdateSessionEntityType(ctx context.Context, in *UpdateSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error) - // Deletes the specified session entity type. - // - // This method doesn't work with Google Assistant integration. - // Contact Dialogflow support if you need to use session entities - // with Google Assistant integration. - DeleteSessionEntityType(ctx context.Context, in *DeleteSessionEntityTypeRequest, opts ...grpc.CallOption) (*empty.Empty, error) -} - -type sessionEntityTypesClient struct { - cc *grpc.ClientConn -} - -func NewSessionEntityTypesClient(cc *grpc.ClientConn) SessionEntityTypesClient { - return &sessionEntityTypesClient{cc} -} - -func (c *sessionEntityTypesClient) ListSessionEntityTypes(ctx context.Context, in *ListSessionEntityTypesRequest, opts ...grpc.CallOption) (*ListSessionEntityTypesResponse, error) { - out := new(ListSessionEntityTypesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.SessionEntityTypes/ListSessionEntityTypes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *sessionEntityTypesClient) GetSessionEntityType(ctx context.Context, in *GetSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error) { - out := new(SessionEntityType) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.SessionEntityTypes/GetSessionEntityType", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *sessionEntityTypesClient) CreateSessionEntityType(ctx context.Context, in *CreateSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error) { - out := new(SessionEntityType) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.SessionEntityTypes/CreateSessionEntityType", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *sessionEntityTypesClient) UpdateSessionEntityType(ctx context.Context, in *UpdateSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error) { - out := new(SessionEntityType) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.SessionEntityTypes/UpdateSessionEntityType", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *sessionEntityTypesClient) DeleteSessionEntityType(ctx context.Context, in *DeleteSessionEntityTypeRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.SessionEntityTypes/DeleteSessionEntityType", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// SessionEntityTypesServer is the server API for SessionEntityTypes service. -type SessionEntityTypesServer interface { - // Returns the list of all session entity types in the specified session. - // - // This method doesn't work with Google Assistant integration. - // Contact Dialogflow support if you need to use session entities - // with Google Assistant integration. - ListSessionEntityTypes(context.Context, *ListSessionEntityTypesRequest) (*ListSessionEntityTypesResponse, error) - // Retrieves the specified session entity type. - // - // This method doesn't work with Google Assistant integration. - // Contact Dialogflow support if you need to use session entities - // with Google Assistant integration. - GetSessionEntityType(context.Context, *GetSessionEntityTypeRequest) (*SessionEntityType, error) - // Creates a session entity type. - // - // If the specified session entity type already exists, overrides the session - // entity type. - // - // This method doesn't work with Google Assistant integration. - // Contact Dialogflow support if you need to use session entities - // with Google Assistant integration. - CreateSessionEntityType(context.Context, *CreateSessionEntityTypeRequest) (*SessionEntityType, error) - // Updates the specified session entity type. - // - // This method doesn't work with Google Assistant integration. - // Contact Dialogflow support if you need to use session entities - // with Google Assistant integration. - UpdateSessionEntityType(context.Context, *UpdateSessionEntityTypeRequest) (*SessionEntityType, error) - // Deletes the specified session entity type. - // - // This method doesn't work with Google Assistant integration. - // Contact Dialogflow support if you need to use session entities - // with Google Assistant integration. - DeleteSessionEntityType(context.Context, *DeleteSessionEntityTypeRequest) (*empty.Empty, error) -} - -// UnimplementedSessionEntityTypesServer can be embedded to have forward compatible implementations. -type UnimplementedSessionEntityTypesServer struct { -} - -func (*UnimplementedSessionEntityTypesServer) ListSessionEntityTypes(ctx context.Context, req *ListSessionEntityTypesRequest) (*ListSessionEntityTypesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListSessionEntityTypes not implemented") -} -func (*UnimplementedSessionEntityTypesServer) GetSessionEntityType(ctx context.Context, req *GetSessionEntityTypeRequest) (*SessionEntityType, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetSessionEntityType not implemented") -} -func (*UnimplementedSessionEntityTypesServer) CreateSessionEntityType(ctx context.Context, req *CreateSessionEntityTypeRequest) (*SessionEntityType, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateSessionEntityType not implemented") -} -func (*UnimplementedSessionEntityTypesServer) UpdateSessionEntityType(ctx context.Context, req *UpdateSessionEntityTypeRequest) (*SessionEntityType, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateSessionEntityType not implemented") -} -func (*UnimplementedSessionEntityTypesServer) DeleteSessionEntityType(ctx context.Context, req *DeleteSessionEntityTypeRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteSessionEntityType not implemented") -} - -func RegisterSessionEntityTypesServer(s *grpc.Server, srv SessionEntityTypesServer) { - s.RegisterService(&_SessionEntityTypes_serviceDesc, srv) -} - -func _SessionEntityTypes_ListSessionEntityTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListSessionEntityTypesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SessionEntityTypesServer).ListSessionEntityTypes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.SessionEntityTypes/ListSessionEntityTypes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SessionEntityTypesServer).ListSessionEntityTypes(ctx, req.(*ListSessionEntityTypesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SessionEntityTypes_GetSessionEntityType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetSessionEntityTypeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SessionEntityTypesServer).GetSessionEntityType(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.SessionEntityTypes/GetSessionEntityType", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SessionEntityTypesServer).GetSessionEntityType(ctx, req.(*GetSessionEntityTypeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SessionEntityTypes_CreateSessionEntityType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateSessionEntityTypeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SessionEntityTypesServer).CreateSessionEntityType(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.SessionEntityTypes/CreateSessionEntityType", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SessionEntityTypesServer).CreateSessionEntityType(ctx, req.(*CreateSessionEntityTypeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SessionEntityTypes_UpdateSessionEntityType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateSessionEntityTypeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SessionEntityTypesServer).UpdateSessionEntityType(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.SessionEntityTypes/UpdateSessionEntityType", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SessionEntityTypesServer).UpdateSessionEntityType(ctx, req.(*UpdateSessionEntityTypeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SessionEntityTypes_DeleteSessionEntityType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteSessionEntityTypeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SessionEntityTypesServer).DeleteSessionEntityType(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2.SessionEntityTypes/DeleteSessionEntityType", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SessionEntityTypesServer).DeleteSessionEntityType(ctx, req.(*DeleteSessionEntityTypeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _SessionEntityTypes_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.dialogflow.v2.SessionEntityTypes", - HandlerType: (*SessionEntityTypesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListSessionEntityTypes", - Handler: _SessionEntityTypes_ListSessionEntityTypes_Handler, - }, - { - MethodName: "GetSessionEntityType", - Handler: _SessionEntityTypes_GetSessionEntityType_Handler, - }, - { - MethodName: "CreateSessionEntityType", - Handler: _SessionEntityTypes_CreateSessionEntityType_Handler, - }, - { - MethodName: "UpdateSessionEntityType", - Handler: _SessionEntityTypes_UpdateSessionEntityType_Handler, - }, - { - MethodName: "DeleteSessionEntityType", - Handler: _SessionEntityTypes_DeleteSessionEntityType_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/dialogflow/v2/session_entity_type.proto", -} 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 deleted file mode 100644 index 48969e0e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2/webhook.pb.go +++ /dev/null @@ -1,352 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/dialogflow/v2/webhook.proto - -package dialogflow - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _struct "github.com/golang/protobuf/ptypes/struct" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The request message for a webhook call. -type WebhookRequest struct { - // The unique identifier of detectIntent request session. - // Can be used to identify end-user inside webhook implementation. - // Format: `projects//agent/sessions/`, or - // `projects//agent/environments//users//sessions/`. - Session string `protobuf:"bytes,4,opt,name=session,proto3" json:"session,omitempty"` - // The unique identifier of the response. Contains the same value as - // `[Streaming]DetectIntentResponse.response_id`. - ResponseId string `protobuf:"bytes,1,opt,name=response_id,json=responseId,proto3" json:"response_id,omitempty"` - // The result of the conversational query or event processing. Contains the - // same value as `[Streaming]DetectIntentResponse.query_result`. - QueryResult *QueryResult `protobuf:"bytes,2,opt,name=query_result,json=queryResult,proto3" json:"query_result,omitempty"` - // Optional. The contents of the original request that was passed to - // `[Streaming]DetectIntent` call. - OriginalDetectIntentRequest *OriginalDetectIntentRequest `protobuf:"bytes,3,opt,name=original_detect_intent_request,json=originalDetectIntentRequest,proto3" json:"original_detect_intent_request,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2ba880626f278d96, []int{0} -} - -func (m *WebhookRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebhookRequest.Unmarshal(m, b) -} -func (m *WebhookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebhookRequest.Marshal(b, m, deterministic) -} -func (m *WebhookRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebhookRequest.Merge(m, src) -} -func (m *WebhookRequest) XXX_Size() int { - return xxx_messageInfo_WebhookRequest.Size(m) -} -func (m *WebhookRequest) XXX_DiscardUnknown() { - xxx_messageInfo_WebhookRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_WebhookRequest proto.InternalMessageInfo - -func (m *WebhookRequest) GetSession() string { - if m != nil { - return m.Session - } - return "" -} - -func (m *WebhookRequest) GetResponseId() string { - if m != nil { - return m.ResponseId - } - return "" -} - -func (m *WebhookRequest) GetQueryResult() *QueryResult { - if m != nil { - return m.QueryResult - } - return nil -} - -func (m *WebhookRequest) GetOriginalDetectIntentRequest() *OriginalDetectIntentRequest { - if m != nil { - return m.OriginalDetectIntentRequest - } - return nil -} - -// The response message for a webhook call. -type WebhookResponse struct { - // Optional. The text to be shown on the screen. This value is passed directly - // to `QueryResult.fulfillment_text`. - FulfillmentText string `protobuf:"bytes,1,opt,name=fulfillment_text,json=fulfillmentText,proto3" json:"fulfillment_text,omitempty"` - // Optional. The collection of rich messages to present to the user. This - // value is passed directly to `QueryResult.fulfillment_messages`. - FulfillmentMessages []*Intent_Message `protobuf:"bytes,2,rep,name=fulfillment_messages,json=fulfillmentMessages,proto3" json:"fulfillment_messages,omitempty"` - // Optional. This value is passed directly to `QueryResult.webhook_source`. - Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"` - // Optional. This value is passed directly to `QueryResult.webhook_payload`. - // See the related `fulfillment_messages[i].payload field`, which may be used - // as an alternative to this field. - // - // This field can be used for Actions on Google responses. - // It should have a structure similar to the JSON message shown here. For more - // information, see - // [Actions on Google Webhook - // Format](https://developers.google.com/actions/dialogflow/webhook) - //
{
-	//   "google": {
-	//     "expectUserResponse": true,
-	//     "richResponse": {
-	//       "items": [
-	//         {
-	//           "simpleResponse": {
-	//             "textToSpeech": "this is a simple response"
-	//           }
-	//         }
-	//       ]
-	//     }
-	//   }
-	// }
- Payload *_struct.Struct `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"` - // Optional. The collection of output contexts. This value is passed directly - // to `QueryResult.output_contexts`. - OutputContexts []*Context `protobuf:"bytes,5,rep,name=output_contexts,json=outputContexts,proto3" json:"output_contexts,omitempty"` - // Optional. Makes the platform immediately invoke another `DetectIntent` call - // internally with the specified event as input. - // When this field is set, Dialogflow ignores the `fulfillment_text`, - // `fulfillment_messages`, and `payload` fields. - FollowupEventInput *EventInput `protobuf:"bytes,6,opt,name=followup_event_input,json=followupEventInput,proto3" json:"followup_event_input,omitempty"` - // Optional. Additional session entity types to replace or extend developer - // entity types with. The entity synonyms apply to all languages and persist - // for the session of this query. Setting the session entity types inside - // webhook overwrites the session entity types that have been set through - // `DetectIntentRequest.query_params.session_entity_types`. - SessionEntityTypes []*SessionEntityType `protobuf:"bytes,10,rep,name=session_entity_types,json=sessionEntityTypes,proto3" json:"session_entity_types,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2ba880626f278d96, []int{1} -} - -func (m *WebhookResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebhookResponse.Unmarshal(m, b) -} -func (m *WebhookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebhookResponse.Marshal(b, m, deterministic) -} -func (m *WebhookResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebhookResponse.Merge(m, src) -} -func (m *WebhookResponse) XXX_Size() int { - return xxx_messageInfo_WebhookResponse.Size(m) -} -func (m *WebhookResponse) XXX_DiscardUnknown() { - xxx_messageInfo_WebhookResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_WebhookResponse proto.InternalMessageInfo - -func (m *WebhookResponse) GetFulfillmentText() string { - if m != nil { - return m.FulfillmentText - } - return "" -} - -func (m *WebhookResponse) GetFulfillmentMessages() []*Intent_Message { - if m != nil { - return m.FulfillmentMessages - } - return nil -} - -func (m *WebhookResponse) GetSource() string { - if m != nil { - return m.Source - } - return "" -} - -func (m *WebhookResponse) GetPayload() *_struct.Struct { - if m != nil { - return m.Payload - } - return nil -} - -func (m *WebhookResponse) GetOutputContexts() []*Context { - if m != nil { - return m.OutputContexts - } - return nil -} - -func (m *WebhookResponse) GetFollowupEventInput() *EventInput { - if m != nil { - return m.FollowupEventInput - } - return nil -} - -func (m *WebhookResponse) GetSessionEntityTypes() []*SessionEntityType { - if m != nil { - return m.SessionEntityTypes - } - return nil -} - -// Represents the contents of the original request that was passed to -// the `[Streaming]DetectIntent` call. -type OriginalDetectIntentRequest struct { - // The source of this request, e.g., `google`, `facebook`, `slack`. It is set - // by Dialogflow-owned servers. - Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` - // Optional. The version of the protocol used for this request. - // This field is AoG-specific. - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - // Optional. This field is set to the value of the `QueryParameters.payload` - // field passed in the request. Some integrations that query a Dialogflow - // agent may provide additional information in the payload. - // - // In particular for the Telephony Gateway this field has the form: - //
{
-	//  "telephony": {
-	//    "caller_id": "+18558363987"
-	//  }
-	// }
- // Note: The caller ID field (`caller_id`) will be redacted for Standard - // Edition agents and populated with the caller ID in [E.164 - // format](https://en.wikipedia.org/wiki/E.164) for Enterprise Edition agents. - Payload *_struct.Struct `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OriginalDetectIntentRequest) Reset() { *m = OriginalDetectIntentRequest{} } -func (m *OriginalDetectIntentRequest) String() string { return proto.CompactTextString(m) } -func (*OriginalDetectIntentRequest) ProtoMessage() {} -func (*OriginalDetectIntentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2ba880626f278d96, []int{2} -} - -func (m *OriginalDetectIntentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OriginalDetectIntentRequest.Unmarshal(m, b) -} -func (m *OriginalDetectIntentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OriginalDetectIntentRequest.Marshal(b, m, deterministic) -} -func (m *OriginalDetectIntentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_OriginalDetectIntentRequest.Merge(m, src) -} -func (m *OriginalDetectIntentRequest) XXX_Size() int { - return xxx_messageInfo_OriginalDetectIntentRequest.Size(m) -} -func (m *OriginalDetectIntentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_OriginalDetectIntentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_OriginalDetectIntentRequest proto.InternalMessageInfo - -func (m *OriginalDetectIntentRequest) GetSource() string { - if m != nil { - return m.Source - } - return "" -} - -func (m *OriginalDetectIntentRequest) GetVersion() string { - if m != nil { - return m.Version - } - return "" -} - -func (m *OriginalDetectIntentRequest) GetPayload() *_struct.Struct { - if m != nil { - return m.Payload - } - return nil -} - -func init() { - proto.RegisterType((*WebhookRequest)(nil), "google.cloud.dialogflow.v2.WebhookRequest") - proto.RegisterType((*WebhookResponse)(nil), "google.cloud.dialogflow.v2.WebhookResponse") - proto.RegisterType((*OriginalDetectIntentRequest)(nil), "google.cloud.dialogflow.v2.OriginalDetectIntentRequest") -} - -func init() { - proto.RegisterFile("google/cloud/dialogflow/v2/webhook.proto", fileDescriptor_2ba880626f278d96) -} - -var fileDescriptor_2ba880626f278d96 = []byte{ - // 595 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0x41, 0x6f, 0xd3, 0x4c, - 0x10, 0x95, 0x9d, 0xef, 0x6b, 0xd5, 0x4d, 0xd5, 0xa2, 0xa5, 0x02, 0x2b, 0x45, 0x25, 0x0a, 0x12, - 0x0d, 0x48, 0xd8, 0xc2, 0x20, 0x71, 0xe0, 0xd6, 0xa6, 0xa0, 0x20, 0x10, 0xc5, 0xad, 0x00, 0x21, - 0x21, 0xcb, 0xb1, 0x37, 0x66, 0xc5, 0x66, 0xc7, 0xf1, 0xee, 0x26, 0x8d, 0xc4, 0x89, 0xff, 0xc0, - 0x89, 0x1b, 0x47, 0xfe, 0x1c, 0x57, 0x8e, 0xc8, 0xbb, 0x6b, 0x12, 0xaa, 0xd6, 0x70, 0x9c, 0x99, - 0x37, 0x6f, 0xde, 0x3c, 0xcf, 0x1a, 0xf5, 0x73, 0x80, 0x9c, 0x91, 0x20, 0x65, 0xa0, 0xb2, 0x20, - 0xa3, 0x09, 0x83, 0x7c, 0xcc, 0x60, 0x1e, 0xcc, 0xc2, 0x60, 0x4e, 0x46, 0x1f, 0x00, 0x3e, 0xfa, - 0x45, 0x09, 0x12, 0x70, 0xc7, 0x20, 0x7d, 0x8d, 0xf4, 0x97, 0x48, 0x7f, 0x16, 0x76, 0x9a, 0x58, - 0x52, 0xe0, 0x92, 0x9c, 0x49, 0xc3, 0xd2, 0xd9, 0x6f, 0x40, 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xf5, 0x73, 0x71, 0xcd, 0x73, 0xb1, 0xe1, 0xea, 0xd7, 0x68, 0xfd, 0xdb, - 0xd7, 0x38, 0xf8, 0xea, 0xa0, 0xbd, 0x14, 0x26, 0x0d, 0xdb, 0x1c, 0x6c, 0xda, 0xb3, 0x3c, 0xae, - 0x38, 0x8e, 0x9d, 0x77, 0x03, 0x8b, 0xcd, 0x81, 0x25, 0x3c, 0xf7, 0xa1, 0xcc, 0x83, 0x9c, 0x70, - 0x3d, 0x21, 0x30, 0xa5, 0xa4, 0xa0, 0xe2, 0xa2, 0x5f, 0xca, 0xe3, 0x65, 0xf4, 0xd3, 0x71, 0xbe, - 0xb9, 0xee, 0xe0, 0xc9, 0x77, 0xb7, 0xf3, 0xd4, 0xd0, 0x1d, 0xea, 0xd1, 0x83, 0xe5, 0xe8, 0xd7, - 0xe1, 0x68, 0x4d, 0xb3, 0x3e, 0xf8, 0x15, 0x00, 0x00, 0xff, 0xff, 0x41, 0x99, 0x74, 0xaa, 0x6a, - 0x05, 0x00, 0x00, -} 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 deleted file mode 100644 index 3420d6fb..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/agent.pb.go +++ /dev/null @@ -1,1522 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/dialogflow/v2beta1/agent.proto - -package dialogflow - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Match mode determines how intents are detected from user queries. -type Agent_MatchMode int32 - -const ( - // Not specified. - Agent_MATCH_MODE_UNSPECIFIED Agent_MatchMode = 0 - // Best for agents with a small number of examples in intents and/or wide - // use of templates syntax and composite entities. - Agent_MATCH_MODE_HYBRID Agent_MatchMode = 1 - // Can be used for agents with a large number of examples in intents, - // especially the ones using @sys.any or very large developer entities. - Agent_MATCH_MODE_ML_ONLY Agent_MatchMode = 2 -) - -var Agent_MatchMode_name = map[int32]string{ - 0: "MATCH_MODE_UNSPECIFIED", - 1: "MATCH_MODE_HYBRID", - 2: "MATCH_MODE_ML_ONLY", -} - -var Agent_MatchMode_value = map[string]int32{ - "MATCH_MODE_UNSPECIFIED": 0, - "MATCH_MODE_HYBRID": 1, - "MATCH_MODE_ML_ONLY": 2, -} - -func (x Agent_MatchMode) String() string { - return proto.EnumName(Agent_MatchMode_name, int32(x)) -} - -func (Agent_MatchMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_be44838675479699, []int{0, 0} -} - -// API version for the agent. -type Agent_ApiVersion int32 - -const ( - // Not specified. - Agent_API_VERSION_UNSPECIFIED Agent_ApiVersion = 0 - // Legacy V1 API. - Agent_API_VERSION_V1 Agent_ApiVersion = 1 - // V2 API. - Agent_API_VERSION_V2 Agent_ApiVersion = 2 - // V2beta1 API. - Agent_API_VERSION_V2_BETA_1 Agent_ApiVersion = 3 -) - -var Agent_ApiVersion_name = map[int32]string{ - 0: "API_VERSION_UNSPECIFIED", - 1: "API_VERSION_V1", - 2: "API_VERSION_V2", - 3: "API_VERSION_V2_BETA_1", -} - -var Agent_ApiVersion_value = map[string]int32{ - "API_VERSION_UNSPECIFIED": 0, - "API_VERSION_V1": 1, - "API_VERSION_V2": 2, - "API_VERSION_V2_BETA_1": 3, -} - -func (x Agent_ApiVersion) String() string { - return proto.EnumName(Agent_ApiVersion_name, int32(x)) -} - -func (Agent_ApiVersion) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_be44838675479699, []int{0, 1} -} - -// Represents the agent tier. -type Agent_Tier int32 - -const ( - // Not specified. This value should never be used. - Agent_TIER_UNSPECIFIED Agent_Tier = 0 - // Standard tier. - Agent_TIER_STANDARD Agent_Tier = 1 - // Enterprise tier (Essentials). - Agent_TIER_ENTERPRISE Agent_Tier = 2 - // Enterprise tier (Plus). - Agent_TIER_ENTERPRISE_PLUS Agent_Tier = 3 -) - -var Agent_Tier_name = map[int32]string{ - 0: "TIER_UNSPECIFIED", - 1: "TIER_STANDARD", - 2: "TIER_ENTERPRISE", - 3: "TIER_ENTERPRISE_PLUS", -} - -var Agent_Tier_value = map[string]int32{ - "TIER_UNSPECIFIED": 0, - "TIER_STANDARD": 1, - "TIER_ENTERPRISE": 2, - "TIER_ENTERPRISE_PLUS": 3, -} - -func (x Agent_Tier) String() string { - return proto.EnumName(Agent_Tier_name, int32(x)) -} - -func (Agent_Tier) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_be44838675479699, []int{0, 2} -} - -// Represents a conversational agent. -type Agent struct { - // Required. The project of this agent. - // Format: `projects/`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The name of this agent. - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Required. The default language of the agent as a language tag. See - // [Language - // Support](https://cloud.google.com/dialogflow/docs/reference/language) - // for a list of the currently supported language codes. This field cannot be - // set by the `Update` method. - DefaultLanguageCode string `protobuf:"bytes,3,opt,name=default_language_code,json=defaultLanguageCode,proto3" json:"default_language_code,omitempty"` - // Optional. The list of all languages supported by this agent (except for the - // `default_language_code`). - SupportedLanguageCodes []string `protobuf:"bytes,4,rep,name=supported_language_codes,json=supportedLanguageCodes,proto3" json:"supported_language_codes,omitempty"` - // Required. The time zone of this agent from the - // [time zone database](https://www.iana.org/time-zones), e.g., - // America/New_York, Europe/Paris. - TimeZone string `protobuf:"bytes,5,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"` - // Optional. The description of this agent. - // The maximum length is 500 characters. If exceeded, the request is rejected. - Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` - // Optional. The URI of the agent's avatar. - // Avatars are used throughout the Dialogflow console and in the self-hosted - // [Web - // Demo](https://cloud.google.com/dialogflow/docs/integrations/web-demo) - // integration. - AvatarUri string `protobuf:"bytes,7,opt,name=avatar_uri,json=avatarUri,proto3" json:"avatar_uri,omitempty"` - // Optional. Determines whether this agent should log conversation queries. - EnableLogging bool `protobuf:"varint,8,opt,name=enable_logging,json=enableLogging,proto3" json:"enable_logging,omitempty"` - // Optional. Determines how intents are detected from user queries. - MatchMode Agent_MatchMode `protobuf:"varint,9,opt,name=match_mode,json=matchMode,proto3,enum=google.cloud.dialogflow.v2beta1.Agent_MatchMode" json:"match_mode,omitempty"` - // Optional. To filter out false positive results and still get variety in - // matched natural language inputs for your agent, you can tune the machine - // learning classification threshold. If the returned score value is less than - // the threshold value, then a fallback intent will be triggered or, if there - // are no fallback intents defined, no intent will be triggered. The score - // values range from 0.0 (completely uncertain) to 1.0 (completely certain). - // If set to 0.0, the default of 0.3 is used. - ClassificationThreshold float32 `protobuf:"fixed32,10,opt,name=classification_threshold,json=classificationThreshold,proto3" json:"classification_threshold,omitempty"` - // Optional. API version displayed in Dialogflow console. If not specified, - // V2 API is assumed. Clients are free to query different service endpoints - // for different API versions. However, bots connectors and webhook calls will - // follow the specified API version. - ApiVersion Agent_ApiVersion `protobuf:"varint,14,opt,name=api_version,json=apiVersion,proto3,enum=google.cloud.dialogflow.v2beta1.Agent_ApiVersion" json:"api_version,omitempty"` - // Optional. The agent tier. If not specified, TIER_STANDARD is assumed. - Tier Agent_Tier `protobuf:"varint,15,opt,name=tier,proto3,enum=google.cloud.dialogflow.v2beta1.Agent_Tier" json:"tier,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_be44838675479699, []int{0} -} - -func (m *Agent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Agent.Unmarshal(m, b) -} -func (m *Agent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Agent.Marshal(b, m, deterministic) -} -func (m *Agent) XXX_Merge(src proto.Message) { - xxx_messageInfo_Agent.Merge(m, src) -} -func (m *Agent) XXX_Size() int { - return xxx_messageInfo_Agent.Size(m) -} -func (m *Agent) XXX_DiscardUnknown() { - xxx_messageInfo_Agent.DiscardUnknown(m) -} - -var xxx_messageInfo_Agent proto.InternalMessageInfo - -func (m *Agent) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *Agent) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *Agent) GetDefaultLanguageCode() string { - if m != nil { - return m.DefaultLanguageCode - } - return "" -} - -func (m *Agent) GetSupportedLanguageCodes() []string { - if m != nil { - return m.SupportedLanguageCodes - } - return nil -} - -func (m *Agent) GetTimeZone() string { - if m != nil { - return m.TimeZone - } - return "" -} - -func (m *Agent) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *Agent) GetAvatarUri() string { - if m != nil { - return m.AvatarUri - } - return "" -} - -func (m *Agent) GetEnableLogging() bool { - if m != nil { - return m.EnableLogging - } - return false -} - -func (m *Agent) GetMatchMode() Agent_MatchMode { - if m != nil { - return m.MatchMode - } - return Agent_MATCH_MODE_UNSPECIFIED -} - -func (m *Agent) GetClassificationThreshold() float32 { - if m != nil { - return m.ClassificationThreshold - } - return 0 -} - -func (m *Agent) GetApiVersion() Agent_ApiVersion { - if m != nil { - return m.ApiVersion - } - return Agent_API_VERSION_UNSPECIFIED -} - -func (m *Agent) GetTier() Agent_Tier { - if m != nil { - return m.Tier - } - return Agent_TIER_UNSPECIFIED -} - -// The request message for [Agents.GetAgent][google.cloud.dialogflow.v2beta1.Agents.GetAgent]. -type GetAgentRequest struct { - // Required. The project that the agent to fetch is associated with. - // 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 *GetAgentRequest) Reset() { *m = GetAgentRequest{} } -func (m *GetAgentRequest) String() string { return proto.CompactTextString(m) } -func (*GetAgentRequest) ProtoMessage() {} -func (*GetAgentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_be44838675479699, []int{1} -} - -func (m *GetAgentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAgentRequest.Unmarshal(m, b) -} -func (m *GetAgentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAgentRequest.Marshal(b, m, deterministic) -} -func (m *GetAgentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAgentRequest.Merge(m, src) -} -func (m *GetAgentRequest) XXX_Size() int { - return xxx_messageInfo_GetAgentRequest.Size(m) -} -func (m *GetAgentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAgentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetAgentRequest proto.InternalMessageInfo - -func (m *GetAgentRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -// The request message for [Agents.SetAgent][google.cloud.dialogflow.v2beta1.Agents.SetAgent]. -type SetAgentRequest struct { - // Required. The agent to update. - Agent *Agent `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"` - // Optional. The mask to control which fields get 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 *SetAgentRequest) Reset() { *m = SetAgentRequest{} } -func (m *SetAgentRequest) String() string { return proto.CompactTextString(m) } -func (*SetAgentRequest) ProtoMessage() {} -func (*SetAgentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_be44838675479699, []int{2} -} - -func (m *SetAgentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetAgentRequest.Unmarshal(m, b) -} -func (m *SetAgentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetAgentRequest.Marshal(b, m, deterministic) -} -func (m *SetAgentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetAgentRequest.Merge(m, src) -} -func (m *SetAgentRequest) XXX_Size() int { - return xxx_messageInfo_SetAgentRequest.Size(m) -} -func (m *SetAgentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetAgentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetAgentRequest proto.InternalMessageInfo - -func (m *SetAgentRequest) GetAgent() *Agent { - if m != nil { - return m.Agent - } - return nil -} - -func (m *SetAgentRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// The request message for [Agents.DeleteAgent][google.cloud.dialogflow.v2beta1.Agents.DeleteAgent]. -type DeleteAgentRequest struct { - // Required. The project that the agent to delete is associated with. - // 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 *DeleteAgentRequest) Reset() { *m = DeleteAgentRequest{} } -func (m *DeleteAgentRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteAgentRequest) ProtoMessage() {} -func (*DeleteAgentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_be44838675479699, []int{3} -} - -func (m *DeleteAgentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteAgentRequest.Unmarshal(m, b) -} -func (m *DeleteAgentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteAgentRequest.Marshal(b, m, deterministic) -} -func (m *DeleteAgentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteAgentRequest.Merge(m, src) -} -func (m *DeleteAgentRequest) XXX_Size() int { - return xxx_messageInfo_DeleteAgentRequest.Size(m) -} -func (m *DeleteAgentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteAgentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteAgentRequest proto.InternalMessageInfo - -func (m *DeleteAgentRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -// The request message for [Agents.SearchAgents][google.cloud.dialogflow.v2beta1.Agents.SearchAgents]. -type SearchAgentsRequest struct { - // Required. The project to list agents from. - // Format: `projects/`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. The maximum number of items to return in a single page. By - // default 100 and at most 1000. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional. The next_page_token value returned from a previous list request. - 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 *SearchAgentsRequest) Reset() { *m = SearchAgentsRequest{} } -func (m *SearchAgentsRequest) String() string { return proto.CompactTextString(m) } -func (*SearchAgentsRequest) ProtoMessage() {} -func (*SearchAgentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_be44838675479699, []int{4} -} - -func (m *SearchAgentsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchAgentsRequest.Unmarshal(m, b) -} -func (m *SearchAgentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchAgentsRequest.Marshal(b, m, deterministic) -} -func (m *SearchAgentsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchAgentsRequest.Merge(m, src) -} -func (m *SearchAgentsRequest) XXX_Size() int { - return xxx_messageInfo_SearchAgentsRequest.Size(m) -} -func (m *SearchAgentsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SearchAgentsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchAgentsRequest proto.InternalMessageInfo - -func (m *SearchAgentsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *SearchAgentsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *SearchAgentsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// The response message for [Agents.SearchAgents][google.cloud.dialogflow.v2beta1.Agents.SearchAgents]. -type SearchAgentsResponse struct { - // The list of agents. There will be a maximum number of items returned based - // on the page_size field in the request. - Agents []*Agent `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,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 *SearchAgentsResponse) Reset() { *m = SearchAgentsResponse{} } -func (m *SearchAgentsResponse) String() string { return proto.CompactTextString(m) } -func (*SearchAgentsResponse) ProtoMessage() {} -func (*SearchAgentsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_be44838675479699, []int{5} -} - -func (m *SearchAgentsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchAgentsResponse.Unmarshal(m, b) -} -func (m *SearchAgentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchAgentsResponse.Marshal(b, m, deterministic) -} -func (m *SearchAgentsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchAgentsResponse.Merge(m, src) -} -func (m *SearchAgentsResponse) XXX_Size() int { - return xxx_messageInfo_SearchAgentsResponse.Size(m) -} -func (m *SearchAgentsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SearchAgentsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchAgentsResponse proto.InternalMessageInfo - -func (m *SearchAgentsResponse) GetAgents() []*Agent { - if m != nil { - return m.Agents - } - return nil -} - -func (m *SearchAgentsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The request message for [Agents.TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent]. -type TrainAgentRequest struct { - // Required. The project that the agent to train is associated with. - // 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 *TrainAgentRequest) Reset() { *m = TrainAgentRequest{} } -func (m *TrainAgentRequest) String() string { return proto.CompactTextString(m) } -func (*TrainAgentRequest) ProtoMessage() {} -func (*TrainAgentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_be44838675479699, []int{6} -} - -func (m *TrainAgentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TrainAgentRequest.Unmarshal(m, b) -} -func (m *TrainAgentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TrainAgentRequest.Marshal(b, m, deterministic) -} -func (m *TrainAgentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_TrainAgentRequest.Merge(m, src) -} -func (m *TrainAgentRequest) XXX_Size() int { - return xxx_messageInfo_TrainAgentRequest.Size(m) -} -func (m *TrainAgentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_TrainAgentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_TrainAgentRequest proto.InternalMessageInfo - -func (m *TrainAgentRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -// The request message for [Agents.ExportAgent][google.cloud.dialogflow.v2beta1.Agents.ExportAgent]. -type ExportAgentRequest struct { - // Required. The project that the agent to export is associated with. - // Format: `projects/`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. The - // [Google Cloud Storage](https://cloud.google.com/storage/docs/) - // URI to export the agent to. - // The format of this URI must be `gs:///`. - // If left unspecified, the serialized agent is returned inline. - AgentUri string `protobuf:"bytes,2,opt,name=agent_uri,json=agentUri,proto3" json:"agent_uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_be44838675479699, []int{7} -} - -func (m *ExportAgentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExportAgentRequest.Unmarshal(m, b) -} -func (m *ExportAgentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExportAgentRequest.Marshal(b, m, deterministic) -} -func (m *ExportAgentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportAgentRequest.Merge(m, src) -} -func (m *ExportAgentRequest) XXX_Size() int { - return xxx_messageInfo_ExportAgentRequest.Size(m) -} -func (m *ExportAgentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ExportAgentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ExportAgentRequest proto.InternalMessageInfo - -func (m *ExportAgentRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ExportAgentRequest) GetAgentUri() string { - if m != nil { - return m.AgentUri - } - return "" -} - -// The response message for [Agents.ExportAgent][google.cloud.dialogflow.v2beta1.Agents.ExportAgent]. -type ExportAgentResponse struct { - // The exported agent. - // - // Types that are valid to be assigned to Agent: - // *ExportAgentResponse_AgentUri - // *ExportAgentResponse_AgentContent - Agent isExportAgentResponse_Agent `protobuf_oneof:"agent"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_be44838675479699, []int{8} -} - -func (m *ExportAgentResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExportAgentResponse.Unmarshal(m, b) -} -func (m *ExportAgentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExportAgentResponse.Marshal(b, m, deterministic) -} -func (m *ExportAgentResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportAgentResponse.Merge(m, src) -} -func (m *ExportAgentResponse) XXX_Size() int { - return xxx_messageInfo_ExportAgentResponse.Size(m) -} -func (m *ExportAgentResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ExportAgentResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ExportAgentResponse proto.InternalMessageInfo - -type isExportAgentResponse_Agent interface { - isExportAgentResponse_Agent() -} - -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_AgentContent) isExportAgentResponse_Agent() {} - -func (m *ExportAgentResponse) GetAgent() isExportAgentResponse_Agent { - if m != nil { - return m.Agent - } - return nil -} - -func (m *ExportAgentResponse) GetAgentUri() string { - if x, ok := m.GetAgent().(*ExportAgentResponse_AgentUri); ok { - return x.AgentUri - } - return "" -} - -func (m *ExportAgentResponse) GetAgentContent() []byte { - if x, ok := m.GetAgent().(*ExportAgentResponse_AgentContent); ok { - return x.AgentContent - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ExportAgentResponse) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ExportAgentResponse_AgentUri)(nil), - (*ExportAgentResponse_AgentContent)(nil), - } -} - -// The request message for [Agents.ImportAgent][google.cloud.dialogflow.v2beta1.Agents.ImportAgent]. -type ImportAgentRequest struct { - // Required. The project that the agent to import is associated with. - // Format: `projects/`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The agent to import. - // - // Types that are valid to be assigned to Agent: - // *ImportAgentRequest_AgentUri - // *ImportAgentRequest_AgentContent - Agent isImportAgentRequest_Agent `protobuf_oneof:"agent"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_be44838675479699, []int{9} -} - -func (m *ImportAgentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImportAgentRequest.Unmarshal(m, b) -} -func (m *ImportAgentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImportAgentRequest.Marshal(b, m, deterministic) -} -func (m *ImportAgentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportAgentRequest.Merge(m, src) -} -func (m *ImportAgentRequest) XXX_Size() int { - return xxx_messageInfo_ImportAgentRequest.Size(m) -} -func (m *ImportAgentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ImportAgentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ImportAgentRequest proto.InternalMessageInfo - -func (m *ImportAgentRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -type isImportAgentRequest_Agent interface { - isImportAgentRequest_Agent() -} - -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_AgentContent) isImportAgentRequest_Agent() {} - -func (m *ImportAgentRequest) GetAgent() isImportAgentRequest_Agent { - if m != nil { - return m.Agent - } - return nil -} - -func (m *ImportAgentRequest) GetAgentUri() string { - if x, ok := m.GetAgent().(*ImportAgentRequest_AgentUri); ok { - return x.AgentUri - } - return "" -} - -func (m *ImportAgentRequest) GetAgentContent() []byte { - if x, ok := m.GetAgent().(*ImportAgentRequest_AgentContent); ok { - return x.AgentContent - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ImportAgentRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ImportAgentRequest_AgentUri)(nil), - (*ImportAgentRequest_AgentContent)(nil), - } -} - -// The request message for [Agents.RestoreAgent][google.cloud.dialogflow.v2beta1.Agents.RestoreAgent]. -type RestoreAgentRequest struct { - // Required. The project that the agent to restore is associated with. - // Format: `projects/`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The agent to restore. - // - // Types that are valid to be assigned to Agent: - // *RestoreAgentRequest_AgentUri - // *RestoreAgentRequest_AgentContent - Agent isRestoreAgentRequest_Agent `protobuf_oneof:"agent"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_be44838675479699, []int{10} -} - -func (m *RestoreAgentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RestoreAgentRequest.Unmarshal(m, b) -} -func (m *RestoreAgentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RestoreAgentRequest.Marshal(b, m, deterministic) -} -func (m *RestoreAgentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RestoreAgentRequest.Merge(m, src) -} -func (m *RestoreAgentRequest) XXX_Size() int { - return xxx_messageInfo_RestoreAgentRequest.Size(m) -} -func (m *RestoreAgentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RestoreAgentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_RestoreAgentRequest proto.InternalMessageInfo - -func (m *RestoreAgentRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -type isRestoreAgentRequest_Agent interface { - isRestoreAgentRequest_Agent() -} - -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_AgentContent) isRestoreAgentRequest_Agent() {} - -func (m *RestoreAgentRequest) GetAgent() isRestoreAgentRequest_Agent { - if m != nil { - return m.Agent - } - return nil -} - -func (m *RestoreAgentRequest) GetAgentUri() string { - if x, ok := m.GetAgent().(*RestoreAgentRequest_AgentUri); ok { - return x.AgentUri - } - return "" -} - -func (m *RestoreAgentRequest) GetAgentContent() []byte { - if x, ok := m.GetAgent().(*RestoreAgentRequest_AgentContent); ok { - return x.AgentContent - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*RestoreAgentRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*RestoreAgentRequest_AgentUri)(nil), - (*RestoreAgentRequest_AgentContent)(nil), - } -} - -// The request message for [Agents.GetValidationResult][google.cloud.dialogflow.v2beta1.Agents.GetValidationResult]. -type GetValidationResultRequest struct { - // Required. The project that the agent is associated with. - // Format: `projects/`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. The language for which you want a validation result. If not - // specified, the agent's default language is used. [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - 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 *GetValidationResultRequest) Reset() { *m = GetValidationResultRequest{} } -func (m *GetValidationResultRequest) String() string { return proto.CompactTextString(m) } -func (*GetValidationResultRequest) ProtoMessage() {} -func (*GetValidationResultRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_be44838675479699, []int{11} -} - -func (m *GetValidationResultRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetValidationResultRequest.Unmarshal(m, b) -} -func (m *GetValidationResultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetValidationResultRequest.Marshal(b, m, deterministic) -} -func (m *GetValidationResultRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetValidationResultRequest.Merge(m, src) -} -func (m *GetValidationResultRequest) XXX_Size() int { - return xxx_messageInfo_GetValidationResultRequest.Size(m) -} -func (m *GetValidationResultRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetValidationResultRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetValidationResultRequest proto.InternalMessageInfo - -func (m *GetValidationResultRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *GetValidationResultRequest) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func init() { - proto.RegisterEnum("google.cloud.dialogflow.v2beta1.Agent_MatchMode", Agent_MatchMode_name, Agent_MatchMode_value) - proto.RegisterEnum("google.cloud.dialogflow.v2beta1.Agent_ApiVersion", Agent_ApiVersion_name, Agent_ApiVersion_value) - proto.RegisterEnum("google.cloud.dialogflow.v2beta1.Agent_Tier", Agent_Tier_name, Agent_Tier_value) - proto.RegisterType((*Agent)(nil), "google.cloud.dialogflow.v2beta1.Agent") - proto.RegisterType((*GetAgentRequest)(nil), "google.cloud.dialogflow.v2beta1.GetAgentRequest") - proto.RegisterType((*SetAgentRequest)(nil), "google.cloud.dialogflow.v2beta1.SetAgentRequest") - proto.RegisterType((*DeleteAgentRequest)(nil), "google.cloud.dialogflow.v2beta1.DeleteAgentRequest") - proto.RegisterType((*SearchAgentsRequest)(nil), "google.cloud.dialogflow.v2beta1.SearchAgentsRequest") - proto.RegisterType((*SearchAgentsResponse)(nil), "google.cloud.dialogflow.v2beta1.SearchAgentsResponse") - proto.RegisterType((*TrainAgentRequest)(nil), "google.cloud.dialogflow.v2beta1.TrainAgentRequest") - proto.RegisterType((*ExportAgentRequest)(nil), "google.cloud.dialogflow.v2beta1.ExportAgentRequest") - proto.RegisterType((*ExportAgentResponse)(nil), "google.cloud.dialogflow.v2beta1.ExportAgentResponse") - proto.RegisterType((*ImportAgentRequest)(nil), "google.cloud.dialogflow.v2beta1.ImportAgentRequest") - proto.RegisterType((*RestoreAgentRequest)(nil), "google.cloud.dialogflow.v2beta1.RestoreAgentRequest") - proto.RegisterType((*GetValidationResultRequest)(nil), "google.cloud.dialogflow.v2beta1.GetValidationResultRequest") -} - -func init() { - proto.RegisterFile("google/cloud/dialogflow/v2beta1/agent.proto", fileDescriptor_be44838675479699) -} - -var fileDescriptor_be44838675479699 = []byte{ - // 1468 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0xcd, 0x73, 0xdb, 0x44, - 0x14, 0xaf, 0x9c, 0x26, 0x4d, 0x9e, 0xf3, 0xe1, 0x6e, 0xda, 0x54, 0x75, 0xc9, 0xc4, 0xa8, 0xd3, - 0x4e, 0x9a, 0xb4, 0x56, 0xe3, 0xb6, 0x40, 0x13, 0x0a, 0xe3, 0x24, 0x6e, 0xe3, 0x99, 0x7c, 0x8d, - 0xec, 0x64, 0x26, 0x19, 0x06, 0xcd, 0xc6, 0xda, 0xc8, 0x6a, 0x25, 0xad, 0x90, 0xd6, 0xe9, 0x47, - 0x80, 0x03, 0x67, 0x6e, 0xfc, 0x07, 0x9c, 0x18, 0x0e, 0x70, 0xe5, 0xcc, 0x91, 0x0b, 0x33, 0xf4, - 0xc0, 0x85, 0x23, 0x27, 0xf8, 0x07, 0x38, 0x32, 0xda, 0x95, 0x6d, 0x25, 0x4e, 0x2a, 0xa5, 0xc3, - 0x0c, 0x37, 0xf9, 0xbd, 0xf7, 0x7b, 0xef, 0xfd, 0x56, 0xcf, 0xbf, 0xb7, 0x36, 0xcc, 0x9a, 0x94, - 0x9a, 0x36, 0x51, 0x1b, 0x36, 0x6d, 0x19, 0xaa, 0x61, 0x61, 0x9b, 0x9a, 0xfb, 0x36, 0x7d, 0xae, - 0x1e, 0x94, 0xf6, 0x08, 0xc3, 0x73, 0x2a, 0x36, 0x89, 0xcb, 0x8a, 0x9e, 0x4f, 0x19, 0x45, 0x53, - 0x22, 0xb8, 0xc8, 0x83, 0x8b, 0xdd, 0xe0, 0x62, 0x14, 0x9c, 0x7f, 0x27, 0xca, 0x86, 0x3d, 0x4b, - 0xc5, 0xae, 0x4b, 0x19, 0x66, 0x16, 0x75, 0x03, 0x01, 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 0xee, 0xb6, 0xb0, 0x2d, 0x40, 0x7b, 0x03, 0x3c, 0xff, 0xbd, 0x7f, 0x03, - 0x00, 0x00, 0xff, 0xff, 0x7a, 0x24, 0x1a, 0xed, 0xb8, 0x11, 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 - -// AgentsClient is the client API for Agents service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AgentsClient interface { - // Retrieves the specified agent. - GetAgent(ctx context.Context, in *GetAgentRequest, opts ...grpc.CallOption) (*Agent, error) - // Creates/updates the specified agent. - SetAgent(ctx context.Context, in *SetAgentRequest, opts ...grpc.CallOption) (*Agent, error) - // Deletes the specified agent. - DeleteAgent(ctx context.Context, in *DeleteAgentRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Returns the list of agents. - // - // Since there is at most one conversational agent per project, this method is - // useful primarily for listing all agents across projects the caller has - // access to. One can achieve that with a wildcard project collection id "-". - // Refer to [List - // Sub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-collections). - SearchAgents(ctx context.Context, in *SearchAgentsRequest, opts ...grpc.CallOption) (*SearchAgentsResponse, error) - // Trains the specified agent. - // - // - // Operation - TrainAgent(ctx context.Context, in *TrainAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Exports the specified agent to a ZIP file. - // - // - // Operation - ExportAgent(ctx context.Context, in *ExportAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Imports the specified agent from a ZIP file. - // - // Uploads new intents and entity types without deleting the existing ones. - // Intents and entity types with the same name are replaced with the new - // versions from ImportAgentRequest. - // - // - // Operation - ImportAgent(ctx context.Context, in *ImportAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Restores the specified agent from a ZIP file. - // - // Replaces the current agent version with a new one. All the intents and - // entity types in the older version are deleted. - // - // - // Operation - RestoreAgent(ctx context.Context, in *RestoreAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Gets agent validation result. Agent validation is performed during - // training time and is updated automatically when training is completed. - GetValidationResult(ctx context.Context, in *GetValidationResultRequest, opts ...grpc.CallOption) (*ValidationResult, error) -} - -type agentsClient struct { - cc *grpc.ClientConn -} - -func NewAgentsClient(cc *grpc.ClientConn) AgentsClient { - return &agentsClient{cc} -} - -func (c *agentsClient) GetAgent(ctx context.Context, in *GetAgentRequest, opts ...grpc.CallOption) (*Agent, error) { - out := new(Agent) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Agents/GetAgent", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *agentsClient) SetAgent(ctx context.Context, in *SetAgentRequest, opts ...grpc.CallOption) (*Agent, error) { - out := new(Agent) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Agents/SetAgent", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *agentsClient) DeleteAgent(ctx context.Context, in *DeleteAgentRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Agents/DeleteAgent", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *agentsClient) SearchAgents(ctx context.Context, in *SearchAgentsRequest, opts ...grpc.CallOption) (*SearchAgentsResponse, error) { - out := new(SearchAgentsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Agents/SearchAgents", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *agentsClient) TrainAgent(ctx context.Context, in *TrainAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Agents/TrainAgent", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *agentsClient) ExportAgent(ctx context.Context, in *ExportAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Agents/ExportAgent", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *agentsClient) ImportAgent(ctx context.Context, in *ImportAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Agents/ImportAgent", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *agentsClient) RestoreAgent(ctx context.Context, in *RestoreAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Agents/RestoreAgent", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *agentsClient) GetValidationResult(ctx context.Context, in *GetValidationResultRequest, opts ...grpc.CallOption) (*ValidationResult, error) { - out := new(ValidationResult) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Agents/GetValidationResult", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AgentsServer is the server API for Agents service. -type AgentsServer interface { - // Retrieves the specified agent. - GetAgent(context.Context, *GetAgentRequest) (*Agent, error) - // Creates/updates the specified agent. - SetAgent(context.Context, *SetAgentRequest) (*Agent, error) - // Deletes the specified agent. - DeleteAgent(context.Context, *DeleteAgentRequest) (*empty.Empty, error) - // Returns the list of agents. - // - // Since there is at most one conversational agent per project, this method is - // useful primarily for listing all agents across projects the caller has - // access to. One can achieve that with a wildcard project collection id "-". - // Refer to [List - // Sub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-collections). - SearchAgents(context.Context, *SearchAgentsRequest) (*SearchAgentsResponse, error) - // Trains the specified agent. - // - // - // Operation - TrainAgent(context.Context, *TrainAgentRequest) (*longrunning.Operation, error) - // Exports the specified agent to a ZIP file. - // - // - // Operation - ExportAgent(context.Context, *ExportAgentRequest) (*longrunning.Operation, error) - // Imports the specified agent from a ZIP file. - // - // Uploads new intents and entity types without deleting the existing ones. - // Intents and entity types with the same name are replaced with the new - // versions from ImportAgentRequest. - // - // - // Operation - ImportAgent(context.Context, *ImportAgentRequest) (*longrunning.Operation, error) - // Restores the specified agent from a ZIP file. - // - // Replaces the current agent version with a new one. All the intents and - // entity types in the older version are deleted. - // - // - // Operation - RestoreAgent(context.Context, *RestoreAgentRequest) (*longrunning.Operation, error) - // Gets agent validation result. Agent validation is performed during - // training time and is updated automatically when training is completed. - GetValidationResult(context.Context, *GetValidationResultRequest) (*ValidationResult, error) -} - -// UnimplementedAgentsServer can be embedded to have forward compatible implementations. -type UnimplementedAgentsServer struct { -} - -func (*UnimplementedAgentsServer) GetAgent(ctx context.Context, req *GetAgentRequest) (*Agent, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAgent not implemented") -} -func (*UnimplementedAgentsServer) SetAgent(ctx context.Context, req *SetAgentRequest) (*Agent, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetAgent not implemented") -} -func (*UnimplementedAgentsServer) DeleteAgent(ctx context.Context, req *DeleteAgentRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteAgent not implemented") -} -func (*UnimplementedAgentsServer) SearchAgents(ctx context.Context, req *SearchAgentsRequest) (*SearchAgentsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchAgents not implemented") -} -func (*UnimplementedAgentsServer) TrainAgent(ctx context.Context, req *TrainAgentRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method TrainAgent not implemented") -} -func (*UnimplementedAgentsServer) ExportAgent(ctx context.Context, req *ExportAgentRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ExportAgent not implemented") -} -func (*UnimplementedAgentsServer) ImportAgent(ctx context.Context, req *ImportAgentRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ImportAgent not implemented") -} -func (*UnimplementedAgentsServer) RestoreAgent(ctx context.Context, req *RestoreAgentRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method RestoreAgent not implemented") -} -func (*UnimplementedAgentsServer) GetValidationResult(ctx context.Context, req *GetValidationResultRequest) (*ValidationResult, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetValidationResult not implemented") -} - -func RegisterAgentsServer(s *grpc.Server, srv AgentsServer) { - s.RegisterService(&_Agents_serviceDesc, srv) -} - -func _Agents_GetAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAgentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AgentsServer).GetAgent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.Agents/GetAgent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AgentsServer).GetAgent(ctx, req.(*GetAgentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Agents_SetAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetAgentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AgentsServer).SetAgent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.Agents/SetAgent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AgentsServer).SetAgent(ctx, req.(*SetAgentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Agents_DeleteAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteAgentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AgentsServer).DeleteAgent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.Agents/DeleteAgent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AgentsServer).DeleteAgent(ctx, req.(*DeleteAgentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Agents_SearchAgents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchAgentsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AgentsServer).SearchAgents(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.Agents/SearchAgents", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AgentsServer).SearchAgents(ctx, req.(*SearchAgentsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Agents_TrainAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TrainAgentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AgentsServer).TrainAgent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.Agents/TrainAgent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AgentsServer).TrainAgent(ctx, req.(*TrainAgentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Agents_ExportAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ExportAgentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AgentsServer).ExportAgent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.Agents/ExportAgent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AgentsServer).ExportAgent(ctx, req.(*ExportAgentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Agents_ImportAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ImportAgentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AgentsServer).ImportAgent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.Agents/ImportAgent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AgentsServer).ImportAgent(ctx, req.(*ImportAgentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Agents_RestoreAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RestoreAgentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AgentsServer).RestoreAgent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.Agents/RestoreAgent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AgentsServer).RestoreAgent(ctx, req.(*RestoreAgentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Agents_GetValidationResult_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetValidationResultRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AgentsServer).GetValidationResult(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.Agents/GetValidationResult", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AgentsServer).GetValidationResult(ctx, req.(*GetValidationResultRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Agents_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.dialogflow.v2beta1.Agents", - HandlerType: (*AgentsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetAgent", - Handler: _Agents_GetAgent_Handler, - }, - { - MethodName: "SetAgent", - Handler: _Agents_SetAgent_Handler, - }, - { - MethodName: "DeleteAgent", - Handler: _Agents_DeleteAgent_Handler, - }, - { - MethodName: "SearchAgents", - Handler: _Agents_SearchAgents_Handler, - }, - { - MethodName: "TrainAgent", - Handler: _Agents_TrainAgent_Handler, - }, - { - MethodName: "ExportAgent", - Handler: _Agents_ExportAgent_Handler, - }, - { - MethodName: "ImportAgent", - Handler: _Agents_ImportAgent_Handler, - }, - { - MethodName: "RestoreAgent", - Handler: _Agents_RestoreAgent_Handler, - }, - { - MethodName: "GetValidationResult", - Handler: _Agents_GetValidationResult_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/dialogflow/v2beta1/agent.proto", -} 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 deleted file mode 100644 index c550ff22..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/audio_config.pb.go +++ /dev/null @@ -1,840 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/dialogflow/v2beta1/audio_config.proto - -package dialogflow - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Audio encoding of the audio content sent in the conversational query request. -// Refer to the -// [Cloud Speech API -// documentation](https://cloud.google.com/speech-to-text/docs/basics) for more -// details. -type AudioEncoding int32 - -const ( - // Not specified. - AudioEncoding_AUDIO_ENCODING_UNSPECIFIED AudioEncoding = 0 - // Uncompressed 16-bit signed little-endian samples (Linear PCM). - AudioEncoding_AUDIO_ENCODING_LINEAR_16 AudioEncoding = 1 - // [`FLAC`](https://xiph.org/flac/documentation.html) (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 encoding supports 16-bit and - // 24-bit samples, however, not all fields in `STREAMINFO` are supported. - AudioEncoding_AUDIO_ENCODING_FLAC AudioEncoding = 2 - // 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. - AudioEncoding_AUDIO_ENCODING_MULAW AudioEncoding = 3 - // Adaptive Multi-Rate Narrowband codec. `sample_rate_hertz` must be 8000. - AudioEncoding_AUDIO_ENCODING_AMR AudioEncoding = 4 - // Adaptive Multi-Rate Wideband codec. `sample_rate_hertz` must be 16000. - AudioEncoding_AUDIO_ENCODING_AMR_WB AudioEncoding = 5 - // Opus encoded audio frames in Ogg container - // ([OggOpus](https://wiki.xiph.org/OggOpus)). - // `sample_rate_hertz` must be 16000. - AudioEncoding_AUDIO_ENCODING_OGG_OPUS 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 - // Speex encoding. The [Speex](https://speex.org/) encoding supported by - // Dialogflow API has a header byte in each block, as in MIME type - // `audio/x-speex-with-header-byte`. - // It is a variant of the RTP Speex encoding defined in - // [RFC 5574](https://tools.ietf.org/html/rfc5574). - // The stream is a sequence of blocks, one block per RTP packet. Each block - // starts with a byte containing the length of the block, in bytes, followed - // by one or more frames of Speex data, padded to an integral number of - // bytes (octets) as specified in RFC 5574. In other words, each RTP header - // is replaced with a single byte containing the block length. Only Speex - // wideband is supported. `sample_rate_hertz` must be 16000. - AudioEncoding_AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE AudioEncoding = 7 -) - -var AudioEncoding_name = map[int32]string{ - 0: "AUDIO_ENCODING_UNSPECIFIED", - 1: "AUDIO_ENCODING_LINEAR_16", - 2: "AUDIO_ENCODING_FLAC", - 3: "AUDIO_ENCODING_MULAW", - 4: "AUDIO_ENCODING_AMR", - 5: "AUDIO_ENCODING_AMR_WB", - 6: "AUDIO_ENCODING_OGG_OPUS", - 7: "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE", -} - -var AudioEncoding_value = map[string]int32{ - "AUDIO_ENCODING_UNSPECIFIED": 0, - "AUDIO_ENCODING_LINEAR_16": 1, - "AUDIO_ENCODING_FLAC": 2, - "AUDIO_ENCODING_MULAW": 3, - "AUDIO_ENCODING_AMR": 4, - "AUDIO_ENCODING_AMR_WB": 5, - "AUDIO_ENCODING_OGG_OPUS": 6, - "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE": 7, -} - -func (x AudioEncoding) String() string { - return proto.EnumName(AudioEncoding_name, int32(x)) -} - -func (AudioEncoding) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_80617ff5f6b0e1c6, []int{0} -} - -// Variant of the specified [Speech model][google.cloud.dialogflow.v2beta1.InputAudioConfig.model] to use. -// -// See the [Cloud Speech -// documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) -// for which models have different variants. For example, the "phone_call" model -// has both a standard and an enhanced variant. When you use an enhanced model, -// you will generally receive higher quality results than for a standard model. -type SpeechModelVariant int32 - -const ( - // No model variant specified. In this case Dialogflow defaults to - // USE_BEST_AVAILABLE. - SpeechModelVariant_SPEECH_MODEL_VARIANT_UNSPECIFIED SpeechModelVariant = 0 - // Use the best available variant of the [Speech - // model][InputAudioConfig.model] that the caller is eligible for. - // - // Please see the [Dialogflow - // docs](https://cloud.google.com/dialogflow/docs/data-logging) for - // how to make your project eligible for enhanced models. - SpeechModelVariant_USE_BEST_AVAILABLE SpeechModelVariant = 1 - // Use standard model variant even if an enhanced model is available. See the - // [Cloud Speech - // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) - // for details about enhanced models. - SpeechModelVariant_USE_STANDARD SpeechModelVariant = 2 - // Use an enhanced model variant: - // - // * If an enhanced variant does not exist for the given - // [model][google.cloud.dialogflow.v2beta1.InputAudioConfig.model] and request language, Dialogflow falls - // back to the standard variant. - // - // The [Cloud Speech - // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) - // describes which models have enhanced variants. - // - // * If the API caller isn't eligible for enhanced models, Dialogflow returns - // an error. Please see the [Dialogflow - // docs](https://cloud.google.com/dialogflow/docs/data-logging) - // for how to make your project eligible. - SpeechModelVariant_USE_ENHANCED SpeechModelVariant = 3 -) - -var SpeechModelVariant_name = map[int32]string{ - 0: "SPEECH_MODEL_VARIANT_UNSPECIFIED", - 1: "USE_BEST_AVAILABLE", - 2: "USE_STANDARD", - 3: "USE_ENHANCED", -} - -var SpeechModelVariant_value = map[string]int32{ - "SPEECH_MODEL_VARIANT_UNSPECIFIED": 0, - "USE_BEST_AVAILABLE": 1, - "USE_STANDARD": 2, - "USE_ENHANCED": 3, -} - -func (x SpeechModelVariant) String() string { - return proto.EnumName(SpeechModelVariant_name, int32(x)) -} - -func (SpeechModelVariant) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_80617ff5f6b0e1c6, []int{1} -} - -// Gender of the voice as described in -// [SSML voice element](https://www.w3.org/TR/speech-synthesis11/#edef_voice). -type SsmlVoiceGender int32 - -const ( - // An unspecified gender, which means that the client doesn't care which - // gender the selected voice will have. - SsmlVoiceGender_SSML_VOICE_GENDER_UNSPECIFIED SsmlVoiceGender = 0 - // A male voice. - SsmlVoiceGender_SSML_VOICE_GENDER_MALE SsmlVoiceGender = 1 - // A female voice. - SsmlVoiceGender_SSML_VOICE_GENDER_FEMALE SsmlVoiceGender = 2 - // A gender-neutral voice. - SsmlVoiceGender_SSML_VOICE_GENDER_NEUTRAL SsmlVoiceGender = 3 -) - -var SsmlVoiceGender_name = map[int32]string{ - 0: "SSML_VOICE_GENDER_UNSPECIFIED", - 1: "SSML_VOICE_GENDER_MALE", - 2: "SSML_VOICE_GENDER_FEMALE", - 3: "SSML_VOICE_GENDER_NEUTRAL", -} - -var SsmlVoiceGender_value = map[string]int32{ - "SSML_VOICE_GENDER_UNSPECIFIED": 0, - "SSML_VOICE_GENDER_MALE": 1, - "SSML_VOICE_GENDER_FEMALE": 2, - "SSML_VOICE_GENDER_NEUTRAL": 3, -} - -func (x SsmlVoiceGender) String() string { - return proto.EnumName(SsmlVoiceGender_name, int32(x)) -} - -func (SsmlVoiceGender) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_80617ff5f6b0e1c6, []int{2} -} - -// Audio encoding of the output audio format in Text-To-Speech. -type OutputAudioEncoding int32 - -const ( - // Not specified. - OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_UNSPECIFIED OutputAudioEncoding = 0 - // Uncompressed 16-bit signed little-endian samples (Linear PCM). - // Audio content returned as LINEAR16 also contains a WAV header. - OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_LINEAR_16 OutputAudioEncoding = 1 - // MP3 audio. - OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_MP3 OutputAudioEncoding = 2 - // Opus encoded audio wrapped in an ogg container. The result will be a - // file which can be played natively on Android, and in browsers (at least - // Chrome and Firefox). The quality of the encoding is considerably higher - // than MP3 while using approximately the same bitrate. - OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_OGG_OPUS OutputAudioEncoding = 3 -) - -var OutputAudioEncoding_name = map[int32]string{ - 0: "OUTPUT_AUDIO_ENCODING_UNSPECIFIED", - 1: "OUTPUT_AUDIO_ENCODING_LINEAR_16", - 2: "OUTPUT_AUDIO_ENCODING_MP3", - 3: "OUTPUT_AUDIO_ENCODING_OGG_OPUS", -} - -var OutputAudioEncoding_value = map[string]int32{ - "OUTPUT_AUDIO_ENCODING_UNSPECIFIED": 0, - "OUTPUT_AUDIO_ENCODING_LINEAR_16": 1, - "OUTPUT_AUDIO_ENCODING_MP3": 2, - "OUTPUT_AUDIO_ENCODING_OGG_OPUS": 3, -} - -func (x OutputAudioEncoding) String() string { - return proto.EnumName(OutputAudioEncoding_name, int32(x)) -} - -func (OutputAudioEncoding) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_80617ff5f6b0e1c6, []int{3} -} - -// Hints for the speech recognizer to help with recognition in a specific -// conversation state. -type SpeechContext struct { - // Optional. A list of strings containing words and phrases that the speech - // recognizer should recognize with higher likelihood. - // - // This list can be used to: - // * improve accuracy for words and phrases you expect the user to say, - // e.g. typical commands for your Dialogflow agent - // * add additional words to the speech recognizer vocabulary - // * ... - // - // See the [Cloud Speech - // documentation](https://cloud.google.com/speech-to-text/quotas) for usage - // limits. - Phrases []string `protobuf:"bytes,1,rep,name=phrases,proto3" json:"phrases,omitempty"` - // Optional. Boost for this context compared to other contexts: - // * If the boost is positive, Dialogflow will increase the probability that - // the phrases in this context are recognized over similar sounding phrases. - // * If the boost is unspecified or non-positive, Dialogflow will not apply - // any boost. - // - // Dialogflow recommends that you use boosts in the range (0, 20] and that you - // find a value that fits your use case with binary search. - Boost float32 `protobuf:"fixed32,2,opt,name=boost,proto3" json:"boost,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_80617ff5f6b0e1c6, []int{0} -} - -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 (m *SpeechContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpeechContext.Merge(m, 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 -} - -func (m *SpeechContext) GetBoost() float32 { - if m != nil { - return m.Boost - } - return 0 -} - -// Information for a word recognized by the speech recognizer. -type SpeechWordInfo struct { - // The word this info is for. - Word string `protobuf:"bytes,3,opt,name=word,proto3" json:"word,omitempty"` - // Time offset relative to the beginning of the audio that corresponds to the - // start of the spoken word. This is an experimental feature and the accuracy - // of the time offset can vary. - StartOffset *duration.Duration `protobuf:"bytes,1,opt,name=start_offset,json=startOffset,proto3" json:"start_offset,omitempty"` - // Time offset relative to the beginning of the audio that corresponds to the - // end of the spoken word. This is an experimental feature and the accuracy of - // the time offset can vary. - EndOffset *duration.Duration `protobuf:"bytes,2,opt,name=end_offset,json=endOffset,proto3" json:"end_offset,omitempty"` - // The Speech confidence between 0.0 and 1.0 for this word. A higher number - // indicates an estimated greater likelihood that the recognized word is - // correct. The default of 0.0 is a sentinel value indicating that confidence - // was not set. - // - // This field is not guaranteed to be fully stable over time for the same - // audio input. Users should also not rely on it to always be provided. - Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SpeechWordInfo) Reset() { *m = SpeechWordInfo{} } -func (m *SpeechWordInfo) String() string { return proto.CompactTextString(m) } -func (*SpeechWordInfo) ProtoMessage() {} -func (*SpeechWordInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_80617ff5f6b0e1c6, []int{1} -} - -func (m *SpeechWordInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SpeechWordInfo.Unmarshal(m, b) -} -func (m *SpeechWordInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SpeechWordInfo.Marshal(b, m, deterministic) -} -func (m *SpeechWordInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpeechWordInfo.Merge(m, src) -} -func (m *SpeechWordInfo) XXX_Size() int { - return xxx_messageInfo_SpeechWordInfo.Size(m) -} -func (m *SpeechWordInfo) XXX_DiscardUnknown() { - xxx_messageInfo_SpeechWordInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_SpeechWordInfo proto.InternalMessageInfo - -func (m *SpeechWordInfo) GetWord() string { - if m != nil { - return m.Word - } - return "" -} - -func (m *SpeechWordInfo) GetStartOffset() *duration.Duration { - if m != nil { - return m.StartOffset - } - return nil -} - -func (m *SpeechWordInfo) GetEndOffset() *duration.Duration { - if m != nil { - return m.EndOffset - } - return nil -} - -func (m *SpeechWordInfo) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -// Instructs the speech recognizer on how to process the audio content. -type InputAudioConfig struct { - // Required. Audio encoding of the audio content to process. - AudioEncoding AudioEncoding `protobuf:"varint,1,opt,name=audio_encoding,json=audioEncoding,proto3,enum=google.cloud.dialogflow.v2beta1.AudioEncoding" json:"audio_encoding,omitempty"` - // Required. Sample rate (in Hertz) of the audio content sent in the query. - // Refer to - // [Cloud Speech API - // documentation](https://cloud.google.com/speech-to-text/docs/basics) for - // more details. - 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. Dialogflow does not do - // translations. See [Language - // Support](https://cloud.google.com/dialogflow/docs/reference/language) - // for a list of the currently supported language codes. Note that queries in - // the same session do not necessarily need to specify the same language. - LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // Optional. If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.v2beta1.SpeechWordInfo] in - // [StreamingRecognitionResult][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult] with information about the recognized speech - // words, e.g. start and end time offsets. If false or unspecified, Speech - // doesn't return any word-level information. - EnableWordInfo bool `protobuf:"varint,13,opt,name=enable_word_info,json=enableWordInfo,proto3" json:"enable_word_info,omitempty"` - // Optional. A list of strings containing words and phrases that the speech - // recognizer should recognize with higher likelihood. - // - // See [the Cloud Speech - // documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) - // for more details. - PhraseHints []string `protobuf:"bytes,4,rep,name=phrase_hints,json=phraseHints,proto3" json:"phrase_hints,omitempty"` - // Optional. Context information to assist speech recognition. - // - // See [the Cloud Speech - // documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) - // for more details. - SpeechContexts []*SpeechContext `protobuf:"bytes,11,rep,name=speech_contexts,json=speechContexts,proto3" json:"speech_contexts,omitempty"` - // Optional. Which Speech 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 InputAudioConfig. - // If enhanced speech model is enabled for the agent and an enhanced - // version of the specified model for the language does not exist, then the - // speech is recognized using the standard version of the specified model. - // Refer to - // [Cloud Speech API - // documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) - // for more details. - Model string `protobuf:"bytes,7,opt,name=model,proto3" json:"model,omitempty"` - // Optional. Which variant of the [Speech model][google.cloud.dialogflow.v2beta1.InputAudioConfig.model] to use. - ModelVariant SpeechModelVariant `protobuf:"varint,10,opt,name=model_variant,json=modelVariant,proto3,enum=google.cloud.dialogflow.v2beta1.SpeechModelVariant" json:"model_variant,omitempty"` - // Optional. If `false` (default), recognition does not cease until the - // client closes the stream. - // If `true`, the recognizer will detect a single spoken utterance in input - // audio. Recognition ceases when it detects the audio's voice has - // stopped or paused. In this case, once a detected intent is received, the - // client should close the stream and start a new request with a new stream as - // needed. - // Note: This setting is relevant only for streaming methods. - // Note: When specified, InputAudioConfig.single_utterance takes precedence - // over StreamingDetectIntentRequest.single_utterance. - SingleUtterance bool `protobuf:"varint,8,opt,name=single_utterance,json=singleUtterance,proto3" json:"single_utterance,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_80617ff5f6b0e1c6, []int{2} -} - -func (m *InputAudioConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InputAudioConfig.Unmarshal(m, b) -} -func (m *InputAudioConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InputAudioConfig.Marshal(b, m, deterministic) -} -func (m *InputAudioConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_InputAudioConfig.Merge(m, src) -} -func (m *InputAudioConfig) XXX_Size() int { - return xxx_messageInfo_InputAudioConfig.Size(m) -} -func (m *InputAudioConfig) XXX_DiscardUnknown() { - xxx_messageInfo_InputAudioConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_InputAudioConfig proto.InternalMessageInfo - -func (m *InputAudioConfig) GetAudioEncoding() AudioEncoding { - if m != nil { - return m.AudioEncoding - } - return AudioEncoding_AUDIO_ENCODING_UNSPECIFIED -} - -func (m *InputAudioConfig) GetSampleRateHertz() int32 { - if m != nil { - return m.SampleRateHertz - } - return 0 -} - -func (m *InputAudioConfig) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *InputAudioConfig) GetEnableWordInfo() bool { - if m != nil { - return m.EnableWordInfo - } - return false -} - -func (m *InputAudioConfig) GetPhraseHints() []string { - if m != nil { - return m.PhraseHints - } - return nil -} - -func (m *InputAudioConfig) GetSpeechContexts() []*SpeechContext { - if m != nil { - return m.SpeechContexts - } - return nil -} - -func (m *InputAudioConfig) GetModel() string { - if m != nil { - return m.Model - } - return "" -} - -func (m *InputAudioConfig) GetModelVariant() SpeechModelVariant { - if m != nil { - return m.ModelVariant - } - return SpeechModelVariant_SPEECH_MODEL_VARIANT_UNSPECIFIED -} - -func (m *InputAudioConfig) GetSingleUtterance() bool { - if m != nil { - return m.SingleUtterance - } - return false -} - -// Description of which voice to use for speech synthesis. -type VoiceSelectionParams struct { - // Optional. The name of the voice. If not set, the service will choose a - // voice based on the other parameters such as language_code and gender. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Optional. The preferred gender of the voice. If not set, the service will - // choose a voice based on the other parameters such as language_code and - // name. Note that this is only a preference, not requirement. If a - // voice of the appropriate gender is not available, the synthesizer should - // substitute a voice with a different gender rather than failing the request. - SsmlGender SsmlVoiceGender `protobuf:"varint,2,opt,name=ssml_gender,json=ssmlGender,proto3,enum=google.cloud.dialogflow.v2beta1.SsmlVoiceGender" json:"ssml_gender,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_80617ff5f6b0e1c6, []int{3} -} - -func (m *VoiceSelectionParams) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VoiceSelectionParams.Unmarshal(m, b) -} -func (m *VoiceSelectionParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VoiceSelectionParams.Marshal(b, m, deterministic) -} -func (m *VoiceSelectionParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_VoiceSelectionParams.Merge(m, src) -} -func (m *VoiceSelectionParams) XXX_Size() int { - return xxx_messageInfo_VoiceSelectionParams.Size(m) -} -func (m *VoiceSelectionParams) XXX_DiscardUnknown() { - xxx_messageInfo_VoiceSelectionParams.DiscardUnknown(m) -} - -var xxx_messageInfo_VoiceSelectionParams proto.InternalMessageInfo - -func (m *VoiceSelectionParams) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *VoiceSelectionParams) GetSsmlGender() SsmlVoiceGender { - if m != nil { - return m.SsmlGender - } - return SsmlVoiceGender_SSML_VOICE_GENDER_UNSPECIFIED -} - -// Configuration of how speech should be synthesized. -type SynthesizeSpeechConfig struct { - // Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal - // native speed supported by the specific voice. 2.0 is twice as fast, and - // 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any - // other values < 0.25 or > 4.0 will return an error. - SpeakingRate float64 `protobuf:"fixed64,1,opt,name=speaking_rate,json=speakingRate,proto3" json:"speaking_rate,omitempty"` - // Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20 - // semitones from the original pitch. -20 means decrease 20 semitones from the - // original pitch. - Pitch float64 `protobuf:"fixed64,2,opt,name=pitch,proto3" json:"pitch,omitempty"` - // Optional. Volume gain (in dB) of the normal native volume supported by the - // specific voice, in the range [-96.0, 16.0]. If unset, or set to a value of - // 0.0 (dB), will play at normal native signal amplitude. A value of -6.0 (dB) - // will play at approximately half the amplitude of the normal native signal - // amplitude. A value of +6.0 (dB) will play at approximately twice the - // amplitude of the normal native signal amplitude. We strongly recommend not - // to exceed +10 (dB) as there's usually no effective increase in loudness for - // any value greater than that. - VolumeGainDb float64 `protobuf:"fixed64,3,opt,name=volume_gain_db,json=volumeGainDb,proto3" json:"volume_gain_db,omitempty"` - // Optional. An identifier which selects 'audio effects' profiles that are - // applied on (post synthesized) text to speech. Effects are applied on top of - // each other in the order they are given. - EffectsProfileId []string `protobuf:"bytes,5,rep,name=effects_profile_id,json=effectsProfileId,proto3" json:"effects_profile_id,omitempty"` - // Optional. The desired voice of the synthesized audio. - Voice *VoiceSelectionParams `protobuf:"bytes,4,opt,name=voice,proto3" json:"voice,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_80617ff5f6b0e1c6, []int{4} -} - -func (m *SynthesizeSpeechConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SynthesizeSpeechConfig.Unmarshal(m, b) -} -func (m *SynthesizeSpeechConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SynthesizeSpeechConfig.Marshal(b, m, deterministic) -} -func (m *SynthesizeSpeechConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_SynthesizeSpeechConfig.Merge(m, src) -} -func (m *SynthesizeSpeechConfig) XXX_Size() int { - return xxx_messageInfo_SynthesizeSpeechConfig.Size(m) -} -func (m *SynthesizeSpeechConfig) XXX_DiscardUnknown() { - xxx_messageInfo_SynthesizeSpeechConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_SynthesizeSpeechConfig proto.InternalMessageInfo - -func (m *SynthesizeSpeechConfig) GetSpeakingRate() float64 { - if m != nil { - return m.SpeakingRate - } - return 0 -} - -func (m *SynthesizeSpeechConfig) GetPitch() float64 { - if m != nil { - return m.Pitch - } - return 0 -} - -func (m *SynthesizeSpeechConfig) GetVolumeGainDb() float64 { - if m != nil { - return m.VolumeGainDb - } - return 0 -} - -func (m *SynthesizeSpeechConfig) GetEffectsProfileId() []string { - if m != nil { - return m.EffectsProfileId - } - return nil -} - -func (m *SynthesizeSpeechConfig) GetVoice() *VoiceSelectionParams { - if m != nil { - return m.Voice - } - return nil -} - -// Instructs the speech synthesizer how to generate the output audio content. -type OutputAudioConfig struct { - // Required. Audio encoding of the synthesized audio content. - AudioEncoding OutputAudioEncoding `protobuf:"varint,1,opt,name=audio_encoding,json=audioEncoding,proto3,enum=google.cloud.dialogflow.v2beta1.OutputAudioEncoding" json:"audio_encoding,omitempty"` - // Optional. The synthesis sample rate (in hertz) for this audio. If not - // provided, then the synthesizer will use the default sample rate based on - // the audio encoding. If this is different from the voice's natural sample - // rate, then the synthesizer will honor this request by converting to the - // desired sample rate (which might result in worse audio quality). - SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"` - // Optional. Configuration of how speech should be synthesized. - SynthesizeSpeechConfig *SynthesizeSpeechConfig `protobuf:"bytes,3,opt,name=synthesize_speech_config,json=synthesizeSpeechConfig,proto3" json:"synthesize_speech_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_80617ff5f6b0e1c6, []int{5} -} - -func (m *OutputAudioConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OutputAudioConfig.Unmarshal(m, b) -} -func (m *OutputAudioConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OutputAudioConfig.Marshal(b, m, deterministic) -} -func (m *OutputAudioConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_OutputAudioConfig.Merge(m, src) -} -func (m *OutputAudioConfig) XXX_Size() int { - return xxx_messageInfo_OutputAudioConfig.Size(m) -} -func (m *OutputAudioConfig) XXX_DiscardUnknown() { - xxx_messageInfo_OutputAudioConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_OutputAudioConfig proto.InternalMessageInfo - -func (m *OutputAudioConfig) GetAudioEncoding() OutputAudioEncoding { - if m != nil { - return m.AudioEncoding - } - return OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_UNSPECIFIED -} - -func (m *OutputAudioConfig) GetSampleRateHertz() int32 { - if m != nil { - return m.SampleRateHertz - } - return 0 -} - -func (m *OutputAudioConfig) GetSynthesizeSpeechConfig() *SynthesizeSpeechConfig { - if m != nil { - return m.SynthesizeSpeechConfig - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.dialogflow.v2beta1.AudioEncoding", AudioEncoding_name, AudioEncoding_value) - proto.RegisterEnum("google.cloud.dialogflow.v2beta1.SpeechModelVariant", SpeechModelVariant_name, SpeechModelVariant_value) - proto.RegisterEnum("google.cloud.dialogflow.v2beta1.SsmlVoiceGender", SsmlVoiceGender_name, SsmlVoiceGender_value) - proto.RegisterEnum("google.cloud.dialogflow.v2beta1.OutputAudioEncoding", OutputAudioEncoding_name, OutputAudioEncoding_value) - proto.RegisterType((*SpeechContext)(nil), "google.cloud.dialogflow.v2beta1.SpeechContext") - proto.RegisterType((*SpeechWordInfo)(nil), "google.cloud.dialogflow.v2beta1.SpeechWordInfo") - proto.RegisterType((*InputAudioConfig)(nil), "google.cloud.dialogflow.v2beta1.InputAudioConfig") - proto.RegisterType((*VoiceSelectionParams)(nil), "google.cloud.dialogflow.v2beta1.VoiceSelectionParams") - proto.RegisterType((*SynthesizeSpeechConfig)(nil), "google.cloud.dialogflow.v2beta1.SynthesizeSpeechConfig") - proto.RegisterType((*OutputAudioConfig)(nil), "google.cloud.dialogflow.v2beta1.OutputAudioConfig") -} - -func init() { - proto.RegisterFile("google/cloud/dialogflow/v2beta1/audio_config.proto", fileDescriptor_80617ff5f6b0e1c6) -} - -var fileDescriptor_80617ff5f6b0e1c6 = []byte{ - // 1122 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcb, 0x6e, 0xdb, 0x46, - 0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13, 0x00, 0x00, 0xff, 0xff, 0x81, 0xe2, 0x86, 0xee, 0x7f, 0x09, - 0x00, 0x00, -} 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 deleted file mode 100644 index 37df4676..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/context.pb.go +++ /dev/null @@ -1,818 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/dialogflow/v2beta1/context.proto - -package dialogflow - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _struct "github.com/golang/protobuf/ptypes/struct" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Represents a context. -type Context struct { - // Required. The unique identifier of the context. Format: - // `projects//agent/sessions//contexts/`, - // or `projects//agent/environments//users//sessions//contexts/`. - // - // The `Context ID` is always converted to lowercase, may only contain - // characters in a-zA-Z0-9_-% and may be at most 250 bytes long. - // - // If `Environment ID` is not specified, we assume default 'draft' - // environment. If `User ID` is not specified, we assume default '-' user. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Optional. The number of conversational query requests after which the - // context expires. If set to `0` (the default) the context expires - // immediately. Contexts expire automatically after 20 minutes if there - // are no matching queries. - LifespanCount int32 `protobuf:"varint,2,opt,name=lifespan_count,json=lifespanCount,proto3" json:"lifespan_count,omitempty"` - // Optional. The collection of parameters associated with this context. - // Refer to [this - // doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters) - // for syntax. - Parameters *_struct.Struct `protobuf:"bytes,3,opt,name=parameters,proto3" json:"parameters,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ff2c900db64d4fc9, []int{0} -} - -func (m *Context) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Context.Unmarshal(m, b) -} -func (m *Context) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Context.Marshal(b, m, deterministic) -} -func (m *Context) XXX_Merge(src proto.Message) { - xxx_messageInfo_Context.Merge(m, src) -} -func (m *Context) XXX_Size() int { - return xxx_messageInfo_Context.Size(m) -} -func (m *Context) XXX_DiscardUnknown() { - xxx_messageInfo_Context.DiscardUnknown(m) -} - -var xxx_messageInfo_Context proto.InternalMessageInfo - -func (m *Context) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Context) GetLifespanCount() int32 { - if m != nil { - return m.LifespanCount - } - return 0 -} - -func (m *Context) GetParameters() *_struct.Struct { - if m != nil { - return m.Parameters - } - return nil -} - -// The request message for [Contexts.ListContexts][google.cloud.dialogflow.v2beta1.Contexts.ListContexts]. -type ListContextsRequest struct { - // Required. The session to list all contexts from. - // Format: `projects//agent/sessions/` or - // `projects//agent/environments//users//sessions/`. If `Environment ID` is not specified, we assume - // default 'draft' environment. If `User ID` is not specified, we assume - // default '-' user. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. The maximum number of items to return in a single page. By - // default 100 and at most 1000. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional. The next_page_token value returned from a previous list request. - 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 *ListContextsRequest) Reset() { *m = ListContextsRequest{} } -func (m *ListContextsRequest) String() string { return proto.CompactTextString(m) } -func (*ListContextsRequest) ProtoMessage() {} -func (*ListContextsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ff2c900db64d4fc9, []int{1} -} - -func (m *ListContextsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListContextsRequest.Unmarshal(m, b) -} -func (m *ListContextsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListContextsRequest.Marshal(b, m, deterministic) -} -func (m *ListContextsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListContextsRequest.Merge(m, src) -} -func (m *ListContextsRequest) XXX_Size() int { - return xxx_messageInfo_ListContextsRequest.Size(m) -} -func (m *ListContextsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListContextsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListContextsRequest proto.InternalMessageInfo - -func (m *ListContextsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListContextsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListContextsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// The response message for [Contexts.ListContexts][google.cloud.dialogflow.v2beta1.Contexts.ListContexts]. -type ListContextsResponse struct { - // The list of contexts. There will be a maximum number of items - // returned based on the page_size field in the request. - Contexts []*Context `protobuf:"bytes,1,rep,name=contexts,proto3" json:"contexts,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 *ListContextsResponse) Reset() { *m = ListContextsResponse{} } -func (m *ListContextsResponse) String() string { return proto.CompactTextString(m) } -func (*ListContextsResponse) ProtoMessage() {} -func (*ListContextsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ff2c900db64d4fc9, []int{2} -} - -func (m *ListContextsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListContextsResponse.Unmarshal(m, b) -} -func (m *ListContextsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListContextsResponse.Marshal(b, m, deterministic) -} -func (m *ListContextsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListContextsResponse.Merge(m, src) -} -func (m *ListContextsResponse) XXX_Size() int { - return xxx_messageInfo_ListContextsResponse.Size(m) -} -func (m *ListContextsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListContextsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListContextsResponse proto.InternalMessageInfo - -func (m *ListContextsResponse) GetContexts() []*Context { - if m != nil { - return m.Contexts - } - return nil -} - -func (m *ListContextsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The request message for [Contexts.GetContext][google.cloud.dialogflow.v2beta1.Contexts.GetContext]. -type GetContextRequest struct { - // Required. The name of the context. Format: - // `projects//agent/sessions//contexts/` - // or `projects//agent/environments//users//sessions//contexts/`. If `Environment ID` is - // not specified, we assume default 'draft' environment. If `User ID` is not - // specified, we assume default '-' user. - 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 *GetContextRequest) Reset() { *m = GetContextRequest{} } -func (m *GetContextRequest) String() string { return proto.CompactTextString(m) } -func (*GetContextRequest) ProtoMessage() {} -func (*GetContextRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ff2c900db64d4fc9, []int{3} -} - -func (m *GetContextRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetContextRequest.Unmarshal(m, b) -} -func (m *GetContextRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetContextRequest.Marshal(b, m, deterministic) -} -func (m *GetContextRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetContextRequest.Merge(m, src) -} -func (m *GetContextRequest) XXX_Size() int { - return xxx_messageInfo_GetContextRequest.Size(m) -} -func (m *GetContextRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetContextRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetContextRequest proto.InternalMessageInfo - -func (m *GetContextRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The request message for [Contexts.CreateContext][google.cloud.dialogflow.v2beta1.Contexts.CreateContext]. -type CreateContextRequest struct { - // Required. The session to create a context for. - // Format: `projects//agent/sessions/` or - // `projects//agent/environments//users//sessions/`. If `Environment ID` is not specified, we assume - // default 'draft' environment. If `User ID` is not specified, we assume - // default '-' user. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The context to create. - Context *Context `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ff2c900db64d4fc9, []int{4} -} - -func (m *CreateContextRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateContextRequest.Unmarshal(m, b) -} -func (m *CreateContextRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateContextRequest.Marshal(b, m, deterministic) -} -func (m *CreateContextRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateContextRequest.Merge(m, src) -} -func (m *CreateContextRequest) XXX_Size() int { - return xxx_messageInfo_CreateContextRequest.Size(m) -} -func (m *CreateContextRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateContextRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateContextRequest proto.InternalMessageInfo - -func (m *CreateContextRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateContextRequest) GetContext() *Context { - if m != nil { - return m.Context - } - return nil -} - -// The request message for [Contexts.UpdateContext][google.cloud.dialogflow.v2beta1.Contexts.UpdateContext]. -type UpdateContextRequest struct { - // Required. The context to update. - Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` - // Optional. The mask to control which fields get 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 *UpdateContextRequest) Reset() { *m = UpdateContextRequest{} } -func (m *UpdateContextRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateContextRequest) ProtoMessage() {} -func (*UpdateContextRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ff2c900db64d4fc9, []int{5} -} - -func (m *UpdateContextRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateContextRequest.Unmarshal(m, b) -} -func (m *UpdateContextRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateContextRequest.Marshal(b, m, deterministic) -} -func (m *UpdateContextRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateContextRequest.Merge(m, src) -} -func (m *UpdateContextRequest) XXX_Size() int { - return xxx_messageInfo_UpdateContextRequest.Size(m) -} -func (m *UpdateContextRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateContextRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateContextRequest proto.InternalMessageInfo - -func (m *UpdateContextRequest) GetContext() *Context { - if m != nil { - return m.Context - } - return nil -} - -func (m *UpdateContextRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// The request message for [Contexts.DeleteContext][google.cloud.dialogflow.v2beta1.Contexts.DeleteContext]. -type DeleteContextRequest struct { - // Required. The name of the context to delete. Format: - // `projects//agent/sessions//contexts/` - // or `projects//agent/environments//users//sessions//contexts/`. If `Environment ID` is - // not specified, we assume default 'draft' environment. If `User ID` is not - // specified, we assume default '-' user. - 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 *DeleteContextRequest) Reset() { *m = DeleteContextRequest{} } -func (m *DeleteContextRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteContextRequest) ProtoMessage() {} -func (*DeleteContextRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ff2c900db64d4fc9, []int{6} -} - -func (m *DeleteContextRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteContextRequest.Unmarshal(m, b) -} -func (m *DeleteContextRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteContextRequest.Marshal(b, m, deterministic) -} -func (m *DeleteContextRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteContextRequest.Merge(m, src) -} -func (m *DeleteContextRequest) XXX_Size() int { - return xxx_messageInfo_DeleteContextRequest.Size(m) -} -func (m *DeleteContextRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteContextRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteContextRequest proto.InternalMessageInfo - -func (m *DeleteContextRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The request message for [Contexts.DeleteAllContexts][google.cloud.dialogflow.v2beta1.Contexts.DeleteAllContexts]. -type DeleteAllContextsRequest struct { - // Required. The name of the session to delete all contexts from. Format: - // `projects//agent/sessions/` or `projects//agent/environments//users//sessions/`. If `Environment ID` is not specified we assume default 'draft' - // environment. If `User ID` is not specified, we assume default '-' user. - 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 *DeleteAllContextsRequest) Reset() { *m = DeleteAllContextsRequest{} } -func (m *DeleteAllContextsRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteAllContextsRequest) ProtoMessage() {} -func (*DeleteAllContextsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ff2c900db64d4fc9, []int{7} -} - -func (m *DeleteAllContextsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteAllContextsRequest.Unmarshal(m, b) -} -func (m *DeleteAllContextsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteAllContextsRequest.Marshal(b, m, deterministic) -} -func (m *DeleteAllContextsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteAllContextsRequest.Merge(m, src) -} -func (m *DeleteAllContextsRequest) XXX_Size() int { - return xxx_messageInfo_DeleteAllContextsRequest.Size(m) -} -func (m *DeleteAllContextsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteAllContextsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteAllContextsRequest proto.InternalMessageInfo - -func (m *DeleteAllContextsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func init() { - proto.RegisterType((*Context)(nil), "google.cloud.dialogflow.v2beta1.Context") - proto.RegisterType((*ListContextsRequest)(nil), "google.cloud.dialogflow.v2beta1.ListContextsRequest") - proto.RegisterType((*ListContextsResponse)(nil), "google.cloud.dialogflow.v2beta1.ListContextsResponse") - proto.RegisterType((*GetContextRequest)(nil), "google.cloud.dialogflow.v2beta1.GetContextRequest") - proto.RegisterType((*CreateContextRequest)(nil), "google.cloud.dialogflow.v2beta1.CreateContextRequest") - proto.RegisterType((*UpdateContextRequest)(nil), "google.cloud.dialogflow.v2beta1.UpdateContextRequest") - proto.RegisterType((*DeleteContextRequest)(nil), "google.cloud.dialogflow.v2beta1.DeleteContextRequest") - proto.RegisterType((*DeleteAllContextsRequest)(nil), "google.cloud.dialogflow.v2beta1.DeleteAllContextsRequest") -} - -func init() { - proto.RegisterFile("google/cloud/dialogflow/v2beta1/context.proto", fileDescriptor_ff2c900db64d4fc9) -} - -var fileDescriptor_ff2c900db64d4fc9 = []byte{ - // 952 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0x4f, 0x8f, 0xdb, 0x44, - 0x14, 0x97, 0x1d, 0x68, 0x77, 0x67, 0x1b, 0x50, 0x87, 0xa5, 0x0d, 0x69, 0x51, 0x23, 0x23, 0x20, - 0xb2, 0xa8, 0x47, 0x98, 0x7f, 0xa2, 0x15, 0x48, 0xbb, 0x1b, 0x5a, 0x81, 0x58, 0xb1, 0x4a, 0x59, - 0x44, 0x97, 0x43, 0x98, 0x75, 0x5e, 0x5c, 0xb3, 0xce, 0x8c, 0xf1, 0x4c, 0xba, 0x4b, 0xd1, 0x5e, - 0x10, 0xdf, 0x00, 0x24, 0x2e, 0x1c, 0x10, 0xc7, 0x8a, 0x0b, 0xe2, 0x5b, 0x94, 0x0b, 0x82, 0x03, - 0x5f, 0x80, 0x13, 0x27, 0x6e, 0x70, 0x44, 0xb6, 0xc7, 0x71, 0x9c, 0x78, 0xd7, 0x71, 0x94, 0x3d, - 0x25, 0x99, 0x79, 0xef, 0xf7, 0x7e, 0xf3, 0x7e, 0xef, 0xbd, 0x99, 0xa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bf, 0x6f, 0xdc, 0xbd, 0x27, 0x65, 0x20, 0x6e, 0x10, 0x72, 0x78, 0x38, - 0xbd, 0x49, 0xe8, 0x48, 0xde, 0x4b, 0xfe, 0x77, 0x5e, 0x0f, 0x7c, 0x2a, 0x07, 0x3c, 0x1c, 0xbe, - 0x54, 0x66, 0x9e, 0x85, 0xda, 0x7c, 0xa8, 0xa1, 0xe7, 0x1c, 0x3e, 0x2c, 0x2b, 0x84, 0xcd, 0x0b, - 0xaa, 0x00, 0x76, 0x22, 0xb9, 0x77, 0xb4, 0xbd, 0x77, 0x95, 0x83, 0xcb, 0x7d, 0xca, 0x5c, 0x8b, - 0x87, 0x2e, 0x71, 0x81, 0xc5, 0xc5, 0x40, 0xb2, 0x90, 0x27, 0xfe, 0x21, 0xbe, 0x99, 0x2d, 0xfd, - 0xa7, 0x69, 0x3f, 0xea, 0x7a, 0xe7, 0xd6, 0x43, 0xfd, 0xda, 0xed, 0x04, 0x73, 0x2b, 0x26, 0xd1, - 0xc9, 0x48, 0x7c, 0x94, 0x38, 0xed, 0x9f, 0x8b, 0xf1, 0x5f, 0xf9, 0x3f, 0x00, 0x00, 0xff, 0xff, - 0x00, 0x9e, 0x2f, 0x1e, 0x6f, 0x0f, 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 - -// ContextsClient is the client API for Contexts service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ContextsClient interface { - // Returns the list of all contexts in the specified session. - ListContexts(ctx context.Context, in *ListContextsRequest, opts ...grpc.CallOption) (*ListContextsResponse, error) - // Retrieves the specified context. - GetContext(ctx context.Context, in *GetContextRequest, opts ...grpc.CallOption) (*Context, error) - // Creates a context. - // - // If the specified context already exists, overrides the context. - CreateContext(ctx context.Context, in *CreateContextRequest, opts ...grpc.CallOption) (*Context, error) - // Updates the specified context. - UpdateContext(ctx context.Context, in *UpdateContextRequest, opts ...grpc.CallOption) (*Context, error) - // Deletes the specified context. - DeleteContext(ctx context.Context, in *DeleteContextRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Deletes all active contexts in the specified session. - DeleteAllContexts(ctx context.Context, in *DeleteAllContextsRequest, opts ...grpc.CallOption) (*empty.Empty, error) -} - -type contextsClient struct { - cc *grpc.ClientConn -} - -func NewContextsClient(cc *grpc.ClientConn) ContextsClient { - return &contextsClient{cc} -} - -func (c *contextsClient) ListContexts(ctx context.Context, in *ListContextsRequest, opts ...grpc.CallOption) (*ListContextsResponse, error) { - out := new(ListContextsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Contexts/ListContexts", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *contextsClient) GetContext(ctx context.Context, in *GetContextRequest, opts ...grpc.CallOption) (*Context, error) { - out := new(Context) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Contexts/GetContext", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *contextsClient) CreateContext(ctx context.Context, in *CreateContextRequest, opts ...grpc.CallOption) (*Context, error) { - out := new(Context) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Contexts/CreateContext", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *contextsClient) UpdateContext(ctx context.Context, in *UpdateContextRequest, opts ...grpc.CallOption) (*Context, error) { - out := new(Context) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Contexts/UpdateContext", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *contextsClient) DeleteContext(ctx context.Context, in *DeleteContextRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Contexts/DeleteContext", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *contextsClient) DeleteAllContexts(ctx context.Context, in *DeleteAllContextsRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Contexts/DeleteAllContexts", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ContextsServer is the server API for Contexts service. -type ContextsServer interface { - // Returns the list of all contexts in the specified session. - ListContexts(context.Context, *ListContextsRequest) (*ListContextsResponse, error) - // Retrieves the specified context. - GetContext(context.Context, *GetContextRequest) (*Context, error) - // Creates a context. - // - // If the specified context already exists, overrides the context. - CreateContext(context.Context, *CreateContextRequest) (*Context, error) - // Updates the specified context. - UpdateContext(context.Context, *UpdateContextRequest) (*Context, error) - // Deletes the specified context. - DeleteContext(context.Context, *DeleteContextRequest) (*empty.Empty, error) - // Deletes all active contexts in the specified session. - DeleteAllContexts(context.Context, *DeleteAllContextsRequest) (*empty.Empty, error) -} - -// UnimplementedContextsServer can be embedded to have forward compatible implementations. -type UnimplementedContextsServer struct { -} - -func (*UnimplementedContextsServer) ListContexts(ctx context.Context, req *ListContextsRequest) (*ListContextsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListContexts not implemented") -} -func (*UnimplementedContextsServer) GetContext(ctx context.Context, req *GetContextRequest) (*Context, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetContext not implemented") -} -func (*UnimplementedContextsServer) CreateContext(ctx context.Context, req *CreateContextRequest) (*Context, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateContext not implemented") -} -func (*UnimplementedContextsServer) UpdateContext(ctx context.Context, req *UpdateContextRequest) (*Context, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateContext not implemented") -} -func (*UnimplementedContextsServer) DeleteContext(ctx context.Context, req *DeleteContextRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteContext not implemented") -} -func (*UnimplementedContextsServer) DeleteAllContexts(ctx context.Context, req *DeleteAllContextsRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteAllContexts not implemented") -} - -func RegisterContextsServer(s *grpc.Server, srv ContextsServer) { - s.RegisterService(&_Contexts_serviceDesc, srv) -} - -func _Contexts_ListContexts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListContextsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ContextsServer).ListContexts(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.Contexts/ListContexts", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContextsServer).ListContexts(ctx, req.(*ListContextsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Contexts_GetContext_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetContextRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ContextsServer).GetContext(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.Contexts/GetContext", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContextsServer).GetContext(ctx, req.(*GetContextRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Contexts_CreateContext_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateContextRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ContextsServer).CreateContext(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.Contexts/CreateContext", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContextsServer).CreateContext(ctx, req.(*CreateContextRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Contexts_UpdateContext_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateContextRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ContextsServer).UpdateContext(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.Contexts/UpdateContext", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContextsServer).UpdateContext(ctx, req.(*UpdateContextRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Contexts_DeleteContext_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteContextRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ContextsServer).DeleteContext(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.Contexts/DeleteContext", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContextsServer).DeleteContext(ctx, req.(*DeleteContextRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Contexts_DeleteAllContexts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteAllContextsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ContextsServer).DeleteAllContexts(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.Contexts/DeleteAllContexts", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContextsServer).DeleteAllContexts(ctx, req.(*DeleteAllContextsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Contexts_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.dialogflow.v2beta1.Contexts", - HandlerType: (*ContextsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListContexts", - Handler: _Contexts_ListContexts_Handler, - }, - { - MethodName: "GetContext", - Handler: _Contexts_GetContext_Handler, - }, - { - MethodName: "CreateContext", - Handler: _Contexts_CreateContext_Handler, - }, - { - MethodName: "UpdateContext", - Handler: _Contexts_UpdateContext_Handler, - }, - { - MethodName: "DeleteContext", - Handler: _Contexts_DeleteContext_Handler, - }, - { - MethodName: "DeleteAllContexts", - Handler: _Contexts_DeleteAllContexts_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/dialogflow/v2beta1/context.proto", -} 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 deleted file mode 100644 index d15c4f2b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/document.pb.go +++ /dev/null @@ -1,1105 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/dialogflow/v2beta1/document.proto - -package dialogflow - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/empty" - _ "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - _ "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The knowledge type of document content. -type Document_KnowledgeType int32 - -const ( - // The type is unspecified or arbitrary. - Document_KNOWLEDGE_TYPE_UNSPECIFIED Document_KnowledgeType = 0 - // The document content contains question and answer pairs as either HTML or - // CSV. Typical FAQ HTML formats are parsed accurately, but unusual formats - // may fail to be parsed. - // - // CSV must have questions in the first column and answers in the second, - // with no header. Because of this explicit format, they are always parsed - // accurately. - Document_FAQ Document_KnowledgeType = 1 - // Documents for which unstructured text is extracted and used for - // question answering. - Document_EXTRACTIVE_QA Document_KnowledgeType = 2 -) - -var Document_KnowledgeType_name = map[int32]string{ - 0: "KNOWLEDGE_TYPE_UNSPECIFIED", - 1: "FAQ", - 2: "EXTRACTIVE_QA", -} - -var Document_KnowledgeType_value = map[string]int32{ - "KNOWLEDGE_TYPE_UNSPECIFIED": 0, - "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_2d3494516d3ece6c, []int{0, 0} -} - -// States of the operation. -type KnowledgeOperationMetadata_State int32 - -const ( - // State unspecified. - KnowledgeOperationMetadata_STATE_UNSPECIFIED KnowledgeOperationMetadata_State = 0 - // The operation has been created. - KnowledgeOperationMetadata_PENDING KnowledgeOperationMetadata_State = 1 - // The operation is currently running. - KnowledgeOperationMetadata_RUNNING KnowledgeOperationMetadata_State = 2 - // The operation is done, either cancelled or completed. - KnowledgeOperationMetadata_DONE KnowledgeOperationMetadata_State = 3 -) - -var KnowledgeOperationMetadata_State_name = map[int32]string{ - 0: "STATE_UNSPECIFIED", - 1: "PENDING", - 2: "RUNNING", - 3: "DONE", -} - -var KnowledgeOperationMetadata_State_value = map[string]int32{ - "STATE_UNSPECIFIED": 0, - "PENDING": 1, - "RUNNING": 2, - "DONE": 3, -} - -func (x KnowledgeOperationMetadata_State) String() string { - return proto.EnumName(KnowledgeOperationMetadata_State_name, int32(x)) -} - -func (KnowledgeOperationMetadata_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2d3494516d3ece6c, []int{7, 0} -} - -// A document resource. -// -// Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; -// only use `projects.knowledgeBases.documents`. -type Document struct { - // The document resource name. - // The name must be empty when creating a document. - // Format: `projects//knowledgeBases//documents/`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The display name of the document. The name must be 1024 bytes or - // less; otherwise, the creation request fails. - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Required. The MIME type of this document. - MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - // Required. The knowledge type of document content. - KnowledgeTypes []Document_KnowledgeType `protobuf:"varint,4,rep,packed,name=knowledge_types,json=knowledgeTypes,proto3,enum=google.cloud.dialogflow.v2beta1.Document_KnowledgeType" json:"knowledge_types,omitempty"` - // Required. The source of this document. - // - // Types that are valid to be assigned to Source: - // *Document_ContentUri - // *Document_Content - // *Document_RawContent - Source isDocument_Source `protobuf_oneof:"source"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2d3494516d3ece6c, []int{0} -} - -func (m *Document) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Document.Unmarshal(m, b) -} -func (m *Document) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Document.Marshal(b, m, deterministic) -} -func (m *Document) XXX_Merge(src proto.Message) { - xxx_messageInfo_Document.Merge(m, src) -} -func (m *Document) XXX_Size() int { - return xxx_messageInfo_Document.Size(m) -} -func (m *Document) XXX_DiscardUnknown() { - xxx_messageInfo_Document.DiscardUnknown(m) -} - -var xxx_messageInfo_Document proto.InternalMessageInfo - -func (m *Document) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Document) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *Document) GetMimeType() string { - if m != nil { - return m.MimeType - } - return "" -} - -func (m *Document) GetKnowledgeTypes() []Document_KnowledgeType { - if m != nil { - return m.KnowledgeTypes - } - 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"` -} - -type Document_RawContent struct { - RawContent []byte `protobuf:"bytes,9,opt,name=raw_content,json=rawContent,proto3,oneof"` -} - -func (*Document_ContentUri) isDocument_Source() {} - -func (*Document_Content) isDocument_Source() {} - -func (*Document_RawContent) 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 - } - return "" -} - -// Deprecated: Do not use. -func (m *Document) GetContent() string { - if x, ok := m.GetSource().(*Document_Content); ok { - return x.Content - } - return "" -} - -func (m *Document) GetRawContent() []byte { - if x, ok := m.GetSource().(*Document_RawContent); ok { - return x.RawContent - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Document) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Document_ContentUri)(nil), - (*Document_Content)(nil), - (*Document_RawContent)(nil), - } -} - -// Request message for [Documents.ListDocuments][google.cloud.dialogflow.v2beta1.Documents.ListDocuments]. -type ListDocumentsRequest struct { - // Required. The knowledge base to list all documents for. - // Format: `projects//knowledgeBases/`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. The maximum number of items to return in a single page. By - // default 10 and at most 100. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional. The next_page_token value returned from a previous list request. - 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 *ListDocumentsRequest) Reset() { *m = ListDocumentsRequest{} } -func (m *ListDocumentsRequest) String() string { return proto.CompactTextString(m) } -func (*ListDocumentsRequest) ProtoMessage() {} -func (*ListDocumentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2d3494516d3ece6c, []int{1} -} - -func (m *ListDocumentsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDocumentsRequest.Unmarshal(m, b) -} -func (m *ListDocumentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDocumentsRequest.Marshal(b, m, deterministic) -} -func (m *ListDocumentsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDocumentsRequest.Merge(m, src) -} -func (m *ListDocumentsRequest) XXX_Size() int { - return xxx_messageInfo_ListDocumentsRequest.Size(m) -} -func (m *ListDocumentsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListDocumentsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDocumentsRequest proto.InternalMessageInfo - -func (m *ListDocumentsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListDocumentsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListDocumentsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response message for [Documents.ListDocuments][google.cloud.dialogflow.v2beta1.Documents.ListDocuments]. -type ListDocumentsResponse struct { - // The list of documents. - Documents []*Document `protobuf:"bytes,1,rep,name=documents,proto3" json:"documents,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 *ListDocumentsResponse) Reset() { *m = ListDocumentsResponse{} } -func (m *ListDocumentsResponse) String() string { return proto.CompactTextString(m) } -func (*ListDocumentsResponse) ProtoMessage() {} -func (*ListDocumentsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2d3494516d3ece6c, []int{2} -} - -func (m *ListDocumentsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDocumentsResponse.Unmarshal(m, b) -} -func (m *ListDocumentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDocumentsResponse.Marshal(b, m, deterministic) -} -func (m *ListDocumentsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDocumentsResponse.Merge(m, src) -} -func (m *ListDocumentsResponse) XXX_Size() int { - return xxx_messageInfo_ListDocumentsResponse.Size(m) -} -func (m *ListDocumentsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListDocumentsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDocumentsResponse proto.InternalMessageInfo - -func (m *ListDocumentsResponse) GetDocuments() []*Document { - if m != nil { - return m.Documents - } - return nil -} - -func (m *ListDocumentsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request message for [Documents.GetDocument][google.cloud.dialogflow.v2beta1.Documents.GetDocument]. -type GetDocumentRequest struct { - // Required. The name of the document to retrieve. - // Format `projects//knowledgeBases//documents/`. - 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 *GetDocumentRequest) Reset() { *m = GetDocumentRequest{} } -func (m *GetDocumentRequest) String() string { return proto.CompactTextString(m) } -func (*GetDocumentRequest) ProtoMessage() {} -func (*GetDocumentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2d3494516d3ece6c, []int{3} -} - -func (m *GetDocumentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDocumentRequest.Unmarshal(m, b) -} -func (m *GetDocumentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDocumentRequest.Marshal(b, m, deterministic) -} -func (m *GetDocumentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDocumentRequest.Merge(m, src) -} -func (m *GetDocumentRequest) XXX_Size() int { - return xxx_messageInfo_GetDocumentRequest.Size(m) -} -func (m *GetDocumentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetDocumentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetDocumentRequest proto.InternalMessageInfo - -func (m *GetDocumentRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for [Documents.CreateDocument][google.cloud.dialogflow.v2beta1.Documents.CreateDocument]. -type CreateDocumentRequest struct { - // Required. The knoweldge base to create a document for. - // Format: `projects//knowledgeBases/`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The document to create. - Document *Document `protobuf:"bytes,2,opt,name=document,proto3" json:"document,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2d3494516d3ece6c, []int{4} -} - -func (m *CreateDocumentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateDocumentRequest.Unmarshal(m, b) -} -func (m *CreateDocumentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateDocumentRequest.Marshal(b, m, deterministic) -} -func (m *CreateDocumentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateDocumentRequest.Merge(m, src) -} -func (m *CreateDocumentRequest) XXX_Size() int { - return xxx_messageInfo_CreateDocumentRequest.Size(m) -} -func (m *CreateDocumentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateDocumentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateDocumentRequest proto.InternalMessageInfo - -func (m *CreateDocumentRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateDocumentRequest) GetDocument() *Document { - if m != nil { - return m.Document - } - return nil -} - -// Request message for [Documents.DeleteDocument][google.cloud.dialogflow.v2beta1.Documents.DeleteDocument]. -type DeleteDocumentRequest struct { - // The name of the document to delete. - // Format: `projects//knowledgeBases//documents/`. - 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 *DeleteDocumentRequest) Reset() { *m = DeleteDocumentRequest{} } -func (m *DeleteDocumentRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteDocumentRequest) ProtoMessage() {} -func (*DeleteDocumentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2d3494516d3ece6c, []int{5} -} - -func (m *DeleteDocumentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteDocumentRequest.Unmarshal(m, b) -} -func (m *DeleteDocumentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteDocumentRequest.Marshal(b, m, deterministic) -} -func (m *DeleteDocumentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteDocumentRequest.Merge(m, src) -} -func (m *DeleteDocumentRequest) XXX_Size() int { - return xxx_messageInfo_DeleteDocumentRequest.Size(m) -} -func (m *DeleteDocumentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteDocumentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteDocumentRequest proto.InternalMessageInfo - -func (m *DeleteDocumentRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for [Documents.UpdateDocument][google.cloud.dialogflow.v2beta1.Documents.UpdateDocument]. -type UpdateDocumentRequest struct { - // Required. The document to update. - Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` - // Optional. Not specified means `update all`. - // Currently, only `display_name` can be updated, an InvalidArgument will be - // returned for attempting to update other fields. - 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 *UpdateDocumentRequest) Reset() { *m = UpdateDocumentRequest{} } -func (m *UpdateDocumentRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateDocumentRequest) ProtoMessage() {} -func (*UpdateDocumentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2d3494516d3ece6c, []int{6} -} - -func (m *UpdateDocumentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateDocumentRequest.Unmarshal(m, b) -} -func (m *UpdateDocumentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateDocumentRequest.Marshal(b, m, deterministic) -} -func (m *UpdateDocumentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateDocumentRequest.Merge(m, src) -} -func (m *UpdateDocumentRequest) XXX_Size() int { - return xxx_messageInfo_UpdateDocumentRequest.Size(m) -} -func (m *UpdateDocumentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateDocumentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateDocumentRequest proto.InternalMessageInfo - -func (m *UpdateDocumentRequest) GetDocument() *Document { - if m != nil { - return m.Document - } - return nil -} - -func (m *UpdateDocumentRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// Metadata in google::longrunning::Operation for Knowledge operations. -type KnowledgeOperationMetadata struct { - // Required. The current state of this operation. - State KnowledgeOperationMetadata_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata_State" json:"state,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *KnowledgeOperationMetadata) Reset() { *m = KnowledgeOperationMetadata{} } -func (m *KnowledgeOperationMetadata) String() string { return proto.CompactTextString(m) } -func (*KnowledgeOperationMetadata) ProtoMessage() {} -func (*KnowledgeOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_2d3494516d3ece6c, []int{7} -} - -func (m *KnowledgeOperationMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_KnowledgeOperationMetadata.Unmarshal(m, b) -} -func (m *KnowledgeOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_KnowledgeOperationMetadata.Marshal(b, m, deterministic) -} -func (m *KnowledgeOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_KnowledgeOperationMetadata.Merge(m, src) -} -func (m *KnowledgeOperationMetadata) XXX_Size() int { - return xxx_messageInfo_KnowledgeOperationMetadata.Size(m) -} -func (m *KnowledgeOperationMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_KnowledgeOperationMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_KnowledgeOperationMetadata proto.InternalMessageInfo - -func (m *KnowledgeOperationMetadata) GetState() KnowledgeOperationMetadata_State { - if m != nil { - return m.State - } - return KnowledgeOperationMetadata_STATE_UNSPECIFIED -} - -// Request message for [Documents.ReloadDocument][google.cloud.dialogflow.v2beta1.Documents.ReloadDocument]. -type ReloadDocumentRequest struct { - // The name of the document to reload. - // Format: `projects//knowledgeBases//documents/` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The source for document reloading. - // Optional. If provided, the service will load the contents from the source - // and update document in the knowledge base. - // - // Types that are valid to be assigned to Source: - // *ReloadDocumentRequest_GcsSource - Source isReloadDocumentRequest_Source `protobuf_oneof:"source"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ReloadDocumentRequest) Reset() { *m = ReloadDocumentRequest{} } -func (m *ReloadDocumentRequest) String() string { return proto.CompactTextString(m) } -func (*ReloadDocumentRequest) ProtoMessage() {} -func (*ReloadDocumentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2d3494516d3ece6c, []int{8} -} - -func (m *ReloadDocumentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReloadDocumentRequest.Unmarshal(m, b) -} -func (m *ReloadDocumentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReloadDocumentRequest.Marshal(b, m, deterministic) -} -func (m *ReloadDocumentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReloadDocumentRequest.Merge(m, src) -} -func (m *ReloadDocumentRequest) XXX_Size() int { - return xxx_messageInfo_ReloadDocumentRequest.Size(m) -} -func (m *ReloadDocumentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ReloadDocumentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ReloadDocumentRequest proto.InternalMessageInfo - -func (m *ReloadDocumentRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -type isReloadDocumentRequest_Source interface { - isReloadDocumentRequest_Source() -} - -type ReloadDocumentRequest_GcsSource struct { - GcsSource *GcsSource `protobuf:"bytes,3,opt,name=gcs_source,json=gcsSource,proto3,oneof"` -} - -func (*ReloadDocumentRequest_GcsSource) isReloadDocumentRequest_Source() {} - -func (m *ReloadDocumentRequest) GetSource() isReloadDocumentRequest_Source { - if m != nil { - return m.Source - } - return nil -} - -func (m *ReloadDocumentRequest) GetGcsSource() *GcsSource { - if x, ok := m.GetSource().(*ReloadDocumentRequest_GcsSource); ok { - return x.GcsSource - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ReloadDocumentRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ReloadDocumentRequest_GcsSource)(nil), - } -} - -func init() { - proto.RegisterEnum("google.cloud.dialogflow.v2beta1.Document_KnowledgeType", Document_KnowledgeType_name, Document_KnowledgeType_value) - proto.RegisterEnum("google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata_State", KnowledgeOperationMetadata_State_name, KnowledgeOperationMetadata_State_value) - proto.RegisterType((*Document)(nil), "google.cloud.dialogflow.v2beta1.Document") - proto.RegisterType((*ListDocumentsRequest)(nil), "google.cloud.dialogflow.v2beta1.ListDocumentsRequest") - proto.RegisterType((*ListDocumentsResponse)(nil), "google.cloud.dialogflow.v2beta1.ListDocumentsResponse") - proto.RegisterType((*GetDocumentRequest)(nil), "google.cloud.dialogflow.v2beta1.GetDocumentRequest") - proto.RegisterType((*CreateDocumentRequest)(nil), "google.cloud.dialogflow.v2beta1.CreateDocumentRequest") - proto.RegisterType((*DeleteDocumentRequest)(nil), "google.cloud.dialogflow.v2beta1.DeleteDocumentRequest") - proto.RegisterType((*UpdateDocumentRequest)(nil), "google.cloud.dialogflow.v2beta1.UpdateDocumentRequest") - proto.RegisterType((*KnowledgeOperationMetadata)(nil), "google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata") - proto.RegisterType((*ReloadDocumentRequest)(nil), "google.cloud.dialogflow.v2beta1.ReloadDocumentRequest") -} - -func init() { - proto.RegisterFile("google/cloud/dialogflow/v2beta1/document.proto", fileDescriptor_2d3494516d3ece6c) -} - -var fileDescriptor_2d3494516d3ece6c = []byte{ - // 1156 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x57, 0x4f, 0x6f, 0x1b, 0x45, - 0x14, 0xcf, 0x38, 0x4d, 0x6a, 0x3f, 0xd7, 0x6e, 0x3a, 0xc2, 0x60, 0x5c, 0xda, 0xa4, 0x5b, 0x09, - 0xa5, 0x06, 0x76, 0x85, 0x2b, 0xa8, 0x94, 0xaa, 0x80, 0x1d, 0x3b, 0x8e, 0x95, 0xd6, 0x71, 0x37, - 0x4e, 0x4b, 0x73, 0x31, 0x93, 0xf5, 0x64, 0xbb, 0xcd, 0x7a, 0x67, 0xd9, 0x19, 0xd7, 0x4d, 0x50, - 0x25, 0xda, 0x13, 0x27, 0x24, 0x84, 0x38, 0x71, 0x41, 0x5c, 0x90, 0xe0, 0x13, 0xf0, 0x15, 0x38, - 0xc2, 0x57, 0xe0, 0xc4, 0x89, 0x23, 0x17, 0x04, 0xda, 0xbf, 0xfe, 0x53, 0x27, 0x76, 0x92, 0x9b, - 0x67, 0xde, 0xef, 0xfd, 0xe6, 0xfd, 0xde, 0x9b, 0xf7, 0x76, 0x0c, 0xb2, 0xce, 0x98, 0x6e, 0x52, - 0x45, 0x33, 0x59, 0xb7, 0xad, 0xb4, 0x0d, 0x62, 0x32, 0x7d, 0xcf, 0x64, 0x3d, 0xe5, 0x69, 0x61, - 0x97, 0x0a, 0xf2, 0xbe, 0xd2, 0x66, 0x5a, 0xb7, 0x43, 0x2d, 0x21, 0xdb, 0x0e, 0x13, 0x0c, 0x2f, - 0xfa, 0x78, 0xd9, 0xc3, 0xcb, 0x7d, 0xbc, 0x1c, 0xe0, 0x73, 0x6f, 0x05, 0x84, 0xc4, 0x36, 0x14, - 0x62, 0x59, 0x4c, 0x10, 0x61, 0x30, 0x8b, 0xfb, 0xee, 0xb9, 0x1b, 0x93, 0x8e, 0xd3, 0xb5, 0x10, - 0x7a, 0x3d, 0x80, 0x9a, 0xcc, 0xd2, 0x9d, 0xae, 0x65, 0x19, 0x96, 0xae, 0x30, 0x9b, 0x3a, 0x43, - 0x7c, 0x97, 0x03, 0x90, 0xb7, 0xda, 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 0xad, 0x81, 0x30, 0xfc, 0x0b, 0x93, 0x72, 0xb7, 0x1b, 0x51, 0x28, 0xcb, 0x80, 0xab, 0x34, 0x0a, - 0x24, 0x14, 0x3d, 0xe6, 0xfe, 0x49, 0x4f, 0x21, 0xb3, 0xea, 0x50, 0x22, 0xe8, 0x28, 0xf8, 0xa8, - 0x0c, 0x55, 0x20, 0x1e, 0xc6, 0xe3, 0x9d, 0x7d, 0x22, 0x29, 0x91, 0xab, 0xf4, 0x0e, 0x64, 0xca, - 0xd4, 0xa4, 0xaf, 0x9e, 0x3b, 0x2e, 0xc8, 0xef, 0x11, 0x64, 0xb6, 0xed, 0xf6, 0x98, 0x28, 0x07, - 0xa3, 0x41, 0xa7, 0x8e, 0x06, 0xdf, 0x86, 0x64, 0xd7, 0xe3, 0xf7, 0xc6, 0x41, 0xa0, 0x2b, 0x17, - 0x32, 0x85, 0xf3, 0x40, 0x5e, 0x73, 0x27, 0xc6, 0x3d, 0xc2, 0xf7, 0x55, 0xf0, 0xe1, 0xee, 0x6f, - 0xe9, 0x57, 0x04, 0xb9, 0xe8, 0xee, 0x6e, 0x86, 0x33, 0xe9, 0x1e, 0x15, 0xa4, 0x4d, 0x04, 0xc1, - 0x0f, 0x61, 0xce, 0x9d, 0x15, 0xbe, 0xa2, 0x74, 0xa1, 0x38, 0x31, 0xbe, 0xa3, 0xb9, 0xe4, 0x2d, - 0x97, 0x48, 0xf5, 0xf9, 0xa4, 0x12, 0xcc, 0x79, 0x6b, 0x9c, 0x81, 0x4b, 0x5b, 0xcd, 0x62, 0x73, - 0xb4, 0x43, 0x92, 0x70, 0xbe, 0x51, 0xa9, 0x97, 0x6b, 0xf5, 0xea, 0x02, 0x72, 0x17, 0xea, 0x76, - 0xbd, 0xee, 0x2e, 0x62, 0x38, 0x0e, 0xe7, 0xca, 0x9b, 0xf5, 0xca, 0xc2, 0xac, 0xf4, 0x12, 0x41, - 0x46, 0xa5, 0x26, 0x23, 0xed, 0x29, 0xea, 0x80, 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 0x4a, 0xff, 0xcc, 0x23, 0xff, 0xe2, 0xdc, 0xee, 0x6f, 0xfd, 0x83, 0xd0, 0x8f, 0xb1, - 0x58, 0x79, 0xed, 0xe7, 0xd8, 0x62, 0xd5, 0xe7, 0x5c, 0xf5, 0xa2, 0x28, 0xf7, 0xa3, 0x78, 0xe0, - 0x3b, 0xed, 0xce, 0x7b, 0xfc, 0x37, 0xff, 0x0f, 0x00, 0x00, 0xff, 0xff, 0x79, 0x4b, 0x10, 0x3d, - 0xb0, 0x0d, 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 - -// DocumentsClient is the client API for Documents service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type DocumentsClient interface { - // Returns the list of all documents of the knowledge base. - // - // Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; - // only use `projects.knowledgeBases.documents`. - ListDocuments(ctx context.Context, in *ListDocumentsRequest, opts ...grpc.CallOption) (*ListDocumentsResponse, error) - // Retrieves the specified document. - // - // Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; - // only use `projects.knowledgeBases.documents`. - GetDocument(ctx context.Context, in *GetDocumentRequest, opts ...grpc.CallOption) (*Document, error) - // Creates a new document. - // - // Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; - // only use `projects.knowledgeBases.documents`. - // - // Operation - CreateDocument(ctx context.Context, in *CreateDocumentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Deletes the specified document. - // - // Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; - // only use `projects.knowledgeBases.documents`. - // - // Operation - DeleteDocument(ctx context.Context, in *DeleteDocumentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Updates the specified document. - // - // Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; - // only use `projects.knowledgeBases.documents`. - // - // Operation - UpdateDocument(ctx context.Context, in *UpdateDocumentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Reloads the specified document from its specified source, content_uri or - // content. The previously loaded content of the document will be deleted. - // Note: Even when the content of the document has not changed, there still - // may be side effects because of internal implementation changes. - // - // Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; - // only use `projects.knowledgeBases.documents`. - // - // Operation - ReloadDocument(ctx context.Context, in *ReloadDocumentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) -} - -type documentsClient struct { - cc *grpc.ClientConn -} - -func NewDocumentsClient(cc *grpc.ClientConn) DocumentsClient { - return &documentsClient{cc} -} - -func (c *documentsClient) ListDocuments(ctx context.Context, in *ListDocumentsRequest, opts ...grpc.CallOption) (*ListDocumentsResponse, error) { - out := new(ListDocumentsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Documents/ListDocuments", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *documentsClient) GetDocument(ctx context.Context, in *GetDocumentRequest, opts ...grpc.CallOption) (*Document, error) { - out := new(Document) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Documents/GetDocument", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *documentsClient) CreateDocument(ctx context.Context, in *CreateDocumentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Documents/CreateDocument", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *documentsClient) DeleteDocument(ctx context.Context, in *DeleteDocumentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Documents/DeleteDocument", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *documentsClient) UpdateDocument(ctx context.Context, in *UpdateDocumentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Documents/UpdateDocument", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *documentsClient) ReloadDocument(ctx context.Context, in *ReloadDocumentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Documents/ReloadDocument", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// DocumentsServer is the server API for Documents service. -type DocumentsServer interface { - // Returns the list of all documents of the knowledge base. - // - // Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; - // only use `projects.knowledgeBases.documents`. - ListDocuments(context.Context, *ListDocumentsRequest) (*ListDocumentsResponse, error) - // Retrieves the specified document. - // - // Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; - // only use `projects.knowledgeBases.documents`. - GetDocument(context.Context, *GetDocumentRequest) (*Document, error) - // Creates a new document. - // - // Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; - // only use `projects.knowledgeBases.documents`. - // - // Operation - CreateDocument(context.Context, *CreateDocumentRequest) (*longrunning.Operation, error) - // Deletes the specified document. - // - // Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; - // only use `projects.knowledgeBases.documents`. - // - // Operation - DeleteDocument(context.Context, *DeleteDocumentRequest) (*longrunning.Operation, error) - // Updates the specified document. - // - // Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; - // only use `projects.knowledgeBases.documents`. - // - // Operation - UpdateDocument(context.Context, *UpdateDocumentRequest) (*longrunning.Operation, error) - // Reloads the specified document from its specified source, content_uri or - // content. The previously loaded content of the document will be deleted. - // Note: Even when the content of the document has not changed, there still - // may be side effects because of internal implementation changes. - // - // Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; - // only use `projects.knowledgeBases.documents`. - // - // Operation - ReloadDocument(context.Context, *ReloadDocumentRequest) (*longrunning.Operation, error) -} - -// UnimplementedDocumentsServer can be embedded to have forward compatible implementations. -type UnimplementedDocumentsServer struct { -} - -func (*UnimplementedDocumentsServer) ListDocuments(ctx context.Context, req *ListDocumentsRequest) (*ListDocumentsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListDocuments not implemented") -} -func (*UnimplementedDocumentsServer) GetDocument(ctx context.Context, req *GetDocumentRequest) (*Document, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDocument not implemented") -} -func (*UnimplementedDocumentsServer) CreateDocument(ctx context.Context, req *CreateDocumentRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateDocument not implemented") -} -func (*UnimplementedDocumentsServer) DeleteDocument(ctx context.Context, req *DeleteDocumentRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteDocument not implemented") -} -func (*UnimplementedDocumentsServer) UpdateDocument(ctx context.Context, req *UpdateDocumentRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateDocument not implemented") -} -func (*UnimplementedDocumentsServer) ReloadDocument(ctx context.Context, req *ReloadDocumentRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ReloadDocument not implemented") -} - -func RegisterDocumentsServer(s *grpc.Server, srv DocumentsServer) { - s.RegisterService(&_Documents_serviceDesc, srv) -} - -func _Documents_ListDocuments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListDocumentsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DocumentsServer).ListDocuments(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.Documents/ListDocuments", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DocumentsServer).ListDocuments(ctx, req.(*ListDocumentsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Documents_GetDocument_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDocumentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DocumentsServer).GetDocument(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.Documents/GetDocument", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DocumentsServer).GetDocument(ctx, req.(*GetDocumentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Documents_CreateDocument_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateDocumentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DocumentsServer).CreateDocument(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.Documents/CreateDocument", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DocumentsServer).CreateDocument(ctx, req.(*CreateDocumentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Documents_DeleteDocument_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteDocumentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DocumentsServer).DeleteDocument(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.Documents/DeleteDocument", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DocumentsServer).DeleteDocument(ctx, req.(*DeleteDocumentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Documents_UpdateDocument_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateDocumentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DocumentsServer).UpdateDocument(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.Documents/UpdateDocument", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DocumentsServer).UpdateDocument(ctx, req.(*UpdateDocumentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Documents_ReloadDocument_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ReloadDocumentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DocumentsServer).ReloadDocument(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.Documents/ReloadDocument", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DocumentsServer).ReloadDocument(ctx, req.(*ReloadDocumentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Documents_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.dialogflow.v2beta1.Documents", - HandlerType: (*DocumentsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListDocuments", - Handler: _Documents_ListDocuments_Handler, - }, - { - MethodName: "GetDocument", - Handler: _Documents_GetDocument_Handler, - }, - { - MethodName: "CreateDocument", - Handler: _Documents_CreateDocument_Handler, - }, - { - MethodName: "DeleteDocument", - Handler: _Documents_DeleteDocument_Handler, - }, - { - MethodName: "UpdateDocument", - Handler: _Documents_UpdateDocument_Handler, - }, - { - MethodName: "ReloadDocument", - Handler: _Documents_ReloadDocument_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/dialogflow/v2beta1/document.proto", -} 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 deleted file mode 100644 index f8ee3ba0..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/entity_type.pb.go +++ /dev/null @@ -1,1644 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/dialogflow/v2beta1/entity_type.proto - -package dialogflow - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Represents kinds of entities. -type EntityType_Kind int32 - -const ( - // Not specified. This value should be never used. - EntityType_KIND_UNSPECIFIED EntityType_Kind = 0 - // Map entity types allow mapping of a group of synonyms to a canonical - // value. - EntityType_KIND_MAP EntityType_Kind = 1 - // List entity types contain a set of entries that do not map to canonical - // values. However, list entity types can contain references to other entity - // types (with or without aliases). - EntityType_KIND_LIST EntityType_Kind = 2 - // Regexp entity types allow to specify regular expressions in entries - // values. - EntityType_KIND_REGEXP EntityType_Kind = 3 -) - -var EntityType_Kind_name = map[int32]string{ - 0: "KIND_UNSPECIFIED", - 1: "KIND_MAP", - 2: "KIND_LIST", - 3: "KIND_REGEXP", -} - -var EntityType_Kind_value = map[string]int32{ - "KIND_UNSPECIFIED": 0, - "KIND_MAP": 1, - "KIND_LIST": 2, - "KIND_REGEXP": 3, -} - -func (x EntityType_Kind) String() string { - return proto.EnumName(EntityType_Kind_name, int32(x)) -} - -func (EntityType_Kind) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_270276916589f9d5, []int{0, 0} -} - -// Represents different entity type expansion modes. Automated expansion -// allows an agent to recognize values that have not been explicitly listed in -// the entity (for example, new kinds of shopping list items). -type EntityType_AutoExpansionMode int32 - -const ( - // Auto expansion disabled for the entity. - EntityType_AUTO_EXPANSION_MODE_UNSPECIFIED EntityType_AutoExpansionMode = 0 - // Allows an agent to recognize values that have not been explicitly - // listed in the entity. - EntityType_AUTO_EXPANSION_MODE_DEFAULT EntityType_AutoExpansionMode = 1 -) - -var EntityType_AutoExpansionMode_name = map[int32]string{ - 0: "AUTO_EXPANSION_MODE_UNSPECIFIED", - 1: "AUTO_EXPANSION_MODE_DEFAULT", -} - -var EntityType_AutoExpansionMode_value = map[string]int32{ - "AUTO_EXPANSION_MODE_UNSPECIFIED": 0, - "AUTO_EXPANSION_MODE_DEFAULT": 1, -} - -func (x EntityType_AutoExpansionMode) String() string { - return proto.EnumName(EntityType_AutoExpansionMode_name, int32(x)) -} - -func (EntityType_AutoExpansionMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_270276916589f9d5, []int{0, 1} -} - -// Represents an entity type. -// Entity types serve as a tool for extracting parameter values from natural -// language queries. -type EntityType struct { - // The unique identifier of the entity type. - // Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType] and - // [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes] methods. - // Format: `projects//agent/entityTypes/`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The name of the entity type. - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Required. Indicates the kind of entity type. - Kind EntityType_Kind `protobuf:"varint,3,opt,name=kind,proto3,enum=google.cloud.dialogflow.v2beta1.EntityType_Kind" json:"kind,omitempty"` - // Optional. Indicates whether the entity type can be automatically - // expanded. - AutoExpansionMode EntityType_AutoExpansionMode `protobuf:"varint,4,opt,name=auto_expansion_mode,json=autoExpansionMode,proto3,enum=google.cloud.dialogflow.v2beta1.EntityType_AutoExpansionMode" json:"auto_expansion_mode,omitempty"` - // Optional. The collection of entity entries associated with the entity type. - Entities []*EntityType_Entity `protobuf:"bytes,6,rep,name=entities,proto3" json:"entities,omitempty"` - // Optional. Enables fuzzy entity extraction during classification. - EnableFuzzyExtraction bool `protobuf:"varint,7,opt,name=enable_fuzzy_extraction,json=enableFuzzyExtraction,proto3" json:"enable_fuzzy_extraction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_270276916589f9d5, []int{0} -} - -func (m *EntityType) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EntityType.Unmarshal(m, b) -} -func (m *EntityType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EntityType.Marshal(b, m, deterministic) -} -func (m *EntityType) XXX_Merge(src proto.Message) { - xxx_messageInfo_EntityType.Merge(m, src) -} -func (m *EntityType) XXX_Size() int { - return xxx_messageInfo_EntityType.Size(m) -} -func (m *EntityType) XXX_DiscardUnknown() { - xxx_messageInfo_EntityType.DiscardUnknown(m) -} - -var xxx_messageInfo_EntityType proto.InternalMessageInfo - -func (m *EntityType) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *EntityType) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *EntityType) GetKind() EntityType_Kind { - if m != nil { - return m.Kind - } - return EntityType_KIND_UNSPECIFIED -} - -func (m *EntityType) GetAutoExpansionMode() EntityType_AutoExpansionMode { - if m != nil { - return m.AutoExpansionMode - } - return EntityType_AUTO_EXPANSION_MODE_UNSPECIFIED -} - -func (m *EntityType) GetEntities() []*EntityType_Entity { - if m != nil { - return m.Entities - } - return nil -} - -func (m *EntityType) GetEnableFuzzyExtraction() bool { - if m != nil { - return m.EnableFuzzyExtraction - } - return false -} - -// An **entity entry** for an associated entity type. -type EntityType_Entity struct { - // Required. The primary value associated with this entity entry. - // For example, if the entity type is *vegetable*, the value could be - // *scallions*. - // - // For `KIND_MAP` entity types: - // - // * A canonical value to be used in place of synonyms. - // - // For `KIND_LIST` entity types: - // - // * A string that can contain references to other entity types (with or - // without aliases). - Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` - // Required. A collection of value synonyms. For example, if the entity type - // is *vegetable*, and `value` is *scallions*, a synonym could be *green - // onions*. - // - // For `KIND_LIST` entity types: - // - // * This collection must contain exactly one synonym equal to `value`. - Synonyms []string `protobuf:"bytes,2,rep,name=synonyms,proto3" json:"synonyms,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_270276916589f9d5, []int{0, 0} -} - -func (m *EntityType_Entity) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EntityType_Entity.Unmarshal(m, b) -} -func (m *EntityType_Entity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EntityType_Entity.Marshal(b, m, deterministic) -} -func (m *EntityType_Entity) XXX_Merge(src proto.Message) { - xxx_messageInfo_EntityType_Entity.Merge(m, src) -} -func (m *EntityType_Entity) XXX_Size() int { - return xxx_messageInfo_EntityType_Entity.Size(m) -} -func (m *EntityType_Entity) XXX_DiscardUnknown() { - xxx_messageInfo_EntityType_Entity.DiscardUnknown(m) -} - -var xxx_messageInfo_EntityType_Entity proto.InternalMessageInfo - -func (m *EntityType_Entity) GetValue() string { - if m != nil { - return m.Value - } - return "" -} - -func (m *EntityType_Entity) GetSynonyms() []string { - if m != nil { - return m.Synonyms - } - return nil -} - -// The request message for [EntityTypes.ListEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.ListEntityTypes]. -type ListEntityTypesRequest struct { - // Required. The agent to list all entity types from. - // Format: `projects//agent`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. The language to list entity synonyms for. If not specified, - // the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // Optional. The maximum number of items to return in a single page. By - // default 100 and at most 1000. - PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional. The next_page_token value returned from a previous list request. - 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 *ListEntityTypesRequest) Reset() { *m = ListEntityTypesRequest{} } -func (m *ListEntityTypesRequest) String() string { return proto.CompactTextString(m) } -func (*ListEntityTypesRequest) ProtoMessage() {} -func (*ListEntityTypesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_270276916589f9d5, []int{1} -} - -func (m *ListEntityTypesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListEntityTypesRequest.Unmarshal(m, b) -} -func (m *ListEntityTypesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListEntityTypesRequest.Marshal(b, m, deterministic) -} -func (m *ListEntityTypesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListEntityTypesRequest.Merge(m, src) -} -func (m *ListEntityTypesRequest) XXX_Size() int { - return xxx_messageInfo_ListEntityTypesRequest.Size(m) -} -func (m *ListEntityTypesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListEntityTypesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListEntityTypesRequest proto.InternalMessageInfo - -func (m *ListEntityTypesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListEntityTypesRequest) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *ListEntityTypesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListEntityTypesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// The response message for [EntityTypes.ListEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.ListEntityTypes]. -type ListEntityTypesResponse struct { - // The list of agent entity types. There will be a maximum number of items - // returned based on the page_size field in the request. - EntityTypes []*EntityType `protobuf:"bytes,1,rep,name=entity_types,json=entityTypes,proto3" json:"entity_types,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 *ListEntityTypesResponse) Reset() { *m = ListEntityTypesResponse{} } -func (m *ListEntityTypesResponse) String() string { return proto.CompactTextString(m) } -func (*ListEntityTypesResponse) ProtoMessage() {} -func (*ListEntityTypesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_270276916589f9d5, []int{2} -} - -func (m *ListEntityTypesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListEntityTypesResponse.Unmarshal(m, b) -} -func (m *ListEntityTypesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListEntityTypesResponse.Marshal(b, m, deterministic) -} -func (m *ListEntityTypesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListEntityTypesResponse.Merge(m, src) -} -func (m *ListEntityTypesResponse) XXX_Size() int { - return xxx_messageInfo_ListEntityTypesResponse.Size(m) -} -func (m *ListEntityTypesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListEntityTypesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListEntityTypesResponse proto.InternalMessageInfo - -func (m *ListEntityTypesResponse) GetEntityTypes() []*EntityType { - if m != nil { - return m.EntityTypes - } - return nil -} - -func (m *ListEntityTypesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The request message for [EntityTypes.GetEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.GetEntityType]. -type GetEntityTypeRequest struct { - // Required. The name of the entity type. - // Format: `projects//agent/entityTypes/`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Optional. The language to retrieve entity synonyms for. If not specified, - // the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - 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 *GetEntityTypeRequest) Reset() { *m = GetEntityTypeRequest{} } -func (m *GetEntityTypeRequest) String() string { return proto.CompactTextString(m) } -func (*GetEntityTypeRequest) ProtoMessage() {} -func (*GetEntityTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_270276916589f9d5, []int{3} -} - -func (m *GetEntityTypeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetEntityTypeRequest.Unmarshal(m, b) -} -func (m *GetEntityTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetEntityTypeRequest.Marshal(b, m, deterministic) -} -func (m *GetEntityTypeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetEntityTypeRequest.Merge(m, src) -} -func (m *GetEntityTypeRequest) XXX_Size() int { - return xxx_messageInfo_GetEntityTypeRequest.Size(m) -} -func (m *GetEntityTypeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetEntityTypeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetEntityTypeRequest proto.InternalMessageInfo - -func (m *GetEntityTypeRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *GetEntityTypeRequest) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -// The request message for [EntityTypes.CreateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.CreateEntityType]. -type CreateEntityTypeRequest struct { - // Required. The agent to create a entity type for. - // Format: `projects//agent`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The entity type to create. - EntityType *EntityType `protobuf:"bytes,2,opt,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty"` - // Optional. The language of entity synonyms defined in `entity_type`. If not - // specified, the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - 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 *CreateEntityTypeRequest) Reset() { *m = CreateEntityTypeRequest{} } -func (m *CreateEntityTypeRequest) String() string { return proto.CompactTextString(m) } -func (*CreateEntityTypeRequest) ProtoMessage() {} -func (*CreateEntityTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_270276916589f9d5, []int{4} -} - -func (m *CreateEntityTypeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateEntityTypeRequest.Unmarshal(m, b) -} -func (m *CreateEntityTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateEntityTypeRequest.Marshal(b, m, deterministic) -} -func (m *CreateEntityTypeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateEntityTypeRequest.Merge(m, src) -} -func (m *CreateEntityTypeRequest) XXX_Size() int { - return xxx_messageInfo_CreateEntityTypeRequest.Size(m) -} -func (m *CreateEntityTypeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateEntityTypeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateEntityTypeRequest proto.InternalMessageInfo - -func (m *CreateEntityTypeRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateEntityTypeRequest) GetEntityType() *EntityType { - if m != nil { - return m.EntityType - } - return nil -} - -func (m *CreateEntityTypeRequest) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -// The request message for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType]. -type UpdateEntityTypeRequest struct { - // Required. The entity type to update. - EntityType *EntityType `protobuf:"bytes,1,opt,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty"` - // Optional. The language of entity synonyms defined in `entity_type`. If not - // specified, the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // Optional. The 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 *UpdateEntityTypeRequest) Reset() { *m = UpdateEntityTypeRequest{} } -func (m *UpdateEntityTypeRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateEntityTypeRequest) ProtoMessage() {} -func (*UpdateEntityTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_270276916589f9d5, []int{5} -} - -func (m *UpdateEntityTypeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateEntityTypeRequest.Unmarshal(m, b) -} -func (m *UpdateEntityTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateEntityTypeRequest.Marshal(b, m, deterministic) -} -func (m *UpdateEntityTypeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateEntityTypeRequest.Merge(m, src) -} -func (m *UpdateEntityTypeRequest) XXX_Size() int { - return xxx_messageInfo_UpdateEntityTypeRequest.Size(m) -} -func (m *UpdateEntityTypeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateEntityTypeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateEntityTypeRequest proto.InternalMessageInfo - -func (m *UpdateEntityTypeRequest) GetEntityType() *EntityType { - if m != nil { - return m.EntityType - } - return nil -} - -func (m *UpdateEntityTypeRequest) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *UpdateEntityTypeRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// The request message for [EntityTypes.DeleteEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.DeleteEntityType]. -type DeleteEntityTypeRequest struct { - // Required. The name of the entity type to delete. - // Format: `projects//agent/entityTypes/`. - 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 *DeleteEntityTypeRequest) Reset() { *m = DeleteEntityTypeRequest{} } -func (m *DeleteEntityTypeRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteEntityTypeRequest) ProtoMessage() {} -func (*DeleteEntityTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_270276916589f9d5, []int{6} -} - -func (m *DeleteEntityTypeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteEntityTypeRequest.Unmarshal(m, b) -} -func (m *DeleteEntityTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteEntityTypeRequest.Marshal(b, m, deterministic) -} -func (m *DeleteEntityTypeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteEntityTypeRequest.Merge(m, src) -} -func (m *DeleteEntityTypeRequest) XXX_Size() int { - return xxx_messageInfo_DeleteEntityTypeRequest.Size(m) -} -func (m *DeleteEntityTypeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteEntityTypeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteEntityTypeRequest proto.InternalMessageInfo - -func (m *DeleteEntityTypeRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The request message for [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes]. -type BatchUpdateEntityTypesRequest struct { - // Required. The name of the agent to update or create entity types in. - // Format: `projects//agent`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The source of the entity type batch. - // - // For each entity type in the batch: - // - // * If `name` is specified, we update an existing entity type. - // * If `name` is not specified, we create a new entity type. - // - // Types that are valid to be assigned to EntityTypeBatch: - // *BatchUpdateEntityTypesRequest_EntityTypeBatchUri - // *BatchUpdateEntityTypesRequest_EntityTypeBatchInline - EntityTypeBatch isBatchUpdateEntityTypesRequest_EntityTypeBatch `protobuf_oneof:"entity_type_batch"` - // Optional. The language of entity synonyms defined in `entity_types`. If not - // specified, the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - LanguageCode string `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // Optional. The mask to control which fields get updated. - UpdateMask *field_mask.FieldMask `protobuf:"bytes,5,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 *BatchUpdateEntityTypesRequest) Reset() { *m = BatchUpdateEntityTypesRequest{} } -func (m *BatchUpdateEntityTypesRequest) String() string { return proto.CompactTextString(m) } -func (*BatchUpdateEntityTypesRequest) ProtoMessage() {} -func (*BatchUpdateEntityTypesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_270276916589f9d5, []int{7} -} - -func (m *BatchUpdateEntityTypesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchUpdateEntityTypesRequest.Unmarshal(m, b) -} -func (m *BatchUpdateEntityTypesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchUpdateEntityTypesRequest.Marshal(b, m, deterministic) -} -func (m *BatchUpdateEntityTypesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchUpdateEntityTypesRequest.Merge(m, src) -} -func (m *BatchUpdateEntityTypesRequest) XXX_Size() int { - return xxx_messageInfo_BatchUpdateEntityTypesRequest.Size(m) -} -func (m *BatchUpdateEntityTypesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchUpdateEntityTypesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchUpdateEntityTypesRequest proto.InternalMessageInfo - -func (m *BatchUpdateEntityTypesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -type isBatchUpdateEntityTypesRequest_EntityTypeBatch interface { - isBatchUpdateEntityTypesRequest_EntityTypeBatch() -} - -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() { -} - -func (m *BatchUpdateEntityTypesRequest) GetEntityTypeBatch() isBatchUpdateEntityTypesRequest_EntityTypeBatch { - if m != nil { - return m.EntityTypeBatch - } - return nil -} - -func (m *BatchUpdateEntityTypesRequest) GetEntityTypeBatchUri() string { - if x, ok := m.GetEntityTypeBatch().(*BatchUpdateEntityTypesRequest_EntityTypeBatchUri); ok { - return x.EntityTypeBatchUri - } - return "" -} - -func (m *BatchUpdateEntityTypesRequest) GetEntityTypeBatchInline() *EntityTypeBatch { - if x, ok := m.GetEntityTypeBatch().(*BatchUpdateEntityTypesRequest_EntityTypeBatchInline); ok { - return x.EntityTypeBatchInline - } - return nil -} - -func (m *BatchUpdateEntityTypesRequest) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *BatchUpdateEntityTypesRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*BatchUpdateEntityTypesRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*BatchUpdateEntityTypesRequest_EntityTypeBatchUri)(nil), - (*BatchUpdateEntityTypesRequest_EntityTypeBatchInline)(nil), - } -} - -// The response message for [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes]. -type BatchUpdateEntityTypesResponse struct { - // The collection of updated or created entity types. - EntityTypes []*EntityType `protobuf:"bytes,1,rep,name=entity_types,json=entityTypes,proto3" json:"entity_types,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchUpdateEntityTypesResponse) Reset() { *m = BatchUpdateEntityTypesResponse{} } -func (m *BatchUpdateEntityTypesResponse) String() string { return proto.CompactTextString(m) } -func (*BatchUpdateEntityTypesResponse) ProtoMessage() {} -func (*BatchUpdateEntityTypesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_270276916589f9d5, []int{8} -} - -func (m *BatchUpdateEntityTypesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchUpdateEntityTypesResponse.Unmarshal(m, b) -} -func (m *BatchUpdateEntityTypesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchUpdateEntityTypesResponse.Marshal(b, m, deterministic) -} -func (m *BatchUpdateEntityTypesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchUpdateEntityTypesResponse.Merge(m, src) -} -func (m *BatchUpdateEntityTypesResponse) XXX_Size() int { - return xxx_messageInfo_BatchUpdateEntityTypesResponse.Size(m) -} -func (m *BatchUpdateEntityTypesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BatchUpdateEntityTypesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchUpdateEntityTypesResponse proto.InternalMessageInfo - -func (m *BatchUpdateEntityTypesResponse) GetEntityTypes() []*EntityType { - if m != nil { - return m.EntityTypes - } - return nil -} - -// The request message for [EntityTypes.BatchDeleteEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntityTypes]. -type BatchDeleteEntityTypesRequest struct { - // Required. The name of the agent to delete all entities types for. Format: - // `projects//agent`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The names entity types to delete. All names must point to the - // same agent as `parent`. - EntityTypeNames []string `protobuf:"bytes,2,rep,name=entity_type_names,json=entityTypeNames,proto3" json:"entity_type_names,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchDeleteEntityTypesRequest) Reset() { *m = BatchDeleteEntityTypesRequest{} } -func (m *BatchDeleteEntityTypesRequest) String() string { return proto.CompactTextString(m) } -func (*BatchDeleteEntityTypesRequest) ProtoMessage() {} -func (*BatchDeleteEntityTypesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_270276916589f9d5, []int{9} -} - -func (m *BatchDeleteEntityTypesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchDeleteEntityTypesRequest.Unmarshal(m, b) -} -func (m *BatchDeleteEntityTypesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchDeleteEntityTypesRequest.Marshal(b, m, deterministic) -} -func (m *BatchDeleteEntityTypesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchDeleteEntityTypesRequest.Merge(m, src) -} -func (m *BatchDeleteEntityTypesRequest) XXX_Size() int { - return xxx_messageInfo_BatchDeleteEntityTypesRequest.Size(m) -} -func (m *BatchDeleteEntityTypesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchDeleteEntityTypesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchDeleteEntityTypesRequest proto.InternalMessageInfo - -func (m *BatchDeleteEntityTypesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *BatchDeleteEntityTypesRequest) GetEntityTypeNames() []string { - if m != nil { - return m.EntityTypeNames - } - return nil -} - -// The request message for [EntityTypes.BatchCreateEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchCreateEntities]. -type BatchCreateEntitiesRequest struct { - // Required. The name of the entity type to create entities in. Format: - // `projects//agent/entityTypes/`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The entities to create. - Entities []*EntityType_Entity `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"` - // Optional. The language of entity synonyms defined in `entities`. If not - // specified, the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - 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 *BatchCreateEntitiesRequest) Reset() { *m = BatchCreateEntitiesRequest{} } -func (m *BatchCreateEntitiesRequest) String() string { return proto.CompactTextString(m) } -func (*BatchCreateEntitiesRequest) ProtoMessage() {} -func (*BatchCreateEntitiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_270276916589f9d5, []int{10} -} - -func (m *BatchCreateEntitiesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchCreateEntitiesRequest.Unmarshal(m, b) -} -func (m *BatchCreateEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchCreateEntitiesRequest.Marshal(b, m, deterministic) -} -func (m *BatchCreateEntitiesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchCreateEntitiesRequest.Merge(m, src) -} -func (m *BatchCreateEntitiesRequest) XXX_Size() int { - return xxx_messageInfo_BatchCreateEntitiesRequest.Size(m) -} -func (m *BatchCreateEntitiesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchCreateEntitiesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchCreateEntitiesRequest proto.InternalMessageInfo - -func (m *BatchCreateEntitiesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *BatchCreateEntitiesRequest) GetEntities() []*EntityType_Entity { - if m != nil { - return m.Entities - } - return nil -} - -func (m *BatchCreateEntitiesRequest) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -// The request message for [EntityTypes.BatchUpdateEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntities]. -type BatchUpdateEntitiesRequest struct { - // Required. The name of the entity type to update or create entities in. - // Format: `projects//agent/entityTypes/`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The entities to update or create. - Entities []*EntityType_Entity `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"` - // Optional. The language of entity synonyms defined in `entities`. If not - // specified, the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // Optional. The mask to control which fields get updated. - 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:"-"` -} - -func (m *BatchUpdateEntitiesRequest) Reset() { *m = BatchUpdateEntitiesRequest{} } -func (m *BatchUpdateEntitiesRequest) String() string { return proto.CompactTextString(m) } -func (*BatchUpdateEntitiesRequest) ProtoMessage() {} -func (*BatchUpdateEntitiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_270276916589f9d5, []int{11} -} - -func (m *BatchUpdateEntitiesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchUpdateEntitiesRequest.Unmarshal(m, b) -} -func (m *BatchUpdateEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchUpdateEntitiesRequest.Marshal(b, m, deterministic) -} -func (m *BatchUpdateEntitiesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchUpdateEntitiesRequest.Merge(m, src) -} -func (m *BatchUpdateEntitiesRequest) XXX_Size() int { - return xxx_messageInfo_BatchUpdateEntitiesRequest.Size(m) -} -func (m *BatchUpdateEntitiesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchUpdateEntitiesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchUpdateEntitiesRequest proto.InternalMessageInfo - -func (m *BatchUpdateEntitiesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *BatchUpdateEntitiesRequest) GetEntities() []*EntityType_Entity { - if m != nil { - return m.Entities - } - return nil -} - -func (m *BatchUpdateEntitiesRequest) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *BatchUpdateEntitiesRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// The request message for [EntityTypes.BatchDeleteEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntities]. -type BatchDeleteEntitiesRequest struct { - // Required. The name of the entity type to delete entries for. Format: - // `projects//agent/entityTypes/`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The canonical `values` of the entities to delete. Note that - // these are not fully-qualified names, i.e. they don't start with - // `projects/`. - EntityValues []string `protobuf:"bytes,2,rep,name=entity_values,json=entityValues,proto3" json:"entity_values,omitempty"` - // Optional. The language of entity synonyms defined in `entities`. If not - // specified, the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - 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 *BatchDeleteEntitiesRequest) Reset() { *m = BatchDeleteEntitiesRequest{} } -func (m *BatchDeleteEntitiesRequest) String() string { return proto.CompactTextString(m) } -func (*BatchDeleteEntitiesRequest) ProtoMessage() {} -func (*BatchDeleteEntitiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_270276916589f9d5, []int{12} -} - -func (m *BatchDeleteEntitiesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchDeleteEntitiesRequest.Unmarshal(m, b) -} -func (m *BatchDeleteEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchDeleteEntitiesRequest.Marshal(b, m, deterministic) -} -func (m *BatchDeleteEntitiesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchDeleteEntitiesRequest.Merge(m, src) -} -func (m *BatchDeleteEntitiesRequest) XXX_Size() int { - return xxx_messageInfo_BatchDeleteEntitiesRequest.Size(m) -} -func (m *BatchDeleteEntitiesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchDeleteEntitiesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchDeleteEntitiesRequest proto.InternalMessageInfo - -func (m *BatchDeleteEntitiesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *BatchDeleteEntitiesRequest) GetEntityValues() []string { - if m != nil { - return m.EntityValues - } - return nil -} - -func (m *BatchDeleteEntitiesRequest) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -// This message is a wrapper around a collection of entity types. -type EntityTypeBatch struct { - // A collection of entity types. - EntityTypes []*EntityType `protobuf:"bytes,1,rep,name=entity_types,json=entityTypes,proto3" json:"entity_types,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_270276916589f9d5, []int{13} -} - -func (m *EntityTypeBatch) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EntityTypeBatch.Unmarshal(m, b) -} -func (m *EntityTypeBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EntityTypeBatch.Marshal(b, m, deterministic) -} -func (m *EntityTypeBatch) XXX_Merge(src proto.Message) { - xxx_messageInfo_EntityTypeBatch.Merge(m, src) -} -func (m *EntityTypeBatch) XXX_Size() int { - return xxx_messageInfo_EntityTypeBatch.Size(m) -} -func (m *EntityTypeBatch) XXX_DiscardUnknown() { - xxx_messageInfo_EntityTypeBatch.DiscardUnknown(m) -} - -var xxx_messageInfo_EntityTypeBatch proto.InternalMessageInfo - -func (m *EntityTypeBatch) GetEntityTypes() []*EntityType { - if m != nil { - return m.EntityTypes - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.dialogflow.v2beta1.EntityType_Kind", EntityType_Kind_name, EntityType_Kind_value) - proto.RegisterEnum("google.cloud.dialogflow.v2beta1.EntityType_AutoExpansionMode", EntityType_AutoExpansionMode_name, EntityType_AutoExpansionMode_value) - proto.RegisterType((*EntityType)(nil), "google.cloud.dialogflow.v2beta1.EntityType") - proto.RegisterType((*EntityType_Entity)(nil), "google.cloud.dialogflow.v2beta1.EntityType.Entity") - proto.RegisterType((*ListEntityTypesRequest)(nil), "google.cloud.dialogflow.v2beta1.ListEntityTypesRequest") - proto.RegisterType((*ListEntityTypesResponse)(nil), "google.cloud.dialogflow.v2beta1.ListEntityTypesResponse") - proto.RegisterType((*GetEntityTypeRequest)(nil), "google.cloud.dialogflow.v2beta1.GetEntityTypeRequest") - proto.RegisterType((*CreateEntityTypeRequest)(nil), "google.cloud.dialogflow.v2beta1.CreateEntityTypeRequest") - proto.RegisterType((*UpdateEntityTypeRequest)(nil), "google.cloud.dialogflow.v2beta1.UpdateEntityTypeRequest") - proto.RegisterType((*DeleteEntityTypeRequest)(nil), "google.cloud.dialogflow.v2beta1.DeleteEntityTypeRequest") - proto.RegisterType((*BatchUpdateEntityTypesRequest)(nil), "google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesRequest") - proto.RegisterType((*BatchUpdateEntityTypesResponse)(nil), "google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesResponse") - proto.RegisterType((*BatchDeleteEntityTypesRequest)(nil), "google.cloud.dialogflow.v2beta1.BatchDeleteEntityTypesRequest") - proto.RegisterType((*BatchCreateEntitiesRequest)(nil), "google.cloud.dialogflow.v2beta1.BatchCreateEntitiesRequest") - proto.RegisterType((*BatchUpdateEntitiesRequest)(nil), "google.cloud.dialogflow.v2beta1.BatchUpdateEntitiesRequest") - proto.RegisterType((*BatchDeleteEntitiesRequest)(nil), "google.cloud.dialogflow.v2beta1.BatchDeleteEntitiesRequest") - proto.RegisterType((*EntityTypeBatch)(nil), "google.cloud.dialogflow.v2beta1.EntityTypeBatch") -} - -func init() { - proto.RegisterFile("google/cloud/dialogflow/v2beta1/entity_type.proto", fileDescriptor_270276916589f9d5) -} - -var fileDescriptor_270276916589f9d5 = []byte{ - // 1448 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xdb, 0x6f, 0x1b, 0x45, - 0x17, 0xef, 0x3a, 0x6e, 0xbe, 0x64, 0x9c, 0x7c, 0x71, 0xa7, 0x6d, 0xe2, 0xba, 0x5f, 0xbf, 0x84, - 0x8d, 0x84, 0xa2, 0x40, 0xbd, 0xd4, 0x15, 0x17, 0xa5, 0x14, 0xc9, 0x89, 0xed, 0xd6, 0x34, 0x17, - 0xb3, 0x49, 0xaa, 0x36, 0x2f, 0xab, 0xb1, 0x3d, 0x71, 0x96, 0xac, 0x67, 0x96, 0xdd, 0x71, 0x1b, - 0x07, 0x15, 0x09, 0x9e, 0x90, 0x00, 0x21, 0xd4, 0x67, 0x24, 0x54, 0x90, 0x50, 0x91, 0xf8, 0x43, - 0xe0, 0x09, 0xc1, 0x1b, 0xaf, 0x20, 0x24, 0xfe, 0x03, 0xc4, 0x13, 0xda, 0x99, 0xb5, 0x77, 0xbd, - 0x5e, 0x77, 0xbd, 0x6a, 0x5a, 0xf1, 0xe6, 0xb9, 0x9c, 0xcb, 0xef, 0x77, 0xce, 0x99, 0x73, 0xbc, - 0xe0, 0x4a, 0x93, 0xd2, 0xa6, 0x81, 0x95, 0xba, 0x41, 0xdb, 0x0d, 0xa5, 0xa1, 0x23, 0x83, 0x36, - 0xf7, 0x0d, 0x7a, 0x5f, 0xb9, 0x97, 0xaf, 0x61, 0x86, 0xae, 0x28, 0x98, 0x30, 0x9d, 0x75, 0x34, - 0xd6, 0x31, 0x71, 0xce, 0xb4, 0x28, 0xa3, 0x70, 0x5e, 0x88, 0xe4, 0xb8, 0x48, 0xce, 0x13, 0xc9, - 0xb9, 0x22, 0xd9, 0xff, 0xb9, 0x3a, 0x91, 0xa9, 0x2b, 0x88, 0x10, 0xca, 0x10, 0xd3, 0x29, 0xb1, - 0x85, 0x78, 0x76, 0xde, 0x77, 0xba, 0xaf, 0x63, 0xa3, 0xa1, 0xd5, 0xf0, 0x01, 0xba, 0xa7, 0x53, - 0xcb, 0xbd, 0x70, 0xc1, 0x77, 0xc1, 0xc2, 0x36, 0x6d, 0x5b, 0x75, 0xd7, 0x74, 0x76, 0xd1, 0x3d, - 0x32, 0x28, 0x69, 0x5a, 0x6d, 0x42, 0x74, 0xd2, 0x54, 0xa8, 0x89, 0xad, 0x3e, 0x03, 0x17, 0xdd, - 0x4b, 0x7c, 0x55, 0x6b, 0xef, 0x2b, 0xb8, 0x65, 0xb2, 0x8e, 0x7b, 0xb8, 0x10, 0x3c, 0x14, 0x2e, - 0xb4, 0x90, 0x7d, 0xe8, 0xde, 0x98, 0xf3, 0x99, 0xaf, 0x1b, 0x3a, 0x26, 0x4c, 0x1c, 0xc8, 0xbf, - 0x25, 0x01, 0x28, 0x71, 0x36, 0x76, 0x3a, 0x26, 0x86, 0x10, 0x24, 0x09, 0x6a, 0xe1, 0x8c, 0xb4, - 0x20, 0x2d, 0x4d, 0xaa, 0xfc, 0x37, 0x7c, 0x01, 0x4c, 0x35, 0x74, 0xdb, 0x34, 0x50, 0x47, 0xe3, - 0x67, 0x09, 0x7e, 0x96, 0x72, 0xf7, 0x36, 0x9d, 0x2b, 0x45, 0x90, 0x3c, 0xd4, 0x49, 0x23, 0x33, - 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7, 0x8f, 0x80, 0x33, 0xed, - 0x6c, 0x57, 0x7b, 0x3e, 0x6d, 0x81, 0x73, 0x37, 0xb0, 0xcf, 0xa3, 0x2e, 0x49, 0x61, 0x65, 0x39, - 0x0a, 0x41, 0xf2, 0x37, 0x12, 0x98, 0x5b, 0xb3, 0x30, 0x62, 0x78, 0x50, 0xe9, 0x30, 0xe6, 0xd7, - 0x41, 0xca, 0x07, 0x9e, 0xab, 0x8d, 0x89, 0x1d, 0x78, 0xd8, 0x07, 0xdd, 0x1c, 0x0b, 0x71, 0xf3, - 0x07, 0x09, 0xcc, 0xed, 0x9a, 0x8d, 0x50, 0x37, 0x03, 0xee, 0x48, 0x27, 0xec, 0x4e, 0x58, 0x5a, - 0x5d, 0x03, 0xa9, 0x36, 0xf7, 0x86, 0x3f, 0xa1, 0xdc, 0xe3, 0x54, 0x3e, 0xdb, 0x35, 0xd9, 0x7d, - 0x65, 0x73, 0x65, 0xe7, 0x95, 0xdd, 0x40, 0xf6, 0xa1, 0x0a, 0xc4, 0x75, 0xe7, 0xb7, 0x7c, 0x19, - 0xcc, 0x15, 0xb1, 0x81, 0xc3, 0xa0, 0x84, 0x84, 0x51, 0xfe, 0x29, 0x01, 0x2e, 0xad, 0x22, 0x56, - 0x3f, 0x08, 0xe2, 0x8f, 0xac, 0x90, 0xab, 0xe0, 0xbc, 0x8f, 0x18, 0xad, 0xe6, 0x28, 0xd1, 0xda, - 0x96, 0x2e, 0x20, 0xdd, 0x3c, 0xa5, 0x42, 0x0f, 0xb7, 0xb0, 0x60, 0xe9, 0xf0, 0x10, 0x64, 0x06, - 0x85, 0x74, 0x62, 0xe8, 0x04, 0xbb, 0x38, 0xe3, 0xbc, 0xde, 0x5c, 0xed, 0xcd, 0x53, 0xea, 0xf9, - 0x80, 0xa5, 0x0a, 0x57, 0x38, 0x48, 0x76, 0x32, 0x9a, 0xec, 0xd3, 0x71, 0xc8, 0x5e, 0x3d, 0x0b, - 0xce, 0x0c, 0xc0, 0x91, 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0xc5, 0xb3, 0x3a, 0xf4, 0x5b, 0xf5, 0x35, 0x6f, 0xeb, - 0x2f, 0x49, 0x7a, 0x94, 0x48, 0x14, 0xcb, 0xdf, 0x25, 0xe6, 0x6f, 0x08, 0x9d, 0x6b, 0xdc, 0x8f, - 0xa2, 0xe7, 0xc7, 0x6d, 0x21, 0x54, 0x1b, 0xe7, 0xfa, 0xaf, 0xfe, 0x13, 0x00, 0x00, 0xff, 0xff, - 0xc7, 0x8e, 0xa9, 0x8f, 0x0a, 0x17, 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 - -// EntityTypesClient is the client API for EntityTypes service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type EntityTypesClient interface { - // Returns the list of all entity types in the specified agent. - ListEntityTypes(ctx context.Context, in *ListEntityTypesRequest, opts ...grpc.CallOption) (*ListEntityTypesResponse, error) - // Retrieves the specified entity type. - GetEntityType(ctx context.Context, in *GetEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error) - // Creates an entity type in the specified agent. - CreateEntityType(ctx context.Context, in *CreateEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error) - // Updates the specified entity type. - UpdateEntityType(ctx context.Context, in *UpdateEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error) - // Deletes the specified entity type. - DeleteEntityType(ctx context.Context, in *DeleteEntityTypeRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Updates/Creates multiple entity types in the specified agent. - // - // Operation - BatchUpdateEntityTypes(ctx context.Context, in *BatchUpdateEntityTypesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Deletes entity types in the specified agent. - // - // Operation - BatchDeleteEntityTypes(ctx context.Context, in *BatchDeleteEntityTypesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Creates multiple new entities in the specified entity type. - // - // Operation - BatchCreateEntities(ctx context.Context, in *BatchCreateEntitiesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Updates or creates multiple entities in the specified entity type. This - // method does not affect entities in the entity type that aren't explicitly - // specified in the request. - // - // Operation - BatchUpdateEntities(ctx context.Context, in *BatchUpdateEntitiesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Deletes entities in the specified entity type. - // - // Operation - BatchDeleteEntities(ctx context.Context, in *BatchDeleteEntitiesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) -} - -type entityTypesClient struct { - cc *grpc.ClientConn -} - -func NewEntityTypesClient(cc *grpc.ClientConn) EntityTypesClient { - return &entityTypesClient{cc} -} - -func (c *entityTypesClient) ListEntityTypes(ctx context.Context, in *ListEntityTypesRequest, opts ...grpc.CallOption) (*ListEntityTypesResponse, error) { - out := new(ListEntityTypesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.EntityTypes/ListEntityTypes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *entityTypesClient) GetEntityType(ctx context.Context, in *GetEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error) { - out := new(EntityType) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.EntityTypes/GetEntityType", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *entityTypesClient) CreateEntityType(ctx context.Context, in *CreateEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error) { - out := new(EntityType) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.EntityTypes/CreateEntityType", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *entityTypesClient) UpdateEntityType(ctx context.Context, in *UpdateEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error) { - out := new(EntityType) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.EntityTypes/UpdateEntityType", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *entityTypesClient) DeleteEntityType(ctx context.Context, in *DeleteEntityTypeRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.EntityTypes/DeleteEntityType", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *entityTypesClient) BatchUpdateEntityTypes(ctx context.Context, in *BatchUpdateEntityTypesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.EntityTypes/BatchUpdateEntityTypes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *entityTypesClient) BatchDeleteEntityTypes(ctx context.Context, in *BatchDeleteEntityTypesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.EntityTypes/BatchDeleteEntityTypes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *entityTypesClient) BatchCreateEntities(ctx context.Context, in *BatchCreateEntitiesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.EntityTypes/BatchCreateEntities", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *entityTypesClient) BatchUpdateEntities(ctx context.Context, in *BatchUpdateEntitiesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.EntityTypes/BatchUpdateEntities", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *entityTypesClient) BatchDeleteEntities(ctx context.Context, in *BatchDeleteEntitiesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.EntityTypes/BatchDeleteEntities", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// EntityTypesServer is the server API for EntityTypes service. -type EntityTypesServer interface { - // Returns the list of all entity types in the specified agent. - ListEntityTypes(context.Context, *ListEntityTypesRequest) (*ListEntityTypesResponse, error) - // Retrieves the specified entity type. - GetEntityType(context.Context, *GetEntityTypeRequest) (*EntityType, error) - // Creates an entity type in the specified agent. - CreateEntityType(context.Context, *CreateEntityTypeRequest) (*EntityType, error) - // Updates the specified entity type. - UpdateEntityType(context.Context, *UpdateEntityTypeRequest) (*EntityType, error) - // Deletes the specified entity type. - DeleteEntityType(context.Context, *DeleteEntityTypeRequest) (*empty.Empty, error) - // Updates/Creates multiple entity types in the specified agent. - // - // Operation - BatchUpdateEntityTypes(context.Context, *BatchUpdateEntityTypesRequest) (*longrunning.Operation, error) - // Deletes entity types in the specified agent. - // - // Operation - BatchDeleteEntityTypes(context.Context, *BatchDeleteEntityTypesRequest) (*longrunning.Operation, error) - // Creates multiple new entities in the specified entity type. - // - // Operation - BatchCreateEntities(context.Context, *BatchCreateEntitiesRequest) (*longrunning.Operation, error) - // Updates or creates multiple entities in the specified entity type. This - // method does not affect entities in the entity type that aren't explicitly - // specified in the request. - // - // Operation - BatchUpdateEntities(context.Context, *BatchUpdateEntitiesRequest) (*longrunning.Operation, error) - // Deletes entities in the specified entity type. - // - // Operation - BatchDeleteEntities(context.Context, *BatchDeleteEntitiesRequest) (*longrunning.Operation, error) -} - -// UnimplementedEntityTypesServer can be embedded to have forward compatible implementations. -type UnimplementedEntityTypesServer struct { -} - -func (*UnimplementedEntityTypesServer) ListEntityTypes(ctx context.Context, req *ListEntityTypesRequest) (*ListEntityTypesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListEntityTypes not implemented") -} -func (*UnimplementedEntityTypesServer) GetEntityType(ctx context.Context, req *GetEntityTypeRequest) (*EntityType, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetEntityType not implemented") -} -func (*UnimplementedEntityTypesServer) CreateEntityType(ctx context.Context, req *CreateEntityTypeRequest) (*EntityType, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateEntityType not implemented") -} -func (*UnimplementedEntityTypesServer) UpdateEntityType(ctx context.Context, req *UpdateEntityTypeRequest) (*EntityType, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateEntityType not implemented") -} -func (*UnimplementedEntityTypesServer) DeleteEntityType(ctx context.Context, req *DeleteEntityTypeRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteEntityType not implemented") -} -func (*UnimplementedEntityTypesServer) BatchUpdateEntityTypes(ctx context.Context, req *BatchUpdateEntityTypesRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method BatchUpdateEntityTypes not implemented") -} -func (*UnimplementedEntityTypesServer) BatchDeleteEntityTypes(ctx context.Context, req *BatchDeleteEntityTypesRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method BatchDeleteEntityTypes not implemented") -} -func (*UnimplementedEntityTypesServer) BatchCreateEntities(ctx context.Context, req *BatchCreateEntitiesRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method BatchCreateEntities not implemented") -} -func (*UnimplementedEntityTypesServer) BatchUpdateEntities(ctx context.Context, req *BatchUpdateEntitiesRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method BatchUpdateEntities not implemented") -} -func (*UnimplementedEntityTypesServer) BatchDeleteEntities(ctx context.Context, req *BatchDeleteEntitiesRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method BatchDeleteEntities not implemented") -} - -func RegisterEntityTypesServer(s *grpc.Server, srv EntityTypesServer) { - s.RegisterService(&_EntityTypes_serviceDesc, srv) -} - -func _EntityTypes_ListEntityTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListEntityTypesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EntityTypesServer).ListEntityTypes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.EntityTypes/ListEntityTypes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EntityTypesServer).ListEntityTypes(ctx, req.(*ListEntityTypesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _EntityTypes_GetEntityType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetEntityTypeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EntityTypesServer).GetEntityType(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.EntityTypes/GetEntityType", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EntityTypesServer).GetEntityType(ctx, req.(*GetEntityTypeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _EntityTypes_CreateEntityType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateEntityTypeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EntityTypesServer).CreateEntityType(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.EntityTypes/CreateEntityType", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EntityTypesServer).CreateEntityType(ctx, req.(*CreateEntityTypeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _EntityTypes_UpdateEntityType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateEntityTypeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EntityTypesServer).UpdateEntityType(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.EntityTypes/UpdateEntityType", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EntityTypesServer).UpdateEntityType(ctx, req.(*UpdateEntityTypeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _EntityTypes_DeleteEntityType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteEntityTypeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EntityTypesServer).DeleteEntityType(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.EntityTypes/DeleteEntityType", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EntityTypesServer).DeleteEntityType(ctx, req.(*DeleteEntityTypeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _EntityTypes_BatchUpdateEntityTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchUpdateEntityTypesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EntityTypesServer).BatchUpdateEntityTypes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.EntityTypes/BatchUpdateEntityTypes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EntityTypesServer).BatchUpdateEntityTypes(ctx, req.(*BatchUpdateEntityTypesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _EntityTypes_BatchDeleteEntityTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchDeleteEntityTypesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EntityTypesServer).BatchDeleteEntityTypes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.EntityTypes/BatchDeleteEntityTypes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EntityTypesServer).BatchDeleteEntityTypes(ctx, req.(*BatchDeleteEntityTypesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _EntityTypes_BatchCreateEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchCreateEntitiesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EntityTypesServer).BatchCreateEntities(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.EntityTypes/BatchCreateEntities", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EntityTypesServer).BatchCreateEntities(ctx, req.(*BatchCreateEntitiesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _EntityTypes_BatchUpdateEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchUpdateEntitiesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EntityTypesServer).BatchUpdateEntities(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.EntityTypes/BatchUpdateEntities", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EntityTypesServer).BatchUpdateEntities(ctx, req.(*BatchUpdateEntitiesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _EntityTypes_BatchDeleteEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchDeleteEntitiesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EntityTypesServer).BatchDeleteEntities(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.EntityTypes/BatchDeleteEntities", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EntityTypesServer).BatchDeleteEntities(ctx, req.(*BatchDeleteEntitiesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _EntityTypes_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.dialogflow.v2beta1.EntityTypes", - HandlerType: (*EntityTypesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListEntityTypes", - Handler: _EntityTypes_ListEntityTypes_Handler, - }, - { - MethodName: "GetEntityType", - Handler: _EntityTypes_GetEntityType_Handler, - }, - { - MethodName: "CreateEntityType", - Handler: _EntityTypes_CreateEntityType_Handler, - }, - { - MethodName: "UpdateEntityType", - Handler: _EntityTypes_UpdateEntityType_Handler, - }, - { - MethodName: "DeleteEntityType", - Handler: _EntityTypes_DeleteEntityType_Handler, - }, - { - MethodName: "BatchUpdateEntityTypes", - Handler: _EntityTypes_BatchUpdateEntityTypes_Handler, - }, - { - MethodName: "BatchDeleteEntityTypes", - Handler: _EntityTypes_BatchDeleteEntityTypes_Handler, - }, - { - MethodName: "BatchCreateEntities", - Handler: _EntityTypes_BatchCreateEntities_Handler, - }, - { - MethodName: "BatchUpdateEntities", - Handler: _EntityTypes_BatchUpdateEntities_Handler, - }, - { - MethodName: "BatchDeleteEntities", - Handler: _EntityTypes_BatchDeleteEntities_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/dialogflow/v2beta1/entity_type.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/gcs.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/gcs.pb.go deleted file mode 100644 index a43450ba..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/gcs.pb.go +++ /dev/null @@ -1,93 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/dialogflow/v2beta1/gcs.proto - -package dialogflow - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Google Cloud Storage location for single input. -type GcsSource struct { - // Required. The Google Cloud Storage URIs for the inputs. A URI is of the - // form: - // gs://bucket/object-prefix-or-name - // Whether a prefix or name is used depends on the use case. - 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 *GcsSource) Reset() { *m = GcsSource{} } -func (m *GcsSource) String() string { return proto.CompactTextString(m) } -func (*GcsSource) ProtoMessage() {} -func (*GcsSource) Descriptor() ([]byte, []int) { - return fileDescriptor_d9e29ad1480788a5, []int{0} -} - -func (m *GcsSource) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GcsSource.Unmarshal(m, b) -} -func (m *GcsSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GcsSource.Marshal(b, m, deterministic) -} -func (m *GcsSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcsSource.Merge(m, src) -} -func (m *GcsSource) XXX_Size() int { - return xxx_messageInfo_GcsSource.Size(m) -} -func (m *GcsSource) XXX_DiscardUnknown() { - xxx_messageInfo_GcsSource.DiscardUnknown(m) -} - -var xxx_messageInfo_GcsSource proto.InternalMessageInfo - -func (m *GcsSource) GetUri() string { - if m != nil { - return m.Uri - } - return "" -} - -func init() { - proto.RegisterType((*GcsSource)(nil), "google.cloud.dialogflow.v2beta1.GcsSource") -} - -func init() { - proto.RegisterFile("google/cloud/dialogflow/v2beta1/gcs.proto", fileDescriptor_d9e29ad1480788a5) -} - -var fileDescriptor_d9e29ad1480788a5 = []byte{ - // 212 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4c, 0xcf, 0xcf, 0x4f, - 0xcf, 0x49, 0xd5, 0x4f, 0xce, 0xc9, 0x2f, 0x4d, 0xd1, 0x4f, 0xc9, 0x4c, 0xcc, 0xc9, 0x4f, 0x4f, - 0xcb, 0xc9, 0x2f, 0xd7, 0x2f, 0x33, 0x4a, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x4f, 0x4f, 0x2e, 0xd6, - 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x87, 0x28, 0xd5, 0x03, 0x2b, 0xd5, 0x43, 0x28, 0xd5, - 0x83, 0x2a, 0x95, 0x92, 0x81, 0x9a, 0x95, 0x58, 0x90, 0xa9, 0x9f, 0x98, 0x97, 0x97, 0x5f, 0x92, - 0x58, 0x92, 0x99, 0x9f, 0x07, 0xd5, 0xae, 0x24, 0xcb, 0xc5, 0xe9, 0x9e, 0x5c, 0x1c, 0x9c, 0x5f, - 0x5a, 0x94, 0x9c, 0x2a, 0x24, 0xc0, 0xc5, 0x5c, 0x5a, 0x94, 0x29, 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, - 0x19, 0x04, 0x62, 0x3a, 0x2d, 0x63, 0xe4, 0x52, 0x4e, 0xce, 0xcf, 0xd5, 0x23, 0x60, 0x89, 0x13, - 0x87, 0x7b, 0x72, 0x71, 0x00, 0xc8, 0xc0, 0x00, 0xc6, 0x28, 0x4f, 0xa8, 0xe2, 0xf4, 0xfc, 0x9c, - 0xc4, 0xbc, 0x74, 0xbd, 0xfc, 0xa2, 0x74, 0xfd, 0xf4, 0xd4, 0x3c, 0xb0, 0x75, 0xfa, 0x10, 0xa9, - 0xc4, 0x82, 0xcc, 0x62, 0x9c, 0x7e, 0xb3, 0x46, 0x08, 0xfd, 0x60, 0x64, 0x5c, 0xc4, 0xc4, 0xe4, - 0xe2, 0xb6, 0x8a, 0x49, 0xde, 0x1d, 0x62, 0xa6, 0x33, 0xd8, 0x01, 0x2e, 0x08, 0x07, 0x84, 0x41, - 0x34, 0x25, 0xb1, 0x81, 0xcd, 0x37, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x55, 0xdd, 0xc3, 0xb4, - 0x3a, 0x01, 0x00, 0x00, -} 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 deleted file mode 100644 index 101926a5..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/intent.pb.go +++ /dev/null @@ -1,5274 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/dialogflow/v2beta1/intent.proto - -package dialogflow - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/duration" - empty "github.com/golang/protobuf/ptypes/empty" - _struct "github.com/golang/protobuf/ptypes/struct" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Represents the options for views of an intent. -// An intent can be a sizable object. Therefore, we provide a resource view that -// does not return training phrases in the response by default. -type IntentView int32 - -const ( - // Training phrases field is not populated in the response. - IntentView_INTENT_VIEW_UNSPECIFIED IntentView = 0 - // All fields are populated. - IntentView_INTENT_VIEW_FULL IntentView = 1 -) - -var IntentView_name = map[int32]string{ - 0: "INTENT_VIEW_UNSPECIFIED", - 1: "INTENT_VIEW_FULL", -} - -var IntentView_value = map[string]int32{ - "INTENT_VIEW_UNSPECIFIED": 0, - "INTENT_VIEW_FULL": 1, -} - -func (x IntentView) String() string { - return proto.EnumName(IntentView_name, int32(x)) -} - -func (IntentView) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{0} -} - -// Represents the different states that webhooks can be in. -type Intent_WebhookState int32 - -const ( - // Webhook is disabled in the agent and in the intent. - Intent_WEBHOOK_STATE_UNSPECIFIED Intent_WebhookState = 0 - // Webhook is enabled in the agent and in the intent. - Intent_WEBHOOK_STATE_ENABLED Intent_WebhookState = 1 - // Webhook is enabled in the agent and in the intent. Also, each slot - // filling prompt is forwarded to the webhook. - Intent_WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING Intent_WebhookState = 2 -) - -var Intent_WebhookState_name = map[int32]string{ - 0: "WEBHOOK_STATE_UNSPECIFIED", - 1: "WEBHOOK_STATE_ENABLED", - 2: "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING", -} - -var Intent_WebhookState_value = map[string]int32{ - "WEBHOOK_STATE_UNSPECIFIED": 0, - "WEBHOOK_STATE_ENABLED": 1, - "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING": 2, -} - -func (x Intent_WebhookState) String() string { - return proto.EnumName(Intent_WebhookState_name, int32(x)) -} - -func (Intent_WebhookState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{0, 0} -} - -// Represents different types of training phrases. -type Intent_TrainingPhrase_Type int32 - -const ( - // Not specified. This value should never be used. - Intent_TrainingPhrase_TYPE_UNSPECIFIED Intent_TrainingPhrase_Type = 0 - // Examples do not contain @-prefixed entity type names, but example parts - // can be annotated with entity types. - Intent_TrainingPhrase_EXAMPLE Intent_TrainingPhrase_Type = 1 - // Templates are not annotated with entity types, but they can contain - // @-prefixed entity type names as substrings. - // Template mode has been deprecated. Example mode is the only supported - // way to create new training phrases. If you have existing training - // phrases that you've created in template mode, those will continue to - // work. - Intent_TrainingPhrase_TEMPLATE Intent_TrainingPhrase_Type = 2 // Deprecated: Do not use. -) - -var Intent_TrainingPhrase_Type_name = map[int32]string{ - 0: "TYPE_UNSPECIFIED", - 1: "EXAMPLE", - 2: "TEMPLATE", -} - -var Intent_TrainingPhrase_Type_value = map[string]int32{ - "TYPE_UNSPECIFIED": 0, - "EXAMPLE": 1, - "TEMPLATE": 2, -} - -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_5bdb4dcc248bd417, []int{0, 0, 0} -} - -// Represents different platforms that a rich message can be intended for. -type Intent_Message_Platform int32 - -const ( - // Not specified. - Intent_Message_PLATFORM_UNSPECIFIED Intent_Message_Platform = 0 - // Facebook. - Intent_Message_FACEBOOK Intent_Message_Platform = 1 - // Slack. - Intent_Message_SLACK Intent_Message_Platform = 2 - // Telegram. - Intent_Message_TELEGRAM Intent_Message_Platform = 3 - // Kik. - Intent_Message_KIK Intent_Message_Platform = 4 - // Skype. - Intent_Message_SKYPE Intent_Message_Platform = 5 - // Line. - Intent_Message_LINE Intent_Message_Platform = 6 - // Viber. - Intent_Message_VIBER Intent_Message_Platform = 7 - // Actions on Google. - // When using Actions on Google, you can choose one of the specific - // Intent.Message types that mention support for Actions on Google, - // or you can use the advanced Intent.Message.payload field. - // The payload field provides access to AoG features not available in the - // specific message types. - // If using the Intent.Message.payload field, it should have a structure - // similar to the JSON message shown here. For more information, see - // [Actions on Google Webhook - // Format](https://developers.google.com/actions/dialogflow/webhook) - //
{
-	//   "expectUserResponse": true,
-	//   "isSsml": false,
-	//   "noInputPrompts": [],
-	//   "richResponse": {
-	//     "items": [
-	//       {
-	//         "simpleResponse": {
-	//           "displayText": "hi",
-	//           "textToSpeech": "hello"
-	//         }
-	//       }
-	//     ],
-	//     "suggestions": [
-	//       {
-	//         "title": "Say this"
-	//       },
-	//       {
-	//         "title": "or this"
-	//       }
-	//     ]
-	//   },
-	//   "systemIntent": {
-	//     "data": {
-	//       "@type": "type.googleapis.com/google.actions.v2.OptionValueSpec",
-	//       "listSelect": {
-	//         "items": [
-	//           {
-	//             "optionInfo": {
-	//               "key": "key1",
-	//               "synonyms": [
-	//                 "key one"
-	//               ]
-	//             },
-	//             "title": "must not be empty, but unique"
-	//           },
-	//           {
-	//             "optionInfo": {
-	//               "key": "key2",
-	//               "synonyms": [
-	//                 "key two"
-	//               ]
-	//             },
-	//             "title": "must not be empty, but unique"
-	//           }
-	//         ]
-	//       }
-	//     },
-	//     "intent": "actions.intent.OPTION"
-	//   }
-	// }
- Intent_Message_ACTIONS_ON_GOOGLE Intent_Message_Platform = 8 - // Telephony Gateway. - Intent_Message_TELEPHONY Intent_Message_Platform = 10 - // Google Hangouts. - Intent_Message_GOOGLE_HANGOUTS Intent_Message_Platform = 11 -) - -var Intent_Message_Platform_name = map[int32]string{ - 0: "PLATFORM_UNSPECIFIED", - 1: "FACEBOOK", - 2: "SLACK", - 3: "TELEGRAM", - 4: "KIK", - 5: "SKYPE", - 6: "LINE", - 7: "VIBER", - 8: "ACTIONS_ON_GOOGLE", - 10: "TELEPHONY", - 11: "GOOGLE_HANGOUTS", -} - -var Intent_Message_Platform_value = map[string]int32{ - "PLATFORM_UNSPECIFIED": 0, - "FACEBOOK": 1, - "SLACK": 2, - "TELEGRAM": 3, - "KIK": 4, - "SKYPE": 5, - "LINE": 6, - "VIBER": 7, - "ACTIONS_ON_GOOGLE": 8, - "TELEPHONY": 10, - "GOOGLE_HANGOUTS": 11, -} - -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_5bdb4dcc248bd417, []int{0, 2, 0} -} - -// The width of the cards in the carousel. -type Intent_Message_RbmCarouselCard_CardWidth int32 - -const ( - // Not specified. - Intent_Message_RbmCarouselCard_CARD_WIDTH_UNSPECIFIED Intent_Message_RbmCarouselCard_CardWidth = 0 - // 120 DP. Note that tall media cannot be used. - Intent_Message_RbmCarouselCard_SMALL Intent_Message_RbmCarouselCard_CardWidth = 1 - // 232 DP. - Intent_Message_RbmCarouselCard_MEDIUM Intent_Message_RbmCarouselCard_CardWidth = 2 -) - -var Intent_Message_RbmCarouselCard_CardWidth_name = map[int32]string{ - 0: "CARD_WIDTH_UNSPECIFIED", - 1: "SMALL", - 2: "MEDIUM", -} - -var Intent_Message_RbmCarouselCard_CardWidth_value = map[string]int32{ - "CARD_WIDTH_UNSPECIFIED": 0, - "SMALL": 1, - "MEDIUM": 2, -} - -func (x Intent_Message_RbmCarouselCard_CardWidth) String() string { - return proto.EnumName(Intent_Message_RbmCarouselCard_CardWidth_name, int32(x)) -} - -func (Intent_Message_RbmCarouselCard_CardWidth) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{0, 2, 17, 0} -} - -// Orientation of the card. -type Intent_Message_RbmStandaloneCard_CardOrientation int32 - -const ( - // Not specified. - Intent_Message_RbmStandaloneCard_CARD_ORIENTATION_UNSPECIFIED Intent_Message_RbmStandaloneCard_CardOrientation = 0 - // Horizontal layout. - Intent_Message_RbmStandaloneCard_HORIZONTAL Intent_Message_RbmStandaloneCard_CardOrientation = 1 - // Vertical layout. - Intent_Message_RbmStandaloneCard_VERTICAL Intent_Message_RbmStandaloneCard_CardOrientation = 2 -) - -var Intent_Message_RbmStandaloneCard_CardOrientation_name = map[int32]string{ - 0: "CARD_ORIENTATION_UNSPECIFIED", - 1: "HORIZONTAL", - 2: "VERTICAL", -} - -var Intent_Message_RbmStandaloneCard_CardOrientation_value = map[string]int32{ - "CARD_ORIENTATION_UNSPECIFIED": 0, - "HORIZONTAL": 1, - "VERTICAL": 2, -} - -func (x Intent_Message_RbmStandaloneCard_CardOrientation) String() string { - return proto.EnumName(Intent_Message_RbmStandaloneCard_CardOrientation_name, int32(x)) -} - -func (Intent_Message_RbmStandaloneCard_CardOrientation) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{0, 2, 18, 0} -} - -// Thumbnail preview alignment for standalone cards with horizontal -// layout. -type Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment int32 - -const ( - // Not specified. - Intent_Message_RbmStandaloneCard_THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment = 0 - // Thumbnail preview is left-aligned. - Intent_Message_RbmStandaloneCard_LEFT Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment = 1 - // Thumbnail preview is right-aligned. - Intent_Message_RbmStandaloneCard_RIGHT Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment = 2 -) - -var Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment_name = map[int32]string{ - 0: "THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED", - 1: "LEFT", - 2: "RIGHT", -} - -var Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment_value = map[string]int32{ - "THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED": 0, - "LEFT": 1, - "RIGHT": 2, -} - -func (x Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment) String() string { - return proto.EnumName(Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment_name, int32(x)) -} - -func (Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{0, 2, 18, 1} -} - -// Media height -type Intent_Message_RbmCardContent_RbmMedia_Height int32 - -const ( - // Not specified. - Intent_Message_RbmCardContent_RbmMedia_HEIGHT_UNSPECIFIED Intent_Message_RbmCardContent_RbmMedia_Height = 0 - // 112 DP. - Intent_Message_RbmCardContent_RbmMedia_SHORT Intent_Message_RbmCardContent_RbmMedia_Height = 1 - // 168 DP. - Intent_Message_RbmCardContent_RbmMedia_MEDIUM Intent_Message_RbmCardContent_RbmMedia_Height = 2 - // 264 DP. Not available for rich card carousels when the card width - // is set to small. - Intent_Message_RbmCardContent_RbmMedia_TALL Intent_Message_RbmCardContent_RbmMedia_Height = 3 -) - -var Intent_Message_RbmCardContent_RbmMedia_Height_name = map[int32]string{ - 0: "HEIGHT_UNSPECIFIED", - 1: "SHORT", - 2: "MEDIUM", - 3: "TALL", -} - -var Intent_Message_RbmCardContent_RbmMedia_Height_value = map[string]int32{ - "HEIGHT_UNSPECIFIED": 0, - "SHORT": 1, - "MEDIUM": 2, - "TALL": 3, -} - -func (x Intent_Message_RbmCardContent_RbmMedia_Height) String() string { - return proto.EnumName(Intent_Message_RbmCardContent_RbmMedia_Height_name, int32(x)) -} - -func (Intent_Message_RbmCardContent_RbmMedia_Height) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{0, 2, 19, 0, 0} -} - -// Format of response media type. -type Intent_Message_MediaContent_ResponseMediaType int32 - -const ( - // Unspecified. - Intent_Message_MediaContent_RESPONSE_MEDIA_TYPE_UNSPECIFIED Intent_Message_MediaContent_ResponseMediaType = 0 - // Response media type is audio. - Intent_Message_MediaContent_AUDIO Intent_Message_MediaContent_ResponseMediaType = 1 -) - -var Intent_Message_MediaContent_ResponseMediaType_name = map[int32]string{ - 0: "RESPONSE_MEDIA_TYPE_UNSPECIFIED", - 1: "AUDIO", -} - -var Intent_Message_MediaContent_ResponseMediaType_value = map[string]int32{ - "RESPONSE_MEDIA_TYPE_UNSPECIFIED": 0, - "AUDIO": 1, -} - -func (x Intent_Message_MediaContent_ResponseMediaType) String() string { - return proto.EnumName(Intent_Message_MediaContent_ResponseMediaType_name, int32(x)) -} - -func (Intent_Message_MediaContent_ResponseMediaType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{0, 2, 23, 0} -} - -// Image display options for Actions on Google. This should be used for -// when the image's aspect ratio does not match the image container's -// aspect ratio. -type Intent_Message_BrowseCarouselCard_ImageDisplayOptions int32 - -const ( - // Fill the gaps between the image and the image container with gray - // bars. - Intent_Message_BrowseCarouselCard_IMAGE_DISPLAY_OPTIONS_UNSPECIFIED Intent_Message_BrowseCarouselCard_ImageDisplayOptions = 0 - // Fill the gaps between the image and the image container with gray - // bars. - Intent_Message_BrowseCarouselCard_GRAY Intent_Message_BrowseCarouselCard_ImageDisplayOptions = 1 - // Fill the gaps between the image and the image container with white - // bars. - Intent_Message_BrowseCarouselCard_WHITE Intent_Message_BrowseCarouselCard_ImageDisplayOptions = 2 - // Image is scaled such that the image width and height match or exceed - // the container dimensions. This may crop the top and bottom of the - // image if the scaled image height is greater than the container - // height, or crop the left and right of the image if the scaled image - // width is greater than the container width. This is similar to "Zoom - // Mode" on a widescreen TV when playing a 4:3 video. - Intent_Message_BrowseCarouselCard_CROPPED Intent_Message_BrowseCarouselCard_ImageDisplayOptions = 3 - // Pad the gaps between image and image frame with a blurred copy of the - // same image. - Intent_Message_BrowseCarouselCard_BLURRED_BACKGROUND Intent_Message_BrowseCarouselCard_ImageDisplayOptions = 4 -) - -var Intent_Message_BrowseCarouselCard_ImageDisplayOptions_name = map[int32]string{ - 0: "IMAGE_DISPLAY_OPTIONS_UNSPECIFIED", - 1: "GRAY", - 2: "WHITE", - 3: "CROPPED", - 4: "BLURRED_BACKGROUND", -} - -var Intent_Message_BrowseCarouselCard_ImageDisplayOptions_value = map[string]int32{ - "IMAGE_DISPLAY_OPTIONS_UNSPECIFIED": 0, - "GRAY": 1, - "WHITE": 2, - "CROPPED": 3, - "BLURRED_BACKGROUND": 4, -} - -func (x Intent_Message_BrowseCarouselCard_ImageDisplayOptions) String() string { - return proto.EnumName(Intent_Message_BrowseCarouselCard_ImageDisplayOptions_name, int32(x)) -} - -func (Intent_Message_BrowseCarouselCard_ImageDisplayOptions) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{0, 2, 24, 0} -} - -// Type of the URI. -type Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint int32 - -const ( - // Unspecified - Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_URL_TYPE_HINT_UNSPECIFIED Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint = 0 - // Url would be an amp action - Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_AMP_ACTION Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint = 1 - // URL that points directly to AMP content, or to a canonical URL - // which refers to AMP content via . - Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_AMP_CONTENT Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint = 2 -) - -var Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint_name = map[int32]string{ - 0: "URL_TYPE_HINT_UNSPECIFIED", - 1: "AMP_ACTION", - 2: "AMP_CONTENT", -} - -var Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint_value = map[string]int32{ - "URL_TYPE_HINT_UNSPECIFIED": 0, - "AMP_ACTION": 1, - "AMP_CONTENT": 2, -} - -func (x Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint) String() string { - return proto.EnumName(Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint_name, int32(x)) -} - -func (Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{0, 2, 24, 0, 0, 0} -} - -// Text alignments within a cell. -type Intent_Message_ColumnProperties_HorizontalAlignment int32 - -const ( - // Text is aligned to the leading edge of the column. - Intent_Message_ColumnProperties_HORIZONTAL_ALIGNMENT_UNSPECIFIED Intent_Message_ColumnProperties_HorizontalAlignment = 0 - // Text is aligned to the leading edge of the column. - Intent_Message_ColumnProperties_LEADING Intent_Message_ColumnProperties_HorizontalAlignment = 1 - // Text is centered in the column. - Intent_Message_ColumnProperties_CENTER Intent_Message_ColumnProperties_HorizontalAlignment = 2 - // Text is aligned to the trailing edge of the column. - Intent_Message_ColumnProperties_TRAILING Intent_Message_ColumnProperties_HorizontalAlignment = 3 -) - -var Intent_Message_ColumnProperties_HorizontalAlignment_name = map[int32]string{ - 0: "HORIZONTAL_ALIGNMENT_UNSPECIFIED", - 1: "LEADING", - 2: "CENTER", - 3: "TRAILING", -} - -var Intent_Message_ColumnProperties_HorizontalAlignment_value = map[string]int32{ - "HORIZONTAL_ALIGNMENT_UNSPECIFIED": 0, - "LEADING": 1, - "CENTER": 2, - "TRAILING": 3, -} - -func (x Intent_Message_ColumnProperties_HorizontalAlignment) String() string { - return proto.EnumName(Intent_Message_ColumnProperties_HorizontalAlignment_name, int32(x)) -} - -func (Intent_Message_ColumnProperties_HorizontalAlignment) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{0, 2, 26, 0} -} - -// Represents an intent. -// Intents convert a number of user expressions or patterns into an action. An -// action is an extraction of a user command or sentence semantics. -type Intent struct { - // The unique identifier of this intent. - // Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents] - // methods. - // Format: `projects//agent/intents/`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The name of this intent. - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Optional. Indicates whether webhooks are enabled for the intent. - WebhookState Intent_WebhookState `protobuf:"varint,6,opt,name=webhook_state,json=webhookState,proto3,enum=google.cloud.dialogflow.v2beta1.Intent_WebhookState" json:"webhook_state,omitempty"` - // Optional. The priority of this intent. Higher numbers represent higher - // priorities. If this is zero or unspecified, we use the default - // priority 500000. - // - // Negative numbers mean that the intent is disabled. - Priority int32 `protobuf:"varint,3,opt,name=priority,proto3" json:"priority,omitempty"` - // Optional. Indicates whether this is a fallback intent. - IsFallback bool `protobuf:"varint,4,opt,name=is_fallback,json=isFallback,proto3" json:"is_fallback,omitempty"` - // Optional. Indicates whether Machine Learning is enabled for the intent. - // Note: If `ml_enabled` setting is set to false, then this intent is not - // taken into account during inference in `ML ONLY` match mode. Also, - // auto-markup in the UI is turned off. - // DEPRECATED! Please use `ml_disabled` field instead. - // NOTE: If both `ml_enabled` and `ml_disabled` are either not set or false, - // then the default value is determined as follows: - // - Before April 15th, 2018 the default is: - // ml_enabled = false / ml_disabled = true. - // - After April 15th, 2018 the default is: - // ml_enabled = true / ml_disabled = false. - MlEnabled bool `protobuf:"varint,5,opt,name=ml_enabled,json=mlEnabled,proto3" json:"ml_enabled,omitempty"` // Deprecated: Do not use. - // Optional. Indicates whether Machine Learning is disabled for the intent. - // Note: If `ml_disabled` setting is set to true, then this intent is not - // taken into account during inference in `ML ONLY` match mode. Also, - // auto-markup in the UI is turned off. - MlDisabled bool `protobuf:"varint,19,opt,name=ml_disabled,json=mlDisabled,proto3" json:"ml_disabled,omitempty"` - // Optional. Indicates that this intent ends an interaction. Some integrations - // (e.g., Actions on Google or Dialogflow phone gateway) use this information - // to close interaction with an end user. Default is false. - EndInteraction bool `protobuf:"varint,21,opt,name=end_interaction,json=endInteraction,proto3" json:"end_interaction,omitempty"` - // Optional. The list of context names required for this intent to be - // triggered. - // Format: `projects//agent/sessions/-/contexts/`. - InputContextNames []string `protobuf:"bytes,7,rep,name=input_context_names,json=inputContextNames,proto3" json:"input_context_names,omitempty"` - // Optional. The collection of event names that trigger the intent. - // If the collection of input contexts is not empty, all of the contexts must - // be present in the active user session for an event to trigger this intent. - Events []string `protobuf:"bytes,8,rep,name=events,proto3" json:"events,omitempty"` - // Optional. The collection of examples that the agent is - // trained on. - TrainingPhrases []*Intent_TrainingPhrase `protobuf:"bytes,9,rep,name=training_phrases,json=trainingPhrases,proto3" json:"training_phrases,omitempty"` - // Optional. The name of the action associated with the intent. - // Note: The action name must not contain whitespaces. - Action string `protobuf:"bytes,10,opt,name=action,proto3" json:"action,omitempty"` - // Optional. The collection of contexts that are activated when the intent - // is matched. Context messages in this collection should not set the - // parameters field. Setting the `lifespan_count` to 0 will reset the context - // when the intent is matched. - // Format: `projects//agent/sessions/-/contexts/`. - OutputContexts []*Context `protobuf:"bytes,11,rep,name=output_contexts,json=outputContexts,proto3" json:"output_contexts,omitempty"` - // Optional. Indicates whether to delete all contexts in the current - // session when this intent is matched. - ResetContexts bool `protobuf:"varint,12,opt,name=reset_contexts,json=resetContexts,proto3" json:"reset_contexts,omitempty"` - // Optional. The collection of parameters associated with the intent. - Parameters []*Intent_Parameter `protobuf:"bytes,13,rep,name=parameters,proto3" json:"parameters,omitempty"` - // Optional. The collection of rich messages corresponding to the - // `Response` field in the Dialogflow console. - Messages []*Intent_Message `protobuf:"bytes,14,rep,name=messages,proto3" json:"messages,omitempty"` - // Optional. The list of platforms for which the first responses will be - // copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform). - DefaultResponsePlatforms []Intent_Message_Platform `protobuf:"varint,15,rep,packed,name=default_response_platforms,json=defaultResponsePlatforms,proto3,enum=google.cloud.dialogflow.v2beta1.Intent_Message_Platform" json:"default_response_platforms,omitempty"` - // Read-only. The unique identifier of the root intent in the chain of - // followup intents. It identifies the correct followup intents chain for - // this intent. We populate this field only in the output. - // - // Format: `projects//agent/intents/`. - RootFollowupIntentName string `protobuf:"bytes,16,opt,name=root_followup_intent_name,json=rootFollowupIntentName,proto3" json:"root_followup_intent_name,omitempty"` - // Read-only after creation. The unique identifier of the parent intent in the - // chain of followup intents. You can set this field when creating an intent, - // for example with [CreateIntent][] or [BatchUpdateIntents][], in order to - // make this intent a followup intent. - // - // It identifies the parent followup intent. - // Format: `projects//agent/intents/`. - ParentFollowupIntentName string `protobuf:"bytes,17,opt,name=parent_followup_intent_name,json=parentFollowupIntentName,proto3" json:"parent_followup_intent_name,omitempty"` - // Read-only. Information about all followup intents that have this intent as - // a direct or indirect parent. We populate this field only in the output. - FollowupIntentInfo []*Intent_FollowupIntentInfo `protobuf:"bytes,18,rep,name=followup_intent_info,json=followupIntentInfo,proto3" json:"followup_intent_info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_5bdb4dcc248bd417, []int{0} -} - -func (m *Intent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent.Unmarshal(m, b) -} -func (m *Intent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent.Marshal(b, m, deterministic) -} -func (m *Intent) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent.Merge(m, src) -} -func (m *Intent) XXX_Size() int { - return xxx_messageInfo_Intent.Size(m) -} -func (m *Intent) XXX_DiscardUnknown() { - xxx_messageInfo_Intent.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent proto.InternalMessageInfo - -func (m *Intent) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Intent) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *Intent) GetWebhookState() Intent_WebhookState { - if m != nil { - return m.WebhookState - } - return Intent_WEBHOOK_STATE_UNSPECIFIED -} - -func (m *Intent) GetPriority() int32 { - if m != nil { - return m.Priority - } - return 0 -} - -func (m *Intent) GetIsFallback() bool { - if m != nil { - return m.IsFallback - } - return false -} - -// Deprecated: Do not use. -func (m *Intent) GetMlEnabled() bool { - if m != nil { - return m.MlEnabled - } - return false -} - -func (m *Intent) GetMlDisabled() bool { - if m != nil { - return m.MlDisabled - } - return false -} - -func (m *Intent) GetEndInteraction() bool { - if m != nil { - return m.EndInteraction - } - return false -} - -func (m *Intent) GetInputContextNames() []string { - if m != nil { - return m.InputContextNames - } - return nil -} - -func (m *Intent) GetEvents() []string { - if m != nil { - return m.Events - } - return nil -} - -func (m *Intent) GetTrainingPhrases() []*Intent_TrainingPhrase { - if m != nil { - return m.TrainingPhrases - } - return nil -} - -func (m *Intent) GetAction() string { - if m != nil { - return m.Action - } - return "" -} - -func (m *Intent) GetOutputContexts() []*Context { - if m != nil { - return m.OutputContexts - } - return nil -} - -func (m *Intent) GetResetContexts() bool { - if m != nil { - return m.ResetContexts - } - return false -} - -func (m *Intent) GetParameters() []*Intent_Parameter { - if m != nil { - return m.Parameters - } - return nil -} - -func (m *Intent) GetMessages() []*Intent_Message { - if m != nil { - return m.Messages - } - return nil -} - -func (m *Intent) GetDefaultResponsePlatforms() []Intent_Message_Platform { - if m != nil { - return m.DefaultResponsePlatforms - } - return nil -} - -func (m *Intent) GetRootFollowupIntentName() string { - if m != nil { - return m.RootFollowupIntentName - } - return "" -} - -func (m *Intent) GetParentFollowupIntentName() string { - if m != nil { - return m.ParentFollowupIntentName - } - return "" -} - -func (m *Intent) GetFollowupIntentInfo() []*Intent_FollowupIntentInfo { - if m != nil { - return m.FollowupIntentInfo - } - return nil -} - -// Represents an example that the agent is trained on. -type Intent_TrainingPhrase struct { - // Output only. The unique identifier of this training phrase. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The type of the training phrase. - Type Intent_TrainingPhrase_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.dialogflow.v2beta1.Intent_TrainingPhrase_Type" json:"type,omitempty"` - // Required. The ordered list of training phrase parts. - // The parts are concatenated in order to form the training phrase. - // - // Note: The API does not automatically annotate training phrases like the - // Dialogflow Console does. - // - // Note: Do not forget to include whitespace at part boundaries, - // so the training phrase is well formatted when the parts are concatenated. - // - // If the training phrase does not need to be annotated with parameters, - // you just need a single part with only the [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] field set. - // - // If you want to annotate the training phrase, you must create multiple - // parts, where the fields of each part are populated in one of two ways: - // - // - `Part.text` is set to a part of the phrase that has no parameters. - // - `Part.text` is set to a part of the phrase that you want to annotate, - // and the `entity_type`, `alias`, and `user_defined` fields are all - // set. - Parts []*Intent_TrainingPhrase_Part `protobuf:"bytes,3,rep,name=parts,proto3" json:"parts,omitempty"` - // Optional. Indicates how many times this example was added to - // the intent. Each time a developer adds an existing sample by editing an - // intent or training, this counter is increased. - TimesAddedCount int32 `protobuf:"varint,4,opt,name=times_added_count,json=timesAddedCount,proto3" json:"times_added_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_5bdb4dcc248bd417, []int{0, 0} -} - -func (m *Intent_TrainingPhrase) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_TrainingPhrase.Unmarshal(m, b) -} -func (m *Intent_TrainingPhrase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_TrainingPhrase.Marshal(b, m, deterministic) -} -func (m *Intent_TrainingPhrase) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_TrainingPhrase.Merge(m, src) -} -func (m *Intent_TrainingPhrase) XXX_Size() int { - return xxx_messageInfo_Intent_TrainingPhrase.Size(m) -} -func (m *Intent_TrainingPhrase) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_TrainingPhrase.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_TrainingPhrase proto.InternalMessageInfo - -func (m *Intent_TrainingPhrase) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Intent_TrainingPhrase) GetType() Intent_TrainingPhrase_Type { - if m != nil { - return m.Type - } - return Intent_TrainingPhrase_TYPE_UNSPECIFIED -} - -func (m *Intent_TrainingPhrase) GetParts() []*Intent_TrainingPhrase_Part { - if m != nil { - return m.Parts - } - return nil -} - -func (m *Intent_TrainingPhrase) GetTimesAddedCount() int32 { - if m != nil { - return m.TimesAddedCount - } - return 0 -} - -// Represents a part of a training phrase. -type Intent_TrainingPhrase_Part struct { - // Required. The text for this part. - Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` - // Optional. The entity type name prefixed with `@`. - // This field is required for annotated parts of the training phrase. - EntityType string `protobuf:"bytes,2,opt,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty"` - // Optional. The parameter name for the value extracted from the - // annotated part of the example. - // This field is required for annotated parts of the training phrase. - Alias string `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty"` - // Optional. Indicates whether the text was manually annotated. - // This field is set to true when the Dialogflow Console is used to - // manually annotate the part. When creating an annotated part with the - // API, you must set this to true. - UserDefined bool `protobuf:"varint,4,opt,name=user_defined,json=userDefined,proto3" json:"user_defined,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_TrainingPhrase_Part) Reset() { *m = Intent_TrainingPhrase_Part{} } -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_5bdb4dcc248bd417, []int{0, 0, 0} -} - -func (m *Intent_TrainingPhrase_Part) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_TrainingPhrase_Part.Unmarshal(m, b) -} -func (m *Intent_TrainingPhrase_Part) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_TrainingPhrase_Part.Marshal(b, m, deterministic) -} -func (m *Intent_TrainingPhrase_Part) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_TrainingPhrase_Part.Merge(m, src) -} -func (m *Intent_TrainingPhrase_Part) XXX_Size() int { - return xxx_messageInfo_Intent_TrainingPhrase_Part.Size(m) -} -func (m *Intent_TrainingPhrase_Part) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_TrainingPhrase_Part.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_TrainingPhrase_Part proto.InternalMessageInfo - -func (m *Intent_TrainingPhrase_Part) GetText() string { - if m != nil { - return m.Text - } - return "" -} - -func (m *Intent_TrainingPhrase_Part) GetEntityType() string { - if m != nil { - return m.EntityType - } - return "" -} - -func (m *Intent_TrainingPhrase_Part) GetAlias() string { - if m != nil { - return m.Alias - } - return "" -} - -func (m *Intent_TrainingPhrase_Part) GetUserDefined() bool { - if m != nil { - return m.UserDefined - } - return false -} - -// Represents intent parameters. -type Intent_Parameter struct { - // The unique identifier of this parameter. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The name of the parameter. - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Optional. The definition of the parameter value. It can be: - // - a constant string, - // - a parameter value defined as `$parameter_name`, - // - an original parameter value defined as `$parameter_name.original`, - // - a parameter value from some context defined as - // `#context_name.parameter_name`. - Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` - // Optional. The default value to use when the `value` yields an empty - // result. - // Default values can be extracted from contexts by using the following - // syntax: `#context_name.parameter_name`. - DefaultValue string `protobuf:"bytes,4,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` - // Optional. The name of the entity type, prefixed with `@`, that - // describes values of the parameter. If the parameter is - // required, this must be provided. - EntityTypeDisplayName string `protobuf:"bytes,5,opt,name=entity_type_display_name,json=entityTypeDisplayName,proto3" json:"entity_type_display_name,omitempty"` - // Optional. Indicates whether the parameter is required. That is, - // whether the intent cannot be completed without collecting the parameter - // value. - Mandatory bool `protobuf:"varint,6,opt,name=mandatory,proto3" json:"mandatory,omitempty"` - // Optional. The collection of prompts that the agent can present to the - // user in order to collect a value for the parameter. - Prompts []string `protobuf:"bytes,7,rep,name=prompts,proto3" json:"prompts,omitempty"` - // Optional. Indicates whether the parameter represents a list of values. - IsList bool `protobuf:"varint,8,opt,name=is_list,json=isList,proto3" json:"is_list,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_5bdb4dcc248bd417, []int{0, 1} -} - -func (m *Intent_Parameter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Parameter.Unmarshal(m, b) -} -func (m *Intent_Parameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Parameter.Marshal(b, m, deterministic) -} -func (m *Intent_Parameter) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Parameter.Merge(m, src) -} -func (m *Intent_Parameter) XXX_Size() int { - return xxx_messageInfo_Intent_Parameter.Size(m) -} -func (m *Intent_Parameter) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Parameter.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Parameter proto.InternalMessageInfo - -func (m *Intent_Parameter) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Intent_Parameter) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *Intent_Parameter) GetValue() string { - if m != nil { - return m.Value - } - return "" -} - -func (m *Intent_Parameter) GetDefaultValue() string { - if m != nil { - return m.DefaultValue - } - return "" -} - -func (m *Intent_Parameter) GetEntityTypeDisplayName() string { - if m != nil { - return m.EntityTypeDisplayName - } - return "" -} - -func (m *Intent_Parameter) GetMandatory() bool { - if m != nil { - return m.Mandatory - } - return false -} - -func (m *Intent_Parameter) GetPrompts() []string { - if m != nil { - return m.Prompts - } - return nil -} - -func (m *Intent_Parameter) GetIsList() bool { - if m != nil { - return m.IsList - } - return false -} - -// Corresponds to the `Response` field in the Dialogflow console. -type Intent_Message struct { - // Required. The rich response message. - // - // Types that are valid to be assigned to Message: - // *Intent_Message_Text_ - // *Intent_Message_Image_ - // *Intent_Message_QuickReplies_ - // *Intent_Message_Card_ - // *Intent_Message_Payload - // *Intent_Message_SimpleResponses_ - // *Intent_Message_BasicCard_ - // *Intent_Message_Suggestions_ - // *Intent_Message_LinkOutSuggestion_ - // *Intent_Message_ListSelect_ - // *Intent_Message_CarouselSelect_ - // *Intent_Message_TelephonyPlayAudio_ - // *Intent_Message_TelephonySynthesizeSpeech_ - // *Intent_Message_TelephonyTransferCall_ - // *Intent_Message_RbmText_ - // *Intent_Message_RbmStandaloneRichCard - // *Intent_Message_RbmCarouselRichCard - // *Intent_Message_BrowseCarouselCard_ - // *Intent_Message_TableCard_ - // *Intent_Message_MediaContent_ - Message isIntent_Message_Message `protobuf_oneof:"message"` - // Optional. The platform that this message is intended for. - Platform Intent_Message_Platform `protobuf:"varint,6,opt,name=platform,proto3,enum=google.cloud.dialogflow.v2beta1.Intent_Message_Platform" json:"platform,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_5bdb4dcc248bd417, []int{0, 2} -} - -func (m *Intent_Message) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message.Unmarshal(m, b) -} -func (m *Intent_Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message.Marshal(b, m, deterministic) -} -func (m *Intent_Message) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message.Merge(m, src) -} -func (m *Intent_Message) XXX_Size() int { - return xxx_messageInfo_Intent_Message.Size(m) -} -func (m *Intent_Message) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message proto.InternalMessageInfo - -type isIntent_Message_Message interface { - isIntent_Message_Message() -} - -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"` -} - -type Intent_Message_RbmText_ struct { - RbmText *Intent_Message_RbmText `protobuf:"bytes,18,opt,name=rbm_text,json=rbmText,proto3,oneof"` -} - -type Intent_Message_RbmStandaloneRichCard struct { - RbmStandaloneRichCard *Intent_Message_RbmStandaloneCard `protobuf:"bytes,19,opt,name=rbm_standalone_rich_card,json=rbmStandaloneRichCard,proto3,oneof"` -} - -type Intent_Message_RbmCarouselRichCard struct { - RbmCarouselRichCard *Intent_Message_RbmCarouselCard `protobuf:"bytes,20,opt,name=rbm_carousel_rich_card,json=rbmCarouselRichCard,proto3,oneof"` -} - -type Intent_Message_BrowseCarouselCard_ struct { - BrowseCarouselCard *Intent_Message_BrowseCarouselCard `protobuf:"bytes,22,opt,name=browse_carousel_card,json=browseCarouselCard,proto3,oneof"` -} - -type Intent_Message_TableCard_ struct { - TableCard *Intent_Message_TableCard `protobuf:"bytes,23,opt,name=table_card,json=tableCard,proto3,oneof"` -} - -type Intent_Message_MediaContent_ struct { - MediaContent *Intent_Message_MediaContent `protobuf:"bytes,24,opt,name=media_content,json=mediaContent,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_TelephonySynthesizeSpeech_) isIntent_Message_Message() {} - -func (*Intent_Message_TelephonyTransferCall_) isIntent_Message_Message() {} - -func (*Intent_Message_RbmText_) isIntent_Message_Message() {} - -func (*Intent_Message_RbmStandaloneRichCard) isIntent_Message_Message() {} - -func (*Intent_Message_RbmCarouselRichCard) isIntent_Message_Message() {} - -func (*Intent_Message_BrowseCarouselCard_) isIntent_Message_Message() {} - -func (*Intent_Message_TableCard_) isIntent_Message_Message() {} - -func (*Intent_Message_MediaContent_) isIntent_Message_Message() {} - -func (m *Intent_Message) GetMessage() isIntent_Message_Message { - if m != nil { - return m.Message - } - return nil -} - -func (m *Intent_Message) GetText() *Intent_Message_Text { - if x, ok := m.GetMessage().(*Intent_Message_Text_); ok { - return x.Text - } - return nil -} - -func (m *Intent_Message) GetImage() *Intent_Message_Image { - if x, ok := m.GetMessage().(*Intent_Message_Image_); ok { - return x.Image - } - return nil -} - -func (m *Intent_Message) GetQuickReplies() *Intent_Message_QuickReplies { - if x, ok := m.GetMessage().(*Intent_Message_QuickReplies_); ok { - return x.QuickReplies - } - return nil -} - -func (m *Intent_Message) GetCard() *Intent_Message_Card { - if x, ok := m.GetMessage().(*Intent_Message_Card_); ok { - return x.Card - } - return nil -} - -func (m *Intent_Message) GetPayload() *_struct.Struct { - if x, ok := m.GetMessage().(*Intent_Message_Payload); ok { - return x.Payload - } - return nil -} - -func (m *Intent_Message) GetSimpleResponses() *Intent_Message_SimpleResponses { - if x, ok := m.GetMessage().(*Intent_Message_SimpleResponses_); ok { - return x.SimpleResponses - } - return nil -} - -func (m *Intent_Message) GetBasicCard() *Intent_Message_BasicCard { - if x, ok := m.GetMessage().(*Intent_Message_BasicCard_); ok { - return x.BasicCard - } - return nil -} - -func (m *Intent_Message) GetSuggestions() *Intent_Message_Suggestions { - if x, ok := m.GetMessage().(*Intent_Message_Suggestions_); ok { - return x.Suggestions - } - return nil -} - -func (m *Intent_Message) GetLinkOutSuggestion() *Intent_Message_LinkOutSuggestion { - if x, ok := m.GetMessage().(*Intent_Message_LinkOutSuggestion_); ok { - return x.LinkOutSuggestion - } - return nil -} - -func (m *Intent_Message) GetListSelect() *Intent_Message_ListSelect { - if x, ok := m.GetMessage().(*Intent_Message_ListSelect_); ok { - return x.ListSelect - } - return nil -} - -func (m *Intent_Message) GetCarouselSelect() *Intent_Message_CarouselSelect { - if x, ok := m.GetMessage().(*Intent_Message_CarouselSelect_); ok { - return x.CarouselSelect - } - return nil -} - -func (m *Intent_Message) GetTelephonyPlayAudio() *Intent_Message_TelephonyPlayAudio { - if x, ok := m.GetMessage().(*Intent_Message_TelephonyPlayAudio_); ok { - return x.TelephonyPlayAudio - } - return nil -} - -func (m *Intent_Message) GetTelephonySynthesizeSpeech() *Intent_Message_TelephonySynthesizeSpeech { - if x, ok := m.GetMessage().(*Intent_Message_TelephonySynthesizeSpeech_); ok { - return x.TelephonySynthesizeSpeech - } - return nil -} - -func (m *Intent_Message) GetTelephonyTransferCall() *Intent_Message_TelephonyTransferCall { - if x, ok := m.GetMessage().(*Intent_Message_TelephonyTransferCall_); ok { - return x.TelephonyTransferCall - } - return nil -} - -func (m *Intent_Message) GetRbmText() *Intent_Message_RbmText { - if x, ok := m.GetMessage().(*Intent_Message_RbmText_); ok { - return x.RbmText - } - return nil -} - -func (m *Intent_Message) GetRbmStandaloneRichCard() *Intent_Message_RbmStandaloneCard { - if x, ok := m.GetMessage().(*Intent_Message_RbmStandaloneRichCard); ok { - return x.RbmStandaloneRichCard - } - return nil -} - -func (m *Intent_Message) GetRbmCarouselRichCard() *Intent_Message_RbmCarouselCard { - if x, ok := m.GetMessage().(*Intent_Message_RbmCarouselRichCard); ok { - return x.RbmCarouselRichCard - } - return nil -} - -func (m *Intent_Message) GetBrowseCarouselCard() *Intent_Message_BrowseCarouselCard { - if x, ok := m.GetMessage().(*Intent_Message_BrowseCarouselCard_); ok { - return x.BrowseCarouselCard - } - return nil -} - -func (m *Intent_Message) GetTableCard() *Intent_Message_TableCard { - if x, ok := m.GetMessage().(*Intent_Message_TableCard_); ok { - return x.TableCard - } - return nil -} - -func (m *Intent_Message) GetMediaContent() *Intent_Message_MediaContent { - if x, ok := m.GetMessage().(*Intent_Message_MediaContent_); ok { - return x.MediaContent - } - return nil -} - -func (m *Intent_Message) GetPlatform() Intent_Message_Platform { - if m != nil { - return m.Platform - } - return Intent_Message_PLATFORM_UNSPECIFIED -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Intent_Message) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Intent_Message_Text_)(nil), - (*Intent_Message_Image_)(nil), - (*Intent_Message_QuickReplies_)(nil), - (*Intent_Message_Card_)(nil), - (*Intent_Message_Payload)(nil), - (*Intent_Message_SimpleResponses_)(nil), - (*Intent_Message_BasicCard_)(nil), - (*Intent_Message_Suggestions_)(nil), - (*Intent_Message_LinkOutSuggestion_)(nil), - (*Intent_Message_ListSelect_)(nil), - (*Intent_Message_CarouselSelect_)(nil), - (*Intent_Message_TelephonyPlayAudio_)(nil), - (*Intent_Message_TelephonySynthesizeSpeech_)(nil), - (*Intent_Message_TelephonyTransferCall_)(nil), - (*Intent_Message_RbmText_)(nil), - (*Intent_Message_RbmStandaloneRichCard)(nil), - (*Intent_Message_RbmCarouselRichCard)(nil), - (*Intent_Message_BrowseCarouselCard_)(nil), - (*Intent_Message_TableCard_)(nil), - (*Intent_Message_MediaContent_)(nil), - } -} - -// The text response message. -type Intent_Message_Text struct { - // Optional. The collection of the agent's responses. - Text []string `protobuf:"bytes,1,rep,name=text,proto3" json:"text,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_5bdb4dcc248bd417, []int{0, 2, 0} -} - -func (m *Intent_Message_Text) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_Text.Unmarshal(m, b) -} -func (m *Intent_Message_Text) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_Text.Marshal(b, m, deterministic) -} -func (m *Intent_Message_Text) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_Text.Merge(m, src) -} -func (m *Intent_Message_Text) XXX_Size() int { - return xxx_messageInfo_Intent_Message_Text.Size(m) -} -func (m *Intent_Message_Text) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_Text.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_Text proto.InternalMessageInfo - -func (m *Intent_Message_Text) GetText() []string { - if m != nil { - return m.Text - } - return nil -} - -// The image response message. -type Intent_Message_Image struct { - // Optional. The public URI to an image file. - ImageUri string `protobuf:"bytes,1,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"` - // A text description of the image to be used for accessibility, - // e.g., screen readers. Required if image_uri is set for CarouselSelect. - AccessibilityText string `protobuf:"bytes,2,opt,name=accessibility_text,json=accessibilityText,proto3" json:"accessibility_text,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_5bdb4dcc248bd417, []int{0, 2, 1} -} - -func (m *Intent_Message_Image) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_Image.Unmarshal(m, b) -} -func (m *Intent_Message_Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_Image.Marshal(b, m, deterministic) -} -func (m *Intent_Message_Image) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_Image.Merge(m, src) -} -func (m *Intent_Message_Image) XXX_Size() int { - return xxx_messageInfo_Intent_Message_Image.Size(m) -} -func (m *Intent_Message_Image) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_Image.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_Image proto.InternalMessageInfo - -func (m *Intent_Message_Image) GetImageUri() string { - if m != nil { - return m.ImageUri - } - return "" -} - -func (m *Intent_Message_Image) GetAccessibilityText() string { - if m != nil { - return m.AccessibilityText - } - return "" -} - -// The quick replies response message. -type Intent_Message_QuickReplies struct { - // Optional. The title of the collection of quick replies. - Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` - // Optional. The collection of quick replies. - QuickReplies []string `protobuf:"bytes,2,rep,name=quick_replies,json=quickReplies,proto3" json:"quick_replies,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_QuickReplies) Reset() { *m = Intent_Message_QuickReplies{} } -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_5bdb4dcc248bd417, []int{0, 2, 2} -} - -func (m *Intent_Message_QuickReplies) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_QuickReplies.Unmarshal(m, b) -} -func (m *Intent_Message_QuickReplies) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_QuickReplies.Marshal(b, m, deterministic) -} -func (m *Intent_Message_QuickReplies) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_QuickReplies.Merge(m, src) -} -func (m *Intent_Message_QuickReplies) XXX_Size() int { - return xxx_messageInfo_Intent_Message_QuickReplies.Size(m) -} -func (m *Intent_Message_QuickReplies) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_QuickReplies.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_QuickReplies proto.InternalMessageInfo - -func (m *Intent_Message_QuickReplies) GetTitle() string { - if m != nil { - return m.Title - } - return "" -} - -func (m *Intent_Message_QuickReplies) GetQuickReplies() []string { - if m != nil { - return m.QuickReplies - } - return nil -} - -// The card response message. -type Intent_Message_Card struct { - // Optional. The title of the card. - Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` - // Optional. The subtitle of the card. - Subtitle string `protobuf:"bytes,2,opt,name=subtitle,proto3" json:"subtitle,omitempty"` - // Optional. The public URI to an image file for the card. - ImageUri string `protobuf:"bytes,3,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"` - // Optional. The collection of card buttons. - Buttons []*Intent_Message_Card_Button `protobuf:"bytes,4,rep,name=buttons,proto3" json:"buttons,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_5bdb4dcc248bd417, []int{0, 2, 3} -} - -func (m *Intent_Message_Card) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_Card.Unmarshal(m, b) -} -func (m *Intent_Message_Card) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_Card.Marshal(b, m, deterministic) -} -func (m *Intent_Message_Card) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_Card.Merge(m, src) -} -func (m *Intent_Message_Card) XXX_Size() int { - return xxx_messageInfo_Intent_Message_Card.Size(m) -} -func (m *Intent_Message_Card) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_Card.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_Card proto.InternalMessageInfo - -func (m *Intent_Message_Card) GetTitle() string { - if m != nil { - return m.Title - } - return "" -} - -func (m *Intent_Message_Card) GetSubtitle() string { - if m != nil { - return m.Subtitle - } - return "" -} - -func (m *Intent_Message_Card) GetImageUri() string { - if m != nil { - return m.ImageUri - } - return "" -} - -func (m *Intent_Message_Card) GetButtons() []*Intent_Message_Card_Button { - if m != nil { - return m.Buttons - } - return nil -} - -// Optional. Contains information about a button. -type Intent_Message_Card_Button struct { - // Optional. The text to show on the button. - Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` - // Optional. The text to send back to the Dialogflow API or a URI to - // open. - Postback string `protobuf:"bytes,2,opt,name=postback,proto3" json:"postback,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_Card_Button) Reset() { *m = Intent_Message_Card_Button{} } -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_5bdb4dcc248bd417, []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) -} -func (m *Intent_Message_Card_Button) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_Card_Button.Marshal(b, m, deterministic) -} -func (m *Intent_Message_Card_Button) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_Card_Button.Merge(m, src) -} -func (m *Intent_Message_Card_Button) XXX_Size() int { - return xxx_messageInfo_Intent_Message_Card_Button.Size(m) -} -func (m *Intent_Message_Card_Button) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_Card_Button.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_Card_Button proto.InternalMessageInfo - -func (m *Intent_Message_Card_Button) GetText() string { - if m != nil { - return m.Text - } - return "" -} - -func (m *Intent_Message_Card_Button) GetPostback() string { - if m != nil { - return m.Postback - } - return "" -} - -// The simple response message containing speech or text. -type Intent_Message_SimpleResponse struct { - // One of text_to_speech or ssml must be provided. The plain text of the - // speech output. Mutually exclusive with ssml. - TextToSpeech string `protobuf:"bytes,1,opt,name=text_to_speech,json=textToSpeech,proto3" json:"text_to_speech,omitempty"` - // One of text_to_speech or ssml must be provided. Structured spoken - // response to the user in the SSML format. Mutually exclusive with - // text_to_speech. - Ssml string `protobuf:"bytes,2,opt,name=ssml,proto3" json:"ssml,omitempty"` - // Optional. The text to display. - DisplayText string `protobuf:"bytes,3,opt,name=display_text,json=displayText,proto3" json:"display_text,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_SimpleResponse) Reset() { *m = Intent_Message_SimpleResponse{} } -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_5bdb4dcc248bd417, []int{0, 2, 4} -} - -func (m *Intent_Message_SimpleResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_SimpleResponse.Unmarshal(m, b) -} -func (m *Intent_Message_SimpleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_SimpleResponse.Marshal(b, m, deterministic) -} -func (m *Intent_Message_SimpleResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_SimpleResponse.Merge(m, src) -} -func (m *Intent_Message_SimpleResponse) XXX_Size() int { - return xxx_messageInfo_Intent_Message_SimpleResponse.Size(m) -} -func (m *Intent_Message_SimpleResponse) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_SimpleResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_SimpleResponse proto.InternalMessageInfo - -func (m *Intent_Message_SimpleResponse) GetTextToSpeech() string { - if m != nil { - return m.TextToSpeech - } - return "" -} - -func (m *Intent_Message_SimpleResponse) GetSsml() string { - if m != nil { - return m.Ssml - } - return "" -} - -func (m *Intent_Message_SimpleResponse) GetDisplayText() string { - if m != nil { - return m.DisplayText - } - return "" -} - -// The collection of simple response candidates. -// This message in `QueryResult.fulfillment_messages` and -// `WebhookResponse.fulfillment_messages` should contain only one -// `SimpleResponse`. -type Intent_Message_SimpleResponses struct { - // Required. The list of simple responses. - SimpleResponses []*Intent_Message_SimpleResponse `protobuf:"bytes,1,rep,name=simple_responses,json=simpleResponses,proto3" json:"simple_responses,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_SimpleResponses) Reset() { *m = Intent_Message_SimpleResponses{} } -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_5bdb4dcc248bd417, []int{0, 2, 5} -} - -func (m *Intent_Message_SimpleResponses) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_SimpleResponses.Unmarshal(m, b) -} -func (m *Intent_Message_SimpleResponses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_SimpleResponses.Marshal(b, m, deterministic) -} -func (m *Intent_Message_SimpleResponses) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_SimpleResponses.Merge(m, src) -} -func (m *Intent_Message_SimpleResponses) XXX_Size() int { - return xxx_messageInfo_Intent_Message_SimpleResponses.Size(m) -} -func (m *Intent_Message_SimpleResponses) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_SimpleResponses.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_SimpleResponses proto.InternalMessageInfo - -func (m *Intent_Message_SimpleResponses) GetSimpleResponses() []*Intent_Message_SimpleResponse { - if m != nil { - return m.SimpleResponses - } - return nil -} - -// The basic card message. Useful for displaying information. -type Intent_Message_BasicCard struct { - // Optional. The title of the card. - Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` - // Optional. The subtitle of the card. - Subtitle string `protobuf:"bytes,2,opt,name=subtitle,proto3" json:"subtitle,omitempty"` - // Required, unless image is present. The body text of the card. - FormattedText string `protobuf:"bytes,3,opt,name=formatted_text,json=formattedText,proto3" json:"formatted_text,omitempty"` - // Optional. The image for the card. - Image *Intent_Message_Image `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"` - // Optional. The collection of card buttons. - Buttons []*Intent_Message_BasicCard_Button `protobuf:"bytes,5,rep,name=buttons,proto3" json:"buttons,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_BasicCard) Reset() { *m = Intent_Message_BasicCard{} } -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_5bdb4dcc248bd417, []int{0, 2, 6} -} - -func (m *Intent_Message_BasicCard) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_BasicCard.Unmarshal(m, b) -} -func (m *Intent_Message_BasicCard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_BasicCard.Marshal(b, m, deterministic) -} -func (m *Intent_Message_BasicCard) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_BasicCard.Merge(m, src) -} -func (m *Intent_Message_BasicCard) XXX_Size() int { - return xxx_messageInfo_Intent_Message_BasicCard.Size(m) -} -func (m *Intent_Message_BasicCard) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_BasicCard.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_BasicCard proto.InternalMessageInfo - -func (m *Intent_Message_BasicCard) GetTitle() string { - if m != nil { - return m.Title - } - return "" -} - -func (m *Intent_Message_BasicCard) GetSubtitle() string { - if m != nil { - return m.Subtitle - } - return "" -} - -func (m *Intent_Message_BasicCard) GetFormattedText() string { - if m != nil { - return m.FormattedText - } - return "" -} - -func (m *Intent_Message_BasicCard) GetImage() *Intent_Message_Image { - if m != nil { - return m.Image - } - return nil -} - -func (m *Intent_Message_BasicCard) GetButtons() []*Intent_Message_BasicCard_Button { - if m != nil { - return m.Buttons - } - return nil -} - -// The button object that appears at the bottom of a card. -type Intent_Message_BasicCard_Button struct { - // Required. The title of the button. - Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` - // Required. Action to take when a user taps on the button. - OpenUriAction *Intent_Message_BasicCard_Button_OpenUriAction `protobuf:"bytes,2,opt,name=open_uri_action,json=openUriAction,proto3" json:"open_uri_action,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_BasicCard_Button) Reset() { *m = Intent_Message_BasicCard_Button{} } -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_5bdb4dcc248bd417, []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) -} -func (m *Intent_Message_BasicCard_Button) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_BasicCard_Button.Marshal(b, m, deterministic) -} -func (m *Intent_Message_BasicCard_Button) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_BasicCard_Button.Merge(m, src) -} -func (m *Intent_Message_BasicCard_Button) XXX_Size() int { - return xxx_messageInfo_Intent_Message_BasicCard_Button.Size(m) -} -func (m *Intent_Message_BasicCard_Button) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_BasicCard_Button.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_BasicCard_Button proto.InternalMessageInfo - -func (m *Intent_Message_BasicCard_Button) GetTitle() string { - if m != nil { - return m.Title - } - return "" -} - -func (m *Intent_Message_BasicCard_Button) GetOpenUriAction() *Intent_Message_BasicCard_Button_OpenUriAction { - if m != nil { - return m.OpenUriAction - } - return nil -} - -// Opens the given URI. -type Intent_Message_BasicCard_Button_OpenUriAction struct { - // Required. The HTTP or HTTPS scheme URI. - 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 *Intent_Message_BasicCard_Button_OpenUriAction) Reset() { - *m = Intent_Message_BasicCard_Button_OpenUriAction{} -} -func (m *Intent_Message_BasicCard_Button_OpenUriAction) String() string { - return proto.CompactTextString(m) -} -func (*Intent_Message_BasicCard_Button_OpenUriAction) ProtoMessage() {} -func (*Intent_Message_BasicCard_Button_OpenUriAction) Descriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []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) -} -func (m *Intent_Message_BasicCard_Button_OpenUriAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_BasicCard_Button_OpenUriAction.Marshal(b, m, deterministic) -} -func (m *Intent_Message_BasicCard_Button_OpenUriAction) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_BasicCard_Button_OpenUriAction.Merge(m, src) -} -func (m *Intent_Message_BasicCard_Button_OpenUriAction) XXX_Size() int { - return xxx_messageInfo_Intent_Message_BasicCard_Button_OpenUriAction.Size(m) -} -func (m *Intent_Message_BasicCard_Button_OpenUriAction) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_BasicCard_Button_OpenUriAction.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_BasicCard_Button_OpenUriAction proto.InternalMessageInfo - -func (m *Intent_Message_BasicCard_Button_OpenUriAction) GetUri() string { - if m != nil { - return m.Uri - } - return "" -} - -// The suggestion chip message that the user can tap to quickly post a reply -// to the conversation. -type Intent_Message_Suggestion struct { - // Required. The text shown the in the suggestion chip. - Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_Suggestion) Reset() { *m = Intent_Message_Suggestion{} } -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_5bdb4dcc248bd417, []int{0, 2, 7} -} - -func (m *Intent_Message_Suggestion) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_Suggestion.Unmarshal(m, b) -} -func (m *Intent_Message_Suggestion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_Suggestion.Marshal(b, m, deterministic) -} -func (m *Intent_Message_Suggestion) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_Suggestion.Merge(m, src) -} -func (m *Intent_Message_Suggestion) XXX_Size() int { - return xxx_messageInfo_Intent_Message_Suggestion.Size(m) -} -func (m *Intent_Message_Suggestion) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_Suggestion.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_Suggestion proto.InternalMessageInfo - -func (m *Intent_Message_Suggestion) GetTitle() string { - if m != nil { - return m.Title - } - return "" -} - -// The collection of suggestions. -type Intent_Message_Suggestions struct { - // Required. The list of suggested replies. - Suggestions []*Intent_Message_Suggestion `protobuf:"bytes,1,rep,name=suggestions,proto3" json:"suggestions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_Suggestions) Reset() { *m = Intent_Message_Suggestions{} } -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_5bdb4dcc248bd417, []int{0, 2, 8} -} - -func (m *Intent_Message_Suggestions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_Suggestions.Unmarshal(m, b) -} -func (m *Intent_Message_Suggestions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_Suggestions.Marshal(b, m, deterministic) -} -func (m *Intent_Message_Suggestions) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_Suggestions.Merge(m, src) -} -func (m *Intent_Message_Suggestions) XXX_Size() int { - return xxx_messageInfo_Intent_Message_Suggestions.Size(m) -} -func (m *Intent_Message_Suggestions) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_Suggestions.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_Suggestions proto.InternalMessageInfo - -func (m *Intent_Message_Suggestions) GetSuggestions() []*Intent_Message_Suggestion { - if m != nil { - return m.Suggestions - } - return nil -} - -// The suggestion chip message that allows the user to jump out to the app -// or website associated with this agent. -type Intent_Message_LinkOutSuggestion struct { - // Required. The name of the app or site this chip is linking to. - DestinationName string `protobuf:"bytes,1,opt,name=destination_name,json=destinationName,proto3" json:"destination_name,omitempty"` - // Required. The URI of the app or site to open when the user taps the - // suggestion chip. - Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_LinkOutSuggestion) Reset() { *m = Intent_Message_LinkOutSuggestion{} } -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_5bdb4dcc248bd417, []int{0, 2, 9} -} - -func (m *Intent_Message_LinkOutSuggestion) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_LinkOutSuggestion.Unmarshal(m, b) -} -func (m *Intent_Message_LinkOutSuggestion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_LinkOutSuggestion.Marshal(b, m, deterministic) -} -func (m *Intent_Message_LinkOutSuggestion) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_LinkOutSuggestion.Merge(m, src) -} -func (m *Intent_Message_LinkOutSuggestion) XXX_Size() int { - return xxx_messageInfo_Intent_Message_LinkOutSuggestion.Size(m) -} -func (m *Intent_Message_LinkOutSuggestion) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_LinkOutSuggestion.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_LinkOutSuggestion proto.InternalMessageInfo - -func (m *Intent_Message_LinkOutSuggestion) GetDestinationName() string { - if m != nil { - return m.DestinationName - } - return "" -} - -func (m *Intent_Message_LinkOutSuggestion) GetUri() string { - if m != nil { - return m.Uri - } - return "" -} - -// The card for presenting a list of options to select from. -type Intent_Message_ListSelect struct { - // Optional. The overall title of the list. - Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` - // Required. List items. - Items []*Intent_Message_ListSelect_Item `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_ListSelect) Reset() { *m = Intent_Message_ListSelect{} } -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_5bdb4dcc248bd417, []int{0, 2, 10} -} - -func (m *Intent_Message_ListSelect) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_ListSelect.Unmarshal(m, b) -} -func (m *Intent_Message_ListSelect) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_ListSelect.Marshal(b, m, deterministic) -} -func (m *Intent_Message_ListSelect) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_ListSelect.Merge(m, src) -} -func (m *Intent_Message_ListSelect) XXX_Size() int { - return xxx_messageInfo_Intent_Message_ListSelect.Size(m) -} -func (m *Intent_Message_ListSelect) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_ListSelect.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_ListSelect proto.InternalMessageInfo - -func (m *Intent_Message_ListSelect) GetTitle() string { - if m != nil { - return m.Title - } - return "" -} - -func (m *Intent_Message_ListSelect) GetItems() []*Intent_Message_ListSelect_Item { - if m != nil { - return m.Items - } - return nil -} - -// An item in the list. -type Intent_Message_ListSelect_Item struct { - // Required. Additional information about this option. - Info *Intent_Message_SelectItemInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` - // Required. The title of the list item. - Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` - // Optional. The main text describing the item. - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - // Optional. The image to display. - Image *Intent_Message_Image `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_ListSelect_Item) Reset() { *m = Intent_Message_ListSelect_Item{} } -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_5bdb4dcc248bd417, []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) -} -func (m *Intent_Message_ListSelect_Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_ListSelect_Item.Marshal(b, m, deterministic) -} -func (m *Intent_Message_ListSelect_Item) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_ListSelect_Item.Merge(m, src) -} -func (m *Intent_Message_ListSelect_Item) XXX_Size() int { - return xxx_messageInfo_Intent_Message_ListSelect_Item.Size(m) -} -func (m *Intent_Message_ListSelect_Item) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_ListSelect_Item.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_ListSelect_Item proto.InternalMessageInfo - -func (m *Intent_Message_ListSelect_Item) GetInfo() *Intent_Message_SelectItemInfo { - if m != nil { - return m.Info - } - return nil -} - -func (m *Intent_Message_ListSelect_Item) GetTitle() string { - if m != nil { - return m.Title - } - return "" -} - -func (m *Intent_Message_ListSelect_Item) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *Intent_Message_ListSelect_Item) GetImage() *Intent_Message_Image { - if m != nil { - return m.Image - } - return nil -} - -// The card for presenting a carousel of options to select from. -type Intent_Message_CarouselSelect struct { - // Required. Carousel items. - Items []*Intent_Message_CarouselSelect_Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_CarouselSelect) Reset() { *m = Intent_Message_CarouselSelect{} } -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_5bdb4dcc248bd417, []int{0, 2, 11} -} - -func (m *Intent_Message_CarouselSelect) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_CarouselSelect.Unmarshal(m, b) -} -func (m *Intent_Message_CarouselSelect) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_CarouselSelect.Marshal(b, m, deterministic) -} -func (m *Intent_Message_CarouselSelect) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_CarouselSelect.Merge(m, src) -} -func (m *Intent_Message_CarouselSelect) XXX_Size() int { - return xxx_messageInfo_Intent_Message_CarouselSelect.Size(m) -} -func (m *Intent_Message_CarouselSelect) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_CarouselSelect.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_CarouselSelect proto.InternalMessageInfo - -func (m *Intent_Message_CarouselSelect) GetItems() []*Intent_Message_CarouselSelect_Item { - if m != nil { - return m.Items - } - return nil -} - -// An item in the carousel. -type Intent_Message_CarouselSelect_Item struct { - // Required. Additional info about the option item. - Info *Intent_Message_SelectItemInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` - // Required. Title of the carousel item. - Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` - // Optional. The body text of the card. - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - // Optional. The image to display. - Image *Intent_Message_Image `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_CarouselSelect_Item) Reset() { *m = Intent_Message_CarouselSelect_Item{} } -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_5bdb4dcc248bd417, []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) -} -func (m *Intent_Message_CarouselSelect_Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_CarouselSelect_Item.Marshal(b, m, deterministic) -} -func (m *Intent_Message_CarouselSelect_Item) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_CarouselSelect_Item.Merge(m, src) -} -func (m *Intent_Message_CarouselSelect_Item) XXX_Size() int { - return xxx_messageInfo_Intent_Message_CarouselSelect_Item.Size(m) -} -func (m *Intent_Message_CarouselSelect_Item) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_CarouselSelect_Item.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_CarouselSelect_Item proto.InternalMessageInfo - -func (m *Intent_Message_CarouselSelect_Item) GetInfo() *Intent_Message_SelectItemInfo { - if m != nil { - return m.Info - } - return nil -} - -func (m *Intent_Message_CarouselSelect_Item) GetTitle() string { - if m != nil { - return m.Title - } - return "" -} - -func (m *Intent_Message_CarouselSelect_Item) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *Intent_Message_CarouselSelect_Item) GetImage() *Intent_Message_Image { - if m != nil { - return m.Image - } - return nil -} - -// Additional info about the select item for when it is triggered in a -// dialog. -type Intent_Message_SelectItemInfo struct { - // Required. A unique key that will be sent back to the agent if this - // response is given. - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - // Optional. A list of synonyms that can also be used to trigger this - // item in dialog. - Synonyms []string `protobuf:"bytes,2,rep,name=synonyms,proto3" json:"synonyms,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_SelectItemInfo) Reset() { *m = Intent_Message_SelectItemInfo{} } -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_5bdb4dcc248bd417, []int{0, 2, 12} -} - -func (m *Intent_Message_SelectItemInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_SelectItemInfo.Unmarshal(m, b) -} -func (m *Intent_Message_SelectItemInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_SelectItemInfo.Marshal(b, m, deterministic) -} -func (m *Intent_Message_SelectItemInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_SelectItemInfo.Merge(m, src) -} -func (m *Intent_Message_SelectItemInfo) XXX_Size() int { - return xxx_messageInfo_Intent_Message_SelectItemInfo.Size(m) -} -func (m *Intent_Message_SelectItemInfo) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_SelectItemInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_SelectItemInfo proto.InternalMessageInfo - -func (m *Intent_Message_SelectItemInfo) GetKey() string { - if m != nil { - return m.Key - } - return "" -} - -func (m *Intent_Message_SelectItemInfo) GetSynonyms() []string { - if m != nil { - return m.Synonyms - } - return nil -} - -// Plays audio from a file in Telephony Gateway. -type Intent_Message_TelephonyPlayAudio struct { - // Required. URI to a Google Cloud Storage object containing the audio to - // play, e.g., "gs://bucket/object". The object must contain a single - // channel (mono) of linear PCM audio (2 bytes / sample) at 8kHz. - // - // This object must be readable by the `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` service account - // where is the number of the Telephony Gateway project - // (usually the same as the Dialogflow agent project). If the Google Cloud - // Storage bucket is in the Telephony Gateway project, this permission is - // added by default when enabling the Dialogflow V2 API. - // - // For audio from other sources, consider using the - // `TelephonySynthesizeSpeech` message with SSML. - AudioUri string `protobuf:"bytes,1,opt,name=audio_uri,json=audioUri,proto3" json:"audio_uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_TelephonyPlayAudio) Reset() { *m = Intent_Message_TelephonyPlayAudio{} } -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_5bdb4dcc248bd417, []int{0, 2, 13} -} - -func (m *Intent_Message_TelephonyPlayAudio) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_TelephonyPlayAudio.Unmarshal(m, b) -} -func (m *Intent_Message_TelephonyPlayAudio) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_TelephonyPlayAudio.Marshal(b, m, deterministic) -} -func (m *Intent_Message_TelephonyPlayAudio) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_TelephonyPlayAudio.Merge(m, src) -} -func (m *Intent_Message_TelephonyPlayAudio) XXX_Size() int { - return xxx_messageInfo_Intent_Message_TelephonyPlayAudio.Size(m) -} -func (m *Intent_Message_TelephonyPlayAudio) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_TelephonyPlayAudio.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_TelephonyPlayAudio proto.InternalMessageInfo - -func (m *Intent_Message_TelephonyPlayAudio) GetAudioUri() string { - if m != nil { - return m.AudioUri - } - return "" -} - -// Synthesizes speech and plays back the synthesized audio to the caller in -// Telephony Gateway. -// -// Telephony Gateway takes the synthesizer settings from -// `DetectIntentResponse.output_audio_config` which can either be set -// at request-level or can come from the agent-level synthesizer config. -type Intent_Message_TelephonySynthesizeSpeech struct { - // Required. The source to be synthesized. - // - // Types that are valid to be assigned to Source: - // *Intent_Message_TelephonySynthesizeSpeech_Text - // *Intent_Message_TelephonySynthesizeSpeech_Ssml - Source isIntent_Message_TelephonySynthesizeSpeech_Source `protobuf_oneof:"source"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_TelephonySynthesizeSpeech) Reset() { - *m = Intent_Message_TelephonySynthesizeSpeech{} -} -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_5bdb4dcc248bd417, []int{0, 2, 14} -} - -func (m *Intent_Message_TelephonySynthesizeSpeech) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_TelephonySynthesizeSpeech.Unmarshal(m, b) -} -func (m *Intent_Message_TelephonySynthesizeSpeech) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_TelephonySynthesizeSpeech.Marshal(b, m, deterministic) -} -func (m *Intent_Message_TelephonySynthesizeSpeech) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_TelephonySynthesizeSpeech.Merge(m, src) -} -func (m *Intent_Message_TelephonySynthesizeSpeech) XXX_Size() int { - return xxx_messageInfo_Intent_Message_TelephonySynthesizeSpeech.Size(m) -} -func (m *Intent_Message_TelephonySynthesizeSpeech) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_TelephonySynthesizeSpeech.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_TelephonySynthesizeSpeech proto.InternalMessageInfo - -type isIntent_Message_TelephonySynthesizeSpeech_Source interface { - isIntent_Message_TelephonySynthesizeSpeech_Source() -} - -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() { -} - -func (m *Intent_Message_TelephonySynthesizeSpeech) GetSource() isIntent_Message_TelephonySynthesizeSpeech_Source { - if m != nil { - return m.Source - } - return nil -} - -func (m *Intent_Message_TelephonySynthesizeSpeech) GetText() string { - if x, ok := m.GetSource().(*Intent_Message_TelephonySynthesizeSpeech_Text); ok { - return x.Text - } - return "" -} - -func (m *Intent_Message_TelephonySynthesizeSpeech) GetSsml() string { - if x, ok := m.GetSource().(*Intent_Message_TelephonySynthesizeSpeech_Ssml); ok { - return x.Ssml - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Intent_Message_TelephonySynthesizeSpeech) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Intent_Message_TelephonySynthesizeSpeech_Text)(nil), - (*Intent_Message_TelephonySynthesizeSpeech_Ssml)(nil), - } -} - -// Transfers the call in Telephony Gateway. -type Intent_Message_TelephonyTransferCall struct { - // Required. The phone number to transfer the call to - // in [E.164 format](https://en.wikipedia.org/wiki/E.164). - // - // We currently only allow transferring to US numbers (+1xxxyyyzzzz). - PhoneNumber string `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_TelephonyTransferCall) Reset() { *m = Intent_Message_TelephonyTransferCall{} } -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_5bdb4dcc248bd417, []int{0, 2, 15} -} - -func (m *Intent_Message_TelephonyTransferCall) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_TelephonyTransferCall.Unmarshal(m, b) -} -func (m *Intent_Message_TelephonyTransferCall) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_TelephonyTransferCall.Marshal(b, m, deterministic) -} -func (m *Intent_Message_TelephonyTransferCall) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_TelephonyTransferCall.Merge(m, src) -} -func (m *Intent_Message_TelephonyTransferCall) XXX_Size() int { - return xxx_messageInfo_Intent_Message_TelephonyTransferCall.Size(m) -} -func (m *Intent_Message_TelephonyTransferCall) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_TelephonyTransferCall.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_TelephonyTransferCall proto.InternalMessageInfo - -func (m *Intent_Message_TelephonyTransferCall) GetPhoneNumber() string { - if m != nil { - return m.PhoneNumber - } - return "" -} - -// Rich Business Messaging (RBM) text response with suggestions. -type Intent_Message_RbmText struct { - // Required. Text sent and displayed to the user. - Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` - // Optional. One or more suggestions to show to the user. - RbmSuggestion []*Intent_Message_RbmSuggestion `protobuf:"bytes,2,rep,name=rbm_suggestion,json=rbmSuggestion,proto3" json:"rbm_suggestion,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_RbmText) Reset() { *m = Intent_Message_RbmText{} } -func (m *Intent_Message_RbmText) String() string { return proto.CompactTextString(m) } -func (*Intent_Message_RbmText) ProtoMessage() {} -func (*Intent_Message_RbmText) Descriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{0, 2, 16} -} - -func (m *Intent_Message_RbmText) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_RbmText.Unmarshal(m, b) -} -func (m *Intent_Message_RbmText) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_RbmText.Marshal(b, m, deterministic) -} -func (m *Intent_Message_RbmText) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_RbmText.Merge(m, src) -} -func (m *Intent_Message_RbmText) XXX_Size() int { - return xxx_messageInfo_Intent_Message_RbmText.Size(m) -} -func (m *Intent_Message_RbmText) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_RbmText.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_RbmText proto.InternalMessageInfo - -func (m *Intent_Message_RbmText) GetText() string { - if m != nil { - return m.Text - } - return "" -} - -func (m *Intent_Message_RbmText) GetRbmSuggestion() []*Intent_Message_RbmSuggestion { - if m != nil { - return m.RbmSuggestion - } - return nil -} - -// Carousel Rich Business Messaging (RBM) rich card. -// -// Rich cards allow you to respond to users with more vivid content, e.g. -// with media and suggestions. -// -// For more details about RBM rich cards, please see: -// https://developers.google.com/rcs-business-messaging/rbm/guides/build/send-messages#rich-cards. -// If you want to show a single card with more control over the layout, -// please use [RbmStandaloneCard][google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard] instead. -type Intent_Message_RbmCarouselCard struct { - // Required. The width of the cards in the carousel. - CardWidth Intent_Message_RbmCarouselCard_CardWidth `protobuf:"varint,1,opt,name=card_width,json=cardWidth,proto3,enum=google.cloud.dialogflow.v2beta1.Intent_Message_RbmCarouselCard_CardWidth" json:"card_width,omitempty"` - // Required. The cards in the carousel. A carousel must have at least - // 2 cards and at most 10. - CardContents []*Intent_Message_RbmCardContent `protobuf:"bytes,2,rep,name=card_contents,json=cardContents,proto3" json:"card_contents,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_RbmCarouselCard) Reset() { *m = Intent_Message_RbmCarouselCard{} } -func (m *Intent_Message_RbmCarouselCard) String() string { return proto.CompactTextString(m) } -func (*Intent_Message_RbmCarouselCard) ProtoMessage() {} -func (*Intent_Message_RbmCarouselCard) Descriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{0, 2, 17} -} - -func (m *Intent_Message_RbmCarouselCard) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_RbmCarouselCard.Unmarshal(m, b) -} -func (m *Intent_Message_RbmCarouselCard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_RbmCarouselCard.Marshal(b, m, deterministic) -} -func (m *Intent_Message_RbmCarouselCard) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_RbmCarouselCard.Merge(m, src) -} -func (m *Intent_Message_RbmCarouselCard) XXX_Size() int { - return xxx_messageInfo_Intent_Message_RbmCarouselCard.Size(m) -} -func (m *Intent_Message_RbmCarouselCard) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_RbmCarouselCard.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_RbmCarouselCard proto.InternalMessageInfo - -func (m *Intent_Message_RbmCarouselCard) GetCardWidth() Intent_Message_RbmCarouselCard_CardWidth { - if m != nil { - return m.CardWidth - } - return Intent_Message_RbmCarouselCard_CARD_WIDTH_UNSPECIFIED -} - -func (m *Intent_Message_RbmCarouselCard) GetCardContents() []*Intent_Message_RbmCardContent { - if m != nil { - return m.CardContents - } - return nil -} - -// Standalone Rich Business Messaging (RBM) rich card. -// -// Rich cards allow you to respond to users with more vivid content, e.g. -// with media and suggestions. -// -// For more details about RBM rich cards, please see: -// https://developers.google.com/rcs-business-messaging/rbm/guides/build/send-messages#rich-cards. -// You can group multiple rich cards into one using [RbmCarouselCard][google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard] but -// carousel cards will give you less control over the card layout. -type Intent_Message_RbmStandaloneCard struct { - // Required. Orientation of the card. - CardOrientation Intent_Message_RbmStandaloneCard_CardOrientation `protobuf:"varint,1,opt,name=card_orientation,json=cardOrientation,proto3,enum=google.cloud.dialogflow.v2beta1.Intent_Message_RbmStandaloneCard_CardOrientation" json:"card_orientation,omitempty"` - // Required if orientation is horizontal. - // Image preview alignment for standalone cards with horizontal layout. - ThumbnailImageAlignment Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment `protobuf:"varint,2,opt,name=thumbnail_image_alignment,json=thumbnailImageAlignment,proto3,enum=google.cloud.dialogflow.v2beta1.Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment" json:"thumbnail_image_alignment,omitempty"` - // Required. Card content. - CardContent *Intent_Message_RbmCardContent `protobuf:"bytes,3,opt,name=card_content,json=cardContent,proto3" json:"card_content,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_RbmStandaloneCard) Reset() { *m = Intent_Message_RbmStandaloneCard{} } -func (m *Intent_Message_RbmStandaloneCard) String() string { return proto.CompactTextString(m) } -func (*Intent_Message_RbmStandaloneCard) ProtoMessage() {} -func (*Intent_Message_RbmStandaloneCard) Descriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{0, 2, 18} -} - -func (m *Intent_Message_RbmStandaloneCard) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_RbmStandaloneCard.Unmarshal(m, b) -} -func (m *Intent_Message_RbmStandaloneCard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_RbmStandaloneCard.Marshal(b, m, deterministic) -} -func (m *Intent_Message_RbmStandaloneCard) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_RbmStandaloneCard.Merge(m, src) -} -func (m *Intent_Message_RbmStandaloneCard) XXX_Size() int { - return xxx_messageInfo_Intent_Message_RbmStandaloneCard.Size(m) -} -func (m *Intent_Message_RbmStandaloneCard) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_RbmStandaloneCard.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_RbmStandaloneCard proto.InternalMessageInfo - -func (m *Intent_Message_RbmStandaloneCard) GetCardOrientation() Intent_Message_RbmStandaloneCard_CardOrientation { - if m != nil { - return m.CardOrientation - } - return Intent_Message_RbmStandaloneCard_CARD_ORIENTATION_UNSPECIFIED -} - -func (m *Intent_Message_RbmStandaloneCard) GetThumbnailImageAlignment() Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment { - if m != nil { - return m.ThumbnailImageAlignment - } - return Intent_Message_RbmStandaloneCard_THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED -} - -func (m *Intent_Message_RbmStandaloneCard) GetCardContent() *Intent_Message_RbmCardContent { - if m != nil { - return m.CardContent - } - return nil -} - -// Rich Business Messaging (RBM) Card content -type Intent_Message_RbmCardContent struct { - // Optional. Title of the card (at most 200 bytes). - // - // At least one of the title, description or media must be set. - Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` - // Optional. Description of the card (at most 2000 bytes). - // - // At least one of the title, description or media must be set. - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - // Optional. However at least one of the title, description or media must - // be set. Media (image, GIF or a video) to include in the card. - Media *Intent_Message_RbmCardContent_RbmMedia `protobuf:"bytes,3,opt,name=media,proto3" json:"media,omitempty"` - // Optional. List of suggestions to include in the card. - Suggestions []*Intent_Message_RbmSuggestion `protobuf:"bytes,4,rep,name=suggestions,proto3" json:"suggestions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_RbmCardContent) Reset() { *m = Intent_Message_RbmCardContent{} } -func (m *Intent_Message_RbmCardContent) String() string { return proto.CompactTextString(m) } -func (*Intent_Message_RbmCardContent) ProtoMessage() {} -func (*Intent_Message_RbmCardContent) Descriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{0, 2, 19} -} - -func (m *Intent_Message_RbmCardContent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_RbmCardContent.Unmarshal(m, b) -} -func (m *Intent_Message_RbmCardContent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_RbmCardContent.Marshal(b, m, deterministic) -} -func (m *Intent_Message_RbmCardContent) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_RbmCardContent.Merge(m, src) -} -func (m *Intent_Message_RbmCardContent) XXX_Size() int { - return xxx_messageInfo_Intent_Message_RbmCardContent.Size(m) -} -func (m *Intent_Message_RbmCardContent) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_RbmCardContent.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_RbmCardContent proto.InternalMessageInfo - -func (m *Intent_Message_RbmCardContent) GetTitle() string { - if m != nil { - return m.Title - } - return "" -} - -func (m *Intent_Message_RbmCardContent) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *Intent_Message_RbmCardContent) GetMedia() *Intent_Message_RbmCardContent_RbmMedia { - if m != nil { - return m.Media - } - return nil -} - -func (m *Intent_Message_RbmCardContent) GetSuggestions() []*Intent_Message_RbmSuggestion { - if m != nil { - return m.Suggestions - } - return nil -} - -// Rich Business Messaging (RBM) Media displayed in Cards -// The following media-types are currently supported: -// -// ## Image Types -// -// image/jpeg -// image/jpg' -// image/gif -// image/png -// -// ## Video Types -// -// video/h263 -// video/m4v -// video/mp4 -// video/mpeg -// video/mpeg4 -// video/webm -type Intent_Message_RbmCardContent_RbmMedia struct { - // Required. Publicly reachable URI of the file. The RBM platform - // determines the MIME type of the file from the content-type field in - // the HTTP headers when the platform fetches the file. The content-type - // field must be present and accurate in the HTTP response from the URL. - FileUri string `protobuf:"bytes,1,opt,name=file_uri,json=fileUri,proto3" json:"file_uri,omitempty"` - // Optional. Publicly reachable URI of the thumbnail.If you don't - // provide a thumbnail URI, the RBM platform displays a blank - // placeholder thumbnail until the user's device downloads the file. - // Depending on the user's setting, the file may not download - // automatically and may require the user to tap a download button. - ThumbnailUri string `protobuf:"bytes,2,opt,name=thumbnail_uri,json=thumbnailUri,proto3" json:"thumbnail_uri,omitempty"` - // Required for cards with vertical orientation. The height of the media - // within a rich card with a vertical layout. (https://goo.gl/NeFCjz). - // For a standalone card with horizontal layout, height is not - // customizable, and this field is ignored. - Height Intent_Message_RbmCardContent_RbmMedia_Height `protobuf:"varint,3,opt,name=height,proto3,enum=google.cloud.dialogflow.v2beta1.Intent_Message_RbmCardContent_RbmMedia_Height" json:"height,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_RbmCardContent_RbmMedia) Reset() { - *m = Intent_Message_RbmCardContent_RbmMedia{} -} -func (m *Intent_Message_RbmCardContent_RbmMedia) String() string { return proto.CompactTextString(m) } -func (*Intent_Message_RbmCardContent_RbmMedia) ProtoMessage() {} -func (*Intent_Message_RbmCardContent_RbmMedia) Descriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{0, 2, 19, 0} -} - -func (m *Intent_Message_RbmCardContent_RbmMedia) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_RbmCardContent_RbmMedia.Unmarshal(m, b) -} -func (m *Intent_Message_RbmCardContent_RbmMedia) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_RbmCardContent_RbmMedia.Marshal(b, m, deterministic) -} -func (m *Intent_Message_RbmCardContent_RbmMedia) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_RbmCardContent_RbmMedia.Merge(m, src) -} -func (m *Intent_Message_RbmCardContent_RbmMedia) XXX_Size() int { - return xxx_messageInfo_Intent_Message_RbmCardContent_RbmMedia.Size(m) -} -func (m *Intent_Message_RbmCardContent_RbmMedia) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_RbmCardContent_RbmMedia.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_RbmCardContent_RbmMedia proto.InternalMessageInfo - -func (m *Intent_Message_RbmCardContent_RbmMedia) GetFileUri() string { - if m != nil { - return m.FileUri - } - return "" -} - -func (m *Intent_Message_RbmCardContent_RbmMedia) GetThumbnailUri() string { - if m != nil { - return m.ThumbnailUri - } - return "" -} - -func (m *Intent_Message_RbmCardContent_RbmMedia) GetHeight() Intent_Message_RbmCardContent_RbmMedia_Height { - if m != nil { - return m.Height - } - return Intent_Message_RbmCardContent_RbmMedia_HEIGHT_UNSPECIFIED -} - -// Rich Business Messaging (RBM) suggestion. Suggestions allow user to -// easily select/click a predefined response or perform an action (like -// opening a web uri). -type Intent_Message_RbmSuggestion struct { - // Predefined suggested response or action for user to choose - // - // Types that are valid to be assigned to Suggestion: - // *Intent_Message_RbmSuggestion_Reply - // *Intent_Message_RbmSuggestion_Action - Suggestion isIntent_Message_RbmSuggestion_Suggestion `protobuf_oneof:"suggestion"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_RbmSuggestion) Reset() { *m = Intent_Message_RbmSuggestion{} } -func (m *Intent_Message_RbmSuggestion) String() string { return proto.CompactTextString(m) } -func (*Intent_Message_RbmSuggestion) ProtoMessage() {} -func (*Intent_Message_RbmSuggestion) Descriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{0, 2, 20} -} - -func (m *Intent_Message_RbmSuggestion) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_RbmSuggestion.Unmarshal(m, b) -} -func (m *Intent_Message_RbmSuggestion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_RbmSuggestion.Marshal(b, m, deterministic) -} -func (m *Intent_Message_RbmSuggestion) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_RbmSuggestion.Merge(m, src) -} -func (m *Intent_Message_RbmSuggestion) XXX_Size() int { - return xxx_messageInfo_Intent_Message_RbmSuggestion.Size(m) -} -func (m *Intent_Message_RbmSuggestion) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_RbmSuggestion.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_RbmSuggestion proto.InternalMessageInfo - -type isIntent_Message_RbmSuggestion_Suggestion interface { - isIntent_Message_RbmSuggestion_Suggestion() -} - -type Intent_Message_RbmSuggestion_Reply struct { - Reply *Intent_Message_RbmSuggestedReply `protobuf:"bytes,1,opt,name=reply,proto3,oneof"` -} - -type Intent_Message_RbmSuggestion_Action struct { - Action *Intent_Message_RbmSuggestedAction `protobuf:"bytes,2,opt,name=action,proto3,oneof"` -} - -func (*Intent_Message_RbmSuggestion_Reply) isIntent_Message_RbmSuggestion_Suggestion() {} - -func (*Intent_Message_RbmSuggestion_Action) isIntent_Message_RbmSuggestion_Suggestion() {} - -func (m *Intent_Message_RbmSuggestion) GetSuggestion() isIntent_Message_RbmSuggestion_Suggestion { - if m != nil { - return m.Suggestion - } - return nil -} - -func (m *Intent_Message_RbmSuggestion) GetReply() *Intent_Message_RbmSuggestedReply { - if x, ok := m.GetSuggestion().(*Intent_Message_RbmSuggestion_Reply); ok { - return x.Reply - } - return nil -} - -func (m *Intent_Message_RbmSuggestion) GetAction() *Intent_Message_RbmSuggestedAction { - if x, ok := m.GetSuggestion().(*Intent_Message_RbmSuggestion_Action); ok { - return x.Action - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Intent_Message_RbmSuggestion) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Intent_Message_RbmSuggestion_Reply)(nil), - (*Intent_Message_RbmSuggestion_Action)(nil), - } -} - -// Rich Business Messaging (RBM) suggested reply that the user can click -// instead of typing in their own response. -type Intent_Message_RbmSuggestedReply struct { - // Suggested reply text. - Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` - // Opaque payload that the Dialogflow receives in a user event - // when the user taps the suggested reply. This data will be also - // forwarded to webhook to allow performing custom business logic. - PostbackData string `protobuf:"bytes,2,opt,name=postback_data,json=postbackData,proto3" json:"postback_data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_RbmSuggestedReply) Reset() { *m = Intent_Message_RbmSuggestedReply{} } -func (m *Intent_Message_RbmSuggestedReply) String() string { return proto.CompactTextString(m) } -func (*Intent_Message_RbmSuggestedReply) ProtoMessage() {} -func (*Intent_Message_RbmSuggestedReply) Descriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{0, 2, 21} -} - -func (m *Intent_Message_RbmSuggestedReply) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_RbmSuggestedReply.Unmarshal(m, b) -} -func (m *Intent_Message_RbmSuggestedReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_RbmSuggestedReply.Marshal(b, m, deterministic) -} -func (m *Intent_Message_RbmSuggestedReply) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_RbmSuggestedReply.Merge(m, src) -} -func (m *Intent_Message_RbmSuggestedReply) XXX_Size() int { - return xxx_messageInfo_Intent_Message_RbmSuggestedReply.Size(m) -} -func (m *Intent_Message_RbmSuggestedReply) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_RbmSuggestedReply.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_RbmSuggestedReply proto.InternalMessageInfo - -func (m *Intent_Message_RbmSuggestedReply) GetText() string { - if m != nil { - return m.Text - } - return "" -} - -func (m *Intent_Message_RbmSuggestedReply) GetPostbackData() string { - if m != nil { - return m.PostbackData - } - return "" -} - -// Rich Business Messaging (RBM) suggested client-side action that the user -// can choose from the card. -type Intent_Message_RbmSuggestedAction struct { - // Text to display alongside the action. - Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` - // Opaque payload that the Dialogflow receives in a user event - // when the user taps the suggested action. This data will be also - // forwarded to webhook to allow performing custom business logic. - PostbackData string `protobuf:"bytes,2,opt,name=postback_data,json=postbackData,proto3" json:"postback_data,omitempty"` - // Action that needs to be triggered. - // - // Types that are valid to be assigned to Action: - // *Intent_Message_RbmSuggestedAction_Dial - // *Intent_Message_RbmSuggestedAction_OpenUrl - // *Intent_Message_RbmSuggestedAction_ShareLocation - Action isIntent_Message_RbmSuggestedAction_Action `protobuf_oneof:"action"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_RbmSuggestedAction) Reset() { *m = Intent_Message_RbmSuggestedAction{} } -func (m *Intent_Message_RbmSuggestedAction) String() string { return proto.CompactTextString(m) } -func (*Intent_Message_RbmSuggestedAction) ProtoMessage() {} -func (*Intent_Message_RbmSuggestedAction) Descriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{0, 2, 22} -} - -func (m *Intent_Message_RbmSuggestedAction) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_RbmSuggestedAction.Unmarshal(m, b) -} -func (m *Intent_Message_RbmSuggestedAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_RbmSuggestedAction.Marshal(b, m, deterministic) -} -func (m *Intent_Message_RbmSuggestedAction) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_RbmSuggestedAction.Merge(m, src) -} -func (m *Intent_Message_RbmSuggestedAction) XXX_Size() int { - return xxx_messageInfo_Intent_Message_RbmSuggestedAction.Size(m) -} -func (m *Intent_Message_RbmSuggestedAction) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_RbmSuggestedAction.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_RbmSuggestedAction proto.InternalMessageInfo - -func (m *Intent_Message_RbmSuggestedAction) GetText() string { - if m != nil { - return m.Text - } - return "" -} - -func (m *Intent_Message_RbmSuggestedAction) GetPostbackData() string { - if m != nil { - return m.PostbackData - } - return "" -} - -type isIntent_Message_RbmSuggestedAction_Action interface { - isIntent_Message_RbmSuggestedAction_Action() -} - -type Intent_Message_RbmSuggestedAction_Dial struct { - Dial *Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial `protobuf:"bytes,3,opt,name=dial,proto3,oneof"` -} - -type Intent_Message_RbmSuggestedAction_OpenUrl struct { - OpenUrl *Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri `protobuf:"bytes,4,opt,name=open_url,json=openUrl,proto3,oneof"` -} - -type Intent_Message_RbmSuggestedAction_ShareLocation struct { - ShareLocation *Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation `protobuf:"bytes,5,opt,name=share_location,json=shareLocation,proto3,oneof"` -} - -func (*Intent_Message_RbmSuggestedAction_Dial) isIntent_Message_RbmSuggestedAction_Action() {} - -func (*Intent_Message_RbmSuggestedAction_OpenUrl) isIntent_Message_RbmSuggestedAction_Action() {} - -func (*Intent_Message_RbmSuggestedAction_ShareLocation) isIntent_Message_RbmSuggestedAction_Action() {} - -func (m *Intent_Message_RbmSuggestedAction) GetAction() isIntent_Message_RbmSuggestedAction_Action { - if m != nil { - return m.Action - } - return nil -} - -func (m *Intent_Message_RbmSuggestedAction) GetDial() *Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial { - if x, ok := m.GetAction().(*Intent_Message_RbmSuggestedAction_Dial); ok { - return x.Dial - } - return nil -} - -func (m *Intent_Message_RbmSuggestedAction) GetOpenUrl() *Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri { - if x, ok := m.GetAction().(*Intent_Message_RbmSuggestedAction_OpenUrl); ok { - return x.OpenUrl - } - return nil -} - -func (m *Intent_Message_RbmSuggestedAction) GetShareLocation() *Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation { - if x, ok := m.GetAction().(*Intent_Message_RbmSuggestedAction_ShareLocation); ok { - return x.ShareLocation - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Intent_Message_RbmSuggestedAction) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Intent_Message_RbmSuggestedAction_Dial)(nil), - (*Intent_Message_RbmSuggestedAction_OpenUrl)(nil), - (*Intent_Message_RbmSuggestedAction_ShareLocation)(nil), - } -} - -// Opens the user's default dialer app with the specified phone number -// but does not dial automatically (https://goo.gl/ergbB2). -type Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial struct { - // Required. The phone number to fill in the default dialer app. - // This field should be in [E.164](https://en.wikipedia.org/wiki/E.164) - // format. An example of a correctly formatted phone number: - // +15556767888. - PhoneNumber string `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial) Reset() { - *m = Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial{} -} -func (m *Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial) String() string { - return proto.CompactTextString(m) -} -func (*Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial) ProtoMessage() {} -func (*Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial) Descriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{0, 2, 22, 0} -} - -func (m *Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial.Unmarshal(m, b) -} -func (m *Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial.Marshal(b, m, deterministic) -} -func (m *Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial.Merge(m, src) -} -func (m *Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial) XXX_Size() int { - return xxx_messageInfo_Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial.Size(m) -} -func (m *Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial proto.InternalMessageInfo - -func (m *Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial) GetPhoneNumber() string { - if m != nil { - return m.PhoneNumber - } - return "" -} - -// Opens the user's default web browser app to the specified uri -// (https://goo.gl/6GLJD2). If the user has an app installed that is -// registered as the default handler for the URL, then this app will be -// opened instead, and its icon will be used in the suggested action UI. -type Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri struct { - // Required. The uri to open on the user device - 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 *Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri) Reset() { - *m = Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri{} -} -func (m *Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri) String() string { - return proto.CompactTextString(m) -} -func (*Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri) ProtoMessage() {} -func (*Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri) Descriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{0, 2, 22, 1} -} - -func (m *Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri.Unmarshal(m, b) -} -func (m *Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri.Marshal(b, m, deterministic) -} -func (m *Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri.Merge(m, src) -} -func (m *Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri) XXX_Size() int { - return xxx_messageInfo_Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri.Size(m) -} -func (m *Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri proto.InternalMessageInfo - -func (m *Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri) GetUri() string { - if m != nil { - return m.Uri - } - return "" -} - -// Opens the device's location chooser so the user can pick a location -// to send back to the agent (https://goo.gl/GXotJW). -type Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation) Reset() { - *m = Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation{} -} -func (m *Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation) String() string { - return proto.CompactTextString(m) -} -func (*Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation) ProtoMessage() {} -func (*Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation) Descriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{0, 2, 22, 2} -} - -func (m *Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation.Unmarshal(m, b) -} -func (m *Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation.Marshal(b, m, deterministic) -} -func (m *Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation.Merge(m, src) -} -func (m *Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation) XXX_Size() int { - return xxx_messageInfo_Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation.Size(m) -} -func (m *Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation proto.InternalMessageInfo - -// The media content card for Actions on Google. -type Intent_Message_MediaContent struct { - // Optional. What type of media is the content (ie "audio"). - MediaType Intent_Message_MediaContent_ResponseMediaType `protobuf:"varint,1,opt,name=media_type,json=mediaType,proto3,enum=google.cloud.dialogflow.v2beta1.Intent_Message_MediaContent_ResponseMediaType" json:"media_type,omitempty"` - // Required. List of media objects. - MediaObjects []*Intent_Message_MediaContent_ResponseMediaObject `protobuf:"bytes,2,rep,name=media_objects,json=mediaObjects,proto3" json:"media_objects,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_MediaContent) Reset() { *m = Intent_Message_MediaContent{} } -func (m *Intent_Message_MediaContent) String() string { return proto.CompactTextString(m) } -func (*Intent_Message_MediaContent) ProtoMessage() {} -func (*Intent_Message_MediaContent) Descriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{0, 2, 23} -} - -func (m *Intent_Message_MediaContent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_MediaContent.Unmarshal(m, b) -} -func (m *Intent_Message_MediaContent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_MediaContent.Marshal(b, m, deterministic) -} -func (m *Intent_Message_MediaContent) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_MediaContent.Merge(m, src) -} -func (m *Intent_Message_MediaContent) XXX_Size() int { - return xxx_messageInfo_Intent_Message_MediaContent.Size(m) -} -func (m *Intent_Message_MediaContent) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_MediaContent.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_MediaContent proto.InternalMessageInfo - -func (m *Intent_Message_MediaContent) GetMediaType() Intent_Message_MediaContent_ResponseMediaType { - if m != nil { - return m.MediaType - } - return Intent_Message_MediaContent_RESPONSE_MEDIA_TYPE_UNSPECIFIED -} - -func (m *Intent_Message_MediaContent) GetMediaObjects() []*Intent_Message_MediaContent_ResponseMediaObject { - if m != nil { - return m.MediaObjects - } - return nil -} - -// Response media object for media content card. -type Intent_Message_MediaContent_ResponseMediaObject struct { - // Required. Name of media card. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Optional. Description of media card. - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - // Image to show with the media card. - // - // Types that are valid to be assigned to Image: - // *Intent_Message_MediaContent_ResponseMediaObject_LargeImage - // *Intent_Message_MediaContent_ResponseMediaObject_Icon - Image isIntent_Message_MediaContent_ResponseMediaObject_Image `protobuf_oneof:"image"` - // Required. Url where the media is stored. - ContentUrl string `protobuf:"bytes,5,opt,name=content_url,json=contentUrl,proto3" json:"content_url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_MediaContent_ResponseMediaObject) Reset() { - *m = Intent_Message_MediaContent_ResponseMediaObject{} -} -func (m *Intent_Message_MediaContent_ResponseMediaObject) String() string { - return proto.CompactTextString(m) -} -func (*Intent_Message_MediaContent_ResponseMediaObject) ProtoMessage() {} -func (*Intent_Message_MediaContent_ResponseMediaObject) Descriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{0, 2, 23, 0} -} - -func (m *Intent_Message_MediaContent_ResponseMediaObject) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_MediaContent_ResponseMediaObject.Unmarshal(m, b) -} -func (m *Intent_Message_MediaContent_ResponseMediaObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_MediaContent_ResponseMediaObject.Marshal(b, m, deterministic) -} -func (m *Intent_Message_MediaContent_ResponseMediaObject) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_MediaContent_ResponseMediaObject.Merge(m, src) -} -func (m *Intent_Message_MediaContent_ResponseMediaObject) XXX_Size() int { - return xxx_messageInfo_Intent_Message_MediaContent_ResponseMediaObject.Size(m) -} -func (m *Intent_Message_MediaContent_ResponseMediaObject) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_MediaContent_ResponseMediaObject.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_MediaContent_ResponseMediaObject proto.InternalMessageInfo - -func (m *Intent_Message_MediaContent_ResponseMediaObject) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Intent_Message_MediaContent_ResponseMediaObject) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -type isIntent_Message_MediaContent_ResponseMediaObject_Image interface { - isIntent_Message_MediaContent_ResponseMediaObject_Image() -} - -type Intent_Message_MediaContent_ResponseMediaObject_LargeImage struct { - LargeImage *Intent_Message_Image `protobuf:"bytes,3,opt,name=large_image,json=largeImage,proto3,oneof"` -} - -type Intent_Message_MediaContent_ResponseMediaObject_Icon struct { - Icon *Intent_Message_Image `protobuf:"bytes,4,opt,name=icon,proto3,oneof"` -} - -func (*Intent_Message_MediaContent_ResponseMediaObject_LargeImage) isIntent_Message_MediaContent_ResponseMediaObject_Image() { -} - -func (*Intent_Message_MediaContent_ResponseMediaObject_Icon) isIntent_Message_MediaContent_ResponseMediaObject_Image() { -} - -func (m *Intent_Message_MediaContent_ResponseMediaObject) GetImage() isIntent_Message_MediaContent_ResponseMediaObject_Image { - if m != nil { - return m.Image - } - return nil -} - -func (m *Intent_Message_MediaContent_ResponseMediaObject) GetLargeImage() *Intent_Message_Image { - if x, ok := m.GetImage().(*Intent_Message_MediaContent_ResponseMediaObject_LargeImage); ok { - return x.LargeImage - } - return nil -} - -func (m *Intent_Message_MediaContent_ResponseMediaObject) GetIcon() *Intent_Message_Image { - if x, ok := m.GetImage().(*Intent_Message_MediaContent_ResponseMediaObject_Icon); ok { - return x.Icon - } - return nil -} - -func (m *Intent_Message_MediaContent_ResponseMediaObject) GetContentUrl() string { - if m != nil { - return m.ContentUrl - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Intent_Message_MediaContent_ResponseMediaObject) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Intent_Message_MediaContent_ResponseMediaObject_LargeImage)(nil), - (*Intent_Message_MediaContent_ResponseMediaObject_Icon)(nil), - } -} - -// Browse Carousel Card for Actions on Google. -// https://developers.google.com/actions/assistant/responses#browsing_carousel -type Intent_Message_BrowseCarouselCard struct { - // Required. List of items in the Browse Carousel Card. Minimum of two - // items, maximum of ten. - Items []*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` - // Optional. Settings for displaying the image. Applies to every image in - // [items][google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.items]. - ImageDisplayOptions Intent_Message_BrowseCarouselCard_ImageDisplayOptions `protobuf:"varint,2,opt,name=image_display_options,json=imageDisplayOptions,proto3,enum=google.cloud.dialogflow.v2beta1.Intent_Message_BrowseCarouselCard_ImageDisplayOptions" json:"image_display_options,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_BrowseCarouselCard) Reset() { *m = Intent_Message_BrowseCarouselCard{} } -func (m *Intent_Message_BrowseCarouselCard) String() string { return proto.CompactTextString(m) } -func (*Intent_Message_BrowseCarouselCard) ProtoMessage() {} -func (*Intent_Message_BrowseCarouselCard) Descriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{0, 2, 24} -} - -func (m *Intent_Message_BrowseCarouselCard) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_BrowseCarouselCard.Unmarshal(m, b) -} -func (m *Intent_Message_BrowseCarouselCard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_BrowseCarouselCard.Marshal(b, m, deterministic) -} -func (m *Intent_Message_BrowseCarouselCard) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_BrowseCarouselCard.Merge(m, src) -} -func (m *Intent_Message_BrowseCarouselCard) XXX_Size() int { - return xxx_messageInfo_Intent_Message_BrowseCarouselCard.Size(m) -} -func (m *Intent_Message_BrowseCarouselCard) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_BrowseCarouselCard.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_BrowseCarouselCard proto.InternalMessageInfo - -func (m *Intent_Message_BrowseCarouselCard) GetItems() []*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem { - if m != nil { - return m.Items - } - return nil -} - -func (m *Intent_Message_BrowseCarouselCard) GetImageDisplayOptions() Intent_Message_BrowseCarouselCard_ImageDisplayOptions { - if m != nil { - return m.ImageDisplayOptions - } - return Intent_Message_BrowseCarouselCard_IMAGE_DISPLAY_OPTIONS_UNSPECIFIED -} - -// Browsing carousel tile -type Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem struct { - // Required. Action to present to the user. - OpenUriAction *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction `protobuf:"bytes,1,opt,name=open_uri_action,json=openUriAction,proto3" json:"open_uri_action,omitempty"` - // Required. Title of the carousel item. Maximum of two lines of text. - Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` - // Optional. Description of the carousel item. Maximum of four lines of - // text. - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - // Optional. Hero image for the carousel item. - Image *Intent_Message_Image `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"` - // Optional. Text that appears at the bottom of the Browse Carousel - // Card. Maximum of one line of text. - Footer string `protobuf:"bytes,5,opt,name=footer,proto3" json:"footer,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) Reset() { - *m = Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem{} -} -func (m *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) String() string { - return proto.CompactTextString(m) -} -func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) ProtoMessage() {} -func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) Descriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{0, 2, 24, 0} -} - -func (m *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem.Unmarshal(m, b) -} -func (m *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem.Marshal(b, m, deterministic) -} -func (m *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem.Merge(m, src) -} -func (m *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) XXX_Size() int { - return xxx_messageInfo_Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem.Size(m) -} -func (m *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem proto.InternalMessageInfo - -func (m *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) GetOpenUriAction() *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction { - if m != nil { - return m.OpenUriAction - } - return nil -} - -func (m *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) GetTitle() string { - if m != nil { - return m.Title - } - return "" -} - -func (m *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) GetImage() *Intent_Message_Image { - if m != nil { - return m.Image - } - return nil -} - -func (m *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) GetFooter() string { - if m != nil { - return m.Footer - } - return "" -} - -// Actions on Google action to open a given url. -type Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction struct { - // Required. URL - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - // Optional. Specifies the type of viewer that is used when opening - // the URL. Defaults to opening via web browser. - UrlTypeHint Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint `protobuf:"varint,3,opt,name=url_type_hint,json=urlTypeHint,proto3,enum=google.cloud.dialogflow.v2beta1.Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint" json:"url_type_hint,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) Reset() { - *m = Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction{} -} -func (m *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) String() string { - return proto.CompactTextString(m) -} -func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) ProtoMessage() {} -func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) Descriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{0, 2, 24, 0, 0} -} - -func (m *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction.Unmarshal(m, b) -} -func (m *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction.Marshal(b, m, deterministic) -} -func (m *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction.Merge(m, src) -} -func (m *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) XXX_Size() int { - return xxx_messageInfo_Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction.Size(m) -} -func (m *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction proto.InternalMessageInfo - -func (m *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) GetUrl() string { - if m != nil { - return m.Url - } - return "" -} - -func (m *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) GetUrlTypeHint() Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint { - if m != nil { - return m.UrlTypeHint - } - return Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_URL_TYPE_HINT_UNSPECIFIED -} - -// Table card for Actions on Google. -type Intent_Message_TableCard struct { - // Required. Title of the card. - Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` - // Optional. Subtitle to the title. - Subtitle string `protobuf:"bytes,2,opt,name=subtitle,proto3" json:"subtitle,omitempty"` - // Optional. Image which should be displayed on the card. - Image *Intent_Message_Image `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"` - // Optional. Display properties for the columns in this table. - ColumnProperties []*Intent_Message_ColumnProperties `protobuf:"bytes,4,rep,name=column_properties,json=columnProperties,proto3" json:"column_properties,omitempty"` - // Optional. Rows in this table of data. - Rows []*Intent_Message_TableCardRow `protobuf:"bytes,5,rep,name=rows,proto3" json:"rows,omitempty"` - // Optional. List of buttons for the card. - Buttons []*Intent_Message_BasicCard_Button `protobuf:"bytes,6,rep,name=buttons,proto3" json:"buttons,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_TableCard) Reset() { *m = Intent_Message_TableCard{} } -func (m *Intent_Message_TableCard) String() string { return proto.CompactTextString(m) } -func (*Intent_Message_TableCard) ProtoMessage() {} -func (*Intent_Message_TableCard) Descriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{0, 2, 25} -} - -func (m *Intent_Message_TableCard) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_TableCard.Unmarshal(m, b) -} -func (m *Intent_Message_TableCard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_TableCard.Marshal(b, m, deterministic) -} -func (m *Intent_Message_TableCard) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_TableCard.Merge(m, src) -} -func (m *Intent_Message_TableCard) XXX_Size() int { - return xxx_messageInfo_Intent_Message_TableCard.Size(m) -} -func (m *Intent_Message_TableCard) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_TableCard.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_TableCard proto.InternalMessageInfo - -func (m *Intent_Message_TableCard) GetTitle() string { - if m != nil { - return m.Title - } - return "" -} - -func (m *Intent_Message_TableCard) GetSubtitle() string { - if m != nil { - return m.Subtitle - } - return "" -} - -func (m *Intent_Message_TableCard) GetImage() *Intent_Message_Image { - if m != nil { - return m.Image - } - return nil -} - -func (m *Intent_Message_TableCard) GetColumnProperties() []*Intent_Message_ColumnProperties { - if m != nil { - return m.ColumnProperties - } - return nil -} - -func (m *Intent_Message_TableCard) GetRows() []*Intent_Message_TableCardRow { - if m != nil { - return m.Rows - } - return nil -} - -func (m *Intent_Message_TableCard) GetButtons() []*Intent_Message_BasicCard_Button { - if m != nil { - return m.Buttons - } - return nil -} - -// Column properties for [TableCard][google.cloud.dialogflow.v2beta1.Intent.Message.TableCard]. -type Intent_Message_ColumnProperties struct { - // Required. Column heading. - Header string `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` - // Optional. Defines text alignment for all cells in this column. - HorizontalAlignment Intent_Message_ColumnProperties_HorizontalAlignment `protobuf:"varint,2,opt,name=horizontal_alignment,json=horizontalAlignment,proto3,enum=google.cloud.dialogflow.v2beta1.Intent_Message_ColumnProperties_HorizontalAlignment" json:"horizontal_alignment,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_ColumnProperties) Reset() { *m = Intent_Message_ColumnProperties{} } -func (m *Intent_Message_ColumnProperties) String() string { return proto.CompactTextString(m) } -func (*Intent_Message_ColumnProperties) ProtoMessage() {} -func (*Intent_Message_ColumnProperties) Descriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{0, 2, 26} -} - -func (m *Intent_Message_ColumnProperties) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_ColumnProperties.Unmarshal(m, b) -} -func (m *Intent_Message_ColumnProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_ColumnProperties.Marshal(b, m, deterministic) -} -func (m *Intent_Message_ColumnProperties) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_ColumnProperties.Merge(m, src) -} -func (m *Intent_Message_ColumnProperties) XXX_Size() int { - return xxx_messageInfo_Intent_Message_ColumnProperties.Size(m) -} -func (m *Intent_Message_ColumnProperties) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_ColumnProperties.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_ColumnProperties proto.InternalMessageInfo - -func (m *Intent_Message_ColumnProperties) GetHeader() string { - if m != nil { - return m.Header - } - return "" -} - -func (m *Intent_Message_ColumnProperties) GetHorizontalAlignment() Intent_Message_ColumnProperties_HorizontalAlignment { - if m != nil { - return m.HorizontalAlignment - } - return Intent_Message_ColumnProperties_HORIZONTAL_ALIGNMENT_UNSPECIFIED -} - -// Row of [TableCard][google.cloud.dialogflow.v2beta1.Intent.Message.TableCard]. -type Intent_Message_TableCardRow struct { - // Optional. List of cells that make up this row. - Cells []*Intent_Message_TableCardCell `protobuf:"bytes,1,rep,name=cells,proto3" json:"cells,omitempty"` - // Optional. Whether to add a visual divider after this row. - DividerAfter bool `protobuf:"varint,2,opt,name=divider_after,json=dividerAfter,proto3" json:"divider_after,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_TableCardRow) Reset() { *m = Intent_Message_TableCardRow{} } -func (m *Intent_Message_TableCardRow) String() string { return proto.CompactTextString(m) } -func (*Intent_Message_TableCardRow) ProtoMessage() {} -func (*Intent_Message_TableCardRow) Descriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{0, 2, 27} -} - -func (m *Intent_Message_TableCardRow) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_TableCardRow.Unmarshal(m, b) -} -func (m *Intent_Message_TableCardRow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_TableCardRow.Marshal(b, m, deterministic) -} -func (m *Intent_Message_TableCardRow) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_TableCardRow.Merge(m, src) -} -func (m *Intent_Message_TableCardRow) XXX_Size() int { - return xxx_messageInfo_Intent_Message_TableCardRow.Size(m) -} -func (m *Intent_Message_TableCardRow) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_TableCardRow.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_TableCardRow proto.InternalMessageInfo - -func (m *Intent_Message_TableCardRow) GetCells() []*Intent_Message_TableCardCell { - if m != nil { - return m.Cells - } - return nil -} - -func (m *Intent_Message_TableCardRow) GetDividerAfter() bool { - if m != nil { - return m.DividerAfter - } - return false -} - -// Cell of [TableCardRow][google.cloud.dialogflow.v2beta1.Intent.Message.TableCardRow]. -type Intent_Message_TableCardCell struct { - // Required. Text in this cell. - Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_Message_TableCardCell) Reset() { *m = Intent_Message_TableCardCell{} } -func (m *Intent_Message_TableCardCell) String() string { return proto.CompactTextString(m) } -func (*Intent_Message_TableCardCell) ProtoMessage() {} -func (*Intent_Message_TableCardCell) Descriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{0, 2, 28} -} - -func (m *Intent_Message_TableCardCell) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_Message_TableCardCell.Unmarshal(m, b) -} -func (m *Intent_Message_TableCardCell) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_Message_TableCardCell.Marshal(b, m, deterministic) -} -func (m *Intent_Message_TableCardCell) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_Message_TableCardCell.Merge(m, src) -} -func (m *Intent_Message_TableCardCell) XXX_Size() int { - return xxx_messageInfo_Intent_Message_TableCardCell.Size(m) -} -func (m *Intent_Message_TableCardCell) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_Message_TableCardCell.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_Message_TableCardCell proto.InternalMessageInfo - -func (m *Intent_Message_TableCardCell) GetText() string { - if m != nil { - return m.Text - } - return "" -} - -// Represents a single followup intent in the chain. -type Intent_FollowupIntentInfo struct { - // The unique identifier of the followup intent. - // Format: `projects//agent/intents/`. - FollowupIntentName string `protobuf:"bytes,1,opt,name=followup_intent_name,json=followupIntentName,proto3" json:"followup_intent_name,omitempty"` - // The unique identifier of the followup intent's parent. - // Format: `projects//agent/intents/`. - ParentFollowupIntentName string `protobuf:"bytes,2,opt,name=parent_followup_intent_name,json=parentFollowupIntentName,proto3" json:"parent_followup_intent_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Intent_FollowupIntentInfo) Reset() { *m = Intent_FollowupIntentInfo{} } -func (m *Intent_FollowupIntentInfo) String() string { return proto.CompactTextString(m) } -func (*Intent_FollowupIntentInfo) ProtoMessage() {} -func (*Intent_FollowupIntentInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{0, 3} -} - -func (m *Intent_FollowupIntentInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Intent_FollowupIntentInfo.Unmarshal(m, b) -} -func (m *Intent_FollowupIntentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Intent_FollowupIntentInfo.Marshal(b, m, deterministic) -} -func (m *Intent_FollowupIntentInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_Intent_FollowupIntentInfo.Merge(m, src) -} -func (m *Intent_FollowupIntentInfo) XXX_Size() int { - return xxx_messageInfo_Intent_FollowupIntentInfo.Size(m) -} -func (m *Intent_FollowupIntentInfo) XXX_DiscardUnknown() { - xxx_messageInfo_Intent_FollowupIntentInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_Intent_FollowupIntentInfo proto.InternalMessageInfo - -func (m *Intent_FollowupIntentInfo) GetFollowupIntentName() string { - if m != nil { - return m.FollowupIntentName - } - return "" -} - -func (m *Intent_FollowupIntentInfo) GetParentFollowupIntentName() string { - if m != nil { - return m.ParentFollowupIntentName - } - return "" -} - -// The request message for [Intents.ListIntents][google.cloud.dialogflow.v2beta1.Intents.ListIntents]. -type ListIntentsRequest struct { - // Required. The agent to list all intents from. - // Format: `projects//agent`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. The language to list training phrases, parameters and rich - // messages for. If not specified, the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // Optional. The resource view to apply to the returned intent. - IntentView IntentView `protobuf:"varint,3,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.v2beta1.IntentView" json:"intent_view,omitempty"` - // Optional. The maximum number of items to return in a single page. By - // default 100 and at most 1000. - PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional. The next_page_token value returned from a previous list request. - 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 *ListIntentsRequest) Reset() { *m = ListIntentsRequest{} } -func (m *ListIntentsRequest) String() string { return proto.CompactTextString(m) } -func (*ListIntentsRequest) ProtoMessage() {} -func (*ListIntentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{1} -} - -func (m *ListIntentsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListIntentsRequest.Unmarshal(m, b) -} -func (m *ListIntentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListIntentsRequest.Marshal(b, m, deterministic) -} -func (m *ListIntentsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListIntentsRequest.Merge(m, src) -} -func (m *ListIntentsRequest) XXX_Size() int { - return xxx_messageInfo_ListIntentsRequest.Size(m) -} -func (m *ListIntentsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListIntentsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListIntentsRequest proto.InternalMessageInfo - -func (m *ListIntentsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListIntentsRequest) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *ListIntentsRequest) GetIntentView() IntentView { - if m != nil { - return m.IntentView - } - return IntentView_INTENT_VIEW_UNSPECIFIED -} - -func (m *ListIntentsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListIntentsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// The response message for [Intents.ListIntents][google.cloud.dialogflow.v2beta1.Intents.ListIntents]. -type ListIntentsResponse struct { - // The list of agent intents. There will be a maximum number of items - // returned based on the page_size field in the request. - Intents []*Intent `protobuf:"bytes,1,rep,name=intents,proto3" json:"intents,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 *ListIntentsResponse) Reset() { *m = ListIntentsResponse{} } -func (m *ListIntentsResponse) String() string { return proto.CompactTextString(m) } -func (*ListIntentsResponse) ProtoMessage() {} -func (*ListIntentsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{2} -} - -func (m *ListIntentsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListIntentsResponse.Unmarshal(m, b) -} -func (m *ListIntentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListIntentsResponse.Marshal(b, m, deterministic) -} -func (m *ListIntentsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListIntentsResponse.Merge(m, src) -} -func (m *ListIntentsResponse) XXX_Size() int { - return xxx_messageInfo_ListIntentsResponse.Size(m) -} -func (m *ListIntentsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListIntentsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListIntentsResponse proto.InternalMessageInfo - -func (m *ListIntentsResponse) GetIntents() []*Intent { - if m != nil { - return m.Intents - } - return nil -} - -func (m *ListIntentsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The request message for [Intents.GetIntent][google.cloud.dialogflow.v2beta1.Intents.GetIntent]. -type GetIntentRequest struct { - // Required. The name of the intent. - // Format: `projects//agent/intents/`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Optional. The language to retrieve training phrases, parameters and rich - // messages for. If not specified, the agent's default language is used. - // [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // Optional. The resource view to apply to the returned intent. - IntentView IntentView `protobuf:"varint,3,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.v2beta1.IntentView" json:"intent_view,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_5bdb4dcc248bd417, []int{3} -} - -func (m *GetIntentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetIntentRequest.Unmarshal(m, b) -} -func (m *GetIntentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetIntentRequest.Marshal(b, m, deterministic) -} -func (m *GetIntentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetIntentRequest.Merge(m, src) -} -func (m *GetIntentRequest) XXX_Size() int { - return xxx_messageInfo_GetIntentRequest.Size(m) -} -func (m *GetIntentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetIntentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetIntentRequest proto.InternalMessageInfo - -func (m *GetIntentRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *GetIntentRequest) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *GetIntentRequest) GetIntentView() IntentView { - if m != nil { - return m.IntentView - } - return IntentView_INTENT_VIEW_UNSPECIFIED -} - -// The request message for [Intents.CreateIntent][google.cloud.dialogflow.v2beta1.Intents.CreateIntent]. -type CreateIntentRequest struct { - // Required. The agent to create a intent for. - // Format: `projects//agent`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The intent to create. - Intent *Intent `protobuf:"bytes,2,opt,name=intent,proto3" json:"intent,omitempty"` - // Optional. The language of training phrases, parameters and rich messages - // defined in `intent`. If not specified, the agent's default language is - // used. [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // Optional. The resource view to apply to the returned intent. - IntentView IntentView `protobuf:"varint,4,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.v2beta1.IntentView" json:"intent_view,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_5bdb4dcc248bd417, []int{4} -} - -func (m *CreateIntentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateIntentRequest.Unmarshal(m, b) -} -func (m *CreateIntentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateIntentRequest.Marshal(b, m, deterministic) -} -func (m *CreateIntentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateIntentRequest.Merge(m, src) -} -func (m *CreateIntentRequest) XXX_Size() int { - return xxx_messageInfo_CreateIntentRequest.Size(m) -} -func (m *CreateIntentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateIntentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateIntentRequest proto.InternalMessageInfo - -func (m *CreateIntentRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateIntentRequest) GetIntent() *Intent { - if m != nil { - return m.Intent - } - return nil -} - -func (m *CreateIntentRequest) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *CreateIntentRequest) GetIntentView() IntentView { - if m != nil { - return m.IntentView - } - return IntentView_INTENT_VIEW_UNSPECIFIED -} - -// The request message for [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent]. -type UpdateIntentRequest struct { - // Required. The intent to update. - Intent *Intent `protobuf:"bytes,1,opt,name=intent,proto3" json:"intent,omitempty"` - // Optional. The language of training phrases, parameters and rich messages - // defined in `intent`. If not specified, the agent's default language is - // used. [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // Optional. The 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"` - // Optional. The resource view to apply to the returned intent. - IntentView IntentView `protobuf:"varint,4,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.v2beta1.IntentView" json:"intent_view,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_5bdb4dcc248bd417, []int{5} -} - -func (m *UpdateIntentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateIntentRequest.Unmarshal(m, b) -} -func (m *UpdateIntentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateIntentRequest.Marshal(b, m, deterministic) -} -func (m *UpdateIntentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateIntentRequest.Merge(m, src) -} -func (m *UpdateIntentRequest) XXX_Size() int { - return xxx_messageInfo_UpdateIntentRequest.Size(m) -} -func (m *UpdateIntentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateIntentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateIntentRequest proto.InternalMessageInfo - -func (m *UpdateIntentRequest) GetIntent() *Intent { - if m != nil { - return m.Intent - } - return nil -} - -func (m *UpdateIntentRequest) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *UpdateIntentRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -func (m *UpdateIntentRequest) GetIntentView() IntentView { - if m != nil { - return m.IntentView - } - return IntentView_INTENT_VIEW_UNSPECIFIED -} - -// The request message for [Intents.DeleteIntent][google.cloud.dialogflow.v2beta1.Intents.DeleteIntent]. -type DeleteIntentRequest struct { - // Required. The name of the intent to delete. If this intent has direct or - // indirect followup intents, we also delete them. - // - // Format: `projects//agent/intents/`. - 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 *DeleteIntentRequest) Reset() { *m = DeleteIntentRequest{} } -func (m *DeleteIntentRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteIntentRequest) ProtoMessage() {} -func (*DeleteIntentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{6} -} - -func (m *DeleteIntentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteIntentRequest.Unmarshal(m, b) -} -func (m *DeleteIntentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteIntentRequest.Marshal(b, m, deterministic) -} -func (m *DeleteIntentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteIntentRequest.Merge(m, src) -} -func (m *DeleteIntentRequest) XXX_Size() int { - return xxx_messageInfo_DeleteIntentRequest.Size(m) -} -func (m *DeleteIntentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteIntentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteIntentRequest proto.InternalMessageInfo - -func (m *DeleteIntentRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The request message for [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents]. -type BatchUpdateIntentsRequest struct { - // Required. The name of the agent to update or create intents in. - // Format: `projects//agent`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The source of the intent batch. - // - // Types that are valid to be assigned to IntentBatch: - // *BatchUpdateIntentsRequest_IntentBatchUri - // *BatchUpdateIntentsRequest_IntentBatchInline - IntentBatch isBatchUpdateIntentsRequest_IntentBatch `protobuf_oneof:"intent_batch"` - // Optional. The language of training phrases, parameters and rich messages - // defined in `intents`. If not specified, the agent's default language is - // used. [Many - // languages](https://cloud.google.com/dialogflow/docs/reference/language) - // are supported. Note: languages must be enabled in the agent before they can - // be used. - LanguageCode string `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // Optional. The mask to control which fields get updated. - UpdateMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` - // Optional. The resource view to apply to the returned intent. - IntentView IntentView `protobuf:"varint,6,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.v2beta1.IntentView" json:"intent_view,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchUpdateIntentsRequest) Reset() { *m = BatchUpdateIntentsRequest{} } -func (m *BatchUpdateIntentsRequest) String() string { return proto.CompactTextString(m) } -func (*BatchUpdateIntentsRequest) ProtoMessage() {} -func (*BatchUpdateIntentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{7} -} - -func (m *BatchUpdateIntentsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchUpdateIntentsRequest.Unmarshal(m, b) -} -func (m *BatchUpdateIntentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchUpdateIntentsRequest.Marshal(b, m, deterministic) -} -func (m *BatchUpdateIntentsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchUpdateIntentsRequest.Merge(m, src) -} -func (m *BatchUpdateIntentsRequest) XXX_Size() int { - return xxx_messageInfo_BatchUpdateIntentsRequest.Size(m) -} -func (m *BatchUpdateIntentsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchUpdateIntentsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchUpdateIntentsRequest proto.InternalMessageInfo - -func (m *BatchUpdateIntentsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -type isBatchUpdateIntentsRequest_IntentBatch interface { - isBatchUpdateIntentsRequest_IntentBatch() -} - -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_IntentBatchInline) isBatchUpdateIntentsRequest_IntentBatch() {} - -func (m *BatchUpdateIntentsRequest) GetIntentBatch() isBatchUpdateIntentsRequest_IntentBatch { - if m != nil { - return m.IntentBatch - } - return nil -} - -func (m *BatchUpdateIntentsRequest) GetIntentBatchUri() string { - if x, ok := m.GetIntentBatch().(*BatchUpdateIntentsRequest_IntentBatchUri); ok { - return x.IntentBatchUri - } - return "" -} - -func (m *BatchUpdateIntentsRequest) GetIntentBatchInline() *IntentBatch { - if x, ok := m.GetIntentBatch().(*BatchUpdateIntentsRequest_IntentBatchInline); ok { - return x.IntentBatchInline - } - return nil -} - -func (m *BatchUpdateIntentsRequest) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *BatchUpdateIntentsRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -func (m *BatchUpdateIntentsRequest) GetIntentView() IntentView { - if m != nil { - return m.IntentView - } - return IntentView_INTENT_VIEW_UNSPECIFIED -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*BatchUpdateIntentsRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*BatchUpdateIntentsRequest_IntentBatchUri)(nil), - (*BatchUpdateIntentsRequest_IntentBatchInline)(nil), - } -} - -// The response message for [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents]. -type BatchUpdateIntentsResponse struct { - // The collection of updated or created intents. - Intents []*Intent `protobuf:"bytes,1,rep,name=intents,proto3" json:"intents,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchUpdateIntentsResponse) Reset() { *m = BatchUpdateIntentsResponse{} } -func (m *BatchUpdateIntentsResponse) String() string { return proto.CompactTextString(m) } -func (*BatchUpdateIntentsResponse) ProtoMessage() {} -func (*BatchUpdateIntentsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{8} -} - -func (m *BatchUpdateIntentsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchUpdateIntentsResponse.Unmarshal(m, b) -} -func (m *BatchUpdateIntentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchUpdateIntentsResponse.Marshal(b, m, deterministic) -} -func (m *BatchUpdateIntentsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchUpdateIntentsResponse.Merge(m, src) -} -func (m *BatchUpdateIntentsResponse) XXX_Size() int { - return xxx_messageInfo_BatchUpdateIntentsResponse.Size(m) -} -func (m *BatchUpdateIntentsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BatchUpdateIntentsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchUpdateIntentsResponse proto.InternalMessageInfo - -func (m *BatchUpdateIntentsResponse) GetIntents() []*Intent { - if m != nil { - return m.Intents - } - return nil -} - -// The request message for [Intents.BatchDeleteIntents][google.cloud.dialogflow.v2beta1.Intents.BatchDeleteIntents]. -type BatchDeleteIntentsRequest struct { - // Required. The name of the agent to delete all entities types for. Format: - // `projects//agent`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The collection of intents to delete. Only intent `name` must be - // filled in. - Intents []*Intent `protobuf:"bytes,2,rep,name=intents,proto3" json:"intents,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchDeleteIntentsRequest) Reset() { *m = BatchDeleteIntentsRequest{} } -func (m *BatchDeleteIntentsRequest) String() string { return proto.CompactTextString(m) } -func (*BatchDeleteIntentsRequest) ProtoMessage() {} -func (*BatchDeleteIntentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_5bdb4dcc248bd417, []int{9} -} - -func (m *BatchDeleteIntentsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchDeleteIntentsRequest.Unmarshal(m, b) -} -func (m *BatchDeleteIntentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchDeleteIntentsRequest.Marshal(b, m, deterministic) -} -func (m *BatchDeleteIntentsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchDeleteIntentsRequest.Merge(m, src) -} -func (m *BatchDeleteIntentsRequest) XXX_Size() int { - return xxx_messageInfo_BatchDeleteIntentsRequest.Size(m) -} -func (m *BatchDeleteIntentsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchDeleteIntentsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchDeleteIntentsRequest proto.InternalMessageInfo - -func (m *BatchDeleteIntentsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *BatchDeleteIntentsRequest) GetIntents() []*Intent { - if m != nil { - return m.Intents - } - return nil -} - -// This message is a wrapper around a collection of intents. -type IntentBatch struct { - // A collection of intents. - Intents []*Intent `protobuf:"bytes,1,rep,name=intents,proto3" json:"intents,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_5bdb4dcc248bd417, []int{10} -} - -func (m *IntentBatch) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IntentBatch.Unmarshal(m, b) -} -func (m *IntentBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IntentBatch.Marshal(b, m, deterministic) -} -func (m *IntentBatch) XXX_Merge(src proto.Message) { - xxx_messageInfo_IntentBatch.Merge(m, src) -} -func (m *IntentBatch) XXX_Size() int { - return xxx_messageInfo_IntentBatch.Size(m) -} -func (m *IntentBatch) XXX_DiscardUnknown() { - xxx_messageInfo_IntentBatch.DiscardUnknown(m) -} - -var xxx_messageInfo_IntentBatch proto.InternalMessageInfo - -func (m *IntentBatch) GetIntents() []*Intent { - if m != nil { - return m.Intents - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.dialogflow.v2beta1.IntentView", IntentView_name, IntentView_value) - proto.RegisterEnum("google.cloud.dialogflow.v2beta1.Intent_WebhookState", Intent_WebhookState_name, Intent_WebhookState_value) - proto.RegisterEnum("google.cloud.dialogflow.v2beta1.Intent_TrainingPhrase_Type", Intent_TrainingPhrase_Type_name, Intent_TrainingPhrase_Type_value) - proto.RegisterEnum("google.cloud.dialogflow.v2beta1.Intent_Message_Platform", Intent_Message_Platform_name, Intent_Message_Platform_value) - proto.RegisterEnum("google.cloud.dialogflow.v2beta1.Intent_Message_RbmCarouselCard_CardWidth", Intent_Message_RbmCarouselCard_CardWidth_name, Intent_Message_RbmCarouselCard_CardWidth_value) - proto.RegisterEnum("google.cloud.dialogflow.v2beta1.Intent_Message_RbmStandaloneCard_CardOrientation", Intent_Message_RbmStandaloneCard_CardOrientation_name, Intent_Message_RbmStandaloneCard_CardOrientation_value) - proto.RegisterEnum("google.cloud.dialogflow.v2beta1.Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment", Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment_name, Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment_value) - proto.RegisterEnum("google.cloud.dialogflow.v2beta1.Intent_Message_RbmCardContent_RbmMedia_Height", Intent_Message_RbmCardContent_RbmMedia_Height_name, Intent_Message_RbmCardContent_RbmMedia_Height_value) - proto.RegisterEnum("google.cloud.dialogflow.v2beta1.Intent_Message_MediaContent_ResponseMediaType", Intent_Message_MediaContent_ResponseMediaType_name, Intent_Message_MediaContent_ResponseMediaType_value) - proto.RegisterEnum("google.cloud.dialogflow.v2beta1.Intent_Message_BrowseCarouselCard_ImageDisplayOptions", Intent_Message_BrowseCarouselCard_ImageDisplayOptions_name, Intent_Message_BrowseCarouselCard_ImageDisplayOptions_value) - proto.RegisterEnum("google.cloud.dialogflow.v2beta1.Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint", Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint_name, Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint_value) - proto.RegisterEnum("google.cloud.dialogflow.v2beta1.Intent_Message_ColumnProperties_HorizontalAlignment", Intent_Message_ColumnProperties_HorizontalAlignment_name, Intent_Message_ColumnProperties_HorizontalAlignment_value) - proto.RegisterType((*Intent)(nil), "google.cloud.dialogflow.v2beta1.Intent") - proto.RegisterType((*Intent_TrainingPhrase)(nil), "google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase") - proto.RegisterType((*Intent_TrainingPhrase_Part)(nil), "google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part") - proto.RegisterType((*Intent_Parameter)(nil), "google.cloud.dialogflow.v2beta1.Intent.Parameter") - proto.RegisterType((*Intent_Message)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message") - proto.RegisterType((*Intent_Message_Text)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.Text") - proto.RegisterType((*Intent_Message_Image)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.Image") - proto.RegisterType((*Intent_Message_QuickReplies)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.QuickReplies") - proto.RegisterType((*Intent_Message_Card)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.Card") - proto.RegisterType((*Intent_Message_Card_Button)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.Card.Button") - proto.RegisterType((*Intent_Message_SimpleResponse)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.SimpleResponse") - proto.RegisterType((*Intent_Message_SimpleResponses)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.SimpleResponses") - proto.RegisterType((*Intent_Message_BasicCard)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard") - proto.RegisterType((*Intent_Message_BasicCard_Button)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button") - proto.RegisterType((*Intent_Message_BasicCard_Button_OpenUriAction)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button.OpenUriAction") - proto.RegisterType((*Intent_Message_Suggestion)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion") - proto.RegisterType((*Intent_Message_Suggestions)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.Suggestions") - proto.RegisterType((*Intent_Message_LinkOutSuggestion)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.LinkOutSuggestion") - proto.RegisterType((*Intent_Message_ListSelect)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect") - proto.RegisterType((*Intent_Message_ListSelect_Item)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect.Item") - proto.RegisterType((*Intent_Message_CarouselSelect)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect") - proto.RegisterType((*Intent_Message_CarouselSelect_Item)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.Item") - proto.RegisterType((*Intent_Message_SelectItemInfo)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.SelectItemInfo") - proto.RegisterType((*Intent_Message_TelephonyPlayAudio)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyPlayAudio") - proto.RegisterType((*Intent_Message_TelephonySynthesizeSpeech)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.TelephonySynthesizeSpeech") - proto.RegisterType((*Intent_Message_TelephonyTransferCall)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyTransferCall") - proto.RegisterType((*Intent_Message_RbmText)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.RbmText") - proto.RegisterType((*Intent_Message_RbmCarouselCard)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard") - proto.RegisterType((*Intent_Message_RbmStandaloneCard)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard") - proto.RegisterType((*Intent_Message_RbmCardContent)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent") - proto.RegisterType((*Intent_Message_RbmCardContent_RbmMedia)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.RbmMedia") - proto.RegisterType((*Intent_Message_RbmSuggestion)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion") - proto.RegisterType((*Intent_Message_RbmSuggestedReply)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedReply") - proto.RegisterType((*Intent_Message_RbmSuggestedAction)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction") - proto.RegisterType((*Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial") - proto.RegisterType((*Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri") - proto.RegisterType((*Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation") - proto.RegisterType((*Intent_Message_MediaContent)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent") - proto.RegisterType((*Intent_Message_MediaContent_ResponseMediaObject)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaObject") - proto.RegisterType((*Intent_Message_BrowseCarouselCard)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard") - proto.RegisterType((*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem") - proto.RegisterType((*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction") - proto.RegisterType((*Intent_Message_TableCard)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.TableCard") - proto.RegisterType((*Intent_Message_ColumnProperties)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.ColumnProperties") - proto.RegisterType((*Intent_Message_TableCardRow)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.TableCardRow") - proto.RegisterType((*Intent_Message_TableCardCell)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.TableCardCell") - proto.RegisterType((*Intent_FollowupIntentInfo)(nil), "google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo") - proto.RegisterType((*ListIntentsRequest)(nil), "google.cloud.dialogflow.v2beta1.ListIntentsRequest") - proto.RegisterType((*ListIntentsResponse)(nil), "google.cloud.dialogflow.v2beta1.ListIntentsResponse") - proto.RegisterType((*GetIntentRequest)(nil), "google.cloud.dialogflow.v2beta1.GetIntentRequest") - proto.RegisterType((*CreateIntentRequest)(nil), "google.cloud.dialogflow.v2beta1.CreateIntentRequest") - proto.RegisterType((*UpdateIntentRequest)(nil), "google.cloud.dialogflow.v2beta1.UpdateIntentRequest") - proto.RegisterType((*DeleteIntentRequest)(nil), "google.cloud.dialogflow.v2beta1.DeleteIntentRequest") - proto.RegisterType((*BatchUpdateIntentsRequest)(nil), "google.cloud.dialogflow.v2beta1.BatchUpdateIntentsRequest") - proto.RegisterType((*BatchUpdateIntentsResponse)(nil), "google.cloud.dialogflow.v2beta1.BatchUpdateIntentsResponse") - proto.RegisterType((*BatchDeleteIntentsRequest)(nil), "google.cloud.dialogflow.v2beta1.BatchDeleteIntentsRequest") - proto.RegisterType((*IntentBatch)(nil), "google.cloud.dialogflow.v2beta1.IntentBatch") -} - -func init() { - proto.RegisterFile("google/cloud/dialogflow/v2beta1/intent.proto", fileDescriptor_5bdb4dcc248bd417) -} - -var fileDescriptor_5bdb4dcc248bd417 = []byte{ - // 4416 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x5b, 0xdd, 0x6f, 0x23, 0xc9, - 0x71, 0xd7, 0x50, 0x94, 0x48, 0x16, 0x29, 0x8a, 0x6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x20, 0xb9, 0x04, 0x89, 0x60, 0x76, 0xa7, 0xf0, 0x8c, 0x18, 0xc4, 0xf4, 0x60, 0x1d, 0x6f, 0x50, - 0x78, 0x36, 0x0c, 0x24, 0x42, 0x6c, 0x5d, 0x43, 0x40, 0x40, 0xfe, 0xb1, 0x04, 0x61, 0x66, 0xff, - 0xc9, 0x3c, 0x64, 0x88, 0xba, 0xfd, 0x26, 0xef, 0xe0, 0xcb, 0x19, 0xb4, 0x87, 0x35, 0x9a, 0x1d, - 0xd1, 0xe8, 0x00, 0x22, 0xcd, 0x3e, 0x21, 0x34, 0x23, 0x86, 0xaf, 0x07, 0xd5, 0x83, 0x18, 0x23, - 0x9b, 0x63, 0x3c, 0x54, 0x8f, 0x97, 0xfc, 0x36, 0xcc, 0x73, 0xd2, 0x44, 0x08, 0x2e, 0x43, 0xb4, - 0x67, 0xbb, 0x84, 0xdd, 0x2e, 0x88, 0xd5, 0x7a, 0x6d, 0xb9, 0x0b, 0xc9, 0x61, 0xa0, 0x80, 0x3e, - 0x0f, 0x49, 0x56, 0xf7, 0x13, 0xdb, 0x0b, 0xc9, 0x9c, 0x57, 0x82, 0x52, 0x1b, 0xb6, 0x08, 0x9c, - 0x08, 0xc2, 0xae, 0xdb, 0x35, 0x05, 0x3f, 0xf6, 0x1c, 0x44, 0xcc, 0x6c, 0x0d, 0xb3, 0x43, 0x88, - 0x99, 0xb9, 0xe8, 0x23, 0x58, 0x1c, 0xc1, 0x25, 0xc8, 0x98, 0x00, 0x79, 0x24, 0x66, 0x9b, 0xa7, - 0x37, 0x83, 0x3c, 0x63, 0x78, 0x47, 0xfe, 0xdb, 0x59, 0x88, 0x0d, 0xe0, 0xca, 0x14, 0xae, 0x7d, - 0x0d, 0x92, 0x74, 0x67, 0xeb, 0x84, 0xe0, 0x76, 0x50, 0xc5, 0x85, 0x01, 0x95, 0x6d, 0xf8, 0x3d, - 0x0f, 0xf9, 0x86, 0x6f, 0x80, 0x7c, 0x3d, 0xdc, 0xfb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 0x14, 0xaf, 0x32, 0x49, 0x02, 0xae, 0x7a, 0x61, 0xe9, 0xe9, - 0x74, 0xc2, 0xda, 0x02, 0xa1, 0xaa, 0x89, 0x96, 0xdf, 0x70, 0x33, 0x4f, 0x21, 0x36, 0x10, 0x8e, - 0x64, 0x58, 0xcd, 0x2b, 0xea, 0xb6, 0xf6, 0xa2, 0xb4, 0xdd, 0x28, 0x8e, 0x5c, 0x02, 0xc6, 0x60, - 0xae, 0xbe, 0xaf, 0x94, 0xcb, 0x29, 0x09, 0x01, 0xcc, 0xef, 0x17, 0xb6, 0x4b, 0x07, 0xfb, 0xa9, - 0x90, 0xfc, 0x37, 0x61, 0x58, 0x1a, 0xab, 0x67, 0xd0, 0x47, 0x90, 0x62, 0x4b, 0xb7, 0x1d, 0x03, - 0x5b, 0xfc, 0xad, 0x9d, 0x30, 0xd5, 0xb3, 0x1b, 0x17, 0x4b, 0xcc, 0x58, 0x55, 0x9f, 0xb1, 0x4a, - 0xeb, 0xfc, 0x20, 0x01, 0xfd, 0x81, 0x04, 0x6b, 0xa4, 0xd3, 0xef, 0x36, 0x2d, 0xdd, 0x30, 0x35, - 0x8e, 0x20, 0x75, 0xd3, 0x38, 0xb6, 0xba, 0x14, 0xf5, 0xf3, 0x9b, 0xe2, 0xc3, 0x9b, 0xaf, 0xa3, - 0xe1, 0x89, 0x60, 0x67, 0x57, 0xf1, 0x04, 0xa8, 0x77, 0xc9, 0xe4, 0x0e, 0xa4, 0x43, 0x22, 0xe8, - 0x50, 0x71, 0xed, 0x76, 0x53, 0x7f, 0xc6, 0x03, 0xfe, 0xcc, 0x3c, 0x83, 0xc5, 0x11, 0xf3, 0xa0, - 0x75, 0x78, 0x95, 0x39, 0xb5, 0xaa, 0x96, 0x0a, 0x95, 0x86, 0xd2, 0x28, 0x55, 0x2b, 0x23, 0xae, - 0x4d, 0x02, 0x14, 0xab, 0x6a, 0xe9, 0x65, 0xb5, 0xd2, 0x50, 0xa8, 0x7f, 0x13, 0x10, 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b0, 0x30, 0x64, 0x16, 0x8a, 0x1c, 0x68, 0x39, 0x79, 0x2e, 0xd2, 0xba, - 0x32, 0xbd, 0x91, 0x71, 0x9b, 0xd6, 0xa0, 0xe7, 0xc5, 0x19, 0x95, 0x73, 0x44, 0xef, 0x0e, 0xde, - 0x72, 0x86, 0xa6, 0xbb, 0xc7, 0x08, 0xf2, 0xe6, 0x70, 0xba, 0x38, 0xe3, 0xbd, 0x2b, 0xcd, 0x25, - 0x00, 0x7c, 0x8f, 0xca, 0x65, 0x1e, 0x17, 0x87, 0x56, 0x32, 0x31, 0x95, 0x3d, 0x80, 0x05, 0xaf, - 0x84, 0xd4, 0xda, 0x3a, 0xd1, 0x3d, 0x8f, 0x7a, 0xc4, 0x6d, 0x9d, 0xe8, 0xf2, 0xbf, 0x85, 0x01, - 0x8d, 0x0b, 0x9f, 0x9a, 0x1f, 0xb2, 0x21, 0x4c, 0xb5, 0x15, 0xa7, 0xe5, 0xf0, 0xe6, 0x76, 0x98, - 0x40, 0xda, 0x36, 0x74, 0x93, 0xc2, 0x02, 0xca, 0x0e, 0x9d, 0x43, 0x54, 0x94, 0x3f, 0xa6, 0x80, - 0x48, 0xef, 0x7e, 0x26, 0x42, 0x45, 0xad, 0x53, 0x9c, 0x51, 0x23, 0xbc, 0x0e, 0x32, 0xd1, 0x27, - 0x12, 0x24, 0xdd, 0x8e, 0xee, 0x60, 0xcd, 0xb4, 0x5b, 0x3c, 0x17, 0xf1, 0xb7, 0x08, 0xcd, 0xcf, - 0x64, 0x05, 0x75, 0x2a, 0xaa, 0x2c, 0x24, 0x15, 0x67, 0xd4, 0x05, 0x37, 0x48, 0x90, 0x1f, 0xc3, - 0xea, 0x64, 0x53, 0x5d, 0x05, 0x16, 0xbd, 0x01, 0x6b, 0x17, 0xaa, 0x3c, 0xa1, 0xb0, 0xbb, 0x0f, - 0xf7, 0x2e, 0x59, 0x1f, 0x85, 0x6b, 0x7c, 0xfb, 0xca, 0xff, 0x12, 0x86, 0x44,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eb, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xe0, 0xbd, 0x8f, 0x84, 0x76, 0x3e, 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 - -// IntentsClient is the client API for Intents service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type IntentsClient interface { - // Returns the list of all intents in the specified agent. - ListIntents(ctx context.Context, in *ListIntentsRequest, opts ...grpc.CallOption) (*ListIntentsResponse, error) - // Retrieves the specified intent. - GetIntent(ctx context.Context, in *GetIntentRequest, opts ...grpc.CallOption) (*Intent, error) - // Creates an intent in the specified agent. - CreateIntent(ctx context.Context, in *CreateIntentRequest, opts ...grpc.CallOption) (*Intent, error) - // Updates the specified intent. - UpdateIntent(ctx context.Context, in *UpdateIntentRequest, opts ...grpc.CallOption) (*Intent, error) - // Deletes the specified intent and its direct or indirect followup intents. - DeleteIntent(ctx context.Context, in *DeleteIntentRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Updates/Creates multiple intents in the specified agent. - // - // Operation - BatchUpdateIntents(ctx context.Context, in *BatchUpdateIntentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Deletes intents in the specified agent. - // - // Operation - BatchDeleteIntents(ctx context.Context, in *BatchDeleteIntentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) -} - -type intentsClient struct { - cc *grpc.ClientConn -} - -func NewIntentsClient(cc *grpc.ClientConn) IntentsClient { - return &intentsClient{cc} -} - -func (c *intentsClient) ListIntents(ctx context.Context, in *ListIntentsRequest, opts ...grpc.CallOption) (*ListIntentsResponse, error) { - out := new(ListIntentsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Intents/ListIntents", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *intentsClient) GetIntent(ctx context.Context, in *GetIntentRequest, opts ...grpc.CallOption) (*Intent, error) { - out := new(Intent) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Intents/GetIntent", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *intentsClient) CreateIntent(ctx context.Context, in *CreateIntentRequest, opts ...grpc.CallOption) (*Intent, error) { - out := new(Intent) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Intents/CreateIntent", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *intentsClient) UpdateIntent(ctx context.Context, in *UpdateIntentRequest, opts ...grpc.CallOption) (*Intent, error) { - out := new(Intent) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Intents/UpdateIntent", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *intentsClient) DeleteIntent(ctx context.Context, in *DeleteIntentRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Intents/DeleteIntent", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *intentsClient) BatchUpdateIntents(ctx context.Context, in *BatchUpdateIntentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Intents/BatchUpdateIntents", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *intentsClient) BatchDeleteIntents(ctx context.Context, in *BatchDeleteIntentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Intents/BatchDeleteIntents", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// IntentsServer is the server API for Intents service. -type IntentsServer interface { - // Returns the list of all intents in the specified agent. - ListIntents(context.Context, *ListIntentsRequest) (*ListIntentsResponse, error) - // Retrieves the specified intent. - GetIntent(context.Context, *GetIntentRequest) (*Intent, error) - // Creates an intent in the specified agent. - CreateIntent(context.Context, *CreateIntentRequest) (*Intent, error) - // Updates the specified intent. - UpdateIntent(context.Context, *UpdateIntentRequest) (*Intent, error) - // Deletes the specified intent and its direct or indirect followup intents. - DeleteIntent(context.Context, *DeleteIntentRequest) (*empty.Empty, error) - // Updates/Creates multiple intents in the specified agent. - // - // Operation - BatchUpdateIntents(context.Context, *BatchUpdateIntentsRequest) (*longrunning.Operation, error) - // Deletes intents in the specified agent. - // - // Operation - BatchDeleteIntents(context.Context, *BatchDeleteIntentsRequest) (*longrunning.Operation, error) -} - -// UnimplementedIntentsServer can be embedded to have forward compatible implementations. -type UnimplementedIntentsServer struct { -} - -func (*UnimplementedIntentsServer) ListIntents(ctx context.Context, req *ListIntentsRequest) (*ListIntentsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListIntents not implemented") -} -func (*UnimplementedIntentsServer) GetIntent(ctx context.Context, req *GetIntentRequest) (*Intent, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIntent not implemented") -} -func (*UnimplementedIntentsServer) CreateIntent(ctx context.Context, req *CreateIntentRequest) (*Intent, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateIntent not implemented") -} -func (*UnimplementedIntentsServer) UpdateIntent(ctx context.Context, req *UpdateIntentRequest) (*Intent, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateIntent not implemented") -} -func (*UnimplementedIntentsServer) DeleteIntent(ctx context.Context, req *DeleteIntentRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteIntent not implemented") -} -func (*UnimplementedIntentsServer) BatchUpdateIntents(ctx context.Context, req *BatchUpdateIntentsRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method BatchUpdateIntents not implemented") -} -func (*UnimplementedIntentsServer) BatchDeleteIntents(ctx context.Context, req *BatchDeleteIntentsRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method BatchDeleteIntents not implemented") -} - -func RegisterIntentsServer(s *grpc.Server, srv IntentsServer) { - s.RegisterService(&_Intents_serviceDesc, srv) -} - -func _Intents_ListIntents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListIntentsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IntentsServer).ListIntents(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.Intents/ListIntents", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IntentsServer).ListIntents(ctx, req.(*ListIntentsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Intents_GetIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIntentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IntentsServer).GetIntent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.Intents/GetIntent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IntentsServer).GetIntent(ctx, req.(*GetIntentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Intents_CreateIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateIntentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IntentsServer).CreateIntent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.Intents/CreateIntent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IntentsServer).CreateIntent(ctx, req.(*CreateIntentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Intents_UpdateIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateIntentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IntentsServer).UpdateIntent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.Intents/UpdateIntent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IntentsServer).UpdateIntent(ctx, req.(*UpdateIntentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Intents_DeleteIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteIntentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IntentsServer).DeleteIntent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.Intents/DeleteIntent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IntentsServer).DeleteIntent(ctx, req.(*DeleteIntentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Intents_BatchUpdateIntents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchUpdateIntentsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IntentsServer).BatchUpdateIntents(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.Intents/BatchUpdateIntents", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IntentsServer).BatchUpdateIntents(ctx, req.(*BatchUpdateIntentsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Intents_BatchDeleteIntents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchDeleteIntentsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IntentsServer).BatchDeleteIntents(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.Intents/BatchDeleteIntents", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IntentsServer).BatchDeleteIntents(ctx, req.(*BatchDeleteIntentsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Intents_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.dialogflow.v2beta1.Intents", - HandlerType: (*IntentsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListIntents", - Handler: _Intents_ListIntents_Handler, - }, - { - MethodName: "GetIntent", - Handler: _Intents_GetIntent_Handler, - }, - { - MethodName: "CreateIntent", - Handler: _Intents_CreateIntent_Handler, - }, - { - MethodName: "UpdateIntent", - Handler: _Intents_UpdateIntent_Handler, - }, - { - MethodName: "DeleteIntent", - Handler: _Intents_DeleteIntent_Handler, - }, - { - MethodName: "BatchUpdateIntents", - Handler: _Intents_BatchUpdateIntents_Handler, - }, - { - MethodName: "BatchDeleteIntents", - Handler: _Intents_BatchDeleteIntents_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/dialogflow/v2beta1/intent.proto", -} 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 deleted file mode 100644 index c5b68135..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/knowledge_base.pb.go +++ /dev/null @@ -1,726 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/dialogflow/v2beta1/knowledge_base.proto - -package dialogflow - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Represents knowledge base resource. -// -// Note: The `projects.agent.knowledgeBases` resource is deprecated; -// only use `projects.knowledgeBases`. -type KnowledgeBase struct { - // The knowledge base resource name. - // The name must be empty when creating a knowledge base. - // Format: `projects//knowledgeBases/`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The display name of the knowledge base. The name must be 1024 - // bytes or less; otherwise, the creation request fails. - DisplayName string `protobuf:"bytes,2,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 *KnowledgeBase) Reset() { *m = KnowledgeBase{} } -func (m *KnowledgeBase) String() string { return proto.CompactTextString(m) } -func (*KnowledgeBase) ProtoMessage() {} -func (*KnowledgeBase) Descriptor() ([]byte, []int) { - return fileDescriptor_9cdbbb049e0ce16a, []int{0} -} - -func (m *KnowledgeBase) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_KnowledgeBase.Unmarshal(m, b) -} -func (m *KnowledgeBase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_KnowledgeBase.Marshal(b, m, deterministic) -} -func (m *KnowledgeBase) XXX_Merge(src proto.Message) { - xxx_messageInfo_KnowledgeBase.Merge(m, src) -} -func (m *KnowledgeBase) XXX_Size() int { - return xxx_messageInfo_KnowledgeBase.Size(m) -} -func (m *KnowledgeBase) XXX_DiscardUnknown() { - xxx_messageInfo_KnowledgeBase.DiscardUnknown(m) -} - -var xxx_messageInfo_KnowledgeBase proto.InternalMessageInfo - -func (m *KnowledgeBase) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *KnowledgeBase) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -// Request message for [KnowledgeBases.ListKnowledgeBases][google.cloud.dialogflow.v2beta1.KnowledgeBases.ListKnowledgeBases]. -type ListKnowledgeBasesRequest struct { - // Required. The project to list of knowledge bases for. - // Format: `projects/`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. The maximum number of items to return in a single page. By - // default 10 and at most 100. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional. The next_page_token value returned from a previous list request. - 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 *ListKnowledgeBasesRequest) Reset() { *m = ListKnowledgeBasesRequest{} } -func (m *ListKnowledgeBasesRequest) String() string { return proto.CompactTextString(m) } -func (*ListKnowledgeBasesRequest) ProtoMessage() {} -func (*ListKnowledgeBasesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9cdbbb049e0ce16a, []int{1} -} - -func (m *ListKnowledgeBasesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListKnowledgeBasesRequest.Unmarshal(m, b) -} -func (m *ListKnowledgeBasesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListKnowledgeBasesRequest.Marshal(b, m, deterministic) -} -func (m *ListKnowledgeBasesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListKnowledgeBasesRequest.Merge(m, src) -} -func (m *ListKnowledgeBasesRequest) XXX_Size() int { - return xxx_messageInfo_ListKnowledgeBasesRequest.Size(m) -} -func (m *ListKnowledgeBasesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListKnowledgeBasesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListKnowledgeBasesRequest proto.InternalMessageInfo - -func (m *ListKnowledgeBasesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListKnowledgeBasesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListKnowledgeBasesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response message for [KnowledgeBases.ListKnowledgeBases][google.cloud.dialogflow.v2beta1.KnowledgeBases.ListKnowledgeBases]. -type ListKnowledgeBasesResponse struct { - // The list of knowledge bases. - KnowledgeBases []*KnowledgeBase `protobuf:"bytes,1,rep,name=knowledge_bases,json=knowledgeBases,proto3" json:"knowledge_bases,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 *ListKnowledgeBasesResponse) Reset() { *m = ListKnowledgeBasesResponse{} } -func (m *ListKnowledgeBasesResponse) String() string { return proto.CompactTextString(m) } -func (*ListKnowledgeBasesResponse) ProtoMessage() {} -func (*ListKnowledgeBasesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9cdbbb049e0ce16a, []int{2} -} - -func (m *ListKnowledgeBasesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListKnowledgeBasesResponse.Unmarshal(m, b) -} -func (m *ListKnowledgeBasesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListKnowledgeBasesResponse.Marshal(b, m, deterministic) -} -func (m *ListKnowledgeBasesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListKnowledgeBasesResponse.Merge(m, src) -} -func (m *ListKnowledgeBasesResponse) XXX_Size() int { - return xxx_messageInfo_ListKnowledgeBasesResponse.Size(m) -} -func (m *ListKnowledgeBasesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListKnowledgeBasesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListKnowledgeBasesResponse proto.InternalMessageInfo - -func (m *ListKnowledgeBasesResponse) GetKnowledgeBases() []*KnowledgeBase { - if m != nil { - return m.KnowledgeBases - } - return nil -} - -func (m *ListKnowledgeBasesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request message for [KnowledgeBase.GetDocument][]. -type GetKnowledgeBaseRequest struct { - // Required. The name of the knowledge base to retrieve. - // Format `projects//knowledgeBases/`. - 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 *GetKnowledgeBaseRequest) Reset() { *m = GetKnowledgeBaseRequest{} } -func (m *GetKnowledgeBaseRequest) String() string { return proto.CompactTextString(m) } -func (*GetKnowledgeBaseRequest) ProtoMessage() {} -func (*GetKnowledgeBaseRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9cdbbb049e0ce16a, []int{3} -} - -func (m *GetKnowledgeBaseRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetKnowledgeBaseRequest.Unmarshal(m, b) -} -func (m *GetKnowledgeBaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetKnowledgeBaseRequest.Marshal(b, m, deterministic) -} -func (m *GetKnowledgeBaseRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetKnowledgeBaseRequest.Merge(m, src) -} -func (m *GetKnowledgeBaseRequest) XXX_Size() int { - return xxx_messageInfo_GetKnowledgeBaseRequest.Size(m) -} -func (m *GetKnowledgeBaseRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetKnowledgeBaseRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetKnowledgeBaseRequest proto.InternalMessageInfo - -func (m *GetKnowledgeBaseRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for [KnowledgeBases.CreateKnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBases.CreateKnowledgeBase]. -type CreateKnowledgeBaseRequest struct { - // Required. The project to create a knowledge base for. - // Format: `projects/`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The knowledge base to create. - KnowledgeBase *KnowledgeBase `protobuf:"bytes,2,opt,name=knowledge_base,json=knowledgeBase,proto3" json:"knowledge_base,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateKnowledgeBaseRequest) Reset() { *m = CreateKnowledgeBaseRequest{} } -func (m *CreateKnowledgeBaseRequest) String() string { return proto.CompactTextString(m) } -func (*CreateKnowledgeBaseRequest) ProtoMessage() {} -func (*CreateKnowledgeBaseRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9cdbbb049e0ce16a, []int{4} -} - -func (m *CreateKnowledgeBaseRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateKnowledgeBaseRequest.Unmarshal(m, b) -} -func (m *CreateKnowledgeBaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateKnowledgeBaseRequest.Marshal(b, m, deterministic) -} -func (m *CreateKnowledgeBaseRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateKnowledgeBaseRequest.Merge(m, src) -} -func (m *CreateKnowledgeBaseRequest) XXX_Size() int { - return xxx_messageInfo_CreateKnowledgeBaseRequest.Size(m) -} -func (m *CreateKnowledgeBaseRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateKnowledgeBaseRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateKnowledgeBaseRequest proto.InternalMessageInfo - -func (m *CreateKnowledgeBaseRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateKnowledgeBaseRequest) GetKnowledgeBase() *KnowledgeBase { - if m != nil { - return m.KnowledgeBase - } - return nil -} - -// Request message for [KnowledgeBases.DeleteKnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBases.DeleteKnowledgeBase]. -type DeleteKnowledgeBaseRequest struct { - // Required. The name of the knowledge base to delete. - // Format: `projects//knowledgeBases/`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Optional. Force deletes the knowledge base. When set to true, any documents - // in the knowledge base are also deleted. - Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DeleteKnowledgeBaseRequest) Reset() { *m = DeleteKnowledgeBaseRequest{} } -func (m *DeleteKnowledgeBaseRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteKnowledgeBaseRequest) ProtoMessage() {} -func (*DeleteKnowledgeBaseRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9cdbbb049e0ce16a, []int{5} -} - -func (m *DeleteKnowledgeBaseRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteKnowledgeBaseRequest.Unmarshal(m, b) -} -func (m *DeleteKnowledgeBaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteKnowledgeBaseRequest.Marshal(b, m, deterministic) -} -func (m *DeleteKnowledgeBaseRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteKnowledgeBaseRequest.Merge(m, src) -} -func (m *DeleteKnowledgeBaseRequest) XXX_Size() int { - return xxx_messageInfo_DeleteKnowledgeBaseRequest.Size(m) -} -func (m *DeleteKnowledgeBaseRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteKnowledgeBaseRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteKnowledgeBaseRequest proto.InternalMessageInfo - -func (m *DeleteKnowledgeBaseRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *DeleteKnowledgeBaseRequest) GetForce() bool { - if m != nil { - return m.Force - } - return false -} - -// Request message for [KnowledgeBases.UpdateKnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBases.UpdateKnowledgeBase]. -type UpdateKnowledgeBaseRequest struct { - // Required. The knowledge base to update. - KnowledgeBase *KnowledgeBase `protobuf:"bytes,1,opt,name=knowledge_base,json=knowledgeBase,proto3" json:"knowledge_base,omitempty"` - // Optional. Not specified means `update all`. - // Currently, only `display_name` can be updated, an InvalidArgument will be - // returned for attempting to update other fields. - 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 *UpdateKnowledgeBaseRequest) Reset() { *m = UpdateKnowledgeBaseRequest{} } -func (m *UpdateKnowledgeBaseRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateKnowledgeBaseRequest) ProtoMessage() {} -func (*UpdateKnowledgeBaseRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9cdbbb049e0ce16a, []int{6} -} - -func (m *UpdateKnowledgeBaseRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateKnowledgeBaseRequest.Unmarshal(m, b) -} -func (m *UpdateKnowledgeBaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateKnowledgeBaseRequest.Marshal(b, m, deterministic) -} -func (m *UpdateKnowledgeBaseRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateKnowledgeBaseRequest.Merge(m, src) -} -func (m *UpdateKnowledgeBaseRequest) XXX_Size() int { - return xxx_messageInfo_UpdateKnowledgeBaseRequest.Size(m) -} -func (m *UpdateKnowledgeBaseRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateKnowledgeBaseRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateKnowledgeBaseRequest proto.InternalMessageInfo - -func (m *UpdateKnowledgeBaseRequest) GetKnowledgeBase() *KnowledgeBase { - if m != nil { - return m.KnowledgeBase - } - return nil -} - -func (m *UpdateKnowledgeBaseRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -func init() { - proto.RegisterType((*KnowledgeBase)(nil), "google.cloud.dialogflow.v2beta1.KnowledgeBase") - proto.RegisterType((*ListKnowledgeBasesRequest)(nil), "google.cloud.dialogflow.v2beta1.ListKnowledgeBasesRequest") - proto.RegisterType((*ListKnowledgeBasesResponse)(nil), "google.cloud.dialogflow.v2beta1.ListKnowledgeBasesResponse") - proto.RegisterType((*GetKnowledgeBaseRequest)(nil), "google.cloud.dialogflow.v2beta1.GetKnowledgeBaseRequest") - proto.RegisterType((*CreateKnowledgeBaseRequest)(nil), "google.cloud.dialogflow.v2beta1.CreateKnowledgeBaseRequest") - proto.RegisterType((*DeleteKnowledgeBaseRequest)(nil), "google.cloud.dialogflow.v2beta1.DeleteKnowledgeBaseRequest") - proto.RegisterType((*UpdateKnowledgeBaseRequest)(nil), "google.cloud.dialogflow.v2beta1.UpdateKnowledgeBaseRequest") -} - -func init() { - proto.RegisterFile("google/cloud/dialogflow/v2beta1/knowledge_base.proto", fileDescriptor_9cdbbb049e0ce16a) -} - -var fileDescriptor_9cdbbb049e0ce16a = []byte{ - // 787 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x4d, 0x6f, 0xd3, 0x4a, - 0x14, 0xd5, 0xa4, 0xaf, 0x55, 0x3b, 0x79, 0x6d, 0x9f, 0xa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, 0x74, 0xd7, 0x08, 0xa7, 0x08, 0xc1, 0x7f, 0x1c, 0x52, 0xa7, 0xd3, 0x60, 0x1e, 0x2c, 0x8c, - 0x14, 0xe4, 0x6f, 0x74, 0x01, 0xfe, 0x5b, 0xb1, 0xb8, 0x6b, 0x93, 0xfd, 0xa2, 0x8c, 0xa5, 0x64, - 0x2c, 0xed, 0xaf, 0xdd, 0x23, 0x75, 0xaa, 0x33, 0x38, 0x73, 0xc7, 0xe2, 0x22, 0x80, 0xc5, 0x0b, - 0xf4, 0x69, 0x93, 0x72, 0x81, 0x26, 0xe1, 0x90, 0x4b, 0x1a, 0xd4, 0x11, 0x3e, 0xaa, 0xff, 0x85, - 0x66, 0xe1, 0x88, 0x4b, 0x4c, 0x5a, 0xe4, 0xd6, 0x81, 0x02, 0x1d, 0x2c, 0x0c, 0x7b, 0x0b, 0xf7, - 0xad, 0x03, 0x8a, 0xce, 0x43, 0x28, 0x83, 0x82, 0xd5, 0xa8, 0x33, 0x3d, 0x20, 0x13, 0xe5, 0xf6, - 0x07, 0xde, 0x82, 0xfe, 0x16, 0x40, 0x2d, 0xea, 0x44, 0xee, 0x32, 0x87, 0x53, 0xf4, 0x08, 0x8e, - 0x07, 0x6d, 0xe0, 0xd3, 0x60, 0x7e, 0x60, 0x21, 0x9d, 0x35, 0x8c, 0x3e, 0x46, 0x18, 0x01, 0xc4, - 0xc2, 0x58, 0x2d, 0x70, 0x00, 0xba, 0x04, 0xc7, 0x1d, 0xba, 0x27, 0x8a, 0x5d, 0xdc, 0x54, 0x39, - 0x46, 0xbd, 0xe5, 0xad, 0x13, 0x7e, 0x8b, 0x70, 0x6a, 0x93, 0x06, 0xd9, 0xb5, 0xcb, 0x11, 0x51, - 0x62, 0xfd, 0x15, 0x80, 0xda, 0x7a, 0x83, 0x12, 0x41, 0x23, 0x53, 0xe2, 0x2a, 0xb8, 0x0d, 0xc7, - 0x82, 0x32, 0x25, 0x99, 0xe4, 0x2a, 0x47, 0x03, 0x2a, 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, 0xff, 0x31, 0x35, 0xb7, 0xa9, 0x30, 0xd7, 0x25, 0x95, 0x8d, 0x0e, 0x95, 0x87, 0x2a, - 0xa9, 0x34, 0x24, 0xf1, 0x97, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0x47, 0x85, 0x0d, 0xf6, 0x20, - 0x0a, 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 - -// KnowledgeBasesClient is the client API for KnowledgeBases service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type KnowledgeBasesClient interface { - // Returns the list of all knowledge bases of the specified agent. - // - // Note: The `projects.agent.knowledgeBases` resource is deprecated; - // only use `projects.knowledgeBases`. - ListKnowledgeBases(ctx context.Context, in *ListKnowledgeBasesRequest, opts ...grpc.CallOption) (*ListKnowledgeBasesResponse, error) - // Retrieves the specified knowledge base. - // - // Note: The `projects.agent.knowledgeBases` resource is deprecated; - // only use `projects.knowledgeBases`. - GetKnowledgeBase(ctx context.Context, in *GetKnowledgeBaseRequest, opts ...grpc.CallOption) (*KnowledgeBase, error) - // Creates a knowledge base. - // - // Note: The `projects.agent.knowledgeBases` resource is deprecated; - // only use `projects.knowledgeBases`. - CreateKnowledgeBase(ctx context.Context, in *CreateKnowledgeBaseRequest, opts ...grpc.CallOption) (*KnowledgeBase, error) - // Deletes the specified knowledge base. - // - // Note: The `projects.agent.knowledgeBases` resource is deprecated; - // only use `projects.knowledgeBases`. - DeleteKnowledgeBase(ctx context.Context, in *DeleteKnowledgeBaseRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Updates the specified knowledge base. - // - // Note: The `projects.agent.knowledgeBases` resource is deprecated; - // only use `projects.knowledgeBases`. - UpdateKnowledgeBase(ctx context.Context, in *UpdateKnowledgeBaseRequest, opts ...grpc.CallOption) (*KnowledgeBase, error) -} - -type knowledgeBasesClient struct { - cc *grpc.ClientConn -} - -func NewKnowledgeBasesClient(cc *grpc.ClientConn) KnowledgeBasesClient { - return &knowledgeBasesClient{cc} -} - -func (c *knowledgeBasesClient) ListKnowledgeBases(ctx context.Context, in *ListKnowledgeBasesRequest, opts ...grpc.CallOption) (*ListKnowledgeBasesResponse, error) { - out := new(ListKnowledgeBasesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.KnowledgeBases/ListKnowledgeBases", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *knowledgeBasesClient) GetKnowledgeBase(ctx context.Context, in *GetKnowledgeBaseRequest, opts ...grpc.CallOption) (*KnowledgeBase, error) { - out := new(KnowledgeBase) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.KnowledgeBases/GetKnowledgeBase", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *knowledgeBasesClient) CreateKnowledgeBase(ctx context.Context, in *CreateKnowledgeBaseRequest, opts ...grpc.CallOption) (*KnowledgeBase, error) { - out := new(KnowledgeBase) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.KnowledgeBases/CreateKnowledgeBase", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *knowledgeBasesClient) DeleteKnowledgeBase(ctx context.Context, in *DeleteKnowledgeBaseRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.KnowledgeBases/DeleteKnowledgeBase", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *knowledgeBasesClient) UpdateKnowledgeBase(ctx context.Context, in *UpdateKnowledgeBaseRequest, opts ...grpc.CallOption) (*KnowledgeBase, error) { - out := new(KnowledgeBase) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.KnowledgeBases/UpdateKnowledgeBase", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// KnowledgeBasesServer is the server API for KnowledgeBases service. -type KnowledgeBasesServer interface { - // Returns the list of all knowledge bases of the specified agent. - // - // Note: The `projects.agent.knowledgeBases` resource is deprecated; - // only use `projects.knowledgeBases`. - ListKnowledgeBases(context.Context, *ListKnowledgeBasesRequest) (*ListKnowledgeBasesResponse, error) - // Retrieves the specified knowledge base. - // - // Note: The `projects.agent.knowledgeBases` resource is deprecated; - // only use `projects.knowledgeBases`. - GetKnowledgeBase(context.Context, *GetKnowledgeBaseRequest) (*KnowledgeBase, error) - // Creates a knowledge base. - // - // Note: The `projects.agent.knowledgeBases` resource is deprecated; - // only use `projects.knowledgeBases`. - CreateKnowledgeBase(context.Context, *CreateKnowledgeBaseRequest) (*KnowledgeBase, error) - // Deletes the specified knowledge base. - // - // Note: The `projects.agent.knowledgeBases` resource is deprecated; - // only use `projects.knowledgeBases`. - DeleteKnowledgeBase(context.Context, *DeleteKnowledgeBaseRequest) (*empty.Empty, error) - // Updates the specified knowledge base. - // - // Note: The `projects.agent.knowledgeBases` resource is deprecated; - // only use `projects.knowledgeBases`. - UpdateKnowledgeBase(context.Context, *UpdateKnowledgeBaseRequest) (*KnowledgeBase, error) -} - -// UnimplementedKnowledgeBasesServer can be embedded to have forward compatible implementations. -type UnimplementedKnowledgeBasesServer struct { -} - -func (*UnimplementedKnowledgeBasesServer) ListKnowledgeBases(ctx context.Context, req *ListKnowledgeBasesRequest) (*ListKnowledgeBasesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListKnowledgeBases not implemented") -} -func (*UnimplementedKnowledgeBasesServer) GetKnowledgeBase(ctx context.Context, req *GetKnowledgeBaseRequest) (*KnowledgeBase, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetKnowledgeBase not implemented") -} -func (*UnimplementedKnowledgeBasesServer) CreateKnowledgeBase(ctx context.Context, req *CreateKnowledgeBaseRequest) (*KnowledgeBase, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateKnowledgeBase not implemented") -} -func (*UnimplementedKnowledgeBasesServer) DeleteKnowledgeBase(ctx context.Context, req *DeleteKnowledgeBaseRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteKnowledgeBase not implemented") -} -func (*UnimplementedKnowledgeBasesServer) UpdateKnowledgeBase(ctx context.Context, req *UpdateKnowledgeBaseRequest) (*KnowledgeBase, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateKnowledgeBase not implemented") -} - -func RegisterKnowledgeBasesServer(s *grpc.Server, srv KnowledgeBasesServer) { - s.RegisterService(&_KnowledgeBases_serviceDesc, srv) -} - -func _KnowledgeBases_ListKnowledgeBases_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListKnowledgeBasesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(KnowledgeBasesServer).ListKnowledgeBases(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.KnowledgeBases/ListKnowledgeBases", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(KnowledgeBasesServer).ListKnowledgeBases(ctx, req.(*ListKnowledgeBasesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _KnowledgeBases_GetKnowledgeBase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetKnowledgeBaseRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(KnowledgeBasesServer).GetKnowledgeBase(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.KnowledgeBases/GetKnowledgeBase", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(KnowledgeBasesServer).GetKnowledgeBase(ctx, req.(*GetKnowledgeBaseRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _KnowledgeBases_CreateKnowledgeBase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateKnowledgeBaseRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(KnowledgeBasesServer).CreateKnowledgeBase(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.KnowledgeBases/CreateKnowledgeBase", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(KnowledgeBasesServer).CreateKnowledgeBase(ctx, req.(*CreateKnowledgeBaseRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _KnowledgeBases_DeleteKnowledgeBase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteKnowledgeBaseRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(KnowledgeBasesServer).DeleteKnowledgeBase(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.KnowledgeBases/DeleteKnowledgeBase", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(KnowledgeBasesServer).DeleteKnowledgeBase(ctx, req.(*DeleteKnowledgeBaseRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _KnowledgeBases_UpdateKnowledgeBase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateKnowledgeBaseRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(KnowledgeBasesServer).UpdateKnowledgeBase(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.KnowledgeBases/UpdateKnowledgeBase", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(KnowledgeBasesServer).UpdateKnowledgeBase(ctx, req.(*UpdateKnowledgeBaseRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _KnowledgeBases_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.dialogflow.v2beta1.KnowledgeBases", - HandlerType: (*KnowledgeBasesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListKnowledgeBases", - Handler: _KnowledgeBases_ListKnowledgeBases_Handler, - }, - { - MethodName: "GetKnowledgeBase", - Handler: _KnowledgeBases_GetKnowledgeBase_Handler, - }, - { - MethodName: "CreateKnowledgeBase", - Handler: _KnowledgeBases_CreateKnowledgeBase_Handler, - }, - { - MethodName: "DeleteKnowledgeBase", - Handler: _KnowledgeBases_DeleteKnowledgeBase_Handler, - }, - { - MethodName: "UpdateKnowledgeBase", - Handler: _KnowledgeBases_UpdateKnowledgeBase_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/dialogflow/v2beta1/knowledge_base.proto", -} 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 deleted file mode 100644 index 37ad059b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/session.pb.go +++ /dev/null @@ -1,1868 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/dialogflow/v2beta1/session.proto - -package dialogflow - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - _struct "github.com/golang/protobuf/ptypes/struct" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - latlng "google.golang.org/genproto/googleapis/type/latlng" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Represents the system's confidence that this knowledge answer is a good -// match for this conversational query. -type KnowledgeAnswers_Answer_MatchConfidenceLevel int32 - -const ( - // Not specified. - KnowledgeAnswers_Answer_MATCH_CONFIDENCE_LEVEL_UNSPECIFIED KnowledgeAnswers_Answer_MatchConfidenceLevel = 0 - // Indicates that the confidence is low. - KnowledgeAnswers_Answer_LOW KnowledgeAnswers_Answer_MatchConfidenceLevel = 1 - // Indicates our confidence is medium. - KnowledgeAnswers_Answer_MEDIUM KnowledgeAnswers_Answer_MatchConfidenceLevel = 2 - // Indicates our confidence is high. - KnowledgeAnswers_Answer_HIGH KnowledgeAnswers_Answer_MatchConfidenceLevel = 3 -) - -var KnowledgeAnswers_Answer_MatchConfidenceLevel_name = map[int32]string{ - 0: "MATCH_CONFIDENCE_LEVEL_UNSPECIFIED", - 1: "LOW", - 2: "MEDIUM", - 3: "HIGH", -} - -var KnowledgeAnswers_Answer_MatchConfidenceLevel_value = map[string]int32{ - "MATCH_CONFIDENCE_LEVEL_UNSPECIFIED": 0, - "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_40a53f854d709740, []int{5, 0, 0} -} - -// Type of the response message. -type StreamingRecognitionResult_MessageType int32 - -const ( - // Not specified. Should never be used. - StreamingRecognitionResult_MESSAGE_TYPE_UNSPECIFIED StreamingRecognitionResult_MessageType = 0 - // Message contains a (possibly partial) transcript. - StreamingRecognitionResult_TRANSCRIPT StreamingRecognitionResult_MessageType = 1 - // Event indicates that the server has detected the end of the user's speech - // utterance and expects no additional speech. Therefore, the server will - // not process additional audio (although it may subsequently return - // additional results). The client should stop sending additional audio - // data, half-close the gRPC connection, and wait for any additional results - // until the server closes the gRPC connection. This message is only sent if - // `single_utterance` was set to `true`, and is not used otherwise. - StreamingRecognitionResult_END_OF_SINGLE_UTTERANCE StreamingRecognitionResult_MessageType = 2 -) - -var StreamingRecognitionResult_MessageType_name = map[int32]string{ - 0: "MESSAGE_TYPE_UNSPECIFIED", - 1: "TRANSCRIPT", - 2: "END_OF_SINGLE_UTTERANCE", -} - -var StreamingRecognitionResult_MessageType_value = map[string]int32{ - "MESSAGE_TYPE_UNSPECIFIED": 0, - "TRANSCRIPT": 1, - "END_OF_SINGLE_UTTERANCE": 2, -} - -func (x StreamingRecognitionResult_MessageType) String() string { - return proto.EnumName(StreamingRecognitionResult_MessageType_name, int32(x)) -} - -func (StreamingRecognitionResult_MessageType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_40a53f854d709740, []int{8, 0} -} - -// The request to detect user's intent. -type DetectIntentRequest struct { - // Required. The name of the session this query is sent to. Format: - // `projects//agent/sessions/`, or - // `projects//agent/environments//users//sessions/`. If `Environment ID` is not specified, we assume - // default 'draft' environment. If `User ID` is not specified, we are using - // "-". It's up to the API caller to choose an appropriate `Session ID` and - // `User Id`. They can be a random number or some type of user and session - // identifiers (preferably hashed). The length of the `Session ID` and - // `User ID` must not exceed 36 characters. - Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` - // Optional. The parameters of this query. - QueryParams *QueryParameters `protobuf:"bytes,2,opt,name=query_params,json=queryParams,proto3" json:"query_params,omitempty"` - // Required. The input specification. It can be set to: - // - // 1. an audio config - // which instructs the speech recognizer how to process the speech audio, - // - // 2. a conversational query in the form of text, or - // - // 3. an event that specifies which intent to trigger. - QueryInput *QueryInput `protobuf:"bytes,3,opt,name=query_input,json=queryInput,proto3" json:"query_input,omitempty"` - // Optional. Instructs the speech synthesizer how to generate the output - // audio. If this field is not set and agent-level speech synthesizer is not - // configured, no output audio is generated. - OutputAudioConfig *OutputAudioConfig `protobuf:"bytes,4,opt,name=output_audio_config,json=outputAudioConfig,proto3" json:"output_audio_config,omitempty"` - // Optional. The natural language speech audio to be processed. This field - // should be populated iff `query_input` is set to an input audio config. - // A single request can contain up to 1 minute of speech audio data. - InputAudio []byte `protobuf:"bytes,5,opt,name=input_audio,json=inputAudio,proto3" json:"input_audio,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_40a53f854d709740, []int{0} -} - -func (m *DetectIntentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DetectIntentRequest.Unmarshal(m, b) -} -func (m *DetectIntentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DetectIntentRequest.Marshal(b, m, deterministic) -} -func (m *DetectIntentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DetectIntentRequest.Merge(m, src) -} -func (m *DetectIntentRequest) XXX_Size() int { - return xxx_messageInfo_DetectIntentRequest.Size(m) -} -func (m *DetectIntentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DetectIntentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DetectIntentRequest proto.InternalMessageInfo - -func (m *DetectIntentRequest) GetSession() string { - if m != nil { - return m.Session - } - return "" -} - -func (m *DetectIntentRequest) GetQueryParams() *QueryParameters { - if m != nil { - return m.QueryParams - } - return nil -} - -func (m *DetectIntentRequest) GetQueryInput() *QueryInput { - if m != nil { - return m.QueryInput - } - return nil -} - -func (m *DetectIntentRequest) GetOutputAudioConfig() *OutputAudioConfig { - if m != nil { - return m.OutputAudioConfig - } - return nil -} - -func (m *DetectIntentRequest) GetInputAudio() []byte { - if m != nil { - return m.InputAudio - } - return nil -} - -// The message returned from the DetectIntent method. -type DetectIntentResponse struct { - // The unique identifier of the response. It can be used to - // locate a response in the training example set or for reporting issues. - ResponseId string `protobuf:"bytes,1,opt,name=response_id,json=responseId,proto3" json:"response_id,omitempty"` - // The selected results of the conversational query or event processing. - // 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 - // `QueryResult.intent_detection_confidence`. If Knowledge Connectors are - // 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. - WebhookStatus *status.Status `protobuf:"bytes,3,opt,name=webhook_status,json=webhookStatus,proto3" json:"webhook_status,omitempty"` - // The audio data bytes encoded as specified in the request. - // Note: The output audio is generated based on the values of default platform - // text responses found in the `query_result.fulfillment_messages` field. If - // multiple default text responses exist, they will be concatenated when - // generating audio. If no default platform text responses exist, the - // generated audio content will be empty. - OutputAudio []byte `protobuf:"bytes,4,opt,name=output_audio,json=outputAudio,proto3" json:"output_audio,omitempty"` - // The config used by the speech synthesizer to generate the output audio. - OutputAudioConfig *OutputAudioConfig `protobuf:"bytes,6,opt,name=output_audio_config,json=outputAudioConfig,proto3" json:"output_audio_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_40a53f854d709740, []int{1} -} - -func (m *DetectIntentResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DetectIntentResponse.Unmarshal(m, b) -} -func (m *DetectIntentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DetectIntentResponse.Marshal(b, m, deterministic) -} -func (m *DetectIntentResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DetectIntentResponse.Merge(m, src) -} -func (m *DetectIntentResponse) XXX_Size() int { - return xxx_messageInfo_DetectIntentResponse.Size(m) -} -func (m *DetectIntentResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DetectIntentResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_DetectIntentResponse proto.InternalMessageInfo - -func (m *DetectIntentResponse) GetResponseId() string { - if m != nil { - return m.ResponseId - } - return "" -} - -func (m *DetectIntentResponse) GetQueryResult() *QueryResult { - if m != nil { - return m.QueryResult - } - return nil -} - -func (m *DetectIntentResponse) GetAlternativeQueryResults() []*QueryResult { - if m != nil { - return m.AlternativeQueryResults - } - return nil -} - -func (m *DetectIntentResponse) GetWebhookStatus() *status.Status { - if m != nil { - return m.WebhookStatus - } - return nil -} - -func (m *DetectIntentResponse) GetOutputAudio() []byte { - if m != nil { - return m.OutputAudio - } - return nil -} - -func (m *DetectIntentResponse) GetOutputAudioConfig() *OutputAudioConfig { - if m != nil { - return m.OutputAudioConfig - } - return nil -} - -// Represents the parameters of the conversational query. -type QueryParameters struct { - // Optional. The time zone of this conversational query from the - // [time zone database](https://www.iana.org/time-zones), e.g., - // America/New_York, Europe/Paris. If not provided, the time zone specified in - // agent settings is used. - TimeZone string `protobuf:"bytes,1,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"` - // Optional. The geo location of this conversational query. - GeoLocation *latlng.LatLng `protobuf:"bytes,2,opt,name=geo_location,json=geoLocation,proto3" json:"geo_location,omitempty"` - // Optional. The collection of contexts to be activated before this query is - // executed. - Contexts []*Context `protobuf:"bytes,3,rep,name=contexts,proto3" json:"contexts,omitempty"` - // Optional. Specifies whether to delete all contexts in the current session - // before the new ones are activated. - ResetContexts bool `protobuf:"varint,4,opt,name=reset_contexts,json=resetContexts,proto3" json:"reset_contexts,omitempty"` - // Optional. Additional session entity types to replace or extend developer - // entity types with. The entity synonyms apply to all languages and persist - // for the session of this query. - SessionEntityTypes []*SessionEntityType `protobuf:"bytes,5,rep,name=session_entity_types,json=sessionEntityTypes,proto3" json:"session_entity_types,omitempty"` - // Optional. This field can be used to pass custom data into the webhook - // associated with the agent. Arbitrary JSON objects are supported. - Payload *_struct.Struct `protobuf:"bytes,6,opt,name=payload,proto3" json:"payload,omitempty"` - // Optional. KnowledgeBases to get alternative results from. If not set, the - // KnowledgeBases enabled in the agent (through UI) will be used. - // Format: `projects//knowledgeBases/`. - KnowledgeBaseNames []string `protobuf:"bytes,12,rep,name=knowledge_base_names,json=knowledgeBaseNames,proto3" json:"knowledge_base_names,omitempty"` - // Optional. Configures the type of sentiment analysis to perform. If not - // provided, sentiment analysis is not performed. - // Note: Sentiment Analysis is only currently available for Enterprise Edition - // agents. - SentimentAnalysisRequestConfig *SentimentAnalysisRequestConfig `protobuf:"bytes,10,opt,name=sentiment_analysis_request_config,json=sentimentAnalysisRequestConfig,proto3" json:"sentiment_analysis_request_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_40a53f854d709740, []int{2} -} - -func (m *QueryParameters) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryParameters.Unmarshal(m, b) -} -func (m *QueryParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryParameters.Marshal(b, m, deterministic) -} -func (m *QueryParameters) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryParameters.Merge(m, src) -} -func (m *QueryParameters) XXX_Size() int { - return xxx_messageInfo_QueryParameters.Size(m) -} -func (m *QueryParameters) XXX_DiscardUnknown() { - xxx_messageInfo_QueryParameters.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryParameters proto.InternalMessageInfo - -func (m *QueryParameters) GetTimeZone() string { - if m != nil { - return m.TimeZone - } - return "" -} - -func (m *QueryParameters) GetGeoLocation() *latlng.LatLng { - if m != nil { - return m.GeoLocation - } - return nil -} - -func (m *QueryParameters) GetContexts() []*Context { - if m != nil { - return m.Contexts - } - return nil -} - -func (m *QueryParameters) GetResetContexts() bool { - if m != nil { - return m.ResetContexts - } - return false -} - -func (m *QueryParameters) GetSessionEntityTypes() []*SessionEntityType { - if m != nil { - return m.SessionEntityTypes - } - return nil -} - -func (m *QueryParameters) GetPayload() *_struct.Struct { - if m != nil { - return m.Payload - } - return nil -} - -func (m *QueryParameters) GetKnowledgeBaseNames() []string { - if m != nil { - return m.KnowledgeBaseNames - } - return nil -} - -func (m *QueryParameters) GetSentimentAnalysisRequestConfig() *SentimentAnalysisRequestConfig { - if m != nil { - return m.SentimentAnalysisRequestConfig - } - return nil -} - -// Represents the query input. It can contain either: -// -// 1. An audio config which -// instructs the speech recognizer how to process the speech audio. -// -// 2. A conversational query in the form of text. -// -// 3. An event that specifies which intent to trigger. -type QueryInput struct { - // Required. The input specification. - // - // Types that are valid to be assigned to Input: - // *QueryInput_AudioConfig - // *QueryInput_Text - // *QueryInput_Event - Input isQueryInput_Input `protobuf_oneof:"input"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_40a53f854d709740, []int{3} -} - -func (m *QueryInput) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryInput.Unmarshal(m, b) -} -func (m *QueryInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryInput.Marshal(b, m, deterministic) -} -func (m *QueryInput) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryInput.Merge(m, src) -} -func (m *QueryInput) XXX_Size() int { - return xxx_messageInfo_QueryInput.Size(m) -} -func (m *QueryInput) XXX_DiscardUnknown() { - xxx_messageInfo_QueryInput.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryInput proto.InternalMessageInfo - -type isQueryInput_Input interface { - isQueryInput_Input() -} - -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 (m *QueryInput) GetInput() isQueryInput_Input { - if m != nil { - return m.Input - } - return nil -} - -func (m *QueryInput) GetAudioConfig() *InputAudioConfig { - if x, ok := m.GetInput().(*QueryInput_AudioConfig); ok { - return x.AudioConfig - } - return nil -} - -func (m *QueryInput) GetText() *TextInput { - if x, ok := m.GetInput().(*QueryInput_Text); ok { - return x.Text - } - return nil -} - -func (m *QueryInput) GetEvent() *EventInput { - if x, ok := m.GetInput().(*QueryInput_Event); ok { - return x.Event - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*QueryInput) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*QueryInput_AudioConfig)(nil), - (*QueryInput_Text)(nil), - (*QueryInput_Event)(nil), - } -} - -// Represents the result of conversational query or event processing. -type QueryResult struct { - // The original conversational query text: - // - // - If natural language text was provided as input, `query_text` contains - // a copy of the input. - // - If natural language speech audio was provided as input, `query_text` - // contains the speech recognition result. If speech recognizer produced - // multiple alternatives, a particular one is picked. - // - If automatic spell correction is enabled, `query_text` will contain the - // corrected user input. - QueryText string `protobuf:"bytes,1,opt,name=query_text,json=queryText,proto3" json:"query_text,omitempty"` - // The language that was triggered during intent detection. - // See [Language - // Support](https://cloud.google.com/dialogflow/docs/reference/language) - // for a list of the currently supported language codes. - LanguageCode string `protobuf:"bytes,15,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // The Speech recognition confidence between 0.0 and 1.0. A higher number - // indicates an estimated greater likelihood that the recognized words are - // correct. The default of 0.0 is a sentinel value indicating that confidence - // was not set. - // - // This field is not guaranteed to be accurate or set. In particular this - // field isn't set for StreamingDetectIntent since the streaming endpoint has - // separate confidence estimates per portion of the audio in - // StreamingRecognitionResult. - SpeechRecognitionConfidence float32 `protobuf:"fixed32,2,opt,name=speech_recognition_confidence,json=speechRecognitionConfidence,proto3" json:"speech_recognition_confidence,omitempty"` - // The action name from the matched intent. - Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"` - // The collection of extracted parameters. - Parameters *_struct.Struct `protobuf:"bytes,4,opt,name=parameters,proto3" json:"parameters,omitempty"` - // This field is set to: - // - // - `false` if the matched intent has required parameters and not all of - // the required parameter values have been collected. - // - `true` if all required parameter values have been collected, or if the - // matched intent doesn't contain any required parameters. - AllRequiredParamsPresent bool `protobuf:"varint,5,opt,name=all_required_params_present,json=allRequiredParamsPresent,proto3" json:"all_required_params_present,omitempty"` - // The text to be pronounced to the user or shown on the screen. - // Note: This is a legacy field, `fulfillment_messages` should be preferred. - FulfillmentText string `protobuf:"bytes,6,opt,name=fulfillment_text,json=fulfillmentText,proto3" json:"fulfillment_text,omitempty"` - // The collection of rich messages to present to the user. - FulfillmentMessages []*Intent_Message `protobuf:"bytes,7,rep,name=fulfillment_messages,json=fulfillmentMessages,proto3" json:"fulfillment_messages,omitempty"` - // If the query was fulfilled by a webhook call, this field is set to the - // value of the `source` field returned in the webhook response. - WebhookSource string `protobuf:"bytes,8,opt,name=webhook_source,json=webhookSource,proto3" json:"webhook_source,omitempty"` - // If the query was fulfilled by a webhook call, this field is set to the - // value of the `payload` field returned in the webhook response. - WebhookPayload *_struct.Struct `protobuf:"bytes,9,opt,name=webhook_payload,json=webhookPayload,proto3" json:"webhook_payload,omitempty"` - // The collection of output contexts. If applicable, - // `output_contexts.parameters` contains entries with name - // `.original` containing the original parameter values - // before the query. - OutputContexts []*Context `protobuf:"bytes,10,rep,name=output_contexts,json=outputContexts,proto3" json:"output_contexts,omitempty"` - // The intent that matched the conversational query. Some, not - // all fields are filled in this message, including but not limited to: - // `name`, `display_name`, `end_interaction` and `is_fallback`. - Intent *Intent `protobuf:"bytes,11,opt,name=intent,proto3" json:"intent,omitempty"` - // The intent detection confidence. Values range from 0.0 - // (completely uncertain) to 1.0 (completely certain). - // This value is for informational purpose only and is only used to - // help match the best intent within the classification threshold. - // This value may change for the same end-user expression at any time due to a - // model retraining or change in implementation. - // If there are `multiple knowledge_answers` messages, this value is set to - // the greatest `knowledgeAnswers.match_confidence` value in the list. - IntentDetectionConfidence float32 `protobuf:"fixed32,12,opt,name=intent_detection_confidence,json=intentDetectionConfidence,proto3" json:"intent_detection_confidence,omitempty"` - // The free-form diagnostic info. For example, this field could contain - // webhook call latency. The string keys of the Struct's fields map can change - // without notice. - DiagnosticInfo *_struct.Struct `protobuf:"bytes,14,opt,name=diagnostic_info,json=diagnosticInfo,proto3" json:"diagnostic_info,omitempty"` - // The sentiment analysis result, which depends on the - // `sentiment_analysis_request_config` specified in the request. - SentimentAnalysisResult *SentimentAnalysisResult `protobuf:"bytes,17,opt,name=sentiment_analysis_result,json=sentimentAnalysisResult,proto3" json:"sentiment_analysis_result,omitempty"` - // The result from Knowledge Connector (if any), ordered by decreasing - // `KnowledgeAnswers.match_confidence`. - KnowledgeAnswers *KnowledgeAnswers `protobuf:"bytes,18,opt,name=knowledge_answers,json=knowledgeAnswers,proto3" json:"knowledge_answers,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_40a53f854d709740, []int{4} -} - -func (m *QueryResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryResult.Unmarshal(m, b) -} -func (m *QueryResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryResult.Marshal(b, m, deterministic) -} -func (m *QueryResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryResult.Merge(m, src) -} -func (m *QueryResult) XXX_Size() int { - return xxx_messageInfo_QueryResult.Size(m) -} -func (m *QueryResult) XXX_DiscardUnknown() { - xxx_messageInfo_QueryResult.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryResult proto.InternalMessageInfo - -func (m *QueryResult) GetQueryText() string { - if m != nil { - return m.QueryText - } - return "" -} - -func (m *QueryResult) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *QueryResult) GetSpeechRecognitionConfidence() float32 { - if m != nil { - return m.SpeechRecognitionConfidence - } - return 0 -} - -func (m *QueryResult) GetAction() string { - if m != nil { - return m.Action - } - return "" -} - -func (m *QueryResult) GetParameters() *_struct.Struct { - if m != nil { - return m.Parameters - } - return nil -} - -func (m *QueryResult) GetAllRequiredParamsPresent() bool { - if m != nil { - return m.AllRequiredParamsPresent - } - return false -} - -func (m *QueryResult) GetFulfillmentText() string { - if m != nil { - return m.FulfillmentText - } - return "" -} - -func (m *QueryResult) GetFulfillmentMessages() []*Intent_Message { - if m != nil { - return m.FulfillmentMessages - } - return nil -} - -func (m *QueryResult) GetWebhookSource() string { - if m != nil { - return m.WebhookSource - } - return "" -} - -func (m *QueryResult) GetWebhookPayload() *_struct.Struct { - if m != nil { - return m.WebhookPayload - } - return nil -} - -func (m *QueryResult) GetOutputContexts() []*Context { - if m != nil { - return m.OutputContexts - } - return nil -} - -func (m *QueryResult) GetIntent() *Intent { - if m != nil { - return m.Intent - } - return nil -} - -func (m *QueryResult) GetIntentDetectionConfidence() float32 { - if m != nil { - return m.IntentDetectionConfidence - } - return 0 -} - -func (m *QueryResult) GetDiagnosticInfo() *_struct.Struct { - if m != nil { - return m.DiagnosticInfo - } - return nil -} - -func (m *QueryResult) GetSentimentAnalysisResult() *SentimentAnalysisResult { - if m != nil { - return m.SentimentAnalysisResult - } - return nil -} - -func (m *QueryResult) GetKnowledgeAnswers() *KnowledgeAnswers { - if m != nil { - return m.KnowledgeAnswers - } - return nil -} - -// Represents the result of querying a Knowledge base. -type KnowledgeAnswers struct { - // A list of answers from Knowledge Connector. - Answers []*KnowledgeAnswers_Answer `protobuf:"bytes,1,rep,name=answers,proto3" json:"answers,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_40a53f854d709740, []int{5} -} - -func (m *KnowledgeAnswers) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_KnowledgeAnswers.Unmarshal(m, b) -} -func (m *KnowledgeAnswers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_KnowledgeAnswers.Marshal(b, m, deterministic) -} -func (m *KnowledgeAnswers) XXX_Merge(src proto.Message) { - xxx_messageInfo_KnowledgeAnswers.Merge(m, src) -} -func (m *KnowledgeAnswers) XXX_Size() int { - return xxx_messageInfo_KnowledgeAnswers.Size(m) -} -func (m *KnowledgeAnswers) XXX_DiscardUnknown() { - xxx_messageInfo_KnowledgeAnswers.DiscardUnknown(m) -} - -var xxx_messageInfo_KnowledgeAnswers proto.InternalMessageInfo - -func (m *KnowledgeAnswers) GetAnswers() []*KnowledgeAnswers_Answer { - if m != nil { - return m.Answers - } - return nil -} - -// An answer from Knowledge Connector. -type KnowledgeAnswers_Answer struct { - // Indicates which Knowledge Document this answer was extracted from. - // Format: `projects//knowledgeBases//documents/`. - Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` - // The corresponding FAQ question if the answer was extracted from a FAQ - // Document, empty otherwise. - FaqQuestion string `protobuf:"bytes,2,opt,name=faq_question,json=faqQuestion,proto3" json:"faq_question,omitempty"` - // The piece of text from the `source` knowledge base document that answers - // this conversational query. - Answer string `protobuf:"bytes,3,opt,name=answer,proto3" json:"answer,omitempty"` - // The system's confidence level that this knowledge answer is a good match - // for this conversational query. - // NOTE: The confidence level for a given `` pair may change - // without notice, as it depends on models that are constantly being - // improved. However, it will change less frequently than the confidence - // score below, and should be preferred for referencing the quality of an - // answer. - MatchConfidenceLevel KnowledgeAnswers_Answer_MatchConfidenceLevel `protobuf:"varint,4,opt,name=match_confidence_level,json=matchConfidenceLevel,proto3,enum=google.cloud.dialogflow.v2beta1.KnowledgeAnswers_Answer_MatchConfidenceLevel" json:"match_confidence_level,omitempty"` - // The system's confidence score that this Knowledge answer is a good match - // for this conversational query. - // The range is from 0.0 (completely uncertain) to 1.0 (completely certain). - // Note: The confidence score is likely to vary somewhat (possibly even for - // identical requests), as the underlying model is under constant - // improvement. It may be deprecated in the future. We recommend using - // `match_confidence_level` which should be generally more stable. - MatchConfidence float32 `protobuf:"fixed32,5,opt,name=match_confidence,json=matchConfidence,proto3" json:"match_confidence,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_40a53f854d709740, []int{5, 0} -} - -func (m *KnowledgeAnswers_Answer) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_KnowledgeAnswers_Answer.Unmarshal(m, b) -} -func (m *KnowledgeAnswers_Answer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_KnowledgeAnswers_Answer.Marshal(b, m, deterministic) -} -func (m *KnowledgeAnswers_Answer) XXX_Merge(src proto.Message) { - xxx_messageInfo_KnowledgeAnswers_Answer.Merge(m, src) -} -func (m *KnowledgeAnswers_Answer) XXX_Size() int { - return xxx_messageInfo_KnowledgeAnswers_Answer.Size(m) -} -func (m *KnowledgeAnswers_Answer) XXX_DiscardUnknown() { - xxx_messageInfo_KnowledgeAnswers_Answer.DiscardUnknown(m) -} - -var xxx_messageInfo_KnowledgeAnswers_Answer proto.InternalMessageInfo - -func (m *KnowledgeAnswers_Answer) GetSource() string { - if m != nil { - return m.Source - } - return "" -} - -func (m *KnowledgeAnswers_Answer) GetFaqQuestion() string { - if m != nil { - return m.FaqQuestion - } - return "" -} - -func (m *KnowledgeAnswers_Answer) GetAnswer() string { - if m != nil { - return m.Answer - } - return "" -} - -func (m *KnowledgeAnswers_Answer) GetMatchConfidenceLevel() KnowledgeAnswers_Answer_MatchConfidenceLevel { - if m != nil { - return m.MatchConfidenceLevel - } - return KnowledgeAnswers_Answer_MATCH_CONFIDENCE_LEVEL_UNSPECIFIED -} - -func (m *KnowledgeAnswers_Answer) GetMatchConfidence() float32 { - if m != nil { - return m.MatchConfidence - } - return 0 -} - -// The top-level message sent by the client to the -// [StreamingDetectIntent][] method. -// -// Multiple request messages should be sent in order: -// -// 1. The first message must contain [StreamingDetectIntentRequest.session][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.session], -// [StreamingDetectIntentRequest.query_input] plus optionally -// [StreamingDetectIntentRequest.query_params]. If the client wants to -// receive an audio response, it should also contain -// [StreamingDetectIntentRequest.output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]. The message -// must not contain [StreamingDetectIntentRequest.input_audio][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.input_audio]. -// 2. If [StreamingDetectIntentRequest.query_input][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_input] was set to -// [StreamingDetectIntentRequest.query_input.audio_config][], all subsequent -// messages must contain [StreamingDetectIntentRequest.input_audio] to -// continue with Speech recognition. -// If you decide to rather detect an intent from text input after you -// already started Speech recognition, please send a message with -// [StreamingDetectIntentRequest.query_input.text][]. -// -// However, note that: -// -// * Dialogflow will bill you for the audio duration so far. -// * Dialogflow discards all Speech recognition results in favor of the -// input text. -// * Dialogflow will use the language code from the first message. -// -// After you sent all input, you must half-close or abort the request stream. -type StreamingDetectIntentRequest struct { - // Required. The name of the session the query is sent to. - // Format of the session name: - // `projects//agent/sessions/`, or - // `projects//agent/environments//users//sessions/`. If `Environment ID` is not specified, we assume - // default 'draft' environment. If `User ID` is not specified, we are using - // "-". It's up to the API caller to choose an appropriate `Session ID` and - // `User Id`. They can be a random number or some type of user and session - // identifiers (preferably hashed). The length of the `Session ID` and - // `User ID` must not exceed 36 characters. - Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` - // Optional. The parameters of this query. - QueryParams *QueryParameters `protobuf:"bytes,2,opt,name=query_params,json=queryParams,proto3" json:"query_params,omitempty"` - // Required. The input specification. It can be set to: - // - // 1. an audio config which instructs the speech recognizer how to process - // the speech audio, - // - // 2. a conversational query in the form of text, or - // - // 3. an event that specifies which intent to trigger. - QueryInput *QueryInput `protobuf:"bytes,3,opt,name=query_input,json=queryInput,proto3" json:"query_input,omitempty"` - // DEPRECATED. Please use [InputAudioConfig.single_utterance][google.cloud.dialogflow.v2beta1.InputAudioConfig.single_utterance] instead. - // Optional. If `false` (default), recognition does not cease until the - // client closes the stream. - // If `true`, the recognizer will detect a single spoken utterance in input - // audio. Recognition ceases when it detects the audio's voice has - // stopped or paused. In this case, once a detected intent is received, the - // client should close the stream and start a new request with a new stream as - // needed. - // This setting is ignored when `query_input` is a piece of text or an event. - SingleUtterance bool `protobuf:"varint,4,opt,name=single_utterance,json=singleUtterance,proto3" json:"single_utterance,omitempty"` - // Optional. Instructs the speech synthesizer how to generate the output - // audio. If this field is not set and agent-level speech synthesizer is not - // configured, no output audio is generated. - OutputAudioConfig *OutputAudioConfig `protobuf:"bytes,5,opt,name=output_audio_config,json=outputAudioConfig,proto3" json:"output_audio_config,omitempty"` - // Optional. The input audio content to be recognized. Must be sent if - // `query_input` was set to a streaming input audio config. The complete audio - // over all streaming messages must not exceed 1 minute. - InputAudio []byte `protobuf:"bytes,6,opt,name=input_audio,json=inputAudio,proto3" json:"input_audio,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StreamingDetectIntentRequest) Reset() { *m = StreamingDetectIntentRequest{} } -func (m *StreamingDetectIntentRequest) String() string { return proto.CompactTextString(m) } -func (*StreamingDetectIntentRequest) ProtoMessage() {} -func (*StreamingDetectIntentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_40a53f854d709740, []int{6} -} - -func (m *StreamingDetectIntentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingDetectIntentRequest.Unmarshal(m, b) -} -func (m *StreamingDetectIntentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingDetectIntentRequest.Marshal(b, m, deterministic) -} -func (m *StreamingDetectIntentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingDetectIntentRequest.Merge(m, src) -} -func (m *StreamingDetectIntentRequest) XXX_Size() int { - return xxx_messageInfo_StreamingDetectIntentRequest.Size(m) -} -func (m *StreamingDetectIntentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingDetectIntentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingDetectIntentRequest proto.InternalMessageInfo - -func (m *StreamingDetectIntentRequest) GetSession() string { - if m != nil { - return m.Session - } - return "" -} - -func (m *StreamingDetectIntentRequest) GetQueryParams() *QueryParameters { - if m != nil { - return m.QueryParams - } - return nil -} - -func (m *StreamingDetectIntentRequest) GetQueryInput() *QueryInput { - if m != nil { - return m.QueryInput - } - return nil -} - -func (m *StreamingDetectIntentRequest) GetSingleUtterance() bool { - if m != nil { - return m.SingleUtterance - } - return false -} - -func (m *StreamingDetectIntentRequest) GetOutputAudioConfig() *OutputAudioConfig { - if m != nil { - return m.OutputAudioConfig - } - return nil -} - -func (m *StreamingDetectIntentRequest) GetInputAudio() []byte { - if m != nil { - return m.InputAudio - } - return nil -} - -// The top-level message returned from the -// `StreamingDetectIntent` method. -// -// Multiple response messages can be returned in order: -// -// 1. If the input was set to streaming audio, the first one or more messages -// contain `recognition_result`. Each `recognition_result` represents a more -// complete transcript of what the user said. The last `recognition_result` -// has `is_final` set to `true`. -// -// 2. The next message contains `response_id`, `query_result`, -// `alternative_query_results` and optionally `webhook_status` if a WebHook -// was called. -// -// 3. If `output_audio_config` was specified in the request or agent-level -// speech synthesizer is configured, all subsequent messages contain -// `output_audio` and `output_audio_config`. -type StreamingDetectIntentResponse struct { - // The unique identifier of the response. It can be used to - // locate a response in the training example set or for reporting issues. - ResponseId string `protobuf:"bytes,1,opt,name=response_id,json=responseId,proto3" json:"response_id,omitempty"` - // The result of speech recognition. - RecognitionResult *StreamingRecognitionResult `protobuf:"bytes,2,opt,name=recognition_result,json=recognitionResult,proto3" json:"recognition_result,omitempty"` - // The selected results of the conversational query or event processing. - // 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 - // `QueryResult.intent_detection_confidence`. If Knowledge Connectors are - // 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"` - // The audio data bytes encoded as specified in the request. - // Note: The output audio is generated based on the values of default platform - // text responses found in the `query_result.fulfillment_messages` field. If - // multiple default text responses exist, they will be concatenated when - // generating audio. If no default platform text responses exist, the - // generated audio content will be empty. - OutputAudio []byte `protobuf:"bytes,5,opt,name=output_audio,json=outputAudio,proto3" json:"output_audio,omitempty"` - // The config used by the speech synthesizer to generate the output audio. - OutputAudioConfig *OutputAudioConfig `protobuf:"bytes,6,opt,name=output_audio_config,json=outputAudioConfig,proto3" json:"output_audio_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StreamingDetectIntentResponse) Reset() { *m = StreamingDetectIntentResponse{} } -func (m *StreamingDetectIntentResponse) String() string { return proto.CompactTextString(m) } -func (*StreamingDetectIntentResponse) ProtoMessage() {} -func (*StreamingDetectIntentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_40a53f854d709740, []int{7} -} - -func (m *StreamingDetectIntentResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingDetectIntentResponse.Unmarshal(m, b) -} -func (m *StreamingDetectIntentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingDetectIntentResponse.Marshal(b, m, deterministic) -} -func (m *StreamingDetectIntentResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingDetectIntentResponse.Merge(m, src) -} -func (m *StreamingDetectIntentResponse) XXX_Size() int { - return xxx_messageInfo_StreamingDetectIntentResponse.Size(m) -} -func (m *StreamingDetectIntentResponse) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingDetectIntentResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingDetectIntentResponse proto.InternalMessageInfo - -func (m *StreamingDetectIntentResponse) GetResponseId() string { - if m != nil { - return m.ResponseId - } - return "" -} - -func (m *StreamingDetectIntentResponse) GetRecognitionResult() *StreamingRecognitionResult { - if m != nil { - return m.RecognitionResult - } - return nil -} - -func (m *StreamingDetectIntentResponse) GetQueryResult() *QueryResult { - if m != nil { - return m.QueryResult - } - return nil -} - -func (m *StreamingDetectIntentResponse) GetAlternativeQueryResults() []*QueryResult { - if m != nil { - return m.AlternativeQueryResults - } - return nil -} - -func (m *StreamingDetectIntentResponse) GetWebhookStatus() *status.Status { - if m != nil { - return m.WebhookStatus - } - return nil -} - -func (m *StreamingDetectIntentResponse) GetOutputAudio() []byte { - if m != nil { - return m.OutputAudio - } - return nil -} - -func (m *StreamingDetectIntentResponse) GetOutputAudioConfig() *OutputAudioConfig { - if m != nil { - return m.OutputAudioConfig - } - return nil -} - -// Contains a speech recognition result corresponding to a portion of the audio -// that is currently being processed or an indication that this is the end -// of the single requested utterance. -// -// Example: -// -// 1. transcript: "tube" -// -// 2. transcript: "to be a" -// -// 3. transcript: "to be" -// -// 4. transcript: "to be or not to be" -// is_final: true -// -// 5. transcript: " that's" -// -// 6. transcript: " that is" -// -// 7. message_type: `END_OF_SINGLE_UTTERANCE` -// -// 8. transcript: " that is the question" -// is_final: true -// -// Only two of the responses contain final results (#4 and #8 indicated by -// `is_final: true`). Concatenating these generates the full transcript: "to be -// or not to be that is the question". -// -// In each response we populate: -// -// * for `TRANSCRIPT`: `transcript` and possibly `is_final`. -// -// * for `END_OF_SINGLE_UTTERANCE`: only `message_type`. -type StreamingRecognitionResult struct { - // Type of the result message. - MessageType StreamingRecognitionResult_MessageType `protobuf:"varint,1,opt,name=message_type,json=messageType,proto3,enum=google.cloud.dialogflow.v2beta1.StreamingRecognitionResult_MessageType" json:"message_type,omitempty"` - // Transcript text representing the words that the user spoke. - // Populated if and only if `message_type` = `TRANSCRIPT`. - Transcript string `protobuf:"bytes,2,opt,name=transcript,proto3" json:"transcript,omitempty"` - // If `false`, the `StreamingRecognitionResult` represents an - // interim result that may change. If `true`, the recognizer will not return - // any further hypotheses about this piece of the audio. May only be populated - // for `message_type` = `TRANSCRIPT`. - IsFinal bool `protobuf:"varint,3,opt,name=is_final,json=isFinal,proto3" json:"is_final,omitempty"` - // The Speech confidence between 0.0 and 1.0 for the current portion of audio. - // A higher number indicates an estimated greater likelihood that the - // recognized words are correct. The default of 0.0 is a sentinel value - // indicating that confidence was not set. - // - // This field is typically only provided if `is_final` is true and you should - // not rely on it being accurate or even set. - Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"` - // An estimate of the likelihood that the speech recognizer will - // not change its guess about this interim recognition result: - // * If the value is unspecified or 0.0, Dialogflow didn't compute the - // stability. In particular, Dialogflow will only provide stability for - // `TRANSCRIPT` results with `is_final = false`. - // * Otherwise, the value is in (0.0, 1.0] where 0.0 means completely - // unstable and 1.0 means completely stable. - Stability float32 `protobuf:"fixed32,6,opt,name=stability,proto3" json:"stability,omitempty"` - // Word-specific information for the words recognized by Speech in - // [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and - // [InputAudioConfig.enable_word_info] is set. - SpeechWordInfo []*SpeechWordInfo `protobuf:"bytes,7,rep,name=speech_word_info,json=speechWordInfo,proto3" json:"speech_word_info,omitempty"` - // Time offset of the end of this Speech recognition result relative to the - // beginning of the audio. Only populated for `message_type` = `TRANSCRIPT`. - SpeechEndOffset *duration.Duration `protobuf:"bytes,8,opt,name=speech_end_offset,json=speechEndOffset,proto3" json:"speech_end_offset,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StreamingRecognitionResult) Reset() { *m = StreamingRecognitionResult{} } -func (m *StreamingRecognitionResult) String() string { return proto.CompactTextString(m) } -func (*StreamingRecognitionResult) ProtoMessage() {} -func (*StreamingRecognitionResult) Descriptor() ([]byte, []int) { - return fileDescriptor_40a53f854d709740, []int{8} -} - -func (m *StreamingRecognitionResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingRecognitionResult.Unmarshal(m, b) -} -func (m *StreamingRecognitionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingRecognitionResult.Marshal(b, m, deterministic) -} -func (m *StreamingRecognitionResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingRecognitionResult.Merge(m, src) -} -func (m *StreamingRecognitionResult) XXX_Size() int { - return xxx_messageInfo_StreamingRecognitionResult.Size(m) -} -func (m *StreamingRecognitionResult) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingRecognitionResult.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingRecognitionResult proto.InternalMessageInfo - -func (m *StreamingRecognitionResult) GetMessageType() StreamingRecognitionResult_MessageType { - if m != nil { - return m.MessageType - } - return StreamingRecognitionResult_MESSAGE_TYPE_UNSPECIFIED -} - -func (m *StreamingRecognitionResult) GetTranscript() string { - if m != nil { - return m.Transcript - } - return "" -} - -func (m *StreamingRecognitionResult) GetIsFinal() bool { - if m != nil { - return m.IsFinal - } - return false -} - -func (m *StreamingRecognitionResult) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -func (m *StreamingRecognitionResult) GetStability() float32 { - if m != nil { - return m.Stability - } - return 0 -} - -func (m *StreamingRecognitionResult) GetSpeechWordInfo() []*SpeechWordInfo { - if m != nil { - return m.SpeechWordInfo - } - return nil -} - -func (m *StreamingRecognitionResult) GetSpeechEndOffset() *duration.Duration { - if m != nil { - return m.SpeechEndOffset - } - return nil -} - -// Represents the natural language text to be processed. -type TextInput struct { - // Required. The UTF-8 encoded natural language text to be processed. - // Text length must not exceed 256 characters. - Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` - // Required. The language of this conversational query. See [Language - // Support](https://cloud.google.com/dialogflow/docs/reference/language) - // for a list of the currently supported language codes. Note that queries in - // the same session do not necessarily need to specify the same language. - 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 *TextInput) Reset() { *m = TextInput{} } -func (m *TextInput) String() string { return proto.CompactTextString(m) } -func (*TextInput) ProtoMessage() {} -func (*TextInput) Descriptor() ([]byte, []int) { - return fileDescriptor_40a53f854d709740, []int{9} -} - -func (m *TextInput) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextInput.Unmarshal(m, b) -} -func (m *TextInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextInput.Marshal(b, m, deterministic) -} -func (m *TextInput) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextInput.Merge(m, src) -} -func (m *TextInput) XXX_Size() int { - return xxx_messageInfo_TextInput.Size(m) -} -func (m *TextInput) XXX_DiscardUnknown() { - xxx_messageInfo_TextInput.DiscardUnknown(m) -} - -var xxx_messageInfo_TextInput proto.InternalMessageInfo - -func (m *TextInput) GetText() string { - if m != nil { - return m.Text - } - return "" -} - -func (m *TextInput) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -// Events allow for matching intents by event name instead of the natural -// language input. For instance, input `` can trigger a personalized welcome response. -// The parameter `name` may be used by the agent in the response: -// `"Hello #welcome_event.name! What can I do for you today?"`. -type EventInput struct { - // Required. The unique identifier of the event. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Optional. The collection of parameters associated with the event. - Parameters *_struct.Struct `protobuf:"bytes,2,opt,name=parameters,proto3" json:"parameters,omitempty"` - // Required. The language of this query. See [Language - // Support](https://cloud.google.com/dialogflow/docs/reference/language) - // for a list of the currently supported language codes. Note that queries in - // the same session do not necessarily need to specify the same language. - 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 *EventInput) Reset() { *m = EventInput{} } -func (m *EventInput) String() string { return proto.CompactTextString(m) } -func (*EventInput) ProtoMessage() {} -func (*EventInput) Descriptor() ([]byte, []int) { - return fileDescriptor_40a53f854d709740, []int{10} -} - -func (m *EventInput) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EventInput.Unmarshal(m, b) -} -func (m *EventInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EventInput.Marshal(b, m, deterministic) -} -func (m *EventInput) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventInput.Merge(m, src) -} -func (m *EventInput) XXX_Size() int { - return xxx_messageInfo_EventInput.Size(m) -} -func (m *EventInput) XXX_DiscardUnknown() { - xxx_messageInfo_EventInput.DiscardUnknown(m) -} - -var xxx_messageInfo_EventInput proto.InternalMessageInfo - -func (m *EventInput) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *EventInput) GetParameters() *_struct.Struct { - if m != nil { - return m.Parameters - } - return nil -} - -func (m *EventInput) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -// Configures the types of sentiment analysis to perform. -type SentimentAnalysisRequestConfig struct { - // Optional. Instructs the service to perform sentiment analysis on - // `query_text`. If not provided, sentiment analysis is not performed on - // `query_text`. - AnalyzeQueryTextSentiment bool `protobuf:"varint,1,opt,name=analyze_query_text_sentiment,json=analyzeQueryTextSentiment,proto3" json:"analyze_query_text_sentiment,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SentimentAnalysisRequestConfig) Reset() { *m = SentimentAnalysisRequestConfig{} } -func (m *SentimentAnalysisRequestConfig) String() string { return proto.CompactTextString(m) } -func (*SentimentAnalysisRequestConfig) ProtoMessage() {} -func (*SentimentAnalysisRequestConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_40a53f854d709740, []int{11} -} - -func (m *SentimentAnalysisRequestConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SentimentAnalysisRequestConfig.Unmarshal(m, b) -} -func (m *SentimentAnalysisRequestConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SentimentAnalysisRequestConfig.Marshal(b, m, deterministic) -} -func (m *SentimentAnalysisRequestConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_SentimentAnalysisRequestConfig.Merge(m, src) -} -func (m *SentimentAnalysisRequestConfig) XXX_Size() int { - return xxx_messageInfo_SentimentAnalysisRequestConfig.Size(m) -} -func (m *SentimentAnalysisRequestConfig) XXX_DiscardUnknown() { - xxx_messageInfo_SentimentAnalysisRequestConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_SentimentAnalysisRequestConfig proto.InternalMessageInfo - -func (m *SentimentAnalysisRequestConfig) GetAnalyzeQueryTextSentiment() bool { - if m != nil { - return m.AnalyzeQueryTextSentiment - } - return false -} - -// The result of sentiment analysis as configured by -// `sentiment_analysis_request_config`. -type SentimentAnalysisResult struct { - // The sentiment analysis result for `query_text`. - QueryTextSentiment *Sentiment `protobuf:"bytes,1,opt,name=query_text_sentiment,json=queryTextSentiment,proto3" json:"query_text_sentiment,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_40a53f854d709740, []int{12} -} - -func (m *SentimentAnalysisResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SentimentAnalysisResult.Unmarshal(m, b) -} -func (m *SentimentAnalysisResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SentimentAnalysisResult.Marshal(b, m, deterministic) -} -func (m *SentimentAnalysisResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_SentimentAnalysisResult.Merge(m, src) -} -func (m *SentimentAnalysisResult) XXX_Size() int { - return xxx_messageInfo_SentimentAnalysisResult.Size(m) -} -func (m *SentimentAnalysisResult) XXX_DiscardUnknown() { - xxx_messageInfo_SentimentAnalysisResult.DiscardUnknown(m) -} - -var xxx_messageInfo_SentimentAnalysisResult proto.InternalMessageInfo - -func (m *SentimentAnalysisResult) GetQueryTextSentiment() *Sentiment { - if m != nil { - return m.QueryTextSentiment - } - return nil -} - -// The sentiment, such as positive/negative feeling or association, for a unit -// of analysis, such as the query text. -type Sentiment struct { - // Sentiment score between -1.0 (negative sentiment) and 1.0 (positive - // sentiment). - Score float32 `protobuf:"fixed32,1,opt,name=score,proto3" json:"score,omitempty"` - // A non-negative number in the [0, +inf) range, which represents the absolute - // magnitude of sentiment, regardless of score (positive or negative). - Magnitude float32 `protobuf:"fixed32,2,opt,name=magnitude,proto3" json:"magnitude,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_40a53f854d709740, []int{13} -} - -func (m *Sentiment) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Sentiment.Unmarshal(m, b) -} -func (m *Sentiment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Sentiment.Marshal(b, m, deterministic) -} -func (m *Sentiment) XXX_Merge(src proto.Message) { - xxx_messageInfo_Sentiment.Merge(m, src) -} -func (m *Sentiment) XXX_Size() int { - return xxx_messageInfo_Sentiment.Size(m) -} -func (m *Sentiment) XXX_DiscardUnknown() { - xxx_messageInfo_Sentiment.DiscardUnknown(m) -} - -var xxx_messageInfo_Sentiment proto.InternalMessageInfo - -func (m *Sentiment) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -func (m *Sentiment) GetMagnitude() float32 { - if m != nil { - return m.Magnitude - } - return 0 -} - -func init() { - proto.RegisterEnum("google.cloud.dialogflow.v2beta1.KnowledgeAnswers_Answer_MatchConfidenceLevel", KnowledgeAnswers_Answer_MatchConfidenceLevel_name, KnowledgeAnswers_Answer_MatchConfidenceLevel_value) - proto.RegisterEnum("google.cloud.dialogflow.v2beta1.StreamingRecognitionResult_MessageType", StreamingRecognitionResult_MessageType_name, StreamingRecognitionResult_MessageType_value) - proto.RegisterType((*DetectIntentRequest)(nil), "google.cloud.dialogflow.v2beta1.DetectIntentRequest") - proto.RegisterType((*DetectIntentResponse)(nil), "google.cloud.dialogflow.v2beta1.DetectIntentResponse") - proto.RegisterType((*QueryParameters)(nil), "google.cloud.dialogflow.v2beta1.QueryParameters") - proto.RegisterType((*QueryInput)(nil), "google.cloud.dialogflow.v2beta1.QueryInput") - proto.RegisterType((*QueryResult)(nil), "google.cloud.dialogflow.v2beta1.QueryResult") - proto.RegisterType((*KnowledgeAnswers)(nil), "google.cloud.dialogflow.v2beta1.KnowledgeAnswers") - proto.RegisterType((*KnowledgeAnswers_Answer)(nil), "google.cloud.dialogflow.v2beta1.KnowledgeAnswers.Answer") - proto.RegisterType((*StreamingDetectIntentRequest)(nil), "google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest") - proto.RegisterType((*StreamingDetectIntentResponse)(nil), "google.cloud.dialogflow.v2beta1.StreamingDetectIntentResponse") - proto.RegisterType((*StreamingRecognitionResult)(nil), "google.cloud.dialogflow.v2beta1.StreamingRecognitionResult") - proto.RegisterType((*TextInput)(nil), "google.cloud.dialogflow.v2beta1.TextInput") - proto.RegisterType((*EventInput)(nil), "google.cloud.dialogflow.v2beta1.EventInput") - proto.RegisterType((*SentimentAnalysisRequestConfig)(nil), "google.cloud.dialogflow.v2beta1.SentimentAnalysisRequestConfig") - proto.RegisterType((*SentimentAnalysisResult)(nil), "google.cloud.dialogflow.v2beta1.SentimentAnalysisResult") - proto.RegisterType((*Sentiment)(nil), "google.cloud.dialogflow.v2beta1.Sentiment") -} - -func init() { - proto.RegisterFile("google/cloud/dialogflow/v2beta1/session.proto", fileDescriptor_40a53f854d709740) -} - -var fileDescriptor_40a53f854d709740 = []byte{ - // 2087 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x59, 0xcd, 0x73, 0x1b, 0x49, - 0x15, 0x8f, 0x24, 0x7f, 0xc8, 0x4f, 0x8a, 0xad, 0x74, 0xcc, 0x46, 0x76, 0x9c, 0x2f, 0x05, 0x76, - 0xbd, 0xd9, 0xac, 0x94, 0x98, 0xaf, 0xdd, 0xa4, 0xb2, 0x89, 0x2c, 0x29, 0x8e, 0x0a, 0xf9, 0x23, - 0x2d, 0x27, 0x21, 0x29, 0xd8, 0xa9, 0xf6, 0x4c, 0x6b, 0x3c, 0xc9, 0x68, 0x5a, 0x9e, 0xee, 0xb1, - 0xe3, 0xa5, 0xe0, 0x00, 0x27, 0xe0, 0x08, 0x47, 0x4e, 0xdc, 0x58, 0xae, 0xfc, 0x15, 0x14, 0x17, - 0xd8, 0x7f, 0x81, 0x3f, 0x81, 0x2a, 0xa8, 0xad, 0xda, 0x82, 0x9a, 0xee, 0x1e, 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x1f, 0xfe, 0x3d, 0x09, 0xb8, 0x51, 0x58, 0x3b, 0x11, - 0x38, 0xfa, 0xc6, 0x33, 0xde, 0x36, 0xcd, 0xc2, 0xa7, 0xa7, 0x44, 0x3b, 0xfd, 0x96, 0xd1, 0xef, - 0x12, 0xf0, 0x8d, 0x81, 0xef, 0x3d, 0xba, 0x37, 0x3e, 0x51, 0x0f, 0x8a, 0xf2, 0x27, 0x6f, 0x6a, - 0xae, 0xc3, 0x7d, 0x66, 0x39, 0x71, 0x2b, 0xb1, 0xf8, 0xfa, 0xcf, 0xe5, 0x85, 0xa1, 0x65, 0xf9, - 0xdf, 0xca, 0xcf, 0x77, 0x85, 0xe8, 0xf0, 0x3b, 0xa5, 0xd2, 0xc1, 0xc1, 0xb1, 0x9a, 0x9d, 0x04, - 0x62, 0x57, 0x7d, 0x83, 0xff, 0xb0, 0xe3, 0x12, 0xd1, 0x62, 0x7e, 0xfb, 0xe6, 0x28, 0xf5, 0xde, - 0x52, 0xab, 0x9f, 0x27, 0xe0, 0xba, 0xc9, 0xda, 0xa3, 0x4e, 0xb1, 0x9a, 0xd5, 0xd7, 0x63, 0x2b, - 0xe4, 0xa1, 0xad, 0xc4, 0x8b, 0xba, 0x36, 0xb0, 0x59, 0xc8, 0x32, 0x45, 0xe6, 0xdb, 0x25, 0x9b, - 0x7a, 0x92, 0xa5, 0x4a, 0xbd, 0x25, 0x87, 0xfe, 0x73, 0xe0, 0x6e, 0x4f, 0xf4, 0xaf, 0x44, 0xe2, - 0xf7, 0xc9, 0x64, 0xf5, 0xe1, 0xe7, 0xc9, 0x2b, 0x6b, 0x0a, 0xb3, 0x22, 0x37, 0x51, 0xed, 0x6d, - 0xe2, 0xa9, 0x32, 0xda, 0x99, 0x92, 0xf8, 0xdf, 0xfe, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x56, - 0x3b, 0xcc, 0x6d, 0xe3, 0x19, 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 - -// SessionsClient is the client API for Sessions service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type SessionsClient interface { - // Processes a natural language query and returns structured, actionable data - // as a result. This method is not idempotent, because it may cause contexts - // and session entity types to be updated, which in turn might affect - // results of future queries. - DetectIntent(ctx context.Context, in *DetectIntentRequest, opts ...grpc.CallOption) (*DetectIntentResponse, error) - // Processes a natural language query in audio format in a streaming fashion - // and returns structured, actionable data as a result. This method is only - // available via the gRPC API (not REST). - StreamingDetectIntent(ctx context.Context, opts ...grpc.CallOption) (Sessions_StreamingDetectIntentClient, error) -} - -type sessionsClient struct { - cc *grpc.ClientConn -} - -func NewSessionsClient(cc *grpc.ClientConn) SessionsClient { - return &sessionsClient{cc} -} - -func (c *sessionsClient) DetectIntent(ctx context.Context, in *DetectIntentRequest, opts ...grpc.CallOption) (*DetectIntentResponse, error) { - out := new(DetectIntentResponse) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Sessions/DetectIntent", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *sessionsClient) StreamingDetectIntent(ctx context.Context, opts ...grpc.CallOption) (Sessions_StreamingDetectIntentClient, error) { - stream, err := c.cc.NewStream(ctx, &_Sessions_serviceDesc.Streams[0], "/google.cloud.dialogflow.v2beta1.Sessions/StreamingDetectIntent", opts...) - if err != nil { - return nil, err - } - x := &sessionsStreamingDetectIntentClient{stream} - return x, nil -} - -type Sessions_StreamingDetectIntentClient interface { - Send(*StreamingDetectIntentRequest) error - Recv() (*StreamingDetectIntentResponse, error) - grpc.ClientStream -} - -type sessionsStreamingDetectIntentClient struct { - grpc.ClientStream -} - -func (x *sessionsStreamingDetectIntentClient) Send(m *StreamingDetectIntentRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *sessionsStreamingDetectIntentClient) Recv() (*StreamingDetectIntentResponse, error) { - m := new(StreamingDetectIntentResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// SessionsServer is the server API for Sessions service. -type SessionsServer interface { - // Processes a natural language query and returns structured, actionable data - // as a result. This method is not idempotent, because it may cause contexts - // and session entity types to be updated, which in turn might affect - // results of future queries. - DetectIntent(context.Context, *DetectIntentRequest) (*DetectIntentResponse, error) - // Processes a natural language query in audio format in a streaming fashion - // and returns structured, actionable data as a result. This method is only - // available via the gRPC API (not REST). - StreamingDetectIntent(Sessions_StreamingDetectIntentServer) error -} - -// UnimplementedSessionsServer can be embedded to have forward compatible implementations. -type UnimplementedSessionsServer struct { -} - -func (*UnimplementedSessionsServer) DetectIntent(ctx context.Context, req *DetectIntentRequest) (*DetectIntentResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method DetectIntent not implemented") -} -func (*UnimplementedSessionsServer) StreamingDetectIntent(srv Sessions_StreamingDetectIntentServer) error { - return status1.Errorf(codes.Unimplemented, "method StreamingDetectIntent not implemented") -} - -func RegisterSessionsServer(s *grpc.Server, srv SessionsServer) { - s.RegisterService(&_Sessions_serviceDesc, srv) -} - -func _Sessions_DetectIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DetectIntentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SessionsServer).DetectIntent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.Sessions/DetectIntent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SessionsServer).DetectIntent(ctx, req.(*DetectIntentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Sessions_StreamingDetectIntent_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(SessionsServer).StreamingDetectIntent(&sessionsStreamingDetectIntentServer{stream}) -} - -type Sessions_StreamingDetectIntentServer interface { - Send(*StreamingDetectIntentResponse) error - Recv() (*StreamingDetectIntentRequest, error) - grpc.ServerStream -} - -type sessionsStreamingDetectIntentServer struct { - grpc.ServerStream -} - -func (x *sessionsStreamingDetectIntentServer) Send(m *StreamingDetectIntentResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *sessionsStreamingDetectIntentServer) Recv() (*StreamingDetectIntentRequest, error) { - m := new(StreamingDetectIntentRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -var _Sessions_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.dialogflow.v2beta1.Sessions", - HandlerType: (*SessionsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "DetectIntent", - Handler: _Sessions_DetectIntent_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "StreamingDetectIntent", - Handler: _Sessions_StreamingDetectIntent_Handler, - ServerStreams: true, - ClientStreams: true, - }, - }, - Metadata: "google/cloud/dialogflow/v2beta1/session.proto", -} 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 deleted file mode 100644 index 738027d3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/session_entity_type.pb.go +++ /dev/null @@ -1,828 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/dialogflow/v2beta1/session_entity_type.proto - -package dialogflow - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The types of modifications for a session entity type. -type SessionEntityType_EntityOverrideMode int32 - -const ( - // Not specified. This value should be never used. - SessionEntityType_ENTITY_OVERRIDE_MODE_UNSPECIFIED SessionEntityType_EntityOverrideMode = 0 - // The collection of session entities overrides the collection of entities - // in the corresponding developer entity type. - SessionEntityType_ENTITY_OVERRIDE_MODE_OVERRIDE SessionEntityType_EntityOverrideMode = 1 - // The collection of session entities extends the collection of entities in - // the corresponding developer entity type. - // - // Note: Even in this override mode calls to `ListSessionEntityTypes`, - // `GetSessionEntityType`, `CreateSessionEntityType` and - // `UpdateSessionEntityType` only return the additional entities added in - // this session entity type. If you want to get the supplemented list, - // please call [EntityTypes.GetEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.GetEntityType] on the developer entity type - // and merge. - SessionEntityType_ENTITY_OVERRIDE_MODE_SUPPLEMENT SessionEntityType_EntityOverrideMode = 2 -) - -var SessionEntityType_EntityOverrideMode_name = map[int32]string{ - 0: "ENTITY_OVERRIDE_MODE_UNSPECIFIED", - 1: "ENTITY_OVERRIDE_MODE_OVERRIDE", - 2: "ENTITY_OVERRIDE_MODE_SUPPLEMENT", -} - -var SessionEntityType_EntityOverrideMode_value = map[string]int32{ - "ENTITY_OVERRIDE_MODE_UNSPECIFIED": 0, - "ENTITY_OVERRIDE_MODE_OVERRIDE": 1, - "ENTITY_OVERRIDE_MODE_SUPPLEMENT": 2, -} - -func (x SessionEntityType_EntityOverrideMode) String() string { - return proto.EnumName(SessionEntityType_EntityOverrideMode_name, int32(x)) -} - -func (SessionEntityType_EntityOverrideMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ea3dc39aca82329f, []int{0, 0} -} - -// Represents a session entity type. -// -// Extends or replaces a developer entity type at the user session level (we -// refer to the entity types defined at the agent level as "developer entity -// types"). -// -// Note: session entity types apply to all queries, regardless of the language. -type SessionEntityType struct { - // Required. The unique identifier of this session entity type. Format: - // `projects//agent/sessions//entityTypes/`, or - // `projects//agent/environments//users//sessions//entityTypes/`. - // If `Environment ID` is not specified, we assume default 'draft' - // environment. If `User ID` is not specified, we assume default '-' user. - // - // `` must be the display name of an existing entity - // type in the same agent that will be overridden or supplemented. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. Indicates whether the additional data should override or - // supplement the developer entity type definition. - EntityOverrideMode SessionEntityType_EntityOverrideMode `protobuf:"varint,2,opt,name=entity_override_mode,json=entityOverrideMode,proto3,enum=google.cloud.dialogflow.v2beta1.SessionEntityType_EntityOverrideMode" json:"entity_override_mode,omitempty"` - // Required. The collection of entities associated with this session entity - // type. - Entities []*EntityType_Entity `protobuf:"bytes,3,rep,name=entities,proto3" json:"entities,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ea3dc39aca82329f, []int{0} -} - -func (m *SessionEntityType) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SessionEntityType.Unmarshal(m, b) -} -func (m *SessionEntityType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SessionEntityType.Marshal(b, m, deterministic) -} -func (m *SessionEntityType) XXX_Merge(src proto.Message) { - xxx_messageInfo_SessionEntityType.Merge(m, src) -} -func (m *SessionEntityType) XXX_Size() int { - return xxx_messageInfo_SessionEntityType.Size(m) -} -func (m *SessionEntityType) XXX_DiscardUnknown() { - xxx_messageInfo_SessionEntityType.DiscardUnknown(m) -} - -var xxx_messageInfo_SessionEntityType proto.InternalMessageInfo - -func (m *SessionEntityType) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *SessionEntityType) GetEntityOverrideMode() SessionEntityType_EntityOverrideMode { - if m != nil { - return m.EntityOverrideMode - } - return SessionEntityType_ENTITY_OVERRIDE_MODE_UNSPECIFIED -} - -func (m *SessionEntityType) GetEntities() []*EntityType_Entity { - if m != nil { - return m.Entities - } - return nil -} - -// The request message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.v2beta1.SessionEntityTypes.ListSessionEntityTypes]. -type ListSessionEntityTypesRequest struct { - // Required. The session to list all session entity types from. - // Format: `projects//agent/sessions/` or - // `projects//agent/environments//users// - // sessions/`. - // If `Environment ID` is not specified, we assume default 'draft' - // environment. If `User ID` is not specified, we assume default '-' user. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. The maximum number of items to return in a single page. By - // default 100 and at most 1000. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional. The next_page_token value returned from a previous list request. - 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 *ListSessionEntityTypesRequest) Reset() { *m = ListSessionEntityTypesRequest{} } -func (m *ListSessionEntityTypesRequest) String() string { return proto.CompactTextString(m) } -func (*ListSessionEntityTypesRequest) ProtoMessage() {} -func (*ListSessionEntityTypesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ea3dc39aca82329f, []int{1} -} - -func (m *ListSessionEntityTypesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListSessionEntityTypesRequest.Unmarshal(m, b) -} -func (m *ListSessionEntityTypesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListSessionEntityTypesRequest.Marshal(b, m, deterministic) -} -func (m *ListSessionEntityTypesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSessionEntityTypesRequest.Merge(m, src) -} -func (m *ListSessionEntityTypesRequest) XXX_Size() int { - return xxx_messageInfo_ListSessionEntityTypesRequest.Size(m) -} -func (m *ListSessionEntityTypesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListSessionEntityTypesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListSessionEntityTypesRequest proto.InternalMessageInfo - -func (m *ListSessionEntityTypesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListSessionEntityTypesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListSessionEntityTypesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// The response message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.v2beta1.SessionEntityTypes.ListSessionEntityTypes]. -type ListSessionEntityTypesResponse struct { - // The list of session entity types. There will be a maximum number of items - // returned based on the page_size field in the request. - SessionEntityTypes []*SessionEntityType `protobuf:"bytes,1,rep,name=session_entity_types,json=sessionEntityTypes,proto3" json:"session_entity_types,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 *ListSessionEntityTypesResponse) Reset() { *m = ListSessionEntityTypesResponse{} } -func (m *ListSessionEntityTypesResponse) String() string { return proto.CompactTextString(m) } -func (*ListSessionEntityTypesResponse) ProtoMessage() {} -func (*ListSessionEntityTypesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ea3dc39aca82329f, []int{2} -} - -func (m *ListSessionEntityTypesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListSessionEntityTypesResponse.Unmarshal(m, b) -} -func (m *ListSessionEntityTypesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListSessionEntityTypesResponse.Marshal(b, m, deterministic) -} -func (m *ListSessionEntityTypesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSessionEntityTypesResponse.Merge(m, src) -} -func (m *ListSessionEntityTypesResponse) XXX_Size() int { - return xxx_messageInfo_ListSessionEntityTypesResponse.Size(m) -} -func (m *ListSessionEntityTypesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListSessionEntityTypesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListSessionEntityTypesResponse proto.InternalMessageInfo - -func (m *ListSessionEntityTypesResponse) GetSessionEntityTypes() []*SessionEntityType { - if m != nil { - return m.SessionEntityTypes - } - return nil -} - -func (m *ListSessionEntityTypesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The request message for [SessionEntityTypes.GetSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.GetSessionEntityType]. -type GetSessionEntityTypeRequest struct { - // Required. The name of the session entity type. Format: - // `projects//agent/sessions//entityTypes/` or `projects//agent/environments//users//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' - // environment. If `User ID` is not specified, we assume default '-' user. - 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 *GetSessionEntityTypeRequest) Reset() { *m = GetSessionEntityTypeRequest{} } -func (m *GetSessionEntityTypeRequest) String() string { return proto.CompactTextString(m) } -func (*GetSessionEntityTypeRequest) ProtoMessage() {} -func (*GetSessionEntityTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ea3dc39aca82329f, []int{3} -} - -func (m *GetSessionEntityTypeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetSessionEntityTypeRequest.Unmarshal(m, b) -} -func (m *GetSessionEntityTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetSessionEntityTypeRequest.Marshal(b, m, deterministic) -} -func (m *GetSessionEntityTypeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetSessionEntityTypeRequest.Merge(m, src) -} -func (m *GetSessionEntityTypeRequest) XXX_Size() int { - return xxx_messageInfo_GetSessionEntityTypeRequest.Size(m) -} -func (m *GetSessionEntityTypeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetSessionEntityTypeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetSessionEntityTypeRequest proto.InternalMessageInfo - -func (m *GetSessionEntityTypeRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The request message for [SessionEntityTypes.CreateSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.CreateSessionEntityType]. -type CreateSessionEntityTypeRequest struct { - // Required. The session to create a session entity type for. - // Format: `projects//agent/sessions/` or - // `projects//agent/environments//users// - // sessions/`. If `Environment ID` is not specified, we assume - // default 'draft' environment. If `User ID` is not specified, we assume - // default '-' user. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The session entity type to create. - SessionEntityType *SessionEntityType `protobuf:"bytes,2,opt,name=session_entity_type,json=sessionEntityType,proto3" json:"session_entity_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateSessionEntityTypeRequest) Reset() { *m = CreateSessionEntityTypeRequest{} } -func (m *CreateSessionEntityTypeRequest) String() string { return proto.CompactTextString(m) } -func (*CreateSessionEntityTypeRequest) ProtoMessage() {} -func (*CreateSessionEntityTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ea3dc39aca82329f, []int{4} -} - -func (m *CreateSessionEntityTypeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateSessionEntityTypeRequest.Unmarshal(m, b) -} -func (m *CreateSessionEntityTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateSessionEntityTypeRequest.Marshal(b, m, deterministic) -} -func (m *CreateSessionEntityTypeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateSessionEntityTypeRequest.Merge(m, src) -} -func (m *CreateSessionEntityTypeRequest) XXX_Size() int { - return xxx_messageInfo_CreateSessionEntityTypeRequest.Size(m) -} -func (m *CreateSessionEntityTypeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateSessionEntityTypeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateSessionEntityTypeRequest proto.InternalMessageInfo - -func (m *CreateSessionEntityTypeRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateSessionEntityTypeRequest) GetSessionEntityType() *SessionEntityType { - if m != nil { - return m.SessionEntityType - } - return nil -} - -// The request message for [SessionEntityTypes.UpdateSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.UpdateSessionEntityType]. -type UpdateSessionEntityTypeRequest struct { - // Required. The entity type to update. Format: - // `projects//agent/sessions//entityTypes/` or `projects//agent/environments//users//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' - // environment. If `User ID` is not specified, we assume default '-' user. - SessionEntityType *SessionEntityType `protobuf:"bytes,1,opt,name=session_entity_type,json=sessionEntityType,proto3" json:"session_entity_type,omitempty"` - // Optional. The mask to control which fields get 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 *UpdateSessionEntityTypeRequest) Reset() { *m = UpdateSessionEntityTypeRequest{} } -func (m *UpdateSessionEntityTypeRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateSessionEntityTypeRequest) ProtoMessage() {} -func (*UpdateSessionEntityTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ea3dc39aca82329f, []int{5} -} - -func (m *UpdateSessionEntityTypeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateSessionEntityTypeRequest.Unmarshal(m, b) -} -func (m *UpdateSessionEntityTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateSessionEntityTypeRequest.Marshal(b, m, deterministic) -} -func (m *UpdateSessionEntityTypeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateSessionEntityTypeRequest.Merge(m, src) -} -func (m *UpdateSessionEntityTypeRequest) XXX_Size() int { - return xxx_messageInfo_UpdateSessionEntityTypeRequest.Size(m) -} -func (m *UpdateSessionEntityTypeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateSessionEntityTypeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateSessionEntityTypeRequest proto.InternalMessageInfo - -func (m *UpdateSessionEntityTypeRequest) GetSessionEntityType() *SessionEntityType { - if m != nil { - return m.SessionEntityType - } - return nil -} - -func (m *UpdateSessionEntityTypeRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// The request message for [SessionEntityTypes.DeleteSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.DeleteSessionEntityType]. -type DeleteSessionEntityTypeRequest struct { - // Required. The name of the entity type to delete. Format: - // `projects//agent/sessions//entityTypes/` or `projects//agent/environments//users//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' - // environment. If `User ID` is not specified, we assume default '-' user. - 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 *DeleteSessionEntityTypeRequest) Reset() { *m = DeleteSessionEntityTypeRequest{} } -func (m *DeleteSessionEntityTypeRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteSessionEntityTypeRequest) ProtoMessage() {} -func (*DeleteSessionEntityTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ea3dc39aca82329f, []int{6} -} - -func (m *DeleteSessionEntityTypeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteSessionEntityTypeRequest.Unmarshal(m, b) -} -func (m *DeleteSessionEntityTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteSessionEntityTypeRequest.Marshal(b, m, deterministic) -} -func (m *DeleteSessionEntityTypeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteSessionEntityTypeRequest.Merge(m, src) -} -func (m *DeleteSessionEntityTypeRequest) XXX_Size() int { - return xxx_messageInfo_DeleteSessionEntityTypeRequest.Size(m) -} -func (m *DeleteSessionEntityTypeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteSessionEntityTypeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteSessionEntityTypeRequest proto.InternalMessageInfo - -func (m *DeleteSessionEntityTypeRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func init() { - proto.RegisterEnum("google.cloud.dialogflow.v2beta1.SessionEntityType_EntityOverrideMode", SessionEntityType_EntityOverrideMode_name, SessionEntityType_EntityOverrideMode_value) - proto.RegisterType((*SessionEntityType)(nil), "google.cloud.dialogflow.v2beta1.SessionEntityType") - proto.RegisterType((*ListSessionEntityTypesRequest)(nil), "google.cloud.dialogflow.v2beta1.ListSessionEntityTypesRequest") - proto.RegisterType((*ListSessionEntityTypesResponse)(nil), "google.cloud.dialogflow.v2beta1.ListSessionEntityTypesResponse") - proto.RegisterType((*GetSessionEntityTypeRequest)(nil), "google.cloud.dialogflow.v2beta1.GetSessionEntityTypeRequest") - proto.RegisterType((*CreateSessionEntityTypeRequest)(nil), "google.cloud.dialogflow.v2beta1.CreateSessionEntityTypeRequest") - proto.RegisterType((*UpdateSessionEntityTypeRequest)(nil), "google.cloud.dialogflow.v2beta1.UpdateSessionEntityTypeRequest") - proto.RegisterType((*DeleteSessionEntityTypeRequest)(nil), "google.cloud.dialogflow.v2beta1.DeleteSessionEntityTypeRequest") -} - -func init() { - proto.RegisterFile("google/cloud/dialogflow/v2beta1/session_entity_type.proto", fileDescriptor_ea3dc39aca82329f) -} - -var fileDescriptor_ea3dc39aca82329f = []byte{ - // 1011 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0xbd, 0x6f, 0xdb, 0x46, - 0x14, 0x2f, 0x29, 0x37, 0x48, 0x2e, 0x68, 0xeb, 0x5c, 0x5d, 0x5b, 0x95, 0x6b, 0x5b, 0x65, 0x8a, - 0xc2, 0x10, 0x5a, 0x12, 0x56, 0xbb, 0x24, 0xe9, 0x07, 0x12, 0x8b, 0x36, 0x04, 0x44, 0xb6, 0x40, - 0xcb, 0x01, 0x6c, 0x04, 0x15, 0x68, 0xf1, 0x99, 0x61, 0x4d, 0xf1, 0x58, 0xde, 0xc9, 0x8e, 0x13, - 0x64, 0xc9, 0xd2, 0xa5, 0x40, 0x87, 0xac, 0x9d, 0x8a, 0x4e, 0x1d, 0x3a, 0x65, 0xe8, 0x56, 0x74, - 0xcd, 0xd8, 0x8e, 0x45, 0xb7, 0xfc, 0x0b, 0x01, 0x3a, 0x16, 0x3c, 0x52, 0x96, 0x2d, 0x1e, 0x49, - 0x4b, 0x91, 0x27, 0x92, 0x77, 0xf7, 0xde, 0xef, 0xf7, 0xbe, 0x8f, 0xe8, 0x86, 0x4d, 0x88, 0xed, - 0x82, 0xd6, 0x71, 0x49, 0xcf, 0xd2, 0x2c, 0xc7, 0x74, 0x89, 0xbd, 0xef, 0x92, 0x23, 0xed, 0xb0, - 0xba, 0x07, 0xcc, 0x5c, 0xd1, 0x28, 0x50, 0xea, 0x10, 0xaf, 0x0d, 0x1e, 0x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x80, 0xa9, 0x52, 0x99, 0xd4, 0x54, 0xa9, 0x5c, 0xe8, 0x54, 0x29, 0x3d, 0x7c, - 0x71, 0xfb, 0xfd, 0x53, 0xf1, 0x88, 0xdc, 0x6c, 0xfa, 0x0e, 0x55, 0x3b, 0xa4, 0xfb, 0xd7, 0xed, - 0x9d, 0x07, 0x8c, 0xf9, 0xf4, 0xa6, 0xa6, 0x1d, 0x1d, 0x0d, 0x6f, 0x6a, 0x66, 0x8f, 0x3d, 0x88, - 0x7e, 0xa2, 0x3f, 0xf5, 0x5d, 0x93, 0xed, 0x93, 0xa0, 0xfb, 0x49, 0xde, 0xf1, 0x01, 0xd4, 0x9d, - 0xe7, 0x12, 0xba, 0xde, 0x21, 0xdd, 0xbc, 0xd4, 0xb8, 0x33, 0x9b, 0xc8, 0x8a, 0x66, 0x98, 0x04, - 0x4d, 0x69, 0xb7, 0x1e, 0x8b, 0xda, 0xc4, 0x35, 0x3d, 0x5b, 0x25, 0x81, 0xad, 0xd9, 0xe0, 0xf1, - 0x14, 0xd1, 0x06, 0xe0, 0xa9, 0xff, 0xf9, 0xb7, 0x06, 0x4b, 0xff, 0x49, 0xd2, 0xcf, 0xb2, 0x5c, - 0x5b, 0xfb, 0x55, 0x5e, 0x5a, 0x8f, 0x74, 0xae, 0x72, 0x3a, 0xb5, 0x01, 0x9d, 0x7b, 0x91, 0xd0, - 0xde, 0x25, 0xae, 0xff, 0xb3, 0xff, 0x03, 0x00, 0x00, 0xff, 0xff, 0x55, 0x91, 0xf3, 0xd0, 0xc0, - 0x10, 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 - -// SessionEntityTypesClient is the client API for SessionEntityTypes service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type SessionEntityTypesClient interface { - // Returns the list of all session entity types in the specified session. - // - // This method doesn't work with Google Assistant integration. - // Contact Dialogflow support if you need to use session entities - // with Google Assistant integration. - ListSessionEntityTypes(ctx context.Context, in *ListSessionEntityTypesRequest, opts ...grpc.CallOption) (*ListSessionEntityTypesResponse, error) - // Retrieves the specified session entity type. - // - // This method doesn't work with Google Assistant integration. - // Contact Dialogflow support if you need to use session entities - // with Google Assistant integration. - GetSessionEntityType(ctx context.Context, in *GetSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error) - // Creates a session entity type. - // - // If the specified session entity type already exists, overrides the - // session entity type. - // - // This method doesn't work with Google Assistant integration. - // Contact Dialogflow support if you need to use session entities - // with Google Assistant integration. - CreateSessionEntityType(ctx context.Context, in *CreateSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error) - // Updates the specified session entity type. - // - // This method doesn't work with Google Assistant integration. - // Contact Dialogflow support if you need to use session entities - // with Google Assistant integration. - UpdateSessionEntityType(ctx context.Context, in *UpdateSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error) - // Deletes the specified session entity type. - // - // This method doesn't work with Google Assistant integration. - // Contact Dialogflow support if you need to use session entities - // with Google Assistant integration. - DeleteSessionEntityType(ctx context.Context, in *DeleteSessionEntityTypeRequest, opts ...grpc.CallOption) (*empty.Empty, error) -} - -type sessionEntityTypesClient struct { - cc *grpc.ClientConn -} - -func NewSessionEntityTypesClient(cc *grpc.ClientConn) SessionEntityTypesClient { - return &sessionEntityTypesClient{cc} -} - -func (c *sessionEntityTypesClient) ListSessionEntityTypes(ctx context.Context, in *ListSessionEntityTypesRequest, opts ...grpc.CallOption) (*ListSessionEntityTypesResponse, error) { - out := new(ListSessionEntityTypesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.SessionEntityTypes/ListSessionEntityTypes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *sessionEntityTypesClient) GetSessionEntityType(ctx context.Context, in *GetSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error) { - out := new(SessionEntityType) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.SessionEntityTypes/GetSessionEntityType", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *sessionEntityTypesClient) CreateSessionEntityType(ctx context.Context, in *CreateSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error) { - out := new(SessionEntityType) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.SessionEntityTypes/CreateSessionEntityType", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *sessionEntityTypesClient) UpdateSessionEntityType(ctx context.Context, in *UpdateSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error) { - out := new(SessionEntityType) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.SessionEntityTypes/UpdateSessionEntityType", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *sessionEntityTypesClient) DeleteSessionEntityType(ctx context.Context, in *DeleteSessionEntityTypeRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.SessionEntityTypes/DeleteSessionEntityType", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// SessionEntityTypesServer is the server API for SessionEntityTypes service. -type SessionEntityTypesServer interface { - // Returns the list of all session entity types in the specified session. - // - // This method doesn't work with Google Assistant integration. - // Contact Dialogflow support if you need to use session entities - // with Google Assistant integration. - ListSessionEntityTypes(context.Context, *ListSessionEntityTypesRequest) (*ListSessionEntityTypesResponse, error) - // Retrieves the specified session entity type. - // - // This method doesn't work with Google Assistant integration. - // Contact Dialogflow support if you need to use session entities - // with Google Assistant integration. - GetSessionEntityType(context.Context, *GetSessionEntityTypeRequest) (*SessionEntityType, error) - // Creates a session entity type. - // - // If the specified session entity type already exists, overrides the - // session entity type. - // - // This method doesn't work with Google Assistant integration. - // Contact Dialogflow support if you need to use session entities - // with Google Assistant integration. - CreateSessionEntityType(context.Context, *CreateSessionEntityTypeRequest) (*SessionEntityType, error) - // Updates the specified session entity type. - // - // This method doesn't work with Google Assistant integration. - // Contact Dialogflow support if you need to use session entities - // with Google Assistant integration. - UpdateSessionEntityType(context.Context, *UpdateSessionEntityTypeRequest) (*SessionEntityType, error) - // Deletes the specified session entity type. - // - // This method doesn't work with Google Assistant integration. - // Contact Dialogflow support if you need to use session entities - // with Google Assistant integration. - DeleteSessionEntityType(context.Context, *DeleteSessionEntityTypeRequest) (*empty.Empty, error) -} - -// UnimplementedSessionEntityTypesServer can be embedded to have forward compatible implementations. -type UnimplementedSessionEntityTypesServer struct { -} - -func (*UnimplementedSessionEntityTypesServer) ListSessionEntityTypes(ctx context.Context, req *ListSessionEntityTypesRequest) (*ListSessionEntityTypesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListSessionEntityTypes not implemented") -} -func (*UnimplementedSessionEntityTypesServer) GetSessionEntityType(ctx context.Context, req *GetSessionEntityTypeRequest) (*SessionEntityType, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetSessionEntityType not implemented") -} -func (*UnimplementedSessionEntityTypesServer) CreateSessionEntityType(ctx context.Context, req *CreateSessionEntityTypeRequest) (*SessionEntityType, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateSessionEntityType not implemented") -} -func (*UnimplementedSessionEntityTypesServer) UpdateSessionEntityType(ctx context.Context, req *UpdateSessionEntityTypeRequest) (*SessionEntityType, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateSessionEntityType not implemented") -} -func (*UnimplementedSessionEntityTypesServer) DeleteSessionEntityType(ctx context.Context, req *DeleteSessionEntityTypeRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteSessionEntityType not implemented") -} - -func RegisterSessionEntityTypesServer(s *grpc.Server, srv SessionEntityTypesServer) { - s.RegisterService(&_SessionEntityTypes_serviceDesc, srv) -} - -func _SessionEntityTypes_ListSessionEntityTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListSessionEntityTypesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SessionEntityTypesServer).ListSessionEntityTypes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.SessionEntityTypes/ListSessionEntityTypes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SessionEntityTypesServer).ListSessionEntityTypes(ctx, req.(*ListSessionEntityTypesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SessionEntityTypes_GetSessionEntityType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetSessionEntityTypeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SessionEntityTypesServer).GetSessionEntityType(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.SessionEntityTypes/GetSessionEntityType", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SessionEntityTypesServer).GetSessionEntityType(ctx, req.(*GetSessionEntityTypeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SessionEntityTypes_CreateSessionEntityType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateSessionEntityTypeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SessionEntityTypesServer).CreateSessionEntityType(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.SessionEntityTypes/CreateSessionEntityType", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SessionEntityTypesServer).CreateSessionEntityType(ctx, req.(*CreateSessionEntityTypeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SessionEntityTypes_UpdateSessionEntityType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateSessionEntityTypeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SessionEntityTypesServer).UpdateSessionEntityType(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.SessionEntityTypes/UpdateSessionEntityType", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SessionEntityTypesServer).UpdateSessionEntityType(ctx, req.(*UpdateSessionEntityTypeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SessionEntityTypes_DeleteSessionEntityType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteSessionEntityTypeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SessionEntityTypesServer).DeleteSessionEntityType(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.dialogflow.v2beta1.SessionEntityTypes/DeleteSessionEntityType", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SessionEntityTypesServer).DeleteSessionEntityType(ctx, req.(*DeleteSessionEntityTypeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _SessionEntityTypes_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.dialogflow.v2beta1.SessionEntityTypes", - HandlerType: (*SessionEntityTypesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListSessionEntityTypes", - Handler: _SessionEntityTypes_ListSessionEntityTypes_Handler, - }, - { - MethodName: "GetSessionEntityType", - Handler: _SessionEntityTypes_GetSessionEntityType_Handler, - }, - { - MethodName: "CreateSessionEntityType", - Handler: _SessionEntityTypes_CreateSessionEntityType_Handler, - }, - { - MethodName: "UpdateSessionEntityType", - Handler: _SessionEntityTypes_UpdateSessionEntityType_Handler, - }, - { - MethodName: "DeleteSessionEntityType", - Handler: _SessionEntityTypes_DeleteSessionEntityType_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/dialogflow/v2beta1/session_entity_type.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/validation_result.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/validation_result.pb.go deleted file mode 100644 index c54115e4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/validation_result.pb.go +++ /dev/null @@ -1,215 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/dialogflow/v2beta1/validation_result.proto - -package dialogflow - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Represents a level of severity. -type ValidationError_Severity int32 - -const ( - // Not specified. This value should never be used. - ValidationError_SEVERITY_UNSPECIFIED ValidationError_Severity = 0 - // The agent doesn't follow Dialogflow best practicies. - ValidationError_INFO ValidationError_Severity = 1 - // The agent may not behave as expected. - ValidationError_WARNING ValidationError_Severity = 2 - // The agent may experience partial failures. - ValidationError_ERROR ValidationError_Severity = 3 - // The agent may completely fail. - ValidationError_CRITICAL ValidationError_Severity = 4 -) - -var ValidationError_Severity_name = map[int32]string{ - 0: "SEVERITY_UNSPECIFIED", - 1: "INFO", - 2: "WARNING", - 3: "ERROR", - 4: "CRITICAL", -} - -var ValidationError_Severity_value = map[string]int32{ - "SEVERITY_UNSPECIFIED": 0, - "INFO": 1, - "WARNING": 2, - "ERROR": 3, - "CRITICAL": 4, -} - -func (x ValidationError_Severity) String() string { - return proto.EnumName(ValidationError_Severity_name, int32(x)) -} - -func (ValidationError_Severity) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_5c59a0b696fab884, []int{0, 0} -} - -// Represents a single validation error. -type ValidationError struct { - // The severity of the error. - Severity ValidationError_Severity `protobuf:"varint,1,opt,name=severity,proto3,enum=google.cloud.dialogflow.v2beta1.ValidationError_Severity" json:"severity,omitempty"` - // The names of the entries that the error is associated with. - // Format: - // - // - "projects//agent", if the error is associated with the entire - // agent. - // - "projects//agent/intents/", if the error is - // associated with certain intents. - // - "projects//agent/intents//trainingPhrases/", if the - // error is associated with certain intent training phrases. - // - "projects//agent/intents//parameters/", if the error is associated with certain intent parameters. - // - "projects//agent/entities/", if the error is - // associated with certain entities. - Entries []string `protobuf:"bytes,3,rep,name=entries,proto3" json:"entries,omitempty"` - // The detailed error messsage. - ErrorMessage string `protobuf:"bytes,4,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ValidationError) Reset() { *m = ValidationError{} } -func (m *ValidationError) String() string { return proto.CompactTextString(m) } -func (*ValidationError) ProtoMessage() {} -func (*ValidationError) Descriptor() ([]byte, []int) { - return fileDescriptor_5c59a0b696fab884, []int{0} -} - -func (m *ValidationError) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ValidationError.Unmarshal(m, b) -} -func (m *ValidationError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ValidationError.Marshal(b, m, deterministic) -} -func (m *ValidationError) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidationError.Merge(m, src) -} -func (m *ValidationError) XXX_Size() int { - return xxx_messageInfo_ValidationError.Size(m) -} -func (m *ValidationError) XXX_DiscardUnknown() { - xxx_messageInfo_ValidationError.DiscardUnknown(m) -} - -var xxx_messageInfo_ValidationError proto.InternalMessageInfo - -func (m *ValidationError) GetSeverity() ValidationError_Severity { - if m != nil { - return m.Severity - } - return ValidationError_SEVERITY_UNSPECIFIED -} - -func (m *ValidationError) GetEntries() []string { - if m != nil { - return m.Entries - } - return nil -} - -func (m *ValidationError) GetErrorMessage() string { - if m != nil { - return m.ErrorMessage - } - return "" -} - -// Represents the output of agent validation. -type ValidationResult struct { - // Contains all validation errors. - ValidationErrors []*ValidationError `protobuf:"bytes,1,rep,name=validation_errors,json=validationErrors,proto3" json:"validation_errors,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ValidationResult) Reset() { *m = ValidationResult{} } -func (m *ValidationResult) String() string { return proto.CompactTextString(m) } -func (*ValidationResult) ProtoMessage() {} -func (*ValidationResult) Descriptor() ([]byte, []int) { - return fileDescriptor_5c59a0b696fab884, []int{1} -} - -func (m *ValidationResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ValidationResult.Unmarshal(m, b) -} -func (m *ValidationResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ValidationResult.Marshal(b, m, deterministic) -} -func (m *ValidationResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidationResult.Merge(m, src) -} -func (m *ValidationResult) XXX_Size() int { - return xxx_messageInfo_ValidationResult.Size(m) -} -func (m *ValidationResult) XXX_DiscardUnknown() { - xxx_messageInfo_ValidationResult.DiscardUnknown(m) -} - -var xxx_messageInfo_ValidationResult proto.InternalMessageInfo - -func (m *ValidationResult) GetValidationErrors() []*ValidationError { - if m != nil { - return m.ValidationErrors - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.dialogflow.v2beta1.ValidationError_Severity", ValidationError_Severity_name, ValidationError_Severity_value) - proto.RegisterType((*ValidationError)(nil), "google.cloud.dialogflow.v2beta1.ValidationError") - proto.RegisterType((*ValidationResult)(nil), "google.cloud.dialogflow.v2beta1.ValidationResult") -} - -func init() { - proto.RegisterFile("google/cloud/dialogflow/v2beta1/validation_result.proto", fileDescriptor_5c59a0b696fab884) -} - -var fileDescriptor_5c59a0b696fab884 = []byte{ - // 391 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0xc1, 0xab, 0xd3, 0x30, - 0x1c, 0xc7, 0x4d, 0x3b, 0x7d, 0x5d, 0xde, 0x53, 0x6b, 0x50, 0x28, 0x22, 0xbc, 0xb2, 0x77, 0xe9, - 0x29, 0xd5, 0x79, 0x10, 0xf1, 0xf4, 0x5e, 0xd7, 0x8d, 0x80, 0x76, 0x23, 0xdd, 0x26, 0x0a, 0x32, - 0xb2, 0x2d, 0x86, 0x42, 0xd7, 0xcc, 0xa4, 0xab, 0xf8, 0xef, 0x78, 0xf4, 0xea, 0x3f, 0xe7, 0x45, - 0x90, 0xa5, 0x75, 0xd5, 0x81, 0x0c, 0x8f, 0xf9, 0x86, 0xcf, 0x27, 0x5f, 0x7e, 0xbf, 0xc0, 0x17, - 0x42, 0x4a, 0x91, 0xf3, 0x70, 0x95, 0xcb, 0xdd, 0x3a, 0x5c, 0x67, 0x2c, 0x97, 0xe2, 0x63, 0x2e, - 0x3f, 0x87, 0x55, 0x7f, 0xc9, 0x4b, 0xf6, 0x2c, 0xac, 0x58, 0x9e, 0xad, 0x59, 0x99, 0xc9, 0x62, - 0xa1, 0xb8, 0xde, 0xe5, 0x25, 0xde, 0x2a, 0x59, 0x4a, 0x74, 0x59, 0x83, 0xd8, 0x80, 0xb8, 0x05, - 0x71, 0x03, 0x3e, 0x7e, 0xd2, 0x98, 0xd9, 0x36, 0x0b, 0x59, 0x51, 0xc8, 0xd2, 0x48, 0x74, 0x8d, - 0xf7, 0x7e, 0x02, 0x78, 0x7f, 0x7e, 0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6, 0xac, 0x10, 0x58, 0x2a, - 0x11, 0x0a, 0x5e, 0x98, 0x7d, 0x86, 0xf5, 0x15, 0xdb, 0x66, 0xfa, 0x9f, 0x5f, 0xe9, 0x55, 0x1b, - 0xfd, 0x00, 0xe0, 0xab, 0x65, 0x0d, 0x86, 0xdf, 0xac, 0xcb, 0x51, 0xed, 0x8c, 0x4c, 0x9b, 0x41, - 0xdb, 0x66, 0x5e, 0x43, 0xcb, 0x3b, 0xc6, 0xff, 0xfc, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff, 0x31, - 0x07, 0xf8, 0x89, 0xa9, 0x02, 0x00, 0x00, -} 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 deleted file mode 100644 index 7b8d1cdc..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1/webhook.pb.go +++ /dev/null @@ -1,375 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/dialogflow/v2beta1/webhook.proto - -package dialogflow - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _struct "github.com/golang/protobuf/ptypes/struct" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The request message for a webhook call. -type WebhookRequest struct { - // The unique identifier of detectIntent request session. - // Can be used to identify end-user inside webhook implementation. - // Format: `projects//agent/sessions/`, or - // `projects//agent/environments//users//sessions/`. - Session string `protobuf:"bytes,4,opt,name=session,proto3" json:"session,omitempty"` - // The unique identifier of the response. Contains the same value as - // `[Streaming]DetectIntentResponse.response_id`. - ResponseId string `protobuf:"bytes,1,opt,name=response_id,json=responseId,proto3" json:"response_id,omitempty"` - // The result of the conversational query or event processing. Contains the - // same value as `[Streaming]DetectIntentResponse.query_result`. - QueryResult *QueryResult `protobuf:"bytes,2,opt,name=query_result,json=queryResult,proto3" json:"query_result,omitempty"` - // Alternative query results from KnowledgeService. - AlternativeQueryResults []*QueryResult `protobuf:"bytes,5,rep,name=alternative_query_results,json=alternativeQueryResults,proto3" json:"alternative_query_results,omitempty"` - // Optional. The contents of the original request that was passed to - // `[Streaming]DetectIntent` call. - OriginalDetectIntentRequest *OriginalDetectIntentRequest `protobuf:"bytes,3,opt,name=original_detect_intent_request,json=originalDetectIntentRequest,proto3" json:"original_detect_intent_request,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e44190e355d0ffbc, []int{0} -} - -func (m *WebhookRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebhookRequest.Unmarshal(m, b) -} -func (m *WebhookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebhookRequest.Marshal(b, m, deterministic) -} -func (m *WebhookRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebhookRequest.Merge(m, src) -} -func (m *WebhookRequest) XXX_Size() int { - return xxx_messageInfo_WebhookRequest.Size(m) -} -func (m *WebhookRequest) XXX_DiscardUnknown() { - xxx_messageInfo_WebhookRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_WebhookRequest proto.InternalMessageInfo - -func (m *WebhookRequest) GetSession() string { - if m != nil { - return m.Session - } - return "" -} - -func (m *WebhookRequest) GetResponseId() string { - if m != nil { - return m.ResponseId - } - return "" -} - -func (m *WebhookRequest) GetQueryResult() *QueryResult { - if m != nil { - return m.QueryResult - } - return nil -} - -func (m *WebhookRequest) GetAlternativeQueryResults() []*QueryResult { - if m != nil { - return m.AlternativeQueryResults - } - return nil -} - -func (m *WebhookRequest) GetOriginalDetectIntentRequest() *OriginalDetectIntentRequest { - if m != nil { - return m.OriginalDetectIntentRequest - } - return nil -} - -// The response message for a webhook call. -type WebhookResponse struct { - // Optional. The text to be shown on the screen. This value is passed directly - // to `QueryResult.fulfillment_text`. - FulfillmentText string `protobuf:"bytes,1,opt,name=fulfillment_text,json=fulfillmentText,proto3" json:"fulfillment_text,omitempty"` - // Optional. The collection of rich messages to present to the user. This - // value is passed directly to `QueryResult.fulfillment_messages`. - FulfillmentMessages []*Intent_Message `protobuf:"bytes,2,rep,name=fulfillment_messages,json=fulfillmentMessages,proto3" json:"fulfillment_messages,omitempty"` - // Optional. This value is passed directly to `QueryResult.webhook_source`. - Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"` - // Optional. This value is passed directly to `QueryResult.webhook_payload`. - // See the related `fulfillment_messages[i].payload field`, which may be used - // as an alternative to this field. - // - // This field can be used for Actions on Google responses. - // It should have a structure similar to the JSON message shown here. For more - // information, see - // [Actions on Google Webhook - // Format](https://developers.google.com/actions/dialogflow/webhook) - //
{
-	//   "google": {
-	//     "expectUserResponse": true,
-	//     "richResponse": {
-	//       "items": [
-	//         {
-	//           "simpleResponse": {
-	//             "textToSpeech": "this is a simple response"
-	//           }
-	//         }
-	//       ]
-	//     }
-	//   }
-	// }
- Payload *_struct.Struct `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"` - // Optional. The collection of output contexts. This value is passed directly - // to `QueryResult.output_contexts`. - OutputContexts []*Context `protobuf:"bytes,5,rep,name=output_contexts,json=outputContexts,proto3" json:"output_contexts,omitempty"` - // Optional. Makes the platform immediately invoke another `DetectIntent` call - // internally with the specified event as input. - // When this field is set, Dialogflow ignores the `fulfillment_text`, - // `fulfillment_messages`, and `payload` fields. - FollowupEventInput *EventInput `protobuf:"bytes,6,opt,name=followup_event_input,json=followupEventInput,proto3" json:"followup_event_input,omitempty"` - // Optional. Indicates that this intent ends an interaction. Some integrations - // (e.g., Actions on Google or Dialogflow phone gateway) use this information - // to close interaction with an end user. Default is false. - EndInteraction bool `protobuf:"varint,8,opt,name=end_interaction,json=endInteraction,proto3" json:"end_interaction,omitempty"` - // Optional. Additional session entity types to replace or extend developer - // entity types with. The entity synonyms apply to all languages and persist - // for the session of this query. Setting the session entity types inside - // webhook overwrites the session entity types that have been set through - // `DetectIntentRequest.query_params.session_entity_types`. - SessionEntityTypes []*SessionEntityType `protobuf:"bytes,10,rep,name=session_entity_types,json=sessionEntityTypes,proto3" json:"session_entity_types,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e44190e355d0ffbc, []int{1} -} - -func (m *WebhookResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebhookResponse.Unmarshal(m, b) -} -func (m *WebhookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebhookResponse.Marshal(b, m, deterministic) -} -func (m *WebhookResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebhookResponse.Merge(m, src) -} -func (m *WebhookResponse) XXX_Size() int { - return xxx_messageInfo_WebhookResponse.Size(m) -} -func (m *WebhookResponse) XXX_DiscardUnknown() { - xxx_messageInfo_WebhookResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_WebhookResponse proto.InternalMessageInfo - -func (m *WebhookResponse) GetFulfillmentText() string { - if m != nil { - return m.FulfillmentText - } - return "" -} - -func (m *WebhookResponse) GetFulfillmentMessages() []*Intent_Message { - if m != nil { - return m.FulfillmentMessages - } - return nil -} - -func (m *WebhookResponse) GetSource() string { - if m != nil { - return m.Source - } - return "" -} - -func (m *WebhookResponse) GetPayload() *_struct.Struct { - if m != nil { - return m.Payload - } - return nil -} - -func (m *WebhookResponse) GetOutputContexts() []*Context { - if m != nil { - return m.OutputContexts - } - return nil -} - -func (m *WebhookResponse) GetFollowupEventInput() *EventInput { - if m != nil { - return m.FollowupEventInput - } - return nil -} - -func (m *WebhookResponse) GetEndInteraction() bool { - if m != nil { - return m.EndInteraction - } - return false -} - -func (m *WebhookResponse) GetSessionEntityTypes() []*SessionEntityType { - if m != nil { - return m.SessionEntityTypes - } - return nil -} - -// Represents the contents of the original request that was passed to -// the `[Streaming]DetectIntent` call. -type OriginalDetectIntentRequest struct { - // The source of this request, e.g., `google`, `facebook`, `slack`. It is set - // by Dialogflow-owned servers. - Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` - // Optional. The version of the protocol used for this request. - // This field is AoG-specific. - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - // Optional. This field is set to the value of the `QueryParameters.payload` - // field passed in the request. Some integrations that query a Dialogflow - // agent may provide additional information in the payload. - // - // In particular for the Telephony Gateway this field has the form: - //
{
-	//  "telephony": {
-	//    "caller_id": "+18558363987"
-	//  }
-	// }
- // Note: The caller ID field (`caller_id`) will be redacted for Standard - // Edition agents and populated with the caller ID in [E.164 - // format](https://en.wikipedia.org/wiki/E.164) for Enterprise Edition agents. - Payload *_struct.Struct `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OriginalDetectIntentRequest) Reset() { *m = OriginalDetectIntentRequest{} } -func (m *OriginalDetectIntentRequest) String() string { return proto.CompactTextString(m) } -func (*OriginalDetectIntentRequest) ProtoMessage() {} -func (*OriginalDetectIntentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e44190e355d0ffbc, []int{2} -} - -func (m *OriginalDetectIntentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OriginalDetectIntentRequest.Unmarshal(m, b) -} -func (m *OriginalDetectIntentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OriginalDetectIntentRequest.Marshal(b, m, deterministic) -} -func (m *OriginalDetectIntentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_OriginalDetectIntentRequest.Merge(m, src) -} -func (m *OriginalDetectIntentRequest) XXX_Size() int { - return xxx_messageInfo_OriginalDetectIntentRequest.Size(m) -} -func (m *OriginalDetectIntentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_OriginalDetectIntentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_OriginalDetectIntentRequest proto.InternalMessageInfo - -func (m *OriginalDetectIntentRequest) GetSource() string { - if m != nil { - return m.Source - } - return "" -} - -func (m *OriginalDetectIntentRequest) GetVersion() string { - if m != nil { - return m.Version - } - return "" -} - -func (m *OriginalDetectIntentRequest) GetPayload() *_struct.Struct { - if m != nil { - return m.Payload - } - return nil -} - -func init() { - proto.RegisterType((*WebhookRequest)(nil), "google.cloud.dialogflow.v2beta1.WebhookRequest") - proto.RegisterType((*WebhookResponse)(nil), "google.cloud.dialogflow.v2beta1.WebhookResponse") - proto.RegisterType((*OriginalDetectIntentRequest)(nil), "google.cloud.dialogflow.v2beta1.OriginalDetectIntentRequest") -} - -func init() { - proto.RegisterFile("google/cloud/dialogflow/v2beta1/webhook.proto", fileDescriptor_e44190e355d0ffbc) -} - -var fileDescriptor_e44190e355d0ffbc = []byte{ - // 643 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x4d, 0x6f, 0xd3, 0x40, - 0x10, 0x95, 0x93, 0xd2, 0x8f, 0x4d, 0xd5, 0x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, 0xc5, 0x3e, 0x2a, 0x84, 0x8e, - 0x9c, 0x8f, 0x43, 0x4b, 0x48, 0x04, 0x23, 0x3c, 0xf1, 0x44, 0x96, 0xf8, 0x09, 0x70, 0xfd, 0x8c, - 0x6f, 0x4a, 0x24, 0xa5, 0xf2, 0xc6, 0xdf, 0xe1, 0xab, 0x2a, 0xf5, 0xd3, 0x71, 0xbe, 0xb7, 0x5a, - 0xfb, 0x6f, 0xae, 0x5a, 0x9b, 0x6f, 0x8d, 0xe6, 0x9e, 0x6e, 0x62, 0xbf, 0x6a, 0xe2, 0xbd, 0x21, - 0x8d, 0xe6, 0xb5, 0xfe, 0x8b, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x0c, 0x3f, 0x4c, 0x7e, 0x49, - 0x06, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/document/v1beta1/document.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/document/v1beta1/document.pb.go deleted file mode 100644 index 076e6906..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/document/v1beta1/document.pb.go +++ /dev/null @@ -1,1716 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/document/v1beta1/document.proto - -package document - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - color "google.golang.org/genproto/googleapis/type/color" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Detected human reading orientation. -type Document_Page_Layout_Orientation int32 - -const ( - // Unspecified orientation. - Document_Page_Layout_ORIENTATION_UNSPECIFIED Document_Page_Layout_Orientation = 0 - // Orientation is aligned with page up. - Document_Page_Layout_PAGE_UP Document_Page_Layout_Orientation = 1 - // Orientation is aligned with page right. - // Turn the head 90 degrees clockwise from upright to read. - Document_Page_Layout_PAGE_RIGHT Document_Page_Layout_Orientation = 2 - // Orientation is aligned with page down. - // Turn the head 180 degrees from upright to read. - Document_Page_Layout_PAGE_DOWN Document_Page_Layout_Orientation = 3 - // Orientation is aligned with page left. - // Turn the head 90 degrees counterclockwise from upright to read. - Document_Page_Layout_PAGE_LEFT Document_Page_Layout_Orientation = 4 -) - -var Document_Page_Layout_Orientation_name = map[int32]string{ - 0: "ORIENTATION_UNSPECIFIED", - 1: "PAGE_UP", - 2: "PAGE_RIGHT", - 3: "PAGE_DOWN", - 4: "PAGE_LEFT", -} - -var Document_Page_Layout_Orientation_value = map[string]int32{ - "ORIENTATION_UNSPECIFIED": 0, - "PAGE_UP": 1, - "PAGE_RIGHT": 2, - "PAGE_DOWN": 3, - "PAGE_LEFT": 4, -} - -func (x Document_Page_Layout_Orientation) String() string { - return proto.EnumName(Document_Page_Layout_Orientation_name, int32(x)) -} - -func (Document_Page_Layout_Orientation) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_07bede50bbb985b1, []int{0, 2, 1, 0} -} - -// Enum to denote the type of break found. -type Document_Page_Token_DetectedBreak_Type int32 - -const ( - // Unspecified break type. - Document_Page_Token_DetectedBreak_TYPE_UNSPECIFIED Document_Page_Token_DetectedBreak_Type = 0 - // A single whitespace. - Document_Page_Token_DetectedBreak_SPACE Document_Page_Token_DetectedBreak_Type = 1 - // A wider whitespace. - Document_Page_Token_DetectedBreak_WIDE_SPACE Document_Page_Token_DetectedBreak_Type = 2 - // A hyphen that indicates that a token has been split across lines. - Document_Page_Token_DetectedBreak_HYPHEN Document_Page_Token_DetectedBreak_Type = 3 -) - -var Document_Page_Token_DetectedBreak_Type_name = map[int32]string{ - 0: "TYPE_UNSPECIFIED", - 1: "SPACE", - 2: "WIDE_SPACE", - 3: "HYPHEN", -} - -var Document_Page_Token_DetectedBreak_Type_value = map[string]int32{ - "TYPE_UNSPECIFIED": 0, - "SPACE": 1, - "WIDE_SPACE": 2, - "HYPHEN": 3, -} - -func (x Document_Page_Token_DetectedBreak_Type) String() string { - return proto.EnumName(Document_Page_Token_DetectedBreak_Type_name, int32(x)) -} - -func (Document_Page_Token_DetectedBreak_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_07bede50bbb985b1, []int{0, 2, 5, 0, 0} -} - -// Document represents the canonical document resource in Document Understanding -// AI. -// It is an interchange format that provides insights into documents and allows -// for collaboration between users and Document Understanding AI to iterate and -// optimize for quality. -type Document struct { - // Original source document from the user. - // - // Types that are valid to be assigned to Source: - // *Document_Uri - // *Document_Content - Source isDocument_Source `protobuf_oneof:"source"` - // An IANA published MIME type (also referred to as media type). For more - // information, see - // https://www.iana.org/assignments/media-types/media-types.xhtml. - MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - // UTF-8 encoded text in reading order from the document. - Text string `protobuf:"bytes,4,opt,name=text,proto3" json:"text,omitempty"` - // Styles for the [Document.text][google.cloud.document.v1beta1.Document.text]. - TextStyles []*Document_Style `protobuf:"bytes,5,rep,name=text_styles,json=textStyles,proto3" json:"text_styles,omitempty"` - // Visual page layout for the [Document][google.cloud.document.v1beta1.Document]. - Pages []*Document_Page `protobuf:"bytes,6,rep,name=pages,proto3" json:"pages,omitempty"` - // A list of entities detected on [Document.text][google.cloud.document.v1beta1.Document.text]. For document shards, - // entities in this list may cross shard boundaries. - Entities []*Document_Entity `protobuf:"bytes,7,rep,name=entities,proto3" json:"entities,omitempty"` - // Relationship among [Document.entities][google.cloud.document.v1beta1.Document.entities]. - EntityRelations []*Document_EntityRelation `protobuf:"bytes,8,rep,name=entity_relations,json=entityRelations,proto3" json:"entity_relations,omitempty"` - // Information about the sharding if this document is sharded part of a larger - // document. If the document is not sharded, this message is not specified. - ShardInfo *Document_ShardInfo `protobuf:"bytes,9,opt,name=shard_info,json=shardInfo,proto3" json:"shard_info,omitempty"` - // Any error that occurred while processing this document. - Error *status.Status `protobuf:"bytes,10,opt,name=error,proto3" json:"error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_07bede50bbb985b1, []int{0} -} - -func (m *Document) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Document.Unmarshal(m, b) -} -func (m *Document) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Document.Marshal(b, m, deterministic) -} -func (m *Document) XXX_Merge(src proto.Message) { - xxx_messageInfo_Document.Merge(m, src) -} -func (m *Document) XXX_Size() int { - return xxx_messageInfo_Document.Size(m) -} -func (m *Document) XXX_DiscardUnknown() { - xxx_messageInfo_Document.DiscardUnknown(m) -} - -var xxx_messageInfo_Document proto.InternalMessageInfo - -type isDocument_Source interface { - isDocument_Source() -} - -type Document_Uri struct { - Uri string `protobuf:"bytes,1,opt,name=uri,proto3,oneof"` -} - -type Document_Content struct { - Content []byte `protobuf:"bytes,2,opt,name=content,proto3,oneof"` -} - -func (*Document_Uri) isDocument_Source() {} - -func (*Document_Content) isDocument_Source() {} - -func (m *Document) GetSource() isDocument_Source { - if m != nil { - return m.Source - } - return nil -} - -func (m *Document) GetUri() string { - if x, ok := m.GetSource().(*Document_Uri); ok { - return x.Uri - } - return "" -} - -func (m *Document) GetContent() []byte { - if x, ok := m.GetSource().(*Document_Content); ok { - return x.Content - } - return nil -} - -func (m *Document) GetMimeType() string { - if m != nil { - return m.MimeType - } - return "" -} - -func (m *Document) GetText() string { - if m != nil { - return m.Text - } - return "" -} - -func (m *Document) GetTextStyles() []*Document_Style { - if m != nil { - return m.TextStyles - } - return nil -} - -func (m *Document) GetPages() []*Document_Page { - if m != nil { - return m.Pages - } - return nil -} - -func (m *Document) GetEntities() []*Document_Entity { - if m != nil { - return m.Entities - } - return nil -} - -func (m *Document) GetEntityRelations() []*Document_EntityRelation { - if m != nil { - return m.EntityRelations - } - return nil -} - -func (m *Document) GetShardInfo() *Document_ShardInfo { - if m != nil { - return m.ShardInfo - } - return nil -} - -func (m *Document) GetError() *status.Status { - if m != nil { - return m.Error - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Document) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Document_Uri)(nil), - (*Document_Content)(nil), - } -} - -// For a large document, sharding may be performed to produce several -// document shards. Each document shard contains this field to detail which -// shard it is. -type Document_ShardInfo struct { - // The 0-based index of this shard. - ShardIndex int64 `protobuf:"varint,1,opt,name=shard_index,json=shardIndex,proto3" json:"shard_index,omitempty"` - // Total number of shards. - ShardCount int64 `protobuf:"varint,2,opt,name=shard_count,json=shardCount,proto3" json:"shard_count,omitempty"` - // The index of the first character in [Document.text][google.cloud.document.v1beta1.Document.text] in the overall - // document global text. - TextOffset int64 `protobuf:"varint,3,opt,name=text_offset,json=textOffset,proto3" json:"text_offset,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Document_ShardInfo) Reset() { *m = Document_ShardInfo{} } -func (m *Document_ShardInfo) String() string { return proto.CompactTextString(m) } -func (*Document_ShardInfo) ProtoMessage() {} -func (*Document_ShardInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_07bede50bbb985b1, []int{0, 0} -} - -func (m *Document_ShardInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Document_ShardInfo.Unmarshal(m, b) -} -func (m *Document_ShardInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Document_ShardInfo.Marshal(b, m, deterministic) -} -func (m *Document_ShardInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_Document_ShardInfo.Merge(m, src) -} -func (m *Document_ShardInfo) XXX_Size() int { - return xxx_messageInfo_Document_ShardInfo.Size(m) -} -func (m *Document_ShardInfo) XXX_DiscardUnknown() { - xxx_messageInfo_Document_ShardInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_Document_ShardInfo proto.InternalMessageInfo - -func (m *Document_ShardInfo) GetShardIndex() int64 { - if m != nil { - return m.ShardIndex - } - return 0 -} - -func (m *Document_ShardInfo) GetShardCount() int64 { - if m != nil { - return m.ShardCount - } - return 0 -} - -func (m *Document_ShardInfo) GetTextOffset() int64 { - if m != nil { - return m.TextOffset - } - return 0 -} - -// Annotation for common text style attributes. This adheres to CSS -// conventions as much as possible. -type Document_Style struct { - // Text anchor indexing into the [Document.text][google.cloud.document.v1beta1.Document.text]. - TextAnchor *Document_TextAnchor `protobuf:"bytes,1,opt,name=text_anchor,json=textAnchor,proto3" json:"text_anchor,omitempty"` - // Text color. - Color *color.Color `protobuf:"bytes,2,opt,name=color,proto3" json:"color,omitempty"` - // Text background color. - BackgroundColor *color.Color `protobuf:"bytes,3,opt,name=background_color,json=backgroundColor,proto3" json:"background_color,omitempty"` - // Font weight. Possible values are normal, bold, bolder, and lighter. - // https://www.w3schools.com/cssref/pr_font_weight.asp - FontWeight string `protobuf:"bytes,4,opt,name=font_weight,json=fontWeight,proto3" json:"font_weight,omitempty"` - // Text style. Possible values are normal, italic, and oblique. - // https://www.w3schools.com/cssref/pr_font_font-style.asp - TextStyle string `protobuf:"bytes,5,opt,name=text_style,json=textStyle,proto3" json:"text_style,omitempty"` - // Text decoration. Follows CSS standard. - // - // https://www.w3schools.com/cssref/pr_text_text-decoration.asp - TextDecoration string `protobuf:"bytes,6,opt,name=text_decoration,json=textDecoration,proto3" json:"text_decoration,omitempty"` - // Font size. - FontSize *Document_Style_FontSize `protobuf:"bytes,7,opt,name=font_size,json=fontSize,proto3" json:"font_size,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Document_Style) Reset() { *m = Document_Style{} } -func (m *Document_Style) String() string { return proto.CompactTextString(m) } -func (*Document_Style) ProtoMessage() {} -func (*Document_Style) Descriptor() ([]byte, []int) { - return fileDescriptor_07bede50bbb985b1, []int{0, 1} -} - -func (m *Document_Style) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Document_Style.Unmarshal(m, b) -} -func (m *Document_Style) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Document_Style.Marshal(b, m, deterministic) -} -func (m *Document_Style) XXX_Merge(src proto.Message) { - xxx_messageInfo_Document_Style.Merge(m, src) -} -func (m *Document_Style) XXX_Size() int { - return xxx_messageInfo_Document_Style.Size(m) -} -func (m *Document_Style) XXX_DiscardUnknown() { - xxx_messageInfo_Document_Style.DiscardUnknown(m) -} - -var xxx_messageInfo_Document_Style proto.InternalMessageInfo - -func (m *Document_Style) GetTextAnchor() *Document_TextAnchor { - if m != nil { - return m.TextAnchor - } - return nil -} - -func (m *Document_Style) GetColor() *color.Color { - if m != nil { - return m.Color - } - return nil -} - -func (m *Document_Style) GetBackgroundColor() *color.Color { - if m != nil { - return m.BackgroundColor - } - return nil -} - -func (m *Document_Style) GetFontWeight() string { - if m != nil { - return m.FontWeight - } - return "" -} - -func (m *Document_Style) GetTextStyle() string { - if m != nil { - return m.TextStyle - } - return "" -} - -func (m *Document_Style) GetTextDecoration() string { - if m != nil { - return m.TextDecoration - } - return "" -} - -func (m *Document_Style) GetFontSize() *Document_Style_FontSize { - if m != nil { - return m.FontSize - } - return nil -} - -// Font size with unit. -type Document_Style_FontSize struct { - // Font size for the text. - Size float32 `protobuf:"fixed32,1,opt,name=size,proto3" json:"size,omitempty"` - // Unit for the font size. Follows CSS naming (in, px, pt, etc.). - Unit string `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Document_Style_FontSize) Reset() { *m = Document_Style_FontSize{} } -func (m *Document_Style_FontSize) String() string { return proto.CompactTextString(m) } -func (*Document_Style_FontSize) ProtoMessage() {} -func (*Document_Style_FontSize) Descriptor() ([]byte, []int) { - return fileDescriptor_07bede50bbb985b1, []int{0, 1, 0} -} - -func (m *Document_Style_FontSize) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Document_Style_FontSize.Unmarshal(m, b) -} -func (m *Document_Style_FontSize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Document_Style_FontSize.Marshal(b, m, deterministic) -} -func (m *Document_Style_FontSize) XXX_Merge(src proto.Message) { - xxx_messageInfo_Document_Style_FontSize.Merge(m, src) -} -func (m *Document_Style_FontSize) XXX_Size() int { - return xxx_messageInfo_Document_Style_FontSize.Size(m) -} -func (m *Document_Style_FontSize) XXX_DiscardUnknown() { - xxx_messageInfo_Document_Style_FontSize.DiscardUnknown(m) -} - -var xxx_messageInfo_Document_Style_FontSize proto.InternalMessageInfo - -func (m *Document_Style_FontSize) GetSize() float32 { - if m != nil { - return m.Size - } - return 0 -} - -func (m *Document_Style_FontSize) GetUnit() string { - if m != nil { - return m.Unit - } - return "" -} - -// A page in a [Document][google.cloud.document.v1beta1.Document]. -type Document_Page struct { - // 1-based index for current [Page][google.cloud.document.v1beta1.Document.Page] in a parent [Document][google.cloud.document.v1beta1.Document]. - // Useful when a page is taken out of a [Document][google.cloud.document.v1beta1.Document] for individual - // processing. - PageNumber int32 `protobuf:"varint,1,opt,name=page_number,json=pageNumber,proto3" json:"page_number,omitempty"` - // Physical dimension of the page. - Dimension *Document_Page_Dimension `protobuf:"bytes,2,opt,name=dimension,proto3" json:"dimension,omitempty"` - // [Layout][google.cloud.document.v1beta1.Document.Page.Layout] for the page. - Layout *Document_Page_Layout `protobuf:"bytes,3,opt,name=layout,proto3" json:"layout,omitempty"` - // A list of detected languages together with confidence. - DetectedLanguages []*Document_Page_DetectedLanguage `protobuf:"bytes,4,rep,name=detected_languages,json=detectedLanguages,proto3" json:"detected_languages,omitempty"` - // A list of visually detected text blocks on the page. - // A block has a set of lines (collected into paragraphs) that have a common - // line-spacing and orientation. - Blocks []*Document_Page_Block `protobuf:"bytes,5,rep,name=blocks,proto3" json:"blocks,omitempty"` - // A list of visually detected text paragraphs on the page. - // A collection of lines that a human would perceive as a paragraph. - Paragraphs []*Document_Page_Paragraph `protobuf:"bytes,6,rep,name=paragraphs,proto3" json:"paragraphs,omitempty"` - // A list of visually detected text lines on the page. - // A collection of tokens that a human would perceive as a line. - Lines []*Document_Page_Line `protobuf:"bytes,7,rep,name=lines,proto3" json:"lines,omitempty"` - // A list of visually detected tokens on the page. - Tokens []*Document_Page_Token `protobuf:"bytes,8,rep,name=tokens,proto3" json:"tokens,omitempty"` - // A list of detected non-text visual elements e.g. checkbox, - // signature etc. on the page. - VisualElements []*Document_Page_VisualElement `protobuf:"bytes,9,rep,name=visual_elements,json=visualElements,proto3" json:"visual_elements,omitempty"` - // A list of visually detected tables on the page. - Tables []*Document_Page_Table `protobuf:"bytes,10,rep,name=tables,proto3" json:"tables,omitempty"` - // A list of visually detected form fields on the page. - FormFields []*Document_Page_FormField `protobuf:"bytes,11,rep,name=form_fields,json=formFields,proto3" json:"form_fields,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Document_Page) Reset() { *m = Document_Page{} } -func (m *Document_Page) String() string { return proto.CompactTextString(m) } -func (*Document_Page) ProtoMessage() {} -func (*Document_Page) Descriptor() ([]byte, []int) { - return fileDescriptor_07bede50bbb985b1, []int{0, 2} -} - -func (m *Document_Page) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Document_Page.Unmarshal(m, b) -} -func (m *Document_Page) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Document_Page.Marshal(b, m, deterministic) -} -func (m *Document_Page) XXX_Merge(src proto.Message) { - xxx_messageInfo_Document_Page.Merge(m, src) -} -func (m *Document_Page) XXX_Size() int { - return xxx_messageInfo_Document_Page.Size(m) -} -func (m *Document_Page) XXX_DiscardUnknown() { - xxx_messageInfo_Document_Page.DiscardUnknown(m) -} - -var xxx_messageInfo_Document_Page proto.InternalMessageInfo - -func (m *Document_Page) GetPageNumber() int32 { - if m != nil { - return m.PageNumber - } - return 0 -} - -func (m *Document_Page) GetDimension() *Document_Page_Dimension { - if m != nil { - return m.Dimension - } - return nil -} - -func (m *Document_Page) GetLayout() *Document_Page_Layout { - if m != nil { - return m.Layout - } - return nil -} - -func (m *Document_Page) GetDetectedLanguages() []*Document_Page_DetectedLanguage { - if m != nil { - return m.DetectedLanguages - } - return nil -} - -func (m *Document_Page) GetBlocks() []*Document_Page_Block { - if m != nil { - return m.Blocks - } - return nil -} - -func (m *Document_Page) GetParagraphs() []*Document_Page_Paragraph { - if m != nil { - return m.Paragraphs - } - return nil -} - -func (m *Document_Page) GetLines() []*Document_Page_Line { - if m != nil { - return m.Lines - } - return nil -} - -func (m *Document_Page) GetTokens() []*Document_Page_Token { - if m != nil { - return m.Tokens - } - return nil -} - -func (m *Document_Page) GetVisualElements() []*Document_Page_VisualElement { - if m != nil { - return m.VisualElements - } - return nil -} - -func (m *Document_Page) GetTables() []*Document_Page_Table { - if m != nil { - return m.Tables - } - return nil -} - -func (m *Document_Page) GetFormFields() []*Document_Page_FormField { - if m != nil { - return m.FormFields - } - return nil -} - -// Dimension for the page. -type Document_Page_Dimension struct { - // Page width. - Width float32 `protobuf:"fixed32,1,opt,name=width,proto3" json:"width,omitempty"` - // Page height. - Height float32 `protobuf:"fixed32,2,opt,name=height,proto3" json:"height,omitempty"` - // Dimension unit. - Unit string `protobuf:"bytes,3,opt,name=unit,proto3" json:"unit,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Document_Page_Dimension) Reset() { *m = Document_Page_Dimension{} } -func (m *Document_Page_Dimension) String() string { return proto.CompactTextString(m) } -func (*Document_Page_Dimension) ProtoMessage() {} -func (*Document_Page_Dimension) Descriptor() ([]byte, []int) { - return fileDescriptor_07bede50bbb985b1, []int{0, 2, 0} -} - -func (m *Document_Page_Dimension) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Document_Page_Dimension.Unmarshal(m, b) -} -func (m *Document_Page_Dimension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Document_Page_Dimension.Marshal(b, m, deterministic) -} -func (m *Document_Page_Dimension) XXX_Merge(src proto.Message) { - xxx_messageInfo_Document_Page_Dimension.Merge(m, src) -} -func (m *Document_Page_Dimension) XXX_Size() int { - return xxx_messageInfo_Document_Page_Dimension.Size(m) -} -func (m *Document_Page_Dimension) XXX_DiscardUnknown() { - xxx_messageInfo_Document_Page_Dimension.DiscardUnknown(m) -} - -var xxx_messageInfo_Document_Page_Dimension proto.InternalMessageInfo - -func (m *Document_Page_Dimension) GetWidth() float32 { - if m != nil { - return m.Width - } - return 0 -} - -func (m *Document_Page_Dimension) GetHeight() float32 { - if m != nil { - return m.Height - } - return 0 -} - -func (m *Document_Page_Dimension) GetUnit() string { - if m != nil { - return m.Unit - } - return "" -} - -// Visual element describing a layout unit on a page. -type Document_Page_Layout struct { - // Text anchor indexing into the [Document.text][google.cloud.document.v1beta1.Document.text]. - TextAnchor *Document_TextAnchor `protobuf:"bytes,1,opt,name=text_anchor,json=textAnchor,proto3" json:"text_anchor,omitempty"` - // Confidence of the current [Layout][google.cloud.document.v1beta1.Document.Page.Layout] within context of the object this - // layout is for. e.g. confidence can be for a single token, a table, - // a visual element, etc. depending on context. Range [0, 1]. - Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"` - // The bounding polygon for the [Layout][google.cloud.document.v1beta1.Document.Page.Layout]. - BoundingPoly *BoundingPoly `protobuf:"bytes,3,opt,name=bounding_poly,json=boundingPoly,proto3" json:"bounding_poly,omitempty"` - // Detected orientation for the [Layout][google.cloud.document.v1beta1.Document.Page.Layout]. - Orientation Document_Page_Layout_Orientation `protobuf:"varint,4,opt,name=orientation,proto3,enum=google.cloud.document.v1beta1.Document_Page_Layout_Orientation" json:"orientation,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Document_Page_Layout) Reset() { *m = Document_Page_Layout{} } -func (m *Document_Page_Layout) String() string { return proto.CompactTextString(m) } -func (*Document_Page_Layout) ProtoMessage() {} -func (*Document_Page_Layout) Descriptor() ([]byte, []int) { - return fileDescriptor_07bede50bbb985b1, []int{0, 2, 1} -} - -func (m *Document_Page_Layout) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Document_Page_Layout.Unmarshal(m, b) -} -func (m *Document_Page_Layout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Document_Page_Layout.Marshal(b, m, deterministic) -} -func (m *Document_Page_Layout) XXX_Merge(src proto.Message) { - xxx_messageInfo_Document_Page_Layout.Merge(m, src) -} -func (m *Document_Page_Layout) XXX_Size() int { - return xxx_messageInfo_Document_Page_Layout.Size(m) -} -func (m *Document_Page_Layout) XXX_DiscardUnknown() { - xxx_messageInfo_Document_Page_Layout.DiscardUnknown(m) -} - -var xxx_messageInfo_Document_Page_Layout proto.InternalMessageInfo - -func (m *Document_Page_Layout) GetTextAnchor() *Document_TextAnchor { - if m != nil { - return m.TextAnchor - } - return nil -} - -func (m *Document_Page_Layout) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -func (m *Document_Page_Layout) GetBoundingPoly() *BoundingPoly { - if m != nil { - return m.BoundingPoly - } - return nil -} - -func (m *Document_Page_Layout) GetOrientation() Document_Page_Layout_Orientation { - if m != nil { - return m.Orientation - } - return Document_Page_Layout_ORIENTATION_UNSPECIFIED -} - -// A block has a set of lines (collected into paragraphs) that have a -// common line-spacing and orientation. -type Document_Page_Block struct { - // [Layout][google.cloud.document.v1beta1.Document.Page.Layout] for [Block][google.cloud.document.v1beta1.Document.Page.Block]. - Layout *Document_Page_Layout `protobuf:"bytes,1,opt,name=layout,proto3" json:"layout,omitempty"` - // A list of detected languages together with confidence. - DetectedLanguages []*Document_Page_DetectedLanguage `protobuf:"bytes,2,rep,name=detected_languages,json=detectedLanguages,proto3" json:"detected_languages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Document_Page_Block) Reset() { *m = Document_Page_Block{} } -func (m *Document_Page_Block) String() string { return proto.CompactTextString(m) } -func (*Document_Page_Block) ProtoMessage() {} -func (*Document_Page_Block) Descriptor() ([]byte, []int) { - return fileDescriptor_07bede50bbb985b1, []int{0, 2, 2} -} - -func (m *Document_Page_Block) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Document_Page_Block.Unmarshal(m, b) -} -func (m *Document_Page_Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Document_Page_Block.Marshal(b, m, deterministic) -} -func (m *Document_Page_Block) XXX_Merge(src proto.Message) { - xxx_messageInfo_Document_Page_Block.Merge(m, src) -} -func (m *Document_Page_Block) XXX_Size() int { - return xxx_messageInfo_Document_Page_Block.Size(m) -} -func (m *Document_Page_Block) XXX_DiscardUnknown() { - xxx_messageInfo_Document_Page_Block.DiscardUnknown(m) -} - -var xxx_messageInfo_Document_Page_Block proto.InternalMessageInfo - -func (m *Document_Page_Block) GetLayout() *Document_Page_Layout { - if m != nil { - return m.Layout - } - return nil -} - -func (m *Document_Page_Block) GetDetectedLanguages() []*Document_Page_DetectedLanguage { - if m != nil { - return m.DetectedLanguages - } - return nil -} - -// A collection of lines that a human would perceive as a paragraph. -type Document_Page_Paragraph struct { - // [Layout][google.cloud.document.v1beta1.Document.Page.Layout] for [Paragraph][google.cloud.document.v1beta1.Document.Page.Paragraph]. - Layout *Document_Page_Layout `protobuf:"bytes,1,opt,name=layout,proto3" json:"layout,omitempty"` - // A list of detected languages together with confidence. - DetectedLanguages []*Document_Page_DetectedLanguage `protobuf:"bytes,2,rep,name=detected_languages,json=detectedLanguages,proto3" json:"detected_languages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Document_Page_Paragraph) Reset() { *m = Document_Page_Paragraph{} } -func (m *Document_Page_Paragraph) String() string { return proto.CompactTextString(m) } -func (*Document_Page_Paragraph) ProtoMessage() {} -func (*Document_Page_Paragraph) Descriptor() ([]byte, []int) { - return fileDescriptor_07bede50bbb985b1, []int{0, 2, 3} -} - -func (m *Document_Page_Paragraph) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Document_Page_Paragraph.Unmarshal(m, b) -} -func (m *Document_Page_Paragraph) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Document_Page_Paragraph.Marshal(b, m, deterministic) -} -func (m *Document_Page_Paragraph) XXX_Merge(src proto.Message) { - xxx_messageInfo_Document_Page_Paragraph.Merge(m, src) -} -func (m *Document_Page_Paragraph) XXX_Size() int { - return xxx_messageInfo_Document_Page_Paragraph.Size(m) -} -func (m *Document_Page_Paragraph) XXX_DiscardUnknown() { - xxx_messageInfo_Document_Page_Paragraph.DiscardUnknown(m) -} - -var xxx_messageInfo_Document_Page_Paragraph proto.InternalMessageInfo - -func (m *Document_Page_Paragraph) GetLayout() *Document_Page_Layout { - if m != nil { - return m.Layout - } - return nil -} - -func (m *Document_Page_Paragraph) GetDetectedLanguages() []*Document_Page_DetectedLanguage { - if m != nil { - return m.DetectedLanguages - } - return nil -} - -// A collection of tokens that a human would perceive as a line. -// Does not cross column boundaries, can be horizontal, vertical, etc. -type Document_Page_Line struct { - // [Layout][google.cloud.document.v1beta1.Document.Page.Layout] for [Line][google.cloud.document.v1beta1.Document.Page.Line]. - Layout *Document_Page_Layout `protobuf:"bytes,1,opt,name=layout,proto3" json:"layout,omitempty"` - // A list of detected languages together with confidence. - DetectedLanguages []*Document_Page_DetectedLanguage `protobuf:"bytes,2,rep,name=detected_languages,json=detectedLanguages,proto3" json:"detected_languages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Document_Page_Line) Reset() { *m = Document_Page_Line{} } -func (m *Document_Page_Line) String() string { return proto.CompactTextString(m) } -func (*Document_Page_Line) ProtoMessage() {} -func (*Document_Page_Line) Descriptor() ([]byte, []int) { - return fileDescriptor_07bede50bbb985b1, []int{0, 2, 4} -} - -func (m *Document_Page_Line) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Document_Page_Line.Unmarshal(m, b) -} -func (m *Document_Page_Line) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Document_Page_Line.Marshal(b, m, deterministic) -} -func (m *Document_Page_Line) XXX_Merge(src proto.Message) { - xxx_messageInfo_Document_Page_Line.Merge(m, src) -} -func (m *Document_Page_Line) XXX_Size() int { - return xxx_messageInfo_Document_Page_Line.Size(m) -} -func (m *Document_Page_Line) XXX_DiscardUnknown() { - xxx_messageInfo_Document_Page_Line.DiscardUnknown(m) -} - -var xxx_messageInfo_Document_Page_Line proto.InternalMessageInfo - -func (m *Document_Page_Line) GetLayout() *Document_Page_Layout { - if m != nil { - return m.Layout - } - return nil -} - -func (m *Document_Page_Line) GetDetectedLanguages() []*Document_Page_DetectedLanguage { - if m != nil { - return m.DetectedLanguages - } - return nil -} - -// A detected token. -type Document_Page_Token struct { - // [Layout][google.cloud.document.v1beta1.Document.Page.Layout] for [Token][google.cloud.document.v1beta1.Document.Page.Token]. - Layout *Document_Page_Layout `protobuf:"bytes,1,opt,name=layout,proto3" json:"layout,omitempty"` - // Detected break at the end of a [Token][google.cloud.document.v1beta1.Document.Page.Token]. - DetectedBreak *Document_Page_Token_DetectedBreak `protobuf:"bytes,2,opt,name=detected_break,json=detectedBreak,proto3" json:"detected_break,omitempty"` - // A list of detected languages together with confidence. - DetectedLanguages []*Document_Page_DetectedLanguage `protobuf:"bytes,3,rep,name=detected_languages,json=detectedLanguages,proto3" json:"detected_languages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Document_Page_Token) Reset() { *m = Document_Page_Token{} } -func (m *Document_Page_Token) String() string { return proto.CompactTextString(m) } -func (*Document_Page_Token) ProtoMessage() {} -func (*Document_Page_Token) Descriptor() ([]byte, []int) { - return fileDescriptor_07bede50bbb985b1, []int{0, 2, 5} -} - -func (m *Document_Page_Token) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Document_Page_Token.Unmarshal(m, b) -} -func (m *Document_Page_Token) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Document_Page_Token.Marshal(b, m, deterministic) -} -func (m *Document_Page_Token) XXX_Merge(src proto.Message) { - xxx_messageInfo_Document_Page_Token.Merge(m, src) -} -func (m *Document_Page_Token) XXX_Size() int { - return xxx_messageInfo_Document_Page_Token.Size(m) -} -func (m *Document_Page_Token) XXX_DiscardUnknown() { - xxx_messageInfo_Document_Page_Token.DiscardUnknown(m) -} - -var xxx_messageInfo_Document_Page_Token proto.InternalMessageInfo - -func (m *Document_Page_Token) GetLayout() *Document_Page_Layout { - if m != nil { - return m.Layout - } - return nil -} - -func (m *Document_Page_Token) GetDetectedBreak() *Document_Page_Token_DetectedBreak { - if m != nil { - return m.DetectedBreak - } - return nil -} - -func (m *Document_Page_Token) GetDetectedLanguages() []*Document_Page_DetectedLanguage { - if m != nil { - return m.DetectedLanguages - } - return nil -} - -// Detected break at the end of a [Token][google.cloud.document.v1beta1.Document.Page.Token]. -type Document_Page_Token_DetectedBreak struct { - // Detected break type. - Type Document_Page_Token_DetectedBreak_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.document.v1beta1.Document_Page_Token_DetectedBreak_Type" json:"type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Document_Page_Token_DetectedBreak) Reset() { *m = Document_Page_Token_DetectedBreak{} } -func (m *Document_Page_Token_DetectedBreak) String() string { return proto.CompactTextString(m) } -func (*Document_Page_Token_DetectedBreak) ProtoMessage() {} -func (*Document_Page_Token_DetectedBreak) Descriptor() ([]byte, []int) { - return fileDescriptor_07bede50bbb985b1, []int{0, 2, 5, 0} -} - -func (m *Document_Page_Token_DetectedBreak) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Document_Page_Token_DetectedBreak.Unmarshal(m, b) -} -func (m *Document_Page_Token_DetectedBreak) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Document_Page_Token_DetectedBreak.Marshal(b, m, deterministic) -} -func (m *Document_Page_Token_DetectedBreak) XXX_Merge(src proto.Message) { - xxx_messageInfo_Document_Page_Token_DetectedBreak.Merge(m, src) -} -func (m *Document_Page_Token_DetectedBreak) XXX_Size() int { - return xxx_messageInfo_Document_Page_Token_DetectedBreak.Size(m) -} -func (m *Document_Page_Token_DetectedBreak) XXX_DiscardUnknown() { - xxx_messageInfo_Document_Page_Token_DetectedBreak.DiscardUnknown(m) -} - -var xxx_messageInfo_Document_Page_Token_DetectedBreak proto.InternalMessageInfo - -func (m *Document_Page_Token_DetectedBreak) GetType() Document_Page_Token_DetectedBreak_Type { - if m != nil { - return m.Type - } - return Document_Page_Token_DetectedBreak_TYPE_UNSPECIFIED -} - -// Detected non-text visual elements e.g. checkbox, signature etc. on the -// page. -type Document_Page_VisualElement struct { - // [Layout][google.cloud.document.v1beta1.Document.Page.Layout] for [Token][google.cloud.document.v1beta1.Document.Page.Token]. - Layout *Document_Page_Layout `protobuf:"bytes,1,opt,name=layout,proto3" json:"layout,omitempty"` - // Type of the [VisualElement][google.cloud.document.v1beta1.Document.Page.VisualElement]. - Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` - // A list of detected languages together with confidence. - DetectedLanguages []*Document_Page_DetectedLanguage `protobuf:"bytes,3,rep,name=detected_languages,json=detectedLanguages,proto3" json:"detected_languages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Document_Page_VisualElement) Reset() { *m = Document_Page_VisualElement{} } -func (m *Document_Page_VisualElement) String() string { return proto.CompactTextString(m) } -func (*Document_Page_VisualElement) ProtoMessage() {} -func (*Document_Page_VisualElement) Descriptor() ([]byte, []int) { - return fileDescriptor_07bede50bbb985b1, []int{0, 2, 6} -} - -func (m *Document_Page_VisualElement) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Document_Page_VisualElement.Unmarshal(m, b) -} -func (m *Document_Page_VisualElement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Document_Page_VisualElement.Marshal(b, m, deterministic) -} -func (m *Document_Page_VisualElement) XXX_Merge(src proto.Message) { - xxx_messageInfo_Document_Page_VisualElement.Merge(m, src) -} -func (m *Document_Page_VisualElement) XXX_Size() int { - return xxx_messageInfo_Document_Page_VisualElement.Size(m) -} -func (m *Document_Page_VisualElement) XXX_DiscardUnknown() { - xxx_messageInfo_Document_Page_VisualElement.DiscardUnknown(m) -} - -var xxx_messageInfo_Document_Page_VisualElement proto.InternalMessageInfo - -func (m *Document_Page_VisualElement) GetLayout() *Document_Page_Layout { - if m != nil { - return m.Layout - } - return nil -} - -func (m *Document_Page_VisualElement) GetType() string { - if m != nil { - return m.Type - } - return "" -} - -func (m *Document_Page_VisualElement) GetDetectedLanguages() []*Document_Page_DetectedLanguage { - if m != nil { - return m.DetectedLanguages - } - return nil -} - -// A table representation similar to HTML table structure. -type Document_Page_Table struct { - // [Layout][google.cloud.document.v1beta1.Document.Page.Layout] for [Table][google.cloud.document.v1beta1.Document.Page.Table]. - Layout *Document_Page_Layout `protobuf:"bytes,1,opt,name=layout,proto3" json:"layout,omitempty"` - // Header rows of the table. - HeaderRows []*Document_Page_Table_TableRow `protobuf:"bytes,2,rep,name=header_rows,json=headerRows,proto3" json:"header_rows,omitempty"` - // Body rows of the table. - BodyRows []*Document_Page_Table_TableRow `protobuf:"bytes,3,rep,name=body_rows,json=bodyRows,proto3" json:"body_rows,omitempty"` - // A list of detected languages together with confidence. - DetectedLanguages []*Document_Page_DetectedLanguage `protobuf:"bytes,4,rep,name=detected_languages,json=detectedLanguages,proto3" json:"detected_languages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Document_Page_Table) Reset() { *m = Document_Page_Table{} } -func (m *Document_Page_Table) String() string { return proto.CompactTextString(m) } -func (*Document_Page_Table) ProtoMessage() {} -func (*Document_Page_Table) Descriptor() ([]byte, []int) { - return fileDescriptor_07bede50bbb985b1, []int{0, 2, 7} -} - -func (m *Document_Page_Table) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Document_Page_Table.Unmarshal(m, b) -} -func (m *Document_Page_Table) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Document_Page_Table.Marshal(b, m, deterministic) -} -func (m *Document_Page_Table) XXX_Merge(src proto.Message) { - xxx_messageInfo_Document_Page_Table.Merge(m, src) -} -func (m *Document_Page_Table) XXX_Size() int { - return xxx_messageInfo_Document_Page_Table.Size(m) -} -func (m *Document_Page_Table) XXX_DiscardUnknown() { - xxx_messageInfo_Document_Page_Table.DiscardUnknown(m) -} - -var xxx_messageInfo_Document_Page_Table proto.InternalMessageInfo - -func (m *Document_Page_Table) GetLayout() *Document_Page_Layout { - if m != nil { - return m.Layout - } - return nil -} - -func (m *Document_Page_Table) GetHeaderRows() []*Document_Page_Table_TableRow { - if m != nil { - return m.HeaderRows - } - return nil -} - -func (m *Document_Page_Table) GetBodyRows() []*Document_Page_Table_TableRow { - if m != nil { - return m.BodyRows - } - return nil -} - -func (m *Document_Page_Table) GetDetectedLanguages() []*Document_Page_DetectedLanguage { - if m != nil { - return m.DetectedLanguages - } - return nil -} - -// A row of table cells. -type Document_Page_Table_TableRow struct { - // Cells that make up this row. - Cells []*Document_Page_Table_TableCell `protobuf:"bytes,1,rep,name=cells,proto3" json:"cells,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Document_Page_Table_TableRow) Reset() { *m = Document_Page_Table_TableRow{} } -func (m *Document_Page_Table_TableRow) String() string { return proto.CompactTextString(m) } -func (*Document_Page_Table_TableRow) ProtoMessage() {} -func (*Document_Page_Table_TableRow) Descriptor() ([]byte, []int) { - return fileDescriptor_07bede50bbb985b1, []int{0, 2, 7, 0} -} - -func (m *Document_Page_Table_TableRow) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Document_Page_Table_TableRow.Unmarshal(m, b) -} -func (m *Document_Page_Table_TableRow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Document_Page_Table_TableRow.Marshal(b, m, deterministic) -} -func (m *Document_Page_Table_TableRow) XXX_Merge(src proto.Message) { - xxx_messageInfo_Document_Page_Table_TableRow.Merge(m, src) -} -func (m *Document_Page_Table_TableRow) XXX_Size() int { - return xxx_messageInfo_Document_Page_Table_TableRow.Size(m) -} -func (m *Document_Page_Table_TableRow) XXX_DiscardUnknown() { - xxx_messageInfo_Document_Page_Table_TableRow.DiscardUnknown(m) -} - -var xxx_messageInfo_Document_Page_Table_TableRow proto.InternalMessageInfo - -func (m *Document_Page_Table_TableRow) GetCells() []*Document_Page_Table_TableCell { - if m != nil { - return m.Cells - } - return nil -} - -// A cell representation inside the table. -type Document_Page_Table_TableCell struct { - // [Layout][google.cloud.document.v1beta1.Document.Page.Layout] for [TableCell][google.cloud.document.v1beta1.Document.Page.Table.TableCell]. - Layout *Document_Page_Layout `protobuf:"bytes,1,opt,name=layout,proto3" json:"layout,omitempty"` - // How many rows this cell spans. - RowSpan int32 `protobuf:"varint,2,opt,name=row_span,json=rowSpan,proto3" json:"row_span,omitempty"` - // How many columns this cell spans. - ColSpan int32 `protobuf:"varint,3,opt,name=col_span,json=colSpan,proto3" json:"col_span,omitempty"` - // A list of detected languages together with confidence. - DetectedLanguages []*Document_Page_DetectedLanguage `protobuf:"bytes,4,rep,name=detected_languages,json=detectedLanguages,proto3" json:"detected_languages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Document_Page_Table_TableCell) Reset() { *m = Document_Page_Table_TableCell{} } -func (m *Document_Page_Table_TableCell) String() string { return proto.CompactTextString(m) } -func (*Document_Page_Table_TableCell) ProtoMessage() {} -func (*Document_Page_Table_TableCell) Descriptor() ([]byte, []int) { - return fileDescriptor_07bede50bbb985b1, []int{0, 2, 7, 1} -} - -func (m *Document_Page_Table_TableCell) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Document_Page_Table_TableCell.Unmarshal(m, b) -} -func (m *Document_Page_Table_TableCell) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Document_Page_Table_TableCell.Marshal(b, m, deterministic) -} -func (m *Document_Page_Table_TableCell) XXX_Merge(src proto.Message) { - xxx_messageInfo_Document_Page_Table_TableCell.Merge(m, src) -} -func (m *Document_Page_Table_TableCell) XXX_Size() int { - return xxx_messageInfo_Document_Page_Table_TableCell.Size(m) -} -func (m *Document_Page_Table_TableCell) XXX_DiscardUnknown() { - xxx_messageInfo_Document_Page_Table_TableCell.DiscardUnknown(m) -} - -var xxx_messageInfo_Document_Page_Table_TableCell proto.InternalMessageInfo - -func (m *Document_Page_Table_TableCell) GetLayout() *Document_Page_Layout { - if m != nil { - return m.Layout - } - return nil -} - -func (m *Document_Page_Table_TableCell) GetRowSpan() int32 { - if m != nil { - return m.RowSpan - } - return 0 -} - -func (m *Document_Page_Table_TableCell) GetColSpan() int32 { - if m != nil { - return m.ColSpan - } - return 0 -} - -func (m *Document_Page_Table_TableCell) GetDetectedLanguages() []*Document_Page_DetectedLanguage { - if m != nil { - return m.DetectedLanguages - } - return nil -} - -// A form field detected on the page. -type Document_Page_FormField struct { - // [Layout][google.cloud.document.v1beta1.Document.Page.Layout] for the [FormField][google.cloud.document.v1beta1.Document.Page.FormField] name. e.g. `Address`, `Email`, - // `Grand total`, `Phone number`, etc. - FieldName *Document_Page_Layout `protobuf:"bytes,1,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"` - // [Layout][google.cloud.document.v1beta1.Document.Page.Layout] for the [FormField][google.cloud.document.v1beta1.Document.Page.FormField] value. - FieldValue *Document_Page_Layout `protobuf:"bytes,2,opt,name=field_value,json=fieldValue,proto3" json:"field_value,omitempty"` - // A list of detected languages for name together with confidence. - NameDetectedLanguages []*Document_Page_DetectedLanguage `protobuf:"bytes,3,rep,name=name_detected_languages,json=nameDetectedLanguages,proto3" json:"name_detected_languages,omitempty"` - // A list of detected languages for value together with confidence. - ValueDetectedLanguages []*Document_Page_DetectedLanguage `protobuf:"bytes,4,rep,name=value_detected_languages,json=valueDetectedLanguages,proto3" json:"value_detected_languages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Document_Page_FormField) Reset() { *m = Document_Page_FormField{} } -func (m *Document_Page_FormField) String() string { return proto.CompactTextString(m) } -func (*Document_Page_FormField) ProtoMessage() {} -func (*Document_Page_FormField) Descriptor() ([]byte, []int) { - return fileDescriptor_07bede50bbb985b1, []int{0, 2, 8} -} - -func (m *Document_Page_FormField) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Document_Page_FormField.Unmarshal(m, b) -} -func (m *Document_Page_FormField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Document_Page_FormField.Marshal(b, m, deterministic) -} -func (m *Document_Page_FormField) XXX_Merge(src proto.Message) { - xxx_messageInfo_Document_Page_FormField.Merge(m, src) -} -func (m *Document_Page_FormField) XXX_Size() int { - return xxx_messageInfo_Document_Page_FormField.Size(m) -} -func (m *Document_Page_FormField) XXX_DiscardUnknown() { - xxx_messageInfo_Document_Page_FormField.DiscardUnknown(m) -} - -var xxx_messageInfo_Document_Page_FormField proto.InternalMessageInfo - -func (m *Document_Page_FormField) GetFieldName() *Document_Page_Layout { - if m != nil { - return m.FieldName - } - return nil -} - -func (m *Document_Page_FormField) GetFieldValue() *Document_Page_Layout { - if m != nil { - return m.FieldValue - } - return nil -} - -func (m *Document_Page_FormField) GetNameDetectedLanguages() []*Document_Page_DetectedLanguage { - if m != nil { - return m.NameDetectedLanguages - } - return nil -} - -func (m *Document_Page_FormField) GetValueDetectedLanguages() []*Document_Page_DetectedLanguage { - if m != nil { - return m.ValueDetectedLanguages - } - return nil -} - -// Detected language for a structural component. -type Document_Page_DetectedLanguage struct { - // 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,1,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // Confidence of detected language. 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 *Document_Page_DetectedLanguage) Reset() { *m = Document_Page_DetectedLanguage{} } -func (m *Document_Page_DetectedLanguage) String() string { return proto.CompactTextString(m) } -func (*Document_Page_DetectedLanguage) ProtoMessage() {} -func (*Document_Page_DetectedLanguage) Descriptor() ([]byte, []int) { - return fileDescriptor_07bede50bbb985b1, []int{0, 2, 9} -} - -func (m *Document_Page_DetectedLanguage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Document_Page_DetectedLanguage.Unmarshal(m, b) -} -func (m *Document_Page_DetectedLanguage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Document_Page_DetectedLanguage.Marshal(b, m, deterministic) -} -func (m *Document_Page_DetectedLanguage) XXX_Merge(src proto.Message) { - xxx_messageInfo_Document_Page_DetectedLanguage.Merge(m, src) -} -func (m *Document_Page_DetectedLanguage) XXX_Size() int { - return xxx_messageInfo_Document_Page_DetectedLanguage.Size(m) -} -func (m *Document_Page_DetectedLanguage) XXX_DiscardUnknown() { - xxx_messageInfo_Document_Page_DetectedLanguage.DiscardUnknown(m) -} - -var xxx_messageInfo_Document_Page_DetectedLanguage proto.InternalMessageInfo - -func (m *Document_Page_DetectedLanguage) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *Document_Page_DetectedLanguage) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -// A phrase in the text that is a known entity type, such as a person, an -// organization, or location. -type Document_Entity struct { - // Provenance of the entity. - // Text anchor indexing into the [Document.text][google.cloud.document.v1beta1.Document.text]. - TextAnchor *Document_TextAnchor `protobuf:"bytes,1,opt,name=text_anchor,json=textAnchor,proto3" json:"text_anchor,omitempty"` - // Entity type from a schema e.g. `Address`. - Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` - // Text value in the document e.g. `1600 Amphitheatre Pkwy`. - MentionText string `protobuf:"bytes,3,opt,name=mention_text,json=mentionText,proto3" json:"mention_text,omitempty"` - // Canonical mention name. This will be a unique value in the entity list - // for this document. - MentionId string `protobuf:"bytes,4,opt,name=mention_id,json=mentionId,proto3" json:"mention_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Document_Entity) Reset() { *m = Document_Entity{} } -func (m *Document_Entity) String() string { return proto.CompactTextString(m) } -func (*Document_Entity) ProtoMessage() {} -func (*Document_Entity) Descriptor() ([]byte, []int) { - return fileDescriptor_07bede50bbb985b1, []int{0, 3} -} - -func (m *Document_Entity) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Document_Entity.Unmarshal(m, b) -} -func (m *Document_Entity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Document_Entity.Marshal(b, m, deterministic) -} -func (m *Document_Entity) XXX_Merge(src proto.Message) { - xxx_messageInfo_Document_Entity.Merge(m, src) -} -func (m *Document_Entity) XXX_Size() int { - return xxx_messageInfo_Document_Entity.Size(m) -} -func (m *Document_Entity) XXX_DiscardUnknown() { - xxx_messageInfo_Document_Entity.DiscardUnknown(m) -} - -var xxx_messageInfo_Document_Entity proto.InternalMessageInfo - -func (m *Document_Entity) GetTextAnchor() *Document_TextAnchor { - if m != nil { - return m.TextAnchor - } - return nil -} - -func (m *Document_Entity) GetType() string { - if m != nil { - return m.Type - } - return "" -} - -func (m *Document_Entity) GetMentionText() string { - if m != nil { - return m.MentionText - } - return "" -} - -func (m *Document_Entity) GetMentionId() string { - if m != nil { - return m.MentionId - } - return "" -} - -// Relationship between [Entities][google.cloud.document.v1beta1.Document.Entity]. -type Document_EntityRelation struct { - // Subject entity mention_id. - SubjectId string `protobuf:"bytes,1,opt,name=subject_id,json=subjectId,proto3" json:"subject_id,omitempty"` - // Object entity mention_id. - ObjectId string `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` - // Relationship description. - Relation string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Document_EntityRelation) Reset() { *m = Document_EntityRelation{} } -func (m *Document_EntityRelation) String() string { return proto.CompactTextString(m) } -func (*Document_EntityRelation) ProtoMessage() {} -func (*Document_EntityRelation) Descriptor() ([]byte, []int) { - return fileDescriptor_07bede50bbb985b1, []int{0, 4} -} - -func (m *Document_EntityRelation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Document_EntityRelation.Unmarshal(m, b) -} -func (m *Document_EntityRelation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Document_EntityRelation.Marshal(b, m, deterministic) -} -func (m *Document_EntityRelation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Document_EntityRelation.Merge(m, src) -} -func (m *Document_EntityRelation) XXX_Size() int { - return xxx_messageInfo_Document_EntityRelation.Size(m) -} -func (m *Document_EntityRelation) XXX_DiscardUnknown() { - xxx_messageInfo_Document_EntityRelation.DiscardUnknown(m) -} - -var xxx_messageInfo_Document_EntityRelation proto.InternalMessageInfo - -func (m *Document_EntityRelation) GetSubjectId() string { - if m != nil { - return m.SubjectId - } - return "" -} - -func (m *Document_EntityRelation) GetObjectId() string { - if m != nil { - return m.ObjectId - } - return "" -} - -func (m *Document_EntityRelation) GetRelation() string { - if m != nil { - return m.Relation - } - return "" -} - -// Text reference indexing into the [Document.text][google.cloud.document.v1beta1.Document.text]. -type Document_TextAnchor struct { - // The text segments from the [Document.text][google.cloud.document.v1beta1.Document.text]. - TextSegments []*Document_TextAnchor_TextSegment `protobuf:"bytes,1,rep,name=text_segments,json=textSegments,proto3" json:"text_segments,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Document_TextAnchor) Reset() { *m = Document_TextAnchor{} } -func (m *Document_TextAnchor) String() string { return proto.CompactTextString(m) } -func (*Document_TextAnchor) ProtoMessage() {} -func (*Document_TextAnchor) Descriptor() ([]byte, []int) { - return fileDescriptor_07bede50bbb985b1, []int{0, 5} -} - -func (m *Document_TextAnchor) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Document_TextAnchor.Unmarshal(m, b) -} -func (m *Document_TextAnchor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Document_TextAnchor.Marshal(b, m, deterministic) -} -func (m *Document_TextAnchor) XXX_Merge(src proto.Message) { - xxx_messageInfo_Document_TextAnchor.Merge(m, src) -} -func (m *Document_TextAnchor) XXX_Size() int { - return xxx_messageInfo_Document_TextAnchor.Size(m) -} -func (m *Document_TextAnchor) XXX_DiscardUnknown() { - xxx_messageInfo_Document_TextAnchor.DiscardUnknown(m) -} - -var xxx_messageInfo_Document_TextAnchor proto.InternalMessageInfo - -func (m *Document_TextAnchor) GetTextSegments() []*Document_TextAnchor_TextSegment { - if m != nil { - return m.TextSegments - } - return nil -} - -// A text segment in the [Document.text][google.cloud.document.v1beta1.Document.text]. The indices may be out of bounds -// which indicate that the text extends into another document shard for -// large sharded documents. See [ShardInfo.text_offset][google.cloud.document.v1beta1.Document.ShardInfo.text_offset] -type Document_TextAnchor_TextSegment struct { - // [TextSegment][google.cloud.document.v1beta1.Document.TextAnchor.TextSegment] start UTF-8 char index in the [Document.text][google.cloud.document.v1beta1.Document.text]. - StartIndex int64 `protobuf:"varint,1,opt,name=start_index,json=startIndex,proto3" json:"start_index,omitempty"` - // [TextSegment][google.cloud.document.v1beta1.Document.TextAnchor.TextSegment] half open end UTF-8 char index in the - // [Document.text][google.cloud.document.v1beta1.Document.text]. - EndIndex int64 `protobuf:"varint,2,opt,name=end_index,json=endIndex,proto3" json:"end_index,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Document_TextAnchor_TextSegment) Reset() { *m = Document_TextAnchor_TextSegment{} } -func (m *Document_TextAnchor_TextSegment) String() string { return proto.CompactTextString(m) } -func (*Document_TextAnchor_TextSegment) ProtoMessage() {} -func (*Document_TextAnchor_TextSegment) Descriptor() ([]byte, []int) { - return fileDescriptor_07bede50bbb985b1, []int{0, 5, 0} -} - -func (m *Document_TextAnchor_TextSegment) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Document_TextAnchor_TextSegment.Unmarshal(m, b) -} -func (m *Document_TextAnchor_TextSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Document_TextAnchor_TextSegment.Marshal(b, m, deterministic) -} -func (m *Document_TextAnchor_TextSegment) XXX_Merge(src proto.Message) { - xxx_messageInfo_Document_TextAnchor_TextSegment.Merge(m, src) -} -func (m *Document_TextAnchor_TextSegment) XXX_Size() int { - return xxx_messageInfo_Document_TextAnchor_TextSegment.Size(m) -} -func (m *Document_TextAnchor_TextSegment) XXX_DiscardUnknown() { - xxx_messageInfo_Document_TextAnchor_TextSegment.DiscardUnknown(m) -} - -var xxx_messageInfo_Document_TextAnchor_TextSegment proto.InternalMessageInfo - -func (m *Document_TextAnchor_TextSegment) GetStartIndex() int64 { - if m != nil { - return m.StartIndex - } - return 0 -} - -func (m *Document_TextAnchor_TextSegment) GetEndIndex() int64 { - if m != nil { - return m.EndIndex - } - return 0 -} - -func init() { - proto.RegisterEnum("google.cloud.document.v1beta1.Document_Page_Layout_Orientation", Document_Page_Layout_Orientation_name, Document_Page_Layout_Orientation_value) - proto.RegisterEnum("google.cloud.document.v1beta1.Document_Page_Token_DetectedBreak_Type", Document_Page_Token_DetectedBreak_Type_name, Document_Page_Token_DetectedBreak_Type_value) - proto.RegisterType((*Document)(nil), "google.cloud.document.v1beta1.Document") - proto.RegisterType((*Document_ShardInfo)(nil), "google.cloud.document.v1beta1.Document.ShardInfo") - proto.RegisterType((*Document_Style)(nil), "google.cloud.document.v1beta1.Document.Style") - proto.RegisterType((*Document_Style_FontSize)(nil), "google.cloud.document.v1beta1.Document.Style.FontSize") - proto.RegisterType((*Document_Page)(nil), "google.cloud.document.v1beta1.Document.Page") - proto.RegisterType((*Document_Page_Dimension)(nil), "google.cloud.document.v1beta1.Document.Page.Dimension") - proto.RegisterType((*Document_Page_Layout)(nil), "google.cloud.document.v1beta1.Document.Page.Layout") - proto.RegisterType((*Document_Page_Block)(nil), "google.cloud.document.v1beta1.Document.Page.Block") - proto.RegisterType((*Document_Page_Paragraph)(nil), "google.cloud.document.v1beta1.Document.Page.Paragraph") - proto.RegisterType((*Document_Page_Line)(nil), "google.cloud.document.v1beta1.Document.Page.Line") - proto.RegisterType((*Document_Page_Token)(nil), "google.cloud.document.v1beta1.Document.Page.Token") - proto.RegisterType((*Document_Page_Token_DetectedBreak)(nil), "google.cloud.document.v1beta1.Document.Page.Token.DetectedBreak") - proto.RegisterType((*Document_Page_VisualElement)(nil), "google.cloud.document.v1beta1.Document.Page.VisualElement") - proto.RegisterType((*Document_Page_Table)(nil), "google.cloud.document.v1beta1.Document.Page.Table") - proto.RegisterType((*Document_Page_Table_TableRow)(nil), "google.cloud.document.v1beta1.Document.Page.Table.TableRow") - proto.RegisterType((*Document_Page_Table_TableCell)(nil), "google.cloud.document.v1beta1.Document.Page.Table.TableCell") - proto.RegisterType((*Document_Page_FormField)(nil), "google.cloud.document.v1beta1.Document.Page.FormField") - proto.RegisterType((*Document_Page_DetectedLanguage)(nil), "google.cloud.document.v1beta1.Document.Page.DetectedLanguage") - proto.RegisterType((*Document_Entity)(nil), "google.cloud.document.v1beta1.Document.Entity") - proto.RegisterType((*Document_EntityRelation)(nil), "google.cloud.document.v1beta1.Document.EntityRelation") - proto.RegisterType((*Document_TextAnchor)(nil), "google.cloud.document.v1beta1.Document.TextAnchor") - proto.RegisterType((*Document_TextAnchor_TextSegment)(nil), "google.cloud.document.v1beta1.Document.TextAnchor.TextSegment") -} - -func init() { - proto.RegisterFile("google/cloud/document/v1beta1/document.proto", fileDescriptor_07bede50bbb985b1) -} - -var fileDescriptor_07bede50bbb985b1 = []byte{ - // 1606 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x58, 0x4f, 0x6f, 0xdb, 0x46, - 0x16, 0x0f, 0x4d, 0x49, 0x16, 0x9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, 0x65, 0x63, 0x85, 0xf4, 0xe5, 0x17, - 0xa1, 0xa4, 0xa2, 0xff, 0xcd, 0xbe, 0x4b, 0x62, 0xd8, 0x96, 0x30, 0x78, 0x81, 0x1d, 0x4f, 0x62, - 0xeb, 0x31, 0x94, 0xa6, 0x94, 0xa2, 0xef, 0xc5, 0x9c, 0x88, 0x9d, 0x6a, 0x8c, 0x71, 0x91, 0x6c, - 0x8c, 0x2d, 0x83, 0x41, 0xc2, 0xb4, 0x6f, 0x26, 0xdb, 0x62, 0x45, 0x12, 0xca, 0xae, 0xd9, 0x66, - 0x11, 0x0a, 0x31, 0x4d, 0x22, 0x97, 0x6c, 0x7e, 0x01, 0xb7, 0x5c, 0x3a, 0x7c, 0x7d, 0xa4, 0x9b, - 0xe5, 0x34, 0xd4, 0x56, 0x44, 0x19, 0x6d, 0x69, 0x9f, 0xd4, 0x95, 0x7d, 0x9f, 0xf2, 0x7b, 0x55, - 0xa5, 0x51, 0xbf, 0xd6, 0x27, 0xa1, 0x68, 0xf6, 0xd6, 0xa4, 0xca, 0x19, 0xf9, 0xf1, 0x2b, 0xba, - 0xcd, 0x0f, 0x52, 0x41, 0xb7, 0x20, 0x3c, 0xee, 0xfd, 0x11, 0x00, 0x00, 0xff, 0xff, 0xe8, 0x00, - 0x04, 0xb9, 0xeb, 0x16, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/document/v1beta1/document_understanding.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/document/v1beta1/document_understanding.pb.go deleted file mode 100644 index 75212264..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/document/v1beta1/document_understanding.pb.go +++ /dev/null @@ -1,1170 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/document/v1beta1/document_understanding.proto - -package document - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -type OperationMetadata_State int32 - -const ( - // The default value. This value is used if the state is omitted. - OperationMetadata_STATE_UNSPECIFIED OperationMetadata_State = 0 - // Request is received. - OperationMetadata_ACCEPTED OperationMetadata_State = 1 - // Request operation is waiting for scheduling. - OperationMetadata_WAITING OperationMetadata_State = 2 - // Request is being processed. - OperationMetadata_RUNNING OperationMetadata_State = 3 - // The batch processing completed successfully. - OperationMetadata_SUCCEEDED OperationMetadata_State = 4 - // The batch processing was cancelled. - OperationMetadata_CANCELLED OperationMetadata_State = 5 -) - -var OperationMetadata_State_name = map[int32]string{ - 0: "STATE_UNSPECIFIED", - 1: "ACCEPTED", - 2: "WAITING", - 3: "RUNNING", - 4: "SUCCEEDED", - 5: "CANCELLED", -} - -var OperationMetadata_State_value = map[string]int32{ - "STATE_UNSPECIFIED": 0, - "ACCEPTED": 1, - "WAITING": 2, - "RUNNING": 3, - "SUCCEEDED": 4, - "CANCELLED": 5, -} - -func (x OperationMetadata_State) String() string { - return proto.EnumName(OperationMetadata_State_name, int32(x)) -} - -func (OperationMetadata_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7869e0c1a97d627c, []int{14, 0} -} - -// Request to batch process documents as an asynchronous operation. -type BatchProcessDocumentsRequest struct { - // Individual requests for each document. - Requests []*ProcessDocumentRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` - // Target project and location to make a call. - // - // Format: `projects/{project-id}/locations/{location-id}`. - // - // If no location is specified, a region will be chosen automatically. - Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchProcessDocumentsRequest) Reset() { *m = BatchProcessDocumentsRequest{} } -func (m *BatchProcessDocumentsRequest) String() string { return proto.CompactTextString(m) } -func (*BatchProcessDocumentsRequest) ProtoMessage() {} -func (*BatchProcessDocumentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7869e0c1a97d627c, []int{0} -} - -func (m *BatchProcessDocumentsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchProcessDocumentsRequest.Unmarshal(m, b) -} -func (m *BatchProcessDocumentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchProcessDocumentsRequest.Marshal(b, m, deterministic) -} -func (m *BatchProcessDocumentsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchProcessDocumentsRequest.Merge(m, src) -} -func (m *BatchProcessDocumentsRequest) XXX_Size() int { - return xxx_messageInfo_BatchProcessDocumentsRequest.Size(m) -} -func (m *BatchProcessDocumentsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchProcessDocumentsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchProcessDocumentsRequest proto.InternalMessageInfo - -func (m *BatchProcessDocumentsRequest) GetRequests() []*ProcessDocumentRequest { - if m != nil { - return m.Requests - } - return nil -} - -func (m *BatchProcessDocumentsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -// Request to process one document. -type ProcessDocumentRequest struct { - // Required. Information about the input file. - InputConfig *InputConfig `protobuf:"bytes,1,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"` - // Required. The desired output location. - OutputConfig *OutputConfig `protobuf:"bytes,2,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"` - // Specifies a known document type for deeper structure detection. Valid - // values are currently "general" and "invoice". If not provided, "general"\ - // is used as default. If any other value is given, the request is rejected. - DocumentType string `protobuf:"bytes,3,opt,name=document_type,json=documentType,proto3" json:"document_type,omitempty"` - // Controls table extraction behavior. If not specified, the system will - // decide reasonable defaults. - TableExtractionParams *TableExtractionParams `protobuf:"bytes,4,opt,name=table_extraction_params,json=tableExtractionParams,proto3" json:"table_extraction_params,omitempty"` - // Controls form extraction behavior. If not specified, the system will - // decide reasonable defaults. - FormExtractionParams *FormExtractionParams `protobuf:"bytes,5,opt,name=form_extraction_params,json=formExtractionParams,proto3" json:"form_extraction_params,omitempty"` - // Controls entity extraction behavior. If not specified, the system will - // decide reasonable defaults. - EntityExtractionParams *EntityExtractionParams `protobuf:"bytes,6,opt,name=entity_extraction_params,json=entityExtractionParams,proto3" json:"entity_extraction_params,omitempty"` - // Controls OCR behavior. If not specified, the system will decide reasonable - // defaults. - OcrParams *OcrParams `protobuf:"bytes,7,opt,name=ocr_params,json=ocrParams,proto3" json:"ocr_params,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ProcessDocumentRequest) Reset() { *m = ProcessDocumentRequest{} } -func (m *ProcessDocumentRequest) String() string { return proto.CompactTextString(m) } -func (*ProcessDocumentRequest) ProtoMessage() {} -func (*ProcessDocumentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7869e0c1a97d627c, []int{1} -} - -func (m *ProcessDocumentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProcessDocumentRequest.Unmarshal(m, b) -} -func (m *ProcessDocumentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProcessDocumentRequest.Marshal(b, m, deterministic) -} -func (m *ProcessDocumentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProcessDocumentRequest.Merge(m, src) -} -func (m *ProcessDocumentRequest) XXX_Size() int { - return xxx_messageInfo_ProcessDocumentRequest.Size(m) -} -func (m *ProcessDocumentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ProcessDocumentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ProcessDocumentRequest proto.InternalMessageInfo - -func (m *ProcessDocumentRequest) GetInputConfig() *InputConfig { - if m != nil { - return m.InputConfig - } - return nil -} - -func (m *ProcessDocumentRequest) GetOutputConfig() *OutputConfig { - if m != nil { - return m.OutputConfig - } - return nil -} - -func (m *ProcessDocumentRequest) GetDocumentType() string { - if m != nil { - return m.DocumentType - } - return "" -} - -func (m *ProcessDocumentRequest) GetTableExtractionParams() *TableExtractionParams { - if m != nil { - return m.TableExtractionParams - } - return nil -} - -func (m *ProcessDocumentRequest) GetFormExtractionParams() *FormExtractionParams { - if m != nil { - return m.FormExtractionParams - } - return nil -} - -func (m *ProcessDocumentRequest) GetEntityExtractionParams() *EntityExtractionParams { - if m != nil { - return m.EntityExtractionParams - } - return nil -} - -func (m *ProcessDocumentRequest) GetOcrParams() *OcrParams { - if m != nil { - return m.OcrParams - } - return nil -} - -// Response to an batch document processing request. This is returned in -// the LRO Operation after the operation is complete. -type BatchProcessDocumentsResponse struct { - // Responses for each individual document. - Responses []*ProcessDocumentResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchProcessDocumentsResponse) Reset() { *m = BatchProcessDocumentsResponse{} } -func (m *BatchProcessDocumentsResponse) String() string { return proto.CompactTextString(m) } -func (*BatchProcessDocumentsResponse) ProtoMessage() {} -func (*BatchProcessDocumentsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7869e0c1a97d627c, []int{2} -} - -func (m *BatchProcessDocumentsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchProcessDocumentsResponse.Unmarshal(m, b) -} -func (m *BatchProcessDocumentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchProcessDocumentsResponse.Marshal(b, m, deterministic) -} -func (m *BatchProcessDocumentsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchProcessDocumentsResponse.Merge(m, src) -} -func (m *BatchProcessDocumentsResponse) XXX_Size() int { - return xxx_messageInfo_BatchProcessDocumentsResponse.Size(m) -} -func (m *BatchProcessDocumentsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BatchProcessDocumentsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchProcessDocumentsResponse proto.InternalMessageInfo - -func (m *BatchProcessDocumentsResponse) GetResponses() []*ProcessDocumentResponse { - if m != nil { - return m.Responses - } - return nil -} - -// Response to a single document processing request. -type ProcessDocumentResponse struct { - // Information about the input file. This is the same as the corresponding - // input config in the request. - InputConfig *InputConfig `protobuf:"bytes,1,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"` - // The output location of the parsed responses. The responses are written to - // this location as JSON-serialized `Document` objects. - 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 *ProcessDocumentResponse) Reset() { *m = ProcessDocumentResponse{} } -func (m *ProcessDocumentResponse) String() string { return proto.CompactTextString(m) } -func (*ProcessDocumentResponse) ProtoMessage() {} -func (*ProcessDocumentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7869e0c1a97d627c, []int{3} -} - -func (m *ProcessDocumentResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProcessDocumentResponse.Unmarshal(m, b) -} -func (m *ProcessDocumentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProcessDocumentResponse.Marshal(b, m, deterministic) -} -func (m *ProcessDocumentResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProcessDocumentResponse.Merge(m, src) -} -func (m *ProcessDocumentResponse) XXX_Size() int { - return xxx_messageInfo_ProcessDocumentResponse.Size(m) -} -func (m *ProcessDocumentResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ProcessDocumentResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ProcessDocumentResponse proto.InternalMessageInfo - -func (m *ProcessDocumentResponse) GetInputConfig() *InputConfig { - if m != nil { - return m.InputConfig - } - return nil -} - -func (m *ProcessDocumentResponse) GetOutputConfig() *OutputConfig { - if m != nil { - return m.OutputConfig - } - return nil -} - -// Parameters to control Optical Character Recognition (OCR) behavior. -type OcrParams struct { - // List of languages to use for OCR. In most cases, an empty value - // yields the best results since it enables automatic language detection. For - // languages based on the Latin alphabet, setting `language_hints` is not - // needed. In rare cases, when the language of the text in the image is known, - // setting a hint will help get better results (although it will be a - // significant hindrance if the hint is wrong). Document processing returns an - // error if one or more of the specified languages is not one of the - // supported languages. - 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 *OcrParams) Reset() { *m = OcrParams{} } -func (m *OcrParams) String() string { return proto.CompactTextString(m) } -func (*OcrParams) ProtoMessage() {} -func (*OcrParams) Descriptor() ([]byte, []int) { - return fileDescriptor_7869e0c1a97d627c, []int{4} -} - -func (m *OcrParams) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OcrParams.Unmarshal(m, b) -} -func (m *OcrParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OcrParams.Marshal(b, m, deterministic) -} -func (m *OcrParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_OcrParams.Merge(m, src) -} -func (m *OcrParams) XXX_Size() int { - return xxx_messageInfo_OcrParams.Size(m) -} -func (m *OcrParams) XXX_DiscardUnknown() { - xxx_messageInfo_OcrParams.DiscardUnknown(m) -} - -var xxx_messageInfo_OcrParams proto.InternalMessageInfo - -func (m *OcrParams) GetLanguageHints() []string { - if m != nil { - return m.LanguageHints - } - return nil -} - -// Parameters to control table extraction behavior. -type TableExtractionParams struct { - // Whether to enable table extraction. - Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` - // Optional. Table bounding box hints that can be provided to complex cases - // which our algorithm cannot locate the table(s) in. - TableBoundHints []*TableBoundHint `protobuf:"bytes,2,rep,name=table_bound_hints,json=tableBoundHints,proto3" json:"table_bound_hints,omitempty"` - // Optional. Table header hints. The extraction will bias towards producing - // these terms as table headers, which may improve accuracy. - HeaderHints []string `protobuf:"bytes,3,rep,name=header_hints,json=headerHints,proto3" json:"header_hints,omitempty"` - // Model version of the table extraction system. Default is "builtin/stable". - // Specify "builtin/latest" for the latest model. - ModelVersion string `protobuf:"bytes,4,opt,name=model_version,json=modelVersion,proto3" json:"model_version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TableExtractionParams) Reset() { *m = TableExtractionParams{} } -func (m *TableExtractionParams) String() string { return proto.CompactTextString(m) } -func (*TableExtractionParams) ProtoMessage() {} -func (*TableExtractionParams) Descriptor() ([]byte, []int) { - return fileDescriptor_7869e0c1a97d627c, []int{5} -} - -func (m *TableExtractionParams) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TableExtractionParams.Unmarshal(m, b) -} -func (m *TableExtractionParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TableExtractionParams.Marshal(b, m, deterministic) -} -func (m *TableExtractionParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_TableExtractionParams.Merge(m, src) -} -func (m *TableExtractionParams) XXX_Size() int { - return xxx_messageInfo_TableExtractionParams.Size(m) -} -func (m *TableExtractionParams) XXX_DiscardUnknown() { - xxx_messageInfo_TableExtractionParams.DiscardUnknown(m) -} - -var xxx_messageInfo_TableExtractionParams proto.InternalMessageInfo - -func (m *TableExtractionParams) GetEnabled() bool { - if m != nil { - return m.Enabled - } - return false -} - -func (m *TableExtractionParams) GetTableBoundHints() []*TableBoundHint { - if m != nil { - return m.TableBoundHints - } - return nil -} - -func (m *TableExtractionParams) GetHeaderHints() []string { - if m != nil { - return m.HeaderHints - } - return nil -} - -func (m *TableExtractionParams) GetModelVersion() string { - if m != nil { - return m.ModelVersion - } - return "" -} - -// A hint for a table bounding box on the page for table parsing. -type TableBoundHint struct { - // Optional page number for multi-paged inputs this hint applies to. If not - // provided, this hint will apply to all pages by default. This value is - // 1-based. - PageNumber int32 `protobuf:"varint,1,opt,name=page_number,json=pageNumber,proto3" json:"page_number,omitempty"` - // Bounding box hint for a table on this page. The coordinates must be - // normalized to [0,1] and the bounding box must be an axis-aligned rectangle. - BoundingBox *BoundingPoly `protobuf:"bytes,2,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TableBoundHint) Reset() { *m = TableBoundHint{} } -func (m *TableBoundHint) String() string { return proto.CompactTextString(m) } -func (*TableBoundHint) ProtoMessage() {} -func (*TableBoundHint) Descriptor() ([]byte, []int) { - return fileDescriptor_7869e0c1a97d627c, []int{6} -} - -func (m *TableBoundHint) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TableBoundHint.Unmarshal(m, b) -} -func (m *TableBoundHint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TableBoundHint.Marshal(b, m, deterministic) -} -func (m *TableBoundHint) XXX_Merge(src proto.Message) { - xxx_messageInfo_TableBoundHint.Merge(m, src) -} -func (m *TableBoundHint) XXX_Size() int { - return xxx_messageInfo_TableBoundHint.Size(m) -} -func (m *TableBoundHint) XXX_DiscardUnknown() { - xxx_messageInfo_TableBoundHint.DiscardUnknown(m) -} - -var xxx_messageInfo_TableBoundHint proto.InternalMessageInfo - -func (m *TableBoundHint) GetPageNumber() int32 { - if m != nil { - return m.PageNumber - } - return 0 -} - -func (m *TableBoundHint) GetBoundingBox() *BoundingPoly { - if m != nil { - return m.BoundingBox - } - return nil -} - -// Parameters to control form extraction behavior. -type FormExtractionParams struct { - // Whether to enable form extraction. - Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` - // User can provide pairs of (key text, value type) to improve the parsing - // result. - // - // For example, if a document has a field called "Date" that holds a date - // value and a field called "Amount" that may hold either a currency value - // (e.g., "$500.00") or a simple number value (e.g., "20"), you could use the - // following hints: [ {"key": "Date", value_types: [ "DATE"]}, {"key": - // "Amount", "value_types": [ "PRICE", "NUMBER" ]} ] - // - // If the value type is unknown, but you want to provide hints for the keys, - // you can leave the value_types field blank. e.g. {"key": "Date", - // "value_types": []} - KeyValuePairHints []*KeyValuePairHint `protobuf:"bytes,2,rep,name=key_value_pair_hints,json=keyValuePairHints,proto3" json:"key_value_pair_hints,omitempty"` - // Model version of the form extraction system. Default is - // "builtin/stable". Specify "builtin/latest" for the latest model. - ModelVersion string `protobuf:"bytes,3,opt,name=model_version,json=modelVersion,proto3" json:"model_version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FormExtractionParams) Reset() { *m = FormExtractionParams{} } -func (m *FormExtractionParams) String() string { return proto.CompactTextString(m) } -func (*FormExtractionParams) ProtoMessage() {} -func (*FormExtractionParams) Descriptor() ([]byte, []int) { - return fileDescriptor_7869e0c1a97d627c, []int{7} -} - -func (m *FormExtractionParams) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FormExtractionParams.Unmarshal(m, b) -} -func (m *FormExtractionParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FormExtractionParams.Marshal(b, m, deterministic) -} -func (m *FormExtractionParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_FormExtractionParams.Merge(m, src) -} -func (m *FormExtractionParams) XXX_Size() int { - return xxx_messageInfo_FormExtractionParams.Size(m) -} -func (m *FormExtractionParams) XXX_DiscardUnknown() { - xxx_messageInfo_FormExtractionParams.DiscardUnknown(m) -} - -var xxx_messageInfo_FormExtractionParams proto.InternalMessageInfo - -func (m *FormExtractionParams) GetEnabled() bool { - if m != nil { - return m.Enabled - } - return false -} - -func (m *FormExtractionParams) GetKeyValuePairHints() []*KeyValuePairHint { - if m != nil { - return m.KeyValuePairHints - } - return nil -} - -func (m *FormExtractionParams) GetModelVersion() string { - if m != nil { - return m.ModelVersion - } - return "" -} - -// User-provided hint for key value pair. -type KeyValuePairHint struct { - // The key text for the hint. - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - // Type of the value. This is case-insensitive, and could be one of: - // ADDRESS, LOCATION, ORGANIZATION, PERSON, PHONE_NUMBER, - // ID, NUMBER, EMAIL, PRICE, TERMS, DATE, NAME. Types not in this list will - // be ignored. - ValueTypes []string `protobuf:"bytes,2,rep,name=value_types,json=valueTypes,proto3" json:"value_types,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *KeyValuePairHint) Reset() { *m = KeyValuePairHint{} } -func (m *KeyValuePairHint) String() string { return proto.CompactTextString(m) } -func (*KeyValuePairHint) ProtoMessage() {} -func (*KeyValuePairHint) Descriptor() ([]byte, []int) { - return fileDescriptor_7869e0c1a97d627c, []int{8} -} - -func (m *KeyValuePairHint) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_KeyValuePairHint.Unmarshal(m, b) -} -func (m *KeyValuePairHint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_KeyValuePairHint.Marshal(b, m, deterministic) -} -func (m *KeyValuePairHint) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeyValuePairHint.Merge(m, src) -} -func (m *KeyValuePairHint) XXX_Size() int { - return xxx_messageInfo_KeyValuePairHint.Size(m) -} -func (m *KeyValuePairHint) XXX_DiscardUnknown() { - xxx_messageInfo_KeyValuePairHint.DiscardUnknown(m) -} - -var xxx_messageInfo_KeyValuePairHint proto.InternalMessageInfo - -func (m *KeyValuePairHint) GetKey() string { - if m != nil { - return m.Key - } - return "" -} - -func (m *KeyValuePairHint) GetValueTypes() []string { - if m != nil { - return m.ValueTypes - } - return nil -} - -// Parameters to control entity extraction behavior. -type EntityExtractionParams struct { - // Whether to enable entity extraction. - Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` - // Model version of the entity extraction. Default is - // "builtin/stable". Specify "builtin/latest" for the latest model. - ModelVersion string `protobuf:"bytes,2,opt,name=model_version,json=modelVersion,proto3" json:"model_version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *EntityExtractionParams) Reset() { *m = EntityExtractionParams{} } -func (m *EntityExtractionParams) String() string { return proto.CompactTextString(m) } -func (*EntityExtractionParams) ProtoMessage() {} -func (*EntityExtractionParams) Descriptor() ([]byte, []int) { - return fileDescriptor_7869e0c1a97d627c, []int{9} -} - -func (m *EntityExtractionParams) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EntityExtractionParams.Unmarshal(m, b) -} -func (m *EntityExtractionParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EntityExtractionParams.Marshal(b, m, deterministic) -} -func (m *EntityExtractionParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_EntityExtractionParams.Merge(m, src) -} -func (m *EntityExtractionParams) XXX_Size() int { - return xxx_messageInfo_EntityExtractionParams.Size(m) -} -func (m *EntityExtractionParams) XXX_DiscardUnknown() { - xxx_messageInfo_EntityExtractionParams.DiscardUnknown(m) -} - -var xxx_messageInfo_EntityExtractionParams proto.InternalMessageInfo - -func (m *EntityExtractionParams) GetEnabled() bool { - if m != nil { - return m.Enabled - } - return false -} - -func (m *EntityExtractionParams) GetModelVersion() string { - if m != nil { - return m.ModelVersion - } - return "" -} - -// The desired input location and metadata. -type InputConfig struct { - // Types that are valid to be assigned to Source: - // *InputConfig_GcsSource - Source isInputConfig_Source `protobuf_oneof:"source"` - // Mimetype of the input. Current supported mimetypes are application/pdf, - // image/tiff, and image/gif. - MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7869e0c1a97d627c, []int{10} -} - -func (m *InputConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InputConfig.Unmarshal(m, b) -} -func (m *InputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InputConfig.Marshal(b, m, deterministic) -} -func (m *InputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_InputConfig.Merge(m, src) -} -func (m *InputConfig) XXX_Size() int { - return xxx_messageInfo_InputConfig.Size(m) -} -func (m *InputConfig) XXX_DiscardUnknown() { - xxx_messageInfo_InputConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_InputConfig proto.InternalMessageInfo - -type isInputConfig_Source interface { - isInputConfig_Source() -} - -type InputConfig_GcsSource struct { - GcsSource *GcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3,oneof"` -} - -func (*InputConfig_GcsSource) isInputConfig_Source() {} - -func (m *InputConfig) GetSource() isInputConfig_Source { - if m != nil { - return m.Source - } - return nil -} - -func (m *InputConfig) GetGcsSource() *GcsSource { - if x, ok := m.GetSource().(*InputConfig_GcsSource); ok { - return x.GcsSource - } - return nil -} - -func (m *InputConfig) GetMimeType() string { - if m != nil { - return m.MimeType - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*InputConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*InputConfig_GcsSource)(nil), - } -} - -// The desired output location and metadata. -type OutputConfig struct { - // Types that are valid to be assigned to Destination: - // *OutputConfig_GcsDestination - Destination isOutputConfig_Destination `protobuf_oneof:"destination"` - // The max number of pages to include into each output Document shard JSON on - // Google Cloud Storage. - // - // The valid range is [1, 100]. If not specified, the default value is 20. - // - // For example, for one pdf file with 100 pages, 100 parsed pages will be - // produced. If `pages_per_shard` = 20, then 5 Document shard JSON files each - // containing 20 parsed pages will be written under the prefix - // [InputConfig.gcs_destination.uri][] and suffix -pages-x-to-y.json where - // x and y are 1-indexed page numbers. - // - // Example GCS outputs with 157 pages and pages_per_shard = 50: - // - // -pages-001-to-050.json - // -pages-051-to-100.json - // -pages-101-to-150.json - // -pages-151-to-157.json - PagesPerShard int32 `protobuf:"varint,2,opt,name=pages_per_shard,json=pagesPerShard,proto3" json:"pages_per_shard,omitempty"` - 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_7869e0c1a97d627c, []int{11} -} - -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 (m *OutputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_OutputConfig.Merge(m, 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 -} - -func (m *OutputConfig) GetPagesPerShard() int32 { - if m != nil { - return m.PagesPerShard - } - return 0 -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*OutputConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*OutputConfig_GcsDestination)(nil), - } -} - -// The Google Cloud Storage location where the input file will be read from. -type GcsSource struct { - 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 *GcsSource) Reset() { *m = GcsSource{} } -func (m *GcsSource) String() string { return proto.CompactTextString(m) } -func (*GcsSource) ProtoMessage() {} -func (*GcsSource) Descriptor() ([]byte, []int) { - return fileDescriptor_7869e0c1a97d627c, []int{12} -} - -func (m *GcsSource) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GcsSource.Unmarshal(m, b) -} -func (m *GcsSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GcsSource.Marshal(b, m, deterministic) -} -func (m *GcsSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcsSource.Merge(m, src) -} -func (m *GcsSource) XXX_Size() int { - return xxx_messageInfo_GcsSource.Size(m) -} -func (m *GcsSource) XXX_DiscardUnknown() { - xxx_messageInfo_GcsSource.DiscardUnknown(m) -} - -var xxx_messageInfo_GcsSource proto.InternalMessageInfo - -func (m *GcsSource) GetUri() string { - if m != nil { - return m.Uri - } - return "" -} - -// The Google Cloud Storage location where the output file will be written to. -type GcsDestination struct { - 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_7869e0c1a97d627c, []int{13} -} - -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 (m *GcsDestination) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcsDestination.Merge(m, 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 "" -} - -// Contains metadata for the BatchProcessDocuments operation. -type OperationMetadata struct { - // The state of the current batch processing. - State OperationMetadata_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.document.v1beta1.OperationMetadata_State" json:"state,omitempty"` - // A message providing more details about the current state of processing. - StateMessage string `protobuf:"bytes,2,opt,name=state_message,json=stateMessage,proto3" json:"state_message,omitempty"` - // The creation time of the operation. - CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // The last update time of the operation. - 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 *OperationMetadata) Reset() { *m = OperationMetadata{} } -func (m *OperationMetadata) String() string { return proto.CompactTextString(m) } -func (*OperationMetadata) ProtoMessage() {} -func (*OperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_7869e0c1a97d627c, []int{14} -} - -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 (m *OperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperationMetadata.Merge(m, 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) GetState() OperationMetadata_State { - if m != nil { - return m.State - } - return OperationMetadata_STATE_UNSPECIFIED -} - -func (m *OperationMetadata) GetStateMessage() string { - if m != nil { - return m.StateMessage - } - return "" -} - -func (m *OperationMetadata) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *OperationMetadata) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.document.v1beta1.OperationMetadata_State", OperationMetadata_State_name, OperationMetadata_State_value) - proto.RegisterType((*BatchProcessDocumentsRequest)(nil), "google.cloud.document.v1beta1.BatchProcessDocumentsRequest") - proto.RegisterType((*ProcessDocumentRequest)(nil), "google.cloud.document.v1beta1.ProcessDocumentRequest") - proto.RegisterType((*BatchProcessDocumentsResponse)(nil), "google.cloud.document.v1beta1.BatchProcessDocumentsResponse") - proto.RegisterType((*ProcessDocumentResponse)(nil), "google.cloud.document.v1beta1.ProcessDocumentResponse") - proto.RegisterType((*OcrParams)(nil), "google.cloud.document.v1beta1.OcrParams") - proto.RegisterType((*TableExtractionParams)(nil), "google.cloud.document.v1beta1.TableExtractionParams") - proto.RegisterType((*TableBoundHint)(nil), "google.cloud.document.v1beta1.TableBoundHint") - proto.RegisterType((*FormExtractionParams)(nil), "google.cloud.document.v1beta1.FormExtractionParams") - proto.RegisterType((*KeyValuePairHint)(nil), "google.cloud.document.v1beta1.KeyValuePairHint") - proto.RegisterType((*EntityExtractionParams)(nil), "google.cloud.document.v1beta1.EntityExtractionParams") - proto.RegisterType((*InputConfig)(nil), "google.cloud.document.v1beta1.InputConfig") - proto.RegisterType((*OutputConfig)(nil), "google.cloud.document.v1beta1.OutputConfig") - proto.RegisterType((*GcsSource)(nil), "google.cloud.document.v1beta1.GcsSource") - proto.RegisterType((*GcsDestination)(nil), "google.cloud.document.v1beta1.GcsDestination") - proto.RegisterType((*OperationMetadata)(nil), "google.cloud.document.v1beta1.OperationMetadata") -} - -func init() { - proto.RegisterFile("google/cloud/document/v1beta1/document_understanding.proto", fileDescriptor_7869e0c1a97d627c) -} - -var fileDescriptor_7869e0c1a97d627c = []byte{ - // 1247 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0x4f, 0x6f, 0x1b, 0x45, - 0x14, 0xef, 0x3a, 0x7f, 0x1a, 0x3f, 0xdb, 0xa9, 0x33, 0x6a, 0x12, 0x2b, 0x34, 0x6a, 0xbb, 0x15, - 0x28, 0x0a, 0xd4, 0xab, 0xa6, 0x80, 0x50, 0x2a, 0x84, 0x62, 0x7b, 0xdb, 0x46, 0x6d, 0x5d, 0x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, 0x44, 0x99, 0xc2, 0xdc, 0x78, 0xf0, 0xcb, 0xde, 0xfa, 0x68, 0x5f, 0x89, - 0x60, 0x1c, 0xf9, 0xbc, 0xee, 0xd0, 0xe0, 0xd7, 0xbd, 0xfa, 0x91, 0x10, 0x11, 0xdf, 0x35, 0x8c, - 0x17, 0x2f, 0x5e, 0x9c, 0xfa, 0xd1, 0xc0, 0xb1, 0x38, 0x4a, 0x86, 0xf9, 0x9b, 0xd1, 0x00, 0x0b, - 0x39, 0x20, 0x35, 0xbe, 0xd3, 0xe0, 0xba, 0x43, 0x83, 0xe9, 0x55, 0x6b, 0x6c, 0xe4, 0x9e, 0x46, - 0x47, 0xde, 0x95, 0x8e, 0xf6, 0xcc, 0x4c, 0xc9, 0x1e, 0x95, 0x9f, 0xd2, 0x3a, 0x65, 0x9e, 0xe1, - 0x91, 0x50, 0xdd, 0x24, 0xe3, 0x44, 0xc2, 0x39, 0x7f, 0x23, 0xee, 0x64, 0x40, 0x7f, 0x51, 0x31, - 0x6e, 0xff, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x22, 0x42, 0x74, 0x90, 0xf0, 0x0c, 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 - -// DocumentUnderstandingServiceClient is the client API for DocumentUnderstandingService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type DocumentUnderstandingServiceClient interface { - // LRO endpoint to batch process many documents. - BatchProcessDocuments(ctx context.Context, in *BatchProcessDocumentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) -} - -type documentUnderstandingServiceClient struct { - cc *grpc.ClientConn -} - -func NewDocumentUnderstandingServiceClient(cc *grpc.ClientConn) DocumentUnderstandingServiceClient { - return &documentUnderstandingServiceClient{cc} -} - -func (c *documentUnderstandingServiceClient) BatchProcessDocuments(ctx context.Context, in *BatchProcessDocumentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.document.v1beta1.DocumentUnderstandingService/BatchProcessDocuments", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// DocumentUnderstandingServiceServer is the server API for DocumentUnderstandingService service. -type DocumentUnderstandingServiceServer interface { - // LRO endpoint to batch process many documents. - BatchProcessDocuments(context.Context, *BatchProcessDocumentsRequest) (*longrunning.Operation, error) -} - -// UnimplementedDocumentUnderstandingServiceServer can be embedded to have forward compatible implementations. -type UnimplementedDocumentUnderstandingServiceServer struct { -} - -func (*UnimplementedDocumentUnderstandingServiceServer) BatchProcessDocuments(ctx context.Context, req *BatchProcessDocumentsRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method BatchProcessDocuments not implemented") -} - -func RegisterDocumentUnderstandingServiceServer(s *grpc.Server, srv DocumentUnderstandingServiceServer) { - s.RegisterService(&_DocumentUnderstandingService_serviceDesc, srv) -} - -func _DocumentUnderstandingService_BatchProcessDocuments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchProcessDocumentsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DocumentUnderstandingServiceServer).BatchProcessDocuments(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.document.v1beta1.DocumentUnderstandingService/BatchProcessDocuments", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DocumentUnderstandingServiceServer).BatchProcessDocuments(ctx, req.(*BatchProcessDocumentsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _DocumentUnderstandingService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.document.v1beta1.DocumentUnderstandingService", - HandlerType: (*DocumentUnderstandingServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "BatchProcessDocuments", - Handler: _DocumentUnderstandingService_BatchProcessDocuments_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/document/v1beta1/document_understanding.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/document/v1beta1/geometry.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/document/v1beta1/geometry.pb.go deleted file mode 100644 index 325324f9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/document/v1beta1/geometry.pb.go +++ /dev/null @@ -1,208 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/document/v1beta1/geometry.proto - -package document - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A vertex represents a 2D point in the image. -// NOTE: the vertex coordinates are in the same scale as the original image. -type Vertex struct { - // X coordinate. - X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` - // Y coordinate. - Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ff8ad3f7da19b415, []int{0} -} - -func (m *Vertex) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Vertex.Unmarshal(m, b) -} -func (m *Vertex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Vertex.Marshal(b, m, deterministic) -} -func (m *Vertex) XXX_Merge(src proto.Message) { - xxx_messageInfo_Vertex.Merge(m, src) -} -func (m *Vertex) XXX_Size() int { - return xxx_messageInfo_Vertex.Size(m) -} -func (m *Vertex) XXX_DiscardUnknown() { - xxx_messageInfo_Vertex.DiscardUnknown(m) -} - -var xxx_messageInfo_Vertex proto.InternalMessageInfo - -func (m *Vertex) GetX() int32 { - if m != nil { - return m.X - } - return 0 -} - -func (m *Vertex) GetY() int32 { - if m != nil { - return m.Y - } - return 0 -} - -// 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_ff8ad3f7da19b415, []int{1} -} - -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 (m *NormalizedVertex) XXX_Merge(src proto.Message) { - xxx_messageInfo_NormalizedVertex.Merge(m, 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 -} - -// A bounding polygon for the detected image annotation. -type BoundingPoly struct { - // The bounding polygon vertices. - Vertices []*Vertex `protobuf:"bytes,1,rep,name=vertices,proto3" json:"vertices,omitempty"` - // The bounding polygon normalized vertices. - NormalizedVertices []*NormalizedVertex `protobuf:"bytes,2,rep,name=normalized_vertices,json=normalizedVertices,proto3" json:"normalized_vertices,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ff8ad3f7da19b415, []int{2} -} - -func (m *BoundingPoly) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BoundingPoly.Unmarshal(m, b) -} -func (m *BoundingPoly) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BoundingPoly.Marshal(b, m, deterministic) -} -func (m *BoundingPoly) XXX_Merge(src proto.Message) { - xxx_messageInfo_BoundingPoly.Merge(m, src) -} -func (m *BoundingPoly) XXX_Size() int { - return xxx_messageInfo_BoundingPoly.Size(m) -} -func (m *BoundingPoly) XXX_DiscardUnknown() { - xxx_messageInfo_BoundingPoly.DiscardUnknown(m) -} - -var xxx_messageInfo_BoundingPoly proto.InternalMessageInfo - -func (m *BoundingPoly) GetVertices() []*Vertex { - if m != nil { - return m.Vertices - } - return nil -} - -func (m *BoundingPoly) GetNormalizedVertices() []*NormalizedVertex { - if m != nil { - return m.NormalizedVertices - } - return nil -} - -func init() { - proto.RegisterType((*Vertex)(nil), "google.cloud.document.v1beta1.Vertex") - proto.RegisterType((*NormalizedVertex)(nil), "google.cloud.document.v1beta1.NormalizedVertex") - proto.RegisterType((*BoundingPoly)(nil), "google.cloud.document.v1beta1.BoundingPoly") -} - -func init() { - proto.RegisterFile("google/cloud/document/v1beta1/geometry.proto", fileDescriptor_ff8ad3f7da19b415) -} - -var fileDescriptor_ff8ad3f7da19b415 = []byte{ - // 279 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0x41, 0x4b, 0xf3, 0x40, - 0x10, 0x86, 0xd9, 0x7c, 0x7c, 0x45, 0xd6, 0x0a, 0x12, 0x2f, 0x41, 0x14, 0x6a, 0x51, 0xe8, 0x41, - 0x76, 0xa9, 0x1e, 0x3d, 0x19, 0x10, 0x6f, 0x12, 0x72, 0xf0, 0xe0, 0x45, 0xb7, 0xc9, 0xb0, 0x2c, - 0x24, 0x33, 0x61, 0xb3, 0x29, 0x8d, 0xfe, 0x2c, 0xff, 0xa0, 0x24, 0x9b, 0x06, 0x5a, 0xb0, 0x1e, - 0x67, 0xf2, 0xcc, 0x93, 0x97, 0x77, 0xf9, 0xad, 0x26, 0xd2, 0x05, 0xc8, 0xac, 0xa0, 0x26, 0x97, - 0x39, 0x65, 0x4d, 0x09, 0xe8, 0xe4, 0x7a, 0xb9, 0x02, 0xa7, 0x96, 0x52, 0x03, 0x95, 0xe0, 0x6c, - 0x2b, 0x2a, 0x4b, 0x8e, 0xc2, 0x4b, 0x4f, 0x8b, 0x9e, 0x16, 0x5b, 0x5a, 0x0c, 0xf4, 0xf9, 0xc5, - 0x20, 0x53, 0x95, 0x91, 0x0a, 0x91, 0x9c, 0x72, 0x86, 0xb0, 0xf6, 0xc7, 0xf3, 0x6b, 0x3e, 0x79, - 0x05, 0xeb, 0x60, 0x13, 0x4e, 0x39, 0xdb, 0x44, 0x6c, 0xc6, 0x16, 0xff, 0x53, 0xd6, 0x4f, 0x6d, - 0x14, 0xf8, 0xa9, 0x9d, 0x0b, 0x7e, 0xfa, 0x42, 0xb6, 0x54, 0x85, 0xf9, 0x84, 0x7c, 0x9f, 0x0f, - 0x76, 0xf8, 0xa0, 0xe3, 0xbf, 0x19, 0x9f, 0xc6, 0xd4, 0x60, 0x6e, 0x50, 0x27, 0x54, 0xb4, 0xe1, - 0x23, 0x3f, 0x5a, 0x83, 0x75, 0x26, 0x83, 0x3a, 0x62, 0xb3, 0x7f, 0x8b, 0xe3, 0xbb, 0x1b, 0x71, - 0x30, 0xb6, 0xf0, 0x7f, 0x49, 0xc7, 0xb3, 0xf0, 0x83, 0x9f, 0xe1, 0x98, 0xe1, 0x7d, 0xb4, 0x05, - 0xbd, 0x4d, 0xfe, 0x61, 0xdb, 0x4f, 0x9f, 0x86, 0xb8, 0xb3, 0xe9, 0x54, 0xf1, 0x17, 0xbf, 0xca, - 0xa8, 0x3c, 0x6c, 0x8a, 0x4f, 0x9e, 0x87, 0xf6, 0x93, 0xae, 0xbf, 0x84, 0xbd, 0x3d, 0x0d, 0xbc, - 0xa6, 0x42, 0xa1, 0x16, 0x64, 0xb5, 0xd4, 0x80, 0x7d, 0xbb, 0xd2, 0x7f, 0x52, 0x95, 0xa9, 0x7f, - 0x79, 0xcb, 0x87, 0xed, 0x62, 0x35, 0xe9, 0x2f, 0xee, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x72, - 0xf0, 0xe9, 0x8b, 0xfc, 0x01, 0x00, 0x00, -} 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 deleted file mode 100644 index e535405c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/functions/v1beta2/functions.pb.go +++ /dev/null @@ -1,1318 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/functions/v1beta2/functions.proto - -package functions - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - _ "google.golang.org/genproto/googleapis/api/serviceconfig" - longrunning "google.golang.org/genproto/googleapis/longrunning" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Describes the current stage of a deployment. -type CloudFunctionStatus int32 - -const ( - // Status not specified. - CloudFunctionStatus_STATUS_UNSPECIFIED CloudFunctionStatus = 0 - // Successfully deployed. - CloudFunctionStatus_READY CloudFunctionStatus = 1 - // Not deployed correctly - behavior is undefined. The item should be updated - // or deleted to move it out of this state. - CloudFunctionStatus_FAILED CloudFunctionStatus = 2 - // Creation or update in progress. - CloudFunctionStatus_DEPLOYING CloudFunctionStatus = 3 - // Deletion in progress. - CloudFunctionStatus_DELETING CloudFunctionStatus = 4 -) - -var CloudFunctionStatus_name = map[int32]string{ - 0: "STATUS_UNSPECIFIED", - 1: "READY", - 2: "FAILED", - 3: "DEPLOYING", - 4: "DELETING", -} - -var CloudFunctionStatus_value = map[string]int32{ - "STATUS_UNSPECIFIED": 0, - "READY": 1, - "FAILED": 2, - "DEPLOYING": 3, - "DELETING": 4, -} - -func (x CloudFunctionStatus) String() string { - return proto.EnumName(CloudFunctionStatus_name, int32(x)) -} - -func (CloudFunctionStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_61af63f3568f8edb, []int{0} -} - -// Describes a Cloud Function that contains user computation executed in -// response to an event. It encapsulate function and triggers configurations. -type CloudFunction struct { - // A user-defined name of the function. Function names must be unique - // globally and match pattern `projects/*/locations/*/functions/*` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The location of the function source code. - // - // Types that are valid to be assigned to SourceCode: - // *CloudFunction_SourceArchiveUrl - // *CloudFunction_SourceRepository - SourceCode isCloudFunction_SourceCode `protobuf_oneof:"source_code"` - // An event that triggers the function. - // - // Types that are valid to be assigned to Trigger: - // *CloudFunction_HttpsTrigger - // *CloudFunction_EventTrigger - Trigger isCloudFunction_Trigger `protobuf_oneof:"trigger"` - // Output only. Status of the function deployment. - Status CloudFunctionStatus `protobuf:"varint,7,opt,name=status,proto3,enum=google.cloud.functions.v1beta2.CloudFunctionStatus" json:"status,omitempty"` - // Output only. Name of the most recent operation modifying the function. If - // the function status is `DEPLOYING` or `DELETING`, then it points to the - // active operation. - LatestOperation string `protobuf:"bytes,8,opt,name=latest_operation,json=latestOperation,proto3" json:"latest_operation,omitempty"` - // The name of the function (as defined in source code) that will be - // executed. Defaults to the resource name suffix, if not specified. For - // backward compatibility, if function with given name is not found, then the - // system will try to use function named "function". - // For Node.js this is name of a function exported by the module specified - // in `source_location`. - EntryPoint string `protobuf:"bytes,9,opt,name=entry_point,json=entryPoint,proto3" json:"entry_point,omitempty"` - // The function execution timeout. Execution is considered failed and - // can be terminated if the function is not completed at the end of the - // timeout period. Defaults to 60 seconds. - Timeout *duration.Duration `protobuf:"bytes,10,opt,name=timeout,proto3" json:"timeout,omitempty"` - // The amount of memory in MB available for a function. - // Defaults to 256MB. - AvailableMemoryMb int32 `protobuf:"varint,11,opt,name=available_memory_mb,json=availableMemoryMb,proto3" json:"available_memory_mb,omitempty"` - // Output only. The service account of the function. - ServiceAccount string `protobuf:"bytes,13,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` - // Output only. The last update timestamp of a Cloud Function. - UpdateTime *timestamp.Timestamp `protobuf:"bytes,15,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 *CloudFunction) Reset() { *m = CloudFunction{} } -func (m *CloudFunction) String() string { return proto.CompactTextString(m) } -func (*CloudFunction) ProtoMessage() {} -func (*CloudFunction) Descriptor() ([]byte, []int) { - return fileDescriptor_61af63f3568f8edb, []int{0} -} - -func (m *CloudFunction) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CloudFunction.Unmarshal(m, b) -} -func (m *CloudFunction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CloudFunction.Marshal(b, m, deterministic) -} -func (m *CloudFunction) XXX_Merge(src proto.Message) { - xxx_messageInfo_CloudFunction.Merge(m, src) -} -func (m *CloudFunction) XXX_Size() int { - return xxx_messageInfo_CloudFunction.Size(m) -} -func (m *CloudFunction) XXX_DiscardUnknown() { - xxx_messageInfo_CloudFunction.DiscardUnknown(m) -} - -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 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"` -} - -func (*CloudFunction_SourceArchiveUrl) isCloudFunction_SourceCode() {} - -func (*CloudFunction_SourceRepository) isCloudFunction_SourceCode() {} - -func (m *CloudFunction) GetSourceCode() isCloudFunction_SourceCode { - if m != nil { - return m.SourceCode - } - return nil -} - -func (m *CloudFunction) GetSourceArchiveUrl() string { - if x, ok := m.GetSourceCode().(*CloudFunction_SourceArchiveUrl); ok { - return x.SourceArchiveUrl - } - return "" -} - -func (m *CloudFunction) GetSourceRepository() *SourceRepository { - if x, ok := m.GetSourceCode().(*CloudFunction_SourceRepository); ok { - return x.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 - } - return nil -} - -func (m *CloudFunction) GetEventTrigger() *EventTrigger { - if x, ok := m.GetTrigger().(*CloudFunction_EventTrigger); ok { - return x.EventTrigger - } - return nil -} - -func (m *CloudFunction) GetStatus() CloudFunctionStatus { - if m != nil { - return m.Status - } - return CloudFunctionStatus_STATUS_UNSPECIFIED -} - -func (m *CloudFunction) GetLatestOperation() string { - if m != nil { - return m.LatestOperation - } - return "" -} - -func (m *CloudFunction) GetEntryPoint() string { - if m != nil { - return m.EntryPoint - } - return "" -} - -func (m *CloudFunction) GetTimeout() *duration.Duration { - if m != nil { - return m.Timeout - } - return nil -} - -func (m *CloudFunction) GetAvailableMemoryMb() int32 { - if m != nil { - return m.AvailableMemoryMb - } - return 0 -} - -func (m *CloudFunction) GetServiceAccount() string { - if m != nil { - return m.ServiceAccount - } - return "" -} - -func (m *CloudFunction) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CloudFunction) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CloudFunction_SourceArchiveUrl)(nil), - (*CloudFunction_SourceRepository)(nil), - (*CloudFunction_HttpsTrigger)(nil), - (*CloudFunction_EventTrigger)(nil), - } -} - -// Describes HTTPSTrigger, could be used to connect web hooks to function. -type HTTPSTrigger struct { - // Output only. The deployed url for the function. - 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 *HTTPSTrigger) Reset() { *m = HTTPSTrigger{} } -func (m *HTTPSTrigger) String() string { return proto.CompactTextString(m) } -func (*HTTPSTrigger) ProtoMessage() {} -func (*HTTPSTrigger) Descriptor() ([]byte, []int) { - return fileDescriptor_61af63f3568f8edb, []int{1} -} - -func (m *HTTPSTrigger) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HTTPSTrigger.Unmarshal(m, b) -} -func (m *HTTPSTrigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HTTPSTrigger.Marshal(b, m, deterministic) -} -func (m *HTTPSTrigger) XXX_Merge(src proto.Message) { - xxx_messageInfo_HTTPSTrigger.Merge(m, src) -} -func (m *HTTPSTrigger) XXX_Size() int { - return xxx_messageInfo_HTTPSTrigger.Size(m) -} -func (m *HTTPSTrigger) XXX_DiscardUnknown() { - xxx_messageInfo_HTTPSTrigger.DiscardUnknown(m) -} - -var xxx_messageInfo_HTTPSTrigger proto.InternalMessageInfo - -func (m *HTTPSTrigger) GetUrl() string { - if m != nil { - return m.Url - } - return "" -} - -// Describes EventTrigger, used to request events be sent from another -// service. -type EventTrigger struct { - // `event_type` names contain the service that is sending an event and the - // kind of event that was fired. Must be of the form - // `providers/*/eventTypes/*` e.g. Directly handle a Message published to - // Google Cloud Pub/Sub `providers/cloud.pubsub/eventTypes/topic.publish` - // - // Handle an object changing in Google Cloud Storage - // `providers/cloud.storage/eventTypes/object.change` - // - // Handle a write to the Firebase Realtime Database - // `providers/firebase.database/eventTypes/data.write` - EventType string `protobuf:"bytes,1,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"` - // Which instance of the source's service should send events. E.g. for Pub/Sub - // this would be a Pub/Sub topic at `projects/*/topics/*`. For Google Cloud - // Storage this would be a bucket at `projects/*/buckets/*`. For any source - // that only supports one instance per-project, this should be the name of the - // project (`projects/*`) - Resource string `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_61af63f3568f8edb, []int{2} -} - -func (m *EventTrigger) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EventTrigger.Unmarshal(m, b) -} -func (m *EventTrigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EventTrigger.Marshal(b, m, deterministic) -} -func (m *EventTrigger) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventTrigger.Merge(m, src) -} -func (m *EventTrigger) XXX_Size() int { - return xxx_messageInfo_EventTrigger.Size(m) -} -func (m *EventTrigger) XXX_DiscardUnknown() { - xxx_messageInfo_EventTrigger.DiscardUnknown(m) -} - -var xxx_messageInfo_EventTrigger proto.InternalMessageInfo - -func (m *EventTrigger) GetEventType() string { - if m != nil { - return m.EventType - } - return "" -} - -func (m *EventTrigger) GetResource() string { - if m != nil { - return m.Resource - } - return "" -} - -// Describes the location of the function source in a remote repository. -type SourceRepository struct { - // URL to the hosted repository where the function is defined. Only paths in - // https://source.developers.google.com domain are supported. The path should - // contain the name of the repository. - RepositoryUrl string `protobuf:"bytes,1,opt,name=repository_url,json=repositoryUrl,proto3" json:"repository_url,omitempty"` - // The path within the repository where the function is defined. The path - // should point to the directory where Cloud Functions files are located. Use - // "/" if the function is defined directly in the root directory of a - // repository. - SourcePath string `protobuf:"bytes,2,opt,name=source_path,json=sourcePath,proto3" json:"source_path,omitempty"` - // The version of a function. Defaults to the latest version of the master - // branch. - // - // Types that are valid to be assigned to Version: - // *SourceRepository_Branch - // *SourceRepository_Tag - // *SourceRepository_Revision - Version isSourceRepository_Version `protobuf_oneof:"version"` - // Output only. The id of the revision that was resolved at the moment of - // function creation or update. For example when a user deployed from a - // branch, it will be the revision id of the latest change on this branch at - // that time. If user deployed from revision then this value will be always - // equal to the revision specified by the user. - DeployedRevision string `protobuf:"bytes,6,opt,name=deployed_revision,json=deployedRevision,proto3" json:"deployed_revision,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_61af63f3568f8edb, []int{3} -} - -func (m *SourceRepository) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SourceRepository.Unmarshal(m, b) -} -func (m *SourceRepository) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SourceRepository.Marshal(b, m, deterministic) -} -func (m *SourceRepository) XXX_Merge(src proto.Message) { - xxx_messageInfo_SourceRepository.Merge(m, src) -} -func (m *SourceRepository) XXX_Size() int { - return xxx_messageInfo_SourceRepository.Size(m) -} -func (m *SourceRepository) XXX_DiscardUnknown() { - xxx_messageInfo_SourceRepository.DiscardUnknown(m) -} - -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() -} - -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_Revision) isSourceRepository_Version() {} - -func (m *SourceRepository) GetVersion() isSourceRepository_Version { - if m != nil { - return m.Version - } - return nil -} - -func (m *SourceRepository) GetBranch() string { - if x, ok := m.GetVersion().(*SourceRepository_Branch); ok { - return x.Branch - } - return "" -} - -func (m *SourceRepository) GetTag() string { - if x, ok := m.GetVersion().(*SourceRepository_Tag); ok { - return x.Tag - } - return "" -} - -func (m *SourceRepository) GetRevision() string { - if x, ok := m.GetVersion().(*SourceRepository_Revision); ok { - return x.Revision - } - return "" -} - -func (m *SourceRepository) GetDeployedRevision() string { - if m != nil { - return m.DeployedRevision - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*SourceRepository) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*SourceRepository_Branch)(nil), - (*SourceRepository_Tag)(nil), - (*SourceRepository_Revision)(nil), - } -} - -// Request for the `CreateFunction` method. -type CreateFunctionRequest struct { - // The project and location in which the function should be created, specified - // in the format `projects/*/locations/*` - Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` - // Function to be created. - Function *CloudFunction `protobuf:"bytes,2,opt,name=function,proto3" json:"function,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_61af63f3568f8edb, []int{4} -} - -func (m *CreateFunctionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateFunctionRequest.Unmarshal(m, b) -} -func (m *CreateFunctionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateFunctionRequest.Marshal(b, m, deterministic) -} -func (m *CreateFunctionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateFunctionRequest.Merge(m, src) -} -func (m *CreateFunctionRequest) XXX_Size() int { - return xxx_messageInfo_CreateFunctionRequest.Size(m) -} -func (m *CreateFunctionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateFunctionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateFunctionRequest proto.InternalMessageInfo - -func (m *CreateFunctionRequest) GetLocation() string { - if m != nil { - return m.Location - } - return "" -} - -func (m *CreateFunctionRequest) GetFunction() *CloudFunction { - if m != nil { - return m.Function - } - return nil -} - -// Request for the `UpdateFunction` method. -type UpdateFunctionRequest struct { - // The name of the function to be updated. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // New version of the function. - Function *CloudFunction `protobuf:"bytes,2,opt,name=function,proto3" json:"function,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_61af63f3568f8edb, []int{5} -} - -func (m *UpdateFunctionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateFunctionRequest.Unmarshal(m, b) -} -func (m *UpdateFunctionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateFunctionRequest.Marshal(b, m, deterministic) -} -func (m *UpdateFunctionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateFunctionRequest.Merge(m, src) -} -func (m *UpdateFunctionRequest) XXX_Size() int { - return xxx_messageInfo_UpdateFunctionRequest.Size(m) -} -func (m *UpdateFunctionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateFunctionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateFunctionRequest proto.InternalMessageInfo - -func (m *UpdateFunctionRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *UpdateFunctionRequest) GetFunction() *CloudFunction { - if m != nil { - return m.Function - } - return nil -} - -// Request for the `GetFunction` method. -type GetFunctionRequest struct { - // The name of the function which details should be obtained. - 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 *GetFunctionRequest) Reset() { *m = GetFunctionRequest{} } -func (m *GetFunctionRequest) String() string { return proto.CompactTextString(m) } -func (*GetFunctionRequest) ProtoMessage() {} -func (*GetFunctionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_61af63f3568f8edb, []int{6} -} - -func (m *GetFunctionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetFunctionRequest.Unmarshal(m, b) -} -func (m *GetFunctionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetFunctionRequest.Marshal(b, m, deterministic) -} -func (m *GetFunctionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetFunctionRequest.Merge(m, src) -} -func (m *GetFunctionRequest) XXX_Size() int { - return xxx_messageInfo_GetFunctionRequest.Size(m) -} -func (m *GetFunctionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetFunctionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetFunctionRequest proto.InternalMessageInfo - -func (m *GetFunctionRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request for the `ListFunctions` method. -type ListFunctionsRequest struct { - // The project and location from which the function should be listed, - // specified in the format `projects/*/locations/*` - // If you want to list functions in all locations, use "-" in place of a - // location. - Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` - // Maximum number of functions to return per call. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // The value returned by the last - // `ListFunctionsResponse`; indicates that - // this is a continuation of a prior `ListFunctions` call, and that 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:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_61af63f3568f8edb, []int{7} -} - -func (m *ListFunctionsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListFunctionsRequest.Unmarshal(m, b) -} -func (m *ListFunctionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListFunctionsRequest.Marshal(b, m, deterministic) -} -func (m *ListFunctionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFunctionsRequest.Merge(m, src) -} -func (m *ListFunctionsRequest) XXX_Size() int { - return xxx_messageInfo_ListFunctionsRequest.Size(m) -} -func (m *ListFunctionsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListFunctionsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListFunctionsRequest proto.InternalMessageInfo - -func (m *ListFunctionsRequest) GetLocation() string { - if m != nil { - return m.Location - } - return "" -} - -func (m *ListFunctionsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListFunctionsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response for the `ListFunctions` method. -type ListFunctionsResponse struct { - // The functions that match the request. - Functions []*CloudFunction `protobuf:"bytes,1,rep,name=functions,proto3" json:"functions,omitempty"` - // If not empty, indicates that there may be more functions that match - // the request; this value should be passed in a new - // [google.cloud.functions.v1beta2.ListFunctionsRequest][] - // to get more functions. - 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 *ListFunctionsResponse) Reset() { *m = ListFunctionsResponse{} } -func (m *ListFunctionsResponse) String() string { return proto.CompactTextString(m) } -func (*ListFunctionsResponse) ProtoMessage() {} -func (*ListFunctionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_61af63f3568f8edb, []int{8} -} - -func (m *ListFunctionsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListFunctionsResponse.Unmarshal(m, b) -} -func (m *ListFunctionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListFunctionsResponse.Marshal(b, m, deterministic) -} -func (m *ListFunctionsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFunctionsResponse.Merge(m, src) -} -func (m *ListFunctionsResponse) XXX_Size() int { - return xxx_messageInfo_ListFunctionsResponse.Size(m) -} -func (m *ListFunctionsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListFunctionsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListFunctionsResponse proto.InternalMessageInfo - -func (m *ListFunctionsResponse) GetFunctions() []*CloudFunction { - if m != nil { - return m.Functions - } - return nil -} - -func (m *ListFunctionsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request for the `DeleteFunction` method. -type DeleteFunctionRequest struct { - // The name of the function which should 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 (m *DeleteFunctionRequest) Reset() { *m = DeleteFunctionRequest{} } -func (m *DeleteFunctionRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteFunctionRequest) ProtoMessage() {} -func (*DeleteFunctionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_61af63f3568f8edb, []int{9} -} - -func (m *DeleteFunctionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteFunctionRequest.Unmarshal(m, b) -} -func (m *DeleteFunctionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteFunctionRequest.Marshal(b, m, deterministic) -} -func (m *DeleteFunctionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteFunctionRequest.Merge(m, src) -} -func (m *DeleteFunctionRequest) XXX_Size() int { - return xxx_messageInfo_DeleteFunctionRequest.Size(m) -} -func (m *DeleteFunctionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteFunctionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteFunctionRequest proto.InternalMessageInfo - -func (m *DeleteFunctionRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request for the `CallFunction` method. -type CallFunctionRequest struct { - // The name of the function to be called. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Input to be passed to the function. - Data string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_61af63f3568f8edb, []int{10} -} - -func (m *CallFunctionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CallFunctionRequest.Unmarshal(m, b) -} -func (m *CallFunctionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CallFunctionRequest.Marshal(b, m, deterministic) -} -func (m *CallFunctionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CallFunctionRequest.Merge(m, src) -} -func (m *CallFunctionRequest) XXX_Size() int { - return xxx_messageInfo_CallFunctionRequest.Size(m) -} -func (m *CallFunctionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CallFunctionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CallFunctionRequest proto.InternalMessageInfo - -func (m *CallFunctionRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *CallFunctionRequest) GetData() string { - if m != nil { - return m.Data - } - return "" -} - -// Response of `CallFunction` method. -type CallFunctionResponse struct { - // Execution id of function invocation. - ExecutionId string `protobuf:"bytes,1,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"` - // Result populated for successful execution of synchronous function. Will - // not be populated if function does not return a result through context. - Result string `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - // Either system or user-function generated error. Set if execution - // was not successful. - Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_61af63f3568f8edb, []int{11} -} - -func (m *CallFunctionResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CallFunctionResponse.Unmarshal(m, b) -} -func (m *CallFunctionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CallFunctionResponse.Marshal(b, m, deterministic) -} -func (m *CallFunctionResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CallFunctionResponse.Merge(m, src) -} -func (m *CallFunctionResponse) XXX_Size() int { - return xxx_messageInfo_CallFunctionResponse.Size(m) -} -func (m *CallFunctionResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CallFunctionResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_CallFunctionResponse proto.InternalMessageInfo - -func (m *CallFunctionResponse) GetExecutionId() string { - if m != nil { - return m.ExecutionId - } - return "" -} - -func (m *CallFunctionResponse) GetResult() string { - if m != nil { - return m.Result - } - return "" -} - -func (m *CallFunctionResponse) GetError() string { - if m != nil { - return m.Error - } - return "" -} - -func init() { - proto.RegisterEnum("google.cloud.functions.v1beta2.CloudFunctionStatus", CloudFunctionStatus_name, CloudFunctionStatus_value) - proto.RegisterType((*CloudFunction)(nil), "google.cloud.functions.v1beta2.CloudFunction") - proto.RegisterType((*HTTPSTrigger)(nil), "google.cloud.functions.v1beta2.HTTPSTrigger") - proto.RegisterType((*EventTrigger)(nil), "google.cloud.functions.v1beta2.EventTrigger") - proto.RegisterType((*SourceRepository)(nil), "google.cloud.functions.v1beta2.SourceRepository") - proto.RegisterType((*CreateFunctionRequest)(nil), "google.cloud.functions.v1beta2.CreateFunctionRequest") - proto.RegisterType((*UpdateFunctionRequest)(nil), "google.cloud.functions.v1beta2.UpdateFunctionRequest") - proto.RegisterType((*GetFunctionRequest)(nil), "google.cloud.functions.v1beta2.GetFunctionRequest") - proto.RegisterType((*ListFunctionsRequest)(nil), "google.cloud.functions.v1beta2.ListFunctionsRequest") - proto.RegisterType((*ListFunctionsResponse)(nil), "google.cloud.functions.v1beta2.ListFunctionsResponse") - proto.RegisterType((*DeleteFunctionRequest)(nil), "google.cloud.functions.v1beta2.DeleteFunctionRequest") - proto.RegisterType((*CallFunctionRequest)(nil), "google.cloud.functions.v1beta2.CallFunctionRequest") - proto.RegisterType((*CallFunctionResponse)(nil), "google.cloud.functions.v1beta2.CallFunctionResponse") -} - -func init() { - proto.RegisterFile("google/cloud/functions/v1beta2/functions.proto", fileDescriptor_61af63f3568f8edb) -} - -var fileDescriptor_61af63f3568f8edb = []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, - 0x90, 0x82, 0x0d, 0x6e, 0x80, 0x99, 0x7e, 0x30, 0x24, 0xb1, 0x93, 0x78, 0x9a, 0xb6, 0x1e, 0xd9, - 0x39, 0x94, 0x8b, 0x66, 0x2d, 0x6f, 0x15, 0x81, 0xac, 0x15, 0xab, 0x95, 0xa7, 0x29, 0x53, 0x0e, - 0xcc, 0x70, 0xe3, 0xc6, 0x3f, 0xe8, 0x99, 0xe1, 0x07, 0x30, 0xc3, 0x9d, 0x3b, 0x57, 0x86, 0x13, - 0x3f, 0x84, 0xd9, 0xd5, 0x4a, 0x96, 0x93, 0x14, 0x25, 0x19, 0x6e, 0xda, 0xe7, 0xfd, 0x7a, 0x76, - 0xdf, 0x67, 0x5f, 0xaf, 0xa1, 0xe1, 0x50, 0xea, 0x78, 0xa4, 0x69, 0x7b, 0x34, 0x1a, 0x35, 0x9f, - 0x45, 0xbe, 0xcd, 0x5d, 0xea, 0x87, 0xcd, 0xc9, 0x27, 0x43, 0xc2, 0x71, 0x6b, 0x8a, 0x34, 0x02, - 0x46, 0x39, 0x45, 0x6f, 0xc5, 0xfe, 0x0d, 0xe9, 0xdf, 0x98, 0x5a, 0x95, 0x7f, 0xfd, 0x86, 0xca, - 0x87, 0x03, 0xb7, 0x89, 0x7d, 0x9f, 0x72, 0x9c, 0x89, 0xae, 0xaf, 0x64, 0xad, 0x11, 0x3f, 0x54, - 0x70, 0x33, 0x87, 0x04, 0x0d, 0x08, 0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1f, 0xae, 0xed, 0xbb, 0x61, 0xea, - 0x1a, 0x9e, 0xe5, 0x80, 0xde, 0x84, 0x62, 0x80, 0x1d, 0x62, 0x85, 0xee, 0x8b, 0x58, 0x53, 0x8b, - 0xe6, 0x92, 0x00, 0xfa, 0xee, 0x0b, 0x22, 0xe4, 0x28, 0x8d, 0x9c, 0x7e, 0x43, 0xfc, 0xb8, 0xf5, - 0xa6, 0x74, 0x1f, 0x08, 0xc0, 0xf8, 0x49, 0x83, 0x95, 0x63, 0x05, 0xc3, 0x80, 0xfa, 0x21, 0x41, - 0x0f, 0xa1, 0x98, 0x6e, 0x50, 0xd7, 0x56, 0xe7, 0xcf, 0xbf, 0xff, 0x69, 0x3c, 0x7a, 0x0f, 0x96, - 0x7d, 0xf2, 0x9c, 0x5b, 0x19, 0x2a, 0xb1, 0x42, 0x2b, 0x02, 0xee, 0xa5, 0x74, 0x6e, 0xc3, 0x4a, - 0x9b, 0x78, 0xe4, 0x4c, 0x0d, 0x32, 0x1e, 0xc0, 0xd5, 0x6d, 0xec, 0x79, 0x67, 0xe9, 0x25, 0x82, - 0x85, 0x11, 0xe6, 0x58, 0x15, 0x95, 0xdf, 0x86, 0x03, 0xd7, 0x66, 0xc3, 0xd5, 0xc6, 0xdf, 0x86, - 0x32, 0x79, 0x4e, 0xec, 0x48, 0x80, 0x96, 0x3b, 0x52, 0x79, 0x4a, 0x29, 0xd6, 0x1d, 0xa1, 0xeb, - 0x50, 0x60, 0x24, 0x8c, 0x3c, 0xae, 0x12, 0xaa, 0x15, 0xba, 0x06, 0x8b, 0x84, 0x31, 0xca, 0xd4, - 0x39, 0xc7, 0x8b, 0x75, 0x0c, 0x57, 0x4f, 0x99, 0xc9, 0xe8, 0x3a, 0xa0, 0xfe, 0x60, 0x73, 0x70, - 0xd0, 0xb7, 0x0e, 0x1e, 0xf7, 0x7b, 0x9d, 0xed, 0xee, 0x4e, 0xb7, 0xd3, 0xae, 0x5d, 0x42, 0x45, - 0x58, 0x34, 0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a9, 0x03, 0x34, 0x8f, 0x70, 0x5b, 0x12, 0xfe, 0xa2, - 0x7e, 0x81, 0x53, 0xcd, 0xd0, 0x7d, 0xa5, 0x41, 0x75, 0x76, 0x3c, 0xe4, 0xd3, 0x3d, 0x75, 0x9c, - 0xe4, 0xd1, 0x55, 0x22, 0x58, 0xbf, 0x88, 0x08, 0x7e, 0xd7, 0xa0, 0x9c, 0x9d, 0x2b, 0x28, 0xff, - 0xc1, 0x76, 0x72, 0x88, 0xd5, 0x37, 0xce, 0x17, 0xa4, 0x6e, 0xdb, 0x96, 0xe4, 0x7d, 0xdf, 0xf8, - 0xfc, 0x02, 0xc7, 0x6c, 0x63, 0xcf, 0xbb, 0xab, 0xad, 0x6f, 0xfd, 0xa8, 0x81, 0x61, 0xd3, 0x71, - 0x4e, 0xfd, 0xad, 0x6a, 0x7a, 0xd7, 0x7b, 0xe2, 0x6d, 0xd5, 0xd3, 0xbe, 0xda, 0x55, 0x11, 0x0e, - 0xf5, 0xb0, 0xef, 0x34, 0x28, 0x73, 0x9a, 0x0e, 0xf1, 0xe5, 0xcb, 0x4b, 0xfd, 0x77, 0xc1, 0x81, - 0x1b, 0xbe, 0xee, 0xff, 0xcb, 0xbd, 0x14, 0x79, 0x35, 0x37, 0xbf, 0xbb, 0xbd, 0x33, 0x2c, 0xc8, - 0xc8, 0x3b, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x22, 0xa1, 0xda, 0x9f, 0x7d, 0x0d, 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 - -// CloudFunctionsServiceClient is the client API for CloudFunctionsService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type CloudFunctionsServiceClient interface { - // Returns a list of functions that belong to the requested project. - ListFunctions(ctx context.Context, in *ListFunctionsRequest, opts ...grpc.CallOption) (*ListFunctionsResponse, error) - // Returns a function with the given name from the requested project. - GetFunction(ctx context.Context, in *GetFunctionRequest, opts ...grpc.CallOption) (*CloudFunction, error) - // Creates a new function. If a function with the given name already exists in - // the specified project, the long running operation will return - // `ALREADY_EXISTS` error. - CreateFunction(ctx context.Context, in *CreateFunctionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Updates existing function. - UpdateFunction(ctx context.Context, in *UpdateFunctionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Deletes a function with the given name from the specified project. If the - // given function is used by some trigger, the trigger will be updated to - // remove this function. - DeleteFunction(ctx context.Context, in *DeleteFunctionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Invokes synchronously deployed function. To be used for testing, very - // limited traffic allowed. - CallFunction(ctx context.Context, in *CallFunctionRequest, opts ...grpc.CallOption) (*CallFunctionResponse, error) -} - -type cloudFunctionsServiceClient struct { - cc *grpc.ClientConn -} - -func NewCloudFunctionsServiceClient(cc *grpc.ClientConn) CloudFunctionsServiceClient { - return &cloudFunctionsServiceClient{cc} -} - -func (c *cloudFunctionsServiceClient) ListFunctions(ctx context.Context, in *ListFunctionsRequest, opts ...grpc.CallOption) (*ListFunctionsResponse, error) { - out := new(ListFunctionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.functions.v1beta2.CloudFunctionsService/ListFunctions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudFunctionsServiceClient) GetFunction(ctx context.Context, in *GetFunctionRequest, opts ...grpc.CallOption) (*CloudFunction, error) { - out := new(CloudFunction) - err := c.cc.Invoke(ctx, "/google.cloud.functions.v1beta2.CloudFunctionsService/GetFunction", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudFunctionsServiceClient) CreateFunction(ctx context.Context, in *CreateFunctionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.functions.v1beta2.CloudFunctionsService/CreateFunction", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudFunctionsServiceClient) UpdateFunction(ctx context.Context, in *UpdateFunctionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.functions.v1beta2.CloudFunctionsService/UpdateFunction", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudFunctionsServiceClient) DeleteFunction(ctx context.Context, in *DeleteFunctionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.functions.v1beta2.CloudFunctionsService/DeleteFunction", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudFunctionsServiceClient) CallFunction(ctx context.Context, in *CallFunctionRequest, opts ...grpc.CallOption) (*CallFunctionResponse, error) { - out := new(CallFunctionResponse) - err := c.cc.Invoke(ctx, "/google.cloud.functions.v1beta2.CloudFunctionsService/CallFunction", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// CloudFunctionsServiceServer is the server API for CloudFunctionsService service. -type CloudFunctionsServiceServer interface { - // Returns a list of functions that belong to the requested project. - ListFunctions(context.Context, *ListFunctionsRequest) (*ListFunctionsResponse, error) - // Returns a function with the given name from the requested project. - GetFunction(context.Context, *GetFunctionRequest) (*CloudFunction, error) - // Creates a new function. If a function with the given name already exists in - // the specified project, the long running operation will return - // `ALREADY_EXISTS` error. - CreateFunction(context.Context, *CreateFunctionRequest) (*longrunning.Operation, error) - // Updates existing function. - UpdateFunction(context.Context, *UpdateFunctionRequest) (*longrunning.Operation, error) - // Deletes a function with the given name from the specified project. If the - // given function is used by some trigger, the trigger will be updated to - // remove this function. - DeleteFunction(context.Context, *DeleteFunctionRequest) (*longrunning.Operation, error) - // Invokes synchronously deployed function. To be used for testing, very - // limited traffic allowed. - CallFunction(context.Context, *CallFunctionRequest) (*CallFunctionResponse, error) -} - -// UnimplementedCloudFunctionsServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCloudFunctionsServiceServer struct { -} - -func (*UnimplementedCloudFunctionsServiceServer) ListFunctions(ctx context.Context, req *ListFunctionsRequest) (*ListFunctionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListFunctions not implemented") -} -func (*UnimplementedCloudFunctionsServiceServer) GetFunction(ctx context.Context, req *GetFunctionRequest) (*CloudFunction, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetFunction not implemented") -} -func (*UnimplementedCloudFunctionsServiceServer) CreateFunction(ctx context.Context, req *CreateFunctionRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateFunction not implemented") -} -func (*UnimplementedCloudFunctionsServiceServer) UpdateFunction(ctx context.Context, req *UpdateFunctionRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateFunction not implemented") -} -func (*UnimplementedCloudFunctionsServiceServer) DeleteFunction(ctx context.Context, req *DeleteFunctionRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteFunction not implemented") -} -func (*UnimplementedCloudFunctionsServiceServer) CallFunction(ctx context.Context, req *CallFunctionRequest) (*CallFunctionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CallFunction not implemented") -} - -func RegisterCloudFunctionsServiceServer(s *grpc.Server, srv CloudFunctionsServiceServer) { - s.RegisterService(&_CloudFunctionsService_serviceDesc, srv) -} - -func _CloudFunctionsService_ListFunctions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListFunctionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudFunctionsServiceServer).ListFunctions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.functions.v1beta2.CloudFunctionsService/ListFunctions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudFunctionsServiceServer).ListFunctions(ctx, req.(*ListFunctionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudFunctionsService_GetFunction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetFunctionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudFunctionsServiceServer).GetFunction(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.functions.v1beta2.CloudFunctionsService/GetFunction", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudFunctionsServiceServer).GetFunction(ctx, req.(*GetFunctionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudFunctionsService_CreateFunction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateFunctionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudFunctionsServiceServer).CreateFunction(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.functions.v1beta2.CloudFunctionsService/CreateFunction", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudFunctionsServiceServer).CreateFunction(ctx, req.(*CreateFunctionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudFunctionsService_UpdateFunction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateFunctionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudFunctionsServiceServer).UpdateFunction(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.functions.v1beta2.CloudFunctionsService/UpdateFunction", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudFunctionsServiceServer).UpdateFunction(ctx, req.(*UpdateFunctionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudFunctionsService_DeleteFunction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteFunctionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudFunctionsServiceServer).DeleteFunction(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.functions.v1beta2.CloudFunctionsService/DeleteFunction", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudFunctionsServiceServer).DeleteFunction(ctx, req.(*DeleteFunctionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudFunctionsService_CallFunction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CallFunctionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudFunctionsServiceServer).CallFunction(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.functions.v1beta2.CloudFunctionsService/CallFunction", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudFunctionsServiceServer).CallFunction(ctx, req.(*CallFunctionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _CloudFunctionsService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.functions.v1beta2.CloudFunctionsService", - HandlerType: (*CloudFunctionsServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListFunctions", - Handler: _CloudFunctionsService_ListFunctions_Handler, - }, - { - MethodName: "GetFunction", - Handler: _CloudFunctionsService_GetFunction_Handler, - }, - { - MethodName: "CreateFunction", - Handler: _CloudFunctionsService_CreateFunction_Handler, - }, - { - MethodName: "UpdateFunction", - Handler: _CloudFunctionsService_UpdateFunction_Handler, - }, - { - MethodName: "DeleteFunction", - Handler: _CloudFunctionsService_DeleteFunction_Handler, - }, - { - MethodName: "CallFunction", - Handler: _CloudFunctionsService_CallFunction_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/functions/v1beta2/functions.proto", -} 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 deleted file mode 100644 index c7abc15c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/functions/v1beta2/operations.pb.go +++ /dev/null @@ -1,154 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/functions/v1beta2/operations.proto - -package functions - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - any "github.com/golang/protobuf/ptypes/any" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A type of an operation. -type OperationType int32 - -const ( - // Unknown operation type. - OperationType_OPERATION_UNSPECIFIED OperationType = 0 - // Triggered by CreateFunction call - OperationType_CREATE_FUNCTION OperationType = 1 - // Triggered by UpdateFunction call - OperationType_UPDATE_FUNCTION OperationType = 2 - // Triggered by DeleteFunction call. - OperationType_DELETE_FUNCTION OperationType = 3 -) - -var OperationType_name = map[int32]string{ - 0: "OPERATION_UNSPECIFIED", - 1: "CREATE_FUNCTION", - 2: "UPDATE_FUNCTION", - 3: "DELETE_FUNCTION", -} - -var OperationType_value = map[string]int32{ - "OPERATION_UNSPECIFIED": 0, - "CREATE_FUNCTION": 1, - "UPDATE_FUNCTION": 2, - "DELETE_FUNCTION": 3, -} - -func (x OperationType) String() string { - return proto.EnumName(OperationType_name, int32(x)) -} - -func (OperationType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_25e43fb62395b1f8, []int{0} -} - -// Metadata describing an [Operation][google.longrunning.Operation] -type OperationMetadataV1Beta2 struct { - // Target of the operation - for example - // projects/project-1/locations/region-1/functions/function-1 - Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` - // Type of operation. - Type OperationType `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.functions.v1beta2.OperationType" json:"type,omitempty"` - // The original request that started the operation. - Request *any.Any `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OperationMetadataV1Beta2) Reset() { *m = OperationMetadataV1Beta2{} } -func (m *OperationMetadataV1Beta2) String() string { return proto.CompactTextString(m) } -func (*OperationMetadataV1Beta2) ProtoMessage() {} -func (*OperationMetadataV1Beta2) Descriptor() ([]byte, []int) { - return fileDescriptor_25e43fb62395b1f8, []int{0} -} - -func (m *OperationMetadataV1Beta2) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OperationMetadataV1Beta2.Unmarshal(m, b) -} -func (m *OperationMetadataV1Beta2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OperationMetadataV1Beta2.Marshal(b, m, deterministic) -} -func (m *OperationMetadataV1Beta2) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperationMetadataV1Beta2.Merge(m, src) -} -func (m *OperationMetadataV1Beta2) XXX_Size() int { - return xxx_messageInfo_OperationMetadataV1Beta2.Size(m) -} -func (m *OperationMetadataV1Beta2) XXX_DiscardUnknown() { - xxx_messageInfo_OperationMetadataV1Beta2.DiscardUnknown(m) -} - -var xxx_messageInfo_OperationMetadataV1Beta2 proto.InternalMessageInfo - -func (m *OperationMetadataV1Beta2) GetTarget() string { - if m != nil { - return m.Target - } - return "" -} - -func (m *OperationMetadataV1Beta2) GetType() OperationType { - if m != nil { - return m.Type - } - return OperationType_OPERATION_UNSPECIFIED -} - -func (m *OperationMetadataV1Beta2) GetRequest() *any.Any { - if m != nil { - return m.Request - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.functions.v1beta2.OperationType", OperationType_name, OperationType_value) - proto.RegisterType((*OperationMetadataV1Beta2)(nil), "google.cloud.functions.v1beta2.OperationMetadataV1Beta2") -} - -func init() { - proto.RegisterFile("google/cloud/functions/v1beta2/operations.proto", fileDescriptor_25e43fb62395b1f8) -} - -var fileDescriptor_25e43fb62395b1f8 = []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, - 0xb1, 0x0d, 0x78, 0xf4, 0x34, 0xa0, 0x18, 0x12, 0x85, 0x65, 0x82, 0x07, 0x2f, 0xa4, 0x40, 0x69, - 0x96, 0xcc, 0xb6, 0x6e, 0x9d, 0xc9, 0x5e, 0x82, 0x2f, 0xc4, 0xf7, 0x69, 0x56, 0xba, 0x05, 0x0e, - 0xea, 0xb1, 0x9f, 0xf6, 0xf3, 0xed, 0xf7, 0x97, 0x1f, 0xc4, 0x5c, 0x4a, 0x1e, 0x31, 0xbc, 0x8a, - 0x64, 0xba, 0xc6, 0x9b, 0x54, 0xac, 0x74, 0x28, 0x45, 0x82, 0x3f, 0xba, 0x4b, 0xa6, 0x69, 0x0f, - 0x4b, 0xc5, 0x62, 0x6a, 0x10, 0x52, 0xb1, 0xd4, 0xd2, 0xb9, 0xde, 0x0a, 0xc8, 0x08, 0xa8, 0x14, - 0x90, 0x15, 0x9a, 0x57, 0x36, 0x90, 0xaa, 0x10, 0x53, 0x21, 0xa4, 0xde, 0xb5, 0x9b, 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 0x55, 0x61, 0xf2, 0xd3, 0xfa, 0xef, 0x4b, 0xb2, 0xac, 0x19, 0xe7, 0xee, - 0x3b, 0x00, 0x00, 0xff, 0xff, 0x3c, 0x8a, 0xb1, 0x83, 0x31, 0x02, 0x00, 0x00, -} 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 deleted file mode 100644 index 87fdbd82..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/iot/v1/device_manager.pb.go +++ /dev/null @@ -1,2304 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/iot/v1/device_manager.proto - -package iot - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/duration" - empty "github.com/golang/protobuf/ptypes/empty" - _ "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - v1 "google.golang.org/genproto/googleapis/iam/v1" - _ "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request for `CreateDeviceRegistry`. -type CreateDeviceRegistryRequest struct { - // The project and cloud region where this device registry must be created. - // For example, `projects/example-project/locations/us-central1`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The device registry. The field `name` must be empty. The server will - // generate that field from the device registry `id` provided and the - // `parent` field. - DeviceRegistry *DeviceRegistry `protobuf:"bytes,2,opt,name=device_registry,json=deviceRegistry,proto3" json:"device_registry,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateDeviceRegistryRequest) Reset() { *m = CreateDeviceRegistryRequest{} } -func (m *CreateDeviceRegistryRequest) String() string { return proto.CompactTextString(m) } -func (*CreateDeviceRegistryRequest) ProtoMessage() {} -func (*CreateDeviceRegistryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9243c344ef472aff, []int{0} -} - -func (m *CreateDeviceRegistryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateDeviceRegistryRequest.Unmarshal(m, b) -} -func (m *CreateDeviceRegistryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateDeviceRegistryRequest.Marshal(b, m, deterministic) -} -func (m *CreateDeviceRegistryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateDeviceRegistryRequest.Merge(m, src) -} -func (m *CreateDeviceRegistryRequest) XXX_Size() int { - return xxx_messageInfo_CreateDeviceRegistryRequest.Size(m) -} -func (m *CreateDeviceRegistryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateDeviceRegistryRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateDeviceRegistryRequest proto.InternalMessageInfo - -func (m *CreateDeviceRegistryRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateDeviceRegistryRequest) GetDeviceRegistry() *DeviceRegistry { - if m != nil { - return m.DeviceRegistry - } - return nil -} - -// Request for `GetDeviceRegistry`. -type GetDeviceRegistryRequest struct { - // The name of the device registry. For example, - // `projects/example-project/locations/us-central1/registries/my-registry`. - 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 *GetDeviceRegistryRequest) Reset() { *m = GetDeviceRegistryRequest{} } -func (m *GetDeviceRegistryRequest) String() string { return proto.CompactTextString(m) } -func (*GetDeviceRegistryRequest) ProtoMessage() {} -func (*GetDeviceRegistryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9243c344ef472aff, []int{1} -} - -func (m *GetDeviceRegistryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDeviceRegistryRequest.Unmarshal(m, b) -} -func (m *GetDeviceRegistryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDeviceRegistryRequest.Marshal(b, m, deterministic) -} -func (m *GetDeviceRegistryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDeviceRegistryRequest.Merge(m, src) -} -func (m *GetDeviceRegistryRequest) XXX_Size() int { - return xxx_messageInfo_GetDeviceRegistryRequest.Size(m) -} -func (m *GetDeviceRegistryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetDeviceRegistryRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetDeviceRegistryRequest proto.InternalMessageInfo - -func (m *GetDeviceRegistryRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request for `DeleteDeviceRegistry`. -type DeleteDeviceRegistryRequest struct { - // The name of the device registry. For example, - // `projects/example-project/locations/us-central1/registries/my-registry`. - 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 *DeleteDeviceRegistryRequest) Reset() { *m = DeleteDeviceRegistryRequest{} } -func (m *DeleteDeviceRegistryRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteDeviceRegistryRequest) ProtoMessage() {} -func (*DeleteDeviceRegistryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9243c344ef472aff, []int{2} -} - -func (m *DeleteDeviceRegistryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteDeviceRegistryRequest.Unmarshal(m, b) -} -func (m *DeleteDeviceRegistryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteDeviceRegistryRequest.Marshal(b, m, deterministic) -} -func (m *DeleteDeviceRegistryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteDeviceRegistryRequest.Merge(m, src) -} -func (m *DeleteDeviceRegistryRequest) XXX_Size() int { - return xxx_messageInfo_DeleteDeviceRegistryRequest.Size(m) -} -func (m *DeleteDeviceRegistryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteDeviceRegistryRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteDeviceRegistryRequest proto.InternalMessageInfo - -func (m *DeleteDeviceRegistryRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request for `UpdateDeviceRegistry`. -type UpdateDeviceRegistryRequest struct { - // The new values for the device registry. The `id` field must be empty, and - // the `name` field must indicate the path of the resource. For example, - // `projects/example-project/locations/us-central1/registries/my-registry`. - DeviceRegistry *DeviceRegistry `protobuf:"bytes,1,opt,name=device_registry,json=deviceRegistry,proto3" json:"device_registry,omitempty"` - // Only updates the `device_registry` fields indicated by this mask. - // The field mask must not be empty, and it must not contain fields that - // are immutable or only set by the server. - // Mutable top-level fields: `event_notification_config`, `http_config`, - // `mqtt_config`, and `state_notification_config`. - 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 *UpdateDeviceRegistryRequest) Reset() { *m = UpdateDeviceRegistryRequest{} } -func (m *UpdateDeviceRegistryRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateDeviceRegistryRequest) ProtoMessage() {} -func (*UpdateDeviceRegistryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9243c344ef472aff, []int{3} -} - -func (m *UpdateDeviceRegistryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateDeviceRegistryRequest.Unmarshal(m, b) -} -func (m *UpdateDeviceRegistryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateDeviceRegistryRequest.Marshal(b, m, deterministic) -} -func (m *UpdateDeviceRegistryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateDeviceRegistryRequest.Merge(m, src) -} -func (m *UpdateDeviceRegistryRequest) XXX_Size() int { - return xxx_messageInfo_UpdateDeviceRegistryRequest.Size(m) -} -func (m *UpdateDeviceRegistryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateDeviceRegistryRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateDeviceRegistryRequest proto.InternalMessageInfo - -func (m *UpdateDeviceRegistryRequest) GetDeviceRegistry() *DeviceRegistry { - if m != nil { - return m.DeviceRegistry - } - return nil -} - -func (m *UpdateDeviceRegistryRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// Request for `ListDeviceRegistries`. -type ListDeviceRegistriesRequest struct { - // The project and cloud region path. For example, - // `projects/example-project/locations/us-central1`. - 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. 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 - // 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:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListDeviceRegistriesRequest) Reset() { *m = ListDeviceRegistriesRequest{} } -func (m *ListDeviceRegistriesRequest) String() string { return proto.CompactTextString(m) } -func (*ListDeviceRegistriesRequest) ProtoMessage() {} -func (*ListDeviceRegistriesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9243c344ef472aff, []int{4} -} - -func (m *ListDeviceRegistriesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDeviceRegistriesRequest.Unmarshal(m, b) -} -func (m *ListDeviceRegistriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDeviceRegistriesRequest.Marshal(b, m, deterministic) -} -func (m *ListDeviceRegistriesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDeviceRegistriesRequest.Merge(m, src) -} -func (m *ListDeviceRegistriesRequest) XXX_Size() int { - return xxx_messageInfo_ListDeviceRegistriesRequest.Size(m) -} -func (m *ListDeviceRegistriesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListDeviceRegistriesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDeviceRegistriesRequest proto.InternalMessageInfo - -func (m *ListDeviceRegistriesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListDeviceRegistriesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListDeviceRegistriesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response for `ListDeviceRegistries`. -type ListDeviceRegistriesResponse struct { - // The registries that matched the query. - DeviceRegistries []*DeviceRegistry `protobuf:"bytes,1,rep,name=device_registries,json=deviceRegistries,proto3" json:"device_registries,omitempty"` - // If not empty, indicates that there may be more registries that match the - // request; this value should be passed in a new - // `ListDeviceRegistriesRequest`. - 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 *ListDeviceRegistriesResponse) Reset() { *m = ListDeviceRegistriesResponse{} } -func (m *ListDeviceRegistriesResponse) String() string { return proto.CompactTextString(m) } -func (*ListDeviceRegistriesResponse) ProtoMessage() {} -func (*ListDeviceRegistriesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9243c344ef472aff, []int{5} -} - -func (m *ListDeviceRegistriesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDeviceRegistriesResponse.Unmarshal(m, b) -} -func (m *ListDeviceRegistriesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDeviceRegistriesResponse.Marshal(b, m, deterministic) -} -func (m *ListDeviceRegistriesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDeviceRegistriesResponse.Merge(m, src) -} -func (m *ListDeviceRegistriesResponse) XXX_Size() int { - return xxx_messageInfo_ListDeviceRegistriesResponse.Size(m) -} -func (m *ListDeviceRegistriesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListDeviceRegistriesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDeviceRegistriesResponse proto.InternalMessageInfo - -func (m *ListDeviceRegistriesResponse) GetDeviceRegistries() []*DeviceRegistry { - if m != nil { - return m.DeviceRegistries - } - return nil -} - -func (m *ListDeviceRegistriesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request for `CreateDevice`. -type CreateDeviceRequest struct { - // The name of the device registry where this device should be created. - // For example, - // `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 - // 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:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9243c344ef472aff, []int{6} -} - -func (m *CreateDeviceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateDeviceRequest.Unmarshal(m, b) -} -func (m *CreateDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateDeviceRequest.Marshal(b, m, deterministic) -} -func (m *CreateDeviceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateDeviceRequest.Merge(m, src) -} -func (m *CreateDeviceRequest) XXX_Size() int { - return xxx_messageInfo_CreateDeviceRequest.Size(m) -} -func (m *CreateDeviceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateDeviceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateDeviceRequest proto.InternalMessageInfo - -func (m *CreateDeviceRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateDeviceRequest) GetDevice() *Device { - if m != nil { - return m.Device - } - return nil -} - -// Request for `GetDevice`. -type GetDeviceRequest 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 fields of the `Device` resource to be returned in the response. If the - // field mask is unset or empty, all fields are returned. - FieldMask *field_mask.FieldMask `protobuf:"bytes,2,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 *GetDeviceRequest) Reset() { *m = GetDeviceRequest{} } -func (m *GetDeviceRequest) String() string { return proto.CompactTextString(m) } -func (*GetDeviceRequest) ProtoMessage() {} -func (*GetDeviceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9243c344ef472aff, []int{7} -} - -func (m *GetDeviceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDeviceRequest.Unmarshal(m, b) -} -func (m *GetDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDeviceRequest.Marshal(b, m, deterministic) -} -func (m *GetDeviceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDeviceRequest.Merge(m, src) -} -func (m *GetDeviceRequest) XXX_Size() int { - return xxx_messageInfo_GetDeviceRequest.Size(m) -} -func (m *GetDeviceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetDeviceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetDeviceRequest proto.InternalMessageInfo - -func (m *GetDeviceRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *GetDeviceRequest) GetFieldMask() *field_mask.FieldMask { - if m != nil { - return m.FieldMask - } - return nil -} - -// Request for `UpdateDevice`. -type UpdateDeviceRequest struct { - // 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}`. - Device *Device `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"` - // Only updates the `device` fields indicated by this mask. - // The field mask must not be empty, and it must not contain fields that - // are immutable or only set by the server. - // Mutable top-level fields: `credentials`, `blocked`, and `metadata` - 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 *UpdateDeviceRequest) Reset() { *m = UpdateDeviceRequest{} } -func (m *UpdateDeviceRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateDeviceRequest) ProtoMessage() {} -func (*UpdateDeviceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9243c344ef472aff, []int{8} -} - -func (m *UpdateDeviceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateDeviceRequest.Unmarshal(m, b) -} -func (m *UpdateDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateDeviceRequest.Marshal(b, m, deterministic) -} -func (m *UpdateDeviceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateDeviceRequest.Merge(m, src) -} -func (m *UpdateDeviceRequest) XXX_Size() int { - return xxx_messageInfo_UpdateDeviceRequest.Size(m) -} -func (m *UpdateDeviceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateDeviceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateDeviceRequest proto.InternalMessageInfo - -func (m *UpdateDeviceRequest) GetDevice() *Device { - if m != nil { - return m.Device - } - return nil -} - -func (m *UpdateDeviceRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// Request for `DeleteDevice`. -type DeleteDeviceRequest 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9243c344ef472aff, []int{9} -} - -func (m *DeleteDeviceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteDeviceRequest.Unmarshal(m, b) -} -func (m *DeleteDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteDeviceRequest.Marshal(b, m, deterministic) -} -func (m *DeleteDeviceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteDeviceRequest.Merge(m, src) -} -func (m *DeleteDeviceRequest) XXX_Size() int { - return xxx_messageInfo_DeleteDeviceRequest.Size(m) -} -func (m *DeleteDeviceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteDeviceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteDeviceRequest proto.InternalMessageInfo - -func (m *DeleteDeviceRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request for `ListDevices`. -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 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 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, 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. 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 - // 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:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9243c344ef472aff, []int{10} -} - -func (m *ListDevicesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDevicesRequest.Unmarshal(m, b) -} -func (m *ListDevicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDevicesRequest.Marshal(b, m, deterministic) -} -func (m *ListDevicesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDevicesRequest.Merge(m, src) -} -func (m *ListDevicesRequest) XXX_Size() int { - return xxx_messageInfo_ListDevicesRequest.Size(m) -} -func (m *ListDevicesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListDevicesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDevicesRequest proto.InternalMessageInfo - -func (m *ListDevicesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListDevicesRequest) GetDeviceNumIds() []uint64 { - if m != nil { - return m.DeviceNumIds - } - return nil -} - -func (m *ListDevicesRequest) GetDeviceIds() []string { - if m != nil { - return m.DeviceIds - } - return nil -} - -func (m *ListDevicesRequest) GetFieldMask() *field_mask.FieldMask { - if m != nil { - return m.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 - } - return 0 -} - -func (m *ListDevicesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - 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_9243c344ef472aff, []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 (m *GatewayListOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_GatewayListOptions.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*GatewayListOptions) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*GatewayListOptions_GatewayType)(nil), - (*GatewayListOptions_AssociationsGatewayId)(nil), - (*GatewayListOptions_AssociationsDeviceId)(nil), - } -} - -// Response for `ListDevices`. -type ListDevicesResponse struct { - // The devices that match the request. - Devices []*Device `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"` - // If not empty, indicates that there may be more devices that match the - // request; this value should be passed in a new `ListDevicesRequest`. - 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 *ListDevicesResponse) Reset() { *m = ListDevicesResponse{} } -func (m *ListDevicesResponse) String() string { return proto.CompactTextString(m) } -func (*ListDevicesResponse) ProtoMessage() {} -func (*ListDevicesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9243c344ef472aff, []int{12} -} - -func (m *ListDevicesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDevicesResponse.Unmarshal(m, b) -} -func (m *ListDevicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDevicesResponse.Marshal(b, m, deterministic) -} -func (m *ListDevicesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDevicesResponse.Merge(m, src) -} -func (m *ListDevicesResponse) XXX_Size() int { - return xxx_messageInfo_ListDevicesResponse.Size(m) -} -func (m *ListDevicesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListDevicesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDevicesResponse proto.InternalMessageInfo - -func (m *ListDevicesResponse) GetDevices() []*Device { - if m != nil { - return m.Devices - } - return nil -} - -func (m *ListDevicesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request for `ModifyCloudToDeviceConfig`. -type ModifyCloudToDeviceConfigRequest 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 version number to update. If this value is zero, it will not check the - // version number of the server and will always update the current version; - // otherwise, this update will fail if the version number found on the server - // does not match this version number. This is used to support multiple - // simultaneous updates without losing data. - VersionToUpdate int64 `protobuf:"varint,2,opt,name=version_to_update,json=versionToUpdate,proto3" json:"version_to_update,omitempty"` - // The configuration data for the device. - BinaryData []byte `protobuf:"bytes,3,opt,name=binary_data,json=binaryData,proto3" json:"binary_data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ModifyCloudToDeviceConfigRequest) Reset() { *m = ModifyCloudToDeviceConfigRequest{} } -func (m *ModifyCloudToDeviceConfigRequest) String() string { return proto.CompactTextString(m) } -func (*ModifyCloudToDeviceConfigRequest) ProtoMessage() {} -func (*ModifyCloudToDeviceConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9243c344ef472aff, []int{13} -} - -func (m *ModifyCloudToDeviceConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ModifyCloudToDeviceConfigRequest.Unmarshal(m, b) -} -func (m *ModifyCloudToDeviceConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ModifyCloudToDeviceConfigRequest.Marshal(b, m, deterministic) -} -func (m *ModifyCloudToDeviceConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ModifyCloudToDeviceConfigRequest.Merge(m, src) -} -func (m *ModifyCloudToDeviceConfigRequest) XXX_Size() int { - return xxx_messageInfo_ModifyCloudToDeviceConfigRequest.Size(m) -} -func (m *ModifyCloudToDeviceConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ModifyCloudToDeviceConfigRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ModifyCloudToDeviceConfigRequest proto.InternalMessageInfo - -func (m *ModifyCloudToDeviceConfigRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ModifyCloudToDeviceConfigRequest) GetVersionToUpdate() int64 { - if m != nil { - return m.VersionToUpdate - } - return 0 -} - -func (m *ModifyCloudToDeviceConfigRequest) GetBinaryData() []byte { - if m != nil { - return m.BinaryData - } - return nil -} - -// Request for `ListDeviceConfigVersions`. -type ListDeviceConfigVersionsRequest 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 number of versions to list. Versions are listed in decreasing order of - // the version number. The maximum number of versions retained is 10. If this - // value is zero, it will return all the versions available. - NumVersions int32 `protobuf:"varint,2,opt,name=num_versions,json=numVersions,proto3" json:"num_versions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListDeviceConfigVersionsRequest) Reset() { *m = ListDeviceConfigVersionsRequest{} } -func (m *ListDeviceConfigVersionsRequest) String() string { return proto.CompactTextString(m) } -func (*ListDeviceConfigVersionsRequest) ProtoMessage() {} -func (*ListDeviceConfigVersionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9243c344ef472aff, []int{14} -} - -func (m *ListDeviceConfigVersionsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDeviceConfigVersionsRequest.Unmarshal(m, b) -} -func (m *ListDeviceConfigVersionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDeviceConfigVersionsRequest.Marshal(b, m, deterministic) -} -func (m *ListDeviceConfigVersionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDeviceConfigVersionsRequest.Merge(m, src) -} -func (m *ListDeviceConfigVersionsRequest) XXX_Size() int { - return xxx_messageInfo_ListDeviceConfigVersionsRequest.Size(m) -} -func (m *ListDeviceConfigVersionsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListDeviceConfigVersionsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDeviceConfigVersionsRequest proto.InternalMessageInfo - -func (m *ListDeviceConfigVersionsRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ListDeviceConfigVersionsRequest) GetNumVersions() int32 { - if m != nil { - return m.NumVersions - } - return 0 -} - -// Response for `ListDeviceConfigVersions`. -type ListDeviceConfigVersionsResponse struct { - // The device configuration for the last few versions. Versions are listed - // in decreasing order, starting from the most recent one. - DeviceConfigs []*DeviceConfig `protobuf:"bytes,1,rep,name=device_configs,json=deviceConfigs,proto3" json:"device_configs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListDeviceConfigVersionsResponse) Reset() { *m = ListDeviceConfigVersionsResponse{} } -func (m *ListDeviceConfigVersionsResponse) String() string { return proto.CompactTextString(m) } -func (*ListDeviceConfigVersionsResponse) ProtoMessage() {} -func (*ListDeviceConfigVersionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9243c344ef472aff, []int{15} -} - -func (m *ListDeviceConfigVersionsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDeviceConfigVersionsResponse.Unmarshal(m, b) -} -func (m *ListDeviceConfigVersionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDeviceConfigVersionsResponse.Marshal(b, m, deterministic) -} -func (m *ListDeviceConfigVersionsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDeviceConfigVersionsResponse.Merge(m, src) -} -func (m *ListDeviceConfigVersionsResponse) XXX_Size() int { - return xxx_messageInfo_ListDeviceConfigVersionsResponse.Size(m) -} -func (m *ListDeviceConfigVersionsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListDeviceConfigVersionsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDeviceConfigVersionsResponse proto.InternalMessageInfo - -func (m *ListDeviceConfigVersionsResponse) GetDeviceConfigs() []*DeviceConfig { - if m != nil { - return m.DeviceConfigs - } - return nil -} - -// Request for `ListDeviceStates`. -type ListDeviceStatesRequest 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 number of states to list. States are listed in descending order of - // update time. The maximum number of states retained is 10. If this - // value is zero, it will return all the states available. - NumStates int32 `protobuf:"varint,2,opt,name=num_states,json=numStates,proto3" json:"num_states,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9243c344ef472aff, []int{16} -} - -func (m *ListDeviceStatesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDeviceStatesRequest.Unmarshal(m, b) -} -func (m *ListDeviceStatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDeviceStatesRequest.Marshal(b, m, deterministic) -} -func (m *ListDeviceStatesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDeviceStatesRequest.Merge(m, src) -} -func (m *ListDeviceStatesRequest) XXX_Size() int { - return xxx_messageInfo_ListDeviceStatesRequest.Size(m) -} -func (m *ListDeviceStatesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListDeviceStatesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDeviceStatesRequest proto.InternalMessageInfo - -func (m *ListDeviceStatesRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ListDeviceStatesRequest) GetNumStates() int32 { - if m != nil { - return m.NumStates - } - return 0 -} - -// Response for `ListDeviceStates`. -type ListDeviceStatesResponse struct { - // The last few device states. States are listed in descending order of server - // update time, starting from the most recent one. - DeviceStates []*DeviceState `protobuf:"bytes,1,rep,name=device_states,json=deviceStates,proto3" json:"device_states,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListDeviceStatesResponse) Reset() { *m = ListDeviceStatesResponse{} } -func (m *ListDeviceStatesResponse) String() string { return proto.CompactTextString(m) } -func (*ListDeviceStatesResponse) ProtoMessage() {} -func (*ListDeviceStatesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9243c344ef472aff, []int{17} -} - -func (m *ListDeviceStatesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDeviceStatesResponse.Unmarshal(m, b) -} -func (m *ListDeviceStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDeviceStatesResponse.Marshal(b, m, deterministic) -} -func (m *ListDeviceStatesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDeviceStatesResponse.Merge(m, src) -} -func (m *ListDeviceStatesResponse) XXX_Size() int { - return xxx_messageInfo_ListDeviceStatesResponse.Size(m) -} -func (m *ListDeviceStatesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListDeviceStatesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDeviceStatesResponse proto.InternalMessageInfo - -func (m *ListDeviceStatesResponse) GetDeviceStates() []*DeviceState { - if m != nil { - return m.DeviceStates - } - 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_9243c344ef472aff, []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 (m *SendCommandToDeviceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SendCommandToDeviceRequest.Merge(m, 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_9243c344ef472aff, []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 (m *SendCommandToDeviceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SendCommandToDeviceResponse.Merge(m, 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_9243c344ef472aff, []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 (m *BindDeviceToGatewayRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BindDeviceToGatewayRequest.Merge(m, 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_9243c344ef472aff, []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 (m *BindDeviceToGatewayResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BindDeviceToGatewayResponse.Merge(m, 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_9243c344ef472aff, []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 (m *UnbindDeviceFromGatewayRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UnbindDeviceFromGatewayRequest.Merge(m, 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_9243c344ef472aff, []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 (m *UnbindDeviceFromGatewayResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UnbindDeviceFromGatewayResponse.Merge(m, 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") - proto.RegisterType((*DeleteDeviceRegistryRequest)(nil), "google.cloud.iot.v1.DeleteDeviceRegistryRequest") - proto.RegisterType((*UpdateDeviceRegistryRequest)(nil), "google.cloud.iot.v1.UpdateDeviceRegistryRequest") - proto.RegisterType((*ListDeviceRegistriesRequest)(nil), "google.cloud.iot.v1.ListDeviceRegistriesRequest") - proto.RegisterType((*ListDeviceRegistriesResponse)(nil), "google.cloud.iot.v1.ListDeviceRegistriesResponse") - proto.RegisterType((*CreateDeviceRequest)(nil), "google.cloud.iot.v1.CreateDeviceRequest") - proto.RegisterType((*GetDeviceRequest)(nil), "google.cloud.iot.v1.GetDeviceRequest") - 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") -} - -func init() { - proto.RegisterFile("google/cloud/iot/v1/device_manager.proto", fileDescriptor_9243c344ef472aff) -} - -var fileDescriptor_9243c344ef472aff = []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, 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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, -} - -// 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 - -// DeviceManagerClient is the client API for DeviceManager service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type DeviceManagerClient interface { - // Creates a device registry that contains devices. - CreateDeviceRegistry(ctx context.Context, in *CreateDeviceRegistryRequest, opts ...grpc.CallOption) (*DeviceRegistry, error) - // Gets a device registry configuration. - GetDeviceRegistry(ctx context.Context, in *GetDeviceRegistryRequest, opts ...grpc.CallOption) (*DeviceRegistry, error) - // Updates a device registry configuration. - UpdateDeviceRegistry(ctx context.Context, in *UpdateDeviceRegistryRequest, opts ...grpc.CallOption) (*DeviceRegistry, error) - // Deletes a device registry configuration. - DeleteDeviceRegistry(ctx context.Context, in *DeleteDeviceRegistryRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Lists device registries. - ListDeviceRegistries(ctx context.Context, in *ListDeviceRegistriesRequest, opts ...grpc.CallOption) (*ListDeviceRegistriesResponse, error) - // Creates a device in a device registry. - CreateDevice(ctx context.Context, in *CreateDeviceRequest, opts ...grpc.CallOption) (*Device, error) - // Gets details about a device. - GetDevice(ctx context.Context, in *GetDeviceRequest, opts ...grpc.CallOption) (*Device, error) - // Updates a device. - UpdateDevice(ctx context.Context, in *UpdateDeviceRequest, opts ...grpc.CallOption) (*Device, error) - // Deletes a device. - DeleteDevice(ctx context.Context, in *DeleteDeviceRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // List devices in a device registry. - ListDevices(ctx context.Context, in *ListDevicesRequest, opts ...grpc.CallOption) (*ListDevicesResponse, error) - // Modifies the configuration for the device, which is eventually sent from - // the Cloud IoT Core servers. Returns the modified configuration version and - // its metadata. - ModifyCloudToDeviceConfig(ctx context.Context, in *ModifyCloudToDeviceConfigRequest, opts ...grpc.CallOption) (*DeviceConfig, error) - // Lists the last few versions of the device configuration in descending - // order (i.e.: newest first). - ListDeviceConfigVersions(ctx context.Context, in *ListDeviceConfigVersionsRequest, opts ...grpc.CallOption) (*ListDeviceConfigVersionsResponse, error) - // Lists the last few versions of the device state in descending order (i.e.: - // newest first). - ListDeviceStates(ctx context.Context, in *ListDeviceStatesRequest, opts ...grpc.CallOption) (*ListDeviceStatesResponse, error) - // Sets the access control policy on the specified resource. Replaces any - // existing policy. - SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) - // Gets the access control policy for a resource. - // Returns an empty policy if the resource exists and does not have a policy - // set. - GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) - // Returns permissions that a caller has on the specified resource. - // 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 { - cc *grpc.ClientConn -} - -func NewDeviceManagerClient(cc *grpc.ClientConn) DeviceManagerClient { - return &deviceManagerClient{cc} -} - -func (c *deviceManagerClient) CreateDeviceRegistry(ctx context.Context, in *CreateDeviceRegistryRequest, opts ...grpc.CallOption) (*DeviceRegistry, error) { - out := new(DeviceRegistry) - err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/CreateDeviceRegistry", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *deviceManagerClient) GetDeviceRegistry(ctx context.Context, in *GetDeviceRegistryRequest, opts ...grpc.CallOption) (*DeviceRegistry, error) { - out := new(DeviceRegistry) - err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/GetDeviceRegistry", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *deviceManagerClient) UpdateDeviceRegistry(ctx context.Context, in *UpdateDeviceRegistryRequest, opts ...grpc.CallOption) (*DeviceRegistry, error) { - out := new(DeviceRegistry) - err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/UpdateDeviceRegistry", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *deviceManagerClient) DeleteDeviceRegistry(ctx context.Context, in *DeleteDeviceRegistryRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/DeleteDeviceRegistry", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *deviceManagerClient) ListDeviceRegistries(ctx context.Context, in *ListDeviceRegistriesRequest, opts ...grpc.CallOption) (*ListDeviceRegistriesResponse, error) { - out := new(ListDeviceRegistriesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/ListDeviceRegistries", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *deviceManagerClient) CreateDevice(ctx context.Context, in *CreateDeviceRequest, opts ...grpc.CallOption) (*Device, error) { - out := new(Device) - err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/CreateDevice", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *deviceManagerClient) GetDevice(ctx context.Context, in *GetDeviceRequest, opts ...grpc.CallOption) (*Device, error) { - out := new(Device) - err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/GetDevice", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *deviceManagerClient) UpdateDevice(ctx context.Context, in *UpdateDeviceRequest, opts ...grpc.CallOption) (*Device, error) { - out := new(Device) - err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/UpdateDevice", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *deviceManagerClient) DeleteDevice(ctx context.Context, in *DeleteDeviceRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/DeleteDevice", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *deviceManagerClient) ListDevices(ctx context.Context, in *ListDevicesRequest, opts ...grpc.CallOption) (*ListDevicesResponse, error) { - out := new(ListDevicesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/ListDevices", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *deviceManagerClient) ModifyCloudToDeviceConfig(ctx context.Context, in *ModifyCloudToDeviceConfigRequest, opts ...grpc.CallOption) (*DeviceConfig, error) { - out := new(DeviceConfig) - err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/ModifyCloudToDeviceConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *deviceManagerClient) ListDeviceConfigVersions(ctx context.Context, in *ListDeviceConfigVersionsRequest, opts ...grpc.CallOption) (*ListDeviceConfigVersionsResponse, error) { - out := new(ListDeviceConfigVersionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/ListDeviceConfigVersions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *deviceManagerClient) ListDeviceStates(ctx context.Context, in *ListDeviceStatesRequest, opts ...grpc.CallOption) (*ListDeviceStatesResponse, error) { - out := new(ListDeviceStatesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/ListDeviceStates", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *deviceManagerClient) SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { - out := new(v1.Policy) - err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *deviceManagerClient) GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { - out := new(v1.Policy) - err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *deviceManagerClient) TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) { - out := new(v1.TestIamPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.iot.v1.DeviceManager/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - 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. - CreateDeviceRegistry(context.Context, *CreateDeviceRegistryRequest) (*DeviceRegistry, error) - // Gets a device registry configuration. - GetDeviceRegistry(context.Context, *GetDeviceRegistryRequest) (*DeviceRegistry, error) - // Updates a device registry configuration. - UpdateDeviceRegistry(context.Context, *UpdateDeviceRegistryRequest) (*DeviceRegistry, error) - // Deletes a device registry configuration. - DeleteDeviceRegistry(context.Context, *DeleteDeviceRegistryRequest) (*empty.Empty, error) - // Lists device registries. - ListDeviceRegistries(context.Context, *ListDeviceRegistriesRequest) (*ListDeviceRegistriesResponse, error) - // Creates a device in a device registry. - CreateDevice(context.Context, *CreateDeviceRequest) (*Device, error) - // Gets details about a device. - GetDevice(context.Context, *GetDeviceRequest) (*Device, error) - // Updates a device. - UpdateDevice(context.Context, *UpdateDeviceRequest) (*Device, error) - // Deletes a device. - DeleteDevice(context.Context, *DeleteDeviceRequest) (*empty.Empty, error) - // List devices in a device registry. - ListDevices(context.Context, *ListDevicesRequest) (*ListDevicesResponse, error) - // Modifies the configuration for the device, which is eventually sent from - // the Cloud IoT Core servers. Returns the modified configuration version and - // its metadata. - ModifyCloudToDeviceConfig(context.Context, *ModifyCloudToDeviceConfigRequest) (*DeviceConfig, error) - // Lists the last few versions of the device configuration in descending - // order (i.e.: newest first). - ListDeviceConfigVersions(context.Context, *ListDeviceConfigVersionsRequest) (*ListDeviceConfigVersionsResponse, error) - // Lists the last few versions of the device state in descending order (i.e.: - // newest first). - ListDeviceStates(context.Context, *ListDeviceStatesRequest) (*ListDeviceStatesResponse, error) - // Sets the access control policy on the specified resource. Replaces any - // existing policy. - SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error) - // Gets the access control policy for a resource. - // Returns an empty policy if the resource exists and does not have a policy - // set. - GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error) - // Returns permissions that a caller has on the specified resource. - // 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) -} - -// UnimplementedDeviceManagerServer can be embedded to have forward compatible implementations. -type UnimplementedDeviceManagerServer struct { -} - -func (*UnimplementedDeviceManagerServer) CreateDeviceRegistry(ctx context.Context, req *CreateDeviceRegistryRequest) (*DeviceRegistry, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateDeviceRegistry not implemented") -} -func (*UnimplementedDeviceManagerServer) GetDeviceRegistry(ctx context.Context, req *GetDeviceRegistryRequest) (*DeviceRegistry, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDeviceRegistry not implemented") -} -func (*UnimplementedDeviceManagerServer) UpdateDeviceRegistry(ctx context.Context, req *UpdateDeviceRegistryRequest) (*DeviceRegistry, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateDeviceRegistry not implemented") -} -func (*UnimplementedDeviceManagerServer) DeleteDeviceRegistry(ctx context.Context, req *DeleteDeviceRegistryRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteDeviceRegistry not implemented") -} -func (*UnimplementedDeviceManagerServer) ListDeviceRegistries(ctx context.Context, req *ListDeviceRegistriesRequest) (*ListDeviceRegistriesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListDeviceRegistries not implemented") -} -func (*UnimplementedDeviceManagerServer) CreateDevice(ctx context.Context, req *CreateDeviceRequest) (*Device, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateDevice not implemented") -} -func (*UnimplementedDeviceManagerServer) GetDevice(ctx context.Context, req *GetDeviceRequest) (*Device, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDevice not implemented") -} -func (*UnimplementedDeviceManagerServer) UpdateDevice(ctx context.Context, req *UpdateDeviceRequest) (*Device, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateDevice not implemented") -} -func (*UnimplementedDeviceManagerServer) DeleteDevice(ctx context.Context, req *DeleteDeviceRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteDevice not implemented") -} -func (*UnimplementedDeviceManagerServer) ListDevices(ctx context.Context, req *ListDevicesRequest) (*ListDevicesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListDevices not implemented") -} -func (*UnimplementedDeviceManagerServer) ModifyCloudToDeviceConfig(ctx context.Context, req *ModifyCloudToDeviceConfigRequest) (*DeviceConfig, error) { - return nil, status.Errorf(codes.Unimplemented, "method ModifyCloudToDeviceConfig not implemented") -} -func (*UnimplementedDeviceManagerServer) ListDeviceConfigVersions(ctx context.Context, req *ListDeviceConfigVersionsRequest) (*ListDeviceConfigVersionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListDeviceConfigVersions not implemented") -} -func (*UnimplementedDeviceManagerServer) ListDeviceStates(ctx context.Context, req *ListDeviceStatesRequest) (*ListDeviceStatesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListDeviceStates not implemented") -} -func (*UnimplementedDeviceManagerServer) SetIamPolicy(ctx context.Context, req *v1.SetIamPolicyRequest) (*v1.Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedDeviceManagerServer) GetIamPolicy(ctx context.Context, req *v1.GetIamPolicyRequest) (*v1.Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedDeviceManagerServer) TestIamPermissions(ctx context.Context, req *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} -func (*UnimplementedDeviceManagerServer) SendCommandToDevice(ctx context.Context, req *SendCommandToDeviceRequest) (*SendCommandToDeviceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SendCommandToDevice not implemented") -} -func (*UnimplementedDeviceManagerServer) BindDeviceToGateway(ctx context.Context, req *BindDeviceToGatewayRequest) (*BindDeviceToGatewayResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method BindDeviceToGateway not implemented") -} -func (*UnimplementedDeviceManagerServer) UnbindDeviceFromGateway(ctx context.Context, req *UnbindDeviceFromGatewayRequest) (*UnbindDeviceFromGatewayResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UnbindDeviceFromGateway not implemented") -} - -func RegisterDeviceManagerServer(s *grpc.Server, srv DeviceManagerServer) { - s.RegisterService(&_DeviceManager_serviceDesc, srv) -} - -func _DeviceManager_CreateDeviceRegistry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateDeviceRegistryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DeviceManagerServer).CreateDeviceRegistry(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.iot.v1.DeviceManager/CreateDeviceRegistry", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DeviceManagerServer).CreateDeviceRegistry(ctx, req.(*CreateDeviceRegistryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DeviceManager_GetDeviceRegistry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDeviceRegistryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DeviceManagerServer).GetDeviceRegistry(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.iot.v1.DeviceManager/GetDeviceRegistry", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DeviceManagerServer).GetDeviceRegistry(ctx, req.(*GetDeviceRegistryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DeviceManager_UpdateDeviceRegistry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateDeviceRegistryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DeviceManagerServer).UpdateDeviceRegistry(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.iot.v1.DeviceManager/UpdateDeviceRegistry", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DeviceManagerServer).UpdateDeviceRegistry(ctx, req.(*UpdateDeviceRegistryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DeviceManager_DeleteDeviceRegistry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteDeviceRegistryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DeviceManagerServer).DeleteDeviceRegistry(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.iot.v1.DeviceManager/DeleteDeviceRegistry", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DeviceManagerServer).DeleteDeviceRegistry(ctx, req.(*DeleteDeviceRegistryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DeviceManager_ListDeviceRegistries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListDeviceRegistriesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DeviceManagerServer).ListDeviceRegistries(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.iot.v1.DeviceManager/ListDeviceRegistries", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DeviceManagerServer).ListDeviceRegistries(ctx, req.(*ListDeviceRegistriesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DeviceManager_CreateDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateDeviceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DeviceManagerServer).CreateDevice(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.iot.v1.DeviceManager/CreateDevice", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DeviceManagerServer).CreateDevice(ctx, req.(*CreateDeviceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DeviceManager_GetDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDeviceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DeviceManagerServer).GetDevice(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.iot.v1.DeviceManager/GetDevice", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DeviceManagerServer).GetDevice(ctx, req.(*GetDeviceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DeviceManager_UpdateDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateDeviceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DeviceManagerServer).UpdateDevice(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.iot.v1.DeviceManager/UpdateDevice", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DeviceManagerServer).UpdateDevice(ctx, req.(*UpdateDeviceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DeviceManager_DeleteDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteDeviceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DeviceManagerServer).DeleteDevice(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.iot.v1.DeviceManager/DeleteDevice", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DeviceManagerServer).DeleteDevice(ctx, req.(*DeleteDeviceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DeviceManager_ListDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListDevicesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DeviceManagerServer).ListDevices(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.iot.v1.DeviceManager/ListDevices", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DeviceManagerServer).ListDevices(ctx, req.(*ListDevicesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DeviceManager_ModifyCloudToDeviceConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ModifyCloudToDeviceConfigRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DeviceManagerServer).ModifyCloudToDeviceConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.iot.v1.DeviceManager/ModifyCloudToDeviceConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DeviceManagerServer).ModifyCloudToDeviceConfig(ctx, req.(*ModifyCloudToDeviceConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DeviceManager_ListDeviceConfigVersions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListDeviceConfigVersionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DeviceManagerServer).ListDeviceConfigVersions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.iot.v1.DeviceManager/ListDeviceConfigVersions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DeviceManagerServer).ListDeviceConfigVersions(ctx, req.(*ListDeviceConfigVersionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DeviceManager_ListDeviceStates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListDeviceStatesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DeviceManagerServer).ListDeviceStates(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.iot.v1.DeviceManager/ListDeviceStates", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DeviceManagerServer).ListDeviceStates(ctx, req.(*ListDeviceStatesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DeviceManager_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.(DeviceManagerServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.iot.v1.DeviceManager/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DeviceManagerServer).SetIamPolicy(ctx, req.(*v1.SetIamPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DeviceManager_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.(DeviceManagerServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.iot.v1.DeviceManager/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DeviceManagerServer).GetIamPolicy(ctx, req.(*v1.GetIamPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DeviceManager_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.(DeviceManagerServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.iot.v1.DeviceManager/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DeviceManagerServer).TestIamPermissions(ctx, req.(*v1.TestIamPermissionsRequest)) - } - 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), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateDeviceRegistry", - Handler: _DeviceManager_CreateDeviceRegistry_Handler, - }, - { - MethodName: "GetDeviceRegistry", - Handler: _DeviceManager_GetDeviceRegistry_Handler, - }, - { - MethodName: "UpdateDeviceRegistry", - Handler: _DeviceManager_UpdateDeviceRegistry_Handler, - }, - { - MethodName: "DeleteDeviceRegistry", - Handler: _DeviceManager_DeleteDeviceRegistry_Handler, - }, - { - MethodName: "ListDeviceRegistries", - Handler: _DeviceManager_ListDeviceRegistries_Handler, - }, - { - MethodName: "CreateDevice", - Handler: _DeviceManager_CreateDevice_Handler, - }, - { - MethodName: "GetDevice", - Handler: _DeviceManager_GetDevice_Handler, - }, - { - MethodName: "UpdateDevice", - Handler: _DeviceManager_UpdateDevice_Handler, - }, - { - MethodName: "DeleteDevice", - Handler: _DeviceManager_DeleteDevice_Handler, - }, - { - MethodName: "ListDevices", - Handler: _DeviceManager_ListDevices_Handler, - }, - { - MethodName: "ModifyCloudToDeviceConfig", - Handler: _DeviceManager_ModifyCloudToDeviceConfig_Handler, - }, - { - MethodName: "ListDeviceConfigVersions", - Handler: _DeviceManager_ListDeviceConfigVersions_Handler, - }, - { - MethodName: "ListDeviceStates", - Handler: _DeviceManager_ListDeviceStates_Handler, - }, - { - MethodName: "SetIamPolicy", - Handler: _DeviceManager_SetIamPolicy_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _DeviceManager_GetIamPolicy_Handler, - }, - { - 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", -} 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 deleted file mode 100644 index 18e0d234..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/iot/v1/resources.pb.go +++ /dev/null @@ -1,1521 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/iot/v1/resources.proto - -package iot - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Indicates whether an MQTT connection is enabled or disabled. See the field -// description for details. -type MqttState int32 - -const ( - // No MQTT state specified. If not specified, MQTT will be enabled by default. - MqttState_MQTT_STATE_UNSPECIFIED MqttState = 0 - // Enables a MQTT connection. - MqttState_MQTT_ENABLED MqttState = 1 - // Disables a MQTT connection. - MqttState_MQTT_DISABLED MqttState = 2 -) - -var MqttState_name = map[int32]string{ - 0: "MQTT_STATE_UNSPECIFIED", - 1: "MQTT_ENABLED", - 2: "MQTT_DISABLED", -} - -var MqttState_value = map[string]int32{ - "MQTT_STATE_UNSPECIFIED": 0, - "MQTT_ENABLED": 1, - "MQTT_DISABLED": 2, -} - -func (x MqttState) String() string { - return proto.EnumName(MqttState_name, int32(x)) -} - -func (MqttState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b8dc5e858286fc66, []int{0} -} - -// Indicates whether DeviceService (HTTP) is enabled or disabled for the -// registry. See the field description for details. -type HttpState int32 - -const ( - // No HTTP state specified. If not specified, DeviceService will be - // enabled by default. - HttpState_HTTP_STATE_UNSPECIFIED HttpState = 0 - // Enables DeviceService (HTTP) service for the registry. - HttpState_HTTP_ENABLED HttpState = 1 - // Disables DeviceService (HTTP) service for the registry. - HttpState_HTTP_DISABLED HttpState = 2 -) - -var HttpState_name = map[int32]string{ - 0: "HTTP_STATE_UNSPECIFIED", - 1: "HTTP_ENABLED", - 2: "HTTP_DISABLED", -} - -var HttpState_value = map[string]int32{ - "HTTP_STATE_UNSPECIFIED": 0, - "HTTP_ENABLED": 1, - "HTTP_DISABLED": 2, -} - -func (x HttpState) String() string { - return proto.EnumName(HttpState_name, int32(x)) -} - -func (HttpState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b8dc5e858286fc66, []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_b8dc5e858286fc66, []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_b8dc5e858286fc66, []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_b8dc5e858286fc66, []int{4} -} - -// The supported formats for the public key. -type PublicKeyCertificateFormat int32 - -const ( - // The format has not been specified. This is an invalid default value and - // must not be used. - PublicKeyCertificateFormat_UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMAT PublicKeyCertificateFormat = 0 - // An X.509v3 certificate ([RFC5280](https://www.ietf.org/rfc/rfc5280.txt)), - // encoded in base64, and wrapped by `-----BEGIN CERTIFICATE-----` and - // `-----END CERTIFICATE-----`. - PublicKeyCertificateFormat_X509_CERTIFICATE_PEM PublicKeyCertificateFormat = 1 -) - -var PublicKeyCertificateFormat_name = map[int32]string{ - 0: "UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMAT", - 1: "X509_CERTIFICATE_PEM", -} - -var PublicKeyCertificateFormat_value = map[string]int32{ - "UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMAT": 0, - "X509_CERTIFICATE_PEM": 1, -} - -func (x PublicKeyCertificateFormat) String() string { - return proto.EnumName(PublicKeyCertificateFormat_name, int32(x)) -} - -func (PublicKeyCertificateFormat) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b8dc5e858286fc66, []int{5} -} - -// The supported formats for the public key. -type PublicKeyFormat int32 - -const ( - // The format has not been specified. This is an invalid default value and - // must not be used. - PublicKeyFormat_UNSPECIFIED_PUBLIC_KEY_FORMAT PublicKeyFormat = 0 - // An RSA public key encoded in base64, and wrapped by - // `-----BEGIN PUBLIC KEY-----` and `-----END PUBLIC KEY-----`. This can be - // used to verify `RS256` signatures in JWT tokens ([RFC7518]( - // https://www.ietf.org/rfc/rfc7518.txt)). - PublicKeyFormat_RSA_PEM PublicKeyFormat = 3 - // As RSA_PEM, but wrapped in an X.509v3 certificate ([RFC5280]( - // https://www.ietf.org/rfc/rfc5280.txt)), encoded in base64, and wrapped by - // `-----BEGIN CERTIFICATE-----` and `-----END CERTIFICATE-----`. - PublicKeyFormat_RSA_X509_PEM PublicKeyFormat = 1 - // Public key for the ECDSA algorithm using P-256 and SHA-256, encoded in - // base64, and wrapped by `-----BEGIN PUBLIC KEY-----` and `-----END - // PUBLIC KEY-----`. This can be used to verify JWT tokens with the `ES256` - // algorithm ([RFC7518](https://www.ietf.org/rfc/rfc7518.txt)). This curve is - // defined in [OpenSSL](https://www.openssl.org/) as the `prime256v1` curve. - PublicKeyFormat_ES256_PEM PublicKeyFormat = 2 - // As ES256_PEM, but wrapped in an X.509v3 certificate ([RFC5280]( - // https://www.ietf.org/rfc/rfc5280.txt)), encoded in base64, and wrapped by - // `-----BEGIN CERTIFICATE-----` and `-----END CERTIFICATE-----`. - PublicKeyFormat_ES256_X509_PEM PublicKeyFormat = 4 -) - -var PublicKeyFormat_name = map[int32]string{ - 0: "UNSPECIFIED_PUBLIC_KEY_FORMAT", - 3: "RSA_PEM", - 1: "RSA_X509_PEM", - 2: "ES256_PEM", - 4: "ES256_X509_PEM", -} - -var PublicKeyFormat_value = map[string]int32{ - "UNSPECIFIED_PUBLIC_KEY_FORMAT": 0, - "RSA_PEM": 3, - "RSA_X509_PEM": 1, - "ES256_PEM": 2, - "ES256_X509_PEM": 4, -} - -func (x PublicKeyFormat) String() string { - return proto.EnumName(PublicKeyFormat_name, int32(x)) -} - -func (PublicKeyFormat) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b8dc5e858286fc66, []int{6} -} - -// The device resource. -type Device struct { - // The user-defined device identifier. The device ID must be unique - // within a device registry. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // The resource path name. For example, - // `projects/p1/locations/us-central1/registries/registry0/devices/dev0` or - // `projects/p1/locations/us-central1/registries/registry0/devices/{num_id}`. - // When `name` is populated as a response from the service, it always ends - // in the device numeric ID. - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - // [Output only] A server-defined unique numeric ID for the device. This is a - // more compact way to identify devices, and it is globally unique. - NumId uint64 `protobuf:"varint,3,opt,name=num_id,json=numId,proto3" json:"num_id,omitempty"` - // The credentials used to authenticate this device. To allow credential - // rotation without interruption, multiple device credentials can be bound to - // this device. No more than 3 credentials can be bound to a single device at - // a time. When new credentials are added to a device, they are verified - // against the registry credentials. For details, see the description of the - // `DeviceRegistry.credentials` field. - Credentials []*DeviceCredential `protobuf:"bytes,12,rep,name=credentials,proto3" json:"credentials,omitempty"` - // [Output only] The last time an MQTT `PINGREQ` was received. This field - // applies only to devices connecting through MQTT. MQTT clients usually only - // send `PINGREQ` messages if the connection is idle, and no other messages - // have been sent. Timestamps are periodically collected and written to - // storage; they may be stale by a few minutes. - LastHeartbeatTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=last_heartbeat_time,json=lastHeartbeatTime,proto3" json:"last_heartbeat_time,omitempty"` - // [Output only] The last time a telemetry event was received. Timestamps are - // periodically collected and written to storage; they may be stale by a few - // minutes. - LastEventTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=last_event_time,json=lastEventTime,proto3" json:"last_event_time,omitempty"` - // [Output only] The last time a state event was received. Timestamps are - // periodically collected and written to storage; they may be stale by a few - // minutes. - LastStateTime *timestamp.Timestamp `protobuf:"bytes,20,opt,name=last_state_time,json=lastStateTime,proto3" json:"last_state_time,omitempty"` - // [Output only] The last time a cloud-to-device config version acknowledgment - // was received from the device. This field is only for configurations - // sent through MQTT. - LastConfigAckTime *timestamp.Timestamp `protobuf:"bytes,14,opt,name=last_config_ack_time,json=lastConfigAckTime,proto3" json:"last_config_ack_time,omitempty"` - // [Output only] The last time a cloud-to-device config version was sent to - // the device. - LastConfigSendTime *timestamp.Timestamp `protobuf:"bytes,18,opt,name=last_config_send_time,json=lastConfigSendTime,proto3" json:"last_config_send_time,omitempty"` - // If a device is blocked, connections or requests from this device will fail. - // Can be used to temporarily prevent the device from connecting if, for - // example, the sensor is generating bad data and needs maintenance. - Blocked bool `protobuf:"varint,19,opt,name=blocked,proto3" json:"blocked,omitempty"` - // [Output only] The time the most recent error occurred, such as a failure to - // publish to Cloud Pub/Sub. This field is the timestamp of - // 'last_error_status'. - LastErrorTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=last_error_time,json=lastErrorTime,proto3" json:"last_error_time,omitempty"` - // [Output only] The error message of the most recent error, such as a failure - // to publish to Cloud Pub/Sub. 'last_error_time' is the timestamp of this - // field. If no errors have occurred, this field has an empty message - // and the status code 0 == OK. Otherwise, this field is expected to have a - // status code other than OK. - LastErrorStatus *status.Status `protobuf:"bytes,11,opt,name=last_error_status,json=lastErrorStatus,proto3" json:"last_error_status,omitempty"` - // The most recent device configuration, which is eventually sent from - // Cloud IoT Core to the device. If not present on creation, the - // configuration will be initialized with an empty payload and version value - // of `1`. To update this field after creation, use the - // `DeviceManager.ModifyCloudToDeviceConfig` method. - Config *DeviceConfig `protobuf:"bytes,13,opt,name=config,proto3" json:"config,omitempty"` - // [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. - // - // Keys must conform to the regular expression [a-zA-Z][a-zA-Z0-9-_.+~%]+ and - // be less than 128 bytes in length. - // - // Values are free-form strings. Each value must be less than or equal to 32 - // KB in size. - // - // 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"` - // 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_b8dc5e858286fc66, []int{0} -} - -func (m *Device) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Device.Unmarshal(m, b) -} -func (m *Device) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Device.Marshal(b, m, deterministic) -} -func (m *Device) XXX_Merge(src proto.Message) { - xxx_messageInfo_Device.Merge(m, src) -} -func (m *Device) XXX_Size() int { - return xxx_messageInfo_Device.Size(m) -} -func (m *Device) XXX_DiscardUnknown() { - xxx_messageInfo_Device.DiscardUnknown(m) -} - -var xxx_messageInfo_Device proto.InternalMessageInfo - -func (m *Device) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *Device) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Device) GetNumId() uint64 { - if m != nil { - return m.NumId - } - return 0 -} - -func (m *Device) GetCredentials() []*DeviceCredential { - if m != nil { - return m.Credentials - } - return nil -} - -func (m *Device) GetLastHeartbeatTime() *timestamp.Timestamp { - if m != nil { - return m.LastHeartbeatTime - } - return nil -} - -func (m *Device) GetLastEventTime() *timestamp.Timestamp { - if m != nil { - return m.LastEventTime - } - return nil -} - -func (m *Device) GetLastStateTime() *timestamp.Timestamp { - if m != nil { - return m.LastStateTime - } - return nil -} - -func (m *Device) GetLastConfigAckTime() *timestamp.Timestamp { - if m != nil { - return m.LastConfigAckTime - } - return nil -} - -func (m *Device) GetLastConfigSendTime() *timestamp.Timestamp { - if m != nil { - return m.LastConfigSendTime - } - return nil -} - -func (m *Device) GetBlocked() bool { - if m != nil { - return m.Blocked - } - return false -} - -func (m *Device) GetLastErrorTime() *timestamp.Timestamp { - if m != nil { - return m.LastErrorTime - } - return nil -} - -func (m *Device) GetLastErrorStatus() *status.Status { - if m != nil { - return m.LastErrorStatus - } - return nil -} - -func (m *Device) GetConfig() *DeviceConfig { - if m != nil { - return m.Config - } - return nil -} - -func (m *Device) GetState() *DeviceState { - if m != nil { - return m.State - } - 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 - } - 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_b8dc5e858286fc66, []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 (m *GatewayConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_GatewayConfig.Merge(m, 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`. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // The resource path name. For example, - // `projects/example-project/locations/us-central1/registries/my-registry`. - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - // The configuration for notification of telemetry events received from the - // device. All telemetry events that were successfully published by the - // device and acknowledged by Cloud IoT Core are guaranteed to be - // delivered to Cloud Pub/Sub. If multiple configurations match a message, - // only the first matching configuration is used. If you try to publish a - // device telemetry event using MQTT without specifying a Cloud Pub/Sub topic - // for the device's registry, the connection closes automatically. If you try - // to do so using an HTTP connection, an error is returned. Up to 10 - // configurations may be provided. - EventNotificationConfigs []*EventNotificationConfig `protobuf:"bytes,10,rep,name=event_notification_configs,json=eventNotificationConfigs,proto3" json:"event_notification_configs,omitempty"` - // The configuration for notification of new states received from the device. - // State updates are guaranteed to be stored in the state history, but - // notifications to Cloud Pub/Sub are not guaranteed. For example, if - // permissions are misconfigured or the specified topic doesn't exist, no - // notification will be published but the state will still be stored in Cloud - // IoT Core. - StateNotificationConfig *StateNotificationConfig `protobuf:"bytes,7,opt,name=state_notification_config,json=stateNotificationConfig,proto3" json:"state_notification_config,omitempty"` - // The MQTT configuration for this device registry. - 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 - // empty, no verification is performed. Otherwise, the credentials of a newly - // created device or added credentials of an updated device should be signed - // with one of these registry credentials. - // - // Note, however, that existing devices will never be affected by - // modifications to this list of credentials: after a device has been - // successfully created in a registry, it should be able to connect even if - // its registry credentials are revoked, deleted, or modified. - Credentials []*RegistryCredential `protobuf:"bytes,8,rep,name=credentials,proto3" json:"credentials,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b8dc5e858286fc66, []int{2} -} - -func (m *DeviceRegistry) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeviceRegistry.Unmarshal(m, b) -} -func (m *DeviceRegistry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeviceRegistry.Marshal(b, m, deterministic) -} -func (m *DeviceRegistry) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeviceRegistry.Merge(m, src) -} -func (m *DeviceRegistry) XXX_Size() int { - return xxx_messageInfo_DeviceRegistry.Size(m) -} -func (m *DeviceRegistry) XXX_DiscardUnknown() { - xxx_messageInfo_DeviceRegistry.DiscardUnknown(m) -} - -var xxx_messageInfo_DeviceRegistry proto.InternalMessageInfo - -func (m *DeviceRegistry) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *DeviceRegistry) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *DeviceRegistry) GetEventNotificationConfigs() []*EventNotificationConfig { - if m != nil { - return m.EventNotificationConfigs - } - return nil -} - -func (m *DeviceRegistry) GetStateNotificationConfig() *StateNotificationConfig { - if m != nil { - return m.StateNotificationConfig - } - return nil -} - -func (m *DeviceRegistry) GetMqttConfig() *MqttConfig { - if m != nil { - return m.MqttConfig - } - return nil -} - -func (m *DeviceRegistry) GetHttpConfig() *HttpConfig { - if m != nil { - return m.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 - } - return nil -} - -// The configuration of MQTT for a device registry. -type MqttConfig struct { - // If enabled, allows connections using the MQTT protocol. Otherwise, MQTT - // connections to this registry will fail. - MqttEnabledState MqttState `protobuf:"varint,1,opt,name=mqtt_enabled_state,json=mqttEnabledState,proto3,enum=google.cloud.iot.v1.MqttState" json:"mqtt_enabled_state,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b8dc5e858286fc66, []int{3} -} - -func (m *MqttConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MqttConfig.Unmarshal(m, b) -} -func (m *MqttConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MqttConfig.Marshal(b, m, deterministic) -} -func (m *MqttConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_MqttConfig.Merge(m, src) -} -func (m *MqttConfig) XXX_Size() int { - return xxx_messageInfo_MqttConfig.Size(m) -} -func (m *MqttConfig) XXX_DiscardUnknown() { - xxx_messageInfo_MqttConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_MqttConfig proto.InternalMessageInfo - -func (m *MqttConfig) GetMqttEnabledState() MqttState { - if m != nil { - return m.MqttEnabledState - } - return MqttState_MQTT_STATE_UNSPECIFIED -} - -// The configuration of the HTTP bridge for a device registry. -type HttpConfig struct { - // If enabled, allows devices to use DeviceService via the HTTP protocol. - // Otherwise, any requests to DeviceService will fail for this registry. - HttpEnabledState HttpState `protobuf:"varint,1,opt,name=http_enabled_state,json=httpEnabledState,proto3,enum=google.cloud.iot.v1.HttpState" json:"http_enabled_state,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b8dc5e858286fc66, []int{4} -} - -func (m *HttpConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HttpConfig.Unmarshal(m, b) -} -func (m *HttpConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HttpConfig.Marshal(b, m, deterministic) -} -func (m *HttpConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_HttpConfig.Merge(m, src) -} -func (m *HttpConfig) XXX_Size() int { - return xxx_messageInfo_HttpConfig.Size(m) -} -func (m *HttpConfig) XXX_DiscardUnknown() { - xxx_messageInfo_HttpConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_HttpConfig proto.InternalMessageInfo - -func (m *HttpConfig) GetHttpEnabledState() HttpState { - if m != nil { - return m.HttpEnabledState - } - return HttpState_HTTP_STATE_UNSPECIFIED -} - -// The configuration for forwarding telemetry events. -type EventNotificationConfig struct { - // If the subfolder name matches this string exactly, this configuration will - // be used. The string must not include the leading '/' character. If empty, - // all strings are matched. This field is used only for telemetry events; - // subfolders are not supported for state changes. - SubfolderMatches string `protobuf:"bytes,2,opt,name=subfolder_matches,json=subfolderMatches,proto3" json:"subfolder_matches,omitempty"` - // A Cloud Pub/Sub topic name. For example, - // `projects/myProject/topics/deviceEvents`. - PubsubTopicName string `protobuf:"bytes,1,opt,name=pubsub_topic_name,json=pubsubTopicName,proto3" json:"pubsub_topic_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b8dc5e858286fc66, []int{5} -} - -func (m *EventNotificationConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EventNotificationConfig.Unmarshal(m, b) -} -func (m *EventNotificationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EventNotificationConfig.Marshal(b, m, deterministic) -} -func (m *EventNotificationConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventNotificationConfig.Merge(m, src) -} -func (m *EventNotificationConfig) XXX_Size() int { - return xxx_messageInfo_EventNotificationConfig.Size(m) -} -func (m *EventNotificationConfig) XXX_DiscardUnknown() { - xxx_messageInfo_EventNotificationConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_EventNotificationConfig proto.InternalMessageInfo - -func (m *EventNotificationConfig) GetSubfolderMatches() string { - if m != nil { - return m.SubfolderMatches - } - return "" -} - -func (m *EventNotificationConfig) GetPubsubTopicName() string { - if m != nil { - return m.PubsubTopicName - } - return "" -} - -// The configuration for notification of new states received from the device. -type StateNotificationConfig struct { - // A Cloud Pub/Sub topic name. For example, - // `projects/myProject/topics/deviceEvents`. - PubsubTopicName string `protobuf:"bytes,1,opt,name=pubsub_topic_name,json=pubsubTopicName,proto3" json:"pubsub_topic_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b8dc5e858286fc66, []int{6} -} - -func (m *StateNotificationConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StateNotificationConfig.Unmarshal(m, b) -} -func (m *StateNotificationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StateNotificationConfig.Marshal(b, m, deterministic) -} -func (m *StateNotificationConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_StateNotificationConfig.Merge(m, src) -} -func (m *StateNotificationConfig) XXX_Size() int { - return xxx_messageInfo_StateNotificationConfig.Size(m) -} -func (m *StateNotificationConfig) XXX_DiscardUnknown() { - xxx_messageInfo_StateNotificationConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_StateNotificationConfig proto.InternalMessageInfo - -func (m *StateNotificationConfig) GetPubsubTopicName() string { - if m != nil { - return m.PubsubTopicName - } - return "" -} - -// A server-stored registry credential used to validate device credentials. -type RegistryCredential struct { - // The credential data. Reserved for expansion in the future. - // - // Types that are valid to be assigned to Credential: - // *RegistryCredential_PublicKeyCertificate - Credential isRegistryCredential_Credential `protobuf_oneof:"credential"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b8dc5e858286fc66, []int{7} -} - -func (m *RegistryCredential) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RegistryCredential.Unmarshal(m, b) -} -func (m *RegistryCredential) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RegistryCredential.Marshal(b, m, deterministic) -} -func (m *RegistryCredential) XXX_Merge(src proto.Message) { - xxx_messageInfo_RegistryCredential.Merge(m, src) -} -func (m *RegistryCredential) XXX_Size() int { - return xxx_messageInfo_RegistryCredential.Size(m) -} -func (m *RegistryCredential) XXX_DiscardUnknown() { - xxx_messageInfo_RegistryCredential.DiscardUnknown(m) -} - -var xxx_messageInfo_RegistryCredential proto.InternalMessageInfo - -type isRegistryCredential_Credential interface { - isRegistryCredential_Credential() -} - -type RegistryCredential_PublicKeyCertificate struct { - PublicKeyCertificate *PublicKeyCertificate `protobuf:"bytes,1,opt,name=public_key_certificate,json=publicKeyCertificate,proto3,oneof"` -} - -func (*RegistryCredential_PublicKeyCertificate) isRegistryCredential_Credential() {} - -func (m *RegistryCredential) GetCredential() isRegistryCredential_Credential { - if m != nil { - return m.Credential - } - return nil -} - -func (m *RegistryCredential) GetPublicKeyCertificate() *PublicKeyCertificate { - if x, ok := m.GetCredential().(*RegistryCredential_PublicKeyCertificate); ok { - return x.PublicKeyCertificate - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*RegistryCredential) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*RegistryCredential_PublicKeyCertificate)(nil), - } -} - -// Details of an X.509 certificate. For informational purposes only. -type X509CertificateDetails struct { - // The entity that signed the certificate. - Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"` - // The entity the certificate and public key belong to. - Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` - // The time the certificate becomes valid. - StartTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // The time the certificate becomes invalid. - ExpiryTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=expiry_time,json=expiryTime,proto3" json:"expiry_time,omitempty"` - // The algorithm used to sign the certificate. - SignatureAlgorithm string `protobuf:"bytes,5,opt,name=signature_algorithm,json=signatureAlgorithm,proto3" json:"signature_algorithm,omitempty"` - // The type of public key in the certificate. - PublicKeyType string `protobuf:"bytes,6,opt,name=public_key_type,json=publicKeyType,proto3" json:"public_key_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b8dc5e858286fc66, []int{8} -} - -func (m *X509CertificateDetails) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_X509CertificateDetails.Unmarshal(m, b) -} -func (m *X509CertificateDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_X509CertificateDetails.Marshal(b, m, deterministic) -} -func (m *X509CertificateDetails) XXX_Merge(src proto.Message) { - xxx_messageInfo_X509CertificateDetails.Merge(m, src) -} -func (m *X509CertificateDetails) XXX_Size() int { - return xxx_messageInfo_X509CertificateDetails.Size(m) -} -func (m *X509CertificateDetails) XXX_DiscardUnknown() { - xxx_messageInfo_X509CertificateDetails.DiscardUnknown(m) -} - -var xxx_messageInfo_X509CertificateDetails proto.InternalMessageInfo - -func (m *X509CertificateDetails) GetIssuer() string { - if m != nil { - return m.Issuer - } - return "" -} - -func (m *X509CertificateDetails) GetSubject() string { - if m != nil { - return m.Subject - } - return "" -} - -func (m *X509CertificateDetails) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *X509CertificateDetails) GetExpiryTime() *timestamp.Timestamp { - if m != nil { - return m.ExpiryTime - } - return nil -} - -func (m *X509CertificateDetails) GetSignatureAlgorithm() string { - if m != nil { - return m.SignatureAlgorithm - } - return "" -} - -func (m *X509CertificateDetails) GetPublicKeyType() string { - if m != nil { - return m.PublicKeyType - } - return "" -} - -// A public key certificate format and data. -type PublicKeyCertificate struct { - // The certificate format. - Format PublicKeyCertificateFormat `protobuf:"varint,1,opt,name=format,proto3,enum=google.cloud.iot.v1.PublicKeyCertificateFormat" json:"format,omitempty"` - // The certificate data. - Certificate string `protobuf:"bytes,2,opt,name=certificate,proto3" json:"certificate,omitempty"` - // [Output only] The certificate details. Used only for X.509 certificates. - X509Details *X509CertificateDetails `protobuf:"bytes,3,opt,name=x509_details,json=x509Details,proto3" json:"x509_details,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b8dc5e858286fc66, []int{9} -} - -func (m *PublicKeyCertificate) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PublicKeyCertificate.Unmarshal(m, b) -} -func (m *PublicKeyCertificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PublicKeyCertificate.Marshal(b, m, deterministic) -} -func (m *PublicKeyCertificate) XXX_Merge(src proto.Message) { - xxx_messageInfo_PublicKeyCertificate.Merge(m, src) -} -func (m *PublicKeyCertificate) XXX_Size() int { - return xxx_messageInfo_PublicKeyCertificate.Size(m) -} -func (m *PublicKeyCertificate) XXX_DiscardUnknown() { - xxx_messageInfo_PublicKeyCertificate.DiscardUnknown(m) -} - -var xxx_messageInfo_PublicKeyCertificate proto.InternalMessageInfo - -func (m *PublicKeyCertificate) GetFormat() PublicKeyCertificateFormat { - if m != nil { - return m.Format - } - return PublicKeyCertificateFormat_UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMAT -} - -func (m *PublicKeyCertificate) GetCertificate() string { - if m != nil { - return m.Certificate - } - return "" -} - -func (m *PublicKeyCertificate) GetX509Details() *X509CertificateDetails { - if m != nil { - return m.X509Details - } - return nil -} - -// A server-stored device credential used for authentication. -type DeviceCredential struct { - // The credential data. Reserved for expansion in the future. - // - // Types that are valid to be assigned to Credential: - // *DeviceCredential_PublicKey - Credential isDeviceCredential_Credential `protobuf_oneof:"credential"` - // [Optional] The time at which this credential becomes invalid. This - // credential will be ignored for new client authentication requests after - // this timestamp; however, it will not be automatically deleted. - ExpirationTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b8dc5e858286fc66, []int{10} -} - -func (m *DeviceCredential) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeviceCredential.Unmarshal(m, b) -} -func (m *DeviceCredential) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeviceCredential.Marshal(b, m, deterministic) -} -func (m *DeviceCredential) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeviceCredential.Merge(m, src) -} -func (m *DeviceCredential) XXX_Size() int { - return xxx_messageInfo_DeviceCredential.Size(m) -} -func (m *DeviceCredential) XXX_DiscardUnknown() { - xxx_messageInfo_DeviceCredential.DiscardUnknown(m) -} - -var xxx_messageInfo_DeviceCredential proto.InternalMessageInfo - -type isDeviceCredential_Credential interface { - isDeviceCredential_Credential() -} - -type DeviceCredential_PublicKey struct { - PublicKey *PublicKeyCredential `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3,oneof"` -} - -func (*DeviceCredential_PublicKey) isDeviceCredential_Credential() {} - -func (m *DeviceCredential) GetCredential() isDeviceCredential_Credential { - if m != nil { - return m.Credential - } - return nil -} - -func (m *DeviceCredential) GetPublicKey() *PublicKeyCredential { - if x, ok := m.GetCredential().(*DeviceCredential_PublicKey); ok { - return x.PublicKey - } - return nil -} - -func (m *DeviceCredential) GetExpirationTime() *timestamp.Timestamp { - if m != nil { - return m.ExpirationTime - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*DeviceCredential) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*DeviceCredential_PublicKey)(nil), - } -} - -// A public key format and data. -type PublicKeyCredential struct { - // The format of the key. - Format PublicKeyFormat `protobuf:"varint,1,opt,name=format,proto3,enum=google.cloud.iot.v1.PublicKeyFormat" json:"format,omitempty"` - // The key data. - Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b8dc5e858286fc66, []int{11} -} - -func (m *PublicKeyCredential) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PublicKeyCredential.Unmarshal(m, b) -} -func (m *PublicKeyCredential) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PublicKeyCredential.Marshal(b, m, deterministic) -} -func (m *PublicKeyCredential) XXX_Merge(src proto.Message) { - xxx_messageInfo_PublicKeyCredential.Merge(m, src) -} -func (m *PublicKeyCredential) XXX_Size() int { - return xxx_messageInfo_PublicKeyCredential.Size(m) -} -func (m *PublicKeyCredential) XXX_DiscardUnknown() { - xxx_messageInfo_PublicKeyCredential.DiscardUnknown(m) -} - -var xxx_messageInfo_PublicKeyCredential proto.InternalMessageInfo - -func (m *PublicKeyCredential) GetFormat() PublicKeyFormat { - if m != nil { - return m.Format - } - return PublicKeyFormat_UNSPECIFIED_PUBLIC_KEY_FORMAT -} - -func (m *PublicKeyCredential) GetKey() string { - if m != nil { - return m.Key - } - return "" -} - -// The device configuration. Eventually delivered to devices. -type DeviceConfig struct { - // [Output only] The version of this update. The version number is assigned by - // the server, and is always greater than 0 after device creation. The - // version must be 0 on the `CreateDevice` request if a `config` is - // specified; the response of `CreateDevice` will always have a value of 1. - Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` - // [Output only] The time at which this configuration version was updated in - // Cloud IoT Core. This timestamp is set by the server. - CloudUpdateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=cloud_update_time,json=cloudUpdateTime,proto3" json:"cloud_update_time,omitempty"` - // [Output only] The time at which Cloud IoT Core received the - // acknowledgment from the device, indicating that the device has received - // this configuration version. If this field is not present, the device has - // not yet acknowledged that it received this version. Note that when - // the config was sent to the device, many config versions may have been - // available in Cloud IoT Core while the device was disconnected, and on - // connection, only the latest version is sent to the device. Some - // versions may never be sent to the device, and therefore are never - // acknowledged. This timestamp is set by Cloud IoT Core. - DeviceAckTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=device_ack_time,json=deviceAckTime,proto3" json:"device_ack_time,omitempty"` - // The device configuration data. - BinaryData []byte `protobuf:"bytes,4,opt,name=binary_data,json=binaryData,proto3" json:"binary_data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b8dc5e858286fc66, []int{12} -} - -func (m *DeviceConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeviceConfig.Unmarshal(m, b) -} -func (m *DeviceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeviceConfig.Marshal(b, m, deterministic) -} -func (m *DeviceConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeviceConfig.Merge(m, src) -} -func (m *DeviceConfig) XXX_Size() int { - return xxx_messageInfo_DeviceConfig.Size(m) -} -func (m *DeviceConfig) XXX_DiscardUnknown() { - xxx_messageInfo_DeviceConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_DeviceConfig proto.InternalMessageInfo - -func (m *DeviceConfig) GetVersion() int64 { - if m != nil { - return m.Version - } - return 0 -} - -func (m *DeviceConfig) GetCloudUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.CloudUpdateTime - } - return nil -} - -func (m *DeviceConfig) GetDeviceAckTime() *timestamp.Timestamp { - if m != nil { - return m.DeviceAckTime - } - return nil -} - -func (m *DeviceConfig) GetBinaryData() []byte { - if m != nil { - return m.BinaryData - } - return nil -} - -// The device state, as reported by the device. -type DeviceState struct { - // [Output only] The time at which this state version was updated in Cloud - // IoT Core. - UpdateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - // The device state data. - BinaryData []byte `protobuf:"bytes,2,opt,name=binary_data,json=binaryData,proto3" json:"binary_data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b8dc5e858286fc66, []int{13} -} - -func (m *DeviceState) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeviceState.Unmarshal(m, b) -} -func (m *DeviceState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeviceState.Marshal(b, m, deterministic) -} -func (m *DeviceState) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeviceState.Merge(m, src) -} -func (m *DeviceState) XXX_Size() int { - return xxx_messageInfo_DeviceState.Size(m) -} -func (m *DeviceState) XXX_DiscardUnknown() { - xxx_messageInfo_DeviceState.DiscardUnknown(m) -} - -var xxx_messageInfo_DeviceState proto.InternalMessageInfo - -func (m *DeviceState) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -func (m *DeviceState) GetBinaryData() []byte { - if m != nil { - return m.BinaryData - } - return nil -} - -func init() { - 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) - 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") - proto.RegisterType((*EventNotificationConfig)(nil), "google.cloud.iot.v1.EventNotificationConfig") - proto.RegisterType((*StateNotificationConfig)(nil), "google.cloud.iot.v1.StateNotificationConfig") - proto.RegisterType((*RegistryCredential)(nil), "google.cloud.iot.v1.RegistryCredential") - proto.RegisterType((*X509CertificateDetails)(nil), "google.cloud.iot.v1.X509CertificateDetails") - proto.RegisterType((*PublicKeyCertificate)(nil), "google.cloud.iot.v1.PublicKeyCertificate") - proto.RegisterType((*DeviceCredential)(nil), "google.cloud.iot.v1.DeviceCredential") - proto.RegisterType((*PublicKeyCredential)(nil), "google.cloud.iot.v1.PublicKeyCredential") - proto.RegisterType((*DeviceConfig)(nil), "google.cloud.iot.v1.DeviceConfig") - proto.RegisterType((*DeviceState)(nil), "google.cloud.iot.v1.DeviceState") -} - -func init() { - proto.RegisterFile("google/cloud/iot/v1/resources.proto", fileDescriptor_b8dc5e858286fc66) -} - -var fileDescriptor_b8dc5e858286fc66 = []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,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 0xd6, 0xa7, 0x4b, 0xe3, 0x23, 0x86, 0x96, 0xc6, 0x90, 0x86, 0x00, 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, 0xb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0x56, 0xd5, 0xd2, 0x9e, 0x20, 0x1d, 0xf6, 0xd8, 0x78, 0x9a, - 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/irm/v1alpha2/incidents.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/irm/v1alpha2/incidents.pb.go deleted file mode 100644 index a8e3e1a7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/irm/v1alpha2/incidents.pb.go +++ /dev/null @@ -1,1683 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/irm/v1alpha2/incidents.proto - -package irm - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Describes whether the alerting condition is still firing. -type Signal_State int32 - -const ( - // Unspecified - Signal_STATE_UNSPECIFIED Signal_State = 0 - // Firing - Signal_STATE_OPEN Signal_State = 1 - // Non-firing - Signal_STATE_CLOSED Signal_State = 2 -) - -var Signal_State_name = map[int32]string{ - 0: "STATE_UNSPECIFIED", - 1: "STATE_OPEN", - 2: "STATE_CLOSED", -} - -var Signal_State_value = map[string]int32{ - "STATE_UNSPECIFIED": 0, - "STATE_OPEN": 1, - "STATE_CLOSED": 2, -} - -func (x Signal_State) String() string { - return proto.EnumName(Signal_State_name, int32(x)) -} - -func (Signal_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7ed49c995593d5b8, []int{1, 0} -} - -// Specifies the escalation level of this incident, within the IRM protocol -// for handling incidents. -type Incident_EscalationLevel int32 - -const ( - // The incident has not been escalated. This is the value used by all new - // and legacy incidents. - Incident_ESCALATION_LEVEL_UNSPECIFIED Incident_EscalationLevel = 0 - // The incident has been escalated to the organizational level. - Incident_ESCALATION_LEVEL_ORGANIZATION Incident_EscalationLevel = 1 -) - -var Incident_EscalationLevel_name = map[int32]string{ - 0: "ESCALATION_LEVEL_UNSPECIFIED", - 1: "ESCALATION_LEVEL_ORGANIZATION", -} - -var Incident_EscalationLevel_value = map[string]int32{ - "ESCALATION_LEVEL_UNSPECIFIED": 0, - "ESCALATION_LEVEL_ORGANIZATION": 1, -} - -func (x Incident_EscalationLevel) String() string { - return proto.EnumName(Incident_EscalationLevel_name, int32(x)) -} - -func (Incident_EscalationLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7ed49c995593d5b8, []int{5, 0} -} - -// Severity of an incident. -type Incident_Severity int32 - -const ( - // Severity is not specified. - Incident_SEVERITY_UNSPECIFIED Incident_Severity = 0 - // Huge incident. - Incident_SEVERITY_HUGE Incident_Severity = 1 - // Major incident. - Incident_SEVERITY_MAJOR Incident_Severity = 2 - // Medium incident. - Incident_SEVERITY_MEDIUM Incident_Severity = 3 - // Minor incident. - Incident_SEVERITY_MINOR Incident_Severity = 4 - // Negligible incident. - Incident_SEVERITY_NEGLIGIBLE Incident_Severity = 5 -) - -var Incident_Severity_name = map[int32]string{ - 0: "SEVERITY_UNSPECIFIED", - 1: "SEVERITY_HUGE", - 2: "SEVERITY_MAJOR", - 3: "SEVERITY_MEDIUM", - 4: "SEVERITY_MINOR", - 5: "SEVERITY_NEGLIGIBLE", -} - -var Incident_Severity_value = map[string]int32{ - "SEVERITY_UNSPECIFIED": 0, - "SEVERITY_HUGE": 1, - "SEVERITY_MAJOR": 2, - "SEVERITY_MEDIUM": 3, - "SEVERITY_MINOR": 4, - "SEVERITY_NEGLIGIBLE": 5, -} - -func (x Incident_Severity) String() string { - return proto.EnumName(Incident_Severity_name, int32(x)) -} - -func (Incident_Severity) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7ed49c995593d5b8, []int{5, 1} -} - -// Stage of an incident. -type Incident_Stage int32 - -const ( - // This is the default value if no stage has been specified. - // Note: The caller of the API should set the stage to DETECTED. - Incident_STAGE_UNSPECIFIED Incident_Stage = 0 - // The incident has been detected. This is the initial stage of a new - // incident. - // Note: The caller still has to set the stage manually. - Incident_STAGE_DETECTED Incident_Stage = 4 - // This incident has been formally characterized. - Incident_STAGE_TRIAGED Incident_Stage = 1 - // This incident has been mitigated, i.e. does not affect the service level - // anymore. - Incident_STAGE_MITIGATED Incident_Stage = 2 - // This incident has been fully resolved, i.e. there are no immediate - // follow-up tasks. - Incident_STAGE_RESOLVED Incident_Stage = 3 - // Postmortem for the incident was written. - Incident_STAGE_DOCUMENTED Incident_Stage = 5 - // Stage for an incident with `duplicate_incident`. This incident is not - // authoritative anymore and the `duplicate_incident` should be used to - // determine the stage. - Incident_STAGE_DUPLICATE Incident_Stage = 6 -) - -var Incident_Stage_name = map[int32]string{ - 0: "STAGE_UNSPECIFIED", - 4: "STAGE_DETECTED", - 1: "STAGE_TRIAGED", - 2: "STAGE_MITIGATED", - 3: "STAGE_RESOLVED", - 5: "STAGE_DOCUMENTED", - 6: "STAGE_DUPLICATE", -} - -var Incident_Stage_value = map[string]int32{ - "STAGE_UNSPECIFIED": 0, - "STAGE_DETECTED": 4, - "STAGE_TRIAGED": 1, - "STAGE_MITIGATED": 2, - "STAGE_RESOLVED": 3, - "STAGE_DOCUMENTED": 5, - "STAGE_DUPLICATE": 6, -} - -func (x Incident_Stage) String() string { - return proto.EnumName(Incident_Stage_name, int32(x)) -} - -func (Incident_Stage) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7ed49c995593d5b8, []int{5, 2} -} - -// The type of channel/venue for incident communications. -type Incident_CommunicationVenue_ChannelType int32 - -const ( - // An unspecified communication channel. - Incident_CommunicationVenue_CHANNEL_TYPE_UNSPECIFIED Incident_CommunicationVenue_ChannelType = 0 - // A communication channel that is represented by a generic URI. - Incident_CommunicationVenue_CHANNEL_TYPE_URI Incident_CommunicationVenue_ChannelType = 1 - // A communication channel that represents a Slack channel. - Incident_CommunicationVenue_CHANNEL_TYPE_SLACK Incident_CommunicationVenue_ChannelType = 5 -) - -var Incident_CommunicationVenue_ChannelType_name = map[int32]string{ - 0: "CHANNEL_TYPE_UNSPECIFIED", - 1: "CHANNEL_TYPE_URI", - 5: "CHANNEL_TYPE_SLACK", -} - -var Incident_CommunicationVenue_ChannelType_value = map[string]int32{ - "CHANNEL_TYPE_UNSPECIFIED": 0, - "CHANNEL_TYPE_URI": 1, - "CHANNEL_TYPE_SLACK": 5, -} - -func (x Incident_CommunicationVenue_ChannelType) String() string { - return proto.EnumName(Incident_CommunicationVenue_ChannelType_name, int32(x)) -} - -func (Incident_CommunicationVenue_ChannelType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7ed49c995593d5b8, []int{5, 0, 0} -} - -// List of possible roles. -type IncidentRole_Type int32 - -const ( - // The role is unspecified. - IncidentRole_TYPE_UNSPECIFIED IncidentRole_Type = 0 - // Incident Commander: Manages response plan, near-term and long-term - // objectives, establishes priorities, and delegates tasks as needed. - IncidentRole_TYPE_INCIDENT_COMMANDER IncidentRole_Type = 1 - // Communications Lead: Keeps everybody outside and within the response team - // informed. - IncidentRole_TYPE_COMMUNICATIONS_LEAD IncidentRole_Type = 2 - // Operations Lead: Figures out what to do, and gets it done. - IncidentRole_TYPE_OPERATIONS_LEAD IncidentRole_Type = 3 - // External Customer Communications Lead: Responsible for communicating - // incident details to customers/public. - IncidentRole_TYPE_EXTERNAL_CUSTOMER_COMMUNICATIONS_LEAD IncidentRole_Type = 4 - // Primary Oncall: Responds to the initial page and handles all - // responsibilities for pre-escalated incidents. - IncidentRole_TYPE_PRIMARY_ONCALL IncidentRole_Type = 5 - // Secondary Oncall: Helps the primary oncall if necessary; mostly useful - // for pre-escalated incidents. - IncidentRole_TYPE_SECONDARY_ONCALL IncidentRole_Type = 6 - // User-specified roles. One example is a Planning Lead, who keeps track of - // the incident. Another is an assistant Incident Commander. - IncidentRole_TYPE_OTHER IncidentRole_Type = 7 -) - -var IncidentRole_Type_name = map[int32]string{ - 0: "TYPE_UNSPECIFIED", - 1: "TYPE_INCIDENT_COMMANDER", - 2: "TYPE_COMMUNICATIONS_LEAD", - 3: "TYPE_OPERATIONS_LEAD", - 4: "TYPE_EXTERNAL_CUSTOMER_COMMUNICATIONS_LEAD", - 5: "TYPE_PRIMARY_ONCALL", - 6: "TYPE_SECONDARY_ONCALL", - 7: "TYPE_OTHER", -} - -var IncidentRole_Type_value = map[string]int32{ - "TYPE_UNSPECIFIED": 0, - "TYPE_INCIDENT_COMMANDER": 1, - "TYPE_COMMUNICATIONS_LEAD": 2, - "TYPE_OPERATIONS_LEAD": 3, - "TYPE_EXTERNAL_CUSTOMER_COMMUNICATIONS_LEAD": 4, - "TYPE_PRIMARY_ONCALL": 5, - "TYPE_SECONDARY_ONCALL": 6, - "TYPE_OTHER": 7, -} - -func (x IncidentRole_Type) String() string { - return proto.EnumName(IncidentRole_Type_name, int32(x)) -} - -func (IncidentRole_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7ed49c995593d5b8, []int{6, 0} -} - -// Possible types of an artifact. -type Artifact_Type int32 - -const ( - // External type is unspecified. - Artifact_TYPE_UNSPECIFIED Artifact_Type = 0 - // URL. - Artifact_TYPE_URL Artifact_Type = 1 - // A JIRA issue. - Artifact_TYPE_JIRA_ISSUE Artifact_Type = 4 -) - -var Artifact_Type_name = map[int32]string{ - 0: "TYPE_UNSPECIFIED", - 1: "TYPE_URL", - 4: "TYPE_JIRA_ISSUE", -} - -var Artifact_Type_value = map[string]int32{ - "TYPE_UNSPECIFIED": 0, - "TYPE_URL": 1, - "TYPE_JIRA_ISSUE": 4, -} - -func (x Artifact_Type) String() string { - return proto.EnumName(Artifact_Type_name, int32(x)) -} - -func (Artifact_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7ed49c995593d5b8, []int{8, 0} -} - -// Types of changes that users can subscribe to in an incident. -type Subscription_EventType int32 - -const ( - // An event_type that's not specified is an error. - Subscription_EVENT_TYPE_UNSPECIFIED Subscription_EventType = 0 - // The incident's title has changed. - Subscription_EVENT_TYPE_TITLE_CHANGE Subscription_EventType = 1 - // The incident's synopsis has changed. - Subscription_EVENT_TYPE_SYNOPSIS_CHANGE Subscription_EventType = 2 - // The incident's stage has changed. - Subscription_EVENT_TYPE_STAGE_CHANGE Subscription_EventType = 3 - // The incident's severity has changed. - Subscription_EVENT_TYPE_SEVERITY_CHANGE Subscription_EventType = 4 - // A new annotation has been added to the incident. - Subscription_EVENT_TYPE_ANNOTATION_ADD Subscription_EventType = 5 - // An annotation has been modified. - Subscription_EVENT_TYPE_ANNOTATION_CHANGE Subscription_EventType = 6 -) - -var Subscription_EventType_name = map[int32]string{ - 0: "EVENT_TYPE_UNSPECIFIED", - 1: "EVENT_TYPE_TITLE_CHANGE", - 2: "EVENT_TYPE_SYNOPSIS_CHANGE", - 3: "EVENT_TYPE_STAGE_CHANGE", - 4: "EVENT_TYPE_SEVERITY_CHANGE", - 5: "EVENT_TYPE_ANNOTATION_ADD", - 6: "EVENT_TYPE_ANNOTATION_CHANGE", -} - -var Subscription_EventType_value = map[string]int32{ - "EVENT_TYPE_UNSPECIFIED": 0, - "EVENT_TYPE_TITLE_CHANGE": 1, - "EVENT_TYPE_SYNOPSIS_CHANGE": 2, - "EVENT_TYPE_STAGE_CHANGE": 3, - "EVENT_TYPE_SEVERITY_CHANGE": 4, - "EVENT_TYPE_ANNOTATION_ADD": 5, - "EVENT_TYPE_ANNOTATION_CHANGE": 6, -} - -func (x Subscription_EventType) String() string { - return proto.EnumName(Subscription_EventType_name, int32(x)) -} - -func (Subscription_EventType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7ed49c995593d5b8, []int{10, 0} -} - -// A user of the IRM app. -type User struct { - // One of several ways to uniquely identify a user. - // - // Types that are valid to be assigned to User: - // *User_UserId - // *User_Email - User isUser_User `protobuf_oneof:"user"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *User) Reset() { *m = User{} } -func (m *User) String() string { return proto.CompactTextString(m) } -func (*User) ProtoMessage() {} -func (*User) Descriptor() ([]byte, []int) { - return fileDescriptor_7ed49c995593d5b8, []int{0} -} - -func (m *User) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_User.Unmarshal(m, b) -} -func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_User.Marshal(b, m, deterministic) -} -func (m *User) XXX_Merge(src proto.Message) { - xxx_messageInfo_User.Merge(m, src) -} -func (m *User) XXX_Size() int { - return xxx_messageInfo_User.Size(m) -} -func (m *User) XXX_DiscardUnknown() { - xxx_messageInfo_User.DiscardUnknown(m) -} - -var xxx_messageInfo_User proto.InternalMessageInfo - -type isUser_User interface { - isUser_User() -} - -type User_UserId struct { - UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3,oneof"` -} - -type User_Email struct { - Email string `protobuf:"bytes,2,opt,name=email,proto3,oneof"` -} - -func (*User_UserId) isUser_User() {} - -func (*User_Email) isUser_User() {} - -func (m *User) GetUser() isUser_User { - if m != nil { - return m.User - } - return nil -} - -func (m *User) GetUserId() string { - if x, ok := m.GetUser().(*User_UserId); ok { - return x.UserId - } - return "" -} - -func (m *User) GetEmail() string { - if x, ok := m.GetUser().(*User_Email); ok { - return x.Email - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*User) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*User_UserId)(nil), - (*User_Email)(nil), - } -} - -// A signal is a message calling attention to a (potential) incident. An example -// is a page based on a Stackdriver Alerting policy. -type Signal struct { - // Resource name of the signal, for example, - // "projects/{project_id}/signals/{signal_id}". - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Etag to validate the object is unchanged for a read-modify-write operation. - // An empty etag will overwrite other changes. - Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"` - // Resource name of the incident this signal is currently assigned to. - // May be empty if signal is unassigned. - Incident string `protobuf:"bytes,3,opt,name=incident,proto3" json:"incident,omitempty"` - // Output only. Time this signal was created. - CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Output only. Time this signal was closed. This field is not populated - // while the signal is still firing. - CloseTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=close_time,json=closeTime,proto3" json:"close_time,omitempty"` - // The time this Signal was first detected. This is identical to create_time - // for Signals created by Stackdriver Alerting. - DetectTime *timestamp.Timestamp `protobuf:"bytes,15,opt,name=detect_time,json=detectTime,proto3" json:"detect_time,omitempty"` - // Output only. The user that created this signal for manually created - // signals. Empty if this signal was generated by a system (for example, - // Stackdriver Alerting). - Creator *User `protobuf:"bytes,5,opt,name=creator,proto3" json:"creator,omitempty"` - // One-line summary of the signal. - // Immutable. - Title string `protobuf:"bytes,6,opt,name=title,proto3" json:"title,omitempty"` - // Content type string. 'text/plain' is currently the only supported content - // type for Signals created via the API. Signals created by Stackdriver - // Alerting support 'text/html' as well. Immutable for Signals created by - // Stackdriver Alerting. - ContentType string `protobuf:"bytes,7,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` - // Full message of the signal. - // Immutable for Signals created by Stackdriver Alerting. - Content string `protobuf:"bytes,8,opt,name=content,proto3" json:"content,omitempty"` - // The state of this signal. - // For Signals created by Stackdriver Alerting this field is output only. - SignalState Signal_State `protobuf:"varint,9,opt,name=signal_state,json=signalState,proto3,enum=google.cloud.irm.v1alpha2.Signal_State" json:"signal_state,omitempty"` - // A set of artifacts to additional resources for this Signal. For example, a - // link to Stackdriver logging for the Signal. - // Immutable for Signals created by Stackdriver Alerting. - SignalArtifacts []*Signal_SignalArtifact `protobuf:"bytes,16,rep,name=signal_artifacts,json=signalArtifacts,proto3" json:"signal_artifacts,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Signal) Reset() { *m = Signal{} } -func (m *Signal) String() string { return proto.CompactTextString(m) } -func (*Signal) ProtoMessage() {} -func (*Signal) Descriptor() ([]byte, []int) { - return fileDescriptor_7ed49c995593d5b8, []int{1} -} - -func (m *Signal) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Signal.Unmarshal(m, b) -} -func (m *Signal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Signal.Marshal(b, m, deterministic) -} -func (m *Signal) XXX_Merge(src proto.Message) { - xxx_messageInfo_Signal.Merge(m, src) -} -func (m *Signal) XXX_Size() int { - return xxx_messageInfo_Signal.Size(m) -} -func (m *Signal) XXX_DiscardUnknown() { - xxx_messageInfo_Signal.DiscardUnknown(m) -} - -var xxx_messageInfo_Signal proto.InternalMessageInfo - -func (m *Signal) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Signal) GetEtag() string { - if m != nil { - return m.Etag - } - return "" -} - -func (m *Signal) GetIncident() string { - if m != nil { - return m.Incident - } - return "" -} - -func (m *Signal) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *Signal) GetCloseTime() *timestamp.Timestamp { - if m != nil { - return m.CloseTime - } - return nil -} - -func (m *Signal) GetDetectTime() *timestamp.Timestamp { - if m != nil { - return m.DetectTime - } - return nil -} - -func (m *Signal) GetCreator() *User { - if m != nil { - return m.Creator - } - return nil -} - -func (m *Signal) GetTitle() string { - if m != nil { - return m.Title - } - return "" -} - -func (m *Signal) GetContentType() string { - if m != nil { - return m.ContentType - } - return "" -} - -func (m *Signal) GetContent() string { - if m != nil { - return m.Content - } - return "" -} - -func (m *Signal) GetSignalState() Signal_State { - if m != nil { - return m.SignalState - } - return Signal_STATE_UNSPECIFIED -} - -func (m *Signal) GetSignalArtifacts() []*Signal_SignalArtifact { - if m != nil { - return m.SignalArtifacts - } - return nil -} - -// An artifact associated with the Signal. -type Signal_SignalArtifact struct { - // The type of resource linked to - // - // Types that are valid to be assigned to ArtifactType: - // *Signal_SignalArtifact_UserType - ArtifactType isSignal_SignalArtifact_ArtifactType `protobuf_oneof:"artifact_type"` - // The URI for the artifact. - Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Signal_SignalArtifact) Reset() { *m = Signal_SignalArtifact{} } -func (m *Signal_SignalArtifact) String() string { return proto.CompactTextString(m) } -func (*Signal_SignalArtifact) ProtoMessage() {} -func (*Signal_SignalArtifact) Descriptor() ([]byte, []int) { - return fileDescriptor_7ed49c995593d5b8, []int{1, 0} -} - -func (m *Signal_SignalArtifact) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Signal_SignalArtifact.Unmarshal(m, b) -} -func (m *Signal_SignalArtifact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Signal_SignalArtifact.Marshal(b, m, deterministic) -} -func (m *Signal_SignalArtifact) XXX_Merge(src proto.Message) { - xxx_messageInfo_Signal_SignalArtifact.Merge(m, src) -} -func (m *Signal_SignalArtifact) XXX_Size() int { - return xxx_messageInfo_Signal_SignalArtifact.Size(m) -} -func (m *Signal_SignalArtifact) XXX_DiscardUnknown() { - xxx_messageInfo_Signal_SignalArtifact.DiscardUnknown(m) -} - -var xxx_messageInfo_Signal_SignalArtifact proto.InternalMessageInfo - -type isSignal_SignalArtifact_ArtifactType interface { - isSignal_SignalArtifact_ArtifactType() -} - -type Signal_SignalArtifact_UserType struct { - UserType string `protobuf:"bytes,2,opt,name=user_type,json=userType,proto3,oneof"` -} - -func (*Signal_SignalArtifact_UserType) isSignal_SignalArtifact_ArtifactType() {} - -func (m *Signal_SignalArtifact) GetArtifactType() isSignal_SignalArtifact_ArtifactType { - if m != nil { - return m.ArtifactType - } - return nil -} - -func (m *Signal_SignalArtifact) GetUserType() string { - if x, ok := m.GetArtifactType().(*Signal_SignalArtifact_UserType); ok { - return x.UserType - } - return "" -} - -func (m *Signal_SignalArtifact) GetUri() string { - if m != nil { - return m.Uri - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Signal_SignalArtifact) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Signal_SignalArtifact_UserType)(nil), - } -} - -// A text annotation by a user. -type Annotation struct { - // Resource name of the annotation, for example, - // "projects/{project_id}/incidents/{incident_id}/annotations/{annotation_id}". - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Output only. Author of the annotation. - Author *User `protobuf:"bytes,2,opt,name=author,proto3" json:"author,omitempty"` - // Output only. Time the annotation was created. - CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Content of the annotation. Immutable. - Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"` - // Content type of the annotation, for example, 'text/plain' - // or 'text/markdown'. Immutable. - ContentType string `protobuf:"bytes,5,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7ed49c995593d5b8, []int{2} -} - -func (m *Annotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Annotation.Unmarshal(m, b) -} -func (m *Annotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Annotation.Marshal(b, m, deterministic) -} -func (m *Annotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Annotation.Merge(m, src) -} -func (m *Annotation) XXX_Size() int { - return xxx_messageInfo_Annotation.Size(m) -} -func (m *Annotation) XXX_DiscardUnknown() { - xxx_messageInfo_Annotation.DiscardUnknown(m) -} - -var xxx_messageInfo_Annotation proto.InternalMessageInfo - -func (m *Annotation) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Annotation) GetAuthor() *User { - if m != nil { - return m.Author - } - return nil -} - -func (m *Annotation) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *Annotation) GetContent() string { - if m != nil { - return m.Content - } - return "" -} - -func (m *Annotation) GetContentType() string { - if m != nil { - return m.ContentType - } - return "" -} - -// A tag by a user. -type Tag struct { - // Resource name of a tag, for example, - // "projects/{project_id}/incidents/{incident_id}/tags/{tag_id}" - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Display name of the resource (for example, "cause:rollout"). Immutable. - DisplayName string `protobuf:"bytes,2,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 *Tag) Reset() { *m = Tag{} } -func (m *Tag) String() string { return proto.CompactTextString(m) } -func (*Tag) ProtoMessage() {} -func (*Tag) Descriptor() ([]byte, []int) { - return fileDescriptor_7ed49c995593d5b8, []int{3} -} - -func (m *Tag) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Tag.Unmarshal(m, b) -} -func (m *Tag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Tag.Marshal(b, m, deterministic) -} -func (m *Tag) XXX_Merge(src proto.Message) { - xxx_messageInfo_Tag.Merge(m, src) -} -func (m *Tag) XXX_Size() int { - return xxx_messageInfo_Tag.Size(m) -} -func (m *Tag) XXX_DiscardUnknown() { - xxx_messageInfo_Tag.DiscardUnknown(m) -} - -var xxx_messageInfo_Tag proto.InternalMessageInfo - -func (m *Tag) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Tag) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -// Synopsis is a summary of an incident and it contains a textual content, -// an author and a last updated timestamp. -type Synopsis struct { - // Content type string, for example, 'text/plain' or 'text/markdown'. - ContentType string `protobuf:"bytes,1,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` - // Textual content of the synopsis. It can be plain text or markdown as - // indicated by the content_type. - Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` - // Last updated timestamp. - UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - // Author of the synopsis. - Author *User `protobuf:"bytes,4,opt,name=author,proto3" json:"author,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Synopsis) Reset() { *m = Synopsis{} } -func (m *Synopsis) String() string { return proto.CompactTextString(m) } -func (*Synopsis) ProtoMessage() {} -func (*Synopsis) Descriptor() ([]byte, []int) { - return fileDescriptor_7ed49c995593d5b8, []int{4} -} - -func (m *Synopsis) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Synopsis.Unmarshal(m, b) -} -func (m *Synopsis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Synopsis.Marshal(b, m, deterministic) -} -func (m *Synopsis) XXX_Merge(src proto.Message) { - xxx_messageInfo_Synopsis.Merge(m, src) -} -func (m *Synopsis) XXX_Size() int { - return xxx_messageInfo_Synopsis.Size(m) -} -func (m *Synopsis) XXX_DiscardUnknown() { - xxx_messageInfo_Synopsis.DiscardUnknown(m) -} - -var xxx_messageInfo_Synopsis proto.InternalMessageInfo - -func (m *Synopsis) GetContentType() string { - if m != nil { - return m.ContentType - } - return "" -} - -func (m *Synopsis) GetContent() string { - if m != nil { - return m.Content - } - return "" -} - -func (m *Synopsis) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -func (m *Synopsis) GetAuthor() *User { - if m != nil { - return m.Author - } - return nil -} - -// Representation of an incident. -type Incident struct { - // Output only. Resource name of the incident, for example, - // "projects/{project_id}/incidents/{incident_id}". - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // One-line summary of the incident. - Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` - // Escalation level of the incident. - EscalationLevel Incident_EscalationLevel `protobuf:"varint,3,opt,name=escalation_level,json=escalationLevel,proto3,enum=google.cloud.irm.v1alpha2.Incident_EscalationLevel" json:"escalation_level,omitempty"` - // Etag to validate the object is unchanged for a read-modify-write operation. - // An empty etag will overwrite other changes. - Etag string `protobuf:"bytes,4,opt,name=etag,proto3" json:"etag,omitempty"` - // Severity of the incident. - Severity Incident_Severity `protobuf:"varint,5,opt,name=severity,proto3,enum=google.cloud.irm.v1alpha2.Incident_Severity" json:"severity,omitempty"` - // Stage of the incident. - Stage Incident_Stage `protobuf:"varint,6,opt,name=stage,proto3,enum=google.cloud.irm.v1alpha2.Incident_Stage" json:"stage,omitempty"` - // Resource name of the incident this incident is a duplicate of. Empty if - // this incident is not a duplicate. - // An incident can only be a duplicate of an incident that is not marked as a - // duplicate already. Setting this to a non-empty value must also set the - // stage to `STAGE_DUPLICATE`. Unsetting this value value must also update - // `stage` to a value other than `STAGE_DUPLICATE`. - DuplicateIncident string `protobuf:"bytes,9,opt,name=duplicate_incident,json=duplicateIncident,proto3" json:"duplicate_incident,omitempty"` - // Output only. Time this incident started. Used to measure the 'elapsed - // time'. Start time of an incident is the earliest creation time of any of - // its Signals or the create time of the incident if no Signals are assigned. - StartTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // Output only. Synopsis of this incident. - Synopsis *Synopsis `protobuf:"bytes,8,opt,name=synopsis,proto3" json:"synopsis,omitempty"` - // Location of communications for this incident. This is informational - // only; IRM does not use this to send messages. - CommunicationVenue *Incident_CommunicationVenue `protobuf:"bytes,10,opt,name=communication_venue,json=communicationVenue,proto3" json:"communication_venue,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Incident) Reset() { *m = Incident{} } -func (m *Incident) String() string { return proto.CompactTextString(m) } -func (*Incident) ProtoMessage() {} -func (*Incident) Descriptor() ([]byte, []int) { - return fileDescriptor_7ed49c995593d5b8, []int{5} -} - -func (m *Incident) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Incident.Unmarshal(m, b) -} -func (m *Incident) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Incident.Marshal(b, m, deterministic) -} -func (m *Incident) XXX_Merge(src proto.Message) { - xxx_messageInfo_Incident.Merge(m, src) -} -func (m *Incident) XXX_Size() int { - return xxx_messageInfo_Incident.Size(m) -} -func (m *Incident) XXX_DiscardUnknown() { - xxx_messageInfo_Incident.DiscardUnknown(m) -} - -var xxx_messageInfo_Incident proto.InternalMessageInfo - -func (m *Incident) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Incident) GetTitle() string { - if m != nil { - return m.Title - } - return "" -} - -func (m *Incident) GetEscalationLevel() Incident_EscalationLevel { - if m != nil { - return m.EscalationLevel - } - return Incident_ESCALATION_LEVEL_UNSPECIFIED -} - -func (m *Incident) GetEtag() string { - if m != nil { - return m.Etag - } - return "" -} - -func (m *Incident) GetSeverity() Incident_Severity { - if m != nil { - return m.Severity - } - return Incident_SEVERITY_UNSPECIFIED -} - -func (m *Incident) GetStage() Incident_Stage { - if m != nil { - return m.Stage - } - return Incident_STAGE_UNSPECIFIED -} - -func (m *Incident) GetDuplicateIncident() string { - if m != nil { - return m.DuplicateIncident - } - return "" -} - -func (m *Incident) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *Incident) GetSynopsis() *Synopsis { - if m != nil { - return m.Synopsis - } - return nil -} - -func (m *Incident) GetCommunicationVenue() *Incident_CommunicationVenue { - if m != nil { - return m.CommunicationVenue - } - return nil -} - -// CommunicationVenue is a record of where conversations about an incident -// are happening. -type Incident_CommunicationVenue struct { - // A URI to the web interface of the channel. - Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` - // A name representing the channel in IRM UI. - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // The type of channel/venue for incident communications. - ChannelType Incident_CommunicationVenue_ChannelType `protobuf:"varint,3,opt,name=channel_type,json=channelType,proto3,enum=google.cloud.irm.v1alpha2.Incident_CommunicationVenue_ChannelType" json:"channel_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Incident_CommunicationVenue) Reset() { *m = Incident_CommunicationVenue{} } -func (m *Incident_CommunicationVenue) String() string { return proto.CompactTextString(m) } -func (*Incident_CommunicationVenue) ProtoMessage() {} -func (*Incident_CommunicationVenue) Descriptor() ([]byte, []int) { - return fileDescriptor_7ed49c995593d5b8, []int{5, 0} -} - -func (m *Incident_CommunicationVenue) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Incident_CommunicationVenue.Unmarshal(m, b) -} -func (m *Incident_CommunicationVenue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Incident_CommunicationVenue.Marshal(b, m, deterministic) -} -func (m *Incident_CommunicationVenue) XXX_Merge(src proto.Message) { - xxx_messageInfo_Incident_CommunicationVenue.Merge(m, src) -} -func (m *Incident_CommunicationVenue) XXX_Size() int { - return xxx_messageInfo_Incident_CommunicationVenue.Size(m) -} -func (m *Incident_CommunicationVenue) XXX_DiscardUnknown() { - xxx_messageInfo_Incident_CommunicationVenue.DiscardUnknown(m) -} - -var xxx_messageInfo_Incident_CommunicationVenue proto.InternalMessageInfo - -func (m *Incident_CommunicationVenue) GetUri() string { - if m != nil { - return m.Uri - } - return "" -} - -func (m *Incident_CommunicationVenue) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *Incident_CommunicationVenue) GetChannelType() Incident_CommunicationVenue_ChannelType { - if m != nil { - return m.ChannelType - } - return Incident_CommunicationVenue_CHANNEL_TYPE_UNSPECIFIED -} - -// Describes a role that can be assigned to an incident. -type IncidentRole struct { - // The type of role. The role type is immutable in role assignments. Each role - // type can only be used once per incident, except for TYPE_OTHER. - Type IncidentRole_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.irm.v1alpha2.IncidentRole_Type" json:"type,omitempty"` - // Output only unless TYPE_OTHER is used. Title of the role. For TYPE_OTHER, - // must be unique within an incident. - Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` - // Output only unless TYPE_OTHER is used. Description of the role. - 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 *IncidentRole) Reset() { *m = IncidentRole{} } -func (m *IncidentRole) String() string { return proto.CompactTextString(m) } -func (*IncidentRole) ProtoMessage() {} -func (*IncidentRole) Descriptor() ([]byte, []int) { - return fileDescriptor_7ed49c995593d5b8, []int{6} -} - -func (m *IncidentRole) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IncidentRole.Unmarshal(m, b) -} -func (m *IncidentRole) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IncidentRole.Marshal(b, m, deterministic) -} -func (m *IncidentRole) XXX_Merge(src proto.Message) { - xxx_messageInfo_IncidentRole.Merge(m, src) -} -func (m *IncidentRole) XXX_Size() int { - return xxx_messageInfo_IncidentRole.Size(m) -} -func (m *IncidentRole) XXX_DiscardUnknown() { - xxx_messageInfo_IncidentRole.DiscardUnknown(m) -} - -var xxx_messageInfo_IncidentRole proto.InternalMessageInfo - -func (m *IncidentRole) GetType() IncidentRole_Type { - if m != nil { - return m.Type - } - return IncidentRole_TYPE_UNSPECIFIED -} - -func (m *IncidentRole) GetTitle() string { - if m != nil { - return m.Title - } - return "" -} - -func (m *IncidentRole) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -// Stores the assignee of a role as well as the proposed next assignee. -type IncidentRoleAssignment struct { - // Output only. Resource name such as - // "projects/{project_id}/incidents/{incident_id}/role_assignments/{role_id}". - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Output only. Etag for this version of the resource. Must be specified in - // update requests and match the current version in storage. Must not be - // modified by the client. - Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"` - // The role that is or will be assigned. - Role *IncidentRole `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"` - // The user this role is assigned to. This field can only be directly set - // during creation request. Subsequent updates are done via the - // IncidentRoleHandover methods. - Assignee *User `protobuf:"bytes,4,opt,name=assignee,proto3" json:"assignee,omitempty"` - // The recipient of a requested role handoff. This field can only be directly - // set during creation request. Subsequent updates are done via the - // IncidentRoleHandover methods. - // - // `assignee` is always the current role-holder, and `proposed_assignee` is - // used to track unfinished assignments and handoffs. Let's say Bob assigns - // Alice to a role. Then the fields are: - // `assignee`: nil, `proposed_assignee`: Alice - // If Alice accepts, then the fields are: - // `assignee`: Alice, `proposed_assignee`: nil - // If she cancels, then the RoleAssignment is deleted. - // Let's say Alice has the role. Then the fields are: - // `assignee`: Alice, `proposed_assignee`: nil - // If Alice becomes incapacitated and Bob requests Carol to take over, then - // the fields are: - // `assignee`: Alice, `proposed_assignee`: Carol - // After Carol accepts the handover, the fields are: - // `assignee`: Carol, `proposed_assignee`: nil - // Or if Carol refuses the handover, the fields are: - // `assignee`: Alice, `proposed_assignee`: nil - ProposedAssignee *User `protobuf:"bytes,5,opt,name=proposed_assignee,json=proposedAssignee,proto3" json:"proposed_assignee,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *IncidentRoleAssignment) Reset() { *m = IncidentRoleAssignment{} } -func (m *IncidentRoleAssignment) String() string { return proto.CompactTextString(m) } -func (*IncidentRoleAssignment) ProtoMessage() {} -func (*IncidentRoleAssignment) Descriptor() ([]byte, []int) { - return fileDescriptor_7ed49c995593d5b8, []int{7} -} - -func (m *IncidentRoleAssignment) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IncidentRoleAssignment.Unmarshal(m, b) -} -func (m *IncidentRoleAssignment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IncidentRoleAssignment.Marshal(b, m, deterministic) -} -func (m *IncidentRoleAssignment) XXX_Merge(src proto.Message) { - xxx_messageInfo_IncidentRoleAssignment.Merge(m, src) -} -func (m *IncidentRoleAssignment) XXX_Size() int { - return xxx_messageInfo_IncidentRoleAssignment.Size(m) -} -func (m *IncidentRoleAssignment) XXX_DiscardUnknown() { - xxx_messageInfo_IncidentRoleAssignment.DiscardUnknown(m) -} - -var xxx_messageInfo_IncidentRoleAssignment proto.InternalMessageInfo - -func (m *IncidentRoleAssignment) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *IncidentRoleAssignment) GetEtag() string { - if m != nil { - return m.Etag - } - return "" -} - -func (m *IncidentRoleAssignment) GetRole() *IncidentRole { - if m != nil { - return m.Role - } - return nil -} - -func (m *IncidentRoleAssignment) GetAssignee() *User { - if m != nil { - return m.Assignee - } - return nil -} - -func (m *IncidentRoleAssignment) GetProposedAssignee() *User { - if m != nil { - return m.ProposedAssignee - } - return nil -} - -// External artifact associated to an incident. -type Artifact struct { - // Output only. Resource name such as - // "projects/{project_id}/incidents/{incident_id}/artifacts/{artifact_id}". - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // User provided name of an artifact. - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Output only. Etag for this version of the resource. Must be specified in - // update requests and match the current version in storage. Must not be - // modified by the client. - Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"` - // URL to access the artifact. - Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` - // Type of this artifact. - Type Artifact_Type `protobuf:"varint,5,opt,name=type,proto3,enum=google.cloud.irm.v1alpha2.Artifact_Type" json:"type,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_7ed49c995593d5b8, []int{8} -} - -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 (m *Artifact) XXX_Merge(src proto.Message) { - xxx_messageInfo_Artifact.Merge(m, 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) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Artifact) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *Artifact) GetEtag() string { - if m != nil { - return m.Etag - } - return "" -} - -func (m *Artifact) GetUrl() string { - if m != nil { - return m.Url - } - return "" -} - -func (m *Artifact) GetType() Artifact_Type { - if m != nil { - return m.Type - } - return Artifact_TYPE_UNSPECIFIED -} - -// Communication Channels are mechanisms used to receive notifications -// about changes to incidents. -type CommunicationChannel struct { - // An endpoint describes how messages will be delivered. - // - // Types that are valid to be assigned to Endpoint: - // *CommunicationChannel_Email_ - // *CommunicationChannel_NotificationChannel_ - Endpoint isCommunicationChannel_Endpoint `protobuf_oneof:"endpoint"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CommunicationChannel) Reset() { *m = CommunicationChannel{} } -func (m *CommunicationChannel) String() string { return proto.CompactTextString(m) } -func (*CommunicationChannel) ProtoMessage() {} -func (*CommunicationChannel) Descriptor() ([]byte, []int) { - return fileDescriptor_7ed49c995593d5b8, []int{9} -} - -func (m *CommunicationChannel) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommunicationChannel.Unmarshal(m, b) -} -func (m *CommunicationChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommunicationChannel.Marshal(b, m, deterministic) -} -func (m *CommunicationChannel) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommunicationChannel.Merge(m, src) -} -func (m *CommunicationChannel) XXX_Size() int { - return xxx_messageInfo_CommunicationChannel.Size(m) -} -func (m *CommunicationChannel) XXX_DiscardUnknown() { - xxx_messageInfo_CommunicationChannel.DiscardUnknown(m) -} - -var xxx_messageInfo_CommunicationChannel proto.InternalMessageInfo - -type isCommunicationChannel_Endpoint interface { - isCommunicationChannel_Endpoint() -} - -type CommunicationChannel_Email_ struct { - Email *CommunicationChannel_Email `protobuf:"bytes,1,opt,name=email,proto3,oneof"` -} - -type CommunicationChannel_NotificationChannel_ struct { - NotificationChannel *CommunicationChannel_NotificationChannel `protobuf:"bytes,2,opt,name=notification_channel,json=notificationChannel,proto3,oneof"` -} - -func (*CommunicationChannel_Email_) isCommunicationChannel_Endpoint() {} - -func (*CommunicationChannel_NotificationChannel_) isCommunicationChannel_Endpoint() {} - -func (m *CommunicationChannel) GetEndpoint() isCommunicationChannel_Endpoint { - if m != nil { - return m.Endpoint - } - return nil -} - -func (m *CommunicationChannel) GetEmail() *CommunicationChannel_Email { - if x, ok := m.GetEndpoint().(*CommunicationChannel_Email_); ok { - return x.Email - } - return nil -} - -func (m *CommunicationChannel) GetNotificationChannel() *CommunicationChannel_NotificationChannel { - if x, ok := m.GetEndpoint().(*CommunicationChannel_NotificationChannel_); ok { - return x.NotificationChannel - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CommunicationChannel) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CommunicationChannel_Email_)(nil), - (*CommunicationChannel_NotificationChannel_)(nil), - } -} - -// A communication channel that delivers messages to an email address. -type CommunicationChannel_Email struct { - // The email address, for example, "user@example.com". - Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CommunicationChannel_Email) Reset() { *m = CommunicationChannel_Email{} } -func (m *CommunicationChannel_Email) String() string { return proto.CompactTextString(m) } -func (*CommunicationChannel_Email) ProtoMessage() {} -func (*CommunicationChannel_Email) Descriptor() ([]byte, []int) { - return fileDescriptor_7ed49c995593d5b8, []int{9, 0} -} - -func (m *CommunicationChannel_Email) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommunicationChannel_Email.Unmarshal(m, b) -} -func (m *CommunicationChannel_Email) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommunicationChannel_Email.Marshal(b, m, deterministic) -} -func (m *CommunicationChannel_Email) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommunicationChannel_Email.Merge(m, src) -} -func (m *CommunicationChannel_Email) XXX_Size() int { - return xxx_messageInfo_CommunicationChannel_Email.Size(m) -} -func (m *CommunicationChannel_Email) XXX_DiscardUnknown() { - xxx_messageInfo_CommunicationChannel_Email.DiscardUnknown(m) -} - -var xxx_messageInfo_CommunicationChannel_Email proto.InternalMessageInfo - -func (m *CommunicationChannel_Email) GetAddress() string { - if m != nil { - return m.Address - } - return "" -} - -// A communication channel that delivers messages to a Stackdriver -// notification channel. -type CommunicationChannel_NotificationChannel struct { - // Stackdriver notification channel name. - 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 *CommunicationChannel_NotificationChannel) Reset() { - *m = CommunicationChannel_NotificationChannel{} -} -func (m *CommunicationChannel_NotificationChannel) String() string { return proto.CompactTextString(m) } -func (*CommunicationChannel_NotificationChannel) ProtoMessage() {} -func (*CommunicationChannel_NotificationChannel) Descriptor() ([]byte, []int) { - return fileDescriptor_7ed49c995593d5b8, []int{9, 1} -} - -func (m *CommunicationChannel_NotificationChannel) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommunicationChannel_NotificationChannel.Unmarshal(m, b) -} -func (m *CommunicationChannel_NotificationChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommunicationChannel_NotificationChannel.Marshal(b, m, deterministic) -} -func (m *CommunicationChannel_NotificationChannel) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommunicationChannel_NotificationChannel.Merge(m, src) -} -func (m *CommunicationChannel_NotificationChannel) XXX_Size() int { - return xxx_messageInfo_CommunicationChannel_NotificationChannel.Size(m) -} -func (m *CommunicationChannel_NotificationChannel) XXX_DiscardUnknown() { - xxx_messageInfo_CommunicationChannel_NotificationChannel.DiscardUnknown(m) -} - -var xxx_messageInfo_CommunicationChannel_NotificationChannel proto.InternalMessageInfo - -func (m *CommunicationChannel_NotificationChannel) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// A subscription allows users to get notifications about changes to -// an incident. -type Subscription struct { - // Output only. Resource name such as - // "projects/{project_id}/incidents/{incident_id}/subscriptions/{subscription_id}". - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Output only. Etag for this version of the resource. Must be specified in - // update requests and match the current version in storage. Must not be - // modified by the client. - Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"` - // A communications channel to send subscription messages to. - SubscriptionChannel *CommunicationChannel `protobuf:"bytes,3,opt,name=subscription_channel,json=subscriptionChannel,proto3" json:"subscription_channel,omitempty"` - // Types of events this subscription receives notifications for. - EventTypes []Subscription_EventType `protobuf:"varint,4,rep,packed,name=event_types,json=eventTypes,proto3,enum=google.cloud.irm.v1alpha2.Subscription_EventType" json:"event_types,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7ed49c995593d5b8, []int{10} -} - -func (m *Subscription) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Subscription.Unmarshal(m, b) -} -func (m *Subscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Subscription.Marshal(b, m, deterministic) -} -func (m *Subscription) XXX_Merge(src proto.Message) { - xxx_messageInfo_Subscription.Merge(m, src) -} -func (m *Subscription) XXX_Size() int { - return xxx_messageInfo_Subscription.Size(m) -} -func (m *Subscription) XXX_DiscardUnknown() { - xxx_messageInfo_Subscription.DiscardUnknown(m) -} - -var xxx_messageInfo_Subscription proto.InternalMessageInfo - -func (m *Subscription) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Subscription) GetEtag() string { - if m != nil { - return m.Etag - } - return "" -} - -func (m *Subscription) GetSubscriptionChannel() *CommunicationChannel { - if m != nil { - return m.SubscriptionChannel - } - return nil -} - -func (m *Subscription) GetEventTypes() []Subscription_EventType { - if m != nil { - return m.EventTypes - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.irm.v1alpha2.Signal_State", Signal_State_name, Signal_State_value) - proto.RegisterEnum("google.cloud.irm.v1alpha2.Incident_EscalationLevel", Incident_EscalationLevel_name, Incident_EscalationLevel_value) - proto.RegisterEnum("google.cloud.irm.v1alpha2.Incident_Severity", Incident_Severity_name, Incident_Severity_value) - proto.RegisterEnum("google.cloud.irm.v1alpha2.Incident_Stage", Incident_Stage_name, Incident_Stage_value) - proto.RegisterEnum("google.cloud.irm.v1alpha2.Incident_CommunicationVenue_ChannelType", Incident_CommunicationVenue_ChannelType_name, Incident_CommunicationVenue_ChannelType_value) - proto.RegisterEnum("google.cloud.irm.v1alpha2.IncidentRole_Type", IncidentRole_Type_name, IncidentRole_Type_value) - proto.RegisterEnum("google.cloud.irm.v1alpha2.Artifact_Type", Artifact_Type_name, Artifact_Type_value) - proto.RegisterEnum("google.cloud.irm.v1alpha2.Subscription_EventType", Subscription_EventType_name, Subscription_EventType_value) - proto.RegisterType((*User)(nil), "google.cloud.irm.v1alpha2.User") - proto.RegisterType((*Signal)(nil), "google.cloud.irm.v1alpha2.Signal") - proto.RegisterType((*Signal_SignalArtifact)(nil), "google.cloud.irm.v1alpha2.Signal.SignalArtifact") - proto.RegisterType((*Annotation)(nil), "google.cloud.irm.v1alpha2.Annotation") - proto.RegisterType((*Tag)(nil), "google.cloud.irm.v1alpha2.Tag") - proto.RegisterType((*Synopsis)(nil), "google.cloud.irm.v1alpha2.Synopsis") - proto.RegisterType((*Incident)(nil), "google.cloud.irm.v1alpha2.Incident") - proto.RegisterType((*Incident_CommunicationVenue)(nil), "google.cloud.irm.v1alpha2.Incident.CommunicationVenue") - proto.RegisterType((*IncidentRole)(nil), "google.cloud.irm.v1alpha2.IncidentRole") - proto.RegisterType((*IncidentRoleAssignment)(nil), "google.cloud.irm.v1alpha2.IncidentRoleAssignment") - proto.RegisterType((*Artifact)(nil), "google.cloud.irm.v1alpha2.Artifact") - proto.RegisterType((*CommunicationChannel)(nil), "google.cloud.irm.v1alpha2.CommunicationChannel") - proto.RegisterType((*CommunicationChannel_Email)(nil), "google.cloud.irm.v1alpha2.CommunicationChannel.Email") - proto.RegisterType((*CommunicationChannel_NotificationChannel)(nil), "google.cloud.irm.v1alpha2.CommunicationChannel.NotificationChannel") - proto.RegisterType((*Subscription)(nil), "google.cloud.irm.v1alpha2.Subscription") -} - -func init() { - proto.RegisterFile("google/cloud/irm/v1alpha2/incidents.proto", fileDescriptor_7ed49c995593d5b8) -} - -var fileDescriptor_7ed49c995593d5b8 = []byte{ - // 1638 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x58, 0x5f, 0x6f, 0xdb, 0xc8, - 0x11, 0x0f, 0xf5, 0xcf, 0xf2, 0xc8, 0x67, 0x33, 0x6b, 0x5f, 0x4e, 0x51, 0x93, 0x9e, 0xc3, 0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0xa0, 0xf9, 0x67, - 0xa2, 0xfc, 0x5b, 0x82, 0xdd, 0x42, 0x82, 0x3a, 0xf0, 0x04, 0x5f, 0xb1, 0x7e, 0xb7, 0xbe, 0x27, - 0x96, 0x64, 0x96, 0x66, 0xe9, 0xd8, 0x66, 0xa3, 0x96, 0x0f, 0xb3, 0x9f, 0x42, 0xa7, 0x24, 0x34, - 0xaf, 0x8d, 0xf1, 0xa5, 0xa9, 0x99, 0xb9, 0xbc, 0xb2, 0x02, 0xce, 0x46, 0x83, 0x10, 0x56, 0x57, - 0xc1, 0xf9, 0x5c, 0x13, 0xf2, 0x1a, 0x7a, 0x0e, 0x4f, 0x4b, 0x72, 0xd5, 0x30, 0xc6, 0x56, 0x36, - 0x91, 0xd5, 0x21, 0x9b, 0x35, 0x6c, 0x8e, 0xaf, 0x15, 0x0b, 0x03, 0x8d, 0xb3, 0xf7, 0xf0, 0x85, - 0x1b, 0xce, 0xf3, 0x40, 0xb1, 0x10, 0x25, 0x34, 0xbe, 0xf1, 0x5c, 0x7a, 0x17, 0x2a, 0x27, 0xf2, - 0x2e, 0xa5, 0xef, 0x5e, 0x09, 0x95, 0x59, 0xe8, 0x3b, 0xc1, 0xac, 0x1b, 0xc6, 0xb3, 0xde, 0x8c, - 0x06, 0x7c, 0x23, 0xec, 0x65, 0x22, 0x27, 0xf2, 0x92, 0x35, 0xff, 0x09, 0x39, 0xf5, 0xe2, 0xf9, - 0xff, 0x25, 0xe9, 0x6d, 0x83, 0xeb, 0x7e, 0xfd, 0x43, 0x00, 0x00, 0x00, 0xff, 0xff, 0x62, 0xec, - 0xbb, 0x36, 0x34, 0x11, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/irm/v1alpha2/incidents_service.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/irm/v1alpha2/incidents_service.pb.go deleted file mode 100644 index a1f7a82c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/irm/v1alpha2/incidents_service.pb.go +++ /dev/null @@ -1,4072 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/irm/v1alpha2/incidents_service.proto - -package irm - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request for the CreateIncident method. -type CreateIncidentRequest struct { - // The incident to create. - Incident *Incident `protobuf:"bytes,1,opt,name=incident,proto3" json:"incident,omitempty"` - // The resource name of the hosting Stackdriver project which the incident - // belongs to. - // The name is of the form `projects/{project_id_or_number}` - // . - Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateIncidentRequest) Reset() { *m = CreateIncidentRequest{} } -func (m *CreateIncidentRequest) String() string { return proto.CompactTextString(m) } -func (*CreateIncidentRequest) ProtoMessage() {} -func (*CreateIncidentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_701d4f44dccb3929, []int{0} -} - -func (m *CreateIncidentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateIncidentRequest.Unmarshal(m, b) -} -func (m *CreateIncidentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateIncidentRequest.Marshal(b, m, deterministic) -} -func (m *CreateIncidentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateIncidentRequest.Merge(m, src) -} -func (m *CreateIncidentRequest) XXX_Size() int { - return xxx_messageInfo_CreateIncidentRequest.Size(m) -} -func (m *CreateIncidentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateIncidentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateIncidentRequest proto.InternalMessageInfo - -func (m *CreateIncidentRequest) GetIncident() *Incident { - if m != nil { - return m.Incident - } - return nil -} - -func (m *CreateIncidentRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -// Request for the GetIncident method. -type GetIncidentRequest struct { - // Resource name of the incident, for example, - // "projects/{project_id}/incidents/{incident_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 *GetIncidentRequest) Reset() { *m = GetIncidentRequest{} } -func (m *GetIncidentRequest) String() string { return proto.CompactTextString(m) } -func (*GetIncidentRequest) ProtoMessage() {} -func (*GetIncidentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_701d4f44dccb3929, []int{1} -} - -func (m *GetIncidentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetIncidentRequest.Unmarshal(m, b) -} -func (m *GetIncidentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetIncidentRequest.Marshal(b, m, deterministic) -} -func (m *GetIncidentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetIncidentRequest.Merge(m, src) -} -func (m *GetIncidentRequest) XXX_Size() int { - return xxx_messageInfo_GetIncidentRequest.Size(m) -} -func (m *GetIncidentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetIncidentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetIncidentRequest proto.InternalMessageInfo - -func (m *GetIncidentRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request for the UpdateIncident method. -type UpdateIncidentRequest struct { - // The incident to update with the new values. - Incident *Incident `protobuf:"bytes,1,opt,name=incident,proto3" json:"incident,omitempty"` - // List of fields that should 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 *UpdateIncidentRequest) Reset() { *m = UpdateIncidentRequest{} } -func (m *UpdateIncidentRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateIncidentRequest) ProtoMessage() {} -func (*UpdateIncidentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_701d4f44dccb3929, []int{2} -} - -func (m *UpdateIncidentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateIncidentRequest.Unmarshal(m, b) -} -func (m *UpdateIncidentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateIncidentRequest.Marshal(b, m, deterministic) -} -func (m *UpdateIncidentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateIncidentRequest.Merge(m, src) -} -func (m *UpdateIncidentRequest) XXX_Size() int { - return xxx_messageInfo_UpdateIncidentRequest.Size(m) -} -func (m *UpdateIncidentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateIncidentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateIncidentRequest proto.InternalMessageInfo - -func (m *UpdateIncidentRequest) GetIncident() *Incident { - if m != nil { - return m.Incident - } - return nil -} - -func (m *UpdateIncidentRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// Request for the SearchSimilarIncidents method. -type SearchSimilarIncidentsRequest struct { - // Resource name of the incident or signal, for example, - // "projects/{project_id}/incidents/{incident_id}". - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Number of similar incidents to return. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Page token from an earlier query, as returned in '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:"-"` -} - -func (m *SearchSimilarIncidentsRequest) Reset() { *m = SearchSimilarIncidentsRequest{} } -func (m *SearchSimilarIncidentsRequest) String() string { return proto.CompactTextString(m) } -func (*SearchSimilarIncidentsRequest) ProtoMessage() {} -func (*SearchSimilarIncidentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_701d4f44dccb3929, []int{3} -} - -func (m *SearchSimilarIncidentsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchSimilarIncidentsRequest.Unmarshal(m, b) -} -func (m *SearchSimilarIncidentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchSimilarIncidentsRequest.Marshal(b, m, deterministic) -} -func (m *SearchSimilarIncidentsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchSimilarIncidentsRequest.Merge(m, src) -} -func (m *SearchSimilarIncidentsRequest) XXX_Size() int { - return xxx_messageInfo_SearchSimilarIncidentsRequest.Size(m) -} -func (m *SearchSimilarIncidentsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SearchSimilarIncidentsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchSimilarIncidentsRequest proto.InternalMessageInfo - -func (m *SearchSimilarIncidentsRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *SearchSimilarIncidentsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *SearchSimilarIncidentsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response for the SearchSimilarIncidents method. -type SearchSimilarIncidentsResponse struct { - // The search results, ordered by descending relevance. - Results []*SearchSimilarIncidentsResponse_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` - // Page token to fetch the next set of similar incidents. - 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 *SearchSimilarIncidentsResponse) Reset() { *m = SearchSimilarIncidentsResponse{} } -func (m *SearchSimilarIncidentsResponse) String() string { return proto.CompactTextString(m) } -func (*SearchSimilarIncidentsResponse) ProtoMessage() {} -func (*SearchSimilarIncidentsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_701d4f44dccb3929, []int{4} -} - -func (m *SearchSimilarIncidentsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchSimilarIncidentsResponse.Unmarshal(m, b) -} -func (m *SearchSimilarIncidentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchSimilarIncidentsResponse.Marshal(b, m, deterministic) -} -func (m *SearchSimilarIncidentsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchSimilarIncidentsResponse.Merge(m, src) -} -func (m *SearchSimilarIncidentsResponse) XXX_Size() int { - return xxx_messageInfo_SearchSimilarIncidentsResponse.Size(m) -} -func (m *SearchSimilarIncidentsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SearchSimilarIncidentsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchSimilarIncidentsResponse proto.InternalMessageInfo - -func (m *SearchSimilarIncidentsResponse) GetResults() []*SearchSimilarIncidentsResponse_Result { - if m != nil { - return m.Results - } - return nil -} - -func (m *SearchSimilarIncidentsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// A single search result, i.e. an incident with (potentially) additional -// information. -type SearchSimilarIncidentsResponse_Result struct { - // An incident that is "similar" to the incident or signal specified in the - // request. - Incident *Incident `protobuf:"bytes,1,opt,name=incident,proto3" json:"incident,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SearchSimilarIncidentsResponse_Result) Reset() { *m = SearchSimilarIncidentsResponse_Result{} } -func (m *SearchSimilarIncidentsResponse_Result) String() string { return proto.CompactTextString(m) } -func (*SearchSimilarIncidentsResponse_Result) ProtoMessage() {} -func (*SearchSimilarIncidentsResponse_Result) Descriptor() ([]byte, []int) { - return fileDescriptor_701d4f44dccb3929, []int{4, 0} -} - -func (m *SearchSimilarIncidentsResponse_Result) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchSimilarIncidentsResponse_Result.Unmarshal(m, b) -} -func (m *SearchSimilarIncidentsResponse_Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchSimilarIncidentsResponse_Result.Marshal(b, m, deterministic) -} -func (m *SearchSimilarIncidentsResponse_Result) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchSimilarIncidentsResponse_Result.Merge(m, src) -} -func (m *SearchSimilarIncidentsResponse_Result) XXX_Size() int { - return xxx_messageInfo_SearchSimilarIncidentsResponse_Result.Size(m) -} -func (m *SearchSimilarIncidentsResponse_Result) XXX_DiscardUnknown() { - xxx_messageInfo_SearchSimilarIncidentsResponse_Result.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchSimilarIncidentsResponse_Result proto.InternalMessageInfo - -func (m *SearchSimilarIncidentsResponse_Result) GetIncident() *Incident { - if m != nil { - return m.Incident - } - return nil -} - -// Request for the CreateAnnotation method. -type CreateAnnotationRequest struct { - // Resource name of the incident, for example, - // "projects/{project_id}/incidents/{incident_id}". - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Only annotation.content is an input argument. - Annotation *Annotation `protobuf:"bytes,2,opt,name=annotation,proto3" json:"annotation,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_701d4f44dccb3929, []int{5} -} - -func (m *CreateAnnotationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateAnnotationRequest.Unmarshal(m, b) -} -func (m *CreateAnnotationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateAnnotationRequest.Marshal(b, m, deterministic) -} -func (m *CreateAnnotationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateAnnotationRequest.Merge(m, src) -} -func (m *CreateAnnotationRequest) XXX_Size() int { - return xxx_messageInfo_CreateAnnotationRequest.Size(m) -} -func (m *CreateAnnotationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateAnnotationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateAnnotationRequest proto.InternalMessageInfo - -func (m *CreateAnnotationRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateAnnotationRequest) GetAnnotation() *Annotation { - if m != nil { - return m.Annotation - } - return nil -} - -// Request for the ListAnnotations method. -type ListAnnotationsRequest struct { - // Resource name of the incident, for example, - // "projects/{project_id}/incidents/{incident_id}". - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Number of annotations to return. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Page token from an earlier query, as returned in `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:"-"` -} - -func (m *ListAnnotationsRequest) Reset() { *m = ListAnnotationsRequest{} } -func (m *ListAnnotationsRequest) String() string { return proto.CompactTextString(m) } -func (*ListAnnotationsRequest) ProtoMessage() {} -func (*ListAnnotationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_701d4f44dccb3929, []int{6} -} - -func (m *ListAnnotationsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListAnnotationsRequest.Unmarshal(m, b) -} -func (m *ListAnnotationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListAnnotationsRequest.Marshal(b, m, deterministic) -} -func (m *ListAnnotationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAnnotationsRequest.Merge(m, src) -} -func (m *ListAnnotationsRequest) XXX_Size() int { - return xxx_messageInfo_ListAnnotationsRequest.Size(m) -} -func (m *ListAnnotationsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListAnnotationsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListAnnotationsRequest proto.InternalMessageInfo - -func (m *ListAnnotationsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListAnnotationsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListAnnotationsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response for the ListAnnotations method. -type ListAnnotationsResponse struct { - // List of annotations. - Annotations []*Annotation `protobuf:"bytes,1,rep,name=annotations,proto3" json:"annotations,omitempty"` - // Page token to fetch the next set of annotations. - 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 *ListAnnotationsResponse) Reset() { *m = ListAnnotationsResponse{} } -func (m *ListAnnotationsResponse) String() string { return proto.CompactTextString(m) } -func (*ListAnnotationsResponse) ProtoMessage() {} -func (*ListAnnotationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_701d4f44dccb3929, []int{7} -} - -func (m *ListAnnotationsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListAnnotationsResponse.Unmarshal(m, b) -} -func (m *ListAnnotationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListAnnotationsResponse.Marshal(b, m, deterministic) -} -func (m *ListAnnotationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAnnotationsResponse.Merge(m, src) -} -func (m *ListAnnotationsResponse) XXX_Size() int { - return xxx_messageInfo_ListAnnotationsResponse.Size(m) -} -func (m *ListAnnotationsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListAnnotationsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListAnnotationsResponse proto.InternalMessageInfo - -func (m *ListAnnotationsResponse) GetAnnotations() []*Annotation { - if m != nil { - return m.Annotations - } - return nil -} - -func (m *ListAnnotationsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request for the CreateTag method. -type CreateTagRequest struct { - // Resource name of the incident, for example, - // "projects/{project_id}/incidents/{incident_id}". - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Tag to create. Only tag.display_name is an input argument. - Tag *Tag `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateTagRequest) Reset() { *m = CreateTagRequest{} } -func (m *CreateTagRequest) String() string { return proto.CompactTextString(m) } -func (*CreateTagRequest) ProtoMessage() {} -func (*CreateTagRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_701d4f44dccb3929, []int{8} -} - -func (m *CreateTagRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateTagRequest.Unmarshal(m, b) -} -func (m *CreateTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateTagRequest.Marshal(b, m, deterministic) -} -func (m *CreateTagRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateTagRequest.Merge(m, src) -} -func (m *CreateTagRequest) XXX_Size() int { - return xxx_messageInfo_CreateTagRequest.Size(m) -} -func (m *CreateTagRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateTagRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateTagRequest proto.InternalMessageInfo - -func (m *CreateTagRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateTagRequest) GetTag() *Tag { - if m != nil { - return m.Tag - } - return nil -} - -// Request for the DeleteTag method. -type DeleteTagRequest struct { - // Resource name of the tag. - 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 *DeleteTagRequest) Reset() { *m = DeleteTagRequest{} } -func (m *DeleteTagRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteTagRequest) ProtoMessage() {} -func (*DeleteTagRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_701d4f44dccb3929, []int{9} -} - -func (m *DeleteTagRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteTagRequest.Unmarshal(m, b) -} -func (m *DeleteTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteTagRequest.Marshal(b, m, deterministic) -} -func (m *DeleteTagRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteTagRequest.Merge(m, src) -} -func (m *DeleteTagRequest) XXX_Size() int { - return xxx_messageInfo_DeleteTagRequest.Size(m) -} -func (m *DeleteTagRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteTagRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteTagRequest proto.InternalMessageInfo - -func (m *DeleteTagRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request for the ListTagsForIncident method. -type ListTagsRequest struct { - // Resource name of the incident, for example, - // "projects/{project_id}/incidents/{incident_id}". - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Number of tags to return. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Page token from an earlier query, as returned in `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:"-"` -} - -func (m *ListTagsRequest) Reset() { *m = ListTagsRequest{} } -func (m *ListTagsRequest) String() string { return proto.CompactTextString(m) } -func (*ListTagsRequest) ProtoMessage() {} -func (*ListTagsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_701d4f44dccb3929, []int{10} -} - -func (m *ListTagsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTagsRequest.Unmarshal(m, b) -} -func (m *ListTagsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTagsRequest.Marshal(b, m, deterministic) -} -func (m *ListTagsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTagsRequest.Merge(m, src) -} -func (m *ListTagsRequest) XXX_Size() int { - return xxx_messageInfo_ListTagsRequest.Size(m) -} -func (m *ListTagsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListTagsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTagsRequest proto.InternalMessageInfo - -func (m *ListTagsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListTagsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListTagsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response for the ListTagsForIncident method. -type ListTagsResponse struct { - // Tags. - Tags []*Tag `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` - // Page token to fetch the next set of tags. - 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 *ListTagsResponse) Reset() { *m = ListTagsResponse{} } -func (m *ListTagsResponse) String() string { return proto.CompactTextString(m) } -func (*ListTagsResponse) ProtoMessage() {} -func (*ListTagsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_701d4f44dccb3929, []int{11} -} - -func (m *ListTagsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTagsResponse.Unmarshal(m, b) -} -func (m *ListTagsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTagsResponse.Marshal(b, m, deterministic) -} -func (m *ListTagsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTagsResponse.Merge(m, src) -} -func (m *ListTagsResponse) XXX_Size() int { - return xxx_messageInfo_ListTagsResponse.Size(m) -} -func (m *ListTagsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListTagsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTagsResponse proto.InternalMessageInfo - -func (m *ListTagsResponse) GetTags() []*Tag { - if m != nil { - return m.Tags - } - return nil -} - -func (m *ListTagsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request for the CreateSignal method. -type CreateSignalRequest struct { - // The resource name of the hosting Stackdriver project which requested - // signal belongs to. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The signal to create. - Signal *Signal `protobuf:"bytes,2,opt,name=signal,proto3" json:"signal,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateSignalRequest) Reset() { *m = CreateSignalRequest{} } -func (m *CreateSignalRequest) String() string { return proto.CompactTextString(m) } -func (*CreateSignalRequest) ProtoMessage() {} -func (*CreateSignalRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_701d4f44dccb3929, []int{12} -} - -func (m *CreateSignalRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateSignalRequest.Unmarshal(m, b) -} -func (m *CreateSignalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateSignalRequest.Marshal(b, m, deterministic) -} -func (m *CreateSignalRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateSignalRequest.Merge(m, src) -} -func (m *CreateSignalRequest) XXX_Size() int { - return xxx_messageInfo_CreateSignalRequest.Size(m) -} -func (m *CreateSignalRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateSignalRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateSignalRequest proto.InternalMessageInfo - -func (m *CreateSignalRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateSignalRequest) GetSignal() *Signal { - if m != nil { - return m.Signal - } - return nil -} - -// Request for the SearchSignals method. -type SearchSignalsRequest struct { - // The resource name of the hosting Stackdriver project which requested - // incidents belong to. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // An expression that defines which signals to return. - // - // Search atoms can be used to match certain specific fields. Otherwise, - // plain text will match text fields in the signal. - // - // Search atoms: - // - // * `start` - (timestamp) The time the signal was created. - // * `title` - The title of the signal. - // * `signal_state` - `open` or `closed`. State of the signal. - // (e.g., `signal_state:open`) - // - // Timestamp formats: - // - // * yyyy-MM-dd - an absolute date, treated as a calendar-day-wide window. - // In other words, the "<" operator will match dates before that date, the - // ">" operator will match dates after that date, and the ":" operator will - // match the entire day. - // * yyyy-MM-ddTHH:mm - Same as above, but with minute resolution. - // * yyyy-MM-ddTHH:mm:ss - Same as above, but with second resolution. - // * Nd (e.g. 7d) - a relative number of days ago, treated as a moment in time - // (as opposed to a day-wide span) a multiple of 24 hours ago (as opposed to - // calendar days). In the case of daylight savings time, it will apply the - // current timezone to both ends of the range. Note that exact matching - // (e.g. `start:7d`) is unlikely to be useful because that would only match - // signals created precisely at a particular instant in time. - // - // The absolute timestamp formats (everything starting with a year) can - // optionally be followed with a UTC offset in +/-hh:mm format. Also, the 'T' - // separating dates and times can optionally be replaced with a space. Note - // that any timestamp containing a space or colon will need to be quoted. - // - // Examples: - // - // * `foo` - matches signals containing the word "foo" - // * `"foo bar"` - matches signals containing the phrase "foo bar" - // * `foo bar` or `foo AND bar` - matches signals containing the words - // "foo" and "bar" - // * `foo -bar` or `foo AND NOT bar` - matches signals containing the - // word - // "foo" but not the word "bar" - // * `foo OR bar` - matches signals containing the word "foo" or the - // word "bar" - // * `start>2018-11-28` - matches signals which started after November - // 11, 2018. - // * `start<=2018-11-28` - matches signals which started on or before - // November 11, 2018. - // * `start:2018-11-28` - matches signals which started on November 11, - // 2018. - // * `start>"2018-11-28 01:02:03+04:00"` - matches signals which started - // after November 11, 2018 at 1:02:03 AM according to the UTC+04 time - // zone. - // * `start>7d` - matches signals which started after the point in time - // 7*24 hours ago - // * `start>180d` - similar to 7d, but likely to cross the daylight savings - // time boundary, so the end time will be 1 hour different from "now." - // * `foo AND start>90d AND stagemedium`, - // `severity<=minor`, etc.). - // - // Timestamp formats: - // * yyyy-MM-dd - an absolute date, treated as a calendar-day-wide window. - // In other words, the "<" operator will match dates before that date, the - // ">" operator will match dates after that date, and the ":" or "=" - // operators will match the entire day. - // * Nd (for example, 7d) - a relative number of days ago, treated as a moment - // in time (as opposed to a day-wide span). A multiple of 24 hours ago (as - // opposed to calendar days). In the case of daylight savings time, it will - // apply the current timezone to both ends of the range. Note that exact - // matching (for example, `start:7d`) is unlikely to be useful because that - // would only match incidents created precisely at a particular instant in - // time. - // - // Examples: - // - // * `foo` - matches incidents containing the word "foo" - // * `"foo bar"` - matches incidents containing the phrase "foo bar" - // * `foo bar` or `foo AND bar` - matches incidents containing the words "foo" - // and "bar" - // * `foo -bar` or `foo AND NOT bar` - matches incidents containing the word - // "foo" but not the word "bar" - // * `foo OR bar` - matches incidents containing the word "foo" or the word - // "bar" - // * `start>2018-11-28` - matches incidents which started after November 11, - // 2018. - // * `start<=2018-11-28` - matches incidents which started on or before - // November 11, 2018. - // * `start:2018-11-28` - matches incidents which started on November 11, - // 2018. - // * `start>7d` - matches incidents which started after the point in time 7*24 - // hours ago - // * `start>180d` - similar to 7d, but likely to cross the daylight savings - // time boundary, so the end time will be 1 hour different from "now." - // * `foo AND start>90d AND stage
- // The metadata lists the phone number, formatted according to local - // convention, plus whichever additional elements appear in the text:
    - //
  • number – the actual number, broken down into - // sections as per local convention
  • national_prefix - // – country code, if detected
  • area_code – - // region or area code, if detected
  • extension – - // phone extension (to be dialed after connection), if detected
- Entity_PHONE_NUMBER Entity_Type = 9 - // Address

- // The metadata identifies the street number and locality plus whichever - // additional elements appear in the text:
    - //
  • street_number – street number
  • - //
  • locality – city or town
  • - //
  • street_name – street/route name, if detected
  • - //
  • postal_code – postal code, if detected
  • - //
  • country – country, if detected
  • - //
  • broad_region – administrative area, such as the - // state, if detected
  • narrow_region – smaller - // administrative area, such as county, if detected
  • - //
  • sublocality – used in Asian addresses to demark a - // district within a city, if detected
- Entity_ADDRESS Entity_Type = 10 - // Date

- // The metadata identifies the components of the date:
    - //
  • year – four digit year, if detected
  • - //
  • month – two digit month number, if detected
  • - //
  • day – two digit day number, if detected
- Entity_DATE Entity_Type = 11 - // Number

- // The metadata is the number itself. - Entity_NUMBER Entity_Type = 12 - // Price

- // The metadata identifies the value and currency. - Entity_PRICE Entity_Type = 13 -) - -var Entity_Type_name = map[int32]string{ - 0: "UNKNOWN", - 1: "PERSON", - 2: "LOCATION", - 3: "ORGANIZATION", - 4: "EVENT", - 5: "WORK_OF_ART", - 6: "CONSUMER_GOOD", - 7: "OTHER", - 9: "PHONE_NUMBER", - 10: "ADDRESS", - 11: "DATE", - 12: "NUMBER", - 13: "PRICE", -} - -var Entity_Type_value = map[string]int32{ - "UNKNOWN": 0, - "PERSON": 1, - "LOCATION": 2, - "ORGANIZATION": 3, - "EVENT": 4, - "WORK_OF_ART": 5, - "CONSUMER_GOOD": 6, - "OTHER": 7, - "PHONE_NUMBER": 9, - "ADDRESS": 10, - "DATE": 11, - "NUMBER": 12, - "PRICE": 13, -} - -func (x Entity_Type) String() string { - return proto.EnumName(Entity_Type_name, int32(x)) -} - -func (Entity_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dd647168a36bd604, []int{2, 0} -} - -// The part of speech tags enum. -type PartOfSpeech_Tag int32 - -const ( - // Unknown - PartOfSpeech_UNKNOWN PartOfSpeech_Tag = 0 - // Adjective - PartOfSpeech_ADJ PartOfSpeech_Tag = 1 - // Adposition (preposition and postposition) - PartOfSpeech_ADP PartOfSpeech_Tag = 2 - // Adverb - PartOfSpeech_ADV PartOfSpeech_Tag = 3 - // Conjunction - PartOfSpeech_CONJ PartOfSpeech_Tag = 4 - // Determiner - PartOfSpeech_DET PartOfSpeech_Tag = 5 - // Noun (common and proper) - PartOfSpeech_NOUN PartOfSpeech_Tag = 6 - // Cardinal number - PartOfSpeech_NUM PartOfSpeech_Tag = 7 - // Pronoun - PartOfSpeech_PRON PartOfSpeech_Tag = 8 - // Particle or other function word - PartOfSpeech_PRT PartOfSpeech_Tag = 9 - // Punctuation - PartOfSpeech_PUNCT PartOfSpeech_Tag = 10 - // Verb (all tenses and modes) - PartOfSpeech_VERB PartOfSpeech_Tag = 11 - // Other: foreign words, typos, abbreviations - PartOfSpeech_X PartOfSpeech_Tag = 12 - // Affix - PartOfSpeech_AFFIX PartOfSpeech_Tag = 13 -) - -var PartOfSpeech_Tag_name = map[int32]string{ - 0: "UNKNOWN", - 1: "ADJ", - 2: "ADP", - 3: "ADV", - 4: "CONJ", - 5: "DET", - 6: "NOUN", - 7: "NUM", - 8: "PRON", - 9: "PRT", - 10: "PUNCT", - 11: "VERB", - 12: "X", - 13: "AFFIX", -} - -var PartOfSpeech_Tag_value = map[string]int32{ - "UNKNOWN": 0, - "ADJ": 1, - "ADP": 2, - "ADV": 3, - "CONJ": 4, - "DET": 5, - "NOUN": 6, - "NUM": 7, - "PRON": 8, - "PRT": 9, - "PUNCT": 10, - "VERB": 11, - "X": 12, - "AFFIX": 13, -} - -func (x PartOfSpeech_Tag) String() string { - return proto.EnumName(PartOfSpeech_Tag_name, int32(x)) -} - -func (PartOfSpeech_Tag) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dd647168a36bd604, []int{5, 0} -} - -// The characteristic of a verb that expresses time flow during an event. -type PartOfSpeech_Aspect int32 - -const ( - // Aspect is not applicable in the analyzed language or is not predicted. - PartOfSpeech_ASPECT_UNKNOWN PartOfSpeech_Aspect = 0 - // Perfective - PartOfSpeech_PERFECTIVE PartOfSpeech_Aspect = 1 - // Imperfective - PartOfSpeech_IMPERFECTIVE PartOfSpeech_Aspect = 2 - // Progressive - PartOfSpeech_PROGRESSIVE PartOfSpeech_Aspect = 3 -) - -var PartOfSpeech_Aspect_name = map[int32]string{ - 0: "ASPECT_UNKNOWN", - 1: "PERFECTIVE", - 2: "IMPERFECTIVE", - 3: "PROGRESSIVE", -} - -var PartOfSpeech_Aspect_value = map[string]int32{ - "ASPECT_UNKNOWN": 0, - "PERFECTIVE": 1, - "IMPERFECTIVE": 2, - "PROGRESSIVE": 3, -} - -func (x PartOfSpeech_Aspect) String() string { - return proto.EnumName(PartOfSpeech_Aspect_name, int32(x)) -} - -func (PartOfSpeech_Aspect) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dd647168a36bd604, []int{5, 1} -} - -// The grammatical function performed by a noun or pronoun in a phrase, -// clause, or sentence. In some languages, other parts of speech, such as -// adjective and determiner, take case inflection in agreement with the noun. -type PartOfSpeech_Case int32 - -const ( - // Case is not applicable in the analyzed language or is not predicted. - PartOfSpeech_CASE_UNKNOWN PartOfSpeech_Case = 0 - // Accusative - PartOfSpeech_ACCUSATIVE PartOfSpeech_Case = 1 - // Adverbial - PartOfSpeech_ADVERBIAL PartOfSpeech_Case = 2 - // Complementive - PartOfSpeech_COMPLEMENTIVE PartOfSpeech_Case = 3 - // Dative - PartOfSpeech_DATIVE PartOfSpeech_Case = 4 - // Genitive - PartOfSpeech_GENITIVE PartOfSpeech_Case = 5 - // Instrumental - PartOfSpeech_INSTRUMENTAL PartOfSpeech_Case = 6 - // Locative - PartOfSpeech_LOCATIVE PartOfSpeech_Case = 7 - // Nominative - PartOfSpeech_NOMINATIVE PartOfSpeech_Case = 8 - // Oblique - PartOfSpeech_OBLIQUE PartOfSpeech_Case = 9 - // Partitive - PartOfSpeech_PARTITIVE PartOfSpeech_Case = 10 - // Prepositional - PartOfSpeech_PREPOSITIONAL PartOfSpeech_Case = 11 - // Reflexive - PartOfSpeech_REFLEXIVE_CASE PartOfSpeech_Case = 12 - // Relative - PartOfSpeech_RELATIVE_CASE PartOfSpeech_Case = 13 - // Vocative - PartOfSpeech_VOCATIVE PartOfSpeech_Case = 14 -) - -var PartOfSpeech_Case_name = map[int32]string{ - 0: "CASE_UNKNOWN", - 1: "ACCUSATIVE", - 2: "ADVERBIAL", - 3: "COMPLEMENTIVE", - 4: "DATIVE", - 5: "GENITIVE", - 6: "INSTRUMENTAL", - 7: "LOCATIVE", - 8: "NOMINATIVE", - 9: "OBLIQUE", - 10: "PARTITIVE", - 11: "PREPOSITIONAL", - 12: "REFLEXIVE_CASE", - 13: "RELATIVE_CASE", - 14: "VOCATIVE", -} - -var PartOfSpeech_Case_value = map[string]int32{ - "CASE_UNKNOWN": 0, - "ACCUSATIVE": 1, - "ADVERBIAL": 2, - "COMPLEMENTIVE": 3, - "DATIVE": 4, - "GENITIVE": 5, - "INSTRUMENTAL": 6, - "LOCATIVE": 7, - "NOMINATIVE": 8, - "OBLIQUE": 9, - "PARTITIVE": 10, - "PREPOSITIONAL": 11, - "REFLEXIVE_CASE": 12, - "RELATIVE_CASE": 13, - "VOCATIVE": 14, -} - -func (x PartOfSpeech_Case) String() string { - return proto.EnumName(PartOfSpeech_Case_name, int32(x)) -} - -func (PartOfSpeech_Case) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dd647168a36bd604, []int{5, 2} -} - -// Depending on the language, Form can be categorizing different forms of -// verbs, adjectives, adverbs, etc. For example, categorizing inflected -// endings of verbs and adjectives or distinguishing between short and long -// forms of adjectives and participles -type PartOfSpeech_Form int32 - -const ( - // Form is not applicable in the analyzed language or is not predicted. - PartOfSpeech_FORM_UNKNOWN PartOfSpeech_Form = 0 - // Adnomial - PartOfSpeech_ADNOMIAL PartOfSpeech_Form = 1 - // Auxiliary - PartOfSpeech_AUXILIARY PartOfSpeech_Form = 2 - // Complementizer - PartOfSpeech_COMPLEMENTIZER PartOfSpeech_Form = 3 - // Final ending - PartOfSpeech_FINAL_ENDING PartOfSpeech_Form = 4 - // Gerund - PartOfSpeech_GERUND PartOfSpeech_Form = 5 - // Realis - PartOfSpeech_REALIS PartOfSpeech_Form = 6 - // Irrealis - PartOfSpeech_IRREALIS PartOfSpeech_Form = 7 - // Short form - PartOfSpeech_SHORT PartOfSpeech_Form = 8 - // Long form - PartOfSpeech_LONG PartOfSpeech_Form = 9 - // Order form - PartOfSpeech_ORDER PartOfSpeech_Form = 10 - // Specific form - PartOfSpeech_SPECIFIC PartOfSpeech_Form = 11 -) - -var PartOfSpeech_Form_name = map[int32]string{ - 0: "FORM_UNKNOWN", - 1: "ADNOMIAL", - 2: "AUXILIARY", - 3: "COMPLEMENTIZER", - 4: "FINAL_ENDING", - 5: "GERUND", - 6: "REALIS", - 7: "IRREALIS", - 8: "SHORT", - 9: "LONG", - 10: "ORDER", - 11: "SPECIFIC", -} - -var PartOfSpeech_Form_value = map[string]int32{ - "FORM_UNKNOWN": 0, - "ADNOMIAL": 1, - "AUXILIARY": 2, - "COMPLEMENTIZER": 3, - "FINAL_ENDING": 4, - "GERUND": 5, - "REALIS": 6, - "IRREALIS": 7, - "SHORT": 8, - "LONG": 9, - "ORDER": 10, - "SPECIFIC": 11, -} - -func (x PartOfSpeech_Form) String() string { - return proto.EnumName(PartOfSpeech_Form_name, int32(x)) -} - -func (PartOfSpeech_Form) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dd647168a36bd604, []int{5, 3} -} - -// Gender classes of nouns reflected in the behaviour of associated words. -type PartOfSpeech_Gender int32 - -const ( - // Gender is not applicable in the analyzed language or is not predicted. - PartOfSpeech_GENDER_UNKNOWN PartOfSpeech_Gender = 0 - // Feminine - PartOfSpeech_FEMININE PartOfSpeech_Gender = 1 - // Masculine - PartOfSpeech_MASCULINE PartOfSpeech_Gender = 2 - // Neuter - PartOfSpeech_NEUTER PartOfSpeech_Gender = 3 -) - -var PartOfSpeech_Gender_name = map[int32]string{ - 0: "GENDER_UNKNOWN", - 1: "FEMININE", - 2: "MASCULINE", - 3: "NEUTER", -} - -var PartOfSpeech_Gender_value = map[string]int32{ - "GENDER_UNKNOWN": 0, - "FEMININE": 1, - "MASCULINE": 2, - "NEUTER": 3, -} - -func (x PartOfSpeech_Gender) String() string { - return proto.EnumName(PartOfSpeech_Gender_name, int32(x)) -} - -func (PartOfSpeech_Gender) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dd647168a36bd604, []int{5, 4} -} - -// The grammatical feature of verbs, used for showing modality and attitude. -type PartOfSpeech_Mood int32 - -const ( - // Mood is not applicable in the analyzed language or is not predicted. - PartOfSpeech_MOOD_UNKNOWN PartOfSpeech_Mood = 0 - // Conditional - PartOfSpeech_CONDITIONAL_MOOD PartOfSpeech_Mood = 1 - // Imperative - PartOfSpeech_IMPERATIVE PartOfSpeech_Mood = 2 - // Indicative - PartOfSpeech_INDICATIVE PartOfSpeech_Mood = 3 - // Interrogative - PartOfSpeech_INTERROGATIVE PartOfSpeech_Mood = 4 - // Jussive - PartOfSpeech_JUSSIVE PartOfSpeech_Mood = 5 - // Subjunctive - PartOfSpeech_SUBJUNCTIVE PartOfSpeech_Mood = 6 -) - -var PartOfSpeech_Mood_name = map[int32]string{ - 0: "MOOD_UNKNOWN", - 1: "CONDITIONAL_MOOD", - 2: "IMPERATIVE", - 3: "INDICATIVE", - 4: "INTERROGATIVE", - 5: "JUSSIVE", - 6: "SUBJUNCTIVE", -} - -var PartOfSpeech_Mood_value = map[string]int32{ - "MOOD_UNKNOWN": 0, - "CONDITIONAL_MOOD": 1, - "IMPERATIVE": 2, - "INDICATIVE": 3, - "INTERROGATIVE": 4, - "JUSSIVE": 5, - "SUBJUNCTIVE": 6, -} - -func (x PartOfSpeech_Mood) String() string { - return proto.EnumName(PartOfSpeech_Mood_name, int32(x)) -} - -func (PartOfSpeech_Mood) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dd647168a36bd604, []int{5, 5} -} - -// Count distinctions. -type PartOfSpeech_Number int32 - -const ( - // Number is not applicable in the analyzed language or is not predicted. - PartOfSpeech_NUMBER_UNKNOWN PartOfSpeech_Number = 0 - // Singular - PartOfSpeech_SINGULAR PartOfSpeech_Number = 1 - // Plural - PartOfSpeech_PLURAL PartOfSpeech_Number = 2 - // Dual - PartOfSpeech_DUAL PartOfSpeech_Number = 3 -) - -var PartOfSpeech_Number_name = map[int32]string{ - 0: "NUMBER_UNKNOWN", - 1: "SINGULAR", - 2: "PLURAL", - 3: "DUAL", -} - -var PartOfSpeech_Number_value = map[string]int32{ - "NUMBER_UNKNOWN": 0, - "SINGULAR": 1, - "PLURAL": 2, - "DUAL": 3, -} - -func (x PartOfSpeech_Number) String() string { - return proto.EnumName(PartOfSpeech_Number_name, int32(x)) -} - -func (PartOfSpeech_Number) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dd647168a36bd604, []int{5, 6} -} - -// The distinction between the speaker, second person, third person, etc. -type PartOfSpeech_Person int32 - -const ( - // Person is not applicable in the analyzed language or is not predicted. - PartOfSpeech_PERSON_UNKNOWN PartOfSpeech_Person = 0 - // First - PartOfSpeech_FIRST PartOfSpeech_Person = 1 - // Second - PartOfSpeech_SECOND PartOfSpeech_Person = 2 - // Third - PartOfSpeech_THIRD PartOfSpeech_Person = 3 - // Reflexive - PartOfSpeech_REFLEXIVE_PERSON PartOfSpeech_Person = 4 -) - -var PartOfSpeech_Person_name = map[int32]string{ - 0: "PERSON_UNKNOWN", - 1: "FIRST", - 2: "SECOND", - 3: "THIRD", - 4: "REFLEXIVE_PERSON", -} - -var PartOfSpeech_Person_value = map[string]int32{ - "PERSON_UNKNOWN": 0, - "FIRST": 1, - "SECOND": 2, - "THIRD": 3, - "REFLEXIVE_PERSON": 4, -} - -func (x PartOfSpeech_Person) String() string { - return proto.EnumName(PartOfSpeech_Person_name, int32(x)) -} - -func (PartOfSpeech_Person) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dd647168a36bd604, []int{5, 7} -} - -// This category shows if the token is part of a proper name. -type PartOfSpeech_Proper int32 - -const ( - // Proper is not applicable in the analyzed language or is not predicted. - PartOfSpeech_PROPER_UNKNOWN PartOfSpeech_Proper = 0 - // Proper - PartOfSpeech_PROPER PartOfSpeech_Proper = 1 - // Not proper - PartOfSpeech_NOT_PROPER PartOfSpeech_Proper = 2 -) - -var PartOfSpeech_Proper_name = map[int32]string{ - 0: "PROPER_UNKNOWN", - 1: "PROPER", - 2: "NOT_PROPER", -} - -var PartOfSpeech_Proper_value = map[string]int32{ - "PROPER_UNKNOWN": 0, - "PROPER": 1, - "NOT_PROPER": 2, -} - -func (x PartOfSpeech_Proper) String() string { - return proto.EnumName(PartOfSpeech_Proper_name, int32(x)) -} - -func (PartOfSpeech_Proper) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dd647168a36bd604, []int{5, 8} -} - -// Reciprocal features of a pronoun. -type PartOfSpeech_Reciprocity int32 - -const ( - // Reciprocity is not applicable in the analyzed language or is not - // predicted. - PartOfSpeech_RECIPROCITY_UNKNOWN PartOfSpeech_Reciprocity = 0 - // Reciprocal - PartOfSpeech_RECIPROCAL PartOfSpeech_Reciprocity = 1 - // Non-reciprocal - PartOfSpeech_NON_RECIPROCAL PartOfSpeech_Reciprocity = 2 -) - -var PartOfSpeech_Reciprocity_name = map[int32]string{ - 0: "RECIPROCITY_UNKNOWN", - 1: "RECIPROCAL", - 2: "NON_RECIPROCAL", -} - -var PartOfSpeech_Reciprocity_value = map[string]int32{ - "RECIPROCITY_UNKNOWN": 0, - "RECIPROCAL": 1, - "NON_RECIPROCAL": 2, -} - -func (x PartOfSpeech_Reciprocity) String() string { - return proto.EnumName(PartOfSpeech_Reciprocity_name, int32(x)) -} - -func (PartOfSpeech_Reciprocity) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dd647168a36bd604, []int{5, 9} -} - -// Time reference. -type PartOfSpeech_Tense int32 - -const ( - // Tense is not applicable in the analyzed language or is not predicted. - PartOfSpeech_TENSE_UNKNOWN PartOfSpeech_Tense = 0 - // Conditional - PartOfSpeech_CONDITIONAL_TENSE PartOfSpeech_Tense = 1 - // Future - PartOfSpeech_FUTURE PartOfSpeech_Tense = 2 - // Past - PartOfSpeech_PAST PartOfSpeech_Tense = 3 - // Present - PartOfSpeech_PRESENT PartOfSpeech_Tense = 4 - // Imperfect - PartOfSpeech_IMPERFECT PartOfSpeech_Tense = 5 - // Pluperfect - PartOfSpeech_PLUPERFECT PartOfSpeech_Tense = 6 -) - -var PartOfSpeech_Tense_name = map[int32]string{ - 0: "TENSE_UNKNOWN", - 1: "CONDITIONAL_TENSE", - 2: "FUTURE", - 3: "PAST", - 4: "PRESENT", - 5: "IMPERFECT", - 6: "PLUPERFECT", -} - -var PartOfSpeech_Tense_value = map[string]int32{ - "TENSE_UNKNOWN": 0, - "CONDITIONAL_TENSE": 1, - "FUTURE": 2, - "PAST": 3, - "PRESENT": 4, - "IMPERFECT": 5, - "PLUPERFECT": 6, -} - -func (x PartOfSpeech_Tense) String() string { - return proto.EnumName(PartOfSpeech_Tense_name, int32(x)) -} - -func (PartOfSpeech_Tense) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dd647168a36bd604, []int{5, 10} -} - -// The relationship between the action that a verb expresses and the -// participants identified by its arguments. -type PartOfSpeech_Voice int32 - -const ( - // Voice is not applicable in the analyzed language or is not predicted. - PartOfSpeech_VOICE_UNKNOWN PartOfSpeech_Voice = 0 - // Active - PartOfSpeech_ACTIVE PartOfSpeech_Voice = 1 - // Causative - PartOfSpeech_CAUSATIVE PartOfSpeech_Voice = 2 - // Passive - PartOfSpeech_PASSIVE PartOfSpeech_Voice = 3 -) - -var PartOfSpeech_Voice_name = map[int32]string{ - 0: "VOICE_UNKNOWN", - 1: "ACTIVE", - 2: "CAUSATIVE", - 3: "PASSIVE", -} - -var PartOfSpeech_Voice_value = map[string]int32{ - "VOICE_UNKNOWN": 0, - "ACTIVE": 1, - "CAUSATIVE": 2, - "PASSIVE": 3, -} - -func (x PartOfSpeech_Voice) String() string { - return proto.EnumName(PartOfSpeech_Voice_name, int32(x)) -} - -func (PartOfSpeech_Voice) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dd647168a36bd604, []int{5, 11} -} - -// The parse label enum for the token. -type DependencyEdge_Label int32 - -const ( - // Unknown - DependencyEdge_UNKNOWN DependencyEdge_Label = 0 - // Abbreviation modifier - DependencyEdge_ABBREV DependencyEdge_Label = 1 - // Adjectival complement - DependencyEdge_ACOMP DependencyEdge_Label = 2 - // Adverbial clause modifier - DependencyEdge_ADVCL DependencyEdge_Label = 3 - // Adverbial modifier - DependencyEdge_ADVMOD DependencyEdge_Label = 4 - // Adjectival modifier of an NP - DependencyEdge_AMOD DependencyEdge_Label = 5 - // Appositional modifier of an NP - DependencyEdge_APPOS DependencyEdge_Label = 6 - // Attribute dependent of a copular verb - DependencyEdge_ATTR DependencyEdge_Label = 7 - // Auxiliary (non-main) verb - DependencyEdge_AUX DependencyEdge_Label = 8 - // Passive auxiliary - DependencyEdge_AUXPASS DependencyEdge_Label = 9 - // Coordinating conjunction - DependencyEdge_CC DependencyEdge_Label = 10 - // Clausal complement of a verb or adjective - DependencyEdge_CCOMP DependencyEdge_Label = 11 - // Conjunct - DependencyEdge_CONJ DependencyEdge_Label = 12 - // Clausal subject - DependencyEdge_CSUBJ DependencyEdge_Label = 13 - // Clausal passive subject - DependencyEdge_CSUBJPASS DependencyEdge_Label = 14 - // Dependency (unable to determine) - DependencyEdge_DEP DependencyEdge_Label = 15 - // Determiner - DependencyEdge_DET DependencyEdge_Label = 16 - // Discourse - DependencyEdge_DISCOURSE DependencyEdge_Label = 17 - // Direct object - DependencyEdge_DOBJ DependencyEdge_Label = 18 - // Expletive - DependencyEdge_EXPL DependencyEdge_Label = 19 - // Goes with (part of a word in a text not well edited) - DependencyEdge_GOESWITH DependencyEdge_Label = 20 - // Indirect object - DependencyEdge_IOBJ DependencyEdge_Label = 21 - // Marker (word introducing a subordinate clause) - DependencyEdge_MARK DependencyEdge_Label = 22 - // Multi-word expression - DependencyEdge_MWE DependencyEdge_Label = 23 - // Multi-word verbal expression - DependencyEdge_MWV DependencyEdge_Label = 24 - // Negation modifier - DependencyEdge_NEG DependencyEdge_Label = 25 - // Noun compound modifier - DependencyEdge_NN DependencyEdge_Label = 26 - // Noun phrase used as an adverbial modifier - DependencyEdge_NPADVMOD DependencyEdge_Label = 27 - // Nominal subject - DependencyEdge_NSUBJ DependencyEdge_Label = 28 - // Passive nominal subject - DependencyEdge_NSUBJPASS DependencyEdge_Label = 29 - // Numeric modifier of a noun - DependencyEdge_NUM DependencyEdge_Label = 30 - // Element of compound number - DependencyEdge_NUMBER DependencyEdge_Label = 31 - // Punctuation mark - DependencyEdge_P DependencyEdge_Label = 32 - // Parataxis relation - DependencyEdge_PARATAXIS DependencyEdge_Label = 33 - // Participial modifier - DependencyEdge_PARTMOD DependencyEdge_Label = 34 - // The complement of a preposition is a clause - DependencyEdge_PCOMP DependencyEdge_Label = 35 - // Object of a preposition - DependencyEdge_POBJ DependencyEdge_Label = 36 - // Possession modifier - DependencyEdge_POSS DependencyEdge_Label = 37 - // Postverbal negative particle - DependencyEdge_POSTNEG DependencyEdge_Label = 38 - // Predicate complement - DependencyEdge_PRECOMP DependencyEdge_Label = 39 - // Preconjunt - DependencyEdge_PRECONJ DependencyEdge_Label = 40 - // Predeterminer - DependencyEdge_PREDET DependencyEdge_Label = 41 - // Prefix - DependencyEdge_PREF DependencyEdge_Label = 42 - // Prepositional modifier - DependencyEdge_PREP DependencyEdge_Label = 43 - // The relationship between a verb and verbal morpheme - DependencyEdge_PRONL DependencyEdge_Label = 44 - // Particle - DependencyEdge_PRT DependencyEdge_Label = 45 - // Associative or possessive marker - DependencyEdge_PS DependencyEdge_Label = 46 - // Quantifier phrase modifier - DependencyEdge_QUANTMOD DependencyEdge_Label = 47 - // Relative clause modifier - DependencyEdge_RCMOD DependencyEdge_Label = 48 - // Complementizer in relative clause - DependencyEdge_RCMODREL DependencyEdge_Label = 49 - // Ellipsis without a preceding predicate - DependencyEdge_RDROP DependencyEdge_Label = 50 - // Referent - DependencyEdge_REF DependencyEdge_Label = 51 - // Remnant - DependencyEdge_REMNANT DependencyEdge_Label = 52 - // Reparandum - DependencyEdge_REPARANDUM DependencyEdge_Label = 53 - // Root - DependencyEdge_ROOT DependencyEdge_Label = 54 - // Suffix specifying a unit of number - DependencyEdge_SNUM DependencyEdge_Label = 55 - // Suffix - DependencyEdge_SUFF DependencyEdge_Label = 56 - // Temporal modifier - DependencyEdge_TMOD DependencyEdge_Label = 57 - // Topic marker - DependencyEdge_TOPIC DependencyEdge_Label = 58 - // Clause headed by an infinite form of the verb that modifies a noun - DependencyEdge_VMOD DependencyEdge_Label = 59 - // Vocative - DependencyEdge_VOCATIVE DependencyEdge_Label = 60 - // Open clausal complement - DependencyEdge_XCOMP DependencyEdge_Label = 61 - // Name suffix - DependencyEdge_SUFFIX DependencyEdge_Label = 62 - // Name title - DependencyEdge_TITLE DependencyEdge_Label = 63 - // Adverbial phrase modifier - DependencyEdge_ADVPHMOD DependencyEdge_Label = 64 - // Causative auxiliary - DependencyEdge_AUXCAUS DependencyEdge_Label = 65 - // Helper auxiliary - DependencyEdge_AUXVV DependencyEdge_Label = 66 - // Rentaishi (Prenominal modifier) - DependencyEdge_DTMOD DependencyEdge_Label = 67 - // Foreign words - DependencyEdge_FOREIGN DependencyEdge_Label = 68 - // Keyword - DependencyEdge_KW DependencyEdge_Label = 69 - // List for chains of comparable items - DependencyEdge_LIST DependencyEdge_Label = 70 - // Nominalized clause - DependencyEdge_NOMC DependencyEdge_Label = 71 - // Nominalized clausal subject - DependencyEdge_NOMCSUBJ DependencyEdge_Label = 72 - // Nominalized clausal passive - DependencyEdge_NOMCSUBJPASS DependencyEdge_Label = 73 - // Compound of numeric modifier - DependencyEdge_NUMC DependencyEdge_Label = 74 - // Copula - DependencyEdge_COP DependencyEdge_Label = 75 - // Dislocated relation (for fronted/topicalized elements) - DependencyEdge_DISLOCATED DependencyEdge_Label = 76 - // Aspect marker - DependencyEdge_ASP DependencyEdge_Label = 77 - // Genitive modifier - DependencyEdge_GMOD DependencyEdge_Label = 78 - // Genitive object - DependencyEdge_GOBJ DependencyEdge_Label = 79 - // Infinitival modifier - DependencyEdge_INFMOD DependencyEdge_Label = 80 - // Measure - DependencyEdge_MES DependencyEdge_Label = 81 - // Nominal complement of a noun - DependencyEdge_NCOMP DependencyEdge_Label = 82 -) - -var DependencyEdge_Label_name = map[int32]string{ - 0: "UNKNOWN", - 1: "ABBREV", - 2: "ACOMP", - 3: "ADVCL", - 4: "ADVMOD", - 5: "AMOD", - 6: "APPOS", - 7: "ATTR", - 8: "AUX", - 9: "AUXPASS", - 10: "CC", - 11: "CCOMP", - 12: "CONJ", - 13: "CSUBJ", - 14: "CSUBJPASS", - 15: "DEP", - 16: "DET", - 17: "DISCOURSE", - 18: "DOBJ", - 19: "EXPL", - 20: "GOESWITH", - 21: "IOBJ", - 22: "MARK", - 23: "MWE", - 24: "MWV", - 25: "NEG", - 26: "NN", - 27: "NPADVMOD", - 28: "NSUBJ", - 29: "NSUBJPASS", - 30: "NUM", - 31: "NUMBER", - 32: "P", - 33: "PARATAXIS", - 34: "PARTMOD", - 35: "PCOMP", - 36: "POBJ", - 37: "POSS", - 38: "POSTNEG", - 39: "PRECOMP", - 40: "PRECONJ", - 41: "PREDET", - 42: "PREF", - 43: "PREP", - 44: "PRONL", - 45: "PRT", - 46: "PS", - 47: "QUANTMOD", - 48: "RCMOD", - 49: "RCMODREL", - 50: "RDROP", - 51: "REF", - 52: "REMNANT", - 53: "REPARANDUM", - 54: "ROOT", - 55: "SNUM", - 56: "SUFF", - 57: "TMOD", - 58: "TOPIC", - 59: "VMOD", - 60: "VOCATIVE", - 61: "XCOMP", - 62: "SUFFIX", - 63: "TITLE", - 64: "ADVPHMOD", - 65: "AUXCAUS", - 66: "AUXVV", - 67: "DTMOD", - 68: "FOREIGN", - 69: "KW", - 70: "LIST", - 71: "NOMC", - 72: "NOMCSUBJ", - 73: "NOMCSUBJPASS", - 74: "NUMC", - 75: "COP", - 76: "DISLOCATED", - 77: "ASP", - 78: "GMOD", - 79: "GOBJ", - 80: "INFMOD", - 81: "MES", - 82: "NCOMP", -} - -var DependencyEdge_Label_value = map[string]int32{ - "UNKNOWN": 0, - "ABBREV": 1, - "ACOMP": 2, - "ADVCL": 3, - "ADVMOD": 4, - "AMOD": 5, - "APPOS": 6, - "ATTR": 7, - "AUX": 8, - "AUXPASS": 9, - "CC": 10, - "CCOMP": 11, - "CONJ": 12, - "CSUBJ": 13, - "CSUBJPASS": 14, - "DEP": 15, - "DET": 16, - "DISCOURSE": 17, - "DOBJ": 18, - "EXPL": 19, - "GOESWITH": 20, - "IOBJ": 21, - "MARK": 22, - "MWE": 23, - "MWV": 24, - "NEG": 25, - "NN": 26, - "NPADVMOD": 27, - "NSUBJ": 28, - "NSUBJPASS": 29, - "NUM": 30, - "NUMBER": 31, - "P": 32, - "PARATAXIS": 33, - "PARTMOD": 34, - "PCOMP": 35, - "POBJ": 36, - "POSS": 37, - "POSTNEG": 38, - "PRECOMP": 39, - "PRECONJ": 40, - "PREDET": 41, - "PREF": 42, - "PREP": 43, - "PRONL": 44, - "PRT": 45, - "PS": 46, - "QUANTMOD": 47, - "RCMOD": 48, - "RCMODREL": 49, - "RDROP": 50, - "REF": 51, - "REMNANT": 52, - "REPARANDUM": 53, - "ROOT": 54, - "SNUM": 55, - "SUFF": 56, - "TMOD": 57, - "TOPIC": 58, - "VMOD": 59, - "VOCATIVE": 60, - "XCOMP": 61, - "SUFFIX": 62, - "TITLE": 63, - "ADVPHMOD": 64, - "AUXCAUS": 65, - "AUXVV": 66, - "DTMOD": 67, - "FOREIGN": 68, - "KW": 69, - "LIST": 70, - "NOMC": 71, - "NOMCSUBJ": 72, - "NOMCSUBJPASS": 73, - "NUMC": 74, - "COP": 75, - "DISLOCATED": 76, - "ASP": 77, - "GMOD": 78, - "GOBJ": 79, - "INFMOD": 80, - "MES": 81, - "NCOMP": 82, -} - -func (x DependencyEdge_Label) String() string { - return proto.EnumName(DependencyEdge_Label_name, int32(x)) -} - -func (DependencyEdge_Label) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dd647168a36bd604, []int{6, 0} -} - -// The supported types of mentions. -type EntityMention_Type int32 - -const ( - // Unknown - EntityMention_TYPE_UNKNOWN EntityMention_Type = 0 - // Proper name - EntityMention_PROPER EntityMention_Type = 1 - // Common noun (or noun compound) - EntityMention_COMMON EntityMention_Type = 2 -) - -var EntityMention_Type_name = map[int32]string{ - 0: "TYPE_UNKNOWN", - 1: "PROPER", - 2: "COMMON", -} - -var EntityMention_Type_value = map[string]int32{ - "TYPE_UNKNOWN": 0, - "PROPER": 1, - "COMMON": 2, -} - -func (x EntityMention_Type) String() string { - return proto.EnumName(EntityMention_Type_name, int32(x)) -} - -func (EntityMention_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dd647168a36bd604, []int{7, 0} -} - -// ################################################################ # -// -// Represents the input to API methods. -type Document struct { - // Required. If the type is not set or is `TYPE_UNSPECIFIED`, - // returns an `INVALID_ARGUMENT` error. - Type Document_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.language.v1.Document_Type" json:"type,omitempty"` - // The source of the document: a string containing the content or a - // Google Cloud Storage URI. - // - // Types that are valid to be assigned to Source: - // *Document_Content - // *Document_GcsContentUri - Source isDocument_Source `protobuf_oneof:"source"` - // The language of the document (if not specified, the language is - // automatically detected). Both ISO and BCP-47 language codes are - // accepted.
- // [Language Support](/natural-language/docs/languages) - // lists currently supported languages for each API method. - // If the language (either specified by the caller or automatically detected) - // is not supported by the called API method, an `INVALID_ARGUMENT` error - // is returned. - Language string `protobuf:"bytes,4,opt,name=language,proto3" json:"language,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_dd647168a36bd604, []int{0} -} - -func (m *Document) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Document.Unmarshal(m, b) -} -func (m *Document) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Document.Marshal(b, m, deterministic) -} -func (m *Document) XXX_Merge(src proto.Message) { - xxx_messageInfo_Document.Merge(m, src) -} -func (m *Document) XXX_Size() int { - return xxx_messageInfo_Document.Size(m) -} -func (m *Document) XXX_DiscardUnknown() { - xxx_messageInfo_Document.DiscardUnknown(m) -} - -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() -} - -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_GcsContentUri) isDocument_Source() {} - -func (m *Document) GetSource() isDocument_Source { - if m != nil { - return m.Source - } - return nil -} - -func (m *Document) GetContent() string { - if x, ok := m.GetSource().(*Document_Content); ok { - return x.Content - } - return "" -} - -func (m *Document) GetGcsContentUri() string { - if x, ok := m.GetSource().(*Document_GcsContentUri); ok { - return x.GcsContentUri - } - return "" -} - -func (m *Document) GetLanguage() string { - if m != nil { - return m.Language - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Document) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Document_Content)(nil), - (*Document_GcsContentUri)(nil), - } -} - -// Represents a sentence in the input document. -type Sentence struct { - // The sentence text. - Text *TextSpan `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` - // For calls to [AnalyzeSentiment][] or if - // [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment] is set to - // true, this field will contain the sentiment for the sentence. - Sentiment *Sentiment `protobuf:"bytes,2,opt,name=sentiment,proto3" json:"sentiment,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_dd647168a36bd604, []int{1} -} - -func (m *Sentence) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Sentence.Unmarshal(m, b) -} -func (m *Sentence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Sentence.Marshal(b, m, deterministic) -} -func (m *Sentence) XXX_Merge(src proto.Message) { - xxx_messageInfo_Sentence.Merge(m, src) -} -func (m *Sentence) XXX_Size() int { - return xxx_messageInfo_Sentence.Size(m) -} -func (m *Sentence) XXX_DiscardUnknown() { - xxx_messageInfo_Sentence.DiscardUnknown(m) -} - -var xxx_messageInfo_Sentence proto.InternalMessageInfo - -func (m *Sentence) GetText() *TextSpan { - if m != nil { - return m.Text - } - return nil -} - -func (m *Sentence) GetSentiment() *Sentiment { - if m != nil { - return m.Sentiment - } - return nil -} - -// Represents a phrase in the text that is a known entity, such as -// a person, an organization, or location. The API associates information, such -// as salience and mentions, with entities. -type Entity struct { - // The representative name for the entity. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The entity type. - Type Entity_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.language.v1.Entity_Type" json:"type,omitempty"` - // Metadata associated with the entity. - // - // For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`) - // and Knowledge Graph MID (`mid`), if they are available. For the metadata - // associated with other entity types, see the Type table below. - Metadata map[string]string `protobuf:"bytes,3,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // The salience score associated with the entity in the [0, 1.0] range. - // - // The salience score for an entity provides information about the - // importance or centrality of that entity to the entire document text. - // Scores closer to 0 are less salient, while scores closer to 1.0 are highly - // salient. - Salience float32 `protobuf:"fixed32,4,opt,name=salience,proto3" json:"salience,omitempty"` - // The mentions of this entity in the input document. The API currently - // supports proper noun mentions. - Mentions []*EntityMention `protobuf:"bytes,5,rep,name=mentions,proto3" json:"mentions,omitempty"` - // For calls to [AnalyzeEntitySentiment][] or if - // [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to - // true, this field will contain the aggregate sentiment expressed for this - // entity in the provided document. - Sentiment *Sentiment `protobuf:"bytes,6,opt,name=sentiment,proto3" json:"sentiment,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_dd647168a36bd604, []int{2} -} - -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 (m *Entity) XXX_Merge(src proto.Message) { - xxx_messageInfo_Entity.Merge(m, 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) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Entity) GetType() Entity_Type { - if m != nil { - return m.Type - } - return Entity_UNKNOWN -} - -func (m *Entity) GetMetadata() map[string]string { - if m != nil { - return m.Metadata - } - return nil -} - -func (m *Entity) GetSalience() float32 { - if m != nil { - return m.Salience - } - return 0 -} - -func (m *Entity) GetMentions() []*EntityMention { - if m != nil { - return m.Mentions - } - return nil -} - -func (m *Entity) GetSentiment() *Sentiment { - if m != nil { - return m.Sentiment - } - return nil -} - -// Represents the smallest syntactic building block of the text. -type Token struct { - // The token text. - Text *TextSpan `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` - // Parts of speech tag for this token. - PartOfSpeech *PartOfSpeech `protobuf:"bytes,2,opt,name=part_of_speech,json=partOfSpeech,proto3" json:"part_of_speech,omitempty"` - // Dependency tree parse for this token. - DependencyEdge *DependencyEdge `protobuf:"bytes,3,opt,name=dependency_edge,json=dependencyEdge,proto3" json:"dependency_edge,omitempty"` - // [Lemma](https://en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token. - Lemma string `protobuf:"bytes,4,opt,name=lemma,proto3" json:"lemma,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_dd647168a36bd604, []int{3} -} - -func (m *Token) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Token.Unmarshal(m, b) -} -func (m *Token) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Token.Marshal(b, m, deterministic) -} -func (m *Token) XXX_Merge(src proto.Message) { - xxx_messageInfo_Token.Merge(m, src) -} -func (m *Token) XXX_Size() int { - return xxx_messageInfo_Token.Size(m) -} -func (m *Token) XXX_DiscardUnknown() { - xxx_messageInfo_Token.DiscardUnknown(m) -} - -var xxx_messageInfo_Token proto.InternalMessageInfo - -func (m *Token) GetText() *TextSpan { - if m != nil { - return m.Text - } - return nil -} - -func (m *Token) GetPartOfSpeech() *PartOfSpeech { - if m != nil { - return m.PartOfSpeech - } - return nil -} - -func (m *Token) GetDependencyEdge() *DependencyEdge { - if m != nil { - return m.DependencyEdge - } - return nil -} - -func (m *Token) GetLemma() string { - if m != nil { - return m.Lemma - } - return "" -} - -// Represents the feeling associated with the entire text or entities in -// the text. -type Sentiment struct { - // A non-negative number in the [0, +inf) range, which represents - // the absolute magnitude of sentiment regardless of score (positive or - // negative). - Magnitude float32 `protobuf:"fixed32,2,opt,name=magnitude,proto3" json:"magnitude,omitempty"` - // Sentiment score between -1.0 (negative sentiment) and 1.0 - // (positive sentiment). - Score float32 `protobuf:"fixed32,3,opt,name=score,proto3" json:"score,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_dd647168a36bd604, []int{4} -} - -func (m *Sentiment) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Sentiment.Unmarshal(m, b) -} -func (m *Sentiment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Sentiment.Marshal(b, m, deterministic) -} -func (m *Sentiment) XXX_Merge(src proto.Message) { - xxx_messageInfo_Sentiment.Merge(m, src) -} -func (m *Sentiment) XXX_Size() int { - return xxx_messageInfo_Sentiment.Size(m) -} -func (m *Sentiment) XXX_DiscardUnknown() { - xxx_messageInfo_Sentiment.DiscardUnknown(m) -} - -var xxx_messageInfo_Sentiment proto.InternalMessageInfo - -func (m *Sentiment) GetMagnitude() float32 { - if m != nil { - return m.Magnitude - } - return 0 -} - -func (m *Sentiment) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -// Represents part of speech information for a token. Parts of speech -// are as defined in -// http://www.lrec-conf.org/proceedings/lrec2012/pdf/274_Paper.pdf -type PartOfSpeech struct { - // The part of speech tag. - Tag PartOfSpeech_Tag `protobuf:"varint,1,opt,name=tag,proto3,enum=google.cloud.language.v1.PartOfSpeech_Tag" json:"tag,omitempty"` - // The grammatical aspect. - Aspect PartOfSpeech_Aspect `protobuf:"varint,2,opt,name=aspect,proto3,enum=google.cloud.language.v1.PartOfSpeech_Aspect" json:"aspect,omitempty"` - // The grammatical case. - Case PartOfSpeech_Case `protobuf:"varint,3,opt,name=case,proto3,enum=google.cloud.language.v1.PartOfSpeech_Case" json:"case,omitempty"` - // The grammatical form. - Form PartOfSpeech_Form `protobuf:"varint,4,opt,name=form,proto3,enum=google.cloud.language.v1.PartOfSpeech_Form" json:"form,omitempty"` - // The grammatical gender. - Gender PartOfSpeech_Gender `protobuf:"varint,5,opt,name=gender,proto3,enum=google.cloud.language.v1.PartOfSpeech_Gender" json:"gender,omitempty"` - // The grammatical mood. - Mood PartOfSpeech_Mood `protobuf:"varint,6,opt,name=mood,proto3,enum=google.cloud.language.v1.PartOfSpeech_Mood" json:"mood,omitempty"` - // The grammatical number. - Number PartOfSpeech_Number `protobuf:"varint,7,opt,name=number,proto3,enum=google.cloud.language.v1.PartOfSpeech_Number" json:"number,omitempty"` - // The grammatical person. - Person PartOfSpeech_Person `protobuf:"varint,8,opt,name=person,proto3,enum=google.cloud.language.v1.PartOfSpeech_Person" json:"person,omitempty"` - // The grammatical properness. - Proper PartOfSpeech_Proper `protobuf:"varint,9,opt,name=proper,proto3,enum=google.cloud.language.v1.PartOfSpeech_Proper" json:"proper,omitempty"` - // The grammatical reciprocity. - Reciprocity PartOfSpeech_Reciprocity `protobuf:"varint,10,opt,name=reciprocity,proto3,enum=google.cloud.language.v1.PartOfSpeech_Reciprocity" json:"reciprocity,omitempty"` - // The grammatical tense. - Tense PartOfSpeech_Tense `protobuf:"varint,11,opt,name=tense,proto3,enum=google.cloud.language.v1.PartOfSpeech_Tense" json:"tense,omitempty"` - // The grammatical voice. - Voice PartOfSpeech_Voice `protobuf:"varint,12,opt,name=voice,proto3,enum=google.cloud.language.v1.PartOfSpeech_Voice" json:"voice,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_dd647168a36bd604, []int{5} -} - -func (m *PartOfSpeech) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PartOfSpeech.Unmarshal(m, b) -} -func (m *PartOfSpeech) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PartOfSpeech.Marshal(b, m, deterministic) -} -func (m *PartOfSpeech) XXX_Merge(src proto.Message) { - xxx_messageInfo_PartOfSpeech.Merge(m, src) -} -func (m *PartOfSpeech) XXX_Size() int { - return xxx_messageInfo_PartOfSpeech.Size(m) -} -func (m *PartOfSpeech) XXX_DiscardUnknown() { - xxx_messageInfo_PartOfSpeech.DiscardUnknown(m) -} - -var xxx_messageInfo_PartOfSpeech proto.InternalMessageInfo - -func (m *PartOfSpeech) GetTag() PartOfSpeech_Tag { - if m != nil { - return m.Tag - } - return PartOfSpeech_UNKNOWN -} - -func (m *PartOfSpeech) GetAspect() PartOfSpeech_Aspect { - if m != nil { - return m.Aspect - } - return PartOfSpeech_ASPECT_UNKNOWN -} - -func (m *PartOfSpeech) GetCase() PartOfSpeech_Case { - if m != nil { - return m.Case - } - return PartOfSpeech_CASE_UNKNOWN -} - -func (m *PartOfSpeech) GetForm() PartOfSpeech_Form { - if m != nil { - return m.Form - } - return PartOfSpeech_FORM_UNKNOWN -} - -func (m *PartOfSpeech) GetGender() PartOfSpeech_Gender { - if m != nil { - return m.Gender - } - return PartOfSpeech_GENDER_UNKNOWN -} - -func (m *PartOfSpeech) GetMood() PartOfSpeech_Mood { - if m != nil { - return m.Mood - } - return PartOfSpeech_MOOD_UNKNOWN -} - -func (m *PartOfSpeech) GetNumber() PartOfSpeech_Number { - if m != nil { - return m.Number - } - return PartOfSpeech_NUMBER_UNKNOWN -} - -func (m *PartOfSpeech) GetPerson() PartOfSpeech_Person { - if m != nil { - return m.Person - } - return PartOfSpeech_PERSON_UNKNOWN -} - -func (m *PartOfSpeech) GetProper() PartOfSpeech_Proper { - if m != nil { - return m.Proper - } - return PartOfSpeech_PROPER_UNKNOWN -} - -func (m *PartOfSpeech) GetReciprocity() PartOfSpeech_Reciprocity { - if m != nil { - return m.Reciprocity - } - return PartOfSpeech_RECIPROCITY_UNKNOWN -} - -func (m *PartOfSpeech) GetTense() PartOfSpeech_Tense { - if m != nil { - return m.Tense - } - return PartOfSpeech_TENSE_UNKNOWN -} - -func (m *PartOfSpeech) GetVoice() PartOfSpeech_Voice { - if m != nil { - return m.Voice - } - return PartOfSpeech_VOICE_UNKNOWN -} - -// Represents dependency parse tree information for a token. (For more -// information on dependency labels, see -// http://www.aclweb.org/anthology/P13-2017 -type DependencyEdge struct { - // Represents the head of this token in the dependency tree. - // This is the index of the token which has an arc going to this token. - // The index is the position of the token in the array of tokens returned - // by the API method. If this token is a root token, then the - // `head_token_index` is its own index. - HeadTokenIndex int32 `protobuf:"varint,1,opt,name=head_token_index,json=headTokenIndex,proto3" json:"head_token_index,omitempty"` - // The parse label for the token. - Label DependencyEdge_Label `protobuf:"varint,2,opt,name=label,proto3,enum=google.cloud.language.v1.DependencyEdge_Label" json:"label,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_dd647168a36bd604, []int{6} -} - -func (m *DependencyEdge) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DependencyEdge.Unmarshal(m, b) -} -func (m *DependencyEdge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DependencyEdge.Marshal(b, m, deterministic) -} -func (m *DependencyEdge) XXX_Merge(src proto.Message) { - xxx_messageInfo_DependencyEdge.Merge(m, src) -} -func (m *DependencyEdge) XXX_Size() int { - return xxx_messageInfo_DependencyEdge.Size(m) -} -func (m *DependencyEdge) XXX_DiscardUnknown() { - xxx_messageInfo_DependencyEdge.DiscardUnknown(m) -} - -var xxx_messageInfo_DependencyEdge proto.InternalMessageInfo - -func (m *DependencyEdge) GetHeadTokenIndex() int32 { - if m != nil { - return m.HeadTokenIndex - } - return 0 -} - -func (m *DependencyEdge) GetLabel() DependencyEdge_Label { - if m != nil { - return m.Label - } - return DependencyEdge_UNKNOWN -} - -// Represents a mention for an entity in the text. Currently, proper noun -// mentions are supported. -type EntityMention struct { - // The mention text. - Text *TextSpan `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` - // The type of the entity mention. - Type EntityMention_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.language.v1.EntityMention_Type" json:"type,omitempty"` - // For calls to [AnalyzeEntitySentiment][] or if - // [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to - // true, this field will contain the sentiment expressed for this mention of - // the entity in the provided document. - Sentiment *Sentiment `protobuf:"bytes,3,opt,name=sentiment,proto3" json:"sentiment,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_dd647168a36bd604, []int{7} -} - -func (m *EntityMention) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EntityMention.Unmarshal(m, b) -} -func (m *EntityMention) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EntityMention.Marshal(b, m, deterministic) -} -func (m *EntityMention) XXX_Merge(src proto.Message) { - xxx_messageInfo_EntityMention.Merge(m, src) -} -func (m *EntityMention) XXX_Size() int { - return xxx_messageInfo_EntityMention.Size(m) -} -func (m *EntityMention) XXX_DiscardUnknown() { - xxx_messageInfo_EntityMention.DiscardUnknown(m) -} - -var xxx_messageInfo_EntityMention proto.InternalMessageInfo - -func (m *EntityMention) GetText() *TextSpan { - if m != nil { - return m.Text - } - return nil -} - -func (m *EntityMention) GetType() EntityMention_Type { - if m != nil { - return m.Type - } - return EntityMention_TYPE_UNKNOWN -} - -func (m *EntityMention) GetSentiment() *Sentiment { - if m != nil { - return m.Sentiment - } - return nil -} - -// Represents an output piece of text. -type TextSpan struct { - // The content of the output text. - Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` - // The API calculates the beginning offset of the content in the original - // document according to the [EncodingType][google.cloud.language.v1.EncodingType] specified in the API request. - BeginOffset int32 `protobuf:"varint,2,opt,name=begin_offset,json=beginOffset,proto3" json:"begin_offset,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_dd647168a36bd604, []int{8} -} - -func (m *TextSpan) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextSpan.Unmarshal(m, b) -} -func (m *TextSpan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextSpan.Marshal(b, m, deterministic) -} -func (m *TextSpan) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextSpan.Merge(m, src) -} -func (m *TextSpan) XXX_Size() int { - return xxx_messageInfo_TextSpan.Size(m) -} -func (m *TextSpan) XXX_DiscardUnknown() { - xxx_messageInfo_TextSpan.DiscardUnknown(m) -} - -var xxx_messageInfo_TextSpan proto.InternalMessageInfo - -func (m *TextSpan) GetContent() string { - if m != nil { - return m.Content - } - return "" -} - -func (m *TextSpan) GetBeginOffset() int32 { - if m != nil { - return m.BeginOffset - } - return 0 -} - -// Represents a category returned from the text classifier. -type ClassificationCategory struct { - // The name of the category representing the document, from the [predefined - // taxonomy](/natural-language/docs/categories). - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The classifier's confidence of the category. Number represents how certain - // the classifier is that this category represents the given text. - 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 *ClassificationCategory) Reset() { *m = ClassificationCategory{} } -func (m *ClassificationCategory) String() string { return proto.CompactTextString(m) } -func (*ClassificationCategory) ProtoMessage() {} -func (*ClassificationCategory) Descriptor() ([]byte, []int) { - return fileDescriptor_dd647168a36bd604, []int{9} -} - -func (m *ClassificationCategory) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClassificationCategory.Unmarshal(m, b) -} -func (m *ClassificationCategory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClassificationCategory.Marshal(b, m, deterministic) -} -func (m *ClassificationCategory) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClassificationCategory.Merge(m, src) -} -func (m *ClassificationCategory) XXX_Size() int { - return xxx_messageInfo_ClassificationCategory.Size(m) -} -func (m *ClassificationCategory) XXX_DiscardUnknown() { - xxx_messageInfo_ClassificationCategory.DiscardUnknown(m) -} - -var xxx_messageInfo_ClassificationCategory proto.InternalMessageInfo - -func (m *ClassificationCategory) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ClassificationCategory) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -// The sentiment analysis request message. -type AnalyzeSentimentRequest struct { - // Input document. - Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` - // The encoding type used by the API to calculate sentence offsets. - EncodingType EncodingType `protobuf:"varint,2,opt,name=encoding_type,json=encodingType,proto3,enum=google.cloud.language.v1.EncodingType" json:"encoding_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_dd647168a36bd604, []int{10} -} - -func (m *AnalyzeSentimentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeSentimentRequest.Unmarshal(m, b) -} -func (m *AnalyzeSentimentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeSentimentRequest.Marshal(b, m, deterministic) -} -func (m *AnalyzeSentimentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeSentimentRequest.Merge(m, src) -} -func (m *AnalyzeSentimentRequest) XXX_Size() int { - return xxx_messageInfo_AnalyzeSentimentRequest.Size(m) -} -func (m *AnalyzeSentimentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeSentimentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AnalyzeSentimentRequest proto.InternalMessageInfo - -func (m *AnalyzeSentimentRequest) GetDocument() *Document { - if m != nil { - return m.Document - } - return nil -} - -func (m *AnalyzeSentimentRequest) GetEncodingType() EncodingType { - if m != nil { - return m.EncodingType - } - return EncodingType_NONE -} - -// The sentiment analysis response message. -type AnalyzeSentimentResponse struct { - // The overall sentiment of the input document. - DocumentSentiment *Sentiment `protobuf:"bytes,1,opt,name=document_sentiment,json=documentSentiment,proto3" json:"document_sentiment,omitempty"` - // The language of the text, which will be the same as the language specified - // in the request or, if not specified, the automatically-detected language. - // See [Document.language][google.cloud.language.v1.Document.language] field for more details. - Language string `protobuf:"bytes,2,opt,name=language,proto3" json:"language,omitempty"` - // The sentiment for all the sentences in the document. - Sentences []*Sentence `protobuf:"bytes,3,rep,name=sentences,proto3" json:"sentences,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AnalyzeSentimentResponse) Reset() { *m = AnalyzeSentimentResponse{} } -func (m *AnalyzeSentimentResponse) String() string { return proto.CompactTextString(m) } -func (*AnalyzeSentimentResponse) ProtoMessage() {} -func (*AnalyzeSentimentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dd647168a36bd604, []int{11} -} - -func (m *AnalyzeSentimentResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeSentimentResponse.Unmarshal(m, b) -} -func (m *AnalyzeSentimentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeSentimentResponse.Marshal(b, m, deterministic) -} -func (m *AnalyzeSentimentResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeSentimentResponse.Merge(m, src) -} -func (m *AnalyzeSentimentResponse) XXX_Size() int { - return xxx_messageInfo_AnalyzeSentimentResponse.Size(m) -} -func (m *AnalyzeSentimentResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeSentimentResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AnalyzeSentimentResponse proto.InternalMessageInfo - -func (m *AnalyzeSentimentResponse) GetDocumentSentiment() *Sentiment { - if m != nil { - return m.DocumentSentiment - } - return nil -} - -func (m *AnalyzeSentimentResponse) GetLanguage() string { - if m != nil { - return m.Language - } - return "" -} - -func (m *AnalyzeSentimentResponse) GetSentences() []*Sentence { - if m != nil { - return m.Sentences - } - return nil -} - -// The entity-level sentiment analysis request message. -type AnalyzeEntitySentimentRequest struct { - // Input document. - Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` - // The encoding type used by the API to calculate offsets. - EncodingType EncodingType `protobuf:"varint,2,opt,name=encoding_type,json=encodingType,proto3,enum=google.cloud.language.v1.EncodingType" json:"encoding_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AnalyzeEntitySentimentRequest) Reset() { *m = AnalyzeEntitySentimentRequest{} } -func (m *AnalyzeEntitySentimentRequest) String() string { return proto.CompactTextString(m) } -func (*AnalyzeEntitySentimentRequest) ProtoMessage() {} -func (*AnalyzeEntitySentimentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dd647168a36bd604, []int{12} -} - -func (m *AnalyzeEntitySentimentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeEntitySentimentRequest.Unmarshal(m, b) -} -func (m *AnalyzeEntitySentimentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeEntitySentimentRequest.Marshal(b, m, deterministic) -} -func (m *AnalyzeEntitySentimentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeEntitySentimentRequest.Merge(m, src) -} -func (m *AnalyzeEntitySentimentRequest) XXX_Size() int { - return xxx_messageInfo_AnalyzeEntitySentimentRequest.Size(m) -} -func (m *AnalyzeEntitySentimentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeEntitySentimentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AnalyzeEntitySentimentRequest proto.InternalMessageInfo - -func (m *AnalyzeEntitySentimentRequest) GetDocument() *Document { - if m != nil { - return m.Document - } - return nil -} - -func (m *AnalyzeEntitySentimentRequest) GetEncodingType() EncodingType { - if m != nil { - return m.EncodingType - } - return EncodingType_NONE -} - -// The entity-level sentiment analysis response message. -type AnalyzeEntitySentimentResponse struct { - // The recognized entities in the input document with associated sentiments. - Entities []*Entity `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"` - // The language of the text, which will be the same as the language specified - // in the request or, if not specified, the automatically-detected language. - // See [Document.language][google.cloud.language.v1.Document.language] field for more details. - Language string `protobuf:"bytes,2,opt,name=language,proto3" json:"language,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AnalyzeEntitySentimentResponse) Reset() { *m = AnalyzeEntitySentimentResponse{} } -func (m *AnalyzeEntitySentimentResponse) String() string { return proto.CompactTextString(m) } -func (*AnalyzeEntitySentimentResponse) ProtoMessage() {} -func (*AnalyzeEntitySentimentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dd647168a36bd604, []int{13} -} - -func (m *AnalyzeEntitySentimentResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeEntitySentimentResponse.Unmarshal(m, b) -} -func (m *AnalyzeEntitySentimentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeEntitySentimentResponse.Marshal(b, m, deterministic) -} -func (m *AnalyzeEntitySentimentResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeEntitySentimentResponse.Merge(m, src) -} -func (m *AnalyzeEntitySentimentResponse) XXX_Size() int { - return xxx_messageInfo_AnalyzeEntitySentimentResponse.Size(m) -} -func (m *AnalyzeEntitySentimentResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeEntitySentimentResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AnalyzeEntitySentimentResponse proto.InternalMessageInfo - -func (m *AnalyzeEntitySentimentResponse) GetEntities() []*Entity { - if m != nil { - return m.Entities - } - return nil -} - -func (m *AnalyzeEntitySentimentResponse) GetLanguage() string { - if m != nil { - return m.Language - } - return "" -} - -// The entity analysis request message. -type AnalyzeEntitiesRequest struct { - // Input document. - Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` - // The encoding type used by the API to calculate offsets. - EncodingType EncodingType `protobuf:"varint,2,opt,name=encoding_type,json=encodingType,proto3,enum=google.cloud.language.v1.EncodingType" json:"encoding_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_dd647168a36bd604, []int{14} -} - -func (m *AnalyzeEntitiesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeEntitiesRequest.Unmarshal(m, b) -} -func (m *AnalyzeEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeEntitiesRequest.Marshal(b, m, deterministic) -} -func (m *AnalyzeEntitiesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeEntitiesRequest.Merge(m, src) -} -func (m *AnalyzeEntitiesRequest) XXX_Size() int { - return xxx_messageInfo_AnalyzeEntitiesRequest.Size(m) -} -func (m *AnalyzeEntitiesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeEntitiesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AnalyzeEntitiesRequest proto.InternalMessageInfo - -func (m *AnalyzeEntitiesRequest) GetDocument() *Document { - if m != nil { - return m.Document - } - return nil -} - -func (m *AnalyzeEntitiesRequest) GetEncodingType() EncodingType { - if m != nil { - return m.EncodingType - } - return EncodingType_NONE -} - -// The entity analysis response message. -type AnalyzeEntitiesResponse struct { - // The recognized entities in the input document. - Entities []*Entity `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"` - // The language of the text, which will be the same as the language specified - // in the request or, if not specified, the automatically-detected language. - // See [Document.language][google.cloud.language.v1.Document.language] field for more details. - Language string `protobuf:"bytes,2,opt,name=language,proto3" json:"language,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_dd647168a36bd604, []int{15} -} - -func (m *AnalyzeEntitiesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeEntitiesResponse.Unmarshal(m, b) -} -func (m *AnalyzeEntitiesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeEntitiesResponse.Marshal(b, m, deterministic) -} -func (m *AnalyzeEntitiesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeEntitiesResponse.Merge(m, src) -} -func (m *AnalyzeEntitiesResponse) XXX_Size() int { - return xxx_messageInfo_AnalyzeEntitiesResponse.Size(m) -} -func (m *AnalyzeEntitiesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeEntitiesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AnalyzeEntitiesResponse proto.InternalMessageInfo - -func (m *AnalyzeEntitiesResponse) GetEntities() []*Entity { - if m != nil { - return m.Entities - } - return nil -} - -func (m *AnalyzeEntitiesResponse) GetLanguage() string { - if m != nil { - return m.Language - } - return "" -} - -// The syntax analysis request message. -type AnalyzeSyntaxRequest struct { - // Input document. - Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` - // The encoding type used by the API to calculate offsets. - EncodingType EncodingType `protobuf:"varint,2,opt,name=encoding_type,json=encodingType,proto3,enum=google.cloud.language.v1.EncodingType" json:"encoding_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_dd647168a36bd604, []int{16} -} - -func (m *AnalyzeSyntaxRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeSyntaxRequest.Unmarshal(m, b) -} -func (m *AnalyzeSyntaxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeSyntaxRequest.Marshal(b, m, deterministic) -} -func (m *AnalyzeSyntaxRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeSyntaxRequest.Merge(m, src) -} -func (m *AnalyzeSyntaxRequest) XXX_Size() int { - return xxx_messageInfo_AnalyzeSyntaxRequest.Size(m) -} -func (m *AnalyzeSyntaxRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeSyntaxRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AnalyzeSyntaxRequest proto.InternalMessageInfo - -func (m *AnalyzeSyntaxRequest) GetDocument() *Document { - if m != nil { - return m.Document - } - return nil -} - -func (m *AnalyzeSyntaxRequest) GetEncodingType() EncodingType { - if m != nil { - return m.EncodingType - } - return EncodingType_NONE -} - -// The syntax analysis response message. -type AnalyzeSyntaxResponse struct { - // Sentences in the input document. - Sentences []*Sentence `protobuf:"bytes,1,rep,name=sentences,proto3" json:"sentences,omitempty"` - // Tokens, along with their syntactic information, in the input document. - Tokens []*Token `protobuf:"bytes,2,rep,name=tokens,proto3" json:"tokens,omitempty"` - // The language of the text, which will be the same as the language specified - // in the request or, if not specified, the automatically-detected language. - // See [Document.language][google.cloud.language.v1.Document.language] field for more details. - Language string `protobuf:"bytes,3,opt,name=language,proto3" json:"language,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_dd647168a36bd604, []int{17} -} - -func (m *AnalyzeSyntaxResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeSyntaxResponse.Unmarshal(m, b) -} -func (m *AnalyzeSyntaxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeSyntaxResponse.Marshal(b, m, deterministic) -} -func (m *AnalyzeSyntaxResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeSyntaxResponse.Merge(m, src) -} -func (m *AnalyzeSyntaxResponse) XXX_Size() int { - return xxx_messageInfo_AnalyzeSyntaxResponse.Size(m) -} -func (m *AnalyzeSyntaxResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeSyntaxResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AnalyzeSyntaxResponse proto.InternalMessageInfo - -func (m *AnalyzeSyntaxResponse) GetSentences() []*Sentence { - if m != nil { - return m.Sentences - } - return nil -} - -func (m *AnalyzeSyntaxResponse) GetTokens() []*Token { - if m != nil { - return m.Tokens - } - return nil -} - -func (m *AnalyzeSyntaxResponse) GetLanguage() string { - if m != nil { - return m.Language - } - return "" -} - -// The document classification request message. -type ClassifyTextRequest struct { - // Input document. - Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_dd647168a36bd604, []int{18} -} - -func (m *ClassifyTextRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClassifyTextRequest.Unmarshal(m, b) -} -func (m *ClassifyTextRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClassifyTextRequest.Marshal(b, m, deterministic) -} -func (m *ClassifyTextRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClassifyTextRequest.Merge(m, src) -} -func (m *ClassifyTextRequest) XXX_Size() int { - return xxx_messageInfo_ClassifyTextRequest.Size(m) -} -func (m *ClassifyTextRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ClassifyTextRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ClassifyTextRequest proto.InternalMessageInfo - -func (m *ClassifyTextRequest) GetDocument() *Document { - if m != nil { - return m.Document - } - return nil -} - -// The document classification response message. -type ClassifyTextResponse struct { - // Categories representing the input document. - Categories []*ClassificationCategory `protobuf:"bytes,1,rep,name=categories,proto3" json:"categories,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_dd647168a36bd604, []int{19} -} - -func (m *ClassifyTextResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClassifyTextResponse.Unmarshal(m, b) -} -func (m *ClassifyTextResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClassifyTextResponse.Marshal(b, m, deterministic) -} -func (m *ClassifyTextResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClassifyTextResponse.Merge(m, src) -} -func (m *ClassifyTextResponse) XXX_Size() int { - return xxx_messageInfo_ClassifyTextResponse.Size(m) -} -func (m *ClassifyTextResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ClassifyTextResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ClassifyTextResponse proto.InternalMessageInfo - -func (m *ClassifyTextResponse) GetCategories() []*ClassificationCategory { - if m != nil { - return m.Categories - } - return nil -} - -// The request message for the text annotation API, which can perform multiple -// analysis types (sentiment, entities, and syntax) in one call. -type AnnotateTextRequest struct { - // Input document. - Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` - // The enabled features. - Features *AnnotateTextRequest_Features `protobuf:"bytes,2,opt,name=features,proto3" json:"features,omitempty"` - // The encoding type used by the API to calculate offsets. - EncodingType EncodingType `protobuf:"varint,3,opt,name=encoding_type,json=encodingType,proto3,enum=google.cloud.language.v1.EncodingType" json:"encoding_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_dd647168a36bd604, []int{20} -} - -func (m *AnnotateTextRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotateTextRequest.Unmarshal(m, b) -} -func (m *AnnotateTextRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotateTextRequest.Marshal(b, m, deterministic) -} -func (m *AnnotateTextRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateTextRequest.Merge(m, src) -} -func (m *AnnotateTextRequest) XXX_Size() int { - return xxx_messageInfo_AnnotateTextRequest.Size(m) -} -func (m *AnnotateTextRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotateTextRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotateTextRequest proto.InternalMessageInfo - -func (m *AnnotateTextRequest) GetDocument() *Document { - if m != nil { - return m.Document - } - return nil -} - -func (m *AnnotateTextRequest) GetFeatures() *AnnotateTextRequest_Features { - if m != nil { - return m.Features - } - return nil -} - -func (m *AnnotateTextRequest) GetEncodingType() EncodingType { - if m != nil { - return m.EncodingType - } - return EncodingType_NONE -} - -// All available features for sentiment, syntax, and semantic analysis. -// Setting each one to true will enable that specific analysis for the input. -type AnnotateTextRequest_Features struct { - // Extract syntax information. - ExtractSyntax bool `protobuf:"varint,1,opt,name=extract_syntax,json=extractSyntax,proto3" json:"extract_syntax,omitempty"` - // Extract entities. - ExtractEntities bool `protobuf:"varint,2,opt,name=extract_entities,json=extractEntities,proto3" json:"extract_entities,omitempty"` - // Extract document-level sentiment. - ExtractDocumentSentiment bool `protobuf:"varint,3,opt,name=extract_document_sentiment,json=extractDocumentSentiment,proto3" json:"extract_document_sentiment,omitempty"` - // Extract entities and their associated sentiment. - ExtractEntitySentiment bool `protobuf:"varint,4,opt,name=extract_entity_sentiment,json=extractEntitySentiment,proto3" json:"extract_entity_sentiment,omitempty"` - // Classify the full document into categories. - ClassifyText bool `protobuf:"varint,6,opt,name=classify_text,json=classifyText,proto3" json:"classify_text,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AnnotateTextRequest_Features) Reset() { *m = AnnotateTextRequest_Features{} } -func (m *AnnotateTextRequest_Features) String() string { return proto.CompactTextString(m) } -func (*AnnotateTextRequest_Features) ProtoMessage() {} -func (*AnnotateTextRequest_Features) Descriptor() ([]byte, []int) { - return fileDescriptor_dd647168a36bd604, []int{20, 0} -} - -func (m *AnnotateTextRequest_Features) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotateTextRequest_Features.Unmarshal(m, b) -} -func (m *AnnotateTextRequest_Features) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotateTextRequest_Features.Marshal(b, m, deterministic) -} -func (m *AnnotateTextRequest_Features) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateTextRequest_Features.Merge(m, src) -} -func (m *AnnotateTextRequest_Features) XXX_Size() int { - return xxx_messageInfo_AnnotateTextRequest_Features.Size(m) -} -func (m *AnnotateTextRequest_Features) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotateTextRequest_Features.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotateTextRequest_Features proto.InternalMessageInfo - -func (m *AnnotateTextRequest_Features) GetExtractSyntax() bool { - if m != nil { - return m.ExtractSyntax - } - return false -} - -func (m *AnnotateTextRequest_Features) GetExtractEntities() bool { - if m != nil { - return m.ExtractEntities - } - return false -} - -func (m *AnnotateTextRequest_Features) GetExtractDocumentSentiment() bool { - if m != nil { - return m.ExtractDocumentSentiment - } - return false -} - -func (m *AnnotateTextRequest_Features) GetExtractEntitySentiment() bool { - if m != nil { - return m.ExtractEntitySentiment - } - return false -} - -func (m *AnnotateTextRequest_Features) GetClassifyText() bool { - if m != nil { - return m.ClassifyText - } - return false -} - -// The text annotations response message. -type AnnotateTextResponse struct { - // Sentences in the input document. Populated if the user enables - // [AnnotateTextRequest.Features.extract_syntax][google.cloud.language.v1.AnnotateTextRequest.Features.extract_syntax]. - Sentences []*Sentence `protobuf:"bytes,1,rep,name=sentences,proto3" json:"sentences,omitempty"` - // Tokens, along with their syntactic information, in the input document. - // Populated if the user enables - // [AnnotateTextRequest.Features.extract_syntax][google.cloud.language.v1.AnnotateTextRequest.Features.extract_syntax]. - Tokens []*Token `protobuf:"bytes,2,rep,name=tokens,proto3" json:"tokens,omitempty"` - // Entities, along with their semantic information, in the input document. - // Populated if the user enables - // [AnnotateTextRequest.Features.extract_entities][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entities]. - Entities []*Entity `protobuf:"bytes,3,rep,name=entities,proto3" json:"entities,omitempty"` - // The overall sentiment for the document. Populated if the user enables - // [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment]. - DocumentSentiment *Sentiment `protobuf:"bytes,4,opt,name=document_sentiment,json=documentSentiment,proto3" json:"document_sentiment,omitempty"` - // The language of the text, which will be the same as the language specified - // in the request or, if not specified, the automatically-detected language. - // See [Document.language][google.cloud.language.v1.Document.language] field for more details. - Language string `protobuf:"bytes,5,opt,name=language,proto3" json:"language,omitempty"` - // Categories identified in the input document. - Categories []*ClassificationCategory `protobuf:"bytes,6,rep,name=categories,proto3" json:"categories,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_dd647168a36bd604, []int{21} -} - -func (m *AnnotateTextResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotateTextResponse.Unmarshal(m, b) -} -func (m *AnnotateTextResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotateTextResponse.Marshal(b, m, deterministic) -} -func (m *AnnotateTextResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateTextResponse.Merge(m, src) -} -func (m *AnnotateTextResponse) XXX_Size() int { - return xxx_messageInfo_AnnotateTextResponse.Size(m) -} -func (m *AnnotateTextResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotateTextResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotateTextResponse proto.InternalMessageInfo - -func (m *AnnotateTextResponse) GetSentences() []*Sentence { - if m != nil { - return m.Sentences - } - return nil -} - -func (m *AnnotateTextResponse) GetTokens() []*Token { - if m != nil { - return m.Tokens - } - return nil -} - -func (m *AnnotateTextResponse) GetEntities() []*Entity { - if m != nil { - return m.Entities - } - return nil -} - -func (m *AnnotateTextResponse) GetDocumentSentiment() *Sentiment { - if m != nil { - return m.DocumentSentiment - } - return nil -} - -func (m *AnnotateTextResponse) GetLanguage() string { - if m != nil { - return m.Language - } - return "" -} - -func (m *AnnotateTextResponse) GetCategories() []*ClassificationCategory { - if m != nil { - return m.Categories - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.language.v1.EncodingType", EncodingType_name, EncodingType_value) - proto.RegisterEnum("google.cloud.language.v1.Document_Type", Document_Type_name, Document_Type_value) - proto.RegisterEnum("google.cloud.language.v1.Entity_Type", Entity_Type_name, Entity_Type_value) - proto.RegisterEnum("google.cloud.language.v1.PartOfSpeech_Tag", PartOfSpeech_Tag_name, PartOfSpeech_Tag_value) - proto.RegisterEnum("google.cloud.language.v1.PartOfSpeech_Aspect", PartOfSpeech_Aspect_name, PartOfSpeech_Aspect_value) - proto.RegisterEnum("google.cloud.language.v1.PartOfSpeech_Case", PartOfSpeech_Case_name, PartOfSpeech_Case_value) - proto.RegisterEnum("google.cloud.language.v1.PartOfSpeech_Form", PartOfSpeech_Form_name, PartOfSpeech_Form_value) - proto.RegisterEnum("google.cloud.language.v1.PartOfSpeech_Gender", PartOfSpeech_Gender_name, PartOfSpeech_Gender_value) - proto.RegisterEnum("google.cloud.language.v1.PartOfSpeech_Mood", PartOfSpeech_Mood_name, PartOfSpeech_Mood_value) - proto.RegisterEnum("google.cloud.language.v1.PartOfSpeech_Number", PartOfSpeech_Number_name, PartOfSpeech_Number_value) - proto.RegisterEnum("google.cloud.language.v1.PartOfSpeech_Person", PartOfSpeech_Person_name, PartOfSpeech_Person_value) - proto.RegisterEnum("google.cloud.language.v1.PartOfSpeech_Proper", PartOfSpeech_Proper_name, PartOfSpeech_Proper_value) - proto.RegisterEnum("google.cloud.language.v1.PartOfSpeech_Reciprocity", PartOfSpeech_Reciprocity_name, PartOfSpeech_Reciprocity_value) - proto.RegisterEnum("google.cloud.language.v1.PartOfSpeech_Tense", PartOfSpeech_Tense_name, PartOfSpeech_Tense_value) - proto.RegisterEnum("google.cloud.language.v1.PartOfSpeech_Voice", PartOfSpeech_Voice_name, PartOfSpeech_Voice_value) - proto.RegisterEnum("google.cloud.language.v1.DependencyEdge_Label", DependencyEdge_Label_name, DependencyEdge_Label_value) - proto.RegisterEnum("google.cloud.language.v1.EntityMention_Type", EntityMention_Type_name, EntityMention_Type_value) - proto.RegisterType((*Document)(nil), "google.cloud.language.v1.Document") - proto.RegisterType((*Sentence)(nil), "google.cloud.language.v1.Sentence") - proto.RegisterType((*Entity)(nil), "google.cloud.language.v1.Entity") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.language.v1.Entity.MetadataEntry") - proto.RegisterType((*Token)(nil), "google.cloud.language.v1.Token") - proto.RegisterType((*Sentiment)(nil), "google.cloud.language.v1.Sentiment") - proto.RegisterType((*PartOfSpeech)(nil), "google.cloud.language.v1.PartOfSpeech") - proto.RegisterType((*DependencyEdge)(nil), "google.cloud.language.v1.DependencyEdge") - proto.RegisterType((*EntityMention)(nil), "google.cloud.language.v1.EntityMention") - proto.RegisterType((*TextSpan)(nil), "google.cloud.language.v1.TextSpan") - proto.RegisterType((*ClassificationCategory)(nil), "google.cloud.language.v1.ClassificationCategory") - proto.RegisterType((*AnalyzeSentimentRequest)(nil), "google.cloud.language.v1.AnalyzeSentimentRequest") - proto.RegisterType((*AnalyzeSentimentResponse)(nil), "google.cloud.language.v1.AnalyzeSentimentResponse") - proto.RegisterType((*AnalyzeEntitySentimentRequest)(nil), "google.cloud.language.v1.AnalyzeEntitySentimentRequest") - proto.RegisterType((*AnalyzeEntitySentimentResponse)(nil), "google.cloud.language.v1.AnalyzeEntitySentimentResponse") - proto.RegisterType((*AnalyzeEntitiesRequest)(nil), "google.cloud.language.v1.AnalyzeEntitiesRequest") - proto.RegisterType((*AnalyzeEntitiesResponse)(nil), "google.cloud.language.v1.AnalyzeEntitiesResponse") - proto.RegisterType((*AnalyzeSyntaxRequest)(nil), "google.cloud.language.v1.AnalyzeSyntaxRequest") - proto.RegisterType((*AnalyzeSyntaxResponse)(nil), "google.cloud.language.v1.AnalyzeSyntaxResponse") - proto.RegisterType((*ClassifyTextRequest)(nil), "google.cloud.language.v1.ClassifyTextRequest") - proto.RegisterType((*ClassifyTextResponse)(nil), "google.cloud.language.v1.ClassifyTextResponse") - proto.RegisterType((*AnnotateTextRequest)(nil), "google.cloud.language.v1.AnnotateTextRequest") - proto.RegisterType((*AnnotateTextRequest_Features)(nil), "google.cloud.language.v1.AnnotateTextRequest.Features") - proto.RegisterType((*AnnotateTextResponse)(nil), "google.cloud.language.v1.AnnotateTextResponse") -} - -func init() { - proto.RegisterFile("google/cloud/language/v1/language_service.proto", fileDescriptor_dd647168a36bd604) -} - -var fileDescriptor_dd647168a36bd604 = []byte{ - // 3123 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x3a, 0xcb, 0x8f, 0xdb, 0xc6, - 0xdd, 0xa6, 0x5e, 0x2b, 0x8d, 0x76, 0xd7, 0x63, 0xda, 0xb1, 0xf5, 0x29, 0x8e, 0xed, 0xd0, 0x79, - 0x38, 0x8e, 0xad, 0xb5, 0x37, 0xdf, 0xe7, 0x38, 0xb6, 0xbf, 0x2f, 0xe6, 0x92, 0x23, 0x2d, 0xd7, - 0x14, 0x49, 0x0f, 0x49, 0x79, 0xe3, 0x0f, 0x85, 0x40, 0x4b, 0x5c, 0x59, 0xc8, 0x2e, 0xa9, 0x8a, - 0x5c, 0xc7, 0x9b, 0x4b, 0x81, 0x02, 0x3d, 0xf6, 0x50, 0xf4, 0x0f, 0xe8, 0xb5, 0x2f, 0xf4, 0x71, - 0x2c, 0xd0, 0x43, 0x0f, 0x3d, 0x14, 0x41, 0x4f, 0xed, 0x2d, 0xa7, 0x1c, 0x7a, 0xeb, 0xbd, 0x68, - 0x81, 0xb6, 0x28, 0x7e, 0x33, 0xa4, 0x44, 0xad, 0x77, 0x6d, 0xad, 0x9b, 0xa2, 0xe9, 0x6d, 0xe6, - 0xc7, 0xdf, 0x7b, 0x7e, 0xaf, 0x19, 0x09, 0xad, 0x0c, 0xc2, 0x70, 0xb0, 0xed, 0xaf, 0xf4, 0xb6, - 0xc3, 0xdd, 0xfe, 0xca, 0xb6, 0x17, 0x0c, 0x76, 0xbd, 0x81, 0xbf, 0xf2, 0xe4, 0xfa, 0x64, 0xdd, - 0x8d, 0xfc, 0xf1, 0x93, 0x61, 0xcf, 0x6f, 0x8c, 0xc6, 0x61, 0x1c, 0x8a, 0x35, 0x4e, 0xd0, 0x60, - 0x04, 0x8d, 0x14, 0xa9, 0xf1, 0xe4, 0x7a, 0xfd, 0x6c, 0xc2, 0xca, 0x1b, 0x0d, 0x57, 0xbc, 0x20, - 0x08, 0x63, 0x2f, 0x1e, 0x86, 0x41, 0xc4, 0xe9, 0xea, 0x67, 0x32, 0x5f, 0x7b, 0xdb, 0x43, 0x3f, - 0x88, 0x93, 0x0f, 0xe7, 0x33, 0x1f, 0xb6, 0x86, 0xfe, 0x76, 0xbf, 0xfb, 0xc8, 0x7f, 0xec, 0x3d, - 0x19, 0x86, 0x63, 0x8e, 0x20, 0xfd, 0x51, 0x40, 0x65, 0x35, 0xec, 0xed, 0xee, 0xf8, 0x41, 0x2c, - 0xde, 0x46, 0x85, 0x78, 0x6f, 0xe4, 0xd7, 0x84, 0x0b, 0xc2, 0xa5, 0xe5, 0xd5, 0xb7, 0x1b, 0x87, - 0x69, 0xd3, 0x48, 0x29, 0x1a, 0xce, 0xde, 0xc8, 0xa7, 0x8c, 0x48, 0xac, 0xa3, 0x85, 0x5e, 0x18, - 0xc4, 0x7e, 0x10, 0xd7, 0x72, 0x17, 0x84, 0x4b, 0x95, 0xf5, 0x63, 0x34, 0x05, 0x88, 0x97, 0xd0, - 0xf1, 0x41, 0x2f, 0xea, 0x26, 0xdb, 0xee, 0xee, 0x78, 0x58, 0xcb, 0x27, 0x38, 0x4b, 0x83, 0x5e, - 0xa4, 0x70, 0xb8, 0x3b, 0x1e, 0x8a, 0x75, 0x54, 0x4e, 0x05, 0xd5, 0x0a, 0x80, 0x42, 0x27, 0x7b, - 0xe9, 0x06, 0x2a, 0x80, 0x3c, 0xf1, 0x14, 0xc2, 0xce, 0x47, 0x16, 0xe9, 0xba, 0x86, 0x6d, 0x11, - 0x45, 0x6b, 0x6a, 0x44, 0xc5, 0xc7, 0xc4, 0x65, 0x84, 0x2c, 0x5d, 0xd6, 0x8c, 0xae, 0x43, 0x36, - 0x1d, 0x2c, 0x88, 0x65, 0x54, 0x58, 0x77, 0xda, 0x3a, 0xce, 0xad, 0x95, 0x51, 0x29, 0x0a, 0x77, - 0xc7, 0x3d, 0x5f, 0xfa, 0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0x81, 0xcf, 0x52, 0xbc, 0xba, 0x7a, 0xe9, 0x39, 0x65, 0x64, 0x42, 0x40, 0xfa, 0x03, - 0x9f, 0x2e, 0xf7, 0x67, 0xf6, 0x70, 0x70, 0xdb, 0xfe, 0xce, 0x8e, 0x97, 0x14, 0x02, 0xbe, 0x91, - 0x3e, 0x44, 0x95, 0x49, 0x24, 0x88, 0x67, 0x51, 0x65, 0xc7, 0x1b, 0x04, 0xc3, 0x78, 0xb7, 0xcf, - 0xcf, 0x37, 0x47, 0xa7, 0x00, 0x60, 0x10, 0xf5, 0xc2, 0x31, 0xd7, 0x24, 0x47, 0xf9, 0x46, 0xfa, - 0x1b, 0xb8, 0x3e, 0xab, 0xfa, 0x1d, 0x94, 0x8f, 0xbd, 0x41, 0x52, 0xf5, 0x2e, 0xcf, 0x67, 0x7d, - 0xc3, 0xf1, 0x06, 0x14, 0xc8, 0x44, 0x82, 0x4a, 0x5e, 0x34, 0xf2, 0x7b, 0x71, 0x92, 0xae, 0x57, - 0xe7, 0x64, 0x20, 0x33, 0x22, 0x9a, 0x10, 0x8b, 0x1f, 0xa2, 0x42, 0xcf, 0x8b, 0xb8, 0xaa, 0xcb, - 0xab, 0xef, 0xce, 0xc9, 0x44, 0xf1, 0x22, 0x9f, 0x32, 0x42, 0x60, 0xb0, 0x15, 0x8e, 0x77, 0x98, - 0xb3, 0xe6, 0x67, 0xd0, 0x0c, 0xc7, 0x3b, 0x94, 0x11, 0x82, 0x21, 0x03, 0x70, 0xff, 0xb8, 0x56, - 0x3c, 0x92, 0x21, 0x2d, 0x46, 0x44, 0x13, 0x62, 0xd0, 0x63, 0x27, 0x0c, 0xfb, 0x2c, 0x9f, 0xe7, - 0xd7, 0xa3, 0x1d, 0x86, 0x7d, 0xca, 0x08, 0x41, 0x8f, 0x60, 0x77, 0xe7, 0x91, 0x3f, 0xae, 0x2d, - 0x1c, 0x49, 0x0f, 0x83, 0x11, 0xd1, 0x84, 0x18, 0xd8, 0x8c, 0xfc, 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x84, 0x36, 0x89, 0xe2, 0x68, 0x1d, 0x82, 0x05, 0x28, 0xc5, 0x5a, 0x3b, 0x03, 0xc9, - 0x41, 0x2d, 0xb7, 0xa8, 0xd9, 0x82, 0x5a, 0x0c, 0x80, 0xbc, 0xf4, 0x67, 0x01, 0x15, 0x20, 0xd7, - 0x00, 0x57, 0x91, 0x6d, 0x32, 0xcb, 0x4d, 0x56, 0x14, 0xd7, 0x96, 0x13, 0x6e, 0x4b, 0xa8, 0x22, - 0xab, 0xa0, 0x99, 0x26, 0xeb, 0x38, 0xc7, 0xbb, 0x40, 0xdb, 0xd2, 0x49, 0x9b, 0x18, 0x0c, 0x23, - 0x0f, 0x15, 0x5d, 0xe5, 0xd8, 0x05, 0x68, 0x30, 0x2d, 0x62, 0x68, 0x6c, 0x57, 0x64, 0x9a, 0x18, - 0xb6, 0x43, 0x5d, 0x40, 0x96, 0x75, 0x5c, 0x9a, 0x36, 0xa0, 0x0e, 0xc1, 0x0b, 0x20, 0xcb, 0x30, - 0xdb, 0x9a, 0xc1, 0xf7, 0x65, 0xf0, 0xb7, 0xb9, 0xa6, 0x6b, 0xf7, 0x5d, 0x82, 0x2b, 0x20, 0xd8, - 0x92, 0xa9, 0xc3, 0x79, 0x21, 0x10, 0x6c, 0x51, 0x62, 0x99, 0xb6, 0x06, 0xbd, 0x4a, 0xd6, 0x71, - 0x15, 0x9c, 0x41, 0x49, 0x53, 0x27, 0x9b, 0x5a, 0x87, 0x74, 0xc1, 0x0c, 0xbc, 0x08, 0x68, 0x94, - 0xe8, 0x8c, 0x21, 0x07, 0x2d, 0x81, 0xcc, 0x4e, 0x2a, 0x73, 0x59, 0xfa, 0xa9, 0x80, 0x0a, 0x50, - 0x25, 0x40, 0xb9, 0xa6, 0x49, 0xdb, 0x19, 0xd3, 0x17, 0x51, 0x59, 0x56, 0x41, 0x21, 0x59, 0x4f, - 0x0c, 0x77, 0x37, 0x35, 0x5d, 0x93, 0xe9, 0x47, 0x38, 0x07, 0xc2,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0xef, 0x27, 0x2b, 0x53, 0xb1, 0xcf, 0xfe, 0x49, 0xe6, 0x76, 0xba, - 0x7e, 0x54, 0x62, 0xc8, 0xef, 0xfd, 0x23, 0x00, 0x00, 0xff, 0xff, 0x11, 0x69, 0x57, 0x10, 0x50, - 0x23, 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 - -// LanguageServiceClient is the client API for LanguageService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type LanguageServiceClient interface { - // Analyzes the sentiment of the provided text. - AnalyzeSentiment(ctx context.Context, in *AnalyzeSentimentRequest, opts ...grpc.CallOption) (*AnalyzeSentimentResponse, error) - // Finds named entities (currently proper names and common nouns) in the text - // along with entity types, salience, mentions for each entity, and - // other properties. - AnalyzeEntities(ctx context.Context, in *AnalyzeEntitiesRequest, opts ...grpc.CallOption) (*AnalyzeEntitiesResponse, error) - // Finds entities, similar to [AnalyzeEntities][google.cloud.language.v1.LanguageService.AnalyzeEntities] in the text and analyzes - // sentiment associated with each entity and its mentions. - AnalyzeEntitySentiment(ctx context.Context, in *AnalyzeEntitySentimentRequest, opts ...grpc.CallOption) (*AnalyzeEntitySentimentResponse, error) - // Analyzes the syntax of the text and provides sentence boundaries and - // tokenization along with part of speech tags, dependency trees, and other - // properties. - AnalyzeSyntax(ctx context.Context, in *AnalyzeSyntaxRequest, opts ...grpc.CallOption) (*AnalyzeSyntaxResponse, error) - // Classifies a document into categories. - ClassifyText(ctx context.Context, in *ClassifyTextRequest, opts ...grpc.CallOption) (*ClassifyTextResponse, error) - // A convenience method that provides all the features that analyzeSentiment, - // analyzeEntities, and analyzeSyntax provide in one call. - AnnotateText(ctx context.Context, in *AnnotateTextRequest, opts ...grpc.CallOption) (*AnnotateTextResponse, error) -} - -type languageServiceClient struct { - cc *grpc.ClientConn -} - -func NewLanguageServiceClient(cc *grpc.ClientConn) LanguageServiceClient { - return &languageServiceClient{cc} -} - -func (c *languageServiceClient) AnalyzeSentiment(ctx context.Context, in *AnalyzeSentimentRequest, opts ...grpc.CallOption) (*AnalyzeSentimentResponse, error) { - out := new(AnalyzeSentimentResponse) - err := c.cc.Invoke(ctx, "/google.cloud.language.v1.LanguageService/AnalyzeSentiment", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *languageServiceClient) AnalyzeEntities(ctx context.Context, in *AnalyzeEntitiesRequest, opts ...grpc.CallOption) (*AnalyzeEntitiesResponse, error) { - out := new(AnalyzeEntitiesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.language.v1.LanguageService/AnalyzeEntities", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *languageServiceClient) AnalyzeEntitySentiment(ctx context.Context, in *AnalyzeEntitySentimentRequest, opts ...grpc.CallOption) (*AnalyzeEntitySentimentResponse, error) { - out := new(AnalyzeEntitySentimentResponse) - err := c.cc.Invoke(ctx, "/google.cloud.language.v1.LanguageService/AnalyzeEntitySentiment", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *languageServiceClient) AnalyzeSyntax(ctx context.Context, in *AnalyzeSyntaxRequest, opts ...grpc.CallOption) (*AnalyzeSyntaxResponse, error) { - out := new(AnalyzeSyntaxResponse) - err := c.cc.Invoke(ctx, "/google.cloud.language.v1.LanguageService/AnalyzeSyntax", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *languageServiceClient) ClassifyText(ctx context.Context, in *ClassifyTextRequest, opts ...grpc.CallOption) (*ClassifyTextResponse, error) { - out := new(ClassifyTextResponse) - err := c.cc.Invoke(ctx, "/google.cloud.language.v1.LanguageService/ClassifyText", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *languageServiceClient) AnnotateText(ctx context.Context, in *AnnotateTextRequest, opts ...grpc.CallOption) (*AnnotateTextResponse, error) { - out := new(AnnotateTextResponse) - err := c.cc.Invoke(ctx, "/google.cloud.language.v1.LanguageService/AnnotateText", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// LanguageServiceServer is the server API for LanguageService service. -type LanguageServiceServer interface { - // Analyzes the sentiment of the provided text. - AnalyzeSentiment(context.Context, *AnalyzeSentimentRequest) (*AnalyzeSentimentResponse, error) - // Finds named entities (currently proper names and common nouns) in the text - // along with entity types, salience, mentions for each entity, and - // other properties. - AnalyzeEntities(context.Context, *AnalyzeEntitiesRequest) (*AnalyzeEntitiesResponse, error) - // Finds entities, similar to [AnalyzeEntities][google.cloud.language.v1.LanguageService.AnalyzeEntities] in the text and analyzes - // sentiment associated with each entity and its mentions. - AnalyzeEntitySentiment(context.Context, *AnalyzeEntitySentimentRequest) (*AnalyzeEntitySentimentResponse, error) - // Analyzes the syntax of the text and provides sentence boundaries and - // tokenization along with part of speech tags, dependency trees, and other - // properties. - AnalyzeSyntax(context.Context, *AnalyzeSyntaxRequest) (*AnalyzeSyntaxResponse, error) - // Classifies a document into categories. - ClassifyText(context.Context, *ClassifyTextRequest) (*ClassifyTextResponse, error) - // A convenience method that provides all the features that analyzeSentiment, - // analyzeEntities, and analyzeSyntax provide in one call. - AnnotateText(context.Context, *AnnotateTextRequest) (*AnnotateTextResponse, error) -} - -// UnimplementedLanguageServiceServer can be embedded to have forward compatible implementations. -type UnimplementedLanguageServiceServer struct { -} - -func (*UnimplementedLanguageServiceServer) AnalyzeSentiment(ctx context.Context, req *AnalyzeSentimentRequest) (*AnalyzeSentimentResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AnalyzeSentiment not implemented") -} -func (*UnimplementedLanguageServiceServer) AnalyzeEntities(ctx context.Context, req *AnalyzeEntitiesRequest) (*AnalyzeEntitiesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AnalyzeEntities not implemented") -} -func (*UnimplementedLanguageServiceServer) AnalyzeEntitySentiment(ctx context.Context, req *AnalyzeEntitySentimentRequest) (*AnalyzeEntitySentimentResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AnalyzeEntitySentiment not implemented") -} -func (*UnimplementedLanguageServiceServer) AnalyzeSyntax(ctx context.Context, req *AnalyzeSyntaxRequest) (*AnalyzeSyntaxResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AnalyzeSyntax not implemented") -} -func (*UnimplementedLanguageServiceServer) ClassifyText(ctx context.Context, req *ClassifyTextRequest) (*ClassifyTextResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ClassifyText not implemented") -} -func (*UnimplementedLanguageServiceServer) AnnotateText(ctx context.Context, req *AnnotateTextRequest) (*AnnotateTextResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AnnotateText not implemented") -} - -func RegisterLanguageServiceServer(s *grpc.Server, srv LanguageServiceServer) { - s.RegisterService(&_LanguageService_serviceDesc, srv) -} - -func _LanguageService_AnalyzeSentiment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AnalyzeSentimentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LanguageServiceServer).AnalyzeSentiment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.language.v1.LanguageService/AnalyzeSentiment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LanguageServiceServer).AnalyzeSentiment(ctx, req.(*AnalyzeSentimentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LanguageService_AnalyzeEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AnalyzeEntitiesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LanguageServiceServer).AnalyzeEntities(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.language.v1.LanguageService/AnalyzeEntities", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LanguageServiceServer).AnalyzeEntities(ctx, req.(*AnalyzeEntitiesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LanguageService_AnalyzeEntitySentiment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AnalyzeEntitySentimentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LanguageServiceServer).AnalyzeEntitySentiment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.language.v1.LanguageService/AnalyzeEntitySentiment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LanguageServiceServer).AnalyzeEntitySentiment(ctx, req.(*AnalyzeEntitySentimentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LanguageService_AnalyzeSyntax_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AnalyzeSyntaxRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LanguageServiceServer).AnalyzeSyntax(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.language.v1.LanguageService/AnalyzeSyntax", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LanguageServiceServer).AnalyzeSyntax(ctx, req.(*AnalyzeSyntaxRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LanguageService_ClassifyText_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ClassifyTextRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LanguageServiceServer).ClassifyText(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.language.v1.LanguageService/ClassifyText", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LanguageServiceServer).ClassifyText(ctx, req.(*ClassifyTextRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LanguageService_AnnotateText_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AnnotateTextRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LanguageServiceServer).AnnotateText(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.language.v1.LanguageService/AnnotateText", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LanguageServiceServer).AnnotateText(ctx, req.(*AnnotateTextRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _LanguageService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.language.v1.LanguageService", - HandlerType: (*LanguageServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AnalyzeSentiment", - Handler: _LanguageService_AnalyzeSentiment_Handler, - }, - { - MethodName: "AnalyzeEntities", - Handler: _LanguageService_AnalyzeEntities_Handler, - }, - { - MethodName: "AnalyzeEntitySentiment", - Handler: _LanguageService_AnalyzeEntitySentiment_Handler, - }, - { - MethodName: "AnalyzeSyntax", - Handler: _LanguageService_AnalyzeSyntax_Handler, - }, - { - MethodName: "ClassifyText", - Handler: _LanguageService_ClassifyText_Handler, - }, - { - MethodName: "AnnotateText", - Handler: _LanguageService_AnnotateText_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/language/v1/language_service.proto", -} 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 deleted file mode 100644 index f3289004..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/language/v1beta1/language_service.pb.go +++ /dev/null @@ -1,2736 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/language/v1beta1/language_service.proto - -package language - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Represents the text encoding that the caller uses to process the output. -// Providing an `EncodingType` is recommended because the API provides the -// beginning offsets for various outputs, such as tokens and mentions, and -// languages that natively use different text encodings may access offsets -// differently. -type EncodingType int32 - -const ( - // If `EncodingType` is not specified, encoding-dependent information (such as - // `begin_offset`) will be set at `-1`. - EncodingType_NONE EncodingType = 0 - // Encoding-dependent information (such as `begin_offset`) is calculated based - // on the UTF-8 encoding of the input. C++ and Go are examples of languages - // that use this encoding natively. - EncodingType_UTF8 EncodingType = 1 - // Encoding-dependent information (such as `begin_offset`) is calculated based - // on the UTF-16 encoding of the input. Java and Javascript are examples of - // languages that use this encoding natively. - EncodingType_UTF16 EncodingType = 2 - // Encoding-dependent information (such as `begin_offset`) is calculated based - // on the UTF-32 encoding of the input. Python is an example of a language - // that uses this encoding natively. - EncodingType_UTF32 EncodingType = 3 -) - -var EncodingType_name = map[int32]string{ - 0: "NONE", - 1: "UTF8", - 2: "UTF16", - 3: "UTF32", -} - -var EncodingType_value = map[string]int32{ - "NONE": 0, - "UTF8": 1, - "UTF16": 2, - "UTF32": 3, -} - -func (x EncodingType) String() string { - return proto.EnumName(EncodingType_name, int32(x)) -} - -func (EncodingType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1ca1a8b57f399672, []int{0} -} - -// The document types enum. -type Document_Type int32 - -const ( - // The content type is not specified. - Document_TYPE_UNSPECIFIED Document_Type = 0 - // Plain text - Document_PLAIN_TEXT Document_Type = 1 - // HTML - Document_HTML Document_Type = 2 -) - -var Document_Type_name = map[int32]string{ - 0: "TYPE_UNSPECIFIED", - 1: "PLAIN_TEXT", - 2: "HTML", -} - -var Document_Type_value = map[string]int32{ - "TYPE_UNSPECIFIED": 0, - "PLAIN_TEXT": 1, - "HTML": 2, -} - -func (x Document_Type) String() string { - return proto.EnumName(Document_Type_name, int32(x)) -} - -func (Document_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1ca1a8b57f399672, []int{0, 0} -} - -// The type of the entity. -type Entity_Type int32 - -const ( - // Unknown - Entity_UNKNOWN Entity_Type = 0 - // Person - Entity_PERSON Entity_Type = 1 - // Location - Entity_LOCATION Entity_Type = 2 - // Organization - Entity_ORGANIZATION Entity_Type = 3 - // Event - Entity_EVENT Entity_Type = 4 - // Work of art - Entity_WORK_OF_ART Entity_Type = 5 - // Consumer goods - Entity_CONSUMER_GOOD Entity_Type = 6 - // Other types - Entity_OTHER Entity_Type = 7 -) - -var Entity_Type_name = map[int32]string{ - 0: "UNKNOWN", - 1: "PERSON", - 2: "LOCATION", - 3: "ORGANIZATION", - 4: "EVENT", - 5: "WORK_OF_ART", - 6: "CONSUMER_GOOD", - 7: "OTHER", -} - -var Entity_Type_value = map[string]int32{ - "UNKNOWN": 0, - "PERSON": 1, - "LOCATION": 2, - "ORGANIZATION": 3, - "EVENT": 4, - "WORK_OF_ART": 5, - "CONSUMER_GOOD": 6, - "OTHER": 7, -} - -func (x Entity_Type) String() string { - return proto.EnumName(Entity_Type_name, int32(x)) -} - -func (Entity_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1ca1a8b57f399672, []int{2, 0} -} - -// The part of speech tags enum. -type PartOfSpeech_Tag int32 - -const ( - // Unknown - PartOfSpeech_UNKNOWN PartOfSpeech_Tag = 0 - // Adjective - PartOfSpeech_ADJ PartOfSpeech_Tag = 1 - // Adposition (preposition and postposition) - PartOfSpeech_ADP PartOfSpeech_Tag = 2 - // Adverb - PartOfSpeech_ADV PartOfSpeech_Tag = 3 - // Conjunction - PartOfSpeech_CONJ PartOfSpeech_Tag = 4 - // Determiner - PartOfSpeech_DET PartOfSpeech_Tag = 5 - // Noun (common and proper) - PartOfSpeech_NOUN PartOfSpeech_Tag = 6 - // Cardinal number - PartOfSpeech_NUM PartOfSpeech_Tag = 7 - // Pronoun - PartOfSpeech_PRON PartOfSpeech_Tag = 8 - // Particle or other function word - PartOfSpeech_PRT PartOfSpeech_Tag = 9 - // Punctuation - PartOfSpeech_PUNCT PartOfSpeech_Tag = 10 - // Verb (all tenses and modes) - PartOfSpeech_VERB PartOfSpeech_Tag = 11 - // Other: foreign words, typos, abbreviations - PartOfSpeech_X PartOfSpeech_Tag = 12 - // Affix - PartOfSpeech_AFFIX PartOfSpeech_Tag = 13 -) - -var PartOfSpeech_Tag_name = map[int32]string{ - 0: "UNKNOWN", - 1: "ADJ", - 2: "ADP", - 3: "ADV", - 4: "CONJ", - 5: "DET", - 6: "NOUN", - 7: "NUM", - 8: "PRON", - 9: "PRT", - 10: "PUNCT", - 11: "VERB", - 12: "X", - 13: "AFFIX", -} - -var PartOfSpeech_Tag_value = map[string]int32{ - "UNKNOWN": 0, - "ADJ": 1, - "ADP": 2, - "ADV": 3, - "CONJ": 4, - "DET": 5, - "NOUN": 6, - "NUM": 7, - "PRON": 8, - "PRT": 9, - "PUNCT": 10, - "VERB": 11, - "X": 12, - "AFFIX": 13, -} - -func (x PartOfSpeech_Tag) String() string { - return proto.EnumName(PartOfSpeech_Tag_name, int32(x)) -} - -func (PartOfSpeech_Tag) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1ca1a8b57f399672, []int{5, 0} -} - -// The characteristic of a verb that expresses time flow during an event. -type PartOfSpeech_Aspect int32 - -const ( - // Aspect is not applicable in the analyzed language or is not predicted. - PartOfSpeech_ASPECT_UNKNOWN PartOfSpeech_Aspect = 0 - // Perfective - PartOfSpeech_PERFECTIVE PartOfSpeech_Aspect = 1 - // Imperfective - PartOfSpeech_IMPERFECTIVE PartOfSpeech_Aspect = 2 - // Progressive - PartOfSpeech_PROGRESSIVE PartOfSpeech_Aspect = 3 -) - -var PartOfSpeech_Aspect_name = map[int32]string{ - 0: "ASPECT_UNKNOWN", - 1: "PERFECTIVE", - 2: "IMPERFECTIVE", - 3: "PROGRESSIVE", -} - -var PartOfSpeech_Aspect_value = map[string]int32{ - "ASPECT_UNKNOWN": 0, - "PERFECTIVE": 1, - "IMPERFECTIVE": 2, - "PROGRESSIVE": 3, -} - -func (x PartOfSpeech_Aspect) String() string { - return proto.EnumName(PartOfSpeech_Aspect_name, int32(x)) -} - -func (PartOfSpeech_Aspect) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1ca1a8b57f399672, []int{5, 1} -} - -// The grammatical function performed by a noun or pronoun in a phrase, -// clause, or sentence. In some languages, other parts of speech, such as -// adjective and determiner, take case inflection in agreement with the noun. -type PartOfSpeech_Case int32 - -const ( - // Case is not applicable in the analyzed language or is not predicted. - PartOfSpeech_CASE_UNKNOWN PartOfSpeech_Case = 0 - // Accusative - PartOfSpeech_ACCUSATIVE PartOfSpeech_Case = 1 - // Adverbial - PartOfSpeech_ADVERBIAL PartOfSpeech_Case = 2 - // Complementive - PartOfSpeech_COMPLEMENTIVE PartOfSpeech_Case = 3 - // Dative - PartOfSpeech_DATIVE PartOfSpeech_Case = 4 - // Genitive - PartOfSpeech_GENITIVE PartOfSpeech_Case = 5 - // Instrumental - PartOfSpeech_INSTRUMENTAL PartOfSpeech_Case = 6 - // Locative - PartOfSpeech_LOCATIVE PartOfSpeech_Case = 7 - // Nominative - PartOfSpeech_NOMINATIVE PartOfSpeech_Case = 8 - // Oblique - PartOfSpeech_OBLIQUE PartOfSpeech_Case = 9 - // Partitive - PartOfSpeech_PARTITIVE PartOfSpeech_Case = 10 - // Prepositional - PartOfSpeech_PREPOSITIONAL PartOfSpeech_Case = 11 - // Reflexive - PartOfSpeech_REFLEXIVE_CASE PartOfSpeech_Case = 12 - // Relative - PartOfSpeech_RELATIVE_CASE PartOfSpeech_Case = 13 - // Vocative - PartOfSpeech_VOCATIVE PartOfSpeech_Case = 14 -) - -var PartOfSpeech_Case_name = map[int32]string{ - 0: "CASE_UNKNOWN", - 1: "ACCUSATIVE", - 2: "ADVERBIAL", - 3: "COMPLEMENTIVE", - 4: "DATIVE", - 5: "GENITIVE", - 6: "INSTRUMENTAL", - 7: "LOCATIVE", - 8: "NOMINATIVE", - 9: "OBLIQUE", - 10: "PARTITIVE", - 11: "PREPOSITIONAL", - 12: "REFLEXIVE_CASE", - 13: "RELATIVE_CASE", - 14: "VOCATIVE", -} - -var PartOfSpeech_Case_value = map[string]int32{ - "CASE_UNKNOWN": 0, - "ACCUSATIVE": 1, - "ADVERBIAL": 2, - "COMPLEMENTIVE": 3, - "DATIVE": 4, - "GENITIVE": 5, - "INSTRUMENTAL": 6, - "LOCATIVE": 7, - "NOMINATIVE": 8, - "OBLIQUE": 9, - "PARTITIVE": 10, - "PREPOSITIONAL": 11, - "REFLEXIVE_CASE": 12, - "RELATIVE_CASE": 13, - "VOCATIVE": 14, -} - -func (x PartOfSpeech_Case) String() string { - return proto.EnumName(PartOfSpeech_Case_name, int32(x)) -} - -func (PartOfSpeech_Case) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1ca1a8b57f399672, []int{5, 2} -} - -// Depending on the language, Form can be categorizing different forms of -// verbs, adjectives, adverbs, etc. For example, categorizing inflected -// endings of verbs and adjectives or distinguishing between short and long -// forms of adjectives and participles -type PartOfSpeech_Form int32 - -const ( - // Form is not applicable in the analyzed language or is not predicted. - PartOfSpeech_FORM_UNKNOWN PartOfSpeech_Form = 0 - // Adnomial - PartOfSpeech_ADNOMIAL PartOfSpeech_Form = 1 - // Auxiliary - PartOfSpeech_AUXILIARY PartOfSpeech_Form = 2 - // Complementizer - PartOfSpeech_COMPLEMENTIZER PartOfSpeech_Form = 3 - // Final ending - PartOfSpeech_FINAL_ENDING PartOfSpeech_Form = 4 - // Gerund - PartOfSpeech_GERUND PartOfSpeech_Form = 5 - // Realis - PartOfSpeech_REALIS PartOfSpeech_Form = 6 - // Irrealis - PartOfSpeech_IRREALIS PartOfSpeech_Form = 7 - // Short form - PartOfSpeech_SHORT PartOfSpeech_Form = 8 - // Long form - PartOfSpeech_LONG PartOfSpeech_Form = 9 - // Order form - PartOfSpeech_ORDER PartOfSpeech_Form = 10 - // Specific form - PartOfSpeech_SPECIFIC PartOfSpeech_Form = 11 -) - -var PartOfSpeech_Form_name = map[int32]string{ - 0: "FORM_UNKNOWN", - 1: "ADNOMIAL", - 2: "AUXILIARY", - 3: "COMPLEMENTIZER", - 4: "FINAL_ENDING", - 5: "GERUND", - 6: "REALIS", - 7: "IRREALIS", - 8: "SHORT", - 9: "LONG", - 10: "ORDER", - 11: "SPECIFIC", -} - -var PartOfSpeech_Form_value = map[string]int32{ - "FORM_UNKNOWN": 0, - "ADNOMIAL": 1, - "AUXILIARY": 2, - "COMPLEMENTIZER": 3, - "FINAL_ENDING": 4, - "GERUND": 5, - "REALIS": 6, - "IRREALIS": 7, - "SHORT": 8, - "LONG": 9, - "ORDER": 10, - "SPECIFIC": 11, -} - -func (x PartOfSpeech_Form) String() string { - return proto.EnumName(PartOfSpeech_Form_name, int32(x)) -} - -func (PartOfSpeech_Form) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1ca1a8b57f399672, []int{5, 3} -} - -// Gender classes of nouns reflected in the behaviour of associated words. -type PartOfSpeech_Gender int32 - -const ( - // Gender is not applicable in the analyzed language or is not predicted. - PartOfSpeech_GENDER_UNKNOWN PartOfSpeech_Gender = 0 - // Feminine - PartOfSpeech_FEMININE PartOfSpeech_Gender = 1 - // Masculine - PartOfSpeech_MASCULINE PartOfSpeech_Gender = 2 - // Neuter - PartOfSpeech_NEUTER PartOfSpeech_Gender = 3 -) - -var PartOfSpeech_Gender_name = map[int32]string{ - 0: "GENDER_UNKNOWN", - 1: "FEMININE", - 2: "MASCULINE", - 3: "NEUTER", -} - -var PartOfSpeech_Gender_value = map[string]int32{ - "GENDER_UNKNOWN": 0, - "FEMININE": 1, - "MASCULINE": 2, - "NEUTER": 3, -} - -func (x PartOfSpeech_Gender) String() string { - return proto.EnumName(PartOfSpeech_Gender_name, int32(x)) -} - -func (PartOfSpeech_Gender) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1ca1a8b57f399672, []int{5, 4} -} - -// The grammatical feature of verbs, used for showing modality and attitude. -type PartOfSpeech_Mood int32 - -const ( - // Mood is not applicable in the analyzed language or is not predicted. - PartOfSpeech_MOOD_UNKNOWN PartOfSpeech_Mood = 0 - // Conditional - PartOfSpeech_CONDITIONAL_MOOD PartOfSpeech_Mood = 1 - // Imperative - PartOfSpeech_IMPERATIVE PartOfSpeech_Mood = 2 - // Indicative - PartOfSpeech_INDICATIVE PartOfSpeech_Mood = 3 - // Interrogative - PartOfSpeech_INTERROGATIVE PartOfSpeech_Mood = 4 - // Jussive - PartOfSpeech_JUSSIVE PartOfSpeech_Mood = 5 - // Subjunctive - PartOfSpeech_SUBJUNCTIVE PartOfSpeech_Mood = 6 -) - -var PartOfSpeech_Mood_name = map[int32]string{ - 0: "MOOD_UNKNOWN", - 1: "CONDITIONAL_MOOD", - 2: "IMPERATIVE", - 3: "INDICATIVE", - 4: "INTERROGATIVE", - 5: "JUSSIVE", - 6: "SUBJUNCTIVE", -} - -var PartOfSpeech_Mood_value = map[string]int32{ - "MOOD_UNKNOWN": 0, - "CONDITIONAL_MOOD": 1, - "IMPERATIVE": 2, - "INDICATIVE": 3, - "INTERROGATIVE": 4, - "JUSSIVE": 5, - "SUBJUNCTIVE": 6, -} - -func (x PartOfSpeech_Mood) String() string { - return proto.EnumName(PartOfSpeech_Mood_name, int32(x)) -} - -func (PartOfSpeech_Mood) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1ca1a8b57f399672, []int{5, 5} -} - -// Count distinctions. -type PartOfSpeech_Number int32 - -const ( - // Number is not applicable in the analyzed language or is not predicted. - PartOfSpeech_NUMBER_UNKNOWN PartOfSpeech_Number = 0 - // Singular - PartOfSpeech_SINGULAR PartOfSpeech_Number = 1 - // Plural - PartOfSpeech_PLURAL PartOfSpeech_Number = 2 - // Dual - PartOfSpeech_DUAL PartOfSpeech_Number = 3 -) - -var PartOfSpeech_Number_name = map[int32]string{ - 0: "NUMBER_UNKNOWN", - 1: "SINGULAR", - 2: "PLURAL", - 3: "DUAL", -} - -var PartOfSpeech_Number_value = map[string]int32{ - "NUMBER_UNKNOWN": 0, - "SINGULAR": 1, - "PLURAL": 2, - "DUAL": 3, -} - -func (x PartOfSpeech_Number) String() string { - return proto.EnumName(PartOfSpeech_Number_name, int32(x)) -} - -func (PartOfSpeech_Number) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1ca1a8b57f399672, []int{5, 6} -} - -// The distinction between the speaker, second person, third person, etc. -type PartOfSpeech_Person int32 - -const ( - // Person is not applicable in the analyzed language or is not predicted. - PartOfSpeech_PERSON_UNKNOWN PartOfSpeech_Person = 0 - // First - PartOfSpeech_FIRST PartOfSpeech_Person = 1 - // Second - PartOfSpeech_SECOND PartOfSpeech_Person = 2 - // Third - PartOfSpeech_THIRD PartOfSpeech_Person = 3 - // Reflexive - PartOfSpeech_REFLEXIVE_PERSON PartOfSpeech_Person = 4 -) - -var PartOfSpeech_Person_name = map[int32]string{ - 0: "PERSON_UNKNOWN", - 1: "FIRST", - 2: "SECOND", - 3: "THIRD", - 4: "REFLEXIVE_PERSON", -} - -var PartOfSpeech_Person_value = map[string]int32{ - "PERSON_UNKNOWN": 0, - "FIRST": 1, - "SECOND": 2, - "THIRD": 3, - "REFLEXIVE_PERSON": 4, -} - -func (x PartOfSpeech_Person) String() string { - return proto.EnumName(PartOfSpeech_Person_name, int32(x)) -} - -func (PartOfSpeech_Person) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1ca1a8b57f399672, []int{5, 7} -} - -// This category shows if the token is part of a proper name. -type PartOfSpeech_Proper int32 - -const ( - // Proper is not applicable in the analyzed language or is not predicted. - PartOfSpeech_PROPER_UNKNOWN PartOfSpeech_Proper = 0 - // Proper - PartOfSpeech_PROPER PartOfSpeech_Proper = 1 - // Not proper - PartOfSpeech_NOT_PROPER PartOfSpeech_Proper = 2 -) - -var PartOfSpeech_Proper_name = map[int32]string{ - 0: "PROPER_UNKNOWN", - 1: "PROPER", - 2: "NOT_PROPER", -} - -var PartOfSpeech_Proper_value = map[string]int32{ - "PROPER_UNKNOWN": 0, - "PROPER": 1, - "NOT_PROPER": 2, -} - -func (x PartOfSpeech_Proper) String() string { - return proto.EnumName(PartOfSpeech_Proper_name, int32(x)) -} - -func (PartOfSpeech_Proper) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1ca1a8b57f399672, []int{5, 8} -} - -// Reciprocal features of a pronoun. -type PartOfSpeech_Reciprocity int32 - -const ( - // Reciprocity is not applicable in the analyzed language or is not - // predicted. - PartOfSpeech_RECIPROCITY_UNKNOWN PartOfSpeech_Reciprocity = 0 - // Reciprocal - PartOfSpeech_RECIPROCAL PartOfSpeech_Reciprocity = 1 - // Non-reciprocal - PartOfSpeech_NON_RECIPROCAL PartOfSpeech_Reciprocity = 2 -) - -var PartOfSpeech_Reciprocity_name = map[int32]string{ - 0: "RECIPROCITY_UNKNOWN", - 1: "RECIPROCAL", - 2: "NON_RECIPROCAL", -} - -var PartOfSpeech_Reciprocity_value = map[string]int32{ - "RECIPROCITY_UNKNOWN": 0, - "RECIPROCAL": 1, - "NON_RECIPROCAL": 2, -} - -func (x PartOfSpeech_Reciprocity) String() string { - return proto.EnumName(PartOfSpeech_Reciprocity_name, int32(x)) -} - -func (PartOfSpeech_Reciprocity) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1ca1a8b57f399672, []int{5, 9} -} - -// Time reference. -type PartOfSpeech_Tense int32 - -const ( - // Tense is not applicable in the analyzed language or is not predicted. - PartOfSpeech_TENSE_UNKNOWN PartOfSpeech_Tense = 0 - // Conditional - PartOfSpeech_CONDITIONAL_TENSE PartOfSpeech_Tense = 1 - // Future - PartOfSpeech_FUTURE PartOfSpeech_Tense = 2 - // Past - PartOfSpeech_PAST PartOfSpeech_Tense = 3 - // Present - PartOfSpeech_PRESENT PartOfSpeech_Tense = 4 - // Imperfect - PartOfSpeech_IMPERFECT PartOfSpeech_Tense = 5 - // Pluperfect - PartOfSpeech_PLUPERFECT PartOfSpeech_Tense = 6 -) - -var PartOfSpeech_Tense_name = map[int32]string{ - 0: "TENSE_UNKNOWN", - 1: "CONDITIONAL_TENSE", - 2: "FUTURE", - 3: "PAST", - 4: "PRESENT", - 5: "IMPERFECT", - 6: "PLUPERFECT", -} - -var PartOfSpeech_Tense_value = map[string]int32{ - "TENSE_UNKNOWN": 0, - "CONDITIONAL_TENSE": 1, - "FUTURE": 2, - "PAST": 3, - "PRESENT": 4, - "IMPERFECT": 5, - "PLUPERFECT": 6, -} - -func (x PartOfSpeech_Tense) String() string { - return proto.EnumName(PartOfSpeech_Tense_name, int32(x)) -} - -func (PartOfSpeech_Tense) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1ca1a8b57f399672, []int{5, 10} -} - -// The relationship between the action that a verb expresses and the -// participants identified by its arguments. -type PartOfSpeech_Voice int32 - -const ( - // Voice is not applicable in the analyzed language or is not predicted. - PartOfSpeech_VOICE_UNKNOWN PartOfSpeech_Voice = 0 - // Active - PartOfSpeech_ACTIVE PartOfSpeech_Voice = 1 - // Causative - PartOfSpeech_CAUSATIVE PartOfSpeech_Voice = 2 - // Passive - PartOfSpeech_PASSIVE PartOfSpeech_Voice = 3 -) - -var PartOfSpeech_Voice_name = map[int32]string{ - 0: "VOICE_UNKNOWN", - 1: "ACTIVE", - 2: "CAUSATIVE", - 3: "PASSIVE", -} - -var PartOfSpeech_Voice_value = map[string]int32{ - "VOICE_UNKNOWN": 0, - "ACTIVE": 1, - "CAUSATIVE": 2, - "PASSIVE": 3, -} - -func (x PartOfSpeech_Voice) String() string { - return proto.EnumName(PartOfSpeech_Voice_name, int32(x)) -} - -func (PartOfSpeech_Voice) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1ca1a8b57f399672, []int{5, 11} -} - -// The parse label enum for the token. -type DependencyEdge_Label int32 - -const ( - // Unknown - DependencyEdge_UNKNOWN DependencyEdge_Label = 0 - // Abbreviation modifier - DependencyEdge_ABBREV DependencyEdge_Label = 1 - // Adjectival complement - DependencyEdge_ACOMP DependencyEdge_Label = 2 - // Adverbial clause modifier - DependencyEdge_ADVCL DependencyEdge_Label = 3 - // Adverbial modifier - DependencyEdge_ADVMOD DependencyEdge_Label = 4 - // Adjectival modifier of an NP - DependencyEdge_AMOD DependencyEdge_Label = 5 - // Appositional modifier of an NP - DependencyEdge_APPOS DependencyEdge_Label = 6 - // Attribute dependent of a copular verb - DependencyEdge_ATTR DependencyEdge_Label = 7 - // Auxiliary (non-main) verb - DependencyEdge_AUX DependencyEdge_Label = 8 - // Passive auxiliary - DependencyEdge_AUXPASS DependencyEdge_Label = 9 - // Coordinating conjunction - DependencyEdge_CC DependencyEdge_Label = 10 - // Clausal complement of a verb or adjective - DependencyEdge_CCOMP DependencyEdge_Label = 11 - // Conjunct - DependencyEdge_CONJ DependencyEdge_Label = 12 - // Clausal subject - DependencyEdge_CSUBJ DependencyEdge_Label = 13 - // Clausal passive subject - DependencyEdge_CSUBJPASS DependencyEdge_Label = 14 - // Dependency (unable to determine) - DependencyEdge_DEP DependencyEdge_Label = 15 - // Determiner - DependencyEdge_DET DependencyEdge_Label = 16 - // Discourse - DependencyEdge_DISCOURSE DependencyEdge_Label = 17 - // Direct object - DependencyEdge_DOBJ DependencyEdge_Label = 18 - // Expletive - DependencyEdge_EXPL DependencyEdge_Label = 19 - // Goes with (part of a word in a text not well edited) - DependencyEdge_GOESWITH DependencyEdge_Label = 20 - // Indirect object - DependencyEdge_IOBJ DependencyEdge_Label = 21 - // Marker (word introducing a subordinate clause) - DependencyEdge_MARK DependencyEdge_Label = 22 - // Multi-word expression - DependencyEdge_MWE DependencyEdge_Label = 23 - // Multi-word verbal expression - DependencyEdge_MWV DependencyEdge_Label = 24 - // Negation modifier - DependencyEdge_NEG DependencyEdge_Label = 25 - // Noun compound modifier - DependencyEdge_NN DependencyEdge_Label = 26 - // Noun phrase used as an adverbial modifier - DependencyEdge_NPADVMOD DependencyEdge_Label = 27 - // Nominal subject - DependencyEdge_NSUBJ DependencyEdge_Label = 28 - // Passive nominal subject - DependencyEdge_NSUBJPASS DependencyEdge_Label = 29 - // Numeric modifier of a noun - DependencyEdge_NUM DependencyEdge_Label = 30 - // Element of compound number - DependencyEdge_NUMBER DependencyEdge_Label = 31 - // Punctuation mark - DependencyEdge_P DependencyEdge_Label = 32 - // Parataxis relation - DependencyEdge_PARATAXIS DependencyEdge_Label = 33 - // Participial modifier - DependencyEdge_PARTMOD DependencyEdge_Label = 34 - // The complement of a preposition is a clause - DependencyEdge_PCOMP DependencyEdge_Label = 35 - // Object of a preposition - DependencyEdge_POBJ DependencyEdge_Label = 36 - // Possession modifier - DependencyEdge_POSS DependencyEdge_Label = 37 - // Postverbal negative particle - DependencyEdge_POSTNEG DependencyEdge_Label = 38 - // Predicate complement - DependencyEdge_PRECOMP DependencyEdge_Label = 39 - // Preconjunt - DependencyEdge_PRECONJ DependencyEdge_Label = 40 - // Predeterminer - DependencyEdge_PREDET DependencyEdge_Label = 41 - // Prefix - DependencyEdge_PREF DependencyEdge_Label = 42 - // Prepositional modifier - DependencyEdge_PREP DependencyEdge_Label = 43 - // The relationship between a verb and verbal morpheme - DependencyEdge_PRONL DependencyEdge_Label = 44 - // Particle - DependencyEdge_PRT DependencyEdge_Label = 45 - // Associative or possessive marker - DependencyEdge_PS DependencyEdge_Label = 46 - // Quantifier phrase modifier - DependencyEdge_QUANTMOD DependencyEdge_Label = 47 - // Relative clause modifier - DependencyEdge_RCMOD DependencyEdge_Label = 48 - // Complementizer in relative clause - DependencyEdge_RCMODREL DependencyEdge_Label = 49 - // Ellipsis without a preceding predicate - DependencyEdge_RDROP DependencyEdge_Label = 50 - // Referent - DependencyEdge_REF DependencyEdge_Label = 51 - // Remnant - DependencyEdge_REMNANT DependencyEdge_Label = 52 - // Reparandum - DependencyEdge_REPARANDUM DependencyEdge_Label = 53 - // Root - DependencyEdge_ROOT DependencyEdge_Label = 54 - // Suffix specifying a unit of number - DependencyEdge_SNUM DependencyEdge_Label = 55 - // Suffix - DependencyEdge_SUFF DependencyEdge_Label = 56 - // Temporal modifier - DependencyEdge_TMOD DependencyEdge_Label = 57 - // Topic marker - DependencyEdge_TOPIC DependencyEdge_Label = 58 - // Clause headed by an infinite form of the verb that modifies a noun - DependencyEdge_VMOD DependencyEdge_Label = 59 - // Vocative - DependencyEdge_VOCATIVE DependencyEdge_Label = 60 - // Open clausal complement - DependencyEdge_XCOMP DependencyEdge_Label = 61 - // Name suffix - DependencyEdge_SUFFIX DependencyEdge_Label = 62 - // Name title - DependencyEdge_TITLE DependencyEdge_Label = 63 - // Adverbial phrase modifier - DependencyEdge_ADVPHMOD DependencyEdge_Label = 64 - // Causative auxiliary - DependencyEdge_AUXCAUS DependencyEdge_Label = 65 - // Helper auxiliary - DependencyEdge_AUXVV DependencyEdge_Label = 66 - // Rentaishi (Prenominal modifier) - DependencyEdge_DTMOD DependencyEdge_Label = 67 - // Foreign words - DependencyEdge_FOREIGN DependencyEdge_Label = 68 - // Keyword - DependencyEdge_KW DependencyEdge_Label = 69 - // List for chains of comparable items - DependencyEdge_LIST DependencyEdge_Label = 70 - // Nominalized clause - DependencyEdge_NOMC DependencyEdge_Label = 71 - // Nominalized clausal subject - DependencyEdge_NOMCSUBJ DependencyEdge_Label = 72 - // Nominalized clausal passive - DependencyEdge_NOMCSUBJPASS DependencyEdge_Label = 73 - // Compound of numeric modifier - DependencyEdge_NUMC DependencyEdge_Label = 74 - // Copula - DependencyEdge_COP DependencyEdge_Label = 75 - // Dislocated relation (for fronted/topicalized elements) - DependencyEdge_DISLOCATED DependencyEdge_Label = 76 -) - -var DependencyEdge_Label_name = map[int32]string{ - 0: "UNKNOWN", - 1: "ABBREV", - 2: "ACOMP", - 3: "ADVCL", - 4: "ADVMOD", - 5: "AMOD", - 6: "APPOS", - 7: "ATTR", - 8: "AUX", - 9: "AUXPASS", - 10: "CC", - 11: "CCOMP", - 12: "CONJ", - 13: "CSUBJ", - 14: "CSUBJPASS", - 15: "DEP", - 16: "DET", - 17: "DISCOURSE", - 18: "DOBJ", - 19: "EXPL", - 20: "GOESWITH", - 21: "IOBJ", - 22: "MARK", - 23: "MWE", - 24: "MWV", - 25: "NEG", - 26: "NN", - 27: "NPADVMOD", - 28: "NSUBJ", - 29: "NSUBJPASS", - 30: "NUM", - 31: "NUMBER", - 32: "P", - 33: "PARATAXIS", - 34: "PARTMOD", - 35: "PCOMP", - 36: "POBJ", - 37: "POSS", - 38: "POSTNEG", - 39: "PRECOMP", - 40: "PRECONJ", - 41: "PREDET", - 42: "PREF", - 43: "PREP", - 44: "PRONL", - 45: "PRT", - 46: "PS", - 47: "QUANTMOD", - 48: "RCMOD", - 49: "RCMODREL", - 50: "RDROP", - 51: "REF", - 52: "REMNANT", - 53: "REPARANDUM", - 54: "ROOT", - 55: "SNUM", - 56: "SUFF", - 57: "TMOD", - 58: "TOPIC", - 59: "VMOD", - 60: "VOCATIVE", - 61: "XCOMP", - 62: "SUFFIX", - 63: "TITLE", - 64: "ADVPHMOD", - 65: "AUXCAUS", - 66: "AUXVV", - 67: "DTMOD", - 68: "FOREIGN", - 69: "KW", - 70: "LIST", - 71: "NOMC", - 72: "NOMCSUBJ", - 73: "NOMCSUBJPASS", - 74: "NUMC", - 75: "COP", - 76: "DISLOCATED", -} - -var DependencyEdge_Label_value = map[string]int32{ - "UNKNOWN": 0, - "ABBREV": 1, - "ACOMP": 2, - "ADVCL": 3, - "ADVMOD": 4, - "AMOD": 5, - "APPOS": 6, - "ATTR": 7, - "AUX": 8, - "AUXPASS": 9, - "CC": 10, - "CCOMP": 11, - "CONJ": 12, - "CSUBJ": 13, - "CSUBJPASS": 14, - "DEP": 15, - "DET": 16, - "DISCOURSE": 17, - "DOBJ": 18, - "EXPL": 19, - "GOESWITH": 20, - "IOBJ": 21, - "MARK": 22, - "MWE": 23, - "MWV": 24, - "NEG": 25, - "NN": 26, - "NPADVMOD": 27, - "NSUBJ": 28, - "NSUBJPASS": 29, - "NUM": 30, - "NUMBER": 31, - "P": 32, - "PARATAXIS": 33, - "PARTMOD": 34, - "PCOMP": 35, - "POBJ": 36, - "POSS": 37, - "POSTNEG": 38, - "PRECOMP": 39, - "PRECONJ": 40, - "PREDET": 41, - "PREF": 42, - "PREP": 43, - "PRONL": 44, - "PRT": 45, - "PS": 46, - "QUANTMOD": 47, - "RCMOD": 48, - "RCMODREL": 49, - "RDROP": 50, - "REF": 51, - "REMNANT": 52, - "REPARANDUM": 53, - "ROOT": 54, - "SNUM": 55, - "SUFF": 56, - "TMOD": 57, - "TOPIC": 58, - "VMOD": 59, - "VOCATIVE": 60, - "XCOMP": 61, - "SUFFIX": 62, - "TITLE": 63, - "ADVPHMOD": 64, - "AUXCAUS": 65, - "AUXVV": 66, - "DTMOD": 67, - "FOREIGN": 68, - "KW": 69, - "LIST": 70, - "NOMC": 71, - "NOMCSUBJ": 72, - "NOMCSUBJPASS": 73, - "NUMC": 74, - "COP": 75, - "DISLOCATED": 76, -} - -func (x DependencyEdge_Label) String() string { - return proto.EnumName(DependencyEdge_Label_name, int32(x)) -} - -func (DependencyEdge_Label) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1ca1a8b57f399672, []int{6, 0} -} - -// The supported types of mentions. -type EntityMention_Type int32 - -const ( - // Unknown - EntityMention_TYPE_UNKNOWN EntityMention_Type = 0 - // Proper name - EntityMention_PROPER EntityMention_Type = 1 - // Common noun (or noun compound) - EntityMention_COMMON EntityMention_Type = 2 -) - -var EntityMention_Type_name = map[int32]string{ - 0: "TYPE_UNKNOWN", - 1: "PROPER", - 2: "COMMON", -} - -var EntityMention_Type_value = map[string]int32{ - "TYPE_UNKNOWN": 0, - "PROPER": 1, - "COMMON": 2, -} - -func (x EntityMention_Type) String() string { - return proto.EnumName(EntityMention_Type_name, int32(x)) -} - -func (EntityMention_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1ca1a8b57f399672, []int{7, 0} -} - -// ################################################################ # -// -// Represents the input to API methods. -type Document struct { - // Required. If the type is not set or is `TYPE_UNSPECIFIED`, - // returns an `INVALID_ARGUMENT` error. - Type Document_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.language.v1beta1.Document_Type" json:"type,omitempty"` - // The source of the document: a string containing the content or a - // Google Cloud Storage URI. - // - // Types that are valid to be assigned to Source: - // *Document_Content - // *Document_GcsContentUri - Source isDocument_Source `protobuf_oneof:"source"` - // The language of the document (if not specified, the language is - // automatically detected). Both ISO and BCP-47 language codes are - // accepted.
- // [Language - // Support](https://cloud.google.com/natural-language/docs/languages) lists - // currently supported languages for each API method. If the language (either - // specified by the caller or automatically detected) is not supported by the - // called API method, an `INVALID_ARGUMENT` error is returned. - Language string `protobuf:"bytes,4,opt,name=language,proto3" json:"language,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1ca1a8b57f399672, []int{0} -} - -func (m *Document) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Document.Unmarshal(m, b) -} -func (m *Document) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Document.Marshal(b, m, deterministic) -} -func (m *Document) XXX_Merge(src proto.Message) { - xxx_messageInfo_Document.Merge(m, src) -} -func (m *Document) XXX_Size() int { - return xxx_messageInfo_Document.Size(m) -} -func (m *Document) XXX_DiscardUnknown() { - xxx_messageInfo_Document.DiscardUnknown(m) -} - -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() -} - -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_GcsContentUri) isDocument_Source() {} - -func (m *Document) GetSource() isDocument_Source { - if m != nil { - return m.Source - } - return nil -} - -func (m *Document) GetContent() string { - if x, ok := m.GetSource().(*Document_Content); ok { - return x.Content - } - return "" -} - -func (m *Document) GetGcsContentUri() string { - if x, ok := m.GetSource().(*Document_GcsContentUri); ok { - return x.GcsContentUri - } - return "" -} - -func (m *Document) GetLanguage() string { - if m != nil { - return m.Language - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Document) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Document_Content)(nil), - (*Document_GcsContentUri)(nil), - } -} - -// Represents a sentence in the input document. -type Sentence struct { - // The sentence text. - Text *TextSpan `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` - // For calls to [AnalyzeSentiment][] or if - // [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1beta1.AnnotateTextRequest.Features.extract_document_sentiment] - // is set to true, this field will contain the sentiment for the sentence. - Sentiment *Sentiment `protobuf:"bytes,2,opt,name=sentiment,proto3" json:"sentiment,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1ca1a8b57f399672, []int{1} -} - -func (m *Sentence) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Sentence.Unmarshal(m, b) -} -func (m *Sentence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Sentence.Marshal(b, m, deterministic) -} -func (m *Sentence) XXX_Merge(src proto.Message) { - xxx_messageInfo_Sentence.Merge(m, src) -} -func (m *Sentence) XXX_Size() int { - return xxx_messageInfo_Sentence.Size(m) -} -func (m *Sentence) XXX_DiscardUnknown() { - xxx_messageInfo_Sentence.DiscardUnknown(m) -} - -var xxx_messageInfo_Sentence proto.InternalMessageInfo - -func (m *Sentence) GetText() *TextSpan { - if m != nil { - return m.Text - } - return nil -} - -func (m *Sentence) GetSentiment() *Sentiment { - if m != nil { - return m.Sentiment - } - return nil -} - -// Represents a phrase in the text that is a known entity, such as -// a person, an organization, or location. The API associates information, such -// as salience and mentions, with entities. -type Entity struct { - // The representative name for the entity. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The entity type. - Type Entity_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.language.v1beta1.Entity_Type" json:"type,omitempty"` - // Metadata associated with the entity. - // - // Currently, Wikipedia URLs and Knowledge Graph MIDs are provided, if - // available. The associated keys are "wikipedia_url" and "mid", respectively. - Metadata map[string]string `protobuf:"bytes,3,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // The salience score associated with the entity in the [0, 1.0] range. - // - // The salience score for an entity provides information about the - // importance or centrality of that entity to the entire document text. - // Scores closer to 0 are less salient, while scores closer to 1.0 are highly - // salient. - Salience float32 `protobuf:"fixed32,4,opt,name=salience,proto3" json:"salience,omitempty"` - // The mentions of this entity in the input document. The API currently - // supports proper noun mentions. - Mentions []*EntityMention `protobuf:"bytes,5,rep,name=mentions,proto3" json:"mentions,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_1ca1a8b57f399672, []int{2} -} - -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 (m *Entity) XXX_Merge(src proto.Message) { - xxx_messageInfo_Entity.Merge(m, 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) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Entity) GetType() Entity_Type { - if m != nil { - return m.Type - } - return Entity_UNKNOWN -} - -func (m *Entity) GetMetadata() map[string]string { - if m != nil { - return m.Metadata - } - return nil -} - -func (m *Entity) GetSalience() float32 { - if m != nil { - return m.Salience - } - return 0 -} - -func (m *Entity) GetMentions() []*EntityMention { - if m != nil { - return m.Mentions - } - return nil -} - -// Represents the smallest syntactic building block of the text. -type Token struct { - // The token text. - Text *TextSpan `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` - // Parts of speech tag for this token. - PartOfSpeech *PartOfSpeech `protobuf:"bytes,2,opt,name=part_of_speech,json=partOfSpeech,proto3" json:"part_of_speech,omitempty"` - // Dependency tree parse for this token. - DependencyEdge *DependencyEdge `protobuf:"bytes,3,opt,name=dependency_edge,json=dependencyEdge,proto3" json:"dependency_edge,omitempty"` - // [Lemma](https://en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token. - Lemma string `protobuf:"bytes,4,opt,name=lemma,proto3" json:"lemma,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1ca1a8b57f399672, []int{3} -} - -func (m *Token) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Token.Unmarshal(m, b) -} -func (m *Token) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Token.Marshal(b, m, deterministic) -} -func (m *Token) XXX_Merge(src proto.Message) { - xxx_messageInfo_Token.Merge(m, src) -} -func (m *Token) XXX_Size() int { - return xxx_messageInfo_Token.Size(m) -} -func (m *Token) XXX_DiscardUnknown() { - xxx_messageInfo_Token.DiscardUnknown(m) -} - -var xxx_messageInfo_Token proto.InternalMessageInfo - -func (m *Token) GetText() *TextSpan { - if m != nil { - return m.Text - } - return nil -} - -func (m *Token) GetPartOfSpeech() *PartOfSpeech { - if m != nil { - return m.PartOfSpeech - } - return nil -} - -func (m *Token) GetDependencyEdge() *DependencyEdge { - if m != nil { - return m.DependencyEdge - } - return nil -} - -func (m *Token) GetLemma() string { - if m != nil { - return m.Lemma - } - return "" -} - -// Represents the feeling associated with the entire text or entities in -// the text. -type Sentiment struct { - // DEPRECATED FIELD - This field is being deprecated in - // favor of score. Please refer to our documentation at - // https://cloud.google.com/natural-language/docs for more information. - Polarity float32 `protobuf:"fixed32,1,opt,name=polarity,proto3" json:"polarity,omitempty"` - // A non-negative number in the [0, +inf) range, which represents - // the absolute magnitude of sentiment regardless of score (positive or - // negative). - Magnitude float32 `protobuf:"fixed32,2,opt,name=magnitude,proto3" json:"magnitude,omitempty"` - // Sentiment score between -1.0 (negative sentiment) and 1.0 - // (positive sentiment). - Score float32 `protobuf:"fixed32,3,opt,name=score,proto3" json:"score,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1ca1a8b57f399672, []int{4} -} - -func (m *Sentiment) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Sentiment.Unmarshal(m, b) -} -func (m *Sentiment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Sentiment.Marshal(b, m, deterministic) -} -func (m *Sentiment) XXX_Merge(src proto.Message) { - xxx_messageInfo_Sentiment.Merge(m, src) -} -func (m *Sentiment) XXX_Size() int { - return xxx_messageInfo_Sentiment.Size(m) -} -func (m *Sentiment) XXX_DiscardUnknown() { - xxx_messageInfo_Sentiment.DiscardUnknown(m) -} - -var xxx_messageInfo_Sentiment proto.InternalMessageInfo - -func (m *Sentiment) GetPolarity() float32 { - if m != nil { - return m.Polarity - } - return 0 -} - -func (m *Sentiment) GetMagnitude() float32 { - if m != nil { - return m.Magnitude - } - return 0 -} - -func (m *Sentiment) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -// Represents part of speech information for a token. -type PartOfSpeech struct { - // The part of speech tag. - Tag PartOfSpeech_Tag `protobuf:"varint,1,opt,name=tag,proto3,enum=google.cloud.language.v1beta1.PartOfSpeech_Tag" json:"tag,omitempty"` - // The grammatical aspect. - Aspect PartOfSpeech_Aspect `protobuf:"varint,2,opt,name=aspect,proto3,enum=google.cloud.language.v1beta1.PartOfSpeech_Aspect" json:"aspect,omitempty"` - // The grammatical case. - Case PartOfSpeech_Case `protobuf:"varint,3,opt,name=case,proto3,enum=google.cloud.language.v1beta1.PartOfSpeech_Case" json:"case,omitempty"` - // The grammatical form. - Form PartOfSpeech_Form `protobuf:"varint,4,opt,name=form,proto3,enum=google.cloud.language.v1beta1.PartOfSpeech_Form" json:"form,omitempty"` - // The grammatical gender. - Gender PartOfSpeech_Gender `protobuf:"varint,5,opt,name=gender,proto3,enum=google.cloud.language.v1beta1.PartOfSpeech_Gender" json:"gender,omitempty"` - // The grammatical mood. - Mood PartOfSpeech_Mood `protobuf:"varint,6,opt,name=mood,proto3,enum=google.cloud.language.v1beta1.PartOfSpeech_Mood" json:"mood,omitempty"` - // The grammatical number. - Number PartOfSpeech_Number `protobuf:"varint,7,opt,name=number,proto3,enum=google.cloud.language.v1beta1.PartOfSpeech_Number" json:"number,omitempty"` - // The grammatical person. - Person PartOfSpeech_Person `protobuf:"varint,8,opt,name=person,proto3,enum=google.cloud.language.v1beta1.PartOfSpeech_Person" json:"person,omitempty"` - // The grammatical properness. - Proper PartOfSpeech_Proper `protobuf:"varint,9,opt,name=proper,proto3,enum=google.cloud.language.v1beta1.PartOfSpeech_Proper" json:"proper,omitempty"` - // The grammatical reciprocity. - Reciprocity PartOfSpeech_Reciprocity `protobuf:"varint,10,opt,name=reciprocity,proto3,enum=google.cloud.language.v1beta1.PartOfSpeech_Reciprocity" json:"reciprocity,omitempty"` - // The grammatical tense. - Tense PartOfSpeech_Tense `protobuf:"varint,11,opt,name=tense,proto3,enum=google.cloud.language.v1beta1.PartOfSpeech_Tense" json:"tense,omitempty"` - // The grammatical voice. - Voice PartOfSpeech_Voice `protobuf:"varint,12,opt,name=voice,proto3,enum=google.cloud.language.v1beta1.PartOfSpeech_Voice" json:"voice,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1ca1a8b57f399672, []int{5} -} - -func (m *PartOfSpeech) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PartOfSpeech.Unmarshal(m, b) -} -func (m *PartOfSpeech) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PartOfSpeech.Marshal(b, m, deterministic) -} -func (m *PartOfSpeech) XXX_Merge(src proto.Message) { - xxx_messageInfo_PartOfSpeech.Merge(m, src) -} -func (m *PartOfSpeech) XXX_Size() int { - return xxx_messageInfo_PartOfSpeech.Size(m) -} -func (m *PartOfSpeech) XXX_DiscardUnknown() { - xxx_messageInfo_PartOfSpeech.DiscardUnknown(m) -} - -var xxx_messageInfo_PartOfSpeech proto.InternalMessageInfo - -func (m *PartOfSpeech) GetTag() PartOfSpeech_Tag { - if m != nil { - return m.Tag - } - return PartOfSpeech_UNKNOWN -} - -func (m *PartOfSpeech) GetAspect() PartOfSpeech_Aspect { - if m != nil { - return m.Aspect - } - return PartOfSpeech_ASPECT_UNKNOWN -} - -func (m *PartOfSpeech) GetCase() PartOfSpeech_Case { - if m != nil { - return m.Case - } - return PartOfSpeech_CASE_UNKNOWN -} - -func (m *PartOfSpeech) GetForm() PartOfSpeech_Form { - if m != nil { - return m.Form - } - return PartOfSpeech_FORM_UNKNOWN -} - -func (m *PartOfSpeech) GetGender() PartOfSpeech_Gender { - if m != nil { - return m.Gender - } - return PartOfSpeech_GENDER_UNKNOWN -} - -func (m *PartOfSpeech) GetMood() PartOfSpeech_Mood { - if m != nil { - return m.Mood - } - return PartOfSpeech_MOOD_UNKNOWN -} - -func (m *PartOfSpeech) GetNumber() PartOfSpeech_Number { - if m != nil { - return m.Number - } - return PartOfSpeech_NUMBER_UNKNOWN -} - -func (m *PartOfSpeech) GetPerson() PartOfSpeech_Person { - if m != nil { - return m.Person - } - return PartOfSpeech_PERSON_UNKNOWN -} - -func (m *PartOfSpeech) GetProper() PartOfSpeech_Proper { - if m != nil { - return m.Proper - } - return PartOfSpeech_PROPER_UNKNOWN -} - -func (m *PartOfSpeech) GetReciprocity() PartOfSpeech_Reciprocity { - if m != nil { - return m.Reciprocity - } - return PartOfSpeech_RECIPROCITY_UNKNOWN -} - -func (m *PartOfSpeech) GetTense() PartOfSpeech_Tense { - if m != nil { - return m.Tense - } - return PartOfSpeech_TENSE_UNKNOWN -} - -func (m *PartOfSpeech) GetVoice() PartOfSpeech_Voice { - if m != nil { - return m.Voice - } - return PartOfSpeech_VOICE_UNKNOWN -} - -// Represents dependency parse tree information for a token. -type DependencyEdge struct { - // Represents the head of this token in the dependency tree. - // This is the index of the token which has an arc going to this token. - // The index is the position of the token in the array of tokens returned - // by the API method. If this token is a root token, then the - // `head_token_index` is its own index. - HeadTokenIndex int32 `protobuf:"varint,1,opt,name=head_token_index,json=headTokenIndex,proto3" json:"head_token_index,omitempty"` - // The parse label for the token. - Label DependencyEdge_Label `protobuf:"varint,2,opt,name=label,proto3,enum=google.cloud.language.v1beta1.DependencyEdge_Label" json:"label,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1ca1a8b57f399672, []int{6} -} - -func (m *DependencyEdge) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DependencyEdge.Unmarshal(m, b) -} -func (m *DependencyEdge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DependencyEdge.Marshal(b, m, deterministic) -} -func (m *DependencyEdge) XXX_Merge(src proto.Message) { - xxx_messageInfo_DependencyEdge.Merge(m, src) -} -func (m *DependencyEdge) XXX_Size() int { - return xxx_messageInfo_DependencyEdge.Size(m) -} -func (m *DependencyEdge) XXX_DiscardUnknown() { - xxx_messageInfo_DependencyEdge.DiscardUnknown(m) -} - -var xxx_messageInfo_DependencyEdge proto.InternalMessageInfo - -func (m *DependencyEdge) GetHeadTokenIndex() int32 { - if m != nil { - return m.HeadTokenIndex - } - return 0 -} - -func (m *DependencyEdge) GetLabel() DependencyEdge_Label { - if m != nil { - return m.Label - } - return DependencyEdge_UNKNOWN -} - -// Represents a mention for an entity in the text. Currently, proper noun -// mentions are supported. -type EntityMention struct { - // The mention text. - Text *TextSpan `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` - // The type of the entity mention. - Type EntityMention_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.language.v1beta1.EntityMention_Type" json:"type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1ca1a8b57f399672, []int{7} -} - -func (m *EntityMention) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EntityMention.Unmarshal(m, b) -} -func (m *EntityMention) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EntityMention.Marshal(b, m, deterministic) -} -func (m *EntityMention) XXX_Merge(src proto.Message) { - xxx_messageInfo_EntityMention.Merge(m, src) -} -func (m *EntityMention) XXX_Size() int { - return xxx_messageInfo_EntityMention.Size(m) -} -func (m *EntityMention) XXX_DiscardUnknown() { - xxx_messageInfo_EntityMention.DiscardUnknown(m) -} - -var xxx_messageInfo_EntityMention proto.InternalMessageInfo - -func (m *EntityMention) GetText() *TextSpan { - if m != nil { - return m.Text - } - return nil -} - -func (m *EntityMention) GetType() EntityMention_Type { - if m != nil { - return m.Type - } - return EntityMention_TYPE_UNKNOWN -} - -// Represents an output piece of text. -type TextSpan struct { - // The content of the output text. - Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` - // The API calculates the beginning offset of the content in the original - // document according to the - // [EncodingType][google.cloud.language.v1beta1.EncodingType] specified in the - // API request. - BeginOffset int32 `protobuf:"varint,2,opt,name=begin_offset,json=beginOffset,proto3" json:"begin_offset,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1ca1a8b57f399672, []int{8} -} - -func (m *TextSpan) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextSpan.Unmarshal(m, b) -} -func (m *TextSpan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextSpan.Marshal(b, m, deterministic) -} -func (m *TextSpan) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextSpan.Merge(m, src) -} -func (m *TextSpan) XXX_Size() int { - return xxx_messageInfo_TextSpan.Size(m) -} -func (m *TextSpan) XXX_DiscardUnknown() { - xxx_messageInfo_TextSpan.DiscardUnknown(m) -} - -var xxx_messageInfo_TextSpan proto.InternalMessageInfo - -func (m *TextSpan) GetContent() string { - if m != nil { - return m.Content - } - return "" -} - -func (m *TextSpan) GetBeginOffset() int32 { - if m != nil { - return m.BeginOffset - } - return 0 -} - -// The sentiment analysis request message. -type AnalyzeSentimentRequest struct { - // Input document. - Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` - // The encoding type used by the API to calculate sentence offsets for the - // sentence sentiment. - EncodingType EncodingType `protobuf:"varint,2,opt,name=encoding_type,json=encodingType,proto3,enum=google.cloud.language.v1beta1.EncodingType" json:"encoding_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1ca1a8b57f399672, []int{9} -} - -func (m *AnalyzeSentimentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeSentimentRequest.Unmarshal(m, b) -} -func (m *AnalyzeSentimentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeSentimentRequest.Marshal(b, m, deterministic) -} -func (m *AnalyzeSentimentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeSentimentRequest.Merge(m, src) -} -func (m *AnalyzeSentimentRequest) XXX_Size() int { - return xxx_messageInfo_AnalyzeSentimentRequest.Size(m) -} -func (m *AnalyzeSentimentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeSentimentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AnalyzeSentimentRequest proto.InternalMessageInfo - -func (m *AnalyzeSentimentRequest) GetDocument() *Document { - if m != nil { - return m.Document - } - return nil -} - -func (m *AnalyzeSentimentRequest) GetEncodingType() EncodingType { - if m != nil { - return m.EncodingType - } - return EncodingType_NONE -} - -// The sentiment analysis response message. -type AnalyzeSentimentResponse struct { - // The overall sentiment of the input document. - DocumentSentiment *Sentiment `protobuf:"bytes,1,opt,name=document_sentiment,json=documentSentiment,proto3" json:"document_sentiment,omitempty"` - // The language of the text, which will be the same as the language specified - // in the request or, if not specified, the automatically-detected language. - // See [Document.language][google.cloud.language.v1beta1.Document.language] - // field for more details. - Language string `protobuf:"bytes,2,opt,name=language,proto3" json:"language,omitempty"` - // The sentiment for all the sentences in the document. - Sentences []*Sentence `protobuf:"bytes,3,rep,name=sentences,proto3" json:"sentences,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AnalyzeSentimentResponse) Reset() { *m = AnalyzeSentimentResponse{} } -func (m *AnalyzeSentimentResponse) String() string { return proto.CompactTextString(m) } -func (*AnalyzeSentimentResponse) ProtoMessage() {} -func (*AnalyzeSentimentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1ca1a8b57f399672, []int{10} -} - -func (m *AnalyzeSentimentResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeSentimentResponse.Unmarshal(m, b) -} -func (m *AnalyzeSentimentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeSentimentResponse.Marshal(b, m, deterministic) -} -func (m *AnalyzeSentimentResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeSentimentResponse.Merge(m, src) -} -func (m *AnalyzeSentimentResponse) XXX_Size() int { - return xxx_messageInfo_AnalyzeSentimentResponse.Size(m) -} -func (m *AnalyzeSentimentResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeSentimentResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AnalyzeSentimentResponse proto.InternalMessageInfo - -func (m *AnalyzeSentimentResponse) GetDocumentSentiment() *Sentiment { - if m != nil { - return m.DocumentSentiment - } - return nil -} - -func (m *AnalyzeSentimentResponse) GetLanguage() string { - if m != nil { - return m.Language - } - return "" -} - -func (m *AnalyzeSentimentResponse) GetSentences() []*Sentence { - if m != nil { - return m.Sentences - } - return nil -} - -// The entity analysis request message. -type AnalyzeEntitiesRequest struct { - // Input document. - Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` - // The encoding type used by the API to calculate offsets. - EncodingType EncodingType `protobuf:"varint,2,opt,name=encoding_type,json=encodingType,proto3,enum=google.cloud.language.v1beta1.EncodingType" json:"encoding_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1ca1a8b57f399672, []int{11} -} - -func (m *AnalyzeEntitiesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeEntitiesRequest.Unmarshal(m, b) -} -func (m *AnalyzeEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeEntitiesRequest.Marshal(b, m, deterministic) -} -func (m *AnalyzeEntitiesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeEntitiesRequest.Merge(m, src) -} -func (m *AnalyzeEntitiesRequest) XXX_Size() int { - return xxx_messageInfo_AnalyzeEntitiesRequest.Size(m) -} -func (m *AnalyzeEntitiesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeEntitiesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AnalyzeEntitiesRequest proto.InternalMessageInfo - -func (m *AnalyzeEntitiesRequest) GetDocument() *Document { - if m != nil { - return m.Document - } - return nil -} - -func (m *AnalyzeEntitiesRequest) GetEncodingType() EncodingType { - if m != nil { - return m.EncodingType - } - return EncodingType_NONE -} - -// The entity analysis response message. -type AnalyzeEntitiesResponse struct { - // The recognized entities in the input document. - Entities []*Entity `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"` - // The language of the text, which will be the same as the language specified - // in the request or, if not specified, the automatically-detected language. - // See [Document.language][google.cloud.language.v1beta1.Document.language] - // field for more details. - Language string `protobuf:"bytes,2,opt,name=language,proto3" json:"language,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1ca1a8b57f399672, []int{12} -} - -func (m *AnalyzeEntitiesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeEntitiesResponse.Unmarshal(m, b) -} -func (m *AnalyzeEntitiesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeEntitiesResponse.Marshal(b, m, deterministic) -} -func (m *AnalyzeEntitiesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeEntitiesResponse.Merge(m, src) -} -func (m *AnalyzeEntitiesResponse) XXX_Size() int { - return xxx_messageInfo_AnalyzeEntitiesResponse.Size(m) -} -func (m *AnalyzeEntitiesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeEntitiesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AnalyzeEntitiesResponse proto.InternalMessageInfo - -func (m *AnalyzeEntitiesResponse) GetEntities() []*Entity { - if m != nil { - return m.Entities - } - return nil -} - -func (m *AnalyzeEntitiesResponse) GetLanguage() string { - if m != nil { - return m.Language - } - return "" -} - -// The syntax analysis request message. -type AnalyzeSyntaxRequest struct { - // Input document. - Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` - // The encoding type used by the API to calculate offsets. - EncodingType EncodingType `protobuf:"varint,2,opt,name=encoding_type,json=encodingType,proto3,enum=google.cloud.language.v1beta1.EncodingType" json:"encoding_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1ca1a8b57f399672, []int{13} -} - -func (m *AnalyzeSyntaxRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeSyntaxRequest.Unmarshal(m, b) -} -func (m *AnalyzeSyntaxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeSyntaxRequest.Marshal(b, m, deterministic) -} -func (m *AnalyzeSyntaxRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeSyntaxRequest.Merge(m, src) -} -func (m *AnalyzeSyntaxRequest) XXX_Size() int { - return xxx_messageInfo_AnalyzeSyntaxRequest.Size(m) -} -func (m *AnalyzeSyntaxRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeSyntaxRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AnalyzeSyntaxRequest proto.InternalMessageInfo - -func (m *AnalyzeSyntaxRequest) GetDocument() *Document { - if m != nil { - return m.Document - } - return nil -} - -func (m *AnalyzeSyntaxRequest) GetEncodingType() EncodingType { - if m != nil { - return m.EncodingType - } - return EncodingType_NONE -} - -// The syntax analysis response message. -type AnalyzeSyntaxResponse struct { - // Sentences in the input document. - Sentences []*Sentence `protobuf:"bytes,1,rep,name=sentences,proto3" json:"sentences,omitempty"` - // Tokens, along with their syntactic information, in the input document. - Tokens []*Token `protobuf:"bytes,2,rep,name=tokens,proto3" json:"tokens,omitempty"` - // The language of the text, which will be the same as the language specified - // in the request or, if not specified, the automatically-detected language. - // See [Document.language][google.cloud.language.v1beta1.Document.language] - // field for more details. - Language string `protobuf:"bytes,3,opt,name=language,proto3" json:"language,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1ca1a8b57f399672, []int{14} -} - -func (m *AnalyzeSyntaxResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeSyntaxResponse.Unmarshal(m, b) -} -func (m *AnalyzeSyntaxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeSyntaxResponse.Marshal(b, m, deterministic) -} -func (m *AnalyzeSyntaxResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeSyntaxResponse.Merge(m, src) -} -func (m *AnalyzeSyntaxResponse) XXX_Size() int { - return xxx_messageInfo_AnalyzeSyntaxResponse.Size(m) -} -func (m *AnalyzeSyntaxResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeSyntaxResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AnalyzeSyntaxResponse proto.InternalMessageInfo - -func (m *AnalyzeSyntaxResponse) GetSentences() []*Sentence { - if m != nil { - return m.Sentences - } - return nil -} - -func (m *AnalyzeSyntaxResponse) GetTokens() []*Token { - if m != nil { - return m.Tokens - } - return nil -} - -func (m *AnalyzeSyntaxResponse) GetLanguage() string { - if m != nil { - return m.Language - } - return "" -} - -// The request message for the text annotation API, which can perform multiple -// analysis types (sentiment, entities, and syntax) in one call. -type AnnotateTextRequest struct { - // Input document. - Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` - // The enabled features. - Features *AnnotateTextRequest_Features `protobuf:"bytes,2,opt,name=features,proto3" json:"features,omitempty"` - // The encoding type used by the API to calculate offsets. - EncodingType EncodingType `protobuf:"varint,3,opt,name=encoding_type,json=encodingType,proto3,enum=google.cloud.language.v1beta1.EncodingType" json:"encoding_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1ca1a8b57f399672, []int{15} -} - -func (m *AnnotateTextRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotateTextRequest.Unmarshal(m, b) -} -func (m *AnnotateTextRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotateTextRequest.Marshal(b, m, deterministic) -} -func (m *AnnotateTextRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateTextRequest.Merge(m, src) -} -func (m *AnnotateTextRequest) XXX_Size() int { - return xxx_messageInfo_AnnotateTextRequest.Size(m) -} -func (m *AnnotateTextRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotateTextRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotateTextRequest proto.InternalMessageInfo - -func (m *AnnotateTextRequest) GetDocument() *Document { - if m != nil { - return m.Document - } - return nil -} - -func (m *AnnotateTextRequest) GetFeatures() *AnnotateTextRequest_Features { - if m != nil { - return m.Features - } - return nil -} - -func (m *AnnotateTextRequest) GetEncodingType() EncodingType { - if m != nil { - return m.EncodingType - } - return EncodingType_NONE -} - -// All available features for sentiment, syntax, and semantic analysis. -// Setting each one to true will enable that specific analysis for the input. -type AnnotateTextRequest_Features struct { - // Extract syntax information. - ExtractSyntax bool `protobuf:"varint,1,opt,name=extract_syntax,json=extractSyntax,proto3" json:"extract_syntax,omitempty"` - // Extract entities. - ExtractEntities bool `protobuf:"varint,2,opt,name=extract_entities,json=extractEntities,proto3" json:"extract_entities,omitempty"` - // Extract document-level sentiment. - ExtractDocumentSentiment bool `protobuf:"varint,3,opt,name=extract_document_sentiment,json=extractDocumentSentiment,proto3" json:"extract_document_sentiment,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AnnotateTextRequest_Features) Reset() { *m = AnnotateTextRequest_Features{} } -func (m *AnnotateTextRequest_Features) String() string { return proto.CompactTextString(m) } -func (*AnnotateTextRequest_Features) ProtoMessage() {} -func (*AnnotateTextRequest_Features) Descriptor() ([]byte, []int) { - return fileDescriptor_1ca1a8b57f399672, []int{15, 0} -} - -func (m *AnnotateTextRequest_Features) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotateTextRequest_Features.Unmarshal(m, b) -} -func (m *AnnotateTextRequest_Features) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotateTextRequest_Features.Marshal(b, m, deterministic) -} -func (m *AnnotateTextRequest_Features) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateTextRequest_Features.Merge(m, src) -} -func (m *AnnotateTextRequest_Features) XXX_Size() int { - return xxx_messageInfo_AnnotateTextRequest_Features.Size(m) -} -func (m *AnnotateTextRequest_Features) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotateTextRequest_Features.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotateTextRequest_Features proto.InternalMessageInfo - -func (m *AnnotateTextRequest_Features) GetExtractSyntax() bool { - if m != nil { - return m.ExtractSyntax - } - return false -} - -func (m *AnnotateTextRequest_Features) GetExtractEntities() bool { - if m != nil { - return m.ExtractEntities - } - return false -} - -func (m *AnnotateTextRequest_Features) GetExtractDocumentSentiment() bool { - if m != nil { - return m.ExtractDocumentSentiment - } - return false -} - -// The text annotations response message. -type AnnotateTextResponse struct { - // Sentences in the input document. Populated if the user enables - // [AnnotateTextRequest.Features.extract_syntax][google.cloud.language.v1beta1.AnnotateTextRequest.Features.extract_syntax]. - Sentences []*Sentence `protobuf:"bytes,1,rep,name=sentences,proto3" json:"sentences,omitempty"` - // Tokens, along with their syntactic information, in the input document. - // Populated if the user enables - // [AnnotateTextRequest.Features.extract_syntax][google.cloud.language.v1beta1.AnnotateTextRequest.Features.extract_syntax]. - Tokens []*Token `protobuf:"bytes,2,rep,name=tokens,proto3" json:"tokens,omitempty"` - // Entities, along with their semantic information, in the input document. - // Populated if the user enables - // [AnnotateTextRequest.Features.extract_entities][google.cloud.language.v1beta1.AnnotateTextRequest.Features.extract_entities]. - Entities []*Entity `protobuf:"bytes,3,rep,name=entities,proto3" json:"entities,omitempty"` - // The overall sentiment for the document. Populated if the user enables - // [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1beta1.AnnotateTextRequest.Features.extract_document_sentiment]. - DocumentSentiment *Sentiment `protobuf:"bytes,4,opt,name=document_sentiment,json=documentSentiment,proto3" json:"document_sentiment,omitempty"` - // The language of the text, which will be the same as the language specified - // in the request or, if not specified, the automatically-detected language. - // See [Document.language][google.cloud.language.v1beta1.Document.language] - // field for more details. - Language string `protobuf:"bytes,5,opt,name=language,proto3" json:"language,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1ca1a8b57f399672, []int{16} -} - -func (m *AnnotateTextResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotateTextResponse.Unmarshal(m, b) -} -func (m *AnnotateTextResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotateTextResponse.Marshal(b, m, deterministic) -} -func (m *AnnotateTextResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateTextResponse.Merge(m, src) -} -func (m *AnnotateTextResponse) XXX_Size() int { - return xxx_messageInfo_AnnotateTextResponse.Size(m) -} -func (m *AnnotateTextResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotateTextResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotateTextResponse proto.InternalMessageInfo - -func (m *AnnotateTextResponse) GetSentences() []*Sentence { - if m != nil { - return m.Sentences - } - return nil -} - -func (m *AnnotateTextResponse) GetTokens() []*Token { - if m != nil { - return m.Tokens - } - return nil -} - -func (m *AnnotateTextResponse) GetEntities() []*Entity { - if m != nil { - return m.Entities - } - return nil -} - -func (m *AnnotateTextResponse) GetDocumentSentiment() *Sentiment { - if m != nil { - return m.DocumentSentiment - } - return nil -} - -func (m *AnnotateTextResponse) GetLanguage() string { - if m != nil { - return m.Language - } - return "" -} - -func init() { - proto.RegisterEnum("google.cloud.language.v1beta1.EncodingType", EncodingType_name, EncodingType_value) - proto.RegisterEnum("google.cloud.language.v1beta1.Document_Type", Document_Type_name, Document_Type_value) - proto.RegisterEnum("google.cloud.language.v1beta1.Entity_Type", Entity_Type_name, Entity_Type_value) - proto.RegisterEnum("google.cloud.language.v1beta1.PartOfSpeech_Tag", PartOfSpeech_Tag_name, PartOfSpeech_Tag_value) - proto.RegisterEnum("google.cloud.language.v1beta1.PartOfSpeech_Aspect", PartOfSpeech_Aspect_name, PartOfSpeech_Aspect_value) - proto.RegisterEnum("google.cloud.language.v1beta1.PartOfSpeech_Case", PartOfSpeech_Case_name, PartOfSpeech_Case_value) - proto.RegisterEnum("google.cloud.language.v1beta1.PartOfSpeech_Form", PartOfSpeech_Form_name, PartOfSpeech_Form_value) - proto.RegisterEnum("google.cloud.language.v1beta1.PartOfSpeech_Gender", PartOfSpeech_Gender_name, PartOfSpeech_Gender_value) - proto.RegisterEnum("google.cloud.language.v1beta1.PartOfSpeech_Mood", PartOfSpeech_Mood_name, PartOfSpeech_Mood_value) - proto.RegisterEnum("google.cloud.language.v1beta1.PartOfSpeech_Number", PartOfSpeech_Number_name, PartOfSpeech_Number_value) - proto.RegisterEnum("google.cloud.language.v1beta1.PartOfSpeech_Person", PartOfSpeech_Person_name, PartOfSpeech_Person_value) - proto.RegisterEnum("google.cloud.language.v1beta1.PartOfSpeech_Proper", PartOfSpeech_Proper_name, PartOfSpeech_Proper_value) - proto.RegisterEnum("google.cloud.language.v1beta1.PartOfSpeech_Reciprocity", PartOfSpeech_Reciprocity_name, PartOfSpeech_Reciprocity_value) - proto.RegisterEnum("google.cloud.language.v1beta1.PartOfSpeech_Tense", PartOfSpeech_Tense_name, PartOfSpeech_Tense_value) - proto.RegisterEnum("google.cloud.language.v1beta1.PartOfSpeech_Voice", PartOfSpeech_Voice_name, PartOfSpeech_Voice_value) - proto.RegisterEnum("google.cloud.language.v1beta1.DependencyEdge_Label", DependencyEdge_Label_name, DependencyEdge_Label_value) - proto.RegisterEnum("google.cloud.language.v1beta1.EntityMention_Type", EntityMention_Type_name, EntityMention_Type_value) - proto.RegisterType((*Document)(nil), "google.cloud.language.v1beta1.Document") - proto.RegisterType((*Sentence)(nil), "google.cloud.language.v1beta1.Sentence") - proto.RegisterType((*Entity)(nil), "google.cloud.language.v1beta1.Entity") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.language.v1beta1.Entity.MetadataEntry") - proto.RegisterType((*Token)(nil), "google.cloud.language.v1beta1.Token") - proto.RegisterType((*Sentiment)(nil), "google.cloud.language.v1beta1.Sentiment") - proto.RegisterType((*PartOfSpeech)(nil), "google.cloud.language.v1beta1.PartOfSpeech") - proto.RegisterType((*DependencyEdge)(nil), "google.cloud.language.v1beta1.DependencyEdge") - proto.RegisterType((*EntityMention)(nil), "google.cloud.language.v1beta1.EntityMention") - proto.RegisterType((*TextSpan)(nil), "google.cloud.language.v1beta1.TextSpan") - proto.RegisterType((*AnalyzeSentimentRequest)(nil), "google.cloud.language.v1beta1.AnalyzeSentimentRequest") - proto.RegisterType((*AnalyzeSentimentResponse)(nil), "google.cloud.language.v1beta1.AnalyzeSentimentResponse") - proto.RegisterType((*AnalyzeEntitiesRequest)(nil), "google.cloud.language.v1beta1.AnalyzeEntitiesRequest") - proto.RegisterType((*AnalyzeEntitiesResponse)(nil), "google.cloud.language.v1beta1.AnalyzeEntitiesResponse") - proto.RegisterType((*AnalyzeSyntaxRequest)(nil), "google.cloud.language.v1beta1.AnalyzeSyntaxRequest") - proto.RegisterType((*AnalyzeSyntaxResponse)(nil), "google.cloud.language.v1beta1.AnalyzeSyntaxResponse") - proto.RegisterType((*AnnotateTextRequest)(nil), "google.cloud.language.v1beta1.AnnotateTextRequest") - proto.RegisterType((*AnnotateTextRequest_Features)(nil), "google.cloud.language.v1beta1.AnnotateTextRequest.Features") - proto.RegisterType((*AnnotateTextResponse)(nil), "google.cloud.language.v1beta1.AnnotateTextResponse") -} - -func init() { - proto.RegisterFile("google/cloud/language/v1beta1/language_service.proto", fileDescriptor_1ca1a8b57f399672) -} - -var fileDescriptor_1ca1a8b57f399672 = []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, - 0x2b, 0x76, 0x42, 0xc5, 0x52, 0xe2, 0xb8, 0x76, 0x9a, 0x06, 0x02, 0x96, 0x14, 0x64, 0x10, 0x40, - 0x16, 0x00, 0x25, 0xa7, 0x07, 0x0e, 0x4c, 0xae, 0x19, 0x4e, 0x24, 0x80, 0x25, 0x21, 0x8f, 0xd5, - 0x4b, 0x67, 0x32, 0xd3, 0x63, 0xa7, 0x87, 0xde, 0x7a, 0x6c, 0x0f, 0x3d, 0x75, 0xd2, 0x99, 0x5e, - 0xda, 0x0f, 0xd0, 0x43, 0xa7, 0xc7, 0xcc, 0xf4, 0x13, 0xf4, 0xd8, 0x43, 0x0f, 0x3d, 0xf4, 0xd8, - 0x79, 0xbb, 0x0b, 0xfe, 0x51, 0x1c, 0x4b, 0x4c, 0x72, 0xc8, 0x6d, 0xf7, 0xf1, 0xfd, 0x7e, 0xef, - 0xed, 0xdb, 0xb7, 0xef, 0x2d, 0x96, 0xe8, 0x9d, 0x41, 0x92, 0x0c, 0x8e, 0xd8, 0x56, 0xef, 0x28, - 0x39, 0xe9, 0x6f, 0x1d, 0x45, 0xf1, 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0xbe, 0x06, 0x17, 0x47, 0x52, 0xc9, 0xa0, 0x3e, 0x40, 0xd5, 0x31, 0xeb, 0x0d, 0x47, 0xe3, - 0xa4, 0x07, 0x49, 0x8f, 0x38, 0xe1, 0x7b, 0xcb, 0x10, 0xd2, 0x19, 0x9c, 0xce, 0x73, 0xa9, 0x2d, - 0x54, 0x4c, 0x59, 0x3c, 0x61, 0xf5, 0x2a, 0x27, 0xbd, 0xb5, 0x54, 0xb6, 0x03, 0x90, 0x0a, 0x3c, - 0x10, 0x3d, 0x4e, 0x86, 0x3d, 0x56, 0xaf, 0x2d, 0x4f, 0xd4, 0x01, 0x20, 0x15, 0x78, 0xed, 0x57, - 0x0a, 0xca, 0x07, 0xd1, 0x60, 0xb1, 0xdc, 0xae, 0xa0, 0xbc, 0x6e, 0xee, 0x63, 0x45, 0x0c, 0x3c, - 0x9c, 0x13, 0x83, 0x0e, 0xce, 0x43, 0x5f, 0x36, 0x5c, 0x67, 0x1f, 0x17, 0x40, 0x64, 0x12, 0x28, - 0xaa, 0x65, 0x54, 0x70, 0xdc, 0xd0, 0xc1, 0x25, 0x10, 0x39, 0x61, 0x1b, 0xaf, 0x80, 0xc8, 0xa3, - 0xae, 0x83, 0xcb, 0x20, 0xf2, 0x68, 0x80, 0x2b, 0x50, 0x67, 0xbd, 0xd0, 0x31, 0x02, 0x8c, 0xe0, - 0xd7, 0x0e, 0xa1, 0xbb, 0xb8, 0xaa, 0x16, 0x91, 0x72, 0x88, 0x6b, 0xf0, 0x9b, 0xde, 0x6c, 0x5a, - 0x87, 0x78, 0x55, 0x73, 0x51, 0x49, 0x1c, 0x48, 0x55, 0x45, 0x6b, 0x3a, 0xdc, 0x10, 0x82, 0xee, - 0xcc, 0x31, 0xb8, 0x25, 0x10, 0xda, 0x24, 0x46, 0x60, 0x75, 0x08, 0x56, 0xa0, 0xfa, 0x5b, 0xed, - 0x39, 0x49, 0x0e, 0x4a, 0xbe, 0x47, 0xdd, 0x16, 0x25, 0xbe, 0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, 0x68, 0x11, 0x1a, 0x3a, 0x26, 0x2e, 0xc2, 0x98, 0x12, 0xdd, 0xb6, 0x7c, 0xb1, 0x6e, 0x8b, - 0xca, 0xd9, 0x0a, 0x6c, 0xad, 0xbf, 0xe7, 0xd2, 0x00, 0x97, 0x61, 0xdb, 0x6d, 0xd7, 0x69, 0x89, - 0x5c, 0x70, 0xa9, 0x49, 0x28, 0x46, 0xa0, 0x2d, 0xaf, 0x81, 0x06, 0xae, 0x6a, 0x04, 0x95, 0x44, - 0xd9, 0x02, 0x1f, 0x5a, 0xc4, 0x31, 0x09, 0x5d, 0x74, 0xba, 0x49, 0xda, 0x96, 0x63, 0x39, 0x72, - 0xb7, 0xda, 0xba, 0x6f, 0x84, 0x36, 0x4c, 0x73, 0xe0, 0x82, 0x43, 0xc2, 0x00, 0x9c, 0xd5, 0x7e, - 0x81, 0x0a, 0x50, 0xb3, 0xc0, 0xe9, 0xb6, 0xeb, 0x9a, 0x73, 0x14, 0x57, 0x10, 0x36, 0x5c, 0xc7, - 0x94, 0x81, 0xed, 0xc2, 0xaf, 0x58, 0x81, 0xcd, 0xe1, 0x69, 0xa4, 0xcb, 0x24, 0x82, 0xb9, 0x63, - 0x5a, 0x32, 0x90, 0x79, 0x88, 0xb4, 0xe5, 0x04, 0x84, 0x52, 0xb7, 0x95, 0xed, 0x7e, 0x15, 0xad, - 0xec, 0x87, 0x22, 0xc7, 0x8a, 0x90, 0x74, 0x7e, 0xb8, 0xbb, 0x0f, 0xe9, 0x0d, 0x82, 0x92, 0xf6, - 0x21, 0x2a, 0x89, 0x62, 0x07, 0xeb, 0x70, 0xc2, 0xf6, 0xee, 0xd9, 0x75, 0xf8, 0x96, 0xd3, 0x0a, - 0x6d, 0x9d, 0x62, 0x85, 0xdf, 0x6d, 0xec, 0x90, 0xf2, 0x94, 0x2b, 0xa3, 0x82, 0x19, 0xea, 0x36, - 0xce, 0x6b, 0x01, 0x2a, 0x89, 0x12, 0x07, 0x0c, 0xe2, 0xee,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, 0xd0, 0xab, 0xbd, 0xe4, 0xf8, 0xd9, 0x66, 0x76, 0xaf, 0x9c, 0x49, 0x77, 0x6f, 0x9c, - 0xa4, 0x89, 0xa7, 0x7c, 0x4c, 0x24, 0x6c, 0x90, 0x00, 0xa4, 0x91, 0x8c, 0x07, 0x5b, 0x03, 0x16, - 0xf3, 0x7f, 0x3e, 0xb7, 0xc4, 0x4f, 0xd1, 0x68, 0x38, 0xf9, 0x8a, 0xff, 0x5b, 0xef, 0x65, 0x82, - 0x87, 0x25, 0x8e, 0xd8, 0xf9, 0x7f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe6, 0xf6, 0xe5, 0xb1, 0xa0, - 0x1d, 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 - -// LanguageServiceClient is the client API for LanguageService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type LanguageServiceClient interface { - // Analyzes the sentiment of the provided text. - AnalyzeSentiment(ctx context.Context, in *AnalyzeSentimentRequest, opts ...grpc.CallOption) (*AnalyzeSentimentResponse, error) - // Finds named entities (currently proper names and common nouns) in the text - // along with entity types, salience, mentions for each entity, and - // other properties. - AnalyzeEntities(ctx context.Context, in *AnalyzeEntitiesRequest, opts ...grpc.CallOption) (*AnalyzeEntitiesResponse, error) - // Analyzes the syntax of the text and provides sentence boundaries and - // tokenization along with part of speech tags, dependency trees, and other - // properties. - AnalyzeSyntax(ctx context.Context, in *AnalyzeSyntaxRequest, opts ...grpc.CallOption) (*AnalyzeSyntaxResponse, error) - // A convenience method that provides all the features that analyzeSentiment, - // analyzeEntities, and analyzeSyntax provide in one call. - AnnotateText(ctx context.Context, in *AnnotateTextRequest, opts ...grpc.CallOption) (*AnnotateTextResponse, error) -} - -type languageServiceClient struct { - cc *grpc.ClientConn -} - -func NewLanguageServiceClient(cc *grpc.ClientConn) LanguageServiceClient { - return &languageServiceClient{cc} -} - -func (c *languageServiceClient) AnalyzeSentiment(ctx context.Context, in *AnalyzeSentimentRequest, opts ...grpc.CallOption) (*AnalyzeSentimentResponse, error) { - out := new(AnalyzeSentimentResponse) - err := c.cc.Invoke(ctx, "/google.cloud.language.v1beta1.LanguageService/AnalyzeSentiment", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *languageServiceClient) AnalyzeEntities(ctx context.Context, in *AnalyzeEntitiesRequest, opts ...grpc.CallOption) (*AnalyzeEntitiesResponse, error) { - out := new(AnalyzeEntitiesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.language.v1beta1.LanguageService/AnalyzeEntities", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *languageServiceClient) AnalyzeSyntax(ctx context.Context, in *AnalyzeSyntaxRequest, opts ...grpc.CallOption) (*AnalyzeSyntaxResponse, error) { - out := new(AnalyzeSyntaxResponse) - err := c.cc.Invoke(ctx, "/google.cloud.language.v1beta1.LanguageService/AnalyzeSyntax", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *languageServiceClient) AnnotateText(ctx context.Context, in *AnnotateTextRequest, opts ...grpc.CallOption) (*AnnotateTextResponse, error) { - out := new(AnnotateTextResponse) - err := c.cc.Invoke(ctx, "/google.cloud.language.v1beta1.LanguageService/AnnotateText", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// LanguageServiceServer is the server API for LanguageService service. -type LanguageServiceServer interface { - // Analyzes the sentiment of the provided text. - AnalyzeSentiment(context.Context, *AnalyzeSentimentRequest) (*AnalyzeSentimentResponse, error) - // Finds named entities (currently proper names and common nouns) in the text - // along with entity types, salience, mentions for each entity, and - // other properties. - AnalyzeEntities(context.Context, *AnalyzeEntitiesRequest) (*AnalyzeEntitiesResponse, error) - // Analyzes the syntax of the text and provides sentence boundaries and - // tokenization along with part of speech tags, dependency trees, and other - // properties. - AnalyzeSyntax(context.Context, *AnalyzeSyntaxRequest) (*AnalyzeSyntaxResponse, error) - // A convenience method that provides all the features that analyzeSentiment, - // analyzeEntities, and analyzeSyntax provide in one call. - AnnotateText(context.Context, *AnnotateTextRequest) (*AnnotateTextResponse, error) -} - -// UnimplementedLanguageServiceServer can be embedded to have forward compatible implementations. -type UnimplementedLanguageServiceServer struct { -} - -func (*UnimplementedLanguageServiceServer) AnalyzeSentiment(ctx context.Context, req *AnalyzeSentimentRequest) (*AnalyzeSentimentResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AnalyzeSentiment not implemented") -} -func (*UnimplementedLanguageServiceServer) AnalyzeEntities(ctx context.Context, req *AnalyzeEntitiesRequest) (*AnalyzeEntitiesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AnalyzeEntities not implemented") -} -func (*UnimplementedLanguageServiceServer) AnalyzeSyntax(ctx context.Context, req *AnalyzeSyntaxRequest) (*AnalyzeSyntaxResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AnalyzeSyntax not implemented") -} -func (*UnimplementedLanguageServiceServer) AnnotateText(ctx context.Context, req *AnnotateTextRequest) (*AnnotateTextResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AnnotateText not implemented") -} - -func RegisterLanguageServiceServer(s *grpc.Server, srv LanguageServiceServer) { - s.RegisterService(&_LanguageService_serviceDesc, srv) -} - -func _LanguageService_AnalyzeSentiment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AnalyzeSentimentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LanguageServiceServer).AnalyzeSentiment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.language.v1beta1.LanguageService/AnalyzeSentiment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LanguageServiceServer).AnalyzeSentiment(ctx, req.(*AnalyzeSentimentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LanguageService_AnalyzeEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AnalyzeEntitiesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LanguageServiceServer).AnalyzeEntities(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.language.v1beta1.LanguageService/AnalyzeEntities", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LanguageServiceServer).AnalyzeEntities(ctx, req.(*AnalyzeEntitiesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LanguageService_AnalyzeSyntax_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AnalyzeSyntaxRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LanguageServiceServer).AnalyzeSyntax(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.language.v1beta1.LanguageService/AnalyzeSyntax", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LanguageServiceServer).AnalyzeSyntax(ctx, req.(*AnalyzeSyntaxRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LanguageService_AnnotateText_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AnnotateTextRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LanguageServiceServer).AnnotateText(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.language.v1beta1.LanguageService/AnnotateText", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LanguageServiceServer).AnnotateText(ctx, req.(*AnnotateTextRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _LanguageService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.language.v1beta1.LanguageService", - HandlerType: (*LanguageServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AnalyzeSentiment", - Handler: _LanguageService_AnalyzeSentiment_Handler, - }, - { - MethodName: "AnalyzeEntities", - Handler: _LanguageService_AnalyzeEntities_Handler, - }, - { - MethodName: "AnalyzeSyntax", - Handler: _LanguageService_AnalyzeSyntax_Handler, - }, - { - MethodName: "AnnotateText", - Handler: _LanguageService_AnnotateText_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/language/v1beta1/language_service.proto", -} 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 deleted file mode 100644 index 0b7df69a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/language/v1beta2/language_service.pb.go +++ /dev/null @@ -1,3200 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/language/v1beta2/language_service.proto - -package language - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Represents the text encoding that the caller uses to process the output. -// Providing an `EncodingType` is recommended because the API provides the -// beginning offsets for various outputs, such as tokens and mentions, and -// languages that natively use different text encodings may access offsets -// differently. -type EncodingType int32 - -const ( - // If `EncodingType` is not specified, encoding-dependent information (such as - // `begin_offset`) will be set at `-1`. - EncodingType_NONE EncodingType = 0 - // Encoding-dependent information (such as `begin_offset`) is calculated based - // on the UTF-8 encoding of the input. C++ and Go are examples of languages - // that use this encoding natively. - EncodingType_UTF8 EncodingType = 1 - // Encoding-dependent information (such as `begin_offset`) is calculated based - // on the UTF-16 encoding of the input. Java and JavaScript are examples of - // languages that use this encoding natively. - EncodingType_UTF16 EncodingType = 2 - // Encoding-dependent information (such as `begin_offset`) is calculated based - // on the UTF-32 encoding of the input. Python is an example of a language - // that uses this encoding natively. - EncodingType_UTF32 EncodingType = 3 -) - -var EncodingType_name = map[int32]string{ - 0: "NONE", - 1: "UTF8", - 2: "UTF16", - 3: "UTF32", -} - -var EncodingType_value = map[string]int32{ - "NONE": 0, - "UTF8": 1, - "UTF16": 2, - "UTF32": 3, -} - -func (x EncodingType) String() string { - return proto.EnumName(EncodingType_name, int32(x)) -} - -func (EncodingType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_640cb15898844b6f, []int{0} -} - -// The document types enum. -type Document_Type int32 - -const ( - // The content type is not specified. - Document_TYPE_UNSPECIFIED Document_Type = 0 - // Plain text - Document_PLAIN_TEXT Document_Type = 1 - // HTML - Document_HTML Document_Type = 2 -) - -var Document_Type_name = map[int32]string{ - 0: "TYPE_UNSPECIFIED", - 1: "PLAIN_TEXT", - 2: "HTML", -} - -var Document_Type_value = map[string]int32{ - "TYPE_UNSPECIFIED": 0, - "PLAIN_TEXT": 1, - "HTML": 2, -} - -func (x Document_Type) String() string { - return proto.EnumName(Document_Type_name, int32(x)) -} - -func (Document_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_640cb15898844b6f, []int{0, 0} -} - -// The type of the entity. For most entity types, the associated metadata is a -// Wikipedia URL (`wikipedia_url`) and Knowledge Graph MID (`mid`). The table -// below lists the associated fields for entities that have different -// metadata. -type Entity_Type int32 - -const ( - // Unknown - Entity_UNKNOWN Entity_Type = 0 - // Person - Entity_PERSON Entity_Type = 1 - // Location - Entity_LOCATION Entity_Type = 2 - // Organization - Entity_ORGANIZATION Entity_Type = 3 - // Event - Entity_EVENT Entity_Type = 4 - // Artwork - Entity_WORK_OF_ART Entity_Type = 5 - // Consumer product - Entity_CONSUMER_GOOD Entity_Type = 6 - // Other types of entities - Entity_OTHER Entity_Type = 7 - // Phone number - // - // The metadata lists the phone number, formatted according to local - // convention, plus whichever additional elements appear in the text: - // - // * `number` - the actual number, broken down into sections as per local - // convention - // * `national_prefix` - country code, if detected - // * `area_code` - region or area code, if detected - // * `extension` - phone extension (to be dialed after connection), if - // detected - Entity_PHONE_NUMBER Entity_Type = 9 - // Address - // - // The metadata identifies the street number and locality plus whichever - // additional elements appear in the text: - // - // * `street_number` - street number - // * `locality` - city or town - // * `street_name` - street/route name, if detected - // * `postal_code` - postal code, if detected - // * `country` - country, if detected< - // * `broad_region` - administrative area, such as the state, if detected - // * `narrow_region` - smaller administrative area, such as county, if - // detected - // * `sublocality` - used in Asian addresses to demark a district within a - // city, if detected - Entity_ADDRESS Entity_Type = 10 - // Date - // - // The metadata identifies the components of the date: - // - // * `year` - four digit year, if detected - // * `month` - two digit month number, if detected - // * `day` - two digit day number, if detected - Entity_DATE Entity_Type = 11 - // Number - // - // The metadata is the number itself. - Entity_NUMBER Entity_Type = 12 - // Price - // - // The metadata identifies the `value` and `currency`. - Entity_PRICE Entity_Type = 13 -) - -var Entity_Type_name = map[int32]string{ - 0: "UNKNOWN", - 1: "PERSON", - 2: "LOCATION", - 3: "ORGANIZATION", - 4: "EVENT", - 5: "WORK_OF_ART", - 6: "CONSUMER_GOOD", - 7: "OTHER", - 9: "PHONE_NUMBER", - 10: "ADDRESS", - 11: "DATE", - 12: "NUMBER", - 13: "PRICE", -} - -var Entity_Type_value = map[string]int32{ - "UNKNOWN": 0, - "PERSON": 1, - "LOCATION": 2, - "ORGANIZATION": 3, - "EVENT": 4, - "WORK_OF_ART": 5, - "CONSUMER_GOOD": 6, - "OTHER": 7, - "PHONE_NUMBER": 9, - "ADDRESS": 10, - "DATE": 11, - "NUMBER": 12, - "PRICE": 13, -} - -func (x Entity_Type) String() string { - return proto.EnumName(Entity_Type_name, int32(x)) -} - -func (Entity_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_640cb15898844b6f, []int{2, 0} -} - -// The part of speech tags enum. -type PartOfSpeech_Tag int32 - -const ( - // Unknown - PartOfSpeech_UNKNOWN PartOfSpeech_Tag = 0 - // Adjective - PartOfSpeech_ADJ PartOfSpeech_Tag = 1 - // Adposition (preposition and postposition) - PartOfSpeech_ADP PartOfSpeech_Tag = 2 - // Adverb - PartOfSpeech_ADV PartOfSpeech_Tag = 3 - // Conjunction - PartOfSpeech_CONJ PartOfSpeech_Tag = 4 - // Determiner - PartOfSpeech_DET PartOfSpeech_Tag = 5 - // Noun (common and proper) - PartOfSpeech_NOUN PartOfSpeech_Tag = 6 - // Cardinal number - PartOfSpeech_NUM PartOfSpeech_Tag = 7 - // Pronoun - PartOfSpeech_PRON PartOfSpeech_Tag = 8 - // Particle or other function word - PartOfSpeech_PRT PartOfSpeech_Tag = 9 - // Punctuation - PartOfSpeech_PUNCT PartOfSpeech_Tag = 10 - // Verb (all tenses and modes) - PartOfSpeech_VERB PartOfSpeech_Tag = 11 - // Other: foreign words, typos, abbreviations - PartOfSpeech_X PartOfSpeech_Tag = 12 - // Affix - PartOfSpeech_AFFIX PartOfSpeech_Tag = 13 -) - -var PartOfSpeech_Tag_name = map[int32]string{ - 0: "UNKNOWN", - 1: "ADJ", - 2: "ADP", - 3: "ADV", - 4: "CONJ", - 5: "DET", - 6: "NOUN", - 7: "NUM", - 8: "PRON", - 9: "PRT", - 10: "PUNCT", - 11: "VERB", - 12: "X", - 13: "AFFIX", -} - -var PartOfSpeech_Tag_value = map[string]int32{ - "UNKNOWN": 0, - "ADJ": 1, - "ADP": 2, - "ADV": 3, - "CONJ": 4, - "DET": 5, - "NOUN": 6, - "NUM": 7, - "PRON": 8, - "PRT": 9, - "PUNCT": 10, - "VERB": 11, - "X": 12, - "AFFIX": 13, -} - -func (x PartOfSpeech_Tag) String() string { - return proto.EnumName(PartOfSpeech_Tag_name, int32(x)) -} - -func (PartOfSpeech_Tag) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_640cb15898844b6f, []int{5, 0} -} - -// The characteristic of a verb that expresses time flow during an event. -type PartOfSpeech_Aspect int32 - -const ( - // Aspect is not applicable in the analyzed language or is not predicted. - PartOfSpeech_ASPECT_UNKNOWN PartOfSpeech_Aspect = 0 - // Perfective - PartOfSpeech_PERFECTIVE PartOfSpeech_Aspect = 1 - // Imperfective - PartOfSpeech_IMPERFECTIVE PartOfSpeech_Aspect = 2 - // Progressive - PartOfSpeech_PROGRESSIVE PartOfSpeech_Aspect = 3 -) - -var PartOfSpeech_Aspect_name = map[int32]string{ - 0: "ASPECT_UNKNOWN", - 1: "PERFECTIVE", - 2: "IMPERFECTIVE", - 3: "PROGRESSIVE", -} - -var PartOfSpeech_Aspect_value = map[string]int32{ - "ASPECT_UNKNOWN": 0, - "PERFECTIVE": 1, - "IMPERFECTIVE": 2, - "PROGRESSIVE": 3, -} - -func (x PartOfSpeech_Aspect) String() string { - return proto.EnumName(PartOfSpeech_Aspect_name, int32(x)) -} - -func (PartOfSpeech_Aspect) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_640cb15898844b6f, []int{5, 1} -} - -// The grammatical function performed by a noun or pronoun in a phrase, -// clause, or sentence. In some languages, other parts of speech, such as -// adjective and determiner, take case inflection in agreement with the noun. -type PartOfSpeech_Case int32 - -const ( - // Case is not applicable in the analyzed language or is not predicted. - PartOfSpeech_CASE_UNKNOWN PartOfSpeech_Case = 0 - // Accusative - PartOfSpeech_ACCUSATIVE PartOfSpeech_Case = 1 - // Adverbial - PartOfSpeech_ADVERBIAL PartOfSpeech_Case = 2 - // Complementive - PartOfSpeech_COMPLEMENTIVE PartOfSpeech_Case = 3 - // Dative - PartOfSpeech_DATIVE PartOfSpeech_Case = 4 - // Genitive - PartOfSpeech_GENITIVE PartOfSpeech_Case = 5 - // Instrumental - PartOfSpeech_INSTRUMENTAL PartOfSpeech_Case = 6 - // Locative - PartOfSpeech_LOCATIVE PartOfSpeech_Case = 7 - // Nominative - PartOfSpeech_NOMINATIVE PartOfSpeech_Case = 8 - // Oblique - PartOfSpeech_OBLIQUE PartOfSpeech_Case = 9 - // Partitive - PartOfSpeech_PARTITIVE PartOfSpeech_Case = 10 - // Prepositional - PartOfSpeech_PREPOSITIONAL PartOfSpeech_Case = 11 - // Reflexive - PartOfSpeech_REFLEXIVE_CASE PartOfSpeech_Case = 12 - // Relative - PartOfSpeech_RELATIVE_CASE PartOfSpeech_Case = 13 - // Vocative - PartOfSpeech_VOCATIVE PartOfSpeech_Case = 14 -) - -var PartOfSpeech_Case_name = map[int32]string{ - 0: "CASE_UNKNOWN", - 1: "ACCUSATIVE", - 2: "ADVERBIAL", - 3: "COMPLEMENTIVE", - 4: "DATIVE", - 5: "GENITIVE", - 6: "INSTRUMENTAL", - 7: "LOCATIVE", - 8: "NOMINATIVE", - 9: "OBLIQUE", - 10: "PARTITIVE", - 11: "PREPOSITIONAL", - 12: "REFLEXIVE_CASE", - 13: "RELATIVE_CASE", - 14: "VOCATIVE", -} - -var PartOfSpeech_Case_value = map[string]int32{ - "CASE_UNKNOWN": 0, - "ACCUSATIVE": 1, - "ADVERBIAL": 2, - "COMPLEMENTIVE": 3, - "DATIVE": 4, - "GENITIVE": 5, - "INSTRUMENTAL": 6, - "LOCATIVE": 7, - "NOMINATIVE": 8, - "OBLIQUE": 9, - "PARTITIVE": 10, - "PREPOSITIONAL": 11, - "REFLEXIVE_CASE": 12, - "RELATIVE_CASE": 13, - "VOCATIVE": 14, -} - -func (x PartOfSpeech_Case) String() string { - return proto.EnumName(PartOfSpeech_Case_name, int32(x)) -} - -func (PartOfSpeech_Case) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_640cb15898844b6f, []int{5, 2} -} - -// Depending on the language, Form can be categorizing different forms of -// verbs, adjectives, adverbs, etc. For example, categorizing inflected -// endings of verbs and adjectives or distinguishing between short and long -// forms of adjectives and participles -type PartOfSpeech_Form int32 - -const ( - // Form is not applicable in the analyzed language or is not predicted. - PartOfSpeech_FORM_UNKNOWN PartOfSpeech_Form = 0 - // Adnomial - PartOfSpeech_ADNOMIAL PartOfSpeech_Form = 1 - // Auxiliary - PartOfSpeech_AUXILIARY PartOfSpeech_Form = 2 - // Complementizer - PartOfSpeech_COMPLEMENTIZER PartOfSpeech_Form = 3 - // Final ending - PartOfSpeech_FINAL_ENDING PartOfSpeech_Form = 4 - // Gerund - PartOfSpeech_GERUND PartOfSpeech_Form = 5 - // Realis - PartOfSpeech_REALIS PartOfSpeech_Form = 6 - // Irrealis - PartOfSpeech_IRREALIS PartOfSpeech_Form = 7 - // Short form - PartOfSpeech_SHORT PartOfSpeech_Form = 8 - // Long form - PartOfSpeech_LONG PartOfSpeech_Form = 9 - // Order form - PartOfSpeech_ORDER PartOfSpeech_Form = 10 - // Specific form - PartOfSpeech_SPECIFIC PartOfSpeech_Form = 11 -) - -var PartOfSpeech_Form_name = map[int32]string{ - 0: "FORM_UNKNOWN", - 1: "ADNOMIAL", - 2: "AUXILIARY", - 3: "COMPLEMENTIZER", - 4: "FINAL_ENDING", - 5: "GERUND", - 6: "REALIS", - 7: "IRREALIS", - 8: "SHORT", - 9: "LONG", - 10: "ORDER", - 11: "SPECIFIC", -} - -var PartOfSpeech_Form_value = map[string]int32{ - "FORM_UNKNOWN": 0, - "ADNOMIAL": 1, - "AUXILIARY": 2, - "COMPLEMENTIZER": 3, - "FINAL_ENDING": 4, - "GERUND": 5, - "REALIS": 6, - "IRREALIS": 7, - "SHORT": 8, - "LONG": 9, - "ORDER": 10, - "SPECIFIC": 11, -} - -func (x PartOfSpeech_Form) String() string { - return proto.EnumName(PartOfSpeech_Form_name, int32(x)) -} - -func (PartOfSpeech_Form) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_640cb15898844b6f, []int{5, 3} -} - -// Gender classes of nouns reflected in the behaviour of associated words. -type PartOfSpeech_Gender int32 - -const ( - // Gender is not applicable in the analyzed language or is not predicted. - PartOfSpeech_GENDER_UNKNOWN PartOfSpeech_Gender = 0 - // Feminine - PartOfSpeech_FEMININE PartOfSpeech_Gender = 1 - // Masculine - PartOfSpeech_MASCULINE PartOfSpeech_Gender = 2 - // Neuter - PartOfSpeech_NEUTER PartOfSpeech_Gender = 3 -) - -var PartOfSpeech_Gender_name = map[int32]string{ - 0: "GENDER_UNKNOWN", - 1: "FEMININE", - 2: "MASCULINE", - 3: "NEUTER", -} - -var PartOfSpeech_Gender_value = map[string]int32{ - "GENDER_UNKNOWN": 0, - "FEMININE": 1, - "MASCULINE": 2, - "NEUTER": 3, -} - -func (x PartOfSpeech_Gender) String() string { - return proto.EnumName(PartOfSpeech_Gender_name, int32(x)) -} - -func (PartOfSpeech_Gender) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_640cb15898844b6f, []int{5, 4} -} - -// The grammatical feature of verbs, used for showing modality and attitude. -type PartOfSpeech_Mood int32 - -const ( - // Mood is not applicable in the analyzed language or is not predicted. - PartOfSpeech_MOOD_UNKNOWN PartOfSpeech_Mood = 0 - // Conditional - PartOfSpeech_CONDITIONAL_MOOD PartOfSpeech_Mood = 1 - // Imperative - PartOfSpeech_IMPERATIVE PartOfSpeech_Mood = 2 - // Indicative - PartOfSpeech_INDICATIVE PartOfSpeech_Mood = 3 - // Interrogative - PartOfSpeech_INTERROGATIVE PartOfSpeech_Mood = 4 - // Jussive - PartOfSpeech_JUSSIVE PartOfSpeech_Mood = 5 - // Subjunctive - PartOfSpeech_SUBJUNCTIVE PartOfSpeech_Mood = 6 -) - -var PartOfSpeech_Mood_name = map[int32]string{ - 0: "MOOD_UNKNOWN", - 1: "CONDITIONAL_MOOD", - 2: "IMPERATIVE", - 3: "INDICATIVE", - 4: "INTERROGATIVE", - 5: "JUSSIVE", - 6: "SUBJUNCTIVE", -} - -var PartOfSpeech_Mood_value = map[string]int32{ - "MOOD_UNKNOWN": 0, - "CONDITIONAL_MOOD": 1, - "IMPERATIVE": 2, - "INDICATIVE": 3, - "INTERROGATIVE": 4, - "JUSSIVE": 5, - "SUBJUNCTIVE": 6, -} - -func (x PartOfSpeech_Mood) String() string { - return proto.EnumName(PartOfSpeech_Mood_name, int32(x)) -} - -func (PartOfSpeech_Mood) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_640cb15898844b6f, []int{5, 5} -} - -// Count distinctions. -type PartOfSpeech_Number int32 - -const ( - // Number is not applicable in the analyzed language or is not predicted. - PartOfSpeech_NUMBER_UNKNOWN PartOfSpeech_Number = 0 - // Singular - PartOfSpeech_SINGULAR PartOfSpeech_Number = 1 - // Plural - PartOfSpeech_PLURAL PartOfSpeech_Number = 2 - // Dual - PartOfSpeech_DUAL PartOfSpeech_Number = 3 -) - -var PartOfSpeech_Number_name = map[int32]string{ - 0: "NUMBER_UNKNOWN", - 1: "SINGULAR", - 2: "PLURAL", - 3: "DUAL", -} - -var PartOfSpeech_Number_value = map[string]int32{ - "NUMBER_UNKNOWN": 0, - "SINGULAR": 1, - "PLURAL": 2, - "DUAL": 3, -} - -func (x PartOfSpeech_Number) String() string { - return proto.EnumName(PartOfSpeech_Number_name, int32(x)) -} - -func (PartOfSpeech_Number) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_640cb15898844b6f, []int{5, 6} -} - -// The distinction between the speaker, second person, third person, etc. -type PartOfSpeech_Person int32 - -const ( - // Person is not applicable in the analyzed language or is not predicted. - PartOfSpeech_PERSON_UNKNOWN PartOfSpeech_Person = 0 - // First - PartOfSpeech_FIRST PartOfSpeech_Person = 1 - // Second - PartOfSpeech_SECOND PartOfSpeech_Person = 2 - // Third - PartOfSpeech_THIRD PartOfSpeech_Person = 3 - // Reflexive - PartOfSpeech_REFLEXIVE_PERSON PartOfSpeech_Person = 4 -) - -var PartOfSpeech_Person_name = map[int32]string{ - 0: "PERSON_UNKNOWN", - 1: "FIRST", - 2: "SECOND", - 3: "THIRD", - 4: "REFLEXIVE_PERSON", -} - -var PartOfSpeech_Person_value = map[string]int32{ - "PERSON_UNKNOWN": 0, - "FIRST": 1, - "SECOND": 2, - "THIRD": 3, - "REFLEXIVE_PERSON": 4, -} - -func (x PartOfSpeech_Person) String() string { - return proto.EnumName(PartOfSpeech_Person_name, int32(x)) -} - -func (PartOfSpeech_Person) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_640cb15898844b6f, []int{5, 7} -} - -// This category shows if the token is part of a proper name. -type PartOfSpeech_Proper int32 - -const ( - // Proper is not applicable in the analyzed language or is not predicted. - PartOfSpeech_PROPER_UNKNOWN PartOfSpeech_Proper = 0 - // Proper - PartOfSpeech_PROPER PartOfSpeech_Proper = 1 - // Not proper - PartOfSpeech_NOT_PROPER PartOfSpeech_Proper = 2 -) - -var PartOfSpeech_Proper_name = map[int32]string{ - 0: "PROPER_UNKNOWN", - 1: "PROPER", - 2: "NOT_PROPER", -} - -var PartOfSpeech_Proper_value = map[string]int32{ - "PROPER_UNKNOWN": 0, - "PROPER": 1, - "NOT_PROPER": 2, -} - -func (x PartOfSpeech_Proper) String() string { - return proto.EnumName(PartOfSpeech_Proper_name, int32(x)) -} - -func (PartOfSpeech_Proper) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_640cb15898844b6f, []int{5, 8} -} - -// Reciprocal features of a pronoun. -type PartOfSpeech_Reciprocity int32 - -const ( - // Reciprocity is not applicable in the analyzed language or is not - // predicted. - PartOfSpeech_RECIPROCITY_UNKNOWN PartOfSpeech_Reciprocity = 0 - // Reciprocal - PartOfSpeech_RECIPROCAL PartOfSpeech_Reciprocity = 1 - // Non-reciprocal - PartOfSpeech_NON_RECIPROCAL PartOfSpeech_Reciprocity = 2 -) - -var PartOfSpeech_Reciprocity_name = map[int32]string{ - 0: "RECIPROCITY_UNKNOWN", - 1: "RECIPROCAL", - 2: "NON_RECIPROCAL", -} - -var PartOfSpeech_Reciprocity_value = map[string]int32{ - "RECIPROCITY_UNKNOWN": 0, - "RECIPROCAL": 1, - "NON_RECIPROCAL": 2, -} - -func (x PartOfSpeech_Reciprocity) String() string { - return proto.EnumName(PartOfSpeech_Reciprocity_name, int32(x)) -} - -func (PartOfSpeech_Reciprocity) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_640cb15898844b6f, []int{5, 9} -} - -// Time reference. -type PartOfSpeech_Tense int32 - -const ( - // Tense is not applicable in the analyzed language or is not predicted. - PartOfSpeech_TENSE_UNKNOWN PartOfSpeech_Tense = 0 - // Conditional - PartOfSpeech_CONDITIONAL_TENSE PartOfSpeech_Tense = 1 - // Future - PartOfSpeech_FUTURE PartOfSpeech_Tense = 2 - // Past - PartOfSpeech_PAST PartOfSpeech_Tense = 3 - // Present - PartOfSpeech_PRESENT PartOfSpeech_Tense = 4 - // Imperfect - PartOfSpeech_IMPERFECT PartOfSpeech_Tense = 5 - // Pluperfect - PartOfSpeech_PLUPERFECT PartOfSpeech_Tense = 6 -) - -var PartOfSpeech_Tense_name = map[int32]string{ - 0: "TENSE_UNKNOWN", - 1: "CONDITIONAL_TENSE", - 2: "FUTURE", - 3: "PAST", - 4: "PRESENT", - 5: "IMPERFECT", - 6: "PLUPERFECT", -} - -var PartOfSpeech_Tense_value = map[string]int32{ - "TENSE_UNKNOWN": 0, - "CONDITIONAL_TENSE": 1, - "FUTURE": 2, - "PAST": 3, - "PRESENT": 4, - "IMPERFECT": 5, - "PLUPERFECT": 6, -} - -func (x PartOfSpeech_Tense) String() string { - return proto.EnumName(PartOfSpeech_Tense_name, int32(x)) -} - -func (PartOfSpeech_Tense) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_640cb15898844b6f, []int{5, 10} -} - -// The relationship between the action that a verb expresses and the -// participants identified by its arguments. -type PartOfSpeech_Voice int32 - -const ( - // Voice is not applicable in the analyzed language or is not predicted. - PartOfSpeech_VOICE_UNKNOWN PartOfSpeech_Voice = 0 - // Active - PartOfSpeech_ACTIVE PartOfSpeech_Voice = 1 - // Causative - PartOfSpeech_CAUSATIVE PartOfSpeech_Voice = 2 - // Passive - PartOfSpeech_PASSIVE PartOfSpeech_Voice = 3 -) - -var PartOfSpeech_Voice_name = map[int32]string{ - 0: "VOICE_UNKNOWN", - 1: "ACTIVE", - 2: "CAUSATIVE", - 3: "PASSIVE", -} - -var PartOfSpeech_Voice_value = map[string]int32{ - "VOICE_UNKNOWN": 0, - "ACTIVE": 1, - "CAUSATIVE": 2, - "PASSIVE": 3, -} - -func (x PartOfSpeech_Voice) String() string { - return proto.EnumName(PartOfSpeech_Voice_name, int32(x)) -} - -func (PartOfSpeech_Voice) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_640cb15898844b6f, []int{5, 11} -} - -// The parse label enum for the token. -type DependencyEdge_Label int32 - -const ( - // Unknown - DependencyEdge_UNKNOWN DependencyEdge_Label = 0 - // Abbreviation modifier - DependencyEdge_ABBREV DependencyEdge_Label = 1 - // Adjectival complement - DependencyEdge_ACOMP DependencyEdge_Label = 2 - // Adverbial clause modifier - DependencyEdge_ADVCL DependencyEdge_Label = 3 - // Adverbial modifier - DependencyEdge_ADVMOD DependencyEdge_Label = 4 - // Adjectival modifier of an NP - DependencyEdge_AMOD DependencyEdge_Label = 5 - // Appositional modifier of an NP - DependencyEdge_APPOS DependencyEdge_Label = 6 - // Attribute dependent of a copular verb - DependencyEdge_ATTR DependencyEdge_Label = 7 - // Auxiliary (non-main) verb - DependencyEdge_AUX DependencyEdge_Label = 8 - // Passive auxiliary - DependencyEdge_AUXPASS DependencyEdge_Label = 9 - // Coordinating conjunction - DependencyEdge_CC DependencyEdge_Label = 10 - // Clausal complement of a verb or adjective - DependencyEdge_CCOMP DependencyEdge_Label = 11 - // Conjunct - DependencyEdge_CONJ DependencyEdge_Label = 12 - // Clausal subject - DependencyEdge_CSUBJ DependencyEdge_Label = 13 - // Clausal passive subject - DependencyEdge_CSUBJPASS DependencyEdge_Label = 14 - // Dependency (unable to determine) - DependencyEdge_DEP DependencyEdge_Label = 15 - // Determiner - DependencyEdge_DET DependencyEdge_Label = 16 - // Discourse - DependencyEdge_DISCOURSE DependencyEdge_Label = 17 - // Direct object - DependencyEdge_DOBJ DependencyEdge_Label = 18 - // Expletive - DependencyEdge_EXPL DependencyEdge_Label = 19 - // Goes with (part of a word in a text not well edited) - DependencyEdge_GOESWITH DependencyEdge_Label = 20 - // Indirect object - DependencyEdge_IOBJ DependencyEdge_Label = 21 - // Marker (word introducing a subordinate clause) - DependencyEdge_MARK DependencyEdge_Label = 22 - // Multi-word expression - DependencyEdge_MWE DependencyEdge_Label = 23 - // Multi-word verbal expression - DependencyEdge_MWV DependencyEdge_Label = 24 - // Negation modifier - DependencyEdge_NEG DependencyEdge_Label = 25 - // Noun compound modifier - DependencyEdge_NN DependencyEdge_Label = 26 - // Noun phrase used as an adverbial modifier - DependencyEdge_NPADVMOD DependencyEdge_Label = 27 - // Nominal subject - DependencyEdge_NSUBJ DependencyEdge_Label = 28 - // Passive nominal subject - DependencyEdge_NSUBJPASS DependencyEdge_Label = 29 - // Numeric modifier of a noun - DependencyEdge_NUM DependencyEdge_Label = 30 - // Element of compound number - DependencyEdge_NUMBER DependencyEdge_Label = 31 - // Punctuation mark - DependencyEdge_P DependencyEdge_Label = 32 - // Parataxis relation - DependencyEdge_PARATAXIS DependencyEdge_Label = 33 - // Participial modifier - DependencyEdge_PARTMOD DependencyEdge_Label = 34 - // The complement of a preposition is a clause - DependencyEdge_PCOMP DependencyEdge_Label = 35 - // Object of a preposition - DependencyEdge_POBJ DependencyEdge_Label = 36 - // Possession modifier - DependencyEdge_POSS DependencyEdge_Label = 37 - // Postverbal negative particle - DependencyEdge_POSTNEG DependencyEdge_Label = 38 - // Predicate complement - DependencyEdge_PRECOMP DependencyEdge_Label = 39 - // Preconjunt - DependencyEdge_PRECONJ DependencyEdge_Label = 40 - // Predeterminer - DependencyEdge_PREDET DependencyEdge_Label = 41 - // Prefix - DependencyEdge_PREF DependencyEdge_Label = 42 - // Prepositional modifier - DependencyEdge_PREP DependencyEdge_Label = 43 - // The relationship between a verb and verbal morpheme - DependencyEdge_PRONL DependencyEdge_Label = 44 - // Particle - DependencyEdge_PRT DependencyEdge_Label = 45 - // Associative or possessive marker - DependencyEdge_PS DependencyEdge_Label = 46 - // Quantifier phrase modifier - DependencyEdge_QUANTMOD DependencyEdge_Label = 47 - // Relative clause modifier - DependencyEdge_RCMOD DependencyEdge_Label = 48 - // Complementizer in relative clause - DependencyEdge_RCMODREL DependencyEdge_Label = 49 - // Ellipsis without a preceding predicate - DependencyEdge_RDROP DependencyEdge_Label = 50 - // Referent - DependencyEdge_REF DependencyEdge_Label = 51 - // Remnant - DependencyEdge_REMNANT DependencyEdge_Label = 52 - // Reparandum - DependencyEdge_REPARANDUM DependencyEdge_Label = 53 - // Root - DependencyEdge_ROOT DependencyEdge_Label = 54 - // Suffix specifying a unit of number - DependencyEdge_SNUM DependencyEdge_Label = 55 - // Suffix - DependencyEdge_SUFF DependencyEdge_Label = 56 - // Temporal modifier - DependencyEdge_TMOD DependencyEdge_Label = 57 - // Topic marker - DependencyEdge_TOPIC DependencyEdge_Label = 58 - // Clause headed by an infinite form of the verb that modifies a noun - DependencyEdge_VMOD DependencyEdge_Label = 59 - // Vocative - DependencyEdge_VOCATIVE DependencyEdge_Label = 60 - // Open clausal complement - DependencyEdge_XCOMP DependencyEdge_Label = 61 - // Name suffix - DependencyEdge_SUFFIX DependencyEdge_Label = 62 - // Name title - DependencyEdge_TITLE DependencyEdge_Label = 63 - // Adverbial phrase modifier - DependencyEdge_ADVPHMOD DependencyEdge_Label = 64 - // Causative auxiliary - DependencyEdge_AUXCAUS DependencyEdge_Label = 65 - // Helper auxiliary - DependencyEdge_AUXVV DependencyEdge_Label = 66 - // Rentaishi (Prenominal modifier) - DependencyEdge_DTMOD DependencyEdge_Label = 67 - // Foreign words - DependencyEdge_FOREIGN DependencyEdge_Label = 68 - // Keyword - DependencyEdge_KW DependencyEdge_Label = 69 - // List for chains of comparable items - DependencyEdge_LIST DependencyEdge_Label = 70 - // Nominalized clause - DependencyEdge_NOMC DependencyEdge_Label = 71 - // Nominalized clausal subject - DependencyEdge_NOMCSUBJ DependencyEdge_Label = 72 - // Nominalized clausal passive - DependencyEdge_NOMCSUBJPASS DependencyEdge_Label = 73 - // Compound of numeric modifier - DependencyEdge_NUMC DependencyEdge_Label = 74 - // Copula - DependencyEdge_COP DependencyEdge_Label = 75 - // Dislocated relation (for fronted/topicalized elements) - DependencyEdge_DISLOCATED DependencyEdge_Label = 76 - // Aspect marker - DependencyEdge_ASP DependencyEdge_Label = 77 - // Genitive modifier - DependencyEdge_GMOD DependencyEdge_Label = 78 - // Genitive object - DependencyEdge_GOBJ DependencyEdge_Label = 79 - // Infinitival modifier - DependencyEdge_INFMOD DependencyEdge_Label = 80 - // Measure - DependencyEdge_MES DependencyEdge_Label = 81 - // Nominal complement of a noun - DependencyEdge_NCOMP DependencyEdge_Label = 82 -) - -var DependencyEdge_Label_name = map[int32]string{ - 0: "UNKNOWN", - 1: "ABBREV", - 2: "ACOMP", - 3: "ADVCL", - 4: "ADVMOD", - 5: "AMOD", - 6: "APPOS", - 7: "ATTR", - 8: "AUX", - 9: "AUXPASS", - 10: "CC", - 11: "CCOMP", - 12: "CONJ", - 13: "CSUBJ", - 14: "CSUBJPASS", - 15: "DEP", - 16: "DET", - 17: "DISCOURSE", - 18: "DOBJ", - 19: "EXPL", - 20: "GOESWITH", - 21: "IOBJ", - 22: "MARK", - 23: "MWE", - 24: "MWV", - 25: "NEG", - 26: "NN", - 27: "NPADVMOD", - 28: "NSUBJ", - 29: "NSUBJPASS", - 30: "NUM", - 31: "NUMBER", - 32: "P", - 33: "PARATAXIS", - 34: "PARTMOD", - 35: "PCOMP", - 36: "POBJ", - 37: "POSS", - 38: "POSTNEG", - 39: "PRECOMP", - 40: "PRECONJ", - 41: "PREDET", - 42: "PREF", - 43: "PREP", - 44: "PRONL", - 45: "PRT", - 46: "PS", - 47: "QUANTMOD", - 48: "RCMOD", - 49: "RCMODREL", - 50: "RDROP", - 51: "REF", - 52: "REMNANT", - 53: "REPARANDUM", - 54: "ROOT", - 55: "SNUM", - 56: "SUFF", - 57: "TMOD", - 58: "TOPIC", - 59: "VMOD", - 60: "VOCATIVE", - 61: "XCOMP", - 62: "SUFFIX", - 63: "TITLE", - 64: "ADVPHMOD", - 65: "AUXCAUS", - 66: "AUXVV", - 67: "DTMOD", - 68: "FOREIGN", - 69: "KW", - 70: "LIST", - 71: "NOMC", - 72: "NOMCSUBJ", - 73: "NOMCSUBJPASS", - 74: "NUMC", - 75: "COP", - 76: "DISLOCATED", - 77: "ASP", - 78: "GMOD", - 79: "GOBJ", - 80: "INFMOD", - 81: "MES", - 82: "NCOMP", -} - -var DependencyEdge_Label_value = map[string]int32{ - "UNKNOWN": 0, - "ABBREV": 1, - "ACOMP": 2, - "ADVCL": 3, - "ADVMOD": 4, - "AMOD": 5, - "APPOS": 6, - "ATTR": 7, - "AUX": 8, - "AUXPASS": 9, - "CC": 10, - "CCOMP": 11, - "CONJ": 12, - "CSUBJ": 13, - "CSUBJPASS": 14, - "DEP": 15, - "DET": 16, - "DISCOURSE": 17, - "DOBJ": 18, - "EXPL": 19, - "GOESWITH": 20, - "IOBJ": 21, - "MARK": 22, - "MWE": 23, - "MWV": 24, - "NEG": 25, - "NN": 26, - "NPADVMOD": 27, - "NSUBJ": 28, - "NSUBJPASS": 29, - "NUM": 30, - "NUMBER": 31, - "P": 32, - "PARATAXIS": 33, - "PARTMOD": 34, - "PCOMP": 35, - "POBJ": 36, - "POSS": 37, - "POSTNEG": 38, - "PRECOMP": 39, - "PRECONJ": 40, - "PREDET": 41, - "PREF": 42, - "PREP": 43, - "PRONL": 44, - "PRT": 45, - "PS": 46, - "QUANTMOD": 47, - "RCMOD": 48, - "RCMODREL": 49, - "RDROP": 50, - "REF": 51, - "REMNANT": 52, - "REPARANDUM": 53, - "ROOT": 54, - "SNUM": 55, - "SUFF": 56, - "TMOD": 57, - "TOPIC": 58, - "VMOD": 59, - "VOCATIVE": 60, - "XCOMP": 61, - "SUFFIX": 62, - "TITLE": 63, - "ADVPHMOD": 64, - "AUXCAUS": 65, - "AUXVV": 66, - "DTMOD": 67, - "FOREIGN": 68, - "KW": 69, - "LIST": 70, - "NOMC": 71, - "NOMCSUBJ": 72, - "NOMCSUBJPASS": 73, - "NUMC": 74, - "COP": 75, - "DISLOCATED": 76, - "ASP": 77, - "GMOD": 78, - "GOBJ": 79, - "INFMOD": 80, - "MES": 81, - "NCOMP": 82, -} - -func (x DependencyEdge_Label) String() string { - return proto.EnumName(DependencyEdge_Label_name, int32(x)) -} - -func (DependencyEdge_Label) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_640cb15898844b6f, []int{6, 0} -} - -// The supported types of mentions. -type EntityMention_Type int32 - -const ( - // Unknown - EntityMention_TYPE_UNKNOWN EntityMention_Type = 0 - // Proper name - EntityMention_PROPER EntityMention_Type = 1 - // Common noun (or noun compound) - EntityMention_COMMON EntityMention_Type = 2 -) - -var EntityMention_Type_name = map[int32]string{ - 0: "TYPE_UNKNOWN", - 1: "PROPER", - 2: "COMMON", -} - -var EntityMention_Type_value = map[string]int32{ - "TYPE_UNKNOWN": 0, - "PROPER": 1, - "COMMON": 2, -} - -func (x EntityMention_Type) String() string { - return proto.EnumName(EntityMention_Type_name, int32(x)) -} - -func (EntityMention_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_640cb15898844b6f, []int{7, 0} -} - -// ################################################################ # -// -// Represents the input to API methods. -type Document struct { - // Required. If the type is not set or is `TYPE_UNSPECIFIED`, - // returns an `INVALID_ARGUMENT` error. - Type Document_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.language.v1beta2.Document_Type" json:"type,omitempty"` - // The source of the document: a string containing the content or a - // Google Cloud Storage URI. - // - // Types that are valid to be assigned to Source: - // *Document_Content - // *Document_GcsContentUri - Source isDocument_Source `protobuf_oneof:"source"` - // The language of the document (if not specified, the language is - // automatically detected). Both ISO and BCP-47 language codes are - // accepted.
- // [Language Support](/natural-language/docs/languages) - // lists currently supported languages for each API method. - // If the language (either specified by the caller or automatically detected) - // is not supported by the called API method, an `INVALID_ARGUMENT` error - // is returned. - Language string `protobuf:"bytes,4,opt,name=language,proto3" json:"language,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_640cb15898844b6f, []int{0} -} - -func (m *Document) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Document.Unmarshal(m, b) -} -func (m *Document) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Document.Marshal(b, m, deterministic) -} -func (m *Document) XXX_Merge(src proto.Message) { - xxx_messageInfo_Document.Merge(m, src) -} -func (m *Document) XXX_Size() int { - return xxx_messageInfo_Document.Size(m) -} -func (m *Document) XXX_DiscardUnknown() { - xxx_messageInfo_Document.DiscardUnknown(m) -} - -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() -} - -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_GcsContentUri) isDocument_Source() {} - -func (m *Document) GetSource() isDocument_Source { - if m != nil { - return m.Source - } - return nil -} - -func (m *Document) GetContent() string { - if x, ok := m.GetSource().(*Document_Content); ok { - return x.Content - } - return "" -} - -func (m *Document) GetGcsContentUri() string { - if x, ok := m.GetSource().(*Document_GcsContentUri); ok { - return x.GcsContentUri - } - return "" -} - -func (m *Document) GetLanguage() string { - if m != nil { - return m.Language - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Document) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Document_Content)(nil), - (*Document_GcsContentUri)(nil), - } -} - -// Represents a sentence in the input document. -type Sentence struct { - // The sentence text. - Text *TextSpan `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` - // For calls to [AnalyzeSentiment][] or if - // [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_document_sentiment] is set to - // true, this field will contain the sentiment for the sentence. - Sentiment *Sentiment `protobuf:"bytes,2,opt,name=sentiment,proto3" json:"sentiment,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_640cb15898844b6f, []int{1} -} - -func (m *Sentence) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Sentence.Unmarshal(m, b) -} -func (m *Sentence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Sentence.Marshal(b, m, deterministic) -} -func (m *Sentence) XXX_Merge(src proto.Message) { - xxx_messageInfo_Sentence.Merge(m, src) -} -func (m *Sentence) XXX_Size() int { - return xxx_messageInfo_Sentence.Size(m) -} -func (m *Sentence) XXX_DiscardUnknown() { - xxx_messageInfo_Sentence.DiscardUnknown(m) -} - -var xxx_messageInfo_Sentence proto.InternalMessageInfo - -func (m *Sentence) GetText() *TextSpan { - if m != nil { - return m.Text - } - return nil -} - -func (m *Sentence) GetSentiment() *Sentiment { - if m != nil { - return m.Sentiment - } - return nil -} - -// Represents a phrase in the text that is a known entity, such as -// a person, an organization, or location. The API associates information, such -// as salience and mentions, with entities. -type Entity struct { - // The representative name for the entity. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The entity type. - Type Entity_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.language.v1beta2.Entity_Type" json:"type,omitempty"` - // Metadata associated with the entity. - // - // For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`) - // and Knowledge Graph MID (`mid`), if they are available. For the metadata - // associated with other entity types, see the Type table below. - Metadata map[string]string `protobuf:"bytes,3,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // The salience score associated with the entity in the [0, 1.0] range. - // - // The salience score for an entity provides information about the - // importance or centrality of that entity to the entire document text. - // Scores closer to 0 are less salient, while scores closer to 1.0 are highly - // salient. - Salience float32 `protobuf:"fixed32,4,opt,name=salience,proto3" json:"salience,omitempty"` - // The mentions of this entity in the input document. The API currently - // supports proper noun mentions. - Mentions []*EntityMention `protobuf:"bytes,5,rep,name=mentions,proto3" json:"mentions,omitempty"` - // For calls to [AnalyzeEntitySentiment][] or if - // [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_entity_sentiment] is set to - // true, this field will contain the aggregate sentiment expressed for this - // entity in the provided document. - Sentiment *Sentiment `protobuf:"bytes,6,opt,name=sentiment,proto3" json:"sentiment,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_640cb15898844b6f, []int{2} -} - -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 (m *Entity) XXX_Merge(src proto.Message) { - xxx_messageInfo_Entity.Merge(m, 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) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Entity) GetType() Entity_Type { - if m != nil { - return m.Type - } - return Entity_UNKNOWN -} - -func (m *Entity) GetMetadata() map[string]string { - if m != nil { - return m.Metadata - } - return nil -} - -func (m *Entity) GetSalience() float32 { - if m != nil { - return m.Salience - } - return 0 -} - -func (m *Entity) GetMentions() []*EntityMention { - if m != nil { - return m.Mentions - } - return nil -} - -func (m *Entity) GetSentiment() *Sentiment { - if m != nil { - return m.Sentiment - } - return nil -} - -// Represents the smallest syntactic building block of the text. -type Token struct { - // The token text. - Text *TextSpan `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` - // Parts of speech tag for this token. - PartOfSpeech *PartOfSpeech `protobuf:"bytes,2,opt,name=part_of_speech,json=partOfSpeech,proto3" json:"part_of_speech,omitempty"` - // Dependency tree parse for this token. - DependencyEdge *DependencyEdge `protobuf:"bytes,3,opt,name=dependency_edge,json=dependencyEdge,proto3" json:"dependency_edge,omitempty"` - // [Lemma](https://en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token. - Lemma string `protobuf:"bytes,4,opt,name=lemma,proto3" json:"lemma,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_640cb15898844b6f, []int{3} -} - -func (m *Token) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Token.Unmarshal(m, b) -} -func (m *Token) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Token.Marshal(b, m, deterministic) -} -func (m *Token) XXX_Merge(src proto.Message) { - xxx_messageInfo_Token.Merge(m, src) -} -func (m *Token) XXX_Size() int { - return xxx_messageInfo_Token.Size(m) -} -func (m *Token) XXX_DiscardUnknown() { - xxx_messageInfo_Token.DiscardUnknown(m) -} - -var xxx_messageInfo_Token proto.InternalMessageInfo - -func (m *Token) GetText() *TextSpan { - if m != nil { - return m.Text - } - return nil -} - -func (m *Token) GetPartOfSpeech() *PartOfSpeech { - if m != nil { - return m.PartOfSpeech - } - return nil -} - -func (m *Token) GetDependencyEdge() *DependencyEdge { - if m != nil { - return m.DependencyEdge - } - return nil -} - -func (m *Token) GetLemma() string { - if m != nil { - return m.Lemma - } - return "" -} - -// Represents the feeling associated with the entire text or entities in -// the text. -// Next ID: 6 -type Sentiment struct { - // A non-negative number in the [0, +inf) range, which represents - // the absolute magnitude of sentiment regardless of score (positive or - // negative). - Magnitude float32 `protobuf:"fixed32,2,opt,name=magnitude,proto3" json:"magnitude,omitempty"` - // Sentiment score between -1.0 (negative sentiment) and 1.0 - // (positive sentiment). - Score float32 `protobuf:"fixed32,3,opt,name=score,proto3" json:"score,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_640cb15898844b6f, []int{4} -} - -func (m *Sentiment) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Sentiment.Unmarshal(m, b) -} -func (m *Sentiment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Sentiment.Marshal(b, m, deterministic) -} -func (m *Sentiment) XXX_Merge(src proto.Message) { - xxx_messageInfo_Sentiment.Merge(m, src) -} -func (m *Sentiment) XXX_Size() int { - return xxx_messageInfo_Sentiment.Size(m) -} -func (m *Sentiment) XXX_DiscardUnknown() { - xxx_messageInfo_Sentiment.DiscardUnknown(m) -} - -var xxx_messageInfo_Sentiment proto.InternalMessageInfo - -func (m *Sentiment) GetMagnitude() float32 { - if m != nil { - return m.Magnitude - } - return 0 -} - -func (m *Sentiment) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -// Represents part of speech information for a token. -type PartOfSpeech struct { - // The part of speech tag. - Tag PartOfSpeech_Tag `protobuf:"varint,1,opt,name=tag,proto3,enum=google.cloud.language.v1beta2.PartOfSpeech_Tag" json:"tag,omitempty"` - // The grammatical aspect. - Aspect PartOfSpeech_Aspect `protobuf:"varint,2,opt,name=aspect,proto3,enum=google.cloud.language.v1beta2.PartOfSpeech_Aspect" json:"aspect,omitempty"` - // The grammatical case. - Case PartOfSpeech_Case `protobuf:"varint,3,opt,name=case,proto3,enum=google.cloud.language.v1beta2.PartOfSpeech_Case" json:"case,omitempty"` - // The grammatical form. - Form PartOfSpeech_Form `protobuf:"varint,4,opt,name=form,proto3,enum=google.cloud.language.v1beta2.PartOfSpeech_Form" json:"form,omitempty"` - // The grammatical gender. - Gender PartOfSpeech_Gender `protobuf:"varint,5,opt,name=gender,proto3,enum=google.cloud.language.v1beta2.PartOfSpeech_Gender" json:"gender,omitempty"` - // The grammatical mood. - Mood PartOfSpeech_Mood `protobuf:"varint,6,opt,name=mood,proto3,enum=google.cloud.language.v1beta2.PartOfSpeech_Mood" json:"mood,omitempty"` - // The grammatical number. - Number PartOfSpeech_Number `protobuf:"varint,7,opt,name=number,proto3,enum=google.cloud.language.v1beta2.PartOfSpeech_Number" json:"number,omitempty"` - // The grammatical person. - Person PartOfSpeech_Person `protobuf:"varint,8,opt,name=person,proto3,enum=google.cloud.language.v1beta2.PartOfSpeech_Person" json:"person,omitempty"` - // The grammatical properness. - Proper PartOfSpeech_Proper `protobuf:"varint,9,opt,name=proper,proto3,enum=google.cloud.language.v1beta2.PartOfSpeech_Proper" json:"proper,omitempty"` - // The grammatical reciprocity. - Reciprocity PartOfSpeech_Reciprocity `protobuf:"varint,10,opt,name=reciprocity,proto3,enum=google.cloud.language.v1beta2.PartOfSpeech_Reciprocity" json:"reciprocity,omitempty"` - // The grammatical tense. - Tense PartOfSpeech_Tense `protobuf:"varint,11,opt,name=tense,proto3,enum=google.cloud.language.v1beta2.PartOfSpeech_Tense" json:"tense,omitempty"` - // The grammatical voice. - Voice PartOfSpeech_Voice `protobuf:"varint,12,opt,name=voice,proto3,enum=google.cloud.language.v1beta2.PartOfSpeech_Voice" json:"voice,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_640cb15898844b6f, []int{5} -} - -func (m *PartOfSpeech) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PartOfSpeech.Unmarshal(m, b) -} -func (m *PartOfSpeech) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PartOfSpeech.Marshal(b, m, deterministic) -} -func (m *PartOfSpeech) XXX_Merge(src proto.Message) { - xxx_messageInfo_PartOfSpeech.Merge(m, src) -} -func (m *PartOfSpeech) XXX_Size() int { - return xxx_messageInfo_PartOfSpeech.Size(m) -} -func (m *PartOfSpeech) XXX_DiscardUnknown() { - xxx_messageInfo_PartOfSpeech.DiscardUnknown(m) -} - -var xxx_messageInfo_PartOfSpeech proto.InternalMessageInfo - -func (m *PartOfSpeech) GetTag() PartOfSpeech_Tag { - if m != nil { - return m.Tag - } - return PartOfSpeech_UNKNOWN -} - -func (m *PartOfSpeech) GetAspect() PartOfSpeech_Aspect { - if m != nil { - return m.Aspect - } - return PartOfSpeech_ASPECT_UNKNOWN -} - -func (m *PartOfSpeech) GetCase() PartOfSpeech_Case { - if m != nil { - return m.Case - } - return PartOfSpeech_CASE_UNKNOWN -} - -func (m *PartOfSpeech) GetForm() PartOfSpeech_Form { - if m != nil { - return m.Form - } - return PartOfSpeech_FORM_UNKNOWN -} - -func (m *PartOfSpeech) GetGender() PartOfSpeech_Gender { - if m != nil { - return m.Gender - } - return PartOfSpeech_GENDER_UNKNOWN -} - -func (m *PartOfSpeech) GetMood() PartOfSpeech_Mood { - if m != nil { - return m.Mood - } - return PartOfSpeech_MOOD_UNKNOWN -} - -func (m *PartOfSpeech) GetNumber() PartOfSpeech_Number { - if m != nil { - return m.Number - } - return PartOfSpeech_NUMBER_UNKNOWN -} - -func (m *PartOfSpeech) GetPerson() PartOfSpeech_Person { - if m != nil { - return m.Person - } - return PartOfSpeech_PERSON_UNKNOWN -} - -func (m *PartOfSpeech) GetProper() PartOfSpeech_Proper { - if m != nil { - return m.Proper - } - return PartOfSpeech_PROPER_UNKNOWN -} - -func (m *PartOfSpeech) GetReciprocity() PartOfSpeech_Reciprocity { - if m != nil { - return m.Reciprocity - } - return PartOfSpeech_RECIPROCITY_UNKNOWN -} - -func (m *PartOfSpeech) GetTense() PartOfSpeech_Tense { - if m != nil { - return m.Tense - } - return PartOfSpeech_TENSE_UNKNOWN -} - -func (m *PartOfSpeech) GetVoice() PartOfSpeech_Voice { - if m != nil { - return m.Voice - } - return PartOfSpeech_VOICE_UNKNOWN -} - -// Represents dependency parse tree information for a token. -type DependencyEdge struct { - // Represents the head of this token in the dependency tree. - // This is the index of the token which has an arc going to this token. - // The index is the position of the token in the array of tokens returned - // by the API method. If this token is a root token, then the - // `head_token_index` is its own index. - HeadTokenIndex int32 `protobuf:"varint,1,opt,name=head_token_index,json=headTokenIndex,proto3" json:"head_token_index,omitempty"` - // The parse label for the token. - Label DependencyEdge_Label `protobuf:"varint,2,opt,name=label,proto3,enum=google.cloud.language.v1beta2.DependencyEdge_Label" json:"label,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_640cb15898844b6f, []int{6} -} - -func (m *DependencyEdge) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DependencyEdge.Unmarshal(m, b) -} -func (m *DependencyEdge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DependencyEdge.Marshal(b, m, deterministic) -} -func (m *DependencyEdge) XXX_Merge(src proto.Message) { - xxx_messageInfo_DependencyEdge.Merge(m, src) -} -func (m *DependencyEdge) XXX_Size() int { - return xxx_messageInfo_DependencyEdge.Size(m) -} -func (m *DependencyEdge) XXX_DiscardUnknown() { - xxx_messageInfo_DependencyEdge.DiscardUnknown(m) -} - -var xxx_messageInfo_DependencyEdge proto.InternalMessageInfo - -func (m *DependencyEdge) GetHeadTokenIndex() int32 { - if m != nil { - return m.HeadTokenIndex - } - return 0 -} - -func (m *DependencyEdge) GetLabel() DependencyEdge_Label { - if m != nil { - return m.Label - } - return DependencyEdge_UNKNOWN -} - -// Represents a mention for an entity in the text. Currently, proper noun -// mentions are supported. -type EntityMention struct { - // The mention text. - Text *TextSpan `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` - // The type of the entity mention. - Type EntityMention_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.language.v1beta2.EntityMention_Type" json:"type,omitempty"` - // For calls to [AnalyzeEntitySentiment][] or if - // [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_entity_sentiment] is set to - // true, this field will contain the sentiment expressed for this mention of - // the entity in the provided document. - Sentiment *Sentiment `protobuf:"bytes,3,opt,name=sentiment,proto3" json:"sentiment,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_640cb15898844b6f, []int{7} -} - -func (m *EntityMention) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EntityMention.Unmarshal(m, b) -} -func (m *EntityMention) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EntityMention.Marshal(b, m, deterministic) -} -func (m *EntityMention) XXX_Merge(src proto.Message) { - xxx_messageInfo_EntityMention.Merge(m, src) -} -func (m *EntityMention) XXX_Size() int { - return xxx_messageInfo_EntityMention.Size(m) -} -func (m *EntityMention) XXX_DiscardUnknown() { - xxx_messageInfo_EntityMention.DiscardUnknown(m) -} - -var xxx_messageInfo_EntityMention proto.InternalMessageInfo - -func (m *EntityMention) GetText() *TextSpan { - if m != nil { - return m.Text - } - return nil -} - -func (m *EntityMention) GetType() EntityMention_Type { - if m != nil { - return m.Type - } - return EntityMention_TYPE_UNKNOWN -} - -func (m *EntityMention) GetSentiment() *Sentiment { - if m != nil { - return m.Sentiment - } - return nil -} - -// Represents an output piece of text. -type TextSpan struct { - // The content of the output text. - Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` - // The API calculates the beginning offset of the content in the original - // document according to the [EncodingType][google.cloud.language.v1beta2.EncodingType] specified in the API request. - BeginOffset int32 `protobuf:"varint,2,opt,name=begin_offset,json=beginOffset,proto3" json:"begin_offset,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_640cb15898844b6f, []int{8} -} - -func (m *TextSpan) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextSpan.Unmarshal(m, b) -} -func (m *TextSpan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextSpan.Marshal(b, m, deterministic) -} -func (m *TextSpan) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextSpan.Merge(m, src) -} -func (m *TextSpan) XXX_Size() int { - return xxx_messageInfo_TextSpan.Size(m) -} -func (m *TextSpan) XXX_DiscardUnknown() { - xxx_messageInfo_TextSpan.DiscardUnknown(m) -} - -var xxx_messageInfo_TextSpan proto.InternalMessageInfo - -func (m *TextSpan) GetContent() string { - if m != nil { - return m.Content - } - return "" -} - -func (m *TextSpan) GetBeginOffset() int32 { - if m != nil { - return m.BeginOffset - } - return 0 -} - -// Represents a category returned from the text classifier. -type ClassificationCategory struct { - // The name of the category representing the document, from the [predefined - // taxonomy](/natural-language/docs/categories). - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The classifier's confidence of the category. Number represents how certain - // the classifier is that this category represents the given text. - 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 *ClassificationCategory) Reset() { *m = ClassificationCategory{} } -func (m *ClassificationCategory) String() string { return proto.CompactTextString(m) } -func (*ClassificationCategory) ProtoMessage() {} -func (*ClassificationCategory) Descriptor() ([]byte, []int) { - return fileDescriptor_640cb15898844b6f, []int{9} -} - -func (m *ClassificationCategory) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClassificationCategory.Unmarshal(m, b) -} -func (m *ClassificationCategory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClassificationCategory.Marshal(b, m, deterministic) -} -func (m *ClassificationCategory) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClassificationCategory.Merge(m, src) -} -func (m *ClassificationCategory) XXX_Size() int { - return xxx_messageInfo_ClassificationCategory.Size(m) -} -func (m *ClassificationCategory) XXX_DiscardUnknown() { - xxx_messageInfo_ClassificationCategory.DiscardUnknown(m) -} - -var xxx_messageInfo_ClassificationCategory proto.InternalMessageInfo - -func (m *ClassificationCategory) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ClassificationCategory) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -// The sentiment analysis request message. -type AnalyzeSentimentRequest struct { - // Required. Input document. - Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` - // The encoding type used by the API to calculate sentence offsets for the - // sentence sentiment. - EncodingType EncodingType `protobuf:"varint,2,opt,name=encoding_type,json=encodingType,proto3,enum=google.cloud.language.v1beta2.EncodingType" json:"encoding_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_640cb15898844b6f, []int{10} -} - -func (m *AnalyzeSentimentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeSentimentRequest.Unmarshal(m, b) -} -func (m *AnalyzeSentimentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeSentimentRequest.Marshal(b, m, deterministic) -} -func (m *AnalyzeSentimentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeSentimentRequest.Merge(m, src) -} -func (m *AnalyzeSentimentRequest) XXX_Size() int { - return xxx_messageInfo_AnalyzeSentimentRequest.Size(m) -} -func (m *AnalyzeSentimentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeSentimentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AnalyzeSentimentRequest proto.InternalMessageInfo - -func (m *AnalyzeSentimentRequest) GetDocument() *Document { - if m != nil { - return m.Document - } - return nil -} - -func (m *AnalyzeSentimentRequest) GetEncodingType() EncodingType { - if m != nil { - return m.EncodingType - } - return EncodingType_NONE -} - -// The sentiment analysis response message. -type AnalyzeSentimentResponse struct { - // The overall sentiment of the input document. - DocumentSentiment *Sentiment `protobuf:"bytes,1,opt,name=document_sentiment,json=documentSentiment,proto3" json:"document_sentiment,omitempty"` - // The language of the text, which will be the same as the language specified - // in the request or, if not specified, the automatically-detected language. - // See [Document.language][google.cloud.language.v1beta2.Document.language] field for more details. - Language string `protobuf:"bytes,2,opt,name=language,proto3" json:"language,omitempty"` - // The sentiment for all the sentences in the document. - Sentences []*Sentence `protobuf:"bytes,3,rep,name=sentences,proto3" json:"sentences,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AnalyzeSentimentResponse) Reset() { *m = AnalyzeSentimentResponse{} } -func (m *AnalyzeSentimentResponse) String() string { return proto.CompactTextString(m) } -func (*AnalyzeSentimentResponse) ProtoMessage() {} -func (*AnalyzeSentimentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_640cb15898844b6f, []int{11} -} - -func (m *AnalyzeSentimentResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeSentimentResponse.Unmarshal(m, b) -} -func (m *AnalyzeSentimentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeSentimentResponse.Marshal(b, m, deterministic) -} -func (m *AnalyzeSentimentResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeSentimentResponse.Merge(m, src) -} -func (m *AnalyzeSentimentResponse) XXX_Size() int { - return xxx_messageInfo_AnalyzeSentimentResponse.Size(m) -} -func (m *AnalyzeSentimentResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeSentimentResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AnalyzeSentimentResponse proto.InternalMessageInfo - -func (m *AnalyzeSentimentResponse) GetDocumentSentiment() *Sentiment { - if m != nil { - return m.DocumentSentiment - } - return nil -} - -func (m *AnalyzeSentimentResponse) GetLanguage() string { - if m != nil { - return m.Language - } - return "" -} - -func (m *AnalyzeSentimentResponse) GetSentences() []*Sentence { - if m != nil { - return m.Sentences - } - return nil -} - -// The entity-level sentiment analysis request message. -type AnalyzeEntitySentimentRequest struct { - // Required. Input document. - Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` - // The encoding type used by the API to calculate offsets. - EncodingType EncodingType `protobuf:"varint,2,opt,name=encoding_type,json=encodingType,proto3,enum=google.cloud.language.v1beta2.EncodingType" json:"encoding_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AnalyzeEntitySentimentRequest) Reset() { *m = AnalyzeEntitySentimentRequest{} } -func (m *AnalyzeEntitySentimentRequest) String() string { return proto.CompactTextString(m) } -func (*AnalyzeEntitySentimentRequest) ProtoMessage() {} -func (*AnalyzeEntitySentimentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_640cb15898844b6f, []int{12} -} - -func (m *AnalyzeEntitySentimentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeEntitySentimentRequest.Unmarshal(m, b) -} -func (m *AnalyzeEntitySentimentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeEntitySentimentRequest.Marshal(b, m, deterministic) -} -func (m *AnalyzeEntitySentimentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeEntitySentimentRequest.Merge(m, src) -} -func (m *AnalyzeEntitySentimentRequest) XXX_Size() int { - return xxx_messageInfo_AnalyzeEntitySentimentRequest.Size(m) -} -func (m *AnalyzeEntitySentimentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeEntitySentimentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AnalyzeEntitySentimentRequest proto.InternalMessageInfo - -func (m *AnalyzeEntitySentimentRequest) GetDocument() *Document { - if m != nil { - return m.Document - } - return nil -} - -func (m *AnalyzeEntitySentimentRequest) GetEncodingType() EncodingType { - if m != nil { - return m.EncodingType - } - return EncodingType_NONE -} - -// The entity-level sentiment analysis response message. -type AnalyzeEntitySentimentResponse struct { - // The recognized entities in the input document with associated sentiments. - Entities []*Entity `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"` - // The language of the text, which will be the same as the language specified - // in the request or, if not specified, the automatically-detected language. - // See [Document.language][google.cloud.language.v1beta2.Document.language] field for more details. - Language string `protobuf:"bytes,2,opt,name=language,proto3" json:"language,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AnalyzeEntitySentimentResponse) Reset() { *m = AnalyzeEntitySentimentResponse{} } -func (m *AnalyzeEntitySentimentResponse) String() string { return proto.CompactTextString(m) } -func (*AnalyzeEntitySentimentResponse) ProtoMessage() {} -func (*AnalyzeEntitySentimentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_640cb15898844b6f, []int{13} -} - -func (m *AnalyzeEntitySentimentResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeEntitySentimentResponse.Unmarshal(m, b) -} -func (m *AnalyzeEntitySentimentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeEntitySentimentResponse.Marshal(b, m, deterministic) -} -func (m *AnalyzeEntitySentimentResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeEntitySentimentResponse.Merge(m, src) -} -func (m *AnalyzeEntitySentimentResponse) XXX_Size() int { - return xxx_messageInfo_AnalyzeEntitySentimentResponse.Size(m) -} -func (m *AnalyzeEntitySentimentResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeEntitySentimentResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AnalyzeEntitySentimentResponse proto.InternalMessageInfo - -func (m *AnalyzeEntitySentimentResponse) GetEntities() []*Entity { - if m != nil { - return m.Entities - } - return nil -} - -func (m *AnalyzeEntitySentimentResponse) GetLanguage() string { - if m != nil { - return m.Language - } - return "" -} - -// The entity analysis request message. -type AnalyzeEntitiesRequest struct { - // Required. Input document. - Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` - // The encoding type used by the API to calculate offsets. - EncodingType EncodingType `protobuf:"varint,2,opt,name=encoding_type,json=encodingType,proto3,enum=google.cloud.language.v1beta2.EncodingType" json:"encoding_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_640cb15898844b6f, []int{14} -} - -func (m *AnalyzeEntitiesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeEntitiesRequest.Unmarshal(m, b) -} -func (m *AnalyzeEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeEntitiesRequest.Marshal(b, m, deterministic) -} -func (m *AnalyzeEntitiesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeEntitiesRequest.Merge(m, src) -} -func (m *AnalyzeEntitiesRequest) XXX_Size() int { - return xxx_messageInfo_AnalyzeEntitiesRequest.Size(m) -} -func (m *AnalyzeEntitiesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeEntitiesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AnalyzeEntitiesRequest proto.InternalMessageInfo - -func (m *AnalyzeEntitiesRequest) GetDocument() *Document { - if m != nil { - return m.Document - } - return nil -} - -func (m *AnalyzeEntitiesRequest) GetEncodingType() EncodingType { - if m != nil { - return m.EncodingType - } - return EncodingType_NONE -} - -// The entity analysis response message. -type AnalyzeEntitiesResponse struct { - // The recognized entities in the input document. - Entities []*Entity `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"` - // The language of the text, which will be the same as the language specified - // in the request or, if not specified, the automatically-detected language. - // See [Document.language][google.cloud.language.v1beta2.Document.language] field for more details. - Language string `protobuf:"bytes,2,opt,name=language,proto3" json:"language,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_640cb15898844b6f, []int{15} -} - -func (m *AnalyzeEntitiesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeEntitiesResponse.Unmarshal(m, b) -} -func (m *AnalyzeEntitiesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeEntitiesResponse.Marshal(b, m, deterministic) -} -func (m *AnalyzeEntitiesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeEntitiesResponse.Merge(m, src) -} -func (m *AnalyzeEntitiesResponse) XXX_Size() int { - return xxx_messageInfo_AnalyzeEntitiesResponse.Size(m) -} -func (m *AnalyzeEntitiesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeEntitiesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AnalyzeEntitiesResponse proto.InternalMessageInfo - -func (m *AnalyzeEntitiesResponse) GetEntities() []*Entity { - if m != nil { - return m.Entities - } - return nil -} - -func (m *AnalyzeEntitiesResponse) GetLanguage() string { - if m != nil { - return m.Language - } - return "" -} - -// The syntax analysis request message. -type AnalyzeSyntaxRequest struct { - // Required. Input document. - Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` - // The encoding type used by the API to calculate offsets. - EncodingType EncodingType `protobuf:"varint,2,opt,name=encoding_type,json=encodingType,proto3,enum=google.cloud.language.v1beta2.EncodingType" json:"encoding_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_640cb15898844b6f, []int{16} -} - -func (m *AnalyzeSyntaxRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeSyntaxRequest.Unmarshal(m, b) -} -func (m *AnalyzeSyntaxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeSyntaxRequest.Marshal(b, m, deterministic) -} -func (m *AnalyzeSyntaxRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeSyntaxRequest.Merge(m, src) -} -func (m *AnalyzeSyntaxRequest) XXX_Size() int { - return xxx_messageInfo_AnalyzeSyntaxRequest.Size(m) -} -func (m *AnalyzeSyntaxRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeSyntaxRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AnalyzeSyntaxRequest proto.InternalMessageInfo - -func (m *AnalyzeSyntaxRequest) GetDocument() *Document { - if m != nil { - return m.Document - } - return nil -} - -func (m *AnalyzeSyntaxRequest) GetEncodingType() EncodingType { - if m != nil { - return m.EncodingType - } - return EncodingType_NONE -} - -// The syntax analysis response message. -type AnalyzeSyntaxResponse struct { - // Sentences in the input document. - Sentences []*Sentence `protobuf:"bytes,1,rep,name=sentences,proto3" json:"sentences,omitempty"` - // Tokens, along with their syntactic information, in the input document. - Tokens []*Token `protobuf:"bytes,2,rep,name=tokens,proto3" json:"tokens,omitempty"` - // The language of the text, which will be the same as the language specified - // in the request or, if not specified, the automatically-detected language. - // See [Document.language][google.cloud.language.v1beta2.Document.language] field for more details. - Language string `protobuf:"bytes,3,opt,name=language,proto3" json:"language,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_640cb15898844b6f, []int{17} -} - -func (m *AnalyzeSyntaxResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeSyntaxResponse.Unmarshal(m, b) -} -func (m *AnalyzeSyntaxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeSyntaxResponse.Marshal(b, m, deterministic) -} -func (m *AnalyzeSyntaxResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeSyntaxResponse.Merge(m, src) -} -func (m *AnalyzeSyntaxResponse) XXX_Size() int { - return xxx_messageInfo_AnalyzeSyntaxResponse.Size(m) -} -func (m *AnalyzeSyntaxResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeSyntaxResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AnalyzeSyntaxResponse proto.InternalMessageInfo - -func (m *AnalyzeSyntaxResponse) GetSentences() []*Sentence { - if m != nil { - return m.Sentences - } - return nil -} - -func (m *AnalyzeSyntaxResponse) GetTokens() []*Token { - if m != nil { - return m.Tokens - } - return nil -} - -func (m *AnalyzeSyntaxResponse) GetLanguage() string { - if m != nil { - return m.Language - } - return "" -} - -// The document classification request message. -type ClassifyTextRequest struct { - // Required. Input document. - Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_640cb15898844b6f, []int{18} -} - -func (m *ClassifyTextRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClassifyTextRequest.Unmarshal(m, b) -} -func (m *ClassifyTextRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClassifyTextRequest.Marshal(b, m, deterministic) -} -func (m *ClassifyTextRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClassifyTextRequest.Merge(m, src) -} -func (m *ClassifyTextRequest) XXX_Size() int { - return xxx_messageInfo_ClassifyTextRequest.Size(m) -} -func (m *ClassifyTextRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ClassifyTextRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ClassifyTextRequest proto.InternalMessageInfo - -func (m *ClassifyTextRequest) GetDocument() *Document { - if m != nil { - return m.Document - } - return nil -} - -// The document classification response message. -type ClassifyTextResponse struct { - // Categories representing the input document. - Categories []*ClassificationCategory `protobuf:"bytes,1,rep,name=categories,proto3" json:"categories,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_640cb15898844b6f, []int{19} -} - -func (m *ClassifyTextResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClassifyTextResponse.Unmarshal(m, b) -} -func (m *ClassifyTextResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClassifyTextResponse.Marshal(b, m, deterministic) -} -func (m *ClassifyTextResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClassifyTextResponse.Merge(m, src) -} -func (m *ClassifyTextResponse) XXX_Size() int { - return xxx_messageInfo_ClassifyTextResponse.Size(m) -} -func (m *ClassifyTextResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ClassifyTextResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ClassifyTextResponse proto.InternalMessageInfo - -func (m *ClassifyTextResponse) GetCategories() []*ClassificationCategory { - if m != nil { - return m.Categories - } - return nil -} - -// The request message for the text annotation API, which can perform multiple -// analysis types (sentiment, entities, and syntax) in one call. -type AnnotateTextRequest struct { - // Required. Input document. - Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` - // Required. The enabled features. - Features *AnnotateTextRequest_Features `protobuf:"bytes,2,opt,name=features,proto3" json:"features,omitempty"` - // The encoding type used by the API to calculate offsets. - EncodingType EncodingType `protobuf:"varint,3,opt,name=encoding_type,json=encodingType,proto3,enum=google.cloud.language.v1beta2.EncodingType" json:"encoding_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_640cb15898844b6f, []int{20} -} - -func (m *AnnotateTextRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotateTextRequest.Unmarshal(m, b) -} -func (m *AnnotateTextRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotateTextRequest.Marshal(b, m, deterministic) -} -func (m *AnnotateTextRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateTextRequest.Merge(m, src) -} -func (m *AnnotateTextRequest) XXX_Size() int { - return xxx_messageInfo_AnnotateTextRequest.Size(m) -} -func (m *AnnotateTextRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotateTextRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotateTextRequest proto.InternalMessageInfo - -func (m *AnnotateTextRequest) GetDocument() *Document { - if m != nil { - return m.Document - } - return nil -} - -func (m *AnnotateTextRequest) GetFeatures() *AnnotateTextRequest_Features { - if m != nil { - return m.Features - } - return nil -} - -func (m *AnnotateTextRequest) GetEncodingType() EncodingType { - if m != nil { - return m.EncodingType - } - return EncodingType_NONE -} - -// All available features for sentiment, syntax, and semantic analysis. -// Setting each one to true will enable that specific analysis for the input. -// Next ID: 10 -type AnnotateTextRequest_Features struct { - // Extract syntax information. - ExtractSyntax bool `protobuf:"varint,1,opt,name=extract_syntax,json=extractSyntax,proto3" json:"extract_syntax,omitempty"` - // Extract entities. - ExtractEntities bool `protobuf:"varint,2,opt,name=extract_entities,json=extractEntities,proto3" json:"extract_entities,omitempty"` - // Extract document-level sentiment. - ExtractDocumentSentiment bool `protobuf:"varint,3,opt,name=extract_document_sentiment,json=extractDocumentSentiment,proto3" json:"extract_document_sentiment,omitempty"` - // Extract entities and their associated sentiment. - ExtractEntitySentiment bool `protobuf:"varint,4,opt,name=extract_entity_sentiment,json=extractEntitySentiment,proto3" json:"extract_entity_sentiment,omitempty"` - // Classify the full document into categories. If this is true, - // the API will use the default model which classifies into a - // [predefined taxonomy](/natural-language/docs/categories). - ClassifyText bool `protobuf:"varint,6,opt,name=classify_text,json=classifyText,proto3" json:"classify_text,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AnnotateTextRequest_Features) Reset() { *m = AnnotateTextRequest_Features{} } -func (m *AnnotateTextRequest_Features) String() string { return proto.CompactTextString(m) } -func (*AnnotateTextRequest_Features) ProtoMessage() {} -func (*AnnotateTextRequest_Features) Descriptor() ([]byte, []int) { - return fileDescriptor_640cb15898844b6f, []int{20, 0} -} - -func (m *AnnotateTextRequest_Features) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotateTextRequest_Features.Unmarshal(m, b) -} -func (m *AnnotateTextRequest_Features) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotateTextRequest_Features.Marshal(b, m, deterministic) -} -func (m *AnnotateTextRequest_Features) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateTextRequest_Features.Merge(m, src) -} -func (m *AnnotateTextRequest_Features) XXX_Size() int { - return xxx_messageInfo_AnnotateTextRequest_Features.Size(m) -} -func (m *AnnotateTextRequest_Features) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotateTextRequest_Features.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotateTextRequest_Features proto.InternalMessageInfo - -func (m *AnnotateTextRequest_Features) GetExtractSyntax() bool { - if m != nil { - return m.ExtractSyntax - } - return false -} - -func (m *AnnotateTextRequest_Features) GetExtractEntities() bool { - if m != nil { - return m.ExtractEntities - } - return false -} - -func (m *AnnotateTextRequest_Features) GetExtractDocumentSentiment() bool { - if m != nil { - return m.ExtractDocumentSentiment - } - return false -} - -func (m *AnnotateTextRequest_Features) GetExtractEntitySentiment() bool { - if m != nil { - return m.ExtractEntitySentiment - } - return false -} - -func (m *AnnotateTextRequest_Features) GetClassifyText() bool { - if m != nil { - return m.ClassifyText - } - return false -} - -// The text annotations response message. -type AnnotateTextResponse struct { - // Sentences in the input document. Populated if the user enables - // [AnnotateTextRequest.Features.extract_syntax][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_syntax]. - Sentences []*Sentence `protobuf:"bytes,1,rep,name=sentences,proto3" json:"sentences,omitempty"` - // Tokens, along with their syntactic information, in the input document. - // Populated if the user enables - // [AnnotateTextRequest.Features.extract_syntax][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_syntax]. - Tokens []*Token `protobuf:"bytes,2,rep,name=tokens,proto3" json:"tokens,omitempty"` - // Entities, along with their semantic information, in the input document. - // Populated if the user enables - // [AnnotateTextRequest.Features.extract_entities][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_entities]. - Entities []*Entity `protobuf:"bytes,3,rep,name=entities,proto3" json:"entities,omitempty"` - // The overall sentiment for the document. Populated if the user enables - // [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_document_sentiment]. - DocumentSentiment *Sentiment `protobuf:"bytes,4,opt,name=document_sentiment,json=documentSentiment,proto3" json:"document_sentiment,omitempty"` - // The language of the text, which will be the same as the language specified - // in the request or, if not specified, the automatically-detected language. - // See [Document.language][google.cloud.language.v1beta2.Document.language] field for more details. - Language string `protobuf:"bytes,5,opt,name=language,proto3" json:"language,omitempty"` - // Categories identified in the input document. - Categories []*ClassificationCategory `protobuf:"bytes,6,rep,name=categories,proto3" json:"categories,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_640cb15898844b6f, []int{21} -} - -func (m *AnnotateTextResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotateTextResponse.Unmarshal(m, b) -} -func (m *AnnotateTextResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotateTextResponse.Marshal(b, m, deterministic) -} -func (m *AnnotateTextResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateTextResponse.Merge(m, src) -} -func (m *AnnotateTextResponse) XXX_Size() int { - return xxx_messageInfo_AnnotateTextResponse.Size(m) -} -func (m *AnnotateTextResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotateTextResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotateTextResponse proto.InternalMessageInfo - -func (m *AnnotateTextResponse) GetSentences() []*Sentence { - if m != nil { - return m.Sentences - } - return nil -} - -func (m *AnnotateTextResponse) GetTokens() []*Token { - if m != nil { - return m.Tokens - } - return nil -} - -func (m *AnnotateTextResponse) GetEntities() []*Entity { - if m != nil { - return m.Entities - } - return nil -} - -func (m *AnnotateTextResponse) GetDocumentSentiment() *Sentiment { - if m != nil { - return m.DocumentSentiment - } - return nil -} - -func (m *AnnotateTextResponse) GetLanguage() string { - if m != nil { - return m.Language - } - return "" -} - -func (m *AnnotateTextResponse) GetCategories() []*ClassificationCategory { - if m != nil { - return m.Categories - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.language.v1beta2.EncodingType", EncodingType_name, EncodingType_value) - proto.RegisterEnum("google.cloud.language.v1beta2.Document_Type", Document_Type_name, Document_Type_value) - proto.RegisterEnum("google.cloud.language.v1beta2.Entity_Type", Entity_Type_name, Entity_Type_value) - proto.RegisterEnum("google.cloud.language.v1beta2.PartOfSpeech_Tag", PartOfSpeech_Tag_name, PartOfSpeech_Tag_value) - proto.RegisterEnum("google.cloud.language.v1beta2.PartOfSpeech_Aspect", PartOfSpeech_Aspect_name, PartOfSpeech_Aspect_value) - proto.RegisterEnum("google.cloud.language.v1beta2.PartOfSpeech_Case", PartOfSpeech_Case_name, PartOfSpeech_Case_value) - proto.RegisterEnum("google.cloud.language.v1beta2.PartOfSpeech_Form", PartOfSpeech_Form_name, PartOfSpeech_Form_value) - proto.RegisterEnum("google.cloud.language.v1beta2.PartOfSpeech_Gender", PartOfSpeech_Gender_name, PartOfSpeech_Gender_value) - proto.RegisterEnum("google.cloud.language.v1beta2.PartOfSpeech_Mood", PartOfSpeech_Mood_name, PartOfSpeech_Mood_value) - proto.RegisterEnum("google.cloud.language.v1beta2.PartOfSpeech_Number", PartOfSpeech_Number_name, PartOfSpeech_Number_value) - proto.RegisterEnum("google.cloud.language.v1beta2.PartOfSpeech_Person", PartOfSpeech_Person_name, PartOfSpeech_Person_value) - proto.RegisterEnum("google.cloud.language.v1beta2.PartOfSpeech_Proper", PartOfSpeech_Proper_name, PartOfSpeech_Proper_value) - proto.RegisterEnum("google.cloud.language.v1beta2.PartOfSpeech_Reciprocity", PartOfSpeech_Reciprocity_name, PartOfSpeech_Reciprocity_value) - proto.RegisterEnum("google.cloud.language.v1beta2.PartOfSpeech_Tense", PartOfSpeech_Tense_name, PartOfSpeech_Tense_value) - proto.RegisterEnum("google.cloud.language.v1beta2.PartOfSpeech_Voice", PartOfSpeech_Voice_name, PartOfSpeech_Voice_value) - proto.RegisterEnum("google.cloud.language.v1beta2.DependencyEdge_Label", DependencyEdge_Label_name, DependencyEdge_Label_value) - proto.RegisterEnum("google.cloud.language.v1beta2.EntityMention_Type", EntityMention_Type_name, EntityMention_Type_value) - proto.RegisterType((*Document)(nil), "google.cloud.language.v1beta2.Document") - proto.RegisterType((*Sentence)(nil), "google.cloud.language.v1beta2.Sentence") - proto.RegisterType((*Entity)(nil), "google.cloud.language.v1beta2.Entity") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.language.v1beta2.Entity.MetadataEntry") - proto.RegisterType((*Token)(nil), "google.cloud.language.v1beta2.Token") - proto.RegisterType((*Sentiment)(nil), "google.cloud.language.v1beta2.Sentiment") - proto.RegisterType((*PartOfSpeech)(nil), "google.cloud.language.v1beta2.PartOfSpeech") - proto.RegisterType((*DependencyEdge)(nil), "google.cloud.language.v1beta2.DependencyEdge") - proto.RegisterType((*EntityMention)(nil), "google.cloud.language.v1beta2.EntityMention") - proto.RegisterType((*TextSpan)(nil), "google.cloud.language.v1beta2.TextSpan") - proto.RegisterType((*ClassificationCategory)(nil), "google.cloud.language.v1beta2.ClassificationCategory") - proto.RegisterType((*AnalyzeSentimentRequest)(nil), "google.cloud.language.v1beta2.AnalyzeSentimentRequest") - proto.RegisterType((*AnalyzeSentimentResponse)(nil), "google.cloud.language.v1beta2.AnalyzeSentimentResponse") - proto.RegisterType((*AnalyzeEntitySentimentRequest)(nil), "google.cloud.language.v1beta2.AnalyzeEntitySentimentRequest") - proto.RegisterType((*AnalyzeEntitySentimentResponse)(nil), "google.cloud.language.v1beta2.AnalyzeEntitySentimentResponse") - proto.RegisterType((*AnalyzeEntitiesRequest)(nil), "google.cloud.language.v1beta2.AnalyzeEntitiesRequest") - proto.RegisterType((*AnalyzeEntitiesResponse)(nil), "google.cloud.language.v1beta2.AnalyzeEntitiesResponse") - proto.RegisterType((*AnalyzeSyntaxRequest)(nil), "google.cloud.language.v1beta2.AnalyzeSyntaxRequest") - proto.RegisterType((*AnalyzeSyntaxResponse)(nil), "google.cloud.language.v1beta2.AnalyzeSyntaxResponse") - proto.RegisterType((*ClassifyTextRequest)(nil), "google.cloud.language.v1beta2.ClassifyTextRequest") - proto.RegisterType((*ClassifyTextResponse)(nil), "google.cloud.language.v1beta2.ClassifyTextResponse") - proto.RegisterType((*AnnotateTextRequest)(nil), "google.cloud.language.v1beta2.AnnotateTextRequest") - proto.RegisterType((*AnnotateTextRequest_Features)(nil), "google.cloud.language.v1beta2.AnnotateTextRequest.Features") - proto.RegisterType((*AnnotateTextResponse)(nil), "google.cloud.language.v1beta2.AnnotateTextResponse") -} - -func init() { - proto.RegisterFile("google/cloud/language/v1beta2/language_service.proto", fileDescriptor_640cb15898844b6f) -} - -var fileDescriptor_640cb15898844b6f = []byte{ - // 3149 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x3a, 0xcf, 0x73, 0xdb, 0xc6, - 0xd5, 0x06, 0x7f, 0x89, 0x5a, 0x4a, 0xf2, 0x1a, 0x76, 0x6c, 0x7e, 0xfc, 0x92, 0xd8, 0x41, 0xe2, - 0xcf, 0x8a, 0xe3, 0x48, 0xb1, 0x14, 0x3b, 0xfe, 0x6c, 0xe7, 0x07, 0x04, 0x2c, 0x29, 0xc8, 0x24, - 0x00, 0x2f, 0x00, 0x5a, 0xce, 0xb4, 0xc3, 0xc2, 0x24, 0x44, 0x73, 0x22, 0x12, 0x2c, 0x01, 0x39, - 0x56, 0x2e, 0x99, 0xc9, 0x4c, 0x2f, 0xed, 0x64, 0x7a, 0xe8, 0x5f, 0xd1, 0x1e, 0xda, 0x69, 0xa7, - 0x9d, 0x69, 0xa6, 0xff, 0x41, 0x7b, 0x6b, 0x3a, 0xed, 0x34, 0xa7, 0x1e, 0x7a, 0x6f, 0x8f, 0xed, - 0xad, 0xf3, 0x76, 0x17, 0x24, 0x28, 0x2b, 0x96, 0xe8, 0xa4, 0x9d, 0xe6, 0xb6, 0xfb, 0xf0, 0x7e, - 0xbf, 0xb7, 0xef, 0xbd, 0x5d, 0x12, 0xbd, 0xd9, 0x0d, 0xc3, 0xee, 0x6e, 0xb0, 0xda, 0xde, 0x0d, - 0xf7, 0x3a, 0xab, 0xbb, 0xfe, 0xa0, 0xbb, 0xe7, 0x77, 0x83, 0xd5, 0x47, 0x57, 0x1f, 0x04, 0xb1, - 0xbf, 0x36, 0x06, 0xb4, 0xa2, 0x60, 0xf4, 0xa8, 0xd7, 0x0e, 0x56, 0x86, 0xa3, 0x30, 0x0e, 0xe5, - 0x17, 0x38, 0xd5, 0x0a, 0xa3, 0x5a, 0x49, 0x90, 0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0xce, 0x23, 0x69, 0x9b, 0xd7, 0x59, - 0xb5, 0x5a, 0x35, 0xb6, 0xf1, 0xa2, 0x62, 0xa1, 0x02, 0x3f, 0x90, 0xb2, 0x8c, 0x96, 0x54, 0x18, - 0x47, 0xdc, 0xd6, 0x44, 0x31, 0x18, 0x49, 0x08, 0xad, 0x12, 0xcd, 0x35, 0x9a, 0x04, 0x4b, 0x50, - 0xd5, 0x8d, 0x46, 0x0a, 0x92, 0x81, 0xb6, 0x60, 0x53, 0xab, 0x06, 0x65, 0x1d, 0x00, 0x59, 0xe5, - 0x1f, 0x12, 0xca, 0xc1, 0xc1, 0x04, 0x5c, 0x4d, 0x75, 0xc8, 0x34, 0x37, 0x55, 0xd3, 0x3c, 0x47, - 0x15, 0xdc, 0x16, 0xd1, 0xbc, 0xaa, 0x83, 0x66, 0x86, 0x5a, 0xc7, 0x19, 0xde, 0x50, 0x1a, 0x76, - 0x9d, 0x34, 0x88, 0xc9, 0x30, 0xb2, 0xd0, 0x1c, 0x74, 0x8e, 0x9d, 0x83, 0x5e, 0x55, 0x23, 0xa6, - 0xc1, 0x76, 0x79, 0xa6, 0x89, 0xe9, 0xb8, 0xd4, 0x03, 0x64, 0xb5, 0x8e, 0x0b, 0x93, 0x5e, 0xd6, - 0x24, 0x78, 0x0e, 0x64, 0x99, 0x56, 0xc3, 0x30, 0xf9, 0xbe, 0x08, 0xfe, 0xb6, 0x36, 0xea, 0xc6, - 0x5d, 0x8f, 0xe0, 0x79, 0x10, 0x6c, 0xab, 0xd4, 0xe5, 0xbc, 0x10, 0x08, 0xb6, 0x29, 0xb1, 0x2d, - 0xc7, 0x80, 0xb6, 0xa7, 0xd6, 0x71, 0x09, 0x9c, 0x41, 0x49, 0xb5, 0x4e, 0xb6, 0x8d, 0x26, 0x69, - 0x81, 0x19, 0x78, 0x01, 0xd0, 0x28, 0xa9, 0x33, 0x86, 0x1c, 0xb4, 0x08, 0x32, 0x9b, 0x89, 0xcc, - 0x25, 0xe5, 0x67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, 0xf8, 0x44, 0x42, 0x2f, - 0xb5, 0xc3, 0xfe, 0xd3, 0x1d, 0xb3, 0x71, 0xe6, 0x40, 0xbd, 0xb6, 0x47, 0x61, 0x1c, 0xda, 0xd2, - 0xfb, 0x44, 0x90, 0x75, 0x43, 0x20, 0x59, 0x09, 0x47, 0xdd, 0xd5, 0x6e, 0x30, 0x60, 0x7f, 0xec, - 0x59, 0x9d, 0x08, 0xff, 0x92, 0x7f, 0x2a, 0xdd, 0x4a, 0x00, 0x0f, 0x0a, 0x8c, 0x62, 0xfd, 0x5f, - 0x01, 0x00, 0x00, 0xff, 0xff, 0x68, 0x8d, 0xfe, 0xdf, 0xda, 0x24, 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 - -// LanguageServiceClient is the client API for LanguageService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type LanguageServiceClient interface { - // Analyzes the sentiment of the provided text. - AnalyzeSentiment(ctx context.Context, in *AnalyzeSentimentRequest, opts ...grpc.CallOption) (*AnalyzeSentimentResponse, error) - // Finds named entities (currently proper names and common nouns) in the text - // along with entity types, salience, mentions for each entity, and - // other properties. - AnalyzeEntities(ctx context.Context, in *AnalyzeEntitiesRequest, opts ...grpc.CallOption) (*AnalyzeEntitiesResponse, error) - // Finds entities, similar to [AnalyzeEntities][google.cloud.language.v1beta2.LanguageService.AnalyzeEntities] in the text and analyzes - // sentiment associated with each entity and its mentions. - AnalyzeEntitySentiment(ctx context.Context, in *AnalyzeEntitySentimentRequest, opts ...grpc.CallOption) (*AnalyzeEntitySentimentResponse, error) - // Analyzes the syntax of the text and provides sentence boundaries and - // tokenization along with part of speech tags, dependency trees, and other - // properties. - AnalyzeSyntax(ctx context.Context, in *AnalyzeSyntaxRequest, opts ...grpc.CallOption) (*AnalyzeSyntaxResponse, error) - // Classifies a document into categories. - ClassifyText(ctx context.Context, in *ClassifyTextRequest, opts ...grpc.CallOption) (*ClassifyTextResponse, error) - // A convenience method that provides all syntax, sentiment, entity, and - // classification features in one call. - AnnotateText(ctx context.Context, in *AnnotateTextRequest, opts ...grpc.CallOption) (*AnnotateTextResponse, error) -} - -type languageServiceClient struct { - cc *grpc.ClientConn -} - -func NewLanguageServiceClient(cc *grpc.ClientConn) LanguageServiceClient { - return &languageServiceClient{cc} -} - -func (c *languageServiceClient) AnalyzeSentiment(ctx context.Context, in *AnalyzeSentimentRequest, opts ...grpc.CallOption) (*AnalyzeSentimentResponse, error) { - out := new(AnalyzeSentimentResponse) - err := c.cc.Invoke(ctx, "/google.cloud.language.v1beta2.LanguageService/AnalyzeSentiment", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *languageServiceClient) AnalyzeEntities(ctx context.Context, in *AnalyzeEntitiesRequest, opts ...grpc.CallOption) (*AnalyzeEntitiesResponse, error) { - out := new(AnalyzeEntitiesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.language.v1beta2.LanguageService/AnalyzeEntities", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *languageServiceClient) AnalyzeEntitySentiment(ctx context.Context, in *AnalyzeEntitySentimentRequest, opts ...grpc.CallOption) (*AnalyzeEntitySentimentResponse, error) { - out := new(AnalyzeEntitySentimentResponse) - err := c.cc.Invoke(ctx, "/google.cloud.language.v1beta2.LanguageService/AnalyzeEntitySentiment", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *languageServiceClient) AnalyzeSyntax(ctx context.Context, in *AnalyzeSyntaxRequest, opts ...grpc.CallOption) (*AnalyzeSyntaxResponse, error) { - out := new(AnalyzeSyntaxResponse) - err := c.cc.Invoke(ctx, "/google.cloud.language.v1beta2.LanguageService/AnalyzeSyntax", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *languageServiceClient) ClassifyText(ctx context.Context, in *ClassifyTextRequest, opts ...grpc.CallOption) (*ClassifyTextResponse, error) { - out := new(ClassifyTextResponse) - err := c.cc.Invoke(ctx, "/google.cloud.language.v1beta2.LanguageService/ClassifyText", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *languageServiceClient) AnnotateText(ctx context.Context, in *AnnotateTextRequest, opts ...grpc.CallOption) (*AnnotateTextResponse, error) { - out := new(AnnotateTextResponse) - err := c.cc.Invoke(ctx, "/google.cloud.language.v1beta2.LanguageService/AnnotateText", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// LanguageServiceServer is the server API for LanguageService service. -type LanguageServiceServer interface { - // Analyzes the sentiment of the provided text. - AnalyzeSentiment(context.Context, *AnalyzeSentimentRequest) (*AnalyzeSentimentResponse, error) - // Finds named entities (currently proper names and common nouns) in the text - // along with entity types, salience, mentions for each entity, and - // other properties. - AnalyzeEntities(context.Context, *AnalyzeEntitiesRequest) (*AnalyzeEntitiesResponse, error) - // Finds entities, similar to [AnalyzeEntities][google.cloud.language.v1beta2.LanguageService.AnalyzeEntities] in the text and analyzes - // sentiment associated with each entity and its mentions. - AnalyzeEntitySentiment(context.Context, *AnalyzeEntitySentimentRequest) (*AnalyzeEntitySentimentResponse, error) - // Analyzes the syntax of the text and provides sentence boundaries and - // tokenization along with part of speech tags, dependency trees, and other - // properties. - AnalyzeSyntax(context.Context, *AnalyzeSyntaxRequest) (*AnalyzeSyntaxResponse, error) - // Classifies a document into categories. - ClassifyText(context.Context, *ClassifyTextRequest) (*ClassifyTextResponse, error) - // A convenience method that provides all syntax, sentiment, entity, and - // classification features in one call. - AnnotateText(context.Context, *AnnotateTextRequest) (*AnnotateTextResponse, error) -} - -// UnimplementedLanguageServiceServer can be embedded to have forward compatible implementations. -type UnimplementedLanguageServiceServer struct { -} - -func (*UnimplementedLanguageServiceServer) AnalyzeSentiment(ctx context.Context, req *AnalyzeSentimentRequest) (*AnalyzeSentimentResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AnalyzeSentiment not implemented") -} -func (*UnimplementedLanguageServiceServer) AnalyzeEntities(ctx context.Context, req *AnalyzeEntitiesRequest) (*AnalyzeEntitiesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AnalyzeEntities not implemented") -} -func (*UnimplementedLanguageServiceServer) AnalyzeEntitySentiment(ctx context.Context, req *AnalyzeEntitySentimentRequest) (*AnalyzeEntitySentimentResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AnalyzeEntitySentiment not implemented") -} -func (*UnimplementedLanguageServiceServer) AnalyzeSyntax(ctx context.Context, req *AnalyzeSyntaxRequest) (*AnalyzeSyntaxResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AnalyzeSyntax not implemented") -} -func (*UnimplementedLanguageServiceServer) ClassifyText(ctx context.Context, req *ClassifyTextRequest) (*ClassifyTextResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ClassifyText not implemented") -} -func (*UnimplementedLanguageServiceServer) AnnotateText(ctx context.Context, req *AnnotateTextRequest) (*AnnotateTextResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AnnotateText not implemented") -} - -func RegisterLanguageServiceServer(s *grpc.Server, srv LanguageServiceServer) { - s.RegisterService(&_LanguageService_serviceDesc, srv) -} - -func _LanguageService_AnalyzeSentiment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AnalyzeSentimentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LanguageServiceServer).AnalyzeSentiment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.language.v1beta2.LanguageService/AnalyzeSentiment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LanguageServiceServer).AnalyzeSentiment(ctx, req.(*AnalyzeSentimentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LanguageService_AnalyzeEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AnalyzeEntitiesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LanguageServiceServer).AnalyzeEntities(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.language.v1beta2.LanguageService/AnalyzeEntities", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LanguageServiceServer).AnalyzeEntities(ctx, req.(*AnalyzeEntitiesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LanguageService_AnalyzeEntitySentiment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AnalyzeEntitySentimentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LanguageServiceServer).AnalyzeEntitySentiment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.language.v1beta2.LanguageService/AnalyzeEntitySentiment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LanguageServiceServer).AnalyzeEntitySentiment(ctx, req.(*AnalyzeEntitySentimentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LanguageService_AnalyzeSyntax_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AnalyzeSyntaxRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LanguageServiceServer).AnalyzeSyntax(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.language.v1beta2.LanguageService/AnalyzeSyntax", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LanguageServiceServer).AnalyzeSyntax(ctx, req.(*AnalyzeSyntaxRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LanguageService_ClassifyText_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ClassifyTextRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LanguageServiceServer).ClassifyText(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.language.v1beta2.LanguageService/ClassifyText", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LanguageServiceServer).ClassifyText(ctx, req.(*ClassifyTextRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LanguageService_AnnotateText_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AnnotateTextRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LanguageServiceServer).AnnotateText(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.language.v1beta2.LanguageService/AnnotateText", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LanguageServiceServer).AnnotateText(ctx, req.(*AnnotateTextRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _LanguageService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.language.v1beta2.LanguageService", - HandlerType: (*LanguageServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AnalyzeSentiment", - Handler: _LanguageService_AnalyzeSentiment_Handler, - }, - { - MethodName: "AnalyzeEntities", - Handler: _LanguageService_AnalyzeEntities_Handler, - }, - { - MethodName: "AnalyzeEntitySentiment", - Handler: _LanguageService_AnalyzeEntitySentiment_Handler, - }, - { - MethodName: "AnalyzeSyntax", - Handler: _LanguageService_AnalyzeSyntax_Handler, - }, - { - MethodName: "ClassifyText", - Handler: _LanguageService_ClassifyText_Handler, - }, - { - MethodName: "AnnotateText", - Handler: _LanguageService_AnnotateText_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/language/v1beta2/language_service.proto", -} 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 deleted file mode 100644 index add8c8ef..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/location/locations.pb.go +++ /dev/null @@ -1,441 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/location/locations.proto - -package location - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - any "github.com/golang/protobuf/ptypes/any" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The request message for -// [Locations.ListLocations][google.cloud.location.Locations.ListLocations]. -type ListLocationsRequest struct { - // The resource that owns the locations collection, if applicable. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The standard list filter. - Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` - // The standard list page size. - PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // The standard list page token. - 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 *ListLocationsRequest) Reset() { *m = ListLocationsRequest{} } -func (m *ListLocationsRequest) String() string { return proto.CompactTextString(m) } -func (*ListLocationsRequest) ProtoMessage() {} -func (*ListLocationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3903434ffd69ff4c, []int{0} -} - -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 (m *ListLocationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListLocationsRequest.Merge(m, 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) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ListLocationsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListLocationsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListLocationsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// The response message for -// [Locations.ListLocations][google.cloud.location.Locations.ListLocations]. -type ListLocationsResponse struct { - // A list of locations that matches the specified filter in the request. - Locations []*Location `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,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 *ListLocationsResponse) Reset() { *m = ListLocationsResponse{} } -func (m *ListLocationsResponse) String() string { return proto.CompactTextString(m) } -func (*ListLocationsResponse) ProtoMessage() {} -func (*ListLocationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3903434ffd69ff4c, []int{1} -} - -func (m *ListLocationsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListLocationsResponse.Unmarshal(m, b) -} -func (m *ListLocationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListLocationsResponse.Marshal(b, m, deterministic) -} -func (m *ListLocationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListLocationsResponse.Merge(m, src) -} -func (m *ListLocationsResponse) XXX_Size() int { - return xxx_messageInfo_ListLocationsResponse.Size(m) -} -func (m *ListLocationsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListLocationsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListLocationsResponse proto.InternalMessageInfo - -func (m *ListLocationsResponse) GetLocations() []*Location { - if m != nil { - return m.Locations - } - return nil -} - -func (m *ListLocationsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The request message for -// [Locations.GetLocation][google.cloud.location.Locations.GetLocation]. -type GetLocationRequest struct { - // Resource name for the location. - 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 *GetLocationRequest) Reset() { *m = GetLocationRequest{} } -func (m *GetLocationRequest) String() string { return proto.CompactTextString(m) } -func (*GetLocationRequest) ProtoMessage() {} -func (*GetLocationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3903434ffd69ff4c, []int{2} -} - -func (m *GetLocationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetLocationRequest.Unmarshal(m, b) -} -func (m *GetLocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetLocationRequest.Marshal(b, m, deterministic) -} -func (m *GetLocationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetLocationRequest.Merge(m, src) -} -func (m *GetLocationRequest) XXX_Size() int { - return xxx_messageInfo_GetLocationRequest.Size(m) -} -func (m *GetLocationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetLocationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetLocationRequest proto.InternalMessageInfo - -func (m *GetLocationRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// A resource that represents Google Cloud Platform location. -type Location struct { - // Resource name for the location, which may vary between implementations. - // For example: `"projects/example-project/locations/us-east1"` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The canonical id for this location. For example: `"us-east1"`. - LocationId string `protobuf:"bytes,4,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` - // The friendly name for this location, typically a nearby city name. - // For example, "Tokyo". - DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Cross-service attributes for the location. For example - // - // {"cloud.googleapis.com/region": "us-east1"} - 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"` - // Service-specific metadata. For example the available capacity at the given - // location. - Metadata *any.Any `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,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_3903434ffd69ff4c, []int{3} -} - -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 (m *Location) XXX_Merge(src proto.Message) { - xxx_messageInfo_Location.Merge(m, 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) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Location) GetLocationId() string { - if m != nil { - return m.LocationId - } - return "" -} - -func (m *Location) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *Location) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -func (m *Location) GetMetadata() *any.Any { - if m != nil { - return m.Metadata - } - return nil -} - -func init() { - proto.RegisterType((*ListLocationsRequest)(nil), "google.cloud.location.ListLocationsRequest") - proto.RegisterType((*ListLocationsResponse)(nil), "google.cloud.location.ListLocationsResponse") - proto.RegisterType((*GetLocationRequest)(nil), "google.cloud.location.GetLocationRequest") - proto.RegisterType((*Location)(nil), "google.cloud.location.Location") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.location.Location.LabelsEntry") -} - -func init() { - proto.RegisterFile("google/cloud/location/locations.proto", fileDescriptor_3903434ffd69ff4c) -} - -var fileDescriptor_3903434ffd69ff4c = []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, - 0x05, 0x79, 0x21, 0x5c, 0xf8, 0x51, 0x0e, 0x14, 0x21, 0x84, 0x14, 0xa1, 0xc8, 0x70, 0xe2, 0x12, - 0x6d, 0xe2, 0xad, 0x65, 0xea, 0xec, 0x1a, 0xef, 0xa6, 0xc2, 0x45, 0xed, 0x01, 0xf1, 0x06, 0xe5, - 0x21, 0x78, 0x1f, 0x5e, 0x81, 0x87, 0xe0, 0x88, 0xbc, 0xfe, 0x49, 0x28, 0x2e, 0xe5, 0xb6, 0x3b, - 0xf3, 0x7d, 0xf3, 0xcd, 0xb7, 0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ce, 0xde, 0xd1, 0x4d, 0xdc, 0xc2, 0xfd, 0xaa, 0x26, 0x56, 0x3d, 0x90, 0xdd, 0xe3, - 0x3d, 0x01, 0xdb, 0x73, 0xb1, 0xa8, 0x2e, 0xb8, 0x77, 0xb9, 0xf4, 0x37, 0x49, 0x67, 0x34, 0x41, - 0xef, 0x47, 0x39, 0xd0, 0x17, 0x21, 0xe5, 0xbe, 0x23, 0x62, 0x9f, 0xf8, 0x8c, 0xeb, 0x09, 0x92, - 0x2c, 0x45, 0xa3, 0x40, 0x9e, 0xf9, 0x61, 0x3c, 0x2b, 0x0e, 0xbf, 0x10, 0x9a, 0x35, 0x34, 0xf8, - 0xd1, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x27, 0xd7, 0x9e, 0x57, 0x5c, 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 - -// LocationsClient is the client API for Locations service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type LocationsClient interface { - // Lists information about the supported locations for this service. - ListLocations(ctx context.Context, in *ListLocationsRequest, opts ...grpc.CallOption) (*ListLocationsResponse, error) - // Gets information about a location. - GetLocation(ctx context.Context, in *GetLocationRequest, opts ...grpc.CallOption) (*Location, error) -} - -type locationsClient struct { - cc *grpc.ClientConn -} - -func NewLocationsClient(cc *grpc.ClientConn) LocationsClient { - return &locationsClient{cc} -} - -func (c *locationsClient) ListLocations(ctx context.Context, in *ListLocationsRequest, opts ...grpc.CallOption) (*ListLocationsResponse, error) { - out := new(ListLocationsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.location.Locations/ListLocations", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *locationsClient) GetLocation(ctx context.Context, in *GetLocationRequest, opts ...grpc.CallOption) (*Location, error) { - out := new(Location) - err := c.cc.Invoke(ctx, "/google.cloud.location.Locations/GetLocation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// LocationsServer is the server API for Locations service. -type LocationsServer interface { - // Lists information about the supported locations for this service. - ListLocations(context.Context, *ListLocationsRequest) (*ListLocationsResponse, error) - // Gets information about a location. - GetLocation(context.Context, *GetLocationRequest) (*Location, error) -} - -// UnimplementedLocationsServer can be embedded to have forward compatible implementations. -type UnimplementedLocationsServer struct { -} - -func (*UnimplementedLocationsServer) ListLocations(ctx context.Context, req *ListLocationsRequest) (*ListLocationsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListLocations not implemented") -} -func (*UnimplementedLocationsServer) GetLocation(ctx context.Context, req *GetLocationRequest) (*Location, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetLocation not implemented") -} - -func RegisterLocationsServer(s *grpc.Server, srv LocationsServer) { - s.RegisterService(&_Locations_serviceDesc, srv) -} - -func _Locations_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.(LocationsServer).ListLocations(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.location.Locations/ListLocations", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LocationsServer).ListLocations(ctx, req.(*ListLocationsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Locations_GetLocation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetLocationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LocationsServer).GetLocation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.location.Locations/GetLocation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LocationsServer).GetLocation(ctx, req.(*GetLocationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Locations_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.location.Locations", - HandlerType: (*LocationsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListLocations", - Handler: _Locations_ListLocations_Handler, - }, - { - MethodName: "GetLocation", - Handler: _Locations_GetLocation_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/location/locations.proto", -} 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 deleted file mode 100644 index 5a54d29d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/job_service.pb.go +++ /dev/null @@ -1,1965 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/ml/v1/job_service.proto - -package ml - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - _ "google.golang.org/genproto/googleapis/api/serviceconfig" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A scale tier is an abstract representation of the resources Cloud ML -// will allocate to a training job. When selecting a scale tier for your -// training job, you should consider the size of your training dataset and -// the complexity of your model. As the tiers increase, virtual machines are -// added to handle your job, and the individual machines in the cluster -// generally have more memory and greater processing power than they do at -// lower tiers. The number of training units charged per hour of processing -// increases as tiers get more advanced. Refer to the -// [pricing guide](/ml/pricing) for more details. Note that in addition to -// incurring costs, your use of training resources is constrained by the -// [quota policy](/ml/quota). -type TrainingInput_ScaleTier int32 - -const ( - // A single worker instance. This tier is suitable for learning how to use - // Cloud ML, and for experimenting with new models using small datasets. - TrainingInput_BASIC TrainingInput_ScaleTier = 0 - // Many workers and a few parameter servers. - TrainingInput_STANDARD_1 TrainingInput_ScaleTier = 1 - // A large number of workers with many parameter servers. - TrainingInput_PREMIUM_1 TrainingInput_ScaleTier = 3 - // A single worker instance [with a GPU](ml/docs/how-tos/using-gpus). - TrainingInput_BASIC_GPU TrainingInput_ScaleTier = 6 - // The CUSTOM tier is not a set tier, but rather enables you to use your - // own cluster specification. When you use this tier, set values to - // configure your processing cluster according to these guidelines: - // - // * You _must_ set `TrainingInput.masterType` to specify the type - // of machine to use for your master node. This is the only required - // setting. - // - // * You _may_ set `TrainingInput.workerCount` to specify the number of - // workers to use. If you specify one or more workers, you _must_ also - // set `TrainingInput.workerType` to specify the type of machine to use - // for your worker nodes. - // - // * You _may_ set `TrainingInput.parameterServerCount` to specify the - // number of parameter servers to use. If you specify one or more - // parameter servers, you _must_ also set - // `TrainingInput.parameterServerType` to specify the type of machine to - // use for your parameter servers. - // - // Note that all of your workers must use the same machine type, which can - // be different from your parameter server type and master type. Your - // parameter servers must likewise use the same machine type, which can be - // different from your worker type and master type. - TrainingInput_CUSTOM TrainingInput_ScaleTier = 5 -) - -var TrainingInput_ScaleTier_name = map[int32]string{ - 0: "BASIC", - 1: "STANDARD_1", - 3: "PREMIUM_1", - 6: "BASIC_GPU", - 5: "CUSTOM", -} - -var TrainingInput_ScaleTier_value = map[string]int32{ - "BASIC": 0, - "STANDARD_1": 1, - "PREMIUM_1": 3, - "BASIC_GPU": 6, - "CUSTOM": 5, -} - -func (x TrainingInput_ScaleTier) String() string { - return proto.EnumName(TrainingInput_ScaleTier_name, int32(x)) -} - -func (TrainingInput_ScaleTier) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a9e7ba15cb43988d, []int{0, 0} -} - -// The available types of optimization goals. -type HyperparameterSpec_GoalType int32 - -const ( - // Goal Type will default to maximize. - HyperparameterSpec_GOAL_TYPE_UNSPECIFIED HyperparameterSpec_GoalType = 0 - // Maximize the goal metric. - HyperparameterSpec_MAXIMIZE HyperparameterSpec_GoalType = 1 - // Minimize the goal metric. - HyperparameterSpec_MINIMIZE HyperparameterSpec_GoalType = 2 -) - -var HyperparameterSpec_GoalType_name = map[int32]string{ - 0: "GOAL_TYPE_UNSPECIFIED", - 1: "MAXIMIZE", - 2: "MINIMIZE", -} - -var HyperparameterSpec_GoalType_value = map[string]int32{ - "GOAL_TYPE_UNSPECIFIED": 0, - "MAXIMIZE": 1, - "MINIMIZE": 2, -} - -func (x HyperparameterSpec_GoalType) String() string { - return proto.EnumName(HyperparameterSpec_GoalType_name, int32(x)) -} - -func (HyperparameterSpec_GoalType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a9e7ba15cb43988d, []int{1, 0} -} - -// The type of the parameter. -type ParameterSpec_ParameterType int32 - -const ( - // You must specify a valid type. Using this unspecified type will result in - // an error. - ParameterSpec_PARAMETER_TYPE_UNSPECIFIED ParameterSpec_ParameterType = 0 - // Type for real-valued parameters. - ParameterSpec_DOUBLE ParameterSpec_ParameterType = 1 - // Type for integral parameters. - ParameterSpec_INTEGER ParameterSpec_ParameterType = 2 - // The parameter is categorical, with a value chosen from the categories - // field. - ParameterSpec_CATEGORICAL ParameterSpec_ParameterType = 3 - // The parameter is real valued, with a fixed set of feasible points. If - // `type==DISCRETE`, feasible_points must be provided, and - // {`min_value`, `max_value`} will be ignored. - ParameterSpec_DISCRETE ParameterSpec_ParameterType = 4 -) - -var ParameterSpec_ParameterType_name = map[int32]string{ - 0: "PARAMETER_TYPE_UNSPECIFIED", - 1: "DOUBLE", - 2: "INTEGER", - 3: "CATEGORICAL", - 4: "DISCRETE", -} - -var ParameterSpec_ParameterType_value = map[string]int32{ - "PARAMETER_TYPE_UNSPECIFIED": 0, - "DOUBLE": 1, - "INTEGER": 2, - "CATEGORICAL": 3, - "DISCRETE": 4, -} - -func (x ParameterSpec_ParameterType) String() string { - return proto.EnumName(ParameterSpec_ParameterType_name, int32(x)) -} - -func (ParameterSpec_ParameterType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a9e7ba15cb43988d, []int{2, 0} -} - -// The type of scaling that should be applied to this parameter. -type ParameterSpec_ScaleType int32 - -const ( - // By default, no scaling is applied. - ParameterSpec_NONE ParameterSpec_ScaleType = 0 - // Scales the feasible space to (0, 1) linearly. - ParameterSpec_UNIT_LINEAR_SCALE ParameterSpec_ScaleType = 1 - // Scales the feasible space logarithmically to (0, 1). The entire feasible - // space must be strictly positive. - ParameterSpec_UNIT_LOG_SCALE ParameterSpec_ScaleType = 2 - // Scales the feasible space "reverse" logarithmically to (0, 1). The result - // is that values close to the top of the feasible space are spread out more - // than points near the bottom. The entire feasible space must be strictly - // positive. - ParameterSpec_UNIT_REVERSE_LOG_SCALE ParameterSpec_ScaleType = 3 -) - -var ParameterSpec_ScaleType_name = map[int32]string{ - 0: "NONE", - 1: "UNIT_LINEAR_SCALE", - 2: "UNIT_LOG_SCALE", - 3: "UNIT_REVERSE_LOG_SCALE", -} - -var ParameterSpec_ScaleType_value = map[string]int32{ - "NONE": 0, - "UNIT_LINEAR_SCALE": 1, - "UNIT_LOG_SCALE": 2, - "UNIT_REVERSE_LOG_SCALE": 3, -} - -func (x ParameterSpec_ScaleType) String() string { - return proto.EnumName(ParameterSpec_ScaleType_name, int32(x)) -} - -func (ParameterSpec_ScaleType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a9e7ba15cb43988d, []int{2, 1} -} - -// The format used to separate data instances in the source files. -type PredictionInput_DataFormat int32 - -const ( - // Unspecified format. - PredictionInput_DATA_FORMAT_UNSPECIFIED PredictionInput_DataFormat = 0 - // The source file is a text file with instances separated by the - // new-line character. - PredictionInput_TEXT PredictionInput_DataFormat = 1 - // The source file is a TFRecord file. - PredictionInput_TF_RECORD PredictionInput_DataFormat = 2 - // The source file is a GZIP-compressed TFRecord file. - PredictionInput_TF_RECORD_GZIP PredictionInput_DataFormat = 3 -) - -var PredictionInput_DataFormat_name = map[int32]string{ - 0: "DATA_FORMAT_UNSPECIFIED", - 1: "TEXT", - 2: "TF_RECORD", - 3: "TF_RECORD_GZIP", -} - -var PredictionInput_DataFormat_value = map[string]int32{ - "DATA_FORMAT_UNSPECIFIED": 0, - "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_a9e7ba15cb43988d, []int{5, 0} -} - -// Describes the job state. -type Job_State int32 - -const ( - // The job state is unspecified. - Job_STATE_UNSPECIFIED Job_State = 0 - // The job has been just created and processing has not yet begun. - Job_QUEUED Job_State = 1 - // The service is preparing to run the job. - Job_PREPARING Job_State = 2 - // The job is in progress. - Job_RUNNING Job_State = 3 - // The job completed successfully. - Job_SUCCEEDED Job_State = 4 - // The job failed. - // `error_message` should contain the details of the failure. - Job_FAILED Job_State = 5 - // The job is being cancelled. - // `error_message` should describe the reason for the cancellation. - Job_CANCELLING Job_State = 6 - // The job has been cancelled. - // `error_message` should describe the reason for the cancellation. - Job_CANCELLED Job_State = 7 -) - -var Job_State_name = map[int32]string{ - 0: "STATE_UNSPECIFIED", - 1: "QUEUED", - 2: "PREPARING", - 3: "RUNNING", - 4: "SUCCEEDED", - 5: "FAILED", - 6: "CANCELLING", - 7: "CANCELLED", -} - -var Job_State_value = map[string]int32{ - "STATE_UNSPECIFIED": 0, - "QUEUED": 1, - "PREPARING": 2, - "RUNNING": 3, - "SUCCEEDED": 4, - "FAILED": 5, - "CANCELLING": 6, - "CANCELLED": 7, -} - -func (x Job_State) String() string { - return proto.EnumName(Job_State_name, int32(x)) -} - -func (Job_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a9e7ba15cb43988d, []int{7, 0} -} - -// Represents input parameters for a training job. -type TrainingInput struct { - // Required. Specifies the machine types, the number of replicas for workers - // and parameter servers. - ScaleTier TrainingInput_ScaleTier `protobuf:"varint,1,opt,name=scale_tier,json=scaleTier,proto3,enum=google.cloud.ml.v1.TrainingInput_ScaleTier" json:"scale_tier,omitempty"` - // Optional. Specifies the type of virtual machine to use for your training - // job's master worker. - // - // The following types are supported: - // - //
- //
standard
- //
- // A basic machine configuration suitable for training simple models with - // small to moderate datasets. - //
- //
large_model
- //
- // A machine with a lot of memory, specially suited for parameter servers - // when your model is large (having many hidden layers or layers with very - // large numbers of nodes). - //
- //
complex_model_s
- //
- // A machine suitable for the master and workers of the cluster when your - // model requires more computation than the standard machine can handle - // satisfactorily. - //
- //
complex_model_m
- //
- // A machine with roughly twice the number of cores and roughly double the - // memory of complex_model_s. - //
- //
complex_model_l
- //
- // A machine with roughly twice the number of cores and roughly double the - // memory of complex_model_m. - //
- //
standard_gpu
- //
- // A machine equivalent to standard that - // also includes a - // - // GPU that you can use in your trainer. - //
- //
complex_model_m_gpu
- //
- // A machine equivalent to - // coplex_model_m that also includes - // four GPUs. - //
- //
- // - // You must set this value when `scaleTier` is set to `CUSTOM`. - MasterType string `protobuf:"bytes,2,opt,name=master_type,json=masterType,proto3" json:"master_type,omitempty"` - // Optional. Specifies the type of virtual machine to use for your training - // job's worker nodes. - // - // The supported values are the same as those described in the entry for - // `masterType`. - // - // This value must be present when `scaleTier` is set to `CUSTOM` and - // `workerCount` is greater than zero. - WorkerType string `protobuf:"bytes,3,opt,name=worker_type,json=workerType,proto3" json:"worker_type,omitempty"` - // Optional. Specifies the type of virtual machine to use for your training - // job's parameter server. - // - // The supported values are the same as those described in the entry for - // `master_type`. - // - // This value must be present when `scaleTier` is set to `CUSTOM` and - // `parameter_server_count` is greater than zero. - ParameterServerType string `protobuf:"bytes,4,opt,name=parameter_server_type,json=parameterServerType,proto3" json:"parameter_server_type,omitempty"` - // Optional. The number of worker replicas to use for the training job. Each - // replica in the cluster will be of the type specified in `worker_type`. - // - // This value can only be used when `scale_tier` is set to `CUSTOM`. If you - // set this value, you must also set `worker_type`. - WorkerCount int64 `protobuf:"varint,5,opt,name=worker_count,json=workerCount,proto3" json:"worker_count,omitempty"` - // Optional. The number of parameter server replicas to use for the training - // job. Each replica in the cluster will be of the type specified in - // `parameter_server_type`. - // - // This value can only be used when `scale_tier` is set to `CUSTOM`.If you - // set this value, you must also set `parameter_server_type`. - ParameterServerCount int64 `protobuf:"varint,6,opt,name=parameter_server_count,json=parameterServerCount,proto3" json:"parameter_server_count,omitempty"` - // Required. The Google Cloud Storage location of the packages with - // the training program and any additional dependencies. - PackageUris []string `protobuf:"bytes,7,rep,name=package_uris,json=packageUris,proto3" json:"package_uris,omitempty"` - // Required. The Python module name to run after installing the packages. - PythonModule string `protobuf:"bytes,8,opt,name=python_module,json=pythonModule,proto3" json:"python_module,omitempty"` - // Optional. Command line arguments to pass to the program. - Args []string `protobuf:"bytes,10,rep,name=args,proto3" json:"args,omitempty"` - // Optional. The set of Hyperparameters to tune. - Hyperparameters *HyperparameterSpec `protobuf:"bytes,12,opt,name=hyperparameters,proto3" json:"hyperparameters,omitempty"` - // Required. The Google Compute Engine region to run the training job in. - Region string `protobuf:"bytes,14,opt,name=region,proto3" json:"region,omitempty"` - // Optional. A Google Cloud Storage path in which to store training outputs - // and other data needed for training. This path is passed to your TensorFlow - // program as the 'job_dir' command-line argument. The benefit of specifying - // this field is that Cloud ML validates the path for use in training. - JobDir string `protobuf:"bytes,16,opt,name=job_dir,json=jobDir,proto3" json:"job_dir,omitempty"` - // Optional. The Google Cloud ML runtime version to use for training. If not - // set, Google Cloud ML will choose the latest stable version. - RuntimeVersion string `protobuf:"bytes,15,opt,name=runtime_version,json=runtimeVersion,proto3" json:"runtime_version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a9e7ba15cb43988d, []int{0} -} - -func (m *TrainingInput) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TrainingInput.Unmarshal(m, b) -} -func (m *TrainingInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TrainingInput.Marshal(b, m, deterministic) -} -func (m *TrainingInput) XXX_Merge(src proto.Message) { - xxx_messageInfo_TrainingInput.Merge(m, src) -} -func (m *TrainingInput) XXX_Size() int { - return xxx_messageInfo_TrainingInput.Size(m) -} -func (m *TrainingInput) XXX_DiscardUnknown() { - xxx_messageInfo_TrainingInput.DiscardUnknown(m) -} - -var xxx_messageInfo_TrainingInput proto.InternalMessageInfo - -func (m *TrainingInput) GetScaleTier() TrainingInput_ScaleTier { - if m != nil { - return m.ScaleTier - } - return TrainingInput_BASIC -} - -func (m *TrainingInput) GetMasterType() string { - if m != nil { - return m.MasterType - } - return "" -} - -func (m *TrainingInput) GetWorkerType() string { - if m != nil { - return m.WorkerType - } - return "" -} - -func (m *TrainingInput) GetParameterServerType() string { - if m != nil { - return m.ParameterServerType - } - return "" -} - -func (m *TrainingInput) GetWorkerCount() int64 { - if m != nil { - return m.WorkerCount - } - return 0 -} - -func (m *TrainingInput) GetParameterServerCount() int64 { - if m != nil { - return m.ParameterServerCount - } - return 0 -} - -func (m *TrainingInput) GetPackageUris() []string { - if m != nil { - return m.PackageUris - } - return nil -} - -func (m *TrainingInput) GetPythonModule() string { - if m != nil { - return m.PythonModule - } - return "" -} - -func (m *TrainingInput) GetArgs() []string { - if m != nil { - return m.Args - } - return nil -} - -func (m *TrainingInput) GetHyperparameters() *HyperparameterSpec { - if m != nil { - return m.Hyperparameters - } - return nil -} - -func (m *TrainingInput) GetRegion() string { - if m != nil { - return m.Region - } - return "" -} - -func (m *TrainingInput) GetJobDir() string { - if m != nil { - return m.JobDir - } - return "" -} - -func (m *TrainingInput) GetRuntimeVersion() string { - if m != nil { - return m.RuntimeVersion - } - return "" -} - -// Represents a set of hyperparameters to optimize. -type HyperparameterSpec struct { - // Required. The type of goal to use for tuning. Available types are - // `MAXIMIZE` and `MINIMIZE`. - // - // Defaults to `MAXIMIZE`. - Goal HyperparameterSpec_GoalType `protobuf:"varint,1,opt,name=goal,proto3,enum=google.cloud.ml.v1.HyperparameterSpec_GoalType" json:"goal,omitempty"` - // Required. The set of parameters to tune. - Params []*ParameterSpec `protobuf:"bytes,2,rep,name=params,proto3" json:"params,omitempty"` - // Optional. How many training trials should be attempted to optimize - // the specified hyperparameters. - // - // Defaults to one. - MaxTrials int32 `protobuf:"varint,3,opt,name=max_trials,json=maxTrials,proto3" json:"max_trials,omitempty"` - // Optional. The number of training trials to run concurrently. - // You can reduce the time it takes to perform hyperparameter tuning by adding - // trials in parallel. However, each trail only benefits from the information - // gained in completed trials. That means that a trial does not get access to - // the results of trials running at the same time, which could reduce the - // quality of the overall optimization. - // - // Each trial will use the same scale tier and machine types. - // - // Defaults to one. - MaxParallelTrials int32 `protobuf:"varint,4,opt,name=max_parallel_trials,json=maxParallelTrials,proto3" json:"max_parallel_trials,omitempty"` - // Optional. The Tensorflow summary tag name to use for optimizing trials. For - // current versions of Tensorflow, this tag name should exactly match what is - // shown in Tensorboard, including all scopes. For versions of Tensorflow - // prior to 0.12, this should be only the tag passed to tf.Summary. - // By default, "training/hptuning/metric" will be used. - HyperparameterMetricTag string `protobuf:"bytes,5,opt,name=hyperparameter_metric_tag,json=hyperparameterMetricTag,proto3" json:"hyperparameter_metric_tag,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a9e7ba15cb43988d, []int{1} -} - -func (m *HyperparameterSpec) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HyperparameterSpec.Unmarshal(m, b) -} -func (m *HyperparameterSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HyperparameterSpec.Marshal(b, m, deterministic) -} -func (m *HyperparameterSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_HyperparameterSpec.Merge(m, src) -} -func (m *HyperparameterSpec) XXX_Size() int { - return xxx_messageInfo_HyperparameterSpec.Size(m) -} -func (m *HyperparameterSpec) XXX_DiscardUnknown() { - xxx_messageInfo_HyperparameterSpec.DiscardUnknown(m) -} - -var xxx_messageInfo_HyperparameterSpec proto.InternalMessageInfo - -func (m *HyperparameterSpec) GetGoal() HyperparameterSpec_GoalType { - if m != nil { - return m.Goal - } - return HyperparameterSpec_GOAL_TYPE_UNSPECIFIED -} - -func (m *HyperparameterSpec) GetParams() []*ParameterSpec { - if m != nil { - return m.Params - } - return nil -} - -func (m *HyperparameterSpec) GetMaxTrials() int32 { - if m != nil { - return m.MaxTrials - } - return 0 -} - -func (m *HyperparameterSpec) GetMaxParallelTrials() int32 { - if m != nil { - return m.MaxParallelTrials - } - return 0 -} - -func (m *HyperparameterSpec) GetHyperparameterMetricTag() string { - if m != nil { - return m.HyperparameterMetricTag - } - return "" -} - -// Represents a single hyperparameter to optimize. -type ParameterSpec struct { - // Required. The parameter name must be unique amongst all ParameterConfigs in - // a HyperparameterSpec message. E.g., "learning_rate". - ParameterName string `protobuf:"bytes,1,opt,name=parameter_name,json=parameterName,proto3" json:"parameter_name,omitempty"` - // Required. The type of the parameter. - Type ParameterSpec_ParameterType `protobuf:"varint,4,opt,name=type,proto3,enum=google.cloud.ml.v1.ParameterSpec_ParameterType" json:"type,omitempty"` - // Required if type is `DOUBLE` or `INTEGER`. This field - // should be unset if type is `CATEGORICAL`. This value should be integers if - // type is INTEGER. - MinValue float64 `protobuf:"fixed64,2,opt,name=min_value,json=minValue,proto3" json:"min_value,omitempty"` - // Required if typeis `DOUBLE` or `INTEGER`. This field - // should be unset if type is `CATEGORICAL`. This value should be integers if - // type is `INTEGER`. - MaxValue float64 `protobuf:"fixed64,3,opt,name=max_value,json=maxValue,proto3" json:"max_value,omitempty"` - // Required if type is `CATEGORICAL`. The list of possible categories. - CategoricalValues []string `protobuf:"bytes,5,rep,name=categorical_values,json=categoricalValues,proto3" json:"categorical_values,omitempty"` - // Required if type is `DISCRETE`. - // A list of feasible points. - // The list should be in strictly increasing order. For instance, this - // parameter might have possible settings of 1.5, 2.5, and 4.0. This list - // should not contain more than 1,000 values. - DiscreteValues []float64 `protobuf:"fixed64,6,rep,packed,name=discrete_values,json=discreteValues,proto3" json:"discrete_values,omitempty"` - // Optional. How the parameter should be scaled to the hypercube. - // Leave unset for categorical parameters. - // Some kind of scaling is strongly recommended for real or integral - // parameters (e.g., `UNIT_LINEAR_SCALE`). - ScaleType ParameterSpec_ScaleType `protobuf:"varint,7,opt,name=scale_type,json=scaleType,proto3,enum=google.cloud.ml.v1.ParameterSpec_ScaleType" json:"scale_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a9e7ba15cb43988d, []int{2} -} - -func (m *ParameterSpec) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ParameterSpec.Unmarshal(m, b) -} -func (m *ParameterSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ParameterSpec.Marshal(b, m, deterministic) -} -func (m *ParameterSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_ParameterSpec.Merge(m, src) -} -func (m *ParameterSpec) XXX_Size() int { - return xxx_messageInfo_ParameterSpec.Size(m) -} -func (m *ParameterSpec) XXX_DiscardUnknown() { - xxx_messageInfo_ParameterSpec.DiscardUnknown(m) -} - -var xxx_messageInfo_ParameterSpec proto.InternalMessageInfo - -func (m *ParameterSpec) GetParameterName() string { - if m != nil { - return m.ParameterName - } - return "" -} - -func (m *ParameterSpec) GetType() ParameterSpec_ParameterType { - if m != nil { - return m.Type - } - return ParameterSpec_PARAMETER_TYPE_UNSPECIFIED -} - -func (m *ParameterSpec) GetMinValue() float64 { - if m != nil { - return m.MinValue - } - return 0 -} - -func (m *ParameterSpec) GetMaxValue() float64 { - if m != nil { - return m.MaxValue - } - return 0 -} - -func (m *ParameterSpec) GetCategoricalValues() []string { - if m != nil { - return m.CategoricalValues - } - return nil -} - -func (m *ParameterSpec) GetDiscreteValues() []float64 { - if m != nil { - return m.DiscreteValues - } - return nil -} - -func (m *ParameterSpec) GetScaleType() ParameterSpec_ScaleType { - if m != nil { - return m.ScaleType - } - return ParameterSpec_NONE -} - -// Represents the result of a single hyperparameter tuning trial from a -// training job. The TrainingOutput object that is returned on successful -// completion of a training job with hyperparameter tuning includes a list -// of HyperparameterOutput objects, one for each successful trial. -type HyperparameterOutput struct { - // The trial id for these results. - TrialId string `protobuf:"bytes,1,opt,name=trial_id,json=trialId,proto3" json:"trial_id,omitempty"` - // The hyperparameters given to this trial. - Hyperparameters map[string]string `protobuf:"bytes,2,rep,name=hyperparameters,proto3" json:"hyperparameters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // The final objective metric seen for this trial. - FinalMetric *HyperparameterOutput_HyperparameterMetric `protobuf:"bytes,3,opt,name=final_metric,json=finalMetric,proto3" json:"final_metric,omitempty"` - // All recorded object metrics for this trial. - AllMetrics []*HyperparameterOutput_HyperparameterMetric `protobuf:"bytes,4,rep,name=all_metrics,json=allMetrics,proto3" json:"all_metrics,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a9e7ba15cb43988d, []int{3} -} - -func (m *HyperparameterOutput) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HyperparameterOutput.Unmarshal(m, b) -} -func (m *HyperparameterOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HyperparameterOutput.Marshal(b, m, deterministic) -} -func (m *HyperparameterOutput) XXX_Merge(src proto.Message) { - xxx_messageInfo_HyperparameterOutput.Merge(m, src) -} -func (m *HyperparameterOutput) XXX_Size() int { - return xxx_messageInfo_HyperparameterOutput.Size(m) -} -func (m *HyperparameterOutput) XXX_DiscardUnknown() { - xxx_messageInfo_HyperparameterOutput.DiscardUnknown(m) -} - -var xxx_messageInfo_HyperparameterOutput proto.InternalMessageInfo - -func (m *HyperparameterOutput) GetTrialId() string { - if m != nil { - return m.TrialId - } - return "" -} - -func (m *HyperparameterOutput) GetHyperparameters() map[string]string { - if m != nil { - return m.Hyperparameters - } - return nil -} - -func (m *HyperparameterOutput) GetFinalMetric() *HyperparameterOutput_HyperparameterMetric { - if m != nil { - return m.FinalMetric - } - return nil -} - -func (m *HyperparameterOutput) GetAllMetrics() []*HyperparameterOutput_HyperparameterMetric { - if m != nil { - return m.AllMetrics - } - return nil -} - -// An observed value of a metric. -type HyperparameterOutput_HyperparameterMetric struct { - // The global training step for this metric. - TrainingStep int64 `protobuf:"varint,1,opt,name=training_step,json=trainingStep,proto3" json:"training_step,omitempty"` - // The objective value at this training step. - ObjectiveValue float64 `protobuf:"fixed64,2,opt,name=objective_value,json=objectiveValue,proto3" json:"objective_value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *HyperparameterOutput_HyperparameterMetric) Reset() { - *m = HyperparameterOutput_HyperparameterMetric{} -} -func (m *HyperparameterOutput_HyperparameterMetric) String() string { return proto.CompactTextString(m) } -func (*HyperparameterOutput_HyperparameterMetric) ProtoMessage() {} -func (*HyperparameterOutput_HyperparameterMetric) Descriptor() ([]byte, []int) { - return fileDescriptor_a9e7ba15cb43988d, []int{3, 0} -} - -func (m *HyperparameterOutput_HyperparameterMetric) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HyperparameterOutput_HyperparameterMetric.Unmarshal(m, b) -} -func (m *HyperparameterOutput_HyperparameterMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HyperparameterOutput_HyperparameterMetric.Marshal(b, m, deterministic) -} -func (m *HyperparameterOutput_HyperparameterMetric) XXX_Merge(src proto.Message) { - xxx_messageInfo_HyperparameterOutput_HyperparameterMetric.Merge(m, src) -} -func (m *HyperparameterOutput_HyperparameterMetric) XXX_Size() int { - return xxx_messageInfo_HyperparameterOutput_HyperparameterMetric.Size(m) -} -func (m *HyperparameterOutput_HyperparameterMetric) XXX_DiscardUnknown() { - xxx_messageInfo_HyperparameterOutput_HyperparameterMetric.DiscardUnknown(m) -} - -var xxx_messageInfo_HyperparameterOutput_HyperparameterMetric proto.InternalMessageInfo - -func (m *HyperparameterOutput_HyperparameterMetric) GetTrainingStep() int64 { - if m != nil { - return m.TrainingStep - } - return 0 -} - -func (m *HyperparameterOutput_HyperparameterMetric) GetObjectiveValue() float64 { - if m != nil { - return m.ObjectiveValue - } - return 0 -} - -// Represents results of a training job. Output only. -type TrainingOutput struct { - // The number of hyperparameter tuning trials that completed successfully. - // Only set for hyperparameter tuning jobs. - CompletedTrialCount int64 `protobuf:"varint,1,opt,name=completed_trial_count,json=completedTrialCount,proto3" json:"completed_trial_count,omitempty"` - // Results for individual Hyperparameter trials. - // Only set for hyperparameter tuning jobs. - Trials []*HyperparameterOutput `protobuf:"bytes,2,rep,name=trials,proto3" json:"trials,omitempty"` - // The amount of ML units consumed by the job. - ConsumedMlUnits float64 `protobuf:"fixed64,3,opt,name=consumed_ml_units,json=consumedMlUnits,proto3" json:"consumed_ml_units,omitempty"` - // Whether this job is a hyperparameter tuning job. - IsHyperparameterTuningJob bool `protobuf:"varint,4,opt,name=is_hyperparameter_tuning_job,json=isHyperparameterTuningJob,proto3" json:"is_hyperparameter_tuning_job,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a9e7ba15cb43988d, []int{4} -} - -func (m *TrainingOutput) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TrainingOutput.Unmarshal(m, b) -} -func (m *TrainingOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TrainingOutput.Marshal(b, m, deterministic) -} -func (m *TrainingOutput) XXX_Merge(src proto.Message) { - xxx_messageInfo_TrainingOutput.Merge(m, src) -} -func (m *TrainingOutput) XXX_Size() int { - return xxx_messageInfo_TrainingOutput.Size(m) -} -func (m *TrainingOutput) XXX_DiscardUnknown() { - xxx_messageInfo_TrainingOutput.DiscardUnknown(m) -} - -var xxx_messageInfo_TrainingOutput proto.InternalMessageInfo - -func (m *TrainingOutput) GetCompletedTrialCount() int64 { - if m != nil { - return m.CompletedTrialCount - } - return 0 -} - -func (m *TrainingOutput) GetTrials() []*HyperparameterOutput { - if m != nil { - return m.Trials - } - return nil -} - -func (m *TrainingOutput) GetConsumedMlUnits() float64 { - if m != nil { - return m.ConsumedMlUnits - } - return 0 -} - -func (m *TrainingOutput) GetIsHyperparameterTuningJob() bool { - if m != nil { - return m.IsHyperparameterTuningJob - } - return false -} - -// Represents input parameters for a prediction job. -type PredictionInput struct { - // Required. The model or the version to use for prediction. - // - // Types that are valid to be assigned to ModelVersion: - // *PredictionInput_ModelName - // *PredictionInput_VersionName - // *PredictionInput_Uri - ModelVersion isPredictionInput_ModelVersion `protobuf_oneof:"model_version"` - // Required. The format of the input data files. - DataFormat PredictionInput_DataFormat `protobuf:"varint,3,opt,name=data_format,json=dataFormat,proto3,enum=google.cloud.ml.v1.PredictionInput_DataFormat" json:"data_format,omitempty"` - // Required. The Google Cloud Storage location of the input data files. - // May contain wildcards. - InputPaths []string `protobuf:"bytes,4,rep,name=input_paths,json=inputPaths,proto3" json:"input_paths,omitempty"` - // Required. The output Google Cloud Storage location. - OutputPath string `protobuf:"bytes,5,opt,name=output_path,json=outputPath,proto3" json:"output_path,omitempty"` - // Optional. The maximum number of workers to be used for parallel processing. - // Defaults to 10 if not specified. - MaxWorkerCount int64 `protobuf:"varint,6,opt,name=max_worker_count,json=maxWorkerCount,proto3" json:"max_worker_count,omitempty"` - // Required. The Google Compute Engine region to run the prediction job in. - Region string `protobuf:"bytes,7,opt,name=region,proto3" json:"region,omitempty"` - // Optional. The Google Cloud ML runtime version to use for this batch - // prediction. If not set, Google Cloud ML will pick the runtime version used - // during the CreateVersion request for this model version, or choose the - // latest stable version when model version information is not available - // such as when the model is specified by uri. - RuntimeVersion string `protobuf:"bytes,8,opt,name=runtime_version,json=runtimeVersion,proto3" json:"runtime_version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a9e7ba15cb43988d, []int{5} -} - -func (m *PredictionInput) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PredictionInput.Unmarshal(m, b) -} -func (m *PredictionInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PredictionInput.Marshal(b, m, deterministic) -} -func (m *PredictionInput) XXX_Merge(src proto.Message) { - xxx_messageInfo_PredictionInput.Merge(m, src) -} -func (m *PredictionInput) XXX_Size() int { - return xxx_messageInfo_PredictionInput.Size(m) -} -func (m *PredictionInput) XXX_DiscardUnknown() { - xxx_messageInfo_PredictionInput.DiscardUnknown(m) -} - -var xxx_messageInfo_PredictionInput proto.InternalMessageInfo - -type isPredictionInput_ModelVersion interface { - isPredictionInput_ModelVersion() -} - -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_VersionName) isPredictionInput_ModelVersion() {} - -func (*PredictionInput_Uri) isPredictionInput_ModelVersion() {} - -func (m *PredictionInput) GetModelVersion() isPredictionInput_ModelVersion { - if m != nil { - return m.ModelVersion - } - return nil -} - -func (m *PredictionInput) GetModelName() string { - if x, ok := m.GetModelVersion().(*PredictionInput_ModelName); ok { - return x.ModelName - } - return "" -} - -func (m *PredictionInput) GetVersionName() string { - if x, ok := m.GetModelVersion().(*PredictionInput_VersionName); ok { - return x.VersionName - } - return "" -} - -func (m *PredictionInput) GetUri() string { - if x, ok := m.GetModelVersion().(*PredictionInput_Uri); ok { - return x.Uri - } - return "" -} - -func (m *PredictionInput) GetDataFormat() PredictionInput_DataFormat { - if m != nil { - return m.DataFormat - } - return PredictionInput_DATA_FORMAT_UNSPECIFIED -} - -func (m *PredictionInput) GetInputPaths() []string { - if m != nil { - return m.InputPaths - } - return nil -} - -func (m *PredictionInput) GetOutputPath() string { - if m != nil { - return m.OutputPath - } - return "" -} - -func (m *PredictionInput) GetMaxWorkerCount() int64 { - if m != nil { - return m.MaxWorkerCount - } - return 0 -} - -func (m *PredictionInput) GetRegion() string { - if m != nil { - return m.Region - } - return "" -} - -func (m *PredictionInput) GetRuntimeVersion() string { - if m != nil { - return m.RuntimeVersion - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*PredictionInput) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*PredictionInput_ModelName)(nil), - (*PredictionInput_VersionName)(nil), - (*PredictionInput_Uri)(nil), - } -} - -// Represents results of a prediction job. -type PredictionOutput struct { - // The output Google Cloud Storage location provided at the job creation time. - OutputPath string `protobuf:"bytes,1,opt,name=output_path,json=outputPath,proto3" json:"output_path,omitempty"` - // The number of generated predictions. - PredictionCount int64 `protobuf:"varint,2,opt,name=prediction_count,json=predictionCount,proto3" json:"prediction_count,omitempty"` - // The number of data instances which resulted in errors. - ErrorCount int64 `protobuf:"varint,3,opt,name=error_count,json=errorCount,proto3" json:"error_count,omitempty"` - // Node hours used by the batch prediction job. - NodeHours float64 `protobuf:"fixed64,4,opt,name=node_hours,json=nodeHours,proto3" json:"node_hours,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a9e7ba15cb43988d, []int{6} -} - -func (m *PredictionOutput) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PredictionOutput.Unmarshal(m, b) -} -func (m *PredictionOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PredictionOutput.Marshal(b, m, deterministic) -} -func (m *PredictionOutput) XXX_Merge(src proto.Message) { - xxx_messageInfo_PredictionOutput.Merge(m, src) -} -func (m *PredictionOutput) XXX_Size() int { - return xxx_messageInfo_PredictionOutput.Size(m) -} -func (m *PredictionOutput) XXX_DiscardUnknown() { - xxx_messageInfo_PredictionOutput.DiscardUnknown(m) -} - -var xxx_messageInfo_PredictionOutput proto.InternalMessageInfo - -func (m *PredictionOutput) GetOutputPath() string { - if m != nil { - return m.OutputPath - } - return "" -} - -func (m *PredictionOutput) GetPredictionCount() int64 { - if m != nil { - return m.PredictionCount - } - return 0 -} - -func (m *PredictionOutput) GetErrorCount() int64 { - if m != nil { - return m.ErrorCount - } - return 0 -} - -func (m *PredictionOutput) GetNodeHours() float64 { - if m != nil { - return m.NodeHours - } - return 0 -} - -// Represents a training or prediction job. -type Job struct { - // Required. The user-specified id of the job. - JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` - // Required. Parameters to create a job. - // - // Types that are valid to be assigned to Input: - // *Job_TrainingInput - // *Job_PredictionInput - Input isJob_Input `protobuf_oneof:"input"` - // Output only. When the job was created. - CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Output only. When the job processing was started. - StartTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // Output only. When the job processing was completed. - EndTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - // Output only. The detailed state of a job. - State Job_State `protobuf:"varint,7,opt,name=state,proto3,enum=google.cloud.ml.v1.Job_State" json:"state,omitempty"` - // Output only. The details of a failure or a cancellation. - ErrorMessage string `protobuf:"bytes,8,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` - // Output only. The current result of the job. - // - // Types that are valid to be assigned to Output: - // *Job_TrainingOutput - // *Job_PredictionOutput - Output isJob_Output `protobuf_oneof:"output"` - 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_a9e7ba15cb43988d, []int{7} -} - -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 (m *Job) XXX_Merge(src proto.Message) { - xxx_messageInfo_Job.Merge(m, 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) GetJobId() string { - if m != nil { - return m.JobId - } - return "" -} - -type isJob_Input interface { - isJob_Input() -} - -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"` -} - -func (*Job_TrainingInput) isJob_Input() {} - -func (*Job_PredictionInput) isJob_Input() {} - -func (m *Job) GetInput() isJob_Input { - if m != nil { - return m.Input - } - return nil -} - -func (m *Job) GetTrainingInput() *TrainingInput { - if x, ok := m.GetInput().(*Job_TrainingInput); ok { - return x.TrainingInput - } - return nil -} - -func (m *Job) GetPredictionInput() *PredictionInput { - if x, ok := m.GetInput().(*Job_PredictionInput); ok { - return x.PredictionInput - } - return nil -} - -func (m *Job) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *Job) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *Job) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -func (m *Job) GetState() Job_State { - if m != nil { - return m.State - } - return Job_STATE_UNSPECIFIED -} - -func (m *Job) GetErrorMessage() string { - if m != nil { - return m.ErrorMessage - } - 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 - } - return nil -} - -func (m *Job) GetPredictionOutput() *PredictionOutput { - if x, ok := m.GetOutput().(*Job_PredictionOutput); ok { - return x.PredictionOutput - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Job) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Job_TrainingInput)(nil), - (*Job_PredictionInput)(nil), - (*Job_TrainingOutput)(nil), - (*Job_PredictionOutput)(nil), - } -} - -// Request message for the CreateJob method. -type CreateJobRequest struct { - // Required. The project name. - // - // Authorization: requires `Editor` role on the specified project. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The job to create. - 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_a9e7ba15cb43988d, []int{8} -} - -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 (m *CreateJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateJobRequest.Merge(m, 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 the ListJobs method. -type ListJobsRequest struct { - // Required. The name of the project for which to list jobs. - // - // Authorization: requires `Viewer` role on the specified project. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. Specifies the subset of jobs to retrieve. - Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` - // Optional. A page token to request the next page of results. - // - // You get the token from the `next_page_token` field of the response from - // the previous call. - PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // Optional. The number of jobs to retrieve per "page" of results. If there - // are more remaining results than this number, the response message will - // contain a valid value in the `next_page_token` field. - // - // The default value is 20, and the maximum page size is 100. - PageSize int32 `protobuf:"varint,5,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 *ListJobsRequest) Reset() { *m = ListJobsRequest{} } -func (m *ListJobsRequest) String() string { return proto.CompactTextString(m) } -func (*ListJobsRequest) ProtoMessage() {} -func (*ListJobsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a9e7ba15cb43988d, []int{9} -} - -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 (m *ListJobsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListJobsRequest.Merge(m, 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) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListJobsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListJobsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -// Response message for the ListJobs method. -type ListJobsResponse struct { - // The list of jobs. - Jobs []*Job `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"` - // Optional. Pass this token as the `page_token` field of the request for a - // subsequent call. - 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_a9e7ba15cb43988d, []int{10} -} - -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 (m *ListJobsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListJobsResponse.Merge(m, 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 the GetJob method. -type GetJobRequest struct { - // Required. The name of the job to get the description of. - // - // Authorization: requires `Viewer` role on the parent project. - 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_a9e7ba15cb43988d, []int{11} -} - -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 (m *GetJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetJobRequest.Merge(m, 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 the CancelJob method. -type CancelJobRequest struct { - // Required. The name of the job to cancel. - // - // Authorization: requires `Editor` role on the parent project. - 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 *CancelJobRequest) Reset() { *m = CancelJobRequest{} } -func (m *CancelJobRequest) String() string { return proto.CompactTextString(m) } -func (*CancelJobRequest) ProtoMessage() {} -func (*CancelJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a9e7ba15cb43988d, []int{12} -} - -func (m *CancelJobRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CancelJobRequest.Unmarshal(m, b) -} -func (m *CancelJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CancelJobRequest.Marshal(b, m, deterministic) -} -func (m *CancelJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CancelJobRequest.Merge(m, src) -} -func (m *CancelJobRequest) XXX_Size() int { - return xxx_messageInfo_CancelJobRequest.Size(m) -} -func (m *CancelJobRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CancelJobRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CancelJobRequest proto.InternalMessageInfo - -func (m *CancelJobRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func init() { - proto.RegisterEnum("google.cloud.ml.v1.TrainingInput_ScaleTier", TrainingInput_ScaleTier_name, TrainingInput_ScaleTier_value) - proto.RegisterEnum("google.cloud.ml.v1.HyperparameterSpec_GoalType", HyperparameterSpec_GoalType_name, HyperparameterSpec_GoalType_value) - proto.RegisterEnum("google.cloud.ml.v1.ParameterSpec_ParameterType", ParameterSpec_ParameterType_name, ParameterSpec_ParameterType_value) - proto.RegisterEnum("google.cloud.ml.v1.ParameterSpec_ScaleType", ParameterSpec_ScaleType_name, ParameterSpec_ScaleType_value) - proto.RegisterEnum("google.cloud.ml.v1.PredictionInput_DataFormat", PredictionInput_DataFormat_name, PredictionInput_DataFormat_value) - proto.RegisterEnum("google.cloud.ml.v1.Job_State", Job_State_name, Job_State_value) - proto.RegisterType((*TrainingInput)(nil), "google.cloud.ml.v1.TrainingInput") - proto.RegisterType((*HyperparameterSpec)(nil), "google.cloud.ml.v1.HyperparameterSpec") - proto.RegisterType((*ParameterSpec)(nil), "google.cloud.ml.v1.ParameterSpec") - proto.RegisterType((*HyperparameterOutput)(nil), "google.cloud.ml.v1.HyperparameterOutput") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.ml.v1.HyperparameterOutput.HyperparametersEntry") - proto.RegisterType((*HyperparameterOutput_HyperparameterMetric)(nil), "google.cloud.ml.v1.HyperparameterOutput.HyperparameterMetric") - proto.RegisterType((*TrainingOutput)(nil), "google.cloud.ml.v1.TrainingOutput") - proto.RegisterType((*PredictionInput)(nil), "google.cloud.ml.v1.PredictionInput") - proto.RegisterType((*PredictionOutput)(nil), "google.cloud.ml.v1.PredictionOutput") - proto.RegisterType((*Job)(nil), "google.cloud.ml.v1.Job") - proto.RegisterType((*CreateJobRequest)(nil), "google.cloud.ml.v1.CreateJobRequest") - proto.RegisterType((*ListJobsRequest)(nil), "google.cloud.ml.v1.ListJobsRequest") - proto.RegisterType((*ListJobsResponse)(nil), "google.cloud.ml.v1.ListJobsResponse") - proto.RegisterType((*GetJobRequest)(nil), "google.cloud.ml.v1.GetJobRequest") - proto.RegisterType((*CancelJobRequest)(nil), "google.cloud.ml.v1.CancelJobRequest") -} - -func init() { - proto.RegisterFile("google/cloud/ml/v1/job_service.proto", fileDescriptor_a9e7ba15cb43988d) -} - -var fileDescriptor_a9e7ba15cb43988d = []byte{ - // 2070 bytes of a gzipped FileDescriptorProto - 0x1f,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x6b, 0x21, 0x24, 0x17, - 0x4a, 0x98, 0x52, 0x42, 0x72, 0x21, 0x85, 0x3f, 0x02, 0x34, 0x24, 0x8c, 0x8e, 0xfd, 0xd0, 0x1e, - 0x12, 0x47, 0x92, 0xa2, 0x72, 0x46, 0x5c, 0x9e, 0x5b, 0x73, 0x12, 0xc1, 0x8e, 0x78, 0x19, 0x8f, - 0xec, 0x68, 0x18, 0x52, 0x46, 0xa7, 0xdc, 0xec, 0x76, 0x6a, 0x37, 0x81, 0x8b, 0x53, 0x58, 0x11, - 0x67, 0x9d, 0x8e, 0x1f, 0x6e, 0xfd, 0xfa, 0x4e, 0xb7, 0x78, 0x38, 0x59, 0xfa, 0xfc, 0x60, 0xaa, - 0xd3, 0x5d, 0x06, 0x54, 0x1f, 0xcf, 0x85, 0x56, 0xe4, 0xe8, 0x33, 0xa8, 0x74, 0xeb, 0xb8, 0xde, - 0x36, 0x4c, 0x03, 0xaf, 0x4a, 0x14, 0x40, 0xb6, 0x79, 0xda, 0x3f, 0x38, 0xe1, 0x69, 0x2a, 0xc0, - 0x7a, 0xab, 0x63, 0x1a, 0x87, 0x06, 0xd6, 0x92, 0xa8, 0x04, 0x85, 0x46, 0xdd, 0x34, 0x0e, 0x4f, - 0x71, 0xab, 0x51, 0x3f, 0xd1, 0x52, 0x3c, 0x89, 0xcd, 0x56, 0xaf, 0x81, 0x0d, 0xd3, 0xd0, 0xd2, - 0xfa, 0xaf, 0xa6, 0x77, 0x8f, 0x3b, 0xc9, 0x41, 0xba, 0x73, 0xda, 0x31, 0xb4, 0x35, 0xb4, 0x05, - 0xb7, 0xfa, 0x9d, 0x96, 0x69, 0x9d, 0xb4, 0x3a, 0x46, 0x1d, 0x5b, 0xbd, 0x46, 0x5d, 0x58, 0x46, - 0x50, 0x94, 0xf0, 0xe9, 0xa1, 0xc2, 0x92, 0xa8, 0x02, 0x77, 0x05, 0x86, 0x8d, 0xd7, 0x06, 0xee, - 0x19, 0x73, 0xb2, 0x94, 0xfe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x50, 0x74, 0x3b, 0xf9, 0x62, 0xfe, 0x0c, 0xb2, - 0xaa, 0x29, 0xca, 0x92, 0xd8, 0xfd, 0xd4, 0x58, 0x62, 0xa5, 0x87, 0x5e, 0xc0, 0xad, 0xa1, 0xef, - 0x45, 0x13, 0x97, 0x8e, 0x2c, 0xd7, 0xb1, 0x26, 0x9e, 0xcd, 0x22, 0xd5, 0x21, 0x4a, 0x53, 0x41, - 0xdb, 0xe9, 0x73, 0x18, 0xfd, 0x14, 0x1e, 0xda, 0x91, 0xb5, 0xd4, 0x62, 0xd9, 0x44, 0x84, 0xf5, - 0xcc, 0x1f, 0x88, 0xfe, 0x95, 0xc3, 0xf7, 0xed, 0x68, 0xd1, 0xa3, 0x29, 0x18, 0xc7, 0xfe, 0x40, - 0xff, 0x5b, 0x0a, 0x4a, 0xdd, 0x90, 0x8e, 0xec, 0x21, 0x1f, 0xbc, 0xe4, 0x3c, 0xf4, 0x18, 0xc0, - 0xf5, 0x47, 0xd4, 0x99, 0xeb, 0x8f, 0x47, 0x6b, 0x38, 0x2f, 0x30, 0xd1, 0x1d, 0x77, 0x60, 0x43, - 0x3d, 0x97, 0x92, 0x92, 0x54, 0x94, 0x82, 0x42, 0x05, 0x09, 0x41, 0x6a, 0x12, 0xda, 0xe5, 0xbc, - 0x92, 0xf1, 0x05, 0x3a, 0x85, 0xc2, 0x88, 0x30, 0x62, 0xbd, 0xf5, 0x43, 0x97, 0x30, 0x71, 0xa8, - 0xe2, 0x7e, 0x75, 0x65, 0x03, 0x5a, 0xdc, 0x53, 0xb5, 0x49, 0x18, 0x79, 0x25, 0xb4, 0x30, 0x8c, - 0xe2, 0xdf, 0x7c, 0x9a, 0xb2, 0xb9, 0xdc, 0x0a, 0x08, 0x7b, 0x27, 0xcb, 0x37, 0x8f, 0x41, 0x40, - 0x5d, 0x8e, 0x70, 0x82, 0x2f, 0xc2, 0x2b, 0x18, 0xea, 0xc9, 0x01, 0x09, 0x71, 0x06, 0xda, 0x05, - 0x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, 0x81, 0x5d, 0x3d, 0xdf, 0x3b, 0x28, - 0xcd, 0x8a, 0xa0, 0xcb, 0xfd, 0x74, 0x13, 0x6f, 0xbe, 0x54, 0xd4, 0xb1, 0xef, 0x10, 0x6f, 0x5c, - 0xf5, 0xc3, 0x71, 0x6d, 0x4c, 0x3d, 0xb1, 0x8b, 0x9a, 0x14, 0x91, 0xc0, 0x8e, 0xe6, 0xff, 0xf6, - 0xfa, 0xda, 0x75, 0x06, 0x59, 0x41, 0xf8, 0xe2, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x4c, 0x7b, - 0x72, 0xd5, 0x16, 0x13, 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 - -// JobServiceClient is the client API for JobService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type JobServiceClient interface { - // Creates a training or a batch prediction job. - CreateJob(ctx context.Context, in *CreateJobRequest, opts ...grpc.CallOption) (*Job, error) - // Lists the jobs in the project. - ListJobs(ctx context.Context, in *ListJobsRequest, opts ...grpc.CallOption) (*ListJobsResponse, error) - // Describes a job. - GetJob(ctx context.Context, in *GetJobRequest, opts ...grpc.CallOption) (*Job, error) - // Cancels a running job. - CancelJob(ctx context.Context, in *CancelJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) -} - -type jobServiceClient struct { - cc *grpc.ClientConn -} - -func NewJobServiceClient(cc *grpc.ClientConn) JobServiceClient { - return &jobServiceClient{cc} -} - -func (c *jobServiceClient) CreateJob(ctx context.Context, in *CreateJobRequest, opts ...grpc.CallOption) (*Job, error) { - out := new(Job) - err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.JobService/CreateJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *jobServiceClient) ListJobs(ctx context.Context, in *ListJobsRequest, opts ...grpc.CallOption) (*ListJobsResponse, error) { - out := new(ListJobsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.JobService/ListJobs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *jobServiceClient) GetJob(ctx context.Context, in *GetJobRequest, opts ...grpc.CallOption) (*Job, error) { - out := new(Job) - err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.JobService/GetJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *jobServiceClient) CancelJob(ctx context.Context, in *CancelJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.JobService/CancelJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// JobServiceServer is the server API for JobService service. -type JobServiceServer interface { - // Creates a training or a batch prediction job. - CreateJob(context.Context, *CreateJobRequest) (*Job, error) - // Lists the jobs in the project. - ListJobs(context.Context, *ListJobsRequest) (*ListJobsResponse, error) - // Describes a job. - GetJob(context.Context, *GetJobRequest) (*Job, error) - // Cancels a running job. - CancelJob(context.Context, *CancelJobRequest) (*empty.Empty, error) -} - -// UnimplementedJobServiceServer can be embedded to have forward compatible implementations. -type UnimplementedJobServiceServer struct { -} - -func (*UnimplementedJobServiceServer) CreateJob(ctx context.Context, req *CreateJobRequest) (*Job, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateJob not implemented") -} -func (*UnimplementedJobServiceServer) ListJobs(ctx context.Context, req *ListJobsRequest) (*ListJobsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListJobs not implemented") -} -func (*UnimplementedJobServiceServer) GetJob(ctx context.Context, req *GetJobRequest) (*Job, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetJob not implemented") -} -func (*UnimplementedJobServiceServer) CancelJob(ctx context.Context, req *CancelJobRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method CancelJob not implemented") -} - -func RegisterJobServiceServer(s *grpc.Server, srv JobServiceServer) { - s.RegisterService(&_JobService_serviceDesc, srv) -} - -func _JobService_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.(JobServiceServer).CreateJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.ml.v1.JobService/CreateJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(JobServiceServer).CreateJob(ctx, req.(*CreateJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _JobService_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.(JobServiceServer).ListJobs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.ml.v1.JobService/ListJobs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(JobServiceServer).ListJobs(ctx, req.(*ListJobsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _JobService_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.(JobServiceServer).GetJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.ml.v1.JobService/GetJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(JobServiceServer).GetJob(ctx, req.(*GetJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _JobService_CancelJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CancelJobRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(JobServiceServer).CancelJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.ml.v1.JobService/CancelJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(JobServiceServer).CancelJob(ctx, req.(*CancelJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _JobService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.ml.v1.JobService", - HandlerType: (*JobServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateJob", - Handler: _JobService_CreateJob_Handler, - }, - { - MethodName: "ListJobs", - Handler: _JobService_ListJobs_Handler, - }, - { - MethodName: "GetJob", - Handler: _JobService_GetJob_Handler, - }, - { - MethodName: "CancelJob", - Handler: _JobService_CancelJob_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/ml/v1/job_service.proto", -} 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 deleted file mode 100644 index 779298e3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/model_service.pb.go +++ /dev/null @@ -1,1413 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/ml/v1/model_service.proto - -package ml - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - _ "google.golang.org/genproto/googleapis/api/serviceconfig" - longrunning "google.golang.org/genproto/googleapis/longrunning" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Represents a machine learning solution. -// -// A model can have multiple versions, each of which is a deployed, trained -// model ready to receive prediction requests. The model itself is just a -// container. -type Model struct { - // Required. The name specified for the model when it was created. - // - // The model name must be unique within the project it is created in. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Optional. The description specified for the model when it was created. - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - // Output only. The default version of the model. This version will be used to - // handle prediction requests that do not specify a version. - // - // You can change the default version by calling - // [projects.methods.versions.setDefault](/ml/reference/rest/v1/projects.models.versions/setDefault). - DefaultVersion *Version `protobuf:"bytes,3,opt,name=default_version,json=defaultVersion,proto3" json:"default_version,omitempty"` - // Optional. The list of regions where the model is going to be deployed. - // Currently only one region per model is supported. - // Defaults to 'us-central1' if nothing is set. - Regions []string `protobuf:"bytes,4,rep,name=regions,proto3" json:"regions,omitempty"` - // Optional. If true, enables StackDriver Logging for online prediction. - // Default is false. - OnlinePredictionLogging bool `protobuf:"varint,5,opt,name=online_prediction_logging,json=onlinePredictionLogging,proto3" json:"online_prediction_logging,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_39edc295a31e1620, []int{0} -} - -func (m *Model) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Model.Unmarshal(m, b) -} -func (m *Model) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Model.Marshal(b, m, deterministic) -} -func (m *Model) XXX_Merge(src proto.Message) { - xxx_messageInfo_Model.Merge(m, src) -} -func (m *Model) XXX_Size() int { - return xxx_messageInfo_Model.Size(m) -} -func (m *Model) XXX_DiscardUnknown() { - xxx_messageInfo_Model.DiscardUnknown(m) -} - -var xxx_messageInfo_Model proto.InternalMessageInfo - -func (m *Model) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Model) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *Model) GetDefaultVersion() *Version { - if m != nil { - return m.DefaultVersion - } - return nil -} - -func (m *Model) GetRegions() []string { - if m != nil { - return m.Regions - } - return nil -} - -func (m *Model) GetOnlinePredictionLogging() bool { - if m != nil { - return m.OnlinePredictionLogging - } - return false -} - -// Represents a version of the model. -// -// Each version is a trained model deployed in the cloud, ready to handle -// prediction requests. A model can have multiple versions. You can get -// information about all of the versions of a given model by calling -// [projects.models.versions.list](/ml/reference/rest/v1/projects.models.versions/list). -type Version struct { - // Required.The name specified for the version when it was created. - // - // The version name must be unique within the model it is created in. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Optional. The description specified for the version when it was created. - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - // Output only. If true, this version will be used to handle prediction - // requests that do not specify a version. - // - // You can change the default version by calling - // [projects.methods.versions.setDefault](/ml/reference/rest/v1/projects.models.versions/setDefault). - IsDefault bool `protobuf:"varint,3,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"` - // Required. The Google Cloud Storage location of the trained model used to - // create the version. See the - // [overview of model deployment](/ml/docs/concepts/deployment-overview) for - // more informaiton. - // - // When passing Version to - // [projects.models.versions.create](/ml/reference/rest/v1/projects.models.versions/create) - // the model service uses the specified location as the source of the model. - // Once deployed, the model version is hosted by the prediction service, so - // this location is useful only as a historical record. - DeploymentUri string `protobuf:"bytes,4,opt,name=deployment_uri,json=deploymentUri,proto3" json:"deployment_uri,omitempty"` - // Output only. The time the version was created. - CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Output only. The time the version was last used for prediction. - LastUseTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=last_use_time,json=lastUseTime,proto3" json:"last_use_time,omitempty"` - // Optional. The Google Cloud ML runtime version to use for this deployment. - // If not set, Google Cloud ML will choose a version. - RuntimeVersion string `protobuf:"bytes,8,opt,name=runtime_version,json=runtimeVersion,proto3" json:"runtime_version,omitempty"` - // Optional. Manually select the number of nodes to use for serving the - // model. If unset (i.e., by default), the number of nodes used to serve - // the model automatically scales with traffic. However, care should be - // taken to ramp up traffic according to the model's ability to scale. If - // your model needs to handle bursts of traffic beyond it's ability to - // scale, it is recommended you set this field appropriately. - ManualScaling *ManualScaling `protobuf:"bytes,9,opt,name=manual_scaling,json=manualScaling,proto3" json:"manual_scaling,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_39edc295a31e1620, []int{1} -} - -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 (m *Version) XXX_Merge(src proto.Message) { - xxx_messageInfo_Version.Merge(m, 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) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Version) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *Version) GetIsDefault() bool { - if m != nil { - return m.IsDefault - } - return false -} - -func (m *Version) GetDeploymentUri() string { - if m != nil { - return m.DeploymentUri - } - return "" -} - -func (m *Version) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *Version) GetLastUseTime() *timestamp.Timestamp { - if m != nil { - return m.LastUseTime - } - return nil -} - -func (m *Version) GetRuntimeVersion() string { - if m != nil { - return m.RuntimeVersion - } - return "" -} - -func (m *Version) GetManualScaling() *ManualScaling { - if m != nil { - return m.ManualScaling - } - return nil -} - -// Options for manually scaling a model. -type ManualScaling struct { - // The number of nodes to allocate for this model. These nodes are always up, - // starting from the time the model is deployed, so the cost of operating - // this model will be proportional to nodes * number of hours since - // deployment. - Nodes int32 `protobuf:"varint,1,opt,name=nodes,proto3" json:"nodes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_39edc295a31e1620, []int{2} -} - -func (m *ManualScaling) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ManualScaling.Unmarshal(m, b) -} -func (m *ManualScaling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ManualScaling.Marshal(b, m, deterministic) -} -func (m *ManualScaling) XXX_Merge(src proto.Message) { - xxx_messageInfo_ManualScaling.Merge(m, src) -} -func (m *ManualScaling) XXX_Size() int { - return xxx_messageInfo_ManualScaling.Size(m) -} -func (m *ManualScaling) XXX_DiscardUnknown() { - xxx_messageInfo_ManualScaling.DiscardUnknown(m) -} - -var xxx_messageInfo_ManualScaling proto.InternalMessageInfo - -func (m *ManualScaling) GetNodes() int32 { - if m != nil { - return m.Nodes - } - return 0 -} - -// Request message for the CreateModel method. -type CreateModelRequest struct { - // Required. The project name. - // - // Authorization: requires `Editor` role on the specified project. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The model to create. - Model *Model `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_39edc295a31e1620, []int{3} -} - -func (m *CreateModelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateModelRequest.Unmarshal(m, b) -} -func (m *CreateModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateModelRequest.Marshal(b, m, deterministic) -} -func (m *CreateModelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateModelRequest.Merge(m, src) -} -func (m *CreateModelRequest) XXX_Size() int { - return xxx_messageInfo_CreateModelRequest.Size(m) -} -func (m *CreateModelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateModelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateModelRequest proto.InternalMessageInfo - -func (m *CreateModelRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateModelRequest) GetModel() *Model { - if m != nil { - return m.Model - } - return nil -} - -// Request message for the ListModels method. -type ListModelsRequest struct { - // Required. The name of the project whose models are to be listed. - // - // Authorization: requires `Viewer` role on the specified project. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. A page token to request the next page of results. - // - // You get the token from the `next_page_token` field of the response from - // the previous call. - PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // Optional. The number of models to retrieve per "page" of results. If there - // are more remaining results than this number, the response message will - // contain a valid value in the `next_page_token` field. - // - // The default value is 20, and the maximum page size is 100. - PageSize int32 `protobuf:"varint,5,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 *ListModelsRequest) Reset() { *m = ListModelsRequest{} } -func (m *ListModelsRequest) String() string { return proto.CompactTextString(m) } -func (*ListModelsRequest) ProtoMessage() {} -func (*ListModelsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_39edc295a31e1620, []int{4} -} - -func (m *ListModelsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListModelsRequest.Unmarshal(m, b) -} -func (m *ListModelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListModelsRequest.Marshal(b, m, deterministic) -} -func (m *ListModelsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListModelsRequest.Merge(m, src) -} -func (m *ListModelsRequest) XXX_Size() int { - return xxx_messageInfo_ListModelsRequest.Size(m) -} -func (m *ListModelsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListModelsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListModelsRequest proto.InternalMessageInfo - -func (m *ListModelsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListModelsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListModelsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -// Response message for the ListModels method. -type ListModelsResponse struct { - // The list of models. - Models []*Model `protobuf:"bytes,1,rep,name=models,proto3" json:"models,omitempty"` - // Optional. Pass this token as the `page_token` field of the request for a - // subsequent call. - 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 *ListModelsResponse) Reset() { *m = ListModelsResponse{} } -func (m *ListModelsResponse) String() string { return proto.CompactTextString(m) } -func (*ListModelsResponse) ProtoMessage() {} -func (*ListModelsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_39edc295a31e1620, []int{5} -} - -func (m *ListModelsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListModelsResponse.Unmarshal(m, b) -} -func (m *ListModelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListModelsResponse.Marshal(b, m, deterministic) -} -func (m *ListModelsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListModelsResponse.Merge(m, src) -} -func (m *ListModelsResponse) XXX_Size() int { - return xxx_messageInfo_ListModelsResponse.Size(m) -} -func (m *ListModelsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListModelsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListModelsResponse proto.InternalMessageInfo - -func (m *ListModelsResponse) GetModels() []*Model { - if m != nil { - return m.Models - } - return nil -} - -func (m *ListModelsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request message for the GetModel method. -type GetModelRequest struct { - // Required. The name of the model. - // - // Authorization: requires `Viewer` role on the parent project. - 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 *GetModelRequest) Reset() { *m = GetModelRequest{} } -func (m *GetModelRequest) String() string { return proto.CompactTextString(m) } -func (*GetModelRequest) ProtoMessage() {} -func (*GetModelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_39edc295a31e1620, []int{6} -} - -func (m *GetModelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetModelRequest.Unmarshal(m, b) -} -func (m *GetModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetModelRequest.Marshal(b, m, deterministic) -} -func (m *GetModelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetModelRequest.Merge(m, src) -} -func (m *GetModelRequest) XXX_Size() int { - return xxx_messageInfo_GetModelRequest.Size(m) -} -func (m *GetModelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetModelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetModelRequest proto.InternalMessageInfo - -func (m *GetModelRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for the DeleteModel method. -type DeleteModelRequest struct { - // Required. The name of the model. - // - // Authorization: requires `Editor` role on the parent project. - 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 *DeleteModelRequest) Reset() { *m = DeleteModelRequest{} } -func (m *DeleteModelRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteModelRequest) ProtoMessage() {} -func (*DeleteModelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_39edc295a31e1620, []int{7} -} - -func (m *DeleteModelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteModelRequest.Unmarshal(m, b) -} -func (m *DeleteModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteModelRequest.Marshal(b, m, deterministic) -} -func (m *DeleteModelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteModelRequest.Merge(m, src) -} -func (m *DeleteModelRequest) XXX_Size() int { - return xxx_messageInfo_DeleteModelRequest.Size(m) -} -func (m *DeleteModelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteModelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteModelRequest proto.InternalMessageInfo - -func (m *DeleteModelRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Uploads the provided trained model version to Cloud Machine Learning. -type CreateVersionRequest struct { - // Required. The name of the model. - // - // Authorization: requires `Editor` role on the parent project. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The version details. - Version *Version `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_39edc295a31e1620, []int{8} -} - -func (m *CreateVersionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateVersionRequest.Unmarshal(m, b) -} -func (m *CreateVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateVersionRequest.Marshal(b, m, deterministic) -} -func (m *CreateVersionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateVersionRequest.Merge(m, src) -} -func (m *CreateVersionRequest) XXX_Size() int { - return xxx_messageInfo_CreateVersionRequest.Size(m) -} -func (m *CreateVersionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateVersionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateVersionRequest proto.InternalMessageInfo - -func (m *CreateVersionRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateVersionRequest) GetVersion() *Version { - if m != nil { - return m.Version - } - return nil -} - -// Request message for the ListVersions method. -type ListVersionsRequest struct { - // Required. The name of the model for which to list the version. - // - // Authorization: requires `Viewer` role on the parent project. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. A page token to request the next page of results. - // - // You get the token from the `next_page_token` field of the response from - // the previous call. - PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // Optional. The number of versions to retrieve per "page" of results. If - // there are more remaining results than this number, the response message - // will contain a valid value in the `next_page_token` field. - // - // The default value is 20, and the maximum page size is 100. - PageSize int32 `protobuf:"varint,5,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 *ListVersionsRequest) Reset() { *m = ListVersionsRequest{} } -func (m *ListVersionsRequest) String() string { return proto.CompactTextString(m) } -func (*ListVersionsRequest) ProtoMessage() {} -func (*ListVersionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_39edc295a31e1620, []int{9} -} - -func (m *ListVersionsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListVersionsRequest.Unmarshal(m, b) -} -func (m *ListVersionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListVersionsRequest.Marshal(b, m, deterministic) -} -func (m *ListVersionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListVersionsRequest.Merge(m, src) -} -func (m *ListVersionsRequest) XXX_Size() int { - return xxx_messageInfo_ListVersionsRequest.Size(m) -} -func (m *ListVersionsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListVersionsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListVersionsRequest proto.InternalMessageInfo - -func (m *ListVersionsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListVersionsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListVersionsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -// Response message for the ListVersions method. -type ListVersionsResponse struct { - // The list of versions. - Versions []*Version `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"` - // Optional. Pass this token as the `page_token` field of the request for a - // subsequent call. - 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 *ListVersionsResponse) Reset() { *m = ListVersionsResponse{} } -func (m *ListVersionsResponse) String() string { return proto.CompactTextString(m) } -func (*ListVersionsResponse) ProtoMessage() {} -func (*ListVersionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_39edc295a31e1620, []int{10} -} - -func (m *ListVersionsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListVersionsResponse.Unmarshal(m, b) -} -func (m *ListVersionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListVersionsResponse.Marshal(b, m, deterministic) -} -func (m *ListVersionsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListVersionsResponse.Merge(m, src) -} -func (m *ListVersionsResponse) XXX_Size() int { - return xxx_messageInfo_ListVersionsResponse.Size(m) -} -func (m *ListVersionsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListVersionsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListVersionsResponse proto.InternalMessageInfo - -func (m *ListVersionsResponse) GetVersions() []*Version { - if m != nil { - return m.Versions - } - return nil -} - -func (m *ListVersionsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request message for the GetVersion method. -type GetVersionRequest struct { - // Required. The name of the version. - // - // Authorization: requires `Viewer` role on the parent project. - 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 *GetVersionRequest) Reset() { *m = GetVersionRequest{} } -func (m *GetVersionRequest) String() string { return proto.CompactTextString(m) } -func (*GetVersionRequest) ProtoMessage() {} -func (*GetVersionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_39edc295a31e1620, []int{11} -} - -func (m *GetVersionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetVersionRequest.Unmarshal(m, b) -} -func (m *GetVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetVersionRequest.Marshal(b, m, deterministic) -} -func (m *GetVersionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetVersionRequest.Merge(m, src) -} -func (m *GetVersionRequest) XXX_Size() int { - return xxx_messageInfo_GetVersionRequest.Size(m) -} -func (m *GetVersionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetVersionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetVersionRequest proto.InternalMessageInfo - -func (m *GetVersionRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for the DeleteVerionRequest method. -type DeleteVersionRequest struct { - // Required. The name of the version. You can get the names of all the - // versions of a model by calling - // [projects.models.versions.list](/ml/reference/rest/v1/projects.models.versions/list). - // - // Authorization: requires `Editor` role on the parent project. - 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 *DeleteVersionRequest) Reset() { *m = DeleteVersionRequest{} } -func (m *DeleteVersionRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteVersionRequest) ProtoMessage() {} -func (*DeleteVersionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_39edc295a31e1620, []int{12} -} - -func (m *DeleteVersionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteVersionRequest.Unmarshal(m, b) -} -func (m *DeleteVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteVersionRequest.Marshal(b, m, deterministic) -} -func (m *DeleteVersionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteVersionRequest.Merge(m, src) -} -func (m *DeleteVersionRequest) XXX_Size() int { - return xxx_messageInfo_DeleteVersionRequest.Size(m) -} -func (m *DeleteVersionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteVersionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteVersionRequest proto.InternalMessageInfo - -func (m *DeleteVersionRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for the SetDefaultVersion request. -type SetDefaultVersionRequest struct { - // Required. The name of the version to make the default for the model. You - // can get the names of all the versions of a model by calling - // [projects.models.versions.list](/ml/reference/rest/v1/projects.models.versions/list). - // - // Authorization: requires `Editor` role on the parent project. - 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 *SetDefaultVersionRequest) Reset() { *m = SetDefaultVersionRequest{} } -func (m *SetDefaultVersionRequest) String() string { return proto.CompactTextString(m) } -func (*SetDefaultVersionRequest) ProtoMessage() {} -func (*SetDefaultVersionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_39edc295a31e1620, []int{13} -} - -func (m *SetDefaultVersionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetDefaultVersionRequest.Unmarshal(m, b) -} -func (m *SetDefaultVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetDefaultVersionRequest.Marshal(b, m, deterministic) -} -func (m *SetDefaultVersionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetDefaultVersionRequest.Merge(m, src) -} -func (m *SetDefaultVersionRequest) XXX_Size() int { - return xxx_messageInfo_SetDefaultVersionRequest.Size(m) -} -func (m *SetDefaultVersionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetDefaultVersionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetDefaultVersionRequest proto.InternalMessageInfo - -func (m *SetDefaultVersionRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func init() { - proto.RegisterType((*Model)(nil), "google.cloud.ml.v1.Model") - proto.RegisterType((*Version)(nil), "google.cloud.ml.v1.Version") - proto.RegisterType((*ManualScaling)(nil), "google.cloud.ml.v1.ManualScaling") - proto.RegisterType((*CreateModelRequest)(nil), "google.cloud.ml.v1.CreateModelRequest") - proto.RegisterType((*ListModelsRequest)(nil), "google.cloud.ml.v1.ListModelsRequest") - proto.RegisterType((*ListModelsResponse)(nil), "google.cloud.ml.v1.ListModelsResponse") - proto.RegisterType((*GetModelRequest)(nil), "google.cloud.ml.v1.GetModelRequest") - proto.RegisterType((*DeleteModelRequest)(nil), "google.cloud.ml.v1.DeleteModelRequest") - proto.RegisterType((*CreateVersionRequest)(nil), "google.cloud.ml.v1.CreateVersionRequest") - proto.RegisterType((*ListVersionsRequest)(nil), "google.cloud.ml.v1.ListVersionsRequest") - proto.RegisterType((*ListVersionsResponse)(nil), "google.cloud.ml.v1.ListVersionsResponse") - proto.RegisterType((*GetVersionRequest)(nil), "google.cloud.ml.v1.GetVersionRequest") - proto.RegisterType((*DeleteVersionRequest)(nil), "google.cloud.ml.v1.DeleteVersionRequest") - proto.RegisterType((*SetDefaultVersionRequest)(nil), "google.cloud.ml.v1.SetDefaultVersionRequest") -} - -func init() { - proto.RegisterFile("google/cloud/ml/v1/model_service.proto", fileDescriptor_39edc295a31e1620) -} - -var fileDescriptor_39edc295a31e1620 = []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, - 0x86, 0x00, 0xb6, 0x52, 0x8a, 0x10, 0x59, 0x01, 0xd2, 0x52, 0x69, 0x39, 0xec, 0x8a, 0xca, 0xdd, - 0xe5, 0x80, 0x84, 0x2c, 0x6f, 0x32, 0x6b, 0x06, 0xec, 0x19, 0xe3, 0x19, 0x07, 0x58, 0x58, 0x21, - 0xc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, - 0xa3, 0xc7, 0xdb, 0x0a, 0xf0, 0xd6, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xcc, 0x07, 0x42, 0xf7, - 0xeb, 0x0b, 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 - -// ModelServiceClient is the client API for ModelService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ModelServiceClient interface { - // Creates a model which will later contain one or more versions. - // - // You must add at least one version before you can request predictions from - // the model. Add versions by calling - // [projects.models.versions.create](/ml/reference/rest/v1/projects.models.versions/create). - CreateModel(ctx context.Context, in *CreateModelRequest, opts ...grpc.CallOption) (*Model, error) - // Lists the models in a project. - // - // Each project can contain multiple models, and each model can have multiple - // versions. - ListModels(ctx context.Context, in *ListModelsRequest, opts ...grpc.CallOption) (*ListModelsResponse, error) - // Gets information about a model, including its name, the description (if - // set), and the default version (if at least one version of the model has - // been deployed). - GetModel(ctx context.Context, in *GetModelRequest, opts ...grpc.CallOption) (*Model, error) - // Deletes a model. - // - // You can only delete a model if there are no versions in it. You can delete - // versions by calling - // [projects.models.versions.delete](/ml/reference/rest/v1/projects.models.versions/delete). - DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Creates a new version of a model from a trained TensorFlow model. - // - // If the version created in the cloud by this call is the first deployed - // version of the specified model, it will be made the default version of the - // model. When you add a version to a model that already has one or more - // versions, the default version does not automatically change. If you want a - // new version to be the default, you must call - // [projects.models.versions.setDefault](/ml/reference/rest/v1/projects.models.versions/setDefault). - CreateVersion(ctx context.Context, in *CreateVersionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Gets basic information about all the versions of a model. - // - // If you expect that a model has a lot of versions, or if you need to handle - // only a limited number of results at a time, you can request that the list - // be retrieved in batches (called pages): - ListVersions(ctx context.Context, in *ListVersionsRequest, opts ...grpc.CallOption) (*ListVersionsResponse, error) - // Gets information about a model version. - // - // Models can have multiple versions. You can call - // [projects.models.versions.list](/ml/reference/rest/v1/projects.models.versions/list) - // to get the same information that this method returns for all of the - // versions of a model. - GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*Version, error) - // Deletes a model version. - // - // Each model can have multiple versions deployed and in use at any given - // time. Use this method to remove a single version. - // - // Note: You cannot delete the version that is set as the default version - // of the model unless it is the only remaining version. - DeleteVersion(ctx context.Context, in *DeleteVersionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Designates a version to be the default for the model. - // - // The default version is used for prediction requests made against the model - // that don't specify a version. - // - // The first version to be created for a model is automatically set as the - // default. You must make any subsequent changes to the default version - // setting manually using this method. - SetDefaultVersion(ctx context.Context, in *SetDefaultVersionRequest, opts ...grpc.CallOption) (*Version, error) -} - -type modelServiceClient struct { - cc *grpc.ClientConn -} - -func NewModelServiceClient(cc *grpc.ClientConn) ModelServiceClient { - return &modelServiceClient{cc} -} - -func (c *modelServiceClient) CreateModel(ctx context.Context, in *CreateModelRequest, opts ...grpc.CallOption) (*Model, error) { - out := new(Model) - err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ModelService/CreateModel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *modelServiceClient) ListModels(ctx context.Context, in *ListModelsRequest, opts ...grpc.CallOption) (*ListModelsResponse, error) { - out := new(ListModelsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ModelService/ListModels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *modelServiceClient) GetModel(ctx context.Context, in *GetModelRequest, opts ...grpc.CallOption) (*Model, error) { - out := new(Model) - err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ModelService/GetModel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *modelServiceClient) DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ModelService/DeleteModel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *modelServiceClient) CreateVersion(ctx context.Context, in *CreateVersionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ModelService/CreateVersion", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *modelServiceClient) ListVersions(ctx context.Context, in *ListVersionsRequest, opts ...grpc.CallOption) (*ListVersionsResponse, error) { - out := new(ListVersionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ModelService/ListVersions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *modelServiceClient) GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*Version, error) { - out := new(Version) - err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ModelService/GetVersion", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *modelServiceClient) DeleteVersion(ctx context.Context, in *DeleteVersionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ModelService/DeleteVersion", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *modelServiceClient) SetDefaultVersion(ctx context.Context, in *SetDefaultVersionRequest, opts ...grpc.CallOption) (*Version, error) { - out := new(Version) - err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ModelService/SetDefaultVersion", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ModelServiceServer is the server API for ModelService service. -type ModelServiceServer interface { - // Creates a model which will later contain one or more versions. - // - // You must add at least one version before you can request predictions from - // the model. Add versions by calling - // [projects.models.versions.create](/ml/reference/rest/v1/projects.models.versions/create). - CreateModel(context.Context, *CreateModelRequest) (*Model, error) - // Lists the models in a project. - // - // Each project can contain multiple models, and each model can have multiple - // versions. - ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error) - // Gets information about a model, including its name, the description (if - // set), and the default version (if at least one version of the model has - // been deployed). - GetModel(context.Context, *GetModelRequest) (*Model, error) - // Deletes a model. - // - // You can only delete a model if there are no versions in it. You can delete - // versions by calling - // [projects.models.versions.delete](/ml/reference/rest/v1/projects.models.versions/delete). - DeleteModel(context.Context, *DeleteModelRequest) (*longrunning.Operation, error) - // Creates a new version of a model from a trained TensorFlow model. - // - // If the version created in the cloud by this call is the first deployed - // version of the specified model, it will be made the default version of the - // model. When you add a version to a model that already has one or more - // versions, the default version does not automatically change. If you want a - // new version to be the default, you must call - // [projects.models.versions.setDefault](/ml/reference/rest/v1/projects.models.versions/setDefault). - CreateVersion(context.Context, *CreateVersionRequest) (*longrunning.Operation, error) - // Gets basic information about all the versions of a model. - // - // If you expect that a model has a lot of versions, or if you need to handle - // only a limited number of results at a time, you can request that the list - // be retrieved in batches (called pages): - ListVersions(context.Context, *ListVersionsRequest) (*ListVersionsResponse, error) - // Gets information about a model version. - // - // Models can have multiple versions. You can call - // [projects.models.versions.list](/ml/reference/rest/v1/projects.models.versions/list) - // to get the same information that this method returns for all of the - // versions of a model. - GetVersion(context.Context, *GetVersionRequest) (*Version, error) - // Deletes a model version. - // - // Each model can have multiple versions deployed and in use at any given - // time. Use this method to remove a single version. - // - // Note: You cannot delete the version that is set as the default version - // of the model unless it is the only remaining version. - DeleteVersion(context.Context, *DeleteVersionRequest) (*longrunning.Operation, error) - // Designates a version to be the default for the model. - // - // The default version is used for prediction requests made against the model - // that don't specify a version. - // - // The first version to be created for a model is automatically set as the - // default. You must make any subsequent changes to the default version - // setting manually using this method. - SetDefaultVersion(context.Context, *SetDefaultVersionRequest) (*Version, error) -} - -// UnimplementedModelServiceServer can be embedded to have forward compatible implementations. -type UnimplementedModelServiceServer struct { -} - -func (*UnimplementedModelServiceServer) CreateModel(ctx context.Context, req *CreateModelRequest) (*Model, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateModel not implemented") -} -func (*UnimplementedModelServiceServer) ListModels(ctx context.Context, req *ListModelsRequest) (*ListModelsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListModels not implemented") -} -func (*UnimplementedModelServiceServer) GetModel(ctx context.Context, req *GetModelRequest) (*Model, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetModel not implemented") -} -func (*UnimplementedModelServiceServer) DeleteModel(ctx context.Context, req *DeleteModelRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteModel not implemented") -} -func (*UnimplementedModelServiceServer) CreateVersion(ctx context.Context, req *CreateVersionRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateVersion not implemented") -} -func (*UnimplementedModelServiceServer) ListVersions(ctx context.Context, req *ListVersionsRequest) (*ListVersionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListVersions not implemented") -} -func (*UnimplementedModelServiceServer) GetVersion(ctx context.Context, req *GetVersionRequest) (*Version, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetVersion not implemented") -} -func (*UnimplementedModelServiceServer) DeleteVersion(ctx context.Context, req *DeleteVersionRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteVersion not implemented") -} -func (*UnimplementedModelServiceServer) SetDefaultVersion(ctx context.Context, req *SetDefaultVersionRequest) (*Version, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetDefaultVersion not implemented") -} - -func RegisterModelServiceServer(s *grpc.Server, srv ModelServiceServer) { - s.RegisterService(&_ModelService_serviceDesc, srv) -} - -func _ModelService_CreateModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateModelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ModelServiceServer).CreateModel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.ml.v1.ModelService/CreateModel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ModelServiceServer).CreateModel(ctx, req.(*CreateModelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ModelService_ListModels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListModelsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ModelServiceServer).ListModels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.ml.v1.ModelService/ListModels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ModelServiceServer).ListModels(ctx, req.(*ListModelsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ModelService_GetModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetModelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ModelServiceServer).GetModel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.ml.v1.ModelService/GetModel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ModelServiceServer).GetModel(ctx, req.(*GetModelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ModelService_DeleteModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteModelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ModelServiceServer).DeleteModel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.ml.v1.ModelService/DeleteModel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ModelServiceServer).DeleteModel(ctx, req.(*DeleteModelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ModelService_CreateVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateVersionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ModelServiceServer).CreateVersion(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.ml.v1.ModelService/CreateVersion", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ModelServiceServer).CreateVersion(ctx, req.(*CreateVersionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ModelService_ListVersions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListVersionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ModelServiceServer).ListVersions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.ml.v1.ModelService/ListVersions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ModelServiceServer).ListVersions(ctx, req.(*ListVersionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ModelService_GetVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetVersionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ModelServiceServer).GetVersion(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.ml.v1.ModelService/GetVersion", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ModelServiceServer).GetVersion(ctx, req.(*GetVersionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ModelService_DeleteVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteVersionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ModelServiceServer).DeleteVersion(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.ml.v1.ModelService/DeleteVersion", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ModelServiceServer).DeleteVersion(ctx, req.(*DeleteVersionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ModelService_SetDefaultVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetDefaultVersionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ModelServiceServer).SetDefaultVersion(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.ml.v1.ModelService/SetDefaultVersion", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ModelServiceServer).SetDefaultVersion(ctx, req.(*SetDefaultVersionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ModelService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.ml.v1.ModelService", - HandlerType: (*ModelServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateModel", - Handler: _ModelService_CreateModel_Handler, - }, - { - MethodName: "ListModels", - Handler: _ModelService_ListModels_Handler, - }, - { - MethodName: "GetModel", - Handler: _ModelService_GetModel_Handler, - }, - { - MethodName: "DeleteModel", - Handler: _ModelService_DeleteModel_Handler, - }, - { - MethodName: "CreateVersion", - Handler: _ModelService_CreateVersion_Handler, - }, - { - MethodName: "ListVersions", - Handler: _ModelService_ListVersions_Handler, - }, - { - MethodName: "GetVersion", - Handler: _ModelService_GetVersion_Handler, - }, - { - MethodName: "DeleteVersion", - Handler: _ModelService_DeleteVersion_Handler, - }, - { - MethodName: "SetDefaultVersion", - Handler: _ModelService_SetDefaultVersion_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/ml/v1/model_service.proto", -} 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 deleted file mode 100644 index 56e47ea3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/operation_metadata.pb.go +++ /dev/null @@ -1,197 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/ml/v1/operation_metadata.proto - -package ml - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The operation type. -type OperationMetadata_OperationType int32 - -const ( - // Unspecified operation type. - OperationMetadata_OPERATION_TYPE_UNSPECIFIED OperationMetadata_OperationType = 0 - // An operation to create a new version. - OperationMetadata_CREATE_VERSION OperationMetadata_OperationType = 1 - // An operation to delete an existing version. - OperationMetadata_DELETE_VERSION OperationMetadata_OperationType = 2 - // An operation to delete an existing model. - OperationMetadata_DELETE_MODEL OperationMetadata_OperationType = 3 -) - -var OperationMetadata_OperationType_name = map[int32]string{ - 0: "OPERATION_TYPE_UNSPECIFIED", - 1: "CREATE_VERSION", - 2: "DELETE_VERSION", - 3: "DELETE_MODEL", -} - -var OperationMetadata_OperationType_value = map[string]int32{ - "OPERATION_TYPE_UNSPECIFIED": 0, - "CREATE_VERSION": 1, - "DELETE_VERSION": 2, - "DELETE_MODEL": 3, -} - -func (x OperationMetadata_OperationType) String() string { - return proto.EnumName(OperationMetadata_OperationType_name, int32(x)) -} - -func (OperationMetadata_OperationType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6a63a989e77eed3e, []int{0, 0} -} - -// Represents the metadata of the long-running operation. -type OperationMetadata struct { - // The time the operation was submitted. - CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // The time operation processing started. - StartTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // The time operation processing completed. - EndTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - // Indicates whether a request to cancel this operation has been made. - IsCancellationRequested bool `protobuf:"varint,4,opt,name=is_cancellation_requested,json=isCancellationRequested,proto3" json:"is_cancellation_requested,omitempty"` - // The operation type. - OperationType OperationMetadata_OperationType `protobuf:"varint,5,opt,name=operation_type,json=operationType,proto3,enum=google.cloud.ml.v1.OperationMetadata_OperationType" json:"operation_type,omitempty"` - // Contains the name of the model associated with the operation. - ModelName string `protobuf:"bytes,6,opt,name=model_name,json=modelName,proto3" json:"model_name,omitempty"` - // Contains the version associated with the operation. - Version *Version `protobuf:"bytes,7,opt,name=version,proto3" json:"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_6a63a989e77eed3e, []int{0} -} - -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 (m *OperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperationMetadata.Merge(m, 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) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *OperationMetadata) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -func (m *OperationMetadata) GetIsCancellationRequested() bool { - if m != nil { - return m.IsCancellationRequested - } - return false -} - -func (m *OperationMetadata) GetOperationType() OperationMetadata_OperationType { - if m != nil { - return m.OperationType - } - return OperationMetadata_OPERATION_TYPE_UNSPECIFIED -} - -func (m *OperationMetadata) GetModelName() string { - if m != nil { - return m.ModelName - } - return "" -} - -func (m *OperationMetadata) GetVersion() *Version { - if m != nil { - return m.Version - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.ml.v1.OperationMetadata_OperationType", OperationMetadata_OperationType_name, OperationMetadata_OperationType_value) - proto.RegisterType((*OperationMetadata)(nil), "google.cloud.ml.v1.OperationMetadata") -} - -func init() { - proto.RegisterFile("google/cloud/ml/v1/operation_metadata.proto", fileDescriptor_6a63a989e77eed3e) -} - -var fileDescriptor_6a63a989e77eed3e = []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, - 0x02, 0x03, 0x99, 0xb4, 0xdb, 0xc3, 0xd6, 0xa7, 0x36, 0xd1, 0x20, 0xd0, 0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xb4, 0x0e, 0x29, 0xf2, 0x6e, 0xbf, 0xb4, 0x8e, 0x42, - 0x09, 0x26, 0x0b, 0xa2, 0xea, 0x22, 0x28, 0x40, 0xda, 0x08, 0x03, 0x57, 0x62, 0x15, 0xd7, 0x9b, - 0xbf, 0xf7, 0xac, 0x14, 0x77, 0xfb, 0x16, 0x38, 0xfd, 0x17, 0x00, 0x00, 0xff, 0xff, 0x03, 0xf9, - 0xcc, 0xf1, 0x3c, 0x03, 0x00, 0x00, -} 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 deleted file mode 100644 index 84d6b50e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/prediction_service.pb.go +++ /dev/null @@ -1,384 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/ml/v1/prediction_service.proto - -package ml - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - httpbody "google.golang.org/genproto/googleapis/api/httpbody" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request for predictions to be issued against a trained model. -// -// The body of the request is a single JSON object with a single top-level -// field: -// -//
-//
instances
-//
A JSON array containing values representing the instances to use for -// prediction.
-//
-// -// The structure of each element of the instances list is determined by your -// model's input definition. Instances can include named inputs or can contain -// only unlabeled values. -// -// Not all data includes named inputs. Some instances will be simple -// JSON values (boolean, number, or string). However, instances are often lists -// of simple values, or complex nested lists. Here are some examples of request -// bodies: -// -// CSV data with each row encoded as a string value: -//
-// {"instances": ["1.0,true,\\"x\\"", "-2.0,false,\\"y\\""]}
-// 
-// Plain text: -//
-// {"instances": ["the quick brown fox", "la bruja le dio"]}
-// 
-// Sentences encoded as lists of words (vectors of strings): -//
-// {
-//   "instances": [
-//     ["the","quick","brown"],
-//     ["la","bruja","le"],
-//     ...
-//   ]
-// }
-// 
-// Floating point scalar values: -//
-// {"instances": [0.0, 1.1, 2.2]}
-// 
-// Vectors of integers: -//
-// {
-//   "instances": [
-//     [0, 1, 2],
-//     [3, 4, 5],
-//     ...
-//   ]
-// }
-// 
-// Tensors (in this case, two-dimensional tensors): -//
-// {
-//   "instances": [
-//     [
-//       [0, 1, 2],
-//       [3, 4, 5]
-//     ],
-//     ...
-//   ]
-// }
-// 
-// Images can be represented different ways. In this encoding scheme the first -// two dimensions represent the rows and columns of the image, and the third -// contains lists (vectors) of the R, G, and B values for each pixel. -//
-// {
-//   "instances": [
-//     [
-//       [
-//         [138, 30, 66],
-//         [130, 20, 56],
-//         ...
-//       ],
-//       [
-//         [126, 38, 61],
-//         [122, 24, 57],
-//         ...
-//       ],
-//       ...
-//     ],
-//     ...
-//   ]
-// }
-// 
-// JSON strings must be encoded as UTF-8. To send binary data, you must -// base64-encode the data and mark it as binary. To mark a JSON string -// as binary, replace it with a JSON object with a single attribute named `b64`: -//
{"b64": "..."} 
-// For example: -// -// Two Serialized tf.Examples (fake data, for illustrative purposes only): -//
-// {"instances": [{"b64": "X5ad6u"}, {"b64": "IA9j4nx"}]}
-// 
-// Two JPEG image byte strings (fake data, for illustrative purposes only): -//
-// {"instances": [{"b64": "ASa8asdf"}, {"b64": "JLK7ljk3"}]}
-// 
-// If your data includes named references, format each instance as a JSON object -// with the named references as the keys: -// -// JSON input data to be preprocessed: -//
-// {
-//   "instances": [
-//     {
-//       "a": 1.0,
-//       "b": true,
-//       "c": "x"
-//     },
-//     {
-//       "a": -2.0,
-//       "b": false,
-//       "c": "y"
-//     }
-//   ]
-// }
-// 
-// Some models have an underlying TensorFlow graph that accepts multiple input -// tensors. In this case, you should use the names of JSON name/value pairs to -// identify the input tensors, as shown in the following exmaples: -// -// For a graph with input tensor aliases "tag" (string) and "image" -// (base64-encoded string): -//
-// {
-//   "instances": [
-//     {
-//       "tag": "beach",
-//       "image": {"b64": "ASa8asdf"}
-//     },
-//     {
-//       "tag": "car",
-//       "image": {"b64": "JLK7ljk3"}
-//     }
-//   ]
-// }
-// 
-// For a graph with input tensor aliases "tag" (string) and "image" -// (3-dimensional array of 8-bit ints): -//
-// {
-//   "instances": [
-//     {
-//       "tag": "beach",
-//       "image": [
-//         [
-//           [138, 30, 66],
-//           [130, 20, 56],
-//           ...
-//         ],
-//         [
-//           [126, 38, 61],
-//           [122, 24, 57],
-//           ...
-//         ],
-//         ...
-//       ]
-//     },
-//     {
-//       "tag": "car",
-//       "image": [
-//         [
-//           [255, 0, 102],
-//           [255, 0, 97],
-//           ...
-//         ],
-//         [
-//           [254, 1, 101],
-//           [254, 2, 93],
-//           ...
-//         ],
-//         ...
-//       ]
-//     },
-//     ...
-//   ]
-// }
-// 
-// If the call is successful, the response body will contain one prediction -// entry per instance in the request body. If prediction fails for any -// instance, the response body will contain no predictions and will contian -// a single error entry instead. -type PredictRequest struct { - // Required. The resource name of a model or a version. - // - // Authorization: requires `Viewer` role on the parent project. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // - // Required. The prediction request body. - HttpBody *httpbody.HttpBody `protobuf:"bytes,2,opt,name=http_body,json=httpBody,proto3" json:"http_body,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ca7339bffd66a462, []int{0} -} - -func (m *PredictRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PredictRequest.Unmarshal(m, b) -} -func (m *PredictRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PredictRequest.Marshal(b, m, deterministic) -} -func (m *PredictRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PredictRequest.Merge(m, src) -} -func (m *PredictRequest) XXX_Size() int { - return xxx_messageInfo_PredictRequest.Size(m) -} -func (m *PredictRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PredictRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_PredictRequest proto.InternalMessageInfo - -func (m *PredictRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *PredictRequest) GetHttpBody() *httpbody.HttpBody { - if m != nil { - return m.HttpBody - } - return nil -} - -func init() { - proto.RegisterType((*PredictRequest)(nil), "google.cloud.ml.v1.PredictRequest") -} - -func init() { - proto.RegisterFile("google/cloud/ml/v1/prediction_service.proto", fileDescriptor_ca7339bffd66a462) -} - -var fileDescriptor_ca7339bffd66a462 = []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, - 0xd0, 0xe9, 0x69, 0xe2, 0x65, 0x27, 0x6f, 0x96, 0x79, 0x10, 0xbc, 0x8c, 0xac, 0x0d, 0x59, 0x24, - 0xcd, 0x1b, 0xdb, 0xac, 0x30, 0xc4, 0x8b, 0x37, 0xcf, 0x7e, 0x34, 0xbf, 0x82, 0x1f, 0x44, 0xd2, - 0x04, 0x99, 0xd4, 0xdb, 0x4b, 0xde, 0xe7, 0x79, 0x9f, 0x3f, 0x41, 0x17, 0x02, 0x40, 0x28, 0x4e, - 0x73, 0x05, 0x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, 0x1e, 0xaf, 0x02, 0x43, 0x80, 0x62, - 0x5a, 0x10, 0xa8, 0x04, 0x15, 0x5c, 0xb7, 0xc5, 0x51, 0xbf, 0x62, 0x46, 0xd6, 0xdb, 0xbf, 0x76, - 0x5d, 0xaa, 0xe5, 0xff, 0x16, 0x70, 0xf9, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x81, 0x8e, 0x25, 0xca, - 0xd5, 0x01, 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 - -// OnlinePredictionServiceClient is the client API for OnlinePredictionService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type OnlinePredictionServiceClient interface { - // Performs prediction on the data in the request. - // - // **** REMOVE FROM GENERATED DOCUMENTATION - Predict(ctx context.Context, in *PredictRequest, opts ...grpc.CallOption) (*httpbody.HttpBody, error) -} - -type onlinePredictionServiceClient struct { - cc *grpc.ClientConn -} - -func NewOnlinePredictionServiceClient(cc *grpc.ClientConn) OnlinePredictionServiceClient { - return &onlinePredictionServiceClient{cc} -} - -func (c *onlinePredictionServiceClient) Predict(ctx context.Context, in *PredictRequest, opts ...grpc.CallOption) (*httpbody.HttpBody, error) { - out := new(httpbody.HttpBody) - err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.OnlinePredictionService/Predict", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// OnlinePredictionServiceServer is the server API for OnlinePredictionService service. -type OnlinePredictionServiceServer interface { - // Performs prediction on the data in the request. - // - // **** REMOVE FROM GENERATED DOCUMENTATION - Predict(context.Context, *PredictRequest) (*httpbody.HttpBody, error) -} - -// UnimplementedOnlinePredictionServiceServer can be embedded to have forward compatible implementations. -type UnimplementedOnlinePredictionServiceServer struct { -} - -func (*UnimplementedOnlinePredictionServiceServer) Predict(ctx context.Context, req *PredictRequest) (*httpbody.HttpBody, error) { - return nil, status.Errorf(codes.Unimplemented, "method Predict not implemented") -} - -func RegisterOnlinePredictionServiceServer(s *grpc.Server, srv OnlinePredictionServiceServer) { - s.RegisterService(&_OnlinePredictionService_serviceDesc, srv) -} - -func _OnlinePredictionService_Predict_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PredictRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OnlinePredictionServiceServer).Predict(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.ml.v1.OnlinePredictionService/Predict", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OnlinePredictionServiceServer).Predict(ctx, req.(*PredictRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _OnlinePredictionService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.ml.v1.OnlinePredictionService", - HandlerType: (*OnlinePredictionServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Predict", - Handler: _OnlinePredictionService_Predict_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/ml/v1/prediction_service.proto", -} 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 deleted file mode 100644 index f1f67c9e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/ml/v1/project_service.pb.go +++ /dev/null @@ -1,241 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/ml/v1/project_service.proto - -package ml - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Requests service account information associated with a project. -type GetConfigRequest struct { - // Required. The project name. - // - // Authorization: requires `Viewer` role on the specified project. - 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 *GetConfigRequest) Reset() { *m = GetConfigRequest{} } -func (m *GetConfigRequest) String() string { return proto.CompactTextString(m) } -func (*GetConfigRequest) ProtoMessage() {} -func (*GetConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9d9ea4142d12cde4, []int{0} -} - -func (m *GetConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetConfigRequest.Unmarshal(m, b) -} -func (m *GetConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetConfigRequest.Marshal(b, m, deterministic) -} -func (m *GetConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetConfigRequest.Merge(m, src) -} -func (m *GetConfigRequest) XXX_Size() int { - return xxx_messageInfo_GetConfigRequest.Size(m) -} -func (m *GetConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetConfigRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetConfigRequest proto.InternalMessageInfo - -func (m *GetConfigRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Returns service account information associated with a project. -type GetConfigResponse struct { - // The service account Cloud ML uses to access resources in the project. - ServiceAccount string `protobuf:"bytes,1,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` - // The project number for `service_account`. - ServiceAccountProject int64 `protobuf:"varint,2,opt,name=service_account_project,json=serviceAccountProject,proto3" json:"service_account_project,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9d9ea4142d12cde4, []int{1} -} - -func (m *GetConfigResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetConfigResponse.Unmarshal(m, b) -} -func (m *GetConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetConfigResponse.Marshal(b, m, deterministic) -} -func (m *GetConfigResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetConfigResponse.Merge(m, src) -} -func (m *GetConfigResponse) XXX_Size() int { - return xxx_messageInfo_GetConfigResponse.Size(m) -} -func (m *GetConfigResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetConfigResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GetConfigResponse proto.InternalMessageInfo - -func (m *GetConfigResponse) GetServiceAccount() string { - if m != nil { - return m.ServiceAccount - } - return "" -} - -func (m *GetConfigResponse) GetServiceAccountProject() int64 { - if m != nil { - return m.ServiceAccountProject - } - return 0 -} - -func init() { - proto.RegisterType((*GetConfigRequest)(nil), "google.cloud.ml.v1.GetConfigRequest") - proto.RegisterType((*GetConfigResponse)(nil), "google.cloud.ml.v1.GetConfigResponse") -} - -func init() { - proto.RegisterFile("google/cloud/ml/v1/project_service.proto", fileDescriptor_9d9ea4142d12cde4) -} - -var fileDescriptor_9d9ea4142d12cde4 = []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, 0x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0x48, 0xf5, 0xb5, 0xb0, 0x42, - 0x82, 0x01, 0x1b, 0x6e, 0x22, 0x4a, 0x5f, 0x33, 0x52, 0xff, 0xf5, 0x44, 0x77, 0xd9, 0x7c, 0x76, - 0x36, 0x1b, 0xad, 0xb9, 0xf7, 0x0f, 0x15, 0x83, 0xb5, 0x3b, 0x6f, 0x9f, 0x5f, 0xef, 0xb5, 0x1d, - 0xba, 0x3d, 0x59, 0xf5, 0xf3, 0x64, 0x01, 0xe7, 0xc9, 0xaf, 0xe7, 0x07, 0x2f, 0xa7, 0xf2, 0x47, - 0xd0, 0x57, 0xa4, 0x99, 0xa3, 0x99, 0x7b, 0x54, 0x38, 0xc5, 0xca, 0x5e, 0x7f, 0x3d, 0x79, 0x4f, - 0x8e, 0x07, 0x93, 0x8d, 0x0f, 0xb2, 0xdb, 0xe3, 0x84, 0x4b, 0xd4, 0xc2, 0x4a, 0x86, 0x85, 0xe4, - 0x12, 0x6c, 0x75, 0x0f, 0x1e, 0x47, 0xc2, 0x29, 0x3f, 0x7d, 0xee, 0x33, 0xa3, 0xef, 0x96, 0x2a, - 0xe0, 0xe8, 0x3b, 0x00, 0x00, 0xff, 0xff, 0xd0, 0xa5, 0x43, 0x33, 0x0e, 0x02, 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 - -// ProjectManagementServiceClient is the client API for ProjectManagementService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ProjectManagementServiceClient interface { - // Get the service account information associated with your project. You need - // this information in order to grant the service account persmissions for - // the Google Cloud Storage location where you put your model training code - // for training the model with Google Cloud Machine Learning. - GetConfig(ctx context.Context, in *GetConfigRequest, opts ...grpc.CallOption) (*GetConfigResponse, error) -} - -type projectManagementServiceClient struct { - cc *grpc.ClientConn -} - -func NewProjectManagementServiceClient(cc *grpc.ClientConn) ProjectManagementServiceClient { - return &projectManagementServiceClient{cc} -} - -func (c *projectManagementServiceClient) GetConfig(ctx context.Context, in *GetConfigRequest, opts ...grpc.CallOption) (*GetConfigResponse, error) { - out := new(GetConfigResponse) - err := c.cc.Invoke(ctx, "/google.cloud.ml.v1.ProjectManagementService/GetConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ProjectManagementServiceServer is the server API for ProjectManagementService service. -type ProjectManagementServiceServer interface { - // Get the service account information associated with your project. You need - // this information in order to grant the service account persmissions for - // the Google Cloud Storage location where you put your model training code - // for training the model with Google Cloud Machine Learning. - GetConfig(context.Context, *GetConfigRequest) (*GetConfigResponse, error) -} - -// UnimplementedProjectManagementServiceServer can be embedded to have forward compatible implementations. -type UnimplementedProjectManagementServiceServer struct { -} - -func (*UnimplementedProjectManagementServiceServer) GetConfig(ctx context.Context, req *GetConfigRequest) (*GetConfigResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetConfig not implemented") -} - -func RegisterProjectManagementServiceServer(s *grpc.Server, srv ProjectManagementServiceServer) { - s.RegisterService(&_ProjectManagementService_serviceDesc, srv) -} - -func _ProjectManagementService_GetConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetConfigRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProjectManagementServiceServer).GetConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.ml.v1.ProjectManagementService/GetConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProjectManagementServiceServer).GetConfig(ctx, req.(*GetConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ProjectManagementService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.ml.v1.ProjectManagementService", - HandlerType: (*ProjectManagementServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetConfig", - Handler: _ProjectManagementService_GetConfig_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/ml/v1/project_service.proto", -} 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 deleted file mode 100644 index 72f71b2c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/oslogin/common/common.pb.go +++ /dev/null @@ -1,311 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/oslogin/common/common.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The operating system options for account entries. -type OperatingSystemType int32 - -const ( - // The operating system type associated with the user account information is - // unspecified. - OperatingSystemType_OPERATING_SYSTEM_TYPE_UNSPECIFIED OperatingSystemType = 0 - // Linux user account information. - OperatingSystemType_LINUX OperatingSystemType = 1 - // Windows user account information. - OperatingSystemType_WINDOWS OperatingSystemType = 2 -) - -var OperatingSystemType_name = map[int32]string{ - 0: "OPERATING_SYSTEM_TYPE_UNSPECIFIED", - 1: "LINUX", - 2: "WINDOWS", -} - -var OperatingSystemType_value = map[string]int32{ - "OPERATING_SYSTEM_TYPE_UNSPECIFIED": 0, - "LINUX": 1, - "WINDOWS": 2, -} - -func (x OperatingSystemType) String() string { - return proto.EnumName(OperatingSystemType_name, int32(x)) -} - -func (OperatingSystemType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7fa58776520b3f24, []int{0} -} - -// The POSIX account information associated with a Google account. -type PosixAccount struct { - // Only one POSIX account can be marked as primary. - Primary bool `protobuf:"varint,1,opt,name=primary,proto3" json:"primary,omitempty"` - // The username of the POSIX account. - Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` - // The user ID. - Uid int64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"` - // The default group ID. - Gid int64 `protobuf:"varint,4,opt,name=gid,proto3" json:"gid,omitempty"` - // The path to the home directory for this account. - HomeDirectory string `protobuf:"bytes,5,opt,name=home_directory,json=homeDirectory,proto3" json:"home_directory,omitempty"` - // The path to the logic shell for this account. - Shell string `protobuf:"bytes,6,opt,name=shell,proto3" json:"shell,omitempty"` - // The GECOS (user information) entry for this account. - Gecos string `protobuf:"bytes,7,opt,name=gecos,proto3" json:"gecos,omitempty"` - // System identifier for which account the username or uid applies to. - // By default, the empty value is used. - SystemId string `protobuf:"bytes,8,opt,name=system_id,json=systemId,proto3" json:"system_id,omitempty"` - // Output only. A POSIX account identifier. - AccountId string `protobuf:"bytes,9,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` - // The operating system type where this account applies. - OperatingSystemType OperatingSystemType `protobuf:"varint,10,opt,name=operating_system_type,json=operatingSystemType,proto3,enum=google.cloud.oslogin.common.OperatingSystemType" json:"operating_system_type,omitempty"` - // Output only. The canonical resource name. - Name string `protobuf:"bytes,11,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7fa58776520b3f24, []int{0} -} - -func (m *PosixAccount) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PosixAccount.Unmarshal(m, b) -} -func (m *PosixAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PosixAccount.Marshal(b, m, deterministic) -} -func (m *PosixAccount) XXX_Merge(src proto.Message) { - xxx_messageInfo_PosixAccount.Merge(m, src) -} -func (m *PosixAccount) XXX_Size() int { - return xxx_messageInfo_PosixAccount.Size(m) -} -func (m *PosixAccount) XXX_DiscardUnknown() { - xxx_messageInfo_PosixAccount.DiscardUnknown(m) -} - -var xxx_messageInfo_PosixAccount proto.InternalMessageInfo - -func (m *PosixAccount) GetPrimary() bool { - if m != nil { - return m.Primary - } - return false -} - -func (m *PosixAccount) GetUsername() string { - if m != nil { - return m.Username - } - return "" -} - -func (m *PosixAccount) GetUid() int64 { - if m != nil { - return m.Uid - } - return 0 -} - -func (m *PosixAccount) GetGid() int64 { - if m != nil { - return m.Gid - } - return 0 -} - -func (m *PosixAccount) GetHomeDirectory() string { - if m != nil { - return m.HomeDirectory - } - return "" -} - -func (m *PosixAccount) GetShell() string { - if m != nil { - return m.Shell - } - return "" -} - -func (m *PosixAccount) GetGecos() string { - if m != nil { - return m.Gecos - } - return "" -} - -func (m *PosixAccount) GetSystemId() string { - if m != nil { - return m.SystemId - } - return "" -} - -func (m *PosixAccount) GetAccountId() string { - if m != nil { - return m.AccountId - } - return "" -} - -func (m *PosixAccount) GetOperatingSystemType() OperatingSystemType { - if m != nil { - return m.OperatingSystemType - } - return OperatingSystemType_OPERATING_SYSTEM_TYPE_UNSPECIFIED -} - -func (m *PosixAccount) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The SSH public key information associated with a Google account. -type SshPublicKey struct { - // Public key text in SSH format, defined by - // RFC4253 - // section 6.6. - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - // An expiration time in microseconds since epoch. - ExpirationTimeUsec int64 `protobuf:"varint,2,opt,name=expiration_time_usec,json=expirationTimeUsec,proto3" json:"expiration_time_usec,omitempty"` - // Output only. The SHA-256 fingerprint of the SSH public key. - Fingerprint string `protobuf:"bytes,3,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` - // Output only. The canonical resource name. - 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 *SshPublicKey) Reset() { *m = SshPublicKey{} } -func (m *SshPublicKey) String() string { return proto.CompactTextString(m) } -func (*SshPublicKey) ProtoMessage() {} -func (*SshPublicKey) Descriptor() ([]byte, []int) { - return fileDescriptor_7fa58776520b3f24, []int{1} -} - -func (m *SshPublicKey) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SshPublicKey.Unmarshal(m, b) -} -func (m *SshPublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SshPublicKey.Marshal(b, m, deterministic) -} -func (m *SshPublicKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_SshPublicKey.Merge(m, src) -} -func (m *SshPublicKey) XXX_Size() int { - return xxx_messageInfo_SshPublicKey.Size(m) -} -func (m *SshPublicKey) XXX_DiscardUnknown() { - xxx_messageInfo_SshPublicKey.DiscardUnknown(m) -} - -var xxx_messageInfo_SshPublicKey proto.InternalMessageInfo - -func (m *SshPublicKey) GetKey() string { - if m != nil { - return m.Key - } - return "" -} - -func (m *SshPublicKey) GetExpirationTimeUsec() int64 { - if m != nil { - return m.ExpirationTimeUsec - } - return 0 -} - -func (m *SshPublicKey) GetFingerprint() string { - if m != nil { - return m.Fingerprint - } - return "" -} - -func (m *SshPublicKey) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func init() { - proto.RegisterEnum("google.cloud.oslogin.common.OperatingSystemType", OperatingSystemType_name, OperatingSystemType_value) - proto.RegisterType((*PosixAccount)(nil), "google.cloud.oslogin.common.PosixAccount") - proto.RegisterType((*SshPublicKey)(nil), "google.cloud.oslogin.common.SshPublicKey") -} - -func init() { - proto.RegisterFile("google/cloud/oslogin/common/common.proto", fileDescriptor_7fa58776520b3f24) -} - -var fileDescriptor_7fa58776520b3f24 = []byte{ - // 614 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x53, 0xcf, 0x4e, 0xdc, 0x3e, - 0x10, 0xfe, 0x85, 0xf0, 0x6f, 0x0d, 0x3f, 0xb4, 0x32, 0x54, 0x4d, 0xe1, 0xc0, 0x96, 0x0a, 0x69, - 0xd5, 0x43, 0x82, 0xda, 0x5b, 0x7b, 0x5a, 0x60, 0x41, 0x51, 0xe9, 0xee, 0x2a, 0xbb, 0x88, 0x52, - 0x21, 0x45, 0xc1, 0x19, 0xbc, 0x6e, 0x93, 0x38, 0xb2, 0x93, 0x8a, 0x15, 0xe2, 0x85, 0x7a, 0xe8, - 0x63, 0xf4, 0xd0, 0xa7, 0xe8, 0xa9, 0x07, 0x9e, 0xa2, 0xb2, 0x9d, 0xc0, 0xd2, 0x52, 0x4e, 0xf6, - 0x7c, 0xdf, 0x78, 0x66, 0xbe, 0xf9, 0x64, 0xd4, 0xa6, 0x9c, 0xd3, 0x04, 0x3c, 0x92, 0xf0, 0x32, - 0xf6, 0xb8, 0x4c, 0x38, 0x65, 0x99, 0x47, 0x78, 0x9a, 0xf2, 0xfa, 0x70, 0x73, 0xc1, 0x0b, 0x8e, - 0x37, 0x4c, 0xa6, 0xab, 0x33, 0xdd, 0x2a, 0xd3, 0x35, 0x29, 0xeb, 0x9b, 0x55, 0x99, 0x28, 0x67, - 0xde, 0x05, 0x83, 0x24, 0x0e, 0xcf, 0x61, 0x1c, 0x7d, 0x61, 0x5c, 0x98, 0xd7, 0xeb, 0xcf, 0xa6, - 0x12, 0x04, 0x48, 0x5e, 0x0a, 0x02, 0x86, 0xda, 0xfa, 0x6e, 0xa3, 0xe5, 0x01, 0x97, 0xec, 0xb2, - 0x43, 0x08, 0x2f, 0xb3, 0x02, 0x3b, 0x68, 0x21, 0x17, 0x2c, 0x8d, 0xc4, 0xc4, 0xb1, 0x5a, 0x56, - 0x7b, 0x31, 0xa8, 0x43, 0xbc, 0x8e, 0x16, 0x4b, 0x09, 0x22, 0x8b, 0x52, 0x70, 0x66, 0x5a, 0x56, - 0xbb, 0x11, 0xdc, 0xc6, 0xb8, 0x89, 0xec, 0x92, 0xc5, 0x8e, 0xdd, 0xb2, 0xda, 0x76, 0xa0, 0xae, - 0x0a, 0xa1, 0x2c, 0x76, 0x66, 0x0d, 0x42, 0x59, 0x8c, 0xb7, 0xd1, 0xca, 0x98, 0xa7, 0x10, 0xc6, - 0x4c, 0x00, 0x29, 0xb8, 0x98, 0x38, 0x73, 0xba, 0xca, 0xff, 0x0a, 0xdd, 0xaf, 0x41, 0xbc, 0x86, - 0xe6, 0xe4, 0x18, 0x92, 0xc4, 0x99, 0xd7, 0xac, 0x09, 0x14, 0x4a, 0x81, 0x70, 0xe9, 0x2c, 0x18, - 0x54, 0x07, 0x78, 0x03, 0x35, 0xe4, 0x44, 0x16, 0x90, 0x86, 0x2c, 0x76, 0x16, 0xcd, 0x4c, 0x06, - 0xf0, 0x63, 0xbc, 0x85, 0x50, 0x64, 0x44, 0x29, 0xb6, 0xa1, 0xd8, 0x5d, 0xfb, 0x67, 0xc7, 0x0e, - 0x1a, 0x15, 0xec, 0xc7, 0x38, 0x46, 0x4f, 0x78, 0x0e, 0x22, 0x2a, 0x58, 0x46, 0xc3, 0xaa, 0x54, - 0x31, 0xc9, 0xc1, 0x41, 0x2d, 0xab, 0xbd, 0xf2, 0x6a, 0xc7, 0x7d, 0x64, 0xef, 0x6e, 0xbf, 0x7e, - 0x39, 0xd4, 0x0f, 0x47, 0x93, 0x1c, 0x82, 0x55, 0xfe, 0x37, 0x88, 0x9f, 0xa2, 0x59, 0xbd, 0xb5, - 0xa5, 0xbb, 0x19, 0x34, 0xf0, 0xc6, 0xbf, 0xe9, 0x1c, 0xa0, 0x17, 0x75, 0x59, 0xd3, 0x2b, 0xca, - 0x99, 0x54, 0x1d, 0xbc, 0x7b, 0xb6, 0x6c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0x72, 0x5f, 0x1e, 0xa9, - 0x78, 0xa0, 0x7e, 0xce, 0xc7, 0x4e, 0x95, 0x4a, 0x79, 0x12, 0x65, 0xd4, 0xe5, 0x82, 0x7a, 0x14, - 0x32, 0xfd, 0xab, 0xbc, 0x3b, 0xa5, 0x0f, 0xfe, 0xed, 0xb7, 0xe6, 0xf8, 0x3a, 0xb3, 0x71, 0x68, - 0x6a, 0xec, 0xe9, 0x76, 0x55, 0x79, 0x77, 0x4f, 0xb3, 0x3f, 0x6a, 0xf6, 0x4c, 0xb3, 0x67, 0x15, - 0x7b, 0x66, 0xd8, 0xf3, 0x79, 0xdd, 0xe9, 0xf5, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc3, 0xf7, - 0x3e, 0x16, 0x44, 0x04, 0x00, 0x00, -} 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 deleted file mode 100644 index 028bec3a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/oslogin/v1/oslogin.pb.go +++ /dev/null @@ -1,810 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/oslogin/v1/oslogin.proto - -package oslogin - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - common "google.golang.org/genproto/googleapis/cloud/oslogin/common" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The user profile information used for logging in to a virtual machine on -// Google Compute Engine. -type LoginProfile struct { - // Required. A unique user ID. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The list of POSIX accounts associated with the user. - PosixAccounts []*common.PosixAccount `protobuf:"bytes,2,rep,name=posix_accounts,json=posixAccounts,proto3" json:"posix_accounts,omitempty"` - // A map from SSH public key fingerprint to the associated key object. - SshPublicKeys map[string]*common.SshPublicKey `protobuf:"bytes,3,rep,name=ssh_public_keys,json=sshPublicKeys,proto3" json:"ssh_public_keys,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Indicates if the user is suspended. A suspended user cannot log in but - // their profile information is retained. - Suspended bool `protobuf:"varint,4,opt,name=suspended,proto3" json:"suspended,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_4485a75683c132f1, []int{0} -} - -func (m *LoginProfile) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LoginProfile.Unmarshal(m, b) -} -func (m *LoginProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LoginProfile.Marshal(b, m, deterministic) -} -func (m *LoginProfile) XXX_Merge(src proto.Message) { - xxx_messageInfo_LoginProfile.Merge(m, src) -} -func (m *LoginProfile) XXX_Size() int { - return xxx_messageInfo_LoginProfile.Size(m) -} -func (m *LoginProfile) XXX_DiscardUnknown() { - xxx_messageInfo_LoginProfile.DiscardUnknown(m) -} - -var xxx_messageInfo_LoginProfile proto.InternalMessageInfo - -func (m *LoginProfile) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *LoginProfile) GetPosixAccounts() []*common.PosixAccount { - if m != nil { - return m.PosixAccounts - } - return nil -} - -func (m *LoginProfile) GetSshPublicKeys() map[string]*common.SshPublicKey { - if m != nil { - return m.SshPublicKeys - } - return nil -} - -func (m *LoginProfile) GetSuspended() bool { - if m != nil { - return m.Suspended - } - return false -} - -// A request message for deleting a POSIX account entry. -type DeletePosixAccountRequest struct { - // Required. A reference to the POSIX account to update. POSIX accounts are identified - // by the project ID they are associated with. A reference to the POSIX - // account is in format `users/{user}/projects/{project}`. - 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 *DeletePosixAccountRequest) Reset() { *m = DeletePosixAccountRequest{} } -func (m *DeletePosixAccountRequest) String() string { return proto.CompactTextString(m) } -func (*DeletePosixAccountRequest) ProtoMessage() {} -func (*DeletePosixAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4485a75683c132f1, []int{1} -} - -func (m *DeletePosixAccountRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeletePosixAccountRequest.Unmarshal(m, b) -} -func (m *DeletePosixAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeletePosixAccountRequest.Marshal(b, m, deterministic) -} -func (m *DeletePosixAccountRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeletePosixAccountRequest.Merge(m, src) -} -func (m *DeletePosixAccountRequest) XXX_Size() int { - return xxx_messageInfo_DeletePosixAccountRequest.Size(m) -} -func (m *DeletePosixAccountRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeletePosixAccountRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeletePosixAccountRequest proto.InternalMessageInfo - -func (m *DeletePosixAccountRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// A request message for deleting an SSH public key. -type DeleteSshPublicKeyRequest struct { - // Required. The fingerprint of the public key to update. Public keys are identified by - // their SHA-256 fingerprint. The fingerprint of the public key is in format - // `users/{user}/sshPublicKeys/{fingerprint}`. - 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 *DeleteSshPublicKeyRequest) Reset() { *m = DeleteSshPublicKeyRequest{} } -func (m *DeleteSshPublicKeyRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteSshPublicKeyRequest) ProtoMessage() {} -func (*DeleteSshPublicKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4485a75683c132f1, []int{2} -} - -func (m *DeleteSshPublicKeyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteSshPublicKeyRequest.Unmarshal(m, b) -} -func (m *DeleteSshPublicKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteSshPublicKeyRequest.Marshal(b, m, deterministic) -} -func (m *DeleteSshPublicKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteSshPublicKeyRequest.Merge(m, src) -} -func (m *DeleteSshPublicKeyRequest) XXX_Size() int { - return xxx_messageInfo_DeleteSshPublicKeyRequest.Size(m) -} -func (m *DeleteSshPublicKeyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteSshPublicKeyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteSshPublicKeyRequest proto.InternalMessageInfo - -func (m *DeleteSshPublicKeyRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// A request message for retrieving the login profile information for a user. -type GetLoginProfileRequest struct { - // Required. The unique ID for the user in format `users/{user}`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The project ID of the Google Cloud Platform project. - ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // A system ID for filtering the results of the request. - SystemId string `protobuf:"bytes,3,opt,name=system_id,json=systemId,proto3" json:"system_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_4485a75683c132f1, []int{3} -} - -func (m *GetLoginProfileRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetLoginProfileRequest.Unmarshal(m, b) -} -func (m *GetLoginProfileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetLoginProfileRequest.Marshal(b, m, deterministic) -} -func (m *GetLoginProfileRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetLoginProfileRequest.Merge(m, src) -} -func (m *GetLoginProfileRequest) XXX_Size() int { - return xxx_messageInfo_GetLoginProfileRequest.Size(m) -} -func (m *GetLoginProfileRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetLoginProfileRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetLoginProfileRequest proto.InternalMessageInfo - -func (m *GetLoginProfileRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *GetLoginProfileRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *GetLoginProfileRequest) GetSystemId() string { - if m != nil { - return m.SystemId - } - return "" -} - -// A request message for retrieving an SSH public key. -type GetSshPublicKeyRequest struct { - // The fingerprint of the public key to retrieve. Public keys are identified - // by their SHA-256 fingerprint. The fingerprint of the public key is in - // format `users/{user}/sshPublicKeys/{fingerprint}`. - 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 *GetSshPublicKeyRequest) Reset() { *m = GetSshPublicKeyRequest{} } -func (m *GetSshPublicKeyRequest) String() string { return proto.CompactTextString(m) } -func (*GetSshPublicKeyRequest) ProtoMessage() {} -func (*GetSshPublicKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4485a75683c132f1, []int{4} -} - -func (m *GetSshPublicKeyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetSshPublicKeyRequest.Unmarshal(m, b) -} -func (m *GetSshPublicKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetSshPublicKeyRequest.Marshal(b, m, deterministic) -} -func (m *GetSshPublicKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetSshPublicKeyRequest.Merge(m, src) -} -func (m *GetSshPublicKeyRequest) XXX_Size() int { - return xxx_messageInfo_GetSshPublicKeyRequest.Size(m) -} -func (m *GetSshPublicKeyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetSshPublicKeyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetSshPublicKeyRequest proto.InternalMessageInfo - -func (m *GetSshPublicKeyRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// A request message for importing an SSH public key. -type ImportSshPublicKeyRequest struct { - // Required. The unique ID for the user in format `users/{user}`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. The SSH public key and expiration time. - SshPublicKey *common.SshPublicKey `protobuf:"bytes,2,opt,name=ssh_public_key,json=sshPublicKey,proto3" json:"ssh_public_key,omitempty"` - // The project ID of the Google Cloud Platform project. - ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ImportSshPublicKeyRequest) Reset() { *m = ImportSshPublicKeyRequest{} } -func (m *ImportSshPublicKeyRequest) String() string { return proto.CompactTextString(m) } -func (*ImportSshPublicKeyRequest) ProtoMessage() {} -func (*ImportSshPublicKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4485a75683c132f1, []int{5} -} - -func (m *ImportSshPublicKeyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImportSshPublicKeyRequest.Unmarshal(m, b) -} -func (m *ImportSshPublicKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImportSshPublicKeyRequest.Marshal(b, m, deterministic) -} -func (m *ImportSshPublicKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportSshPublicKeyRequest.Merge(m, src) -} -func (m *ImportSshPublicKeyRequest) XXX_Size() int { - return xxx_messageInfo_ImportSshPublicKeyRequest.Size(m) -} -func (m *ImportSshPublicKeyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ImportSshPublicKeyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ImportSshPublicKeyRequest proto.InternalMessageInfo - -func (m *ImportSshPublicKeyRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ImportSshPublicKeyRequest) GetSshPublicKey() *common.SshPublicKey { - if m != nil { - return m.SshPublicKey - } - return nil -} - -func (m *ImportSshPublicKeyRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// A response message for importing an SSH public key. -type ImportSshPublicKeyResponse struct { - // The login profile information for the user. - LoginProfile *LoginProfile `protobuf:"bytes,1,opt,name=login_profile,json=loginProfile,proto3" json:"login_profile,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ImportSshPublicKeyResponse) Reset() { *m = ImportSshPublicKeyResponse{} } -func (m *ImportSshPublicKeyResponse) String() string { return proto.CompactTextString(m) } -func (*ImportSshPublicKeyResponse) ProtoMessage() {} -func (*ImportSshPublicKeyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4485a75683c132f1, []int{6} -} - -func (m *ImportSshPublicKeyResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImportSshPublicKeyResponse.Unmarshal(m, b) -} -func (m *ImportSshPublicKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImportSshPublicKeyResponse.Marshal(b, m, deterministic) -} -func (m *ImportSshPublicKeyResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportSshPublicKeyResponse.Merge(m, src) -} -func (m *ImportSshPublicKeyResponse) XXX_Size() int { - return xxx_messageInfo_ImportSshPublicKeyResponse.Size(m) -} -func (m *ImportSshPublicKeyResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ImportSshPublicKeyResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ImportSshPublicKeyResponse proto.InternalMessageInfo - -func (m *ImportSshPublicKeyResponse) GetLoginProfile() *LoginProfile { - if m != nil { - return m.LoginProfile - } - return nil -} - -// A request message for updating an SSH public key. -type UpdateSshPublicKeyRequest struct { - // Required. The fingerprint of the public key to update. Public keys are identified by - // their SHA-256 fingerprint. The fingerprint of the public key is in format - // `users/{user}/sshPublicKeys/{fingerprint}`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The SSH public key and expiration time. - SshPublicKey *common.SshPublicKey `protobuf:"bytes,2,opt,name=ssh_public_key,json=sshPublicKey,proto3" json:"ssh_public_key,omitempty"` - // Mask to control which fields get updated. Updates all if not present. - 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 *UpdateSshPublicKeyRequest) Reset() { *m = UpdateSshPublicKeyRequest{} } -func (m *UpdateSshPublicKeyRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateSshPublicKeyRequest) ProtoMessage() {} -func (*UpdateSshPublicKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4485a75683c132f1, []int{7} -} - -func (m *UpdateSshPublicKeyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateSshPublicKeyRequest.Unmarshal(m, b) -} -func (m *UpdateSshPublicKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateSshPublicKeyRequest.Marshal(b, m, deterministic) -} -func (m *UpdateSshPublicKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateSshPublicKeyRequest.Merge(m, src) -} -func (m *UpdateSshPublicKeyRequest) XXX_Size() int { - return xxx_messageInfo_UpdateSshPublicKeyRequest.Size(m) -} -func (m *UpdateSshPublicKeyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateSshPublicKeyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateSshPublicKeyRequest proto.InternalMessageInfo - -func (m *UpdateSshPublicKeyRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *UpdateSshPublicKeyRequest) GetSshPublicKey() *common.SshPublicKey { - if m != nil { - return m.SshPublicKey - } - return nil -} - -func (m *UpdateSshPublicKeyRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -func init() { - proto.RegisterType((*LoginProfile)(nil), "google.cloud.oslogin.v1.LoginProfile") - proto.RegisterMapType((map[string]*common.SshPublicKey)(nil), "google.cloud.oslogin.v1.LoginProfile.SshPublicKeysEntry") - proto.RegisterType((*DeletePosixAccountRequest)(nil), "google.cloud.oslogin.v1.DeletePosixAccountRequest") - proto.RegisterType((*DeleteSshPublicKeyRequest)(nil), "google.cloud.oslogin.v1.DeleteSshPublicKeyRequest") - proto.RegisterType((*GetLoginProfileRequest)(nil), "google.cloud.oslogin.v1.GetLoginProfileRequest") - proto.RegisterType((*GetSshPublicKeyRequest)(nil), "google.cloud.oslogin.v1.GetSshPublicKeyRequest") - proto.RegisterType((*ImportSshPublicKeyRequest)(nil), "google.cloud.oslogin.v1.ImportSshPublicKeyRequest") - proto.RegisterType((*ImportSshPublicKeyResponse)(nil), "google.cloud.oslogin.v1.ImportSshPublicKeyResponse") - proto.RegisterType((*UpdateSshPublicKeyRequest)(nil), "google.cloud.oslogin.v1.UpdateSshPublicKeyRequest") -} - -func init() { - proto.RegisterFile("google/cloud/oslogin/v1/oslogin.proto", fileDescriptor_4485a75683c132f1) -} - -var fileDescriptor_4485a75683c132f1 = []byte{ - // 968 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0xcf, 0x6f, 0xe3, 0x44, - 0x14, 0x96, 0x9d, 0x65, 0xb5, 0x99, 0xfe, 0x58, 0x34, 0x88, 0x36, 0x75, 0x77, 0xd5, 0x60, 0xa8, - 0x28, 0x25, 0xd8, 0x4a, 0x96, 0xc3, 0xd2, 0x15, 0xac, 0xdc, 0x65, 0x59, 0x95, 0x1f, 0x22, 0xf2, - 0x42, 0x0f, 0xa8, 0x52, 0x70, 0x9d, 0x69, 0x62, 0x62, 0x7b, 0x06, 0xcf, 0x38, 0x25, 0xa0, 0xbd, - 0xf0, 0x07, 0x70, 0x59, 0x71, 0xe0, 0x06, 0x57, 0xfe, 0x94, 0x3d, 0x21, 0x10, 0x97, 0x9e, 0xf6, - 0x80, 0xe0, 0xc8, 0x19, 0x4e, 0xc8, 0x33, 0x93, 0x76, 0xfc, 0x23, 0x6d, 0x8a, 0xe0, 0xd4, 0xf1, - 0xbc, 0xf7, 0xbe, 0xf9, 0xde, 0xf7, 0x66, 0xbe, 0x06, 0x6c, 0x0e, 0x30, 0x1e, 0x84, 0xc8, 0xf6, - 0x43, 0x9c, 0xf6, 0x6d, 0x4c, 0x43, 0x3c, 0x08, 0x62, 0x7b, 0xdc, 0x9e, 0x2e, 0x2d, 0x92, 0x60, - 0x86, 0xe1, 0xaa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0x5c, 0x34, 0x4f, 0x2f, 0x65, - 0x43, 0xf1, 0xdb, 0xf0, 0x35, 0x12, 0x7a, 0xec, 0x08, 0x27, 0x51, 0xeb, 0xc2, 0x74, 0x1c, 0x91, - 0x94, 0xa1, 0xdd, 0x1f, 0x34, 0xb0, 0xee, 0xe3, 0x68, 0x96, 0x98, 0xbb, 0x8b, 0xd2, 0xef, 0xba, - 0x99, 0x05, 0x74, 0xb5, 0x4f, 0xde, 0x92, 0x89, 0x03, 0x1c, 0x7a, 0xf1, 0xc0, 0xc2, 0xc9, 0xc0, - 0x1e, 0xa0, 0x98, 0x1b, 0x84, 0x7d, 0x76, 0x4e, 0xe9, 0xc7, 0xf5, 0x1d, 0xb9, 0xfc, 0x51, 0x5f, - 0x7d, 0x20, 0x00, 0xee, 0xf1, 0x93, 0x24, 0xba, 0xb5, 0xdf, 0x7e, 0x32, 0x8d, 0x1c, 0xf0, 0xc8, - 0x81, 0x8c, 0x1c, 0xec, 0xb7, 0x0f, 0xaf, 0x72, 0xf8, 0x5b, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, - 0x42, 0x0f, 0x03, 0xee, 0xba, 0x0b, 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 - -// OsLoginServiceClient is the client API for OsLoginService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type OsLoginServiceClient interface { - // Deletes a POSIX account. - DeletePosixAccount(ctx context.Context, in *DeletePosixAccountRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Deletes an SSH public key. - DeleteSshPublicKey(ctx context.Context, in *DeleteSshPublicKeyRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Retrieves the profile information used for logging in to a virtual machine - // on Google Compute Engine. - GetLoginProfile(ctx context.Context, in *GetLoginProfileRequest, opts ...grpc.CallOption) (*LoginProfile, error) - // Retrieves an SSH public key. - GetSshPublicKey(ctx context.Context, in *GetSshPublicKeyRequest, opts ...grpc.CallOption) (*common.SshPublicKey, error) - // Adds an SSH public key and returns the profile information. Default POSIX - // account information is set when no username and UID exist as part of the - // login profile. - ImportSshPublicKey(ctx context.Context, in *ImportSshPublicKeyRequest, opts ...grpc.CallOption) (*ImportSshPublicKeyResponse, error) - // Updates an SSH public key and returns the profile information. This method - // supports patch semantics. - UpdateSshPublicKey(ctx context.Context, in *UpdateSshPublicKeyRequest, opts ...grpc.CallOption) (*common.SshPublicKey, error) -} - -type osLoginServiceClient struct { - cc *grpc.ClientConn -} - -func NewOsLoginServiceClient(cc *grpc.ClientConn) OsLoginServiceClient { - return &osLoginServiceClient{cc} -} - -func (c *osLoginServiceClient) DeletePosixAccount(ctx context.Context, in *DeletePosixAccountRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.oslogin.v1.OsLoginService/DeletePosixAccount", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *osLoginServiceClient) DeleteSshPublicKey(ctx context.Context, in *DeleteSshPublicKeyRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.oslogin.v1.OsLoginService/DeleteSshPublicKey", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *osLoginServiceClient) GetLoginProfile(ctx context.Context, in *GetLoginProfileRequest, opts ...grpc.CallOption) (*LoginProfile, error) { - out := new(LoginProfile) - err := c.cc.Invoke(ctx, "/google.cloud.oslogin.v1.OsLoginService/GetLoginProfile", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *osLoginServiceClient) GetSshPublicKey(ctx context.Context, in *GetSshPublicKeyRequest, opts ...grpc.CallOption) (*common.SshPublicKey, error) { - out := new(common.SshPublicKey) - err := c.cc.Invoke(ctx, "/google.cloud.oslogin.v1.OsLoginService/GetSshPublicKey", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *osLoginServiceClient) ImportSshPublicKey(ctx context.Context, in *ImportSshPublicKeyRequest, opts ...grpc.CallOption) (*ImportSshPublicKeyResponse, error) { - out := new(ImportSshPublicKeyResponse) - err := c.cc.Invoke(ctx, "/google.cloud.oslogin.v1.OsLoginService/ImportSshPublicKey", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *osLoginServiceClient) UpdateSshPublicKey(ctx context.Context, in *UpdateSshPublicKeyRequest, opts ...grpc.CallOption) (*common.SshPublicKey, error) { - out := new(common.SshPublicKey) - err := c.cc.Invoke(ctx, "/google.cloud.oslogin.v1.OsLoginService/UpdateSshPublicKey", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// OsLoginServiceServer is the server API for OsLoginService service. -type OsLoginServiceServer interface { - // Deletes a POSIX account. - DeletePosixAccount(context.Context, *DeletePosixAccountRequest) (*empty.Empty, error) - // Deletes an SSH public key. - DeleteSshPublicKey(context.Context, *DeleteSshPublicKeyRequest) (*empty.Empty, error) - // Retrieves the profile information used for logging in to a virtual machine - // on Google Compute Engine. - GetLoginProfile(context.Context, *GetLoginProfileRequest) (*LoginProfile, error) - // Retrieves an SSH public key. - GetSshPublicKey(context.Context, *GetSshPublicKeyRequest) (*common.SshPublicKey, error) - // Adds an SSH public key and returns the profile information. Default POSIX - // account information is set when no username and UID exist as part of the - // login profile. - ImportSshPublicKey(context.Context, *ImportSshPublicKeyRequest) (*ImportSshPublicKeyResponse, error) - // Updates an SSH public key and returns the profile information. This method - // supports patch semantics. - UpdateSshPublicKey(context.Context, *UpdateSshPublicKeyRequest) (*common.SshPublicKey, error) -} - -// UnimplementedOsLoginServiceServer can be embedded to have forward compatible implementations. -type UnimplementedOsLoginServiceServer struct { -} - -func (*UnimplementedOsLoginServiceServer) DeletePosixAccount(ctx context.Context, req *DeletePosixAccountRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeletePosixAccount not implemented") -} -func (*UnimplementedOsLoginServiceServer) DeleteSshPublicKey(ctx context.Context, req *DeleteSshPublicKeyRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteSshPublicKey not implemented") -} -func (*UnimplementedOsLoginServiceServer) GetLoginProfile(ctx context.Context, req *GetLoginProfileRequest) (*LoginProfile, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetLoginProfile not implemented") -} -func (*UnimplementedOsLoginServiceServer) GetSshPublicKey(ctx context.Context, req *GetSshPublicKeyRequest) (*common.SshPublicKey, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetSshPublicKey not implemented") -} -func (*UnimplementedOsLoginServiceServer) ImportSshPublicKey(ctx context.Context, req *ImportSshPublicKeyRequest) (*ImportSshPublicKeyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ImportSshPublicKey not implemented") -} -func (*UnimplementedOsLoginServiceServer) UpdateSshPublicKey(ctx context.Context, req *UpdateSshPublicKeyRequest) (*common.SshPublicKey, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateSshPublicKey not implemented") -} - -func RegisterOsLoginServiceServer(s *grpc.Server, srv OsLoginServiceServer) { - s.RegisterService(&_OsLoginService_serviceDesc, srv) -} - -func _OsLoginService_DeletePosixAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeletePosixAccountRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OsLoginServiceServer).DeletePosixAccount(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.oslogin.v1.OsLoginService/DeletePosixAccount", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OsLoginServiceServer).DeletePosixAccount(ctx, req.(*DeletePosixAccountRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OsLoginService_DeleteSshPublicKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteSshPublicKeyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OsLoginServiceServer).DeleteSshPublicKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.oslogin.v1.OsLoginService/DeleteSshPublicKey", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OsLoginServiceServer).DeleteSshPublicKey(ctx, req.(*DeleteSshPublicKeyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OsLoginService_GetLoginProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetLoginProfileRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OsLoginServiceServer).GetLoginProfile(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.oslogin.v1.OsLoginService/GetLoginProfile", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OsLoginServiceServer).GetLoginProfile(ctx, req.(*GetLoginProfileRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OsLoginService_GetSshPublicKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetSshPublicKeyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OsLoginServiceServer).GetSshPublicKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.oslogin.v1.OsLoginService/GetSshPublicKey", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OsLoginServiceServer).GetSshPublicKey(ctx, req.(*GetSshPublicKeyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OsLoginService_ImportSshPublicKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ImportSshPublicKeyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OsLoginServiceServer).ImportSshPublicKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.oslogin.v1.OsLoginService/ImportSshPublicKey", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OsLoginServiceServer).ImportSshPublicKey(ctx, req.(*ImportSshPublicKeyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OsLoginService_UpdateSshPublicKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateSshPublicKeyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OsLoginServiceServer).UpdateSshPublicKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.oslogin.v1.OsLoginService/UpdateSshPublicKey", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OsLoginServiceServer).UpdateSshPublicKey(ctx, req.(*UpdateSshPublicKeyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _OsLoginService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.oslogin.v1.OsLoginService", - HandlerType: (*OsLoginServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "DeletePosixAccount", - Handler: _OsLoginService_DeletePosixAccount_Handler, - }, - { - MethodName: "DeleteSshPublicKey", - Handler: _OsLoginService_DeleteSshPublicKey_Handler, - }, - { - MethodName: "GetLoginProfile", - Handler: _OsLoginService_GetLoginProfile_Handler, - }, - { - MethodName: "GetSshPublicKey", - Handler: _OsLoginService_GetSshPublicKey_Handler, - }, - { - MethodName: "ImportSshPublicKey", - Handler: _OsLoginService_ImportSshPublicKey_Handler, - }, - { - MethodName: "UpdateSshPublicKey", - Handler: _OsLoginService_UpdateSshPublicKey_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/oslogin/v1/oslogin.proto", -} 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 deleted file mode 100644 index ace74016..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/oslogin/v1alpha/oslogin.pb.go +++ /dev/null @@ -1,779 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/oslogin/v1alpha/oslogin.proto - -package oslogin - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - common "google.golang.org/genproto/googleapis/cloud/oslogin/common" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The user profile information used for logging in to a virtual machine on -// Google Compute Engine. -type LoginProfile struct { - // A unique user ID for identifying the user. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The list of POSIX accounts associated with the Directory API user. - PosixAccounts []*common.PosixAccount `protobuf:"bytes,2,rep,name=posix_accounts,json=posixAccounts,proto3" json:"posix_accounts,omitempty"` - // A map from SSH public key fingerprint to the associated key object. - SshPublicKeys map[string]*common.SshPublicKey `protobuf:"bytes,3,rep,name=ssh_public_keys,json=sshPublicKeys,proto3" json:"ssh_public_keys,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Indicates if the user is suspended. - Suspended bool `protobuf:"varint,4,opt,name=suspended,proto3" json:"suspended,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9929680849ee8c07, []int{0} -} - -func (m *LoginProfile) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LoginProfile.Unmarshal(m, b) -} -func (m *LoginProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LoginProfile.Marshal(b, m, deterministic) -} -func (m *LoginProfile) XXX_Merge(src proto.Message) { - xxx_messageInfo_LoginProfile.Merge(m, src) -} -func (m *LoginProfile) XXX_Size() int { - return xxx_messageInfo_LoginProfile.Size(m) -} -func (m *LoginProfile) XXX_DiscardUnknown() { - xxx_messageInfo_LoginProfile.DiscardUnknown(m) -} - -var xxx_messageInfo_LoginProfile proto.InternalMessageInfo - -func (m *LoginProfile) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *LoginProfile) GetPosixAccounts() []*common.PosixAccount { - if m != nil { - return m.PosixAccounts - } - return nil -} - -func (m *LoginProfile) GetSshPublicKeys() map[string]*common.SshPublicKey { - if m != nil { - return m.SshPublicKeys - } - return nil -} - -func (m *LoginProfile) GetSuspended() bool { - if m != nil { - return m.Suspended - } - return false -} - -// A request message for deleting a POSIX account entry. -type DeletePosixAccountRequest struct { - // A reference to the POSIX account to update. POSIX accounts are identified - // by the project ID they are associated with. A reference to the POSIX - // account is in format `users/{user}/projects/{project}`. - 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 *DeletePosixAccountRequest) Reset() { *m = DeletePosixAccountRequest{} } -func (m *DeletePosixAccountRequest) String() string { return proto.CompactTextString(m) } -func (*DeletePosixAccountRequest) ProtoMessage() {} -func (*DeletePosixAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9929680849ee8c07, []int{1} -} - -func (m *DeletePosixAccountRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeletePosixAccountRequest.Unmarshal(m, b) -} -func (m *DeletePosixAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeletePosixAccountRequest.Marshal(b, m, deterministic) -} -func (m *DeletePosixAccountRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeletePosixAccountRequest.Merge(m, src) -} -func (m *DeletePosixAccountRequest) XXX_Size() int { - return xxx_messageInfo_DeletePosixAccountRequest.Size(m) -} -func (m *DeletePosixAccountRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeletePosixAccountRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeletePosixAccountRequest proto.InternalMessageInfo - -func (m *DeletePosixAccountRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// A request message for deleting an SSH public key. -type DeleteSshPublicKeyRequest struct { - // The fingerprint of the public key to update. Public keys are identified by - // their SHA-256 fingerprint. The fingerprint of the public key is in format - // `users/{user}/sshPublicKeys/{fingerprint}`. - 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 *DeleteSshPublicKeyRequest) Reset() { *m = DeleteSshPublicKeyRequest{} } -func (m *DeleteSshPublicKeyRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteSshPublicKeyRequest) ProtoMessage() {} -func (*DeleteSshPublicKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9929680849ee8c07, []int{2} -} - -func (m *DeleteSshPublicKeyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteSshPublicKeyRequest.Unmarshal(m, b) -} -func (m *DeleteSshPublicKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteSshPublicKeyRequest.Marshal(b, m, deterministic) -} -func (m *DeleteSshPublicKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteSshPublicKeyRequest.Merge(m, src) -} -func (m *DeleteSshPublicKeyRequest) XXX_Size() int { - return xxx_messageInfo_DeleteSshPublicKeyRequest.Size(m) -} -func (m *DeleteSshPublicKeyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteSshPublicKeyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteSshPublicKeyRequest proto.InternalMessageInfo - -func (m *DeleteSshPublicKeyRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// A request message for retrieving the login profile information for a user. -type GetLoginProfileRequest struct { - // The unique ID for the user in format `users/{user}`. - 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 *GetLoginProfileRequest) Reset() { *m = GetLoginProfileRequest{} } -func (m *GetLoginProfileRequest) String() string { return proto.CompactTextString(m) } -func (*GetLoginProfileRequest) ProtoMessage() {} -func (*GetLoginProfileRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9929680849ee8c07, []int{3} -} - -func (m *GetLoginProfileRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetLoginProfileRequest.Unmarshal(m, b) -} -func (m *GetLoginProfileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetLoginProfileRequest.Marshal(b, m, deterministic) -} -func (m *GetLoginProfileRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetLoginProfileRequest.Merge(m, src) -} -func (m *GetLoginProfileRequest) XXX_Size() int { - return xxx_messageInfo_GetLoginProfileRequest.Size(m) -} -func (m *GetLoginProfileRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetLoginProfileRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetLoginProfileRequest proto.InternalMessageInfo - -func (m *GetLoginProfileRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// A request message for retrieving an SSH public key. -type GetSshPublicKeyRequest struct { - // The fingerprint of the public key to retrieve. Public keys are identified - // by their SHA-256 fingerprint. The fingerprint of the public key is in - // format `users/{user}/sshPublicKeys/{fingerprint}`. - 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 *GetSshPublicKeyRequest) Reset() { *m = GetSshPublicKeyRequest{} } -func (m *GetSshPublicKeyRequest) String() string { return proto.CompactTextString(m) } -func (*GetSshPublicKeyRequest) ProtoMessage() {} -func (*GetSshPublicKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9929680849ee8c07, []int{4} -} - -func (m *GetSshPublicKeyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetSshPublicKeyRequest.Unmarshal(m, b) -} -func (m *GetSshPublicKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetSshPublicKeyRequest.Marshal(b, m, deterministic) -} -func (m *GetSshPublicKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetSshPublicKeyRequest.Merge(m, src) -} -func (m *GetSshPublicKeyRequest) XXX_Size() int { - return xxx_messageInfo_GetSshPublicKeyRequest.Size(m) -} -func (m *GetSshPublicKeyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetSshPublicKeyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetSshPublicKeyRequest proto.InternalMessageInfo - -func (m *GetSshPublicKeyRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// A request message for importing an SSH public key. -type ImportSshPublicKeyRequest struct { - // The unique ID for the user in format `users/{user}`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The SSH public key and expiration time. - SshPublicKey *common.SshPublicKey `protobuf:"bytes,2,opt,name=ssh_public_key,json=sshPublicKey,proto3" json:"ssh_public_key,omitempty"` - // The project ID of the Google Cloud Platform project. - ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ImportSshPublicKeyRequest) Reset() { *m = ImportSshPublicKeyRequest{} } -func (m *ImportSshPublicKeyRequest) String() string { return proto.CompactTextString(m) } -func (*ImportSshPublicKeyRequest) ProtoMessage() {} -func (*ImportSshPublicKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9929680849ee8c07, []int{5} -} - -func (m *ImportSshPublicKeyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImportSshPublicKeyRequest.Unmarshal(m, b) -} -func (m *ImportSshPublicKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImportSshPublicKeyRequest.Marshal(b, m, deterministic) -} -func (m *ImportSshPublicKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportSshPublicKeyRequest.Merge(m, src) -} -func (m *ImportSshPublicKeyRequest) XXX_Size() int { - return xxx_messageInfo_ImportSshPublicKeyRequest.Size(m) -} -func (m *ImportSshPublicKeyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ImportSshPublicKeyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ImportSshPublicKeyRequest proto.InternalMessageInfo - -func (m *ImportSshPublicKeyRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ImportSshPublicKeyRequest) GetSshPublicKey() *common.SshPublicKey { - if m != nil { - return m.SshPublicKey - } - return nil -} - -func (m *ImportSshPublicKeyRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// A response message for importing an SSH public key. -type ImportSshPublicKeyResponse struct { - // The login profile information for the user. - LoginProfile *LoginProfile `protobuf:"bytes,1,opt,name=login_profile,json=loginProfile,proto3" json:"login_profile,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ImportSshPublicKeyResponse) Reset() { *m = ImportSshPublicKeyResponse{} } -func (m *ImportSshPublicKeyResponse) String() string { return proto.CompactTextString(m) } -func (*ImportSshPublicKeyResponse) ProtoMessage() {} -func (*ImportSshPublicKeyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9929680849ee8c07, []int{6} -} - -func (m *ImportSshPublicKeyResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImportSshPublicKeyResponse.Unmarshal(m, b) -} -func (m *ImportSshPublicKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImportSshPublicKeyResponse.Marshal(b, m, deterministic) -} -func (m *ImportSshPublicKeyResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportSshPublicKeyResponse.Merge(m, src) -} -func (m *ImportSshPublicKeyResponse) XXX_Size() int { - return xxx_messageInfo_ImportSshPublicKeyResponse.Size(m) -} -func (m *ImportSshPublicKeyResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ImportSshPublicKeyResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ImportSshPublicKeyResponse proto.InternalMessageInfo - -func (m *ImportSshPublicKeyResponse) GetLoginProfile() *LoginProfile { - if m != nil { - return m.LoginProfile - } - return nil -} - -// A request message for updating an SSH public key. -type UpdateSshPublicKeyRequest struct { - // The fingerprint of the public key to update. Public keys are identified by - // their SHA-256 fingerprint. The fingerprint of the public key is in format - // `users/{user}/sshPublicKeys/{fingerprint}`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The SSH public key and expiration time. - SshPublicKey *common.SshPublicKey `protobuf:"bytes,2,opt,name=ssh_public_key,json=sshPublicKey,proto3" json:"ssh_public_key,omitempty"` - // Mask to control which fields get updated. Updates all if not present. - 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 *UpdateSshPublicKeyRequest) Reset() { *m = UpdateSshPublicKeyRequest{} } -func (m *UpdateSshPublicKeyRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateSshPublicKeyRequest) ProtoMessage() {} -func (*UpdateSshPublicKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9929680849ee8c07, []int{7} -} - -func (m *UpdateSshPublicKeyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateSshPublicKeyRequest.Unmarshal(m, b) -} -func (m *UpdateSshPublicKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateSshPublicKeyRequest.Marshal(b, m, deterministic) -} -func (m *UpdateSshPublicKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateSshPublicKeyRequest.Merge(m, src) -} -func (m *UpdateSshPublicKeyRequest) XXX_Size() int { - return xxx_messageInfo_UpdateSshPublicKeyRequest.Size(m) -} -func (m *UpdateSshPublicKeyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateSshPublicKeyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateSshPublicKeyRequest proto.InternalMessageInfo - -func (m *UpdateSshPublicKeyRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *UpdateSshPublicKeyRequest) GetSshPublicKey() *common.SshPublicKey { - if m != nil { - return m.SshPublicKey - } - return nil -} - -func (m *UpdateSshPublicKeyRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -func init() { - proto.RegisterType((*LoginProfile)(nil), "google.cloud.oslogin.v1alpha.LoginProfile") - proto.RegisterMapType((map[string]*common.SshPublicKey)(nil), "google.cloud.oslogin.v1alpha.LoginProfile.SshPublicKeysEntry") - proto.RegisterType((*DeletePosixAccountRequest)(nil), "google.cloud.oslogin.v1alpha.DeletePosixAccountRequest") - proto.RegisterType((*DeleteSshPublicKeyRequest)(nil), "google.cloud.oslogin.v1alpha.DeleteSshPublicKeyRequest") - proto.RegisterType((*GetLoginProfileRequest)(nil), "google.cloud.oslogin.v1alpha.GetLoginProfileRequest") - proto.RegisterType((*GetSshPublicKeyRequest)(nil), "google.cloud.oslogin.v1alpha.GetSshPublicKeyRequest") - proto.RegisterType((*ImportSshPublicKeyRequest)(nil), "google.cloud.oslogin.v1alpha.ImportSshPublicKeyRequest") - proto.RegisterType((*ImportSshPublicKeyResponse)(nil), "google.cloud.oslogin.v1alpha.ImportSshPublicKeyResponse") - proto.RegisterType((*UpdateSshPublicKeyRequest)(nil), "google.cloud.oslogin.v1alpha.UpdateSshPublicKeyRequest") -} - -func init() { - proto.RegisterFile("google/cloud/oslogin/v1alpha/oslogin.proto", fileDescriptor_9929680849ee8c07) -} - -var fileDescriptor_9929680849ee8c07 = []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, - 0x3a, 0x26, 0x68, 0x88, 0x5b, 0x68, 0x9a, 0x90, 0x86, 0xfc, 0x35, 0x84, 0xb6, 0xc4, 0x38, 0x34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00, -} - -// 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 - -// OsLoginServiceClient is the client API for OsLoginService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type OsLoginServiceClient interface { - // Deletes a POSIX account. - DeletePosixAccount(ctx context.Context, in *DeletePosixAccountRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Deletes an SSH public key. - DeleteSshPublicKey(ctx context.Context, in *DeleteSshPublicKeyRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Retrieves the profile information used for logging in to a virtual machine - // on Google Compute Engine. - GetLoginProfile(ctx context.Context, in *GetLoginProfileRequest, opts ...grpc.CallOption) (*LoginProfile, error) - // Retrieves an SSH public key. - GetSshPublicKey(ctx context.Context, in *GetSshPublicKeyRequest, opts ...grpc.CallOption) (*common.SshPublicKey, error) - // Adds an SSH public key and returns the profile information. Default POSIX - // account information is set when no username and UID exist as part of the - // login profile. - ImportSshPublicKey(ctx context.Context, in *ImportSshPublicKeyRequest, opts ...grpc.CallOption) (*ImportSshPublicKeyResponse, error) - // Updates an SSH public key and returns the profile information. This method - // supports patch semantics. - UpdateSshPublicKey(ctx context.Context, in *UpdateSshPublicKeyRequest, opts ...grpc.CallOption) (*common.SshPublicKey, error) -} - -type osLoginServiceClient struct { - cc *grpc.ClientConn -} - -func NewOsLoginServiceClient(cc *grpc.ClientConn) OsLoginServiceClient { - return &osLoginServiceClient{cc} -} - -func (c *osLoginServiceClient) DeletePosixAccount(ctx context.Context, in *DeletePosixAccountRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.oslogin.v1alpha.OsLoginService/DeletePosixAccount", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *osLoginServiceClient) DeleteSshPublicKey(ctx context.Context, in *DeleteSshPublicKeyRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.oslogin.v1alpha.OsLoginService/DeleteSshPublicKey", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *osLoginServiceClient) GetLoginProfile(ctx context.Context, in *GetLoginProfileRequest, opts ...grpc.CallOption) (*LoginProfile, error) { - out := new(LoginProfile) - err := c.cc.Invoke(ctx, "/google.cloud.oslogin.v1alpha.OsLoginService/GetLoginProfile", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *osLoginServiceClient) GetSshPublicKey(ctx context.Context, in *GetSshPublicKeyRequest, opts ...grpc.CallOption) (*common.SshPublicKey, error) { - out := new(common.SshPublicKey) - err := c.cc.Invoke(ctx, "/google.cloud.oslogin.v1alpha.OsLoginService/GetSshPublicKey", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *osLoginServiceClient) ImportSshPublicKey(ctx context.Context, in *ImportSshPublicKeyRequest, opts ...grpc.CallOption) (*ImportSshPublicKeyResponse, error) { - out := new(ImportSshPublicKeyResponse) - err := c.cc.Invoke(ctx, "/google.cloud.oslogin.v1alpha.OsLoginService/ImportSshPublicKey", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *osLoginServiceClient) UpdateSshPublicKey(ctx context.Context, in *UpdateSshPublicKeyRequest, opts ...grpc.CallOption) (*common.SshPublicKey, error) { - out := new(common.SshPublicKey) - err := c.cc.Invoke(ctx, "/google.cloud.oslogin.v1alpha.OsLoginService/UpdateSshPublicKey", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// OsLoginServiceServer is the server API for OsLoginService service. -type OsLoginServiceServer interface { - // Deletes a POSIX account. - DeletePosixAccount(context.Context, *DeletePosixAccountRequest) (*empty.Empty, error) - // Deletes an SSH public key. - DeleteSshPublicKey(context.Context, *DeleteSshPublicKeyRequest) (*empty.Empty, error) - // Retrieves the profile information used for logging in to a virtual machine - // on Google Compute Engine. - GetLoginProfile(context.Context, *GetLoginProfileRequest) (*LoginProfile, error) - // Retrieves an SSH public key. - GetSshPublicKey(context.Context, *GetSshPublicKeyRequest) (*common.SshPublicKey, error) - // Adds an SSH public key and returns the profile information. Default POSIX - // account information is set when no username and UID exist as part of the - // login profile. - ImportSshPublicKey(context.Context, *ImportSshPublicKeyRequest) (*ImportSshPublicKeyResponse, error) - // Updates an SSH public key and returns the profile information. This method - // supports patch semantics. - UpdateSshPublicKey(context.Context, *UpdateSshPublicKeyRequest) (*common.SshPublicKey, error) -} - -// UnimplementedOsLoginServiceServer can be embedded to have forward compatible implementations. -type UnimplementedOsLoginServiceServer struct { -} - -func (*UnimplementedOsLoginServiceServer) DeletePosixAccount(ctx context.Context, req *DeletePosixAccountRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeletePosixAccount not implemented") -} -func (*UnimplementedOsLoginServiceServer) DeleteSshPublicKey(ctx context.Context, req *DeleteSshPublicKeyRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteSshPublicKey not implemented") -} -func (*UnimplementedOsLoginServiceServer) GetLoginProfile(ctx context.Context, req *GetLoginProfileRequest) (*LoginProfile, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetLoginProfile not implemented") -} -func (*UnimplementedOsLoginServiceServer) GetSshPublicKey(ctx context.Context, req *GetSshPublicKeyRequest) (*common.SshPublicKey, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetSshPublicKey not implemented") -} -func (*UnimplementedOsLoginServiceServer) ImportSshPublicKey(ctx context.Context, req *ImportSshPublicKeyRequest) (*ImportSshPublicKeyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ImportSshPublicKey not implemented") -} -func (*UnimplementedOsLoginServiceServer) UpdateSshPublicKey(ctx context.Context, req *UpdateSshPublicKeyRequest) (*common.SshPublicKey, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateSshPublicKey not implemented") -} - -func RegisterOsLoginServiceServer(s *grpc.Server, srv OsLoginServiceServer) { - s.RegisterService(&_OsLoginService_serviceDesc, srv) -} - -func _OsLoginService_DeletePosixAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeletePosixAccountRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OsLoginServiceServer).DeletePosixAccount(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.oslogin.v1alpha.OsLoginService/DeletePosixAccount", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OsLoginServiceServer).DeletePosixAccount(ctx, req.(*DeletePosixAccountRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OsLoginService_DeleteSshPublicKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteSshPublicKeyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OsLoginServiceServer).DeleteSshPublicKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.oslogin.v1alpha.OsLoginService/DeleteSshPublicKey", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OsLoginServiceServer).DeleteSshPublicKey(ctx, req.(*DeleteSshPublicKeyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OsLoginService_GetLoginProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetLoginProfileRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OsLoginServiceServer).GetLoginProfile(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.oslogin.v1alpha.OsLoginService/GetLoginProfile", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OsLoginServiceServer).GetLoginProfile(ctx, req.(*GetLoginProfileRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OsLoginService_GetSshPublicKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetSshPublicKeyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OsLoginServiceServer).GetSshPublicKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.oslogin.v1alpha.OsLoginService/GetSshPublicKey", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OsLoginServiceServer).GetSshPublicKey(ctx, req.(*GetSshPublicKeyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OsLoginService_ImportSshPublicKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ImportSshPublicKeyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OsLoginServiceServer).ImportSshPublicKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.oslogin.v1alpha.OsLoginService/ImportSshPublicKey", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OsLoginServiceServer).ImportSshPublicKey(ctx, req.(*ImportSshPublicKeyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OsLoginService_UpdateSshPublicKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateSshPublicKeyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OsLoginServiceServer).UpdateSshPublicKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.oslogin.v1alpha.OsLoginService/UpdateSshPublicKey", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OsLoginServiceServer).UpdateSshPublicKey(ctx, req.(*UpdateSshPublicKeyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _OsLoginService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.oslogin.v1alpha.OsLoginService", - HandlerType: (*OsLoginServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "DeletePosixAccount", - Handler: _OsLoginService_DeletePosixAccount_Handler, - }, - { - MethodName: "DeleteSshPublicKey", - Handler: _OsLoginService_DeleteSshPublicKey_Handler, - }, - { - MethodName: "GetLoginProfile", - Handler: _OsLoginService_GetLoginProfile_Handler, - }, - { - MethodName: "GetSshPublicKey", - Handler: _OsLoginService_GetSshPublicKey_Handler, - }, - { - MethodName: "ImportSshPublicKey", - Handler: _OsLoginService_ImportSshPublicKey_Handler, - }, - { - MethodName: "UpdateSshPublicKey", - Handler: _OsLoginService_UpdateSshPublicKey_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/oslogin/v1alpha/oslogin.proto", -} 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 deleted file mode 100644 index 62a7bcfa..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/oslogin/v1beta/oslogin.pb.go +++ /dev/null @@ -1,780 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/oslogin/v1beta/oslogin.proto - -package oslogin - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - common "google.golang.org/genproto/googleapis/cloud/oslogin/common" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The user profile information used for logging in to a virtual machine on -// Google Compute Engine. -type LoginProfile struct { - // The primary email address that uniquely identifies the user. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The list of POSIX accounts associated with the user. - PosixAccounts []*common.PosixAccount `protobuf:"bytes,2,rep,name=posix_accounts,json=posixAccounts,proto3" json:"posix_accounts,omitempty"` - // A map from SSH public key fingerprint to the associated key object. - SshPublicKeys map[string]*common.SshPublicKey `protobuf:"bytes,3,rep,name=ssh_public_keys,json=sshPublicKeys,proto3" json:"ssh_public_keys,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Indicates if the user is suspended. A suspended user cannot log in but - // their profile information is retained. - Suspended bool `protobuf:"varint,4,opt,name=suspended,proto3" json:"suspended,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c51261020b887e3b, []int{0} -} - -func (m *LoginProfile) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LoginProfile.Unmarshal(m, b) -} -func (m *LoginProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LoginProfile.Marshal(b, m, deterministic) -} -func (m *LoginProfile) XXX_Merge(src proto.Message) { - xxx_messageInfo_LoginProfile.Merge(m, src) -} -func (m *LoginProfile) XXX_Size() int { - return xxx_messageInfo_LoginProfile.Size(m) -} -func (m *LoginProfile) XXX_DiscardUnknown() { - xxx_messageInfo_LoginProfile.DiscardUnknown(m) -} - -var xxx_messageInfo_LoginProfile proto.InternalMessageInfo - -func (m *LoginProfile) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *LoginProfile) GetPosixAccounts() []*common.PosixAccount { - if m != nil { - return m.PosixAccounts - } - return nil -} - -func (m *LoginProfile) GetSshPublicKeys() map[string]*common.SshPublicKey { - if m != nil { - return m.SshPublicKeys - } - return nil -} - -func (m *LoginProfile) GetSuspended() bool { - if m != nil { - return m.Suspended - } - return false -} - -// A request message for deleting a POSIX account entry. -type DeletePosixAccountRequest struct { - // A reference to the POSIX account to update. POSIX accounts are identified - // by the project ID they are associated with. A reference to the POSIX - // account is in format `users/{user}/projects/{project}`. - 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 *DeletePosixAccountRequest) Reset() { *m = DeletePosixAccountRequest{} } -func (m *DeletePosixAccountRequest) String() string { return proto.CompactTextString(m) } -func (*DeletePosixAccountRequest) ProtoMessage() {} -func (*DeletePosixAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c51261020b887e3b, []int{1} -} - -func (m *DeletePosixAccountRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeletePosixAccountRequest.Unmarshal(m, b) -} -func (m *DeletePosixAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeletePosixAccountRequest.Marshal(b, m, deterministic) -} -func (m *DeletePosixAccountRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeletePosixAccountRequest.Merge(m, src) -} -func (m *DeletePosixAccountRequest) XXX_Size() int { - return xxx_messageInfo_DeletePosixAccountRequest.Size(m) -} -func (m *DeletePosixAccountRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeletePosixAccountRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeletePosixAccountRequest proto.InternalMessageInfo - -func (m *DeletePosixAccountRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// A request message for deleting an SSH public key. -type DeleteSshPublicKeyRequest struct { - // The fingerprint of the public key to update. Public keys are identified by - // their SHA-256 fingerprint. The fingerprint of the public key is in format - // `users/{user}/sshPublicKeys/{fingerprint}`. - 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 *DeleteSshPublicKeyRequest) Reset() { *m = DeleteSshPublicKeyRequest{} } -func (m *DeleteSshPublicKeyRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteSshPublicKeyRequest) ProtoMessage() {} -func (*DeleteSshPublicKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c51261020b887e3b, []int{2} -} - -func (m *DeleteSshPublicKeyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteSshPublicKeyRequest.Unmarshal(m, b) -} -func (m *DeleteSshPublicKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteSshPublicKeyRequest.Marshal(b, m, deterministic) -} -func (m *DeleteSshPublicKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteSshPublicKeyRequest.Merge(m, src) -} -func (m *DeleteSshPublicKeyRequest) XXX_Size() int { - return xxx_messageInfo_DeleteSshPublicKeyRequest.Size(m) -} -func (m *DeleteSshPublicKeyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteSshPublicKeyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteSshPublicKeyRequest proto.InternalMessageInfo - -func (m *DeleteSshPublicKeyRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// A request message for retrieving the login profile information for a user. -type GetLoginProfileRequest struct { - // The unique ID for the user in format `users/{user}`. - 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 *GetLoginProfileRequest) Reset() { *m = GetLoginProfileRequest{} } -func (m *GetLoginProfileRequest) String() string { return proto.CompactTextString(m) } -func (*GetLoginProfileRequest) ProtoMessage() {} -func (*GetLoginProfileRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c51261020b887e3b, []int{3} -} - -func (m *GetLoginProfileRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetLoginProfileRequest.Unmarshal(m, b) -} -func (m *GetLoginProfileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetLoginProfileRequest.Marshal(b, m, deterministic) -} -func (m *GetLoginProfileRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetLoginProfileRequest.Merge(m, src) -} -func (m *GetLoginProfileRequest) XXX_Size() int { - return xxx_messageInfo_GetLoginProfileRequest.Size(m) -} -func (m *GetLoginProfileRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetLoginProfileRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetLoginProfileRequest proto.InternalMessageInfo - -func (m *GetLoginProfileRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// A request message for retrieving an SSH public key. -type GetSshPublicKeyRequest struct { - // The fingerprint of the public key to retrieve. Public keys are identified - // by their SHA-256 fingerprint. The fingerprint of the public key is in - // format `users/{user}/sshPublicKeys/{fingerprint}`. - 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 *GetSshPublicKeyRequest) Reset() { *m = GetSshPublicKeyRequest{} } -func (m *GetSshPublicKeyRequest) String() string { return proto.CompactTextString(m) } -func (*GetSshPublicKeyRequest) ProtoMessage() {} -func (*GetSshPublicKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c51261020b887e3b, []int{4} -} - -func (m *GetSshPublicKeyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetSshPublicKeyRequest.Unmarshal(m, b) -} -func (m *GetSshPublicKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetSshPublicKeyRequest.Marshal(b, m, deterministic) -} -func (m *GetSshPublicKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetSshPublicKeyRequest.Merge(m, src) -} -func (m *GetSshPublicKeyRequest) XXX_Size() int { - return xxx_messageInfo_GetSshPublicKeyRequest.Size(m) -} -func (m *GetSshPublicKeyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetSshPublicKeyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetSshPublicKeyRequest proto.InternalMessageInfo - -func (m *GetSshPublicKeyRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// A request message for importing an SSH public key. -type ImportSshPublicKeyRequest struct { - // The unique ID for the user in format `users/{user}`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The SSH public key and expiration time. - SshPublicKey *common.SshPublicKey `protobuf:"bytes,2,opt,name=ssh_public_key,json=sshPublicKey,proto3" json:"ssh_public_key,omitempty"` - // The project ID of the Google Cloud Platform project. - ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ImportSshPublicKeyRequest) Reset() { *m = ImportSshPublicKeyRequest{} } -func (m *ImportSshPublicKeyRequest) String() string { return proto.CompactTextString(m) } -func (*ImportSshPublicKeyRequest) ProtoMessage() {} -func (*ImportSshPublicKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c51261020b887e3b, []int{5} -} - -func (m *ImportSshPublicKeyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImportSshPublicKeyRequest.Unmarshal(m, b) -} -func (m *ImportSshPublicKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImportSshPublicKeyRequest.Marshal(b, m, deterministic) -} -func (m *ImportSshPublicKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportSshPublicKeyRequest.Merge(m, src) -} -func (m *ImportSshPublicKeyRequest) XXX_Size() int { - return xxx_messageInfo_ImportSshPublicKeyRequest.Size(m) -} -func (m *ImportSshPublicKeyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ImportSshPublicKeyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ImportSshPublicKeyRequest proto.InternalMessageInfo - -func (m *ImportSshPublicKeyRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ImportSshPublicKeyRequest) GetSshPublicKey() *common.SshPublicKey { - if m != nil { - return m.SshPublicKey - } - return nil -} - -func (m *ImportSshPublicKeyRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// A response message for importing an SSH public key. -type ImportSshPublicKeyResponse struct { - // The login profile information for the user. - LoginProfile *LoginProfile `protobuf:"bytes,1,opt,name=login_profile,json=loginProfile,proto3" json:"login_profile,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ImportSshPublicKeyResponse) Reset() { *m = ImportSshPublicKeyResponse{} } -func (m *ImportSshPublicKeyResponse) String() string { return proto.CompactTextString(m) } -func (*ImportSshPublicKeyResponse) ProtoMessage() {} -func (*ImportSshPublicKeyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c51261020b887e3b, []int{6} -} - -func (m *ImportSshPublicKeyResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImportSshPublicKeyResponse.Unmarshal(m, b) -} -func (m *ImportSshPublicKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImportSshPublicKeyResponse.Marshal(b, m, deterministic) -} -func (m *ImportSshPublicKeyResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportSshPublicKeyResponse.Merge(m, src) -} -func (m *ImportSshPublicKeyResponse) XXX_Size() int { - return xxx_messageInfo_ImportSshPublicKeyResponse.Size(m) -} -func (m *ImportSshPublicKeyResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ImportSshPublicKeyResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ImportSshPublicKeyResponse proto.InternalMessageInfo - -func (m *ImportSshPublicKeyResponse) GetLoginProfile() *LoginProfile { - if m != nil { - return m.LoginProfile - } - return nil -} - -// A request message for updating an SSH public key. -type UpdateSshPublicKeyRequest struct { - // The fingerprint of the public key to update. Public keys are identified by - // their SHA-256 fingerprint. The fingerprint of the public key is in format - // `users/{user}/sshPublicKeys/{fingerprint}`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The SSH public key and expiration time. - SshPublicKey *common.SshPublicKey `protobuf:"bytes,2,opt,name=ssh_public_key,json=sshPublicKey,proto3" json:"ssh_public_key,omitempty"` - // Mask to control which fields get updated. Updates all if not present. - 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 *UpdateSshPublicKeyRequest) Reset() { *m = UpdateSshPublicKeyRequest{} } -func (m *UpdateSshPublicKeyRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateSshPublicKeyRequest) ProtoMessage() {} -func (*UpdateSshPublicKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c51261020b887e3b, []int{7} -} - -func (m *UpdateSshPublicKeyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateSshPublicKeyRequest.Unmarshal(m, b) -} -func (m *UpdateSshPublicKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateSshPublicKeyRequest.Marshal(b, m, deterministic) -} -func (m *UpdateSshPublicKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateSshPublicKeyRequest.Merge(m, src) -} -func (m *UpdateSshPublicKeyRequest) XXX_Size() int { - return xxx_messageInfo_UpdateSshPublicKeyRequest.Size(m) -} -func (m *UpdateSshPublicKeyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateSshPublicKeyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateSshPublicKeyRequest proto.InternalMessageInfo - -func (m *UpdateSshPublicKeyRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *UpdateSshPublicKeyRequest) GetSshPublicKey() *common.SshPublicKey { - if m != nil { - return m.SshPublicKey - } - return nil -} - -func (m *UpdateSshPublicKeyRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -func init() { - proto.RegisterType((*LoginProfile)(nil), "google.cloud.oslogin.v1beta.LoginProfile") - proto.RegisterMapType((map[string]*common.SshPublicKey)(nil), "google.cloud.oslogin.v1beta.LoginProfile.SshPublicKeysEntry") - proto.RegisterType((*DeletePosixAccountRequest)(nil), "google.cloud.oslogin.v1beta.DeletePosixAccountRequest") - proto.RegisterType((*DeleteSshPublicKeyRequest)(nil), "google.cloud.oslogin.v1beta.DeleteSshPublicKeyRequest") - proto.RegisterType((*GetLoginProfileRequest)(nil), "google.cloud.oslogin.v1beta.GetLoginProfileRequest") - proto.RegisterType((*GetSshPublicKeyRequest)(nil), "google.cloud.oslogin.v1beta.GetSshPublicKeyRequest") - proto.RegisterType((*ImportSshPublicKeyRequest)(nil), "google.cloud.oslogin.v1beta.ImportSshPublicKeyRequest") - proto.RegisterType((*ImportSshPublicKeyResponse)(nil), "google.cloud.oslogin.v1beta.ImportSshPublicKeyResponse") - proto.RegisterType((*UpdateSshPublicKeyRequest)(nil), "google.cloud.oslogin.v1beta.UpdateSshPublicKeyRequest") -} - -func init() { - proto.RegisterFile("google/cloud/oslogin/v1beta/oslogin.proto", fileDescriptor_c51261020b887e3b) -} - -var fileDescriptor_c51261020b887e3b = []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, - 0x94, 0x62, 0x76, 0x43, 0x49, 0x94, 0x80, 0x68, 0x2c, 0x22, 0x21, 0xfe, 0xa1, 0x29, 0x91, 0x83, - 0x21, 0x69, 0xa6, 0xbb, 0xc3, 0xb2, 0x76, 0x77, 0x67, 0xdc, 0xd9, 0x25, 0x36, 0x86, 0x8b, 0x89, - 0x67, 0x0f, 0x7a, 0x36, 0x31, 0xde, 0xbc, 0x79, 0xf2, 0xe4, 0x1b, 0xe0, 0xea, 0x5b, 0xd0, 0xf7, - 0x61, 0x76, 0x76, 0x16, 0xb6, 0xed, 0xb6, 0x5d, 0x12, 0x4f, 0xdd, 0x99, 0xe7, 0xdf, 0x67, 0xbe, - 0x33, 0xcf, 0x93, 0x82, 0x65, 0x93, 0x10, 0xd3, 0xc6, 0x9a, 0x6e, 0x93, 0xc0, 0xd0, 0x08, 0xb3, - 0x89, 0x69, 0xb9, 0xda, 0xe9, 0x6a, 0x0b, 0xfb, 0x28, 0x5e, 0xaa, 0xd4, 0x23, 0x3e, 0x81, 0x0b, - 0x91, 0xab, 0xca, 0x5d, 0xd5, 0xd8, 0x16, 0xb9, 0xca, 0x8b, 0x22, 0x0f, 0xa2, 0x96, 0x86, 0x5c, - 0x97, 0xf8, 0xc8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 0xfb, 0x2e, 0x81, 0xeb, 0x3a, 0x71, 0x86, 0x81, 0xd6, 0x0a, 0x62, 0x50, 0xd4, - 0xc3, 0xb6, 0xa9, 0x4b, 0x2f, 0x6b, 0xc2, 0xd9, 0x24, 0x36, 0x72, 0x4d, 0x95, 0x78, 0xa6, 0x66, - 0x62, 0x97, 0x37, 0x95, 0x16, 0x99, 0x10, 0xb5, 0x58, 0xea, 0x7f, 0xa4, 0x4d, 0xb1, 0xfc, 0x96, - 0x5b, 0xd8, 0x8d, 0x92, 0x6c, 0xf3, 0x8a, 0xa2, 0x82, 0x7a, 0xb8, 0x5a, 0xc3, 0x3e, 0x3a, 0x8f, - 0xad, 0x47, 0xdc, 0x7a, 0x24, 0xac, 0x47, 0x87, 0x3c, 0x47, 0x6b, 0x9c, 0x97, 0x5a, 0xfb, 0x1b, - 0x00, 0x00, 0xff, 0xff, 0xc7, 0x96, 0xd9, 0xc2, 0x8d, 0x09, 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 - -// OsLoginServiceClient is the client API for OsLoginService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type OsLoginServiceClient interface { - // Deletes a POSIX account. - DeletePosixAccount(ctx context.Context, in *DeletePosixAccountRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Deletes an SSH public key. - DeleteSshPublicKey(ctx context.Context, in *DeleteSshPublicKeyRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Retrieves the profile information used for logging in to a virtual machine - // on Google Compute Engine. - GetLoginProfile(ctx context.Context, in *GetLoginProfileRequest, opts ...grpc.CallOption) (*LoginProfile, error) - // Retrieves an SSH public key. - GetSshPublicKey(ctx context.Context, in *GetSshPublicKeyRequest, opts ...grpc.CallOption) (*common.SshPublicKey, error) - // Adds an SSH public key and returns the profile information. Default POSIX - // account information is set when no username and UID exist as part of the - // login profile. - ImportSshPublicKey(ctx context.Context, in *ImportSshPublicKeyRequest, opts ...grpc.CallOption) (*ImportSshPublicKeyResponse, error) - // Updates an SSH public key and returns the profile information. This method - // supports patch semantics. - UpdateSshPublicKey(ctx context.Context, in *UpdateSshPublicKeyRequest, opts ...grpc.CallOption) (*common.SshPublicKey, error) -} - -type osLoginServiceClient struct { - cc *grpc.ClientConn -} - -func NewOsLoginServiceClient(cc *grpc.ClientConn) OsLoginServiceClient { - return &osLoginServiceClient{cc} -} - -func (c *osLoginServiceClient) DeletePosixAccount(ctx context.Context, in *DeletePosixAccountRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.oslogin.v1beta.OsLoginService/DeletePosixAccount", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *osLoginServiceClient) DeleteSshPublicKey(ctx context.Context, in *DeleteSshPublicKeyRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.oslogin.v1beta.OsLoginService/DeleteSshPublicKey", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *osLoginServiceClient) GetLoginProfile(ctx context.Context, in *GetLoginProfileRequest, opts ...grpc.CallOption) (*LoginProfile, error) { - out := new(LoginProfile) - err := c.cc.Invoke(ctx, "/google.cloud.oslogin.v1beta.OsLoginService/GetLoginProfile", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *osLoginServiceClient) GetSshPublicKey(ctx context.Context, in *GetSshPublicKeyRequest, opts ...grpc.CallOption) (*common.SshPublicKey, error) { - out := new(common.SshPublicKey) - err := c.cc.Invoke(ctx, "/google.cloud.oslogin.v1beta.OsLoginService/GetSshPublicKey", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *osLoginServiceClient) ImportSshPublicKey(ctx context.Context, in *ImportSshPublicKeyRequest, opts ...grpc.CallOption) (*ImportSshPublicKeyResponse, error) { - out := new(ImportSshPublicKeyResponse) - err := c.cc.Invoke(ctx, "/google.cloud.oslogin.v1beta.OsLoginService/ImportSshPublicKey", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *osLoginServiceClient) UpdateSshPublicKey(ctx context.Context, in *UpdateSshPublicKeyRequest, opts ...grpc.CallOption) (*common.SshPublicKey, error) { - out := new(common.SshPublicKey) - err := c.cc.Invoke(ctx, "/google.cloud.oslogin.v1beta.OsLoginService/UpdateSshPublicKey", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// OsLoginServiceServer is the server API for OsLoginService service. -type OsLoginServiceServer interface { - // Deletes a POSIX account. - DeletePosixAccount(context.Context, *DeletePosixAccountRequest) (*empty.Empty, error) - // Deletes an SSH public key. - DeleteSshPublicKey(context.Context, *DeleteSshPublicKeyRequest) (*empty.Empty, error) - // Retrieves the profile information used for logging in to a virtual machine - // on Google Compute Engine. - GetLoginProfile(context.Context, *GetLoginProfileRequest) (*LoginProfile, error) - // Retrieves an SSH public key. - GetSshPublicKey(context.Context, *GetSshPublicKeyRequest) (*common.SshPublicKey, error) - // Adds an SSH public key and returns the profile information. Default POSIX - // account information is set when no username and UID exist as part of the - // login profile. - ImportSshPublicKey(context.Context, *ImportSshPublicKeyRequest) (*ImportSshPublicKeyResponse, error) - // Updates an SSH public key and returns the profile information. This method - // supports patch semantics. - UpdateSshPublicKey(context.Context, *UpdateSshPublicKeyRequest) (*common.SshPublicKey, error) -} - -// UnimplementedOsLoginServiceServer can be embedded to have forward compatible implementations. -type UnimplementedOsLoginServiceServer struct { -} - -func (*UnimplementedOsLoginServiceServer) DeletePosixAccount(ctx context.Context, req *DeletePosixAccountRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeletePosixAccount not implemented") -} -func (*UnimplementedOsLoginServiceServer) DeleteSshPublicKey(ctx context.Context, req *DeleteSshPublicKeyRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteSshPublicKey not implemented") -} -func (*UnimplementedOsLoginServiceServer) GetLoginProfile(ctx context.Context, req *GetLoginProfileRequest) (*LoginProfile, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetLoginProfile not implemented") -} -func (*UnimplementedOsLoginServiceServer) GetSshPublicKey(ctx context.Context, req *GetSshPublicKeyRequest) (*common.SshPublicKey, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetSshPublicKey not implemented") -} -func (*UnimplementedOsLoginServiceServer) ImportSshPublicKey(ctx context.Context, req *ImportSshPublicKeyRequest) (*ImportSshPublicKeyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ImportSshPublicKey not implemented") -} -func (*UnimplementedOsLoginServiceServer) UpdateSshPublicKey(ctx context.Context, req *UpdateSshPublicKeyRequest) (*common.SshPublicKey, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateSshPublicKey not implemented") -} - -func RegisterOsLoginServiceServer(s *grpc.Server, srv OsLoginServiceServer) { - s.RegisterService(&_OsLoginService_serviceDesc, srv) -} - -func _OsLoginService_DeletePosixAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeletePosixAccountRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OsLoginServiceServer).DeletePosixAccount(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.oslogin.v1beta.OsLoginService/DeletePosixAccount", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OsLoginServiceServer).DeletePosixAccount(ctx, req.(*DeletePosixAccountRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OsLoginService_DeleteSshPublicKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteSshPublicKeyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OsLoginServiceServer).DeleteSshPublicKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.oslogin.v1beta.OsLoginService/DeleteSshPublicKey", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OsLoginServiceServer).DeleteSshPublicKey(ctx, req.(*DeleteSshPublicKeyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OsLoginService_GetLoginProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetLoginProfileRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OsLoginServiceServer).GetLoginProfile(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.oslogin.v1beta.OsLoginService/GetLoginProfile", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OsLoginServiceServer).GetLoginProfile(ctx, req.(*GetLoginProfileRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OsLoginService_GetSshPublicKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetSshPublicKeyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OsLoginServiceServer).GetSshPublicKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.oslogin.v1beta.OsLoginService/GetSshPublicKey", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OsLoginServiceServer).GetSshPublicKey(ctx, req.(*GetSshPublicKeyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OsLoginService_ImportSshPublicKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ImportSshPublicKeyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OsLoginServiceServer).ImportSshPublicKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.oslogin.v1beta.OsLoginService/ImportSshPublicKey", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OsLoginServiceServer).ImportSshPublicKey(ctx, req.(*ImportSshPublicKeyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OsLoginService_UpdateSshPublicKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateSshPublicKeyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OsLoginServiceServer).UpdateSshPublicKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.oslogin.v1beta.OsLoginService/UpdateSshPublicKey", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OsLoginServiceServer).UpdateSshPublicKey(ctx, req.(*UpdateSshPublicKeyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _OsLoginService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.oslogin.v1beta.OsLoginService", - HandlerType: (*OsLoginServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "DeletePosixAccount", - Handler: _OsLoginService_DeletePosixAccount_Handler, - }, - { - MethodName: "DeleteSshPublicKey", - Handler: _OsLoginService_DeleteSshPublicKey_Handler, - }, - { - MethodName: "GetLoginProfile", - Handler: _OsLoginService_GetLoginProfile_Handler, - }, - { - MethodName: "GetSshPublicKey", - Handler: _OsLoginService_GetSshPublicKey_Handler, - }, - { - MethodName: "ImportSshPublicKey", - Handler: _OsLoginService_ImportSshPublicKey_Handler, - }, - { - MethodName: "UpdateSshPublicKey", - Handler: _OsLoginService_UpdateSshPublicKey_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/oslogin/v1beta/oslogin.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/phishingprotection/v1beta1/phishingprotection.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/phishingprotection/v1beta1/phishingprotection.pb.go deleted file mode 100644 index 6b4c94b7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/phishingprotection/v1beta1/phishingprotection.pb.go +++ /dev/null @@ -1,247 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/phishingprotection/v1beta1/phishingprotection.proto - -package phishingprotection - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The ReportPhishing request message. -type ReportPhishingRequest struct { - // Required. The name of the project for which the report will be created, - // in the format "projects/{project_number}". - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The URI that is being reported for phishing content to be analyzed. - Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ReportPhishingRequest) Reset() { *m = ReportPhishingRequest{} } -func (m *ReportPhishingRequest) String() string { return proto.CompactTextString(m) } -func (*ReportPhishingRequest) ProtoMessage() {} -func (*ReportPhishingRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_fa2769de3b7011f5, []int{0} -} - -func (m *ReportPhishingRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReportPhishingRequest.Unmarshal(m, b) -} -func (m *ReportPhishingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReportPhishingRequest.Marshal(b, m, deterministic) -} -func (m *ReportPhishingRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReportPhishingRequest.Merge(m, src) -} -func (m *ReportPhishingRequest) XXX_Size() int { - return xxx_messageInfo_ReportPhishingRequest.Size(m) -} -func (m *ReportPhishingRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ReportPhishingRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ReportPhishingRequest proto.InternalMessageInfo - -func (m *ReportPhishingRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ReportPhishingRequest) GetUri() string { - if m != nil { - return m.Uri - } - return "" -} - -// The ReportPhishing (empty) response message. -type ReportPhishingResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ReportPhishingResponse) Reset() { *m = ReportPhishingResponse{} } -func (m *ReportPhishingResponse) String() string { return proto.CompactTextString(m) } -func (*ReportPhishingResponse) ProtoMessage() {} -func (*ReportPhishingResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_fa2769de3b7011f5, []int{1} -} - -func (m *ReportPhishingResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReportPhishingResponse.Unmarshal(m, b) -} -func (m *ReportPhishingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReportPhishingResponse.Marshal(b, m, deterministic) -} -func (m *ReportPhishingResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReportPhishingResponse.Merge(m, src) -} -func (m *ReportPhishingResponse) XXX_Size() int { - return xxx_messageInfo_ReportPhishingResponse.Size(m) -} -func (m *ReportPhishingResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ReportPhishingResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ReportPhishingResponse proto.InternalMessageInfo - -func init() { - proto.RegisterType((*ReportPhishingRequest)(nil), "google.cloud.phishingprotection.v1beta1.ReportPhishingRequest") - proto.RegisterType((*ReportPhishingResponse)(nil), "google.cloud.phishingprotection.v1beta1.ReportPhishingResponse") -} - -func init() { - proto.RegisterFile("google/cloud/phishingprotection/v1beta1/phishingprotection.proto", fileDescriptor_fa2769de3b7011f5) -} - -var fileDescriptor_fa2769de3b7011f5 = []byte{ - // 470 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x53, 0xcf, 0x6b, 0x13, 0x41, - 0x14, 0x66, 0xb7, 0x52, 0x70, 0x0e, 0x1e, 0x16, 0x6a, 0x63, 0x10, 0xac, 0x01, 0xa9, 0xd4, 0x76, - 0x86, 0xd8, 0x5b, 0xc4, 0x1f, 0x9b, 0x0a, 0x3d, 0x78, 0x59, 0x22, 0x16, 0x94, 0x80, 0x4c, 0xb6, - 0xaf, 0xbb, 0x23, 0x9b, 0x79, 0xe3, 0xcc, 0x6c, 0x72, 0x28, 0x5e, 0xfc, 0x17, 0xfc, 0x0f, 0x3c, - 0xfa, 0xa7, 0xf4, 0x68, 0x0f, 0x82, 0xa7, 0x1e, 0xfc, 0x23, 0xc4, 0x93, 0xec, 0xce, 0x24, 0xa6, - 0xc9, 0x8a, 0xd2, 0xdb, 0xec, 0x7e, 0xdf, 0xfb, 0xbe, 0xf7, 0xbe, 0x79, 0x43, 0x9e, 0x65, 0x88, - 0x59, 0x01, 0x2c, 0x2d, 0xb0, 0x3c, 0x66, 0x2a, 0x17, 0x26, 0x17, 0x32, 0x53, 0x1a, 0x2d, 0xa4, - 0x56, 0xa0, 0x64, 0x93, 0xee, 0x08, 0x2c, 0xef, 0x36, 0x40, 0xb4, 0x3a, 0x62, 0xb4, 0xed, 0x14, - 0x68, 0xad, 0x40, 0x1b, 0x68, 0x5e, 0xa1, 0x7d, 0xdb,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0x85, - 0xdd, 0xce, 0xee, 0x7c, 0x47, 0x4e, 0x1d, 0xf6, 0x58, 0xb9, 0x80, 0x0c, 0xdb, 0xf9, 0x30, 0xdf, - 0x9b, 0x9e, 0xae, 0x25, 0x7b, 0xc1, 0x4e, 0xfb, 0xd5, 0x59, 0x7c, 0xb7, 0xc1, 0xfb, 0x72, 0xca, - 0x5f, 0x63, 0x9a, 0x5b, 0xab, 0x4c, 0x8f, 0xb1, 0xe9, 0x74, 0xba, 0x7c, 0x05, 0xbc, 0xb4, 0xb9, - 0xdb, 0xd9, 0x3d, 0x55, 0x70, 0x7b, 0x82, 0x7a, 0xdc, 0xff, 0x19, 0x90, 0x7b, 0x29, 0x8e, 0x67, - 0x33, 0xfe, 0x7d, 0xba, 0xfe, 0xe6, 0x6a, 0xf8, 0xd5, 0x09, 0x93, 0xe0, 0xcd, 0x6b, 0x5f, 0x9d, - 0x61, 0xc1, 0x65, 0x46, 0x51, 0x67, 0x2c, 0x03, 0x59, 0x6f, 0x13, 0xfb, 0xd3, 0xc3, 0x3f, 0x9f, - 0xcb, 0xa3, 0x55, 0xe8, 0x73, 0x78, 0xed, 0xf0, 0x20, 0x49, 0xbe, 0x84, 0xdb, 0x87, 0xce, 0xe2, - 0xa0, 0xbe, 0x84, 0xd5, 0x56, 0xa8, 0xdf, 0x80, 0xb3, 0x19, 0x73, 0x58, 0x33, 0x87, 0xab, 0xcc, - 0xe1, 0x91, 0x73, 0x1b, 0xad, 0xd7, 0x0d, 0xee, 0xff, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x25, 0xcc, - 0xbb, 0x4b, 0xce, 0x03, 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 - -// PhishingProtectionServiceV1Beta1Client is the client API for PhishingProtectionServiceV1Beta1 service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type PhishingProtectionServiceV1Beta1Client interface { - // Reports a URI suspected of containing phishing content to be reviewed. Once - // the report review is complete, its result can be found in the Cloud - // Security Command Center findings dashboard for Phishing Protection. If the - // result verifies the existence of malicious phishing content, the site will - // be added the to [Google's Social Engineering - // lists](https://support.google.com/webmasters/answer/6350487/) in order to - // protect users that could get exposed to this threat in the future. - ReportPhishing(ctx context.Context, in *ReportPhishingRequest, opts ...grpc.CallOption) (*ReportPhishingResponse, error) -} - -type phishingProtectionServiceV1Beta1Client struct { - cc *grpc.ClientConn -} - -func NewPhishingProtectionServiceV1Beta1Client(cc *grpc.ClientConn) PhishingProtectionServiceV1Beta1Client { - return &phishingProtectionServiceV1Beta1Client{cc} -} - -func (c *phishingProtectionServiceV1Beta1Client) ReportPhishing(ctx context.Context, in *ReportPhishingRequest, opts ...grpc.CallOption) (*ReportPhishingResponse, error) { - out := new(ReportPhishingResponse) - err := c.cc.Invoke(ctx, "/google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1/ReportPhishing", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// PhishingProtectionServiceV1Beta1Server is the server API for PhishingProtectionServiceV1Beta1 service. -type PhishingProtectionServiceV1Beta1Server interface { - // Reports a URI suspected of containing phishing content to be reviewed. Once - // the report review is complete, its result can be found in the Cloud - // Security Command Center findings dashboard for Phishing Protection. If the - // result verifies the existence of malicious phishing content, the site will - // be added the to [Google's Social Engineering - // lists](https://support.google.com/webmasters/answer/6350487/) in order to - // protect users that could get exposed to this threat in the future. - ReportPhishing(context.Context, *ReportPhishingRequest) (*ReportPhishingResponse, error) -} - -// UnimplementedPhishingProtectionServiceV1Beta1Server can be embedded to have forward compatible implementations. -type UnimplementedPhishingProtectionServiceV1Beta1Server struct { -} - -func (*UnimplementedPhishingProtectionServiceV1Beta1Server) ReportPhishing(ctx context.Context, req *ReportPhishingRequest) (*ReportPhishingResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ReportPhishing not implemented") -} - -func RegisterPhishingProtectionServiceV1Beta1Server(s *grpc.Server, srv PhishingProtectionServiceV1Beta1Server) { - s.RegisterService(&_PhishingProtectionServiceV1Beta1_serviceDesc, srv) -} - -func _PhishingProtectionServiceV1Beta1_ReportPhishing_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ReportPhishingRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PhishingProtectionServiceV1Beta1Server).ReportPhishing(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1/ReportPhishing", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PhishingProtectionServiceV1Beta1Server).ReportPhishing(ctx, req.(*ReportPhishingRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _PhishingProtectionServiceV1Beta1_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1", - HandlerType: (*PhishingProtectionServiceV1Beta1Server)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ReportPhishing", - Handler: _PhishingProtectionServiceV1Beta1_ReportPhishing_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/phishingprotection/v1beta1/phishingprotection.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.pb.go deleted file mode 100644 index f7df7b96..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.pb.go +++ /dev/null @@ -1,714 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.proto - -package recaptchaenterprise - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum that reprensents the types of annotations. -type AnnotateAssessmentRequest_Annotation int32 - -const ( - // Default unspecified type. - AnnotateAssessmentRequest_ANNOTATION_UNSPECIFIED AnnotateAssessmentRequest_Annotation = 0 - // Provides information that the event turned out to be legitimate. - AnnotateAssessmentRequest_LEGITIMATE AnnotateAssessmentRequest_Annotation = 1 - // Provides information that the event turned out to be fraudulent. - AnnotateAssessmentRequest_FRAUDULENT AnnotateAssessmentRequest_Annotation = 2 -) - -var AnnotateAssessmentRequest_Annotation_name = map[int32]string{ - 0: "ANNOTATION_UNSPECIFIED", - 1: "LEGITIMATE", - 2: "FRAUDULENT", -} - -var AnnotateAssessmentRequest_Annotation_value = map[string]int32{ - "ANNOTATION_UNSPECIFIED": 0, - "LEGITIMATE": 1, - "FRAUDULENT": 2, -} - -func (x AnnotateAssessmentRequest_Annotation) String() string { - return proto.EnumName(AnnotateAssessmentRequest_Annotation_name, int32(x)) -} - -func (AnnotateAssessmentRequest_Annotation) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_72b3da91aae1398d, []int{1, 0} -} - -// LINT.IfChange(classification_reason) -// Reasons contributing to the risk analysis verdict. -type Assessment_ClassificationReason int32 - -const ( - // Default unspecified type. - Assessment_CLASSIFICATION_REASON_UNSPECIFIED Assessment_ClassificationReason = 0 - // Interactions matched the behavior of an automated agent. - Assessment_AUTOMATION Assessment_ClassificationReason = 1 - // The event originated from an illegitimate environment. - Assessment_UNEXPECTED_ENVIRONMENT Assessment_ClassificationReason = 2 - // Traffic volume from the event source is higher than normal. - Assessment_TOO_MUCH_TRAFFIC Assessment_ClassificationReason = 3 - // Interactions with the site were significantly different than expected - // patterns. - Assessment_UNEXPECTED_USAGE_PATTERNS Assessment_ClassificationReason = 4 - // Too little traffic has been received from this site thus far to generate - // quality risk analysis. - Assessment_LOW_CONFIDENCE_SCORE Assessment_ClassificationReason = 5 -) - -var Assessment_ClassificationReason_name = map[int32]string{ - 0: "CLASSIFICATION_REASON_UNSPECIFIED", - 1: "AUTOMATION", - 2: "UNEXPECTED_ENVIRONMENT", - 3: "TOO_MUCH_TRAFFIC", - 4: "UNEXPECTED_USAGE_PATTERNS", - 5: "LOW_CONFIDENCE_SCORE", -} - -var Assessment_ClassificationReason_value = map[string]int32{ - "CLASSIFICATION_REASON_UNSPECIFIED": 0, - "AUTOMATION": 1, - "UNEXPECTED_ENVIRONMENT": 2, - "TOO_MUCH_TRAFFIC": 3, - "UNEXPECTED_USAGE_PATTERNS": 4, - "LOW_CONFIDENCE_SCORE": 5, -} - -func (x Assessment_ClassificationReason) String() string { - return proto.EnumName(Assessment_ClassificationReason_name, int32(x)) -} - -func (Assessment_ClassificationReason) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_72b3da91aae1398d, []int{3, 0} -} - -// LINT.IfChange -// Enum that represents the types of invalid token reasons. -type TokenProperties_InvalidReason int32 - -const ( - // Default unspecified type. - TokenProperties_INVALID_REASON_UNSPECIFIED TokenProperties_InvalidReason = 0 - // If the failure reason was not accounted for. - TokenProperties_UNKNOWN_INVALID_REASON TokenProperties_InvalidReason = 1 - // The provided user verification token was malformed. - TokenProperties_MALFORMED TokenProperties_InvalidReason = 2 - // The user verification token had expired. - TokenProperties_EXPIRED TokenProperties_InvalidReason = 3 - // The user verification had already been seen. - TokenProperties_DUPE TokenProperties_InvalidReason = 4 - // The user verification token did not match the provided site key. - // This may be a configuration error (e.g. development keys used in - // production) or end users trying to use verification tokens from other - // sites. - TokenProperties_SITE_MISMATCH TokenProperties_InvalidReason = 5 - // The user verification token was not present. It is a required input. - TokenProperties_MISSING TokenProperties_InvalidReason = 6 -) - -var TokenProperties_InvalidReason_name = map[int32]string{ - 0: "INVALID_REASON_UNSPECIFIED", - 1: "UNKNOWN_INVALID_REASON", - 2: "MALFORMED", - 3: "EXPIRED", - 4: "DUPE", - 5: "SITE_MISMATCH", - 6: "MISSING", -} - -var TokenProperties_InvalidReason_value = map[string]int32{ - "INVALID_REASON_UNSPECIFIED": 0, - "UNKNOWN_INVALID_REASON": 1, - "MALFORMED": 2, - "EXPIRED": 3, - "DUPE": 4, - "SITE_MISMATCH": 5, - "MISSING": 6, -} - -func (x TokenProperties_InvalidReason) String() string { - return proto.EnumName(TokenProperties_InvalidReason_name, int32(x)) -} - -func (TokenProperties_InvalidReason) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_72b3da91aae1398d, []int{5, 0} -} - -// The create assessment request message. -type CreateAssessmentRequest struct { - // Required. The name of the project in which the assessment will be created, - // in the format "projects/{project_number}". - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The assessment details. - Assessment *Assessment `protobuf:"bytes,2,opt,name=assessment,proto3" json:"assessment,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateAssessmentRequest) Reset() { *m = CreateAssessmentRequest{} } -func (m *CreateAssessmentRequest) String() string { return proto.CompactTextString(m) } -func (*CreateAssessmentRequest) ProtoMessage() {} -func (*CreateAssessmentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_72b3da91aae1398d, []int{0} -} - -func (m *CreateAssessmentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateAssessmentRequest.Unmarshal(m, b) -} -func (m *CreateAssessmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateAssessmentRequest.Marshal(b, m, deterministic) -} -func (m *CreateAssessmentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateAssessmentRequest.Merge(m, src) -} -func (m *CreateAssessmentRequest) XXX_Size() int { - return xxx_messageInfo_CreateAssessmentRequest.Size(m) -} -func (m *CreateAssessmentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateAssessmentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateAssessmentRequest proto.InternalMessageInfo - -func (m *CreateAssessmentRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateAssessmentRequest) GetAssessment() *Assessment { - if m != nil { - return m.Assessment - } - return nil -} - -// The request message to annotate an Assessment. -type AnnotateAssessmentRequest struct { - // Required. The resource name of the Assessment, in the format - // "projects/{project_number}/assessments/{assessment_id}". - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The annotation that will be assigned to the Event. - Annotation AnnotateAssessmentRequest_Annotation `protobuf:"varint,2,opt,name=annotation,proto3,enum=google.cloud.recaptchaenterprise.v1beta1.AnnotateAssessmentRequest_Annotation" json:"annotation,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AnnotateAssessmentRequest) Reset() { *m = AnnotateAssessmentRequest{} } -func (m *AnnotateAssessmentRequest) String() string { return proto.CompactTextString(m) } -func (*AnnotateAssessmentRequest) ProtoMessage() {} -func (*AnnotateAssessmentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_72b3da91aae1398d, []int{1} -} - -func (m *AnnotateAssessmentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotateAssessmentRequest.Unmarshal(m, b) -} -func (m *AnnotateAssessmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotateAssessmentRequest.Marshal(b, m, deterministic) -} -func (m *AnnotateAssessmentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateAssessmentRequest.Merge(m, src) -} -func (m *AnnotateAssessmentRequest) XXX_Size() int { - return xxx_messageInfo_AnnotateAssessmentRequest.Size(m) -} -func (m *AnnotateAssessmentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotateAssessmentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotateAssessmentRequest proto.InternalMessageInfo - -func (m *AnnotateAssessmentRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *AnnotateAssessmentRequest) GetAnnotation() AnnotateAssessmentRequest_Annotation { - if m != nil { - return m.Annotation - } - return AnnotateAssessmentRequest_ANNOTATION_UNSPECIFIED -} - -// Empty response for AnnotateAssessment. -type AnnotateAssessmentResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AnnotateAssessmentResponse) Reset() { *m = AnnotateAssessmentResponse{} } -func (m *AnnotateAssessmentResponse) String() string { return proto.CompactTextString(m) } -func (*AnnotateAssessmentResponse) ProtoMessage() {} -func (*AnnotateAssessmentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_72b3da91aae1398d, []int{2} -} - -func (m *AnnotateAssessmentResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotateAssessmentResponse.Unmarshal(m, b) -} -func (m *AnnotateAssessmentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotateAssessmentResponse.Marshal(b, m, deterministic) -} -func (m *AnnotateAssessmentResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateAssessmentResponse.Merge(m, src) -} -func (m *AnnotateAssessmentResponse) XXX_Size() int { - return xxx_messageInfo_AnnotateAssessmentResponse.Size(m) -} -func (m *AnnotateAssessmentResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotateAssessmentResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotateAssessmentResponse proto.InternalMessageInfo - -// A recaptcha assessment resource. -type Assessment struct { - // Output only. The resource name for the Assessment in the format - // "projects/{project_number}/assessments/{assessment_id}". - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The event being assessed. - Event *Event `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"` - // Output only. Legitimate event score from 0.0 to 1.0. - // (1.0 means very likely legitimate traffic while 0.0 means very likely - // non-legitimate traffic). - Score float32 `protobuf:"fixed32,3,opt,name=score,proto3" json:"score,omitempty"` - // Output only. Properties of the provided event token. - TokenProperties *TokenProperties `protobuf:"bytes,4,opt,name=token_properties,json=tokenProperties,proto3" json:"token_properties,omitempty"` - // Output only. Reasons contributing to the risk analysis verdict. - Reasons []Assessment_ClassificationReason `protobuf:"varint,5,rep,packed,name=reasons,proto3,enum=google.cloud.recaptchaenterprise.v1beta1.Assessment_ClassificationReason" json:"reasons,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Assessment) Reset() { *m = Assessment{} } -func (m *Assessment) String() string { return proto.CompactTextString(m) } -func (*Assessment) ProtoMessage() {} -func (*Assessment) Descriptor() ([]byte, []int) { - return fileDescriptor_72b3da91aae1398d, []int{3} -} - -func (m *Assessment) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Assessment.Unmarshal(m, b) -} -func (m *Assessment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Assessment.Marshal(b, m, deterministic) -} -func (m *Assessment) XXX_Merge(src proto.Message) { - xxx_messageInfo_Assessment.Merge(m, src) -} -func (m *Assessment) XXX_Size() int { - return xxx_messageInfo_Assessment.Size(m) -} -func (m *Assessment) XXX_DiscardUnknown() { - xxx_messageInfo_Assessment.DiscardUnknown(m) -} - -var xxx_messageInfo_Assessment proto.InternalMessageInfo - -func (m *Assessment) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Assessment) GetEvent() *Event { - if m != nil { - return m.Event - } - return nil -} - -func (m *Assessment) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -func (m *Assessment) GetTokenProperties() *TokenProperties { - if m != nil { - return m.TokenProperties - } - return nil -} - -func (m *Assessment) GetReasons() []Assessment_ClassificationReason { - if m != nil { - return m.Reasons - } - return nil -} - -type Event struct { - // Required. The user response token provided by the reCAPTCHA client-side integration - // on your site. - Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` - // Required. The site key that was used to invoke reCAPTCHA on your site and generate - // the token. - SiteKey string `protobuf:"bytes,2,opt,name=site_key,json=siteKey,proto3" json:"site_key,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Event) Reset() { *m = Event{} } -func (m *Event) String() string { return proto.CompactTextString(m) } -func (*Event) ProtoMessage() {} -func (*Event) Descriptor() ([]byte, []int) { - return fileDescriptor_72b3da91aae1398d, []int{4} -} - -func (m *Event) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Event.Unmarshal(m, b) -} -func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Event.Marshal(b, m, deterministic) -} -func (m *Event) XXX_Merge(src proto.Message) { - xxx_messageInfo_Event.Merge(m, src) -} -func (m *Event) XXX_Size() int { - return xxx_messageInfo_Event.Size(m) -} -func (m *Event) XXX_DiscardUnknown() { - xxx_messageInfo_Event.DiscardUnknown(m) -} - -var xxx_messageInfo_Event proto.InternalMessageInfo - -func (m *Event) GetToken() string { - if m != nil { - return m.Token - } - return "" -} - -func (m *Event) GetSiteKey() string { - if m != nil { - return m.SiteKey - } - return "" -} - -type TokenProperties struct { - // Whether the provided user response token is valid. - Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"` - // Reason associated with the response when valid = false. - InvalidReason TokenProperties_InvalidReason `protobuf:"varint,2,opt,name=invalid_reason,json=invalidReason,proto3,enum=google.cloud.recaptchaenterprise.v1beta1.TokenProperties_InvalidReason" json:"invalid_reason,omitempty"` - // The timestamp corresponding to the generation of the token. - CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // The hostname of the page on which the token was generated. - Hostname string `protobuf:"bytes,4,opt,name=hostname,proto3" json:"hostname,omitempty"` - // Action name provided at token generation. - Action string `protobuf:"bytes,5,opt,name=action,proto3" json:"action,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TokenProperties) Reset() { *m = TokenProperties{} } -func (m *TokenProperties) String() string { return proto.CompactTextString(m) } -func (*TokenProperties) ProtoMessage() {} -func (*TokenProperties) Descriptor() ([]byte, []int) { - return fileDescriptor_72b3da91aae1398d, []int{5} -} - -func (m *TokenProperties) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TokenProperties.Unmarshal(m, b) -} -func (m *TokenProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TokenProperties.Marshal(b, m, deterministic) -} -func (m *TokenProperties) XXX_Merge(src proto.Message) { - xxx_messageInfo_TokenProperties.Merge(m, src) -} -func (m *TokenProperties) XXX_Size() int { - return xxx_messageInfo_TokenProperties.Size(m) -} -func (m *TokenProperties) XXX_DiscardUnknown() { - xxx_messageInfo_TokenProperties.DiscardUnknown(m) -} - -var xxx_messageInfo_TokenProperties proto.InternalMessageInfo - -func (m *TokenProperties) GetValid() bool { - if m != nil { - return m.Valid - } - return false -} - -func (m *TokenProperties) GetInvalidReason() TokenProperties_InvalidReason { - if m != nil { - return m.InvalidReason - } - return TokenProperties_INVALID_REASON_UNSPECIFIED -} - -func (m *TokenProperties) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *TokenProperties) GetHostname() string { - if m != nil { - return m.Hostname - } - return "" -} - -func (m *TokenProperties) GetAction() string { - if m != nil { - return m.Action - } - return "" -} - -func init() { - proto.RegisterEnum("google.cloud.recaptchaenterprise.v1beta1.AnnotateAssessmentRequest_Annotation", AnnotateAssessmentRequest_Annotation_name, AnnotateAssessmentRequest_Annotation_value) - proto.RegisterEnum("google.cloud.recaptchaenterprise.v1beta1.Assessment_ClassificationReason", Assessment_ClassificationReason_name, Assessment_ClassificationReason_value) - proto.RegisterEnum("google.cloud.recaptchaenterprise.v1beta1.TokenProperties_InvalidReason", TokenProperties_InvalidReason_name, TokenProperties_InvalidReason_value) - proto.RegisterType((*CreateAssessmentRequest)(nil), "google.cloud.recaptchaenterprise.v1beta1.CreateAssessmentRequest") - proto.RegisterType((*AnnotateAssessmentRequest)(nil), "google.cloud.recaptchaenterprise.v1beta1.AnnotateAssessmentRequest") - proto.RegisterType((*AnnotateAssessmentResponse)(nil), "google.cloud.recaptchaenterprise.v1beta1.AnnotateAssessmentResponse") - proto.RegisterType((*Assessment)(nil), "google.cloud.recaptchaenterprise.v1beta1.Assessment") - proto.RegisterType((*Event)(nil), "google.cloud.recaptchaenterprise.v1beta1.Event") - proto.RegisterType((*TokenProperties)(nil), "google.cloud.recaptchaenterprise.v1beta1.TokenProperties") -} - -func init() { - proto.RegisterFile("google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.proto", fileDescriptor_72b3da91aae1398d) -} - -var fileDescriptor_72b3da91aae1398d = []byte{ - // 1146 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcf, 0x6f, 0xe3, 0x44, - 0x14, 0xc6, 0xf9, 0xd1, 0x1f, 0x53, 0xb5, 0xf5, 0x8e, 0xaa, 0x6d, 0x1a, 0x2d, 0x4b, 0xd7, 0x12, - 0x28, 0xea, 0x6e, 0x6d, 0xb5, 0x0b, 0x48, 0x74, 0xc5, 0x61, 0xe2, 0x4c, 0x52, 0xab, 0x89, 0x13, - 0xd9, 0x4e, 0x77, 0x81, 0x4a, 0x96, 0xeb, 0x4e, 0x13, 0xb3, 0x89, 0x6d, 0x3c, 0x6e, 0xab, 0x55, - 0xd5, 0x0b, 0xff, 0x01, 0xe2, 0xca, 0x09, 0x89, 0x0b, 0x7f, 0x01, 0x57, 0xae, 0x2b, 0x71, 0x81, - 0xdb, 0x4a, 0x48, 0x3d, 0x70, 0xe2, 0xc2, 0x15, 0x71, 0x40, 0xc8, 0x63, 0x27, 0x4e, 0x8a, 0x97, - 0xed, 0x96, 0xbd, 0x79, 0xe6, 0xbd, 0xf9, 0xde, 0x7c, 0xf3, 0xbe, 0xf7, 0x9e, 0x41, 0xb5, 0xe7, - 0x79, 0xbd, 0x01, 0x91, 0xec, 0x81, 0x77, 0x72, 0x24, 0x05, 0xc4, 0xb6, 0xfc, 0xd0, 0xee, 0x5b, - 0xc4, 0x0d, 0x49, 0xe0, 0x07, 0x0e, 0x25, 0xd2, 0xe9, 0xd6, 0x21, 0x09, 0xad, 0xad, 0x2c, 0x9b, - 0xe8, 0x07, 0x5e, 0xe8, 0xc1, 0x4a, 0x8c, 0x21, 0x32, 0x0c, 0x31, 0xcb, 0x2f, 0xc1, 0x28, 0xdf, - 0x49, 0xa2, 0x59, 0xbe, 0x23, 0x59, 0xae, 0xeb, 0x85, 0x56, 0xe8, 0x78, 0x2e, 0x8d, 0x71, 0xca, - 0xab, 0x13, 0x56, 0x7b, 0xe0, 0x10, 0x37, 0x4c, 0x0c, 0xef, 0x4c, 0x18, 0x8e, 0x1d, 0x32, 0x38, - 0x32, 0x0f, 0x49, 0xdf, 0x3a, 0x75, 0xbc, 0x20, 0x71, 0x58, 0x9b, 0x70, 0x08, 0x08, 0xf5, 0x4e, - 0x02, 0x9b, 0x5c, 0x39, 0xcb, 0x56, 0x87, 0x27, 0xc7, 0x52, 0xe8, 0x0c, 0x09, 0x0d, 0xad, 0xa1, - 0x1f, 0x3b, 0x08, 0x3f, 0x72, 0x60, 0x55, 0x0e, 0x88, 0x15, 0x12, 0x44, 0x29, 0xa1, 0x74, 0x48, - 0xdc, 0x50, 0x23, 0x5f, 0x9c, 0x10, 0x1a, 0xc2, 0x3d, 0x30, 0xe3, 0x5b, 0x01, 0x71, 0xc3, 0x12, - 0xb7, 0xce, 0x55, 0xe6, 0xab, 0x0f, 0x2f, 0x51, 0xee, 0x2f, 0xb4, 0x09, 0xee, 0x33, 0xaa, 0xa3, - 0x48, 0x43, 0xcb, 0xb5, 0x7a, 0x24, 0x10, 0xe3, 0x48, 0x96, 0xef, 0x50, 0xd1, 0xf6, 0x86, 0x52, - 0x27, 0xf0, 0x3e, 0x27, 0x76, 0xa8, 0x25, 0x10, 0xf0, 0x13, 0x00, 0xac, 0x71, 0x84, 0x52, 0x6e, - 0x9d, 0xab, 0x2c, 0x6c, 0xbf, 0x2f, 0x5e, 0xf7, 0xed, 0xc4, 0xf4, 0x76, 0xd5, 0xfc, 0x25, 0xca, - 0x69, 0x13, 0x60, 0xc2, 0x77, 0x39, 0xb0, 0x86, 0xe2, 0xf7, 0xcc, 0x60, 0xa1, 0x80, 0x82, 0x6b, - 0x0d, 0x49, 0xc2, 0xe1, 0x03, 0xc6, 0x41, 0x02, 0x9b, 0x59, 0xc1, 0xae, 0x50, 0x98, 0xc0, 0x62, - 0x10, 0x90, 0x02, 0x90, 0xe6, 0x8d, 0x71, 0x58, 0xda, 0x56, 0x5f, 0x83, 0xc3, 0xcb, 0xee, 0x38, - 0xb2, 0x38, 0x9e, 0x3b, 0x62, 0x37, 0xde, 0x10, 0x76, 0x01, 0x48, 0xcd, 0xb0, 0x0c, 0x6e, 0x23, - 0x55, 0x6d, 0x1b, 0xc8, 0x50, 0xda, 0xaa, 0xd9, 0x55, 0xf5, 0x0e, 0x96, 0x95, 0xba, 0x82, 0x6b, - 0xfc, 0x5b, 0x70, 0x09, 0x80, 0x26, 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00, 0x00, - 0xff, 0xff, 0xa3, 0xc1, 0x01, 0xca, 0xc3, 0x0a, 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 - -// RecaptchaEnterpriseServiceV1Beta1Client is the client API for RecaptchaEnterpriseServiceV1Beta1 service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RecaptchaEnterpriseServiceV1Beta1Client interface { - // Creates an Assessment of the likelihood an event is legitimate. - CreateAssessment(ctx context.Context, in *CreateAssessmentRequest, opts ...grpc.CallOption) (*Assessment, error) - // Annotates a previously created Assessment to provide additional information - // on whether the event turned out to be authentic or fradulent. - AnnotateAssessment(ctx context.Context, in *AnnotateAssessmentRequest, opts ...grpc.CallOption) (*AnnotateAssessmentResponse, error) -} - -type recaptchaEnterpriseServiceV1Beta1Client struct { - cc *grpc.ClientConn -} - -func NewRecaptchaEnterpriseServiceV1Beta1Client(cc *grpc.ClientConn) RecaptchaEnterpriseServiceV1Beta1Client { - return &recaptchaEnterpriseServiceV1Beta1Client{cc} -} - -func (c *recaptchaEnterpriseServiceV1Beta1Client) CreateAssessment(ctx context.Context, in *CreateAssessmentRequest, opts ...grpc.CallOption) (*Assessment, error) { - out := new(Assessment) - err := c.cc.Invoke(ctx, "/google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1/CreateAssessment", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *recaptchaEnterpriseServiceV1Beta1Client) AnnotateAssessment(ctx context.Context, in *AnnotateAssessmentRequest, opts ...grpc.CallOption) (*AnnotateAssessmentResponse, error) { - out := new(AnnotateAssessmentResponse) - err := c.cc.Invoke(ctx, "/google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1/AnnotateAssessment", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RecaptchaEnterpriseServiceV1Beta1Server is the server API for RecaptchaEnterpriseServiceV1Beta1 service. -type RecaptchaEnterpriseServiceV1Beta1Server interface { - // Creates an Assessment of the likelihood an event is legitimate. - CreateAssessment(context.Context, *CreateAssessmentRequest) (*Assessment, error) - // Annotates a previously created Assessment to provide additional information - // on whether the event turned out to be authentic or fradulent. - AnnotateAssessment(context.Context, *AnnotateAssessmentRequest) (*AnnotateAssessmentResponse, error) -} - -// UnimplementedRecaptchaEnterpriseServiceV1Beta1Server can be embedded to have forward compatible implementations. -type UnimplementedRecaptchaEnterpriseServiceV1Beta1Server struct { -} - -func (*UnimplementedRecaptchaEnterpriseServiceV1Beta1Server) CreateAssessment(ctx context.Context, req *CreateAssessmentRequest) (*Assessment, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateAssessment not implemented") -} -func (*UnimplementedRecaptchaEnterpriseServiceV1Beta1Server) AnnotateAssessment(ctx context.Context, req *AnnotateAssessmentRequest) (*AnnotateAssessmentResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AnnotateAssessment not implemented") -} - -func RegisterRecaptchaEnterpriseServiceV1Beta1Server(s *grpc.Server, srv RecaptchaEnterpriseServiceV1Beta1Server) { - s.RegisterService(&_RecaptchaEnterpriseServiceV1Beta1_serviceDesc, srv) -} - -func _RecaptchaEnterpriseServiceV1Beta1_CreateAssessment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateAssessmentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RecaptchaEnterpriseServiceV1Beta1Server).CreateAssessment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1/CreateAssessment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RecaptchaEnterpriseServiceV1Beta1Server).CreateAssessment(ctx, req.(*CreateAssessmentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RecaptchaEnterpriseServiceV1Beta1_AnnotateAssessment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AnnotateAssessmentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RecaptchaEnterpriseServiceV1Beta1Server).AnnotateAssessment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1/AnnotateAssessment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RecaptchaEnterpriseServiceV1Beta1Server).AnnotateAssessment(ctx, req.(*AnnotateAssessmentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _RecaptchaEnterpriseServiceV1Beta1_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1", - HandlerType: (*RecaptchaEnterpriseServiceV1Beta1Server)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateAssessment", - Handler: _RecaptchaEnterpriseServiceV1Beta1_CreateAssessment_Handler, - }, - { - MethodName: "AnnotateAssessment", - Handler: _RecaptchaEnterpriseServiceV1Beta1_AnnotateAssessment_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/recommender/v1beta1/recommendation.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/recommender/v1beta1/recommendation.pb.go deleted file mode 100644 index b5df3365..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/recommender/v1beta1/recommendation.pb.go +++ /dev/null @@ -1,734 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/recommender/v1beta1/recommendation.proto - -package recommender - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - _struct "github.com/golang/protobuf/ptypes/struct" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - money "google.golang.org/genproto/googleapis/type/money" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// The category of the impact. -type Impact_Category int32 - -const ( - // Default unspecified category. Don't use directly. - Impact_CATEGORY_UNSPECIFIED Impact_Category = 0 - // Indicates a potential increase or decrease in cost. - Impact_COST Impact_Category = 1 - // Indicates a potential increase or decrease in security. - Impact_SECURITY Impact_Category = 2 - // Indicates a potential increase or decrease in performance. - Impact_PERFORMANCE Impact_Category = 3 -) - -var Impact_Category_name = map[int32]string{ - 0: "CATEGORY_UNSPECIFIED", - 1: "COST", - 2: "SECURITY", - 3: "PERFORMANCE", -} - -var Impact_Category_value = map[string]int32{ - "CATEGORY_UNSPECIFIED": 0, - "COST": 1, - "SECURITY": 2, - "PERFORMANCE": 3, -} - -func (x Impact_Category) String() string { - return proto.EnumName(Impact_Category_name, int32(x)) -} - -func (Impact_Category) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_79be8d5bd206286c, []int{5, 0} -} - -// Represents Recommendation State -type RecommendationStateInfo_State int32 - -const ( - // Default state. Don't use directly. - RecommendationStateInfo_STATE_UNSPECIFIED RecommendationStateInfo_State = 0 - // Recommendation is active and can be applied. Recommendations content can - // be updated by Google. - // - // ACTIVE recommendations can be marked as CLAIMED, SUCCEEDED, or FAILED. - RecommendationStateInfo_ACTIVE RecommendationStateInfo_State = 1 - // Recommendation is in claimed state. Recommendations content is - // immutable and cannot be updated by Google. - // - // CLAIMED recommendations can be marked as CLAIMED, SUCCEEDED, or FAILED. - RecommendationStateInfo_CLAIMED RecommendationStateInfo_State = 6 - // Recommendation is in succeeded state. Recommendations content is - // immutable and cannot be updated by Google. - // - // SUCCEEDED recommendations can be marked as SUCCEEDED, or FAILED. - RecommendationStateInfo_SUCCEEDED RecommendationStateInfo_State = 3 - // Recommendation is in failed state. Recommendations content is immutable - // and cannot be updated by Google. - // - // FAILED recommendations can be marked as SUCCEEDED, or FAILED. - RecommendationStateInfo_FAILED RecommendationStateInfo_State = 4 - // Recommendation is in dismissed state. Recommendation content can be - // updated by Google. - // - // DISMISSED recommendations can be marked as ACTIVE. - RecommendationStateInfo_DISMISSED RecommendationStateInfo_State = 5 -) - -var RecommendationStateInfo_State_name = map[int32]string{ - 0: "STATE_UNSPECIFIED", - 1: "ACTIVE", - 6: "CLAIMED", - 3: "SUCCEEDED", - 4: "FAILED", - 5: "DISMISSED", -} - -var RecommendationStateInfo_State_value = map[string]int32{ - "STATE_UNSPECIFIED": 0, - "ACTIVE": 1, - "CLAIMED": 6, - "SUCCEEDED": 3, - "FAILED": 4, - "DISMISSED": 5, -} - -func (x RecommendationStateInfo_State) String() string { - return proto.EnumName(RecommendationStateInfo_State_name, int32(x)) -} - -func (RecommendationStateInfo_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_79be8d5bd206286c, []int{6, 0} -} - -// A recommendation along with a suggested action. E.g., a rightsizing -// recommendation for an underutilized VM, IAM role recommendations, etc -type Recommendation struct { - // Name of recommendation. - // - // A project recommendation is represented as - // projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/recommendations/[RECOMMENDATION_ID] - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Free-form human readable summary in English. The maximum length is 500 - // characters. - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - // Contains an identifier for a subtype of recommendations produced for the - // same recommender. Subtype is a function of content and impact, meaning a - // new subtype will be added when either content or primary impact category - // changes. - // - // Examples: - // For recommender = "google.iam.policy.RoleRecommender", - // recommender_subtype can be one of "REMOVE_ROLE"/"REPLACE_ROLE" - RecommenderSubtype string `protobuf:"bytes,12,opt,name=recommender_subtype,json=recommenderSubtype,proto3" json:"recommender_subtype,omitempty"` - // Last time this recommendation was refreshed by the system that created it - // in the first place. - LastRefreshTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=last_refresh_time,json=lastRefreshTime,proto3" json:"last_refresh_time,omitempty"` - // The primary impact that this recommendation can have while trying to - // optimize for one category. - PrimaryImpact *Impact `protobuf:"bytes,5,opt,name=primary_impact,json=primaryImpact,proto3" json:"primary_impact,omitempty"` - // Optional set of additional impact that this recommendation may have when - // trying to optimize for the primary category. These may be positive - // or negative. - AdditionalImpact []*Impact `protobuf:"bytes,6,rep,name=additional_impact,json=additionalImpact,proto3" json:"additional_impact,omitempty"` - // Content of the recommendation describing recommended changes to resources. - Content *RecommendationContent `protobuf:"bytes,7,opt,name=content,proto3" json:"content,omitempty"` - // Information for state. Contains state and metadata. - StateInfo *RecommendationStateInfo `protobuf:"bytes,10,opt,name=state_info,json=stateInfo,proto3" json:"state_info,omitempty"` - // Fingerprint of the Recommendation. Provides optimistic locking when - // updating states. - Etag string `protobuf:"bytes,11,opt,name=etag,proto3" json:"etag,omitempty"` - 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_79be8d5bd206286c, []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 (m *Recommendation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Recommendation.Merge(m, 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) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Recommendation) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *Recommendation) GetRecommenderSubtype() string { - if m != nil { - return m.RecommenderSubtype - } - return "" -} - -func (m *Recommendation) GetLastRefreshTime() *timestamp.Timestamp { - if m != nil { - return m.LastRefreshTime - } - return nil -} - -func (m *Recommendation) GetPrimaryImpact() *Impact { - if m != nil { - return m.PrimaryImpact - } - return nil -} - -func (m *Recommendation) GetAdditionalImpact() []*Impact { - if m != nil { - return m.AdditionalImpact - } - return nil -} - -func (m *Recommendation) GetContent() *RecommendationContent { - if m != nil { - return m.Content - } - return nil -} - -func (m *Recommendation) GetStateInfo() *RecommendationStateInfo { - if m != nil { - return m.StateInfo - } - return nil -} - -func (m *Recommendation) GetEtag() string { - if m != nil { - return m.Etag - } - return "" -} - -// Contains what resources are changing and how they are changing. -type RecommendationContent struct { - // Operations to one or more Google Cloud resources grouped in such a way - // that, all operations within one group are expected to be performed - // atomically and in an order. - OperationGroups []*OperationGroup `protobuf:"bytes,2,rep,name=operation_groups,json=operationGroups,proto3" json:"operation_groups,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RecommendationContent) Reset() { *m = RecommendationContent{} } -func (m *RecommendationContent) String() string { return proto.CompactTextString(m) } -func (*RecommendationContent) ProtoMessage() {} -func (*RecommendationContent) Descriptor() ([]byte, []int) { - return fileDescriptor_79be8d5bd206286c, []int{1} -} - -func (m *RecommendationContent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RecommendationContent.Unmarshal(m, b) -} -func (m *RecommendationContent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RecommendationContent.Marshal(b, m, deterministic) -} -func (m *RecommendationContent) XXX_Merge(src proto.Message) { - xxx_messageInfo_RecommendationContent.Merge(m, src) -} -func (m *RecommendationContent) XXX_Size() int { - return xxx_messageInfo_RecommendationContent.Size(m) -} -func (m *RecommendationContent) XXX_DiscardUnknown() { - xxx_messageInfo_RecommendationContent.DiscardUnknown(m) -} - -var xxx_messageInfo_RecommendationContent proto.InternalMessageInfo - -func (m *RecommendationContent) GetOperationGroups() []*OperationGroup { - if m != nil { - return m.OperationGroups - } - return nil -} - -// Group of operations that need to be performed atomically. -type OperationGroup struct { - // List of operations across one or more resources that belong to this group. - // Loosely based on RFC6902 and should be performed in the order they appear. - Operations []*Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OperationGroup) Reset() { *m = OperationGroup{} } -func (m *OperationGroup) String() string { return proto.CompactTextString(m) } -func (*OperationGroup) ProtoMessage() {} -func (*OperationGroup) Descriptor() ([]byte, []int) { - return fileDescriptor_79be8d5bd206286c, []int{2} -} - -func (m *OperationGroup) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OperationGroup.Unmarshal(m, b) -} -func (m *OperationGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OperationGroup.Marshal(b, m, deterministic) -} -func (m *OperationGroup) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperationGroup.Merge(m, src) -} -func (m *OperationGroup) XXX_Size() int { - return xxx_messageInfo_OperationGroup.Size(m) -} -func (m *OperationGroup) XXX_DiscardUnknown() { - xxx_messageInfo_OperationGroup.DiscardUnknown(m) -} - -var xxx_messageInfo_OperationGroup proto.InternalMessageInfo - -func (m *OperationGroup) GetOperations() []*Operation { - if m != nil { - return m.Operations - } - return nil -} - -// Contains an operation for a resource inspired by the JSON-PATCH format with -// support for: -// * Custom filters for describing partial array patch. -// * Extended path values for describing nested arrays. -// * Custom fields for describing the resource for which the operation is being -// described. -// * Allows extension to custom operations not natively supported by RFC6902. -// See https://tools.ietf.org/html/rfc6902 for details on the original RFC. -type Operation struct { - // Type of this operation. Contains one of 'and', 'remove', 'replace', 'move', - // 'copy', 'test' and custom operations. This field is case-insensitive and - // always populated. - Action string `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` - // Type of GCP resource being modified/tested. This field is always populated. - // Example: cloudresourcemanager.googleapis.com/Project, - // compute.googleapis.com/Instance - ResourceType string `protobuf:"bytes,2,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"` - // Contains the fully qualified resource name. This field is always populated. - // ex: //cloudresourcemanager.googleapis.com/projects/foo. - Resource string `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"` - // Path to the target field being operated on. If the operation is at the - // resource level, then path should be "/". This field is always populated. - Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` - // Can be set with action 'copy' to copy resource configuration across - // different resources of the same type. Example: A resource clone can be - // done via action = 'copy', path = "/", from = "/", - // source_resource = and resource_name = . - // This field is empty for all other values of `action`. - SourceResource string `protobuf:"bytes,5,opt,name=source_resource,json=sourceResource,proto3" json:"source_resource,omitempty"` - // Can be set with action 'copy' or 'move' to indicate the source field within - // resource or source_resource, ignored if provided for other operation types. - SourcePath string `protobuf:"bytes,6,opt,name=source_path,json=sourcePath,proto3" json:"source_path,omitempty"` - // Value for the `path` field. Set if action is 'add'/'replace'/'test'. - Value *_struct.Value `protobuf:"bytes,7,opt,name=value,proto3" json:"value,omitempty"` - // Set of filters to apply if `path` refers to array elements or nested array - // elements in order to narrow down to a single unique element that is being - // tested/modified. - // Note that this is intended to be an exact match per filter. - // Example: { - // "/versions/*/name" : "it-123" - // "/versions/*/targetSize/percent": 20 - // } - // Example: { - // "/bindings/*/role": "roles/admin" - // "/bindings/*/condition" : null - // } - // Example: { - // "/bindings/*/role": "roles/admin" - // "/bindings/*/members/*" : ["x@google.com", "y@google.com"] - // } - PathFilters map[string]*_struct.Value `protobuf:"bytes,8,rep,name=path_filters,json=pathFilters,proto3" json:"path_filters,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 *Operation) Reset() { *m = Operation{} } -func (m *Operation) String() string { return proto.CompactTextString(m) } -func (*Operation) ProtoMessage() {} -func (*Operation) Descriptor() ([]byte, []int) { - return fileDescriptor_79be8d5bd206286c, []int{3} -} - -func (m *Operation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Operation.Unmarshal(m, b) -} -func (m *Operation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Operation.Marshal(b, m, deterministic) -} -func (m *Operation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Operation.Merge(m, src) -} -func (m *Operation) XXX_Size() int { - return xxx_messageInfo_Operation.Size(m) -} -func (m *Operation) XXX_DiscardUnknown() { - xxx_messageInfo_Operation.DiscardUnknown(m) -} - -var xxx_messageInfo_Operation proto.InternalMessageInfo - -func (m *Operation) GetAction() string { - if m != nil { - return m.Action - } - return "" -} - -func (m *Operation) GetResourceType() string { - if m != nil { - return m.ResourceType - } - return "" -} - -func (m *Operation) GetResource() string { - if m != nil { - return m.Resource - } - return "" -} - -func (m *Operation) GetPath() string { - if m != nil { - return m.Path - } - return "" -} - -func (m *Operation) GetSourceResource() string { - if m != nil { - return m.SourceResource - } - return "" -} - -func (m *Operation) GetSourcePath() string { - if m != nil { - return m.SourcePath - } - return "" -} - -func (m *Operation) GetValue() *_struct.Value { - if m != nil { - return m.Value - } - return nil -} - -func (m *Operation) GetPathFilters() map[string]*_struct.Value { - if m != nil { - return m.PathFilters - } - return nil -} - -// Contains metadata about how much money a recommendation can save or incur. -type CostProjection struct { - // An approximate projection on amount saved or amount incurred. Negative cost - // units indicate cost savings and positive cost units indicate increase. - // See google.type.Money documentation for positive/negative units. - Cost *money.Money `protobuf:"bytes,1,opt,name=cost,proto3" json:"cost,omitempty"` - // Duration for which this cost applies. - Duration *duration.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CostProjection) Reset() { *m = CostProjection{} } -func (m *CostProjection) String() string { return proto.CompactTextString(m) } -func (*CostProjection) ProtoMessage() {} -func (*CostProjection) Descriptor() ([]byte, []int) { - return fileDescriptor_79be8d5bd206286c, []int{4} -} - -func (m *CostProjection) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CostProjection.Unmarshal(m, b) -} -func (m *CostProjection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CostProjection.Marshal(b, m, deterministic) -} -func (m *CostProjection) XXX_Merge(src proto.Message) { - xxx_messageInfo_CostProjection.Merge(m, src) -} -func (m *CostProjection) XXX_Size() int { - return xxx_messageInfo_CostProjection.Size(m) -} -func (m *CostProjection) XXX_DiscardUnknown() { - xxx_messageInfo_CostProjection.DiscardUnknown(m) -} - -var xxx_messageInfo_CostProjection proto.InternalMessageInfo - -func (m *CostProjection) GetCost() *money.Money { - if m != nil { - return m.Cost - } - return nil -} - -func (m *CostProjection) GetDuration() *duration.Duration { - if m != nil { - return m.Duration - } - return nil -} - -// Contains the impact a recommendation can have for a given category. -type Impact struct { - // Category that is being targeted. - Category Impact_Category `protobuf:"varint,1,opt,name=category,proto3,enum=google.cloud.recommender.v1beta1.Impact_Category" json:"category,omitempty"` - // Contains projections (if any) for this category. - // - // Types that are valid to be assigned to Projection: - // *Impact_CostProjection - Projection isImpact_Projection `protobuf_oneof:"projection"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Impact) Reset() { *m = Impact{} } -func (m *Impact) String() string { return proto.CompactTextString(m) } -func (*Impact) ProtoMessage() {} -func (*Impact) Descriptor() ([]byte, []int) { - return fileDescriptor_79be8d5bd206286c, []int{5} -} - -func (m *Impact) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Impact.Unmarshal(m, b) -} -func (m *Impact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Impact.Marshal(b, m, deterministic) -} -func (m *Impact) XXX_Merge(src proto.Message) { - xxx_messageInfo_Impact.Merge(m, src) -} -func (m *Impact) XXX_Size() int { - return xxx_messageInfo_Impact.Size(m) -} -func (m *Impact) XXX_DiscardUnknown() { - xxx_messageInfo_Impact.DiscardUnknown(m) -} - -var xxx_messageInfo_Impact proto.InternalMessageInfo - -func (m *Impact) GetCategory() Impact_Category { - if m != nil { - return m.Category - } - return Impact_CATEGORY_UNSPECIFIED -} - -type isImpact_Projection interface { - isImpact_Projection() -} - -type Impact_CostProjection struct { - CostProjection *CostProjection `protobuf:"bytes,100,opt,name=cost_projection,json=costProjection,proto3,oneof"` -} - -func (*Impact_CostProjection) isImpact_Projection() {} - -func (m *Impact) GetProjection() isImpact_Projection { - if m != nil { - return m.Projection - } - return nil -} - -func (m *Impact) GetCostProjection() *CostProjection { - if x, ok := m.GetProjection().(*Impact_CostProjection); ok { - return x.CostProjection - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Impact) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Impact_CostProjection)(nil), - } -} - -// Information for state. Contains state and metadata. -type RecommendationStateInfo struct { - // The state of the recommendation, Eg ACTIVE, SUCCEEDED, FAILED. - State RecommendationStateInfo_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.recommender.v1beta1.RecommendationStateInfo_State" json:"state,omitempty"` - // A map of metadata for the state, provided by user or automations systems. - StateMetadata map[string]string `protobuf:"bytes,2,rep,name=state_metadata,json=stateMetadata,proto3" json:"state_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:"-"` -} - -func (m *RecommendationStateInfo) Reset() { *m = RecommendationStateInfo{} } -func (m *RecommendationStateInfo) String() string { return proto.CompactTextString(m) } -func (*RecommendationStateInfo) ProtoMessage() {} -func (*RecommendationStateInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_79be8d5bd206286c, []int{6} -} - -func (m *RecommendationStateInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RecommendationStateInfo.Unmarshal(m, b) -} -func (m *RecommendationStateInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RecommendationStateInfo.Marshal(b, m, deterministic) -} -func (m *RecommendationStateInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_RecommendationStateInfo.Merge(m, src) -} -func (m *RecommendationStateInfo) XXX_Size() int { - return xxx_messageInfo_RecommendationStateInfo.Size(m) -} -func (m *RecommendationStateInfo) XXX_DiscardUnknown() { - xxx_messageInfo_RecommendationStateInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_RecommendationStateInfo proto.InternalMessageInfo - -func (m *RecommendationStateInfo) GetState() RecommendationStateInfo_State { - if m != nil { - return m.State - } - return RecommendationStateInfo_STATE_UNSPECIFIED -} - -func (m *RecommendationStateInfo) GetStateMetadata() map[string]string { - if m != nil { - return m.StateMetadata - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.recommender.v1beta1.Impact_Category", Impact_Category_name, Impact_Category_value) - proto.RegisterEnum("google.cloud.recommender.v1beta1.RecommendationStateInfo_State", RecommendationStateInfo_State_name, RecommendationStateInfo_State_value) - proto.RegisterType((*Recommendation)(nil), "google.cloud.recommender.v1beta1.Recommendation") - proto.RegisterType((*RecommendationContent)(nil), "google.cloud.recommender.v1beta1.RecommendationContent") - proto.RegisterType((*OperationGroup)(nil), "google.cloud.recommender.v1beta1.OperationGroup") - proto.RegisterType((*Operation)(nil), "google.cloud.recommender.v1beta1.Operation") - proto.RegisterMapType((map[string]*_struct.Value)(nil), "google.cloud.recommender.v1beta1.Operation.PathFiltersEntry") - proto.RegisterType((*CostProjection)(nil), "google.cloud.recommender.v1beta1.CostProjection") - proto.RegisterType((*Impact)(nil), "google.cloud.recommender.v1beta1.Impact") - proto.RegisterType((*RecommendationStateInfo)(nil), "google.cloud.recommender.v1beta1.RecommendationStateInfo") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.recommender.v1beta1.RecommendationStateInfo.StateMetadataEntry") -} - -func init() { - proto.RegisterFile("google/cloud/recommender/v1beta1/recommendation.proto", fileDescriptor_79be8d5bd206286c) -} - -var fileDescriptor_79be8d5bd206286c = []byte{ - // 956 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0x6b, 0x6f, 0xe3, 0x44, - 0x14, 0xdd, 0x3c, 0x9b, 0xdc, 0xb4, 0xa9, 0x3b, 0xec, 0xc3, 0x44, 0x88, 0x8d, 0x02, 0x82, 0x4a, - 0x20, 0x87, 0x16, 0xad, 0x78, 0x4a, 0x90, 0x3a, 0x6e, 0xb1, 0xb6, 0xd9, 0x96, 0x71, 0x52, 0xb1, - 0xac, 0x90, 0x35, 0x75, 0x26, 0xd9, 0x40, 0xec, 0xb1, 0xec, 0xc9, 0x4a, 0xf9, 0x0b, 0x7c, 0xe3, - 0x17, 0x20, 0xf1, 0x09, 0xf8, 0x95, 0x68, 0x1e, 0x4e, 0x9c, 0x76, 0x57, 0x6d, 0xd9, 0x6f, 0x33, - 0xf7, 0x9e, 0x73, 0xee, 0x9d, 0xeb, 0x33, 0x23, 0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xc3, 0xde, 0xd0, 0xb9, 0xf2, 0x01, 0x00, 0xaa, 0x3d, 0x7b, 0xe8, - 0x5e, 0x38, 0x46, 0x01, 0x35, 0x60, 0xcb, 0x3e, 0xed, 0xb9, 0x03, 0xa7, 0x6f, 0x54, 0xd1, 0x0e, - 0xd4, 0xbd, 0x91, 0x6d, 0x3b, 0x4e, 0xdf, 0xe9, 0x1b, 0x25, 0x81, 0x3b, 0xee, 0xb9, 0xa7, 0x4e, - 0xdf, 0x28, 0x8b, 0x54, 0xdf, 0xf5, 0x06, 0xae, 0xe7, 0x39, 0x7d, 0xa3, 0x72, 0xf4, 0x67, 0x01, - 0x3e, 0x0c, 0x58, 0x78, 0xe3, 0x1c, 0xce, 0x0b, 0x3f, 0x3f, 0xd5, 0x98, 0x29, 0x9b, 0x93, 0x68, - 0x6a, 0xb1, 0x64, 0xda, 0x9d, 0xd2, 0x48, 0xba, 0xbf, 0xab, 0x52, 0x24, 0x9e, 0xa5, 0x6f, 0xfe, - 0xb1, 0xf9, 0x26, 0x17, 0xfb, 0xab, 0x58, 0xb6, 0xb1, 0x63, 0xff, 0x5b, 0x6c, 0x9f, 0x28, 0x51, - 0x5b, 0x16, 0xc6, 0xb9, 0xc2, 0x17, 0x07, 0x47, 0x82, 0x75, 0x59, 0x95, 0x15, 0x3e, 0xff, 0x2f, - 0x00, 0x00, 0xff, 0xff, 0xef, 0x07, 0xdd, 0x2d, 0x39, 0x09, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/recommender/v1beta1/recommender_service.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/recommender/v1beta1/recommender_service.pb.go deleted file mode 100644 index 80934bd8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/recommender/v1beta1/recommender_service.pb.go +++ /dev/null @@ -1,744 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/recommender/v1beta1/recommender_service.proto - -package recommender - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - _ "google.golang.org/genproto/googleapis/longrunning" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request for the `ListRecommendations` method. -type ListRecommendationsRequest struct { - // Required. The container resource on which to execute the request. - // Acceptable formats: - // - // 1. - // "projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]", - // - // LOCATION here refers to GCP Locations: - // https://cloud.google.com/about/locations/ - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. The maximum number of results to return from this request. - // Non-positive values are ignored. If not specified, the server will - // determine the number of results to return. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional. If present, retrieves the next batch of results from the - // preceding call to this method. `page_token` must be the value of - // `next_page_token` from the previous response. The values of other method - // parameters must be identical to those in the previous call. - PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // Filter expression to restrict the recommendations returned. Supported - // filter fields: state_info.state - // Eg: `state_info.state:"DISMISSED" or state_info.state:"FAILED" - Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListRecommendationsRequest) Reset() { *m = ListRecommendationsRequest{} } -func (m *ListRecommendationsRequest) String() string { return proto.CompactTextString(m) } -func (*ListRecommendationsRequest) ProtoMessage() {} -func (*ListRecommendationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0ca265e4ecfbc6d8, []int{0} -} - -func (m *ListRecommendationsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListRecommendationsRequest.Unmarshal(m, b) -} -func (m *ListRecommendationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListRecommendationsRequest.Marshal(b, m, deterministic) -} -func (m *ListRecommendationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListRecommendationsRequest.Merge(m, src) -} -func (m *ListRecommendationsRequest) XXX_Size() int { - return xxx_messageInfo_ListRecommendationsRequest.Size(m) -} -func (m *ListRecommendationsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListRecommendationsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListRecommendationsRequest proto.InternalMessageInfo - -func (m *ListRecommendationsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListRecommendationsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListRecommendationsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListRecommendationsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -// Response to the `ListRecommendations` method. -type ListRecommendationsResponse struct { - // The set of recommendations for the `parent` resource. - Recommendations []*Recommendation `protobuf:"bytes,1,rep,name=recommendations,proto3" json:"recommendations,omitempty"` - // A token that can be used to request the next page of results. This field is - // empty if there are no additional 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 *ListRecommendationsResponse) Reset() { *m = ListRecommendationsResponse{} } -func (m *ListRecommendationsResponse) String() string { return proto.CompactTextString(m) } -func (*ListRecommendationsResponse) ProtoMessage() {} -func (*ListRecommendationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0ca265e4ecfbc6d8, []int{1} -} - -func (m *ListRecommendationsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListRecommendationsResponse.Unmarshal(m, b) -} -func (m *ListRecommendationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListRecommendationsResponse.Marshal(b, m, deterministic) -} -func (m *ListRecommendationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListRecommendationsResponse.Merge(m, src) -} -func (m *ListRecommendationsResponse) XXX_Size() int { - return xxx_messageInfo_ListRecommendationsResponse.Size(m) -} -func (m *ListRecommendationsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListRecommendationsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListRecommendationsResponse proto.InternalMessageInfo - -func (m *ListRecommendationsResponse) GetRecommendations() []*Recommendation { - if m != nil { - return m.Recommendations - } - return nil -} - -func (m *ListRecommendationsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request to the `GetRecommendation` method. -type GetRecommendationRequest struct { - // Name of the recommendation. - 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 *GetRecommendationRequest) Reset() { *m = GetRecommendationRequest{} } -func (m *GetRecommendationRequest) String() string { return proto.CompactTextString(m) } -func (*GetRecommendationRequest) ProtoMessage() {} -func (*GetRecommendationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0ca265e4ecfbc6d8, []int{2} -} - -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 (m *GetRecommendationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRecommendationRequest.Merge(m, 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) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request for the `MarkRecommendationClaimed` Method. -type MarkRecommendationClaimedRequest struct { - // Name of the recommendation. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // State properties to include with this state. Overwrites any existing - // `state_metadata`. - StateMetadata map[string]string `protobuf:"bytes,2,rep,name=state_metadata,json=stateMetadata,proto3" json:"state_metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Fingerprint of the Recommendation. Provides optimistic locking. - Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MarkRecommendationClaimedRequest) Reset() { *m = MarkRecommendationClaimedRequest{} } -func (m *MarkRecommendationClaimedRequest) String() string { return proto.CompactTextString(m) } -func (*MarkRecommendationClaimedRequest) ProtoMessage() {} -func (*MarkRecommendationClaimedRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0ca265e4ecfbc6d8, []int{3} -} - -func (m *MarkRecommendationClaimedRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MarkRecommendationClaimedRequest.Unmarshal(m, b) -} -func (m *MarkRecommendationClaimedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MarkRecommendationClaimedRequest.Marshal(b, m, deterministic) -} -func (m *MarkRecommendationClaimedRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MarkRecommendationClaimedRequest.Merge(m, src) -} -func (m *MarkRecommendationClaimedRequest) XXX_Size() int { - return xxx_messageInfo_MarkRecommendationClaimedRequest.Size(m) -} -func (m *MarkRecommendationClaimedRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MarkRecommendationClaimedRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MarkRecommendationClaimedRequest proto.InternalMessageInfo - -func (m *MarkRecommendationClaimedRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *MarkRecommendationClaimedRequest) GetStateMetadata() map[string]string { - if m != nil { - return m.StateMetadata - } - return nil -} - -func (m *MarkRecommendationClaimedRequest) GetEtag() string { - if m != nil { - return m.Etag - } - return "" -} - -// Request for the `MarkRecommendationSucceeded` Method. -type MarkRecommendationSucceededRequest struct { - // Name of the recommendation. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // State properties to include with this state. Overwrites any existing - // `state_metadata`. - StateMetadata map[string]string `protobuf:"bytes,2,rep,name=state_metadata,json=stateMetadata,proto3" json:"state_metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Fingerprint of the Recommendation. Provides optimistic locking. - Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MarkRecommendationSucceededRequest) Reset() { *m = MarkRecommendationSucceededRequest{} } -func (m *MarkRecommendationSucceededRequest) String() string { return proto.CompactTextString(m) } -func (*MarkRecommendationSucceededRequest) ProtoMessage() {} -func (*MarkRecommendationSucceededRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0ca265e4ecfbc6d8, []int{4} -} - -func (m *MarkRecommendationSucceededRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MarkRecommendationSucceededRequest.Unmarshal(m, b) -} -func (m *MarkRecommendationSucceededRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MarkRecommendationSucceededRequest.Marshal(b, m, deterministic) -} -func (m *MarkRecommendationSucceededRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MarkRecommendationSucceededRequest.Merge(m, src) -} -func (m *MarkRecommendationSucceededRequest) XXX_Size() int { - return xxx_messageInfo_MarkRecommendationSucceededRequest.Size(m) -} -func (m *MarkRecommendationSucceededRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MarkRecommendationSucceededRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MarkRecommendationSucceededRequest proto.InternalMessageInfo - -func (m *MarkRecommendationSucceededRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *MarkRecommendationSucceededRequest) GetStateMetadata() map[string]string { - if m != nil { - return m.StateMetadata - } - return nil -} - -func (m *MarkRecommendationSucceededRequest) GetEtag() string { - if m != nil { - return m.Etag - } - return "" -} - -// Request for the `MarkRecommendationFailed` Method. -type MarkRecommendationFailedRequest struct { - // Name of the recommendation. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // State properties to include with this state. Overwrites any existing - // `state_metadata`. - StateMetadata map[string]string `protobuf:"bytes,2,rep,name=state_metadata,json=stateMetadata,proto3" json:"state_metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Fingerprint of the Recommendation. Provides optimistic locking. - Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MarkRecommendationFailedRequest) Reset() { *m = MarkRecommendationFailedRequest{} } -func (m *MarkRecommendationFailedRequest) String() string { return proto.CompactTextString(m) } -func (*MarkRecommendationFailedRequest) ProtoMessage() {} -func (*MarkRecommendationFailedRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0ca265e4ecfbc6d8, []int{5} -} - -func (m *MarkRecommendationFailedRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MarkRecommendationFailedRequest.Unmarshal(m, b) -} -func (m *MarkRecommendationFailedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MarkRecommendationFailedRequest.Marshal(b, m, deterministic) -} -func (m *MarkRecommendationFailedRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MarkRecommendationFailedRequest.Merge(m, src) -} -func (m *MarkRecommendationFailedRequest) XXX_Size() int { - return xxx_messageInfo_MarkRecommendationFailedRequest.Size(m) -} -func (m *MarkRecommendationFailedRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MarkRecommendationFailedRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MarkRecommendationFailedRequest proto.InternalMessageInfo - -func (m *MarkRecommendationFailedRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *MarkRecommendationFailedRequest) GetStateMetadata() map[string]string { - if m != nil { - return m.StateMetadata - } - return nil -} - -func (m *MarkRecommendationFailedRequest) GetEtag() string { - if m != nil { - return m.Etag - } - return "" -} - -func init() { - proto.RegisterType((*ListRecommendationsRequest)(nil), "google.cloud.recommender.v1beta1.ListRecommendationsRequest") - proto.RegisterType((*ListRecommendationsResponse)(nil), "google.cloud.recommender.v1beta1.ListRecommendationsResponse") - proto.RegisterType((*GetRecommendationRequest)(nil), "google.cloud.recommender.v1beta1.GetRecommendationRequest") - proto.RegisterType((*MarkRecommendationClaimedRequest)(nil), "google.cloud.recommender.v1beta1.MarkRecommendationClaimedRequest") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.recommender.v1beta1.MarkRecommendationClaimedRequest.StateMetadataEntry") - proto.RegisterType((*MarkRecommendationSucceededRequest)(nil), "google.cloud.recommender.v1beta1.MarkRecommendationSucceededRequest") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.recommender.v1beta1.MarkRecommendationSucceededRequest.StateMetadataEntry") - proto.RegisterType((*MarkRecommendationFailedRequest)(nil), "google.cloud.recommender.v1beta1.MarkRecommendationFailedRequest") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.recommender.v1beta1.MarkRecommendationFailedRequest.StateMetadataEntry") -} - -func init() { - proto.RegisterFile("google/cloud/recommender/v1beta1/recommender_service.proto", fileDescriptor_0ca265e4ecfbc6d8) -} - -var fileDescriptor_0ca265e4ecfbc6d8 = []byte{ - // 787 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x56, 0x4f, 0x4f, 0x1b, 0x47, - 0x1c, 0xd5, 0x2c, 0x7f, 0x54, 0x06, 0x51, 0xe8, 0xb4, 0x6a, 0xb7, 0x4b, 0xab, 0xba, 0xdb, 0xaa, - 0x42, 0x96, 0xba, 0x53, 0xa8, 0x2a, 0x55, 0x6e, 0x91, 0x8a, 0x5d, 0x82, 0xa2, 0x84, 0x04, 0xad, - 0x21, 0x44, 0x48, 0x89, 0x33, 0xac, 0x7f, 0x2c, 0x1b, 0xef, 0xce, 0x6c, 0x76, 0xc7, 0x10, 0x20, - 0xe4, 0x90, 0x13, 0xca, 0x21, 0x97, 0x7c, 0x82, 0xe4, 0x98, 0x63, 0x3e, 0x46, 0x8e, 0xe4, 0x23, - 0x24, 0xe7, 0x48, 0x39, 0x71, 0x8d, 0xf6, 0x0f, 0xb0, 0xb6, 0xb1, 0x4d, 0x8c, 0x25, 0x6e, 0xbb, - 0xbf, 0xd9, 0xf7, 0x7e, 0xef, 0x3d, 0x5b, 0x4f, 0x83, 0x0b, 0xb6, 0x10, 0xb6, 0x0b, 0xd4, 0x72, - 0x45, 0xbd, 0x4a, 0x03, 0xb0, 0x84, 0xe7, 0x01, 0xaf, 0x42, 0x40, 0xb7, 0xa6, 0xd7, 0x41, 0xb2, - 0xe9, 0xec, 0xac, 0x12, 0x42, 0xb0, 0xe5, 0x58, 0x60, 0xf8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 0xdb, 0xdb, 0x4d, 0x87, - 0x94, 0xd5, 0xe5, 0x66, 0x72, 0xbf, 0xfb, 0xdd, 0x77, 0x99, 0xdc, 0x10, 0x81, 0x57, 0x7c, 0x8d, - 0xf0, 0xaf, 0x96, 0xf0, 0xba, 0xda, 0x2c, 0x4e, 0x64, 0xfa, 0x71, 0x29, 0xba, 0xbc, 0x2d, 0xa1, - 0xb5, 0x6b, 0x29, 0xca, 0x16, 0x2e, 0xe3, 0xb6, 0x21, 0x02, 0x9b, 0xda, 0xc0, 0xe3, 0xab, 0x1d, - 0x3d, 0xdd, 0xdd, 0xfe, 0x4a, 0xf9, 0x4f, 0x66, 0xf6, 0x52, 0x19, 0x2c, 0x99, 0xf3, 0xa5, 0x57, - 0xca, 0xcf, 0x0b, 0x09, 0x69, 0x29, 0x96, 0x92, 0x6c, 0x4d, 0xb5, 0xdc, 0x9a, 0x2e, 0x46, 0xb0, - 0xf5, 0xe1, 0x78, 0xc5, 0x9f, 0x9f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xba, 0x70, 0xce, 0xac, 0x30, - 0x0b, 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 - -// RecommenderClient is the client API for Recommender service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RecommenderClient interface { - // Lists recommendations for a Cloud project. Requires the recommender.*.list - // IAM permission for the specified recommender. - ListRecommendations(ctx context.Context, in *ListRecommendationsRequest, opts ...grpc.CallOption) (*ListRecommendationsResponse, error) - // Gets the requested recommendation. Requires the recommender.*.get - // IAM permission for the specified recommender. - GetRecommendation(ctx context.Context, in *GetRecommendationRequest, opts ...grpc.CallOption) (*Recommendation, error) - // Mark the Recommendation State as Claimed. Users can use this method to - // indicate to the Recommender API that they are starting to apply the - // recommendation themselves. This stops the recommendation content from being - // updated. - // - // MarkRecommendationClaimed can be applied to recommendations in CLAIMED, - // SUCCEEDED, FAILED, or ACTIVE state. - // - // Requires the recommender.*.update IAM permission for the specified - // recommender. - MarkRecommendationClaimed(ctx context.Context, in *MarkRecommendationClaimedRequest, opts ...grpc.CallOption) (*Recommendation, error) - // Mark the Recommendation State as Succeeded. Users can use this method to - // indicate to the Recommender API that they have applied the recommendation - // themselves, and the operation was successful. This stops the recommendation - // content from being updated. - // - // MarkRecommendationSucceeded can be applied to recommendations in ACTIVE, - // CLAIMED, SUCCEEDED, or FAILED state. - // - // Requires the recommender.*.update IAM permission for the specified - // recommender. - MarkRecommendationSucceeded(ctx context.Context, in *MarkRecommendationSucceededRequest, opts ...grpc.CallOption) (*Recommendation, error) - // Mark the Recommendation State as Failed. Users can use this method to - // indicate to the Recommender API that they have applied the recommendation - // themselves, and the operation failed. This stops the recommendation content - // from being updated. - // - // MarkRecommendationFailed can be applied to recommendations in ACTIVE, - // CLAIMED, SUCCEEDED, or FAILED state. - // - // Requires the recommender.*.update IAM permission for the specified - // recommender. - MarkRecommendationFailed(ctx context.Context, in *MarkRecommendationFailedRequest, opts ...grpc.CallOption) (*Recommendation, error) -} - -type recommenderClient struct { - cc *grpc.ClientConn -} - -func NewRecommenderClient(cc *grpc.ClientConn) RecommenderClient { - return &recommenderClient{cc} -} - -func (c *recommenderClient) ListRecommendations(ctx context.Context, in *ListRecommendationsRequest, opts ...grpc.CallOption) (*ListRecommendationsResponse, error) { - out := new(ListRecommendationsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.recommender.v1beta1.Recommender/ListRecommendations", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *recommenderClient) GetRecommendation(ctx context.Context, in *GetRecommendationRequest, opts ...grpc.CallOption) (*Recommendation, error) { - out := new(Recommendation) - err := c.cc.Invoke(ctx, "/google.cloud.recommender.v1beta1.Recommender/GetRecommendation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *recommenderClient) MarkRecommendationClaimed(ctx context.Context, in *MarkRecommendationClaimedRequest, opts ...grpc.CallOption) (*Recommendation, error) { - out := new(Recommendation) - err := c.cc.Invoke(ctx, "/google.cloud.recommender.v1beta1.Recommender/MarkRecommendationClaimed", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *recommenderClient) MarkRecommendationSucceeded(ctx context.Context, in *MarkRecommendationSucceededRequest, opts ...grpc.CallOption) (*Recommendation, error) { - out := new(Recommendation) - err := c.cc.Invoke(ctx, "/google.cloud.recommender.v1beta1.Recommender/MarkRecommendationSucceeded", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *recommenderClient) MarkRecommendationFailed(ctx context.Context, in *MarkRecommendationFailedRequest, opts ...grpc.CallOption) (*Recommendation, error) { - out := new(Recommendation) - err := c.cc.Invoke(ctx, "/google.cloud.recommender.v1beta1.Recommender/MarkRecommendationFailed", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RecommenderServer is the server API for Recommender service. -type RecommenderServer interface { - // Lists recommendations for a Cloud project. Requires the recommender.*.list - // IAM permission for the specified recommender. - ListRecommendations(context.Context, *ListRecommendationsRequest) (*ListRecommendationsResponse, error) - // Gets the requested recommendation. Requires the recommender.*.get - // IAM permission for the specified recommender. - GetRecommendation(context.Context, *GetRecommendationRequest) (*Recommendation, error) - // Mark the Recommendation State as Claimed. Users can use this method to - // indicate to the Recommender API that they are starting to apply the - // recommendation themselves. This stops the recommendation content from being - // updated. - // - // MarkRecommendationClaimed can be applied to recommendations in CLAIMED, - // SUCCEEDED, FAILED, or ACTIVE state. - // - // Requires the recommender.*.update IAM permission for the specified - // recommender. - MarkRecommendationClaimed(context.Context, *MarkRecommendationClaimedRequest) (*Recommendation, error) - // Mark the Recommendation State as Succeeded. Users can use this method to - // indicate to the Recommender API that they have applied the recommendation - // themselves, and the operation was successful. This stops the recommendation - // content from being updated. - // - // MarkRecommendationSucceeded can be applied to recommendations in ACTIVE, - // CLAIMED, SUCCEEDED, or FAILED state. - // - // Requires the recommender.*.update IAM permission for the specified - // recommender. - MarkRecommendationSucceeded(context.Context, *MarkRecommendationSucceededRequest) (*Recommendation, error) - // Mark the Recommendation State as Failed. Users can use this method to - // indicate to the Recommender API that they have applied the recommendation - // themselves, and the operation failed. This stops the recommendation content - // from being updated. - // - // MarkRecommendationFailed can be applied to recommendations in ACTIVE, - // CLAIMED, SUCCEEDED, or FAILED state. - // - // Requires the recommender.*.update IAM permission for the specified - // recommender. - MarkRecommendationFailed(context.Context, *MarkRecommendationFailedRequest) (*Recommendation, error) -} - -// UnimplementedRecommenderServer can be embedded to have forward compatible implementations. -type UnimplementedRecommenderServer struct { -} - -func (*UnimplementedRecommenderServer) ListRecommendations(ctx context.Context, req *ListRecommendationsRequest) (*ListRecommendationsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListRecommendations not implemented") -} -func (*UnimplementedRecommenderServer) GetRecommendation(ctx context.Context, req *GetRecommendationRequest) (*Recommendation, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetRecommendation not implemented") -} -func (*UnimplementedRecommenderServer) MarkRecommendationClaimed(ctx context.Context, req *MarkRecommendationClaimedRequest) (*Recommendation, error) { - return nil, status.Errorf(codes.Unimplemented, "method MarkRecommendationClaimed not implemented") -} -func (*UnimplementedRecommenderServer) MarkRecommendationSucceeded(ctx context.Context, req *MarkRecommendationSucceededRequest) (*Recommendation, error) { - return nil, status.Errorf(codes.Unimplemented, "method MarkRecommendationSucceeded not implemented") -} -func (*UnimplementedRecommenderServer) MarkRecommendationFailed(ctx context.Context, req *MarkRecommendationFailedRequest) (*Recommendation, error) { - return nil, status.Errorf(codes.Unimplemented, "method MarkRecommendationFailed not implemented") -} - -func RegisterRecommenderServer(s *grpc.Server, srv RecommenderServer) { - s.RegisterService(&_Recommender_serviceDesc, srv) -} - -func _Recommender_ListRecommendations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListRecommendationsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RecommenderServer).ListRecommendations(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.recommender.v1beta1.Recommender/ListRecommendations", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RecommenderServer).ListRecommendations(ctx, req.(*ListRecommendationsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Recommender_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.(RecommenderServer).GetRecommendation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.recommender.v1beta1.Recommender/GetRecommendation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RecommenderServer).GetRecommendation(ctx, req.(*GetRecommendationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Recommender_MarkRecommendationClaimed_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MarkRecommendationClaimedRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RecommenderServer).MarkRecommendationClaimed(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.recommender.v1beta1.Recommender/MarkRecommendationClaimed", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RecommenderServer).MarkRecommendationClaimed(ctx, req.(*MarkRecommendationClaimedRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Recommender_MarkRecommendationSucceeded_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MarkRecommendationSucceededRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RecommenderServer).MarkRecommendationSucceeded(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.recommender.v1beta1.Recommender/MarkRecommendationSucceeded", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RecommenderServer).MarkRecommendationSucceeded(ctx, req.(*MarkRecommendationSucceededRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Recommender_MarkRecommendationFailed_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MarkRecommendationFailedRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RecommenderServer).MarkRecommendationFailed(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.recommender.v1beta1.Recommender/MarkRecommendationFailed", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RecommenderServer).MarkRecommendationFailed(ctx, req.(*MarkRecommendationFailedRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Recommender_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.recommender.v1beta1.Recommender", - HandlerType: (*RecommenderServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListRecommendations", - Handler: _Recommender_ListRecommendations_Handler, - }, - { - MethodName: "GetRecommendation", - Handler: _Recommender_GetRecommendation_Handler, - }, - { - MethodName: "MarkRecommendationClaimed", - Handler: _Recommender_MarkRecommendationClaimed_Handler, - }, - { - MethodName: "MarkRecommendationSucceeded", - Handler: _Recommender_MarkRecommendationSucceeded_Handler, - }, - { - MethodName: "MarkRecommendationFailed", - Handler: _Recommender_MarkRecommendationFailed_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/recommender/v1beta1/recommender_service.proto", -} 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 deleted file mode 100644 index a6f4e13b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/redis/v1/cloud_redis.pb.go +++ /dev/null @@ -1,1879 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/redis/v1/cloud_redis.proto - -package redis - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // 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. - Instance_REPAIRING Instance_State = 5 - // Maintenance is being performed on this Redis instance. - Instance_MAINTENANCE Instance_State = 6 - // Redis instance is importing data (availability may be affected). - Instance_IMPORTING Instance_State = 8 - // Redis instance is failing over (availability may be affected). - Instance_FAILING_OVER Instance_State = 9 -) - -var Instance_State_name = map[int32]string{ - 0: "STATE_UNSPECIFIED", - 1: "CREATING", - 2: "READY", - 3: "UPDATING", - 4: "DELETING", - 5: "REPAIRING", - 6: "MAINTENANCE", - 8: "IMPORTING", - 9: "FAILING_OVER", -} - -var Instance_State_value = map[string]int32{ - "STATE_UNSPECIFIED": 0, - "CREATING": 1, - "READY": 2, - "UPDATING": 3, - "DELETING": 4, - "REPAIRING": 5, - "MAINTENANCE": 6, - "IMPORTING": 8, - "FAILING_OVER": 9, -} - -func (x Instance_State) String() string { - return proto.EnumName(Instance_State_name, int32(x)) -} - -func (Instance_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a99cb3206a9deca4, []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_a99cb3206a9deca4, []int{0, 1} -} - -type FailoverInstanceRequest_DataProtectionMode int32 - -const ( - // Defaults to LIMITED_DATA_LOSS if a data protection mode is not - // specified. - FailoverInstanceRequest_DATA_PROTECTION_MODE_UNSPECIFIED FailoverInstanceRequest_DataProtectionMode = 0 - // Instance failover will be protected with data loss control. More - // specifically, the failover will only be performed if the current - // replication offset diff between master and replica is under a certain - // threshold. - FailoverInstanceRequest_LIMITED_DATA_LOSS FailoverInstanceRequest_DataProtectionMode = 1 - // Instance failover will be performed without data loss control. - FailoverInstanceRequest_FORCE_DATA_LOSS FailoverInstanceRequest_DataProtectionMode = 2 -) - -var FailoverInstanceRequest_DataProtectionMode_name = map[int32]string{ - 0: "DATA_PROTECTION_MODE_UNSPECIFIED", - 1: "LIMITED_DATA_LOSS", - 2: "FORCE_DATA_LOSS", -} - -var FailoverInstanceRequest_DataProtectionMode_value = map[string]int32{ - "DATA_PROTECTION_MODE_UNSPECIFIED": 0, - "LIMITED_DATA_LOSS": 1, - "FORCE_DATA_LOSS": 2, -} - -func (x FailoverInstanceRequest_DataProtectionMode) String() string { - return proto.EnumName(FailoverInstanceRequest_DataProtectionMode_name, int32(x)) -} - -func (FailoverInstanceRequest_DataProtectionMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a99cb3206a9deca4, []int{13, 0} -} - -// 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_4_0` for Redis 4.0 compatibility (default) - // * `REDIS_3_2` for Redis 3.2 compatibility - 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: - // - // Redis 3.2 and above: - // - // * maxmemory-policy - // * notify-keyspace-events - // - // Redis 4.0 and above: - // - // * activedefrag - // * lfu-log-factor - // * lfu-decay-time - 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"` - // Output only. Cloud IAM identity used by import / export operations to - // transfer data to/from Cloud Storage. Format is - // "serviceAccount:". The value may change over time - // for a given instance so should be checked before each import/export - // operation. - PersistenceIamIdentity string `protobuf:"bytes,21,opt,name=persistence_iam_identity,json=persistenceIamIdentity,proto3" json:"persistence_iam_identity,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_a99cb3206a9deca4, []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 (m *Instance) XXX_Merge(src proto.Message) { - xxx_messageInfo_Instance.Merge(m, 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 "" -} - -func (m *Instance) GetPersistenceIamIdentity() string { - if m != nil { - return m.PersistenceIamIdentity - } - 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_a99cb3206a9deca4, []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 (m *ListInstancesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListInstancesRequest.Merge(m, 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"` - // Locations that could not be reached. - Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,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_a99cb3206a9deca4, []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 (m *ListInstancesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListInstancesResponse.Merge(m, 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 "" -} - -func (m *ListInstancesResponse) GetUnreachable() []string { - if m != nil { - return m.Unreachable - } - return nil -} - -// 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_a99cb3206a9deca4, []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 (m *GetInstanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetInstanceRequest.Merge(m, 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_a99cb3206a9deca4, []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 (m *CreateInstanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateInstanceRequest.Merge(m, 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_a99cb3206a9deca4, []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 (m *UpdateInstanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateInstanceRequest.Merge(m, 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_a99cb3206a9deca4, []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 (m *DeleteInstanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteInstanceRequest.Merge(m, 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 "" -} - -// The Cloud Storage location for the input content -type GcsSource struct { - // Required. Source data URI. (e.g. 'gs://my_bucket/my_object'). - 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 *GcsSource) Reset() { *m = GcsSource{} } -func (m *GcsSource) String() string { return proto.CompactTextString(m) } -func (*GcsSource) ProtoMessage() {} -func (*GcsSource) Descriptor() ([]byte, []int) { - return fileDescriptor_a99cb3206a9deca4, []int{7} -} - -func (m *GcsSource) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GcsSource.Unmarshal(m, b) -} -func (m *GcsSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GcsSource.Marshal(b, m, deterministic) -} -func (m *GcsSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcsSource.Merge(m, src) -} -func (m *GcsSource) XXX_Size() int { - return xxx_messageInfo_GcsSource.Size(m) -} -func (m *GcsSource) XXX_DiscardUnknown() { - xxx_messageInfo_GcsSource.DiscardUnknown(m) -} - -var xxx_messageInfo_GcsSource proto.InternalMessageInfo - -func (m *GcsSource) GetUri() string { - if m != nil { - return m.Uri - } - return "" -} - -// The input content -type InputConfig struct { - // Required. Specify source location of input data - // - // Types that are valid to be assigned to Source: - // *InputConfig_GcsSource - Source isInputConfig_Source `protobuf_oneof:"source"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a99cb3206a9deca4, []int{8} -} - -func (m *InputConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InputConfig.Unmarshal(m, b) -} -func (m *InputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InputConfig.Marshal(b, m, deterministic) -} -func (m *InputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_InputConfig.Merge(m, src) -} -func (m *InputConfig) XXX_Size() int { - return xxx_messageInfo_InputConfig.Size(m) -} -func (m *InputConfig) XXX_DiscardUnknown() { - xxx_messageInfo_InputConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_InputConfig proto.InternalMessageInfo - -type isInputConfig_Source interface { - isInputConfig_Source() -} - -type InputConfig_GcsSource struct { - GcsSource *GcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3,oneof"` -} - -func (*InputConfig_GcsSource) isInputConfig_Source() {} - -func (m *InputConfig) GetSource() isInputConfig_Source { - if m != nil { - return m.Source - } - return nil -} - -func (m *InputConfig) GetGcsSource() *GcsSource { - if x, ok := m.GetSource().(*InputConfig_GcsSource); ok { - return x.GcsSource - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*InputConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*InputConfig_GcsSource)(nil), - } -} - -// Request for [Import][google.cloud.redis.v1.CloudRedis.ImportInstance]. -type ImportInstanceRequest 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"` - // Required. Specify data to be imported. - InputConfig *InputConfig `protobuf:"bytes,3,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 *ImportInstanceRequest) Reset() { *m = ImportInstanceRequest{} } -func (m *ImportInstanceRequest) String() string { return proto.CompactTextString(m) } -func (*ImportInstanceRequest) ProtoMessage() {} -func (*ImportInstanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a99cb3206a9deca4, []int{9} -} - -func (m *ImportInstanceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImportInstanceRequest.Unmarshal(m, b) -} -func (m *ImportInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImportInstanceRequest.Marshal(b, m, deterministic) -} -func (m *ImportInstanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportInstanceRequest.Merge(m, src) -} -func (m *ImportInstanceRequest) XXX_Size() int { - return xxx_messageInfo_ImportInstanceRequest.Size(m) -} -func (m *ImportInstanceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ImportInstanceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ImportInstanceRequest proto.InternalMessageInfo - -func (m *ImportInstanceRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ImportInstanceRequest) GetInputConfig() *InputConfig { - if m != nil { - return m.InputConfig - } - return nil -} - -// The Cloud Storage location for the output content -type GcsDestination struct { - // Required. Data destination URI (e.g. - // 'gs://my_bucket/my_object'). Existing files will be overwritten. - 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_a99cb3206a9deca4, []int{10} -} - -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 (m *GcsDestination) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcsDestination.Merge(m, 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 "" -} - -// The output content -type OutputConfig struct { - // Required. Specify destination location of output data - // - // 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_a99cb3206a9deca4, []int{11} -} - -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 (m *OutputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_OutputConfig.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*OutputConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*OutputConfig_GcsDestination)(nil), - } -} - -// Request for [Export][google.cloud.redis.v1.CloudRedis.ExportInstance]. -type ExportInstanceRequest 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"` - // Required. Specify data to be exported. - OutputConfig *OutputConfig `protobuf:"bytes,3,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 *ExportInstanceRequest) Reset() { *m = ExportInstanceRequest{} } -func (m *ExportInstanceRequest) String() string { return proto.CompactTextString(m) } -func (*ExportInstanceRequest) ProtoMessage() {} -func (*ExportInstanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a99cb3206a9deca4, []int{12} -} - -func (m *ExportInstanceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExportInstanceRequest.Unmarshal(m, b) -} -func (m *ExportInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExportInstanceRequest.Marshal(b, m, deterministic) -} -func (m *ExportInstanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportInstanceRequest.Merge(m, src) -} -func (m *ExportInstanceRequest) XXX_Size() int { - return xxx_messageInfo_ExportInstanceRequest.Size(m) -} -func (m *ExportInstanceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ExportInstanceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ExportInstanceRequest proto.InternalMessageInfo - -func (m *ExportInstanceRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ExportInstanceRequest) GetOutputConfig() *OutputConfig { - if m != nil { - return m.OutputConfig - } - return nil -} - -// Request for [Failover][google.cloud.redis.v1.CloudRedis.FailoverInstance]. -type FailoverInstanceRequest 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"` - // Optional. Available data protection modes that the user can choose. If it's - // unspecified, data protection mode will be LIMITED_DATA_LOSS by default. - DataProtectionMode FailoverInstanceRequest_DataProtectionMode `protobuf:"varint,2,opt,name=data_protection_mode,json=dataProtectionMode,proto3,enum=google.cloud.redis.v1.FailoverInstanceRequest_DataProtectionMode" json:"data_protection_mode,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FailoverInstanceRequest) Reset() { *m = FailoverInstanceRequest{} } -func (m *FailoverInstanceRequest) String() string { return proto.CompactTextString(m) } -func (*FailoverInstanceRequest) ProtoMessage() {} -func (*FailoverInstanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a99cb3206a9deca4, []int{13} -} - -func (m *FailoverInstanceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FailoverInstanceRequest.Unmarshal(m, b) -} -func (m *FailoverInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FailoverInstanceRequest.Marshal(b, m, deterministic) -} -func (m *FailoverInstanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FailoverInstanceRequest.Merge(m, src) -} -func (m *FailoverInstanceRequest) XXX_Size() int { - return xxx_messageInfo_FailoverInstanceRequest.Size(m) -} -func (m *FailoverInstanceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FailoverInstanceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_FailoverInstanceRequest proto.InternalMessageInfo - -func (m *FailoverInstanceRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *FailoverInstanceRequest) GetDataProtectionMode() FailoverInstanceRequest_DataProtectionMode { - if m != nil { - return m.DataProtectionMode - } - return FailoverInstanceRequest_DATA_PROTECTION_MODE_UNSPECIFIED -} - -// 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_a99cb3206a9deca4, []int{14} -} - -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 (m *OperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperationMetadata.Merge(m, 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_a99cb3206a9deca4, []int{15} -} - -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 (m *LocationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocationMetadata.Merge(m, 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_a99cb3206a9deca4, []int{16} -} - -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 (m *ZoneMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ZoneMetadata.Merge(m, 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.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) - proto.RegisterEnum("google.cloud.redis.v1.FailoverInstanceRequest_DataProtectionMode", FailoverInstanceRequest_DataProtectionMode_name, FailoverInstanceRequest_DataProtectionMode_value) - 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((*GcsSource)(nil), "google.cloud.redis.v1.GcsSource") - proto.RegisterType((*InputConfig)(nil), "google.cloud.redis.v1.InputConfig") - proto.RegisterType((*ImportInstanceRequest)(nil), "google.cloud.redis.v1.ImportInstanceRequest") - proto.RegisterType((*GcsDestination)(nil), "google.cloud.redis.v1.GcsDestination") - proto.RegisterType((*OutputConfig)(nil), "google.cloud.redis.v1.OutputConfig") - proto.RegisterType((*ExportInstanceRequest)(nil), "google.cloud.redis.v1.ExportInstanceRequest") - proto.RegisterType((*FailoverInstanceRequest)(nil), "google.cloud.redis.v1.FailoverInstanceRequest") - 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") -} - -func init() { - proto.RegisterFile("google/cloud/redis/v1/cloud_redis.proto", fileDescriptor_a99cb3206a9deca4) -} - -var fileDescriptor_a99cb3206a9deca4 = []byte{ - // 2021 bytes of a gzipped FileDescriptorProto - 0x1f, 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6, 0xc6, 0xce, 0x6b, - 0xb0, 0xc4, 0x73, 0x31, 0x86, 0xc4, 0xf5, 0x4c, 0xdb, 0x92, 0xdf, 0x1a, 0xbb, 0x64, 0xb8, 0xe6, - 0x89, 0x50, 0xa0, 0x32, 0xac, 0xb8, 0xc4, 0x23, 0xee, 0x90, 0x74, 0x0c, 0xd3, 0x31, 0x5c, 0x6c, - 0x75, 0x89, 0x9c, 0x1a, 0x5b, 0x2f, 0x07, 0x5a, 0xcd, 0xd1, 0x99, 0x8e, 0xc1, 0x77, 0x6c, 0x7b, - 0x54, 0x86, 0xc0, 0x26, 0xa9, 0x73, 0x01, 0x53, 0x38, 0xb6, 0x4b, 0xe5, 0x74, 0x51, 0x5a, 0x9b, - 0xf7, 0x15, 0x4c, 0x80, 0xde, 0x87, 0xcb, 0xed, 0x81, 0xeb, 0x12, 0x8b, 0x46, 0x4e, 0x91, 0x19, - 0x07, 0x58, 0xf1, 0xf5, 0xa1, 0x13, 0x3c, 0x84, 0x74, 0xdb, 0x25, 0x98, 0x12, 0x83, 0x15, 0x53, - 0x5e, 0x2a, 0x4a, 0x6b, 0xe9, 0x8d, 0x42, 0x00, 0x77, 0x50, 0xe9, 0x52, 0x2b, 0xa8, 0xb4, 0x08, - 0x04, 0xc2, 0x87, 0x49, 0xd1, 0x43, 0x98, 0xf7, 0x28, 0xa6, 0x44, 0xce, 0x16, 0xa5, 0xb5, 0xec, - 0xc6, 0xad, 0x59, 0xa5, 0x6a, 0x32, 0x63, 0x11, 0x46, 0x38, 0xa2, 0x75, 0xc8, 0xb2, 0xc5, 0xc0, - 0x33, 0xfa, 0xc4, 0xf3, 0x70, 0x97, 0xc8, 0xcb, 0xe3, 0x9c, 0x97, 0x84, 0x6a, 0x5f, 0x68, 0xd0, - 0x77, 0x02, 0xc4, 0xdb, 0xb6, 0x75, 0x64, 0x76, 0x3d, 0x39, 0xc7, 0x1b, 0xe4, 0xde, 0xac, 0xaf, - 0xea, 0x4c, 0x52, 0x11, 0x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0x43, 0xbe, 0xf6, 0xfc, 0x5c, - 0xb8, 0xec, 0xc3, 0x92, 0xcd, 0x53, 0x8c, 0x02, 0x73, 0x23, 0x26, 0xa1, 0xf0, 0x71, 0xfc, 0xe9, - 0x6b, 0x87, 0x44, 0xca, 0x9f, 0x12, 0x70, 0x65, 0x07, 0x9b, 0x3d, 0x7b, 0x48, 0xdc, 0x8b, 0xeb, - 0x37, 0xf4, 0x1c, 0x56, 0x3b, 0x98, 0x62, 0x83, 0xdd, 0x18, 0xd2, 0xe6, 0xfc, 0xab, 0x6f, 0x77, - 0xc4, 0x8d, 0xc8, 0x6e, 0xa8, 0x31, 0xc9, 0xc6, 0x24, 0x52, 0xaa, 0x62, 0x8a, 0x0f, 0x46, 0x91, - 0xf6, 0xed, 0x0e, 0x11, 0xcc, 0x00, 0x75, 0xce, 0x28, 0x94, 0x23, 0x40, 0x67, 0xcd, 0xd1, 0x4d, - 0x28, 0x56, 0xd5, 0x96, 0x6a, 0x1c, 0xe8, 0x8d, 0x56, 0xad, 0xd2, 0xd2, 0x1a, 0x75, 0x63, 0xbf, - 0x51, 0x9d, 0x1c, 0xbd, 0x79, 0x58, 0xd9, 0xd3, 0xf6, 0xb5, 0x56, 0xad, 0x6a, 0x70, 0xeb, 0xbd, - 0x46, 0xb3, 0x99, 0x93, 0xd0, 0x65, 0x58, 0xde, 0x69, 0xe8, 0x95, 0x5a, 0x48, 0x98, 0x50, 0x7e, - 0x9b, 0x80, 0x95, 0x46, 0xf0, 0xc3, 0x61, 0x9f, 0x50, 0xcc, 0x72, 0x41, 0x5b, 0x51, 0x0e, 0x29, - 0xcd, 0xe2, 0x90, 0x11, 0xfa, 0xf8, 0x75, 0x58, 0x24, 0x56, 0x47, 0x78, 0x26, 0x66, 0x7a, 0xbe, - 0x45, 0xac, 0x0e, 0x77, 0x7b, 0x1b, 0x16, 0x28, 0x76, 0xbb, 0x84, 0xfa, 0x13, 0xca, 0xdf, 0x21, - 0x04, 0x73, 0x43, 0xe2,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81, 0x9b, 0xbd, 0xff, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x08, 0xfa, 0xeb, - 0x64, 0x48, 0x17, 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 - -// 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) - // Import a Redis RDB snapshot file from Cloud Storage into a Redis instance. - // - // Redis may stop serving during this operation. Instance state will be - // IMPORTING for entire operation. When complete, the instance will contain - // only data from the imported file. - // - // The returned operation is automatically deleted after a few hours, so - // there is no need to call DeleteOperation. - ImportInstance(ctx context.Context, in *ImportInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Export Redis instance data into a Redis RDB format file in Cloud Storage. - // - // Redis will continue serving during this operation. - // - // The returned operation is automatically deleted after a few hours, so - // there is no need to call DeleteOperation. - ExportInstance(ctx context.Context, in *ExportInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Initiates a failover of the master node to current replica node for a - // specific STANDARD tier Cloud Memorystore for Redis instance. - FailoverInstance(ctx context.Context, in *FailoverInstanceRequest, 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) ImportInstance(ctx context.Context, in *ImportInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.redis.v1.CloudRedis/ImportInstance", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudRedisClient) ExportInstance(ctx context.Context, in *ExportInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.redis.v1.CloudRedis/ExportInstance", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudRedisClient) FailoverInstance(ctx context.Context, in *FailoverInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.redis.v1.CloudRedis/FailoverInstance", 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) - // Import a Redis RDB snapshot file from Cloud Storage into a Redis instance. - // - // Redis may stop serving during this operation. Instance state will be - // IMPORTING for entire operation. When complete, the instance will contain - // only data from the imported file. - // - // The returned operation is automatically deleted after a few hours, so - // there is no need to call DeleteOperation. - ImportInstance(context.Context, *ImportInstanceRequest) (*longrunning.Operation, error) - // Export Redis instance data into a Redis RDB format file in Cloud Storage. - // - // Redis will continue serving during this operation. - // - // The returned operation is automatically deleted after a few hours, so - // there is no need to call DeleteOperation. - ExportInstance(context.Context, *ExportInstanceRequest) (*longrunning.Operation, error) - // Initiates a failover of the master node to current replica node for a - // specific STANDARD tier Cloud Memorystore for Redis instance. - FailoverInstance(context.Context, *FailoverInstanceRequest) (*longrunning.Operation, error) - // Deletes a specific Redis instance. Instance stops serving and data is - // deleted. - DeleteInstance(context.Context, *DeleteInstanceRequest) (*longrunning.Operation, error) -} - -// UnimplementedCloudRedisServer can be embedded to have forward compatible implementations. -type UnimplementedCloudRedisServer struct { -} - -func (*UnimplementedCloudRedisServer) ListInstances(ctx context.Context, req *ListInstancesRequest) (*ListInstancesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListInstances not implemented") -} -func (*UnimplementedCloudRedisServer) GetInstance(ctx context.Context, req *GetInstanceRequest) (*Instance, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetInstance not implemented") -} -func (*UnimplementedCloudRedisServer) CreateInstance(ctx context.Context, req *CreateInstanceRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateInstance not implemented") -} -func (*UnimplementedCloudRedisServer) UpdateInstance(ctx context.Context, req *UpdateInstanceRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateInstance not implemented") -} -func (*UnimplementedCloudRedisServer) ImportInstance(ctx context.Context, req *ImportInstanceRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ImportInstance not implemented") -} -func (*UnimplementedCloudRedisServer) ExportInstance(ctx context.Context, req *ExportInstanceRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ExportInstance not implemented") -} -func (*UnimplementedCloudRedisServer) FailoverInstance(ctx context.Context, req *FailoverInstanceRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method FailoverInstance not implemented") -} -func (*UnimplementedCloudRedisServer) DeleteInstance(ctx context.Context, req *DeleteInstanceRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteInstance not implemented") -} - -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_ImportInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ImportInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudRedisServer).ImportInstance(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.redis.v1.CloudRedis/ImportInstance", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudRedisServer).ImportInstance(ctx, req.(*ImportInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudRedis_ExportInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ExportInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudRedisServer).ExportInstance(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.redis.v1.CloudRedis/ExportInstance", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudRedisServer).ExportInstance(ctx, req.(*ExportInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudRedis_FailoverInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(FailoverInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudRedisServer).FailoverInstance(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.redis.v1.CloudRedis/FailoverInstance", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudRedisServer).FailoverInstance(ctx, req.(*FailoverInstanceRequest)) - } - 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: "ImportInstance", - Handler: _CloudRedis_ImportInstance_Handler, - }, - { - MethodName: "ExportInstance", - Handler: _CloudRedis_ExportInstance_Handler, - }, - { - MethodName: "FailoverInstance", - Handler: _CloudRedis_FailoverInstance_Handler, - }, - { - MethodName: "DeleteInstance", - Handler: _CloudRedis_DeleteInstance_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/redis/v1/cloud_redis.proto", -} 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 deleted file mode 100644 index cee2b9f0..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/redis/v1beta1/cloud_redis.pb.go +++ /dev/null @@ -1,1776 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/redis/v1beta1/cloud_redis.proto - -package redis - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // 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. - Instance_REPAIRING Instance_State = 5 - // Maintenance is being performed on this Redis instance. - Instance_MAINTENANCE Instance_State = 6 - // Redis instance is importing data (availability may be affected). - Instance_IMPORTING Instance_State = 8 - // Redis instance is failing over (availability may be affected). - Instance_FAILING_OVER Instance_State = 10 -) - -var Instance_State_name = map[int32]string{ - 0: "STATE_UNSPECIFIED", - 1: "CREATING", - 2: "READY", - 3: "UPDATING", - 4: "DELETING", - 5: "REPAIRING", - 6: "MAINTENANCE", - 8: "IMPORTING", - 10: "FAILING_OVER", -} - -var Instance_State_value = map[string]int32{ - "STATE_UNSPECIFIED": 0, - "CREATING": 1, - "READY": 2, - "UPDATING": 3, - "DELETING": 4, - "REPAIRING": 5, - "MAINTENANCE": 6, - "IMPORTING": 8, - "FAILING_OVER": 10, -} - -func (x Instance_State) String() string { - return proto.EnumName(Instance_State_name, int32(x)) -} - -func (Instance_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_522f9b2de914b9c5, []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_522f9b2de914b9c5, []int{0, 1} -} - -type FailoverInstanceRequest_DataProtectionMode int32 - -const ( - // Defaults to LIMITED_DATA_LOSS if a data protection mode is not - // specified. - FailoverInstanceRequest_DATA_PROTECTION_MODE_UNSPECIFIED FailoverInstanceRequest_DataProtectionMode = 0 - // Instance failover will be protected with data loss control. More - // specifically, the failover will only be performed if the current - // replication offset diff between master and replica is under a certain - // threshold. - FailoverInstanceRequest_LIMITED_DATA_LOSS FailoverInstanceRequest_DataProtectionMode = 1 - // Instance failover will be performed without data loss control. - FailoverInstanceRequest_FORCE_DATA_LOSS FailoverInstanceRequest_DataProtectionMode = 2 -) - -var FailoverInstanceRequest_DataProtectionMode_name = map[int32]string{ - 0: "DATA_PROTECTION_MODE_UNSPECIFIED", - 1: "LIMITED_DATA_LOSS", - 2: "FORCE_DATA_LOSS", -} - -var FailoverInstanceRequest_DataProtectionMode_value = map[string]int32{ - "DATA_PROTECTION_MODE_UNSPECIFIED": 0, - "LIMITED_DATA_LOSS": 1, - "FORCE_DATA_LOSS": 2, -} - -func (x FailoverInstanceRequest_DataProtectionMode) String() string { - return proto.EnumName(FailoverInstanceRequest_DataProtectionMode_name, int32(x)) -} - -func (FailoverInstanceRequest_DataProtectionMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_522f9b2de914b9c5, []int{13, 0} -} - -// 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_4_0` for Redis 4.0 compatibility (default) - // * `REDIS_3_2` for Redis 3.2 compatibility - 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.v1beta1.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: - // - // Redis 3.2 and above: - // - // * maxmemory-policy - // * notify-keyspace-events - // - // Redis 4.0 and above: - // - // * activedefrag - // * lfu-log-factor - // * lfu-decay-time - 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.v1beta1.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"` - // Output only. Cloud IAM identity used by import / export operations to - // transfer data to/from Cloud Storage. Format is - // "serviceAccount:". The value may change over time - // for a given instance so should be checked before each import/export - // operation. - PersistenceIamIdentity string `protobuf:"bytes,21,opt,name=persistence_iam_identity,json=persistenceIamIdentity,proto3" json:"persistence_iam_identity,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_522f9b2de914b9c5, []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 (m *Instance) XXX_Merge(src proto.Message) { - xxx_messageInfo_Instance.Merge(m, 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 "" -} - -func (m *Instance) GetPersistenceIamIdentity() string { - if m != nil { - return m.PersistenceIamIdentity - } - return "" -} - -// Request for [ListInstances][google.cloud.redis.v1beta1.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_522f9b2de914b9c5, []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 (m *ListInstancesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListInstancesRequest.Merge(m, 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.v1beta1.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"` - // Locations that could not be reached. - Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,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_522f9b2de914b9c5, []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 (m *ListInstancesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListInstancesResponse.Merge(m, 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 "" -} - -func (m *ListInstancesResponse) GetUnreachable() []string { - if m != nil { - return m.Unreachable - } - return nil -} - -// Request for [GetInstance][google.cloud.redis.v1beta1.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_522f9b2de914b9c5, []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 (m *GetInstanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetInstanceRequest.Merge(m, 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.v1beta1.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_522f9b2de914b9c5, []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 (m *CreateInstanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateInstanceRequest.Merge(m, 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.v1beta1.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][google.cloud.redis.v1beta1.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_522f9b2de914b9c5, []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 (m *UpdateInstanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateInstanceRequest.Merge(m, 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.v1beta1.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_522f9b2de914b9c5, []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 (m *DeleteInstanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteInstanceRequest.Merge(m, 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 "" -} - -// The Cloud Storage location for the input content -type GcsSource struct { - // Required. Source data URI. (e.g. 'gs://my_bucket/my_object'). - 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 *GcsSource) Reset() { *m = GcsSource{} } -func (m *GcsSource) String() string { return proto.CompactTextString(m) } -func (*GcsSource) ProtoMessage() {} -func (*GcsSource) Descriptor() ([]byte, []int) { - return fileDescriptor_522f9b2de914b9c5, []int{7} -} - -func (m *GcsSource) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GcsSource.Unmarshal(m, b) -} -func (m *GcsSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GcsSource.Marshal(b, m, deterministic) -} -func (m *GcsSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcsSource.Merge(m, src) -} -func (m *GcsSource) XXX_Size() int { - return xxx_messageInfo_GcsSource.Size(m) -} -func (m *GcsSource) XXX_DiscardUnknown() { - xxx_messageInfo_GcsSource.DiscardUnknown(m) -} - -var xxx_messageInfo_GcsSource proto.InternalMessageInfo - -func (m *GcsSource) GetUri() string { - if m != nil { - return m.Uri - } - return "" -} - -// The input content -type InputConfig struct { - // Required. Specify source location of input data - // - // Types that are valid to be assigned to Source: - // *InputConfig_GcsSource - Source isInputConfig_Source `protobuf_oneof:"source"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_522f9b2de914b9c5, []int{8} -} - -func (m *InputConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InputConfig.Unmarshal(m, b) -} -func (m *InputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InputConfig.Marshal(b, m, deterministic) -} -func (m *InputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_InputConfig.Merge(m, src) -} -func (m *InputConfig) XXX_Size() int { - return xxx_messageInfo_InputConfig.Size(m) -} -func (m *InputConfig) XXX_DiscardUnknown() { - xxx_messageInfo_InputConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_InputConfig proto.InternalMessageInfo - -type isInputConfig_Source interface { - isInputConfig_Source() -} - -type InputConfig_GcsSource struct { - GcsSource *GcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3,oneof"` -} - -func (*InputConfig_GcsSource) isInputConfig_Source() {} - -func (m *InputConfig) GetSource() isInputConfig_Source { - if m != nil { - return m.Source - } - return nil -} - -func (m *InputConfig) GetGcsSource() *GcsSource { - if x, ok := m.GetSource().(*InputConfig_GcsSource); ok { - return x.GcsSource - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*InputConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*InputConfig_GcsSource)(nil), - } -} - -// Request for [Import][google.cloud.redis.v1beta1.CloudRedis.ImportInstance]. -type ImportInstanceRequest 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"` - // Required. Specify data to be imported. - InputConfig *InputConfig `protobuf:"bytes,3,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 *ImportInstanceRequest) Reset() { *m = ImportInstanceRequest{} } -func (m *ImportInstanceRequest) String() string { return proto.CompactTextString(m) } -func (*ImportInstanceRequest) ProtoMessage() {} -func (*ImportInstanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_522f9b2de914b9c5, []int{9} -} - -func (m *ImportInstanceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImportInstanceRequest.Unmarshal(m, b) -} -func (m *ImportInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImportInstanceRequest.Marshal(b, m, deterministic) -} -func (m *ImportInstanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportInstanceRequest.Merge(m, src) -} -func (m *ImportInstanceRequest) XXX_Size() int { - return xxx_messageInfo_ImportInstanceRequest.Size(m) -} -func (m *ImportInstanceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ImportInstanceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ImportInstanceRequest proto.InternalMessageInfo - -func (m *ImportInstanceRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ImportInstanceRequest) GetInputConfig() *InputConfig { - if m != nil { - return m.InputConfig - } - return nil -} - -// The Cloud Storage location for the output content -type GcsDestination struct { - // Required. Data destination URI (e.g. - // 'gs://my_bucket/my_object'). Existing files will be overwritten. - 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_522f9b2de914b9c5, []int{10} -} - -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 (m *GcsDestination) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcsDestination.Merge(m, 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 "" -} - -// The output content -type OutputConfig struct { - // Required. Specify destination location of output data - // - // 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_522f9b2de914b9c5, []int{11} -} - -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 (m *OutputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_OutputConfig.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*OutputConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*OutputConfig_GcsDestination)(nil), - } -} - -// Request for [Export][google.cloud.redis.v1beta1.CloudRedis.ExportInstance]. -type ExportInstanceRequest 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"` - // Required. Specify data to be exported. - OutputConfig *OutputConfig `protobuf:"bytes,3,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 *ExportInstanceRequest) Reset() { *m = ExportInstanceRequest{} } -func (m *ExportInstanceRequest) String() string { return proto.CompactTextString(m) } -func (*ExportInstanceRequest) ProtoMessage() {} -func (*ExportInstanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_522f9b2de914b9c5, []int{12} -} - -func (m *ExportInstanceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExportInstanceRequest.Unmarshal(m, b) -} -func (m *ExportInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExportInstanceRequest.Marshal(b, m, deterministic) -} -func (m *ExportInstanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportInstanceRequest.Merge(m, src) -} -func (m *ExportInstanceRequest) XXX_Size() int { - return xxx_messageInfo_ExportInstanceRequest.Size(m) -} -func (m *ExportInstanceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ExportInstanceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ExportInstanceRequest proto.InternalMessageInfo - -func (m *ExportInstanceRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ExportInstanceRequest) GetOutputConfig() *OutputConfig { - if m != nil { - return m.OutputConfig - } - return nil -} - -// Request for [Failover][google.cloud.redis.v1beta1.CloudRedis.FailoverInstance]. -type FailoverInstanceRequest 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"` - // Optional. Available data protection modes that the user can choose. If it's - // unspecified, data protection mode will be LIMITED_DATA_LOSS by default. - DataProtectionMode FailoverInstanceRequest_DataProtectionMode `protobuf:"varint,2,opt,name=data_protection_mode,json=dataProtectionMode,proto3,enum=google.cloud.redis.v1beta1.FailoverInstanceRequest_DataProtectionMode" json:"data_protection_mode,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FailoverInstanceRequest) Reset() { *m = FailoverInstanceRequest{} } -func (m *FailoverInstanceRequest) String() string { return proto.CompactTextString(m) } -func (*FailoverInstanceRequest) ProtoMessage() {} -func (*FailoverInstanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_522f9b2de914b9c5, []int{13} -} - -func (m *FailoverInstanceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FailoverInstanceRequest.Unmarshal(m, b) -} -func (m *FailoverInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FailoverInstanceRequest.Marshal(b, m, deterministic) -} -func (m *FailoverInstanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FailoverInstanceRequest.Merge(m, src) -} -func (m *FailoverInstanceRequest) XXX_Size() int { - return xxx_messageInfo_FailoverInstanceRequest.Size(m) -} -func (m *FailoverInstanceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FailoverInstanceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_FailoverInstanceRequest proto.InternalMessageInfo - -func (m *FailoverInstanceRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *FailoverInstanceRequest) GetDataProtectionMode() FailoverInstanceRequest_DataProtectionMode { - if m != nil { - return m.DataProtectionMode - } - return FailoverInstanceRequest_DATA_PROTECTION_MODE_UNSPECIFIED -} - -// 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_522f9b2de914b9c5, []int{14} -} - -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 (m *LocationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocationMetadata.Merge(m, 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_522f9b2de914b9c5, []int{15} -} - -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 (m *ZoneMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ZoneMetadata.Merge(m, 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.RegisterEnum("google.cloud.redis.v1beta1.Instance_State", Instance_State_name, Instance_State_value) - proto.RegisterEnum("google.cloud.redis.v1beta1.Instance_Tier", Instance_Tier_name, Instance_Tier_value) - proto.RegisterEnum("google.cloud.redis.v1beta1.FailoverInstanceRequest_DataProtectionMode", FailoverInstanceRequest_DataProtectionMode_name, FailoverInstanceRequest_DataProtectionMode_value) - proto.RegisterType((*Instance)(nil), "google.cloud.redis.v1beta1.Instance") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.redis.v1beta1.Instance.LabelsEntry") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.redis.v1beta1.Instance.RedisConfigsEntry") - proto.RegisterType((*ListInstancesRequest)(nil), "google.cloud.redis.v1beta1.ListInstancesRequest") - proto.RegisterType((*ListInstancesResponse)(nil), "google.cloud.redis.v1beta1.ListInstancesResponse") - proto.RegisterType((*GetInstanceRequest)(nil), "google.cloud.redis.v1beta1.GetInstanceRequest") - proto.RegisterType((*CreateInstanceRequest)(nil), "google.cloud.redis.v1beta1.CreateInstanceRequest") - proto.RegisterType((*UpdateInstanceRequest)(nil), "google.cloud.redis.v1beta1.UpdateInstanceRequest") - proto.RegisterType((*DeleteInstanceRequest)(nil), "google.cloud.redis.v1beta1.DeleteInstanceRequest") - proto.RegisterType((*GcsSource)(nil), "google.cloud.redis.v1beta1.GcsSource") - proto.RegisterType((*InputConfig)(nil), "google.cloud.redis.v1beta1.InputConfig") - proto.RegisterType((*ImportInstanceRequest)(nil), "google.cloud.redis.v1beta1.ImportInstanceRequest") - proto.RegisterType((*GcsDestination)(nil), "google.cloud.redis.v1beta1.GcsDestination") - proto.RegisterType((*OutputConfig)(nil), "google.cloud.redis.v1beta1.OutputConfig") - proto.RegisterType((*ExportInstanceRequest)(nil), "google.cloud.redis.v1beta1.ExportInstanceRequest") - proto.RegisterType((*FailoverInstanceRequest)(nil), "google.cloud.redis.v1beta1.FailoverInstanceRequest") - proto.RegisterType((*LocationMetadata)(nil), "google.cloud.redis.v1beta1.LocationMetadata") - proto.RegisterMapType((map[string]*ZoneMetadata)(nil), "google.cloud.redis.v1beta1.LocationMetadata.AvailableZonesEntry") - proto.RegisterType((*ZoneMetadata)(nil), "google.cloud.redis.v1beta1.ZoneMetadata") -} - -func init() { - proto.RegisterFile("google/cloud/redis/v1beta1/cloud_redis.proto", fileDescriptor_522f9b2de914b9c5) -} - -var fileDescriptor_522f9b2de914b9c5 = []byte{ - // 1917 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0xcf, 0x6f, 0xdb, 0xc8, - 0xf5, 0x0f, 0x25, 0xcb, 0x5f, 0xeb, 0x49, 0x96, 0xe5, 0x89, 0xf5, 0x0d, 0x57, 0xdb, 0x74, 0xbd, - 0x4c, 0xb6, 0xeb, 0x18, 0xa9, 0xd4, 0x38, 0x45, 0xb1, 0x71, 0xba, 0xbb, 0xa1, 0x24, 0xda, 0x26, - 0x60, 0x4b, 0x06, 0xa5, 0x2c, 0xd0, 0x05, 0x0a, 0xee, 0x98, 0x1a, 0xcb, 0xac, 0x25, 0x92, 0x25, - 0x47, 0x4a, 0x9c, 0xc0, 0x28, 0x5a, 0x2c, 0x8a, 0xde, 0xdb, 0xed, 0xb5, 0xed, 0xa1, 0x45, 0xff, - 0x85, 0xa2, 0x7f, 0x40, 0x81, 0x1c, 0xdb, 0x9e, 0x02, 0x14, 0xd8, 0x43, 0x4f, 0xbd, 0xf4, 0xbe, - 0xbd, 0x14, 0x33, 0x43, 0x4a, 0x94, 0x2c, 0xcb, 0x8e, 0xbd, 0xbd, 0x71, 0xde, 0xaf, 0x79, 0xef, - 0x33, 0x6f, 0xe6, 0xf3, 0x24, 0xb8, 0xdf, 0x71, 0xdd, 0x4e, 0x97, 0x94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 0x28, 0xe0, 0x40, 0x3c, 0x51, 0x1e, 0x5f, 0x01, 0x88, 0xc3, 0xb0, 0x18, 0x06, 0xc5, - 0xdf, 0x25, 0xc8, 0x8d, 0x4f, 0xd3, 0xb3, 0x1b, 0x61, 0xea, 0xe4, 0x7d, 0x11, 0x0c, 0xde, 0x2b, - 0xf5, 0x3e, 0x14, 0x26, 0x0b, 0xd4, 0x7a, 0x1e, 0x3d, 0x39, 0xa7, 0xee, 0xd8, 0x63, 0xbf, 0x7e, - 0x85, 0xc7, 0xbe, 0xb8, 0xf3, 0x4a, 0x5d, 0x99, 0x36, 0x71, 0xfd, 0x55, 0x2d, 0x1d, 0x51, 0xea, - 0x05, 0x9b, 0xe5, 0xf2, 0xb3, 0x67, 0xcf, 0x26, 0xc7, 0x31, 0xdc, 0xa7, 0x47, 0xe2, 0x5f, 0xdc, - 0x6f, 0x7b, 0x5d, 0x4c, 0x0f, 0x5d, 0xbf, 0x57, 0xf9, 0x09, 0x7c, 0xd3, 0x72, 0x7b, 0x33, 0x20, - 0xa9, 0x14, 0x47, 0x4c, 0xde, 0x24, 0xfe, 0xc0, 0xb6, 0x48, 0x85, 0x88, 0x29, 0xca, 0xdd, 0x97, - 0x3e, 0xfd, 0x38, 0xf4, 0xec, 0xb8, 0x5d, 0xec, 0x74, 0x4a, 0xae, 0xdf, 0x29, 0x77, 0x88, 0xc3, - 0xab, 0x2d, 0x8f, 0xb6, 0x9f, 0xf6, 0x7f, 0xf2, 0x63, 0xbe, 0x3a, 0x98, 0xe7, 0xb6, 0x0f, 0xff, - 0x1b, 0x00, 0x00, 0xff, 0xff, 0x8c, 0x13, 0xef, 0xb3, 0x7a, 0x16, 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 - -// 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) - // Import a Redis RDB snapshot file from Cloud Storage into a Redis instance. - // - // Redis may stop serving during this operation. Instance state will be - // IMPORTING for entire operation. When complete, the instance will contain - // only data from the imported file. - // - // The returned operation is automatically deleted after a few hours, so - // there is no need to call DeleteOperation. - ImportInstance(ctx context.Context, in *ImportInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Export Redis instance data into a Redis RDB format file in Cloud Storage. - // - // Redis will continue serving during this operation. - // - // The returned operation is automatically deleted after a few hours, so - // there is no need to call DeleteOperation. - ExportInstance(ctx context.Context, in *ExportInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Initiates a failover of the master node to current replica node for a - // specific STANDARD tier Cloud Memorystore for Redis instance. - FailoverInstance(ctx context.Context, in *FailoverInstanceRequest, 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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.CloudRedis/UpdateInstance", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudRedisClient) ImportInstance(ctx context.Context, in *ImportInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.redis.v1beta1.CloudRedis/ImportInstance", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudRedisClient) ExportInstance(ctx context.Context, in *ExportInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.redis.v1beta1.CloudRedis/ExportInstance", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudRedisClient) FailoverInstance(ctx context.Context, in *FailoverInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.redis.v1beta1.CloudRedis/FailoverInstance", 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.v1beta1.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) - // Import a Redis RDB snapshot file from Cloud Storage into a Redis instance. - // - // Redis may stop serving during this operation. Instance state will be - // IMPORTING for entire operation. When complete, the instance will contain - // only data from the imported file. - // - // The returned operation is automatically deleted after a few hours, so - // there is no need to call DeleteOperation. - ImportInstance(context.Context, *ImportInstanceRequest) (*longrunning.Operation, error) - // Export Redis instance data into a Redis RDB format file in Cloud Storage. - // - // Redis will continue serving during this operation. - // - // The returned operation is automatically deleted after a few hours, so - // there is no need to call DeleteOperation. - ExportInstance(context.Context, *ExportInstanceRequest) (*longrunning.Operation, error) - // Initiates a failover of the master node to current replica node for a - // specific STANDARD tier Cloud Memorystore for Redis instance. - FailoverInstance(context.Context, *FailoverInstanceRequest) (*longrunning.Operation, error) - // Deletes a specific Redis instance. Instance stops serving and data is - // deleted. - DeleteInstance(context.Context, *DeleteInstanceRequest) (*longrunning.Operation, error) -} - -// UnimplementedCloudRedisServer can be embedded to have forward compatible implementations. -type UnimplementedCloudRedisServer struct { -} - -func (*UnimplementedCloudRedisServer) ListInstances(ctx context.Context, req *ListInstancesRequest) (*ListInstancesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListInstances not implemented") -} -func (*UnimplementedCloudRedisServer) GetInstance(ctx context.Context, req *GetInstanceRequest) (*Instance, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetInstance not implemented") -} -func (*UnimplementedCloudRedisServer) CreateInstance(ctx context.Context, req *CreateInstanceRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateInstance not implemented") -} -func (*UnimplementedCloudRedisServer) UpdateInstance(ctx context.Context, req *UpdateInstanceRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateInstance not implemented") -} -func (*UnimplementedCloudRedisServer) ImportInstance(ctx context.Context, req *ImportInstanceRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ImportInstance not implemented") -} -func (*UnimplementedCloudRedisServer) ExportInstance(ctx context.Context, req *ExportInstanceRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ExportInstance not implemented") -} -func (*UnimplementedCloudRedisServer) FailoverInstance(ctx context.Context, req *FailoverInstanceRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method FailoverInstance not implemented") -} -func (*UnimplementedCloudRedisServer) DeleteInstance(ctx context.Context, req *DeleteInstanceRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteInstance not implemented") -} - -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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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_ImportInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ImportInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudRedisServer).ImportInstance(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.redis.v1beta1.CloudRedis/ImportInstance", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudRedisServer).ImportInstance(ctx, req.(*ImportInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudRedis_ExportInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ExportInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudRedisServer).ExportInstance(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.redis.v1beta1.CloudRedis/ExportInstance", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudRedisServer).ExportInstance(ctx, req.(*ExportInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudRedis_FailoverInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(FailoverInstanceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudRedisServer).FailoverInstance(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.redis.v1beta1.CloudRedis/FailoverInstance", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudRedisServer).FailoverInstance(ctx, req.(*FailoverInstanceRequest)) - } - 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.v1beta1.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.v1beta1.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: "ImportInstance", - Handler: _CloudRedis_ImportInstance_Handler, - }, - { - MethodName: "ExportInstance", - Handler: _CloudRedis_ExportInstance_Handler, - }, - { - MethodName: "FailoverInstance", - Handler: _CloudRedis_FailoverInstance_Handler, - }, - { - MethodName: "DeleteInstance", - Handler: _CloudRedis_DeleteInstance_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/redis/v1beta1/cloud_redis.proto", -} 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 deleted file mode 100644 index a13af62c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/resourcemanager/v2/folders.pb.go +++ /dev/null @@ -1,1566 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/resourcemanager/v2/folders.proto - -package resourcemanager - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - v1 "google.golang.org/genproto/googleapis/iam/v1" - longrunning "google.golang.org/genproto/googleapis/longrunning" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Folder lifecycle states. -type Folder_LifecycleState int32 - -const ( - // Unspecified state. - Folder_LIFECYCLE_STATE_UNSPECIFIED Folder_LifecycleState = 0 - // The normal and active state. - Folder_ACTIVE Folder_LifecycleState = 1 - // The folder has been marked for deletion by the user. - Folder_DELETE_REQUESTED Folder_LifecycleState = 2 -) - -var Folder_LifecycleState_name = map[int32]string{ - 0: "LIFECYCLE_STATE_UNSPECIFIED", - 1: "ACTIVE", - 2: "DELETE_REQUESTED", -} - -var Folder_LifecycleState_value = map[string]int32{ - "LIFECYCLE_STATE_UNSPECIFIED": 0, - "ACTIVE": 1, - "DELETE_REQUESTED": 2, -} - -func (x Folder_LifecycleState) String() string { - return proto.EnumName(Folder_LifecycleState_name, int32(x)) -} - -func (Folder_LifecycleState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_fe78511a4713776e, []int{0, 0} -} - -// The type of operation that failed. -type FolderOperation_OperationType int32 - -const ( - // Operation type not specified. - FolderOperation_OPERATION_TYPE_UNSPECIFIED FolderOperation_OperationType = 0 - // A create folder operation. - FolderOperation_CREATE FolderOperation_OperationType = 1 - // A move folder operation. - FolderOperation_MOVE FolderOperation_OperationType = 2 -) - -var FolderOperation_OperationType_name = map[int32]string{ - 0: "OPERATION_TYPE_UNSPECIFIED", - 1: "CREATE", - 2: "MOVE", -} - -var FolderOperation_OperationType_value = map[string]int32{ - "OPERATION_TYPE_UNSPECIFIED": 0, - "CREATE": 1, - "MOVE": 2, -} - -func (x FolderOperation_OperationType) String() string { - return proto.EnumName(FolderOperation_OperationType_name, int32(x)) -} - -func (FolderOperation_OperationType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_fe78511a4713776e, []int{11, 0} -} - -// A Folder in an Organization's resource hierarchy, used to -// organize that Organization's resources. -type Folder struct { - // Output only. The resource name of the Folder. - // Its format is `folders/{folder_id}`, for example: "folders/1234". - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The Folder’s parent's resource name. - // Updates to the folder's parent must be performed via [MoveFolders]. - Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"` - // The folder’s display name. - // A folder’s display name must be unique amongst its siblings, e.g. - // no two folders with the same parent can 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,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Output only. The lifecycle state of the folder. - // Updates to the lifecycle_state must be performed via - // [DeleteFolder] and [UndeleteFolder]. - LifecycleState Folder_LifecycleState `protobuf:"varint,4,opt,name=lifecycle_state,json=lifecycleState,proto3,enum=google.cloud.resourcemanager.v2.Folder_LifecycleState" json:"lifecycle_state,omitempty"` - // Output only. Timestamp when the Folder was created. Assigned by the server. - CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Output only. Timestamp when the Folder was last modified. - UpdateTime *timestamp.Timestamp `protobuf:"bytes,6,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 *Folder) Reset() { *m = Folder{} } -func (m *Folder) String() string { return proto.CompactTextString(m) } -func (*Folder) ProtoMessage() {} -func (*Folder) Descriptor() ([]byte, []int) { - return fileDescriptor_fe78511a4713776e, []int{0} -} - -func (m *Folder) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Folder.Unmarshal(m, b) -} -func (m *Folder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Folder.Marshal(b, m, deterministic) -} -func (m *Folder) XXX_Merge(src proto.Message) { - xxx_messageInfo_Folder.Merge(m, src) -} -func (m *Folder) XXX_Size() int { - return xxx_messageInfo_Folder.Size(m) -} -func (m *Folder) XXX_DiscardUnknown() { - xxx_messageInfo_Folder.DiscardUnknown(m) -} - -var xxx_messageInfo_Folder proto.InternalMessageInfo - -func (m *Folder) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Folder) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *Folder) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *Folder) GetLifecycleState() Folder_LifecycleState { - if m != nil { - return m.LifecycleState - } - return Folder_LIFECYCLE_STATE_UNSPECIFIED -} - -func (m *Folder) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *Folder) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -// The ListFolders request message. -type ListFoldersRequest struct { - // The resource name of the Organization or Folder whose Folders are - // being listed. - // Must be of the form `folders/{folder_id}` or `organizations/{org_id}`. - // Access to this method is controlled by checking the - // `resourcemanager.folders.list` permission on the `parent`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The maximum number of Folders to return in the response. - // This field is optional. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // A pagination token returned from a previous call to `ListFolders` - // that indicates where this listing should continue from. - // This field is optional. - PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // Controls whether Folders in the [DELETE_REQUESTED} state should - // be returned. - ShowDeleted bool `protobuf:"varint,4,opt,name=show_deleted,json=showDeleted,proto3" json:"show_deleted,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_fe78511a4713776e, []int{1} -} - -func (m *ListFoldersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListFoldersRequest.Unmarshal(m, b) -} -func (m *ListFoldersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListFoldersRequest.Marshal(b, m, deterministic) -} -func (m *ListFoldersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFoldersRequest.Merge(m, src) -} -func (m *ListFoldersRequest) XXX_Size() int { - return xxx_messageInfo_ListFoldersRequest.Size(m) -} -func (m *ListFoldersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListFoldersRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListFoldersRequest proto.InternalMessageInfo - -func (m *ListFoldersRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListFoldersRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListFoldersRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListFoldersRequest) GetShowDeleted() bool { - if m != nil { - return m.ShowDeleted - } - return false -} - -// The ListFolders response message. -type ListFoldersResponse struct { - // A possibly paginated list of Folders that are direct descendants of - // the specified parent resource. - Folders []*Folder `protobuf:"bytes,1,rep,name=folders,proto3" json:"folders,omitempty"` - // A pagination token returned from a previous call to `ListFolders` - // that indicates from where listing should continue. - // This field is optional. - 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 *ListFoldersResponse) Reset() { *m = ListFoldersResponse{} } -func (m *ListFoldersResponse) String() string { return proto.CompactTextString(m) } -func (*ListFoldersResponse) ProtoMessage() {} -func (*ListFoldersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_fe78511a4713776e, []int{2} -} - -func (m *ListFoldersResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListFoldersResponse.Unmarshal(m, b) -} -func (m *ListFoldersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListFoldersResponse.Marshal(b, m, deterministic) -} -func (m *ListFoldersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFoldersResponse.Merge(m, src) -} -func (m *ListFoldersResponse) XXX_Size() int { - return xxx_messageInfo_ListFoldersResponse.Size(m) -} -func (m *ListFoldersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListFoldersResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListFoldersResponse proto.InternalMessageInfo - -func (m *ListFoldersResponse) GetFolders() []*Folder { - if m != nil { - return m.Folders - } - return nil -} - -func (m *ListFoldersResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The request message for searching folders. -type SearchFoldersRequest struct { - // The maximum number of folders to return in the response. - // This field is optional. - PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // A pagination token returned from a previous call to `SearchFolders` - // that indicates from where search should continue. - // This field is optional. - PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // Search criteria used to select the Folders to return. - // If no search criteria is specified then all accessible folders will be - // returned. - // - // Query expressions can be used to restrict results based upon displayName, - // lifecycleState and parent, where the operators `=`, `NOT`, `AND` and `OR` - // can be used along with the suffix wildcard symbol `*`. - // - // Some example queries are: - // |Query|Description| - // |------|-----------| - // |displayName=Test*|Folders whose display name starts with "Test".| - // |lifecycleState=ACTIVE|Folders whose lifecycleState is ACTIVE.| - // |parent=folders/123|Folders whose parent is "folders/123".| - // |parent=folders/123 AND lifecycleState=ACTIVE|Active folders whose - // parent is "folders/123".| - Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_fe78511a4713776e, []int{3} -} - -func (m *SearchFoldersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchFoldersRequest.Unmarshal(m, b) -} -func (m *SearchFoldersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchFoldersRequest.Marshal(b, m, deterministic) -} -func (m *SearchFoldersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchFoldersRequest.Merge(m, src) -} -func (m *SearchFoldersRequest) XXX_Size() int { - return xxx_messageInfo_SearchFoldersRequest.Size(m) -} -func (m *SearchFoldersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SearchFoldersRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchFoldersRequest proto.InternalMessageInfo - -func (m *SearchFoldersRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *SearchFoldersRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *SearchFoldersRequest) GetQuery() string { - if m != nil { - return m.Query - } - return "" -} - -// The response message for searching folders. -type SearchFoldersResponse struct { - // A possibly paginated folder search results. - // the specified parent resource. - Folders []*Folder `protobuf:"bytes,1,rep,name=folders,proto3" json:"folders,omitempty"` - // A pagination token returned from a previous call to `SearchFolders` - // that indicates from where searching should continue. - // This field is optional. - 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 *SearchFoldersResponse) Reset() { *m = SearchFoldersResponse{} } -func (m *SearchFoldersResponse) String() string { return proto.CompactTextString(m) } -func (*SearchFoldersResponse) ProtoMessage() {} -func (*SearchFoldersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_fe78511a4713776e, []int{4} -} - -func (m *SearchFoldersResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchFoldersResponse.Unmarshal(m, b) -} -func (m *SearchFoldersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchFoldersResponse.Marshal(b, m, deterministic) -} -func (m *SearchFoldersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchFoldersResponse.Merge(m, src) -} -func (m *SearchFoldersResponse) XXX_Size() int { - return xxx_messageInfo_SearchFoldersResponse.Size(m) -} -func (m *SearchFoldersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SearchFoldersResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchFoldersResponse proto.InternalMessageInfo - -func (m *SearchFoldersResponse) GetFolders() []*Folder { - if m != nil { - return m.Folders - } - return nil -} - -func (m *SearchFoldersResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The GetFolder request message. -type GetFolderRequest struct { - // The resource name of the Folder to retrieve. - // Must be of the form `folders/{folder_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 *GetFolderRequest) Reset() { *m = GetFolderRequest{} } -func (m *GetFolderRequest) String() string { return proto.CompactTextString(m) } -func (*GetFolderRequest) ProtoMessage() {} -func (*GetFolderRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_fe78511a4713776e, []int{5} -} - -func (m *GetFolderRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetFolderRequest.Unmarshal(m, b) -} -func (m *GetFolderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetFolderRequest.Marshal(b, m, deterministic) -} -func (m *GetFolderRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetFolderRequest.Merge(m, src) -} -func (m *GetFolderRequest) XXX_Size() int { - return xxx_messageInfo_GetFolderRequest.Size(m) -} -func (m *GetFolderRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetFolderRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetFolderRequest proto.InternalMessageInfo - -func (m *GetFolderRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The CreateFolder request message. -type CreateFolderRequest struct { - // The resource name of the new Folder's parent. - // Must be of the form `folders/{folder_id}` or `organizations/{org_id}`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The Folder being created, only the display name will be consulted. - // All other fields will be ignored. - Folder *Folder `protobuf:"bytes,2,opt,name=folder,proto3" json:"folder,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_fe78511a4713776e, []int{6} -} - -func (m *CreateFolderRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateFolderRequest.Unmarshal(m, b) -} -func (m *CreateFolderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateFolderRequest.Marshal(b, m, deterministic) -} -func (m *CreateFolderRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateFolderRequest.Merge(m, src) -} -func (m *CreateFolderRequest) XXX_Size() int { - return xxx_messageInfo_CreateFolderRequest.Size(m) -} -func (m *CreateFolderRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateFolderRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateFolderRequest proto.InternalMessageInfo - -func (m *CreateFolderRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateFolderRequest) GetFolder() *Folder { - if m != nil { - return m.Folder - } - return nil -} - -// The MoveFolder request message. -type MoveFolderRequest struct { - // The resource name of the Folder to move. - // Must be of the form folders/{folder_id} - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The resource name of the Folder or Organization to reparent - // the folder under. - // Must be of the form `folders/{folder_id}` or `organizations/{org_id}`. - DestinationParent string `protobuf:"bytes,2,opt,name=destination_parent,json=destinationParent,proto3" json:"destination_parent,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_fe78511a4713776e, []int{7} -} - -func (m *MoveFolderRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MoveFolderRequest.Unmarshal(m, b) -} -func (m *MoveFolderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MoveFolderRequest.Marshal(b, m, deterministic) -} -func (m *MoveFolderRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MoveFolderRequest.Merge(m, src) -} -func (m *MoveFolderRequest) XXX_Size() int { - return xxx_messageInfo_MoveFolderRequest.Size(m) -} -func (m *MoveFolderRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MoveFolderRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MoveFolderRequest proto.InternalMessageInfo - -func (m *MoveFolderRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *MoveFolderRequest) GetDestinationParent() string { - if m != nil { - return m.DestinationParent - } - return "" -} - -// The request message for updating a folder's display name. -type UpdateFolderRequest struct { - // The new definition of the Folder. It must include a - // a `name` and `display_name` field. The other fields - // will be ignored. - Folder *Folder `protobuf:"bytes,1,opt,name=folder,proto3" json:"folder,omitempty"` - // Fields to be updated. - // Only the `display_name` can 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 *UpdateFolderRequest) Reset() { *m = UpdateFolderRequest{} } -func (m *UpdateFolderRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateFolderRequest) ProtoMessage() {} -func (*UpdateFolderRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_fe78511a4713776e, []int{8} -} - -func (m *UpdateFolderRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateFolderRequest.Unmarshal(m, b) -} -func (m *UpdateFolderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateFolderRequest.Marshal(b, m, deterministic) -} -func (m *UpdateFolderRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateFolderRequest.Merge(m, src) -} -func (m *UpdateFolderRequest) XXX_Size() int { - return xxx_messageInfo_UpdateFolderRequest.Size(m) -} -func (m *UpdateFolderRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateFolderRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateFolderRequest proto.InternalMessageInfo - -func (m *UpdateFolderRequest) GetFolder() *Folder { - if m != nil { - return m.Folder - } - return nil -} - -func (m *UpdateFolderRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// The DeleteFolder request message. -type DeleteFolderRequest struct { - // the resource name of the Folder to be deleted. - // Must be of the form `folders/{folder_id}`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Instructs DeleteFolderAction to delete a folder even when the folder is not - // empty. - RecursiveDelete bool `protobuf:"varint,2,opt,name=recursive_delete,json=recursiveDelete,proto3" json:"recursive_delete,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_fe78511a4713776e, []int{9} -} - -func (m *DeleteFolderRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteFolderRequest.Unmarshal(m, b) -} -func (m *DeleteFolderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteFolderRequest.Marshal(b, m, deterministic) -} -func (m *DeleteFolderRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteFolderRequest.Merge(m, src) -} -func (m *DeleteFolderRequest) XXX_Size() int { - return xxx_messageInfo_DeleteFolderRequest.Size(m) -} -func (m *DeleteFolderRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteFolderRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteFolderRequest proto.InternalMessageInfo - -func (m *DeleteFolderRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *DeleteFolderRequest) GetRecursiveDelete() bool { - if m != nil { - return m.RecursiveDelete - } - return false -} - -// The UndeleteFolder request message. -type UndeleteFolderRequest struct { - // The resource name of the Folder to undelete. - // Must be of the form `folders/{folder_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 *UndeleteFolderRequest) Reset() { *m = UndeleteFolderRequest{} } -func (m *UndeleteFolderRequest) String() string { return proto.CompactTextString(m) } -func (*UndeleteFolderRequest) ProtoMessage() {} -func (*UndeleteFolderRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_fe78511a4713776e, []int{10} -} - -func (m *UndeleteFolderRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UndeleteFolderRequest.Unmarshal(m, b) -} -func (m *UndeleteFolderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UndeleteFolderRequest.Marshal(b, m, deterministic) -} -func (m *UndeleteFolderRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UndeleteFolderRequest.Merge(m, src) -} -func (m *UndeleteFolderRequest) XXX_Size() int { - return xxx_messageInfo_UndeleteFolderRequest.Size(m) -} -func (m *UndeleteFolderRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UndeleteFolderRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UndeleteFolderRequest proto.InternalMessageInfo - -func (m *UndeleteFolderRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Metadata describing a long running folder operation -type FolderOperation struct { - // The display name of the folder. - DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // The type of this operation. - OperationType FolderOperation_OperationType `protobuf:"varint,2,opt,name=operation_type,json=operationType,proto3,enum=google.cloud.resourcemanager.v2.FolderOperation_OperationType" json:"operation_type,omitempty"` - // The resource name of the folder's parent. - // Only applicable when the operation_type is MOVE. - SourceParent string `protobuf:"bytes,3,opt,name=source_parent,json=sourceParent,proto3" json:"source_parent,omitempty"` - // The resource name of the folder or organization we are either creating - // the folder under or moving the folder to. - DestinationParent string `protobuf:"bytes,4,opt,name=destination_parent,json=destinationParent,proto3" json:"destination_parent,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_fe78511a4713776e, []int{11} -} - -func (m *FolderOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FolderOperation.Unmarshal(m, b) -} -func (m *FolderOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FolderOperation.Marshal(b, m, deterministic) -} -func (m *FolderOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_FolderOperation.Merge(m, src) -} -func (m *FolderOperation) XXX_Size() int { - return xxx_messageInfo_FolderOperation.Size(m) -} -func (m *FolderOperation) XXX_DiscardUnknown() { - xxx_messageInfo_FolderOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_FolderOperation proto.InternalMessageInfo - -func (m *FolderOperation) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *FolderOperation) GetOperationType() FolderOperation_OperationType { - if m != nil { - return m.OperationType - } - return FolderOperation_OPERATION_TYPE_UNSPECIFIED -} - -func (m *FolderOperation) GetSourceParent() string { - if m != nil { - return m.SourceParent - } - return "" -} - -func (m *FolderOperation) GetDestinationParent() string { - if m != nil { - return m.DestinationParent - } - return "" -} - -func init() { - proto.RegisterEnum("google.cloud.resourcemanager.v2.Folder_LifecycleState", Folder_LifecycleState_name, Folder_LifecycleState_value) - proto.RegisterEnum("google.cloud.resourcemanager.v2.FolderOperation_OperationType", FolderOperation_OperationType_name, FolderOperation_OperationType_value) - proto.RegisterType((*Folder)(nil), "google.cloud.resourcemanager.v2.Folder") - proto.RegisterType((*ListFoldersRequest)(nil), "google.cloud.resourcemanager.v2.ListFoldersRequest") - proto.RegisterType((*ListFoldersResponse)(nil), "google.cloud.resourcemanager.v2.ListFoldersResponse") - proto.RegisterType((*SearchFoldersRequest)(nil), "google.cloud.resourcemanager.v2.SearchFoldersRequest") - proto.RegisterType((*SearchFoldersResponse)(nil), "google.cloud.resourcemanager.v2.SearchFoldersResponse") - proto.RegisterType((*GetFolderRequest)(nil), "google.cloud.resourcemanager.v2.GetFolderRequest") - proto.RegisterType((*CreateFolderRequest)(nil), "google.cloud.resourcemanager.v2.CreateFolderRequest") - proto.RegisterType((*MoveFolderRequest)(nil), "google.cloud.resourcemanager.v2.MoveFolderRequest") - proto.RegisterType((*UpdateFolderRequest)(nil), "google.cloud.resourcemanager.v2.UpdateFolderRequest") - proto.RegisterType((*DeleteFolderRequest)(nil), "google.cloud.resourcemanager.v2.DeleteFolderRequest") - proto.RegisterType((*UndeleteFolderRequest)(nil), "google.cloud.resourcemanager.v2.UndeleteFolderRequest") - proto.RegisterType((*FolderOperation)(nil), "google.cloud.resourcemanager.v2.FolderOperation") -} - -func init() { - proto.RegisterFile("google/cloud/resourcemanager/v2/folders.proto", fileDescriptor_fe78511a4713776e) -} - -var fileDescriptor_fe78511a4713776e = []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, - 0xca, 0x46, 0xd6, 0x6a, 0xce, 0x9a, 0x41, 0x2f, 0x3a, 0x01, 0xea, 0x52, 0xb7, 0x8a, 0xd4, 0x97, - 0xe0, 0xb8, 0x95, 0x86, 0x2a, 0x59, 0x5e, 0x72, 0x9a, 0x5a, 0x75, 0x6c, 0xcf, 0x76, 0x02, 0xd9, - 0x84, 0x34, 0x4d, 0x9a, 0xb8, 0x98, 0xb8, 0xda, 0x1d, 0x88, 0x0b, 0x6e, 0xb9, 0x45, 0xe2, 0x3b, - 0xc0, 0x2d, 0x5f, 0x81, 0x0f, 0x82, 0x7c, 0x7c, 0x9c, 0xda, 0x4e, 0x3a, 0xa7, 0x08, 0x71, 0x55, - 0xfb, 0x79, 0xfd, 0x3d, 0x6f, 0xbf, 0x3a, 0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, 0xe2, 0xea, - 0x7d, 0x8e, 0xe0, 0xb8, 0xf2, 0x47, 0x60, 0x71, 0xc2, 0x2c, 0x4e, 0x62, 0x16, 0x27, 0xc7, 0x95, - 0x67, 0x69, 0x96, 0xfe, 0xd1, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xda, 0x9b, 0x45, 0x8f, 0xe8, - 0x0e, 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 - -// FoldersClient is the client API for Folders service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type FoldersClient interface { - // Lists the Folders that are direct descendants of supplied parent resource. - // List provides a strongly consistent view of the Folders underneath - // the specified parent resource. - // List returns Folders sorted based upon the (ascending) lexical ordering - // of their display_name. - // The caller must have `resourcemanager.folders.list` permission on the - // identified parent. - ListFolders(ctx context.Context, in *ListFoldersRequest, opts ...grpc.CallOption) (*ListFoldersResponse, error) - // Search for folders that match specific filter criteria. - // Search provides an eventually consistent view of the folders a user has - // access to which meet the specified filter criteria. - // - // This will only return folders on which the caller has the - // permission `resourcemanager.folders.get`. - SearchFolders(ctx context.Context, in *SearchFoldersRequest, opts ...grpc.CallOption) (*SearchFoldersResponse, error) - // Retrieves a Folder identified by the supplied resource name. - // Valid Folder resource names have the format `folders/{folder_id}` - // (for example, `folders/1234`). - // The caller must have `resourcemanager.folders.get` permission on the - // identified folder. - GetFolder(ctx context.Context, in *GetFolderRequest, opts ...grpc.CallOption) (*Folder, error) - // Creates a Folder in the resource hierarchy. - // Returns an Operation which can be used to track the progress of the - // folder creation workflow. - // Upon success the Operation.response field will be populated with the - // created Folder. - // - // In order to succeed, the addition of this new Folder must not violate - // the Folder naming, height or fanout constraints. - // + The Folder's display_name must be distinct from all other Folder's that - // share its parent. - // + The addition of the Folder must not cause the active Folder hierarchy - // to exceed a height of 4. Note, the full active + deleted Folder hierarchy - // is allowed to reach a height of 8; this provides additional headroom when - // moving folders that contain deleted folders. - // + The addition of the Folder must not cause the total number of Folders - // under its parent to exceed 100. - // - // If the operation fails due to a folder constraint violation, - // a PreconditionFailure explaining the violation will be returned. - // If the failure occurs synchronously then the PreconditionFailure - // will be returned via the Status.details field and if it occurs - // asynchronously then the PreconditionFailure will be returned - // via the Operation.error field. - // - // The caller must have `resourcemanager.folders.create` permission on the - // identified parent. - CreateFolder(ctx context.Context, in *CreateFolderRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Updates a Folder, changing its display_name. - // Changes to the folder display_name will be rejected if they violate either - // the display_name formatting rules or naming constraints described in - // the [CreateFolder] documentation. - // + The Folder's 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}])?. - // The caller must have `resourcemanager.folders.update` permission on the - // identified folder. - // - // If the update fails due to the unique name constraint then a - // PreconditionFailure explaining this violation will be returned - // in the Status.details field. - UpdateFolder(ctx context.Context, in *UpdateFolderRequest, opts ...grpc.CallOption) (*Folder, error) - // Moves a Folder under a new resource parent. - // Returns an Operation which can be used to track the progress of the - // folder move workflow. - // Upon success the Operation.response field will be populated with the - // moved Folder. - // Upon failure, a FolderOperationError categorizing the failure cause will - // be returned - if the failure occurs synchronously then the - // FolderOperationError will be returned via the Status.details field - // and if it occurs asynchronously then the FolderOperation will be returned - // via the the Operation.error field. - // In addition, the Operation.metadata field will be populated with a - // FolderOperation message as an aid to stateless clients. - // Folder moves will be rejected if they violate either the naming, height - // or fanout constraints described in the [CreateFolder] documentation. - // The caller must have `resourcemanager.folders.move` permission on the - // folder's current and proposed new parent. - MoveFolder(ctx context.Context, in *MoveFolderRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Requests deletion of a Folder. The Folder is moved into the - // [DELETE_REQUESTED] state immediately, and is deleted approximately 30 days - // later. This method may only be called on an empty Folder in the [ACTIVE] - // state, where a Folder is empty if it doesn't contain any Folders or - // Projects in the [ACTIVE] state. - // The caller must have `resourcemanager.folders.delete` permission on the - // identified folder. - DeleteFolder(ctx context.Context, in *DeleteFolderRequest, opts ...grpc.CallOption) (*Folder, error) - // Cancels the deletion request for a Folder. This method may only be - // called on a Folder in the [DELETE_REQUESTED] state. - // In order to succeed, the Folder's parent must be in the [ACTIVE] state. - // In addition, reintroducing the folder into the tree must not violate - // folder naming, height and fanout constraints described in the - // [CreateFolder] documentation. - // The caller must have `resourcemanager.folders.undelete` permission on the - // identified folder. - UndeleteFolder(ctx context.Context, in *UndeleteFolderRequest, opts ...grpc.CallOption) (*Folder, error) - // Gets the access control policy for a Folder. The returned policy may be - // empty if no such policy or resource exists. The `resource` field should - // be the Folder's resource name, e.g. "folders/1234". - // The caller must have `resourcemanager.folders.getIamPolicy` permission - // on the identified folder. - GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) - // Sets the access control policy on a Folder, replacing any existing policy. - // The `resource` field should be the Folder's resource name, e.g. - // "folders/1234". - // The caller must have `resourcemanager.folders.setIamPolicy` permission - // on the identified folder. - SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) - // Returns permissions that a caller has on the specified Folder. - // The `resource` field should be the Folder's resource name, - // e.g. "folders/1234". - // - // There are no permissions required for making this API call. - TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) -} - -type foldersClient struct { - cc *grpc.ClientConn -} - -func NewFoldersClient(cc *grpc.ClientConn) FoldersClient { - return &foldersClient{cc} -} - -func (c *foldersClient) ListFolders(ctx context.Context, in *ListFoldersRequest, opts ...grpc.CallOption) (*ListFoldersResponse, error) { - out := new(ListFoldersResponse) - err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v2.Folders/ListFolders", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *foldersClient) SearchFolders(ctx context.Context, in *SearchFoldersRequest, opts ...grpc.CallOption) (*SearchFoldersResponse, error) { - out := new(SearchFoldersResponse) - err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v2.Folders/SearchFolders", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *foldersClient) GetFolder(ctx context.Context, in *GetFolderRequest, opts ...grpc.CallOption) (*Folder, error) { - out := new(Folder) - err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v2.Folders/GetFolder", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *foldersClient) CreateFolder(ctx context.Context, in *CreateFolderRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v2.Folders/CreateFolder", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *foldersClient) UpdateFolder(ctx context.Context, in *UpdateFolderRequest, opts ...grpc.CallOption) (*Folder, error) { - out := new(Folder) - err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v2.Folders/UpdateFolder", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *foldersClient) MoveFolder(ctx context.Context, in *MoveFolderRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v2.Folders/MoveFolder", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *foldersClient) DeleteFolder(ctx context.Context, in *DeleteFolderRequest, opts ...grpc.CallOption) (*Folder, error) { - out := new(Folder) - err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v2.Folders/DeleteFolder", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *foldersClient) UndeleteFolder(ctx context.Context, in *UndeleteFolderRequest, opts ...grpc.CallOption) (*Folder, error) { - out := new(Folder) - err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v2.Folders/UndeleteFolder", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *foldersClient) GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { - out := new(v1.Policy) - err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v2.Folders/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *foldersClient) SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { - out := new(v1.Policy) - err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v2.Folders/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *foldersClient) TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) { - out := new(v1.TestIamPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.resourcemanager.v2.Folders/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// FoldersServer is the server API for Folders service. -type FoldersServer interface { - // Lists the Folders that are direct descendants of supplied parent resource. - // List provides a strongly consistent view of the Folders underneath - // the specified parent resource. - // List returns Folders sorted based upon the (ascending) lexical ordering - // of their display_name. - // The caller must have `resourcemanager.folders.list` permission on the - // identified parent. - ListFolders(context.Context, *ListFoldersRequest) (*ListFoldersResponse, error) - // Search for folders that match specific filter criteria. - // Search provides an eventually consistent view of the folders a user has - // access to which meet the specified filter criteria. - // - // This will only return folders on which the caller has the - // permission `resourcemanager.folders.get`. - SearchFolders(context.Context, *SearchFoldersRequest) (*SearchFoldersResponse, error) - // Retrieves a Folder identified by the supplied resource name. - // Valid Folder resource names have the format `folders/{folder_id}` - // (for example, `folders/1234`). - // The caller must have `resourcemanager.folders.get` permission on the - // identified folder. - GetFolder(context.Context, *GetFolderRequest) (*Folder, error) - // Creates a Folder in the resource hierarchy. - // Returns an Operation which can be used to track the progress of the - // folder creation workflow. - // Upon success the Operation.response field will be populated with the - // created Folder. - // - // In order to succeed, the addition of this new Folder must not violate - // the Folder naming, height or fanout constraints. - // + The Folder's display_name must be distinct from all other Folder's that - // share its parent. - // + The addition of the Folder must not cause the active Folder hierarchy - // to exceed a height of 4. Note, the full active + deleted Folder hierarchy - // is allowed to reach a height of 8; this provides additional headroom when - // moving folders that contain deleted folders. - // + The addition of the Folder must not cause the total number of Folders - // under its parent to exceed 100. - // - // If the operation fails due to a folder constraint violation, - // a PreconditionFailure explaining the violation will be returned. - // If the failure occurs synchronously then the PreconditionFailure - // will be returned via the Status.details field and if it occurs - // asynchronously then the PreconditionFailure will be returned - // via the Operation.error field. - // - // The caller must have `resourcemanager.folders.create` permission on the - // identified parent. - CreateFolder(context.Context, *CreateFolderRequest) (*longrunning.Operation, error) - // Updates a Folder, changing its display_name. - // Changes to the folder display_name will be rejected if they violate either - // the display_name formatting rules or naming constraints described in - // the [CreateFolder] documentation. - // + The Folder's 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}])?. - // The caller must have `resourcemanager.folders.update` permission on the - // identified folder. - // - // If the update fails due to the unique name constraint then a - // PreconditionFailure explaining this violation will be returned - // in the Status.details field. - UpdateFolder(context.Context, *UpdateFolderRequest) (*Folder, error) - // Moves a Folder under a new resource parent. - // Returns an Operation which can be used to track the progress of the - // folder move workflow. - // Upon success the Operation.response field will be populated with the - // moved Folder. - // Upon failure, a FolderOperationError categorizing the failure cause will - // be returned - if the failure occurs synchronously then the - // FolderOperationError will be returned via the Status.details field - // and if it occurs asynchronously then the FolderOperation will be returned - // via the the Operation.error field. - // In addition, the Operation.metadata field will be populated with a - // FolderOperation message as an aid to stateless clients. - // Folder moves will be rejected if they violate either the naming, height - // or fanout constraints described in the [CreateFolder] documentation. - // The caller must have `resourcemanager.folders.move` permission on the - // folder's current and proposed new parent. - MoveFolder(context.Context, *MoveFolderRequest) (*longrunning.Operation, error) - // Requests deletion of a Folder. The Folder is moved into the - // [DELETE_REQUESTED] state immediately, and is deleted approximately 30 days - // later. This method may only be called on an empty Folder in the [ACTIVE] - // state, where a Folder is empty if it doesn't contain any Folders or - // Projects in the [ACTIVE] state. - // The caller must have `resourcemanager.folders.delete` permission on the - // identified folder. - DeleteFolder(context.Context, *DeleteFolderRequest) (*Folder, error) - // Cancels the deletion request for a Folder. This method may only be - // called on a Folder in the [DELETE_REQUESTED] state. - // In order to succeed, the Folder's parent must be in the [ACTIVE] state. - // In addition, reintroducing the folder into the tree must not violate - // folder naming, height and fanout constraints described in the - // [CreateFolder] documentation. - // The caller must have `resourcemanager.folders.undelete` permission on the - // identified folder. - UndeleteFolder(context.Context, *UndeleteFolderRequest) (*Folder, error) - // Gets the access control policy for a Folder. The returned policy may be - // empty if no such policy or resource exists. The `resource` field should - // be the Folder's resource name, e.g. "folders/1234". - // The caller must have `resourcemanager.folders.getIamPolicy` permission - // on the identified folder. - GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error) - // Sets the access control policy on a Folder, replacing any existing policy. - // The `resource` field should be the Folder's resource name, e.g. - // "folders/1234". - // The caller must have `resourcemanager.folders.setIamPolicy` permission - // on the identified folder. - SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error) - // Returns permissions that a caller has on the specified Folder. - // The `resource` field should be the Folder's resource name, - // e.g. "folders/1234". - // - // There are no permissions required for making this API call. - TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) -} - -// UnimplementedFoldersServer can be embedded to have forward compatible implementations. -type UnimplementedFoldersServer struct { -} - -func (*UnimplementedFoldersServer) ListFolders(ctx context.Context, req *ListFoldersRequest) (*ListFoldersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListFolders not implemented") -} -func (*UnimplementedFoldersServer) SearchFolders(ctx context.Context, req *SearchFoldersRequest) (*SearchFoldersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchFolders not implemented") -} -func (*UnimplementedFoldersServer) GetFolder(ctx context.Context, req *GetFolderRequest) (*Folder, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetFolder not implemented") -} -func (*UnimplementedFoldersServer) CreateFolder(ctx context.Context, req *CreateFolderRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateFolder not implemented") -} -func (*UnimplementedFoldersServer) UpdateFolder(ctx context.Context, req *UpdateFolderRequest) (*Folder, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateFolder not implemented") -} -func (*UnimplementedFoldersServer) MoveFolder(ctx context.Context, req *MoveFolderRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method MoveFolder not implemented") -} -func (*UnimplementedFoldersServer) DeleteFolder(ctx context.Context, req *DeleteFolderRequest) (*Folder, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteFolder not implemented") -} -func (*UnimplementedFoldersServer) UndeleteFolder(ctx context.Context, req *UndeleteFolderRequest) (*Folder, error) { - return nil, status.Errorf(codes.Unimplemented, "method UndeleteFolder not implemented") -} -func (*UnimplementedFoldersServer) GetIamPolicy(ctx context.Context, req *v1.GetIamPolicyRequest) (*v1.Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedFoldersServer) SetIamPolicy(ctx context.Context, req *v1.SetIamPolicyRequest) (*v1.Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedFoldersServer) TestIamPermissions(ctx context.Context, req *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} - -func RegisterFoldersServer(s *grpc.Server, srv FoldersServer) { - s.RegisterService(&_Folders_serviceDesc, srv) -} - -func _Folders_ListFolders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListFoldersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FoldersServer).ListFolders(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.resourcemanager.v2.Folders/ListFolders", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FoldersServer).ListFolders(ctx, req.(*ListFoldersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Folders_SearchFolders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchFoldersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FoldersServer).SearchFolders(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.resourcemanager.v2.Folders/SearchFolders", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FoldersServer).SearchFolders(ctx, req.(*SearchFoldersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Folders_GetFolder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetFolderRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FoldersServer).GetFolder(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.resourcemanager.v2.Folders/GetFolder", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FoldersServer).GetFolder(ctx, req.(*GetFolderRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Folders_CreateFolder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateFolderRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FoldersServer).CreateFolder(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.resourcemanager.v2.Folders/CreateFolder", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FoldersServer).CreateFolder(ctx, req.(*CreateFolderRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Folders_UpdateFolder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateFolderRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FoldersServer).UpdateFolder(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.resourcemanager.v2.Folders/UpdateFolder", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FoldersServer).UpdateFolder(ctx, req.(*UpdateFolderRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Folders_MoveFolder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MoveFolderRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FoldersServer).MoveFolder(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.resourcemanager.v2.Folders/MoveFolder", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FoldersServer).MoveFolder(ctx, req.(*MoveFolderRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Folders_DeleteFolder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteFolderRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FoldersServer).DeleteFolder(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.resourcemanager.v2.Folders/DeleteFolder", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FoldersServer).DeleteFolder(ctx, req.(*DeleteFolderRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Folders_UndeleteFolder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UndeleteFolderRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FoldersServer).UndeleteFolder(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.resourcemanager.v2.Folders/UndeleteFolder", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FoldersServer).UndeleteFolder(ctx, req.(*UndeleteFolderRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Folders_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.(FoldersServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.resourcemanager.v2.Folders/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FoldersServer).GetIamPolicy(ctx, req.(*v1.GetIamPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Folders_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.(FoldersServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.resourcemanager.v2.Folders/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FoldersServer).SetIamPolicy(ctx, req.(*v1.SetIamPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Folders_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.(FoldersServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.resourcemanager.v2.Folders/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FoldersServer).TestIamPermissions(ctx, req.(*v1.TestIamPermissionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Folders_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.resourcemanager.v2.Folders", - HandlerType: (*FoldersServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListFolders", - Handler: _Folders_ListFolders_Handler, - }, - { - MethodName: "SearchFolders", - Handler: _Folders_SearchFolders_Handler, - }, - { - MethodName: "GetFolder", - Handler: _Folders_GetFolder_Handler, - }, - { - MethodName: "CreateFolder", - Handler: _Folders_CreateFolder_Handler, - }, - { - MethodName: "UpdateFolder", - Handler: _Folders_UpdateFolder_Handler, - }, - { - MethodName: "MoveFolder", - Handler: _Folders_MoveFolder_Handler, - }, - { - MethodName: "DeleteFolder", - Handler: _Folders_DeleteFolder_Handler, - }, - { - MethodName: "UndeleteFolder", - Handler: _Folders_UndeleteFolder_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _Folders_GetIamPolicy_Handler, - }, - { - MethodName: "SetIamPolicy", - Handler: _Folders_SetIamPolicy_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _Folders_TestIamPermissions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/resourcemanager/v2/folders.proto", -} 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 deleted file mode 100644 index 737b1d88..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/runtimeconfig/v1beta1/resources.pb.go +++ /dev/null @@ -1,581 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/runtimeconfig/v1beta1/resources.proto - -package runtimeconfig - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The `VariableState` describes the last known state of the variable and is -// used during a `variables().watch` call to distinguish the state of the -// variable. -type VariableState int32 - -const ( - // Default variable state. - VariableState_VARIABLE_STATE_UNSPECIFIED VariableState = 0 - // The variable was updated, while `variables().watch` was executing. - VariableState_UPDATED VariableState = 1 - // The variable was deleted, while `variables().watch` was executing. - VariableState_DELETED VariableState = 2 -) - -var VariableState_name = map[int32]string{ - 0: "VARIABLE_STATE_UNSPECIFIED", - 1: "UPDATED", - 2: "DELETED", -} - -var VariableState_value = map[string]int32{ - "VARIABLE_STATE_UNSPECIFIED": 0, - "UPDATED": 1, - "DELETED": 2, -} - -func (x VariableState) String() string { - return proto.EnumName(VariableState_name, int32(x)) -} - -func (VariableState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7913f3704a8d250c, []int{0} -} - -// A RuntimeConfig resource is the primary resource in the Cloud RuntimeConfig -// service. A RuntimeConfig resource consists of metadata and a hierarchy of -// variables. -type RuntimeConfig struct { - // The resource name of a runtime config. The name must have the format: - // - // projects/[PROJECT_ID]/configs/[CONFIG_NAME] - // - // The `[PROJECT_ID]` must be a valid project ID, and `[CONFIG_NAME]` is an - // arbitrary name that matches RFC 1035 segment specification. The length of - // `[CONFIG_NAME]` must be less than 64 bytes. - // - // You pick the RuntimeConfig resource name, but the server will validate that - // the name adheres to this format. After you create the resource, you cannot - // change the resource's name. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // An optional description of the RuntimeConfig object. - 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 *RuntimeConfig) Reset() { *m = RuntimeConfig{} } -func (m *RuntimeConfig) String() string { return proto.CompactTextString(m) } -func (*RuntimeConfig) ProtoMessage() {} -func (*RuntimeConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_7913f3704a8d250c, []int{0} -} - -func (m *RuntimeConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RuntimeConfig.Unmarshal(m, b) -} -func (m *RuntimeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RuntimeConfig.Marshal(b, m, deterministic) -} -func (m *RuntimeConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_RuntimeConfig.Merge(m, src) -} -func (m *RuntimeConfig) XXX_Size() int { - return xxx_messageInfo_RuntimeConfig.Size(m) -} -func (m *RuntimeConfig) XXX_DiscardUnknown() { - xxx_messageInfo_RuntimeConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_RuntimeConfig proto.InternalMessageInfo - -func (m *RuntimeConfig) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *RuntimeConfig) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -// Describes a single variable within a RuntimeConfig resource. -// The name denotes the hierarchical variable name. For example, -// `ports/serving_port` is a valid variable name. The variable value is an -// opaque string and only leaf variables can have values (that is, variables -// that do not have any child variables). -type Variable struct { - // The name of the variable resource, in the format: - // - // projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME] - // - // The `[PROJECT_ID]` must be a valid project ID, `[CONFIG_NAME]` must be a - // valid RuntimeConfig reource and `[VARIABLE_NAME]` follows Unix file system - // file path naming. - // - // The `[VARIABLE_NAME]` can contain ASCII letters, numbers, slashes and - // dashes. Slashes are used as path element separators and are not part of the - // `[VARIABLE_NAME]` itself, so `[VARIABLE_NAME]` must contain at least one - // non-slash character. Multiple slashes are coalesced into single slash - // character. Each path segment should follow RFC 1035 segment specification. - // The length of a `[VARIABLE_NAME]` must be less than 256 bytes. - // - // Once you create a variable, you cannot change the variable name. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // 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. - // - // Types that are valid to be assigned to Contents: - // *Variable_Value - // *Variable_Text - Contents isVariable_Contents `protobuf_oneof:"contents"` - // [Output Only] The time of the last variable update. - UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - // [Ouput only] The current state of the variable. The variable state - // indicates the outcome of the `variables().watch` call and is visible - // through the `get` and `list` calls. - State VariableState `protobuf:"varint,4,opt,name=state,proto3,enum=google.cloud.runtimeconfig.v1beta1.VariableState" json:"state,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7913f3704a8d250c, []int{1} -} - -func (m *Variable) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Variable.Unmarshal(m, b) -} -func (m *Variable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Variable.Marshal(b, m, deterministic) -} -func (m *Variable) XXX_Merge(src proto.Message) { - xxx_messageInfo_Variable.Merge(m, src) -} -func (m *Variable) XXX_Size() int { - return xxx_messageInfo_Variable.Size(m) -} -func (m *Variable) XXX_DiscardUnknown() { - xxx_messageInfo_Variable.DiscardUnknown(m) -} - -var xxx_messageInfo_Variable proto.InternalMessageInfo - -func (m *Variable) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -type isVariable_Contents interface { - isVariable_Contents() -} - -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 (m *Variable) GetContents() isVariable_Contents { - if m != nil { - return m.Contents - } - return nil -} - -func (m *Variable) GetValue() []byte { - if x, ok := m.GetContents().(*Variable_Value); ok { - return x.Value - } - return nil -} - -func (m *Variable) GetText() string { - if x, ok := m.GetContents().(*Variable_Text); ok { - return x.Text - } - return "" -} - -func (m *Variable) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -func (m *Variable) GetState() VariableState { - if m != nil { - return m.State - } - return VariableState_VARIABLE_STATE_UNSPECIFIED -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Variable) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Variable_Value)(nil), - (*Variable_Text)(nil), - } -} - -// The condition that a Waiter resource is waiting for. -type EndCondition struct { - // The condition oneof holds the available condition types for this - // EndCondition. Currently, the only available type is Cardinality. - // - // Types that are valid to be assigned to Condition: - // *EndCondition_Cardinality_ - Condition isEndCondition_Condition `protobuf_oneof:"condition"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7913f3704a8d250c, []int{2} -} - -func (m *EndCondition) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EndCondition.Unmarshal(m, b) -} -func (m *EndCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EndCondition.Marshal(b, m, deterministic) -} -func (m *EndCondition) XXX_Merge(src proto.Message) { - xxx_messageInfo_EndCondition.Merge(m, src) -} -func (m *EndCondition) XXX_Size() int { - return xxx_messageInfo_EndCondition.Size(m) -} -func (m *EndCondition) XXX_DiscardUnknown() { - xxx_messageInfo_EndCondition.DiscardUnknown(m) -} - -var xxx_messageInfo_EndCondition proto.InternalMessageInfo - -type isEndCondition_Condition interface { - isEndCondition_Condition() -} - -type EndCondition_Cardinality_ struct { - Cardinality *EndCondition_Cardinality `protobuf:"bytes,1,opt,name=cardinality,proto3,oneof"` -} - -func (*EndCondition_Cardinality_) isEndCondition_Condition() {} - -func (m *EndCondition) GetCondition() isEndCondition_Condition { - if m != nil { - return m.Condition - } - return nil -} - -func (m *EndCondition) GetCardinality() *EndCondition_Cardinality { - if x, ok := m.GetCondition().(*EndCondition_Cardinality_); ok { - return x.Cardinality - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*EndCondition) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*EndCondition_Cardinality_)(nil), - } -} - -// A Cardinality condition for the Waiter resource. A cardinality condition is -// met when the number of variables under a specified path prefix reaches a -// predefined number. For example, if you set a Cardinality condition where -// the `path` is set to `/foo` and the number of paths is set to 2, the -// following variables would meet the condition in a RuntimeConfig resource: -// -// + `/foo/variable1 = "value1"` -// + `/foo/variable2 = "value2"` -// + `/bar/variable3 = "value3"` -// -// It would not would not satisify the same condition with the `number` set to -// 3, however, because there is only 2 paths that start with `/foo`. -// Cardinality conditions are recursive; all subtrees under the specific -// path prefix are counted. -type EndCondition_Cardinality struct { - // The root of the variable subtree to monitor. For example, `/foo`. - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` - // The number variables under the `path` that must exist to meet this - // condition. Defaults to 1 if not specified. - Number int32 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *EndCondition_Cardinality) Reset() { *m = EndCondition_Cardinality{} } -func (m *EndCondition_Cardinality) String() string { return proto.CompactTextString(m) } -func (*EndCondition_Cardinality) ProtoMessage() {} -func (*EndCondition_Cardinality) Descriptor() ([]byte, []int) { - return fileDescriptor_7913f3704a8d250c, []int{2, 0} -} - -func (m *EndCondition_Cardinality) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EndCondition_Cardinality.Unmarshal(m, b) -} -func (m *EndCondition_Cardinality) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EndCondition_Cardinality.Marshal(b, m, deterministic) -} -func (m *EndCondition_Cardinality) XXX_Merge(src proto.Message) { - xxx_messageInfo_EndCondition_Cardinality.Merge(m, src) -} -func (m *EndCondition_Cardinality) XXX_Size() int { - return xxx_messageInfo_EndCondition_Cardinality.Size(m) -} -func (m *EndCondition_Cardinality) XXX_DiscardUnknown() { - xxx_messageInfo_EndCondition_Cardinality.DiscardUnknown(m) -} - -var xxx_messageInfo_EndCondition_Cardinality proto.InternalMessageInfo - -func (m *EndCondition_Cardinality) GetPath() string { - if m != nil { - return m.Path - } - return "" -} - -func (m *EndCondition_Cardinality) GetNumber() int32 { - if m != nil { - return m.Number - } - return 0 -} - -// A Waiter resource waits for some end condition within a RuntimeConfig -// resource to be met before it returns. For example, assume you have a -// distributed system where each node writes to a Variable resource indidicating -// the node's readiness as part of the startup process. -// -// You then configure a Waiter resource with the success condition set to wait -// until some number of nodes have checked in. Afterwards, your application -// runs some arbitrary code after the condition has been met and the waiter -// returns successfully. -// -// Once created, a Waiter resource is immutable. -// -// To learn more about using waiters, read the -// [Creating a -// Waiter](/deployment-manager/runtime-configurator/creating-a-waiter) -// documentation. -type Waiter struct { - // The name of the Waiter resource, in the format: - // - // projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME] - // - // The `[PROJECT_ID]` must be a valid Google Cloud project ID, - // the `[CONFIG_NAME]` must be a valid RuntimeConfig resource, the - // `[WAITER_NAME]` must match RFC 1035 segment specification, and the length - // of `[WAITER_NAME]` must be less than 64 bytes. - // - // After you create a Waiter resource, you cannot change the resource name. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // [Required] Specifies the timeout of the waiter in seconds, beginning from - // the instant that `waiters().create` method is called. If this time elapses - // before the success or failure conditions are met, the waiter fails and sets - // the `error` code to `DEADLINE_EXCEEDED`. - Timeout *duration.Duration `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout,omitempty"` - // [Optional] The failure condition of this waiter. If this condition is met, - // `done` will be set to `true` and the `error` code will be set to `ABORTED`. - // The failure condition takes precedence over the success condition. If both - // conditions are met, a failure will be indicated. This value is optional; if - // no failure condition is set, the only failure scenario will be a timeout. - Failure *EndCondition `protobuf:"bytes,3,opt,name=failure,proto3" json:"failure,omitempty"` - // [Required] The success condition. If this condition is met, `done` will be - // set to `true` and the `error` value will remain unset. The failure - // condition takes precedence over the success condition. If both conditions - // are met, a failure will be indicated. - Success *EndCondition `protobuf:"bytes,4,opt,name=success,proto3" json:"success,omitempty"` - // [Output Only] The instant at which this Waiter resource was created. Adding - // the value of `timeout` to this instant yields the timeout deadline for the - // waiter. - CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // [Output Only] If the value is `false`, it means the waiter is still waiting - // for one of its conditions to be met. - // - // If true, the waiter has finished. If the waiter finished due to a timeout - // or failure, `error` will be set. - Done bool `protobuf:"varint,6,opt,name=done,proto3" json:"done,omitempty"` - // [Output Only] If the waiter ended due to a failure or timeout, this value - // will be set. - Error *status.Status `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7913f3704a8d250c, []int{3} -} - -func (m *Waiter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Waiter.Unmarshal(m, b) -} -func (m *Waiter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Waiter.Marshal(b, m, deterministic) -} -func (m *Waiter) XXX_Merge(src proto.Message) { - xxx_messageInfo_Waiter.Merge(m, src) -} -func (m *Waiter) XXX_Size() int { - return xxx_messageInfo_Waiter.Size(m) -} -func (m *Waiter) XXX_DiscardUnknown() { - xxx_messageInfo_Waiter.DiscardUnknown(m) -} - -var xxx_messageInfo_Waiter proto.InternalMessageInfo - -func (m *Waiter) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Waiter) GetTimeout() *duration.Duration { - if m != nil { - return m.Timeout - } - return nil -} - -func (m *Waiter) GetFailure() *EndCondition { - if m != nil { - return m.Failure - } - return nil -} - -func (m *Waiter) GetSuccess() *EndCondition { - if m != nil { - return m.Success - } - return nil -} - -func (m *Waiter) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *Waiter) GetDone() bool { - if m != nil { - return m.Done - } - return false -} - -func (m *Waiter) GetError() *status.Status { - if m != nil { - return m.Error - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.runtimeconfig.v1beta1.VariableState", VariableState_name, VariableState_value) - proto.RegisterType((*RuntimeConfig)(nil), "google.cloud.runtimeconfig.v1beta1.RuntimeConfig") - proto.RegisterType((*Variable)(nil), "google.cloud.runtimeconfig.v1beta1.Variable") - proto.RegisterType((*EndCondition)(nil), "google.cloud.runtimeconfig.v1beta1.EndCondition") - proto.RegisterType((*EndCondition_Cardinality)(nil), "google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality") - proto.RegisterType((*Waiter)(nil), "google.cloud.runtimeconfig.v1beta1.Waiter") -} - -func init() { - proto.RegisterFile("google/cloud/runtimeconfig/v1beta1/resources.proto", fileDescriptor_7913f3704a8d250c) -} - -var fileDescriptor_7913f3704a8d250c = []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, - 0x2a, 0x2e, 0x12, 0xda, 0x5d, 0xa1, 0x71, 0xd3, 0x8f, 0xb0, 0x15, 0x4d, 0x30, 0xa5, 0x5d, 0x91, - 0xd0, 0xa4, 0xe1, 0x3a, 0x6e, 0x88, 0x94, 0xda, 0x91, 0xe3, 0x4c, 0xf0, 0x4a, 0x3c, 0x01, 0x2f, - 0xc0, 0x0d, 0x0f, 0xc1, 0x15, 0x0f, 0x82, 0xec, 0x38, 0xd0, 0xc2, 0xc4, 0x06, 0x77, 0x3e, 0x3e, - 0xff, 0xf3, 0x3b, 0x1f, 0x3e, 0x09, 0xf4, 0x23, 0xce, 0xa3, 0x84, 0x7a, 0x24, 0xe1, 0x79, 0xe8, - 0x89, 0x9c, 0xc9, 0x78, 0x45, 0x09, 0x67, 0xcb, 0x38, 0xf2, 0xae, 0x7a, 0x0b, 0x2a, 0x71, 0xcf, - 0x13, 0x34, 0xe3, 0xb9, 0x20, 0x34, 0x73, 0x53, 0xc1, 0x25, 0x47, 0x9d, 0x22, 0xc6, 0xd5, 0x31, - 0xee, 0x46, 0x8c, 0x6b, 0x62, 0x5a, 0x0f, 0x0d, 0x17, 0xa7, 0xb1, 0x87, 0x19, 0xe3, 0x12, 0xcb, - 0x98, 0x33, 0x43, 0x68, 0x1d, 0x18, 0xaf, 0xb6, 0x16, 0xf9, 0xd2, 0x0b, 0x73, 0xa1, 0x05, 0xc6, - 0xff, 0xe8, 0x77, 0xbf, 0xca, 0x90, 0x49, 0xbc, 0x4a, 0x8d, 0xe0, 0xbe, 0x11, 0x88, 0x94, 0x78, - 0x99, 0xc4, 0x32, 0x37, 0xe4, 0x8e, 0x0f, 0xbb, 0x41, 0x51, 0xd0, 0x48, 0x17, 0x84, 0x10, 0xd4, - 0x18, 0x5e, 0x51, 0xc7, 0x6a, 0x5b, 0xdd, 0xed, 0x40, 0x9f, 0x51, 0x1b, 0xec, 0x90, 0x66, 0x44, - 0xc4, 0xa9, 0xca, 0xe9, 0x54, 0xb5, 0x6b, 0xfd, 0xaa, 0xf3, 0xcd, 0x82, 0xad, 0x39, 0x16, 0x31, - 0x5e, 0x24, 0xf4, 0x5a, 0xc4, 0x3e, 0xd4, 0xaf, 0x70, 0x92, 0x53, 0x1d, 0xbc, 0x73, 0x52, 0x09, - 0x0a, 0x13, 0xdd, 0x83, 0x9a, 0xa4, 0x1f, 0xa4, 0x53, 0x57, 0xda, 0x93, 0x4a, 0xa0, 0x2d, 0x74, - 0x04, 0x76, 0x9e, 0x86, 0x58, 0xd2, 0x4b, 0x55, 0x99, 0x73, 0xa7, 0x6d, 0x75, 0xed, 0x7e, 0xcb, - 0x35, 0x73, 0x2c, 0xbb, 0x74, 0x67, 0x65, 0x97, 0x01, 0x14, 0x72, 0x75, 0x81, 0x8e, 0xa1, 0xae, - 0x5a, 0xa4, 0x4e, 0xad, 0x6d, 0x75, 0xef, 0xf6, 0x7b, 0xee, 0xcd, 0xe3, 0x77, 0xcb, 0xda, 0xa7, - 0x2a, 0x30, 0x28, 0xe2, 0x87, 0x00, 0x5b, 0x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xdd, - 0xd8, 0x22, 0x74, 0x00, 0xad, 0xf9, 0x20, 0x98, 0x0c, 0x86, 0xa7, 0xfe, 0xe5, 0x74, 0x36, 0x98, - 0xf9, 0x97, 0xe7, 0xaf, 0xa6, 0x67, 0xfe, 0x68, 0xf2, 0x62, 0xe2, 0x8f, 0xf7, 0x2a, 0xc8, 0x86, - 0xe6, 0xf9, 0xd9, 0x78, 0x30, 0xf3, 0xc7, 0x7b, 0x96, 0x32, 0xc6, 0xfe, 0xa9, 0xaf, 0x8c, 0xea, - 0xf0, 0x8b, 0x05, 0x8f, 0x09, 0x5f, 0xdd, 0x62, 0x0c, 0x67, 0xd6, 0xdb, 0xd7, 0x46, 0x15, 0xf1, - 0x04, 0xb3, 0xc8, 0xe5, 0x22, 0xf2, 0x22, 0xca, 0x74, 0xab, 0x5e, 0xe1, 0xc2, 0x69, 0x9c, 0xfd, - 0xed, 0x87, 0x75, 0xb4, 0x71, 0xfb, 0xa9, 0xda, 0x39, 0x2e, 0x88, 0x23, 0x9d, 0x77, 0xe3, 0xf7, - 0xe0, 0xce, 0x7b, 0x43, 0x15, 0xf2, 0xb5, 0x14, 0x5d, 0x68, 0xd1, 0xc5, 0x86, 0xe8, 0x62, 0x5e, - 0x70, 0x17, 0x0d, 0x5d, 0xc5, 0xe1, 0x8f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x1a, 0xc9, 0x60, 0x90, - 0x35, 0x05, 0x00, 0x00, -} 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 deleted file mode 100644 index 5ffb6e03..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/runtimeconfig/v1beta1/runtimeconfig.pb.go +++ /dev/null @@ -1,1834 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/runtimeconfig/v1beta1/runtimeconfig.proto - -package runtimeconfig - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request for the `ListConfigs()` method. -type ListConfigsRequest struct { - // The [project - // ID](https://support.google.com/cloud/answer/6158840?hl=en&ref_topic=6158848) - // for this request, in the format `projects/[PROJECT_ID]`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Specifies the number of results to return per page. If there are fewer - // elements than the specified number, returns all elements. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Specifies a page token to use. Set `pageToken` to a `nextPageToken` - // returned by a previous list request to get 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 *ListConfigsRequest) Reset() { *m = ListConfigsRequest{} } -func (m *ListConfigsRequest) String() string { return proto.CompactTextString(m) } -func (*ListConfigsRequest) ProtoMessage() {} -func (*ListConfigsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a3e972e4a9f12181, []int{0} -} - -func (m *ListConfigsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListConfigsRequest.Unmarshal(m, b) -} -func (m *ListConfigsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListConfigsRequest.Marshal(b, m, deterministic) -} -func (m *ListConfigsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListConfigsRequest.Merge(m, src) -} -func (m *ListConfigsRequest) XXX_Size() int { - return xxx_messageInfo_ListConfigsRequest.Size(m) -} -func (m *ListConfigsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListConfigsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListConfigsRequest proto.InternalMessageInfo - -func (m *ListConfigsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListConfigsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListConfigsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// `ListConfigs()` returns the following response. The order of returned -// objects is arbitrary; that is, it is not ordered in any particular way. -type ListConfigsResponse struct { - // A list of the configurations in the project. The order of returned - // objects is arbitrary; that is, it is not ordered in any particular way. - Configs []*RuntimeConfig `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"` - // This token allows you to get the next page of results for list requests. - // If the number of results is larger than `pageSize`, use the `nextPageToken` - // as a value for the query parameter `pageToken` in the next list request. - // Subsequent list requests will have their own `nextPageToken` to continue - // paging through the 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 *ListConfigsResponse) Reset() { *m = ListConfigsResponse{} } -func (m *ListConfigsResponse) String() string { return proto.CompactTextString(m) } -func (*ListConfigsResponse) ProtoMessage() {} -func (*ListConfigsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_a3e972e4a9f12181, []int{1} -} - -func (m *ListConfigsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListConfigsResponse.Unmarshal(m, b) -} -func (m *ListConfigsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListConfigsResponse.Marshal(b, m, deterministic) -} -func (m *ListConfigsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListConfigsResponse.Merge(m, src) -} -func (m *ListConfigsResponse) XXX_Size() int { - return xxx_messageInfo_ListConfigsResponse.Size(m) -} -func (m *ListConfigsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListConfigsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListConfigsResponse proto.InternalMessageInfo - -func (m *ListConfigsResponse) GetConfigs() []*RuntimeConfig { - if m != nil { - return m.Configs - } - return nil -} - -func (m *ListConfigsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Gets a RuntimeConfig resource. -type GetConfigRequest struct { - // The name of the RuntimeConfig resource to retrieve, in the format: - // - // `projects/[PROJECT_ID]/configs/[CONFIG_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 *GetConfigRequest) Reset() { *m = GetConfigRequest{} } -func (m *GetConfigRequest) String() string { return proto.CompactTextString(m) } -func (*GetConfigRequest) ProtoMessage() {} -func (*GetConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a3e972e4a9f12181, []int{2} -} - -func (m *GetConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetConfigRequest.Unmarshal(m, b) -} -func (m *GetConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetConfigRequest.Marshal(b, m, deterministic) -} -func (m *GetConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetConfigRequest.Merge(m, src) -} -func (m *GetConfigRequest) XXX_Size() int { - return xxx_messageInfo_GetConfigRequest.Size(m) -} -func (m *GetConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetConfigRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetConfigRequest proto.InternalMessageInfo - -func (m *GetConfigRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Creates a RuntimeConfig resource. -type CreateConfigRequest struct { - // The [project - // ID](https://support.google.com/cloud/answer/6158840?hl=en&ref_topic=6158848) - // for this request, in the format `projects/[PROJECT_ID]`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The RuntimeConfig to create. - Config *RuntimeConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` - // An optional but recommended unique `request_id`. If the server - // receives two `create()` requests with the same - // `request_id`, then the second request will be ignored and the - // first resource created and stored in the backend is returned. - // Empty `request_id` fields are ignored. - // - // It is responsibility of the client to ensure uniqueness of the - // `request_id` strings. - // - // `request_id` strings are limited to 64 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 *CreateConfigRequest) Reset() { *m = CreateConfigRequest{} } -func (m *CreateConfigRequest) String() string { return proto.CompactTextString(m) } -func (*CreateConfigRequest) ProtoMessage() {} -func (*CreateConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a3e972e4a9f12181, []int{3} -} - -func (m *CreateConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateConfigRequest.Unmarshal(m, b) -} -func (m *CreateConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateConfigRequest.Marshal(b, m, deterministic) -} -func (m *CreateConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateConfigRequest.Merge(m, src) -} -func (m *CreateConfigRequest) XXX_Size() int { - return xxx_messageInfo_CreateConfigRequest.Size(m) -} -func (m *CreateConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateConfigRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateConfigRequest proto.InternalMessageInfo - -func (m *CreateConfigRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateConfigRequest) GetConfig() *RuntimeConfig { - if m != nil { - return m.Config - } - return nil -} - -func (m *CreateConfigRequest) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} - -// Request message for `UpdateConfig()` method. -type UpdateConfigRequest struct { - // The name of the RuntimeConfig resource to update, in the format: - // - // `projects/[PROJECT_ID]/configs/[CONFIG_NAME]` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The config resource to update. - Config *RuntimeConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a3e972e4a9f12181, []int{4} -} - -func (m *UpdateConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateConfigRequest.Unmarshal(m, b) -} -func (m *UpdateConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateConfigRequest.Marshal(b, m, deterministic) -} -func (m *UpdateConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateConfigRequest.Merge(m, src) -} -func (m *UpdateConfigRequest) XXX_Size() int { - return xxx_messageInfo_UpdateConfigRequest.Size(m) -} -func (m *UpdateConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateConfigRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateConfigRequest proto.InternalMessageInfo - -func (m *UpdateConfigRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *UpdateConfigRequest) GetConfig() *RuntimeConfig { - if m != nil { - return m.Config - } - return nil -} - -// Request for the `DeleteConfig()` method. -type DeleteConfigRequest struct { - // The RuntimeConfig resource to delete, in the format: - // - // `projects/[PROJECT_ID]/configs/[CONFIG_NAME]` - 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 *DeleteConfigRequest) Reset() { *m = DeleteConfigRequest{} } -func (m *DeleteConfigRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteConfigRequest) ProtoMessage() {} -func (*DeleteConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a3e972e4a9f12181, []int{5} -} - -func (m *DeleteConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteConfigRequest.Unmarshal(m, b) -} -func (m *DeleteConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteConfigRequest.Marshal(b, m, deterministic) -} -func (m *DeleteConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteConfigRequest.Merge(m, src) -} -func (m *DeleteConfigRequest) XXX_Size() int { - return xxx_messageInfo_DeleteConfigRequest.Size(m) -} -func (m *DeleteConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteConfigRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteConfigRequest proto.InternalMessageInfo - -func (m *DeleteConfigRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request for the `ListVariables()` method. -type ListVariablesRequest struct { - // The path to the RuntimeConfig resource for which you want to list - // variables. The configuration must exist beforehand; the path must by in the - // format: - // - // `projects/[PROJECT_ID]/configs/[CONFIG_NAME]` - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Filters variables by matching the specified filter. For example: - // - // `projects/example-project/config/[CONFIG_NAME]/variables/example-variable`. - Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` - // Specifies the number of results to return per page. If there are fewer - // elements than the specified number, returns all elements. - PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Specifies a page token to use. Set `pageToken` to a `nextPageToken` - // returned by a previous list request to get the next page of results. - PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // The flag indicates whether the user wants to return values of variables. - // If true, then only those variables that user has IAM GetVariable permission - // will be returned along with their values. - ReturnValues bool `protobuf:"varint,5,opt,name=return_values,json=returnValues,proto3" json:"return_values,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a3e972e4a9f12181, []int{6} -} - -func (m *ListVariablesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListVariablesRequest.Unmarshal(m, b) -} -func (m *ListVariablesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListVariablesRequest.Marshal(b, m, deterministic) -} -func (m *ListVariablesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListVariablesRequest.Merge(m, src) -} -func (m *ListVariablesRequest) XXX_Size() int { - return xxx_messageInfo_ListVariablesRequest.Size(m) -} -func (m *ListVariablesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListVariablesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListVariablesRequest proto.InternalMessageInfo - -func (m *ListVariablesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListVariablesRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListVariablesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListVariablesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListVariablesRequest) GetReturnValues() bool { - if m != nil { - return m.ReturnValues - } - return false -} - -// Response for the `ListVariables()` method. -type ListVariablesResponse struct { - // A list of variables and their values. The order of returned variable - // objects is arbitrary. - Variables []*Variable `protobuf:"bytes,1,rep,name=variables,proto3" json:"variables,omitempty"` - // This token allows you to get the next page of results for list requests. - // If the number of results is larger than `pageSize`, use the `nextPageToken` - // as a value for the query parameter `pageToken` in the next list request. - // Subsequent list requests will have their own `nextPageToken` to continue - // paging through the 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 *ListVariablesResponse) Reset() { *m = ListVariablesResponse{} } -func (m *ListVariablesResponse) String() string { return proto.CompactTextString(m) } -func (*ListVariablesResponse) ProtoMessage() {} -func (*ListVariablesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_a3e972e4a9f12181, []int{7} -} - -func (m *ListVariablesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListVariablesResponse.Unmarshal(m, b) -} -func (m *ListVariablesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListVariablesResponse.Marshal(b, m, deterministic) -} -func (m *ListVariablesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListVariablesResponse.Merge(m, src) -} -func (m *ListVariablesResponse) XXX_Size() int { - return xxx_messageInfo_ListVariablesResponse.Size(m) -} -func (m *ListVariablesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListVariablesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListVariablesResponse proto.InternalMessageInfo - -func (m *ListVariablesResponse) GetVariables() []*Variable { - if m != nil { - return m.Variables - } - return nil -} - -func (m *ListVariablesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request for the `WatchVariable()` method. -type WatchVariableRequest struct { - // The name of the variable to watch, in the format: - // - // `projects/[PROJECT_ID]/configs/[CONFIG_NAME]` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // If specified, checks the current timestamp of the variable and if the - // current timestamp is newer than `newerThan` timestamp, the method returns - // immediately. - // - // If not specified or the variable has an older timestamp, the watcher waits - // for a the value to change before returning. - NewerThan *timestamp.Timestamp `protobuf:"bytes,4,opt,name=newer_than,json=newerThan,proto3" json:"newer_than,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a3e972e4a9f12181, []int{8} -} - -func (m *WatchVariableRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WatchVariableRequest.Unmarshal(m, b) -} -func (m *WatchVariableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WatchVariableRequest.Marshal(b, m, deterministic) -} -func (m *WatchVariableRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WatchVariableRequest.Merge(m, src) -} -func (m *WatchVariableRequest) XXX_Size() int { - return xxx_messageInfo_WatchVariableRequest.Size(m) -} -func (m *WatchVariableRequest) XXX_DiscardUnknown() { - xxx_messageInfo_WatchVariableRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_WatchVariableRequest proto.InternalMessageInfo - -func (m *WatchVariableRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *WatchVariableRequest) GetNewerThan() *timestamp.Timestamp { - if m != nil { - return m.NewerThan - } - return nil -} - -// Request for the `GetVariable()` method. -type GetVariableRequest struct { - // The name of the variable to return, in the format: - // - // `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIBLE_NAME]` - 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 *GetVariableRequest) Reset() { *m = GetVariableRequest{} } -func (m *GetVariableRequest) String() string { return proto.CompactTextString(m) } -func (*GetVariableRequest) ProtoMessage() {} -func (*GetVariableRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a3e972e4a9f12181, []int{9} -} - -func (m *GetVariableRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetVariableRequest.Unmarshal(m, b) -} -func (m *GetVariableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetVariableRequest.Marshal(b, m, deterministic) -} -func (m *GetVariableRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetVariableRequest.Merge(m, src) -} -func (m *GetVariableRequest) XXX_Size() int { - return xxx_messageInfo_GetVariableRequest.Size(m) -} -func (m *GetVariableRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetVariableRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetVariableRequest proto.InternalMessageInfo - -func (m *GetVariableRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request for the `CreateVariable()` method. -type CreateVariableRequest struct { - // The path to the RutimeConfig resource that this variable should belong to. - // The configuration must exist beforehand; the path must by in the format: - // - // `projects/[PROJECT_ID]/configs/[CONFIG_NAME]` - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The variable to create. - Variable *Variable `protobuf:"bytes,2,opt,name=variable,proto3" json:"variable,omitempty"` - // An optional but recommended unique `request_id`. If the server - // receives two `create()` requests with the same - // `request_id`, then the second request will be ignored and the - // first resource created and stored in the backend is returned. - // Empty `request_id` fields are ignored. - // - // It is responsibility of the client to ensure uniqueness of the - // `request_id` strings. - // - // `request_id` strings are limited to 64 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 *CreateVariableRequest) Reset() { *m = CreateVariableRequest{} } -func (m *CreateVariableRequest) String() string { return proto.CompactTextString(m) } -func (*CreateVariableRequest) ProtoMessage() {} -func (*CreateVariableRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a3e972e4a9f12181, []int{10} -} - -func (m *CreateVariableRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateVariableRequest.Unmarshal(m, b) -} -func (m *CreateVariableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateVariableRequest.Marshal(b, m, deterministic) -} -func (m *CreateVariableRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateVariableRequest.Merge(m, src) -} -func (m *CreateVariableRequest) XXX_Size() int { - return xxx_messageInfo_CreateVariableRequest.Size(m) -} -func (m *CreateVariableRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateVariableRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateVariableRequest proto.InternalMessageInfo - -func (m *CreateVariableRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateVariableRequest) GetVariable() *Variable { - if m != nil { - return m.Variable - } - return nil -} - -func (m *CreateVariableRequest) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} - -// Request for the `UpdateVariable()` method. -type UpdateVariableRequest struct { - // The name of the variable to update, in the format: - // - // `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME]` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The variable to update. - Variable *Variable `protobuf:"bytes,2,opt,name=variable,proto3" json:"variable,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a3e972e4a9f12181, []int{11} -} - -func (m *UpdateVariableRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateVariableRequest.Unmarshal(m, b) -} -func (m *UpdateVariableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateVariableRequest.Marshal(b, m, deterministic) -} -func (m *UpdateVariableRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateVariableRequest.Merge(m, src) -} -func (m *UpdateVariableRequest) XXX_Size() int { - return xxx_messageInfo_UpdateVariableRequest.Size(m) -} -func (m *UpdateVariableRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateVariableRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateVariableRequest proto.InternalMessageInfo - -func (m *UpdateVariableRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *UpdateVariableRequest) GetVariable() *Variable { - if m != nil { - return m.Variable - } - return nil -} - -// Request for the `DeleteVariable()` method. -type DeleteVariableRequest struct { - // The name of the variable to delete, in the format: - // - // `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME]` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Set to `true` to recursively delete multiple variables with the same - // prefix. - Recursive bool `protobuf:"varint,2,opt,name=recursive,proto3" json:"recursive,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a3e972e4a9f12181, []int{12} -} - -func (m *DeleteVariableRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteVariableRequest.Unmarshal(m, b) -} -func (m *DeleteVariableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteVariableRequest.Marshal(b, m, deterministic) -} -func (m *DeleteVariableRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteVariableRequest.Merge(m, src) -} -func (m *DeleteVariableRequest) XXX_Size() int { - return xxx_messageInfo_DeleteVariableRequest.Size(m) -} -func (m *DeleteVariableRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteVariableRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteVariableRequest proto.InternalMessageInfo - -func (m *DeleteVariableRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *DeleteVariableRequest) GetRecursive() bool { - if m != nil { - return m.Recursive - } - return false -} - -// Request for the `ListWaiters()` method. -type ListWaitersRequest struct { - // The path to the configuration for which you want to get a list of waiters. - // The configuration must exist beforehand; the path must by in the format: - // - // `projects/[PROJECT_ID]/configs/[CONFIG_NAME]` - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Specifies the number of results to return per page. If there are fewer - // elements than the specified number, returns all elements. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Specifies a page token to use. Set `pageToken` to a `nextPageToken` - // returned by a previous list request to get 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 *ListWaitersRequest) Reset() { *m = ListWaitersRequest{} } -func (m *ListWaitersRequest) String() string { return proto.CompactTextString(m) } -func (*ListWaitersRequest) ProtoMessage() {} -func (*ListWaitersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a3e972e4a9f12181, []int{13} -} - -func (m *ListWaitersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListWaitersRequest.Unmarshal(m, b) -} -func (m *ListWaitersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListWaitersRequest.Marshal(b, m, deterministic) -} -func (m *ListWaitersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListWaitersRequest.Merge(m, src) -} -func (m *ListWaitersRequest) XXX_Size() int { - return xxx_messageInfo_ListWaitersRequest.Size(m) -} -func (m *ListWaitersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListWaitersRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListWaitersRequest proto.InternalMessageInfo - -func (m *ListWaitersRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListWaitersRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListWaitersRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response for the `ListWaiters()` method. -// Order of returned waiter objects is arbitrary. -type ListWaitersResponse struct { - // Found waiters in the project. - Waiters []*Waiter `protobuf:"bytes,1,rep,name=waiters,proto3" json:"waiters,omitempty"` - // This token allows you to get the next page of results for list requests. - // If the number of results is larger than `pageSize`, use the `nextPageToken` - // as a value for the query parameter `pageToken` in the next list request. - // Subsequent list requests will have their own `nextPageToken` to continue - // paging through the 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 *ListWaitersResponse) Reset() { *m = ListWaitersResponse{} } -func (m *ListWaitersResponse) String() string { return proto.CompactTextString(m) } -func (*ListWaitersResponse) ProtoMessage() {} -func (*ListWaitersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_a3e972e4a9f12181, []int{14} -} - -func (m *ListWaitersResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListWaitersResponse.Unmarshal(m, b) -} -func (m *ListWaitersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListWaitersResponse.Marshal(b, m, deterministic) -} -func (m *ListWaitersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListWaitersResponse.Merge(m, src) -} -func (m *ListWaitersResponse) XXX_Size() int { - return xxx_messageInfo_ListWaitersResponse.Size(m) -} -func (m *ListWaitersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListWaitersResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListWaitersResponse proto.InternalMessageInfo - -func (m *ListWaitersResponse) GetWaiters() []*Waiter { - if m != nil { - return m.Waiters - } - return nil -} - -func (m *ListWaitersResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request for the `GetWaiter()` method. -type GetWaiterRequest struct { - // The fully-qualified name of the Waiter resource object to retrieve, in the - // format: - // - // `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]` - 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 *GetWaiterRequest) Reset() { *m = GetWaiterRequest{} } -func (m *GetWaiterRequest) String() string { return proto.CompactTextString(m) } -func (*GetWaiterRequest) ProtoMessage() {} -func (*GetWaiterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a3e972e4a9f12181, []int{15} -} - -func (m *GetWaiterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetWaiterRequest.Unmarshal(m, b) -} -func (m *GetWaiterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetWaiterRequest.Marshal(b, m, deterministic) -} -func (m *GetWaiterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetWaiterRequest.Merge(m, src) -} -func (m *GetWaiterRequest) XXX_Size() int { - return xxx_messageInfo_GetWaiterRequest.Size(m) -} -func (m *GetWaiterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetWaiterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetWaiterRequest proto.InternalMessageInfo - -func (m *GetWaiterRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for `CreateWaiter()` method. -type CreateWaiterRequest struct { - // The path to the configuration that will own the waiter. - // The configuration must exist beforehand; the path must by in the format: - // - // `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The Waiter resource to create. - Waiter *Waiter `protobuf:"bytes,2,opt,name=waiter,proto3" json:"waiter,omitempty"` - // An optional but recommended unique `request_id`. If the server - // receives two `create()` requests with the same - // `request_id`, then the second request will be ignored and the - // first resource created and stored in the backend is returned. - // Empty `request_id` fields are ignored. - // - // It is responsibility of the client to ensure uniqueness of the - // `request_id` strings. - // - // `request_id` strings are limited to 64 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 *CreateWaiterRequest) Reset() { *m = CreateWaiterRequest{} } -func (m *CreateWaiterRequest) String() string { return proto.CompactTextString(m) } -func (*CreateWaiterRequest) ProtoMessage() {} -func (*CreateWaiterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a3e972e4a9f12181, []int{16} -} - -func (m *CreateWaiterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateWaiterRequest.Unmarshal(m, b) -} -func (m *CreateWaiterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateWaiterRequest.Marshal(b, m, deterministic) -} -func (m *CreateWaiterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateWaiterRequest.Merge(m, src) -} -func (m *CreateWaiterRequest) XXX_Size() int { - return xxx_messageInfo_CreateWaiterRequest.Size(m) -} -func (m *CreateWaiterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateWaiterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateWaiterRequest proto.InternalMessageInfo - -func (m *CreateWaiterRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateWaiterRequest) GetWaiter() *Waiter { - if m != nil { - return m.Waiter - } - return nil -} - -func (m *CreateWaiterRequest) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} - -// Request for the `DeleteWaiter()` method. -type DeleteWaiterRequest struct { - // The Waiter resource to delete, in the format: - // - // `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]` - 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 *DeleteWaiterRequest) Reset() { *m = DeleteWaiterRequest{} } -func (m *DeleteWaiterRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteWaiterRequest) ProtoMessage() {} -func (*DeleteWaiterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a3e972e4a9f12181, []int{17} -} - -func (m *DeleteWaiterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteWaiterRequest.Unmarshal(m, b) -} -func (m *DeleteWaiterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteWaiterRequest.Marshal(b, m, deterministic) -} -func (m *DeleteWaiterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteWaiterRequest.Merge(m, src) -} -func (m *DeleteWaiterRequest) XXX_Size() int { - return xxx_messageInfo_DeleteWaiterRequest.Size(m) -} -func (m *DeleteWaiterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteWaiterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteWaiterRequest proto.InternalMessageInfo - -func (m *DeleteWaiterRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func init() { - proto.RegisterType((*ListConfigsRequest)(nil), "google.cloud.runtimeconfig.v1beta1.ListConfigsRequest") - proto.RegisterType((*ListConfigsResponse)(nil), "google.cloud.runtimeconfig.v1beta1.ListConfigsResponse") - proto.RegisterType((*GetConfigRequest)(nil), "google.cloud.runtimeconfig.v1beta1.GetConfigRequest") - proto.RegisterType((*CreateConfigRequest)(nil), "google.cloud.runtimeconfig.v1beta1.CreateConfigRequest") - proto.RegisterType((*UpdateConfigRequest)(nil), "google.cloud.runtimeconfig.v1beta1.UpdateConfigRequest") - proto.RegisterType((*DeleteConfigRequest)(nil), "google.cloud.runtimeconfig.v1beta1.DeleteConfigRequest") - proto.RegisterType((*ListVariablesRequest)(nil), "google.cloud.runtimeconfig.v1beta1.ListVariablesRequest") - proto.RegisterType((*ListVariablesResponse)(nil), "google.cloud.runtimeconfig.v1beta1.ListVariablesResponse") - proto.RegisterType((*WatchVariableRequest)(nil), "google.cloud.runtimeconfig.v1beta1.WatchVariableRequest") - proto.RegisterType((*GetVariableRequest)(nil), "google.cloud.runtimeconfig.v1beta1.GetVariableRequest") - proto.RegisterType((*CreateVariableRequest)(nil), "google.cloud.runtimeconfig.v1beta1.CreateVariableRequest") - proto.RegisterType((*UpdateVariableRequest)(nil), "google.cloud.runtimeconfig.v1beta1.UpdateVariableRequest") - proto.RegisterType((*DeleteVariableRequest)(nil), "google.cloud.runtimeconfig.v1beta1.DeleteVariableRequest") - proto.RegisterType((*ListWaitersRequest)(nil), "google.cloud.runtimeconfig.v1beta1.ListWaitersRequest") - proto.RegisterType((*ListWaitersResponse)(nil), "google.cloud.runtimeconfig.v1beta1.ListWaitersResponse") - proto.RegisterType((*GetWaiterRequest)(nil), "google.cloud.runtimeconfig.v1beta1.GetWaiterRequest") - proto.RegisterType((*CreateWaiterRequest)(nil), "google.cloud.runtimeconfig.v1beta1.CreateWaiterRequest") - proto.RegisterType((*DeleteWaiterRequest)(nil), "google.cloud.runtimeconfig.v1beta1.DeleteWaiterRequest") -} - -func init() { - proto.RegisterFile("google/cloud/runtimeconfig/v1beta1/runtimeconfig.proto", fileDescriptor_a3e972e4a9f12181) -} - -var fileDescriptor_a3e972e4a9f12181 = []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, - 0xa2, 0x70, 0x55, 0xd9, 0x4d, 0x5a, 0xa5, 0x49, 0xa0, 0x2c, 0x92, 0xa2, 0x10, 0x1e, 0x6a, 0x65, - 0x42, 0x2a, 0xa1, 0x48, 0xd1, 0xe4, 0x66, 0xe2, 0x18, 0x6e, 0xc6, 0xc6, 0x1e, 0x27, 0x50, 0x94, - 0x0d, 0xec, 0x40, 0x48, 0x48, 0x2c, 0xca, 0x8a, 0x05, 0x12, 0x20, 0x21, 0x84, 0x58, 0xb1, 0x41, - 0x74, 0xc7, 0x86, 0x2d, 0x12, 0x9f, 0x80, 0x0f, 0x82, 0x3c, 0x0f, 0x5f, 0xfb, 0xe6, 0x3e, 0xc6, - 0x21, 0xdd, 0x25, 0xe3, 0xf3, 0xf8, 0xcd, 0x99, 0x33, 0xf3, 0x3f, 0xba, 0xb0, 0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 0xc6, 0x0a, 0x32, 0x7b, 0xb2, - 0x7f, 0xc8, 0x85, 0x5a, 0xa1, 0x56, 0x10, 0xea, 0x32, 0xed, 0x75, 0xed, 0x58, 0xf8, 0x65, 0xc4, - 0x79, 0xa0, 0x7f, 0x19, 0xb1, 0x5f, 0x15, 0x80, 0xcb, 0x76, 0xc5, 0x42, 0xae, 0xea, 0x41, 0xf0, - 0x49, 0xae, 0x75, 0x55, 0x40, 0x3b, 0x0c, 0x87, 0x5d, 0xdb, 0x54, 0x95, 0xb0, 0x5e, 0xb1, 0x84, - 0x6b, 0x7f, 0x22, 0x98, 0x6b, 0x84, 0x47, 0x06, 0x38, 0x0f, 0xd1, 0x7b, 0x0f, 0x94, 0x95, 0x1f, - 0x36, 0x09, 0xf3, 0x9d, 0x30, 0xf6, 0x5d, 0x9f, 0x32, 0x41, 0xe2, 0xca, 0x4f, 0x24, 0x0a, 0x92, - 0x5e, 0xbf, 0x48, 0xbd, 0x5c, 0x5a, 0xfd, 0x69, 0xc0, 0xde, 0x90, 0x11, 0xd7, 0x45, 0xde, 0xd2, - 0x58, 0xe1, 0x6c, 0x2f, 0xac, 0x65, 0x2e, 0x7f, 0x69, 0xa3, 0x1d, 0x61, 0xb4, 0x53, 0x32, 0xda, - 0xd9, 0x96, 0x71, 0xf7, 0x86, 0x04, 0xc5, 0xed, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x9f, 0x36, - 0x17, 0x5a, 0x90, 0x13, 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 - -// RuntimeConfigManagerClient is the client API for RuntimeConfigManager service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RuntimeConfigManagerClient interface { - // Lists all the RuntimeConfig resources within project. - ListConfigs(ctx context.Context, in *ListConfigsRequest, opts ...grpc.CallOption) (*ListConfigsResponse, error) - // Gets information about a RuntimeConfig resource. - GetConfig(ctx context.Context, in *GetConfigRequest, opts ...grpc.CallOption) (*RuntimeConfig, error) - // Creates a new RuntimeConfig resource. The configuration name must be - // unique within project. - CreateConfig(ctx context.Context, in *CreateConfigRequest, opts ...grpc.CallOption) (*RuntimeConfig, error) - // Updates a RuntimeConfig resource. The configuration must exist beforehand. - UpdateConfig(ctx context.Context, in *UpdateConfigRequest, opts ...grpc.CallOption) (*RuntimeConfig, error) - // Deletes a RuntimeConfig resource. - DeleteConfig(ctx context.Context, in *DeleteConfigRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Lists variables within given a configuration, matching any provided - // filters. This only lists variable names, not the values, unless - // `return_values` is true, in which case only variables that user has IAM - // permission to GetVariable will be returned. - ListVariables(ctx context.Context, in *ListVariablesRequest, opts ...grpc.CallOption) (*ListVariablesResponse, error) - // Gets information about a single variable. - GetVariable(ctx context.Context, in *GetVariableRequest, opts ...grpc.CallOption) (*Variable, error) - // Watches a specific variable and waits for a change in the variable's value. - // When there is a change, this method returns the new value or times out. - // - // If a variable is deleted while being watched, the `variableState` state is - // set to `DELETED` and the method returns the last known variable `value`. - // - // If you set the deadline for watching to a larger value than internal - // timeout (60 seconds), the current variable value is returned and the - // `variableState` will be `VARIABLE_STATE_UNSPECIFIED`. - // - // To learn more about creating a watcher, read the - // [Watching a Variable for - // Changes](/deployment-manager/runtime-configurator/watching-a-variable) - // documentation. - WatchVariable(ctx context.Context, in *WatchVariableRequest, opts ...grpc.CallOption) (*Variable, error) - // Creates a variable within the given configuration. You cannot create - // a variable with a name that is a prefix of an existing variable name, or a - // name that has an existing variable name as a prefix. - // - // To learn more about creating a variable, read the - // [Setting and Getting - // Data](/deployment-manager/runtime-configurator/set-and-get-variables) - // documentation. - CreateVariable(ctx context.Context, in *CreateVariableRequest, opts ...grpc.CallOption) (*Variable, error) - // Updates an existing variable with a new value. - UpdateVariable(ctx context.Context, in *UpdateVariableRequest, opts ...grpc.CallOption) (*Variable, error) - // Deletes a variable or multiple variables. - // - // If you specify a variable name, then that variable is deleted. If you - // specify a prefix and `recursive` is true, then all variables with that - // prefix are deleted. You must set a `recursive` to true if you delete - // variables by prefix. - DeleteVariable(ctx context.Context, in *DeleteVariableRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // List waiters within the given configuration. - ListWaiters(ctx context.Context, in *ListWaitersRequest, opts ...grpc.CallOption) (*ListWaitersResponse, error) - // Gets information about a single waiter. - GetWaiter(ctx context.Context, in *GetWaiterRequest, opts ...grpc.CallOption) (*Waiter, error) - // Creates a Waiter resource. This operation returns a long-running Operation - // resource which can be polled for completion. However, a waiter with the - // given name will exist (and can be retrieved) prior to the operation - // completing. If the operation fails, the failed Waiter resource will - // still exist and must be deleted prior to subsequent creation attempts. - CreateWaiter(ctx context.Context, in *CreateWaiterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Deletes the waiter with the specified name. - DeleteWaiter(ctx context.Context, in *DeleteWaiterRequest, opts ...grpc.CallOption) (*empty.Empty, error) -} - -type runtimeConfigManagerClient struct { - cc *grpc.ClientConn -} - -func NewRuntimeConfigManagerClient(cc *grpc.ClientConn) RuntimeConfigManagerClient { - return &runtimeConfigManagerClient{cc} -} - -func (c *runtimeConfigManagerClient) ListConfigs(ctx context.Context, in *ListConfigsRequest, opts ...grpc.CallOption) (*ListConfigsResponse, error) { - out := new(ListConfigsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.runtimeconfig.v1beta1.RuntimeConfigManager/ListConfigs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *runtimeConfigManagerClient) GetConfig(ctx context.Context, in *GetConfigRequest, opts ...grpc.CallOption) (*RuntimeConfig, error) { - out := new(RuntimeConfig) - err := c.cc.Invoke(ctx, "/google.cloud.runtimeconfig.v1beta1.RuntimeConfigManager/GetConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *runtimeConfigManagerClient) CreateConfig(ctx context.Context, in *CreateConfigRequest, opts ...grpc.CallOption) (*RuntimeConfig, error) { - out := new(RuntimeConfig) - err := c.cc.Invoke(ctx, "/google.cloud.runtimeconfig.v1beta1.RuntimeConfigManager/CreateConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *runtimeConfigManagerClient) UpdateConfig(ctx context.Context, in *UpdateConfigRequest, opts ...grpc.CallOption) (*RuntimeConfig, error) { - out := new(RuntimeConfig) - err := c.cc.Invoke(ctx, "/google.cloud.runtimeconfig.v1beta1.RuntimeConfigManager/UpdateConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *runtimeConfigManagerClient) DeleteConfig(ctx context.Context, in *DeleteConfigRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.runtimeconfig.v1beta1.RuntimeConfigManager/DeleteConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *runtimeConfigManagerClient) ListVariables(ctx context.Context, in *ListVariablesRequest, opts ...grpc.CallOption) (*ListVariablesResponse, error) { - out := new(ListVariablesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.runtimeconfig.v1beta1.RuntimeConfigManager/ListVariables", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *runtimeConfigManagerClient) GetVariable(ctx context.Context, in *GetVariableRequest, opts ...grpc.CallOption) (*Variable, error) { - out := new(Variable) - err := c.cc.Invoke(ctx, "/google.cloud.runtimeconfig.v1beta1.RuntimeConfigManager/GetVariable", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *runtimeConfigManagerClient) WatchVariable(ctx context.Context, in *WatchVariableRequest, opts ...grpc.CallOption) (*Variable, error) { - out := new(Variable) - err := c.cc.Invoke(ctx, "/google.cloud.runtimeconfig.v1beta1.RuntimeConfigManager/WatchVariable", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *runtimeConfigManagerClient) CreateVariable(ctx context.Context, in *CreateVariableRequest, opts ...grpc.CallOption) (*Variable, error) { - out := new(Variable) - err := c.cc.Invoke(ctx, "/google.cloud.runtimeconfig.v1beta1.RuntimeConfigManager/CreateVariable", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *runtimeConfigManagerClient) UpdateVariable(ctx context.Context, in *UpdateVariableRequest, opts ...grpc.CallOption) (*Variable, error) { - out := new(Variable) - err := c.cc.Invoke(ctx, "/google.cloud.runtimeconfig.v1beta1.RuntimeConfigManager/UpdateVariable", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *runtimeConfigManagerClient) DeleteVariable(ctx context.Context, in *DeleteVariableRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.runtimeconfig.v1beta1.RuntimeConfigManager/DeleteVariable", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *runtimeConfigManagerClient) ListWaiters(ctx context.Context, in *ListWaitersRequest, opts ...grpc.CallOption) (*ListWaitersResponse, error) { - out := new(ListWaitersResponse) - err := c.cc.Invoke(ctx, "/google.cloud.runtimeconfig.v1beta1.RuntimeConfigManager/ListWaiters", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *runtimeConfigManagerClient) GetWaiter(ctx context.Context, in *GetWaiterRequest, opts ...grpc.CallOption) (*Waiter, error) { - out := new(Waiter) - err := c.cc.Invoke(ctx, "/google.cloud.runtimeconfig.v1beta1.RuntimeConfigManager/GetWaiter", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *runtimeConfigManagerClient) CreateWaiter(ctx context.Context, in *CreateWaiterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.runtimeconfig.v1beta1.RuntimeConfigManager/CreateWaiter", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *runtimeConfigManagerClient) DeleteWaiter(ctx context.Context, in *DeleteWaiterRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.runtimeconfig.v1beta1.RuntimeConfigManager/DeleteWaiter", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RuntimeConfigManagerServer is the server API for RuntimeConfigManager service. -type RuntimeConfigManagerServer interface { - // Lists all the RuntimeConfig resources within project. - ListConfigs(context.Context, *ListConfigsRequest) (*ListConfigsResponse, error) - // Gets information about a RuntimeConfig resource. - GetConfig(context.Context, *GetConfigRequest) (*RuntimeConfig, error) - // Creates a new RuntimeConfig resource. The configuration name must be - // unique within project. - CreateConfig(context.Context, *CreateConfigRequest) (*RuntimeConfig, error) - // Updates a RuntimeConfig resource. The configuration must exist beforehand. - UpdateConfig(context.Context, *UpdateConfigRequest) (*RuntimeConfig, error) - // Deletes a RuntimeConfig resource. - DeleteConfig(context.Context, *DeleteConfigRequest) (*empty.Empty, error) - // Lists variables within given a configuration, matching any provided - // filters. This only lists variable names, not the values, unless - // `return_values` is true, in which case only variables that user has IAM - // permission to GetVariable will be returned. - ListVariables(context.Context, *ListVariablesRequest) (*ListVariablesResponse, error) - // Gets information about a single variable. - GetVariable(context.Context, *GetVariableRequest) (*Variable, error) - // Watches a specific variable and waits for a change in the variable's value. - // When there is a change, this method returns the new value or times out. - // - // If a variable is deleted while being watched, the `variableState` state is - // set to `DELETED` and the method returns the last known variable `value`. - // - // If you set the deadline for watching to a larger value than internal - // timeout (60 seconds), the current variable value is returned and the - // `variableState` will be `VARIABLE_STATE_UNSPECIFIED`. - // - // To learn more about creating a watcher, read the - // [Watching a Variable for - // Changes](/deployment-manager/runtime-configurator/watching-a-variable) - // documentation. - WatchVariable(context.Context, *WatchVariableRequest) (*Variable, error) - // Creates a variable within the given configuration. You cannot create - // a variable with a name that is a prefix of an existing variable name, or a - // name that has an existing variable name as a prefix. - // - // To learn more about creating a variable, read the - // [Setting and Getting - // Data](/deployment-manager/runtime-configurator/set-and-get-variables) - // documentation. - CreateVariable(context.Context, *CreateVariableRequest) (*Variable, error) - // Updates an existing variable with a new value. - UpdateVariable(context.Context, *UpdateVariableRequest) (*Variable, error) - // Deletes a variable or multiple variables. - // - // If you specify a variable name, then that variable is deleted. If you - // specify a prefix and `recursive` is true, then all variables with that - // prefix are deleted. You must set a `recursive` to true if you delete - // variables by prefix. - DeleteVariable(context.Context, *DeleteVariableRequest) (*empty.Empty, error) - // List waiters within the given configuration. - ListWaiters(context.Context, *ListWaitersRequest) (*ListWaitersResponse, error) - // Gets information about a single waiter. - GetWaiter(context.Context, *GetWaiterRequest) (*Waiter, error) - // Creates a Waiter resource. This operation returns a long-running Operation - // resource which can be polled for completion. However, a waiter with the - // given name will exist (and can be retrieved) prior to the operation - // completing. If the operation fails, the failed Waiter resource will - // still exist and must be deleted prior to subsequent creation attempts. - CreateWaiter(context.Context, *CreateWaiterRequest) (*longrunning.Operation, error) - // Deletes the waiter with the specified name. - DeleteWaiter(context.Context, *DeleteWaiterRequest) (*empty.Empty, error) -} - -// UnimplementedRuntimeConfigManagerServer can be embedded to have forward compatible implementations. -type UnimplementedRuntimeConfigManagerServer struct { -} - -func (*UnimplementedRuntimeConfigManagerServer) ListConfigs(ctx context.Context, req *ListConfigsRequest) (*ListConfigsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListConfigs not implemented") -} -func (*UnimplementedRuntimeConfigManagerServer) GetConfig(ctx context.Context, req *GetConfigRequest) (*RuntimeConfig, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetConfig not implemented") -} -func (*UnimplementedRuntimeConfigManagerServer) CreateConfig(ctx context.Context, req *CreateConfigRequest) (*RuntimeConfig, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateConfig not implemented") -} -func (*UnimplementedRuntimeConfigManagerServer) UpdateConfig(ctx context.Context, req *UpdateConfigRequest) (*RuntimeConfig, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateConfig not implemented") -} -func (*UnimplementedRuntimeConfigManagerServer) DeleteConfig(ctx context.Context, req *DeleteConfigRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteConfig not implemented") -} -func (*UnimplementedRuntimeConfigManagerServer) ListVariables(ctx context.Context, req *ListVariablesRequest) (*ListVariablesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListVariables not implemented") -} -func (*UnimplementedRuntimeConfigManagerServer) GetVariable(ctx context.Context, req *GetVariableRequest) (*Variable, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetVariable not implemented") -} -func (*UnimplementedRuntimeConfigManagerServer) WatchVariable(ctx context.Context, req *WatchVariableRequest) (*Variable, error) { - return nil, status.Errorf(codes.Unimplemented, "method WatchVariable not implemented") -} -func (*UnimplementedRuntimeConfigManagerServer) CreateVariable(ctx context.Context, req *CreateVariableRequest) (*Variable, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateVariable not implemented") -} -func (*UnimplementedRuntimeConfigManagerServer) UpdateVariable(ctx context.Context, req *UpdateVariableRequest) (*Variable, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateVariable not implemented") -} -func (*UnimplementedRuntimeConfigManagerServer) DeleteVariable(ctx context.Context, req *DeleteVariableRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteVariable not implemented") -} -func (*UnimplementedRuntimeConfigManagerServer) ListWaiters(ctx context.Context, req *ListWaitersRequest) (*ListWaitersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListWaiters not implemented") -} -func (*UnimplementedRuntimeConfigManagerServer) GetWaiter(ctx context.Context, req *GetWaiterRequest) (*Waiter, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetWaiter not implemented") -} -func (*UnimplementedRuntimeConfigManagerServer) CreateWaiter(ctx context.Context, req *CreateWaiterRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateWaiter not implemented") -} -func (*UnimplementedRuntimeConfigManagerServer) DeleteWaiter(ctx context.Context, req *DeleteWaiterRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteWaiter not implemented") -} - -func RegisterRuntimeConfigManagerServer(s *grpc.Server, srv RuntimeConfigManagerServer) { - s.RegisterService(&_RuntimeConfigManager_serviceDesc, srv) -} - -func _RuntimeConfigManager_ListConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListConfigsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RuntimeConfigManagerServer).ListConfigs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.runtimeconfig.v1beta1.RuntimeConfigManager/ListConfigs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RuntimeConfigManagerServer).ListConfigs(ctx, req.(*ListConfigsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RuntimeConfigManager_GetConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetConfigRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RuntimeConfigManagerServer).GetConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.runtimeconfig.v1beta1.RuntimeConfigManager/GetConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RuntimeConfigManagerServer).GetConfig(ctx, req.(*GetConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RuntimeConfigManager_CreateConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateConfigRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RuntimeConfigManagerServer).CreateConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.runtimeconfig.v1beta1.RuntimeConfigManager/CreateConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RuntimeConfigManagerServer).CreateConfig(ctx, req.(*CreateConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RuntimeConfigManager_UpdateConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateConfigRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RuntimeConfigManagerServer).UpdateConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.runtimeconfig.v1beta1.RuntimeConfigManager/UpdateConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RuntimeConfigManagerServer).UpdateConfig(ctx, req.(*UpdateConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RuntimeConfigManager_DeleteConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteConfigRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RuntimeConfigManagerServer).DeleteConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.runtimeconfig.v1beta1.RuntimeConfigManager/DeleteConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RuntimeConfigManagerServer).DeleteConfig(ctx, req.(*DeleteConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RuntimeConfigManager_ListVariables_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListVariablesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RuntimeConfigManagerServer).ListVariables(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.runtimeconfig.v1beta1.RuntimeConfigManager/ListVariables", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RuntimeConfigManagerServer).ListVariables(ctx, req.(*ListVariablesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RuntimeConfigManager_GetVariable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetVariableRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RuntimeConfigManagerServer).GetVariable(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.runtimeconfig.v1beta1.RuntimeConfigManager/GetVariable", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RuntimeConfigManagerServer).GetVariable(ctx, req.(*GetVariableRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RuntimeConfigManager_WatchVariable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(WatchVariableRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RuntimeConfigManagerServer).WatchVariable(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.runtimeconfig.v1beta1.RuntimeConfigManager/WatchVariable", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RuntimeConfigManagerServer).WatchVariable(ctx, req.(*WatchVariableRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RuntimeConfigManager_CreateVariable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateVariableRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RuntimeConfigManagerServer).CreateVariable(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.runtimeconfig.v1beta1.RuntimeConfigManager/CreateVariable", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RuntimeConfigManagerServer).CreateVariable(ctx, req.(*CreateVariableRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RuntimeConfigManager_UpdateVariable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateVariableRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RuntimeConfigManagerServer).UpdateVariable(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.runtimeconfig.v1beta1.RuntimeConfigManager/UpdateVariable", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RuntimeConfigManagerServer).UpdateVariable(ctx, req.(*UpdateVariableRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RuntimeConfigManager_DeleteVariable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteVariableRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RuntimeConfigManagerServer).DeleteVariable(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.runtimeconfig.v1beta1.RuntimeConfigManager/DeleteVariable", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RuntimeConfigManagerServer).DeleteVariable(ctx, req.(*DeleteVariableRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RuntimeConfigManager_ListWaiters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListWaitersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RuntimeConfigManagerServer).ListWaiters(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.runtimeconfig.v1beta1.RuntimeConfigManager/ListWaiters", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RuntimeConfigManagerServer).ListWaiters(ctx, req.(*ListWaitersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RuntimeConfigManager_GetWaiter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetWaiterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RuntimeConfigManagerServer).GetWaiter(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.runtimeconfig.v1beta1.RuntimeConfigManager/GetWaiter", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RuntimeConfigManagerServer).GetWaiter(ctx, req.(*GetWaiterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RuntimeConfigManager_CreateWaiter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateWaiterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RuntimeConfigManagerServer).CreateWaiter(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.runtimeconfig.v1beta1.RuntimeConfigManager/CreateWaiter", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RuntimeConfigManagerServer).CreateWaiter(ctx, req.(*CreateWaiterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RuntimeConfigManager_DeleteWaiter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteWaiterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RuntimeConfigManagerServer).DeleteWaiter(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.runtimeconfig.v1beta1.RuntimeConfigManager/DeleteWaiter", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RuntimeConfigManagerServer).DeleteWaiter(ctx, req.(*DeleteWaiterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _RuntimeConfigManager_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.runtimeconfig.v1beta1.RuntimeConfigManager", - HandlerType: (*RuntimeConfigManagerServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListConfigs", - Handler: _RuntimeConfigManager_ListConfigs_Handler, - }, - { - MethodName: "GetConfig", - Handler: _RuntimeConfigManager_GetConfig_Handler, - }, - { - MethodName: "CreateConfig", - Handler: _RuntimeConfigManager_CreateConfig_Handler, - }, - { - MethodName: "UpdateConfig", - Handler: _RuntimeConfigManager_UpdateConfig_Handler, - }, - { - MethodName: "DeleteConfig", - Handler: _RuntimeConfigManager_DeleteConfig_Handler, - }, - { - MethodName: "ListVariables", - Handler: _RuntimeConfigManager_ListVariables_Handler, - }, - { - MethodName: "GetVariable", - Handler: _RuntimeConfigManager_GetVariable_Handler, - }, - { - MethodName: "WatchVariable", - Handler: _RuntimeConfigManager_WatchVariable_Handler, - }, - { - MethodName: "CreateVariable", - Handler: _RuntimeConfigManager_CreateVariable_Handler, - }, - { - MethodName: "UpdateVariable", - Handler: _RuntimeConfigManager_UpdateVariable_Handler, - }, - { - MethodName: "DeleteVariable", - Handler: _RuntimeConfigManager_DeleteVariable_Handler, - }, - { - MethodName: "ListWaiters", - Handler: _RuntimeConfigManager_ListWaiters_Handler, - }, - { - MethodName: "GetWaiter", - Handler: _RuntimeConfigManager_GetWaiter_Handler, - }, - { - MethodName: "CreateWaiter", - Handler: _RuntimeConfigManager_CreateWaiter_Handler, - }, - { - MethodName: "DeleteWaiter", - Handler: _RuntimeConfigManager_DeleteWaiter_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/runtimeconfig/v1beta1/runtimeconfig.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/scheduler/v1/cloudscheduler.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/scheduler/v1/cloudscheduler.pb.go deleted file mode 100644 index bcd78c65..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/scheduler/v1/cloudscheduler.pb.go +++ /dev/null @@ -1,951 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/scheduler/v1/cloudscheduler.proto - -package scheduler - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for listing jobs using [ListJobs][google.cloud.scheduler.v1.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.v1.ListJobsResponse.next_page_token] returned from - // the previous call to [ListJobs][google.cloud.scheduler.v1.CloudScheduler.ListJobs]. It is an error to - // switch the value of [filter][google.cloud.scheduler.v1.ListJobsRequest.filter] or - // [order_by][google.cloud.scheduler.v1.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_329fd147d63dc799, []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 (m *ListJobsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListJobsRequest.Merge(m, 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.v1.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.v1.ListJobsRequest.page_token] field in the subsequent call to - // [ListJobs][google.cloud.scheduler.v1.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_329fd147d63dc799, []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 (m *ListJobsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListJobsResponse.Merge(m, 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.v1.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_329fd147d63dc799, []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 (m *GetJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetJobRequest.Merge(m, 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.v1.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.v1.Job.name]. [name][google.cloud.scheduler.v1.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.v1.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_329fd147d63dc799, []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 (m *CreateJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateJobRequest.Merge(m, 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.v1.CloudScheduler.UpdateJob]. -type UpdateJobRequest struct { - // Required. - // - // The new job properties. [name][google.cloud.scheduler.v1.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_329fd147d63dc799, []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 (m *UpdateJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateJobRequest.Merge(m, 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.v1.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_329fd147d63dc799, []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 (m *DeleteJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteJobRequest.Merge(m, 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.v1.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_329fd147d63dc799, []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 (m *PauseJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PauseJobRequest.Merge(m, 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.v1.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_329fd147d63dc799, []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 (m *ResumeJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResumeJobRequest.Merge(m, 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.v1.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_329fd147d63dc799, []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 (m *RunJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RunJobRequest.Merge(m, 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.v1.ListJobsRequest") - proto.RegisterType((*ListJobsResponse)(nil), "google.cloud.scheduler.v1.ListJobsResponse") - proto.RegisterType((*GetJobRequest)(nil), "google.cloud.scheduler.v1.GetJobRequest") - proto.RegisterType((*CreateJobRequest)(nil), "google.cloud.scheduler.v1.CreateJobRequest") - proto.RegisterType((*UpdateJobRequest)(nil), "google.cloud.scheduler.v1.UpdateJobRequest") - proto.RegisterType((*DeleteJobRequest)(nil), "google.cloud.scheduler.v1.DeleteJobRequest") - proto.RegisterType((*PauseJobRequest)(nil), "google.cloud.scheduler.v1.PauseJobRequest") - proto.RegisterType((*ResumeJobRequest)(nil), "google.cloud.scheduler.v1.ResumeJobRequest") - proto.RegisterType((*RunJobRequest)(nil), "google.cloud.scheduler.v1.RunJobRequest") -} - -func init() { - proto.RegisterFile("google/cloud/scheduler/v1/cloudscheduler.proto", fileDescriptor_329fd147d63dc799) -} - -var fileDescriptor_329fd147d63dc799 = []byte{ - // 719 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x95, 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7d, 0x2e, 0x55, 0x76, - 0x38, 0xea, 0x8b, 0xff, 0x0c, 0xd6, 0xbe, 0x78, 0x4e, 0x93, 0x66, 0x69, 0xe5, 0x9b, 0xf5, 0x03, - 0xc1, 0x4c, 0x32, 0x53, 0xb9, 0x5e, 0xce, 0x0c, 0x5e, 0xd9, 0xc2, 0xa8, 0x7a, 0x59, 0x94, 0xb6, - 0x27, 0x32, 0xb4, 0x91, 0x86, 0x7f, 0x22, 0x50, 0xd2, 0x01, 0xce, 0x2d, 0x4c, 0x76, 0xcc, 0x0b, - 0xa9, 0xda, 0x92, 0xea, 0x89, 0x4a, 0x4a, 0x53, 0xf9, 0x32, 0x85, 0xc0, 0xfa, 0x86, 0xa0, 0x12, - 0xbd, 0x17, 0xb9, 0xe3, 0x35, 0xf2, 0xa4, 0x14, 0x02, 0x3d, 0x93, 0x40, 0x9b, 0xea, 0x7a, 0x79, - 0xa0, 0xd0, 0x6d, 0x23, 0x6d, 0xe7, 0x0a, 0xc1, 0x4a, 0x8f, 0x0d, 0xc7, 0x1f, 0xbf, 0x33, 0x9f, - 0xbe, 0x58, 0x1d, 0xe1, 0x92, 0x0e, 0x7a, 0xb7, 0x13, 0x8b, 0x2d, 0xe6, 0x98, 0xae, 0xa5, 0x33, - 0xdf, 0x22, 0x16, 0x75, 0xa5, 0x87, 0x48, 0x14, 0x32, 0x3d, 0x9b, 0x3f, 0xf0, 0x47, 0xbe, 0x9d, - 0x7e, 0xfc, 0x9a, 0x50, 0x8e, 0x76, 0x5f, 0xef, 0xef, 0x1d, 0x1f, 0xee, 0x1b, 0xdd, 0x8a, 0xdc, - 0xba, 0xf5, 0x37, 0x00, 0x00, 0xff, 0xff, 0x1e, 0x36, 0xc7, 0x33, 0x86, 0x08, 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 - -// 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.v1.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.v1.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.v1.CloudScheduler.ResumeJob]. The - // state of the job is stored in [state][google.cloud.scheduler.v1.Job.state]; if paused it - // will be set to [Job.State.PAUSED][google.cloud.scheduler.v1.Job.State.PAUSED]. A job must be in [Job.State.ENABLED][google.cloud.scheduler.v1.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.v1.Job.State.PAUSED]. The - // state of a job is stored in [Job.state][google.cloud.scheduler.v1.Job.state]; after calling this method it - // will be set to [Job.State.ENABLED][google.cloud.scheduler.v1.Job.State.ENABLED]. A job must be in - // [Job.State.PAUSED][google.cloud.scheduler.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.CloudScheduler.ResumeJob]. The - // state of the job is stored in [state][google.cloud.scheduler.v1.Job.state]; if paused it - // will be set to [Job.State.PAUSED][google.cloud.scheduler.v1.Job.State.PAUSED]. A job must be in [Job.State.ENABLED][google.cloud.scheduler.v1.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.v1.Job.State.PAUSED]. The - // state of a job is stored in [Job.state][google.cloud.scheduler.v1.Job.state]; after calling this method it - // will be set to [Job.State.ENABLED][google.cloud.scheduler.v1.Job.State.ENABLED]. A job must be in - // [Job.State.PAUSED][google.cloud.scheduler.v1.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) -} - -// UnimplementedCloudSchedulerServer can be embedded to have forward compatible implementations. -type UnimplementedCloudSchedulerServer struct { -} - -func (*UnimplementedCloudSchedulerServer) ListJobs(ctx context.Context, req *ListJobsRequest) (*ListJobsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListJobs not implemented") -} -func (*UnimplementedCloudSchedulerServer) GetJob(ctx context.Context, req *GetJobRequest) (*Job, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetJob not implemented") -} -func (*UnimplementedCloudSchedulerServer) CreateJob(ctx context.Context, req *CreateJobRequest) (*Job, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateJob not implemented") -} -func (*UnimplementedCloudSchedulerServer) UpdateJob(ctx context.Context, req *UpdateJobRequest) (*Job, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateJob not implemented") -} -func (*UnimplementedCloudSchedulerServer) DeleteJob(ctx context.Context, req *DeleteJobRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteJob not implemented") -} -func (*UnimplementedCloudSchedulerServer) PauseJob(ctx context.Context, req *PauseJobRequest) (*Job, error) { - return nil, status.Errorf(codes.Unimplemented, "method PauseJob not implemented") -} -func (*UnimplementedCloudSchedulerServer) ResumeJob(ctx context.Context, req *ResumeJobRequest) (*Job, error) { - return nil, status.Errorf(codes.Unimplemented, "method ResumeJob not implemented") -} -func (*UnimplementedCloudSchedulerServer) RunJob(ctx context.Context, req *RunJobRequest) (*Job, error) { - return nil, status.Errorf(codes.Unimplemented, "method RunJob not implemented") -} - -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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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/v1/cloudscheduler.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/scheduler/v1/job.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/scheduler/v1/job.pb.go deleted file mode 100644 index 11130bf3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/scheduler/v1/job.pb.go +++ /dev/null @@ -1,518 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/scheduler/v1/job.proto - -package scheduler - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - 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.ProtoPackageIsVersion3 // 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.v1.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.v1.CloudScheduler.UpdateJob] - // operation. To recover a job from this state, retry - // [CloudScheduler.UpdateJob][google.cloud.scheduler.v1.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_a71942b5342d2a6f, []int{0, 0} -} - -// Configuration for a job. -// The maximum allowed size for a job is 100KB. -type Job struct { - // Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after - // which it becomes output only. - // - // 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"` - // Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or - // [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob]. - // - // 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, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob]. - // - // Describes the schedule on which the job will be executed. - // - // 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) - // - // 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.v1.RetryConfig.retry_count] > 0 and a job attempt fails, - // the job will be tried a total of [retry_count][google.cloud.scheduler.v1.RetryConfig.retry_count] - // times, with exponential backoff, until the next scheduled start - // time. - 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.v1.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.v1.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"` - // The deadline for job attempts. If the request handler does not respond by - // this deadline then the request is cancelled and the attempt is marked as a - // `DEADLINE_EXCEEDED` failure. The failed attempt can be viewed in - // execution logs. Cloud Scheduler will retry the job according - // to the [RetryConfig][google.cloud.scheduler.v1.RetryConfig]. - // - // The allowed duration for this deadline is: - // * For [HTTP targets][google.cloud.scheduler.v1.Job.http_target], between 15 seconds and 30 minutes. - // * For [App Engine HTTP targets][google.cloud.scheduler.v1.Job.app_engine_http_target], between 15 - // seconds and 24 hours. - AttemptDeadline *duration.Duration `protobuf:"bytes,22,opt,name=attempt_deadline,json=attemptDeadline,proto3" json:"attempt_deadline,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_a71942b5342d2a6f, []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 (m *Job) XXX_Merge(src proto.Message) { - xxx_messageInfo_Job.Merge(m, 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 -} - -func (m *Job) GetAttemptDeadline() *duration.Duration { - if m != nil { - return m.AttemptDeadline - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Job) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Job_PubsubTarget)(nil), - (*Job_AppEngineHttpTarget)(nil), - (*Job_HttpTarget)(nil), - } -} - -// 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.v1.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.v1.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.v1.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.v1.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.v1.RetryConfig.max_backoff_duration] up to - // [retry_count][google.cloud.scheduler.v1.RetryConfig.retry_count] times. - // - // For example, if [min_backoff_duration][google.cloud.scheduler.v1.RetryConfig.min_backoff_duration] is - // 10s, [max_backoff_duration][google.cloud.scheduler.v1.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.v1.RetryConfig.max_backoff_duration] until the job has - // been attempted [retry_count][google.cloud.scheduler.v1.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_a71942b5342d2a6f, []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 (m *RetryConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_RetryConfig.Merge(m, 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.RegisterEnum("google.cloud.scheduler.v1.Job_State", Job_State_name, Job_State_value) - proto.RegisterType((*Job)(nil), "google.cloud.scheduler.v1.Job") - proto.RegisterType((*RetryConfig)(nil), "google.cloud.scheduler.v1.RetryConfig") -} - -func init() { - proto.RegisterFile("google/cloud/scheduler/v1/job.proto", fileDescriptor_a71942b5342d2a6f) -} - -var fileDescriptor_a71942b5342d2a6f = []byte{ - // 725 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x94, 0x5f, 0x4f, 0xdb, 0x3c, - 0x14, 0xc6, 0x29, 0xb4, 0xa5, 0x9c, 0xb4, 0xd0, 0x9a, 0x3f, 0x6f, 0xe8, 0xbb, 0x8d, 0x0a, 0x36, - 0x86, 0x76, 0x91, 0x08, 0x76, 0xb7, 0x5d, 0x4c, 0x2d, 0x29, 0xa3, 0x6c, 0x42, 0x55, 0xda, 0x4a, - 0x13, 0x37, 0x91, 0x93, 0xb8, 0x21, 0x5b, 0x63, 0x5b, 0x89, 0x83, 0xba, 0x7d, 0x9b, 0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xbe, 0xc0, 0x4e, 0xe0, 0x53, 0xcb, 0xc6, 0xce, 0x0f, 0x36, 0x1e, 0xdf, 0xa3, 0xd6, - 0x96, 0xa1, 0x50, 0xe0, 0xd3, 0x4e, 0xea, 0x7a, 0x00, 0xc3, 0xd3, 0xa7, 0xb0, 0xe2, 0x72, 0x18, - 0x9e, 0x3e, 0x86, 0x1d, 0x41, 0x2d, 0x81, 0xb9, 0x2c, 0xb6, 0x27, 0x3e, 0xf5, 0x22, 0xf9, 0x40, - 0x94, 0xcc, 0x6a, 0x80, 0xa7, 0x46, 0x1e, 0xeb, 0x30, 0x78, 0xe9, 0xb0, 0xe0, 0xf9, 0x9f, 0xa3, - 0x53, 0xb9, 0x62, 0x76, 0x3f, 0xa9, 0xd7, 0x2f, 0xdc, 0x74, 0x32, 0x99, 0xc7, 0x26, 0x98, 0x7a, - 0x1a, 0x0b, 0x3d, 0xdd, 0x23, 0x54, 0x76, 0xa3, 0xa7, 0x29, 0xcc, 0xfd, 0xe8, 0x1f, 0x4f, 0xf5, - 0xc7, 0xd9, 0xc2, 0x2e, 0x4b, 0xf9, 0xfb, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x58, 0xd1, 0xed, - 0xc5, 0x51, 0x06, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/scheduler/v1/target.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/scheduler/v1/target.pb.go deleted file mode 100644 index bf9154d2..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/scheduler/v1/target.pb.go +++ /dev/null @@ -1,763 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/scheduler/v1/target.proto - -package scheduler - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/any" - _ "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.ProtoPackageIsVersion3 // 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_695eb74e082a5bc1, []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.v1.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.v1.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.v1.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.v1.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.v1.HttpMethod]. - Body []byte `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"` - // The mode for generating an `Authorization` header for HTTP requests. - // - // If specified, all `Authorization` headers in the [HttpTarget.headers][google.cloud.scheduler.v1.HttpTarget.headers] - // field will be overridden. - // - // Types that are valid to be assigned to AuthorizationHeader: - // *HttpTarget_OauthToken - // *HttpTarget_OidcToken - AuthorizationHeader isHttpTarget_AuthorizationHeader `protobuf_oneof:"authorization_header"` - 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_695eb74e082a5bc1, []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 (m *HttpTarget) XXX_Merge(src proto.Message) { - xxx_messageInfo_HttpTarget.Merge(m, 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 -} - -type isHttpTarget_AuthorizationHeader interface { - isHttpTarget_AuthorizationHeader() -} - -type HttpTarget_OauthToken struct { - OauthToken *OAuthToken `protobuf:"bytes,5,opt,name=oauth_token,json=oauthToken,proto3,oneof"` -} - -type HttpTarget_OidcToken struct { - OidcToken *OidcToken `protobuf:"bytes,6,opt,name=oidc_token,json=oidcToken,proto3,oneof"` -} - -func (*HttpTarget_OauthToken) isHttpTarget_AuthorizationHeader() {} - -func (*HttpTarget_OidcToken) isHttpTarget_AuthorizationHeader() {} - -func (m *HttpTarget) GetAuthorizationHeader() isHttpTarget_AuthorizationHeader { - if m != nil { - return m.AuthorizationHeader - } - return nil -} - -func (m *HttpTarget) GetOauthToken() *OAuthToken { - if x, ok := m.GetAuthorizationHeader().(*HttpTarget_OauthToken); ok { - return x.OauthToken - } - return nil -} - -func (m *HttpTarget) GetOidcToken() *OidcToken { - if x, ok := m.GetAuthorizationHeader().(*HttpTarget_OidcToken); ok { - return x.OidcToken - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*HttpTarget) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*HttpTarget_OauthToken)(nil), - (*HttpTarget_OidcToken)(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.v1.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.v1.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`. - // * `X-CloudScheduler`: This header will be set to true. - // - // If the job has an [body][google.cloud.scheduler.v1.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. - // - // In addition, some App Engine headers, which contain - // job-specific information, are also be sent to the job handler. - 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.v1.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_695eb74e082a5bc1, []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 (m *AppEngineHttpTarget) XXX_Merge(src proto.Message) { - xxx_messageInfo_AppEngineHttpTarget.Merge(m, 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_695eb74e082a5bc1, []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 (m *PubsubTarget) XXX_Merge(src proto.Message) { - xxx_messageInfo_PubsubTarget.Merge(m, 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.v1.AppEngineRouting.service] - // - // * `version =` [version][google.cloud.scheduler.v1.AppEngineRouting.version] - // - // * `version_dot_service =` - // [version][google.cloud.scheduler.v1.AppEngineRouting.version] `+ '.' +` - // [service][google.cloud.scheduler.v1.AppEngineRouting.service] - // - // * `instance =` [instance][google.cloud.scheduler.v1.AppEngineRouting.instance] - // - // * `instance_dot_service =` - // [instance][google.cloud.scheduler.v1.AppEngineRouting.instance] `+ '.' +` - // [service][google.cloud.scheduler.v1.AppEngineRouting.service] - // - // * `instance_dot_version =` - // [instance][google.cloud.scheduler.v1.AppEngineRouting.instance] `+ '.' +` - // [version][google.cloud.scheduler.v1.AppEngineRouting.version] - // - // * `instance_dot_version_dot_service =` - // [instance][google.cloud.scheduler.v1.AppEngineRouting.instance] `+ '.' +` - // [version][google.cloud.scheduler.v1.AppEngineRouting.version] `+ '.' +` - // [service][google.cloud.scheduler.v1.AppEngineRouting.service] - // - // - // If [service][google.cloud.scheduler.v1.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.v1.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.v1.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.v1.AppEngineRouting.service], - // [version][google.cloud.scheduler.v1.AppEngineRouting.version], or - // [instance][google.cloud.scheduler.v1.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_695eb74e082a5bc1, []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 (m *AppEngineRouting) XXX_Merge(src proto.Message) { - xxx_messageInfo_AppEngineRouting.Merge(m, 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 "" -} - -// Contains information needed for generating an -// [OAuth token](https://developers.google.com/identity/protocols/OAuth2). -// This type of authorization should be used when sending requests to a GCP -// endpoint. -type OAuthToken struct { - // [Service account email](https://cloud.google.com/iam/docs/service-accounts) - // to be used for generating OAuth token. - // The service account must be within the same project as the job. The caller - // must have iam.serviceAccounts.actAs permission for the service account. - ServiceAccountEmail string `protobuf:"bytes,1,opt,name=service_account_email,json=serviceAccountEmail,proto3" json:"service_account_email,omitempty"` - // OAuth scope to be used for generating OAuth access token. - // If not specified, "https://www.googleapis.com/auth/cloud-platform" - // will be used. - Scope string `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OAuthToken) Reset() { *m = OAuthToken{} } -func (m *OAuthToken) String() string { return proto.CompactTextString(m) } -func (*OAuthToken) ProtoMessage() {} -func (*OAuthToken) Descriptor() ([]byte, []int) { - return fileDescriptor_695eb74e082a5bc1, []int{4} -} - -func (m *OAuthToken) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OAuthToken.Unmarshal(m, b) -} -func (m *OAuthToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OAuthToken.Marshal(b, m, deterministic) -} -func (m *OAuthToken) XXX_Merge(src proto.Message) { - xxx_messageInfo_OAuthToken.Merge(m, src) -} -func (m *OAuthToken) XXX_Size() int { - return xxx_messageInfo_OAuthToken.Size(m) -} -func (m *OAuthToken) XXX_DiscardUnknown() { - xxx_messageInfo_OAuthToken.DiscardUnknown(m) -} - -var xxx_messageInfo_OAuthToken proto.InternalMessageInfo - -func (m *OAuthToken) GetServiceAccountEmail() string { - if m != nil { - return m.ServiceAccountEmail - } - return "" -} - -func (m *OAuthToken) GetScope() string { - if m != nil { - return m.Scope - } - return "" -} - -// Contains information needed for generating an -// [OpenID Connect -// token](https://developers.google.com/identity/protocols/OpenIDConnect). This -// type of authorization should be used when sending requests to third party -// endpoints or Cloud Run. -type OidcToken struct { - // [Service account email](https://cloud.google.com/iam/docs/service-accounts) - // to be used for generating OIDC token. - // The service account must be within the same project as the job. The caller - // must have iam.serviceAccounts.actAs permission for the service account. - ServiceAccountEmail string `protobuf:"bytes,1,opt,name=service_account_email,json=serviceAccountEmail,proto3" json:"service_account_email,omitempty"` - // Audience to be used when generating OIDC token. If not specified, the URI - // specified in target will be used. - Audience string `protobuf:"bytes,2,opt,name=audience,proto3" json:"audience,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OidcToken) Reset() { *m = OidcToken{} } -func (m *OidcToken) String() string { return proto.CompactTextString(m) } -func (*OidcToken) ProtoMessage() {} -func (*OidcToken) Descriptor() ([]byte, []int) { - return fileDescriptor_695eb74e082a5bc1, []int{5} -} - -func (m *OidcToken) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OidcToken.Unmarshal(m, b) -} -func (m *OidcToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OidcToken.Marshal(b, m, deterministic) -} -func (m *OidcToken) XXX_Merge(src proto.Message) { - xxx_messageInfo_OidcToken.Merge(m, src) -} -func (m *OidcToken) XXX_Size() int { - return xxx_messageInfo_OidcToken.Size(m) -} -func (m *OidcToken) XXX_DiscardUnknown() { - xxx_messageInfo_OidcToken.DiscardUnknown(m) -} - -var xxx_messageInfo_OidcToken proto.InternalMessageInfo - -func (m *OidcToken) GetServiceAccountEmail() string { - if m != nil { - return m.ServiceAccountEmail - } - return "" -} - -func (m *OidcToken) GetAudience() string { - if m != nil { - return m.Audience - } - return "" -} - -func init() { - proto.RegisterEnum("google.cloud.scheduler.v1.HttpMethod", HttpMethod_name, HttpMethod_value) - proto.RegisterType((*HttpTarget)(nil), "google.cloud.scheduler.v1.HttpTarget") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.scheduler.v1.HttpTarget.HeadersEntry") - proto.RegisterType((*AppEngineHttpTarget)(nil), "google.cloud.scheduler.v1.AppEngineHttpTarget") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.scheduler.v1.AppEngineHttpTarget.HeadersEntry") - proto.RegisterType((*PubsubTarget)(nil), "google.cloud.scheduler.v1.PubsubTarget") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.scheduler.v1.PubsubTarget.AttributesEntry") - proto.RegisterType((*AppEngineRouting)(nil), "google.cloud.scheduler.v1.AppEngineRouting") - proto.RegisterType((*OAuthToken)(nil), "google.cloud.scheduler.v1.OAuthToken") - proto.RegisterType((*OidcToken)(nil), "google.cloud.scheduler.v1.OidcToken") -} - -func init() { - proto.RegisterFile("google/cloud/scheduler/v1/target.proto", fileDescriptor_695eb74e082a5bc1) -} - -var fileDescriptor_695eb74e082a5bc1 = []byte{ - // 750 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0xdd, 0x6e, 0xeb, 0x44, - 0x10, 0x3e, 0xae, 0xf3, 0xd3, 0x8c, 0x23, 0xb0, 0xf6, 0x1c, 0x20, 0x04, 0x8e, 0x14, 0x22, 0x40, - 0x11, 0x48, 0xb6, 0x4e, 0xb8, 0x00, 0x9d, 0x23, 0x2e, 0x92, 0xc6, 0xc5, 0x95, 0xda, 0xc6, 0x72, - 0x1d, 0x10, 0x70, 0x61, 0x6d, 0xec, 0xc5, 0x5e, 0x35, 0xd9, 0xb5, 0xec, 0x75, 0xa4, 0x70, 0xc9, - 0xfb, 0xf0, 0x40, 0xbc, 0x0d, 0xf2, 0xfa, 0xa7, 0x51, 0x44, 0x43, 0x29, 0x77, 0xfb, 0xed, 0xcc, - 0x7c, 0x33, 0xdf, 0xcc, 0xac, 0x0d, 0x5f, 0x46, 0x9c, 0x47, 0x1b, 0x62, 0x06, 0x1b, 0x9e, 0x87, - 0x66, 0x16, 0xc4, 0x24, 0xcc, 0x37, 0x24, 0x35, 0x77, 0x6f, 0x4c, 0x81, 0xd3, 0x88, 0x08, 0x23, - 0x49, 0xb9, 0xe0, 0xe8, 0xe3, 0xd2, 0xcf, 0x90, 0x7e, 0x46, 0xe3, 0x67, 0xec, 0xde, 0x0c, 0x3f, - 0xad, 0x28, 0x70, 0x42, 0x4d, 0xcc, 0x18, 0x17, 0x58, 0x50, 0xce, 0xb2, 0x32, 0x70, 0x58, 0x05, - 0x9a, 0x12, 0xad, 0xf3, 0xdf, 0x4c, 0xcc, 0xf6, 0xa5, 0x69, 0xfc, 0xa7, 0x0a, 0x60, 0x0b, 0x91, - 0x78, 0x32, 0x11, 0xd2, 0x41, 0xcd, 0x53, 0x3a, 0x50, 0x46, 0xca, 0xa4, 0xe7, 0x16, 0x47, 0x74, - 0x09, 0x5a, 0x2c, 0x44, 0xe2, 0x6f, 0x89, 0x88, 0x79, 0x38, 0x38, 0x1b, 0x29, 0x93, 0xf7, 0xa6, - 0x5f, 0x18, 0x8f, 0x96, 0x62, 0x14, 0x6c, 0x37, 0xd2, 0xd9, 0x85, 0xb8, 0x39, 0xa3, 0x6b, 0xe8, - 0xc6, 0x04, 0x87, 0x24, 0xcd, 0x06, 0xea, 0x48, 0x9d, 0x68, 0xd3, 0xe9, 0xbf, 0x70, 0x94, 0x15, - 0x19, 0x76, 0x19, 0x64, 0x31, 0x91, 0xee, 0xdd, 0x9a, 0x02, 0x21, 0x68, 0xad, 0x79, 0xb8, 0x1f, - 0xb4, 0x46, 0xca, 0xa4, 0xef, 0xca, 0x33, 0xb2, 0x41, 0xe3, 0x38, 0x17, 0xb1, 0x2f, 0xf8, 0x3d, - 0x61, 0x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xce, 0xb1, - 0x2e, 0xae, 0x2e, 0xaf, 0xac, 0x85, 0xfe, 0x02, 0x9d, 0x43, 0xcb, 0x59, 0xde, 0x79, 0xba, 0x82, - 0xba, 0xa0, 0xfe, 0x60, 0x79, 0xfa, 0x59, 0x71, 0x65, 0x5b, 0xb3, 0x85, 0xae, 0x16, 0x57, 0xce, - 0xca, 0xd3, 0x5b, 0x08, 0xa0, 0xb3, 0xb0, 0xae, 0x2d, 0xcf, 0xd2, 0xdb, 0xa8, 0x07, 0x6d, 0x67, - 0xe6, 0x5d, 0xd8, 0x7a, 0x07, 0x69, 0xd0, 0x5d, 0x3a, 0xde, 0xd5, 0xf2, 0xf6, 0x4e, 0xef, 0xce, - 0x53, 0x78, 0x1d, 0xf0, 0xed, 0xe3, 0xab, 0x32, 0xd7, 0xca, 0x2d, 0x71, 0x8a, 0x0f, 0xbc, 0xa3, - 0xfc, 0x32, 0xaf, 0x3c, 0x23, 0xbe, 0xc1, 0x2c, 0x32, 0x78, 0x1a, 0x99, 0x11, 0x61, 0xf2, 0xf3, - 0x6f, 0x96, 0x26, 0x9c, 0xd0, 0xec, 0x1f, 0xfe, 0x3e, 0xef, 0x1a, 0xb0, 0xee, 0x48, 0xf7, 0x6f, - 0xfe, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x7a, 0x4a, 0x84, 0x17, 0xab, 0x06, 0x00, 0x00, -} 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 deleted file mode 100644 index 1ad57464..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/scheduler/v1beta1/cloudscheduler.pb.go +++ /dev/null @@ -1,952 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/scheduler/v1beta1/cloudscheduler.proto - -package scheduler - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // 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_ab8778b9dae54836, []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 (m *ListJobsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListJobsRequest.Merge(m, 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_ab8778b9dae54836, []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 (m *ListJobsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListJobsResponse.Merge(m, 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_ab8778b9dae54836, []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 (m *GetJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetJobRequest.Merge(m, 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_ab8778b9dae54836, []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 (m *CreateJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateJobRequest.Merge(m, 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_ab8778b9dae54836, []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 (m *UpdateJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateJobRequest.Merge(m, 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_ab8778b9dae54836, []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 (m *DeleteJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteJobRequest.Merge(m, 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_ab8778b9dae54836, []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 (m *PauseJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PauseJobRequest.Merge(m, 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_ab8778b9dae54836, []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 (m *ResumeJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResumeJobRequest.Merge(m, 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_ab8778b9dae54836, []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 (m *RunJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RunJobRequest.Merge(m, 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") -} - -func init() { - proto.RegisterFile("google/cloud/scheduler/v1beta1/cloudscheduler.proto", fileDescriptor_ab8778b9dae54836) -} - -var fileDescriptor_ab8778b9dae54836 = []byte{ - // 731 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x96, 0x4b, 0x4f, 0xdb, 0x4a, - 0x14, 0xc7, 0x35, 0x3c, 0x22, 0x72, 0x10, 0x10, 0xcd, 0x02, 0xe5, 0x86, 0x7b, 0xaf, 0x22, 0xa3, - 0x8b, 0xa2, 0x48, 0x64, 0x6e, 0x78, 0xf4, 0x11, 0xfa, 0x90, 0x78, 0x94, 0x0a, 0x51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, - 0x45, 0xa4, 0x34, 0x5c, 0xa8, 0x62, 0xda, 0x6a, 0x21, 0xb2, 0x8e, 0x2b, 0x73, 0x75, 0x50, 0x13, - 0x7f, 0x47, 0x50, 0x4e, 0xb6, 0x42, 0x76, 0xc5, 0xd2, 0x0b, 0x24, 0x1f, 0xe4, 0x63, 0x05, 0x79, - 0x5f, 0x5b, 0x2b, 0x06, 0xe9, 0xa9, 0x64, 0x92, 0xf2, 0x0b, 0x82, 0x52, 0xb8, 0x93, 0xb2, 0x35, - 0x3b, 0xb2, 0xbb, 0xf2, 0xf1, 0x3d, 0x50, 0x7c, 0x77, 0xb4, 0x76, 0x41, 0xbe, 0xc0, 0xe9, 0xa0, - 0xe6, 0xe6, 0x27, 0x04, 0x5a, 0x8f, 0x0f, 0x33, 0x12, 0x6d, 0xce, 0x26, 0x9b, 0xb2, 0x2b, 0x87, - 0xab, 0x8b, 0x5e, 0xec, 0x46, 0x11, 0x26, 0xb7, 0xa9, 0x63, 0xb6, 0xb8, 0x67, 0x12, 0x93, 0x39, - 0x6a, 0xf4, 0x48, 0x68, 0xa2, 0xae, 0x25, 0x6e, 0xfa, 0x53, 0xb1, 0x91, 0x9c, 0x5c, 0x8c, 0x95, - 0x0f, 0xb6, 0x9e, 0xee, 0x6c, 0x1f, 0xee, 0xef, 0xe8, 0x46, 0x49, 0xc5, 0xaf, 0xfe, 0x0e, 0x00, - 0x00, 0xff, 0xff, 0x42, 0xed, 0xf2, 0xae, 0x21, 0x09, 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 - -// 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) -} - -// UnimplementedCloudSchedulerServer can be embedded to have forward compatible implementations. -type UnimplementedCloudSchedulerServer struct { -} - -func (*UnimplementedCloudSchedulerServer) ListJobs(ctx context.Context, req *ListJobsRequest) (*ListJobsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListJobs not implemented") -} -func (*UnimplementedCloudSchedulerServer) GetJob(ctx context.Context, req *GetJobRequest) (*Job, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetJob not implemented") -} -func (*UnimplementedCloudSchedulerServer) CreateJob(ctx context.Context, req *CreateJobRequest) (*Job, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateJob not implemented") -} -func (*UnimplementedCloudSchedulerServer) UpdateJob(ctx context.Context, req *UpdateJobRequest) (*Job, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateJob not implemented") -} -func (*UnimplementedCloudSchedulerServer) DeleteJob(ctx context.Context, req *DeleteJobRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteJob not implemented") -} -func (*UnimplementedCloudSchedulerServer) PauseJob(ctx context.Context, req *PauseJobRequest) (*Job, error) { - return nil, status.Errorf(codes.Unimplemented, "method PauseJob not implemented") -} -func (*UnimplementedCloudSchedulerServer) ResumeJob(ctx context.Context, req *ResumeJobRequest) (*Job, error) { - return nil, status.Errorf(codes.Unimplemented, "method ResumeJob not implemented") -} -func (*UnimplementedCloudSchedulerServer) RunJob(ctx context.Context, req *RunJobRequest) (*Job, error) { - return nil, status.Errorf(codes.Unimplemented, "method RunJob not implemented") -} - -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", -} 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 deleted file mode 100644 index b5ef735e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/scheduler/v1beta1/job.pb.go +++ /dev/null @@ -1,520 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/scheduler/v1beta1/job.proto - -package scheduler - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - 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.ProtoPackageIsVersion3 // 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_0cfee8289e3d589c, []int{0, 0} -} - -// Configuration for a job. -// The maximum allowed size for a job is 100KB. -type Job struct { - // Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob], after - // which it becomes output only. - // - // 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"` - // Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob] or - // [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob]. - // - // 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, except when used with [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob]. - // - // Describes the schedule on which the job will be executed. - // - // 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) - // - // 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. - 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"` - // The deadline for job attempts. If the request handler does not respond by - // this deadline then the request is cancelled and the attempt is marked as a - // `DEADLINE_EXCEEDED` failure. The failed attempt can be viewed in - // execution logs. Cloud Scheduler will retry the job according - // to the [RetryConfig][google.cloud.scheduler.v1beta1.RetryConfig]. - // - // The allowed duration for this deadline is: - // - // * For [HTTP targets][google.cloud.scheduler.v1beta1.Job.http_target], between 15 seconds and 30 minutes. - // * For [App Engine HTTP targets][google.cloud.scheduler.v1beta1.Job.app_engine_http_target], between 15 - // seconds and 24 hours. - // * For [PubSub targets][google.cloud.scheduler.v1beta1.Job.pubsub_target], this field is ignored. - AttemptDeadline *duration.Duration `protobuf:"bytes,22,opt,name=attempt_deadline,json=attemptDeadline,proto3" json:"attempt_deadline,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_0cfee8289e3d589c, []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 (m *Job) XXX_Merge(src proto.Message) { - xxx_messageInfo_Job.Merge(m, 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 -} - -func (m *Job) GetAttemptDeadline() *duration.Duration { - if m != nil { - return m.AttemptDeadline - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Job) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Job_PubsubTarget)(nil), - (*Job_AppEngineHttpTarget)(nil), - (*Job_HttpTarget)(nil), - } -} - -// 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_0cfee8289e3d589c, []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 (m *RetryConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_RetryConfig.Merge(m, 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.RegisterEnum("google.cloud.scheduler.v1beta1.Job_State", Job_State_name, Job_State_value) - proto.RegisterType((*Job)(nil), "google.cloud.scheduler.v1beta1.Job") - proto.RegisterType((*RetryConfig)(nil), "google.cloud.scheduler.v1beta1.RetryConfig") -} - -func init() { - proto.RegisterFile("google/cloud/scheduler/v1beta1/job.proto", fileDescriptor_0cfee8289e3d589c) -} - -var fileDescriptor_0cfee8289e3d589c = []byte{ - // 728 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x94, 0x4f, 0x4f, 0xeb, 0x46, - 0x14, 0xc5, 0x09, 0x24, 0x21, 0x5c, 0x27, 0x90, 0x0c, 0x7f, 0x6a, 0xd2, 0xaa, 0x44, 0xe9, 0x26, - 0x85, 0xca, 0x16, 0xb0, 0xec, 0x02, 0x25, 0x38, 0x40, 0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, 0x29, 0xd0, 0x15, 0x34, 0x72, 0x62, 0x9a, 0xb7, - 0x55, 0x98, 0xb7, 0x9e, 0x1b, 0x64, 0xda, 0x1b, 0x68, 0x2d, 0x70, 0x24, 0x2c, 0x2c, 0x04, 0x09, - 0xb8, 0x48, 0x21, 0xa8, 0x10, 0xb2, 0x97, 0x98, 0xfa, 0xa9, 0x47, 0x72, 0x1e, 0xa0, 0x1e, 0x12, - 0x11, 0xbe, 0x58, 0x0e, 0xa3, 0x73, 0xdf, 0x53, 0xf7, 0x25, 0xe2, 0xac, 0x68, 0xf3, 0x66, 0xe2, - 0xb9, 0x96, 0x16, 0x53, 0x09, 0x5f, 0x17, 0xc9, 0x5d, 0xe4, 0x91, 0x5c, 0x82, 0xdd, 0x85, 0x4f, - 0x89, 0x7a, 0x24, 0x99, 0xc7, 0x1f, 0x62, 0x19, 0xd9, 0x77, 0x68, 0xee, 0x65, 0x16, 0x23, 0x73, - 0x74, 0xff, 0x85, 0x8a, 0x3c, 0x5a, 0x74, 0x08, 0xad, 0xc9, 0xb4, 0x3f, 0x1d, 0x5a, 0xb3, 0x87, - 0xc9, 0x78, 0x78, 0x3d, 0xba, 0x19, 0x0d, 0x8d, 0xe6, 0x06, 0x52, 0x60, 0x7b, 0xf8, 0xd0, 0x1f, - 0xfc, 0x3d, 0x34, 0x9a, 0x25, 0x04, 0x50, 0x1d, 0xf7, 0x67, 0x93, 0xa1, 0xd1, 0xdc, 0x44, 0x75, - 0xa8, 0x19, 0xa3, 0x49, 0xda, 0xd9, 0x42, 0x2d, 0x68, 0xcc, 0xc6, 0x46, 0x62, 0xbf, 0xe9, 0x8f, - 0x92, 0x52, 0x79, 0x50, 0x83, 0x6a, 0xfa, 0xba, 0x76, 0xbf, 0x6e, 0x82, 0xb2, 0xb6, 0x0d, 0x74, - 0x02, 0x4a, 0x7e, 0x12, 0x31, 0x15, 0xf2, 0x5b, 0xae, 0x98, 0x90, 0xed, 0x2d, 0xa6, 0x02, 0xdd, - 0x02, 0x0a, 0xf0, 0xd2, 0x4a, 0x45, 0xf9, 0x3f, 0x44, 0x7e, 0xd8, 0x9f, 0x6e, 0xae, 0x19, 0xe0, - 0xa5, 0x9c, 0x93, 0x57, 0xd0, 0x5f, 0x70, 0x10, 0xf8, 0xd4, 0xb2, 0xb1, 0xf3, 0x1f, 0x9b, 0xcf, - 0x5f, 0x51, 0x5b, 0x45, 0x28, 0x14, 0xf8, 0x74, 0x90, 0xba, 0xde, 0xc0, 0xf0, 0xf2, 0x23, 0xac, - 0x5c, 0x0c, 0xc3, 0xcb, 0xf7, 0xb0, 0xdf, 0xa0, 0x91, 0xc0, 0x5c, 0x16, 0xdb, 0x0b, 0x9f, 0x7a, - 0x91, 0xfc, 0x69, 0x54, 0xcc, 0x7a, 0x80, 0x97, 0x46, 0x5e, 0x1b, 0xbc, 0x40, 0xd7, 0x61, 0x41, - 0xc1, 0x1b, 0x32, 0xa8, 0xdd, 0x33, 0x7b, 0x9c, 0x0c, 0x1d, 0x97, 0x1e, 0x6f, 0x33, 0xad, 0xc7, - 0x16, 0x98, 0x7a, 0x1a, 0x0b, 0x3d, 0xdd, 0x23, 0x54, 0x46, 0xd2, 0xd3, 0x16, 0xe6, 0x7e, 0xf4, - 0xa3, 0xbf, 0xf9, 0x9f, 0xab, 0x8a, 0x5d, 0x95, 0x9e, 0xcb, 0xef, 0x01, 0x00, 0x00, 0xff, 0xff, - 0x9d, 0xf8, 0x5c, 0x97, 0x83, 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 deleted file mode 100644 index 14e4a347..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/scheduler/v1beta1/target.pb.go +++ /dev/null @@ -1,764 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/scheduler/v1beta1/target.proto - -package scheduler - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/any" - _ "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.ProtoPackageIsVersion3 // 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_30cd09e73d799915, []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"` - // The mode for generating an `Authorization` header for HTTP requests. - // - // If specified, all `Authorization` headers in the [HttpTarget.headers][google.cloud.scheduler.v1beta1.HttpTarget.headers] - // field will be overridden. - // - // Types that are valid to be assigned to AuthorizationHeader: - // *HttpTarget_OauthToken - // *HttpTarget_OidcToken - AuthorizationHeader isHttpTarget_AuthorizationHeader `protobuf_oneof:"authorization_header"` - 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_30cd09e73d799915, []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 (m *HttpTarget) XXX_Merge(src proto.Message) { - xxx_messageInfo_HttpTarget.Merge(m, 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 -} - -type isHttpTarget_AuthorizationHeader interface { - isHttpTarget_AuthorizationHeader() -} - -type HttpTarget_OauthToken struct { - OauthToken *OAuthToken `protobuf:"bytes,5,opt,name=oauth_token,json=oauthToken,proto3,oneof"` -} - -type HttpTarget_OidcToken struct { - OidcToken *OidcToken `protobuf:"bytes,6,opt,name=oidc_token,json=oidcToken,proto3,oneof"` -} - -func (*HttpTarget_OauthToken) isHttpTarget_AuthorizationHeader() {} - -func (*HttpTarget_OidcToken) isHttpTarget_AuthorizationHeader() {} - -func (m *HttpTarget) GetAuthorizationHeader() isHttpTarget_AuthorizationHeader { - if m != nil { - return m.AuthorizationHeader - } - return nil -} - -func (m *HttpTarget) GetOauthToken() *OAuthToken { - if x, ok := m.GetAuthorizationHeader().(*HttpTarget_OauthToken); ok { - return x.OauthToken - } - return nil -} - -func (m *HttpTarget) GetOidcToken() *OidcToken { - if x, ok := m.GetAuthorizationHeader().(*HttpTarget_OidcToken); ok { - return x.OidcToken - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*HttpTarget) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*HttpTarget_OauthToken)(nil), - (*HttpTarget_OidcToken)(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`. - // * `X-CloudScheduler`: This header will be set to true. - // - // 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. - // - // In addition, some App Engine headers, which contain - // job-specific information, are also be sent to the job handler. - 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_30cd09e73d799915, []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 (m *AppEngineHttpTarget) XXX_Merge(src proto.Message) { - xxx_messageInfo_AppEngineHttpTarget.Merge(m, 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_30cd09e73d799915, []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 (m *PubsubTarget) XXX_Merge(src proto.Message) { - xxx_messageInfo_PubsubTarget.Merge(m, 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_30cd09e73d799915, []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 (m *AppEngineRouting) XXX_Merge(src proto.Message) { - xxx_messageInfo_AppEngineRouting.Merge(m, 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 "" -} - -// Contains information needed for generating an -// [OAuth token](https://developers.google.com/identity/protocols/OAuth2). -// This type of authorization should be used when sending requests to a GCP -// endpoint. -type OAuthToken struct { - // [Service account email](https://cloud.google.com/iam/docs/service-accounts) - // to be used for generating OAuth token. - // The service account must be within the same project as the job. The caller - // must have iam.serviceAccounts.actAs permission for the service account. - ServiceAccountEmail string `protobuf:"bytes,1,opt,name=service_account_email,json=serviceAccountEmail,proto3" json:"service_account_email,omitempty"` - // OAuth scope to be used for generating OAuth access token. - // If not specified, "https://www.googleapis.com/auth/cloud-platform" - // will be used. - Scope string `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OAuthToken) Reset() { *m = OAuthToken{} } -func (m *OAuthToken) String() string { return proto.CompactTextString(m) } -func (*OAuthToken) ProtoMessage() {} -func (*OAuthToken) Descriptor() ([]byte, []int) { - return fileDescriptor_30cd09e73d799915, []int{4} -} - -func (m *OAuthToken) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OAuthToken.Unmarshal(m, b) -} -func (m *OAuthToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OAuthToken.Marshal(b, m, deterministic) -} -func (m *OAuthToken) XXX_Merge(src proto.Message) { - xxx_messageInfo_OAuthToken.Merge(m, src) -} -func (m *OAuthToken) XXX_Size() int { - return xxx_messageInfo_OAuthToken.Size(m) -} -func (m *OAuthToken) XXX_DiscardUnknown() { - xxx_messageInfo_OAuthToken.DiscardUnknown(m) -} - -var xxx_messageInfo_OAuthToken proto.InternalMessageInfo - -func (m *OAuthToken) GetServiceAccountEmail() string { - if m != nil { - return m.ServiceAccountEmail - } - return "" -} - -func (m *OAuthToken) GetScope() string { - if m != nil { - return m.Scope - } - return "" -} - -// Contains information needed for generating an -// [OpenID Connect -// token](https://developers.google.com/identity/protocols/OpenIDConnect). This -// type of authorization should be used when sending requests to third party -// endpoints. -type OidcToken struct { - // [Service account email](https://cloud.google.com/iam/docs/service-accounts) - // to be used for generating OIDC token. - // The service account must be within the same project as the job. The caller - // must have iam.serviceAccounts.actAs permission for the service account. - ServiceAccountEmail string `protobuf:"bytes,1,opt,name=service_account_email,json=serviceAccountEmail,proto3" json:"service_account_email,omitempty"` - // Audience to be used when generating OIDC token. If not specified, the URI - // specified in target will be used. - Audience string `protobuf:"bytes,2,opt,name=audience,proto3" json:"audience,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OidcToken) Reset() { *m = OidcToken{} } -func (m *OidcToken) String() string { return proto.CompactTextString(m) } -func (*OidcToken) ProtoMessage() {} -func (*OidcToken) Descriptor() ([]byte, []int) { - return fileDescriptor_30cd09e73d799915, []int{5} -} - -func (m *OidcToken) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OidcToken.Unmarshal(m, b) -} -func (m *OidcToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OidcToken.Marshal(b, m, deterministic) -} -func (m *OidcToken) XXX_Merge(src proto.Message) { - xxx_messageInfo_OidcToken.Merge(m, src) -} -func (m *OidcToken) XXX_Size() int { - return xxx_messageInfo_OidcToken.Size(m) -} -func (m *OidcToken) XXX_DiscardUnknown() { - xxx_messageInfo_OidcToken.DiscardUnknown(m) -} - -var xxx_messageInfo_OidcToken proto.InternalMessageInfo - -func (m *OidcToken) GetServiceAccountEmail() string { - if m != nil { - return m.ServiceAccountEmail - } - return "" -} - -func (m *OidcToken) GetAudience() string { - if m != nil { - return m.Audience - } - return "" -} - -func init() { - proto.RegisterEnum("google.cloud.scheduler.v1beta1.HttpMethod", HttpMethod_name, HttpMethod_value) - 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.RegisterType((*OAuthToken)(nil), "google.cloud.scheduler.v1beta1.OAuthToken") - proto.RegisterType((*OidcToken)(nil), "google.cloud.scheduler.v1beta1.OidcToken") -} - -func init() { - proto.RegisterFile("google/cloud/scheduler/v1beta1/target.proto", fileDescriptor_30cd09e73d799915) -} - -var fileDescriptor_30cd09e73d799915 = []byte{ - // 754 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0xdb, 0x6e, 0xf3, 0x44, - 0x10, 0xae, 0xeb, 0x1c, 0x9a, 0x71, 0x04, 0xd6, 0xb6, 0x40, 0x08, 0x07, 0x85, 0x5c, 0x85, 0x22, - 0xd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c, 0x73, 0x92, 0xca, 0xf0, 0x57, 0xe8, 0xd4, 0x4f, 0xf6, 0x8d, 0x60, - 0xfb, 0x70, 0x84, 0xb3, 0x80, 0x92, 0x9c, 0x48, 0x81, 0x5c, 0xeb, 0xa7, 0x69, 0xf1, 0x91, 0x2d, - 0x9f, 0xd2, 0x07, 0xf0, 0xde, 0xcc, 0x75, 0x6d, 0xef, 0xc6, 0x72, 0x67, 0xf3, 0xa9, 0x77, 0x7f, - 0x7b, 0x67, 0x5b, 0x97, 0xd7, 0xdf, 0x5f, 0x5b, 0x53, 0xfd, 0x00, 0x1d, 0x41, 0xc3, 0x9e, 0xdf, - 0xb9, 0xba, 0x82, 0xda, 0xa0, 0x5e, 0x59, 0xae, 0x7e, 0x98, 0x9b, 0x66, 0xd6, 0x64, 0xaa, 0xab, - 0xb9, 0xc9, 0xbe, 0x77, 0xf5, 0x06, 0x02, 0x68, 0x4d, 0xad, 0x9f, 0x2c, 0xd7, 0xd2, 0x9b, 0xa8, - 0x03, 0x4d, 0x7b, 0xe2, 0x5e, 0xce, 0xf4, 0x16, 0xd2, 0xa0, 0x3d, 0xb7, 0xdd, 0xeb, 0xf9, 0xed, - 0x9d, 0xde, 0xbe, 0xf8, 0x0b, 0x86, 0x3e, 0x5f, 0xed, 0xb9, 0x97, 0x0b, 0xad, 0x38, 0x15, 0x3b, - 0xff, 0x1b, 0xd8, 0xca, 0xc3, 0x55, 0x19, 0x1e, 0xf2, 0x25, 0x66, 0xa1, 0xc1, 0x93, 0xd0, 0x0c, - 0x09, 0x93, 0xff, 0x0a, 0xb3, 0x70, 0xe1, 0x98, 0xa6, 0xff, 0xf7, 0xd3, 0xfa, 0xba, 0xb6, 0x2c, - 0x5a, 0x32, 0xe7, 0x8b, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x69, 0x77, 0x8b, 0x53, 0xe7, 0x06, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1/asset.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1/asset.pb.go deleted file mode 100644 index 0470174d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1/asset.pb.go +++ /dev/null @@ -1,316 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/securitycenter/v1/asset.proto - -package securitycenter - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _struct "github.com/golang/protobuf/ptypes/struct" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // 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"` - // IAM Policy information associated with the GCP resource described by the - // Cloud SCC asset. This information is managed and defined by the GCP - // resource and cannot be modified by the user. - IamPolicy *Asset_IamPolicy `protobuf:"bytes,11,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_8afac45fcf79e390, []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 (m *Asset) XXX_Merge(src proto.Message) { - xxx_messageInfo_Asset.Merge(m, 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 -} - -func (m *Asset) GetIamPolicy() *Asset_IamPolicy { - if m != nil { - return m.IamPolicy - } - 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_8afac45fcf79e390, []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 (m *Asset_SecurityCenterProperties) XXX_Merge(src proto.Message) { - xxx_messageInfo_Asset_SecurityCenterProperties.Merge(m, 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 -} - -// IAM Policy information associated with the GCP resource described by the -// Cloud SCC asset. This information is managed and defined by the GCP -// resource and cannot be modified by the user. -type Asset_IamPolicy struct { - // The JSON representation of the Policy associated with the asset. - // See https://cloud.google.com/iam/reference/rest/v1/Policy for format - // details. - PolicyBlob string `protobuf:"bytes,1,opt,name=policy_blob,json=policyBlob,proto3" json:"policy_blob,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Asset_IamPolicy) Reset() { *m = Asset_IamPolicy{} } -func (m *Asset_IamPolicy) String() string { return proto.CompactTextString(m) } -func (*Asset_IamPolicy) ProtoMessage() {} -func (*Asset_IamPolicy) Descriptor() ([]byte, []int) { - return fileDescriptor_8afac45fcf79e390, []int{0, 1} -} - -func (m *Asset_IamPolicy) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Asset_IamPolicy.Unmarshal(m, b) -} -func (m *Asset_IamPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Asset_IamPolicy.Marshal(b, m, deterministic) -} -func (m *Asset_IamPolicy) XXX_Merge(src proto.Message) { - xxx_messageInfo_Asset_IamPolicy.Merge(m, src) -} -func (m *Asset_IamPolicy) XXX_Size() int { - return xxx_messageInfo_Asset_IamPolicy.Size(m) -} -func (m *Asset_IamPolicy) XXX_DiscardUnknown() { - xxx_messageInfo_Asset_IamPolicy.DiscardUnknown(m) -} - -var xxx_messageInfo_Asset_IamPolicy proto.InternalMessageInfo - -func (m *Asset_IamPolicy) GetPolicyBlob() string { - if m != nil { - return m.PolicyBlob - } - return "" -} - -func init() { - proto.RegisterType((*Asset)(nil), "google.cloud.securitycenter.v1.Asset") - proto.RegisterMapType((map[string]*_struct.Value)(nil), "google.cloud.securitycenter.v1.Asset.ResourcePropertiesEntry") - proto.RegisterType((*Asset_SecurityCenterProperties)(nil), "google.cloud.securitycenter.v1.Asset.SecurityCenterProperties") - proto.RegisterType((*Asset_IamPolicy)(nil), "google.cloud.securitycenter.v1.Asset.IamPolicy") -} - -func init() { - proto.RegisterFile("google/cloud/securitycenter/v1/asset.proto", fileDescriptor_8afac45fcf79e390) -} - -var fileDescriptor_8afac45fcf79e390 = []byte{ - // 581 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xcd, 0x6e, 0xd3, 0x4c, - 0x14, 0x95, 0x93, 0xe6, 0xeb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0xec, 0x5c, 0xc5, 0x8e, 0x39, 0xa1, 0xd2, 0xec, 0x2a, 0xda, 0x76, 0x9d, 0x99, - 0x42, 0xd1, 0x23, 0xd8, 0x6d, 0xee, 0xc7, 0x67, 0x12, 0x48, 0x73, 0x43, 0x31, 0x77, 0x1a, 0xe9, - 0x16, 0x70, 0xcb, 0x93, 0x7d, 0xa1, 0x84, 0x0b, 0xb3, 0x37, 0xec, 0x36, 0x3d, 0xdf, 0x29, 0xd4, - 0x3a, 0x84, 0x7e, 0x3d, 0x3b, 0xda, 0x87, 0x81, 0x7e, 0xbc, 0x85, 0x1f, 0x33, 0xbf, 0x9c, 0x08, - 0x34, 0x74, 0x1a, 0x33, 0xdf, 0xfa, 0x08, 0x77, 0x57, 0x2c, 0x18, 0xda, 0x85, 0xee, 0x25, 0xc9, - 0x4b, 0x4d, 0x71, 0x44, 0x87, 0xd0, 0x5b, 0xe2, 0x38, 0x23, 0xe5, 0xef, 0xe6, 0xce, 0xb5, 0x14, - 0x67, 0x45, 0xd5, 0xd3, 0x24, 0xb7, 0xf3, 0xd4, 0x38, 0xfd, 0x69, 0xc0, 0x41, 0xc0, 0x92, 0x35, - 0x91, 0x4d, 0x8c, 0x0f, 0x6f, 0x4a, 0x46, 0xc8, 0x62, 0x4c, 0x43, 0x9b, 0xf1, 0xd0, 0x09, 0x09, - 0x55, 0xc6, 0x8e, 0x2e, 0xe1, 0x34, 0x12, 0xab, 0xfe, 0x58, 0x4e, 0xda, 0xc8, 0xf7, 0xce, 0xde, - 0x2b, 0x6d, 0x77, 0xa6, 0x1a, 0xb6, 0x23, 0xb7, 0x67, 0xe3, 0x1f, 0x15, 0x61, 0xae, 0x08, 0xf3, - 0x36, 0x61, 0x3e, 0x1b, 0xff, 0xee, 0xdc, 0xd7, 0x04, 0xd7, 0x55, 0x0c, 0xd7, 0x6d, 0x53, 0x5c, - 0x77, 0x36, 0xf6, 0xff, 0x53, 0xd7, 0x3b, 0xfe, 0x13, 0x00, 0x00, 0xff, 0xff, 0x31, 0xef, 0x3d, - 0x00, 0x60, 0x05, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1/finding.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1/finding.pb.go deleted file mode 100644 index daa96cca..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1/finding.pb.go +++ /dev/null @@ -1,255 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/securitycenter/v1/finding.proto - -package securitycenter - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _struct "github.com/golang/protobuf/ptypes/struct" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // 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_b75f23af5a63668d, []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.v1.Finding_State" json:"state,omitempty"` - // The additional taxonomy group within findings from a given 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. The key names in the source_properties map must be - // between 1 and 255 characters, and must start with a letter and contain - // alphanumeric characters or underscores only. - 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_b75f23af5a63668d, []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 (m *Finding) XXX_Merge(src proto.Message) { - xxx_messageInfo_Finding.Merge(m, 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.RegisterEnum("google.cloud.securitycenter.v1.Finding_State", Finding_State_name, Finding_State_value) - proto.RegisterType((*Finding)(nil), "google.cloud.securitycenter.v1.Finding") - proto.RegisterMapType((map[string]*_struct.Value)(nil), "google.cloud.securitycenter.v1.Finding.SourcePropertiesEntry") -} - -func init() { - proto.RegisterFile("google/cloud/securitycenter/v1/finding.proto", fileDescriptor_b75f23af5a63668d) -} - -var fileDescriptor_b75f23af5a63668d = []byte{ - // 555 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xcf, 0x6e, 0xda, 0x40, - 0x10, 0xc6, 0x6b, 0x08, 0x04, 0x06, 0x12, 0x91, 0x95, 0x12, 0x59, 0xa8, 0x4a, 0x09, 0xbd, 0x70, - 0x48, 0x6d, 0x41, 0x2e, 0xa9, 0xa3, 0x1e, 0x52, 0x4a, 0x2a, 0xa4, 0x16, 0x21, 0x43, 0x38, 0xb4, - 0x48, 0x68, 0xe3, 0x4c, 0x2c, 0x37, 0xb0, 0x6b, 0xad, 0xd7, 0xa8, 0xbc, 0x52, 0x2f, 0x7d, 0x8f, - 0x3e, 0x42, 0x1f, 0xa1, 0x4f, 0x51, 0x79, 0xd7, 0x8e, 0xea, 0xf4, 0x0f, 0xbd, 0x79, 0xbe, 0xf9, - 0x7d, 0x33, 0xb3, 0x3b, 0x6b, 0x38, 0xf5, 0x39, 0xf7, 0x97, 0x68, 0x7b, 0x4b, 0x1e, 0xdf, 0xda, - 0x11, 0x7a, 0xb1, 0x08, 0xe4, 0xc6, 0x43, 0x26, 0x51, 0xd8, 0xeb, 0xae, 0x7d, 0x17, 0xb0, 0xdb, - 0x80, 0xf9, 0x56, 0x28, 0xb8, 0xe4, 0xe4, 0x58, 0xd3, 0x96, 0xa2, 0xad, 0x3c, 0x6d, 0xad, 0xbb, - 0xcd, 0xa7, 0x69, 0x35, 0x1a, 0x06, 0x36, 0x65, 0x8c, 0x4b, 0x2a, 0x03, 0xce, 0x22, 0xed, 0x6e, - 0x9e, 0x6d, 0xe9, 0x95, 0x29, 0x8b, 0x15, 0x15, 0xf7, 0x99, 0x29, 0x2b, 0xa9, 0xa2, 0x9b, 0xf8, - 0xce, 0x8e, 0xa4, 0x88, 0x3d, 0x99, 0x66, 0x9f, 0x3d, 0xce, 0xca, 0x60, 0x85, 0x91, 0xa4, 0xab, - 0x50, 0x03, 0xed, 0xaf, 0x25, 0xd8, 0xbd, 0xd2, 0x67, 0x20, 0x04, 0x76, 0x18, 0x5d, 0xa1, 0x69, - 0xb4, 0x8c, 0x4e, 0xd5, 0x55, 0xdf, 0xe4, 0x08, 0xca, 0x21, 0x15, 0xc8, 0xa4, 0x59, 0x50, 0x6a, - 0x1a, 0x91, 0xe7, 0xb0, 0x27, 0x30, 0xe2, 0xb1, 0xf0, 0x70, 0xa1, 0x4c, 0x45, 0x95, 0xae, 0x67, - 0xe2, 0x28, 0x31, 0xf7, 0xa1, 0x14, 0x49, 0x2a, 0xd1, 0xdc, 0x69, 0x19, 0x9d, 0xfd, 0xde, 0x0b, - 0xeb, 0xdf, 0xd7, 0x63, 0xa5, 0x83, 0x58, 0x93, 0xc4, 0xe4, 0x6a, 0x2f, 0x69, 0x42, 0xc5, 0xa3, - 0x12, 0x7d, 0x2e, 0x36, 0x66, 0x49, 0x35, 0x79, 0x88, 0xc9, 0x09, 0xd4, 0xf1, 0xb3, 0x44, 0xc1, - 0xe8, 0x72, 0x11, 0x8b, 0xc0, 0x2c, 0xab, 0x7c, 0x2d, 0xd3, 0xae, 0x45, 0x40, 0x3e, 0xc1, 0x41, - 0x3a, 0x66, 0x28, 0x78, 0x88, 0x42, 0x06, 0x18, 0x99, 0xbb, 0xad,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xf8, 0xb6, 0x8f, 0x4c, 0x8d, 0x64, 0xeb, 0x14, 0x0d, 0x83, 0xe8, 0x6f, 0x7f, 0xdb, 0x45, - 0x5e, 0xf9, 0x52, 0x38, 0x7e, 0xab, 0xcb, 0xf5, 0x55, 0xc3, 0x6c, 0x63, 0x7d, 0xdd, 0x70, 0xd6, - 0xfd, 0x96, 0x01, 0x73, 0x05, 0xcc, 0xf3, 0xc0, 0x7c, 0xd6, 0xfd, 0x51, 0x38, 0xd1, 0x80, 0xe3, - 0x28, 0xc2, 0x71, 0xf2, 0x88, 0xe3, 0xcc, 0xba, 0x37, 0x65, 0x35, 0xde, 0xd9, 0xcf, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x39, 0x58, 0x82, 0xa6, 0x77, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1/organization_settings.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1/organization_settings.pb.go deleted file mode 100644 index bf84eafa..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1/organization_settings.pb.go +++ /dev/null @@ -1,226 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/securitycenter/v1/organization_settings.proto - -package securitycenter - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_9f5c7b1e9f2f4088, []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_9f5c7b1e9f2f4088, []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 (m *OrganizationSettings) XXX_Merge(src proto.Message) { - xxx_messageInfo_OrganizationSettings.Merge(m, 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.v1.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_9f5c7b1e9f2f4088, []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 (m *OrganizationSettings_AssetDiscoveryConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_OrganizationSettings_AssetDiscoveryConfig.Merge(m, 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.RegisterEnum("google.cloud.securitycenter.v1.OrganizationSettings_AssetDiscoveryConfig_InclusionMode", OrganizationSettings_AssetDiscoveryConfig_InclusionMode_name, OrganizationSettings_AssetDiscoveryConfig_InclusionMode_value) - proto.RegisterType((*OrganizationSettings)(nil), "google.cloud.securitycenter.v1.OrganizationSettings") - proto.RegisterType((*OrganizationSettings_AssetDiscoveryConfig)(nil), "google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig") -} - -func init() { - proto.RegisterFile("google/cloud/securitycenter/v1/organization_settings.proto", fileDescriptor_9f5c7b1e9f2f4088) -} - -var fileDescriptor_9f5c7b1e9f2f4088 = []byte{ - // 454 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x92, 0xdf, 0x6e, 0xd3, 0x30, - 0x14, 0xc6, 0x49, 0xda, 0x8d, 0xce, 0x65, 0x53, 0x64, 0x55, 0x53, 0x55, 0xa1, 0x52, 0x7a, 0xd5, - 0x2b, 0x47, 0x19, 0x5c, 0x85, 0x2b, 0x48, 0x03, 0xca, 0xd4, 0xa5, 0x53, 0xaa, 0x95, 0x3f, 0xaa, - 0x14, 0x79, 0x8e, 0xb1, 0x8c, 0x52, 0x3b, 0x8a, 0xdd, 0x4a, 0xe3, 0x02, 0x2e, 0x79, 0x17, 0x1e, - 0x85, 0x47, 0xe0, 0x11, 0x78, 0x01, 0x6e, 0xd1, 0x9c, 0x54, 0x5a, 0x50, 0x81, 0x1b, 0xee, 0x92, - 0xf3, 0xfd, 0xbe, 0xef, 0x9c, 0x63, 0x1d, 0xe0, 0x33, 0x29, 0x59, 0x4e, 0x5d, 0x92, 0xcb, 0x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 0xaf, 0x65, 0x46, 0xcd, 0xa2, 0x27, 0x67, 0xaf, 0xff, 0xdb, 0xc8, 0x28, - 0xda, 0xe5, 0x5f, 0xc8, 0x8c, 0x26, 0xc7, 0xfc, 0xee, 0xef, 0x38, 0x06, 0xc7, 0x0d, 0x1d, 0x0e, - 0xc1, 0x20, 0x8a, 0x83, 0xd9, 0xd5, 0x22, 0x9a, 0xc7, 0xe9, 0xc5, 0x7c, 0x1a, 0xa6, 0x57, 0xf1, - 0xe2, 0x32, 0x0c, 0xa2, 0x97, 0x51, 0x38, 0x75, 0xee, 0x41, 0x07, 0x3c, 0x30, 0xfa, 0x34, 0x4c, - 0xe7, 0xf1, 0xec, 0xad, 0x63, 0xc1, 0x2e, 0xb8, 0x1f, 0xbe, 0x31, 0x15, 0xc7, 0x3e, 0x6f, 0x77, - 0xda, 0xce, 0xc1, 0x79, 0xbb, 0x73, 0xe0, 0x1c, 0xbe, 0xf8, 0x6e, 0x81, 0x31, 0x91, 0xeb, 0x7f, - 0x6c, 0x72, 0x69, 0xbd, 0x9b, 0xd5, 0x04, 0x93, 0x39, 0x16, 0x0c, 0xc9, 0x92, 0xb9, 0x8c, 0x0a, - 0x73, 0x3e, 0x6e, 0x25, 0xe1, 0x82, 0xab, 0x3f, 0xdd, 0xee, 0xb3, 0x66, 0xe5, 0xab, 0x3d, 0x7c, - 0x55, 0xc5, 0x05, 0xa6, 0xe1, 0xa2, 0x56, 0x83, 0xaa, 0xe1, 0xd2, 0xfb, 0xb6, 0x03, 0x56, 0x06, - 0x58, 0x35, 0x81, 0xd5, 0xd2, 0xfb, 0x61, 0x3f, 0xae, 0x00, 0xdf, 0x37, 0x84, 0xef, 0x37, 0x11, - 0xdf, 0x5f, 0x7a, 0xd7, 0x87, 0x66, 0xbc, 0x27, 0xbf, 0x02, 0x00, 0x00, 0xff, 0xff, 0x8a, 0x57, - 0x11, 0xc7, 0x59, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1/run_asset_discovery_response.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1/run_asset_discovery_response.pb.go deleted file mode 100644 index 1a36a613..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1/run_asset_discovery_response.pb.go +++ /dev/null @@ -1,150 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/securitycenter/v1/run_asset_discovery_response.proto - -package securitycenter - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - _ "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The state of an asset discovery run. -type RunAssetDiscoveryResponse_State int32 - -const ( - // Asset discovery run state was unspecified. - RunAssetDiscoveryResponse_STATE_UNSPECIFIED RunAssetDiscoveryResponse_State = 0 - // Asset discovery run completed successfully. - RunAssetDiscoveryResponse_COMPLETED RunAssetDiscoveryResponse_State = 1 - // Asset discovery run was cancelled with tasks still pending, as another - // run for the same organization was started with a higher priority. - RunAssetDiscoveryResponse_SUPERSEDED RunAssetDiscoveryResponse_State = 2 - // Asset discovery run was killed and terminated. - RunAssetDiscoveryResponse_TERMINATED RunAssetDiscoveryResponse_State = 3 -) - -var RunAssetDiscoveryResponse_State_name = map[int32]string{ - 0: "STATE_UNSPECIFIED", - 1: "COMPLETED", - 2: "SUPERSEDED", - 3: "TERMINATED", -} - -var RunAssetDiscoveryResponse_State_value = map[string]int32{ - "STATE_UNSPECIFIED": 0, - "COMPLETED": 1, - "SUPERSEDED": 2, - "TERMINATED": 3, -} - -func (x RunAssetDiscoveryResponse_State) String() string { - return proto.EnumName(RunAssetDiscoveryResponse_State_name, int32(x)) -} - -func (RunAssetDiscoveryResponse_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_421ea6ed240ae1f7, []int{0, 0} -} - -// Response of asset discovery run -type RunAssetDiscoveryResponse struct { - // The state of an asset discovery run. - State RunAssetDiscoveryResponse_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.securitycenter.v1.RunAssetDiscoveryResponse_State" json:"state,omitempty"` - // The duration between asset discovery run start and end - Duration *duration.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RunAssetDiscoveryResponse) Reset() { *m = RunAssetDiscoveryResponse{} } -func (m *RunAssetDiscoveryResponse) String() string { return proto.CompactTextString(m) } -func (*RunAssetDiscoveryResponse) ProtoMessage() {} -func (*RunAssetDiscoveryResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_421ea6ed240ae1f7, []int{0} -} - -func (m *RunAssetDiscoveryResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RunAssetDiscoveryResponse.Unmarshal(m, b) -} -func (m *RunAssetDiscoveryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RunAssetDiscoveryResponse.Marshal(b, m, deterministic) -} -func (m *RunAssetDiscoveryResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RunAssetDiscoveryResponse.Merge(m, src) -} -func (m *RunAssetDiscoveryResponse) XXX_Size() int { - return xxx_messageInfo_RunAssetDiscoveryResponse.Size(m) -} -func (m *RunAssetDiscoveryResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RunAssetDiscoveryResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_RunAssetDiscoveryResponse proto.InternalMessageInfo - -func (m *RunAssetDiscoveryResponse) GetState() RunAssetDiscoveryResponse_State { - if m != nil { - return m.State - } - return RunAssetDiscoveryResponse_STATE_UNSPECIFIED -} - -func (m *RunAssetDiscoveryResponse) GetDuration() *duration.Duration { - if m != nil { - return m.Duration - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.securitycenter.v1.RunAssetDiscoveryResponse_State", RunAssetDiscoveryResponse_State_name, RunAssetDiscoveryResponse_State_value) - proto.RegisterType((*RunAssetDiscoveryResponse)(nil), "google.cloud.securitycenter.v1.RunAssetDiscoveryResponse") -} - -func init() { - proto.RegisterFile("google/cloud/securitycenter/v1/run_asset_discovery_response.proto", fileDescriptor_421ea6ed240ae1f7) -} - -var fileDescriptor_421ea6ed240ae1f7 = []byte{ - // 385 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xd1, 0xca, 0xd3, 0x30, - 0x18, 0x86, 0x6d, 0xe5, 0x17, 0x8d, 0xf8, 0x33, 0x0b, 0xc2, 0x36, 0x64, 0xce, 0x1d, 0xed, 0x28, - 0xa1, 0x13, 0x4f, 0xea, 0x81, 0xd4, 0x36, 0xca, 0x60, 0x9b, 0xa5, 0xed, 0x76, 0x20, 0x83, 0x92, - 0x75, 0xb1, 0x14, 0xb6, 0xa4, 0x24, 0xe9, 0x60, 0xb7, 0xe4, 0xa5, 0x78, 0x09, 0x5e, 0x82, 0x57, - 0xe0, 0xa1, 0x34, 0x69, 0x85, 0x0a, 0xd3, 0xc3, 0xf6, 0x7d, 0xbe, 0xe7, 0x7b, 0x3f, 0x08, 0xf0, - 0x0b, 0xce, 0x8b, 0x13, 0x45, 0xf9, 0x89, 0xd7, 0x47, 0x24, 0x69, 0x5e, 0x8b, 0x52, 0x5d, 0x73, - 0xca, 0x14, 0x15, 0xe8, 0xe2, 0x22, 0x51, 0xb3, 0x8c, 0x48, 0x49, 0x55, 0x76, 0x2c, 0x65, 0xce, - 0x2f, 0x54, 0x5c, 0x33, 0x41, 0x65, 0xc5, 0x99, 0xa4, 0xb0, 0x12, 0x5c, 0x71, 0x67, 0x62, 0x14, - 0x50, 0x2b, 0x60, 0x5f, 0x01, 0x2f, 0xee, 0xb8, 0xcd, 0x91, 0xa6, 0x0f, 0xf5, 0x57, 0x74, 0xac, - 0x05, 0x51, 0x25, 0x67, 0x66, 0x7e, 0xfc, 0xea, 0xef, 0x5c, 0x95, 0x67, 0x2a, 0x15, 0x39, 0x57, - 0x2d, 0xf0, 0xb2, 0x05, 0x48, 0x55, 0x22, 0xc2, 0x18, 0x57, 0x7a, 0x5a, 0x9a, 0x74, 0xf6, 0xcb, - 0x02, 0xa3, 0xb8, 0x66, 0x7e, 0x53, 0x32, 0xec, 0x3a, 0xc6, 0x6d, 0x45, 0x67, 0x0b, 0xee, 0xa4, - 0x22, 0x8a, 0x0e, 0xad, 0xa9, 0x35, 0xbf, 0x5f, 0xbc, 0x87, 0xff, 0x2e, 0x0b, 0x6f, 0x9a, 0x60, - 0xd2, 0x68, 0x62, 0x63, 0x73, 0xde, 0x82, 0xc7, 0xdd, 0x15, 0x43, 0x7b, 0x6a, 0xcd, 0x9f, 0x2e, - 0x46, 0x9d, 0xb9, 0x3b, 0x03, 0x86, 0x2d, 0x10, 0xff, 0x41, 0x67, 0x6b, 0x70, 0xa7, 0x35, 0xce, - 0x0b, 0xf0, 0x3c, 0x49, 0xfd, 0x14, 0x67, 0xdb, 0x4d, 0x12, 0xe1, 0x60, 0xf9, 0x71, 0x89, 0xc3, - 0xc1, 0x03, 0xe7, 0x19, 0x78, 0x12, 0x7c, 0x5e, 0x47, 0x2b, 0x9c, 0xe2, 0x70, 0x60, 0x39, 0xf7, - 0x00, 0x24, 0xdb, 0x08, 0xc7, 0x09, 0x0e, 0x71, 0x38, 0xb0, 0x9b, 0xef, 0x14, 0xc7, 0xeb, 0xe5, - 0xc6, 0x6f, 0xf2, 0x87, 0x1f, 0x7e, 0x58, 0x60, 0x96, 0xf3, 0xf3, 0x7f, 0x6e, 0x8a, 0xac, 0x2f, - 0xab, 0x96, 0x28, 0xf8, 0x89, 0xb0, 0x02, 0x72, 0x51, 0xa0, 0x82, 0x32, 0xdd, 0x14, 0x99, 0x88, - 0x54, 0xa5, 0xbc, 0xf5, 0x08, 0xde, 0xf5, 0xff, 0x7c, 0xb3, 0x27, 0x9f, 0x8c, 0x2e, 0xd0, 0x0b, - 0x93, 0x36, 0x0d, 0xcc, 0xc2, 0x9d, 0xfb, 0xbd, 0x03, 0xf6, 0x1a, 0xd8, 0xf7, 0x81, 0xfd, 0xce, - 0xfd, 0x69, 0xbf, 0x36, 0x80, 0xe7, 0x69, 0xc2, 0xf3, 0xfa, 0x88, 0xe7, 0xed, 0xdc, 0xc3, 0x23, - 0x5d, 0xef, 0xcd, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x50, 0x42, 0xf9, 0x08, 0xa2, 0x02, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1/security_marks.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1/security_marks.pb.go deleted file mode 100644 index fd3c1462..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1/security_marks.pb.go +++ /dev/null @@ -1,118 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/securitycenter/v1/security_marks.proto - -package securitycenter - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 between 1 - 256 characters (inclusive) - // - Keys must be letters, numbers, underscores, or dashes - // - 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_3bf2c7597a92919b, []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 (m *SecurityMarks) XXX_Merge(src proto.Message) { - xxx_messageInfo_SecurityMarks.Merge(m, 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.v1.SecurityMarks") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.securitycenter.v1.SecurityMarks.MarksEntry") -} - -func init() { - proto.RegisterFile("google/cloud/securitycenter/v1/security_marks.proto", fileDescriptor_3bf2c7597a92919b) -} - -var fileDescriptor_3bf2c7597a92919b = []byte{ - // 295 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, 0xce, 0xc9, 0x2f, 0x4d, 0xd1, 0x2f, 0x4e, 0x4d, 0x2e, 0x2d, 0xca, 0x2c, - 0xa9, 0x4c, 0x4e, 0xcd, 0x2b, 0x49, 0x2d, 0xd2, 0x2f, 0x33, 0x84, 0x8b, 0xc4, 0xe7, 0x26, 0x16, - 0x65, 0x17, 0xeb, 0x15, 0x14, 0xe5, 0x97, 0xe4, 0x0b, 0xc9, 0x41, 0x34, 0xe9, 0x81, 0x35, 0xe9, - 0xa1, 0x6a, 0xd2, 0x2b, 0x33, 0x94, 0x92, 0x81, 0x1a, 0x9a, 0x58, 0x90, 0xa9, 0x9f, 0x98, 0x97, - 0x97, 0x5f, 0x92, 0x58, 0x92, 0x99, 0x9f, 0x07, 0xd5, 0xad, 0xb4, 0x96, 0x91, 0x8b, 0x37, 0x18, - 0xaa, 0xc7, 0x17, 0x64, 0xaa, 0x90, 0x10, 0x17, 0x4b, 0x5e, 0x62, 0x6e, 0xaa, 0x04, 0xa3, 0x02, - 0xa3, 0x06, 0x67, 0x10, 0x98, 0x2d, 0xe4, 0xc7, 0xc5, 0x0a, 0xb6, 0x52, 0x82, 0x49, 0x81, 0x59, - 0x83, 0xdb, 0xc8, 0x42, 0x0f, 0xbf, 0x9d, 0x7a, 0x28, 0x26, 0xea, 0x81, 0x49, 0xd7, 0xbc, 0x92, - 0xa2, 0xca, 0x20, 0x88, 0x31, 0x52, 0x16, 0x5c, 0x5c, 0x08, 0x41, 0x21, 0x01, 0x2e, 0xe6, 0xec, - 0xd4, 0x4a, 0xa8, 0x85, 0x20, 0xa6, 0x90, 0x08, 0x17, 0x6b, 0x59, 0x62, 0x4e, 0x69, 0xaa, 0x04, - 0x13, 0x58, 0x0c, 0xc2, 0xb1, 0x62, 0xb2, 0x60, 0x74, 0xba, 0xc5, 0xc8, 0xa5, 0x94, 0x9c, 0x9f, - 0x4b, 0xc0, 0x01, 0x01, 0x8c, 0x51, 0x3e, 0x50, 0x15, 0xe9, 0xf9, 0x39, 0x89, 0x79, 0xe9, 0x7a, - 0xf9, 0x45, 0xe9, 0xfa, 0xe9, 0xa9, 0x79, 0x60, 0x4f, 0xeb, 0x43, 0xa4, 0x12, 0x0b, 0x32, 0x8b, - 0x71, 0x05, 0xb5, 0x35, 0xaa, 0xc8, 0x2a, 0x26, 0x39, 0x77, 0x88, 0x71, 0xce, 0x60, 0x0b, 0x61, - 0xfe, 0x73, 0x86, 0x58, 0x18, 0x66, 0x78, 0x0a, 0xa6, 0x20, 0x06, 0xac, 0x20, 0x06, 0x55, 0x41, - 0x4c, 0x98, 0xe1, 0x2b, 0x26, 0x45, 0x88, 0x02, 0x2b, 0x2b, 0xb0, 0x0a, 0x2b, 0x2b, 0x54, 0x25, - 0x56, 0x56, 0x61, 0x86, 0x49, 0x6c, 0x60, 0xe7, 0x19, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x57, - 0x70, 0x68, 0x8e, 0x08, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1/securitycenter_service.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1/securitycenter_service.pb.go deleted file mode 100644 index 41f52117..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1/securitycenter_service.pb.go +++ /dev/null @@ -1,2903 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/securitycenter/v1/securitycenter_service.proto - -package securitycenter - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - _ "github.com/golang/protobuf/ptypes/empty" - _struct "github.com/golang/protobuf/ptypes/struct" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - v1 "google.golang.org/genproto/googleapis/iam/v1" - longrunning "google.golang.org/genproto/googleapis/longrunning" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The change in 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 change -// will be: UNUSED -type ListAssetsResponse_ListAssetsResult_StateChange int32 - -const ( - // State change is unused, this is the canonical default for this enum. - ListAssetsResponse_ListAssetsResult_UNUSED ListAssetsResponse_ListAssetsResult_StateChange = 0 - // Asset was added between the points in time. - ListAssetsResponse_ListAssetsResult_ADDED ListAssetsResponse_ListAssetsResult_StateChange = 1 - // Asset was removed between the points in time. - ListAssetsResponse_ListAssetsResult_REMOVED ListAssetsResponse_ListAssetsResult_StateChange = 2 - // Asset was present at both point(s) in time. - ListAssetsResponse_ListAssetsResult_ACTIVE ListAssetsResponse_ListAssetsResult_StateChange = 3 -) - -var ListAssetsResponse_ListAssetsResult_StateChange_name = map[int32]string{ - 0: "UNUSED", - 1: "ADDED", - 2: "REMOVED", - 3: "ACTIVE", -} - -var ListAssetsResponse_ListAssetsResult_StateChange_value = map[string]int32{ - "UNUSED": 0, - "ADDED": 1, - "REMOVED": 2, - "ACTIVE": 3, -} - -func (x ListAssetsResponse_ListAssetsResult_StateChange) String() string { - return proto.EnumName(ListAssetsResponse_ListAssetsResult_StateChange_name, int32(x)) -} - -func (ListAssetsResponse_ListAssetsResult_StateChange) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dd84f222a6a48f30, []int{12, 0, 0} -} - -// The change in state of the finding. -// -// When querying across two points in time this describes -// the change in the finding between the two points: CHANGED, UNCHANGED, -// ADDED, or REMOVED. Findings can not be deleted, so REMOVED implies that -// the finding at timestamp does not match the filter specified, but it did -// at timestamp - compare_duration. If there was no compare_duration -// supplied in the request the state change will be: UNUSED -type ListFindingsResponse_ListFindingsResult_StateChange int32 - -const ( - // State change is unused, this is the canonical default for this enum. - ListFindingsResponse_ListFindingsResult_UNUSED ListFindingsResponse_ListFindingsResult_StateChange = 0 - // The finding has changed state in some way between the points in time - // and existed at both points. - ListFindingsResponse_ListFindingsResult_CHANGED ListFindingsResponse_ListFindingsResult_StateChange = 1 - // The finding has not changed state between the points in time and - // existed at both points. - ListFindingsResponse_ListFindingsResult_UNCHANGED ListFindingsResponse_ListFindingsResult_StateChange = 2 - // The finding was created between the points in time. - ListFindingsResponse_ListFindingsResult_ADDED ListFindingsResponse_ListFindingsResult_StateChange = 3 - // The finding at timestamp does not match the filter specified, but it - // did at timestamp - compare_duration. - ListFindingsResponse_ListFindingsResult_REMOVED ListFindingsResponse_ListFindingsResult_StateChange = 4 -) - -var ListFindingsResponse_ListFindingsResult_StateChange_name = map[int32]string{ - 0: "UNUSED", - 1: "CHANGED", - 2: "UNCHANGED", - 3: "ADDED", - 4: "REMOVED", -} - -var ListFindingsResponse_ListFindingsResult_StateChange_value = map[string]int32{ - "UNUSED": 0, - "CHANGED": 1, - "UNCHANGED": 2, - "ADDED": 3, - "REMOVED": 4, -} - -func (x ListFindingsResponse_ListFindingsResult_StateChange) String() string { - return proto.EnumName(ListFindingsResponse_ListFindingsResult_StateChange_name, int32(x)) -} - -func (ListFindingsResponse_ListFindingsResult_StateChange) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dd84f222a6a48f30, []int{14, 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_dd84f222a6a48f30, []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 (m *CreateFindingRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateFindingRequest.Merge(m, 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_dd84f222a6a48f30, []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 (m *CreateSourceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateSourceRequest.Merge(m, 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_dd84f222a6a48f30, []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 (m *GetOrganizationSettingsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetOrganizationSettingsRequest.Merge(m, 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_dd84f222a6a48f30, []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 (m *GetSourceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetSourceRequest.Merge(m, 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 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. - // - // The following field and operator combinations are supported: - // name | '=' - // update_time | '=', '>', '<', '>=', '<=' - // - // Usage: This should be milliseconds since epoch or an RFC3339 string. - // Examples: - // "update_time = \"2019-06-10T16:07:18-07:00\"" - // "update_time = 1560208038000" - // - // create_time | '=', '>', '<', '>=', '<=' - // - // Usage: This should be milliseconds since epoch or an RFC3339 string. - // Examples: - // "create_time = \"2019-06-10T16:07:18-07:00\"" - // "create_time = 1560208038000" - // - // iam_policy.policy_blob | '=', ':' - // resource_properties | '=', ':', '>', '<', '>=', '<=' - // security_marks | '=', ':' - // security_center_properties.resource_name | '=', ':' - // security_center_properties.resource_type | '=', ':' - // security_center_properties.resource_parent | '=', ':' - // security_center_properties.resource_project | '=', ':' - // security_center_properties.resource_owners | '=', ':' - // - // 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 GroupResult's "state_change" 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 change 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_change" values when compare_duration is specified: - // - // * "ADDED": indicates that the asset was not present at the start of - // 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. - // - // If compare_duration is not specified, then the only possible state_change - // is "UNUSED", which will be the state_change set for all assets present at - // read_time. - // - // If this field is set then `state_change` must be a specified 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_dd84f222a6a48f30, []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 (m *GroupAssetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GroupAssetsRequest.Merge(m, 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"` - // The total number of results 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 *GroupAssetsResponse) Reset() { *m = GroupAssetsResponse{} } -func (m *GroupAssetsResponse) String() string { return proto.CompactTextString(m) } -func (*GroupAssetsResponse) ProtoMessage() {} -func (*GroupAssetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dd84f222a6a48f30, []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 (m *GroupAssetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GroupAssetsResponse.Merge(m, 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 "" -} - -func (m *GroupAssetsResponse) GetTotalSize() int32 { - if m != nil { - return m.TotalSize - } - return 0 -} - -// 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 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. - // - // The following field and operator combinations are supported: - // name | `=` - // parent | '=', ':' - // resource_name | '=', ':' - // state | '=', ':' - // category | '=', ':' - // external_uri | '=', ':' - // event_time | `=`, `>`, `<`, `>=`, `<=` - // - // Usage: This should be milliseconds since epoch or an RFC3339 string. - // Examples: - // "event_time = \"2019-06-10T16:07:18-07:00\"" - // "event_time = 1560208038000" - // - // security_marks | '=', ':' - // source_properties | '=', ':', `>`, `<`, `>=`, `<=` - // - // 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_change`). 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 - // - // The following fields are supported when compare_duration is set: - // - // * state_change - 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"` - // When compare_duration is set, the GroupResult's "state_change" attribute is - // updated to indicate whether the finding had its state changed, the - // finding's state remained unchanged, or if the finding was added 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_change value is derived based on the presence and state of the - // finding 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 finding is made inactive and then active again. - // - // Possible "state_change" values when compare_duration is specified: - // - // * "CHANGED": indicates that the finding was present at the start of - // compare_duration, but changed its state at read_time. - // * "UNCHANGED": indicates that the finding was present at the start of - // compare_duration and did not change state at read_time. - // * "ADDED": indicates that the finding was not present at the start - // of compare_duration, but was present at read_time. - // - // If compare_duration is not specified, then the only possible state_change - // is "UNUSED", which will be the state_change set for all findings present - // at read_time. - // - // If this field is set then `state_change` must be a specified field in - // `group_by`. - CompareDuration *duration.Duration `protobuf:"bytes,5,opt,name=compare_duration,json=compareDuration,proto3" json:"compare_duration,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,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 *GroupFindingsRequest) Reset() { *m = GroupFindingsRequest{} } -func (m *GroupFindingsRequest) String() string { return proto.CompactTextString(m) } -func (*GroupFindingsRequest) ProtoMessage() {} -func (*GroupFindingsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dd84f222a6a48f30, []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 (m *GroupFindingsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GroupFindingsRequest.Merge(m, 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) GetCompareDuration() *duration.Duration { - if m != nil { - return m.CompareDuration - } - 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"` - // The total number of results 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 *GroupFindingsResponse) Reset() { *m = GroupFindingsResponse{} } -func (m *GroupFindingsResponse) String() string { return proto.CompactTextString(m) } -func (*GroupFindingsResponse) ProtoMessage() {} -func (*GroupFindingsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dd84f222a6a48f30, []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 (m *GroupFindingsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GroupFindingsResponse.Merge(m, 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 "" -} - -func (m *GroupFindingsResponse) GetTotalSize() int32 { - if m != nil { - return m.TotalSize - } - return 0 -} - -// 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_dd84f222a6a48f30, []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 (m *GroupResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_GroupResult.Merge(m, 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_dd84f222a6a48f30, []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 (m *ListSourcesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSourcesRequest.Merge(m, 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_dd84f222a6a48f30, []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 (m *ListSourcesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSourcesResponse.Merge(m, 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 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. - // - // The following are the allowed field and operator combinations: - // name | `=` - // update_time | `=`, `>`, `<`, `>=`, `<=` - // - // Usage: This should be milliseconds since epoch or an RFC3339 string. - // Examples: - // "update_time = \"2019-06-10T16:07:18-07:00\"" - // "update_time = 1560208038000" - // - // create_time | `=`, `>`, `<`, `>=`, `<=` - // - // Usage: This should be milliseconds since epoch or an RFC3339 string. - // Examples: - // "create_time = \"2019-06-10T16:07:18-07:00\"" - // "create_time = 1560208038000" - // - // iam_policy.policy_blob | '=', ':' - // resource_properties | '=', ':', `>`, `<`, `>=`, `<=` - // security_marks | '=', ':' - // security_center_properties.resource_name | '=', ':' - // security_center_properties.resource_type | '=', ':' - // security_center_properties.resource_parent | '=', ':' - // security_center_properties.resource_project | '=', ':' - // security_center_properties.resource_owners | '=', ':' - // - // 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. - // - // The following fields are supported: - // name - // update_time - // resource_properties - // security_marks - // security_center_properties.resource_name - // security_center_properties.resource_parent - // security_center_properties.resource_project - // security_center_properties.resource_type - 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 ListAssetsResult's "state_change" - // 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_change 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_change" values when compare_duration is specified: - // - // * "ADDED": indicates that the asset was not present at the start of - // 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_change - // is "UNUSED", which will be the state_change set for all assets 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_dd84f222a6a48f30, []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 (m *ListAssetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAssetsRequest.Merge(m, 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_dd84f222a6a48f30, []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 (m *ListAssetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAssetsResponse.Merge(m, 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 change of the asset between the points in time. - StateChange ListAssetsResponse_ListAssetsResult_StateChange `protobuf:"varint,2,opt,name=state_change,json=stateChange,proto3,enum=google.cloud.securitycenter.v1.ListAssetsResponse_ListAssetsResult_StateChange" json:"state_change,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_dd84f222a6a48f30, []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 (m *ListAssetsResponse_ListAssetsResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAssetsResponse_ListAssetsResult.Merge(m, 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) GetStateChange() ListAssetsResponse_ListAssetsResult_StateChange { - if m != nil { - return m.StateChange - } - return ListAssetsResponse_ListAssetsResult_UNUSED -} - -// 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 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. - // - // The following field and operator combinations are supported: - // name | `=` - // parent | '=', ':' - // resource_name | '=', ':' - // state | '=', ':' - // category | '=', ':' - // external_uri | '=', ':' - // event_time | `=`, `>`, `<`, `>=`, `<=` - // - // Usage: This should be milliseconds since epoch or an RFC3339 string. - // Examples: - // "event_time = \"2019-06-10T16:07:18-07:00\"" - // "event_time = 1560208038000" - // - // security_marks | '=', ':' - // source_properties | '=', ':', `>`, `<`, `>=`, `<=` - // - // 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. - // - // The following fields are supported: - // name - // parent - // state - // category - // resource_name - // event_time - // source_properties - // security_marks - 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"` - // When compare_duration is set, the ListFindingsResult's "state_change" - // attribute is updated to indicate whether the finding had its state changed, - // the finding's state remained unchanged, or if the finding was added in any - // state 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_change value is derived based on the presence and state of the - // finding 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 finding is made inactive and then active again. - // - // Possible "state_change" values when compare_duration is specified: - // - // * "CHANGED": indicates that the finding was present at the start of - // compare_duration, but changed its state at read_time. - // * "UNCHANGED": indicates that the finding was present at the start of - // compare_duration and did not change state at read_time. - // * "ADDED": indicates that the finding was not present at the start - // of compare_duration, but was present at read_time. - // - // If compare_duration is not specified, then the only possible state_change - // is "UNUSED", which will be the state_change set for all findings 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 Finding 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 `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,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 *ListFindingsRequest) Reset() { *m = ListFindingsRequest{} } -func (m *ListFindingsRequest) String() string { return proto.CompactTextString(m) } -func (*ListFindingsRequest) ProtoMessage() {} -func (*ListFindingsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dd84f222a6a48f30, []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 (m *ListFindingsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFindingsRequest.Merge(m, 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) GetCompareDuration() *duration.Duration { - if m != nil { - return m.CompareDuration - } - 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. - ListFindingsResults []*ListFindingsResponse_ListFindingsResult `protobuf:"bytes,1,rep,name=list_findings_results,json=listFindingsResults,proto3" json:"list_findings_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 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_dd84f222a6a48f30, []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 (m *ListFindingsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFindingsResponse.Merge(m, 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) GetListFindingsResults() []*ListFindingsResponse_ListFindingsResult { - if m != nil { - return m.ListFindingsResults - } - 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 -} - -// Result containing the Finding and its StateChange. -type ListFindingsResponse_ListFindingsResult struct { - // Finding matching the search request. - Finding *Finding `protobuf:"bytes,1,opt,name=finding,proto3" json:"finding,omitempty"` - // State change of the finding between the points in time. - StateChange ListFindingsResponse_ListFindingsResult_StateChange `protobuf:"varint,2,opt,name=state_change,json=stateChange,proto3,enum=google.cloud.securitycenter.v1.ListFindingsResponse_ListFindingsResult_StateChange" json:"state_change,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListFindingsResponse_ListFindingsResult) Reset() { - *m = ListFindingsResponse_ListFindingsResult{} -} -func (m *ListFindingsResponse_ListFindingsResult) String() string { return proto.CompactTextString(m) } -func (*ListFindingsResponse_ListFindingsResult) ProtoMessage() {} -func (*ListFindingsResponse_ListFindingsResult) Descriptor() ([]byte, []int) { - return fileDescriptor_dd84f222a6a48f30, []int{14, 0} -} - -func (m *ListFindingsResponse_ListFindingsResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListFindingsResponse_ListFindingsResult.Unmarshal(m, b) -} -func (m *ListFindingsResponse_ListFindingsResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListFindingsResponse_ListFindingsResult.Marshal(b, m, deterministic) -} -func (m *ListFindingsResponse_ListFindingsResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFindingsResponse_ListFindingsResult.Merge(m, src) -} -func (m *ListFindingsResponse_ListFindingsResult) XXX_Size() int { - return xxx_messageInfo_ListFindingsResponse_ListFindingsResult.Size(m) -} -func (m *ListFindingsResponse_ListFindingsResult) XXX_DiscardUnknown() { - xxx_messageInfo_ListFindingsResponse_ListFindingsResult.DiscardUnknown(m) -} - -var xxx_messageInfo_ListFindingsResponse_ListFindingsResult proto.InternalMessageInfo - -func (m *ListFindingsResponse_ListFindingsResult) GetFinding() *Finding { - if m != nil { - return m.Finding - } - return nil -} - -func (m *ListFindingsResponse_ListFindingsResult) GetStateChange() ListFindingsResponse_ListFindingsResult_StateChange { - if m != nil { - return m.StateChange - } - return ListFindingsResponse_ListFindingsResult_UNUSED -} - -// 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.v1.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_dd84f222a6a48f30, []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 (m *SetFindingStateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetFindingStateRequest.Merge(m, 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_dd84f222a6a48f30, []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 (m *RunAssetDiscoveryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RunAssetDiscoveryRequest.Merge(m, 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 be - // 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 should - // not be specified when creating a finding. - // - // When updating a finding, an empty mask is treated as updating all mutable - // fields and replacing source_properties. Individual source_properties can - // be added/updated by using "source_properties." in the field - // mask. - 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_dd84f222a6a48f30, []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 (m *UpdateFindingRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateFindingRequest.Merge(m, 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. - // - // If empty all mutable 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 *UpdateOrganizationSettingsRequest) Reset() { *m = UpdateOrganizationSettingsRequest{} } -func (m *UpdateOrganizationSettingsRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateOrganizationSettingsRequest) ProtoMessage() {} -func (*UpdateOrganizationSettingsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dd84f222a6a48f30, []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 (m *UpdateOrganizationSettingsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateOrganizationSettingsRequest.Merge(m, 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. - // - // If empty all mutable 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 *UpdateSourceRequest) Reset() { *m = UpdateSourceRequest{} } -func (m *UpdateSourceRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateSourceRequest) ProtoMessage() {} -func (*UpdateSourceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dd84f222a6a48f30, []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 (m *UpdateSourceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateSourceRequest.Merge(m, 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. - // - // The field mask must not contain duplicate fields. - // If empty or set to "marks", all marks will be replaced. Individual - // marks can be updated using "marks.". - 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. - // If not set uses current server time. Updates will be applied to the - // SecurityMarks that are active immediately preceding this time. - 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_dd84f222a6a48f30, []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 (m *UpdateSecurityMarksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateSecurityMarksRequest.Merge(m, 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.RegisterEnum("google.cloud.securitycenter.v1.ListAssetsResponse_ListAssetsResult_StateChange", ListAssetsResponse_ListAssetsResult_StateChange_name, ListAssetsResponse_ListAssetsResult_StateChange_value) - proto.RegisterEnum("google.cloud.securitycenter.v1.ListFindingsResponse_ListFindingsResult_StateChange", ListFindingsResponse_ListFindingsResult_StateChange_name, ListFindingsResponse_ListFindingsResult_StateChange_value) - proto.RegisterType((*CreateFindingRequest)(nil), "google.cloud.securitycenter.v1.CreateFindingRequest") - proto.RegisterType((*CreateSourceRequest)(nil), "google.cloud.securitycenter.v1.CreateSourceRequest") - proto.RegisterType((*GetOrganizationSettingsRequest)(nil), "google.cloud.securitycenter.v1.GetOrganizationSettingsRequest") - proto.RegisterType((*GetSourceRequest)(nil), "google.cloud.securitycenter.v1.GetSourceRequest") - proto.RegisterType((*GroupAssetsRequest)(nil), "google.cloud.securitycenter.v1.GroupAssetsRequest") - proto.RegisterType((*GroupAssetsResponse)(nil), "google.cloud.securitycenter.v1.GroupAssetsResponse") - proto.RegisterType((*GroupFindingsRequest)(nil), "google.cloud.securitycenter.v1.GroupFindingsRequest") - proto.RegisterType((*GroupFindingsResponse)(nil), "google.cloud.securitycenter.v1.GroupFindingsResponse") - proto.RegisterType((*GroupResult)(nil), "google.cloud.securitycenter.v1.GroupResult") - proto.RegisterMapType((map[string]*_struct.Value)(nil), "google.cloud.securitycenter.v1.GroupResult.PropertiesEntry") - proto.RegisterType((*ListSourcesRequest)(nil), "google.cloud.securitycenter.v1.ListSourcesRequest") - proto.RegisterType((*ListSourcesResponse)(nil), "google.cloud.securitycenter.v1.ListSourcesResponse") - proto.RegisterType((*ListAssetsRequest)(nil), "google.cloud.securitycenter.v1.ListAssetsRequest") - proto.RegisterType((*ListAssetsResponse)(nil), "google.cloud.securitycenter.v1.ListAssetsResponse") - proto.RegisterType((*ListAssetsResponse_ListAssetsResult)(nil), "google.cloud.securitycenter.v1.ListAssetsResponse.ListAssetsResult") - proto.RegisterType((*ListFindingsRequest)(nil), "google.cloud.securitycenter.v1.ListFindingsRequest") - proto.RegisterType((*ListFindingsResponse)(nil), "google.cloud.securitycenter.v1.ListFindingsResponse") - proto.RegisterType((*ListFindingsResponse_ListFindingsResult)(nil), "google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult") - proto.RegisterType((*SetFindingStateRequest)(nil), "google.cloud.securitycenter.v1.SetFindingStateRequest") - proto.RegisterType((*RunAssetDiscoveryRequest)(nil), "google.cloud.securitycenter.v1.RunAssetDiscoveryRequest") - proto.RegisterType((*UpdateFindingRequest)(nil), "google.cloud.securitycenter.v1.UpdateFindingRequest") - proto.RegisterType((*UpdateOrganizationSettingsRequest)(nil), "google.cloud.securitycenter.v1.UpdateOrganizationSettingsRequest") - proto.RegisterType((*UpdateSourceRequest)(nil), "google.cloud.securitycenter.v1.UpdateSourceRequest") - proto.RegisterType((*UpdateSecurityMarksRequest)(nil), "google.cloud.securitycenter.v1.UpdateSecurityMarksRequest") -} - -func init() { - proto.RegisterFile("google/cloud/securitycenter/v1/securitycenter_service.proto", fileDescriptor_dd84f222a6a48f30) -} - -var fileDescriptor_dd84f222a6a48f30 = []byte{ - // 2005 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5a, 0xcd, 0x6f, 0x1b, 0xc7, - 0x15, 0xef, 0xac, 0x3e, 0xf9, 0x68, 0xd9, 0xf4, 0x48, 0x76, 0x99, 0x4d, 0xec, 0x2a, 0x9b, 0xc4, - 0x55, 0x6c,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x3b, 0x6b, 0xf7, 0x37, 0x45, 0x1c, 0xce, 0x41, 0x6e, 0xfb, 0xbe, 0x1e, - 0x1a, 0x07, 0x11, 0x3a, 0x11, 0x8e, 0xd0, 0x49, 0xeb, 0x53, 0x04, 0x67, 0xeb, 0x44, 0xef, 0x2e, - 0x24, 0x8f, 0xe8, 0x8f, 0x70, 0x15, 0xa6, 0x04, 0x18, 0xa5, 0xee, 0x37, 0x32, 0x9a, 0x4d, 0xaa, - 0x53, 0x93, 0xbc, 0x3c, 0x4e, 0x28, 0x73, 0x02, 0x26, 0xbd, 0x62, 0x22, 0xd5, 0x2b, 0x72, 0x82, - 0x9a, 0x8f, 0xad, 0x0a, 0x14, 0x6b, 0x7d, 0x4f, 0xe4, 0xab, 0x75, 0xfd, 0x08, 0x91, 0x92, 0x48, - 0xac, 0x1f, 0x23, 0x58, 0xd8, 0xee, 0xb5, 0x86, 0x7b, 0xe6, 0x63, 0xf0, 0x82, 0x55, 0xc8, 0xf7, - 0x85, 0x68, 0x19, 0xf3, 0x46, 0x6a, 0xcc, 0x83, 0x24, 0xe7, 0xbf, 0xad, 0xbf, 0x22, 0x78, 0x55, - 0x02, 0x1b, 0xd5, 0xce, 0xba, 0x70, 0x26, 0xf1, 0xd5, 0x46, 0x61, 0xbe, 0x92, 0x86, 0x39, 0x51, - 0xf6, 0x82, 0x9f, 0x30, 0x7b, 0x34, 0x6d, 0x7e, 0x84, 0x60, 0x5e, 0x6a, 0x13, 0x6d, 0xb3, 0x0f, - 0x1a, 0x7e, 0xf4, 0x3c, 0x0d, 0xff, 0xd1, 0x40, 0x7d, 0x81, 0xc0, 0x54, 0xa0, 0xd4, 0x3e, 0xf7, - 0x9c, 0x60, 0x77, 0x60, 0xdb, 0x2d, 0x38, 0x19, 0x7d, 0x92, 0x52, 0x18, 0x53, 0xfd, 0x3a, 0x2a, - 0x6d, 0x8e, 0x86, 0x87, 0x47, 0x42, 0x7c, 0x84, 0xe0, 0xa8, 0x7c, 0x64, 0xc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0x41, 0x57, 0x15, 0xe9, - 0x31, 0xec, 0x8c, 0x88, 0x13, 0xba, 0x1e, 0x73, 0xbc, 0xee, 0xc6, 0xfa, 0x03, 0x12, 0x0a, 0x7c, - 0x86, 0x2a, 0x37, 0xa5, 0x06, 0xd1, 0x8f, 0xf8, 0x89, 0x9a, 0xc8, 0x6c, 0xc9, 0x55, 0x0a, 0x8b, - 0x7a, 0x66, 0xc7, 0xda, 0xad, 0x77, 0xdf, 0xab, 0xdc, 0xcd, 0x2c, 0x33, 0xc9, 0xa5, 0x53, 0xe4, - 0xdf, 0xfa, 0x1c, 0x81, 0xd5, 0xf4, 0xbb, 0x29, 0x0a, 0x3f, 0x44, 0xef, 0xde, 0x55, 0x14, 0x6d, - 0xbf, 0xe3, 0x78, 0xed, 0x92, 0x1f, 0xb4, 0xcb, 0x6d, 0xe2, 0x89, 0x7e, 0xab, 0x2c, 0x97, 0x9c, - 0x9e, 0x4b, 0x0f, 0xfb, 0x8f, 0xc2, 0x6a, 0x74, 0xe6, 0x57, 0xc6, 0xf9, 0x4d, 0x29, 0xae, 0x2a, - 0x36, 0x8c, 0x36, 0x65, 0xa5, 0x9d, 0xe5, 0xbf, 0x68, 0x82, 0x47, 0x82, 0xe0, 0x51, 0x94, 0xe0, - 0xd1, 0xce, 0xf2, 0x17, 0xc6, 0xab, 0x92, 0xc0, 0xb6, 0x05, 0x85, 0x6d, 0x47, 0x49, 0x6c, 0x7b, - 0x67, 0xf9, 0xf1, 0xb4, 0x80, 0xb7, 0xf2, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x05, 0xb8, 0xc5, - 0xb9, 0xca, 0x22, 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 - -// 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: /v1/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: /v1/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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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: /v1/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: /v1/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) -} - -// UnimplementedSecurityCenterServer can be embedded to have forward compatible implementations. -type UnimplementedSecurityCenterServer struct { -} - -func (*UnimplementedSecurityCenterServer) CreateSource(ctx context.Context, req *CreateSourceRequest) (*Source, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateSource not implemented") -} -func (*UnimplementedSecurityCenterServer) CreateFinding(ctx context.Context, req *CreateFindingRequest) (*Finding, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateFinding not implemented") -} -func (*UnimplementedSecurityCenterServer) GetIamPolicy(ctx context.Context, req *v1.GetIamPolicyRequest) (*v1.Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedSecurityCenterServer) GetOrganizationSettings(ctx context.Context, req *GetOrganizationSettingsRequest) (*OrganizationSettings, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetOrganizationSettings not implemented") -} -func (*UnimplementedSecurityCenterServer) GetSource(ctx context.Context, req *GetSourceRequest) (*Source, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetSource not implemented") -} -func (*UnimplementedSecurityCenterServer) GroupAssets(ctx context.Context, req *GroupAssetsRequest) (*GroupAssetsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GroupAssets not implemented") -} -func (*UnimplementedSecurityCenterServer) GroupFindings(ctx context.Context, req *GroupFindingsRequest) (*GroupFindingsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GroupFindings not implemented") -} -func (*UnimplementedSecurityCenterServer) ListAssets(ctx context.Context, req *ListAssetsRequest) (*ListAssetsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListAssets not implemented") -} -func (*UnimplementedSecurityCenterServer) ListFindings(ctx context.Context, req *ListFindingsRequest) (*ListFindingsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListFindings not implemented") -} -func (*UnimplementedSecurityCenterServer) ListSources(ctx context.Context, req *ListSourcesRequest) (*ListSourcesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListSources not implemented") -} -func (*UnimplementedSecurityCenterServer) RunAssetDiscovery(ctx context.Context, req *RunAssetDiscoveryRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method RunAssetDiscovery not implemented") -} -func (*UnimplementedSecurityCenterServer) SetFindingState(ctx context.Context, req *SetFindingStateRequest) (*Finding, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetFindingState not implemented") -} -func (*UnimplementedSecurityCenterServer) SetIamPolicy(ctx context.Context, req *v1.SetIamPolicyRequest) (*v1.Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedSecurityCenterServer) TestIamPermissions(ctx context.Context, req *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} -func (*UnimplementedSecurityCenterServer) UpdateFinding(ctx context.Context, req *UpdateFindingRequest) (*Finding, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateFinding not implemented") -} -func (*UnimplementedSecurityCenterServer) UpdateOrganizationSettings(ctx context.Context, req *UpdateOrganizationSettingsRequest) (*OrganizationSettings, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateOrganizationSettings not implemented") -} -func (*UnimplementedSecurityCenterServer) UpdateSource(ctx context.Context, req *UpdateSourceRequest) (*Source, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateSource not implemented") -} -func (*UnimplementedSecurityCenterServer) UpdateSecurityMarks(ctx context.Context, req *UpdateSecurityMarksRequest) (*SecurityMarks, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateSecurityMarks not implemented") -} - -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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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/v1/securitycenter_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1/source.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1/source.pb.go deleted file mode 100644 index d3c9a65a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1/source.pb.go +++ /dev/null @@ -1,128 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/securitycenter/v1/source.proto - -package securitycenter - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 32 characters. This is captured by the regular expression: - // [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,30}[\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_43f5cbeb6a51b224, []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 (m *Source) XXX_Merge(src proto.Message) { - xxx_messageInfo_Source.Merge(m, 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.v1.Source") -} - -func init() { - proto.RegisterFile("google/cloud/securitycenter/v1/source.proto", fileDescriptor_43f5cbeb6a51b224) -} - -var fileDescriptor_43f5cbeb6a51b224 = []byte{ - // 272 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0xd0, 0x41, 0x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 0x49, 0x68, 0xe8, 0x84, 0xd5, 0x14, 0x9c, 0x66, 0x5a, 0x59, 0xbc, - 0x96, 0xc5, 0x48, 0xf4, 0xc6, 0xff, 0xf6, 0x36, 0xd7, 0xe3, 0xc9, 0x5b, 0x3e, 0xbf, 0x8d, 0x75, - 0x6b, 0x5c, 0xb8, 0x49, 0xe9, 0x3a, 0x2e, 0xac, 0xab, 0xf7, 0x6f, 0xd0, 0x20, 0x68, 0xc6, 0xa0, - 0xa9, 0xab, 0xcf, 0x7c, 0x19, 0x01, 0xe7, 0x28, 0x38, 0x1f, 0x13, 0xce, 0xeb, 0xea, 0x75, 0x82, - 0xe7, 0x5d, 0x7d, 0x05, 0x00, 0x00, 0xff, 0xff, 0xa6, 0x8f, 0xba, 0x1a, 0xb9, 0x01, 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 deleted file mode 100644 index d2f575eb..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/asset.pb.go +++ /dev/null @@ -1,253 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/securitycenter/v1beta1/asset.proto - -package securitycenter - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _struct "github.com/golang/protobuf/ptypes/struct" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // 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_51f3b31ca795196d, []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 (m *Asset) XXX_Merge(src proto.Message) { - xxx_messageInfo_Asset.Merge(m, 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_51f3b31ca795196d, []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 (m *Asset_SecurityCenterProperties) XXX_Merge(src proto.Message) { - xxx_messageInfo_Asset_SecurityCenterProperties.Merge(m, 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_51f3b31ca795196d) -} - -var fileDescriptor_51f3b31ca795196d = []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, 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endor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/finding.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/finding.pb.go deleted file mode 100644 index 6c341f07..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/finding.pb.go +++ /dev/null @@ -1,252 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/securitycenter/v1beta1/finding.proto - -package securitycenter - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _struct "github.com/golang/protobuf/ptypes/struct" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // 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_da6ee7073afacba3, []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 given 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. The key names in the source_properties map must be - // between 1 and 255 characters, and must start with a letter and contain - // alphanumeric characters or underscores only. - 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_da6ee7073afacba3, []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 (m *Finding) XXX_Merge(src proto.Message) { - xxx_messageInfo_Finding.Merge(m, 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.RegisterEnum("google.cloud.securitycenter.v1beta1.Finding_State", Finding_State_name, Finding_State_value) - proto.RegisterType((*Finding)(nil), "google.cloud.securitycenter.v1beta1.Finding") - proto.RegisterMapType((map[string]*_struct.Value)(nil), "google.cloud.securitycenter.v1beta1.Finding.SourcePropertiesEntry") -} - -func init() { - proto.RegisterFile("google/cloud/securitycenter/v1beta1/finding.proto", fileDescriptor_da6ee7073afacba3) -} - -var fileDescriptor_da6ee7073afacba3 = []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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, 0x8a, 0xa6, 0x4c, 0xfd, 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 deleted file mode 100644 index 5b88ffc5..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/organization_settings.pb.go +++ /dev/null @@ -1,222 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/securitycenter/v1beta1/organization_settings.proto - -package securitycenter - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_a0c752c1a47d41ec, []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_a0c752c1a47d41ec, []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 (m *OrganizationSettings) XXX_Merge(src proto.Message) { - xxx_messageInfo_OrganizationSettings.Merge(m, 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_a0c752c1a47d41ec, []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 (m *OrganizationSettings_AssetDiscoveryConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_OrganizationSettings_AssetDiscoveryConfig.Merge(m, 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.RegisterEnum("google.cloud.securitycenter.v1beta1.OrganizationSettings_AssetDiscoveryConfig_InclusionMode", OrganizationSettings_AssetDiscoveryConfig_InclusionMode_name, OrganizationSettings_AssetDiscoveryConfig_InclusionMode_value) - proto.RegisterType((*OrganizationSettings)(nil), "google.cloud.securitycenter.v1beta1.OrganizationSettings") - proto.RegisterType((*OrganizationSettings_AssetDiscoveryConfig)(nil), "google.cloud.securitycenter.v1beta1.OrganizationSettings.AssetDiscoveryConfig") -} - -func init() { - proto.RegisterFile("google/cloud/securitycenter/v1beta1/organization_settings.proto", fileDescriptor_a0c752c1a47d41ec) -} - -var fileDescriptor_a0c752c1a47d41ec = []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, 0x0f, 0xa0, 0x43, 0x00, 0xed, 0x01, 0xb3, 0x27, 0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x79, 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 deleted file mode 100644 index 34ddd114..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/security_marks.pb.go +++ /dev/null @@ -1,114 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/securitycenter/v1beta1/security_marks.proto - -package securitycenter - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_09d3e42c3896af25, []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 (m *SecurityMarks) XXX_Merge(src proto.Message) { - xxx_messageInfo_SecurityMarks.Merge(m, 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_09d3e42c3896af25) -} - -var fileDescriptor_09d3e42c3896af25 = []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 deleted file mode 100644 index 4a425df6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/securitycenter_service.pb.go +++ /dev/null @@ -1,2583 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/securitycenter/v1beta1/securitycenter_service.proto - -package securitycenter - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - _ "github.com/golang/protobuf/ptypes/empty" - _struct "github.com/golang/protobuf/ptypes/struct" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - v1 "google.golang.org/genproto/googleapis/iam/v1" - longrunning "google.golang.org/genproto/googleapis/longrunning" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // 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_718836fd7840efb6, []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_718836fd7840efb6, []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 (m *CreateFindingRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateFindingRequest.Merge(m, 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_718836fd7840efb6, []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 (m *CreateSourceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateSourceRequest.Merge(m, 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_718836fd7840efb6, []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 (m *GetOrganizationSettingsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetOrganizationSettingsRequest.Merge(m, 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_718836fd7840efb6, []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 (m *GetSourceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetSourceRequest.Merge(m, 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_718836fd7840efb6, []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 (m *GroupAssetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GroupAssetsRequest.Merge(m, 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_718836fd7840efb6, []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 (m *GroupAssetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GroupAssetsResponse.Merge(m, 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_718836fd7840efb6, []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 (m *GroupFindingsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GroupFindingsRequest.Merge(m, 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_718836fd7840efb6, []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 (m *GroupFindingsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GroupFindingsResponse.Merge(m, 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_718836fd7840efb6, []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 (m *GroupResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_GroupResult.Merge(m, 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_718836fd7840efb6, []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 (m *ListSourcesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSourcesRequest.Merge(m, 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_718836fd7840efb6, []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 (m *ListSourcesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSourcesResponse.Merge(m, 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_718836fd7840efb6, []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 (m *ListAssetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAssetsRequest.Merge(m, 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_718836fd7840efb6, []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 (m *ListAssetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAssetsResponse.Merge(m, 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_718836fd7840efb6, []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 (m *ListAssetsResponse_ListAssetsResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAssetsResponse_ListAssetsResult.Merge(m, 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_718836fd7840efb6, []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 (m *ListFindingsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFindingsRequest.Merge(m, 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_718836fd7840efb6, []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 (m *ListFindingsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFindingsResponse.Merge(m, 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_718836fd7840efb6, []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 (m *SetFindingStateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetFindingStateRequest.Merge(m, 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_718836fd7840efb6, []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 (m *RunAssetDiscoveryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RunAssetDiscoveryRequest.Merge(m, 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 should - // not be specified when creating a finding. - 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_718836fd7840efb6, []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 (m *UpdateFindingRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateFindingRequest.Merge(m, 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_718836fd7840efb6, []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 (m *UpdateOrganizationSettingsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateOrganizationSettingsRequest.Merge(m, 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_718836fd7840efb6, []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 (m *UpdateSourceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateSourceRequest.Merge(m, 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_718836fd7840efb6, []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 (m *UpdateSecurityMarksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateSecurityMarksRequest.Merge(m, 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.RegisterEnum("google.cloud.securitycenter.v1beta1.ListAssetsResponse_ListAssetsResult_State", ListAssetsResponse_ListAssetsResult_State_name, ListAssetsResponse_ListAssetsResult_State_value) - 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") -} - -func init() { - proto.RegisterFile("google/cloud/securitycenter/v1beta1/securitycenter_service.proto", fileDescriptor_718836fd7840efb6) -} - -var fileDescriptor_718836fd7840efb6 = []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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x12, 0xac, 0x4f, 0x52, - 0x3a, 0xb5, 0x8f, 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, -} - -// 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) -} - -// UnimplementedSecurityCenterServer can be embedded to have forward compatible implementations. -type UnimplementedSecurityCenterServer struct { -} - -func (*UnimplementedSecurityCenterServer) CreateSource(ctx context.Context, req *CreateSourceRequest) (*Source, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateSource not implemented") -} -func (*UnimplementedSecurityCenterServer) CreateFinding(ctx context.Context, req *CreateFindingRequest) (*Finding, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateFinding not implemented") -} -func (*UnimplementedSecurityCenterServer) GetIamPolicy(ctx context.Context, req *v1.GetIamPolicyRequest) (*v1.Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedSecurityCenterServer) GetOrganizationSettings(ctx context.Context, req *GetOrganizationSettingsRequest) (*OrganizationSettings, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetOrganizationSettings not implemented") -} -func (*UnimplementedSecurityCenterServer) GetSource(ctx context.Context, req *GetSourceRequest) (*Source, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetSource not implemented") -} -func (*UnimplementedSecurityCenterServer) GroupAssets(ctx context.Context, req *GroupAssetsRequest) (*GroupAssetsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GroupAssets not implemented") -} -func (*UnimplementedSecurityCenterServer) GroupFindings(ctx context.Context, req *GroupFindingsRequest) (*GroupFindingsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GroupFindings not implemented") -} -func (*UnimplementedSecurityCenterServer) ListAssets(ctx context.Context, req *ListAssetsRequest) (*ListAssetsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListAssets not implemented") -} -func (*UnimplementedSecurityCenterServer) ListFindings(ctx context.Context, req *ListFindingsRequest) (*ListFindingsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListFindings not implemented") -} -func (*UnimplementedSecurityCenterServer) ListSources(ctx context.Context, req *ListSourcesRequest) (*ListSourcesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListSources not implemented") -} -func (*UnimplementedSecurityCenterServer) RunAssetDiscovery(ctx context.Context, req *RunAssetDiscoveryRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method RunAssetDiscovery not implemented") -} -func (*UnimplementedSecurityCenterServer) SetFindingState(ctx context.Context, req *SetFindingStateRequest) (*Finding, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetFindingState not implemented") -} -func (*UnimplementedSecurityCenterServer) SetIamPolicy(ctx context.Context, req *v1.SetIamPolicyRequest) (*v1.Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedSecurityCenterServer) TestIamPermissions(ctx context.Context, req *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} -func (*UnimplementedSecurityCenterServer) UpdateFinding(ctx context.Context, req *UpdateFindingRequest) (*Finding, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateFinding not implemented") -} -func (*UnimplementedSecurityCenterServer) UpdateOrganizationSettings(ctx context.Context, req *UpdateOrganizationSettingsRequest) (*OrganizationSettings, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateOrganizationSettings not implemented") -} -func (*UnimplementedSecurityCenterServer) UpdateSource(ctx context.Context, req *UpdateSourceRequest) (*Source, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateSource not implemented") -} -func (*UnimplementedSecurityCenterServer) UpdateSecurityMarks(ctx context.Context, req *UpdateSecurityMarksRequest) (*SecurityMarks, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateSecurityMarks not implemented") -} - -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", -} 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 deleted file mode 100644 index cf4f811e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1/source.pb.go +++ /dev/null @@ -1,125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/securitycenter/v1beta1/source.proto - -package securitycenter - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 32 characters. This is captured by the regular expression: - // [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,30}[\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_bf622434a85d65bb, []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 (m *Source) XXX_Merge(src proto.Message) { - xxx_messageInfo_Source.Merge(m, 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_bf622434a85d65bb) -} - -var fileDescriptor_bf622434a85d65bb = []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 deleted file mode 100644 index 119a4c35..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/speech/v1/cloud_speech.pb.go +++ /dev/null @@ -1,2122 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/speech/v1/cloud_speech.proto - -package speech - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/any" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The encoding of the audio data sent in the request. -// -// All encodings support only 1 channel (mono) audio, unless the -// `audio_channel_count` and `enable_separate_recognition_per_channel` fields -// are set. -// -// For best results, the audio source should be captured and transmitted using -// 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`, `SPEEX_WITH_HEADER_BYTE`, and `MP3`. -// -// 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. - RecognitionConfig_ENCODING_UNSPECIFIED RecognitionConfig_AudioEncoding = 0 - // Uncompressed 16-bit signed little-endian samples (Linear PCM). - RecognitionConfig_LINEAR16 RecognitionConfig_AudioEncoding = 1 - // `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 - // encoding supports 16-bit and 24-bit samples, however, not all fields in - // `STREAMINFO` are supported. - RecognitionConfig_FLAC RecognitionConfig_AudioEncoding = 2 - // 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. - RecognitionConfig_MULAW RecognitionConfig_AudioEncoding = 3 - // Adaptive Multi-Rate Narrowband codec. `sample_rate_hertz` must be 8000. - RecognitionConfig_AMR RecognitionConfig_AudioEncoding = 4 - // Adaptive Multi-Rate Wideband codec. `sample_rate_hertz` must be 16000. - RecognitionConfig_AMR_WB RecognitionConfig_AudioEncoding = 5 - // Opus encoded audio frames in Ogg container - // ([OggOpus](https://wiki.xiph.org/OggOpus)). - // `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 - // Speex encoding. The [Speex](https://speex.org/) encoding supported by - // Cloud Speech API has a header byte in each block, as in MIME type - // `audio/x-speex-with-header-byte`. - // It is a variant of the RTP Speex encoding defined in - // [RFC 5574](https://tools.ietf.org/html/rfc5574). - // The stream is a sequence of blocks, one block per RTP packet. Each block - // starts with a byte containing the length of the block, in bytes, followed - // by one or more frames of Speex data, padded to an integral number of - // bytes (octets) as specified in RFC 5574. In other words, each RTP header - // is replaced with a single byte containing the block length. Only Speex - // wideband is supported. `sample_rate_hertz` must be 16000. - RecognitionConfig_SPEEX_WITH_HEADER_BYTE RecognitionConfig_AudioEncoding = 7 -) - -var RecognitionConfig_AudioEncoding_name = map[int32]string{ - 0: "ENCODING_UNSPECIFIED", - 1: "LINEAR16", - 2: "FLAC", - 3: "MULAW", - 4: "AMR", - 5: "AMR_WB", - 6: "OGG_OPUS", - 7: "SPEEX_WITH_HEADER_BYTE", -} - -var RecognitionConfig_AudioEncoding_value = map[string]int32{ - "ENCODING_UNSPECIFIED": 0, - "LINEAR16": 1, - "FLAC": 2, - "MULAW": 3, - "AMR": 4, - "AMR_WB": 5, - "OGG_OPUS": 6, - "SPEEX_WITH_HEADER_BYTE": 7, -} - -func (x RecognitionConfig_AudioEncoding) String() string { - return proto.EnumName(RecognitionConfig_AudioEncoding_name, int32(x)) -} - -func (RecognitionConfig_AudioEncoding) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_06c282b85cb237e9, []int{4, 0} -} - -// Use case categories that the audio recognition request can be described -// by. -type RecognitionMetadata_InteractionType int32 - -const ( - // Use case is either unknown or is something other than one of the other - // values below. - RecognitionMetadata_INTERACTION_TYPE_UNSPECIFIED RecognitionMetadata_InteractionType = 0 - // Multiple people in a conversation or discussion. For example in a - // meeting with two or more people actively participating. Typically - // all the primary people speaking would be in the same room (if not, - // see PHONE_CALL) - RecognitionMetadata_DISCUSSION RecognitionMetadata_InteractionType = 1 - // One or more persons lecturing or presenting to others, mostly - // uninterrupted. - RecognitionMetadata_PRESENTATION RecognitionMetadata_InteractionType = 2 - // A phone-call or video-conference in which two or more people, who are - // not in the same room, are actively participating. - RecognitionMetadata_PHONE_CALL RecognitionMetadata_InteractionType = 3 - // A recorded message intended for another person to listen to. - RecognitionMetadata_VOICEMAIL RecognitionMetadata_InteractionType = 4 - // Professionally produced audio (eg. TV Show, Podcast). - RecognitionMetadata_PROFESSIONALLY_PRODUCED RecognitionMetadata_InteractionType = 5 - // Transcribe spoken questions and queries into text. - RecognitionMetadata_VOICE_SEARCH RecognitionMetadata_InteractionType = 6 - // Transcribe voice commands, such as for controlling a device. - RecognitionMetadata_VOICE_COMMAND RecognitionMetadata_InteractionType = 7 - // Transcribe speech to text to create a written document, such as a - // text-message, email or report. - RecognitionMetadata_DICTATION RecognitionMetadata_InteractionType = 8 -) - -var RecognitionMetadata_InteractionType_name = map[int32]string{ - 0: "INTERACTION_TYPE_UNSPECIFIED", - 1: "DISCUSSION", - 2: "PRESENTATION", - 3: "PHONE_CALL", - 4: "VOICEMAIL", - 5: "PROFESSIONALLY_PRODUCED", - 6: "VOICE_SEARCH", - 7: "VOICE_COMMAND", - 8: "DICTATION", -} - -var RecognitionMetadata_InteractionType_value = map[string]int32{ - "INTERACTION_TYPE_UNSPECIFIED": 0, - "DISCUSSION": 1, - "PRESENTATION": 2, - "PHONE_CALL": 3, - "VOICEMAIL": 4, - "PROFESSIONALLY_PRODUCED": 5, - "VOICE_SEARCH": 6, - "VOICE_COMMAND": 7, - "DICTATION": 8, -} - -func (x RecognitionMetadata_InteractionType) String() string { - return proto.EnumName(RecognitionMetadata_InteractionType_name, int32(x)) -} - -func (RecognitionMetadata_InteractionType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_06c282b85cb237e9, []int{6, 0} -} - -// Enumerates the types of capture settings describing an audio file. -type RecognitionMetadata_MicrophoneDistance int32 - -const ( - // Audio type is not known. - RecognitionMetadata_MICROPHONE_DISTANCE_UNSPECIFIED RecognitionMetadata_MicrophoneDistance = 0 - // The audio was captured from a closely placed microphone. Eg. phone, - // dictaphone, or handheld microphone. Generally if there speaker is within - // 1 meter of the microphone. - RecognitionMetadata_NEARFIELD RecognitionMetadata_MicrophoneDistance = 1 - // The speaker if within 3 meters of the microphone. - RecognitionMetadata_MIDFIELD RecognitionMetadata_MicrophoneDistance = 2 - // The speaker is more than 3 meters away from the microphone. - RecognitionMetadata_FARFIELD RecognitionMetadata_MicrophoneDistance = 3 -) - -var RecognitionMetadata_MicrophoneDistance_name = map[int32]string{ - 0: "MICROPHONE_DISTANCE_UNSPECIFIED", - 1: "NEARFIELD", - 2: "MIDFIELD", - 3: "FARFIELD", -} - -var RecognitionMetadata_MicrophoneDistance_value = map[string]int32{ - "MICROPHONE_DISTANCE_UNSPECIFIED": 0, - "NEARFIELD": 1, - "MIDFIELD": 2, - "FARFIELD": 3, -} - -func (x RecognitionMetadata_MicrophoneDistance) String() string { - return proto.EnumName(RecognitionMetadata_MicrophoneDistance_name, int32(x)) -} - -func (RecognitionMetadata_MicrophoneDistance) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_06c282b85cb237e9, []int{6, 1} -} - -// The original media the speech was recorded on. -type RecognitionMetadata_OriginalMediaType int32 - -const ( - // Unknown original media type. - RecognitionMetadata_ORIGINAL_MEDIA_TYPE_UNSPECIFIED RecognitionMetadata_OriginalMediaType = 0 - // The speech data is an audio recording. - RecognitionMetadata_AUDIO RecognitionMetadata_OriginalMediaType = 1 - // The speech data originally recorded on a video. - RecognitionMetadata_VIDEO RecognitionMetadata_OriginalMediaType = 2 -) - -var RecognitionMetadata_OriginalMediaType_name = map[int32]string{ - 0: "ORIGINAL_MEDIA_TYPE_UNSPECIFIED", - 1: "AUDIO", - 2: "VIDEO", -} - -var RecognitionMetadata_OriginalMediaType_value = map[string]int32{ - "ORIGINAL_MEDIA_TYPE_UNSPECIFIED": 0, - "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_06c282b85cb237e9, []int{6, 2} -} - -// The type of device the speech was recorded with. -type RecognitionMetadata_RecordingDeviceType int32 - -const ( - // The recording device is unknown. - RecognitionMetadata_RECORDING_DEVICE_TYPE_UNSPECIFIED RecognitionMetadata_RecordingDeviceType = 0 - // Speech was recorded on a smartphone. - RecognitionMetadata_SMARTPHONE RecognitionMetadata_RecordingDeviceType = 1 - // Speech was recorded using a personal computer or tablet. - RecognitionMetadata_PC RecognitionMetadata_RecordingDeviceType = 2 - // Speech was recorded over a phone line. - RecognitionMetadata_PHONE_LINE RecognitionMetadata_RecordingDeviceType = 3 - // Speech was recorded in a vehicle. - RecognitionMetadata_VEHICLE RecognitionMetadata_RecordingDeviceType = 4 - // Speech was recorded outdoors. - RecognitionMetadata_OTHER_OUTDOOR_DEVICE RecognitionMetadata_RecordingDeviceType = 5 - // Speech was recorded indoors. - RecognitionMetadata_OTHER_INDOOR_DEVICE RecognitionMetadata_RecordingDeviceType = 6 -) - -var RecognitionMetadata_RecordingDeviceType_name = map[int32]string{ - 0: "RECORDING_DEVICE_TYPE_UNSPECIFIED", - 1: "SMARTPHONE", - 2: "PC", - 3: "PHONE_LINE", - 4: "VEHICLE", - 5: "OTHER_OUTDOOR_DEVICE", - 6: "OTHER_INDOOR_DEVICE", -} - -var RecognitionMetadata_RecordingDeviceType_value = map[string]int32{ - "RECORDING_DEVICE_TYPE_UNSPECIFIED": 0, - "SMARTPHONE": 1, - "PC": 2, - "PHONE_LINE": 3, - "VEHICLE": 4, - "OTHER_OUTDOOR_DEVICE": 5, - "OTHER_INDOOR_DEVICE": 6, -} - -func (x RecognitionMetadata_RecordingDeviceType) String() string { - return proto.EnumName(RecognitionMetadata_RecordingDeviceType_name, int32(x)) -} - -func (RecognitionMetadata_RecordingDeviceType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_06c282b85cb237e9, []int{6, 3} -} - -// Indicates the type of speech event. -type StreamingRecognizeResponse_SpeechEventType int32 - -const ( - // No speech event specified. - StreamingRecognizeResponse_SPEECH_EVENT_UNSPECIFIED StreamingRecognizeResponse_SpeechEventType = 0 - // This event indicates that the server has detected the end of the user's - // speech utterance and expects no additional speech. Therefore, the server - // will not process additional audio (although it may subsequently return - // additional results). The client should stop sending additional audio - // data, half-close the gRPC connection, and wait for any additional results - // until the server closes the gRPC connection. This event is only sent if - // `single_utterance` was set to `true`, and is not used otherwise. - StreamingRecognizeResponse_END_OF_SINGLE_UTTERANCE StreamingRecognizeResponse_SpeechEventType = 1 -) - -var StreamingRecognizeResponse_SpeechEventType_name = map[int32]string{ - 0: "SPEECH_EVENT_UNSPECIFIED", - 1: "END_OF_SINGLE_UTTERANCE", -} - -var StreamingRecognizeResponse_SpeechEventType_value = map[string]int32{ - "SPEECH_EVENT_UNSPECIFIED": 0, - "END_OF_SINGLE_UTTERANCE": 1, -} - -func (x StreamingRecognizeResponse_SpeechEventType) String() string { - return proto.EnumName(StreamingRecognizeResponse_SpeechEventType_name, int32(x)) -} - -func (StreamingRecognizeResponse_SpeechEventType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_06c282b85cb237e9, []int{12, 0} -} - -// The top-level message sent by the client for the `Recognize` method. -type RecognizeRequest struct { - // Required. Provides information to the recognizer that specifies how to - // process the request. - Config *RecognitionConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` - // Required. The audio data to be recognized. - Audio *RecognitionAudio `protobuf:"bytes,2,opt,name=audio,proto3" json:"audio,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_06c282b85cb237e9, []int{0} -} - -func (m *RecognizeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RecognizeRequest.Unmarshal(m, b) -} -func (m *RecognizeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RecognizeRequest.Marshal(b, m, deterministic) -} -func (m *RecognizeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RecognizeRequest.Merge(m, src) -} -func (m *RecognizeRequest) XXX_Size() int { - return xxx_messageInfo_RecognizeRequest.Size(m) -} -func (m *RecognizeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RecognizeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_RecognizeRequest proto.InternalMessageInfo - -func (m *RecognizeRequest) GetConfig() *RecognitionConfig { - if m != nil { - return m.Config - } - return nil -} - -func (m *RecognizeRequest) GetAudio() *RecognitionAudio { - if m != nil { - return m.Audio - } - return nil -} - -// The top-level message sent by the client for the `LongRunningRecognize` -// method. -type LongRunningRecognizeRequest struct { - // Required. Provides information to the recognizer that specifies how to - // process the request. - Config *RecognitionConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` - // Required. The audio data to be recognized. - Audio *RecognitionAudio `protobuf:"bytes,2,opt,name=audio,proto3" json:"audio,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LongRunningRecognizeRequest) Reset() { *m = LongRunningRecognizeRequest{} } -func (m *LongRunningRecognizeRequest) String() string { return proto.CompactTextString(m) } -func (*LongRunningRecognizeRequest) ProtoMessage() {} -func (*LongRunningRecognizeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_06c282b85cb237e9, []int{1} -} - -func (m *LongRunningRecognizeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LongRunningRecognizeRequest.Unmarshal(m, b) -} -func (m *LongRunningRecognizeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LongRunningRecognizeRequest.Marshal(b, m, deterministic) -} -func (m *LongRunningRecognizeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_LongRunningRecognizeRequest.Merge(m, src) -} -func (m *LongRunningRecognizeRequest) XXX_Size() int { - return xxx_messageInfo_LongRunningRecognizeRequest.Size(m) -} -func (m *LongRunningRecognizeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_LongRunningRecognizeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_LongRunningRecognizeRequest proto.InternalMessageInfo - -func (m *LongRunningRecognizeRequest) GetConfig() *RecognitionConfig { - if m != nil { - return m.Config - } - return nil -} - -func (m *LongRunningRecognizeRequest) GetAudio() *RecognitionAudio { - if m != nil { - return m.Audio - } - return nil -} - -// The top-level message sent by the client for the `StreamingRecognize` method. -// Multiple `StreamingRecognizeRequest` messages are sent. The first message -// must contain a `streaming_config` message and must not contain -// `audio_content`. All subsequent messages must contain `audio_content` and -// must not contain a `streaming_config` message. -type StreamingRecognizeRequest struct { - // The streaming request, which is either a streaming config or audio content. - // - // Types that are valid to be assigned to StreamingRequest: - // *StreamingRecognizeRequest_StreamingConfig - // *StreamingRecognizeRequest_AudioContent - StreamingRequest isStreamingRecognizeRequest_StreamingRequest `protobuf_oneof:"streaming_request"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StreamingRecognizeRequest) Reset() { *m = StreamingRecognizeRequest{} } -func (m *StreamingRecognizeRequest) String() string { return proto.CompactTextString(m) } -func (*StreamingRecognizeRequest) ProtoMessage() {} -func (*StreamingRecognizeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_06c282b85cb237e9, []int{2} -} - -func (m *StreamingRecognizeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingRecognizeRequest.Unmarshal(m, b) -} -func (m *StreamingRecognizeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingRecognizeRequest.Marshal(b, m, deterministic) -} -func (m *StreamingRecognizeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingRecognizeRequest.Merge(m, src) -} -func (m *StreamingRecognizeRequest) XXX_Size() int { - return xxx_messageInfo_StreamingRecognizeRequest.Size(m) -} -func (m *StreamingRecognizeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingRecognizeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingRecognizeRequest proto.InternalMessageInfo - -type isStreamingRecognizeRequest_StreamingRequest interface { - isStreamingRecognizeRequest_StreamingRequest() -} - -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 (m *StreamingRecognizeRequest) GetStreamingRequest() isStreamingRecognizeRequest_StreamingRequest { - if m != nil { - return m.StreamingRequest - } - return nil -} - -func (m *StreamingRecognizeRequest) GetStreamingConfig() *StreamingRecognitionConfig { - if x, ok := m.GetStreamingRequest().(*StreamingRecognizeRequest_StreamingConfig); ok { - return x.StreamingConfig - } - return nil -} - -func (m *StreamingRecognizeRequest) GetAudioContent() []byte { - if x, ok := m.GetStreamingRequest().(*StreamingRecognizeRequest_AudioContent); ok { - return x.AudioContent - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*StreamingRecognizeRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*StreamingRecognizeRequest_StreamingConfig)(nil), - (*StreamingRecognizeRequest_AudioContent)(nil), - } -} - -// Provides information to the recognizer that specifies how to process the -// request. -type StreamingRecognitionConfig struct { - // Required. Provides information to the recognizer that specifies how to - // process the request. - Config *RecognitionConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` - // If `false` or omitted, the recognizer will perform continuous - // recognition (continuing to wait for and process audio even if the user - // pauses speaking) until the client closes the input stream (gRPC API) or - // until the maximum time limit has been reached. May return multiple - // `StreamingRecognitionResult`s with the `is_final` flag set to `true`. - // - // If `true`, the recognizer will detect a single spoken utterance. When it - // detects that the user has paused or stopped speaking, it will return an - // `END_OF_SINGLE_UTTERANCE` event and cease recognition. It will return no - // more than one `StreamingRecognitionResult` with the `is_final` flag set to - // `true`. - SingleUtterance bool `protobuf:"varint,2,opt,name=single_utterance,json=singleUtterance,proto3" json:"single_utterance,omitempty"` - // If `true`, interim results (tentative hypotheses) may be - // returned as they become available (these interim results are indicated with - // the `is_final=false` flag). - // If `false` or omitted, only `is_final=true` result(s) are returned. - InterimResults bool `protobuf:"varint,3,opt,name=interim_results,json=interimResults,proto3" json:"interim_results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StreamingRecognitionConfig) Reset() { *m = StreamingRecognitionConfig{} } -func (m *StreamingRecognitionConfig) String() string { return proto.CompactTextString(m) } -func (*StreamingRecognitionConfig) ProtoMessage() {} -func (*StreamingRecognitionConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_06c282b85cb237e9, []int{3} -} - -func (m *StreamingRecognitionConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingRecognitionConfig.Unmarshal(m, b) -} -func (m *StreamingRecognitionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingRecognitionConfig.Marshal(b, m, deterministic) -} -func (m *StreamingRecognitionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingRecognitionConfig.Merge(m, src) -} -func (m *StreamingRecognitionConfig) XXX_Size() int { - return xxx_messageInfo_StreamingRecognitionConfig.Size(m) -} -func (m *StreamingRecognitionConfig) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingRecognitionConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingRecognitionConfig proto.InternalMessageInfo - -func (m *StreamingRecognitionConfig) GetConfig() *RecognitionConfig { - if m != nil { - return m.Config - } - return nil -} - -func (m *StreamingRecognitionConfig) GetSingleUtterance() bool { - if m != nil { - return m.SingleUtterance - } - return false -} - -func (m *StreamingRecognitionConfig) GetInterimResults() bool { - if m != nil { - return m.InterimResults - } - return false -} - -// Provides information to the recognizer that specifies how to process the -// request. -type RecognitionConfig struct { - // 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"` - // 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, but is - // 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"` - // The number of channels in the input audio data. - // ONLY set this for MULTI-CHANNEL recognition. - // Valid values for LINEAR16 and FLAC are `1`-`8`. - // 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. - // To perform independent recognition on each channel set - // `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 - // 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. 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-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"` - // Maximum number of recognition hypotheses to be returned. - // Specifically, the maximum number of `SpeechRecognitionAlternative` messages - // within each `SpeechRecognitionResult`. - // 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,4,opt,name=max_alternatives,json=maxAlternatives,proto3" json:"max_alternatives,omitempty"` - // 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. - ProfanityFilter bool `protobuf:"varint,5,opt,name=profanity_filter,json=profanityFilter,proto3" json:"profanity_filter,omitempty"` - // Array of [SpeechContext][google.cloud.speech.v1.SpeechContext]. - // A means to provide context to assist the speech recognition. For more - // information, see - // [speech - // adaptation](https://cloud.google.com/speech-to-text/docs/context-strength). - SpeechContexts []*SpeechContext `protobuf:"bytes,6,rep,name=speech_contexts,json=speechContexts,proto3" json:"speech_contexts,omitempty"` - // 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"` - // 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"` - // Config to enable speaker diarization and set additional - // parameters to make diarization better suited for your application. - // Note: When this is enabled, we send all the words from the beginning of the - // 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. - DiarizationConfig *SpeakerDiarizationConfig `protobuf:"bytes,19,opt,name=diarization_config,json=diarizationConfig,proto3" json:"diarization_config,omitempty"` - // Metadata regarding this request. - Metadata *RecognitionMetadata `protobuf:"bytes,9,opt,name=metadata,proto3" json:"metadata,omitempty"` - // 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"` - // Set to true to use an enhanced model for speech recognition. - // If `use_enhanced` is set to true and the `model` field is not set, then - // an appropriate enhanced model is chosen if 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. - 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_06c282b85cb237e9, []int{4} -} - -func (m *RecognitionConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RecognitionConfig.Unmarshal(m, b) -} -func (m *RecognitionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RecognitionConfig.Marshal(b, m, deterministic) -} -func (m *RecognitionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_RecognitionConfig.Merge(m, src) -} -func (m *RecognitionConfig) XXX_Size() int { - return xxx_messageInfo_RecognitionConfig.Size(m) -} -func (m *RecognitionConfig) XXX_DiscardUnknown() { - xxx_messageInfo_RecognitionConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_RecognitionConfig proto.InternalMessageInfo - -func (m *RecognitionConfig) GetEncoding() RecognitionConfig_AudioEncoding { - if m != nil { - return m.Encoding - } - return RecognitionConfig_ENCODING_UNSPECIFIED -} - -func (m *RecognitionConfig) GetSampleRateHertz() int32 { - if m != nil { - return m.SampleRateHertz - } - return 0 -} - -func (m *RecognitionConfig) GetAudioChannelCount() int32 { - if m != nil { - return m.AudioChannelCount - } - return 0 -} - -func (m *RecognitionConfig) GetEnableSeparateRecognitionPerChannel() bool { - if m != nil { - return m.EnableSeparateRecognitionPerChannel - } - return false -} - -func (m *RecognitionConfig) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *RecognitionConfig) GetMaxAlternatives() int32 { - if m != nil { - return m.MaxAlternatives - } - return 0 -} - -func (m *RecognitionConfig) GetProfanityFilter() bool { - if m != nil { - return m.ProfanityFilter - } - return false -} - -func (m *RecognitionConfig) GetSpeechContexts() []*SpeechContext { - if m != nil { - return m.SpeechContexts - } - return nil -} - -func (m *RecognitionConfig) GetEnableWordTimeOffsets() bool { - if m != nil { - return m.EnableWordTimeOffsets - } - return false -} - -func (m *RecognitionConfig) GetEnableAutomaticPunctuation() bool { - if m != nil { - return m.EnableAutomaticPunctuation - } - return false -} - -func (m *RecognitionConfig) GetDiarizationConfig() *SpeakerDiarizationConfig { - if m != nil { - return m.DiarizationConfig - } - return nil -} - -func (m *RecognitionConfig) GetMetadata() *RecognitionMetadata { - if m != nil { - return m.Metadata - } - return nil -} - -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 -} - -// Config to enable speaker diarization. -type SpeakerDiarizationConfig struct { - // 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. - EnableSpeakerDiarization bool `protobuf:"varint,1,opt,name=enable_speaker_diarization,json=enableSpeakerDiarization,proto3" json:"enable_speaker_diarization,omitempty"` - // Minimum number of speakers in the conversation. This range gives you more - // flexibility by allowing the system to automatically determine the correct - // number of speakers. If not set, the default value is 2. - MinSpeakerCount int32 `protobuf:"varint,2,opt,name=min_speaker_count,json=minSpeakerCount,proto3" json:"min_speaker_count,omitempty"` - // Maximum number of speakers in the conversation. This range gives you more - // flexibility by allowing the system to automatically determine the correct - // number of speakers. If not set, the default value is 6. - MaxSpeakerCount int32 `protobuf:"varint,3,opt,name=max_speaker_count,json=maxSpeakerCount,proto3" json:"max_speaker_count,omitempty"` - // 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' to diarization_speaker_count. - // speaker_tag is set if enable_speaker_diarization = 'true' and only in the - // top alternative. - 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 *SpeakerDiarizationConfig) Reset() { *m = SpeakerDiarizationConfig{} } -func (m *SpeakerDiarizationConfig) String() string { return proto.CompactTextString(m) } -func (*SpeakerDiarizationConfig) ProtoMessage() {} -func (*SpeakerDiarizationConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_06c282b85cb237e9, []int{5} -} - -func (m *SpeakerDiarizationConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SpeakerDiarizationConfig.Unmarshal(m, b) -} -func (m *SpeakerDiarizationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SpeakerDiarizationConfig.Marshal(b, m, deterministic) -} -func (m *SpeakerDiarizationConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpeakerDiarizationConfig.Merge(m, src) -} -func (m *SpeakerDiarizationConfig) XXX_Size() int { - return xxx_messageInfo_SpeakerDiarizationConfig.Size(m) -} -func (m *SpeakerDiarizationConfig) XXX_DiscardUnknown() { - xxx_messageInfo_SpeakerDiarizationConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_SpeakerDiarizationConfig proto.InternalMessageInfo - -func (m *SpeakerDiarizationConfig) GetEnableSpeakerDiarization() bool { - if m != nil { - return m.EnableSpeakerDiarization - } - return false -} - -func (m *SpeakerDiarizationConfig) GetMinSpeakerCount() int32 { - if m != nil { - return m.MinSpeakerCount - } - return 0 -} - -func (m *SpeakerDiarizationConfig) GetMaxSpeakerCount() int32 { - if m != nil { - return m.MaxSpeakerCount - } - return 0 -} - -func (m *SpeakerDiarizationConfig) GetSpeakerTag() int32 { - if m != nil { - return m.SpeakerTag - } - return 0 -} - -// Description of audio data to be recognized. -type RecognitionMetadata struct { - // The use case most closely describing the audio content to be recognized. - InteractionType RecognitionMetadata_InteractionType `protobuf:"varint,1,opt,name=interaction_type,json=interactionType,proto3,enum=google.cloud.speech.v1.RecognitionMetadata_InteractionType" json:"interaction_type,omitempty"` - // The industry vertical to which this speech recognition request most - // closely applies. This is most indicative of the topics contained - // in the audio. Use the 6-digit NAICS code to identify the industry - // vertical - see https://www.naics.com/search/. - IndustryNaicsCodeOfAudio uint32 `protobuf:"varint,3,opt,name=industry_naics_code_of_audio,json=industryNaicsCodeOfAudio,proto3" json:"industry_naics_code_of_audio,omitempty"` - // The audio type that most closely describes the audio being recognized. - MicrophoneDistance RecognitionMetadata_MicrophoneDistance `protobuf:"varint,4,opt,name=microphone_distance,json=microphoneDistance,proto3,enum=google.cloud.speech.v1.RecognitionMetadata_MicrophoneDistance" json:"microphone_distance,omitempty"` - // The original media the speech was recorded on. - OriginalMediaType RecognitionMetadata_OriginalMediaType `protobuf:"varint,5,opt,name=original_media_type,json=originalMediaType,proto3,enum=google.cloud.speech.v1.RecognitionMetadata_OriginalMediaType" json:"original_media_type,omitempty"` - // The type of device the speech was recorded with. - RecordingDeviceType RecognitionMetadata_RecordingDeviceType `protobuf:"varint,6,opt,name=recording_device_type,json=recordingDeviceType,proto3,enum=google.cloud.speech.v1.RecognitionMetadata_RecordingDeviceType" json:"recording_device_type,omitempty"` - // The device used to make the recording. Examples 'Nexus 5X' or - // 'Polycom SoundStation IP 6000' or 'POTS' or 'VoIP' or - // 'Cardioid Microphone'. - RecordingDeviceName string `protobuf:"bytes,7,opt,name=recording_device_name,json=recordingDeviceName,proto3" json:"recording_device_name,omitempty"` - // Mime type of the original audio file. For example `audio/m4a`, - // `audio/x-alaw-basic`, `audio/mp3`, `audio/3gpp`. - // A list of possible audio mime types is maintained at - // http://www.iana.org/assignments/media-types/media-types.xhtml#audio - OriginalMimeType string `protobuf:"bytes,8,opt,name=original_mime_type,json=originalMimeType,proto3" json:"original_mime_type,omitempty"` - // Description of the content. Eg. "Recordings of federal supreme court - // hearings from 2012". - AudioTopic string `protobuf:"bytes,10,opt,name=audio_topic,json=audioTopic,proto3" json:"audio_topic,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_06c282b85cb237e9, []int{6} -} - -func (m *RecognitionMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RecognitionMetadata.Unmarshal(m, b) -} -func (m *RecognitionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RecognitionMetadata.Marshal(b, m, deterministic) -} -func (m *RecognitionMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_RecognitionMetadata.Merge(m, src) -} -func (m *RecognitionMetadata) XXX_Size() int { - return xxx_messageInfo_RecognitionMetadata.Size(m) -} -func (m *RecognitionMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_RecognitionMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_RecognitionMetadata proto.InternalMessageInfo - -func (m *RecognitionMetadata) GetInteractionType() RecognitionMetadata_InteractionType { - if m != nil { - return m.InteractionType - } - return RecognitionMetadata_INTERACTION_TYPE_UNSPECIFIED -} - -func (m *RecognitionMetadata) GetIndustryNaicsCodeOfAudio() uint32 { - if m != nil { - return m.IndustryNaicsCodeOfAudio - } - return 0 -} - -func (m *RecognitionMetadata) GetMicrophoneDistance() RecognitionMetadata_MicrophoneDistance { - if m != nil { - return m.MicrophoneDistance - } - return RecognitionMetadata_MICROPHONE_DISTANCE_UNSPECIFIED -} - -func (m *RecognitionMetadata) GetOriginalMediaType() RecognitionMetadata_OriginalMediaType { - if m != nil { - return m.OriginalMediaType - } - return RecognitionMetadata_ORIGINAL_MEDIA_TYPE_UNSPECIFIED -} - -func (m *RecognitionMetadata) GetRecordingDeviceType() RecognitionMetadata_RecordingDeviceType { - if m != nil { - return m.RecordingDeviceType - } - return RecognitionMetadata_RECORDING_DEVICE_TYPE_UNSPECIFIED -} - -func (m *RecognitionMetadata) GetRecordingDeviceName() string { - if m != nil { - return m.RecordingDeviceName - } - return "" -} - -func (m *RecognitionMetadata) GetOriginalMimeType() string { - if m != nil { - return m.OriginalMimeType - } - return "" -} - -func (m *RecognitionMetadata) GetAudioTopic() string { - if m != nil { - return m.AudioTopic - } - return "" -} - -// Provides "hints" to the speech recognizer to favor specific words and phrases -// in the results. -type SpeechContext struct { - // 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-to-text/quotas#content). - // - // List items can also be set to classes for groups of words that represent - // common concepts that occur in natural language. For example, rather than - // providing phrase hints for every month of the year, using the $MONTH class - // improves the likelihood of correctly transcribing audio that includes - // months. - 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_06c282b85cb237e9, []int{7} -} - -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 (m *SpeechContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpeechContext.Merge(m, 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 -} - -// 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 -// [content limits](https://cloud.google.com/speech-to-text/quotas#content). -type RecognitionAudio struct { - // The audio source, which is either inline content or a Google Cloud - // Storage uri. - // - // Types that are valid to be assigned to AudioSource: - // *RecognitionAudio_Content - // *RecognitionAudio_Uri - AudioSource isRecognitionAudio_AudioSource `protobuf_oneof:"audio_source"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_06c282b85cb237e9, []int{8} -} - -func (m *RecognitionAudio) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RecognitionAudio.Unmarshal(m, b) -} -func (m *RecognitionAudio) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RecognitionAudio.Marshal(b, m, deterministic) -} -func (m *RecognitionAudio) XXX_Merge(src proto.Message) { - xxx_messageInfo_RecognitionAudio.Merge(m, src) -} -func (m *RecognitionAudio) XXX_Size() int { - return xxx_messageInfo_RecognitionAudio.Size(m) -} -func (m *RecognitionAudio) XXX_DiscardUnknown() { - xxx_messageInfo_RecognitionAudio.DiscardUnknown(m) -} - -var xxx_messageInfo_RecognitionAudio proto.InternalMessageInfo - -type isRecognitionAudio_AudioSource interface { - isRecognitionAudio_AudioSource() -} - -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 (m *RecognitionAudio) GetAudioSource() isRecognitionAudio_AudioSource { - if m != nil { - return m.AudioSource - } - return nil -} - -func (m *RecognitionAudio) GetContent() []byte { - if x, ok := m.GetAudioSource().(*RecognitionAudio_Content); ok { - return x.Content - } - return nil -} - -func (m *RecognitionAudio) GetUri() string { - if x, ok := m.GetAudioSource().(*RecognitionAudio_Uri); ok { - return x.Uri - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*RecognitionAudio) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*RecognitionAudio_Content)(nil), - (*RecognitionAudio_Uri)(nil), - } -} - -// The only message returned to the client by the `Recognize` method. It -// contains the result as zero or more sequential `SpeechRecognitionResult` -// messages. -type RecognizeResponse struct { - // 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:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_06c282b85cb237e9, []int{9} -} - -func (m *RecognizeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RecognizeResponse.Unmarshal(m, b) -} -func (m *RecognizeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RecognizeResponse.Marshal(b, m, deterministic) -} -func (m *RecognizeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RecognizeResponse.Merge(m, src) -} -func (m *RecognizeResponse) XXX_Size() int { - return xxx_messageInfo_RecognizeResponse.Size(m) -} -func (m *RecognizeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RecognizeResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_RecognizeResponse proto.InternalMessageInfo - -func (m *RecognizeResponse) GetResults() []*SpeechRecognitionResult { - if m != nil { - return m.Results - } - return nil -} - -// The only message returned to the client by the `LongRunningRecognize` method. -// It contains the result as zero or more sequential `SpeechRecognitionResult` -// messages. It is included in the `result.response` field of the `Operation` -// returned by the `GetOperation` call of the `google::longrunning::Operations` -// service. -type LongRunningRecognizeResponse struct { - // 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:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LongRunningRecognizeResponse) Reset() { *m = LongRunningRecognizeResponse{} } -func (m *LongRunningRecognizeResponse) String() string { return proto.CompactTextString(m) } -func (*LongRunningRecognizeResponse) ProtoMessage() {} -func (*LongRunningRecognizeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_06c282b85cb237e9, []int{10} -} - -func (m *LongRunningRecognizeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LongRunningRecognizeResponse.Unmarshal(m, b) -} -func (m *LongRunningRecognizeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LongRunningRecognizeResponse.Marshal(b, m, deterministic) -} -func (m *LongRunningRecognizeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_LongRunningRecognizeResponse.Merge(m, src) -} -func (m *LongRunningRecognizeResponse) XXX_Size() int { - return xxx_messageInfo_LongRunningRecognizeResponse.Size(m) -} -func (m *LongRunningRecognizeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_LongRunningRecognizeResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_LongRunningRecognizeResponse proto.InternalMessageInfo - -func (m *LongRunningRecognizeResponse) GetResults() []*SpeechRecognitionResult { - if m != nil { - return m.Results - } - return nil -} - -// Describes the progress of a long-running `LongRunningRecognize` call. It is -// included in the `metadata` field of the `Operation` returned by the -// `GetOperation` call of the `google::longrunning::Operations` service. -type LongRunningRecognizeMetadata struct { - // Approximate percentage of audio processed thus far. Guaranteed to be 100 - // when the audio is fully processed and the results are available. - ProgressPercent int32 `protobuf:"varint,1,opt,name=progress_percent,json=progressPercent,proto3" json:"progress_percent,omitempty"` - // Time when the request was received. - StartTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // Time of the most recent processing update. - LastUpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LongRunningRecognizeMetadata) Reset() { *m = LongRunningRecognizeMetadata{} } -func (m *LongRunningRecognizeMetadata) String() string { return proto.CompactTextString(m) } -func (*LongRunningRecognizeMetadata) ProtoMessage() {} -func (*LongRunningRecognizeMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_06c282b85cb237e9, []int{11} -} - -func (m *LongRunningRecognizeMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LongRunningRecognizeMetadata.Unmarshal(m, b) -} -func (m *LongRunningRecognizeMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LongRunningRecognizeMetadata.Marshal(b, m, deterministic) -} -func (m *LongRunningRecognizeMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_LongRunningRecognizeMetadata.Merge(m, src) -} -func (m *LongRunningRecognizeMetadata) XXX_Size() int { - return xxx_messageInfo_LongRunningRecognizeMetadata.Size(m) -} -func (m *LongRunningRecognizeMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_LongRunningRecognizeMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_LongRunningRecognizeMetadata proto.InternalMessageInfo - -func (m *LongRunningRecognizeMetadata) GetProgressPercent() int32 { - if m != nil { - return m.ProgressPercent - } - return 0 -} - -func (m *LongRunningRecognizeMetadata) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *LongRunningRecognizeMetadata) GetLastUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.LastUpdateTime - } - return nil -} - -// `StreamingRecognizeResponse` is the only message returned to the client by -// `StreamingRecognize`. A series of zero or more `StreamingRecognizeResponse` -// messages are streamed back to the client. If there is no recognizable -// audio, and `single_utterance` is set to false, then no messages are streamed -// back to the client. -// -// Here's an example of a series of ten `StreamingRecognizeResponse`s that might -// be returned while processing audio: -// -// 1. results { alternatives { transcript: "tube" } stability: 0.01 } -// -// 2. results { alternatives { transcript: "to be a" } stability: 0.01 } -// -// 3. results { alternatives { transcript: "to be" } stability: 0.9 } -// results { alternatives { transcript: " or not to be" } stability: 0.01 } -// -// 4. results { alternatives { transcript: "to be or not to be" -// confidence: 0.92 } -// alternatives { transcript: "to bee or not to bee" } -// is_final: true } -// -// 5. results { alternatives { transcript: " that's" } stability: 0.01 } -// -// 6. results { alternatives { transcript: " that is" } stability: 0.9 } -// results { alternatives { transcript: " the question" } stability: 0.01 } -// -// 7. results { alternatives { transcript: " that is the question" -// confidence: 0.98 } -// alternatives { transcript: " that was the question" } -// is_final: true } -// -// Notes: -// -// - Only two of the above responses #4 and #7 contain final results; they are -// indicated by `is_final: true`. Concatenating these together generates the -// full transcript: "to be or not to be that is the question". -// -// - The others contain interim `results`. #3 and #6 contain two interim -// `results`: the first portion has a high stability and is less likely to -// change; the second portion has a low stability and is very likely to -// change. A UI designer might choose to show only high stability `results`. -// -// - The specific `stability` and `confidence` values shown above are only for -// illustrative purposes. Actual values may vary. -// -// - In each response, only one of these fields will be set: -// `error`, -// `speech_event_type`, or -// one or more (repeated) `results`. -type StreamingRecognizeResponse struct { - // 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"` - // This repeated list contains zero or more results that - // correspond to consecutive portions of the audio currently being processed. - // 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"` - // 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:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StreamingRecognizeResponse) Reset() { *m = StreamingRecognizeResponse{} } -func (m *StreamingRecognizeResponse) String() string { return proto.CompactTextString(m) } -func (*StreamingRecognizeResponse) ProtoMessage() {} -func (*StreamingRecognizeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_06c282b85cb237e9, []int{12} -} - -func (m *StreamingRecognizeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingRecognizeResponse.Unmarshal(m, b) -} -func (m *StreamingRecognizeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingRecognizeResponse.Marshal(b, m, deterministic) -} -func (m *StreamingRecognizeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingRecognizeResponse.Merge(m, src) -} -func (m *StreamingRecognizeResponse) XXX_Size() int { - return xxx_messageInfo_StreamingRecognizeResponse.Size(m) -} -func (m *StreamingRecognizeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingRecognizeResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingRecognizeResponse proto.InternalMessageInfo - -func (m *StreamingRecognizeResponse) GetError() *status.Status { - if m != nil { - return m.Error - } - return nil -} - -func (m *StreamingRecognizeResponse) GetResults() []*StreamingRecognitionResult { - if m != nil { - return m.Results - } - return nil -} - -func (m *StreamingRecognizeResponse) GetSpeechEventType() StreamingRecognizeResponse_SpeechEventType { - if m != nil { - return m.SpeechEventType - } - return StreamingRecognizeResponse_SPEECH_EVENT_UNSPECIFIED -} - -// A streaming speech recognition result corresponding to a portion of the audio -// that is currently being processed. -type StreamingRecognitionResult 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"` - // 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"` - // 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`). - // 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"` - // 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'. - ChannelTag int32 `protobuf:"varint,5,opt,name=channel_tag,json=channelTag,proto3" json:"channel_tag,omitempty"` - // 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,6,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 *StreamingRecognitionResult) Reset() { *m = StreamingRecognitionResult{} } -func (m *StreamingRecognitionResult) String() string { return proto.CompactTextString(m) } -func (*StreamingRecognitionResult) ProtoMessage() {} -func (*StreamingRecognitionResult) Descriptor() ([]byte, []int) { - return fileDescriptor_06c282b85cb237e9, []int{13} -} - -func (m *StreamingRecognitionResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingRecognitionResult.Unmarshal(m, b) -} -func (m *StreamingRecognitionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingRecognitionResult.Marshal(b, m, deterministic) -} -func (m *StreamingRecognitionResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingRecognitionResult.Merge(m, src) -} -func (m *StreamingRecognitionResult) XXX_Size() int { - return xxx_messageInfo_StreamingRecognitionResult.Size(m) -} -func (m *StreamingRecognitionResult) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingRecognitionResult.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingRecognitionResult proto.InternalMessageInfo - -func (m *StreamingRecognitionResult) GetAlternatives() []*SpeechRecognitionAlternative { - if m != nil { - return m.Alternatives - } - return nil -} - -func (m *StreamingRecognitionResult) GetIsFinal() bool { - if m != nil { - return m.IsFinal - } - return false -} - -func (m *StreamingRecognitionResult) GetStability() float32 { - if m != nil { - return m.Stability - } - 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 - } - return 0 -} - -func (m *StreamingRecognitionResult) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -// A speech recognition result corresponding to a portion of the audio. -type SpeechRecognitionResult 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"` - // 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'. - ChannelTag int32 `protobuf:"varint,2,opt,name=channel_tag,json=channelTag,proto3" json:"channel_tag,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_06c282b85cb237e9, []int{14} -} - -func (m *SpeechRecognitionResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SpeechRecognitionResult.Unmarshal(m, b) -} -func (m *SpeechRecognitionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SpeechRecognitionResult.Marshal(b, m, deterministic) -} -func (m *SpeechRecognitionResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpeechRecognitionResult.Merge(m, src) -} -func (m *SpeechRecognitionResult) XXX_Size() int { - return xxx_messageInfo_SpeechRecognitionResult.Size(m) -} -func (m *SpeechRecognitionResult) XXX_DiscardUnknown() { - xxx_messageInfo_SpeechRecognitionResult.DiscardUnknown(m) -} - -var xxx_messageInfo_SpeechRecognitionResult proto.InternalMessageInfo - -func (m *SpeechRecognitionResult) GetAlternatives() []*SpeechRecognitionAlternative { - if m != nil { - return m.Alternatives - } - return nil -} - -func (m *SpeechRecognitionResult) GetChannelTag() int32 { - if m != nil { - return m.ChannelTag - } - return 0 -} - -// 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 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"` - // A list of word-specific information for each recognized word. - // 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:"-"` - 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_06c282b85cb237e9, []int{15} -} - -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 (m *SpeechRecognitionAlternative) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpeechRecognitionAlternative.Merge(m, 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. -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"` - 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_06c282b85cb237e9, []int{16} -} - -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 (m *WordInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_WordInfo.Merge(m, 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 init() { - proto.RegisterEnum("google.cloud.speech.v1.RecognitionConfig_AudioEncoding", RecognitionConfig_AudioEncoding_name, RecognitionConfig_AudioEncoding_value) - proto.RegisterEnum("google.cloud.speech.v1.RecognitionMetadata_InteractionType", RecognitionMetadata_InteractionType_name, RecognitionMetadata_InteractionType_value) - proto.RegisterEnum("google.cloud.speech.v1.RecognitionMetadata_MicrophoneDistance", RecognitionMetadata_MicrophoneDistance_name, RecognitionMetadata_MicrophoneDistance_value) - proto.RegisterEnum("google.cloud.speech.v1.RecognitionMetadata_OriginalMediaType", RecognitionMetadata_OriginalMediaType_name, RecognitionMetadata_OriginalMediaType_value) - proto.RegisterEnum("google.cloud.speech.v1.RecognitionMetadata_RecordingDeviceType", RecognitionMetadata_RecordingDeviceType_name, RecognitionMetadata_RecordingDeviceType_value) - proto.RegisterEnum("google.cloud.speech.v1.StreamingRecognizeResponse_SpeechEventType", StreamingRecognizeResponse_SpeechEventType_name, StreamingRecognizeResponse_SpeechEventType_value) - proto.RegisterType((*RecognizeRequest)(nil), "google.cloud.speech.v1.RecognizeRequest") - proto.RegisterType((*LongRunningRecognizeRequest)(nil), "google.cloud.speech.v1.LongRunningRecognizeRequest") - proto.RegisterType((*StreamingRecognizeRequest)(nil), "google.cloud.speech.v1.StreamingRecognizeRequest") - proto.RegisterType((*StreamingRecognitionConfig)(nil), "google.cloud.speech.v1.StreamingRecognitionConfig") - proto.RegisterType((*RecognitionConfig)(nil), "google.cloud.speech.v1.RecognitionConfig") - proto.RegisterType((*SpeakerDiarizationConfig)(nil), "google.cloud.speech.v1.SpeakerDiarizationConfig") - proto.RegisterType((*RecognitionMetadata)(nil), "google.cloud.speech.v1.RecognitionMetadata") - proto.RegisterType((*SpeechContext)(nil), "google.cloud.speech.v1.SpeechContext") - proto.RegisterType((*RecognitionAudio)(nil), "google.cloud.speech.v1.RecognitionAudio") - proto.RegisterType((*RecognizeResponse)(nil), "google.cloud.speech.v1.RecognizeResponse") - proto.RegisterType((*LongRunningRecognizeResponse)(nil), "google.cloud.speech.v1.LongRunningRecognizeResponse") - proto.RegisterType((*LongRunningRecognizeMetadata)(nil), "google.cloud.speech.v1.LongRunningRecognizeMetadata") - proto.RegisterType((*StreamingRecognizeResponse)(nil), "google.cloud.speech.v1.StreamingRecognizeResponse") - proto.RegisterType((*StreamingRecognitionResult)(nil), "google.cloud.speech.v1.StreamingRecognitionResult") - proto.RegisterType((*SpeechRecognitionResult)(nil), "google.cloud.speech.v1.SpeechRecognitionResult") - proto.RegisterType((*SpeechRecognitionAlternative)(nil), "google.cloud.speech.v1.SpeechRecognitionAlternative") - proto.RegisterType((*WordInfo)(nil), "google.cloud.speech.v1.WordInfo") -} - -func init() { - proto.RegisterFile("google/cloud/speech/v1/cloud_speech.proto", fileDescriptor_06c282b85cb237e9) -} - -var fileDescriptor_06c282b85cb237e9 = []byte{ - // 2237 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02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d, 0xa5, - 0x16, 0x25, 0xc3, 0xfa, 0x90, 0x85, 0x32, 0x8b, 0xeb, 0x67, 0xba, 0xe6, 0xff, 0x3a, 0x7f, 0xaa, - 0xbe, 0xfe, 0xa3, 0x69, 0x7f, 0x2c, 0x14, 0x0f, 0xac, 0xee, 0x93, 0x45, 0xc9, 0xf1, 0xc1, 0x7f, - 0x03, 0x00, 0x00, 0xff, 0xff, 0x2d, 0x97, 0xaf, 0x7b, 0xa6, 0x16, 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 - -// SpeechClient is the client API for Speech service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type SpeechClient interface { - // Performs synchronous speech recognition: receive results after all audio - // has been sent and processed. - Recognize(ctx context.Context, in *RecognizeRequest, opts ...grpc.CallOption) (*RecognizeResponse, error) - // Performs asynchronous speech recognition: receive results via the - // google.longrunning.Operations interface. Returns either an - // `Operation.error` or an `Operation.response` which contains - // a `LongRunningRecognizeResponse` message. - // For more information on asynchronous speech recognition, see the - // [how-to](https://cloud.google.com/speech-to-text/docs/async-recognize). - LongRunningRecognize(ctx context.Context, in *LongRunningRecognizeRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Performs bidirectional streaming speech recognition: receive results while - // sending audio. This method is only available via the gRPC API (not REST). - StreamingRecognize(ctx context.Context, opts ...grpc.CallOption) (Speech_StreamingRecognizeClient, error) -} - -type speechClient struct { - cc *grpc.ClientConn -} - -func NewSpeechClient(cc *grpc.ClientConn) SpeechClient { - return &speechClient{cc} -} - -func (c *speechClient) Recognize(ctx context.Context, in *RecognizeRequest, opts ...grpc.CallOption) (*RecognizeResponse, error) { - out := new(RecognizeResponse) - err := c.cc.Invoke(ctx, "/google.cloud.speech.v1.Speech/Recognize", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *speechClient) LongRunningRecognize(ctx context.Context, in *LongRunningRecognizeRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.speech.v1.Speech/LongRunningRecognize", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *speechClient) StreamingRecognize(ctx context.Context, opts ...grpc.CallOption) (Speech_StreamingRecognizeClient, error) { - stream, err := c.cc.NewStream(ctx, &_Speech_serviceDesc.Streams[0], "/google.cloud.speech.v1.Speech/StreamingRecognize", opts...) - if err != nil { - return nil, err - } - x := &speechStreamingRecognizeClient{stream} - return x, nil -} - -type Speech_StreamingRecognizeClient interface { - Send(*StreamingRecognizeRequest) error - Recv() (*StreamingRecognizeResponse, error) - grpc.ClientStream -} - -type speechStreamingRecognizeClient struct { - grpc.ClientStream -} - -func (x *speechStreamingRecognizeClient) Send(m *StreamingRecognizeRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *speechStreamingRecognizeClient) Recv() (*StreamingRecognizeResponse, error) { - m := new(StreamingRecognizeResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// SpeechServer is the server API for Speech service. -type SpeechServer interface { - // Performs synchronous speech recognition: receive results after all audio - // has been sent and processed. - Recognize(context.Context, *RecognizeRequest) (*RecognizeResponse, error) - // Performs asynchronous speech recognition: receive results via the - // google.longrunning.Operations interface. Returns either an - // `Operation.error` or an `Operation.response` which contains - // a `LongRunningRecognizeResponse` message. - // For more information on asynchronous speech recognition, see the - // [how-to](https://cloud.google.com/speech-to-text/docs/async-recognize). - LongRunningRecognize(context.Context, *LongRunningRecognizeRequest) (*longrunning.Operation, error) - // Performs bidirectional streaming speech recognition: receive results while - // sending audio. This method is only available via the gRPC API (not REST). - StreamingRecognize(Speech_StreamingRecognizeServer) error -} - -// UnimplementedSpeechServer can be embedded to have forward compatible implementations. -type UnimplementedSpeechServer struct { -} - -func (*UnimplementedSpeechServer) Recognize(ctx context.Context, req *RecognizeRequest) (*RecognizeResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method Recognize not implemented") -} -func (*UnimplementedSpeechServer) LongRunningRecognize(ctx context.Context, req *LongRunningRecognizeRequest) (*longrunning.Operation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method LongRunningRecognize not implemented") -} -func (*UnimplementedSpeechServer) StreamingRecognize(srv Speech_StreamingRecognizeServer) error { - return status1.Errorf(codes.Unimplemented, "method StreamingRecognize not implemented") -} - -func RegisterSpeechServer(s *grpc.Server, srv SpeechServer) { - s.RegisterService(&_Speech_serviceDesc, srv) -} - -func _Speech_Recognize_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RecognizeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SpeechServer).Recognize(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.speech.v1.Speech/Recognize", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SpeechServer).Recognize(ctx, req.(*RecognizeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Speech_LongRunningRecognize_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(LongRunningRecognizeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SpeechServer).LongRunningRecognize(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.speech.v1.Speech/LongRunningRecognize", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SpeechServer).LongRunningRecognize(ctx, req.(*LongRunningRecognizeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Speech_StreamingRecognize_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(SpeechServer).StreamingRecognize(&speechStreamingRecognizeServer{stream}) -} - -type Speech_StreamingRecognizeServer interface { - Send(*StreamingRecognizeResponse) error - Recv() (*StreamingRecognizeRequest, error) - grpc.ServerStream -} - -type speechStreamingRecognizeServer struct { - grpc.ServerStream -} - -func (x *speechStreamingRecognizeServer) Send(m *StreamingRecognizeResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *speechStreamingRecognizeServer) Recv() (*StreamingRecognizeRequest, error) { - m := new(StreamingRecognizeRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -var _Speech_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.speech.v1.Speech", - HandlerType: (*SpeechServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Recognize", - Handler: _Speech_Recognize_Handler, - }, - { - MethodName: "LongRunningRecognize", - Handler: _Speech_LongRunningRecognize_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "StreamingRecognize", - Handler: _Speech_StreamingRecognize_Handler, - ServerStreams: true, - ClientStreams: true, - }, - }, - Metadata: "google/cloud/speech/v1/cloud_speech.proto", -} 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 deleted file mode 100644 index cb27d49e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/speech/v1p1beta1/cloud_speech.pb.go +++ /dev/null @@ -1,2245 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/speech/v1p1beta1/cloud_speech.proto - -package speech - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/any" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The encoding of the audio data sent in the request. -// -// All encodings support only 1 channel (mono) audio, unless the -// `audio_channel_count` and `enable_separate_recognition_per_channel` fields -// are set. -// -// For best results, the audio source should be captured and transmitted using -// 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`, `SPEEX_WITH_HEADER_BYTE`, and `MP3`. -// -// 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. - RecognitionConfig_ENCODING_UNSPECIFIED RecognitionConfig_AudioEncoding = 0 - // Uncompressed 16-bit signed little-endian samples (Linear PCM). - RecognitionConfig_LINEAR16 RecognitionConfig_AudioEncoding = 1 - // `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 - // encoding supports 16-bit and 24-bit samples, however, not all fields in - // `STREAMINFO` are supported. - RecognitionConfig_FLAC RecognitionConfig_AudioEncoding = 2 - // 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. - RecognitionConfig_MULAW RecognitionConfig_AudioEncoding = 3 - // Adaptive Multi-Rate Narrowband codec. `sample_rate_hertz` must be 8000. - RecognitionConfig_AMR RecognitionConfig_AudioEncoding = 4 - // Adaptive Multi-Rate Wideband codec. `sample_rate_hertz` must be 16000. - RecognitionConfig_AMR_WB RecognitionConfig_AudioEncoding = 5 - // Opus encoded audio frames in Ogg container - // ([OggOpus](https://wiki.xiph.org/OggOpus)). - // `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 - // Speex encoding. The [Speex](https://speex.org/) encoding supported by - // Cloud Speech API has a header byte in each block, as in MIME type - // `audio/x-speex-with-header-byte`. - // It is a variant of the RTP Speex encoding defined in - // [RFC 5574](https://tools.ietf.org/html/rfc5574). - // The stream is a sequence of blocks, one block per RTP packet. Each block - // starts with a byte containing the length of the block, in bytes, followed - // by one or more frames of Speex data, padded to an integral number of - // bytes (octets) as specified in RFC 5574. In other words, each RTP header - // is replaced with a single byte containing the block length. Only Speex - // wideband is supported. `sample_rate_hertz` must be 16000. - RecognitionConfig_SPEEX_WITH_HEADER_BYTE RecognitionConfig_AudioEncoding = 7 - // MP3 audio. Support all standard MP3 bitrates (which range from 32-320 - // kbps). When using this encoding, `sample_rate_hertz` can be optionally - // unset if not known. - RecognitionConfig_MP3 RecognitionConfig_AudioEncoding = 8 -) - -var RecognitionConfig_AudioEncoding_name = map[int32]string{ - 0: "ENCODING_UNSPECIFIED", - 1: "LINEAR16", - 2: "FLAC", - 3: "MULAW", - 4: "AMR", - 5: "AMR_WB", - 6: "OGG_OPUS", - 7: "SPEEX_WITH_HEADER_BYTE", - 8: "MP3", -} - -var RecognitionConfig_AudioEncoding_value = map[string]int32{ - "ENCODING_UNSPECIFIED": 0, - "LINEAR16": 1, - "FLAC": 2, - "MULAW": 3, - "AMR": 4, - "AMR_WB": 5, - "OGG_OPUS": 6, - "SPEEX_WITH_HEADER_BYTE": 7, - "MP3": 8, -} - -func (x RecognitionConfig_AudioEncoding) String() string { - return proto.EnumName(RecognitionConfig_AudioEncoding_name, int32(x)) -} - -func (RecognitionConfig_AudioEncoding) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6adcab595cc29495, []int{4, 0} -} - -// Use case categories that the audio recognition request can be described -// by. -type RecognitionMetadata_InteractionType int32 - -const ( - // Use case is either unknown or is something other than one of the other - // values below. - RecognitionMetadata_INTERACTION_TYPE_UNSPECIFIED RecognitionMetadata_InteractionType = 0 - // Multiple people in a conversation or discussion. For example in a - // meeting with two or more people actively participating. Typically - // all the primary people speaking would be in the same room (if not, - // see PHONE_CALL) - RecognitionMetadata_DISCUSSION RecognitionMetadata_InteractionType = 1 - // One or more persons lecturing or presenting to others, mostly - // uninterrupted. - RecognitionMetadata_PRESENTATION RecognitionMetadata_InteractionType = 2 - // A phone-call or video-conference in which two or more people, who are - // not in the same room, are actively participating. - RecognitionMetadata_PHONE_CALL RecognitionMetadata_InteractionType = 3 - // A recorded message intended for another person to listen to. - RecognitionMetadata_VOICEMAIL RecognitionMetadata_InteractionType = 4 - // Professionally produced audio (eg. TV Show, Podcast). - RecognitionMetadata_PROFESSIONALLY_PRODUCED RecognitionMetadata_InteractionType = 5 - // Transcribe spoken questions and queries into text. - RecognitionMetadata_VOICE_SEARCH RecognitionMetadata_InteractionType = 6 - // Transcribe voice commands, such as for controlling a device. - RecognitionMetadata_VOICE_COMMAND RecognitionMetadata_InteractionType = 7 - // Transcribe speech to text to create a written document, such as a - // text-message, email or report. - RecognitionMetadata_DICTATION RecognitionMetadata_InteractionType = 8 -) - -var RecognitionMetadata_InteractionType_name = map[int32]string{ - 0: "INTERACTION_TYPE_UNSPECIFIED", - 1: "DISCUSSION", - 2: "PRESENTATION", - 3: "PHONE_CALL", - 4: "VOICEMAIL", - 5: "PROFESSIONALLY_PRODUCED", - 6: "VOICE_SEARCH", - 7: "VOICE_COMMAND", - 8: "DICTATION", -} - -var RecognitionMetadata_InteractionType_value = map[string]int32{ - "INTERACTION_TYPE_UNSPECIFIED": 0, - "DISCUSSION": 1, - "PRESENTATION": 2, - "PHONE_CALL": 3, - "VOICEMAIL": 4, - "PROFESSIONALLY_PRODUCED": 5, - "VOICE_SEARCH": 6, - "VOICE_COMMAND": 7, - "DICTATION": 8, -} - -func (x RecognitionMetadata_InteractionType) String() string { - return proto.EnumName(RecognitionMetadata_InteractionType_name, int32(x)) -} - -func (RecognitionMetadata_InteractionType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6adcab595cc29495, []int{6, 0} -} - -// Enumerates the types of capture settings describing an audio file. -type RecognitionMetadata_MicrophoneDistance int32 - -const ( - // Audio type is not known. - RecognitionMetadata_MICROPHONE_DISTANCE_UNSPECIFIED RecognitionMetadata_MicrophoneDistance = 0 - // The audio was captured from a closely placed microphone. Eg. phone, - // dictaphone, or handheld microphone. Generally if there speaker is within - // 1 meter of the microphone. - RecognitionMetadata_NEARFIELD RecognitionMetadata_MicrophoneDistance = 1 - // The speaker if within 3 meters of the microphone. - RecognitionMetadata_MIDFIELD RecognitionMetadata_MicrophoneDistance = 2 - // The speaker is more than 3 meters away from the microphone. - RecognitionMetadata_FARFIELD RecognitionMetadata_MicrophoneDistance = 3 -) - -var RecognitionMetadata_MicrophoneDistance_name = map[int32]string{ - 0: "MICROPHONE_DISTANCE_UNSPECIFIED", - 1: "NEARFIELD", - 2: "MIDFIELD", - 3: "FARFIELD", -} - -var RecognitionMetadata_MicrophoneDistance_value = map[string]int32{ - "MICROPHONE_DISTANCE_UNSPECIFIED": 0, - "NEARFIELD": 1, - "MIDFIELD": 2, - "FARFIELD": 3, -} - -func (x RecognitionMetadata_MicrophoneDistance) String() string { - return proto.EnumName(RecognitionMetadata_MicrophoneDistance_name, int32(x)) -} - -func (RecognitionMetadata_MicrophoneDistance) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6adcab595cc29495, []int{6, 1} -} - -// The original media the speech was recorded on. -type RecognitionMetadata_OriginalMediaType int32 - -const ( - // Unknown original media type. - RecognitionMetadata_ORIGINAL_MEDIA_TYPE_UNSPECIFIED RecognitionMetadata_OriginalMediaType = 0 - // The speech data is an audio recording. - RecognitionMetadata_AUDIO RecognitionMetadata_OriginalMediaType = 1 - // The speech data originally recorded on a video. - RecognitionMetadata_VIDEO RecognitionMetadata_OriginalMediaType = 2 -) - -var RecognitionMetadata_OriginalMediaType_name = map[int32]string{ - 0: "ORIGINAL_MEDIA_TYPE_UNSPECIFIED", - 1: "AUDIO", - 2: "VIDEO", -} - -var RecognitionMetadata_OriginalMediaType_value = map[string]int32{ - "ORIGINAL_MEDIA_TYPE_UNSPECIFIED": 0, - "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_6adcab595cc29495, []int{6, 2} -} - -// The type of device the speech was recorded with. -type RecognitionMetadata_RecordingDeviceType int32 - -const ( - // The recording device is unknown. - RecognitionMetadata_RECORDING_DEVICE_TYPE_UNSPECIFIED RecognitionMetadata_RecordingDeviceType = 0 - // Speech was recorded on a smartphone. - RecognitionMetadata_SMARTPHONE RecognitionMetadata_RecordingDeviceType = 1 - // Speech was recorded using a personal computer or tablet. - RecognitionMetadata_PC RecognitionMetadata_RecordingDeviceType = 2 - // Speech was recorded over a phone line. - RecognitionMetadata_PHONE_LINE RecognitionMetadata_RecordingDeviceType = 3 - // Speech was recorded in a vehicle. - RecognitionMetadata_VEHICLE RecognitionMetadata_RecordingDeviceType = 4 - // Speech was recorded outdoors. - RecognitionMetadata_OTHER_OUTDOOR_DEVICE RecognitionMetadata_RecordingDeviceType = 5 - // Speech was recorded indoors. - RecognitionMetadata_OTHER_INDOOR_DEVICE RecognitionMetadata_RecordingDeviceType = 6 -) - -var RecognitionMetadata_RecordingDeviceType_name = map[int32]string{ - 0: "RECORDING_DEVICE_TYPE_UNSPECIFIED", - 1: "SMARTPHONE", - 2: "PC", - 3: "PHONE_LINE", - 4: "VEHICLE", - 5: "OTHER_OUTDOOR_DEVICE", - 6: "OTHER_INDOOR_DEVICE", -} - -var RecognitionMetadata_RecordingDeviceType_value = map[string]int32{ - "RECORDING_DEVICE_TYPE_UNSPECIFIED": 0, - "SMARTPHONE": 1, - "PC": 2, - "PHONE_LINE": 3, - "VEHICLE": 4, - "OTHER_OUTDOOR_DEVICE": 5, - "OTHER_INDOOR_DEVICE": 6, -} - -func (x RecognitionMetadata_RecordingDeviceType) String() string { - return proto.EnumName(RecognitionMetadata_RecordingDeviceType_name, int32(x)) -} - -func (RecognitionMetadata_RecordingDeviceType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6adcab595cc29495, []int{6, 3} -} - -// Indicates the type of speech event. -type StreamingRecognizeResponse_SpeechEventType int32 - -const ( - // No speech event specified. - StreamingRecognizeResponse_SPEECH_EVENT_UNSPECIFIED StreamingRecognizeResponse_SpeechEventType = 0 - // This event indicates that the server has detected the end of the user's - // speech utterance and expects no additional speech. Therefore, the server - // will not process additional audio (although it may subsequently return - // additional results). The client should stop sending additional audio - // data, half-close the gRPC connection, and wait for any additional results - // until the server closes the gRPC connection. This event is only sent if - // `single_utterance` was set to `true`, and is not used otherwise. - StreamingRecognizeResponse_END_OF_SINGLE_UTTERANCE StreamingRecognizeResponse_SpeechEventType = 1 -) - -var StreamingRecognizeResponse_SpeechEventType_name = map[int32]string{ - 0: "SPEECH_EVENT_UNSPECIFIED", - 1: "END_OF_SINGLE_UTTERANCE", -} - -var StreamingRecognizeResponse_SpeechEventType_value = map[string]int32{ - "SPEECH_EVENT_UNSPECIFIED": 0, - "END_OF_SINGLE_UTTERANCE": 1, -} - -func (x StreamingRecognizeResponse_SpeechEventType) String() string { - return proto.EnumName(StreamingRecognizeResponse_SpeechEventType_name, int32(x)) -} - -func (StreamingRecognizeResponse_SpeechEventType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6adcab595cc29495, []int{12, 0} -} - -// The top-level message sent by the client for the `Recognize` method. -type RecognizeRequest struct { - // Required. Provides information to the recognizer that specifies how to - // process the request. - Config *RecognitionConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` - // Required. The audio data to be recognized. - Audio *RecognitionAudio `protobuf:"bytes,2,opt,name=audio,proto3" json:"audio,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_6adcab595cc29495, []int{0} -} - -func (m *RecognizeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RecognizeRequest.Unmarshal(m, b) -} -func (m *RecognizeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RecognizeRequest.Marshal(b, m, deterministic) -} -func (m *RecognizeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RecognizeRequest.Merge(m, src) -} -func (m *RecognizeRequest) XXX_Size() int { - return xxx_messageInfo_RecognizeRequest.Size(m) -} -func (m *RecognizeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RecognizeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_RecognizeRequest proto.InternalMessageInfo - -func (m *RecognizeRequest) GetConfig() *RecognitionConfig { - if m != nil { - return m.Config - } - return nil -} - -func (m *RecognizeRequest) GetAudio() *RecognitionAudio { - if m != nil { - return m.Audio - } - return nil -} - -// The top-level message sent by the client for the `LongRunningRecognize` -// method. -type LongRunningRecognizeRequest struct { - // Required. Provides information to the recognizer that specifies how to - // process the request. - Config *RecognitionConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` - // Required. The audio data to be recognized. - Audio *RecognitionAudio `protobuf:"bytes,2,opt,name=audio,proto3" json:"audio,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LongRunningRecognizeRequest) Reset() { *m = LongRunningRecognizeRequest{} } -func (m *LongRunningRecognizeRequest) String() string { return proto.CompactTextString(m) } -func (*LongRunningRecognizeRequest) ProtoMessage() {} -func (*LongRunningRecognizeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6adcab595cc29495, []int{1} -} - -func (m *LongRunningRecognizeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LongRunningRecognizeRequest.Unmarshal(m, b) -} -func (m *LongRunningRecognizeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LongRunningRecognizeRequest.Marshal(b, m, deterministic) -} -func (m *LongRunningRecognizeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_LongRunningRecognizeRequest.Merge(m, src) -} -func (m *LongRunningRecognizeRequest) XXX_Size() int { - return xxx_messageInfo_LongRunningRecognizeRequest.Size(m) -} -func (m *LongRunningRecognizeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_LongRunningRecognizeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_LongRunningRecognizeRequest proto.InternalMessageInfo - -func (m *LongRunningRecognizeRequest) GetConfig() *RecognitionConfig { - if m != nil { - return m.Config - } - return nil -} - -func (m *LongRunningRecognizeRequest) GetAudio() *RecognitionAudio { - if m != nil { - return m.Audio - } - return nil -} - -// The top-level message sent by the client for the `StreamingRecognize` method. -// Multiple `StreamingRecognizeRequest` messages are sent. The first message -// must contain a `streaming_config` message and must not contain -// `audio_content`. All subsequent messages must contain `audio_content` and -// must not contain a `streaming_config` message. -type StreamingRecognizeRequest struct { - // The streaming request, which is either a streaming config or audio content. - // - // Types that are valid to be assigned to StreamingRequest: - // *StreamingRecognizeRequest_StreamingConfig - // *StreamingRecognizeRequest_AudioContent - StreamingRequest isStreamingRecognizeRequest_StreamingRequest `protobuf_oneof:"streaming_request"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StreamingRecognizeRequest) Reset() { *m = StreamingRecognizeRequest{} } -func (m *StreamingRecognizeRequest) String() string { return proto.CompactTextString(m) } -func (*StreamingRecognizeRequest) ProtoMessage() {} -func (*StreamingRecognizeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6adcab595cc29495, []int{2} -} - -func (m *StreamingRecognizeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingRecognizeRequest.Unmarshal(m, b) -} -func (m *StreamingRecognizeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingRecognizeRequest.Marshal(b, m, deterministic) -} -func (m *StreamingRecognizeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingRecognizeRequest.Merge(m, src) -} -func (m *StreamingRecognizeRequest) XXX_Size() int { - return xxx_messageInfo_StreamingRecognizeRequest.Size(m) -} -func (m *StreamingRecognizeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingRecognizeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingRecognizeRequest proto.InternalMessageInfo - -type isStreamingRecognizeRequest_StreamingRequest interface { - isStreamingRecognizeRequest_StreamingRequest() -} - -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 (m *StreamingRecognizeRequest) GetStreamingRequest() isStreamingRecognizeRequest_StreamingRequest { - if m != nil { - return m.StreamingRequest - } - return nil -} - -func (m *StreamingRecognizeRequest) GetStreamingConfig() *StreamingRecognitionConfig { - if x, ok := m.GetStreamingRequest().(*StreamingRecognizeRequest_StreamingConfig); ok { - return x.StreamingConfig - } - return nil -} - -func (m *StreamingRecognizeRequest) GetAudioContent() []byte { - if x, ok := m.GetStreamingRequest().(*StreamingRecognizeRequest_AudioContent); ok { - return x.AudioContent - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*StreamingRecognizeRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*StreamingRecognizeRequest_StreamingConfig)(nil), - (*StreamingRecognizeRequest_AudioContent)(nil), - } -} - -// Provides information to the recognizer that specifies how to process the -// request. -type StreamingRecognitionConfig struct { - // Required. Provides information to the recognizer that specifies how to - // process the request. - Config *RecognitionConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` - // If `false` or omitted, the recognizer will perform continuous - // recognition (continuing to wait for and process audio even if the user - // pauses speaking) until the client closes the input stream (gRPC API) or - // until the maximum time limit has been reached. May return multiple - // `StreamingRecognitionResult`s with the `is_final` flag set to `true`. - // - // If `true`, the recognizer will detect a single spoken utterance. When it - // detects that the user has paused or stopped speaking, it will return an - // `END_OF_SINGLE_UTTERANCE` event and cease recognition. It will return no - // more than one `StreamingRecognitionResult` with the `is_final` flag set to - // `true`. - SingleUtterance bool `protobuf:"varint,2,opt,name=single_utterance,json=singleUtterance,proto3" json:"single_utterance,omitempty"` - // If `true`, interim results (tentative hypotheses) may be - // returned as they become available (these interim results are indicated with - // the `is_final=false` flag). - // If `false` or omitted, only `is_final=true` result(s) are returned. - InterimResults bool `protobuf:"varint,3,opt,name=interim_results,json=interimResults,proto3" json:"interim_results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StreamingRecognitionConfig) Reset() { *m = StreamingRecognitionConfig{} } -func (m *StreamingRecognitionConfig) String() string { return proto.CompactTextString(m) } -func (*StreamingRecognitionConfig) ProtoMessage() {} -func (*StreamingRecognitionConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_6adcab595cc29495, []int{3} -} - -func (m *StreamingRecognitionConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingRecognitionConfig.Unmarshal(m, b) -} -func (m *StreamingRecognitionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingRecognitionConfig.Marshal(b, m, deterministic) -} -func (m *StreamingRecognitionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingRecognitionConfig.Merge(m, src) -} -func (m *StreamingRecognitionConfig) XXX_Size() int { - return xxx_messageInfo_StreamingRecognitionConfig.Size(m) -} -func (m *StreamingRecognitionConfig) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingRecognitionConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingRecognitionConfig proto.InternalMessageInfo - -func (m *StreamingRecognitionConfig) GetConfig() *RecognitionConfig { - if m != nil { - return m.Config - } - return nil -} - -func (m *StreamingRecognitionConfig) GetSingleUtterance() bool { - if m != nil { - return m.SingleUtterance - } - return false -} - -func (m *StreamingRecognitionConfig) GetInterimResults() bool { - if m != nil { - return m.InterimResults - } - return false -} - -// Provides information to the recognizer that specifies how to process the -// request. -type RecognitionConfig struct { - // 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.v1p1beta1.RecognitionConfig.AudioEncoding]. - Encoding RecognitionConfig_AudioEncoding `protobuf:"varint,1,opt,name=encoding,proto3,enum=google.cloud.speech.v1p1beta1.RecognitionConfig_AudioEncoding" json:"encoding,omitempty"` - // 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, but is - // required for all other audio formats. For details, see [AudioEncoding][google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding]. - SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"` - // The number of channels in the input audio data. - // ONLY set this for MULTI-CHANNEL recognition. - // Valid values for LINEAR16 and FLAC are `1`-`8`. - // 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. - // To perform independent recognition on each channel set - // `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 - // 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. 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-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"` - // 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-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 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"` - // Maximum number of recognition hypotheses to be returned. - // Specifically, the maximum number of `SpeechRecognitionAlternative` messages - // within each `SpeechRecognitionResult`. - // 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,4,opt,name=max_alternatives,json=maxAlternatives,proto3" json:"max_alternatives,omitempty"` - // 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. - ProfanityFilter bool `protobuf:"varint,5,opt,name=profanity_filter,json=profanityFilter,proto3" json:"profanity_filter,omitempty"` - // Array of [SpeechContext][google.cloud.speech.v1p1beta1.SpeechContext]. - // A means to provide context to assist the speech recognition. For more - // information, see - // [speech - // adaptation](https://cloud.google.com/speech-to-text/docs/context-strength). - SpeechContexts []*SpeechContext `protobuf:"bytes,6,rep,name=speech_contexts,json=speechContexts,proto3" json:"speech_contexts,omitempty"` - // 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"` - // 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,15,opt,name=enable_word_confidence,json=enableWordConfidence,proto3" json:"enable_word_confidence,omitempty"` - // 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"` - // 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: Use diarization_config instead. - EnableSpeakerDiarization bool `protobuf:"varint,16,opt,name=enable_speaker_diarization,json=enableSpeakerDiarization,proto3" json:"enable_speaker_diarization,omitempty"` // Deprecated: Do not use. - // If set, specifies the estimated number of speakers in the conversation. - // Defaults to '2'. Ignored unless enable_speaker_diarization is set to true. - // Note: Use diarization_config instead. - DiarizationSpeakerCount int32 `protobuf:"varint,17,opt,name=diarization_speaker_count,json=diarizationSpeakerCount,proto3" json:"diarization_speaker_count,omitempty"` // Deprecated: Do not use. - // Config to enable speaker diarization and set additional - // parameters to make diarization better suited for your application. - // Note: When this is enabled, we send all the words from the beginning of the - // 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. - DiarizationConfig *SpeakerDiarizationConfig `protobuf:"bytes,19,opt,name=diarization_config,json=diarizationConfig,proto3" json:"diarization_config,omitempty"` - // Metadata regarding this request. - Metadata *RecognitionMetadata `protobuf:"bytes,9,opt,name=metadata,proto3" json:"metadata,omitempty"` - // 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"` - // Set to true to use an enhanced model for speech recognition. - // If `use_enhanced` is set to true and the `model` field is not set, then - // an appropriate enhanced model is chosen if 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. - 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_6adcab595cc29495, []int{4} -} - -func (m *RecognitionConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RecognitionConfig.Unmarshal(m, b) -} -func (m *RecognitionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RecognitionConfig.Marshal(b, m, deterministic) -} -func (m *RecognitionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_RecognitionConfig.Merge(m, src) -} -func (m *RecognitionConfig) XXX_Size() int { - return xxx_messageInfo_RecognitionConfig.Size(m) -} -func (m *RecognitionConfig) XXX_DiscardUnknown() { - xxx_messageInfo_RecognitionConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_RecognitionConfig proto.InternalMessageInfo - -func (m *RecognitionConfig) GetEncoding() RecognitionConfig_AudioEncoding { - if m != nil { - return m.Encoding - } - return RecognitionConfig_ENCODING_UNSPECIFIED -} - -func (m *RecognitionConfig) GetSampleRateHertz() int32 { - if m != nil { - return m.SampleRateHertz - } - return 0 -} - -func (m *RecognitionConfig) GetAudioChannelCount() int32 { - if m != nil { - return m.AudioChannelCount - } - return 0 -} - -func (m *RecognitionConfig) GetEnableSeparateRecognitionPerChannel() bool { - if m != nil { - return m.EnableSeparateRecognitionPerChannel - } - return false -} - -func (m *RecognitionConfig) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *RecognitionConfig) GetAlternativeLanguageCodes() []string { - if m != nil { - return m.AlternativeLanguageCodes - } - return nil -} - -func (m *RecognitionConfig) GetMaxAlternatives() int32 { - if m != nil { - return m.MaxAlternatives - } - return 0 -} - -func (m *RecognitionConfig) GetProfanityFilter() bool { - if m != nil { - return m.ProfanityFilter - } - return false -} - -func (m *RecognitionConfig) GetSpeechContexts() []*SpeechContext { - if m != nil { - return m.SpeechContexts - } - return nil -} - -func (m *RecognitionConfig) GetEnableWordTimeOffsets() bool { - if m != nil { - return m.EnableWordTimeOffsets - } - return false -} - -func (m *RecognitionConfig) GetEnableWordConfidence() bool { - if m != nil { - return m.EnableWordConfidence - } - return false -} - -func (m *RecognitionConfig) GetEnableAutomaticPunctuation() bool { - if m != nil { - return m.EnableAutomaticPunctuation - } - return false -} - -// Deprecated: Do not use. -func (m *RecognitionConfig) GetEnableSpeakerDiarization() bool { - if m != nil { - return m.EnableSpeakerDiarization - } - return false -} - -// Deprecated: Do not use. -func (m *RecognitionConfig) GetDiarizationSpeakerCount() int32 { - if m != nil { - return m.DiarizationSpeakerCount - } - return 0 -} - -func (m *RecognitionConfig) GetDiarizationConfig() *SpeakerDiarizationConfig { - if m != nil { - return m.DiarizationConfig - } - return nil -} - -func (m *RecognitionConfig) GetMetadata() *RecognitionMetadata { - if m != nil { - return m.Metadata - } - return nil -} - -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 -} - -// Config to enable speaker diarization. -type SpeakerDiarizationConfig struct { - // 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. - EnableSpeakerDiarization bool `protobuf:"varint,1,opt,name=enable_speaker_diarization,json=enableSpeakerDiarization,proto3" json:"enable_speaker_diarization,omitempty"` - // Minimum number of speakers in the conversation. This range gives you more - // flexibility by allowing the system to automatically determine the correct - // number of speakers. If not set, the default value is 2. - MinSpeakerCount int32 `protobuf:"varint,2,opt,name=min_speaker_count,json=minSpeakerCount,proto3" json:"min_speaker_count,omitempty"` - // Maximum number of speakers in the conversation. This range gives you more - // flexibility by allowing the system to automatically determine the correct - // number of speakers. If not set, the default value is 6. - MaxSpeakerCount int32 `protobuf:"varint,3,opt,name=max_speaker_count,json=maxSpeakerCount,proto3" json:"max_speaker_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SpeakerDiarizationConfig) Reset() { *m = SpeakerDiarizationConfig{} } -func (m *SpeakerDiarizationConfig) String() string { return proto.CompactTextString(m) } -func (*SpeakerDiarizationConfig) ProtoMessage() {} -func (*SpeakerDiarizationConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_6adcab595cc29495, []int{5} -} - -func (m *SpeakerDiarizationConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SpeakerDiarizationConfig.Unmarshal(m, b) -} -func (m *SpeakerDiarizationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SpeakerDiarizationConfig.Marshal(b, m, deterministic) -} -func (m *SpeakerDiarizationConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpeakerDiarizationConfig.Merge(m, src) -} -func (m *SpeakerDiarizationConfig) XXX_Size() int { - return xxx_messageInfo_SpeakerDiarizationConfig.Size(m) -} -func (m *SpeakerDiarizationConfig) XXX_DiscardUnknown() { - xxx_messageInfo_SpeakerDiarizationConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_SpeakerDiarizationConfig proto.InternalMessageInfo - -func (m *SpeakerDiarizationConfig) GetEnableSpeakerDiarization() bool { - if m != nil { - return m.EnableSpeakerDiarization - } - return false -} - -func (m *SpeakerDiarizationConfig) GetMinSpeakerCount() int32 { - if m != nil { - return m.MinSpeakerCount - } - return 0 -} - -func (m *SpeakerDiarizationConfig) GetMaxSpeakerCount() int32 { - if m != nil { - return m.MaxSpeakerCount - } - return 0 -} - -// Description of audio data to be recognized. -type RecognitionMetadata struct { - // The use case most closely describing the audio content to be recognized. - InteractionType RecognitionMetadata_InteractionType `protobuf:"varint,1,opt,name=interaction_type,json=interactionType,proto3,enum=google.cloud.speech.v1p1beta1.RecognitionMetadata_InteractionType" json:"interaction_type,omitempty"` - // The industry vertical to which this speech recognition request most - // closely applies. This is most indicative of the topics contained - // in the audio. Use the 6-digit NAICS code to identify the industry - // vertical - see https://www.naics.com/search/. - IndustryNaicsCodeOfAudio uint32 `protobuf:"varint,3,opt,name=industry_naics_code_of_audio,json=industryNaicsCodeOfAudio,proto3" json:"industry_naics_code_of_audio,omitempty"` - // The audio type that most closely describes the audio being recognized. - MicrophoneDistance RecognitionMetadata_MicrophoneDistance `protobuf:"varint,4,opt,name=microphone_distance,json=microphoneDistance,proto3,enum=google.cloud.speech.v1p1beta1.RecognitionMetadata_MicrophoneDistance" json:"microphone_distance,omitempty"` - // The original media the speech was recorded on. - OriginalMediaType RecognitionMetadata_OriginalMediaType `protobuf:"varint,5,opt,name=original_media_type,json=originalMediaType,proto3,enum=google.cloud.speech.v1p1beta1.RecognitionMetadata_OriginalMediaType" json:"original_media_type,omitempty"` - // The type of device the speech was recorded with. - RecordingDeviceType RecognitionMetadata_RecordingDeviceType `protobuf:"varint,6,opt,name=recording_device_type,json=recordingDeviceType,proto3,enum=google.cloud.speech.v1p1beta1.RecognitionMetadata_RecordingDeviceType" json:"recording_device_type,omitempty"` - // The device used to make the recording. Examples 'Nexus 5X' or - // 'Polycom SoundStation IP 6000' or 'POTS' or 'VoIP' or - // 'Cardioid Microphone'. - RecordingDeviceName string `protobuf:"bytes,7,opt,name=recording_device_name,json=recordingDeviceName,proto3" json:"recording_device_name,omitempty"` - // Mime type of the original audio file. For example `audio/m4a`, - // `audio/x-alaw-basic`, `audio/mp3`, `audio/3gpp`. - // A list of possible audio mime types is maintained at - // http://www.iana.org/assignments/media-types/media-types.xhtml#audio - OriginalMimeType string `protobuf:"bytes,8,opt,name=original_mime_type,json=originalMimeType,proto3" json:"original_mime_type,omitempty"` - // Obfuscated (privacy-protected) ID of the user, to identify number of - // unique users using the service. - ObfuscatedId int64 `protobuf:"varint,9,opt,name=obfuscated_id,json=obfuscatedId,proto3" json:"obfuscated_id,omitempty"` // Deprecated: Do not use. - // Description of the content. Eg. "Recordings of federal supreme court - // hearings from 2012". - AudioTopic string `protobuf:"bytes,10,opt,name=audio_topic,json=audioTopic,proto3" json:"audio_topic,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_6adcab595cc29495, []int{6} -} - -func (m *RecognitionMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RecognitionMetadata.Unmarshal(m, b) -} -func (m *RecognitionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RecognitionMetadata.Marshal(b, m, deterministic) -} -func (m *RecognitionMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_RecognitionMetadata.Merge(m, src) -} -func (m *RecognitionMetadata) XXX_Size() int { - return xxx_messageInfo_RecognitionMetadata.Size(m) -} -func (m *RecognitionMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_RecognitionMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_RecognitionMetadata proto.InternalMessageInfo - -func (m *RecognitionMetadata) GetInteractionType() RecognitionMetadata_InteractionType { - if m != nil { - return m.InteractionType - } - return RecognitionMetadata_INTERACTION_TYPE_UNSPECIFIED -} - -func (m *RecognitionMetadata) GetIndustryNaicsCodeOfAudio() uint32 { - if m != nil { - return m.IndustryNaicsCodeOfAudio - } - return 0 -} - -func (m *RecognitionMetadata) GetMicrophoneDistance() RecognitionMetadata_MicrophoneDistance { - if m != nil { - return m.MicrophoneDistance - } - return RecognitionMetadata_MICROPHONE_DISTANCE_UNSPECIFIED -} - -func (m *RecognitionMetadata) GetOriginalMediaType() RecognitionMetadata_OriginalMediaType { - if m != nil { - return m.OriginalMediaType - } - return RecognitionMetadata_ORIGINAL_MEDIA_TYPE_UNSPECIFIED -} - -func (m *RecognitionMetadata) GetRecordingDeviceType() RecognitionMetadata_RecordingDeviceType { - if m != nil { - return m.RecordingDeviceType - } - return RecognitionMetadata_RECORDING_DEVICE_TYPE_UNSPECIFIED -} - -func (m *RecognitionMetadata) GetRecordingDeviceName() string { - if m != nil { - return m.RecordingDeviceName - } - return "" -} - -func (m *RecognitionMetadata) GetOriginalMimeType() string { - if m != nil { - return m.OriginalMimeType - } - return "" -} - -// Deprecated: Do not use. -func (m *RecognitionMetadata) GetObfuscatedId() int64 { - if m != nil { - return m.ObfuscatedId - } - return 0 -} - -func (m *RecognitionMetadata) GetAudioTopic() string { - if m != nil { - return m.AudioTopic - } - return "" -} - -// Provides "hints" to the speech recognizer to favor specific words and phrases -// in the results. -type SpeechContext struct { - // 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-to-text/quotas#content). - // - // List items can also be set to classes for groups of words that represent - // common concepts that occur in natural language. For example, rather than - // providing phrase hints for every month of the year, using the $MONTH class - // improves the likelihood of correctly transcribing audio that includes - // months. - Phrases []string `protobuf:"bytes,1,rep,name=phrases,proto3" json:"phrases,omitempty"` - // Hint Boost. Positive value will increase the probability that a specific - // phrase will be recognized over other similar sounding phrases. The higher - // the boost, the higher the chance of false positive recognition as well. - // Negative boost values would correspond to anti-biasing. Anti-biasing is not - // enabled, so negative boost will simply be ignored. Though `boost` can - // accept a wide range of positive values, most use cases are best served with - // values between 0 and 20. We recommend using a binary search approach to - // finding the optimal value for your use case. - Boost float32 `protobuf:"fixed32,4,opt,name=boost,proto3" json:"boost,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_6adcab595cc29495, []int{7} -} - -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 (m *SpeechContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpeechContext.Merge(m, 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 -} - -func (m *SpeechContext) GetBoost() float32 { - if m != nil { - return m.Boost - } - return 0 -} - -// 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 -// [content limits](https://cloud.google.com/speech-to-text/quotas#content). -type RecognitionAudio struct { - // The audio source, which is either inline content or a Google Cloud - // Storage uri. - // - // Types that are valid to be assigned to AudioSource: - // *RecognitionAudio_Content - // *RecognitionAudio_Uri - AudioSource isRecognitionAudio_AudioSource `protobuf_oneof:"audio_source"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_6adcab595cc29495, []int{8} -} - -func (m *RecognitionAudio) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RecognitionAudio.Unmarshal(m, b) -} -func (m *RecognitionAudio) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RecognitionAudio.Marshal(b, m, deterministic) -} -func (m *RecognitionAudio) XXX_Merge(src proto.Message) { - xxx_messageInfo_RecognitionAudio.Merge(m, src) -} -func (m *RecognitionAudio) XXX_Size() int { - return xxx_messageInfo_RecognitionAudio.Size(m) -} -func (m *RecognitionAudio) XXX_DiscardUnknown() { - xxx_messageInfo_RecognitionAudio.DiscardUnknown(m) -} - -var xxx_messageInfo_RecognitionAudio proto.InternalMessageInfo - -type isRecognitionAudio_AudioSource interface { - isRecognitionAudio_AudioSource() -} - -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 (m *RecognitionAudio) GetAudioSource() isRecognitionAudio_AudioSource { - if m != nil { - return m.AudioSource - } - return nil -} - -func (m *RecognitionAudio) GetContent() []byte { - if x, ok := m.GetAudioSource().(*RecognitionAudio_Content); ok { - return x.Content - } - return nil -} - -func (m *RecognitionAudio) GetUri() string { - if x, ok := m.GetAudioSource().(*RecognitionAudio_Uri); ok { - return x.Uri - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*RecognitionAudio) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*RecognitionAudio_Content)(nil), - (*RecognitionAudio_Uri)(nil), - } -} - -// The only message returned to the client by the `Recognize` method. It -// contains the result as zero or more sequential `SpeechRecognitionResult` -// messages. -type RecognizeResponse struct { - // 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:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_6adcab595cc29495, []int{9} -} - -func (m *RecognizeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RecognizeResponse.Unmarshal(m, b) -} -func (m *RecognizeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RecognizeResponse.Marshal(b, m, deterministic) -} -func (m *RecognizeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RecognizeResponse.Merge(m, src) -} -func (m *RecognizeResponse) XXX_Size() int { - return xxx_messageInfo_RecognizeResponse.Size(m) -} -func (m *RecognizeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RecognizeResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_RecognizeResponse proto.InternalMessageInfo - -func (m *RecognizeResponse) GetResults() []*SpeechRecognitionResult { - if m != nil { - return m.Results - } - return nil -} - -// The only message returned to the client by the `LongRunningRecognize` method. -// It contains the result as zero or more sequential `SpeechRecognitionResult` -// messages. It is included in the `result.response` field of the `Operation` -// returned by the `GetOperation` call of the `google::longrunning::Operations` -// service. -type LongRunningRecognizeResponse struct { - // 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:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LongRunningRecognizeResponse) Reset() { *m = LongRunningRecognizeResponse{} } -func (m *LongRunningRecognizeResponse) String() string { return proto.CompactTextString(m) } -func (*LongRunningRecognizeResponse) ProtoMessage() {} -func (*LongRunningRecognizeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6adcab595cc29495, []int{10} -} - -func (m *LongRunningRecognizeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LongRunningRecognizeResponse.Unmarshal(m, b) -} -func (m *LongRunningRecognizeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LongRunningRecognizeResponse.Marshal(b, m, deterministic) -} -func (m *LongRunningRecognizeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_LongRunningRecognizeResponse.Merge(m, src) -} -func (m *LongRunningRecognizeResponse) XXX_Size() int { - return xxx_messageInfo_LongRunningRecognizeResponse.Size(m) -} -func (m *LongRunningRecognizeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_LongRunningRecognizeResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_LongRunningRecognizeResponse proto.InternalMessageInfo - -func (m *LongRunningRecognizeResponse) GetResults() []*SpeechRecognitionResult { - if m != nil { - return m.Results - } - return nil -} - -// Describes the progress of a long-running `LongRunningRecognize` call. It is -// included in the `metadata` field of the `Operation` returned by the -// `GetOperation` call of the `google::longrunning::Operations` service. -type LongRunningRecognizeMetadata struct { - // Approximate percentage of audio processed thus far. Guaranteed to be 100 - // when the audio is fully processed and the results are available. - ProgressPercent int32 `protobuf:"varint,1,opt,name=progress_percent,json=progressPercent,proto3" json:"progress_percent,omitempty"` - // Time when the request was received. - StartTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // Time of the most recent processing update. - LastUpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LongRunningRecognizeMetadata) Reset() { *m = LongRunningRecognizeMetadata{} } -func (m *LongRunningRecognizeMetadata) String() string { return proto.CompactTextString(m) } -func (*LongRunningRecognizeMetadata) ProtoMessage() {} -func (*LongRunningRecognizeMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_6adcab595cc29495, []int{11} -} - -func (m *LongRunningRecognizeMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LongRunningRecognizeMetadata.Unmarshal(m, b) -} -func (m *LongRunningRecognizeMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LongRunningRecognizeMetadata.Marshal(b, m, deterministic) -} -func (m *LongRunningRecognizeMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_LongRunningRecognizeMetadata.Merge(m, src) -} -func (m *LongRunningRecognizeMetadata) XXX_Size() int { - return xxx_messageInfo_LongRunningRecognizeMetadata.Size(m) -} -func (m *LongRunningRecognizeMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_LongRunningRecognizeMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_LongRunningRecognizeMetadata proto.InternalMessageInfo - -func (m *LongRunningRecognizeMetadata) GetProgressPercent() int32 { - if m != nil { - return m.ProgressPercent - } - return 0 -} - -func (m *LongRunningRecognizeMetadata) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *LongRunningRecognizeMetadata) GetLastUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.LastUpdateTime - } - return nil -} - -// `StreamingRecognizeResponse` is the only message returned to the client by -// `StreamingRecognize`. A series of zero or more `StreamingRecognizeResponse` -// messages are streamed back to the client. If there is no recognizable -// audio, and `single_utterance` is set to false, then no messages are streamed -// back to the client. -// -// Here's an example of a series of ten `StreamingRecognizeResponse`s that might -// be returned while processing audio: -// -// 1. results { alternatives { transcript: "tube" } stability: 0.01 } -// -// 2. results { alternatives { transcript: "to be a" } stability: 0.01 } -// -// 3. results { alternatives { transcript: "to be" } stability: 0.9 } -// results { alternatives { transcript: " or not to be" } stability: 0.01 } -// -// 4. results { alternatives { transcript: "to be or not to be" -// confidence: 0.92 } -// alternatives { transcript: "to bee or not to bee" } -// is_final: true } -// -// 5. results { alternatives { transcript: " that's" } stability: 0.01 } -// -// 6. results { alternatives { transcript: " that is" } stability: 0.9 } -// results { alternatives { transcript: " the question" } stability: 0.01 } -// -// 7. results { alternatives { transcript: " that is the question" -// confidence: 0.98 } -// alternatives { transcript: " that was the question" } -// is_final: true } -// -// Notes: -// -// - Only two of the above responses #4 and #7 contain final results; they are -// indicated by `is_final: true`. Concatenating these together generates the -// full transcript: "to be or not to be that is the question". -// -// - The others contain interim `results`. #3 and #6 contain two interim -// `results`: the first portion has a high stability and is less likely to -// change; the second portion has a low stability and is very likely to -// change. A UI designer might choose to show only high stability `results`. -// -// - The specific `stability` and `confidence` values shown above are only for -// illustrative purposes. Actual values may vary. -// -// - In each response, only one of these fields will be set: -// `error`, -// `speech_event_type`, or -// one or more (repeated) `results`. -type StreamingRecognizeResponse struct { - // 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"` - // This repeated list contains zero or more results that - // correspond to consecutive portions of the audio currently being processed. - // 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"` - // Indicates the type of speech event. - SpeechEventType StreamingRecognizeResponse_SpeechEventType `protobuf:"varint,4,opt,name=speech_event_type,json=speechEventType,proto3,enum=google.cloud.speech.v1p1beta1.StreamingRecognizeResponse_SpeechEventType" json:"speech_event_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StreamingRecognizeResponse) Reset() { *m = StreamingRecognizeResponse{} } -func (m *StreamingRecognizeResponse) String() string { return proto.CompactTextString(m) } -func (*StreamingRecognizeResponse) ProtoMessage() {} -func (*StreamingRecognizeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6adcab595cc29495, []int{12} -} - -func (m *StreamingRecognizeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingRecognizeResponse.Unmarshal(m, b) -} -func (m *StreamingRecognizeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingRecognizeResponse.Marshal(b, m, deterministic) -} -func (m *StreamingRecognizeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingRecognizeResponse.Merge(m, src) -} -func (m *StreamingRecognizeResponse) XXX_Size() int { - return xxx_messageInfo_StreamingRecognizeResponse.Size(m) -} -func (m *StreamingRecognizeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingRecognizeResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingRecognizeResponse proto.InternalMessageInfo - -func (m *StreamingRecognizeResponse) GetError() *status.Status { - if m != nil { - return m.Error - } - return nil -} - -func (m *StreamingRecognizeResponse) GetResults() []*StreamingRecognitionResult { - if m != nil { - return m.Results - } - return nil -} - -func (m *StreamingRecognizeResponse) GetSpeechEventType() StreamingRecognizeResponse_SpeechEventType { - if m != nil { - return m.SpeechEventType - } - return StreamingRecognizeResponse_SPEECH_EVENT_UNSPECIFIED -} - -// A streaming speech recognition result corresponding to a portion of the audio -// that is currently being processed. -type StreamingRecognitionResult 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"` - // 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"` - // 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`). - // 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"` - // 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'. - ChannelTag int32 `protobuf:"varint,5,opt,name=channel_tag,json=channelTag,proto3" json:"channel_tag,omitempty"` - // 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,6,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 *StreamingRecognitionResult) Reset() { *m = StreamingRecognitionResult{} } -func (m *StreamingRecognitionResult) String() string { return proto.CompactTextString(m) } -func (*StreamingRecognitionResult) ProtoMessage() {} -func (*StreamingRecognitionResult) Descriptor() ([]byte, []int) { - return fileDescriptor_6adcab595cc29495, []int{13} -} - -func (m *StreamingRecognitionResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingRecognitionResult.Unmarshal(m, b) -} -func (m *StreamingRecognitionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingRecognitionResult.Marshal(b, m, deterministic) -} -func (m *StreamingRecognitionResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingRecognitionResult.Merge(m, src) -} -func (m *StreamingRecognitionResult) XXX_Size() int { - return xxx_messageInfo_StreamingRecognitionResult.Size(m) -} -func (m *StreamingRecognitionResult) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingRecognitionResult.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingRecognitionResult proto.InternalMessageInfo - -func (m *StreamingRecognitionResult) GetAlternatives() []*SpeechRecognitionAlternative { - if m != nil { - return m.Alternatives - } - return nil -} - -func (m *StreamingRecognitionResult) GetIsFinal() bool { - if m != nil { - return m.IsFinal - } - return false -} - -func (m *StreamingRecognitionResult) GetStability() float32 { - if m != nil { - return m.Stability - } - 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 - } - return 0 -} - -func (m *StreamingRecognitionResult) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -// A speech recognition result corresponding to a portion of the audio. -type SpeechRecognitionResult 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"` - // 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'. - ChannelTag int32 `protobuf:"varint,2,opt,name=channel_tag,json=channelTag,proto3" json:"channel_tag,omitempty"` - // 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,5,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 *SpeechRecognitionResult) Reset() { *m = SpeechRecognitionResult{} } -func (m *SpeechRecognitionResult) String() string { return proto.CompactTextString(m) } -func (*SpeechRecognitionResult) ProtoMessage() {} -func (*SpeechRecognitionResult) Descriptor() ([]byte, []int) { - return fileDescriptor_6adcab595cc29495, []int{14} -} - -func (m *SpeechRecognitionResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SpeechRecognitionResult.Unmarshal(m, b) -} -func (m *SpeechRecognitionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SpeechRecognitionResult.Marshal(b, m, deterministic) -} -func (m *SpeechRecognitionResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpeechRecognitionResult.Merge(m, src) -} -func (m *SpeechRecognitionResult) XXX_Size() int { - return xxx_messageInfo_SpeechRecognitionResult.Size(m) -} -func (m *SpeechRecognitionResult) XXX_DiscardUnknown() { - xxx_messageInfo_SpeechRecognitionResult.DiscardUnknown(m) -} - -var xxx_messageInfo_SpeechRecognitionResult proto.InternalMessageInfo - -func (m *SpeechRecognitionResult) GetAlternatives() []*SpeechRecognitionAlternative { - if m != nil { - return m.Alternatives - } - return nil -} - -func (m *SpeechRecognitionResult) GetChannelTag() int32 { - if m != nil { - return m.ChannelTag - } - return 0 -} - -func (m *SpeechRecognitionResult) 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 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"` - // A list of word-specific information for each recognized word. - // 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:"-"` - 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_6adcab595cc29495, []int{15} -} - -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 (m *SpeechRecognitionAlternative) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpeechRecognitionAlternative.Merge(m, 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. -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"` - // 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 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,4,opt,name=confidence,proto3" json:"confidence,omitempty"` - // 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' to diarization_speaker_count. - // speaker_tag is set if enable_speaker_diarization = 'true' and only in the - // top alternative. - 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_6adcab595cc29495, []int{16} -} - -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 (m *WordInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_WordInfo.Merge(m, 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.RegisterEnum("google.cloud.speech.v1p1beta1.RecognitionConfig_AudioEncoding", RecognitionConfig_AudioEncoding_name, RecognitionConfig_AudioEncoding_value) - proto.RegisterEnum("google.cloud.speech.v1p1beta1.RecognitionMetadata_InteractionType", RecognitionMetadata_InteractionType_name, RecognitionMetadata_InteractionType_value) - proto.RegisterEnum("google.cloud.speech.v1p1beta1.RecognitionMetadata_MicrophoneDistance", RecognitionMetadata_MicrophoneDistance_name, RecognitionMetadata_MicrophoneDistance_value) - proto.RegisterEnum("google.cloud.speech.v1p1beta1.RecognitionMetadata_OriginalMediaType", RecognitionMetadata_OriginalMediaType_name, RecognitionMetadata_OriginalMediaType_value) - proto.RegisterEnum("google.cloud.speech.v1p1beta1.RecognitionMetadata_RecordingDeviceType", RecognitionMetadata_RecordingDeviceType_name, RecognitionMetadata_RecordingDeviceType_value) - proto.RegisterEnum("google.cloud.speech.v1p1beta1.StreamingRecognizeResponse_SpeechEventType", StreamingRecognizeResponse_SpeechEventType_name, StreamingRecognizeResponse_SpeechEventType_value) - proto.RegisterType((*RecognizeRequest)(nil), "google.cloud.speech.v1p1beta1.RecognizeRequest") - proto.RegisterType((*LongRunningRecognizeRequest)(nil), "google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest") - proto.RegisterType((*StreamingRecognizeRequest)(nil), "google.cloud.speech.v1p1beta1.StreamingRecognizeRequest") - proto.RegisterType((*StreamingRecognitionConfig)(nil), "google.cloud.speech.v1p1beta1.StreamingRecognitionConfig") - proto.RegisterType((*RecognitionConfig)(nil), "google.cloud.speech.v1p1beta1.RecognitionConfig") - proto.RegisterType((*SpeakerDiarizationConfig)(nil), "google.cloud.speech.v1p1beta1.SpeakerDiarizationConfig") - proto.RegisterType((*RecognitionMetadata)(nil), "google.cloud.speech.v1p1beta1.RecognitionMetadata") - proto.RegisterType((*SpeechContext)(nil), "google.cloud.speech.v1p1beta1.SpeechContext") - proto.RegisterType((*RecognitionAudio)(nil), "google.cloud.speech.v1p1beta1.RecognitionAudio") - proto.RegisterType((*RecognizeResponse)(nil), "google.cloud.speech.v1p1beta1.RecognizeResponse") - proto.RegisterType((*LongRunningRecognizeResponse)(nil), "google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse") - proto.RegisterType((*LongRunningRecognizeMetadata)(nil), "google.cloud.speech.v1p1beta1.LongRunningRecognizeMetadata") - proto.RegisterType((*StreamingRecognizeResponse)(nil), "google.cloud.speech.v1p1beta1.StreamingRecognizeResponse") - proto.RegisterType((*StreamingRecognitionResult)(nil), "google.cloud.speech.v1p1beta1.StreamingRecognitionResult") - proto.RegisterType((*SpeechRecognitionResult)(nil), "google.cloud.speech.v1p1beta1.SpeechRecognitionResult") - proto.RegisterType((*SpeechRecognitionAlternative)(nil), "google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative") - proto.RegisterType((*WordInfo)(nil), "google.cloud.speech.v1p1beta1.WordInfo") -} - -func init() { - proto.RegisterFile("google/cloud/speech/v1p1beta1/cloud_speech.proto", fileDescriptor_6adcab595cc29495) -} - -var fileDescriptor_6adcab595cc29495 = []byte{ - // 2366 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x59, 0x3d, 0x93, 0xdb, 0xc6, - 0xf9, 0x17, 0xc8, 0xe3, 0xdd, 0xf1, 0xb9, 0x37, 0xdc, 0x9e, 0x6c, 0x41, 0xd4, 0xd9, 0x92, 0xa1, - 0xf1, 0x5f, 0xfa, 0x3b, 0x0e, 0x29, 0x9d, 0x1d, 0xbf, 0xc8, 0x8e, 0x63, 0x1c, 0x88, 0xd3, 0x21, - 0x43, 0x12, 0x9c, 0x25, 0x4f, 0x8a, 0xdd, 0x60, 0xf6, 0x80, 0x25, 0x0f, 0x13, 0x12, 0x40, 0x80, - 0xa5, 0xde, 0x9a, 0x64, 0xfc, 0x05, 0x52, 0x24, 0x6d, 0x9a, 0x4c, 0x52, 0x66, 0x26, 0x65, 0x3a, - 0xa7, 0x49, 0xa3, 0x26, 0x33, 0x49, 0x97, 0xca, 0x45, 0xbe, 0x40, 0x52, 0xa5, 0x4b, 0x66, 0x77, - 0x01, 0x12, 0xe4, 0x9d, 0x74, 0x92, 0x26, 0x2e, 0xd2, 0x71, 0x9f, 0x97, 0xdf, 0xf3, 0xb2, 0x0f, - 0x9e, 0xdd, 0x67, 0x09, 0xb7, 0x86, 0x51, 0x34, 0x1c, 0xd1, 0x86, 0x37, 0x8a, 0x26, 0x7e, 0x23, - 0x8d, 0x29, 0xf5, 0x4e, 0x1a, 0x0f, 0x6e, 0xc7, 0xb7, 0x8f, 0x29, 0x23, 0xb7, 0x25, 0xd9, 0x95, - 0xe4, 0x7a, 0x9c, 0x44, 0x2c, 0x42, 0x6f, 0x48, 0x8d, 0xba, 0x60, 0xd5, 0x33, 0xd6, 0x54, 0xa3, - 0xb6, 0x9b, 0x01, 0x92, 0x38, 0x68, 0x90, 0x30, 0x8c, 0x18, 0x61, 0x41, 0x14, 0xa6, 0x52, 0xb9, - 0x76, 0xa9, 0xc0, 0xf5, 0x46, 0x01, 0x0d, 0x59, 0xc6, 0xb8, 0x5a, 0x60, 0x0c, 0x02, 0x3a, 0xf2, - 0xdd, 0x63, 0x7a, 0x42, 0x1e, 0x04, 0x51, 0x92, 0x09, 0x5c, 0xcf, 0x04, 0x46, 0x51, 0x38, 0x4c, - 0x26, 0x61, 0x18, 0x84, 0xc3, 0x46, 0x14, 0xd3, 0x64, 0x0e, 0xfe, 0x72, 0x26, 0x24, 0x56, 0xc7, - 0x93, 0x41, 0x83, 0x84, 0x8f, 0x33, 0xd6, 0x9b, 0x8b, 0x2c, 0x7f, 0x22, 0x75, 0x17, 0x1c, 0x98, - 0xf2, 0x59, 0x30, 0xa6, 0x29, 0x23, 0xe3, 0x78, 0xc1, 0xf5, 0x24, 0xf6, 0x1a, 0x29, 0x23, 0x6c, - 0x92, 0x19, 0xd5, 0x7f, 0xa7, 0x80, 0x8a, 0xa9, 0x17, 0x0d, 0xc3, 0xe0, 0x09, 0xc5, 0xf4, 0x27, - 0x13, 0x9a, 0x32, 0xd4, 0x86, 0x65, 0x2f, 0x0a, 0x07, 0xc1, 0x50, 0x53, 0xae, 0x29, 0x37, 0xd7, - 0xf6, 0x6e, 0xd5, 0x9f, 0x9b, 0xb6, 0x7a, 0x06, 0xc0, 0x1d, 0x32, 0x85, 0xde, 0x7e, 0xf9, 0x1b, - 0xa3, 0x84, 0x33, 0x10, 0xf4, 0x43, 0xa8, 0x90, 0x89, 0x1f, 0x44, 0x5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x2d, - 0xa4, 0x1e, 0x25, 0xc3, 0xc6, 0x90, 0x86, 0xe2, 0xfb, 0x69, 0xcc, 0x6c, 0x3e, 0xe3, 0x8f, 0x8c, - 0x4f, 0x24, 0xe1, 0x5f, 0x8a, 0xf2, 0xeb, 0x52, 0xf9, 0xae, 0xd9, 0x3b, 0x5e, 0x16, 0x8a, 0xef, - 0xfd, 0x27, 0x00, 0x00, 0xff, 0xff, 0xee, 0x00, 0xf7, 0xe7, 0x00, 0x19, 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 - -// SpeechClient is the client API for Speech service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type SpeechClient interface { - // Performs synchronous speech recognition: receive results after all audio - // has been sent and processed. - Recognize(ctx context.Context, in *RecognizeRequest, opts ...grpc.CallOption) (*RecognizeResponse, error) - // Performs asynchronous speech recognition: receive results via the - // google.longrunning.Operations interface. Returns either an - // `Operation.error` or an `Operation.response` which contains - // a `LongRunningRecognizeResponse` message. - // For more information on asynchronous speech recognition, see the - // [how-to](https://cloud.google.com/speech-to-text/docs/async-recognize). - LongRunningRecognize(ctx context.Context, in *LongRunningRecognizeRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Performs bidirectional streaming speech recognition: receive results while - // sending audio. This method is only available via the gRPC API (not REST). - StreamingRecognize(ctx context.Context, opts ...grpc.CallOption) (Speech_StreamingRecognizeClient, error) -} - -type speechClient struct { - cc *grpc.ClientConn -} - -func NewSpeechClient(cc *grpc.ClientConn) SpeechClient { - return &speechClient{cc} -} - -func (c *speechClient) Recognize(ctx context.Context, in *RecognizeRequest, opts ...grpc.CallOption) (*RecognizeResponse, error) { - out := new(RecognizeResponse) - err := c.cc.Invoke(ctx, "/google.cloud.speech.v1p1beta1.Speech/Recognize", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *speechClient) LongRunningRecognize(ctx context.Context, in *LongRunningRecognizeRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.speech.v1p1beta1.Speech/LongRunningRecognize", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *speechClient) StreamingRecognize(ctx context.Context, opts ...grpc.CallOption) (Speech_StreamingRecognizeClient, error) { - stream, err := c.cc.NewStream(ctx, &_Speech_serviceDesc.Streams[0], "/google.cloud.speech.v1p1beta1.Speech/StreamingRecognize", opts...) - if err != nil { - return nil, err - } - x := &speechStreamingRecognizeClient{stream} - return x, nil -} - -type Speech_StreamingRecognizeClient interface { - Send(*StreamingRecognizeRequest) error - Recv() (*StreamingRecognizeResponse, error) - grpc.ClientStream -} - -type speechStreamingRecognizeClient struct { - grpc.ClientStream -} - -func (x *speechStreamingRecognizeClient) Send(m *StreamingRecognizeRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *speechStreamingRecognizeClient) Recv() (*StreamingRecognizeResponse, error) { - m := new(StreamingRecognizeResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// SpeechServer is the server API for Speech service. -type SpeechServer interface { - // Performs synchronous speech recognition: receive results after all audio - // has been sent and processed. - Recognize(context.Context, *RecognizeRequest) (*RecognizeResponse, error) - // Performs asynchronous speech recognition: receive results via the - // google.longrunning.Operations interface. Returns either an - // `Operation.error` or an `Operation.response` which contains - // a `LongRunningRecognizeResponse` message. - // For more information on asynchronous speech recognition, see the - // [how-to](https://cloud.google.com/speech-to-text/docs/async-recognize). - LongRunningRecognize(context.Context, *LongRunningRecognizeRequest) (*longrunning.Operation, error) - // Performs bidirectional streaming speech recognition: receive results while - // sending audio. This method is only available via the gRPC API (not REST). - StreamingRecognize(Speech_StreamingRecognizeServer) error -} - -// UnimplementedSpeechServer can be embedded to have forward compatible implementations. -type UnimplementedSpeechServer struct { -} - -func (*UnimplementedSpeechServer) Recognize(ctx context.Context, req *RecognizeRequest) (*RecognizeResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method Recognize not implemented") -} -func (*UnimplementedSpeechServer) LongRunningRecognize(ctx context.Context, req *LongRunningRecognizeRequest) (*longrunning.Operation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method LongRunningRecognize not implemented") -} -func (*UnimplementedSpeechServer) StreamingRecognize(srv Speech_StreamingRecognizeServer) error { - return status1.Errorf(codes.Unimplemented, "method StreamingRecognize not implemented") -} - -func RegisterSpeechServer(s *grpc.Server, srv SpeechServer) { - s.RegisterService(&_Speech_serviceDesc, srv) -} - -func _Speech_Recognize_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RecognizeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SpeechServer).Recognize(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.speech.v1p1beta1.Speech/Recognize", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SpeechServer).Recognize(ctx, req.(*RecognizeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Speech_LongRunningRecognize_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(LongRunningRecognizeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SpeechServer).LongRunningRecognize(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.speech.v1p1beta1.Speech/LongRunningRecognize", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SpeechServer).LongRunningRecognize(ctx, req.(*LongRunningRecognizeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Speech_StreamingRecognize_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(SpeechServer).StreamingRecognize(&speechStreamingRecognizeServer{stream}) -} - -type Speech_StreamingRecognizeServer interface { - Send(*StreamingRecognizeResponse) error - Recv() (*StreamingRecognizeRequest, error) - grpc.ServerStream -} - -type speechStreamingRecognizeServer struct { - grpc.ServerStream -} - -func (x *speechStreamingRecognizeServer) Send(m *StreamingRecognizeResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *speechStreamingRecognizeServer) Recv() (*StreamingRecognizeRequest, error) { - m := new(StreamingRecognizeRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -var _Speech_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.speech.v1p1beta1.Speech", - HandlerType: (*SpeechServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Recognize", - Handler: _Speech_Recognize_Handler, - }, - { - MethodName: "LongRunningRecognize", - Handler: _Speech_LongRunningRecognize_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "StreamingRecognize", - Handler: _Speech_StreamingRecognize_Handler, - ServerStreams: true, - ClientStreams: true, - }, - }, - Metadata: "google/cloud/speech/v1p1beta1/cloud_speech.proto", -} 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 deleted file mode 100644 index ea000d1f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/support/common/common.pb.go +++ /dev/null @@ -1,1061 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/support/common.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The current state of this SupportAccount. -type SupportAccount_State int32 - -const ( - // Account is in an unknown state. - SupportAccount_STATE_UNSPECIFIED SupportAccount_State = 0 - // Account is in an active state. - SupportAccount_ACTIVE SupportAccount_State = 1 - // Account has been created but is being provisioned in support systems. - SupportAccount_PENDING SupportAccount_State = 2 - // Account deletion has been requested by the user. - SupportAccount_PENDING_DELETION SupportAccount_State = 3 -) - -var SupportAccount_State_name = map[int32]string{ - 0: "STATE_UNSPECIFIED", - 1: "ACTIVE", - 2: "PENDING", - 3: "PENDING_DELETION", -} - -var SupportAccount_State_value = map[string]int32{ - "STATE_UNSPECIFIED": 0, - "ACTIVE": 1, - "PENDING": 2, - "PENDING_DELETION": 3, -} - -func (x SupportAccount_State) String() string { - return proto.EnumName(SupportAccount_State_name, int32(x)) -} - -func (SupportAccount_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_f71dd4106e21c931, []int{0, 0} -} - -// Pricing model applicable to this support account. -type SupportAccount_PricingModel int32 - -const ( - // This account is subscribed to an unknown pricing model. - SupportAccount_PRICING_MODEL_UNKNOWN SupportAccount_PricingModel = 0 - // Package based pricing (Platinum, Gold, Silver, Bronze). - SupportAccount_PACKAGES SupportAccount_PricingModel = 1 - // Support charges are calculated based on user seats a.k.a, - // "Pick Your Team" model. - SupportAccount_USER_ROLES SupportAccount_PricingModel = 2 -) - -var SupportAccount_PricingModel_name = map[int32]string{ - 0: "PRICING_MODEL_UNKNOWN", - 1: "PACKAGES", - 2: "USER_ROLES", -} - -var SupportAccount_PricingModel_value = map[string]int32{ - "PRICING_MODEL_UNKNOWN": 0, - "PACKAGES": 1, - "USER_ROLES": 2, -} - -func (x SupportAccount_PricingModel) String() string { - return proto.EnumName(SupportAccount_PricingModel_name, int32(x)) -} - -func (SupportAccount_PricingModel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_f71dd4106e21c931, []int{0, 1} -} - -// The case priority with P0 being the most urgent and P4 the least. -type Case_Priority int32 - -const ( - // Priority is undefined or has not been set yet. - Case_PRIORITY_UNSPECIFIED Case_Priority = 0 - // Extreme impact on a production service - Service is hard down. - Case_P0 Case_Priority = 1 - // Critical impact on a production service - Service is currently unusable. - Case_P1 Case_Priority = 2 - // Severe impact on a production service - Service is usable but greatly - // impaired. - Case_P2 Case_Priority = 3 - // Medium impact on a production service - Service is available, but - // moderately impaired. - Case_P3 Case_Priority = 4 - // General questions or minor issues - Production service is fully - // available. - Case_P4 Case_Priority = 5 -) - -var Case_Priority_name = map[int32]string{ - 0: "PRIORITY_UNSPECIFIED", - 1: "P0", - 2: "P1", - 3: "P2", - 4: "P3", - 5: "P4", -} - -var Case_Priority_value = map[string]int32{ - "PRIORITY_UNSPECIFIED": 0, - "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_f71dd4106e21c931, []int{1, 0} -} - -// The state of a case. -type Case_State int32 - -const ( - // Case is in an unknown state. - Case_STATE_UNSPECIFIED Case_State = 0 - // Case has been created but no one is assigned to work on it yet. - Case_NEW Case_State = 1 - // Case has been assigned to a support agent. - Case_ASSIGNED Case_State = 2 - // A support agent is currently investigating the case. - Case_IN_PROGRESS_GOOGLE_SUPPORT Case_State = 3 - // Case has been forwarded to product team for further investigation. - Case_IN_PROGRESS_GOOGLE_ENG Case_State = 4 - // Case is under investigation and relates to a known issue. - Case_IN_PROGRESS_KNOWN_ISSUE Case_State = 5 - // Case is waiting for a response from the customer. - Case_WAITING_FOR_CUSTOMER_RESPONSE Case_State = 6 - // A solution has been offered for the case but it isn't closed yet. - Case_SOLUTION_OFFERED Case_State = 7 - // Cases has been fully resolved and is in a closed state. - Case_CLOSED Case_State = 8 -) - -var Case_State_name = map[int32]string{ - 0: "STATE_UNSPECIFIED", - 1: "NEW", - 2: "ASSIGNED", - 3: "IN_PROGRESS_GOOGLE_SUPPORT", - 4: "IN_PROGRESS_GOOGLE_ENG", - 5: "IN_PROGRESS_KNOWN_ISSUE", - 6: "WAITING_FOR_CUSTOMER_RESPONSE", - 7: "SOLUTION_OFFERED", - 8: "CLOSED", -} - -var Case_State_value = map[string]int32{ - "STATE_UNSPECIFIED": 0, - "NEW": 1, - "ASSIGNED": 2, - "IN_PROGRESS_GOOGLE_SUPPORT": 3, - "IN_PROGRESS_GOOGLE_ENG": 4, - "IN_PROGRESS_KNOWN_ISSUE": 5, - "WAITING_FOR_CUSTOMER_RESPONSE": 6, - "SOLUTION_OFFERED": 7, - "CLOSED": 8, -} - -func (x Case_State) String() string { - return proto.EnumName(Case_State_name, int32(x)) -} - -func (Case_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_f71dd4106e21c931, []int{1, 1} -} - -// The status of a customer issue. -type CustomerIssue_IssueState int32 - -const ( - // Issue in an unknown state. - CustomerIssue_ISSUE_STATE_UNSPECIFIED CustomerIssue_IssueState = 0 - // Issue is currently open but the work on it has not been started. - CustomerIssue_OPEN CustomerIssue_IssueState = 1 - // Issue is currently being worked on. - CustomerIssue_IN_PROGRESS CustomerIssue_IssueState = 2 - // Issue is fixed. - CustomerIssue_FIXED CustomerIssue_IssueState = 3 - // Issue has been marked as invalid. - CustomerIssue_WONT_FIX CustomerIssue_IssueState = 4 - // Issue verified and in production. - CustomerIssue_VERIFIED CustomerIssue_IssueState = 5 -) - -var CustomerIssue_IssueState_name = map[int32]string{ - 0: "ISSUE_STATE_UNSPECIFIED", - 1: "OPEN", - 2: "IN_PROGRESS", - 3: "FIXED", - 4: "WONT_FIX", - 5: "VERIFIED", -} - -var CustomerIssue_IssueState_value = map[string]int32{ - "ISSUE_STATE_UNSPECIFIED": 0, - "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_f71dd4106e21c931, []int{2, 0} -} - -// A role which determines the support resources and features a user might -// get access to. -type SupportRole_Role int32 - -const ( - // An unknown role. - SupportRole_ROLE_UNSPECIFIED SupportRole_Role = 0 - // The basic support role. - SupportRole_BASIC SupportRole_Role = 1 - // The developer role. - SupportRole_DEVELOPER SupportRole_Role = 2 - // The operation role. - SupportRole_OPERATION SupportRole_Role = 3 - // The site reliability role. - SupportRole_SITE_RELIABILITY SupportRole_Role = 4 -) - -var SupportRole_Role_name = map[int32]string{ - 0: "ROLE_UNSPECIFIED", - 1: "BASIC", - 2: "DEVELOPER", - 3: "OPERATION", - 4: "SITE_RELIABILITY", -} - -var SupportRole_Role_value = map[string]int32{ - "ROLE_UNSPECIFIED": 0, - "BASIC": 1, - "DEVELOPER": 2, - "OPERATION": 3, - "SITE_RELIABILITY": 4, -} - -func (x SupportRole_Role) String() string { - return proto.EnumName(SupportRole_Role_name, int32(x)) -} - -func (SupportRole_Role) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_f71dd4106e21c931, []int{3, 0} -} - -// A Google Cloud Platform account that identifies support eligibility for a -// Cloud resource. Currently the Cloud resource can only be an Organization -// but this might change in future. -type SupportAccount struct { - // The resource name for a support account in format - // `supportAccounts/{account_id}`. - // Output only. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Identifier for this entity that gets persisted in storage system. The - // resource name is populated using this field in format - // `supportAccounts/{account_id}`. - AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` - // The Cloud resource with which this support account is associated. - CloudResource string `protobuf:"bytes,3,opt,name=cloud_resource,json=cloudResource,proto3" json:"cloud_resource,omitempty"` - // A user friendly display name assigned to this support account. - DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Indicates the current state of an account. - State SupportAccount_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.support.common.SupportAccount_State" json:"state,omitempty"` - // Time when this account was created. - // Output only. - CreateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // The resource name of a billing account associated with this support - // account. For example, `billingAccounts/ABCDEF-012345-567890`. - BillingAccountName string `protobuf:"bytes,7,opt,name=billing_account_name,json=billingAccountName,proto3" json:"billing_account_name,omitempty"` - UnifyAccountId string `protobuf:"bytes,8,opt,name=unify_account_id,json=unifyAccountId,proto3" json:"unify_account_id,omitempty"` - // The PricingModel applicable to this support account. - PricingModel SupportAccount_PricingModel `protobuf:"varint,9,opt,name=pricing_model,json=pricingModel,proto3,enum=google.cloud.support.common.SupportAccount_PricingModel" json:"pricing_model,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f71dd4106e21c931, []int{0} -} - -func (m *SupportAccount) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SupportAccount.Unmarshal(m, b) -} -func (m *SupportAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SupportAccount.Marshal(b, m, deterministic) -} -func (m *SupportAccount) XXX_Merge(src proto.Message) { - xxx_messageInfo_SupportAccount.Merge(m, src) -} -func (m *SupportAccount) XXX_Size() int { - return xxx_messageInfo_SupportAccount.Size(m) -} -func (m *SupportAccount) XXX_DiscardUnknown() { - xxx_messageInfo_SupportAccount.DiscardUnknown(m) -} - -var xxx_messageInfo_SupportAccount proto.InternalMessageInfo - -func (m *SupportAccount) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *SupportAccount) GetAccountId() string { - if m != nil { - return m.AccountId - } - return "" -} - -func (m *SupportAccount) GetCloudResource() string { - if m != nil { - return m.CloudResource - } - return "" -} - -func (m *SupportAccount) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *SupportAccount) GetState() SupportAccount_State { - if m != nil { - return m.State - } - return SupportAccount_STATE_UNSPECIFIED -} - -func (m *SupportAccount) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *SupportAccount) GetBillingAccountName() string { - if m != nil { - return m.BillingAccountName - } - return "" -} - -func (m *SupportAccount) GetUnifyAccountId() string { - if m != nil { - return m.UnifyAccountId - } - return "" -} - -func (m *SupportAccount) GetPricingModel() SupportAccount_PricingModel { - if m != nil { - return m.PricingModel - } - return SupportAccount_PRICING_MODEL_UNKNOWN -} - -// A support case created by the user. -type Case struct { - // The resource name for the Case in format - // `supportAccounts/{account_id}/cases/{case_id}` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The short summary of the issue reported in this case. - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // The board description of issue provided with initial summary. - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - // The product component for which this Case is reported. - Component string `protobuf:"bytes,4,opt,name=component,proto3" json:"component,omitempty"` - // The product subcomponent for which this Case is reported. - Subcomponent string `protobuf:"bytes,5,opt,name=subcomponent,proto3" json:"subcomponent,omitempty"` - // Timezone the client sending this request is in. - // It should be in a format IANA recognizes: https://www.iana.org/time-zone - // There is no additional validation done by the API. - ClientTimezone string `protobuf:"bytes,6,opt,name=client_timezone,json=clientTimezone,proto3" json:"client_timezone,omitempty"` - // The email addresses that can be copied to receive updates on this case. - // Users can specify a maximum of 10 email addresses. - CcAddresses []string `protobuf:"bytes,7,rep,name=cc_addresses,json=ccAddresses,proto3" json:"cc_addresses,omitempty"` - // The Google Cloud Platform project ID for which this case is created. - ProjectId string `protobuf:"bytes,8,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // List of customer issues associated with this case. - Issues []*CustomerIssue `protobuf:"bytes,10,rep,name=issues,proto3" json:"issues,omitempty"` - // The current priority of this case. - Priority Case_Priority `protobuf:"varint,11,opt,name=priority,proto3,enum=google.cloud.support.common.Case_Priority" json:"priority,omitempty"` - // The current state of this case. - State Case_State `protobuf:"varint,12,opt,name=state,proto3,enum=google.cloud.support.common.Case_State" json:"state,omitempty"` - // Time when this case was created. - // Output only. - CreateTime *timestamp.Timestamp `protobuf:"bytes,13,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Time when this case was last updated. - // Output only. - UpdateTime *timestamp.Timestamp `protobuf:"bytes,14,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - // Email address of user who created this case. - // Output only. It is inferred from credentials supplied during case creation. - CreatorEmail string `protobuf:"bytes,15,opt,name=creator_email,json=creatorEmail,proto3" json:"creator_email,omitempty"` - // The issue category applicable to this case. - Category string `protobuf:"bytes,16,opt,name=category,proto3" json:"category,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f71dd4106e21c931, []int{1} -} - -func (m *Case) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Case.Unmarshal(m, b) -} -func (m *Case) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Case.Marshal(b, m, deterministic) -} -func (m *Case) XXX_Merge(src proto.Message) { - xxx_messageInfo_Case.Merge(m, src) -} -func (m *Case) XXX_Size() int { - return xxx_messageInfo_Case.Size(m) -} -func (m *Case) XXX_DiscardUnknown() { - xxx_messageInfo_Case.DiscardUnknown(m) -} - -var xxx_messageInfo_Case proto.InternalMessageInfo - -func (m *Case) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Case) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *Case) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *Case) GetComponent() string { - if m != nil { - return m.Component - } - return "" -} - -func (m *Case) GetSubcomponent() string { - if m != nil { - return m.Subcomponent - } - return "" -} - -func (m *Case) GetClientTimezone() string { - if m != nil { - return m.ClientTimezone - } - return "" -} - -func (m *Case) GetCcAddresses() []string { - if m != nil { - return m.CcAddresses - } - return nil -} - -func (m *Case) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *Case) GetIssues() []*CustomerIssue { - if m != nil { - return m.Issues - } - return nil -} - -func (m *Case) GetPriority() Case_Priority { - if m != nil { - return m.Priority - } - return Case_PRIORITY_UNSPECIFIED -} - -func (m *Case) GetState() Case_State { - if m != nil { - return m.State - } - return Case_STATE_UNSPECIFIED -} - -func (m *Case) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *Case) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -func (m *Case) GetCreatorEmail() string { - if m != nil { - return m.CreatorEmail - } - return "" -} - -func (m *Case) GetCategory() string { - if m != nil { - return m.Category - } - return "" -} - -// Reference to a Google internal ticket used for investigating a support case. -// Not every support case will have an internal ticket associated with it. -// A support case can have multiple tickets linked to it. -type CustomerIssue struct { - // Unique identifier for the internal issue. - // Output only. - IssueId string `protobuf:"bytes,1,opt,name=issue_id,json=issueId,proto3" json:"issue_id,omitempty"` - // Represents current status of the internal ticket. - // Output only. - State CustomerIssue_IssueState `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.support.common.CustomerIssue_IssueState" json:"state,omitempty"` - // Time when the internal issue was created. - // Output only. - CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Time when the internal issue was marked as resolved. - // Output only. - ResolveTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=resolve_time,json=resolveTime,proto3" json:"resolve_time,omitempty"` - // Time when the internal issue was last updated. - // Output only. - 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 *CustomerIssue) Reset() { *m = CustomerIssue{} } -func (m *CustomerIssue) String() string { return proto.CompactTextString(m) } -func (*CustomerIssue) ProtoMessage() {} -func (*CustomerIssue) Descriptor() ([]byte, []int) { - return fileDescriptor_f71dd4106e21c931, []int{2} -} - -func (m *CustomerIssue) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomerIssue.Unmarshal(m, b) -} -func (m *CustomerIssue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomerIssue.Marshal(b, m, deterministic) -} -func (m *CustomerIssue) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomerIssue.Merge(m, src) -} -func (m *CustomerIssue) XXX_Size() int { - return xxx_messageInfo_CustomerIssue.Size(m) -} -func (m *CustomerIssue) XXX_DiscardUnknown() { - xxx_messageInfo_CustomerIssue.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomerIssue proto.InternalMessageInfo - -func (m *CustomerIssue) GetIssueId() string { - if m != nil { - return m.IssueId - } - return "" -} - -func (m *CustomerIssue) GetState() CustomerIssue_IssueState { - if m != nil { - return m.State - } - return CustomerIssue_ISSUE_STATE_UNSPECIFIED -} - -func (m *CustomerIssue) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *CustomerIssue) GetResolveTime() *timestamp.Timestamp { - if m != nil { - return m.ResolveTime - } - return nil -} - -func (m *CustomerIssue) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -// A message that contains mapping of a user and their role under a support -// account. -type SupportRole struct { - // Email address of user being added through this Role. - Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` - // The type of role assigned to user. - Role SupportRole_Role `protobuf:"varint,2,opt,name=role,proto3,enum=google.cloud.support.common.SupportRole_Role" json:"role,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f71dd4106e21c931, []int{3} -} - -func (m *SupportRole) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SupportRole.Unmarshal(m, b) -} -func (m *SupportRole) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SupportRole.Marshal(b, m, deterministic) -} -func (m *SupportRole) XXX_Merge(src proto.Message) { - xxx_messageInfo_SupportRole.Merge(m, src) -} -func (m *SupportRole) XXX_Size() int { - return xxx_messageInfo_SupportRole.Size(m) -} -func (m *SupportRole) XXX_DiscardUnknown() { - xxx_messageInfo_SupportRole.DiscardUnknown(m) -} - -var xxx_messageInfo_SupportRole proto.InternalMessageInfo - -func (m *SupportRole) GetEmail() string { - if m != nil { - return m.Email - } - return "" -} - -func (m *SupportRole) GetRole() SupportRole_Role { - if m != nil { - return m.Role - } - return SupportRole_ROLE_UNSPECIFIED -} - -// The comment text associated with a `Case`. -type Comment struct { - // Text containing a maximum of 3000 characters. - Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` - // Time when this update was created. - // Output only. - CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // The email address/name of user who created this comment. - // Output only. - Author string `protobuf:"bytes,3,opt,name=author,proto3" json:"author,omitempty"` - // The resource name for this comment in format - // `supportAccounts/{account_id}/cases/{case_id}/{comment_id}`. - // Output only. - 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 *Comment) Reset() { *m = Comment{} } -func (m *Comment) String() string { return proto.CompactTextString(m) } -func (*Comment) ProtoMessage() {} -func (*Comment) Descriptor() ([]byte, []int) { - return fileDescriptor_f71dd4106e21c931, []int{4} -} - -func (m *Comment) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Comment.Unmarshal(m, b) -} -func (m *Comment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Comment.Marshal(b, m, deterministic) -} -func (m *Comment) XXX_Merge(src proto.Message) { - xxx_messageInfo_Comment.Merge(m, src) -} -func (m *Comment) XXX_Size() int { - return xxx_messageInfo_Comment.Size(m) -} -func (m *Comment) XXX_DiscardUnknown() { - xxx_messageInfo_Comment.DiscardUnknown(m) -} - -var xxx_messageInfo_Comment proto.InternalMessageInfo - -func (m *Comment) GetText() string { - if m != nil { - return m.Text - } - return "" -} - -func (m *Comment) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *Comment) GetAuthor() string { - if m != nil { - return m.Author - } - return "" -} - -func (m *Comment) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Represents the product component taxonomy that is to be used while creating -// or updating a `Case`. A client should obtain the list of issue categories, -// component/subcomponent from this object and specify it in `Case.category`, -// `Case.component` and `Case.subcomponent` fields respectively. -type IssueTaxonomy struct { - // Map of available categories. - Categories map[string]*IssueTaxonomy_Category `protobuf:"bytes,1,rep,name=categories,proto3" json:"categories,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 *IssueTaxonomy) Reset() { *m = IssueTaxonomy{} } -func (m *IssueTaxonomy) String() string { return proto.CompactTextString(m) } -func (*IssueTaxonomy) ProtoMessage() {} -func (*IssueTaxonomy) Descriptor() ([]byte, []int) { - return fileDescriptor_f71dd4106e21c931, []int{5} -} - -func (m *IssueTaxonomy) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IssueTaxonomy.Unmarshal(m, b) -} -func (m *IssueTaxonomy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IssueTaxonomy.Marshal(b, m, deterministic) -} -func (m *IssueTaxonomy) XXX_Merge(src proto.Message) { - xxx_messageInfo_IssueTaxonomy.Merge(m, src) -} -func (m *IssueTaxonomy) XXX_Size() int { - return xxx_messageInfo_IssueTaxonomy.Size(m) -} -func (m *IssueTaxonomy) XXX_DiscardUnknown() { - xxx_messageInfo_IssueTaxonomy.DiscardUnknown(m) -} - -var xxx_messageInfo_IssueTaxonomy proto.InternalMessageInfo - -func (m *IssueTaxonomy) GetCategories() map[string]*IssueTaxonomy_Category { - if m != nil { - return m.Categories - } - return nil -} - -// The representation of a product component. It is composed of a canonical -// name for the product (e.g., Google App Engine), languages in which a -// support ticket can be created under this component, a template that -// provides hints on important details to be filled out before submitting a -// case. It also contains an embedded list of product subcomponents that have -// similar attributes as top-level components. -// (e.g., Google App Engine > Memcache). -type IssueTaxonomy_Component struct { - // User friendly name of this component. - DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // List of languages in which a support case can be created under this - // component. Represented by language codes in ISO_639-1 standard. - Languages []string `protobuf:"bytes,2,rep,name=languages,proto3" json:"languages,omitempty"` - // Template to be used while filling the description of a support case. - Template string `protobuf:"bytes,3,opt,name=template,proto3" json:"template,omitempty"` - // List of subcomponents under this component. - Subcomponents []*IssueTaxonomy_Component `protobuf:"bytes,4,rep,name=subcomponents,proto3" json:"subcomponents,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f71dd4106e21c931, []int{5, 0} -} - -func (m *IssueTaxonomy_Component) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IssueTaxonomy_Component.Unmarshal(m, b) -} -func (m *IssueTaxonomy_Component) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IssueTaxonomy_Component.Marshal(b, m, deterministic) -} -func (m *IssueTaxonomy_Component) XXX_Merge(src proto.Message) { - xxx_messageInfo_IssueTaxonomy_Component.Merge(m, src) -} -func (m *IssueTaxonomy_Component) XXX_Size() int { - return xxx_messageInfo_IssueTaxonomy_Component.Size(m) -} -func (m *IssueTaxonomy_Component) XXX_DiscardUnknown() { - xxx_messageInfo_IssueTaxonomy_Component.DiscardUnknown(m) -} - -var xxx_messageInfo_IssueTaxonomy_Component proto.InternalMessageInfo - -func (m *IssueTaxonomy_Component) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *IssueTaxonomy_Component) GetLanguages() []string { - if m != nil { - return m.Languages - } - return nil -} - -func (m *IssueTaxonomy_Component) GetTemplate() string { - if m != nil { - return m.Template - } - return "" -} - -func (m *IssueTaxonomy_Component) GetSubcomponents() []*IssueTaxonomy_Component { - if m != nil { - return m.Subcomponents - } - return nil -} - -// Represents the category of issue (Technical or Non-Technical) -// reported through a support case. -type IssueTaxonomy_Category struct { - // User friendly name of this category. - DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Map of product components under this category. - Components map[string]*IssueTaxonomy_Component `protobuf:"bytes,2,rep,name=components,proto3" json:"components,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 *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_f71dd4106e21c931, []int{5, 1} -} - -func (m *IssueTaxonomy_Category) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IssueTaxonomy_Category.Unmarshal(m, b) -} -func (m *IssueTaxonomy_Category) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IssueTaxonomy_Category.Marshal(b, m, deterministic) -} -func (m *IssueTaxonomy_Category) XXX_Merge(src proto.Message) { - xxx_messageInfo_IssueTaxonomy_Category.Merge(m, src) -} -func (m *IssueTaxonomy_Category) XXX_Size() int { - return xxx_messageInfo_IssueTaxonomy_Category.Size(m) -} -func (m *IssueTaxonomy_Category) XXX_DiscardUnknown() { - xxx_messageInfo_IssueTaxonomy_Category.DiscardUnknown(m) -} - -var xxx_messageInfo_IssueTaxonomy_Category proto.InternalMessageInfo - -func (m *IssueTaxonomy_Category) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *IssueTaxonomy_Category) GetComponents() map[string]*IssueTaxonomy_Component { - if m != nil { - return m.Components - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.support.common.SupportAccount_State", SupportAccount_State_name, SupportAccount_State_value) - proto.RegisterEnum("google.cloud.support.common.SupportAccount_PricingModel", SupportAccount_PricingModel_name, SupportAccount_PricingModel_value) - proto.RegisterEnum("google.cloud.support.common.Case_Priority", Case_Priority_name, Case_Priority_value) - proto.RegisterEnum("google.cloud.support.common.Case_State", Case_State_name, Case_State_value) - proto.RegisterEnum("google.cloud.support.common.CustomerIssue_IssueState", CustomerIssue_IssueState_name, CustomerIssue_IssueState_value) - proto.RegisterEnum("google.cloud.support.common.SupportRole_Role", SupportRole_Role_name, SupportRole_Role_value) - proto.RegisterType((*SupportAccount)(nil), "google.cloud.support.common.SupportAccount") - proto.RegisterType((*Case)(nil), "google.cloud.support.common.Case") - proto.RegisterType((*CustomerIssue)(nil), "google.cloud.support.common.CustomerIssue") - proto.RegisterType((*SupportRole)(nil), "google.cloud.support.common.SupportRole") - proto.RegisterType((*Comment)(nil), "google.cloud.support.common.Comment") - proto.RegisterType((*IssueTaxonomy)(nil), "google.cloud.support.common.IssueTaxonomy") - proto.RegisterMapType((map[string]*IssueTaxonomy_Category)(nil), "google.cloud.support.common.IssueTaxonomy.CategoriesEntry") - proto.RegisterType((*IssueTaxonomy_Component)(nil), "google.cloud.support.common.IssueTaxonomy.Component") - proto.RegisterType((*IssueTaxonomy_Category)(nil), "google.cloud.support.common.IssueTaxonomy.Category") - proto.RegisterMapType((map[string]*IssueTaxonomy_Component)(nil), "google.cloud.support.common.IssueTaxonomy.Category.ComponentsEntry") -} - -func init() { proto.RegisterFile("google/cloud/support/common.proto", fileDescriptor_f71dd4106e21c931) } - -var fileDescriptor_f71dd4106e21c931 = []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, - 0x78, 0x88, 0x51, 0xa0, 0x72, 0xe2, 0xa4, 0x40, 0x90, 0x20, 0x3f, 0x64, 0x6a, 0x2d, 0xb0, 0x91, - 0x49, 0x82, 0xa4, 0xe3, 0x24, 0x45, 0x41, 0xd0, 0xd4, 0x46, 0x65, 0x43, 0x72, 0x09, 0x92, 0x4a, - 0xa3, 0x1e, 0x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d, 0x14, 0x59, 0x8c, 0x9d, 0x53, 0x05, 0x7f, - 0xeb, 0x72, 0x1a, 0x25, 0x21, 0x67, 0x60, 0x51, 0xea, 0x42, 0xc6, 0x6f, 0xa1, 0xbd, 0x3c, 0xec, - 0x32, 0xa5, 0x2a, 0x2a, 0x79, 0xb2, 0x4a, 0x25, 0x73, 0x67, 0xeb, 0x6c, 0xa8, 0xce, 0xaf, 0x32, - 0x34, 0xca, 0x32, 0x67, 0x9f, 0x53, 0x85, 0x0f, 0xb0, 0x94, 0x88, 0x2c, 0x12, 0x51, 0x57, 0x6f, - 0xe9, 0x52, 0x46, 0x8b, 0xde, 0x9e, 0x26, 0x95, 0xc1, 0xe6, 0xb9, 0x6d, 0x8c, 0xa0, 0xf2, 0x9e, - 0xce, 0xca, 0x8c, 0xf8, 0x27, 0xfe, 0x16, 0x6a, 0x1f, 0xbc, 0x70, 0x3a, 0x47, 0xd4, 0x97, 0x75, - 0xa3, 0x08, 0xf1, 0x4c, 0x7e, 0x2a, 0x75, 0x52, 0xd8, 0x3c, 0x77, 0xdf, 0x17, 0x1c, 0xaa, 0x9d, - 0x3d, 0xf4, 0xf1, 0x17, 0x54, 0xbe, 0x74, 0xe6, 0xfe, 0x4f, 0x70, 0xcf, 0x67, 0xd1, 0x65, 0x41, - 0xf6, 0xaf, 0xab, 0x5c, 0x5b, 0x12, 0xdb, 0xe4, 0x6c, 0x79, 0xdb, 0x2f, 0xed, 0x27, 0x8c, 0xe3, - 0xa7, 0xc7, 0xd2, 0xc9, 0xee, 0x84, 0xc6, 0x82, 0x49, 0xbb, 0xc5, 0x96, 0x97, 0x04, 0xd9, 0x85, - 0xff, 0x97, 0x3c, 0x2f, 0x96, 0x93, 0x35, 0x61, 0xfd, 0xf8, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, - 0x0c, 0xd0, 0x7b, 0x46, 0xc4, 0x0c, 0x00, 0x00, -} 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 deleted file mode 100644 index 58b9e912..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/support/v1alpha1/cloud_support.pb.go +++ /dev/null @@ -1,1098 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/support/v1alpha1/cloud_support.proto - -package support - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - common "google.golang.org/genproto/googleapis/cloud/support/common" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The request message for `GetSupportAccount`. -type GetSupportAccountRequest struct { - // The resource name of the support accounts. For example: - // `supportAccounts/accountA`. - 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 *GetSupportAccountRequest) Reset() { *m = GetSupportAccountRequest{} } -func (m *GetSupportAccountRequest) String() string { return proto.CompactTextString(m) } -func (*GetSupportAccountRequest) ProtoMessage() {} -func (*GetSupportAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_aca49aad65ebbfb0, []int{0} -} - -func (m *GetSupportAccountRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetSupportAccountRequest.Unmarshal(m, b) -} -func (m *GetSupportAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetSupportAccountRequest.Marshal(b, m, deterministic) -} -func (m *GetSupportAccountRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetSupportAccountRequest.Merge(m, src) -} -func (m *GetSupportAccountRequest) XXX_Size() int { - return xxx_messageInfo_GetSupportAccountRequest.Size(m) -} -func (m *GetSupportAccountRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetSupportAccountRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetSupportAccountRequest proto.InternalMessageInfo - -func (m *GetSupportAccountRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The request message for `ListSupportAccount`. -type ListSupportAccountsRequest struct { - // The filter applied to search results. It only supports filtering a support - // account list by a cloud_resource. For example, to filter results by support - // accounts associated with an Organization, its value should be: - // "cloud_resource:organizations/" - Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` - // Maximum number of accounts fetched with each request. - PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // A token identifying the page of results to return. If unspecified, the - // first page is retrieved. - 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 *ListSupportAccountsRequest) Reset() { *m = ListSupportAccountsRequest{} } -func (m *ListSupportAccountsRequest) String() string { return proto.CompactTextString(m) } -func (*ListSupportAccountsRequest) ProtoMessage() {} -func (*ListSupportAccountsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_aca49aad65ebbfb0, []int{1} -} - -func (m *ListSupportAccountsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListSupportAccountsRequest.Unmarshal(m, b) -} -func (m *ListSupportAccountsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListSupportAccountsRequest.Marshal(b, m, deterministic) -} -func (m *ListSupportAccountsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSupportAccountsRequest.Merge(m, src) -} -func (m *ListSupportAccountsRequest) XXX_Size() int { - return xxx_messageInfo_ListSupportAccountsRequest.Size(m) -} -func (m *ListSupportAccountsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListSupportAccountsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListSupportAccountsRequest proto.InternalMessageInfo - -func (m *ListSupportAccountsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListSupportAccountsRequest) GetPageSize() int64 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListSupportAccountsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// The response message for `ListSupportAccount`. -type ListSupportAccountsResponse struct { - // A list of support accounts. - Accounts []*common.SupportAccount `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` - // A token to retrieve the next page of results. This should be passed on in - // `page_token` field of `ListSupportAccountRequest` for next request. If - // unspecified, there are no more results to retrieve. - 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 *ListSupportAccountsResponse) Reset() { *m = ListSupportAccountsResponse{} } -func (m *ListSupportAccountsResponse) String() string { return proto.CompactTextString(m) } -func (*ListSupportAccountsResponse) ProtoMessage() {} -func (*ListSupportAccountsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_aca49aad65ebbfb0, []int{2} -} - -func (m *ListSupportAccountsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListSupportAccountsResponse.Unmarshal(m, b) -} -func (m *ListSupportAccountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListSupportAccountsResponse.Marshal(b, m, deterministic) -} -func (m *ListSupportAccountsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSupportAccountsResponse.Merge(m, src) -} -func (m *ListSupportAccountsResponse) XXX_Size() int { - return xxx_messageInfo_ListSupportAccountsResponse.Size(m) -} -func (m *ListSupportAccountsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListSupportAccountsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListSupportAccountsResponse proto.InternalMessageInfo - -func (m *ListSupportAccountsResponse) GetAccounts() []*common.SupportAccount { - if m != nil { - return m.Accounts - } - return nil -} - -func (m *ListSupportAccountsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The request message for `GetCase` method. -type GetCaseRequest struct { - // Name of case resource requested. - // For example: "supportAccounts/accountA/cases/123" - 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 *GetCaseRequest) Reset() { *m = GetCaseRequest{} } -func (m *GetCaseRequest) String() string { return proto.CompactTextString(m) } -func (*GetCaseRequest) ProtoMessage() {} -func (*GetCaseRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_aca49aad65ebbfb0, []int{3} -} - -func (m *GetCaseRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCaseRequest.Unmarshal(m, b) -} -func (m *GetCaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCaseRequest.Marshal(b, m, deterministic) -} -func (m *GetCaseRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCaseRequest.Merge(m, src) -} -func (m *GetCaseRequest) XXX_Size() int { - return xxx_messageInfo_GetCaseRequest.Size(m) -} -func (m *GetCaseRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetCaseRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetCaseRequest proto.InternalMessageInfo - -func (m *GetCaseRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The request message for `ListCase` method. -type ListCasesRequest struct { - // Name of the account resource for which cases are requested. For example: - // "supportAccounts/accountA" - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The filter applied to the search results. Currently it only accepts "OPEN" - // or "CLOSED" strings, filtering out cases that are open or resolved. - Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` - // Maximum number of cases fetched with each request. - PageSize int64 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // A token identifying the page of results to return. If unspecified, the - // first page is retrieved. - 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 *ListCasesRequest) Reset() { *m = ListCasesRequest{} } -func (m *ListCasesRequest) String() string { return proto.CompactTextString(m) } -func (*ListCasesRequest) ProtoMessage() {} -func (*ListCasesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_aca49aad65ebbfb0, []int{4} -} - -func (m *ListCasesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCasesRequest.Unmarshal(m, b) -} -func (m *ListCasesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCasesRequest.Marshal(b, m, deterministic) -} -func (m *ListCasesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCasesRequest.Merge(m, src) -} -func (m *ListCasesRequest) XXX_Size() int { - return xxx_messageInfo_ListCasesRequest.Size(m) -} -func (m *ListCasesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListCasesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListCasesRequest proto.InternalMessageInfo - -func (m *ListCasesRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ListCasesRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListCasesRequest) GetPageSize() int64 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListCasesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// The response message for `ListCase` method. -type ListCasesResponse struct { - // A list of cases. - Cases []*common.Case `protobuf:"bytes,1,rep,name=cases,proto3" json:"cases,omitempty"` - // A token to retrieve the next page of results. This should be passed on in - // `page_token` field of `ListCaseRequest` for next request. If unspecified, - // there are no more results to retrieve. - 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 *ListCasesResponse) Reset() { *m = ListCasesResponse{} } -func (m *ListCasesResponse) String() string { return proto.CompactTextString(m) } -func (*ListCasesResponse) ProtoMessage() {} -func (*ListCasesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_aca49aad65ebbfb0, []int{5} -} - -func (m *ListCasesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCasesResponse.Unmarshal(m, b) -} -func (m *ListCasesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCasesResponse.Marshal(b, m, deterministic) -} -func (m *ListCasesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCasesResponse.Merge(m, src) -} -func (m *ListCasesResponse) XXX_Size() int { - return xxx_messageInfo_ListCasesResponse.Size(m) -} -func (m *ListCasesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListCasesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListCasesResponse proto.InternalMessageInfo - -func (m *ListCasesResponse) GetCases() []*common.Case { - if m != nil { - return m.Cases - } - return nil -} - -func (m *ListCasesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The request message for `ListComments` method. -type ListCommentsRequest struct { - // The resource name of case for which comments should be listed. - 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 *ListCommentsRequest) Reset() { *m = ListCommentsRequest{} } -func (m *ListCommentsRequest) String() string { return proto.CompactTextString(m) } -func (*ListCommentsRequest) ProtoMessage() {} -func (*ListCommentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_aca49aad65ebbfb0, []int{6} -} - -func (m *ListCommentsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCommentsRequest.Unmarshal(m, b) -} -func (m *ListCommentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCommentsRequest.Marshal(b, m, deterministic) -} -func (m *ListCommentsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCommentsRequest.Merge(m, src) -} -func (m *ListCommentsRequest) XXX_Size() int { - return xxx_messageInfo_ListCommentsRequest.Size(m) -} -func (m *ListCommentsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListCommentsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListCommentsRequest proto.InternalMessageInfo - -func (m *ListCommentsRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The response message for `ListComments` method. -type ListCommentsResponse struct { - // A list of comments. - Comments []*common.Comment `protobuf:"bytes,1,rep,name=comments,proto3" json:"comments,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_aca49aad65ebbfb0, []int{7} -} - -func (m *ListCommentsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCommentsResponse.Unmarshal(m, b) -} -func (m *ListCommentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCommentsResponse.Marshal(b, m, deterministic) -} -func (m *ListCommentsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCommentsResponse.Merge(m, src) -} -func (m *ListCommentsResponse) XXX_Size() int { - return xxx_messageInfo_ListCommentsResponse.Size(m) -} -func (m *ListCommentsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListCommentsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListCommentsResponse proto.InternalMessageInfo - -func (m *ListCommentsResponse) GetComments() []*common.Comment { - if m != nil { - return m.Comments - } - return nil -} - -// The request message for `CreateCase` method. -type CreateCaseRequest struct { - // The resource name for `SupportAccount` under which this case is created. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The case resource to create. - Case *common.Case `protobuf:"bytes,2,opt,name=case,proto3" json:"case,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_aca49aad65ebbfb0, []int{8} -} - -func (m *CreateCaseRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateCaseRequest.Unmarshal(m, b) -} -func (m *CreateCaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateCaseRequest.Marshal(b, m, deterministic) -} -func (m *CreateCaseRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateCaseRequest.Merge(m, src) -} -func (m *CreateCaseRequest) XXX_Size() int { - return xxx_messageInfo_CreateCaseRequest.Size(m) -} -func (m *CreateCaseRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateCaseRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateCaseRequest proto.InternalMessageInfo - -func (m *CreateCaseRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateCaseRequest) GetCase() *common.Case { - if m != nil { - return m.Case - } - return nil -} - -// The request message for `UpdateCase` method. -type UpdateCaseRequest struct { - // The case resource to update. - Case *common.Case `protobuf:"bytes,1,opt,name=case,proto3" json:"case,omitempty"` - // A field that represents attributes of a Case object that should be updated - // as part of this request. - 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 *UpdateCaseRequest) Reset() { *m = UpdateCaseRequest{} } -func (m *UpdateCaseRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateCaseRequest) ProtoMessage() {} -func (*UpdateCaseRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_aca49aad65ebbfb0, []int{9} -} - -func (m *UpdateCaseRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateCaseRequest.Unmarshal(m, b) -} -func (m *UpdateCaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateCaseRequest.Marshal(b, m, deterministic) -} -func (m *UpdateCaseRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateCaseRequest.Merge(m, src) -} -func (m *UpdateCaseRequest) XXX_Size() int { - return xxx_messageInfo_UpdateCaseRequest.Size(m) -} -func (m *UpdateCaseRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateCaseRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateCaseRequest proto.InternalMessageInfo - -func (m *UpdateCaseRequest) GetCase() *common.Case { - if m != nil { - return m.Case - } - return nil -} - -func (m *UpdateCaseRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// The request message for `CreateComment` method. -type CreateCommentRequest struct { - // The resource name of case to which this comment should be added. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The `Comment` to be added to this case. - Comment *common.Comment `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_aca49aad65ebbfb0, []int{10} -} - -func (m *CreateCommentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateCommentRequest.Unmarshal(m, b) -} -func (m *CreateCommentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateCommentRequest.Marshal(b, m, deterministic) -} -func (m *CreateCommentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateCommentRequest.Merge(m, src) -} -func (m *CreateCommentRequest) XXX_Size() int { - return xxx_messageInfo_CreateCommentRequest.Size(m) -} -func (m *CreateCommentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateCommentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateCommentRequest proto.InternalMessageInfo - -func (m *CreateCommentRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *CreateCommentRequest) GetComment() *common.Comment { - if m != nil { - return m.Comment - } - return nil -} - -// The request message for `GetIssueTaxonomy` method. -type GetIssueTaxonomyRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_aca49aad65ebbfb0, []int{11} -} - -func (m *GetIssueTaxonomyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetIssueTaxonomyRequest.Unmarshal(m, b) -} -func (m *GetIssueTaxonomyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetIssueTaxonomyRequest.Marshal(b, m, deterministic) -} -func (m *GetIssueTaxonomyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetIssueTaxonomyRequest.Merge(m, src) -} -func (m *GetIssueTaxonomyRequest) XXX_Size() int { - return xxx_messageInfo_GetIssueTaxonomyRequest.Size(m) -} -func (m *GetIssueTaxonomyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetIssueTaxonomyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetIssueTaxonomyRequest proto.InternalMessageInfo - -func init() { - proto.RegisterType((*GetSupportAccountRequest)(nil), "google.cloud.support.v1alpha1.GetSupportAccountRequest") - proto.RegisterType((*ListSupportAccountsRequest)(nil), "google.cloud.support.v1alpha1.ListSupportAccountsRequest") - proto.RegisterType((*ListSupportAccountsResponse)(nil), "google.cloud.support.v1alpha1.ListSupportAccountsResponse") - proto.RegisterType((*GetCaseRequest)(nil), "google.cloud.support.v1alpha1.GetCaseRequest") - proto.RegisterType((*ListCasesRequest)(nil), "google.cloud.support.v1alpha1.ListCasesRequest") - proto.RegisterType((*ListCasesResponse)(nil), "google.cloud.support.v1alpha1.ListCasesResponse") - proto.RegisterType((*ListCommentsRequest)(nil), "google.cloud.support.v1alpha1.ListCommentsRequest") - proto.RegisterType((*ListCommentsResponse)(nil), "google.cloud.support.v1alpha1.ListCommentsResponse") - proto.RegisterType((*CreateCaseRequest)(nil), "google.cloud.support.v1alpha1.CreateCaseRequest") - proto.RegisterType((*UpdateCaseRequest)(nil), "google.cloud.support.v1alpha1.UpdateCaseRequest") - proto.RegisterType((*CreateCommentRequest)(nil), "google.cloud.support.v1alpha1.CreateCommentRequest") - proto.RegisterType((*GetIssueTaxonomyRequest)(nil), "google.cloud.support.v1alpha1.GetIssueTaxonomyRequest") -} - -func init() { - proto.RegisterFile("google/cloud/support/v1alpha1/cloud_support.proto", fileDescriptor_aca49aad65ebbfb0) -} - -var fileDescriptor_aca49aad65ebbfb0 = []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, - 0xa6, 0x56, 0xdd, 0x85, 0x36, 0x88, 0x96, 0x40, 0x14, 0x88, 0x8d, 0x89, 0x26, 0xa4, 0x60, 0x62, - 0xbc, 0x34, 0x43, 0x19, 0xd6, 0x95, 0xee, 0xce, 0xda, 0x99, 0x1a, 0x40, 0xbd, 0x78, 0xf1, 0xa6, - 0x07, 0x6f, 0x7a, 0xe1, 0xe2, 0x59, 0x0f, 0xfe, 0x13, 0xff, 0x82, 0xfe, 0x0f, 0xb3, 0xb3, 0xb3, - 0xed, 0x76, 0x69, 0x77, 0x17, 0x6e, 0xdd, 0x77, 0xde, 0xe7, 0x7d, 0x9f, 0x79, 0xe6, 0x9d, 0x67, - 0x0a, 0x3b, 0x36, 0xe7, 0xf6, 0x80, 0x59, 0xfd, 0x01, 0x1f, 0x5d, 0x5a, 0x62, 0xe4, 0xfb, 0x7c, - 0x28, 0xad, 0x6f, 0x77, 0xe8, 0xc0, 0xff, 0x8a, 0xee, 0x84, 0xe1, 0x9e, 0x0e, 0x9b, 0xfe, 0x90, - 0x4b, 0x8e, 0x37, 0x43, 0x88, 0xa9, 0xd6, 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ference 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 - -// CloudSupportClient is the client API for CloudSupport service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type CloudSupportClient interface { - // Retrieves the support account details given an account identifier. - // The authenticated user calling this method must be the account owner. - GetSupportAccount(ctx context.Context, in *GetSupportAccountRequest, opts ...grpc.CallOption) (*common.SupportAccount, error) - // Retrieves the list of accounts the current authenticated user has access - // to. - ListSupportAccounts(ctx context.Context, in *ListSupportAccountsRequest, opts ...grpc.CallOption) (*ListSupportAccountsResponse, error) - // Retrieves the details for a support case. The current authenticated user - // calling this method must have permissions to view this case. - GetCase(ctx context.Context, in *GetCaseRequest, opts ...grpc.CallOption) (*common.Case, error) - // Retrieves the list of support cases associated with an account. The current - // authenticated user must have the permission to list and view these cases. - ListCases(ctx context.Context, in *ListCasesRequest, opts ...grpc.CallOption) (*ListCasesResponse, error) - // Lists all comments from a case. - ListComments(ctx context.Context, in *ListCommentsRequest, opts ...grpc.CallOption) (*ListCommentsResponse, error) - // Creates a case and associates it with a - // [SupportAccount][google.cloud.support.v1alpha2.SupportAcccount]. The - // authenticated user attempting this action must have permissions to create a - // `Case` under that [SupportAccount]. - CreateCase(ctx context.Context, in *CreateCaseRequest, opts ...grpc.CallOption) (*common.Case, error) - // Updates a support case. Only a small set of details (priority, subject and - // cc_address) can be update after a case is created. - UpdateCase(ctx context.Context, in *UpdateCaseRequest, opts ...grpc.CallOption) (*common.Case, error) - // Adds a new comment to a case. - CreateComment(ctx context.Context, in *CreateCommentRequest, opts ...grpc.CallOption) (*common.Comment, error) - // Retrieves the taxonomy of product categories and components to be used - // while creating a support case. - GetIssueTaxonomy(ctx context.Context, in *GetIssueTaxonomyRequest, opts ...grpc.CallOption) (*common.IssueTaxonomy, error) -} - -type cloudSupportClient struct { - cc *grpc.ClientConn -} - -func NewCloudSupportClient(cc *grpc.ClientConn) CloudSupportClient { - return &cloudSupportClient{cc} -} - -func (c *cloudSupportClient) GetSupportAccount(ctx context.Context, in *GetSupportAccountRequest, opts ...grpc.CallOption) (*common.SupportAccount, error) { - out := new(common.SupportAccount) - err := c.cc.Invoke(ctx, "/google.cloud.support.v1alpha1.CloudSupport/GetSupportAccount", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudSupportClient) ListSupportAccounts(ctx context.Context, in *ListSupportAccountsRequest, opts ...grpc.CallOption) (*ListSupportAccountsResponse, error) { - out := new(ListSupportAccountsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.support.v1alpha1.CloudSupport/ListSupportAccounts", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudSupportClient) GetCase(ctx context.Context, in *GetCaseRequest, opts ...grpc.CallOption) (*common.Case, error) { - out := new(common.Case) - err := c.cc.Invoke(ctx, "/google.cloud.support.v1alpha1.CloudSupport/GetCase", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudSupportClient) ListCases(ctx context.Context, in *ListCasesRequest, opts ...grpc.CallOption) (*ListCasesResponse, error) { - out := new(ListCasesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.support.v1alpha1.CloudSupport/ListCases", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudSupportClient) ListComments(ctx context.Context, in *ListCommentsRequest, opts ...grpc.CallOption) (*ListCommentsResponse, error) { - out := new(ListCommentsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.support.v1alpha1.CloudSupport/ListComments", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudSupportClient) CreateCase(ctx context.Context, in *CreateCaseRequest, opts ...grpc.CallOption) (*common.Case, error) { - out := new(common.Case) - err := c.cc.Invoke(ctx, "/google.cloud.support.v1alpha1.CloudSupport/CreateCase", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudSupportClient) UpdateCase(ctx context.Context, in *UpdateCaseRequest, opts ...grpc.CallOption) (*common.Case, error) { - out := new(common.Case) - err := c.cc.Invoke(ctx, "/google.cloud.support.v1alpha1.CloudSupport/UpdateCase", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudSupportClient) CreateComment(ctx context.Context, in *CreateCommentRequest, opts ...grpc.CallOption) (*common.Comment, error) { - out := new(common.Comment) - err := c.cc.Invoke(ctx, "/google.cloud.support.v1alpha1.CloudSupport/CreateComment", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudSupportClient) GetIssueTaxonomy(ctx context.Context, in *GetIssueTaxonomyRequest, opts ...grpc.CallOption) (*common.IssueTaxonomy, error) { - out := new(common.IssueTaxonomy) - err := c.cc.Invoke(ctx, "/google.cloud.support.v1alpha1.CloudSupport/GetIssueTaxonomy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// CloudSupportServer is the server API for CloudSupport service. -type CloudSupportServer interface { - // Retrieves the support account details given an account identifier. - // The authenticated user calling this method must be the account owner. - GetSupportAccount(context.Context, *GetSupportAccountRequest) (*common.SupportAccount, error) - // Retrieves the list of accounts the current authenticated user has access - // to. - ListSupportAccounts(context.Context, *ListSupportAccountsRequest) (*ListSupportAccountsResponse, error) - // Retrieves the details for a support case. The current authenticated user - // calling this method must have permissions to view this case. - GetCase(context.Context, *GetCaseRequest) (*common.Case, error) - // Retrieves the list of support cases associated with an account. The current - // authenticated user must have the permission to list and view these cases. - ListCases(context.Context, *ListCasesRequest) (*ListCasesResponse, error) - // Lists all comments from a case. - ListComments(context.Context, *ListCommentsRequest) (*ListCommentsResponse, error) - // Creates a case and associates it with a - // [SupportAccount][google.cloud.support.v1alpha2.SupportAcccount]. The - // authenticated user attempting this action must have permissions to create a - // `Case` under that [SupportAccount]. - CreateCase(context.Context, *CreateCaseRequest) (*common.Case, error) - // Updates a support case. Only a small set of details (priority, subject and - // cc_address) can be update after a case is created. - UpdateCase(context.Context, *UpdateCaseRequest) (*common.Case, error) - // Adds a new comment to a case. - CreateComment(context.Context, *CreateCommentRequest) (*common.Comment, error) - // Retrieves the taxonomy of product categories and components to be used - // while creating a support case. - GetIssueTaxonomy(context.Context, *GetIssueTaxonomyRequest) (*common.IssueTaxonomy, error) -} - -// UnimplementedCloudSupportServer can be embedded to have forward compatible implementations. -type UnimplementedCloudSupportServer struct { -} - -func (*UnimplementedCloudSupportServer) GetSupportAccount(ctx context.Context, req *GetSupportAccountRequest) (*common.SupportAccount, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetSupportAccount not implemented") -} -func (*UnimplementedCloudSupportServer) ListSupportAccounts(ctx context.Context, req *ListSupportAccountsRequest) (*ListSupportAccountsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListSupportAccounts not implemented") -} -func (*UnimplementedCloudSupportServer) GetCase(ctx context.Context, req *GetCaseRequest) (*common.Case, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCase not implemented") -} -func (*UnimplementedCloudSupportServer) ListCases(ctx context.Context, req *ListCasesRequest) (*ListCasesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListCases not implemented") -} -func (*UnimplementedCloudSupportServer) ListComments(ctx context.Context, req *ListCommentsRequest) (*ListCommentsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListComments not implemented") -} -func (*UnimplementedCloudSupportServer) CreateCase(ctx context.Context, req *CreateCaseRequest) (*common.Case, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateCase not implemented") -} -func (*UnimplementedCloudSupportServer) UpdateCase(ctx context.Context, req *UpdateCaseRequest) (*common.Case, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateCase not implemented") -} -func (*UnimplementedCloudSupportServer) CreateComment(ctx context.Context, req *CreateCommentRequest) (*common.Comment, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateComment not implemented") -} -func (*UnimplementedCloudSupportServer) GetIssueTaxonomy(ctx context.Context, req *GetIssueTaxonomyRequest) (*common.IssueTaxonomy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIssueTaxonomy not implemented") -} - -func RegisterCloudSupportServer(s *grpc.Server, srv CloudSupportServer) { - s.RegisterService(&_CloudSupport_serviceDesc, srv) -} - -func _CloudSupport_GetSupportAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetSupportAccountRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudSupportServer).GetSupportAccount(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.support.v1alpha1.CloudSupport/GetSupportAccount", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudSupportServer).GetSupportAccount(ctx, req.(*GetSupportAccountRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudSupport_ListSupportAccounts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListSupportAccountsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudSupportServer).ListSupportAccounts(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.support.v1alpha1.CloudSupport/ListSupportAccounts", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudSupportServer).ListSupportAccounts(ctx, req.(*ListSupportAccountsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudSupport_GetCase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetCaseRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudSupportServer).GetCase(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.support.v1alpha1.CloudSupport/GetCase", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudSupportServer).GetCase(ctx, req.(*GetCaseRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudSupport_ListCases_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListCasesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudSupportServer).ListCases(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.support.v1alpha1.CloudSupport/ListCases", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudSupportServer).ListCases(ctx, req.(*ListCasesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudSupport_ListComments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListCommentsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudSupportServer).ListComments(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.support.v1alpha1.CloudSupport/ListComments", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudSupportServer).ListComments(ctx, req.(*ListCommentsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudSupport_CreateCase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateCaseRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudSupportServer).CreateCase(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.support.v1alpha1.CloudSupport/CreateCase", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudSupportServer).CreateCase(ctx, req.(*CreateCaseRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudSupport_UpdateCase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateCaseRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudSupportServer).UpdateCase(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.support.v1alpha1.CloudSupport/UpdateCase", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudSupportServer).UpdateCase(ctx, req.(*UpdateCaseRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudSupport_CreateComment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateCommentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudSupportServer).CreateComment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.support.v1alpha1.CloudSupport/CreateComment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudSupportServer).CreateComment(ctx, req.(*CreateCommentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudSupport_GetIssueTaxonomy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIssueTaxonomyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudSupportServer).GetIssueTaxonomy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.support.v1alpha1.CloudSupport/GetIssueTaxonomy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudSupportServer).GetIssueTaxonomy(ctx, req.(*GetIssueTaxonomyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _CloudSupport_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.support.v1alpha1.CloudSupport", - HandlerType: (*CloudSupportServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetSupportAccount", - Handler: _CloudSupport_GetSupportAccount_Handler, - }, - { - MethodName: "ListSupportAccounts", - Handler: _CloudSupport_ListSupportAccounts_Handler, - }, - { - MethodName: "GetCase", - Handler: _CloudSupport_GetCase_Handler, - }, - { - MethodName: "ListCases", - Handler: _CloudSupport_ListCases_Handler, - }, - { - MethodName: "ListComments", - Handler: _CloudSupport_ListComments_Handler, - }, - { - MethodName: "CreateCase", - Handler: _CloudSupport_CreateCase_Handler, - }, - { - MethodName: "UpdateCase", - Handler: _CloudSupport_UpdateCase_Handler, - }, - { - MethodName: "CreateComment", - Handler: _CloudSupport_CreateComment_Handler, - }, - { - MethodName: "GetIssueTaxonomy", - Handler: _CloudSupport_GetIssueTaxonomy_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/support/v1alpha1/cloud_support.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/application.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/application.pb.go deleted file mode 100644 index 21fae579..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/application.pb.go +++ /dev/null @@ -1,407 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/talent/v4beta1/application.proto - -package talent - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "google.golang.org/genproto/googleapis/api/annotations" - date "google.golang.org/genproto/googleapis/type/date" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum that represents the application status. -type Application_ApplicationState int32 - -const ( - // Default value. - Application_APPLICATION_STATE_UNSPECIFIED Application_ApplicationState = 0 - // The current stage is in progress or pending, for example, interviews in - // progress. - Application_IN_PROGRESS Application_ApplicationState = 1 - // The current stage was terminated by a candidate decision. - Application_CANDIDATE_WITHDREW Application_ApplicationState = 2 - // The current stage was terminated by an employer or agency decision. - Application_EMPLOYER_WITHDREW Application_ApplicationState = 3 - // The current stage is successfully completed, but the next stage (if - // applicable) has not begun. - Application_COMPLETED Application_ApplicationState = 4 - // The current stage was closed without an exception, or terminated for - // reasons unrealated to the candidate. - Application_CLOSED Application_ApplicationState = 5 -) - -var Application_ApplicationState_name = map[int32]string{ - 0: "APPLICATION_STATE_UNSPECIFIED", - 1: "IN_PROGRESS", - 2: "CANDIDATE_WITHDREW", - 3: "EMPLOYER_WITHDREW", - 4: "COMPLETED", - 5: "CLOSED", -} - -var Application_ApplicationState_value = map[string]int32{ - "APPLICATION_STATE_UNSPECIFIED": 0, - "IN_PROGRESS": 1, - "CANDIDATE_WITHDREW": 2, - "EMPLOYER_WITHDREW": 3, - "COMPLETED": 4, - "CLOSED": 5, -} - -func (x Application_ApplicationState) String() string { - return proto.EnumName(Application_ApplicationState_name, int32(x)) -} - -func (Application_ApplicationState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_17aa3b44422c8555, []int{0, 0} -} - -// The stage of the application. -type Application_ApplicationStage int32 - -const ( - // Default value. - Application_APPLICATION_STAGE_UNSPECIFIED Application_ApplicationStage = 0 - // Candidate has applied or a recruiter put candidate into consideration but - // candidate is not yet screened / no decision has been made to move or not - // move the candidate to the next stage. - Application_NEW Application_ApplicationStage = 1 - // A recruiter decided to screen the candidate for this role. - Application_SCREEN Application_ApplicationStage = 2 - // Candidate is being / was sent to the customer / hiring manager for - // detailed review. - Application_HIRING_MANAGER_REVIEW Application_ApplicationStage = 3 - // Candidate was approved by the client / hiring manager and is being / was - // interviewed for the role. - Application_INTERVIEW Application_ApplicationStage = 4 - // Candidate will be / has been given an offer of employment. - Application_OFFER_EXTENDED Application_ApplicationStage = 5 - // Candidate has accepted their offer of employment. - Application_OFFER_ACCEPTED Application_ApplicationStage = 6 - // Candidate has begun (or completed) their employment or assignment with - // the employer. - Application_STARTED Application_ApplicationStage = 7 -) - -var Application_ApplicationStage_name = map[int32]string{ - 0: "APPLICATION_STAGE_UNSPECIFIED", - 1: "NEW", - 2: "SCREEN", - 3: "HIRING_MANAGER_REVIEW", - 4: "INTERVIEW", - 5: "OFFER_EXTENDED", - 6: "OFFER_ACCEPTED", - 7: "STARTED", -} - -var Application_ApplicationStage_value = map[string]int32{ - "APPLICATION_STAGE_UNSPECIFIED": 0, - "NEW": 1, - "SCREEN": 2, - "HIRING_MANAGER_REVIEW": 3, - "INTERVIEW": 4, - "OFFER_EXTENDED": 5, - "OFFER_ACCEPTED": 6, - "STARTED": 7, -} - -func (x Application_ApplicationStage) String() string { - return proto.EnumName(Application_ApplicationStage_name, int32(x)) -} - -func (Application_ApplicationStage) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_17aa3b44422c8555, []int{0, 1} -} - -// Resource that represents a job application record of a candidate. -type Application struct { - // Required during application update. - // - // Resource name assigned to an application by the API. - // - // The format is - // "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}". - // For example, "projects/foo/tenants/bar/profiles/baz/applications/qux". - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. Client side application identifier, used to uniquely identify the - // application. - // - // The maximum number of allowed characters is 255. - ExternalId string `protobuf:"bytes,31,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` - // Output only. Resource name of the candidate of this application. - // - // The format is - // "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}". - // For example, "projects/foo/tenants/bar/profiles/baz". - Profile string `protobuf:"bytes,2,opt,name=profile,proto3" json:"profile,omitempty"` - // One of either a job or a company is required. - // - // Resource name of the job which the candidate applied for. - // - // The format is - // "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For example, - // "projects/foo/tenants/bar/jobs/baz". - Job string `protobuf:"bytes,4,opt,name=job,proto3" json:"job,omitempty"` - // One of either a job or a company is required. - // - // Resource name of the company which the candidate applied for. - // - // The format is - // "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}". - // For example, "projects/foo/tenants/bar/companies/baz". - Company string `protobuf:"bytes,5,opt,name=company,proto3" json:"company,omitempty"` - // The application date. - ApplicationDate *date.Date `protobuf:"bytes,7,opt,name=application_date,json=applicationDate,proto3" json:"application_date,omitempty"` - // Required. What is the most recent stage of the application (that is, new, - // screen, send cv, hired, finished work)? This field is intentionally not - // comprehensive of every possible status, but instead, represents statuses - // that would be used to indicate to the ML models good / bad matches. - Stage Application_ApplicationStage `protobuf:"varint,11,opt,name=stage,proto3,enum=google.cloud.talent.v4beta1.Application_ApplicationStage" json:"stage,omitempty"` - // The application state. - State Application_ApplicationState `protobuf:"varint,13,opt,name=state,proto3,enum=google.cloud.talent.v4beta1.Application_ApplicationState" json:"state,omitempty"` - // All interviews (screen, onsite, and so on) conducted as part of this - // application (includes details such as user conducting the interview, - // timestamp, feedback, and so on). - Interviews []*Interview `protobuf:"bytes,16,rep,name=interviews,proto3" json:"interviews,omitempty"` - // If the candidate is referred by a employee. - Referral *wrappers.BoolValue `protobuf:"bytes,18,opt,name=referral,proto3" json:"referral,omitempty"` - // Required. Reflects the time that the application was created. - CreateTime *timestamp.Timestamp `protobuf:"bytes,19,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // The last update timestamp. - UpdateTime *timestamp.Timestamp `protobuf:"bytes,20,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - // Free text reason behind the recruitement outcome (for example, reason for - // withdraw / reject, reason for an unsuccessful finish, and so on). - // - // Number of characters allowed is 100. - OutcomeNotes string `protobuf:"bytes,21,opt,name=outcome_notes,json=outcomeNotes,proto3" json:"outcome_notes,omitempty"` - // Outcome positiveness shows how positive the outcome is. - Outcome Outcome `protobuf:"varint,22,opt,name=outcome,proto3,enum=google.cloud.talent.v4beta1.Outcome" json:"outcome,omitempty"` - // Output only. Indicates whether this job application is a match to - // application related filters. This value is only applicable in profile - // search response. - IsMatch *wrappers.BoolValue `protobuf:"bytes,28,opt,name=is_match,json=isMatch,proto3" json:"is_match,omitempty"` - // Output only. Job title snippet shows how the job title is related to a - // search query. It's empty if the job title isn't related to the search - // query. - JobTitleSnippet string `protobuf:"bytes,29,opt,name=job_title_snippet,json=jobTitleSnippet,proto3" json:"job_title_snippet,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_17aa3b44422c8555, []int{0} -} - -func (m *Application) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Application.Unmarshal(m, b) -} -func (m *Application) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Application.Marshal(b, m, deterministic) -} -func (m *Application) XXX_Merge(src proto.Message) { - xxx_messageInfo_Application.Merge(m, src) -} -func (m *Application) XXX_Size() int { - return xxx_messageInfo_Application.Size(m) -} -func (m *Application) XXX_DiscardUnknown() { - xxx_messageInfo_Application.DiscardUnknown(m) -} - -var xxx_messageInfo_Application proto.InternalMessageInfo - -func (m *Application) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Application) GetExternalId() string { - if m != nil { - return m.ExternalId - } - return "" -} - -func (m *Application) GetProfile() string { - if m != nil { - return m.Profile - } - return "" -} - -func (m *Application) GetJob() string { - if m != nil { - return m.Job - } - return "" -} - -func (m *Application) GetCompany() string { - if m != nil { - return m.Company - } - return "" -} - -func (m *Application) GetApplicationDate() *date.Date { - if m != nil { - return m.ApplicationDate - } - return nil -} - -func (m *Application) GetStage() Application_ApplicationStage { - if m != nil { - return m.Stage - } - return Application_APPLICATION_STAGE_UNSPECIFIED -} - -func (m *Application) GetState() Application_ApplicationState { - if m != nil { - return m.State - } - return Application_APPLICATION_STATE_UNSPECIFIED -} - -func (m *Application) GetInterviews() []*Interview { - if m != nil { - return m.Interviews - } - return nil -} - -func (m *Application) GetReferral() *wrappers.BoolValue { - if m != nil { - return m.Referral - } - return nil -} - -func (m *Application) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *Application) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -func (m *Application) GetOutcomeNotes() string { - if m != nil { - return m.OutcomeNotes - } - return "" -} - -func (m *Application) GetOutcome() Outcome { - if m != nil { - return m.Outcome - } - return Outcome_OUTCOME_UNSPECIFIED -} - -func (m *Application) GetIsMatch() *wrappers.BoolValue { - if m != nil { - return m.IsMatch - } - return nil -} - -func (m *Application) GetJobTitleSnippet() string { - if m != nil { - return m.JobTitleSnippet - } - return "" -} - -func init() { - proto.RegisterEnum("google.cloud.talent.v4beta1.Application_ApplicationState", Application_ApplicationState_name, Application_ApplicationState_value) - proto.RegisterEnum("google.cloud.talent.v4beta1.Application_ApplicationStage", Application_ApplicationStage_name, Application_ApplicationStage_value) - proto.RegisterType((*Application)(nil), "google.cloud.talent.v4beta1.Application") -} - -func init() { - proto.RegisterFile("google/cloud/talent/v4beta1/application.proto", fileDescriptor_17aa3b44422c8555) -} - -var fileDescriptor_17aa3b44422c8555 = []byte{ - // 788 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0x5d, 0x6f, 0xdc, 0x44, - 0x14, 0xc5, 0xbb, 0x49, 0xb6, 0xb9, 0x26, 0x8d, 0x33, 0x90, 0x68, 0x08, 0x0d, 0x09, 0xa1, 0x42, - 0xfb, 0x82, 0x2d, 0x02, 0x42, 0x82, 0x22, 0x84, 0xe3, 0x9d, 0xa4, 0x96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, 0x13, 0xc5, 0xbd, 0x72, - 0xc3, 0xe7, 0x13, 0x4a, 0xae, 0x8c, 0x01, 0xda, 0x85, 0x1d, 0x72, 0xe9, 0x5f, 0x4c, 0x7f, 0x21, - 0xf4, 0x1e, 0x1e, 0xa2, 0x2d, 0xd8, 0x74, 0xa6, 0x97, 0xfe, 0x05, 0x09, 0xc9, 0xc4, 0x58, 0x43, - 0x00, 0x1b, 0xce, 0xc5, 0x34, 0x20, 0x13, 0x63, 0xfd, 0xf8, 0xef, 0xff, 0x44, 0x4a, 0xde, 0x14, - 0xe9, 0xfc, 0x61, 0xa4, 0x11, 0x0c, 0x3d, 0x72, 0x65, 0x68, 0xca, 0x2c, 0x70, 0x28, 0x21, 0x9e, - 0x31, 0x40, 0x1f, 0xc1, 0xee, 0x73, 0x97, 0xba, 0xde, 0x79, 0x74, 0x69, 0x7b, 0xf6, 0x39, 0xa1, - 0x11, 0x25, 0x2f, 0xdc, 0x3e, 0x82, 0xeb, 0x85, 0x84, 0x36, 0xe5, 0x1a, 0x42, 0xf0, 0x78, 0x7a, - 0x76, 0x46, 0x68, 0x44, 0x7e, 0x0e, 0x89, 0x37, 0x51, 0x51, 0xee, 0x31, 0xdb, 0x71, 0x88, 0xaf, - 0xa2, 0x6e, 0x20, 0x1d, 0x46, 0x41, 0x68, 0x53, 0x55, 0x8c, 0x4e, 0x7f, 0xd7, 0xe0, 0x30, 0x16, - 0xf9, 0xaa, 0x05, 0x9f, 0xe2, 0xa5, 0x61, 0x28, 0xaf, 0xc5, 0xa2, 0x8a, 0xb9, 0xaf, 0x16, 0xe9, - 0x6b, 0xbf, 0xda, 0x9d, 0x30, 0x11, 0x19, 0x2b, 0x12, 0x53, 0x54, 0x89, 0x95, 0xf0, 0xa2, 0x59, - 0xb3, 0xd5, 0xb6, 0x58, 0x99, 0xd6, 0x6f, 0xfc, 0xd7, 0x3e, 0x6b, 0xcb, 0xbf, 0x06, 0x43, 0x27, - 0x0c, 0x66, 0x1b, 0x8d, 0xe6, 0xab, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x7e, 0xa8, 0x82, 0x82, - 0x29, 0x06, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/application_service.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/application_service.pb.go deleted file mode 100644 index cfac491d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/application_service.pb.go +++ /dev/null @@ -1,658 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/talent/v4beta1/application_service.proto - -package talent - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The Request of the CreateApplication method. -type CreateApplicationRequest struct { - // Required. Resource name of the profile under which the application is - // created. - // - // The format is - // "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}". - // For example, "projects/foo/tenants/bar/profiles/baz". - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The application to be created. - Application *Application `protobuf:"bytes,2,opt,name=application,proto3" json:"application,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateApplicationRequest) Reset() { *m = CreateApplicationRequest{} } -func (m *CreateApplicationRequest) String() string { return proto.CompactTextString(m) } -func (*CreateApplicationRequest) ProtoMessage() {} -func (*CreateApplicationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_5d34b1b7148314cc, []int{0} -} - -func (m *CreateApplicationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateApplicationRequest.Unmarshal(m, b) -} -func (m *CreateApplicationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateApplicationRequest.Marshal(b, m, deterministic) -} -func (m *CreateApplicationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateApplicationRequest.Merge(m, src) -} -func (m *CreateApplicationRequest) XXX_Size() int { - return xxx_messageInfo_CreateApplicationRequest.Size(m) -} -func (m *CreateApplicationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateApplicationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateApplicationRequest proto.InternalMessageInfo - -func (m *CreateApplicationRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateApplicationRequest) GetApplication() *Application { - if m != nil { - return m.Application - } - return nil -} - -// Request for getting a application by name. -type GetApplicationRequest struct { - // Required. The resource name of the application to be retrieved. - // - // The format is - // "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}". - // For example, "projects/foo/tenants/bar/profiles/baz/applications/qux". - 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 *GetApplicationRequest) Reset() { *m = GetApplicationRequest{} } -func (m *GetApplicationRequest) String() string { return proto.CompactTextString(m) } -func (*GetApplicationRequest) ProtoMessage() {} -func (*GetApplicationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_5d34b1b7148314cc, []int{1} -} - -func (m *GetApplicationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetApplicationRequest.Unmarshal(m, b) -} -func (m *GetApplicationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetApplicationRequest.Marshal(b, m, deterministic) -} -func (m *GetApplicationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetApplicationRequest.Merge(m, src) -} -func (m *GetApplicationRequest) XXX_Size() int { - return xxx_messageInfo_GetApplicationRequest.Size(m) -} -func (m *GetApplicationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetApplicationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetApplicationRequest proto.InternalMessageInfo - -func (m *GetApplicationRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request for updating a specified application. -type UpdateApplicationRequest struct { - // Required. The application resource to replace the current resource in the - // system. - Application *Application `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"` - // Strongly recommended for the best service experience. - // - // If - // [update_mask][google.cloud.talent.v4beta1.UpdateApplicationRequest.update_mask] - // is provided, only the specified fields in - // [application][google.cloud.talent.v4beta1.UpdateApplicationRequest.application] - // are updated. Otherwise all the fields are updated. - // - // A field mask to specify the application fields to be updated. Only - // top level fields of [Application][google.cloud.talent.v4beta1.Application] - // are supported. - 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 *UpdateApplicationRequest) Reset() { *m = UpdateApplicationRequest{} } -func (m *UpdateApplicationRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateApplicationRequest) ProtoMessage() {} -func (*UpdateApplicationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_5d34b1b7148314cc, []int{2} -} - -func (m *UpdateApplicationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateApplicationRequest.Unmarshal(m, b) -} -func (m *UpdateApplicationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateApplicationRequest.Marshal(b, m, deterministic) -} -func (m *UpdateApplicationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateApplicationRequest.Merge(m, src) -} -func (m *UpdateApplicationRequest) XXX_Size() int { - return xxx_messageInfo_UpdateApplicationRequest.Size(m) -} -func (m *UpdateApplicationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateApplicationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateApplicationRequest proto.InternalMessageInfo - -func (m *UpdateApplicationRequest) GetApplication() *Application { - if m != nil { - return m.Application - } - return nil -} - -func (m *UpdateApplicationRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// Request to delete a application. -type DeleteApplicationRequest struct { - // Required. The resource name of the application to be deleted. - // - // The format is - // "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}". - // For example, "projects/foo/tenants/bar/profiles/baz/applications/qux". - 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 *DeleteApplicationRequest) Reset() { *m = DeleteApplicationRequest{} } -func (m *DeleteApplicationRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteApplicationRequest) ProtoMessage() {} -func (*DeleteApplicationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_5d34b1b7148314cc, []int{3} -} - -func (m *DeleteApplicationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteApplicationRequest.Unmarshal(m, b) -} -func (m *DeleteApplicationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteApplicationRequest.Marshal(b, m, deterministic) -} -func (m *DeleteApplicationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteApplicationRequest.Merge(m, src) -} -func (m *DeleteApplicationRequest) XXX_Size() int { - return xxx_messageInfo_DeleteApplicationRequest.Size(m) -} -func (m *DeleteApplicationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteApplicationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteApplicationRequest proto.InternalMessageInfo - -func (m *DeleteApplicationRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// List applications for which the client has ACL visibility. -type ListApplicationsRequest struct { - // Required. Resource name of the profile under which the application is - // created. - // - // The format is - // "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", for - // example, "projects/foo/tenants/bar/profiles/baz". - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The starting indicator from which to return results. - PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // The maximum number of applications to be returned, at most 100. - // Default is 100 if a non-positive number is provided. - 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 *ListApplicationsRequest) Reset() { *m = ListApplicationsRequest{} } -func (m *ListApplicationsRequest) String() string { return proto.CompactTextString(m) } -func (*ListApplicationsRequest) ProtoMessage() {} -func (*ListApplicationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_5d34b1b7148314cc, []int{4} -} - -func (m *ListApplicationsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListApplicationsRequest.Unmarshal(m, b) -} -func (m *ListApplicationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListApplicationsRequest.Marshal(b, m, deterministic) -} -func (m *ListApplicationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListApplicationsRequest.Merge(m, src) -} -func (m *ListApplicationsRequest) XXX_Size() int { - return xxx_messageInfo_ListApplicationsRequest.Size(m) -} -func (m *ListApplicationsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListApplicationsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListApplicationsRequest proto.InternalMessageInfo - -func (m *ListApplicationsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListApplicationsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListApplicationsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -// The List applications response object. -type ListApplicationsResponse struct { - // Applications for the current client. - Applications []*Application `protobuf:"bytes,1,rep,name=applications,proto3" json:"applications,omitempty"` - // A token to retrieve the next page of results. - NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - // Additional information for the API invocation, such as the request - // tracking id. - Metadata *ResponseMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListApplicationsResponse) Reset() { *m = ListApplicationsResponse{} } -func (m *ListApplicationsResponse) String() string { return proto.CompactTextString(m) } -func (*ListApplicationsResponse) ProtoMessage() {} -func (*ListApplicationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5d34b1b7148314cc, []int{5} -} - -func (m *ListApplicationsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListApplicationsResponse.Unmarshal(m, b) -} -func (m *ListApplicationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListApplicationsResponse.Marshal(b, m, deterministic) -} -func (m *ListApplicationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListApplicationsResponse.Merge(m, src) -} -func (m *ListApplicationsResponse) XXX_Size() int { - return xxx_messageInfo_ListApplicationsResponse.Size(m) -} -func (m *ListApplicationsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListApplicationsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListApplicationsResponse proto.InternalMessageInfo - -func (m *ListApplicationsResponse) GetApplications() []*Application { - if m != nil { - return m.Applications - } - return nil -} - -func (m *ListApplicationsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -func (m *ListApplicationsResponse) GetMetadata() *ResponseMetadata { - if m != nil { - return m.Metadata - } - return nil -} - -func init() { - proto.RegisterType((*CreateApplicationRequest)(nil), "google.cloud.talent.v4beta1.CreateApplicationRequest") - proto.RegisterType((*GetApplicationRequest)(nil), "google.cloud.talent.v4beta1.GetApplicationRequest") - proto.RegisterType((*UpdateApplicationRequest)(nil), "google.cloud.talent.v4beta1.UpdateApplicationRequest") - proto.RegisterType((*DeleteApplicationRequest)(nil), "google.cloud.talent.v4beta1.DeleteApplicationRequest") - proto.RegisterType((*ListApplicationsRequest)(nil), "google.cloud.talent.v4beta1.ListApplicationsRequest") - proto.RegisterType((*ListApplicationsResponse)(nil), "google.cloud.talent.v4beta1.ListApplicationsResponse") -} - -func init() { - proto.RegisterFile("google/cloud/talent/v4beta1/application_service.proto", fileDescriptor_5d34b1b7148314cc) -} - -var fileDescriptor_5d34b1b7148314cc = []byte{ - // 749 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0x4d, 0x6f, 0xd3, 0x4c, - 0x10, 0xc7, 0xb5, 0xc9, 0xf3, 0x54, 0xed, 0xe6, 0x79, 0xa1, 0x8b, 0x20, 0x56, 0x0a, 0x6a, 0x94, - 0x03, 0x8a, 0x22, 0xea, 0x85, 0xb4, 0xbd, 0xb4, 0x02, 0x91, 0x16, 0x8a, 0x8a, 0x5a, 0xb5, 0x4a, - 0xda, 0x0b, 0x97, 0x68, 0xe3, 0x4c, 0x52, 0xb7, 0xb6, 0x77, 0xf1, 0x6e, 0x5a, 0x28, 0xea, 0x05, - 0x09, 0x89, 0x3b, 0xdf, 0x80, 0x13, 0xe2, 0x03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0xc2, 0x50, 0xd6, 0x01, 0xeb, 0x28, - 0xb3, 0x38, 0xa6, 0x4a, 0x0f, 0x68, 0xbf, 0x8f, 0xe8, 0x22, 0x03, 0x90, 0x71, 0xbe, 0x96, 0xae, - 0xee, 0xf3, 0x9a, 0x8c, 0x28, 0x98, 0xb0, 0xa5, 0x69, 0x71, 0xf7, 0x7b, 0xa9, 0xb2, 0xa7, 0x94, - 0x90, 0x4b, 0x94, 0x1e, 0x1d, 0x1d, 0x75, 0x19, 0x29, 0x6b, 0xa9, 0x3d, 0xfd, 0x83, 0x9d, 0x13, - 0x0e, 0x53, 0x0d, 0xee, 0xbb, 0xb7, 0x47, 0xb9, 0x07, 0x41, 0x56, 0x5e, 0x23, 0x3c, 0x6b, 0x71, - 0x77, 0x58, 0xca, 0x2b, 0xe9, 0xde, 0x2d, 0xb3, 0x1d, 0x74, 0x71, 0x1b, 0x3d, 0x2d, 0x45, 0xba, - 0x26, 0x77, 0x98, 0xd7, 0x34, 0xb9, 0xdf, 0xa4, 0x4d, 0xf0, 0xc2, 0x1e, 0xd3, 0xd3, 0x98, 0x7d, - 0x7f, 0xfd, 0xcb, 0xfa, 0xf5, 0x5d, 0x22, 0xb9, 0xba, 0x53, 0xa9, 0x4d, 0x84, 0x9a, 0xf9, 0x3f, - 0x01, 0x00, 0x00, 0xff, 0xff, 0x9d, 0x1c, 0xfb, 0x61, 0x08, 0x09, 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 - -// ApplicationServiceClient is the client API for ApplicationService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ApplicationServiceClient interface { - // Creates a new application entity. - CreateApplication(ctx context.Context, in *CreateApplicationRequest, opts ...grpc.CallOption) (*Application, error) - // Retrieves specified application. - GetApplication(ctx context.Context, in *GetApplicationRequest, opts ...grpc.CallOption) (*Application, error) - // Updates specified application. - UpdateApplication(ctx context.Context, in *UpdateApplicationRequest, opts ...grpc.CallOption) (*Application, error) - // Deletes specified application. - DeleteApplication(ctx context.Context, in *DeleteApplicationRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Lists all applications associated with the profile. - ListApplications(ctx context.Context, in *ListApplicationsRequest, opts ...grpc.CallOption) (*ListApplicationsResponse, error) -} - -type applicationServiceClient struct { - cc *grpc.ClientConn -} - -func NewApplicationServiceClient(cc *grpc.ClientConn) ApplicationServiceClient { - return &applicationServiceClient{cc} -} - -func (c *applicationServiceClient) CreateApplication(ctx context.Context, in *CreateApplicationRequest, opts ...grpc.CallOption) (*Application, error) { - out := new(Application) - err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.ApplicationService/CreateApplication", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *applicationServiceClient) GetApplication(ctx context.Context, in *GetApplicationRequest, opts ...grpc.CallOption) (*Application, error) { - out := new(Application) - err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.ApplicationService/GetApplication", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *applicationServiceClient) UpdateApplication(ctx context.Context, in *UpdateApplicationRequest, opts ...grpc.CallOption) (*Application, error) { - out := new(Application) - err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.ApplicationService/UpdateApplication", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *applicationServiceClient) DeleteApplication(ctx context.Context, in *DeleteApplicationRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.ApplicationService/DeleteApplication", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *applicationServiceClient) ListApplications(ctx context.Context, in *ListApplicationsRequest, opts ...grpc.CallOption) (*ListApplicationsResponse, error) { - out := new(ListApplicationsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.ApplicationService/ListApplications", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ApplicationServiceServer is the server API for ApplicationService service. -type ApplicationServiceServer interface { - // Creates a new application entity. - CreateApplication(context.Context, *CreateApplicationRequest) (*Application, error) - // Retrieves specified application. - GetApplication(context.Context, *GetApplicationRequest) (*Application, error) - // Updates specified application. - UpdateApplication(context.Context, *UpdateApplicationRequest) (*Application, error) - // Deletes specified application. - DeleteApplication(context.Context, *DeleteApplicationRequest) (*empty.Empty, error) - // Lists all applications associated with the profile. - ListApplications(context.Context, *ListApplicationsRequest) (*ListApplicationsResponse, error) -} - -// UnimplementedApplicationServiceServer can be embedded to have forward compatible implementations. -type UnimplementedApplicationServiceServer struct { -} - -func (*UnimplementedApplicationServiceServer) CreateApplication(ctx context.Context, req *CreateApplicationRequest) (*Application, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateApplication not implemented") -} -func (*UnimplementedApplicationServiceServer) GetApplication(ctx context.Context, req *GetApplicationRequest) (*Application, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetApplication not implemented") -} -func (*UnimplementedApplicationServiceServer) UpdateApplication(ctx context.Context, req *UpdateApplicationRequest) (*Application, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateApplication not implemented") -} -func (*UnimplementedApplicationServiceServer) DeleteApplication(ctx context.Context, req *DeleteApplicationRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteApplication not implemented") -} -func (*UnimplementedApplicationServiceServer) ListApplications(ctx context.Context, req *ListApplicationsRequest) (*ListApplicationsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListApplications not implemented") -} - -func RegisterApplicationServiceServer(s *grpc.Server, srv ApplicationServiceServer) { - s.RegisterService(&_ApplicationService_serviceDesc, srv) -} - -func _ApplicationService_CreateApplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateApplicationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ApplicationServiceServer).CreateApplication(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.talent.v4beta1.ApplicationService/CreateApplication", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ApplicationServiceServer).CreateApplication(ctx, req.(*CreateApplicationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ApplicationService_GetApplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetApplicationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ApplicationServiceServer).GetApplication(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.talent.v4beta1.ApplicationService/GetApplication", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ApplicationServiceServer).GetApplication(ctx, req.(*GetApplicationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ApplicationService_UpdateApplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateApplicationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ApplicationServiceServer).UpdateApplication(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.talent.v4beta1.ApplicationService/UpdateApplication", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ApplicationServiceServer).UpdateApplication(ctx, req.(*UpdateApplicationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ApplicationService_DeleteApplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteApplicationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ApplicationServiceServer).DeleteApplication(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.talent.v4beta1.ApplicationService/DeleteApplication", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ApplicationServiceServer).DeleteApplication(ctx, req.(*DeleteApplicationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ApplicationService_ListApplications_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListApplicationsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ApplicationServiceServer).ListApplications(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.talent.v4beta1.ApplicationService/ListApplications", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ApplicationServiceServer).ListApplications(ctx, req.(*ListApplicationsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ApplicationService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.talent.v4beta1.ApplicationService", - HandlerType: (*ApplicationServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateApplication", - Handler: _ApplicationService_CreateApplication_Handler, - }, - { - MethodName: "GetApplication", - Handler: _ApplicationService_GetApplication_Handler, - }, - { - MethodName: "UpdateApplication", - Handler: _ApplicationService_UpdateApplication_Handler, - }, - { - MethodName: "DeleteApplication", - Handler: _ApplicationService_DeleteApplication_Handler, - }, - { - MethodName: "ListApplications", - Handler: _ApplicationService_ListApplications_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/talent/v4beta1/application_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/batch.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/batch.pb.go deleted file mode 100644 index 1a3e7921..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/batch.pb.go +++ /dev/null @@ -1,42 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/talent/v4beta1/batch.proto - -package talent - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -func init() { - proto.RegisterFile("google/cloud/talent/v4beta1/batch.proto", fileDescriptor_b52f05e5c2b02efe) -} - -var fileDescriptor_b52f05e5c2b02efe = []byte{ - // 163 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4f, 0xcf, 0xcf, 0x4f, - 0xcf, 0x49, 0xd5, 0x4f, 0xce, 0xc9, 0x2f, 0x4d, 0xd1, 0x2f, 0x49, 0xcc, 0x49, 0xcd, 0x2b, 0xd1, - 0x2f, 0x33, 0x49, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x4f, 0x4a, 0x2c, 0x49, 0xce, 0xd0, 0x2b, 0x28, - 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x86, 0x28, 0xd4, 0x03, 0x2b, 0xd4, 0x83, 0x28, 0xd4, 0x83, 0x2a, - 0x94, 0x92, 0x81, 0x9a, 0x92, 0x58, 0x90, 0xa9, 0x9f, 0x98, 0x97, 0x97, 0x5f, 0x92, 0x58, 0x92, - 0x99, 0x9f, 0x57, 0x0c, 0xd1, 0xea, 0x54, 0xc1, 0x25, 0x9f, 0x9c, 0x9f, 0xab, 0x87, 0xc7, 0x00, - 0x27, 0x2e, 0x27, 0x90, 0x55, 0x01, 0x20, 0xe5, 0x01, 0x8c, 0x51, 0x8e, 0x50, 0xa5, 0xe9, 0xf9, - 0x39, 0x89, 0x79, 0xe9, 0x7a, 0xf9, 0x45, 0xe9, 0xfa, 0xe9, 0xa9, 0x79, 0x60, 0xc3, 0xf4, 0x21, - 0x52, 0x89, 0x05, 0x99, 0xc5, 0x58, 0xdd, 0x6c, 0x0d, 0xe1, 0x2e, 0x62, 0x62, 0x76, 0x0e, 0x09, - 0x4e, 0x62, 0x03, 0xeb, 0x31, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x6e, 0x3f, 0xb6, 0xba, 0xe6, - 0x00, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/common.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/common.pb.go deleted file mode 100644 index 029f78ca..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/common.pb.go +++ /dev/null @@ -1,2684 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/talent/v4beta1/common.proto - -package talent - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "google.golang.org/genproto/googleapis/api/annotations" - date "google.golang.org/genproto/googleapis/type/date" - latlng "google.golang.org/genproto/googleapis/type/latlng" - money "google.golang.org/genproto/googleapis/type/money" - postaladdress "google.golang.org/genproto/googleapis/type/postaladdress" - _ "google.golang.org/genproto/googleapis/type/timeofday" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// An enum that represents the size of the company. -type CompanySize int32 - -const ( - // Default value if the size isn't specified. - CompanySize_COMPANY_SIZE_UNSPECIFIED CompanySize = 0 - // The company has less than 50 employees. - CompanySize_MINI CompanySize = 1 - // The company has between 50 and 99 employees. - CompanySize_SMALL CompanySize = 2 - // The company has between 100 and 499 employees. - CompanySize_SMEDIUM CompanySize = 3 - // The company has between 500 and 999 employees. - CompanySize_MEDIUM CompanySize = 4 - // The company has between 1,000 and 4,999 employees. - CompanySize_BIG CompanySize = 5 - // The company has between 5,000 and 9,999 employees. - CompanySize_BIGGER CompanySize = 6 - // The company has 10,000 or more employees. - CompanySize_GIANT CompanySize = 7 -) - -var CompanySize_name = map[int32]string{ - 0: "COMPANY_SIZE_UNSPECIFIED", - 1: "MINI", - 2: "SMALL", - 3: "SMEDIUM", - 4: "MEDIUM", - 5: "BIG", - 6: "BIGGER", - 7: "GIANT", -} - -var CompanySize_value = map[string]int32{ - "COMPANY_SIZE_UNSPECIFIED": 0, - "MINI": 1, - "SMALL": 2, - "SMEDIUM": 3, - "MEDIUM": 4, - "BIG": 5, - "BIGGER": 6, - "GIANT": 7, -} - -func (x CompanySize) String() string { - return proto.EnumName(CompanySize_name, int32(x)) -} - -func (CompanySize) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2884fcfab48f4cdd, []int{0} -} - -// An enum that represents employee benefits included with the job. -type JobBenefit int32 - -const ( - // Default value if the type isn't specified. - JobBenefit_JOB_BENEFIT_UNSPECIFIED JobBenefit = 0 - // The job includes access to programs that support child care, such - // as daycare. - JobBenefit_CHILD_CARE JobBenefit = 1 - // The job includes dental services covered by a dental - // insurance plan. - JobBenefit_DENTAL JobBenefit = 2 - // The job offers specific benefits to domestic partners. - JobBenefit_DOMESTIC_PARTNER JobBenefit = 3 - // The job allows for a flexible work schedule. - JobBenefit_FLEXIBLE_HOURS JobBenefit = 4 - // The job includes health services covered by a medical insurance plan. - JobBenefit_MEDICAL JobBenefit = 5 - // The job includes a life insurance plan provided by the employer or - // available for purchase by the employee. - JobBenefit_LIFE_INSURANCE JobBenefit = 6 - // The job allows for a leave of absence to a parent to care for a newborn - // child. - JobBenefit_PARENTAL_LEAVE JobBenefit = 7 - // The job includes a workplace retirement plan provided by the - // employer or available for purchase by the employee. - JobBenefit_RETIREMENT_PLAN JobBenefit = 8 - // The job allows for paid time off due to illness. - JobBenefit_SICK_DAYS JobBenefit = 9 - // The job includes paid time off for vacation. - JobBenefit_VACATION JobBenefit = 10 - // The job includes vision services covered by a vision - // insurance plan. - JobBenefit_VISION JobBenefit = 11 -) - -var JobBenefit_name = map[int32]string{ - 0: "JOB_BENEFIT_UNSPECIFIED", - 1: "CHILD_CARE", - 2: "DENTAL", - 3: "DOMESTIC_PARTNER", - 4: "FLEXIBLE_HOURS", - 5: "MEDICAL", - 6: "LIFE_INSURANCE", - 7: "PARENTAL_LEAVE", - 8: "RETIREMENT_PLAN", - 9: "SICK_DAYS", - 10: "VACATION", - 11: "VISION", -} - -var JobBenefit_value = map[string]int32{ - "JOB_BENEFIT_UNSPECIFIED": 0, - "CHILD_CARE": 1, - "DENTAL": 2, - "DOMESTIC_PARTNER": 3, - "FLEXIBLE_HOURS": 4, - "MEDICAL": 5, - "LIFE_INSURANCE": 6, - "PARENTAL_LEAVE": 7, - "RETIREMENT_PLAN": 8, - "SICK_DAYS": 9, - "VACATION": 10, - "VISION": 11, -} - -func (x JobBenefit) String() string { - return proto.EnumName(JobBenefit_name, int32(x)) -} - -func (JobBenefit) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2884fcfab48f4cdd, []int{1} -} - -// Educational degree level defined in International Standard Classification -// of Education (ISCED). -type DegreeType int32 - -const ( - // Default value. Represents no degree, or early childhood education. - // Maps to ISCED code 0. - // Ex) Kindergarten - DegreeType_DEGREE_TYPE_UNSPECIFIED DegreeType = 0 - // Primary education which is typically the first stage of compulsory - // education. ISCED code 1. - // Ex) Elementary school - DegreeType_PRIMARY_EDUCATION DegreeType = 1 - // Lower secondary education; First stage of secondary education building on - // primary education, typically with a more subject-oriented curriculum. - // ISCED code 2. - // Ex) Middle school - DegreeType_LOWER_SECONDARY_EDUCATION DegreeType = 2 - // Middle education; Second/final stage of secondary education preparing for - // tertiary education and/or providing skills relevant to employment. - // Usually with an increased range of subject options and streams. ISCED - // code 3. - // Ex) High school - DegreeType_UPPER_SECONDARY_EDUCATION DegreeType = 3 - // Adult Remedial Education; Programmes providing learning experiences that - // build on secondary education and prepare for labour market entry and/or - // tertiary education. The content is broader than secondary but not as - // complex as tertiary education. ISCED code 4. - DegreeType_ADULT_REMEDIAL_EDUCATION DegreeType = 4 - // Associate's or equivalent; Short first tertiary programmes that are - // typically practically-based, occupationally-specific and prepare for - // labour market entry. These programmes may also provide a pathway to other - // tertiary programmes. ISCED code 5. - DegreeType_ASSOCIATES_OR_EQUIVALENT DegreeType = 5 - // Bachelor's or equivalent; Programmes designed to provide intermediate - // academic and/or professional knowledge, skills and competencies leading - // to a first tertiary degree or equivalent qualification. ISCED code 6. - DegreeType_BACHELORS_OR_EQUIVALENT DegreeType = 6 - // Master's or equivalent; Programmes designed to provide advanced academic - // and/or professional knowledge, skills and competencies leading to a - // second tertiary degree or equivalent qualification. ISCED code 7. - DegreeType_MASTERS_OR_EQUIVALENT DegreeType = 7 - // Doctoral or equivalent; Programmes designed primarily to lead to an - // advanced research qualification, usually concluding with the submission - // and defense of a substantive dissertation of publishable quality based on - // original research. ISCED code 8. - DegreeType_DOCTORAL_OR_EQUIVALENT DegreeType = 8 -) - -var DegreeType_name = map[int32]string{ - 0: "DEGREE_TYPE_UNSPECIFIED", - 1: "PRIMARY_EDUCATION", - 2: "LOWER_SECONDARY_EDUCATION", - 3: "UPPER_SECONDARY_EDUCATION", - 4: "ADULT_REMEDIAL_EDUCATION", - 5: "ASSOCIATES_OR_EQUIVALENT", - 6: "BACHELORS_OR_EQUIVALENT", - 7: "MASTERS_OR_EQUIVALENT", - 8: "DOCTORAL_OR_EQUIVALENT", -} - -var DegreeType_value = map[string]int32{ - "DEGREE_TYPE_UNSPECIFIED": 0, - "PRIMARY_EDUCATION": 1, - "LOWER_SECONDARY_EDUCATION": 2, - "UPPER_SECONDARY_EDUCATION": 3, - "ADULT_REMEDIAL_EDUCATION": 4, - "ASSOCIATES_OR_EQUIVALENT": 5, - "BACHELORS_OR_EQUIVALENT": 6, - "MASTERS_OR_EQUIVALENT": 7, - "DOCTORAL_OR_EQUIVALENT": 8, -} - -func (x DegreeType) String() string { - return proto.EnumName(DegreeType_name, int32(x)) -} - -func (DegreeType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2884fcfab48f4cdd, []int{2} -} - -// An enum that represents the employment type of a job. -type EmploymentType int32 - -const ( - // The default value if the employment type isn't specified. - EmploymentType_EMPLOYMENT_TYPE_UNSPECIFIED EmploymentType = 0 - // The job requires working a number of hours that constitute full - // time employment, typically 40 or more hours per week. - EmploymentType_FULL_TIME EmploymentType = 1 - // The job entails working fewer hours than a full time job, - // typically less than 40 hours a week. - EmploymentType_PART_TIME EmploymentType = 2 - // The job is offered as a contracted, as opposed to a salaried employee, - // position. - EmploymentType_CONTRACTOR EmploymentType = 3 - // The job is offered as a contracted position with the understanding - // that it's converted into a full-time position at the end of the - // contract. Jobs of this type are also returned by a search for - // [EmploymentType.CONTRACTOR][google.cloud.talent.v4beta1.EmploymentType.CONTRACTOR] - // jobs. - EmploymentType_CONTRACT_TO_HIRE EmploymentType = 4 - // The job is offered as a temporary employment opportunity, usually - // a short-term engagement. - EmploymentType_TEMPORARY EmploymentType = 5 - // The job is a fixed-term opportunity for students or entry-level job - // seekers to obtain on-the-job training, typically offered as a summer - // position. - EmploymentType_INTERN EmploymentType = 6 - // The is an opportunity for an individual to volunteer, where there's no - // expectation of compensation for the provided services. - EmploymentType_VOLUNTEER EmploymentType = 7 - // The job requires an employee to work on an as-needed basis with a - // flexible schedule. - EmploymentType_PER_DIEM EmploymentType = 8 - // The job involves employing people in remote areas and flying them - // temporarily to the work site instead of relocating employees and their - // families permanently. - EmploymentType_FLY_IN_FLY_OUT EmploymentType = 9 - // The job does not fit any of the other listed types. - EmploymentType_OTHER_EMPLOYMENT_TYPE EmploymentType = 10 -) - -var EmploymentType_name = map[int32]string{ - 0: "EMPLOYMENT_TYPE_UNSPECIFIED", - 1: "FULL_TIME", - 2: "PART_TIME", - 3: "CONTRACTOR", - 4: "CONTRACT_TO_HIRE", - 5: "TEMPORARY", - 6: "INTERN", - 7: "VOLUNTEER", - 8: "PER_DIEM", - 9: "FLY_IN_FLY_OUT", - 10: "OTHER_EMPLOYMENT_TYPE", -} - -var EmploymentType_value = map[string]int32{ - "EMPLOYMENT_TYPE_UNSPECIFIED": 0, - "FULL_TIME": 1, - "PART_TIME": 2, - "CONTRACTOR": 3, - "CONTRACT_TO_HIRE": 4, - "TEMPORARY": 5, - "INTERN": 6, - "VOLUNTEER": 7, - "PER_DIEM": 8, - "FLY_IN_FLY_OUT": 9, - "OTHER_EMPLOYMENT_TYPE": 10, -} - -func (x EmploymentType) String() string { - return proto.EnumName(EmploymentType_name, int32(x)) -} - -func (EmploymentType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2884fcfab48f4cdd, []int{3} -} - -// An enum that represents the required experience level required for the job. -type JobLevel int32 - -const ( - // The default value if the level isn't specified. - JobLevel_JOB_LEVEL_UNSPECIFIED JobLevel = 0 - // Entry-level individual contributors, typically with less than 2 years of - // experience in a similar role. Includes interns. - JobLevel_ENTRY_LEVEL JobLevel = 1 - // Experienced individual contributors, typically with 2+ years of - // experience in a similar role. - JobLevel_EXPERIENCED JobLevel = 2 - // Entry- to mid-level managers responsible for managing a team of people. - JobLevel_MANAGER JobLevel = 3 - // Senior-level managers responsible for managing teams of managers. - JobLevel_DIRECTOR JobLevel = 4 - // Executive-level managers and above, including C-level positions. - JobLevel_EXECUTIVE JobLevel = 5 -) - -var JobLevel_name = map[int32]string{ - 0: "JOB_LEVEL_UNSPECIFIED", - 1: "ENTRY_LEVEL", - 2: "EXPERIENCED", - 3: "MANAGER", - 4: "DIRECTOR", - 5: "EXECUTIVE", -} - -var JobLevel_value = map[string]int32{ - "JOB_LEVEL_UNSPECIFIED": 0, - "ENTRY_LEVEL": 1, - "EXPERIENCED": 2, - "MANAGER": 3, - "DIRECTOR": 4, - "EXECUTIVE": 5, -} - -func (x JobLevel) String() string { - return proto.EnumName(JobLevel_name, int32(x)) -} - -func (JobLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2884fcfab48f4cdd, []int{4} -} - -// An enum that represents the categorization or primary focus of specific -// role. This value is different than the "industry" associated with a role, -// which is related to the categorization of the company listing the job. -type JobCategory int32 - -const ( - // The default value if the category isn't specified. - JobCategory_JOB_CATEGORY_UNSPECIFIED JobCategory = 0 - // An accounting and finance job, such as an Accountant. - JobCategory_ACCOUNTING_AND_FINANCE JobCategory = 1 - // An administrative and office job, such as an Administrative Assistant. - JobCategory_ADMINISTRATIVE_AND_OFFICE JobCategory = 2 - // An advertising and marketing job, such as Marketing Manager. - JobCategory_ADVERTISING_AND_MARKETING JobCategory = 3 - // An animal care job, such as Veterinarian. - JobCategory_ANIMAL_CARE JobCategory = 4 - // An art, fashion, or design job, such as Designer. - JobCategory_ART_FASHION_AND_DESIGN JobCategory = 5 - // A business operations job, such as Business Operations Manager. - JobCategory_BUSINESS_OPERATIONS JobCategory = 6 - // A cleaning and facilities job, such as Custodial Staff. - JobCategory_CLEANING_AND_FACILITIES JobCategory = 7 - // A computer and IT job, such as Systems Administrator. - JobCategory_COMPUTER_AND_IT JobCategory = 8 - // A construction job, such as General Laborer. - JobCategory_CONSTRUCTION JobCategory = 9 - // A customer service job, such s Cashier. - JobCategory_CUSTOMER_SERVICE JobCategory = 10 - // An education job, such as School Teacher. - JobCategory_EDUCATION JobCategory = 11 - // An entertainment and travel job, such as Flight Attendant. - JobCategory_ENTERTAINMENT_AND_TRAVEL JobCategory = 12 - // A farming or outdoor job, such as Park Ranger. - JobCategory_FARMING_AND_OUTDOORS JobCategory = 13 - // A healthcare job, such as Registered Nurse. - JobCategory_HEALTHCARE JobCategory = 14 - // A human resources job, such as Human Resources Director. - JobCategory_HUMAN_RESOURCES JobCategory = 15 - // An installation, maintenance, or repair job, such as Electrician. - JobCategory_INSTALLATION_MAINTENANCE_AND_REPAIR JobCategory = 16 - // A legal job, such as Law Clerk. - JobCategory_LEGAL JobCategory = 17 - // A management job, often used in conjunction with another category, - // such as Store Manager. - JobCategory_MANAGEMENT JobCategory = 18 - // A manufacturing or warehouse job, such as Assembly Technician. - JobCategory_MANUFACTURING_AND_WAREHOUSE JobCategory = 19 - // A media, communications, or writing job, such as Media Relations. - JobCategory_MEDIA_COMMUNICATIONS_AND_WRITING JobCategory = 20 - // An oil, gas or mining job, such as Offshore Driller. - JobCategory_OIL_GAS_AND_MINING JobCategory = 21 - // A personal care and services job, such as Hair Stylist. - JobCategory_PERSONAL_CARE_AND_SERVICES JobCategory = 22 - // A protective services job, such as Security Guard. - JobCategory_PROTECTIVE_SERVICES JobCategory = 23 - // A real estate job, such as Buyer's Agent. - JobCategory_REAL_ESTATE JobCategory = 24 - // A restaurant and hospitality job, such as Restaurant Server. - JobCategory_RESTAURANT_AND_HOSPITALITY JobCategory = 25 - // A sales and/or retail job, such Sales Associate. - JobCategory_SALES_AND_RETAIL JobCategory = 26 - // A science and engineering job, such as Lab Technician. - JobCategory_SCIENCE_AND_ENGINEERING JobCategory = 27 - // A social services or non-profit job, such as Case Worker. - JobCategory_SOCIAL_SERVICES_AND_NON_PROFIT JobCategory = 28 - // A sports, fitness, or recreation job, such as Personal Trainer. - JobCategory_SPORTS_FITNESS_AND_RECREATION JobCategory = 29 - // A transportation or logistics job, such as Truck Driver. - JobCategory_TRANSPORTATION_AND_LOGISTICS JobCategory = 30 -) - -var JobCategory_name = map[int32]string{ - 0: "JOB_CATEGORY_UNSPECIFIED", - 1: "ACCOUNTING_AND_FINANCE", - 2: "ADMINISTRATIVE_AND_OFFICE", - 3: "ADVERTISING_AND_MARKETING", - 4: "ANIMAL_CARE", - 5: "ART_FASHION_AND_DESIGN", - 6: "BUSINESS_OPERATIONS", - 7: "CLEANING_AND_FACILITIES", - 8: "COMPUTER_AND_IT", - 9: "CONSTRUCTION", - 10: "CUSTOMER_SERVICE", - 11: "EDUCATION", - 12: "ENTERTAINMENT_AND_TRAVEL", - 13: "FARMING_AND_OUTDOORS", - 14: "HEALTHCARE", - 15: "HUMAN_RESOURCES", - 16: "INSTALLATION_MAINTENANCE_AND_REPAIR", - 17: "LEGAL", - 18: "MANAGEMENT", - 19: "MANUFACTURING_AND_WAREHOUSE", - 20: "MEDIA_COMMUNICATIONS_AND_WRITING", - 21: "OIL_GAS_AND_MINING", - 22: "PERSONAL_CARE_AND_SERVICES", - 23: "PROTECTIVE_SERVICES", - 24: "REAL_ESTATE", - 25: "RESTAURANT_AND_HOSPITALITY", - 26: "SALES_AND_RETAIL", - 27: "SCIENCE_AND_ENGINEERING", - 28: "SOCIAL_SERVICES_AND_NON_PROFIT", - 29: "SPORTS_FITNESS_AND_RECREATION", - 30: "TRANSPORTATION_AND_LOGISTICS", -} - -var JobCategory_value = map[string]int32{ - "JOB_CATEGORY_UNSPECIFIED": 0, - "ACCOUNTING_AND_FINANCE": 1, - "ADMINISTRATIVE_AND_OFFICE": 2, - "ADVERTISING_AND_MARKETING": 3, - "ANIMAL_CARE": 4, - "ART_FASHION_AND_DESIGN": 5, - "BUSINESS_OPERATIONS": 6, - "CLEANING_AND_FACILITIES": 7, - "COMPUTER_AND_IT": 8, - "CONSTRUCTION": 9, - "CUSTOMER_SERVICE": 10, - "EDUCATION": 11, - "ENTERTAINMENT_AND_TRAVEL": 12, - "FARMING_AND_OUTDOORS": 13, - "HEALTHCARE": 14, - "HUMAN_RESOURCES": 15, - "INSTALLATION_MAINTENANCE_AND_REPAIR": 16, - "LEGAL": 17, - "MANAGEMENT": 18, - "MANUFACTURING_AND_WAREHOUSE": 19, - "MEDIA_COMMUNICATIONS_AND_WRITING": 20, - "OIL_GAS_AND_MINING": 21, - "PERSONAL_CARE_AND_SERVICES": 22, - "PROTECTIVE_SERVICES": 23, - "REAL_ESTATE": 24, - "RESTAURANT_AND_HOSPITALITY": 25, - "SALES_AND_RETAIL": 26, - "SCIENCE_AND_ENGINEERING": 27, - "SOCIAL_SERVICES_AND_NON_PROFIT": 28, - "SPORTS_FITNESS_AND_RECREATION": 29, - "TRANSPORTATION_AND_LOGISTICS": 30, -} - -func (x JobCategory) String() string { - return proto.EnumName(JobCategory_name, int32(x)) -} - -func (JobCategory) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2884fcfab48f4cdd, []int{5} -} - -// An enum that represents the job posting region. In most cases, job postings -// don't need to specify a region. If a region is given, jobs are -// eligible for searches in the specified region. -type PostingRegion int32 - -const ( - // If the region is unspecified, the job is only returned if it - // matches the [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]. - PostingRegion_POSTING_REGION_UNSPECIFIED PostingRegion = 0 - // In addition to exact location matching, job posting is returned when the - // [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] in the search - // query is in the same administrative area as the returned job posting. For - // example, if a `ADMINISTRATIVE_AREA` job is posted in "CA, USA", it's - // returned if [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] - // has "Mountain View". - // - // Administrative area refers to top-level administrative subdivision of this - // country. For example, US state, IT region, UK constituent nation and - // JP prefecture. - PostingRegion_ADMINISTRATIVE_AREA PostingRegion = 1 - // In addition to exact location matching, job is returned when - // [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] in search - // query is in the same country as this job. For example, if a `NATION_WIDE` - // job is posted in "USA", it's returned if - // [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] has 'Mountain - // View'. - PostingRegion_NATION PostingRegion = 2 - // Job allows employees to work remotely (telecommute). - // If locations are provided with this value, the job is - // considered as having a location, but telecommuting is allowed. - PostingRegion_TELECOMMUTE PostingRegion = 3 -) - -var PostingRegion_name = map[int32]string{ - 0: "POSTING_REGION_UNSPECIFIED", - 1: "ADMINISTRATIVE_AREA", - 2: "NATION", - 3: "TELECOMMUTE", -} - -var PostingRegion_value = map[string]int32{ - "POSTING_REGION_UNSPECIFIED": 0, - "ADMINISTRATIVE_AREA": 1, - "NATION": 2, - "TELECOMMUTE": 3, -} - -func (x PostingRegion) String() string { - return proto.EnumName(PostingRegion_name, int32(x)) -} - -func (PostingRegion) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2884fcfab48f4cdd, []int{6} -} - -// Deprecated. All resources are only visible to the owner. -// -// An enum that represents who has view access to the resource. -type Visibility int32 // Deprecated: Do not use. -const ( - // Default value. - Visibility_VISIBILITY_UNSPECIFIED Visibility = 0 - // The resource is only visible to the GCP account who owns it. - Visibility_ACCOUNT_ONLY Visibility = 1 - // The resource is visible to the owner and may be visible to other - // applications and processes at Google. - Visibility_SHARED_WITH_GOOGLE Visibility = 2 - // The resource is visible to the owner and may be visible to all other API - // clients. - Visibility_SHARED_WITH_PUBLIC Visibility = 3 -) - -var Visibility_name = map[int32]string{ - 0: "VISIBILITY_UNSPECIFIED", - 1: "ACCOUNT_ONLY", - 2: "SHARED_WITH_GOOGLE", - 3: "SHARED_WITH_PUBLIC", -} - -var Visibility_value = map[string]int32{ - "VISIBILITY_UNSPECIFIED": 0, - "ACCOUNT_ONLY": 1, - "SHARED_WITH_GOOGLE": 2, - "SHARED_WITH_PUBLIC": 3, -} - -func (x Visibility) String() string { - return proto.EnumName(Visibility_name, int32(x)) -} - -func (Visibility) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2884fcfab48f4cdd, []int{7} -} - -// Enum that represents the usage of the contact information. -type ContactInfoUsage int32 - -const ( - // Default value. - ContactInfoUsage_CONTACT_INFO_USAGE_UNSPECIFIED ContactInfoUsage = 0 - // Personal use. - ContactInfoUsage_PERSONAL ContactInfoUsage = 1 - // Work use. - ContactInfoUsage_WORK ContactInfoUsage = 2 - // School use. - ContactInfoUsage_SCHOOL ContactInfoUsage = 3 -) - -var ContactInfoUsage_name = map[int32]string{ - 0: "CONTACT_INFO_USAGE_UNSPECIFIED", - 1: "PERSONAL", - 2: "WORK", - 3: "SCHOOL", -} - -var ContactInfoUsage_value = map[string]int32{ - "CONTACT_INFO_USAGE_UNSPECIFIED": 0, - "PERSONAL": 1, - "WORK": 2, - "SCHOOL": 3, -} - -func (x ContactInfoUsage) String() string { - return proto.EnumName(ContactInfoUsage_name, int32(x)) -} - -func (ContactInfoUsage) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2884fcfab48f4cdd, []int{8} -} - -// Option for HTML content sanitization on user input fields, for example, job -// description. By setting this option, user can determine whether and how -// sanitization is performed on these fields. -type HtmlSanitization int32 - -const ( - // Default value. - HtmlSanitization_HTML_SANITIZATION_UNSPECIFIED HtmlSanitization = 0 - // Disables sanitization on HTML input. - HtmlSanitization_HTML_SANITIZATION_DISABLED HtmlSanitization = 1 - // Sanitizes HTML input, only accepts bold, italic, ordered list, and - // unordered list markup tags. - HtmlSanitization_SIMPLE_FORMATTING_ONLY HtmlSanitization = 2 -) - -var HtmlSanitization_name = map[int32]string{ - 0: "HTML_SANITIZATION_UNSPECIFIED", - 1: "HTML_SANITIZATION_DISABLED", - 2: "SIMPLE_FORMATTING_ONLY", -} - -var HtmlSanitization_value = map[string]int32{ - "HTML_SANITIZATION_UNSPECIFIED": 0, - "HTML_SANITIZATION_DISABLED": 1, - "SIMPLE_FORMATTING_ONLY": 2, -} - -func (x HtmlSanitization) String() string { - return proto.EnumName(HtmlSanitization_name, int32(x)) -} - -func (HtmlSanitization) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2884fcfab48f4cdd, []int{9} -} - -// Method for commute. -type CommuteMethod int32 - -const ( - // Commute method isn't specified. - CommuteMethod_COMMUTE_METHOD_UNSPECIFIED CommuteMethod = 0 - // Commute time is calculated based on driving time. - CommuteMethod_DRIVING CommuteMethod = 1 - // Commute time is calculated based on public transit including bus, metro, - // subway, and so on. - CommuteMethod_TRANSIT CommuteMethod = 2 - // Commute time is calculated based on walking time. - CommuteMethod_WALKING CommuteMethod = 3 - // Commute time is calculated based on biking time. - CommuteMethod_CYCLING CommuteMethod = 4 -) - -var CommuteMethod_name = map[int32]string{ - 0: "COMMUTE_METHOD_UNSPECIFIED", - 1: "DRIVING", - 2: "TRANSIT", - 3: "WALKING", - 4: "CYCLING", -} - -var CommuteMethod_value = map[string]int32{ - "COMMUTE_METHOD_UNSPECIFIED": 0, - "DRIVING": 1, - "TRANSIT": 2, - "WALKING": 3, - "CYCLING": 4, -} - -func (x CommuteMethod) String() string { - return proto.EnumName(CommuteMethod_name, int32(x)) -} - -func (CommuteMethod) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2884fcfab48f4cdd, []int{10} -} - -// Enum that represents the skill proficiency level. -type SkillProficiencyLevel int32 - -const ( - // Default value. - SkillProficiencyLevel_SKILL_PROFICIENCY_LEVEL_UNSPECIFIED SkillProficiencyLevel = 0 - // Lacks any proficiency in this skill. - SkillProficiencyLevel_UNSKILLED SkillProficiencyLevel = 6 - // Have a common knowledge or an understanding of basic techniques and - // concepts. - SkillProficiencyLevel_FUNDAMENTAL_AWARENESS SkillProficiencyLevel = 1 - // Have the level of experience gained in a classroom and/or experimental - // scenarios or as a trainee on-the-job. - SkillProficiencyLevel_NOVICE SkillProficiencyLevel = 2 - // Be able to successfully complete tasks in this skill as requested. Help - // from an expert may be required from time to time, but can usually perform - // skill independently. - SkillProficiencyLevel_INTERMEDIATE SkillProficiencyLevel = 3 - // Can perform the actions associated with this skill without assistance. - SkillProficiencyLevel_ADVANCED SkillProficiencyLevel = 4 - // Known as an expert in this area. - SkillProficiencyLevel_EXPERT SkillProficiencyLevel = 5 -) - -var SkillProficiencyLevel_name = map[int32]string{ - 0: "SKILL_PROFICIENCY_LEVEL_UNSPECIFIED", - 6: "UNSKILLED", - 1: "FUNDAMENTAL_AWARENESS", - 2: "NOVICE", - 3: "INTERMEDIATE", - 4: "ADVANCED", - 5: "EXPERT", -} - -var SkillProficiencyLevel_value = map[string]int32{ - "SKILL_PROFICIENCY_LEVEL_UNSPECIFIED": 0, - "UNSKILLED": 6, - "FUNDAMENTAL_AWARENESS": 1, - "NOVICE": 2, - "INTERMEDIATE": 3, - "ADVANCED": 4, - "EXPERT": 5, -} - -func (x SkillProficiencyLevel) String() string { - return proto.EnumName(SkillProficiencyLevel_name, int32(x)) -} - -func (SkillProficiencyLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2884fcfab48f4cdd, []int{11} -} - -// The overall outcome /decision / result indicator. -type Outcome int32 - -const ( - // Default value. - Outcome_OUTCOME_UNSPECIFIED Outcome = 0 - // A positive outcome / passing indicator (for example, candidate was - // recommended for hiring or to be moved forward in the hiring process, - // candidate passed a test). - Outcome_POSITIVE Outcome = 1 - // A neutral outcome / no clear indicator (for example, no strong - // reccommendation either to move forward / not move forward, neutral score). - Outcome_NEUTRAL Outcome = 2 - // A negative outcome / failing indicator (for example, candidate was - // recommended to NOT move forward in the hiring process, failed a test). - Outcome_NEGATIVE Outcome = 3 - // The assessment outcome is not available or otherwise unknown (for example, - // candidate did not complete assessment). - Outcome_OUTCOME_NOT_AVAILABLE Outcome = 4 -) - -var Outcome_name = map[int32]string{ - 0: "OUTCOME_UNSPECIFIED", - 1: "POSITIVE", - 2: "NEUTRAL", - 3: "NEGATIVE", - 4: "OUTCOME_NOT_AVAILABLE", -} - -var Outcome_value = map[string]int32{ - "OUTCOME_UNSPECIFIED": 0, - "POSITIVE": 1, - "NEUTRAL": 2, - "NEGATIVE": 3, - "OUTCOME_NOT_AVAILABLE": 4, -} - -func (x Outcome) String() string { - return proto.EnumName(Outcome_name, int32(x)) -} - -func (Outcome) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2884fcfab48f4cdd, []int{12} -} - -// The type of candidate availability signal. -type AvailabilitySignalType int32 - -const ( - // Default value. - AvailabilitySignalType_AVAILABILITY_SIGNAL_TYPE_UNSPECIFIED AvailabilitySignalType = 0 - // Job application signal. - // - // In the context of - // [Profile.availability_signals][google.cloud.talent.v4beta1.Profile.availability_signals], - // this signal is related to the candidate's most recent application. - // [last_update_time][Profile.availability_signals.last_update_time] is - // calculated from - // max([Application.create_time][google.cloud.talent.v4beta1.Application.create_time]) - // from all [Application][google.cloud.talent.v4beta1.Application] records - // where [Application.source][google.cloud.talent.v4beta1.Application.source] - // is any of the following: - // [APPLY_DIRECT_WEB][google.cloud.talent.v4beta1.Application.ApplicationSource.APPLY_DIRECT_WEB] - // [APPLY_DIRECT_MOBILE_WEB][google.cloud.talent.v4beta1.Application.ApplicationSource.APPLY_DIRECT_MOBILE_WEB] - // [APPLY_DIRECT_MOBILE_APP][google.cloud.talent.v4beta1.Application.ApplicationSource.APPLY_DIRECT_MOBILE_APP] - // [APPLY_DIRECT_IN_PERSON][google.cloud.talent.v4beta1.Application.ApplicationSource.APPLY_DIRECT_IN_PERSON] - // [APPLY_INDIRECT][google.cloud.talent.v4beta1.Application.ApplicationSource.APPLY_INDIRECT] - // - // In the context of - // [AvailabilityFilter][google.cloud.talent.v4beta1.AvailabilityFilter], the - // filter is applied on - // [Profile.availability_signals][google.cloud.talent.v4beta1.Profile.availability_signals] - // where [type][Profile.availability_signals.type] is JOB_APPLICATION. - AvailabilitySignalType_JOB_APPLICATION AvailabilitySignalType = 1 - // Resume update signal. - // - // In the context of - // [Profile.availability_signals][google.cloud.talent.v4beta1.Profile.availability_signals], - // this signal is related to the candidate’s most recent update to their - // resume. For a - // [SummarizedProfile.summary][google.cloud.talent.v4beta1.SummarizedProfile.summary], - // [last_update_time][Profile.availability_signals.last_update_time] is - // calculated from - // max([Profile.resume_update_time][google.cloud.talent.v4beta1.Profile.resume_update_time]) - // from all - // [SummarizedProfile.profiles][google.cloud.talent.v4beta1.SummarizedProfile.profiles]. - // - // In the context of - // [AvailabilityFilter][google.cloud.talent.v4beta1.AvailabilityFilter], the - // filter is applied on - // [Profile.availability_signals][google.cloud.talent.v4beta1.Profile.availability_signals] - // where [type][Profile.availability_signals.type] is RESUME_UPDATE. - AvailabilitySignalType_RESUME_UPDATE AvailabilitySignalType = 2 - // Candidate update signal. - // - // In the context of - // [Profile.availability_signals][google.cloud.talent.v4beta1.Profile.availability_signals], - // this signal is related to the candidate’s most recent update to their - // profile. For a - // [SummarizedProfile.summary][google.cloud.talent.v4beta1.SummarizedProfile.summary], - // [last_update_time][Profile.availability_signals.last_update_time] is - // calculated from - // max([Profile.candidate_update_time][google.cloud.talent.v4beta1.Profile.candidate_update_time]) - // from all - // [SummarizedProfile.profiles][google.cloud.talent.v4beta1.SummarizedProfile.profiles]. - // - // In the context of - // [AvailabilityFilter][google.cloud.talent.v4beta1.AvailabilityFilter], the - // filter is applied on - // [Profile.availability_signals][google.cloud.talent.v4beta1.Profile.availability_signals] - // where [type][Profile.availability_signals.type] is CANDIDATE_UPDATE. - AvailabilitySignalType_CANDIDATE_UPDATE AvailabilitySignalType = 3 - // Client submission signal. - // - // In the context of - // [Profile.availability_signals][google.cloud.talent.v4beta1.Profile.availability_signals], - // this signal is related to the candidate’s most recent submission. - // [last_update_time][Profile.availability_signals.last_update_time] is - // calculated from - // max([Application.create_time][google.cloud.talent.v4beta1.Application.create_time]) - // from all [Application][google.cloud.talent.v4beta1.Application] records - // where [Application.stage][google.cloud.talent.v4beta1.Application.stage] is - // any of the following: - // [HIRING_MANAGER_REVIEW][google.cloud.talent.v4beta1.Application.ApplicationStage.HIRING_MANAGER_REVIEW] - // [INTERVIEW][google.cloud.talent.v4beta1.Application.ApplicationStage.INTERVIEW] - // [OFFER_EXTENDED][google.cloud.talent.v4beta1.Application.ApplicationStage.OFFER_EXTENDED] - // [OFFER_ACCEPTED][google.cloud.talent.v4beta1.Application.ApplicationStage.OFFER_ACCEPTED] - // [STARTED][google.cloud.talent.v4beta1.Application.ApplicationStage.STARTED] - // - // In the context of - // [AvailabilityFilter][google.cloud.talent.v4beta1.AvailabilityFilter], the - // filter is applied on - // [Profile.availability_signals][google.cloud.talent.v4beta1.Profile.availability_signals] - // where [type][Profile.availability_signals.type] is CLIENT_SUBMISSION. - AvailabilitySignalType_CLIENT_SUBMISSION AvailabilitySignalType = 4 -) - -var AvailabilitySignalType_name = map[int32]string{ - 0: "AVAILABILITY_SIGNAL_TYPE_UNSPECIFIED", - 1: "JOB_APPLICATION", - 2: "RESUME_UPDATE", - 3: "CANDIDATE_UPDATE", - 4: "CLIENT_SUBMISSION", -} - -var AvailabilitySignalType_value = map[string]int32{ - "AVAILABILITY_SIGNAL_TYPE_UNSPECIFIED": 0, - "JOB_APPLICATION": 1, - "RESUME_UPDATE": 2, - "CANDIDATE_UPDATE": 3, - "CLIENT_SUBMISSION": 4, -} - -func (x AvailabilitySignalType) String() string { - return proto.EnumName(AvailabilitySignalType_name, int32(x)) -} - -func (AvailabilitySignalType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2884fcfab48f4cdd, []int{13} -} - -// An enum which represents the type of a location. -type Location_LocationType int32 - -const ( - // Default value if the type isn't specified. - Location_LOCATION_TYPE_UNSPECIFIED Location_LocationType = 0 - // A country level location. - Location_COUNTRY Location_LocationType = 1 - // A state or equivalent level location. - Location_ADMINISTRATIVE_AREA Location_LocationType = 2 - // A county or equivalent level location. - Location_SUB_ADMINISTRATIVE_AREA Location_LocationType = 3 - // A city or equivalent level location. - Location_LOCALITY Location_LocationType = 4 - // A postal code level location. - Location_POSTAL_CODE Location_LocationType = 5 - // A sublocality is a subdivision of a locality, for example a city borough, - // ward, or arrondissement. Sublocalities are usually recognized by a local - // political authority. For example, Manhattan and Brooklyn are recognized - // as boroughs by the City of New York, and are therefore modeled as - // sublocalities. - Location_SUB_LOCALITY Location_LocationType = 6 - // A district or equivalent level location. - Location_SUB_LOCALITY_1 Location_LocationType = 7 - // A smaller district or equivalent level display. - Location_SUB_LOCALITY_2 Location_LocationType = 8 - // A neighborhood level location. - Location_NEIGHBORHOOD Location_LocationType = 9 - // A street address level location. - Location_STREET_ADDRESS Location_LocationType = 10 -) - -var Location_LocationType_name = map[int32]string{ - 0: "LOCATION_TYPE_UNSPECIFIED", - 1: "COUNTRY", - 2: "ADMINISTRATIVE_AREA", - 3: "SUB_ADMINISTRATIVE_AREA", - 4: "LOCALITY", - 5: "POSTAL_CODE", - 6: "SUB_LOCALITY", - 7: "SUB_LOCALITY_1", - 8: "SUB_LOCALITY_2", - 9: "NEIGHBORHOOD", - 10: "STREET_ADDRESS", -} - -var Location_LocationType_value = map[string]int32{ - "LOCATION_TYPE_UNSPECIFIED": 0, - "COUNTRY": 1, - "ADMINISTRATIVE_AREA": 2, - "SUB_ADMINISTRATIVE_AREA": 3, - "LOCALITY": 4, - "POSTAL_CODE": 5, - "SUB_LOCALITY": 6, - "SUB_LOCALITY_1": 7, - "SUB_LOCALITY_2": 8, - "NEIGHBORHOOD": 9, - "STREET_ADDRESS": 10, -} - -func (x Location_LocationType) String() string { - return proto.EnumName(Location_LocationType_name, int32(x)) -} - -func (Location_LocationType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2884fcfab48f4cdd, []int{1, 0} -} - -// An enumeration describing an API access portal and exposure mechanism. -type DeviceInfo_DeviceType int32 - -const ( - // The device type isn't specified. - DeviceInfo_DEVICE_TYPE_UNSPECIFIED DeviceInfo_DeviceType = 0 - // A desktop web browser, such as, Chrome, Firefox, Safari, or Internet - // Explorer) - DeviceInfo_WEB DeviceInfo_DeviceType = 1 - // A mobile device web browser, such as a phone or tablet with a Chrome - // browser. - DeviceInfo_MOBILE_WEB DeviceInfo_DeviceType = 2 - // An Android device native application. - DeviceInfo_ANDROID DeviceInfo_DeviceType = 3 - // An iOS device native application. - DeviceInfo_IOS DeviceInfo_DeviceType = 4 - // A bot, as opposed to a device operated by human beings, such as a web - // crawler. - DeviceInfo_BOT DeviceInfo_DeviceType = 5 - // Other devices types. - DeviceInfo_OTHER DeviceInfo_DeviceType = 6 -) - -var DeviceInfo_DeviceType_name = map[int32]string{ - 0: "DEVICE_TYPE_UNSPECIFIED", - 1: "WEB", - 2: "MOBILE_WEB", - 3: "ANDROID", - 4: "IOS", - 5: "BOT", - 6: "OTHER", -} - -var DeviceInfo_DeviceType_value = map[string]int32{ - "DEVICE_TYPE_UNSPECIFIED": 0, - "WEB": 1, - "MOBILE_WEB": 2, - "ANDROID": 3, - "IOS": 4, - "BOT": 5, - "OTHER": 6, -} - -func (x DeviceInfo_DeviceType) String() string { - return proto.EnumName(DeviceInfo_DeviceType_name, int32(x)) -} - -func (DeviceInfo_DeviceType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2884fcfab48f4cdd, []int{4, 0} -} - -// The type of compensation. -// -// For compensation amounts specified in non-monetary amounts, -// describe the compensation scheme in the -// [CompensationEntry.description][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.description]. -// -// For example, tipping format is described in -// [CompensationEntry.description][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.description] -// (for example, "expect 15-20% tips based on customer bill.") and an estimate -// of the tips provided in -// [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] -// or -// [CompensationEntry.range][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.range] -// ($10 per hour). -// -// For example, equity is described in -// [CompensationEntry.description][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.description] -// (for example, "1% - 2% equity vesting over 4 years, 1 year cliff") and -// value estimated in -// [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] -// or -// [CompensationEntry.range][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.range]. -// If no value estimate is possible, units are -// [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED] -// and then further clarified in -// [CompensationEntry.description][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.description] -// field. -type CompensationInfo_CompensationType int32 - -const ( - // Default value. - CompensationInfo_COMPENSATION_TYPE_UNSPECIFIED CompensationInfo_CompensationType = 0 - // Base compensation: Refers to the fixed amount of money paid to an - // employee by an employer in return for work performed. Base compensation - // does not include benefits, bonuses or any other potential compensation - // from an employer. - CompensationInfo_BASE CompensationInfo_CompensationType = 1 - // Bonus. - CompensationInfo_BONUS CompensationInfo_CompensationType = 2 - // Signing bonus. - CompensationInfo_SIGNING_BONUS CompensationInfo_CompensationType = 3 - // Equity. - CompensationInfo_EQUITY CompensationInfo_CompensationType = 4 - // Profit sharing. - CompensationInfo_PROFIT_SHARING CompensationInfo_CompensationType = 5 - // Commission. - CompensationInfo_COMMISSIONS CompensationInfo_CompensationType = 6 - // Tips. - CompensationInfo_TIPS CompensationInfo_CompensationType = 7 - // Other compensation type. - CompensationInfo_OTHER_COMPENSATION_TYPE CompensationInfo_CompensationType = 8 -) - -var CompensationInfo_CompensationType_name = map[int32]string{ - 0: "COMPENSATION_TYPE_UNSPECIFIED", - 1: "BASE", - 2: "BONUS", - 3: "SIGNING_BONUS", - 4: "EQUITY", - 5: "PROFIT_SHARING", - 6: "COMMISSIONS", - 7: "TIPS", - 8: "OTHER_COMPENSATION_TYPE", -} - -var CompensationInfo_CompensationType_value = map[string]int32{ - "COMPENSATION_TYPE_UNSPECIFIED": 0, - "BASE": 1, - "BONUS": 2, - "SIGNING_BONUS": 3, - "EQUITY": 4, - "PROFIT_SHARING": 5, - "COMMISSIONS": 6, - "TIPS": 7, - "OTHER_COMPENSATION_TYPE": 8, -} - -func (x CompensationInfo_CompensationType) String() string { - return proto.EnumName(CompensationInfo_CompensationType_name, int32(x)) -} - -func (CompensationInfo_CompensationType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2884fcfab48f4cdd, []int{7, 0} -} - -// Pay frequency. -type CompensationInfo_CompensationUnit int32 - -const ( - // Default value. - CompensationInfo_COMPENSATION_UNIT_UNSPECIFIED CompensationInfo_CompensationUnit = 0 - // Hourly. - CompensationInfo_HOURLY CompensationInfo_CompensationUnit = 1 - // Daily. - CompensationInfo_DAILY CompensationInfo_CompensationUnit = 2 - // Weekly - CompensationInfo_WEEKLY CompensationInfo_CompensationUnit = 3 - // Monthly. - CompensationInfo_MONTHLY CompensationInfo_CompensationUnit = 4 - // Yearly. - CompensationInfo_YEARLY CompensationInfo_CompensationUnit = 5 - // One time. - CompensationInfo_ONE_TIME CompensationInfo_CompensationUnit = 6 - // Other compensation units. - CompensationInfo_OTHER_COMPENSATION_UNIT CompensationInfo_CompensationUnit = 7 -) - -var CompensationInfo_CompensationUnit_name = map[int32]string{ - 0: "COMPENSATION_UNIT_UNSPECIFIED", - 1: "HOURLY", - 2: "DAILY", - 3: "WEEKLY", - 4: "MONTHLY", - 5: "YEARLY", - 6: "ONE_TIME", - 7: "OTHER_COMPENSATION_UNIT", -} - -var CompensationInfo_CompensationUnit_value = map[string]int32{ - "COMPENSATION_UNIT_UNSPECIFIED": 0, - "HOURLY": 1, - "DAILY": 2, - "WEEKLY": 3, - "MONTHLY": 4, - "YEARLY": 5, - "ONE_TIME": 6, - "OTHER_COMPENSATION_UNIT": 7, -} - -func (x CompensationInfo_CompensationUnit) String() string { - return proto.EnumName(CompensationInfo_CompensationUnit_name, int32(x)) -} - -func (CompensationInfo_CompensationUnit) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2884fcfab48f4cdd, []int{7, 1} -} - -type BatchOperationMetadata_State int32 - -const ( - // Default value. - BatchOperationMetadata_STATE_UNSPECIFIED BatchOperationMetadata_State = 0 - // The batch operation is being prepared for processing. - BatchOperationMetadata_INITIALIZING BatchOperationMetadata_State = 1 - // The batch operation is actively being processed. - BatchOperationMetadata_PROCESSING BatchOperationMetadata_State = 2 - // The batch operation is processed, and at least one item has been - // successfully processed. - BatchOperationMetadata_SUCCEEDED BatchOperationMetadata_State = 3 - // The batch operation is done and no item has been successfully processed. - BatchOperationMetadata_FAILED BatchOperationMetadata_State = 4 - // The batch operation is in the process of cancelling after - // [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] - // is called. - BatchOperationMetadata_CANCELLING BatchOperationMetadata_State = 5 - // The batch operation is done after - // [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] - // is called. Any items processed before cancelling are returned in the - // response. - BatchOperationMetadata_CANCELLED BatchOperationMetadata_State = 6 -) - -var BatchOperationMetadata_State_name = map[int32]string{ - 0: "STATE_UNSPECIFIED", - 1: "INITIALIZING", - 2: "PROCESSING", - 3: "SUCCEEDED", - 4: "FAILED", - 5: "CANCELLING", - 6: "CANCELLED", -} - -var BatchOperationMetadata_State_value = map[string]int32{ - "STATE_UNSPECIFIED": 0, - "INITIALIZING": 1, - "PROCESSING": 2, - "SUCCEEDED": 3, - "FAILED": 4, - "CANCELLING": 5, - "CANCELLED": 6, -} - -func (x BatchOperationMetadata_State) String() string { - return proto.EnumName(BatchOperationMetadata_State_name, int32(x)) -} - -func (BatchOperationMetadata_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2884fcfab48f4cdd, []int{12, 0} -} - -// Message representing a period of time between two timestamps. -type TimestampRange struct { - // Begin of the period (inclusive). - StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // End of the period (exclusive). - 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 *TimestampRange) Reset() { *m = TimestampRange{} } -func (m *TimestampRange) String() string { return proto.CompactTextString(m) } -func (*TimestampRange) ProtoMessage() {} -func (*TimestampRange) Descriptor() ([]byte, []int) { - return fileDescriptor_2884fcfab48f4cdd, []int{0} -} - -func (m *TimestampRange) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TimestampRange.Unmarshal(m, b) -} -func (m *TimestampRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TimestampRange.Marshal(b, m, deterministic) -} -func (m *TimestampRange) XXX_Merge(src proto.Message) { - xxx_messageInfo_TimestampRange.Merge(m, src) -} -func (m *TimestampRange) XXX_Size() int { - return xxx_messageInfo_TimestampRange.Size(m) -} -func (m *TimestampRange) XXX_DiscardUnknown() { - xxx_messageInfo_TimestampRange.DiscardUnknown(m) -} - -var xxx_messageInfo_TimestampRange proto.InternalMessageInfo - -func (m *TimestampRange) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *TimestampRange) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -// A resource that represents a location with full geographic information. -type Location struct { - // The type of a location, which corresponds to the address lines field of - // [google.type.PostalAddress][google.type.PostalAddress]. For example, - // "Downtown, Atlanta, GA, USA" has a type of - // [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], - // and "Kansas City, KS, USA" has a type of - // [LocationType.LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.LOCALITY]. - LocationType Location_LocationType `protobuf:"varint,1,opt,name=location_type,json=locationType,proto3,enum=google.cloud.talent.v4beta1.Location_LocationType" json:"location_type,omitempty"` - // Postal address of the location that includes human readable information, - // such as postal delivery and payments addresses. Given a postal address, - // a postal service can deliver items to a premises, P.O. Box, or other - // delivery location. - PostalAddress *postaladdress.PostalAddress `protobuf:"bytes,2,opt,name=postal_address,json=postalAddress,proto3" json:"postal_address,omitempty"` - // An object representing a latitude/longitude pair. - LatLng *latlng.LatLng `protobuf:"bytes,3,opt,name=lat_lng,json=latLng,proto3" json:"lat_lng,omitempty"` - // Radius in miles of the job location. This value is derived from the - // location bounding box in which a circle with the specified radius - // centered from [google.type.LatLng][google.type.LatLng] covers the area - // associated with the job location. For example, currently, "Mountain View, - // CA, USA" has a radius of 6.17 miles. - RadiusMiles float64 `protobuf:"fixed64,4,opt,name=radius_miles,json=radiusMiles,proto3" json:"radius_miles,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_2884fcfab48f4cdd, []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 (m *Location) XXX_Merge(src proto.Message) { - xxx_messageInfo_Location.Merge(m, 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) GetLocationType() Location_LocationType { - if m != nil { - return m.LocationType - } - return Location_LOCATION_TYPE_UNSPECIFIED -} - -func (m *Location) GetPostalAddress() *postaladdress.PostalAddress { - if m != nil { - return m.PostalAddress - } - return nil -} - -func (m *Location) GetLatLng() *latlng.LatLng { - if m != nil { - return m.LatLng - } - return nil -} - -func (m *Location) GetRadiusMiles() float64 { - if m != nil { - return m.RadiusMiles - } - return 0 -} - -// Meta information related to the job searcher or entity -// conducting the job search. This information is used to improve the -// performance of the service. -type RequestMetadata struct { - // Required if - // [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] - // is unset or `false`. - // - // The client-defined scope or source of the service call, which typically - // is the domain on - // which the service has been implemented and is currently being run. - // - // For example, if the service is being run by client Foo, Inc., on - // job board www.foo.com and career site www.bar.com, then this field is - // set to "foo.com" for use on the job board, and "bar.com" for use on the - // career site. - // - // Note that any improvements to the model for a particular tenant site rely - // on this field being set correctly to a unique domain. - // - // The maximum number of allowed characters is 255. - Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` - // Required if - // [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] - // is unset or `false`. - // - // A unique session identification string. A session is defined as the - // duration of an end user's interaction with the service over a certain - // period. - // Obfuscate this field for privacy concerns before - // providing it to the service. - // - // Note that any improvements to the model for a particular tenant site rely - // on this field being set correctly to a unique session ID. - // - // The maximum number of allowed characters is 255. - SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` - // Required if - // [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] - // is unset or `false`. - // - // A unique user identification string, as determined by the client. - // To have the strongest positive impact on search quality - // make sure the client-level is unique. - // Obfuscate this field for privacy concerns before - // providing it to the service. - // - // Note that any improvements to the model for a particular tenant site rely - // on this field being set correctly to a unique user ID. - // - // The maximum number of allowed characters is 255. - UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` - // Only set when any of - // [domain][google.cloud.talent.v4beta1.RequestMetadata.domain], - // [session_id][google.cloud.talent.v4beta1.RequestMetadata.session_id] and - // [user_id][google.cloud.talent.v4beta1.RequestMetadata.user_id] isn't - // available for some reason. It is highly recommended not to set this field - // and provide accurate - // [domain][google.cloud.talent.v4beta1.RequestMetadata.domain], - // [session_id][google.cloud.talent.v4beta1.RequestMetadata.session_id] and - // [user_id][google.cloud.talent.v4beta1.RequestMetadata.user_id] for the best - // service experience. - AllowMissingIds bool `protobuf:"varint,4,opt,name=allow_missing_ids,json=allowMissingIds,proto3" json:"allow_missing_ids,omitempty"` - // The type of device used by the job seeker at the time of the call to the - // service. - DeviceInfo *DeviceInfo `protobuf:"bytes,5,opt,name=device_info,json=deviceInfo,proto3" json:"device_info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2884fcfab48f4cdd, []int{2} -} - -func (m *RequestMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RequestMetadata.Unmarshal(m, b) -} -func (m *RequestMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RequestMetadata.Marshal(b, m, deterministic) -} -func (m *RequestMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_RequestMetadata.Merge(m, src) -} -func (m *RequestMetadata) XXX_Size() int { - return xxx_messageInfo_RequestMetadata.Size(m) -} -func (m *RequestMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_RequestMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_RequestMetadata proto.InternalMessageInfo - -func (m *RequestMetadata) GetDomain() string { - if m != nil { - return m.Domain - } - return "" -} - -func (m *RequestMetadata) GetSessionId() string { - if m != nil { - return m.SessionId - } - return "" -} - -func (m *RequestMetadata) GetUserId() string { - if m != nil { - return m.UserId - } - return "" -} - -func (m *RequestMetadata) GetAllowMissingIds() bool { - if m != nil { - return m.AllowMissingIds - } - return false -} - -func (m *RequestMetadata) GetDeviceInfo() *DeviceInfo { - if m != nil { - return m.DeviceInfo - } - return nil -} - -// Additional information returned to client, such as debugging information. -type ResponseMetadata struct { - // A unique id associated with this call. - // This id is logged for tracking purposes. - RequestId string `protobuf:"bytes,1,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 *ResponseMetadata) Reset() { *m = ResponseMetadata{} } -func (m *ResponseMetadata) String() string { return proto.CompactTextString(m) } -func (*ResponseMetadata) ProtoMessage() {} -func (*ResponseMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_2884fcfab48f4cdd, []int{3} -} - -func (m *ResponseMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResponseMetadata.Unmarshal(m, b) -} -func (m *ResponseMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResponseMetadata.Marshal(b, m, deterministic) -} -func (m *ResponseMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResponseMetadata.Merge(m, src) -} -func (m *ResponseMetadata) XXX_Size() int { - return xxx_messageInfo_ResponseMetadata.Size(m) -} -func (m *ResponseMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_ResponseMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_ResponseMetadata proto.InternalMessageInfo - -func (m *ResponseMetadata) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} - -// Device information collected from the job seeker, candidate, or -// other entity conducting the job search. Providing this information improves -// the quality of the search results across devices. -type DeviceInfo struct { - // Type of the device. - DeviceType DeviceInfo_DeviceType `protobuf:"varint,1,opt,name=device_type,json=deviceType,proto3,enum=google.cloud.talent.v4beta1.DeviceInfo_DeviceType" json:"device_type,omitempty"` - // A device-specific ID. The ID must be a unique identifier that - // distinguishes the device from other devices. - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,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_2884fcfab48f4cdd, []int{4} -} - -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 (m *DeviceInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeviceInfo.Merge(m, 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) GetDeviceType() DeviceInfo_DeviceType { - if m != nil { - return m.DeviceType - } - return DeviceInfo_DEVICE_TYPE_UNSPECIFIED -} - -func (m *DeviceInfo) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -// Custom attribute values that are either filterable or non-filterable. -type CustomAttribute struct { - // Exactly one of - // [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] - // or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] - // must be specified. - // - // This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or - // `CASE_INSENSITIVE_MATCH`) search. - // For filterable `string_value`s, a maximum total number of 200 values - // is allowed, with each `string_value` has a byte size of no more than - // 500B. For unfilterable `string_values`, the maximum total byte size of - // unfilterable `string_values` is 50KB. - // - // Empty string isn't allowed. - StringValues []string `protobuf:"bytes,1,rep,name=string_values,json=stringValues,proto3" json:"string_values,omitempty"` - // Exactly one of - // [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] - // or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] - // must be specified. - // - // This field is used to perform number range search. - // (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`. - // - // Currently at most 1 - // [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] is - // supported. - LongValues []int64 `protobuf:"varint,2,rep,packed,name=long_values,json=longValues,proto3" json:"long_values,omitempty"` - // If the `filterable` flag is true, custom field values are searchable. - // If false, values are not searchable. - // - // Default is false. - Filterable bool `protobuf:"varint,3,opt,name=filterable,proto3" json:"filterable,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomAttribute) Reset() { *m = CustomAttribute{} } -func (m *CustomAttribute) String() string { return proto.CompactTextString(m) } -func (*CustomAttribute) ProtoMessage() {} -func (*CustomAttribute) Descriptor() ([]byte, []int) { - return fileDescriptor_2884fcfab48f4cdd, []int{5} -} - -func (m *CustomAttribute) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomAttribute.Unmarshal(m, b) -} -func (m *CustomAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomAttribute.Marshal(b, m, deterministic) -} -func (m *CustomAttribute) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomAttribute.Merge(m, src) -} -func (m *CustomAttribute) XXX_Size() int { - return xxx_messageInfo_CustomAttribute.Size(m) -} -func (m *CustomAttribute) XXX_DiscardUnknown() { - xxx_messageInfo_CustomAttribute.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomAttribute proto.InternalMessageInfo - -func (m *CustomAttribute) GetStringValues() []string { - if m != nil { - return m.StringValues - } - return nil -} - -func (m *CustomAttribute) GetLongValues() []int64 { - if m != nil { - return m.LongValues - } - return nil -} - -func (m *CustomAttribute) GetFilterable() bool { - if m != nil { - return m.Filterable - } - return false -} - -// Spell check result. -type SpellingCorrection struct { - // Indicates if the query was corrected by the spell checker. - Corrected bool `protobuf:"varint,1,opt,name=corrected,proto3" json:"corrected,omitempty"` - // Correction output consisting of the corrected keyword string. - CorrectedText string `protobuf:"bytes,2,opt,name=corrected_text,json=correctedText,proto3" json:"corrected_text,omitempty"` - // Corrected output with html tags to highlight the corrected words. - // Corrected words are called out with the "..." html tags. - // - // For example, the user input query is "software enginear", where the second - // word, "enginear," is incorrect. It should be "engineer". When spelling - // correction is enabled, this value is - // "software engineer". - CorrectedHtml string `protobuf:"bytes,3,opt,name=corrected_html,json=correctedHtml,proto3" json:"corrected_html,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SpellingCorrection) Reset() { *m = SpellingCorrection{} } -func (m *SpellingCorrection) String() string { return proto.CompactTextString(m) } -func (*SpellingCorrection) ProtoMessage() {} -func (*SpellingCorrection) Descriptor() ([]byte, []int) { - return fileDescriptor_2884fcfab48f4cdd, []int{6} -} - -func (m *SpellingCorrection) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SpellingCorrection.Unmarshal(m, b) -} -func (m *SpellingCorrection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SpellingCorrection.Marshal(b, m, deterministic) -} -func (m *SpellingCorrection) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpellingCorrection.Merge(m, src) -} -func (m *SpellingCorrection) XXX_Size() int { - return xxx_messageInfo_SpellingCorrection.Size(m) -} -func (m *SpellingCorrection) XXX_DiscardUnknown() { - xxx_messageInfo_SpellingCorrection.DiscardUnknown(m) -} - -var xxx_messageInfo_SpellingCorrection proto.InternalMessageInfo - -func (m *SpellingCorrection) GetCorrected() bool { - if m != nil { - return m.Corrected - } - return false -} - -func (m *SpellingCorrection) GetCorrectedText() string { - if m != nil { - return m.CorrectedText - } - return "" -} - -func (m *SpellingCorrection) GetCorrectedHtml() string { - if m != nil { - return m.CorrectedHtml - } - return "" -} - -// Job compensation details. -type CompensationInfo struct { - // Job compensation information. - // - // At most one entry can be of type - // [CompensationInfo.CompensationType.BASE][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.BASE], - // which is referred as **base compensation entry** for the job. - Entries []*CompensationInfo_CompensationEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` - // Output only. Annualized base compensation range. Computed as base - // compensation entry's - // [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] - // times - // [CompensationEntry.expected_units_per_year][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.expected_units_per_year]. - // - // See - // [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] - // for explanation on compensation annualization. - AnnualizedBaseCompensationRange *CompensationInfo_CompensationRange `protobuf:"bytes,2,opt,name=annualized_base_compensation_range,json=annualizedBaseCompensationRange,proto3" json:"annualized_base_compensation_range,omitempty"` - // Output only. Annualized total compensation range. Computed as all - // compensation entries' - // [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] - // times - // [CompensationEntry.expected_units_per_year][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.expected_units_per_year]. - // - // See - // [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] - // for explanation on compensation annualization. - AnnualizedTotalCompensationRange *CompensationInfo_CompensationRange `protobuf:"bytes,3,opt,name=annualized_total_compensation_range,json=annualizedTotalCompensationRange,proto3" json:"annualized_total_compensation_range,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CompensationInfo) Reset() { *m = CompensationInfo{} } -func (m *CompensationInfo) String() string { return proto.CompactTextString(m) } -func (*CompensationInfo) ProtoMessage() {} -func (*CompensationInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2884fcfab48f4cdd, []int{7} -} - -func (m *CompensationInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CompensationInfo.Unmarshal(m, b) -} -func (m *CompensationInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CompensationInfo.Marshal(b, m, deterministic) -} -func (m *CompensationInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_CompensationInfo.Merge(m, src) -} -func (m *CompensationInfo) XXX_Size() int { - return xxx_messageInfo_CompensationInfo.Size(m) -} -func (m *CompensationInfo) XXX_DiscardUnknown() { - xxx_messageInfo_CompensationInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_CompensationInfo proto.InternalMessageInfo - -func (m *CompensationInfo) GetEntries() []*CompensationInfo_CompensationEntry { - if m != nil { - return m.Entries - } - return nil -} - -func (m *CompensationInfo) GetAnnualizedBaseCompensationRange() *CompensationInfo_CompensationRange { - if m != nil { - return m.AnnualizedBaseCompensationRange - } - return nil -} - -func (m *CompensationInfo) GetAnnualizedTotalCompensationRange() *CompensationInfo_CompensationRange { - if m != nil { - return m.AnnualizedTotalCompensationRange - } - return nil -} - -// A compensation entry that represents one component of compensation, such -// as base pay, bonus, or other compensation type. -// -// Annualization: One compensation entry can be annualized if -// - it contains valid -// [amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] -// or -// [range][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.range]. -// - and its -// [expected_units_per_year][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.expected_units_per_year] -// is set or can be derived. Its annualized range is determined as -// ([amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] -// or -// [range][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.range]) -// times -// [expected_units_per_year][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.expected_units_per_year]. -type CompensationInfo_CompensationEntry struct { - // Compensation type. - // - // Default is - // [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED]. - Type CompensationInfo_CompensationType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.talent.v4beta1.CompensationInfo_CompensationType" json:"type,omitempty"` - // Frequency of the specified amount. - // - // Default is - // [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED]. - Unit CompensationInfo_CompensationUnit `protobuf:"varint,2,opt,name=unit,proto3,enum=google.cloud.talent.v4beta1.CompensationInfo_CompensationUnit" json:"unit,omitempty"` - // Compensation amount. It could be a fixed amount or a floating range. - // - // Types that are valid to be assigned to CompensationAmount: - // *CompensationInfo_CompensationEntry_Amount - // *CompensationInfo_CompensationEntry_Range - CompensationAmount isCompensationInfo_CompensationEntry_CompensationAmount `protobuf_oneof:"compensation_amount"` - // Compensation description. For example, could - // indicate equity terms or provide additional context to an estimated - // bonus. - Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` - // Expected number of units paid each year. If not specified, when - // [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] - // is FULLTIME, a default value is inferred based on - // [unit][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.unit]. - // Default values: - // - HOURLY: 2080 - // - DAILY: 260 - // - WEEKLY: 52 - // - MONTHLY: 12 - // - ANNUAL: 1 - ExpectedUnitsPerYear *wrappers.DoubleValue `protobuf:"bytes,6,opt,name=expected_units_per_year,json=expectedUnitsPerYear,proto3" json:"expected_units_per_year,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CompensationInfo_CompensationEntry) Reset() { *m = CompensationInfo_CompensationEntry{} } -func (m *CompensationInfo_CompensationEntry) String() string { return proto.CompactTextString(m) } -func (*CompensationInfo_CompensationEntry) ProtoMessage() {} -func (*CompensationInfo_CompensationEntry) Descriptor() ([]byte, []int) { - return fileDescriptor_2884fcfab48f4cdd, []int{7, 0} -} - -func (m *CompensationInfo_CompensationEntry) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CompensationInfo_CompensationEntry.Unmarshal(m, b) -} -func (m *CompensationInfo_CompensationEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CompensationInfo_CompensationEntry.Marshal(b, m, deterministic) -} -func (m *CompensationInfo_CompensationEntry) XXX_Merge(src proto.Message) { - xxx_messageInfo_CompensationInfo_CompensationEntry.Merge(m, src) -} -func (m *CompensationInfo_CompensationEntry) XXX_Size() int { - return xxx_messageInfo_CompensationInfo_CompensationEntry.Size(m) -} -func (m *CompensationInfo_CompensationEntry) XXX_DiscardUnknown() { - xxx_messageInfo_CompensationInfo_CompensationEntry.DiscardUnknown(m) -} - -var xxx_messageInfo_CompensationInfo_CompensationEntry proto.InternalMessageInfo - -func (m *CompensationInfo_CompensationEntry) GetType() CompensationInfo_CompensationType { - if m != nil { - return m.Type - } - return CompensationInfo_COMPENSATION_TYPE_UNSPECIFIED -} - -func (m *CompensationInfo_CompensationEntry) GetUnit() CompensationInfo_CompensationUnit { - if m != nil { - return m.Unit - } - return CompensationInfo_COMPENSATION_UNIT_UNSPECIFIED -} - -type isCompensationInfo_CompensationEntry_CompensationAmount interface { - isCompensationInfo_CompensationEntry_CompensationAmount() -} - -type CompensationInfo_CompensationEntry_Amount struct { - Amount *money.Money `protobuf:"bytes,3,opt,name=amount,proto3,oneof"` -} - -type CompensationInfo_CompensationEntry_Range struct { - Range *CompensationInfo_CompensationRange `protobuf:"bytes,4,opt,name=range,proto3,oneof"` -} - -func (*CompensationInfo_CompensationEntry_Amount) isCompensationInfo_CompensationEntry_CompensationAmount() { -} - -func (*CompensationInfo_CompensationEntry_Range) isCompensationInfo_CompensationEntry_CompensationAmount() { -} - -func (m *CompensationInfo_CompensationEntry) GetCompensationAmount() isCompensationInfo_CompensationEntry_CompensationAmount { - if m != nil { - return m.CompensationAmount - } - return nil -} - -func (m *CompensationInfo_CompensationEntry) GetAmount() *money.Money { - if x, ok := m.GetCompensationAmount().(*CompensationInfo_CompensationEntry_Amount); ok { - return x.Amount - } - return nil -} - -func (m *CompensationInfo_CompensationEntry) GetRange() *CompensationInfo_CompensationRange { - if x, ok := m.GetCompensationAmount().(*CompensationInfo_CompensationEntry_Range); ok { - return x.Range - } - return nil -} - -func (m *CompensationInfo_CompensationEntry) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *CompensationInfo_CompensationEntry) GetExpectedUnitsPerYear() *wrappers.DoubleValue { - if m != nil { - return m.ExpectedUnitsPerYear - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CompensationInfo_CompensationEntry) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CompensationInfo_CompensationEntry_Amount)(nil), - (*CompensationInfo_CompensationEntry_Range)(nil), - } -} - -// Compensation range. -type CompensationInfo_CompensationRange struct { - // The maximum amount of compensation. If left empty, the value is set - // to a maximal compensation value and the currency code is set to - // match the [currency code][google.type.Money.currency_code] of - // min_compensation. - MaxCompensation *money.Money `protobuf:"bytes,2,opt,name=max_compensation,json=maxCompensation,proto3" json:"max_compensation,omitempty"` - // The minimum amount of compensation. If left empty, the value is set - // to zero and the currency code is set to match the - // [currency code][google.type.Money.currency_code] of max_compensation. - MinCompensation *money.Money `protobuf:"bytes,1,opt,name=min_compensation,json=minCompensation,proto3" json:"min_compensation,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CompensationInfo_CompensationRange) Reset() { *m = CompensationInfo_CompensationRange{} } -func (m *CompensationInfo_CompensationRange) String() string { return proto.CompactTextString(m) } -func (*CompensationInfo_CompensationRange) ProtoMessage() {} -func (*CompensationInfo_CompensationRange) Descriptor() ([]byte, []int) { - return fileDescriptor_2884fcfab48f4cdd, []int{7, 1} -} - -func (m *CompensationInfo_CompensationRange) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CompensationInfo_CompensationRange.Unmarshal(m, b) -} -func (m *CompensationInfo_CompensationRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CompensationInfo_CompensationRange.Marshal(b, m, deterministic) -} -func (m *CompensationInfo_CompensationRange) XXX_Merge(src proto.Message) { - xxx_messageInfo_CompensationInfo_CompensationRange.Merge(m, src) -} -func (m *CompensationInfo_CompensationRange) XXX_Size() int { - return xxx_messageInfo_CompensationInfo_CompensationRange.Size(m) -} -func (m *CompensationInfo_CompensationRange) XXX_DiscardUnknown() { - xxx_messageInfo_CompensationInfo_CompensationRange.DiscardUnknown(m) -} - -var xxx_messageInfo_CompensationInfo_CompensationRange proto.InternalMessageInfo - -func (m *CompensationInfo_CompensationRange) GetMaxCompensation() *money.Money { - if m != nil { - return m.MaxCompensation - } - return nil -} - -func (m *CompensationInfo_CompensationRange) GetMinCompensation() *money.Money { - if m != nil { - return m.MinCompensation - } - return nil -} - -// Resource that represents a license or certification. -type Certification struct { - // Name of license or certification. - // - // Number of characters allowed is 100. - DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Acquisition date or effective date of license or certification. - AcquireDate *date.Date `protobuf:"bytes,2,opt,name=acquire_date,json=acquireDate,proto3" json:"acquire_date,omitempty"` - // Expiration date of license of certification. - ExpireDate *date.Date `protobuf:"bytes,3,opt,name=expire_date,json=expireDate,proto3" json:"expire_date,omitempty"` - // Authority of license, such as government. - // - // Number of characters allowed is 100. - Authority string `protobuf:"bytes,4,opt,name=authority,proto3" json:"authority,omitempty"` - // Description of license or certification. - // - // Number of characters allowed is 100,000. - Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Certification) Reset() { *m = Certification{} } -func (m *Certification) String() string { return proto.CompactTextString(m) } -func (*Certification) ProtoMessage() {} -func (*Certification) Descriptor() ([]byte, []int) { - return fileDescriptor_2884fcfab48f4cdd, []int{8} -} - -func (m *Certification) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Certification.Unmarshal(m, b) -} -func (m *Certification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Certification.Marshal(b, m, deterministic) -} -func (m *Certification) XXX_Merge(src proto.Message) { - xxx_messageInfo_Certification.Merge(m, src) -} -func (m *Certification) XXX_Size() int { - return xxx_messageInfo_Certification.Size(m) -} -func (m *Certification) XXX_DiscardUnknown() { - xxx_messageInfo_Certification.DiscardUnknown(m) -} - -var xxx_messageInfo_Certification proto.InternalMessageInfo - -func (m *Certification) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *Certification) GetAcquireDate() *date.Date { - if m != nil { - return m.AcquireDate - } - return nil -} - -func (m *Certification) GetExpireDate() *date.Date { - if m != nil { - return m.ExpireDate - } - return nil -} - -func (m *Certification) GetAuthority() string { - if m != nil { - return m.Authority - } - return "" -} - -func (m *Certification) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -// Resource that represents a skill of a candidate. -type Skill struct { - // Skill display name. - // - // For example, "Java", "Python". - // - // Number of characters allowed is 100. - DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // The last time this skill was used. - LastUsedDate *date.Date `protobuf:"bytes,2,opt,name=last_used_date,json=lastUsedDate,proto3" json:"last_used_date,omitempty"` - // Skill proficiency level which indicates how proficient the candidate is at - // this skill. - Level SkillProficiencyLevel `protobuf:"varint,3,opt,name=level,proto3,enum=google.cloud.talent.v4beta1.SkillProficiencyLevel" json:"level,omitempty"` - // A paragraph describes context of this skill. - // - // Number of characters allowed is 100,000. - Context string `protobuf:"bytes,4,opt,name=context,proto3" json:"context,omitempty"` - // Output only. Skill name snippet shows how the - // [display_name][google.cloud.talent.v4beta1.Skill.display_name] is related - // to a search query. It's empty if the - // [display_name][google.cloud.talent.v4beta1.Skill.display_name] isn't - // related to the search query. - SkillNameSnippet string `protobuf:"bytes,5,opt,name=skill_name_snippet,json=skillNameSnippet,proto3" json:"skill_name_snippet,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Skill) Reset() { *m = Skill{} } -func (m *Skill) String() string { return proto.CompactTextString(m) } -func (*Skill) ProtoMessage() {} -func (*Skill) Descriptor() ([]byte, []int) { - return fileDescriptor_2884fcfab48f4cdd, []int{9} -} - -func (m *Skill) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Skill.Unmarshal(m, b) -} -func (m *Skill) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Skill.Marshal(b, m, deterministic) -} -func (m *Skill) XXX_Merge(src proto.Message) { - xxx_messageInfo_Skill.Merge(m, src) -} -func (m *Skill) XXX_Size() int { - return xxx_messageInfo_Skill.Size(m) -} -func (m *Skill) XXX_DiscardUnknown() { - xxx_messageInfo_Skill.DiscardUnknown(m) -} - -var xxx_messageInfo_Skill proto.InternalMessageInfo - -func (m *Skill) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *Skill) GetLastUsedDate() *date.Date { - if m != nil { - return m.LastUsedDate - } - return nil -} - -func (m *Skill) GetLevel() SkillProficiencyLevel { - if m != nil { - return m.Level - } - return SkillProficiencyLevel_SKILL_PROFICIENCY_LEVEL_UNSPECIFIED -} - -func (m *Skill) GetContext() string { - if m != nil { - return m.Context - } - return "" -} - -func (m *Skill) GetSkillNameSnippet() string { - if m != nil { - return m.SkillNameSnippet - } - return "" -} - -// Details of an interview. -type Interview struct { - // The rating on this interview. - Rating *Rating `protobuf:"bytes,6,opt,name=rating,proto3" json:"rating,omitempty"` - // Required. The overall decision resulting from this interview (positive, - // negative, nuetral). - Outcome Outcome `protobuf:"varint,7,opt,name=outcome,proto3,enum=google.cloud.talent.v4beta1.Outcome" json:"outcome,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Interview) Reset() { *m = Interview{} } -func (m *Interview) String() string { return proto.CompactTextString(m) } -func (*Interview) ProtoMessage() {} -func (*Interview) Descriptor() ([]byte, []int) { - return fileDescriptor_2884fcfab48f4cdd, []int{10} -} - -func (m *Interview) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Interview.Unmarshal(m, b) -} -func (m *Interview) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Interview.Marshal(b, m, deterministic) -} -func (m *Interview) XXX_Merge(src proto.Message) { - xxx_messageInfo_Interview.Merge(m, src) -} -func (m *Interview) XXX_Size() int { - return xxx_messageInfo_Interview.Size(m) -} -func (m *Interview) XXX_DiscardUnknown() { - xxx_messageInfo_Interview.DiscardUnknown(m) -} - -var xxx_messageInfo_Interview proto.InternalMessageInfo - -func (m *Interview) GetRating() *Rating { - if m != nil { - return m.Rating - } - return nil -} - -func (m *Interview) GetOutcome() Outcome { - if m != nil { - return m.Outcome - } - return Outcome_OUTCOME_UNSPECIFIED -} - -// The details of the score received for an assessment or interview. -type Rating struct { - // Overall score. - Overall float64 `protobuf:"fixed64,1,opt,name=overall,proto3" json:"overall,omitempty"` - // The minimum value for the score. - Min float64 `protobuf:"fixed64,2,opt,name=min,proto3" json:"min,omitempty"` - // The maximum value for the score. - Max float64 `protobuf:"fixed64,3,opt,name=max,proto3" json:"max,omitempty"` - // The steps within the score (for example, interval = 1 max = 5 - // min = 1 indicates that the score can be 1, 2, 3, 4, or 5) - Interval float64 `protobuf:"fixed64,4,opt,name=interval,proto3" json:"interval,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Rating) Reset() { *m = Rating{} } -func (m *Rating) String() string { return proto.CompactTextString(m) } -func (*Rating) ProtoMessage() {} -func (*Rating) Descriptor() ([]byte, []int) { - return fileDescriptor_2884fcfab48f4cdd, []int{11} -} - -func (m *Rating) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Rating.Unmarshal(m, b) -} -func (m *Rating) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Rating.Marshal(b, m, deterministic) -} -func (m *Rating) XXX_Merge(src proto.Message) { - xxx_messageInfo_Rating.Merge(m, src) -} -func (m *Rating) XXX_Size() int { - return xxx_messageInfo_Rating.Size(m) -} -func (m *Rating) XXX_DiscardUnknown() { - xxx_messageInfo_Rating.DiscardUnknown(m) -} - -var xxx_messageInfo_Rating proto.InternalMessageInfo - -func (m *Rating) GetOverall() float64 { - if m != nil { - return m.Overall - } - return 0 -} - -func (m *Rating) GetMin() float64 { - if m != nil { - return m.Min - } - return 0 -} - -func (m *Rating) GetMax() float64 { - if m != nil { - return m.Max - } - return 0 -} - -func (m *Rating) GetInterval() float64 { - if m != nil { - return m.Interval - } - return 0 -} - -// Metadata used for long running operations returned by CTS batch APIs. -// It's used to replace -// [google.longrunning.Operation.metadata][google.longrunning.Operation.metadata]. -type BatchOperationMetadata struct { - // The state of a long running operation. - State BatchOperationMetadata_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.talent.v4beta1.BatchOperationMetadata_State" json:"state,omitempty"` - // More detailed information about operation state. - StateDescription string `protobuf:"bytes,2,opt,name=state_description,json=stateDescription,proto3" json:"state_description,omitempty"` - // Count of successful item(s) inside an operation. - SuccessCount int32 `protobuf:"varint,3,opt,name=success_count,json=successCount,proto3" json:"success_count,omitempty"` - // Count of failed item(s) inside an operation. - FailureCount int32 `protobuf:"varint,4,opt,name=failure_count,json=failureCount,proto3" json:"failure_count,omitempty"` - // Count of total item(s) inside an operation. - TotalCount int32 `protobuf:"varint,5,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` - // The time when the batch operation is created. - CreateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // The time when the batch operation status is updated. The metadata and the - // [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] - // is refreshed every minute otherwise cached data is returned. - UpdateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - // The time when the batch operation is finished and - // [google.longrunning.Operation.done][google.longrunning.Operation.done] is - // set to `true`. - EndTime *timestamp.Timestamp `protobuf:"bytes,8,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_2884fcfab48f4cdd, []int{12} -} - -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 (m *BatchOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchOperationMetadata.Merge(m, 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) GetStateDescription() string { - if m != nil { - return m.StateDescription - } - return "" -} - -func (m *BatchOperationMetadata) GetSuccessCount() int32 { - if m != nil { - return m.SuccessCount - } - return 0 -} - -func (m *BatchOperationMetadata) GetFailureCount() int32 { - if m != nil { - return m.FailureCount - } - return 0 -} - -func (m *BatchOperationMetadata) GetTotalCount() int32 { - if m != nil { - return m.TotalCount - } - return 0 -} - -func (m *BatchOperationMetadata) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *BatchOperationMetadata) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -func (m *BatchOperationMetadata) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.talent.v4beta1.CompanySize", CompanySize_name, CompanySize_value) - proto.RegisterEnum("google.cloud.talent.v4beta1.JobBenefit", JobBenefit_name, JobBenefit_value) - proto.RegisterEnum("google.cloud.talent.v4beta1.DegreeType", DegreeType_name, DegreeType_value) - proto.RegisterEnum("google.cloud.talent.v4beta1.EmploymentType", EmploymentType_name, EmploymentType_value) - proto.RegisterEnum("google.cloud.talent.v4beta1.JobLevel", JobLevel_name, JobLevel_value) - proto.RegisterEnum("google.cloud.talent.v4beta1.JobCategory", JobCategory_name, JobCategory_value) - proto.RegisterEnum("google.cloud.talent.v4beta1.PostingRegion", PostingRegion_name, PostingRegion_value) - proto.RegisterEnum("google.cloud.talent.v4beta1.Visibility", Visibility_name, Visibility_value) - proto.RegisterEnum("google.cloud.talent.v4beta1.ContactInfoUsage", ContactInfoUsage_name, ContactInfoUsage_value) - proto.RegisterEnum("google.cloud.talent.v4beta1.HtmlSanitization", HtmlSanitization_name, HtmlSanitization_value) - proto.RegisterEnum("google.cloud.talent.v4beta1.CommuteMethod", CommuteMethod_name, CommuteMethod_value) - proto.RegisterEnum("google.cloud.talent.v4beta1.SkillProficiencyLevel", SkillProficiencyLevel_name, SkillProficiencyLevel_value) - proto.RegisterEnum("google.cloud.talent.v4beta1.Outcome", Outcome_name, Outcome_value) - proto.RegisterEnum("google.cloud.talent.v4beta1.AvailabilitySignalType", AvailabilitySignalType_name, AvailabilitySignalType_value) - proto.RegisterEnum("google.cloud.talent.v4beta1.Location_LocationType", Location_LocationType_name, Location_LocationType_value) - proto.RegisterEnum("google.cloud.talent.v4beta1.DeviceInfo_DeviceType", DeviceInfo_DeviceType_name, DeviceInfo_DeviceType_value) - proto.RegisterEnum("google.cloud.talent.v4beta1.CompensationInfo_CompensationType", CompensationInfo_CompensationType_name, CompensationInfo_CompensationType_value) - proto.RegisterEnum("google.cloud.talent.v4beta1.CompensationInfo_CompensationUnit", CompensationInfo_CompensationUnit_name, CompensationInfo_CompensationUnit_value) - proto.RegisterEnum("google.cloud.talent.v4beta1.BatchOperationMetadata_State", BatchOperationMetadata_State_name, BatchOperationMetadata_State_value) - proto.RegisterType((*TimestampRange)(nil), "google.cloud.talent.v4beta1.TimestampRange") - proto.RegisterType((*Location)(nil), "google.cloud.talent.v4beta1.Location") - proto.RegisterType((*RequestMetadata)(nil), "google.cloud.talent.v4beta1.RequestMetadata") - proto.RegisterType((*ResponseMetadata)(nil), "google.cloud.talent.v4beta1.ResponseMetadata") - proto.RegisterType((*DeviceInfo)(nil), "google.cloud.talent.v4beta1.DeviceInfo") - proto.RegisterType((*CustomAttribute)(nil), "google.cloud.talent.v4beta1.CustomAttribute") - proto.RegisterType((*SpellingCorrection)(nil), "google.cloud.talent.v4beta1.SpellingCorrection") - proto.RegisterType((*CompensationInfo)(nil), "google.cloud.talent.v4beta1.CompensationInfo") - proto.RegisterType((*CompensationInfo_CompensationEntry)(nil), "google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry") - proto.RegisterType((*CompensationInfo_CompensationRange)(nil), "google.cloud.talent.v4beta1.CompensationInfo.CompensationRange") - proto.RegisterType((*Certification)(nil), "google.cloud.talent.v4beta1.Certification") - proto.RegisterType((*Skill)(nil), "google.cloud.talent.v4beta1.Skill") - proto.RegisterType((*Interview)(nil), "google.cloud.talent.v4beta1.Interview") - proto.RegisterType((*Rating)(nil), "google.cloud.talent.v4beta1.Rating") - proto.RegisterType((*BatchOperationMetadata)(nil), "google.cloud.talent.v4beta1.BatchOperationMetadata") -} - -func init() { - proto.RegisterFile("google/cloud/talent/v4beta1/common.proto", fileDescriptor_2884fcfab48f4cdd) -} - -var fileDescriptor_2884fcfab48f4cdd = []byte{ - // 3358 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x79, 0xcb, 0x6f, 0x1b, 0x49, - 0x7a, 0xf8, 0x50, 0x94, 0x48, 0xf1, 0xa3, 0x1e, 0xe5, 0xf6, 0x58, 0xd6, 0xc8, 0xcf, 0xe1, 0xcc, - 0x0f, 0x6b, 0xe8, 0xb7, 0x90, 0x31, 0xce, 0x06, 0xc1, 0x62, 0x90, 0x04, 0xc5, 0xee, 0x12, 0x59, - 0xe3, 0x66, 0x37, 0x53, 0x5d, 0x2d, 0x0f, 0x7d, 0x69, 0xb4, 0xc8, 0x92, 0xdc, 0x48, 0xb3, 0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0x46, 0xdf, 0x0f, 0x85, 0x3b, 0x32, 0x9a, 0x3b, 0x94, 0xbb, 0x23, - 0xb2, 0x86, 0xe0, 0x57, 0x8c, 0xbd, 0x74, 0x47, 0xa4, 0x8e, 0x9d, 0x63, 0xe0, 0x7b, 0xb2, 0xef, - 0xa2, 0xce, 0x00, 0x8d, 0x11, 0xa3, 0x48, 0xbf, 0x81, 0x63, 0x89, 0xef, 0xb1, 0x48, 0xf2, 0x01, - 0x23, 0x8d, 0x0f, 0xa8, 0x87, 0x57, 0x92, 0x66, 0xe7, 0x77, 0x35, 0xd8, 0xb6, 0xd5, 0xbc, 0x4c, - 0xce, 0x92, 0x6a, 0x66, 0xfc, 0x12, 0xb6, 0x26, 0x49, 0x31, 0x4b, 0xe3, 0x8b, 0x28, 0x8b, 0xab, - 0xa1, 0x15, 0x73, 0xd1, 0xc0, 0xbc, 0x78, 0xaa, 0xac, 0x5f, 0xc1, 0x56, 0x3c, 0xfe, 0x61, 0x91, - 0xcc, 0x55, 0x84, 0x03, 0x77, 0x95, 0x05, 0x77, 0xae, 0x84, 0xd1, 0x89, 0x4b, 0x25, 0xda, 0x15, - 0x19, 0x1e, 0xac, 0x17, 0xd0, 0x56, 0xef, 0x66, 0x97, 0x4c, 0xf5, 0x0f, 0x31, 0x81, 0xa1, 0xd2, - 0x3c, 0x0f, 0xa1, 0x15, 0x2f, 0xca, 0x37, 0xf9, 0x3c, 0x29, 0x2f, 0xf4, 0xa3, 0x6b, 0x89, 0xf7, - 0x80, 0x4f, 0xbf, 0x9a, 0xce, 0xff, 0xd4, 0x60, 0x23, 0xf8, 0xcb, 0x24, 0x4d, 0x7f, 0x8e, 0x59, - 0x7f, 0x02, 0x3b, 0x69, 0x5c, 0x94, 0xd1, 0xa2, 0x50, 0x93, 0x4f, 0x18, 0xb6, 0x85, 0x84, 0x61, - 0xa1, 0x26, 0x5a, 0xcb, 0x3e, 0x6c, 0xa4, 0xea, 0xad, 0x32, 0xad, 0xeb, 0x53, 0x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ae, 0xd5, 0x6d, 0x19, 0x9c, 0x36, 0x34, 0xcf, 0x1f, 0xfd, - 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf6, 0xbb, 0x53, 0x31, 0x3b, 0x1c, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/company.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/company.pb.go deleted file mode 100644 index 29288d0e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/company.pb.go +++ /dev/null @@ -1,301 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/talent/v4beta1/company.proto - -package talent - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A Company resource represents a company in the service. A company is the -// entity that owns job postings, that is, the hiring entity responsible for -// employing applicants for the job position. -type Company struct { - // Required during company update. - // - // The resource name for a company. This is generated by the service when a - // company is created. - // - // The format is - // "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for - // example, "projects/foo/tenants/bar/companies/baz". - // - // If tenant id is unspecified, the default tenant is used. For - // example, "projects/foo/companies/bar". - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The display name of the company, for example, "Google LLC". - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Required. Client side company identifier, used to uniquely identify the - // company. - // - // The maximum number of allowed characters is 255. - ExternalId string `protobuf:"bytes,3,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` - // The employer's company size. - Size CompanySize `protobuf:"varint,4,opt,name=size,proto3,enum=google.cloud.talent.v4beta1.CompanySize" json:"size,omitempty"` - // The street address of the company's main headquarters, which may be - // different from the job location. The service attempts - // to geolocate the provided address, and populates a more specific - // location wherever possible in - // [DerivedInfo.headquarters_location][google.cloud.talent.v4beta1.Company.DerivedInfo.headquarters_location]. - HeadquartersAddress string `protobuf:"bytes,5,opt,name=headquarters_address,json=headquartersAddress,proto3" json:"headquarters_address,omitempty"` - // Set to true if it is the hiring agency that post jobs for other - // employers. - // - // Defaults to false if not provided. - HiringAgency bool `protobuf:"varint,6,opt,name=hiring_agency,json=hiringAgency,proto3" json:"hiring_agency,omitempty"` - // Equal Employment Opportunity legal disclaimer text to be - // associated with all jobs, and typically to be displayed in all - // roles. - // - // The maximum number of allowed characters is 500. - EeoText string `protobuf:"bytes,7,opt,name=eeo_text,json=eeoText,proto3" json:"eeo_text,omitempty"` - // The URI representing the company's primary web site or home page, - // for example, "https://www.google.com". - // - // The maximum number of allowed characters is 255. - WebsiteUri string `protobuf:"bytes,8,opt,name=website_uri,json=websiteUri,proto3" json:"website_uri,omitempty"` - // The URI to employer's career site or careers page on the employer's web - // site, for example, "https://careers.google.com". - CareerSiteUri string `protobuf:"bytes,9,opt,name=career_site_uri,json=careerSiteUri,proto3" json:"career_site_uri,omitempty"` - // A URI that hosts the employer's company logo. - ImageUri string `protobuf:"bytes,10,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"` - // A list of keys of filterable - // [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes], - // whose corresponding `string_values` are used in keyword searches. Jobs with - // `string_values` under these specified field keys are returned if any - // of the values match the search keyword. Custom field values with - // parenthesis, brackets and special symbols are not searchable as-is, - // and those keyword queries must be surrounded by quotes. - KeywordSearchableJobCustomAttributes []string `protobuf:"bytes,11,rep,name=keyword_searchable_job_custom_attributes,json=keywordSearchableJobCustomAttributes,proto3" json:"keyword_searchable_job_custom_attributes,omitempty"` - // Output only. Derived details about the company. - DerivedInfo *Company_DerivedInfo `protobuf:"bytes,12,opt,name=derived_info,json=derivedInfo,proto3" json:"derived_info,omitempty"` - // Output only. Indicates whether a company is flagged to be suspended from - // public availability by the service when job content appears suspicious, - // abusive, or spammy. - Suspended bool `protobuf:"varint,13,opt,name=suspended,proto3" json:"suspended,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Company) Reset() { *m = Company{} } -func (m *Company) String() string { return proto.CompactTextString(m) } -func (*Company) ProtoMessage() {} -func (*Company) Descriptor() ([]byte, []int) { - return fileDescriptor_bbff0b9f9d15156a, []int{0} -} - -func (m *Company) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Company.Unmarshal(m, b) -} -func (m *Company) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Company.Marshal(b, m, deterministic) -} -func (m *Company) XXX_Merge(src proto.Message) { - xxx_messageInfo_Company.Merge(m, src) -} -func (m *Company) XXX_Size() int { - return xxx_messageInfo_Company.Size(m) -} -func (m *Company) XXX_DiscardUnknown() { - xxx_messageInfo_Company.DiscardUnknown(m) -} - -var xxx_messageInfo_Company proto.InternalMessageInfo - -func (m *Company) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Company) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *Company) GetExternalId() string { - if m != nil { - return m.ExternalId - } - return "" -} - -func (m *Company) GetSize() CompanySize { - if m != nil { - return m.Size - } - return CompanySize_COMPANY_SIZE_UNSPECIFIED -} - -func (m *Company) GetHeadquartersAddress() string { - if m != nil { - return m.HeadquartersAddress - } - return "" -} - -func (m *Company) GetHiringAgency() bool { - if m != nil { - return m.HiringAgency - } - return false -} - -func (m *Company) GetEeoText() string { - if m != nil { - return m.EeoText - } - return "" -} - -func (m *Company) GetWebsiteUri() string { - if m != nil { - return m.WebsiteUri - } - return "" -} - -func (m *Company) GetCareerSiteUri() string { - if m != nil { - return m.CareerSiteUri - } - return "" -} - -func (m *Company) GetImageUri() string { - if m != nil { - return m.ImageUri - } - return "" -} - -func (m *Company) GetKeywordSearchableJobCustomAttributes() []string { - if m != nil { - return m.KeywordSearchableJobCustomAttributes - } - return nil -} - -func (m *Company) GetDerivedInfo() *Company_DerivedInfo { - if m != nil { - return m.DerivedInfo - } - return nil -} - -func (m *Company) GetSuspended() bool { - if m != nil { - return m.Suspended - } - return false -} - -// Derived details about the company. -type Company_DerivedInfo struct { - // A structured headquarters location of the company, resolved from - // [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] - // if provided. - HeadquartersLocation *Location `protobuf:"bytes,1,opt,name=headquarters_location,json=headquartersLocation,proto3" json:"headquarters_location,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Company_DerivedInfo) Reset() { *m = Company_DerivedInfo{} } -func (m *Company_DerivedInfo) String() string { return proto.CompactTextString(m) } -func (*Company_DerivedInfo) ProtoMessage() {} -func (*Company_DerivedInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_bbff0b9f9d15156a, []int{0, 0} -} - -func (m *Company_DerivedInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Company_DerivedInfo.Unmarshal(m, b) -} -func (m *Company_DerivedInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Company_DerivedInfo.Marshal(b, m, deterministic) -} -func (m *Company_DerivedInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_Company_DerivedInfo.Merge(m, src) -} -func (m *Company_DerivedInfo) XXX_Size() int { - return xxx_messageInfo_Company_DerivedInfo.Size(m) -} -func (m *Company_DerivedInfo) XXX_DiscardUnknown() { - xxx_messageInfo_Company_DerivedInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_Company_DerivedInfo proto.InternalMessageInfo - -func (m *Company_DerivedInfo) GetHeadquartersLocation() *Location { - if m != nil { - return m.HeadquartersLocation - } - return nil -} - -func init() { - proto.RegisterType((*Company)(nil), "google.cloud.talent.v4beta1.Company") - proto.RegisterType((*Company_DerivedInfo)(nil), "google.cloud.talent.v4beta1.Company.DerivedInfo") -} - -func init() { - proto.RegisterFile("google/cloud/talent/v4beta1/company.proto", fileDescriptor_bbff0b9f9d15156a) -} - -var fileDescriptor_bbff0b9f9d15156a = []byte{ - // 555 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xdf, 0x6e, 0xd3, 0x30, - 0x14, 0xc6, 0x95, 0x75, 0x7f, 0x5a, 0xa7, 0x03, 0xc9, 0x0c, 0x29, 0x6c, 0x48, 0x2b, 0x30, 0xa6, - 0x70, 0x93, 0xb0, 0xc1, 0x1d, 0xdc, 0x74, 0xe3, 0x66, 0x08, 0xa1, 0x29, 0x1d, 0x08, 0xed, 0xc6, - 0x72, 0xe2, 0xb3, 0xd4, 0x90, 0xd8, 0xc1, 0x76, 0xba, 0x76, 0x97, 0x3c, 0x0a, 0x8f, 0xc2, 0x93, - 0xf0, 0x28, 0x28, 0x76, 0xd6, 0x76, 0x12, 0x2a, 0xdc, 0x25, 0xdf, 0xf7, 0x3b, 0x47, 0x9f, 0x8f, - 0x8f, 0xd1, 0x8b, 0x5c, 0xca, 0xbc, 0x80, 0x38, 0x2b, 0x64, 0xcd, 0x62, 0x43, 0x0b, 0x10, 0x26, - 0x9e, 0xbc, 0x4e, 0xc1, 0xd0, 0xa3, 0x38, 0x93, 0x65, 0x45, 0xc5, 0x2c, 0xaa, 0x94, 0x34, 0x12, - 0xef, 0x39, 0x34, 0xb2, 0x68, 0xe4, 0xd0, 0xa8, 0x45, 0x77, 0x1f, 0xb7, 0x7d, 0x68, 0xc5, 0x63, - 0x2a, 0x84, 0x34, 0xd4, 0x70, 0x29, 0xb4, 0x2b, 0xdd, 0xdd, 0x5f, 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7, 0xde, 0xe5, 0xb0, 0x2d, 0xca, 0x65, 0x41, 0x45, - 0x1e, 0x49, 0x95, 0xc7, 0x39, 0x08, 0xfb, 0x38, 0x62, 0x67, 0xd1, 0x8a, 0xeb, 0xbf, 0xbe, 0xa4, - 0x37, 0xee, 0xf7, 0xe7, 0x5a, 0xe7, 0xf4, 0x62, 0x94, 0x6e, 0xda, 0x9a, 0x57, 0x7f, 0x02, 0x00, - 0x00, 0xff, 0xff, 0xd6, 0x83, 0x2a, 0x43, 0x03, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/company_service.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/company_service.pb.go deleted file mode 100644 index 8e22d5b7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/company_service.pb.go +++ /dev/null @@ -1,684 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/talent/v4beta1/company_service.proto - -package talent - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The Request of the CreateCompany method. -type CreateCompanyRequest struct { - // Required. Resource name of the tenant under which the company is created. - // - // The format is "projects/{project_id}/tenants/{tenant_id}", for example, - // "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant - // is created, for example, "projects/foo". - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The company to be created. - Company *Company `protobuf:"bytes,2,opt,name=company,proto3" json:"company,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateCompanyRequest) Reset() { *m = CreateCompanyRequest{} } -func (m *CreateCompanyRequest) String() string { return proto.CompactTextString(m) } -func (*CreateCompanyRequest) ProtoMessage() {} -func (*CreateCompanyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1c499e6cf60b8944, []int{0} -} - -func (m *CreateCompanyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateCompanyRequest.Unmarshal(m, b) -} -func (m *CreateCompanyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateCompanyRequest.Marshal(b, m, deterministic) -} -func (m *CreateCompanyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateCompanyRequest.Merge(m, src) -} -func (m *CreateCompanyRequest) XXX_Size() int { - return xxx_messageInfo_CreateCompanyRequest.Size(m) -} -func (m *CreateCompanyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateCompanyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateCompanyRequest proto.InternalMessageInfo - -func (m *CreateCompanyRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateCompanyRequest) GetCompany() *Company { - if m != nil { - return m.Company - } - return nil -} - -// Request for getting a company by name. -type GetCompanyRequest struct { - // Required. The resource name of the company to be retrieved. - // - // The format is - // "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for - // example, "projects/api-test-project/tenants/foo/companies/bar". - // - // If tenant id is unspecified, the default tenant is used, for - // example, "projects/api-test-project/companies/bar". - 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 *GetCompanyRequest) Reset() { *m = GetCompanyRequest{} } -func (m *GetCompanyRequest) String() string { return proto.CompactTextString(m) } -func (*GetCompanyRequest) ProtoMessage() {} -func (*GetCompanyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1c499e6cf60b8944, []int{1} -} - -func (m *GetCompanyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCompanyRequest.Unmarshal(m, b) -} -func (m *GetCompanyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCompanyRequest.Marshal(b, m, deterministic) -} -func (m *GetCompanyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCompanyRequest.Merge(m, src) -} -func (m *GetCompanyRequest) XXX_Size() int { - return xxx_messageInfo_GetCompanyRequest.Size(m) -} -func (m *GetCompanyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetCompanyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetCompanyRequest proto.InternalMessageInfo - -func (m *GetCompanyRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request for updating a specified company. -type UpdateCompanyRequest struct { - // Required. The company resource to replace the current resource in the - // system. - Company *Company `protobuf:"bytes,1,opt,name=company,proto3" json:"company,omitempty"` - // Strongly recommended for the best service experience. - // - // If - // [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] - // is provided, only the specified fields in - // [company][google.cloud.talent.v4beta1.UpdateCompanyRequest.company] are - // updated. Otherwise all the fields are updated. - // - // A field mask to specify the company fields to be updated. Only - // top level fields of [Company][google.cloud.talent.v4beta1.Company] are - // supported. - 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 *UpdateCompanyRequest) Reset() { *m = UpdateCompanyRequest{} } -func (m *UpdateCompanyRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateCompanyRequest) ProtoMessage() {} -func (*UpdateCompanyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1c499e6cf60b8944, []int{2} -} - -func (m *UpdateCompanyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateCompanyRequest.Unmarshal(m, b) -} -func (m *UpdateCompanyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateCompanyRequest.Marshal(b, m, deterministic) -} -func (m *UpdateCompanyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateCompanyRequest.Merge(m, src) -} -func (m *UpdateCompanyRequest) XXX_Size() int { - return xxx_messageInfo_UpdateCompanyRequest.Size(m) -} -func (m *UpdateCompanyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateCompanyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateCompanyRequest proto.InternalMessageInfo - -func (m *UpdateCompanyRequest) GetCompany() *Company { - if m != nil { - return m.Company - } - return nil -} - -func (m *UpdateCompanyRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// Request to delete a company. -type DeleteCompanyRequest struct { - // Required. The resource name of the company to be deleted. - // - // The format is - // "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for - // example, "projects/foo/tenants/bar/companies/baz". - // - // If tenant id is unspecified, the default tenant is used, for - // example, "projects/foo/companies/bar". - 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 *DeleteCompanyRequest) Reset() { *m = DeleteCompanyRequest{} } -func (m *DeleteCompanyRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteCompanyRequest) ProtoMessage() {} -func (*DeleteCompanyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1c499e6cf60b8944, []int{3} -} - -func (m *DeleteCompanyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteCompanyRequest.Unmarshal(m, b) -} -func (m *DeleteCompanyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteCompanyRequest.Marshal(b, m, deterministic) -} -func (m *DeleteCompanyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteCompanyRequest.Merge(m, src) -} -func (m *DeleteCompanyRequest) XXX_Size() int { - return xxx_messageInfo_DeleteCompanyRequest.Size(m) -} -func (m *DeleteCompanyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteCompanyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteCompanyRequest proto.InternalMessageInfo - -func (m *DeleteCompanyRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// List companies for which the client has ACL visibility. -type ListCompaniesRequest struct { - // Required. Resource name of the tenant under which the company is created. - // - // The format is "projects/{project_id}/tenants/{tenant_id}", for example, - // "projects/foo/tenant/bar". - // - // If tenant id is unspecified, the default tenant will be used, for - // example, "projects/foo". - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The starting indicator from which to return results. - PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // The maximum number of companies to be returned, at most 100. - // Default is 100 if a non-positive number is provided. - PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Set to true if the companies requested must have open jobs. - // - // Defaults to false. - // - // If true, at most - // [page_size][google.cloud.talent.v4beta1.ListCompaniesRequest.page_size] of - // companies are fetched, among which only those with open jobs are returned. - RequireOpenJobs bool `protobuf:"varint,4,opt,name=require_open_jobs,json=requireOpenJobs,proto3" json:"require_open_jobs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListCompaniesRequest) Reset() { *m = ListCompaniesRequest{} } -func (m *ListCompaniesRequest) String() string { return proto.CompactTextString(m) } -func (*ListCompaniesRequest) ProtoMessage() {} -func (*ListCompaniesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1c499e6cf60b8944, []int{4} -} - -func (m *ListCompaniesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCompaniesRequest.Unmarshal(m, b) -} -func (m *ListCompaniesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCompaniesRequest.Marshal(b, m, deterministic) -} -func (m *ListCompaniesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCompaniesRequest.Merge(m, src) -} -func (m *ListCompaniesRequest) XXX_Size() int { - return xxx_messageInfo_ListCompaniesRequest.Size(m) -} -func (m *ListCompaniesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListCompaniesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListCompaniesRequest proto.InternalMessageInfo - -func (m *ListCompaniesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListCompaniesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListCompaniesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListCompaniesRequest) GetRequireOpenJobs() bool { - if m != nil { - return m.RequireOpenJobs - } - return false -} - -// The List companies response object. -type ListCompaniesResponse struct { - // Companies for the current client. - Companies []*Company `protobuf:"bytes,1,rep,name=companies,proto3" json:"companies,omitempty"` - // A token to retrieve the next page of results. - NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - // Additional information for the API invocation, such as the request - // tracking id. - Metadata *ResponseMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListCompaniesResponse) Reset() { *m = ListCompaniesResponse{} } -func (m *ListCompaniesResponse) String() string { return proto.CompactTextString(m) } -func (*ListCompaniesResponse) ProtoMessage() {} -func (*ListCompaniesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1c499e6cf60b8944, []int{5} -} - -func (m *ListCompaniesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCompaniesResponse.Unmarshal(m, b) -} -func (m *ListCompaniesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCompaniesResponse.Marshal(b, m, deterministic) -} -func (m *ListCompaniesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCompaniesResponse.Merge(m, src) -} -func (m *ListCompaniesResponse) XXX_Size() int { - return xxx_messageInfo_ListCompaniesResponse.Size(m) -} -func (m *ListCompaniesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListCompaniesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListCompaniesResponse proto.InternalMessageInfo - -func (m *ListCompaniesResponse) GetCompanies() []*Company { - if m != nil { - return m.Companies - } - return nil -} - -func (m *ListCompaniesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -func (m *ListCompaniesResponse) GetMetadata() *ResponseMetadata { - if m != nil { - return m.Metadata - } - return nil -} - -func init() { - proto.RegisterType((*CreateCompanyRequest)(nil), "google.cloud.talent.v4beta1.CreateCompanyRequest") - proto.RegisterType((*GetCompanyRequest)(nil), "google.cloud.talent.v4beta1.GetCompanyRequest") - proto.RegisterType((*UpdateCompanyRequest)(nil), "google.cloud.talent.v4beta1.UpdateCompanyRequest") - proto.RegisterType((*DeleteCompanyRequest)(nil), "google.cloud.talent.v4beta1.DeleteCompanyRequest") - proto.RegisterType((*ListCompaniesRequest)(nil), "google.cloud.talent.v4beta1.ListCompaniesRequest") - proto.RegisterType((*ListCompaniesResponse)(nil), "google.cloud.talent.v4beta1.ListCompaniesResponse") -} - -func init() { - proto.RegisterFile("google/cloud/talent/v4beta1/company_service.proto", fileDescriptor_1c499e6cf60b8944) -} - -var fileDescriptor_1c499e6cf60b8944 = []byte{ - // 799 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x4f, 0x6f, 0xeb, 0x44, - 0x10, 0xd7, 0x26, 0xa5, 0x34, 0x5b, 0x85, 0xaa, 0xdb, 0x40, 0xa3, 0x14, 0xd4, 0xc8, 0x42, 0x55, - 0x08, 0xad, 0x97, 0xa6, 0x1c, 0x50, 0x2b, 0x0e, 0x49, 0xf8, 0x23, 0x10, 0x15, 0x95, 0x53, 0x2e, - 0x15, 0x52, 0xb4, 0x76, 0xa6, 0x89, 0x5b, 0x7b, 0xd7, 0xb5, 0x37, 0x6d, 0x29, 0xea, 0x01, 0xbe, - 0x02, 0x17, 0x24, 0x0e, 0x48, 0x7c, 0x10, 0x8e, 0x1c, 0x38, 0xbc, 0x43, 0xdf, 0xed, 0x9d, 0x9e, - 0x9e, 0xde, 0x07, 0x79, 0xb2, 0xbd, 0xce, 0xff, 0x26, 0x7e, 0xbd, 0x79, 0x67, 0xe6, 0x37, 0xfb, - 0xfb, 0xcd, 0xec, 0x4c, 0x82, 0xf7, 0xbb, 0x42, 0x74, 0x1d, 0xa0, 0x96, 0x23, 0xfa, 0x1d, 0x2a, - 0x99, 0x03, 0x5c, 0xd2, 0xeb, 0xcf, 0x4d, 0x90, 0x6c, 0x9f, 0x5a, 0xc2, 0xf5, 0x18, 0xff, 0xa5, - 0x1d, 0x80, 0x7f, 0x6d, 0x5b, 0xa0, 0x7b, 0xbe, 0x90, 0x82, 0x6c, 0xc5, 0x10, 0x3d, 0x82, 0xe8, - 0x31, 0x44, 0x57, 0x90, 0xd2, 0x87, 0x2a, 0x1f, 0xf3, 0x6c, 0xca, 0x38, 0x17, 0x92, 0x49, 0x5b, - 0xf0, 0x20, 0x86, 0x96, 0x36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 0x37, 0x37, 0x13, 0x4e, 0xca, 0xfa, 0xb2, 0x17, 0xff, 0x64, - 0xef, 0x79, 0x0e, 0x93, 0xe7, 0xc2, 0x77, 0x77, 0x17, 0x85, 0x87, 0x97, 0x34, 0x7e, 0x43, 0x78, - 0xdb, 0x12, 0xee, 0xbc, 0x5a, 0x34, 0x36, 0xc6, 0x57, 0xd8, 0x49, 0xd8, 0xf0, 0x13, 0x74, 0x56, - 0x57, 0x98, 0xae, 0x70, 0x18, 0xef, 0xea, 0xc2, 0xef, 0xd2, 0x2e, 0xf0, 0xe8, 0x39, 0xd0, 0xe1, - 0x7d, 0x33, 0xff, 0x48, 0x1c, 0xc5, 0xc7, 0x7f, 0x32, 0xd9, 0xe6, 0x69, 0xcb, 0x5c, 0x8e, 0x30, - 0x07, 0x6f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x46, 0x7b, 0xe0, 0xcb, 0x4d, 0x09, 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 - -// CompanyServiceClient is the client API for CompanyService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type CompanyServiceClient interface { - // Creates a new company entity. - CreateCompany(ctx context.Context, in *CreateCompanyRequest, opts ...grpc.CallOption) (*Company, error) - // Retrieves specified company. - GetCompany(ctx context.Context, in *GetCompanyRequest, opts ...grpc.CallOption) (*Company, error) - // Updates specified company. - UpdateCompany(ctx context.Context, in *UpdateCompanyRequest, opts ...grpc.CallOption) (*Company, error) - // Deletes specified company. - // Prerequisite: The company has no jobs associated with it. - DeleteCompany(ctx context.Context, in *DeleteCompanyRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Lists all companies associated with the project. - ListCompanies(ctx context.Context, in *ListCompaniesRequest, opts ...grpc.CallOption) (*ListCompaniesResponse, error) -} - -type companyServiceClient struct { - cc *grpc.ClientConn -} - -func NewCompanyServiceClient(cc *grpc.ClientConn) CompanyServiceClient { - return &companyServiceClient{cc} -} - -func (c *companyServiceClient) CreateCompany(ctx context.Context, in *CreateCompanyRequest, opts ...grpc.CallOption) (*Company, error) { - out := new(Company) - err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.CompanyService/CreateCompany", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *companyServiceClient) GetCompany(ctx context.Context, in *GetCompanyRequest, opts ...grpc.CallOption) (*Company, error) { - out := new(Company) - err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.CompanyService/GetCompany", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *companyServiceClient) UpdateCompany(ctx context.Context, in *UpdateCompanyRequest, opts ...grpc.CallOption) (*Company, error) { - out := new(Company) - err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.CompanyService/UpdateCompany", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *companyServiceClient) DeleteCompany(ctx context.Context, in *DeleteCompanyRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.CompanyService/DeleteCompany", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *companyServiceClient) ListCompanies(ctx context.Context, in *ListCompaniesRequest, opts ...grpc.CallOption) (*ListCompaniesResponse, error) { - out := new(ListCompaniesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.CompanyService/ListCompanies", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// CompanyServiceServer is the server API for CompanyService service. -type CompanyServiceServer interface { - // Creates a new company entity. - CreateCompany(context.Context, *CreateCompanyRequest) (*Company, error) - // Retrieves specified company. - GetCompany(context.Context, *GetCompanyRequest) (*Company, error) - // Updates specified company. - UpdateCompany(context.Context, *UpdateCompanyRequest) (*Company, error) - // Deletes specified company. - // Prerequisite: The company has no jobs associated with it. - DeleteCompany(context.Context, *DeleteCompanyRequest) (*empty.Empty, error) - // Lists all companies associated with the project. - ListCompanies(context.Context, *ListCompaniesRequest) (*ListCompaniesResponse, error) -} - -// UnimplementedCompanyServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCompanyServiceServer struct { -} - -func (*UnimplementedCompanyServiceServer) CreateCompany(ctx context.Context, req *CreateCompanyRequest) (*Company, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateCompany not implemented") -} -func (*UnimplementedCompanyServiceServer) GetCompany(ctx context.Context, req *GetCompanyRequest) (*Company, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCompany not implemented") -} -func (*UnimplementedCompanyServiceServer) UpdateCompany(ctx context.Context, req *UpdateCompanyRequest) (*Company, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateCompany not implemented") -} -func (*UnimplementedCompanyServiceServer) DeleteCompany(ctx context.Context, req *DeleteCompanyRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteCompany not implemented") -} -func (*UnimplementedCompanyServiceServer) ListCompanies(ctx context.Context, req *ListCompaniesRequest) (*ListCompaniesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListCompanies not implemented") -} - -func RegisterCompanyServiceServer(s *grpc.Server, srv CompanyServiceServer) { - s.RegisterService(&_CompanyService_serviceDesc, srv) -} - -func _CompanyService_CreateCompany_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateCompanyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CompanyServiceServer).CreateCompany(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.talent.v4beta1.CompanyService/CreateCompany", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CompanyServiceServer).CreateCompany(ctx, req.(*CreateCompanyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CompanyService_GetCompany_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetCompanyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CompanyServiceServer).GetCompany(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.talent.v4beta1.CompanyService/GetCompany", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CompanyServiceServer).GetCompany(ctx, req.(*GetCompanyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CompanyService_UpdateCompany_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateCompanyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CompanyServiceServer).UpdateCompany(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.talent.v4beta1.CompanyService/UpdateCompany", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CompanyServiceServer).UpdateCompany(ctx, req.(*UpdateCompanyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CompanyService_DeleteCompany_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteCompanyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CompanyServiceServer).DeleteCompany(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.talent.v4beta1.CompanyService/DeleteCompany", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CompanyServiceServer).DeleteCompany(ctx, req.(*DeleteCompanyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CompanyService_ListCompanies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListCompaniesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CompanyServiceServer).ListCompanies(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.talent.v4beta1.CompanyService/ListCompanies", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CompanyServiceServer).ListCompanies(ctx, req.(*ListCompaniesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _CompanyService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.talent.v4beta1.CompanyService", - HandlerType: (*CompanyServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateCompany", - Handler: _CompanyService_CreateCompany_Handler, - }, - { - MethodName: "GetCompany", - Handler: _CompanyService_GetCompany_Handler, - }, - { - MethodName: "UpdateCompany", - Handler: _CompanyService_UpdateCompany_Handler, - }, - { - MethodName: "DeleteCompany", - Handler: _CompanyService_DeleteCompany_Handler, - }, - { - MethodName: "ListCompanies", - Handler: _CompanyService_ListCompanies_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/talent/v4beta1/company_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/completion_service.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/completion_service.pb.go deleted file mode 100644 index 85c279a9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/completion_service.pb.go +++ /dev/null @@ -1,495 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/talent/v4beta1/completion_service.proto - -package talent - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum to specify the scope of completion. -type CompleteQueryRequest_CompletionScope int32 - -const ( - // Default value. - CompleteQueryRequest_COMPLETION_SCOPE_UNSPECIFIED CompleteQueryRequest_CompletionScope = 0 - // Suggestions are based only on the data provided by the client. - CompleteQueryRequest_TENANT CompleteQueryRequest_CompletionScope = 1 - // Suggestions are based on all jobs data in the system that's visible to - // the client - CompleteQueryRequest_PUBLIC CompleteQueryRequest_CompletionScope = 2 -) - -var CompleteQueryRequest_CompletionScope_name = map[int32]string{ - 0: "COMPLETION_SCOPE_UNSPECIFIED", - 1: "TENANT", - 2: "PUBLIC", -} - -var CompleteQueryRequest_CompletionScope_value = map[string]int32{ - "COMPLETION_SCOPE_UNSPECIFIED": 0, - "TENANT": 1, - "PUBLIC": 2, -} - -func (x CompleteQueryRequest_CompletionScope) String() string { - return proto.EnumName(CompleteQueryRequest_CompletionScope_name, int32(x)) -} - -func (CompleteQueryRequest_CompletionScope) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a6e2d15ed940916e, []int{0, 0} -} - -// Enum to specify auto-completion topics. -type CompleteQueryRequest_CompletionType int32 - -const ( - // Default value. - CompleteQueryRequest_COMPLETION_TYPE_UNSPECIFIED CompleteQueryRequest_CompletionType = 0 - // Only suggest job titles. - CompleteQueryRequest_JOB_TITLE CompleteQueryRequest_CompletionType = 1 - // Only suggest company names. - CompleteQueryRequest_COMPANY_NAME CompleteQueryRequest_CompletionType = 2 - // Suggest both job titles and company names. - CompleteQueryRequest_COMBINED CompleteQueryRequest_CompletionType = 3 -) - -var CompleteQueryRequest_CompletionType_name = map[int32]string{ - 0: "COMPLETION_TYPE_UNSPECIFIED", - 1: "JOB_TITLE", - 2: "COMPANY_NAME", - 3: "COMBINED", -} - -var CompleteQueryRequest_CompletionType_value = map[string]int32{ - "COMPLETION_TYPE_UNSPECIFIED": 0, - "JOB_TITLE": 1, - "COMPANY_NAME": 2, - "COMBINED": 3, -} - -func (x CompleteQueryRequest_CompletionType) String() string { - return proto.EnumName(CompleteQueryRequest_CompletionType_name, int32(x)) -} - -func (CompleteQueryRequest_CompletionType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a6e2d15ed940916e, []int{0, 1} -} - -// Auto-complete parameters. -type CompleteQueryRequest struct { - // Required. Resource name of tenant the completion is performed within. - // - // The format is "projects/{project_id}/tenants/{tenant_id}", for example, - // "projects/foo/tenant/bar". - // - // If tenant id is unspecified, the default tenant is used, for - // example, "projects/foo". - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The query used to generate suggestions. - // - // The maximum number of allowed characters is 255. - Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` - // The list of languages of the query. This is - // the BCP-47 language code, such as "en-US" or "sr-Latn". - // For more information, see - // [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). - // - // For - // [CompletionType.JOB_TITLE][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.JOB_TITLE] - // type, only open jobs with the same - // [language_codes][google.cloud.talent.v4beta1.CompleteQueryRequest.language_codes] - // are returned. - // - // For - // [CompletionType.COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME] - // type, only companies having open jobs with the same - // [language_codes][google.cloud.talent.v4beta1.CompleteQueryRequest.language_codes] - // are returned. - // - // For - // [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED] - // type, only open jobs with the same - // [language_codes][google.cloud.talent.v4beta1.CompleteQueryRequest.language_codes] - // or companies having open jobs with the same - // [language_codes][google.cloud.talent.v4beta1.CompleteQueryRequest.language_codes] - // are returned. - // - // The maximum number of allowed characters is 255. - LanguageCodes []string `protobuf:"bytes,3,rep,name=language_codes,json=languageCodes,proto3" json:"language_codes,omitempty"` - // Required. Completion result count. - // - // The maximum allowed page size is 10. - PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // If provided, restricts completion to specified company. - // - // The format is - // "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for - // example, "projects/foo/tenants/bar/companies/baz". - // - // If tenant id is unspecified, the default tenant is used, for - // example, "projects/foo". - Company string `protobuf:"bytes,5,opt,name=company,proto3" json:"company,omitempty"` - // The scope of the completion. The defaults is - // [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC]. - Scope CompleteQueryRequest_CompletionScope `protobuf:"varint,6,opt,name=scope,proto3,enum=google.cloud.talent.v4beta1.CompleteQueryRequest_CompletionScope" json:"scope,omitempty"` - // The completion topic. The default is - // [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED]. - Type CompleteQueryRequest_CompletionType `protobuf:"varint,7,opt,name=type,proto3,enum=google.cloud.talent.v4beta1.CompleteQueryRequest_CompletionType" json:"type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CompleteQueryRequest) Reset() { *m = CompleteQueryRequest{} } -func (m *CompleteQueryRequest) String() string { return proto.CompactTextString(m) } -func (*CompleteQueryRequest) ProtoMessage() {} -func (*CompleteQueryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a6e2d15ed940916e, []int{0} -} - -func (m *CompleteQueryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CompleteQueryRequest.Unmarshal(m, b) -} -func (m *CompleteQueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CompleteQueryRequest.Marshal(b, m, deterministic) -} -func (m *CompleteQueryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CompleteQueryRequest.Merge(m, src) -} -func (m *CompleteQueryRequest) XXX_Size() int { - return xxx_messageInfo_CompleteQueryRequest.Size(m) -} -func (m *CompleteQueryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CompleteQueryRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CompleteQueryRequest proto.InternalMessageInfo - -func (m *CompleteQueryRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CompleteQueryRequest) GetQuery() string { - if m != nil { - return m.Query - } - return "" -} - -func (m *CompleteQueryRequest) GetLanguageCodes() []string { - if m != nil { - return m.LanguageCodes - } - return nil -} - -func (m *CompleteQueryRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *CompleteQueryRequest) GetCompany() string { - if m != nil { - return m.Company - } - return "" -} - -func (m *CompleteQueryRequest) GetScope() CompleteQueryRequest_CompletionScope { - if m != nil { - return m.Scope - } - return CompleteQueryRequest_COMPLETION_SCOPE_UNSPECIFIED -} - -func (m *CompleteQueryRequest) GetType() CompleteQueryRequest_CompletionType { - if m != nil { - return m.Type - } - return CompleteQueryRequest_COMPLETION_TYPE_UNSPECIFIED -} - -// Response of auto-complete query. -type CompleteQueryResponse struct { - // Results of the matching job/company candidates. - CompletionResults []*CompleteQueryResponse_CompletionResult `protobuf:"bytes,1,rep,name=completion_results,json=completionResults,proto3" json:"completion_results,omitempty"` - // Additional information for the API invocation, such as the request - // tracking id. - Metadata *ResponseMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CompleteQueryResponse) Reset() { *m = CompleteQueryResponse{} } -func (m *CompleteQueryResponse) String() string { return proto.CompactTextString(m) } -func (*CompleteQueryResponse) ProtoMessage() {} -func (*CompleteQueryResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_a6e2d15ed940916e, []int{1} -} - -func (m *CompleteQueryResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CompleteQueryResponse.Unmarshal(m, b) -} -func (m *CompleteQueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CompleteQueryResponse.Marshal(b, m, deterministic) -} -func (m *CompleteQueryResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CompleteQueryResponse.Merge(m, src) -} -func (m *CompleteQueryResponse) XXX_Size() int { - return xxx_messageInfo_CompleteQueryResponse.Size(m) -} -func (m *CompleteQueryResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CompleteQueryResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_CompleteQueryResponse proto.InternalMessageInfo - -func (m *CompleteQueryResponse) GetCompletionResults() []*CompleteQueryResponse_CompletionResult { - if m != nil { - return m.CompletionResults - } - return nil -} - -func (m *CompleteQueryResponse) GetMetadata() *ResponseMetadata { - if m != nil { - return m.Metadata - } - return nil -} - -// Resource that represents completion results. -type CompleteQueryResponse_CompletionResult struct { - // The suggestion for the query. - Suggestion string `protobuf:"bytes,1,opt,name=suggestion,proto3" json:"suggestion,omitempty"` - // The completion topic. - Type CompleteQueryRequest_CompletionType `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.talent.v4beta1.CompleteQueryRequest_CompletionType" json:"type,omitempty"` - // The URI of the company image for - // [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME]. - ImageUri string `protobuf:"bytes,3,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CompleteQueryResponse_CompletionResult) Reset() { - *m = CompleteQueryResponse_CompletionResult{} -} -func (m *CompleteQueryResponse_CompletionResult) String() string { return proto.CompactTextString(m) } -func (*CompleteQueryResponse_CompletionResult) ProtoMessage() {} -func (*CompleteQueryResponse_CompletionResult) Descriptor() ([]byte, []int) { - return fileDescriptor_a6e2d15ed940916e, []int{1, 0} -} - -func (m *CompleteQueryResponse_CompletionResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CompleteQueryResponse_CompletionResult.Unmarshal(m, b) -} -func (m *CompleteQueryResponse_CompletionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CompleteQueryResponse_CompletionResult.Marshal(b, m, deterministic) -} -func (m *CompleteQueryResponse_CompletionResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_CompleteQueryResponse_CompletionResult.Merge(m, src) -} -func (m *CompleteQueryResponse_CompletionResult) XXX_Size() int { - return xxx_messageInfo_CompleteQueryResponse_CompletionResult.Size(m) -} -func (m *CompleteQueryResponse_CompletionResult) XXX_DiscardUnknown() { - xxx_messageInfo_CompleteQueryResponse_CompletionResult.DiscardUnknown(m) -} - -var xxx_messageInfo_CompleteQueryResponse_CompletionResult proto.InternalMessageInfo - -func (m *CompleteQueryResponse_CompletionResult) GetSuggestion() string { - if m != nil { - return m.Suggestion - } - return "" -} - -func (m *CompleteQueryResponse_CompletionResult) GetType() CompleteQueryRequest_CompletionType { - if m != nil { - return m.Type - } - return CompleteQueryRequest_COMPLETION_TYPE_UNSPECIFIED -} - -func (m *CompleteQueryResponse_CompletionResult) GetImageUri() string { - if m != nil { - return m.ImageUri - } - return "" -} - -func init() { - proto.RegisterEnum("google.cloud.talent.v4beta1.CompleteQueryRequest_CompletionScope", CompleteQueryRequest_CompletionScope_name, CompleteQueryRequest_CompletionScope_value) - proto.RegisterEnum("google.cloud.talent.v4beta1.CompleteQueryRequest_CompletionType", CompleteQueryRequest_CompletionType_name, CompleteQueryRequest_CompletionType_value) - proto.RegisterType((*CompleteQueryRequest)(nil), "google.cloud.talent.v4beta1.CompleteQueryRequest") - proto.RegisterType((*CompleteQueryResponse)(nil), "google.cloud.talent.v4beta1.CompleteQueryResponse") - proto.RegisterType((*CompleteQueryResponse_CompletionResult)(nil), "google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult") -} - -func init() { - proto.RegisterFile("google/cloud/talent/v4beta1/completion_service.proto", fileDescriptor_a6e2d15ed940916e) -} - -var fileDescriptor_a6e2d15ed940916e = []byte{ - // 738 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0x5d, 0x6b, 0xdb, 0x48, - 0x14, 0x5d, 0xc9, 0xb1, 0x63, 0x4f, 0x3e, 0x56, 0x3b, 0xfb, 0xa5, 0xb5, 0xc3, 0xc6, 0x18, 0xc2, - 0x9a, 0x65, 0x23, 0x11, 0x6f, 0x9e, 0xb2, 0x2c, 0x54, 0x56, 0x54, 0x70, 0x1b, 0x7f, 0x54, 0x56, - 0x28, 0xc9, 0x8b, 0x33, 0x96, 0x27, 0x8a, 0x82, 0xac, 0x51, 0x34, 0xa3, 0x04, 0xa7, 0xf4, 0xa5, - 0xf4, 0xbd, 0x0f, 0xfd, 0x07, 0x85, 0xfe, 0x99, 0x3e, 0xb6, 0x14, 0xfa, 0xd8, 0x87, 0xfe, 0x8e, - 0x52, 0x46, 0x92, 0x63, 0xc7, 0x0d, 0x0e, 0xa1, 0x7d, 0x93, 0xce, 0xbd, 0xe7, 0x9c, 0x3b, 0x77, - 0xee, 0x5c, 0xb0, 0xed, 0x10, 0xe2, 0x78, 0x58, 0xb5, 0x3d, 0x12, 0x0d, 0x54, 0x86, 0x3c, 0xec, - 0x33, 0xf5, 0x7c, 0xbb, 0x8f, 0x19, 0xda, 0x52, 0x6d, 0x32, 0x0c, 0x3c, 0xcc, 0x5c, 0xe2, 0xf7, - 0x28, 0x0e, 0xcf, 0x5d, 0x1b, 0x2b, 0x41, 0x48, 0x18, 0x81, 0xa5, 0x84, 0xa5, 0xc4, 0x2c, 0x25, - 0x61, 0x29, 0x29, 0xab, 0xb8, 0x96, 0x4a, 0xa2, 0xc0, 0x55, 0x91, 0xef, 0x13, 0x86, 0xb8, 0x02, - 0x4d, 0xa8, 0xc5, 0xdf, 0xa7, 0xa2, 0xb6, 0xe7, 0x72, 0x62, 0x12, 0x58, 0x9f, 0x0a, 0x1c, 0xbb, - 0xd8, 0x1b, 0xf4, 0xfa, 0xf8, 0x04, 0x9d, 0xbb, 0x24, 0x4c, 0x13, 0xaa, 0xb7, 0x94, 0x3a, 0x24, - 0x7e, 0x92, 0x59, 0x79, 0xb1, 0x00, 0x7e, 0xd1, 0x93, 0xda, 0xf1, 0xa3, 0x08, 0x87, 0x23, 0x13, - 0x9f, 0x45, 0x98, 0x32, 0x58, 0x02, 0xb9, 0x00, 0x85, 0xd8, 0x67, 0xb2, 0x50, 0x16, 0xaa, 0x85, - 0x7a, 0xe6, 0xa3, 0x26, 0x9a, 0x29, 0x04, 0xff, 0x00, 0xd9, 0x33, 0x9e, 0x2c, 0x8b, 0x93, 0x58, - 0x82, 0xc0, 0x0d, 0xb0, 0xea, 0x21, 0xdf, 0x89, 0x90, 0x83, 0x7b, 0x36, 0x19, 0x60, 0x2a, 0x67, - 0xca, 0x99, 0x6a, 0xc1, 0x5c, 0x19, 0xa3, 0x3a, 0x07, 0x61, 0x19, 0x14, 0x02, 0x9e, 0x42, 0xdd, - 0x4b, 0x2c, 0x2f, 0x94, 0x85, 0x6a, 0x36, 0x51, 0xc9, 0x73, 0xb4, 0xeb, 0x5e, 0x62, 0x28, 0x83, - 0x45, 0xde, 0x54, 0xe4, 0x8f, 0xe4, 0x2c, 0x77, 0x31, 0xc7, 0xbf, 0xf0, 0x31, 0xc8, 0x52, 0x9b, - 0x04, 0x58, 0xce, 0x95, 0x85, 0xea, 0x6a, 0x4d, 0x53, 0xe6, 0xb4, 0x58, 0xb9, 0xe9, 0x70, 0x63, - 0xd0, 0x25, 0x7e, 0x97, 0x0b, 0x99, 0x89, 0x1e, 0xb4, 0xc0, 0x02, 0x1b, 0x05, 0x58, 0x5e, 0x8c, - 0x75, 0xef, 0x7d, 0x8b, 0xae, 0x35, 0x0a, 0x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xbc, 0x71, 0xe3, 0xfe, 0x97, 0xfc, 0xbe, 0x12, 0x33, 0xba, 0xd5, 0xed, - 0xe7, 0x62, 0xce, 0xbf, 0x5f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xa5, 0x10, 0xd1, 0x2e, 0x4f, 0x06, - 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 - -// CompletionClient is the client API for Completion service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type CompletionClient interface { - // Completes the specified prefix with keyword suggestions. - // Intended for use by a job search auto-complete search box. - CompleteQuery(ctx context.Context, in *CompleteQueryRequest, opts ...grpc.CallOption) (*CompleteQueryResponse, error) -} - -type completionClient struct { - cc *grpc.ClientConn -} - -func NewCompletionClient(cc *grpc.ClientConn) CompletionClient { - return &completionClient{cc} -} - -func (c *completionClient) CompleteQuery(ctx context.Context, in *CompleteQueryRequest, opts ...grpc.CallOption) (*CompleteQueryResponse, error) { - out := new(CompleteQueryResponse) - err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.Completion/CompleteQuery", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// CompletionServer is the server API for Completion service. -type CompletionServer interface { - // Completes the specified prefix with keyword suggestions. - // Intended for use by a job search auto-complete search box. - CompleteQuery(context.Context, *CompleteQueryRequest) (*CompleteQueryResponse, error) -} - -// UnimplementedCompletionServer can be embedded to have forward compatible implementations. -type UnimplementedCompletionServer struct { -} - -func (*UnimplementedCompletionServer) CompleteQuery(ctx context.Context, req *CompleteQueryRequest) (*CompleteQueryResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CompleteQuery not implemented") -} - -func RegisterCompletionServer(s *grpc.Server, srv CompletionServer) { - s.RegisterService(&_Completion_serviceDesc, srv) -} - -func _Completion_CompleteQuery_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CompleteQueryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CompletionServer).CompleteQuery(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.talent.v4beta1.Completion/CompleteQuery", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CompletionServer).CompleteQuery(ctx, req.(*CompleteQueryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Completion_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.talent.v4beta1.Completion", - HandlerType: (*CompletionServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CompleteQuery", - Handler: _Completion_CompleteQuery_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/talent/v4beta1/completion_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/event.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/event.pb.go deleted file mode 100644 index 725a7615..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/event.pb.go +++ /dev/null @@ -1,547 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/talent/v4beta1/event.proto - -package talent - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// An enumeration of an event attributed to the behavior of the end user, -// such as a job seeker. -type JobEvent_JobEventType int32 - -const ( - // The event is unspecified by other provided values. - JobEvent_JOB_EVENT_TYPE_UNSPECIFIED JobEvent_JobEventType = 0 - // The job seeker or other entity interacting with the service has - // had a job rendered in their view, such as in a list of search results in - // a compressed or clipped format. This event is typically associated with - // the viewing of a jobs list on a single page by a job seeker. - JobEvent_IMPRESSION JobEvent_JobEventType = 1 - // The job seeker, or other entity interacting with the service, has - // viewed the details of a job, including the full description. This - // event doesn't apply to the viewing a snippet of a job appearing as a - // part of the job search results. Viewing a snippet is associated with an - // [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION]). - JobEvent_VIEW JobEvent_JobEventType = 2 - // The job seeker or other entity interacting with the service - // performed an action to view a job and was redirected to a different - // website for job. - JobEvent_VIEW_REDIRECT JobEvent_JobEventType = 3 - // The job seeker or other entity interacting with the service - // began the process or demonstrated the intention of applying for a job. - JobEvent_APPLICATION_START JobEvent_JobEventType = 4 - // The job seeker or other entity interacting with the service - // submitted an application for a job. - JobEvent_APPLICATION_FINISH JobEvent_JobEventType = 5 - // The job seeker or other entity interacting with the service - // submitted an application for a job with a single click without - // entering information. If a job seeker performs this action, send only - // this event to the service. Do not also send - // [JobEventType.APPLICATION_START][google.cloud.talent.v4beta1.JobEvent.JobEventType.APPLICATION_START] - // or - // [JobEventType.APPLICATION_FINISH][google.cloud.talent.v4beta1.JobEvent.JobEventType.APPLICATION_FINISH] - // events. - JobEvent_APPLICATION_QUICK_SUBMISSION JobEvent_JobEventType = 6 - // The job seeker or other entity interacting with the service - // performed an action to apply to a job and was redirected to a different - // website to complete the application. - JobEvent_APPLICATION_REDIRECT JobEvent_JobEventType = 7 - // The job seeker or other entity interacting with the service began the - // process or demonstrated the intention of applying for a job from the - // search results page without viewing the details of the job posting. - // If sending this event, JobEventType.VIEW event shouldn't be sent. - JobEvent_APPLICATION_START_FROM_SEARCH JobEvent_JobEventType = 8 - // The job seeker, or other entity interacting with the service, performs an - // action with a single click from the search results page to apply to a job - // (without viewing the details of the job posting), and is redirected - // to a different website to complete the application. If a candidate - // performs this action, send only this event to the service. Do not also - // send - // [JobEventType.APPLICATION_START][google.cloud.talent.v4beta1.JobEvent.JobEventType.APPLICATION_START], - // [JobEventType.APPLICATION_FINISH][google.cloud.talent.v4beta1.JobEvent.JobEventType.APPLICATION_FINISH] - // or - // [JobEventType.VIEW][google.cloud.talent.v4beta1.JobEvent.JobEventType.VIEW] - // events. - JobEvent_APPLICATION_REDIRECT_FROM_SEARCH JobEvent_JobEventType = 9 - // This event should be used when a company submits an application - // on behalf of a job seeker. This event is intended for use by staffing - // agencies attempting to place candidates. - JobEvent_APPLICATION_COMPANY_SUBMIT JobEvent_JobEventType = 10 - // The job seeker or other entity interacting with the service demonstrated - // an interest in a job by bookmarking or saving it. - JobEvent_BOOKMARK JobEvent_JobEventType = 11 - // The job seeker or other entity interacting with the service was - // sent a notification, such as an email alert or device notification, - // containing one or more jobs listings generated by the service. - JobEvent_NOTIFICATION JobEvent_JobEventType = 12 - // The job seeker or other entity interacting with the service was - // employed by the hiring entity (employer). Send this event - // only if the job seeker was hired through an application that was - // initiated by a search conducted through the Cloud Talent Solution - // service. - JobEvent_HIRED JobEvent_JobEventType = 13 - // A recruiter or staffing agency submitted an application on behalf of the - // candidate after interacting with the service to identify a suitable job - // posting. - JobEvent_SENT_CV JobEvent_JobEventType = 14 - // The entity interacting with the service (for example, the job seeker), - // was granted an initial interview by the hiring entity (employer). This - // event should only be sent if the job seeker was granted an interview as - // part of an application that was initiated by a search conducted through / - // recommendation provided by the Cloud Talent Solution service. - JobEvent_INTERVIEW_GRANTED JobEvent_JobEventType = 15 -) - -var JobEvent_JobEventType_name = map[int32]string{ - 0: "JOB_EVENT_TYPE_UNSPECIFIED", - 1: "IMPRESSION", - 2: "VIEW", - 3: "VIEW_REDIRECT", - 4: "APPLICATION_START", - 5: "APPLICATION_FINISH", - 6: "APPLICATION_QUICK_SUBMISSION", - 7: "APPLICATION_REDIRECT", - 8: "APPLICATION_START_FROM_SEARCH", - 9: "APPLICATION_REDIRECT_FROM_SEARCH", - 10: "APPLICATION_COMPANY_SUBMIT", - 11: "BOOKMARK", - 12: "NOTIFICATION", - 13: "HIRED", - 14: "SENT_CV", - 15: "INTERVIEW_GRANTED", -} - -var JobEvent_JobEventType_value = map[string]int32{ - "JOB_EVENT_TYPE_UNSPECIFIED": 0, - "IMPRESSION": 1, - "VIEW": 2, - "VIEW_REDIRECT": 3, - "APPLICATION_START": 4, - "APPLICATION_FINISH": 5, - "APPLICATION_QUICK_SUBMISSION": 6, - "APPLICATION_REDIRECT": 7, - "APPLICATION_START_FROM_SEARCH": 8, - "APPLICATION_REDIRECT_FROM_SEARCH": 9, - "APPLICATION_COMPANY_SUBMIT": 10, - "BOOKMARK": 11, - "NOTIFICATION": 12, - "HIRED": 13, - "SENT_CV": 14, - "INTERVIEW_GRANTED": 15, -} - -func (x JobEvent_JobEventType) String() string { - return proto.EnumName(JobEvent_JobEventType_name, int32(x)) -} - -func (JobEvent_JobEventType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e736440ac47f3d40, []int{1, 0} -} - -// The enum represents types of client events for a candidate profile. -type ProfileEvent_ProfileEventType int32 - -const ( - // Default value. - ProfileEvent_PROFILE_EVENT_TYPE_UNSPECIFIED ProfileEvent_ProfileEventType = 0 - // Send this event when a - // [ProfileEvent.profiles][google.cloud.talent.v4beta1.ProfileEvent.profiles] - // was sent as a part of a result set for a CTS API call and was rendered in - // the end user's UI (that is, the - // [ProfileEvent.recruiter][google.cloud.talent.v4beta1.ProfileEvent.recruiter]). - ProfileEvent_IMPRESSION ProfileEvent_ProfileEventType = 1 - // The VIEW event records the action of a candidate's profile being - // viewed by an end user. This is critical to tracking product metrics and - // should be sent for every profile VIEW that happens in your system, - // whether the event is associated with an API call (for example, a - // recruiter making a request for a result set and clicking on a profile) - // or not (a recruiter using the system to view profile details without - // making a request). - // - // For a VIEW events associated with API calls, the - // [ClientEvent.request_id][google.cloud.talent.v4beta1.ClientEvent.request_id] - // should be populated. If the VIEW is not associated with an API call, - // [request_id][google.cloud.talent.v4beta1.ClientEvent.request_id] should - // not be populated. - // - // This event requires a valid recruiter and one valid ID in profiles. - ProfileEvent_VIEW ProfileEvent_ProfileEventType = 2 - // The profile is bookmarked. - ProfileEvent_BOOKMARK ProfileEvent_ProfileEventType = 3 -) - -var ProfileEvent_ProfileEventType_name = map[int32]string{ - 0: "PROFILE_EVENT_TYPE_UNSPECIFIED", - 1: "IMPRESSION", - 2: "VIEW", - 3: "BOOKMARK", -} - -var ProfileEvent_ProfileEventType_value = map[string]int32{ - "PROFILE_EVENT_TYPE_UNSPECIFIED": 0, - "IMPRESSION": 1, - "VIEW": 2, - "BOOKMARK": 3, -} - -func (x ProfileEvent_ProfileEventType) String() string { - return proto.EnumName(ProfileEvent_ProfileEventType_name, int32(x)) -} - -func (ProfileEvent_ProfileEventType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e736440ac47f3d40, []int{2, 0} -} - -// An event issued when an end user interacts with the application that -// implements Cloud Talent Solution. Providing this information improves the -// quality of results for the API clients, enabling the -// service to perform optimally. The number of events sent must be consistent -// with other calls, such as job searches, issued to the service by the client. -type ClientEvent struct { - // Strongly recommended for the best service experience. - // - // A unique ID generated in the API responses. It can be found in - // [ResponseMetadata.request_id][google.cloud.talent.v4beta1.ResponseMetadata.request_id]. - RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - // Required. A unique identifier, generated by the client application. - EventId string `protobuf:"bytes,2,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` - // Required. The timestamp of the event. - CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Required. - // - // The detail information of a specific event type. - // - // Types that are valid to be assigned to Event: - // *ClientEvent_JobEvent - // *ClientEvent_ProfileEvent - Event isClientEvent_Event `protobuf_oneof:"event"` - // Notes about the event provided by recruiters or other users, for example, - // feedback on why a profile was bookmarked. - EventNotes string `protobuf:"bytes,9,opt,name=event_notes,json=eventNotes,proto3" json:"event_notes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ClientEvent) Reset() { *m = ClientEvent{} } -func (m *ClientEvent) String() string { return proto.CompactTextString(m) } -func (*ClientEvent) ProtoMessage() {} -func (*ClientEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_e736440ac47f3d40, []int{0} -} - -func (m *ClientEvent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClientEvent.Unmarshal(m, b) -} -func (m *ClientEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClientEvent.Marshal(b, m, deterministic) -} -func (m *ClientEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClientEvent.Merge(m, src) -} -func (m *ClientEvent) XXX_Size() int { - return xxx_messageInfo_ClientEvent.Size(m) -} -func (m *ClientEvent) XXX_DiscardUnknown() { - xxx_messageInfo_ClientEvent.DiscardUnknown(m) -} - -var xxx_messageInfo_ClientEvent proto.InternalMessageInfo - -func (m *ClientEvent) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} - -func (m *ClientEvent) GetEventId() string { - if m != nil { - return m.EventId - } - return "" -} - -func (m *ClientEvent) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -type isClientEvent_Event interface { - isClientEvent_Event() -} - -type ClientEvent_JobEvent struct { - JobEvent *JobEvent `protobuf:"bytes,5,opt,name=job_event,json=jobEvent,proto3,oneof"` -} - -type ClientEvent_ProfileEvent struct { - ProfileEvent *ProfileEvent `protobuf:"bytes,6,opt,name=profile_event,json=profileEvent,proto3,oneof"` -} - -func (*ClientEvent_JobEvent) isClientEvent_Event() {} - -func (*ClientEvent_ProfileEvent) isClientEvent_Event() {} - -func (m *ClientEvent) GetEvent() isClientEvent_Event { - if m != nil { - return m.Event - } - return nil -} - -func (m *ClientEvent) GetJobEvent() *JobEvent { - if x, ok := m.GetEvent().(*ClientEvent_JobEvent); ok { - return x.JobEvent - } - return nil -} - -func (m *ClientEvent) GetProfileEvent() *ProfileEvent { - if x, ok := m.GetEvent().(*ClientEvent_ProfileEvent); ok { - return x.ProfileEvent - } - return nil -} - -func (m *ClientEvent) GetEventNotes() string { - if m != nil { - return m.EventNotes - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ClientEvent) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ClientEvent_JobEvent)(nil), - (*ClientEvent_ProfileEvent)(nil), - } -} - -// An event issued when a job seeker interacts with the application that -// implements Cloud Talent Solution. -type JobEvent struct { - // Required. The type of the event (see - // [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]). - Type JobEvent_JobEventType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.talent.v4beta1.JobEvent_JobEventType" json:"type,omitempty"` - // Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] - // associated with this event. For example, if this is an - // [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] - // event, this field contains the identifiers of all jobs shown to the job - // seeker. If this was a - // [view][google.cloud.talent.v4beta1.JobEvent.JobEventType.VIEW] event, this - // field contains the identifier of the viewed job. - // - // The format is - // "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for - // example, "projects/foo/tenants/bar/jobs/baz". - Jobs []string `protobuf:"bytes,2,rep,name=jobs,proto3" json:"jobs,omitempty"` - // The [profile name][google.cloud.talent.v4beta1.Profile.name] associated - // with this client event. - // - // The format is - // "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", - // for example, "projects/foo/tenants/bar/profiles/baz". - Profile string `protobuf:"bytes,3,opt,name=profile,proto3" json:"profile,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *JobEvent) Reset() { *m = JobEvent{} } -func (m *JobEvent) String() string { return proto.CompactTextString(m) } -func (*JobEvent) ProtoMessage() {} -func (*JobEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_e736440ac47f3d40, []int{1} -} - -func (m *JobEvent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JobEvent.Unmarshal(m, b) -} -func (m *JobEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JobEvent.Marshal(b, m, deterministic) -} -func (m *JobEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobEvent.Merge(m, src) -} -func (m *JobEvent) XXX_Size() int { - return xxx_messageInfo_JobEvent.Size(m) -} -func (m *JobEvent) XXX_DiscardUnknown() { - xxx_messageInfo_JobEvent.DiscardUnknown(m) -} - -var xxx_messageInfo_JobEvent proto.InternalMessageInfo - -func (m *JobEvent) GetType() JobEvent_JobEventType { - if m != nil { - return m.Type - } - return JobEvent_JOB_EVENT_TYPE_UNSPECIFIED -} - -func (m *JobEvent) GetJobs() []string { - if m != nil { - return m.Jobs - } - return nil -} - -func (m *JobEvent) GetProfile() string { - if m != nil { - return m.Profile - } - return "" -} - -// An event issued when a profile searcher interacts with the application -// that implements Cloud Talent Solution. -type ProfileEvent struct { - // Required. Type of event. - Type ProfileEvent_ProfileEventType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.talent.v4beta1.ProfileEvent_ProfileEventType" json:"type,omitempty"` - // Required. The [profile name(s)][google.cloud.talent.v4beta1.Profile.name] - // associated with this client event. - // - // The format is - // "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", - // for example, "projects/foo/tenants/bar/profiles/baz". - Profiles []string `protobuf:"bytes,2,rep,name=profiles,proto3" json:"profiles,omitempty"` - // The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with - // this client event. Leave it empty if the event isn't associated with a job. - // - // The format is - // "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for - // example, "projects/foo/tenants/bar/jobs/baz". - Jobs []string `protobuf:"bytes,6,rep,name=jobs,proto3" json:"jobs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ProfileEvent) Reset() { *m = ProfileEvent{} } -func (m *ProfileEvent) String() string { return proto.CompactTextString(m) } -func (*ProfileEvent) ProtoMessage() {} -func (*ProfileEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_e736440ac47f3d40, []int{2} -} - -func (m *ProfileEvent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProfileEvent.Unmarshal(m, b) -} -func (m *ProfileEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProfileEvent.Marshal(b, m, deterministic) -} -func (m *ProfileEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProfileEvent.Merge(m, src) -} -func (m *ProfileEvent) XXX_Size() int { - return xxx_messageInfo_ProfileEvent.Size(m) -} -func (m *ProfileEvent) XXX_DiscardUnknown() { - xxx_messageInfo_ProfileEvent.DiscardUnknown(m) -} - -var xxx_messageInfo_ProfileEvent proto.InternalMessageInfo - -func (m *ProfileEvent) GetType() ProfileEvent_ProfileEventType { - if m != nil { - return m.Type - } - return ProfileEvent_PROFILE_EVENT_TYPE_UNSPECIFIED -} - -func (m *ProfileEvent) GetProfiles() []string { - if m != nil { - return m.Profiles - } - return nil -} - -func (m *ProfileEvent) GetJobs() []string { - if m != nil { - return m.Jobs - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.talent.v4beta1.JobEvent_JobEventType", JobEvent_JobEventType_name, JobEvent_JobEventType_value) - proto.RegisterEnum("google.cloud.talent.v4beta1.ProfileEvent_ProfileEventType", ProfileEvent_ProfileEventType_name, ProfileEvent_ProfileEventType_value) - proto.RegisterType((*ClientEvent)(nil), "google.cloud.talent.v4beta1.ClientEvent") - proto.RegisterType((*JobEvent)(nil), "google.cloud.talent.v4beta1.JobEvent") - proto.RegisterType((*ProfileEvent)(nil), "google.cloud.talent.v4beta1.ProfileEvent") -} - -func init() { - proto.RegisterFile("google/cloud/talent/v4beta1/event.proto", fileDescriptor_e736440ac47f3d40) -} - -var fileDescriptor_e736440ac47f3d40 = []byte{ - // 710 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xcd, 0x6e, 0xd3, 0x4c, - 0x14, 0x6d, 0xfe, 0x93, 0x9b, 0xb4, 0xdf, 0x74, 0xf4, 0x7d, 0x1f, 0x56, 0x68, 0x9b, 0x10, 0x81, - 0x28, 0x1b, 0x5b, 0x14, 0x56, 0xb0, 0xc1, 0x71, 0x26, 0x64, 0x9a, 0xc6, 0x36, 0xb6, 0x5b, 0x54, - 0x16, 0x58, 0x4e, 0x33, 0x0d, 0xae, 0x52, 0x8f, 0x49, 0xdc, 0x8a, 0x3e, 0x03, 0x6f, 0xc1, 0x13, - 0xf1, 0x08, 0x3c, 0x06, 0x2b, 0x84, 0x3c, 0x76, 0x2a, 0xa7, 0x54, 0x55, 0xc5, 0xce, 0xf7, 0xcc, - 0xb9, 0xe7, 0x9e, 0x39, 0xbe, 0x1a, 0x78, 0x3a, 0xe5, 0x7c, 0x3a, 0x63, 0xca, 0xc9, 0x8c, 0x5f, - 0x4c, 0x94, 0xc8, 0x9b, 0xb1, 0x20, 0x52, 0x2e, 0x5f, 0x8e, 0x59, 0xe4, 0x3d, 0x57, 0xd8, 0x25, - 0x0b, 0x22, 0x39, 0x9c, 0xf3, 0x88, 0xe3, 0x87, 0x09, 0x51, 0x16, 0x44, 0x39, 0x21, 0xca, 0x29, - 0xb1, 0xb9, 0x95, 0xaa, 0x78, 0xa1, 0xaf, 0x78, 0x41, 0xc0, 0x23, 0x2f, 0xf2, 0x79, 0xb0, 0x48, - 0x5a, 0x9b, 0xad, 0xcc, 0xe9, 0xa9, 0xcf, 0x66, 0x13, 0x77, 0xcc, 0x3e, 0x79, 0x97, 0x3e, 0x9f, - 0xdf, 0x20, 0x88, 0x6a, 0x7c, 0x71, 0xaa, 0x44, 0xfe, 0x39, 0x5b, 0x44, 0xde, 0x79, 0x98, 0x10, - 0x3a, 0xdf, 0xf3, 0x50, 0xd7, 0x66, 0x3e, 0x0b, 0x22, 0x12, 0x5b, 0xc2, 0xdb, 0x00, 0x73, 0xf6, - 0xf9, 0x82, 0x2d, 0x22, 0xd7, 0x9f, 0x48, 0xb9, 0x76, 0x6e, 0xb7, 0x66, 0xd5, 0x52, 0x84, 0x4e, - 0xf0, 0x0e, 0x54, 0x85, 0xf5, 0xf8, 0x30, 0x1f, 0x1f, 0x76, 0x0b, 0x3f, 0xd4, 0xbc, 0x55, 0x11, - 0x20, 0x9d, 0xe0, 0x37, 0x50, 0x3f, 0x99, 0x33, 0x2f, 0x62, 0x6e, 0x3c, 0x48, 0x2a, 0xb6, 0x73, - 0xbb, 0xf5, 0xbd, 0xa6, 0x9c, 0xde, 0x70, 0xe9, 0x42, 0x76, 0x96, 0x2e, 0x92, 0x76, 0x48, 0x7a, - 0x62, 0x14, 0xf7, 0xa0, 0x76, 0xc6, 0xc7, 0xae, 0x10, 0x94, 0x4a, 0xa2, 0xff, 0x89, 0x7c, 0x47, - 0x42, 0xf2, 0x3e, 0x1f, 0x0b, 0xeb, 0x83, 0x35, 0xab, 0x7a, 0x96, 0x7e, 0x63, 0x13, 0xd6, 0xc3, - 0x39, 0x3f, 0xf5, 0x67, 0x2c, 0x55, 0x2a, 0x0b, 0xa5, 0x67, 0x77, 0x2a, 0x99, 0x49, 0xc7, 0x52, - 0xad, 0x11, 0x66, 0x6a, 0xdc, 0x82, 0x7a, 0x72, 0xf3, 0x80, 0x47, 0x6c, 0x21, 0xd5, 0x44, 0x32, - 0x20, 0x20, 0x3d, 0x46, 0xba, 0x15, 0x28, 0x89, 0xaa, 0xf3, 0xb5, 0x08, 0xd5, 0xa5, 0x29, 0x3c, - 0x84, 0x62, 0x74, 0x15, 0x32, 0x91, 0xe4, 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32, 0x55, - 0xfd, 0x38, 0xb1, 0xe1, 0x20, 0xc0, 0x0d, 0xa8, 0x76, 0x0d, 0x63, 0x38, 0x52, 0xad, 0x21, 0xaa, - 0x63, 0x04, 0x0d, 0xdd, 0x70, 0x68, 0x3f, 0xa5, 0xa3, 0x06, 0xae, 0x41, 0x69, 0x40, 0x2d, 0xd2, - 0x43, 0xeb, 0xb8, 0x0e, 0x15, 0x3b, 0x8e, 0x51, 0x3b, 0x42, 0x1b, 0x71, 0x16, 0x54, 0x77, 0x88, - 0x25, 0x32, 0x7a, 0x6b, 0xa9, 0xba, 0x43, 0x7a, 0xe8, 0x9f, 0xce, 0xcf, 0x1c, 0x34, 0xb2, 0x8b, - 0x85, 0xed, 0x95, 0x8d, 0x78, 0x75, 0xef, 0x8d, 0x5c, 0x29, 0x6e, 0x6e, 0x46, 0x0b, 0xaa, 0xe9, - 0x1f, 0x5f, 0xd9, 0x8e, 0x6b, 0x10, 0xe3, 0x74, 0x75, 0xca, 0xf1, 0x61, 0xb2, 0x35, 0x9d, 0x8f, - 0x80, 0x6e, 0x6a, 0xe2, 0x0e, 0xec, 0x98, 0x96, 0xd1, 0xa7, 0x07, 0xe4, 0x6f, 0x56, 0x24, 0x9b, - 0x5d, 0xa1, 0xfb, 0x05, 0x5a, 0x27, 0xfc, 0xfc, 0xae, 0x0b, 0x76, 0x41, 0x4c, 0x36, 0xe3, 0x77, - 0xc1, 0xcc, 0x7d, 0x50, 0x53, 0xea, 0x94, 0xcf, 0xbc, 0x60, 0x2a, 0xf3, 0xf9, 0x54, 0x99, 0xb2, - 0x40, 0xbc, 0x1a, 0x4a, 0x72, 0xe4, 0x85, 0xfe, 0xe2, 0xd6, 0x17, 0xf5, 0x75, 0x52, 0x7e, 0xcb, - 0x17, 0x34, 0xc7, 0x1e, 0x97, 0x45, 0xcf, 0x8b, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x33, 0x87, - 0x07, 0xb3, 0x84, 0x05, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/event_service.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/event_service.pb.go deleted file mode 100644 index 3e850149..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/event_service.pb.go +++ /dev/null @@ -1,214 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/talent/v4beta1/event_service.proto - -package talent - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The report event request. -type CreateClientEventRequest struct { - // Required. Resource name of the tenant under which the event is created. - // - // The format is "projects/{project_id}/tenants/{tenant_id}", for example, - // "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant - // is created, for example, "projects/foo". - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. Events issued when end user interacts with customer's application - // that uses Cloud Talent Solution. - ClientEvent *ClientEvent `protobuf:"bytes,2,opt,name=client_event,json=clientEvent,proto3" json:"client_event,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateClientEventRequest) Reset() { *m = CreateClientEventRequest{} } -func (m *CreateClientEventRequest) String() string { return proto.CompactTextString(m) } -func (*CreateClientEventRequest) ProtoMessage() {} -func (*CreateClientEventRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_fe732bea1e1e1bea, []int{0} -} - -func (m *CreateClientEventRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateClientEventRequest.Unmarshal(m, b) -} -func (m *CreateClientEventRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateClientEventRequest.Marshal(b, m, deterministic) -} -func (m *CreateClientEventRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateClientEventRequest.Merge(m, src) -} -func (m *CreateClientEventRequest) XXX_Size() int { - return xxx_messageInfo_CreateClientEventRequest.Size(m) -} -func (m *CreateClientEventRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateClientEventRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateClientEventRequest proto.InternalMessageInfo - -func (m *CreateClientEventRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateClientEventRequest) GetClientEvent() *ClientEvent { - if m != nil { - return m.ClientEvent - } - return nil -} - -func init() { - proto.RegisterType((*CreateClientEventRequest)(nil), "google.cloud.talent.v4beta1.CreateClientEventRequest") -} - -func init() { - proto.RegisterFile("google/cloud/talent/v4beta1/event_service.proto", fileDescriptor_fe732bea1e1e1bea) -} - -var fileDescriptor_fe732bea1e1e1bea = []byte{ - // 404 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xc1, 0xce, 0xd2, 0x40, - 0x10, 0xc7, 0xd3, 0x7e, 0xc9, 0x97, 0xd8, 0x8f, 0x0b, 0xf5, 0x20, 0x29, 0x26, 0x90, 0x5e, 0x44, - 0xa2, 0xbb, 0x11, 0xf4, 0x82, 0xf1, 0x50, 0x88, 0x77, 0x02, 0x9e, 0xb8, 0x90, 0x6d, 0x19, 0xda, - 0x92, 0x65, 0xb7, 0xee, 0x0e, 0xe5, 0x60, 0x8c, 0x89, 0x37, 0xcf, 0xbe, 0x81, 0x8f, 0xe3, 0x51, - 0x5f, 0xc0, 0x44, 0x1e, 0xc4, 0xb4, 0xdb, 0x48, 0x23, 0x5a, 0xbc, 0xed, 0xee, 0xcc, 0x6f, 0xfe, - 0xff, 0x99, 0x1d, 0x87, 0xc6, 0x52, 0xc6, 0x1c, 0x68, 0xc4, 0xe5, 0x61, 0x43, 0x91, 0x71, 0x10, - 0x48, 0xf3, 0xe7, 0x21, 0x20, 0x7b, 0x46, 0x21, 0x07, 0x81, 0x6b, 0x0d, 0x2a, 0x4f, 0x23, 0x20, - 0x99, 0x92, 0x28, 0xdd, 0xae, 0x01, 0x48, 0x09, 0x10, 0x03, 0x90, 0x0a, 0xf0, 0x1e, 0x56, 0xd5, - 0x58, 0x96, 0x52, 0x26, 0x84, 0x44, 0x86, 0xa9, 0x14, 0xda, 0xa0, 0xde, 0x83, 0x5a, 0x34, 0xe2, - 0x69, 0x01, 0x9a, 0x40, 0xaf, 0x16, 0xd8, 0xa6, 0xc0, 0x37, 0xeb, 0x10, 0x12, 0x96, 0xa7, 0x52, - 0x55, 0x09, 0x8f, 0xae, 0xba, 0x34, 0x89, 0xfe, 0x27, 0xcb, 0xe9, 0xcc, 0x14, 0x30, 0x84, 0x59, - 0x29, 0xf0, 0xba, 0x88, 0x2d, 0xe0, 0xed, 0x01, 0x34, 0xba, 0x5d, 0xe7, 0x36, 0x63, 0x0a, 0x04, - 0x76, 0xac, 0xbe, 0x35, 0xb8, 0x37, 0xbd, 0xf9, 0x11, 0xd8, 0x8b, 0xea, 0xc9, 0x9d, 0x3b, 0x2d, - 0xe3, 0x69, 0x5d, 0xd6, 0xeb, 0xd8, 0x7d, 0x6b, 0x70, 0x37, 0x1a, 0x90, 0x86, 0x76, 0x49, 0x4d, - 0xc3, 0x14, 0xbb, 0x8b, 0xce, 0x2f, 0xa3, 0x9f, 0xb6, 0xd3, 0x2a, 0x4f, 0x4b, 0x33, 0x40, 0xf7, - 0x64, 0x39, 0xed, 0x0b, 0x73, 0xee, 0x8b, 0x66, 0x89, 0x7f, 0x34, 0xe3, 0xfd, 0xb7, 0x33, 0x5f, - 0x7c, 0xfc, 0x7e, 0xfa, 0x6c, 0x27, 0xfe, 0xf8, 0xf7, 0xc4, 0xde, 0x99, 0x9e, 0x5f, 0x65, 0x4a, - 0xee, 0x20, 0x42, 0x4d, 0x87, 0x14, 0x41, 0x30, 0x51, 0x9c, 0xde, 0xd3, 0x5a, 0x0f, 0x7a, 0x62, - 0x0d, 0x57, 0xc4, 0x7f, 0xdc, 0x40, 0x5e, 0xe4, 0x7b, 0xfc, 0x6b, 0x70, 0x7f, 0x27, 0x43, 0x5d, - 0x19, 0x64, 0x59, 0xaa, 0x49, 0x24, 0xf7, 0xdf, 0x82, 0x65, 0x82, 0x98, 0xe9, 0x09, 0xa5, 0xc7, - 0xe3, 0xf1, 0x8f, 0x20, 0x65, 0x07, 0x4c, 0xcc, 0xf7, 0x3e, 0xcd, 0x38, 0xc3, 0xad, 0x54, 0xfb, - 0x27, 0xd7, 0xd2, 0x0b, 0x91, 0xe9, 0x07, 0xa7, 0x17, 0xc9, 0x7d, 0xd3, 0x30, 0xa6, 0xed, 0xfa, - 0x2f, 0xcc, 0x8b, 0x3d, 0x99, 0x5b, 0xab, 0xa0, 0x22, 0x62, 0xc9, 0x99, 0x88, 0x89, 0x54, 0x31, - 0x8d, 0x41, 0x94, 0x5b, 0x44, 0xcf, 0x62, 0x7f, 0xdd, 0xb8, 0x97, 0xe6, 0xfa, 0xc5, 0xbe, 0x99, - 0xbd, 0x59, 0x86, 0xb7, 0x25, 0x33, 0xfe, 0x15, 0x00, 0x00, 0xff, 0xff, 0xfe, 0x38, 0x01, 0xc1, - 0x4a, 0x03, 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 - -// EventServiceClient is the client API for EventService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type EventServiceClient interface { - // Report events issued when end user interacts with customer's application - // that uses Cloud Talent Solution. You may inspect the created events in - // [self service - // tools](https://console.cloud.google.com/talent-solution/overview). - // [Learn - // more](https://cloud.google.com/talent-solution/docs/management-tools) - // about self service tools. - CreateClientEvent(ctx context.Context, in *CreateClientEventRequest, opts ...grpc.CallOption) (*ClientEvent, error) -} - -type eventServiceClient struct { - cc *grpc.ClientConn -} - -func NewEventServiceClient(cc *grpc.ClientConn) EventServiceClient { - return &eventServiceClient{cc} -} - -func (c *eventServiceClient) CreateClientEvent(ctx context.Context, in *CreateClientEventRequest, opts ...grpc.CallOption) (*ClientEvent, error) { - out := new(ClientEvent) - err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.EventService/CreateClientEvent", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// EventServiceServer is the server API for EventService service. -type EventServiceServer interface { - // Report events issued when end user interacts with customer's application - // that uses Cloud Talent Solution. You may inspect the created events in - // [self service - // tools](https://console.cloud.google.com/talent-solution/overview). - // [Learn - // more](https://cloud.google.com/talent-solution/docs/management-tools) - // about self service tools. - CreateClientEvent(context.Context, *CreateClientEventRequest) (*ClientEvent, error) -} - -// UnimplementedEventServiceServer can be embedded to have forward compatible implementations. -type UnimplementedEventServiceServer struct { -} - -func (*UnimplementedEventServiceServer) CreateClientEvent(ctx context.Context, req *CreateClientEventRequest) (*ClientEvent, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateClientEvent not implemented") -} - -func RegisterEventServiceServer(s *grpc.Server, srv EventServiceServer) { - s.RegisterService(&_EventService_serviceDesc, srv) -} - -func _EventService_CreateClientEvent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateClientEventRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EventServiceServer).CreateClientEvent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.talent.v4beta1.EventService/CreateClientEvent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EventServiceServer).CreateClientEvent(ctx, req.(*CreateClientEventRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _EventService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.talent.v4beta1.EventService", - HandlerType: (*EventServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateClientEvent", - Handler: _EventService_CreateClientEvent_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/talent/v4beta1/event_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/filters.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/filters.pb.go deleted file mode 100644 index 2cd7b012..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/filters.pb.go +++ /dev/null @@ -1,2081 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/talent/v4beta1/filters.proto - -package talent - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "google.golang.org/genproto/googleapis/api/annotations" - date "google.golang.org/genproto/googleapis/type/date" - latlng "google.golang.org/genproto/googleapis/type/latlng" - timeofday "google.golang.org/genproto/googleapis/type/timeofday" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Specify whether to include telecommute jobs. -type LocationFilter_TelecommutePreference int32 - -const ( - // Default value if the telecommute preference isn't specified. - LocationFilter_TELECOMMUTE_PREFERENCE_UNSPECIFIED LocationFilter_TelecommutePreference = 0 - // Exclude telecommute jobs. - LocationFilter_TELECOMMUTE_EXCLUDED LocationFilter_TelecommutePreference = 1 - // Allow telecommute jobs. - LocationFilter_TELECOMMUTE_ALLOWED LocationFilter_TelecommutePreference = 2 -) - -var LocationFilter_TelecommutePreference_name = map[int32]string{ - 0: "TELECOMMUTE_PREFERENCE_UNSPECIFIED", - 1: "TELECOMMUTE_EXCLUDED", - 2: "TELECOMMUTE_ALLOWED", -} - -var LocationFilter_TelecommutePreference_value = map[string]int32{ - "TELECOMMUTE_PREFERENCE_UNSPECIFIED": 0, - "TELECOMMUTE_EXCLUDED": 1, - "TELECOMMUTE_ALLOWED": 2, -} - -func (x LocationFilter_TelecommutePreference) String() string { - return proto.EnumName(LocationFilter_TelecommutePreference_name, int32(x)) -} - -func (LocationFilter_TelecommutePreference) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_89d33ae01ee514a8, []int{2, 0} -} - -// Specify the type of filtering. -type CompensationFilter_FilterType int32 - -const ( - // Filter type unspecified. Position holder, INVALID, should never be used. - CompensationFilter_FILTER_TYPE_UNSPECIFIED CompensationFilter_FilterType = 0 - // Filter by `base compensation entry's` unit. A job is a match if and - // only if the job contains a base CompensationEntry and the base - // CompensationEntry's unit matches provided - // [units][google.cloud.talent.v4beta1.CompensationFilter.units]. Populate - // one or more - // [units][google.cloud.talent.v4beta1.CompensationFilter.units]. - // - // See - // [CompensationInfo.CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] - // for definition of base compensation entry. - CompensationFilter_UNIT_ONLY CompensationFilter_FilterType = 1 - // Filter by `base compensation entry's` unit and amount / range. A job - // is a match if and only if the job contains a base CompensationEntry, and - // the base entry's unit matches provided - // [CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit] - // and amount or range overlaps with provided - // [CompensationRange][google.cloud.talent.v4beta1.CompensationInfo.CompensationRange]. - // - // See - // [CompensationInfo.CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] - // for definition of base compensation entry. - // - // Set exactly one - // [units][google.cloud.talent.v4beta1.CompensationFilter.units] and - // populate [range][google.cloud.talent.v4beta1.CompensationFilter.range]. - CompensationFilter_UNIT_AND_AMOUNT CompensationFilter_FilterType = 2 - // Filter by annualized base compensation amount and `base compensation - // entry's` unit. Populate - // [range][google.cloud.talent.v4beta1.CompensationFilter.range] and zero or - // more [units][google.cloud.talent.v4beta1.CompensationFilter.units]. - CompensationFilter_ANNUALIZED_BASE_AMOUNT CompensationFilter_FilterType = 3 - // Filter by annualized total compensation amount and `base compensation - // entry's` unit . Populate - // [range][google.cloud.talent.v4beta1.CompensationFilter.range] and zero or - // more [units][google.cloud.talent.v4beta1.CompensationFilter.units]. - CompensationFilter_ANNUALIZED_TOTAL_AMOUNT CompensationFilter_FilterType = 4 -) - -var CompensationFilter_FilterType_name = map[int32]string{ - 0: "FILTER_TYPE_UNSPECIFIED", - 1: "UNIT_ONLY", - 2: "UNIT_AND_AMOUNT", - 3: "ANNUALIZED_BASE_AMOUNT", - 4: "ANNUALIZED_TOTAL_AMOUNT", -} - -var CompensationFilter_FilterType_value = map[string]int32{ - "FILTER_TYPE_UNSPECIFIED": 0, - "UNIT_ONLY": 1, - "UNIT_AND_AMOUNT": 2, - "ANNUALIZED_BASE_AMOUNT": 3, - "ANNUALIZED_TOTAL_AMOUNT": 4, -} - -func (x CompensationFilter_FilterType) String() string { - return proto.EnumName(CompensationFilter_FilterType_name, int32(x)) -} - -func (CompensationFilter_FilterType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_89d33ae01ee514a8, []int{3, 0} -} - -// The traffic density to use when calculating commute time. -type CommuteFilter_RoadTraffic int32 - -const ( - // Road traffic situation isn't specified. - CommuteFilter_ROAD_TRAFFIC_UNSPECIFIED CommuteFilter_RoadTraffic = 0 - // Optimal commute time without considering any traffic impact. - CommuteFilter_TRAFFIC_FREE CommuteFilter_RoadTraffic = 1 - // Commute time calculation takes in account the peak traffic impact. - CommuteFilter_BUSY_HOUR CommuteFilter_RoadTraffic = 2 -) - -var CommuteFilter_RoadTraffic_name = map[int32]string{ - 0: "ROAD_TRAFFIC_UNSPECIFIED", - 1: "TRAFFIC_FREE", - 2: "BUSY_HOUR", -} - -var CommuteFilter_RoadTraffic_value = map[string]int32{ - "ROAD_TRAFFIC_UNSPECIFIED": 0, - "TRAFFIC_FREE": 1, - "BUSY_HOUR": 2, -} - -func (x CommuteFilter_RoadTraffic) String() string { - return proto.EnumName(CommuteFilter_RoadTraffic_name, int32(x)) -} - -func (CommuteFilter_RoadTraffic) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_89d33ae01ee514a8, []int{4, 0} -} - -// Enum indicating which set of -// [Profile.employment_records][google.cloud.talent.v4beta1.Profile.employment_records] -// to search against. -type EmployerFilter_EmployerFilterMode int32 - -const ( - // Default value. - EmployerFilter_EMPLOYER_FILTER_MODE_UNSPECIFIED EmployerFilter_EmployerFilterMode = 0 - // Apply to all employers in - // [Profile.employment_records][google.cloud.talent.v4beta1.Profile.employment_records]. - EmployerFilter_ALL_EMPLOYMENT_RECORDS EmployerFilter_EmployerFilterMode = 1 - // Apply only to current employer in - // [Profile.employment_records][google.cloud.talent.v4beta1.Profile.employment_records]. - EmployerFilter_CURRENT_EMPLOYMENT_RECORDS_ONLY EmployerFilter_EmployerFilterMode = 2 - // Apply only to past (not current) employers in - // [Profile.employment_records][google.cloud.talent.v4beta1.Profile.employment_records]. - EmployerFilter_PAST_EMPLOYMENT_RECORDS_ONLY EmployerFilter_EmployerFilterMode = 3 -) - -var EmployerFilter_EmployerFilterMode_name = map[int32]string{ - 0: "EMPLOYER_FILTER_MODE_UNSPECIFIED", - 1: "ALL_EMPLOYMENT_RECORDS", - 2: "CURRENT_EMPLOYMENT_RECORDS_ONLY", - 3: "PAST_EMPLOYMENT_RECORDS_ONLY", -} - -var EmployerFilter_EmployerFilterMode_value = map[string]int32{ - "EMPLOYER_FILTER_MODE_UNSPECIFIED": 0, - "ALL_EMPLOYMENT_RECORDS": 1, - "CURRENT_EMPLOYMENT_RECORDS_ONLY": 2, - "PAST_EMPLOYMENT_RECORDS_ONLY": 3, -} - -func (x EmployerFilter_EmployerFilterMode) String() string { - return proto.EnumName(EmployerFilter_EmployerFilterMode_name, int32(x)) -} - -func (EmployerFilter_EmployerFilterMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_89d33ae01ee514a8, []int{7, 0} -} - -// Time fields can be used in TimeFilter. -type TimeFilter_TimeField int32 - -const ( - // Default value. - TimeFilter_TIME_FIELD_UNSPECIFIED TimeFilter_TimeField = 0 - // Earliest profile create time. - TimeFilter_CREATE_TIME TimeFilter_TimeField = 1 - // Latest profile update time. - TimeFilter_UPDATE_TIME TimeFilter_TimeField = 2 -) - -var TimeFilter_TimeField_name = map[int32]string{ - 0: "TIME_FIELD_UNSPECIFIED", - 1: "CREATE_TIME", - 2: "UPDATE_TIME", -} - -var TimeFilter_TimeField_value = map[string]int32{ - "TIME_FIELD_UNSPECIFIED": 0, - "CREATE_TIME": 1, - "UPDATE_TIME": 2, -} - -func (x TimeFilter_TimeField) String() string { - return proto.EnumName(TimeFilter_TimeField_name, int32(x)) -} - -func (TimeFilter_TimeField) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_89d33ae01ee514a8, []int{13, 0} -} - -// The query required to perform a search query. -type JobQuery struct { - // The query string that matches against the job title, description, and - // location fields. - // - // The maximum number of allowed characters is 255. - Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` - // This filter specifies the company entities to search against. - // - // If a value isn't specified, jobs are searched for against all - // companies. - // - // If multiple values are specified, jobs are searched against the - // companies specified. - // - // The format is - // "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}". For - // example, "projects/foo/tenants/bar/companies/baz". - // - // If tenant id is unspecified, the default tenant is used. For - // example, "projects/foo/companies/bar". - // - // At most 20 company filters are allowed. - Companies []string `protobuf:"bytes,2,rep,name=companies,proto3" json:"companies,omitempty"` - // The location filter specifies geo-regions containing the jobs to - // search against. See - // [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more - // information. - // - // If a location value isn't specified, jobs fitting the other search - // criteria are retrieved regardless of where they're located. - // - // If multiple values are specified, jobs are retrieved from any of the - // specified locations. If different values are specified for the - // [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles] - // parameter, the maximum provided distance is used for all locations. - // - // At most 5 location filters are allowed. - LocationFilters []*LocationFilter `protobuf:"bytes,3,rep,name=location_filters,json=locationFilters,proto3" json:"location_filters,omitempty"` - // The category filter specifies the categories of jobs to search against. - // See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more - // information. - // - // If a value isn't specified, jobs from any category are searched against. - // - // If multiple values are specified, jobs from any of the specified - // categories are searched against. - JobCategories []JobCategory `protobuf:"varint,4,rep,packed,name=job_categories,json=jobCategories,proto3,enum=google.cloud.talent.v4beta1.JobCategory" json:"job_categories,omitempty"` - // Allows filtering jobs by commute time with different travel methods (for - // example, driving or public transit). - // - // Note: This only works when you specify a - // [CommuteMethod][google.cloud.talent.v4beta1.CommuteMethod]. In this case, - // [location_filters][google.cloud.talent.v4beta1.JobQuery.location_filters] - // is ignored. - // - // Currently we don't support sorting by commute time. - CommuteFilter *CommuteFilter `protobuf:"bytes,5,opt,name=commute_filter,json=commuteFilter,proto3" json:"commute_filter,omitempty"` - // This filter specifies the exact company - // [Company.display_name][google.cloud.talent.v4beta1.Company.display_name] of - // the jobs to search against. - // - // If a value isn't specified, jobs within the search results are - // associated with any company. - // - // If multiple values are specified, jobs within the search results may be - // associated with any of the specified companies. - // - // At most 20 company display name filters are allowed. - CompanyDisplayNames []string `protobuf:"bytes,6,rep,name=company_display_names,json=companyDisplayNames,proto3" json:"company_display_names,omitempty"` - // This search filter is applied only to - // [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. - // For example, if the filter is specified as "Hourly job with per-hour - // compensation > $15", only jobs meeting these criteria are searched. If a - // filter isn't defined, all open jobs are searched. - CompensationFilter *CompensationFilter `protobuf:"bytes,7,opt,name=compensation_filter,json=compensationFilter,proto3" json:"compensation_filter,omitempty"` - // This filter specifies a structured syntax to match against the - // [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] - // marked as `filterable`. - // - // The syntax for this expression is a subset of SQL syntax. - // - // Supported operators are: `=`, `!=`, `<`, `<=`, `>`, and `>=` where the - // left of the operator is a custom field key and the right of the operator - // is a number or a quoted string. You must escape backslash (\\) and - // quote (\") characters. - // - // Supported functions are `LOWER([field_name])` to - // perform a case insensitive match and `EMPTY([field_name])` to filter on the - // existence of a key. - // - // Boolean expressions (AND/OR/NOT) are supported up to 3 levels of - // nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 100 - // comparisons or functions are allowed in the expression. The expression - // must be < 6000 bytes in length. - // - // Sample Query: - // `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND - // driving_years > 10` - CustomAttributeFilter string `protobuf:"bytes,8,opt,name=custom_attribute_filter,json=customAttributeFilter,proto3" json:"custom_attribute_filter,omitempty"` - // This flag controls the spell-check feature. If false, the - // service attempts to correct a misspelled query, - // for example, "enginee" is corrected to "engineer". - // - // Defaults to false: a spell check is performed. - DisableSpellCheck bool `protobuf:"varint,9,opt,name=disable_spell_check,json=disableSpellCheck,proto3" json:"disable_spell_check,omitempty"` - // The employment type filter specifies the employment type of jobs to - // search against, such as - // [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME]. - // - // If a value isn't specified, jobs in the search results includes any - // employment type. - // - // If multiple values are specified, jobs in the search results include - // any of the specified employment types. - EmploymentTypes []EmploymentType `protobuf:"varint,10,rep,packed,name=employment_types,json=employmentTypes,proto3,enum=google.cloud.talent.v4beta1.EmploymentType" json:"employment_types,omitempty"` - // This filter specifies the locale of jobs to search against, - // for example, "en-US". - // - // If a value isn't specified, the search results can contain jobs in any - // locale. - // - // - // Language codes should be in BCP-47 format, such as "en-US" or "sr-Latn". - // For more information, see - // [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). - // - // At most 10 language code filters are allowed. - LanguageCodes []string `protobuf:"bytes,11,rep,name=language_codes,json=languageCodes,proto3" json:"language_codes,omitempty"` - // Jobs published within a range specified by this filter are searched - // against. - PublishTimeRange *TimestampRange `protobuf:"bytes,12,opt,name=publish_time_range,json=publishTimeRange,proto3" json:"publish_time_range,omitempty"` - // This filter specifies a list of job names to be excluded during search. - // - // At most 400 excluded job names are allowed. - ExcludedJobs []string `protobuf:"bytes,13,rep,name=excluded_jobs,json=excludedJobs,proto3" json:"excluded_jobs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *JobQuery) Reset() { *m = JobQuery{} } -func (m *JobQuery) String() string { return proto.CompactTextString(m) } -func (*JobQuery) ProtoMessage() {} -func (*JobQuery) Descriptor() ([]byte, []int) { - return fileDescriptor_89d33ae01ee514a8, []int{0} -} - -func (m *JobQuery) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JobQuery.Unmarshal(m, b) -} -func (m *JobQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JobQuery.Marshal(b, m, deterministic) -} -func (m *JobQuery) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobQuery.Merge(m, src) -} -func (m *JobQuery) XXX_Size() int { - return xxx_messageInfo_JobQuery.Size(m) -} -func (m *JobQuery) XXX_DiscardUnknown() { - xxx_messageInfo_JobQuery.DiscardUnknown(m) -} - -var xxx_messageInfo_JobQuery proto.InternalMessageInfo - -func (m *JobQuery) GetQuery() string { - if m != nil { - return m.Query - } - return "" -} - -func (m *JobQuery) GetCompanies() []string { - if m != nil { - return m.Companies - } - return nil -} - -func (m *JobQuery) GetLocationFilters() []*LocationFilter { - if m != nil { - return m.LocationFilters - } - return nil -} - -func (m *JobQuery) GetJobCategories() []JobCategory { - if m != nil { - return m.JobCategories - } - return nil -} - -func (m *JobQuery) GetCommuteFilter() *CommuteFilter { - if m != nil { - return m.CommuteFilter - } - return nil -} - -func (m *JobQuery) GetCompanyDisplayNames() []string { - if m != nil { - return m.CompanyDisplayNames - } - return nil -} - -func (m *JobQuery) GetCompensationFilter() *CompensationFilter { - if m != nil { - return m.CompensationFilter - } - return nil -} - -func (m *JobQuery) GetCustomAttributeFilter() string { - if m != nil { - return m.CustomAttributeFilter - } - return "" -} - -func (m *JobQuery) GetDisableSpellCheck() bool { - if m != nil { - return m.DisableSpellCheck - } - return false -} - -func (m *JobQuery) GetEmploymentTypes() []EmploymentType { - if m != nil { - return m.EmploymentTypes - } - return nil -} - -func (m *JobQuery) GetLanguageCodes() []string { - if m != nil { - return m.LanguageCodes - } - return nil -} - -func (m *JobQuery) GetPublishTimeRange() *TimestampRange { - if m != nil { - return m.PublishTimeRange - } - return nil -} - -func (m *JobQuery) GetExcludedJobs() []string { - if m != nil { - return m.ExcludedJobs - } - return nil -} - -// Filters to apply when performing the search query. -type ProfileQuery struct { - // Keywords to match any text fields of profiles. - // - // For example, "software engineer in Palo Alto". - Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` - // The location filter specifies geo-regions containing the profiles to - // search against. - // - // One of - // [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] - // or - // [LocationFilter.lat_lng][google.cloud.talent.v4beta1.LocationFilter.lat_lng] - // must be provided or an error is thrown. If both - // [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] - // and - // [LocationFilter.lat_lng][google.cloud.talent.v4beta1.LocationFilter.lat_lng] - // are provided, an error is thrown. - // - // The following logic is used to determine which locations in - // the profile to filter against: - // - // 1. All of the profile's geocoded - // [Profile.addresses][google.cloud.talent.v4beta1.Profile.addresses] where - // [Address.usage][google.cloud.talent.v4beta1.Address.usage] is PERSONAL and - // [Address.current][google.cloud.talent.v4beta1.Address.current] is true. - // - // 2. If the above set of locations is empty, all of the profile's geocoded - // [Profile.addresses][google.cloud.talent.v4beta1.Profile.addresses] where - // [Address.usage][google.cloud.talent.v4beta1.Address.usage] is - // CONTACT_INFO_USAGE_UNSPECIFIED and - // [Address.current][google.cloud.talent.v4beta1.Address.current] is true. - // - // 3. If the above set of locations is empty, all of the profile's geocoded - // [Profile.addresses][google.cloud.talent.v4beta1.Profile.addresses] where - // [Address.usage][google.cloud.talent.v4beta1.Address.usage] is PERSONAL or - // CONTACT_INFO_USAGE_UNSPECIFIED and - // [Address.current][google.cloud.talent.v4beta1.Address.current] is not set. - // - // This means that any profiles without any - // [Profile.addresses][google.cloud.talent.v4beta1.Profile.addresses] that - // match any of the above criteria will not be included in a search with - // location filter. Furthermore, any - // [Profile.addresses][google.cloud.talent.v4beta1.Profile.addresses] where - // [Address.usage][google.cloud.talent.v4beta1.Address.usage] is WORK or - // SCHOOL or where - // [Address.current][google.cloud.talent.v4beta1.Address.current] is false are - // not considered for location filter. - // - // If a location filter isn't specified, profiles fitting the other search - // criteria are retrieved regardless of where they're located. - // - // If - // [LocationFilter.negated][google.cloud.talent.v4beta1.LocationFilter.negated] - // is specified, the result doesn't contain profiles from that location. - // - // If - // [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] - // is provided, the - // [LocationType][google.cloud.talent.v4beta1.Location.LocationType], center - // point (latitude and longitude), and radius are automatically detected by - // the Google Maps Geocoding API and included as well. If - // [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] - // cannot be geocoded, the filter falls back to keyword search. - // - // If the detected - // [LocationType][google.cloud.talent.v4beta1.Location.LocationType] is - // [LocationType.SUB_ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.SUB_ADMINISTRATIVE_AREA], - // [LocationType.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.Location.LocationType.ADMINISTRATIVE_AREA], - // or - // [LocationType.COUNTRY][google.cloud.talent.v4beta1.Location.LocationType.COUNTRY], - // the filter is performed against the detected location name (using exact - // text matching). Otherwise, the filter is performed against the detected - // center point and a radius of detected location radius + - // [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles]. - // - // If - // [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address] - // is provided, - // [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles] - // is the additional radius on top of the radius of the location geocoded from - // [LocationFilter.address][google.cloud.talent.v4beta1.LocationFilter.address]. - // If - // [LocationFilter.lat_lng][google.cloud.talent.v4beta1.LocationFilter.lat_lng] - // is provided, - // [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles] - // is the only radius that is used. - // - // [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles] - // is 10 by default. Note that the value of - // [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles] - // is 0 if it is unset, so the server does not differentiate - // [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles] - // that is explicitly set to 0 and - // [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles] - // that is not set. Which means that if - // [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles] - // is explicitly set to 0, the server will use the default value of - // [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles] - // which is 10. To work around this and effectively set - // [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles] - // to 0, we recommend setting - // [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles] - // to a very small decimal number (such as 0.00001). - // - // If - // [LocationFilter.distance_in_miles][google.cloud.talent.v4beta1.LocationFilter.distance_in_miles] - // is negative, an error is thrown. - LocationFilters []*LocationFilter `protobuf:"bytes,2,rep,name=location_filters,json=locationFilters,proto3" json:"location_filters,omitempty"` - // Job title filter specifies job titles of profiles to match on. - // - // If a job title isn't specified, profiles with any titles are retrieved. - // - // If multiple values are specified, profiles are retrieved with any of the - // specified job titles. - // - // If - // [JobTitleFilter.negated][google.cloud.talent.v4beta1.JobTitleFilter.negated] - // is specified, the result won't contain profiles with the job titles. - // - // For example, search for profiles with a job title "Product Manager". - JobTitleFilters []*JobTitleFilter `protobuf:"bytes,3,rep,name=job_title_filters,json=jobTitleFilters,proto3" json:"job_title_filters,omitempty"` - // Employer filter specifies employers of profiles to match on. - // - // If an employer filter isn't specified, profiles with any employers are - // retrieved. - // - // If multiple employer filters are specified, profiles with any matching - // employers are retrieved. - // - // If - // [EmployerFilter.negated][google.cloud.talent.v4beta1.EmployerFilter.negated] - // is specified, the result won't contain profiles that match the employers. - // - // For example, search for profiles that have working experience at "Google - // LLC". - EmployerFilters []*EmployerFilter `protobuf:"bytes,4,rep,name=employer_filters,json=employerFilters,proto3" json:"employer_filters,omitempty"` - // Education filter specifies education of profiles to match on. - // - // If an education filter isn't specified, profiles with any education are - // retrieved. - // - // If multiple education filters are specified, profiles that match any - // education filters are retrieved. - // - // If - // [EducationFilter.negated][google.cloud.talent.v4beta1.EducationFilter.negated] - // is specified, the result won't contain profiles that match the educations. - // - // For example, search for profiles with a master degree. - EducationFilters []*EducationFilter `protobuf:"bytes,5,rep,name=education_filters,json=educationFilters,proto3" json:"education_filters,omitempty"` - // Skill filter specifies skill of profiles to match on. - // - // If a skill filter isn't specified, profiles with any skills are retrieved. - // - // If multiple skill filters are specified, profiles that match any skill - // filters are retrieved. - // - // If [SkillFilter.negated][google.cloud.talent.v4beta1.SkillFilter.negated] - // is specified, the result won't contain profiles that match the skills. - // - // For example, search for profiles that have "Java" and "Python" in skill - // list. - SkillFilters []*SkillFilter `protobuf:"bytes,6,rep,name=skill_filters,json=skillFilters,proto3" json:"skill_filters,omitempty"` - // Work experience filter specifies the total working experience of profiles - // to match on. - // - // If a work experience filter isn't specified, profiles with any - // professional experience are retrieved. - // - // If multiple work experience filters are specified, profiles that match any - // work experience filters are retrieved. - // - // For example, search for profiles with 10 years of work experience. - WorkExperienceFilter []*WorkExperienceFilter `protobuf:"bytes,7,rep,name=work_experience_filter,json=workExperienceFilter,proto3" json:"work_experience_filter,omitempty"` - // Time filter specifies the create/update timestamp of the profiles to match - // on. - // - // For example, search for profiles created since "2018-1-1". - TimeFilters []*TimeFilter `protobuf:"bytes,8,rep,name=time_filters,json=timeFilters,proto3" json:"time_filters,omitempty"` - // The hirable filter specifies the profile's hirable status to match on. - HirableFilter *wrappers.BoolValue `protobuf:"bytes,9,opt,name=hirable_filter,json=hirableFilter,proto3" json:"hirable_filter,omitempty"` - // The application date filters specify application date ranges to match on. - ApplicationDateFilters []*ApplicationDateFilter `protobuf:"bytes,10,rep,name=application_date_filters,json=applicationDateFilters,proto3" json:"application_date_filters,omitempty"` - // The application outcome notes filters specify the notes for the outcome of - // the job application. - ApplicationOutcomeNotesFilters []*ApplicationOutcomeNotesFilter `protobuf:"bytes,11,rep,name=application_outcome_notes_filters,json=applicationOutcomeNotesFilters,proto3" json:"application_outcome_notes_filters,omitempty"` - // The application job filters specify the job applied for in the application. - ApplicationJobFilters []*ApplicationJobFilter `protobuf:"bytes,13,rep,name=application_job_filters,json=applicationJobFilters,proto3" json:"application_job_filters,omitempty"` - // This filter specifies a structured syntax to match against the - // [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes] - // that are marked as `filterable`. - // - // The syntax for this expression is a subset of Google SQL syntax. - // - // String custom attributes: supported operators are =, != where the left of - // the operator is a custom field key and the right of the operator is a - // string (surrounded by quotes) value. - // - // Numeric custom attributes: Supported operators are '>', '<' or '=' - // operators where the left of the operator is a custom field key and the - // right of the operator is a numeric value. - // - // Supported functions are LOWER() to - // perform case insensitive match and EMPTY() to filter on the - // existence of a key. - // - // Boolean expressions (AND/OR/NOT) are supported up to 3 levels of - // nesting (for example "((A AND B AND C) OR NOT D) AND E"), and there can be - // a maximum of 50 comparisons/functions in the expression. The expression - // must be < 2000 characters in length. - // - // Sample Query: - // (key1 = "TEST" OR LOWER(key1)="test" OR NOT EMPTY(key1)) - CustomAttributeFilter string `protobuf:"bytes,15,opt,name=custom_attribute_filter,json=customAttributeFilter,proto3" json:"custom_attribute_filter,omitempty"` - // Deprecated. Use availability_filters instead. - // - // The candidate availability filter which filters based on availability - // signals. - // - // Signal 1: Number of days since most recent job application. See - // [Availability.JobApplicationAvailabilitySignal][google.cloud.talent.v4beta1.Availability.JobApplicationAvailabilitySignal] - // for the details of this signal. - // - // Signal 2: Number of days since last profile update. See - // [Availability.ProfileUpdateAvailabilitySignal][google.cloud.talent.v4beta1.Availability.ProfileUpdateAvailabilitySignal] - // for the details of this signal. - // - // The candidate availability filter helps a recruiter understand if a - // specific candidate is likely to be actively seeking new job opportunities - // based on an aggregated set of signals. Specifically, the intent is NOT to - // indicate the candidate's potential qualification / interest / close ability - // for a specific job. - CandidateAvailabilityFilter *CandidateAvailabilityFilter `protobuf:"bytes,16,opt,name=candidate_availability_filter,json=candidateAvailabilityFilter,proto3" json:"candidate_availability_filter,omitempty"` // Deprecated: Do not use. - // The availability filter which filters based on - // [Profile.availability_signals][google.cloud.talent.v4beta1.Profile.availability_signals]. - // - // The availability filter helps a recruiter understand if a - // specific candidate is likely to be actively seeking new job opportunities - // based on an aggregated set of signals. Specifically, the intent is NOT to - // indicate the candidate's potential qualification / interest / close ability - // for a specific job. - // - // There can be at most one - // [AvailabilityFilter][google.cloud.talent.v4beta1.AvailabilityFilter] per - // [signal_type][google.cloud.talent.v4beta1.AvailabilityFilter.signal_type]. - // If there are multiple - // [AvailabilityFilter][google.cloud.talent.v4beta1.AvailabilityFilter] for a - // [signal_type][google.cloud.talent.v4beta1.AvailabilityFilter.signal_type], - // an error is thrown. - AvailabilityFilters []*AvailabilityFilter `protobuf:"bytes,18,rep,name=availability_filters,json=availabilityFilters,proto3" json:"availability_filters,omitempty"` - // Person name filter specifies person name of profiles to match on. - // - // If multiple person name filters are specified, profiles that match any - // person name filters are retrieved. - // - // For example, search for profiles of candidates with name "John Smith". - PersonNameFilters []*PersonNameFilter `protobuf:"bytes,17,rep,name=person_name_filters,json=personNameFilters,proto3" json:"person_name_filters,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ProfileQuery) Reset() { *m = ProfileQuery{} } -func (m *ProfileQuery) String() string { return proto.CompactTextString(m) } -func (*ProfileQuery) ProtoMessage() {} -func (*ProfileQuery) Descriptor() ([]byte, []int) { - return fileDescriptor_89d33ae01ee514a8, []int{1} -} - -func (m *ProfileQuery) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProfileQuery.Unmarshal(m, b) -} -func (m *ProfileQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProfileQuery.Marshal(b, m, deterministic) -} -func (m *ProfileQuery) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProfileQuery.Merge(m, src) -} -func (m *ProfileQuery) XXX_Size() int { - return xxx_messageInfo_ProfileQuery.Size(m) -} -func (m *ProfileQuery) XXX_DiscardUnknown() { - xxx_messageInfo_ProfileQuery.DiscardUnknown(m) -} - -var xxx_messageInfo_ProfileQuery proto.InternalMessageInfo - -func (m *ProfileQuery) GetQuery() string { - if m != nil { - return m.Query - } - return "" -} - -func (m *ProfileQuery) GetLocationFilters() []*LocationFilter { - if m != nil { - return m.LocationFilters - } - return nil -} - -func (m *ProfileQuery) GetJobTitleFilters() []*JobTitleFilter { - if m != nil { - return m.JobTitleFilters - } - return nil -} - -func (m *ProfileQuery) GetEmployerFilters() []*EmployerFilter { - if m != nil { - return m.EmployerFilters - } - return nil -} - -func (m *ProfileQuery) GetEducationFilters() []*EducationFilter { - if m != nil { - return m.EducationFilters - } - return nil -} - -func (m *ProfileQuery) GetSkillFilters() []*SkillFilter { - if m != nil { - return m.SkillFilters - } - return nil -} - -func (m *ProfileQuery) GetWorkExperienceFilter() []*WorkExperienceFilter { - if m != nil { - return m.WorkExperienceFilter - } - return nil -} - -func (m *ProfileQuery) GetTimeFilters() []*TimeFilter { - if m != nil { - return m.TimeFilters - } - return nil -} - -func (m *ProfileQuery) GetHirableFilter() *wrappers.BoolValue { - if m != nil { - return m.HirableFilter - } - return nil -} - -func (m *ProfileQuery) GetApplicationDateFilters() []*ApplicationDateFilter { - if m != nil { - return m.ApplicationDateFilters - } - return nil -} - -func (m *ProfileQuery) GetApplicationOutcomeNotesFilters() []*ApplicationOutcomeNotesFilter { - if m != nil { - return m.ApplicationOutcomeNotesFilters - } - return nil -} - -func (m *ProfileQuery) GetApplicationJobFilters() []*ApplicationJobFilter { - if m != nil { - return m.ApplicationJobFilters - } - return nil -} - -func (m *ProfileQuery) GetCustomAttributeFilter() string { - if m != nil { - return m.CustomAttributeFilter - } - return "" -} - -// Deprecated: Do not use. -func (m *ProfileQuery) GetCandidateAvailabilityFilter() *CandidateAvailabilityFilter { - if m != nil { - return m.CandidateAvailabilityFilter - } - return nil -} - -func (m *ProfileQuery) GetAvailabilityFilters() []*AvailabilityFilter { - if m != nil { - return m.AvailabilityFilters - } - return nil -} - -func (m *ProfileQuery) GetPersonNameFilters() []*PersonNameFilter { - if m != nil { - return m.PersonNameFilters - } - return nil -} - -// Geographic region of the search. -type LocationFilter struct { - // The address name, such as "Mountain View" or "Bay Area". - Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - // CLDR region code of the country/region of the address. This is used - // to address ambiguity of the user-input location, for example, "Liverpool" - // against "Liverpool, NY, US" or "Liverpool, UK". - // - // Set this field to bias location resolution toward a specific country - // or territory. If this field is not set, application behavior is biased - // toward the United States by default. - // - // See http://cldr.unicode.org/ and - // http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html - // for details. Example: "CH" for Switzerland. - // Note that this filter is not applicable for Profile Search related queries. - RegionCode string `protobuf:"bytes,2,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"` - // The latitude and longitude of the geographic center to search from. This - // field is ignored if `address` is provided. - LatLng *latlng.LatLng `protobuf:"bytes,3,opt,name=lat_lng,json=latLng,proto3" json:"lat_lng,omitempty"` - // The distance_in_miles is applied when the location being searched for is - // identified as a city or smaller. This field is ignored if the location - // being searched for is a state or larger. - DistanceInMiles float64 `protobuf:"fixed64,4,opt,name=distance_in_miles,json=distanceInMiles,proto3" json:"distance_in_miles,omitempty"` - // Allows the client to return jobs without a - // set location, specifically, telecommuting jobs (telecommuting is considered - // by the service as a special location. - // [Job.posting_region][google.cloud.talent.v4beta1.Job.posting_region] - // indicates if a job permits telecommuting. If this field is set to - // [TelecommutePreference.TELECOMMUTE_ALLOWED][google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.TELECOMMUTE_ALLOWED], - // telecommuting jobs are searched, and - // [address][google.cloud.talent.v4beta1.LocationFilter.address] and - // [lat_lng][google.cloud.talent.v4beta1.LocationFilter.lat_lng] are ignored. - // If not set or set to - // [TelecommutePreference.TELECOMMUTE_EXCLUDED][google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.TELECOMMUTE_EXCLUDED], - // telecommute job are not searched. - // - // This filter can be used by itself to search exclusively for telecommuting - // jobs, or it can be combined with another location - // filter to search for a combination of job locations, - // such as "Mountain View" or "telecommuting" jobs. However, when used in - // combination with other location filters, telecommuting jobs can be - // treated as less relevant than other jobs in the search response. - // - // This field is only used for job search requests. - TelecommutePreference LocationFilter_TelecommutePreference `protobuf:"varint,5,opt,name=telecommute_preference,json=telecommutePreference,proto3,enum=google.cloud.talent.v4beta1.LocationFilter_TelecommutePreference" json:"telecommute_preference,omitempty"` - // Whether to apply negation to the filter so profiles matching the filter - // are excluded. - // - // Currently only supported in profile search. - Negated bool `protobuf:"varint,6,opt,name=negated,proto3" json:"negated,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LocationFilter) Reset() { *m = LocationFilter{} } -func (m *LocationFilter) String() string { return proto.CompactTextString(m) } -func (*LocationFilter) ProtoMessage() {} -func (*LocationFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_89d33ae01ee514a8, []int{2} -} - -func (m *LocationFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LocationFilter.Unmarshal(m, b) -} -func (m *LocationFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LocationFilter.Marshal(b, m, deterministic) -} -func (m *LocationFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocationFilter.Merge(m, src) -} -func (m *LocationFilter) XXX_Size() int { - return xxx_messageInfo_LocationFilter.Size(m) -} -func (m *LocationFilter) XXX_DiscardUnknown() { - xxx_messageInfo_LocationFilter.DiscardUnknown(m) -} - -var xxx_messageInfo_LocationFilter proto.InternalMessageInfo - -func (m *LocationFilter) GetAddress() string { - if m != nil { - return m.Address - } - return "" -} - -func (m *LocationFilter) GetRegionCode() string { - if m != nil { - return m.RegionCode - } - return "" -} - -func (m *LocationFilter) GetLatLng() *latlng.LatLng { - if m != nil { - return m.LatLng - } - return nil -} - -func (m *LocationFilter) GetDistanceInMiles() float64 { - if m != nil { - return m.DistanceInMiles - } - return 0 -} - -func (m *LocationFilter) GetTelecommutePreference() LocationFilter_TelecommutePreference { - if m != nil { - return m.TelecommutePreference - } - return LocationFilter_TELECOMMUTE_PREFERENCE_UNSPECIFIED -} - -func (m *LocationFilter) GetNegated() bool { - if m != nil { - return m.Negated - } - return false -} - -// Filter on job compensation type and amount. -type CompensationFilter struct { - // Required. Type of filter. - Type CompensationFilter_FilterType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.talent.v4beta1.CompensationFilter_FilterType" json:"type,omitempty"` - // Required. Specify desired `base compensation entry's` - // [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit]. - Units []CompensationInfo_CompensationUnit `protobuf:"varint,2,rep,packed,name=units,proto3,enum=google.cloud.talent.v4beta1.CompensationInfo_CompensationUnit" json:"units,omitempty"` - // Compensation range. - Range *CompensationInfo_CompensationRange `protobuf:"bytes,3,opt,name=range,proto3" json:"range,omitempty"` - // If set to true, jobs with unspecified compensation range fields are - // included. - IncludeJobsWithUnspecifiedCompensationRange bool `protobuf:"varint,4,opt,name=include_jobs_with_unspecified_compensation_range,json=includeJobsWithUnspecifiedCompensationRange,proto3" json:"include_jobs_with_unspecified_compensation_range,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CompensationFilter) Reset() { *m = CompensationFilter{} } -func (m *CompensationFilter) String() string { return proto.CompactTextString(m) } -func (*CompensationFilter) ProtoMessage() {} -func (*CompensationFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_89d33ae01ee514a8, []int{3} -} - -func (m *CompensationFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CompensationFilter.Unmarshal(m, b) -} -func (m *CompensationFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CompensationFilter.Marshal(b, m, deterministic) -} -func (m *CompensationFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_CompensationFilter.Merge(m, src) -} -func (m *CompensationFilter) XXX_Size() int { - return xxx_messageInfo_CompensationFilter.Size(m) -} -func (m *CompensationFilter) XXX_DiscardUnknown() { - xxx_messageInfo_CompensationFilter.DiscardUnknown(m) -} - -var xxx_messageInfo_CompensationFilter proto.InternalMessageInfo - -func (m *CompensationFilter) GetType() CompensationFilter_FilterType { - if m != nil { - return m.Type - } - return CompensationFilter_FILTER_TYPE_UNSPECIFIED -} - -func (m *CompensationFilter) GetUnits() []CompensationInfo_CompensationUnit { - if m != nil { - return m.Units - } - return nil -} - -func (m *CompensationFilter) GetRange() *CompensationInfo_CompensationRange { - if m != nil { - return m.Range - } - return nil -} - -func (m *CompensationFilter) GetIncludeJobsWithUnspecifiedCompensationRange() bool { - if m != nil { - return m.IncludeJobsWithUnspecifiedCompensationRange - } - return false -} - -// Parameters needed for commute search. -type CommuteFilter struct { - // Required. The method of transportation to calculate the commute time for. - CommuteMethod CommuteMethod `protobuf:"varint,1,opt,name=commute_method,json=commuteMethod,proto3,enum=google.cloud.talent.v4beta1.CommuteMethod" json:"commute_method,omitempty"` - // Required. The latitude and longitude of the location to calculate the - // commute time from. - StartCoordinates *latlng.LatLng `protobuf:"bytes,2,opt,name=start_coordinates,json=startCoordinates,proto3" json:"start_coordinates,omitempty"` - // Required. The maximum travel time in seconds. The maximum allowed value is - // `3600s` (one hour). Format is `123s`. - TravelDuration *duration.Duration `protobuf:"bytes,3,opt,name=travel_duration,json=travelDuration,proto3" json:"travel_duration,omitempty"` - // If `true`, jobs without street level addresses may also be returned. - // For city level addresses, the city center is used. For state and coarser - // level addresses, text matching is used. - // If this field is set to `false` or isn't specified, only jobs that include - // street level addresses will be returned by commute search. - AllowImpreciseAddresses bool `protobuf:"varint,4,opt,name=allow_imprecise_addresses,json=allowImpreciseAddresses,proto3" json:"allow_imprecise_addresses,omitempty"` - // Traffic factor to take into account while searching by commute. - // - // Types that are valid to be assigned to TrafficOption: - // *CommuteFilter_RoadTraffic_ - // *CommuteFilter_DepartureTime - TrafficOption isCommuteFilter_TrafficOption `protobuf_oneof:"traffic_option"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CommuteFilter) Reset() { *m = CommuteFilter{} } -func (m *CommuteFilter) String() string { return proto.CompactTextString(m) } -func (*CommuteFilter) ProtoMessage() {} -func (*CommuteFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_89d33ae01ee514a8, []int{4} -} - -func (m *CommuteFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommuteFilter.Unmarshal(m, b) -} -func (m *CommuteFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommuteFilter.Marshal(b, m, deterministic) -} -func (m *CommuteFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommuteFilter.Merge(m, src) -} -func (m *CommuteFilter) XXX_Size() int { - return xxx_messageInfo_CommuteFilter.Size(m) -} -func (m *CommuteFilter) XXX_DiscardUnknown() { - xxx_messageInfo_CommuteFilter.DiscardUnknown(m) -} - -var xxx_messageInfo_CommuteFilter proto.InternalMessageInfo - -func (m *CommuteFilter) GetCommuteMethod() CommuteMethod { - if m != nil { - return m.CommuteMethod - } - return CommuteMethod_COMMUTE_METHOD_UNSPECIFIED -} - -func (m *CommuteFilter) GetStartCoordinates() *latlng.LatLng { - if m != nil { - return m.StartCoordinates - } - return nil -} - -func (m *CommuteFilter) GetTravelDuration() *duration.Duration { - if m != nil { - return m.TravelDuration - } - return nil -} - -func (m *CommuteFilter) GetAllowImpreciseAddresses() bool { - if m != nil { - return m.AllowImpreciseAddresses - } - return false -} - -type isCommuteFilter_TrafficOption interface { - isCommuteFilter_TrafficOption() -} - -type CommuteFilter_RoadTraffic_ struct { - RoadTraffic CommuteFilter_RoadTraffic `protobuf:"varint,5,opt,name=road_traffic,json=roadTraffic,proto3,enum=google.cloud.talent.v4beta1.CommuteFilter_RoadTraffic,oneof"` -} - -type CommuteFilter_DepartureTime struct { - DepartureTime *timeofday.TimeOfDay `protobuf:"bytes,6,opt,name=departure_time,json=departureTime,proto3,oneof"` -} - -func (*CommuteFilter_RoadTraffic_) isCommuteFilter_TrafficOption() {} - -func (*CommuteFilter_DepartureTime) isCommuteFilter_TrafficOption() {} - -func (m *CommuteFilter) GetTrafficOption() isCommuteFilter_TrafficOption { - if m != nil { - return m.TrafficOption - } - return nil -} - -func (m *CommuteFilter) GetRoadTraffic() CommuteFilter_RoadTraffic { - if x, ok := m.GetTrafficOption().(*CommuteFilter_RoadTraffic_); ok { - return x.RoadTraffic - } - return CommuteFilter_ROAD_TRAFFIC_UNSPECIFIED -} - -func (m *CommuteFilter) GetDepartureTime() *timeofday.TimeOfDay { - if x, ok := m.GetTrafficOption().(*CommuteFilter_DepartureTime); ok { - return x.DepartureTime - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CommuteFilter) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CommuteFilter_RoadTraffic_)(nil), - (*CommuteFilter_DepartureTime)(nil), - } -} - -// Job title of the search. -type JobTitleFilter struct { - // Required. The job title. For example, "Software engineer", or "Product - // manager". - JobTitle string `protobuf:"bytes,1,opt,name=job_title,json=jobTitle,proto3" json:"job_title,omitempty"` - // Whether to apply negation to the filter so profiles matching the filter - // are excluded. - Negated bool `protobuf:"varint,2,opt,name=negated,proto3" json:"negated,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *JobTitleFilter) Reset() { *m = JobTitleFilter{} } -func (m *JobTitleFilter) String() string { return proto.CompactTextString(m) } -func (*JobTitleFilter) ProtoMessage() {} -func (*JobTitleFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_89d33ae01ee514a8, []int{5} -} - -func (m *JobTitleFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JobTitleFilter.Unmarshal(m, b) -} -func (m *JobTitleFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JobTitleFilter.Marshal(b, m, deterministic) -} -func (m *JobTitleFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobTitleFilter.Merge(m, src) -} -func (m *JobTitleFilter) XXX_Size() int { - return xxx_messageInfo_JobTitleFilter.Size(m) -} -func (m *JobTitleFilter) XXX_DiscardUnknown() { - xxx_messageInfo_JobTitleFilter.DiscardUnknown(m) -} - -var xxx_messageInfo_JobTitleFilter proto.InternalMessageInfo - -func (m *JobTitleFilter) GetJobTitle() string { - if m != nil { - return m.JobTitle - } - return "" -} - -func (m *JobTitleFilter) GetNegated() bool { - if m != nil { - return m.Negated - } - return false -} - -// Skill filter of the search. -type SkillFilter struct { - // Required. The skill name. For example, "java", "j2ee", and so on. - Skill string `protobuf:"bytes,1,opt,name=skill,proto3" json:"skill,omitempty"` - // Whether to apply negation to the filter so profiles matching the filter - // are excluded. - Negated bool `protobuf:"varint,2,opt,name=negated,proto3" json:"negated,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SkillFilter) Reset() { *m = SkillFilter{} } -func (m *SkillFilter) String() string { return proto.CompactTextString(m) } -func (*SkillFilter) ProtoMessage() {} -func (*SkillFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_89d33ae01ee514a8, []int{6} -} - -func (m *SkillFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SkillFilter.Unmarshal(m, b) -} -func (m *SkillFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SkillFilter.Marshal(b, m, deterministic) -} -func (m *SkillFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_SkillFilter.Merge(m, src) -} -func (m *SkillFilter) XXX_Size() int { - return xxx_messageInfo_SkillFilter.Size(m) -} -func (m *SkillFilter) XXX_DiscardUnknown() { - xxx_messageInfo_SkillFilter.DiscardUnknown(m) -} - -var xxx_messageInfo_SkillFilter proto.InternalMessageInfo - -func (m *SkillFilter) GetSkill() string { - if m != nil { - return m.Skill - } - return "" -} - -func (m *SkillFilter) GetNegated() bool { - if m != nil { - return m.Negated - } - return false -} - -// Employer filter of the search. -type EmployerFilter struct { - // Required. The name of the employer, for example "Google", "Alphabet". - Employer string `protobuf:"bytes,1,opt,name=employer,proto3" json:"employer,omitempty"` - // Define set of - // [EmploymentRecord][google.cloud.talent.v4beta1.EmploymentRecord]s to search - // against. - // - // Defaults to - // [EmployerFilterMode.ALL_EMPLOYMENT_RECORDS][google.cloud.talent.v4beta1.EmployerFilter.EmployerFilterMode.ALL_EMPLOYMENT_RECORDS]. - Mode EmployerFilter_EmployerFilterMode `protobuf:"varint,2,opt,name=mode,proto3,enum=google.cloud.talent.v4beta1.EmployerFilter_EmployerFilterMode" json:"mode,omitempty"` - // Whether to apply negation to the filter so profiles matching the filter - // is excluded. - Negated bool `protobuf:"varint,3,opt,name=negated,proto3" json:"negated,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *EmployerFilter) Reset() { *m = EmployerFilter{} } -func (m *EmployerFilter) String() string { return proto.CompactTextString(m) } -func (*EmployerFilter) ProtoMessage() {} -func (*EmployerFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_89d33ae01ee514a8, []int{7} -} - -func (m *EmployerFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EmployerFilter.Unmarshal(m, b) -} -func (m *EmployerFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EmployerFilter.Marshal(b, m, deterministic) -} -func (m *EmployerFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_EmployerFilter.Merge(m, src) -} -func (m *EmployerFilter) XXX_Size() int { - return xxx_messageInfo_EmployerFilter.Size(m) -} -func (m *EmployerFilter) XXX_DiscardUnknown() { - xxx_messageInfo_EmployerFilter.DiscardUnknown(m) -} - -var xxx_messageInfo_EmployerFilter proto.InternalMessageInfo - -func (m *EmployerFilter) GetEmployer() string { - if m != nil { - return m.Employer - } - return "" -} - -func (m *EmployerFilter) GetMode() EmployerFilter_EmployerFilterMode { - if m != nil { - return m.Mode - } - return EmployerFilter_EMPLOYER_FILTER_MODE_UNSPECIFIED -} - -func (m *EmployerFilter) GetNegated() bool { - if m != nil { - return m.Negated - } - return false -} - -// Education filter of the search. -type EducationFilter struct { - // The school name. For example "MIT", "University of California, Berkeley". - School string `protobuf:"bytes,1,opt,name=school,proto3" json:"school,omitempty"` - // The field of study. This is to search against value provided in - // [Degree.fields_of_study][google.cloud.talent.v4beta1.Degree.fields_of_study]. - // For example "Computer Science", "Mathematics". - FieldOfStudy string `protobuf:"bytes,2,opt,name=field_of_study,json=fieldOfStudy,proto3" json:"field_of_study,omitempty"` - // Education degree in ISCED code. Each value in degree covers a specific - // level of education, without any expansion to upper nor lower levels of - // education degree. - DegreeType DegreeType `protobuf:"varint,3,opt,name=degree_type,json=degreeType,proto3,enum=google.cloud.talent.v4beta1.DegreeType" json:"degree_type,omitempty"` - // Whether to apply negation to the filter so profiles matching the filter - // is excluded. - Negated bool `protobuf:"varint,6,opt,name=negated,proto3" json:"negated,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *EducationFilter) Reset() { *m = EducationFilter{} } -func (m *EducationFilter) String() string { return proto.CompactTextString(m) } -func (*EducationFilter) ProtoMessage() {} -func (*EducationFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_89d33ae01ee514a8, []int{8} -} - -func (m *EducationFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EducationFilter.Unmarshal(m, b) -} -func (m *EducationFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EducationFilter.Marshal(b, m, deterministic) -} -func (m *EducationFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_EducationFilter.Merge(m, src) -} -func (m *EducationFilter) XXX_Size() int { - return xxx_messageInfo_EducationFilter.Size(m) -} -func (m *EducationFilter) XXX_DiscardUnknown() { - xxx_messageInfo_EducationFilter.DiscardUnknown(m) -} - -var xxx_messageInfo_EducationFilter proto.InternalMessageInfo - -func (m *EducationFilter) GetSchool() string { - if m != nil { - return m.School - } - return "" -} - -func (m *EducationFilter) GetFieldOfStudy() string { - if m != nil { - return m.FieldOfStudy - } - return "" -} - -func (m *EducationFilter) GetDegreeType() DegreeType { - if m != nil { - return m.DegreeType - } - return DegreeType_DEGREE_TYPE_UNSPECIFIED -} - -func (m *EducationFilter) GetNegated() bool { - if m != nil { - return m.Negated - } - return false -} - -// Work experience filter. -// -// This filter is used to search for profiles with working experience length -// between -// [min_experience][google.cloud.talent.v4beta1.WorkExperienceFilter.min_experience] -// and -// [max_experience][google.cloud.talent.v4beta1.WorkExperienceFilter.max_experience]. -type WorkExperienceFilter struct { - // The minimum duration of the work experience (inclusive). - MinExperience *duration.Duration `protobuf:"bytes,1,opt,name=min_experience,json=minExperience,proto3" json:"min_experience,omitempty"` - // The maximum duration of the work experience (exclusive). - MaxExperience *duration.Duration `protobuf:"bytes,2,opt,name=max_experience,json=maxExperience,proto3" json:"max_experience,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *WorkExperienceFilter) Reset() { *m = WorkExperienceFilter{} } -func (m *WorkExperienceFilter) String() string { return proto.CompactTextString(m) } -func (*WorkExperienceFilter) ProtoMessage() {} -func (*WorkExperienceFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_89d33ae01ee514a8, []int{9} -} - -func (m *WorkExperienceFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkExperienceFilter.Unmarshal(m, b) -} -func (m *WorkExperienceFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkExperienceFilter.Marshal(b, m, deterministic) -} -func (m *WorkExperienceFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkExperienceFilter.Merge(m, src) -} -func (m *WorkExperienceFilter) XXX_Size() int { - return xxx_messageInfo_WorkExperienceFilter.Size(m) -} -func (m *WorkExperienceFilter) XXX_DiscardUnknown() { - xxx_messageInfo_WorkExperienceFilter.DiscardUnknown(m) -} - -var xxx_messageInfo_WorkExperienceFilter proto.InternalMessageInfo - -func (m *WorkExperienceFilter) GetMinExperience() *duration.Duration { - if m != nil { - return m.MinExperience - } - return nil -} - -func (m *WorkExperienceFilter) GetMaxExperience() *duration.Duration { - if m != nil { - return m.MaxExperience - } - return nil -} - -// Application Date Range Filter. -// -// The API matches profiles with -// [Application.application_date][google.cloud.talent.v4beta1.Application.application_date] -// between start date and end date (both boundaries are inclusive). The filter -// is ignored if both -// [start_date][google.cloud.talent.v4beta1.ApplicationDateFilter.start_date] -// and [end_date][google.cloud.talent.v4beta1.ApplicationDateFilter.end_date] -// are missing. -type ApplicationDateFilter struct { - // Start date. If it's missing, The API matches profiles with application date - // not after the end date. - StartDate *date.Date `protobuf:"bytes,1,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` - // End date. If it's missing, The API matches profiles with application date - // not before the start date. - EndDate *date.Date `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 *ApplicationDateFilter) Reset() { *m = ApplicationDateFilter{} } -func (m *ApplicationDateFilter) String() string { return proto.CompactTextString(m) } -func (*ApplicationDateFilter) ProtoMessage() {} -func (*ApplicationDateFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_89d33ae01ee514a8, []int{10} -} - -func (m *ApplicationDateFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ApplicationDateFilter.Unmarshal(m, b) -} -func (m *ApplicationDateFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ApplicationDateFilter.Marshal(b, m, deterministic) -} -func (m *ApplicationDateFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApplicationDateFilter.Merge(m, src) -} -func (m *ApplicationDateFilter) XXX_Size() int { - return xxx_messageInfo_ApplicationDateFilter.Size(m) -} -func (m *ApplicationDateFilter) XXX_DiscardUnknown() { - xxx_messageInfo_ApplicationDateFilter.DiscardUnknown(m) -} - -var xxx_messageInfo_ApplicationDateFilter proto.InternalMessageInfo - -func (m *ApplicationDateFilter) GetStartDate() *date.Date { - if m != nil { - return m.StartDate - } - return nil -} - -func (m *ApplicationDateFilter) GetEndDate() *date.Date { - if m != nil { - return m.EndDate - } - return nil -} - -// Outcome Notes Filter. -type ApplicationOutcomeNotesFilter struct { - // Required. User entered or selected outcome reason. The API does an exact - // match on the - // [Application.outcome_notes][google.cloud.talent.v4beta1.Application.outcome_notes] - // in profiles. - OutcomeNotes string `protobuf:"bytes,1,opt,name=outcome_notes,json=outcomeNotes,proto3" json:"outcome_notes,omitempty"` - // If true, The API excludes all candidates with any - // [Application.outcome_notes][google.cloud.talent.v4beta1.Application.outcome_notes] - // matching the outcome reason specified in the filter. - Negated bool `protobuf:"varint,2,opt,name=negated,proto3" json:"negated,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ApplicationOutcomeNotesFilter) Reset() { *m = ApplicationOutcomeNotesFilter{} } -func (m *ApplicationOutcomeNotesFilter) String() string { return proto.CompactTextString(m) } -func (*ApplicationOutcomeNotesFilter) ProtoMessage() {} -func (*ApplicationOutcomeNotesFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_89d33ae01ee514a8, []int{11} -} - -func (m *ApplicationOutcomeNotesFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ApplicationOutcomeNotesFilter.Unmarshal(m, b) -} -func (m *ApplicationOutcomeNotesFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ApplicationOutcomeNotesFilter.Marshal(b, m, deterministic) -} -func (m *ApplicationOutcomeNotesFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApplicationOutcomeNotesFilter.Merge(m, src) -} -func (m *ApplicationOutcomeNotesFilter) XXX_Size() int { - return xxx_messageInfo_ApplicationOutcomeNotesFilter.Size(m) -} -func (m *ApplicationOutcomeNotesFilter) XXX_DiscardUnknown() { - xxx_messageInfo_ApplicationOutcomeNotesFilter.DiscardUnknown(m) -} - -var xxx_messageInfo_ApplicationOutcomeNotesFilter proto.InternalMessageInfo - -func (m *ApplicationOutcomeNotesFilter) GetOutcomeNotes() string { - if m != nil { - return m.OutcomeNotes - } - return "" -} - -func (m *ApplicationOutcomeNotesFilter) GetNegated() bool { - if m != nil { - return m.Negated - } - return false -} - -// Filter on the job information of Application. -type ApplicationJobFilter struct { - // The job requisition id in the application. The API does an exact match on - // the [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] of - // [Application.job][google.cloud.talent.v4beta1.Application.job] in profiles. - JobRequisitionId string `protobuf:"bytes,2,opt,name=job_requisition_id,json=jobRequisitionId,proto3" json:"job_requisition_id,omitempty"` - // The job title in the application. The API does an exact match on the - // [Job.title][google.cloud.talent.v4beta1.Job.title] of - // [Application.job][google.cloud.talent.v4beta1.Application.job] in profiles. - JobTitle string `protobuf:"bytes,3,opt,name=job_title,json=jobTitle,proto3" json:"job_title,omitempty"` - // If true, the API excludes all profiles with any - // [Application.job][google.cloud.talent.v4beta1.Application.job] matching the - // filters. - Negated bool `protobuf:"varint,4,opt,name=negated,proto3" json:"negated,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ApplicationJobFilter) Reset() { *m = ApplicationJobFilter{} } -func (m *ApplicationJobFilter) String() string { return proto.CompactTextString(m) } -func (*ApplicationJobFilter) ProtoMessage() {} -func (*ApplicationJobFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_89d33ae01ee514a8, []int{12} -} - -func (m *ApplicationJobFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ApplicationJobFilter.Unmarshal(m, b) -} -func (m *ApplicationJobFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ApplicationJobFilter.Marshal(b, m, deterministic) -} -func (m *ApplicationJobFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApplicationJobFilter.Merge(m, src) -} -func (m *ApplicationJobFilter) XXX_Size() int { - return xxx_messageInfo_ApplicationJobFilter.Size(m) -} -func (m *ApplicationJobFilter) XXX_DiscardUnknown() { - xxx_messageInfo_ApplicationJobFilter.DiscardUnknown(m) -} - -var xxx_messageInfo_ApplicationJobFilter proto.InternalMessageInfo - -func (m *ApplicationJobFilter) GetJobRequisitionId() string { - if m != nil { - return m.JobRequisitionId - } - return "" -} - -func (m *ApplicationJobFilter) GetJobTitle() string { - if m != nil { - return m.JobTitle - } - return "" -} - -func (m *ApplicationJobFilter) GetNegated() bool { - if m != nil { - return m.Negated - } - return false -} - -// Filter on create timestamp or update timestamp of profiles. -type TimeFilter struct { - // Start timestamp, matching profiles with the start time. If this field - // missing, The API matches profiles with create / update timestamp before the - // end timestamp. - StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // End timestamp, matching profiles with the end time. If this field - // missing, The API matches profiles with create / update timestamp after the - // start timestamp. - EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - // Specifies which time field to filter profiles. - // - // Defaults to - // [TimeField.CREATE_TIME][google.cloud.talent.v4beta1.TimeFilter.TimeField.CREATE_TIME]. - TimeField TimeFilter_TimeField `protobuf:"varint,3,opt,name=time_field,json=timeField,proto3,enum=google.cloud.talent.v4beta1.TimeFilter_TimeField" json:"time_field,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TimeFilter) Reset() { *m = TimeFilter{} } -func (m *TimeFilter) String() string { return proto.CompactTextString(m) } -func (*TimeFilter) ProtoMessage() {} -func (*TimeFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_89d33ae01ee514a8, []int{13} -} - -func (m *TimeFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TimeFilter.Unmarshal(m, b) -} -func (m *TimeFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TimeFilter.Marshal(b, m, deterministic) -} -func (m *TimeFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_TimeFilter.Merge(m, src) -} -func (m *TimeFilter) XXX_Size() int { - return xxx_messageInfo_TimeFilter.Size(m) -} -func (m *TimeFilter) XXX_DiscardUnknown() { - xxx_messageInfo_TimeFilter.DiscardUnknown(m) -} - -var xxx_messageInfo_TimeFilter proto.InternalMessageInfo - -func (m *TimeFilter) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *TimeFilter) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -func (m *TimeFilter) GetTimeField() TimeFilter_TimeField { - if m != nil { - return m.TimeField - } - return TimeFilter_TIME_FIELD_UNSPECIFIED -} - -// Deprecated. Use AvailabilityFilter instead. -// -// Filter on availability signals. -// -// Deprecated: Do not use. -type CandidateAvailabilityFilter struct { - // It is false by default. If true, API excludes all the potential available - // profiles. - Negated bool `protobuf:"varint,1,opt,name=negated,proto3" json:"negated,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CandidateAvailabilityFilter) Reset() { *m = CandidateAvailabilityFilter{} } -func (m *CandidateAvailabilityFilter) String() string { return proto.CompactTextString(m) } -func (*CandidateAvailabilityFilter) ProtoMessage() {} -func (*CandidateAvailabilityFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_89d33ae01ee514a8, []int{14} -} - -func (m *CandidateAvailabilityFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CandidateAvailabilityFilter.Unmarshal(m, b) -} -func (m *CandidateAvailabilityFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CandidateAvailabilityFilter.Marshal(b, m, deterministic) -} -func (m *CandidateAvailabilityFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_CandidateAvailabilityFilter.Merge(m, src) -} -func (m *CandidateAvailabilityFilter) XXX_Size() int { - return xxx_messageInfo_CandidateAvailabilityFilter.Size(m) -} -func (m *CandidateAvailabilityFilter) XXX_DiscardUnknown() { - xxx_messageInfo_CandidateAvailabilityFilter.DiscardUnknown(m) -} - -var xxx_messageInfo_CandidateAvailabilityFilter proto.InternalMessageInfo - -func (m *CandidateAvailabilityFilter) GetNegated() bool { - if m != nil { - return m.Negated - } - return false -} - -// Filter on availability signals. -type AvailabilityFilter struct { - // Required. Type of signal to apply filter on. - SignalType AvailabilitySignalType `protobuf:"varint,1,opt,name=signal_type,json=signalType,proto3,enum=google.cloud.talent.v4beta1.AvailabilitySignalType" json:"signal_type,omitempty"` - // Required. Range of times to filter candidate signals by. - Range *TimestampRange `protobuf:"bytes,2,opt,name=range,proto3" json:"range,omitempty"` - // If multiple - // [AvailabilityFilter][google.cloud.talent.v4beta1.AvailabilityFilter] are - // provided, the default behavior is to OR all filters, but if this field is - // set to true, this particular - // [AvailabilityFilter][google.cloud.talent.v4beta1.AvailabilityFilter] will - // be AND'ed against other - // [AvailabilityFilter][google.cloud.talent.v4beta1.AvailabilityFilter]. - Required bool `protobuf:"varint,3,opt,name=required,proto3" json:"required,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AvailabilityFilter) Reset() { *m = AvailabilityFilter{} } -func (m *AvailabilityFilter) String() string { return proto.CompactTextString(m) } -func (*AvailabilityFilter) ProtoMessage() {} -func (*AvailabilityFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_89d33ae01ee514a8, []int{15} -} - -func (m *AvailabilityFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AvailabilityFilter.Unmarshal(m, b) -} -func (m *AvailabilityFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AvailabilityFilter.Marshal(b, m, deterministic) -} -func (m *AvailabilityFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_AvailabilityFilter.Merge(m, src) -} -func (m *AvailabilityFilter) XXX_Size() int { - return xxx_messageInfo_AvailabilityFilter.Size(m) -} -func (m *AvailabilityFilter) XXX_DiscardUnknown() { - xxx_messageInfo_AvailabilityFilter.DiscardUnknown(m) -} - -var xxx_messageInfo_AvailabilityFilter proto.InternalMessageInfo - -func (m *AvailabilityFilter) GetSignalType() AvailabilitySignalType { - if m != nil { - return m.SignalType - } - return AvailabilitySignalType_AVAILABILITY_SIGNAL_TYPE_UNSPECIFIED -} - -func (m *AvailabilityFilter) GetRange() *TimestampRange { - if m != nil { - return m.Range - } - return nil -} - -func (m *AvailabilityFilter) GetRequired() bool { - if m != nil { - return m.Required - } - return false -} - -// Filter on person name. -type PersonNameFilter struct { - // Required. The person name. For example, "John Smith". - // - // Can be any combination of [PersonName.structured_name.given_name][], - // [PersonName.structured_name.middle_initial][], - // [PersonName.structured_name.family_name][], and - // [PersonName.formatted_name][google.cloud.talent.v4beta1.PersonName.formatted_name]. - PersonName string `protobuf:"bytes,1,opt,name=person_name,json=personName,proto3" json:"person_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PersonNameFilter) Reset() { *m = PersonNameFilter{} } -func (m *PersonNameFilter) String() string { return proto.CompactTextString(m) } -func (*PersonNameFilter) ProtoMessage() {} -func (*PersonNameFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_89d33ae01ee514a8, []int{16} -} - -func (m *PersonNameFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PersonNameFilter.Unmarshal(m, b) -} -func (m *PersonNameFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PersonNameFilter.Marshal(b, m, deterministic) -} -func (m *PersonNameFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_PersonNameFilter.Merge(m, src) -} -func (m *PersonNameFilter) XXX_Size() int { - return xxx_messageInfo_PersonNameFilter.Size(m) -} -func (m *PersonNameFilter) XXX_DiscardUnknown() { - xxx_messageInfo_PersonNameFilter.DiscardUnknown(m) -} - -var xxx_messageInfo_PersonNameFilter proto.InternalMessageInfo - -func (m *PersonNameFilter) GetPersonName() string { - if m != nil { - return m.PersonName - } - return "" -} - -func init() { - proto.RegisterEnum("google.cloud.talent.v4beta1.LocationFilter_TelecommutePreference", LocationFilter_TelecommutePreference_name, LocationFilter_TelecommutePreference_value) - proto.RegisterEnum("google.cloud.talent.v4beta1.CompensationFilter_FilterType", CompensationFilter_FilterType_name, CompensationFilter_FilterType_value) - proto.RegisterEnum("google.cloud.talent.v4beta1.CommuteFilter_RoadTraffic", CommuteFilter_RoadTraffic_name, CommuteFilter_RoadTraffic_value) - proto.RegisterEnum("google.cloud.talent.v4beta1.EmployerFilter_EmployerFilterMode", EmployerFilter_EmployerFilterMode_name, EmployerFilter_EmployerFilterMode_value) - proto.RegisterEnum("google.cloud.talent.v4beta1.TimeFilter_TimeField", TimeFilter_TimeField_name, TimeFilter_TimeField_value) - proto.RegisterType((*JobQuery)(nil), "google.cloud.talent.v4beta1.JobQuery") - proto.RegisterType((*ProfileQuery)(nil), "google.cloud.talent.v4beta1.ProfileQuery") - proto.RegisterType((*LocationFilter)(nil), "google.cloud.talent.v4beta1.LocationFilter") - proto.RegisterType((*CompensationFilter)(nil), "google.cloud.talent.v4beta1.CompensationFilter") - proto.RegisterType((*CommuteFilter)(nil), "google.cloud.talent.v4beta1.CommuteFilter") - proto.RegisterType((*JobTitleFilter)(nil), "google.cloud.talent.v4beta1.JobTitleFilter") - proto.RegisterType((*SkillFilter)(nil), "google.cloud.talent.v4beta1.SkillFilter") - proto.RegisterType((*EmployerFilter)(nil), "google.cloud.talent.v4beta1.EmployerFilter") - proto.RegisterType((*EducationFilter)(nil), "google.cloud.talent.v4beta1.EducationFilter") - proto.RegisterType((*WorkExperienceFilter)(nil), "google.cloud.talent.v4beta1.WorkExperienceFilter") - proto.RegisterType((*ApplicationDateFilter)(nil), "google.cloud.talent.v4beta1.ApplicationDateFilter") - proto.RegisterType((*ApplicationOutcomeNotesFilter)(nil), "google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter") - proto.RegisterType((*ApplicationJobFilter)(nil), "google.cloud.talent.v4beta1.ApplicationJobFilter") - proto.RegisterType((*TimeFilter)(nil), "google.cloud.talent.v4beta1.TimeFilter") - proto.RegisterType((*CandidateAvailabilityFilter)(nil), "google.cloud.talent.v4beta1.CandidateAvailabilityFilter") - proto.RegisterType((*AvailabilityFilter)(nil), "google.cloud.talent.v4beta1.AvailabilityFilter") - proto.RegisterType((*PersonNameFilter)(nil), "google.cloud.talent.v4beta1.PersonNameFilter") -} - -func init() { - proto.RegisterFile("google/cloud/talent/v4beta1/filters.proto", fileDescriptor_89d33ae01ee514a8) -} - -var fileDescriptor_89d33ae01ee514a8 = []byte{ - // 2195 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0xdd, 0x72, 0xe3, 0x48, - 0xf5, 0x1f, 0xd9, 0x49, 0x26, 0x39, 0x8e, 0x1d, 0xa7, 0xf3, 0x31, 0x9a, 0x64, 0x76, 0x27, 0x7f, - 0xef, 0xfc, 0x21, 0xec, 0x0e, 0xce, 0x4e, 0x16, 0xb6, 0x96, 0xd9, 0x2a, 0x16, 0xc7, 0x56, 0x18, - 0xa7, 0xfc, 0xb5, 0xb2, 0x3d, 0x43, 0x96, 0xa2, 0x44, 0x5b, 0x6a, 0x3b, 0x9a, 0x91, 0xd5, 0x5a, - 0xa9, 0x3d, 0x19, 0xc3, 0x0d, 0x37, 0x70, 0xc3, 0x1b, 0x40, 0x71, 0xc3, 0x3d, 0x54, 0x51, 0x5c, - 0x70, 0xc9, 0x43, 0xf0, 0x02, 0x3c, 0x0a, 0xd5, 0xad, 0x96, 0x2c, 0x27, 0x8e, 0x92, 0xa1, 0xb8, - 0x8a, 0xfa, 0x7c, 0xfc, 0xce, 0xf1, 0x39, 0xdd, 0xe7, 0x23, 0xf0, 0xbd, 0x11, 0xa5, 0x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c, 0x7a, 0x02, 0xb9, 0xc4, 0x5e, 0x94, 0x7c, 0x03, 0x30, 0xdb, 0x72, 0x4e, 0x7e, 0x05, 0x8f, - 0x4d, 0x3a, 0x4e, 0xf3, 0xe9, 0x64, 0x5d, 0xae, 0x42, 0x1d, 0x7e, 0x61, 0x3a, 0xca, 0x37, 0x15, - 0x29, 0x3c, 0xa2, 0x0e, 0x76, 0x47, 0x65, 0xea, 0x8f, 0x8e, 0x46, 0xc4, 0x15, 0xd7, 0xe9, 0x28, - 0x64, 0x61, 0xcf, 0x0e, 0x16, 0xfe, 0xd7, 0xfb, 0xcb, 0xf0, 0xf8, 0xe7, 0x4c, 0xb6, 0xda, 0xeb, - 0x0e, 0x56, 0x84, 0xce, 0x67, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0x71, 0x73, 0x2a, 0xba, 0xaf, - 0x17, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/histogram.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/histogram.pb.go deleted file mode 100644 index dc3abba3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/histogram.pb.go +++ /dev/null @@ -1,164 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/talent/v4beta1/histogram.proto - -package talent - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The histogram request. -type HistogramQuery struct { - // An expression specifies a histogram request against matching resources - // (for example, jobs, profiles) for searches. - // - // See - // [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries] - // and - // [SearchProfilesRequest.histogram_queries][google.cloud.talent.v4beta1.SearchProfilesRequest.histogram_queries] - // for details about syntax. - HistogramQuery string `protobuf:"bytes,1,opt,name=histogram_query,json=histogramQuery,proto3" json:"histogram_query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *HistogramQuery) Reset() { *m = HistogramQuery{} } -func (m *HistogramQuery) String() string { return proto.CompactTextString(m) } -func (*HistogramQuery) ProtoMessage() {} -func (*HistogramQuery) Descriptor() ([]byte, []int) { - return fileDescriptor_faf41faeec04126e, []int{0} -} - -func (m *HistogramQuery) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HistogramQuery.Unmarshal(m, b) -} -func (m *HistogramQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HistogramQuery.Marshal(b, m, deterministic) -} -func (m *HistogramQuery) XXX_Merge(src proto.Message) { - xxx_messageInfo_HistogramQuery.Merge(m, src) -} -func (m *HistogramQuery) XXX_Size() int { - return xxx_messageInfo_HistogramQuery.Size(m) -} -func (m *HistogramQuery) XXX_DiscardUnknown() { - xxx_messageInfo_HistogramQuery.DiscardUnknown(m) -} - -var xxx_messageInfo_HistogramQuery proto.InternalMessageInfo - -func (m *HistogramQuery) GetHistogramQuery() string { - if m != nil { - return m.HistogramQuery - } - return "" -} - -// Histogram result that matches -// [HistogramQuery][google.cloud.talent.v4beta1.HistogramQuery] specified in -// searches. -type HistogramQueryResult struct { - // Requested histogram expression. - HistogramQuery string `protobuf:"bytes,1,opt,name=histogram_query,json=histogramQuery,proto3" json:"histogram_query,omitempty"` - // A map from the values of the facet associated with distinct values to the - // number of matching entries with corresponding value. - // - // The key format is: - // - // * (for string histogram) string values stored in the field. - // * (for named numeric bucket) name specified in `bucket()` function, like - // for `bucket(0, MAX, "non-negative")`, the key will be `non-negative`. - // * (for anonymous numeric bucket) range formatted as `-`, for - // example, `0-1000`, `MIN-0`, and `0-MAX`. - Histogram map[string]int64 `protobuf:"bytes,2,rep,name=histogram,proto3" json:"histogram,omitempty" protobuf_key:"bytes,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 *HistogramQueryResult) Reset() { *m = HistogramQueryResult{} } -func (m *HistogramQueryResult) String() string { return proto.CompactTextString(m) } -func (*HistogramQueryResult) ProtoMessage() {} -func (*HistogramQueryResult) Descriptor() ([]byte, []int) { - return fileDescriptor_faf41faeec04126e, []int{1} -} - -func (m *HistogramQueryResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HistogramQueryResult.Unmarshal(m, b) -} -func (m *HistogramQueryResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HistogramQueryResult.Marshal(b, m, deterministic) -} -func (m *HistogramQueryResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_HistogramQueryResult.Merge(m, src) -} -func (m *HistogramQueryResult) XXX_Size() int { - return xxx_messageInfo_HistogramQueryResult.Size(m) -} -func (m *HistogramQueryResult) XXX_DiscardUnknown() { - xxx_messageInfo_HistogramQueryResult.DiscardUnknown(m) -} - -var xxx_messageInfo_HistogramQueryResult proto.InternalMessageInfo - -func (m *HistogramQueryResult) GetHistogramQuery() string { - if m != nil { - return m.HistogramQuery - } - return "" -} - -func (m *HistogramQueryResult) GetHistogram() map[string]int64 { - if m != nil { - return m.Histogram - } - return nil -} - -func init() { - proto.RegisterType((*HistogramQuery)(nil), "google.cloud.talent.v4beta1.HistogramQuery") - proto.RegisterType((*HistogramQueryResult)(nil), "google.cloud.talent.v4beta1.HistogramQueryResult") - proto.RegisterMapType((map[string]int64)(nil), "google.cloud.talent.v4beta1.HistogramQueryResult.HistogramEntry") -} - -func init() { - proto.RegisterFile("google/cloud/talent/v4beta1/histogram.proto", fileDescriptor_faf41faeec04126e) -} - -var fileDescriptor_faf41faeec04126e = []byte{ - // 283 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4e, 0xcf, 0xcf, 0x4f, - 0xcf, 0x49, 0xd5, 0x4f, 0xce, 0xc9, 0x2f, 0x4d, 0xd1, 0x2f, 0x49, 0xcc, 0x49, 0xcd, 0x2b, 0xd1, - 0x2f, 0x33, 0x49, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0xcf, 0xc8, 0x2c, 0x2e, 0xc9, 0x4f, 0x2f, 0x4a, - 0xcc, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x86, 0x28, 0xd6, 0x03, 0x2b, 0xd6, 0x83, - 0x28, 0xd6, 0x83, 0x2a, 0x96, 0x92, 0x81, 0x9a, 0x94, 0x58, 0x90, 0xa9, 0x9f, 0x98, 0x97, 0x97, - 0x5f, 0x92, 0x58, 0x92, 0x99, 0x9f, 0x57, 0x0c, 0xd1, 0xaa, 0x64, 0xc9, 0xc5, 0xe7, 0x01, 0x33, - 0x2d, 0xb0, 0x34, 0xb5, 0xa8, 0x52, 0x48, 0x9d, 0x8b, 0x1f, 0x6e, 0x7e, 0x7c, 0x21, 0x48, 0x48, - 0x82, 0x51, 0x81, 0x51, 0x83, 0x33, 0x88, 0x2f, 0x03, 0x45, 0xa1, 0xd2, 0x5d, 0x46, 0x2e, 0x11, - 0x54, 0xbd, 0x41, 0xa9, 0xc5, 0xa5, 0x39, 0x25, 0x44, 0x9b, 0x20, 0x14, 0xc7, 0xc5, 0x09, 0x17, - 0x91, 0x60, 0x52, 0x60, 0xd6, 0xe0, 0x36, 0x72, 0xd0, 0xc3, 0xe3, 0x17, 0x3d, 0x6c, 0xd6, 0x21, - 0x04, 0x5d, 0xf3, 0x4a, 0x8a, 0x2a, 0x83, 0x10, 0x46, 0x4a, 0xd9, 0x20, 0x79, 0x0e, 0x2c, 0x29, - 0x24, 0xc0, 0xc5, 0x9c, 0x9d, 0x0a, 0x73, 0x0e, 0x88, 0x29, 0x24, 0xc2, 0xc5, 0x5a, 0x96, 0x98, - 0x53, 0x9a, 0x2a, 0xc1, 0xa4, 0xc0, 0xa8, 0xc1, 0x1c, 0x04, 0xe1, 0x58, 0x31, 0x59, 0x30, 0x3a, - 0xd5, 0x70, 0xc9, 0x27, 0xe7, 0xe7, 0xe2, 0x73, 0x8f, 0x13, 0xc2, 0xf8, 0x00, 0x50, 0x68, 0x06, - 0x30, 0x46, 0x39, 0x42, 0x95, 0xa7, 0xe7, 0xe7, 0x24, 0xe6, 0xa5, 0xeb, 0xe5, 0x17, 0xa5, 0xeb, - 0xa7, 0xa7, 0xe6, 0x81, 0xc3, 0x5a, 0x1f, 0x22, 0x95, 0x58, 0x90, 0x59, 0x8c, 0x35, 0x5a, 0xad, - 0x21, 0xdc, 0x45, 0x4c, 0xcc, 0xce, 0x21, 0xc1, 0x49, 0x6c, 0x60, 0x3d, 0xc6, 0x80, 0x00, 0x00, - 0x00, 0xff, 0xff, 0xf7, 0x89, 0x18, 0x14, 0x09, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/job.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/job.pb.go deleted file mode 100644 index 492768fe..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/job.pb.go +++ /dev/null @@ -1,792 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/talent/v4beta1/job.proto - -package talent - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - _ "google.golang.org/genproto/googleapis/type/postaladdress" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// A Job resource represents a job posting (also referred to as a "job listing" -// or "job requisition"). A job belongs to a -// [Company][google.cloud.talent.v4beta1.Company], which is the hiring entity -// responsible for the job. -type Job struct { - // Required during job update. - // - // The resource name for the job. This is generated by the service when a - // job is created. - // - // The format is - // "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For - // example, "projects/foo/tenants/bar/jobs/baz". - // - // If tenant id is unspecified, the default tenant is used. For - // example, "projects/foo/jobs/bar". - // - // Use of this field in job queries and API calls is preferred over the use of - // [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] since this - // value is unique. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The resource name of the company listing the job. - // - // The format is - // "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}". For - // example, "projects/foo/tenants/bar/companies/baz". - // - // If tenant id is unspecified, the default tenant is used. For - // example, "projects/foo/companies/bar". - Company string `protobuf:"bytes,2,opt,name=company,proto3" json:"company,omitempty"` - // Required. The requisition ID, also referred to as the posting ID, is - // assigned by the client to identify a job. This field is intended to be used - // by clients for client identification and tracking of postings. A job isn't - // allowed to be created if there is another job with the same - // [company][google.cloud.talent.v4beta1.Job.name], - // [language_code][google.cloud.talent.v4beta1.Job.language_code] and - // [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id]. - // - // The maximum number of allowed characters is 255. - RequisitionId string `protobuf:"bytes,3,opt,name=requisition_id,json=requisitionId,proto3" json:"requisition_id,omitempty"` - // Required. The title of the job, such as "Software Engineer" - // - // The maximum number of allowed characters is 500. - Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"` - // Required. The description of the job, which typically includes a - // multi-paragraph description of the company and related information. - // Separate fields are provided on the job object for - // [responsibilities][google.cloud.talent.v4beta1.Job.responsibilities], - // [qualifications][google.cloud.talent.v4beta1.Job.qualifications], and other - // job characteristics. Use of these separate job fields is recommended. - // - // This field accepts and sanitizes HTML input, and also accepts - // bold, italic, ordered list, and unordered list markup tags. - // - // The maximum number of allowed characters is 100,000. - Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` - // Strongly recommended for the best service experience. - // - // Location(s) where the employer is looking to hire for this job posting. - // - // Specifying the full street address(es) of the hiring location enables - // better API results, especially job searches by commute time. - // - // At most 50 locations are allowed for best search performance. If a job has - // more locations, it is suggested to split it into multiple jobs with unique - // [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id]s (e.g. - // 'ReqA' becomes 'ReqA-1', 'ReqA-2', and so on.) as multiple jobs with the - // same [company][google.cloud.talent.v4beta1.Job.company], - // [language_code][google.cloud.talent.v4beta1.Job.language_code] and - // [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] are not - // allowed. If the original - // [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] must be - // preserved, a custom field should be used for storage. It is also suggested - // to group the locations that close to each other in the same job for better - // search experience. - // - // The maximum number of allowed characters is 500. - Addresses []string `protobuf:"bytes,6,rep,name=addresses,proto3" json:"addresses,omitempty"` - // Job application information. - ApplicationInfo *Job_ApplicationInfo `protobuf:"bytes,7,opt,name=application_info,json=applicationInfo,proto3" json:"application_info,omitempty"` - // The benefits included with the job. - JobBenefits []JobBenefit `protobuf:"varint,8,rep,packed,name=job_benefits,json=jobBenefits,proto3,enum=google.cloud.talent.v4beta1.JobBenefit" json:"job_benefits,omitempty"` - // Job compensation information (a.k.a. "pay rate") i.e., the compensation - // that will paid to the employee. - CompensationInfo *CompensationInfo `protobuf:"bytes,9,opt,name=compensation_info,json=compensationInfo,proto3" json:"compensation_info,omitempty"` - // A map of fields to hold both filterable and non-filterable custom job - // attributes that are not covered by the provided structured fields. - // - // The keys of the map are strings up to 64 bytes and must match the - // pattern: [a-zA-Z][a-zA-Z0-9_]*. For example, key0LikeThis or - // KEY_1_LIKE_THIS. - // - // At most 100 filterable and at most 100 unfilterable keys are supported. - // For filterable `string_values`, across all keys at most 200 values are - // allowed, with each string no more than 255 characters. For unfilterable - // `string_values`, the maximum total size of `string_values` across all keys - // is 50KB. - CustomAttributes map[string]*CustomAttribute `protobuf:"bytes,10,rep,name=custom_attributes,json=customAttributes,proto3" json:"custom_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // The desired education degrees for the job, such as Bachelors, Masters. - DegreeTypes []DegreeType `protobuf:"varint,11,rep,packed,name=degree_types,json=degreeTypes,proto3,enum=google.cloud.talent.v4beta1.DegreeType" json:"degree_types,omitempty"` - // The department or functional area within the company with the open - // position. - // - // The maximum number of allowed characters is 255. - Department string `protobuf:"bytes,12,opt,name=department,proto3" json:"department,omitempty"` - // The employment type(s) of a job, for example, - // [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or - // [part time][google.cloud.talent.v4beta1.EmploymentType.PART_TIME]. - EmploymentTypes []EmploymentType `protobuf:"varint,13,rep,packed,name=employment_types,json=employmentTypes,proto3,enum=google.cloud.talent.v4beta1.EmploymentType" json:"employment_types,omitempty"` - // A description of bonus, commission, and other compensation - // incentives associated with the job not including salary or pay. - // - // The maximum number of allowed characters is 10,000. - Incentives string `protobuf:"bytes,14,opt,name=incentives,proto3" json:"incentives,omitempty"` - // The language of the posting. This field is distinct from - // any requirements for fluency that are associated with the job. - // - // Language codes must be in BCP-47 format, such as "en-US" or "sr-Latn". - // For more information, see - // [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47){: - // class="external" target="_blank" }. - // - // If this field is unspecified and - // [Job.description][google.cloud.talent.v4beta1.Job.description] is present, - // detected language code based on - // [Job.description][google.cloud.talent.v4beta1.Job.description] is assigned, - // otherwise defaults to 'en_US'. - LanguageCode string `protobuf:"bytes,15,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // The experience level associated with the job, such as "Entry Level". - JobLevel JobLevel `protobuf:"varint,16,opt,name=job_level,json=jobLevel,proto3,enum=google.cloud.talent.v4beta1.JobLevel" json:"job_level,omitempty"` - // A promotion value of the job, as determined by the client. - // The value determines the sort order of the jobs returned when searching for - // jobs using the featured jobs search call, with higher promotional values - // being returned first and ties being resolved by relevance sort. Only the - // jobs with a promotionValue >0 are returned in a FEATURED_JOB_SEARCH. - // - // Default value is 0, and negative values are treated as 0. - PromotionValue int32 `protobuf:"varint,17,opt,name=promotion_value,json=promotionValue,proto3" json:"promotion_value,omitempty"` - // A description of the qualifications required to perform the - // job. The use of this field is recommended - // as an alternative to using the more general - // [description][google.cloud.talent.v4beta1.Job.description] field. - // - // This field accepts and sanitizes HTML input, and also accepts - // bold, italic, ordered list, and unordered list markup tags. - // - // The maximum number of allowed characters is 10,000. - Qualifications string `protobuf:"bytes,18,opt,name=qualifications,proto3" json:"qualifications,omitempty"` - // A description of job responsibilities. The use of this field is - // recommended as an alternative to using the more general - // [description][google.cloud.talent.v4beta1.Job.description] field. - // - // This field accepts and sanitizes HTML input, and also accepts - // bold, italic, ordered list, and unordered list markup tags. - // - // The maximum number of allowed characters is 10,000. - Responsibilities string `protobuf:"bytes,19,opt,name=responsibilities,proto3" json:"responsibilities,omitempty"` - // The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for - // example, state, country) throughout which the job is available. If this - // field is set, a - // [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] in a search - // query within the job region finds this job posting if an exact location - // match isn't specified. If this field is set to - // [PostingRegion.NATION][google.cloud.talent.v4beta1.PostingRegion.NATION] or - // [PostingRegion.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.PostingRegion.ADMINISTRATIVE_AREA], - // setting job [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] to - // the same location level as this field is strongly recommended. - PostingRegion PostingRegion `protobuf:"varint,20,opt,name=posting_region,json=postingRegion,proto3,enum=google.cloud.talent.v4beta1.PostingRegion" json:"posting_region,omitempty"` - // Deprecated. The job is only visible to the owner. - // - // The visibility of the job. - // - // Defaults to - // [Visibility.ACCOUNT_ONLY][google.cloud.talent.v4beta1.Visibility.ACCOUNT_ONLY] - // if not specified. - Visibility Visibility `protobuf:"varint,21,opt,name=visibility,proto3,enum=google.cloud.talent.v4beta1.Visibility" json:"visibility,omitempty"` // Deprecated: Do not use. - // The start timestamp of the job in UTC time zone. Typically this field - // is used for contracting engagements. Invalid timestamps are ignored. - JobStartTime *timestamp.Timestamp `protobuf:"bytes,22,opt,name=job_start_time,json=jobStartTime,proto3" json:"job_start_time,omitempty"` - // The end timestamp of the job. Typically this field is used for contracting - // engagements. Invalid timestamps are ignored. - JobEndTime *timestamp.Timestamp `protobuf:"bytes,23,opt,name=job_end_time,json=jobEndTime,proto3" json:"job_end_time,omitempty"` - // The timestamp this job posting was most recently published. The default - // value is the time the request arrives at the server. Invalid timestamps are - // ignored. - PostingPublishTime *timestamp.Timestamp `protobuf:"bytes,24,opt,name=posting_publish_time,json=postingPublishTime,proto3" json:"posting_publish_time,omitempty"` - // Strongly recommended for the best service experience. - // - // The expiration timestamp of the job. After this timestamp, the - // job is marked as expired, and it no longer appears in search results. The - // expired job can't be listed by the - // [ListJobs][google.cloud.talent.v4beta1.JobService.ListJobs] API, but it can - // be retrieved with the - // [GetJob][google.cloud.talent.v4beta1.JobService.GetJob] API or updated with - // the [UpdateJob][google.cloud.talent.v4beta1.JobService.UpdateJob] API or - // deleted with the - // [DeleteJob][google.cloud.talent.v4beta1.JobService.DeleteJob] API. An - // expired job can be updated and opened again by using a future expiration - // timestamp. Updating an expired job fails if there is another existing open - // job with same [company][google.cloud.talent.v4beta1.Job.company], - // [language_code][google.cloud.talent.v4beta1.Job.language_code] and - // [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id]. - // - // The expired jobs are retained in our system for 90 days. However, the - // overall expired job count cannot exceed 3 times the maximum number of - // open jobs over previous 7 days. If this threshold is exceeded, - // expired jobs are cleaned out in order of earliest expire time. - // Expired jobs are no longer accessible after they are cleaned - // out. - // - // Invalid timestamps are ignored, and treated as expire time not provided. - // - // If the timestamp is before the instant request is made, the job - // is treated as expired immediately on creation. This kind of job can - // not be updated. And when creating a job with past timestamp, the - // [posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time] - // must be set before - // [posting_expire_time][google.cloud.talent.v4beta1.Job.posting_expire_time]. - // The purpose of this feature is to allow other objects, such as - // [Application][google.cloud.talent.v4beta1.Application], to refer a job that - // didn't exist in the system prior to becoming expired. If you want to modify - // a job that was expired on creation, delete it and create a new one. - // - // If this value isn't provided at the time of job creation or is invalid, - // the job posting expires after 30 days from the job's creation time. For - // example, if the job was created on 2017/01/01 13:00AM UTC with an - // unspecified expiration date, the job expires after 2017/01/31 13:00AM UTC. - // - // If this value isn't provided on job update, it depends on the field masks - // set by - // [UpdateJobRequest.update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask]. - // If the field masks include - // [job_end_time][google.cloud.talent.v4beta1.Job.job_end_time], or the masks - // are empty meaning that every field is updated, the job posting expires - // after 30 days from the job's last update time. Otherwise the expiration - // date isn't updated. - PostingExpireTime *timestamp.Timestamp `protobuf:"bytes,25,opt,name=posting_expire_time,json=postingExpireTime,proto3" json:"posting_expire_time,omitempty"` - // Output only. The timestamp when this job posting was created. - PostingCreateTime *timestamp.Timestamp `protobuf:"bytes,26,opt,name=posting_create_time,json=postingCreateTime,proto3" json:"posting_create_time,omitempty"` - // Output only. The timestamp when this job posting was last updated. - PostingUpdateTime *timestamp.Timestamp `protobuf:"bytes,27,opt,name=posting_update_time,json=postingUpdateTime,proto3" json:"posting_update_time,omitempty"` - // Output only. Display name of the company listing the job. - CompanyDisplayName string `protobuf:"bytes,28,opt,name=company_display_name,json=companyDisplayName,proto3" json:"company_display_name,omitempty"` - // Output only. Derived details about the job posting. - DerivedInfo *Job_DerivedInfo `protobuf:"bytes,29,opt,name=derived_info,json=derivedInfo,proto3" json:"derived_info,omitempty"` - // Options for job processing. - ProcessingOptions *Job_ProcessingOptions `protobuf:"bytes,30,opt,name=processing_options,json=processingOptions,proto3" json:"processing_options,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_c717d27462774c27, []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 (m *Job) XXX_Merge(src proto.Message) { - xxx_messageInfo_Job.Merge(m, 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) GetCompany() string { - if m != nil { - return m.Company - } - return "" -} - -func (m *Job) GetRequisitionId() string { - if m != nil { - return m.RequisitionId - } - return "" -} - -func (m *Job) GetTitle() string { - if m != nil { - return m.Title - } - return "" -} - -func (m *Job) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *Job) GetAddresses() []string { - if m != nil { - return m.Addresses - } - return nil -} - -func (m *Job) GetApplicationInfo() *Job_ApplicationInfo { - if m != nil { - return m.ApplicationInfo - } - return nil -} - -func (m *Job) GetJobBenefits() []JobBenefit { - if m != nil { - return m.JobBenefits - } - return nil -} - -func (m *Job) GetCompensationInfo() *CompensationInfo { - if m != nil { - return m.CompensationInfo - } - return nil -} - -func (m *Job) GetCustomAttributes() map[string]*CustomAttribute { - if m != nil { - return m.CustomAttributes - } - return nil -} - -func (m *Job) GetDegreeTypes() []DegreeType { - if m != nil { - return m.DegreeTypes - } - return nil -} - -func (m *Job) GetDepartment() string { - if m != nil { - return m.Department - } - return "" -} - -func (m *Job) GetEmploymentTypes() []EmploymentType { - if m != nil { - return m.EmploymentTypes - } - return nil -} - -func (m *Job) GetIncentives() string { - if m != nil { - return m.Incentives - } - return "" -} - -func (m *Job) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *Job) GetJobLevel() JobLevel { - if m != nil { - return m.JobLevel - } - return JobLevel_JOB_LEVEL_UNSPECIFIED -} - -func (m *Job) GetPromotionValue() int32 { - if m != nil { - return m.PromotionValue - } - return 0 -} - -func (m *Job) GetQualifications() string { - if m != nil { - return m.Qualifications - } - return "" -} - -func (m *Job) GetResponsibilities() string { - if m != nil { - return m.Responsibilities - } - return "" -} - -func (m *Job) GetPostingRegion() PostingRegion { - if m != nil { - return m.PostingRegion - } - return PostingRegion_POSTING_REGION_UNSPECIFIED -} - -// Deprecated: Do not use. -func (m *Job) GetVisibility() Visibility { - if m != nil { - return m.Visibility - } - return Visibility_VISIBILITY_UNSPECIFIED -} - -func (m *Job) GetJobStartTime() *timestamp.Timestamp { - if m != nil { - return m.JobStartTime - } - return nil -} - -func (m *Job) GetJobEndTime() *timestamp.Timestamp { - if m != nil { - return m.JobEndTime - } - return nil -} - -func (m *Job) GetPostingPublishTime() *timestamp.Timestamp { - if m != nil { - return m.PostingPublishTime - } - return nil -} - -func (m *Job) GetPostingExpireTime() *timestamp.Timestamp { - if m != nil { - return m.PostingExpireTime - } - return nil -} - -func (m *Job) GetPostingCreateTime() *timestamp.Timestamp { - if m != nil { - return m.PostingCreateTime - } - return nil -} - -func (m *Job) GetPostingUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.PostingUpdateTime - } - return nil -} - -func (m *Job) GetCompanyDisplayName() string { - if m != nil { - return m.CompanyDisplayName - } - return "" -} - -func (m *Job) GetDerivedInfo() *Job_DerivedInfo { - if m != nil { - return m.DerivedInfo - } - return nil -} - -func (m *Job) GetProcessingOptions() *Job_ProcessingOptions { - if m != nil { - return m.ProcessingOptions - } - return nil -} - -// Application related details of a job posting. -type Job_ApplicationInfo struct { - // Use this field to specify email address(es) to which resumes or - // applications can be sent. - // - // The maximum number of allowed characters for each entry is 255. - Emails []string `protobuf:"bytes,1,rep,name=emails,proto3" json:"emails,omitempty"` - // Use this field to provide instructions, such as "Mail your application - // to ...", that a candidate can follow to apply for the job. - // - // This field accepts and sanitizes HTML input, and also accepts - // bold, italic, ordered list, and unordered list markup tags. - // - // The maximum number of allowed characters is 3,000. - Instruction string `protobuf:"bytes,2,opt,name=instruction,proto3" json:"instruction,omitempty"` - // Use this URI field to direct an applicant to a website, for example to - // link to an online application form. - // - // The maximum number of allowed characters for each entry is 2,000. - Uris []string `protobuf:"bytes,3,rep,name=uris,proto3" json:"uris,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Job_ApplicationInfo) Reset() { *m = Job_ApplicationInfo{} } -func (m *Job_ApplicationInfo) String() string { return proto.CompactTextString(m) } -func (*Job_ApplicationInfo) ProtoMessage() {} -func (*Job_ApplicationInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_c717d27462774c27, []int{0, 0} -} - -func (m *Job_ApplicationInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Job_ApplicationInfo.Unmarshal(m, b) -} -func (m *Job_ApplicationInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Job_ApplicationInfo.Marshal(b, m, deterministic) -} -func (m *Job_ApplicationInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_Job_ApplicationInfo.Merge(m, src) -} -func (m *Job_ApplicationInfo) XXX_Size() int { - return xxx_messageInfo_Job_ApplicationInfo.Size(m) -} -func (m *Job_ApplicationInfo) XXX_DiscardUnknown() { - xxx_messageInfo_Job_ApplicationInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_Job_ApplicationInfo proto.InternalMessageInfo - -func (m *Job_ApplicationInfo) GetEmails() []string { - if m != nil { - return m.Emails - } - return nil -} - -func (m *Job_ApplicationInfo) GetInstruction() string { - if m != nil { - return m.Instruction - } - return "" -} - -func (m *Job_ApplicationInfo) GetUris() []string { - if m != nil { - return m.Uris - } - return nil -} - -// Derived details about the job posting. -type Job_DerivedInfo struct { - // Structured locations of the job, resolved from - // [Job.addresses][google.cloud.talent.v4beta1.Job.addresses]. - // - // [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are - // exactly matched to - // [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same - // order. - Locations []*Location `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"` - // Job categories derived from - // [Job.title][google.cloud.talent.v4beta1.Job.title] and - // [Job.description][google.cloud.talent.v4beta1.Job.description]. - JobCategories []JobCategory `protobuf:"varint,3,rep,packed,name=job_categories,json=jobCategories,proto3,enum=google.cloud.talent.v4beta1.JobCategory" json:"job_categories,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Job_DerivedInfo) Reset() { *m = Job_DerivedInfo{} } -func (m *Job_DerivedInfo) String() string { return proto.CompactTextString(m) } -func (*Job_DerivedInfo) ProtoMessage() {} -func (*Job_DerivedInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_c717d27462774c27, []int{0, 1} -} - -func (m *Job_DerivedInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Job_DerivedInfo.Unmarshal(m, b) -} -func (m *Job_DerivedInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Job_DerivedInfo.Marshal(b, m, deterministic) -} -func (m *Job_DerivedInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_Job_DerivedInfo.Merge(m, src) -} -func (m *Job_DerivedInfo) XXX_Size() int { - return xxx_messageInfo_Job_DerivedInfo.Size(m) -} -func (m *Job_DerivedInfo) XXX_DiscardUnknown() { - xxx_messageInfo_Job_DerivedInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_Job_DerivedInfo proto.InternalMessageInfo - -func (m *Job_DerivedInfo) GetLocations() []*Location { - if m != nil { - return m.Locations - } - return nil -} - -func (m *Job_DerivedInfo) GetJobCategories() []JobCategory { - if m != nil { - return m.JobCategories - } - return nil -} - -// Options for job processing. -type Job_ProcessingOptions struct { - // If set to `true`, the service does not attempt to resolve a - // more precise address for the job. - DisableStreetAddressResolution bool `protobuf:"varint,1,opt,name=disable_street_address_resolution,json=disableStreetAddressResolution,proto3" json:"disable_street_address_resolution,omitempty"` - // Option for job HTML content sanitization. Applied fields are: - // - // * description - // * applicationInfo.instruction - // * incentives - // * qualifications - // * responsibilities - // - // HTML tags in these fields may be stripped if sanitiazation isn't - // disabled. - // - // Defaults to - // [HtmlSanitization.SIMPLE_FORMATTING_ONLY][google.cloud.talent.v4beta1.HtmlSanitization.SIMPLE_FORMATTING_ONLY]. - HtmlSanitization HtmlSanitization `protobuf:"varint,2,opt,name=html_sanitization,json=htmlSanitization,proto3,enum=google.cloud.talent.v4beta1.HtmlSanitization" json:"html_sanitization,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Job_ProcessingOptions) Reset() { *m = Job_ProcessingOptions{} } -func (m *Job_ProcessingOptions) String() string { return proto.CompactTextString(m) } -func (*Job_ProcessingOptions) ProtoMessage() {} -func (*Job_ProcessingOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_c717d27462774c27, []int{0, 2} -} - -func (m *Job_ProcessingOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Job_ProcessingOptions.Unmarshal(m, b) -} -func (m *Job_ProcessingOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Job_ProcessingOptions.Marshal(b, m, deterministic) -} -func (m *Job_ProcessingOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_Job_ProcessingOptions.Merge(m, src) -} -func (m *Job_ProcessingOptions) XXX_Size() int { - return xxx_messageInfo_Job_ProcessingOptions.Size(m) -} -func (m *Job_ProcessingOptions) XXX_DiscardUnknown() { - xxx_messageInfo_Job_ProcessingOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_Job_ProcessingOptions proto.InternalMessageInfo - -func (m *Job_ProcessingOptions) GetDisableStreetAddressResolution() bool { - if m != nil { - return m.DisableStreetAddressResolution - } - return false -} - -func (m *Job_ProcessingOptions) GetHtmlSanitization() HtmlSanitization { - if m != nil { - return m.HtmlSanitization - } - return HtmlSanitization_HTML_SANITIZATION_UNSPECIFIED -} - -func init() { - proto.RegisterType((*Job)(nil), "google.cloud.talent.v4beta1.Job") - proto.RegisterMapType((map[string]*CustomAttribute)(nil), "google.cloud.talent.v4beta1.Job.CustomAttributesEntry") - proto.RegisterType((*Job_ApplicationInfo)(nil), "google.cloud.talent.v4beta1.Job.ApplicationInfo") - proto.RegisterType((*Job_DerivedInfo)(nil), "google.cloud.talent.v4beta1.Job.DerivedInfo") - proto.RegisterType((*Job_ProcessingOptions)(nil), "google.cloud.talent.v4beta1.Job.ProcessingOptions") -} - -func init() { - proto.RegisterFile("google/cloud/talent/v4beta1/job.proto", fileDescriptor_c717d27462774c27) -} - -var fileDescriptor_c717d27462774c27 = []byte{ - // 1129 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x56, 0xdd, 0x72, 0x1b, 0x35, - 0x14, 0x9e, 0xf5, 0x36, 0x6d, 0x2d, 0x37, 0x8e, 0xad, 0xfe, 0xb0, 0x75, 0xff, 0x0c, 0x4c, 0xa9, - 0x27, 0x80, 0x0d, 0xe1, 0x67, 0x18, 0xe0, 0x82, 0xd8, 0xc9, 0x0c, 0x09, 0x19, 0x12, 0x36, 0x21, - 0x17, 0xe5, 0x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- 0xef, 0xa6, 0x54, 0x91, 0x38, 0x83, 0x48, 0x69, 0x09, 0xa0, 0x67, 0x6f, 0x90, 0x48, 0x82, 0xe2, - 0x59, 0x61, 0xf3, 0x60, 0x1e, 0x1e, 0xb7, 0xc3, 0xa7, 0x25, 0xf1, 0xdc, 0xf2, 0xf6, 0x1d, 0x2d, - 0x9c, 0xb3, 0x4c, 0xfb, 0xbc, 0xd2, 0x79, 0x16, 0x29, 0xc2, 0xa8, 0xa6, 0xbf, 0x93, 0x79, 0x0a, - 0xeb, 0x1b, 0xda, 0xe7, 0xf7, 0x3a, 0xcf, 0xce, 0x97, 0x44, 0x61, 0xe3, 0x6a, 0x05, 0x69, 0x5d, - 0xa3, 0xfb, 0x6f, 0x6c, 0x82, 0xb8, 0x81, 0xfc, 0x5f, 0x61, 0x5a, 0x3e, 0x8d, 0xcc, 0x10, 0xf7, - 0xd1, 0x96, 0xab, 0xd6, 0x95, 0xb7, 0x38, 0xa0, 0x2b, 0xa6, 0xa1, 0x93, 0x7e, 0x5d, 0xf9, 0xca, - 0xeb, 0xff, 0x81, 0x9e, 0x25, 0x3c, 0x5f, 0xa7, 0xee, 0x37, 0x8e, 0x79, 0x6c, 0x12, 0x50, 0xc8, - 0x04, 0xce, 0xcc, 0x05, 0x3c, 0xf3, 0x5e, 0xee, 0x97, 0x82, 0x11, 0x37, 0x1d, 0xa9, 0xcb, 0xe5, - 0xa8, 0x37, 0x02, 0x66, 0xaf, 0x67, 0xcf, 0x7d, 0x22, 0x82, 0xaa, 0x37, 0x3e, 0x20, 0xbf, 0x71, - 0xd3, 0x3f, 0x2b, 0xfe, 0xe0, 0xe2, 0x3c, 0xbe, 0x69, 0x35, 0x9f, 0xfd, 0x17, 0x00, 0x00, 0xff, - 0xff, 0x17, 0x9b, 0x91, 0xfd, 0xf6, 0x0a, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/job_service.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/job_service.pb.go deleted file mode 100644 index 7413f191..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/job_service.pb.go +++ /dev/null @@ -1,2308 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/talent/v4beta1/job_service.proto - -package talent - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/any" - duration "github.com/golang/protobuf/ptypes/duration" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// An enum that specifies the job attributes that are returned in the -// [MatchingJob.job][google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.job] -// or [ListJobsResponse.jobs][google.cloud.talent.v4beta1.ListJobsResponse.jobs] -// fields. -type JobView int32 - -const ( - // Default value. - JobView_JOB_VIEW_UNSPECIFIED JobView = 0 - // A ID only view of job, with following attributes: - // [Job.name][google.cloud.talent.v4beta1.Job.name], - // [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], - // [Job.language_code][google.cloud.talent.v4beta1.Job.language_code]. - JobView_JOB_VIEW_ID_ONLY JobView = 1 - // A minimal view of the job, with the following attributes: - // [Job.name][google.cloud.talent.v4beta1.Job.name], - // [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], - // [Job.title][google.cloud.talent.v4beta1.Job.title], - // [Job.company][google.cloud.talent.v4beta1.Job.company], - // [Job.DerivedInfo.locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations], - // [Job.language_code][google.cloud.talent.v4beta1.Job.language_code]. - JobView_JOB_VIEW_MINIMAL JobView = 2 - // A small view of the job, with the following attributes in the search - // results: [Job.name][google.cloud.talent.v4beta1.Job.name], - // [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], - // [Job.title][google.cloud.talent.v4beta1.Job.title], - // [Job.company][google.cloud.talent.v4beta1.Job.company], - // [Job.DerivedInfo.locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations], - // [Job.visibility][google.cloud.talent.v4beta1.Job.visibility], - // [Job.language_code][google.cloud.talent.v4beta1.Job.language_code], - // [Job.description][google.cloud.talent.v4beta1.Job.description]. - JobView_JOB_VIEW_SMALL JobView = 3 - // All available attributes are included in the search results. - JobView_JOB_VIEW_FULL JobView = 4 -) - -var JobView_name = map[int32]string{ - 0: "JOB_VIEW_UNSPECIFIED", - 1: "JOB_VIEW_ID_ONLY", - 2: "JOB_VIEW_MINIMAL", - 3: "JOB_VIEW_SMALL", - 4: "JOB_VIEW_FULL", -} - -var JobView_value = map[string]int32{ - "JOB_VIEW_UNSPECIFIED": 0, - "JOB_VIEW_ID_ONLY": 1, - "JOB_VIEW_MINIMAL": 2, - "JOB_VIEW_SMALL": 3, - "JOB_VIEW_FULL": 4, -} - -func (x JobView) String() string { - return proto.EnumName(JobView_name, int32(x)) -} - -func (JobView) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0dfa8e10f7799e35, []int{0} -} - -// A string-represented enumeration of the job search mode. The service -// operate differently for different modes of service. -type SearchJobsRequest_SearchMode int32 - -const ( - // The mode of the search method isn't specified. The default search - // behavior is identical to JOB_SEARCH search behavior. - SearchJobsRequest_SEARCH_MODE_UNSPECIFIED SearchJobsRequest_SearchMode = 0 - // The job search matches against all jobs, and featured jobs - // (jobs with promotionValue > 0) are not specially handled. - SearchJobsRequest_JOB_SEARCH SearchJobsRequest_SearchMode = 1 - // The job search matches only against featured jobs (jobs with a - // promotionValue > 0). This method doesn't return any jobs having a - // promotionValue <= 0. The search results order is determined by the - // promotionValue (jobs with a higher promotionValue are returned higher up - // in the search results), with relevance being used as a tiebreaker. - SearchJobsRequest_FEATURED_JOB_SEARCH SearchJobsRequest_SearchMode = 2 -) - -var SearchJobsRequest_SearchMode_name = map[int32]string{ - 0: "SEARCH_MODE_UNSPECIFIED", - 1: "JOB_SEARCH", - 2: "FEATURED_JOB_SEARCH", -} - -var SearchJobsRequest_SearchMode_value = map[string]int32{ - "SEARCH_MODE_UNSPECIFIED": 0, - "JOB_SEARCH": 1, - "FEATURED_JOB_SEARCH": 2, -} - -func (x SearchJobsRequest_SearchMode) String() string { - return proto.EnumName(SearchJobsRequest_SearchMode_name, int32(x)) -} - -func (SearchJobsRequest_SearchMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0dfa8e10f7799e35, []int{7, 0} -} - -// Controls whether highly similar jobs are returned next to each other in -// the search results. Jobs are identified as highly similar based on -// their titles, job categories, and locations. Highly similar results are -// clustered so that only one representative job of the cluster is -// displayed to the job seeker higher up in the results, with the other jobs -// being displayed lower down in the results. -type SearchJobsRequest_DiversificationLevel int32 - -const ( - // The diversification level isn't specified. - SearchJobsRequest_DIVERSIFICATION_LEVEL_UNSPECIFIED SearchJobsRequest_DiversificationLevel = 0 - // Disables diversification. Jobs that would normally be pushed to the last - // page would not have their positions altered. This may result in highly - // similar jobs appearing in sequence in the search results. - SearchJobsRequest_DISABLED SearchJobsRequest_DiversificationLevel = 1 - // Default diversifying behavior. The result list is ordered so that - // highly similar results are pushed to the end of the last page of search - // results. - SearchJobsRequest_SIMPLE SearchJobsRequest_DiversificationLevel = 2 -) - -var SearchJobsRequest_DiversificationLevel_name = map[int32]string{ - 0: "DIVERSIFICATION_LEVEL_UNSPECIFIED", - 1: "DISABLED", - 2: "SIMPLE", -} - -var SearchJobsRequest_DiversificationLevel_value = map[string]int32{ - "DIVERSIFICATION_LEVEL_UNSPECIFIED": 0, - "DISABLED": 1, - "SIMPLE": 2, -} - -func (x SearchJobsRequest_DiversificationLevel) String() string { - return proto.EnumName(SearchJobsRequest_DiversificationLevel_name, int32(x)) -} - -func (SearchJobsRequest_DiversificationLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0dfa8e10f7799e35, []int{7, 1} -} - -// The importance level for -// [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression]. -type SearchJobsRequest_CustomRankingInfo_ImportanceLevel int32 - -const ( - // Default value if the importance level isn't specified. - SearchJobsRequest_CustomRankingInfo_IMPORTANCE_LEVEL_UNSPECIFIED SearchJobsRequest_CustomRankingInfo_ImportanceLevel = 0 - // The given ranking expression is of None importance, existing relevance - // score (determined by API algorithm) dominates job's final ranking - // position. - SearchJobsRequest_CustomRankingInfo_NONE SearchJobsRequest_CustomRankingInfo_ImportanceLevel = 1 - // The given ranking expression is of Low importance in terms of job's - // final ranking position compared to existing relevance - // score (determined by API algorithm). - SearchJobsRequest_CustomRankingInfo_LOW SearchJobsRequest_CustomRankingInfo_ImportanceLevel = 2 - // The given ranking expression is of Mild importance in terms of job's - // final ranking position compared to existing relevance - // score (determined by API algorithm). - SearchJobsRequest_CustomRankingInfo_MILD SearchJobsRequest_CustomRankingInfo_ImportanceLevel = 3 - // The given ranking expression is of Medium importance in terms of job's - // final ranking position compared to existing relevance - // score (determined by API algorithm). - SearchJobsRequest_CustomRankingInfo_MEDIUM SearchJobsRequest_CustomRankingInfo_ImportanceLevel = 4 - // The given ranking expression is of High importance in terms of job's - // final ranking position compared to existing relevance - // score (determined by API algorithm). - SearchJobsRequest_CustomRankingInfo_HIGH SearchJobsRequest_CustomRankingInfo_ImportanceLevel = 5 - // The given ranking expression is of Extreme importance, and dominates - // job's final ranking position with existing relevance - // score (determined by API algorithm) ignored. - SearchJobsRequest_CustomRankingInfo_EXTREME SearchJobsRequest_CustomRankingInfo_ImportanceLevel = 6 -) - -var SearchJobsRequest_CustomRankingInfo_ImportanceLevel_name = map[int32]string{ - 0: "IMPORTANCE_LEVEL_UNSPECIFIED", - 1: "NONE", - 2: "LOW", - 3: "MILD", - 4: "MEDIUM", - 5: "HIGH", - 6: "EXTREME", -} - -var SearchJobsRequest_CustomRankingInfo_ImportanceLevel_value = map[string]int32{ - "IMPORTANCE_LEVEL_UNSPECIFIED": 0, - "NONE": 1, - "LOW": 2, - "MILD": 3, - "MEDIUM": 4, - "HIGH": 5, - "EXTREME": 6, -} - -func (x SearchJobsRequest_CustomRankingInfo_ImportanceLevel) String() string { - return proto.EnumName(SearchJobsRequest_CustomRankingInfo_ImportanceLevel_name, int32(x)) -} - -func (SearchJobsRequest_CustomRankingInfo_ImportanceLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0dfa8e10f7799e35, []int{7, 0, 0} -} - -// Create job request. -type CreateJobRequest struct { - // Required. The resource name of the tenant under which the job is created. - // - // The format is "projects/{project_id}/tenants/{tenant_id}". For example, - // "projects/foo/tenant/bar". If tenant id is unspecified a default tenant - // is created. For example, "projects/foo". - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The Job to be created. - 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_0dfa8e10f7799e35, []int{0} -} - -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 (m *CreateJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateJobRequest.Merge(m, 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 -} - -// Get job request. -type GetJobRequest struct { - // Required. The resource name of the job to retrieve. - // - // The format is - // "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For - // example, "projects/foo/tenants/bar/jobs/baz". - // - // If tenant id is unspecified, the default tenant is used. For - // example, "projects/foo/jobs/bar". - 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_0dfa8e10f7799e35, []int{1} -} - -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 (m *GetJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetJobRequest.Merge(m, 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 "" -} - -// Update job request. -type UpdateJobRequest struct { - // Required. The Job to be updated. - Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` - // Strongly recommended for the best service experience. - // - // If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] - // is provided, only the specified fields in - // [job][google.cloud.talent.v4beta1.UpdateJobRequest.job] are updated. - // Otherwise all the fields are updated. - // - // A field mask to restrict the fields that are updated. Only - // top level fields of [Job][google.cloud.talent.v4beta1.Job] are supported. - 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_0dfa8e10f7799e35, []int{2} -} - -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 (m *UpdateJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateJobRequest.Merge(m, 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 -} - -// Delete job request. -type DeleteJobRequest struct { - // Required. The resource name of the job to be deleted. - // - // The format is - // "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For - // example, "projects/foo/tenants/bar/jobs/baz". - // - // If tenant id is unspecified, the default tenant is used. For - // example, "projects/foo/jobs/bar". - 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_0dfa8e10f7799e35, []int{3} -} - -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 (m *DeleteJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteJobRequest.Merge(m, 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 "" -} - -// Batch delete jobs request. -type BatchDeleteJobsRequest struct { - // Required. The resource name of the tenant under which the job is created. - // - // The format is "projects/{project_id}/tenants/{tenant_id}". For example, - // "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant - // is created. For example, "projects/foo". - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The filter string specifies the jobs to be deleted. - // - // Supported operator: =, AND - // - // The fields eligible for filtering are: - // - // * `companyName` (Required) - // * `requisitionId` (Required) - // - // Sample Query: companyName = "projects/foo/companies/bar" AND - // requisitionId = "req-1" - 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 *BatchDeleteJobsRequest) Reset() { *m = BatchDeleteJobsRequest{} } -func (m *BatchDeleteJobsRequest) String() string { return proto.CompactTextString(m) } -func (*BatchDeleteJobsRequest) ProtoMessage() {} -func (*BatchDeleteJobsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0dfa8e10f7799e35, []int{4} -} - -func (m *BatchDeleteJobsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchDeleteJobsRequest.Unmarshal(m, b) -} -func (m *BatchDeleteJobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchDeleteJobsRequest.Marshal(b, m, deterministic) -} -func (m *BatchDeleteJobsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchDeleteJobsRequest.Merge(m, src) -} -func (m *BatchDeleteJobsRequest) XXX_Size() int { - return xxx_messageInfo_BatchDeleteJobsRequest.Size(m) -} -func (m *BatchDeleteJobsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchDeleteJobsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchDeleteJobsRequest proto.InternalMessageInfo - -func (m *BatchDeleteJobsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *BatchDeleteJobsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -// List jobs request. -type ListJobsRequest struct { - // Required. The resource name of the tenant under which the job is created. - // - // The format is "projects/{project_id}/tenants/{tenant_id}". For example, - // "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant - // is created. For example, "projects/foo". - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The filter string specifies the jobs to be enumerated. - // - // Supported operator: =, AND - // - // The fields eligible for filtering are: - // - // * `companyName` (Required) - // * `requisitionId` - // * `status` Available values: OPEN, EXPIRED, ALL. Defaults to - // OPEN if no value is specified. - // - // Sample Query: - // - // * companyName = "projects/foo/tenants/bar/companies/baz" - // * companyName = "projects/foo/tenants/bar/companies/baz" AND - // requisitionId = "req-1" - // * companyName = "projects/foo/tenants/bar/companies/baz" AND - // status = "EXPIRED" - Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` - // The starting point of a query result. - PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // The maximum number of jobs to be returned per page of results. - // - // If [job_view][google.cloud.talent.v4beta1.ListJobsRequest.job_view] is set - // to - // [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4beta1.JobView.JOB_VIEW_ID_ONLY], - // the maximum allowed page size is 1000. Otherwise, the maximum allowed page - // size is 100. - // - // Default is 100 if empty or a number < 1 is specified. - PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // The desired job attributes returned for jobs in the - // search response. Defaults to - // [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] - // if no value is specified. - JobView JobView `protobuf:"varint,5,opt,name=job_view,json=jobView,proto3,enum=google.cloud.talent.v4beta1.JobView" json:"job_view,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_0dfa8e10f7799e35, []int{5} -} - -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 (m *ListJobsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListJobsRequest.Merge(m, 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) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListJobsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListJobsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListJobsRequest) GetJobView() JobView { - if m != nil { - return m.JobView - } - return JobView_JOB_VIEW_UNSPECIFIED -} - -// List jobs response. -type ListJobsResponse struct { - // The Jobs for a given company. - // - // The maximum number of items returned is based on the limit field - // provided in the request. - Jobs []*Job `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"` - // A token to retrieve the next page of results. - NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - // Additional information for the API invocation, such as the request - // tracking id. - Metadata *ResponseMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,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_0dfa8e10f7799e35, []int{6} -} - -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 (m *ListJobsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListJobsResponse.Merge(m, 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 "" -} - -func (m *ListJobsResponse) GetMetadata() *ResponseMetadata { - if m != nil { - return m.Metadata - } - return nil -} - -// The Request body of the `SearchJobs` call. -type SearchJobsRequest struct { - // Required. The resource name of the tenant to search within. - // - // The format is "projects/{project_id}/tenants/{tenant_id}". For example, - // "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant - // is created. For example, "projects/foo". - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Mode of a search. - // - // Defaults to - // [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH]. - SearchMode SearchJobsRequest_SearchMode `protobuf:"varint,2,opt,name=search_mode,json=searchMode,proto3,enum=google.cloud.talent.v4beta1.SearchJobsRequest_SearchMode" json:"search_mode,omitempty"` - // Required. The meta information collected about the job searcher, used to - // improve the search quality of the service. The identifiers (such as - // `user_id`) are provided by users, and must be unique and consistent. - RequestMetadata *RequestMetadata `protobuf:"bytes,3,opt,name=request_metadata,json=requestMetadata,proto3" json:"request_metadata,omitempty"` - // Query used to search against jobs, such as keyword, location filters, etc. - JobQuery *JobQuery `protobuf:"bytes,4,opt,name=job_query,json=jobQuery,proto3" json:"job_query,omitempty"` - // Controls whether to broaden the search when it produces sparse results. - // Broadened queries append results to the end of the matching results - // list. - // - // Defaults to false. - EnableBroadening bool `protobuf:"varint,5,opt,name=enable_broadening,json=enableBroadening,proto3" json:"enable_broadening,omitempty"` - // Controls if the search job request requires the return of a precise - // count of the first 300 results. Setting this to `true` ensures - // consistency in the number of results per page. Best practice is to set this - // value to true if a client allows users to jump directly to a - // non-sequential search results page. - // - // Enabling this flag may adversely impact performance. - // - // Defaults to false. - RequirePreciseResultSize bool `protobuf:"varint,6,opt,name=require_precise_result_size,json=requirePreciseResultSize,proto3" json:"require_precise_result_size,omitempty"` - // An expression specifies a histogram request against matching jobs. - // - // Expression syntax is an aggregation function call with histogram facets and - // other options. - // - // Available aggregation function calls are: - // * `count(string_histogram_facet)`: Count the number of matching entities, - // for each distinct attribute value. - // * `count(numeric_histogram_facet, list of buckets)`: Count the number of - // matching entities within each bucket. - // - // Data types: - // - // * Histogram facet: facet names with format [a-zA-Z][a-zA-Z0-9_]+. - // * String: string like "any string with backslash escape for quote(\")." - // * Number: whole number and floating point number like 10, -1 and -0.01. - // * List: list of elements with comma(,) separator surrounded by square - // brackets, for example, [1, 2, 3] and ["one", "two", "three"]. - // - // Built-in constants: - // - // * MIN (minimum number similar to java Double.MIN_VALUE) - // * MAX (maximum number similar to java Double.MAX_VALUE) - // - // Built-in functions: - // - // * bucket(start, end[, label]): bucket built-in function creates a bucket - // with range of [start, end). Note that the end is exclusive, for example, - // bucket(1, MAX, "positive number") or bucket(1, 10). - // - // Job histogram facets: - // - // * company_display_name: histogram by - // [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name]. - // * employment_type: histogram by - // [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types], - // for example, - // "FULL_TIME", "PART_TIME". - // * company_size: histogram by - // [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example, - // "SMALL", "MEDIUM", "BIG". - // * publish_time_in_month: histogram by the - // [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time] - // in months. - // Must specify list of numeric buckets in spec. - // * publish_time_in_year: histogram by the - // [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time] - // in years. - // Must specify list of numeric buckets in spec. - // * degree_types: histogram by the - // [Job.degree_types][google.cloud.talent.v4beta1.Job.degree_types], for - // example, - // "Bachelors", "Masters". - // * job_level: histogram by the - // [Job.job_level][google.cloud.talent.v4beta1.Job.job_level], for example, - // "Entry - // Level". - // * country: histogram by the country code of jobs, for example, "US", "FR". - // * admin1: histogram by the admin1 code of jobs, which is a global - // placeholder referring to the state, province, or the particular term a - // country uses to define the geographic structure below the country level, - // for example, "CA", "IL". - // * city: histogram by a combination of the "city name, admin1 code". For - // example, "Mountain View, CA", "New York, NY". - // * admin1_country: histogram by a combination of the "admin1 code, country", - // for example, "CA, US", "IL, US". - // * city_coordinate: histogram by the city center's GPS coordinates (latitude - // and longitude), for example, 37.4038522,-122.0987765. Since the - // coordinates of a city center can change, customers may need to refresh - // them periodically. - // * locale: histogram by the - // [Job.language_code][google.cloud.talent.v4beta1.Job.language_code], for - // example, "en-US", - // "fr-FR". - // * language: histogram by the language subtag of the - // [Job.language_code][google.cloud.talent.v4beta1.Job.language_code], - // for example, "en", "fr". - // * category: histogram by the - // [JobCategory][google.cloud.talent.v4beta1.JobCategory], for example, - // "COMPUTER_AND_IT", "HEALTHCARE". - // * base_compensation_unit: histogram by the - // [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit] - // of base salary, for example, "WEEKLY", "MONTHLY". - // * base_compensation: histogram by the base salary. Must specify list of - // numeric buckets to group results by. - // * annualized_base_compensation: histogram by the base annualized salary. - // Must specify list of numeric buckets to group results by. - // * annualized_total_compensation: histogram by the total annualized salary. - // Must specify list of numeric buckets to group results by. - // * string_custom_attribute: histogram by string - // [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes]. - // Values can be accessed via square bracket notations like - // string_custom_attribute["key1"]. - // * numeric_custom_attribute: histogram by numeric - // [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes]. - // Values can be accessed via square bracket notations like - // numeric_custom_attribute["key1"]. Must specify list of numeric buckets to - // group results by. - // - // Example expressions: - // - // * `count(admin1)` - // * `count(base_compensation, [bucket(1000, 10000), bucket(10000, 100000), - // bucket(100000, MAX)])` - // * `count(string_custom_attribute["some-string-custom-attribute"])` - // * `count(numeric_custom_attribute["some-numeric-custom-attribute"], - // [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])` - HistogramQueries []*HistogramQuery `protobuf:"bytes,7,rep,name=histogram_queries,json=histogramQueries,proto3" json:"histogram_queries,omitempty"` - // The desired job attributes returned for jobs in the search response. - // Defaults to - // [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] - // if no value is specified. - JobView JobView `protobuf:"varint,8,opt,name=job_view,json=jobView,proto3,enum=google.cloud.talent.v4beta1.JobView" json:"job_view,omitempty"` - // An integer that specifies the current offset (that is, starting result - // location, amongst the jobs deemed by the API as relevant) in search - // results. This field is only considered if - // [page_token][google.cloud.talent.v4beta1.SearchJobsRequest.page_token] is - // unset. - // - // For example, 0 means to return results starting from the first matching - // job, and 10 means to return from the 11th job. This can be used for - // pagination, (for example, pageSize = 10 and offset = 10 means to return - // from the second page). - Offset int32 `protobuf:"varint,9,opt,name=offset,proto3" json:"offset,omitempty"` - // A limit on the number of jobs returned in the search results. - // Increasing this value above the default value of 10 can increase search - // response time. The value can be between 1 and 100. - PageSize int32 `protobuf:"varint,10,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // The token specifying the current offset within - // search results. See - // [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] - // for an explanation of how to obtain the next set of query results. - PageToken string `protobuf:"bytes,11,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // The criteria determining how search results are sorted. Default is - // `"relevance desc"`. - // - // Supported options are: - // - // * `"relevance desc"`: By relevance descending, as determined by the API - // algorithms. Relevance thresholding of query results is only available - // with this ordering. - // * `"posting_publish_time desc"`: By - // [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time] - // descending. - // * `"posting_update_time desc"`: By - // [Job.posting_update_time][google.cloud.talent.v4beta1.Job.posting_update_time] - // descending. - // * `"title"`: By [Job.title][google.cloud.talent.v4beta1.Job.title] - // ascending. - // * `"title desc"`: By [Job.title][google.cloud.talent.v4beta1.Job.title] - // descending. - // * `"annualized_base_compensation"`: By job's - // [CompensationInfo.annualized_base_compensation_range][google.cloud.talent.v4beta1.CompensationInfo.annualized_base_compensation_range] - // ascending. Jobs whose annualized base compensation is unspecified are put - // at the end of search results. - // * `"annualized_base_compensation desc"`: By job's - // [CompensationInfo.annualized_base_compensation_range][google.cloud.talent.v4beta1.CompensationInfo.annualized_base_compensation_range] - // descending. Jobs whose annualized base compensation is unspecified are - // put at the end of search results. - // * `"annualized_total_compensation"`: By job's - // [CompensationInfo.annualized_total_compensation_range][google.cloud.talent.v4beta1.CompensationInfo.annualized_total_compensation_range] - // ascending. Jobs whose annualized base compensation is unspecified are put - // at the end of search results. - // * `"annualized_total_compensation desc"`: By job's - // [CompensationInfo.annualized_total_compensation_range][google.cloud.talent.v4beta1.CompensationInfo.annualized_total_compensation_range] - // descending. Jobs whose annualized base compensation is unspecified are - // put at the end of search results. - // * `"custom_ranking desc"`: By the relevance score adjusted to the - // [SearchJobsRequest.CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] - // with weight factor assigned by - // [SearchJobsRequest.CustomRankingInfo.importance_level][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.importance_level] - // in descending order. - // * Location sorting: Use the special syntax to order jobs by distance:
- // `"distance_from('Hawaii')"`: Order by distance from Hawaii.
- // `"distance_from(19.89, 155.5)"`: Order by distance from a coordinate.
- // `"distance_from('Hawaii'), distance_from('Puerto Rico')"`: Order by - // multiple locations. See details below.
- // `"distance_from('Hawaii'), distance_from(19.89, 155.5)"`: Order by - // multiple locations. See details below.
- // The string can have a maximum of 256 characters. When multiple distance - // centers are provided, a job that is close to any of the distance centers - // would have a high rank. When a job has multiple locations, the job - // location closest to one of the distance centers will be used. Jobs that - // don't have locations will be ranked at the bottom. Distance is calculated - // with a precision of 11.3 meters (37.4 feet). Diversification strategy is - // still applied unless explicitly disabled in - // [diversification_level][google.cloud.talent.v4beta1.SearchJobsRequest.diversification_level]. - OrderBy string `protobuf:"bytes,12,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` - // Controls whether highly similar jobs are returned next to each other in - // the search results. Jobs are identified as highly similar based on - // their titles, job categories, and locations. Highly similar results are - // clustered so that only one representative job of the cluster is - // displayed to the job seeker higher up in the results, with the other jobs - // being displayed lower down in the results. - // - // Defaults to - // [DiversificationLevel.SIMPLE][google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.SIMPLE] - // if no value is specified. - DiversificationLevel SearchJobsRequest_DiversificationLevel `protobuf:"varint,13,opt,name=diversification_level,json=diversificationLevel,proto3,enum=google.cloud.talent.v4beta1.SearchJobsRequest_DiversificationLevel" json:"diversification_level,omitempty"` - // Controls over how job documents get ranked on top of existing relevance - // score (determined by API algorithm). - CustomRankingInfo *SearchJobsRequest_CustomRankingInfo `protobuf:"bytes,14,opt,name=custom_ranking_info,json=customRankingInfo,proto3" json:"custom_ranking_info,omitempty"` - // Controls whether to disable exact keyword match on - // [Job.title][google.cloud.talent.v4beta1.Job.title], - // [Job.description][google.cloud.talent.v4beta1.Job.description], - // [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name], - // [Job.addresses][google.cloud.talent.v4beta1.Job.addresses], - // [Job.qualifications][google.cloud.talent.v4beta1.Job.qualifications]. When - // disable keyword match is turned off, a keyword match returns jobs that do - // not match given category filters when there are matching keywords. For - // example, for the query "program manager," a result is returned even if the - // job posting has the title "software developer," which doesn't fall into - // "program manager" ontology, but does have "program manager" appearing in - // its description. - // - // For queries like "cloud" that don't contain title or - // location specific ontology, jobs with "cloud" keyword matches are returned - // regardless of this flag's value. - // - // Use - // [Company.keyword_searchable_job_custom_attributes][google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes] - // if company-specific globally matched custom field/attribute string values - // are needed. Enabling keyword match improves recall of subsequent search - // requests. - // - // Defaults to false. - DisableKeywordMatch bool `protobuf:"varint,16,opt,name=disable_keyword_match,json=disableKeywordMatch,proto3" json:"disable_keyword_match,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SearchJobsRequest) Reset() { *m = SearchJobsRequest{} } -func (m *SearchJobsRequest) String() string { return proto.CompactTextString(m) } -func (*SearchJobsRequest) ProtoMessage() {} -func (*SearchJobsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0dfa8e10f7799e35, []int{7} -} - -func (m *SearchJobsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchJobsRequest.Unmarshal(m, b) -} -func (m *SearchJobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchJobsRequest.Marshal(b, m, deterministic) -} -func (m *SearchJobsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchJobsRequest.Merge(m, src) -} -func (m *SearchJobsRequest) XXX_Size() int { - return xxx_messageInfo_SearchJobsRequest.Size(m) -} -func (m *SearchJobsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SearchJobsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchJobsRequest proto.InternalMessageInfo - -func (m *SearchJobsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *SearchJobsRequest) GetSearchMode() SearchJobsRequest_SearchMode { - if m != nil { - return m.SearchMode - } - return SearchJobsRequest_SEARCH_MODE_UNSPECIFIED -} - -func (m *SearchJobsRequest) GetRequestMetadata() *RequestMetadata { - if m != nil { - return m.RequestMetadata - } - return nil -} - -func (m *SearchJobsRequest) GetJobQuery() *JobQuery { - if m != nil { - return m.JobQuery - } - return nil -} - -func (m *SearchJobsRequest) GetEnableBroadening() bool { - if m != nil { - return m.EnableBroadening - } - return false -} - -func (m *SearchJobsRequest) GetRequirePreciseResultSize() bool { - if m != nil { - return m.RequirePreciseResultSize - } - return false -} - -func (m *SearchJobsRequest) GetHistogramQueries() []*HistogramQuery { - if m != nil { - return m.HistogramQueries - } - return nil -} - -func (m *SearchJobsRequest) GetJobView() JobView { - if m != nil { - return m.JobView - } - return JobView_JOB_VIEW_UNSPECIFIED -} - -func (m *SearchJobsRequest) GetOffset() int32 { - if m != nil { - return m.Offset - } - return 0 -} - -func (m *SearchJobsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *SearchJobsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *SearchJobsRequest) GetOrderBy() string { - if m != nil { - return m.OrderBy - } - return "" -} - -func (m *SearchJobsRequest) GetDiversificationLevel() SearchJobsRequest_DiversificationLevel { - if m != nil { - return m.DiversificationLevel - } - return SearchJobsRequest_DIVERSIFICATION_LEVEL_UNSPECIFIED -} - -func (m *SearchJobsRequest) GetCustomRankingInfo() *SearchJobsRequest_CustomRankingInfo { - if m != nil { - return m.CustomRankingInfo - } - return nil -} - -func (m *SearchJobsRequest) GetDisableKeywordMatch() bool { - if m != nil { - return m.DisableKeywordMatch - } - return false -} - -// Custom ranking information for -// [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest]. -type SearchJobsRequest_CustomRankingInfo struct { - // Required. Controls over how important the score of - // [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] - // gets applied to job's final ranking position. - // - // An error is thrown if not specified. - ImportanceLevel SearchJobsRequest_CustomRankingInfo_ImportanceLevel `protobuf:"varint,1,opt,name=importance_level,json=importanceLevel,proto3,enum=google.cloud.talent.v4beta1.SearchJobsRequest_CustomRankingInfo_ImportanceLevel" json:"importance_level,omitempty"` - // Required. Controls over how job documents get ranked on top of existing - // relevance score (determined by API algorithm). The product of ranking - // expression and relevance score is used to determine job's final ranking - // position. - // - // The syntax for this expression is a subset of Google SQL syntax. - // - // Supported operators are: +, -, *, /, where the left and right side of - // the operator is either a numeric - // [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] - // key, integer/double value or an expression that can be evaluated to a - // number. - // - // Parenthesis are supported to adjust calculation precedence. The - // expression must be < 100 characters in length. - // - // Sample ranking expression - // (year + 25) * 0.25 - (freshness / 0.5) - RankingExpression string `protobuf:"bytes,2,opt,name=ranking_expression,json=rankingExpression,proto3" json:"ranking_expression,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SearchJobsRequest_CustomRankingInfo) Reset() { *m = SearchJobsRequest_CustomRankingInfo{} } -func (m *SearchJobsRequest_CustomRankingInfo) String() string { return proto.CompactTextString(m) } -func (*SearchJobsRequest_CustomRankingInfo) ProtoMessage() {} -func (*SearchJobsRequest_CustomRankingInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_0dfa8e10f7799e35, []int{7, 0} -} - -func (m *SearchJobsRequest_CustomRankingInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchJobsRequest_CustomRankingInfo.Unmarshal(m, b) -} -func (m *SearchJobsRequest_CustomRankingInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchJobsRequest_CustomRankingInfo.Marshal(b, m, deterministic) -} -func (m *SearchJobsRequest_CustomRankingInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchJobsRequest_CustomRankingInfo.Merge(m, src) -} -func (m *SearchJobsRequest_CustomRankingInfo) XXX_Size() int { - return xxx_messageInfo_SearchJobsRequest_CustomRankingInfo.Size(m) -} -func (m *SearchJobsRequest_CustomRankingInfo) XXX_DiscardUnknown() { - xxx_messageInfo_SearchJobsRequest_CustomRankingInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchJobsRequest_CustomRankingInfo proto.InternalMessageInfo - -func (m *SearchJobsRequest_CustomRankingInfo) GetImportanceLevel() SearchJobsRequest_CustomRankingInfo_ImportanceLevel { - if m != nil { - return m.ImportanceLevel - } - return SearchJobsRequest_CustomRankingInfo_IMPORTANCE_LEVEL_UNSPECIFIED -} - -func (m *SearchJobsRequest_CustomRankingInfo) GetRankingExpression() string { - if m != nil { - return m.RankingExpression - } - return "" -} - -// Response for SearchJob method. -type SearchJobsResponse struct { - // The Job entities that match the specified - // [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest]. - MatchingJobs []*SearchJobsResponse_MatchingJob `protobuf:"bytes,1,rep,name=matching_jobs,json=matchingJobs,proto3" json:"matching_jobs,omitempty"` - // The histogram results that match with specified - // [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries]. - HistogramQueryResults []*HistogramQueryResult `protobuf:"bytes,2,rep,name=histogram_query_results,json=histogramQueryResults,proto3" json:"histogram_query_results,omitempty"` - // The token that specifies the starting position of the next page of results. - // This field is 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 location filters that the service applied to the specified query. If - // any filters are lat-lng based, the - // [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] - // is - // [Location.LocationType.LOCATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.Location.LocationType.LOCATION_TYPE_UNSPECIFIED]. - LocationFilters []*Location `protobuf:"bytes,4,rep,name=location_filters,json=locationFilters,proto3" json:"location_filters,omitempty"` - // An estimation of the number of jobs that match the specified query. - // - // This number isn't guaranteed to be accurate. For accurate results, - // see - // [SearchJobsRequest.require_precise_result_size][google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size]. - EstimatedTotalSize int32 `protobuf:"varint,5,opt,name=estimated_total_size,json=estimatedTotalSize,proto3" json:"estimated_total_size,omitempty"` - // The precise result count, which is available only if the client set - // [SearchJobsRequest.require_precise_result_size][google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size] - // to `true`, or if the response is the last page of results. Otherwise, the - // value is `-1`. - TotalSize int32 `protobuf:"varint,6,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` - // Additional information for the API invocation, such as the request - // tracking id. - Metadata *ResponseMetadata `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata,omitempty"` - // If query broadening is enabled, we may append additional results from the - // broadened query. This number indicates how many of the jobs returned in the - // jobs field are from the broadened query. These results are always at the - // end of the jobs list. In particular, a value of 0, or if the field isn't - // set, all the jobs in the jobs list are from the original - // (without broadening) query. If this field is non-zero, subsequent requests - // with offset after this result set should contain all broadened results. - BroadenedQueryJobsCount int32 `protobuf:"varint,8,opt,name=broadened_query_jobs_count,json=broadenedQueryJobsCount,proto3" json:"broadened_query_jobs_count,omitempty"` - // The spell checking result, and correction. - SpellCorrection *SpellingCorrection `protobuf:"bytes,9,opt,name=spell_correction,json=spellCorrection,proto3" json:"spell_correction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SearchJobsResponse) Reset() { *m = SearchJobsResponse{} } -func (m *SearchJobsResponse) String() string { return proto.CompactTextString(m) } -func (*SearchJobsResponse) ProtoMessage() {} -func (*SearchJobsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0dfa8e10f7799e35, []int{8} -} - -func (m *SearchJobsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchJobsResponse.Unmarshal(m, b) -} -func (m *SearchJobsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchJobsResponse.Marshal(b, m, deterministic) -} -func (m *SearchJobsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchJobsResponse.Merge(m, src) -} -func (m *SearchJobsResponse) XXX_Size() int { - return xxx_messageInfo_SearchJobsResponse.Size(m) -} -func (m *SearchJobsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SearchJobsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchJobsResponse proto.InternalMessageInfo - -func (m *SearchJobsResponse) GetMatchingJobs() []*SearchJobsResponse_MatchingJob { - if m != nil { - return m.MatchingJobs - } - return nil -} - -func (m *SearchJobsResponse) GetHistogramQueryResults() []*HistogramQueryResult { - if m != nil { - return m.HistogramQueryResults - } - return nil -} - -func (m *SearchJobsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -func (m *SearchJobsResponse) GetLocationFilters() []*Location { - if m != nil { - return m.LocationFilters - } - return nil -} - -func (m *SearchJobsResponse) GetEstimatedTotalSize() int32 { - if m != nil { - return m.EstimatedTotalSize - } - return 0 -} - -func (m *SearchJobsResponse) GetTotalSize() int32 { - if m != nil { - return m.TotalSize - } - return 0 -} - -func (m *SearchJobsResponse) GetMetadata() *ResponseMetadata { - if m != nil { - return m.Metadata - } - return nil -} - -func (m *SearchJobsResponse) GetBroadenedQueryJobsCount() int32 { - if m != nil { - return m.BroadenedQueryJobsCount - } - return 0 -} - -func (m *SearchJobsResponse) GetSpellCorrection() *SpellingCorrection { - if m != nil { - return m.SpellCorrection - } - return nil -} - -// Job entry with metadata inside -// [SearchJobsResponse][google.cloud.talent.v4beta1.SearchJobsResponse]. -type SearchJobsResponse_MatchingJob struct { - // Job resource that matches the specified - // [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest]. - Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` - // A summary of the job with core information that's displayed on the search - // results listing page. - JobSummary string `protobuf:"bytes,2,opt,name=job_summary,json=jobSummary,proto3" json:"job_summary,omitempty"` - // Contains snippets of text from the - // [Job.title][google.cloud.talent.v4beta1.Job.title] field most closely - // matching a search query's keywords, if available. The matching query - // keywords are enclosed in HTML bold tags. - JobTitleSnippet string `protobuf:"bytes,3,opt,name=job_title_snippet,json=jobTitleSnippet,proto3" json:"job_title_snippet,omitempty"` - // Contains snippets of text from the - // [Job.description][google.cloud.talent.v4beta1.Job.description] and - // similar fields that most closely match a search query's keywords, if - // available. All HTML tags in the original fields are stripped when - // returned in this field, and matching query keywords are enclosed in HTML - // bold tags. - SearchTextSnippet string `protobuf:"bytes,4,opt,name=search_text_snippet,json=searchTextSnippet,proto3" json:"search_text_snippet,omitempty"` - // Commute information which is generated based on specified - // [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter]. - CommuteInfo *SearchJobsResponse_CommuteInfo `protobuf:"bytes,5,opt,name=commute_info,json=commuteInfo,proto3" json:"commute_info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SearchJobsResponse_MatchingJob) Reset() { *m = SearchJobsResponse_MatchingJob{} } -func (m *SearchJobsResponse_MatchingJob) String() string { return proto.CompactTextString(m) } -func (*SearchJobsResponse_MatchingJob) ProtoMessage() {} -func (*SearchJobsResponse_MatchingJob) Descriptor() ([]byte, []int) { - return fileDescriptor_0dfa8e10f7799e35, []int{8, 0} -} - -func (m *SearchJobsResponse_MatchingJob) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchJobsResponse_MatchingJob.Unmarshal(m, b) -} -func (m *SearchJobsResponse_MatchingJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchJobsResponse_MatchingJob.Marshal(b, m, deterministic) -} -func (m *SearchJobsResponse_MatchingJob) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchJobsResponse_MatchingJob.Merge(m, src) -} -func (m *SearchJobsResponse_MatchingJob) XXX_Size() int { - return xxx_messageInfo_SearchJobsResponse_MatchingJob.Size(m) -} -func (m *SearchJobsResponse_MatchingJob) XXX_DiscardUnknown() { - xxx_messageInfo_SearchJobsResponse_MatchingJob.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchJobsResponse_MatchingJob proto.InternalMessageInfo - -func (m *SearchJobsResponse_MatchingJob) GetJob() *Job { - if m != nil { - return m.Job - } - return nil -} - -func (m *SearchJobsResponse_MatchingJob) GetJobSummary() string { - if m != nil { - return m.JobSummary - } - return "" -} - -func (m *SearchJobsResponse_MatchingJob) GetJobTitleSnippet() string { - if m != nil { - return m.JobTitleSnippet - } - return "" -} - -func (m *SearchJobsResponse_MatchingJob) GetSearchTextSnippet() string { - if m != nil { - return m.SearchTextSnippet - } - return "" -} - -func (m *SearchJobsResponse_MatchingJob) GetCommuteInfo() *SearchJobsResponse_CommuteInfo { - if m != nil { - return m.CommuteInfo - } - return nil -} - -// Commute details related to this job. -type SearchJobsResponse_CommuteInfo struct { - // Location used as the destination in the commute calculation. - JobLocation *Location `protobuf:"bytes,1,opt,name=job_location,json=jobLocation,proto3" json:"job_location,omitempty"` - // The number of seconds required to travel to the job location from the - // query location. A duration of 0 seconds indicates that the job isn't - // reachable within the requested duration, but was returned as part of an - // expanded query. - TravelDuration *duration.Duration `protobuf:"bytes,2,opt,name=travel_duration,json=travelDuration,proto3" json:"travel_duration,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SearchJobsResponse_CommuteInfo) Reset() { *m = SearchJobsResponse_CommuteInfo{} } -func (m *SearchJobsResponse_CommuteInfo) String() string { return proto.CompactTextString(m) } -func (*SearchJobsResponse_CommuteInfo) ProtoMessage() {} -func (*SearchJobsResponse_CommuteInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_0dfa8e10f7799e35, []int{8, 1} -} - -func (m *SearchJobsResponse_CommuteInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchJobsResponse_CommuteInfo.Unmarshal(m, b) -} -func (m *SearchJobsResponse_CommuteInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchJobsResponse_CommuteInfo.Marshal(b, m, deterministic) -} -func (m *SearchJobsResponse_CommuteInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchJobsResponse_CommuteInfo.Merge(m, src) -} -func (m *SearchJobsResponse_CommuteInfo) XXX_Size() int { - return xxx_messageInfo_SearchJobsResponse_CommuteInfo.Size(m) -} -func (m *SearchJobsResponse_CommuteInfo) XXX_DiscardUnknown() { - xxx_messageInfo_SearchJobsResponse_CommuteInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchJobsResponse_CommuteInfo proto.InternalMessageInfo - -func (m *SearchJobsResponse_CommuteInfo) GetJobLocation() *Location { - if m != nil { - return m.JobLocation - } - return nil -} - -func (m *SearchJobsResponse_CommuteInfo) GetTravelDuration() *duration.Duration { - if m != nil { - return m.TravelDuration - } - return nil -} - -// Request to create a batch of jobs. -type BatchCreateJobsRequest struct { - // Required. The resource name of the tenant under which the job is created. - // - // The format is "projects/{project_id}/tenants/{tenant_id}". For example, - // "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant - // is created. For example, "projects/foo". - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The jobs to be created. - Jobs []*Job `protobuf:"bytes,2,rep,name=jobs,proto3" json:"jobs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchCreateJobsRequest) Reset() { *m = BatchCreateJobsRequest{} } -func (m *BatchCreateJobsRequest) String() string { return proto.CompactTextString(m) } -func (*BatchCreateJobsRequest) ProtoMessage() {} -func (*BatchCreateJobsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0dfa8e10f7799e35, []int{9} -} - -func (m *BatchCreateJobsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchCreateJobsRequest.Unmarshal(m, b) -} -func (m *BatchCreateJobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchCreateJobsRequest.Marshal(b, m, deterministic) -} -func (m *BatchCreateJobsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchCreateJobsRequest.Merge(m, src) -} -func (m *BatchCreateJobsRequest) XXX_Size() int { - return xxx_messageInfo_BatchCreateJobsRequest.Size(m) -} -func (m *BatchCreateJobsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchCreateJobsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchCreateJobsRequest proto.InternalMessageInfo - -func (m *BatchCreateJobsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *BatchCreateJobsRequest) GetJobs() []*Job { - if m != nil { - return m.Jobs - } - return nil -} - -// Request to update a batch of jobs. -type BatchUpdateJobsRequest struct { - // Required. The resource name of the tenant under which the job is created. - // - // The format is "projects/{project_id}/tenants/{tenant_id}". For example, - // "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant - // is created. For example, "projects/foo". - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The jobs to be updated. - Jobs []*Job `protobuf:"bytes,2,rep,name=jobs,proto3" json:"jobs,omitempty"` - // Strongly recommended for the best service experience. Be aware that it will - // also increase latency when checking the status of a batch operation. - // - // If - // [update_mask][google.cloud.talent.v4beta1.BatchUpdateJobsRequest.update_mask] - // is provided, only the specified fields in - // [Job][google.cloud.talent.v4beta1.Job] are updated. Otherwise all the - // fields are updated. - // - // A field mask to restrict the fields that are updated. Only - // top level fields of [Job][google.cloud.talent.v4beta1.Job] are supported. - // - // If - // [update_mask][google.cloud.talent.v4beta1.BatchUpdateJobsRequest.update_mask] - // is provided, The [Job][google.cloud.talent.v4beta1.Job] inside - // [JobResult][google.cloud.talent.v4beta1.JobOperationResult.JobResult] - // will only contains fields that is updated, plus the Id of the Job. - // Otherwise, [Job][google.cloud.talent.v4beta1.Job] will include all fields, - // which can yield a very large response. - 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 *BatchUpdateJobsRequest) Reset() { *m = BatchUpdateJobsRequest{} } -func (m *BatchUpdateJobsRequest) String() string { return proto.CompactTextString(m) } -func (*BatchUpdateJobsRequest) ProtoMessage() {} -func (*BatchUpdateJobsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0dfa8e10f7799e35, []int{10} -} - -func (m *BatchUpdateJobsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchUpdateJobsRequest.Unmarshal(m, b) -} -func (m *BatchUpdateJobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchUpdateJobsRequest.Marshal(b, m, deterministic) -} -func (m *BatchUpdateJobsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchUpdateJobsRequest.Merge(m, src) -} -func (m *BatchUpdateJobsRequest) XXX_Size() int { - return xxx_messageInfo_BatchUpdateJobsRequest.Size(m) -} -func (m *BatchUpdateJobsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchUpdateJobsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchUpdateJobsRequest proto.InternalMessageInfo - -func (m *BatchUpdateJobsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *BatchUpdateJobsRequest) GetJobs() []*Job { - if m != nil { - return m.Jobs - } - return nil -} - -func (m *BatchUpdateJobsRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// The result of -// [JobService.BatchCreateJobs][google.cloud.talent.v4beta1.JobService.BatchCreateJobs] -// or -// [JobService.BatchUpdateJobs][google.cloud.talent.v4beta1.JobService.BatchUpdateJobs] -// APIs. It's used to replace -// [google.longrunning.Operation.response][google.longrunning.Operation.response] -// in case of success. -type JobOperationResult struct { - // List of job mutation results from a batch mutate operation. It can change - // until operation status is FINISHED, FAILED or CANCELLED. - JobResults []*JobOperationResult_JobResult `protobuf:"bytes,1,rep,name=job_results,json=jobResults,proto3" json:"job_results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *JobOperationResult) Reset() { *m = JobOperationResult{} } -func (m *JobOperationResult) String() string { return proto.CompactTextString(m) } -func (*JobOperationResult) ProtoMessage() {} -func (*JobOperationResult) Descriptor() ([]byte, []int) { - return fileDescriptor_0dfa8e10f7799e35, []int{11} -} - -func (m *JobOperationResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JobOperationResult.Unmarshal(m, b) -} -func (m *JobOperationResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JobOperationResult.Marshal(b, m, deterministic) -} -func (m *JobOperationResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobOperationResult.Merge(m, src) -} -func (m *JobOperationResult) XXX_Size() int { - return xxx_messageInfo_JobOperationResult.Size(m) -} -func (m *JobOperationResult) XXX_DiscardUnknown() { - xxx_messageInfo_JobOperationResult.DiscardUnknown(m) -} - -var xxx_messageInfo_JobOperationResult proto.InternalMessageInfo - -func (m *JobOperationResult) GetJobResults() []*JobOperationResult_JobResult { - if m != nil { - return m.JobResults - } - return nil -} - -// Mutation result of a job. -type JobOperationResult_JobResult struct { - // Here [Job][google.cloud.talent.v4beta1.Job] only contains basic - // information including [name][google.cloud.talent.v4beta1.Job.name], - // [company][google.cloud.talent.v4beta1.Job.company], - // [language_code][google.cloud.talent.v4beta1.Job.language_code] and - // [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], use - // getJob method to retrieve detailed information of the created/updated - // job. - Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` - // The status of the job processed. This field is populated if the - // processing of the - // [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] - // fails. - Status *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *JobOperationResult_JobResult) Reset() { *m = JobOperationResult_JobResult{} } -func (m *JobOperationResult_JobResult) String() string { return proto.CompactTextString(m) } -func (*JobOperationResult_JobResult) ProtoMessage() {} -func (*JobOperationResult_JobResult) Descriptor() ([]byte, []int) { - return fileDescriptor_0dfa8e10f7799e35, []int{11, 0} -} - -func (m *JobOperationResult_JobResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JobOperationResult_JobResult.Unmarshal(m, b) -} -func (m *JobOperationResult_JobResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JobOperationResult_JobResult.Marshal(b, m, deterministic) -} -func (m *JobOperationResult_JobResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobOperationResult_JobResult.Merge(m, src) -} -func (m *JobOperationResult_JobResult) XXX_Size() int { - return xxx_messageInfo_JobOperationResult_JobResult.Size(m) -} -func (m *JobOperationResult_JobResult) XXX_DiscardUnknown() { - xxx_messageInfo_JobOperationResult_JobResult.DiscardUnknown(m) -} - -var xxx_messageInfo_JobOperationResult_JobResult proto.InternalMessageInfo - -func (m *JobOperationResult_JobResult) GetJob() *Job { - if m != nil { - return m.Job - } - return nil -} - -func (m *JobOperationResult_JobResult) GetStatus() *status.Status { - if m != nil { - return m.Status - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.talent.v4beta1.JobView", JobView_name, JobView_value) - proto.RegisterEnum("google.cloud.talent.v4beta1.SearchJobsRequest_SearchMode", SearchJobsRequest_SearchMode_name, SearchJobsRequest_SearchMode_value) - proto.RegisterEnum("google.cloud.talent.v4beta1.SearchJobsRequest_DiversificationLevel", SearchJobsRequest_DiversificationLevel_name, SearchJobsRequest_DiversificationLevel_value) - proto.RegisterEnum("google.cloud.talent.v4beta1.SearchJobsRequest_CustomRankingInfo_ImportanceLevel", SearchJobsRequest_CustomRankingInfo_ImportanceLevel_name, SearchJobsRequest_CustomRankingInfo_ImportanceLevel_value) - proto.RegisterType((*CreateJobRequest)(nil), "google.cloud.talent.v4beta1.CreateJobRequest") - proto.RegisterType((*GetJobRequest)(nil), "google.cloud.talent.v4beta1.GetJobRequest") - proto.RegisterType((*UpdateJobRequest)(nil), "google.cloud.talent.v4beta1.UpdateJobRequest") - proto.RegisterType((*DeleteJobRequest)(nil), "google.cloud.talent.v4beta1.DeleteJobRequest") - proto.RegisterType((*BatchDeleteJobsRequest)(nil), "google.cloud.talent.v4beta1.BatchDeleteJobsRequest") - proto.RegisterType((*ListJobsRequest)(nil), "google.cloud.talent.v4beta1.ListJobsRequest") - proto.RegisterType((*ListJobsResponse)(nil), "google.cloud.talent.v4beta1.ListJobsResponse") - proto.RegisterType((*SearchJobsRequest)(nil), "google.cloud.talent.v4beta1.SearchJobsRequest") - proto.RegisterType((*SearchJobsRequest_CustomRankingInfo)(nil), "google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo") - proto.RegisterType((*SearchJobsResponse)(nil), "google.cloud.talent.v4beta1.SearchJobsResponse") - proto.RegisterType((*SearchJobsResponse_MatchingJob)(nil), "google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob") - proto.RegisterType((*SearchJobsResponse_CommuteInfo)(nil), "google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo") - proto.RegisterType((*BatchCreateJobsRequest)(nil), "google.cloud.talent.v4beta1.BatchCreateJobsRequest") - proto.RegisterType((*BatchUpdateJobsRequest)(nil), "google.cloud.talent.v4beta1.BatchUpdateJobsRequest") - proto.RegisterType((*JobOperationResult)(nil), "google.cloud.talent.v4beta1.JobOperationResult") - proto.RegisterType((*JobOperationResult_JobResult)(nil), "google.cloud.talent.v4beta1.JobOperationResult.JobResult") -} - -func init() { - proto.RegisterFile("google/cloud/talent/v4beta1/job_service.proto", fileDescriptor_0dfa8e10f7799e35) -} - -var fileDescriptor_0dfa8e10f7799e35 = []byte{ - // 2142 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x59, 0x4b, 0x6f, 0x1b, 0xd7, - 0x15, 0xee, 0x50, 0xef, 0x43, 0x5b, 0x1a, 0x5d, 0x3b, 0x16, 0x4d, 0x25, 0xb5, 0x3c, 0xa9, 0x03, - 0x55, 0x8e, 0x38, 0x09, 0xe3, 0x22, 0xb0, 0x8d, 0xa0, 0xa5, 0x48, 0x2a, 0xa6, 0x4b, 0x4a, 0xea, - 0x50, 0x7e, 0x54, 0x28, 0x32, 0x19, 0x0e, 0x2f, 0xa9, 0x91, 0x66, 0xe6, 0x4e, 0x66, 0x2e, 0x25, - 0x2b, 0xad, 0x81, 0xa2, 0xab, 0x2e, 0x0b, 0x74, 0x59, 0xa0, 0x8b, 0xae, 0xba, 0xe8, 0xa2, 0x40, - 0x97, 0x2d, 0x50, 0x14, 0xe8, 0xa2, 0xe8, 0xa6, 0x40, 0xb3, 0x2c, 0x02, 0x74, 0xd1, 0x7f, 0xd0, - 0x3f, 0x50, 0xdc, 0xc7, 0x0c, 0x1f, 0xa2, 0xf9, 0x70, 0x9a, 0x1d, 0xe7, 0x9c, 0xef, 0xdc, 0x7b, - 0x1e, 0xdf, 0x3d, 0xf7, 0x41, 0xd8, 0x6e, 0x13, 0xd2, 0x76, 0xb1, 0x6e, 0xbb, 0xa4, 0xd3, 0xd4, - 0xa9, 0xe5, 0x62, 0x9f, 0xea, 0x67, 0xf7, 0x1a, 0x98, 0x5a, 0xef, 0xeb, 0x27, 0x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x56, 0x88, 0x7d, 0x9a, 0x51, 0x36, 0x94, 0xcd, 0xa5, 0x9d, 0x99, 0x7f, 0x17, 0x52, - 0x86, 0x14, 0xa1, 0x0f, 0x61, 0xe6, 0x84, 0x34, 0x32, 0xa9, 0x0d, 0x65, 0x33, 0x9d, 0xdf, 0xc8, - 0x8d, 0x20, 0x45, 0xee, 0x31, 0x69, 0x08, 0x5b, 0x66, 0xa1, 0x6d, 0xc2, 0xd5, 0x8f, 0x31, 0xed, - 0x99, 0x66, 0x0d, 0x66, 0x7d, 0xcb, 0xc3, 0xbd, 0x93, 0x70, 0x81, 0xf6, 0x73, 0x05, 0xd4, 0x27, - 0x41, 0xb3, 0xdf, 0x29, 0x39, 0xaf, 0x32, 0xed, 0xbc, 0xe8, 0x21, 0xa4, 0x3b, 0x7c, 0x30, 0x9e, - 0x0f, 0xe9, 0x78, 0x36, 0x1e, 0x20, 0x4e, 0x59, 0x6e, 0x97, 0xa5, 0xac, 0x66, 0x45, 0xa7, 0x06, - 0x08, 0x38, 0xfb, 0xad, 0xdd, 0x05, 0xb5, 0x84, 0x5d, 0xdc, 0xe7, 0xc9, 0x2b, 0xfd, 0x36, 0xe0, - 0xc6, 0x8e, 0x45, 0xed, 0xe3, 0xc4, 0x22, 0x9a, 0x28, 0xa3, 0xeb, 0x30, 0x2f, 0xf8, 0xc9, 0x7d, - 0x8b, 0x95, 0x42, 0xa4, 0xfd, 0x4d, 0x81, 0x95, 0xaa, 0x13, 0xd1, 0xff, 0xcb, 0x68, 0xe8, 0x2d, - 0x80, 0xc0, 0x6a, 0x63, 0x93, 0x92, 0x53, 0xec, 0x67, 0x66, 0x18, 0xc0, 0x58, 0x62, 0x92, 0x43, - 0x26, 0x40, 0xeb, 0xc0, 0x3f, 0xcc, 0xc8, 0xf9, 0x1c, 0x67, 0x66, 0x37, 0x94, 0xcd, 0x39, 0x63, - 0x91, 0x09, 0xea, 0xce, 0xe7, 0x18, 0x7d, 0x17, 0x16, 0x59, 0x53, 0x38, 0x73, 0xf0, 0x79, 0x66, - 0x6e, 0x43, 0xd9, 0x5c, 0xce, 0x7f, 0x6b, 0x5c, 0x15, 0x9e, 0x3a, 0xf8, 0xdc, 0x58, 0x38, 0x11, - 0x3f, 0xb4, 0x3f, 0x2a, 0xa0, 0x76, 0x43, 0x89, 0x02, 0xe2, 0x47, 0x18, 0xdd, 0x83, 0xd9, 0x13, - 0xd2, 0x88, 0x32, 0xca, 0xc6, 0xcc, 0x24, 0x75, 0x35, 0x38, 0x1a, 0xbd, 0x03, 0x2b, 0x3e, 0x7e, - 0x41, 0xcd, 0x9e, 0x60, 0x78, 0xb4, 0xc6, 0x55, 0x26, 0x3e, 0x48, 0x02, 0xaa, 0xc0, 0xa2, 0x87, - 0xa9, 0xd5, 0xb4, 0xa8, 0xc5, 0xa3, 0x4d, 0xe7, 0xb7, 0x47, 0xce, 0x10, 0xbb, 0x55, 0x93, 0x46, - 0x46, 0x62, 0xae, 0xfd, 0x21, 0x0d, 0xab, 0x75, 0x6c, 0x85, 0xf6, 0xf1, 0xc4, 0xa5, 0x38, 0x82, - 0x74, 0xc4, 0x2d, 0x4c, 0x8f, 0x34, 0x31, 0xf7, 0x70, 0x39, 0x7f, 0x7f, 0xa4, 0x03, 0x97, 0x66, - 0x90, 0x92, 0x1a, 0x69, 0x62, 0x03, 0xa2, 0xe4, 0x37, 0xfa, 0x11, 0xa8, 0xa1, 0x40, 0x98, 0x03, - 0x11, 0xbe, 0x3b, 0x26, 0x42, 0x6e, 0x14, 0x07, 0x28, 0x1c, 0x5e, 0x09, 0xfb, 0xa5, 0x68, 0x07, - 0x96, 0x58, 0xad, 0x3f, 0xeb, 0xe0, 0xf0, 0x82, 0x13, 0x21, 0x9d, 0xbf, 0x33, 0xae, 0x34, 0x3f, - 0x60, 0x60, 0x83, 0x71, 0x84, 0xff, 0x42, 0x77, 0x61, 0x15, 0xfb, 0x56, 0xc3, 0xc5, 0x66, 0x23, - 0x24, 0x56, 0x13, 0xb3, 0x96, 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x4f, 0x79, 0xd8, 0xd3, 0x5c, 0x1e, 0x49, 0x4b, 0xcb, 0x4f, 0x53, 0x28, 0x71, 0xf4, 0x64, 0x35, - 0xda, 0xd6, 0x36, 0xc7, 0xd7, 0x28, 0x81, 0xa3, 0xff, 0x2a, 0xbd, 0xb7, 0xbe, 0x5d, 0x12, 0x16, - 0x5c, 0x1c, 0xd2, 0xaf, 0x3f, 0xca, 0x9f, 0xf0, 0x28, 0xcf, 0xb4, 0x07, 0xd3, 0x47, 0x19, 0x3b, - 0xc9, 0xa2, 0xfd, 0x8e, 0xf6, 0xde, 0xa4, 0xd1, 0xf6, 0x98, 0x65, 0xdd, 0xbf, 0x17, 0xae, 0x31, - 0x95, 0xf4, 0xda, 0x0a, 0x9c, 0x28, 0x67, 0x13, 0xef, 0x9f, 0x85, 0xfa, 0x31, 0xa5, 0x41, 0xf4, - 0x40, 0xd7, 0xcf, 0xcf, 0xcf, 0x07, 0x94, 0xba, 0xd5, 0xa1, 0xc7, 0xe2, 0xbf, 0x8d, 0xed, 0xc0, - 0xb5, 0x68, 0x8b, 0x84, 0xde, 0xbb, 0xe3, 0xe0, 0x6c, 0x92, 0x9d, 0x97, 0x70, 0xcb, 0x26, 0xde, - 0xa8, 0x0c, 0xed, 0xac, 0x74, 0x8f, 0x2c, 0x07, 0x6c, 0xdd, 0x1e, 0x28, 0x47, 0x05, 0x89, 0x6f, - 0x13, 0xd7, 0xf2, 0xdb, 0x39, 0x12, 0xb6, 0xf5, 0x36, 0xf6, 0xf9, 0xaa, 0xd6, 0xbb, 0x53, 0x0d, - 0xfd, 0xb3, 0xe5, 0xa1, 0xf8, 0xfc, 0x4d, 0x6a, 0xa6, 0x78, 0x58, 0x6f, 0xcc, 0x73, 0x9b, 0x0f, - 0xfe, 0x17, 0x00, 0x00, 0xff, 0xff, 0xe0, 0xa2, 0x12, 0x00, 0xc5, 0x1a, 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 - -// JobServiceClient is the client API for JobService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type JobServiceClient interface { - // Creates a new job. - // - // Typically, the job becomes searchable within 10 seconds, but it may take - // up to 5 minutes. - CreateJob(ctx context.Context, in *CreateJobRequest, opts ...grpc.CallOption) (*Job, error) - // Begins executing a batch create jobs operation. - BatchCreateJobs(ctx context.Context, in *BatchCreateJobsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Retrieves the specified job, whose status is OPEN or recently EXPIRED - // within the last 90 days. - GetJob(ctx context.Context, in *GetJobRequest, opts ...grpc.CallOption) (*Job, error) - // Updates specified job. - // - // Typically, updated contents become visible in search results within 10 - // seconds, but it may take up to 5 minutes. - UpdateJob(ctx context.Context, in *UpdateJobRequest, opts ...grpc.CallOption) (*Job, error) - // Begins executing a batch update jobs operation. - BatchUpdateJobs(ctx context.Context, in *BatchUpdateJobsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Deletes the specified job. - // - // Typically, the job becomes unsearchable within 10 seconds, but it may take - // up to 5 minutes. - DeleteJob(ctx context.Context, in *DeleteJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter. - BatchDeleteJobs(ctx context.Context, in *BatchDeleteJobsRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Lists jobs by filter. - ListJobs(ctx context.Context, in *ListJobsRequest, opts ...grpc.CallOption) (*ListJobsResponse, error) - // Searches for jobs using the provided - // [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest]. - // - // This call constrains the - // [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs present in - // the database, and only returns jobs that the caller has permission to - // search against. - SearchJobs(ctx context.Context, in *SearchJobsRequest, opts ...grpc.CallOption) (*SearchJobsResponse, error) - // Searches for jobs using the provided - // [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest]. - // - // This API call is intended for the use case of targeting passive job - // seekers (for example, job seekers who have signed up to receive email - // alerts about potential job opportunities), and has different algorithmic - // adjustments that are targeted to passive job seekers. - // - // This call constrains the - // [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs present in - // the database, and only returns jobs the caller has permission to search - // against. - SearchJobsForAlert(ctx context.Context, in *SearchJobsRequest, opts ...grpc.CallOption) (*SearchJobsResponse, error) -} - -type jobServiceClient struct { - cc *grpc.ClientConn -} - -func NewJobServiceClient(cc *grpc.ClientConn) JobServiceClient { - return &jobServiceClient{cc} -} - -func (c *jobServiceClient) CreateJob(ctx context.Context, in *CreateJobRequest, opts ...grpc.CallOption) (*Job, error) { - out := new(Job) - err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.JobService/CreateJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *jobServiceClient) BatchCreateJobs(ctx context.Context, in *BatchCreateJobsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.JobService/BatchCreateJobs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *jobServiceClient) GetJob(ctx context.Context, in *GetJobRequest, opts ...grpc.CallOption) (*Job, error) { - out := new(Job) - err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.JobService/GetJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *jobServiceClient) UpdateJob(ctx context.Context, in *UpdateJobRequest, opts ...grpc.CallOption) (*Job, error) { - out := new(Job) - err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.JobService/UpdateJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *jobServiceClient) BatchUpdateJobs(ctx context.Context, in *BatchUpdateJobsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.JobService/BatchUpdateJobs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *jobServiceClient) DeleteJob(ctx context.Context, in *DeleteJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.JobService/DeleteJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *jobServiceClient) BatchDeleteJobs(ctx context.Context, in *BatchDeleteJobsRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.JobService/BatchDeleteJobs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *jobServiceClient) ListJobs(ctx context.Context, in *ListJobsRequest, opts ...grpc.CallOption) (*ListJobsResponse, error) { - out := new(ListJobsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.JobService/ListJobs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *jobServiceClient) SearchJobs(ctx context.Context, in *SearchJobsRequest, opts ...grpc.CallOption) (*SearchJobsResponse, error) { - out := new(SearchJobsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.JobService/SearchJobs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *jobServiceClient) SearchJobsForAlert(ctx context.Context, in *SearchJobsRequest, opts ...grpc.CallOption) (*SearchJobsResponse, error) { - out := new(SearchJobsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.JobService/SearchJobsForAlert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// JobServiceServer is the server API for JobService service. -type JobServiceServer interface { - // Creates a new job. - // - // Typically, the job becomes searchable within 10 seconds, but it may take - // up to 5 minutes. - CreateJob(context.Context, *CreateJobRequest) (*Job, error) - // Begins executing a batch create jobs operation. - BatchCreateJobs(context.Context, *BatchCreateJobsRequest) (*longrunning.Operation, error) - // Retrieves the specified job, whose status is OPEN or recently EXPIRED - // within the last 90 days. - GetJob(context.Context, *GetJobRequest) (*Job, error) - // Updates specified job. - // - // Typically, updated contents become visible in search results within 10 - // seconds, but it may take up to 5 minutes. - UpdateJob(context.Context, *UpdateJobRequest) (*Job, error) - // Begins executing a batch update jobs operation. - BatchUpdateJobs(context.Context, *BatchUpdateJobsRequest) (*longrunning.Operation, error) - // Deletes the specified job. - // - // Typically, the job becomes unsearchable within 10 seconds, but it may take - // up to 5 minutes. - DeleteJob(context.Context, *DeleteJobRequest) (*empty.Empty, error) - // Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter. - BatchDeleteJobs(context.Context, *BatchDeleteJobsRequest) (*empty.Empty, error) - // Lists jobs by filter. - ListJobs(context.Context, *ListJobsRequest) (*ListJobsResponse, error) - // Searches for jobs using the provided - // [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest]. - // - // This call constrains the - // [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs present in - // the database, and only returns jobs that the caller has permission to - // search against. - SearchJobs(context.Context, *SearchJobsRequest) (*SearchJobsResponse, error) - // Searches for jobs using the provided - // [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest]. - // - // This API call is intended for the use case of targeting passive job - // seekers (for example, job seekers who have signed up to receive email - // alerts about potential job opportunities), and has different algorithmic - // adjustments that are targeted to passive job seekers. - // - // This call constrains the - // [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs present in - // the database, and only returns jobs the caller has permission to search - // against. - SearchJobsForAlert(context.Context, *SearchJobsRequest) (*SearchJobsResponse, error) -} - -// UnimplementedJobServiceServer can be embedded to have forward compatible implementations. -type UnimplementedJobServiceServer struct { -} - -func (*UnimplementedJobServiceServer) CreateJob(ctx context.Context, req *CreateJobRequest) (*Job, error) { - return nil, status1.Errorf(codes.Unimplemented, "method CreateJob not implemented") -} -func (*UnimplementedJobServiceServer) BatchCreateJobs(ctx context.Context, req *BatchCreateJobsRequest) (*longrunning.Operation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method BatchCreateJobs not implemented") -} -func (*UnimplementedJobServiceServer) GetJob(ctx context.Context, req *GetJobRequest) (*Job, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetJob not implemented") -} -func (*UnimplementedJobServiceServer) UpdateJob(ctx context.Context, req *UpdateJobRequest) (*Job, error) { - return nil, status1.Errorf(codes.Unimplemented, "method UpdateJob not implemented") -} -func (*UnimplementedJobServiceServer) BatchUpdateJobs(ctx context.Context, req *BatchUpdateJobsRequest) (*longrunning.Operation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method BatchUpdateJobs not implemented") -} -func (*UnimplementedJobServiceServer) DeleteJob(ctx context.Context, req *DeleteJobRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method DeleteJob not implemented") -} -func (*UnimplementedJobServiceServer) BatchDeleteJobs(ctx context.Context, req *BatchDeleteJobsRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method BatchDeleteJobs not implemented") -} -func (*UnimplementedJobServiceServer) ListJobs(ctx context.Context, req *ListJobsRequest) (*ListJobsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListJobs not implemented") -} -func (*UnimplementedJobServiceServer) SearchJobs(ctx context.Context, req *SearchJobsRequest) (*SearchJobsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method SearchJobs not implemented") -} -func (*UnimplementedJobServiceServer) SearchJobsForAlert(ctx context.Context, req *SearchJobsRequest) (*SearchJobsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method SearchJobsForAlert not implemented") -} - -func RegisterJobServiceServer(s *grpc.Server, srv JobServiceServer) { - s.RegisterService(&_JobService_serviceDesc, srv) -} - -func _JobService_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.(JobServiceServer).CreateJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.talent.v4beta1.JobService/CreateJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(JobServiceServer).CreateJob(ctx, req.(*CreateJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _JobService_BatchCreateJobs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchCreateJobsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(JobServiceServer).BatchCreateJobs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.talent.v4beta1.JobService/BatchCreateJobs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(JobServiceServer).BatchCreateJobs(ctx, req.(*BatchCreateJobsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _JobService_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.(JobServiceServer).GetJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.talent.v4beta1.JobService/GetJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(JobServiceServer).GetJob(ctx, req.(*GetJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _JobService_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.(JobServiceServer).UpdateJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.talent.v4beta1.JobService/UpdateJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(JobServiceServer).UpdateJob(ctx, req.(*UpdateJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _JobService_BatchUpdateJobs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchUpdateJobsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(JobServiceServer).BatchUpdateJobs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.talent.v4beta1.JobService/BatchUpdateJobs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(JobServiceServer).BatchUpdateJobs(ctx, req.(*BatchUpdateJobsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _JobService_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.(JobServiceServer).DeleteJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.talent.v4beta1.JobService/DeleteJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(JobServiceServer).DeleteJob(ctx, req.(*DeleteJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _JobService_BatchDeleteJobs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchDeleteJobsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(JobServiceServer).BatchDeleteJobs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.talent.v4beta1.JobService/BatchDeleteJobs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(JobServiceServer).BatchDeleteJobs(ctx, req.(*BatchDeleteJobsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _JobService_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.(JobServiceServer).ListJobs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.talent.v4beta1.JobService/ListJobs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(JobServiceServer).ListJobs(ctx, req.(*ListJobsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _JobService_SearchJobs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchJobsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(JobServiceServer).SearchJobs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.talent.v4beta1.JobService/SearchJobs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(JobServiceServer).SearchJobs(ctx, req.(*SearchJobsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _JobService_SearchJobsForAlert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchJobsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(JobServiceServer).SearchJobsForAlert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.talent.v4beta1.JobService/SearchJobsForAlert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(JobServiceServer).SearchJobsForAlert(ctx, req.(*SearchJobsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _JobService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.talent.v4beta1.JobService", - HandlerType: (*JobServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateJob", - Handler: _JobService_CreateJob_Handler, - }, - { - MethodName: "BatchCreateJobs", - Handler: _JobService_BatchCreateJobs_Handler, - }, - { - MethodName: "GetJob", - Handler: _JobService_GetJob_Handler, - }, - { - MethodName: "UpdateJob", - Handler: _JobService_UpdateJob_Handler, - }, - { - MethodName: "BatchUpdateJobs", - Handler: _JobService_BatchUpdateJobs_Handler, - }, - { - MethodName: "DeleteJob", - Handler: _JobService_DeleteJob_Handler, - }, - { - MethodName: "BatchDeleteJobs", - Handler: _JobService_BatchDeleteJobs_Handler, - }, - { - MethodName: "ListJobs", - Handler: _JobService_ListJobs_Handler, - }, - { - MethodName: "SearchJobs", - Handler: _JobService_SearchJobs_Handler, - }, - { - MethodName: "SearchJobsForAlert", - Handler: _JobService_SearchJobsForAlert_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/talent/v4beta1/job_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/profile.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/profile.pb.go deleted file mode 100644 index 5345713e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/profile.pb.go +++ /dev/null @@ -1,2287 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/talent/v4beta1/profile.proto - -package talent - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "google.golang.org/genproto/googleapis/api/annotations" - date "google.golang.org/genproto/googleapis/type/date" - postaladdress "google.golang.org/genproto/googleapis/type/postaladdress" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// The format of a structured resume. -type Resume_ResumeType int32 - -const ( - // Default value. - Resume_RESUME_TYPE_UNSPECIFIED Resume_ResumeType = 0 - // The profile contents in HR-XML format. - // See http://schemas.liquid-technologies.com/hr-xml/2007-04-15/ for more - // information about Human Resources XML. - Resume_HRXML Resume_ResumeType = 1 - // Resume type not specified. - Resume_OTHER_RESUME_TYPE Resume_ResumeType = 2 -) - -var Resume_ResumeType_name = map[int32]string{ - 0: "RESUME_TYPE_UNSPECIFIED", - 1: "HRXML", - 2: "OTHER_RESUME_TYPE", -} - -var Resume_ResumeType_value = map[string]int32{ - "RESUME_TYPE_UNSPECIFIED": 0, - "HRXML": 1, - "OTHER_RESUME_TYPE": 2, -} - -func (x Resume_ResumeType) String() string { - return proto.EnumName(Resume_ResumeType_name, int32(x)) -} - -func (Resume_ResumeType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_f0277fc1d2fabb3b, []int{2, 0} -} - -// Enum that represents the type of the telephone. -type Phone_PhoneType int32 - -const ( - // Default value. - Phone_PHONE_TYPE_UNSPECIFIED Phone_PhoneType = 0 - // A landline. - Phone_LANDLINE Phone_PhoneType = 1 - // A mobile. - Phone_MOBILE Phone_PhoneType = 2 - // A fax. - Phone_FAX Phone_PhoneType = 3 - // A pager. - Phone_PAGER Phone_PhoneType = 4 - // A TTY (test telephone) or TDD (telecommunication device for the deaf). - Phone_TTY_OR_TDD Phone_PhoneType = 5 - // A voicemail. - Phone_VOICEMAIL Phone_PhoneType = 6 - // A virtual telephone number is a number that can be routed to another - // number and managed by the user via Web, SMS, IVR, and so on. It is - // associated with a particular person, and may be routed to either a MOBILE - // or LANDLINE number. The [phone - // usage][google.cloud.talent.v4beta1.ContactInfoUsage] should be set to - // PERSONAL for these phone types. Some more information can be found here: - // http://en.wikipedia.org/wiki/Personal_Numbers - Phone_VIRTUAL Phone_PhoneType = 7 - // Voice over IP numbers. This includes TSoIP (Telephony Service over IP). - Phone_VOIP Phone_PhoneType = 8 - // In some regions (e.g. the USA), it is impossible to distinguish between - // fixed-line and mobile numbers by looking at the phone number itself. - Phone_MOBILE_OR_LANDLINE Phone_PhoneType = 9 -) - -var Phone_PhoneType_name = map[int32]string{ - 0: "PHONE_TYPE_UNSPECIFIED", - 1: "LANDLINE", - 2: "MOBILE", - 3: "FAX", - 4: "PAGER", - 5: "TTY_OR_TDD", - 6: "VOICEMAIL", - 7: "VIRTUAL", - 8: "VOIP", - 9: "MOBILE_OR_LANDLINE", -} - -var Phone_PhoneType_value = map[string]int32{ - "PHONE_TYPE_UNSPECIFIED": 0, - "LANDLINE": 1, - "MOBILE": 2, - "FAX": 3, - "PAGER": 4, - "TTY_OR_TDD": 5, - "VOICEMAIL": 6, - "VIRTUAL": 7, - "VOIP": 8, - "MOBILE_OR_LANDLINE": 9, -} - -func (x Phone_PhoneType) String() string { - return proto.EnumName(Phone_PhoneType_name, int32(x)) -} - -func (Phone_PhoneType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_f0277fc1d2fabb3b, []int{6, 0} -} - -// A resource that represents the profile for a job candidate (also referred to -// as a "single-source profile"). -type Profile struct { - // Required during profile update. - // - // Resource name assigned to a profile by the API. - // - // The format is - // "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", - // for example, "projects/foo/tenants/bar/profiles/baz". - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Profile's id in client system, if available. This value is unique for each - // profile inside a tenant. An error is thrown if another profile with the - // same external_id is created. - // - // The maximum number of bytes allowed is 100. - ExternalId string `protobuf:"bytes,2,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` - // The source description indicating where the profile is acquired. - // - // For example, if a candidate profile is acquired from a resume, the user can - // input "resume" here to indicate the source. - // - // The maximum number of bytes allowed is 100. - Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"` - // The URI set by clients that links to this profile's client-side copy. - // - // The maximum number of bytes allowed is 4000. - Uri string `protobuf:"bytes,4,opt,name=uri,proto3" json:"uri,omitempty"` - // The cluster id of the profile to associate with other profile(s) for the - // same candidate. - // - // This field should be generated by the customer. If a value is not provided, - // a random UUID is assigned to this field of the profile. - // - // This is used to link multiple profiles to the same candidate. For example, - // a client has a candidate with two profiles, where one was created recently - // and the other one was created 5 years ago. These two profiles may be very - // different. The clients can create the first profile and get a generated - // [group_id][google.cloud.talent.v4beta1.Profile.group_id], and assign it - // when the second profile is created, indicating these two profiles are - // referring to the same candidate. - GroupId string `protobuf:"bytes,5,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` - // Indicates the hirable status of the candidate. - IsHirable *wrappers.BoolValue `protobuf:"bytes,6,opt,name=is_hirable,json=isHirable,proto3" json:"is_hirable,omitempty"` - // The timestamp when the profile was first created at this source. - CreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // The timestamp when the profile was last updated at this source. - UpdateTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - // The timestamp when the profile was last updated as a result of a direct or - // indirect action by a candidate. - // - // These actions include: - // - // * Direct actions such as the candidate submitting a new resume as part of a - // job application to the agency, using a self-service tool such as a website - // to update their profile, and so on. - // * Indirect actions by the candidate such as uploading a resume to a job - // board that is collected by the agency through a feed, providing a resume to - // a recruiter who then uploads it into the ATS, and so on. - // * Updates made to the candidate's profile by the recruiter as a result of - // interacting with the candidate (for example adding a skill or work - // preference, and so on). Changes to - // [recruiting_notes][google.cloud.talent.v4beta1.Profile.recruiting_notes] - // are specifically excluded from this action type. - // - // Note: - // [candidate_update_time][google.cloud.talent.v4beta1.Profile.candidate_update_time] - // must be greater than or equal to - // [resume_update_time][google.cloud.talent.v4beta1.Profile.resume_update_time] - // or an error is thrown. - CandidateUpdateTime *timestamp.Timestamp `protobuf:"bytes,67,opt,name=candidate_update_time,json=candidateUpdateTime,proto3" json:"candidate_update_time,omitempty"` - // The timestamp when the candidate's resume was added or updated on the - // candidate's profile. Whether that resume was directly uploaded by a - // candidate, pulled from a 3rd party job board feed, added by a recruiter, - // and so on. - // - // If this field is updated, it's expected that - // [resume][google.cloud.talent.v4beta1.Profile.resume] is provided in the - // create or update calls. - ResumeUpdateTime *timestamp.Timestamp `protobuf:"bytes,68,opt,name=resume_update_time,json=resumeUpdateTime,proto3" json:"resume_update_time,omitempty"` - // The resume representing this profile. - Resume *Resume `protobuf:"bytes,53,opt,name=resume,proto3" json:"resume,omitempty"` - // The names of the candidate this profile references. - // - // Currently only one person name is supported. - PersonNames []*PersonName `protobuf:"bytes,11,rep,name=person_names,json=personNames,proto3" json:"person_names,omitempty"` - // The candidate's postal addresses. It's highly recommended to - // input this information as accurately as possible to help improve search - // quality. Here are some recommendations: - // - // * Provide [Address.usage][google.cloud.talent.v4beta1.Address.usage] if - // possible, especially if the address is PERSONAL. During a search only - // personal addresses are considered. If there is no such address, all - // addresses with unspecified usage are assumed to be personal. - // * Provide [Address.current][google.cloud.talent.v4beta1.Address.current] - // for the current address if possible. During a search, only current - // addresses are considered. If there is no such address, all addresses are - // assumed to be current. - // - // When displaying a candidate's addresses, it is sometimes desirable to limit - // the number of addresses shown. In these cases we recommend that you display - // the addresses in the following order of priority: - // 1. [Address.usage][google.cloud.talent.v4beta1.Address.usage] is PERSONAL - // and [Address.current][google.cloud.talent.v4beta1.Address.current] is true. - // 2. [Address.usage][google.cloud.talent.v4beta1.Address.usage] is PERSONAL - // and [Address.current][google.cloud.talent.v4beta1.Address.current] is false - // or not set. - // 3. [Address.usage][google.cloud.talent.v4beta1.Address.usage] is - // CONTACT_INFO_USAGE_UNSPECIFIED and - // [Address.current][google.cloud.talent.v4beta1.Address.current] is true. - // 4. [Address.usage][google.cloud.talent.v4beta1.Address.usage] is - // CONTACT_INFO_USAGE_UNSPECIFIED and - // [Address.current][google.cloud.talent.v4beta1.Address.current] is false or - // not set. - Addresses []*Address `protobuf:"bytes,12,rep,name=addresses,proto3" json:"addresses,omitempty"` - // The candidate's email addresses. - EmailAddresses []*Email `protobuf:"bytes,13,rep,name=email_addresses,json=emailAddresses,proto3" json:"email_addresses,omitempty"` - // The candidate's phone number(s). - PhoneNumbers []*Phone `protobuf:"bytes,14,rep,name=phone_numbers,json=phoneNumbers,proto3" json:"phone_numbers,omitempty"` - // The candidate's personal URIs. - PersonalUris []*PersonalUri `protobuf:"bytes,15,rep,name=personal_uris,json=personalUris,proto3" json:"personal_uris,omitempty"` - // Available contact information besides - // [addresses][google.cloud.talent.v4beta1.Profile.addresses], - // [email_addresses][google.cloud.talent.v4beta1.Profile.email_addresses], - // [phone_numbers][google.cloud.talent.v4beta1.Profile.phone_numbers] and - // [personal_uris][google.cloud.talent.v4beta1.Profile.personal_uris]. For - // example, Hang-out, Skype. - AdditionalContactInfo []*AdditionalContactInfo `protobuf:"bytes,16,rep,name=additional_contact_info,json=additionalContactInfo,proto3" json:"additional_contact_info,omitempty"` - // The employment history records of the candidate. It's highly recommended - // to input this information as accurately as possible to help improve search - // quality. Here are some recommendations: - // - // * Specify the start and end dates of the employment records. - // * List different employment types separately, no matter how minor the - // change is. - // For example, only job title is changed from "software engineer" to "senior - // software engineer". - // * Provide - // [EmploymentRecord.is_current][google.cloud.talent.v4beta1.EmploymentRecord.is_current] - // for the current employment if possible. If not, it's inferred from user - // inputs. - // - // The limitation for max number of employment records is 100. - EmploymentRecords []*EmploymentRecord `protobuf:"bytes,17,rep,name=employment_records,json=employmentRecords,proto3" json:"employment_records,omitempty"` - // The education history record of the candidate. It's highly recommended to - // input this information as accurately as possible to help improve search - // quality. Here are some recommendations: - // - // * Specify the start and end dates of the education records. - // * List each education type separately, no matter how minor the change is. - // For example, the profile contains the education experience from the same - // school but different degrees. - // * Provide - // [EducationRecord.is_current][google.cloud.talent.v4beta1.EducationRecord.is_current] - // for the current education if possible. If not, it's inferred from user - // inputs. - // - // The limitation for max number of education records is 100. - EducationRecords []*EducationRecord `protobuf:"bytes,18,rep,name=education_records,json=educationRecords,proto3" json:"education_records,omitempty"` - // The skill set of the candidate. It's highly recommended to provide as - // much information as possible to help improve the search quality. - // - // The limitation for max number of skills is 500. - Skills []*Skill `protobuf:"bytes,19,rep,name=skills,proto3" json:"skills,omitempty"` - // The individual or collaborative activities which the candidate has - // participated in, for example, open-source projects, class assignments that - // aren't listed in - // [employment_records][google.cloud.talent.v4beta1.Profile.employment_records]. - // - // The limitation for max number of activities is 50. - Activities []*Activity `protobuf:"bytes,20,rep,name=activities,proto3" json:"activities,omitempty"` - // The publications published by the candidate. - // - // The limitation for max number of publications is 50. - Publications []*Publication `protobuf:"bytes,21,rep,name=publications,proto3" json:"publications,omitempty"` - // The patents acquired by the candidate. - Patents []*Patent `protobuf:"bytes,22,rep,name=patents,proto3" json:"patents,omitempty"` - // The certifications acquired by the candidate. - Certifications []*Certification `protobuf:"bytes,23,rep,name=certifications,proto3" json:"certifications,omitempty"` - // Output only. The resource names of the candidate's applications. - Applications []string `protobuf:"bytes,47,rep,name=applications,proto3" json:"applications,omitempty"` - // Output only. The resource names of the candidate's assignments. - Assignments []string `protobuf:"bytes,48,rep,name=assignments,proto3" json:"assignments,omitempty"` - // A map of fields to hold both filterable and non-filterable custom profile - // attributes that aren't covered by the provided structured fields. See - // [CustomAttribute][google.cloud.talent.v4beta1.CustomAttribute] for more - // details. - // - // At most 100 filterable and at most 100 unfilterable keys are supported. If - // limit is exceeded, an error is thrown. Custom attributes are `unfilterable` - // by default. These are filterable when the `filterable` flag is set to - // `true`. - // - // Numeric custom attributes: each key can only map to one numeric value, - // otherwise an error is thrown. Client can also filter on numeric custom - // attributes using '>', '<' or '=' operators. - // - // String custom attributes: each key can map up to 50 string values. For - // filterable string value, each value has a byte size of no more than 256B. - // For unfilterable string values, the maximum byte size of a single key is - // 64B. An error is thrown for any request exceeding the limit. - // The maximum total byte size is 10KB. - CustomAttributes map[string]*CustomAttribute `protobuf:"bytes,26,rep,name=custom_attributes,json=customAttributes,proto3" json:"custom_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Output only. Indicates if a summarized profile was created as part of the - // profile creation API call. This flag does not indicate whether a profile is - // searchable or not. - Processed bool `protobuf:"varint,27,opt,name=processed,proto3" json:"processed,omitempty"` - // Output only. Keyword snippet shows how the search result is related to a - // search query. This is only returned in - // [SearchProfilesResponse][google.cloud.talent.v4beta1.SearchProfilesResponse]. - KeywordSnippet string `protobuf:"bytes,28,opt,name=keyword_snippet,json=keywordSnippet,proto3" json:"keyword_snippet,omitempty"` - // Output only. Candidate's availability signals. - AvailabilitySignals []*AvailabilitySignal `protobuf:"bytes,70,rep,name=availability_signals,json=availabilitySignals,proto3" json:"availability_signals,omitempty"` - // Output only. Derived locations of the profile, resolved from - // [Profile.addresses][google.cloud.talent.v4beta1.Profile.addresses]. - // - // [derived_addresses][google.cloud.talent.v4beta1.Profile.derived_addresses] - // are exactly matched to - // [Profile.addresses][google.cloud.talent.v4beta1.Profile.addresses] in the - // same order. - DerivedAddresses []*Location `protobuf:"bytes,64,rep,name=derived_addresses,json=derivedAddresses,proto3" json:"derived_addresses,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f0277fc1d2fabb3b, []int{0} -} - -func (m *Profile) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Profile.Unmarshal(m, b) -} -func (m *Profile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Profile.Marshal(b, m, deterministic) -} -func (m *Profile) XXX_Merge(src proto.Message) { - xxx_messageInfo_Profile.Merge(m, src) -} -func (m *Profile) XXX_Size() int { - return xxx_messageInfo_Profile.Size(m) -} -func (m *Profile) XXX_DiscardUnknown() { - xxx_messageInfo_Profile.DiscardUnknown(m) -} - -var xxx_messageInfo_Profile proto.InternalMessageInfo - -func (m *Profile) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Profile) GetExternalId() string { - if m != nil { - return m.ExternalId - } - return "" -} - -func (m *Profile) GetSource() string { - if m != nil { - return m.Source - } - return "" -} - -func (m *Profile) GetUri() string { - if m != nil { - return m.Uri - } - return "" -} - -func (m *Profile) GetGroupId() string { - if m != nil { - return m.GroupId - } - return "" -} - -func (m *Profile) GetIsHirable() *wrappers.BoolValue { - if m != nil { - return m.IsHirable - } - return nil -} - -func (m *Profile) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *Profile) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -func (m *Profile) GetCandidateUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.CandidateUpdateTime - } - return nil -} - -func (m *Profile) GetResumeUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.ResumeUpdateTime - } - return nil -} - -func (m *Profile) GetResume() *Resume { - if m != nil { - return m.Resume - } - return nil -} - -func (m *Profile) GetPersonNames() []*PersonName { - if m != nil { - return m.PersonNames - } - return nil -} - -func (m *Profile) GetAddresses() []*Address { - if m != nil { - return m.Addresses - } - return nil -} - -func (m *Profile) GetEmailAddresses() []*Email { - if m != nil { - return m.EmailAddresses - } - return nil -} - -func (m *Profile) GetPhoneNumbers() []*Phone { - if m != nil { - return m.PhoneNumbers - } - return nil -} - -func (m *Profile) GetPersonalUris() []*PersonalUri { - if m != nil { - return m.PersonalUris - } - return nil -} - -func (m *Profile) GetAdditionalContactInfo() []*AdditionalContactInfo { - if m != nil { - return m.AdditionalContactInfo - } - return nil -} - -func (m *Profile) GetEmploymentRecords() []*EmploymentRecord { - if m != nil { - return m.EmploymentRecords - } - return nil -} - -func (m *Profile) GetEducationRecords() []*EducationRecord { - if m != nil { - return m.EducationRecords - } - return nil -} - -func (m *Profile) GetSkills() []*Skill { - if m != nil { - return m.Skills - } - return nil -} - -func (m *Profile) GetActivities() []*Activity { - if m != nil { - return m.Activities - } - return nil -} - -func (m *Profile) GetPublications() []*Publication { - if m != nil { - return m.Publications - } - return nil -} - -func (m *Profile) GetPatents() []*Patent { - if m != nil { - return m.Patents - } - return nil -} - -func (m *Profile) GetCertifications() []*Certification { - if m != nil { - return m.Certifications - } - return nil -} - -func (m *Profile) GetApplications() []string { - if m != nil { - return m.Applications - } - return nil -} - -func (m *Profile) GetAssignments() []string { - if m != nil { - return m.Assignments - } - return nil -} - -func (m *Profile) GetCustomAttributes() map[string]*CustomAttribute { - if m != nil { - return m.CustomAttributes - } - return nil -} - -func (m *Profile) GetProcessed() bool { - if m != nil { - return m.Processed - } - return false -} - -func (m *Profile) GetKeywordSnippet() string { - if m != nil { - return m.KeywordSnippet - } - return "" -} - -func (m *Profile) GetAvailabilitySignals() []*AvailabilitySignal { - if m != nil { - return m.AvailabilitySignals - } - return nil -} - -func (m *Profile) GetDerivedAddresses() []*Location { - if m != nil { - return m.DerivedAddresses - } - return nil -} - -// Candidate availability signal. -type AvailabilitySignal struct { - // Type of signal. - Type AvailabilitySignalType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.talent.v4beta1.AvailabilitySignalType" json:"type,omitempty"` - // Timestamp of when the given availability activity last happened. - LastUpdateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"` - // Indicates if the - // [last_update_time][google.cloud.talent.v4beta1.AvailabilitySignal.last_update_time] - // is within - // [AvailabilityFilter.range][google.cloud.talent.v4beta1.AvailabilityFilter.range]. - // - // Returned only in a search response when there is an - // [AvailabilityFilter][google.cloud.talent.v4beta1.AvailabilityFilter] in - // [ProfileQuery.availability_filters][google.cloud.talent.v4beta1.ProfileQuery.availability_filters] - // where - // [signal_type][google.cloud.talent.v4beta1.AvailabilityFilter.signal_type] - // matches [type][google.cloud.talent.v4beta1.AvailabilitySignal.type]. - FilterSatisfied *wrappers.BoolValue `protobuf:"bytes,3,opt,name=filter_satisfied,json=filterSatisfied,proto3" json:"filter_satisfied,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AvailabilitySignal) Reset() { *m = AvailabilitySignal{} } -func (m *AvailabilitySignal) String() string { return proto.CompactTextString(m) } -func (*AvailabilitySignal) ProtoMessage() {} -func (*AvailabilitySignal) Descriptor() ([]byte, []int) { - return fileDescriptor_f0277fc1d2fabb3b, []int{1} -} - -func (m *AvailabilitySignal) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AvailabilitySignal.Unmarshal(m, b) -} -func (m *AvailabilitySignal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AvailabilitySignal.Marshal(b, m, deterministic) -} -func (m *AvailabilitySignal) XXX_Merge(src proto.Message) { - xxx_messageInfo_AvailabilitySignal.Merge(m, src) -} -func (m *AvailabilitySignal) XXX_Size() int { - return xxx_messageInfo_AvailabilitySignal.Size(m) -} -func (m *AvailabilitySignal) XXX_DiscardUnknown() { - xxx_messageInfo_AvailabilitySignal.DiscardUnknown(m) -} - -var xxx_messageInfo_AvailabilitySignal proto.InternalMessageInfo - -func (m *AvailabilitySignal) GetType() AvailabilitySignalType { - if m != nil { - return m.Type - } - return AvailabilitySignalType_AVAILABILITY_SIGNAL_TYPE_UNSPECIFIED -} - -func (m *AvailabilitySignal) GetLastUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.LastUpdateTime - } - return nil -} - -func (m *AvailabilitySignal) GetFilterSatisfied() *wrappers.BoolValue { - if m != nil { - return m.FilterSatisfied - } - return nil -} - -// Resource that represents a resume. -type Resume struct { - // Users can create a profile with only this field field, if - // [resume_type][google.cloud.talent.v4beta1.Resume.resume_type] is - // [HRXML][google.cloud.talent.v4beta1.Resume.ResumeType.HRXML]. For example, - // the API parses this field and creates a profile with all structured fields - // populated. - // [EmploymentRecord][google.cloud.talent.v4beta1.EmploymentRecord], - // [EducationRecord][google.cloud.talent.v4beta1.EducationRecord], and so on. - // An error is thrown if this field cannot be parsed. - // - // Note that the use of the functionality offered by this field to extract - // data from resumes is an Alpha feature and as such is not covered by any - // SLA. - StructuredResume string `protobuf:"bytes,1,opt,name=structured_resume,json=structuredResume,proto3" json:"structured_resume,omitempty"` - // The format of - // [structured_resume][google.cloud.talent.v4beta1.Resume.structured_resume]. - ResumeType Resume_ResumeType `protobuf:"varint,2,opt,name=resume_type,json=resumeType,proto3,enum=google.cloud.talent.v4beta1.Resume_ResumeType" json:"resume_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Resume) Reset() { *m = Resume{} } -func (m *Resume) String() string { return proto.CompactTextString(m) } -func (*Resume) ProtoMessage() {} -func (*Resume) Descriptor() ([]byte, []int) { - return fileDescriptor_f0277fc1d2fabb3b, []int{2} -} - -func (m *Resume) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Resume.Unmarshal(m, b) -} -func (m *Resume) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Resume.Marshal(b, m, deterministic) -} -func (m *Resume) XXX_Merge(src proto.Message) { - xxx_messageInfo_Resume.Merge(m, src) -} -func (m *Resume) XXX_Size() int { - return xxx_messageInfo_Resume.Size(m) -} -func (m *Resume) XXX_DiscardUnknown() { - xxx_messageInfo_Resume.DiscardUnknown(m) -} - -var xxx_messageInfo_Resume proto.InternalMessageInfo - -func (m *Resume) GetStructuredResume() string { - if m != nil { - return m.StructuredResume - } - return "" -} - -func (m *Resume) GetResumeType() Resume_ResumeType { - if m != nil { - return m.ResumeType - } - return Resume_RESUME_TYPE_UNSPECIFIED -} - -// Resource that represents the name of a person. -type PersonName struct { - // The name of a person. It can be one of - // [formatted_name][google.cloud.talent.v4beta1.PersonName.formatted_name] or - // [structured_name][google.cloud.talent.v4beta1.PersonName.structured_name]. - // - // Types that are valid to be assigned to PersonName: - // *PersonName_FormattedName - // *PersonName_StructuredName - PersonName isPersonName_PersonName `protobuf_oneof:"person_name"` - // Preferred name for the person. This field is ignored if - // [structured_name][google.cloud.talent.v4beta1.PersonName.structured_name] - // is provided. - // - // Number of characters allowed is 100. - PreferredName string `protobuf:"bytes,3,opt,name=preferred_name,json=preferredName,proto3" json:"preferred_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PersonName) Reset() { *m = PersonName{} } -func (m *PersonName) String() string { return proto.CompactTextString(m) } -func (*PersonName) ProtoMessage() {} -func (*PersonName) Descriptor() ([]byte, []int) { - return fileDescriptor_f0277fc1d2fabb3b, []int{3} -} - -func (m *PersonName) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PersonName.Unmarshal(m, b) -} -func (m *PersonName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PersonName.Marshal(b, m, deterministic) -} -func (m *PersonName) XXX_Merge(src proto.Message) { - xxx_messageInfo_PersonName.Merge(m, src) -} -func (m *PersonName) XXX_Size() int { - return xxx_messageInfo_PersonName.Size(m) -} -func (m *PersonName) XXX_DiscardUnknown() { - xxx_messageInfo_PersonName.DiscardUnknown(m) -} - -var xxx_messageInfo_PersonName proto.InternalMessageInfo - -type isPersonName_PersonName interface { - isPersonName_PersonName() -} - -type PersonName_FormattedName struct { - FormattedName string `protobuf:"bytes,1,opt,name=formatted_name,json=formattedName,proto3,oneof"` -} - -type PersonName_StructuredName struct { - StructuredName *PersonName_PersonStructuredName `protobuf:"bytes,2,opt,name=structured_name,json=structuredName,proto3,oneof"` -} - -func (*PersonName_FormattedName) isPersonName_PersonName() {} - -func (*PersonName_StructuredName) isPersonName_PersonName() {} - -func (m *PersonName) GetPersonName() isPersonName_PersonName { - if m != nil { - return m.PersonName - } - return nil -} - -func (m *PersonName) GetFormattedName() string { - if x, ok := m.GetPersonName().(*PersonName_FormattedName); ok { - return x.FormattedName - } - return "" -} - -func (m *PersonName) GetStructuredName() *PersonName_PersonStructuredName { - if x, ok := m.GetPersonName().(*PersonName_StructuredName); ok { - return x.StructuredName - } - return nil -} - -func (m *PersonName) GetPreferredName() string { - if m != nil { - return m.PreferredName - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*PersonName) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*PersonName_FormattedName)(nil), - (*PersonName_StructuredName)(nil), - } -} - -// Resource that represents a person's structured name. -type PersonName_PersonStructuredName struct { - // Given/first name. - // - // It's derived from - // [formatted_name][google.cloud.talent.v4beta1.PersonName.formatted_name] - // if not provided. - // - // Number of characters allowed is 100. - GivenName string `protobuf:"bytes,1,opt,name=given_name,json=givenName,proto3" json:"given_name,omitempty"` - // Preferred given/first name or nickname. - // - // Number of characters allowed is 100. - PreferredName string `protobuf:"bytes,6,opt,name=preferred_name,json=preferredName,proto3" json:"preferred_name,omitempty"` - // Middle initial. - // - // It's derived from - // [formatted_name][google.cloud.talent.v4beta1.PersonName.formatted_name] - // if not provided. - // - // Number of characters allowed is 20. - MiddleInitial string `protobuf:"bytes,2,opt,name=middle_initial,json=middleInitial,proto3" json:"middle_initial,omitempty"` - // Family/last name. - // - // It's derived from - // [formatted_name][google.cloud.talent.v4beta1.PersonName.formatted_name] - // if not provided. - // - // Number of characters allowed is 100. - FamilyName string `protobuf:"bytes,3,opt,name=family_name,json=familyName,proto3" json:"family_name,omitempty"` - // Suffixes. - // - // Number of characters allowed is 20. - Suffixes []string `protobuf:"bytes,4,rep,name=suffixes,proto3" json:"suffixes,omitempty"` - // Prefixes. - // - // Number of characters allowed is 20. - Prefixes []string `protobuf:"bytes,5,rep,name=prefixes,proto3" json:"prefixes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PersonName_PersonStructuredName) Reset() { *m = PersonName_PersonStructuredName{} } -func (m *PersonName_PersonStructuredName) String() string { return proto.CompactTextString(m) } -func (*PersonName_PersonStructuredName) ProtoMessage() {} -func (*PersonName_PersonStructuredName) Descriptor() ([]byte, []int) { - return fileDescriptor_f0277fc1d2fabb3b, []int{3, 0} -} - -func (m *PersonName_PersonStructuredName) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PersonName_PersonStructuredName.Unmarshal(m, b) -} -func (m *PersonName_PersonStructuredName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PersonName_PersonStructuredName.Marshal(b, m, deterministic) -} -func (m *PersonName_PersonStructuredName) XXX_Merge(src proto.Message) { - xxx_messageInfo_PersonName_PersonStructuredName.Merge(m, src) -} -func (m *PersonName_PersonStructuredName) XXX_Size() int { - return xxx_messageInfo_PersonName_PersonStructuredName.Size(m) -} -func (m *PersonName_PersonStructuredName) XXX_DiscardUnknown() { - xxx_messageInfo_PersonName_PersonStructuredName.DiscardUnknown(m) -} - -var xxx_messageInfo_PersonName_PersonStructuredName proto.InternalMessageInfo - -func (m *PersonName_PersonStructuredName) GetGivenName() string { - if m != nil { - return m.GivenName - } - return "" -} - -func (m *PersonName_PersonStructuredName) GetPreferredName() string { - if m != nil { - return m.PreferredName - } - return "" -} - -func (m *PersonName_PersonStructuredName) GetMiddleInitial() string { - if m != nil { - return m.MiddleInitial - } - return "" -} - -func (m *PersonName_PersonStructuredName) GetFamilyName() string { - if m != nil { - return m.FamilyName - } - return "" -} - -func (m *PersonName_PersonStructuredName) GetSuffixes() []string { - if m != nil { - return m.Suffixes - } - return nil -} - -func (m *PersonName_PersonStructuredName) GetPrefixes() []string { - if m != nil { - return m.Prefixes - } - return nil -} - -// Resource that represents a address. -type Address struct { - // The usage of the address. For example, SCHOOL, WORK, PERSONAL. - Usage ContactInfoUsage `protobuf:"varint,1,opt,name=usage,proto3,enum=google.cloud.talent.v4beta1.ContactInfoUsage" json:"usage,omitempty"` - // The address of a person. It can be one of - // [unstructured_address][google.cloud.talent.v4beta1.Address.unstructured_address] - // or - // [structured_address][google.cloud.talent.v4beta1.Address.structured_address]. - // - // Types that are valid to be assigned to Address: - // *Address_UnstructuredAddress - // *Address_StructuredAddress - Address isAddress_Address `protobuf_oneof:"address"` - // Indicates if it's the person's current address. - Current *wrappers.BoolValue `protobuf:"bytes,4,opt,name=current,proto3" json:"current,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Address) Reset() { *m = Address{} } -func (m *Address) String() string { return proto.CompactTextString(m) } -func (*Address) ProtoMessage() {} -func (*Address) Descriptor() ([]byte, []int) { - return fileDescriptor_f0277fc1d2fabb3b, []int{4} -} - -func (m *Address) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Address.Unmarshal(m, b) -} -func (m *Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Address.Marshal(b, m, deterministic) -} -func (m *Address) XXX_Merge(src proto.Message) { - xxx_messageInfo_Address.Merge(m, src) -} -func (m *Address) XXX_Size() int { - return xxx_messageInfo_Address.Size(m) -} -func (m *Address) XXX_DiscardUnknown() { - xxx_messageInfo_Address.DiscardUnknown(m) -} - -var xxx_messageInfo_Address proto.InternalMessageInfo - -func (m *Address) GetUsage() ContactInfoUsage { - if m != nil { - return m.Usage - } - return ContactInfoUsage_CONTACT_INFO_USAGE_UNSPECIFIED -} - -type isAddress_Address interface { - isAddress_Address() -} - -type Address_UnstructuredAddress struct { - UnstructuredAddress string `protobuf:"bytes,2,opt,name=unstructured_address,json=unstructuredAddress,proto3,oneof"` -} - -type Address_StructuredAddress struct { - StructuredAddress *postaladdress.PostalAddress `protobuf:"bytes,3,opt,name=structured_address,json=structuredAddress,proto3,oneof"` -} - -func (*Address_UnstructuredAddress) isAddress_Address() {} - -func (*Address_StructuredAddress) isAddress_Address() {} - -func (m *Address) GetAddress() isAddress_Address { - if m != nil { - return m.Address - } - return nil -} - -func (m *Address) GetUnstructuredAddress() string { - if x, ok := m.GetAddress().(*Address_UnstructuredAddress); ok { - return x.UnstructuredAddress - } - return "" -} - -func (m *Address) GetStructuredAddress() *postaladdress.PostalAddress { - if x, ok := m.GetAddress().(*Address_StructuredAddress); ok { - return x.StructuredAddress - } - return nil -} - -func (m *Address) GetCurrent() *wrappers.BoolValue { - if m != nil { - return m.Current - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Address) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Address_UnstructuredAddress)(nil), - (*Address_StructuredAddress)(nil), - } -} - -// Resource that represents a person's email address. -type Email struct { - // The usage of the email address. For example, SCHOOL, WORK, PERSONAL. - Usage ContactInfoUsage `protobuf:"varint,1,opt,name=usage,proto3,enum=google.cloud.talent.v4beta1.ContactInfoUsage" json:"usage,omitempty"` - // Email address. - // - // Number of characters allowed is 4,000. - EmailAddress string `protobuf:"bytes,2,opt,name=email_address,json=emailAddress,proto3" json:"email_address,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Email) Reset() { *m = Email{} } -func (m *Email) String() string { return proto.CompactTextString(m) } -func (*Email) ProtoMessage() {} -func (*Email) Descriptor() ([]byte, []int) { - return fileDescriptor_f0277fc1d2fabb3b, []int{5} -} - -func (m *Email) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Email.Unmarshal(m, b) -} -func (m *Email) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Email.Marshal(b, m, deterministic) -} -func (m *Email) XXX_Merge(src proto.Message) { - xxx_messageInfo_Email.Merge(m, src) -} -func (m *Email) XXX_Size() int { - return xxx_messageInfo_Email.Size(m) -} -func (m *Email) XXX_DiscardUnknown() { - xxx_messageInfo_Email.DiscardUnknown(m) -} - -var xxx_messageInfo_Email proto.InternalMessageInfo - -func (m *Email) GetUsage() ContactInfoUsage { - if m != nil { - return m.Usage - } - return ContactInfoUsage_CONTACT_INFO_USAGE_UNSPECIFIED -} - -func (m *Email) GetEmailAddress() string { - if m != nil { - return m.EmailAddress - } - return "" -} - -// Resource that represents a person's telephone number. -type Phone struct { - // The usage of the phone. For example, SCHOOL, WORK, PERSONAL. - Usage ContactInfoUsage `protobuf:"varint,1,opt,name=usage,proto3,enum=google.cloud.talent.v4beta1.ContactInfoUsage" json:"usage,omitempty"` - // The phone type. For example, LANDLINE, MOBILE, FAX. - Type Phone_PhoneType `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.talent.v4beta1.Phone_PhoneType" json:"type,omitempty"` - // Phone number. - // - // Any phone formats are supported and only exact matches are performed on - // searches. For example, if a phone number in profile is provided in the - // format of "(xxx)xxx-xxxx", in profile searches the same phone format - // has to be provided. - // - // Number of characters allowed is 20. - Number string `protobuf:"bytes,3,opt,name=number,proto3" json:"number,omitempty"` - // When this number is available. Any descriptive string is expected. - // - // Number of characters allowed is 100. - WhenAvailable string `protobuf:"bytes,4,opt,name=when_available,json=whenAvailable,proto3" json:"when_available,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Phone) Reset() { *m = Phone{} } -func (m *Phone) String() string { return proto.CompactTextString(m) } -func (*Phone) ProtoMessage() {} -func (*Phone) Descriptor() ([]byte, []int) { - return fileDescriptor_f0277fc1d2fabb3b, []int{6} -} - -func (m *Phone) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Phone.Unmarshal(m, b) -} -func (m *Phone) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Phone.Marshal(b, m, deterministic) -} -func (m *Phone) XXX_Merge(src proto.Message) { - xxx_messageInfo_Phone.Merge(m, src) -} -func (m *Phone) XXX_Size() int { - return xxx_messageInfo_Phone.Size(m) -} -func (m *Phone) XXX_DiscardUnknown() { - xxx_messageInfo_Phone.DiscardUnknown(m) -} - -var xxx_messageInfo_Phone proto.InternalMessageInfo - -func (m *Phone) GetUsage() ContactInfoUsage { - if m != nil { - return m.Usage - } - return ContactInfoUsage_CONTACT_INFO_USAGE_UNSPECIFIED -} - -func (m *Phone) GetType() Phone_PhoneType { - if m != nil { - return m.Type - } - return Phone_PHONE_TYPE_UNSPECIFIED -} - -func (m *Phone) GetNumber() string { - if m != nil { - return m.Number - } - return "" -} - -func (m *Phone) GetWhenAvailable() string { - if m != nil { - return m.WhenAvailable - } - return "" -} - -// Resource that represents a valid URI for a personal use. -type PersonalUri struct { - // The personal URI. - // - // Number of characters allowed is 4,000. - 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 *PersonalUri) Reset() { *m = PersonalUri{} } -func (m *PersonalUri) String() string { return proto.CompactTextString(m) } -func (*PersonalUri) ProtoMessage() {} -func (*PersonalUri) Descriptor() ([]byte, []int) { - return fileDescriptor_f0277fc1d2fabb3b, []int{7} -} - -func (m *PersonalUri) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PersonalUri.Unmarshal(m, b) -} -func (m *PersonalUri) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PersonalUri.Marshal(b, m, deterministic) -} -func (m *PersonalUri) XXX_Merge(src proto.Message) { - xxx_messageInfo_PersonalUri.Merge(m, src) -} -func (m *PersonalUri) XXX_Size() int { - return xxx_messageInfo_PersonalUri.Size(m) -} -func (m *PersonalUri) XXX_DiscardUnknown() { - xxx_messageInfo_PersonalUri.DiscardUnknown(m) -} - -var xxx_messageInfo_PersonalUri proto.InternalMessageInfo - -func (m *PersonalUri) GetUri() string { - if m != nil { - return m.Uri - } - return "" -} - -// Resource that represents contact information other than phone, email, -// URI and addresses. -type AdditionalContactInfo struct { - // The usage of this contact method. For example, SCHOOL, WORK, PERSONAL. - Usage ContactInfoUsage `protobuf:"varint,1,opt,name=usage,proto3,enum=google.cloud.talent.v4beta1.ContactInfoUsage" json:"usage,omitempty"` - // The name of the contact method. - // - // For example, "hangout", "skype". - // - // Number of characters allowed is 100. - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - // The contact id. - // - // Number of characters allowed is 100. - ContactId string `protobuf:"bytes,3,opt,name=contact_id,json=contactId,proto3" json:"contact_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdditionalContactInfo) Reset() { *m = AdditionalContactInfo{} } -func (m *AdditionalContactInfo) String() string { return proto.CompactTextString(m) } -func (*AdditionalContactInfo) ProtoMessage() {} -func (*AdditionalContactInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_f0277fc1d2fabb3b, []int{8} -} - -func (m *AdditionalContactInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdditionalContactInfo.Unmarshal(m, b) -} -func (m *AdditionalContactInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdditionalContactInfo.Marshal(b, m, deterministic) -} -func (m *AdditionalContactInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdditionalContactInfo.Merge(m, src) -} -func (m *AdditionalContactInfo) XXX_Size() int { - return xxx_messageInfo_AdditionalContactInfo.Size(m) -} -func (m *AdditionalContactInfo) XXX_DiscardUnknown() { - xxx_messageInfo_AdditionalContactInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_AdditionalContactInfo proto.InternalMessageInfo - -func (m *AdditionalContactInfo) GetUsage() ContactInfoUsage { - if m != nil { - return m.Usage - } - return ContactInfoUsage_CONTACT_INFO_USAGE_UNSPECIFIED -} - -func (m *AdditionalContactInfo) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *AdditionalContactInfo) GetContactId() string { - if m != nil { - return m.ContactId - } - return "" -} - -// Resource that represents an employment record of a candidate. -type EmploymentRecord struct { - // Start date of the employment. - StartDate *date.Date `protobuf:"bytes,1,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` - // End date of the employment. - EndDate *date.Date `protobuf:"bytes,2,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` - // The name of the employer company/organization. - // - // For example, "Google", "Alphabet", and so on. - // - // Number of characters allowed is 250. - EmployerName string `protobuf:"bytes,3,opt,name=employer_name,json=employerName,proto3" json:"employer_name,omitempty"` - // The division name of the employment. - // - // For example, division, department, client, and so on. - // - // Number of characters allowed is 100. - DivisionName string `protobuf:"bytes,4,opt,name=division_name,json=divisionName,proto3" json:"division_name,omitempty"` - // The physical address of the employer. - Address *Address `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"` - // The job title of the employment. - // - // For example, "Software Engineer", "Data Scientist", and so on. - // - // Number of characters allowed is 250. - JobTitle string `protobuf:"bytes,6,opt,name=job_title,json=jobTitle,proto3" json:"job_title,omitempty"` - // The description of job content. - // - // Number of characters allowed is 100,000. - JobDescription string `protobuf:"bytes,7,opt,name=job_description,json=jobDescription,proto3" json:"job_description,omitempty"` - // If the jobs is a supervisor position. - IsSupervisor *wrappers.BoolValue `protobuf:"bytes,8,opt,name=is_supervisor,json=isSupervisor,proto3" json:"is_supervisor,omitempty"` - // If this employment is self-employed. - IsSelfEmployed *wrappers.BoolValue `protobuf:"bytes,9,opt,name=is_self_employed,json=isSelfEmployed,proto3" json:"is_self_employed,omitempty"` - // If this employment is current. - IsCurrent *wrappers.BoolValue `protobuf:"bytes,10,opt,name=is_current,json=isCurrent,proto3" json:"is_current,omitempty"` - // Output only. The job title snippet shows how the - // [job_title][google.cloud.talent.v4beta1.EmploymentRecord.job_title] is - // related to a search query. It's empty if the - // [job_title][google.cloud.talent.v4beta1.EmploymentRecord.job_title] isn't - // related to the search query. - JobTitleSnippet string `protobuf:"bytes,11,opt,name=job_title_snippet,json=jobTitleSnippet,proto3" json:"job_title_snippet,omitempty"` - // Output only. The job description snippet shows how the - // [job_description][google.cloud.talent.v4beta1.EmploymentRecord.job_description] - // is related to a search query. It's empty if the - // [job_description][google.cloud.talent.v4beta1.EmploymentRecord.job_description] - // isn't related to the search query. - JobDescriptionSnippet string `protobuf:"bytes,12,opt,name=job_description_snippet,json=jobDescriptionSnippet,proto3" json:"job_description_snippet,omitempty"` - // Output only. The employer name snippet shows how the - // [employer_name][google.cloud.talent.v4beta1.EmploymentRecord.employer_name] - // is related to a search query. It's empty if the - // [employer_name][google.cloud.talent.v4beta1.EmploymentRecord.employer_name] - // isn't related to the search query. - EmployerNameSnippet string `protobuf:"bytes,13,opt,name=employer_name_snippet,json=employerNameSnippet,proto3" json:"employer_name_snippet,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *EmploymentRecord) Reset() { *m = EmploymentRecord{} } -func (m *EmploymentRecord) String() string { return proto.CompactTextString(m) } -func (*EmploymentRecord) ProtoMessage() {} -func (*EmploymentRecord) Descriptor() ([]byte, []int) { - return fileDescriptor_f0277fc1d2fabb3b, []int{9} -} - -func (m *EmploymentRecord) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EmploymentRecord.Unmarshal(m, b) -} -func (m *EmploymentRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EmploymentRecord.Marshal(b, m, deterministic) -} -func (m *EmploymentRecord) XXX_Merge(src proto.Message) { - xxx_messageInfo_EmploymentRecord.Merge(m, src) -} -func (m *EmploymentRecord) XXX_Size() int { - return xxx_messageInfo_EmploymentRecord.Size(m) -} -func (m *EmploymentRecord) XXX_DiscardUnknown() { - xxx_messageInfo_EmploymentRecord.DiscardUnknown(m) -} - -var xxx_messageInfo_EmploymentRecord proto.InternalMessageInfo - -func (m *EmploymentRecord) GetStartDate() *date.Date { - if m != nil { - return m.StartDate - } - return nil -} - -func (m *EmploymentRecord) GetEndDate() *date.Date { - if m != nil { - return m.EndDate - } - return nil -} - -func (m *EmploymentRecord) GetEmployerName() string { - if m != nil { - return m.EmployerName - } - return "" -} - -func (m *EmploymentRecord) GetDivisionName() string { - if m != nil { - return m.DivisionName - } - return "" -} - -func (m *EmploymentRecord) GetAddress() *Address { - if m != nil { - return m.Address - } - return nil -} - -func (m *EmploymentRecord) GetJobTitle() string { - if m != nil { - return m.JobTitle - } - return "" -} - -func (m *EmploymentRecord) GetJobDescription() string { - if m != nil { - return m.JobDescription - } - return "" -} - -func (m *EmploymentRecord) GetIsSupervisor() *wrappers.BoolValue { - if m != nil { - return m.IsSupervisor - } - return nil -} - -func (m *EmploymentRecord) GetIsSelfEmployed() *wrappers.BoolValue { - if m != nil { - return m.IsSelfEmployed - } - return nil -} - -func (m *EmploymentRecord) GetIsCurrent() *wrappers.BoolValue { - if m != nil { - return m.IsCurrent - } - return nil -} - -func (m *EmploymentRecord) GetJobTitleSnippet() string { - if m != nil { - return m.JobTitleSnippet - } - return "" -} - -func (m *EmploymentRecord) GetJobDescriptionSnippet() string { - if m != nil { - return m.JobDescriptionSnippet - } - return "" -} - -func (m *EmploymentRecord) GetEmployerNameSnippet() string { - if m != nil { - return m.EmployerNameSnippet - } - return "" -} - -// Resource that represents an education record of a candidate. -type EducationRecord struct { - // The start date of the education. - StartDate *date.Date `protobuf:"bytes,1,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` - // The end date of the education. - EndDate *date.Date `protobuf:"bytes,2,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` - // The expected graduation date if currently pursuing a degree. - ExpectedGraduationDate *date.Date `protobuf:"bytes,3,opt,name=expected_graduation_date,json=expectedGraduationDate,proto3" json:"expected_graduation_date,omitempty"` - // The name of the school or institution. - // - // For example, "Stanford University", "UC Berkeley", and so on. - // - // Number of characters allowed is 250. - SchoolName string `protobuf:"bytes,4,opt,name=school_name,json=schoolName,proto3" json:"school_name,omitempty"` - // The physical address of the education institution. - Address *Address `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"` - // The degree information. It can be one of - // [degree_description][google.cloud.talent.v4beta1.EducationRecord.degree_description] - // or - // [structured_degree][google.cloud.talent.v4beta1.EducationRecord.structured_degree]. - // - // Types that are valid to be assigned to Degree: - // *EducationRecord_DegreeDescription - // *EducationRecord_StructuredDegree - Degree isEducationRecord_Degree `protobuf_oneof:"degree"` - // The description of the education. - // - // Number of characters allowed is 100,000. - Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"` - // If this education is current. - IsCurrent *wrappers.BoolValue `protobuf:"bytes,9,opt,name=is_current,json=isCurrent,proto3" json:"is_current,omitempty"` - // Output only. The school name snippet shows how the - // [school_name][google.cloud.talent.v4beta1.EducationRecord.school_name] is - // related to a search query in search result. It's empty if the - // [school_name][google.cloud.talent.v4beta1.EducationRecord.school_name] - // isn't related to the search query. - SchoolNameSnippet string `protobuf:"bytes,10,opt,name=school_name_snippet,json=schoolNameSnippet,proto3" json:"school_name_snippet,omitempty"` - // Output only. The job description snippet shows how the - // [Degree][google.cloud.talent.v4beta1.Degree] is related to a search query - // in search result. It's empty if the - // [Degree][google.cloud.talent.v4beta1.Degree] isn't related to the search - // query. - DegreeSnippet string `protobuf:"bytes,11,opt,name=degree_snippet,json=degreeSnippet,proto3" json:"degree_snippet,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *EducationRecord) Reset() { *m = EducationRecord{} } -func (m *EducationRecord) String() string { return proto.CompactTextString(m) } -func (*EducationRecord) ProtoMessage() {} -func (*EducationRecord) Descriptor() ([]byte, []int) { - return fileDescriptor_f0277fc1d2fabb3b, []int{10} -} - -func (m *EducationRecord) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EducationRecord.Unmarshal(m, b) -} -func (m *EducationRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EducationRecord.Marshal(b, m, deterministic) -} -func (m *EducationRecord) XXX_Merge(src proto.Message) { - xxx_messageInfo_EducationRecord.Merge(m, src) -} -func (m *EducationRecord) XXX_Size() int { - return xxx_messageInfo_EducationRecord.Size(m) -} -func (m *EducationRecord) XXX_DiscardUnknown() { - xxx_messageInfo_EducationRecord.DiscardUnknown(m) -} - -var xxx_messageInfo_EducationRecord proto.InternalMessageInfo - -func (m *EducationRecord) GetStartDate() *date.Date { - if m != nil { - return m.StartDate - } - return nil -} - -func (m *EducationRecord) GetEndDate() *date.Date { - if m != nil { - return m.EndDate - } - return nil -} - -func (m *EducationRecord) GetExpectedGraduationDate() *date.Date { - if m != nil { - return m.ExpectedGraduationDate - } - return nil -} - -func (m *EducationRecord) GetSchoolName() string { - if m != nil { - return m.SchoolName - } - return "" -} - -func (m *EducationRecord) GetAddress() *Address { - if m != nil { - return m.Address - } - return nil -} - -type isEducationRecord_Degree interface { - isEducationRecord_Degree() -} - -type EducationRecord_DegreeDescription struct { - DegreeDescription string `protobuf:"bytes,6,opt,name=degree_description,json=degreeDescription,proto3,oneof"` -} - -type EducationRecord_StructuredDegree struct { - StructuredDegree *Degree `protobuf:"bytes,7,opt,name=structured_degree,json=structuredDegree,proto3,oneof"` -} - -func (*EducationRecord_DegreeDescription) isEducationRecord_Degree() {} - -func (*EducationRecord_StructuredDegree) isEducationRecord_Degree() {} - -func (m *EducationRecord) GetDegree() isEducationRecord_Degree { - if m != nil { - return m.Degree - } - return nil -} - -func (m *EducationRecord) GetDegreeDescription() string { - if x, ok := m.GetDegree().(*EducationRecord_DegreeDescription); ok { - return x.DegreeDescription - } - return "" -} - -func (m *EducationRecord) GetStructuredDegree() *Degree { - if x, ok := m.GetDegree().(*EducationRecord_StructuredDegree); ok { - return x.StructuredDegree - } - return nil -} - -func (m *EducationRecord) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *EducationRecord) GetIsCurrent() *wrappers.BoolValue { - if m != nil { - return m.IsCurrent - } - return nil -} - -func (m *EducationRecord) GetSchoolNameSnippet() string { - if m != nil { - return m.SchoolNameSnippet - } - return "" -} - -func (m *EducationRecord) GetDegreeSnippet() string { - if m != nil { - return m.DegreeSnippet - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*EducationRecord) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*EducationRecord_DegreeDescription)(nil), - (*EducationRecord_StructuredDegree)(nil), - } -} - -// Resource that represents a degree pursuing or acquired by a candidate. -type Degree struct { - // ISCED degree type. - DegreeType DegreeType `protobuf:"varint,1,opt,name=degree_type,json=degreeType,proto3,enum=google.cloud.talent.v4beta1.DegreeType" json:"degree_type,omitempty"` - // Full Degree name. - // - // For example, "B.S.", "Master of Arts", and so on. - // - // Number of characters allowed is 100. - DegreeName string `protobuf:"bytes,2,opt,name=degree_name,json=degreeName,proto3" json:"degree_name,omitempty"` - // Fields of study for the degree. - // - // For example, "Computer science", "engineering". - // - // Number of characters allowed is 100. - FieldsOfStudy []string `protobuf:"bytes,3,rep,name=fields_of_study,json=fieldsOfStudy,proto3" json:"fields_of_study,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Degree) Reset() { *m = Degree{} } -func (m *Degree) String() string { return proto.CompactTextString(m) } -func (*Degree) ProtoMessage() {} -func (*Degree) Descriptor() ([]byte, []int) { - return fileDescriptor_f0277fc1d2fabb3b, []int{11} -} - -func (m *Degree) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Degree.Unmarshal(m, b) -} -func (m *Degree) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Degree.Marshal(b, m, deterministic) -} -func (m *Degree) XXX_Merge(src proto.Message) { - xxx_messageInfo_Degree.Merge(m, src) -} -func (m *Degree) XXX_Size() int { - return xxx_messageInfo_Degree.Size(m) -} -func (m *Degree) XXX_DiscardUnknown() { - xxx_messageInfo_Degree.DiscardUnknown(m) -} - -var xxx_messageInfo_Degree proto.InternalMessageInfo - -func (m *Degree) GetDegreeType() DegreeType { - if m != nil { - return m.DegreeType - } - return DegreeType_DEGREE_TYPE_UNSPECIFIED -} - -func (m *Degree) GetDegreeName() string { - if m != nil { - return m.DegreeName - } - return "" -} - -func (m *Degree) GetFieldsOfStudy() []string { - if m != nil { - return m.FieldsOfStudy - } - return nil -} - -// Resource that represents an individual or collaborative activity participated -// in by a candidate, for example, an open-source project, a class assignment, -// and so on. -type Activity struct { - // Activity display name. - // - // Number of characters allowed is 100. - DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Activity description. - // - // Number of characters allowed is 100,000. - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - // Activity URI. - // - // Number of characters allowed is 4,000. - Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"` - // The first creation date of the activity. - CreateDate *date.Date `protobuf:"bytes,4,opt,name=create_date,json=createDate,proto3" json:"create_date,omitempty"` - // The last update date of the activity. - UpdateDate *date.Date `protobuf:"bytes,5,opt,name=update_date,json=updateDate,proto3" json:"update_date,omitempty"` - // A list of team members involved in this activity. - // - // Number of characters allowed is 100. - // - // The limitation for max number of team members is 50. - TeamMembers []string `protobuf:"bytes,6,rep,name=team_members,json=teamMembers,proto3" json:"team_members,omitempty"` - // A list of skills used in this activity. - // - // The limitation for max number of skills used is 50. - SkillsUsed []*Skill `protobuf:"bytes,7,rep,name=skills_used,json=skillsUsed,proto3" json:"skills_used,omitempty"` - // Output only. Activity name snippet shows how the - // [display_name][google.cloud.talent.v4beta1.Activity.display_name] is - // related to a search query. It's empty if the - // [display_name][google.cloud.talent.v4beta1.Activity.display_name] isn't - // related to the search query. - ActivityNameSnippet string `protobuf:"bytes,8,opt,name=activity_name_snippet,json=activityNameSnippet,proto3" json:"activity_name_snippet,omitempty"` - // Output only. Activity description snippet shows how the - // [description][google.cloud.talent.v4beta1.Activity.description] is related - // to a search query. It's empty if the - // [description][google.cloud.talent.v4beta1.Activity.description] isn't - // related to the search query. - ActivityDescriptionSnippet string `protobuf:"bytes,9,opt,name=activity_description_snippet,json=activityDescriptionSnippet,proto3" json:"activity_description_snippet,omitempty"` - // Output only. Skill used snippet shows how the corresponding - // [skills_used][google.cloud.talent.v4beta1.Activity.skills_used] are related - // to a search query. It's empty if the corresponding - // [skills_used][google.cloud.talent.v4beta1.Activity.skills_used] are not - // related to the search query. - SkillsUsedSnippet []string `protobuf:"bytes,10,rep,name=skills_used_snippet,json=skillsUsedSnippet,proto3" json:"skills_used_snippet,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Activity) Reset() { *m = Activity{} } -func (m *Activity) String() string { return proto.CompactTextString(m) } -func (*Activity) ProtoMessage() {} -func (*Activity) Descriptor() ([]byte, []int) { - return fileDescriptor_f0277fc1d2fabb3b, []int{12} -} - -func (m *Activity) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Activity.Unmarshal(m, b) -} -func (m *Activity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Activity.Marshal(b, m, deterministic) -} -func (m *Activity) XXX_Merge(src proto.Message) { - xxx_messageInfo_Activity.Merge(m, src) -} -func (m *Activity) XXX_Size() int { - return xxx_messageInfo_Activity.Size(m) -} -func (m *Activity) XXX_DiscardUnknown() { - xxx_messageInfo_Activity.DiscardUnknown(m) -} - -var xxx_messageInfo_Activity proto.InternalMessageInfo - -func (m *Activity) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *Activity) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *Activity) GetUri() string { - if m != nil { - return m.Uri - } - return "" -} - -func (m *Activity) GetCreateDate() *date.Date { - if m != nil { - return m.CreateDate - } - return nil -} - -func (m *Activity) GetUpdateDate() *date.Date { - if m != nil { - return m.UpdateDate - } - return nil -} - -func (m *Activity) GetTeamMembers() []string { - if m != nil { - return m.TeamMembers - } - return nil -} - -func (m *Activity) GetSkillsUsed() []*Skill { - if m != nil { - return m.SkillsUsed - } - return nil -} - -func (m *Activity) GetActivityNameSnippet() string { - if m != nil { - return m.ActivityNameSnippet - } - return "" -} - -func (m *Activity) GetActivityDescriptionSnippet() string { - if m != nil { - return m.ActivityDescriptionSnippet - } - return "" -} - -func (m *Activity) GetSkillsUsedSnippet() []string { - if m != nil { - return m.SkillsUsedSnippet - } - return nil -} - -// Resource that represents a publication resource of a candidate. -type Publication struct { - // A list of author names. - // - // Number of characters allowed is 100. - Authors []string `protobuf:"bytes,1,rep,name=authors,proto3" json:"authors,omitempty"` - // The title of the publication. - // - // Number of characters allowed is 100. - Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` - // The description of the publication. - // - // Number of characters allowed is 100,000. - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - // The journal name of the publication. - // - // Number of characters allowed is 100. - Journal string `protobuf:"bytes,4,opt,name=journal,proto3" json:"journal,omitempty"` - // Volume number. - // - // Number of characters allowed is 100. - Volume string `protobuf:"bytes,5,opt,name=volume,proto3" json:"volume,omitempty"` - // The publisher of the journal. - // - // Number of characters allowed is 100. - Publisher string `protobuf:"bytes,6,opt,name=publisher,proto3" json:"publisher,omitempty"` - // The publication date. - PublicationDate *date.Date `protobuf:"bytes,7,opt,name=publication_date,json=publicationDate,proto3" json:"publication_date,omitempty"` - // The publication type. - // - // Number of characters allowed is 100. - PublicationType string `protobuf:"bytes,8,opt,name=publication_type,json=publicationType,proto3" json:"publication_type,omitempty"` - // ISBN number. - // - // Number of characters allowed is 100. - Isbn string `protobuf:"bytes,9,opt,name=isbn,proto3" json:"isbn,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Publication) Reset() { *m = Publication{} } -func (m *Publication) String() string { return proto.CompactTextString(m) } -func (*Publication) ProtoMessage() {} -func (*Publication) Descriptor() ([]byte, []int) { - return fileDescriptor_f0277fc1d2fabb3b, []int{13} -} - -func (m *Publication) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Publication.Unmarshal(m, b) -} -func (m *Publication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Publication.Marshal(b, m, deterministic) -} -func (m *Publication) XXX_Merge(src proto.Message) { - xxx_messageInfo_Publication.Merge(m, src) -} -func (m *Publication) XXX_Size() int { - return xxx_messageInfo_Publication.Size(m) -} -func (m *Publication) XXX_DiscardUnknown() { - xxx_messageInfo_Publication.DiscardUnknown(m) -} - -var xxx_messageInfo_Publication proto.InternalMessageInfo - -func (m *Publication) GetAuthors() []string { - if m != nil { - return m.Authors - } - return nil -} - -func (m *Publication) GetTitle() string { - if m != nil { - return m.Title - } - return "" -} - -func (m *Publication) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *Publication) GetJournal() string { - if m != nil { - return m.Journal - } - return "" -} - -func (m *Publication) GetVolume() string { - if m != nil { - return m.Volume - } - return "" -} - -func (m *Publication) GetPublisher() string { - if m != nil { - return m.Publisher - } - return "" -} - -func (m *Publication) GetPublicationDate() *date.Date { - if m != nil { - return m.PublicationDate - } - return nil -} - -func (m *Publication) GetPublicationType() string { - if m != nil { - return m.PublicationType - } - return "" -} - -func (m *Publication) GetIsbn() string { - if m != nil { - return m.Isbn - } - return "" -} - -// Resource that represents the patent acquired by a candidate. -type Patent struct { - // Name of the patent. - // - // Number of characters allowed is 100. - DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // A list of inventors' names. - // - // Number of characters allowed for each is 100. - Inventors []string `protobuf:"bytes,2,rep,name=inventors,proto3" json:"inventors,omitempty"` - // The status of the patent. - // - // Number of characters allowed is 100. - PatentStatus string `protobuf:"bytes,3,opt,name=patent_status,json=patentStatus,proto3" json:"patent_status,omitempty"` - // The date the last time the status of the patent was checked. - PatentStatusDate *date.Date `protobuf:"bytes,4,opt,name=patent_status_date,json=patentStatusDate,proto3" json:"patent_status_date,omitempty"` - // The date that the patent was filed. - PatentFilingDate *date.Date `protobuf:"bytes,5,opt,name=patent_filing_date,json=patentFilingDate,proto3" json:"patent_filing_date,omitempty"` - // The name of the patent office. - // - // Number of characters allowed is 100. - PatentOffice string `protobuf:"bytes,6,opt,name=patent_office,json=patentOffice,proto3" json:"patent_office,omitempty"` - // The number of the patent. - // - // Number of characters allowed is 100. - PatentNumber string `protobuf:"bytes,7,opt,name=patent_number,json=patentNumber,proto3" json:"patent_number,omitempty"` - // The description of the patent. - // - // Number of characters allowed is 100,000. - PatentDescription string `protobuf:"bytes,8,opt,name=patent_description,json=patentDescription,proto3" json:"patent_description,omitempty"` - // The skills used in this patent. - SkillsUsed []*Skill `protobuf:"bytes,9,rep,name=skills_used,json=skillsUsed,proto3" json:"skills_used,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Patent) Reset() { *m = Patent{} } -func (m *Patent) String() string { return proto.CompactTextString(m) } -func (*Patent) ProtoMessage() {} -func (*Patent) Descriptor() ([]byte, []int) { - return fileDescriptor_f0277fc1d2fabb3b, []int{14} -} - -func (m *Patent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Patent.Unmarshal(m, b) -} -func (m *Patent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Patent.Marshal(b, m, deterministic) -} -func (m *Patent) XXX_Merge(src proto.Message) { - xxx_messageInfo_Patent.Merge(m, src) -} -func (m *Patent) XXX_Size() int { - return xxx_messageInfo_Patent.Size(m) -} -func (m *Patent) XXX_DiscardUnknown() { - xxx_messageInfo_Patent.DiscardUnknown(m) -} - -var xxx_messageInfo_Patent proto.InternalMessageInfo - -func (m *Patent) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *Patent) GetInventors() []string { - if m != nil { - return m.Inventors - } - return nil -} - -func (m *Patent) GetPatentStatus() string { - if m != nil { - return m.PatentStatus - } - return "" -} - -func (m *Patent) GetPatentStatusDate() *date.Date { - if m != nil { - return m.PatentStatusDate - } - return nil -} - -func (m *Patent) GetPatentFilingDate() *date.Date { - if m != nil { - return m.PatentFilingDate - } - return nil -} - -func (m *Patent) GetPatentOffice() string { - if m != nil { - return m.PatentOffice - } - return "" -} - -func (m *Patent) GetPatentNumber() string { - if m != nil { - return m.PatentNumber - } - return "" -} - -func (m *Patent) GetPatentDescription() string { - if m != nil { - return m.PatentDescription - } - return "" -} - -func (m *Patent) GetSkillsUsed() []*Skill { - if m != nil { - return m.SkillsUsed - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.talent.v4beta1.Resume_ResumeType", Resume_ResumeType_name, Resume_ResumeType_value) - proto.RegisterEnum("google.cloud.talent.v4beta1.Phone_PhoneType", Phone_PhoneType_name, Phone_PhoneType_value) - proto.RegisterType((*Profile)(nil), "google.cloud.talent.v4beta1.Profile") - proto.RegisterMapType((map[string]*CustomAttribute)(nil), "google.cloud.talent.v4beta1.Profile.CustomAttributesEntry") - proto.RegisterType((*AvailabilitySignal)(nil), "google.cloud.talent.v4beta1.AvailabilitySignal") - proto.RegisterType((*Resume)(nil), "google.cloud.talent.v4beta1.Resume") - proto.RegisterType((*PersonName)(nil), "google.cloud.talent.v4beta1.PersonName") - proto.RegisterType((*PersonName_PersonStructuredName)(nil), "google.cloud.talent.v4beta1.PersonName.PersonStructuredName") - proto.RegisterType((*Address)(nil), "google.cloud.talent.v4beta1.Address") - proto.RegisterType((*Email)(nil), "google.cloud.talent.v4beta1.Email") - proto.RegisterType((*Phone)(nil), "google.cloud.talent.v4beta1.Phone") - proto.RegisterType((*PersonalUri)(nil), "google.cloud.talent.v4beta1.PersonalUri") - proto.RegisterType((*AdditionalContactInfo)(nil), "google.cloud.talent.v4beta1.AdditionalContactInfo") - proto.RegisterType((*EmploymentRecord)(nil), "google.cloud.talent.v4beta1.EmploymentRecord") - proto.RegisterType((*EducationRecord)(nil), "google.cloud.talent.v4beta1.EducationRecord") - proto.RegisterType((*Degree)(nil), "google.cloud.talent.v4beta1.Degree") - proto.RegisterType((*Activity)(nil), "google.cloud.talent.v4beta1.Activity") - proto.RegisterType((*Publication)(nil), "google.cloud.talent.v4beta1.Publication") - proto.RegisterType((*Patent)(nil), "google.cloud.talent.v4beta1.Patent") -} - -func init() { - proto.RegisterFile("google/cloud/talent/v4beta1/profile.proto", fileDescriptor_f0277fc1d2fabb3b) -} - -var fileDescriptor_f0277fc1d2fabb3b = []byte{ - // 2454 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x59, 0x4b, 0x73, 0x1b, 0xc7, - 0x11, 0x16, 0x00, 0x12, 0x8f, 0xc6, 0x83, 0x8b, 0x91, 0x48, 0x6d, 0x28, 0x39, 0xa2, 0xe1, 0x38, - 0xa2, 0x1d, 0x99, 0x70, 0x28, 0xa7, 0x9c, 0x58, 0x4e, 0x6c, 0x3e, 0x20, 0x11, 0x11, 0x45, 0xb2, - 0x16, 0xa4, 0x62, 0xa7, 0x52, 0xb5, 0x35, 0xc0, 0x0e, 0xc0, 0x91, 0x17, 0xbb, 0xeb, 0x9d, 0x59, - 0x5a, 0xb8, 0xe6, 0x0f, 0xa4, 0x72, 0xce, 0x2d, 0x39, 0x26, 0x95, 0x4b, 0xfe, 0x46, 0x6e, 0xb9, - 0xe6, 0x90, 0x53, 0x0e, 0xa9, 0xdc, 0xf2, 0x07, 0x52, 0xf3, 0xd8, 0x07, 0x40, 0x12, 0x84, 0x53, - 0xca, 0x85, 0xdc, 0xe9, 0xe9, 0xef, 0x9b, 0x99, 0x9e, 0x9e, 0xee, 0x9e, 0x01, 0xbc, 0x37, 0xf2, - 0xfd, 0x91, 0x4b, 0xda, 0x03, 0xd7, 0x8f, 0x9c, 0x36, 0xc7, 0x2e, 0xf1, 0x78, 0xfb, 0xe2, 0xa3, - 0x3e, 0xe1, 0xf8, 0x87, 0xed, 0x20, 0xf4, 0x87, 0xd4,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70, 0x70, 0x34, 0xc1, 0x53, 0xa9, 0x1b, 0x17, - 0x54, 0x9a, 0xc0, 0x1f, 0x0e, 0xe9, 0x20, 0x2e, 0x65, 0xf4, 0x34, 0x8f, 0xa5, 0x2c, 0xa3, 0xa4, - 0x2b, 0xf1, 0x52, 0x56, 0x49, 0x3d, 0x28, 0xa3, 0x0f, 0x92, 0xa9, 0x5c, 0x8e, 0xe0, 0x4d, 0xd5, - 0x93, 0xcd, 0x1e, 0x33, 0x87, 0xb2, 0xf2, 0xbf, 0x1c, 0xca, 0xdd, 0x5f, 0xe7, 0xe0, 0xc1, 0xc0, - 0x1f, 0xcf, 0x43, 0xed, 0xde, 0xd1, 0xef, 0x70, 0x16, 0x51, 0xbf, 0xeb, 0x9c, 0x88, 0x1c, 0x71, - 0x92, 0xfb, 0xe5, 0x8e, 0x06, 0x8d, 0x7c, 0x17, 0x7b, 0xa3, 0x2d, 0x3f, 0x1c, 0xb5, 0x47, 0xc4, - 0x93, 0x19, 0xa4, 0xad, 0xba, 0x70, 0x40, 0xd9, 0x95, 0xbf, 0x8d, 0x3d, 0x51, 0xcd, 0xdf, 0xe7, - 0x0b, 0x7b, 0xa7, 0xbd, 0x7e, 0x51, 0x62, 0x1e, 0xff, 0x37, 0x00, 0x00, 0xff, 0xff, 0x8e, 0xee, - 0x70, 0x2a, 0xd5, 0x1b, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/profile_service.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/profile_service.pb.go deleted file mode 100644 index 51bd454a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/profile_service.pb.go +++ /dev/null @@ -1,1306 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/talent/v4beta1/profile_service.proto - -package talent - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/any" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// List profiles request. -type ListProfilesRequest struct { - // Required. The resource name of the tenant under which the profile is - // created. - // - // The format is "projects/{project_id}/tenants/{tenant_id}". For example, - // "projects/foo/tenants/bar". - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The filter string specifies the profiles to be enumerated. - // - // Supported operator: =, AND - // - // The field(s) eligible for filtering are: - // - // * `externalId` - // * `groupId` - // - // externalId and groupId cannot be specified at the same time. If both - // externalId and groupId are provided, the API will return a bad request - // error. - // - // Sample Query: - // - // * externalId = "externalId-1" - // * groupId = "groupId-1" - Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"` - // The token that specifies the current offset (that is, starting result). - // - // Please set the value to - // [ListProfilesResponse.next_page_token][google.cloud.talent.v4beta1.ListProfilesResponse.next_page_token] - // to continue the list. - PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // The maximum number of profiles to be returned, at most 100. - // - // Default is 100 unless a positive number smaller than 100 is specified. - PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // A field mask to specify the profile fields to be listed in response. - // All fields are listed if it is unset. - // - // Valid values are: - // - // * name - ReadMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListProfilesRequest) Reset() { *m = ListProfilesRequest{} } -func (m *ListProfilesRequest) String() string { return proto.CompactTextString(m) } -func (*ListProfilesRequest) ProtoMessage() {} -func (*ListProfilesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d2b7b5f4d4d7ea55, []int{0} -} - -func (m *ListProfilesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListProfilesRequest.Unmarshal(m, b) -} -func (m *ListProfilesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListProfilesRequest.Marshal(b, m, deterministic) -} -func (m *ListProfilesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListProfilesRequest.Merge(m, src) -} -func (m *ListProfilesRequest) XXX_Size() int { - return xxx_messageInfo_ListProfilesRequest.Size(m) -} -func (m *ListProfilesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListProfilesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListProfilesRequest proto.InternalMessageInfo - -func (m *ListProfilesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListProfilesRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListProfilesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListProfilesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListProfilesRequest) GetReadMask() *field_mask.FieldMask { - if m != nil { - return m.ReadMask - } - return nil -} - -// The List profiles response object. -type ListProfilesResponse struct { - // Profiles for the specific tenant. - Profiles []*Profile `protobuf:"bytes,1,rep,name=profiles,proto3" json:"profiles,omitempty"` - // A token to retrieve the next page of results. This is 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 *ListProfilesResponse) Reset() { *m = ListProfilesResponse{} } -func (m *ListProfilesResponse) String() string { return proto.CompactTextString(m) } -func (*ListProfilesResponse) ProtoMessage() {} -func (*ListProfilesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d2b7b5f4d4d7ea55, []int{1} -} - -func (m *ListProfilesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListProfilesResponse.Unmarshal(m, b) -} -func (m *ListProfilesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListProfilesResponse.Marshal(b, m, deterministic) -} -func (m *ListProfilesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListProfilesResponse.Merge(m, src) -} -func (m *ListProfilesResponse) XXX_Size() int { - return xxx_messageInfo_ListProfilesResponse.Size(m) -} -func (m *ListProfilesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListProfilesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListProfilesResponse proto.InternalMessageInfo - -func (m *ListProfilesResponse) GetProfiles() []*Profile { - if m != nil { - return m.Profiles - } - return nil -} - -func (m *ListProfilesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Create profile request. -type CreateProfileRequest struct { - // Required. The name of the tenant this profile belongs to. - // - // The format is "projects/{project_id}/tenants/{tenant_id}". For example, - // "projects/foo/tenants/bar". - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The profile to be created. - Profile *Profile `protobuf:"bytes,2,opt,name=profile,proto3" json:"profile,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_d2b7b5f4d4d7ea55, []int{2} -} - -func (m *CreateProfileRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateProfileRequest.Unmarshal(m, b) -} -func (m *CreateProfileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateProfileRequest.Marshal(b, m, deterministic) -} -func (m *CreateProfileRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateProfileRequest.Merge(m, src) -} -func (m *CreateProfileRequest) XXX_Size() int { - return xxx_messageInfo_CreateProfileRequest.Size(m) -} -func (m *CreateProfileRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateProfileRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateProfileRequest proto.InternalMessageInfo - -func (m *CreateProfileRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateProfileRequest) GetProfile() *Profile { - if m != nil { - return m.Profile - } - return nil -} - -// Get profile request. -type GetProfileRequest struct { - // Required. Resource name of the profile to get. - // - // The format is - // "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}". For - // example, "projects/foo/tenants/bar/profiles/baz". - 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 *GetProfileRequest) Reset() { *m = GetProfileRequest{} } -func (m *GetProfileRequest) String() string { return proto.CompactTextString(m) } -func (*GetProfileRequest) ProtoMessage() {} -func (*GetProfileRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d2b7b5f4d4d7ea55, []int{3} -} - -func (m *GetProfileRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetProfileRequest.Unmarshal(m, b) -} -func (m *GetProfileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetProfileRequest.Marshal(b, m, deterministic) -} -func (m *GetProfileRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetProfileRequest.Merge(m, src) -} -func (m *GetProfileRequest) XXX_Size() int { - return xxx_messageInfo_GetProfileRequest.Size(m) -} -func (m *GetProfileRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetProfileRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetProfileRequest proto.InternalMessageInfo - -func (m *GetProfileRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Update profile request -type UpdateProfileRequest struct { - // Required. Profile to be updated. - Profile *Profile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"` - // A field mask to specify the profile fields to update. - // - // A full update is performed if it is unset. - // - // Valid values are: - // - // * external_id - // * source - // * source_types - // * uri - // * is_hirable - // * create_time - // * update_time - // * candidate_update_time - // * resume_update_time - // * resume - // * person_names - // * addresses - // * email_addresses - // * phone_numbers - // * personal_uris - // * additional_contact_info - // * employment_records - // * education_records - // * skills - // * activities - // * publications - // * patents - // * certifications - // * recruiting_notes - // * custom_attributes - // * group_id - // * external_system - // * source_note - // * primary_responsibilities - // * citizenships - // * work_authorizations - // * employee_types - // * language_code - // * qualification_summary - // * allowed_contact_types - // * preferred_contact_types - // * contact_availability - // * language_fluencies - // * work_preference - // * industry_experiences - // * work_environment_experiences - // * work_availability - // * security_clearances - // * references - // * assessments - // * interviews - 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 *UpdateProfileRequest) Reset() { *m = UpdateProfileRequest{} } -func (m *UpdateProfileRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateProfileRequest) ProtoMessage() {} -func (*UpdateProfileRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d2b7b5f4d4d7ea55, []int{4} -} - -func (m *UpdateProfileRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateProfileRequest.Unmarshal(m, b) -} -func (m *UpdateProfileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateProfileRequest.Marshal(b, m, deterministic) -} -func (m *UpdateProfileRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateProfileRequest.Merge(m, src) -} -func (m *UpdateProfileRequest) XXX_Size() int { - return xxx_messageInfo_UpdateProfileRequest.Size(m) -} -func (m *UpdateProfileRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateProfileRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateProfileRequest proto.InternalMessageInfo - -func (m *UpdateProfileRequest) GetProfile() *Profile { - if m != nil { - return m.Profile - } - return nil -} - -func (m *UpdateProfileRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// Delete profile request. -type DeleteProfileRequest struct { - // Required. Resource name of the profile to be deleted. - // - // The format is - // "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}". For - // example, "projects/foo/tenants/bar/profiles/baz". - 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 *DeleteProfileRequest) Reset() { *m = DeleteProfileRequest{} } -func (m *DeleteProfileRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteProfileRequest) ProtoMessage() {} -func (*DeleteProfileRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d2b7b5f4d4d7ea55, []int{5} -} - -func (m *DeleteProfileRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteProfileRequest.Unmarshal(m, b) -} -func (m *DeleteProfileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteProfileRequest.Marshal(b, m, deterministic) -} -func (m *DeleteProfileRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteProfileRequest.Merge(m, src) -} -func (m *DeleteProfileRequest) XXX_Size() int { - return xxx_messageInfo_DeleteProfileRequest.Size(m) -} -func (m *DeleteProfileRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteProfileRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteProfileRequest proto.InternalMessageInfo - -func (m *DeleteProfileRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The request body of the `SearchProfiles` call. -type SearchProfilesRequest struct { - // Required. The resource name of the tenant to search within. - // - // The format is "projects/{project_id}/tenants/{tenant_id}". For example, - // "projects/foo/tenants/bar". - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The meta information collected about the profile search user. - // This is used to improve the search quality of the service. These values are - // provided by users, and must be precise and consistent. - RequestMetadata *RequestMetadata `protobuf:"bytes,2,opt,name=request_metadata,json=requestMetadata,proto3" json:"request_metadata,omitempty"` - // Search query to execute. See - // [ProfileQuery][google.cloud.talent.v4beta1.ProfileQuery] for more details. - ProfileQuery *ProfileQuery `protobuf:"bytes,3,opt,name=profile_query,json=profileQuery,proto3" json:"profile_query,omitempty"` - // A limit on the number of profiles returned in the search results. - // A value above the default value 10 can increase search response time. - // - // The maximum value allowed is 100. Otherwise an error is thrown. - PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // The pageToken, similar to offset enables users of the API to paginate - // through the search results. To retrieve the first page of results, set the - // pageToken to empty. The search response includes a - // [nextPageToken][google.cloud.talent.v4beta1.SearchProfilesResponse.next_page_token] - // field that can be used to populate the pageToken field for the next page of - // results. Using pageToken instead of offset increases the performance of the - // API, especially compared to larger offset values. - PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // An integer that specifies the current offset (that is, starting result) in - // search results. This field is only considered if - // [page_token][google.cloud.talent.v4beta1.SearchProfilesRequest.page_token] - // is unset. - // - // The maximum allowed value is 5000. Otherwise an error is thrown. - // - // For example, 0 means to search from the first profile, and 10 means to - // search from the 11th profile. This can be used for pagination, for example - // pageSize = 10 and offset = 10 means to search from the second page. - Offset int32 `protobuf:"varint,6,opt,name=offset,proto3" json:"offset,omitempty"` - // This flag controls the spell-check feature. If `false`, the - // service attempts to correct a misspelled query. - // - // For example, "enginee" is corrected to "engineer". - DisableSpellCheck bool `protobuf:"varint,7,opt,name=disable_spell_check,json=disableSpellCheck,proto3" json:"disable_spell_check,omitempty"` - // The criteria that determines how search results are sorted. - // Defaults is "relevance desc" if no value is specified. - // - // Supported options are: - // - // * "relevance desc": By descending relevance, as determined by the API - // algorithms. - // * "update_date desc": Sort by - // [Profile.update_time][google.cloud.talent.v4beta1.Profile.update_time] in - // descending order - // (recently updated profiles first). - // * "create_date desc": Sort by - // [Profile.create_time][google.cloud.talent.v4beta1.Profile.create_time] in - // descending order - // (recently created profiles first). - // * "first_name": Sort by - // [PersonName.PersonStructuredName.given_name][google.cloud.talent.v4beta1.PersonName.PersonStructuredName.given_name] - // in - // ascending order. - // * "first_name desc": Sort by - // [PersonName.PersonStructuredName.given_name][google.cloud.talent.v4beta1.PersonName.PersonStructuredName.given_name] - // in descending order. - // * "last_name": Sort by - // [PersonName.PersonStructuredName.family_name][google.cloud.talent.v4beta1.PersonName.PersonStructuredName.family_name] - // in - // ascending order. - // * "last_name desc": Sort by - // [PersonName.PersonStructuredName.family_name][google.cloud.talent.v4beta1.PersonName.PersonStructuredName.family_name] - // in ascending order. - OrderBy string `protobuf:"bytes,8,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` - // When sort by field is based on alphabetical order, sort values case - // sensitively (based on ASCII) when the value is set to true. Default value - // is case in-sensitive sort (false). - CaseSensitiveSort bool `protobuf:"varint,9,opt,name=case_sensitive_sort,json=caseSensitiveSort,proto3" json:"case_sensitive_sort,omitempty"` - // A list of expressions specifies histogram requests against matching - // profiles for - // [SearchProfilesRequest][google.cloud.talent.v4beta1.SearchProfilesRequest]. - // - // The expression syntax looks like a function definition with parameters. - // - // Function syntax: function_name(histogram_facet[, list of buckets]) - // - // Data types: - // - // * Histogram facet: facet names with format [a-zA-Z][a-zA-Z0-9_]+. - // * String: string like "any string with backslash escape for quote(\")." - // * Number: whole number and floating point number like 10, -1 and -0.01. - // * List: list of elements with comma(,) separator surrounded by square - // brackets. For example, [1, 2, 3] and ["one", "two", "three"]. - // - // Built-in constants: - // - // * MIN (minimum number similar to java Double.MIN_VALUE) - // * MAX (maximum number similar to java Double.MAX_VALUE) - // - // Built-in functions: - // - // * bucket(start, end[, label]) - // Bucket build-in function creates a bucket with range of [start, end). Note - // that the end is exclusive. - // For example, bucket(1, MAX, "positive number") or bucket(1, 10). - // - // Histogram Facets: - // - // * admin1: Admin1 is a global placeholder for referring to state, province, - // or the particular term a country uses to define the geographic structure - // below the country level. Examples include states codes such as "CA", "IL", - // "NY", and provinces, such as "BC". - // * locality: Locality is a global placeholder for referring to city, town, - // or the particular term a country uses to define the geographic structure - // below the admin1 level. Examples include city names such as - // "Mountain View" and "New York". - // * extended_locality: Extended locality is concatenated version of admin1 - // and locality with comma separator. For example, "Mountain View, CA" and - // "New York, NY". - // * postal_code: Postal code of profile which follows locale code. - // * country: Country code (ISO-3166-1 alpha-2 code) of profile, such as US, - // JP, GB. - // * job_title: Normalized job titles specified in EmploymentHistory. - // * company_name: Normalized company name of profiles to match on. - // * institution: The school name. For example, "MIT", - // "University of California, Berkeley" - // * degree: Highest education degree in ISCED code. Each value in degree - // covers a specific level of education, without any expansion to upper nor - // lower levels of education degree. - // * experience_in_months: experience in months. 0 means 0 month to 1 month - // (exclusive). - // * application_date: The application date specifies application start dates. - // See - // [ApplicationDateFilter][google.cloud.talent.v4beta1.ApplicationDateFilter] - // for more details. - // * application_outcome_notes: The application outcome reason specifies the - // reasons behind the outcome of the job application. - // See - // [ApplicationOutcomeNotesFilter][google.cloud.talent.v4beta1.ApplicationOutcomeNotesFilter] - // for more details. - // * application_job_title: The application job title specifies the job - // applied for in the application. - // See - // [ApplicationJobFilter][google.cloud.talent.v4beta1.ApplicationJobFilter] - // for more details. - // * hirable_status: Hirable status specifies the profile's hirable status. - // * string_custom_attribute: String custom attributes. Values can be accessed - // via square bracket notation like string_custom_attribute["key1"]. - // * numeric_custom_attribute: Numeric custom attributes. Values can be - // accessed via square bracket notation like numeric_custom_attribute["key1"]. - // - // Example expressions: - // - // * count(admin1) - // * count(experience_in_months, [bucket(0, 12, "1 year"), - // bucket(12, 36, "1-3 years"), bucket(36, MAX, "3+ years")]) - // * count(string_custom_attribute["assigned_recruiter"]) - // * count(numeric_custom_attribute["favorite_number"], - // [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")]) - HistogramQueries []*HistogramQuery `protobuf:"bytes,10,rep,name=histogram_queries,json=histogramQueries,proto3" json:"histogram_queries,omitempty"` - // An id that uniquely identifies the result set of a - // [SearchProfiles][google.cloud.talent.v4beta1.ProfileService.SearchProfiles] - // call. The id should be retrieved from the - // [SearchProfilesResponse][google.cloud.talent.v4beta1.SearchProfilesResponse] - // message returned from a previous invocation of - // [SearchProfiles][google.cloud.talent.v4beta1.ProfileService.SearchProfiles]. - // - // A result set is an ordered list of search results. - // - // If this field is not set, a new result set is computed based on the - // [profile_query][google.cloud.talent.v4beta1.SearchProfilesRequest.profile_query]. - // A new - // [result_set_id][google.cloud.talent.v4beta1.SearchProfilesRequest.result_set_id] - // is returned as a handle to access this result set. - // - // If this field is set, the service will ignore the resource and - // [profile_query][google.cloud.talent.v4beta1.SearchProfilesRequest.profile_query] - // values, and simply retrieve a page of results from the corresponding result - // set. In this case, one and only one of - // [page_token][google.cloud.talent.v4beta1.SearchProfilesRequest.page_token] - // or [offset][google.cloud.talent.v4beta1.SearchProfilesRequest.offset] must - // be set. - // - // A typical use case is to invoke - // [SearchProfilesRequest][google.cloud.talent.v4beta1.SearchProfilesRequest] - // without this field, then use the resulting - // [result_set_id][google.cloud.talent.v4beta1.SearchProfilesRequest.result_set_id] - // in - // [SearchProfilesResponse][google.cloud.talent.v4beta1.SearchProfilesResponse] - // to page through the results. - ResultSetId string `protobuf:"bytes,12,opt,name=result_set_id,json=resultSetId,proto3" json:"result_set_id,omitempty"` - // This flag is used to indicate whether the service will attempt to - // understand synonyms and terms related to the search query or treat the - // query "as is" when it generates a set of results. By default this flag is - // set to false, thus allowing expanded results to also be returned. For - // example a search for "software engineer" might also return candidates who - // have experience in jobs similar to software engineer positions. By setting - // this flag to true, the service will only attempt to deliver candidates has - // software engineer in his/her global fields by treating "software engineer" - // as a keyword. - // - // It is recommended to provide a feature in the UI (such as a checkbox) to - // allow recruiters to set this flag to true if they intend to search for - // longer boolean strings. - StrictKeywordsSearch bool `protobuf:"varint,13,opt,name=strict_keywords_search,json=strictKeywordsSearch,proto3" json:"strict_keywords_search,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SearchProfilesRequest) Reset() { *m = SearchProfilesRequest{} } -func (m *SearchProfilesRequest) String() string { return proto.CompactTextString(m) } -func (*SearchProfilesRequest) ProtoMessage() {} -func (*SearchProfilesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d2b7b5f4d4d7ea55, []int{6} -} - -func (m *SearchProfilesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchProfilesRequest.Unmarshal(m, b) -} -func (m *SearchProfilesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchProfilesRequest.Marshal(b, m, deterministic) -} -func (m *SearchProfilesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchProfilesRequest.Merge(m, src) -} -func (m *SearchProfilesRequest) XXX_Size() int { - return xxx_messageInfo_SearchProfilesRequest.Size(m) -} -func (m *SearchProfilesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SearchProfilesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchProfilesRequest proto.InternalMessageInfo - -func (m *SearchProfilesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *SearchProfilesRequest) GetRequestMetadata() *RequestMetadata { - if m != nil { - return m.RequestMetadata - } - return nil -} - -func (m *SearchProfilesRequest) GetProfileQuery() *ProfileQuery { - if m != nil { - return m.ProfileQuery - } - return nil -} - -func (m *SearchProfilesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *SearchProfilesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *SearchProfilesRequest) GetOffset() int32 { - if m != nil { - return m.Offset - } - return 0 -} - -func (m *SearchProfilesRequest) GetDisableSpellCheck() bool { - if m != nil { - return m.DisableSpellCheck - } - return false -} - -func (m *SearchProfilesRequest) GetOrderBy() string { - if m != nil { - return m.OrderBy - } - return "" -} - -func (m *SearchProfilesRequest) GetCaseSensitiveSort() bool { - if m != nil { - return m.CaseSensitiveSort - } - return false -} - -func (m *SearchProfilesRequest) GetHistogramQueries() []*HistogramQuery { - if m != nil { - return m.HistogramQueries - } - return nil -} - -func (m *SearchProfilesRequest) GetResultSetId() string { - if m != nil { - return m.ResultSetId - } - return "" -} - -func (m *SearchProfilesRequest) GetStrictKeywordsSearch() bool { - if m != nil { - return m.StrictKeywordsSearch - } - return false -} - -// Response of SearchProfiles method. -type SearchProfilesResponse struct { - // An estimation of the number of profiles that match the specified query. - // - // This number isn't guaranteed to be accurate. - EstimatedTotalSize int64 `protobuf:"varint,1,opt,name=estimated_total_size,json=estimatedTotalSize,proto3" json:"estimated_total_size,omitempty"` - // The spell checking result, and correction. - SpellCorrection *SpellingCorrection `protobuf:"bytes,2,opt,name=spell_correction,json=spellCorrection,proto3" json:"spell_correction,omitempty"` - // Additional information for the API invocation, such as the request - // tracking id. - Metadata *ResponseMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` - // A token to retrieve the next page of results. This is empty if there are no - // more results. - NextPageToken string `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - // The histogram results that match with specified - // [SearchProfilesRequest.histogram_queries][google.cloud.talent.v4beta1.SearchProfilesRequest.histogram_queries]. - HistogramQueryResults []*HistogramQueryResult `protobuf:"bytes,5,rep,name=histogram_query_results,json=histogramQueryResults,proto3" json:"histogram_query_results,omitempty"` - // The profile entities that match the specified - // [SearchProfilesRequest][google.cloud.talent.v4beta1.SearchProfilesRequest]. - SummarizedProfiles []*SummarizedProfile `protobuf:"bytes,6,rep,name=summarized_profiles,json=summarizedProfiles,proto3" json:"summarized_profiles,omitempty"` - // An id that uniquely identifies the result set of a - // [SearchProfiles][google.cloud.talent.v4beta1.ProfileService.SearchProfiles] - // call for consistent results. - ResultSetId string `protobuf:"bytes,7,opt,name=result_set_id,json=resultSetId,proto3" json:"result_set_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SearchProfilesResponse) Reset() { *m = SearchProfilesResponse{} } -func (m *SearchProfilesResponse) String() string { return proto.CompactTextString(m) } -func (*SearchProfilesResponse) ProtoMessage() {} -func (*SearchProfilesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d2b7b5f4d4d7ea55, []int{7} -} - -func (m *SearchProfilesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchProfilesResponse.Unmarshal(m, b) -} -func (m *SearchProfilesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchProfilesResponse.Marshal(b, m, deterministic) -} -func (m *SearchProfilesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchProfilesResponse.Merge(m, src) -} -func (m *SearchProfilesResponse) XXX_Size() int { - return xxx_messageInfo_SearchProfilesResponse.Size(m) -} -func (m *SearchProfilesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SearchProfilesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchProfilesResponse proto.InternalMessageInfo - -func (m *SearchProfilesResponse) GetEstimatedTotalSize() int64 { - if m != nil { - return m.EstimatedTotalSize - } - return 0 -} - -func (m *SearchProfilesResponse) GetSpellCorrection() *SpellingCorrection { - if m != nil { - return m.SpellCorrection - } - return nil -} - -func (m *SearchProfilesResponse) GetMetadata() *ResponseMetadata { - if m != nil { - return m.Metadata - } - return nil -} - -func (m *SearchProfilesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -func (m *SearchProfilesResponse) GetHistogramQueryResults() []*HistogramQueryResult { - if m != nil { - return m.HistogramQueryResults - } - return nil -} - -func (m *SearchProfilesResponse) GetSummarizedProfiles() []*SummarizedProfile { - if m != nil { - return m.SummarizedProfiles - } - return nil -} - -func (m *SearchProfilesResponse) GetResultSetId() string { - if m != nil { - return m.ResultSetId - } - return "" -} - -// Profile entry with metadata inside -// [SearchProfilesResponse][google.cloud.talent.v4beta1.SearchProfilesResponse]. -type SummarizedProfile struct { - // A list of profiles that are linked by - // [Profile.group_id][google.cloud.talent.v4beta1.Profile.group_id]. - Profiles []*Profile `protobuf:"bytes,1,rep,name=profiles,proto3" json:"profiles,omitempty"` - // A profile summary shows the profile summary and how the profile matches the - // search query. - // - // In profile summary, the profiles with the same - // [Profile.group_id][google.cloud.talent.v4beta1.Profile.group_id] are merged - // together. Among profiles, same education/employment records may be slightly - // different but they are merged into one with best efforts. - // - // For example, in one profile the school name is "UC Berkeley" and the field - // study is "Computer Science" and in another one the school name is - // "University of California at Berkeley" and the field study is "CS". The API - // merges these two inputs into one and selects one value for each field. For - // example, the school name in summary is set to "University of California at - // Berkeley" and the field of study is set to "Computer Science". - Summary *Profile `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SummarizedProfile) Reset() { *m = SummarizedProfile{} } -func (m *SummarizedProfile) String() string { return proto.CompactTextString(m) } -func (*SummarizedProfile) ProtoMessage() {} -func (*SummarizedProfile) Descriptor() ([]byte, []int) { - return fileDescriptor_d2b7b5f4d4d7ea55, []int{8} -} - -func (m *SummarizedProfile) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SummarizedProfile.Unmarshal(m, b) -} -func (m *SummarizedProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SummarizedProfile.Marshal(b, m, deterministic) -} -func (m *SummarizedProfile) XXX_Merge(src proto.Message) { - xxx_messageInfo_SummarizedProfile.Merge(m, src) -} -func (m *SummarizedProfile) XXX_Size() int { - return xxx_messageInfo_SummarizedProfile.Size(m) -} -func (m *SummarizedProfile) XXX_DiscardUnknown() { - xxx_messageInfo_SummarizedProfile.DiscardUnknown(m) -} - -var xxx_messageInfo_SummarizedProfile proto.InternalMessageInfo - -func (m *SummarizedProfile) GetProfiles() []*Profile { - if m != nil { - return m.Profiles - } - return nil -} - -func (m *SummarizedProfile) GetSummary() *Profile { - if m != nil { - return m.Summary - } - return nil -} - -func init() { - proto.RegisterType((*ListProfilesRequest)(nil), "google.cloud.talent.v4beta1.ListProfilesRequest") - proto.RegisterType((*ListProfilesResponse)(nil), "google.cloud.talent.v4beta1.ListProfilesResponse") - proto.RegisterType((*CreateProfileRequest)(nil), "google.cloud.talent.v4beta1.CreateProfileRequest") - proto.RegisterType((*GetProfileRequest)(nil), "google.cloud.talent.v4beta1.GetProfileRequest") - proto.RegisterType((*UpdateProfileRequest)(nil), "google.cloud.talent.v4beta1.UpdateProfileRequest") - proto.RegisterType((*DeleteProfileRequest)(nil), "google.cloud.talent.v4beta1.DeleteProfileRequest") - proto.RegisterType((*SearchProfilesRequest)(nil), "google.cloud.talent.v4beta1.SearchProfilesRequest") - proto.RegisterType((*SearchProfilesResponse)(nil), "google.cloud.talent.v4beta1.SearchProfilesResponse") - proto.RegisterType((*SummarizedProfile)(nil), "google.cloud.talent.v4beta1.SummarizedProfile") -} - -func init() { - proto.RegisterFile("google/cloud/talent/v4beta1/profile_service.proto", fileDescriptor_d2b7b5f4d4d7ea55) -} - -var fileDescriptor_d2b7b5f4d4d7ea55 = []byte{ - // 1222 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0x4b, 0x8f, 0x1b, 0xc5, - 0x13, 0xd7, 0xec, 0xd3, 0xdb, 0x1b, 0x27, 0xd9, 0x5e, 0x67, 0x33, 0xf1, 0xfe, 0xff, 0x8a, 0x35, - 0x42, 0xc8, 0xd9, 0x24, 0x33, 0x59, 0x27, 0x52, 0xd0, 0x06, 0x10, 0xbb, 0xcb, 0x2b, 0x82, 0xa0, - 0x65, 0x1c, 0x24, 0x14, 0x21, 0x8d, 0xda, 0xe3, 0xb6, 0xdd, 0xd9, 0x99, 0xe9, 0x49, 0x77, 0x7b, - 0x37, 0x0e, 0x8a, 0x04, 0xdc, 0x38, 0x47, 0x48, 0x48, 0xdc, 0x10, 0x47, 0x6e, 0x7c, 0x00, 0xee, - 0x1c, 0xe1, 0x0b, 0x70, 0x80, 0x23, 0xdf, 0x01, 0xf5, 0x63, 0x1c, 0x3f, 0x86, 0x59, 0x1b, 0x71, - 0x73, 0x57, 0xd5, 0xaf, 0xea, 0xd7, 0x55, 0x35, 0x55, 0x6d, 0xb0, 0xdb, 0xa5, 0xb4, 0x1b, 0x61, - 0x2f, 0x8c, 0x68, 0xbf, 0xed, 0x09, 0x14, 0xe1, 0x44, 0x78, 0x27, 0x77, 0x5a, 0x58, 0xa0, 0x5d, - 0x2f, 0x65, 0xb4, 0x43, 0x22, 0x1c, 0x70, 0xcc, 0x4e, 0x48, 0x88, 0xdd, 0x94, 0x51, 0x41, 0xe1, - 0xb6, 0x86, 0xb8, 0x0a, 0xe2, 0x6a, 0x88, 0x6b, 0x20, 0xd5, 0xff, 0x19, 0x7f, 0x28, 0x25, 0x1e, - 0x4a, 0x12, 0x2a, 0x90, 0x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x1e, 0x36, 0x8a, 0xc7, 0x4b, 0xde, 0x23, 0xa4, 0x7a, 0x7b, 0x2e, - 0x8c, 0xf9, 0x7c, 0x5e, 0x53, 0xa4, 0x1b, 0xce, 0xcd, 0xd9, 0x5a, 0x73, 0x4f, 0xaf, 0xaf, 0x3d, - 0x6b, 0xa7, 0x1a, 0xfd, 0xb2, 0xbf, 0xf9, 0x98, 0xb6, 0xb8, 0x89, 0x8a, 0x52, 0xc2, 0xdd, 0x90, - 0xc6, 0xbf, 0xee, 0x37, 0x7b, 0x42, 0xa4, 0x7c, 0xcf, 0xf3, 0x4e, 0x4f, 0x4f, 0x27, 0x94, 0x1e, - 0xea, 0x8b, 0x9e, 0xfe, 0xf7, 0x71, 0x33, 0x8d, 0x90, 0xe8, 0x50, 0x16, 0xdf, 0x38, 0xcb, 0x5c, - 0x06, 0x39, 0xf8, 0xd2, 0x02, 0x57, 0x43, 0x1a, 0x17, 0x5d, 0xf1, 0x60, 0x73, 0x7c, 0x20, 0x1d, - 0xc9, 0xf2, 0x1c, 0x59, 0x8f, 0xf6, 0x0d, 0xa6, 0x4b, 0x23, 0x94, 0x74, 0x5d, 0xca, 0xba, 0x5e, - 0x17, 0x27, 0xaa, 0x78, 0xde, 0xcb, 0x78, 0xb9, 0xff, 0x89, 0xee, 0xe9, 0xe3, 0xf7, 0x0b, 0x8b, - 0x87, 0x0f, 0x9b, 0xad, 0x15, 0x85, 0xb9, 0xfd, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x30, 0x0b, - 0xb1, 0xae, 0x70, 0x0e, 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 - -// ProfileServiceClient is the client API for ProfileService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ProfileServiceClient interface { - // Lists profiles by filter. The order is unspecified. - ListProfiles(ctx context.Context, in *ListProfilesRequest, opts ...grpc.CallOption) (*ListProfilesResponse, error) - // Creates and returns a new profile. - CreateProfile(ctx context.Context, in *CreateProfileRequest, opts ...grpc.CallOption) (*Profile, error) - // Gets the specified profile. - GetProfile(ctx context.Context, in *GetProfileRequest, opts ...grpc.CallOption) (*Profile, error) - // Updates the specified profile and returns the updated result. - UpdateProfile(ctx context.Context, in *UpdateProfileRequest, opts ...grpc.CallOption) (*Profile, error) - // Deletes the specified profile. - // Prerequisite: The profile has no associated applications or assignments - // associated. - DeleteProfile(ctx context.Context, in *DeleteProfileRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Searches for profiles within a tenant. - // - // For example, search by raw queries "software engineer in Mountain View" or - // search by structured filters (location filter, education filter, etc.). - // - // See - // [SearchProfilesRequest][google.cloud.talent.v4beta1.SearchProfilesRequest] - // for more information. - SearchProfiles(ctx context.Context, in *SearchProfilesRequest, opts ...grpc.CallOption) (*SearchProfilesResponse, error) -} - -type profileServiceClient struct { - cc *grpc.ClientConn -} - -func NewProfileServiceClient(cc *grpc.ClientConn) ProfileServiceClient { - return &profileServiceClient{cc} -} - -func (c *profileServiceClient) ListProfiles(ctx context.Context, in *ListProfilesRequest, opts ...grpc.CallOption) (*ListProfilesResponse, error) { - out := new(ListProfilesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.ProfileService/ListProfiles", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *profileServiceClient) CreateProfile(ctx context.Context, in *CreateProfileRequest, opts ...grpc.CallOption) (*Profile, error) { - out := new(Profile) - err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.ProfileService/CreateProfile", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *profileServiceClient) GetProfile(ctx context.Context, in *GetProfileRequest, opts ...grpc.CallOption) (*Profile, error) { - out := new(Profile) - err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.ProfileService/GetProfile", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *profileServiceClient) UpdateProfile(ctx context.Context, in *UpdateProfileRequest, opts ...grpc.CallOption) (*Profile, error) { - out := new(Profile) - err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.ProfileService/UpdateProfile", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *profileServiceClient) DeleteProfile(ctx context.Context, in *DeleteProfileRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.ProfileService/DeleteProfile", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *profileServiceClient) SearchProfiles(ctx context.Context, in *SearchProfilesRequest, opts ...grpc.CallOption) (*SearchProfilesResponse, error) { - out := new(SearchProfilesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.ProfileService/SearchProfiles", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ProfileServiceServer is the server API for ProfileService service. -type ProfileServiceServer interface { - // Lists profiles by filter. The order is unspecified. - ListProfiles(context.Context, *ListProfilesRequest) (*ListProfilesResponse, error) - // Creates and returns a new profile. - CreateProfile(context.Context, *CreateProfileRequest) (*Profile, error) - // Gets the specified profile. - GetProfile(context.Context, *GetProfileRequest) (*Profile, error) - // Updates the specified profile and returns the updated result. - UpdateProfile(context.Context, *UpdateProfileRequest) (*Profile, error) - // Deletes the specified profile. - // Prerequisite: The profile has no associated applications or assignments - // associated. - DeleteProfile(context.Context, *DeleteProfileRequest) (*empty.Empty, error) - // Searches for profiles within a tenant. - // - // For example, search by raw queries "software engineer in Mountain View" or - // search by structured filters (location filter, education filter, etc.). - // - // See - // [SearchProfilesRequest][google.cloud.talent.v4beta1.SearchProfilesRequest] - // for more information. - SearchProfiles(context.Context, *SearchProfilesRequest) (*SearchProfilesResponse, error) -} - -// UnimplementedProfileServiceServer can be embedded to have forward compatible implementations. -type UnimplementedProfileServiceServer struct { -} - -func (*UnimplementedProfileServiceServer) ListProfiles(ctx context.Context, req *ListProfilesRequest) (*ListProfilesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListProfiles not implemented") -} -func (*UnimplementedProfileServiceServer) CreateProfile(ctx context.Context, req *CreateProfileRequest) (*Profile, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateProfile not implemented") -} -func (*UnimplementedProfileServiceServer) GetProfile(ctx context.Context, req *GetProfileRequest) (*Profile, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetProfile not implemented") -} -func (*UnimplementedProfileServiceServer) UpdateProfile(ctx context.Context, req *UpdateProfileRequest) (*Profile, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateProfile not implemented") -} -func (*UnimplementedProfileServiceServer) DeleteProfile(ctx context.Context, req *DeleteProfileRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteProfile not implemented") -} -func (*UnimplementedProfileServiceServer) SearchProfiles(ctx context.Context, req *SearchProfilesRequest) (*SearchProfilesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchProfiles not implemented") -} - -func RegisterProfileServiceServer(s *grpc.Server, srv ProfileServiceServer) { - s.RegisterService(&_ProfileService_serviceDesc, srv) -} - -func _ProfileService_ListProfiles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListProfilesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProfileServiceServer).ListProfiles(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.talent.v4beta1.ProfileService/ListProfiles", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProfileServiceServer).ListProfiles(ctx, req.(*ListProfilesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProfileService_CreateProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateProfileRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProfileServiceServer).CreateProfile(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.talent.v4beta1.ProfileService/CreateProfile", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProfileServiceServer).CreateProfile(ctx, req.(*CreateProfileRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProfileService_GetProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetProfileRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProfileServiceServer).GetProfile(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.talent.v4beta1.ProfileService/GetProfile", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProfileServiceServer).GetProfile(ctx, req.(*GetProfileRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProfileService_UpdateProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateProfileRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProfileServiceServer).UpdateProfile(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.talent.v4beta1.ProfileService/UpdateProfile", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProfileServiceServer).UpdateProfile(ctx, req.(*UpdateProfileRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProfileService_DeleteProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteProfileRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProfileServiceServer).DeleteProfile(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.talent.v4beta1.ProfileService/DeleteProfile", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProfileServiceServer).DeleteProfile(ctx, req.(*DeleteProfileRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProfileService_SearchProfiles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchProfilesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProfileServiceServer).SearchProfiles(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.talent.v4beta1.ProfileService/SearchProfiles", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProfileServiceServer).SearchProfiles(ctx, req.(*SearchProfilesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ProfileService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.talent.v4beta1.ProfileService", - HandlerType: (*ProfileServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListProfiles", - Handler: _ProfileService_ListProfiles_Handler, - }, - { - MethodName: "CreateProfile", - Handler: _ProfileService_CreateProfile_Handler, - }, - { - MethodName: "GetProfile", - Handler: _ProfileService_GetProfile_Handler, - }, - { - MethodName: "UpdateProfile", - Handler: _ProfileService_UpdateProfile_Handler, - }, - { - MethodName: "DeleteProfile", - Handler: _ProfileService_DeleteProfile_Handler, - }, - { - MethodName: "SearchProfiles", - Handler: _ProfileService_SearchProfiles_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/talent/v4beta1/profile_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/tenant.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/tenant.pb.go deleted file mode 100644 index d053822b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/tenant.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/talent/v4beta1/tenant.proto - -package talent - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum that represents how user data owned by the tenant is used. -type Tenant_DataUsageType int32 - -const ( - // Default value. - Tenant_DATA_USAGE_TYPE_UNSPECIFIED Tenant_DataUsageType = 0 - // Data owned by this tenant is used to improve search/recommendation - // quality across tenants. - Tenant_AGGREGATED Tenant_DataUsageType = 1 - // Data owned by this tenant is used to improve search/recommendation - // quality for this tenant only. - Tenant_ISOLATED Tenant_DataUsageType = 2 -) - -var Tenant_DataUsageType_name = map[int32]string{ - 0: "DATA_USAGE_TYPE_UNSPECIFIED", - 1: "AGGREGATED", - 2: "ISOLATED", -} - -var Tenant_DataUsageType_value = map[string]int32{ - "DATA_USAGE_TYPE_UNSPECIFIED": 0, - "AGGREGATED": 1, - "ISOLATED": 2, -} - -func (x Tenant_DataUsageType) String() string { - return proto.EnumName(Tenant_DataUsageType_name, int32(x)) -} - -func (Tenant_DataUsageType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4b0da31c41aea5f3, []int{0, 0} -} - -// A Tenant resource represents a tenant in the service. A tenant is a group or -// entity that shares common access with specific privileges for resources like -// profiles. Customer may create multiple tenants to provide data isolation for -// different groups. -type Tenant struct { - // Required during tenant update. - // - // The resource name for a tenant. This is generated by the service when a - // tenant is created. - // - // The format is "projects/{project_id}/tenants/{tenant_id}", for example, - // "projects/foo/tenants/bar". - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. Client side tenant identifier, used to uniquely identify the - // tenant. - // - // The maximum number of allowed characters is 255. - ExternalId string `protobuf:"bytes,2,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` - // Indicates whether data owned by this tenant may be used to provide product - // improvements across other tenants. - // - // Defaults behavior is - // [DataUsageType.ISOLATED][google.cloud.talent.v4beta1.Tenant.DataUsageType.ISOLATED] - // if it's unset. - UsageType Tenant_DataUsageType `protobuf:"varint,3,opt,name=usage_type,json=usageType,proto3,enum=google.cloud.talent.v4beta1.Tenant_DataUsageType" json:"usage_type,omitempty"` - // A list of keys of filterable - // [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], - // whose corresponding `string_values` are used in keyword searches. Profiles - // with `string_values` under these specified field keys are returned if any - // of the values match the search keyword. Custom field values with - // parenthesis, brackets and special symbols are not searchable as-is, - // and must be surrounded by quotes. - KeywordSearchableProfileCustomAttributes []string `protobuf:"bytes,4,rep,name=keyword_searchable_profile_custom_attributes,json=keywordSearchableProfileCustomAttributes,proto3" json:"keyword_searchable_profile_custom_attributes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Tenant) Reset() { *m = Tenant{} } -func (m *Tenant) String() string { return proto.CompactTextString(m) } -func (*Tenant) ProtoMessage() {} -func (*Tenant) Descriptor() ([]byte, []int) { - return fileDescriptor_4b0da31c41aea5f3, []int{0} -} - -func (m *Tenant) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Tenant.Unmarshal(m, b) -} -func (m *Tenant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Tenant.Marshal(b, m, deterministic) -} -func (m *Tenant) XXX_Merge(src proto.Message) { - xxx_messageInfo_Tenant.Merge(m, src) -} -func (m *Tenant) XXX_Size() int { - return xxx_messageInfo_Tenant.Size(m) -} -func (m *Tenant) XXX_DiscardUnknown() { - xxx_messageInfo_Tenant.DiscardUnknown(m) -} - -var xxx_messageInfo_Tenant proto.InternalMessageInfo - -func (m *Tenant) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Tenant) GetExternalId() string { - if m != nil { - return m.ExternalId - } - return "" -} - -func (m *Tenant) GetUsageType() Tenant_DataUsageType { - if m != nil { - return m.UsageType - } - return Tenant_DATA_USAGE_TYPE_UNSPECIFIED -} - -func (m *Tenant) GetKeywordSearchableProfileCustomAttributes() []string { - if m != nil { - return m.KeywordSearchableProfileCustomAttributes - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.talent.v4beta1.Tenant_DataUsageType", Tenant_DataUsageType_name, Tenant_DataUsageType_value) - proto.RegisterType((*Tenant)(nil), "google.cloud.talent.v4beta1.Tenant") -} - -func init() { - proto.RegisterFile("google/cloud/talent/v4beta1/tenant.proto", fileDescriptor_4b0da31c41aea5f3) -} - -var fileDescriptor_4b0da31c41aea5f3 = []byte{ - // 414 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xc1, 0x6e, 0xd3, 0x40, - 0x10, 0x40, 0xb1, 0x53, 0x55, 0x64, 0x81, 0xaa, 0x5a, 0x2e, 0x51, 0x8b, 0x94, 0xa8, 0xe2, 0xe0, - 0x03, 0xb2, 0x55, 0xe0, 0xc6, 0xc9, 0x49, 0x4c, 0x14, 0x09, 0x15, 0xcb, 0x76, 0x0e, 0x70, 0x60, - 0x35, 0xb6, 0x27, 0xee, 0x0a, 0x7b, 0xd7, 0x5a, 0x8f, 0x0b, 0x39, 0xf2, 0x2b, 0x7c, 0x0b, 0x1f, - 0xc2, 0xa7, 0xa0, 0x78, 0xd3, 0x0a, 0x50, 0xd5, 0xdb, 0xcc, 0xce, 0x7b, 0x3b, 0x33, 0xda, 0x65, - 0x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ba, 0x11, 0x40, 0x64, 0x64, 0xde, 0x13, 0x76, 0x93, 0xa3, - 0xd9, 0xc8, 0x1b, 0x27, 0xde, 0xc1, 0x49, 0xef, 0x94, 0xd8, 0x1a, 0x8b, 0x41, 0x08, 0xef, 0xf8, - 0x8b, 0x2b, 0xf6, 0xec, 0x9f, 0xde, 0x7c, 0xca, 0xce, 0x97, 0x61, 0x16, 0x8a, 0x4d, 0x1a, 0xae, - 0x22, 0x91, 0x7d, 0x8a, 0x23, 0xb1, 0xb9, 0x4a, 0xe3, 0x68, 0xb1, 0x7e, 0xbf, 0x8e, 0x96, 0xa7, - 0x8f, 0xf8, 0x09, 0x63, 0xe1, 0x6a, 0x95, 0x44, 0xab, 0x30, 0x8b, 0x96, 0xa7, 0x0e, 0x7f, 0xca, - 0x1e, 0xaf, 0xd3, 0x8f, 0x1f, 0x86, 0xcc, 0x9d, 0xff, 0x70, 0xd8, 0xb4, 0xd0, 0xcd, 0x43, 0x3b, - 0xcf, 0x9f, 0xdb, 0xa5, 0x13, 0xec, 0x74, 0x6f, 0x8a, 0xfd, 0x68, 0xa4, 0x63, 0xe7, 0x73, 0x78, - 0x70, 0x2a, 0x5d, 0x83, 0xaa, 0x7c, 0x6d, 0xaa, 0xa0, 0x42, 0x35, 0xbc, 0x4e, 0x60, 0x4b, 0xd0, - 0xca, 0xee, 0xde, 0x7f, 0xf4, 0xce, 0xa6, 0x3f, 0xdd, 0xd1, 0x22, 0x4b, 0xf3, 0xe3, 0xc1, 0x79, - 0xf3, 0x27, 0x00, 0x00, 0xff, 0xff, 0x62, 0xa7, 0xf7, 0xa7, 0x7a, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/tenant_service.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/tenant_service.pb.go deleted file mode 100644 index e25622c6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/talent/v4beta1/tenant_service.pb.go +++ /dev/null @@ -1,651 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/talent/v4beta1/tenant_service.proto - -package talent - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The Request of the CreateTenant method. -type CreateTenantRequest struct { - // Required. Resource name of the project under which the tenant is created. - // - // The format is "projects/{project_id}", for example, - // "projects/foo". - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The tenant to be created. - Tenant *Tenant `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateTenantRequest) Reset() { *m = CreateTenantRequest{} } -func (m *CreateTenantRequest) String() string { return proto.CompactTextString(m) } -func (*CreateTenantRequest) ProtoMessage() {} -func (*CreateTenantRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2df49c13fa187082, []int{0} -} - -func (m *CreateTenantRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateTenantRequest.Unmarshal(m, b) -} -func (m *CreateTenantRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateTenantRequest.Marshal(b, m, deterministic) -} -func (m *CreateTenantRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateTenantRequest.Merge(m, src) -} -func (m *CreateTenantRequest) XXX_Size() int { - return xxx_messageInfo_CreateTenantRequest.Size(m) -} -func (m *CreateTenantRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateTenantRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateTenantRequest proto.InternalMessageInfo - -func (m *CreateTenantRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateTenantRequest) GetTenant() *Tenant { - if m != nil { - return m.Tenant - } - return nil -} - -// Request for getting a tenant by name. -type GetTenantRequest struct { - // Required. The resource name of the tenant to be retrieved. - // - // The format is "projects/{project_id}/tenants/{tenant_id}", for example, - // "projects/foo/tenants/bar". - 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 *GetTenantRequest) Reset() { *m = GetTenantRequest{} } -func (m *GetTenantRequest) String() string { return proto.CompactTextString(m) } -func (*GetTenantRequest) ProtoMessage() {} -func (*GetTenantRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2df49c13fa187082, []int{1} -} - -func (m *GetTenantRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTenantRequest.Unmarshal(m, b) -} -func (m *GetTenantRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTenantRequest.Marshal(b, m, deterministic) -} -func (m *GetTenantRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTenantRequest.Merge(m, src) -} -func (m *GetTenantRequest) XXX_Size() int { - return xxx_messageInfo_GetTenantRequest.Size(m) -} -func (m *GetTenantRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTenantRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetTenantRequest proto.InternalMessageInfo - -func (m *GetTenantRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request for updating a specified tenant. -type UpdateTenantRequest struct { - // Required. The tenant resource to replace the current resource in the - // system. - Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` - // Strongly recommended for the best service experience. - // - // If - // [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] - // is provided, only the specified fields in - // [tenant][google.cloud.talent.v4beta1.UpdateTenantRequest.tenant] are - // updated. Otherwise all the fields are updated. - // - // A field mask to specify the tenant fields to be updated. Only - // top level fields of [Tenant][google.cloud.talent.v4beta1.Tenant] are - // supported. - 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 *UpdateTenantRequest) Reset() { *m = UpdateTenantRequest{} } -func (m *UpdateTenantRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateTenantRequest) ProtoMessage() {} -func (*UpdateTenantRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2df49c13fa187082, []int{2} -} - -func (m *UpdateTenantRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateTenantRequest.Unmarshal(m, b) -} -func (m *UpdateTenantRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateTenantRequest.Marshal(b, m, deterministic) -} -func (m *UpdateTenantRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateTenantRequest.Merge(m, src) -} -func (m *UpdateTenantRequest) XXX_Size() int { - return xxx_messageInfo_UpdateTenantRequest.Size(m) -} -func (m *UpdateTenantRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateTenantRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateTenantRequest proto.InternalMessageInfo - -func (m *UpdateTenantRequest) GetTenant() *Tenant { - if m != nil { - return m.Tenant - } - return nil -} - -func (m *UpdateTenantRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// Request to delete a tenant. -type DeleteTenantRequest struct { - // Required. The resource name of the tenant to be deleted. - // - // The format is "projects/{project_id}/tenants/{tenant_id}", for example, - // "projects/foo/tenants/bar". - 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 *DeleteTenantRequest) Reset() { *m = DeleteTenantRequest{} } -func (m *DeleteTenantRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteTenantRequest) ProtoMessage() {} -func (*DeleteTenantRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2df49c13fa187082, []int{3} -} - -func (m *DeleteTenantRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteTenantRequest.Unmarshal(m, b) -} -func (m *DeleteTenantRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteTenantRequest.Marshal(b, m, deterministic) -} -func (m *DeleteTenantRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteTenantRequest.Merge(m, src) -} -func (m *DeleteTenantRequest) XXX_Size() int { - return xxx_messageInfo_DeleteTenantRequest.Size(m) -} -func (m *DeleteTenantRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteTenantRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteTenantRequest proto.InternalMessageInfo - -func (m *DeleteTenantRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// List tenants for which the client has ACL visibility. -type ListTenantsRequest struct { - // Required. Resource name of the project under which the tenant is created. - // - // The format is "projects/{project_id}", for example, - // "projects/foo". - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The starting indicator from which to return results. - PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // The maximum number of tenants to be returned, at most 100. - // Default is 100 if a non-positive number is provided. - 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 *ListTenantsRequest) Reset() { *m = ListTenantsRequest{} } -func (m *ListTenantsRequest) String() string { return proto.CompactTextString(m) } -func (*ListTenantsRequest) ProtoMessage() {} -func (*ListTenantsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2df49c13fa187082, []int{4} -} - -func (m *ListTenantsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTenantsRequest.Unmarshal(m, b) -} -func (m *ListTenantsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTenantsRequest.Marshal(b, m, deterministic) -} -func (m *ListTenantsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTenantsRequest.Merge(m, src) -} -func (m *ListTenantsRequest) XXX_Size() int { - return xxx_messageInfo_ListTenantsRequest.Size(m) -} -func (m *ListTenantsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListTenantsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTenantsRequest proto.InternalMessageInfo - -func (m *ListTenantsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListTenantsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListTenantsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -// The List tenants response object. -type ListTenantsResponse struct { - // Tenants for the current client. - Tenants []*Tenant `protobuf:"bytes,1,rep,name=tenants,proto3" json:"tenants,omitempty"` - // A token to retrieve the next page of results. - NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - // Additional information for the API invocation, such as the request - // tracking id. - Metadata *ResponseMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListTenantsResponse) Reset() { *m = ListTenantsResponse{} } -func (m *ListTenantsResponse) String() string { return proto.CompactTextString(m) } -func (*ListTenantsResponse) ProtoMessage() {} -func (*ListTenantsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2df49c13fa187082, []int{5} -} - -func (m *ListTenantsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTenantsResponse.Unmarshal(m, b) -} -func (m *ListTenantsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTenantsResponse.Marshal(b, m, deterministic) -} -func (m *ListTenantsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTenantsResponse.Merge(m, src) -} -func (m *ListTenantsResponse) XXX_Size() int { - return xxx_messageInfo_ListTenantsResponse.Size(m) -} -func (m *ListTenantsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListTenantsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTenantsResponse proto.InternalMessageInfo - -func (m *ListTenantsResponse) GetTenants() []*Tenant { - if m != nil { - return m.Tenants - } - return nil -} - -func (m *ListTenantsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -func (m *ListTenantsResponse) GetMetadata() *ResponseMetadata { - if m != nil { - return m.Metadata - } - return nil -} - -func init() { - proto.RegisterType((*CreateTenantRequest)(nil), "google.cloud.talent.v4beta1.CreateTenantRequest") - proto.RegisterType((*GetTenantRequest)(nil), "google.cloud.talent.v4beta1.GetTenantRequest") - proto.RegisterType((*UpdateTenantRequest)(nil), "google.cloud.talent.v4beta1.UpdateTenantRequest") - proto.RegisterType((*DeleteTenantRequest)(nil), "google.cloud.talent.v4beta1.DeleteTenantRequest") - proto.RegisterType((*ListTenantsRequest)(nil), "google.cloud.talent.v4beta1.ListTenantsRequest") - proto.RegisterType((*ListTenantsResponse)(nil), "google.cloud.talent.v4beta1.ListTenantsResponse") -} - -func init() { - proto.RegisterFile("google/cloud/talent/v4beta1/tenant_service.proto", fileDescriptor_2df49c13fa187082) -} - -var fileDescriptor_2df49c13fa187082 = []byte{ - // 724 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x95, 0xcf, 0x6e, 0xd3, 0x4a, - 0x14, 0xc6, 0x35, 0xc9, 0xbd, 0xb9, 0xcd, 0xa4, 0xd5, 0xbd, 0x9a, 0x48, 0xb7, 0x51, 0x0a, 0x6a, - 0x64, 0x50, 0x15, 0xd2, 0xd6, 0x13, 0x02, 0x62, 0xd1, 0xaa, 0x12, 0x69, 0xf9, 0x23, 0x24, 0x2a, - 0x55, 0x4e, 0xd9, 0xb0, 0x89, 0x26, 0xce, 0xd4, 0x75, 0x6b, 0xcf, 0x18, 0xcf, 0xa4, 0x85, 0xa2, - 0x4a, 0x88, 0x05, 0x3b, 0x56, 0x20, 0x76, 0xb0, 0xe0, 0x65, 0x90, 0x58, 0xc2, 0x0b, 0xb0, 0xe0, - 0x01, 0x78, 0x04, 0x64, 0xcf, 0x24, 0x75, 0x93, 0xd4, 0xb5, 0xd8, 0xc5, 0x33, 0xe7, 0x3b, 0xe7, - 0x77, 0x8e, 0xcf, 0x17, 0xc3, 0xa6, 0xc3, 0xb9, 0xe3, 0x51, 0x6c, 0x7b, 0x7c, 0xd0, 0xc7, 0x92, - 0x78, 0x94, 0x49, 0x7c, 0x74, 0xbb, 0x47, 0x25, 0xb9, 0x89, 0x25, 0x65, 0x84, 0xc9, 0xae, 0xa0, - 0xe1, 0x91, 0x6b, 0x53, 0x33, 0x08, 0xb9, 0xe4, 0x68, 0x41, 0x29, 0xcc, 0x58, 0x61, 0x2a, 0x85, - 0xa9, 0x15, 0xd5, 0x2b, 0x3a, 0x1d, 0x09, 0x5c, 0x4c, 0x18, 0xe3, 0x92, 0x48, 0x97, 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x5b, - 0xbb, 0x9d, 0x5e, 0x21, 0xd6, 0xdc, 0xfa, 0x1d, 0x00, 0x00, 0xff, 0xff, 0xcd, 0xd4, 0x9d, 0xd0, - 0xdb, 0x07, 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 - -// TenantServiceClient is the client API for TenantService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type TenantServiceClient interface { - // Creates a new tenant entity. - CreateTenant(ctx context.Context, in *CreateTenantRequest, opts ...grpc.CallOption) (*Tenant, error) - // Retrieves specified tenant. - GetTenant(ctx context.Context, in *GetTenantRequest, opts ...grpc.CallOption) (*Tenant, error) - // Updates specified tenant. - UpdateTenant(ctx context.Context, in *UpdateTenantRequest, opts ...grpc.CallOption) (*Tenant, error) - // Deletes specified tenant. - DeleteTenant(ctx context.Context, in *DeleteTenantRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Lists all tenants associated with the project. - ListTenants(ctx context.Context, in *ListTenantsRequest, opts ...grpc.CallOption) (*ListTenantsResponse, error) -} - -type tenantServiceClient struct { - cc *grpc.ClientConn -} - -func NewTenantServiceClient(cc *grpc.ClientConn) TenantServiceClient { - return &tenantServiceClient{cc} -} - -func (c *tenantServiceClient) CreateTenant(ctx context.Context, in *CreateTenantRequest, opts ...grpc.CallOption) (*Tenant, error) { - out := new(Tenant) - err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.TenantService/CreateTenant", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *tenantServiceClient) GetTenant(ctx context.Context, in *GetTenantRequest, opts ...grpc.CallOption) (*Tenant, error) { - out := new(Tenant) - err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.TenantService/GetTenant", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *tenantServiceClient) UpdateTenant(ctx context.Context, in *UpdateTenantRequest, opts ...grpc.CallOption) (*Tenant, error) { - out := new(Tenant) - err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.TenantService/UpdateTenant", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *tenantServiceClient) DeleteTenant(ctx context.Context, in *DeleteTenantRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.TenantService/DeleteTenant", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *tenantServiceClient) ListTenants(ctx context.Context, in *ListTenantsRequest, opts ...grpc.CallOption) (*ListTenantsResponse, error) { - out := new(ListTenantsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.TenantService/ListTenants", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// TenantServiceServer is the server API for TenantService service. -type TenantServiceServer interface { - // Creates a new tenant entity. - CreateTenant(context.Context, *CreateTenantRequest) (*Tenant, error) - // Retrieves specified tenant. - GetTenant(context.Context, *GetTenantRequest) (*Tenant, error) - // Updates specified tenant. - UpdateTenant(context.Context, *UpdateTenantRequest) (*Tenant, error) - // Deletes specified tenant. - DeleteTenant(context.Context, *DeleteTenantRequest) (*empty.Empty, error) - // Lists all tenants associated with the project. - ListTenants(context.Context, *ListTenantsRequest) (*ListTenantsResponse, error) -} - -// UnimplementedTenantServiceServer can be embedded to have forward compatible implementations. -type UnimplementedTenantServiceServer struct { -} - -func (*UnimplementedTenantServiceServer) CreateTenant(ctx context.Context, req *CreateTenantRequest) (*Tenant, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateTenant not implemented") -} -func (*UnimplementedTenantServiceServer) GetTenant(ctx context.Context, req *GetTenantRequest) (*Tenant, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTenant not implemented") -} -func (*UnimplementedTenantServiceServer) UpdateTenant(ctx context.Context, req *UpdateTenantRequest) (*Tenant, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateTenant not implemented") -} -func (*UnimplementedTenantServiceServer) DeleteTenant(ctx context.Context, req *DeleteTenantRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteTenant not implemented") -} -func (*UnimplementedTenantServiceServer) ListTenants(ctx context.Context, req *ListTenantsRequest) (*ListTenantsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListTenants not implemented") -} - -func RegisterTenantServiceServer(s *grpc.Server, srv TenantServiceServer) { - s.RegisterService(&_TenantService_serviceDesc, srv) -} - -func _TenantService_CreateTenant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateTenantRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TenantServiceServer).CreateTenant(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.talent.v4beta1.TenantService/CreateTenant", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TenantServiceServer).CreateTenant(ctx, req.(*CreateTenantRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TenantService_GetTenant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTenantRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TenantServiceServer).GetTenant(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.talent.v4beta1.TenantService/GetTenant", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TenantServiceServer).GetTenant(ctx, req.(*GetTenantRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TenantService_UpdateTenant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateTenantRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TenantServiceServer).UpdateTenant(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.talent.v4beta1.TenantService/UpdateTenant", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TenantServiceServer).UpdateTenant(ctx, req.(*UpdateTenantRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TenantService_DeleteTenant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteTenantRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TenantServiceServer).DeleteTenant(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.talent.v4beta1.TenantService/DeleteTenant", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TenantServiceServer).DeleteTenant(ctx, req.(*DeleteTenantRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TenantService_ListTenants_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListTenantsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TenantServiceServer).ListTenants(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.talent.v4beta1.TenantService/ListTenants", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TenantServiceServer).ListTenants(ctx, req.(*ListTenantsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _TenantService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.talent.v4beta1.TenantService", - HandlerType: (*TenantServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateTenant", - Handler: _TenantService_CreateTenant_Handler, - }, - { - MethodName: "GetTenant", - Handler: _TenantService_GetTenant_Handler, - }, - { - MethodName: "UpdateTenant", - Handler: _TenantService_UpdateTenant_Handler, - }, - { - MethodName: "DeleteTenant", - Handler: _TenantService_DeleteTenant_Handler, - }, - { - MethodName: "ListTenants", - Handler: _TenantService_ListTenants_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/talent/v4beta1/tenant_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2/cloudtasks.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2/cloudtasks.pb.go deleted file mode 100644 index 9289bf40..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2/cloudtasks.pb.go +++ /dev/null @@ -1,1938 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/tasks/v2/cloudtasks.proto - -package tasks - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - v1 "google.golang.org/genproto/googleapis/iam/v1" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [ListQueues][google.cloud.tasks.v2.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.v2.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.v2.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.v2.ListQueuesResponse.next_page_token] returned - // from the previous call to [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues] - // method. It is an error to switch the value of the - // [filter][google.cloud.tasks.v2.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_8af203ae11a305f5, []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 (m *ListQueuesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListQueuesRequest.Merge(m, 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.v2.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.v2.CloudTasks.ListQueues] with this value as the - // [page_token][google.cloud.tasks.v2.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_8af203ae11a305f5, []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 (m *ListQueuesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListQueuesResponse.Merge(m, 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.v2.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_8af203ae11a305f5, []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 (m *GetQueueRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetQueueRequest.Merge(m, 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.v2.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.v2.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_8af203ae11a305f5, []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 (m *CreateQueueRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateQueueRequest.Merge(m, 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.v2.CloudTasks.UpdateQueue]. -type UpdateQueueRequest struct { - // Required. The queue to create or update. - // - // The queue's [name][google.cloud.tasks.v2.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.v2.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_8af203ae11a305f5, []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 (m *UpdateQueueRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateQueueRequest.Merge(m, 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.v2.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_8af203ae11a305f5, []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 (m *DeleteQueueRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteQueueRequest.Merge(m, 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.v2.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_8af203ae11a305f5, []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 (m *PurgeQueueRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PurgeQueueRequest.Merge(m, 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.v2.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_8af203ae11a305f5, []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 (m *PauseQueueRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PauseQueueRequest.Merge(m, 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.v2.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_8af203ae11a305f5, []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 (m *ResumeQueueRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResumeQueueRequest.Merge(m, 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.v2.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.v2.Task] will be - // returned. - // - // By default response_view is [BASIC][google.cloud.tasks.v2.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.v2.Task.View.FULL] requires - // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) - // permission on the [Task][google.cloud.tasks.v2.Task] resource. - ResponseView Task_View `protobuf:"varint,2,opt,name=response_view,json=responseView,proto3,enum=google.cloud.tasks.v2.Task_View" json:"response_view,omitempty"` - // Maximum page size. - // - // Fewer tasks than requested might be returned, even if more tasks exist; use - // [next_page_token][google.cloud.tasks.v2.ListTasksResponse.next_page_token] in the response to - // determine if more tasks exist. - // - // The maximum page size is 1000. If unspecified, the page size will be the - // maximum. - 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.v2.ListTasksResponse.next_page_token] returned - // from the previous call to [ListTasks][google.cloud.tasks.v2.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_8af203ae11a305f5, []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 (m *ListTasksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTasksRequest.Merge(m, 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.v2.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.v2.CloudTasks.ListTasks] with this value as the - // [page_token][google.cloud.tasks.v2.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_8af203ae11a305f5, []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 (m *ListTasksResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTasksResponse.Merge(m, 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.v2.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.v2.Task] will be - // returned. - // - // By default response_view is [BASIC][google.cloud.tasks.v2.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.v2.Task.View.FULL] requires - // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) - // permission on the [Task][google.cloud.tasks.v2.Task] resource. - ResponseView Task_View `protobuf:"varint,2,opt,name=response_view,json=responseView,proto3,enum=google.cloud.tasks.v2.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_8af203ae11a305f5, []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 (m *GetTaskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTaskRequest.Merge(m, 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.v2.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.v2.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.v2.Task.name]. - // - // If [schedule_time][google.cloud.tasks.v2.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.v2.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.v2.Task] will be - // returned. - // - // By default response_view is [BASIC][google.cloud.tasks.v2.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.v2.Task.View.FULL] requires - // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) - // permission on the [Task][google.cloud.tasks.v2.Task] resource. - ResponseView Task_View `protobuf:"varint,3,opt,name=response_view,json=responseView,proto3,enum=google.cloud.tasks.v2.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_8af203ae11a305f5, []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 (m *CreateTaskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateTaskRequest.Merge(m, 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.v2.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_8af203ae11a305f5, []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 (m *DeleteTaskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteTaskRequest.Merge(m, 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.v2.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.v2.Task] will be - // returned. - // - // By default response_view is [BASIC][google.cloud.tasks.v2.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.v2.Task.View.FULL] requires - // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) - // permission on the [Task][google.cloud.tasks.v2.Task] resource. - ResponseView Task_View `protobuf:"varint,2,opt,name=response_view,json=responseView,proto3,enum=google.cloud.tasks.v2.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_8af203ae11a305f5, []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 (m *RunTaskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RunTaskRequest.Merge(m, 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.v2.ListQueuesRequest") - proto.RegisterType((*ListQueuesResponse)(nil), "google.cloud.tasks.v2.ListQueuesResponse") - proto.RegisterType((*GetQueueRequest)(nil), "google.cloud.tasks.v2.GetQueueRequest") - proto.RegisterType((*CreateQueueRequest)(nil), "google.cloud.tasks.v2.CreateQueueRequest") - proto.RegisterType((*UpdateQueueRequest)(nil), "google.cloud.tasks.v2.UpdateQueueRequest") - proto.RegisterType((*DeleteQueueRequest)(nil), "google.cloud.tasks.v2.DeleteQueueRequest") - proto.RegisterType((*PurgeQueueRequest)(nil), "google.cloud.tasks.v2.PurgeQueueRequest") - proto.RegisterType((*PauseQueueRequest)(nil), "google.cloud.tasks.v2.PauseQueueRequest") - proto.RegisterType((*ResumeQueueRequest)(nil), "google.cloud.tasks.v2.ResumeQueueRequest") - proto.RegisterType((*ListTasksRequest)(nil), "google.cloud.tasks.v2.ListTasksRequest") - proto.RegisterType((*ListTasksResponse)(nil), "google.cloud.tasks.v2.ListTasksResponse") - proto.RegisterType((*GetTaskRequest)(nil), "google.cloud.tasks.v2.GetTaskRequest") - proto.RegisterType((*CreateTaskRequest)(nil), "google.cloud.tasks.v2.CreateTaskRequest") - proto.RegisterType((*DeleteTaskRequest)(nil), "google.cloud.tasks.v2.DeleteTaskRequest") - proto.RegisterType((*RunTaskRequest)(nil), "google.cloud.tasks.v2.RunTaskRequest") -} - -func init() { - proto.RegisterFile("google/cloud/tasks/v2/cloudtasks.proto", fileDescriptor_8af203ae11a305f5) -} - -var fileDescriptor_8af203ae11a305f5 = []byte{ - // 1291 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xdd, 0x6f, 0xdb, 0x54, - 0x14, 0xd7, 0x6d, 0xd7, 0xae, 0x3d, 0xe9, 0x56, 0x7a, 0xb5, 0x8d, 0x36, 0x1d, 0x5b, 0x66, 0x89, - 0xae, 0x44, 0xc5, 0x5e, 0xb3, 0xb2, 0x69, 0x89, 0xf8, 0x70, 0xcb, 0xd6, 0xa1, 0x31, 0x48, 0x93, - 0x82, 0x10, 0x2f, 0x95, 0x9b, 0xde, 0xa6, 0xa6, 0x89, 0xed, 0xd9, 0xd7, 0x29, 0x1b, 0xda, 0x0b, - 0x8f, 0x4c, 0x42, 0xa0, 0x3d, 0x80, 0x04, 0x42, 0x08, 0x5e, 0x90, 0xf8, 0x4f, 0x78, 0x40, 0x08, - 0xc4, 0x4b, 0x24, 0xa4, 0x3d, 0xf0, 0x57, 0xf0, 0x84, 0xee, 0x87, 0x63, 0xc7, 0xae, 0xf3, 0xd1, - 0x16, 0x89, 0xa7, 0xc4, 0xf7, 0x9c, 0x7b, 0xce, 0xef, 0xfe, 0xce, 0xbd, 0xf7, 0x77, 0x6c, 0x58, - 0xa8, 0xdb, 0x76, 0xbd,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 0x37, - 0x99, 0x84, 0x93, 0x0d, 0xa6, 0x07, 0xfb, 0x50, 0xbd, 0xc3, 0xf6, 0xe1, 0x7d, 0xc3, 0xdb, 0xaf, - 0x80, 0x70, 0x67, 0xff, 0x95, 0x0d, 0xc0, 0x6f, 0x92, 0x06, 0x89, 0x61, 0x39, 0x16, 0xe1, 0x65, - 0x98, 0x29, 0xfb, 0x6e, 0xfd, 0x84, 0x23, 0x1a, 0xbe, 0x77, 0x82, 0x11, 0x37, 0x00, 0x57, 0x88, - 0xe7, 0x37, 0x4f, 0x30, 0xe4, 0x9f, 0x08, 0x9e, 0x63, 0x87, 0x65, 0x93, 0x39, 0x06, 0x11, 0x5f, - 0x8b, 0xed, 0xb2, 0x05, 0x1e, 0x33, 0x87, 0x2f, 0xa5, 0xc7, 0x64, 0xf3, 0x3b, 0x9b, 0xec, 0x36, - 0x9c, 0x71, 0xe5, 0xb1, 0xdb, 0x6a, 0x99, 0xe4, 0x80, 0x57, 0xf7, 0x6c, 0x21, 0x97, 0xb2, 0x39, - 0xd8, 0x5c, 0xf5, 0x7d, 0x93, 0x1c, 0x54, 0xa6, 0x82, 0x69, 0xec, 0xe9, 0x58, 0x77, 0x80, 0x25, - 0x6e, 0x2b, 0xb9, 0x2c, 0x79, 0x05, 0x2c, 0xc3, 0x18, 0x4f, 0x2a, 0x6f, 0x80, 0xf9, 0x1e, 0x78, - 0x2a, 0xc2, 0x73, 0xe0, 0xf3, 0xff, 0x14, 0xc1, 0xd9, 0x75, 0xc2, 0xf3, 0x05, 0x2c, 0x16, 0xbb, - 0xea, 0x22, 0x39, 0x84, 0x7e, 0x1c, 0xf2, 0x39, 0x27, 0xc4, 0xa0, 0xf2, 0x1b, 0x82, 0x19, 0x71, - 0x8b, 0x44, 0x81, 0x1d, 0xb7, 0xbc, 0x2b, 0x70, 0x8a, 0x86, 0x67, 0xb6, 0x17, 0x8b, 0xe2, 0xc4, - 0x73, 0xef, 0xe4, 0x92, 0x46, 0x8f, 0xb4,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0x89, 0x28, 0x6e, - 0x2a, 0xda, 0xa4, 0x2a, 0x67, 0x2f, 0x24, 0x34, 0xfd, 0x36, 0x6b, 0x3c, 0x63, 0xe5, 0xcd, 0x0f, - 0x53, 0xde, 0xaf, 0x11, 0x40, 0x28, 0xd6, 0xa9, 0xa7, 0x21, 0xa1, 0xe7, 0x7d, 0x98, 0x5b, 0x8d, - 0x22, 0x7a, 0x45, 0xb9, 0x36, 0x38, 0xa2, 0xa2, 0xc3, 0x52, 0x15, 0x51, 0x5e, 0x40, 0xeb, 0xa8, - 0x7e, 0x3a, 0xb4, 0x78, 0x63, 0xf0, 0x1f, 0x42, 0x63, 0xa9, 0x18, 0xb4, 0x6f, 0x10, 0x64, 0x22, - 0xed, 0x43, 0x6a, 0x0d, 0x93, 0x2d, 0x46, 0x1f, 0x70, 0x6b, 0x51, 0x70, 0x37, 0x94, 0xe5, 0x21, - 0xc0, 0xb9, 0x3c, 0x17, 0x43, 0xf7, 0x2d, 0x82, 0xa9, 0x75, 0x42, 0xdf, 0x32, 0x9a, 0x65, 0xfe, - 0xd6, 0x82, 0x95, 0x20, 0xa7, 0x69, 0x34, 0xd5, 0xd6, 0xb2, 0x1a, 0x35, 0x06, 0xb8, 0xce, 0xc7, - 0x7c, 0x84, 0x55, 0xd9, 0x68, 0xeb, 0x13, 0xc1, 0xeb, 0x17, 0x07, 0xf5, 0x86, 0x52, 0xe2, 0xa0, - 0x82, 0xc1, 0xfe, 0xc0, 0xea, 0x91, 0x6c, 0x0c, 0xde, 0x8f, 0x08, 0xa6, 0xaa, 0xbd, 0xe0, 0x55, - 0x07, 0x87, 0xf7, 0x41, 0x5b, 0x9f, 0x0e, 0x90, 0x2c, 0x89, 0x77, 0xb4, 0x23, 0xa2, 0xf4, 0x62, - 0x28, 0x7f, 0x45, 0x80, 0x37, 0x89, 0xc7, 0x07, 0x89, 0xdb, 0x34, 0x3d, 0x8f, 0x4d, 0x09, 0x77, - 0xa1, 0xc4, 0x91, 0x74, 0x49,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0xe9, 0x9e, 0xf8, 0xa8, 0xf4, 0xb2, - 0xd3, 0x30, 0xe8, 0xae, 0xed, 0x36, 0x57, 0x5d, 0x98, 0xab, 0xd9, 0xcd, 0xc3, 0xa1, 0xaf, 0x4e, - 0x87, 0x9d, 0x67, 0x99, 0x51, 0x5c, 0x46, 0x1f, 0x16, 0xa5, 0x67, 0xdd, 0x6e, 0x18, 0x56, 0x5d, - 0xb5, 0xdd, 0xba, 0x56, 0x27, 0x16, 0x2f, 0x80, 0x16, 0xa6, 0x8b, 0x7d, 0xba, 0x2a, 0xf1, 0x3f, - 0x3f, 0x8c, 0x8c, 0x6d, 0xea, 0xd5, 0x7b, 0xd5, 0xed, 0x71, 0xee, 0x7e, 0xfd, 0xdf, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x2e, 0x80, 0xfb, 0x7f, 0xbd, 0x13, 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 - -// 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.v2.CloudTasks.ResumeQueue]. Tasks can still be added - // when the queue is paused. A queue is paused if its - // [state][google.cloud.tasks.v2.Queue.state] is [PAUSED][google.cloud.tasks.v2.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.v2.Queue.State.PAUSED] or - // [DISABLED][google.cloud.tasks.v2.Queue.State.DISABLED]. The state of a queue is stored - // in the queue's [state][google.cloud.tasks.v2.Queue.state]; after calling this method it - // will be set to [RUNNING][google.cloud.tasks.v2.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.v2.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.v2.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.v2.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.v2.Task.View.BASIC] view is retrieved - // due to performance considerations; - // [response_view][google.cloud.tasks.v2.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. - // - // * 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.v2.RateLimits] or - // is [PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED]. - // - // This command is meant to be used for manual debugging. For - // example, [RunTask][google.cloud.tasks.v2.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.v2.Task.schedule_time] will be reset to the time that - // [RunTask][google.cloud.tasks.v2.CloudTasks.RunTask] was called plus the retry delay specified - // in the queue's [RetryConfig][google.cloud.tasks.v2.RetryConfig]. - // - // [RunTask][google.cloud.tasks.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.CloudTasks.ResumeQueue]. Tasks can still be added - // when the queue is paused. A queue is paused if its - // [state][google.cloud.tasks.v2.Queue.state] is [PAUSED][google.cloud.tasks.v2.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.v2.Queue.State.PAUSED] or - // [DISABLED][google.cloud.tasks.v2.Queue.State.DISABLED]. The state of a queue is stored - // in the queue's [state][google.cloud.tasks.v2.Queue.state]; after calling this method it - // will be set to [RUNNING][google.cloud.tasks.v2.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.v2.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.v2.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.v2.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.v2.Task.View.BASIC] view is retrieved - // due to performance considerations; - // [response_view][google.cloud.tasks.v2.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. - // - // * 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.v2.RateLimits] or - // is [PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED]. - // - // This command is meant to be used for manual debugging. For - // example, [RunTask][google.cloud.tasks.v2.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.v2.Task.schedule_time] will be reset to the time that - // [RunTask][google.cloud.tasks.v2.CloudTasks.RunTask] was called plus the retry delay specified - // in the queue's [RetryConfig][google.cloud.tasks.v2.RetryConfig]. - // - // [RunTask][google.cloud.tasks.v2.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) -} - -// UnimplementedCloudTasksServer can be embedded to have forward compatible implementations. -type UnimplementedCloudTasksServer struct { -} - -func (*UnimplementedCloudTasksServer) ListQueues(ctx context.Context, req *ListQueuesRequest) (*ListQueuesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListQueues not implemented") -} -func (*UnimplementedCloudTasksServer) GetQueue(ctx context.Context, req *GetQueueRequest) (*Queue, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetQueue not implemented") -} -func (*UnimplementedCloudTasksServer) CreateQueue(ctx context.Context, req *CreateQueueRequest) (*Queue, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateQueue not implemented") -} -func (*UnimplementedCloudTasksServer) UpdateQueue(ctx context.Context, req *UpdateQueueRequest) (*Queue, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateQueue not implemented") -} -func (*UnimplementedCloudTasksServer) DeleteQueue(ctx context.Context, req *DeleteQueueRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteQueue not implemented") -} -func (*UnimplementedCloudTasksServer) PurgeQueue(ctx context.Context, req *PurgeQueueRequest) (*Queue, error) { - return nil, status.Errorf(codes.Unimplemented, "method PurgeQueue not implemented") -} -func (*UnimplementedCloudTasksServer) PauseQueue(ctx context.Context, req *PauseQueueRequest) (*Queue, error) { - return nil, status.Errorf(codes.Unimplemented, "method PauseQueue not implemented") -} -func (*UnimplementedCloudTasksServer) ResumeQueue(ctx context.Context, req *ResumeQueueRequest) (*Queue, error) { - return nil, status.Errorf(codes.Unimplemented, "method ResumeQueue not implemented") -} -func (*UnimplementedCloudTasksServer) GetIamPolicy(ctx context.Context, req *v1.GetIamPolicyRequest) (*v1.Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedCloudTasksServer) SetIamPolicy(ctx context.Context, req *v1.SetIamPolicyRequest) (*v1.Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedCloudTasksServer) TestIamPermissions(ctx context.Context, req *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} -func (*UnimplementedCloudTasksServer) ListTasks(ctx context.Context, req *ListTasksRequest) (*ListTasksResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListTasks not implemented") -} -func (*UnimplementedCloudTasksServer) GetTask(ctx context.Context, req *GetTaskRequest) (*Task, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTask not implemented") -} -func (*UnimplementedCloudTasksServer) CreateTask(ctx context.Context, req *CreateTaskRequest) (*Task, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateTask not implemented") -} -func (*UnimplementedCloudTasksServer) DeleteTask(ctx context.Context, req *DeleteTaskRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteTask not implemented") -} -func (*UnimplementedCloudTasksServer) RunTask(ctx context.Context, req *RunTaskRequest) (*Task, error) { - return nil, status.Errorf(codes.Unimplemented, "method RunTask not implemented") -} - -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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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/v2/cloudtasks.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2/queue.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2/queue.pb.go deleted file mode 100644 index 46706648..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2/queue.pb.go +++ /dev/null @@ -1,585 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/tasks/v2/queue.proto - -package tasks - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // 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.v2.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_a4a1833e2495b95c, []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.v2.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"` - // Overrides for - // [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing]. - // These settings apply only to - // [App Engine tasks][google.cloud.tasks.v2.AppEngineHttpRequest] in this queue. - // - // If set, `app_engine_routing_override` is used for all - // [App Engine tasks][google.cloud.tasks.v2.AppEngineHttpRequest] in the queue, no matter what the - // setting is for the - // [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing]. - AppEngineRoutingOverride *AppEngineRouting `protobuf:"bytes,2,opt,name=app_engine_routing_override,json=appEngineRoutingOverride,proto3" json:"app_engine_routing_override,omitempty"` - // Rate limits for task dispatches. - // - // [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are - // related because they both control task attempts. However they control task - // attempts in different ways: - // - // * [rate_limits][google.cloud.tasks.v2.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.v2.Queue.retry_config] controls what happens to - // particular a task after its first attempt fails. That is, - // [retry_config][google.cloud.tasks.v2.Queue.retry_config] controls task retries (the - // second attempt, third attempt, etc). - // - // The queue's actual dispatch rate is the result of: - // - // * Number of tasks in the queue - // * User-specified throttling: [rate_limits][google.cloud.tasks.v2.Queue.rate_limits], - // [retry_config][google.cloud.tasks.v2.Queue.retry_config], and the - // [queue's state][google.cloud.tasks.v2.Queue.state]. - // * System throttling due to `429` (Too Many Requests) or `503` (Service - // Unavailable) responses from the worker, high error rates, or to smooth - // sudden large traffic spikes. - RateLimits *RateLimits `protobuf:"bytes,3,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,4,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.v2.CloudTasks.PauseQueue], - // [ResumeQueue][google.cloud.tasks.v2.CloudTasks.ResumeQueue], or uploading - // [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref). - // [UpdateQueue][google.cloud.tasks.v2.CloudTasks.UpdateQueue] cannot be used to change `state`. - State Queue_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.tasks.v2.Queue_State" json:"state,omitempty"` - // Output only. The last time this queue was purged. - // - // All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time - // were purged. - // - // A queue can be purged using [PurgeQueue][google.cloud.tasks.v2.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,6,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_a4a1833e2495b95c, []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 (m *Queue) XXX_Merge(src proto.Message) { - xxx_messageInfo_Queue.Merge(m, 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 "" -} - -func (m *Queue) GetAppEngineRoutingOverride() *AppEngineRouting { - if m != nil { - return m.AppEngineRoutingOverride - } - 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 -} - -// 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.v2.CloudTasks.RunTask], will run a task -// even if the queue has reached its [RateLimits][google.cloud.tasks.v2.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. - // - // * 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.v2.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.v2.RateLimits.max_dispatches_per_second]. - // - // For 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.v2.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.v2.RateLimits.max_dispatches_per_second], - // regardless of whether - // [max_dispatches_per_second][google.cloud.tasks.v2.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_a4a1833e2495b95c, []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 (m *RateLimits) XXX_Merge(src proto.Message) { - xxx_messageInfo_RateLimits.Merge(m, 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.v2.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.v2.Task.schedule_time] for retry between - // [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and - // [max_backoff][google.cloud.tasks.v2.RetryConfig.max_backoff] duration after it fails, - // if the queue's [RetryConfig][google.cloud.tasks.v2.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.v2.Task.schedule_time] for retry between - // [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and - // [max_backoff][google.cloud.tasks.v2.RetryConfig.max_backoff] duration after it fails, - // if the queue's [RetryConfig][google.cloud.tasks.v2.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.v2.RetryConfig.min_backoff], then doubles - // `max_doublings` times, then increases linearly, and finally - // retries retries at intervals of - // [max_backoff][google.cloud.tasks.v2.RetryConfig.max_backoff] up to - // [max_attempts][google.cloud.tasks.v2.RetryConfig.max_attempts] times. - // - // For example, if [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] is 10s, - // [max_backoff][google.cloud.tasks.v2.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.v2.RetryConfig.max_backoff] until the - // task has been attempted [max_attempts][google.cloud.tasks.v2.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_a4a1833e2495b95c, []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 (m *RetryConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_RetryConfig.Merge(m, 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.RegisterEnum("google.cloud.tasks.v2.Queue_State", Queue_State_name, Queue_State_value) - proto.RegisterType((*Queue)(nil), "google.cloud.tasks.v2.Queue") - proto.RegisterType((*RateLimits)(nil), "google.cloud.tasks.v2.RateLimits") - proto.RegisterType((*RetryConfig)(nil), "google.cloud.tasks.v2.RetryConfig") -} - -func init() { proto.RegisterFile("google/cloud/tasks/v2/queue.proto", fileDescriptor_a4a1833e2495b95c) } - -var fileDescriptor_a4a1833e2495b95c = []byte{ - // 693 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0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, 0x64, 0xda, 0x21, 0xb5, 0x96, 0x89, 0xc4, 0x1a, 0xbc, 0x5f, 0x35, 0xa8, 0x09, 0x3a, - 0xef, 0x14, 0x29, 0x72, 0x08, 0x24, 0x83, 0xe4, 0x1e, 0x2a, 0xff, 0x64, 0x85, 0xc5, 0x9b, 0x7f, - 0xac, 0xb1, 0x57, 0x00, 0x82, 0xba, 0xa0, 0x73, 0xec, 0x54, 0x66, 0x48, 0x1b, 0x6a, 0x82, 0xcb, - 0x70, 0x4c, 0xa3, 0x53, 0x35, 0x9d, 0x16, 0x66, 0xfe, 0x8b, 0x02, 0x08, 0x2e, 0xbb, 0x39, 0x18, - 0xb9, 0xd9, 0x64, 0x0a, 0x6e, 0xe5, 0xdf, 0x5c, 0x3a, 0x2f, 0xb9, 0xcf, 0xe0, 0x3e, 0x2e, 0x44, - 0xa5, 0xe3, 0x19, 0x97, 0xb1, 0x41, 0x07, 0xe7, 0x43, 0xed, 0x95, 0xb9, 0x2e, 0x83, 0x66, 0xa4, - 0xc4, 0xed, 0xa6, 0xee, 0x02, 0x1a, 0x64, 0x98, 0x75, 0x19, 0x3a, 0x1f, 0xdb, 0x05, 0x28, 0x56, - 0x33, 0x2a, 0x63, 0x57, 0xe9, 0xd8, 0x8b, 0x99, 0xc4, 0x3b, 0x78, 0x0b, 0x63, 0xdd, 0xf8, 0x78, - 0xbd, 0xc1, 0x60, 0xbc, 0x82, 0xb0, 0x97, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x6f, 0x1a, 0x7f, - 0xbb, 0x37, 0x05, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2/target.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2/target.pb.go deleted file mode 100644 index b6a60978..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2/target.pb.go +++ /dev/null @@ -1,459 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/tasks/v2/target.proto - -package tasks - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The HTTP method used to deliver 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 - // 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_9ccba55e885aeacf, []int{0} -} - -// App Engine HTTP request. -// -// The message defines the HTTP request that is sent to an App Engine app when -// the task is dispatched. -// -// Using [AppEngineHttpRequest][google.cloud.tasks.v2.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). -// Traffic is encrypted during transport and never leaves Google datacenters. -// Because this traffic is carried over a communication mechanism internal to -// Google, you cannot explicitly set the protocol (for example, HTTP or HTTPS). -// The request to the handler, however, will appear to have used the HTTP -// protocol. -// -// The [AppEngineRouting][google.cloud.tasks.v2.AppEngineRouting] used to construct the URL that the task is -// delivered to can be set at the queue-level or task-level: -// -// * If [app_engine_routing_override is set on the -// queue][Queue.app_engine_routing_override], this value is used for all -// tasks in the queue, no matter what the setting is for the [task-level -// app_engine_routing][AppEngineHttpRequest.app_engine_routing]. -// -// -// The `url` that the task will be sent to is: -// -// * `url =` [host][google.cloud.tasks.v2.AppEngineRouting.host] `+` -// [relative_uri][google.cloud.tasks.v2.AppEngineHttpRequest.relative_uri] -// -// Tasks can be dispatched to secure app handlers, unsecure app handlers, and -// URIs restricted with -// [`login: -// admin`](https://cloud.google.com/appengine/docs/standard/python/config/appref). -// Because tasks are not run as any user, they cannot be dispatched to URIs -// restricted with -// [`login: -// required`](https://cloud.google.com/appengine/docs/standard/python/config/appref) -// Task dispatches also do not follow redirects. -// -// The task attempt has succeeded if the app's request handler returns an HTTP -// response code in the range [`200` - `299`]. The task attempt has failed if -// the app's handler returns a non-2xx response code or Cloud Tasks does -// not receive response before the [deadline][google.cloud.tasks.v2.Task.dispatch_deadline]. Failed -// tasks will be retried according to the -// [retry configuration][google.cloud.tasks.v2.Queue.retry_config]. `503` (Service Unavailable) is -// considered an App Engine system error instead of an application error and -// will cause Cloud Tasks' traffic congestion control to temporarily throttle -// the queue's dispatches. Unlike other types of task targets, a `429` (Too Many -// Requests) response from an app handler does not cause traffic congestion -// control to throttle the queue. -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.v2.HttpMethod" json:"http_method,omitempty"` - // Task-level setting for App Engine routing. - // - // * If [app_engine_routing_override is set on the - // queue][Queue.app_engine_routing_override], this value is used for all - // tasks in the queue, no matter what the setting is for the [task-level - // app_engine_routing][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.v2.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.v2.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.v2.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.v2.Task]. For more - // information, see the [CreateTask][google.cloud.tasks.v2.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.v2.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_9ccba55e885aeacf, []int{0} -} - -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 (m *AppEngineHttpRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AppEngineHttpRequest.Merge(m, 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. -// -// Defines routing characteristics specific to App Engine - service, version, -// and instance. -// -// 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). -// -// Using [AppEngineRouting][google.cloud.tasks.v2.AppEngineRouting] 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 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.v2.AppEngineRouting.host] is not parsable - // into [service][google.cloud.tasks.v2.AppEngineRouting.service], - // [version][google.cloud.tasks.v2.AppEngineRouting.version], and - // [instance][google.cloud.tasks.v2.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.v2.AppEngineRouting.host] is not parsable, then - // [service][google.cloud.tasks.v2.AppEngineRouting.service], - // [version][google.cloud.tasks.v2.AppEngineRouting.version], and - // [instance][google.cloud.tasks.v2.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.v2.AppEngineRouting.host] is not parsable - // into [service][google.cloud.tasks.v2.AppEngineRouting.service], - // [version][google.cloud.tasks.v2.AppEngineRouting.version], and - // [instance][google.cloud.tasks.v2.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.v2.AppEngineRouting.host] is not parsable, then - // [service][google.cloud.tasks.v2.AppEngineRouting.service], - // [version][google.cloud.tasks.v2.AppEngineRouting.version], and - // [instance][google.cloud.tasks.v2.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.v2.AppEngineRouting.service], [version][google.cloud.tasks.v2.AppEngineRouting.version], - // and [instance][google.cloud.tasks.v2.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_9ccba55e885aeacf, []int{1} -} - -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 (m *AppEngineRouting) XXX_Merge(src proto.Message) { - xxx_messageInfo_AppEngineRouting.Merge(m, 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.RegisterEnum("google.cloud.tasks.v2.HttpMethod", HttpMethod_name, HttpMethod_value) - proto.RegisterType((*AppEngineHttpRequest)(nil), "google.cloud.tasks.v2.AppEngineHttpRequest") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.tasks.v2.AppEngineHttpRequest.HeadersEntry") - proto.RegisterType((*AppEngineRouting)(nil), "google.cloud.tasks.v2.AppEngineRouting") -} - -func init() { proto.RegisterFile("google/cloud/tasks/v2/target.proto", fileDescriptor_9ccba55e885aeacf) } - -var fileDescriptor_9ccba55e885aeacf = []byte{ - // 490 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x53, 0xcf, 0x6f, 0xda, 0x30, - 0x18, 0x5d, 0xf8, 0x51, 0xca, 0x17, 0x34, 0x59, 0x56, 0xa7, 0x65, 0x6c, 0x07, 0xca, 0x65, 0x68, - 0x87, 0x44, 0x62, 0x97, 0x8a, 0x9d, 0xa0, 0x64, 0x0b, 0xd2, 0x5a, 0xa2, 0x60, 0x2e, 0xbb, 0x44, - 0x2e, 0x78, 0xc1, 0x2a, 0xb5, 0x33, 0xdb, 0x44, 0xe2, 0x3f, 0xdf, 0x71, 0x8a, 0x03, 0xac, 0x42, - 0x9d, 0x76, 0x7b, 0xdf, 0xf3, 0x7b, 0xcf, 0xfe, 0xec, 0xcf, 0xd0, 0xcf, 0xa4, 0xcc, 0xb6, 0x2c, - 0x58, 0x6d, 0xe5, 0x6e, 0x1d, 0x18, 0xaa, 0x1f, 0x75, 0x50, 0x0c, 0x03, 0x43, 0x55, 0xc6, 0x8c, - 0x9f, 0x2b, 0x69, 0x24, 0x7e, 0x53, 0x69, 0x7c, 0xab, 0xf1, 0xad, 0xc6, 0x2f, 0x86, 0xdd, 0x0f, - 0x07, 0x2b, 0xcd, 0x79, 0x40, 0x85, 0x90, 0x86, 0x1a, 0x2e, 0x85, 0xae, 0x4c, 0xfd, 0xdf, 0x35, - 0xb8, 0x1a, 0xe7, 0x79, 0x28, 0x32, 0x2e, 0x58, 0x64, 0x4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 0x9a, 0x4b, - 0x71, 0x48, 0x3a, 0x96, 0xb8, 0x0b, 0x97, 0x5c, 0x68, 0x43, 0xc5, 0x8a, 0x1d, 0xae, 0xe2, 0x54, - 0x97, 0x67, 0xde, 0x48, 0x6d, 0xbc, 0x86, 0xe5, 0x2d, 0xfe, 0xa4, 0x01, 0xfe, 0xbe, 0x17, 0x7e, - 0x0f, 0x6f, 0x23, 0x42, 0xe2, 0xf4, 0x2e, 0x24, 0xd1, 0x7c, 0x9a, 0x2e, 0xef, 0x17, 0x71, 0x78, - 0x3b, 0xfb, 0x3a, 0x0b, 0xa7, 0xe8, 0x15, 0xbe, 0x84, 0x46, 0x3c, 0x5f, 0x10, 0xe4, 0xe0, 0x16, - 0xd4, 0xbf, 0x85, 0x04, 0xd5, 0x4a, 0x2a, 0x0a, 0xc7, 0x53, 0x54, 0x2f, 0xa9, 0x78, 0x49, 0x50, - 0x03, 0x03, 0x5c, 0x4c, 0xc3, 0xef, 0x21, 0x09, 0x51, 0x13, 0xb7, 0xa1, 0x19, 0x8f, 0xc9, 0x6d, - 0x84, 0x2e, 0xb0, 0x0b, 0xad, 0x79, 0x4c, 0x66, 0xf3, 0xfb, 0x05, 0x6a, 0x4d, 0x7e, 0xc2, 0xbb, - 0x95, 0x7c, 0x7a, 0xf9, 0x11, 0x26, 0x2e, 0xb1, 0x73, 0x1c, 0x97, 0x13, 0x19, 0x3b, 0x3f, 0x46, - 0x07, 0x55, 0x26, 0xb7, 0x54, 0x64, 0xbe, 0x54, 0x59, 0x90, 0x31, 0x61, 0xe7, 0x35, 0xa8, 0x96, - 0x68, 0xce, 0xf5, 0xd9, 0x5f, 0xf8, 0x62, 0xc1, 0xc3, 0x85, 0x95, 0x7d, 0xfe, 0x13, 0x00, 0x00, - 0xff, 0xff, 0xb4, 0x23, 0x16, 0x6a, 0x31, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2/task.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2/task.pb.go deleted file mode 100644 index 9c6acb27..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2/task.pb.go +++ /dev/null @@ -1,411 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/tasks/v2/task.proto - -package tasks - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The view specifies a subset of [Task][google.cloud.tasks.v2.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.v2.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.v2.Task.View.FULL] requires - // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) - // permission on the [Queue][google.cloud.tasks.v2.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_5d55198283613840, []int{0, 0} -} - -// A unit of scheduled work. -type Task struct { - // Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.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 message to send to the worker. - // - // Types that are valid to be assigned to MessageType: - // *Task_AppEngineHttpRequest - MessageType isTask_MessageType `protobuf_oneof:"message_type"` - // The time when the task is scheduled to 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"` - // The deadline for requests sent to the worker. If the worker does not - // respond by this deadline then the request is cancelled and the attempt - // is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the - // task according to the [RetryConfig][google.cloud.tasks.v2.RetryConfig]. - // - // Note that when the request is cancelled, Cloud Tasks will stop listing for - // the response, but whether the worker stops processing depends on the - // worker. For example, if the worker is stuck, it may not react to cancelled - // requests. - // - // The default and maximum values depend on the type of request: - // - // - // * For [App Engine tasks][google.cloud.tasks.v2.AppEngineHttpRequest], 0 indicates that the - // request has the default deadline. The default deadline depends on the - // [scaling - // type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling) - // of the service: 10 minutes for standard apps with automatic scaling, 24 - // hours for standard apps with manual and basic scaling, and 60 minutes for - // flex apps. If the request deadline is set, it must be in the interval [15 - // seconds, 24 hours 15 seconds]. Regardless of the task's - // `dispatch_deadline`, the app handler will not run for longer than than - // the service's timeout. We recommend setting the `dispatch_deadline` to - // at most a few seconds more than the app handler's timeout. For more - // information see - // [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts). - // - // `dispatch_deadline` will be truncated to the nearest millisecond. The - // deadline is an approximate deadline. - DispatchDeadline *duration.Duration `protobuf:"bytes,6,opt,name=dispatch_deadline,json=dispatchDeadline,proto3" json:"dispatch_deadline,omitempty"` - // Output only. The number of attempts dispatched. - // - // This count includes attempts which have been dispatched but haven't - // received a response. - DispatchCount int32 `protobuf:"varint,7,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,8,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.v2.Attempt.dispatch_time] will be set. - // The other [Attempt][google.cloud.tasks.v2.Attempt] information is not retained by Cloud Tasks. - FirstAttempt *Attempt `protobuf:"bytes,9,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,10,opt,name=last_attempt,json=lastAttempt,proto3" json:"last_attempt,omitempty"` - // Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has - // been returned. - View Task_View `protobuf:"varint,11,opt,name=view,proto3,enum=google.cloud.tasks.v2.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_5d55198283613840, []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 (m *Task) XXX_Merge(src proto.Message) { - xxx_messageInfo_Task.Merge(m, 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_MessageType interface { - isTask_MessageType() -} - -type Task_AppEngineHttpRequest struct { - AppEngineHttpRequest *AppEngineHttpRequest `protobuf:"bytes,2,opt,name=app_engine_http_request,json=appEngineHttpRequest,proto3,oneof"` -} - -func (*Task_AppEngineHttpRequest) isTask_MessageType() {} - -func (m *Task) GetMessageType() isTask_MessageType { - if m != nil { - return m.MessageType - } - return nil -} - -func (m *Task) GetAppEngineHttpRequest() *AppEngineHttpRequest { - if x, ok := m.GetMessageType().(*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) GetDispatchDeadline() *duration.Duration { - if m != nil { - return m.DispatchDeadline - } - 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_OneofWrappers is for the internal use of the proto package. -func (*Task) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Task_AppEngineHttpRequest)(nil), - } -} - -// 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 worker 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_5d55198283613840, []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 (m *Attempt) XXX_Merge(src proto.Message) { - xxx_messageInfo_Attempt.Merge(m, 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.RegisterEnum("google.cloud.tasks.v2.Task_View", Task_View_name, Task_View_value) - proto.RegisterType((*Task)(nil), "google.cloud.tasks.v2.Task") - proto.RegisterType((*Attempt)(nil), "google.cloud.tasks.v2.Attempt") -} - -func init() { proto.RegisterFile("google/cloud/tasks/v2/task.proto", fileDescriptor_5d55198283613840) } - -var fileDescriptor_5d55198283613840 = []byte{ - // 637 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0x5d, 0x6b, 0xdb, 0x3c, - 0x14, 0xc7, 0xeb, 0x3c, 0x49, 0xdb, 0x28, 0x69, 0x9f, 0xcc, 0x74, 0x34, 0x2d, 0xa3, 0x0b, 0x81, - 0x41, 0x60, 0x60, 0xb1, 0x6c, 0x57, 0xed, 0x45, 0x49, 0xd2, 0x94, 0x06, 0xca, 0x28, 0xee, 0xcb, - 0x60, 0x37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d, 0xa3, 0x89, 0x69, 0x4a, 0xf2, 0xd8, 0xa3, 0x3c, 0xc6, 0x31, 0xe4, - 0x6a, 0x77, 0xf8, 0x4f, 0xeb, 0x1e, 0xfc, 0xf2, 0xf6, 0x54, 0x70, 0xb9, 0xac, 0x64, 0x1f, 0x7f, - 0x07, 0x00, 0x00, 0xff, 0xff, 0x5e, 0xe5, 0x53, 0x0c, 0x6c, 0x05, 0x00, 0x00, -} 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 deleted file mode 100644 index 18b50d93..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta2/cloudtasks.pb.go +++ /dev/null @@ -1,2617 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/tasks/v2beta2/cloudtasks.proto - -package tasks - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - empty "github.com/golang/protobuf/ptypes/empty" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - v1 "google.golang.org/genproto/googleapis/iam/v1" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for [ListQueues][google.cloud.tasks.v2beta2.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.v2beta2.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 "app_engine_http_target: *". - // - // 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.v2beta2.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.v2beta2.ListQueuesResponse.next_page_token] returned - // from the previous call to [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] - // method. It is an error to switch the value of the - // [filter][google.cloud.tasks.v2beta2.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_f19d568d0a105212, []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 (m *ListQueuesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListQueuesRequest.Merge(m, 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.v2beta2.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.v2beta2.CloudTasks.ListQueues] with this value as the - // [page_token][google.cloud.tasks.v2beta2.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_f19d568d0a105212, []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 (m *ListQueuesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListQueuesResponse.Merge(m, 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.v2beta2.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_f19d568d0a105212, []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 (m *GetQueueRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetQueueRequest.Merge(m, 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.v2beta2.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.v2beta2.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_f19d568d0a105212, []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 (m *CreateQueueRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateQueueRequest.Merge(m, 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.v2beta2.CloudTasks.UpdateQueue]. -type UpdateQueueRequest struct { - // Required. The queue to create or update. - // - // The queue's [name][google.cloud.tasks.v2beta2.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.v2beta2.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_f19d568d0a105212, []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 (m *UpdateQueueRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateQueueRequest.Merge(m, 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.v2beta2.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_f19d568d0a105212, []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 (m *DeleteQueueRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteQueueRequest.Merge(m, 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.v2beta2.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_f19d568d0a105212, []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 (m *PurgeQueueRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PurgeQueueRequest.Merge(m, 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.v2beta2.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_f19d568d0a105212, []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 (m *PauseQueueRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PauseQueueRequest.Merge(m, 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.v2beta2.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_f19d568d0a105212, []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 (m *ResumeQueueRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResumeQueueRequest.Merge(m, 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.v2beta2.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.v2beta2.Task] will be - // returned. - // - // By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires - // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) - // permission on the [Task][google.cloud.tasks.v2beta2.Task] resource. - ResponseView Task_View `protobuf:"varint,2,opt,name=response_view,json=responseView,proto3,enum=google.cloud.tasks.v2beta2.Task_View" json:"response_view,omitempty"` - // Maximum page size. - // - // Fewer tasks than requested might be returned, even if more tasks exist; use - // [next_page_token][google.cloud.tasks.v2beta2.ListTasksResponse.next_page_token] in the response to - // determine if more tasks exist. - // - // The maximum page size is 1000. If unspecified, the page size will be the - // maximum. - PageSize int32 `protobuf:"varint,4,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.v2beta2.ListTasksResponse.next_page_token] returned - // from the previous call to [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] - // method. - // - // The page token is valid for only 2 hours. - 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 *ListTasksRequest) Reset() { *m = ListTasksRequest{} } -func (m *ListTasksRequest) String() string { return proto.CompactTextString(m) } -func (*ListTasksRequest) ProtoMessage() {} -func (*ListTasksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f19d568d0a105212, []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 (m *ListTasksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTasksRequest.Merge(m, 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.v2beta2.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.v2beta2.CloudTasks.ListTasks] with this value as the - // [page_token][google.cloud.tasks.v2beta2.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_f19d568d0a105212, []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 (m *ListTasksResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTasksResponse.Merge(m, 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.v2beta2.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.v2beta2.Task] will be - // returned. - // - // By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires - // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) - // permission on the [Task][google.cloud.tasks.v2beta2.Task] resource. - ResponseView Task_View `protobuf:"varint,2,opt,name=response_view,json=responseView,proto3,enum=google.cloud.tasks.v2beta2.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_f19d568d0a105212, []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 (m *GetTaskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTaskRequest.Merge(m, 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.v2beta2.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.v2beta2.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.v2beta2.Task.name]. - // - // If [schedule_time][google.cloud.tasks.v2beta2.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 completed 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 completed. 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 completed. - // - // Because there is an extra lookup cost to identify duplicate task - // names, these [CreateTask][google.cloud.tasks.v2beta2.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.v2beta2.Task] will be - // returned. - // - // By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires - // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) - // permission on the [Task][google.cloud.tasks.v2beta2.Task] resource. - ResponseView Task_View `protobuf:"varint,3,opt,name=response_view,json=responseView,proto3,enum=google.cloud.tasks.v2beta2.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_f19d568d0a105212, []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 (m *CreateTaskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateTaskRequest.Merge(m, 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.v2beta2.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_f19d568d0a105212, []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 (m *DeleteTaskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteTaskRequest.Merge(m, 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 leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks]. -type LeaseTasksRequest 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 maximum number of tasks to lease. - // - // The system will make a best effort to return as close to as - // `max_tasks` as possible. - // - // The largest that `max_tasks` can be is 1000. - // - // The maximum total size of a [lease tasks response][google.cloud.tasks.v2beta2.LeaseTasksResponse] is - // 32 MB. If the sum of all task sizes requested reaches this limit, - // fewer tasks than requested are returned. - MaxTasks int32 `protobuf:"varint,2,opt,name=max_tasks,json=maxTasks,proto3" json:"max_tasks,omitempty"` - // Required. The duration of the lease. - // - // Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will - // have its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] set to the current - // time plus the `lease_duration`. The task is leased until its - // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]; thus, the task will not be - // returned to another [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call - // before its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]. - // - // - // After the worker has successfully finished the work associated - // with the task, the worker must call via - // [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask] before the - // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]. Otherwise the task will be - // returned to a later [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so - // that another worker can retry it. - // - // The maximum lease duration is 1 week. - // `lease_duration` will be truncated to the nearest second. - LeaseDuration *duration.Duration `protobuf:"bytes,3,opt,name=lease_duration,json=leaseDuration,proto3" json:"lease_duration,omitempty"` - // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be - // returned. - // - // By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires - // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) - // permission on the [Task][google.cloud.tasks.v2beta2.Task] resource. - ResponseView Task_View `protobuf:"varint,4,opt,name=response_view,json=responseView,proto3,enum=google.cloud.tasks.v2beta2.Task_View" json:"response_view,omitempty"` - // `filter` can be used to specify a subset of tasks to lease. - // - // When `filter` is set to `tag=` then the - // [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will contain only tasks whose - // [tag][google.cloud.tasks.v2beta2.PullMessage.tag] is equal to ``. `` must be - // less than 500 characters. - // - // When `filter` is set to `tag_function=oldest_tag()`, only tasks which have - // the same tag as the task with the oldest - // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be returned. - // - // Grammar Syntax: - // - // * `filter = "tag=" tag | "tag_function=" function` - // - // * `tag = string` - // - // * `function = "oldest_tag()"` - // - // The `oldest_tag()` function returns tasks which have the same tag as the - // oldest task (ordered by schedule time). - // - // SDK compatibility: Although the SDK allows tags to be either - // string or - // [bytes](https://cloud.google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-), - // only UTF-8 encoded tags can be used in Cloud Tasks. Tag which - // aren't UTF-8 encoded can't be used in the - // [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter] and the task's - // [tag][google.cloud.tasks.v2beta2.PullMessage.tag] will be displayed as empty in Cloud Tasks. - Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f19d568d0a105212, []int{14} -} - -func (m *LeaseTasksRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LeaseTasksRequest.Unmarshal(m, b) -} -func (m *LeaseTasksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LeaseTasksRequest.Marshal(b, m, deterministic) -} -func (m *LeaseTasksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_LeaseTasksRequest.Merge(m, src) -} -func (m *LeaseTasksRequest) XXX_Size() int { - return xxx_messageInfo_LeaseTasksRequest.Size(m) -} -func (m *LeaseTasksRequest) XXX_DiscardUnknown() { - xxx_messageInfo_LeaseTasksRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_LeaseTasksRequest proto.InternalMessageInfo - -func (m *LeaseTasksRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *LeaseTasksRequest) GetMaxTasks() int32 { - if m != nil { - return m.MaxTasks - } - return 0 -} - -func (m *LeaseTasksRequest) GetLeaseDuration() *duration.Duration { - if m != nil { - return m.LeaseDuration - } - return nil -} - -func (m *LeaseTasksRequest) GetResponseView() Task_View { - if m != nil { - return m.ResponseView - } - return Task_VIEW_UNSPECIFIED -} - -func (m *LeaseTasksRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -// Response message for leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks]. -type LeaseTasksResponse struct { - // The leased tasks. - Tasks []*Task `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f19d568d0a105212, []int{15} -} - -func (m *LeaseTasksResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LeaseTasksResponse.Unmarshal(m, b) -} -func (m *LeaseTasksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LeaseTasksResponse.Marshal(b, m, deterministic) -} -func (m *LeaseTasksResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_LeaseTasksResponse.Merge(m, src) -} -func (m *LeaseTasksResponse) XXX_Size() int { - return xxx_messageInfo_LeaseTasksResponse.Size(m) -} -func (m *LeaseTasksResponse) XXX_DiscardUnknown() { - xxx_messageInfo_LeaseTasksResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_LeaseTasksResponse proto.InternalMessageInfo - -func (m *LeaseTasksResponse) GetTasks() []*Task { - if m != nil { - return m.Tasks - } - return nil -} - -// Request message for acknowledging a task using -// [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask]. -type AcknowledgeTaskRequest 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"` - // Required. The task's current schedule time, available in the - // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by - // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or - // [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is - // to ensure that your worker currently holds the lease. - ScheduleTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f19d568d0a105212, []int{16} -} - -func (m *AcknowledgeTaskRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AcknowledgeTaskRequest.Unmarshal(m, b) -} -func (m *AcknowledgeTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AcknowledgeTaskRequest.Marshal(b, m, deterministic) -} -func (m *AcknowledgeTaskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AcknowledgeTaskRequest.Merge(m, src) -} -func (m *AcknowledgeTaskRequest) XXX_Size() int { - return xxx_messageInfo_AcknowledgeTaskRequest.Size(m) -} -func (m *AcknowledgeTaskRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AcknowledgeTaskRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AcknowledgeTaskRequest proto.InternalMessageInfo - -func (m *AcknowledgeTaskRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *AcknowledgeTaskRequest) GetScheduleTime() *timestamp.Timestamp { - if m != nil { - return m.ScheduleTime - } - return nil -} - -// Request message for renewing a lease using -// [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease]. -type RenewLeaseRequest 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"` - // Required. The task's current schedule time, available in the - // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by - // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or - // [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is - // to ensure that your worker currently holds the lease. - ScheduleTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"` - // Required. The desired new lease duration, starting from now. - // - // - // The maximum lease duration is 1 week. - // `lease_duration` will be truncated to the nearest second. - LeaseDuration *duration.Duration `protobuf:"bytes,3,opt,name=lease_duration,json=leaseDuration,proto3" json:"lease_duration,omitempty"` - // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be - // returned. - // - // By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires - // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) - // permission on the [Task][google.cloud.tasks.v2beta2.Task] resource. - ResponseView Task_View `protobuf:"varint,4,opt,name=response_view,json=responseView,proto3,enum=google.cloud.tasks.v2beta2.Task_View" json:"response_view,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f19d568d0a105212, []int{17} -} - -func (m *RenewLeaseRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RenewLeaseRequest.Unmarshal(m, b) -} -func (m *RenewLeaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RenewLeaseRequest.Marshal(b, m, deterministic) -} -func (m *RenewLeaseRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RenewLeaseRequest.Merge(m, src) -} -func (m *RenewLeaseRequest) XXX_Size() int { - return xxx_messageInfo_RenewLeaseRequest.Size(m) -} -func (m *RenewLeaseRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RenewLeaseRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_RenewLeaseRequest proto.InternalMessageInfo - -func (m *RenewLeaseRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *RenewLeaseRequest) GetScheduleTime() *timestamp.Timestamp { - if m != nil { - return m.ScheduleTime - } - return nil -} - -func (m *RenewLeaseRequest) GetLeaseDuration() *duration.Duration { - if m != nil { - return m.LeaseDuration - } - return nil -} - -func (m *RenewLeaseRequest) GetResponseView() Task_View { - if m != nil { - return m.ResponseView - } - return Task_VIEW_UNSPECIFIED -} - -// Request message for canceling a lease using -// [CancelLease][google.cloud.tasks.v2beta2.CloudTasks.CancelLease]. -type CancelLeaseRequest 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"` - // Required. The task's current schedule time, available in the - // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by - // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or - // [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is - // to ensure that your worker currently holds the lease. - ScheduleTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"` - // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be - // returned. - // - // By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires - // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) - // permission on the [Task][google.cloud.tasks.v2beta2.Task] resource. - ResponseView Task_View `protobuf:"varint,3,opt,name=response_view,json=responseView,proto3,enum=google.cloud.tasks.v2beta2.Task_View" json:"response_view,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f19d568d0a105212, []int{18} -} - -func (m *CancelLeaseRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CancelLeaseRequest.Unmarshal(m, b) -} -func (m *CancelLeaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CancelLeaseRequest.Marshal(b, m, deterministic) -} -func (m *CancelLeaseRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CancelLeaseRequest.Merge(m, src) -} -func (m *CancelLeaseRequest) XXX_Size() int { - return xxx_messageInfo_CancelLeaseRequest.Size(m) -} -func (m *CancelLeaseRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CancelLeaseRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CancelLeaseRequest proto.InternalMessageInfo - -func (m *CancelLeaseRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *CancelLeaseRequest) GetScheduleTime() *timestamp.Timestamp { - if m != nil { - return m.ScheduleTime - } - return nil -} - -func (m *CancelLeaseRequest) GetResponseView() Task_View { - if m != nil { - return m.ResponseView - } - return Task_VIEW_UNSPECIFIED -} - -// Request message for forcing a task to run now using -// [RunTask][google.cloud.tasks.v2beta2.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.v2beta2.Task] will be - // returned. - // - // By default response_view is [BASIC][google.cloud.tasks.v2beta2.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.v2beta2.Task.View.FULL] requires - // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) - // permission on the [Task][google.cloud.tasks.v2beta2.Task] resource. - ResponseView Task_View `protobuf:"varint,2,opt,name=response_view,json=responseView,proto3,enum=google.cloud.tasks.v2beta2.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_f19d568d0a105212, []int{19} -} - -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 (m *RunTaskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RunTaskRequest.Merge(m, 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.v2beta2.ListQueuesRequest") - proto.RegisterType((*ListQueuesResponse)(nil), "google.cloud.tasks.v2beta2.ListQueuesResponse") - proto.RegisterType((*GetQueueRequest)(nil), "google.cloud.tasks.v2beta2.GetQueueRequest") - proto.RegisterType((*CreateQueueRequest)(nil), "google.cloud.tasks.v2beta2.CreateQueueRequest") - proto.RegisterType((*UpdateQueueRequest)(nil), "google.cloud.tasks.v2beta2.UpdateQueueRequest") - proto.RegisterType((*DeleteQueueRequest)(nil), "google.cloud.tasks.v2beta2.DeleteQueueRequest") - proto.RegisterType((*PurgeQueueRequest)(nil), "google.cloud.tasks.v2beta2.PurgeQueueRequest") - proto.RegisterType((*PauseQueueRequest)(nil), "google.cloud.tasks.v2beta2.PauseQueueRequest") - proto.RegisterType((*ResumeQueueRequest)(nil), "google.cloud.tasks.v2beta2.ResumeQueueRequest") - proto.RegisterType((*ListTasksRequest)(nil), "google.cloud.tasks.v2beta2.ListTasksRequest") - proto.RegisterType((*ListTasksResponse)(nil), "google.cloud.tasks.v2beta2.ListTasksResponse") - proto.RegisterType((*GetTaskRequest)(nil), "google.cloud.tasks.v2beta2.GetTaskRequest") - proto.RegisterType((*CreateTaskRequest)(nil), "google.cloud.tasks.v2beta2.CreateTaskRequest") - proto.RegisterType((*DeleteTaskRequest)(nil), "google.cloud.tasks.v2beta2.DeleteTaskRequest") - proto.RegisterType((*LeaseTasksRequest)(nil), "google.cloud.tasks.v2beta2.LeaseTasksRequest") - proto.RegisterType((*LeaseTasksResponse)(nil), "google.cloud.tasks.v2beta2.LeaseTasksResponse") - proto.RegisterType((*AcknowledgeTaskRequest)(nil), "google.cloud.tasks.v2beta2.AcknowledgeTaskRequest") - proto.RegisterType((*RenewLeaseRequest)(nil), "google.cloud.tasks.v2beta2.RenewLeaseRequest") - proto.RegisterType((*CancelLeaseRequest)(nil), "google.cloud.tasks.v2beta2.CancelLeaseRequest") - proto.RegisterType((*RunTaskRequest)(nil), "google.cloud.tasks.v2beta2.RunTaskRequest") -} - -func init() { - proto.RegisterFile("google/cloud/tasks/v2beta2/cloudtasks.proto", fileDescriptor_f19d568d0a105212) -} - -var fileDescriptor_f19d568d0a105212 = []byte{ - // 1610 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x59, 0xcb, 0x6f, 0x1b, 0xd5, - 0x17, 0xd6, 0x75, 0x1e, 0x6d, 0x8e, 0x93, 0xe6, 0x97, 0xab, 0x5f, 0x4b, 0xea, 0x96, 0x36, 0x1d, - 0xa9, 0x25, 0xb8, 0xa9, 0x47, 0x35, 0x6a, 0xa1, 0x4e, 0x5f, 0x93, 0x3e, 0x52, 0x68, 0x03, 0xa9, - 0x13, 0x2a, 0x84, 0x84, 0xcc, 0xc4, 0xb9, 0x71, 0x86, 0xcc, 0xab, 0xf3, 0x88, 0x4b,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, 0x17, 0xac, 0x65, 0xbf, 0x56, 0xfc, 0x35, 0x79, 0xd5, 0x77, 0x18, 0x01, - 0x62, 0xfe, 0x50, 0x7c, 0x9e, 0x18, 0xb6, 0x17, 0x2c, 0x9e, 0x8a, 0x4f, 0x72, 0x22, 0x8c, 0x10, - 0xda, 0xd1, 0xb8, 0x85, 0xa7, 0x19, 0xc4, 0xf5, 0x54, 0xc3, 0xe6, 0x06, 0xd2, 0x13, 0x04, 0x13, - 0xb7, 0x34, 0xd7, 0xbb, 0x4d, 0xd3, 0x76, 0xab, 0xe4, 0xae, 0x4f, 0x5c, 0x0f, 0x5f, 0x82, 0x61, - 0x5b, 0x75, 0x88, 0xe9, 0x4d, 0xa2, 0x29, 0x34, 0x3d, 0x32, 0xf7, 0xd2, 0x33, 0x25, 0xf7, 0xb7, - 0x72, 0x0c, 0x1f, 0x8d, 0xec, 0x2c, 0xf7, 0xac, 0xda, 0x9a, 0x5b, 0xaa, 0x5b, 0x86, 0xcc, 0x1c, - 0x54, 0xc5, 0x32, 0x7c, 0x00, 0x86, 0xd7, 0x34, 0xdd, 0x23, 0xce, 0x64, 0x8e, 0x3a, 0xa8, 0x8a, - 0x5f, 0xf8, 0x10, 0x8c, 0xd8, 0x6a, 0x83, 0xd4, 0x5c, 0xed, 0x3e, 0x99, 0x1c, 0x98, 0x42, 0xd3, - 0x43, 0xd5, 0xbd, 0x74, 0x60, 0x49, 0xbb, 0x4f, 0xf0, 0x8b, 0x00, 0x6c, 0xd2, 0xb3, 0x36, 0x88, - 0x39, 0x39, 0xc8, 0x16, 0x32, 0xf3, 0x65, 0x3a, 0x20, 0x35, 0x01, 0x47, 0x91, 0xba, 0xb6, 0x65, - 0xba, 0x04, 0x9f, 0x83, 0x61, 0xb6, 0x65, 0xee, 0x24, 0x9a, 0x1a, 0x98, 0xce, 0x97, 0x8f, 0x95, - 0xb6, 0x3e, 0x6b, 0x25, 0x01, 0x92, 0x2f, 0xc0, 0x27, 0x60, 0xdc, 0x24,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3, 0x19, 0x57, 0xa6, 0xaa, 0xef, 0xad, 0xf3, 0xbf, 0x6b, 0x9d, 0xb2, 0x75, 0xd5, 0x5b, - 0xb3, 0x1c, 0x63, 0xee, 0x63, 0x38, 0x52, 0xb7, 0x8c, 0x94, 0x24, 0xe6, 0xc6, 0x43, 0xd5, 0xb9, - 0x48, 0xaf, 0xcc, 0x22, 0x7a, 0xf7, 0x92, 0x30, 0x6f, 0x58, 0xba, 0x6a, 0x36, 0x4a, 0x96, 0xd3, - 0x90, 0x1b, 0xc4, 0x64, 0x17, 0x4a, 0x0e, 0x63, 0x3e, 0xef, 0x4f, 0x68, 0xb3, 0xec, 0xd7, 0x57, - 0xb9, 0xa1, 0x65, 0x65, 0xe9, 0xe6, 0xd2, 0xca, 0x30, 0x5b, 0xf3, 0xca, 0x3f, 0x01, 0x00, 0x00, - 0xff, 0xff, 0xee, 0x7e, 0xc0, 0x81, 0x59, 0x1c, 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 - -// 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.v2beta2.CloudTasks.ResumeQueue]. Tasks can still be added - // when the queue is paused. A queue is paused if its - // [state][google.cloud.tasks.v2beta2.Queue.state] is [PAUSED][google.cloud.tasks.v2beta2.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.v2beta2.Queue.State.PAUSED] or - // [DISABLED][google.cloud.tasks.v2beta2.Queue.State.DISABLED]. The state of a queue is stored - // in the queue's [state][google.cloud.tasks.v2beta2.Queue.state]; after calling this method it - // will be set to [RUNNING][google.cloud.tasks.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.Task.View.BASIC] view is retrieved - // due to performance considerations; - // [response_view][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineHttpTarget], the maximum task size is - // 100KB. - // * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. - 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 completed successfully or permanently - // failed. - DeleteTask(ctx context.Context, in *DeleteTaskRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Leases tasks from a pull queue for - // [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. - // - // This method is invoked by the worker to obtain a lease. The - // worker must acknowledge the task via - // [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask] after they have - // performed the work associated with the task. - // - // The [payload][google.cloud.tasks.v2beta2.PullMessage.payload] is intended to store data that - // the worker needs to perform the work associated with the task. To - // return the payloads in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse], set - // [response_view][google.cloud.tasks.v2beta2.LeaseTasksRequest.response_view] to - // [FULL][google.cloud.tasks.v2beta2.Task.View.FULL]. - // - // A maximum of 10 qps of [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] - // requests are allowed per - // queue. [RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED] - // is returned when this limit is - // exceeded. [RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED] - // is also returned when - // [max_tasks_dispatched_per_second][google.cloud.tasks.v2beta2.RateLimits.max_tasks_dispatched_per_second] - // is exceeded. - LeaseTasks(ctx context.Context, in *LeaseTasksRequest, opts ...grpc.CallOption) (*LeaseTasksResponse, error) - // Acknowledges a pull task. - // - // The worker, that is, the entity that - // [leased][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] this task must call this method - // to indicate that the work associated with the task has finished. - // - // The worker must acknowledge a task within the - // [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration] or the lease - // will expire and the task will become available to be leased - // again. After the task is acknowledged, it will not be returned - // by a later [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks], - // [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask], or - // [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks]. - AcknowledgeTask(ctx context.Context, in *AcknowledgeTaskRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Renew the current lease of a pull task. - // - // The worker can use this method to extend the lease by a new - // duration, starting from now. The new task lease will be - // returned in the task's [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]. - RenewLease(ctx context.Context, in *RenewLeaseRequest, opts ...grpc.CallOption) (*Task, error) - // Cancel a pull task's lease. - // - // The worker can use this method to cancel a task's lease by - // setting its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] to now. This will - // make the task available to be leased to the next caller of - // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks]. - CancelLease(ctx context.Context, in *CancelLeaseRequest, opts ...grpc.CallOption) (*Task, 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.v2beta2.RateLimits] or - // is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED]. - // - // This command is meant to be used for manual debugging. For - // example, [RunTask][google.cloud.tasks.v2beta2.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][google.cloud.tasks.v2beta2.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.v2beta2.Task.schedule_time] will be reset to the time that - // [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] was called plus the retry delay specified - // in the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig]. - // - // [RunTask][google.cloud.tasks.v2beta2.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][google.cloud.tasks.v2beta2.CloudTasks.RunTask] cannot be called on a - // [pull task][google.cloud.tasks.v2beta2.PullMessage]. - 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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.CloudTasks/DeleteTask", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudTasksClient) LeaseTasks(ctx context.Context, in *LeaseTasksRequest, opts ...grpc.CallOption) (*LeaseTasksResponse, error) { - out := new(LeaseTasksResponse) - err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta2.CloudTasks/LeaseTasks", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudTasksClient) AcknowledgeTask(ctx context.Context, in *AcknowledgeTaskRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta2.CloudTasks/AcknowledgeTask", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudTasksClient) RenewLease(ctx context.Context, in *RenewLeaseRequest, opts ...grpc.CallOption) (*Task, error) { - out := new(Task) - err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta2.CloudTasks/RenewLease", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudTasksClient) CancelLease(ctx context.Context, in *CancelLeaseRequest, opts ...grpc.CallOption) (*Task, error) { - out := new(Task) - err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta2.CloudTasks/CancelLease", 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.v2beta2.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.v2beta2.CloudTasks.ResumeQueue]. Tasks can still be added - // when the queue is paused. A queue is paused if its - // [state][google.cloud.tasks.v2beta2.Queue.state] is [PAUSED][google.cloud.tasks.v2beta2.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.v2beta2.Queue.State.PAUSED] or - // [DISABLED][google.cloud.tasks.v2beta2.Queue.State.DISABLED]. The state of a queue is stored - // in the queue's [state][google.cloud.tasks.v2beta2.Queue.state]; after calling this method it - // will be set to [RUNNING][google.cloud.tasks.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.Task.View.BASIC] view is retrieved - // due to performance considerations; - // [response_view][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineHttpTarget], the maximum task size is - // 100KB. - // * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. - 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 completed successfully or permanently - // failed. - DeleteTask(context.Context, *DeleteTaskRequest) (*empty.Empty, error) - // Leases tasks from a pull queue for - // [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. - // - // This method is invoked by the worker to obtain a lease. The - // worker must acknowledge the task via - // [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask] after they have - // performed the work associated with the task. - // - // The [payload][google.cloud.tasks.v2beta2.PullMessage.payload] is intended to store data that - // the worker needs to perform the work associated with the task. To - // return the payloads in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse], set - // [response_view][google.cloud.tasks.v2beta2.LeaseTasksRequest.response_view] to - // [FULL][google.cloud.tasks.v2beta2.Task.View.FULL]. - // - // A maximum of 10 qps of [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] - // requests are allowed per - // queue. [RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED] - // is returned when this limit is - // exceeded. [RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED] - // is also returned when - // [max_tasks_dispatched_per_second][google.cloud.tasks.v2beta2.RateLimits.max_tasks_dispatched_per_second] - // is exceeded. - LeaseTasks(context.Context, *LeaseTasksRequest) (*LeaseTasksResponse, error) - // Acknowledges a pull task. - // - // The worker, that is, the entity that - // [leased][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] this task must call this method - // to indicate that the work associated with the task has finished. - // - // The worker must acknowledge a task within the - // [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration] or the lease - // will expire and the task will become available to be leased - // again. After the task is acknowledged, it will not be returned - // by a later [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks], - // [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask], or - // [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks]. - AcknowledgeTask(context.Context, *AcknowledgeTaskRequest) (*empty.Empty, error) - // Renew the current lease of a pull task. - // - // The worker can use this method to extend the lease by a new - // duration, starting from now. The new task lease will be - // returned in the task's [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]. - RenewLease(context.Context, *RenewLeaseRequest) (*Task, error) - // Cancel a pull task's lease. - // - // The worker can use this method to cancel a task's lease by - // setting its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] to now. This will - // make the task available to be leased to the next caller of - // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks]. - CancelLease(context.Context, *CancelLeaseRequest) (*Task, 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.v2beta2.RateLimits] or - // is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED]. - // - // This command is meant to be used for manual debugging. For - // example, [RunTask][google.cloud.tasks.v2beta2.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][google.cloud.tasks.v2beta2.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.v2beta2.Task.schedule_time] will be reset to the time that - // [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] was called plus the retry delay specified - // in the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig]. - // - // [RunTask][google.cloud.tasks.v2beta2.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][google.cloud.tasks.v2beta2.CloudTasks.RunTask] cannot be called on a - // [pull task][google.cloud.tasks.v2beta2.PullMessage]. - RunTask(context.Context, *RunTaskRequest) (*Task, error) -} - -// UnimplementedCloudTasksServer can be embedded to have forward compatible implementations. -type UnimplementedCloudTasksServer struct { -} - -func (*UnimplementedCloudTasksServer) ListQueues(ctx context.Context, req *ListQueuesRequest) (*ListQueuesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListQueues not implemented") -} -func (*UnimplementedCloudTasksServer) GetQueue(ctx context.Context, req *GetQueueRequest) (*Queue, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetQueue not implemented") -} -func (*UnimplementedCloudTasksServer) CreateQueue(ctx context.Context, req *CreateQueueRequest) (*Queue, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateQueue not implemented") -} -func (*UnimplementedCloudTasksServer) UpdateQueue(ctx context.Context, req *UpdateQueueRequest) (*Queue, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateQueue not implemented") -} -func (*UnimplementedCloudTasksServer) DeleteQueue(ctx context.Context, req *DeleteQueueRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteQueue not implemented") -} -func (*UnimplementedCloudTasksServer) PurgeQueue(ctx context.Context, req *PurgeQueueRequest) (*Queue, error) { - return nil, status.Errorf(codes.Unimplemented, "method PurgeQueue not implemented") -} -func (*UnimplementedCloudTasksServer) PauseQueue(ctx context.Context, req *PauseQueueRequest) (*Queue, error) { - return nil, status.Errorf(codes.Unimplemented, "method PauseQueue not implemented") -} -func (*UnimplementedCloudTasksServer) ResumeQueue(ctx context.Context, req *ResumeQueueRequest) (*Queue, error) { - return nil, status.Errorf(codes.Unimplemented, "method ResumeQueue not implemented") -} -func (*UnimplementedCloudTasksServer) GetIamPolicy(ctx context.Context, req *v1.GetIamPolicyRequest) (*v1.Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedCloudTasksServer) SetIamPolicy(ctx context.Context, req *v1.SetIamPolicyRequest) (*v1.Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedCloudTasksServer) TestIamPermissions(ctx context.Context, req *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} -func (*UnimplementedCloudTasksServer) ListTasks(ctx context.Context, req *ListTasksRequest) (*ListTasksResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListTasks not implemented") -} -func (*UnimplementedCloudTasksServer) GetTask(ctx context.Context, req *GetTaskRequest) (*Task, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTask not implemented") -} -func (*UnimplementedCloudTasksServer) CreateTask(ctx context.Context, req *CreateTaskRequest) (*Task, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateTask not implemented") -} -func (*UnimplementedCloudTasksServer) DeleteTask(ctx context.Context, req *DeleteTaskRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteTask not implemented") -} -func (*UnimplementedCloudTasksServer) LeaseTasks(ctx context.Context, req *LeaseTasksRequest) (*LeaseTasksResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method LeaseTasks not implemented") -} -func (*UnimplementedCloudTasksServer) AcknowledgeTask(ctx context.Context, req *AcknowledgeTaskRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method AcknowledgeTask not implemented") -} -func (*UnimplementedCloudTasksServer) RenewLease(ctx context.Context, req *RenewLeaseRequest) (*Task, error) { - return nil, status.Errorf(codes.Unimplemented, "method RenewLease not implemented") -} -func (*UnimplementedCloudTasksServer) CancelLease(ctx context.Context, req *CancelLeaseRequest) (*Task, error) { - return nil, status.Errorf(codes.Unimplemented, "method CancelLease not implemented") -} -func (*UnimplementedCloudTasksServer) RunTask(ctx context.Context, req *RunTaskRequest) (*Task, error) { - return nil, status.Errorf(codes.Unimplemented, "method RunTask not implemented") -} - -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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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.v2beta2.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_LeaseTasks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(LeaseTasksRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudTasksServer).LeaseTasks(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.tasks.v2beta2.CloudTasks/LeaseTasks", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudTasksServer).LeaseTasks(ctx, req.(*LeaseTasksRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudTasks_AcknowledgeTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AcknowledgeTaskRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudTasksServer).AcknowledgeTask(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.tasks.v2beta2.CloudTasks/AcknowledgeTask", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudTasksServer).AcknowledgeTask(ctx, req.(*AcknowledgeTaskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudTasks_RenewLease_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RenewLeaseRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudTasksServer).RenewLease(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.tasks.v2beta2.CloudTasks/RenewLease", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudTasksServer).RenewLease(ctx, req.(*RenewLeaseRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudTasks_CancelLease_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CancelLeaseRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudTasksServer).CancelLease(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.tasks.v2beta2.CloudTasks/CancelLease", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudTasksServer).CancelLease(ctx, req.(*CancelLeaseRequest)) - } - 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.v2beta2.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.v2beta2.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: "LeaseTasks", - Handler: _CloudTasks_LeaseTasks_Handler, - }, - { - MethodName: "AcknowledgeTask", - Handler: _CloudTasks_AcknowledgeTask_Handler, - }, - { - MethodName: "RenewLease", - Handler: _CloudTasks_RenewLease_Handler, - }, - { - MethodName: "CancelLease", - Handler: _CloudTasks_CancelLease_Handler, - }, - { - MethodName: "RunTask", - Handler: _CloudTasks_RunTask_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/tasks/v2beta2/cloudtasks.proto", -} 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 deleted file mode 100644 index 5003f07c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta2/queue.pb.go +++ /dev/null @@ -1,680 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/tasks/v2beta2/queue.proto - -package tasks - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // 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. When a pull queue is paused, - // all [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] calls will return a - // [FAILED_PRECONDITION][google.rpc.Code.FAILED_PRECONDITION]. - 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 and - // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] calls return a - // `FAILED_PRECONDITION` error. - // - // To permanently delete this queue and all of its tasks, call - // [DeleteQueue][google.cloud.tasks.v2beta2.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_b86070a8ff200176, []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, target types, and others. -type Queue struct { - // Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.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.v2beta2.CloudTasks.CreateQueue][], - // after which the queue config type becomes output only, though fields within - // the config are mutable. - // - // The queue's target. - // - // The target applies to all tasks in the queue. - // - // Types that are valid to be assigned to TargetType: - // *Queue_AppEngineHttpTarget - // *Queue_PullTarget - TargetType isQueue_TargetType `protobuf_oneof:"target_type"` - // Rate limits for task dispatches. - // - // [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and - // [retry_config][google.cloud.tasks.v2beta2.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.v2beta2.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.v2beta2.Queue.retry_config] controls what happens to - // particular a task after its first attempt fails. That is, - // [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls task retries (the - // second attempt, third attempt, etc). - RateLimits *RateLimits `protobuf:"bytes,5,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,6,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.v2beta2.CloudTasks.PauseQueue], - // [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue], or uploading - // [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref). - // [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue] cannot be used to change `state`. - State Queue_State `protobuf:"varint,7,opt,name=state,proto3,enum=google.cloud.tasks.v2beta2.Queue_State" json:"state,omitempty"` - // Output only. The last time this queue was purged. - // - // All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time - // were purged. - // - // A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta2.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,8,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_b86070a8ff200176, []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 (m *Queue) XXX_Merge(src proto.Message) { - xxx_messageInfo_Queue.Merge(m, 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_TargetType interface { - isQueue_TargetType() -} - -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 (m *Queue) GetTargetType() isQueue_TargetType { - if m != nil { - return m.TargetType - } - return nil -} - -func (m *Queue) GetAppEngineHttpTarget() *AppEngineHttpTarget { - if x, ok := m.GetTargetType().(*Queue_AppEngineHttpTarget); ok { - return x.AppEngineHttpTarget - } - return nil -} - -func (m *Queue) GetPullTarget() *PullTarget { - if x, ok := m.GetTargetType().(*Queue_PullTarget); ok { - return x.PullTarget - } - 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_OneofWrappers is for the internal use of the proto package. -func (*Queue) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Queue_AppEngineHttpTarget)(nil), - (*Queue_PullTarget)(nil), - } -} - -// 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.v2beta2.CloudTasks.RunTask], will run a task -// even if the queue has reached its [RateLimits][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineHttpTarget], the maximum allowed value - // is 500. - // * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget]. In addition to the - // `max_tasks_dispatched_per_second` limit, a maximum of 10 QPS of - // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] requests are allowed per pull queue. - // - // - // This field has the same meaning as - // [rate in - // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#rate). - MaxTasksDispatchedPerSecond float64 `protobuf:"fixed64,1,opt,name=max_tasks_dispatched_per_second,json=maxTasksDispatchedPerSecond,proto3" json:"max_tasks_dispatched_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_tasks_dispatched_per_second][google.cloud.tasks.v2beta2.RateLimits.max_tasks_dispatched_per_second]. - // - // Cloud Tasks will pick the value of `max_burst_size` based on the - // value of - // [max_tasks_dispatched_per_second][google.cloud.tasks.v2beta2.RateLimits.max_tasks_dispatched_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.v2beta2.CloudTasks.UpdateQueue] is called on a queue - // created by `queue.yaml/xml`, `max_burst_size` will be reset based - // on the value of - // [max_tasks_dispatched_per_second][google.cloud.tasks.v2beta2.RateLimits.max_tasks_dispatched_per_second], - // regardless of whether - // [max_tasks_dispatched_per_second][google.cloud.tasks.v2beta2.RateLimits.max_tasks_dispatched_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 is output only for - // [pull queues][google.cloud.tasks.v2beta2.PullTarget] and always -1, which indicates no limit. No other - // queue types can have `max_concurrent_tasks` set to -1. - // - // - // 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). - MaxConcurrentTasks int32 `protobuf:"varint,3,opt,name=max_concurrent_tasks,json=maxConcurrentTasks,proto3" json:"max_concurrent_tasks,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_b86070a8ff200176, []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 (m *RateLimits) XXX_Merge(src proto.Message) { - xxx_messageInfo_RateLimits.Merge(m, 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) GetMaxTasksDispatchedPerSecond() float64 { - if m != nil { - return m.MaxTasksDispatchedPerSecond - } - return 0 -} - -func (m *RateLimits) GetMaxBurstSize() int32 { - if m != nil { - return m.MaxBurstSize - } - return 0 -} - -func (m *RateLimits) GetMaxConcurrentTasks() int32 { - if m != nil { - return m.MaxConcurrentTasks - } - return 0 -} - -// Retry config. -// -// These settings determine how a failed task attempt is retried. -type RetryConfig struct { - // Number of attempts per task. - // - // If unspecified when the queue is created, Cloud Tasks will pick the - // default. - // - // - // - // 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). - // - // Types that are valid to be assigned to NumAttempts: - // *RetryConfig_MaxAttempts - // *RetryConfig_UnlimitedAttempts - NumAttempts isRetryConfig_NumAttempts `protobuf_oneof:"num_attempts"` - // 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.v2beta2.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. - // - // This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget]. - // - // - // `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,3,opt,name=max_retry_duration,json=maxRetryDuration,proto3" json:"max_retry_duration,omitempty"` - // A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between - // [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and - // [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails, - // if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be - // retried. - // - // If unspecified when the queue is created, Cloud Tasks will pick the - // default. - // - // This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget]. - // - // - // `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,4,opt,name=min_backoff,json=minBackoff,proto3" json:"min_backoff,omitempty"` - // A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between - // [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and - // [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails, - // if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be - // retried. - // - // If unspecified when the queue is created, Cloud Tasks will pick the - // default. - // - // This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget]. - // - // - // `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,5,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.v2beta2.RetryConfig.min_backoff], then doubles - // `max_doublings` times, then increases linearly, and finally - // retries retries at intervals of - // [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] up to - // [max_attempts][google.cloud.tasks.v2beta2.RetryConfig.max_attempts] times. - // - // For example, if [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] is 10s, - // [max_backoff][google.cloud.tasks.v2beta2.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.v2beta2.RetryConfig.max_backoff] until the - // task has been attempted [max_attempts][google.cloud.tasks.v2beta2.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 is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget]. - // - // - // 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,6,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_b86070a8ff200176, []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 (m *RetryConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_RetryConfig.Merge(m, 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 - -type isRetryConfig_NumAttempts interface { - isRetryConfig_NumAttempts() -} - -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_UnlimitedAttempts) isRetryConfig_NumAttempts() {} - -func (m *RetryConfig) GetNumAttempts() isRetryConfig_NumAttempts { - if m != nil { - return m.NumAttempts - } - return nil -} - -func (m *RetryConfig) GetMaxAttempts() int32 { - if x, ok := m.GetNumAttempts().(*RetryConfig_MaxAttempts); ok { - return x.MaxAttempts - } - return 0 -} - -func (m *RetryConfig) GetUnlimitedAttempts() bool { - if x, ok := m.GetNumAttempts().(*RetryConfig_UnlimitedAttempts); ok { - return x.UnlimitedAttempts - } - return false -} - -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 -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*RetryConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*RetryConfig_MaxAttempts)(nil), - (*RetryConfig_UnlimitedAttempts)(nil), - } -} - -func init() { - proto.RegisterEnum("google.cloud.tasks.v2beta2.Queue_State", Queue_State_name, Queue_State_value) - proto.RegisterType((*Queue)(nil), "google.cloud.tasks.v2beta2.Queue") - proto.RegisterType((*RateLimits)(nil), "google.cloud.tasks.v2beta2.RateLimits") - proto.RegisterType((*RetryConfig)(nil), "google.cloud.tasks.v2beta2.RetryConfig") -} - -func init() { - proto.RegisterFile("google/cloud/tasks/v2beta2/queue.proto", fileDescriptor_b86070a8ff200176) -} - -var fileDescriptor_b86070a8ff200176 = []byte{ - // 768 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x94, 0xeb, 0x8e, 0xdb, 0x44, - 0x14, 0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x6f, 0xed, 0x6e, 0x7d, 0x6c, - 0xd9, 0xaf, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x1d, 0x9f, 0x09, 0xc2, 0xfd, 0x05, 0x00, 0x00, -} 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 deleted file mode 100644 index 1c0c52d6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta2/target.pb.go +++ /dev/null @@ -1,670 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/tasks/v2beta2/target.proto - -package tasks - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_ad20693261d55153, []int{0} -} - -// Pull target. -type PullTarget struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ad20693261d55153, []int{0} -} - -func (m *PullTarget) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PullTarget.Unmarshal(m, b) -} -func (m *PullTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PullTarget.Marshal(b, m, deterministic) -} -func (m *PullTarget) XXX_Merge(src proto.Message) { - xxx_messageInfo_PullTarget.Merge(m, src) -} -func (m *PullTarget) XXX_Size() int { - return xxx_messageInfo_PullTarget.Size(m) -} -func (m *PullTarget) XXX_DiscardUnknown() { - xxx_messageInfo_PullTarget.DiscardUnknown(m) -} - -var xxx_messageInfo_PullTarget proto.InternalMessageInfo - -// The pull message contains data that can be used by the caller of -// [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. -// -// This proto can only be used for tasks in a queue which has -// [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] set. -type PullMessage struct { - // A data payload consumed by the worker to execute the task. - Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` - // The task's tag. - // - // Tags allow similar tasks to be processed in a batch. If you label - // tasks with a tag, your worker can - // [lease tasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] with the same tag using - // [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter]. For example, if you want to - // aggregate the events associated with a specific user once a day, - // you could tag tasks with the user ID. - // - // The task's tag can only be set when the - // [task is created][google.cloud.tasks.v2beta2.CloudTasks.CreateTask]. - // - // The tag must be less than 500 characters. - // - // SDK compatibility: Although the SDK allows tags to be either - // string or - // [bytes](https://cloud.google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-), - // only UTF-8 encoded tags can be used in Cloud Tasks. If a tag isn't UTF-8 - // encoded, the tag will be empty when the task is returned by Cloud Tasks. - Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ad20693261d55153, []int{1} -} - -func (m *PullMessage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PullMessage.Unmarshal(m, b) -} -func (m *PullMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PullMessage.Marshal(b, m, deterministic) -} -func (m *PullMessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_PullMessage.Merge(m, src) -} -func (m *PullMessage) XXX_Size() int { - return xxx_messageInfo_PullMessage.Size(m) -} -func (m *PullMessage) XXX_DiscardUnknown() { - xxx_messageInfo_PullMessage.DiscardUnknown(m) -} - -var xxx_messageInfo_PullMessage proto.InternalMessageInfo - -func (m *PullMessage) GetPayload() []byte { - if m != nil { - return m.Payload - } - return nil -} - -func (m *PullMessage) GetTag() string { - if m != nil { - return m.Tag - } - return "" -} - -// App Engine HTTP target. -// -// The task will be delivered to the App Engine application hostname -// specified by its [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget] and [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest]. -// The documentation for [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] explains how the -// task's host URL is constructed. -// -// Using [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget] 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 AppEngineHttpTarget struct { - // Overrides for the - // [task-level app_engine_routing][google.cloud.tasks.v2beta2.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.v2beta2.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 *AppEngineHttpTarget) Reset() { *m = AppEngineHttpTarget{} } -func (m *AppEngineHttpTarget) String() string { return proto.CompactTextString(m) } -func (*AppEngineHttpTarget) ProtoMessage() {} -func (*AppEngineHttpTarget) Descriptor() ([]byte, []int) { - return fileDescriptor_ad20693261d55153, []int{2} -} - -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 (m *AppEngineHttpTarget) XXX_Merge(src proto.Message) { - xxx_messageInfo_AppEngineHttpTarget.Merge(m, 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) 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_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target] set. -// -// Using [AppEngineHttpRequest][google.cloud.tasks.v2beta2.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). -// Traffic is encrypted during transport and never leaves Google datacenters. -// Because this traffic is carried over a communication mechanism internal to -// Google, you cannot explicitly set the protocol (for example, HTTP or HTTPS). -// The request to the handler, however, will appear to have used the HTTP -// protocol. -// -// The [AppEngineRouting][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineHttpTarget.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.v2beta2.AppEngineHttpRequest.app_engine_routing]. -// -// -// The `url` that the task will be sent to is: -// -// * `url =` [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] `+` -// [relative_url][google.cloud.tasks.v2beta2.AppEngineHttpRequest.relative_url] -// -// Tasks can be dispatched to secure app handlers, unsecure app handlers, and -// URIs restricted with -// [`login: -// admin`](https://cloud.google.com/appengine/docs/standard/python/config/appref). -// Because tasks are not run as any user, they cannot be dispatched to URIs -// restricted with -// [`login: -// required`](https://cloud.google.com/appengine/docs/standard/python/config/appref) -// Task dispatches also do not follow redirects. -// -// The task attempt has succeeded if the app's request handler returns an HTTP -// response code in the range [`200` - `299`]. The task attempt has failed if -// the app's handler returns a non-2xx response code or Cloud Tasks does -// not receive response before the [deadline][Task.dispatch_deadline]. Failed -// tasks will be retried according to the -// [retry configuration][google.cloud.tasks.v2beta2.Queue.retry_config]. `503` (Service Unavailable) is -// considered an App Engine system error instead of an application error and -// will cause Cloud Tasks' traffic congestion control to temporarily throttle -// the queue's dispatches. Unlike other types of task targets, a `429` (Too Many -// Requests) response from an app handler does not cause traffic congestion -// control to throttle the queue. -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.v2beta2.HttpMethod" json:"http_method,omitempty"` - // Task-level setting for App Engine routing. - // - // If set, - // [app_engine_routing_override][google.cloud.tasks.v2beta2.AppEngineHttpTarget.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.v2beta2.AppEngineHttpRequest.app_engine_routing]. - AppEngineRouting *AppEngineRouting `protobuf:"bytes,2,opt,name=app_engine_routing,json=appEngineRouting,proto3" json:"app_engine_routing,omitempty"` - // The relative URL. - // - // The relative URL must begin with "/" and must be a valid HTTP relative URL. - // It can contain a path and query string arguments. - // 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. - RelativeUrl string `protobuf:"bytes,3,opt,name=relative_url,json=relativeUrl,proto3" json:"relative_url,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.v2beta2.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 [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], 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.v2beta2.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.v2beta2.Task]. For more - // information, see the [CreateTask][google.cloud.tasks.v2beta2.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"` - // Payload. - // - // The payload will be sent as the HTTP message body. A message - // body, and thus a payload, is allowed only if the HTTP method is - // POST or PUT. It is an error to set a data payload on a task with - // an incompatible [HttpMethod][google.cloud.tasks.v2beta2.HttpMethod]. - 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 *AppEngineHttpRequest) Reset() { *m = AppEngineHttpRequest{} } -func (m *AppEngineHttpRequest) String() string { return proto.CompactTextString(m) } -func (*AppEngineHttpRequest) ProtoMessage() {} -func (*AppEngineHttpRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ad20693261d55153, []int{3} -} - -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 (m *AppEngineHttpRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AppEngineHttpRequest.Merge(m, 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) GetRelativeUrl() string { - if m != nil { - return m.RelativeUrl - } - return "" -} - -func (m *AppEngineHttpRequest) GetHeaders() map[string]string { - if m != nil { - return m.Headers - } - return nil -} - -func (m *AppEngineHttpRequest) GetPayload() []byte { - if m != nil { - return m.Payload - } - return nil -} - -// App Engine Routing. -// -// Defines routing characteristics specific to App Engine - service, version, -// and instance. -// -// 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.v2beta2.AppEngineRouting.host] is not parsable - // into [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], - // [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - // [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, then - // [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], - // [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - // [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable - // into [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], - // [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - // [instance][google.cloud.tasks.v2beta2.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.v2beta2.AppEngineRouting.host] is not parsable, then - // [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], - // [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - // [instance][google.cloud.tasks.v2beta2.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. - // - // For more information, see - // [How Requests are - // Routed](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 - // queue's project ID. Some tasks which were created using the App Engine - // SDK use a custom domain name. - // - // * `service =` [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] - // - // * `version =` [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] - // - // * `version_dot_service =` - // [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' +` - // [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] - // - // * `instance =` [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] - // - // * `instance_dot_service =` - // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +` - // [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] - // - // * `instance_dot_version =` - // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +` - // [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] - // - // * `instance_dot_version_dot_service =` - // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +` - // [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' +` - // [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] - // - // If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] is empty, then the task will be sent - // to the service which is the default service when the task is attempted. - // - // If [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] is empty, then the task will be sent - // to the version which is the default version when the task is attempted. - // - // If [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is empty, then the task - // will be sent to an instance which is available when the task is - // attempted. - // - // If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], - // [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], or - // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is invalid, then the task - // will be sent to the default version of the default service when - // the task 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_ad20693261d55153, []int{4} -} - -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 (m *AppEngineRouting) XXX_Merge(src proto.Message) { - xxx_messageInfo_AppEngineRouting.Merge(m, 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.RegisterEnum("google.cloud.tasks.v2beta2.HttpMethod", HttpMethod_name, HttpMethod_value) - proto.RegisterType((*PullTarget)(nil), "google.cloud.tasks.v2beta2.PullTarget") - proto.RegisterType((*PullMessage)(nil), "google.cloud.tasks.v2beta2.PullMessage") - proto.RegisterType((*AppEngineHttpTarget)(nil), "google.cloud.tasks.v2beta2.AppEngineHttpTarget") - proto.RegisterType((*AppEngineHttpRequest)(nil), "google.cloud.tasks.v2beta2.AppEngineHttpRequest") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.tasks.v2beta2.AppEngineHttpRequest.HeadersEntry") - proto.RegisterType((*AppEngineRouting)(nil), "google.cloud.tasks.v2beta2.AppEngineRouting") -} - -func init() { - proto.RegisterFile("google/cloud/tasks/v2beta2/target.proto", fileDescriptor_ad20693261d55153) -} - -var fileDescriptor_ad20693261d55153 = []byte{ - // 541 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0xdf, 0x8b, 0xd3, 0x4c, - 0x14, 0xfd, 0xb2, 0xe9, 0xfe, 0xba, 0x29, 0x1f, 0x61, 0x5c, 0x30, 0x74, 0x45, 0xd6, 0x3e, 0x68, - 0x11, 0x49, 0xa0, 0xbe, 0xe8, 0x8a, 0xc8, 0xae, 0x8d, 0xdb, 0x05, 0x6b, 0x43, 0x36, 0x45, 0x58, - 0x1f, 0xc2, 0x6c, 0x7b, 0x49, 0x43, 0xb3, 0x33, 0x71, 0x66, 0x12, 0xe8, 0xab, 0xef, 0xfe, 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, 0xf1, 0xc8, 0x8f, 0x86, 0xe3, 0x41, 0x3c, 0xf9, - 0x74, 0x15, 0xf8, 0xef, 0x2f, 0x3f, 0x5c, 0xfa, 0x03, 0xfb, 0x3f, 0x72, 0x00, 0xad, 0x60, 0x7c, - 0x15, 0xd9, 0x06, 0xd9, 0x07, 0xf3, 0xc2, 0x8f, 0xec, 0x9d, 0xaa, 0x35, 0xf4, 0xcf, 0x06, 0xb6, - 0x59, 0xb5, 0x82, 0x49, 0x64, 0xb7, 0x08, 0xc0, 0xde, 0xc0, 0xff, 0xe8, 0x47, 0xbe, 0xbd, 0x7b, - 0x9e, 0xc3, 0xe3, 0x29, 0xbf, 0xbd, 0x27, 0xf7, 0x73, 0xab, 0xbe, 0xfb, 0x41, 0xf5, 0xc2, 0x02, - 0xe3, 0xfa, 0x5d, 0x43, 0x4d, 0x78, 0x46, 0x59, 0xe2, 0x72, 0x91, 0x78, 0x09, 0x32, 0xfd, 0xfe, - 0xbc, 0xfa, 0x13, 0xcd, 0x53, 0xf9, 0xbb, 0x57, 0xfe, 0x46, 0xa3, 0x9b, 0x3d, 0xcd, 0x7d, 0xf9, - 0x23, 0x00, 0x00, 0xff, 0xff, 0x7c, 0x8f, 0x47, 0xe7, 0x10, 0x04, 0x00, 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 deleted file mode 100644 index 7e986c70..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta2/task.pb.go +++ /dev/null @@ -1,451 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/tasks/v2beta2/task.proto - -package tasks - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The view specifies a subset of [Task][google.cloud.tasks.v2beta2.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 - // ([payload in AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] and - // [payload in PullMessage][google.cloud.tasks.v2beta2.PullMessage.payload]). These payloads 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.v2beta2.Task.View.FULL] requires - // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) - // permission on the [Queue][google.cloud.tasks.v2beta2.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_3fffa1a9946502fd, []int{0, 0} -} - -// A unit of scheduled work. -type Task struct { - // Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.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 - // *Task_PullMessage - 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. - // - // For pull queues, this is the time when the task is available to - // be leased; if a task is currently leased, this is the time when - // the current lease expires, that is, the time that the task was - // leased plus the [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. - // - // `schedule_time` will be truncated to the nearest microsecond. - ScheduleTime *timestamp.Timestamp `protobuf:"bytes,5,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,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Output only. The task status. - Status *TaskStatus `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"` - // Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has - // been returned. - View Task_View `protobuf:"varint,8,opt,name=view,proto3,enum=google.cloud.tasks.v2beta2.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_3fffa1a9946502fd, []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 (m *Task) XXX_Merge(src proto.Message) { - xxx_messageInfo_Task.Merge(m, 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"` -} - -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 (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) GetPullMessage() *PullMessage { - if x, ok := m.GetPayloadType().(*Task_PullMessage); ok { - return x.PullMessage - } - 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) GetStatus() *TaskStatus { - if m != nil { - return m.Status - } - return nil -} - -func (m *Task) GetView() Task_View { - if m != nil { - return m.View - } - return Task_VIEW_UNSPECIFIED -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Task) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Task_AppEngineHttpRequest)(nil), - (*Task_PullMessage)(nil), - } -} - -// Status of the task. -type TaskStatus struct { - // Output only. The number of attempts dispatched. - // - // This count includes attempts which have been dispatched but haven't - // received a response. - AttemptDispatchCount int32 `protobuf:"varint,1,opt,name=attempt_dispatch_count,json=attemptDispatchCount,proto3" json:"attempt_dispatch_count,omitempty"` - // Output only. The number of attempts which have received a response. - // - // This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage]. - AttemptResponseCount int32 `protobuf:"varint,2,opt,name=attempt_response_count,json=attemptResponseCount,proto3" json:"attempt_response_count,omitempty"` - // Output only. The status of the task's first attempt. - // - // Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set. - // The other [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is not retained by Cloud Tasks. - // - // This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage]. - FirstAttemptStatus *AttemptStatus `protobuf:"bytes,3,opt,name=first_attempt_status,json=firstAttemptStatus,proto3" json:"first_attempt_status,omitempty"` - // Output only. The status of the task's last attempt. - // - // This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage]. - LastAttemptStatus *AttemptStatus `protobuf:"bytes,4,opt,name=last_attempt_status,json=lastAttemptStatus,proto3" json:"last_attempt_status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3fffa1a9946502fd, []int{1} -} - -func (m *TaskStatus) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskStatus.Unmarshal(m, b) -} -func (m *TaskStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskStatus.Marshal(b, m, deterministic) -} -func (m *TaskStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskStatus.Merge(m, src) -} -func (m *TaskStatus) XXX_Size() int { - return xxx_messageInfo_TaskStatus.Size(m) -} -func (m *TaskStatus) XXX_DiscardUnknown() { - xxx_messageInfo_TaskStatus.DiscardUnknown(m) -} - -var xxx_messageInfo_TaskStatus proto.InternalMessageInfo - -func (m *TaskStatus) GetAttemptDispatchCount() int32 { - if m != nil { - return m.AttemptDispatchCount - } - return 0 -} - -func (m *TaskStatus) GetAttemptResponseCount() int32 { - if m != nil { - return m.AttemptResponseCount - } - return 0 -} - -func (m *TaskStatus) GetFirstAttemptStatus() *AttemptStatus { - if m != nil { - return m.FirstAttemptStatus - } - return nil -} - -func (m *TaskStatus) GetLastAttemptStatus() *AttemptStatus { - if m != nil { - return m.LastAttemptStatus - } - return nil -} - -// The status of a task attempt. -type AttemptStatus 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 the task has not been attempted or the task is currently running - // then the response status is unset. - 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 *AttemptStatus) Reset() { *m = AttemptStatus{} } -func (m *AttemptStatus) String() string { return proto.CompactTextString(m) } -func (*AttemptStatus) ProtoMessage() {} -func (*AttemptStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_3fffa1a9946502fd, []int{2} -} - -func (m *AttemptStatus) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AttemptStatus.Unmarshal(m, b) -} -func (m *AttemptStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AttemptStatus.Marshal(b, m, deterministic) -} -func (m *AttemptStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttemptStatus.Merge(m, src) -} -func (m *AttemptStatus) XXX_Size() int { - return xxx_messageInfo_AttemptStatus.Size(m) -} -func (m *AttemptStatus) XXX_DiscardUnknown() { - xxx_messageInfo_AttemptStatus.DiscardUnknown(m) -} - -var xxx_messageInfo_AttemptStatus proto.InternalMessageInfo - -func (m *AttemptStatus) GetScheduleTime() *timestamp.Timestamp { - if m != nil { - return m.ScheduleTime - } - return nil -} - -func (m *AttemptStatus) GetDispatchTime() *timestamp.Timestamp { - if m != nil { - return m.DispatchTime - } - return nil -} - -func (m *AttemptStatus) GetResponseTime() *timestamp.Timestamp { - if m != nil { - return m.ResponseTime - } - return nil -} - -func (m *AttemptStatus) GetResponseStatus() *status.Status { - if m != nil { - return m.ResponseStatus - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.tasks.v2beta2.Task_View", Task_View_name, Task_View_value) - proto.RegisterType((*Task)(nil), "google.cloud.tasks.v2beta2.Task") - proto.RegisterType((*TaskStatus)(nil), "google.cloud.tasks.v2beta2.TaskStatus") - proto.RegisterType((*AttemptStatus)(nil), "google.cloud.tasks.v2beta2.AttemptStatus") -} - -func init() { - proto.RegisterFile("google/cloud/tasks/v2beta2/task.proto", fileDescriptor_3fffa1a9946502fd) -} - -var fileDescriptor_3fffa1a9946502fd = []byte{ - // 672 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xdf, 0x4e, 0xdb, 0x3c, - 0x18, 0xc6, 0x49, 0x09, 0x7c, 0x60, 0xfe, 0x7c, 0xfd, 0xfc, 0x55, 0xa3, 0xab, 0x26, 0x86, 0x2a, - 0x31, 0xd8, 0x49, 0xbc, 0x75, 0x3b, 0xd9, 0x90, 0x86, 0x68, 0x29, 0xa2, 0x12, 0x9b, 0xaa, 0xf0, - 0x67, 0xda, 0x76, 0x10, 0x99, 0xf4, 0x25, 0xcd, 0x48, 0x62, 0x13, 0x3b, 0x20, 0x54, 0xf5, 0x1a, - 0x76, 0x2b, 0xbb, 0xae, 0xdd, 0xc1, 0xce, 0xa6, 0xd8, 0x0e, 0x50, 0xc1, 0x5a, 0x71, 0x94, 0xbc, - 0x7e, 0x9f, 0xe7, 0xe7, 0xf8, 0xf5, 0xd3, 0xa2, 0xf5, 0x80, 0xb1, 0x20, 0x02, 0xe2, 0x47, 0x2c, - 0xeb, 0x11, 0x49, 0xc5, 0xb9, 0x20, 0x97, 0x8d, 0x53, 0x90, 0xb4, 0xa1, 0x2a, 0x87, 0xa7, 0x4c, - 0x32, 0x5c, 0xd3, 0x32, 0x47, 0xc9, 0x1c, 0x25, 0x73, 0x8c, 0xac, 0xf6, 0xd4, 0x20, 0x28, 0x0f, - 0x49, 0x0a, 0x82, 0x65, 0xa9, 0x0f, 0xda, 0x56, 0xdb, 0x18, 0x4b, 0x4f, 0x03, 0x90, 0x46, 0xf8, - 0xdc, 0x08, 0x55, 0x75, 0x9a, 0x9d, 0x11, 0x19, 0xc6, 0x20, 0x24, 0x8d, 0xb9, 0x11, 0xac, 0x18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54, 0x48, 0xaf, - 0xf0, 0x9a, 0x0b, 0xd3, 0xb1, 0x7e, 0x39, 0x36, 0xd6, 0xda, 0x61, 0xee, 0x0c, 0x2b, 0xcc, 0xc8, - 0x1a, 0xfe, 0x82, 0xfe, 0x8f, 0xe8, 0x7d, 0xb6, 0xfd, 0x58, 0xf6, 0x7f, 0x39, 0x65, 0x64, 0xa9, - 0xfe, 0xa3, 0x84, 0x96, 0x46, 0x37, 0xbb, 0x17, 0x75, 0xeb, 0x91, 0x51, 0xdf, 0x46, 0x4b, 0x37, - 0xe3, 0x56, 0x80, 0xd2, 0x64, 0x40, 0x61, 0x28, 0x00, 0x37, 0x93, 0x57, 0x80, 0xe9, 0xc9, 0x80, - 0xc2, 0x60, 0x7e, 0x6c, 0xff, 0xde, 0x00, 0x46, 0x66, 0x85, 0x0b, 0x44, 0xca, 0x7d, 0xc7, 0x0c, - 0x65, 0xb9, 0x90, 0xea, 0xba, 0x99, 0xa0, 0x55, 0x9f, 0xc5, 0x63, 0x86, 0xda, 0x9c, 0xcf, 0x33, - 0xd6, 0xcd, 0x3f, 0xa2, 0x6b, 0x7d, 0xdd, 0x36, 0xc2, 0x80, 0x45, 0x34, 0x09, 0x1c, 0x96, 0x06, - 0x24, 0x80, 0x44, 0x7d, 0x22, 0xb9, 0x0d, 0xfe, 0x43, 0xff, 0xc7, 0x5b, 0xaa, 0x3a, 0x9d, 0x55, - 0xda, 0x37, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xfb, 0x93, 0x3e, 0x7d, 0x18, 0x06, 0x00, 0x00, -} 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 deleted file mode 100644 index 338487e4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta3/cloudtasks.pb.go +++ /dev/null @@ -1,1939 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/tasks/v2beta3/cloudtasks.proto - -package tasks - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - v1 "google.golang.org/genproto/googleapis/iam/v1" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // 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_774b6c8e7fbe6f6d, []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 (m *ListQueuesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListQueuesRequest.Merge(m, 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_774b6c8e7fbe6f6d, []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 (m *ListQueuesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListQueuesResponse.Merge(m, 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_774b6c8e7fbe6f6d, []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 (m *GetQueueRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetQueueRequest.Merge(m, 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_774b6c8e7fbe6f6d, []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 (m *CreateQueueRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateQueueRequest.Merge(m, 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_774b6c8e7fbe6f6d, []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 (m *UpdateQueueRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateQueueRequest.Merge(m, 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_774b6c8e7fbe6f6d, []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 (m *DeleteQueueRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteQueueRequest.Merge(m, 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_774b6c8e7fbe6f6d, []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 (m *PurgeQueueRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PurgeQueueRequest.Merge(m, 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_774b6c8e7fbe6f6d, []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 (m *PauseQueueRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PauseQueueRequest.Merge(m, 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_774b6c8e7fbe6f6d, []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 (m *ResumeQueueRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResumeQueueRequest.Merge(m, 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"` - // Maximum page size. - // - // 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. - // - // The maximum page size is 1000. If unspecified, the page size will be the - // maximum. - 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_774b6c8e7fbe6f6d, []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 (m *ListTasksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTasksRequest.Merge(m, 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_774b6c8e7fbe6f6d, []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 (m *ListTasksResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTasksResponse.Merge(m, 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_774b6c8e7fbe6f6d, []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 (m *GetTaskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTaskRequest.Merge(m, 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_774b6c8e7fbe6f6d, []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 (m *CreateTaskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateTaskRequest.Merge(m, 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_774b6c8e7fbe6f6d, []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 (m *DeleteTaskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteTaskRequest.Merge(m, 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_774b6c8e7fbe6f6d, []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 (m *RunTaskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RunTaskRequest.Merge(m, 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") -} - -func init() { - proto.RegisterFile("google/cloud/tasks/v2beta3/cloudtasks.proto", fileDescriptor_774b6c8e7fbe6f6d) -} - -var fileDescriptor_774b6c8e7fbe6f6d = []byte{ - // 1303 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x98, 0x4f, 0x6f, 0xdc, 0xc4, - 0x1b, 0xc7, 0x35, 0x49, 0x93, 0x26, 0xcf, 0xa6, 0xcd, 0x2f, 0xa3, 0x1f, 0x21, 0xdd, 0x42, 0xba, - 0xb5, 0xd4, 0x10, 0xb6, 0x89, 0xad, 0xa4, 0x6a, 0x21, 0x9b, 0x92, 0xc6, 0x29, 0x4d, 0x0a, 0x25, - 0xb0, 0xd9, 0x84, 0x0a, 0x21, 0xa1, 0xc8, 0xd9, 0x4c, 0x36, 0x26, 0xbb, 0xb6, 0x6b, 0x8f, 0xb3, - 0x50, 0xe8, 0x85, 0x37, 0xc0, 0xa1, 0x42, 0x42, 0x70, 0x40, 0x20, 0x01, 0x15, 0x12, 0x42, 0xe2, - 0xc8, 0x4b, 0xe0, 0x48, 0x6f, 0x7b, 0xea, 0x81, 0x57, 0xc1, 0x09, 0xcd, 0x1f, 0xaf, 0xbd, 0x36, - 0xf1, 0x3a, 0x9b, 0x08, 0x71, 0x4a, 0x3c, 0xcf, 0x33, 0xcf, 0xf3, 0x99, 0x67, 0xc6, 0xf3, 0x7c, - 0xd7, 0x70, 0xb5, 0x66, 0xdb, 0xb5, 0x3a, 0xd1, 0xaa, 0x75, 0xdb, 0xdf, 0xd5, 0xa8, 0xe1, 0x1d, - 0x78, 0xda, 0xe1, 0xfc, 0x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93, 0x4d, 0x3f, 0x3f, 0x9e, 0x90, - 0x0c, 0x77, 0x98, 0xcc, 0x8d, 0x1d, 0x83, 0xe2, 0xb1, 0x8f, 0xc1, 0x8f, 0x08, 0x20, 0x14, 0x04, - 0xe9, 0xef, 0x54, 0x42, 0x38, 0x64, 0x29, 0xe9, 0x5a, 0x14, 0xb0, 0xa4, 0x5c, 0x3f, 0x26, 0x60, - 0xc9, 0x61, 0x49, 0x4b, 0xa8, 0x28, 0x48, 0xdb, 0x42, 0xa3, 0x0b, 0x69, 0x5c, 0x90, 0xfc, 0x2b, - 0xa4, 0x2c, 0x29, 0x23, 0xfd, 0x09, 0x41, 0x2e, 0x22, 0x60, 0xd2, 0xf7, 0x3a, 0xa9, 0x74, 0xb2, - 0xb0, 0xde, 0x8d, 0xb2, 0x2e, 0x2a, 0x37, 0x8e, 0xcb, 0xea, 0xf2, 0xac, 0x0c, 0xf6, 0x5b, 0x04, - 0x23, 0x6b, 0x84, 0xbe, 0x61, 0x34, 0xca, 0xfc, 0x57, 0x15, 0x56, 0x82, 0xec, 0xa6, 0xd1, 0x50, - 0x0f, 0xe7, 0xd4, 0xa8, 0x31, 0x20, 0x7c, 0x2e, 0xe6, 0x23, 0xac, 0xca, 0xfd, 0x96, 0x3e, 0x14, - 0xfc, 0x50, 0xe4, 0x64, 0x77, 0x94, 0xe5, 0x90, 0x2c, 0xb0, 0x74, 0xa7, 0xab, 0x45, 0x52, 0x32, - 0xc6, 0x27, 0x08, 0x46, 0x36, 0xd3, 0x18, 0x37, 0xb3, 0x33, 0x7e, 0xd0, 0xd2, 0x47, 0x03, 0x92, - 0x19, 0xf1, 0x43, 0xf2, 0x24, 0xa8, 0x5e, 0x0c, 0xf5, 0x29, 0x02, 0xbc, 0x45, 0x3c, 0x3e, 0x48, - 0xdc, 0x86, 0xe9, 0x79, 0x6c, 0x0a, 0x9e, 0x8e, 0xc1, 0x24, 0x5d, 0x02, 0xec, 0x97, 0x33, 0x78, - 0xca, 0x0e, 0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xd3, 0x66, 0x9d, 0xba, 0x41, 0xf7, 0x6c, 0xb7, - 0xb1, 0xf2, 0x29, 0x4c, 0x56, 0xed, 0x46, 0xca, 0x22, 0x56, 0x46, 0x43, 0x19, 0x5d, 0x66, 0xb5, - 0x2f, 0xa3, 0xf7, 0x6f, 0x49, 0xf7, 0x9a, 0x5d, 0x37, 0xac, 0x9a, 0x6a, 0xbb, 0x35, 0xad, 0x46, - 0x2c, 0xbe, 0x33, 0x5a, 0x98, 0xf3, 0x9f, 0xbe, 0xdc, 0x2d, 0xf2, 0xa7, 0xef, 0xfa, 0x06, 0xb6, - 0xf4, 0xcd, 0x7b, 0x9b, 0x3b, 0x83, 0x7c, 0xce, 0xb5, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x81, - 0x92, 0x43, 0xb2, 0xd0, 0x14, 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 - -// 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. - // - // * 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. - // - // * 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) -} - -// UnimplementedCloudTasksServer can be embedded to have forward compatible implementations. -type UnimplementedCloudTasksServer struct { -} - -func (*UnimplementedCloudTasksServer) ListQueues(ctx context.Context, req *ListQueuesRequest) (*ListQueuesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListQueues not implemented") -} -func (*UnimplementedCloudTasksServer) GetQueue(ctx context.Context, req *GetQueueRequest) (*Queue, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetQueue not implemented") -} -func (*UnimplementedCloudTasksServer) CreateQueue(ctx context.Context, req *CreateQueueRequest) (*Queue, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateQueue not implemented") -} -func (*UnimplementedCloudTasksServer) UpdateQueue(ctx context.Context, req *UpdateQueueRequest) (*Queue, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateQueue not implemented") -} -func (*UnimplementedCloudTasksServer) DeleteQueue(ctx context.Context, req *DeleteQueueRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteQueue not implemented") -} -func (*UnimplementedCloudTasksServer) PurgeQueue(ctx context.Context, req *PurgeQueueRequest) (*Queue, error) { - return nil, status.Errorf(codes.Unimplemented, "method PurgeQueue not implemented") -} -func (*UnimplementedCloudTasksServer) PauseQueue(ctx context.Context, req *PauseQueueRequest) (*Queue, error) { - return nil, status.Errorf(codes.Unimplemented, "method PauseQueue not implemented") -} -func (*UnimplementedCloudTasksServer) ResumeQueue(ctx context.Context, req *ResumeQueueRequest) (*Queue, error) { - return nil, status.Errorf(codes.Unimplemented, "method ResumeQueue not implemented") -} -func (*UnimplementedCloudTasksServer) GetIamPolicy(ctx context.Context, req *v1.GetIamPolicyRequest) (*v1.Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedCloudTasksServer) SetIamPolicy(ctx context.Context, req *v1.SetIamPolicyRequest) (*v1.Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedCloudTasksServer) TestIamPermissions(ctx context.Context, req *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} -func (*UnimplementedCloudTasksServer) ListTasks(ctx context.Context, req *ListTasksRequest) (*ListTasksResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListTasks not implemented") -} -func (*UnimplementedCloudTasksServer) GetTask(ctx context.Context, req *GetTaskRequest) (*Task, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTask not implemented") -} -func (*UnimplementedCloudTasksServer) CreateTask(ctx context.Context, req *CreateTaskRequest) (*Task, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateTask not implemented") -} -func (*UnimplementedCloudTasksServer) DeleteTask(ctx context.Context, req *DeleteTaskRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteTask not implemented") -} -func (*UnimplementedCloudTasksServer) RunTask(ctx context.Context, req *RunTaskRequest) (*Task, error) { - return nil, status.Errorf(codes.Unimplemented, "method RunTask not implemented") -} - -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", -} 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 deleted file mode 100644 index 873c678c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta3/queue.pb.go +++ /dev/null @@ -1,667 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/tasks/v2beta3/queue.proto - -package tasks - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // 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_36e1ae9449bd88db, []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"` - // 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 task - // attempts 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). - // - // The queue's actual dispatch rate is the result of: - // - // * Number of tasks in the queue - // * User-specified throttling: [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits], - // [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config], and the - // [queue's state][google.cloud.tasks.v2beta3.Queue.state]. - // * System throttling due to `429` (Too Many Requests) or `503` (Service - // Unavailable) responses from the worker, high error rates, or to smooth - // sudden large traffic spikes. - 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"` - // Configuration options for writing logs to - // [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this - // field is unset, then no logs are written. - StackdriverLoggingConfig *StackdriverLoggingConfig `protobuf:"bytes,10,opt,name=stackdriver_logging_config,json=stackdriverLoggingConfig,proto3" json:"stackdriver_logging_config,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_36e1ae9449bd88db, []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 (m *Queue) XXX_Merge(src proto.Message) { - xxx_messageInfo_Queue.Merge(m, 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 -} - -func (m *Queue) GetStackdriverLoggingConfig() *StackdriverLoggingConfig { - if m != nil { - return m.StackdriverLoggingConfig - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Queue) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Queue_AppEngineHttpQueue)(nil), - } -} - -// 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_36e1ae9449bd88db, []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 (m *RateLimits) XXX_Merge(src proto.Message) { - xxx_messageInfo_RateLimits.Merge(m, 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_36e1ae9449bd88db, []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 (m *RetryConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_RetryConfig.Merge(m, 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 -} - -// Configuration options for writing logs to -// [Stackdriver Logging](https://cloud.google.com/logging/docs/). -type StackdriverLoggingConfig struct { - // Specifies the fraction of operations to write to - // [Stackdriver Logging](https://cloud.google.com/logging/docs/). - // This field may contain any value between 0.0 and 1.0, inclusive. - // 0.0 is the default and means that no operations are logged. - SamplingRatio float64 `protobuf:"fixed64,1,opt,name=sampling_ratio,json=samplingRatio,proto3" json:"sampling_ratio,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StackdriverLoggingConfig) Reset() { *m = StackdriverLoggingConfig{} } -func (m *StackdriverLoggingConfig) String() string { return proto.CompactTextString(m) } -func (*StackdriverLoggingConfig) ProtoMessage() {} -func (*StackdriverLoggingConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_36e1ae9449bd88db, []int{3} -} - -func (m *StackdriverLoggingConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StackdriverLoggingConfig.Unmarshal(m, b) -} -func (m *StackdriverLoggingConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StackdriverLoggingConfig.Marshal(b, m, deterministic) -} -func (m *StackdriverLoggingConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_StackdriverLoggingConfig.Merge(m, src) -} -func (m *StackdriverLoggingConfig) XXX_Size() int { - return xxx_messageInfo_StackdriverLoggingConfig.Size(m) -} -func (m *StackdriverLoggingConfig) XXX_DiscardUnknown() { - xxx_messageInfo_StackdriverLoggingConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_StackdriverLoggingConfig proto.InternalMessageInfo - -func (m *StackdriverLoggingConfig) GetSamplingRatio() float64 { - if m != nil { - return m.SamplingRatio - } - return 0 -} - -func init() { - proto.RegisterEnum("google.cloud.tasks.v2beta3.Queue_State", Queue_State_name, Queue_State_value) - 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.RegisterType((*StackdriverLoggingConfig)(nil), "google.cloud.tasks.v2beta3.StackdriverLoggingConfig") -} - -func init() { - proto.RegisterFile("google/cloud/tasks/v2beta3/queue.proto", fileDescriptor_36e1ae9449bd88db) -} - -var fileDescriptor_36e1ae9449bd88db = []byte{ - // 772 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x54, 0xff, 0x6e, 0x1b, 0x45, - 0x10, 0xee, 0xa5, 0x71, 0x4a, 0xe7, 0xd2, 0xc8, 0xac, 0x54, 0xb8, 0x58, 0xa8, 0x0d, 0x06, 0xda, - 0xfc, 0x75, 0x27, 0xa5, 0x08, 0xa9, 0x41, 0x08, 0xd9, 0xb1, 0x49, 0x83, 0xa2, 0xc8, 0xdc, 0x25, - 0x7f, 0x80, 0x90, 0x56, 0xeb, 0xf3, 0xfa, 0xba, 0xc4, 0xfb, 0x83, 0xdd, 0xbd, 0xca, 0x6d, 0x94, - 0xd7, 0xe0, 0x1d, 0x78, 0x01, 0x1e, 0x8a, 0xa7, 0x40, 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x90, 0x0a, 0x52, 0xcf, 0x73, 0xbb, 0xf2, - 0x68, 0x2c, 0x3c, 0xd8, 0xbd, 0x33, 0x48, 0xa3, 0x06, 0x90, 0x76, 0x25, 0x5b, 0xe2, 0x4b, 0x6d, - 0x84, 0x1c, 0x42, 0x28, 0x85, 0xa2, 0x53, 0x96, 0x5f, 0xea, 0xf9, 0xbc, 0x59, 0xdc, 0x35, 0x0a, - 0x20, 0x85, 0x1a, 0xd6, 0x60, 0xe4, 0x56, 0x5f, 0xa6, 0xe1, 0x6e, 0xfe, 0x3f, 0x97, 0x2d, 0x5b, - 0xee, 0x17, 0xf0, 0x04, 0x1b, 0xa2, 0xcb, 0xe9, 0x42, 0xa8, 0xc2, 0xe1, 0x36, 0xd6, 0x1f, 0x75, - 0xd4, 0xc6, 0xfa, 0x03, 0x88, 0xee, 0x9b, 0x56, 0xf2, 0x15, 0xec, 0x38, 0x26, 0x4d, 0x05, 0xa4, - 0xa8, 0xdf, 0xb4, 0xf1, 0x49, 0x1b, 0x4d, 0xab, 0xe0, 0x50, 0xc3, 0xb3, 0x5c, 0xcb, 0x35, 0xfb, - 0x30, 0x04, 0x1c, 0xbb, 0x49, 0xe5, 0x76, 0x12, 0xfc, 0xf2, 0x7d, 0x83, 0x2c, 0xf4, 0x82, 0xa9, - 0x22, 0xd6, 0xb6, 0x48, 0x0a, 0xae, 0xb0, 0x96, 0x64, 0x35, 0xae, 0xff, 0xf5, 0xbf, 0xfc, 0x2d, - 0xde, 0xa6, 0x5b, 0x88, 0x7d, 0xf5, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc8, 0x2e, 0xbe, 0x82, - 0x21, 0x06, 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 deleted file mode 100644 index ad854f60..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta3/target.pb.go +++ /dev/null @@ -1,839 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/tasks/v2beta3/target.proto - -package tasks - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // 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_595de6119aed6d9e, []int{0} -} - -// HTTP request. -// -// The task will be pushed to the worker as an HTTP request. If the worker -// or the redirected worker acknowledges the task by returning a successful HTTP -// response code ([`200` - `299`]), the task will removed from the queue. If -// any other HTTP response code is returned or no response is received, the -// task will be retried according to the following: -// -// * User-specified throttling: [retry configuration][google.cloud.tasks.v2beta3.Queue.retry_config], -// [rate limits][google.cloud.tasks.v2beta3.Queue.rate_limits], and the [queue's state][google.cloud.tasks.v2beta3.Queue.state]. -// -// * System throttling: To prevent the worker from overloading, Cloud Tasks may -// temporarily reduce the queue's effective rate. User-specified settings -// will not be changed. -// -// System throttling happens because: -// -// * Cloud Tasks backs off on all errors. Normally the backoff specified in -// [rate limits][google.cloud.tasks.v2beta3.Queue.rate_limits] will be used. But if the worker returns -// `429` (Too Many Requests), `503` (Service Unavailable), or the rate of -// errors is high, Cloud Tasks will use a higher backoff rate. The retry -// specified in the `Retry-After` HTTP response header is considered. -// -// * To prevent traffic spikes and to smooth sudden large traffic spikes, -// dispatches ramp up slowly when the queue is newly created or idle and -// if large numbers of tasks suddenly become available to dispatch (due to -// spikes in create task rates, the queue being unpaused, or many tasks -// that are scheduled at the same time). -type HttpRequest struct { - // Required. The full url path that the request will be sent to. - // - // This string must begin with either "http://" or "https://". Some examples - // are: `http://acme.com` and `https://acme.com/sales:8080`. Cloud Tasks will - // encode some characters for safety and compatibility. The maximum allowed - // URL length is 2083 characters after encoding. - // - // The `Location` header response from a redirect response [`300` - `399`] - // may be followed. The redirect is not counted as a separate attempt. - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - // The HTTP method to use for the request. The default is POST. - HttpMethod HttpMethod `protobuf:"varint,2,opt,name=http_method,json=httpMethod,proto3,enum=google.cloud.tasks.v2beta3.HttpMethod" json:"http_method,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]. - // - // These headers represent a subset of the headers that will accompany the - // task's HTTP request. Some HTTP request headers will be ignored or replaced. - // - // A partial list of headers that will be ignored or replaced is: - // - // * Host: This will be computed by Cloud Tasks and derived from - // [HttpRequest.url][google.cloud.tasks.v2beta3.HttpRequest.url]. - // * Content-Length: This will be computed by Cloud Tasks. - // * User-Agent: This will be set to `"Google-Cloud-Tasks"`. - // * X-Google-*: Google use only. - // * X-AppEngine-*: Google use only. - // - // `Content-Type` won't be set by Cloud Tasks. You can explicitly set - // `Content-Type` to a media type when the - // [task is created][google.cloud.tasks.v2beta3.CloudTasks.CreateTask]. - // For example, `Content-Type` can be set to `"application/octet-stream"` or - // `"application/json"`. - // - // Headers which can have multiple values (according to RFC2616) can be - // specified using comma-separated values. - // - // The size of the 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][google.cloud.tasks.v2beta3.HttpRequest.http_method] is POST, PUT, or PATCH. It is an - // error to set body on a task with an incompatible [HttpMethod][google.cloud.tasks.v2beta3.HttpMethod]. - Body []byte `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"` - // The mode for generating an `Authorization` header for HTTP requests. - // - // If specified, all `Authorization` headers in the [HttpRequest.headers][google.cloud.tasks.v2beta3.HttpRequest.headers] - // field will be overridden. - // - // Types that are valid to be assigned to AuthorizationHeader: - // *HttpRequest_OauthToken - // *HttpRequest_OidcToken - AuthorizationHeader isHttpRequest_AuthorizationHeader `protobuf_oneof:"authorization_header"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_595de6119aed6d9e, []int{0} -} - -func (m *HttpRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HttpRequest.Unmarshal(m, b) -} -func (m *HttpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HttpRequest.Marshal(b, m, deterministic) -} -func (m *HttpRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_HttpRequest.Merge(m, src) -} -func (m *HttpRequest) XXX_Size() int { - return xxx_messageInfo_HttpRequest.Size(m) -} -func (m *HttpRequest) XXX_DiscardUnknown() { - xxx_messageInfo_HttpRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_HttpRequest proto.InternalMessageInfo - -func (m *HttpRequest) GetUrl() string { - if m != nil { - return m.Url - } - return "" -} - -func (m *HttpRequest) GetHttpMethod() HttpMethod { - if m != nil { - return m.HttpMethod - } - return HttpMethod_HTTP_METHOD_UNSPECIFIED -} - -func (m *HttpRequest) GetHeaders() map[string]string { - if m != nil { - return m.Headers - } - return nil -} - -func (m *HttpRequest) GetBody() []byte { - if m != nil { - return m.Body - } - return nil -} - -type isHttpRequest_AuthorizationHeader interface { - isHttpRequest_AuthorizationHeader() -} - -type HttpRequest_OauthToken struct { - OauthToken *OAuthToken `protobuf:"bytes,5,opt,name=oauth_token,json=oauthToken,proto3,oneof"` -} - -type HttpRequest_OidcToken struct { - OidcToken *OidcToken `protobuf:"bytes,6,opt,name=oidc_token,json=oidcToken,proto3,oneof"` -} - -func (*HttpRequest_OauthToken) isHttpRequest_AuthorizationHeader() {} - -func (*HttpRequest_OidcToken) isHttpRequest_AuthorizationHeader() {} - -func (m *HttpRequest) GetAuthorizationHeader() isHttpRequest_AuthorizationHeader { - if m != nil { - return m.AuthorizationHeader - } - return nil -} - -func (m *HttpRequest) GetOauthToken() *OAuthToken { - if x, ok := m.GetAuthorizationHeader().(*HttpRequest_OauthToken); ok { - return x.OauthToken - } - return nil -} - -func (m *HttpRequest) GetOidcToken() *OidcToken { - if x, ok := m.GetAuthorizationHeader().(*HttpRequest_OidcToken); ok { - return x.OidcToken - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*HttpRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*HttpRequest_OauthToken)(nil), - (*HttpRequest_OidcToken)(nil), - } -} - -// 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_595de6119aed6d9e, []int{1} -} - -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 (m *AppEngineHttpQueue) XXX_Merge(src proto.Message) { - xxx_messageInfo_AppEngineHttpQueue.Merge(m, 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. -// -// 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). -// Traffic is encrypted during transport and never leaves Google datacenters. -// Because this traffic is carried over a communication mechanism internal to -// Google, you cannot explicitly set the protocol (for example, HTTP or HTTPS). -// The request to the handler, however, will appear to have used the HTTP -// protocol. -// -// 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] -// -// Tasks can be dispatched to secure app handlers, unsecure app handlers, and -// URIs restricted with -// [`login: -// admin`](https://cloud.google.com/appengine/docs/standard/python/config/appref). -// Because tasks are not run as any user, they cannot be dispatched to URIs -// restricted with -// [`login: -// required`](https://cloud.google.com/appengine/docs/standard/python/config/appref) -// Task dispatches also do not follow redirects. -// -// The task attempt has succeeded if the app's request handler returns an HTTP -// response code in the range [`200` - `299`]. The task attempt has failed if -// the app's handler returns a non-2xx response code or Cloud Tasks does -// not receive response before the [deadline][google.cloud.tasks.v2beta3.Task.dispatch_deadline]. Failed -// tasks will be retried according to the -// [retry configuration][google.cloud.tasks.v2beta3.Queue.retry_config]. `503` (Service Unavailable) is -// considered an App Engine system error instead of an application error and -// will cause Cloud Tasks' traffic congestion control to temporarily throttle -// the queue's dispatches. Unlike other types of task targets, a `429` (Too Many -// Requests) response from an app handler does not cause traffic congestion -// control to throttle the queue. -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_595de6119aed6d9e, []int{2} -} - -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 (m *AppEngineHttpRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AppEngineHttpRequest.Merge(m, 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. -// -// Defines routing characteristics specific to App Engine - service, version, -// and instance. -// -// 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_595de6119aed6d9e, []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 (m *AppEngineRouting) XXX_Merge(src proto.Message) { - xxx_messageInfo_AppEngineRouting.Merge(m, 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 "" -} - -// Contains information needed for generating an -// [OAuth token](https://developers.google.com/identity/protocols/OAuth2). -// This type of authorization should generally only be used when calling Google -// APIs hosted on *.googleapis.com. -type OAuthToken struct { - // [Service account email](https://cloud.google.com/iam/docs/service-accounts) - // to be used for generating OAuth token. - // The service account must be within the same project as the queue. The - // caller must have iam.serviceAccounts.actAs permission for the service - // account. - ServiceAccountEmail string `protobuf:"bytes,1,opt,name=service_account_email,json=serviceAccountEmail,proto3" json:"service_account_email,omitempty"` - // OAuth scope to be used for generating OAuth access token. - // If not specified, "https://www.googleapis.com/auth/cloud-platform" - // will be used. - Scope string `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OAuthToken) Reset() { *m = OAuthToken{} } -func (m *OAuthToken) String() string { return proto.CompactTextString(m) } -func (*OAuthToken) ProtoMessage() {} -func (*OAuthToken) Descriptor() ([]byte, []int) { - return fileDescriptor_595de6119aed6d9e, []int{4} -} - -func (m *OAuthToken) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OAuthToken.Unmarshal(m, b) -} -func (m *OAuthToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OAuthToken.Marshal(b, m, deterministic) -} -func (m *OAuthToken) XXX_Merge(src proto.Message) { - xxx_messageInfo_OAuthToken.Merge(m, src) -} -func (m *OAuthToken) XXX_Size() int { - return xxx_messageInfo_OAuthToken.Size(m) -} -func (m *OAuthToken) XXX_DiscardUnknown() { - xxx_messageInfo_OAuthToken.DiscardUnknown(m) -} - -var xxx_messageInfo_OAuthToken proto.InternalMessageInfo - -func (m *OAuthToken) GetServiceAccountEmail() string { - if m != nil { - return m.ServiceAccountEmail - } - return "" -} - -func (m *OAuthToken) GetScope() string { - if m != nil { - return m.Scope - } - return "" -} - -// Contains information needed for generating an -// [OpenID Connect -// token](https://developers.google.com/identity/protocols/OpenIDConnect). -// This type of authorization can be used for many scenarios, including -// calling Cloud Run, or endpoints where you intend to validate the token -// yourself. -type OidcToken struct { - // [Service account email](https://cloud.google.com/iam/docs/service-accounts) - // to be used for generating OIDC token. - // The service account must be within the same project as the queue. The - // caller must have iam.serviceAccounts.actAs permission for the service - // account. - ServiceAccountEmail string `protobuf:"bytes,1,opt,name=service_account_email,json=serviceAccountEmail,proto3" json:"service_account_email,omitempty"` - // Audience to be used when generating OIDC token. If not specified, the URI - // specified in target will be used. - Audience string `protobuf:"bytes,2,opt,name=audience,proto3" json:"audience,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OidcToken) Reset() { *m = OidcToken{} } -func (m *OidcToken) String() string { return proto.CompactTextString(m) } -func (*OidcToken) ProtoMessage() {} -func (*OidcToken) Descriptor() ([]byte, []int) { - return fileDescriptor_595de6119aed6d9e, []int{5} -} - -func (m *OidcToken) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OidcToken.Unmarshal(m, b) -} -func (m *OidcToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OidcToken.Marshal(b, m, deterministic) -} -func (m *OidcToken) XXX_Merge(src proto.Message) { - xxx_messageInfo_OidcToken.Merge(m, src) -} -func (m *OidcToken) XXX_Size() int { - return xxx_messageInfo_OidcToken.Size(m) -} -func (m *OidcToken) XXX_DiscardUnknown() { - xxx_messageInfo_OidcToken.DiscardUnknown(m) -} - -var xxx_messageInfo_OidcToken proto.InternalMessageInfo - -func (m *OidcToken) GetServiceAccountEmail() string { - if m != nil { - return m.ServiceAccountEmail - } - return "" -} - -func (m *OidcToken) GetAudience() string { - if m != nil { - return m.Audience - } - return "" -} - -func init() { - proto.RegisterEnum("google.cloud.tasks.v2beta3.HttpMethod", HttpMethod_name, HttpMethod_value) - proto.RegisterType((*HttpRequest)(nil), "google.cloud.tasks.v2beta3.HttpRequest") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.tasks.v2beta3.HttpRequest.HeadersEntry") - 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.RegisterType((*OAuthToken)(nil), "google.cloud.tasks.v2beta3.OAuthToken") - proto.RegisterType((*OidcToken)(nil), "google.cloud.tasks.v2beta3.OidcToken") -} - -func init() { - proto.RegisterFile("google/cloud/tasks/v2beta3/target.proto", fileDescriptor_595de6119aed6d9e) -} - -var fileDescriptor_595de6119aed6d9e = []byte{ - // 707 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0xdf, 0x6f, 0xd3, 0x3a, - 0x14, 0x5e, 0x96, 0xfe, 0x58, 0x4f, 0xa6, 0xab, 0xc8, 0x77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, 0xef, 0x9b, 0x1e, 0x4a, 0x0b, 0xad, 0x19, 0x46, 0xb9, - 0xb3, 0x61, 0xae, 0x00, 0x7d, 0x2f, 0x47, 0x0e, 0xe9, 0x77, 0x55, 0xe8, 0xeb, 0x2a, 0xd0, 0x7d, - 0xd8, 0xe5, 0x64, 0x86, 0x05, 0x9d, 0x13, 0x2f, 0xe5, 0xd4, 0x50, 0xe5, 0xe8, 0xb5, 0x32, 0x76, - 0xc9, 0x29, 0x7a, 0xbb, 0xf2, 0x6b, 0x45, 0xfa, 0xf5, 0xc5, 0xad, 0xce, 0xbc, 0xbd, 0x71, 0xab, - 0x2b, 0xe3, 0xfe, 0x89, 0x4b, 0xda, 0x73, 0xd0, 0xd7, 0x15, 0x23, 0x03, 0xea, 0x09, 0xe1, 0x73, - 0xea, 0x93, 0x82, 0xa3, 0x84, 0x59, 0x66, 0x4e, 0x78, 0x42, 0x59, 0x54, 0x30, 0x95, 0x10, 0x35, - 0x61, 0x87, 0x46, 0x89, 0xc0, 0x91, 0x4f, 0x8a, 0x79, 0x2c, 0x71, 0xd6, 0xf3, 0x84, 0x25, 0x42, - 0x5e, 0xb6, 0x86, 0x23, 0xd7, 0xed, 0x37, 0x00, 0xab, 0xdb, 0x83, 0x7a, 0xf0, 0x4f, 0x71, 0x84, - 0x87, 0x7d, 0x9f, 0xa5, 0x91, 0xf0, 0xc8, 0x0d, 0xa6, 0xe5, 0x5b, 0xf2, 0x77, 0x91, 0xec, 0xe7, - 0x39, 0x2b, 0x4b, 0x65, 0x9a, 0x12, 0x9f, 0xc5, 0x4b, 0x4d, 0x12, 0xb4, 0xdf, 0x41, 0x63, 0x79, - 0x97, 0xee, 0x44, 0xdb, 0x84, 0x1d, 0x9c, 0x06, 0x94, 0x64, 0x42, 0x72, 0xe6, 0x25, 0x7e, 0x9c, - 0x00, 0xac, 0xec, 0x86, 0xf6, 0xe1, 0xbf, 0xa1, 0xeb, 0xda, 0xde, 0x99, 0xe5, 0x0e, 0xc7, 0x03, - 0xef, 0xf2, 0xfc, 0xc2, 0xb6, 0x8e, 0x47, 0x27, 0x23, 0x6b, 0xa0, 0x6f, 0xa1, 0x1d, 0xa8, 0xd8, - 0xe3, 0x0b, 0x57, 0x57, 0x50, 0x1d, 0xd4, 0x53, 0xcb, 0xd5, 0xb7, 0xb3, 0xd0, 0xd0, 0xea, 0x0f, - 0x74, 0x35, 0x0b, 0xd9, 0x97, 0xae, 0x5e, 0x41, 0x00, 0xb5, 0x81, 0xf5, 0xca, 0x72, 0x2d, 0xbd, - 0x8a, 0x1a, 0x50, 0xb5, 0xfb, 0xee, 0xf1, 0x50, 0xaf, 0x21, 0x0d, 0xea, 0x63, 0xdb, 0x1d, 0x8d, - 0xcf, 0x2f, 0xf4, 0xfa, 0x51, 0x0c, 0xf7, 0x7c, 0x76, 0xb3, 0xc1, 0x3e, 0x47, 0x9a, 0x2b, 0xdf, - 0x73, 0x3b, 0x7b, 0x94, 0x6d, 0xe5, 0xea, 0x65, 0x51, 0x1a, 0xb2, 0x19, 0x8e, 0x42, 0x93, 0xf1, - 0xb0, 0x1b, 0x92, 0x48, 0x3e, 0xd9, 0xdd, 0x3c, 0x85, 0x63, 0x9a, 0xfc, 0xe8, 0xc7, 0xf0, 0x5c, - 0xa2, 0xeb, 0x9a, 0xac, 0x3d, 0xf8, 0x12, 0x00, 0x00, 0xff, 0xff, 0xf1, 0xca, 0x64, 0x96, 0x43, - 0x06, 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 deleted file mode 100644 index 2619046a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/tasks/v2beta3/task.pb.go +++ /dev/null @@ -1,434 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/tasks/v2beta3/task.proto - -package tasks - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - 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.ProtoPackageIsVersion3 // 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_ef2a735969aa09d5, []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 message to send to the worker. - // - // Types that are valid to be assigned to PayloadType: - // *Task_AppEngineHttpRequest - // *Task_HttpRequest - 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"` - // The deadline for requests sent to the worker. If the worker does not - // respond by this deadline then the request is cancelled and the attempt - // is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the - // task according to the [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. - // - // Note that when the request is cancelled, Cloud Tasks will stop listing for - // the response, but whether the worker stops processing depends on the - // worker. For example, if the worker is stuck, it may not react to cancelled - // requests. - // - // The default and maximum values depend on the type of request: - // - // * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is 10 minutes. The deadline - // must be in the interval [15 seconds, 30 minutes]. - // - // * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], 0 indicates that the - // request has the default deadline. The default deadline depends on the - // [scaling - // type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling) - // of the service: 10 minutes for standard apps with automatic scaling, 24 - // hours for standard apps with manual and basic scaling, and 60 minutes for - // flex apps. If the request deadline is set, it must be in the interval [15 - // seconds, 24 hours 15 seconds]. Regardless of the task's - // `dispatch_deadline`, the app handler will not run for longer than than - // the service's timeout. We recommend setting the `dispatch_deadline` to - // at most a few seconds more than the app handler's timeout. For more - // information see - // [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts). - // - // `dispatch_deadline` will be truncated to the nearest millisecond. The - // deadline is an approximate deadline. - DispatchDeadline *duration.Duration `protobuf:"bytes,12,opt,name=dispatch_deadline,json=dispatchDeadline,proto3" json:"dispatch_deadline,omitempty"` - // Output only. The number of attempts dispatched. - // - // This count includes attempts 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_ef2a735969aa09d5, []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 (m *Task) XXX_Merge(src proto.Message) { - xxx_messageInfo_Task.Merge(m, 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"` -} - -type Task_HttpRequest struct { - HttpRequest *HttpRequest `protobuf:"bytes,11,opt,name=http_request,json=httpRequest,proto3,oneof"` -} - -func (*Task_AppEngineHttpRequest) isTask_PayloadType() {} - -func (*Task_HttpRequest) 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) GetHttpRequest() *HttpRequest { - if x, ok := m.GetPayloadType().(*Task_HttpRequest); ok { - return x.HttpRequest - } - 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) GetDispatchDeadline() *duration.Duration { - if m != nil { - return m.DispatchDeadline - } - 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_OneofWrappers is for the internal use of the proto package. -func (*Task) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Task_AppEngineHttpRequest)(nil), - (*Task_HttpRequest)(nil), - } -} - -// 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 worker 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_ef2a735969aa09d5, []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 (m *Attempt) XXX_Merge(src proto.Message) { - xxx_messageInfo_Attempt.Merge(m, 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.RegisterEnum("google.cloud.tasks.v2beta3.Task_View", Task_View_name, Task_View_value) - proto.RegisterType((*Task)(nil), "google.cloud.tasks.v2beta3.Task") - proto.RegisterType((*Attempt)(nil), "google.cloud.tasks.v2beta3.Attempt") -} - -func init() { - proto.RegisterFile("google/cloud/tasks/v2beta3/task.proto", fileDescriptor_ef2a735969aa09d5) -} - -var fileDescriptor_ef2a735969aa09d5 = []byte{ - // 657 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xcd, 0x4e, 0xdb, 0x40, - 0x10, 0xc7, 0x31, 0x84, 0x8f, 0x6c, 0x02, 0x4d, 0x2d, 0x24, 0x42, 0x54, 0xd1, 0x88, 0x0a, 0x91, - 0x93, 0xb7, 0x85, 0x53, 0xcb, 0x01, 0x91, 0x90, 0x88, 0x48, 0xa8, 0x42, 0xe6, 0xa3, 0x52, 0x2f, - 0xd6, 0x62, 0x0f, 0x8e, 0x8b, 0xe3, 0x5d, 0x76, 0xd7, 0x20, 0x14, 0xe5, 0x01, 0xfa, 0x98, 0xbd, - 0xf6, 0x29, 0x2a, 0xef, 0x47, 0x0a, 0x85, 0x86, 0xf6, 0x64, 0xcf, 0xcc, 0xff, 0xff, 0xcb, 0x66, - 0x67, 0xc6, 0x68, 0x2b, 0xa6, 0x34, 0x4e, 0x01, 0x87, 0x29, 0xcd, 0x23, 0x2c, 0x89, 0xb8, 0x16, - 0xf8, 0x76, 0xe7, 0x12, 0x24, 0xd9, 0x55, 0x91, 0xc7, 0x38, 0x95, 0xd4, 0x6d, 0x68, 0x99, 0xa7, - 0x64, 0x9e, 0x92, 0x79, 0x46, 0xd6, 0x58, 0x37, 0x08, 0xc2, 0x12, 0xcc, 0x41, 0xd0, 0x9c, 0x87, - 0xa0, 0x6d, 0x8d, 0xed, 0xa9, 0x74, 0x1e, 0x83, 0x34, 0xc2, 0x0d, 0x23, 0x54, 0xd1, 0x65, 0x7e, - 0x85, 0xa3, 0x9c, 0x13, 0x99, 0xd0, 0xcc, 0xd4, 0xdf, 0xfe, 0x59, 0x97, 0xc9, 0x10, 0x84, 0x24, - 0x43, 0x66, 0x04, 0x6b, 0x46, 0xc0, 0x59, 0x88, 0x85, 0x24, 0x32, 0x17, 0xa6, 0xf0, 0xe6, 0xc1, - 0xe9, 0x48, 0x96, 0x51, 0xa9, 0xb0, 0xa6, 0xba, 0xf9, 0x63, 0x01, 0x95, 0xce, 0x88, 0xb8, 0x76, - 0x5d, 0x54, 0xca, 0xc8, 0x10, 0xea, 0x4e, 0xd3, 0x69, 0x95, 0x7d, 0xf5, 0xee, 0x26, 0x68, 0x8d, - 0x30, 0x16, 0x40, 0x16, 0x27, 0x19, 0x04, 0x03, 0x29, 0x59, 0xc0, 0xe1, 0x26, 0x07, 0x21, 0xeb, - 0x73, 0x4d, 0xa7, 0x55, 0xd9, 0x79, 0xef, 0xfd, 0xfd, 0x5a, 0xbc, 0x03, 0xc6, 0xba, 0xca, 0x79, - 0x24, 0x25, 0xf3, 0xb5, 0xef, 0x68, 0xc6, 0x5f, 0x25, 0xcf, 0xe4, 0xdd, 0x63, 0x54, 0x7d, 0xc4, - 0xaf, 0x28, 0xfe, 0xf6, 0x34, 0xfe, 0x63, 0x6c, 0x65, 0xf0, 0x80, 0xb6, 0x8f, 0x96, 0x45, 0x38, - 0x80, 0x28, 0x4f, 0x21, 0x28, 0x2e, 0xaa, 0x5e, 0x52, 0xb8, 0x86, 0xc5, 0xd9, 0x5b, 0xf4, 0xce, - 0xec, 0x2d, 0xfa, 0x55, 0x6b, 0x28, 0x52, 0xee, 0x1e, 0xaa, 0x84, 0x1c, 0x88, 0x34, 0xf6, 0xf9, - 0x17, 0xed, 0x48, 0xcb, 0x95, 0xb9, 0x87, 0x5e, 0x47, 0x89, 0x60, 0x44, 0x86, 0x83, 0x20, 0x02, - 0x12, 0xa5, 0x49, 0x06, 0xf5, 0xaa, 0x42, 0xac, 0x3f, 0x41, 0x1c, 0x9a, 0x3e, 0xfb, 0x35, 0xeb, - 0x39, 0x34, 0x16, 0x77, 0x0b, 0xad, 0x4c, 0x38, 0x21, 0xcd, 0x33, 0x59, 0x5f, 0x68, 0x3a, 0xad, - 0x79, 0x7f, 0xd9, 0x66, 0x3b, 0x45, 0xb2, 0x90, 0x71, 0x10, 0x8c, 0x66, 0x02, 0x8c, 0x6c, 0x51, - 0xcb, 0x6c, 0x56, 0xcb, 0x8e, 0xd0, 0xf2, 0x55, 0xc2, 0x85, 0x0c, 0x88, 0x94, 0x30, 0x64, 0xb2, - 0xbe, 0xa4, 0x4e, 0xf4, 0x6e, 0x6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, 0xb8, 0x28, 0xc0, 0xdc, 0xcb, 0x00, 0x6b, - 0x30, 0xbb, 0xf1, 0x6a, 0x02, 0xd0, 0x5f, 0x1a, 0xb3, 0x5e, 0xae, 0x45, 0x70, 0x16, 0x7a, 0xa7, - 0xaa, 0xe2, 0x4f, 0x46, 0x53, 0xc7, 0xed, 0x0c, 0x6d, 0x84, 0x74, 0x38, 0xa5, 0xd5, 0xed, 0x72, - 0xd1, 0x88, 0x93, 0xe2, 0x10, 0x27, 0xce, 0xd7, 0x7d, 0x23, 0x8c, 0x69, 0x4a, 0xb2, 0xd8, 0xa3, - 0x3c, 0xc6, 0x31, 0x64, 0xea, 0x88, 0xf8, 0x77, 0xff, 0x9e, 0xfb, 0xbc, 0xee, 0xa9, 0xe8, 0x72, - 0x41, 0x69, 0x77, 0x7f, 0x05, 0x00, 0x00, 0xff, 0xff, 0x72, 0x9f, 0x59, 0x84, 0xe7, 0x05, 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 deleted file mode 100644 index b85cc612..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/texttospeech/v1/cloud_tts.pb.go +++ /dev/null @@ -1,848 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/texttospeech/v1/cloud_tts.proto - -package texttospeech - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Gender of the voice as described in -// [SSML voice element](https://www.w3.org/TR/speech-synthesis11/#edef_voice). -type SsmlVoiceGender int32 - -const ( - // An unspecified gender. - // In VoiceSelectionParams, this means that the client doesn't care which - // gender the selected voice will have. In the Voice field of - // ListVoicesResponse, this may mean that the voice doesn't fit any of the - // other categories in this enum, or that the gender of the voice isn't known. - SsmlVoiceGender_SSML_VOICE_GENDER_UNSPECIFIED SsmlVoiceGender = 0 - // A male voice. - SsmlVoiceGender_MALE SsmlVoiceGender = 1 - // A female voice. - SsmlVoiceGender_FEMALE SsmlVoiceGender = 2 - // A gender-neutral voice. - SsmlVoiceGender_NEUTRAL SsmlVoiceGender = 3 -) - -var SsmlVoiceGender_name = map[int32]string{ - 0: "SSML_VOICE_GENDER_UNSPECIFIED", - 1: "MALE", - 2: "FEMALE", - 3: "NEUTRAL", -} - -var SsmlVoiceGender_value = map[string]int32{ - "SSML_VOICE_GENDER_UNSPECIFIED": 0, - "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_b86cfe431745e140, []int{0} -} - -// Configuration to set up audio encoder. The encoding determines the output -// audio format that we'd like. -type AudioEncoding int32 - -const ( - // Not specified. Will return result [google.rpc.Code.INVALID_ARGUMENT][]. - AudioEncoding_AUDIO_ENCODING_UNSPECIFIED AudioEncoding = 0 - // Uncompressed 16-bit signed little-endian samples (Linear PCM). - // Audio content returned as LINEAR16 also contains a WAV header. - AudioEncoding_LINEAR16 AudioEncoding = 1 - // MP3 audio at 32kbps. - AudioEncoding_MP3 AudioEncoding = 2 - // Opus encoded audio wrapped in an ogg container. The result will be a - // file which can be played natively on Android, and in browsers (at least - // Chrome and Firefox). The quality of the encoding is considerably higher - // than MP3 while using approximately the same bitrate. - AudioEncoding_OGG_OPUS AudioEncoding = 3 -) - -var AudioEncoding_name = map[int32]string{ - 0: "AUDIO_ENCODING_UNSPECIFIED", - 1: "LINEAR16", - 2: "MP3", - 3: "OGG_OPUS", -} - -var AudioEncoding_value = map[string]int32{ - "AUDIO_ENCODING_UNSPECIFIED": 0, - "LINEAR16": 1, - "MP3": 2, - "OGG_OPUS": 3, -} - -func (x AudioEncoding) String() string { - return proto.EnumName(AudioEncoding_name, int32(x)) -} - -func (AudioEncoding) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b86cfe431745e140, []int{1} -} - -// The top-level message sent by the client for the `ListVoices` method. -type ListVoicesRequest struct { - // Optional. Recommended. - // [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If - // specified, the ListVoices call will only return voices that can be used to - // synthesize this language_code. E.g. when specifying "en-NZ", you will get - // supported "en-*" voices; when specifying "no", you will get supported - // "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh" - // will also get supported "cmn-*" voices; specifying "zh-hk" will also get - // supported "yue-*" voices. - LanguageCode string `protobuf:"bytes,1,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 *ListVoicesRequest) Reset() { *m = ListVoicesRequest{} } -func (m *ListVoicesRequest) String() string { return proto.CompactTextString(m) } -func (*ListVoicesRequest) ProtoMessage() {} -func (*ListVoicesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b86cfe431745e140, []int{0} -} - -func (m *ListVoicesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListVoicesRequest.Unmarshal(m, b) -} -func (m *ListVoicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListVoicesRequest.Marshal(b, m, deterministic) -} -func (m *ListVoicesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListVoicesRequest.Merge(m, src) -} -func (m *ListVoicesRequest) XXX_Size() int { - return xxx_messageInfo_ListVoicesRequest.Size(m) -} -func (m *ListVoicesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListVoicesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListVoicesRequest proto.InternalMessageInfo - -func (m *ListVoicesRequest) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -// The message returned to the client by the `ListVoices` method. -type ListVoicesResponse struct { - // The list of voices. - Voices []*Voice `protobuf:"bytes,1,rep,name=voices,proto3" json:"voices,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b86cfe431745e140, []int{1} -} - -func (m *ListVoicesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListVoicesResponse.Unmarshal(m, b) -} -func (m *ListVoicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListVoicesResponse.Marshal(b, m, deterministic) -} -func (m *ListVoicesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListVoicesResponse.Merge(m, src) -} -func (m *ListVoicesResponse) XXX_Size() int { - return xxx_messageInfo_ListVoicesResponse.Size(m) -} -func (m *ListVoicesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListVoicesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListVoicesResponse proto.InternalMessageInfo - -func (m *ListVoicesResponse) GetVoices() []*Voice { - if m != nil { - return m.Voices - } - return nil -} - -// Description of a voice supported by the TTS service. -type Voice struct { - // The languages that this voice supports, expressed as - // [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags (e.g. - // "en-US", "es-419", "cmn-tw"). - LanguageCodes []string `protobuf:"bytes,1,rep,name=language_codes,json=languageCodes,proto3" json:"language_codes,omitempty"` - // The name of this voice. Each distinct voice has a unique name. - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - // The gender of this voice. - SsmlGender SsmlVoiceGender `protobuf:"varint,3,opt,name=ssml_gender,json=ssmlGender,proto3,enum=google.cloud.texttospeech.v1.SsmlVoiceGender" json:"ssml_gender,omitempty"` - // The natural sample rate (in hertz) for this voice. - NaturalSampleRateHertz int32 `protobuf:"varint,4,opt,name=natural_sample_rate_hertz,json=naturalSampleRateHertz,proto3" json:"natural_sample_rate_hertz,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b86cfe431745e140, []int{2} -} - -func (m *Voice) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Voice.Unmarshal(m, b) -} -func (m *Voice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Voice.Marshal(b, m, deterministic) -} -func (m *Voice) XXX_Merge(src proto.Message) { - xxx_messageInfo_Voice.Merge(m, src) -} -func (m *Voice) XXX_Size() int { - return xxx_messageInfo_Voice.Size(m) -} -func (m *Voice) XXX_DiscardUnknown() { - xxx_messageInfo_Voice.DiscardUnknown(m) -} - -var xxx_messageInfo_Voice proto.InternalMessageInfo - -func (m *Voice) GetLanguageCodes() []string { - if m != nil { - return m.LanguageCodes - } - return nil -} - -func (m *Voice) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Voice) GetSsmlGender() SsmlVoiceGender { - if m != nil { - return m.SsmlGender - } - return SsmlVoiceGender_SSML_VOICE_GENDER_UNSPECIFIED -} - -func (m *Voice) GetNaturalSampleRateHertz() int32 { - if m != nil { - return m.NaturalSampleRateHertz - } - return 0 -} - -// The top-level message sent by the client for the `SynthesizeSpeech` method. -type SynthesizeSpeechRequest struct { - // Required. The Synthesizer requires either plain text or SSML as input. - Input *SynthesisInput `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"` - // Required. The desired voice of the synthesized audio. - Voice *VoiceSelectionParams `protobuf:"bytes,2,opt,name=voice,proto3" json:"voice,omitempty"` - // Required. The configuration of the synthesized audio. - AudioConfig *AudioConfig `protobuf:"bytes,3,opt,name=audio_config,json=audioConfig,proto3" json:"audio_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b86cfe431745e140, []int{3} -} - -func (m *SynthesizeSpeechRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SynthesizeSpeechRequest.Unmarshal(m, b) -} -func (m *SynthesizeSpeechRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SynthesizeSpeechRequest.Marshal(b, m, deterministic) -} -func (m *SynthesizeSpeechRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SynthesizeSpeechRequest.Merge(m, src) -} -func (m *SynthesizeSpeechRequest) XXX_Size() int { - return xxx_messageInfo_SynthesizeSpeechRequest.Size(m) -} -func (m *SynthesizeSpeechRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SynthesizeSpeechRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SynthesizeSpeechRequest proto.InternalMessageInfo - -func (m *SynthesizeSpeechRequest) GetInput() *SynthesisInput { - if m != nil { - return m.Input - } - return nil -} - -func (m *SynthesizeSpeechRequest) GetVoice() *VoiceSelectionParams { - if m != nil { - return m.Voice - } - return nil -} - -func (m *SynthesizeSpeechRequest) GetAudioConfig() *AudioConfig { - if m != nil { - return m.AudioConfig - } - return nil -} - -// Contains text input to be synthesized. Either `text` or `ssml` must be -// supplied. Supplying both or neither returns -// [google.rpc.Code.INVALID_ARGUMENT][]. The input size is limited to 5000 -// characters. -type SynthesisInput struct { - // The input source, which is either plain text or SSML. - // - // Types that are valid to be assigned to InputSource: - // *SynthesisInput_Text - // *SynthesisInput_Ssml - InputSource isSynthesisInput_InputSource `protobuf_oneof:"input_source"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b86cfe431745e140, []int{4} -} - -func (m *SynthesisInput) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SynthesisInput.Unmarshal(m, b) -} -func (m *SynthesisInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SynthesisInput.Marshal(b, m, deterministic) -} -func (m *SynthesisInput) XXX_Merge(src proto.Message) { - xxx_messageInfo_SynthesisInput.Merge(m, src) -} -func (m *SynthesisInput) XXX_Size() int { - return xxx_messageInfo_SynthesisInput.Size(m) -} -func (m *SynthesisInput) XXX_DiscardUnknown() { - xxx_messageInfo_SynthesisInput.DiscardUnknown(m) -} - -var xxx_messageInfo_SynthesisInput proto.InternalMessageInfo - -type isSynthesisInput_InputSource interface { - isSynthesisInput_InputSource() -} - -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 { - if m != nil { - return m.InputSource - } - return nil -} - -func (m *SynthesisInput) GetText() string { - if x, ok := m.GetInputSource().(*SynthesisInput_Text); ok { - return x.Text - } - return "" -} - -func (m *SynthesisInput) GetSsml() string { - if x, ok := m.GetInputSource().(*SynthesisInput_Ssml); ok { - return x.Ssml - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*SynthesisInput) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*SynthesisInput_Text)(nil), - (*SynthesisInput_Ssml)(nil), - } -} - -// Description of which voice to use for a synthesis request. -type VoiceSelectionParams struct { - // Required. The language (and potentially also the region) of the voice expressed as a - // [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag, e.g. - // "en-US". This should not include a script tag (e.g. use - // "cmn-cn" rather than "cmn-Hant-cn"), because the script will be inferred - // from the input provided in the SynthesisInput. The TTS service - // will use this parameter to help choose an appropriate voice. Note that - // the TTS service may choose a voice with a slightly different language code - // than the one selected; it may substitute a different region - // (e.g. using en-US rather than en-CA if there isn't a Canadian voice - // available), or even a different language, e.g. using "nb" (Norwegian - // Bokmal) instead of "no" (Norwegian)". - LanguageCode string `protobuf:"bytes,1,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // The name of the voice. If not set, the service will choose a - // voice based on the other parameters such as language_code and gender. - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - // The preferred gender of the voice. If not set, the service will - // choose a voice based on the other parameters such as language_code and - // name. Note that this is only a preference, not requirement; if a - // voice of the appropriate gender is not available, the synthesizer should - // substitute a voice with a different gender rather than failing the request. - SsmlGender SsmlVoiceGender `protobuf:"varint,3,opt,name=ssml_gender,json=ssmlGender,proto3,enum=google.cloud.texttospeech.v1.SsmlVoiceGender" json:"ssml_gender,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b86cfe431745e140, []int{5} -} - -func (m *VoiceSelectionParams) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VoiceSelectionParams.Unmarshal(m, b) -} -func (m *VoiceSelectionParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VoiceSelectionParams.Marshal(b, m, deterministic) -} -func (m *VoiceSelectionParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_VoiceSelectionParams.Merge(m, src) -} -func (m *VoiceSelectionParams) XXX_Size() int { - return xxx_messageInfo_VoiceSelectionParams.Size(m) -} -func (m *VoiceSelectionParams) XXX_DiscardUnknown() { - xxx_messageInfo_VoiceSelectionParams.DiscardUnknown(m) -} - -var xxx_messageInfo_VoiceSelectionParams proto.InternalMessageInfo - -func (m *VoiceSelectionParams) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *VoiceSelectionParams) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *VoiceSelectionParams) GetSsmlGender() SsmlVoiceGender { - if m != nil { - return m.SsmlGender - } - return SsmlVoiceGender_SSML_VOICE_GENDER_UNSPECIFIED -} - -// Description of audio data to be synthesized. -type AudioConfig struct { - // Required. The format of the audio byte stream. - AudioEncoding AudioEncoding `protobuf:"varint,1,opt,name=audio_encoding,json=audioEncoding,proto3,enum=google.cloud.texttospeech.v1.AudioEncoding" json:"audio_encoding,omitempty"` - // Optional. Input only. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is - // the normal native speed supported by the specific voice. 2.0 is twice as - // fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 - // speed. Any other values < 0.25 or > 4.0 will return an error. - SpeakingRate float64 `protobuf:"fixed64,2,opt,name=speaking_rate,json=speakingRate,proto3" json:"speaking_rate,omitempty"` - // Optional. Input only. Speaking pitch, in the range [-20.0, 20.0]. 20 means - // increase 20 semitones from the original pitch. -20 means decrease 20 - // semitones from the original pitch. - Pitch float64 `protobuf:"fixed64,3,opt,name=pitch,proto3" json:"pitch,omitempty"` - // Optional. Input only. Volume gain (in dB) of the normal native volume - // supported by the specific voice, in the range [-96.0, 16.0]. If unset, or - // set to a value of 0.0 (dB), will play at normal native signal amplitude. A - // value of -6.0 (dB) will play at approximately half the amplitude of the - // normal native signal amplitude. A value of +6.0 (dB) will play at - // approximately twice the amplitude of the normal native signal amplitude. - // Strongly recommend not to exceed +10 (dB) as there's usually no effective - // increase in loudness for any value greater than that. - VolumeGainDb float64 `protobuf:"fixed64,4,opt,name=volume_gain_db,json=volumeGainDb,proto3" json:"volume_gain_db,omitempty"` - // Optional. The synthesis sample rate (in hertz) for this audio. When this is - // specified in SynthesizeSpeechRequest, if this is different from the voice's - // natural sample rate, then the synthesizer will honor this request by - // converting to the desired sample rate (which might result in worse audio - // quality), unless the specified sample rate is not supported for the - // encoding chosen, in which case it will fail the request and return - // [google.rpc.Code.INVALID_ARGUMENT][]. - SampleRateHertz int32 `protobuf:"varint,5,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"` - // Optional. Input only. An identifier which selects 'audio effects' profiles - // that are applied on (post synthesized) text to speech. Effects are applied - // on top of each other in the order they are given. See - // [audio - // profiles](https://cloud.google.com/text-to-speech/docs/audio-profiles) for - // current supported profile ids. - EffectsProfileId []string `protobuf:"bytes,6,rep,name=effects_profile_id,json=effectsProfileId,proto3" json:"effects_profile_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b86cfe431745e140, []int{6} -} - -func (m *AudioConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AudioConfig.Unmarshal(m, b) -} -func (m *AudioConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AudioConfig.Marshal(b, m, deterministic) -} -func (m *AudioConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_AudioConfig.Merge(m, src) -} -func (m *AudioConfig) XXX_Size() int { - return xxx_messageInfo_AudioConfig.Size(m) -} -func (m *AudioConfig) XXX_DiscardUnknown() { - xxx_messageInfo_AudioConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_AudioConfig proto.InternalMessageInfo - -func (m *AudioConfig) GetAudioEncoding() AudioEncoding { - if m != nil { - return m.AudioEncoding - } - return AudioEncoding_AUDIO_ENCODING_UNSPECIFIED -} - -func (m *AudioConfig) GetSpeakingRate() float64 { - if m != nil { - return m.SpeakingRate - } - return 0 -} - -func (m *AudioConfig) GetPitch() float64 { - if m != nil { - return m.Pitch - } - return 0 -} - -func (m *AudioConfig) GetVolumeGainDb() float64 { - if m != nil { - return m.VolumeGainDb - } - return 0 -} - -func (m *AudioConfig) GetSampleRateHertz() int32 { - if m != nil { - return m.SampleRateHertz - } - return 0 -} - -func (m *AudioConfig) GetEffectsProfileId() []string { - if m != nil { - return m.EffectsProfileId - } - return nil -} - -// The message returned to the client by the `SynthesizeSpeech` method. -type SynthesizeSpeechResponse struct { - // The audio data bytes encoded as specified in the request, including the - // header for encodings that are wrapped in containers (e.g. MP3, OGG_OPUS). - // For LINEAR16 audio, we include the WAV header. Note: as - // with all bytes fields, protobuffers use a pure binary representation, - // whereas JSON representations use base64. - AudioContent []byte `protobuf:"bytes,1,opt,name=audio_content,json=audioContent,proto3" json:"audio_content,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SynthesizeSpeechResponse) Reset() { *m = SynthesizeSpeechResponse{} } -func (m *SynthesizeSpeechResponse) String() string { return proto.CompactTextString(m) } -func (*SynthesizeSpeechResponse) ProtoMessage() {} -func (*SynthesizeSpeechResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b86cfe431745e140, []int{7} -} - -func (m *SynthesizeSpeechResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SynthesizeSpeechResponse.Unmarshal(m, b) -} -func (m *SynthesizeSpeechResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SynthesizeSpeechResponse.Marshal(b, m, deterministic) -} -func (m *SynthesizeSpeechResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SynthesizeSpeechResponse.Merge(m, src) -} -func (m *SynthesizeSpeechResponse) XXX_Size() int { - return xxx_messageInfo_SynthesizeSpeechResponse.Size(m) -} -func (m *SynthesizeSpeechResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SynthesizeSpeechResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SynthesizeSpeechResponse proto.InternalMessageInfo - -func (m *SynthesizeSpeechResponse) GetAudioContent() []byte { - if m != nil { - return m.AudioContent - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.texttospeech.v1.SsmlVoiceGender", SsmlVoiceGender_name, SsmlVoiceGender_value) - proto.RegisterEnum("google.cloud.texttospeech.v1.AudioEncoding", AudioEncoding_name, AudioEncoding_value) - proto.RegisterType((*ListVoicesRequest)(nil), "google.cloud.texttospeech.v1.ListVoicesRequest") - proto.RegisterType((*ListVoicesResponse)(nil), "google.cloud.texttospeech.v1.ListVoicesResponse") - proto.RegisterType((*Voice)(nil), "google.cloud.texttospeech.v1.Voice") - proto.RegisterType((*SynthesizeSpeechRequest)(nil), "google.cloud.texttospeech.v1.SynthesizeSpeechRequest") - proto.RegisterType((*SynthesisInput)(nil), "google.cloud.texttospeech.v1.SynthesisInput") - proto.RegisterType((*VoiceSelectionParams)(nil), "google.cloud.texttospeech.v1.VoiceSelectionParams") - proto.RegisterType((*AudioConfig)(nil), "google.cloud.texttospeech.v1.AudioConfig") - proto.RegisterType((*SynthesizeSpeechResponse)(nil), "google.cloud.texttospeech.v1.SynthesizeSpeechResponse") -} - -func init() { - proto.RegisterFile("google/cloud/texttospeech/v1/cloud_tts.proto", fileDescriptor_b86cfe431745e140) -} - -var fileDescriptor_b86cfe431745e140 = []byte{ - // 1014 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x56, 0x4f, 0x6f, 0x1b, 0x45, - 0x14, 0xef, 0xda, 0x71, 0xda, 0x3e, 0xff, 0xa9, 0x33, 0x54, 0xd4, 0x98, 0x00, 0x61, 0x2b, 0xa4, - 0x90, 0xa6, 0x5e, 0xe2, 0x42, 0xa5, 0xa6, 0x42, 0x68, 0xe3, 0x6c, 0x1d, 0x4b, 0x8e, 0xed, 0xae, - 0x93, 0x54, 0x42, 0x91, 0x56, 0x93, 0xdd, 0xf1, 0x7a, 0xc5, 0x7a, 0x67, 0xd9, 0x19, 0x27, 0xa5, - 0x47, 0xc4, 0x37, 0xe8, 0x57, 0xe0, 0xc4, 0x99, 0x23, 0x27, 0x0e, 0x1c, 0x2a, 0x71, 0x81, 0x5b, - 0x4f, 0x3d, 0xf0, 0x21, 0x38, 0xa2, 0x99, 0xd9, 0x24, 0xeb, 0xa4, 0x32, 0xe1, 0xc2, 0x6d, 0xe7, - 0xfd, 0xf9, 0xbd, 0xdf, 0x7b, 0xf3, 0xde, 0x9b, 0x85, 0x75, 0x9f, 0x52, 0x3f, 0x24, 0x86, 0x1b, - 0xd2, 0xa9, 0x67, 0x70, 0xf2, 0x9c, 0x73, 0xca, 0x62, 0x42, 0xdc, 0xb1, 0x71, 0xbc, 0xa1, 0xa4, - 0x0e, 0xe7, 0xac, 0x11, 0x27, 0x94, 0x53, 0xb4, 0xac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, - 0xa9, 0xf5, 0xec, 0xe2, 0x92, 0x94, 0x6b, 0xfa, 0x3b, 0x82, 0xb2, 0x00, 0xdc, 0x64, 0x67, 0x28, - 0x9b, 0xda, 0x5a, 0xbd, 0xff, 0xca, 0x7c, 0x7f, 0x26, 0x8e, 0x62, 0x80, 0xe3, 0x80, 0x35, 0x5c, - 0x3a, 0xf9, 0xc3, 0x6c, 0x8c, 0x39, 0x8f, 0xd9, 0xa6, 0x61, 0x9c, 0x9c, 0x9c, 0x5c, 0x50, 0x1a, - 0x78, 0xca, 0xc7, 0xea, 0x11, 0xbf, 0x1f, 0x87, 0x98, 0x8f, 0x68, 0x32, 0xd9, 0xfa, 0x55, 0x83, - 0x15, 0x97, 0x4e, 0xe6, 0x66, 0xb2, 0xb5, 0x94, 0xbd, 0xd8, 0x81, 0x78, 0x85, 0x07, 0xda, 0xd7, - 0x3b, 0xa9, 0x8b, 0x4f, 0x45, 0xcd, 0x1b, 0x34, 0xf1, 0x0d, 0x9f, 0x44, 0xf2, 0x8d, 0x36, 0xce, - 0x03, 0xbf, 0xfd, 0x57, 0xe2, 0x71, 0xf6, 0xfc, 0xb7, 0xa6, 0xfd, 0x94, 0x5b, 0x6e, 0x2b, 0xb4, - 0x96, 0x24, 0x90, 0x8d, 0xd7, 0x38, 0xd8, 0x78, 0x75, 0xaa, 0x3e, 0x94, 0xea, 0xc3, 0xac, 0xfa, - 0xf0, 0x60, 0xe3, 0x68, 0x51, 0x46, 0x7d, 0xf0, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x32, 0x3e, - 0x23, 0x96, 0xbf, 0x08, 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 - -// TextToSpeechClient is the client API for TextToSpeech service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type TextToSpeechClient interface { - // Returns a list of Voice supported for synthesis. - ListVoices(ctx context.Context, in *ListVoicesRequest, opts ...grpc.CallOption) (*ListVoicesResponse, error) - // Synthesizes speech synchronously: receive results after all text input - // has been processed. - SynthesizeSpeech(ctx context.Context, in *SynthesizeSpeechRequest, opts ...grpc.CallOption) (*SynthesizeSpeechResponse, error) -} - -type textToSpeechClient struct { - cc *grpc.ClientConn -} - -func NewTextToSpeechClient(cc *grpc.ClientConn) TextToSpeechClient { - return &textToSpeechClient{cc} -} - -func (c *textToSpeechClient) ListVoices(ctx context.Context, in *ListVoicesRequest, opts ...grpc.CallOption) (*ListVoicesResponse, error) { - out := new(ListVoicesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.texttospeech.v1.TextToSpeech/ListVoices", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *textToSpeechClient) SynthesizeSpeech(ctx context.Context, in *SynthesizeSpeechRequest, opts ...grpc.CallOption) (*SynthesizeSpeechResponse, error) { - out := new(SynthesizeSpeechResponse) - err := c.cc.Invoke(ctx, "/google.cloud.texttospeech.v1.TextToSpeech/SynthesizeSpeech", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// TextToSpeechServer is the server API for TextToSpeech service. -type TextToSpeechServer interface { - // Returns a list of Voice supported for synthesis. - ListVoices(context.Context, *ListVoicesRequest) (*ListVoicesResponse, error) - // Synthesizes speech synchronously: receive results after all text input - // has been processed. - SynthesizeSpeech(context.Context, *SynthesizeSpeechRequest) (*SynthesizeSpeechResponse, error) -} - -// UnimplementedTextToSpeechServer can be embedded to have forward compatible implementations. -type UnimplementedTextToSpeechServer struct { -} - -func (*UnimplementedTextToSpeechServer) ListVoices(ctx context.Context, req *ListVoicesRequest) (*ListVoicesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListVoices not implemented") -} -func (*UnimplementedTextToSpeechServer) SynthesizeSpeech(ctx context.Context, req *SynthesizeSpeechRequest) (*SynthesizeSpeechResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SynthesizeSpeech not implemented") -} - -func RegisterTextToSpeechServer(s *grpc.Server, srv TextToSpeechServer) { - s.RegisterService(&_TextToSpeech_serviceDesc, srv) -} - -func _TextToSpeech_ListVoices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListVoicesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TextToSpeechServer).ListVoices(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.texttospeech.v1.TextToSpeech/ListVoices", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TextToSpeechServer).ListVoices(ctx, req.(*ListVoicesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TextToSpeech_SynthesizeSpeech_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SynthesizeSpeechRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TextToSpeechServer).SynthesizeSpeech(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.texttospeech.v1.TextToSpeech/SynthesizeSpeech", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TextToSpeechServer).SynthesizeSpeech(ctx, req.(*SynthesizeSpeechRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _TextToSpeech_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.texttospeech.v1.TextToSpeech", - HandlerType: (*TextToSpeechServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListVoices", - Handler: _TextToSpeech_ListVoices_Handler, - }, - { - MethodName: "SynthesizeSpeech", - Handler: _TextToSpeech_SynthesizeSpeech_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/texttospeech/v1/cloud_tts.proto", -} 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 deleted file mode 100644 index bdc57ccf..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/texttospeech/v1beta1/cloud_tts.pb.go +++ /dev/null @@ -1,848 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/texttospeech/v1beta1/cloud_tts.proto - -package texttospeech - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Gender of the voice as described in -// [SSML voice element](https://www.w3.org/TR/speech-synthesis11/#edef_voice). -type SsmlVoiceGender int32 - -const ( - // An unspecified gender. - // In VoiceSelectionParams, this means that the client doesn't care which - // gender the selected voice will have. In the Voice field of - // ListVoicesResponse, this may mean that the voice doesn't fit any of the - // other categories in this enum, or that the gender of the voice isn't known. - SsmlVoiceGender_SSML_VOICE_GENDER_UNSPECIFIED SsmlVoiceGender = 0 - // A male voice. - SsmlVoiceGender_MALE SsmlVoiceGender = 1 - // A female voice. - SsmlVoiceGender_FEMALE SsmlVoiceGender = 2 - // A gender-neutral voice. - SsmlVoiceGender_NEUTRAL SsmlVoiceGender = 3 -) - -var SsmlVoiceGender_name = map[int32]string{ - 0: "SSML_VOICE_GENDER_UNSPECIFIED", - 1: "MALE", - 2: "FEMALE", - 3: "NEUTRAL", -} - -var SsmlVoiceGender_value = map[string]int32{ - "SSML_VOICE_GENDER_UNSPECIFIED": 0, - "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_dfc2f1f47f5721c8, []int{0} -} - -// Configuration to set up audio encoder. The encoding determines the output -// audio format that we'd like. -type AudioEncoding int32 - -const ( - // Not specified. Will return result [google.rpc.Code.INVALID_ARGUMENT][]. - AudioEncoding_AUDIO_ENCODING_UNSPECIFIED AudioEncoding = 0 - // Uncompressed 16-bit signed little-endian samples (Linear PCM). - // Audio content returned as LINEAR16 also contains a WAV header. - AudioEncoding_LINEAR16 AudioEncoding = 1 - // MP3 audio at 32kbps. - AudioEncoding_MP3 AudioEncoding = 2 - // Opus encoded audio wrapped in an ogg container. The result will be a - // file which can be played natively on Android, and in browsers (at least - // Chrome and Firefox). The quality of the encoding is considerably higher - // than MP3 while using approximately the same bitrate. - AudioEncoding_OGG_OPUS AudioEncoding = 3 -) - -var AudioEncoding_name = map[int32]string{ - 0: "AUDIO_ENCODING_UNSPECIFIED", - 1: "LINEAR16", - 2: "MP3", - 3: "OGG_OPUS", -} - -var AudioEncoding_value = map[string]int32{ - "AUDIO_ENCODING_UNSPECIFIED": 0, - "LINEAR16": 1, - "MP3": 2, - "OGG_OPUS": 3, -} - -func (x AudioEncoding) String() string { - return proto.EnumName(AudioEncoding_name, int32(x)) -} - -func (AudioEncoding) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dfc2f1f47f5721c8, []int{1} -} - -// The top-level message sent by the client for the `ListVoices` method. -type ListVoicesRequest struct { - // Optional. Recommended. - // [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If - // specified, the ListVoices call will only return voices that can be used to - // synthesize this language_code. E.g. when specifying "en-NZ", you will get - // supported "en-*" voices; when specifying "no", you will get supported - // "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh" - // will also get supported "cmn-*" voices; specifying "zh-hk" will also get - // supported "yue-*" voices. - LanguageCode string `protobuf:"bytes,1,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 *ListVoicesRequest) Reset() { *m = ListVoicesRequest{} } -func (m *ListVoicesRequest) String() string { return proto.CompactTextString(m) } -func (*ListVoicesRequest) ProtoMessage() {} -func (*ListVoicesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dfc2f1f47f5721c8, []int{0} -} - -func (m *ListVoicesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListVoicesRequest.Unmarshal(m, b) -} -func (m *ListVoicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListVoicesRequest.Marshal(b, m, deterministic) -} -func (m *ListVoicesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListVoicesRequest.Merge(m, src) -} -func (m *ListVoicesRequest) XXX_Size() int { - return xxx_messageInfo_ListVoicesRequest.Size(m) -} -func (m *ListVoicesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListVoicesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListVoicesRequest proto.InternalMessageInfo - -func (m *ListVoicesRequest) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -// The message returned to the client by the `ListVoices` method. -type ListVoicesResponse struct { - // The list of voices. - Voices []*Voice `protobuf:"bytes,1,rep,name=voices,proto3" json:"voices,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_dfc2f1f47f5721c8, []int{1} -} - -func (m *ListVoicesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListVoicesResponse.Unmarshal(m, b) -} -func (m *ListVoicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListVoicesResponse.Marshal(b, m, deterministic) -} -func (m *ListVoicesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListVoicesResponse.Merge(m, src) -} -func (m *ListVoicesResponse) XXX_Size() int { - return xxx_messageInfo_ListVoicesResponse.Size(m) -} -func (m *ListVoicesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListVoicesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListVoicesResponse proto.InternalMessageInfo - -func (m *ListVoicesResponse) GetVoices() []*Voice { - if m != nil { - return m.Voices - } - return nil -} - -// Description of a voice supported by the TTS service. -type Voice struct { - // The languages that this voice supports, expressed as - // [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags (e.g. - // "en-US", "es-419", "cmn-tw"). - LanguageCodes []string `protobuf:"bytes,1,rep,name=language_codes,json=languageCodes,proto3" json:"language_codes,omitempty"` - // The name of this voice. Each distinct voice has a unique name. - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - // The gender of this voice. - SsmlGender SsmlVoiceGender `protobuf:"varint,3,opt,name=ssml_gender,json=ssmlGender,proto3,enum=google.cloud.texttospeech.v1beta1.SsmlVoiceGender" json:"ssml_gender,omitempty"` - // The natural sample rate (in hertz) for this voice. - NaturalSampleRateHertz int32 `protobuf:"varint,4,opt,name=natural_sample_rate_hertz,json=naturalSampleRateHertz,proto3" json:"natural_sample_rate_hertz,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_dfc2f1f47f5721c8, []int{2} -} - -func (m *Voice) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Voice.Unmarshal(m, b) -} -func (m *Voice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Voice.Marshal(b, m, deterministic) -} -func (m *Voice) XXX_Merge(src proto.Message) { - xxx_messageInfo_Voice.Merge(m, src) -} -func (m *Voice) XXX_Size() int { - return xxx_messageInfo_Voice.Size(m) -} -func (m *Voice) XXX_DiscardUnknown() { - xxx_messageInfo_Voice.DiscardUnknown(m) -} - -var xxx_messageInfo_Voice proto.InternalMessageInfo - -func (m *Voice) GetLanguageCodes() []string { - if m != nil { - return m.LanguageCodes - } - return nil -} - -func (m *Voice) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Voice) GetSsmlGender() SsmlVoiceGender { - if m != nil { - return m.SsmlGender - } - return SsmlVoiceGender_SSML_VOICE_GENDER_UNSPECIFIED -} - -func (m *Voice) GetNaturalSampleRateHertz() int32 { - if m != nil { - return m.NaturalSampleRateHertz - } - return 0 -} - -// The top-level message sent by the client for the `SynthesizeSpeech` method. -type SynthesizeSpeechRequest struct { - // Required. The Synthesizer requires either plain text or SSML as input. - Input *SynthesisInput `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"` - // Required. The desired voice of the synthesized audio. - Voice *VoiceSelectionParams `protobuf:"bytes,2,opt,name=voice,proto3" json:"voice,omitempty"` - // Required. The configuration of the synthesized audio. - AudioConfig *AudioConfig `protobuf:"bytes,3,opt,name=audio_config,json=audioConfig,proto3" json:"audio_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_dfc2f1f47f5721c8, []int{3} -} - -func (m *SynthesizeSpeechRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SynthesizeSpeechRequest.Unmarshal(m, b) -} -func (m *SynthesizeSpeechRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SynthesizeSpeechRequest.Marshal(b, m, deterministic) -} -func (m *SynthesizeSpeechRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SynthesizeSpeechRequest.Merge(m, src) -} -func (m *SynthesizeSpeechRequest) XXX_Size() int { - return xxx_messageInfo_SynthesizeSpeechRequest.Size(m) -} -func (m *SynthesizeSpeechRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SynthesizeSpeechRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SynthesizeSpeechRequest proto.InternalMessageInfo - -func (m *SynthesizeSpeechRequest) GetInput() *SynthesisInput { - if m != nil { - return m.Input - } - return nil -} - -func (m *SynthesizeSpeechRequest) GetVoice() *VoiceSelectionParams { - if m != nil { - return m.Voice - } - return nil -} - -func (m *SynthesizeSpeechRequest) GetAudioConfig() *AudioConfig { - if m != nil { - return m.AudioConfig - } - return nil -} - -// Contains text input to be synthesized. Either `text` or `ssml` must be -// supplied. Supplying both or neither returns -// [google.rpc.Code.INVALID_ARGUMENT][]. The input size is limited to 5000 -// characters. -type SynthesisInput struct { - // The input source, which is either plain text or SSML. - // - // Types that are valid to be assigned to InputSource: - // *SynthesisInput_Text - // *SynthesisInput_Ssml - InputSource isSynthesisInput_InputSource `protobuf_oneof:"input_source"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_dfc2f1f47f5721c8, []int{4} -} - -func (m *SynthesisInput) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SynthesisInput.Unmarshal(m, b) -} -func (m *SynthesisInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SynthesisInput.Marshal(b, m, deterministic) -} -func (m *SynthesisInput) XXX_Merge(src proto.Message) { - xxx_messageInfo_SynthesisInput.Merge(m, src) -} -func (m *SynthesisInput) XXX_Size() int { - return xxx_messageInfo_SynthesisInput.Size(m) -} -func (m *SynthesisInput) XXX_DiscardUnknown() { - xxx_messageInfo_SynthesisInput.DiscardUnknown(m) -} - -var xxx_messageInfo_SynthesisInput proto.InternalMessageInfo - -type isSynthesisInput_InputSource interface { - isSynthesisInput_InputSource() -} - -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 { - if m != nil { - return m.InputSource - } - return nil -} - -func (m *SynthesisInput) GetText() string { - if x, ok := m.GetInputSource().(*SynthesisInput_Text); ok { - return x.Text - } - return "" -} - -func (m *SynthesisInput) GetSsml() string { - if x, ok := m.GetInputSource().(*SynthesisInput_Ssml); ok { - return x.Ssml - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*SynthesisInput) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*SynthesisInput_Text)(nil), - (*SynthesisInput_Ssml)(nil), - } -} - -// Description of which voice to use for a synthesis request. -type VoiceSelectionParams struct { - // Required. The language (and potentially also the region) of the voice expressed as a - // [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag, e.g. - // "en-US". This should not include a script tag (e.g. use - // "cmn-cn" rather than "cmn-Hant-cn"), because the script will be inferred - // from the input provided in the SynthesisInput. The TTS service - // will use this parameter to help choose an appropriate voice. Note that - // the TTS service may choose a voice with a slightly different language code - // than the one selected; it may substitute a different region - // (e.g. using en-US rather than en-CA if there isn't a Canadian voice - // available), or even a different language, e.g. using "nb" (Norwegian - // Bokmal) instead of "no" (Norwegian)". - LanguageCode string `protobuf:"bytes,1,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // The name of the voice. If not set, the service will choose a - // voice based on the other parameters such as language_code and gender. - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - // The preferred gender of the voice. If not set, the service will - // choose a voice based on the other parameters such as language_code and - // name. Note that this is only a preference, not requirement; if a - // voice of the appropriate gender is not available, the synthesizer should - // substitute a voice with a different gender rather than failing the request. - SsmlGender SsmlVoiceGender `protobuf:"varint,3,opt,name=ssml_gender,json=ssmlGender,proto3,enum=google.cloud.texttospeech.v1beta1.SsmlVoiceGender" json:"ssml_gender,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_dfc2f1f47f5721c8, []int{5} -} - -func (m *VoiceSelectionParams) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VoiceSelectionParams.Unmarshal(m, b) -} -func (m *VoiceSelectionParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VoiceSelectionParams.Marshal(b, m, deterministic) -} -func (m *VoiceSelectionParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_VoiceSelectionParams.Merge(m, src) -} -func (m *VoiceSelectionParams) XXX_Size() int { - return xxx_messageInfo_VoiceSelectionParams.Size(m) -} -func (m *VoiceSelectionParams) XXX_DiscardUnknown() { - xxx_messageInfo_VoiceSelectionParams.DiscardUnknown(m) -} - -var xxx_messageInfo_VoiceSelectionParams proto.InternalMessageInfo - -func (m *VoiceSelectionParams) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *VoiceSelectionParams) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *VoiceSelectionParams) GetSsmlGender() SsmlVoiceGender { - if m != nil { - return m.SsmlGender - } - return SsmlVoiceGender_SSML_VOICE_GENDER_UNSPECIFIED -} - -// Description of audio data to be synthesized. -type AudioConfig struct { - // Required. The format of the audio byte stream. - AudioEncoding AudioEncoding `protobuf:"varint,1,opt,name=audio_encoding,json=audioEncoding,proto3,enum=google.cloud.texttospeech.v1beta1.AudioEncoding" json:"audio_encoding,omitempty"` - // Optional. Input only. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is - // the normal native speed supported by the specific voice. 2.0 is twice as - // fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 - // speed. Any other values < 0.25 or > 4.0 will return an error. - SpeakingRate float64 `protobuf:"fixed64,2,opt,name=speaking_rate,json=speakingRate,proto3" json:"speaking_rate,omitempty"` - // Optional. Input only. Speaking pitch, in the range [-20.0, 20.0]. 20 means - // increase 20 semitones from the original pitch. -20 means decrease 20 - // semitones from the original pitch. - Pitch float64 `protobuf:"fixed64,3,opt,name=pitch,proto3" json:"pitch,omitempty"` - // Optional. Input only. Volume gain (in dB) of the normal native volume - // supported by the specific voice, in the range [-96.0, 16.0]. If unset, or - // set to a value of 0.0 (dB), will play at normal native signal amplitude. A - // value of -6.0 (dB) will play at approximately half the amplitude of the - // normal native signal amplitude. A value of +6.0 (dB) will play at - // approximately twice the amplitude of the normal native signal amplitude. - // Strongly recommend not to exceed +10 (dB) as there's usually no effective - // increase in loudness for any value greater than that. - VolumeGainDb float64 `protobuf:"fixed64,4,opt,name=volume_gain_db,json=volumeGainDb,proto3" json:"volume_gain_db,omitempty"` - // Optional. The synthesis sample rate (in hertz) for this audio. When this is - // specified in SynthesizeSpeechRequest, if this is different from the voice's - // natural sample rate, then the synthesizer will honor this request by - // converting to the desired sample rate (which might result in worse audio - // quality), unless the specified sample rate is not supported for the - // encoding chosen, in which case it will fail the request and return - // [google.rpc.Code.INVALID_ARGUMENT][]. - SampleRateHertz int32 `protobuf:"varint,5,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"` - // Optional. Input only. An identifier which selects 'audio effects' profiles - // that are applied on (post synthesized) text to speech. Effects are applied - // on top of each other in the order they are given. See - // [audio - // profiles](https://cloud.google.com/text-to-speech/docs/audio-profiles) for - // current supported profile ids. - EffectsProfileId []string `protobuf:"bytes,6,rep,name=effects_profile_id,json=effectsProfileId,proto3" json:"effects_profile_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_dfc2f1f47f5721c8, []int{6} -} - -func (m *AudioConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AudioConfig.Unmarshal(m, b) -} -func (m *AudioConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AudioConfig.Marshal(b, m, deterministic) -} -func (m *AudioConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_AudioConfig.Merge(m, src) -} -func (m *AudioConfig) XXX_Size() int { - return xxx_messageInfo_AudioConfig.Size(m) -} -func (m *AudioConfig) XXX_DiscardUnknown() { - xxx_messageInfo_AudioConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_AudioConfig proto.InternalMessageInfo - -func (m *AudioConfig) GetAudioEncoding() AudioEncoding { - if m != nil { - return m.AudioEncoding - } - return AudioEncoding_AUDIO_ENCODING_UNSPECIFIED -} - -func (m *AudioConfig) GetSpeakingRate() float64 { - if m != nil { - return m.SpeakingRate - } - return 0 -} - -func (m *AudioConfig) GetPitch() float64 { - if m != nil { - return m.Pitch - } - return 0 -} - -func (m *AudioConfig) GetVolumeGainDb() float64 { - if m != nil { - return m.VolumeGainDb - } - return 0 -} - -func (m *AudioConfig) GetSampleRateHertz() int32 { - if m != nil { - return m.SampleRateHertz - } - return 0 -} - -func (m *AudioConfig) GetEffectsProfileId() []string { - if m != nil { - return m.EffectsProfileId - } - return nil -} - -// The message returned to the client by the `SynthesizeSpeech` method. -type SynthesizeSpeechResponse struct { - // The audio data bytes encoded as specified in the request, including the - // header for encodings that are wrapped in containers (e.g. MP3, OGG_OPUS). - // For LINEAR16 audio, we include the WAV header. Note: as - // with all bytes fields, protobuffers use a pure binary representation, - // whereas JSON representations use base64. - AudioContent []byte `protobuf:"bytes,1,opt,name=audio_content,json=audioContent,proto3" json:"audio_content,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SynthesizeSpeechResponse) Reset() { *m = SynthesizeSpeechResponse{} } -func (m *SynthesizeSpeechResponse) String() string { return proto.CompactTextString(m) } -func (*SynthesizeSpeechResponse) ProtoMessage() {} -func (*SynthesizeSpeechResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dfc2f1f47f5721c8, []int{7} -} - -func (m *SynthesizeSpeechResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SynthesizeSpeechResponse.Unmarshal(m, b) -} -func (m *SynthesizeSpeechResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SynthesizeSpeechResponse.Marshal(b, m, deterministic) -} -func (m *SynthesizeSpeechResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SynthesizeSpeechResponse.Merge(m, src) -} -func (m *SynthesizeSpeechResponse) XXX_Size() int { - return xxx_messageInfo_SynthesizeSpeechResponse.Size(m) -} -func (m *SynthesizeSpeechResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SynthesizeSpeechResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SynthesizeSpeechResponse proto.InternalMessageInfo - -func (m *SynthesizeSpeechResponse) GetAudioContent() []byte { - if m != nil { - return m.AudioContent - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.texttospeech.v1beta1.SsmlVoiceGender", SsmlVoiceGender_name, SsmlVoiceGender_value) - proto.RegisterEnum("google.cloud.texttospeech.v1beta1.AudioEncoding", AudioEncoding_name, AudioEncoding_value) - proto.RegisterType((*ListVoicesRequest)(nil), "google.cloud.texttospeech.v1beta1.ListVoicesRequest") - proto.RegisterType((*ListVoicesResponse)(nil), "google.cloud.texttospeech.v1beta1.ListVoicesResponse") - proto.RegisterType((*Voice)(nil), "google.cloud.texttospeech.v1beta1.Voice") - proto.RegisterType((*SynthesizeSpeechRequest)(nil), "google.cloud.texttospeech.v1beta1.SynthesizeSpeechRequest") - proto.RegisterType((*SynthesisInput)(nil), "google.cloud.texttospeech.v1beta1.SynthesisInput") - proto.RegisterType((*VoiceSelectionParams)(nil), "google.cloud.texttospeech.v1beta1.VoiceSelectionParams") - proto.RegisterType((*AudioConfig)(nil), "google.cloud.texttospeech.v1beta1.AudioConfig") - proto.RegisterType((*SynthesizeSpeechResponse)(nil), "google.cloud.texttospeech.v1beta1.SynthesizeSpeechResponse") -} - -func init() { - proto.RegisterFile("google/cloud/texttospeech/v1beta1/cloud_tts.proto", fileDescriptor_dfc2f1f47f5721c8) -} - -var fileDescriptor_dfc2f1f47f5721c8 = []byte{ - // 1014 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x56, 0xcd, 0x6e, 0xdb, 0x46, - 0x10, 0x0e, 0x25, 0xcb, 0x49, 0x46, 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39, 0xed, 0xac, 0xa6, 0x7b, 0x3f, 0x10, 0xdf, 0xf2, 0x81, 0xf6, 0xe3, - 0x5e, 0x82, 0xf3, 0xa8, 0x68, 0x86, 0x4e, 0x63, 0xaf, 0xe1, 0x91, 0x50, 0x7e, 0xe9, 0x1b, 0x97, - 0xde, 0x5f, 0xf3, 0x6b, 0xf2, 0x30, 0x2d, 0xfc, 0x47, 0xd3, 0xfe, 0xc8, 0xac, 0xb7, 0x15, 0x65, - 0x4b, 0x86, 0x92, 0x76, 0xaa, 0x1f, 0x2a, 0xcc, 0xf3, 0x73, 0x9b, 0x23, 0x69, 0x73, 0x94, 0xb6, - 0x39, 0x4a, 0x6c, 0x8e, 0x97, 0x65, 0x10, 0xf7, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x03, 0x91, - 0x60, 0xd4, 0x1e, 0x09, 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 - -// TextToSpeechClient is the client API for TextToSpeech service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type TextToSpeechClient interface { - // Returns a list of Voice supported for synthesis. - ListVoices(ctx context.Context, in *ListVoicesRequest, opts ...grpc.CallOption) (*ListVoicesResponse, error) - // Synthesizes speech synchronously: receive results after all text input - // has been processed. - SynthesizeSpeech(ctx context.Context, in *SynthesizeSpeechRequest, opts ...grpc.CallOption) (*SynthesizeSpeechResponse, error) -} - -type textToSpeechClient struct { - cc *grpc.ClientConn -} - -func NewTextToSpeechClient(cc *grpc.ClientConn) TextToSpeechClient { - return &textToSpeechClient{cc} -} - -func (c *textToSpeechClient) ListVoices(ctx context.Context, in *ListVoicesRequest, opts ...grpc.CallOption) (*ListVoicesResponse, error) { - out := new(ListVoicesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.texttospeech.v1beta1.TextToSpeech/ListVoices", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *textToSpeechClient) SynthesizeSpeech(ctx context.Context, in *SynthesizeSpeechRequest, opts ...grpc.CallOption) (*SynthesizeSpeechResponse, error) { - out := new(SynthesizeSpeechResponse) - err := c.cc.Invoke(ctx, "/google.cloud.texttospeech.v1beta1.TextToSpeech/SynthesizeSpeech", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// TextToSpeechServer is the server API for TextToSpeech service. -type TextToSpeechServer interface { - // Returns a list of Voice supported for synthesis. - ListVoices(context.Context, *ListVoicesRequest) (*ListVoicesResponse, error) - // Synthesizes speech synchronously: receive results after all text input - // has been processed. - SynthesizeSpeech(context.Context, *SynthesizeSpeechRequest) (*SynthesizeSpeechResponse, error) -} - -// UnimplementedTextToSpeechServer can be embedded to have forward compatible implementations. -type UnimplementedTextToSpeechServer struct { -} - -func (*UnimplementedTextToSpeechServer) ListVoices(ctx context.Context, req *ListVoicesRequest) (*ListVoicesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListVoices not implemented") -} -func (*UnimplementedTextToSpeechServer) SynthesizeSpeech(ctx context.Context, req *SynthesizeSpeechRequest) (*SynthesizeSpeechResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SynthesizeSpeech not implemented") -} - -func RegisterTextToSpeechServer(s *grpc.Server, srv TextToSpeechServer) { - s.RegisterService(&_TextToSpeech_serviceDesc, srv) -} - -func _TextToSpeech_ListVoices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListVoicesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TextToSpeechServer).ListVoices(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.texttospeech.v1beta1.TextToSpeech/ListVoices", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TextToSpeechServer).ListVoices(ctx, req.(*ListVoicesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TextToSpeech_SynthesizeSpeech_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SynthesizeSpeechRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TextToSpeechServer).SynthesizeSpeech(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.texttospeech.v1beta1.TextToSpeech/SynthesizeSpeech", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TextToSpeechServer).SynthesizeSpeech(ctx, req.(*SynthesizeSpeechRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _TextToSpeech_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.texttospeech.v1beta1.TextToSpeech", - HandlerType: (*TextToSpeechServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListVoices", - Handler: _TextToSpeech_ListVoices_Handler, - }, - { - MethodName: "SynthesizeSpeech", - Handler: _TextToSpeech_SynthesizeSpeech_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/texttospeech/v1beta1/cloud_tts.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/translate/v3/translation_service.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/translate/v3/translation_service.pb.go deleted file mode 100644 index a23f61b7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/translate/v3/translation_service.pb.go +++ /dev/null @@ -1,2764 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/translate/v3/translation_service.proto - -package translate - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// State of the job. -type BatchTranslateMetadata_State int32 - -const ( - // Invalid. - BatchTranslateMetadata_STATE_UNSPECIFIED BatchTranslateMetadata_State = 0 - // Request is being processed. - BatchTranslateMetadata_RUNNING BatchTranslateMetadata_State = 1 - // The batch is processed, and at least one item was successfully - // processed. - BatchTranslateMetadata_SUCCEEDED BatchTranslateMetadata_State = 2 - // The batch is done and no item was successfully processed. - BatchTranslateMetadata_FAILED BatchTranslateMetadata_State = 3 - // Request is in the process of being canceled after caller invoked - // longrunning.Operations.CancelOperation on the request id. - BatchTranslateMetadata_CANCELLING BatchTranslateMetadata_State = 4 - // The batch is done after the user has called the - // longrunning.Operations.CancelOperation. Any records processed before the - // cancel command are output as specified in the request. - BatchTranslateMetadata_CANCELLED BatchTranslateMetadata_State = 5 -) - -var BatchTranslateMetadata_State_name = map[int32]string{ - 0: "STATE_UNSPECIFIED", - 1: "RUNNING", - 2: "SUCCEEDED", - 3: "FAILED", - 4: "CANCELLING", - 5: "CANCELLED", -} - -var BatchTranslateMetadata_State_value = map[string]int32{ - "STATE_UNSPECIFIED": 0, - "RUNNING": 1, - "SUCCEEDED": 2, - "FAILED": 3, - "CANCELLING": 4, - "CANCELLED": 5, -} - -func (x BatchTranslateMetadata_State) String() string { - return proto.EnumName(BatchTranslateMetadata_State_name, int32(x)) -} - -func (BatchTranslateMetadata_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_310ad52ac0a2661e, []int{15, 0} -} - -// Enumerates the possible states that the creation request can be in. -type CreateGlossaryMetadata_State int32 - -const ( - // Invalid. - CreateGlossaryMetadata_STATE_UNSPECIFIED CreateGlossaryMetadata_State = 0 - // Request is being processed. - CreateGlossaryMetadata_RUNNING CreateGlossaryMetadata_State = 1 - // The glossary was successfully created. - CreateGlossaryMetadata_SUCCEEDED CreateGlossaryMetadata_State = 2 - // Failed to create the glossary. - CreateGlossaryMetadata_FAILED CreateGlossaryMetadata_State = 3 - // Request is in the process of being canceled after caller invoked - // longrunning.Operations.CancelOperation on the request id. - CreateGlossaryMetadata_CANCELLING CreateGlossaryMetadata_State = 4 - // The glossary creation request was successfully canceled. - CreateGlossaryMetadata_CANCELLED CreateGlossaryMetadata_State = 5 -) - -var CreateGlossaryMetadata_State_name = map[int32]string{ - 0: "STATE_UNSPECIFIED", - 1: "RUNNING", - 2: "SUCCEEDED", - 3: "FAILED", - 4: "CANCELLING", - 5: "CANCELLED", -} - -var CreateGlossaryMetadata_State_value = map[string]int32{ - "STATE_UNSPECIFIED": 0, - "RUNNING": 1, - "SUCCEEDED": 2, - "FAILED": 3, - "CANCELLING": 4, - "CANCELLED": 5, -} - -func (x CreateGlossaryMetadata_State) String() string { - return proto.EnumName(CreateGlossaryMetadata_State_name, int32(x)) -} - -func (CreateGlossaryMetadata_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_310ad52ac0a2661e, []int{24, 0} -} - -// Enumerates the possible states that the creation request can be in. -type DeleteGlossaryMetadata_State int32 - -const ( - // Invalid. - DeleteGlossaryMetadata_STATE_UNSPECIFIED DeleteGlossaryMetadata_State = 0 - // Request is being processed. - DeleteGlossaryMetadata_RUNNING DeleteGlossaryMetadata_State = 1 - // The glossary was successfully deleted. - DeleteGlossaryMetadata_SUCCEEDED DeleteGlossaryMetadata_State = 2 - // Failed to delete the glossary. - DeleteGlossaryMetadata_FAILED DeleteGlossaryMetadata_State = 3 - // Request is in the process of being canceled after caller invoked - // longrunning.Operations.CancelOperation on the request id. - DeleteGlossaryMetadata_CANCELLING DeleteGlossaryMetadata_State = 4 - // The glossary deletion request was successfully canceled. - DeleteGlossaryMetadata_CANCELLED DeleteGlossaryMetadata_State = 5 -) - -var DeleteGlossaryMetadata_State_name = map[int32]string{ - 0: "STATE_UNSPECIFIED", - 1: "RUNNING", - 2: "SUCCEEDED", - 3: "FAILED", - 4: "CANCELLING", - 5: "CANCELLED", -} - -var DeleteGlossaryMetadata_State_value = map[string]int32{ - "STATE_UNSPECIFIED": 0, - "RUNNING": 1, - "SUCCEEDED": 2, - "FAILED": 3, - "CANCELLING": 4, - "CANCELLED": 5, -} - -func (x DeleteGlossaryMetadata_State) String() string { - return proto.EnumName(DeleteGlossaryMetadata_State_name, int32(x)) -} - -func (DeleteGlossaryMetadata_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_310ad52ac0a2661e, []int{25, 0} -} - -// Configures which glossary should be used for a specific target language, -// and defines options for applying that glossary. -type TranslateTextGlossaryConfig struct { - // Required. Specifies the glossary used for this translation. Use - // this format: projects/*/locations/*/glossaries/* - Glossary string `protobuf:"bytes,1,opt,name=glossary,proto3" json:"glossary,omitempty"` - // Optional. Indicates match is case-insensitive. - // Default value is false if missing. - IgnoreCase bool `protobuf:"varint,2,opt,name=ignore_case,json=ignoreCase,proto3" json:"ignore_case,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TranslateTextGlossaryConfig) Reset() { *m = TranslateTextGlossaryConfig{} } -func (m *TranslateTextGlossaryConfig) String() string { return proto.CompactTextString(m) } -func (*TranslateTextGlossaryConfig) ProtoMessage() {} -func (*TranslateTextGlossaryConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_310ad52ac0a2661e, []int{0} -} - -func (m *TranslateTextGlossaryConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TranslateTextGlossaryConfig.Unmarshal(m, b) -} -func (m *TranslateTextGlossaryConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TranslateTextGlossaryConfig.Marshal(b, m, deterministic) -} -func (m *TranslateTextGlossaryConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_TranslateTextGlossaryConfig.Merge(m, src) -} -func (m *TranslateTextGlossaryConfig) XXX_Size() int { - return xxx_messageInfo_TranslateTextGlossaryConfig.Size(m) -} -func (m *TranslateTextGlossaryConfig) XXX_DiscardUnknown() { - xxx_messageInfo_TranslateTextGlossaryConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_TranslateTextGlossaryConfig proto.InternalMessageInfo - -func (m *TranslateTextGlossaryConfig) GetGlossary() string { - if m != nil { - return m.Glossary - } - return "" -} - -func (m *TranslateTextGlossaryConfig) GetIgnoreCase() bool { - if m != nil { - return m.IgnoreCase - } - return false -} - -// The request message for synchronous translation. -type TranslateTextRequest struct { - // Required. The content of the input in string format. - // We recommend the total content be less than 30k codepoints. - // Use BatchTranslateText for larger text. - Contents []string `protobuf:"bytes,1,rep,name=contents,proto3" json:"contents,omitempty"` - // Optional. The format of the source text, for example, "text/html", - // "text/plain". If left blank, the MIME type defaults to "text/html". - MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - // Optional. The BCP-47 language code of the input text if - // known, for example, "en-US" or "sr-Latn". Supported language codes are - // listed in Language Support. If the source language isn't specified, the API - // attempts to identify the source language automatically and returns the - // source language within the response. - SourceLanguageCode string `protobuf:"bytes,4,opt,name=source_language_code,json=sourceLanguageCode,proto3" json:"source_language_code,omitempty"` - // Required. The BCP-47 language code to use for translation of the input - // text, set to one of the language codes listed in Language Support. - TargetLanguageCode string `protobuf:"bytes,5,opt,name=target_language_code,json=targetLanguageCode,proto3" json:"target_language_code,omitempty"` - // Required. Project or location to make a call. Must refer to a caller's - // project. - // - // Format: `projects/{project-number-or-id}` or - // `projects/{project-number-or-id}/locations/{location-id}`. - // - // For global calls, use `projects/{project-number-or-id}/locations/global` or - // `projects/{project-number-or-id}`. - // - // Non-global location is required for requests using AutoML models or - // custom glossaries. - // - // Models and glossaries must be within the same region (have same - // location-id), otherwise an INVALID_ARGUMENT (400) error is returned. - Parent string `protobuf:"bytes,8,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. The `model` type requested for this translation. - // - // The format depends on model type: - // - // - AutoML Translation models: - // `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}` - // - // - General (built-in) models: - // `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`, - // `projects/{project-number-or-id}/locations/{location-id}/models/general/base` - // - // - // For global (non-regionalized) requests, use `location-id` `global`. - // For example, - // `projects/{project-number-or-id}/locations/global/models/general/nmt`. - // - // If missing, the system decides which google base model to use. - Model string `protobuf:"bytes,6,opt,name=model,proto3" json:"model,omitempty"` - // Optional. Glossary to be applied. The glossary must be - // within the same region (have the same location-id) as the model, otherwise - // an INVALID_ARGUMENT (400) error is returned. - GlossaryConfig *TranslateTextGlossaryConfig `protobuf:"bytes,7,opt,name=glossary_config,json=glossaryConfig,proto3" json:"glossary_config,omitempty"` - // Optional. The labels with user-defined metadata for the request. - // - // Label keys and values can be no longer than 63 characters - // (Unicode codepoints), can only contain lowercase letters, numeric - // characters, underscores and dashes. International characters are allowed. - // Label values are optional. Label keys must start with a letter. - // - // See https://cloud.google.com/translate/docs/labels for more information. - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TranslateTextRequest) Reset() { *m = TranslateTextRequest{} } -func (m *TranslateTextRequest) String() string { return proto.CompactTextString(m) } -func (*TranslateTextRequest) ProtoMessage() {} -func (*TranslateTextRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_310ad52ac0a2661e, []int{1} -} - -func (m *TranslateTextRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TranslateTextRequest.Unmarshal(m, b) -} -func (m *TranslateTextRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TranslateTextRequest.Marshal(b, m, deterministic) -} -func (m *TranslateTextRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_TranslateTextRequest.Merge(m, src) -} -func (m *TranslateTextRequest) XXX_Size() int { - return xxx_messageInfo_TranslateTextRequest.Size(m) -} -func (m *TranslateTextRequest) XXX_DiscardUnknown() { - xxx_messageInfo_TranslateTextRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_TranslateTextRequest proto.InternalMessageInfo - -func (m *TranslateTextRequest) GetContents() []string { - if m != nil { - return m.Contents - } - return nil -} - -func (m *TranslateTextRequest) GetMimeType() string { - if m != nil { - return m.MimeType - } - return "" -} - -func (m *TranslateTextRequest) GetSourceLanguageCode() string { - if m != nil { - return m.SourceLanguageCode - } - return "" -} - -func (m *TranslateTextRequest) GetTargetLanguageCode() string { - if m != nil { - return m.TargetLanguageCode - } - return "" -} - -func (m *TranslateTextRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *TranslateTextRequest) GetModel() string { - if m != nil { - return m.Model - } - return "" -} - -func (m *TranslateTextRequest) GetGlossaryConfig() *TranslateTextGlossaryConfig { - if m != nil { - return m.GlossaryConfig - } - return nil -} - -func (m *TranslateTextRequest) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -type TranslateTextResponse struct { - // Text translation responses with no glossary applied. - // This field has the same length as - // [`contents`][google.cloud.translation.v3.TranslateTextRequest.contents]. - Translations []*Translation `protobuf:"bytes,1,rep,name=translations,proto3" json:"translations,omitempty"` - // Text translation responses if a glossary is provided in the request. - // This can be the same as - // [`translations`][google.cloud.translation.v3.TranslateTextResponse.translations] - // if no terms apply. This field has the same length as - // [`contents`][google.cloud.translation.v3.TranslateTextRequest.contents]. - GlossaryTranslations []*Translation `protobuf:"bytes,3,rep,name=glossary_translations,json=glossaryTranslations,proto3" json:"glossary_translations,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TranslateTextResponse) Reset() { *m = TranslateTextResponse{} } -func (m *TranslateTextResponse) String() string { return proto.CompactTextString(m) } -func (*TranslateTextResponse) ProtoMessage() {} -func (*TranslateTextResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_310ad52ac0a2661e, []int{2} -} - -func (m *TranslateTextResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TranslateTextResponse.Unmarshal(m, b) -} -func (m *TranslateTextResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TranslateTextResponse.Marshal(b, m, deterministic) -} -func (m *TranslateTextResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_TranslateTextResponse.Merge(m, src) -} -func (m *TranslateTextResponse) XXX_Size() int { - return xxx_messageInfo_TranslateTextResponse.Size(m) -} -func (m *TranslateTextResponse) XXX_DiscardUnknown() { - xxx_messageInfo_TranslateTextResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_TranslateTextResponse proto.InternalMessageInfo - -func (m *TranslateTextResponse) GetTranslations() []*Translation { - if m != nil { - return m.Translations - } - return nil -} - -func (m *TranslateTextResponse) GetGlossaryTranslations() []*Translation { - if m != nil { - return m.GlossaryTranslations - } - return nil -} - -// A single translation response. -type Translation struct { - // Text translated into the target language. - TranslatedText string `protobuf:"bytes,1,opt,name=translated_text,json=translatedText,proto3" json:"translated_text,omitempty"` - // Only present when `model` is present in the request. - // `model` here is normalized to have project number. - // - // For example: - // If the `model` requested in TranslationTextRequest is - // `projects/{project-id}/locations/{location-id}/models/general/nmt` then - // `model` here would be normalized to - // `projects/{project-number}/locations/{location-id}/models/general/nmt`. - Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"` - // The BCP-47 language code of source text in the initial request, detected - // automatically, if no source language was passed within the initial - // request. If the source language was passed, auto-detection of the language - // does not occur and this field is empty. - DetectedLanguageCode string `protobuf:"bytes,4,opt,name=detected_language_code,json=detectedLanguageCode,proto3" json:"detected_language_code,omitempty"` - // The `glossary_config` used for this translation. - GlossaryConfig *TranslateTextGlossaryConfig `protobuf:"bytes,3,opt,name=glossary_config,json=glossaryConfig,proto3" json:"glossary_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Translation) Reset() { *m = Translation{} } -func (m *Translation) String() string { return proto.CompactTextString(m) } -func (*Translation) ProtoMessage() {} -func (*Translation) Descriptor() ([]byte, []int) { - return fileDescriptor_310ad52ac0a2661e, []int{3} -} - -func (m *Translation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Translation.Unmarshal(m, b) -} -func (m *Translation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Translation.Marshal(b, m, deterministic) -} -func (m *Translation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Translation.Merge(m, src) -} -func (m *Translation) XXX_Size() int { - return xxx_messageInfo_Translation.Size(m) -} -func (m *Translation) XXX_DiscardUnknown() { - xxx_messageInfo_Translation.DiscardUnknown(m) -} - -var xxx_messageInfo_Translation proto.InternalMessageInfo - -func (m *Translation) GetTranslatedText() string { - if m != nil { - return m.TranslatedText - } - return "" -} - -func (m *Translation) GetModel() string { - if m != nil { - return m.Model - } - return "" -} - -func (m *Translation) GetDetectedLanguageCode() string { - if m != nil { - return m.DetectedLanguageCode - } - return "" -} - -func (m *Translation) GetGlossaryConfig() *TranslateTextGlossaryConfig { - if m != nil { - return m.GlossaryConfig - } - return nil -} - -// The request message for language detection. -type DetectLanguageRequest struct { - // Required. Project or location to make a call. Must refer to a caller's - // project. - // - // Format: `projects/{project-number-or-id}/locations/{location-id}` or - // `projects/{project-number-or-id}`. - // - // For global calls, use `projects/{project-number-or-id}/locations/global` or - // `projects/{project-number-or-id}`. - // - // Only models within the same region (has same location-id) can be used. - // Otherwise an INVALID_ARGUMENT (400) error is returned. - Parent string `protobuf:"bytes,5,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. The language detection model to be used. - // - // Format: - // `projects/{project-number-or-id}/locations/{location-id}/models/language-detection/{model-id}` - // - // Only one language detection model is currently supported: - // `projects/{project-number-or-id}/locations/{location-id}/models/language-detection/default`. - // - // If not specified, the default model is used. - Model string `protobuf:"bytes,4,opt,name=model,proto3" json:"model,omitempty"` - // Required. The source of the document from which to detect the language. - // - // Types that are valid to be assigned to Source: - // *DetectLanguageRequest_Content - Source isDetectLanguageRequest_Source `protobuf_oneof:"source"` - // Optional. The format of the source text, for example, "text/html", - // "text/plain". If left blank, the MIME type defaults to "text/html". - MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - // Optional. The labels with user-defined metadata for the request. - // - // Label keys and values can be no longer than 63 characters - // (Unicode codepoints), can only contain lowercase letters, numeric - // characters, underscores and dashes. International characters are allowed. - // Label values are optional. Label keys must start with a letter. - // - // See https://cloud.google.com/translate/docs/labels for more information. - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DetectLanguageRequest) Reset() { *m = DetectLanguageRequest{} } -func (m *DetectLanguageRequest) String() string { return proto.CompactTextString(m) } -func (*DetectLanguageRequest) ProtoMessage() {} -func (*DetectLanguageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_310ad52ac0a2661e, []int{4} -} - -func (m *DetectLanguageRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DetectLanguageRequest.Unmarshal(m, b) -} -func (m *DetectLanguageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DetectLanguageRequest.Marshal(b, m, deterministic) -} -func (m *DetectLanguageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DetectLanguageRequest.Merge(m, src) -} -func (m *DetectLanguageRequest) XXX_Size() int { - return xxx_messageInfo_DetectLanguageRequest.Size(m) -} -func (m *DetectLanguageRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DetectLanguageRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DetectLanguageRequest proto.InternalMessageInfo - -func (m *DetectLanguageRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *DetectLanguageRequest) GetModel() string { - if m != nil { - return m.Model - } - return "" -} - -type isDetectLanguageRequest_Source interface { - isDetectLanguageRequest_Source() -} - -type DetectLanguageRequest_Content struct { - Content string `protobuf:"bytes,1,opt,name=content,proto3,oneof"` -} - -func (*DetectLanguageRequest_Content) isDetectLanguageRequest_Source() {} - -func (m *DetectLanguageRequest) GetSource() isDetectLanguageRequest_Source { - if m != nil { - return m.Source - } - return nil -} - -func (m *DetectLanguageRequest) GetContent() string { - if x, ok := m.GetSource().(*DetectLanguageRequest_Content); ok { - return x.Content - } - return "" -} - -func (m *DetectLanguageRequest) GetMimeType() string { - if m != nil { - return m.MimeType - } - return "" -} - -func (m *DetectLanguageRequest) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*DetectLanguageRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*DetectLanguageRequest_Content)(nil), - } -} - -// The response message for language detection. -type DetectedLanguage struct { - // The BCP-47 language code of source content in the request, detected - // automatically. - LanguageCode string `protobuf:"bytes,1,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // The confidence of the detection result for this language. - 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 *DetectedLanguage) Reset() { *m = DetectedLanguage{} } -func (m *DetectedLanguage) String() string { return proto.CompactTextString(m) } -func (*DetectedLanguage) ProtoMessage() {} -func (*DetectedLanguage) Descriptor() ([]byte, []int) { - return fileDescriptor_310ad52ac0a2661e, []int{5} -} - -func (m *DetectedLanguage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DetectedLanguage.Unmarshal(m, b) -} -func (m *DetectedLanguage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DetectedLanguage.Marshal(b, m, deterministic) -} -func (m *DetectedLanguage) XXX_Merge(src proto.Message) { - xxx_messageInfo_DetectedLanguage.Merge(m, src) -} -func (m *DetectedLanguage) XXX_Size() int { - return xxx_messageInfo_DetectedLanguage.Size(m) -} -func (m *DetectedLanguage) XXX_DiscardUnknown() { - xxx_messageInfo_DetectedLanguage.DiscardUnknown(m) -} - -var xxx_messageInfo_DetectedLanguage proto.InternalMessageInfo - -func (m *DetectedLanguage) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *DetectedLanguage) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -// The response message for language detection. -type DetectLanguageResponse struct { - // A list of detected languages sorted by detection confidence in descending - // order. The most probable language first. - Languages []*DetectedLanguage `protobuf:"bytes,1,rep,name=languages,proto3" json:"languages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DetectLanguageResponse) Reset() { *m = DetectLanguageResponse{} } -func (m *DetectLanguageResponse) String() string { return proto.CompactTextString(m) } -func (*DetectLanguageResponse) ProtoMessage() {} -func (*DetectLanguageResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_310ad52ac0a2661e, []int{6} -} - -func (m *DetectLanguageResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DetectLanguageResponse.Unmarshal(m, b) -} -func (m *DetectLanguageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DetectLanguageResponse.Marshal(b, m, deterministic) -} -func (m *DetectLanguageResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DetectLanguageResponse.Merge(m, src) -} -func (m *DetectLanguageResponse) XXX_Size() int { - return xxx_messageInfo_DetectLanguageResponse.Size(m) -} -func (m *DetectLanguageResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DetectLanguageResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_DetectLanguageResponse proto.InternalMessageInfo - -func (m *DetectLanguageResponse) GetLanguages() []*DetectedLanguage { - if m != nil { - return m.Languages - } - return nil -} - -// The request message for discovering supported languages. -type GetSupportedLanguagesRequest struct { - // Required. Project or location to make a call. Must refer to a caller's - // project. - // - // Format: `projects/{project-number-or-id}` or - // `projects/{project-number-or-id}/locations/{location-id}`. - // - // For global calls, use `projects/{project-number-or-id}/locations/global` or - // `projects/{project-number-or-id}`. - // - // Non-global location is required for AutoML models. - // - // Only models within the same region (have same location-id) can be used, - // otherwise an INVALID_ARGUMENT (400) error is returned. - Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. The language to use to return localized, human readable names - // of supported languages. If missing, then display names are not returned - // in a response. - DisplayLanguageCode string `protobuf:"bytes,1,opt,name=display_language_code,json=displayLanguageCode,proto3" json:"display_language_code,omitempty"` - // Optional. Get supported languages of this model. - // - // The format depends on model type: - // - // - AutoML Translation models: - // `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}` - // - // - General (built-in) models: - // `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`, - // `projects/{project-number-or-id}/locations/{location-id}/models/general/base` - // - // - // Returns languages supported by the specified model. - // If missing, we get supported languages of Google general base (PBMT) model. - Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetSupportedLanguagesRequest) Reset() { *m = GetSupportedLanguagesRequest{} } -func (m *GetSupportedLanguagesRequest) String() string { return proto.CompactTextString(m) } -func (*GetSupportedLanguagesRequest) ProtoMessage() {} -func (*GetSupportedLanguagesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_310ad52ac0a2661e, []int{7} -} - -func (m *GetSupportedLanguagesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetSupportedLanguagesRequest.Unmarshal(m, b) -} -func (m *GetSupportedLanguagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetSupportedLanguagesRequest.Marshal(b, m, deterministic) -} -func (m *GetSupportedLanguagesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetSupportedLanguagesRequest.Merge(m, src) -} -func (m *GetSupportedLanguagesRequest) XXX_Size() int { - return xxx_messageInfo_GetSupportedLanguagesRequest.Size(m) -} -func (m *GetSupportedLanguagesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetSupportedLanguagesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetSupportedLanguagesRequest proto.InternalMessageInfo - -func (m *GetSupportedLanguagesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *GetSupportedLanguagesRequest) GetDisplayLanguageCode() string { - if m != nil { - return m.DisplayLanguageCode - } - return "" -} - -func (m *GetSupportedLanguagesRequest) GetModel() string { - if m != nil { - return m.Model - } - return "" -} - -// The response message for discovering supported languages. -type SupportedLanguages struct { - // A list of supported language responses. This list contains an entry - // for each language the Translation API supports. - Languages []*SupportedLanguage `protobuf:"bytes,1,rep,name=languages,proto3" json:"languages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SupportedLanguages) Reset() { *m = SupportedLanguages{} } -func (m *SupportedLanguages) String() string { return proto.CompactTextString(m) } -func (*SupportedLanguages) ProtoMessage() {} -func (*SupportedLanguages) Descriptor() ([]byte, []int) { - return fileDescriptor_310ad52ac0a2661e, []int{8} -} - -func (m *SupportedLanguages) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SupportedLanguages.Unmarshal(m, b) -} -func (m *SupportedLanguages) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SupportedLanguages.Marshal(b, m, deterministic) -} -func (m *SupportedLanguages) XXX_Merge(src proto.Message) { - xxx_messageInfo_SupportedLanguages.Merge(m, src) -} -func (m *SupportedLanguages) XXX_Size() int { - return xxx_messageInfo_SupportedLanguages.Size(m) -} -func (m *SupportedLanguages) XXX_DiscardUnknown() { - xxx_messageInfo_SupportedLanguages.DiscardUnknown(m) -} - -var xxx_messageInfo_SupportedLanguages proto.InternalMessageInfo - -func (m *SupportedLanguages) GetLanguages() []*SupportedLanguage { - if m != nil { - return m.Languages - } - return nil -} - -// A single supported language response corresponds to information related -// to one supported language. -type SupportedLanguage struct { - // Supported language code, generally consisting of its ISO 639-1 - // identifier, for example, 'en', 'ja'. In certain cases, BCP-47 codes - // including language and region identifiers are returned (for example, - // 'zh-TW' and 'zh-CN') - LanguageCode string `protobuf:"bytes,1,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // Human readable name of the language localized in the display language - // specified in the request. - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Can be used as source language. - SupportSource bool `protobuf:"varint,3,opt,name=support_source,json=supportSource,proto3" json:"support_source,omitempty"` - // Can be used as target language. - SupportTarget bool `protobuf:"varint,4,opt,name=support_target,json=supportTarget,proto3" json:"support_target,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SupportedLanguage) Reset() { *m = SupportedLanguage{} } -func (m *SupportedLanguage) String() string { return proto.CompactTextString(m) } -func (*SupportedLanguage) ProtoMessage() {} -func (*SupportedLanguage) Descriptor() ([]byte, []int) { - return fileDescriptor_310ad52ac0a2661e, []int{9} -} - -func (m *SupportedLanguage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SupportedLanguage.Unmarshal(m, b) -} -func (m *SupportedLanguage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SupportedLanguage.Marshal(b, m, deterministic) -} -func (m *SupportedLanguage) XXX_Merge(src proto.Message) { - xxx_messageInfo_SupportedLanguage.Merge(m, src) -} -func (m *SupportedLanguage) XXX_Size() int { - return xxx_messageInfo_SupportedLanguage.Size(m) -} -func (m *SupportedLanguage) XXX_DiscardUnknown() { - xxx_messageInfo_SupportedLanguage.DiscardUnknown(m) -} - -var xxx_messageInfo_SupportedLanguage proto.InternalMessageInfo - -func (m *SupportedLanguage) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *SupportedLanguage) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *SupportedLanguage) GetSupportSource() bool { - if m != nil { - return m.SupportSource - } - return false -} - -func (m *SupportedLanguage) GetSupportTarget() bool { - if m != nil { - return m.SupportTarget - } - return false -} - -// The Google Cloud Storage location for the input content. -type GcsSource struct { - // Required. Source data URI. For example, `gs://my_bucket/my_object`. - InputUri string `protobuf:"bytes,1,opt,name=input_uri,json=inputUri,proto3" json:"input_uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_310ad52ac0a2661e, []int{10} -} - -func (m *GcsSource) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GcsSource.Unmarshal(m, b) -} -func (m *GcsSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GcsSource.Marshal(b, m, deterministic) -} -func (m *GcsSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcsSource.Merge(m, src) -} -func (m *GcsSource) XXX_Size() int { - return xxx_messageInfo_GcsSource.Size(m) -} -func (m *GcsSource) XXX_DiscardUnknown() { - xxx_messageInfo_GcsSource.DiscardUnknown(m) -} - -var xxx_messageInfo_GcsSource proto.InternalMessageInfo - -func (m *GcsSource) GetInputUri() string { - if m != nil { - return m.InputUri - } - return "" -} - -// Input configuration for BatchTranslateText request. -type InputConfig struct { - // Optional. Can be "text/plain" or "text/html". - // For `.tsv`, "text/html" is used if mime_type is missing. - // For `.html`, this field must be "text/html" or empty. - // For `.txt`, this field must be "text/plain" or empty. - MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - // Required. Specify the input. - // - // Types that are valid to be assigned to Source: - // *InputConfig_GcsSource - Source isInputConfig_Source `protobuf_oneof:"source"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_310ad52ac0a2661e, []int{11} -} - -func (m *InputConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InputConfig.Unmarshal(m, b) -} -func (m *InputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InputConfig.Marshal(b, m, deterministic) -} -func (m *InputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_InputConfig.Merge(m, src) -} -func (m *InputConfig) XXX_Size() int { - return xxx_messageInfo_InputConfig.Size(m) -} -func (m *InputConfig) XXX_DiscardUnknown() { - xxx_messageInfo_InputConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_InputConfig proto.InternalMessageInfo - -func (m *InputConfig) GetMimeType() string { - if m != nil { - return m.MimeType - } - return "" -} - -type isInputConfig_Source interface { - isInputConfig_Source() -} - -type InputConfig_GcsSource struct { - GcsSource *GcsSource `protobuf:"bytes,2,opt,name=gcs_source,json=gcsSource,proto3,oneof"` -} - -func (*InputConfig_GcsSource) isInputConfig_Source() {} - -func (m *InputConfig) GetSource() isInputConfig_Source { - if m != nil { - return m.Source - } - return nil -} - -func (m *InputConfig) GetGcsSource() *GcsSource { - if x, ok := m.GetSource().(*InputConfig_GcsSource); ok { - return x.GcsSource - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*InputConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*InputConfig_GcsSource)(nil), - } -} - -// The Google Cloud Storage location for the output content. -type GcsDestination struct { - // Required. There must be no files under 'output_uri_prefix'. - // 'output_uri_prefix' must end with "/" and start with "gs://", otherwise an - // INVALID_ARGUMENT (400) error is returned. - 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 *GcsDestination) Reset() { *m = GcsDestination{} } -func (m *GcsDestination) String() string { return proto.CompactTextString(m) } -func (*GcsDestination) ProtoMessage() {} -func (*GcsDestination) Descriptor() ([]byte, []int) { - return fileDescriptor_310ad52ac0a2661e, []int{12} -} - -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 (m *GcsDestination) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcsDestination.Merge(m, 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) GetOutputUriPrefix() string { - if m != nil { - return m.OutputUriPrefix - } - return "" -} - -// Output configuration for BatchTranslateText request. -type OutputConfig struct { - // Required. The destination of output. - // - // 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_310ad52ac0a2661e, []int{13} -} - -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 (m *OutputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_OutputConfig.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*OutputConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*OutputConfig_GcsDestination)(nil), - } -} - -// The batch translation request. -type BatchTranslateTextRequest struct { - // Required. Location to make a call. Must refer to a caller's project. - // - // Format: `projects/{project-number-or-id}/locations/{location-id}`. - // - // The `global` location is not supported for batch translation. - // - // Only AutoML Translation models or glossaries within the same region (have - // the same location-id) can be used, otherwise an INVALID_ARGUMENT (400) - // error is returned. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. Source language code. - SourceLanguageCode string `protobuf:"bytes,2,opt,name=source_language_code,json=sourceLanguageCode,proto3" json:"source_language_code,omitempty"` - // Required. Specify up to 10 language codes here. - TargetLanguageCodes []string `protobuf:"bytes,3,rep,name=target_language_codes,json=targetLanguageCodes,proto3" json:"target_language_codes,omitempty"` - // Optional. The models to use for translation. Map's key is target language - // code. Map's value is model name. Value can be a built-in general model, - // or an AutoML Translation model. - // - // The value format depends on model type: - // - // - AutoML Translation models: - // `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}` - // - // - General (built-in) models: - // `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`, - // `projects/{project-number-or-id}/locations/{location-id}/models/general/base` - // - // - // If the map is empty or a specific model is - // not requested for a language pair, then default google model (nmt) is used. - Models map[string]string `protobuf:"bytes,4,rep,name=models,proto3" json:"models,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Required. Input configurations. - // The total number of files matched should be <= 1000. - // The total content size should be <= 100M Unicode codepoints. - // The files must use UTF-8 encoding. - InputConfigs []*InputConfig `protobuf:"bytes,5,rep,name=input_configs,json=inputConfigs,proto3" json:"input_configs,omitempty"` - // Required. Output configuration. - // If 2 input configs match to the same file (that is, same input path), - // we don't generate output for duplicate inputs. - OutputConfig *OutputConfig `protobuf:"bytes,6,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"` - // Optional. Glossaries to be applied for translation. - // It's keyed by target language code. - Glossaries map[string]*TranslateTextGlossaryConfig `protobuf:"bytes,7,rep,name=glossaries,proto3" json:"glossaries,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Optional. The labels with user-defined metadata for the request. - // - // Label keys and values can be no longer than 63 characters - // (Unicode codepoints), can only contain lowercase letters, numeric - // characters, underscores and dashes. International characters are allowed. - // Label values are optional. Label keys must start with a letter. - // - // See https://cloud.google.com/translate/docs/labels for more information. - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchTranslateTextRequest) Reset() { *m = BatchTranslateTextRequest{} } -func (m *BatchTranslateTextRequest) String() string { return proto.CompactTextString(m) } -func (*BatchTranslateTextRequest) ProtoMessage() {} -func (*BatchTranslateTextRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_310ad52ac0a2661e, []int{14} -} - -func (m *BatchTranslateTextRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchTranslateTextRequest.Unmarshal(m, b) -} -func (m *BatchTranslateTextRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchTranslateTextRequest.Marshal(b, m, deterministic) -} -func (m *BatchTranslateTextRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchTranslateTextRequest.Merge(m, src) -} -func (m *BatchTranslateTextRequest) XXX_Size() int { - return xxx_messageInfo_BatchTranslateTextRequest.Size(m) -} -func (m *BatchTranslateTextRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchTranslateTextRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchTranslateTextRequest proto.InternalMessageInfo - -func (m *BatchTranslateTextRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *BatchTranslateTextRequest) GetSourceLanguageCode() string { - if m != nil { - return m.SourceLanguageCode - } - return "" -} - -func (m *BatchTranslateTextRequest) GetTargetLanguageCodes() []string { - if m != nil { - return m.TargetLanguageCodes - } - return nil -} - -func (m *BatchTranslateTextRequest) GetModels() map[string]string { - if m != nil { - return m.Models - } - return nil -} - -func (m *BatchTranslateTextRequest) GetInputConfigs() []*InputConfig { - if m != nil { - return m.InputConfigs - } - return nil -} - -func (m *BatchTranslateTextRequest) GetOutputConfig() *OutputConfig { - if m != nil { - return m.OutputConfig - } - return nil -} - -func (m *BatchTranslateTextRequest) GetGlossaries() map[string]*TranslateTextGlossaryConfig { - if m != nil { - return m.Glossaries - } - return nil -} - -func (m *BatchTranslateTextRequest) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -// State metadata for the batch translation operation. -type BatchTranslateMetadata struct { - // The state of the operation. - State BatchTranslateMetadata_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.translation.v3.BatchTranslateMetadata_State" json:"state,omitempty"` - // Number of successfully translated characters so far (Unicode codepoints). - TranslatedCharacters int64 `protobuf:"varint,2,opt,name=translated_characters,json=translatedCharacters,proto3" json:"translated_characters,omitempty"` - // Number of characters that have failed to process so far (Unicode - // codepoints). - FailedCharacters int64 `protobuf:"varint,3,opt,name=failed_characters,json=failedCharacters,proto3" json:"failed_characters,omitempty"` - // Total number of characters (Unicode codepoints). - // This is the total number of codepoints from input files times the number of - // target languages and appears here shortly after the call is submitted. - TotalCharacters int64 `protobuf:"varint,4,opt,name=total_characters,json=totalCharacters,proto3" json:"total_characters,omitempty"` - // Time when the operation was submitted. - SubmitTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=submit_time,json=submitTime,proto3" json:"submit_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchTranslateMetadata) Reset() { *m = BatchTranslateMetadata{} } -func (m *BatchTranslateMetadata) String() string { return proto.CompactTextString(m) } -func (*BatchTranslateMetadata) ProtoMessage() {} -func (*BatchTranslateMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_310ad52ac0a2661e, []int{15} -} - -func (m *BatchTranslateMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchTranslateMetadata.Unmarshal(m, b) -} -func (m *BatchTranslateMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchTranslateMetadata.Marshal(b, m, deterministic) -} -func (m *BatchTranslateMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchTranslateMetadata.Merge(m, src) -} -func (m *BatchTranslateMetadata) XXX_Size() int { - return xxx_messageInfo_BatchTranslateMetadata.Size(m) -} -func (m *BatchTranslateMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_BatchTranslateMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchTranslateMetadata proto.InternalMessageInfo - -func (m *BatchTranslateMetadata) GetState() BatchTranslateMetadata_State { - if m != nil { - return m.State - } - return BatchTranslateMetadata_STATE_UNSPECIFIED -} - -func (m *BatchTranslateMetadata) GetTranslatedCharacters() int64 { - if m != nil { - return m.TranslatedCharacters - } - return 0 -} - -func (m *BatchTranslateMetadata) GetFailedCharacters() int64 { - if m != nil { - return m.FailedCharacters - } - return 0 -} - -func (m *BatchTranslateMetadata) GetTotalCharacters() int64 { - if m != nil { - return m.TotalCharacters - } - return 0 -} - -func (m *BatchTranslateMetadata) GetSubmitTime() *timestamp.Timestamp { - if m != nil { - return m.SubmitTime - } - return nil -} - -// Stored in the -// [google.longrunning.Operation.response][google.longrunning.Operation.response] -// field returned by BatchTranslateText if at least one sentence is translated -// successfully. -type BatchTranslateResponse struct { - // Total number of characters (Unicode codepoints). - TotalCharacters int64 `protobuf:"varint,1,opt,name=total_characters,json=totalCharacters,proto3" json:"total_characters,omitempty"` - // Number of successfully translated characters (Unicode codepoints). - TranslatedCharacters int64 `protobuf:"varint,2,opt,name=translated_characters,json=translatedCharacters,proto3" json:"translated_characters,omitempty"` - // Number of characters that have failed to process (Unicode codepoints). - FailedCharacters int64 `protobuf:"varint,3,opt,name=failed_characters,json=failedCharacters,proto3" json:"failed_characters,omitempty"` - // Time when the operation was submitted. - SubmitTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=submit_time,json=submitTime,proto3" json:"submit_time,omitempty"` - // The time when the operation is finished and - // [google.longrunning.Operation.done][google.longrunning.Operation.done] is - // set to true. - EndTime *timestamp.Timestamp `protobuf:"bytes,5,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 *BatchTranslateResponse) Reset() { *m = BatchTranslateResponse{} } -func (m *BatchTranslateResponse) String() string { return proto.CompactTextString(m) } -func (*BatchTranslateResponse) ProtoMessage() {} -func (*BatchTranslateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_310ad52ac0a2661e, []int{16} -} - -func (m *BatchTranslateResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchTranslateResponse.Unmarshal(m, b) -} -func (m *BatchTranslateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchTranslateResponse.Marshal(b, m, deterministic) -} -func (m *BatchTranslateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchTranslateResponse.Merge(m, src) -} -func (m *BatchTranslateResponse) XXX_Size() int { - return xxx_messageInfo_BatchTranslateResponse.Size(m) -} -func (m *BatchTranslateResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BatchTranslateResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchTranslateResponse proto.InternalMessageInfo - -func (m *BatchTranslateResponse) GetTotalCharacters() int64 { - if m != nil { - return m.TotalCharacters - } - return 0 -} - -func (m *BatchTranslateResponse) GetTranslatedCharacters() int64 { - if m != nil { - return m.TranslatedCharacters - } - return 0 -} - -func (m *BatchTranslateResponse) GetFailedCharacters() int64 { - if m != nil { - return m.FailedCharacters - } - return 0 -} - -func (m *BatchTranslateResponse) GetSubmitTime() *timestamp.Timestamp { - if m != nil { - return m.SubmitTime - } - return nil -} - -func (m *BatchTranslateResponse) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -// Input configuration for glossaries. -type GlossaryInputConfig struct { - // Required. Specify the input. - // - // Types that are valid to be assigned to Source: - // *GlossaryInputConfig_GcsSource - Source isGlossaryInputConfig_Source `protobuf_oneof:"source"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GlossaryInputConfig) Reset() { *m = GlossaryInputConfig{} } -func (m *GlossaryInputConfig) String() string { return proto.CompactTextString(m) } -func (*GlossaryInputConfig) ProtoMessage() {} -func (*GlossaryInputConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_310ad52ac0a2661e, []int{17} -} - -func (m *GlossaryInputConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GlossaryInputConfig.Unmarshal(m, b) -} -func (m *GlossaryInputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GlossaryInputConfig.Marshal(b, m, deterministic) -} -func (m *GlossaryInputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_GlossaryInputConfig.Merge(m, src) -} -func (m *GlossaryInputConfig) XXX_Size() int { - return xxx_messageInfo_GlossaryInputConfig.Size(m) -} -func (m *GlossaryInputConfig) XXX_DiscardUnknown() { - xxx_messageInfo_GlossaryInputConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_GlossaryInputConfig proto.InternalMessageInfo - -type isGlossaryInputConfig_Source interface { - isGlossaryInputConfig_Source() -} - -type GlossaryInputConfig_GcsSource struct { - GcsSource *GcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3,oneof"` -} - -func (*GlossaryInputConfig_GcsSource) isGlossaryInputConfig_Source() {} - -func (m *GlossaryInputConfig) GetSource() isGlossaryInputConfig_Source { - if m != nil { - return m.Source - } - return nil -} - -func (m *GlossaryInputConfig) GetGcsSource() *GcsSource { - if x, ok := m.GetSource().(*GlossaryInputConfig_GcsSource); ok { - return x.GcsSource - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*GlossaryInputConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*GlossaryInputConfig_GcsSource)(nil), - } -} - -// Represents a glossary built from user provided data. -type Glossary struct { - // Required. The resource name of the glossary. Glossary names have the form - // `projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Languages supported by the glossary. - // - // Types that are valid to be assigned to Languages: - // *Glossary_LanguagePair - // *Glossary_LanguageCodesSet_ - Languages isGlossary_Languages `protobuf_oneof:"languages"` - // Required. Provides examples to build the glossary from. - // Total glossary must not exceed 10M Unicode codepoints. - InputConfig *GlossaryInputConfig `protobuf:"bytes,5,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"` - // Output only. The number of entries defined in the glossary. - EntryCount int32 `protobuf:"varint,6,opt,name=entry_count,json=entryCount,proto3" json:"entry_count,omitempty"` - // Output only. When CreateGlossary was called. - SubmitTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=submit_time,json=submitTime,proto3" json:"submit_time,omitempty"` - // Output only. When the glossary creation was finished. - EndTime *timestamp.Timestamp `protobuf:"bytes,8,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 *Glossary) Reset() { *m = Glossary{} } -func (m *Glossary) String() string { return proto.CompactTextString(m) } -func (*Glossary) ProtoMessage() {} -func (*Glossary) Descriptor() ([]byte, []int) { - return fileDescriptor_310ad52ac0a2661e, []int{18} -} - -func (m *Glossary) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Glossary.Unmarshal(m, b) -} -func (m *Glossary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Glossary.Marshal(b, m, deterministic) -} -func (m *Glossary) XXX_Merge(src proto.Message) { - xxx_messageInfo_Glossary.Merge(m, src) -} -func (m *Glossary) XXX_Size() int { - return xxx_messageInfo_Glossary.Size(m) -} -func (m *Glossary) XXX_DiscardUnknown() { - xxx_messageInfo_Glossary.DiscardUnknown(m) -} - -var xxx_messageInfo_Glossary proto.InternalMessageInfo - -func (m *Glossary) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -type isGlossary_Languages interface { - isGlossary_Languages() -} - -type Glossary_LanguagePair struct { - LanguagePair *Glossary_LanguageCodePair `protobuf:"bytes,3,opt,name=language_pair,json=languagePair,proto3,oneof"` -} - -type Glossary_LanguageCodesSet_ struct { - LanguageCodesSet *Glossary_LanguageCodesSet `protobuf:"bytes,4,opt,name=language_codes_set,json=languageCodesSet,proto3,oneof"` -} - -func (*Glossary_LanguagePair) isGlossary_Languages() {} - -func (*Glossary_LanguageCodesSet_) isGlossary_Languages() {} - -func (m *Glossary) GetLanguages() isGlossary_Languages { - if m != nil { - return m.Languages - } - return nil -} - -func (m *Glossary) GetLanguagePair() *Glossary_LanguageCodePair { - if x, ok := m.GetLanguages().(*Glossary_LanguagePair); ok { - return x.LanguagePair - } - return nil -} - -func (m *Glossary) GetLanguageCodesSet() *Glossary_LanguageCodesSet { - if x, ok := m.GetLanguages().(*Glossary_LanguageCodesSet_); ok { - return x.LanguageCodesSet - } - return nil -} - -func (m *Glossary) GetInputConfig() *GlossaryInputConfig { - if m != nil { - return m.InputConfig - } - return nil -} - -func (m *Glossary) GetEntryCount() int32 { - if m != nil { - return m.EntryCount - } - return 0 -} - -func (m *Glossary) GetSubmitTime() *timestamp.Timestamp { - if m != nil { - return m.SubmitTime - } - return nil -} - -func (m *Glossary) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Glossary) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Glossary_LanguagePair)(nil), - (*Glossary_LanguageCodesSet_)(nil), - } -} - -// Used with unidirectional glossaries. -type Glossary_LanguageCodePair struct { - // Required. The BCP-47 language code of the input text, for example, - // "en-US". Expected to be an exact match for GlossaryTerm.language_code. - SourceLanguageCode string `protobuf:"bytes,1,opt,name=source_language_code,json=sourceLanguageCode,proto3" json:"source_language_code,omitempty"` - // Required. The BCP-47 language code for translation output, for example, - // "zh-CN". Expected to be an exact match for GlossaryTerm.language_code. - TargetLanguageCode string `protobuf:"bytes,2,opt,name=target_language_code,json=targetLanguageCode,proto3" json:"target_language_code,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Glossary_LanguageCodePair) Reset() { *m = Glossary_LanguageCodePair{} } -func (m *Glossary_LanguageCodePair) String() string { return proto.CompactTextString(m) } -func (*Glossary_LanguageCodePair) ProtoMessage() {} -func (*Glossary_LanguageCodePair) Descriptor() ([]byte, []int) { - return fileDescriptor_310ad52ac0a2661e, []int{18, 0} -} - -func (m *Glossary_LanguageCodePair) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Glossary_LanguageCodePair.Unmarshal(m, b) -} -func (m *Glossary_LanguageCodePair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Glossary_LanguageCodePair.Marshal(b, m, deterministic) -} -func (m *Glossary_LanguageCodePair) XXX_Merge(src proto.Message) { - xxx_messageInfo_Glossary_LanguageCodePair.Merge(m, src) -} -func (m *Glossary_LanguageCodePair) XXX_Size() int { - return xxx_messageInfo_Glossary_LanguageCodePair.Size(m) -} -func (m *Glossary_LanguageCodePair) XXX_DiscardUnknown() { - xxx_messageInfo_Glossary_LanguageCodePair.DiscardUnknown(m) -} - -var xxx_messageInfo_Glossary_LanguageCodePair proto.InternalMessageInfo - -func (m *Glossary_LanguageCodePair) GetSourceLanguageCode() string { - if m != nil { - return m.SourceLanguageCode - } - return "" -} - -func (m *Glossary_LanguageCodePair) GetTargetLanguageCode() string { - if m != nil { - return m.TargetLanguageCode - } - return "" -} - -// Used with equivalent term set glossaries. -type Glossary_LanguageCodesSet struct { - // The BCP-47 language code(s) for terms defined in the glossary. - // All entries are unique. The list contains at least two entries. - // Expected to be an exact match for GlossaryTerm.language_code. - LanguageCodes []string `protobuf:"bytes,1,rep,name=language_codes,json=languageCodes,proto3" json:"language_codes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Glossary_LanguageCodesSet) Reset() { *m = Glossary_LanguageCodesSet{} } -func (m *Glossary_LanguageCodesSet) String() string { return proto.CompactTextString(m) } -func (*Glossary_LanguageCodesSet) ProtoMessage() {} -func (*Glossary_LanguageCodesSet) Descriptor() ([]byte, []int) { - return fileDescriptor_310ad52ac0a2661e, []int{18, 1} -} - -func (m *Glossary_LanguageCodesSet) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Glossary_LanguageCodesSet.Unmarshal(m, b) -} -func (m *Glossary_LanguageCodesSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Glossary_LanguageCodesSet.Marshal(b, m, deterministic) -} -func (m *Glossary_LanguageCodesSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_Glossary_LanguageCodesSet.Merge(m, src) -} -func (m *Glossary_LanguageCodesSet) XXX_Size() int { - return xxx_messageInfo_Glossary_LanguageCodesSet.Size(m) -} -func (m *Glossary_LanguageCodesSet) XXX_DiscardUnknown() { - xxx_messageInfo_Glossary_LanguageCodesSet.DiscardUnknown(m) -} - -var xxx_messageInfo_Glossary_LanguageCodesSet proto.InternalMessageInfo - -func (m *Glossary_LanguageCodesSet) GetLanguageCodes() []string { - if m != nil { - return m.LanguageCodes - } - return nil -} - -// Request message for CreateGlossary. -type CreateGlossaryRequest struct { - // Required. The project name. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The glossary to create. - Glossary *Glossary `protobuf:"bytes,2,opt,name=glossary,proto3" json:"glossary,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateGlossaryRequest) Reset() { *m = CreateGlossaryRequest{} } -func (m *CreateGlossaryRequest) String() string { return proto.CompactTextString(m) } -func (*CreateGlossaryRequest) ProtoMessage() {} -func (*CreateGlossaryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_310ad52ac0a2661e, []int{19} -} - -func (m *CreateGlossaryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateGlossaryRequest.Unmarshal(m, b) -} -func (m *CreateGlossaryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateGlossaryRequest.Marshal(b, m, deterministic) -} -func (m *CreateGlossaryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateGlossaryRequest.Merge(m, src) -} -func (m *CreateGlossaryRequest) XXX_Size() int { - return xxx_messageInfo_CreateGlossaryRequest.Size(m) -} -func (m *CreateGlossaryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateGlossaryRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateGlossaryRequest proto.InternalMessageInfo - -func (m *CreateGlossaryRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateGlossaryRequest) GetGlossary() *Glossary { - if m != nil { - return m.Glossary - } - return nil -} - -// Request message for GetGlossary. -type GetGlossaryRequest struct { - // Required. The name of the glossary to retrieve. - 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 *GetGlossaryRequest) Reset() { *m = GetGlossaryRequest{} } -func (m *GetGlossaryRequest) String() string { return proto.CompactTextString(m) } -func (*GetGlossaryRequest) ProtoMessage() {} -func (*GetGlossaryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_310ad52ac0a2661e, []int{20} -} - -func (m *GetGlossaryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetGlossaryRequest.Unmarshal(m, b) -} -func (m *GetGlossaryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetGlossaryRequest.Marshal(b, m, deterministic) -} -func (m *GetGlossaryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGlossaryRequest.Merge(m, src) -} -func (m *GetGlossaryRequest) XXX_Size() int { - return xxx_messageInfo_GetGlossaryRequest.Size(m) -} -func (m *GetGlossaryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetGlossaryRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetGlossaryRequest proto.InternalMessageInfo - -func (m *GetGlossaryRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for DeleteGlossary. -type DeleteGlossaryRequest struct { - // Required. The name of the glossary to delete. - 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 *DeleteGlossaryRequest) Reset() { *m = DeleteGlossaryRequest{} } -func (m *DeleteGlossaryRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteGlossaryRequest) ProtoMessage() {} -func (*DeleteGlossaryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_310ad52ac0a2661e, []int{21} -} - -func (m *DeleteGlossaryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteGlossaryRequest.Unmarshal(m, b) -} -func (m *DeleteGlossaryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteGlossaryRequest.Marshal(b, m, deterministic) -} -func (m *DeleteGlossaryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteGlossaryRequest.Merge(m, src) -} -func (m *DeleteGlossaryRequest) XXX_Size() int { - return xxx_messageInfo_DeleteGlossaryRequest.Size(m) -} -func (m *DeleteGlossaryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteGlossaryRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteGlossaryRequest proto.InternalMessageInfo - -func (m *DeleteGlossaryRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for ListGlossaries. -type ListGlossariesRequest struct { - // Required. The name of the project from which to list all of the glossaries. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. Requested page size. The server may return fewer glossaries than - // requested. If unspecified, the server picks an appropriate default. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional. A token identifying a page of results the server should return. - // Typically, this is the value of [ListGlossariesResponse.next_page_token] - // returned from the previous call to `ListGlossaries` method. - // The first page is returned if `page_token`is empty or missing. - PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // Optional. Filter specifying constraints of a list operation. - // Filtering is not supported yet, and the parameter currently has no effect. - // If missing, no filtering is performed. - Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListGlossariesRequest) Reset() { *m = ListGlossariesRequest{} } -func (m *ListGlossariesRequest) String() string { return proto.CompactTextString(m) } -func (*ListGlossariesRequest) ProtoMessage() {} -func (*ListGlossariesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_310ad52ac0a2661e, []int{22} -} - -func (m *ListGlossariesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListGlossariesRequest.Unmarshal(m, b) -} -func (m *ListGlossariesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListGlossariesRequest.Marshal(b, m, deterministic) -} -func (m *ListGlossariesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListGlossariesRequest.Merge(m, src) -} -func (m *ListGlossariesRequest) XXX_Size() int { - return xxx_messageInfo_ListGlossariesRequest.Size(m) -} -func (m *ListGlossariesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListGlossariesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListGlossariesRequest proto.InternalMessageInfo - -func (m *ListGlossariesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListGlossariesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListGlossariesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListGlossariesRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -// Response message for ListGlossaries. -type ListGlossariesResponse struct { - // The list of glossaries for a project. - Glossaries []*Glossary `protobuf:"bytes,1,rep,name=glossaries,proto3" json:"glossaries,omitempty"` - // A token to retrieve a page of results. Pass this value in the - // [ListGlossariesRequest.page_token] field in the subsequent call to - // `ListGlossaries` method to retrieve the next page of 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 *ListGlossariesResponse) Reset() { *m = ListGlossariesResponse{} } -func (m *ListGlossariesResponse) String() string { return proto.CompactTextString(m) } -func (*ListGlossariesResponse) ProtoMessage() {} -func (*ListGlossariesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_310ad52ac0a2661e, []int{23} -} - -func (m *ListGlossariesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListGlossariesResponse.Unmarshal(m, b) -} -func (m *ListGlossariesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListGlossariesResponse.Marshal(b, m, deterministic) -} -func (m *ListGlossariesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListGlossariesResponse.Merge(m, src) -} -func (m *ListGlossariesResponse) XXX_Size() int { - return xxx_messageInfo_ListGlossariesResponse.Size(m) -} -func (m *ListGlossariesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListGlossariesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListGlossariesResponse proto.InternalMessageInfo - -func (m *ListGlossariesResponse) GetGlossaries() []*Glossary { - if m != nil { - return m.Glossaries - } - return nil -} - -func (m *ListGlossariesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Stored in the -// [google.longrunning.Operation.metadata][google.longrunning.Operation.metadata] -// field returned by CreateGlossary. -type CreateGlossaryMetadata struct { - // The name of the glossary that is being created. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The current state of the glossary creation operation. - State CreateGlossaryMetadata_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.translation.v3.CreateGlossaryMetadata_State" json:"state,omitempty"` - // The time when the operation was submitted to the server. - SubmitTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=submit_time,json=submitTime,proto3" json:"submit_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateGlossaryMetadata) Reset() { *m = CreateGlossaryMetadata{} } -func (m *CreateGlossaryMetadata) String() string { return proto.CompactTextString(m) } -func (*CreateGlossaryMetadata) ProtoMessage() {} -func (*CreateGlossaryMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_310ad52ac0a2661e, []int{24} -} - -func (m *CreateGlossaryMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateGlossaryMetadata.Unmarshal(m, b) -} -func (m *CreateGlossaryMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateGlossaryMetadata.Marshal(b, m, deterministic) -} -func (m *CreateGlossaryMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateGlossaryMetadata.Merge(m, src) -} -func (m *CreateGlossaryMetadata) XXX_Size() int { - return xxx_messageInfo_CreateGlossaryMetadata.Size(m) -} -func (m *CreateGlossaryMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_CreateGlossaryMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateGlossaryMetadata proto.InternalMessageInfo - -func (m *CreateGlossaryMetadata) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *CreateGlossaryMetadata) GetState() CreateGlossaryMetadata_State { - if m != nil { - return m.State - } - return CreateGlossaryMetadata_STATE_UNSPECIFIED -} - -func (m *CreateGlossaryMetadata) GetSubmitTime() *timestamp.Timestamp { - if m != nil { - return m.SubmitTime - } - return nil -} - -// Stored in the -// [google.longrunning.Operation.metadata][google.longrunning.Operation.metadata] -// field returned by DeleteGlossary. -type DeleteGlossaryMetadata struct { - // The name of the glossary that is being deleted. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The current state of the glossary deletion operation. - State DeleteGlossaryMetadata_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.translation.v3.DeleteGlossaryMetadata_State" json:"state,omitempty"` - // The time when the operation was submitted to the server. - SubmitTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=submit_time,json=submitTime,proto3" json:"submit_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DeleteGlossaryMetadata) Reset() { *m = DeleteGlossaryMetadata{} } -func (m *DeleteGlossaryMetadata) String() string { return proto.CompactTextString(m) } -func (*DeleteGlossaryMetadata) ProtoMessage() {} -func (*DeleteGlossaryMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_310ad52ac0a2661e, []int{25} -} - -func (m *DeleteGlossaryMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteGlossaryMetadata.Unmarshal(m, b) -} -func (m *DeleteGlossaryMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteGlossaryMetadata.Marshal(b, m, deterministic) -} -func (m *DeleteGlossaryMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteGlossaryMetadata.Merge(m, src) -} -func (m *DeleteGlossaryMetadata) XXX_Size() int { - return xxx_messageInfo_DeleteGlossaryMetadata.Size(m) -} -func (m *DeleteGlossaryMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteGlossaryMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteGlossaryMetadata proto.InternalMessageInfo - -func (m *DeleteGlossaryMetadata) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *DeleteGlossaryMetadata) GetState() DeleteGlossaryMetadata_State { - if m != nil { - return m.State - } - return DeleteGlossaryMetadata_STATE_UNSPECIFIED -} - -func (m *DeleteGlossaryMetadata) GetSubmitTime() *timestamp.Timestamp { - if m != nil { - return m.SubmitTime - } - return nil -} - -// Stored in the -// [google.longrunning.Operation.response][google.longrunning.Operation.response] -// field returned by DeleteGlossary. -type DeleteGlossaryResponse struct { - // The name of the deleted glossary. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The time when the operation 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 glossary deletion 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 *DeleteGlossaryResponse) Reset() { *m = DeleteGlossaryResponse{} } -func (m *DeleteGlossaryResponse) String() string { return proto.CompactTextString(m) } -func (*DeleteGlossaryResponse) ProtoMessage() {} -func (*DeleteGlossaryResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_310ad52ac0a2661e, []int{26} -} - -func (m *DeleteGlossaryResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteGlossaryResponse.Unmarshal(m, b) -} -func (m *DeleteGlossaryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteGlossaryResponse.Marshal(b, m, deterministic) -} -func (m *DeleteGlossaryResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteGlossaryResponse.Merge(m, src) -} -func (m *DeleteGlossaryResponse) XXX_Size() int { - return xxx_messageInfo_DeleteGlossaryResponse.Size(m) -} -func (m *DeleteGlossaryResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteGlossaryResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteGlossaryResponse proto.InternalMessageInfo - -func (m *DeleteGlossaryResponse) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *DeleteGlossaryResponse) GetSubmitTime() *timestamp.Timestamp { - if m != nil { - return m.SubmitTime - } - return nil -} - -func (m *DeleteGlossaryResponse) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.translation.v3.BatchTranslateMetadata_State", BatchTranslateMetadata_State_name, BatchTranslateMetadata_State_value) - proto.RegisterEnum("google.cloud.translation.v3.CreateGlossaryMetadata_State", CreateGlossaryMetadata_State_name, CreateGlossaryMetadata_State_value) - proto.RegisterEnum("google.cloud.translation.v3.DeleteGlossaryMetadata_State", DeleteGlossaryMetadata_State_name, DeleteGlossaryMetadata_State_value) - proto.RegisterType((*TranslateTextGlossaryConfig)(nil), "google.cloud.translation.v3.TranslateTextGlossaryConfig") - proto.RegisterType((*TranslateTextRequest)(nil), "google.cloud.translation.v3.TranslateTextRequest") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.translation.v3.TranslateTextRequest.LabelsEntry") - proto.RegisterType((*TranslateTextResponse)(nil), "google.cloud.translation.v3.TranslateTextResponse") - proto.RegisterType((*Translation)(nil), "google.cloud.translation.v3.Translation") - proto.RegisterType((*DetectLanguageRequest)(nil), "google.cloud.translation.v3.DetectLanguageRequest") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.translation.v3.DetectLanguageRequest.LabelsEntry") - proto.RegisterType((*DetectedLanguage)(nil), "google.cloud.translation.v3.DetectedLanguage") - proto.RegisterType((*DetectLanguageResponse)(nil), "google.cloud.translation.v3.DetectLanguageResponse") - proto.RegisterType((*GetSupportedLanguagesRequest)(nil), "google.cloud.translation.v3.GetSupportedLanguagesRequest") - proto.RegisterType((*SupportedLanguages)(nil), "google.cloud.translation.v3.SupportedLanguages") - proto.RegisterType((*SupportedLanguage)(nil), "google.cloud.translation.v3.SupportedLanguage") - proto.RegisterType((*GcsSource)(nil), "google.cloud.translation.v3.GcsSource") - proto.RegisterType((*InputConfig)(nil), "google.cloud.translation.v3.InputConfig") - proto.RegisterType((*GcsDestination)(nil), "google.cloud.translation.v3.GcsDestination") - proto.RegisterType((*OutputConfig)(nil), "google.cloud.translation.v3.OutputConfig") - proto.RegisterType((*BatchTranslateTextRequest)(nil), "google.cloud.translation.v3.BatchTranslateTextRequest") - proto.RegisterMapType((map[string]*TranslateTextGlossaryConfig)(nil), "google.cloud.translation.v3.BatchTranslateTextRequest.GlossariesEntry") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.translation.v3.BatchTranslateTextRequest.LabelsEntry") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.translation.v3.BatchTranslateTextRequest.ModelsEntry") - proto.RegisterType((*BatchTranslateMetadata)(nil), "google.cloud.translation.v3.BatchTranslateMetadata") - proto.RegisterType((*BatchTranslateResponse)(nil), "google.cloud.translation.v3.BatchTranslateResponse") - proto.RegisterType((*GlossaryInputConfig)(nil), "google.cloud.translation.v3.GlossaryInputConfig") - proto.RegisterType((*Glossary)(nil), "google.cloud.translation.v3.Glossary") - proto.RegisterType((*Glossary_LanguageCodePair)(nil), "google.cloud.translation.v3.Glossary.LanguageCodePair") - proto.RegisterType((*Glossary_LanguageCodesSet)(nil), "google.cloud.translation.v3.Glossary.LanguageCodesSet") - proto.RegisterType((*CreateGlossaryRequest)(nil), "google.cloud.translation.v3.CreateGlossaryRequest") - proto.RegisterType((*GetGlossaryRequest)(nil), "google.cloud.translation.v3.GetGlossaryRequest") - proto.RegisterType((*DeleteGlossaryRequest)(nil), "google.cloud.translation.v3.DeleteGlossaryRequest") - proto.RegisterType((*ListGlossariesRequest)(nil), "google.cloud.translation.v3.ListGlossariesRequest") - proto.RegisterType((*ListGlossariesResponse)(nil), "google.cloud.translation.v3.ListGlossariesResponse") - proto.RegisterType((*CreateGlossaryMetadata)(nil), "google.cloud.translation.v3.CreateGlossaryMetadata") - proto.RegisterType((*DeleteGlossaryMetadata)(nil), "google.cloud.translation.v3.DeleteGlossaryMetadata") - proto.RegisterType((*DeleteGlossaryResponse)(nil), "google.cloud.translation.v3.DeleteGlossaryResponse") -} - -func init() { - proto.RegisterFile("google/cloud/translate/v3/translation_service.proto", fileDescriptor_310ad52ac0a2661e) -} - -var fileDescriptor_310ad52ac0a2661e = []byte{ - // 2371 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x5a, 0xcd, 0x6f, 0x1b, 0xc7, - 0x15, 0xd7, 0x92, 0x12, 0x25, 0x3d, 0x4a, 0x14, 0x3d, 0x96, 0x1c, 0x9a, 0x76, 0x12, 0x79, 0xfd,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 0x73, - 0xd6, 0xb1, 0x43, 0x74, 0x93, 0x1d, 0xbc, 0xcb, 0x70, 0xca, 0x6a, 0x13, 0xee, 0x74, 0xb5, 0x65, - 0xe3, 0x7d, 0xfd, 0x29, 0xf7, 0x7d, 0x8e, 0x0d, 0xdc, 0xb7, 0xf5, 0x1d, 0x2a, 0x96, 0xdb, 0x30, - 0x73, 0x8f, 0x8a, 0xf8, 0x16, 0x1e, 0xc0, 0x9c, 0xeb, 0x60, 0xbd, 0x63, 0x8e, 0xce, 0x4c, 0xae, - 0x5e, 0x1b, 0xe4, 0xa5, 0xe0, 0xc1, 0xdd, 0x31, 0x35, 0xd5, 0x08, 0x48, 0xd6, 0x66, 0x21, 0x29, - 0xd8, 0x94, 0x7f, 0x36, 0x09, 0x67, 0xd7, 0x34, 0x52, 0x3b, 0x88, 0xa4, 0x47, 0x9d, 0x42, 0x91, - 0x8e, 0x5b, 0x28, 0xbd, 0xe8, 0x51, 0x4c, 0xe0, 0x39, 0x11, 0xf4, 0xe8, 0x5d, 0x58, 0x88, 0xa2, - 0x47, 0xac, 0x45, 0xf2, 0x79, 0xa7, 0xbb, 0xf9, 0x91, 0x83, 0xaa, 0x90, 0xa0, 0xd5, 0xe4, 0x64, - 0xc6, 0x69, 0xad, 0xac, 0xf5, 0x85, 0xab, 0xe7, 0xd6, 0x73, 0xef, 0x53, 0x23, 0xe2, 0x11, 0xcb, - 0xcc, 0x22, 0x15, 0x66, 0x59, 0x22, 0xb2, 0xae, 0xe6, 0x64, 0x26, 0x86, 0x68, 0xda, 0x42, 0x72, - 0x32, 0xdf, 0x67, 0xf4, 0x8e, 0xc4, 0x41, 0x15, 0x98, 0xe5, 0x89, 0xc2, 0x5b, 0x65, 0x82, 0x86, - 0xfa, 0x6a, 0x5f, 0x9b, 0x62, 0xba, 0x70, 0xa3, 0x96, 0x98, 0x41, 0x8f, 0x01, 0x78, 0xc3, 0xd4, - 0xb1, 0x93, 0x99, 0xa4, 0x5e, 0xde, 0x39, 0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0xff, 0xb9, 0xf8, 0xdd, 0x03, 0x42, 0x5a, 0x4e, 0x41, 0x51, 0x9e, 0x3c, 0x79, 0x12, 0xe6, 0xec, - 0x5a, 0x9b, 0x1c, 0xb0, 0x7f, 0xce, 0x78, 0xab, 0x65, 0x68, 0x64, 0xdf, 0xb2, 0x9b, 0x2b, 0xc3, - 0xa9, 0x0b, 0x48, 0xad, 0xfd, 0x4d, 0x82, 0xd7, 0x6b, 0x56, 0x33, 0x1a, 0x4a, 0x9c, 0x3b, 0xcc, - 0xaf, 0xbd, 0xd6, 0xcd, 0x17, 0x76, 0x5c, 0x86, 0xb1, 0x23, 0x3d, 0x5c, 0xe3, 0xb3, 0x1a, 0x96, - 0x7b, 0x7e, 0xe6, 0x2c, 0xbb, 0xa1, 0x34, 0xb0, 0x49, 0xf9, 0x87, 0xd2, 0x59, 0x3e, 0xe2, 0x3f, - 0x48, 0x6e, 0xf9, 0x1f, 0xff, 0x91, 0xa4, 0xdf, 0xc5, 0xce, 0x6e, 0x30, 0x3b, 0x25, 0xba, 0xba, - 0x7f, 0x7c, 0xe4, 0x1e, 0xe4, 0x5f, 0x7a, 0x63, 0x8f, 0xe8, 0xd8, 0x23, 0x7f, 0xec, 0xd1, 0x83, - 0xfc, 0xe7, 0xb1, 0xf3, 0x6c, 0xac, 0x50, 0xa0, 0x83, 0x85, 0x82, 0x3f, 0x5a, 0x28, 0x3c, 0xc8, - 0xef, 0x25, 0xa8, 0x23, 0xf9, 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, 0xdb, 0x76, 0xcf, 0x2d, 0xc9, - 0x22, 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 - -// TranslationServiceClient is the client API for TranslationService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type TranslationServiceClient interface { - // Translates input text and returns translated text. - TranslateText(ctx context.Context, in *TranslateTextRequest, opts ...grpc.CallOption) (*TranslateTextResponse, error) - // Detects the language of text within a request. - DetectLanguage(ctx context.Context, in *DetectLanguageRequest, opts ...grpc.CallOption) (*DetectLanguageResponse, error) - // Returns a list of supported languages for translation. - GetSupportedLanguages(ctx context.Context, in *GetSupportedLanguagesRequest, opts ...grpc.CallOption) (*SupportedLanguages, error) - // Translates a large volume of text in asynchronous batch mode. - // This function provides real-time output as the inputs are being processed. - // If caller cancels a request, the partial results (for an input file, it's - // all or nothing) may still be available on the specified output location. - // - // This call returns immediately and you can - // use google.longrunning.Operation.name to poll the status of the call. - BatchTranslateText(ctx context.Context, in *BatchTranslateTextRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Creates a glossary and returns the long-running operation. Returns - // NOT_FOUND, if the project doesn't exist. - CreateGlossary(ctx context.Context, in *CreateGlossaryRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Lists glossaries in a project. Returns NOT_FOUND, if the project doesn't - // exist. - ListGlossaries(ctx context.Context, in *ListGlossariesRequest, opts ...grpc.CallOption) (*ListGlossariesResponse, error) - // Gets a glossary. Returns NOT_FOUND, if the glossary doesn't - // exist. - GetGlossary(ctx context.Context, in *GetGlossaryRequest, opts ...grpc.CallOption) (*Glossary, error) - // Deletes a glossary, or cancels glossary construction - // if the glossary isn't created yet. - // Returns NOT_FOUND, if the glossary doesn't exist. - DeleteGlossary(ctx context.Context, in *DeleteGlossaryRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) -} - -type translationServiceClient struct { - cc *grpc.ClientConn -} - -func NewTranslationServiceClient(cc *grpc.ClientConn) TranslationServiceClient { - return &translationServiceClient{cc} -} - -func (c *translationServiceClient) TranslateText(ctx context.Context, in *TranslateTextRequest, opts ...grpc.CallOption) (*TranslateTextResponse, error) { - out := new(TranslateTextResponse) - err := c.cc.Invoke(ctx, "/google.cloud.translation.v3.TranslationService/TranslateText", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *translationServiceClient) DetectLanguage(ctx context.Context, in *DetectLanguageRequest, opts ...grpc.CallOption) (*DetectLanguageResponse, error) { - out := new(DetectLanguageResponse) - err := c.cc.Invoke(ctx, "/google.cloud.translation.v3.TranslationService/DetectLanguage", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *translationServiceClient) GetSupportedLanguages(ctx context.Context, in *GetSupportedLanguagesRequest, opts ...grpc.CallOption) (*SupportedLanguages, error) { - out := new(SupportedLanguages) - err := c.cc.Invoke(ctx, "/google.cloud.translation.v3.TranslationService/GetSupportedLanguages", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *translationServiceClient) BatchTranslateText(ctx context.Context, in *BatchTranslateTextRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.translation.v3.TranslationService/BatchTranslateText", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *translationServiceClient) CreateGlossary(ctx context.Context, in *CreateGlossaryRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.translation.v3.TranslationService/CreateGlossary", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *translationServiceClient) ListGlossaries(ctx context.Context, in *ListGlossariesRequest, opts ...grpc.CallOption) (*ListGlossariesResponse, error) { - out := new(ListGlossariesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.translation.v3.TranslationService/ListGlossaries", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *translationServiceClient) GetGlossary(ctx context.Context, in *GetGlossaryRequest, opts ...grpc.CallOption) (*Glossary, error) { - out := new(Glossary) - err := c.cc.Invoke(ctx, "/google.cloud.translation.v3.TranslationService/GetGlossary", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *translationServiceClient) DeleteGlossary(ctx context.Context, in *DeleteGlossaryRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.translation.v3.TranslationService/DeleteGlossary", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// TranslationServiceServer is the server API for TranslationService service. -type TranslationServiceServer interface { - // Translates input text and returns translated text. - TranslateText(context.Context, *TranslateTextRequest) (*TranslateTextResponse, error) - // Detects the language of text within a request. - DetectLanguage(context.Context, *DetectLanguageRequest) (*DetectLanguageResponse, error) - // Returns a list of supported languages for translation. - GetSupportedLanguages(context.Context, *GetSupportedLanguagesRequest) (*SupportedLanguages, error) - // Translates a large volume of text in asynchronous batch mode. - // This function provides real-time output as the inputs are being processed. - // If caller cancels a request, the partial results (for an input file, it's - // all or nothing) may still be available on the specified output location. - // - // This call returns immediately and you can - // use google.longrunning.Operation.name to poll the status of the call. - BatchTranslateText(context.Context, *BatchTranslateTextRequest) (*longrunning.Operation, error) - // Creates a glossary and returns the long-running operation. Returns - // NOT_FOUND, if the project doesn't exist. - CreateGlossary(context.Context, *CreateGlossaryRequest) (*longrunning.Operation, error) - // Lists glossaries in a project. Returns NOT_FOUND, if the project doesn't - // exist. - ListGlossaries(context.Context, *ListGlossariesRequest) (*ListGlossariesResponse, error) - // Gets a glossary. Returns NOT_FOUND, if the glossary doesn't - // exist. - GetGlossary(context.Context, *GetGlossaryRequest) (*Glossary, error) - // Deletes a glossary, or cancels glossary construction - // if the glossary isn't created yet. - // Returns NOT_FOUND, if the glossary doesn't exist. - DeleteGlossary(context.Context, *DeleteGlossaryRequest) (*longrunning.Operation, error) -} - -// UnimplementedTranslationServiceServer can be embedded to have forward compatible implementations. -type UnimplementedTranslationServiceServer struct { -} - -func (*UnimplementedTranslationServiceServer) TranslateText(ctx context.Context, req *TranslateTextRequest) (*TranslateTextResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TranslateText not implemented") -} -func (*UnimplementedTranslationServiceServer) DetectLanguage(ctx context.Context, req *DetectLanguageRequest) (*DetectLanguageResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DetectLanguage not implemented") -} -func (*UnimplementedTranslationServiceServer) GetSupportedLanguages(ctx context.Context, req *GetSupportedLanguagesRequest) (*SupportedLanguages, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetSupportedLanguages not implemented") -} -func (*UnimplementedTranslationServiceServer) BatchTranslateText(ctx context.Context, req *BatchTranslateTextRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method BatchTranslateText not implemented") -} -func (*UnimplementedTranslationServiceServer) CreateGlossary(ctx context.Context, req *CreateGlossaryRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateGlossary not implemented") -} -func (*UnimplementedTranslationServiceServer) ListGlossaries(ctx context.Context, req *ListGlossariesRequest) (*ListGlossariesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListGlossaries not implemented") -} -func (*UnimplementedTranslationServiceServer) GetGlossary(ctx context.Context, req *GetGlossaryRequest) (*Glossary, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetGlossary not implemented") -} -func (*UnimplementedTranslationServiceServer) DeleteGlossary(ctx context.Context, req *DeleteGlossaryRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteGlossary not implemented") -} - -func RegisterTranslationServiceServer(s *grpc.Server, srv TranslationServiceServer) { - s.RegisterService(&_TranslationService_serviceDesc, srv) -} - -func _TranslationService_TranslateText_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TranslateTextRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TranslationServiceServer).TranslateText(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.translation.v3.TranslationService/TranslateText", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TranslationServiceServer).TranslateText(ctx, req.(*TranslateTextRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TranslationService_DetectLanguage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DetectLanguageRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TranslationServiceServer).DetectLanguage(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.translation.v3.TranslationService/DetectLanguage", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TranslationServiceServer).DetectLanguage(ctx, req.(*DetectLanguageRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TranslationService_GetSupportedLanguages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetSupportedLanguagesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TranslationServiceServer).GetSupportedLanguages(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.translation.v3.TranslationService/GetSupportedLanguages", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TranslationServiceServer).GetSupportedLanguages(ctx, req.(*GetSupportedLanguagesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TranslationService_BatchTranslateText_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchTranslateTextRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TranslationServiceServer).BatchTranslateText(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.translation.v3.TranslationService/BatchTranslateText", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TranslationServiceServer).BatchTranslateText(ctx, req.(*BatchTranslateTextRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TranslationService_CreateGlossary_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateGlossaryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TranslationServiceServer).CreateGlossary(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.translation.v3.TranslationService/CreateGlossary", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TranslationServiceServer).CreateGlossary(ctx, req.(*CreateGlossaryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TranslationService_ListGlossaries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListGlossariesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TranslationServiceServer).ListGlossaries(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.translation.v3.TranslationService/ListGlossaries", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TranslationServiceServer).ListGlossaries(ctx, req.(*ListGlossariesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TranslationService_GetGlossary_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetGlossaryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TranslationServiceServer).GetGlossary(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.translation.v3.TranslationService/GetGlossary", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TranslationServiceServer).GetGlossary(ctx, req.(*GetGlossaryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TranslationService_DeleteGlossary_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteGlossaryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TranslationServiceServer).DeleteGlossary(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.translation.v3.TranslationService/DeleteGlossary", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TranslationServiceServer).DeleteGlossary(ctx, req.(*DeleteGlossaryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _TranslationService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.translation.v3.TranslationService", - HandlerType: (*TranslationServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "TranslateText", - Handler: _TranslationService_TranslateText_Handler, - }, - { - MethodName: "DetectLanguage", - Handler: _TranslationService_DetectLanguage_Handler, - }, - { - MethodName: "GetSupportedLanguages", - Handler: _TranslationService_GetSupportedLanguages_Handler, - }, - { - MethodName: "BatchTranslateText", - Handler: _TranslationService_BatchTranslateText_Handler, - }, - { - MethodName: "CreateGlossary", - Handler: _TranslationService_CreateGlossary_Handler, - }, - { - MethodName: "ListGlossaries", - Handler: _TranslationService_ListGlossaries_Handler, - }, - { - MethodName: "GetGlossary", - Handler: _TranslationService_GetGlossary_Handler, - }, - { - MethodName: "DeleteGlossary", - Handler: _TranslationService_DeleteGlossary_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/translate/v3/translation_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/translate/v3beta1/translation_service.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/translate/v3beta1/translation_service.pb.go deleted file mode 100644 index b982a1ff..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/translate/v3beta1/translation_service.pb.go +++ /dev/null @@ -1,2750 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/translate/v3beta1/translation_service.proto - -package translate - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// State of the job. -type BatchTranslateMetadata_State int32 - -const ( - // Invalid. - BatchTranslateMetadata_STATE_UNSPECIFIED BatchTranslateMetadata_State = 0 - // Request is being processed. - BatchTranslateMetadata_RUNNING BatchTranslateMetadata_State = 1 - // The batch is processed, and at least one item was successfully - // processed. - BatchTranslateMetadata_SUCCEEDED BatchTranslateMetadata_State = 2 - // The batch is done and no item was successfully processed. - BatchTranslateMetadata_FAILED BatchTranslateMetadata_State = 3 - // Request is in the process of being canceled after caller invoked - // longrunning.Operations.CancelOperation on the request id. - BatchTranslateMetadata_CANCELLING BatchTranslateMetadata_State = 4 - // The batch is done after the user has called the - // longrunning.Operations.CancelOperation. Any records processed before the - // cancel command are output as specified in the request. - BatchTranslateMetadata_CANCELLED BatchTranslateMetadata_State = 5 -) - -var BatchTranslateMetadata_State_name = map[int32]string{ - 0: "STATE_UNSPECIFIED", - 1: "RUNNING", - 2: "SUCCEEDED", - 3: "FAILED", - 4: "CANCELLING", - 5: "CANCELLED", -} - -var BatchTranslateMetadata_State_value = map[string]int32{ - "STATE_UNSPECIFIED": 0, - "RUNNING": 1, - "SUCCEEDED": 2, - "FAILED": 3, - "CANCELLING": 4, - "CANCELLED": 5, -} - -func (x BatchTranslateMetadata_State) String() string { - return proto.EnumName(BatchTranslateMetadata_State_name, int32(x)) -} - -func (BatchTranslateMetadata_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_56145e4302ec702e, []int{15, 0} -} - -// Enumerates the possible states that the creation request can be in. -type CreateGlossaryMetadata_State int32 - -const ( - // Invalid. - CreateGlossaryMetadata_STATE_UNSPECIFIED CreateGlossaryMetadata_State = 0 - // Request is being processed. - CreateGlossaryMetadata_RUNNING CreateGlossaryMetadata_State = 1 - // The glossary was successfully created. - CreateGlossaryMetadata_SUCCEEDED CreateGlossaryMetadata_State = 2 - // Failed to create the glossary. - CreateGlossaryMetadata_FAILED CreateGlossaryMetadata_State = 3 - // Request is in the process of being canceled after caller invoked - // longrunning.Operations.CancelOperation on the request id. - CreateGlossaryMetadata_CANCELLING CreateGlossaryMetadata_State = 4 - // The glossary creation request was successfully canceled. - CreateGlossaryMetadata_CANCELLED CreateGlossaryMetadata_State = 5 -) - -var CreateGlossaryMetadata_State_name = map[int32]string{ - 0: "STATE_UNSPECIFIED", - 1: "RUNNING", - 2: "SUCCEEDED", - 3: "FAILED", - 4: "CANCELLING", - 5: "CANCELLED", -} - -var CreateGlossaryMetadata_State_value = map[string]int32{ - "STATE_UNSPECIFIED": 0, - "RUNNING": 1, - "SUCCEEDED": 2, - "FAILED": 3, - "CANCELLING": 4, - "CANCELLED": 5, -} - -func (x CreateGlossaryMetadata_State) String() string { - return proto.EnumName(CreateGlossaryMetadata_State_name, int32(x)) -} - -func (CreateGlossaryMetadata_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_56145e4302ec702e, []int{24, 0} -} - -// Enumerates the possible states that the creation request can be in. -type DeleteGlossaryMetadata_State int32 - -const ( - // Invalid. - DeleteGlossaryMetadata_STATE_UNSPECIFIED DeleteGlossaryMetadata_State = 0 - // Request is being processed. - DeleteGlossaryMetadata_RUNNING DeleteGlossaryMetadata_State = 1 - // The glossary was successfully deleted. - DeleteGlossaryMetadata_SUCCEEDED DeleteGlossaryMetadata_State = 2 - // Failed to delete the glossary. - DeleteGlossaryMetadata_FAILED DeleteGlossaryMetadata_State = 3 - // Request is in the process of being canceled after caller invoked - // longrunning.Operations.CancelOperation on the request id. - DeleteGlossaryMetadata_CANCELLING DeleteGlossaryMetadata_State = 4 - // The glossary deletion request was successfully canceled. - DeleteGlossaryMetadata_CANCELLED DeleteGlossaryMetadata_State = 5 -) - -var DeleteGlossaryMetadata_State_name = map[int32]string{ - 0: "STATE_UNSPECIFIED", - 1: "RUNNING", - 2: "SUCCEEDED", - 3: "FAILED", - 4: "CANCELLING", - 5: "CANCELLED", -} - -var DeleteGlossaryMetadata_State_value = map[string]int32{ - "STATE_UNSPECIFIED": 0, - "RUNNING": 1, - "SUCCEEDED": 2, - "FAILED": 3, - "CANCELLING": 4, - "CANCELLED": 5, -} - -func (x DeleteGlossaryMetadata_State) String() string { - return proto.EnumName(DeleteGlossaryMetadata_State_name, int32(x)) -} - -func (DeleteGlossaryMetadata_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_56145e4302ec702e, []int{25, 0} -} - -// Configures which glossary should be used for a specific target language, -// and defines options for applying that glossary. -type TranslateTextGlossaryConfig struct { - // Required. Specifies the glossary used for this translation. Use - // this format: projects/*/locations/*/glossaries/* - Glossary string `protobuf:"bytes,1,opt,name=glossary,proto3" json:"glossary,omitempty"` - // Optional. Indicates match is case-insensitive. - // Default value is false if missing. - IgnoreCase bool `protobuf:"varint,2,opt,name=ignore_case,json=ignoreCase,proto3" json:"ignore_case,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TranslateTextGlossaryConfig) Reset() { *m = TranslateTextGlossaryConfig{} } -func (m *TranslateTextGlossaryConfig) String() string { return proto.CompactTextString(m) } -func (*TranslateTextGlossaryConfig) ProtoMessage() {} -func (*TranslateTextGlossaryConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_56145e4302ec702e, []int{0} -} - -func (m *TranslateTextGlossaryConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TranslateTextGlossaryConfig.Unmarshal(m, b) -} -func (m *TranslateTextGlossaryConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TranslateTextGlossaryConfig.Marshal(b, m, deterministic) -} -func (m *TranslateTextGlossaryConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_TranslateTextGlossaryConfig.Merge(m, src) -} -func (m *TranslateTextGlossaryConfig) XXX_Size() int { - return xxx_messageInfo_TranslateTextGlossaryConfig.Size(m) -} -func (m *TranslateTextGlossaryConfig) XXX_DiscardUnknown() { - xxx_messageInfo_TranslateTextGlossaryConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_TranslateTextGlossaryConfig proto.InternalMessageInfo - -func (m *TranslateTextGlossaryConfig) GetGlossary() string { - if m != nil { - return m.Glossary - } - return "" -} - -func (m *TranslateTextGlossaryConfig) GetIgnoreCase() bool { - if m != nil { - return m.IgnoreCase - } - return false -} - -// The request message for synchronous translation. -type TranslateTextRequest struct { - // Required. The content of the input in string format. - // We recommend the total content be less than 30k codepoints. - // Use BatchTranslateText for larger text. - Contents []string `protobuf:"bytes,1,rep,name=contents,proto3" json:"contents,omitempty"` - // Optional. The format of the source text, for example, "text/html", - // "text/plain". If left blank, the MIME type defaults to "text/html". - MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - // Optional. The BCP-47 language code of the input text if - // known, for example, "en-US" or "sr-Latn". Supported language codes are - // listed in Language Support. If the source language isn't specified, the API - // attempts to identify the source language automatically and returns the - // source language within the response. - SourceLanguageCode string `protobuf:"bytes,4,opt,name=source_language_code,json=sourceLanguageCode,proto3" json:"source_language_code,omitempty"` - // Required. The BCP-47 language code to use for translation of the input - // text, set to one of the language codes listed in Language Support. - TargetLanguageCode string `protobuf:"bytes,5,opt,name=target_language_code,json=targetLanguageCode,proto3" json:"target_language_code,omitempty"` - // Required. Project or location to make a call. Must refer to a caller's - // project. - // - // Format: `projects/{project-id}` or - // `projects/{project-id}/locations/{location-id}`. - // - // For global calls, use `projects/{project-id}/locations/global` or - // `projects/{project-id}`. - // - // Non-global location is required for requests using AutoML models or - // custom glossaries. - // - // Models and glossaries must be within the same region (have same - // location-id), otherwise an INVALID_ARGUMENT (400) error is returned. - Parent string `protobuf:"bytes,8,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. The `model` type requested for this translation. - // - // The format depends on model type: - // - // - AutoML Translation models: - // `projects/{project-id}/locations/{location-id}/models/{model-id}` - // - // - General (built-in) models: - // `projects/{project-id}/locations/{location-id}/models/general/nmt`, - // `projects/{project-id}/locations/{location-id}/models/general/base` - // - // - // For global (non-regionalized) requests, use `location-id` `global`. - // For example, - // `projects/{project-id}/locations/global/models/general/nmt`. - // - // If missing, the system decides which google base model to use. - Model string `protobuf:"bytes,6,opt,name=model,proto3" json:"model,omitempty"` - // Optional. Glossary to be applied. The glossary must be - // within the same region (have the same location-id) as the model, otherwise - // an INVALID_ARGUMENT (400) error is returned. - GlossaryConfig *TranslateTextGlossaryConfig `protobuf:"bytes,7,opt,name=glossary_config,json=glossaryConfig,proto3" json:"glossary_config,omitempty"` - // Optional. The labels with user-defined metadata for the request. - // - // Label keys and values can be no longer than 63 characters - // (Unicode codepoints), can only contain lowercase letters, numeric - // characters, underscores and dashes. International characters are allowed. - // Label values are optional. Label keys must start with a letter. - // - // See https://cloud.google.com/translate/docs/labels for more information. - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TranslateTextRequest) Reset() { *m = TranslateTextRequest{} } -func (m *TranslateTextRequest) String() string { return proto.CompactTextString(m) } -func (*TranslateTextRequest) ProtoMessage() {} -func (*TranslateTextRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_56145e4302ec702e, []int{1} -} - -func (m *TranslateTextRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TranslateTextRequest.Unmarshal(m, b) -} -func (m *TranslateTextRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TranslateTextRequest.Marshal(b, m, deterministic) -} -func (m *TranslateTextRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_TranslateTextRequest.Merge(m, src) -} -func (m *TranslateTextRequest) XXX_Size() int { - return xxx_messageInfo_TranslateTextRequest.Size(m) -} -func (m *TranslateTextRequest) XXX_DiscardUnknown() { - xxx_messageInfo_TranslateTextRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_TranslateTextRequest proto.InternalMessageInfo - -func (m *TranslateTextRequest) GetContents() []string { - if m != nil { - return m.Contents - } - return nil -} - -func (m *TranslateTextRequest) GetMimeType() string { - if m != nil { - return m.MimeType - } - return "" -} - -func (m *TranslateTextRequest) GetSourceLanguageCode() string { - if m != nil { - return m.SourceLanguageCode - } - return "" -} - -func (m *TranslateTextRequest) GetTargetLanguageCode() string { - if m != nil { - return m.TargetLanguageCode - } - return "" -} - -func (m *TranslateTextRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *TranslateTextRequest) GetModel() string { - if m != nil { - return m.Model - } - return "" -} - -func (m *TranslateTextRequest) GetGlossaryConfig() *TranslateTextGlossaryConfig { - if m != nil { - return m.GlossaryConfig - } - return nil -} - -func (m *TranslateTextRequest) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -type TranslateTextResponse struct { - // Text translation responses with no glossary applied. - // This field has the same length as - // [`contents`][google.cloud.translation.v3beta1.TranslateTextRequest.contents]. - Translations []*Translation `protobuf:"bytes,1,rep,name=translations,proto3" json:"translations,omitempty"` - // Text translation responses if a glossary is provided in the request. - // This can be the same as - // [`translations`][google.cloud.translation.v3beta1.TranslateTextResponse.translations] if no terms apply. - // This field has the same length as - // [`contents`][google.cloud.translation.v3beta1.TranslateTextRequest.contents]. - GlossaryTranslations []*Translation `protobuf:"bytes,3,rep,name=glossary_translations,json=glossaryTranslations,proto3" json:"glossary_translations,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TranslateTextResponse) Reset() { *m = TranslateTextResponse{} } -func (m *TranslateTextResponse) String() string { return proto.CompactTextString(m) } -func (*TranslateTextResponse) ProtoMessage() {} -func (*TranslateTextResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_56145e4302ec702e, []int{2} -} - -func (m *TranslateTextResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TranslateTextResponse.Unmarshal(m, b) -} -func (m *TranslateTextResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TranslateTextResponse.Marshal(b, m, deterministic) -} -func (m *TranslateTextResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_TranslateTextResponse.Merge(m, src) -} -func (m *TranslateTextResponse) XXX_Size() int { - return xxx_messageInfo_TranslateTextResponse.Size(m) -} -func (m *TranslateTextResponse) XXX_DiscardUnknown() { - xxx_messageInfo_TranslateTextResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_TranslateTextResponse proto.InternalMessageInfo - -func (m *TranslateTextResponse) GetTranslations() []*Translation { - if m != nil { - return m.Translations - } - return nil -} - -func (m *TranslateTextResponse) GetGlossaryTranslations() []*Translation { - if m != nil { - return m.GlossaryTranslations - } - return nil -} - -// A single translation response. -type Translation struct { - // Text translated into the target language. - TranslatedText string `protobuf:"bytes,1,opt,name=translated_text,json=translatedText,proto3" json:"translated_text,omitempty"` - // Only present when `model` is present in the request. - // This is same as `model` provided in the request. - Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"` - // The BCP-47 language code of source text in the initial request, detected - // automatically, if no source language was passed within the initial - // request. If the source language was passed, auto-detection of the language - // does not occur and this field is empty. - DetectedLanguageCode string `protobuf:"bytes,4,opt,name=detected_language_code,json=detectedLanguageCode,proto3" json:"detected_language_code,omitempty"` - // The `glossary_config` used for this translation. - GlossaryConfig *TranslateTextGlossaryConfig `protobuf:"bytes,3,opt,name=glossary_config,json=glossaryConfig,proto3" json:"glossary_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Translation) Reset() { *m = Translation{} } -func (m *Translation) String() string { return proto.CompactTextString(m) } -func (*Translation) ProtoMessage() {} -func (*Translation) Descriptor() ([]byte, []int) { - return fileDescriptor_56145e4302ec702e, []int{3} -} - -func (m *Translation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Translation.Unmarshal(m, b) -} -func (m *Translation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Translation.Marshal(b, m, deterministic) -} -func (m *Translation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Translation.Merge(m, src) -} -func (m *Translation) XXX_Size() int { - return xxx_messageInfo_Translation.Size(m) -} -func (m *Translation) XXX_DiscardUnknown() { - xxx_messageInfo_Translation.DiscardUnknown(m) -} - -var xxx_messageInfo_Translation proto.InternalMessageInfo - -func (m *Translation) GetTranslatedText() string { - if m != nil { - return m.TranslatedText - } - return "" -} - -func (m *Translation) GetModel() string { - if m != nil { - return m.Model - } - return "" -} - -func (m *Translation) GetDetectedLanguageCode() string { - if m != nil { - return m.DetectedLanguageCode - } - return "" -} - -func (m *Translation) GetGlossaryConfig() *TranslateTextGlossaryConfig { - if m != nil { - return m.GlossaryConfig - } - return nil -} - -// The request message for language detection. -type DetectLanguageRequest struct { - // Required. Project or location to make a call. Must refer to a caller's - // project. - // - // Format: `projects/{project-id}/locations/{location-id}` or - // `projects/{project-id}`. - // - // For global calls, use `projects/{project-id}/locations/global` or - // `projects/{project-id}`. - // - // Only models within the same region (has same location-id) can be used. - // Otherwise an INVALID_ARGUMENT (400) error is returned. - Parent string `protobuf:"bytes,5,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. The language detection model to be used. - // - // Format: - // `projects/{project-id}/locations/{location-id}/models/language-detection/{model-id}` - // - // Only one language detection model is currently supported: - // `projects/{project-id}/locations/{location-id}/models/language-detection/default`. - // - // If not specified, the default model is used. - Model string `protobuf:"bytes,4,opt,name=model,proto3" json:"model,omitempty"` - // Required. The source of the document from which to detect the language. - // - // Types that are valid to be assigned to Source: - // *DetectLanguageRequest_Content - Source isDetectLanguageRequest_Source `protobuf_oneof:"source"` - // Optional. The format of the source text, for example, "text/html", - // "text/plain". If left blank, the MIME type defaults to "text/html". - MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - // Optional. The labels with user-defined metadata for the request. - // - // Label keys and values can be no longer than 63 characters - // (Unicode codepoints), can only contain lowercase letters, numeric - // characters, underscores and dashes. International characters are allowed. - // Label values are optional. Label keys must start with a letter. - // - // See https://cloud.google.com/translate/docs/labels for more information. - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DetectLanguageRequest) Reset() { *m = DetectLanguageRequest{} } -func (m *DetectLanguageRequest) String() string { return proto.CompactTextString(m) } -func (*DetectLanguageRequest) ProtoMessage() {} -func (*DetectLanguageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_56145e4302ec702e, []int{4} -} - -func (m *DetectLanguageRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DetectLanguageRequest.Unmarshal(m, b) -} -func (m *DetectLanguageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DetectLanguageRequest.Marshal(b, m, deterministic) -} -func (m *DetectLanguageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DetectLanguageRequest.Merge(m, src) -} -func (m *DetectLanguageRequest) XXX_Size() int { - return xxx_messageInfo_DetectLanguageRequest.Size(m) -} -func (m *DetectLanguageRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DetectLanguageRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DetectLanguageRequest proto.InternalMessageInfo - -func (m *DetectLanguageRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *DetectLanguageRequest) GetModel() string { - if m != nil { - return m.Model - } - return "" -} - -type isDetectLanguageRequest_Source interface { - isDetectLanguageRequest_Source() -} - -type DetectLanguageRequest_Content struct { - Content string `protobuf:"bytes,1,opt,name=content,proto3,oneof"` -} - -func (*DetectLanguageRequest_Content) isDetectLanguageRequest_Source() {} - -func (m *DetectLanguageRequest) GetSource() isDetectLanguageRequest_Source { - if m != nil { - return m.Source - } - return nil -} - -func (m *DetectLanguageRequest) GetContent() string { - if x, ok := m.GetSource().(*DetectLanguageRequest_Content); ok { - return x.Content - } - return "" -} - -func (m *DetectLanguageRequest) GetMimeType() string { - if m != nil { - return m.MimeType - } - return "" -} - -func (m *DetectLanguageRequest) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*DetectLanguageRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*DetectLanguageRequest_Content)(nil), - } -} - -// The response message for language detection. -type DetectedLanguage struct { - // The BCP-47 language code of source content in the request, detected - // automatically. - LanguageCode string `protobuf:"bytes,1,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // The confidence of the detection result for this language. - 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 *DetectedLanguage) Reset() { *m = DetectedLanguage{} } -func (m *DetectedLanguage) String() string { return proto.CompactTextString(m) } -func (*DetectedLanguage) ProtoMessage() {} -func (*DetectedLanguage) Descriptor() ([]byte, []int) { - return fileDescriptor_56145e4302ec702e, []int{5} -} - -func (m *DetectedLanguage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DetectedLanguage.Unmarshal(m, b) -} -func (m *DetectedLanguage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DetectedLanguage.Marshal(b, m, deterministic) -} -func (m *DetectedLanguage) XXX_Merge(src proto.Message) { - xxx_messageInfo_DetectedLanguage.Merge(m, src) -} -func (m *DetectedLanguage) XXX_Size() int { - return xxx_messageInfo_DetectedLanguage.Size(m) -} -func (m *DetectedLanguage) XXX_DiscardUnknown() { - xxx_messageInfo_DetectedLanguage.DiscardUnknown(m) -} - -var xxx_messageInfo_DetectedLanguage proto.InternalMessageInfo - -func (m *DetectedLanguage) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *DetectedLanguage) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -// The response message for language detection. -type DetectLanguageResponse struct { - // A list of detected languages sorted by detection confidence in descending - // order. The most probable language first. - Languages []*DetectedLanguage `protobuf:"bytes,1,rep,name=languages,proto3" json:"languages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DetectLanguageResponse) Reset() { *m = DetectLanguageResponse{} } -func (m *DetectLanguageResponse) String() string { return proto.CompactTextString(m) } -func (*DetectLanguageResponse) ProtoMessage() {} -func (*DetectLanguageResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_56145e4302ec702e, []int{6} -} - -func (m *DetectLanguageResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DetectLanguageResponse.Unmarshal(m, b) -} -func (m *DetectLanguageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DetectLanguageResponse.Marshal(b, m, deterministic) -} -func (m *DetectLanguageResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DetectLanguageResponse.Merge(m, src) -} -func (m *DetectLanguageResponse) XXX_Size() int { - return xxx_messageInfo_DetectLanguageResponse.Size(m) -} -func (m *DetectLanguageResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DetectLanguageResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_DetectLanguageResponse proto.InternalMessageInfo - -func (m *DetectLanguageResponse) GetLanguages() []*DetectedLanguage { - if m != nil { - return m.Languages - } - return nil -} - -// The request message for discovering supported languages. -type GetSupportedLanguagesRequest struct { - // Required. Project or location to make a call. Must refer to a caller's - // project. - // - // Format: `projects/{project-id}` or - // `projects/{project-id}/locations/{location-id}`. - // - // For global calls, use `projects/{project-id}/locations/global` or - // `projects/{project-id}`. - // - // Non-global location is required for AutoML models. - // - // Only models within the same region (have same location-id) can be used, - // otherwise an INVALID_ARGUMENT (400) error is returned. - Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. The language to use to return localized, human readable names - // of supported languages. If missing, then display names are not returned - // in a response. - DisplayLanguageCode string `protobuf:"bytes,1,opt,name=display_language_code,json=displayLanguageCode,proto3" json:"display_language_code,omitempty"` - // Optional. Get supported languages of this model. - // - // The format depends on model type: - // - // - AutoML Translation models: - // `projects/{project-id}/locations/{location-id}/models/{model-id}` - // - // - General (built-in) models: - // `projects/{project-id}/locations/{location-id}/models/general/nmt`, - // `projects/{project-id}/locations/{location-id}/models/general/base` - // - // - // Returns languages supported by the specified model. - // If missing, we get supported languages of Google general base (PBMT) model. - Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetSupportedLanguagesRequest) Reset() { *m = GetSupportedLanguagesRequest{} } -func (m *GetSupportedLanguagesRequest) String() string { return proto.CompactTextString(m) } -func (*GetSupportedLanguagesRequest) ProtoMessage() {} -func (*GetSupportedLanguagesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_56145e4302ec702e, []int{7} -} - -func (m *GetSupportedLanguagesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetSupportedLanguagesRequest.Unmarshal(m, b) -} -func (m *GetSupportedLanguagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetSupportedLanguagesRequest.Marshal(b, m, deterministic) -} -func (m *GetSupportedLanguagesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetSupportedLanguagesRequest.Merge(m, src) -} -func (m *GetSupportedLanguagesRequest) XXX_Size() int { - return xxx_messageInfo_GetSupportedLanguagesRequest.Size(m) -} -func (m *GetSupportedLanguagesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetSupportedLanguagesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetSupportedLanguagesRequest proto.InternalMessageInfo - -func (m *GetSupportedLanguagesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *GetSupportedLanguagesRequest) GetDisplayLanguageCode() string { - if m != nil { - return m.DisplayLanguageCode - } - return "" -} - -func (m *GetSupportedLanguagesRequest) GetModel() string { - if m != nil { - return m.Model - } - return "" -} - -// The response message for discovering supported languages. -type SupportedLanguages struct { - // A list of supported language responses. This list contains an entry - // for each language the Translation API supports. - Languages []*SupportedLanguage `protobuf:"bytes,1,rep,name=languages,proto3" json:"languages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SupportedLanguages) Reset() { *m = SupportedLanguages{} } -func (m *SupportedLanguages) String() string { return proto.CompactTextString(m) } -func (*SupportedLanguages) ProtoMessage() {} -func (*SupportedLanguages) Descriptor() ([]byte, []int) { - return fileDescriptor_56145e4302ec702e, []int{8} -} - -func (m *SupportedLanguages) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SupportedLanguages.Unmarshal(m, b) -} -func (m *SupportedLanguages) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SupportedLanguages.Marshal(b, m, deterministic) -} -func (m *SupportedLanguages) XXX_Merge(src proto.Message) { - xxx_messageInfo_SupportedLanguages.Merge(m, src) -} -func (m *SupportedLanguages) XXX_Size() int { - return xxx_messageInfo_SupportedLanguages.Size(m) -} -func (m *SupportedLanguages) XXX_DiscardUnknown() { - xxx_messageInfo_SupportedLanguages.DiscardUnknown(m) -} - -var xxx_messageInfo_SupportedLanguages proto.InternalMessageInfo - -func (m *SupportedLanguages) GetLanguages() []*SupportedLanguage { - if m != nil { - return m.Languages - } - return nil -} - -// A single supported language response corresponds to information related -// to one supported language. -type SupportedLanguage struct { - // Supported language code, generally consisting of its ISO 639-1 - // identifier, for example, 'en', 'ja'. In certain cases, BCP-47 codes - // including language and region identifiers are returned (for example, - // 'zh-TW' and 'zh-CN') - LanguageCode string `protobuf:"bytes,1,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // Human readable name of the language localized in the display language - // specified in the request. - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Can be used as source language. - SupportSource bool `protobuf:"varint,3,opt,name=support_source,json=supportSource,proto3" json:"support_source,omitempty"` - // Can be used as target language. - SupportTarget bool `protobuf:"varint,4,opt,name=support_target,json=supportTarget,proto3" json:"support_target,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SupportedLanguage) Reset() { *m = SupportedLanguage{} } -func (m *SupportedLanguage) String() string { return proto.CompactTextString(m) } -func (*SupportedLanguage) ProtoMessage() {} -func (*SupportedLanguage) Descriptor() ([]byte, []int) { - return fileDescriptor_56145e4302ec702e, []int{9} -} - -func (m *SupportedLanguage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SupportedLanguage.Unmarshal(m, b) -} -func (m *SupportedLanguage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SupportedLanguage.Marshal(b, m, deterministic) -} -func (m *SupportedLanguage) XXX_Merge(src proto.Message) { - xxx_messageInfo_SupportedLanguage.Merge(m, src) -} -func (m *SupportedLanguage) XXX_Size() int { - return xxx_messageInfo_SupportedLanguage.Size(m) -} -func (m *SupportedLanguage) XXX_DiscardUnknown() { - xxx_messageInfo_SupportedLanguage.DiscardUnknown(m) -} - -var xxx_messageInfo_SupportedLanguage proto.InternalMessageInfo - -func (m *SupportedLanguage) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *SupportedLanguage) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *SupportedLanguage) GetSupportSource() bool { - if m != nil { - return m.SupportSource - } - return false -} - -func (m *SupportedLanguage) GetSupportTarget() bool { - if m != nil { - return m.SupportTarget - } - return false -} - -// The Google Cloud Storage location for the input content. -type GcsSource struct { - // Required. Source data URI. For example, `gs://my_bucket/my_object`. - InputUri string `protobuf:"bytes,1,opt,name=input_uri,json=inputUri,proto3" json:"input_uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_56145e4302ec702e, []int{10} -} - -func (m *GcsSource) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GcsSource.Unmarshal(m, b) -} -func (m *GcsSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GcsSource.Marshal(b, m, deterministic) -} -func (m *GcsSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcsSource.Merge(m, src) -} -func (m *GcsSource) XXX_Size() int { - return xxx_messageInfo_GcsSource.Size(m) -} -func (m *GcsSource) XXX_DiscardUnknown() { - xxx_messageInfo_GcsSource.DiscardUnknown(m) -} - -var xxx_messageInfo_GcsSource proto.InternalMessageInfo - -func (m *GcsSource) GetInputUri() string { - if m != nil { - return m.InputUri - } - return "" -} - -// Input configuration for BatchTranslateText request. -type InputConfig struct { - // Optional. Can be "text/plain" or "text/html". - // For `.tsv`, "text/html" is used if mime_type is missing. - // For `.html`, this field must be "text/html" or empty. - // For `.txt`, this field must be "text/plain" or empty. - MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - // Required. Specify the input. - // - // Types that are valid to be assigned to Source: - // *InputConfig_GcsSource - Source isInputConfig_Source `protobuf_oneof:"source"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_56145e4302ec702e, []int{11} -} - -func (m *InputConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InputConfig.Unmarshal(m, b) -} -func (m *InputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InputConfig.Marshal(b, m, deterministic) -} -func (m *InputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_InputConfig.Merge(m, src) -} -func (m *InputConfig) XXX_Size() int { - return xxx_messageInfo_InputConfig.Size(m) -} -func (m *InputConfig) XXX_DiscardUnknown() { - xxx_messageInfo_InputConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_InputConfig proto.InternalMessageInfo - -func (m *InputConfig) GetMimeType() string { - if m != nil { - return m.MimeType - } - return "" -} - -type isInputConfig_Source interface { - isInputConfig_Source() -} - -type InputConfig_GcsSource struct { - GcsSource *GcsSource `protobuf:"bytes,2,opt,name=gcs_source,json=gcsSource,proto3,oneof"` -} - -func (*InputConfig_GcsSource) isInputConfig_Source() {} - -func (m *InputConfig) GetSource() isInputConfig_Source { - if m != nil { - return m.Source - } - return nil -} - -func (m *InputConfig) GetGcsSource() *GcsSource { - if x, ok := m.GetSource().(*InputConfig_GcsSource); ok { - return x.GcsSource - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*InputConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*InputConfig_GcsSource)(nil), - } -} - -// The Google Cloud Storage location for the output content. -type GcsDestination struct { - // Required. There must be no files under 'output_uri_prefix'. - // 'output_uri_prefix' must end with "/" and start with "gs://", otherwise an - // INVALID_ARGUMENT (400) error is returned. - 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 *GcsDestination) Reset() { *m = GcsDestination{} } -func (m *GcsDestination) String() string { return proto.CompactTextString(m) } -func (*GcsDestination) ProtoMessage() {} -func (*GcsDestination) Descriptor() ([]byte, []int) { - return fileDescriptor_56145e4302ec702e, []int{12} -} - -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 (m *GcsDestination) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcsDestination.Merge(m, 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) GetOutputUriPrefix() string { - if m != nil { - return m.OutputUriPrefix - } - return "" -} - -// Output configuration for BatchTranslateText request. -type OutputConfig struct { - // Required. The destination of output. - // - // 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_56145e4302ec702e, []int{13} -} - -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 (m *OutputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_OutputConfig.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*OutputConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*OutputConfig_GcsDestination)(nil), - } -} - -// The batch translation request. -type BatchTranslateTextRequest struct { - // Required. Location to make a call. Must refer to a caller's project. - // - // Format: `projects/{project-id}/locations/{location-id}`. - // - // The `global` location is not supported for batch translation. - // - // Only AutoML Translation models or glossaries within the same region (have - // the same location-id) can be used, otherwise an INVALID_ARGUMENT (400) - // error is returned. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. Source language code. - SourceLanguageCode string `protobuf:"bytes,2,opt,name=source_language_code,json=sourceLanguageCode,proto3" json:"source_language_code,omitempty"` - // Required. Specify up to 10 language codes here. - TargetLanguageCodes []string `protobuf:"bytes,3,rep,name=target_language_codes,json=targetLanguageCodes,proto3" json:"target_language_codes,omitempty"` - // Optional. The models to use for translation. Map's key is target language - // code. Map's value is model name. Value can be a built-in general model, - // or an AutoML Translation model. - // - // The value format depends on model type: - // - // - AutoML Translation models: - // `projects/{project-id}/locations/{location-id}/models/{model-id}` - // - // - General (built-in) models: - // `projects/{project-id}/locations/{location-id}/models/general/nmt`, - // `projects/{project-id}/locations/{location-id}/models/general/base` - // - // - // If the map is empty or a specific model is - // not requested for a language pair, then default google model (nmt) is used. - Models map[string]string `protobuf:"bytes,4,rep,name=models,proto3" json:"models,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Required. Input configurations. - // The total number of files matched should be <= 1000. - // The total content size should be <= 100M Unicode codepoints. - // The files must use UTF-8 encoding. - InputConfigs []*InputConfig `protobuf:"bytes,5,rep,name=input_configs,json=inputConfigs,proto3" json:"input_configs,omitempty"` - // Required. Output configuration. - // If 2 input configs match to the same file (that is, same input path), - // we don't generate output for duplicate inputs. - OutputConfig *OutputConfig `protobuf:"bytes,6,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"` - // Optional. Glossaries to be applied for translation. - // It's keyed by target language code. - Glossaries map[string]*TranslateTextGlossaryConfig `protobuf:"bytes,7,rep,name=glossaries,proto3" json:"glossaries,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Optional. The labels with user-defined metadata for the request. - // - // Label keys and values can be no longer than 63 characters - // (Unicode codepoints), can only contain lowercase letters, numeric - // characters, underscores and dashes. International characters are allowed. - // Label values are optional. Label keys must start with a letter. - // - // See https://cloud.google.com/translate/docs/labels for more information. - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchTranslateTextRequest) Reset() { *m = BatchTranslateTextRequest{} } -func (m *BatchTranslateTextRequest) String() string { return proto.CompactTextString(m) } -func (*BatchTranslateTextRequest) ProtoMessage() {} -func (*BatchTranslateTextRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_56145e4302ec702e, []int{14} -} - -func (m *BatchTranslateTextRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchTranslateTextRequest.Unmarshal(m, b) -} -func (m *BatchTranslateTextRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchTranslateTextRequest.Marshal(b, m, deterministic) -} -func (m *BatchTranslateTextRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchTranslateTextRequest.Merge(m, src) -} -func (m *BatchTranslateTextRequest) XXX_Size() int { - return xxx_messageInfo_BatchTranslateTextRequest.Size(m) -} -func (m *BatchTranslateTextRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchTranslateTextRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchTranslateTextRequest proto.InternalMessageInfo - -func (m *BatchTranslateTextRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *BatchTranslateTextRequest) GetSourceLanguageCode() string { - if m != nil { - return m.SourceLanguageCode - } - return "" -} - -func (m *BatchTranslateTextRequest) GetTargetLanguageCodes() []string { - if m != nil { - return m.TargetLanguageCodes - } - return nil -} - -func (m *BatchTranslateTextRequest) GetModels() map[string]string { - if m != nil { - return m.Models - } - return nil -} - -func (m *BatchTranslateTextRequest) GetInputConfigs() []*InputConfig { - if m != nil { - return m.InputConfigs - } - return nil -} - -func (m *BatchTranslateTextRequest) GetOutputConfig() *OutputConfig { - if m != nil { - return m.OutputConfig - } - return nil -} - -func (m *BatchTranslateTextRequest) GetGlossaries() map[string]*TranslateTextGlossaryConfig { - if m != nil { - return m.Glossaries - } - return nil -} - -func (m *BatchTranslateTextRequest) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -// State metadata for the batch translation operation. -type BatchTranslateMetadata struct { - // The state of the operation. - State BatchTranslateMetadata_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.translation.v3beta1.BatchTranslateMetadata_State" json:"state,omitempty"` - // Number of successfully translated characters so far (Unicode codepoints). - TranslatedCharacters int64 `protobuf:"varint,2,opt,name=translated_characters,json=translatedCharacters,proto3" json:"translated_characters,omitempty"` - // Number of characters that have failed to process so far (Unicode - // codepoints). - FailedCharacters int64 `protobuf:"varint,3,opt,name=failed_characters,json=failedCharacters,proto3" json:"failed_characters,omitempty"` - // Total number of characters (Unicode codepoints). - // This is the total number of codepoints from input files times the number of - // target languages and appears here shortly after the call is submitted. - TotalCharacters int64 `protobuf:"varint,4,opt,name=total_characters,json=totalCharacters,proto3" json:"total_characters,omitempty"` - // Time when the operation was submitted. - SubmitTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=submit_time,json=submitTime,proto3" json:"submit_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchTranslateMetadata) Reset() { *m = BatchTranslateMetadata{} } -func (m *BatchTranslateMetadata) String() string { return proto.CompactTextString(m) } -func (*BatchTranslateMetadata) ProtoMessage() {} -func (*BatchTranslateMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_56145e4302ec702e, []int{15} -} - -func (m *BatchTranslateMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchTranslateMetadata.Unmarshal(m, b) -} -func (m *BatchTranslateMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchTranslateMetadata.Marshal(b, m, deterministic) -} -func (m *BatchTranslateMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchTranslateMetadata.Merge(m, src) -} -func (m *BatchTranslateMetadata) XXX_Size() int { - return xxx_messageInfo_BatchTranslateMetadata.Size(m) -} -func (m *BatchTranslateMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_BatchTranslateMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchTranslateMetadata proto.InternalMessageInfo - -func (m *BatchTranslateMetadata) GetState() BatchTranslateMetadata_State { - if m != nil { - return m.State - } - return BatchTranslateMetadata_STATE_UNSPECIFIED -} - -func (m *BatchTranslateMetadata) GetTranslatedCharacters() int64 { - if m != nil { - return m.TranslatedCharacters - } - return 0 -} - -func (m *BatchTranslateMetadata) GetFailedCharacters() int64 { - if m != nil { - return m.FailedCharacters - } - return 0 -} - -func (m *BatchTranslateMetadata) GetTotalCharacters() int64 { - if m != nil { - return m.TotalCharacters - } - return 0 -} - -func (m *BatchTranslateMetadata) GetSubmitTime() *timestamp.Timestamp { - if m != nil { - return m.SubmitTime - } - return nil -} - -// Stored in the [google.longrunning.Operation.response][google.longrunning.Operation.response] field returned by -// BatchTranslateText if at least one sentence is translated successfully. -type BatchTranslateResponse struct { - // Total number of characters (Unicode codepoints). - TotalCharacters int64 `protobuf:"varint,1,opt,name=total_characters,json=totalCharacters,proto3" json:"total_characters,omitempty"` - // Number of successfully translated characters (Unicode codepoints). - TranslatedCharacters int64 `protobuf:"varint,2,opt,name=translated_characters,json=translatedCharacters,proto3" json:"translated_characters,omitempty"` - // Number of characters that have failed to process (Unicode codepoints). - FailedCharacters int64 `protobuf:"varint,3,opt,name=failed_characters,json=failedCharacters,proto3" json:"failed_characters,omitempty"` - // Time when the operation was submitted. - SubmitTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=submit_time,json=submitTime,proto3" json:"submit_time,omitempty"` - // The time when the operation is finished and - // [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true. - EndTime *timestamp.Timestamp `protobuf:"bytes,5,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 *BatchTranslateResponse) Reset() { *m = BatchTranslateResponse{} } -func (m *BatchTranslateResponse) String() string { return proto.CompactTextString(m) } -func (*BatchTranslateResponse) ProtoMessage() {} -func (*BatchTranslateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_56145e4302ec702e, []int{16} -} - -func (m *BatchTranslateResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchTranslateResponse.Unmarshal(m, b) -} -func (m *BatchTranslateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchTranslateResponse.Marshal(b, m, deterministic) -} -func (m *BatchTranslateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchTranslateResponse.Merge(m, src) -} -func (m *BatchTranslateResponse) XXX_Size() int { - return xxx_messageInfo_BatchTranslateResponse.Size(m) -} -func (m *BatchTranslateResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BatchTranslateResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchTranslateResponse proto.InternalMessageInfo - -func (m *BatchTranslateResponse) GetTotalCharacters() int64 { - if m != nil { - return m.TotalCharacters - } - return 0 -} - -func (m *BatchTranslateResponse) GetTranslatedCharacters() int64 { - if m != nil { - return m.TranslatedCharacters - } - return 0 -} - -func (m *BatchTranslateResponse) GetFailedCharacters() int64 { - if m != nil { - return m.FailedCharacters - } - return 0 -} - -func (m *BatchTranslateResponse) GetSubmitTime() *timestamp.Timestamp { - if m != nil { - return m.SubmitTime - } - return nil -} - -func (m *BatchTranslateResponse) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -// Input configuration for glossaries. -type GlossaryInputConfig struct { - // Required. Specify the input. - // - // Types that are valid to be assigned to Source: - // *GlossaryInputConfig_GcsSource - Source isGlossaryInputConfig_Source `protobuf_oneof:"source"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GlossaryInputConfig) Reset() { *m = GlossaryInputConfig{} } -func (m *GlossaryInputConfig) String() string { return proto.CompactTextString(m) } -func (*GlossaryInputConfig) ProtoMessage() {} -func (*GlossaryInputConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_56145e4302ec702e, []int{17} -} - -func (m *GlossaryInputConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GlossaryInputConfig.Unmarshal(m, b) -} -func (m *GlossaryInputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GlossaryInputConfig.Marshal(b, m, deterministic) -} -func (m *GlossaryInputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_GlossaryInputConfig.Merge(m, src) -} -func (m *GlossaryInputConfig) XXX_Size() int { - return xxx_messageInfo_GlossaryInputConfig.Size(m) -} -func (m *GlossaryInputConfig) XXX_DiscardUnknown() { - xxx_messageInfo_GlossaryInputConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_GlossaryInputConfig proto.InternalMessageInfo - -type isGlossaryInputConfig_Source interface { - isGlossaryInputConfig_Source() -} - -type GlossaryInputConfig_GcsSource struct { - GcsSource *GcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3,oneof"` -} - -func (*GlossaryInputConfig_GcsSource) isGlossaryInputConfig_Source() {} - -func (m *GlossaryInputConfig) GetSource() isGlossaryInputConfig_Source { - if m != nil { - return m.Source - } - return nil -} - -func (m *GlossaryInputConfig) GetGcsSource() *GcsSource { - if x, ok := m.GetSource().(*GlossaryInputConfig_GcsSource); ok { - return x.GcsSource - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*GlossaryInputConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*GlossaryInputConfig_GcsSource)(nil), - } -} - -// Represents a glossary built from user provided data. -type Glossary struct { - // Required. The resource name of the glossary. Glossary names have the form - // `projects/{project-id}/locations/{location-id}/glossaries/{glossary-id}`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Languages supported by the glossary. - // - // Types that are valid to be assigned to Languages: - // *Glossary_LanguagePair - // *Glossary_LanguageCodesSet_ - Languages isGlossary_Languages `protobuf_oneof:"languages"` - // Required. Provides examples to build the glossary from. - // Total glossary must not exceed 10M Unicode codepoints. - InputConfig *GlossaryInputConfig `protobuf:"bytes,5,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"` - // Output only. The number of entries defined in the glossary. - EntryCount int32 `protobuf:"varint,6,opt,name=entry_count,json=entryCount,proto3" json:"entry_count,omitempty"` - // Output only. When CreateGlossary was called. - SubmitTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=submit_time,json=submitTime,proto3" json:"submit_time,omitempty"` - // Output only. When the glossary creation was finished. - EndTime *timestamp.Timestamp `protobuf:"bytes,8,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 *Glossary) Reset() { *m = Glossary{} } -func (m *Glossary) String() string { return proto.CompactTextString(m) } -func (*Glossary) ProtoMessage() {} -func (*Glossary) Descriptor() ([]byte, []int) { - return fileDescriptor_56145e4302ec702e, []int{18} -} - -func (m *Glossary) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Glossary.Unmarshal(m, b) -} -func (m *Glossary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Glossary.Marshal(b, m, deterministic) -} -func (m *Glossary) XXX_Merge(src proto.Message) { - xxx_messageInfo_Glossary.Merge(m, src) -} -func (m *Glossary) XXX_Size() int { - return xxx_messageInfo_Glossary.Size(m) -} -func (m *Glossary) XXX_DiscardUnknown() { - xxx_messageInfo_Glossary.DiscardUnknown(m) -} - -var xxx_messageInfo_Glossary proto.InternalMessageInfo - -func (m *Glossary) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -type isGlossary_Languages interface { - isGlossary_Languages() -} - -type Glossary_LanguagePair struct { - LanguagePair *Glossary_LanguageCodePair `protobuf:"bytes,3,opt,name=language_pair,json=languagePair,proto3,oneof"` -} - -type Glossary_LanguageCodesSet_ struct { - LanguageCodesSet *Glossary_LanguageCodesSet `protobuf:"bytes,4,opt,name=language_codes_set,json=languageCodesSet,proto3,oneof"` -} - -func (*Glossary_LanguagePair) isGlossary_Languages() {} - -func (*Glossary_LanguageCodesSet_) isGlossary_Languages() {} - -func (m *Glossary) GetLanguages() isGlossary_Languages { - if m != nil { - return m.Languages - } - return nil -} - -func (m *Glossary) GetLanguagePair() *Glossary_LanguageCodePair { - if x, ok := m.GetLanguages().(*Glossary_LanguagePair); ok { - return x.LanguagePair - } - return nil -} - -func (m *Glossary) GetLanguageCodesSet() *Glossary_LanguageCodesSet { - if x, ok := m.GetLanguages().(*Glossary_LanguageCodesSet_); ok { - return x.LanguageCodesSet - } - return nil -} - -func (m *Glossary) GetInputConfig() *GlossaryInputConfig { - if m != nil { - return m.InputConfig - } - return nil -} - -func (m *Glossary) GetEntryCount() int32 { - if m != nil { - return m.EntryCount - } - return 0 -} - -func (m *Glossary) GetSubmitTime() *timestamp.Timestamp { - if m != nil { - return m.SubmitTime - } - return nil -} - -func (m *Glossary) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Glossary) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Glossary_LanguagePair)(nil), - (*Glossary_LanguageCodesSet_)(nil), - } -} - -// Used with unidirectional glossaries. -type Glossary_LanguageCodePair struct { - // Required. The BCP-47 language code of the input text, for example, - // "en-US". Expected to be an exact match for GlossaryTerm.language_code. - SourceLanguageCode string `protobuf:"bytes,1,opt,name=source_language_code,json=sourceLanguageCode,proto3" json:"source_language_code,omitempty"` - // Required. The BCP-47 language code for translation output, for example, - // "zh-CN". Expected to be an exact match for GlossaryTerm.language_code. - TargetLanguageCode string `protobuf:"bytes,2,opt,name=target_language_code,json=targetLanguageCode,proto3" json:"target_language_code,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Glossary_LanguageCodePair) Reset() { *m = Glossary_LanguageCodePair{} } -func (m *Glossary_LanguageCodePair) String() string { return proto.CompactTextString(m) } -func (*Glossary_LanguageCodePair) ProtoMessage() {} -func (*Glossary_LanguageCodePair) Descriptor() ([]byte, []int) { - return fileDescriptor_56145e4302ec702e, []int{18, 0} -} - -func (m *Glossary_LanguageCodePair) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Glossary_LanguageCodePair.Unmarshal(m, b) -} -func (m *Glossary_LanguageCodePair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Glossary_LanguageCodePair.Marshal(b, m, deterministic) -} -func (m *Glossary_LanguageCodePair) XXX_Merge(src proto.Message) { - xxx_messageInfo_Glossary_LanguageCodePair.Merge(m, src) -} -func (m *Glossary_LanguageCodePair) XXX_Size() int { - return xxx_messageInfo_Glossary_LanguageCodePair.Size(m) -} -func (m *Glossary_LanguageCodePair) XXX_DiscardUnknown() { - xxx_messageInfo_Glossary_LanguageCodePair.DiscardUnknown(m) -} - -var xxx_messageInfo_Glossary_LanguageCodePair proto.InternalMessageInfo - -func (m *Glossary_LanguageCodePair) GetSourceLanguageCode() string { - if m != nil { - return m.SourceLanguageCode - } - return "" -} - -func (m *Glossary_LanguageCodePair) GetTargetLanguageCode() string { - if m != nil { - return m.TargetLanguageCode - } - return "" -} - -// Used with equivalent term set glossaries. -type Glossary_LanguageCodesSet struct { - // The BCP-47 language code(s) for terms defined in the glossary. - // All entries are unique. The list contains at least two entries. - // Expected to be an exact match for GlossaryTerm.language_code. - LanguageCodes []string `protobuf:"bytes,1,rep,name=language_codes,json=languageCodes,proto3" json:"language_codes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Glossary_LanguageCodesSet) Reset() { *m = Glossary_LanguageCodesSet{} } -func (m *Glossary_LanguageCodesSet) String() string { return proto.CompactTextString(m) } -func (*Glossary_LanguageCodesSet) ProtoMessage() {} -func (*Glossary_LanguageCodesSet) Descriptor() ([]byte, []int) { - return fileDescriptor_56145e4302ec702e, []int{18, 1} -} - -func (m *Glossary_LanguageCodesSet) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Glossary_LanguageCodesSet.Unmarshal(m, b) -} -func (m *Glossary_LanguageCodesSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Glossary_LanguageCodesSet.Marshal(b, m, deterministic) -} -func (m *Glossary_LanguageCodesSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_Glossary_LanguageCodesSet.Merge(m, src) -} -func (m *Glossary_LanguageCodesSet) XXX_Size() int { - return xxx_messageInfo_Glossary_LanguageCodesSet.Size(m) -} -func (m *Glossary_LanguageCodesSet) XXX_DiscardUnknown() { - xxx_messageInfo_Glossary_LanguageCodesSet.DiscardUnknown(m) -} - -var xxx_messageInfo_Glossary_LanguageCodesSet proto.InternalMessageInfo - -func (m *Glossary_LanguageCodesSet) GetLanguageCodes() []string { - if m != nil { - return m.LanguageCodes - } - return nil -} - -// Request message for CreateGlossary. -type CreateGlossaryRequest struct { - // Required. The project name. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The glossary to create. - Glossary *Glossary `protobuf:"bytes,2,opt,name=glossary,proto3" json:"glossary,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateGlossaryRequest) Reset() { *m = CreateGlossaryRequest{} } -func (m *CreateGlossaryRequest) String() string { return proto.CompactTextString(m) } -func (*CreateGlossaryRequest) ProtoMessage() {} -func (*CreateGlossaryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_56145e4302ec702e, []int{19} -} - -func (m *CreateGlossaryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateGlossaryRequest.Unmarshal(m, b) -} -func (m *CreateGlossaryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateGlossaryRequest.Marshal(b, m, deterministic) -} -func (m *CreateGlossaryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateGlossaryRequest.Merge(m, src) -} -func (m *CreateGlossaryRequest) XXX_Size() int { - return xxx_messageInfo_CreateGlossaryRequest.Size(m) -} -func (m *CreateGlossaryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateGlossaryRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateGlossaryRequest proto.InternalMessageInfo - -func (m *CreateGlossaryRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateGlossaryRequest) GetGlossary() *Glossary { - if m != nil { - return m.Glossary - } - return nil -} - -// Request message for GetGlossary. -type GetGlossaryRequest struct { - // Required. The name of the glossary to retrieve. - 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 *GetGlossaryRequest) Reset() { *m = GetGlossaryRequest{} } -func (m *GetGlossaryRequest) String() string { return proto.CompactTextString(m) } -func (*GetGlossaryRequest) ProtoMessage() {} -func (*GetGlossaryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_56145e4302ec702e, []int{20} -} - -func (m *GetGlossaryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetGlossaryRequest.Unmarshal(m, b) -} -func (m *GetGlossaryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetGlossaryRequest.Marshal(b, m, deterministic) -} -func (m *GetGlossaryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGlossaryRequest.Merge(m, src) -} -func (m *GetGlossaryRequest) XXX_Size() int { - return xxx_messageInfo_GetGlossaryRequest.Size(m) -} -func (m *GetGlossaryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetGlossaryRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetGlossaryRequest proto.InternalMessageInfo - -func (m *GetGlossaryRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for DeleteGlossary. -type DeleteGlossaryRequest struct { - // Required. The name of the glossary to delete. - 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 *DeleteGlossaryRequest) Reset() { *m = DeleteGlossaryRequest{} } -func (m *DeleteGlossaryRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteGlossaryRequest) ProtoMessage() {} -func (*DeleteGlossaryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_56145e4302ec702e, []int{21} -} - -func (m *DeleteGlossaryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteGlossaryRequest.Unmarshal(m, b) -} -func (m *DeleteGlossaryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteGlossaryRequest.Marshal(b, m, deterministic) -} -func (m *DeleteGlossaryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteGlossaryRequest.Merge(m, src) -} -func (m *DeleteGlossaryRequest) XXX_Size() int { - return xxx_messageInfo_DeleteGlossaryRequest.Size(m) -} -func (m *DeleteGlossaryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteGlossaryRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteGlossaryRequest proto.InternalMessageInfo - -func (m *DeleteGlossaryRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for ListGlossaries. -type ListGlossariesRequest struct { - // Required. The name of the project from which to list all of the glossaries. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. Requested page size. The server may return fewer glossaries than - // requested. If unspecified, the server picks an appropriate default. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional. A token identifying a page of results the server should return. - // Typically, this is the value of [ListGlossariesResponse.next_page_token] - // returned from the previous call to `ListGlossaries` method. - // The first page is returned if `page_token`is empty or missing. - PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // Optional. Filter specifying constraints of a list operation. - // Filtering is not supported yet, and the parameter currently has no effect. - // If missing, no filtering is performed. - Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListGlossariesRequest) Reset() { *m = ListGlossariesRequest{} } -func (m *ListGlossariesRequest) String() string { return proto.CompactTextString(m) } -func (*ListGlossariesRequest) ProtoMessage() {} -func (*ListGlossariesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_56145e4302ec702e, []int{22} -} - -func (m *ListGlossariesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListGlossariesRequest.Unmarshal(m, b) -} -func (m *ListGlossariesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListGlossariesRequest.Marshal(b, m, deterministic) -} -func (m *ListGlossariesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListGlossariesRequest.Merge(m, src) -} -func (m *ListGlossariesRequest) XXX_Size() int { - return xxx_messageInfo_ListGlossariesRequest.Size(m) -} -func (m *ListGlossariesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListGlossariesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListGlossariesRequest proto.InternalMessageInfo - -func (m *ListGlossariesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListGlossariesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListGlossariesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListGlossariesRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -// Response message for ListGlossaries. -type ListGlossariesResponse struct { - // The list of glossaries for a project. - Glossaries []*Glossary `protobuf:"bytes,1,rep,name=glossaries,proto3" json:"glossaries,omitempty"` - // A token to retrieve a page of results. Pass this value in the - // [ListGlossariesRequest.page_token] field in the subsequent call to - // `ListGlossaries` method to retrieve the next page of 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 *ListGlossariesResponse) Reset() { *m = ListGlossariesResponse{} } -func (m *ListGlossariesResponse) String() string { return proto.CompactTextString(m) } -func (*ListGlossariesResponse) ProtoMessage() {} -func (*ListGlossariesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_56145e4302ec702e, []int{23} -} - -func (m *ListGlossariesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListGlossariesResponse.Unmarshal(m, b) -} -func (m *ListGlossariesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListGlossariesResponse.Marshal(b, m, deterministic) -} -func (m *ListGlossariesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListGlossariesResponse.Merge(m, src) -} -func (m *ListGlossariesResponse) XXX_Size() int { - return xxx_messageInfo_ListGlossariesResponse.Size(m) -} -func (m *ListGlossariesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListGlossariesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListGlossariesResponse proto.InternalMessageInfo - -func (m *ListGlossariesResponse) GetGlossaries() []*Glossary { - if m != nil { - return m.Glossaries - } - return nil -} - -func (m *ListGlossariesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Stored in the [google.longrunning.Operation.metadata][google.longrunning.Operation.metadata] field returned by -// CreateGlossary. -type CreateGlossaryMetadata struct { - // The name of the glossary that is being created. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The current state of the glossary creation operation. - State CreateGlossaryMetadata_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.translation.v3beta1.CreateGlossaryMetadata_State" json:"state,omitempty"` - // The time when the operation was submitted to the server. - SubmitTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=submit_time,json=submitTime,proto3" json:"submit_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateGlossaryMetadata) Reset() { *m = CreateGlossaryMetadata{} } -func (m *CreateGlossaryMetadata) String() string { return proto.CompactTextString(m) } -func (*CreateGlossaryMetadata) ProtoMessage() {} -func (*CreateGlossaryMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_56145e4302ec702e, []int{24} -} - -func (m *CreateGlossaryMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateGlossaryMetadata.Unmarshal(m, b) -} -func (m *CreateGlossaryMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateGlossaryMetadata.Marshal(b, m, deterministic) -} -func (m *CreateGlossaryMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateGlossaryMetadata.Merge(m, src) -} -func (m *CreateGlossaryMetadata) XXX_Size() int { - return xxx_messageInfo_CreateGlossaryMetadata.Size(m) -} -func (m *CreateGlossaryMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_CreateGlossaryMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateGlossaryMetadata proto.InternalMessageInfo - -func (m *CreateGlossaryMetadata) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *CreateGlossaryMetadata) GetState() CreateGlossaryMetadata_State { - if m != nil { - return m.State - } - return CreateGlossaryMetadata_STATE_UNSPECIFIED -} - -func (m *CreateGlossaryMetadata) GetSubmitTime() *timestamp.Timestamp { - if m != nil { - return m.SubmitTime - } - return nil -} - -// Stored in the [google.longrunning.Operation.metadata][google.longrunning.Operation.metadata] field returned by -// DeleteGlossary. -type DeleteGlossaryMetadata struct { - // The name of the glossary that is being deleted. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The current state of the glossary deletion operation. - State DeleteGlossaryMetadata_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.translation.v3beta1.DeleteGlossaryMetadata_State" json:"state,omitempty"` - // The time when the operation was submitted to the server. - SubmitTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=submit_time,json=submitTime,proto3" json:"submit_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DeleteGlossaryMetadata) Reset() { *m = DeleteGlossaryMetadata{} } -func (m *DeleteGlossaryMetadata) String() string { return proto.CompactTextString(m) } -func (*DeleteGlossaryMetadata) ProtoMessage() {} -func (*DeleteGlossaryMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_56145e4302ec702e, []int{25} -} - -func (m *DeleteGlossaryMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteGlossaryMetadata.Unmarshal(m, b) -} -func (m *DeleteGlossaryMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteGlossaryMetadata.Marshal(b, m, deterministic) -} -func (m *DeleteGlossaryMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteGlossaryMetadata.Merge(m, src) -} -func (m *DeleteGlossaryMetadata) XXX_Size() int { - return xxx_messageInfo_DeleteGlossaryMetadata.Size(m) -} -func (m *DeleteGlossaryMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteGlossaryMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteGlossaryMetadata proto.InternalMessageInfo - -func (m *DeleteGlossaryMetadata) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *DeleteGlossaryMetadata) GetState() DeleteGlossaryMetadata_State { - if m != nil { - return m.State - } - return DeleteGlossaryMetadata_STATE_UNSPECIFIED -} - -func (m *DeleteGlossaryMetadata) GetSubmitTime() *timestamp.Timestamp { - if m != nil { - return m.SubmitTime - } - return nil -} - -// Stored in the [google.longrunning.Operation.response][google.longrunning.Operation.response] field returned by -// DeleteGlossary. -type DeleteGlossaryResponse struct { - // The name of the deleted glossary. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The time when the operation 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 glossary deletion 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 *DeleteGlossaryResponse) Reset() { *m = DeleteGlossaryResponse{} } -func (m *DeleteGlossaryResponse) String() string { return proto.CompactTextString(m) } -func (*DeleteGlossaryResponse) ProtoMessage() {} -func (*DeleteGlossaryResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_56145e4302ec702e, []int{26} -} - -func (m *DeleteGlossaryResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteGlossaryResponse.Unmarshal(m, b) -} -func (m *DeleteGlossaryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteGlossaryResponse.Marshal(b, m, deterministic) -} -func (m *DeleteGlossaryResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteGlossaryResponse.Merge(m, src) -} -func (m *DeleteGlossaryResponse) XXX_Size() int { - return xxx_messageInfo_DeleteGlossaryResponse.Size(m) -} -func (m *DeleteGlossaryResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteGlossaryResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteGlossaryResponse proto.InternalMessageInfo - -func (m *DeleteGlossaryResponse) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *DeleteGlossaryResponse) GetSubmitTime() *timestamp.Timestamp { - if m != nil { - return m.SubmitTime - } - return nil -} - -func (m *DeleteGlossaryResponse) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.translation.v3beta1.BatchTranslateMetadata_State", BatchTranslateMetadata_State_name, BatchTranslateMetadata_State_value) - proto.RegisterEnum("google.cloud.translation.v3beta1.CreateGlossaryMetadata_State", CreateGlossaryMetadata_State_name, CreateGlossaryMetadata_State_value) - proto.RegisterEnum("google.cloud.translation.v3beta1.DeleteGlossaryMetadata_State", DeleteGlossaryMetadata_State_name, DeleteGlossaryMetadata_State_value) - proto.RegisterType((*TranslateTextGlossaryConfig)(nil), "google.cloud.translation.v3beta1.TranslateTextGlossaryConfig") - proto.RegisterType((*TranslateTextRequest)(nil), "google.cloud.translation.v3beta1.TranslateTextRequest") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.translation.v3beta1.TranslateTextRequest.LabelsEntry") - proto.RegisterType((*TranslateTextResponse)(nil), "google.cloud.translation.v3beta1.TranslateTextResponse") - proto.RegisterType((*Translation)(nil), "google.cloud.translation.v3beta1.Translation") - proto.RegisterType((*DetectLanguageRequest)(nil), "google.cloud.translation.v3beta1.DetectLanguageRequest") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.translation.v3beta1.DetectLanguageRequest.LabelsEntry") - proto.RegisterType((*DetectedLanguage)(nil), "google.cloud.translation.v3beta1.DetectedLanguage") - proto.RegisterType((*DetectLanguageResponse)(nil), "google.cloud.translation.v3beta1.DetectLanguageResponse") - proto.RegisterType((*GetSupportedLanguagesRequest)(nil), "google.cloud.translation.v3beta1.GetSupportedLanguagesRequest") - proto.RegisterType((*SupportedLanguages)(nil), "google.cloud.translation.v3beta1.SupportedLanguages") - proto.RegisterType((*SupportedLanguage)(nil), "google.cloud.translation.v3beta1.SupportedLanguage") - proto.RegisterType((*GcsSource)(nil), "google.cloud.translation.v3beta1.GcsSource") - proto.RegisterType((*InputConfig)(nil), "google.cloud.translation.v3beta1.InputConfig") - proto.RegisterType((*GcsDestination)(nil), "google.cloud.translation.v3beta1.GcsDestination") - proto.RegisterType((*OutputConfig)(nil), "google.cloud.translation.v3beta1.OutputConfig") - proto.RegisterType((*BatchTranslateTextRequest)(nil), "google.cloud.translation.v3beta1.BatchTranslateTextRequest") - proto.RegisterMapType((map[string]*TranslateTextGlossaryConfig)(nil), "google.cloud.translation.v3beta1.BatchTranslateTextRequest.GlossariesEntry") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.translation.v3beta1.BatchTranslateTextRequest.LabelsEntry") - proto.RegisterMapType((map[string]string)(nil), "google.cloud.translation.v3beta1.BatchTranslateTextRequest.ModelsEntry") - proto.RegisterType((*BatchTranslateMetadata)(nil), "google.cloud.translation.v3beta1.BatchTranslateMetadata") - proto.RegisterType((*BatchTranslateResponse)(nil), "google.cloud.translation.v3beta1.BatchTranslateResponse") - proto.RegisterType((*GlossaryInputConfig)(nil), "google.cloud.translation.v3beta1.GlossaryInputConfig") - proto.RegisterType((*Glossary)(nil), "google.cloud.translation.v3beta1.Glossary") - proto.RegisterType((*Glossary_LanguageCodePair)(nil), "google.cloud.translation.v3beta1.Glossary.LanguageCodePair") - proto.RegisterType((*Glossary_LanguageCodesSet)(nil), "google.cloud.translation.v3beta1.Glossary.LanguageCodesSet") - proto.RegisterType((*CreateGlossaryRequest)(nil), "google.cloud.translation.v3beta1.CreateGlossaryRequest") - proto.RegisterType((*GetGlossaryRequest)(nil), "google.cloud.translation.v3beta1.GetGlossaryRequest") - proto.RegisterType((*DeleteGlossaryRequest)(nil), "google.cloud.translation.v3beta1.DeleteGlossaryRequest") - proto.RegisterType((*ListGlossariesRequest)(nil), "google.cloud.translation.v3beta1.ListGlossariesRequest") - proto.RegisterType((*ListGlossariesResponse)(nil), "google.cloud.translation.v3beta1.ListGlossariesResponse") - proto.RegisterType((*CreateGlossaryMetadata)(nil), "google.cloud.translation.v3beta1.CreateGlossaryMetadata") - proto.RegisterType((*DeleteGlossaryMetadata)(nil), "google.cloud.translation.v3beta1.DeleteGlossaryMetadata") - proto.RegisterType((*DeleteGlossaryResponse)(nil), "google.cloud.translation.v3beta1.DeleteGlossaryResponse") -} - -func init() { - proto.RegisterFile("google/cloud/translate/v3beta1/translation_service.proto", fileDescriptor_56145e4302ec702e) -} - -var fileDescriptor_56145e4302ec702e = []byte{ - // 2367 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x5a, 0x4f, 0x73, 0xdb, 0xc6, - 0x15, 0x17, 0x48, 0x89, 0x92, 0x1e, 0x25, 0x8a, 0x5e, 0x8b, 0x32, 0xcd, 0xa4, 0x89, 0x0c, 0x27, - 0xad, 0x23, 0xdb, 0xa4, 0x23, 0xd9, 0xb1, 0x43, 0x8f, 0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 0x5b, 0xad, 0x54, 0x1e, 0x3d, 0x7a, 0x14, 0x85, 0xf3, 0x6a, 0x97, 0xdc, 0x67, 0xff, 0x39, - 0x72, 0xd1, 0x36, 0x54, 0xb2, 0x63, 0x39, 0x9d, 0x0b, 0xc9, 0xd8, 0x85, 0x98, 0x2d, 0xff, 0x43, - 0x02, 0x59, 0xb3, 0x3a, 0xf1, 0x41, 0xc5, 0x7e, 0x48, 0x97, 0x4f, 0xf5, 0x03, 0x88, 0x4d, 0x0f, - 0x72, 0x6c, 0x4a, 0x77, 0xd7, 0xb8, 0x68, 0xdb, 0xf2, 0x0e, 0xe8, 0xb2, 0xe5, 0xb4, 0x2b, 0x6d, - 0x6c, 0x52, 0x40, 0x52, 0xe9, 0xd9, 0x30, 0xe8, 0x7f, 0x5c, 0xae, 0x07, 0x94, 0x7f, 0x49, 0xd2, - 0xaf, 0x52, 0xaf, 0xac, 0x31, 0x65, 0x75, 0x6a, 0x47, 0x70, 0x14, 0x95, 0xef, 0x2c, 0x2d, 0x7b, - 0xdc, 0xcf, 0x7d, 0x86, 0x7b, 0x94, 0xe1, 0x5e, 0xc0, 0x70, 0xef, 0x0e, 0x53, 0xf7, 0x22, 0x75, - 0x86, 0x31, 0x54, 0xab, 0x94, 0xa3, 0x5a, 0x0d, 0x58, 0xaa, 0x55, 0xce, 0xb3, 0x9d, 0xa1, 0xc6, - 0x2d, 0xfd, 0x27, 0x00, 0x00, 0xff, 0xff, 0xe7, 0x34, 0xda, 0x44, 0x7f, 0x23, 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 - -// TranslationServiceClient is the client API for TranslationService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type TranslationServiceClient interface { - // Translates input text and returns translated text. - TranslateText(ctx context.Context, in *TranslateTextRequest, opts ...grpc.CallOption) (*TranslateTextResponse, error) - // Detects the language of text within a request. - DetectLanguage(ctx context.Context, in *DetectLanguageRequest, opts ...grpc.CallOption) (*DetectLanguageResponse, error) - // Returns a list of supported languages for translation. - GetSupportedLanguages(ctx context.Context, in *GetSupportedLanguagesRequest, opts ...grpc.CallOption) (*SupportedLanguages, error) - // Translates a large volume of text in asynchronous batch mode. - // This function provides real-time output as the inputs are being processed. - // If caller cancels a request, the partial results (for an input file, it's - // all or nothing) may still be available on the specified output location. - // - // This call returns immediately and you can - // use google.longrunning.Operation.name to poll the status of the call. - BatchTranslateText(ctx context.Context, in *BatchTranslateTextRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Creates a glossary and returns the long-running operation. Returns - // NOT_FOUND, if the project doesn't exist. - CreateGlossary(ctx context.Context, in *CreateGlossaryRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Lists glossaries in a project. Returns NOT_FOUND, if the project doesn't - // exist. - ListGlossaries(ctx context.Context, in *ListGlossariesRequest, opts ...grpc.CallOption) (*ListGlossariesResponse, error) - // Gets a glossary. Returns NOT_FOUND, if the glossary doesn't - // exist. - GetGlossary(ctx context.Context, in *GetGlossaryRequest, opts ...grpc.CallOption) (*Glossary, error) - // Deletes a glossary, or cancels glossary construction - // if the glossary isn't created yet. - // Returns NOT_FOUND, if the glossary doesn't exist. - DeleteGlossary(ctx context.Context, in *DeleteGlossaryRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) -} - -type translationServiceClient struct { - cc *grpc.ClientConn -} - -func NewTranslationServiceClient(cc *grpc.ClientConn) TranslationServiceClient { - return &translationServiceClient{cc} -} - -func (c *translationServiceClient) TranslateText(ctx context.Context, in *TranslateTextRequest, opts ...grpc.CallOption) (*TranslateTextResponse, error) { - out := new(TranslateTextResponse) - err := c.cc.Invoke(ctx, "/google.cloud.translation.v3beta1.TranslationService/TranslateText", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *translationServiceClient) DetectLanguage(ctx context.Context, in *DetectLanguageRequest, opts ...grpc.CallOption) (*DetectLanguageResponse, error) { - out := new(DetectLanguageResponse) - err := c.cc.Invoke(ctx, "/google.cloud.translation.v3beta1.TranslationService/DetectLanguage", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *translationServiceClient) GetSupportedLanguages(ctx context.Context, in *GetSupportedLanguagesRequest, opts ...grpc.CallOption) (*SupportedLanguages, error) { - out := new(SupportedLanguages) - err := c.cc.Invoke(ctx, "/google.cloud.translation.v3beta1.TranslationService/GetSupportedLanguages", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *translationServiceClient) BatchTranslateText(ctx context.Context, in *BatchTranslateTextRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.translation.v3beta1.TranslationService/BatchTranslateText", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *translationServiceClient) CreateGlossary(ctx context.Context, in *CreateGlossaryRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.translation.v3beta1.TranslationService/CreateGlossary", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *translationServiceClient) ListGlossaries(ctx context.Context, in *ListGlossariesRequest, opts ...grpc.CallOption) (*ListGlossariesResponse, error) { - out := new(ListGlossariesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.translation.v3beta1.TranslationService/ListGlossaries", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *translationServiceClient) GetGlossary(ctx context.Context, in *GetGlossaryRequest, opts ...grpc.CallOption) (*Glossary, error) { - out := new(Glossary) - err := c.cc.Invoke(ctx, "/google.cloud.translation.v3beta1.TranslationService/GetGlossary", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *translationServiceClient) DeleteGlossary(ctx context.Context, in *DeleteGlossaryRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.translation.v3beta1.TranslationService/DeleteGlossary", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// TranslationServiceServer is the server API for TranslationService service. -type TranslationServiceServer interface { - // Translates input text and returns translated text. - TranslateText(context.Context, *TranslateTextRequest) (*TranslateTextResponse, error) - // Detects the language of text within a request. - DetectLanguage(context.Context, *DetectLanguageRequest) (*DetectLanguageResponse, error) - // Returns a list of supported languages for translation. - GetSupportedLanguages(context.Context, *GetSupportedLanguagesRequest) (*SupportedLanguages, error) - // Translates a large volume of text in asynchronous batch mode. - // This function provides real-time output as the inputs are being processed. - // If caller cancels a request, the partial results (for an input file, it's - // all or nothing) may still be available on the specified output location. - // - // This call returns immediately and you can - // use google.longrunning.Operation.name to poll the status of the call. - BatchTranslateText(context.Context, *BatchTranslateTextRequest) (*longrunning.Operation, error) - // Creates a glossary and returns the long-running operation. Returns - // NOT_FOUND, if the project doesn't exist. - CreateGlossary(context.Context, *CreateGlossaryRequest) (*longrunning.Operation, error) - // Lists glossaries in a project. Returns NOT_FOUND, if the project doesn't - // exist. - ListGlossaries(context.Context, *ListGlossariesRequest) (*ListGlossariesResponse, error) - // Gets a glossary. Returns NOT_FOUND, if the glossary doesn't - // exist. - GetGlossary(context.Context, *GetGlossaryRequest) (*Glossary, error) - // Deletes a glossary, or cancels glossary construction - // if the glossary isn't created yet. - // Returns NOT_FOUND, if the glossary doesn't exist. - DeleteGlossary(context.Context, *DeleteGlossaryRequest) (*longrunning.Operation, error) -} - -// UnimplementedTranslationServiceServer can be embedded to have forward compatible implementations. -type UnimplementedTranslationServiceServer struct { -} - -func (*UnimplementedTranslationServiceServer) TranslateText(ctx context.Context, req *TranslateTextRequest) (*TranslateTextResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TranslateText not implemented") -} -func (*UnimplementedTranslationServiceServer) DetectLanguage(ctx context.Context, req *DetectLanguageRequest) (*DetectLanguageResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DetectLanguage not implemented") -} -func (*UnimplementedTranslationServiceServer) GetSupportedLanguages(ctx context.Context, req *GetSupportedLanguagesRequest) (*SupportedLanguages, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetSupportedLanguages not implemented") -} -func (*UnimplementedTranslationServiceServer) BatchTranslateText(ctx context.Context, req *BatchTranslateTextRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method BatchTranslateText not implemented") -} -func (*UnimplementedTranslationServiceServer) CreateGlossary(ctx context.Context, req *CreateGlossaryRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateGlossary not implemented") -} -func (*UnimplementedTranslationServiceServer) ListGlossaries(ctx context.Context, req *ListGlossariesRequest) (*ListGlossariesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListGlossaries not implemented") -} -func (*UnimplementedTranslationServiceServer) GetGlossary(ctx context.Context, req *GetGlossaryRequest) (*Glossary, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetGlossary not implemented") -} -func (*UnimplementedTranslationServiceServer) DeleteGlossary(ctx context.Context, req *DeleteGlossaryRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteGlossary not implemented") -} - -func RegisterTranslationServiceServer(s *grpc.Server, srv TranslationServiceServer) { - s.RegisterService(&_TranslationService_serviceDesc, srv) -} - -func _TranslationService_TranslateText_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TranslateTextRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TranslationServiceServer).TranslateText(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.translation.v3beta1.TranslationService/TranslateText", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TranslationServiceServer).TranslateText(ctx, req.(*TranslateTextRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TranslationService_DetectLanguage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DetectLanguageRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TranslationServiceServer).DetectLanguage(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.translation.v3beta1.TranslationService/DetectLanguage", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TranslationServiceServer).DetectLanguage(ctx, req.(*DetectLanguageRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TranslationService_GetSupportedLanguages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetSupportedLanguagesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TranslationServiceServer).GetSupportedLanguages(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.translation.v3beta1.TranslationService/GetSupportedLanguages", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TranslationServiceServer).GetSupportedLanguages(ctx, req.(*GetSupportedLanguagesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TranslationService_BatchTranslateText_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchTranslateTextRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TranslationServiceServer).BatchTranslateText(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.translation.v3beta1.TranslationService/BatchTranslateText", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TranslationServiceServer).BatchTranslateText(ctx, req.(*BatchTranslateTextRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TranslationService_CreateGlossary_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateGlossaryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TranslationServiceServer).CreateGlossary(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.translation.v3beta1.TranslationService/CreateGlossary", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TranslationServiceServer).CreateGlossary(ctx, req.(*CreateGlossaryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TranslationService_ListGlossaries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListGlossariesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TranslationServiceServer).ListGlossaries(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.translation.v3beta1.TranslationService/ListGlossaries", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TranslationServiceServer).ListGlossaries(ctx, req.(*ListGlossariesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TranslationService_GetGlossary_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetGlossaryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TranslationServiceServer).GetGlossary(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.translation.v3beta1.TranslationService/GetGlossary", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TranslationServiceServer).GetGlossary(ctx, req.(*GetGlossaryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TranslationService_DeleteGlossary_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteGlossaryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TranslationServiceServer).DeleteGlossary(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.translation.v3beta1.TranslationService/DeleteGlossary", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TranslationServiceServer).DeleteGlossary(ctx, req.(*DeleteGlossaryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _TranslationService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.translation.v3beta1.TranslationService", - HandlerType: (*TranslationServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "TranslateText", - Handler: _TranslationService_TranslateText_Handler, - }, - { - MethodName: "DetectLanguage", - Handler: _TranslationService_DetectLanguage_Handler, - }, - { - MethodName: "GetSupportedLanguages", - Handler: _TranslationService_GetSupportedLanguages_Handler, - }, - { - MethodName: "BatchTranslateText", - Handler: _TranslationService_BatchTranslateText_Handler, - }, - { - MethodName: "CreateGlossary", - Handler: _TranslationService_CreateGlossary_Handler, - }, - { - MethodName: "ListGlossaries", - Handler: _TranslationService_ListGlossaries_Handler, - }, - { - MethodName: "GetGlossary", - Handler: _TranslationService_GetGlossary_Handler, - }, - { - MethodName: "DeleteGlossary", - Handler: _TranslationService_DeleteGlossary_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/translate/v3beta1/translation_service.proto", -} 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 deleted file mode 100644 index 750f55e4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/videointelligence/v1/video_intelligence.pb.go +++ /dev/null @@ -1,2802 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/videointelligence/v1/video_intelligence.proto - -package videointelligence - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // 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 - // Human face detection and tracking. - Feature_FACE_DETECTION Feature = 4 - // Speech transcription. - Feature_SPEECH_TRANSCRIPTION Feature = 6 - // 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", - 4: "FACE_DETECTION", - 6: "SPEECH_TRANSCRIPTION", - 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, - "FACE_DETECTION": 4, - "SPEECH_TRANSCRIPTION": 6, - "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_7638dbca9a7e63fa, []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_7638dbca9a7e63fa, []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_7638dbca9a7e63fa, []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"` - // Required. Requested video annotation features. - Features []Feature `protobuf:"varint,2,rep,packed,name=features,proto3,enum=google.cloud.videointelligence.v1.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_7638dbca9a7e63fa, []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 (m *AnnotateVideoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateVideoRequest.Merge(m, 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 FACE_DETECTION. - 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"` - // Config for TEXT_DETECTION. - TextDetectionConfig *TextDetectionConfig `protobuf:"bytes,8,opt,name=text_detection_config,json=textDetectionConfig,proto3" json:"text_detection_config,omitempty"` - // Config for OBJECT_TRACKING. - ObjectTrackingConfig *ObjectTrackingConfig `protobuf:"bytes,13,opt,name=object_tracking_config,json=objectTrackingConfig,proto3" json:"object_tracking_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_7638dbca9a7e63fa, []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 (m *VideoContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoContext.Merge(m, 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) GetFaceDetectionConfig() *FaceDetectionConfig { - if m != nil { - return m.FaceDetectionConfig - } - return nil -} - -func (m *VideoContext) GetSpeechTranscriptionConfig() *SpeechTranscriptionConfig { - if m != nil { - return m.SpeechTranscriptionConfig - } - return nil -} - -func (m *VideoContext) GetTextDetectionConfig() *TextDetectionConfig { - if m != nil { - return m.TextDetectionConfig - } - return nil -} - -func (m *VideoContext) GetObjectTrackingConfig() *ObjectTrackingConfig { - if m != nil { - return m.ObjectTrackingConfig - } - 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.v1.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"` - // The confidence threshold we perform filtering on the labels from - // frame-level detection. If not set, it is set to 0.4 by default. The valid - // range for this threshold is [0.1, 0.9]. Any value set outside of this - // range will be clipped. - // Note: for best results please follow the default threshold. We will update - // the default threshold everytime when we release a new model. - FrameConfidenceThreshold float32 `protobuf:"fixed32,4,opt,name=frame_confidence_threshold,json=frameConfidenceThreshold,proto3" json:"frame_confidence_threshold,omitempty"` - // The confidence threshold we perform filtering on the labels from - // video-level and shot-level detections. If not set, it is set to 0.3 by - // default. The valid range for this threshold is [0.1, 0.9]. Any value set - // outside of this range will be clipped. - // Note: for best results please follow the default threshold. We will update - // the default threshold everytime when we release a new model. - VideoConfidenceThreshold float32 `protobuf:"fixed32,5,opt,name=video_confidence_threshold,json=videoConfidenceThreshold,proto3" json:"video_confidence_threshold,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_7638dbca9a7e63fa, []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 (m *LabelDetectionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelDetectionConfig.Merge(m, 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 "" -} - -func (m *LabelDetectionConfig) GetFrameConfidenceThreshold() float32 { - if m != nil { - return m.FrameConfidenceThreshold - } - return 0 -} - -func (m *LabelDetectionConfig) GetVideoConfidenceThreshold() float32 { - if m != nil { - return m.VideoConfidenceThreshold - } - return 0 -} - -// 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_7638dbca9a7e63fa, []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 (m *ShotChangeDetectionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShotChangeDetectionConfig.Merge(m, 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 OBJECT_TRACKING. -type ObjectTrackingConfig struct { - // Model to use for object tracking. - // 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 *ObjectTrackingConfig) Reset() { *m = ObjectTrackingConfig{} } -func (m *ObjectTrackingConfig) String() string { return proto.CompactTextString(m) } -func (*ObjectTrackingConfig) ProtoMessage() {} -func (*ObjectTrackingConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_7638dbca9a7e63fa, []int{4} -} - -func (m *ObjectTrackingConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ObjectTrackingConfig.Unmarshal(m, b) -} -func (m *ObjectTrackingConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ObjectTrackingConfig.Marshal(b, m, deterministic) -} -func (m *ObjectTrackingConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ObjectTrackingConfig.Merge(m, src) -} -func (m *ObjectTrackingConfig) XXX_Size() int { - return xxx_messageInfo_ObjectTrackingConfig.Size(m) -} -func (m *ObjectTrackingConfig) XXX_DiscardUnknown() { - xxx_messageInfo_ObjectTrackingConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_ObjectTrackingConfig proto.InternalMessageInfo - -func (m *ObjectTrackingConfig) GetModel() string { - if m != nil { - return m.Model - } - return "" -} - -// Config for FACE_DETECTION. -type FaceDetectionConfig struct { - // Model to use for face detection. - // Supported values: "builtin/stable" (the default if unset) and - // "builtin/latest". - Model string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` - // Whether bounding boxes be included in the face annotation output. - IncludeBoundingBoxes bool `protobuf:"varint,2,opt,name=include_bounding_boxes,json=includeBoundingBoxes,proto3" json:"include_bounding_boxes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7638dbca9a7e63fa, []int{5} -} - -func (m *FaceDetectionConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FaceDetectionConfig.Unmarshal(m, b) -} -func (m *FaceDetectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FaceDetectionConfig.Marshal(b, m, deterministic) -} -func (m *FaceDetectionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_FaceDetectionConfig.Merge(m, src) -} -func (m *FaceDetectionConfig) XXX_Size() int { - return xxx_messageInfo_FaceDetectionConfig.Size(m) -} -func (m *FaceDetectionConfig) XXX_DiscardUnknown() { - xxx_messageInfo_FaceDetectionConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_FaceDetectionConfig proto.InternalMessageInfo - -func (m *FaceDetectionConfig) GetModel() string { - if m != nil { - return m.Model - } - return "" -} - -func (m *FaceDetectionConfig) GetIncludeBoundingBoxes() bool { - if m != nil { - return m.IncludeBoundingBoxes - } - return false -} - -// 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_7638dbca9a7e63fa, []int{6} -} - -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 (m *ExplicitContentDetectionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExplicitContentDetectionConfig.Merge(m, 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"` - // Model to use for text detection. - // Supported values: "builtin/stable" (the default if unset) and - // "builtin/latest". - Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,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_7638dbca9a7e63fa, []int{7} -} - -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 (m *TextDetectionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextDetectionConfig.Merge(m, 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 -} - -func (m *TextDetectionConfig) GetModel() string { - if m != nil { - return m.Model - } - return "" -} - -// 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_7638dbca9a7e63fa, []int{8} -} - -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 (m *VideoSegment) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoSegment.Merge(m, 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_7638dbca9a7e63fa, []int{9} -} - -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 (m *LabelSegment) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelSegment.Merge(m, 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_7638dbca9a7e63fa, []int{10} -} - -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 (m *LabelFrame) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelFrame.Merge(m, 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_7638dbca9a7e63fa, []int{11} -} - -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 (m *Entity) XXX_Merge(src proto.Message) { - xxx_messageInfo_Entity.Merge(m, 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_7638dbca9a7e63fa, []int{12} -} - -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 (m *LabelAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelAnnotation.Merge(m, 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.v1.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_7638dbca9a7e63fa, []int{13} -} - -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 (m *ExplicitContentFrame) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExplicitContentFrame.Merge(m, 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_7638dbca9a7e63fa, []int{14} -} - -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 (m *ExplicitContentAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExplicitContentAnnotation.Merge(m, 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_7638dbca9a7e63fa, []int{15} -} - -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 (m *NormalizedBoundingBox) XXX_Merge(src proto.Message) { - xxx_messageInfo_NormalizedBoundingBox.Merge(m, 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 -} - -// Video segment level annotation results for face detection. -type FaceSegment struct { - // Video segment where a face was detected. - Segment *VideoSegment `protobuf:"bytes,1,opt,name=segment,proto3" json:"segment,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7638dbca9a7e63fa, []int{16} -} - -func (m *FaceSegment) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FaceSegment.Unmarshal(m, b) -} -func (m *FaceSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FaceSegment.Marshal(b, m, deterministic) -} -func (m *FaceSegment) XXX_Merge(src proto.Message) { - xxx_messageInfo_FaceSegment.Merge(m, src) -} -func (m *FaceSegment) XXX_Size() int { - return xxx_messageInfo_FaceSegment.Size(m) -} -func (m *FaceSegment) XXX_DiscardUnknown() { - xxx_messageInfo_FaceSegment.DiscardUnknown(m) -} - -var xxx_messageInfo_FaceSegment proto.InternalMessageInfo - -func (m *FaceSegment) GetSegment() *VideoSegment { - if m != nil { - return m.Segment - } - return nil -} - -// Video frame level annotation results for face detection. -type FaceFrame struct { - // Normalized Bounding boxes in a frame. - // There can be more than one boxes if the same face is detected in multiple - // locations within the current frame. - NormalizedBoundingBoxes []*NormalizedBoundingBox `protobuf:"bytes,1,rep,name=normalized_bounding_boxes,json=normalizedBoundingBoxes,proto3" json:"normalized_bounding_boxes,omitempty"` - // Time-offset, relative to the beginning of the video, - // corresponding to the video frame for this location. - 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 *FaceFrame) Reset() { *m = FaceFrame{} } -func (m *FaceFrame) String() string { return proto.CompactTextString(m) } -func (*FaceFrame) ProtoMessage() {} -func (*FaceFrame) Descriptor() ([]byte, []int) { - return fileDescriptor_7638dbca9a7e63fa, []int{17} -} - -func (m *FaceFrame) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FaceFrame.Unmarshal(m, b) -} -func (m *FaceFrame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FaceFrame.Marshal(b, m, deterministic) -} -func (m *FaceFrame) XXX_Merge(src proto.Message) { - xxx_messageInfo_FaceFrame.Merge(m, src) -} -func (m *FaceFrame) XXX_Size() int { - return xxx_messageInfo_FaceFrame.Size(m) -} -func (m *FaceFrame) XXX_DiscardUnknown() { - xxx_messageInfo_FaceFrame.DiscardUnknown(m) -} - -var xxx_messageInfo_FaceFrame proto.InternalMessageInfo - -func (m *FaceFrame) GetNormalizedBoundingBoxes() []*NormalizedBoundingBox { - if m != nil { - return m.NormalizedBoundingBoxes - } - return nil -} - -func (m *FaceFrame) GetTimeOffset() *duration.Duration { - if m != nil { - return m.TimeOffset - } - return nil -} - -// Face annotation. -type FaceAnnotation struct { - // Thumbnail of a representative face view (in JPEG format). - Thumbnail []byte `protobuf:"bytes,1,opt,name=thumbnail,proto3" json:"thumbnail,omitempty"` - // All video segments where a face was detected. - Segments []*FaceSegment `protobuf:"bytes,2,rep,name=segments,proto3" json:"segments,omitempty"` - // All video frames where a face was detected. - Frames []*FaceFrame `protobuf:"bytes,3,rep,name=frames,proto3" json:"frames,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7638dbca9a7e63fa, []int{18} -} - -func (m *FaceAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FaceAnnotation.Unmarshal(m, b) -} -func (m *FaceAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FaceAnnotation.Marshal(b, m, deterministic) -} -func (m *FaceAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_FaceAnnotation.Merge(m, src) -} -func (m *FaceAnnotation) XXX_Size() int { - return xxx_messageInfo_FaceAnnotation.Size(m) -} -func (m *FaceAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_FaceAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_FaceAnnotation proto.InternalMessageInfo - -func (m *FaceAnnotation) GetThumbnail() []byte { - if m != nil { - return m.Thumbnail - } - return nil -} - -func (m *FaceAnnotation) GetSegments() []*FaceSegment { - if m != nil { - return m.Segments - } - return nil -} - -func (m *FaceAnnotation) GetFrames() []*FaceFrame { - if m != nil { - return m.Frames - } - return nil -} - -// 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"` - // Video segment on which the annotation is run. - Segment *VideoSegment `protobuf:"bytes,10,opt,name=segment,proto3" json:"segment,omitempty"` - // Topical 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"` - // Presence label annotations on video level or user specified segment level. - // There is exactly one element for each unique label. Compared to the - // existing topical `segment_label_annotations`, this field presents more - // fine-grained, segment-level labels detected in video content and is made - // available only when the client sets `LabelDetectionConfig.model` to - // "builtin/latest" in the request. - SegmentPresenceLabelAnnotations []*LabelAnnotation `protobuf:"bytes,23,rep,name=segment_presence_label_annotations,json=segmentPresenceLabelAnnotations,proto3" json:"segment_presence_label_annotations,omitempty"` - // Topical 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"` - // Presence label annotations on shot level. There is exactly one element for - // each unique label. Compared to the existing topical - // `shot_label_annotations`, this field presents more fine-grained, shot-level - // labels detected in video content and is made available only when the client - // sets `LabelDetectionConfig.model` to "builtin/latest" in the request. - ShotPresenceLabelAnnotations []*LabelAnnotation `protobuf:"bytes,24,rep,name=shot_presence_label_annotations,json=shotPresenceLabelAnnotations,proto3" json:"shot_presence_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"` - // Face annotations. There is exactly one element for each unique face. - FaceAnnotations []*FaceAnnotation `protobuf:"bytes,5,rep,name=face_annotations,json=faceAnnotations,proto3" json:"face_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"` - // Speech transcription. - SpeechTranscriptions []*SpeechTranscription `protobuf:"bytes,11,rep,name=speech_transcriptions,json=speechTranscriptions,proto3" json:"speech_transcriptions,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_7638dbca9a7e63fa, []int{19} -} - -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 (m *VideoAnnotationResults) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoAnnotationResults.Merge(m, 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) GetSegment() *VideoSegment { - if m != nil { - return m.Segment - } - return nil -} - -func (m *VideoAnnotationResults) GetSegmentLabelAnnotations() []*LabelAnnotation { - if m != nil { - return m.SegmentLabelAnnotations - } - return nil -} - -func (m *VideoAnnotationResults) GetSegmentPresenceLabelAnnotations() []*LabelAnnotation { - if m != nil { - return m.SegmentPresenceLabelAnnotations - } - return nil -} - -func (m *VideoAnnotationResults) GetShotLabelAnnotations() []*LabelAnnotation { - if m != nil { - return m.ShotLabelAnnotations - } - return nil -} - -func (m *VideoAnnotationResults) GetShotPresenceLabelAnnotations() []*LabelAnnotation { - if m != nil { - return m.ShotPresenceLabelAnnotations - } - return nil -} - -func (m *VideoAnnotationResults) GetFrameLabelAnnotations() []*LabelAnnotation { - if m != nil { - return m.FrameLabelAnnotations - } - return nil -} - -func (m *VideoAnnotationResults) GetFaceAnnotations() []*FaceAnnotation { - if m != nil { - return m.FaceAnnotations - } - 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) GetSpeechTranscriptions() []*SpeechTranscription { - if m != nil { - return m.SpeechTranscriptions - } - 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_7638dbca9a7e63fa, []int{20} -} - -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 (m *AnnotateVideoResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateVideoResponse.Merge(m, 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"` - // Specifies which feature is being tracked if the request contains more than - // one features. - Feature Feature `protobuf:"varint,5,opt,name=feature,proto3,enum=google.cloud.videointelligence.v1.Feature" json:"feature,omitempty"` - // Specifies which segment is being tracked if the request contains more than - // one segments. - Segment *VideoSegment `protobuf:"bytes,6,opt,name=segment,proto3" json:"segment,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_7638dbca9a7e63fa, []int{21} -} - -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 (m *VideoAnnotationProgress) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoAnnotationProgress.Merge(m, 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 -} - -func (m *VideoAnnotationProgress) GetFeature() Feature { - if m != nil { - return m.Feature - } - return Feature_FEATURE_UNSPECIFIED -} - -func (m *VideoAnnotationProgress) GetSegment() *VideoSegment { - if m != nil { - return m.Segment - } - 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_7638dbca9a7e63fa, []int{22} -} - -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 (m *AnnotateVideoProgress) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateVideoProgress.Merge(m, 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 -} - -// Config for SPEECH_TRANSCRIPTION. -type SpeechTranscriptionConfig struct { - // Required. *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_7638dbca9a7e63fa, []int{23} -} - -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 (m *SpeechTranscriptionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpeechTranscriptionConfig.Merge(m, 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_7638dbca9a7e63fa, []int{24} -} - -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 (m *SpeechContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpeechContext.Merge(m, 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_7638dbca9a7e63fa, []int{25} -} - -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 (m *SpeechTranscription) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpeechTranscription.Merge(m, 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"` - // 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,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 - // from the beginning of the audio. - 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_7638dbca9a7e63fa, []int{26} -} - -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 (m *SpeechRecognitionAlternative) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpeechRecognitionAlternative.Merge(m, 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_7638dbca9a7e63fa, []int{27} -} - -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 (m *WordInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_WordInfo.Merge(m, 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 -} - -// 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_7638dbca9a7e63fa, []int{28} -} - -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 (m *NormalizedVertex) XXX_Merge(src proto.Message) { - xxx_messageInfo_NormalizedVertex.Merge(m, 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_7638dbca9a7e63fa, []int{29} -} - -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 (m *NormalizedBoundingPoly) XXX_Merge(src proto.Message) { - xxx_messageInfo_NormalizedBoundingPoly.Merge(m, 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_7638dbca9a7e63fa, []int{30} -} - -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 (m *TextSegment) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextSegment.Merge(m, 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_7638dbca9a7e63fa, []int{31} -} - -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 (m *TextFrame) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextFrame.Merge(m, 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_7638dbca9a7e63fa, []int{32} -} - -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 (m *TextAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextAnnotation.Merge(m, 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_7638dbca9a7e63fa, []int{33} -} - -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 (m *ObjectTrackingFrame) XXX_Merge(src proto.Message) { - xxx_messageInfo_ObjectTrackingFrame.Merge(m, 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 { - // Different representation of tracking info in non-streaming batch - // and streaming modes. - // - // Types that are valid to be assigned to TrackInfo: - // *ObjectTrackingAnnotation_Segment - // *ObjectTrackingAnnotation_TrackId - TrackInfo isObjectTrackingAnnotation_TrackInfo `protobuf_oneof:"track_info"` - // 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. - // Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame - // messages in frames. - // Streaming mode: it can only be one ObjectTrackingFrame message in frames. - Frames []*ObjectTrackingFrame `protobuf:"bytes,2,rep,name=frames,proto3" json:"frames,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_7638dbca9a7e63fa, []int{34} -} - -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 (m *ObjectTrackingAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ObjectTrackingAnnotation.Merge(m, 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 - -type isObjectTrackingAnnotation_TrackInfo interface { - isObjectTrackingAnnotation_TrackInfo() -} - -type ObjectTrackingAnnotation_Segment struct { - Segment *VideoSegment `protobuf:"bytes,3,opt,name=segment,proto3,oneof"` -} - -type ObjectTrackingAnnotation_TrackId struct { - TrackId int64 `protobuf:"varint,5,opt,name=track_id,json=trackId,proto3,oneof"` -} - -func (*ObjectTrackingAnnotation_Segment) isObjectTrackingAnnotation_TrackInfo() {} - -func (*ObjectTrackingAnnotation_TrackId) isObjectTrackingAnnotation_TrackInfo() {} - -func (m *ObjectTrackingAnnotation) GetTrackInfo() isObjectTrackingAnnotation_TrackInfo { - if m != nil { - return m.TrackInfo - } - return nil -} - -func (m *ObjectTrackingAnnotation) GetSegment() *VideoSegment { - if x, ok := m.GetTrackInfo().(*ObjectTrackingAnnotation_Segment); ok { - return x.Segment - } - return nil -} - -func (m *ObjectTrackingAnnotation) GetTrackId() int64 { - if x, ok := m.GetTrackInfo().(*ObjectTrackingAnnotation_TrackId); ok { - return x.TrackId - } - return 0 -} - -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 -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ObjectTrackingAnnotation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ObjectTrackingAnnotation_Segment)(nil), - (*ObjectTrackingAnnotation_TrackId)(nil), - } -} - -func init() { - 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) - proto.RegisterType((*AnnotateVideoRequest)(nil), "google.cloud.videointelligence.v1.AnnotateVideoRequest") - proto.RegisterType((*VideoContext)(nil), "google.cloud.videointelligence.v1.VideoContext") - proto.RegisterType((*LabelDetectionConfig)(nil), "google.cloud.videointelligence.v1.LabelDetectionConfig") - proto.RegisterType((*ShotChangeDetectionConfig)(nil), "google.cloud.videointelligence.v1.ShotChangeDetectionConfig") - proto.RegisterType((*ObjectTrackingConfig)(nil), "google.cloud.videointelligence.v1.ObjectTrackingConfig") - proto.RegisterType((*FaceDetectionConfig)(nil), "google.cloud.videointelligence.v1.FaceDetectionConfig") - proto.RegisterType((*ExplicitContentDetectionConfig)(nil), "google.cloud.videointelligence.v1.ExplicitContentDetectionConfig") - proto.RegisterType((*TextDetectionConfig)(nil), "google.cloud.videointelligence.v1.TextDetectionConfig") - proto.RegisterType((*VideoSegment)(nil), "google.cloud.videointelligence.v1.VideoSegment") - proto.RegisterType((*LabelSegment)(nil), "google.cloud.videointelligence.v1.LabelSegment") - proto.RegisterType((*LabelFrame)(nil), "google.cloud.videointelligence.v1.LabelFrame") - proto.RegisterType((*Entity)(nil), "google.cloud.videointelligence.v1.Entity") - proto.RegisterType((*LabelAnnotation)(nil), "google.cloud.videointelligence.v1.LabelAnnotation") - proto.RegisterType((*ExplicitContentFrame)(nil), "google.cloud.videointelligence.v1.ExplicitContentFrame") - proto.RegisterType((*ExplicitContentAnnotation)(nil), "google.cloud.videointelligence.v1.ExplicitContentAnnotation") - proto.RegisterType((*NormalizedBoundingBox)(nil), "google.cloud.videointelligence.v1.NormalizedBoundingBox") - proto.RegisterType((*FaceSegment)(nil), "google.cloud.videointelligence.v1.FaceSegment") - proto.RegisterType((*FaceFrame)(nil), "google.cloud.videointelligence.v1.FaceFrame") - proto.RegisterType((*FaceAnnotation)(nil), "google.cloud.videointelligence.v1.FaceAnnotation") - proto.RegisterType((*VideoAnnotationResults)(nil), "google.cloud.videointelligence.v1.VideoAnnotationResults") - 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.RegisterType((*NormalizedVertex)(nil), "google.cloud.videointelligence.v1.NormalizedVertex") - proto.RegisterType((*NormalizedBoundingPoly)(nil), "google.cloud.videointelligence.v1.NormalizedBoundingPoly") - proto.RegisterType((*TextSegment)(nil), "google.cloud.videointelligence.v1.TextSegment") - proto.RegisterType((*TextFrame)(nil), "google.cloud.videointelligence.v1.TextFrame") - proto.RegisterType((*TextAnnotation)(nil), "google.cloud.videointelligence.v1.TextAnnotation") - proto.RegisterType((*ObjectTrackingFrame)(nil), "google.cloud.videointelligence.v1.ObjectTrackingFrame") - proto.RegisterType((*ObjectTrackingAnnotation)(nil), "google.cloud.videointelligence.v1.ObjectTrackingAnnotation") -} - -func init() { - proto.RegisterFile("google/cloud/videointelligence/v1/video_intelligence.proto", fileDescriptor_7638dbca9a7e63fa) -} - -var fileDescriptor_7638dbca9a7e63fa = []byte{ - // 2735 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x5a, 0xcd, 0x73, 0x23, 0x57, - 0x11, 0xcf, 0x8c, 0xbf, 0xdb, 0x5f, 0xda, 0x67, 0xd9, 0x96, 0x9d, 0x8d, 0xe3, 0x4c, 0x36, 0xd4, - 0x66, 0x93, 0x48, 0x78, 0x13, 0x92, 0xac, 0x93, 0xaa, 0x94, 0x2c, 0xcb, 0x59, 0x65, 0x1d, 0x4b, - 0x35, 0xd6, 0x9a, 0x24, 0xb5, 0xc5, 0xd4, 0x78, 0xe6, 0x49, 0x9a, 0x78, 0x34, 0x6f, 0x98, 0x79, - 0xf2, 0xda, 0x29, 0x28, 0x0a, 0x8a, 0x1b, 0xdc, 0xb8, 0x70, 0xe1, 0xc6, 0x09, 0x8e, 0x70, 0xe0, - 0x42, 0x2a, 0x55, 0x54, 0x0e, 0x6c, 0xc1, 0x05, 0x4e, 0x70, 0xe2, 0xc0, 0x29, 0x7f, 0x05, 0xf5, - 0x3e, 0x46, 0x7a, 0xd2, 0xc8, 0x6b, 0xd9, 0x9b, 0xe2, 0xe6, 0xe9, 0xd7, 0xfd, 0xeb, 0x7e, 0xfd, - 0xfa, 0xf5, 0xeb, 0x6e, 0x0b, 0xb6, 0x9b, 0x84, 0x34, 0x7d, 0x5c, 0x70, 0x7c, 0xd2, 0x71, 0x0b, - 0xa7, 0x9e, 0x8b, 0x89, 0x17, 0x50, 0xec, 0xfb, 0x5e, 0x13, 0x07, 0x0e, 0x2e, 0x9c, 0x6e, 0x09, - 0xa2, 0xa5, 0x52, 0xf3, 0x61, 0x44, 0x28, 0x41, 0x2f, 0x09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x68, 0xeb, 0x1b, 0xfd, 0x96, 0xe0, - 0xd9, 0xde, 0xe6, 0x4c, 0xdb, 0xdb, 0x29, 0xae, 0xed, 0xed, 0xa3, 0xad, 0xe3, 0x49, 0x6e, 0xed, - 0x9b, 0xff, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x66, 0x55, 0x64, 0x1e, 0x53, 0x24, 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 - -// 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.v1.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) -} - -// UnimplementedVideoIntelligenceServiceServer can be embedded to have forward compatible implementations. -type UnimplementedVideoIntelligenceServiceServer struct { -} - -func (*UnimplementedVideoIntelligenceServiceServer) AnnotateVideo(ctx context.Context, req *AnnotateVideoRequest) (*longrunning.Operation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method AnnotateVideo not implemented") -} - -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.v1.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.v1.VideoIntelligenceService", - HandlerType: (*VideoIntelligenceServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AnnotateVideo", - Handler: _VideoIntelligenceService_AnnotateVideo_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/videointelligence/v1/video_intelligence.proto", -} 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 deleted file mode 100644 index f267d43f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/videointelligence/v1beta2/video_intelligence.pb.go +++ /dev/null @@ -1,1636 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/videointelligence/v1beta2/video_intelligence.proto - -package videointelligence - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // 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 - // Human face detection and tracking. - Feature_FACE_DETECTION Feature = 4 -) - -var Feature_name = map[int32]string{ - 0: "FEATURE_UNSPECIFIED", - 1: "LABEL_DETECTION", - 2: "SHOT_CHANGE_DETECTION", - 3: "EXPLICIT_CONTENT_DETECTION", - 4: "FACE_DETECTION", -} - -var Feature_value = map[string]int32{ - "FEATURE_UNSPECIFIED": 0, - "LABEL_DETECTION": 1, - "SHOT_CHANGE_DETECTION": 2, - "EXPLICIT_CONTENT_DETECTION": 3, - "FACE_DETECTION": 4, -} - -func (x Feature) String() string { - return proto.EnumName(Feature_name, int32(x)) -} - -func (Feature) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_84237f664d80452c, []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_84237f664d80452c, []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_84237f664d80452c, []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.v1beta2.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_84237f664d80452c, []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 (m *AnnotateVideoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateVideoRequest.Merge(m, 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 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:"-"` -} - -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_84237f664d80452c, []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 (m *VideoContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoContext.Merge(m, 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) GetFaceDetectionConfig() *FaceDetectionConfig { - if m != nil { - return m.FaceDetectionConfig - } - 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.v1beta2.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_84237f664d80452c, []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 (m *LabelDetectionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelDetectionConfig.Merge(m, 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_84237f664d80452c, []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 (m *ShotChangeDetectionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShotChangeDetectionConfig.Merge(m, 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_84237f664d80452c, []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 (m *ExplicitContentDetectionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExplicitContentDetectionConfig.Merge(m, 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 FACE_DETECTION. -type FaceDetectionConfig struct { - // Model to use for face detection. - // Supported values: "builtin/stable" (the default if unset) and - // "builtin/latest". - Model string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` - // Whether bounding boxes be included in the face annotation output. - IncludeBoundingBoxes bool `protobuf:"varint,2,opt,name=include_bounding_boxes,json=includeBoundingBoxes,proto3" json:"include_bounding_boxes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_84237f664d80452c, []int{5} -} - -func (m *FaceDetectionConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FaceDetectionConfig.Unmarshal(m, b) -} -func (m *FaceDetectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FaceDetectionConfig.Marshal(b, m, deterministic) -} -func (m *FaceDetectionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_FaceDetectionConfig.Merge(m, src) -} -func (m *FaceDetectionConfig) XXX_Size() int { - return xxx_messageInfo_FaceDetectionConfig.Size(m) -} -func (m *FaceDetectionConfig) XXX_DiscardUnknown() { - xxx_messageInfo_FaceDetectionConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_FaceDetectionConfig proto.InternalMessageInfo - -func (m *FaceDetectionConfig) GetModel() string { - if m != nil { - return m.Model - } - return "" -} - -func (m *FaceDetectionConfig) GetIncludeBoundingBoxes() bool { - if m != nil { - return m.IncludeBoundingBoxes - } - return false -} - -// 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_84237f664d80452c, []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 (m *VideoSegment) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoSegment.Merge(m, 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_84237f664d80452c, []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 (m *LabelSegment) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelSegment.Merge(m, 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_84237f664d80452c, []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 (m *LabelFrame) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelFrame.Merge(m, 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_84237f664d80452c, []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 (m *Entity) XXX_Merge(src proto.Message) { - xxx_messageInfo_Entity.Merge(m, 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_84237f664d80452c, []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 (m *LabelAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelAnnotation.Merge(m, 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.v1beta2.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_84237f664d80452c, []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 (m *ExplicitContentFrame) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExplicitContentFrame.Merge(m, 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_84237f664d80452c, []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 (m *ExplicitContentAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExplicitContentAnnotation.Merge(m, 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_84237f664d80452c, []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 (m *NormalizedBoundingBox) XXX_Merge(src proto.Message) { - xxx_messageInfo_NormalizedBoundingBox.Merge(m, 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 -} - -// Video segment level annotation results for face detection. -type FaceSegment struct { - // Video segment where a face was detected. - Segment *VideoSegment `protobuf:"bytes,1,opt,name=segment,proto3" json:"segment,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_84237f664d80452c, []int{14} -} - -func (m *FaceSegment) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FaceSegment.Unmarshal(m, b) -} -func (m *FaceSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FaceSegment.Marshal(b, m, deterministic) -} -func (m *FaceSegment) XXX_Merge(src proto.Message) { - xxx_messageInfo_FaceSegment.Merge(m, src) -} -func (m *FaceSegment) XXX_Size() int { - return xxx_messageInfo_FaceSegment.Size(m) -} -func (m *FaceSegment) XXX_DiscardUnknown() { - xxx_messageInfo_FaceSegment.DiscardUnknown(m) -} - -var xxx_messageInfo_FaceSegment proto.InternalMessageInfo - -func (m *FaceSegment) GetSegment() *VideoSegment { - if m != nil { - return m.Segment - } - return nil -} - -// Video frame level annotation results for face detection. -type FaceFrame struct { - // Normalized Bounding boxes in a frame. - // There can be more than one boxes if the same face is detected in multiple - // locations within the current frame. - NormalizedBoundingBoxes []*NormalizedBoundingBox `protobuf:"bytes,1,rep,name=normalized_bounding_boxes,json=normalizedBoundingBoxes,proto3" json:"normalized_bounding_boxes,omitempty"` - // Time-offset, relative to the beginning of the video, - // corresponding to the video frame for this location. - 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 *FaceFrame) Reset() { *m = FaceFrame{} } -func (m *FaceFrame) String() string { return proto.CompactTextString(m) } -func (*FaceFrame) ProtoMessage() {} -func (*FaceFrame) Descriptor() ([]byte, []int) { - return fileDescriptor_84237f664d80452c, []int{15} -} - -func (m *FaceFrame) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FaceFrame.Unmarshal(m, b) -} -func (m *FaceFrame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FaceFrame.Marshal(b, m, deterministic) -} -func (m *FaceFrame) XXX_Merge(src proto.Message) { - xxx_messageInfo_FaceFrame.Merge(m, src) -} -func (m *FaceFrame) XXX_Size() int { - return xxx_messageInfo_FaceFrame.Size(m) -} -func (m *FaceFrame) XXX_DiscardUnknown() { - xxx_messageInfo_FaceFrame.DiscardUnknown(m) -} - -var xxx_messageInfo_FaceFrame proto.InternalMessageInfo - -func (m *FaceFrame) GetNormalizedBoundingBoxes() []*NormalizedBoundingBox { - if m != nil { - return m.NormalizedBoundingBoxes - } - return nil -} - -func (m *FaceFrame) GetTimeOffset() *duration.Duration { - if m != nil { - return m.TimeOffset - } - return nil -} - -// Face annotation. -type FaceAnnotation struct { - // Thumbnail of a representative face view (in JPEG format). - Thumbnail []byte `protobuf:"bytes,1,opt,name=thumbnail,proto3" json:"thumbnail,omitempty"` - // All video segments where a face was detected. - Segments []*FaceSegment `protobuf:"bytes,2,rep,name=segments,proto3" json:"segments,omitempty"` - // All video frames where a face was detected. - Frames []*FaceFrame `protobuf:"bytes,3,rep,name=frames,proto3" json:"frames,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_84237f664d80452c, []int{16} -} - -func (m *FaceAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FaceAnnotation.Unmarshal(m, b) -} -func (m *FaceAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FaceAnnotation.Marshal(b, m, deterministic) -} -func (m *FaceAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_FaceAnnotation.Merge(m, src) -} -func (m *FaceAnnotation) XXX_Size() int { - return xxx_messageInfo_FaceAnnotation.Size(m) -} -func (m *FaceAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_FaceAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_FaceAnnotation proto.InternalMessageInfo - -func (m *FaceAnnotation) GetThumbnail() []byte { - if m != nil { - return m.Thumbnail - } - return nil -} - -func (m *FaceAnnotation) GetSegments() []*FaceSegment { - if m != nil { - return m.Segments - } - return nil -} - -func (m *FaceAnnotation) GetFrames() []*FaceFrame { - if m != nil { - return m.Frames - } - return nil -} - -// 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"` - // Face annotations. There is exactly one element for each unique face. - FaceAnnotations []*FaceAnnotation `protobuf:"bytes,5,rep,name=face_annotations,json=faceAnnotations,proto3" json:"face_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"` - // 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_84237f664d80452c, []int{17} -} - -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 (m *VideoAnnotationResults) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoAnnotationResults.Merge(m, 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) GetFaceAnnotations() []*FaceAnnotation { - if m != nil { - return m.FaceAnnotations - } - 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) 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_84237f664d80452c, []int{18} -} - -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 (m *AnnotateVideoResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateVideoResponse.Merge(m, 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_84237f664d80452c, []int{19} -} - -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 (m *VideoAnnotationProgress) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoAnnotationProgress.Merge(m, 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_84237f664d80452c, []int{20} -} - -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 (m *AnnotateVideoProgress) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateVideoProgress.Merge(m, 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 -} - -func init() { - proto.RegisterEnum("google.cloud.videointelligence.v1beta2.Feature", Feature_name, Feature_value) - proto.RegisterEnum("google.cloud.videointelligence.v1beta2.LabelDetectionMode", LabelDetectionMode_name, LabelDetectionMode_value) - proto.RegisterEnum("google.cloud.videointelligence.v1beta2.Likelihood", Likelihood_name, Likelihood_value) - proto.RegisterType((*AnnotateVideoRequest)(nil), "google.cloud.videointelligence.v1beta2.AnnotateVideoRequest") - proto.RegisterType((*VideoContext)(nil), "google.cloud.videointelligence.v1beta2.VideoContext") - proto.RegisterType((*LabelDetectionConfig)(nil), "google.cloud.videointelligence.v1beta2.LabelDetectionConfig") - proto.RegisterType((*ShotChangeDetectionConfig)(nil), "google.cloud.videointelligence.v1beta2.ShotChangeDetectionConfig") - proto.RegisterType((*ExplicitContentDetectionConfig)(nil), "google.cloud.videointelligence.v1beta2.ExplicitContentDetectionConfig") - proto.RegisterType((*FaceDetectionConfig)(nil), "google.cloud.videointelligence.v1beta2.FaceDetectionConfig") - proto.RegisterType((*VideoSegment)(nil), "google.cloud.videointelligence.v1beta2.VideoSegment") - proto.RegisterType((*LabelSegment)(nil), "google.cloud.videointelligence.v1beta2.LabelSegment") - proto.RegisterType((*LabelFrame)(nil), "google.cloud.videointelligence.v1beta2.LabelFrame") - proto.RegisterType((*Entity)(nil), "google.cloud.videointelligence.v1beta2.Entity") - proto.RegisterType((*LabelAnnotation)(nil), "google.cloud.videointelligence.v1beta2.LabelAnnotation") - proto.RegisterType((*ExplicitContentFrame)(nil), "google.cloud.videointelligence.v1beta2.ExplicitContentFrame") - proto.RegisterType((*ExplicitContentAnnotation)(nil), "google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation") - proto.RegisterType((*NormalizedBoundingBox)(nil), "google.cloud.videointelligence.v1beta2.NormalizedBoundingBox") - proto.RegisterType((*FaceSegment)(nil), "google.cloud.videointelligence.v1beta2.FaceSegment") - proto.RegisterType((*FaceFrame)(nil), "google.cloud.videointelligence.v1beta2.FaceFrame") - proto.RegisterType((*FaceAnnotation)(nil), "google.cloud.videointelligence.v1beta2.FaceAnnotation") - proto.RegisterType((*VideoAnnotationResults)(nil), "google.cloud.videointelligence.v1beta2.VideoAnnotationResults") - proto.RegisterType((*AnnotateVideoResponse)(nil), "google.cloud.videointelligence.v1beta2.AnnotateVideoResponse") - proto.RegisterType((*VideoAnnotationProgress)(nil), "google.cloud.videointelligence.v1beta2.VideoAnnotationProgress") - proto.RegisterType((*AnnotateVideoProgress)(nil), "google.cloud.videointelligence.v1beta2.AnnotateVideoProgress") -} - -func init() { - proto.RegisterFile("google/cloud/videointelligence/v1beta2/video_intelligence.proto", fileDescriptor_84237f664d80452c) -} - -var fileDescriptor_84237f664d80452c = []byte{ - // 1736 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0xcd, 0x6f, 0xdb, 0xc8, - 0x15, 0x2f, 0x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0x2b, 0x5a, 0x79, 0xc2, 0x68, 0x32, 0x3a, 0xda, 0x86, - 0xa5, 0xd8, 0x15, 0x97, 0x55, 0x49, 0x49, 0xe3, 0x0b, 0xe5, 0x31, 0xec, 0xdf, 0x58, 0x06, 0x13, - 0x15, 0x29, 0xad, 0xf2, 0x31, 0x1c, 0xbe, 0x7d, 0xbf, 0x6e, 0xd0, 0x33, 0x60, 0x6b, 0x46, 0x82, - 0x67, 0x0b, 0xa3, 0x8f, 0x60, 0xd7, 0xf1, 0x4c, 0x37, 0xb2, 0xb0, 0xde, 0x27, 0x91, 0x67, 0x39, - 0x9e, 0xad, 0xf7, 0xc9, 0x1b, 0x36, 0xb8, 0xe2, 0xf8, 0xb6, 0x05, 0xf7, 0x4c, 0x30, 0xcf, 0x62, - 0x9e, 0xf2, 0x07, 0x49, 0x34, 0xbe, 0x68, 0x58, 0xa4, 0xb2, 0x0c, 0x05, 0x54, 0x8f, 0xc7, 0xaf, - 0x4e, 0x06, 0x83, 0x10, 0x53, 0x66, 0x68, 0xf5, 0x74, 0x3f, 0xd9, 0x8c, 0x64, 0x44, 0x57, 0xcf, - 0xc5, 0x08, 0xd7, 0x36, 0x99, 0x4e, 0xcf, 0x19, 0xe1, 0x0e, 0xd3, 0x40, 0x0d, 0xd8, 0xc4, 0x9e, - 0x35, 0x05, 0x22, 0xdf, 0x06, 0xb2, 0x8e, 0x3d, 0x6b, 0x02, 0xa1, 0xfc, 0x06, 0xd6, 0xd8, 0xae, - 0x26, 0x9e, 0xb5, 0xe1, 0x9e, 0x18, 0x26, 0xc2, 0x9f, 0x77, 0x9b, 0x48, 0x09, 0x08, 0x3a, 0x04, - 0x60, 0x45, 0x6f, 0xc5, 0xb2, 0xcc, 0x3b, 0x59, 0x4b, 0x51, 0x94, 0x21, 0x00, 0xb3, 0x7f, 0x11, - 0x18, 0x23, 0x8c, 0xea, 0xb0, 0xba, 0x50, 0x46, 0x80, 0x4e, 0x92, 0x71, 0x9b, 0x25, 0x17, 0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4d, 0x8d, 0xb3, 0x0c, 0xdf, - 0x09, 0x6f, 0xfb, 0x1f, 0xf9, 0x24, 0xc7, 0xf9, 0x93, 0xfc, 0xfe, 0x67, 0x1c, 0xb9, 0xc9, 0x5c, - 0xcc, 0xf9, 0x51, 0x7d, 0xf1, 0xf8, 0x2c, 0x56, 0xfd, 0x26, 0x11, 0x7c, 0xc5, 0x04, 0x5f, 0xe5, - 0x04, 0x5f, 0xbd, 0xe0, 0x36, 0xfe, 0x2b, 0x7f, 0xc0, 0x05, 0xeb, 0x75, 0x26, 0x59, 0xaf, 0xe7, - 0x44, 0xeb, 0x75, 0x21, 0xdb, 0x5f, 0x66, 0x11, 0x7c, 0xf8, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, - 0xf3, 0x71, 0x6c, 0x41, 0x50, 0x15, 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 - -// 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.v1beta2.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) -} - -// UnimplementedVideoIntelligenceServiceServer can be embedded to have forward compatible implementations. -type UnimplementedVideoIntelligenceServiceServer struct { -} - -func (*UnimplementedVideoIntelligenceServiceServer) AnnotateVideo(ctx context.Context, req *AnnotateVideoRequest) (*longrunning.Operation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method AnnotateVideo not implemented") -} - -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.v1beta2.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.v1beta2.VideoIntelligenceService", - HandlerType: (*VideoIntelligenceServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AnnotateVideo", - Handler: _VideoIntelligenceService_AnnotateVideo_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/videointelligence/v1beta2/video_intelligence.proto", -} 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 deleted file mode 100644 index 50018af1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/videointelligence/v1p1beta1/video_intelligence.pb.go +++ /dev/null @@ -1,1692 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/videointelligence/v1p1beta1/video_intelligence.proto - -package videointelligence - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // 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 - // Speech transcription. - Feature_SPEECH_TRANSCRIPTION Feature = 6 -) - -var Feature_name = map[int32]string{ - 0: "FEATURE_UNSPECIFIED", - 1: "LABEL_DETECTION", - 2: "SHOT_CHANGE_DETECTION", - 3: "EXPLICIT_CONTENT_DETECTION", - 6: "SPEECH_TRANSCRIPTION", -} - -var Feature_value = map[string]int32{ - "FEATURE_UNSPECIFIED": 0, - "LABEL_DETECTION": 1, - "SHOT_CHANGE_DETECTION": 2, - "EXPLICIT_CONTENT_DETECTION": 3, - "SPEECH_TRANSCRIPTION": 6, -} - -func (x Feature) String() string { - return proto.EnumName(Feature_name, int32(x)) -} - -func (Feature) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_9e6ec0147460ac77, []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_9e6ec0147460ac77, []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_9e6ec0147460ac77, []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.v1p1beta1.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_9e6ec0147460ac77, []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 (m *AnnotateVideoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateVideoRequest.Merge(m, 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 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_9e6ec0147460ac77, []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 (m *VideoContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoContext.Merge(m, 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) 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 - // 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.v1p1beta1.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_9e6ec0147460ac77, []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 (m *LabelDetectionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelDetectionConfig.Merge(m, 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_9e6ec0147460ac77, []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 (m *ShotChangeDetectionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShotChangeDetectionConfig.Merge(m, 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_9e6ec0147460ac77, []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 (m *ExplicitContentDetectionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExplicitContentDetectionConfig.Merge(m, 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 "" -} - -// 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_9e6ec0147460ac77, []int{5} -} - -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 (m *VideoSegment) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoSegment.Merge(m, 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_9e6ec0147460ac77, []int{6} -} - -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 (m *LabelSegment) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelSegment.Merge(m, 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_9e6ec0147460ac77, []int{7} -} - -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 (m *LabelFrame) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelFrame.Merge(m, 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_9e6ec0147460ac77, []int{8} -} - -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 (m *Entity) XXX_Merge(src proto.Message) { - xxx_messageInfo_Entity.Merge(m, 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_9e6ec0147460ac77, []int{9} -} - -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 (m *LabelAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelAnnotation.Merge(m, 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.v1p1beta1.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_9e6ec0147460ac77, []int{10} -} - -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 (m *ExplicitContentFrame) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExplicitContentFrame.Merge(m, 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_9e6ec0147460ac77, []int{11} -} - -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 (m *ExplicitContentAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExplicitContentAnnotation.Merge(m, 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 -} - -// Annotation results for a single video. -type VideoAnnotationResults struct { - // Output only. 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"` - // Speech transcription. - SpeechTranscriptions []*SpeechTranscription `protobuf:"bytes,11,rep,name=speech_transcriptions,json=speechTranscriptions,proto3" json:"speech_transcriptions,omitempty"` - // Output only. 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_9e6ec0147460ac77, []int{12} -} - -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 (m *VideoAnnotationResults) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoAnnotationResults.Merge(m, 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) GetSpeechTranscriptions() []*SpeechTranscription { - if m != nil { - return m.SpeechTranscriptions - } - 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_9e6ec0147460ac77, []int{13} -} - -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 (m *AnnotateVideoResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateVideoResponse.Merge(m, 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 { - // Output only. 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"` - // Output only. 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"` - // Output only. Time when the request was received. - StartTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // Output only. 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_9e6ec0147460ac77, []int{14} -} - -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 (m *VideoAnnotationProgress) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoAnnotationProgress.Merge(m, 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_9e6ec0147460ac77, []int{15} -} - -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 (m *AnnotateVideoProgress) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateVideoProgress.Merge(m, 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 -} - -// 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 `SpeechRecognitionResult`. 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"` - 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_9e6ec0147460ac77, []int{16} -} - -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 (m *SpeechTranscriptionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpeechTranscriptionConfig.Merge(m, 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 -} - -// 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_9e6ec0147460ac77, []int{17} -} - -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 (m *SpeechContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpeechContext.Merge(m, 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 { - // 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"` - 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_9e6ec0147460ac77, []int{18} -} - -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 (m *SpeechTranscription) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpeechTranscription.Merge(m, 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 -} - -// Alternative hypotheses (a.k.a. n-best list). -type SpeechRecognitionAlternative struct { - // 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 - // 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"` - // 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:"-"` - 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_9e6ec0147460ac77, []int{19} -} - -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 (m *SpeechRecognitionAlternative) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpeechRecognitionAlternative.Merge(m, 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 { - // 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, 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. - Word string `protobuf:"bytes,3,opt,name=word,proto3" json:"word,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_9e6ec0147460ac77, []int{20} -} - -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 (m *WordInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_WordInfo.Merge(m, 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 init() { - proto.RegisterEnum("google.cloud.videointelligence.v1p1beta1.Feature", Feature_name, Feature_value) - proto.RegisterEnum("google.cloud.videointelligence.v1p1beta1.LabelDetectionMode", LabelDetectionMode_name, LabelDetectionMode_value) - proto.RegisterEnum("google.cloud.videointelligence.v1p1beta1.Likelihood", Likelihood_name, Likelihood_value) - proto.RegisterType((*AnnotateVideoRequest)(nil), "google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest") - proto.RegisterType((*VideoContext)(nil), "google.cloud.videointelligence.v1p1beta1.VideoContext") - proto.RegisterType((*LabelDetectionConfig)(nil), "google.cloud.videointelligence.v1p1beta1.LabelDetectionConfig") - proto.RegisterType((*ShotChangeDetectionConfig)(nil), "google.cloud.videointelligence.v1p1beta1.ShotChangeDetectionConfig") - proto.RegisterType((*ExplicitContentDetectionConfig)(nil), "google.cloud.videointelligence.v1p1beta1.ExplicitContentDetectionConfig") - proto.RegisterType((*VideoSegment)(nil), "google.cloud.videointelligence.v1p1beta1.VideoSegment") - proto.RegisterType((*LabelSegment)(nil), "google.cloud.videointelligence.v1p1beta1.LabelSegment") - proto.RegisterType((*LabelFrame)(nil), "google.cloud.videointelligence.v1p1beta1.LabelFrame") - proto.RegisterType((*Entity)(nil), "google.cloud.videointelligence.v1p1beta1.Entity") - proto.RegisterType((*LabelAnnotation)(nil), "google.cloud.videointelligence.v1p1beta1.LabelAnnotation") - proto.RegisterType((*ExplicitContentFrame)(nil), "google.cloud.videointelligence.v1p1beta1.ExplicitContentFrame") - proto.RegisterType((*ExplicitContentAnnotation)(nil), "google.cloud.videointelligence.v1p1beta1.ExplicitContentAnnotation") - proto.RegisterType((*VideoAnnotationResults)(nil), "google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults") - proto.RegisterType((*AnnotateVideoResponse)(nil), "google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse") - proto.RegisterType((*VideoAnnotationProgress)(nil), "google.cloud.videointelligence.v1p1beta1.VideoAnnotationProgress") - proto.RegisterType((*AnnotateVideoProgress)(nil), "google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress") - proto.RegisterType((*SpeechTranscriptionConfig)(nil), "google.cloud.videointelligence.v1p1beta1.SpeechTranscriptionConfig") - proto.RegisterType((*SpeechContext)(nil), "google.cloud.videointelligence.v1p1beta1.SpeechContext") - proto.RegisterType((*SpeechTranscription)(nil), "google.cloud.videointelligence.v1p1beta1.SpeechTranscription") - proto.RegisterType((*SpeechRecognitionAlternative)(nil), "google.cloud.videointelligence.v1p1beta1.SpeechRecognitionAlternative") - proto.RegisterType((*WordInfo)(nil), "google.cloud.videointelligence.v1p1beta1.WordInfo") -} - -func init() { - proto.RegisterFile("google/cloud/videointelligence/v1p1beta1/video_intelligence.proto", fileDescriptor_9e6ec0147460ac77) -} - -var fileDescriptor_9e6ec0147460ac77 = []byte{ - // 1827 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x58, 0x4f, 0x6f, 0x23, 0x49, - 0x15, 0xa7, 0x9d, 0xc4, 0x89, 0x9f, 0x9d, 0xd8, 0x53, 0x71, 0x12, 0x27, 0x3b, 0x93, 0xc9, 0xf6, - 0x82, 0x94, 0x9d, 0x45, 0x36, 0x09, 0xab, 0x85, 0xf5, 0xc2, 0x6a, 0x1d, 0xa7, 0xb3, 0xb1, 0xc8, - 0xc4, 0x56, 0xd9, 0x13, 0x18, 0x18, 0xd4, 0x74, 0xba, 0xcb, 0x9d, 0x66, 0xda, 0x5d, 0xb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x09, 0x19, 0x7a, 0x0b, 0x72, 0x8e, 0xe7, 0x47, 0x4c, 0x8f, - 0x02, 0xa7, 0xa2, 0xec, 0x28, 0xbb, 0x39, 0xbc, 0xc4, 0x09, 0xcf, 0x02, 0x07, 0xbd, 0x03, 0xcb, - 0x82, 0x69, 0x52, 0x8f, 0x11, 0x8f, 0x55, 0xb2, 0x3b, 0xca, 0x6e, 0x01, 0x17, 0x38, 0xb1, 0x29, - 0x68, 0xe8, 0x29, 0x2c, 0xf5, 0x89, 0xc1, 0xa2, 0x80, 0x84, 0x95, 0xcc, 0xce, 0xdc, 0xee, 0xca, - 0xfe, 0x5e, 0xf5, 0xb6, 0x49, 0xab, 0x1e, 0x09, 0x4d, 0x3c, 0x84, 0x40, 0x3f, 0x80, 0x65, 0x71, - 0x18, 0xdc, 0xe6, 0x2b, 0x56, 0x99, 0xdb, 0x51, 0x76, 0xf3, 0xfb, 0x1f, 0xdc, 0x1e, 0x93, 0xc7, - 0xd7, 0x14, 0xda, 0xb8, 0x70, 0x99, 0xfa, 0x42, 0x8f, 0x00, 0x68, 0xc4, 0x92, 0x70, 0xe7, 0x79, - 0xb8, 0x39, 0x41, 0x89, 0xe3, 0x7d, 0x0c, 0x79, 0x97, 0x9a, 0x3c, 0xe3, 0xba, 0x63, 0x55, 0x16, - 0x38, 0x1f, 0x12, 0x52, 0xcb, 0x52, 0xff, 0x3f, 0x0f, 0x85, 0x34, 0x3c, 0xc2, 0xb0, 0x14, 0x12, - 0x7b, 0x40, 0x3c, 0x16, 0x56, 0x94, 0x9d, 0xb9, 0x3b, 0x38, 0xda, 0x15, 0xea, 0x78, 0x88, 0x83, - 0x18, 0xac, 0xbb, 0xc6, 0x39, 0x71, 0x75, 0x8b, 0x30, 0x62, 0x72, 0x67, 0x4c, 0xea, 0xf5, 0x1d, - 0xbb, 0x92, 0xe1, 0xa9, 0xf8, 0xf8, 0xf6, 0x16, 0x4e, 0x62, 0x9c, 0xc3, 0x04, 0xa6, 0xc9, 0x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, 0x86, 0x75, 0xd9, 0x7f, 0x49, 0x5d, 0x79, - 0x72, 0xf0, 0xe7, 0x0c, 0x7c, 0xd5, 0xa4, 0x83, 0x5b, 0xfb, 0x72, 0xf0, 0xe8, 0xba, 0x10, 0x3b, - 0x71, 0x99, 0x76, 0x94, 0xef, 0x3f, 0x97, 0x50, 0x36, 0x8d, 0xdb, 0x73, 0x95, 0x06, 0x76, 0xcd, - 0x26, 0x1e, 0x2f, 0xe2, 0x9a, 0x60, 0x19, 0xbe, 0x13, 0xde, 0xfc, 0xd7, 0xeb, 0x47, 0x53, 0xbc, - 0x3f, 0x65, 0x76, 0x3f, 0x15, 0xd8, 0x4d, 0xee, 0xe6, 0x94, 0x27, 0xd5, 0xb3, 0xbd, 0xce, 0xde, - 0x41, 0xac, 0xfc, 0x8f, 0x44, 0xf4, 0x05, 0x17, 0x7d, 0x31, 0x25, 0xfa, 0xe2, 0x2c, 0xb1, 0xf3, - 0xbf, 0xcc, 0x7b, 0x42, 0xb4, 0x5e, 0xe7, 0xb2, 0xf5, 0xfa, 0x94, 0x70, 0xbd, 0x3e, 0x94, 0x3e, - 0xcf, 0xf2, 0x48, 0xbe, 0xfe, 0x45, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6b, 0x30, 0x3a, 0x70, 0x43, - 0x16, 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 - -// 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.v1p1beta1.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) -} - -// UnimplementedVideoIntelligenceServiceServer can be embedded to have forward compatible implementations. -type UnimplementedVideoIntelligenceServiceServer struct { -} - -func (*UnimplementedVideoIntelligenceServiceServer) AnnotateVideo(ctx context.Context, req *AnnotateVideoRequest) (*longrunning.Operation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method AnnotateVideo not implemented") -} - -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.v1p1beta1.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.v1p1beta1.VideoIntelligenceService", - HandlerType: (*VideoIntelligenceServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AnnotateVideo", - Handler: _VideoIntelligenceService_AnnotateVideo_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/videointelligence/v1p1beta1/video_intelligence.proto", -} 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 deleted file mode 100644 index 7ce857d7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/videointelligence/v1p2beta1/video_intelligence.pb.go +++ /dev/null @@ -1,1897 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/videointelligence/v1p2beta1/video_intelligence.proto - -package videointelligence - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // 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_890c5161889e04ed, []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_890c5161889e04ed, []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_890c5161889e04ed, []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_890c5161889e04ed, []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 (m *AnnotateVideoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateVideoRequest.Merge(m, 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_890c5161889e04ed, []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 (m *VideoContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoContext.Merge(m, 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_890c5161889e04ed, []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 (m *LabelDetectionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelDetectionConfig.Merge(m, 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_890c5161889e04ed, []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 (m *ShotChangeDetectionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShotChangeDetectionConfig.Merge(m, 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_890c5161889e04ed, []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 (m *ExplicitContentDetectionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExplicitContentDetectionConfig.Merge(m, 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_890c5161889e04ed, []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 (m *TextDetectionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextDetectionConfig.Merge(m, 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_890c5161889e04ed, []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 (m *VideoSegment) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoSegment.Merge(m, 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_890c5161889e04ed, []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 (m *LabelSegment) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelSegment.Merge(m, 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_890c5161889e04ed, []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 (m *LabelFrame) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelFrame.Merge(m, 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_890c5161889e04ed, []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 (m *Entity) XXX_Merge(src proto.Message) { - xxx_messageInfo_Entity.Merge(m, 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_890c5161889e04ed, []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 (m *LabelAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelAnnotation.Merge(m, 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_890c5161889e04ed, []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 (m *ExplicitContentFrame) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExplicitContentFrame.Merge(m, 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_890c5161889e04ed, []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 (m *ExplicitContentAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExplicitContentAnnotation.Merge(m, 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_890c5161889e04ed, []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 (m *NormalizedBoundingBox) XXX_Merge(src proto.Message) { - xxx_messageInfo_NormalizedBoundingBox.Merge(m, 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_890c5161889e04ed, []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 (m *VideoAnnotationResults) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoAnnotationResults.Merge(m, 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_890c5161889e04ed, []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 (m *AnnotateVideoResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateVideoResponse.Merge(m, 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_890c5161889e04ed, []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 (m *VideoAnnotationProgress) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoAnnotationProgress.Merge(m, 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_890c5161889e04ed, []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 (m *AnnotateVideoProgress) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateVideoProgress.Merge(m, 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_890c5161889e04ed, []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 (m *NormalizedVertex) XXX_Merge(src proto.Message) { - xxx_messageInfo_NormalizedVertex.Merge(m, 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_890c5161889e04ed, []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 (m *NormalizedBoundingPoly) XXX_Merge(src proto.Message) { - xxx_messageInfo_NormalizedBoundingPoly.Merge(m, 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_890c5161889e04ed, []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 (m *TextSegment) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextSegment.Merge(m, 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_890c5161889e04ed, []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 (m *TextFrame) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextFrame.Merge(m, 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_890c5161889e04ed, []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 (m *TextAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextAnnotation.Merge(m, 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_890c5161889e04ed, []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 (m *ObjectTrackingFrame) XXX_Merge(src proto.Message) { - xxx_messageInfo_ObjectTrackingFrame.Merge(m, 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_890c5161889e04ed, []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 (m *ObjectTrackingAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ObjectTrackingAnnotation.Merge(m, 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.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) - 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") -} - -func init() { - proto.RegisterFile("google/cloud/videointelligence/v1p2beta1/video_intelligence.proto", fileDescriptor_890c5161889e04ed) -} - -var fileDescriptor_890c5161889e04ed = []byte{ - // 1899 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0xcd, 0x6f, 0xeb, 0x58, - 0x15, 0xc7, 0x4e, 0xdb, 0xd7, 0x9c, 0x7e, 0xa5, 0xb7, 0x5f, 0x69, 0x99, 0xd7, 0x57, 0x3c, 0x8c, - 0x54, 0xde, 0xa0, 0x84, 0x76, 0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c, 0xf4, 0x45, 0x46, 0xf4, 0xc5, 0x49, 0xac, 0xe7, 0x3f, 0xf2, 0xbb, 0x5c, 0xb4, 0x52, 0x61, - 0xb2, 0x95, 0x4a, 0x46, 0xb8, 0x52, 0x49, 0xa4, 0x4f, 0xa7, 0x98, 0x27, 0xef, 0xfd, 0x2f, 0x00, - 0x00, 0xff, 0xff, 0x42, 0x86, 0x2f, 0xa9, 0xa8, 0x18, 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 - -// 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) -} - -// UnimplementedVideoIntelligenceServiceServer can be embedded to have forward compatible implementations. -type UnimplementedVideoIntelligenceServiceServer struct { -} - -func (*UnimplementedVideoIntelligenceServiceServer) AnnotateVideo(ctx context.Context, req *AnnotateVideoRequest) (*longrunning.Operation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method AnnotateVideo not implemented") -} - -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", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/videointelligence/v1p3beta1/video_intelligence.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/videointelligence/v1p3beta1/video_intelligence.pb.go deleted file mode 100644 index 48d896cf..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/videointelligence/v1p3beta1/video_intelligence.pb.go +++ /dev/null @@ -1,3652 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/videointelligence/v1p3beta1/video_intelligence.proto - -package videointelligence - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // 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 - // Speech transcription. - Feature_SPEECH_TRANSCRIPTION Feature = 6 - // OCR text detection and tracking. - Feature_TEXT_DETECTION Feature = 7 - // Object detection and tracking. - Feature_OBJECT_TRACKING Feature = 9 - // Logo detection, tracking, and recognition. - Feature_LOGO_RECOGNITION Feature = 12 -) - -var Feature_name = map[int32]string{ - 0: "FEATURE_UNSPECIFIED", - 1: "LABEL_DETECTION", - 2: "SHOT_CHANGE_DETECTION", - 3: "EXPLICIT_CONTENT_DETECTION", - 6: "SPEECH_TRANSCRIPTION", - 7: "TEXT_DETECTION", - 9: "OBJECT_TRACKING", - 12: "LOGO_RECOGNITION", -} - -var Feature_value = map[string]int32{ - "FEATURE_UNSPECIFIED": 0, - "LABEL_DETECTION": 1, - "SHOT_CHANGE_DETECTION": 2, - "EXPLICIT_CONTENT_DETECTION": 3, - "SPEECH_TRANSCRIPTION": 6, - "TEXT_DETECTION": 7, - "OBJECT_TRACKING": 9, - "LOGO_RECOGNITION": 12, -} - -func (x Feature) String() string { - return proto.EnumName(Feature_name, int32(x)) -} - -func (Feature) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_06234ac6e4dad78c, []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_06234ac6e4dad78c, []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_06234ac6e4dad78c, []int{2} -} - -// Streaming video annotation feature. -type StreamingFeature int32 - -const ( - // Unspecified. - StreamingFeature_STREAMING_FEATURE_UNSPECIFIED StreamingFeature = 0 - // Label detection. Detect objects, such as dog or flower. - StreamingFeature_STREAMING_LABEL_DETECTION StreamingFeature = 1 - // Shot change detection. - StreamingFeature_STREAMING_SHOT_CHANGE_DETECTION StreamingFeature = 2 - // Explicit content detection. - StreamingFeature_STREAMING_EXPLICIT_CONTENT_DETECTION StreamingFeature = 3 - // Object detection and tracking. - StreamingFeature_STREAMING_OBJECT_TRACKING StreamingFeature = 4 - // Video classification based on AutoML model. - StreamingFeature_STREAMING_AUTOML_CLASSIFICATION StreamingFeature = 21 - // Object detection and tracking based on AutoML model. - StreamingFeature_STREAMING_AUTOML_OBJECT_TRACKING StreamingFeature = 22 -) - -var StreamingFeature_name = map[int32]string{ - 0: "STREAMING_FEATURE_UNSPECIFIED", - 1: "STREAMING_LABEL_DETECTION", - 2: "STREAMING_SHOT_CHANGE_DETECTION", - 3: "STREAMING_EXPLICIT_CONTENT_DETECTION", - 4: "STREAMING_OBJECT_TRACKING", - 21: "STREAMING_AUTOML_CLASSIFICATION", - 22: "STREAMING_AUTOML_OBJECT_TRACKING", -} - -var StreamingFeature_value = map[string]int32{ - "STREAMING_FEATURE_UNSPECIFIED": 0, - "STREAMING_LABEL_DETECTION": 1, - "STREAMING_SHOT_CHANGE_DETECTION": 2, - "STREAMING_EXPLICIT_CONTENT_DETECTION": 3, - "STREAMING_OBJECT_TRACKING": 4, - "STREAMING_AUTOML_CLASSIFICATION": 21, - "STREAMING_AUTOML_OBJECT_TRACKING": 22, -} - -func (x StreamingFeature) String() string { - return proto.EnumName(StreamingFeature_name, int32(x)) -} - -func (StreamingFeature) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_06234ac6e4dad78c, []int{3} -} - -// 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.v1p3beta1.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_06234ac6e4dad78c, []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 (m *AnnotateVideoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateVideoRequest.Merge(m, 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 SPEECH_TRANSCRIPTION. - SpeechTranscriptionConfig *SpeechTranscriptionConfig `protobuf:"bytes,6,opt,name=speech_transcription_config,json=speechTranscriptionConfig,proto3" json:"speech_transcription_config,omitempty"` - // Config for TEXT_DETECTION. - TextDetectionConfig *TextDetectionConfig `protobuf:"bytes,8,opt,name=text_detection_config,json=textDetectionConfig,proto3" json:"text_detection_config,omitempty"` - // Config for OBJECT_TRACKING. - ObjectTrackingConfig *ObjectTrackingConfig `protobuf:"bytes,13,opt,name=object_tracking_config,json=objectTrackingConfig,proto3" json:"object_tracking_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_06234ac6e4dad78c, []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 (m *VideoContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoContext.Merge(m, 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) GetSpeechTranscriptionConfig() *SpeechTranscriptionConfig { - if m != nil { - return m.SpeechTranscriptionConfig - } - return nil -} - -func (m *VideoContext) GetTextDetectionConfig() *TextDetectionConfig { - if m != nil { - return m.TextDetectionConfig - } - return nil -} - -func (m *VideoContext) GetObjectTrackingConfig() *ObjectTrackingConfig { - if m != nil { - return m.ObjectTrackingConfig - } - 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.v1p3beta1.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"` - // The confidence threshold we perform filtering on the labels from - // frame-level detection. If not set, it is set to 0.4 by default. The valid - // range for this threshold is [0.1, 0.9]. Any value set outside of this - // range will be clipped. - // Note: for best results please follow the default threshold. We will update - // the default threshold everytime when we release a new model. - FrameConfidenceThreshold float32 `protobuf:"fixed32,4,opt,name=frame_confidence_threshold,json=frameConfidenceThreshold,proto3" json:"frame_confidence_threshold,omitempty"` - // The confidence threshold we perform filtering on the labels from - // video-level and shot-level detections. If not set, it is set to 0.3 by - // default. The valid range for this threshold is [0.1, 0.9]. Any value set - // outside of this range will be clipped. - // Note: for best results please follow the default threshold. We will update - // the default threshold everytime when we release a new model. - VideoConfidenceThreshold float32 `protobuf:"fixed32,5,opt,name=video_confidence_threshold,json=videoConfidenceThreshold,proto3" json:"video_confidence_threshold,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_06234ac6e4dad78c, []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 (m *LabelDetectionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelDetectionConfig.Merge(m, 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 "" -} - -func (m *LabelDetectionConfig) GetFrameConfidenceThreshold() float32 { - if m != nil { - return m.FrameConfidenceThreshold - } - return 0 -} - -func (m *LabelDetectionConfig) GetVideoConfidenceThreshold() float32 { - if m != nil { - return m.VideoConfidenceThreshold - } - return 0 -} - -// 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_06234ac6e4dad78c, []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 (m *ShotChangeDetectionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShotChangeDetectionConfig.Merge(m, 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 OBJECT_TRACKING. -type ObjectTrackingConfig struct { - // Model to use for object tracking. - // 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 *ObjectTrackingConfig) Reset() { *m = ObjectTrackingConfig{} } -func (m *ObjectTrackingConfig) String() string { return proto.CompactTextString(m) } -func (*ObjectTrackingConfig) ProtoMessage() {} -func (*ObjectTrackingConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_06234ac6e4dad78c, []int{4} -} - -func (m *ObjectTrackingConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ObjectTrackingConfig.Unmarshal(m, b) -} -func (m *ObjectTrackingConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ObjectTrackingConfig.Marshal(b, m, deterministic) -} -func (m *ObjectTrackingConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ObjectTrackingConfig.Merge(m, src) -} -func (m *ObjectTrackingConfig) XXX_Size() int { - return xxx_messageInfo_ObjectTrackingConfig.Size(m) -} -func (m *ObjectTrackingConfig) XXX_DiscardUnknown() { - xxx_messageInfo_ObjectTrackingConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_ObjectTrackingConfig proto.InternalMessageInfo - -func (m *ObjectTrackingConfig) 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_06234ac6e4dad78c, []int{5} -} - -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 (m *ExplicitContentDetectionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExplicitContentDetectionConfig.Merge(m, 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"` - // Model to use for text detection. - // Supported values: "builtin/stable" (the default if unset) and - // "builtin/latest". - Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,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_06234ac6e4dad78c, []int{6} -} - -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 (m *TextDetectionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextDetectionConfig.Merge(m, 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 -} - -func (m *TextDetectionConfig) GetModel() string { - if m != nil { - return m.Model - } - return "" -} - -// 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_06234ac6e4dad78c, []int{7} -} - -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 (m *VideoSegment) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoSegment.Merge(m, 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_06234ac6e4dad78c, []int{8} -} - -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 (m *LabelSegment) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelSegment.Merge(m, 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_06234ac6e4dad78c, []int{9} -} - -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 (m *LabelFrame) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelFrame.Merge(m, 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_06234ac6e4dad78c, []int{10} -} - -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 (m *Entity) XXX_Merge(src proto.Message) { - xxx_messageInfo_Entity.Merge(m, 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_06234ac6e4dad78c, []int{11} -} - -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 (m *LabelAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelAnnotation.Merge(m, 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.v1p3beta1.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_06234ac6e4dad78c, []int{12} -} - -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 (m *ExplicitContentFrame) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExplicitContentFrame.Merge(m, 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_06234ac6e4dad78c, []int{13} -} - -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 (m *ExplicitContentAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExplicitContentAnnotation.Merge(m, 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_06234ac6e4dad78c, []int{14} -} - -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 (m *NormalizedBoundingBox) XXX_Merge(src proto.Message) { - xxx_messageInfo_NormalizedBoundingBox.Merge(m, 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 -} - -// For tracking related features, such as LOGO_RECOGNITION, FACE_DETECTION, -// CELEBRITY_RECOGNITION, PERSON_DETECTION. -// An object at time_offset with attributes, and located with -// normalized_bounding_box. -type TimestampedObject struct { - // Normalized Bounding box in a frame, where the object is located. - NormalizedBoundingBox *NormalizedBoundingBox `protobuf:"bytes,1,opt,name=normalized_bounding_box,json=normalizedBoundingBox,proto3" json:"normalized_bounding_box,omitempty"` - // Time-offset, relative to the beginning of the video, - // corresponding to the video frame for this object. - TimeOffset *duration.Duration `protobuf:"bytes,2,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` - // Optional. The attributes of the object in the bounding box. - Attributes []*DetectedAttribute `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TimestampedObject) Reset() { *m = TimestampedObject{} } -func (m *TimestampedObject) String() string { return proto.CompactTextString(m) } -func (*TimestampedObject) ProtoMessage() {} -func (*TimestampedObject) Descriptor() ([]byte, []int) { - return fileDescriptor_06234ac6e4dad78c, []int{15} -} - -func (m *TimestampedObject) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TimestampedObject.Unmarshal(m, b) -} -func (m *TimestampedObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TimestampedObject.Marshal(b, m, deterministic) -} -func (m *TimestampedObject) XXX_Merge(src proto.Message) { - xxx_messageInfo_TimestampedObject.Merge(m, src) -} -func (m *TimestampedObject) XXX_Size() int { - return xxx_messageInfo_TimestampedObject.Size(m) -} -func (m *TimestampedObject) XXX_DiscardUnknown() { - xxx_messageInfo_TimestampedObject.DiscardUnknown(m) -} - -var xxx_messageInfo_TimestampedObject proto.InternalMessageInfo - -func (m *TimestampedObject) GetNormalizedBoundingBox() *NormalizedBoundingBox { - if m != nil { - return m.NormalizedBoundingBox - } - return nil -} - -func (m *TimestampedObject) GetTimeOffset() *duration.Duration { - if m != nil { - return m.TimeOffset - } - return nil -} - -func (m *TimestampedObject) GetAttributes() []*DetectedAttribute { - if m != nil { - return m.Attributes - } - return nil -} - -// A track of an object instance. -type Track struct { - // Video segment of a track. - Segment *VideoSegment `protobuf:"bytes,1,opt,name=segment,proto3" json:"segment,omitempty"` - // The object with timestamp and attributes per frame in the track. - TimestampedObjects []*TimestampedObject `protobuf:"bytes,2,rep,name=timestamped_objects,json=timestampedObjects,proto3" json:"timestamped_objects,omitempty"` - // Optional. Attributes in the track level. - Attributes []*DetectedAttribute `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty"` - // Optional. The confidence score of the tracked object. - Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Track) Reset() { *m = Track{} } -func (m *Track) String() string { return proto.CompactTextString(m) } -func (*Track) ProtoMessage() {} -func (*Track) Descriptor() ([]byte, []int) { - return fileDescriptor_06234ac6e4dad78c, []int{16} -} - -func (m *Track) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Track.Unmarshal(m, b) -} -func (m *Track) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Track.Marshal(b, m, deterministic) -} -func (m *Track) XXX_Merge(src proto.Message) { - xxx_messageInfo_Track.Merge(m, src) -} -func (m *Track) XXX_Size() int { - return xxx_messageInfo_Track.Size(m) -} -func (m *Track) XXX_DiscardUnknown() { - xxx_messageInfo_Track.DiscardUnknown(m) -} - -var xxx_messageInfo_Track proto.InternalMessageInfo - -func (m *Track) GetSegment() *VideoSegment { - if m != nil { - return m.Segment - } - return nil -} - -func (m *Track) GetTimestampedObjects() []*TimestampedObject { - if m != nil { - return m.TimestampedObjects - } - return nil -} - -func (m *Track) GetAttributes() []*DetectedAttribute { - if m != nil { - return m.Attributes - } - return nil -} - -func (m *Track) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -// A generic detected attribute represented by name in string format. -type DetectedAttribute struct { - // The name of the attribute, i.e. glasses, dark_glasses, mouth_open etc. - // A full list of supported type names will be provided in the document. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Detected attribute confidence. Range [0, 1]. - Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"` - // Text value of the detection result. For example, the value for "HairColor" - // can be "black", "blonde", etc. - Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DetectedAttribute) Reset() { *m = DetectedAttribute{} } -func (m *DetectedAttribute) String() string { return proto.CompactTextString(m) } -func (*DetectedAttribute) ProtoMessage() {} -func (*DetectedAttribute) Descriptor() ([]byte, []int) { - return fileDescriptor_06234ac6e4dad78c, []int{17} -} - -func (m *DetectedAttribute) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DetectedAttribute.Unmarshal(m, b) -} -func (m *DetectedAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DetectedAttribute.Marshal(b, m, deterministic) -} -func (m *DetectedAttribute) XXX_Merge(src proto.Message) { - xxx_messageInfo_DetectedAttribute.Merge(m, src) -} -func (m *DetectedAttribute) XXX_Size() int { - return xxx_messageInfo_DetectedAttribute.Size(m) -} -func (m *DetectedAttribute) XXX_DiscardUnknown() { - xxx_messageInfo_DetectedAttribute.DiscardUnknown(m) -} - -var xxx_messageInfo_DetectedAttribute proto.InternalMessageInfo - -func (m *DetectedAttribute) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *DetectedAttribute) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -func (m *DetectedAttribute) GetValue() string { - if m != nil { - return m.Value - } - return "" -} - -// 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"` - // Speech transcription. - SpeechTranscriptions []*SpeechTranscription `protobuf:"bytes,11,rep,name=speech_transcriptions,json=speechTranscriptions,proto3" json:"speech_transcriptions,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"` - // Annotations for list of logos detected, tracked and recognized in video. - LogoRecognitionAnnotations []*LogoRecognitionAnnotation `protobuf:"bytes,19,rep,name=logo_recognition_annotations,json=logoRecognitionAnnotations,proto3" json:"logo_recognition_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_06234ac6e4dad78c, []int{18} -} - -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 (m *VideoAnnotationResults) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoAnnotationResults.Merge(m, 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) GetSpeechTranscriptions() []*SpeechTranscription { - if m != nil { - return m.SpeechTranscriptions - } - 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) GetLogoRecognitionAnnotations() []*LogoRecognitionAnnotation { - if m != nil { - return m.LogoRecognitionAnnotations - } - 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_06234ac6e4dad78c, []int{19} -} - -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 (m *AnnotateVideoResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateVideoResponse.Merge(m, 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_06234ac6e4dad78c, []int{20} -} - -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 (m *VideoAnnotationProgress) XXX_Merge(src proto.Message) { - xxx_messageInfo_VideoAnnotationProgress.Merge(m, 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_06234ac6e4dad78c, []int{21} -} - -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 (m *AnnotateVideoProgress) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateVideoProgress.Merge(m, 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 -} - -// 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_06234ac6e4dad78c, []int{22} -} - -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 (m *SpeechTranscriptionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpeechTranscriptionConfig.Merge(m, 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_06234ac6e4dad78c, []int{23} -} - -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 (m *SpeechContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpeechContext.Merge(m, 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_06234ac6e4dad78c, []int{24} -} - -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 (m *SpeechTranscription) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpeechTranscription.Merge(m, 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_06234ac6e4dad78c, []int{25} -} - -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 (m *SpeechRecognitionAlternative) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpeechRecognitionAlternative.Merge(m, 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_06234ac6e4dad78c, []int{26} -} - -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 (m *WordInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_WordInfo.Merge(m, 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 -} - -// 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_06234ac6e4dad78c, []int{27} -} - -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 (m *NormalizedVertex) XXX_Merge(src proto.Message) { - xxx_messageInfo_NormalizedVertex.Merge(m, 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_06234ac6e4dad78c, []int{28} -} - -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 (m *NormalizedBoundingPoly) XXX_Merge(src proto.Message) { - xxx_messageInfo_NormalizedBoundingPoly.Merge(m, 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_06234ac6e4dad78c, []int{29} -} - -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 (m *TextSegment) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextSegment.Merge(m, 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_06234ac6e4dad78c, []int{30} -} - -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 (m *TextFrame) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextFrame.Merge(m, 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_06234ac6e4dad78c, []int{31} -} - -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 (m *TextAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextAnnotation.Merge(m, 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_06234ac6e4dad78c, []int{32} -} - -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 (m *ObjectTrackingFrame) XXX_Merge(src proto.Message) { - xxx_messageInfo_ObjectTrackingFrame.Merge(m, 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. - // Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame - // messages in frames. - // Streaming mode: it can only be one ObjectTrackingFrame message in frames. - Frames []*ObjectTrackingFrame `protobuf:"bytes,2,rep,name=frames,proto3" json:"frames,omitempty"` - // Different representation of tracking info in non-streaming batch - // and streaming modes. - // - // Types that are valid to be assigned to TrackInfo: - // *ObjectTrackingAnnotation_Segment - // *ObjectTrackingAnnotation_TrackId - TrackInfo isObjectTrackingAnnotation_TrackInfo `protobuf_oneof:"track_info"` - 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_06234ac6e4dad78c, []int{33} -} - -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 (m *ObjectTrackingAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ObjectTrackingAnnotation.Merge(m, 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 -} - -type isObjectTrackingAnnotation_TrackInfo interface { - isObjectTrackingAnnotation_TrackInfo() -} - -type ObjectTrackingAnnotation_Segment struct { - Segment *VideoSegment `protobuf:"bytes,3,opt,name=segment,proto3,oneof"` -} - -type ObjectTrackingAnnotation_TrackId struct { - TrackId int64 `protobuf:"varint,5,opt,name=track_id,json=trackId,proto3,oneof"` -} - -func (*ObjectTrackingAnnotation_Segment) isObjectTrackingAnnotation_TrackInfo() {} - -func (*ObjectTrackingAnnotation_TrackId) isObjectTrackingAnnotation_TrackInfo() {} - -func (m *ObjectTrackingAnnotation) GetTrackInfo() isObjectTrackingAnnotation_TrackInfo { - if m != nil { - return m.TrackInfo - } - return nil -} - -func (m *ObjectTrackingAnnotation) GetSegment() *VideoSegment { - if x, ok := m.GetTrackInfo().(*ObjectTrackingAnnotation_Segment); ok { - return x.Segment - } - return nil -} - -func (m *ObjectTrackingAnnotation) GetTrackId() int64 { - if x, ok := m.GetTrackInfo().(*ObjectTrackingAnnotation_TrackId); ok { - return x.TrackId - } - return 0 -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ObjectTrackingAnnotation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ObjectTrackingAnnotation_Segment)(nil), - (*ObjectTrackingAnnotation_TrackId)(nil), - } -} - -// Annotation corresponding to one detected, tracked and recognized logo class. -type LogoRecognitionAnnotation struct { - // Entity category information to specify the logo class that all the logo - // tracks within this LogoRecognitionAnnotation are recognized as. - Entity *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` - // All logo tracks where the recognized logo appears. Each track corresponds - // to one logo instance appearing in consecutive frames. - Tracks []*Track `protobuf:"bytes,2,rep,name=tracks,proto3" json:"tracks,omitempty"` - // All video segments where the recognized logo appears. There might be - // multiple instances of the same logo class appearing in one VideoSegment. - Segments []*VideoSegment `protobuf:"bytes,3,rep,name=segments,proto3" json:"segments,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LogoRecognitionAnnotation) Reset() { *m = LogoRecognitionAnnotation{} } -func (m *LogoRecognitionAnnotation) String() string { return proto.CompactTextString(m) } -func (*LogoRecognitionAnnotation) ProtoMessage() {} -func (*LogoRecognitionAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_06234ac6e4dad78c, []int{34} -} - -func (m *LogoRecognitionAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LogoRecognitionAnnotation.Unmarshal(m, b) -} -func (m *LogoRecognitionAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LogoRecognitionAnnotation.Marshal(b, m, deterministic) -} -func (m *LogoRecognitionAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_LogoRecognitionAnnotation.Merge(m, src) -} -func (m *LogoRecognitionAnnotation) XXX_Size() int { - return xxx_messageInfo_LogoRecognitionAnnotation.Size(m) -} -func (m *LogoRecognitionAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_LogoRecognitionAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_LogoRecognitionAnnotation proto.InternalMessageInfo - -func (m *LogoRecognitionAnnotation) GetEntity() *Entity { - if m != nil { - return m.Entity - } - return nil -} - -func (m *LogoRecognitionAnnotation) GetTracks() []*Track { - if m != nil { - return m.Tracks - } - return nil -} - -func (m *LogoRecognitionAnnotation) GetSegments() []*VideoSegment { - if m != nil { - return m.Segments - } - return nil -} - -// The top-level message sent by the client for the `StreamingAnnotateVideo` -// method. Multiple `StreamingAnnotateVideoRequest` messages are sent. -// The first message must only contain a `StreamingVideoConfig` message. -// All subsequent messages must only contain `input_content` data. -type StreamingAnnotateVideoRequest struct { - // *Required* The streaming request, which is either a streaming config or - // video content. - // - // Types that are valid to be assigned to StreamingRequest: - // *StreamingAnnotateVideoRequest_VideoConfig - // *StreamingAnnotateVideoRequest_InputContent - StreamingRequest isStreamingAnnotateVideoRequest_StreamingRequest `protobuf_oneof:"streaming_request"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StreamingAnnotateVideoRequest) Reset() { *m = StreamingAnnotateVideoRequest{} } -func (m *StreamingAnnotateVideoRequest) String() string { return proto.CompactTextString(m) } -func (*StreamingAnnotateVideoRequest) ProtoMessage() {} -func (*StreamingAnnotateVideoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_06234ac6e4dad78c, []int{35} -} - -func (m *StreamingAnnotateVideoRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingAnnotateVideoRequest.Unmarshal(m, b) -} -func (m *StreamingAnnotateVideoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingAnnotateVideoRequest.Marshal(b, m, deterministic) -} -func (m *StreamingAnnotateVideoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingAnnotateVideoRequest.Merge(m, src) -} -func (m *StreamingAnnotateVideoRequest) XXX_Size() int { - return xxx_messageInfo_StreamingAnnotateVideoRequest.Size(m) -} -func (m *StreamingAnnotateVideoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingAnnotateVideoRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingAnnotateVideoRequest proto.InternalMessageInfo - -type isStreamingAnnotateVideoRequest_StreamingRequest interface { - isStreamingAnnotateVideoRequest_StreamingRequest() -} - -type StreamingAnnotateVideoRequest_VideoConfig struct { - VideoConfig *StreamingVideoConfig `protobuf:"bytes,1,opt,name=video_config,json=videoConfig,proto3,oneof"` -} - -type StreamingAnnotateVideoRequest_InputContent struct { - InputContent []byte `protobuf:"bytes,2,opt,name=input_content,json=inputContent,proto3,oneof"` -} - -func (*StreamingAnnotateVideoRequest_VideoConfig) isStreamingAnnotateVideoRequest_StreamingRequest() {} - -func (*StreamingAnnotateVideoRequest_InputContent) isStreamingAnnotateVideoRequest_StreamingRequest() { -} - -func (m *StreamingAnnotateVideoRequest) GetStreamingRequest() isStreamingAnnotateVideoRequest_StreamingRequest { - if m != nil { - return m.StreamingRequest - } - return nil -} - -func (m *StreamingAnnotateVideoRequest) GetVideoConfig() *StreamingVideoConfig { - if x, ok := m.GetStreamingRequest().(*StreamingAnnotateVideoRequest_VideoConfig); ok { - return x.VideoConfig - } - return nil -} - -func (m *StreamingAnnotateVideoRequest) GetInputContent() []byte { - if x, ok := m.GetStreamingRequest().(*StreamingAnnotateVideoRequest_InputContent); ok { - return x.InputContent - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*StreamingAnnotateVideoRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*StreamingAnnotateVideoRequest_VideoConfig)(nil), - (*StreamingAnnotateVideoRequest_InputContent)(nil), - } -} - -// `StreamingAnnotateVideoResponse` is the only message returned to the client -// by `StreamingAnnotateVideo`. A series of zero or more -// `StreamingAnnotateVideoResponse` messages are streamed back to the client. -type StreamingAnnotateVideoResponse struct { - // 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"` - // Streaming annotation results. - AnnotationResults *StreamingVideoAnnotationResults `protobuf:"bytes,2,opt,name=annotation_results,json=annotationResults,proto3" json:"annotation_results,omitempty"` - // GCS URI that stores annotation results of one streaming session. - // It is a directory that can hold multiple files in JSON format. - // Example uri format: - // gs://bucket_id/object_id/cloud_project_name-session_id - AnnotationResultsUri string `protobuf:"bytes,3,opt,name=annotation_results_uri,json=annotationResultsUri,proto3" json:"annotation_results_uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StreamingAnnotateVideoResponse) Reset() { *m = StreamingAnnotateVideoResponse{} } -func (m *StreamingAnnotateVideoResponse) String() string { return proto.CompactTextString(m) } -func (*StreamingAnnotateVideoResponse) ProtoMessage() {} -func (*StreamingAnnotateVideoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_06234ac6e4dad78c, []int{36} -} - -func (m *StreamingAnnotateVideoResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingAnnotateVideoResponse.Unmarshal(m, b) -} -func (m *StreamingAnnotateVideoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingAnnotateVideoResponse.Marshal(b, m, deterministic) -} -func (m *StreamingAnnotateVideoResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingAnnotateVideoResponse.Merge(m, src) -} -func (m *StreamingAnnotateVideoResponse) XXX_Size() int { - return xxx_messageInfo_StreamingAnnotateVideoResponse.Size(m) -} -func (m *StreamingAnnotateVideoResponse) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingAnnotateVideoResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingAnnotateVideoResponse proto.InternalMessageInfo - -func (m *StreamingAnnotateVideoResponse) GetError() *status.Status { - if m != nil { - return m.Error - } - return nil -} - -func (m *StreamingAnnotateVideoResponse) GetAnnotationResults() *StreamingVideoAnnotationResults { - if m != nil { - return m.AnnotationResults - } - return nil -} - -func (m *StreamingAnnotateVideoResponse) GetAnnotationResultsUri() string { - if m != nil { - return m.AnnotationResultsUri - } - return "" -} - -// Config for AUTOML_CLASSIFICATION in streaming mode. -type StreamingAutomlClassificationConfig struct { - // Resource name of AutoML model. - // Format: `projects/{project_id}/locations/{location_id}/models/{model_id}` - ModelName string `protobuf:"bytes,1,opt,name=model_name,json=modelName,proto3" json:"model_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StreamingAutomlClassificationConfig) Reset() { *m = StreamingAutomlClassificationConfig{} } -func (m *StreamingAutomlClassificationConfig) String() string { return proto.CompactTextString(m) } -func (*StreamingAutomlClassificationConfig) ProtoMessage() {} -func (*StreamingAutomlClassificationConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_06234ac6e4dad78c, []int{37} -} - -func (m *StreamingAutomlClassificationConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingAutomlClassificationConfig.Unmarshal(m, b) -} -func (m *StreamingAutomlClassificationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingAutomlClassificationConfig.Marshal(b, m, deterministic) -} -func (m *StreamingAutomlClassificationConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingAutomlClassificationConfig.Merge(m, src) -} -func (m *StreamingAutomlClassificationConfig) XXX_Size() int { - return xxx_messageInfo_StreamingAutomlClassificationConfig.Size(m) -} -func (m *StreamingAutomlClassificationConfig) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingAutomlClassificationConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingAutomlClassificationConfig proto.InternalMessageInfo - -func (m *StreamingAutomlClassificationConfig) GetModelName() string { - if m != nil { - return m.ModelName - } - return "" -} - -// Config for AUTOML_OBJECT_TRACKING in streaming mode. -type StreamingAutomlObjectTrackingConfig struct { - // Resource name of AutoML model. - // Format: `projects/{project_id}/locations/{location_id}/models/{model_id}` - ModelName string `protobuf:"bytes,1,opt,name=model_name,json=modelName,proto3" json:"model_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StreamingAutomlObjectTrackingConfig) Reset() { *m = StreamingAutomlObjectTrackingConfig{} } -func (m *StreamingAutomlObjectTrackingConfig) String() string { return proto.CompactTextString(m) } -func (*StreamingAutomlObjectTrackingConfig) ProtoMessage() {} -func (*StreamingAutomlObjectTrackingConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_06234ac6e4dad78c, []int{38} -} - -func (m *StreamingAutomlObjectTrackingConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingAutomlObjectTrackingConfig.Unmarshal(m, b) -} -func (m *StreamingAutomlObjectTrackingConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingAutomlObjectTrackingConfig.Marshal(b, m, deterministic) -} -func (m *StreamingAutomlObjectTrackingConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingAutomlObjectTrackingConfig.Merge(m, src) -} -func (m *StreamingAutomlObjectTrackingConfig) XXX_Size() int { - return xxx_messageInfo_StreamingAutomlObjectTrackingConfig.Size(m) -} -func (m *StreamingAutomlObjectTrackingConfig) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingAutomlObjectTrackingConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingAutomlObjectTrackingConfig proto.InternalMessageInfo - -func (m *StreamingAutomlObjectTrackingConfig) GetModelName() string { - if m != nil { - return m.ModelName - } - return "" -} - -// Config for EXPLICIT_CONTENT_DETECTION in streaming mode. -type StreamingExplicitContentDetectionConfig struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StreamingExplicitContentDetectionConfig) Reset() { - *m = StreamingExplicitContentDetectionConfig{} -} -func (m *StreamingExplicitContentDetectionConfig) String() string { return proto.CompactTextString(m) } -func (*StreamingExplicitContentDetectionConfig) ProtoMessage() {} -func (*StreamingExplicitContentDetectionConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_06234ac6e4dad78c, []int{39} -} - -func (m *StreamingExplicitContentDetectionConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingExplicitContentDetectionConfig.Unmarshal(m, b) -} -func (m *StreamingExplicitContentDetectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingExplicitContentDetectionConfig.Marshal(b, m, deterministic) -} -func (m *StreamingExplicitContentDetectionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingExplicitContentDetectionConfig.Merge(m, src) -} -func (m *StreamingExplicitContentDetectionConfig) XXX_Size() int { - return xxx_messageInfo_StreamingExplicitContentDetectionConfig.Size(m) -} -func (m *StreamingExplicitContentDetectionConfig) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingExplicitContentDetectionConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingExplicitContentDetectionConfig proto.InternalMessageInfo - -// Config for LABEL_DETECTION in streaming mode. -type StreamingLabelDetectionConfig struct { - // Whether the video has been captured from a stationary (i.e. non-moving) - // camera. When set to true, might improve detection accuracy for moving - // objects. Default: false. - StationaryCamera bool `protobuf:"varint,1,opt,name=stationary_camera,json=stationaryCamera,proto3" json:"stationary_camera,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StreamingLabelDetectionConfig) Reset() { *m = StreamingLabelDetectionConfig{} } -func (m *StreamingLabelDetectionConfig) String() string { return proto.CompactTextString(m) } -func (*StreamingLabelDetectionConfig) ProtoMessage() {} -func (*StreamingLabelDetectionConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_06234ac6e4dad78c, []int{40} -} - -func (m *StreamingLabelDetectionConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingLabelDetectionConfig.Unmarshal(m, b) -} -func (m *StreamingLabelDetectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingLabelDetectionConfig.Marshal(b, m, deterministic) -} -func (m *StreamingLabelDetectionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingLabelDetectionConfig.Merge(m, src) -} -func (m *StreamingLabelDetectionConfig) XXX_Size() int { - return xxx_messageInfo_StreamingLabelDetectionConfig.Size(m) -} -func (m *StreamingLabelDetectionConfig) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingLabelDetectionConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingLabelDetectionConfig proto.InternalMessageInfo - -func (m *StreamingLabelDetectionConfig) GetStationaryCamera() bool { - if m != nil { - return m.StationaryCamera - } - return false -} - -// Config for STREAMING_OBJECT_TRACKING. -type StreamingObjectTrackingConfig struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StreamingObjectTrackingConfig) Reset() { *m = StreamingObjectTrackingConfig{} } -func (m *StreamingObjectTrackingConfig) String() string { return proto.CompactTextString(m) } -func (*StreamingObjectTrackingConfig) ProtoMessage() {} -func (*StreamingObjectTrackingConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_06234ac6e4dad78c, []int{41} -} - -func (m *StreamingObjectTrackingConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingObjectTrackingConfig.Unmarshal(m, b) -} -func (m *StreamingObjectTrackingConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingObjectTrackingConfig.Marshal(b, m, deterministic) -} -func (m *StreamingObjectTrackingConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingObjectTrackingConfig.Merge(m, src) -} -func (m *StreamingObjectTrackingConfig) XXX_Size() int { - return xxx_messageInfo_StreamingObjectTrackingConfig.Size(m) -} -func (m *StreamingObjectTrackingConfig) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingObjectTrackingConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingObjectTrackingConfig proto.InternalMessageInfo - -// Config for SHOT_CHANGE_DETECTION in streaming mode. -type StreamingShotChangeDetectionConfig struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StreamingShotChangeDetectionConfig) Reset() { *m = StreamingShotChangeDetectionConfig{} } -func (m *StreamingShotChangeDetectionConfig) String() string { return proto.CompactTextString(m) } -func (*StreamingShotChangeDetectionConfig) ProtoMessage() {} -func (*StreamingShotChangeDetectionConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_06234ac6e4dad78c, []int{42} -} - -func (m *StreamingShotChangeDetectionConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingShotChangeDetectionConfig.Unmarshal(m, b) -} -func (m *StreamingShotChangeDetectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingShotChangeDetectionConfig.Marshal(b, m, deterministic) -} -func (m *StreamingShotChangeDetectionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingShotChangeDetectionConfig.Merge(m, src) -} -func (m *StreamingShotChangeDetectionConfig) XXX_Size() int { - return xxx_messageInfo_StreamingShotChangeDetectionConfig.Size(m) -} -func (m *StreamingShotChangeDetectionConfig) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingShotChangeDetectionConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingShotChangeDetectionConfig proto.InternalMessageInfo - -// Config for streaming storage option. -type StreamingStorageConfig struct { - // Enable streaming storage. Default: false. - EnableStorageAnnotationResult bool `protobuf:"varint,1,opt,name=enable_storage_annotation_result,json=enableStorageAnnotationResult,proto3" json:"enable_storage_annotation_result,omitempty"` - // GCS URI to store all annotation results for one client. Client should - // specify this field as the top-level storage directory. Annotation results - // of different sessions will be put into different sub-directories denoted - // by project_name and session_id. All sub-directories will be auto generated - // by program and will be made accessible to client in response proto. - // URIs must be specified in the following format: `gs://bucket-id/object-id` - // `bucket-id` should be a valid GCS bucket created by client and bucket - // permission shall also be configured properly. `object-id` can be arbitrary - // string that make sense to client. Other URI formats will return error and - // cause GCS write failure. - AnnotationResultStorageDirectory string `protobuf:"bytes,3,opt,name=annotation_result_storage_directory,json=annotationResultStorageDirectory,proto3" json:"annotation_result_storage_directory,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StreamingStorageConfig) Reset() { *m = StreamingStorageConfig{} } -func (m *StreamingStorageConfig) String() string { return proto.CompactTextString(m) } -func (*StreamingStorageConfig) ProtoMessage() {} -func (*StreamingStorageConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_06234ac6e4dad78c, []int{43} -} - -func (m *StreamingStorageConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingStorageConfig.Unmarshal(m, b) -} -func (m *StreamingStorageConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingStorageConfig.Marshal(b, m, deterministic) -} -func (m *StreamingStorageConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingStorageConfig.Merge(m, src) -} -func (m *StreamingStorageConfig) XXX_Size() int { - return xxx_messageInfo_StreamingStorageConfig.Size(m) -} -func (m *StreamingStorageConfig) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingStorageConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingStorageConfig proto.InternalMessageInfo - -func (m *StreamingStorageConfig) GetEnableStorageAnnotationResult() bool { - if m != nil { - return m.EnableStorageAnnotationResult - } - return false -} - -func (m *StreamingStorageConfig) GetAnnotationResultStorageDirectory() string { - if m != nil { - return m.AnnotationResultStorageDirectory - } - return "" -} - -// Streaming annotation results corresponding to a portion of the video -// that is currently being processed. -type StreamingVideoAnnotationResults struct { - // Shot annotation results. Each shot is represented as a video segment. - ShotAnnotations []*VideoSegment `protobuf:"bytes,1,rep,name=shot_annotations,json=shotAnnotations,proto3" json:"shot_annotations,omitempty"` - // Label annotation results. - LabelAnnotations []*LabelAnnotation `protobuf:"bytes,2,rep,name=label_annotations,json=labelAnnotations,proto3" json:"label_annotations,omitempty"` - // Explicit content annotation results. - ExplicitAnnotation *ExplicitContentAnnotation `protobuf:"bytes,3,opt,name=explicit_annotation,json=explicitAnnotation,proto3" json:"explicit_annotation,omitempty"` - // Object tracking results. - ObjectAnnotations []*ObjectTrackingAnnotation `protobuf:"bytes,4,rep,name=object_annotations,json=objectAnnotations,proto3" json:"object_annotations,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StreamingVideoAnnotationResults) Reset() { *m = StreamingVideoAnnotationResults{} } -func (m *StreamingVideoAnnotationResults) String() string { return proto.CompactTextString(m) } -func (*StreamingVideoAnnotationResults) ProtoMessage() {} -func (*StreamingVideoAnnotationResults) Descriptor() ([]byte, []int) { - return fileDescriptor_06234ac6e4dad78c, []int{44} -} - -func (m *StreamingVideoAnnotationResults) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingVideoAnnotationResults.Unmarshal(m, b) -} -func (m *StreamingVideoAnnotationResults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingVideoAnnotationResults.Marshal(b, m, deterministic) -} -func (m *StreamingVideoAnnotationResults) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingVideoAnnotationResults.Merge(m, src) -} -func (m *StreamingVideoAnnotationResults) XXX_Size() int { - return xxx_messageInfo_StreamingVideoAnnotationResults.Size(m) -} -func (m *StreamingVideoAnnotationResults) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingVideoAnnotationResults.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingVideoAnnotationResults proto.InternalMessageInfo - -func (m *StreamingVideoAnnotationResults) GetShotAnnotations() []*VideoSegment { - if m != nil { - return m.ShotAnnotations - } - return nil -} - -func (m *StreamingVideoAnnotationResults) GetLabelAnnotations() []*LabelAnnotation { - if m != nil { - return m.LabelAnnotations - } - return nil -} - -func (m *StreamingVideoAnnotationResults) GetExplicitAnnotation() *ExplicitContentAnnotation { - if m != nil { - return m.ExplicitAnnotation - } - return nil -} - -func (m *StreamingVideoAnnotationResults) GetObjectAnnotations() []*ObjectTrackingAnnotation { - if m != nil { - return m.ObjectAnnotations - } - return nil -} - -// Provides information to the annotator that specifies how to process the -// request. -type StreamingVideoConfig struct { - // Requested annotation feature. - Feature StreamingFeature `protobuf:"varint,1,opt,name=feature,proto3,enum=google.cloud.videointelligence.v1p3beta1.StreamingFeature" json:"feature,omitempty"` - // Config for requested annotation feature. - // - // Types that are valid to be assigned to StreamingConfig: - // *StreamingVideoConfig_ShotChangeDetectionConfig - // *StreamingVideoConfig_LabelDetectionConfig - // *StreamingVideoConfig_ExplicitContentDetectionConfig - // *StreamingVideoConfig_ObjectTrackingConfig - // *StreamingVideoConfig_AutomlClassificationConfig - // *StreamingVideoConfig_AutomlObjectTrackingConfig - StreamingConfig isStreamingVideoConfig_StreamingConfig `protobuf_oneof:"streaming_config"` - // Streaming storage option. By default: storage is disabled. - StorageConfig *StreamingStorageConfig `protobuf:"bytes,30,opt,name=storage_config,json=storageConfig,proto3" json:"storage_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StreamingVideoConfig) Reset() { *m = StreamingVideoConfig{} } -func (m *StreamingVideoConfig) String() string { return proto.CompactTextString(m) } -func (*StreamingVideoConfig) ProtoMessage() {} -func (*StreamingVideoConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_06234ac6e4dad78c, []int{45} -} - -func (m *StreamingVideoConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingVideoConfig.Unmarshal(m, b) -} -func (m *StreamingVideoConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingVideoConfig.Marshal(b, m, deterministic) -} -func (m *StreamingVideoConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingVideoConfig.Merge(m, src) -} -func (m *StreamingVideoConfig) XXX_Size() int { - return xxx_messageInfo_StreamingVideoConfig.Size(m) -} -func (m *StreamingVideoConfig) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingVideoConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingVideoConfig proto.InternalMessageInfo - -func (m *StreamingVideoConfig) GetFeature() StreamingFeature { - if m != nil { - return m.Feature - } - return StreamingFeature_STREAMING_FEATURE_UNSPECIFIED -} - -type isStreamingVideoConfig_StreamingConfig interface { - isStreamingVideoConfig_StreamingConfig() -} - -type StreamingVideoConfig_ShotChangeDetectionConfig struct { - ShotChangeDetectionConfig *StreamingShotChangeDetectionConfig `protobuf:"bytes,2,opt,name=shot_change_detection_config,json=shotChangeDetectionConfig,proto3,oneof"` -} - -type StreamingVideoConfig_LabelDetectionConfig struct { - LabelDetectionConfig *StreamingLabelDetectionConfig `protobuf:"bytes,3,opt,name=label_detection_config,json=labelDetectionConfig,proto3,oneof"` -} - -type StreamingVideoConfig_ExplicitContentDetectionConfig struct { - ExplicitContentDetectionConfig *StreamingExplicitContentDetectionConfig `protobuf:"bytes,4,opt,name=explicit_content_detection_config,json=explicitContentDetectionConfig,proto3,oneof"` -} - -type StreamingVideoConfig_ObjectTrackingConfig struct { - ObjectTrackingConfig *StreamingObjectTrackingConfig `protobuf:"bytes,5,opt,name=object_tracking_config,json=objectTrackingConfig,proto3,oneof"` -} - -type StreamingVideoConfig_AutomlClassificationConfig struct { - AutomlClassificationConfig *StreamingAutomlClassificationConfig `protobuf:"bytes,21,opt,name=automl_classification_config,json=automlClassificationConfig,proto3,oneof"` -} - -type StreamingVideoConfig_AutomlObjectTrackingConfig struct { - AutomlObjectTrackingConfig *StreamingAutomlObjectTrackingConfig `protobuf:"bytes,22,opt,name=automl_object_tracking_config,json=automlObjectTrackingConfig,proto3,oneof"` -} - -func (*StreamingVideoConfig_ShotChangeDetectionConfig) isStreamingVideoConfig_StreamingConfig() {} - -func (*StreamingVideoConfig_LabelDetectionConfig) isStreamingVideoConfig_StreamingConfig() {} - -func (*StreamingVideoConfig_ExplicitContentDetectionConfig) isStreamingVideoConfig_StreamingConfig() {} - -func (*StreamingVideoConfig_ObjectTrackingConfig) isStreamingVideoConfig_StreamingConfig() {} - -func (*StreamingVideoConfig_AutomlClassificationConfig) isStreamingVideoConfig_StreamingConfig() {} - -func (*StreamingVideoConfig_AutomlObjectTrackingConfig) isStreamingVideoConfig_StreamingConfig() {} - -func (m *StreamingVideoConfig) GetStreamingConfig() isStreamingVideoConfig_StreamingConfig { - if m != nil { - return m.StreamingConfig - } - return nil -} - -func (m *StreamingVideoConfig) GetShotChangeDetectionConfig() *StreamingShotChangeDetectionConfig { - if x, ok := m.GetStreamingConfig().(*StreamingVideoConfig_ShotChangeDetectionConfig); ok { - return x.ShotChangeDetectionConfig - } - return nil -} - -func (m *StreamingVideoConfig) GetLabelDetectionConfig() *StreamingLabelDetectionConfig { - if x, ok := m.GetStreamingConfig().(*StreamingVideoConfig_LabelDetectionConfig); ok { - return x.LabelDetectionConfig - } - return nil -} - -func (m *StreamingVideoConfig) GetExplicitContentDetectionConfig() *StreamingExplicitContentDetectionConfig { - if x, ok := m.GetStreamingConfig().(*StreamingVideoConfig_ExplicitContentDetectionConfig); ok { - return x.ExplicitContentDetectionConfig - } - return nil -} - -func (m *StreamingVideoConfig) GetObjectTrackingConfig() *StreamingObjectTrackingConfig { - if x, ok := m.GetStreamingConfig().(*StreamingVideoConfig_ObjectTrackingConfig); ok { - return x.ObjectTrackingConfig - } - return nil -} - -func (m *StreamingVideoConfig) GetAutomlClassificationConfig() *StreamingAutomlClassificationConfig { - if x, ok := m.GetStreamingConfig().(*StreamingVideoConfig_AutomlClassificationConfig); ok { - return x.AutomlClassificationConfig - } - return nil -} - -func (m *StreamingVideoConfig) GetAutomlObjectTrackingConfig() *StreamingAutomlObjectTrackingConfig { - if x, ok := m.GetStreamingConfig().(*StreamingVideoConfig_AutomlObjectTrackingConfig); ok { - return x.AutomlObjectTrackingConfig - } - return nil -} - -func (m *StreamingVideoConfig) GetStorageConfig() *StreamingStorageConfig { - if m != nil { - return m.StorageConfig - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*StreamingVideoConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*StreamingVideoConfig_ShotChangeDetectionConfig)(nil), - (*StreamingVideoConfig_LabelDetectionConfig)(nil), - (*StreamingVideoConfig_ExplicitContentDetectionConfig)(nil), - (*StreamingVideoConfig_ObjectTrackingConfig)(nil), - (*StreamingVideoConfig_AutomlClassificationConfig)(nil), - (*StreamingVideoConfig_AutomlObjectTrackingConfig)(nil), - } -} - -func init() { - proto.RegisterEnum("google.cloud.videointelligence.v1p3beta1.Feature", Feature_name, Feature_value) - proto.RegisterEnum("google.cloud.videointelligence.v1p3beta1.LabelDetectionMode", LabelDetectionMode_name, LabelDetectionMode_value) - proto.RegisterEnum("google.cloud.videointelligence.v1p3beta1.Likelihood", Likelihood_name, Likelihood_value) - proto.RegisterEnum("google.cloud.videointelligence.v1p3beta1.StreamingFeature", StreamingFeature_name, StreamingFeature_value) - proto.RegisterType((*AnnotateVideoRequest)(nil), "google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest") - proto.RegisterType((*VideoContext)(nil), "google.cloud.videointelligence.v1p3beta1.VideoContext") - proto.RegisterType((*LabelDetectionConfig)(nil), "google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig") - proto.RegisterType((*ShotChangeDetectionConfig)(nil), "google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig") - proto.RegisterType((*ObjectTrackingConfig)(nil), "google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig") - proto.RegisterType((*ExplicitContentDetectionConfig)(nil), "google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig") - proto.RegisterType((*TextDetectionConfig)(nil), "google.cloud.videointelligence.v1p3beta1.TextDetectionConfig") - proto.RegisterType((*VideoSegment)(nil), "google.cloud.videointelligence.v1p3beta1.VideoSegment") - proto.RegisterType((*LabelSegment)(nil), "google.cloud.videointelligence.v1p3beta1.LabelSegment") - proto.RegisterType((*LabelFrame)(nil), "google.cloud.videointelligence.v1p3beta1.LabelFrame") - proto.RegisterType((*Entity)(nil), "google.cloud.videointelligence.v1p3beta1.Entity") - proto.RegisterType((*LabelAnnotation)(nil), "google.cloud.videointelligence.v1p3beta1.LabelAnnotation") - proto.RegisterType((*ExplicitContentFrame)(nil), "google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame") - proto.RegisterType((*ExplicitContentAnnotation)(nil), "google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation") - proto.RegisterType((*NormalizedBoundingBox)(nil), "google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox") - proto.RegisterType((*TimestampedObject)(nil), "google.cloud.videointelligence.v1p3beta1.TimestampedObject") - proto.RegisterType((*Track)(nil), "google.cloud.videointelligence.v1p3beta1.Track") - proto.RegisterType((*DetectedAttribute)(nil), "google.cloud.videointelligence.v1p3beta1.DetectedAttribute") - proto.RegisterType((*VideoAnnotationResults)(nil), "google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults") - proto.RegisterType((*AnnotateVideoResponse)(nil), "google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse") - proto.RegisterType((*VideoAnnotationProgress)(nil), "google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress") - proto.RegisterType((*AnnotateVideoProgress)(nil), "google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress") - proto.RegisterType((*SpeechTranscriptionConfig)(nil), "google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig") - proto.RegisterType((*SpeechContext)(nil), "google.cloud.videointelligence.v1p3beta1.SpeechContext") - proto.RegisterType((*SpeechTranscription)(nil), "google.cloud.videointelligence.v1p3beta1.SpeechTranscription") - proto.RegisterType((*SpeechRecognitionAlternative)(nil), "google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative") - proto.RegisterType((*WordInfo)(nil), "google.cloud.videointelligence.v1p3beta1.WordInfo") - proto.RegisterType((*NormalizedVertex)(nil), "google.cloud.videointelligence.v1p3beta1.NormalizedVertex") - proto.RegisterType((*NormalizedBoundingPoly)(nil), "google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly") - proto.RegisterType((*TextSegment)(nil), "google.cloud.videointelligence.v1p3beta1.TextSegment") - proto.RegisterType((*TextFrame)(nil), "google.cloud.videointelligence.v1p3beta1.TextFrame") - proto.RegisterType((*TextAnnotation)(nil), "google.cloud.videointelligence.v1p3beta1.TextAnnotation") - proto.RegisterType((*ObjectTrackingFrame)(nil), "google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame") - proto.RegisterType((*ObjectTrackingAnnotation)(nil), "google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation") - proto.RegisterType((*LogoRecognitionAnnotation)(nil), "google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation") - proto.RegisterType((*StreamingAnnotateVideoRequest)(nil), "google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest") - proto.RegisterType((*StreamingAnnotateVideoResponse)(nil), "google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse") - proto.RegisterType((*StreamingAutomlClassificationConfig)(nil), "google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig") - proto.RegisterType((*StreamingAutomlObjectTrackingConfig)(nil), "google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig") - proto.RegisterType((*StreamingExplicitContentDetectionConfig)(nil), "google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig") - proto.RegisterType((*StreamingLabelDetectionConfig)(nil), "google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig") - proto.RegisterType((*StreamingObjectTrackingConfig)(nil), "google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig") - proto.RegisterType((*StreamingShotChangeDetectionConfig)(nil), "google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig") - proto.RegisterType((*StreamingStorageConfig)(nil), "google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig") - proto.RegisterType((*StreamingVideoAnnotationResults)(nil), "google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults") - proto.RegisterType((*StreamingVideoConfig)(nil), "google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig") -} - -func init() { - proto.RegisterFile("google/cloud/videointelligence/v1p3beta1/video_intelligence.proto", fileDescriptor_06234ac6e4dad78c) -} - -var fileDescriptor_06234ac6e4dad78c = []byte{ - // 3184 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x5a, 0xcd, 0x6f, 0x23, 0xc7, - 0xb1, 0xd7, 0x50, 0x1f, 0x2b, 0x95, 0x28, 0x89, 0x6a, 0x51, 0x5a, 0x4a, 0x5e, 0xed, 0x6a, 0x67, - 0x6d, 0x3c, 0x79, 0x6d, 0x48, 0xde, 0x5d, 0x3f, 0x3f, 0x5b, 0xfe, 0x78, 0xa6, 0x28, 0xae, 0xc8, - 0x67, 0x49, 0x94, 0x87, 0x5c, 0x3d, 0x3b, 0xb6, 0x31, 0x19, 0x0d, 0x5b, 0xa3, 0xf1, 0x0e, 0xa7, - 0xe9, 0x99, 0xa6, 0x2c, 0xf9, 0xe2, 0xc0, 0x49, 0x80, 0x00, 0x81, 0x11, 0x24, 0x46, 0x80, 0x9c, - 0x72, 0x4b, 0x10, 0xe4, 0x90, 0x04, 0xb9, 0xe6, 0x90, 0x1c, 0x12, 0x04, 0x70, 0x02, 0xe4, 0x10, - 0xf8, 0x90, 0x20, 0x47, 0x03, 0x01, 0xf2, 0x27, 0xe4, 0x14, 0x4c, 0x77, 0xcf, 0x07, 0x39, 0x43, - 0x51, 0xa4, 0x76, 0x11, 0xe4, 0x36, 0x53, 0x5d, 0xfd, 0xab, 0xea, 0xea, 0xea, 0xea, 0xaa, 0xee, - 0x86, 0xbc, 0x41, 0x88, 0x61, 0xe1, 0x75, 0xdd, 0x22, 0xad, 0xfa, 0xfa, 0x89, 0x59, 0xc7, 0xc4, - 0xb4, 0x29, 0xb6, 0x2c, 0xd3, 0xc0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, 0x8e, 0x42, 0xc0, 0x50, 0xf3, 0xdb, 0xbd, - 0xde, 0x41, 0x34, 0x8c, 0xf7, 0x1e, 0xe5, 0xbd, 0xfd, 0x10, 0xd7, 0xd9, 0x5b, 0xbe, 0x03, 0x8b, - 0x5d, 0x17, 0x61, 0xa8, 0xae, 0x14, 0x51, 0x57, 0x7e, 0x16, 0xb2, 0x49, 0x13, 0xd5, 0x85, 0xfb, - 0x05, 0xb8, 0x7e, 0xfe, 0xca, 0xea, 0xd2, 0x4f, 0x81, 0xb9, 0x04, 0x17, 0x44, 0x4f, 0xc1, 0xb4, - 0xa5, 0xd9, 0x46, 0x4b, 0x33, 0xb0, 0x7a, 0x6c, 0xfa, 0x31, 0x75, 0x42, 0x99, 0xf2, 0xa9, 0x25, - 0x8f, 0x18, 0x62, 0xa6, 0xa2, 0x98, 0x3f, 0x90, 0x44, 0x6c, 0x16, 0x11, 0x15, 0x15, 0xd9, 0xe4, - 0x39, 0x54, 0xf5, 0x76, 0x49, 0x95, 0x1c, 0x1d, 0xb9, 0x98, 0x32, 0x35, 0x26, 0xef, 0x2e, 0xfa, - 0x9e, 0xe2, 0xef, 0xa4, 0x6b, 0x5b, 0x62, 0xa7, 0x55, 0x66, 0x58, 0x9f, 0x9a, 0xd9, 0xc0, 0x15, - 0xd6, 0x03, 0xe5, 0x61, 0x06, 0xdb, 0xf5, 0x36, 0x90, 0x54, 0x2f, 0x90, 0x29, 0x6c, 0xd7, 0x43, - 0x08, 0xf9, 0x6b, 0x12, 0xa4, 0x99, 0xc7, 0xf9, 0xaa, 0xed, 0xc3, 0x15, 0x11, 0xee, 0x85, 0x42, - 0x83, 0xee, 0x1a, 0x3e, 0x0c, 0xba, 0x0e, 0x10, 0xba, 0x08, 0x53, 0x30, 0xa5, 0x44, 0x28, 0xf2, - 0x31, 0x00, 0xd3, 0xe0, 0xbe, 0xe7, 0x69, 0x68, 0x03, 0x26, 0xfb, 0x32, 0x0a, 0xd0, 0xd0, 0x1e, - 0xbd, 0x24, 0x59, 0x30, 0x56, 0xb4, 0xa9, 0x49, 0xcf, 0xbc, 0xdc, 0x02, 0xb3, 0x2f, 0x6f, 0x33, - 0x15, 0xb9, 0x05, 0x27, 0x94, 0xeb, 0x68, 0x05, 0x26, 0xeb, 0x38, 0x88, 0x70, 0x62, 0x2a, 0xa3, - 0x24, 0x2f, 0xfb, 0x08, 0xbc, 0x41, 0xf7, 0x56, 0x39, 0x5f, 0x57, 0x69, 0x9f, 0x58, 0x20, 0x75, - 0x2c, 0xff, 0x2d, 0x05, 0x33, 0x6c, 0x60, 0xf9, 0x20, 0xe5, 0x42, 0x25, 0x18, 0xe3, 0x62, 0xc4, - 0xc0, 0x9e, 0xeb, 0x63, 0x9f, 0x60, 0xfd, 0x14, 0xd1, 0x1f, 0xbd, 0x07, 0xb3, 0xba, 0x46, 0xb1, - 0x41, 0x9c, 0x33, 0x95, 0x91, 0x4c, 0x91, 0xe4, 0x0c, 0x02, 0x9a, 0xf1, 0xa1, 0x8a, 0x02, 0xa9, - 0x2d, 0x7b, 0x18, 0xee, 0x37, 0x7b, 0x88, 0x3a, 0x54, 0x24, 0x7b, 0xd8, 0x81, 0x31, 0x16, 0x4d, - 0xdc, 0xdc, 0x08, 0x43, 0x7c, 0xbe, 0x4f, 0x44, 0xe6, 0x20, 0x8a, 0xc0, 0x90, 0x7f, 0x2d, 0x41, - 0xb6, 0x63, 0x85, 0x5f, 0xde, 0x83, 0x1e, 0xc2, 0x42, 0x93, 0x38, 0x36, 0x31, 0x1c, 0xad, 0x79, - 0x7c, 0xa6, 0x5a, 0xe6, 0x43, 0x6c, 0x99, 0xc7, 0x84, 0xd4, 0x99, 0x17, 0x4c, 0xf7, 0xa5, 0x72, - 0xd0, 0x57, 0x99, 0x8f, 0x60, 0x86, 0x64, 0xd9, 0x85, 0xc5, 0x8e, 0x01, 0x44, 0x3c, 0xe5, 0x20, - 0x30, 0x16, 0x4f, 0xde, 0x5e, 0x1b, 0x38, 0xa3, 0x68, 0x37, 0xdb, 0x43, 0x98, 0xdf, 0x23, 0x4e, - 0x43, 0xb3, 0xcc, 0x8f, 0x70, 0x7d, 0x93, 0xb4, 0xec, 0xba, 0x69, 0x1b, 0x9b, 0xe4, 0x14, 0x21, - 0x18, 0xb1, 0xf0, 0x11, 0xb7, 0x57, 0x4a, 0x61, 0xdf, 0x28, 0x03, 0xc3, 0x94, 0x34, 0xc5, 0x4a, - 0xf2, 0x3e, 0xbd, 0x00, 0xe7, 0x98, 0xc6, 0x31, 0xcf, 0x7d, 0x53, 0x0a, 0xff, 0x41, 0x0b, 0x30, - 0x76, 0x48, 0x28, 0x25, 0x0d, 0xb1, 0x6b, 0x88, 0x3f, 0xf9, 0x47, 0x29, 0x98, 0xad, 0xf9, 0x85, - 0x00, 0xae, 0xf3, 0xf0, 0x8d, 0x3e, 0x84, 0xab, 0x76, 0xa0, 0x82, 0x7a, 0x28, 0x74, 0x50, 0x0f, - 0xc9, 0xa9, 0x98, 0xac, 0xff, 0xbd, 0xf8, 0x58, 0x13, 0xc7, 0xa2, 0xcc, 0xdb, 0x89, 0x43, 0xec, - 0xf0, 0x8c, 0x54, 0x3f, 0x9e, 0xf1, 0x0e, 0x80, 0x46, 0xa9, 0x63, 0x1e, 0xb6, 0x28, 0xf6, 0x97, - 0xc4, 0xcb, 0x17, 0xd7, 0x93, 0xef, 0x27, 0xb8, 0x9e, 0xf7, 0x31, 0x94, 0x08, 0x9c, 0x57, 0x03, - 0x8d, 0xb2, 0x5d, 0xed, 0x31, 0x84, 0x5f, 0x0b, 0xe6, 0x68, 0x38, 0x05, 0x2a, 0xcf, 0x6a, 0xfc, - 0x50, 0xd1, 0xc7, 0x08, 0x62, 0xf3, 0xa8, 0x20, 0xda, 0x49, 0x72, 0x1f, 0xab, 0x99, 0x3a, 0xe2, - 0xfb, 0x48, 0x2c, 0xbe, 0xbf, 0x07, 0xb3, 0x31, 0x00, 0xcf, 0xaf, 0x6d, 0xad, 0x81, 0x45, 0x94, - 0x67, 0xd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0x51, 0xf2, 0x49, 0xec, 0xef, 0x4c, 0x18, - 0x55, 0x3a, 0x93, 0x9b, 0xb0, 0x10, 0x2f, 0xaf, 0xf6, 0x89, 0x75, 0x86, 0x0e, 0x60, 0xfc, 0x04, - 0x3b, 0xd4, 0xd4, 0x03, 0x9f, 0xda, 0x18, 0xa4, 0x64, 0xe3, 0x3a, 0x28, 0x01, 0x96, 0xfc, 0x47, - 0x09, 0x26, 0xbd, 0x04, 0xe2, 0xdf, 0x76, 0x18, 0x85, 0xde, 0x08, 0xca, 0x6e, 0xee, 0x40, 0xf7, - 0xfa, 0xcb, 0x7c, 0xda, 0x6b, 0xed, 0x5f, 0x49, 0x30, 0x11, 0x50, 0x91, 0x03, 0x59, 0x87, 0x6d, - 0x35, 0x89, 0x35, 0xef, 0xeb, 0x97, 0xa9, 0x79, 0xbd, 0x49, 0x51, 0x90, 0x40, 0x7f, 0x44, 0x15, - 0xaf, 0xfc, 0x21, 0x4c, 0xb7, 0x27, 0x73, 0x9e, 0x57, 0xb2, 0x7b, 0x2f, 0x51, 0x4a, 0xb1, 0xa0, - 0xf4, 0x66, 0xe4, 0xa0, 0x88, 0xd7, 0x32, 0xff, 0xdd, 0x9f, 0xc9, 0x62, 0xe7, 0x44, 0xf2, 0xe7, - 0x12, 0xcc, 0xb5, 0xe7, 0x77, 0xdc, 0x80, 0xff, 0x89, 0xe7, 0x06, 0xf2, 0x5f, 0x53, 0x90, 0xeb, - 0x96, 0xac, 0x3e, 0xc2, 0xe3, 0xc0, 0x5e, 0xc1, 0xe1, 0x41, 0xe0, 0xd7, 0xa9, 0x7e, 0x0b, 0x88, - 0x84, 0xa9, 0xf0, 0x3d, 0x1c, 0x29, 0xe1, 0x02, 0x1d, 0xbe, 0xcc, 0x02, 0x2d, 0x0d, 0x85, 0x4b, - 0xf4, 0x09, 0x18, 0x67, 0x9b, 0xb8, 0x7f, 0xcf, 0x39, 0xec, 0x35, 0x32, 0x4a, 0xb9, 0xbe, 0x99, - 0x66,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 0xcf, - 0xea, 0xa4, 0x71, 0x61, 0xcc, 0xcd, 0xe5, 0x6e, 0x83, 0xdf, 0x77, 0x08, 0x25, 0xfb, 0xd2, 0x57, - 0xde, 0x16, 0x50, 0x06, 0xb1, 0x34, 0xdb, 0x58, 0x23, 0x8e, 0xb1, 0x6e, 0x60, 0x9b, 0x9d, 0x8e, - 0xac, 0xf3, 0x26, 0xad, 0x69, 0xba, 0xbd, 0x5f, 0xbc, 0xbf, 0x1c, 0x6b, 0xfb, 0x69, 0x6a, 0x75, - 0x9b, 0x63, 0x17, 0x98, 0x9a, 0x31, 0x4d, 0xd6, 0x0e, 0xee, 0xec, 0xdf, 0xdb, 0xf4, 0x3a, 0x7f, - 0xee, 0xb3, 0xbe, 0xcb, 0x58, 0xdf, 0x8d, 0xb1, 0xbe, 0x7b, 0xe0, 0xcb, 0xf9, 0x47, 0xea, 0x19, - 0xce, 0xba, 0xb1, 0xc1, 0x78, 0x37, 0x36, 0x62, 0xcc, 0x1b, 0x1b, 0x01, 0xf7, 0xe1, 0x18, 0x1b, - 0xc9, 0xbd, 0x7f, 0x05, 0x00, 0x00, 0xff, 0xff, 0x1c, 0x37, 0xf9, 0x5d, 0xba, 0x2f, 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 - -// 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.v1p3beta1.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) -} - -// UnimplementedVideoIntelligenceServiceServer can be embedded to have forward compatible implementations. -type UnimplementedVideoIntelligenceServiceServer struct { -} - -func (*UnimplementedVideoIntelligenceServiceServer) AnnotateVideo(ctx context.Context, req *AnnotateVideoRequest) (*longrunning.Operation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method AnnotateVideo not implemented") -} - -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.v1p3beta1.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.v1p3beta1.VideoIntelligenceService", - HandlerType: (*VideoIntelligenceServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AnnotateVideo", - Handler: _VideoIntelligenceService_AnnotateVideo_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/videointelligence/v1p3beta1/video_intelligence.proto", -} - -// StreamingVideoIntelligenceServiceClient is the client API for StreamingVideoIntelligenceService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type StreamingVideoIntelligenceServiceClient interface { - // Performs video annotation with bidirectional streaming: emitting results - // while sending video/audio bytes. - // This method is only available via the gRPC API (not REST). - StreamingAnnotateVideo(ctx context.Context, opts ...grpc.CallOption) (StreamingVideoIntelligenceService_StreamingAnnotateVideoClient, error) -} - -type streamingVideoIntelligenceServiceClient struct { - cc *grpc.ClientConn -} - -func NewStreamingVideoIntelligenceServiceClient(cc *grpc.ClientConn) StreamingVideoIntelligenceServiceClient { - return &streamingVideoIntelligenceServiceClient{cc} -} - -func (c *streamingVideoIntelligenceServiceClient) StreamingAnnotateVideo(ctx context.Context, opts ...grpc.CallOption) (StreamingVideoIntelligenceService_StreamingAnnotateVideoClient, error) { - stream, err := c.cc.NewStream(ctx, &_StreamingVideoIntelligenceService_serviceDesc.Streams[0], "/google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceService/StreamingAnnotateVideo", opts...) - if err != nil { - return nil, err - } - x := &streamingVideoIntelligenceServiceStreamingAnnotateVideoClient{stream} - return x, nil -} - -type StreamingVideoIntelligenceService_StreamingAnnotateVideoClient interface { - Send(*StreamingAnnotateVideoRequest) error - Recv() (*StreamingAnnotateVideoResponse, error) - grpc.ClientStream -} - -type streamingVideoIntelligenceServiceStreamingAnnotateVideoClient struct { - grpc.ClientStream -} - -func (x *streamingVideoIntelligenceServiceStreamingAnnotateVideoClient) Send(m *StreamingAnnotateVideoRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *streamingVideoIntelligenceServiceStreamingAnnotateVideoClient) Recv() (*StreamingAnnotateVideoResponse, error) { - m := new(StreamingAnnotateVideoResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// StreamingVideoIntelligenceServiceServer is the server API for StreamingVideoIntelligenceService service. -type StreamingVideoIntelligenceServiceServer interface { - // Performs video annotation with bidirectional streaming: emitting results - // while sending video/audio bytes. - // This method is only available via the gRPC API (not REST). - StreamingAnnotateVideo(StreamingVideoIntelligenceService_StreamingAnnotateVideoServer) error -} - -// UnimplementedStreamingVideoIntelligenceServiceServer can be embedded to have forward compatible implementations. -type UnimplementedStreamingVideoIntelligenceServiceServer struct { -} - -func (*UnimplementedStreamingVideoIntelligenceServiceServer) StreamingAnnotateVideo(srv StreamingVideoIntelligenceService_StreamingAnnotateVideoServer) error { - return status1.Errorf(codes.Unimplemented, "method StreamingAnnotateVideo not implemented") -} - -func RegisterStreamingVideoIntelligenceServiceServer(s *grpc.Server, srv StreamingVideoIntelligenceServiceServer) { - s.RegisterService(&_StreamingVideoIntelligenceService_serviceDesc, srv) -} - -func _StreamingVideoIntelligenceService_StreamingAnnotateVideo_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(StreamingVideoIntelligenceServiceServer).StreamingAnnotateVideo(&streamingVideoIntelligenceServiceStreamingAnnotateVideoServer{stream}) -} - -type StreamingVideoIntelligenceService_StreamingAnnotateVideoServer interface { - Send(*StreamingAnnotateVideoResponse) error - Recv() (*StreamingAnnotateVideoRequest, error) - grpc.ServerStream -} - -type streamingVideoIntelligenceServiceStreamingAnnotateVideoServer struct { - grpc.ServerStream -} - -func (x *streamingVideoIntelligenceServiceStreamingAnnotateVideoServer) Send(m *StreamingAnnotateVideoResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *streamingVideoIntelligenceServiceStreamingAnnotateVideoServer) Recv() (*StreamingAnnotateVideoRequest, error) { - m := new(StreamingAnnotateVideoRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -var _StreamingVideoIntelligenceService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceService", - HandlerType: (*StreamingVideoIntelligenceServiceServer)(nil), - Methods: []grpc.MethodDesc{}, - Streams: []grpc.StreamDesc{ - { - StreamName: "StreamingAnnotateVideo", - Handler: _StreamingVideoIntelligenceService_StreamingAnnotateVideo_Handler, - ServerStreams: true, - ClientStreams: true, - }, - }, - Metadata: "google/cloud/videointelligence/v1p3beta1/video_intelligence.proto", -} 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 deleted file mode 100644 index 527e8bd1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/geometry.pb.go +++ /dev/null @@ -1,271 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/vision/v1/geometry.proto - -package vision - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A vertex represents a 2D point in the image. -// NOTE: the vertex coordinates are in the same scale as the original image. -type Vertex struct { - // X coordinate. - X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` - // Y coordinate. - Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ce1d1cf3c6845cfe, []int{0} -} - -func (m *Vertex) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Vertex.Unmarshal(m, b) -} -func (m *Vertex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Vertex.Marshal(b, m, deterministic) -} -func (m *Vertex) XXX_Merge(src proto.Message) { - xxx_messageInfo_Vertex.Merge(m, src) -} -func (m *Vertex) XXX_Size() int { - return xxx_messageInfo_Vertex.Size(m) -} -func (m *Vertex) XXX_DiscardUnknown() { - xxx_messageInfo_Vertex.DiscardUnknown(m) -} - -var xxx_messageInfo_Vertex proto.InternalMessageInfo - -func (m *Vertex) GetX() int32 { - if m != nil { - return m.X - } - return 0 -} - -func (m *Vertex) GetY() int32 { - if m != nil { - return m.Y - } - return 0 -} - -// 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_ce1d1cf3c6845cfe, []int{1} -} - -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 (m *NormalizedVertex) XXX_Merge(src proto.Message) { - xxx_messageInfo_NormalizedVertex.Merge(m, 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 -} - -// A bounding polygon for the detected image annotation. -type BoundingPoly struct { - // The bounding polygon vertices. - Vertices []*Vertex `protobuf:"bytes,1,rep,name=vertices,proto3" json:"vertices,omitempty"` - // The bounding polygon normalized vertices. - NormalizedVertices []*NormalizedVertex `protobuf:"bytes,2,rep,name=normalized_vertices,json=normalizedVertices,proto3" json:"normalized_vertices,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ce1d1cf3c6845cfe, []int{2} -} - -func (m *BoundingPoly) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BoundingPoly.Unmarshal(m, b) -} -func (m *BoundingPoly) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BoundingPoly.Marshal(b, m, deterministic) -} -func (m *BoundingPoly) XXX_Merge(src proto.Message) { - xxx_messageInfo_BoundingPoly.Merge(m, src) -} -func (m *BoundingPoly) XXX_Size() int { - return xxx_messageInfo_BoundingPoly.Size(m) -} -func (m *BoundingPoly) XXX_DiscardUnknown() { - xxx_messageInfo_BoundingPoly.DiscardUnknown(m) -} - -var xxx_messageInfo_BoundingPoly proto.InternalMessageInfo - -func (m *BoundingPoly) GetVertices() []*Vertex { - if m != nil { - return m.Vertices - } - return nil -} - -func (m *BoundingPoly) GetNormalizedVertices() []*NormalizedVertex { - if m != nil { - return m.NormalizedVertices - } - return nil -} - -// A 3D position in the image, used primarily for Face detection landmarks. -// A valid Position must have both x and y coordinates. -// The position coordinates are in the same scale as the original image. -type Position 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"` - // Z coordinate (or depth). - Z float32 `protobuf:"fixed32,3,opt,name=z,proto3" json:"z,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ce1d1cf3c6845cfe, []int{3} -} - -func (m *Position) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Position.Unmarshal(m, b) -} -func (m *Position) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Position.Marshal(b, m, deterministic) -} -func (m *Position) XXX_Merge(src proto.Message) { - xxx_messageInfo_Position.Merge(m, src) -} -func (m *Position) XXX_Size() int { - return xxx_messageInfo_Position.Size(m) -} -func (m *Position) XXX_DiscardUnknown() { - xxx_messageInfo_Position.DiscardUnknown(m) -} - -var xxx_messageInfo_Position proto.InternalMessageInfo - -func (m *Position) GetX() float32 { - if m != nil { - return m.X - } - return 0 -} - -func (m *Position) GetY() float32 { - if m != nil { - return m.Y - } - return 0 -} - -func (m *Position) GetZ() float32 { - if m != nil { - return m.Z - } - return 0 -} - -func init() { - proto.RegisterType((*Vertex)(nil), "google.cloud.vision.v1.Vertex") - proto.RegisterType((*NormalizedVertex)(nil), "google.cloud.vision.v1.NormalizedVertex") - proto.RegisterType((*BoundingPoly)(nil), "google.cloud.vision.v1.BoundingPoly") - proto.RegisterType((*Position)(nil), "google.cloud.vision.v1.Position") -} - -func init() { - proto.RegisterFile("google/cloud/vision/v1/geometry.proto", fileDescriptor_ce1d1cf3c6845cfe) -} - -var fileDescriptor_ce1d1cf3c6845cfe = []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 deleted file mode 100644 index 3be5591e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/image_annotator.pb.go +++ /dev/null @@ -1,3460 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/vision/v1/image_annotator.proto - -package vision - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - status "google.golang.org/genproto/googleapis/rpc/status" - color "google.golang.org/genproto/googleapis/type/color" - latlng "google.golang.org/genproto/googleapis/type/latlng" - _ "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A bucketized representation of likelihood, which is intended to give clients -// highly stable results across model upgrades. -type Likelihood int32 - -const ( - // Unknown likelihood. - Likelihood_UNKNOWN Likelihood = 0 - // It is very unlikely. - Likelihood_VERY_UNLIKELY Likelihood = 1 - // It is unlikely. - Likelihood_UNLIKELY Likelihood = 2 - // It is possible. - Likelihood_POSSIBLE Likelihood = 3 - // It is likely. - Likelihood_LIKELY Likelihood = 4 - // It is very likely. - Likelihood_VERY_LIKELY Likelihood = 5 -) - -var Likelihood_name = map[int32]string{ - 0: "UNKNOWN", - 1: "VERY_UNLIKELY", - 2: "UNLIKELY", - 3: "POSSIBLE", - 4: "LIKELY", - 5: "VERY_LIKELY", -} - -var Likelihood_value = map[string]int32{ - "UNKNOWN": 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_49e74116a4d6fd69, []int{0} -} - -// Type of Google Cloud Vision API feature to be extracted. -type Feature_Type int32 - -const ( - // Unspecified feature type. - Feature_TYPE_UNSPECIFIED Feature_Type = 0 - // Run face detection. - Feature_FACE_DETECTION Feature_Type = 1 - // Run landmark detection. - Feature_LANDMARK_DETECTION Feature_Type = 2 - // Run logo detection. - Feature_LOGO_DETECTION Feature_Type = 3 - // Run label detection. - Feature_LABEL_DETECTION Feature_Type = 4 - // Run text detection / optical character recognition (OCR). Text detection - // is optimized for areas of text within a larger image; if the image is - // a document, use `DOCUMENT_TEXT_DETECTION` instead. - Feature_TEXT_DETECTION Feature_Type = 5 - // Run dense text document OCR. Takes precedence when both - // `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` are present. - Feature_DOCUMENT_TEXT_DETECTION Feature_Type = 11 - // Run Safe Search to detect potentially unsafe - // or undesirable content. - Feature_SAFE_SEARCH_DETECTION Feature_Type = 6 - // Compute a set of image properties, such as the - // image's dominant colors. - Feature_IMAGE_PROPERTIES Feature_Type = 7 - // Run crop hints. - 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{ - 0: "TYPE_UNSPECIFIED", - 1: "FACE_DETECTION", - 2: "LANDMARK_DETECTION", - 3: "LOGO_DETECTION", - 4: "LABEL_DETECTION", - 5: "TEXT_DETECTION", - 11: "DOCUMENT_TEXT_DETECTION", - 6: "SAFE_SEARCH_DETECTION", - 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, - "FACE_DETECTION": 1, - "LANDMARK_DETECTION": 2, - "LOGO_DETECTION": 3, - "LABEL_DETECTION": 4, - "TEXT_DETECTION": 5, - "DOCUMENT_TEXT_DETECTION": 11, - "SAFE_SEARCH_DETECTION": 6, - "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_49e74116a4d6fd69, []int{0, 0} -} - -// Face landmark (feature) type. -// Left and right are defined from the vantage of the viewer of the image -// without considering mirror projections typical of photos. So, `LEFT_EYE`, -// typically, is the person's right eye. -type FaceAnnotation_Landmark_Type int32 - -const ( - // Unknown face landmark detected. Should not be filled. - FaceAnnotation_Landmark_UNKNOWN_LANDMARK FaceAnnotation_Landmark_Type = 0 - // Left eye. - FaceAnnotation_Landmark_LEFT_EYE FaceAnnotation_Landmark_Type = 1 - // Right eye. - FaceAnnotation_Landmark_RIGHT_EYE FaceAnnotation_Landmark_Type = 2 - // Left of left eyebrow. - FaceAnnotation_Landmark_LEFT_OF_LEFT_EYEBROW FaceAnnotation_Landmark_Type = 3 - // Right of left eyebrow. - FaceAnnotation_Landmark_RIGHT_OF_LEFT_EYEBROW FaceAnnotation_Landmark_Type = 4 - // Left of right eyebrow. - FaceAnnotation_Landmark_LEFT_OF_RIGHT_EYEBROW FaceAnnotation_Landmark_Type = 5 - // Right of right eyebrow. - FaceAnnotation_Landmark_RIGHT_OF_RIGHT_EYEBROW FaceAnnotation_Landmark_Type = 6 - // Midpoint between eyes. - FaceAnnotation_Landmark_MIDPOINT_BETWEEN_EYES FaceAnnotation_Landmark_Type = 7 - // Nose tip. - FaceAnnotation_Landmark_NOSE_TIP FaceAnnotation_Landmark_Type = 8 - // Upper lip. - FaceAnnotation_Landmark_UPPER_LIP FaceAnnotation_Landmark_Type = 9 - // Lower lip. - FaceAnnotation_Landmark_LOWER_LIP FaceAnnotation_Landmark_Type = 10 - // Mouth left. - FaceAnnotation_Landmark_MOUTH_LEFT FaceAnnotation_Landmark_Type = 11 - // Mouth right. - FaceAnnotation_Landmark_MOUTH_RIGHT FaceAnnotation_Landmark_Type = 12 - // Mouth center. - FaceAnnotation_Landmark_MOUTH_CENTER FaceAnnotation_Landmark_Type = 13 - // Nose, bottom right. - FaceAnnotation_Landmark_NOSE_BOTTOM_RIGHT FaceAnnotation_Landmark_Type = 14 - // Nose, bottom left. - FaceAnnotation_Landmark_NOSE_BOTTOM_LEFT FaceAnnotation_Landmark_Type = 15 - // Nose, bottom center. - FaceAnnotation_Landmark_NOSE_BOTTOM_CENTER FaceAnnotation_Landmark_Type = 16 - // Left eye, top boundary. - FaceAnnotation_Landmark_LEFT_EYE_TOP_BOUNDARY FaceAnnotation_Landmark_Type = 17 - // Left eye, right corner. - FaceAnnotation_Landmark_LEFT_EYE_RIGHT_CORNER FaceAnnotation_Landmark_Type = 18 - // Left eye, bottom boundary. - FaceAnnotation_Landmark_LEFT_EYE_BOTTOM_BOUNDARY FaceAnnotation_Landmark_Type = 19 - // Left eye, left corner. - FaceAnnotation_Landmark_LEFT_EYE_LEFT_CORNER FaceAnnotation_Landmark_Type = 20 - // Right eye, top boundary. - FaceAnnotation_Landmark_RIGHT_EYE_TOP_BOUNDARY FaceAnnotation_Landmark_Type = 21 - // Right eye, right corner. - FaceAnnotation_Landmark_RIGHT_EYE_RIGHT_CORNER FaceAnnotation_Landmark_Type = 22 - // Right eye, bottom boundary. - FaceAnnotation_Landmark_RIGHT_EYE_BOTTOM_BOUNDARY FaceAnnotation_Landmark_Type = 23 - // Right eye, left corner. - FaceAnnotation_Landmark_RIGHT_EYE_LEFT_CORNER FaceAnnotation_Landmark_Type = 24 - // Left eyebrow, upper midpoint. - FaceAnnotation_Landmark_LEFT_EYEBROW_UPPER_MIDPOINT FaceAnnotation_Landmark_Type = 25 - // Right eyebrow, upper midpoint. - FaceAnnotation_Landmark_RIGHT_EYEBROW_UPPER_MIDPOINT FaceAnnotation_Landmark_Type = 26 - // Left ear tragion. - FaceAnnotation_Landmark_LEFT_EAR_TRAGION FaceAnnotation_Landmark_Type = 27 - // Right ear tragion. - FaceAnnotation_Landmark_RIGHT_EAR_TRAGION FaceAnnotation_Landmark_Type = 28 - // Left eye pupil. - FaceAnnotation_Landmark_LEFT_EYE_PUPIL FaceAnnotation_Landmark_Type = 29 - // Right eye pupil. - FaceAnnotation_Landmark_RIGHT_EYE_PUPIL FaceAnnotation_Landmark_Type = 30 - // Forehead glabella. - FaceAnnotation_Landmark_FOREHEAD_GLABELLA FaceAnnotation_Landmark_Type = 31 - // Chin gnathion. - FaceAnnotation_Landmark_CHIN_GNATHION FaceAnnotation_Landmark_Type = 32 - // Chin left gonion. - FaceAnnotation_Landmark_CHIN_LEFT_GONION FaceAnnotation_Landmark_Type = 33 - // Chin right gonion. - FaceAnnotation_Landmark_CHIN_RIGHT_GONION FaceAnnotation_Landmark_Type = 34 -) - -var FaceAnnotation_Landmark_Type_name = map[int32]string{ - 0: "UNKNOWN_LANDMARK", - 1: "LEFT_EYE", - 2: "RIGHT_EYE", - 3: "LEFT_OF_LEFT_EYEBROW", - 4: "RIGHT_OF_LEFT_EYEBROW", - 5: "LEFT_OF_RIGHT_EYEBROW", - 6: "RIGHT_OF_RIGHT_EYEBROW", - 7: "MIDPOINT_BETWEEN_EYES", - 8: "NOSE_TIP", - 9: "UPPER_LIP", - 10: "LOWER_LIP", - 11: "MOUTH_LEFT", - 12: "MOUTH_RIGHT", - 13: "MOUTH_CENTER", - 14: "NOSE_BOTTOM_RIGHT", - 15: "NOSE_BOTTOM_LEFT", - 16: "NOSE_BOTTOM_CENTER", - 17: "LEFT_EYE_TOP_BOUNDARY", - 18: "LEFT_EYE_RIGHT_CORNER", - 19: "LEFT_EYE_BOTTOM_BOUNDARY", - 20: "LEFT_EYE_LEFT_CORNER", - 21: "RIGHT_EYE_TOP_BOUNDARY", - 22: "RIGHT_EYE_RIGHT_CORNER", - 23: "RIGHT_EYE_BOTTOM_BOUNDARY", - 24: "RIGHT_EYE_LEFT_CORNER", - 25: "LEFT_EYEBROW_UPPER_MIDPOINT", - 26: "RIGHT_EYEBROW_UPPER_MIDPOINT", - 27: "LEFT_EAR_TRAGION", - 28: "RIGHT_EAR_TRAGION", - 29: "LEFT_EYE_PUPIL", - 30: "RIGHT_EYE_PUPIL", - 31: "FOREHEAD_GLABELLA", - 32: "CHIN_GNATHION", - 33: "CHIN_LEFT_GONION", - 34: "CHIN_RIGHT_GONION", -} - -var FaceAnnotation_Landmark_Type_value = map[string]int32{ - "UNKNOWN_LANDMARK": 0, - "LEFT_EYE": 1, - "RIGHT_EYE": 2, - "LEFT_OF_LEFT_EYEBROW": 3, - "RIGHT_OF_LEFT_EYEBROW": 4, - "LEFT_OF_RIGHT_EYEBROW": 5, - "RIGHT_OF_RIGHT_EYEBROW": 6, - "MIDPOINT_BETWEEN_EYES": 7, - "NOSE_TIP": 8, - "UPPER_LIP": 9, - "LOWER_LIP": 10, - "MOUTH_LEFT": 11, - "MOUTH_RIGHT": 12, - "MOUTH_CENTER": 13, - "NOSE_BOTTOM_RIGHT": 14, - "NOSE_BOTTOM_LEFT": 15, - "NOSE_BOTTOM_CENTER": 16, - "LEFT_EYE_TOP_BOUNDARY": 17, - "LEFT_EYE_RIGHT_CORNER": 18, - "LEFT_EYE_BOTTOM_BOUNDARY": 19, - "LEFT_EYE_LEFT_CORNER": 20, - "RIGHT_EYE_TOP_BOUNDARY": 21, - "RIGHT_EYE_RIGHT_CORNER": 22, - "RIGHT_EYE_BOTTOM_BOUNDARY": 23, - "RIGHT_EYE_LEFT_CORNER": 24, - "LEFT_EYEBROW_UPPER_MIDPOINT": 25, - "RIGHT_EYEBROW_UPPER_MIDPOINT": 26, - "LEFT_EAR_TRAGION": 27, - "RIGHT_EAR_TRAGION": 28, - "LEFT_EYE_PUPIL": 29, - "RIGHT_EYE_PUPIL": 30, - "FOREHEAD_GLABELLA": 31, - "CHIN_GNATHION": 32, - "CHIN_LEFT_GONION": 33, - "CHIN_RIGHT_GONION": 34, -} - -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_49e74116a4d6fd69, []int{3, 0, 0} -} - -// Batch operation states. -type OperationMetadata_State int32 - -const ( - // Invalid. - OperationMetadata_STATE_UNSPECIFIED OperationMetadata_State = 0 - // Request is received. - OperationMetadata_CREATED OperationMetadata_State = 1 - // Request is actively being processed. - OperationMetadata_RUNNING OperationMetadata_State = 2 - // The batch processing is done. - OperationMetadata_DONE OperationMetadata_State = 3 - // The batch processing was cancelled. - OperationMetadata_CANCELLED OperationMetadata_State = 4 -) - -var OperationMetadata_State_name = map[int32]string{ - 0: "STATE_UNSPECIFIED", - 1: "CREATED", - 2: "RUNNING", - 3: "DONE", - 4: "CANCELLED", -} - -var OperationMetadata_State_value = map[string]int32{ - "STATE_UNSPECIFIED": 0, - "CREATED": 1, - "RUNNING": 2, - "DONE": 3, - "CANCELLED": 4, -} - -func (x OperationMetadata_State) String() string { - return proto.EnumName(OperationMetadata_State_name, int32(x)) -} - -func (OperationMetadata_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_49e74116a4d6fd69, []int{37, 0} -} - -// The type of Google Cloud Vision API detection to perform, and the maximum -// number of results to return for that type. Multiple `Feature` objects can -// be specified in the `features` list. -type Feature struct { - // The feature type. - Type Feature_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.vision.v1.Feature_Type" json:"type,omitempty"` - // Maximum number of results of this type. Does not apply to - // `TEXT_DETECTION`, `DOCUMENT_TEXT_DETECTION`, or `CROP_HINTS`. - MaxResults int32 `protobuf:"varint,2,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"` - // Model to use for the feature. - // 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 *Feature) Reset() { *m = Feature{} } -func (m *Feature) String() string { return proto.CompactTextString(m) } -func (*Feature) ProtoMessage() {} -func (*Feature) Descriptor() ([]byte, []int) { - return fileDescriptor_49e74116a4d6fd69, []int{0} -} - -func (m *Feature) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Feature.Unmarshal(m, b) -} -func (m *Feature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Feature.Marshal(b, m, deterministic) -} -func (m *Feature) XXX_Merge(src proto.Message) { - xxx_messageInfo_Feature.Merge(m, src) -} -func (m *Feature) XXX_Size() int { - return xxx_messageInfo_Feature.Size(m) -} -func (m *Feature) XXX_DiscardUnknown() { - xxx_messageInfo_Feature.DiscardUnknown(m) -} - -var xxx_messageInfo_Feature proto.InternalMessageInfo - -func (m *Feature) GetType() Feature_Type { - if m != nil { - return m.Type - } - return Feature_TYPE_UNSPECIFIED -} - -func (m *Feature) GetMaxResults() int32 { - if m != nil { - return m.MaxResults - } - return 0 -} - -func (m *Feature) GetModel() string { - if m != nil { - return m.Model - } - return "" -} - -// External image source (Google Cloud Storage or web URL image location). -type ImageSource struct { - // **Use `image_uri` instead.** - // - // The Google Cloud Storage URI of the form - // `gs://bucket_name/object_name`. Object versioning is not supported. See - // [Google Cloud Storage Request - // URIs](https://cloud.google.com/storage/docs/reference-uris) for more info. - GcsImageUri string `protobuf:"bytes,1,opt,name=gcs_image_uri,json=gcsImageUri,proto3" json:"gcs_image_uri,omitempty"` - // The URI of the source image. Can be either: - // - // 1. A Google Cloud Storage URI of the form - // `gs://bucket_name/object_name`. Object versioning is not supported. See - // [Google Cloud Storage Request - // URIs](https://cloud.google.com/storage/docs/reference-uris) for more - // info. - // - // 2. A publicly-accessible image HTTP/HTTPS URL. When fetching images from - // HTTP/HTTPS URLs, Google cannot guarantee that the request will be - // completed. Your request may fail if the specified host denies the - // request (e.g. due to request throttling or DOS prevention), or if Google - // throttles requests to the site for abuse prevention. You should not - // depend on externally-hosted images for production applications. - // - // When both `gcs_image_uri` and `image_uri` are specified, `image_uri` takes - // precedence. - ImageUri string `protobuf:"bytes,2,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_49e74116a4d6fd69, []int{1} -} - -func (m *ImageSource) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageSource.Unmarshal(m, b) -} -func (m *ImageSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageSource.Marshal(b, m, deterministic) -} -func (m *ImageSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageSource.Merge(m, src) -} -func (m *ImageSource) XXX_Size() int { - return xxx_messageInfo_ImageSource.Size(m) -} -func (m *ImageSource) XXX_DiscardUnknown() { - xxx_messageInfo_ImageSource.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageSource proto.InternalMessageInfo - -func (m *ImageSource) GetGcsImageUri() string { - if m != nil { - return m.GcsImageUri - } - return "" -} - -func (m *ImageSource) GetImageUri() string { - if m != nil { - return m.ImageUri - } - return "" -} - -// Client image to perform Google Cloud Vision API tasks over. -type Image struct { - // Image content, represented as a stream of bytes. - // Note: As with all `bytes` fields, protobuffers use a pure binary - // representation, whereas JSON representations use base64. - Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` - // Google Cloud Storage image location, or publicly-accessible image - // URL. If both `content` and `source` are provided for an image, `content` - // takes precedence and is used to perform the image annotation request. - Source *ImageSource `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_49e74116a4d6fd69, []int{2} -} - -func (m *Image) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Image.Unmarshal(m, b) -} -func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Image.Marshal(b, m, deterministic) -} -func (m *Image) XXX_Merge(src proto.Message) { - xxx_messageInfo_Image.Merge(m, src) -} -func (m *Image) XXX_Size() int { - return xxx_messageInfo_Image.Size(m) -} -func (m *Image) XXX_DiscardUnknown() { - xxx_messageInfo_Image.DiscardUnknown(m) -} - -var xxx_messageInfo_Image proto.InternalMessageInfo - -func (m *Image) GetContent() []byte { - if m != nil { - return m.Content - } - return nil -} - -func (m *Image) GetSource() *ImageSource { - if m != nil { - return m.Source - } - return nil -} - -// A face annotation object contains the results of face detection. -type FaceAnnotation struct { - // The bounding polygon around the face. The coordinates of the bounding box - // are in the original image's scale. - // The bounding box is computed to "frame" the face in accordance with human - // expectations. It is based on the landmarker results. - // Note that one or more x and/or y coordinates may not be generated in the - // `BoundingPoly` (the polygon will be unbounded) if only a partial face - // appears in the image to be annotated. - BoundingPoly *BoundingPoly `protobuf:"bytes,1,opt,name=bounding_poly,json=boundingPoly,proto3" json:"bounding_poly,omitempty"` - // The `fd_bounding_poly` bounding polygon is tighter than the - // `boundingPoly`, and encloses only the skin part of the face. Typically, it - // is used to eliminate the face from any image analysis that detects the - // "amount of skin" visible in an image. It is not based on the - // landmarker results, only on the initial face detection, hence - // the fd (face detection) prefix. - FdBoundingPoly *BoundingPoly `protobuf:"bytes,2,opt,name=fd_bounding_poly,json=fdBoundingPoly,proto3" json:"fd_bounding_poly,omitempty"` - // Detected face landmarks. - Landmarks []*FaceAnnotation_Landmark `protobuf:"bytes,3,rep,name=landmarks,proto3" json:"landmarks,omitempty"` - // Roll angle, which indicates the amount of clockwise/anti-clockwise rotation - // of the face relative to the image vertical about the axis perpendicular to - // the face. Range [-180,180]. - RollAngle float32 `protobuf:"fixed32,4,opt,name=roll_angle,json=rollAngle,proto3" json:"roll_angle,omitempty"` - // Yaw angle, which indicates the leftward/rightward angle that the face is - // pointing relative to the vertical plane perpendicular to the image. Range - // [-180,180]. - PanAngle float32 `protobuf:"fixed32,5,opt,name=pan_angle,json=panAngle,proto3" json:"pan_angle,omitempty"` - // Pitch angle, which indicates the upwards/downwards angle that the face is - // pointing relative to the image's horizontal plane. Range [-180,180]. - TiltAngle float32 `protobuf:"fixed32,6,opt,name=tilt_angle,json=tiltAngle,proto3" json:"tilt_angle,omitempty"` - // Detection confidence. Range [0, 1]. - DetectionConfidence float32 `protobuf:"fixed32,7,opt,name=detection_confidence,json=detectionConfidence,proto3" json:"detection_confidence,omitempty"` - // Face landmarking confidence. Range [0, 1]. - LandmarkingConfidence float32 `protobuf:"fixed32,8,opt,name=landmarking_confidence,json=landmarkingConfidence,proto3" json:"landmarking_confidence,omitempty"` - // Joy likelihood. - JoyLikelihood Likelihood `protobuf:"varint,9,opt,name=joy_likelihood,json=joyLikelihood,proto3,enum=google.cloud.vision.v1.Likelihood" json:"joy_likelihood,omitempty"` - // Sorrow likelihood. - SorrowLikelihood Likelihood `protobuf:"varint,10,opt,name=sorrow_likelihood,json=sorrowLikelihood,proto3,enum=google.cloud.vision.v1.Likelihood" json:"sorrow_likelihood,omitempty"` - // Anger likelihood. - AngerLikelihood Likelihood `protobuf:"varint,11,opt,name=anger_likelihood,json=angerLikelihood,proto3,enum=google.cloud.vision.v1.Likelihood" json:"anger_likelihood,omitempty"` - // Surprise likelihood. - SurpriseLikelihood Likelihood `protobuf:"varint,12,opt,name=surprise_likelihood,json=surpriseLikelihood,proto3,enum=google.cloud.vision.v1.Likelihood" json:"surprise_likelihood,omitempty"` - // Under-exposed likelihood. - UnderExposedLikelihood Likelihood `protobuf:"varint,13,opt,name=under_exposed_likelihood,json=underExposedLikelihood,proto3,enum=google.cloud.vision.v1.Likelihood" json:"under_exposed_likelihood,omitempty"` - // Blurred likelihood. - BlurredLikelihood Likelihood `protobuf:"varint,14,opt,name=blurred_likelihood,json=blurredLikelihood,proto3,enum=google.cloud.vision.v1.Likelihood" json:"blurred_likelihood,omitempty"` - // Headwear likelihood. - HeadwearLikelihood Likelihood `protobuf:"varint,15,opt,name=headwear_likelihood,json=headwearLikelihood,proto3,enum=google.cloud.vision.v1.Likelihood" json:"headwear_likelihood,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_49e74116a4d6fd69, []int{3} -} - -func (m *FaceAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FaceAnnotation.Unmarshal(m, b) -} -func (m *FaceAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FaceAnnotation.Marshal(b, m, deterministic) -} -func (m *FaceAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_FaceAnnotation.Merge(m, src) -} -func (m *FaceAnnotation) XXX_Size() int { - return xxx_messageInfo_FaceAnnotation.Size(m) -} -func (m *FaceAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_FaceAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_FaceAnnotation proto.InternalMessageInfo - -func (m *FaceAnnotation) GetBoundingPoly() *BoundingPoly { - if m != nil { - return m.BoundingPoly - } - return nil -} - -func (m *FaceAnnotation) GetFdBoundingPoly() *BoundingPoly { - if m != nil { - return m.FdBoundingPoly - } - return nil -} - -func (m *FaceAnnotation) GetLandmarks() []*FaceAnnotation_Landmark { - if m != nil { - return m.Landmarks - } - return nil -} - -func (m *FaceAnnotation) GetRollAngle() float32 { - if m != nil { - return m.RollAngle - } - return 0 -} - -func (m *FaceAnnotation) GetPanAngle() float32 { - if m != nil { - return m.PanAngle - } - return 0 -} - -func (m *FaceAnnotation) GetTiltAngle() float32 { - if m != nil { - return m.TiltAngle - } - return 0 -} - -func (m *FaceAnnotation) GetDetectionConfidence() float32 { - if m != nil { - return m.DetectionConfidence - } - return 0 -} - -func (m *FaceAnnotation) GetLandmarkingConfidence() float32 { - if m != nil { - return m.LandmarkingConfidence - } - return 0 -} - -func (m *FaceAnnotation) GetJoyLikelihood() Likelihood { - if m != nil { - return m.JoyLikelihood - } - return Likelihood_UNKNOWN -} - -func (m *FaceAnnotation) GetSorrowLikelihood() Likelihood { - if m != nil { - return m.SorrowLikelihood - } - return Likelihood_UNKNOWN -} - -func (m *FaceAnnotation) GetAngerLikelihood() Likelihood { - if m != nil { - return m.AngerLikelihood - } - return Likelihood_UNKNOWN -} - -func (m *FaceAnnotation) GetSurpriseLikelihood() Likelihood { - if m != nil { - return m.SurpriseLikelihood - } - return Likelihood_UNKNOWN -} - -func (m *FaceAnnotation) GetUnderExposedLikelihood() Likelihood { - if m != nil { - return m.UnderExposedLikelihood - } - return Likelihood_UNKNOWN -} - -func (m *FaceAnnotation) GetBlurredLikelihood() Likelihood { - if m != nil { - return m.BlurredLikelihood - } - return Likelihood_UNKNOWN -} - -func (m *FaceAnnotation) GetHeadwearLikelihood() Likelihood { - if m != nil { - return m.HeadwearLikelihood - } - return Likelihood_UNKNOWN -} - -// A face-specific landmark (for example, a face feature). -type FaceAnnotation_Landmark struct { - // Face landmark type. - Type FaceAnnotation_Landmark_Type `protobuf:"varint,3,opt,name=type,proto3,enum=google.cloud.vision.v1.FaceAnnotation_Landmark_Type" json:"type,omitempty"` - // Face landmark position. - Position *Position `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_49e74116a4d6fd69, []int{3, 0} -} - -func (m *FaceAnnotation_Landmark) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FaceAnnotation_Landmark.Unmarshal(m, b) -} -func (m *FaceAnnotation_Landmark) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FaceAnnotation_Landmark.Marshal(b, m, deterministic) -} -func (m *FaceAnnotation_Landmark) XXX_Merge(src proto.Message) { - xxx_messageInfo_FaceAnnotation_Landmark.Merge(m, src) -} -func (m *FaceAnnotation_Landmark) XXX_Size() int { - return xxx_messageInfo_FaceAnnotation_Landmark.Size(m) -} -func (m *FaceAnnotation_Landmark) XXX_DiscardUnknown() { - xxx_messageInfo_FaceAnnotation_Landmark.DiscardUnknown(m) -} - -var xxx_messageInfo_FaceAnnotation_Landmark proto.InternalMessageInfo - -func (m *FaceAnnotation_Landmark) GetType() FaceAnnotation_Landmark_Type { - if m != nil { - return m.Type - } - return FaceAnnotation_Landmark_UNKNOWN_LANDMARK -} - -func (m *FaceAnnotation_Landmark) GetPosition() *Position { - if m != nil { - return m.Position - } - return nil -} - -// Detected entity location information. -type LocationInfo struct { - // lat/long location coordinates. - LatLng *latlng.LatLng `protobuf:"bytes,1,opt,name=lat_lng,json=latLng,proto3" json:"lat_lng,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_49e74116a4d6fd69, []int{4} -} - -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 (m *LocationInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocationInfo.Merge(m, 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) GetLatLng() *latlng.LatLng { - if m != nil { - return m.LatLng - } - return nil -} - -// A `Property` consists of a user-supplied name/value pair. -type Property struct { - // Name of the property. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Value of the property. - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - // Value of numeric properties. - Uint64Value uint64 `protobuf:"varint,3,opt,name=uint64_value,json=uint64Value,proto3" json:"uint64_value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_49e74116a4d6fd69, []int{5} -} - -func (m *Property) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Property.Unmarshal(m, b) -} -func (m *Property) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Property.Marshal(b, m, deterministic) -} -func (m *Property) XXX_Merge(src proto.Message) { - xxx_messageInfo_Property.Merge(m, src) -} -func (m *Property) XXX_Size() int { - return xxx_messageInfo_Property.Size(m) -} -func (m *Property) XXX_DiscardUnknown() { - xxx_messageInfo_Property.DiscardUnknown(m) -} - -var xxx_messageInfo_Property proto.InternalMessageInfo - -func (m *Property) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Property) GetValue() string { - if m != nil { - return m.Value - } - return "" -} - -func (m *Property) GetUint64Value() uint64 { - if m != nil { - return m.Uint64Value - } - return 0 -} - -// Set of detected entity features. -type EntityAnnotation struct { - // Opaque entity ID. Some IDs may be available in - // [Google Knowledge Graph Search - // API](https://developers.google.com/knowledge-graph/). - Mid string `protobuf:"bytes,1,opt,name=mid,proto3" json:"mid,omitempty"` - // The language code for the locale in which the entity textual - // `description` is expressed. - Locale string `protobuf:"bytes,2,opt,name=locale,proto3" json:"locale,omitempty"` - // Entity textual description, expressed in its `locale` language. - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - // Overall score of the result. Range [0, 1]. - Score float32 `protobuf:"fixed32,4,opt,name=score,proto3" json:"score,omitempty"` - // **Deprecated. Use `score` instead.** - // The accuracy of the entity detection in an image. - // 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"` // 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 - // detected distant towering building, even though the confidence that - // there is a tower in each image may be the same. Range [0, 1]. - Topicality float32 `protobuf:"fixed32,6,opt,name=topicality,proto3" json:"topicality,omitempty"` - // Image region to which this entity belongs. Not produced - // for `LABEL_DETECTION` features. - BoundingPoly *BoundingPoly `protobuf:"bytes,7,opt,name=bounding_poly,json=boundingPoly,proto3" json:"bounding_poly,omitempty"` - // The location information for the detected entity. Multiple - // `LocationInfo` elements can be present because one location may - // indicate the location of the scene in the image, and another location - // may indicate the location of the place where the image was taken. - // Location information is usually present for landmarks. - Locations []*LocationInfo `protobuf:"bytes,8,rep,name=locations,proto3" json:"locations,omitempty"` - // Some entities may have optional user-supplied `Property` (name/value) - // fields, such a score or string that qualifies the entity. - Properties []*Property `protobuf:"bytes,9,rep,name=properties,proto3" json:"properties,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_49e74116a4d6fd69, []int{6} -} - -func (m *EntityAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EntityAnnotation.Unmarshal(m, b) -} -func (m *EntityAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EntityAnnotation.Marshal(b, m, deterministic) -} -func (m *EntityAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_EntityAnnotation.Merge(m, src) -} -func (m *EntityAnnotation) XXX_Size() int { - return xxx_messageInfo_EntityAnnotation.Size(m) -} -func (m *EntityAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_EntityAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_EntityAnnotation proto.InternalMessageInfo - -func (m *EntityAnnotation) GetMid() string { - if m != nil { - return m.Mid - } - return "" -} - -func (m *EntityAnnotation) GetLocale() string { - if m != nil { - return m.Locale - } - return "" -} - -func (m *EntityAnnotation) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *EntityAnnotation) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -// Deprecated: Do not use. -func (m *EntityAnnotation) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -func (m *EntityAnnotation) GetTopicality() float32 { - if m != nil { - return m.Topicality - } - return 0 -} - -func (m *EntityAnnotation) GetBoundingPoly() *BoundingPoly { - if m != nil { - return m.BoundingPoly - } - return nil -} - -func (m *EntityAnnotation) GetLocations() []*LocationInfo { - if m != nil { - return m.Locations - } - return nil -} - -func (m *EntityAnnotation) GetProperties() []*Property { - if m != nil { - return m.Properties - } - 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_49e74116a4d6fd69, []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 (m *LocalizedObjectAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocalizedObjectAnnotation.Merge(m, 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). -type SafeSearchAnnotation struct { - // Represents the adult content likelihood for the image. Adult content may - // contain elements such as nudity, pornographic images or cartoons, or - // sexual activities. - Adult Likelihood `protobuf:"varint,1,opt,name=adult,proto3,enum=google.cloud.vision.v1.Likelihood" json:"adult,omitempty"` - // Spoof likelihood. The likelihood that an modification - // was made to the image's canonical version to make it appear - // funny or offensive. - Spoof Likelihood `protobuf:"varint,2,opt,name=spoof,proto3,enum=google.cloud.vision.v1.Likelihood" json:"spoof,omitempty"` - // Likelihood that this is a medical image. - Medical Likelihood `protobuf:"varint,3,opt,name=medical,proto3,enum=google.cloud.vision.v1.Likelihood" json:"medical,omitempty"` - // Likelihood that this image contains violent content. - Violence Likelihood `protobuf:"varint,4,opt,name=violence,proto3,enum=google.cloud.vision.v1.Likelihood" json:"violence,omitempty"` - // Likelihood that the request image contains racy content. Racy content may - // include (but is not limited to) skimpy or sheer clothing, strategically - // covered nudity, lewd or provocative poses, or close-ups of sensitive - // body areas. - Racy Likelihood `protobuf:"varint,9,opt,name=racy,proto3,enum=google.cloud.vision.v1.Likelihood" json:"racy,omitempty"` - // Confidence of adult_score. Range [0, 1]. 0 means not confident, 1 means - // very confident. - AdultConfidence float32 `protobuf:"fixed32,16,opt,name=adult_confidence,json=adultConfidence,proto3" json:"adult_confidence,omitempty"` - // Confidence of spoof_score. Range [0, 1]. 0 means not confident, 1 means - // very confident. - SpoofConfidence float32 `protobuf:"fixed32,18,opt,name=spoof_confidence,json=spoofConfidence,proto3" json:"spoof_confidence,omitempty"` - // Confidence of medical_score. Range [0, 1]. 0 means not confident, 1 means - // very confident. - MedicalConfidence float32 `protobuf:"fixed32,20,opt,name=medical_confidence,json=medicalConfidence,proto3" json:"medical_confidence,omitempty"` - // Confidence of violence_score. Range [0, 1]. 0 means not confident, 1 means - // very confident. - ViolenceConfidence float32 `protobuf:"fixed32,22,opt,name=violence_confidence,json=violenceConfidence,proto3" json:"violence_confidence,omitempty"` - // Confidence of racy_score. Range [0, 1]. 0 means not confident, 1 means very - // confident. - RacyConfidence float32 `protobuf:"fixed32,24,opt,name=racy_confidence,json=racyConfidence,proto3" json:"racy_confidence,omitempty"` - // Confidence of nsfw_score. Range [0, 1]. 0 means not confident, 1 means very - // confident. - NsfwConfidence float32 `protobuf:"fixed32,26,opt,name=nsfw_confidence,json=nsfwConfidence,proto3" json:"nsfw_confidence,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_49e74116a4d6fd69, []int{8} -} - -func (m *SafeSearchAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SafeSearchAnnotation.Unmarshal(m, b) -} -func (m *SafeSearchAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SafeSearchAnnotation.Marshal(b, m, deterministic) -} -func (m *SafeSearchAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_SafeSearchAnnotation.Merge(m, src) -} -func (m *SafeSearchAnnotation) XXX_Size() int { - return xxx_messageInfo_SafeSearchAnnotation.Size(m) -} -func (m *SafeSearchAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_SafeSearchAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_SafeSearchAnnotation proto.InternalMessageInfo - -func (m *SafeSearchAnnotation) GetAdult() Likelihood { - if m != nil { - return m.Adult - } - return Likelihood_UNKNOWN -} - -func (m *SafeSearchAnnotation) GetSpoof() Likelihood { - if m != nil { - return m.Spoof - } - return Likelihood_UNKNOWN -} - -func (m *SafeSearchAnnotation) GetMedical() Likelihood { - if m != nil { - return m.Medical - } - return Likelihood_UNKNOWN -} - -func (m *SafeSearchAnnotation) GetViolence() Likelihood { - if m != nil { - return m.Violence - } - return Likelihood_UNKNOWN -} - -func (m *SafeSearchAnnotation) GetRacy() Likelihood { - if m != nil { - return m.Racy - } - return Likelihood_UNKNOWN -} - -func (m *SafeSearchAnnotation) GetAdultConfidence() float32 { - if m != nil { - return m.AdultConfidence - } - return 0 -} - -func (m *SafeSearchAnnotation) GetSpoofConfidence() float32 { - if m != nil { - return m.SpoofConfidence - } - return 0 -} - -func (m *SafeSearchAnnotation) GetMedicalConfidence() float32 { - if m != nil { - return m.MedicalConfidence - } - return 0 -} - -func (m *SafeSearchAnnotation) GetViolenceConfidence() float32 { - if m != nil { - return m.ViolenceConfidence - } - return 0 -} - -func (m *SafeSearchAnnotation) GetRacyConfidence() float32 { - if m != nil { - return m.RacyConfidence - } - return 0 -} - -func (m *SafeSearchAnnotation) GetNsfwConfidence() float32 { - if m != nil { - return m.NsfwConfidence - } - return 0 -} - -// Rectangle determined by min and max `LatLng` pairs. -type LatLongRect struct { - // Min lat/long pair. - MinLatLng *latlng.LatLng `protobuf:"bytes,1,opt,name=min_lat_lng,json=minLatLng,proto3" json:"min_lat_lng,omitempty"` - // Max lat/long pair. - MaxLatLng *latlng.LatLng `protobuf:"bytes,2,opt,name=max_lat_lng,json=maxLatLng,proto3" json:"max_lat_lng,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_49e74116a4d6fd69, []int{9} -} - -func (m *LatLongRect) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LatLongRect.Unmarshal(m, b) -} -func (m *LatLongRect) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LatLongRect.Marshal(b, m, deterministic) -} -func (m *LatLongRect) XXX_Merge(src proto.Message) { - xxx_messageInfo_LatLongRect.Merge(m, src) -} -func (m *LatLongRect) XXX_Size() int { - return xxx_messageInfo_LatLongRect.Size(m) -} -func (m *LatLongRect) XXX_DiscardUnknown() { - xxx_messageInfo_LatLongRect.DiscardUnknown(m) -} - -var xxx_messageInfo_LatLongRect proto.InternalMessageInfo - -func (m *LatLongRect) GetMinLatLng() *latlng.LatLng { - if m != nil { - return m.MinLatLng - } - return nil -} - -func (m *LatLongRect) GetMaxLatLng() *latlng.LatLng { - if m != nil { - return m.MaxLatLng - } - return nil -} - -// Color information consists of RGB channels, score, and the fraction of -// the image that the color occupies in the image. -type ColorInfo struct { - // RGB components of the color. - Color *color.Color `protobuf:"bytes,1,opt,name=color,proto3" json:"color,omitempty"` - // Image-specific score for this color. Value in range [0, 1]. - Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"` - // The fraction of pixels the color occupies in the image. - // Value in range [0, 1]. - PixelFraction float32 `protobuf:"fixed32,3,opt,name=pixel_fraction,json=pixelFraction,proto3" json:"pixel_fraction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_49e74116a4d6fd69, []int{10} -} - -func (m *ColorInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ColorInfo.Unmarshal(m, b) -} -func (m *ColorInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ColorInfo.Marshal(b, m, deterministic) -} -func (m *ColorInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ColorInfo.Merge(m, src) -} -func (m *ColorInfo) XXX_Size() int { - return xxx_messageInfo_ColorInfo.Size(m) -} -func (m *ColorInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ColorInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_ColorInfo proto.InternalMessageInfo - -func (m *ColorInfo) GetColor() *color.Color { - if m != nil { - return m.Color - } - return nil -} - -func (m *ColorInfo) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -func (m *ColorInfo) GetPixelFraction() float32 { - if m != nil { - return m.PixelFraction - } - return 0 -} - -// Set of dominant colors and their corresponding scores. -type DominantColorsAnnotation struct { - // RGB color values with their score and pixel fraction. - Colors []*ColorInfo `protobuf:"bytes,1,rep,name=colors,proto3" json:"colors,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DominantColorsAnnotation) Reset() { *m = DominantColorsAnnotation{} } -func (m *DominantColorsAnnotation) String() string { return proto.CompactTextString(m) } -func (*DominantColorsAnnotation) ProtoMessage() {} -func (*DominantColorsAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_49e74116a4d6fd69, []int{11} -} - -func (m *DominantColorsAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DominantColorsAnnotation.Unmarshal(m, b) -} -func (m *DominantColorsAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DominantColorsAnnotation.Marshal(b, m, deterministic) -} -func (m *DominantColorsAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_DominantColorsAnnotation.Merge(m, src) -} -func (m *DominantColorsAnnotation) XXX_Size() int { - return xxx_messageInfo_DominantColorsAnnotation.Size(m) -} -func (m *DominantColorsAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_DominantColorsAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_DominantColorsAnnotation proto.InternalMessageInfo - -func (m *DominantColorsAnnotation) GetColors() []*ColorInfo { - if m != nil { - return m.Colors - } - return nil -} - -// Stores image properties, such as dominant colors. -type ImageProperties struct { - // If present, dominant colors completed successfully. - DominantColors *DominantColorsAnnotation `protobuf:"bytes,1,opt,name=dominant_colors,json=dominantColors,proto3" json:"dominant_colors,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_49e74116a4d6fd69, []int{12} -} - -func (m *ImageProperties) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageProperties.Unmarshal(m, b) -} -func (m *ImageProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageProperties.Marshal(b, m, deterministic) -} -func (m *ImageProperties) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageProperties.Merge(m, src) -} -func (m *ImageProperties) XXX_Size() int { - return xxx_messageInfo_ImageProperties.Size(m) -} -func (m *ImageProperties) XXX_DiscardUnknown() { - xxx_messageInfo_ImageProperties.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageProperties proto.InternalMessageInfo - -func (m *ImageProperties) GetDominantColors() *DominantColorsAnnotation { - if m != nil { - return m.DominantColors - } - return nil -} - -// Single crop hint that is used to generate a new crop when serving an image. -type CropHint struct { - // The bounding polygon for the crop region. The coordinates of the bounding - // box are in the original image's scale. - BoundingPoly *BoundingPoly `protobuf:"bytes,1,opt,name=bounding_poly,json=boundingPoly,proto3" json:"bounding_poly,omitempty"` - // Confidence of this being a salient region. Range [0, 1]. - Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"` - // Fraction of importance of this salient region with respect to the original - // image. - ImportanceFraction float32 `protobuf:"fixed32,3,opt,name=importance_fraction,json=importanceFraction,proto3" json:"importance_fraction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_49e74116a4d6fd69, []int{13} -} - -func (m *CropHint) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CropHint.Unmarshal(m, b) -} -func (m *CropHint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CropHint.Marshal(b, m, deterministic) -} -func (m *CropHint) XXX_Merge(src proto.Message) { - xxx_messageInfo_CropHint.Merge(m, src) -} -func (m *CropHint) XXX_Size() int { - return xxx_messageInfo_CropHint.Size(m) -} -func (m *CropHint) XXX_DiscardUnknown() { - xxx_messageInfo_CropHint.DiscardUnknown(m) -} - -var xxx_messageInfo_CropHint proto.InternalMessageInfo - -func (m *CropHint) GetBoundingPoly() *BoundingPoly { - if m != nil { - return m.BoundingPoly - } - return nil -} - -func (m *CropHint) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -func (m *CropHint) GetImportanceFraction() float32 { - if m != nil { - return m.ImportanceFraction - } - return 0 -} - -// Set of crop hints that are used to generate new crops when serving images. -type CropHintsAnnotation struct { - // Crop hint results. - CropHints []*CropHint `protobuf:"bytes,1,rep,name=crop_hints,json=cropHints,proto3" json:"crop_hints,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_49e74116a4d6fd69, []int{14} -} - -func (m *CropHintsAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CropHintsAnnotation.Unmarshal(m, b) -} -func (m *CropHintsAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CropHintsAnnotation.Marshal(b, m, deterministic) -} -func (m *CropHintsAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CropHintsAnnotation.Merge(m, src) -} -func (m *CropHintsAnnotation) XXX_Size() int { - return xxx_messageInfo_CropHintsAnnotation.Size(m) -} -func (m *CropHintsAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_CropHintsAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_CropHintsAnnotation proto.InternalMessageInfo - -func (m *CropHintsAnnotation) GetCropHints() []*CropHint { - if m != nil { - return m.CropHints - } - return nil -} - -// Parameters for crop hints annotation request. -type CropHintsParams struct { - // Aspect ratios in floats, representing the ratio of the width to the height - // of the image. For example, if the desired aspect ratio is 4/3, the - // corresponding float value should be 1.33333. If not specified, the - // best possible crop is returned. The number of provided aspect ratios is - // limited to a maximum of 16; any aspect ratios provided after the 16th are - // ignored. - AspectRatios []float32 `protobuf:"fixed32,1,rep,packed,name=aspect_ratios,json=aspectRatios,proto3" json:"aspect_ratios,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_49e74116a4d6fd69, []int{15} -} - -func (m *CropHintsParams) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CropHintsParams.Unmarshal(m, b) -} -func (m *CropHintsParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CropHintsParams.Marshal(b, m, deterministic) -} -func (m *CropHintsParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_CropHintsParams.Merge(m, src) -} -func (m *CropHintsParams) XXX_Size() int { - return xxx_messageInfo_CropHintsParams.Size(m) -} -func (m *CropHintsParams) XXX_DiscardUnknown() { - xxx_messageInfo_CropHintsParams.DiscardUnknown(m) -} - -var xxx_messageInfo_CropHintsParams proto.InternalMessageInfo - -func (m *CropHintsParams) GetAspectRatios() []float32 { - if m != nil { - return m.AspectRatios - } - return nil -} - -// Parameters for web detection request. -type WebDetectionParams struct { - // Whether to include results derived from the geo information in the image. - IncludeGeoResults bool `protobuf:"varint,2,opt,name=include_geo_results,json=includeGeoResults,proto3" json:"include_geo_results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_49e74116a4d6fd69, []int{16} -} - -func (m *WebDetectionParams) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebDetectionParams.Unmarshal(m, b) -} -func (m *WebDetectionParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebDetectionParams.Marshal(b, m, deterministic) -} -func (m *WebDetectionParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebDetectionParams.Merge(m, src) -} -func (m *WebDetectionParams) XXX_Size() int { - return xxx_messageInfo_WebDetectionParams.Size(m) -} -func (m *WebDetectionParams) XXX_DiscardUnknown() { - xxx_messageInfo_WebDetectionParams.DiscardUnknown(m) -} - -var xxx_messageInfo_WebDetectionParams proto.InternalMessageInfo - -func (m *WebDetectionParams) GetIncludeGeoResults() bool { - if m != nil { - return m.IncludeGeoResults - } - return false -} - -// Image context and/or feature-specific parameters. -type ImageContext struct { - // Not used. - LatLongRect *LatLongRect `protobuf:"bytes,1,opt,name=lat_long_rect,json=latLongRect,proto3" json:"lat_long_rect,omitempty"` - // List of languages to use for TEXT_DETECTION. In most cases, an empty value - // yields the best results since it enables automatic language detection. For - // languages based on the Latin alphabet, setting `language_hints` is not - // needed. In rare cases, when the language of the text in the image is known, - // setting a hint will help get better results (although it will be a - // significant hindrance if the hint is wrong). Text detection returns an - // error if one or more of the specified languages is not one of the - // [supported languages](/vision/docs/languages). - 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:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_49e74116a4d6fd69, []int{17} -} - -func (m *ImageContext) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageContext.Unmarshal(m, b) -} -func (m *ImageContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageContext.Marshal(b, m, deterministic) -} -func (m *ImageContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageContext.Merge(m, src) -} -func (m *ImageContext) XXX_Size() int { - return xxx_messageInfo_ImageContext.Size(m) -} -func (m *ImageContext) XXX_DiscardUnknown() { - xxx_messageInfo_ImageContext.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageContext proto.InternalMessageInfo - -func (m *ImageContext) GetLatLongRect() *LatLongRect { - if m != nil { - return m.LatLongRect - } - return nil -} - -func (m *ImageContext) GetLanguageHints() []string { - if m != nil { - return m.LanguageHints - } - return nil -} - -func (m *ImageContext) GetCropHintsParams() *CropHintsParams { - if m != nil { - return m.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 - } - return nil -} - -// Request for performing Google Cloud Vision API tasks over a user-provided -// image, with user-requested features, and with context information. -type AnnotateImageRequest struct { - // The image to be processed. - Image *Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` - // Requested features. - Features []*Feature `protobuf:"bytes,2,rep,name=features,proto3" json:"features,omitempty"` - // Additional context that may accompany the image. - ImageContext *ImageContext `protobuf:"bytes,3,opt,name=image_context,json=imageContext,proto3" json:"image_context,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_49e74116a4d6fd69, []int{18} -} - -func (m *AnnotateImageRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotateImageRequest.Unmarshal(m, b) -} -func (m *AnnotateImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotateImageRequest.Marshal(b, m, deterministic) -} -func (m *AnnotateImageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateImageRequest.Merge(m, src) -} -func (m *AnnotateImageRequest) XXX_Size() int { - return xxx_messageInfo_AnnotateImageRequest.Size(m) -} -func (m *AnnotateImageRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotateImageRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotateImageRequest proto.InternalMessageInfo - -func (m *AnnotateImageRequest) GetImage() *Image { - if m != nil { - return m.Image - } - return nil -} - -func (m *AnnotateImageRequest) GetFeatures() []*Feature { - if m != nil { - return m.Features - } - return nil -} - -func (m *AnnotateImageRequest) GetImageContext() *ImageContext { - if m != nil { - return m.ImageContext - } - return nil -} - -// If an image was produced from a file (e.g. a PDF), this message gives -// information about the source of that image. -type ImageAnnotationContext struct { - // The URI of the file used to produce the image. - Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` - // If the file was a PDF or TIFF, this field gives the page number within - // the file used to produce the image. - PageNumber int32 `protobuf:"varint,2,opt,name=page_number,json=pageNumber,proto3" json:"page_number,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_49e74116a4d6fd69, []int{19} -} - -func (m *ImageAnnotationContext) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageAnnotationContext.Unmarshal(m, b) -} -func (m *ImageAnnotationContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageAnnotationContext.Marshal(b, m, deterministic) -} -func (m *ImageAnnotationContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageAnnotationContext.Merge(m, src) -} -func (m *ImageAnnotationContext) XXX_Size() int { - return xxx_messageInfo_ImageAnnotationContext.Size(m) -} -func (m *ImageAnnotationContext) XXX_DiscardUnknown() { - xxx_messageInfo_ImageAnnotationContext.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageAnnotationContext proto.InternalMessageInfo - -func (m *ImageAnnotationContext) GetUri() string { - if m != nil { - return m.Uri - } - return "" -} - -func (m *ImageAnnotationContext) GetPageNumber() int32 { - if m != nil { - return m.PageNumber - } - return 0 -} - -// Response to an image annotation request. -type AnnotateImageResponse struct { - // If present, face detection has completed successfully. - FaceAnnotations []*FaceAnnotation `protobuf:"bytes,1,rep,name=face_annotations,json=faceAnnotations,proto3" json:"face_annotations,omitempty"` - // If present, landmark detection has completed successfully. - LandmarkAnnotations []*EntityAnnotation `protobuf:"bytes,2,rep,name=landmark_annotations,json=landmarkAnnotations,proto3" json:"landmark_annotations,omitempty"` - // If present, logo detection has completed successfully. - 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 - // completed successfully. - // This annotation provides the structural hierarchy for the OCR detected - // text. - FullTextAnnotation *TextAnnotation `protobuf:"bytes,12,opt,name=full_text_annotation,json=fullTextAnnotation,proto3" json:"full_text_annotation,omitempty"` - // If present, safe-search annotation has completed successfully. - SafeSearchAnnotation *SafeSearchAnnotation `protobuf:"bytes,6,opt,name=safe_search_annotation,json=safeSearchAnnotation,proto3" json:"safe_search_annotation,omitempty"` - // If present, image properties were extracted successfully. - ImagePropertiesAnnotation *ImageProperties `protobuf:"bytes,8,opt,name=image_properties_annotation,json=imagePropertiesAnnotation,proto3" json:"image_properties_annotation,omitempty"` - // If present, crop hints have completed successfully. - 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. - Error *status.Status `protobuf:"bytes,9,opt,name=error,proto3" json:"error,omitempty"` - // If present, contextual information is needed to understand where this image - // comes from. - Context *ImageAnnotationContext `protobuf:"bytes,21,opt,name=context,proto3" json:"context,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_49e74116a4d6fd69, []int{20} -} - -func (m *AnnotateImageResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotateImageResponse.Unmarshal(m, b) -} -func (m *AnnotateImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotateImageResponse.Marshal(b, m, deterministic) -} -func (m *AnnotateImageResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateImageResponse.Merge(m, src) -} -func (m *AnnotateImageResponse) XXX_Size() int { - return xxx_messageInfo_AnnotateImageResponse.Size(m) -} -func (m *AnnotateImageResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotateImageResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotateImageResponse proto.InternalMessageInfo - -func (m *AnnotateImageResponse) GetFaceAnnotations() []*FaceAnnotation { - if m != nil { - return m.FaceAnnotations - } - return nil -} - -func (m *AnnotateImageResponse) GetLandmarkAnnotations() []*EntityAnnotation { - if m != nil { - return m.LandmarkAnnotations - } - return nil -} - -func (m *AnnotateImageResponse) GetLogoAnnotations() []*EntityAnnotation { - if m != nil { - return m.LogoAnnotations - } - return nil -} - -func (m *AnnotateImageResponse) GetLabelAnnotations() []*EntityAnnotation { - if m != nil { - return m.LabelAnnotations - } - 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 - } - return nil -} - -func (m *AnnotateImageResponse) GetFullTextAnnotation() *TextAnnotation { - if m != nil { - return m.FullTextAnnotation - } - return nil -} - -func (m *AnnotateImageResponse) GetSafeSearchAnnotation() *SafeSearchAnnotation { - if m != nil { - return m.SafeSearchAnnotation - } - return nil -} - -func (m *AnnotateImageResponse) GetImagePropertiesAnnotation() *ImageProperties { - if m != nil { - return m.ImagePropertiesAnnotation - } - return nil -} - -func (m *AnnotateImageResponse) GetCropHintsAnnotation() *CropHintsAnnotation { - if m != nil { - return m.CropHintsAnnotation - } - return nil -} - -func (m *AnnotateImageResponse) GetWebDetection() *WebDetection { - if m != nil { - return m.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 - } - return nil -} - -func (m *AnnotateImageResponse) GetContext() *ImageAnnotationContext { - if m != nil { - return m.Context - } - return nil -} - -// Multiple image annotation requests are batched into a single service call. -type BatchAnnotateImagesRequest struct { - // Required. Individual image annotation requests for this batch. - Requests []*AnnotateImageRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` - // Optional. Target project and location to make a call. - // - // Format: `projects/{project-id}/locations/{location-id}`. - // - // If no parent is specified, a region will be chosen automatically. - // - // Supported location-ids: - // `us`: USA country only, - // `asia`: East asia areas, like Japan, Taiwan, - // `eu`: The European Union. - // - // Example: `projects/project-A/locations/eu`. - 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 *BatchAnnotateImagesRequest) Reset() { *m = BatchAnnotateImagesRequest{} } -func (m *BatchAnnotateImagesRequest) String() string { return proto.CompactTextString(m) } -func (*BatchAnnotateImagesRequest) ProtoMessage() {} -func (*BatchAnnotateImagesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_49e74116a4d6fd69, []int{21} -} - -func (m *BatchAnnotateImagesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchAnnotateImagesRequest.Unmarshal(m, b) -} -func (m *BatchAnnotateImagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchAnnotateImagesRequest.Marshal(b, m, deterministic) -} -func (m *BatchAnnotateImagesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchAnnotateImagesRequest.Merge(m, src) -} -func (m *BatchAnnotateImagesRequest) XXX_Size() int { - return xxx_messageInfo_BatchAnnotateImagesRequest.Size(m) -} -func (m *BatchAnnotateImagesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchAnnotateImagesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchAnnotateImagesRequest proto.InternalMessageInfo - -func (m *BatchAnnotateImagesRequest) GetRequests() []*AnnotateImageRequest { - if m != nil { - return m.Requests - } - return nil -} - -func (m *BatchAnnotateImagesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -// Response to a batch image annotation request. -type BatchAnnotateImagesResponse struct { - // Individual responses to image annotation requests within the batch. - Responses []*AnnotateImageResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchAnnotateImagesResponse) Reset() { *m = BatchAnnotateImagesResponse{} } -func (m *BatchAnnotateImagesResponse) String() string { return proto.CompactTextString(m) } -func (*BatchAnnotateImagesResponse) ProtoMessage() {} -func (*BatchAnnotateImagesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_49e74116a4d6fd69, []int{22} -} - -func (m *BatchAnnotateImagesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchAnnotateImagesResponse.Unmarshal(m, b) -} -func (m *BatchAnnotateImagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchAnnotateImagesResponse.Marshal(b, m, deterministic) -} -func (m *BatchAnnotateImagesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchAnnotateImagesResponse.Merge(m, src) -} -func (m *BatchAnnotateImagesResponse) XXX_Size() int { - return xxx_messageInfo_BatchAnnotateImagesResponse.Size(m) -} -func (m *BatchAnnotateImagesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BatchAnnotateImagesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchAnnotateImagesResponse proto.InternalMessageInfo - -func (m *BatchAnnotateImagesResponse) GetResponses() []*AnnotateImageResponse { - if m != nil { - return m.Responses - } - return nil -} - -// A request to annotate one single file, e.g. a PDF, TIFF or GIF file. -type AnnotateFileRequest struct { - // Required. Information about the input file. - InputConfig *InputConfig `protobuf:"bytes,1,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"` - // Required. Requested features. - Features []*Feature `protobuf:"bytes,2,rep,name=features,proto3" json:"features,omitempty"` - // Additional context that may accompany the image(s) in the file. - ImageContext *ImageContext `protobuf:"bytes,3,opt,name=image_context,json=imageContext,proto3" json:"image_context,omitempty"` - // Pages of the file to perform image annotation. - // - // Pages starts from 1, we assume the first page of the file is page 1. - // At most 5 pages are supported per request. Pages can be negative. - // - // Page 1 means the first page. - // Page 2 means the second page. - // Page -1 means the last page. - // Page -2 means the second to the last page. - // - // If the file is GIF instead of PDF or TIFF, page refers to GIF frames. - // - // If this field is empty, by default the service performs image annotation - // for the first 5 pages of the file. - Pages []int32 `protobuf:"varint,4,rep,packed,name=pages,proto3" json:"pages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AnnotateFileRequest) Reset() { *m = AnnotateFileRequest{} } -func (m *AnnotateFileRequest) String() string { return proto.CompactTextString(m) } -func (*AnnotateFileRequest) ProtoMessage() {} -func (*AnnotateFileRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_49e74116a4d6fd69, []int{23} -} - -func (m *AnnotateFileRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotateFileRequest.Unmarshal(m, b) -} -func (m *AnnotateFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotateFileRequest.Marshal(b, m, deterministic) -} -func (m *AnnotateFileRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateFileRequest.Merge(m, src) -} -func (m *AnnotateFileRequest) XXX_Size() int { - return xxx_messageInfo_AnnotateFileRequest.Size(m) -} -func (m *AnnotateFileRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotateFileRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotateFileRequest proto.InternalMessageInfo - -func (m *AnnotateFileRequest) GetInputConfig() *InputConfig { - if m != nil { - return m.InputConfig - } - return nil -} - -func (m *AnnotateFileRequest) GetFeatures() []*Feature { - if m != nil { - return m.Features - } - return nil -} - -func (m *AnnotateFileRequest) GetImageContext() *ImageContext { - if m != nil { - return m.ImageContext - } - return nil -} - -func (m *AnnotateFileRequest) GetPages() []int32 { - if m != nil { - return m.Pages - } - return nil -} - -// Response to a single file annotation request. A file may contain one or more -// images, which individually have their own responses. -type AnnotateFileResponse struct { - // Information about the file for which this response is generated. - InputConfig *InputConfig `protobuf:"bytes,1,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"` - // Individual responses to images found within the file. This field will be - // empty if the `error` field is set. - Responses []*AnnotateImageResponse `protobuf:"bytes,2,rep,name=responses,proto3" json:"responses,omitempty"` - // This field gives the total number of pages in the file. - TotalPages int32 `protobuf:"varint,3,opt,name=total_pages,json=totalPages,proto3" json:"total_pages,omitempty"` - // If set, represents the error message for the failed request. The - // `responses` field will not be set in this case. - Error *status.Status `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_49e74116a4d6fd69, []int{24} -} - -func (m *AnnotateFileResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotateFileResponse.Unmarshal(m, b) -} -func (m *AnnotateFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotateFileResponse.Marshal(b, m, deterministic) -} -func (m *AnnotateFileResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateFileResponse.Merge(m, src) -} -func (m *AnnotateFileResponse) XXX_Size() int { - return xxx_messageInfo_AnnotateFileResponse.Size(m) -} -func (m *AnnotateFileResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotateFileResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotateFileResponse proto.InternalMessageInfo - -func (m *AnnotateFileResponse) GetInputConfig() *InputConfig { - if m != nil { - return m.InputConfig - } - return nil -} - -func (m *AnnotateFileResponse) GetResponses() []*AnnotateImageResponse { - if m != nil { - return m.Responses - } - return nil -} - -func (m *AnnotateFileResponse) GetTotalPages() int32 { - if m != nil { - return m.TotalPages - } - return 0 -} - -func (m *AnnotateFileResponse) GetError() *status.Status { - if m != nil { - return m.Error - } - return nil -} - -// A list of requests to annotate files using the BatchAnnotateFiles API. -type BatchAnnotateFilesRequest struct { - // Required. The list of file annotation requests. Right now we support only one - // AnnotateFileRequest in BatchAnnotateFilesRequest. - Requests []*AnnotateFileRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` - // Optional. Target project and location to make a call. - // - // Format: `projects/{project-id}/locations/{location-id}`. - // - // If no parent is specified, a region will be chosen automatically. - // - // Supported location-ids: - // `us`: USA country only, - // `asia`: East asia areas, like Japan, Taiwan, - // `eu`: The European Union. - // - // Example: `projects/project-A/locations/eu`. - Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchAnnotateFilesRequest) Reset() { *m = BatchAnnotateFilesRequest{} } -func (m *BatchAnnotateFilesRequest) String() string { return proto.CompactTextString(m) } -func (*BatchAnnotateFilesRequest) ProtoMessage() {} -func (*BatchAnnotateFilesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_49e74116a4d6fd69, []int{25} -} - -func (m *BatchAnnotateFilesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchAnnotateFilesRequest.Unmarshal(m, b) -} -func (m *BatchAnnotateFilesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchAnnotateFilesRequest.Marshal(b, m, deterministic) -} -func (m *BatchAnnotateFilesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchAnnotateFilesRequest.Merge(m, src) -} -func (m *BatchAnnotateFilesRequest) XXX_Size() int { - return xxx_messageInfo_BatchAnnotateFilesRequest.Size(m) -} -func (m *BatchAnnotateFilesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchAnnotateFilesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchAnnotateFilesRequest proto.InternalMessageInfo - -func (m *BatchAnnotateFilesRequest) GetRequests() []*AnnotateFileRequest { - if m != nil { - return m.Requests - } - return nil -} - -func (m *BatchAnnotateFilesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -// A list of file annotation responses. -type BatchAnnotateFilesResponse struct { - // The list of file annotation responses, each response corresponding to each - // AnnotateFileRequest in BatchAnnotateFilesRequest. - Responses []*AnnotateFileResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchAnnotateFilesResponse) Reset() { *m = BatchAnnotateFilesResponse{} } -func (m *BatchAnnotateFilesResponse) String() string { return proto.CompactTextString(m) } -func (*BatchAnnotateFilesResponse) ProtoMessage() {} -func (*BatchAnnotateFilesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_49e74116a4d6fd69, []int{26} -} - -func (m *BatchAnnotateFilesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchAnnotateFilesResponse.Unmarshal(m, b) -} -func (m *BatchAnnotateFilesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchAnnotateFilesResponse.Marshal(b, m, deterministic) -} -func (m *BatchAnnotateFilesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchAnnotateFilesResponse.Merge(m, src) -} -func (m *BatchAnnotateFilesResponse) XXX_Size() int { - return xxx_messageInfo_BatchAnnotateFilesResponse.Size(m) -} -func (m *BatchAnnotateFilesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BatchAnnotateFilesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchAnnotateFilesResponse proto.InternalMessageInfo - -func (m *BatchAnnotateFilesResponse) GetResponses() []*AnnotateFileResponse { - if m != nil { - return m.Responses - } - return nil -} - -// An offline file annotation request. -type AsyncAnnotateFileRequest struct { - // Required. Information about the input file. - InputConfig *InputConfig `protobuf:"bytes,1,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"` - // Required. Requested features. - Features []*Feature `protobuf:"bytes,2,rep,name=features,proto3" json:"features,omitempty"` - // Additional context that may accompany the image(s) in the file. - ImageContext *ImageContext `protobuf:"bytes,3,opt,name=image_context,json=imageContext,proto3" json:"image_context,omitempty"` - // Required. The desired output location and metadata (e.g. format). - OutputConfig *OutputConfig `protobuf:"bytes,4,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 *AsyncAnnotateFileRequest) Reset() { *m = AsyncAnnotateFileRequest{} } -func (m *AsyncAnnotateFileRequest) String() string { return proto.CompactTextString(m) } -func (*AsyncAnnotateFileRequest) ProtoMessage() {} -func (*AsyncAnnotateFileRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_49e74116a4d6fd69, []int{27} -} - -func (m *AsyncAnnotateFileRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AsyncAnnotateFileRequest.Unmarshal(m, b) -} -func (m *AsyncAnnotateFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AsyncAnnotateFileRequest.Marshal(b, m, deterministic) -} -func (m *AsyncAnnotateFileRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AsyncAnnotateFileRequest.Merge(m, src) -} -func (m *AsyncAnnotateFileRequest) XXX_Size() int { - return xxx_messageInfo_AsyncAnnotateFileRequest.Size(m) -} -func (m *AsyncAnnotateFileRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AsyncAnnotateFileRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AsyncAnnotateFileRequest proto.InternalMessageInfo - -func (m *AsyncAnnotateFileRequest) GetInputConfig() *InputConfig { - if m != nil { - return m.InputConfig - } - return nil -} - -func (m *AsyncAnnotateFileRequest) GetFeatures() []*Feature { - if m != nil { - return m.Features - } - return nil -} - -func (m *AsyncAnnotateFileRequest) GetImageContext() *ImageContext { - if m != nil { - return m.ImageContext - } - return nil -} - -func (m *AsyncAnnotateFileRequest) GetOutputConfig() *OutputConfig { - if m != nil { - return m.OutputConfig - } - return nil -} - -// The response for a single offline file annotation request. -type AsyncAnnotateFileResponse struct { - // The output location and metadata from AsyncAnnotateFileRequest. - OutputConfig *OutputConfig `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 *AsyncAnnotateFileResponse) Reset() { *m = AsyncAnnotateFileResponse{} } -func (m *AsyncAnnotateFileResponse) String() string { return proto.CompactTextString(m) } -func (*AsyncAnnotateFileResponse) ProtoMessage() {} -func (*AsyncAnnotateFileResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_49e74116a4d6fd69, []int{28} -} - -func (m *AsyncAnnotateFileResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AsyncAnnotateFileResponse.Unmarshal(m, b) -} -func (m *AsyncAnnotateFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AsyncAnnotateFileResponse.Marshal(b, m, deterministic) -} -func (m *AsyncAnnotateFileResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AsyncAnnotateFileResponse.Merge(m, src) -} -func (m *AsyncAnnotateFileResponse) XXX_Size() int { - return xxx_messageInfo_AsyncAnnotateFileResponse.Size(m) -} -func (m *AsyncAnnotateFileResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AsyncAnnotateFileResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AsyncAnnotateFileResponse proto.InternalMessageInfo - -func (m *AsyncAnnotateFileResponse) GetOutputConfig() *OutputConfig { - if m != nil { - return m.OutputConfig - } - return nil -} - -// Request for async image annotation for a list of images. -type AsyncBatchAnnotateImagesRequest struct { - // Required. Individual image annotation requests for this batch. - Requests []*AnnotateImageRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` - // Required. The desired output location and metadata (e.g. format). - OutputConfig *OutputConfig `protobuf:"bytes,2,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"` - // Optional. Target project and location to make a call. - // - // Format: `projects/{project-id}/locations/{location-id}`. - // - // If no parent is specified, a region will be chosen automatically. - // - // Supported location-ids: - // `us`: USA country only, - // `asia`: East asia areas, like Japan, Taiwan, - // `eu`: The European Union. - // - // Example: `projects/project-A/locations/eu`. - 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 *AsyncBatchAnnotateImagesRequest) Reset() { *m = AsyncBatchAnnotateImagesRequest{} } -func (m *AsyncBatchAnnotateImagesRequest) String() string { return proto.CompactTextString(m) } -func (*AsyncBatchAnnotateImagesRequest) ProtoMessage() {} -func (*AsyncBatchAnnotateImagesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_49e74116a4d6fd69, []int{29} -} - -func (m *AsyncBatchAnnotateImagesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AsyncBatchAnnotateImagesRequest.Unmarshal(m, b) -} -func (m *AsyncBatchAnnotateImagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AsyncBatchAnnotateImagesRequest.Marshal(b, m, deterministic) -} -func (m *AsyncBatchAnnotateImagesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AsyncBatchAnnotateImagesRequest.Merge(m, src) -} -func (m *AsyncBatchAnnotateImagesRequest) XXX_Size() int { - return xxx_messageInfo_AsyncBatchAnnotateImagesRequest.Size(m) -} -func (m *AsyncBatchAnnotateImagesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AsyncBatchAnnotateImagesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AsyncBatchAnnotateImagesRequest proto.InternalMessageInfo - -func (m *AsyncBatchAnnotateImagesRequest) GetRequests() []*AnnotateImageRequest { - if m != nil { - return m.Requests - } - return nil -} - -func (m *AsyncBatchAnnotateImagesRequest) GetOutputConfig() *OutputConfig { - if m != nil { - return m.OutputConfig - } - return nil -} - -func (m *AsyncBatchAnnotateImagesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -// Response to an async batch image annotation request. -type AsyncBatchAnnotateImagesResponse struct { - // The output location and metadata from AsyncBatchAnnotateImagesRequest. - OutputConfig *OutputConfig `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 *AsyncBatchAnnotateImagesResponse) Reset() { *m = AsyncBatchAnnotateImagesResponse{} } -func (m *AsyncBatchAnnotateImagesResponse) String() string { return proto.CompactTextString(m) } -func (*AsyncBatchAnnotateImagesResponse) ProtoMessage() {} -func (*AsyncBatchAnnotateImagesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_49e74116a4d6fd69, []int{30} -} - -func (m *AsyncBatchAnnotateImagesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AsyncBatchAnnotateImagesResponse.Unmarshal(m, b) -} -func (m *AsyncBatchAnnotateImagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AsyncBatchAnnotateImagesResponse.Marshal(b, m, deterministic) -} -func (m *AsyncBatchAnnotateImagesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AsyncBatchAnnotateImagesResponse.Merge(m, src) -} -func (m *AsyncBatchAnnotateImagesResponse) XXX_Size() int { - return xxx_messageInfo_AsyncBatchAnnotateImagesResponse.Size(m) -} -func (m *AsyncBatchAnnotateImagesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AsyncBatchAnnotateImagesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AsyncBatchAnnotateImagesResponse proto.InternalMessageInfo - -func (m *AsyncBatchAnnotateImagesResponse) GetOutputConfig() *OutputConfig { - if m != nil { - return m.OutputConfig - } - return nil -} - -// Multiple async file annotation requests are batched into a single service -// call. -type AsyncBatchAnnotateFilesRequest struct { - // Required. Individual async file annotation requests for this batch. - Requests []*AsyncAnnotateFileRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` - // Optional. Target project and location to make a call. - // - // Format: `projects/{project-id}/locations/{location-id}`. - // - // If no parent is specified, a region will be chosen automatically. - // - // Supported location-ids: - // `us`: USA country only, - // `asia`: East asia areas, like Japan, Taiwan, - // `eu`: The European Union. - // - // Example: `projects/project-A/locations/eu`. - 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 *AsyncBatchAnnotateFilesRequest) Reset() { *m = AsyncBatchAnnotateFilesRequest{} } -func (m *AsyncBatchAnnotateFilesRequest) String() string { return proto.CompactTextString(m) } -func (*AsyncBatchAnnotateFilesRequest) ProtoMessage() {} -func (*AsyncBatchAnnotateFilesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_49e74116a4d6fd69, []int{31} -} - -func (m *AsyncBatchAnnotateFilesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AsyncBatchAnnotateFilesRequest.Unmarshal(m, b) -} -func (m *AsyncBatchAnnotateFilesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AsyncBatchAnnotateFilesRequest.Marshal(b, m, deterministic) -} -func (m *AsyncBatchAnnotateFilesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AsyncBatchAnnotateFilesRequest.Merge(m, src) -} -func (m *AsyncBatchAnnotateFilesRequest) XXX_Size() int { - return xxx_messageInfo_AsyncBatchAnnotateFilesRequest.Size(m) -} -func (m *AsyncBatchAnnotateFilesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AsyncBatchAnnotateFilesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AsyncBatchAnnotateFilesRequest proto.InternalMessageInfo - -func (m *AsyncBatchAnnotateFilesRequest) GetRequests() []*AsyncAnnotateFileRequest { - if m != nil { - return m.Requests - } - return nil -} - -func (m *AsyncBatchAnnotateFilesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -// Response to an async batch file annotation request. -type AsyncBatchAnnotateFilesResponse struct { - // The list of file annotation responses, one for each request in - // AsyncBatchAnnotateFilesRequest. - Responses []*AsyncAnnotateFileResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AsyncBatchAnnotateFilesResponse) Reset() { *m = AsyncBatchAnnotateFilesResponse{} } -func (m *AsyncBatchAnnotateFilesResponse) String() string { return proto.CompactTextString(m) } -func (*AsyncBatchAnnotateFilesResponse) ProtoMessage() {} -func (*AsyncBatchAnnotateFilesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_49e74116a4d6fd69, []int{32} -} - -func (m *AsyncBatchAnnotateFilesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AsyncBatchAnnotateFilesResponse.Unmarshal(m, b) -} -func (m *AsyncBatchAnnotateFilesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AsyncBatchAnnotateFilesResponse.Marshal(b, m, deterministic) -} -func (m *AsyncBatchAnnotateFilesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AsyncBatchAnnotateFilesResponse.Merge(m, src) -} -func (m *AsyncBatchAnnotateFilesResponse) XXX_Size() int { - return xxx_messageInfo_AsyncBatchAnnotateFilesResponse.Size(m) -} -func (m *AsyncBatchAnnotateFilesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AsyncBatchAnnotateFilesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AsyncBatchAnnotateFilesResponse proto.InternalMessageInfo - -func (m *AsyncBatchAnnotateFilesResponse) GetResponses() []*AsyncAnnotateFileResponse { - if m != nil { - return m.Responses - } - return nil -} - -// The desired input location and metadata. -type InputConfig struct { - // The Google Cloud Storage location to read the input from. - GcsSource *GcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3" json:"gcs_source,omitempty"` - // File content, represented as a stream of bytes. - // Note: As with all `bytes` fields, protobuffers use a pure binary - // representation, whereas JSON representations use base64. - // - // Currently, this field only works for BatchAnnotateFiles requests. It does - // not work for AsyncBatchAnnotateFiles requests. - Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` - // The type of the file. Currently only "application/pdf", "image/tiff" and - // "image/gif" are supported. Wildcards are not supported. - MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_49e74116a4d6fd69, []int{33} -} - -func (m *InputConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InputConfig.Unmarshal(m, b) -} -func (m *InputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InputConfig.Marshal(b, m, deterministic) -} -func (m *InputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_InputConfig.Merge(m, src) -} -func (m *InputConfig) XXX_Size() int { - return xxx_messageInfo_InputConfig.Size(m) -} -func (m *InputConfig) XXX_DiscardUnknown() { - xxx_messageInfo_InputConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_InputConfig proto.InternalMessageInfo - -func (m *InputConfig) GetGcsSource() *GcsSource { - if m != nil { - return m.GcsSource - } - return nil -} - -func (m *InputConfig) GetContent() []byte { - if m != nil { - return m.Content - } - return nil -} - -func (m *InputConfig) GetMimeType() string { - if m != nil { - return m.MimeType - } - return "" -} - -// The desired output location and metadata. -type OutputConfig struct { - // The Google Cloud Storage location to write the output(s) to. - GcsDestination *GcsDestination `protobuf:"bytes,1,opt,name=gcs_destination,json=gcsDestination,proto3" json:"gcs_destination,omitempty"` - // The max number of response protos to put into each output JSON file on - // Google Cloud Storage. - // The valid range is [1, 100]. If not specified, the default value is 20. - // - // For example, for one pdf file with 100 pages, 100 response protos will - // be generated. If `batch_size` = 20, then 5 json files each - // containing 20 response protos will be written under the prefix - // `gcs_destination`.`uri`. - // - // Currently, batch_size only applies to GcsDestination, with potential future - // support for other output configurations. - BatchSize int32 `protobuf:"varint,2,opt,name=batch_size,json=batchSize,proto3" json:"batch_size,omitempty"` - 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_49e74116a4d6fd69, []int{34} -} - -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 (m *OutputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_OutputConfig.Merge(m, 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 - -func (m *OutputConfig) GetGcsDestination() *GcsDestination { - if m != nil { - return m.GcsDestination - } - return nil -} - -func (m *OutputConfig) GetBatchSize() int32 { - if m != nil { - return m.BatchSize - } - return 0 -} - -// The Google Cloud Storage location where the input will be read from. -type GcsSource struct { - // Google Cloud Storage URI for the input file. This must only be a - // Google Cloud Storage object. Wildcards are not currently supported. - 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 *GcsSource) Reset() { *m = GcsSource{} } -func (m *GcsSource) String() string { return proto.CompactTextString(m) } -func (*GcsSource) ProtoMessage() {} -func (*GcsSource) Descriptor() ([]byte, []int) { - return fileDescriptor_49e74116a4d6fd69, []int{35} -} - -func (m *GcsSource) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GcsSource.Unmarshal(m, b) -} -func (m *GcsSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GcsSource.Marshal(b, m, deterministic) -} -func (m *GcsSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcsSource.Merge(m, src) -} -func (m *GcsSource) XXX_Size() int { - return xxx_messageInfo_GcsSource.Size(m) -} -func (m *GcsSource) XXX_DiscardUnknown() { - xxx_messageInfo_GcsSource.DiscardUnknown(m) -} - -var xxx_messageInfo_GcsSource proto.InternalMessageInfo - -func (m *GcsSource) GetUri() string { - if m != nil { - return m.Uri - } - return "" -} - -// The Google Cloud Storage location where the output will be written to. -type GcsDestination struct { - // Google Cloud Storage URI prefix where the results will be stored. Results - // will be in JSON format and preceded by its corresponding input URI prefix. - // This field can either represent a gcs file prefix or gcs directory. In - // either case, the uri should be unique because in order to get all of the - // output files, you will need to do a wildcard gcs search on the uri prefix - // you provide. - // - // Examples: - // - // * File Prefix: gs://bucket-name/here/filenameprefix The output files - // will be created in gs://bucket-name/here/ and the names of the - // output files will begin with "filenameprefix". - // - // * Directory Prefix: gs://bucket-name/some/location/ The output files - // will be created in gs://bucket-name/some/location/ and the names of the - // output files could be anything because there was no filename prefix - // specified. - // - // If multiple outputs, each response is still AnnotateFileResponse, each of - // which contains some subset of the full list of AnnotateImageResponse. - // Multiple outputs can happen if, for example, the output JSON is too large - // and overflows into multiple sharded files. - 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_49e74116a4d6fd69, []int{36} -} - -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 (m *GcsDestination) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcsDestination.Merge(m, 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 "" -} - -// Contains metadata for the BatchAnnotateImages operation. -type OperationMetadata struct { - // Current state of the batch operation. - State OperationMetadata_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.vision.v1.OperationMetadata_State" json:"state,omitempty"` - // The time when the batch request was received. - CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // The time when the operation result was last updated. - UpdateTime *timestamp.Timestamp `protobuf:"bytes,6,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 *OperationMetadata) Reset() { *m = OperationMetadata{} } -func (m *OperationMetadata) String() string { return proto.CompactTextString(m) } -func (*OperationMetadata) ProtoMessage() {} -func (*OperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_49e74116a4d6fd69, []int{37} -} - -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 (m *OperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperationMetadata.Merge(m, 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) GetState() OperationMetadata_State { - if m != nil { - return m.State - } - return OperationMetadata_STATE_UNSPECIFIED -} - -func (m *OperationMetadata) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *OperationMetadata) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.vision.v1.Likelihood", Likelihood_name, Likelihood_value) - proto.RegisterEnum("google.cloud.vision.v1.Feature_Type", Feature_Type_name, Feature_Type_value) - proto.RegisterEnum("google.cloud.vision.v1.FaceAnnotation_Landmark_Type", FaceAnnotation_Landmark_Type_name, FaceAnnotation_Landmark_Type_value) - proto.RegisterEnum("google.cloud.vision.v1.OperationMetadata_State", OperationMetadata_State_name, OperationMetadata_State_value) - proto.RegisterType((*Feature)(nil), "google.cloud.vision.v1.Feature") - proto.RegisterType((*ImageSource)(nil), "google.cloud.vision.v1.ImageSource") - proto.RegisterType((*Image)(nil), "google.cloud.vision.v1.Image") - proto.RegisterType((*FaceAnnotation)(nil), "google.cloud.vision.v1.FaceAnnotation") - proto.RegisterType((*FaceAnnotation_Landmark)(nil), "google.cloud.vision.v1.FaceAnnotation.Landmark") - 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") - proto.RegisterType((*DominantColorsAnnotation)(nil), "google.cloud.vision.v1.DominantColorsAnnotation") - proto.RegisterType((*ImageProperties)(nil), "google.cloud.vision.v1.ImageProperties") - proto.RegisterType((*CropHint)(nil), "google.cloud.vision.v1.CropHint") - proto.RegisterType((*CropHintsAnnotation)(nil), "google.cloud.vision.v1.CropHintsAnnotation") - proto.RegisterType((*CropHintsParams)(nil), "google.cloud.vision.v1.CropHintsParams") - proto.RegisterType((*WebDetectionParams)(nil), "google.cloud.vision.v1.WebDetectionParams") - proto.RegisterType((*ImageContext)(nil), "google.cloud.vision.v1.ImageContext") - proto.RegisterType((*AnnotateImageRequest)(nil), "google.cloud.vision.v1.AnnotateImageRequest") - proto.RegisterType((*ImageAnnotationContext)(nil), "google.cloud.vision.v1.ImageAnnotationContext") - proto.RegisterType((*AnnotateImageResponse)(nil), "google.cloud.vision.v1.AnnotateImageResponse") - proto.RegisterType((*BatchAnnotateImagesRequest)(nil), "google.cloud.vision.v1.BatchAnnotateImagesRequest") - proto.RegisterType((*BatchAnnotateImagesResponse)(nil), "google.cloud.vision.v1.BatchAnnotateImagesResponse") - proto.RegisterType((*AnnotateFileRequest)(nil), "google.cloud.vision.v1.AnnotateFileRequest") - proto.RegisterType((*AnnotateFileResponse)(nil), "google.cloud.vision.v1.AnnotateFileResponse") - proto.RegisterType((*BatchAnnotateFilesRequest)(nil), "google.cloud.vision.v1.BatchAnnotateFilesRequest") - proto.RegisterType((*BatchAnnotateFilesResponse)(nil), "google.cloud.vision.v1.BatchAnnotateFilesResponse") - proto.RegisterType((*AsyncAnnotateFileRequest)(nil), "google.cloud.vision.v1.AsyncAnnotateFileRequest") - proto.RegisterType((*AsyncAnnotateFileResponse)(nil), "google.cloud.vision.v1.AsyncAnnotateFileResponse") - proto.RegisterType((*AsyncBatchAnnotateImagesRequest)(nil), "google.cloud.vision.v1.AsyncBatchAnnotateImagesRequest") - proto.RegisterType((*AsyncBatchAnnotateImagesResponse)(nil), "google.cloud.vision.v1.AsyncBatchAnnotateImagesResponse") - proto.RegisterType((*AsyncBatchAnnotateFilesRequest)(nil), "google.cloud.vision.v1.AsyncBatchAnnotateFilesRequest") - proto.RegisterType((*AsyncBatchAnnotateFilesResponse)(nil), "google.cloud.vision.v1.AsyncBatchAnnotateFilesResponse") - proto.RegisterType((*InputConfig)(nil), "google.cloud.vision.v1.InputConfig") - proto.RegisterType((*OutputConfig)(nil), "google.cloud.vision.v1.OutputConfig") - proto.RegisterType((*GcsSource)(nil), "google.cloud.vision.v1.GcsSource") - proto.RegisterType((*GcsDestination)(nil), "google.cloud.vision.v1.GcsDestination") - proto.RegisterType((*OperationMetadata)(nil), "google.cloud.vision.v1.OperationMetadata") -} - -func init() { - proto.RegisterFile("google/cloud/vision/v1/image_annotator.proto", fileDescriptor_49e74116a4d6fd69) -} - -var fileDescriptor_49e74116a4d6fd69 = []byte{ - // 3561 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x5a, 0xcb, 0x6f, 0x23, 0x47, - 0x7a, 0x37, 0x49, 0x3d, 0xc8, 0x8f, 0x94, 0xd4, 0x2a, 0x4a, 0x32, 0x47, 0x33, 0xe3, 0x91, 0xd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 0x68, 0x39, 0xa6, 0x3d, - 0xec, 0x12, 0xbd, 0x4f, 0xdc, 0xc4, 0x0d, 0x51, 0x16, 0xaf, 0x0b, 0xd6, 0x11, 0x71, 0xc5, 0x45, - 0x91, 0xfa, 0x93, 0x0c, 0x14, 0xd8, 0x69, 0x57, 0x5d, 0x27, 0x24, 0x17, 0x21, 0x3a, 0xa2, 0x65, - 0x22, 0xd4, 0x6d, 0xd7, 0xe9, 0xeb, 0x3e, 0x31, 0x43, 0x71, 0x04, 0x33, 0x6f, 0x24, 0xa4, 0x70, - 0xc3, 0x79, 0x5b, 0x8a, 0xbd, 0x37, 0x61, 0x35, 0xae, 0x37, 0xdc, 0x38, 0xe9, 0x9d, 0xcc, 0xfd, - 0x1c, 0x8e, 0xab, 0x10, 0xdb, 0x31, 0x6a, 0xc3, 0xfa, 0xc8, 0x7e, 0xba, 0xc7, 0x76, 0x21, 0xde, - 0x33, 0xde, 0xba, 0xce, 0x8c, 0xc2, 0x5e, 0x78, 0xcd, 0x1c, 0x33, 0xa0, 0x0e, 0x9b, 0xc9, 0xbb, - 0xc8, 0x08, 0x98, 0x17, 0xa9, 0xb7, 0xaf, 0x28, 0xb4, 0x54, 0x89, 0x17, 0x22, 0x01, 0x5e, 0xf4, - 0x26, 0x89, 0xe8, 0x87, 0xb0, 0x91, 0xb8, 0x91, 0x8c, 0xf0, 0x97, 0x18, 0xfe, 0x83, 0x59, 0xf8, - 0x93, 0x07, 0x86, 0xd1, 0xf9, 0x04, 0x4d, 0xfd, 0x59, 0x0a, 0x36, 0x84, 0x8b, 0x11, 0x76, 0x38, - 0x98, 0xfc, 0xf6, 0x90, 0x04, 0x34, 0x9f, 0x2d, 0xb2, 0x6b, 0x25, 0x71, 0x28, 0x77, 0xaf, 0xbc, - 0x26, 0xc2, 0x5c, 0x16, 0x7d, 0x04, 0xd9, 0x1e, 0xbf, 0x42, 0xe4, 0x47, 0x90, 0xdf, 0xbb, 0x77, - 0xcd, 0x55, 0x23, 0x8e,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 0xc4, 0xf9, 0x64, 0xfb, 0x3f, - 0x82, 0x6d, 0xd3, 0x1d, 0xcc, 0x38, 0xba, 0xfd, 0x62, 0x32, 0x25, 0xb7, 0x68, 0xf5, 0x69, 0xa5, - 0x3e, 0x7d, 0x22, 0xc4, 0xfb, 0xae, 0x6d, 0x38, 0xfd, 0x5d, 0xd7, 0xef, 0x97, 0xfb, 0xc4, 0x61, - 0xb5, 0xa9, 0x3c, 0x9a, 0x71, 0xfc, 0xf3, 0xdb, 0x8f, 0xf8, 0xd3, 0x7f, 0xa5, 0x52, 0x7f, 0x99, - 0x5e, 0x38, 0xaa, 0x7e, 0xd2, 0x38, 0x5b, 0x62, 0x2a, 0xef, 0xfe, 0x4f, 0x00, 0x00, 0x00, 0xff, - 0xff, 0x23, 0xe1, 0xe6, 0xad, 0xd0, 0x2c, 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 - -// ImageAnnotatorClient is the client API for ImageAnnotator service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ImageAnnotatorClient interface { - // Run image detection and annotation for a batch of images. - BatchAnnotateImages(ctx context.Context, in *BatchAnnotateImagesRequest, opts ...grpc.CallOption) (*BatchAnnotateImagesResponse, error) - // Service that performs image detection and annotation for a batch of files. - // Now only "application/pdf", "image/tiff" and "image/gif" are supported. - // - // This service will extract at most 5 (customers can specify which 5 in - // AnnotateFileRequest.pages) frames (gif) or pages (pdf or tiff) from each - // file provided and perform detection and annotation for each image - // extracted. - BatchAnnotateFiles(ctx context.Context, in *BatchAnnotateFilesRequest, opts ...grpc.CallOption) (*BatchAnnotateFilesResponse, error) - // Run asynchronous image detection and annotation for a list of images. - // - // Progress and results can be retrieved through the - // `google.longrunning.Operations` interface. - // `Operation.metadata` contains `OperationMetadata` (metadata). - // `Operation.response` contains `AsyncBatchAnnotateImagesResponse` (results). - // - // This service will write image annotation outputs to json files in customer - // GCS bucket, each json file containing BatchAnnotateImagesResponse proto. - AsyncBatchAnnotateImages(ctx context.Context, in *AsyncBatchAnnotateImagesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Run asynchronous image detection and annotation for a list of generic - // files, such as PDF files, which may contain multiple pages and multiple - // images per page. Progress and results can be retrieved through the - // `google.longrunning.Operations` interface. - // `Operation.metadata` contains `OperationMetadata` (metadata). - // `Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results). - AsyncBatchAnnotateFiles(ctx context.Context, in *AsyncBatchAnnotateFilesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) -} - -type imageAnnotatorClient struct { - cc *grpc.ClientConn -} - -func NewImageAnnotatorClient(cc *grpc.ClientConn) ImageAnnotatorClient { - return &imageAnnotatorClient{cc} -} - -func (c *imageAnnotatorClient) BatchAnnotateImages(ctx context.Context, in *BatchAnnotateImagesRequest, opts ...grpc.CallOption) (*BatchAnnotateImagesResponse, error) { - out := new(BatchAnnotateImagesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ImageAnnotator/BatchAnnotateImages", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *imageAnnotatorClient) BatchAnnotateFiles(ctx context.Context, in *BatchAnnotateFilesRequest, opts ...grpc.CallOption) (*BatchAnnotateFilesResponse, error) { - out := new(BatchAnnotateFilesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ImageAnnotator/BatchAnnotateFiles", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *imageAnnotatorClient) AsyncBatchAnnotateImages(ctx context.Context, in *AsyncBatchAnnotateImagesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ImageAnnotator/AsyncBatchAnnotateImages", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *imageAnnotatorClient) AsyncBatchAnnotateFiles(ctx context.Context, in *AsyncBatchAnnotateFilesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ImageAnnotator/AsyncBatchAnnotateFiles", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ImageAnnotatorServer is the server API for ImageAnnotator service. -type ImageAnnotatorServer interface { - // Run image detection and annotation for a batch of images. - BatchAnnotateImages(context.Context, *BatchAnnotateImagesRequest) (*BatchAnnotateImagesResponse, error) - // Service that performs image detection and annotation for a batch of files. - // Now only "application/pdf", "image/tiff" and "image/gif" are supported. - // - // This service will extract at most 5 (customers can specify which 5 in - // AnnotateFileRequest.pages) frames (gif) or pages (pdf or tiff) from each - // file provided and perform detection and annotation for each image - // extracted. - BatchAnnotateFiles(context.Context, *BatchAnnotateFilesRequest) (*BatchAnnotateFilesResponse, error) - // Run asynchronous image detection and annotation for a list of images. - // - // Progress and results can be retrieved through the - // `google.longrunning.Operations` interface. - // `Operation.metadata` contains `OperationMetadata` (metadata). - // `Operation.response` contains `AsyncBatchAnnotateImagesResponse` (results). - // - // This service will write image annotation outputs to json files in customer - // GCS bucket, each json file containing BatchAnnotateImagesResponse proto. - AsyncBatchAnnotateImages(context.Context, *AsyncBatchAnnotateImagesRequest) (*longrunning.Operation, error) - // Run asynchronous image detection and annotation for a list of generic - // files, such as PDF files, which may contain multiple pages and multiple - // images per page. Progress and results can be retrieved through the - // `google.longrunning.Operations` interface. - // `Operation.metadata` contains `OperationMetadata` (metadata). - // `Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results). - AsyncBatchAnnotateFiles(context.Context, *AsyncBatchAnnotateFilesRequest) (*longrunning.Operation, error) -} - -// UnimplementedImageAnnotatorServer can be embedded to have forward compatible implementations. -type UnimplementedImageAnnotatorServer struct { -} - -func (*UnimplementedImageAnnotatorServer) BatchAnnotateImages(ctx context.Context, req *BatchAnnotateImagesRequest) (*BatchAnnotateImagesResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method BatchAnnotateImages not implemented") -} -func (*UnimplementedImageAnnotatorServer) BatchAnnotateFiles(ctx context.Context, req *BatchAnnotateFilesRequest) (*BatchAnnotateFilesResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method BatchAnnotateFiles not implemented") -} -func (*UnimplementedImageAnnotatorServer) AsyncBatchAnnotateImages(ctx context.Context, req *AsyncBatchAnnotateImagesRequest) (*longrunning.Operation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method AsyncBatchAnnotateImages not implemented") -} -func (*UnimplementedImageAnnotatorServer) AsyncBatchAnnotateFiles(ctx context.Context, req *AsyncBatchAnnotateFilesRequest) (*longrunning.Operation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method AsyncBatchAnnotateFiles not implemented") -} - -func RegisterImageAnnotatorServer(s *grpc.Server, srv ImageAnnotatorServer) { - s.RegisterService(&_ImageAnnotator_serviceDesc, srv) -} - -func _ImageAnnotator_BatchAnnotateImages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchAnnotateImagesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ImageAnnotatorServer).BatchAnnotateImages(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.vision.v1.ImageAnnotator/BatchAnnotateImages", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ImageAnnotatorServer).BatchAnnotateImages(ctx, req.(*BatchAnnotateImagesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ImageAnnotator_BatchAnnotateFiles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchAnnotateFilesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ImageAnnotatorServer).BatchAnnotateFiles(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.vision.v1.ImageAnnotator/BatchAnnotateFiles", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ImageAnnotatorServer).BatchAnnotateFiles(ctx, req.(*BatchAnnotateFilesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ImageAnnotator_AsyncBatchAnnotateImages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AsyncBatchAnnotateImagesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ImageAnnotatorServer).AsyncBatchAnnotateImages(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.vision.v1.ImageAnnotator/AsyncBatchAnnotateImages", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ImageAnnotatorServer).AsyncBatchAnnotateImages(ctx, req.(*AsyncBatchAnnotateImagesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ImageAnnotator_AsyncBatchAnnotateFiles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AsyncBatchAnnotateFilesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ImageAnnotatorServer).AsyncBatchAnnotateFiles(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.vision.v1.ImageAnnotator/AsyncBatchAnnotateFiles", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ImageAnnotatorServer).AsyncBatchAnnotateFiles(ctx, req.(*AsyncBatchAnnotateFilesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ImageAnnotator_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.vision.v1.ImageAnnotator", - HandlerType: (*ImageAnnotatorServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "BatchAnnotateImages", - Handler: _ImageAnnotator_BatchAnnotateImages_Handler, - }, - { - MethodName: "BatchAnnotateFiles", - Handler: _ImageAnnotator_BatchAnnotateFiles_Handler, - }, - { - MethodName: "AsyncBatchAnnotateImages", - Handler: _ImageAnnotator_AsyncBatchAnnotateImages_Handler, - }, - { - MethodName: "AsyncBatchAnnotateFiles", - Handler: _ImageAnnotator_AsyncBatchAnnotateFiles_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/vision/v1/image_annotator.proto", -} 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 deleted file mode 100644 index 04572cb8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/product_search.pb.go +++ /dev/null @@ -1,418 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/vision/v1/product_search.proto - -package vision - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // 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-v2", "apparel-v2", "toys-v2", - // "packagedgoods-v1", or "general-v1" should be specified. The legacy - // categories "homegoods", "apparel", and "toys" are still supported but will - // be deprecated. For new products, please use "homegoods-v2", "apparel-v2", - // or "toys-v2" for better product search accuracy. It is recommended to - // migrate existing products to these categories as well. - 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. An - // '=' should be used to connect the key and value. - // - // For example, "(color = red OR color = blue) AND brand = Google" is - // acceptable, but "(color = red OR brand = Google)" is not acceptable. - // "color: red" is not acceptable because it uses a ':' instead of an '='. - 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_4fdf2c80d2106c63, []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 (m *ProductSearchParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductSearchParams.Merge(m, 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. Products added to the - // product set and products removed from the product set 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_4fdf2c80d2106c63, []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 (m *ProductSearchResults) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductSearchResults.Merge(m, 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_4fdf2c80d2106c63, []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 (m *ProductSearchResults_Result) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductSearchResults_Result.Merge(m, 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 "" -} - -// Prediction for what the object in the bounding box is. -type ProductSearchResults_ObjectAnnotation 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ProductSearchResults_ObjectAnnotation) Reset() { *m = ProductSearchResults_ObjectAnnotation{} } -func (m *ProductSearchResults_ObjectAnnotation) String() string { return proto.CompactTextString(m) } -func (*ProductSearchResults_ObjectAnnotation) ProtoMessage() {} -func (*ProductSearchResults_ObjectAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_4fdf2c80d2106c63, []int{1, 1} -} - -func (m *ProductSearchResults_ObjectAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProductSearchResults_ObjectAnnotation.Unmarshal(m, b) -} -func (m *ProductSearchResults_ObjectAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProductSearchResults_ObjectAnnotation.Marshal(b, m, deterministic) -} -func (m *ProductSearchResults_ObjectAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductSearchResults_ObjectAnnotation.Merge(m, src) -} -func (m *ProductSearchResults_ObjectAnnotation) XXX_Size() int { - return xxx_messageInfo_ProductSearchResults_ObjectAnnotation.Size(m) -} -func (m *ProductSearchResults_ObjectAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_ProductSearchResults_ObjectAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_ProductSearchResults_ObjectAnnotation proto.InternalMessageInfo - -func (m *ProductSearchResults_ObjectAnnotation) GetMid() string { - if m != nil { - return m.Mid - } - return "" -} - -func (m *ProductSearchResults_ObjectAnnotation) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *ProductSearchResults_ObjectAnnotation) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ProductSearchResults_ObjectAnnotation) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -// 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"` - // List of generic predictions for the object in the bounding box. - ObjectAnnotations []*ProductSearchResults_ObjectAnnotation `protobuf:"bytes,3,rep,name=object_annotations,json=objectAnnotations,proto3" json:"object_annotations,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_4fdf2c80d2106c63, []int{1, 2} -} - -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 (m *ProductSearchResults_GroupedResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductSearchResults_GroupedResult.Merge(m, 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 (m *ProductSearchResults_GroupedResult) GetObjectAnnotations() []*ProductSearchResults_ObjectAnnotation { - if m != nil { - return m.ObjectAnnotations - } - 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_ObjectAnnotation)(nil), "google.cloud.vision.v1.ProductSearchResults.ObjectAnnotation") - proto.RegisterType((*ProductSearchResults_GroupedResult)(nil), "google.cloud.vision.v1.ProductSearchResults.GroupedResult") -} - -func init() { - proto.RegisterFile("google/cloud/vision/v1/product_search.proto", fileDescriptor_4fdf2c80d2106c63) -} - -var fileDescriptor_4fdf2c80d2106c63 = []byte{ - // 594 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x94, 0x4d, 0x6f, 0xd4, 0x3c, - 0x10, 0xc7, 0x95, 0xdd, 0x36, 0x7d, 0xe2, 0xb6, 0x52, 0xeb, 0xa7, 0x94, 0x10, 0x21, 0x75, 0x55, - 0xa8, 0xb4, 0x12, 0x22, 0x51, 0xdb, 0x53, 0x79, 0x39, 0x74, 0x2b, 0x51, 0x71, 0x00, 0x56, 0x06, - 0x71, 0xe0, 0x12, 0x79, 0x13, 0xd7, 0x18, 0x25, 0x99, 0xc8, 0x76, 0x56, 0x94, 0xcf, 0x81, 0xc4, - 0x9d, 0x2f, 0xc8, 0x15, 0x71, 0x42, 0xb1, 0x9d, 0xed, 0x6e, 0x69, 0x05, 0x45, 0x9c, 0x32, 0x63, - 0xff, 0xe7, 0x37, 0x9e, 0xc9, 0xd8, 0xe8, 0x01, 0x07, 0xe0, 0x05, 0x4b, 0xb2, 0x02, 0x9a, 0x3c, - 0x99, 0x0a, 0x25, 0xa0, 0x4a, 0xa6, 0xfb, 0x49, 0x2d, 0x21, 0x6f, 0x32, 0x9d, 0x2a, 0x46, 0x65, - 0xf6, 0x3e, 0xae, 0x25, 0x68, 0xc0, 0xdb, 0x56, 0x1c, 0x1b, 0x71, 0x6c, 0xc5, 0xf1, 0x74, 0x3f, - 0xda, 0xbb, 0x06, 0xc2, 0x19, 0x94, 0x4c, 0xcb, 0x73, 0x1b, 0x1e, 0x1d, 0xfe, 0x51, 0xae, 0x54, - 0x31, 0x39, 0x15, 0x19, 0x73, 0x41, 0x3b, 0x2e, 0xc8, 0x78, 0x93, 0xe6, 0x2c, 0xd1, 0xa2, 0x64, - 0x4a, 0xd3, 0xb2, 0x76, 0x82, 0xbb, 0x4e, 0x40,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0x6b, 0xb0, 0x23, 0xbc, 0xf8, 0x46, 0xb4, 0x97, 0x61, 0xec, 0xbd, 0x7b, - 0xe2, 0xd4, 0x1c, 0xda, 0xdf, 0x11, 0x83, 0xe4, 0x09, 0x67, 0x95, 0xb9, 0x2a, 0xc9, 0xc5, 0x9d, - 0xbe, 0xfc, 0xd4, 0x3d, 0xb6, 0xd6, 0x77, 0xcf, 0xfb, 0xda, 0x5b, 0x3a, 0x3d, 0x79, 0xfb, 0x72, - 0xe2, 0x9b, 0x90, 0xc3, 0x9f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x17, 0x28, 0x07, 0x76, 0x88, 0x05, - 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 deleted file mode 100644 index ae5fe8f8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/product_search_service.pb.go +++ /dev/null @@ -1,3251 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/vision/v1/product_search_service.proto - -package vision - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // 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_7cf22baa8e45dc96, []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"` - // Immutable. The category for the product identified by the reference image. This should - // be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories - // "homegoods", "apparel", and "toys" are still supported, but these should - // not be used for new products. - 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 - // 500 product_labels. - // - // Notice that the total number of distinct product_labels over all products - // in one ProductSet cannot exceed 1M, otherwise the product search pipeline - // will refuse to work for that ProductSet. - 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_7cf22baa8e45dc96, []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 (m *Product) XXX_Merge(src proto.Message) { - xxx_messageInfo_Product.Merge(m, 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_7cf22baa8e45dc96, []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 (m *Product_KeyValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_Product_KeyValue.Merge(m, 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 timestamp is the default value - // "1970-01-01T00:00:00Z". - // - // 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_7cf22baa8e45dc96, []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 (m *ProductSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductSet.Merge(m, 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"` - // Required. The Google Cloud Storage URI of the reference image. - // - // The URI must start with `gs://`. - Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` - // Optional. Bounding polygons around the areas of interest in the reference image. - // 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_7cf22baa8e45dc96, []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 (m *ReferenceImage) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReferenceImage.Merge(m, 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 { - // Required. 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"` - // Required. 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_7cf22baa8e45dc96, []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 (m *CreateProductRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateProductRequest.Merge(m, 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 { - // Required. 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_7cf22baa8e45dc96, []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 (m *ListProductsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListProductsRequest.Merge(m, 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_7cf22baa8e45dc96, []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 (m *ListProductsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListProductsResponse.Merge(m, 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 { - // Required. 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_7cf22baa8e45dc96, []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 (m *GetProductRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetProductRequest.Merge(m, 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 { - // Required. 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_7cf22baa8e45dc96, []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 (m *UpdateProductRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateProductRequest.Merge(m, 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 { - // Required. 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_7cf22baa8e45dc96, []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 (m *DeleteProductRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteProductRequest.Merge(m, 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 { - // Required. 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"` - // Required. 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_7cf22baa8e45dc96, []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 (m *CreateProductSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateProductSetRequest.Merge(m, 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 { - // Required. 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_7cf22baa8e45dc96, []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 (m *ListProductSetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListProductSetsRequest.Merge(m, 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_7cf22baa8e45dc96, []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 (m *ListProductSetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListProductSetsResponse.Merge(m, 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 { - // Required. 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_7cf22baa8e45dc96, []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 (m *GetProductSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetProductSetRequest.Merge(m, 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 { - // Required. 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_7cf22baa8e45dc96, []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 (m *UpdateProductSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateProductSetRequest.Merge(m, 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 { - // Required. 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_7cf22baa8e45dc96, []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 (m *DeleteProductSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteProductSetRequest.Merge(m, 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 { - // Required. 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"` - // Required. 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_7cf22baa8e45dc96, []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 (m *CreateReferenceImageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateReferenceImageRequest.Merge(m, 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 { - // Required. 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_7cf22baa8e45dc96, []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 (m *ListReferenceImagesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListReferenceImagesRequest.Merge(m, 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_7cf22baa8e45dc96, []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 (m *ListReferenceImagesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListReferenceImagesResponse.Merge(m, 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 { - // Required. 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_7cf22baa8e45dc96, []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 (m *GetReferenceImageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetReferenceImageRequest.Merge(m, 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 { - // Required. 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_7cf22baa8e45dc96, []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 (m *DeleteReferenceImageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteReferenceImageRequest.Merge(m, 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 { - // Required. 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"` - // Required. 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_7cf22baa8e45dc96, []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 (m *AddProductToProductSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddProductToProductSetRequest.Merge(m, 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 { - // Required. 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"` - // Required. 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_7cf22baa8e45dc96, []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 (m *RemoveProductFromProductSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveProductFromProductSetRequest.Merge(m, 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 { - // Required. 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_7cf22baa8e45dc96, []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 (m *ListProductsInProductSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListProductsInProductSetRequest.Merge(m, 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_7cf22baa8e45dc96, []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 (m *ListProductsInProductSetResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListProductsInProductSetResponse.Merge(m, 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_7cf22baa8e45dc96, []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 (m *ImportProductSetsGcsSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportProductSetsGcsSource.Merge(m, 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_7cf22baa8e45dc96, []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 (m *ImportProductSetsInputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportProductSetsInputConfig.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*ImportProductSetsInputConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ImportProductSetsInputConfig_GcsSource)(nil), - } -} - -// Request message for the `ImportProductSets` method. -type ImportProductSetsRequest struct { - // Required. 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"` - // Required. 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_7cf22baa8e45dc96, []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 (m *ImportProductSetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportProductSetsRequest.Merge(m, 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_7cf22baa8e45dc96, []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 (m *ImportProductSetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportProductSetsResponse.Merge(m, 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_7cf22baa8e45dc96, []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 (m *BatchOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchOperationMetadata.Merge(m, 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 -} - -// Config to control which ProductSet contains the Products to be deleted. -type ProductSetPurgeConfig struct { - // The ProductSet that contains the Products to delete. If a Product is a - // member of product_set_id in addition to other ProductSets, the Product will - // still be deleted. - ProductSetId string `protobuf:"bytes,1,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 *ProductSetPurgeConfig) Reset() { *m = ProductSetPurgeConfig{} } -func (m *ProductSetPurgeConfig) String() string { return proto.CompactTextString(m) } -func (*ProductSetPurgeConfig) ProtoMessage() {} -func (*ProductSetPurgeConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_7cf22baa8e45dc96, []int{29} -} - -func (m *ProductSetPurgeConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProductSetPurgeConfig.Unmarshal(m, b) -} -func (m *ProductSetPurgeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProductSetPurgeConfig.Marshal(b, m, deterministic) -} -func (m *ProductSetPurgeConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductSetPurgeConfig.Merge(m, src) -} -func (m *ProductSetPurgeConfig) XXX_Size() int { - return xxx_messageInfo_ProductSetPurgeConfig.Size(m) -} -func (m *ProductSetPurgeConfig) XXX_DiscardUnknown() { - xxx_messageInfo_ProductSetPurgeConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_ProductSetPurgeConfig proto.InternalMessageInfo - -func (m *ProductSetPurgeConfig) GetProductSetId() string { - if m != nil { - return m.ProductSetId - } - return "" -} - -// Request message for the `PurgeProducts` method. -type PurgeProductsRequest struct { - // The Products to delete. - // - // Types that are valid to be assigned to Target: - // *PurgeProductsRequest_ProductSetPurgeConfig - // *PurgeProductsRequest_DeleteOrphanProducts - Target isPurgeProductsRequest_Target `protobuf_oneof:"target"` - // Required. The project and location in which the Products should be deleted. - // - // Format is `projects/PROJECT_ID/locations/LOC_ID`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The default value is false. Override this value to true to actually perform - // the purge. - Force bool `protobuf:"varint,4,opt,name=force,proto3" json:"force,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PurgeProductsRequest) Reset() { *m = PurgeProductsRequest{} } -func (m *PurgeProductsRequest) String() string { return proto.CompactTextString(m) } -func (*PurgeProductsRequest) ProtoMessage() {} -func (*PurgeProductsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7cf22baa8e45dc96, []int{30} -} - -func (m *PurgeProductsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PurgeProductsRequest.Unmarshal(m, b) -} -func (m *PurgeProductsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PurgeProductsRequest.Marshal(b, m, deterministic) -} -func (m *PurgeProductsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PurgeProductsRequest.Merge(m, src) -} -func (m *PurgeProductsRequest) XXX_Size() int { - return xxx_messageInfo_PurgeProductsRequest.Size(m) -} -func (m *PurgeProductsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PurgeProductsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_PurgeProductsRequest proto.InternalMessageInfo - -type isPurgeProductsRequest_Target interface { - isPurgeProductsRequest_Target() -} - -type PurgeProductsRequest_ProductSetPurgeConfig struct { - ProductSetPurgeConfig *ProductSetPurgeConfig `protobuf:"bytes,2,opt,name=product_set_purge_config,json=productSetPurgeConfig,proto3,oneof"` -} - -type PurgeProductsRequest_DeleteOrphanProducts struct { - DeleteOrphanProducts bool `protobuf:"varint,3,opt,name=delete_orphan_products,json=deleteOrphanProducts,proto3,oneof"` -} - -func (*PurgeProductsRequest_ProductSetPurgeConfig) isPurgeProductsRequest_Target() {} - -func (*PurgeProductsRequest_DeleteOrphanProducts) isPurgeProductsRequest_Target() {} - -func (m *PurgeProductsRequest) GetTarget() isPurgeProductsRequest_Target { - if m != nil { - return m.Target - } - return nil -} - -func (m *PurgeProductsRequest) GetProductSetPurgeConfig() *ProductSetPurgeConfig { - if x, ok := m.GetTarget().(*PurgeProductsRequest_ProductSetPurgeConfig); ok { - return x.ProductSetPurgeConfig - } - return nil -} - -func (m *PurgeProductsRequest) GetDeleteOrphanProducts() bool { - if x, ok := m.GetTarget().(*PurgeProductsRequest_DeleteOrphanProducts); ok { - return x.DeleteOrphanProducts - } - return false -} - -func (m *PurgeProductsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *PurgeProductsRequest) GetForce() bool { - if m != nil { - return m.Force - } - return false -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*PurgeProductsRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*PurgeProductsRequest_ProductSetPurgeConfig)(nil), - (*PurgeProductsRequest_DeleteOrphanProducts)(nil), - } -} - -func init() { - proto.RegisterEnum("google.cloud.vision.v1.BatchOperationMetadata_State", BatchOperationMetadata_State_name, BatchOperationMetadata_State_value) - 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.RegisterType((*ProductSetPurgeConfig)(nil), "google.cloud.vision.v1.ProductSetPurgeConfig") - proto.RegisterType((*PurgeProductsRequest)(nil), "google.cloud.vision.v1.PurgeProductsRequest") -} - -func init() { - proto.RegisterFile("google/cloud/vision/v1/product_search_service.proto", fileDescriptor_7cf22baa8e45dc96) -} - -var fileDescriptor_7cf22baa8e45dc96 = []byte{ - // 2357 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0xcb, 0x6f, 0xdc, 0xc6, - 0x19, 0xf7, 0xac, 0x2c, 0x5b, 0xfa, 0x56, 0x92, 0xd7, 0x13, 0x3d, 0xd6, 0xab, 0x18, 0x96, 0x19, - 0xc7, 0xb0, 0x55, 0x65, 0x59, 0xaf, 0x93, 0xd8, 0x5d, 0xc5, 0x8a, 0x29, 0x59, 0x92, 0x95, 0xca, - 0xb2, 0xcc, 0x95, 0x13, 0xa4, 0x36, 0xba, 0xa0, 0xb8, 0xa3, 0x15, 0xe3, 0x5d, 0x92, 0x25, 0xb9, - 0x6b, 0x2b, 0x86, 0x0e, 0x7d, 0x00, 0xcd, 0xa5, 0x97, 0xa6, 0x45, 0x0b, 0x18, 0x28, 0xfa, 0x38, - 0xb4, 0xe7, 0x3e, 0x80, 0x16, 0x69, 0xff, 0x01, 0xa3, 0x40, 0xd1, 0x06, 0xe8, 0x41, 0x27, 0x1f, - 0x7a, 0xf2, 0x39, 0x40, 0x1f, 0xa7, 0x62, 0x38, 0xc3, 0x5d, 0x92, 0x4b, 0x6a, 0xb9, 0x96, 0x12, - 0xe4, 0x46, 0x72, 0xbe, 0x6f, 0xe6, 0xf7, 0x3d, 0x7e, 0x33, 0xf3, 0x7d, 0xbb, 0x70, 0xb9, 0x6a, - 0x18, 0xd5, 0x1a, 0x11, 0xd5, 0x9a, 0xd1, 0xa8, 0x88, 0x4d, 0xcd, 0xd6, 0x0c, 0x5d, 0x6c, 0x5e, - 0x12, 0x4d, 0xcb, 0xa8, 0x34, 0x54, 0xa7, 0x6c, 0x13, 0xc5, 0x52, 0xb7, 0xcb, 0x36, 0xb1, 0x9a, - 0x9a, 0x4a, 0xf2, 0xa6, 0x65, 0x38, 0x06, 0x1e, 0x67, 0x4a, 0x79, 0x57, 0x29, 0xcf, 0x94, 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21, 0xa6, 0x8c, 0xa7, 0xe7, 0x26, 0xdb, 0xce, 0xfd, 0x6d, 0x0e, 0xd7, 0xea, 0x59, - 0xe1, 0xcd, 0x5e, 0x4b, 0x18, 0xcd, 0x5d, 0x9e, 0xc7, 0x73, 0x38, 0x50, 0xc3, 0xc6, 0x9f, 0x99, - 0x51, 0xa5, 0x6e, 0x37, 0x73, 0x1f, 0x3d, 0x95, 0x44, 0x18, 0x8b, 0xcc, 0xd1, 0x78, 0x4b, 0xfd, - 0xbb, 0xdf, 0x15, 0xa1, 0xd0, 0xd3, 0x6d, 0xd0, 0xad, 0xb5, 0x8b, 0x68, 0x3a, 0xd7, 0x7c, 0x2a, - 0x8d, 0x45, 0x36, 0x08, 0xff, 0x21, 0xdd, 0xdb, 0x76, 0x1c, 0xd3, 0x2e, 0x8a, 0xe2, 0xc3, 0x87, - 0x0f, 0xc3, 0x65, 0xae, 0xd2, 0x70, 0xb6, 0xd9, 0x1f, 0x73, 0x5e, 0x33, 0x6b, 0x8a, 0xb3, 0x65, - 0x58, 0xf5, 0x99, 0x64, 0xe2, 0x6c, 0xb1, 0xf9, 0x6f, 0x23, 0xc8, 0xa9, 0x46, 0x3d, 0xc6, 0x89, - 0xf3, 0xa7, 0x02, 0x25, 0x71, 0x89, 0xfd, 0x45, 0x69, 0x9d, 0x3a, 0x66, 0x1d, 0x7d, 0xe3, 0x2d, - 0xae, 0x54, 0x35, 0x6a, 0x8a, 0x5e, 0xcd, 0x1b, 0x56, 0x55, 0xac, 0x12, 0xdd, 0x75, 0x9b, 0xd8, - 0x5e, 0x38, 0xfc, 0xbf, 0xa1, 0x59, 0xf6, 0xf4, 0x1f, 0x84, 0x7e, 0x99, 0x3a, 0xba, 0xbc, 0xf0, - 0xee, 0xda, 0xe6, 0x31, 0x57, 0xe5, 0xf2, 0xff, 0x03, 0x00, 0x00, 0xff, 0xff, 0x3a, 0xba, 0x8d, - 0x7b, 0x29, 0x25, 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 - -// 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. - 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. - 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. - 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. - 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) - // Asynchronous API to delete all Products in a ProductSet or all Products - // that are in no ProductSet. - // - // If a Product is a member of the specified ProductSet in addition to other - // ProductSets, the Product will still be deleted. - // - // It is recommended to not delete the specified ProductSet until after this - // operation has completed. It is also recommended to not add any of the - // Products involved in the batch delete to a new ProductSet while this - // operation is running because those Products may still end up deleted. - // - // It's not possible to undo the PurgeProducts operation. Therefore, it is - // recommended to keep the csv files used in ImportProductSets (if that was - // how you originally built the Product Set) before starting PurgeProducts, in - // case you need to re-import the data after deletion. - // - // If the plan is to purge all of the Products from a ProductSet and then - // re-use the empty ProductSet to re-import new Products into the empty - // ProductSet, you must wait until the PurgeProducts operation has finished - // for that ProductSet. - // - // 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) - PurgeProducts(ctx context.Context, in *PurgeProductsRequest, 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 -} - -func (c *productSearchClient) PurgeProducts(ctx context.Context, in *PurgeProductsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ProductSearch/PurgeProducts", 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. - 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. - 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. - 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. - 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) - // Asynchronous API to delete all Products in a ProductSet or all Products - // that are in no ProductSet. - // - // If a Product is a member of the specified ProductSet in addition to other - // ProductSets, the Product will still be deleted. - // - // It is recommended to not delete the specified ProductSet until after this - // operation has completed. It is also recommended to not add any of the - // Products involved in the batch delete to a new ProductSet while this - // operation is running because those Products may still end up deleted. - // - // It's not possible to undo the PurgeProducts operation. Therefore, it is - // recommended to keep the csv files used in ImportProductSets (if that was - // how you originally built the Product Set) before starting PurgeProducts, in - // case you need to re-import the data after deletion. - // - // If the plan is to purge all of the Products from a ProductSet and then - // re-use the empty ProductSet to re-import new Products into the empty - // ProductSet, you must wait until the PurgeProducts operation has finished - // for that ProductSet. - // - // 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) - PurgeProducts(context.Context, *PurgeProductsRequest) (*longrunning.Operation, error) -} - -// UnimplementedProductSearchServer can be embedded to have forward compatible implementations. -type UnimplementedProductSearchServer struct { -} - -func (*UnimplementedProductSearchServer) CreateProductSet(ctx context.Context, req *CreateProductSetRequest) (*ProductSet, error) { - return nil, status1.Errorf(codes.Unimplemented, "method CreateProductSet not implemented") -} -func (*UnimplementedProductSearchServer) ListProductSets(ctx context.Context, req *ListProductSetsRequest) (*ListProductSetsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListProductSets not implemented") -} -func (*UnimplementedProductSearchServer) GetProductSet(ctx context.Context, req *GetProductSetRequest) (*ProductSet, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetProductSet not implemented") -} -func (*UnimplementedProductSearchServer) UpdateProductSet(ctx context.Context, req *UpdateProductSetRequest) (*ProductSet, error) { - return nil, status1.Errorf(codes.Unimplemented, "method UpdateProductSet not implemented") -} -func (*UnimplementedProductSearchServer) DeleteProductSet(ctx context.Context, req *DeleteProductSetRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method DeleteProductSet not implemented") -} -func (*UnimplementedProductSearchServer) CreateProduct(ctx context.Context, req *CreateProductRequest) (*Product, error) { - return nil, status1.Errorf(codes.Unimplemented, "method CreateProduct not implemented") -} -func (*UnimplementedProductSearchServer) ListProducts(ctx context.Context, req *ListProductsRequest) (*ListProductsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListProducts not implemented") -} -func (*UnimplementedProductSearchServer) GetProduct(ctx context.Context, req *GetProductRequest) (*Product, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetProduct not implemented") -} -func (*UnimplementedProductSearchServer) UpdateProduct(ctx context.Context, req *UpdateProductRequest) (*Product, error) { - return nil, status1.Errorf(codes.Unimplemented, "method UpdateProduct not implemented") -} -func (*UnimplementedProductSearchServer) DeleteProduct(ctx context.Context, req *DeleteProductRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method DeleteProduct not implemented") -} -func (*UnimplementedProductSearchServer) CreateReferenceImage(ctx context.Context, req *CreateReferenceImageRequest) (*ReferenceImage, error) { - return nil, status1.Errorf(codes.Unimplemented, "method CreateReferenceImage not implemented") -} -func (*UnimplementedProductSearchServer) DeleteReferenceImage(ctx context.Context, req *DeleteReferenceImageRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method DeleteReferenceImage not implemented") -} -func (*UnimplementedProductSearchServer) ListReferenceImages(ctx context.Context, req *ListReferenceImagesRequest) (*ListReferenceImagesResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListReferenceImages not implemented") -} -func (*UnimplementedProductSearchServer) GetReferenceImage(ctx context.Context, req *GetReferenceImageRequest) (*ReferenceImage, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetReferenceImage not implemented") -} -func (*UnimplementedProductSearchServer) AddProductToProductSet(ctx context.Context, req *AddProductToProductSetRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method AddProductToProductSet not implemented") -} -func (*UnimplementedProductSearchServer) RemoveProductFromProductSet(ctx context.Context, req *RemoveProductFromProductSetRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method RemoveProductFromProductSet not implemented") -} -func (*UnimplementedProductSearchServer) ListProductsInProductSet(ctx context.Context, req *ListProductsInProductSetRequest) (*ListProductsInProductSetResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListProductsInProductSet not implemented") -} -func (*UnimplementedProductSearchServer) ImportProductSets(ctx context.Context, req *ImportProductSetsRequest) (*longrunning.Operation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ImportProductSets not implemented") -} -func (*UnimplementedProductSearchServer) PurgeProducts(ctx context.Context, req *PurgeProductsRequest) (*longrunning.Operation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method PurgeProducts not implemented") -} - -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) -} - -func _ProductSearch_PurgeProducts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PurgeProductsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProductSearchServer).PurgeProducts(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.vision.v1.ProductSearch/PurgeProducts", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProductSearchServer).PurgeProducts(ctx, req.(*PurgeProductsRequest)) - } - 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, - }, - { - MethodName: "PurgeProducts", - Handler: _ProductSearch_PurgeProducts_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/vision/v1/product_search_service.proto", -} 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 deleted file mode 100644 index aefee5d7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/text_annotation.pb.go +++ /dev/null @@ -1,813 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/vision/v1/text_annotation.proto - -package vision - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum to denote the type of break found. New line, space etc. -type TextAnnotation_DetectedBreak_BreakType int32 - -const ( - // Unknown break label type. - TextAnnotation_DetectedBreak_UNKNOWN TextAnnotation_DetectedBreak_BreakType = 0 - // Regular space. - TextAnnotation_DetectedBreak_SPACE TextAnnotation_DetectedBreak_BreakType = 1 - // Sure space (very wide). - TextAnnotation_DetectedBreak_SURE_SPACE TextAnnotation_DetectedBreak_BreakType = 2 - // Line-wrapping break. - TextAnnotation_DetectedBreak_EOL_SURE_SPACE TextAnnotation_DetectedBreak_BreakType = 3 - // End-line hyphen that is not present in text; does not co-occur with - // `SPACE`, `LEADER_SPACE`, or `LINE_BREAK`. - TextAnnotation_DetectedBreak_HYPHEN TextAnnotation_DetectedBreak_BreakType = 4 - // Line break that ends a paragraph. - TextAnnotation_DetectedBreak_LINE_BREAK TextAnnotation_DetectedBreak_BreakType = 5 -) - -var TextAnnotation_DetectedBreak_BreakType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "SPACE", - 2: "SURE_SPACE", - 3: "EOL_SURE_SPACE", - 4: "HYPHEN", - 5: "LINE_BREAK", -} - -var TextAnnotation_DetectedBreak_BreakType_value = map[string]int32{ - "UNKNOWN": 0, - "SPACE": 1, - "SURE_SPACE": 2, - "EOL_SURE_SPACE": 3, - "HYPHEN": 4, - "LINE_BREAK": 5, -} - -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_9caabbd9b4627d68, []int{0, 1, 0} -} - -// Type of a block (text, image etc) as identified by OCR. -type Block_BlockType int32 - -const ( - // Unknown block type. - Block_UNKNOWN Block_BlockType = 0 - // Regular text block. - Block_TEXT Block_BlockType = 1 - // Table block. - Block_TABLE Block_BlockType = 2 - // Image block. - Block_PICTURE Block_BlockType = 3 - // Horizontal/vertical line box. - Block_RULER Block_BlockType = 4 - // Barcode block. - Block_BARCODE Block_BlockType = 5 -) - -var Block_BlockType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "TEXT", - 2: "TABLE", - 3: "PICTURE", - 4: "RULER", - 5: "BARCODE", -} - -var Block_BlockType_value = map[string]int32{ - "UNKNOWN": 0, - "TEXT": 1, - "TABLE": 2, - "PICTURE": 3, - "RULER": 4, - "BARCODE": 5, -} - -func (x Block_BlockType) String() string { - return proto.EnumName(Block_BlockType_name, int32(x)) -} - -func (Block_BlockType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_9caabbd9b4627d68, []int{2, 0} -} - -// TextAnnotation contains a structured representation of OCR extracted text. -// The hierarchy of an OCR extracted text structure is like this: -// TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol -// Each structural component, starting from Page, may further have their own -// properties. Properties describe detected languages, breaks etc.. Please refer -// to the [TextAnnotation.TextProperty][google.cloud.vision.v1.TextAnnotation.TextProperty] message definition below for more -// detail. -type TextAnnotation struct { - // List of pages detected by OCR. - Pages []*Page `protobuf:"bytes,1,rep,name=pages,proto3" json:"pages,omitempty"` - // UTF-8 text detected on the pages. - Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,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_9caabbd9b4627d68, []int{0} -} - -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 (m *TextAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextAnnotation.Merge(m, 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) GetPages() []*Page { - if m != nil { - return m.Pages - } - return nil -} - -func (m *TextAnnotation) GetText() string { - if m != nil { - return m.Text - } - return "" -} - -// Detected language for a structural component. -type TextAnnotation_DetectedLanguage struct { - // 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,1,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // Confidence of detected language. 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 *TextAnnotation_DetectedLanguage) Reset() { *m = TextAnnotation_DetectedLanguage{} } -func (m *TextAnnotation_DetectedLanguage) String() string { return proto.CompactTextString(m) } -func (*TextAnnotation_DetectedLanguage) ProtoMessage() {} -func (*TextAnnotation_DetectedLanguage) Descriptor() ([]byte, []int) { - return fileDescriptor_9caabbd9b4627d68, []int{0, 0} -} - -func (m *TextAnnotation_DetectedLanguage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextAnnotation_DetectedLanguage.Unmarshal(m, b) -} -func (m *TextAnnotation_DetectedLanguage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextAnnotation_DetectedLanguage.Marshal(b, m, deterministic) -} -func (m *TextAnnotation_DetectedLanguage) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextAnnotation_DetectedLanguage.Merge(m, src) -} -func (m *TextAnnotation_DetectedLanguage) XXX_Size() int { - return xxx_messageInfo_TextAnnotation_DetectedLanguage.Size(m) -} -func (m *TextAnnotation_DetectedLanguage) XXX_DiscardUnknown() { - xxx_messageInfo_TextAnnotation_DetectedLanguage.DiscardUnknown(m) -} - -var xxx_messageInfo_TextAnnotation_DetectedLanguage proto.InternalMessageInfo - -func (m *TextAnnotation_DetectedLanguage) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *TextAnnotation_DetectedLanguage) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -// Detected start or end of a structural component. -type TextAnnotation_DetectedBreak struct { - // Detected break type. - Type TextAnnotation_DetectedBreak_BreakType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.vision.v1.TextAnnotation_DetectedBreak_BreakType" json:"type,omitempty"` - // True if break prepends the element. - IsPrefix bool `protobuf:"varint,2,opt,name=is_prefix,json=isPrefix,proto3" json:"is_prefix,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TextAnnotation_DetectedBreak) Reset() { *m = TextAnnotation_DetectedBreak{} } -func (m *TextAnnotation_DetectedBreak) String() string { return proto.CompactTextString(m) } -func (*TextAnnotation_DetectedBreak) ProtoMessage() {} -func (*TextAnnotation_DetectedBreak) Descriptor() ([]byte, []int) { - return fileDescriptor_9caabbd9b4627d68, []int{0, 1} -} - -func (m *TextAnnotation_DetectedBreak) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextAnnotation_DetectedBreak.Unmarshal(m, b) -} -func (m *TextAnnotation_DetectedBreak) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextAnnotation_DetectedBreak.Marshal(b, m, deterministic) -} -func (m *TextAnnotation_DetectedBreak) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextAnnotation_DetectedBreak.Merge(m, src) -} -func (m *TextAnnotation_DetectedBreak) XXX_Size() int { - return xxx_messageInfo_TextAnnotation_DetectedBreak.Size(m) -} -func (m *TextAnnotation_DetectedBreak) XXX_DiscardUnknown() { - xxx_messageInfo_TextAnnotation_DetectedBreak.DiscardUnknown(m) -} - -var xxx_messageInfo_TextAnnotation_DetectedBreak proto.InternalMessageInfo - -func (m *TextAnnotation_DetectedBreak) GetType() TextAnnotation_DetectedBreak_BreakType { - if m != nil { - return m.Type - } - return TextAnnotation_DetectedBreak_UNKNOWN -} - -func (m *TextAnnotation_DetectedBreak) GetIsPrefix() bool { - if m != nil { - return m.IsPrefix - } - return false -} - -// Additional information detected on the structural component. -type TextAnnotation_TextProperty struct { - // A list of detected languages together with confidence. - DetectedLanguages []*TextAnnotation_DetectedLanguage `protobuf:"bytes,1,rep,name=detected_languages,json=detectedLanguages,proto3" json:"detected_languages,omitempty"` - // Detected start or end of a text segment. - DetectedBreak *TextAnnotation_DetectedBreak `protobuf:"bytes,2,opt,name=detected_break,json=detectedBreak,proto3" json:"detected_break,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TextAnnotation_TextProperty) Reset() { *m = TextAnnotation_TextProperty{} } -func (m *TextAnnotation_TextProperty) String() string { return proto.CompactTextString(m) } -func (*TextAnnotation_TextProperty) ProtoMessage() {} -func (*TextAnnotation_TextProperty) Descriptor() ([]byte, []int) { - return fileDescriptor_9caabbd9b4627d68, []int{0, 2} -} - -func (m *TextAnnotation_TextProperty) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextAnnotation_TextProperty.Unmarshal(m, b) -} -func (m *TextAnnotation_TextProperty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextAnnotation_TextProperty.Marshal(b, m, deterministic) -} -func (m *TextAnnotation_TextProperty) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextAnnotation_TextProperty.Merge(m, src) -} -func (m *TextAnnotation_TextProperty) XXX_Size() int { - return xxx_messageInfo_TextAnnotation_TextProperty.Size(m) -} -func (m *TextAnnotation_TextProperty) XXX_DiscardUnknown() { - xxx_messageInfo_TextAnnotation_TextProperty.DiscardUnknown(m) -} - -var xxx_messageInfo_TextAnnotation_TextProperty proto.InternalMessageInfo - -func (m *TextAnnotation_TextProperty) GetDetectedLanguages() []*TextAnnotation_DetectedLanguage { - if m != nil { - return m.DetectedLanguages - } - return nil -} - -func (m *TextAnnotation_TextProperty) GetDetectedBreak() *TextAnnotation_DetectedBreak { - if m != nil { - return m.DetectedBreak - } - return nil -} - -// Detected page from OCR. -type Page struct { - // Additional information detected on the page. - Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` - // Page width. For PDFs the unit is points. For images (including - // TIFFs) the unit is pixels. - Width int32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` - // Page height. For PDFs the unit is points. For images (including - // TIFFs) the unit is pixels. - Height int32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` - // List of blocks of text, images etc on this page. - Blocks []*Block `protobuf:"bytes,4,rep,name=blocks,proto3" json:"blocks,omitempty"` - // Confidence of the OCR results on the page. Range [0, 1]. - Confidence float32 `protobuf:"fixed32,5,opt,name=confidence,proto3" json:"confidence,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9caabbd9b4627d68, []int{1} -} - -func (m *Page) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Page.Unmarshal(m, b) -} -func (m *Page) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Page.Marshal(b, m, deterministic) -} -func (m *Page) XXX_Merge(src proto.Message) { - xxx_messageInfo_Page.Merge(m, src) -} -func (m *Page) XXX_Size() int { - return xxx_messageInfo_Page.Size(m) -} -func (m *Page) XXX_DiscardUnknown() { - xxx_messageInfo_Page.DiscardUnknown(m) -} - -var xxx_messageInfo_Page proto.InternalMessageInfo - -func (m *Page) GetProperty() *TextAnnotation_TextProperty { - if m != nil { - return m.Property - } - return nil -} - -func (m *Page) GetWidth() int32 { - if m != nil { - return m.Width - } - return 0 -} - -func (m *Page) GetHeight() int32 { - if m != nil { - return m.Height - } - return 0 -} - -func (m *Page) GetBlocks() []*Block { - if m != nil { - return m.Blocks - } - return nil -} - -func (m *Page) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -// Logical element on the page. -type Block struct { - // Additional information detected for the block. - Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` - // The bounding box for the block. - // The vertices are in the order of top-left, top-right, bottom-right, - // bottom-left. When a rotation of the bounding box is detected the rotation - // is represented as around the top-left corner as defined when the text is - // read in the 'natural' orientation. - // For example: - // - // * when the text is horizontal it might look like: - // - // 0----1 - // | | - // 3----2 - // - // * when it's 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). - 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"` - // Detected block type (text, image etc) for this block. - BlockType Block_BlockType `protobuf:"varint,4,opt,name=block_type,json=blockType,proto3,enum=google.cloud.vision.v1.Block_BlockType" json:"block_type,omitempty"` - // Confidence of the OCR results on the block. Range [0, 1]. - Confidence float32 `protobuf:"fixed32,5,opt,name=confidence,proto3" json:"confidence,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9caabbd9b4627d68, []int{2} -} - -func (m *Block) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Block.Unmarshal(m, b) -} -func (m *Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Block.Marshal(b, m, deterministic) -} -func (m *Block) XXX_Merge(src proto.Message) { - xxx_messageInfo_Block.Merge(m, src) -} -func (m *Block) XXX_Size() int { - return xxx_messageInfo_Block.Size(m) -} -func (m *Block) XXX_DiscardUnknown() { - xxx_messageInfo_Block.DiscardUnknown(m) -} - -var xxx_messageInfo_Block proto.InternalMessageInfo - -func (m *Block) GetProperty() *TextAnnotation_TextProperty { - if m != nil { - return m.Property - } - return nil -} - -func (m *Block) GetBoundingBox() *BoundingPoly { - if m != nil { - return m.BoundingBox - } - return nil -} - -func (m *Block) GetParagraphs() []*Paragraph { - if m != nil { - return m.Paragraphs - } - return nil -} - -func (m *Block) GetBlockType() Block_BlockType { - if m != nil { - return m.BlockType - } - return Block_UNKNOWN -} - -func (m *Block) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -// Structural unit of text representing a number of words in certain order. -type Paragraph struct { - // Additional information detected for the paragraph. - Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` - // The bounding box for the paragraph. - // The vertices are in the order of top-left, top-right, bottom-right, - // bottom-left. When a rotation of the bounding box is detected the rotation - // is represented as around the top-left corner as defined when the text is - // read in the 'natural' orientation. - // For example: - // * when the text is horizontal it might look like: - // 0----1 - // | | - // 3----2 - // * when it's 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). - BoundingBox *BoundingPoly `protobuf:"bytes,2,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"` - // List of all words in this paragraph. - Words []*Word `protobuf:"bytes,3,rep,name=words,proto3" json:"words,omitempty"` - // Confidence of the OCR results for the paragraph. Range [0, 1]. - Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9caabbd9b4627d68, []int{3} -} - -func (m *Paragraph) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Paragraph.Unmarshal(m, b) -} -func (m *Paragraph) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Paragraph.Marshal(b, m, deterministic) -} -func (m *Paragraph) XXX_Merge(src proto.Message) { - xxx_messageInfo_Paragraph.Merge(m, src) -} -func (m *Paragraph) XXX_Size() int { - return xxx_messageInfo_Paragraph.Size(m) -} -func (m *Paragraph) XXX_DiscardUnknown() { - xxx_messageInfo_Paragraph.DiscardUnknown(m) -} - -var xxx_messageInfo_Paragraph proto.InternalMessageInfo - -func (m *Paragraph) GetProperty() *TextAnnotation_TextProperty { - if m != nil { - return m.Property - } - return nil -} - -func (m *Paragraph) GetBoundingBox() *BoundingPoly { - if m != nil { - return m.BoundingBox - } - return nil -} - -func (m *Paragraph) GetWords() []*Word { - if m != nil { - return m.Words - } - return nil -} - -func (m *Paragraph) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -// A word representation. -type Word struct { - // Additional information detected for the word. - Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` - // The bounding box for the word. - // The vertices are in the order of top-left, top-right, bottom-right, - // bottom-left. When a rotation of the bounding box is detected the rotation - // is represented as around the top-left corner as defined when the text is - // read in the 'natural' orientation. - // For example: - // * when the text is horizontal it might look like: - // 0----1 - // | | - // 3----2 - // * when it's 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). - 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. - Symbols []*Symbol `protobuf:"bytes,3,rep,name=symbols,proto3" json:"symbols,omitempty"` - // Confidence of the OCR results for the word. Range [0, 1]. - Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9caabbd9b4627d68, []int{4} -} - -func (m *Word) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Word.Unmarshal(m, b) -} -func (m *Word) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Word.Marshal(b, m, deterministic) -} -func (m *Word) XXX_Merge(src proto.Message) { - xxx_messageInfo_Word.Merge(m, src) -} -func (m *Word) XXX_Size() int { - return xxx_messageInfo_Word.Size(m) -} -func (m *Word) XXX_DiscardUnknown() { - xxx_messageInfo_Word.DiscardUnknown(m) -} - -var xxx_messageInfo_Word proto.InternalMessageInfo - -func (m *Word) GetProperty() *TextAnnotation_TextProperty { - if m != nil { - return m.Property - } - return nil -} - -func (m *Word) GetBoundingBox() *BoundingPoly { - if m != nil { - return m.BoundingBox - } - return nil -} - -func (m *Word) GetSymbols() []*Symbol { - if m != nil { - return m.Symbols - } - return nil -} - -func (m *Word) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -// A single symbol representation. -type Symbol struct { - // Additional information detected for the symbol. - Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` - // The bounding box for the symbol. - // The vertices are in the order of top-left, top-right, bottom-right, - // bottom-left. When a rotation of the bounding box is detected the rotation - // is represented as around the top-left corner as defined when the text is - // read in the 'natural' orientation. - // For example: - // * when the text is horizontal it might look like: - // 0----1 - // | | - // 3----2 - // * when it's 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). - BoundingBox *BoundingPoly `protobuf:"bytes,2,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"` - // The actual UTF-8 representation of the symbol. - Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"` - // Confidence of the OCR results for the symbol. Range [0, 1]. - Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9caabbd9b4627d68, []int{5} -} - -func (m *Symbol) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Symbol.Unmarshal(m, b) -} -func (m *Symbol) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Symbol.Marshal(b, m, deterministic) -} -func (m *Symbol) XXX_Merge(src proto.Message) { - xxx_messageInfo_Symbol.Merge(m, src) -} -func (m *Symbol) XXX_Size() int { - return xxx_messageInfo_Symbol.Size(m) -} -func (m *Symbol) XXX_DiscardUnknown() { - xxx_messageInfo_Symbol.DiscardUnknown(m) -} - -var xxx_messageInfo_Symbol proto.InternalMessageInfo - -func (m *Symbol) GetProperty() *TextAnnotation_TextProperty { - if m != nil { - return m.Property - } - return nil -} - -func (m *Symbol) GetBoundingBox() *BoundingPoly { - if m != nil { - return m.BoundingBox - } - return nil -} - -func (m *Symbol) GetText() string { - if m != nil { - return m.Text - } - return "" -} - -func (m *Symbol) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -func init() { - proto.RegisterEnum("google.cloud.vision.v1.TextAnnotation_DetectedBreak_BreakType", TextAnnotation_DetectedBreak_BreakType_name, TextAnnotation_DetectedBreak_BreakType_value) - proto.RegisterEnum("google.cloud.vision.v1.Block_BlockType", Block_BlockType_name, Block_BlockType_value) - proto.RegisterType((*TextAnnotation)(nil), "google.cloud.vision.v1.TextAnnotation") - proto.RegisterType((*TextAnnotation_DetectedLanguage)(nil), "google.cloud.vision.v1.TextAnnotation.DetectedLanguage") - proto.RegisterType((*TextAnnotation_DetectedBreak)(nil), "google.cloud.vision.v1.TextAnnotation.DetectedBreak") - proto.RegisterType((*TextAnnotation_TextProperty)(nil), "google.cloud.vision.v1.TextAnnotation.TextProperty") - proto.RegisterType((*Page)(nil), "google.cloud.vision.v1.Page") - proto.RegisterType((*Block)(nil), "google.cloud.vision.v1.Block") - proto.RegisterType((*Paragraph)(nil), "google.cloud.vision.v1.Paragraph") - proto.RegisterType((*Word)(nil), "google.cloud.vision.v1.Word") - proto.RegisterType((*Symbol)(nil), "google.cloud.vision.v1.Symbol") -} - -func init() { - proto.RegisterFile("google/cloud/vision/v1/text_annotation.proto", fileDescriptor_9caabbd9b4627d68) -} - -var fileDescriptor_9caabbd9b4627d68 = []byte{ - // 774 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0xcf, 0x6f, 0xd3, 0x48, - 0x14, 0x5e, 0x27, 0x76, 0x1a, 0xbf, 0xb4, 0x91, 0x77, 0x76, 0x55, 0x45, 0xd9, 0x6e, 0xd5, 0xcd, - 0x82, 0xe8, 0x01, 0x39, 0x6a, 0x0a, 0x02, 0x09, 0x84, 0x14, 0xa7, 0xa6, 0xad, 0x1a, 0x25, 0xd6, - 0x34, 0xa1, 0xfc, 0x38, 0x58, 0x8e, 0x3d, 0x75, 0xac, 0xa6, 0x1e, 0xcb, 0x76, 0xd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xef, 0x38, 0xe0, 0xa3, 0xab, 0x83, - 0xba, 0x50, 0xf4, 0x12, 0x65, 0xac, 0x71, 0xa5, 0xc6, 0xf6, 0x0f, 0xf2, 0xcf, 0x16, 0x05, 0x4f, - 0x49, 0xd0, 0xdf, 0x20, 0x5c, 0x38, 0x56, 0x38, 0x64, 0xd9, 0x0a, 0x38, 0x36, 0xd0, 0x2a, 0x14, - 0x86, 0xc4, 0xb1, 0x87, 0x61, 0x25, 0xcf, 0xdc, 0x89, 0x85, 0xee, 0x42, 0x61, 0x30, 0xa2, 0xe6, - 0x49, 0x50, 0xe1, 0x59, 0x01, 0xff, 0xcd, 0x3a, 0x5c, 0x89, 0x50, 0x38, 0x01, 0x2f, 0x5c, 0x4e, - 0x61, 0xf1, 0x72, 0xd6, 0x5e, 0xe5, 0x41, 0x60, 0x11, 0xbf, 0x5f, 0xdf, 0x2e, 0x2c, 0x0f, 0xe8, - 0x99, 0x6b, 0x39, 0xae, 0xad, 0x0f, 0xe8, 0x38, 0x69, 0xca, 0x8d, 0xcc, 0xbc, 0x13, 0xac, 0x46, - 0x47, 0x13, 0x5c, 0x4a, 0x23, 0x15, 0x3a, 0x46, 0x4d, 0x00, 0xcf, 0xf0, 0x0d, 0xdb, 0x37, 0xbc, - 0x61, 0x50, 0xc9, 0x33, 0xf9, 0xff, 0x65, 0x8f, 0x79, 0x82, 0xc4, 0x33, 0x41, 0xe8, 0x31, 0x00, - 0x2b, 0x88, 0xce, 0xe6, 0x8e, 0x67, 0x73, 0x77, 0xeb, 0xbb, 0x15, 0x8c, 0x7f, 0xd9, 0x80, 0x89, - 0x83, 0x74, 0x79, 0x65, 0x39, 0x31, 0x88, 0xd3, 0xb8, 0xf9, 0x41, 0x2b, 0x02, 0xdf, 0x53, 0x9f, - 0xf6, 0x24, 0x2e, 0x1a, 0xb9, 0x5e, 0x53, 0x69, 0x47, 0x23, 0x56, 0x82, 0x25, 0x6d, 0xbf, 0xd5, - 0xeb, 0xe3, 0x68, 0xb6, 0x44, 0x10, 0x70, 0xbf, 0xad, 0x62, 0x89, 0x8f, 0xfc, 0x4a, 0x13, 0xb7, - 0xba, 0x3b, 0xaa, 0x24, 0xd4, 0x3e, 0x71, 0x20, 0x4e, 0x55, 0x5d, 0xe3, 0x36, 0x35, 0x40, 0xb8, - 0xa0, 0xbe, 0x95, 0x76, 0x28, 0xf3, 0x8f, 0xf8, 0x88, 0xfa, 0x16, 0x8e, 0xa1, 0x0b, 0xf5, 0xe4, - 0xbf, 0xaa, 0xe7, 0x67, 0x0e, 0xf8, 0x08, 0x7f, 0x8d, 0x65, 0xdf, 0x87, 0xa5, 0x60, 0x72, 0x3a, - 0xa0, 0xa3, 0x54, 0xf8, 0x7a, 0x16, 0xc7, 0x21, 0x83, 0xe1, 0x14, 0x7e, 0xa5, 0xf8, 0xb7, 0x1c, - 0x14, 0xe2, 0x98, 0x6b, 0x2c, 0x3f, 0x7d, 0x4a, 0xf3, 0x97, 0x4f, 0xe9, 0x55, 0xc2, 0x94, 0x97, - 0x50, 0x35, 0xe9, 0x69, 0xc6, 0x59, 0xca, 0x5f, 0xf3, 0x0a, 0xb4, 0xe8, 0xe1, 0xd7, 0xb8, 0xe7, - 0x0f, 0x13, 0xb8, 0x4d, 0xa3, 0xb7, 0x44, 0xa6, 0xbe, 0x5d, 0xb7, 0x89, 0xcb, 0x3e, 0x0b, 0xea, - 0xf1, 0x96, 0xe1, 0x39, 0xc1, 0xe2, 0xe7, 0xc5, 0x83, 0x78, 0xf5, 0x91, 0xe3, 0x5e, 0xe7, 0xf8, - 0xdd, 0xd6, 0x93, 0xce, 0xa0, 0xc0, 0x42, 0xb6, 0xbf, 0x04, 0x00, 0x00, 0xff, 0xff, 0xe6, 0xbb, - 0xda, 0xc5, 0xd6, 0x08, 0x00, 0x00, -} 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 deleted file mode 100644 index f726f6ec..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1/web_detection.pb.go +++ /dev/null @@ -1,404 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/vision/v1/web_detection.proto - -package vision - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Relevant information for the image from the Internet. -type WebDetection struct { - // Deduced entities from similar images on the Internet. - WebEntities []*WebDetection_WebEntity `protobuf:"bytes,1,rep,name=web_entities,json=webEntities,proto3" json:"web_entities,omitempty"` - // Fully matching images from the Internet. - // Can include resized copies of the query image. - FullMatchingImages []*WebDetection_WebImage `protobuf:"bytes,2,rep,name=full_matching_images,json=fullMatchingImages,proto3" json:"full_matching_images,omitempty"` - // Partial matching images from the Internet. - // Those images are similar enough to share some key-point features. For - // example an original image will likely have partial matching for its crops. - PartialMatchingImages []*WebDetection_WebImage `protobuf:"bytes,3,rep,name=partial_matching_images,json=partialMatchingImages,proto3" json:"partial_matching_images,omitempty"` - // Web pages containing the matching images from the Internet. - 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"` - // 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:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_894df371610d13f4, []int{0} -} - -func (m *WebDetection) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebDetection.Unmarshal(m, b) -} -func (m *WebDetection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebDetection.Marshal(b, m, deterministic) -} -func (m *WebDetection) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebDetection.Merge(m, src) -} -func (m *WebDetection) XXX_Size() int { - return xxx_messageInfo_WebDetection.Size(m) -} -func (m *WebDetection) XXX_DiscardUnknown() { - xxx_messageInfo_WebDetection.DiscardUnknown(m) -} - -var xxx_messageInfo_WebDetection proto.InternalMessageInfo - -func (m *WebDetection) GetWebEntities() []*WebDetection_WebEntity { - if m != nil { - return m.WebEntities - } - return nil -} - -func (m *WebDetection) GetFullMatchingImages() []*WebDetection_WebImage { - if m != nil { - return m.FullMatchingImages - } - return nil -} - -func (m *WebDetection) GetPartialMatchingImages() []*WebDetection_WebImage { - if m != nil { - return m.PartialMatchingImages - } - return nil -} - -func (m *WebDetection) GetPagesWithMatchingImages() []*WebDetection_WebPage { - if m != nil { - return m.PagesWithMatchingImages - } - return nil -} - -func (m *WebDetection) GetVisuallySimilarImages() []*WebDetection_WebImage { - if m != nil { - return m.VisuallySimilarImages - } - return nil -} - -func (m *WebDetection) GetBestGuessLabels() []*WebDetection_WebLabel { - if m != nil { - return m.BestGuessLabels - } - return nil -} - -// Entity deduced from similar images on the Internet. -type WebDetection_WebEntity struct { - // Opaque entity ID. - EntityId string `protobuf:"bytes,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` - // Overall relevancy score for the entity. - // Not normalized and not comparable across different image queries. - Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"` - // Canonical description of the entity, in English. - 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 *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_894df371610d13f4, []int{0, 0} -} - -func (m *WebDetection_WebEntity) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebDetection_WebEntity.Unmarshal(m, b) -} -func (m *WebDetection_WebEntity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebDetection_WebEntity.Marshal(b, m, deterministic) -} -func (m *WebDetection_WebEntity) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebDetection_WebEntity.Merge(m, src) -} -func (m *WebDetection_WebEntity) XXX_Size() int { - return xxx_messageInfo_WebDetection_WebEntity.Size(m) -} -func (m *WebDetection_WebEntity) XXX_DiscardUnknown() { - xxx_messageInfo_WebDetection_WebEntity.DiscardUnknown(m) -} - -var xxx_messageInfo_WebDetection_WebEntity proto.InternalMessageInfo - -func (m *WebDetection_WebEntity) GetEntityId() string { - if m != nil { - return m.EntityId - } - return "" -} - -func (m *WebDetection_WebEntity) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -func (m *WebDetection_WebEntity) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -// Metadata for online images. -type WebDetection_WebImage struct { - // The result image URL. - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - // (Deprecated) Overall relevancy score for the image. - Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_894df371610d13f4, []int{0, 1} -} - -func (m *WebDetection_WebImage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebDetection_WebImage.Unmarshal(m, b) -} -func (m *WebDetection_WebImage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebDetection_WebImage.Marshal(b, m, deterministic) -} -func (m *WebDetection_WebImage) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebDetection_WebImage.Merge(m, src) -} -func (m *WebDetection_WebImage) XXX_Size() int { - return xxx_messageInfo_WebDetection_WebImage.Size(m) -} -func (m *WebDetection_WebImage) XXX_DiscardUnknown() { - xxx_messageInfo_WebDetection_WebImage.DiscardUnknown(m) -} - -var xxx_messageInfo_WebDetection_WebImage proto.InternalMessageInfo - -func (m *WebDetection_WebImage) GetUrl() string { - if m != nil { - return m.Url - } - return "" -} - -func (m *WebDetection_WebImage) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -// Metadata for web pages. -type WebDetection_WebPage struct { - // The result web page URL. - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - // (Deprecated) Overall relevancy score for the web page. - Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"` - // Title for the web page, may contain HTML markups. - PageTitle string `protobuf:"bytes,3,opt,name=page_title,json=pageTitle,proto3" json:"page_title,omitempty"` - // Fully matching images on the page. - // Can include resized copies of the query image. - FullMatchingImages []*WebDetection_WebImage `protobuf:"bytes,4,rep,name=full_matching_images,json=fullMatchingImages,proto3" json:"full_matching_images,omitempty"` - // Partial matching images on the page. - // Those images are similar enough to share some key-point features. For - // example an original image will likely have partial matching for its - // crops. - PartialMatchingImages []*WebDetection_WebImage `protobuf:"bytes,5,rep,name=partial_matching_images,json=partialMatchingImages,proto3" json:"partial_matching_images,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_894df371610d13f4, []int{0, 2} -} - -func (m *WebDetection_WebPage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebDetection_WebPage.Unmarshal(m, b) -} -func (m *WebDetection_WebPage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebDetection_WebPage.Marshal(b, m, deterministic) -} -func (m *WebDetection_WebPage) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebDetection_WebPage.Merge(m, src) -} -func (m *WebDetection_WebPage) XXX_Size() int { - return xxx_messageInfo_WebDetection_WebPage.Size(m) -} -func (m *WebDetection_WebPage) XXX_DiscardUnknown() { - xxx_messageInfo_WebDetection_WebPage.DiscardUnknown(m) -} - -var xxx_messageInfo_WebDetection_WebPage proto.InternalMessageInfo - -func (m *WebDetection_WebPage) GetUrl() string { - if m != nil { - return m.Url - } - return "" -} - -func (m *WebDetection_WebPage) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -func (m *WebDetection_WebPage) GetPageTitle() string { - if m != nil { - return m.PageTitle - } - return "" -} - -func (m *WebDetection_WebPage) GetFullMatchingImages() []*WebDetection_WebImage { - if m != nil { - return m.FullMatchingImages - } - return nil -} - -func (m *WebDetection_WebPage) GetPartialMatchingImages() []*WebDetection_WebImage { - if m != nil { - return m.PartialMatchingImages - } - return nil -} - -// Label to provide extra metadata for the web detection. -type WebDetection_WebLabel struct { - // Label for extra metadata. - Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` - // The BCP-47 language code for `label`, 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_894df371610d13f4, []int{0, 3} -} - -func (m *WebDetection_WebLabel) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebDetection_WebLabel.Unmarshal(m, b) -} -func (m *WebDetection_WebLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebDetection_WebLabel.Marshal(b, m, deterministic) -} -func (m *WebDetection_WebLabel) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebDetection_WebLabel.Merge(m, src) -} -func (m *WebDetection_WebLabel) XXX_Size() int { - return xxx_messageInfo_WebDetection_WebLabel.Size(m) -} -func (m *WebDetection_WebLabel) XXX_DiscardUnknown() { - xxx_messageInfo_WebDetection_WebLabel.DiscardUnknown(m) -} - -var xxx_messageInfo_WebDetection_WebLabel proto.InternalMessageInfo - -func (m *WebDetection_WebLabel) GetLabel() string { - if m != nil { - return m.Label - } - return "" -} - -func (m *WebDetection_WebLabel) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func init() { - proto.RegisterType((*WebDetection)(nil), "google.cloud.vision.v1.WebDetection") - proto.RegisterType((*WebDetection_WebEntity)(nil), "google.cloud.vision.v1.WebDetection.WebEntity") - proto.RegisterType((*WebDetection_WebImage)(nil), "google.cloud.vision.v1.WebDetection.WebImage") - proto.RegisterType((*WebDetection_WebPage)(nil), "google.cloud.vision.v1.WebDetection.WebPage") - proto.RegisterType((*WebDetection_WebLabel)(nil), "google.cloud.vision.v1.WebDetection.WebLabel") -} - -func init() { - proto.RegisterFile("google/cloud/vision/v1/web_detection.proto", fileDescriptor_894df371610d13f4) -} - -var fileDescriptor_894df371610d13f4 = []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, - 0x08, 0x12, 0x6d, 0x3c, 0xc2, 0xd3, 0xc6, 0x34, 0x4d, 0x02, 0x54, 0x02, 0x62, 0x82, 0x17, 0xe3, - 0x26, 0x26, 0x3d, 0xc9, 0x8d, 0xa3, 0xd8, 0x69, 0xd5, 0x6f, 0xc2, 0x33, 0x1f, 0x88, 0xcf, 0xc3, - 0x23, 0x3a, 0xdb, 0x45, 0xd5, 0xba, 0x49, 0x65, 0x42, 0xbc, 0xdd, 0x5d, 0xee, 0xff, 0xfb, 0xdb, - 0x97, 0x93, 0xc9, 0xd3, 0x42, 0xa9, 0x42, 0x8a, 0x24, 0x93, 0xaa, 0xc9, 0x93, 0x39, 0x68, 0x50, - 0x65, 0x32, 0x3f, 0x4c, 0x16, 0x62, 0xc2, 0x72, 0x61, 0x44, 0x66, 0x40, 0x95, 0x71, 0x55, 0x2b, - 0xa3, 0xe8, 0x7d, 0xd7, 0x1b, 0xdb, 0xde, 0xd8, 0xf5, 0xc6, 0xf3, 0xc3, 0xe8, 0xa1, 0x67, 0xf0, - 0x0a, 0x12, 0x5e, 0x96, 0xca, 0x70, 0x14, 0x69, 0xa7, 0x7a, 0xfc, 0xb3, 0x4b, 0x06, 0x17, 0x62, - 0xf2, 0x7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 0x00, -} 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 deleted file mode 100644 index ced47f99..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p1beta1/geometry.pb.go +++ /dev/null @@ -1,205 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/vision/v1p1beta1/geometry.proto - -package vision - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// A vertex represents a 2D point in the image. -// NOTE: the vertex coordinates are in the same scale as the original image. -type Vertex struct { - // X coordinate. - X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` - // Y coordinate. - Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a110c700536b1e95, []int{0} -} - -func (m *Vertex) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Vertex.Unmarshal(m, b) -} -func (m *Vertex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Vertex.Marshal(b, m, deterministic) -} -func (m *Vertex) XXX_Merge(src proto.Message) { - xxx_messageInfo_Vertex.Merge(m, src) -} -func (m *Vertex) XXX_Size() int { - return xxx_messageInfo_Vertex.Size(m) -} -func (m *Vertex) XXX_DiscardUnknown() { - xxx_messageInfo_Vertex.DiscardUnknown(m) -} - -var xxx_messageInfo_Vertex proto.InternalMessageInfo - -func (m *Vertex) GetX() int32 { - if m != nil { - return m.X - } - return 0 -} - -func (m *Vertex) GetY() int32 { - if m != nil { - return m.Y - } - return 0 -} - -// A bounding polygon for the detected image annotation. -type BoundingPoly struct { - // The bounding polygon vertices. - Vertices []*Vertex `protobuf:"bytes,1,rep,name=vertices,proto3" json:"vertices,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a110c700536b1e95, []int{1} -} - -func (m *BoundingPoly) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BoundingPoly.Unmarshal(m, b) -} -func (m *BoundingPoly) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BoundingPoly.Marshal(b, m, deterministic) -} -func (m *BoundingPoly) XXX_Merge(src proto.Message) { - xxx_messageInfo_BoundingPoly.Merge(m, src) -} -func (m *BoundingPoly) XXX_Size() int { - return xxx_messageInfo_BoundingPoly.Size(m) -} -func (m *BoundingPoly) XXX_DiscardUnknown() { - xxx_messageInfo_BoundingPoly.DiscardUnknown(m) -} - -var xxx_messageInfo_BoundingPoly proto.InternalMessageInfo - -func (m *BoundingPoly) GetVertices() []*Vertex { - if m != nil { - return m.Vertices - } - return nil -} - -// A 3D position in the image, used primarily for Face detection landmarks. -// A valid Position must have both x and y coordinates. -// The position coordinates are in the same scale as the original image. -type Position 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"` - // Z coordinate (or depth). - Z float32 `protobuf:"fixed32,3,opt,name=z,proto3" json:"z,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a110c700536b1e95, []int{2} -} - -func (m *Position) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Position.Unmarshal(m, b) -} -func (m *Position) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Position.Marshal(b, m, deterministic) -} -func (m *Position) XXX_Merge(src proto.Message) { - xxx_messageInfo_Position.Merge(m, src) -} -func (m *Position) XXX_Size() int { - return xxx_messageInfo_Position.Size(m) -} -func (m *Position) XXX_DiscardUnknown() { - xxx_messageInfo_Position.DiscardUnknown(m) -} - -var xxx_messageInfo_Position proto.InternalMessageInfo - -func (m *Position) GetX() float32 { - if m != nil { - return m.X - } - return 0 -} - -func (m *Position) GetY() float32 { - if m != nil { - return m.Y - } - return 0 -} - -func (m *Position) GetZ() float32 { - if m != nil { - return m.Z - } - return 0 -} - -func init() { - proto.RegisterType((*Vertex)(nil), "google.cloud.vision.v1p1beta1.Vertex") - proto.RegisterType((*BoundingPoly)(nil), "google.cloud.vision.v1p1beta1.BoundingPoly") - proto.RegisterType((*Position)(nil), "google.cloud.vision.v1p1beta1.Position") -} - -func init() { - proto.RegisterFile("google/cloud/vision/v1p1beta1/geometry.proto", fileDescriptor_a110c700536b1e95) -} - -var fileDescriptor_a110c700536b1e95 = []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, 0x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35, 0x86, 0x24, 0x5b, - 0x52, 0x84, 0x26, 0xf4, 0x51, 0xf1, 0xab, 0xe9, 0xf5, 0xf0, 0x4f, 0xd0, 0xe7, 0xf8, 0xf0, 0x0d, - 0xb0, 0x9a, 0x86, 0x93, 0xc7, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x91, 0xa5, 0x86, 0xce, 0x82, - 0x01, 0x00, 0x00, -} 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 deleted file mode 100644 index e998480d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p1beta1/image_annotator.pb.go +++ /dev/null @@ -1,2036 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/vision/v1p1beta1/image_annotator.proto - -package vision - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - color "google.golang.org/genproto/googleapis/type/color" - latlng "google.golang.org/genproto/googleapis/type/latlng" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A bucketized representation of likelihood, which is intended to give clients -// highly stable results across model upgrades. -type Likelihood int32 - -const ( - // Unknown likelihood. - Likelihood_UNKNOWN Likelihood = 0 - // It is very unlikely that the image belongs to the specified vertical. - Likelihood_VERY_UNLIKELY Likelihood = 1 - // It is unlikely that the image belongs to the specified vertical. - Likelihood_UNLIKELY Likelihood = 2 - // It is possible that the image belongs to the specified vertical. - Likelihood_POSSIBLE Likelihood = 3 - // It is likely that the image belongs to the specified vertical. - Likelihood_LIKELY Likelihood = 4 - // It is very likely that the image belongs to the specified vertical. - Likelihood_VERY_LIKELY Likelihood = 5 -) - -var Likelihood_name = map[int32]string{ - 0: "UNKNOWN", - 1: "VERY_UNLIKELY", - 2: "UNLIKELY", - 3: "POSSIBLE", - 4: "LIKELY", - 5: "VERY_LIKELY", -} - -var Likelihood_value = map[string]int32{ - "UNKNOWN": 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_1f6928ee25f8ae1f, []int{0} -} - -// Type of image feature. -type Feature_Type int32 - -const ( - // Unspecified feature type. - Feature_TYPE_UNSPECIFIED Feature_Type = 0 - // Run face detection. - Feature_FACE_DETECTION Feature_Type = 1 - // Run landmark detection. - Feature_LANDMARK_DETECTION Feature_Type = 2 - // Run logo detection. - Feature_LOGO_DETECTION Feature_Type = 3 - // Run label detection. - Feature_LABEL_DETECTION Feature_Type = 4 - // Run OCR. - Feature_TEXT_DETECTION Feature_Type = 5 - // Run dense text document OCR. Takes precedence when both - // DOCUMENT_TEXT_DETECTION and TEXT_DETECTION are present. - Feature_DOCUMENT_TEXT_DETECTION Feature_Type = 11 - // Run computer vision models to compute image safe-search properties. - Feature_SAFE_SEARCH_DETECTION Feature_Type = 6 - // Compute a set of image properties, such as the image's dominant colors. - Feature_IMAGE_PROPERTIES Feature_Type = 7 - // Run crop hints. - Feature_CROP_HINTS Feature_Type = 9 - // Run web detection. - Feature_WEB_DETECTION Feature_Type = 10 -) - -var Feature_Type_name = map[int32]string{ - 0: "TYPE_UNSPECIFIED", - 1: "FACE_DETECTION", - 2: "LANDMARK_DETECTION", - 3: "LOGO_DETECTION", - 4: "LABEL_DETECTION", - 5: "TEXT_DETECTION", - 11: "DOCUMENT_TEXT_DETECTION", - 6: "SAFE_SEARCH_DETECTION", - 7: "IMAGE_PROPERTIES", - 9: "CROP_HINTS", - 10: "WEB_DETECTION", -} - -var Feature_Type_value = map[string]int32{ - "TYPE_UNSPECIFIED": 0, - "FACE_DETECTION": 1, - "LANDMARK_DETECTION": 2, - "LOGO_DETECTION": 3, - "LABEL_DETECTION": 4, - "TEXT_DETECTION": 5, - "DOCUMENT_TEXT_DETECTION": 11, - "SAFE_SEARCH_DETECTION": 6, - "IMAGE_PROPERTIES": 7, - "CROP_HINTS": 9, - "WEB_DETECTION": 10, -} - -func (x Feature_Type) String() string { - return proto.EnumName(Feature_Type_name, int32(x)) -} - -func (Feature_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1f6928ee25f8ae1f, []int{0, 0} -} - -// Face landmark (feature) type. -// Left and right are defined from the vantage of the viewer of the image -// without considering mirror projections typical of photos. So, `LEFT_EYE`, -// typically, is the person's right eye. -type FaceAnnotation_Landmark_Type int32 - -const ( - // Unknown face landmark detected. Should not be filled. - FaceAnnotation_Landmark_UNKNOWN_LANDMARK FaceAnnotation_Landmark_Type = 0 - // Left eye. - FaceAnnotation_Landmark_LEFT_EYE FaceAnnotation_Landmark_Type = 1 - // Right eye. - FaceAnnotation_Landmark_RIGHT_EYE FaceAnnotation_Landmark_Type = 2 - // Left of left eyebrow. - FaceAnnotation_Landmark_LEFT_OF_LEFT_EYEBROW FaceAnnotation_Landmark_Type = 3 - // Right of left eyebrow. - FaceAnnotation_Landmark_RIGHT_OF_LEFT_EYEBROW FaceAnnotation_Landmark_Type = 4 - // Left of right eyebrow. - FaceAnnotation_Landmark_LEFT_OF_RIGHT_EYEBROW FaceAnnotation_Landmark_Type = 5 - // Right of right eyebrow. - FaceAnnotation_Landmark_RIGHT_OF_RIGHT_EYEBROW FaceAnnotation_Landmark_Type = 6 - // Midpoint between eyes. - FaceAnnotation_Landmark_MIDPOINT_BETWEEN_EYES FaceAnnotation_Landmark_Type = 7 - // Nose tip. - FaceAnnotation_Landmark_NOSE_TIP FaceAnnotation_Landmark_Type = 8 - // Upper lip. - FaceAnnotation_Landmark_UPPER_LIP FaceAnnotation_Landmark_Type = 9 - // Lower lip. - FaceAnnotation_Landmark_LOWER_LIP FaceAnnotation_Landmark_Type = 10 - // Mouth left. - FaceAnnotation_Landmark_MOUTH_LEFT FaceAnnotation_Landmark_Type = 11 - // Mouth right. - FaceAnnotation_Landmark_MOUTH_RIGHT FaceAnnotation_Landmark_Type = 12 - // Mouth center. - FaceAnnotation_Landmark_MOUTH_CENTER FaceAnnotation_Landmark_Type = 13 - // Nose, bottom right. - FaceAnnotation_Landmark_NOSE_BOTTOM_RIGHT FaceAnnotation_Landmark_Type = 14 - // Nose, bottom left. - FaceAnnotation_Landmark_NOSE_BOTTOM_LEFT FaceAnnotation_Landmark_Type = 15 - // Nose, bottom center. - FaceAnnotation_Landmark_NOSE_BOTTOM_CENTER FaceAnnotation_Landmark_Type = 16 - // Left eye, top boundary. - FaceAnnotation_Landmark_LEFT_EYE_TOP_BOUNDARY FaceAnnotation_Landmark_Type = 17 - // Left eye, right corner. - FaceAnnotation_Landmark_LEFT_EYE_RIGHT_CORNER FaceAnnotation_Landmark_Type = 18 - // Left eye, bottom boundary. - FaceAnnotation_Landmark_LEFT_EYE_BOTTOM_BOUNDARY FaceAnnotation_Landmark_Type = 19 - // Left eye, left corner. - FaceAnnotation_Landmark_LEFT_EYE_LEFT_CORNER FaceAnnotation_Landmark_Type = 20 - // Right eye, top boundary. - FaceAnnotation_Landmark_RIGHT_EYE_TOP_BOUNDARY FaceAnnotation_Landmark_Type = 21 - // Right eye, right corner. - FaceAnnotation_Landmark_RIGHT_EYE_RIGHT_CORNER FaceAnnotation_Landmark_Type = 22 - // Right eye, bottom boundary. - FaceAnnotation_Landmark_RIGHT_EYE_BOTTOM_BOUNDARY FaceAnnotation_Landmark_Type = 23 - // Right eye, left corner. - FaceAnnotation_Landmark_RIGHT_EYE_LEFT_CORNER FaceAnnotation_Landmark_Type = 24 - // Left eyebrow, upper midpoint. - FaceAnnotation_Landmark_LEFT_EYEBROW_UPPER_MIDPOINT FaceAnnotation_Landmark_Type = 25 - // Right eyebrow, upper midpoint. - FaceAnnotation_Landmark_RIGHT_EYEBROW_UPPER_MIDPOINT FaceAnnotation_Landmark_Type = 26 - // Left ear tragion. - FaceAnnotation_Landmark_LEFT_EAR_TRAGION FaceAnnotation_Landmark_Type = 27 - // Right ear tragion. - FaceAnnotation_Landmark_RIGHT_EAR_TRAGION FaceAnnotation_Landmark_Type = 28 - // Left eye pupil. - FaceAnnotation_Landmark_LEFT_EYE_PUPIL FaceAnnotation_Landmark_Type = 29 - // Right eye pupil. - FaceAnnotation_Landmark_RIGHT_EYE_PUPIL FaceAnnotation_Landmark_Type = 30 - // Forehead glabella. - FaceAnnotation_Landmark_FOREHEAD_GLABELLA FaceAnnotation_Landmark_Type = 31 - // Chin gnathion. - FaceAnnotation_Landmark_CHIN_GNATHION FaceAnnotation_Landmark_Type = 32 - // Chin left gonion. - FaceAnnotation_Landmark_CHIN_LEFT_GONION FaceAnnotation_Landmark_Type = 33 - // Chin right gonion. - FaceAnnotation_Landmark_CHIN_RIGHT_GONION FaceAnnotation_Landmark_Type = 34 -) - -var FaceAnnotation_Landmark_Type_name = map[int32]string{ - 0: "UNKNOWN_LANDMARK", - 1: "LEFT_EYE", - 2: "RIGHT_EYE", - 3: "LEFT_OF_LEFT_EYEBROW", - 4: "RIGHT_OF_LEFT_EYEBROW", - 5: "LEFT_OF_RIGHT_EYEBROW", - 6: "RIGHT_OF_RIGHT_EYEBROW", - 7: "MIDPOINT_BETWEEN_EYES", - 8: "NOSE_TIP", - 9: "UPPER_LIP", - 10: "LOWER_LIP", - 11: "MOUTH_LEFT", - 12: "MOUTH_RIGHT", - 13: "MOUTH_CENTER", - 14: "NOSE_BOTTOM_RIGHT", - 15: "NOSE_BOTTOM_LEFT", - 16: "NOSE_BOTTOM_CENTER", - 17: "LEFT_EYE_TOP_BOUNDARY", - 18: "LEFT_EYE_RIGHT_CORNER", - 19: "LEFT_EYE_BOTTOM_BOUNDARY", - 20: "LEFT_EYE_LEFT_CORNER", - 21: "RIGHT_EYE_TOP_BOUNDARY", - 22: "RIGHT_EYE_RIGHT_CORNER", - 23: "RIGHT_EYE_BOTTOM_BOUNDARY", - 24: "RIGHT_EYE_LEFT_CORNER", - 25: "LEFT_EYEBROW_UPPER_MIDPOINT", - 26: "RIGHT_EYEBROW_UPPER_MIDPOINT", - 27: "LEFT_EAR_TRAGION", - 28: "RIGHT_EAR_TRAGION", - 29: "LEFT_EYE_PUPIL", - 30: "RIGHT_EYE_PUPIL", - 31: "FOREHEAD_GLABELLA", - 32: "CHIN_GNATHION", - 33: "CHIN_LEFT_GONION", - 34: "CHIN_RIGHT_GONION", -} - -var FaceAnnotation_Landmark_Type_value = map[string]int32{ - "UNKNOWN_LANDMARK": 0, - "LEFT_EYE": 1, - "RIGHT_EYE": 2, - "LEFT_OF_LEFT_EYEBROW": 3, - "RIGHT_OF_LEFT_EYEBROW": 4, - "LEFT_OF_RIGHT_EYEBROW": 5, - "RIGHT_OF_RIGHT_EYEBROW": 6, - "MIDPOINT_BETWEEN_EYES": 7, - "NOSE_TIP": 8, - "UPPER_LIP": 9, - "LOWER_LIP": 10, - "MOUTH_LEFT": 11, - "MOUTH_RIGHT": 12, - "MOUTH_CENTER": 13, - "NOSE_BOTTOM_RIGHT": 14, - "NOSE_BOTTOM_LEFT": 15, - "NOSE_BOTTOM_CENTER": 16, - "LEFT_EYE_TOP_BOUNDARY": 17, - "LEFT_EYE_RIGHT_CORNER": 18, - "LEFT_EYE_BOTTOM_BOUNDARY": 19, - "LEFT_EYE_LEFT_CORNER": 20, - "RIGHT_EYE_TOP_BOUNDARY": 21, - "RIGHT_EYE_RIGHT_CORNER": 22, - "RIGHT_EYE_BOTTOM_BOUNDARY": 23, - "RIGHT_EYE_LEFT_CORNER": 24, - "LEFT_EYEBROW_UPPER_MIDPOINT": 25, - "RIGHT_EYEBROW_UPPER_MIDPOINT": 26, - "LEFT_EAR_TRAGION": 27, - "RIGHT_EAR_TRAGION": 28, - "LEFT_EYE_PUPIL": 29, - "RIGHT_EYE_PUPIL": 30, - "FOREHEAD_GLABELLA": 31, - "CHIN_GNATHION": 32, - "CHIN_LEFT_GONION": 33, - "CHIN_RIGHT_GONION": 34, -} - -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_1f6928ee25f8ae1f, []int{3, 0, 0} -} - -// Users describe the type of Google Cloud Vision API tasks to perform over -// images by using *Feature*s. Each Feature indicates a type of image -// detection task to perform. Features encode the Cloud Vision API -// vertical to operate on and the number of top-scoring results to return. -type Feature struct { - // The feature type. - Type Feature_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.vision.v1p1beta1.Feature_Type" json:"type,omitempty"` - // Maximum number of results of this type. - MaxResults int32 `protobuf:"varint,2,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"` - // Model to use for the feature. - // 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 *Feature) Reset() { *m = Feature{} } -func (m *Feature) String() string { return proto.CompactTextString(m) } -func (*Feature) ProtoMessage() {} -func (*Feature) Descriptor() ([]byte, []int) { - return fileDescriptor_1f6928ee25f8ae1f, []int{0} -} - -func (m *Feature) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Feature.Unmarshal(m, b) -} -func (m *Feature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Feature.Marshal(b, m, deterministic) -} -func (m *Feature) XXX_Merge(src proto.Message) { - xxx_messageInfo_Feature.Merge(m, src) -} -func (m *Feature) XXX_Size() int { - return xxx_messageInfo_Feature.Size(m) -} -func (m *Feature) XXX_DiscardUnknown() { - xxx_messageInfo_Feature.DiscardUnknown(m) -} - -var xxx_messageInfo_Feature proto.InternalMessageInfo - -func (m *Feature) GetType() Feature_Type { - if m != nil { - return m.Type - } - return Feature_TYPE_UNSPECIFIED -} - -func (m *Feature) GetMaxResults() int32 { - if m != nil { - return m.MaxResults - } - return 0 -} - -func (m *Feature) GetModel() string { - if m != nil { - return m.Model - } - return "" -} - -// External image source (Google Cloud Storage image location). -type ImageSource struct { - // NOTE: For new code `image_uri` below is preferred. - // Google Cloud Storage image URI, which must be in the following form: - // `gs://bucket_name/object_name` (for details, see - // [Google Cloud Storage Request - // URIs](https://cloud.google.com/storage/docs/reference-uris)). - // NOTE: Cloud Storage object versioning is not supported. - GcsImageUri string `protobuf:"bytes,1,opt,name=gcs_image_uri,json=gcsImageUri,proto3" json:"gcs_image_uri,omitempty"` - // Image URI which supports: - // 1) Google Cloud Storage image URI, which must be in the following form: - // `gs://bucket_name/object_name` (for details, see - // [Google Cloud Storage Request - // URIs](https://cloud.google.com/storage/docs/reference-uris)). - // NOTE: Cloud Storage object versioning is not supported. - // 2) Publicly accessible image HTTP/HTTPS URL. - // This is preferred over the legacy `gcs_image_uri` above. When both - // `gcs_image_uri` and `image_uri` are specified, `image_uri` takes - // precedence. - ImageUri string `protobuf:"bytes,2,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1f6928ee25f8ae1f, []int{1} -} - -func (m *ImageSource) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageSource.Unmarshal(m, b) -} -func (m *ImageSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageSource.Marshal(b, m, deterministic) -} -func (m *ImageSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageSource.Merge(m, src) -} -func (m *ImageSource) XXX_Size() int { - return xxx_messageInfo_ImageSource.Size(m) -} -func (m *ImageSource) XXX_DiscardUnknown() { - xxx_messageInfo_ImageSource.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageSource proto.InternalMessageInfo - -func (m *ImageSource) GetGcsImageUri() string { - if m != nil { - return m.GcsImageUri - } - return "" -} - -func (m *ImageSource) GetImageUri() string { - if m != nil { - return m.ImageUri - } - return "" -} - -// Client image to perform Google Cloud Vision API tasks over. -type Image struct { - // Image content, represented as a stream of bytes. - // Note: as with all `bytes` fields, protobuffers use a pure binary - // representation, whereas JSON representations use base64. - Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` - // Google Cloud Storage image location. If both `content` and `source` - // are provided for an image, `content` takes precedence and is - // used to perform the image annotation request. - Source *ImageSource `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1f6928ee25f8ae1f, []int{2} -} - -func (m *Image) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Image.Unmarshal(m, b) -} -func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Image.Marshal(b, m, deterministic) -} -func (m *Image) XXX_Merge(src proto.Message) { - xxx_messageInfo_Image.Merge(m, src) -} -func (m *Image) XXX_Size() int { - return xxx_messageInfo_Image.Size(m) -} -func (m *Image) XXX_DiscardUnknown() { - xxx_messageInfo_Image.DiscardUnknown(m) -} - -var xxx_messageInfo_Image proto.InternalMessageInfo - -func (m *Image) GetContent() []byte { - if m != nil { - return m.Content - } - return nil -} - -func (m *Image) GetSource() *ImageSource { - if m != nil { - return m.Source - } - return nil -} - -// A face annotation object contains the results of face detection. -type FaceAnnotation struct { - // The bounding polygon around the face. The coordinates of the bounding box - // are in the original image's scale, as returned in `ImageParams`. - // The bounding box is computed to "frame" the face in accordance with human - // expectations. It is based on the landmarker results. - // Note that one or more x and/or y coordinates may not be generated in the - // `BoundingPoly` (the polygon will be unbounded) if only a partial face - // appears in the image to be annotated. - BoundingPoly *BoundingPoly `protobuf:"bytes,1,opt,name=bounding_poly,json=boundingPoly,proto3" json:"bounding_poly,omitempty"` - // The `fd_bounding_poly` bounding polygon is tighter than the - // `boundingPoly`, and encloses only the skin part of the face. Typically, it - // is used to eliminate the face from any image analysis that detects the - // "amount of skin" visible in an image. It is not based on the - // landmarker results, only on the initial face detection, hence - // the fd (face detection) prefix. - FdBoundingPoly *BoundingPoly `protobuf:"bytes,2,opt,name=fd_bounding_poly,json=fdBoundingPoly,proto3" json:"fd_bounding_poly,omitempty"` - // Detected face landmarks. - Landmarks []*FaceAnnotation_Landmark `protobuf:"bytes,3,rep,name=landmarks,proto3" json:"landmarks,omitempty"` - // Roll angle, which indicates the amount of clockwise/anti-clockwise rotation - // of the face relative to the image vertical about the axis perpendicular to - // the face. Range [-180,180]. - RollAngle float32 `protobuf:"fixed32,4,opt,name=roll_angle,json=rollAngle,proto3" json:"roll_angle,omitempty"` - // Yaw angle, which indicates the leftward/rightward angle that the face is - // pointing relative to the vertical plane perpendicular to the image. Range - // [-180,180]. - PanAngle float32 `protobuf:"fixed32,5,opt,name=pan_angle,json=panAngle,proto3" json:"pan_angle,omitempty"` - // Pitch angle, which indicates the upwards/downwards angle that the face is - // pointing relative to the image's horizontal plane. Range [-180,180]. - TiltAngle float32 `protobuf:"fixed32,6,opt,name=tilt_angle,json=tiltAngle,proto3" json:"tilt_angle,omitempty"` - // Detection confidence. Range [0, 1]. - DetectionConfidence float32 `protobuf:"fixed32,7,opt,name=detection_confidence,json=detectionConfidence,proto3" json:"detection_confidence,omitempty"` - // Face landmarking confidence. Range [0, 1]. - LandmarkingConfidence float32 `protobuf:"fixed32,8,opt,name=landmarking_confidence,json=landmarkingConfidence,proto3" json:"landmarking_confidence,omitempty"` - // Joy likelihood. - JoyLikelihood Likelihood `protobuf:"varint,9,opt,name=joy_likelihood,json=joyLikelihood,proto3,enum=google.cloud.vision.v1p1beta1.Likelihood" json:"joy_likelihood,omitempty"` - // Sorrow likelihood. - SorrowLikelihood Likelihood `protobuf:"varint,10,opt,name=sorrow_likelihood,json=sorrowLikelihood,proto3,enum=google.cloud.vision.v1p1beta1.Likelihood" json:"sorrow_likelihood,omitempty"` - // Anger likelihood. - AngerLikelihood Likelihood `protobuf:"varint,11,opt,name=anger_likelihood,json=angerLikelihood,proto3,enum=google.cloud.vision.v1p1beta1.Likelihood" json:"anger_likelihood,omitempty"` - // Surprise likelihood. - SurpriseLikelihood Likelihood `protobuf:"varint,12,opt,name=surprise_likelihood,json=surpriseLikelihood,proto3,enum=google.cloud.vision.v1p1beta1.Likelihood" json:"surprise_likelihood,omitempty"` - // Under-exposed likelihood. - UnderExposedLikelihood Likelihood `protobuf:"varint,13,opt,name=under_exposed_likelihood,json=underExposedLikelihood,proto3,enum=google.cloud.vision.v1p1beta1.Likelihood" json:"under_exposed_likelihood,omitempty"` - // Blurred likelihood. - BlurredLikelihood Likelihood `protobuf:"varint,14,opt,name=blurred_likelihood,json=blurredLikelihood,proto3,enum=google.cloud.vision.v1p1beta1.Likelihood" json:"blurred_likelihood,omitempty"` - // Headwear likelihood. - HeadwearLikelihood Likelihood `protobuf:"varint,15,opt,name=headwear_likelihood,json=headwearLikelihood,proto3,enum=google.cloud.vision.v1p1beta1.Likelihood" json:"headwear_likelihood,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1f6928ee25f8ae1f, []int{3} -} - -func (m *FaceAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FaceAnnotation.Unmarshal(m, b) -} -func (m *FaceAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FaceAnnotation.Marshal(b, m, deterministic) -} -func (m *FaceAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_FaceAnnotation.Merge(m, src) -} -func (m *FaceAnnotation) XXX_Size() int { - return xxx_messageInfo_FaceAnnotation.Size(m) -} -func (m *FaceAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_FaceAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_FaceAnnotation proto.InternalMessageInfo - -func (m *FaceAnnotation) GetBoundingPoly() *BoundingPoly { - if m != nil { - return m.BoundingPoly - } - return nil -} - -func (m *FaceAnnotation) GetFdBoundingPoly() *BoundingPoly { - if m != nil { - return m.FdBoundingPoly - } - return nil -} - -func (m *FaceAnnotation) GetLandmarks() []*FaceAnnotation_Landmark { - if m != nil { - return m.Landmarks - } - return nil -} - -func (m *FaceAnnotation) GetRollAngle() float32 { - if m != nil { - return m.RollAngle - } - return 0 -} - -func (m *FaceAnnotation) GetPanAngle() float32 { - if m != nil { - return m.PanAngle - } - return 0 -} - -func (m *FaceAnnotation) GetTiltAngle() float32 { - if m != nil { - return m.TiltAngle - } - return 0 -} - -func (m *FaceAnnotation) GetDetectionConfidence() float32 { - if m != nil { - return m.DetectionConfidence - } - return 0 -} - -func (m *FaceAnnotation) GetLandmarkingConfidence() float32 { - if m != nil { - return m.LandmarkingConfidence - } - return 0 -} - -func (m *FaceAnnotation) GetJoyLikelihood() Likelihood { - if m != nil { - return m.JoyLikelihood - } - return Likelihood_UNKNOWN -} - -func (m *FaceAnnotation) GetSorrowLikelihood() Likelihood { - if m != nil { - return m.SorrowLikelihood - } - return Likelihood_UNKNOWN -} - -func (m *FaceAnnotation) GetAngerLikelihood() Likelihood { - if m != nil { - return m.AngerLikelihood - } - return Likelihood_UNKNOWN -} - -func (m *FaceAnnotation) GetSurpriseLikelihood() Likelihood { - if m != nil { - return m.SurpriseLikelihood - } - return Likelihood_UNKNOWN -} - -func (m *FaceAnnotation) GetUnderExposedLikelihood() Likelihood { - if m != nil { - return m.UnderExposedLikelihood - } - return Likelihood_UNKNOWN -} - -func (m *FaceAnnotation) GetBlurredLikelihood() Likelihood { - if m != nil { - return m.BlurredLikelihood - } - return Likelihood_UNKNOWN -} - -func (m *FaceAnnotation) GetHeadwearLikelihood() Likelihood { - if m != nil { - return m.HeadwearLikelihood - } - return Likelihood_UNKNOWN -} - -// A face-specific landmark (for example, a face feature). -type FaceAnnotation_Landmark struct { - // Face landmark type. - Type FaceAnnotation_Landmark_Type `protobuf:"varint,3,opt,name=type,proto3,enum=google.cloud.vision.v1p1beta1.FaceAnnotation_Landmark_Type" json:"type,omitempty"` - // Face landmark position. - Position *Position `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1f6928ee25f8ae1f, []int{3, 0} -} - -func (m *FaceAnnotation_Landmark) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FaceAnnotation_Landmark.Unmarshal(m, b) -} -func (m *FaceAnnotation_Landmark) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FaceAnnotation_Landmark.Marshal(b, m, deterministic) -} -func (m *FaceAnnotation_Landmark) XXX_Merge(src proto.Message) { - xxx_messageInfo_FaceAnnotation_Landmark.Merge(m, src) -} -func (m *FaceAnnotation_Landmark) XXX_Size() int { - return xxx_messageInfo_FaceAnnotation_Landmark.Size(m) -} -func (m *FaceAnnotation_Landmark) XXX_DiscardUnknown() { - xxx_messageInfo_FaceAnnotation_Landmark.DiscardUnknown(m) -} - -var xxx_messageInfo_FaceAnnotation_Landmark proto.InternalMessageInfo - -func (m *FaceAnnotation_Landmark) GetType() FaceAnnotation_Landmark_Type { - if m != nil { - return m.Type - } - return FaceAnnotation_Landmark_UNKNOWN_LANDMARK -} - -func (m *FaceAnnotation_Landmark) GetPosition() *Position { - if m != nil { - return m.Position - } - return nil -} - -// Detected entity location information. -type LocationInfo struct { - // lat/long location coordinates. - LatLng *latlng.LatLng `protobuf:"bytes,1,opt,name=lat_lng,json=latLng,proto3" json:"lat_lng,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_1f6928ee25f8ae1f, []int{4} -} - -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 (m *LocationInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocationInfo.Merge(m, 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) GetLatLng() *latlng.LatLng { - if m != nil { - return m.LatLng - } - return nil -} - -// A `Property` consists of a user-supplied name/value pair. -type Property struct { - // Name of the property. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Value of the property. - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - // Value of numeric properties. - Uint64Value uint64 `protobuf:"varint,3,opt,name=uint64_value,json=uint64Value,proto3" json:"uint64_value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1f6928ee25f8ae1f, []int{5} -} - -func (m *Property) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Property.Unmarshal(m, b) -} -func (m *Property) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Property.Marshal(b, m, deterministic) -} -func (m *Property) XXX_Merge(src proto.Message) { - xxx_messageInfo_Property.Merge(m, src) -} -func (m *Property) XXX_Size() int { - return xxx_messageInfo_Property.Size(m) -} -func (m *Property) XXX_DiscardUnknown() { - xxx_messageInfo_Property.DiscardUnknown(m) -} - -var xxx_messageInfo_Property proto.InternalMessageInfo - -func (m *Property) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Property) GetValue() string { - if m != nil { - return m.Value - } - return "" -} - -func (m *Property) GetUint64Value() uint64 { - if m != nil { - return m.Uint64Value - } - return 0 -} - -// Set of detected entity features. -type EntityAnnotation struct { - // Opaque entity ID. Some IDs may be available in - // [Google Knowledge Graph Search - // API](https://developers.google.com/knowledge-graph/). - Mid string `protobuf:"bytes,1,opt,name=mid,proto3" json:"mid,omitempty"` - // The language code for the locale in which the entity textual - // `description` is expressed. - Locale string `protobuf:"bytes,2,opt,name=locale,proto3" json:"locale,omitempty"` - // Entity textual description, expressed in its `locale` language. - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - // Overall score of the result. Range [0, 1]. - Score float32 `protobuf:"fixed32,4,opt,name=score,proto3" json:"score,omitempty"` - // The accuracy of the entity detection in an image. - // 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"` - // 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 - // detected distant towering building, even though the confidence that - // there is a tower in each image may be the same. Range [0, 1]. - Topicality float32 `protobuf:"fixed32,6,opt,name=topicality,proto3" json:"topicality,omitempty"` - // Image region to which this entity belongs. Not produced - // for `LABEL_DETECTION` features. - BoundingPoly *BoundingPoly `protobuf:"bytes,7,opt,name=bounding_poly,json=boundingPoly,proto3" json:"bounding_poly,omitempty"` - // The location information for the detected entity. Multiple - // `LocationInfo` elements can be present because one location may - // indicate the location of the scene in the image, and another location - // may indicate the location of the place where the image was taken. - // Location information is usually present for landmarks. - Locations []*LocationInfo `protobuf:"bytes,8,rep,name=locations,proto3" json:"locations,omitempty"` - // Some entities may have optional user-supplied `Property` (name/value) - // fields, such a score or string that qualifies the entity. - Properties []*Property `protobuf:"bytes,9,rep,name=properties,proto3" json:"properties,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1f6928ee25f8ae1f, []int{6} -} - -func (m *EntityAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EntityAnnotation.Unmarshal(m, b) -} -func (m *EntityAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EntityAnnotation.Marshal(b, m, deterministic) -} -func (m *EntityAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_EntityAnnotation.Merge(m, src) -} -func (m *EntityAnnotation) XXX_Size() int { - return xxx_messageInfo_EntityAnnotation.Size(m) -} -func (m *EntityAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_EntityAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_EntityAnnotation proto.InternalMessageInfo - -func (m *EntityAnnotation) GetMid() string { - if m != nil { - return m.Mid - } - return "" -} - -func (m *EntityAnnotation) GetLocale() string { - if m != nil { - return m.Locale - } - return "" -} - -func (m *EntityAnnotation) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *EntityAnnotation) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -func (m *EntityAnnotation) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -func (m *EntityAnnotation) GetTopicality() float32 { - if m != nil { - return m.Topicality - } - return 0 -} - -func (m *EntityAnnotation) GetBoundingPoly() *BoundingPoly { - if m != nil { - return m.BoundingPoly - } - return nil -} - -func (m *EntityAnnotation) GetLocations() []*LocationInfo { - if m != nil { - return m.Locations - } - return nil -} - -func (m *EntityAnnotation) GetProperties() []*Property { - if m != nil { - return m.Properties - } - return nil -} - -// Set of features pertaining to the image, computed by computer vision -// methods over safe-search verticals (for example, adult, spoof, medical, -// violence). -type SafeSearchAnnotation struct { - // Represents the adult content likelihood for the image. Adult content may - // contain elements such as nudity, pornographic images or cartoons, or - // sexual activities. - Adult Likelihood `protobuf:"varint,1,opt,name=adult,proto3,enum=google.cloud.vision.v1p1beta1.Likelihood" json:"adult,omitempty"` - // Spoof likelihood. The likelihood that an modification - // was made to the image's canonical version to make it appear - // funny or offensive. - Spoof Likelihood `protobuf:"varint,2,opt,name=spoof,proto3,enum=google.cloud.vision.v1p1beta1.Likelihood" json:"spoof,omitempty"` - // Likelihood that this is a medical image. - Medical Likelihood `protobuf:"varint,3,opt,name=medical,proto3,enum=google.cloud.vision.v1p1beta1.Likelihood" json:"medical,omitempty"` - // Likelihood that this image contains violent content. - Violence Likelihood `protobuf:"varint,4,opt,name=violence,proto3,enum=google.cloud.vision.v1p1beta1.Likelihood" json:"violence,omitempty"` - // Likelihood that the request image contains racy content. Racy content may - // include (but is not limited to) skimpy or sheer clothing, strategically - // covered nudity, lewd or provocative poses, or close-ups of sensitive - // body areas. - Racy Likelihood `protobuf:"varint,9,opt,name=racy,proto3,enum=google.cloud.vision.v1p1beta1.Likelihood" json:"racy,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1f6928ee25f8ae1f, []int{7} -} - -func (m *SafeSearchAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SafeSearchAnnotation.Unmarshal(m, b) -} -func (m *SafeSearchAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SafeSearchAnnotation.Marshal(b, m, deterministic) -} -func (m *SafeSearchAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_SafeSearchAnnotation.Merge(m, src) -} -func (m *SafeSearchAnnotation) XXX_Size() int { - return xxx_messageInfo_SafeSearchAnnotation.Size(m) -} -func (m *SafeSearchAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_SafeSearchAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_SafeSearchAnnotation proto.InternalMessageInfo - -func (m *SafeSearchAnnotation) GetAdult() Likelihood { - if m != nil { - return m.Adult - } - return Likelihood_UNKNOWN -} - -func (m *SafeSearchAnnotation) GetSpoof() Likelihood { - if m != nil { - return m.Spoof - } - return Likelihood_UNKNOWN -} - -func (m *SafeSearchAnnotation) GetMedical() Likelihood { - if m != nil { - return m.Medical - } - return Likelihood_UNKNOWN -} - -func (m *SafeSearchAnnotation) GetViolence() Likelihood { - if m != nil { - return m.Violence - } - return Likelihood_UNKNOWN -} - -func (m *SafeSearchAnnotation) GetRacy() Likelihood { - if m != nil { - return m.Racy - } - return Likelihood_UNKNOWN -} - -// Rectangle determined by min and max `LatLng` pairs. -type LatLongRect struct { - // Min lat/long pair. - MinLatLng *latlng.LatLng `protobuf:"bytes,1,opt,name=min_lat_lng,json=minLatLng,proto3" json:"min_lat_lng,omitempty"` - // Max lat/long pair. - MaxLatLng *latlng.LatLng `protobuf:"bytes,2,opt,name=max_lat_lng,json=maxLatLng,proto3" json:"max_lat_lng,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1f6928ee25f8ae1f, []int{8} -} - -func (m *LatLongRect) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LatLongRect.Unmarshal(m, b) -} -func (m *LatLongRect) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LatLongRect.Marshal(b, m, deterministic) -} -func (m *LatLongRect) XXX_Merge(src proto.Message) { - xxx_messageInfo_LatLongRect.Merge(m, src) -} -func (m *LatLongRect) XXX_Size() int { - return xxx_messageInfo_LatLongRect.Size(m) -} -func (m *LatLongRect) XXX_DiscardUnknown() { - xxx_messageInfo_LatLongRect.DiscardUnknown(m) -} - -var xxx_messageInfo_LatLongRect proto.InternalMessageInfo - -func (m *LatLongRect) GetMinLatLng() *latlng.LatLng { - if m != nil { - return m.MinLatLng - } - return nil -} - -func (m *LatLongRect) GetMaxLatLng() *latlng.LatLng { - if m != nil { - return m.MaxLatLng - } - return nil -} - -// Color information consists of RGB channels, score, and the fraction of -// the image that the color occupies in the image. -type ColorInfo struct { - // RGB components of the color. - Color *color.Color `protobuf:"bytes,1,opt,name=color,proto3" json:"color,omitempty"` - // Image-specific score for this color. Value in range [0, 1]. - Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"` - // The fraction of pixels the color occupies in the image. - // Value in range [0, 1]. - PixelFraction float32 `protobuf:"fixed32,3,opt,name=pixel_fraction,json=pixelFraction,proto3" json:"pixel_fraction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1f6928ee25f8ae1f, []int{9} -} - -func (m *ColorInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ColorInfo.Unmarshal(m, b) -} -func (m *ColorInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ColorInfo.Marshal(b, m, deterministic) -} -func (m *ColorInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ColorInfo.Merge(m, src) -} -func (m *ColorInfo) XXX_Size() int { - return xxx_messageInfo_ColorInfo.Size(m) -} -func (m *ColorInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ColorInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_ColorInfo proto.InternalMessageInfo - -func (m *ColorInfo) GetColor() *color.Color { - if m != nil { - return m.Color - } - return nil -} - -func (m *ColorInfo) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -func (m *ColorInfo) GetPixelFraction() float32 { - if m != nil { - return m.PixelFraction - } - return 0 -} - -// Set of dominant colors and their corresponding scores. -type DominantColorsAnnotation struct { - // RGB color values with their score and pixel fraction. - Colors []*ColorInfo `protobuf:"bytes,1,rep,name=colors,proto3" json:"colors,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DominantColorsAnnotation) Reset() { *m = DominantColorsAnnotation{} } -func (m *DominantColorsAnnotation) String() string { return proto.CompactTextString(m) } -func (*DominantColorsAnnotation) ProtoMessage() {} -func (*DominantColorsAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_1f6928ee25f8ae1f, []int{10} -} - -func (m *DominantColorsAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DominantColorsAnnotation.Unmarshal(m, b) -} -func (m *DominantColorsAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DominantColorsAnnotation.Marshal(b, m, deterministic) -} -func (m *DominantColorsAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_DominantColorsAnnotation.Merge(m, src) -} -func (m *DominantColorsAnnotation) XXX_Size() int { - return xxx_messageInfo_DominantColorsAnnotation.Size(m) -} -func (m *DominantColorsAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_DominantColorsAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_DominantColorsAnnotation proto.InternalMessageInfo - -func (m *DominantColorsAnnotation) GetColors() []*ColorInfo { - if m != nil { - return m.Colors - } - return nil -} - -// Stores image properties, such as dominant colors. -type ImageProperties struct { - // If present, dominant colors completed successfully. - DominantColors *DominantColorsAnnotation `protobuf:"bytes,1,opt,name=dominant_colors,json=dominantColors,proto3" json:"dominant_colors,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1f6928ee25f8ae1f, []int{11} -} - -func (m *ImageProperties) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageProperties.Unmarshal(m, b) -} -func (m *ImageProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageProperties.Marshal(b, m, deterministic) -} -func (m *ImageProperties) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageProperties.Merge(m, src) -} -func (m *ImageProperties) XXX_Size() int { - return xxx_messageInfo_ImageProperties.Size(m) -} -func (m *ImageProperties) XXX_DiscardUnknown() { - xxx_messageInfo_ImageProperties.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageProperties proto.InternalMessageInfo - -func (m *ImageProperties) GetDominantColors() *DominantColorsAnnotation { - if m != nil { - return m.DominantColors - } - return nil -} - -// Single crop hint that is used to generate a new crop when serving an image. -type CropHint struct { - // The bounding polygon for the crop region. The coordinates of the bounding - // box are in the original image's scale, as returned in `ImageParams`. - BoundingPoly *BoundingPoly `protobuf:"bytes,1,opt,name=bounding_poly,json=boundingPoly,proto3" json:"bounding_poly,omitempty"` - // Confidence of this being a salient region. Range [0, 1]. - Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"` - // Fraction of importance of this salient region with respect to the original - // image. - ImportanceFraction float32 `protobuf:"fixed32,3,opt,name=importance_fraction,json=importanceFraction,proto3" json:"importance_fraction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1f6928ee25f8ae1f, []int{12} -} - -func (m *CropHint) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CropHint.Unmarshal(m, b) -} -func (m *CropHint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CropHint.Marshal(b, m, deterministic) -} -func (m *CropHint) XXX_Merge(src proto.Message) { - xxx_messageInfo_CropHint.Merge(m, src) -} -func (m *CropHint) XXX_Size() int { - return xxx_messageInfo_CropHint.Size(m) -} -func (m *CropHint) XXX_DiscardUnknown() { - xxx_messageInfo_CropHint.DiscardUnknown(m) -} - -var xxx_messageInfo_CropHint proto.InternalMessageInfo - -func (m *CropHint) GetBoundingPoly() *BoundingPoly { - if m != nil { - return m.BoundingPoly - } - return nil -} - -func (m *CropHint) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -func (m *CropHint) GetImportanceFraction() float32 { - if m != nil { - return m.ImportanceFraction - } - return 0 -} - -// Set of crop hints that are used to generate new crops when serving images. -type CropHintsAnnotation struct { - // Crop hint results. - CropHints []*CropHint `protobuf:"bytes,1,rep,name=crop_hints,json=cropHints,proto3" json:"crop_hints,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1f6928ee25f8ae1f, []int{13} -} - -func (m *CropHintsAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CropHintsAnnotation.Unmarshal(m, b) -} -func (m *CropHintsAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CropHintsAnnotation.Marshal(b, m, deterministic) -} -func (m *CropHintsAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CropHintsAnnotation.Merge(m, src) -} -func (m *CropHintsAnnotation) XXX_Size() int { - return xxx_messageInfo_CropHintsAnnotation.Size(m) -} -func (m *CropHintsAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_CropHintsAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_CropHintsAnnotation proto.InternalMessageInfo - -func (m *CropHintsAnnotation) GetCropHints() []*CropHint { - if m != nil { - return m.CropHints - } - return nil -} - -// Parameters for crop hints annotation request. -type CropHintsParams struct { - // Aspect ratios in floats, representing the ratio of the width to the height - // of the image. For example, if the desired aspect ratio is 4/3, the - // corresponding float value should be 1.33333. If not specified, the - // best possible crop is returned. The number of provided aspect ratios is - // limited to a maximum of 16; any aspect ratios provided after the 16th are - // ignored. - AspectRatios []float32 `protobuf:"fixed32,1,rep,packed,name=aspect_ratios,json=aspectRatios,proto3" json:"aspect_ratios,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1f6928ee25f8ae1f, []int{14} -} - -func (m *CropHintsParams) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CropHintsParams.Unmarshal(m, b) -} -func (m *CropHintsParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CropHintsParams.Marshal(b, m, deterministic) -} -func (m *CropHintsParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_CropHintsParams.Merge(m, src) -} -func (m *CropHintsParams) XXX_Size() int { - return xxx_messageInfo_CropHintsParams.Size(m) -} -func (m *CropHintsParams) XXX_DiscardUnknown() { - xxx_messageInfo_CropHintsParams.DiscardUnknown(m) -} - -var xxx_messageInfo_CropHintsParams proto.InternalMessageInfo - -func (m *CropHintsParams) GetAspectRatios() []float32 { - if m != nil { - return m.AspectRatios - } - return nil -} - -// Parameters for web detection request. -type WebDetectionParams struct { - // Whether to include results derived from the geo information in the image. - IncludeGeoResults bool `protobuf:"varint,2,opt,name=include_geo_results,json=includeGeoResults,proto3" json:"include_geo_results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1f6928ee25f8ae1f, []int{15} -} - -func (m *WebDetectionParams) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebDetectionParams.Unmarshal(m, b) -} -func (m *WebDetectionParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebDetectionParams.Marshal(b, m, deterministic) -} -func (m *WebDetectionParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebDetectionParams.Merge(m, src) -} -func (m *WebDetectionParams) XXX_Size() int { - return xxx_messageInfo_WebDetectionParams.Size(m) -} -func (m *WebDetectionParams) XXX_DiscardUnknown() { - xxx_messageInfo_WebDetectionParams.DiscardUnknown(m) -} - -var xxx_messageInfo_WebDetectionParams proto.InternalMessageInfo - -func (m *WebDetectionParams) GetIncludeGeoResults() bool { - if m != nil { - return m.IncludeGeoResults - } - return false -} - -// Image context and/or feature-specific parameters. -type ImageContext struct { - // lat/long rectangle that specifies the location of the image. - LatLongRect *LatLongRect `protobuf:"bytes,1,opt,name=lat_long_rect,json=latLongRect,proto3" json:"lat_long_rect,omitempty"` - // List of languages to use for TEXT_DETECTION. In most cases, an empty value - // yields the best results since it enables automatic language detection. For - // languages based on the Latin alphabet, setting `language_hints` is not - // needed. In rare cases, when the language of the text in the image is known, - // setting a hint will help get better results (although it will be a - // significant hindrance if the hint is wrong). Text detection returns an - // error if one or more of the specified languages is not one of the - // [supported languages](/vision/docs/languages). - 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 web detection. - WebDetectionParams *WebDetectionParams `protobuf:"bytes,6,opt,name=web_detection_params,json=webDetectionParams,proto3" json:"web_detection_params,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1f6928ee25f8ae1f, []int{16} -} - -func (m *ImageContext) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageContext.Unmarshal(m, b) -} -func (m *ImageContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageContext.Marshal(b, m, deterministic) -} -func (m *ImageContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageContext.Merge(m, src) -} -func (m *ImageContext) XXX_Size() int { - return xxx_messageInfo_ImageContext.Size(m) -} -func (m *ImageContext) XXX_DiscardUnknown() { - xxx_messageInfo_ImageContext.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageContext proto.InternalMessageInfo - -func (m *ImageContext) GetLatLongRect() *LatLongRect { - if m != nil { - return m.LatLongRect - } - return nil -} - -func (m *ImageContext) GetLanguageHints() []string { - if m != nil { - return m.LanguageHints - } - return nil -} - -func (m *ImageContext) GetCropHintsParams() *CropHintsParams { - if m != nil { - return m.CropHintsParams - } - return nil -} - -func (m *ImageContext) GetWebDetectionParams() *WebDetectionParams { - if m != nil { - return m.WebDetectionParams - } - return nil -} - -// Request for performing Google Cloud Vision API tasks over a user-provided -// image, with user-requested features. -type AnnotateImageRequest struct { - // The image to be processed. - Image *Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` - // Requested features. - Features []*Feature `protobuf:"bytes,2,rep,name=features,proto3" json:"features,omitempty"` - // Additional context that may accompany the image. - ImageContext *ImageContext `protobuf:"bytes,3,opt,name=image_context,json=imageContext,proto3" json:"image_context,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1f6928ee25f8ae1f, []int{17} -} - -func (m *AnnotateImageRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotateImageRequest.Unmarshal(m, b) -} -func (m *AnnotateImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotateImageRequest.Marshal(b, m, deterministic) -} -func (m *AnnotateImageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateImageRequest.Merge(m, src) -} -func (m *AnnotateImageRequest) XXX_Size() int { - return xxx_messageInfo_AnnotateImageRequest.Size(m) -} -func (m *AnnotateImageRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotateImageRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotateImageRequest proto.InternalMessageInfo - -func (m *AnnotateImageRequest) GetImage() *Image { - if m != nil { - return m.Image - } - return nil -} - -func (m *AnnotateImageRequest) GetFeatures() []*Feature { - if m != nil { - return m.Features - } - return nil -} - -func (m *AnnotateImageRequest) GetImageContext() *ImageContext { - if m != nil { - return m.ImageContext - } - return nil -} - -// Response to an image annotation request. -type AnnotateImageResponse struct { - // If present, face detection has completed successfully. - FaceAnnotations []*FaceAnnotation `protobuf:"bytes,1,rep,name=face_annotations,json=faceAnnotations,proto3" json:"face_annotations,omitempty"` - // If present, landmark detection has completed successfully. - LandmarkAnnotations []*EntityAnnotation `protobuf:"bytes,2,rep,name=landmark_annotations,json=landmarkAnnotations,proto3" json:"landmark_annotations,omitempty"` - // If present, logo detection has completed successfully. - 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, 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 - // completed successfully. - // This annotation provides the structural hierarchy for the OCR detected - // text. - FullTextAnnotation *TextAnnotation `protobuf:"bytes,12,opt,name=full_text_annotation,json=fullTextAnnotation,proto3" json:"full_text_annotation,omitempty"` - // If present, safe-search annotation has completed successfully. - SafeSearchAnnotation *SafeSearchAnnotation `protobuf:"bytes,6,opt,name=safe_search_annotation,json=safeSearchAnnotation,proto3" json:"safe_search_annotation,omitempty"` - // If present, image properties were extracted successfully. - ImagePropertiesAnnotation *ImageProperties `protobuf:"bytes,8,opt,name=image_properties_annotation,json=imagePropertiesAnnotation,proto3" json:"image_properties_annotation,omitempty"` - // If present, crop hints have completed successfully. - 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 set, represents the error message for the operation. - // Note that filled-in image annotations are guaranteed to be - // correct, even when `error` is set. - 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 *AnnotateImageResponse) Reset() { *m = AnnotateImageResponse{} } -func (m *AnnotateImageResponse) String() string { return proto.CompactTextString(m) } -func (*AnnotateImageResponse) ProtoMessage() {} -func (*AnnotateImageResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1f6928ee25f8ae1f, []int{18} -} - -func (m *AnnotateImageResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotateImageResponse.Unmarshal(m, b) -} -func (m *AnnotateImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotateImageResponse.Marshal(b, m, deterministic) -} -func (m *AnnotateImageResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateImageResponse.Merge(m, src) -} -func (m *AnnotateImageResponse) XXX_Size() int { - return xxx_messageInfo_AnnotateImageResponse.Size(m) -} -func (m *AnnotateImageResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotateImageResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotateImageResponse proto.InternalMessageInfo - -func (m *AnnotateImageResponse) GetFaceAnnotations() []*FaceAnnotation { - if m != nil { - return m.FaceAnnotations - } - return nil -} - -func (m *AnnotateImageResponse) GetLandmarkAnnotations() []*EntityAnnotation { - if m != nil { - return m.LandmarkAnnotations - } - return nil -} - -func (m *AnnotateImageResponse) GetLogoAnnotations() []*EntityAnnotation { - if m != nil { - return m.LogoAnnotations - } - return nil -} - -func (m *AnnotateImageResponse) GetLabelAnnotations() []*EntityAnnotation { - if m != nil { - return m.LabelAnnotations - } - return nil -} - -func (m *AnnotateImageResponse) GetTextAnnotations() []*EntityAnnotation { - if m != nil { - return m.TextAnnotations - } - return nil -} - -func (m *AnnotateImageResponse) GetFullTextAnnotation() *TextAnnotation { - if m != nil { - return m.FullTextAnnotation - } - return nil -} - -func (m *AnnotateImageResponse) GetSafeSearchAnnotation() *SafeSearchAnnotation { - if m != nil { - return m.SafeSearchAnnotation - } - return nil -} - -func (m *AnnotateImageResponse) GetImagePropertiesAnnotation() *ImageProperties { - if m != nil { - return m.ImagePropertiesAnnotation - } - return nil -} - -func (m *AnnotateImageResponse) GetCropHintsAnnotation() *CropHintsAnnotation { - if m != nil { - return m.CropHintsAnnotation - } - return nil -} - -func (m *AnnotateImageResponse) GetWebDetection() *WebDetection { - if m != nil { - return m.WebDetection - } - return nil -} - -func (m *AnnotateImageResponse) GetError() *status.Status { - if m != nil { - return m.Error - } - return nil -} - -// Multiple image annotation requests are batched into a single service call. -type BatchAnnotateImagesRequest struct { - // Individual image annotation requests for this batch. - Requests []*AnnotateImageRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchAnnotateImagesRequest) Reset() { *m = BatchAnnotateImagesRequest{} } -func (m *BatchAnnotateImagesRequest) String() string { return proto.CompactTextString(m) } -func (*BatchAnnotateImagesRequest) ProtoMessage() {} -func (*BatchAnnotateImagesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1f6928ee25f8ae1f, []int{19} -} - -func (m *BatchAnnotateImagesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchAnnotateImagesRequest.Unmarshal(m, b) -} -func (m *BatchAnnotateImagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchAnnotateImagesRequest.Marshal(b, m, deterministic) -} -func (m *BatchAnnotateImagesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchAnnotateImagesRequest.Merge(m, src) -} -func (m *BatchAnnotateImagesRequest) XXX_Size() int { - return xxx_messageInfo_BatchAnnotateImagesRequest.Size(m) -} -func (m *BatchAnnotateImagesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchAnnotateImagesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchAnnotateImagesRequest proto.InternalMessageInfo - -func (m *BatchAnnotateImagesRequest) GetRequests() []*AnnotateImageRequest { - if m != nil { - return m.Requests - } - return nil -} - -// Response to a batch image annotation request. -type BatchAnnotateImagesResponse struct { - // Individual responses to image annotation requests within the batch. - Responses []*AnnotateImageResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchAnnotateImagesResponse) Reset() { *m = BatchAnnotateImagesResponse{} } -func (m *BatchAnnotateImagesResponse) String() string { return proto.CompactTextString(m) } -func (*BatchAnnotateImagesResponse) ProtoMessage() {} -func (*BatchAnnotateImagesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1f6928ee25f8ae1f, []int{20} -} - -func (m *BatchAnnotateImagesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchAnnotateImagesResponse.Unmarshal(m, b) -} -func (m *BatchAnnotateImagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchAnnotateImagesResponse.Marshal(b, m, deterministic) -} -func (m *BatchAnnotateImagesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchAnnotateImagesResponse.Merge(m, src) -} -func (m *BatchAnnotateImagesResponse) XXX_Size() int { - return xxx_messageInfo_BatchAnnotateImagesResponse.Size(m) -} -func (m *BatchAnnotateImagesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BatchAnnotateImagesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchAnnotateImagesResponse proto.InternalMessageInfo - -func (m *BatchAnnotateImagesResponse) GetResponses() []*AnnotateImageResponse { - if m != nil { - return m.Responses - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.vision.v1p1beta1.Likelihood", Likelihood_name, Likelihood_value) - proto.RegisterEnum("google.cloud.vision.v1p1beta1.Feature_Type", Feature_Type_name, Feature_Type_value) - proto.RegisterEnum("google.cloud.vision.v1p1beta1.FaceAnnotation_Landmark_Type", FaceAnnotation_Landmark_Type_name, FaceAnnotation_Landmark_Type_value) - proto.RegisterType((*Feature)(nil), "google.cloud.vision.v1p1beta1.Feature") - proto.RegisterType((*ImageSource)(nil), "google.cloud.vision.v1p1beta1.ImageSource") - proto.RegisterType((*Image)(nil), "google.cloud.vision.v1p1beta1.Image") - proto.RegisterType((*FaceAnnotation)(nil), "google.cloud.vision.v1p1beta1.FaceAnnotation") - proto.RegisterType((*FaceAnnotation_Landmark)(nil), "google.cloud.vision.v1p1beta1.FaceAnnotation.Landmark") - proto.RegisterType((*LocationInfo)(nil), "google.cloud.vision.v1p1beta1.LocationInfo") - proto.RegisterType((*Property)(nil), "google.cloud.vision.v1p1beta1.Property") - proto.RegisterType((*EntityAnnotation)(nil), "google.cloud.vision.v1p1beta1.EntityAnnotation") - proto.RegisterType((*SafeSearchAnnotation)(nil), "google.cloud.vision.v1p1beta1.SafeSearchAnnotation") - proto.RegisterType((*LatLongRect)(nil), "google.cloud.vision.v1p1beta1.LatLongRect") - proto.RegisterType((*ColorInfo)(nil), "google.cloud.vision.v1p1beta1.ColorInfo") - proto.RegisterType((*DominantColorsAnnotation)(nil), "google.cloud.vision.v1p1beta1.DominantColorsAnnotation") - proto.RegisterType((*ImageProperties)(nil), "google.cloud.vision.v1p1beta1.ImageProperties") - proto.RegisterType((*CropHint)(nil), "google.cloud.vision.v1p1beta1.CropHint") - proto.RegisterType((*CropHintsAnnotation)(nil), "google.cloud.vision.v1p1beta1.CropHintsAnnotation") - proto.RegisterType((*CropHintsParams)(nil), "google.cloud.vision.v1p1beta1.CropHintsParams") - proto.RegisterType((*WebDetectionParams)(nil), "google.cloud.vision.v1p1beta1.WebDetectionParams") - proto.RegisterType((*ImageContext)(nil), "google.cloud.vision.v1p1beta1.ImageContext") - proto.RegisterType((*AnnotateImageRequest)(nil), "google.cloud.vision.v1p1beta1.AnnotateImageRequest") - proto.RegisterType((*AnnotateImageResponse)(nil), "google.cloud.vision.v1p1beta1.AnnotateImageResponse") - proto.RegisterType((*BatchAnnotateImagesRequest)(nil), "google.cloud.vision.v1p1beta1.BatchAnnotateImagesRequest") - proto.RegisterType((*BatchAnnotateImagesResponse)(nil), "google.cloud.vision.v1p1beta1.BatchAnnotateImagesResponse") -} - -func init() { - proto.RegisterFile("google/cloud/vision/v1p1beta1/image_annotator.proto", fileDescriptor_1f6928ee25f8ae1f) -} - -var fileDescriptor_1f6928ee25f8ae1f = []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, - 0xbf, 0x13, 0xc5, 0x71, 0xa8, 0x5a, 0xad, 0xe3, 0x54, 0xd6, 0x49, 0x39, 0x24, 0x05, 0x49, 0x2c, - 0x73, 0x49, 0xd4, 0x90, 0xb2, 0xbc, 0x5b, 0x4e, 0x21, 0x10, 0x38, 0xe4, 0xc2, 0x06, 0x31, 0x30, - 0x00, 0xee, 0x4a, 0x57, 0x5f, 0x73, 0xcc, 0x2d, 0xf7, 0x1c, 0x73, 0x4a, 0x9e, 0xc1, 0x2f, 0x90, - 0x43, 0x1e, 0x20, 0x39, 0xe4, 0x09, 0x52, 0xa9, 0x9c, 0x52, 0xf3, 0x01, 0x70, 0xc0, 0xfd, 0xa0, - 0xb8, 0xa9, 0x9c, 0x88, 0xe9, 0x9e, 0xdf, 0xaf, 0x67, 0xba, 0xa7, 0x67, 0x7a, 0x86, 0xf0, 0x70, - 0x4c, 0xe9, 0xd8, 0x23, 0x87, 0x8e, 0x47, 0xa7, 0xc3, 0xc3, 0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x7d, 0x7d, 0x6f, 0xfe, 0x8f, 0xab, 0xe8, 0x91, 0x5c, 0xdb, 0xe4, - 0x51, 0xee, 0xc3, 0xe6, 0x77, 0x39, 0x78, 0xdf, 0xa1, 0x93, 0x37, 0x1b, 0x6a, 0x6e, 0x67, 0xe7, - 0x6a, 0x86, 0x34, 0xa6, 0x66, 0xee, 0x69, 0x4b, 0xa2, 0xc6, 0x94, 0x15, 0x08, 0x75, 0x1a, 0x8e, - 0x0f, 0xc7, 0xc4, 0xe7, 0xff, 0xf7, 0x1c, 0x0a, 0x95, 0x1d, 0xb8, 0xd1, 0x6b, 0xfe, 0x71, 0xfa, - 0x54, 0x08, 0xfe, 0x95, 0xcb, 0x5d, 0xae, 0x73, 0xc8, 0xc3, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, - 0xb8, 0x10, 0xf5, 0x85, 0x78, 0x1b, 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 - -// ImageAnnotatorClient is the client API for ImageAnnotator service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ImageAnnotatorClient interface { - // Run image detection and annotation for a batch of images. - BatchAnnotateImages(ctx context.Context, in *BatchAnnotateImagesRequest, opts ...grpc.CallOption) (*BatchAnnotateImagesResponse, error) -} - -type imageAnnotatorClient struct { - cc *grpc.ClientConn -} - -func NewImageAnnotatorClient(cc *grpc.ClientConn) ImageAnnotatorClient { - return &imageAnnotatorClient{cc} -} - -func (c *imageAnnotatorClient) BatchAnnotateImages(ctx context.Context, in *BatchAnnotateImagesRequest, opts ...grpc.CallOption) (*BatchAnnotateImagesResponse, error) { - out := new(BatchAnnotateImagesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.vision.v1p1beta1.ImageAnnotator/BatchAnnotateImages", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ImageAnnotatorServer is the server API for ImageAnnotator service. -type ImageAnnotatorServer interface { - // Run image detection and annotation for a batch of images. - BatchAnnotateImages(context.Context, *BatchAnnotateImagesRequest) (*BatchAnnotateImagesResponse, error) -} - -// UnimplementedImageAnnotatorServer can be embedded to have forward compatible implementations. -type UnimplementedImageAnnotatorServer struct { -} - -func (*UnimplementedImageAnnotatorServer) BatchAnnotateImages(ctx context.Context, req *BatchAnnotateImagesRequest) (*BatchAnnotateImagesResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method BatchAnnotateImages not implemented") -} - -func RegisterImageAnnotatorServer(s *grpc.Server, srv ImageAnnotatorServer) { - s.RegisterService(&_ImageAnnotator_serviceDesc, srv) -} - -func _ImageAnnotator_BatchAnnotateImages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchAnnotateImagesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ImageAnnotatorServer).BatchAnnotateImages(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.vision.v1p1beta1.ImageAnnotator/BatchAnnotateImages", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ImageAnnotatorServer).BatchAnnotateImages(ctx, req.(*BatchAnnotateImagesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ImageAnnotator_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.vision.v1p1beta1.ImageAnnotator", - HandlerType: (*ImageAnnotatorServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "BatchAnnotateImages", - Handler: _ImageAnnotator_BatchAnnotateImages_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/vision/v1p1beta1/image_annotator.proto", -} 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 deleted file mode 100644 index 9c0f54f0..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p1beta1/text_annotation.pb.go +++ /dev/null @@ -1,807 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/vision/v1p1beta1/text_annotation.proto - -package vision - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum to denote the type of break found. New line, space etc. -type TextAnnotation_DetectedBreak_BreakType int32 - -const ( - // Unknown break label type. - TextAnnotation_DetectedBreak_UNKNOWN TextAnnotation_DetectedBreak_BreakType = 0 - // Regular space. - TextAnnotation_DetectedBreak_SPACE TextAnnotation_DetectedBreak_BreakType = 1 - // Sure space (very wide). - TextAnnotation_DetectedBreak_SURE_SPACE TextAnnotation_DetectedBreak_BreakType = 2 - // Line-wrapping break. - TextAnnotation_DetectedBreak_EOL_SURE_SPACE TextAnnotation_DetectedBreak_BreakType = 3 - // End-line hyphen that is not present in text; does not co-occur with - // `SPACE`, `LEADER_SPACE`, or `LINE_BREAK`. - TextAnnotation_DetectedBreak_HYPHEN TextAnnotation_DetectedBreak_BreakType = 4 - // Line break that ends a paragraph. - TextAnnotation_DetectedBreak_LINE_BREAK TextAnnotation_DetectedBreak_BreakType = 5 -) - -var TextAnnotation_DetectedBreak_BreakType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "SPACE", - 2: "SURE_SPACE", - 3: "EOL_SURE_SPACE", - 4: "HYPHEN", - 5: "LINE_BREAK", -} - -var TextAnnotation_DetectedBreak_BreakType_value = map[string]int32{ - "UNKNOWN": 0, - "SPACE": 1, - "SURE_SPACE": 2, - "EOL_SURE_SPACE": 3, - "HYPHEN": 4, - "LINE_BREAK": 5, -} - -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_74ab7e2078bf72c5, []int{0, 1, 0} -} - -// Type of a block (text, image etc) as identified by OCR. -type Block_BlockType int32 - -const ( - // Unknown block type. - Block_UNKNOWN Block_BlockType = 0 - // Regular text block. - Block_TEXT Block_BlockType = 1 - // Table block. - Block_TABLE Block_BlockType = 2 - // Image block. - Block_PICTURE Block_BlockType = 3 - // Horizontal/vertical line box. - Block_RULER Block_BlockType = 4 - // Barcode block. - Block_BARCODE Block_BlockType = 5 -) - -var Block_BlockType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "TEXT", - 2: "TABLE", - 3: "PICTURE", - 4: "RULER", - 5: "BARCODE", -} - -var Block_BlockType_value = map[string]int32{ - "UNKNOWN": 0, - "TEXT": 1, - "TABLE": 2, - "PICTURE": 3, - "RULER": 4, - "BARCODE": 5, -} - -func (x Block_BlockType) String() string { - return proto.EnumName(Block_BlockType_name, int32(x)) -} - -func (Block_BlockType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_74ab7e2078bf72c5, []int{2, 0} -} - -// TextAnnotation contains a structured representation of OCR extracted text. -// The hierarchy of an OCR extracted text structure is like this: -// TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol -// Each structural component, starting from Page, may further have their own -// properties. Properties describe detected languages, breaks etc.. Please refer -// to the -// [TextAnnotation.TextProperty][google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty] -// message definition below for more detail. -type TextAnnotation struct { - // List of pages detected by OCR. - Pages []*Page `protobuf:"bytes,1,rep,name=pages,proto3" json:"pages,omitempty"` - // UTF-8 text detected on the pages. - Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,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_74ab7e2078bf72c5, []int{0} -} - -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 (m *TextAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextAnnotation.Merge(m, 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) GetPages() []*Page { - if m != nil { - return m.Pages - } - return nil -} - -func (m *TextAnnotation) GetText() string { - if m != nil { - return m.Text - } - return "" -} - -// Detected language for a structural component. -type TextAnnotation_DetectedLanguage struct { - // 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,1,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // Confidence of detected language. 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 *TextAnnotation_DetectedLanguage) Reset() { *m = TextAnnotation_DetectedLanguage{} } -func (m *TextAnnotation_DetectedLanguage) String() string { return proto.CompactTextString(m) } -func (*TextAnnotation_DetectedLanguage) ProtoMessage() {} -func (*TextAnnotation_DetectedLanguage) Descriptor() ([]byte, []int) { - return fileDescriptor_74ab7e2078bf72c5, []int{0, 0} -} - -func (m *TextAnnotation_DetectedLanguage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextAnnotation_DetectedLanguage.Unmarshal(m, b) -} -func (m *TextAnnotation_DetectedLanguage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextAnnotation_DetectedLanguage.Marshal(b, m, deterministic) -} -func (m *TextAnnotation_DetectedLanguage) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextAnnotation_DetectedLanguage.Merge(m, src) -} -func (m *TextAnnotation_DetectedLanguage) XXX_Size() int { - return xxx_messageInfo_TextAnnotation_DetectedLanguage.Size(m) -} -func (m *TextAnnotation_DetectedLanguage) XXX_DiscardUnknown() { - xxx_messageInfo_TextAnnotation_DetectedLanguage.DiscardUnknown(m) -} - -var xxx_messageInfo_TextAnnotation_DetectedLanguage proto.InternalMessageInfo - -func (m *TextAnnotation_DetectedLanguage) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *TextAnnotation_DetectedLanguage) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -// Detected start or end of a structural component. -type TextAnnotation_DetectedBreak struct { - // Detected break type. - Type TextAnnotation_DetectedBreak_BreakType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.vision.v1p1beta1.TextAnnotation_DetectedBreak_BreakType" json:"type,omitempty"` - // True if break prepends the element. - IsPrefix bool `protobuf:"varint,2,opt,name=is_prefix,json=isPrefix,proto3" json:"is_prefix,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TextAnnotation_DetectedBreak) Reset() { *m = TextAnnotation_DetectedBreak{} } -func (m *TextAnnotation_DetectedBreak) String() string { return proto.CompactTextString(m) } -func (*TextAnnotation_DetectedBreak) ProtoMessage() {} -func (*TextAnnotation_DetectedBreak) Descriptor() ([]byte, []int) { - return fileDescriptor_74ab7e2078bf72c5, []int{0, 1} -} - -func (m *TextAnnotation_DetectedBreak) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextAnnotation_DetectedBreak.Unmarshal(m, b) -} -func (m *TextAnnotation_DetectedBreak) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextAnnotation_DetectedBreak.Marshal(b, m, deterministic) -} -func (m *TextAnnotation_DetectedBreak) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextAnnotation_DetectedBreak.Merge(m, src) -} -func (m *TextAnnotation_DetectedBreak) XXX_Size() int { - return xxx_messageInfo_TextAnnotation_DetectedBreak.Size(m) -} -func (m *TextAnnotation_DetectedBreak) XXX_DiscardUnknown() { - xxx_messageInfo_TextAnnotation_DetectedBreak.DiscardUnknown(m) -} - -var xxx_messageInfo_TextAnnotation_DetectedBreak proto.InternalMessageInfo - -func (m *TextAnnotation_DetectedBreak) GetType() TextAnnotation_DetectedBreak_BreakType { - if m != nil { - return m.Type - } - return TextAnnotation_DetectedBreak_UNKNOWN -} - -func (m *TextAnnotation_DetectedBreak) GetIsPrefix() bool { - if m != nil { - return m.IsPrefix - } - return false -} - -// Additional information detected on the structural component. -type TextAnnotation_TextProperty struct { - // A list of detected languages together with confidence. - DetectedLanguages []*TextAnnotation_DetectedLanguage `protobuf:"bytes,1,rep,name=detected_languages,json=detectedLanguages,proto3" json:"detected_languages,omitempty"` - // Detected start or end of a text segment. - DetectedBreak *TextAnnotation_DetectedBreak `protobuf:"bytes,2,opt,name=detected_break,json=detectedBreak,proto3" json:"detected_break,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TextAnnotation_TextProperty) Reset() { *m = TextAnnotation_TextProperty{} } -func (m *TextAnnotation_TextProperty) String() string { return proto.CompactTextString(m) } -func (*TextAnnotation_TextProperty) ProtoMessage() {} -func (*TextAnnotation_TextProperty) Descriptor() ([]byte, []int) { - return fileDescriptor_74ab7e2078bf72c5, []int{0, 2} -} - -func (m *TextAnnotation_TextProperty) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextAnnotation_TextProperty.Unmarshal(m, b) -} -func (m *TextAnnotation_TextProperty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextAnnotation_TextProperty.Marshal(b, m, deterministic) -} -func (m *TextAnnotation_TextProperty) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextAnnotation_TextProperty.Merge(m, src) -} -func (m *TextAnnotation_TextProperty) XXX_Size() int { - return xxx_messageInfo_TextAnnotation_TextProperty.Size(m) -} -func (m *TextAnnotation_TextProperty) XXX_DiscardUnknown() { - xxx_messageInfo_TextAnnotation_TextProperty.DiscardUnknown(m) -} - -var xxx_messageInfo_TextAnnotation_TextProperty proto.InternalMessageInfo - -func (m *TextAnnotation_TextProperty) GetDetectedLanguages() []*TextAnnotation_DetectedLanguage { - if m != nil { - return m.DetectedLanguages - } - return nil -} - -func (m *TextAnnotation_TextProperty) GetDetectedBreak() *TextAnnotation_DetectedBreak { - if m != nil { - return m.DetectedBreak - } - return nil -} - -// Detected page from OCR. -type Page struct { - // Additional information detected on the page. - Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` - // Page width in pixels. - Width int32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` - // Page height in pixels. - Height int32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` - // List of blocks of text, images etc on this page. - Blocks []*Block `protobuf:"bytes,4,rep,name=blocks,proto3" json:"blocks,omitempty"` - // Confidence of the OCR results on the page. Range [0, 1]. - Confidence float32 `protobuf:"fixed32,5,opt,name=confidence,proto3" json:"confidence,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_74ab7e2078bf72c5, []int{1} -} - -func (m *Page) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Page.Unmarshal(m, b) -} -func (m *Page) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Page.Marshal(b, m, deterministic) -} -func (m *Page) XXX_Merge(src proto.Message) { - xxx_messageInfo_Page.Merge(m, src) -} -func (m *Page) XXX_Size() int { - return xxx_messageInfo_Page.Size(m) -} -func (m *Page) XXX_DiscardUnknown() { - xxx_messageInfo_Page.DiscardUnknown(m) -} - -var xxx_messageInfo_Page proto.InternalMessageInfo - -func (m *Page) GetProperty() *TextAnnotation_TextProperty { - if m != nil { - return m.Property - } - return nil -} - -func (m *Page) GetWidth() int32 { - if m != nil { - return m.Width - } - return 0 -} - -func (m *Page) GetHeight() int32 { - if m != nil { - return m.Height - } - return 0 -} - -func (m *Page) GetBlocks() []*Block { - if m != nil { - return m.Blocks - } - return nil -} - -func (m *Page) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -// Logical element on the page. -type Block struct { - // Additional information detected for the block. - Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` - // The bounding box for the block. - // The vertices are in the order of top-left, top-right, bottom-right, - // bottom-left. When a rotation of the bounding box is detected the rotation - // is represented as around the top-left corner as defined when the text is - // read in the 'natural' orientation. - // For example: - // * when the text is horizontal it might look like: - // 0----1 - // | | - // 3----2 - // * when it's rotated 180 degrees around the top-left corner it becomes: - // 2----3 - // | | - // 1----0 - // and the vertice 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"` - // Detected block type (text, image etc) for this block. - BlockType Block_BlockType `protobuf:"varint,4,opt,name=block_type,json=blockType,proto3,enum=google.cloud.vision.v1p1beta1.Block_BlockType" json:"block_type,omitempty"` - // Confidence of the OCR results on the block. Range [0, 1]. - Confidence float32 `protobuf:"fixed32,5,opt,name=confidence,proto3" json:"confidence,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_74ab7e2078bf72c5, []int{2} -} - -func (m *Block) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Block.Unmarshal(m, b) -} -func (m *Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Block.Marshal(b, m, deterministic) -} -func (m *Block) XXX_Merge(src proto.Message) { - xxx_messageInfo_Block.Merge(m, src) -} -func (m *Block) XXX_Size() int { - return xxx_messageInfo_Block.Size(m) -} -func (m *Block) XXX_DiscardUnknown() { - xxx_messageInfo_Block.DiscardUnknown(m) -} - -var xxx_messageInfo_Block proto.InternalMessageInfo - -func (m *Block) GetProperty() *TextAnnotation_TextProperty { - if m != nil { - return m.Property - } - return nil -} - -func (m *Block) GetBoundingBox() *BoundingPoly { - if m != nil { - return m.BoundingBox - } - return nil -} - -func (m *Block) GetParagraphs() []*Paragraph { - if m != nil { - return m.Paragraphs - } - return nil -} - -func (m *Block) GetBlockType() Block_BlockType { - if m != nil { - return m.BlockType - } - return Block_UNKNOWN -} - -func (m *Block) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -// Structural unit of text representing a number of words in certain order. -type Paragraph struct { - // Additional information detected for the paragraph. - Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` - // The bounding box for the paragraph. - // The vertices are in the order of top-left, top-right, bottom-right, - // bottom-left. When a rotation of the bounding box is detected the rotation - // is represented as around the top-left corner as defined when the text is - // read in the 'natural' orientation. - // For example: - // * when the text is horizontal it might look like: - // 0----1 - // | | - // 3----2 - // * when it's rotated 180 degrees around the top-left corner it becomes: - // 2----3 - // | | - // 1----0 - // and the vertice 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"` - // Confidence of the OCR results for the paragraph. Range [0, 1]. - Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_74ab7e2078bf72c5, []int{3} -} - -func (m *Paragraph) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Paragraph.Unmarshal(m, b) -} -func (m *Paragraph) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Paragraph.Marshal(b, m, deterministic) -} -func (m *Paragraph) XXX_Merge(src proto.Message) { - xxx_messageInfo_Paragraph.Merge(m, src) -} -func (m *Paragraph) XXX_Size() int { - return xxx_messageInfo_Paragraph.Size(m) -} -func (m *Paragraph) XXX_DiscardUnknown() { - xxx_messageInfo_Paragraph.DiscardUnknown(m) -} - -var xxx_messageInfo_Paragraph proto.InternalMessageInfo - -func (m *Paragraph) GetProperty() *TextAnnotation_TextProperty { - if m != nil { - return m.Property - } - return nil -} - -func (m *Paragraph) GetBoundingBox() *BoundingPoly { - if m != nil { - return m.BoundingBox - } - return nil -} - -func (m *Paragraph) GetWords() []*Word { - if m != nil { - return m.Words - } - return nil -} - -func (m *Paragraph) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -// A word representation. -type Word struct { - // Additional information detected for the word. - Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` - // The bounding box for the word. - // The vertices are in the order of top-left, top-right, bottom-right, - // bottom-left. When a rotation of the bounding box is detected the rotation - // is represented as around the top-left corner as defined when the text is - // read in the 'natural' orientation. - // For example: - // * when the text is horizontal it might look like: - // 0----1 - // | | - // 3----2 - // * when it's rotated 180 degrees around the top-left corner it becomes: - // 2----3 - // | | - // 1----0 - // and the vertice 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. - Symbols []*Symbol `protobuf:"bytes,3,rep,name=symbols,proto3" json:"symbols,omitempty"` - // Confidence of the OCR results for the word. Range [0, 1]. - Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_74ab7e2078bf72c5, []int{4} -} - -func (m *Word) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Word.Unmarshal(m, b) -} -func (m *Word) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Word.Marshal(b, m, deterministic) -} -func (m *Word) XXX_Merge(src proto.Message) { - xxx_messageInfo_Word.Merge(m, src) -} -func (m *Word) XXX_Size() int { - return xxx_messageInfo_Word.Size(m) -} -func (m *Word) XXX_DiscardUnknown() { - xxx_messageInfo_Word.DiscardUnknown(m) -} - -var xxx_messageInfo_Word proto.InternalMessageInfo - -func (m *Word) GetProperty() *TextAnnotation_TextProperty { - if m != nil { - return m.Property - } - return nil -} - -func (m *Word) GetBoundingBox() *BoundingPoly { - if m != nil { - return m.BoundingBox - } - return nil -} - -func (m *Word) GetSymbols() []*Symbol { - if m != nil { - return m.Symbols - } - return nil -} - -func (m *Word) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -// A single symbol representation. -type Symbol struct { - // Additional information detected for the symbol. - Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` - // The bounding box for the symbol. - // The vertices are in the order of top-left, top-right, bottom-right, - // bottom-left. When a rotation of the bounding box is detected the rotation - // is represented as around the top-left corner as defined when the text is - // read in the 'natural' orientation. - // For example: - // * when the text is horizontal it might look like: - // 0----1 - // | | - // 3----2 - // * when it's rotated 180 degrees around the top-left corner it becomes: - // 2----3 - // | | - // 1----0 - // and the vertice order will still be (0, 1, 2, 3). - BoundingBox *BoundingPoly `protobuf:"bytes,2,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"` - // The actual UTF-8 representation of the symbol. - Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"` - // Confidence of the OCR results for the symbol. Range [0, 1]. - Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_74ab7e2078bf72c5, []int{5} -} - -func (m *Symbol) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Symbol.Unmarshal(m, b) -} -func (m *Symbol) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Symbol.Marshal(b, m, deterministic) -} -func (m *Symbol) XXX_Merge(src proto.Message) { - xxx_messageInfo_Symbol.Merge(m, src) -} -func (m *Symbol) XXX_Size() int { - return xxx_messageInfo_Symbol.Size(m) -} -func (m *Symbol) XXX_DiscardUnknown() { - xxx_messageInfo_Symbol.DiscardUnknown(m) -} - -var xxx_messageInfo_Symbol proto.InternalMessageInfo - -func (m *Symbol) GetProperty() *TextAnnotation_TextProperty { - if m != nil { - return m.Property - } - return nil -} - -func (m *Symbol) GetBoundingBox() *BoundingPoly { - if m != nil { - return m.BoundingBox - } - return nil -} - -func (m *Symbol) GetText() string { - if m != nil { - return m.Text - } - return "" -} - -func (m *Symbol) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -func init() { - proto.RegisterEnum("google.cloud.vision.v1p1beta1.TextAnnotation_DetectedBreak_BreakType", TextAnnotation_DetectedBreak_BreakType_name, TextAnnotation_DetectedBreak_BreakType_value) - proto.RegisterEnum("google.cloud.vision.v1p1beta1.Block_BlockType", Block_BlockType_name, Block_BlockType_value) - proto.RegisterType((*TextAnnotation)(nil), "google.cloud.vision.v1p1beta1.TextAnnotation") - proto.RegisterType((*TextAnnotation_DetectedLanguage)(nil), "google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage") - proto.RegisterType((*TextAnnotation_DetectedBreak)(nil), "google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak") - proto.RegisterType((*TextAnnotation_TextProperty)(nil), "google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty") - proto.RegisterType((*Page)(nil), "google.cloud.vision.v1p1beta1.Page") - proto.RegisterType((*Block)(nil), "google.cloud.vision.v1p1beta1.Block") - proto.RegisterType((*Paragraph)(nil), "google.cloud.vision.v1p1beta1.Paragraph") - proto.RegisterType((*Word)(nil), "google.cloud.vision.v1p1beta1.Word") - proto.RegisterType((*Symbol)(nil), "google.cloud.vision.v1p1beta1.Symbol") -} - -func init() { - proto.RegisterFile("google/cloud/vision/v1p1beta1/text_annotation.proto", fileDescriptor_74ab7e2078bf72c5) -} - -var fileDescriptor_74ab7e2078bf72c5 = []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, - 0x20, 0x55, 0x02, 0x39, 0x6a, 0x7a, 0x2a, 0x45, 0xa0, 0x38, 0xb5, 0xd4, 0xaa, 0x21, 0xb5, 0xa6, - 0x09, 0xa5, 0x5c, 0x2c, 0xff, 0x99, 0x3a, 0x56, 0x13, 0x8f, 0x65, 0xbb, 0x6d, 0x72, 0xe5, 0x8a, - 0x04, 0x5f, 0x88, 0x2f, 0x83, 0xc4, 0x09, 0xf1, 0x01, 0x38, 0x22, 0x8f, 0xed, 0x34, 0x09, 0xa2, - 0xe6, 0x8f, 0x38, 0xf4, 0x12, 0xcd, 0x7b, 0x79, 0xbf, 0x37, 0xef, 0xf7, 0x7b, 0xf3, 0x3c, 0x03, - 0xdb, 0x0e, 0xa5, 0xce, 0x88, 0x34, 0xad, 0x11, 0xbd, 0xb0, 0x9b, 0x97, 0x6e, 0xe8, 0x52, 0xaf, - 0x79, 0xb9, 0xe5, 0x6f, 0x99, 0x24, 0x32, 0xb6, 0x9a, 0x11, 0x99, 0x44, 0xba, 0xe1, 0x79, 0x34, - 0x32, 0x22, 0x97, 0x7a, 0xb2, 0x1f, 0xd0, 0x88, 0xa2, 0xff, 0x13, 0x90, 0xcc, 0x40, 0x72, 0x02, - 0x92, 0x67, 0xa0, 0xfa, 0x7f, 0x69, 0x4e, 0xc3, 0x77, 0x9b, 0xd7, 0xd8, 0x30, 0x01, 0xd7, 0x1f, - 0xde, 0xbc, 0xa3, 0x43, 0xe8, 0x98, 0x44, 0xc1, 0x34, 0x89, 0x6e, 0xbc, 0x16, 0xa0, 0xda, 0x27, - 0x93, 0xa8, 0x3d, 0xcb, 0x83, 0x76, 0x40, 0xf0, 0x0d, 0x87, 0x84, 0x35, 0x6e, 0xbd, 0xb8, 0x59, - 0x69, 0x6d, 0xc8, 0x37, 0x56, 0x23, 0x6b, 0x86, 0x43, 0x70, 0x82, 0x40, 0x08, 0xf8, 0x98, 0x51, - 0xad, 0xb0, 0xce, 0x6d, 0x8a, 0x98, 0xad, 0xeb, 0x27, 0x20, 0xed, 0x91, 0x88, 0x58, 0x11, 0xb1, - 0xbb, 0x86, 0xe7, 0x5c, 0x18, 0x0e, 0x41, 0x1b, 0xb0, 0x36, 0x4a, 0xd7, 0xba, 0x45, 0x6d, 0x52, - 0xe3, 0x18, 0x60, 0x35, 0x73, 0x76, 0xa8, 0x4d, 0xd0, 0x1d, 0x00, 0x8b, 0x7a, 0x67, 0xae, 0x4d, - 0x3c, 0x8b, 0xb0, 0x94, 0x05, 0x3c, 0xe7, 0xa9, 0x7f, 0xe2, 0x60, 0x2d, 0xcb, 0xac, 0x04, 0xc4, - 0x38, 0x47, 0xa7, 0xc0, 0x47, 0x53, 0x3f, 0xc9, 0x56, 0x6d, 0xa9, 0x39, 0x85, 0x2f, 0xd2, 0x96, - 0x17, 0x52, 0xc9, 0xec, 0xb7, 0x3f, 0xf5, 0x09, 0x66, 0x29, 0xd1, 0xbf, 0x20, 0xba, 0xa1, 0xee, - 0x07, 0xe4, 0xcc, 0x9d, 0xb0, 0x5a, 0xca, 0xb8, 0xec, 0x86, 0x1a, 0xb3, 0x1b, 0x16, 0x88, 0xb3, - 0x78, 0x54, 0x81, 0x95, 0x41, 0xef, 0xb0, 0x77, 0x74, 0xd2, 0x93, 0xfe, 0x40, 0x22, 0x08, 0xc7, - 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 0x0d, 0x5e, 0xbc, - 0xbe, 0xc1, 0xf3, 0x68, 0x2a, 0xaf, 0x38, 0xb8, 0x6b, 0xd1, 0xf1, 0xcd, 0x7b, 0x2a, 0x7f, 0x2d, - 0x12, 0xd2, 0xe2, 0xe7, 0x87, 0xc6, 0xbd, 0xec, 0xa4, 0x28, 0x87, 0xc6, 0x77, 0x98, 0x4c, 0x03, - 0xa7, 0xe9, 0x10, 0x8f, 0x3d, 0x4e, 0x9a, 0xc9, 0x5f, 0x86, 0xef, 0x86, 0xdf, 0x78, 0xcd, 0xec, - 0x26, 0x8e, 0xcf, 0x1c, 0x67, 0x96, 0x18, 0x64, 0xfb, 0x4b, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb1, - 0xa1, 0x02, 0xbb, 0x71, 0x09, 0x00, 0x00, -} 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 deleted file mode 100644 index 5f9cc00b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p1beta1/web_detection.pb.go +++ /dev/null @@ -1,403 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/vision/v1p1beta1/web_detection.proto - -package vision - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Relevant information for the image from the Internet. -type WebDetection struct { - // Deduced entities from similar images on the Internet. - WebEntities []*WebDetection_WebEntity `protobuf:"bytes,1,rep,name=web_entities,json=webEntities,proto3" json:"web_entities,omitempty"` - // Fully matching images from the Internet. - // Can include resized copies of the query image. - FullMatchingImages []*WebDetection_WebImage `protobuf:"bytes,2,rep,name=full_matching_images,json=fullMatchingImages,proto3" json:"full_matching_images,omitempty"` - // Partial matching images from the Internet. - // Those images are similar enough to share some key-point features. For - // example an original image will likely have partial matching for its crops. - PartialMatchingImages []*WebDetection_WebImage `protobuf:"bytes,3,rep,name=partial_matching_images,json=partialMatchingImages,proto3" json:"partial_matching_images,omitempty"` - // Web pages containing the matching images from the Internet. - 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. - 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:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ba190e118244c98b, []int{0} -} - -func (m *WebDetection) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebDetection.Unmarshal(m, b) -} -func (m *WebDetection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebDetection.Marshal(b, m, deterministic) -} -func (m *WebDetection) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebDetection.Merge(m, src) -} -func (m *WebDetection) XXX_Size() int { - return xxx_messageInfo_WebDetection.Size(m) -} -func (m *WebDetection) XXX_DiscardUnknown() { - xxx_messageInfo_WebDetection.DiscardUnknown(m) -} - -var xxx_messageInfo_WebDetection proto.InternalMessageInfo - -func (m *WebDetection) GetWebEntities() []*WebDetection_WebEntity { - if m != nil { - return m.WebEntities - } - return nil -} - -func (m *WebDetection) GetFullMatchingImages() []*WebDetection_WebImage { - if m != nil { - return m.FullMatchingImages - } - return nil -} - -func (m *WebDetection) GetPartialMatchingImages() []*WebDetection_WebImage { - if m != nil { - return m.PartialMatchingImages - } - return nil -} - -func (m *WebDetection) GetPagesWithMatchingImages() []*WebDetection_WebPage { - if m != nil { - return m.PagesWithMatchingImages - } - return nil -} - -func (m *WebDetection) GetVisuallySimilarImages() []*WebDetection_WebImage { - if m != nil { - return m.VisuallySimilarImages - } - return nil -} - -func (m *WebDetection) GetBestGuessLabels() []*WebDetection_WebLabel { - if m != nil { - return m.BestGuessLabels - } - return nil -} - -// Entity deduced from similar images on the Internet. -type WebDetection_WebEntity struct { - // Opaque entity ID. - EntityId string `protobuf:"bytes,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` - // Overall relevancy score for the entity. - // Not normalized and not comparable across different image queries. - Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"` - // Canonical description of the entity, in English. - 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 *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_ba190e118244c98b, []int{0, 0} -} - -func (m *WebDetection_WebEntity) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebDetection_WebEntity.Unmarshal(m, b) -} -func (m *WebDetection_WebEntity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebDetection_WebEntity.Marshal(b, m, deterministic) -} -func (m *WebDetection_WebEntity) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebDetection_WebEntity.Merge(m, src) -} -func (m *WebDetection_WebEntity) XXX_Size() int { - return xxx_messageInfo_WebDetection_WebEntity.Size(m) -} -func (m *WebDetection_WebEntity) XXX_DiscardUnknown() { - xxx_messageInfo_WebDetection_WebEntity.DiscardUnknown(m) -} - -var xxx_messageInfo_WebDetection_WebEntity proto.InternalMessageInfo - -func (m *WebDetection_WebEntity) GetEntityId() string { - if m != nil { - return m.EntityId - } - return "" -} - -func (m *WebDetection_WebEntity) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -func (m *WebDetection_WebEntity) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -// Metadata for online images. -type WebDetection_WebImage struct { - // The result image URL. - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - // (Deprecated) Overall relevancy score for the image. - Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ba190e118244c98b, []int{0, 1} -} - -func (m *WebDetection_WebImage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebDetection_WebImage.Unmarshal(m, b) -} -func (m *WebDetection_WebImage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebDetection_WebImage.Marshal(b, m, deterministic) -} -func (m *WebDetection_WebImage) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebDetection_WebImage.Merge(m, src) -} -func (m *WebDetection_WebImage) XXX_Size() int { - return xxx_messageInfo_WebDetection_WebImage.Size(m) -} -func (m *WebDetection_WebImage) XXX_DiscardUnknown() { - xxx_messageInfo_WebDetection_WebImage.DiscardUnknown(m) -} - -var xxx_messageInfo_WebDetection_WebImage proto.InternalMessageInfo - -func (m *WebDetection_WebImage) GetUrl() string { - if m != nil { - return m.Url - } - return "" -} - -func (m *WebDetection_WebImage) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -// Metadata for web pages. -type WebDetection_WebPage struct { - // The result web page URL. - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - // (Deprecated) Overall relevancy score for the web page. - Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"` - // Title for the web page, may contain HTML markups. - PageTitle string `protobuf:"bytes,3,opt,name=page_title,json=pageTitle,proto3" json:"page_title,omitempty"` - // Fully matching images on the page. - // Can include resized copies of the query image. - FullMatchingImages []*WebDetection_WebImage `protobuf:"bytes,4,rep,name=full_matching_images,json=fullMatchingImages,proto3" json:"full_matching_images,omitempty"` - // Partial matching images on the page. - // Those images are similar enough to share some key-point features. For - // example an original image will likely have partial matching for its - // crops. - PartialMatchingImages []*WebDetection_WebImage `protobuf:"bytes,5,rep,name=partial_matching_images,json=partialMatchingImages,proto3" json:"partial_matching_images,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ba190e118244c98b, []int{0, 2} -} - -func (m *WebDetection_WebPage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebDetection_WebPage.Unmarshal(m, b) -} -func (m *WebDetection_WebPage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebDetection_WebPage.Marshal(b, m, deterministic) -} -func (m *WebDetection_WebPage) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebDetection_WebPage.Merge(m, src) -} -func (m *WebDetection_WebPage) XXX_Size() int { - return xxx_messageInfo_WebDetection_WebPage.Size(m) -} -func (m *WebDetection_WebPage) XXX_DiscardUnknown() { - xxx_messageInfo_WebDetection_WebPage.DiscardUnknown(m) -} - -var xxx_messageInfo_WebDetection_WebPage proto.InternalMessageInfo - -func (m *WebDetection_WebPage) GetUrl() string { - if m != nil { - return m.Url - } - return "" -} - -func (m *WebDetection_WebPage) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -func (m *WebDetection_WebPage) GetPageTitle() string { - if m != nil { - return m.PageTitle - } - return "" -} - -func (m *WebDetection_WebPage) GetFullMatchingImages() []*WebDetection_WebImage { - if m != nil { - return m.FullMatchingImages - } - return nil -} - -func (m *WebDetection_WebPage) GetPartialMatchingImages() []*WebDetection_WebImage { - if m != nil { - return m.PartialMatchingImages - } - return nil -} - -// Label to provide extra metadata for the web detection. -type WebDetection_WebLabel struct { - // Label for extra metadata. - Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` - // The BCP-47 language code for `label`, 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ba190e118244c98b, []int{0, 3} -} - -func (m *WebDetection_WebLabel) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebDetection_WebLabel.Unmarshal(m, b) -} -func (m *WebDetection_WebLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebDetection_WebLabel.Marshal(b, m, deterministic) -} -func (m *WebDetection_WebLabel) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebDetection_WebLabel.Merge(m, src) -} -func (m *WebDetection_WebLabel) XXX_Size() int { - return xxx_messageInfo_WebDetection_WebLabel.Size(m) -} -func (m *WebDetection_WebLabel) XXX_DiscardUnknown() { - xxx_messageInfo_WebDetection_WebLabel.DiscardUnknown(m) -} - -var xxx_messageInfo_WebDetection_WebLabel proto.InternalMessageInfo - -func (m *WebDetection_WebLabel) GetLabel() string { - if m != nil { - return m.Label - } - return "" -} - -func (m *WebDetection_WebLabel) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func init() { - proto.RegisterType((*WebDetection)(nil), "google.cloud.vision.v1p1beta1.WebDetection") - proto.RegisterType((*WebDetection_WebEntity)(nil), "google.cloud.vision.v1p1beta1.WebDetection.WebEntity") - proto.RegisterType((*WebDetection_WebImage)(nil), "google.cloud.vision.v1p1beta1.WebDetection.WebImage") - proto.RegisterType((*WebDetection_WebPage)(nil), "google.cloud.vision.v1p1beta1.WebDetection.WebPage") - proto.RegisterType((*WebDetection_WebLabel)(nil), "google.cloud.vision.v1p1beta1.WebDetection.WebLabel") -} - -func init() { - proto.RegisterFile("google/cloud/vision/v1p1beta1/web_detection.proto", fileDescriptor_ba190e118244c98b) -} - -var fileDescriptor_ba190e118244c98b = []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, - 0x94, 0xa8, 0x1b, 0x9c, 0xb8, 0x6d, 0x4c, 0x68, 0x12, 0x48, 0x55, 0x40, 0x1a, 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, 0xff, 0xfc, 0x01, 0x84, 0x67, 0xa6, - 0xb9, 0xe6, 0x2c, 0xb1, 0x2d, 0xe6, 0x86, 0xb8, 0x56, 0xd9, 0x82, 0xbe, 0x24, 0x0f, 0x05, 0xab, - 0xca, 0x16, 0x5b, 0x93, 0xcb, 0xc2, 0x36, 0xcd, 0x4f, 0x86, 0x9d, 0x78, 0x2a, 0x0b, 0x7e, 0xf2, - 0xd5, 0x23, 0xcf, 0x73, 0x39, 0xbf, 0x7d, 0x65, 0x27, 0x7b, 0xeb, 0x4b, 0x9b, 0xe2, 0x0f, 0x36, - 0xf5, 0xbe, 0x9c, 0x3a, 0x4f, 0x29, 0x31, 0x31, 0x92, 0x4d, 0x19, 0x97, 0xbc, 0x32, 0xff, 0x5b, - 0x6c, 0xa7, 0x58, 0x0d, 0xea, 0x86, 0x2f, 0xf5, 0x8d, 0x15, 0x7e, 0x78, 0x5e, 0xb6, 0x63, 0x2c, - 0xc7, 0x3f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xa2, 0x19, 0xa7, 0x1d, 0x84, 0x05, 0x00, 0x00, -} 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 deleted file mode 100644 index 12448b32..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1/geometry.pb.go +++ /dev/null @@ -1,269 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/vision/v1p2beta1/geometry.proto - -package vision - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// A vertex represents a 2D point in the image. -// NOTE: the vertex coordinates are in the same scale as the original image. -type Vertex struct { - // X coordinate. - X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` - // Y coordinate. - Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e749cb92138e5a14, []int{0} -} - -func (m *Vertex) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Vertex.Unmarshal(m, b) -} -func (m *Vertex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Vertex.Marshal(b, m, deterministic) -} -func (m *Vertex) XXX_Merge(src proto.Message) { - xxx_messageInfo_Vertex.Merge(m, src) -} -func (m *Vertex) XXX_Size() int { - return xxx_messageInfo_Vertex.Size(m) -} -func (m *Vertex) XXX_DiscardUnknown() { - xxx_messageInfo_Vertex.DiscardUnknown(m) -} - -var xxx_messageInfo_Vertex proto.InternalMessageInfo - -func (m *Vertex) GetX() int32 { - if m != nil { - return m.X - } - return 0 -} - -func (m *Vertex) GetY() int32 { - if m != nil { - return m.Y - } - return 0 -} - -// 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_e749cb92138e5a14, []int{1} -} - -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 (m *NormalizedVertex) XXX_Merge(src proto.Message) { - xxx_messageInfo_NormalizedVertex.Merge(m, 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 -} - -// A bounding polygon for the detected image annotation. -type BoundingPoly struct { - // The bounding polygon vertices. - Vertices []*Vertex `protobuf:"bytes,1,rep,name=vertices,proto3" json:"vertices,omitempty"` - // The bounding polygon normalized vertices. - NormalizedVertices []*NormalizedVertex `protobuf:"bytes,2,rep,name=normalized_vertices,json=normalizedVertices,proto3" json:"normalized_vertices,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e749cb92138e5a14, []int{2} -} - -func (m *BoundingPoly) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BoundingPoly.Unmarshal(m, b) -} -func (m *BoundingPoly) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BoundingPoly.Marshal(b, m, deterministic) -} -func (m *BoundingPoly) XXX_Merge(src proto.Message) { - xxx_messageInfo_BoundingPoly.Merge(m, src) -} -func (m *BoundingPoly) XXX_Size() int { - return xxx_messageInfo_BoundingPoly.Size(m) -} -func (m *BoundingPoly) XXX_DiscardUnknown() { - xxx_messageInfo_BoundingPoly.DiscardUnknown(m) -} - -var xxx_messageInfo_BoundingPoly proto.InternalMessageInfo - -func (m *BoundingPoly) GetVertices() []*Vertex { - if m != nil { - return m.Vertices - } - return nil -} - -func (m *BoundingPoly) GetNormalizedVertices() []*NormalizedVertex { - if m != nil { - return m.NormalizedVertices - } - return nil -} - -// A 3D position in the image, used primarily for Face detection landmarks. -// A valid Position must have both x and y coordinates. -// The position coordinates are in the same scale as the original image. -type Position 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"` - // Z coordinate (or depth). - Z float32 `protobuf:"fixed32,3,opt,name=z,proto3" json:"z,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e749cb92138e5a14, []int{3} -} - -func (m *Position) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Position.Unmarshal(m, b) -} -func (m *Position) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Position.Marshal(b, m, deterministic) -} -func (m *Position) XXX_Merge(src proto.Message) { - xxx_messageInfo_Position.Merge(m, src) -} -func (m *Position) XXX_Size() int { - return xxx_messageInfo_Position.Size(m) -} -func (m *Position) XXX_DiscardUnknown() { - xxx_messageInfo_Position.DiscardUnknown(m) -} - -var xxx_messageInfo_Position proto.InternalMessageInfo - -func (m *Position) GetX() float32 { - if m != nil { - return m.X - } - return 0 -} - -func (m *Position) GetY() float32 { - if m != nil { - return m.Y - } - return 0 -} - -func (m *Position) GetZ() float32 { - if m != nil { - return m.Z - } - return 0 -} - -func init() { - proto.RegisterType((*Vertex)(nil), "google.cloud.vision.v1p2beta1.Vertex") - proto.RegisterType((*NormalizedVertex)(nil), "google.cloud.vision.v1p2beta1.NormalizedVertex") - proto.RegisterType((*BoundingPoly)(nil), "google.cloud.vision.v1p2beta1.BoundingPoly") - proto.RegisterType((*Position)(nil), "google.cloud.vision.v1p2beta1.Position") -} - -func init() { - proto.RegisterFile("google/cloud/vision/v1p2beta1/geometry.proto", fileDescriptor_e749cb92138e5a14) -} - -var fileDescriptor_e749cb92138e5a14 = []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, - 0x9b, 0xde, 0x3c, 0x59, 0x0f, 0xde, 0xa4, 0xf4, 0xe0, 0xc1, 0x8b, 0x76, 0xed, 0x23, 0x04, 0xda, - 0xbc, 0x92, 0x66, 0x65, 0x2d, 0xfe, 0x57, 0xfe, 0x73, 0x1e, 0xa5, 0xc9, 0x28, 0x6c, 0x60, 0x77, - 0xfc, 0x5e, 0x7e, 0xef, 0x7b, 0x5f, 0xf8, 0xe8, 0xbd, 0x40, 0x14, 0x05, 0xf0, 0xac, 0xc0, 0x6d, - 0xce, 0x1b, 0x59, 0x4b, 0x54, 0xbc, 0x59, 0x55, 0xeb, 0x0d, 0x98, 0x74, 0xc5, 0x05, 0x60, 0x09, - 0x46, 0xb7, 0xac, 0xd2, 0x68, 0xd0, 0xbf, 0x76, 0x34, 0xb3, 0x34, 0x73, 0x34, 0x1b, 0xe8, 0xf0, - 0x96, 0x4e, 0xdf, 0x41, 0x1b, 0xd8, 0xf9, 0x73, 0x4a, 0x76, 0x01, 0x59, 0x90, 0xe5, 0x59, 0x42, - 0xac, 0x6a, 0x03, 0xcf, 0xa9, 0x36, 0x64, 0xf4, 0xf2, 0x0d, 0x75, 0x99, 0x16, 0xb2, 0x83, 0xfc, - 0x98, 0xf7, 0x0e, 0x78, 0xaf, 0xe7, 0x7f, 0x08, 0x9d, 0x47, 0xb8, 0x55, 0xb9, 0x54, 0x22, 0xc6, - 0xa2, 0xf5, 0x9f, 0xe9, 0xac, 0x01, 0x6d, 0x64, 0x06, 0x75, 0x40, 0x16, 0x93, 0xe5, 0xf9, 0xfa, - 0x8e, 0x8d, 0x06, 0x63, 0xee, 0x4a, 0x32, 0xac, 0xf9, 0x5f, 0xf4, 0x4a, 0x0d, 0x19, 0x3e, 0x07, - 0x37, 0xcf, 0xba, 0xf1, 0x13, 0x6e, 0xc7, 0xe9, 0x13, 0x5f, 0x1d, 0x4c, 0x7a, 0xab, 0xf0, 0x91, - 0xce, 0x62, 0xac, 0xa5, 0x91, 0xa8, 0xc6, 0x7e, 0xd7, 0xab, 0x2e, 0x98, 0x38, 0xd5, 0x45, 0xdf, - 0xf4, 0x26, 0xc3, 0x72, 0xfc, 0x7e, 0x74, 0xf1, 0xba, 0x6f, 0x25, 0xee, 0x4b, 0x89, 0xc9, 0xc7, - 0xcb, 0x9e, 0x17, 0x58, 0xa4, 0x4a, 0x30, 0xd4, 0x82, 0x0b, 0x50, 0xb6, 0x32, 0xee, 0x9e, 0xd2, - 0x4a, 0xd6, 0xff, 0x74, 0xfc, 0xe4, 0x06, 0xbf, 0x84, 0x6c, 0xa6, 0x76, 0xe5, 0xe1, 0x2f, 0x00, - 0x00, 0xff, 0xff, 0x3d, 0xe4, 0x63, 0xcf, 0x15, 0x02, 0x00, 0x00, -} 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 deleted file mode 100644 index b3649591..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1/image_annotator.pb.go +++ /dev/null @@ -1,2754 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/vision/v1p2beta1/image_annotator.proto - -package vision - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - status "google.golang.org/genproto/googleapis/rpc/status" - color "google.golang.org/genproto/googleapis/type/color" - latlng "google.golang.org/genproto/googleapis/type/latlng" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A bucketized representation of likelihood, which is intended to give clients -// highly stable results across model upgrades. -type Likelihood int32 - -const ( - // Unknown likelihood. - Likelihood_UNKNOWN Likelihood = 0 - // It is very unlikely that the image belongs to the specified vertical. - Likelihood_VERY_UNLIKELY Likelihood = 1 - // It is unlikely that the image belongs to the specified vertical. - Likelihood_UNLIKELY Likelihood = 2 - // It is possible that the image belongs to the specified vertical. - Likelihood_POSSIBLE Likelihood = 3 - // It is likely that the image belongs to the specified vertical. - Likelihood_LIKELY Likelihood = 4 - // It is very likely that the image belongs to the specified vertical. - Likelihood_VERY_LIKELY Likelihood = 5 -) - -var Likelihood_name = map[int32]string{ - 0: "UNKNOWN", - 1: "VERY_UNLIKELY", - 2: "UNLIKELY", - 3: "POSSIBLE", - 4: "LIKELY", - 5: "VERY_LIKELY", -} - -var Likelihood_value = map[string]int32{ - "UNKNOWN": 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_357ce83580ed3103, []int{0} -} - -// Type of Google Cloud Vision API feature to be extracted. -type Feature_Type int32 - -const ( - // Unspecified feature type. - Feature_TYPE_UNSPECIFIED Feature_Type = 0 - // Run face detection. - Feature_FACE_DETECTION Feature_Type = 1 - // Run landmark detection. - Feature_LANDMARK_DETECTION Feature_Type = 2 - // Run logo detection. - Feature_LOGO_DETECTION Feature_Type = 3 - // Run label detection. - Feature_LABEL_DETECTION Feature_Type = 4 - // Run text detection / optical character recognition (OCR). Text detection - // is optimized for areas of text within a larger image; if the image is - // a document, use `DOCUMENT_TEXT_DETECTION` instead. - Feature_TEXT_DETECTION Feature_Type = 5 - // Run dense text document OCR. Takes precedence when both - // `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` are present. - Feature_DOCUMENT_TEXT_DETECTION Feature_Type = 11 - // Run Safe Search to detect potentially unsafe - // or undesirable content. - Feature_SAFE_SEARCH_DETECTION Feature_Type = 6 - // Compute a set of image properties, such as the - // image's dominant colors. - Feature_IMAGE_PROPERTIES Feature_Type = 7 - // Run crop hints. - Feature_CROP_HINTS Feature_Type = 9 - // Run web detection. - Feature_WEB_DETECTION Feature_Type = 10 -) - -var Feature_Type_name = map[int32]string{ - 0: "TYPE_UNSPECIFIED", - 1: "FACE_DETECTION", - 2: "LANDMARK_DETECTION", - 3: "LOGO_DETECTION", - 4: "LABEL_DETECTION", - 5: "TEXT_DETECTION", - 11: "DOCUMENT_TEXT_DETECTION", - 6: "SAFE_SEARCH_DETECTION", - 7: "IMAGE_PROPERTIES", - 9: "CROP_HINTS", - 10: "WEB_DETECTION", -} - -var Feature_Type_value = map[string]int32{ - "TYPE_UNSPECIFIED": 0, - "FACE_DETECTION": 1, - "LANDMARK_DETECTION": 2, - "LOGO_DETECTION": 3, - "LABEL_DETECTION": 4, - "TEXT_DETECTION": 5, - "DOCUMENT_TEXT_DETECTION": 11, - "SAFE_SEARCH_DETECTION": 6, - "IMAGE_PROPERTIES": 7, - "CROP_HINTS": 9, - "WEB_DETECTION": 10, -} - -func (x Feature_Type) String() string { - return proto.EnumName(Feature_Type_name, int32(x)) -} - -func (Feature_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_357ce83580ed3103, []int{0, 0} -} - -// Face landmark (feature) type. -// Left and right are defined from the vantage of the viewer of the image -// without considering mirror projections typical of photos. So, `LEFT_EYE`, -// typically, is the person's right eye. -type FaceAnnotation_Landmark_Type int32 - -const ( - // Unknown face landmark detected. Should not be filled. - FaceAnnotation_Landmark_UNKNOWN_LANDMARK FaceAnnotation_Landmark_Type = 0 - // Left eye. - FaceAnnotation_Landmark_LEFT_EYE FaceAnnotation_Landmark_Type = 1 - // Right eye. - FaceAnnotation_Landmark_RIGHT_EYE FaceAnnotation_Landmark_Type = 2 - // Left of left eyebrow. - FaceAnnotation_Landmark_LEFT_OF_LEFT_EYEBROW FaceAnnotation_Landmark_Type = 3 - // Right of left eyebrow. - FaceAnnotation_Landmark_RIGHT_OF_LEFT_EYEBROW FaceAnnotation_Landmark_Type = 4 - // Left of right eyebrow. - FaceAnnotation_Landmark_LEFT_OF_RIGHT_EYEBROW FaceAnnotation_Landmark_Type = 5 - // Right of right eyebrow. - FaceAnnotation_Landmark_RIGHT_OF_RIGHT_EYEBROW FaceAnnotation_Landmark_Type = 6 - // Midpoint between eyes. - FaceAnnotation_Landmark_MIDPOINT_BETWEEN_EYES FaceAnnotation_Landmark_Type = 7 - // Nose tip. - FaceAnnotation_Landmark_NOSE_TIP FaceAnnotation_Landmark_Type = 8 - // Upper lip. - FaceAnnotation_Landmark_UPPER_LIP FaceAnnotation_Landmark_Type = 9 - // Lower lip. - FaceAnnotation_Landmark_LOWER_LIP FaceAnnotation_Landmark_Type = 10 - // Mouth left. - FaceAnnotation_Landmark_MOUTH_LEFT FaceAnnotation_Landmark_Type = 11 - // Mouth right. - FaceAnnotation_Landmark_MOUTH_RIGHT FaceAnnotation_Landmark_Type = 12 - // Mouth center. - FaceAnnotation_Landmark_MOUTH_CENTER FaceAnnotation_Landmark_Type = 13 - // Nose, bottom right. - FaceAnnotation_Landmark_NOSE_BOTTOM_RIGHT FaceAnnotation_Landmark_Type = 14 - // Nose, bottom left. - FaceAnnotation_Landmark_NOSE_BOTTOM_LEFT FaceAnnotation_Landmark_Type = 15 - // Nose, bottom center. - FaceAnnotation_Landmark_NOSE_BOTTOM_CENTER FaceAnnotation_Landmark_Type = 16 - // Left eye, top boundary. - FaceAnnotation_Landmark_LEFT_EYE_TOP_BOUNDARY FaceAnnotation_Landmark_Type = 17 - // Left eye, right corner. - FaceAnnotation_Landmark_LEFT_EYE_RIGHT_CORNER FaceAnnotation_Landmark_Type = 18 - // Left eye, bottom boundary. - FaceAnnotation_Landmark_LEFT_EYE_BOTTOM_BOUNDARY FaceAnnotation_Landmark_Type = 19 - // Left eye, left corner. - FaceAnnotation_Landmark_LEFT_EYE_LEFT_CORNER FaceAnnotation_Landmark_Type = 20 - // Right eye, top boundary. - FaceAnnotation_Landmark_RIGHT_EYE_TOP_BOUNDARY FaceAnnotation_Landmark_Type = 21 - // Right eye, right corner. - FaceAnnotation_Landmark_RIGHT_EYE_RIGHT_CORNER FaceAnnotation_Landmark_Type = 22 - // Right eye, bottom boundary. - FaceAnnotation_Landmark_RIGHT_EYE_BOTTOM_BOUNDARY FaceAnnotation_Landmark_Type = 23 - // Right eye, left corner. - FaceAnnotation_Landmark_RIGHT_EYE_LEFT_CORNER FaceAnnotation_Landmark_Type = 24 - // Left eyebrow, upper midpoint. - FaceAnnotation_Landmark_LEFT_EYEBROW_UPPER_MIDPOINT FaceAnnotation_Landmark_Type = 25 - // Right eyebrow, upper midpoint. - FaceAnnotation_Landmark_RIGHT_EYEBROW_UPPER_MIDPOINT FaceAnnotation_Landmark_Type = 26 - // Left ear tragion. - FaceAnnotation_Landmark_LEFT_EAR_TRAGION FaceAnnotation_Landmark_Type = 27 - // Right ear tragion. - FaceAnnotation_Landmark_RIGHT_EAR_TRAGION FaceAnnotation_Landmark_Type = 28 - // Left eye pupil. - FaceAnnotation_Landmark_LEFT_EYE_PUPIL FaceAnnotation_Landmark_Type = 29 - // Right eye pupil. - FaceAnnotation_Landmark_RIGHT_EYE_PUPIL FaceAnnotation_Landmark_Type = 30 - // Forehead glabella. - FaceAnnotation_Landmark_FOREHEAD_GLABELLA FaceAnnotation_Landmark_Type = 31 - // Chin gnathion. - FaceAnnotation_Landmark_CHIN_GNATHION FaceAnnotation_Landmark_Type = 32 - // Chin left gonion. - FaceAnnotation_Landmark_CHIN_LEFT_GONION FaceAnnotation_Landmark_Type = 33 - // Chin right gonion. - FaceAnnotation_Landmark_CHIN_RIGHT_GONION FaceAnnotation_Landmark_Type = 34 -) - -var FaceAnnotation_Landmark_Type_name = map[int32]string{ - 0: "UNKNOWN_LANDMARK", - 1: "LEFT_EYE", - 2: "RIGHT_EYE", - 3: "LEFT_OF_LEFT_EYEBROW", - 4: "RIGHT_OF_LEFT_EYEBROW", - 5: "LEFT_OF_RIGHT_EYEBROW", - 6: "RIGHT_OF_RIGHT_EYEBROW", - 7: "MIDPOINT_BETWEEN_EYES", - 8: "NOSE_TIP", - 9: "UPPER_LIP", - 10: "LOWER_LIP", - 11: "MOUTH_LEFT", - 12: "MOUTH_RIGHT", - 13: "MOUTH_CENTER", - 14: "NOSE_BOTTOM_RIGHT", - 15: "NOSE_BOTTOM_LEFT", - 16: "NOSE_BOTTOM_CENTER", - 17: "LEFT_EYE_TOP_BOUNDARY", - 18: "LEFT_EYE_RIGHT_CORNER", - 19: "LEFT_EYE_BOTTOM_BOUNDARY", - 20: "LEFT_EYE_LEFT_CORNER", - 21: "RIGHT_EYE_TOP_BOUNDARY", - 22: "RIGHT_EYE_RIGHT_CORNER", - 23: "RIGHT_EYE_BOTTOM_BOUNDARY", - 24: "RIGHT_EYE_LEFT_CORNER", - 25: "LEFT_EYEBROW_UPPER_MIDPOINT", - 26: "RIGHT_EYEBROW_UPPER_MIDPOINT", - 27: "LEFT_EAR_TRAGION", - 28: "RIGHT_EAR_TRAGION", - 29: "LEFT_EYE_PUPIL", - 30: "RIGHT_EYE_PUPIL", - 31: "FOREHEAD_GLABELLA", - 32: "CHIN_GNATHION", - 33: "CHIN_LEFT_GONION", - 34: "CHIN_RIGHT_GONION", -} - -var FaceAnnotation_Landmark_Type_value = map[string]int32{ - "UNKNOWN_LANDMARK": 0, - "LEFT_EYE": 1, - "RIGHT_EYE": 2, - "LEFT_OF_LEFT_EYEBROW": 3, - "RIGHT_OF_LEFT_EYEBROW": 4, - "LEFT_OF_RIGHT_EYEBROW": 5, - "RIGHT_OF_RIGHT_EYEBROW": 6, - "MIDPOINT_BETWEEN_EYES": 7, - "NOSE_TIP": 8, - "UPPER_LIP": 9, - "LOWER_LIP": 10, - "MOUTH_LEFT": 11, - "MOUTH_RIGHT": 12, - "MOUTH_CENTER": 13, - "NOSE_BOTTOM_RIGHT": 14, - "NOSE_BOTTOM_LEFT": 15, - "NOSE_BOTTOM_CENTER": 16, - "LEFT_EYE_TOP_BOUNDARY": 17, - "LEFT_EYE_RIGHT_CORNER": 18, - "LEFT_EYE_BOTTOM_BOUNDARY": 19, - "LEFT_EYE_LEFT_CORNER": 20, - "RIGHT_EYE_TOP_BOUNDARY": 21, - "RIGHT_EYE_RIGHT_CORNER": 22, - "RIGHT_EYE_BOTTOM_BOUNDARY": 23, - "RIGHT_EYE_LEFT_CORNER": 24, - "LEFT_EYEBROW_UPPER_MIDPOINT": 25, - "RIGHT_EYEBROW_UPPER_MIDPOINT": 26, - "LEFT_EAR_TRAGION": 27, - "RIGHT_EAR_TRAGION": 28, - "LEFT_EYE_PUPIL": 29, - "RIGHT_EYE_PUPIL": 30, - "FOREHEAD_GLABELLA": 31, - "CHIN_GNATHION": 32, - "CHIN_LEFT_GONION": 33, - "CHIN_RIGHT_GONION": 34, -} - -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_357ce83580ed3103, []int{3, 0, 0} -} - -// Batch operation states. -type OperationMetadata_State int32 - -const ( - // Invalid. - OperationMetadata_STATE_UNSPECIFIED OperationMetadata_State = 0 - // Request is received. - OperationMetadata_CREATED OperationMetadata_State = 1 - // Request is actively being processed. - OperationMetadata_RUNNING OperationMetadata_State = 2 - // The batch processing is done. - OperationMetadata_DONE OperationMetadata_State = 3 - // The batch processing was cancelled. - OperationMetadata_CANCELLED OperationMetadata_State = 4 -) - -var OperationMetadata_State_name = map[int32]string{ - 0: "STATE_UNSPECIFIED", - 1: "CREATED", - 2: "RUNNING", - 3: "DONE", - 4: "CANCELLED", -} - -var OperationMetadata_State_value = map[string]int32{ - "STATE_UNSPECIFIED": 0, - "CREATED": 1, - "RUNNING": 2, - "DONE": 3, - "CANCELLED": 4, -} - -func (x OperationMetadata_State) String() string { - return proto.EnumName(OperationMetadata_State_name, int32(x)) -} - -func (OperationMetadata_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_357ce83580ed3103, []int{31, 0} -} - -// The type of Google Cloud Vision API detection to perform, and the maximum -// number of results to return for that type. Multiple `Feature` objects can -// be specified in the `features` list. -type Feature struct { - // The feature type. - Type Feature_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.vision.v1p2beta1.Feature_Type" json:"type,omitempty"` - // Maximum number of results of this type. Does not apply to - // `TEXT_DETECTION`, `DOCUMENT_TEXT_DETECTION`, or `CROP_HINTS`. - MaxResults int32 `protobuf:"varint,2,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"` - // Model to use for the feature. - // 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 *Feature) Reset() { *m = Feature{} } -func (m *Feature) String() string { return proto.CompactTextString(m) } -func (*Feature) ProtoMessage() {} -func (*Feature) Descriptor() ([]byte, []int) { - return fileDescriptor_357ce83580ed3103, []int{0} -} - -func (m *Feature) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Feature.Unmarshal(m, b) -} -func (m *Feature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Feature.Marshal(b, m, deterministic) -} -func (m *Feature) XXX_Merge(src proto.Message) { - xxx_messageInfo_Feature.Merge(m, src) -} -func (m *Feature) XXX_Size() int { - return xxx_messageInfo_Feature.Size(m) -} -func (m *Feature) XXX_DiscardUnknown() { - xxx_messageInfo_Feature.DiscardUnknown(m) -} - -var xxx_messageInfo_Feature proto.InternalMessageInfo - -func (m *Feature) GetType() Feature_Type { - if m != nil { - return m.Type - } - return Feature_TYPE_UNSPECIFIED -} - -func (m *Feature) GetMaxResults() int32 { - if m != nil { - return m.MaxResults - } - return 0 -} - -func (m *Feature) GetModel() string { - if m != nil { - return m.Model - } - return "" -} - -// External image source (Google Cloud Storage or web URL image location). -type ImageSource struct { - // **Use `image_uri` instead.** - // - // The Google Cloud Storage URI of the form - // `gs://bucket_name/object_name`. Object versioning is not supported. See - // [Google Cloud Storage Request - // URIs](https://cloud.google.com/storage/docs/reference-uris) for more info. - GcsImageUri string `protobuf:"bytes,1,opt,name=gcs_image_uri,json=gcsImageUri,proto3" json:"gcs_image_uri,omitempty"` - // The URI of the source image. Can be either: - // - // 1. A Google Cloud Storage URI of the form - // `gs://bucket_name/object_name`. Object versioning is not supported. See - // [Google Cloud Storage Request - // URIs](https://cloud.google.com/storage/docs/reference-uris) for more - // info. - // - // 2. A publicly-accessible image HTTP/HTTPS URL. When fetching images from - // HTTP/HTTPS URLs, Google cannot guarantee that the request will be - // completed. Your request may fail if the specified host denies the - // request (e.g. due to request throttling or DOS prevention), or if Google - // throttles requests to the site for abuse prevention. You should not - // depend on externally-hosted images for production applications. - // - // When both `gcs_image_uri` and `image_uri` are specified, `image_uri` takes - // precedence. - ImageUri string `protobuf:"bytes,2,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_357ce83580ed3103, []int{1} -} - -func (m *ImageSource) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageSource.Unmarshal(m, b) -} -func (m *ImageSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageSource.Marshal(b, m, deterministic) -} -func (m *ImageSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageSource.Merge(m, src) -} -func (m *ImageSource) XXX_Size() int { - return xxx_messageInfo_ImageSource.Size(m) -} -func (m *ImageSource) XXX_DiscardUnknown() { - xxx_messageInfo_ImageSource.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageSource proto.InternalMessageInfo - -func (m *ImageSource) GetGcsImageUri() string { - if m != nil { - return m.GcsImageUri - } - return "" -} - -func (m *ImageSource) GetImageUri() string { - if m != nil { - return m.ImageUri - } - return "" -} - -// Client image to perform Google Cloud Vision API tasks over. -type Image struct { - // Image content, represented as a stream of bytes. - // Note: As with all `bytes` fields, protobuffers use a pure binary - // representation, whereas JSON representations use base64. - Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` - // Google Cloud Storage image location, or publicly-accessible image - // URL. If both `content` and `source` are provided for an image, `content` - // takes precedence and is used to perform the image annotation request. - Source *ImageSource `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_357ce83580ed3103, []int{2} -} - -func (m *Image) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Image.Unmarshal(m, b) -} -func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Image.Marshal(b, m, deterministic) -} -func (m *Image) XXX_Merge(src proto.Message) { - xxx_messageInfo_Image.Merge(m, src) -} -func (m *Image) XXX_Size() int { - return xxx_messageInfo_Image.Size(m) -} -func (m *Image) XXX_DiscardUnknown() { - xxx_messageInfo_Image.DiscardUnknown(m) -} - -var xxx_messageInfo_Image proto.InternalMessageInfo - -func (m *Image) GetContent() []byte { - if m != nil { - return m.Content - } - return nil -} - -func (m *Image) GetSource() *ImageSource { - if m != nil { - return m.Source - } - return nil -} - -// A face annotation object contains the results of face detection. -type FaceAnnotation struct { - // The bounding polygon around the face. The coordinates of the bounding box - // are in the original image's scale, as returned in `ImageParams`. - // The bounding box is computed to "frame" the face in accordance with human - // expectations. It is based on the landmarker results. - // Note that one or more x and/or y coordinates may not be generated in the - // `BoundingPoly` (the polygon will be unbounded) if only a partial face - // appears in the image to be annotated. - BoundingPoly *BoundingPoly `protobuf:"bytes,1,opt,name=bounding_poly,json=boundingPoly,proto3" json:"bounding_poly,omitempty"` - // The `fd_bounding_poly` bounding polygon is tighter than the - // `boundingPoly`, and encloses only the skin part of the face. Typically, it - // is used to eliminate the face from any image analysis that detects the - // "amount of skin" visible in an image. It is not based on the - // landmarker results, only on the initial face detection, hence - // the fd (face detection) prefix. - FdBoundingPoly *BoundingPoly `protobuf:"bytes,2,opt,name=fd_bounding_poly,json=fdBoundingPoly,proto3" json:"fd_bounding_poly,omitempty"` - // Detected face landmarks. - Landmarks []*FaceAnnotation_Landmark `protobuf:"bytes,3,rep,name=landmarks,proto3" json:"landmarks,omitempty"` - // Roll angle, which indicates the amount of clockwise/anti-clockwise rotation - // of the face relative to the image vertical about the axis perpendicular to - // the face. Range [-180,180]. - RollAngle float32 `protobuf:"fixed32,4,opt,name=roll_angle,json=rollAngle,proto3" json:"roll_angle,omitempty"` - // Yaw angle, which indicates the leftward/rightward angle that the face is - // pointing relative to the vertical plane perpendicular to the image. Range - // [-180,180]. - PanAngle float32 `protobuf:"fixed32,5,opt,name=pan_angle,json=panAngle,proto3" json:"pan_angle,omitempty"` - // Pitch angle, which indicates the upwards/downwards angle that the face is - // pointing relative to the image's horizontal plane. Range [-180,180]. - TiltAngle float32 `protobuf:"fixed32,6,opt,name=tilt_angle,json=tiltAngle,proto3" json:"tilt_angle,omitempty"` - // Detection confidence. Range [0, 1]. - DetectionConfidence float32 `protobuf:"fixed32,7,opt,name=detection_confidence,json=detectionConfidence,proto3" json:"detection_confidence,omitempty"` - // Face landmarking confidence. Range [0, 1]. - LandmarkingConfidence float32 `protobuf:"fixed32,8,opt,name=landmarking_confidence,json=landmarkingConfidence,proto3" json:"landmarking_confidence,omitempty"` - // Joy likelihood. - JoyLikelihood Likelihood `protobuf:"varint,9,opt,name=joy_likelihood,json=joyLikelihood,proto3,enum=google.cloud.vision.v1p2beta1.Likelihood" json:"joy_likelihood,omitempty"` - // Sorrow likelihood. - SorrowLikelihood Likelihood `protobuf:"varint,10,opt,name=sorrow_likelihood,json=sorrowLikelihood,proto3,enum=google.cloud.vision.v1p2beta1.Likelihood" json:"sorrow_likelihood,omitempty"` - // Anger likelihood. - AngerLikelihood Likelihood `protobuf:"varint,11,opt,name=anger_likelihood,json=angerLikelihood,proto3,enum=google.cloud.vision.v1p2beta1.Likelihood" json:"anger_likelihood,omitempty"` - // Surprise likelihood. - SurpriseLikelihood Likelihood `protobuf:"varint,12,opt,name=surprise_likelihood,json=surpriseLikelihood,proto3,enum=google.cloud.vision.v1p2beta1.Likelihood" json:"surprise_likelihood,omitempty"` - // Under-exposed likelihood. - UnderExposedLikelihood Likelihood `protobuf:"varint,13,opt,name=under_exposed_likelihood,json=underExposedLikelihood,proto3,enum=google.cloud.vision.v1p2beta1.Likelihood" json:"under_exposed_likelihood,omitempty"` - // Blurred likelihood. - BlurredLikelihood Likelihood `protobuf:"varint,14,opt,name=blurred_likelihood,json=blurredLikelihood,proto3,enum=google.cloud.vision.v1p2beta1.Likelihood" json:"blurred_likelihood,omitempty"` - // Headwear likelihood. - HeadwearLikelihood Likelihood `protobuf:"varint,15,opt,name=headwear_likelihood,json=headwearLikelihood,proto3,enum=google.cloud.vision.v1p2beta1.Likelihood" json:"headwear_likelihood,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_357ce83580ed3103, []int{3} -} - -func (m *FaceAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FaceAnnotation.Unmarshal(m, b) -} -func (m *FaceAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FaceAnnotation.Marshal(b, m, deterministic) -} -func (m *FaceAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_FaceAnnotation.Merge(m, src) -} -func (m *FaceAnnotation) XXX_Size() int { - return xxx_messageInfo_FaceAnnotation.Size(m) -} -func (m *FaceAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_FaceAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_FaceAnnotation proto.InternalMessageInfo - -func (m *FaceAnnotation) GetBoundingPoly() *BoundingPoly { - if m != nil { - return m.BoundingPoly - } - return nil -} - -func (m *FaceAnnotation) GetFdBoundingPoly() *BoundingPoly { - if m != nil { - return m.FdBoundingPoly - } - return nil -} - -func (m *FaceAnnotation) GetLandmarks() []*FaceAnnotation_Landmark { - if m != nil { - return m.Landmarks - } - return nil -} - -func (m *FaceAnnotation) GetRollAngle() float32 { - if m != nil { - return m.RollAngle - } - return 0 -} - -func (m *FaceAnnotation) GetPanAngle() float32 { - if m != nil { - return m.PanAngle - } - return 0 -} - -func (m *FaceAnnotation) GetTiltAngle() float32 { - if m != nil { - return m.TiltAngle - } - return 0 -} - -func (m *FaceAnnotation) GetDetectionConfidence() float32 { - if m != nil { - return m.DetectionConfidence - } - return 0 -} - -func (m *FaceAnnotation) GetLandmarkingConfidence() float32 { - if m != nil { - return m.LandmarkingConfidence - } - return 0 -} - -func (m *FaceAnnotation) GetJoyLikelihood() Likelihood { - if m != nil { - return m.JoyLikelihood - } - return Likelihood_UNKNOWN -} - -func (m *FaceAnnotation) GetSorrowLikelihood() Likelihood { - if m != nil { - return m.SorrowLikelihood - } - return Likelihood_UNKNOWN -} - -func (m *FaceAnnotation) GetAngerLikelihood() Likelihood { - if m != nil { - return m.AngerLikelihood - } - return Likelihood_UNKNOWN -} - -func (m *FaceAnnotation) GetSurpriseLikelihood() Likelihood { - if m != nil { - return m.SurpriseLikelihood - } - return Likelihood_UNKNOWN -} - -func (m *FaceAnnotation) GetUnderExposedLikelihood() Likelihood { - if m != nil { - return m.UnderExposedLikelihood - } - return Likelihood_UNKNOWN -} - -func (m *FaceAnnotation) GetBlurredLikelihood() Likelihood { - if m != nil { - return m.BlurredLikelihood - } - return Likelihood_UNKNOWN -} - -func (m *FaceAnnotation) GetHeadwearLikelihood() Likelihood { - if m != nil { - return m.HeadwearLikelihood - } - return Likelihood_UNKNOWN -} - -// A face-specific landmark (for example, a face feature). -type FaceAnnotation_Landmark struct { - // Face landmark type. - Type FaceAnnotation_Landmark_Type `protobuf:"varint,3,opt,name=type,proto3,enum=google.cloud.vision.v1p2beta1.FaceAnnotation_Landmark_Type" json:"type,omitempty"` - // Face landmark position. - Position *Position `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_357ce83580ed3103, []int{3, 0} -} - -func (m *FaceAnnotation_Landmark) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FaceAnnotation_Landmark.Unmarshal(m, b) -} -func (m *FaceAnnotation_Landmark) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FaceAnnotation_Landmark.Marshal(b, m, deterministic) -} -func (m *FaceAnnotation_Landmark) XXX_Merge(src proto.Message) { - xxx_messageInfo_FaceAnnotation_Landmark.Merge(m, src) -} -func (m *FaceAnnotation_Landmark) XXX_Size() int { - return xxx_messageInfo_FaceAnnotation_Landmark.Size(m) -} -func (m *FaceAnnotation_Landmark) XXX_DiscardUnknown() { - xxx_messageInfo_FaceAnnotation_Landmark.DiscardUnknown(m) -} - -var xxx_messageInfo_FaceAnnotation_Landmark proto.InternalMessageInfo - -func (m *FaceAnnotation_Landmark) GetType() FaceAnnotation_Landmark_Type { - if m != nil { - return m.Type - } - return FaceAnnotation_Landmark_UNKNOWN_LANDMARK -} - -func (m *FaceAnnotation_Landmark) GetPosition() *Position { - if m != nil { - return m.Position - } - return nil -} - -// Detected entity location information. -type LocationInfo struct { - // lat/long location coordinates. - LatLng *latlng.LatLng `protobuf:"bytes,1,opt,name=lat_lng,json=latLng,proto3" json:"lat_lng,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_357ce83580ed3103, []int{4} -} - -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 (m *LocationInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocationInfo.Merge(m, 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) GetLatLng() *latlng.LatLng { - if m != nil { - return m.LatLng - } - return nil -} - -// A `Property` consists of a user-supplied name/value pair. -type Property struct { - // Name of the property. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Value of the property. - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - // Value of numeric properties. - Uint64Value uint64 `protobuf:"varint,3,opt,name=uint64_value,json=uint64Value,proto3" json:"uint64_value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_357ce83580ed3103, []int{5} -} - -func (m *Property) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Property.Unmarshal(m, b) -} -func (m *Property) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Property.Marshal(b, m, deterministic) -} -func (m *Property) XXX_Merge(src proto.Message) { - xxx_messageInfo_Property.Merge(m, src) -} -func (m *Property) XXX_Size() int { - return xxx_messageInfo_Property.Size(m) -} -func (m *Property) XXX_DiscardUnknown() { - xxx_messageInfo_Property.DiscardUnknown(m) -} - -var xxx_messageInfo_Property proto.InternalMessageInfo - -func (m *Property) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Property) GetValue() string { - if m != nil { - return m.Value - } - return "" -} - -func (m *Property) GetUint64Value() uint64 { - if m != nil { - return m.Uint64Value - } - return 0 -} - -// Set of detected entity features. -type EntityAnnotation struct { - // Opaque entity ID. Some IDs may be available in - // [Google Knowledge Graph Search - // API](https://developers.google.com/knowledge-graph/). - Mid string `protobuf:"bytes,1,opt,name=mid,proto3" json:"mid,omitempty"` - // The language code for the locale in which the entity textual - // `description` is expressed. - Locale string `protobuf:"bytes,2,opt,name=locale,proto3" json:"locale,omitempty"` - // Entity textual description, expressed in its `locale` language. - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - // Overall score of the result. Range [0, 1]. - Score float32 `protobuf:"fixed32,4,opt,name=score,proto3" json:"score,omitempty"` - // **Deprecated. Use `score` instead.** - // The accuracy of the entity detection in an image. - // 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"` - // 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 - // detected distant towering building, even though the confidence that - // there is a tower in each image may be the same. Range [0, 1]. - Topicality float32 `protobuf:"fixed32,6,opt,name=topicality,proto3" json:"topicality,omitempty"` - // Image region to which this entity belongs. Not produced - // for `LABEL_DETECTION` features. - BoundingPoly *BoundingPoly `protobuf:"bytes,7,opt,name=bounding_poly,json=boundingPoly,proto3" json:"bounding_poly,omitempty"` - // The location information for the detected entity. Multiple - // `LocationInfo` elements can be present because one location may - // indicate the location of the scene in the image, and another location - // may indicate the location of the place where the image was taken. - // Location information is usually present for landmarks. - Locations []*LocationInfo `protobuf:"bytes,8,rep,name=locations,proto3" json:"locations,omitempty"` - // Some entities may have optional user-supplied `Property` (name/value) - // fields, such a score or string that qualifies the entity. - Properties []*Property `protobuf:"bytes,9,rep,name=properties,proto3" json:"properties,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_357ce83580ed3103, []int{6} -} - -func (m *EntityAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EntityAnnotation.Unmarshal(m, b) -} -func (m *EntityAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EntityAnnotation.Marshal(b, m, deterministic) -} -func (m *EntityAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_EntityAnnotation.Merge(m, src) -} -func (m *EntityAnnotation) XXX_Size() int { - return xxx_messageInfo_EntityAnnotation.Size(m) -} -func (m *EntityAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_EntityAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_EntityAnnotation proto.InternalMessageInfo - -func (m *EntityAnnotation) GetMid() string { - if m != nil { - return m.Mid - } - return "" -} - -func (m *EntityAnnotation) GetLocale() string { - if m != nil { - return m.Locale - } - return "" -} - -func (m *EntityAnnotation) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *EntityAnnotation) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -func (m *EntityAnnotation) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -func (m *EntityAnnotation) GetTopicality() float32 { - if m != nil { - return m.Topicality - } - return 0 -} - -func (m *EntityAnnotation) GetBoundingPoly() *BoundingPoly { - if m != nil { - return m.BoundingPoly - } - return nil -} - -func (m *EntityAnnotation) GetLocations() []*LocationInfo { - if m != nil { - return m.Locations - } - return nil -} - -func (m *EntityAnnotation) GetProperties() []*Property { - if m != nil { - return m.Properties - } - return nil -} - -// Set of features pertaining to the image, computed by computer vision -// methods over safe-search verticals (for example, adult, spoof, medical, -// violence). -type SafeSearchAnnotation struct { - // Represents the adult content likelihood for the image. Adult content may - // contain elements such as nudity, pornographic images or cartoons, or - // sexual activities. - Adult Likelihood `protobuf:"varint,1,opt,name=adult,proto3,enum=google.cloud.vision.v1p2beta1.Likelihood" json:"adult,omitempty"` - // Spoof likelihood. The likelihood that an modification - // was made to the image's canonical version to make it appear - // funny or offensive. - Spoof Likelihood `protobuf:"varint,2,opt,name=spoof,proto3,enum=google.cloud.vision.v1p2beta1.Likelihood" json:"spoof,omitempty"` - // Likelihood that this is a medical image. - Medical Likelihood `protobuf:"varint,3,opt,name=medical,proto3,enum=google.cloud.vision.v1p2beta1.Likelihood" json:"medical,omitempty"` - // Likelihood that this image contains violent content. - Violence Likelihood `protobuf:"varint,4,opt,name=violence,proto3,enum=google.cloud.vision.v1p2beta1.Likelihood" json:"violence,omitempty"` - // Likelihood that the request image contains racy content. Racy content may - // include (but is not limited to) skimpy or sheer clothing, strategically - // covered nudity, lewd or provocative poses, or close-ups of sensitive - // body areas. - Racy Likelihood `protobuf:"varint,9,opt,name=racy,proto3,enum=google.cloud.vision.v1p2beta1.Likelihood" json:"racy,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_357ce83580ed3103, []int{7} -} - -func (m *SafeSearchAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SafeSearchAnnotation.Unmarshal(m, b) -} -func (m *SafeSearchAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SafeSearchAnnotation.Marshal(b, m, deterministic) -} -func (m *SafeSearchAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_SafeSearchAnnotation.Merge(m, src) -} -func (m *SafeSearchAnnotation) XXX_Size() int { - return xxx_messageInfo_SafeSearchAnnotation.Size(m) -} -func (m *SafeSearchAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_SafeSearchAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_SafeSearchAnnotation proto.InternalMessageInfo - -func (m *SafeSearchAnnotation) GetAdult() Likelihood { - if m != nil { - return m.Adult - } - return Likelihood_UNKNOWN -} - -func (m *SafeSearchAnnotation) GetSpoof() Likelihood { - if m != nil { - return m.Spoof - } - return Likelihood_UNKNOWN -} - -func (m *SafeSearchAnnotation) GetMedical() Likelihood { - if m != nil { - return m.Medical - } - return Likelihood_UNKNOWN -} - -func (m *SafeSearchAnnotation) GetViolence() Likelihood { - if m != nil { - return m.Violence - } - return Likelihood_UNKNOWN -} - -func (m *SafeSearchAnnotation) GetRacy() Likelihood { - if m != nil { - return m.Racy - } - return Likelihood_UNKNOWN -} - -// Rectangle determined by min and max `LatLng` pairs. -type LatLongRect struct { - // Min lat/long pair. - MinLatLng *latlng.LatLng `protobuf:"bytes,1,opt,name=min_lat_lng,json=minLatLng,proto3" json:"min_lat_lng,omitempty"` - // Max lat/long pair. - MaxLatLng *latlng.LatLng `protobuf:"bytes,2,opt,name=max_lat_lng,json=maxLatLng,proto3" json:"max_lat_lng,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_357ce83580ed3103, []int{8} -} - -func (m *LatLongRect) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LatLongRect.Unmarshal(m, b) -} -func (m *LatLongRect) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LatLongRect.Marshal(b, m, deterministic) -} -func (m *LatLongRect) XXX_Merge(src proto.Message) { - xxx_messageInfo_LatLongRect.Merge(m, src) -} -func (m *LatLongRect) XXX_Size() int { - return xxx_messageInfo_LatLongRect.Size(m) -} -func (m *LatLongRect) XXX_DiscardUnknown() { - xxx_messageInfo_LatLongRect.DiscardUnknown(m) -} - -var xxx_messageInfo_LatLongRect proto.InternalMessageInfo - -func (m *LatLongRect) GetMinLatLng() *latlng.LatLng { - if m != nil { - return m.MinLatLng - } - return nil -} - -func (m *LatLongRect) GetMaxLatLng() *latlng.LatLng { - if m != nil { - return m.MaxLatLng - } - return nil -} - -// Color information consists of RGB channels, score, and the fraction of -// the image that the color occupies in the image. -type ColorInfo struct { - // RGB components of the color. - Color *color.Color `protobuf:"bytes,1,opt,name=color,proto3" json:"color,omitempty"` - // Image-specific score for this color. Value in range [0, 1]. - Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"` - // The fraction of pixels the color occupies in the image. - // Value in range [0, 1]. - PixelFraction float32 `protobuf:"fixed32,3,opt,name=pixel_fraction,json=pixelFraction,proto3" json:"pixel_fraction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_357ce83580ed3103, []int{9} -} - -func (m *ColorInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ColorInfo.Unmarshal(m, b) -} -func (m *ColorInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ColorInfo.Marshal(b, m, deterministic) -} -func (m *ColorInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ColorInfo.Merge(m, src) -} -func (m *ColorInfo) XXX_Size() int { - return xxx_messageInfo_ColorInfo.Size(m) -} -func (m *ColorInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ColorInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_ColorInfo proto.InternalMessageInfo - -func (m *ColorInfo) GetColor() *color.Color { - if m != nil { - return m.Color - } - return nil -} - -func (m *ColorInfo) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -func (m *ColorInfo) GetPixelFraction() float32 { - if m != nil { - return m.PixelFraction - } - return 0 -} - -// Set of dominant colors and their corresponding scores. -type DominantColorsAnnotation struct { - // RGB color values with their score and pixel fraction. - Colors []*ColorInfo `protobuf:"bytes,1,rep,name=colors,proto3" json:"colors,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DominantColorsAnnotation) Reset() { *m = DominantColorsAnnotation{} } -func (m *DominantColorsAnnotation) String() string { return proto.CompactTextString(m) } -func (*DominantColorsAnnotation) ProtoMessage() {} -func (*DominantColorsAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_357ce83580ed3103, []int{10} -} - -func (m *DominantColorsAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DominantColorsAnnotation.Unmarshal(m, b) -} -func (m *DominantColorsAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DominantColorsAnnotation.Marshal(b, m, deterministic) -} -func (m *DominantColorsAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_DominantColorsAnnotation.Merge(m, src) -} -func (m *DominantColorsAnnotation) XXX_Size() int { - return xxx_messageInfo_DominantColorsAnnotation.Size(m) -} -func (m *DominantColorsAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_DominantColorsAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_DominantColorsAnnotation proto.InternalMessageInfo - -func (m *DominantColorsAnnotation) GetColors() []*ColorInfo { - if m != nil { - return m.Colors - } - return nil -} - -// Stores image properties, such as dominant colors. -type ImageProperties struct { - // If present, dominant colors completed successfully. - DominantColors *DominantColorsAnnotation `protobuf:"bytes,1,opt,name=dominant_colors,json=dominantColors,proto3" json:"dominant_colors,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_357ce83580ed3103, []int{11} -} - -func (m *ImageProperties) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageProperties.Unmarshal(m, b) -} -func (m *ImageProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageProperties.Marshal(b, m, deterministic) -} -func (m *ImageProperties) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageProperties.Merge(m, src) -} -func (m *ImageProperties) XXX_Size() int { - return xxx_messageInfo_ImageProperties.Size(m) -} -func (m *ImageProperties) XXX_DiscardUnknown() { - xxx_messageInfo_ImageProperties.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageProperties proto.InternalMessageInfo - -func (m *ImageProperties) GetDominantColors() *DominantColorsAnnotation { - if m != nil { - return m.DominantColors - } - return nil -} - -// Single crop hint that is used to generate a new crop when serving an image. -type CropHint struct { - // The bounding polygon for the crop region. The coordinates of the bounding - // box are in the original image's scale, as returned in `ImageParams`. - BoundingPoly *BoundingPoly `protobuf:"bytes,1,opt,name=bounding_poly,json=boundingPoly,proto3" json:"bounding_poly,omitempty"` - // Confidence of this being a salient region. Range [0, 1]. - Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"` - // Fraction of importance of this salient region with respect to the original - // image. - ImportanceFraction float32 `protobuf:"fixed32,3,opt,name=importance_fraction,json=importanceFraction,proto3" json:"importance_fraction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_357ce83580ed3103, []int{12} -} - -func (m *CropHint) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CropHint.Unmarshal(m, b) -} -func (m *CropHint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CropHint.Marshal(b, m, deterministic) -} -func (m *CropHint) XXX_Merge(src proto.Message) { - xxx_messageInfo_CropHint.Merge(m, src) -} -func (m *CropHint) XXX_Size() int { - return xxx_messageInfo_CropHint.Size(m) -} -func (m *CropHint) XXX_DiscardUnknown() { - xxx_messageInfo_CropHint.DiscardUnknown(m) -} - -var xxx_messageInfo_CropHint proto.InternalMessageInfo - -func (m *CropHint) GetBoundingPoly() *BoundingPoly { - if m != nil { - return m.BoundingPoly - } - return nil -} - -func (m *CropHint) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -func (m *CropHint) GetImportanceFraction() float32 { - if m != nil { - return m.ImportanceFraction - } - return 0 -} - -// Set of crop hints that are used to generate new crops when serving images. -type CropHintsAnnotation struct { - // Crop hint results. - CropHints []*CropHint `protobuf:"bytes,1,rep,name=crop_hints,json=cropHints,proto3" json:"crop_hints,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_357ce83580ed3103, []int{13} -} - -func (m *CropHintsAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CropHintsAnnotation.Unmarshal(m, b) -} -func (m *CropHintsAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CropHintsAnnotation.Marshal(b, m, deterministic) -} -func (m *CropHintsAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CropHintsAnnotation.Merge(m, src) -} -func (m *CropHintsAnnotation) XXX_Size() int { - return xxx_messageInfo_CropHintsAnnotation.Size(m) -} -func (m *CropHintsAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_CropHintsAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_CropHintsAnnotation proto.InternalMessageInfo - -func (m *CropHintsAnnotation) GetCropHints() []*CropHint { - if m != nil { - return m.CropHints - } - return nil -} - -// Parameters for crop hints annotation request. -type CropHintsParams struct { - // Aspect ratios in floats, representing the ratio of the width to the height - // of the image. For example, if the desired aspect ratio is 4/3, the - // corresponding float value should be 1.33333. If not specified, the - // best possible crop is returned. The number of provided aspect ratios is - // limited to a maximum of 16; any aspect ratios provided after the 16th are - // ignored. - AspectRatios []float32 `protobuf:"fixed32,1,rep,packed,name=aspect_ratios,json=aspectRatios,proto3" json:"aspect_ratios,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_357ce83580ed3103, []int{14} -} - -func (m *CropHintsParams) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CropHintsParams.Unmarshal(m, b) -} -func (m *CropHintsParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CropHintsParams.Marshal(b, m, deterministic) -} -func (m *CropHintsParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_CropHintsParams.Merge(m, src) -} -func (m *CropHintsParams) XXX_Size() int { - return xxx_messageInfo_CropHintsParams.Size(m) -} -func (m *CropHintsParams) XXX_DiscardUnknown() { - xxx_messageInfo_CropHintsParams.DiscardUnknown(m) -} - -var xxx_messageInfo_CropHintsParams proto.InternalMessageInfo - -func (m *CropHintsParams) GetAspectRatios() []float32 { - if m != nil { - return m.AspectRatios - } - return nil -} - -// Parameters for web detection request. -type WebDetectionParams struct { - // Whether to include results derived from the geo information in the image. - IncludeGeoResults bool `protobuf:"varint,2,opt,name=include_geo_results,json=includeGeoResults,proto3" json:"include_geo_results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_357ce83580ed3103, []int{15} -} - -func (m *WebDetectionParams) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebDetectionParams.Unmarshal(m, b) -} -func (m *WebDetectionParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebDetectionParams.Marshal(b, m, deterministic) -} -func (m *WebDetectionParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebDetectionParams.Merge(m, src) -} -func (m *WebDetectionParams) XXX_Size() int { - return xxx_messageInfo_WebDetectionParams.Size(m) -} -func (m *WebDetectionParams) XXX_DiscardUnknown() { - xxx_messageInfo_WebDetectionParams.DiscardUnknown(m) -} - -var xxx_messageInfo_WebDetectionParams proto.InternalMessageInfo - -func (m *WebDetectionParams) GetIncludeGeoResults() bool { - if m != nil { - return m.IncludeGeoResults - } - return false -} - -// Image context and/or feature-specific parameters. -type ImageContext struct { - // Not used. - LatLongRect *LatLongRect `protobuf:"bytes,1,opt,name=lat_long_rect,json=latLongRect,proto3" json:"lat_long_rect,omitempty"` - // List of languages to use for TEXT_DETECTION. In most cases, an empty value - // yields the best results since it enables automatic language detection. For - // languages based on the Latin alphabet, setting `language_hints` is not - // needed. In rare cases, when the language of the text in the image is known, - // setting a hint will help get better results (although it will be a - // significant hindrance if the hint is wrong). Text detection returns an - // error if one or more of the specified languages is not one of the - // [supported languages](/vision/docs/languages). - 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 web detection. - WebDetectionParams *WebDetectionParams `protobuf:"bytes,6,opt,name=web_detection_params,json=webDetectionParams,proto3" json:"web_detection_params,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_357ce83580ed3103, []int{16} -} - -func (m *ImageContext) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageContext.Unmarshal(m, b) -} -func (m *ImageContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageContext.Marshal(b, m, deterministic) -} -func (m *ImageContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageContext.Merge(m, src) -} -func (m *ImageContext) XXX_Size() int { - return xxx_messageInfo_ImageContext.Size(m) -} -func (m *ImageContext) XXX_DiscardUnknown() { - xxx_messageInfo_ImageContext.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageContext proto.InternalMessageInfo - -func (m *ImageContext) GetLatLongRect() *LatLongRect { - if m != nil { - return m.LatLongRect - } - return nil -} - -func (m *ImageContext) GetLanguageHints() []string { - if m != nil { - return m.LanguageHints - } - return nil -} - -func (m *ImageContext) GetCropHintsParams() *CropHintsParams { - if m != nil { - return m.CropHintsParams - } - return nil -} - -func (m *ImageContext) GetWebDetectionParams() *WebDetectionParams { - if m != nil { - return m.WebDetectionParams - } - return nil -} - -// Request for performing Google Cloud Vision API tasks over a user-provided -// image, with user-requested features. -type AnnotateImageRequest struct { - // The image to be processed. - Image *Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` - // Requested features. - Features []*Feature `protobuf:"bytes,2,rep,name=features,proto3" json:"features,omitempty"` - // Additional context that may accompany the image. - ImageContext *ImageContext `protobuf:"bytes,3,opt,name=image_context,json=imageContext,proto3" json:"image_context,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_357ce83580ed3103, []int{17} -} - -func (m *AnnotateImageRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotateImageRequest.Unmarshal(m, b) -} -func (m *AnnotateImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotateImageRequest.Marshal(b, m, deterministic) -} -func (m *AnnotateImageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateImageRequest.Merge(m, src) -} -func (m *AnnotateImageRequest) XXX_Size() int { - return xxx_messageInfo_AnnotateImageRequest.Size(m) -} -func (m *AnnotateImageRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotateImageRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotateImageRequest proto.InternalMessageInfo - -func (m *AnnotateImageRequest) GetImage() *Image { - if m != nil { - return m.Image - } - return nil -} - -func (m *AnnotateImageRequest) GetFeatures() []*Feature { - if m != nil { - return m.Features - } - return nil -} - -func (m *AnnotateImageRequest) GetImageContext() *ImageContext { - if m != nil { - return m.ImageContext - } - return nil -} - -// If an image was produced from a file (e.g. a PDF), this message gives -// information about the source of that image. -type ImageAnnotationContext struct { - // The URI of the file used to produce the image. - Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` - // If the file was a PDF or TIFF, this field gives the page number within - // the file used to produce the image. - PageNumber int32 `protobuf:"varint,2,opt,name=page_number,json=pageNumber,proto3" json:"page_number,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_357ce83580ed3103, []int{18} -} - -func (m *ImageAnnotationContext) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageAnnotationContext.Unmarshal(m, b) -} -func (m *ImageAnnotationContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageAnnotationContext.Marshal(b, m, deterministic) -} -func (m *ImageAnnotationContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageAnnotationContext.Merge(m, src) -} -func (m *ImageAnnotationContext) XXX_Size() int { - return xxx_messageInfo_ImageAnnotationContext.Size(m) -} -func (m *ImageAnnotationContext) XXX_DiscardUnknown() { - xxx_messageInfo_ImageAnnotationContext.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageAnnotationContext proto.InternalMessageInfo - -func (m *ImageAnnotationContext) GetUri() string { - if m != nil { - return m.Uri - } - return "" -} - -func (m *ImageAnnotationContext) GetPageNumber() int32 { - if m != nil { - return m.PageNumber - } - return 0 -} - -// Response to an image annotation request. -type AnnotateImageResponse struct { - // If present, face detection has completed successfully. - FaceAnnotations []*FaceAnnotation `protobuf:"bytes,1,rep,name=face_annotations,json=faceAnnotations,proto3" json:"face_annotations,omitempty"` - // If present, landmark detection has completed successfully. - LandmarkAnnotations []*EntityAnnotation `protobuf:"bytes,2,rep,name=landmark_annotations,json=landmarkAnnotations,proto3" json:"landmark_annotations,omitempty"` - // If present, logo detection has completed successfully. - 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, 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 - // completed successfully. - // This annotation provides the structural hierarchy for the OCR detected - // text. - FullTextAnnotation *TextAnnotation `protobuf:"bytes,12,opt,name=full_text_annotation,json=fullTextAnnotation,proto3" json:"full_text_annotation,omitempty"` - // If present, safe-search annotation has completed successfully. - SafeSearchAnnotation *SafeSearchAnnotation `protobuf:"bytes,6,opt,name=safe_search_annotation,json=safeSearchAnnotation,proto3" json:"safe_search_annotation,omitempty"` - // If present, image properties were extracted successfully. - ImagePropertiesAnnotation *ImageProperties `protobuf:"bytes,8,opt,name=image_properties_annotation,json=imagePropertiesAnnotation,proto3" json:"image_properties_annotation,omitempty"` - // If present, crop hints have completed successfully. - 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 set, represents the error message for the operation. - // Note that filled-in image annotations are guaranteed to be - // correct, even when `error` is set. - Error *status.Status `protobuf:"bytes,9,opt,name=error,proto3" json:"error,omitempty"` - // If present, contextual information is needed to understand where this image - // comes from. - Context *ImageAnnotationContext `protobuf:"bytes,21,opt,name=context,proto3" json:"context,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_357ce83580ed3103, []int{19} -} - -func (m *AnnotateImageResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotateImageResponse.Unmarshal(m, b) -} -func (m *AnnotateImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotateImageResponse.Marshal(b, m, deterministic) -} -func (m *AnnotateImageResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateImageResponse.Merge(m, src) -} -func (m *AnnotateImageResponse) XXX_Size() int { - return xxx_messageInfo_AnnotateImageResponse.Size(m) -} -func (m *AnnotateImageResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotateImageResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotateImageResponse proto.InternalMessageInfo - -func (m *AnnotateImageResponse) GetFaceAnnotations() []*FaceAnnotation { - if m != nil { - return m.FaceAnnotations - } - return nil -} - -func (m *AnnotateImageResponse) GetLandmarkAnnotations() []*EntityAnnotation { - if m != nil { - return m.LandmarkAnnotations - } - return nil -} - -func (m *AnnotateImageResponse) GetLogoAnnotations() []*EntityAnnotation { - if m != nil { - return m.LogoAnnotations - } - return nil -} - -func (m *AnnotateImageResponse) GetLabelAnnotations() []*EntityAnnotation { - if m != nil { - return m.LabelAnnotations - } - return nil -} - -func (m *AnnotateImageResponse) GetTextAnnotations() []*EntityAnnotation { - if m != nil { - return m.TextAnnotations - } - return nil -} - -func (m *AnnotateImageResponse) GetFullTextAnnotation() *TextAnnotation { - if m != nil { - return m.FullTextAnnotation - } - return nil -} - -func (m *AnnotateImageResponse) GetSafeSearchAnnotation() *SafeSearchAnnotation { - if m != nil { - return m.SafeSearchAnnotation - } - return nil -} - -func (m *AnnotateImageResponse) GetImagePropertiesAnnotation() *ImageProperties { - if m != nil { - return m.ImagePropertiesAnnotation - } - return nil -} - -func (m *AnnotateImageResponse) GetCropHintsAnnotation() *CropHintsAnnotation { - if m != nil { - return m.CropHintsAnnotation - } - return nil -} - -func (m *AnnotateImageResponse) GetWebDetection() *WebDetection { - if m != nil { - return m.WebDetection - } - return nil -} - -func (m *AnnotateImageResponse) GetError() *status.Status { - if m != nil { - return m.Error - } - return nil -} - -func (m *AnnotateImageResponse) GetContext() *ImageAnnotationContext { - if m != nil { - return m.Context - } - return nil -} - -// Response to a single file annotation request. A file may contain one or more -// images, which individually have their own responses. -type AnnotateFileResponse struct { - // Information about the file for which this response is generated. - InputConfig *InputConfig `protobuf:"bytes,1,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"` - // Individual responses to images found within the file. - Responses []*AnnotateImageResponse `protobuf:"bytes,2,rep,name=responses,proto3" json:"responses,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_357ce83580ed3103, []int{20} -} - -func (m *AnnotateFileResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotateFileResponse.Unmarshal(m, b) -} -func (m *AnnotateFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotateFileResponse.Marshal(b, m, deterministic) -} -func (m *AnnotateFileResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateFileResponse.Merge(m, src) -} -func (m *AnnotateFileResponse) XXX_Size() int { - return xxx_messageInfo_AnnotateFileResponse.Size(m) -} -func (m *AnnotateFileResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotateFileResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotateFileResponse proto.InternalMessageInfo - -func (m *AnnotateFileResponse) GetInputConfig() *InputConfig { - if m != nil { - return m.InputConfig - } - return nil -} - -func (m *AnnotateFileResponse) GetResponses() []*AnnotateImageResponse { - if m != nil { - return m.Responses - } - return nil -} - -// Multiple image annotation requests are batched into a single service call. -type BatchAnnotateImagesRequest struct { - // Individual image annotation requests for this batch. - Requests []*AnnotateImageRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchAnnotateImagesRequest) Reset() { *m = BatchAnnotateImagesRequest{} } -func (m *BatchAnnotateImagesRequest) String() string { return proto.CompactTextString(m) } -func (*BatchAnnotateImagesRequest) ProtoMessage() {} -func (*BatchAnnotateImagesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_357ce83580ed3103, []int{21} -} - -func (m *BatchAnnotateImagesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchAnnotateImagesRequest.Unmarshal(m, b) -} -func (m *BatchAnnotateImagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchAnnotateImagesRequest.Marshal(b, m, deterministic) -} -func (m *BatchAnnotateImagesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchAnnotateImagesRequest.Merge(m, src) -} -func (m *BatchAnnotateImagesRequest) XXX_Size() int { - return xxx_messageInfo_BatchAnnotateImagesRequest.Size(m) -} -func (m *BatchAnnotateImagesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchAnnotateImagesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchAnnotateImagesRequest proto.InternalMessageInfo - -func (m *BatchAnnotateImagesRequest) GetRequests() []*AnnotateImageRequest { - if m != nil { - return m.Requests - } - return nil -} - -// Response to a batch image annotation request. -type BatchAnnotateImagesResponse struct { - // Individual responses to image annotation requests within the batch. - Responses []*AnnotateImageResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchAnnotateImagesResponse) Reset() { *m = BatchAnnotateImagesResponse{} } -func (m *BatchAnnotateImagesResponse) String() string { return proto.CompactTextString(m) } -func (*BatchAnnotateImagesResponse) ProtoMessage() {} -func (*BatchAnnotateImagesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_357ce83580ed3103, []int{22} -} - -func (m *BatchAnnotateImagesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchAnnotateImagesResponse.Unmarshal(m, b) -} -func (m *BatchAnnotateImagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchAnnotateImagesResponse.Marshal(b, m, deterministic) -} -func (m *BatchAnnotateImagesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchAnnotateImagesResponse.Merge(m, src) -} -func (m *BatchAnnotateImagesResponse) XXX_Size() int { - return xxx_messageInfo_BatchAnnotateImagesResponse.Size(m) -} -func (m *BatchAnnotateImagesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BatchAnnotateImagesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchAnnotateImagesResponse proto.InternalMessageInfo - -func (m *BatchAnnotateImagesResponse) GetResponses() []*AnnotateImageResponse { - if m != nil { - return m.Responses - } - return nil -} - -// An offline file annotation request. -type AsyncAnnotateFileRequest struct { - // Required. Information about the input file. - InputConfig *InputConfig `protobuf:"bytes,1,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"` - // Required. Requested features. - Features []*Feature `protobuf:"bytes,2,rep,name=features,proto3" json:"features,omitempty"` - // Additional context that may accompany the image(s) in the file. - ImageContext *ImageContext `protobuf:"bytes,3,opt,name=image_context,json=imageContext,proto3" json:"image_context,omitempty"` - // Required. The desired output location and metadata (e.g. format). - OutputConfig *OutputConfig `protobuf:"bytes,4,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 *AsyncAnnotateFileRequest) Reset() { *m = AsyncAnnotateFileRequest{} } -func (m *AsyncAnnotateFileRequest) String() string { return proto.CompactTextString(m) } -func (*AsyncAnnotateFileRequest) ProtoMessage() {} -func (*AsyncAnnotateFileRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_357ce83580ed3103, []int{23} -} - -func (m *AsyncAnnotateFileRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AsyncAnnotateFileRequest.Unmarshal(m, b) -} -func (m *AsyncAnnotateFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AsyncAnnotateFileRequest.Marshal(b, m, deterministic) -} -func (m *AsyncAnnotateFileRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AsyncAnnotateFileRequest.Merge(m, src) -} -func (m *AsyncAnnotateFileRequest) XXX_Size() int { - return xxx_messageInfo_AsyncAnnotateFileRequest.Size(m) -} -func (m *AsyncAnnotateFileRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AsyncAnnotateFileRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AsyncAnnotateFileRequest proto.InternalMessageInfo - -func (m *AsyncAnnotateFileRequest) GetInputConfig() *InputConfig { - if m != nil { - return m.InputConfig - } - return nil -} - -func (m *AsyncAnnotateFileRequest) GetFeatures() []*Feature { - if m != nil { - return m.Features - } - return nil -} - -func (m *AsyncAnnotateFileRequest) GetImageContext() *ImageContext { - if m != nil { - return m.ImageContext - } - return nil -} - -func (m *AsyncAnnotateFileRequest) GetOutputConfig() *OutputConfig { - if m != nil { - return m.OutputConfig - } - return nil -} - -// The response for a single offline file annotation request. -type AsyncAnnotateFileResponse struct { - // The output location and metadata from AsyncAnnotateFileRequest. - OutputConfig *OutputConfig `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 *AsyncAnnotateFileResponse) Reset() { *m = AsyncAnnotateFileResponse{} } -func (m *AsyncAnnotateFileResponse) String() string { return proto.CompactTextString(m) } -func (*AsyncAnnotateFileResponse) ProtoMessage() {} -func (*AsyncAnnotateFileResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_357ce83580ed3103, []int{24} -} - -func (m *AsyncAnnotateFileResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AsyncAnnotateFileResponse.Unmarshal(m, b) -} -func (m *AsyncAnnotateFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AsyncAnnotateFileResponse.Marshal(b, m, deterministic) -} -func (m *AsyncAnnotateFileResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AsyncAnnotateFileResponse.Merge(m, src) -} -func (m *AsyncAnnotateFileResponse) XXX_Size() int { - return xxx_messageInfo_AsyncAnnotateFileResponse.Size(m) -} -func (m *AsyncAnnotateFileResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AsyncAnnotateFileResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AsyncAnnotateFileResponse proto.InternalMessageInfo - -func (m *AsyncAnnotateFileResponse) GetOutputConfig() *OutputConfig { - if m != nil { - return m.OutputConfig - } - return nil -} - -// Multiple async file annotation requests are batched into a single service -// call. -type AsyncBatchAnnotateFilesRequest struct { - // Individual async file annotation requests for this batch. - Requests []*AsyncAnnotateFileRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AsyncBatchAnnotateFilesRequest) Reset() { *m = AsyncBatchAnnotateFilesRequest{} } -func (m *AsyncBatchAnnotateFilesRequest) String() string { return proto.CompactTextString(m) } -func (*AsyncBatchAnnotateFilesRequest) ProtoMessage() {} -func (*AsyncBatchAnnotateFilesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_357ce83580ed3103, []int{25} -} - -func (m *AsyncBatchAnnotateFilesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AsyncBatchAnnotateFilesRequest.Unmarshal(m, b) -} -func (m *AsyncBatchAnnotateFilesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AsyncBatchAnnotateFilesRequest.Marshal(b, m, deterministic) -} -func (m *AsyncBatchAnnotateFilesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AsyncBatchAnnotateFilesRequest.Merge(m, src) -} -func (m *AsyncBatchAnnotateFilesRequest) XXX_Size() int { - return xxx_messageInfo_AsyncBatchAnnotateFilesRequest.Size(m) -} -func (m *AsyncBatchAnnotateFilesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AsyncBatchAnnotateFilesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AsyncBatchAnnotateFilesRequest proto.InternalMessageInfo - -func (m *AsyncBatchAnnotateFilesRequest) GetRequests() []*AsyncAnnotateFileRequest { - if m != nil { - return m.Requests - } - return nil -} - -// Response to an async batch file annotation request. -type AsyncBatchAnnotateFilesResponse struct { - // The list of file annotation responses, one for each request in - // AsyncBatchAnnotateFilesRequest. - Responses []*AsyncAnnotateFileResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AsyncBatchAnnotateFilesResponse) Reset() { *m = AsyncBatchAnnotateFilesResponse{} } -func (m *AsyncBatchAnnotateFilesResponse) String() string { return proto.CompactTextString(m) } -func (*AsyncBatchAnnotateFilesResponse) ProtoMessage() {} -func (*AsyncBatchAnnotateFilesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_357ce83580ed3103, []int{26} -} - -func (m *AsyncBatchAnnotateFilesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AsyncBatchAnnotateFilesResponse.Unmarshal(m, b) -} -func (m *AsyncBatchAnnotateFilesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AsyncBatchAnnotateFilesResponse.Marshal(b, m, deterministic) -} -func (m *AsyncBatchAnnotateFilesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AsyncBatchAnnotateFilesResponse.Merge(m, src) -} -func (m *AsyncBatchAnnotateFilesResponse) XXX_Size() int { - return xxx_messageInfo_AsyncBatchAnnotateFilesResponse.Size(m) -} -func (m *AsyncBatchAnnotateFilesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AsyncBatchAnnotateFilesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AsyncBatchAnnotateFilesResponse proto.InternalMessageInfo - -func (m *AsyncBatchAnnotateFilesResponse) GetResponses() []*AsyncAnnotateFileResponse { - if m != nil { - return m.Responses - } - return nil -} - -// The desired input location and metadata. -type InputConfig struct { - // The Google Cloud Storage location to read the input from. - GcsSource *GcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3" json:"gcs_source,omitempty"` - // The type of the file. Currently only "application/pdf" and "image/tiff" - // are supported. Wildcards are not supported. - MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_357ce83580ed3103, []int{27} -} - -func (m *InputConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InputConfig.Unmarshal(m, b) -} -func (m *InputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InputConfig.Marshal(b, m, deterministic) -} -func (m *InputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_InputConfig.Merge(m, src) -} -func (m *InputConfig) XXX_Size() int { - return xxx_messageInfo_InputConfig.Size(m) -} -func (m *InputConfig) XXX_DiscardUnknown() { - xxx_messageInfo_InputConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_InputConfig proto.InternalMessageInfo - -func (m *InputConfig) GetGcsSource() *GcsSource { - if m != nil { - return m.GcsSource - } - return nil -} - -func (m *InputConfig) GetMimeType() string { - if m != nil { - return m.MimeType - } - return "" -} - -// The desired output location and metadata. -type OutputConfig struct { - // The Google Cloud Storage location to write the output(s) to. - GcsDestination *GcsDestination `protobuf:"bytes,1,opt,name=gcs_destination,json=gcsDestination,proto3" json:"gcs_destination,omitempty"` - // The max number of response protos to put into each output JSON file on GCS. - // The valid range is [1, 100]. If not specified, the default value is 20. - // - // For example, for one pdf file with 100 pages, 100 response protos will - // be generated. If `batch_size` = 20, then 5 json files each - // containing 20 response protos will be written under the prefix - // `gcs_destination`.`uri`. - // - // Currently, batch_size only applies to GcsDestination, with potential future - // support for other output configurations. - BatchSize int32 `protobuf:"varint,2,opt,name=batch_size,json=batchSize,proto3" json:"batch_size,omitempty"` - 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_357ce83580ed3103, []int{28} -} - -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 (m *OutputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_OutputConfig.Merge(m, 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 - -func (m *OutputConfig) GetGcsDestination() *GcsDestination { - if m != nil { - return m.GcsDestination - } - return nil -} - -func (m *OutputConfig) GetBatchSize() int32 { - if m != nil { - return m.BatchSize - } - return 0 -} - -// The Google Cloud Storage location where the input will be read from. -type GcsSource struct { - // Google Cloud Storage URI for the input file. This must only be a GCS - // object. Wildcards are not currently supported. - 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 *GcsSource) Reset() { *m = GcsSource{} } -func (m *GcsSource) String() string { return proto.CompactTextString(m) } -func (*GcsSource) ProtoMessage() {} -func (*GcsSource) Descriptor() ([]byte, []int) { - return fileDescriptor_357ce83580ed3103, []int{29} -} - -func (m *GcsSource) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GcsSource.Unmarshal(m, b) -} -func (m *GcsSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GcsSource.Marshal(b, m, deterministic) -} -func (m *GcsSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcsSource.Merge(m, src) -} -func (m *GcsSource) XXX_Size() int { - return xxx_messageInfo_GcsSource.Size(m) -} -func (m *GcsSource) XXX_DiscardUnknown() { - xxx_messageInfo_GcsSource.DiscardUnknown(m) -} - -var xxx_messageInfo_GcsSource proto.InternalMessageInfo - -func (m *GcsSource) GetUri() string { - if m != nil { - return m.Uri - } - return "" -} - -// The Google Cloud Storage location where the output will be written to. -type GcsDestination struct { - // Google Cloud Storage URI where the results will be stored. Results will - // be in JSON format and preceded by its corresponding input URI. This field - // can either represent a single file, or a prefix for multiple outputs. - // Prefixes must end in a `/`. - // - // Examples: - // - // * File: gs://bucket-name/filename.json - // * Prefix: gs://bucket-name/prefix/here/ - // * File: gs://bucket-name/prefix/here - // - // If multiple outputs, each response is still AnnotateFileResponse, each of - // which contains some subset of the full list of AnnotateImageResponse. - // Multiple outputs can happen if, for example, the output JSON is too large - // and overflows into multiple sharded files. - 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_357ce83580ed3103, []int{30} -} - -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 (m *GcsDestination) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcsDestination.Merge(m, 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 "" -} - -// Contains metadata for the BatchAnnotateImages operation. -type OperationMetadata struct { - // Current state of the batch operation. - State OperationMetadata_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.vision.v1p2beta1.OperationMetadata_State" json:"state,omitempty"` - // The time when the batch request was received. - CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // The time when the operation result was last updated. - UpdateTime *timestamp.Timestamp `protobuf:"bytes,6,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 *OperationMetadata) Reset() { *m = OperationMetadata{} } -func (m *OperationMetadata) String() string { return proto.CompactTextString(m) } -func (*OperationMetadata) ProtoMessage() {} -func (*OperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_357ce83580ed3103, []int{31} -} - -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 (m *OperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperationMetadata.Merge(m, 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) GetState() OperationMetadata_State { - if m != nil { - return m.State - } - return OperationMetadata_STATE_UNSPECIFIED -} - -func (m *OperationMetadata) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *OperationMetadata) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.vision.v1p2beta1.Likelihood", Likelihood_name, Likelihood_value) - proto.RegisterEnum("google.cloud.vision.v1p2beta1.Feature_Type", Feature_Type_name, Feature_Type_value) - proto.RegisterEnum("google.cloud.vision.v1p2beta1.FaceAnnotation_Landmark_Type", FaceAnnotation_Landmark_Type_name, FaceAnnotation_Landmark_Type_value) - proto.RegisterEnum("google.cloud.vision.v1p2beta1.OperationMetadata_State", OperationMetadata_State_name, OperationMetadata_State_value) - proto.RegisterType((*Feature)(nil), "google.cloud.vision.v1p2beta1.Feature") - proto.RegisterType((*ImageSource)(nil), "google.cloud.vision.v1p2beta1.ImageSource") - proto.RegisterType((*Image)(nil), "google.cloud.vision.v1p2beta1.Image") - proto.RegisterType((*FaceAnnotation)(nil), "google.cloud.vision.v1p2beta1.FaceAnnotation") - proto.RegisterType((*FaceAnnotation_Landmark)(nil), "google.cloud.vision.v1p2beta1.FaceAnnotation.Landmark") - proto.RegisterType((*LocationInfo)(nil), "google.cloud.vision.v1p2beta1.LocationInfo") - proto.RegisterType((*Property)(nil), "google.cloud.vision.v1p2beta1.Property") - proto.RegisterType((*EntityAnnotation)(nil), "google.cloud.vision.v1p2beta1.EntityAnnotation") - proto.RegisterType((*SafeSearchAnnotation)(nil), "google.cloud.vision.v1p2beta1.SafeSearchAnnotation") - proto.RegisterType((*LatLongRect)(nil), "google.cloud.vision.v1p2beta1.LatLongRect") - proto.RegisterType((*ColorInfo)(nil), "google.cloud.vision.v1p2beta1.ColorInfo") - proto.RegisterType((*DominantColorsAnnotation)(nil), "google.cloud.vision.v1p2beta1.DominantColorsAnnotation") - proto.RegisterType((*ImageProperties)(nil), "google.cloud.vision.v1p2beta1.ImageProperties") - proto.RegisterType((*CropHint)(nil), "google.cloud.vision.v1p2beta1.CropHint") - proto.RegisterType((*CropHintsAnnotation)(nil), "google.cloud.vision.v1p2beta1.CropHintsAnnotation") - proto.RegisterType((*CropHintsParams)(nil), "google.cloud.vision.v1p2beta1.CropHintsParams") - proto.RegisterType((*WebDetectionParams)(nil), "google.cloud.vision.v1p2beta1.WebDetectionParams") - proto.RegisterType((*ImageContext)(nil), "google.cloud.vision.v1p2beta1.ImageContext") - proto.RegisterType((*AnnotateImageRequest)(nil), "google.cloud.vision.v1p2beta1.AnnotateImageRequest") - proto.RegisterType((*ImageAnnotationContext)(nil), "google.cloud.vision.v1p2beta1.ImageAnnotationContext") - proto.RegisterType((*AnnotateImageResponse)(nil), "google.cloud.vision.v1p2beta1.AnnotateImageResponse") - proto.RegisterType((*AnnotateFileResponse)(nil), "google.cloud.vision.v1p2beta1.AnnotateFileResponse") - proto.RegisterType((*BatchAnnotateImagesRequest)(nil), "google.cloud.vision.v1p2beta1.BatchAnnotateImagesRequest") - proto.RegisterType((*BatchAnnotateImagesResponse)(nil), "google.cloud.vision.v1p2beta1.BatchAnnotateImagesResponse") - proto.RegisterType((*AsyncAnnotateFileRequest)(nil), "google.cloud.vision.v1p2beta1.AsyncAnnotateFileRequest") - proto.RegisterType((*AsyncAnnotateFileResponse)(nil), "google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse") - proto.RegisterType((*AsyncBatchAnnotateFilesRequest)(nil), "google.cloud.vision.v1p2beta1.AsyncBatchAnnotateFilesRequest") - proto.RegisterType((*AsyncBatchAnnotateFilesResponse)(nil), "google.cloud.vision.v1p2beta1.AsyncBatchAnnotateFilesResponse") - proto.RegisterType((*InputConfig)(nil), "google.cloud.vision.v1p2beta1.InputConfig") - proto.RegisterType((*OutputConfig)(nil), "google.cloud.vision.v1p2beta1.OutputConfig") - proto.RegisterType((*GcsSource)(nil), "google.cloud.vision.v1p2beta1.GcsSource") - proto.RegisterType((*GcsDestination)(nil), "google.cloud.vision.v1p2beta1.GcsDestination") - proto.RegisterType((*OperationMetadata)(nil), "google.cloud.vision.v1p2beta1.OperationMetadata") -} - -func init() { - proto.RegisterFile("google/cloud/vision/v1p2beta1/image_annotator.proto", fileDescriptor_357ce83580ed3103) -} - -var fileDescriptor_357ce83580ed3103 = []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, - 0xbe, 0x55, 0xdd, 0x94, 0x1a, 0xcb, 0x49, 0xda, 0x3a, 0xcd, 0xa4, 0x14, 0x09, 0x49, 0x1c, 0x53, - 0x24, 0xbb, 0x84, 0xec, 0xd8, 0x93, 0x0e, 0x0a, 0x81, 0x4b, 0x1a, 0x09, 0x08, 0x20, 0x00, 0x68, - 0x8b, 0x39, 0x66, 0xa6, 0x7f, 0x41, 0x6f, 0xbd, 0x77, 0x7a, 0x6a, 0x2f, 0xed, 0xa5, 0xff, 0x40, - 0xef, 0x9d, 0x1e, 0x7a, 0xe9, 0xad, 0x3d, 0xf4, 0xd8, 0x53, 0xa7, 0xd3, 0x53, 0x67, 0x7f, 0x00, - 0x5c, 0x50, 0xb2, 0x29, 0x3a, 0xe9, 0x4c, 0x4f, 0xe2, 0xbe, 0xb7, 0x9f, 0xcf, 0xdb, 0x7d, 0xfb, - 0x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 0xc0, 0x76, - 0xe6, 0x69, 0x55, 0xa0, 0xfa, 0x1e, 0xbd, 0x4a, 0x97, 0xbd, 0xa0, 0xbf, 0xdf, 0x27, 0x2e, 0x0b, - 0xcf, 0x7d, 0xae, 0x32, 0x7d, 0x3b, 0x7c, 0xc9, 0x7f, 0x78, 0x7c, 0xc8, 0x05, 0xff, 0xca, 0x64, - 0xce, 0x17, 0x19, 0xe4, 0xfe, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xa5, 0xcd, 0x74, 0xeb, 0xe8, - 0x22, 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 - -// ImageAnnotatorClient is the client API for ImageAnnotator service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ImageAnnotatorClient interface { - // Run image detection and annotation for a batch of images. - BatchAnnotateImages(ctx context.Context, in *BatchAnnotateImagesRequest, opts ...grpc.CallOption) (*BatchAnnotateImagesResponse, error) - // Run async image detection and annotation for a list of generic files (e.g. - // PDF) which may contain multiple pages and multiple images per page. - // Progress and results can be retrieved through the - // `google.longrunning.Operations` interface. - // `Operation.metadata` contains `OperationMetadata` (metadata). - // `Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results). - AsyncBatchAnnotateFiles(ctx context.Context, in *AsyncBatchAnnotateFilesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) -} - -type imageAnnotatorClient struct { - cc *grpc.ClientConn -} - -func NewImageAnnotatorClient(cc *grpc.ClientConn) ImageAnnotatorClient { - return &imageAnnotatorClient{cc} -} - -func (c *imageAnnotatorClient) BatchAnnotateImages(ctx context.Context, in *BatchAnnotateImagesRequest, opts ...grpc.CallOption) (*BatchAnnotateImagesResponse, error) { - out := new(BatchAnnotateImagesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.vision.v1p2beta1.ImageAnnotator/BatchAnnotateImages", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *imageAnnotatorClient) AsyncBatchAnnotateFiles(ctx context.Context, in *AsyncBatchAnnotateFilesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.vision.v1p2beta1.ImageAnnotator/AsyncBatchAnnotateFiles", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ImageAnnotatorServer is the server API for ImageAnnotator service. -type ImageAnnotatorServer interface { - // Run image detection and annotation for a batch of images. - BatchAnnotateImages(context.Context, *BatchAnnotateImagesRequest) (*BatchAnnotateImagesResponse, error) - // Run async image detection and annotation for a list of generic files (e.g. - // PDF) which may contain multiple pages and multiple images per page. - // Progress and results can be retrieved through the - // `google.longrunning.Operations` interface. - // `Operation.metadata` contains `OperationMetadata` (metadata). - // `Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results). - AsyncBatchAnnotateFiles(context.Context, *AsyncBatchAnnotateFilesRequest) (*longrunning.Operation, error) -} - -// UnimplementedImageAnnotatorServer can be embedded to have forward compatible implementations. -type UnimplementedImageAnnotatorServer struct { -} - -func (*UnimplementedImageAnnotatorServer) BatchAnnotateImages(ctx context.Context, req *BatchAnnotateImagesRequest) (*BatchAnnotateImagesResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method BatchAnnotateImages not implemented") -} -func (*UnimplementedImageAnnotatorServer) AsyncBatchAnnotateFiles(ctx context.Context, req *AsyncBatchAnnotateFilesRequest) (*longrunning.Operation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method AsyncBatchAnnotateFiles not implemented") -} - -func RegisterImageAnnotatorServer(s *grpc.Server, srv ImageAnnotatorServer) { - s.RegisterService(&_ImageAnnotator_serviceDesc, srv) -} - -func _ImageAnnotator_BatchAnnotateImages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchAnnotateImagesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ImageAnnotatorServer).BatchAnnotateImages(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.vision.v1p2beta1.ImageAnnotator/BatchAnnotateImages", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ImageAnnotatorServer).BatchAnnotateImages(ctx, req.(*BatchAnnotateImagesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ImageAnnotator_AsyncBatchAnnotateFiles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AsyncBatchAnnotateFilesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ImageAnnotatorServer).AsyncBatchAnnotateFiles(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.vision.v1p2beta1.ImageAnnotator/AsyncBatchAnnotateFiles", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ImageAnnotatorServer).AsyncBatchAnnotateFiles(ctx, req.(*AsyncBatchAnnotateFilesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ImageAnnotator_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.vision.v1p2beta1.ImageAnnotator", - HandlerType: (*ImageAnnotatorServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "BatchAnnotateImages", - Handler: _ImageAnnotator_BatchAnnotateImages_Handler, - }, - { - MethodName: "AsyncBatchAnnotateFiles", - Handler: _ImageAnnotator_AsyncBatchAnnotateFiles_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/vision/v1p2beta1/image_annotator.proto", -} 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 deleted file mode 100644 index 4ba0c341..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1/text_annotation.pb.go +++ /dev/null @@ -1,814 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/vision/v1p2beta1/text_annotation.proto - -package vision - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum to denote the type of break found. New line, space etc. -type TextAnnotation_DetectedBreak_BreakType int32 - -const ( - // Unknown break label type. - TextAnnotation_DetectedBreak_UNKNOWN TextAnnotation_DetectedBreak_BreakType = 0 - // Regular space. - TextAnnotation_DetectedBreak_SPACE TextAnnotation_DetectedBreak_BreakType = 1 - // Sure space (very wide). - TextAnnotation_DetectedBreak_SURE_SPACE TextAnnotation_DetectedBreak_BreakType = 2 - // Line-wrapping break. - TextAnnotation_DetectedBreak_EOL_SURE_SPACE TextAnnotation_DetectedBreak_BreakType = 3 - // End-line hyphen that is not present in text; does not co-occur with - // `SPACE`, `LEADER_SPACE`, or `LINE_BREAK`. - TextAnnotation_DetectedBreak_HYPHEN TextAnnotation_DetectedBreak_BreakType = 4 - // Line break that ends a paragraph. - TextAnnotation_DetectedBreak_LINE_BREAK TextAnnotation_DetectedBreak_BreakType = 5 -) - -var TextAnnotation_DetectedBreak_BreakType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "SPACE", - 2: "SURE_SPACE", - 3: "EOL_SURE_SPACE", - 4: "HYPHEN", - 5: "LINE_BREAK", -} - -var TextAnnotation_DetectedBreak_BreakType_value = map[string]int32{ - "UNKNOWN": 0, - "SPACE": 1, - "SURE_SPACE": 2, - "EOL_SURE_SPACE": 3, - "HYPHEN": 4, - "LINE_BREAK": 5, -} - -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_5d838ababbc8449e, []int{0, 1, 0} -} - -// Type of a block (text, image etc) as identified by OCR. -type Block_BlockType int32 - -const ( - // Unknown block type. - Block_UNKNOWN Block_BlockType = 0 - // Regular text block. - Block_TEXT Block_BlockType = 1 - // Table block. - Block_TABLE Block_BlockType = 2 - // Image block. - Block_PICTURE Block_BlockType = 3 - // Horizontal/vertical line box. - Block_RULER Block_BlockType = 4 - // Barcode block. - Block_BARCODE Block_BlockType = 5 -) - -var Block_BlockType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "TEXT", - 2: "TABLE", - 3: "PICTURE", - 4: "RULER", - 5: "BARCODE", -} - -var Block_BlockType_value = map[string]int32{ - "UNKNOWN": 0, - "TEXT": 1, - "TABLE": 2, - "PICTURE": 3, - "RULER": 4, - "BARCODE": 5, -} - -func (x Block_BlockType) String() string { - return proto.EnumName(Block_BlockType_name, int32(x)) -} - -func (Block_BlockType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_5d838ababbc8449e, []int{2, 0} -} - -// TextAnnotation contains a structured representation of OCR extracted text. -// The hierarchy of an OCR extracted text structure is like this: -// TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol -// Each structural component, starting from Page, may further have their own -// properties. Properties describe detected languages, breaks etc.. Please refer -// to the -// [TextAnnotation.TextProperty][google.cloud.vision.v1p2beta1.TextAnnotation.TextProperty] -// message definition below for more detail. -type TextAnnotation struct { - // List of pages detected by OCR. - Pages []*Page `protobuf:"bytes,1,rep,name=pages,proto3" json:"pages,omitempty"` - // UTF-8 text detected on the pages. - Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,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_5d838ababbc8449e, []int{0} -} - -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 (m *TextAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextAnnotation.Merge(m, 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) GetPages() []*Page { - if m != nil { - return m.Pages - } - return nil -} - -func (m *TextAnnotation) GetText() string { - if m != nil { - return m.Text - } - return "" -} - -// Detected language for a structural component. -type TextAnnotation_DetectedLanguage struct { - // 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,1,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // Confidence of detected language. 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 *TextAnnotation_DetectedLanguage) Reset() { *m = TextAnnotation_DetectedLanguage{} } -func (m *TextAnnotation_DetectedLanguage) String() string { return proto.CompactTextString(m) } -func (*TextAnnotation_DetectedLanguage) ProtoMessage() {} -func (*TextAnnotation_DetectedLanguage) Descriptor() ([]byte, []int) { - return fileDescriptor_5d838ababbc8449e, []int{0, 0} -} - -func (m *TextAnnotation_DetectedLanguage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextAnnotation_DetectedLanguage.Unmarshal(m, b) -} -func (m *TextAnnotation_DetectedLanguage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextAnnotation_DetectedLanguage.Marshal(b, m, deterministic) -} -func (m *TextAnnotation_DetectedLanguage) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextAnnotation_DetectedLanguage.Merge(m, src) -} -func (m *TextAnnotation_DetectedLanguage) XXX_Size() int { - return xxx_messageInfo_TextAnnotation_DetectedLanguage.Size(m) -} -func (m *TextAnnotation_DetectedLanguage) XXX_DiscardUnknown() { - xxx_messageInfo_TextAnnotation_DetectedLanguage.DiscardUnknown(m) -} - -var xxx_messageInfo_TextAnnotation_DetectedLanguage proto.InternalMessageInfo - -func (m *TextAnnotation_DetectedLanguage) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *TextAnnotation_DetectedLanguage) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -// Detected start or end of a structural component. -type TextAnnotation_DetectedBreak struct { - // Detected break type. - Type TextAnnotation_DetectedBreak_BreakType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.vision.v1p2beta1.TextAnnotation_DetectedBreak_BreakType" json:"type,omitempty"` - // True if break prepends the element. - IsPrefix bool `protobuf:"varint,2,opt,name=is_prefix,json=isPrefix,proto3" json:"is_prefix,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TextAnnotation_DetectedBreak) Reset() { *m = TextAnnotation_DetectedBreak{} } -func (m *TextAnnotation_DetectedBreak) String() string { return proto.CompactTextString(m) } -func (*TextAnnotation_DetectedBreak) ProtoMessage() {} -func (*TextAnnotation_DetectedBreak) Descriptor() ([]byte, []int) { - return fileDescriptor_5d838ababbc8449e, []int{0, 1} -} - -func (m *TextAnnotation_DetectedBreak) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextAnnotation_DetectedBreak.Unmarshal(m, b) -} -func (m *TextAnnotation_DetectedBreak) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextAnnotation_DetectedBreak.Marshal(b, m, deterministic) -} -func (m *TextAnnotation_DetectedBreak) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextAnnotation_DetectedBreak.Merge(m, src) -} -func (m *TextAnnotation_DetectedBreak) XXX_Size() int { - return xxx_messageInfo_TextAnnotation_DetectedBreak.Size(m) -} -func (m *TextAnnotation_DetectedBreak) XXX_DiscardUnknown() { - xxx_messageInfo_TextAnnotation_DetectedBreak.DiscardUnknown(m) -} - -var xxx_messageInfo_TextAnnotation_DetectedBreak proto.InternalMessageInfo - -func (m *TextAnnotation_DetectedBreak) GetType() TextAnnotation_DetectedBreak_BreakType { - if m != nil { - return m.Type - } - return TextAnnotation_DetectedBreak_UNKNOWN -} - -func (m *TextAnnotation_DetectedBreak) GetIsPrefix() bool { - if m != nil { - return m.IsPrefix - } - return false -} - -// Additional information detected on the structural component. -type TextAnnotation_TextProperty struct { - // A list of detected languages together with confidence. - DetectedLanguages []*TextAnnotation_DetectedLanguage `protobuf:"bytes,1,rep,name=detected_languages,json=detectedLanguages,proto3" json:"detected_languages,omitempty"` - // Detected start or end of a text segment. - DetectedBreak *TextAnnotation_DetectedBreak `protobuf:"bytes,2,opt,name=detected_break,json=detectedBreak,proto3" json:"detected_break,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TextAnnotation_TextProperty) Reset() { *m = TextAnnotation_TextProperty{} } -func (m *TextAnnotation_TextProperty) String() string { return proto.CompactTextString(m) } -func (*TextAnnotation_TextProperty) ProtoMessage() {} -func (*TextAnnotation_TextProperty) Descriptor() ([]byte, []int) { - return fileDescriptor_5d838ababbc8449e, []int{0, 2} -} - -func (m *TextAnnotation_TextProperty) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextAnnotation_TextProperty.Unmarshal(m, b) -} -func (m *TextAnnotation_TextProperty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextAnnotation_TextProperty.Marshal(b, m, deterministic) -} -func (m *TextAnnotation_TextProperty) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextAnnotation_TextProperty.Merge(m, src) -} -func (m *TextAnnotation_TextProperty) XXX_Size() int { - return xxx_messageInfo_TextAnnotation_TextProperty.Size(m) -} -func (m *TextAnnotation_TextProperty) XXX_DiscardUnknown() { - xxx_messageInfo_TextAnnotation_TextProperty.DiscardUnknown(m) -} - -var xxx_messageInfo_TextAnnotation_TextProperty proto.InternalMessageInfo - -func (m *TextAnnotation_TextProperty) GetDetectedLanguages() []*TextAnnotation_DetectedLanguage { - if m != nil { - return m.DetectedLanguages - } - return nil -} - -func (m *TextAnnotation_TextProperty) GetDetectedBreak() *TextAnnotation_DetectedBreak { - if m != nil { - return m.DetectedBreak - } - return nil -} - -// Detected page from OCR. -type Page struct { - // Additional information detected on the page. - Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` - // Page width. For PDFs the unit is points. For images (including - // TIFFs) the unit is pixels. - Width int32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` - // Page height. For PDFs the unit is points. For images (including - // TIFFs) the unit is pixels. - Height int32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` - // List of blocks of text, images etc on this page. - Blocks []*Block `protobuf:"bytes,4,rep,name=blocks,proto3" json:"blocks,omitempty"` - // Confidence of the OCR results on the page. Range [0, 1]. - Confidence float32 `protobuf:"fixed32,5,opt,name=confidence,proto3" json:"confidence,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_5d838ababbc8449e, []int{1} -} - -func (m *Page) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Page.Unmarshal(m, b) -} -func (m *Page) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Page.Marshal(b, m, deterministic) -} -func (m *Page) XXX_Merge(src proto.Message) { - xxx_messageInfo_Page.Merge(m, src) -} -func (m *Page) XXX_Size() int { - return xxx_messageInfo_Page.Size(m) -} -func (m *Page) XXX_DiscardUnknown() { - xxx_messageInfo_Page.DiscardUnknown(m) -} - -var xxx_messageInfo_Page proto.InternalMessageInfo - -func (m *Page) GetProperty() *TextAnnotation_TextProperty { - if m != nil { - return m.Property - } - return nil -} - -func (m *Page) GetWidth() int32 { - if m != nil { - return m.Width - } - return 0 -} - -func (m *Page) GetHeight() int32 { - if m != nil { - return m.Height - } - return 0 -} - -func (m *Page) GetBlocks() []*Block { - if m != nil { - return m.Blocks - } - return nil -} - -func (m *Page) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -// Logical element on the page. -type Block struct { - // Additional information detected for the block. - Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` - // The bounding box for the block. - // The vertices are in the order of top-left, top-right, bottom-right, - // bottom-left. When a rotation of the bounding box is detected the rotation - // is represented as around the top-left corner as defined when the text is - // read in the 'natural' orientation. - // For example: - // - // * when the text is horizontal it might look like: - // - // 0----1 - // | | - // 3----2 - // - // * when it's rotated 180 degrees around the top-left corner it becomes: - // - // 2----3 - // | | - // 1----0 - // - // and the vertice 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"` - // Detected block type (text, image etc) for this block. - BlockType Block_BlockType `protobuf:"varint,4,opt,name=block_type,json=blockType,proto3,enum=google.cloud.vision.v1p2beta1.Block_BlockType" json:"block_type,omitempty"` - // Confidence of the OCR results on the block. Range [0, 1]. - Confidence float32 `protobuf:"fixed32,5,opt,name=confidence,proto3" json:"confidence,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_5d838ababbc8449e, []int{2} -} - -func (m *Block) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Block.Unmarshal(m, b) -} -func (m *Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Block.Marshal(b, m, deterministic) -} -func (m *Block) XXX_Merge(src proto.Message) { - xxx_messageInfo_Block.Merge(m, src) -} -func (m *Block) XXX_Size() int { - return xxx_messageInfo_Block.Size(m) -} -func (m *Block) XXX_DiscardUnknown() { - xxx_messageInfo_Block.DiscardUnknown(m) -} - -var xxx_messageInfo_Block proto.InternalMessageInfo - -func (m *Block) GetProperty() *TextAnnotation_TextProperty { - if m != nil { - return m.Property - } - return nil -} - -func (m *Block) GetBoundingBox() *BoundingPoly { - if m != nil { - return m.BoundingBox - } - return nil -} - -func (m *Block) GetParagraphs() []*Paragraph { - if m != nil { - return m.Paragraphs - } - return nil -} - -func (m *Block) GetBlockType() Block_BlockType { - if m != nil { - return m.BlockType - } - return Block_UNKNOWN -} - -func (m *Block) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -// Structural unit of text representing a number of words in certain order. -type Paragraph struct { - // Additional information detected for the paragraph. - Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` - // The bounding box for the paragraph. - // The vertices are in the order of top-left, top-right, bottom-right, - // bottom-left. When a rotation of the bounding box is detected the rotation - // is represented as around the top-left corner as defined when the text is - // read in the 'natural' orientation. - // For example: - // * when the text is horizontal it might look like: - // 0----1 - // | | - // 3----2 - // * when it's rotated 180 degrees around the top-left corner it becomes: - // 2----3 - // | | - // 1----0 - // and the vertice 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"` - // Confidence of the OCR results for the paragraph. Range [0, 1]. - Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_5d838ababbc8449e, []int{3} -} - -func (m *Paragraph) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Paragraph.Unmarshal(m, b) -} -func (m *Paragraph) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Paragraph.Marshal(b, m, deterministic) -} -func (m *Paragraph) XXX_Merge(src proto.Message) { - xxx_messageInfo_Paragraph.Merge(m, src) -} -func (m *Paragraph) XXX_Size() int { - return xxx_messageInfo_Paragraph.Size(m) -} -func (m *Paragraph) XXX_DiscardUnknown() { - xxx_messageInfo_Paragraph.DiscardUnknown(m) -} - -var xxx_messageInfo_Paragraph proto.InternalMessageInfo - -func (m *Paragraph) GetProperty() *TextAnnotation_TextProperty { - if m != nil { - return m.Property - } - return nil -} - -func (m *Paragraph) GetBoundingBox() *BoundingPoly { - if m != nil { - return m.BoundingBox - } - return nil -} - -func (m *Paragraph) GetWords() []*Word { - if m != nil { - return m.Words - } - return nil -} - -func (m *Paragraph) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -// A word representation. -type Word struct { - // Additional information detected for the word. - Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` - // The bounding box for the word. - // The vertices are in the order of top-left, top-right, bottom-right, - // bottom-left. When a rotation of the bounding box is detected the rotation - // is represented as around the top-left corner as defined when the text is - // read in the 'natural' orientation. - // For example: - // * when the text is horizontal it might look like: - // 0----1 - // | | - // 3----2 - // * when it's rotated 180 degrees around the top-left corner it becomes: - // 2----3 - // | | - // 1----0 - // and the vertice 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. - Symbols []*Symbol `protobuf:"bytes,3,rep,name=symbols,proto3" json:"symbols,omitempty"` - // Confidence of the OCR results for the word. Range [0, 1]. - Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_5d838ababbc8449e, []int{4} -} - -func (m *Word) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Word.Unmarshal(m, b) -} -func (m *Word) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Word.Marshal(b, m, deterministic) -} -func (m *Word) XXX_Merge(src proto.Message) { - xxx_messageInfo_Word.Merge(m, src) -} -func (m *Word) XXX_Size() int { - return xxx_messageInfo_Word.Size(m) -} -func (m *Word) XXX_DiscardUnknown() { - xxx_messageInfo_Word.DiscardUnknown(m) -} - -var xxx_messageInfo_Word proto.InternalMessageInfo - -func (m *Word) GetProperty() *TextAnnotation_TextProperty { - if m != nil { - return m.Property - } - return nil -} - -func (m *Word) GetBoundingBox() *BoundingPoly { - if m != nil { - return m.BoundingBox - } - return nil -} - -func (m *Word) GetSymbols() []*Symbol { - if m != nil { - return m.Symbols - } - return nil -} - -func (m *Word) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -// A single symbol representation. -type Symbol struct { - // Additional information detected for the symbol. - Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` - // The bounding box for the symbol. - // The vertices are in the order of top-left, top-right, bottom-right, - // bottom-left. When a rotation of the bounding box is detected the rotation - // is represented as around the top-left corner as defined when the text is - // read in the 'natural' orientation. - // For example: - // * when the text is horizontal it might look like: - // 0----1 - // | | - // 3----2 - // * when it's rotated 180 degrees around the top-left corner it becomes: - // 2----3 - // | | - // 1----0 - // and the vertice order will still be (0, 1, 2, 3). - BoundingBox *BoundingPoly `protobuf:"bytes,2,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"` - // The actual UTF-8 representation of the symbol. - Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"` - // Confidence of the OCR results for the symbol. Range [0, 1]. - Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_5d838ababbc8449e, []int{5} -} - -func (m *Symbol) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Symbol.Unmarshal(m, b) -} -func (m *Symbol) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Symbol.Marshal(b, m, deterministic) -} -func (m *Symbol) XXX_Merge(src proto.Message) { - xxx_messageInfo_Symbol.Merge(m, src) -} -func (m *Symbol) XXX_Size() int { - return xxx_messageInfo_Symbol.Size(m) -} -func (m *Symbol) XXX_DiscardUnknown() { - xxx_messageInfo_Symbol.DiscardUnknown(m) -} - -var xxx_messageInfo_Symbol proto.InternalMessageInfo - -func (m *Symbol) GetProperty() *TextAnnotation_TextProperty { - if m != nil { - return m.Property - } - return nil -} - -func (m *Symbol) GetBoundingBox() *BoundingPoly { - if m != nil { - return m.BoundingBox - } - return nil -} - -func (m *Symbol) GetText() string { - if m != nil { - return m.Text - } - return "" -} - -func (m *Symbol) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -func init() { - proto.RegisterEnum("google.cloud.vision.v1p2beta1.TextAnnotation_DetectedBreak_BreakType", TextAnnotation_DetectedBreak_BreakType_name, TextAnnotation_DetectedBreak_BreakType_value) - proto.RegisterEnum("google.cloud.vision.v1p2beta1.Block_BlockType", Block_BlockType_name, Block_BlockType_value) - proto.RegisterType((*TextAnnotation)(nil), "google.cloud.vision.v1p2beta1.TextAnnotation") - proto.RegisterType((*TextAnnotation_DetectedLanguage)(nil), "google.cloud.vision.v1p2beta1.TextAnnotation.DetectedLanguage") - proto.RegisterType((*TextAnnotation_DetectedBreak)(nil), "google.cloud.vision.v1p2beta1.TextAnnotation.DetectedBreak") - proto.RegisterType((*TextAnnotation_TextProperty)(nil), "google.cloud.vision.v1p2beta1.TextAnnotation.TextProperty") - proto.RegisterType((*Page)(nil), "google.cloud.vision.v1p2beta1.Page") - proto.RegisterType((*Block)(nil), "google.cloud.vision.v1p2beta1.Block") - proto.RegisterType((*Paragraph)(nil), "google.cloud.vision.v1p2beta1.Paragraph") - proto.RegisterType((*Word)(nil), "google.cloud.vision.v1p2beta1.Word") - proto.RegisterType((*Symbol)(nil), "google.cloud.vision.v1p2beta1.Symbol") -} - -func init() { - proto.RegisterFile("google/cloud/vision/v1p2beta1/text_annotation.proto", fileDescriptor_5d838ababbc8449e) -} - -var fileDescriptor_5d838ababbc8449e = []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, - 0x20, 0x55, 0x02, 0x39, 0x6a, 0x7a, 0x2a, 0x45, 0xa0, 0x38, 0xb5, 0xd4, 0xaa, 0x21, 0xb5, 0xa6, - 0x09, 0xa5, 0x5c, 0x2c, 0xff, 0x99, 0x3a, 0x56, 0x13, 0x8f, 0x65, 0xbb, 0x6d, 0x72, 0xe5, 0x8a, - 0x04, 0x5f, 0x88, 0x2f, 0x83, 0xc4, 0x09, 0xf1, 0x01, 0x38, 0x22, 0x8f, 0xed, 0x34, 0x09, 0xa2, - 0xe6, 0x8f, 0x38, 0xf4, 0x12, 0xcd, 0x7b, 0x79, 0xbf, 0x37, 0xef, 0xf7, 0x7b, 0xf3, 0x3c, 0x03, - 0xdb, 0x0e, 0xa5, 0xce, 0x88, 0x34, 0xad, 0x11, 0xbd, 0xb0, 0x9b, 0x97, 0x6e, 0xe8, 0x52, 0xaf, - 0x79, 0xb9, 0xe5, 0xb7, 0x4c, 0x12, 0x19, 0x5b, 0xcd, 0x88, 0x4c, 0x22, 0xdd, 0xf0, 0x3c, 0x1a, - 0x19, 0x91, 0x4b, 0x3d, 0xd9, 0x0f, 0x68, 0x44, 0xd1, 0xff, 0x09, 0x48, 0x66, 0x20, 0x39, 0x01, - 0xc9, 0x33, 0x50, 0x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e, 0x70, 0x50, 0x4a, 0x30, 0xb7, 0x46, 0x93, 0xec, 0x06, 0x2f, 0x5e, - 0xdf, 0xe0, 0x79, 0x34, 0x95, 0x57, 0x1c, 0xdc, 0xb5, 0xe8, 0xf8, 0xe6, 0x3d, 0x95, 0xbf, 0x16, - 0x09, 0x69, 0xf1, 0xf3, 0x43, 0xe3, 0x5e, 0x76, 0x52, 0x94, 0x43, 0xe3, 0x3b, 0x4c, 0xa6, 0x81, - 0xd3, 0x74, 0x88, 0xc7, 0x1e, 0x27, 0xcd, 0xe4, 0x2f, 0xc3, 0x77, 0xc3, 0x6f, 0xbc, 0x66, 0x76, - 0x13, 0xc7, 0x67, 0x8e, 0x33, 0x4b, 0x0c, 0xb2, 0xfd, 0x25, 0x00, 0x00, 0xff, 0xff, 0xce, 0x91, - 0x71, 0x97, 0x71, 0x09, 0x00, 0x00, -} 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 deleted file mode 100644 index 208d0e57..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1/web_detection.pb.go +++ /dev/null @@ -1,403 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/vision/v1p2beta1/web_detection.proto - -package vision - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Relevant information for the image from the Internet. -type WebDetection struct { - // Deduced entities from similar images on the Internet. - WebEntities []*WebDetection_WebEntity `protobuf:"bytes,1,rep,name=web_entities,json=webEntities,proto3" json:"web_entities,omitempty"` - // Fully matching images from the Internet. - // Can include resized copies of the query image. - FullMatchingImages []*WebDetection_WebImage `protobuf:"bytes,2,rep,name=full_matching_images,json=fullMatchingImages,proto3" json:"full_matching_images,omitempty"` - // Partial matching images from the Internet. - // Those images are similar enough to share some key-point features. For - // example an original image will likely have partial matching for its crops. - PartialMatchingImages []*WebDetection_WebImage `protobuf:"bytes,3,rep,name=partial_matching_images,json=partialMatchingImages,proto3" json:"partial_matching_images,omitempty"` - // Web pages containing the matching images from the Internet. - 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. - 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:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c9258baccea8b1f2, []int{0} -} - -func (m *WebDetection) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebDetection.Unmarshal(m, b) -} -func (m *WebDetection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebDetection.Marshal(b, m, deterministic) -} -func (m *WebDetection) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebDetection.Merge(m, src) -} -func (m *WebDetection) XXX_Size() int { - return xxx_messageInfo_WebDetection.Size(m) -} -func (m *WebDetection) XXX_DiscardUnknown() { - xxx_messageInfo_WebDetection.DiscardUnknown(m) -} - -var xxx_messageInfo_WebDetection proto.InternalMessageInfo - -func (m *WebDetection) GetWebEntities() []*WebDetection_WebEntity { - if m != nil { - return m.WebEntities - } - return nil -} - -func (m *WebDetection) GetFullMatchingImages() []*WebDetection_WebImage { - if m != nil { - return m.FullMatchingImages - } - return nil -} - -func (m *WebDetection) GetPartialMatchingImages() []*WebDetection_WebImage { - if m != nil { - return m.PartialMatchingImages - } - return nil -} - -func (m *WebDetection) GetPagesWithMatchingImages() []*WebDetection_WebPage { - if m != nil { - return m.PagesWithMatchingImages - } - return nil -} - -func (m *WebDetection) GetVisuallySimilarImages() []*WebDetection_WebImage { - if m != nil { - return m.VisuallySimilarImages - } - return nil -} - -func (m *WebDetection) GetBestGuessLabels() []*WebDetection_WebLabel { - if m != nil { - return m.BestGuessLabels - } - return nil -} - -// Entity deduced from similar images on the Internet. -type WebDetection_WebEntity struct { - // Opaque entity ID. - EntityId string `protobuf:"bytes,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` - // Overall relevancy score for the entity. - // Not normalized and not comparable across different image queries. - Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"` - // Canonical description of the entity, in English. - 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 *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_c9258baccea8b1f2, []int{0, 0} -} - -func (m *WebDetection_WebEntity) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebDetection_WebEntity.Unmarshal(m, b) -} -func (m *WebDetection_WebEntity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebDetection_WebEntity.Marshal(b, m, deterministic) -} -func (m *WebDetection_WebEntity) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebDetection_WebEntity.Merge(m, src) -} -func (m *WebDetection_WebEntity) XXX_Size() int { - return xxx_messageInfo_WebDetection_WebEntity.Size(m) -} -func (m *WebDetection_WebEntity) XXX_DiscardUnknown() { - xxx_messageInfo_WebDetection_WebEntity.DiscardUnknown(m) -} - -var xxx_messageInfo_WebDetection_WebEntity proto.InternalMessageInfo - -func (m *WebDetection_WebEntity) GetEntityId() string { - if m != nil { - return m.EntityId - } - return "" -} - -func (m *WebDetection_WebEntity) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -func (m *WebDetection_WebEntity) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -// Metadata for online images. -type WebDetection_WebImage struct { - // The result image URL. - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - // (Deprecated) Overall relevancy score for the image. - Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c9258baccea8b1f2, []int{0, 1} -} - -func (m *WebDetection_WebImage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebDetection_WebImage.Unmarshal(m, b) -} -func (m *WebDetection_WebImage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebDetection_WebImage.Marshal(b, m, deterministic) -} -func (m *WebDetection_WebImage) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebDetection_WebImage.Merge(m, src) -} -func (m *WebDetection_WebImage) XXX_Size() int { - return xxx_messageInfo_WebDetection_WebImage.Size(m) -} -func (m *WebDetection_WebImage) XXX_DiscardUnknown() { - xxx_messageInfo_WebDetection_WebImage.DiscardUnknown(m) -} - -var xxx_messageInfo_WebDetection_WebImage proto.InternalMessageInfo - -func (m *WebDetection_WebImage) GetUrl() string { - if m != nil { - return m.Url - } - return "" -} - -func (m *WebDetection_WebImage) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -// Metadata for web pages. -type WebDetection_WebPage struct { - // The result web page URL. - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - // (Deprecated) Overall relevancy score for the web page. - Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"` - // Title for the web page, may contain HTML markups. - PageTitle string `protobuf:"bytes,3,opt,name=page_title,json=pageTitle,proto3" json:"page_title,omitempty"` - // Fully matching images on the page. - // Can include resized copies of the query image. - FullMatchingImages []*WebDetection_WebImage `protobuf:"bytes,4,rep,name=full_matching_images,json=fullMatchingImages,proto3" json:"full_matching_images,omitempty"` - // Partial matching images on the page. - // Those images are similar enough to share some key-point features. For - // example an original image will likely have partial matching for its - // crops. - PartialMatchingImages []*WebDetection_WebImage `protobuf:"bytes,5,rep,name=partial_matching_images,json=partialMatchingImages,proto3" json:"partial_matching_images,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c9258baccea8b1f2, []int{0, 2} -} - -func (m *WebDetection_WebPage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebDetection_WebPage.Unmarshal(m, b) -} -func (m *WebDetection_WebPage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebDetection_WebPage.Marshal(b, m, deterministic) -} -func (m *WebDetection_WebPage) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebDetection_WebPage.Merge(m, src) -} -func (m *WebDetection_WebPage) XXX_Size() int { - return xxx_messageInfo_WebDetection_WebPage.Size(m) -} -func (m *WebDetection_WebPage) XXX_DiscardUnknown() { - xxx_messageInfo_WebDetection_WebPage.DiscardUnknown(m) -} - -var xxx_messageInfo_WebDetection_WebPage proto.InternalMessageInfo - -func (m *WebDetection_WebPage) GetUrl() string { - if m != nil { - return m.Url - } - return "" -} - -func (m *WebDetection_WebPage) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -func (m *WebDetection_WebPage) GetPageTitle() string { - if m != nil { - return m.PageTitle - } - return "" -} - -func (m *WebDetection_WebPage) GetFullMatchingImages() []*WebDetection_WebImage { - if m != nil { - return m.FullMatchingImages - } - return nil -} - -func (m *WebDetection_WebPage) GetPartialMatchingImages() []*WebDetection_WebImage { - if m != nil { - return m.PartialMatchingImages - } - return nil -} - -// Label to provide extra metadata for the web detection. -type WebDetection_WebLabel struct { - // Label for extra metadata. - Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` - // The BCP-47 language code for `label`, 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c9258baccea8b1f2, []int{0, 3} -} - -func (m *WebDetection_WebLabel) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebDetection_WebLabel.Unmarshal(m, b) -} -func (m *WebDetection_WebLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebDetection_WebLabel.Marshal(b, m, deterministic) -} -func (m *WebDetection_WebLabel) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebDetection_WebLabel.Merge(m, src) -} -func (m *WebDetection_WebLabel) XXX_Size() int { - return xxx_messageInfo_WebDetection_WebLabel.Size(m) -} -func (m *WebDetection_WebLabel) XXX_DiscardUnknown() { - xxx_messageInfo_WebDetection_WebLabel.DiscardUnknown(m) -} - -var xxx_messageInfo_WebDetection_WebLabel proto.InternalMessageInfo - -func (m *WebDetection_WebLabel) GetLabel() string { - if m != nil { - return m.Label - } - return "" -} - -func (m *WebDetection_WebLabel) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func init() { - proto.RegisterType((*WebDetection)(nil), "google.cloud.vision.v1p2beta1.WebDetection") - proto.RegisterType((*WebDetection_WebEntity)(nil), "google.cloud.vision.v1p2beta1.WebDetection.WebEntity") - proto.RegisterType((*WebDetection_WebImage)(nil), "google.cloud.vision.v1p2beta1.WebDetection.WebImage") - proto.RegisterType((*WebDetection_WebPage)(nil), "google.cloud.vision.v1p2beta1.WebDetection.WebPage") - proto.RegisterType((*WebDetection_WebLabel)(nil), "google.cloud.vision.v1p2beta1.WebDetection.WebLabel") -} - -func init() { - proto.RegisterFile("google/cloud/vision/v1p2beta1/web_detection.proto", fileDescriptor_c9258baccea8b1f2) -} - -var fileDescriptor_c9258baccea8b1f2 = []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, - 0x94, 0xa8, 0x1d, 0x9c, 0xb8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0x84, 0xc2, 0x8d, 0x0f, 0x60, 0xe7, 0xff, 0x3d, 0x80, 0xdd, 0x7f, 0xfe, 0x00, 0xc2, 0x33, 0xd3, - 0x5c, 0x73, 0x96, 0xd8, 0x16, 0x73, 0x43, 0x5c, 0xab, 0x6c, 0x41, 0x5f, 0x92, 0x87, 0x82, 0x55, - 0x65, 0x8b, 0xad, 0xc9, 0x65, 0x61, 0x9b, 0xe6, 0x27, 0x83, 0xb5, 0x78, 0x2a, 0x0b, 0x7e, 0xf2, - 0xd5, 0x23, 0xcf, 0x73, 0x39, 0xbf, 0x7d, 0x65, 0x27, 0xfb, 0x9b, 0x4b, 0x9b, 0xe2, 0x0f, 0x36, - 0xf5, 0xbe, 0x9c, 0x3a, 0x4f, 0x29, 0x31, 0x31, 0x92, 0x4d, 0x19, 0x97, 0xbc, 0x32, 0xff, 0x5b, - 0x6c, 0xa7, 0x58, 0x0d, 0xea, 0x86, 0x2f, 0xf5, 0x8d, 0x15, 0x7e, 0x78, 0x5e, 0xb6, 0x67, 0x2c, - 0xc7, 0x3f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x66, 0x62, 0xaa, 0xcd, 0x84, 0x05, 0x00, 0x00, -} 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 deleted file mode 100644 index 9bfdf673..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1/geometry.pb.go +++ /dev/null @@ -1,314 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/vision/v1p3beta1/geometry.proto - -package vision - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A vertex represents a 2D point in the image. -// NOTE: the vertex coordinates are in the same scale as the original image. -type Vertex struct { - // X coordinate. - X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` - // Y coordinate. - Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_41f6dd02aceb81a1, []int{0} -} - -func (m *Vertex) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Vertex.Unmarshal(m, b) -} -func (m *Vertex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Vertex.Marshal(b, m, deterministic) -} -func (m *Vertex) XXX_Merge(src proto.Message) { - xxx_messageInfo_Vertex.Merge(m, src) -} -func (m *Vertex) XXX_Size() int { - return xxx_messageInfo_Vertex.Size(m) -} -func (m *Vertex) XXX_DiscardUnknown() { - xxx_messageInfo_Vertex.DiscardUnknown(m) -} - -var xxx_messageInfo_Vertex proto.InternalMessageInfo - -func (m *Vertex) GetX() int32 { - if m != nil { - return m.X - } - return 0 -} - -func (m *Vertex) GetY() int32 { - if m != nil { - return m.Y - } - return 0 -} - -// 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_41f6dd02aceb81a1, []int{1} -} - -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 (m *NormalizedVertex) XXX_Merge(src proto.Message) { - xxx_messageInfo_NormalizedVertex.Merge(m, 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 -} - -// A bounding polygon for the detected image annotation. -type BoundingPoly struct { - // The bounding polygon vertices. - Vertices []*Vertex `protobuf:"bytes,1,rep,name=vertices,proto3" json:"vertices,omitempty"` - // The bounding polygon normalized vertices. - NormalizedVertices []*NormalizedVertex `protobuf:"bytes,2,rep,name=normalized_vertices,json=normalizedVertices,proto3" json:"normalized_vertices,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_41f6dd02aceb81a1, []int{2} -} - -func (m *BoundingPoly) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BoundingPoly.Unmarshal(m, b) -} -func (m *BoundingPoly) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BoundingPoly.Marshal(b, m, deterministic) -} -func (m *BoundingPoly) XXX_Merge(src proto.Message) { - xxx_messageInfo_BoundingPoly.Merge(m, src) -} -func (m *BoundingPoly) XXX_Size() int { - return xxx_messageInfo_BoundingPoly.Size(m) -} -func (m *BoundingPoly) XXX_DiscardUnknown() { - xxx_messageInfo_BoundingPoly.DiscardUnknown(m) -} - -var xxx_messageInfo_BoundingPoly proto.InternalMessageInfo - -func (m *BoundingPoly) GetVertices() []*Vertex { - if m != nil { - return m.Vertices - } - return nil -} - -func (m *BoundingPoly) GetNormalizedVertices() []*NormalizedVertex { - if m != nil { - return m.NormalizedVertices - } - return nil -} - -// A normalized bounding polygon around a portion of an image. -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_41f6dd02aceb81a1, []int{3} -} - -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 (m *NormalizedBoundingPoly) XXX_Merge(src proto.Message) { - xxx_messageInfo_NormalizedBoundingPoly.Merge(m, 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 -} - -// A 3D position in the image, used primarily for Face detection landmarks. -// A valid Position must have both x and y coordinates. -// The position coordinates are in the same scale as the original image. -type Position 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"` - // Z coordinate (or depth). - Z float32 `protobuf:"fixed32,3,opt,name=z,proto3" json:"z,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_41f6dd02aceb81a1, []int{4} -} - -func (m *Position) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Position.Unmarshal(m, b) -} -func (m *Position) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Position.Marshal(b, m, deterministic) -} -func (m *Position) XXX_Merge(src proto.Message) { - xxx_messageInfo_Position.Merge(m, src) -} -func (m *Position) XXX_Size() int { - return xxx_messageInfo_Position.Size(m) -} -func (m *Position) XXX_DiscardUnknown() { - xxx_messageInfo_Position.DiscardUnknown(m) -} - -var xxx_messageInfo_Position proto.InternalMessageInfo - -func (m *Position) GetX() float32 { - if m != nil { - return m.X - } - return 0 -} - -func (m *Position) GetY() float32 { - if m != nil { - return m.Y - } - return 0 -} - -func (m *Position) GetZ() float32 { - if m != nil { - return m.Z - } - return 0 -} - -func init() { - proto.RegisterType((*Vertex)(nil), "google.cloud.vision.v1p3beta1.Vertex") - proto.RegisterType((*NormalizedVertex)(nil), "google.cloud.vision.v1p3beta1.NormalizedVertex") - proto.RegisterType((*BoundingPoly)(nil), "google.cloud.vision.v1p3beta1.BoundingPoly") - proto.RegisterType((*NormalizedBoundingPoly)(nil), "google.cloud.vision.v1p3beta1.NormalizedBoundingPoly") - proto.RegisterType((*Position)(nil), "google.cloud.vision.v1p3beta1.Position") -} - -func init() { - proto.RegisterFile("google/cloud/vision/v1p3beta1/geometry.proto", fileDescriptor_41f6dd02aceb81a1) -} - -var fileDescriptor_41f6dd02aceb81a1 = []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, - 0xcc, 0x79, 0xf3, 0xe4, 0x3c, 0x78, 0x10, 0xa4, 0xf4, 0xe0, 0xc1, 0x8b, 0x66, 0x6d, 0x08, 0x81, - 0x36, 0xaf, 0xa4, 0x59, 0x59, 0x8b, 0xff, 0x95, 0xff, 0x9c, 0x47, 0x69, 0x53, 0x2a, 0x9d, 0x58, - 0xf1, 0xf8, 0xbd, 0xfc, 0xde, 0xf7, 0x3e, 0xf2, 0x1e, 0xbe, 0x12, 0x00, 0x22, 0xe1, 0x34, 0x4a, - 0x60, 0x13, 0xd3, 0x42, 0xe6, 0x12, 0x14, 0x2d, 0x16, 0xd9, 0x72, 0xcd, 0x0d, 0x5b, 0x50, 0xc1, - 0x21, 0xe5, 0x46, 0x97, 0x24, 0xd3, 0x60, 0xc0, 0x3d, 0xb3, 0x34, 0x69, 0x68, 0x62, 0x69, 0xd2, - 0xd1, 0x27, 0xa7, 0xad, 0x19, 0x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f5, 0xb8, 0x69, 0x59, 0x7e, 0x05, - 0x00, 0x00, 0xff, 0xff, 0x79, 0x59, 0xbf, 0x39, 0x9a, 0x02, 0x00, 0x00, -} 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 deleted file mode 100644 index 93604438..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1/image_annotator.pb.go +++ /dev/null @@ -1,2881 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/vision/v1p3beta1/image_annotator.proto - -package vision - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - status "google.golang.org/genproto/googleapis/rpc/status" - color "google.golang.org/genproto/googleapis/type/color" - latlng "google.golang.org/genproto/googleapis/type/latlng" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A bucketized representation of likelihood, which is intended to give clients -// highly stable results across model upgrades. -type Likelihood int32 - -const ( - // Unknown likelihood. - Likelihood_UNKNOWN Likelihood = 0 - // It is very unlikely that the image belongs to the specified vertical. - Likelihood_VERY_UNLIKELY Likelihood = 1 - // It is unlikely that the image belongs to the specified vertical. - Likelihood_UNLIKELY Likelihood = 2 - // It is possible that the image belongs to the specified vertical. - Likelihood_POSSIBLE Likelihood = 3 - // It is likely that the image belongs to the specified vertical. - Likelihood_LIKELY Likelihood = 4 - // It is very likely that the image belongs to the specified vertical. - Likelihood_VERY_LIKELY Likelihood = 5 -) - -var Likelihood_name = map[int32]string{ - 0: "UNKNOWN", - 1: "VERY_UNLIKELY", - 2: "UNLIKELY", - 3: "POSSIBLE", - 4: "LIKELY", - 5: "VERY_LIKELY", -} - -var Likelihood_value = map[string]int32{ - "UNKNOWN": 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_2b863578148790db, []int{0} -} - -// Type of Google Cloud Vision API feature to be extracted. -type Feature_Type int32 - -const ( - // Unspecified feature type. - Feature_TYPE_UNSPECIFIED Feature_Type = 0 - // Run face detection. - Feature_FACE_DETECTION Feature_Type = 1 - // Run landmark detection. - Feature_LANDMARK_DETECTION Feature_Type = 2 - // Run logo detection. - Feature_LOGO_DETECTION Feature_Type = 3 - // Run label detection. - Feature_LABEL_DETECTION Feature_Type = 4 - // Run text detection / optical character recognition (OCR). Text detection - // is optimized for areas of text within a larger image; if the image is - // a document, use `DOCUMENT_TEXT_DETECTION` instead. - Feature_TEXT_DETECTION Feature_Type = 5 - // Run dense text document OCR. Takes precedence when both - // `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` are present. - Feature_DOCUMENT_TEXT_DETECTION Feature_Type = 11 - // Run Safe Search to detect potentially unsafe - // or undesirable content. - Feature_SAFE_SEARCH_DETECTION Feature_Type = 6 - // Compute a set of image properties, such as the - // image's dominant colors. - Feature_IMAGE_PROPERTIES Feature_Type = 7 - // Run crop hints. - 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{ - 0: "TYPE_UNSPECIFIED", - 1: "FACE_DETECTION", - 2: "LANDMARK_DETECTION", - 3: "LOGO_DETECTION", - 4: "LABEL_DETECTION", - 5: "TEXT_DETECTION", - 11: "DOCUMENT_TEXT_DETECTION", - 6: "SAFE_SEARCH_DETECTION", - 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, - "FACE_DETECTION": 1, - "LANDMARK_DETECTION": 2, - "LOGO_DETECTION": 3, - "LABEL_DETECTION": 4, - "TEXT_DETECTION": 5, - "DOCUMENT_TEXT_DETECTION": 11, - "SAFE_SEARCH_DETECTION": 6, - "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_2b863578148790db, []int{0, 0} -} - -// Face landmark (feature) type. -// Left and right are defined from the vantage of the viewer of the image -// without considering mirror projections typical of photos. So, `LEFT_EYE`, -// typically, is the person's right eye. -type FaceAnnotation_Landmark_Type int32 - -const ( - // Unknown face landmark detected. Should not be filled. - FaceAnnotation_Landmark_UNKNOWN_LANDMARK FaceAnnotation_Landmark_Type = 0 - // Left eye. - FaceAnnotation_Landmark_LEFT_EYE FaceAnnotation_Landmark_Type = 1 - // Right eye. - FaceAnnotation_Landmark_RIGHT_EYE FaceAnnotation_Landmark_Type = 2 - // Left of left eyebrow. - FaceAnnotation_Landmark_LEFT_OF_LEFT_EYEBROW FaceAnnotation_Landmark_Type = 3 - // Right of left eyebrow. - FaceAnnotation_Landmark_RIGHT_OF_LEFT_EYEBROW FaceAnnotation_Landmark_Type = 4 - // Left of right eyebrow. - FaceAnnotation_Landmark_LEFT_OF_RIGHT_EYEBROW FaceAnnotation_Landmark_Type = 5 - // Right of right eyebrow. - FaceAnnotation_Landmark_RIGHT_OF_RIGHT_EYEBROW FaceAnnotation_Landmark_Type = 6 - // Midpoint between eyes. - FaceAnnotation_Landmark_MIDPOINT_BETWEEN_EYES FaceAnnotation_Landmark_Type = 7 - // Nose tip. - FaceAnnotation_Landmark_NOSE_TIP FaceAnnotation_Landmark_Type = 8 - // Upper lip. - FaceAnnotation_Landmark_UPPER_LIP FaceAnnotation_Landmark_Type = 9 - // Lower lip. - FaceAnnotation_Landmark_LOWER_LIP FaceAnnotation_Landmark_Type = 10 - // Mouth left. - FaceAnnotation_Landmark_MOUTH_LEFT FaceAnnotation_Landmark_Type = 11 - // Mouth right. - FaceAnnotation_Landmark_MOUTH_RIGHT FaceAnnotation_Landmark_Type = 12 - // Mouth center. - FaceAnnotation_Landmark_MOUTH_CENTER FaceAnnotation_Landmark_Type = 13 - // Nose, bottom right. - FaceAnnotation_Landmark_NOSE_BOTTOM_RIGHT FaceAnnotation_Landmark_Type = 14 - // Nose, bottom left. - FaceAnnotation_Landmark_NOSE_BOTTOM_LEFT FaceAnnotation_Landmark_Type = 15 - // Nose, bottom center. - FaceAnnotation_Landmark_NOSE_BOTTOM_CENTER FaceAnnotation_Landmark_Type = 16 - // Left eye, top boundary. - FaceAnnotation_Landmark_LEFT_EYE_TOP_BOUNDARY FaceAnnotation_Landmark_Type = 17 - // Left eye, right corner. - FaceAnnotation_Landmark_LEFT_EYE_RIGHT_CORNER FaceAnnotation_Landmark_Type = 18 - // Left eye, bottom boundary. - FaceAnnotation_Landmark_LEFT_EYE_BOTTOM_BOUNDARY FaceAnnotation_Landmark_Type = 19 - // Left eye, left corner. - FaceAnnotation_Landmark_LEFT_EYE_LEFT_CORNER FaceAnnotation_Landmark_Type = 20 - // Right eye, top boundary. - FaceAnnotation_Landmark_RIGHT_EYE_TOP_BOUNDARY FaceAnnotation_Landmark_Type = 21 - // Right eye, right corner. - FaceAnnotation_Landmark_RIGHT_EYE_RIGHT_CORNER FaceAnnotation_Landmark_Type = 22 - // Right eye, bottom boundary. - FaceAnnotation_Landmark_RIGHT_EYE_BOTTOM_BOUNDARY FaceAnnotation_Landmark_Type = 23 - // Right eye, left corner. - FaceAnnotation_Landmark_RIGHT_EYE_LEFT_CORNER FaceAnnotation_Landmark_Type = 24 - // Left eyebrow, upper midpoint. - FaceAnnotation_Landmark_LEFT_EYEBROW_UPPER_MIDPOINT FaceAnnotation_Landmark_Type = 25 - // Right eyebrow, upper midpoint. - FaceAnnotation_Landmark_RIGHT_EYEBROW_UPPER_MIDPOINT FaceAnnotation_Landmark_Type = 26 - // Left ear tragion. - FaceAnnotation_Landmark_LEFT_EAR_TRAGION FaceAnnotation_Landmark_Type = 27 - // Right ear tragion. - FaceAnnotation_Landmark_RIGHT_EAR_TRAGION FaceAnnotation_Landmark_Type = 28 - // Left eye pupil. - FaceAnnotation_Landmark_LEFT_EYE_PUPIL FaceAnnotation_Landmark_Type = 29 - // Right eye pupil. - FaceAnnotation_Landmark_RIGHT_EYE_PUPIL FaceAnnotation_Landmark_Type = 30 - // Forehead glabella. - FaceAnnotation_Landmark_FOREHEAD_GLABELLA FaceAnnotation_Landmark_Type = 31 - // Chin gnathion. - FaceAnnotation_Landmark_CHIN_GNATHION FaceAnnotation_Landmark_Type = 32 - // Chin left gonion. - FaceAnnotation_Landmark_CHIN_LEFT_GONION FaceAnnotation_Landmark_Type = 33 - // Chin right gonion. - FaceAnnotation_Landmark_CHIN_RIGHT_GONION FaceAnnotation_Landmark_Type = 34 -) - -var FaceAnnotation_Landmark_Type_name = map[int32]string{ - 0: "UNKNOWN_LANDMARK", - 1: "LEFT_EYE", - 2: "RIGHT_EYE", - 3: "LEFT_OF_LEFT_EYEBROW", - 4: "RIGHT_OF_LEFT_EYEBROW", - 5: "LEFT_OF_RIGHT_EYEBROW", - 6: "RIGHT_OF_RIGHT_EYEBROW", - 7: "MIDPOINT_BETWEEN_EYES", - 8: "NOSE_TIP", - 9: "UPPER_LIP", - 10: "LOWER_LIP", - 11: "MOUTH_LEFT", - 12: "MOUTH_RIGHT", - 13: "MOUTH_CENTER", - 14: "NOSE_BOTTOM_RIGHT", - 15: "NOSE_BOTTOM_LEFT", - 16: "NOSE_BOTTOM_CENTER", - 17: "LEFT_EYE_TOP_BOUNDARY", - 18: "LEFT_EYE_RIGHT_CORNER", - 19: "LEFT_EYE_BOTTOM_BOUNDARY", - 20: "LEFT_EYE_LEFT_CORNER", - 21: "RIGHT_EYE_TOP_BOUNDARY", - 22: "RIGHT_EYE_RIGHT_CORNER", - 23: "RIGHT_EYE_BOTTOM_BOUNDARY", - 24: "RIGHT_EYE_LEFT_CORNER", - 25: "LEFT_EYEBROW_UPPER_MIDPOINT", - 26: "RIGHT_EYEBROW_UPPER_MIDPOINT", - 27: "LEFT_EAR_TRAGION", - 28: "RIGHT_EAR_TRAGION", - 29: "LEFT_EYE_PUPIL", - 30: "RIGHT_EYE_PUPIL", - 31: "FOREHEAD_GLABELLA", - 32: "CHIN_GNATHION", - 33: "CHIN_LEFT_GONION", - 34: "CHIN_RIGHT_GONION", -} - -var FaceAnnotation_Landmark_Type_value = map[string]int32{ - "UNKNOWN_LANDMARK": 0, - "LEFT_EYE": 1, - "RIGHT_EYE": 2, - "LEFT_OF_LEFT_EYEBROW": 3, - "RIGHT_OF_LEFT_EYEBROW": 4, - "LEFT_OF_RIGHT_EYEBROW": 5, - "RIGHT_OF_RIGHT_EYEBROW": 6, - "MIDPOINT_BETWEEN_EYES": 7, - "NOSE_TIP": 8, - "UPPER_LIP": 9, - "LOWER_LIP": 10, - "MOUTH_LEFT": 11, - "MOUTH_RIGHT": 12, - "MOUTH_CENTER": 13, - "NOSE_BOTTOM_RIGHT": 14, - "NOSE_BOTTOM_LEFT": 15, - "NOSE_BOTTOM_CENTER": 16, - "LEFT_EYE_TOP_BOUNDARY": 17, - "LEFT_EYE_RIGHT_CORNER": 18, - "LEFT_EYE_BOTTOM_BOUNDARY": 19, - "LEFT_EYE_LEFT_CORNER": 20, - "RIGHT_EYE_TOP_BOUNDARY": 21, - "RIGHT_EYE_RIGHT_CORNER": 22, - "RIGHT_EYE_BOTTOM_BOUNDARY": 23, - "RIGHT_EYE_LEFT_CORNER": 24, - "LEFT_EYEBROW_UPPER_MIDPOINT": 25, - "RIGHT_EYEBROW_UPPER_MIDPOINT": 26, - "LEFT_EAR_TRAGION": 27, - "RIGHT_EAR_TRAGION": 28, - "LEFT_EYE_PUPIL": 29, - "RIGHT_EYE_PUPIL": 30, - "FOREHEAD_GLABELLA": 31, - "CHIN_GNATHION": 32, - "CHIN_LEFT_GONION": 33, - "CHIN_RIGHT_GONION": 34, -} - -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_2b863578148790db, []int{3, 0, 0} -} - -// Batch operation states. -type OperationMetadata_State int32 - -const ( - // Invalid. - OperationMetadata_STATE_UNSPECIFIED OperationMetadata_State = 0 - // Request is received. - OperationMetadata_CREATED OperationMetadata_State = 1 - // Request is actively being processed. - OperationMetadata_RUNNING OperationMetadata_State = 2 - // The batch processing is done. - OperationMetadata_DONE OperationMetadata_State = 3 - // The batch processing was cancelled. - OperationMetadata_CANCELLED OperationMetadata_State = 4 -) - -var OperationMetadata_State_name = map[int32]string{ - 0: "STATE_UNSPECIFIED", - 1: "CREATED", - 2: "RUNNING", - 3: "DONE", - 4: "CANCELLED", -} - -var OperationMetadata_State_value = map[string]int32{ - "STATE_UNSPECIFIED": 0, - "CREATED": 1, - "RUNNING": 2, - "DONE": 3, - "CANCELLED": 4, -} - -func (x OperationMetadata_State) String() string { - return proto.EnumName(OperationMetadata_State_name, int32(x)) -} - -func (OperationMetadata_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2b863578148790db, []int{32, 0} -} - -// The type of Google Cloud Vision API detection to perform, and the maximum -// number of results to return for that type. Multiple `Feature` objects can -// be specified in the `features` list. -type Feature struct { - // The feature type. - Type Feature_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.vision.v1p3beta1.Feature_Type" json:"type,omitempty"` - // Maximum number of results of this type. Does not apply to - // `TEXT_DETECTION`, `DOCUMENT_TEXT_DETECTION`, or `CROP_HINTS`. - MaxResults int32 `protobuf:"varint,2,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"` - // Model to use for the feature. - // 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 *Feature) Reset() { *m = Feature{} } -func (m *Feature) String() string { return proto.CompactTextString(m) } -func (*Feature) ProtoMessage() {} -func (*Feature) Descriptor() ([]byte, []int) { - return fileDescriptor_2b863578148790db, []int{0} -} - -func (m *Feature) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Feature.Unmarshal(m, b) -} -func (m *Feature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Feature.Marshal(b, m, deterministic) -} -func (m *Feature) XXX_Merge(src proto.Message) { - xxx_messageInfo_Feature.Merge(m, src) -} -func (m *Feature) XXX_Size() int { - return xxx_messageInfo_Feature.Size(m) -} -func (m *Feature) XXX_DiscardUnknown() { - xxx_messageInfo_Feature.DiscardUnknown(m) -} - -var xxx_messageInfo_Feature proto.InternalMessageInfo - -func (m *Feature) GetType() Feature_Type { - if m != nil { - return m.Type - } - return Feature_TYPE_UNSPECIFIED -} - -func (m *Feature) GetMaxResults() int32 { - if m != nil { - return m.MaxResults - } - return 0 -} - -func (m *Feature) GetModel() string { - if m != nil { - return m.Model - } - return "" -} - -// External image source (Google Cloud Storage or web URL image location). -type ImageSource struct { - // **Use `image_uri` instead.** - // - // The Google Cloud Storage URI of the form - // `gs://bucket_name/object_name`. Object versioning is not supported. See - // [Google Cloud Storage Request - // URIs](https://cloud.google.com/storage/docs/reference-uris) for more info. - GcsImageUri string `protobuf:"bytes,1,opt,name=gcs_image_uri,json=gcsImageUri,proto3" json:"gcs_image_uri,omitempty"` - // The URI of the source image. Can be either: - // - // 1. A Google Cloud Storage URI of the form - // `gs://bucket_name/object_name`. Object versioning is not supported. See - // [Google Cloud Storage Request - // URIs](https://cloud.google.com/storage/docs/reference-uris) for more - // info. - // - // 2. A publicly-accessible image HTTP/HTTPS URL. When fetching images from - // HTTP/HTTPS URLs, Google cannot guarantee that the request will be - // completed. Your request may fail if the specified host denies the - // request (e.g. due to request throttling or DOS prevention), or if Google - // throttles requests to the site for abuse prevention. You should not - // depend on externally-hosted images for production applications. - // - // When both `gcs_image_uri` and `image_uri` are specified, `image_uri` takes - // precedence. - ImageUri string `protobuf:"bytes,2,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2b863578148790db, []int{1} -} - -func (m *ImageSource) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageSource.Unmarshal(m, b) -} -func (m *ImageSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageSource.Marshal(b, m, deterministic) -} -func (m *ImageSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageSource.Merge(m, src) -} -func (m *ImageSource) XXX_Size() int { - return xxx_messageInfo_ImageSource.Size(m) -} -func (m *ImageSource) XXX_DiscardUnknown() { - xxx_messageInfo_ImageSource.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageSource proto.InternalMessageInfo - -func (m *ImageSource) GetGcsImageUri() string { - if m != nil { - return m.GcsImageUri - } - return "" -} - -func (m *ImageSource) GetImageUri() string { - if m != nil { - return m.ImageUri - } - return "" -} - -// Client image to perform Google Cloud Vision API tasks over. -type Image struct { - // Image content, represented as a stream of bytes. - // Note: As with all `bytes` fields, protobuffers use a pure binary - // representation, whereas JSON representations use base64. - Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` - // Google Cloud Storage image location, or publicly-accessible image - // URL. If both `content` and `source` are provided for an image, `content` - // takes precedence and is used to perform the image annotation request. - Source *ImageSource `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2b863578148790db, []int{2} -} - -func (m *Image) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Image.Unmarshal(m, b) -} -func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Image.Marshal(b, m, deterministic) -} -func (m *Image) XXX_Merge(src proto.Message) { - xxx_messageInfo_Image.Merge(m, src) -} -func (m *Image) XXX_Size() int { - return xxx_messageInfo_Image.Size(m) -} -func (m *Image) XXX_DiscardUnknown() { - xxx_messageInfo_Image.DiscardUnknown(m) -} - -var xxx_messageInfo_Image proto.InternalMessageInfo - -func (m *Image) GetContent() []byte { - if m != nil { - return m.Content - } - return nil -} - -func (m *Image) GetSource() *ImageSource { - if m != nil { - return m.Source - } - return nil -} - -// A face annotation object contains the results of face detection. -type FaceAnnotation struct { - // The bounding polygon around the face. The coordinates of the bounding box - // are in the original image's scale, as returned in `ImageParams`. - // The bounding box is computed to "frame" the face in accordance with human - // expectations. It is based on the landmarker results. - // Note that one or more x and/or y coordinates may not be generated in the - // `BoundingPoly` (the polygon will be unbounded) if only a partial face - // appears in the image to be annotated. - BoundingPoly *BoundingPoly `protobuf:"bytes,1,opt,name=bounding_poly,json=boundingPoly,proto3" json:"bounding_poly,omitempty"` - // The `fd_bounding_poly` bounding polygon is tighter than the - // `boundingPoly`, and encloses only the skin part of the face. Typically, it - // is used to eliminate the face from any image analysis that detects the - // "amount of skin" visible in an image. It is not based on the - // landmarker results, only on the initial face detection, hence - // the fd (face detection) prefix. - FdBoundingPoly *BoundingPoly `protobuf:"bytes,2,opt,name=fd_bounding_poly,json=fdBoundingPoly,proto3" json:"fd_bounding_poly,omitempty"` - // Detected face landmarks. - Landmarks []*FaceAnnotation_Landmark `protobuf:"bytes,3,rep,name=landmarks,proto3" json:"landmarks,omitempty"` - // Roll angle, which indicates the amount of clockwise/anti-clockwise rotation - // of the face relative to the image vertical about the axis perpendicular to - // the face. Range [-180,180]. - RollAngle float32 `protobuf:"fixed32,4,opt,name=roll_angle,json=rollAngle,proto3" json:"roll_angle,omitempty"` - // Yaw angle, which indicates the leftward/rightward angle that the face is - // pointing relative to the vertical plane perpendicular to the image. Range - // [-180,180]. - PanAngle float32 `protobuf:"fixed32,5,opt,name=pan_angle,json=panAngle,proto3" json:"pan_angle,omitempty"` - // Pitch angle, which indicates the upwards/downwards angle that the face is - // pointing relative to the image's horizontal plane. Range [-180,180]. - TiltAngle float32 `protobuf:"fixed32,6,opt,name=tilt_angle,json=tiltAngle,proto3" json:"tilt_angle,omitempty"` - // Detection confidence. Range [0, 1]. - DetectionConfidence float32 `protobuf:"fixed32,7,opt,name=detection_confidence,json=detectionConfidence,proto3" json:"detection_confidence,omitempty"` - // Face landmarking confidence. Range [0, 1]. - LandmarkingConfidence float32 `protobuf:"fixed32,8,opt,name=landmarking_confidence,json=landmarkingConfidence,proto3" json:"landmarking_confidence,omitempty"` - // Joy likelihood. - JoyLikelihood Likelihood `protobuf:"varint,9,opt,name=joy_likelihood,json=joyLikelihood,proto3,enum=google.cloud.vision.v1p3beta1.Likelihood" json:"joy_likelihood,omitempty"` - // Sorrow likelihood. - SorrowLikelihood Likelihood `protobuf:"varint,10,opt,name=sorrow_likelihood,json=sorrowLikelihood,proto3,enum=google.cloud.vision.v1p3beta1.Likelihood" json:"sorrow_likelihood,omitempty"` - // Anger likelihood. - AngerLikelihood Likelihood `protobuf:"varint,11,opt,name=anger_likelihood,json=angerLikelihood,proto3,enum=google.cloud.vision.v1p3beta1.Likelihood" json:"anger_likelihood,omitempty"` - // Surprise likelihood. - SurpriseLikelihood Likelihood `protobuf:"varint,12,opt,name=surprise_likelihood,json=surpriseLikelihood,proto3,enum=google.cloud.vision.v1p3beta1.Likelihood" json:"surprise_likelihood,omitempty"` - // Under-exposed likelihood. - UnderExposedLikelihood Likelihood `protobuf:"varint,13,opt,name=under_exposed_likelihood,json=underExposedLikelihood,proto3,enum=google.cloud.vision.v1p3beta1.Likelihood" json:"under_exposed_likelihood,omitempty"` - // Blurred likelihood. - BlurredLikelihood Likelihood `protobuf:"varint,14,opt,name=blurred_likelihood,json=blurredLikelihood,proto3,enum=google.cloud.vision.v1p3beta1.Likelihood" json:"blurred_likelihood,omitempty"` - // Headwear likelihood. - HeadwearLikelihood Likelihood `protobuf:"varint,15,opt,name=headwear_likelihood,json=headwearLikelihood,proto3,enum=google.cloud.vision.v1p3beta1.Likelihood" json:"headwear_likelihood,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2b863578148790db, []int{3} -} - -func (m *FaceAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FaceAnnotation.Unmarshal(m, b) -} -func (m *FaceAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FaceAnnotation.Marshal(b, m, deterministic) -} -func (m *FaceAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_FaceAnnotation.Merge(m, src) -} -func (m *FaceAnnotation) XXX_Size() int { - return xxx_messageInfo_FaceAnnotation.Size(m) -} -func (m *FaceAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_FaceAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_FaceAnnotation proto.InternalMessageInfo - -func (m *FaceAnnotation) GetBoundingPoly() *BoundingPoly { - if m != nil { - return m.BoundingPoly - } - return nil -} - -func (m *FaceAnnotation) GetFdBoundingPoly() *BoundingPoly { - if m != nil { - return m.FdBoundingPoly - } - return nil -} - -func (m *FaceAnnotation) GetLandmarks() []*FaceAnnotation_Landmark { - if m != nil { - return m.Landmarks - } - return nil -} - -func (m *FaceAnnotation) GetRollAngle() float32 { - if m != nil { - return m.RollAngle - } - return 0 -} - -func (m *FaceAnnotation) GetPanAngle() float32 { - if m != nil { - return m.PanAngle - } - return 0 -} - -func (m *FaceAnnotation) GetTiltAngle() float32 { - if m != nil { - return m.TiltAngle - } - return 0 -} - -func (m *FaceAnnotation) GetDetectionConfidence() float32 { - if m != nil { - return m.DetectionConfidence - } - return 0 -} - -func (m *FaceAnnotation) GetLandmarkingConfidence() float32 { - if m != nil { - return m.LandmarkingConfidence - } - return 0 -} - -func (m *FaceAnnotation) GetJoyLikelihood() Likelihood { - if m != nil { - return m.JoyLikelihood - } - return Likelihood_UNKNOWN -} - -func (m *FaceAnnotation) GetSorrowLikelihood() Likelihood { - if m != nil { - return m.SorrowLikelihood - } - return Likelihood_UNKNOWN -} - -func (m *FaceAnnotation) GetAngerLikelihood() Likelihood { - if m != nil { - return m.AngerLikelihood - } - return Likelihood_UNKNOWN -} - -func (m *FaceAnnotation) GetSurpriseLikelihood() Likelihood { - if m != nil { - return m.SurpriseLikelihood - } - return Likelihood_UNKNOWN -} - -func (m *FaceAnnotation) GetUnderExposedLikelihood() Likelihood { - if m != nil { - return m.UnderExposedLikelihood - } - return Likelihood_UNKNOWN -} - -func (m *FaceAnnotation) GetBlurredLikelihood() Likelihood { - if m != nil { - return m.BlurredLikelihood - } - return Likelihood_UNKNOWN -} - -func (m *FaceAnnotation) GetHeadwearLikelihood() Likelihood { - if m != nil { - return m.HeadwearLikelihood - } - return Likelihood_UNKNOWN -} - -// A face-specific landmark (for example, a face feature). -type FaceAnnotation_Landmark struct { - // Face landmark type. - Type FaceAnnotation_Landmark_Type `protobuf:"varint,3,opt,name=type,proto3,enum=google.cloud.vision.v1p3beta1.FaceAnnotation_Landmark_Type" json:"type,omitempty"` - // Face landmark position. - Position *Position `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2b863578148790db, []int{3, 0} -} - -func (m *FaceAnnotation_Landmark) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FaceAnnotation_Landmark.Unmarshal(m, b) -} -func (m *FaceAnnotation_Landmark) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FaceAnnotation_Landmark.Marshal(b, m, deterministic) -} -func (m *FaceAnnotation_Landmark) XXX_Merge(src proto.Message) { - xxx_messageInfo_FaceAnnotation_Landmark.Merge(m, src) -} -func (m *FaceAnnotation_Landmark) XXX_Size() int { - return xxx_messageInfo_FaceAnnotation_Landmark.Size(m) -} -func (m *FaceAnnotation_Landmark) XXX_DiscardUnknown() { - xxx_messageInfo_FaceAnnotation_Landmark.DiscardUnknown(m) -} - -var xxx_messageInfo_FaceAnnotation_Landmark proto.InternalMessageInfo - -func (m *FaceAnnotation_Landmark) GetType() FaceAnnotation_Landmark_Type { - if m != nil { - return m.Type - } - return FaceAnnotation_Landmark_UNKNOWN_LANDMARK -} - -func (m *FaceAnnotation_Landmark) GetPosition() *Position { - if m != nil { - return m.Position - } - return nil -} - -// Detected entity location information. -type LocationInfo struct { - // lat/long location coordinates. - LatLng *latlng.LatLng `protobuf:"bytes,1,opt,name=lat_lng,json=latLng,proto3" json:"lat_lng,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_2b863578148790db, []int{4} -} - -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 (m *LocationInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocationInfo.Merge(m, 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) GetLatLng() *latlng.LatLng { - if m != nil { - return m.LatLng - } - return nil -} - -// A `Property` consists of a user-supplied name/value pair. -type Property struct { - // Name of the property. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Value of the property. - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - // Value of numeric properties. - Uint64Value uint64 `protobuf:"varint,3,opt,name=uint64_value,json=uint64Value,proto3" json:"uint64_value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2b863578148790db, []int{5} -} - -func (m *Property) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Property.Unmarshal(m, b) -} -func (m *Property) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Property.Marshal(b, m, deterministic) -} -func (m *Property) XXX_Merge(src proto.Message) { - xxx_messageInfo_Property.Merge(m, src) -} -func (m *Property) XXX_Size() int { - return xxx_messageInfo_Property.Size(m) -} -func (m *Property) XXX_DiscardUnknown() { - xxx_messageInfo_Property.DiscardUnknown(m) -} - -var xxx_messageInfo_Property proto.InternalMessageInfo - -func (m *Property) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Property) GetValue() string { - if m != nil { - return m.Value - } - return "" -} - -func (m *Property) GetUint64Value() uint64 { - if m != nil { - return m.Uint64Value - } - return 0 -} - -// Set of detected entity features. -type EntityAnnotation struct { - // Opaque entity ID. Some IDs may be available in - // [Google Knowledge Graph Search - // API](https://developers.google.com/knowledge-graph/). - Mid string `protobuf:"bytes,1,opt,name=mid,proto3" json:"mid,omitempty"` - // The language code for the locale in which the entity textual - // `description` is expressed. - Locale string `protobuf:"bytes,2,opt,name=locale,proto3" json:"locale,omitempty"` - // Entity textual description, expressed in its `locale` language. - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - // Overall score of the result. Range [0, 1]. - Score float32 `protobuf:"fixed32,4,opt,name=score,proto3" json:"score,omitempty"` - // **Deprecated. Use `score` instead.** - // The accuracy of the entity detection in an image. - // 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"` - // 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 - // detected distant towering building, even though the confidence that - // there is a tower in each image may be the same. Range [0, 1]. - Topicality float32 `protobuf:"fixed32,6,opt,name=topicality,proto3" json:"topicality,omitempty"` - // Image region to which this entity belongs. Not produced - // for `LABEL_DETECTION` features. - BoundingPoly *BoundingPoly `protobuf:"bytes,7,opt,name=bounding_poly,json=boundingPoly,proto3" json:"bounding_poly,omitempty"` - // The location information for the detected entity. Multiple - // `LocationInfo` elements can be present because one location may - // indicate the location of the scene in the image, and another location - // may indicate the location of the place where the image was taken. - // Location information is usually present for landmarks. - Locations []*LocationInfo `protobuf:"bytes,8,rep,name=locations,proto3" json:"locations,omitempty"` - // Some entities may have optional user-supplied `Property` (name/value) - // fields, such a score or string that qualifies the entity. - Properties []*Property `protobuf:"bytes,9,rep,name=properties,proto3" json:"properties,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2b863578148790db, []int{6} -} - -func (m *EntityAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EntityAnnotation.Unmarshal(m, b) -} -func (m *EntityAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EntityAnnotation.Marshal(b, m, deterministic) -} -func (m *EntityAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_EntityAnnotation.Merge(m, src) -} -func (m *EntityAnnotation) XXX_Size() int { - return xxx_messageInfo_EntityAnnotation.Size(m) -} -func (m *EntityAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_EntityAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_EntityAnnotation proto.InternalMessageInfo - -func (m *EntityAnnotation) GetMid() string { - if m != nil { - return m.Mid - } - return "" -} - -func (m *EntityAnnotation) GetLocale() string { - if m != nil { - return m.Locale - } - return "" -} - -func (m *EntityAnnotation) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *EntityAnnotation) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -func (m *EntityAnnotation) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -func (m *EntityAnnotation) GetTopicality() float32 { - if m != nil { - return m.Topicality - } - return 0 -} - -func (m *EntityAnnotation) GetBoundingPoly() *BoundingPoly { - if m != nil { - return m.BoundingPoly - } - return nil -} - -func (m *EntityAnnotation) GetLocations() []*LocationInfo { - if m != nil { - return m.Locations - } - return nil -} - -func (m *EntityAnnotation) GetProperties() []*Property { - if m != nil { - return m.Properties - } - 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_2b863578148790db, []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 (m *LocalizedObjectAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocalizedObjectAnnotation.Merge(m, 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). -type SafeSearchAnnotation struct { - // Represents the adult content likelihood for the image. Adult content may - // contain elements such as nudity, pornographic images or cartoons, or - // sexual activities. - Adult Likelihood `protobuf:"varint,1,opt,name=adult,proto3,enum=google.cloud.vision.v1p3beta1.Likelihood" json:"adult,omitempty"` - // Spoof likelihood. The likelihood that an modification - // was made to the image's canonical version to make it appear - // funny or offensive. - Spoof Likelihood `protobuf:"varint,2,opt,name=spoof,proto3,enum=google.cloud.vision.v1p3beta1.Likelihood" json:"spoof,omitempty"` - // Likelihood that this is a medical image. - Medical Likelihood `protobuf:"varint,3,opt,name=medical,proto3,enum=google.cloud.vision.v1p3beta1.Likelihood" json:"medical,omitempty"` - // Likelihood that this image contains violent content. - Violence Likelihood `protobuf:"varint,4,opt,name=violence,proto3,enum=google.cloud.vision.v1p3beta1.Likelihood" json:"violence,omitempty"` - // Likelihood that the request image contains racy content. Racy content may - // include (but is not limited to) skimpy or sheer clothing, strategically - // covered nudity, lewd or provocative poses, or close-ups of sensitive - // body areas. - Racy Likelihood `protobuf:"varint,9,opt,name=racy,proto3,enum=google.cloud.vision.v1p3beta1.Likelihood" json:"racy,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2b863578148790db, []int{8} -} - -func (m *SafeSearchAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SafeSearchAnnotation.Unmarshal(m, b) -} -func (m *SafeSearchAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SafeSearchAnnotation.Marshal(b, m, deterministic) -} -func (m *SafeSearchAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_SafeSearchAnnotation.Merge(m, src) -} -func (m *SafeSearchAnnotation) XXX_Size() int { - return xxx_messageInfo_SafeSearchAnnotation.Size(m) -} -func (m *SafeSearchAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_SafeSearchAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_SafeSearchAnnotation proto.InternalMessageInfo - -func (m *SafeSearchAnnotation) GetAdult() Likelihood { - if m != nil { - return m.Adult - } - return Likelihood_UNKNOWN -} - -func (m *SafeSearchAnnotation) GetSpoof() Likelihood { - if m != nil { - return m.Spoof - } - return Likelihood_UNKNOWN -} - -func (m *SafeSearchAnnotation) GetMedical() Likelihood { - if m != nil { - return m.Medical - } - return Likelihood_UNKNOWN -} - -func (m *SafeSearchAnnotation) GetViolence() Likelihood { - if m != nil { - return m.Violence - } - return Likelihood_UNKNOWN -} - -func (m *SafeSearchAnnotation) GetRacy() Likelihood { - if m != nil { - return m.Racy - } - return Likelihood_UNKNOWN -} - -// Rectangle determined by min and max `LatLng` pairs. -type LatLongRect struct { - // Min lat/long pair. - MinLatLng *latlng.LatLng `protobuf:"bytes,1,opt,name=min_lat_lng,json=minLatLng,proto3" json:"min_lat_lng,omitempty"` - // Max lat/long pair. - MaxLatLng *latlng.LatLng `protobuf:"bytes,2,opt,name=max_lat_lng,json=maxLatLng,proto3" json:"max_lat_lng,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2b863578148790db, []int{9} -} - -func (m *LatLongRect) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LatLongRect.Unmarshal(m, b) -} -func (m *LatLongRect) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LatLongRect.Marshal(b, m, deterministic) -} -func (m *LatLongRect) XXX_Merge(src proto.Message) { - xxx_messageInfo_LatLongRect.Merge(m, src) -} -func (m *LatLongRect) XXX_Size() int { - return xxx_messageInfo_LatLongRect.Size(m) -} -func (m *LatLongRect) XXX_DiscardUnknown() { - xxx_messageInfo_LatLongRect.DiscardUnknown(m) -} - -var xxx_messageInfo_LatLongRect proto.InternalMessageInfo - -func (m *LatLongRect) GetMinLatLng() *latlng.LatLng { - if m != nil { - return m.MinLatLng - } - return nil -} - -func (m *LatLongRect) GetMaxLatLng() *latlng.LatLng { - if m != nil { - return m.MaxLatLng - } - return nil -} - -// Color information consists of RGB channels, score, and the fraction of -// the image that the color occupies in the image. -type ColorInfo struct { - // RGB components of the color. - Color *color.Color `protobuf:"bytes,1,opt,name=color,proto3" json:"color,omitempty"` - // Image-specific score for this color. Value in range [0, 1]. - Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"` - // The fraction of pixels the color occupies in the image. - // Value in range [0, 1]. - PixelFraction float32 `protobuf:"fixed32,3,opt,name=pixel_fraction,json=pixelFraction,proto3" json:"pixel_fraction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2b863578148790db, []int{10} -} - -func (m *ColorInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ColorInfo.Unmarshal(m, b) -} -func (m *ColorInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ColorInfo.Marshal(b, m, deterministic) -} -func (m *ColorInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ColorInfo.Merge(m, src) -} -func (m *ColorInfo) XXX_Size() int { - return xxx_messageInfo_ColorInfo.Size(m) -} -func (m *ColorInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ColorInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_ColorInfo proto.InternalMessageInfo - -func (m *ColorInfo) GetColor() *color.Color { - if m != nil { - return m.Color - } - return nil -} - -func (m *ColorInfo) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -func (m *ColorInfo) GetPixelFraction() float32 { - if m != nil { - return m.PixelFraction - } - return 0 -} - -// Set of dominant colors and their corresponding scores. -type DominantColorsAnnotation struct { - // RGB color values with their score and pixel fraction. - Colors []*ColorInfo `protobuf:"bytes,1,rep,name=colors,proto3" json:"colors,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DominantColorsAnnotation) Reset() { *m = DominantColorsAnnotation{} } -func (m *DominantColorsAnnotation) String() string { return proto.CompactTextString(m) } -func (*DominantColorsAnnotation) ProtoMessage() {} -func (*DominantColorsAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_2b863578148790db, []int{11} -} - -func (m *DominantColorsAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DominantColorsAnnotation.Unmarshal(m, b) -} -func (m *DominantColorsAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DominantColorsAnnotation.Marshal(b, m, deterministic) -} -func (m *DominantColorsAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_DominantColorsAnnotation.Merge(m, src) -} -func (m *DominantColorsAnnotation) XXX_Size() int { - return xxx_messageInfo_DominantColorsAnnotation.Size(m) -} -func (m *DominantColorsAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_DominantColorsAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_DominantColorsAnnotation proto.InternalMessageInfo - -func (m *DominantColorsAnnotation) GetColors() []*ColorInfo { - if m != nil { - return m.Colors - } - return nil -} - -// Stores image properties, such as dominant colors. -type ImageProperties struct { - // If present, dominant colors completed successfully. - DominantColors *DominantColorsAnnotation `protobuf:"bytes,1,opt,name=dominant_colors,json=dominantColors,proto3" json:"dominant_colors,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2b863578148790db, []int{12} -} - -func (m *ImageProperties) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageProperties.Unmarshal(m, b) -} -func (m *ImageProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageProperties.Marshal(b, m, deterministic) -} -func (m *ImageProperties) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageProperties.Merge(m, src) -} -func (m *ImageProperties) XXX_Size() int { - return xxx_messageInfo_ImageProperties.Size(m) -} -func (m *ImageProperties) XXX_DiscardUnknown() { - xxx_messageInfo_ImageProperties.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageProperties proto.InternalMessageInfo - -func (m *ImageProperties) GetDominantColors() *DominantColorsAnnotation { - if m != nil { - return m.DominantColors - } - return nil -} - -// Single crop hint that is used to generate a new crop when serving an image. -type CropHint struct { - // The bounding polygon for the crop region. The coordinates of the bounding - // box are in the original image's scale, as returned in `ImageParams`. - BoundingPoly *BoundingPoly `protobuf:"bytes,1,opt,name=bounding_poly,json=boundingPoly,proto3" json:"bounding_poly,omitempty"` - // Confidence of this being a salient region. Range [0, 1]. - Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"` - // Fraction of importance of this salient region with respect to the original - // image. - ImportanceFraction float32 `protobuf:"fixed32,3,opt,name=importance_fraction,json=importanceFraction,proto3" json:"importance_fraction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2b863578148790db, []int{13} -} - -func (m *CropHint) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CropHint.Unmarshal(m, b) -} -func (m *CropHint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CropHint.Marshal(b, m, deterministic) -} -func (m *CropHint) XXX_Merge(src proto.Message) { - xxx_messageInfo_CropHint.Merge(m, src) -} -func (m *CropHint) XXX_Size() int { - return xxx_messageInfo_CropHint.Size(m) -} -func (m *CropHint) XXX_DiscardUnknown() { - xxx_messageInfo_CropHint.DiscardUnknown(m) -} - -var xxx_messageInfo_CropHint proto.InternalMessageInfo - -func (m *CropHint) GetBoundingPoly() *BoundingPoly { - if m != nil { - return m.BoundingPoly - } - return nil -} - -func (m *CropHint) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -func (m *CropHint) GetImportanceFraction() float32 { - if m != nil { - return m.ImportanceFraction - } - return 0 -} - -// Set of crop hints that are used to generate new crops when serving images. -type CropHintsAnnotation struct { - // Crop hint results. - CropHints []*CropHint `protobuf:"bytes,1,rep,name=crop_hints,json=cropHints,proto3" json:"crop_hints,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2b863578148790db, []int{14} -} - -func (m *CropHintsAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CropHintsAnnotation.Unmarshal(m, b) -} -func (m *CropHintsAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CropHintsAnnotation.Marshal(b, m, deterministic) -} -func (m *CropHintsAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CropHintsAnnotation.Merge(m, src) -} -func (m *CropHintsAnnotation) XXX_Size() int { - return xxx_messageInfo_CropHintsAnnotation.Size(m) -} -func (m *CropHintsAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_CropHintsAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_CropHintsAnnotation proto.InternalMessageInfo - -func (m *CropHintsAnnotation) GetCropHints() []*CropHint { - if m != nil { - return m.CropHints - } - return nil -} - -// Parameters for crop hints annotation request. -type CropHintsParams struct { - // Aspect ratios in floats, representing the ratio of the width to the height - // of the image. For example, if the desired aspect ratio is 4/3, the - // corresponding float value should be 1.33333. If not specified, the - // best possible crop is returned. The number of provided aspect ratios is - // limited to a maximum of 16; any aspect ratios provided after the 16th are - // ignored. - AspectRatios []float32 `protobuf:"fixed32,1,rep,packed,name=aspect_ratios,json=aspectRatios,proto3" json:"aspect_ratios,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2b863578148790db, []int{15} -} - -func (m *CropHintsParams) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CropHintsParams.Unmarshal(m, b) -} -func (m *CropHintsParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CropHintsParams.Marshal(b, m, deterministic) -} -func (m *CropHintsParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_CropHintsParams.Merge(m, src) -} -func (m *CropHintsParams) XXX_Size() int { - return xxx_messageInfo_CropHintsParams.Size(m) -} -func (m *CropHintsParams) XXX_DiscardUnknown() { - xxx_messageInfo_CropHintsParams.DiscardUnknown(m) -} - -var xxx_messageInfo_CropHintsParams proto.InternalMessageInfo - -func (m *CropHintsParams) GetAspectRatios() []float32 { - if m != nil { - return m.AspectRatios - } - return nil -} - -// Parameters for web detection request. -type WebDetectionParams struct { - // Whether to include results derived from the geo information in the image. - IncludeGeoResults bool `protobuf:"varint,2,opt,name=include_geo_results,json=includeGeoResults,proto3" json:"include_geo_results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2b863578148790db, []int{16} -} - -func (m *WebDetectionParams) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebDetectionParams.Unmarshal(m, b) -} -func (m *WebDetectionParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebDetectionParams.Marshal(b, m, deterministic) -} -func (m *WebDetectionParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebDetectionParams.Merge(m, src) -} -func (m *WebDetectionParams) XXX_Size() int { - return xxx_messageInfo_WebDetectionParams.Size(m) -} -func (m *WebDetectionParams) XXX_DiscardUnknown() { - xxx_messageInfo_WebDetectionParams.DiscardUnknown(m) -} - -var xxx_messageInfo_WebDetectionParams proto.InternalMessageInfo - -func (m *WebDetectionParams) GetIncludeGeoResults() bool { - if m != nil { - return m.IncludeGeoResults - } - return false -} - -// Image context and/or feature-specific parameters. -type ImageContext struct { - // Not used. - LatLongRect *LatLongRect `protobuf:"bytes,1,opt,name=lat_long_rect,json=latLongRect,proto3" json:"lat_long_rect,omitempty"` - // List of languages to use for TEXT_DETECTION. In most cases, an empty value - // yields the best results since it enables automatic language detection. For - // languages based on the Latin alphabet, setting `language_hints` is not - // needed. In rare cases, when the language of the text in the image is known, - // setting a hint will help get better results (although it will be a - // significant hindrance if the hint is wrong). Text detection returns an - // error if one or more of the specified languages is not one of the - // [supported languages](/vision/docs/languages). - 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:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2b863578148790db, []int{17} -} - -func (m *ImageContext) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageContext.Unmarshal(m, b) -} -func (m *ImageContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageContext.Marshal(b, m, deterministic) -} -func (m *ImageContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageContext.Merge(m, src) -} -func (m *ImageContext) XXX_Size() int { - return xxx_messageInfo_ImageContext.Size(m) -} -func (m *ImageContext) XXX_DiscardUnknown() { - xxx_messageInfo_ImageContext.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageContext proto.InternalMessageInfo - -func (m *ImageContext) GetLatLongRect() *LatLongRect { - if m != nil { - return m.LatLongRect - } - return nil -} - -func (m *ImageContext) GetLanguageHints() []string { - if m != nil { - return m.LanguageHints - } - return nil -} - -func (m *ImageContext) GetCropHintsParams() *CropHintsParams { - if m != nil { - return m.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 - } - return nil -} - -// Request for performing Google Cloud Vision API tasks over a user-provided -// image, with user-requested features. -type AnnotateImageRequest struct { - // The image to be processed. - Image *Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` - // Requested features. - Features []*Feature `protobuf:"bytes,2,rep,name=features,proto3" json:"features,omitempty"` - // Additional context that may accompany the image. - ImageContext *ImageContext `protobuf:"bytes,3,opt,name=image_context,json=imageContext,proto3" json:"image_context,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2b863578148790db, []int{18} -} - -func (m *AnnotateImageRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotateImageRequest.Unmarshal(m, b) -} -func (m *AnnotateImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotateImageRequest.Marshal(b, m, deterministic) -} -func (m *AnnotateImageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateImageRequest.Merge(m, src) -} -func (m *AnnotateImageRequest) XXX_Size() int { - return xxx_messageInfo_AnnotateImageRequest.Size(m) -} -func (m *AnnotateImageRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotateImageRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotateImageRequest proto.InternalMessageInfo - -func (m *AnnotateImageRequest) GetImage() *Image { - if m != nil { - return m.Image - } - return nil -} - -func (m *AnnotateImageRequest) GetFeatures() []*Feature { - if m != nil { - return m.Features - } - return nil -} - -func (m *AnnotateImageRequest) GetImageContext() *ImageContext { - if m != nil { - return m.ImageContext - } - return nil -} - -// If an image was produced from a file (e.g. a PDF), this message gives -// information about the source of that image. -type ImageAnnotationContext struct { - // The URI of the file used to produce the image. - Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` - // If the file was a PDF or TIFF, this field gives the page number within - // the file used to produce the image. - PageNumber int32 `protobuf:"varint,2,opt,name=page_number,json=pageNumber,proto3" json:"page_number,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2b863578148790db, []int{19} -} - -func (m *ImageAnnotationContext) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageAnnotationContext.Unmarshal(m, b) -} -func (m *ImageAnnotationContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageAnnotationContext.Marshal(b, m, deterministic) -} -func (m *ImageAnnotationContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageAnnotationContext.Merge(m, src) -} -func (m *ImageAnnotationContext) XXX_Size() int { - return xxx_messageInfo_ImageAnnotationContext.Size(m) -} -func (m *ImageAnnotationContext) XXX_DiscardUnknown() { - xxx_messageInfo_ImageAnnotationContext.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageAnnotationContext proto.InternalMessageInfo - -func (m *ImageAnnotationContext) GetUri() string { - if m != nil { - return m.Uri - } - return "" -} - -func (m *ImageAnnotationContext) GetPageNumber() int32 { - if m != nil { - return m.PageNumber - } - return 0 -} - -// Response to an image annotation request. -type AnnotateImageResponse struct { - // If present, face detection has completed successfully. - FaceAnnotations []*FaceAnnotation `protobuf:"bytes,1,rep,name=face_annotations,json=faceAnnotations,proto3" json:"face_annotations,omitempty"` - // If present, landmark detection has completed successfully. - LandmarkAnnotations []*EntityAnnotation `protobuf:"bytes,2,rep,name=landmark_annotations,json=landmarkAnnotations,proto3" json:"landmark_annotations,omitempty"` - // If present, logo detection has completed successfully. - 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 - // completed successfully. - // This annotation provides the structural hierarchy for the OCR detected - // text. - FullTextAnnotation *TextAnnotation `protobuf:"bytes,12,opt,name=full_text_annotation,json=fullTextAnnotation,proto3" json:"full_text_annotation,omitempty"` - // If present, safe-search annotation has completed successfully. - SafeSearchAnnotation *SafeSearchAnnotation `protobuf:"bytes,6,opt,name=safe_search_annotation,json=safeSearchAnnotation,proto3" json:"safe_search_annotation,omitempty"` - // If present, image properties were extracted successfully. - ImagePropertiesAnnotation *ImageProperties `protobuf:"bytes,8,opt,name=image_properties_annotation,json=imagePropertiesAnnotation,proto3" json:"image_properties_annotation,omitempty"` - // If present, crop hints have completed successfully. - 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. - Error *status.Status `protobuf:"bytes,9,opt,name=error,proto3" json:"error,omitempty"` - // If present, contextual information is needed to understand where this image - // comes from. - Context *ImageAnnotationContext `protobuf:"bytes,21,opt,name=context,proto3" json:"context,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2b863578148790db, []int{20} -} - -func (m *AnnotateImageResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotateImageResponse.Unmarshal(m, b) -} -func (m *AnnotateImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotateImageResponse.Marshal(b, m, deterministic) -} -func (m *AnnotateImageResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateImageResponse.Merge(m, src) -} -func (m *AnnotateImageResponse) XXX_Size() int { - return xxx_messageInfo_AnnotateImageResponse.Size(m) -} -func (m *AnnotateImageResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotateImageResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotateImageResponse proto.InternalMessageInfo - -func (m *AnnotateImageResponse) GetFaceAnnotations() []*FaceAnnotation { - if m != nil { - return m.FaceAnnotations - } - return nil -} - -func (m *AnnotateImageResponse) GetLandmarkAnnotations() []*EntityAnnotation { - if m != nil { - return m.LandmarkAnnotations - } - return nil -} - -func (m *AnnotateImageResponse) GetLogoAnnotations() []*EntityAnnotation { - if m != nil { - return m.LogoAnnotations - } - return nil -} - -func (m *AnnotateImageResponse) GetLabelAnnotations() []*EntityAnnotation { - if m != nil { - return m.LabelAnnotations - } - 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 - } - return nil -} - -func (m *AnnotateImageResponse) GetFullTextAnnotation() *TextAnnotation { - if m != nil { - return m.FullTextAnnotation - } - return nil -} - -func (m *AnnotateImageResponse) GetSafeSearchAnnotation() *SafeSearchAnnotation { - if m != nil { - return m.SafeSearchAnnotation - } - return nil -} - -func (m *AnnotateImageResponse) GetImagePropertiesAnnotation() *ImageProperties { - if m != nil { - return m.ImagePropertiesAnnotation - } - return nil -} - -func (m *AnnotateImageResponse) GetCropHintsAnnotation() *CropHintsAnnotation { - if m != nil { - return m.CropHintsAnnotation - } - return nil -} - -func (m *AnnotateImageResponse) GetWebDetection() *WebDetection { - if m != nil { - return m.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 - } - return nil -} - -func (m *AnnotateImageResponse) GetContext() *ImageAnnotationContext { - if m != nil { - return m.Context - } - return nil -} - -// Response to a single file annotation request. A file may contain one or more -// images, which individually have their own responses. -type AnnotateFileResponse struct { - // Information about the file for which this response is generated. - InputConfig *InputConfig `protobuf:"bytes,1,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"` - // Individual responses to images found within the file. - Responses []*AnnotateImageResponse `protobuf:"bytes,2,rep,name=responses,proto3" json:"responses,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2b863578148790db, []int{21} -} - -func (m *AnnotateFileResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotateFileResponse.Unmarshal(m, b) -} -func (m *AnnotateFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotateFileResponse.Marshal(b, m, deterministic) -} -func (m *AnnotateFileResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateFileResponse.Merge(m, src) -} -func (m *AnnotateFileResponse) XXX_Size() int { - return xxx_messageInfo_AnnotateFileResponse.Size(m) -} -func (m *AnnotateFileResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotateFileResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotateFileResponse proto.InternalMessageInfo - -func (m *AnnotateFileResponse) GetInputConfig() *InputConfig { - if m != nil { - return m.InputConfig - } - return nil -} - -func (m *AnnotateFileResponse) GetResponses() []*AnnotateImageResponse { - if m != nil { - return m.Responses - } - return nil -} - -// Multiple image annotation requests are batched into a single service call. -type BatchAnnotateImagesRequest struct { - // Individual image annotation requests for this batch. - Requests []*AnnotateImageRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchAnnotateImagesRequest) Reset() { *m = BatchAnnotateImagesRequest{} } -func (m *BatchAnnotateImagesRequest) String() string { return proto.CompactTextString(m) } -func (*BatchAnnotateImagesRequest) ProtoMessage() {} -func (*BatchAnnotateImagesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2b863578148790db, []int{22} -} - -func (m *BatchAnnotateImagesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchAnnotateImagesRequest.Unmarshal(m, b) -} -func (m *BatchAnnotateImagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchAnnotateImagesRequest.Marshal(b, m, deterministic) -} -func (m *BatchAnnotateImagesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchAnnotateImagesRequest.Merge(m, src) -} -func (m *BatchAnnotateImagesRequest) XXX_Size() int { - return xxx_messageInfo_BatchAnnotateImagesRequest.Size(m) -} -func (m *BatchAnnotateImagesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchAnnotateImagesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchAnnotateImagesRequest proto.InternalMessageInfo - -func (m *BatchAnnotateImagesRequest) GetRequests() []*AnnotateImageRequest { - if m != nil { - return m.Requests - } - return nil -} - -// Response to a batch image annotation request. -type BatchAnnotateImagesResponse struct { - // Individual responses to image annotation requests within the batch. - Responses []*AnnotateImageResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchAnnotateImagesResponse) Reset() { *m = BatchAnnotateImagesResponse{} } -func (m *BatchAnnotateImagesResponse) String() string { return proto.CompactTextString(m) } -func (*BatchAnnotateImagesResponse) ProtoMessage() {} -func (*BatchAnnotateImagesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2b863578148790db, []int{23} -} - -func (m *BatchAnnotateImagesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchAnnotateImagesResponse.Unmarshal(m, b) -} -func (m *BatchAnnotateImagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchAnnotateImagesResponse.Marshal(b, m, deterministic) -} -func (m *BatchAnnotateImagesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchAnnotateImagesResponse.Merge(m, src) -} -func (m *BatchAnnotateImagesResponse) XXX_Size() int { - return xxx_messageInfo_BatchAnnotateImagesResponse.Size(m) -} -func (m *BatchAnnotateImagesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BatchAnnotateImagesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchAnnotateImagesResponse proto.InternalMessageInfo - -func (m *BatchAnnotateImagesResponse) GetResponses() []*AnnotateImageResponse { - if m != nil { - return m.Responses - } - return nil -} - -// An offline file annotation request. -type AsyncAnnotateFileRequest struct { - // Required. Information about the input file. - InputConfig *InputConfig `protobuf:"bytes,1,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"` - // Required. Requested features. - Features []*Feature `protobuf:"bytes,2,rep,name=features,proto3" json:"features,omitempty"` - // Additional context that may accompany the image(s) in the file. - ImageContext *ImageContext `protobuf:"bytes,3,opt,name=image_context,json=imageContext,proto3" json:"image_context,omitempty"` - // Required. The desired output location and metadata (e.g. format). - OutputConfig *OutputConfig `protobuf:"bytes,4,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 *AsyncAnnotateFileRequest) Reset() { *m = AsyncAnnotateFileRequest{} } -func (m *AsyncAnnotateFileRequest) String() string { return proto.CompactTextString(m) } -func (*AsyncAnnotateFileRequest) ProtoMessage() {} -func (*AsyncAnnotateFileRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2b863578148790db, []int{24} -} - -func (m *AsyncAnnotateFileRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AsyncAnnotateFileRequest.Unmarshal(m, b) -} -func (m *AsyncAnnotateFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AsyncAnnotateFileRequest.Marshal(b, m, deterministic) -} -func (m *AsyncAnnotateFileRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AsyncAnnotateFileRequest.Merge(m, src) -} -func (m *AsyncAnnotateFileRequest) XXX_Size() int { - return xxx_messageInfo_AsyncAnnotateFileRequest.Size(m) -} -func (m *AsyncAnnotateFileRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AsyncAnnotateFileRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AsyncAnnotateFileRequest proto.InternalMessageInfo - -func (m *AsyncAnnotateFileRequest) GetInputConfig() *InputConfig { - if m != nil { - return m.InputConfig - } - return nil -} - -func (m *AsyncAnnotateFileRequest) GetFeatures() []*Feature { - if m != nil { - return m.Features - } - return nil -} - -func (m *AsyncAnnotateFileRequest) GetImageContext() *ImageContext { - if m != nil { - return m.ImageContext - } - return nil -} - -func (m *AsyncAnnotateFileRequest) GetOutputConfig() *OutputConfig { - if m != nil { - return m.OutputConfig - } - return nil -} - -// The response for a single offline file annotation request. -type AsyncAnnotateFileResponse struct { - // The output location and metadata from AsyncAnnotateFileRequest. - OutputConfig *OutputConfig `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 *AsyncAnnotateFileResponse) Reset() { *m = AsyncAnnotateFileResponse{} } -func (m *AsyncAnnotateFileResponse) String() string { return proto.CompactTextString(m) } -func (*AsyncAnnotateFileResponse) ProtoMessage() {} -func (*AsyncAnnotateFileResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2b863578148790db, []int{25} -} - -func (m *AsyncAnnotateFileResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AsyncAnnotateFileResponse.Unmarshal(m, b) -} -func (m *AsyncAnnotateFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AsyncAnnotateFileResponse.Marshal(b, m, deterministic) -} -func (m *AsyncAnnotateFileResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AsyncAnnotateFileResponse.Merge(m, src) -} -func (m *AsyncAnnotateFileResponse) XXX_Size() int { - return xxx_messageInfo_AsyncAnnotateFileResponse.Size(m) -} -func (m *AsyncAnnotateFileResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AsyncAnnotateFileResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AsyncAnnotateFileResponse proto.InternalMessageInfo - -func (m *AsyncAnnotateFileResponse) GetOutputConfig() *OutputConfig { - if m != nil { - return m.OutputConfig - } - return nil -} - -// Multiple async file annotation requests are batched into a single service -// call. -type AsyncBatchAnnotateFilesRequest struct { - // Individual async file annotation requests for this batch. - Requests []*AsyncAnnotateFileRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AsyncBatchAnnotateFilesRequest) Reset() { *m = AsyncBatchAnnotateFilesRequest{} } -func (m *AsyncBatchAnnotateFilesRequest) String() string { return proto.CompactTextString(m) } -func (*AsyncBatchAnnotateFilesRequest) ProtoMessage() {} -func (*AsyncBatchAnnotateFilesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2b863578148790db, []int{26} -} - -func (m *AsyncBatchAnnotateFilesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AsyncBatchAnnotateFilesRequest.Unmarshal(m, b) -} -func (m *AsyncBatchAnnotateFilesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AsyncBatchAnnotateFilesRequest.Marshal(b, m, deterministic) -} -func (m *AsyncBatchAnnotateFilesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AsyncBatchAnnotateFilesRequest.Merge(m, src) -} -func (m *AsyncBatchAnnotateFilesRequest) XXX_Size() int { - return xxx_messageInfo_AsyncBatchAnnotateFilesRequest.Size(m) -} -func (m *AsyncBatchAnnotateFilesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AsyncBatchAnnotateFilesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AsyncBatchAnnotateFilesRequest proto.InternalMessageInfo - -func (m *AsyncBatchAnnotateFilesRequest) GetRequests() []*AsyncAnnotateFileRequest { - if m != nil { - return m.Requests - } - return nil -} - -// Response to an async batch file annotation request. -type AsyncBatchAnnotateFilesResponse struct { - // The list of file annotation responses, one for each request in - // AsyncBatchAnnotateFilesRequest. - Responses []*AsyncAnnotateFileResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AsyncBatchAnnotateFilesResponse) Reset() { *m = AsyncBatchAnnotateFilesResponse{} } -func (m *AsyncBatchAnnotateFilesResponse) String() string { return proto.CompactTextString(m) } -func (*AsyncBatchAnnotateFilesResponse) ProtoMessage() {} -func (*AsyncBatchAnnotateFilesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2b863578148790db, []int{27} -} - -func (m *AsyncBatchAnnotateFilesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AsyncBatchAnnotateFilesResponse.Unmarshal(m, b) -} -func (m *AsyncBatchAnnotateFilesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AsyncBatchAnnotateFilesResponse.Marshal(b, m, deterministic) -} -func (m *AsyncBatchAnnotateFilesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AsyncBatchAnnotateFilesResponse.Merge(m, src) -} -func (m *AsyncBatchAnnotateFilesResponse) XXX_Size() int { - return xxx_messageInfo_AsyncBatchAnnotateFilesResponse.Size(m) -} -func (m *AsyncBatchAnnotateFilesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AsyncBatchAnnotateFilesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AsyncBatchAnnotateFilesResponse proto.InternalMessageInfo - -func (m *AsyncBatchAnnotateFilesResponse) GetResponses() []*AsyncAnnotateFileResponse { - if m != nil { - return m.Responses - } - return nil -} - -// The desired input location and metadata. -type InputConfig struct { - // The Google Cloud Storage location to read the input from. - GcsSource *GcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3" json:"gcs_source,omitempty"` - // The type of the file. Currently only "application/pdf" and "image/tiff" - // are supported. Wildcards are not supported. - MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2b863578148790db, []int{28} -} - -func (m *InputConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InputConfig.Unmarshal(m, b) -} -func (m *InputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InputConfig.Marshal(b, m, deterministic) -} -func (m *InputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_InputConfig.Merge(m, src) -} -func (m *InputConfig) XXX_Size() int { - return xxx_messageInfo_InputConfig.Size(m) -} -func (m *InputConfig) XXX_DiscardUnknown() { - xxx_messageInfo_InputConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_InputConfig proto.InternalMessageInfo - -func (m *InputConfig) GetGcsSource() *GcsSource { - if m != nil { - return m.GcsSource - } - return nil -} - -func (m *InputConfig) GetMimeType() string { - if m != nil { - return m.MimeType - } - return "" -} - -// The desired output location and metadata. -type OutputConfig struct { - // The Google Cloud Storage location to write the output(s) to. - GcsDestination *GcsDestination `protobuf:"bytes,1,opt,name=gcs_destination,json=gcsDestination,proto3" json:"gcs_destination,omitempty"` - // The max number of response protos to put into each output JSON file on - // Google Cloud Storage. - // The valid range is [1, 100]. If not specified, the default value is 20. - // - // For example, for one pdf file with 100 pages, 100 response protos will - // be generated. If `batch_size` = 20, then 5 json files each - // containing 20 response protos will be written under the prefix - // `gcs_destination`.`uri`. - // - // Currently, batch_size only applies to GcsDestination, with potential future - // support for other output configurations. - BatchSize int32 `protobuf:"varint,2,opt,name=batch_size,json=batchSize,proto3" json:"batch_size,omitempty"` - 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_2b863578148790db, []int{29} -} - -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 (m *OutputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_OutputConfig.Merge(m, 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 - -func (m *OutputConfig) GetGcsDestination() *GcsDestination { - if m != nil { - return m.GcsDestination - } - return nil -} - -func (m *OutputConfig) GetBatchSize() int32 { - if m != nil { - return m.BatchSize - } - return 0 -} - -// The Google Cloud Storage location where the input will be read from. -type GcsSource struct { - // Google Cloud Storage URI for the input file. This must only be a - // Google Cloud Storage object. Wildcards are not currently supported. - 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 *GcsSource) Reset() { *m = GcsSource{} } -func (m *GcsSource) String() string { return proto.CompactTextString(m) } -func (*GcsSource) ProtoMessage() {} -func (*GcsSource) Descriptor() ([]byte, []int) { - return fileDescriptor_2b863578148790db, []int{30} -} - -func (m *GcsSource) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GcsSource.Unmarshal(m, b) -} -func (m *GcsSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GcsSource.Marshal(b, m, deterministic) -} -func (m *GcsSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcsSource.Merge(m, src) -} -func (m *GcsSource) XXX_Size() int { - return xxx_messageInfo_GcsSource.Size(m) -} -func (m *GcsSource) XXX_DiscardUnknown() { - xxx_messageInfo_GcsSource.DiscardUnknown(m) -} - -var xxx_messageInfo_GcsSource proto.InternalMessageInfo - -func (m *GcsSource) GetUri() string { - if m != nil { - return m.Uri - } - return "" -} - -// The Google Cloud Storage location where the output will be written to. -type GcsDestination struct { - // Google Cloud Storage URI where the results will be stored. Results will - // be in JSON format and preceded by its corresponding input URI. This field - // can either represent a single file, or a prefix for multiple outputs. - // Prefixes must end in a `/`. - // - // Examples: - // - // * File: gs://bucket-name/filename.json - // * Prefix: gs://bucket-name/prefix/here/ - // * File: gs://bucket-name/prefix/here - // - // If multiple outputs, each response is still AnnotateFileResponse, each of - // which contains some subset of the full list of AnnotateImageResponse. - // Multiple outputs can happen if, for example, the output JSON is too large - // and overflows into multiple sharded files. - 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_2b863578148790db, []int{31} -} - -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 (m *GcsDestination) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcsDestination.Merge(m, 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 "" -} - -// Contains metadata for the BatchAnnotateImages operation. -type OperationMetadata struct { - // Current state of the batch operation. - State OperationMetadata_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.vision.v1p3beta1.OperationMetadata_State" json:"state,omitempty"` - // The time when the batch request was received. - CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // The time when the operation result was last updated. - UpdateTime *timestamp.Timestamp `protobuf:"bytes,6,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 *OperationMetadata) Reset() { *m = OperationMetadata{} } -func (m *OperationMetadata) String() string { return proto.CompactTextString(m) } -func (*OperationMetadata) ProtoMessage() {} -func (*OperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_2b863578148790db, []int{32} -} - -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 (m *OperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperationMetadata.Merge(m, 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) GetState() OperationMetadata_State { - if m != nil { - return m.State - } - return OperationMetadata_STATE_UNSPECIFIED -} - -func (m *OperationMetadata) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *OperationMetadata) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.vision.v1p3beta1.Likelihood", Likelihood_name, Likelihood_value) - proto.RegisterEnum("google.cloud.vision.v1p3beta1.Feature_Type", Feature_Type_name, Feature_Type_value) - proto.RegisterEnum("google.cloud.vision.v1p3beta1.FaceAnnotation_Landmark_Type", FaceAnnotation_Landmark_Type_name, FaceAnnotation_Landmark_Type_value) - proto.RegisterEnum("google.cloud.vision.v1p3beta1.OperationMetadata_State", OperationMetadata_State_name, OperationMetadata_State_value) - proto.RegisterType((*Feature)(nil), "google.cloud.vision.v1p3beta1.Feature") - proto.RegisterType((*ImageSource)(nil), "google.cloud.vision.v1p3beta1.ImageSource") - proto.RegisterType((*Image)(nil), "google.cloud.vision.v1p3beta1.Image") - proto.RegisterType((*FaceAnnotation)(nil), "google.cloud.vision.v1p3beta1.FaceAnnotation") - proto.RegisterType((*FaceAnnotation_Landmark)(nil), "google.cloud.vision.v1p3beta1.FaceAnnotation.Landmark") - proto.RegisterType((*LocationInfo)(nil), "google.cloud.vision.v1p3beta1.LocationInfo") - proto.RegisterType((*Property)(nil), "google.cloud.vision.v1p3beta1.Property") - proto.RegisterType((*EntityAnnotation)(nil), "google.cloud.vision.v1p3beta1.EntityAnnotation") - proto.RegisterType((*LocalizedObjectAnnotation)(nil), "google.cloud.vision.v1p3beta1.LocalizedObjectAnnotation") - proto.RegisterType((*SafeSearchAnnotation)(nil), "google.cloud.vision.v1p3beta1.SafeSearchAnnotation") - proto.RegisterType((*LatLongRect)(nil), "google.cloud.vision.v1p3beta1.LatLongRect") - proto.RegisterType((*ColorInfo)(nil), "google.cloud.vision.v1p3beta1.ColorInfo") - proto.RegisterType((*DominantColorsAnnotation)(nil), "google.cloud.vision.v1p3beta1.DominantColorsAnnotation") - proto.RegisterType((*ImageProperties)(nil), "google.cloud.vision.v1p3beta1.ImageProperties") - proto.RegisterType((*CropHint)(nil), "google.cloud.vision.v1p3beta1.CropHint") - proto.RegisterType((*CropHintsAnnotation)(nil), "google.cloud.vision.v1p3beta1.CropHintsAnnotation") - proto.RegisterType((*CropHintsParams)(nil), "google.cloud.vision.v1p3beta1.CropHintsParams") - proto.RegisterType((*WebDetectionParams)(nil), "google.cloud.vision.v1p3beta1.WebDetectionParams") - proto.RegisterType((*ImageContext)(nil), "google.cloud.vision.v1p3beta1.ImageContext") - proto.RegisterType((*AnnotateImageRequest)(nil), "google.cloud.vision.v1p3beta1.AnnotateImageRequest") - proto.RegisterType((*ImageAnnotationContext)(nil), "google.cloud.vision.v1p3beta1.ImageAnnotationContext") - proto.RegisterType((*AnnotateImageResponse)(nil), "google.cloud.vision.v1p3beta1.AnnotateImageResponse") - proto.RegisterType((*AnnotateFileResponse)(nil), "google.cloud.vision.v1p3beta1.AnnotateFileResponse") - proto.RegisterType((*BatchAnnotateImagesRequest)(nil), "google.cloud.vision.v1p3beta1.BatchAnnotateImagesRequest") - proto.RegisterType((*BatchAnnotateImagesResponse)(nil), "google.cloud.vision.v1p3beta1.BatchAnnotateImagesResponse") - proto.RegisterType((*AsyncAnnotateFileRequest)(nil), "google.cloud.vision.v1p3beta1.AsyncAnnotateFileRequest") - proto.RegisterType((*AsyncAnnotateFileResponse)(nil), "google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse") - proto.RegisterType((*AsyncBatchAnnotateFilesRequest)(nil), "google.cloud.vision.v1p3beta1.AsyncBatchAnnotateFilesRequest") - proto.RegisterType((*AsyncBatchAnnotateFilesResponse)(nil), "google.cloud.vision.v1p3beta1.AsyncBatchAnnotateFilesResponse") - proto.RegisterType((*InputConfig)(nil), "google.cloud.vision.v1p3beta1.InputConfig") - proto.RegisterType((*OutputConfig)(nil), "google.cloud.vision.v1p3beta1.OutputConfig") - proto.RegisterType((*GcsSource)(nil), "google.cloud.vision.v1p3beta1.GcsSource") - proto.RegisterType((*GcsDestination)(nil), "google.cloud.vision.v1p3beta1.GcsDestination") - proto.RegisterType((*OperationMetadata)(nil), "google.cloud.vision.v1p3beta1.OperationMetadata") -} - -func init() { - proto.RegisterFile("google/cloud/vision/v1p3beta1/image_annotator.proto", fileDescriptor_2b863578148790db) -} - -var fileDescriptor_2b863578148790db = []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, - 0xbe, 0x5f, 0x7d, 0xdd, 0x54, 0x1a, 0xcb, 0x49, 0x9a, 0x3a, 0xcd, 0xa4, 0x14, 0x05, 0x49, 0xac, - 0x29, 0x82, 0x5d, 0x41, 0x76, 0xec, 0x49, 0x07, 0x85, 0xc0, 0x25, 0x8d, 0x04, 0xc4, 0x22, 0x00, - 0x68, 0x4b, 0x3e, 0x66, 0xa6, 0x7f, 0x41, 0x6f, 0xbd, 0x76, 0x3a, 0x39, 0x35, 0x97, 0xf6, 0xd2, - 0x73, 0xef, 0x9d, 0xe9, 0xf4, 0xd0, 0x3f, 0xa0, 0x3d, 0xf4, 0xd8, 0x63, 0x8f, 0x9d, 0x5d, 0x2c, - 0xc0, 0x05, 0x29, 0x99, 0xa2, 0x93, 0xce, 0xf4,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, 0x30, 0x29, 0xa9, 0x12, 0x73, 0x48, 0xbc, 0x06, 0x28, 0x96, 0xd7, 0x25, 0x81, 0x4c, - 0x5b, 0x9a, 0x94, 0x76, 0x91, 0x53, 0x48, 0xac, 0x4f, 0x61, 0x39, 0xec, 0x07, 0x7e, 0xe0, 0x84, - 0x44, 0x26, 0x2e, 0x4f, 0x4a, 0x8c, 0x12, 0x16, 0x89, 0xdb, 0x86, 0x4a, 0xdf, 0x6b, 0x93, 0xc0, - 0x24, 0xe7, 0x3e, 0x0d, 0x49, 0x5b, 0x36, 0x30, 0x3f, 0xa9, 0x81, 0x35, 0x4e, 0xa5, 0xc5, 0x4c, - 0x92, 0x91, 0x4f, 0x01, 0x9d, 0xb9, 0xfd, 0x20, 0xc8, 0xd2, 0x2f, 0x4c, 0x4a, 0xbf, 0x24, 0x48, - 0xb2, 0xae, 0x79, 0x46, 0xac, 0xf6, 0x0b, 0x62, 0x65, 0x7c, 0xbe, 0x38, 0xb1, 0x6b, 0x12, 0x96, - 0x81, 0x6c, 0xfd, 0xaf, 0x73, 0x50, 0x48, 0xf6, 0x14, 0xd2, 0xc5, 0x79, 0x35, 0xc5, 0x99, 0x3f, - 0x7a, 0xbd, 0x9d, 0x29, 0x9f, 0x5f, 0x35, 0x28, 0xf8, 0x34, 0x74, 0x98, 0x9e, 0xef, 0xcb, 0xd2, - 0xee, 0xff, 0x8d, 0x21, 0x6d, 0x89, 0xee, 0x38, 0x05, 0xaa, 0xbf, 0x9f, 0x1d, 0x9c, 0x66, 0xa7, - 0xcd, 0x87, 0x4d, 0xfd, 0x71, 0xd3, 0x4c, 0xce, 0x2a, 0xe5, 0x0d, 0x54, 0x86, 0x42, 0x43, 0x3b, - 0x30, 0x4c, 0xed, 0x89, 0xa6, 0xe4, 0xd0, 0x3c, 0x14, 0x71, 0xfd, 0xf0, 0x28, 0x6e, 0xe6, 0x51, - 0x05, 0x56, 0xb8, 0x52, 0x3f, 0x30, 0x93, 0x4e, 0x7b, 0x58,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, - 0x01, 0x37, 0x07, 0xba, 0x61, 0x83, 0x37, 0x06, 0x51, 0x1d, 0xb6, 0x58, 0x41, 0x77, 0xe0, 0x96, - 0x1c, 0x67, 0x33, 0x0e, 0x41, 0x12, 0x31, 0xe5, 0x26, 0xda, 0x84, 0xdb, 0x99, 0x90, 0x0e, 0xf7, - 0x58, 0x67, 0x0e, 0x8d, 0x29, 0xaa, 0xd8, 0x34, 0x70, 0xf5, 0x90, 0xd5, 0x11, 0xb7, 0x98, 0xf7, - 0x05, 0x4e, 0x12, 0xdf, 0xe6, 0x95, 0x53, 0x32, 0xf7, 0xd6, 0x69, 0xab, 0xde, 0x50, 0x36, 0x58, - 0xe5, 0x34, 0x18, 0x5e, 0x2c, 0x7c, 0x93, 0xe1, 0x0f, 0x74, 0xac, 0x1d, 0x69, 0xd5, 0x7d, 0xf3, - 0x90, 0x17, 0x56, 0x8d, 0xaa, 0x72, 0x87, 0x95, 0x37, 0xb5, 0xa3, 0x7a, 0xd3, 0x3c, 0x6c, 0x56, - 0x8d, 0x23, 0x46, 0xb9, 0xc9, 0xec, 0x73, 0x11, 0xe7, 0x3d, 0xd4, 0x9b, 0x4c, 0xfa, 0x16, 0xc3, - 0x73, 0x69, 0xcc, 0x2c, 0xc4, 0xaa, 0xfa, 0x23, 0x28, 0x37, 0xa8, 0xcd, 0xf7, 0x66, 0xdd, 0xeb, - 0x50, 0xf4, 0x2e, 0xcc, 0xb9, 0x56, 0x64, 0xba, 0x5e, 0x57, 0x94, 0x07, 0xcb, 0xc9, 0x56, 0x64, - 0x5b, 0x75, 0xbb, 0x61, 0x45, 0x0d, 0xaf, 0x8b, 0x67, 0x5d, 0xfe, 0xab, 0x3e, 0x86, 0x42, 0x2b, - 0x60, 0x95, 0x74, 0x74, 0x81, 0x10, 0x4c, 0x7b, 0x56, 0x8f, 0x88, 0x82, 0x88, 0x3f, 0xb3, 0xc2, - 0xf3, 0xb9, 0xe5, 0xf6, 0x89, 0xa8, 0x82, 0xe2, 0x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xba, 0x3b, 0x5d, 0xe2, 0xf1, 0xe5, 0xb9, 0x13, 0xab, 0x2c, 0xdf, 0x09, 0xaf, 0xf8, 0xbb, 0xd0, - 0x47, 0xb1, 0xe0, 0x5f, 0xb9, 0xdc, 0xd9, 0x2c, 0x87, 0xdc, 0xff, 0x77, 0x00, 0x00, 0x00, 0xff, - 0xff, 0xeb, 0x48, 0xba, 0xeb, 0x69, 0x25, 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 - -// ImageAnnotatorClient is the client API for ImageAnnotator service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ImageAnnotatorClient interface { - // Run image detection and annotation for a batch of images. - BatchAnnotateImages(ctx context.Context, in *BatchAnnotateImagesRequest, opts ...grpc.CallOption) (*BatchAnnotateImagesResponse, error) - // Run asynchronous image detection and annotation for a list of generic - // files, such as PDF files, which may contain multiple pages and multiple - // images per page. Progress and results can be retrieved through the - // `google.longrunning.Operations` interface. - // `Operation.metadata` contains `OperationMetadata` (metadata). - // `Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results). - AsyncBatchAnnotateFiles(ctx context.Context, in *AsyncBatchAnnotateFilesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) -} - -type imageAnnotatorClient struct { - cc *grpc.ClientConn -} - -func NewImageAnnotatorClient(cc *grpc.ClientConn) ImageAnnotatorClient { - return &imageAnnotatorClient{cc} -} - -func (c *imageAnnotatorClient) BatchAnnotateImages(ctx context.Context, in *BatchAnnotateImagesRequest, opts ...grpc.CallOption) (*BatchAnnotateImagesResponse, error) { - out := new(BatchAnnotateImagesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.vision.v1p3beta1.ImageAnnotator/BatchAnnotateImages", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *imageAnnotatorClient) AsyncBatchAnnotateFiles(ctx context.Context, in *AsyncBatchAnnotateFilesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.vision.v1p3beta1.ImageAnnotator/AsyncBatchAnnotateFiles", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ImageAnnotatorServer is the server API for ImageAnnotator service. -type ImageAnnotatorServer interface { - // Run image detection and annotation for a batch of images. - BatchAnnotateImages(context.Context, *BatchAnnotateImagesRequest) (*BatchAnnotateImagesResponse, error) - // Run asynchronous image detection and annotation for a list of generic - // files, such as PDF files, which may contain multiple pages and multiple - // images per page. Progress and results can be retrieved through the - // `google.longrunning.Operations` interface. - // `Operation.metadata` contains `OperationMetadata` (metadata). - // `Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results). - AsyncBatchAnnotateFiles(context.Context, *AsyncBatchAnnotateFilesRequest) (*longrunning.Operation, error) -} - -// UnimplementedImageAnnotatorServer can be embedded to have forward compatible implementations. -type UnimplementedImageAnnotatorServer struct { -} - -func (*UnimplementedImageAnnotatorServer) BatchAnnotateImages(ctx context.Context, req *BatchAnnotateImagesRequest) (*BatchAnnotateImagesResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method BatchAnnotateImages not implemented") -} -func (*UnimplementedImageAnnotatorServer) AsyncBatchAnnotateFiles(ctx context.Context, req *AsyncBatchAnnotateFilesRequest) (*longrunning.Operation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method AsyncBatchAnnotateFiles not implemented") -} - -func RegisterImageAnnotatorServer(s *grpc.Server, srv ImageAnnotatorServer) { - s.RegisterService(&_ImageAnnotator_serviceDesc, srv) -} - -func _ImageAnnotator_BatchAnnotateImages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchAnnotateImagesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ImageAnnotatorServer).BatchAnnotateImages(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.vision.v1p3beta1.ImageAnnotator/BatchAnnotateImages", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ImageAnnotatorServer).BatchAnnotateImages(ctx, req.(*BatchAnnotateImagesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ImageAnnotator_AsyncBatchAnnotateFiles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AsyncBatchAnnotateFilesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ImageAnnotatorServer).AsyncBatchAnnotateFiles(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.vision.v1p3beta1.ImageAnnotator/AsyncBatchAnnotateFiles", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ImageAnnotatorServer).AsyncBatchAnnotateFiles(ctx, req.(*AsyncBatchAnnotateFilesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ImageAnnotator_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.vision.v1p3beta1.ImageAnnotator", - HandlerType: (*ImageAnnotatorServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "BatchAnnotateImages", - Handler: _ImageAnnotator_BatchAnnotateImages_Handler, - }, - { - MethodName: "AsyncBatchAnnotateFiles", - Handler: _ImageAnnotator_AsyncBatchAnnotateFiles_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/vision/v1p3beta1/image_annotator.proto", -} 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 deleted file mode 100644 index 34f7ce14..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1/product_search.pb.go +++ /dev/null @@ -1,494 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/vision/v1p3beta1/product_search.proto - -package vision - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Supported product search categories. -type ProductSearchCategory int32 - -const ( - // Default value used when a category is not specified. - ProductSearchCategory_PRODUCT_SEARCH_CATEGORY_UNSPECIFIED ProductSearchCategory = 0 - // Shoes category. - ProductSearchCategory_SHOES ProductSearchCategory = 1 - // Bags category. - ProductSearchCategory_BAGS ProductSearchCategory = 2 -) - -var ProductSearchCategory_name = map[int32]string{ - 0: "PRODUCT_SEARCH_CATEGORY_UNSPECIFIED", - 1: "SHOES", - 2: "BAGS", -} - -var ProductSearchCategory_value = map[string]int32{ - "PRODUCT_SEARCH_CATEGORY_UNSPECIFIED": 0, - "SHOES": 1, - "BAGS": 2, -} - -func (x ProductSearchCategory) String() string { - return proto.EnumName(ProductSearchCategory_name, int32(x)) -} - -func (ProductSearchCategory) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_39c225061f094f0f, []int{0} -} - -// Specifies the fields to include in product search results. -type ProductSearchResultsView int32 - -const ( - // Product search results contain only `product_category` and `product_id`. - // Default value. - ProductSearchResultsView_BASIC ProductSearchResultsView = 0 - // Product search results contain `product_category`, `product_id`, - // `image_uri`, and `score`. - ProductSearchResultsView_FULL ProductSearchResultsView = 1 -) - -var ProductSearchResultsView_name = map[int32]string{ - 0: "BASIC", - 1: "FULL", -} - -var ProductSearchResultsView_value = map[string]int32{ - "BASIC": 0, - "FULL": 1, -} - -func (x ProductSearchResultsView) String() string { - return proto.EnumName(ProductSearchResultsView_name, int32(x)) -} - -func (ProductSearchResultsView) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_39c225061f094f0f, []int{1} -} - -// Parameters for a product search request. -type ProductSearchParams struct { - // The resource name of the catalog to search. - // - // Format is: `productSearch/catalogs/CATALOG_NAME`. - CatalogName string `protobuf:"bytes,1,opt,name=catalog_name,json=catalogName,proto3" json:"catalog_name,omitempty"` - // The category to search in. - // Optional. It is inferred by the system if it is not specified. - // [Deprecated] Use `product_category`. - Category ProductSearchCategory `protobuf:"varint,2,opt,name=category,proto3,enum=google.cloud.vision.v1p3beta1.ProductSearchCategory" json:"category,omitempty"` - // The product category to search in. - // Optional. It is inferred by the system if it is not specified. - // Supported values are `bag`, `shoe`, `sunglasses`, `dress`, `outerwear`, - // `skirt`, `top`, `shorts`, and `pants`. - ProductCategory string `protobuf:"bytes,5,opt,name=product_category,json=productCategory,proto3" json:"product_category,omitempty"` - // The bounding polygon around the area of interest in the image. - // Optional. If it is not specified, system discretion will be applied. - // [Deprecated] Use `bounding_poly`. - NormalizedBoundingPoly *NormalizedBoundingPoly `protobuf:"bytes,3,opt,name=normalized_bounding_poly,json=normalizedBoundingPoly,proto3" json:"normalized_bounding_poly,omitempty"` - // 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"` - // Specifies the verbosity of the product search results. - // Optional. Defaults to `BASIC`. - View ProductSearchResultsView `protobuf:"varint,4,opt,name=view,proto3,enum=google.cloud.vision.v1p3beta1.ProductSearchResultsView" json:"view,omitempty"` - // The resource name of a - // [ProductSet][google.cloud.vision.v1p3beta1.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" or "apparel" 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_39c225061f094f0f, []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 (m *ProductSearchParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductSearchParams.Merge(m, 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) GetCatalogName() string { - if m != nil { - return m.CatalogName - } - return "" -} - -func (m *ProductSearchParams) GetCategory() ProductSearchCategory { - if m != nil { - return m.Category - } - return ProductSearchCategory_PRODUCT_SEARCH_CATEGORY_UNSPECIFIED -} - -func (m *ProductSearchParams) GetProductCategory() string { - if m != nil { - return m.ProductCategory - } - return "" -} - -func (m *ProductSearchParams) GetNormalizedBoundingPoly() *NormalizedBoundingPoly { - if m != nil { - return m.NormalizedBoundingPoly - } - return nil -} - -func (m *ProductSearchParams) GetBoundingPoly() *BoundingPoly { - if m != nil { - return m.BoundingPoly - } - return nil -} - -func (m *ProductSearchParams) GetView() ProductSearchResultsView { - if m != nil { - return m.View - } - return ProductSearchResultsView_BASIC -} - -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 { - // Product category. - // [Deprecated] Use `product_category`. - Category ProductSearchCategory `protobuf:"varint,1,opt,name=category,proto3,enum=google.cloud.vision.v1p3beta1.ProductSearchCategory" json:"category,omitempty"` - // Product category. - // Supported values are `bag` and `shoe`. - // [Deprecated] `product_category` is provided in each Product. - ProductCategory string `protobuf:"bytes,4,opt,name=product_category,json=productCategory,proto3" json:"product_category,omitempty"` - // 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 detected products. - Products []*ProductSearchResults_ProductInfo `protobuf:"bytes,3,rep,name=products,proto3" json:"products,omitempty"` - // List of results, one for each product match. - Results []*ProductSearchResults_Result `protobuf:"bytes,5,rep,name=results,proto3" json:"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_39c225061f094f0f, []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 (m *ProductSearchResults) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductSearchResults.Merge(m, 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) GetCategory() ProductSearchCategory { - if m != nil { - return m.Category - } - return ProductSearchCategory_PRODUCT_SEARCH_CATEGORY_UNSPECIFIED -} - -func (m *ProductSearchResults) GetProductCategory() string { - if m != nil { - return m.ProductCategory - } - return "" -} - -func (m *ProductSearchResults) GetIndexTime() *timestamp.Timestamp { - if m != nil { - return m.IndexTime - } - return nil -} - -func (m *ProductSearchResults) GetProducts() []*ProductSearchResults_ProductInfo { - if m != nil { - return m.Products - } - return nil -} - -func (m *ProductSearchResults) GetResults() []*ProductSearchResults_Result { - if m != nil { - return m.Results - } - return nil -} - -// Information about a product. -type ProductSearchResults_ProductInfo struct { - // Product ID. - ProductId string `protobuf:"bytes,1,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` - // The URI of the image which matched the query image. - // - // This field is returned only if `view` is set to `FULL` in - // the request. - ImageUri string `protobuf:"bytes,2,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"` - // A confidence level on the match, ranging from 0 (no confidence) to - // 1 (full confidence). - // - // This field is returned only if `view` is set to `FULL` in - // the request. - Score float32 `protobuf:"fixed32,3,opt,name=score,proto3" json:"score,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ProductSearchResults_ProductInfo) Reset() { *m = ProductSearchResults_ProductInfo{} } -func (m *ProductSearchResults_ProductInfo) String() string { return proto.CompactTextString(m) } -func (*ProductSearchResults_ProductInfo) ProtoMessage() {} -func (*ProductSearchResults_ProductInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_39c225061f094f0f, []int{1, 0} -} - -func (m *ProductSearchResults_ProductInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProductSearchResults_ProductInfo.Unmarshal(m, b) -} -func (m *ProductSearchResults_ProductInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProductSearchResults_ProductInfo.Marshal(b, m, deterministic) -} -func (m *ProductSearchResults_ProductInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductSearchResults_ProductInfo.Merge(m, src) -} -func (m *ProductSearchResults_ProductInfo) XXX_Size() int { - return xxx_messageInfo_ProductSearchResults_ProductInfo.Size(m) -} -func (m *ProductSearchResults_ProductInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ProductSearchResults_ProductInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_ProductSearchResults_ProductInfo proto.InternalMessageInfo - -func (m *ProductSearchResults_ProductInfo) GetProductId() string { - if m != nil { - return m.ProductId - } - return "" -} - -func (m *ProductSearchResults_ProductInfo) GetImageUri() string { - if m != nil { - return m.ImageUri - } - return "" -} - -func (m *ProductSearchResults_ProductInfo) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -// 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). - // - // This field is returned only if `view` is set to `FULL` in - // the request. - 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_39c225061f094f0f, []int{1, 1} -} - -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 (m *ProductSearchResults_Result) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductSearchResults_Result.Merge(m, 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 "" -} - -func init() { - proto.RegisterEnum("google.cloud.vision.v1p3beta1.ProductSearchCategory", ProductSearchCategory_name, ProductSearchCategory_value) - proto.RegisterEnum("google.cloud.vision.v1p3beta1.ProductSearchResultsView", ProductSearchResultsView_name, ProductSearchResultsView_value) - proto.RegisterType((*ProductSearchParams)(nil), "google.cloud.vision.v1p3beta1.ProductSearchParams") - proto.RegisterType((*ProductSearchResults)(nil), "google.cloud.vision.v1p3beta1.ProductSearchResults") - proto.RegisterType((*ProductSearchResults_ProductInfo)(nil), "google.cloud.vision.v1p3beta1.ProductSearchResults.ProductInfo") - proto.RegisterType((*ProductSearchResults_Result)(nil), "google.cloud.vision.v1p3beta1.ProductSearchResults.Result") -} - -func init() { - proto.RegisterFile("google/cloud/vision/v1p3beta1/product_search.proto", fileDescriptor_39c225061f094f0f) -} - -var fileDescriptor_39c225061f094f0f = []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, - 0x0c, 0x48, 0xb4, 0x0e, 0x84, 0x18, 0x17, 0xd0, 0x76, 0xdd, 0x56, 0x31, 0x6d, 0x91, 0xdb, 0x22, - 0x01, 0x17, 0x91, 0x9b, 0x78, 0xc1, 0x52, 0x12, 0x47, 0x49, 0xda, 0x51, 0xee, 0x78, 0x20, 0x5e, - 0x88, 0x27, 0xe1, 0x12, 0xd5, 0x49, 0xba, 0x15, 0x75, 0x1b, 0x9b, 0xc4, 0x55, 0x75, 0x4e, 0xfd, - 0xfb, 0x3e, 0xfb, 0xe4, 0xb3, 0xa1, 0x6e, 0x73, 0x6e, 0x3b, 0x54, 0x33, 0x1d, 0x3e, 0xb4, 0xb4, - 0x11, 0x0b, 0x19, 0xf7, 0xb4, 0xd1, 0x96, 0xbf, 0x3d, 0xa0, 0x11, 0xd9, 0xd2, 0xfc, 0x80, 0x5b, - 0x43, 0x33, 0x32, 0x42, 0x4a, 0x02, 0xf3, 0xab, 0xea, 0x07, 0x3c, 0xe2, 0x68, 0x35, 0x66, 0x54, - 0xc1, 0xa8, 0x31, 0xa3, 0x4e, 0x99, 0xca, 0xc3, 0x44, 0x92, 0xf8, 0x4c, 0x23, 0x9e, 0xc7, 0x23, - 0x12, 0x31,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4f, 0x50, 0xae, 0xbc, 0x9d, 0x06, 0x00, 0x00, -} 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 deleted file mode 100644 index d6fef6a6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1/product_search_service.pb.go +++ /dev/null @@ -1,3013 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/vision/v1p3beta1/product_search_service.proto - -package vision - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // 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_3e303776708d7396, []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" or "apparel". - // - // 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_3e303776708d7396, []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 (m *Product) XXX_Merge(src proto.Message) { - xxx_messageInfo_Product.Merge(m, 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_3e303776708d7396, []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 (m *Product_KeyValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_Product_KeyValue.Merge(m, 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_3e303776708d7396, []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 (m *ProductSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductSet.Merge(m, 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_3e303776708d7396, []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 (m *ReferenceImage) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReferenceImage.Merge(m, 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_3e303776708d7396, []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 (m *CreateProductRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateProductRequest.Merge(m, 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_3e303776708d7396, []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 (m *ListProductsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListProductsRequest.Merge(m, 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_3e303776708d7396, []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 (m *ListProductsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListProductsResponse.Merge(m, 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_3e303776708d7396, []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 (m *GetProductRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetProductRequest.Merge(m, 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_3e303776708d7396, []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 (m *UpdateProductRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateProductRequest.Merge(m, 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_3e303776708d7396, []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 (m *DeleteProductRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteProductRequest.Merge(m, 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_3e303776708d7396, []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 (m *CreateProductSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateProductSetRequest.Merge(m, 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_3e303776708d7396, []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 (m *ListProductSetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListProductSetsRequest.Merge(m, 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_3e303776708d7396, []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 (m *ListProductSetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListProductSetsResponse.Merge(m, 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_3e303776708d7396, []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 (m *GetProductSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetProductSetRequest.Merge(m, 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_3e303776708d7396, []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 (m *UpdateProductSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateProductSetRequest.Merge(m, 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_3e303776708d7396, []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 (m *DeleteProductSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteProductSetRequest.Merge(m, 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_3e303776708d7396, []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 (m *CreateReferenceImageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateReferenceImageRequest.Merge(m, 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_3e303776708d7396, []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 (m *ListReferenceImagesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListReferenceImagesRequest.Merge(m, 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_3e303776708d7396, []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 (m *ListReferenceImagesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListReferenceImagesResponse.Merge(m, 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_3e303776708d7396, []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 (m *GetReferenceImageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetReferenceImageRequest.Merge(m, 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_3e303776708d7396, []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 (m *DeleteReferenceImageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteReferenceImageRequest.Merge(m, 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_3e303776708d7396, []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 (m *AddProductToProductSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddProductToProductSetRequest.Merge(m, 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_3e303776708d7396, []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 (m *RemoveProductFromProductSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveProductFromProductSetRequest.Merge(m, 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_3e303776708d7396, []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 (m *ListProductsInProductSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListProductsInProductSetRequest.Merge(m, 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_3e303776708d7396, []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 (m *ListProductsInProductSetResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListProductsInProductSetResponse.Merge(m, 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 6 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 - // - // Columns 1, 3, 4, and 5 are required, other columns are optional. A new - // ProductSet/Product with the same id will be created on the fly - // if the ProductSet/Product specified by product_set_id/product_id does not - // exist. - // - // The image_id field is optional but has to be unique if provided. If it is - // empty, we will automatically assign an unique id to the image. - // - // The product_display_name field is optional. If it is empty, a space (" ") - // is used as the place holder for the product display_name, which can - // be updated later through the realtime API. - // - // If the Product with product_id already exists, the fields - // product_display_name, product_category and labels are ignored. - // - // If a Product doesn't exist and needs to be created on the fly, the - // product_display_name field refers to - // [Product.display_name][google.cloud.vision.v1p3beta1.Product.display_name], - // the product_category field refers to - // [Product.product_category][google.cloud.vision.v1p3beta1.Product.product_category], - // and the labels field refers to [Product.labels][]. - // - // Labels (optional) should be a line containing a list of comma-separated - // key-value pairs, with the format - // "key_1=value_1,key_2=value_2,...,key_n=value_n". - // - // The bounding_poly (optional) field is used to identify one region of - // interest from the image in the same manner as CreateReferenceImage. If no - // bounding_poly is specified, the system will try to detect regions of - // interest automatically. - // - // Note that the pipeline will resize the image if the image resolution is too - // large to process (above 20MP). - // - // Also note that at most one bounding_poly is allowed per line. If the image - // contains multiple regions of interest, the csv should contain one line per - // region of interest. - // - // The bounding_poly column should contain an even number of comma-separated - // numbers, with the format "p1_x,p1_y,p2_x,p2_y,...,pn_x,pn_y". Nonnegative - // integers should be used for absolute bounding polygons, and float values - // in [0, 1] should be used for normalized bounding polygons. - 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_3e303776708d7396, []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 (m *ImportProductSetsGcsSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportProductSetsGcsSource.Merge(m, 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_3e303776708d7396, []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 (m *ImportProductSetsInputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportProductSetsInputConfig.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*ImportProductSetsInputConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ImportProductSetsInputConfig_GcsSource)(nil), - } -} - -// 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_3e303776708d7396, []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 (m *ImportProductSetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportProductSetsRequest.Merge(m, 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_3e303776708d7396, []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 (m *ImportProductSetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportProductSetsResponse.Merge(m, 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.v1p3beta1.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_3e303776708d7396, []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 (m *BatchOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchOperationMetadata.Merge(m, 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.RegisterEnum("google.cloud.vision.v1p3beta1.BatchOperationMetadata_State", BatchOperationMetadata_State_name, BatchOperationMetadata_State_value) - proto.RegisterType((*Product)(nil), "google.cloud.vision.v1p3beta1.Product") - proto.RegisterType((*Product_KeyValue)(nil), "google.cloud.vision.v1p3beta1.Product.KeyValue") - proto.RegisterType((*ProductSet)(nil), "google.cloud.vision.v1p3beta1.ProductSet") - proto.RegisterType((*ReferenceImage)(nil), "google.cloud.vision.v1p3beta1.ReferenceImage") - proto.RegisterType((*CreateProductRequest)(nil), "google.cloud.vision.v1p3beta1.CreateProductRequest") - proto.RegisterType((*ListProductsRequest)(nil), "google.cloud.vision.v1p3beta1.ListProductsRequest") - proto.RegisterType((*ListProductsResponse)(nil), "google.cloud.vision.v1p3beta1.ListProductsResponse") - proto.RegisterType((*GetProductRequest)(nil), "google.cloud.vision.v1p3beta1.GetProductRequest") - proto.RegisterType((*UpdateProductRequest)(nil), "google.cloud.vision.v1p3beta1.UpdateProductRequest") - proto.RegisterType((*DeleteProductRequest)(nil), "google.cloud.vision.v1p3beta1.DeleteProductRequest") - proto.RegisterType((*CreateProductSetRequest)(nil), "google.cloud.vision.v1p3beta1.CreateProductSetRequest") - proto.RegisterType((*ListProductSetsRequest)(nil), "google.cloud.vision.v1p3beta1.ListProductSetsRequest") - proto.RegisterType((*ListProductSetsResponse)(nil), "google.cloud.vision.v1p3beta1.ListProductSetsResponse") - proto.RegisterType((*GetProductSetRequest)(nil), "google.cloud.vision.v1p3beta1.GetProductSetRequest") - proto.RegisterType((*UpdateProductSetRequest)(nil), "google.cloud.vision.v1p3beta1.UpdateProductSetRequest") - proto.RegisterType((*DeleteProductSetRequest)(nil), "google.cloud.vision.v1p3beta1.DeleteProductSetRequest") - proto.RegisterType((*CreateReferenceImageRequest)(nil), "google.cloud.vision.v1p3beta1.CreateReferenceImageRequest") - proto.RegisterType((*ListReferenceImagesRequest)(nil), "google.cloud.vision.v1p3beta1.ListReferenceImagesRequest") - proto.RegisterType((*ListReferenceImagesResponse)(nil), "google.cloud.vision.v1p3beta1.ListReferenceImagesResponse") - proto.RegisterType((*GetReferenceImageRequest)(nil), "google.cloud.vision.v1p3beta1.GetReferenceImageRequest") - proto.RegisterType((*DeleteReferenceImageRequest)(nil), "google.cloud.vision.v1p3beta1.DeleteReferenceImageRequest") - proto.RegisterType((*AddProductToProductSetRequest)(nil), "google.cloud.vision.v1p3beta1.AddProductToProductSetRequest") - proto.RegisterType((*RemoveProductFromProductSetRequest)(nil), "google.cloud.vision.v1p3beta1.RemoveProductFromProductSetRequest") - proto.RegisterType((*ListProductsInProductSetRequest)(nil), "google.cloud.vision.v1p3beta1.ListProductsInProductSetRequest") - proto.RegisterType((*ListProductsInProductSetResponse)(nil), "google.cloud.vision.v1p3beta1.ListProductsInProductSetResponse") - proto.RegisterType((*ImportProductSetsGcsSource)(nil), "google.cloud.vision.v1p3beta1.ImportProductSetsGcsSource") - proto.RegisterType((*ImportProductSetsInputConfig)(nil), "google.cloud.vision.v1p3beta1.ImportProductSetsInputConfig") - proto.RegisterType((*ImportProductSetsRequest)(nil), "google.cloud.vision.v1p3beta1.ImportProductSetsRequest") - proto.RegisterType((*ImportProductSetsResponse)(nil), "google.cloud.vision.v1p3beta1.ImportProductSetsResponse") - proto.RegisterType((*BatchOperationMetadata)(nil), "google.cloud.vision.v1p3beta1.BatchOperationMetadata") -} - -func init() { - proto.RegisterFile("google/cloud/vision/v1p3beta1/product_search_service.proto", fileDescriptor_3e303776708d7396) -} - -var fileDescriptor_3e303776708d7396 = []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, 0xe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0x8a, 0xc2, 0xcc, 0x11, - 0xb7, 0x52, 0xa9, 0xc3, 0x62, 0xf8, 0x09, 0x97, 0x60, 0xfe, 0x11, 0x19, 0x08, 0x37, 0xd9, 0x4f, - 0xbc, 0x06, 0x0b, 0x17, 0xec, 0x93, 0x70, 0x2f, 0x18, 0x48, 0x7f, 0x44, 0x00, 0xc2, 0x6e, 0x87, - 0xcc, 0x1c, 0x9e, 0x3b, 0x00, 0xa6, 0xad, 0x93, 0xf7, 0xba, 0x2c, 0x27, 0x3c, 0x3a, 0x85, 0x7a, - 0x25, 0xf4, 0x26, 0x4c, 0x58, 0xed, 0x24, 0x4c, 0x98, 0xb2, 0xc4, 0xa5, 0xd9, 0x18, 0x6f, 0x43, - 0x21, 0x50, 0x25, 0x9e, 0xe7, 0x78, 0x3c, 0x64, 0x85, 0x3a, 0x0e, 0x75, 0x3d, 0x57, 0xab, 0x75, - 0x78, 0x2e, 0x95, 0x60, 0x85, 0x16, 0x93, 0x92, 0x7e, 0x81, 0x60, 0x45, 0x21, 0xe7, 0xc4, 0x23, - 0xb6, 0x46, 0xda, 0x3d, 0xd5, 0x20, 0xa9, 0xc8, 0x4b, 0x30, 0xdf, 0xf7, 0x4c, 0x01, 0x98, 0xfd, - 0xc4, 0x0a, 0xac, 0x9c, 0x39, 0x7d, 0x5b, 0x37, 0x6d, 0xa3, 0xeb, 0x3a, 0xd6, 0x80, 0x96, 0xe7, - 0x79, 0xe8, 0xbf, 0x9d, 0x11, 0xfa, 0x3d, 0xa1, 0x74, 0xec, 0x58, 0x03, 0xa5, 0x78, 0x16, 0x19, - 0x51, 0xe9, 0x23, 0x04, 0x6b, 0x4d, 0x8f, 0xa8, 0x3e, 0x11, 0x81, 0x54, 0xc8, 0xbb, 0x7d, 0x42, - 0x7d, 0xbc, 0x0e, 0x57, 0x5d, 0xd5, 0x23, 0xb6, 0x2f, 0x40, 0x89, 0x11, 0xfe, 0x01, 0x5c, 0x13, - 0x89, 0xe3, 0xd0, 0x0a,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93, 0x4e, - 0xf8, 0xf7, 0x75, 0x27, 0x98, 0xf8, 0x1f, 0x42, 0x67, 0x57, 0xb9, 0xca, 0xf6, 0xff, 0x03, 0x00, - 0x00, 0xff, 0xff, 0x24, 0x8c, 0xbc, 0xfe, 0x28, 0x1e, 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 - -// 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. All Products and ReferenceImages in the - // ProductSet will be 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 display_name, description and labels 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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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. All Products and ReferenceImages in the - // ProductSet will be 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 display_name, description and labels 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.v1p3beta1.ImportProductSetsGcsSource.csv_file_uri]. - ImportProductSets(context.Context, *ImportProductSetsRequest) (*longrunning.Operation, error) -} - -// UnimplementedProductSearchServer can be embedded to have forward compatible implementations. -type UnimplementedProductSearchServer struct { -} - -func (*UnimplementedProductSearchServer) CreateProductSet(ctx context.Context, req *CreateProductSetRequest) (*ProductSet, error) { - return nil, status1.Errorf(codes.Unimplemented, "method CreateProductSet not implemented") -} -func (*UnimplementedProductSearchServer) ListProductSets(ctx context.Context, req *ListProductSetsRequest) (*ListProductSetsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListProductSets not implemented") -} -func (*UnimplementedProductSearchServer) GetProductSet(ctx context.Context, req *GetProductSetRequest) (*ProductSet, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetProductSet not implemented") -} -func (*UnimplementedProductSearchServer) UpdateProductSet(ctx context.Context, req *UpdateProductSetRequest) (*ProductSet, error) { - return nil, status1.Errorf(codes.Unimplemented, "method UpdateProductSet not implemented") -} -func (*UnimplementedProductSearchServer) DeleteProductSet(ctx context.Context, req *DeleteProductSetRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method DeleteProductSet not implemented") -} -func (*UnimplementedProductSearchServer) CreateProduct(ctx context.Context, req *CreateProductRequest) (*Product, error) { - return nil, status1.Errorf(codes.Unimplemented, "method CreateProduct not implemented") -} -func (*UnimplementedProductSearchServer) ListProducts(ctx context.Context, req *ListProductsRequest) (*ListProductsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListProducts not implemented") -} -func (*UnimplementedProductSearchServer) GetProduct(ctx context.Context, req *GetProductRequest) (*Product, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetProduct not implemented") -} -func (*UnimplementedProductSearchServer) UpdateProduct(ctx context.Context, req *UpdateProductRequest) (*Product, error) { - return nil, status1.Errorf(codes.Unimplemented, "method UpdateProduct not implemented") -} -func (*UnimplementedProductSearchServer) DeleteProduct(ctx context.Context, req *DeleteProductRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method DeleteProduct not implemented") -} -func (*UnimplementedProductSearchServer) CreateReferenceImage(ctx context.Context, req *CreateReferenceImageRequest) (*ReferenceImage, error) { - return nil, status1.Errorf(codes.Unimplemented, "method CreateReferenceImage not implemented") -} -func (*UnimplementedProductSearchServer) DeleteReferenceImage(ctx context.Context, req *DeleteReferenceImageRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method DeleteReferenceImage not implemented") -} -func (*UnimplementedProductSearchServer) ListReferenceImages(ctx context.Context, req *ListReferenceImagesRequest) (*ListReferenceImagesResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListReferenceImages not implemented") -} -func (*UnimplementedProductSearchServer) GetReferenceImage(ctx context.Context, req *GetReferenceImageRequest) (*ReferenceImage, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetReferenceImage not implemented") -} -func (*UnimplementedProductSearchServer) AddProductToProductSet(ctx context.Context, req *AddProductToProductSetRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method AddProductToProductSet not implemented") -} -func (*UnimplementedProductSearchServer) RemoveProductFromProductSet(ctx context.Context, req *RemoveProductFromProductSetRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method RemoveProductFromProductSet not implemented") -} -func (*UnimplementedProductSearchServer) ListProductsInProductSet(ctx context.Context, req *ListProductsInProductSetRequest) (*ListProductsInProductSetResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListProductsInProductSet not implemented") -} -func (*UnimplementedProductSearchServer) ImportProductSets(ctx context.Context, req *ImportProductSetsRequest) (*longrunning.Operation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ImportProductSets not implemented") -} - -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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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/v1p3beta1/product_search_service.proto", -} 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 deleted file mode 100644 index 297dc434..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1/text_annotation.pb.go +++ /dev/null @@ -1,814 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/vision/v1p3beta1/text_annotation.proto - -package vision - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum to denote the type of break found. New line, space etc. -type TextAnnotation_DetectedBreak_BreakType int32 - -const ( - // Unknown break label type. - TextAnnotation_DetectedBreak_UNKNOWN TextAnnotation_DetectedBreak_BreakType = 0 - // Regular space. - TextAnnotation_DetectedBreak_SPACE TextAnnotation_DetectedBreak_BreakType = 1 - // Sure space (very wide). - TextAnnotation_DetectedBreak_SURE_SPACE TextAnnotation_DetectedBreak_BreakType = 2 - // Line-wrapping break. - TextAnnotation_DetectedBreak_EOL_SURE_SPACE TextAnnotation_DetectedBreak_BreakType = 3 - // End-line hyphen that is not present in text; does not co-occur with - // `SPACE`, `LEADER_SPACE`, or `LINE_BREAK`. - TextAnnotation_DetectedBreak_HYPHEN TextAnnotation_DetectedBreak_BreakType = 4 - // Line break that ends a paragraph. - TextAnnotation_DetectedBreak_LINE_BREAK TextAnnotation_DetectedBreak_BreakType = 5 -) - -var TextAnnotation_DetectedBreak_BreakType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "SPACE", - 2: "SURE_SPACE", - 3: "EOL_SURE_SPACE", - 4: "HYPHEN", - 5: "LINE_BREAK", -} - -var TextAnnotation_DetectedBreak_BreakType_value = map[string]int32{ - "UNKNOWN": 0, - "SPACE": 1, - "SURE_SPACE": 2, - "EOL_SURE_SPACE": 3, - "HYPHEN": 4, - "LINE_BREAK": 5, -} - -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_44c2be7a5d3957fa, []int{0, 1, 0} -} - -// Type of a block (text, image etc) as identified by OCR. -type Block_BlockType int32 - -const ( - // Unknown block type. - Block_UNKNOWN Block_BlockType = 0 - // Regular text block. - Block_TEXT Block_BlockType = 1 - // Table block. - Block_TABLE Block_BlockType = 2 - // Image block. - Block_PICTURE Block_BlockType = 3 - // Horizontal/vertical line box. - Block_RULER Block_BlockType = 4 - // Barcode block. - Block_BARCODE Block_BlockType = 5 -) - -var Block_BlockType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "TEXT", - 2: "TABLE", - 3: "PICTURE", - 4: "RULER", - 5: "BARCODE", -} - -var Block_BlockType_value = map[string]int32{ - "UNKNOWN": 0, - "TEXT": 1, - "TABLE": 2, - "PICTURE": 3, - "RULER": 4, - "BARCODE": 5, -} - -func (x Block_BlockType) String() string { - return proto.EnumName(Block_BlockType_name, int32(x)) -} - -func (Block_BlockType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_44c2be7a5d3957fa, []int{2, 0} -} - -// TextAnnotation contains a structured representation of OCR extracted text. -// The hierarchy of an OCR extracted text structure is like this: -// TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol -// Each structural component, starting from Page, may further have their own -// properties. Properties describe detected languages, breaks etc.. Please refer -// to the -// [TextAnnotation.TextProperty][google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty] -// message definition below for more detail. -type TextAnnotation struct { - // List of pages detected by OCR. - Pages []*Page `protobuf:"bytes,1,rep,name=pages,proto3" json:"pages,omitempty"` - // UTF-8 text detected on the pages. - Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,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_44c2be7a5d3957fa, []int{0} -} - -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 (m *TextAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextAnnotation.Merge(m, 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) GetPages() []*Page { - if m != nil { - return m.Pages - } - return nil -} - -func (m *TextAnnotation) GetText() string { - if m != nil { - return m.Text - } - return "" -} - -// Detected language for a structural component. -type TextAnnotation_DetectedLanguage struct { - // 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,1,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // Confidence of detected language. 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 *TextAnnotation_DetectedLanguage) Reset() { *m = TextAnnotation_DetectedLanguage{} } -func (m *TextAnnotation_DetectedLanguage) String() string { return proto.CompactTextString(m) } -func (*TextAnnotation_DetectedLanguage) ProtoMessage() {} -func (*TextAnnotation_DetectedLanguage) Descriptor() ([]byte, []int) { - return fileDescriptor_44c2be7a5d3957fa, []int{0, 0} -} - -func (m *TextAnnotation_DetectedLanguage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextAnnotation_DetectedLanguage.Unmarshal(m, b) -} -func (m *TextAnnotation_DetectedLanguage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextAnnotation_DetectedLanguage.Marshal(b, m, deterministic) -} -func (m *TextAnnotation_DetectedLanguage) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextAnnotation_DetectedLanguage.Merge(m, src) -} -func (m *TextAnnotation_DetectedLanguage) XXX_Size() int { - return xxx_messageInfo_TextAnnotation_DetectedLanguage.Size(m) -} -func (m *TextAnnotation_DetectedLanguage) XXX_DiscardUnknown() { - xxx_messageInfo_TextAnnotation_DetectedLanguage.DiscardUnknown(m) -} - -var xxx_messageInfo_TextAnnotation_DetectedLanguage proto.InternalMessageInfo - -func (m *TextAnnotation_DetectedLanguage) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *TextAnnotation_DetectedLanguage) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -// Detected start or end of a structural component. -type TextAnnotation_DetectedBreak struct { - // Detected break type. - Type TextAnnotation_DetectedBreak_BreakType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.vision.v1p3beta1.TextAnnotation_DetectedBreak_BreakType" json:"type,omitempty"` - // True if break prepends the element. - IsPrefix bool `protobuf:"varint,2,opt,name=is_prefix,json=isPrefix,proto3" json:"is_prefix,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TextAnnotation_DetectedBreak) Reset() { *m = TextAnnotation_DetectedBreak{} } -func (m *TextAnnotation_DetectedBreak) String() string { return proto.CompactTextString(m) } -func (*TextAnnotation_DetectedBreak) ProtoMessage() {} -func (*TextAnnotation_DetectedBreak) Descriptor() ([]byte, []int) { - return fileDescriptor_44c2be7a5d3957fa, []int{0, 1} -} - -func (m *TextAnnotation_DetectedBreak) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextAnnotation_DetectedBreak.Unmarshal(m, b) -} -func (m *TextAnnotation_DetectedBreak) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextAnnotation_DetectedBreak.Marshal(b, m, deterministic) -} -func (m *TextAnnotation_DetectedBreak) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextAnnotation_DetectedBreak.Merge(m, src) -} -func (m *TextAnnotation_DetectedBreak) XXX_Size() int { - return xxx_messageInfo_TextAnnotation_DetectedBreak.Size(m) -} -func (m *TextAnnotation_DetectedBreak) XXX_DiscardUnknown() { - xxx_messageInfo_TextAnnotation_DetectedBreak.DiscardUnknown(m) -} - -var xxx_messageInfo_TextAnnotation_DetectedBreak proto.InternalMessageInfo - -func (m *TextAnnotation_DetectedBreak) GetType() TextAnnotation_DetectedBreak_BreakType { - if m != nil { - return m.Type - } - return TextAnnotation_DetectedBreak_UNKNOWN -} - -func (m *TextAnnotation_DetectedBreak) GetIsPrefix() bool { - if m != nil { - return m.IsPrefix - } - return false -} - -// Additional information detected on the structural component. -type TextAnnotation_TextProperty struct { - // A list of detected languages together with confidence. - DetectedLanguages []*TextAnnotation_DetectedLanguage `protobuf:"bytes,1,rep,name=detected_languages,json=detectedLanguages,proto3" json:"detected_languages,omitempty"` - // Detected start or end of a text segment. - DetectedBreak *TextAnnotation_DetectedBreak `protobuf:"bytes,2,opt,name=detected_break,json=detectedBreak,proto3" json:"detected_break,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TextAnnotation_TextProperty) Reset() { *m = TextAnnotation_TextProperty{} } -func (m *TextAnnotation_TextProperty) String() string { return proto.CompactTextString(m) } -func (*TextAnnotation_TextProperty) ProtoMessage() {} -func (*TextAnnotation_TextProperty) Descriptor() ([]byte, []int) { - return fileDescriptor_44c2be7a5d3957fa, []int{0, 2} -} - -func (m *TextAnnotation_TextProperty) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextAnnotation_TextProperty.Unmarshal(m, b) -} -func (m *TextAnnotation_TextProperty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextAnnotation_TextProperty.Marshal(b, m, deterministic) -} -func (m *TextAnnotation_TextProperty) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextAnnotation_TextProperty.Merge(m, src) -} -func (m *TextAnnotation_TextProperty) XXX_Size() int { - return xxx_messageInfo_TextAnnotation_TextProperty.Size(m) -} -func (m *TextAnnotation_TextProperty) XXX_DiscardUnknown() { - xxx_messageInfo_TextAnnotation_TextProperty.DiscardUnknown(m) -} - -var xxx_messageInfo_TextAnnotation_TextProperty proto.InternalMessageInfo - -func (m *TextAnnotation_TextProperty) GetDetectedLanguages() []*TextAnnotation_DetectedLanguage { - if m != nil { - return m.DetectedLanguages - } - return nil -} - -func (m *TextAnnotation_TextProperty) GetDetectedBreak() *TextAnnotation_DetectedBreak { - if m != nil { - return m.DetectedBreak - } - return nil -} - -// Detected page from OCR. -type Page struct { - // Additional information detected on the page. - Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` - // Page width. For PDFs the unit is points. For images (including - // TIFFs) the unit is pixels. - Width int32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` - // Page height. For PDFs the unit is points. For images (including - // TIFFs) the unit is pixels. - Height int32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` - // List of blocks of text, images etc on this page. - Blocks []*Block `protobuf:"bytes,4,rep,name=blocks,proto3" json:"blocks,omitempty"` - // Confidence of the OCR results on the page. Range [0, 1]. - Confidence float32 `protobuf:"fixed32,5,opt,name=confidence,proto3" json:"confidence,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_44c2be7a5d3957fa, []int{1} -} - -func (m *Page) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Page.Unmarshal(m, b) -} -func (m *Page) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Page.Marshal(b, m, deterministic) -} -func (m *Page) XXX_Merge(src proto.Message) { - xxx_messageInfo_Page.Merge(m, src) -} -func (m *Page) XXX_Size() int { - return xxx_messageInfo_Page.Size(m) -} -func (m *Page) XXX_DiscardUnknown() { - xxx_messageInfo_Page.DiscardUnknown(m) -} - -var xxx_messageInfo_Page proto.InternalMessageInfo - -func (m *Page) GetProperty() *TextAnnotation_TextProperty { - if m != nil { - return m.Property - } - return nil -} - -func (m *Page) GetWidth() int32 { - if m != nil { - return m.Width - } - return 0 -} - -func (m *Page) GetHeight() int32 { - if m != nil { - return m.Height - } - return 0 -} - -func (m *Page) GetBlocks() []*Block { - if m != nil { - return m.Blocks - } - return nil -} - -func (m *Page) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -// Logical element on the page. -type Block struct { - // Additional information detected for the block. - Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` - // The bounding box for the block. - // The vertices are in the order of top-left, top-right, bottom-right, - // bottom-left. When a rotation of the bounding box is detected the rotation - // is represented as around the top-left corner as defined when the text is - // read in the 'natural' orientation. - // For example: - // - // * when the text is horizontal it might look like: - // - // 0----1 - // | | - // 3----2 - // - // * when it's rotated 180 degrees around the top-left corner it becomes: - // - // 2----3 - // | | - // 1----0 - // - // and the vertice 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"` - // Detected block type (text, image etc) for this block. - BlockType Block_BlockType `protobuf:"varint,4,opt,name=block_type,json=blockType,proto3,enum=google.cloud.vision.v1p3beta1.Block_BlockType" json:"block_type,omitempty"` - // Confidence of the OCR results on the block. Range [0, 1]. - Confidence float32 `protobuf:"fixed32,5,opt,name=confidence,proto3" json:"confidence,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_44c2be7a5d3957fa, []int{2} -} - -func (m *Block) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Block.Unmarshal(m, b) -} -func (m *Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Block.Marshal(b, m, deterministic) -} -func (m *Block) XXX_Merge(src proto.Message) { - xxx_messageInfo_Block.Merge(m, src) -} -func (m *Block) XXX_Size() int { - return xxx_messageInfo_Block.Size(m) -} -func (m *Block) XXX_DiscardUnknown() { - xxx_messageInfo_Block.DiscardUnknown(m) -} - -var xxx_messageInfo_Block proto.InternalMessageInfo - -func (m *Block) GetProperty() *TextAnnotation_TextProperty { - if m != nil { - return m.Property - } - return nil -} - -func (m *Block) GetBoundingBox() *BoundingPoly { - if m != nil { - return m.BoundingBox - } - return nil -} - -func (m *Block) GetParagraphs() []*Paragraph { - if m != nil { - return m.Paragraphs - } - return nil -} - -func (m *Block) GetBlockType() Block_BlockType { - if m != nil { - return m.BlockType - } - return Block_UNKNOWN -} - -func (m *Block) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -// Structural unit of text representing a number of words in certain order. -type Paragraph struct { - // Additional information detected for the paragraph. - Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` - // The bounding box for the paragraph. - // The vertices are in the order of top-left, top-right, bottom-right, - // bottom-left. When a rotation of the bounding box is detected the rotation - // is represented as around the top-left corner as defined when the text is - // read in the 'natural' orientation. - // For example: - // * when the text is horizontal it might look like: - // 0----1 - // | | - // 3----2 - // * when it's rotated 180 degrees around the top-left corner it becomes: - // 2----3 - // | | - // 1----0 - // and the vertice 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"` - // Confidence of the OCR results for the paragraph. Range [0, 1]. - Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_44c2be7a5d3957fa, []int{3} -} - -func (m *Paragraph) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Paragraph.Unmarshal(m, b) -} -func (m *Paragraph) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Paragraph.Marshal(b, m, deterministic) -} -func (m *Paragraph) XXX_Merge(src proto.Message) { - xxx_messageInfo_Paragraph.Merge(m, src) -} -func (m *Paragraph) XXX_Size() int { - return xxx_messageInfo_Paragraph.Size(m) -} -func (m *Paragraph) XXX_DiscardUnknown() { - xxx_messageInfo_Paragraph.DiscardUnknown(m) -} - -var xxx_messageInfo_Paragraph proto.InternalMessageInfo - -func (m *Paragraph) GetProperty() *TextAnnotation_TextProperty { - if m != nil { - return m.Property - } - return nil -} - -func (m *Paragraph) GetBoundingBox() *BoundingPoly { - if m != nil { - return m.BoundingBox - } - return nil -} - -func (m *Paragraph) GetWords() []*Word { - if m != nil { - return m.Words - } - return nil -} - -func (m *Paragraph) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -// A word representation. -type Word struct { - // Additional information detected for the word. - Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` - // The bounding box for the word. - // The vertices are in the order of top-left, top-right, bottom-right, - // bottom-left. When a rotation of the bounding box is detected the rotation - // is represented as around the top-left corner as defined when the text is - // read in the 'natural' orientation. - // For example: - // * when the text is horizontal it might look like: - // 0----1 - // | | - // 3----2 - // * when it's rotated 180 degrees around the top-left corner it becomes: - // 2----3 - // | | - // 1----0 - // and the vertice 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. - Symbols []*Symbol `protobuf:"bytes,3,rep,name=symbols,proto3" json:"symbols,omitempty"` - // Confidence of the OCR results for the word. Range [0, 1]. - Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_44c2be7a5d3957fa, []int{4} -} - -func (m *Word) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Word.Unmarshal(m, b) -} -func (m *Word) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Word.Marshal(b, m, deterministic) -} -func (m *Word) XXX_Merge(src proto.Message) { - xxx_messageInfo_Word.Merge(m, src) -} -func (m *Word) XXX_Size() int { - return xxx_messageInfo_Word.Size(m) -} -func (m *Word) XXX_DiscardUnknown() { - xxx_messageInfo_Word.DiscardUnknown(m) -} - -var xxx_messageInfo_Word proto.InternalMessageInfo - -func (m *Word) GetProperty() *TextAnnotation_TextProperty { - if m != nil { - return m.Property - } - return nil -} - -func (m *Word) GetBoundingBox() *BoundingPoly { - if m != nil { - return m.BoundingBox - } - return nil -} - -func (m *Word) GetSymbols() []*Symbol { - if m != nil { - return m.Symbols - } - return nil -} - -func (m *Word) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -// A single symbol representation. -type Symbol struct { - // Additional information detected for the symbol. - Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` - // The bounding box for the symbol. - // The vertices are in the order of top-left, top-right, bottom-right, - // bottom-left. When a rotation of the bounding box is detected the rotation - // is represented as around the top-left corner as defined when the text is - // read in the 'natural' orientation. - // For example: - // * when the text is horizontal it might look like: - // 0----1 - // | | - // 3----2 - // * when it's rotated 180 degrees around the top-left corner it becomes: - // 2----3 - // | | - // 1----0 - // and the vertice order will still be (0, 1, 2, 3). - BoundingBox *BoundingPoly `protobuf:"bytes,2,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"` - // The actual UTF-8 representation of the symbol. - Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"` - // Confidence of the OCR results for the symbol. Range [0, 1]. - Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_44c2be7a5d3957fa, []int{5} -} - -func (m *Symbol) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Symbol.Unmarshal(m, b) -} -func (m *Symbol) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Symbol.Marshal(b, m, deterministic) -} -func (m *Symbol) XXX_Merge(src proto.Message) { - xxx_messageInfo_Symbol.Merge(m, src) -} -func (m *Symbol) XXX_Size() int { - return xxx_messageInfo_Symbol.Size(m) -} -func (m *Symbol) XXX_DiscardUnknown() { - xxx_messageInfo_Symbol.DiscardUnknown(m) -} - -var xxx_messageInfo_Symbol proto.InternalMessageInfo - -func (m *Symbol) GetProperty() *TextAnnotation_TextProperty { - if m != nil { - return m.Property - } - return nil -} - -func (m *Symbol) GetBoundingBox() *BoundingPoly { - if m != nil { - return m.BoundingBox - } - return nil -} - -func (m *Symbol) GetText() string { - if m != nil { - return m.Text - } - return "" -} - -func (m *Symbol) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -func init() { - proto.RegisterEnum("google.cloud.vision.v1p3beta1.TextAnnotation_DetectedBreak_BreakType", TextAnnotation_DetectedBreak_BreakType_name, TextAnnotation_DetectedBreak_BreakType_value) - proto.RegisterEnum("google.cloud.vision.v1p3beta1.Block_BlockType", Block_BlockType_name, Block_BlockType_value) - proto.RegisterType((*TextAnnotation)(nil), "google.cloud.vision.v1p3beta1.TextAnnotation") - proto.RegisterType((*TextAnnotation_DetectedLanguage)(nil), "google.cloud.vision.v1p3beta1.TextAnnotation.DetectedLanguage") - proto.RegisterType((*TextAnnotation_DetectedBreak)(nil), "google.cloud.vision.v1p3beta1.TextAnnotation.DetectedBreak") - proto.RegisterType((*TextAnnotation_TextProperty)(nil), "google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty") - proto.RegisterType((*Page)(nil), "google.cloud.vision.v1p3beta1.Page") - proto.RegisterType((*Block)(nil), "google.cloud.vision.v1p3beta1.Block") - proto.RegisterType((*Paragraph)(nil), "google.cloud.vision.v1p3beta1.Paragraph") - proto.RegisterType((*Word)(nil), "google.cloud.vision.v1p3beta1.Word") - proto.RegisterType((*Symbol)(nil), "google.cloud.vision.v1p3beta1.Symbol") -} - -func init() { - proto.RegisterFile("google/cloud/vision/v1p3beta1/text_annotation.proto", fileDescriptor_44c2be7a5d3957fa) -} - -var fileDescriptor_44c2be7a5d3957fa = []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, - 0x20, 0x55, 0x02, 0x39, 0x6a, 0x7a, 0x2a, 0x45, 0xa0, 0x38, 0xb5, 0xd4, 0xaa, 0x21, 0xb5, 0xa6, - 0x09, 0xa5, 0x5c, 0x2c, 0xff, 0x99, 0x3a, 0x56, 0x13, 0x8f, 0x65, 0xbb, 0x6d, 0x72, 0xe5, 0x8a, - 0x04, 0x5f, 0x88, 0x2f, 0x83, 0xc4, 0x09, 0xf1, 0x01, 0x38, 0x22, 0x8f, 0xed, 0x34, 0x09, 0xa2, - 0xe6, 0x8f, 0x38, 0xf4, 0x12, 0xcd, 0x7b, 0x79, 0xbf, 0x37, 0xef, 0xf7, 0x7b, 0xf3, 0x3c, 0x03, - 0xdb, 0x0e, 0xa5, 0xce, 0x88, 0x34, 0xad, 0x11, 0xbd, 0xb0, 0x9b, 0x97, 0x6e, 0xe8, 0x52, 0xaf, - 0x79, 0xb9, 0xe5, 0x6f, 0x9b, 0x24, 0x32, 0xb6, 0x9a, 0x11, 0x99, 0x44, 0xba, 0xe1, 0x79, 0x34, - 0x32, 0x22, 0x97, 0x7a, 0xb2, 0x1f, 0xd0, 0x88, 0xa2, 0xff, 0x13, 0x90, 0xcc, 0x40, 0x72, 0x02, - 0x92, 0x67, 0xa0, 0xfa, 0x7f, 0x69, 0x4e, 0xc3, 0x77, 0x9b, 0xd7, 0xd8, 0x30, 0x01, 0xd7, 0x1f, - 0xde, 0xbc, 0xa3, 0x43, 0xe8, 0x98, 0x44, 0xc1, 0x34, 0x89, 0x6e, 0xbc, 0x16, 0xa0, 0xda, 0x27, - 0x93, 0xa8, 0x3d, 0xcb, 0x83, 0x76, 0x40, 0xf0, 0x0d, 0x87, 0x84, 0x35, 0x6e, 0xbd, 0xb8, 0x59, - 0x69, 0x6d, 0xc8, 0x37, 0x56, 0x23, 0x6b, 0x86, 0x43, 0x70, 0x82, 0x40, 0x08, 0xf8, 0x98, 0x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, 0x1c, 0x67, 0x96, 0x18, 0x64, 0xfb, 0x4b, 0x00, 0x00, 0x00, 0xff, 0xff, 0x24, - 0x7c, 0x70, 0x3a, 0x71, 0x09, 0x00, 0x00, -} 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 deleted file mode 100644 index 5eda81d5..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1/web_detection.pb.go +++ /dev/null @@ -1,403 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/vision/v1p3beta1/web_detection.proto - -package vision - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Relevant information for the image from the Internet. -type WebDetection struct { - // Deduced entities from similar images on the Internet. - WebEntities []*WebDetection_WebEntity `protobuf:"bytes,1,rep,name=web_entities,json=webEntities,proto3" json:"web_entities,omitempty"` - // Fully matching images from the Internet. - // Can include resized copies of the query image. - FullMatchingImages []*WebDetection_WebImage `protobuf:"bytes,2,rep,name=full_matching_images,json=fullMatchingImages,proto3" json:"full_matching_images,omitempty"` - // Partial matching images from the Internet. - // Those images are similar enough to share some key-point features. For - // example an original image will likely have partial matching for its crops. - PartialMatchingImages []*WebDetection_WebImage `protobuf:"bytes,3,rep,name=partial_matching_images,json=partialMatchingImages,proto3" json:"partial_matching_images,omitempty"` - // Web pages containing the matching images from the Internet. - 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. - 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:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_05fec4ec9a1917ba, []int{0} -} - -func (m *WebDetection) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebDetection.Unmarshal(m, b) -} -func (m *WebDetection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebDetection.Marshal(b, m, deterministic) -} -func (m *WebDetection) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebDetection.Merge(m, src) -} -func (m *WebDetection) XXX_Size() int { - return xxx_messageInfo_WebDetection.Size(m) -} -func (m *WebDetection) XXX_DiscardUnknown() { - xxx_messageInfo_WebDetection.DiscardUnknown(m) -} - -var xxx_messageInfo_WebDetection proto.InternalMessageInfo - -func (m *WebDetection) GetWebEntities() []*WebDetection_WebEntity { - if m != nil { - return m.WebEntities - } - return nil -} - -func (m *WebDetection) GetFullMatchingImages() []*WebDetection_WebImage { - if m != nil { - return m.FullMatchingImages - } - return nil -} - -func (m *WebDetection) GetPartialMatchingImages() []*WebDetection_WebImage { - if m != nil { - return m.PartialMatchingImages - } - return nil -} - -func (m *WebDetection) GetPagesWithMatchingImages() []*WebDetection_WebPage { - if m != nil { - return m.PagesWithMatchingImages - } - return nil -} - -func (m *WebDetection) GetVisuallySimilarImages() []*WebDetection_WebImage { - if m != nil { - return m.VisuallySimilarImages - } - return nil -} - -func (m *WebDetection) GetBestGuessLabels() []*WebDetection_WebLabel { - if m != nil { - return m.BestGuessLabels - } - return nil -} - -// Entity deduced from similar images on the Internet. -type WebDetection_WebEntity struct { - // Opaque entity ID. - EntityId string `protobuf:"bytes,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` - // Overall relevancy score for the entity. - // Not normalized and not comparable across different image queries. - Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"` - // Canonical description of the entity, in English. - 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 *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_05fec4ec9a1917ba, []int{0, 0} -} - -func (m *WebDetection_WebEntity) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebDetection_WebEntity.Unmarshal(m, b) -} -func (m *WebDetection_WebEntity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebDetection_WebEntity.Marshal(b, m, deterministic) -} -func (m *WebDetection_WebEntity) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebDetection_WebEntity.Merge(m, src) -} -func (m *WebDetection_WebEntity) XXX_Size() int { - return xxx_messageInfo_WebDetection_WebEntity.Size(m) -} -func (m *WebDetection_WebEntity) XXX_DiscardUnknown() { - xxx_messageInfo_WebDetection_WebEntity.DiscardUnknown(m) -} - -var xxx_messageInfo_WebDetection_WebEntity proto.InternalMessageInfo - -func (m *WebDetection_WebEntity) GetEntityId() string { - if m != nil { - return m.EntityId - } - return "" -} - -func (m *WebDetection_WebEntity) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -func (m *WebDetection_WebEntity) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -// Metadata for online images. -type WebDetection_WebImage struct { - // The result image URL. - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - // (Deprecated) Overall relevancy score for the image. - Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_05fec4ec9a1917ba, []int{0, 1} -} - -func (m *WebDetection_WebImage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebDetection_WebImage.Unmarshal(m, b) -} -func (m *WebDetection_WebImage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebDetection_WebImage.Marshal(b, m, deterministic) -} -func (m *WebDetection_WebImage) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebDetection_WebImage.Merge(m, src) -} -func (m *WebDetection_WebImage) XXX_Size() int { - return xxx_messageInfo_WebDetection_WebImage.Size(m) -} -func (m *WebDetection_WebImage) XXX_DiscardUnknown() { - xxx_messageInfo_WebDetection_WebImage.DiscardUnknown(m) -} - -var xxx_messageInfo_WebDetection_WebImage proto.InternalMessageInfo - -func (m *WebDetection_WebImage) GetUrl() string { - if m != nil { - return m.Url - } - return "" -} - -func (m *WebDetection_WebImage) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -// Metadata for web pages. -type WebDetection_WebPage struct { - // The result web page URL. - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - // (Deprecated) Overall relevancy score for the web page. - Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"` - // Title for the web page, may contain HTML markups. - PageTitle string `protobuf:"bytes,3,opt,name=page_title,json=pageTitle,proto3" json:"page_title,omitempty"` - // Fully matching images on the page. - // Can include resized copies of the query image. - FullMatchingImages []*WebDetection_WebImage `protobuf:"bytes,4,rep,name=full_matching_images,json=fullMatchingImages,proto3" json:"full_matching_images,omitempty"` - // Partial matching images on the page. - // Those images are similar enough to share some key-point features. For - // example an original image will likely have partial matching for its - // crops. - PartialMatchingImages []*WebDetection_WebImage `protobuf:"bytes,5,rep,name=partial_matching_images,json=partialMatchingImages,proto3" json:"partial_matching_images,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_05fec4ec9a1917ba, []int{0, 2} -} - -func (m *WebDetection_WebPage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebDetection_WebPage.Unmarshal(m, b) -} -func (m *WebDetection_WebPage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebDetection_WebPage.Marshal(b, m, deterministic) -} -func (m *WebDetection_WebPage) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebDetection_WebPage.Merge(m, src) -} -func (m *WebDetection_WebPage) XXX_Size() int { - return xxx_messageInfo_WebDetection_WebPage.Size(m) -} -func (m *WebDetection_WebPage) XXX_DiscardUnknown() { - xxx_messageInfo_WebDetection_WebPage.DiscardUnknown(m) -} - -var xxx_messageInfo_WebDetection_WebPage proto.InternalMessageInfo - -func (m *WebDetection_WebPage) GetUrl() string { - if m != nil { - return m.Url - } - return "" -} - -func (m *WebDetection_WebPage) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -func (m *WebDetection_WebPage) GetPageTitle() string { - if m != nil { - return m.PageTitle - } - return "" -} - -func (m *WebDetection_WebPage) GetFullMatchingImages() []*WebDetection_WebImage { - if m != nil { - return m.FullMatchingImages - } - return nil -} - -func (m *WebDetection_WebPage) GetPartialMatchingImages() []*WebDetection_WebImage { - if m != nil { - return m.PartialMatchingImages - } - return nil -} - -// Label to provide extra metadata for the web detection. -type WebDetection_WebLabel struct { - // Label for extra metadata. - Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` - // The BCP-47 language code for `label`, 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_05fec4ec9a1917ba, []int{0, 3} -} - -func (m *WebDetection_WebLabel) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebDetection_WebLabel.Unmarshal(m, b) -} -func (m *WebDetection_WebLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebDetection_WebLabel.Marshal(b, m, deterministic) -} -func (m *WebDetection_WebLabel) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebDetection_WebLabel.Merge(m, src) -} -func (m *WebDetection_WebLabel) XXX_Size() int { - return xxx_messageInfo_WebDetection_WebLabel.Size(m) -} -func (m *WebDetection_WebLabel) XXX_DiscardUnknown() { - xxx_messageInfo_WebDetection_WebLabel.DiscardUnknown(m) -} - -var xxx_messageInfo_WebDetection_WebLabel proto.InternalMessageInfo - -func (m *WebDetection_WebLabel) GetLabel() string { - if m != nil { - return m.Label - } - return "" -} - -func (m *WebDetection_WebLabel) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func init() { - proto.RegisterType((*WebDetection)(nil), "google.cloud.vision.v1p3beta1.WebDetection") - proto.RegisterType((*WebDetection_WebEntity)(nil), "google.cloud.vision.v1p3beta1.WebDetection.WebEntity") - proto.RegisterType((*WebDetection_WebImage)(nil), "google.cloud.vision.v1p3beta1.WebDetection.WebImage") - proto.RegisterType((*WebDetection_WebPage)(nil), "google.cloud.vision.v1p3beta1.WebDetection.WebPage") - proto.RegisterType((*WebDetection_WebLabel)(nil), "google.cloud.vision.v1p3beta1.WebDetection.WebLabel") -} - -func init() { - proto.RegisterFile("google/cloud/vision/v1p3beta1/web_detection.proto", fileDescriptor_05fec4ec9a1917ba) -} - -var fileDescriptor_05fec4ec9a1917ba = []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, - 0x94, 0xa8, 0x2b, 0x9c, 0xb8, 0x6d, 0x4c, 0x68, 0x12, 0x48, 0x55, 0x40, 0x1a, 0xe2, 0x92, 0x39, - 0x89, 0x97, 0xbe, 0x92, 0x1b, 0x47, 0xb1, 0xd3, 0xaa, 0x37, 0x4e, 0x7c, 0x14, 0x3e, 0x23, 0x47, - 0xf4, 0xda, 0xee, 0x54, 0x51, 0x36, 0x31, 0x86, 0xb8, 0xf9, 0x7d, 0xac, 0xe7, 0xf9, 0xd9, 0xaf, - 0xff, 0x90, 0x71, 0x29, 0x65, 0x29, 0x78, 0x9c, 0x0b, 0xd9, 0x16, 0xf1, 0x02, 0x14, 0xc8, 0x2a, - 0x5e, 0x8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 0x1f, 0x6c, - 0xea, 0x7d, 0x39, 0x75, 0x9e, 0x52, 0x62, 0x62, 0x24, 0x9b, 0x32, 0x2e, 0x79, 0x65, 0xfe, 0xb7, - 0xd8, 0x4e, 0xb1, 0x1a, 0xd4, 0x0d, 0x5f, 0xea, 0x1b, 0x2b, 0xfc, 0xf0, 0xbc, 0x6c, 0xcf, 0x58, - 0x26, 0x3f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xe5, 0xb6, 0x81, 0x34, 0x84, 0x05, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1/geometry.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1/geometry.pb.go deleted file mode 100644 index ca853c2a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1/geometry.pb.go +++ /dev/null @@ -1,272 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/vision/v1p4beta1/geometry.proto - -package vision - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A vertex represents a 2D point in the image. -// NOTE: the vertex coordinates are in the same scale as the original image. -type Vertex struct { - // X coordinate. - X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` - // Y coordinate. - Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ece6a5fb4f75daa0, []int{0} -} - -func (m *Vertex) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Vertex.Unmarshal(m, b) -} -func (m *Vertex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Vertex.Marshal(b, m, deterministic) -} -func (m *Vertex) XXX_Merge(src proto.Message) { - xxx_messageInfo_Vertex.Merge(m, src) -} -func (m *Vertex) XXX_Size() int { - return xxx_messageInfo_Vertex.Size(m) -} -func (m *Vertex) XXX_DiscardUnknown() { - xxx_messageInfo_Vertex.DiscardUnknown(m) -} - -var xxx_messageInfo_Vertex proto.InternalMessageInfo - -func (m *Vertex) GetX() int32 { - if m != nil { - return m.X - } - return 0 -} - -func (m *Vertex) GetY() int32 { - if m != nil { - return m.Y - } - return 0 -} - -// 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_ece6a5fb4f75daa0, []int{1} -} - -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 (m *NormalizedVertex) XXX_Merge(src proto.Message) { - xxx_messageInfo_NormalizedVertex.Merge(m, 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 -} - -// A bounding polygon for the detected image annotation. -type BoundingPoly struct { - // The bounding polygon vertices. - Vertices []*Vertex `protobuf:"bytes,1,rep,name=vertices,proto3" json:"vertices,omitempty"` - // The bounding polygon normalized vertices. - NormalizedVertices []*NormalizedVertex `protobuf:"bytes,2,rep,name=normalized_vertices,json=normalizedVertices,proto3" json:"normalized_vertices,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ece6a5fb4f75daa0, []int{2} -} - -func (m *BoundingPoly) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BoundingPoly.Unmarshal(m, b) -} -func (m *BoundingPoly) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BoundingPoly.Marshal(b, m, deterministic) -} -func (m *BoundingPoly) XXX_Merge(src proto.Message) { - xxx_messageInfo_BoundingPoly.Merge(m, src) -} -func (m *BoundingPoly) XXX_Size() int { - return xxx_messageInfo_BoundingPoly.Size(m) -} -func (m *BoundingPoly) XXX_DiscardUnknown() { - xxx_messageInfo_BoundingPoly.DiscardUnknown(m) -} - -var xxx_messageInfo_BoundingPoly proto.InternalMessageInfo - -func (m *BoundingPoly) GetVertices() []*Vertex { - if m != nil { - return m.Vertices - } - return nil -} - -func (m *BoundingPoly) GetNormalizedVertices() []*NormalizedVertex { - if m != nil { - return m.NormalizedVertices - } - return nil -} - -// A 3D position in the image, used primarily for Face detection landmarks. -// A valid Position must have both x and y coordinates. -// The position coordinates are in the same scale as the original image. -type Position 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"` - // Z coordinate (or depth). - Z float32 `protobuf:"fixed32,3,opt,name=z,proto3" json:"z,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ece6a5fb4f75daa0, []int{3} -} - -func (m *Position) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Position.Unmarshal(m, b) -} -func (m *Position) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Position.Marshal(b, m, deterministic) -} -func (m *Position) XXX_Merge(src proto.Message) { - xxx_messageInfo_Position.Merge(m, src) -} -func (m *Position) XXX_Size() int { - return xxx_messageInfo_Position.Size(m) -} -func (m *Position) XXX_DiscardUnknown() { - xxx_messageInfo_Position.DiscardUnknown(m) -} - -var xxx_messageInfo_Position proto.InternalMessageInfo - -func (m *Position) GetX() float32 { - if m != nil { - return m.X - } - return 0 -} - -func (m *Position) GetY() float32 { - if m != nil { - return m.Y - } - return 0 -} - -func (m *Position) GetZ() float32 { - if m != nil { - return m.Z - } - return 0 -} - -func init() { - proto.RegisterType((*Vertex)(nil), "google.cloud.vision.v1p4beta1.Vertex") - proto.RegisterType((*NormalizedVertex)(nil), "google.cloud.vision.v1p4beta1.NormalizedVertex") - proto.RegisterType((*BoundingPoly)(nil), "google.cloud.vision.v1p4beta1.BoundingPoly") - proto.RegisterType((*Position)(nil), "google.cloud.vision.v1p4beta1.Position") -} - -func init() { - proto.RegisterFile("google/cloud/vision/v1p4beta1/geometry.proto", fileDescriptor_ece6a5fb4f75daa0) -} - -var fileDescriptor_ece6a5fb4f75daa0 = []byte{ - // 311 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xb1, 0x6a, 0xf3, 0x30, - 0x14, 0x85, 0x91, 0xf3, 0xff, 0x21, 0xa8, 0x29, 0x14, 0x77, 0x31, 0xa5, 0x85, 0xd4, 0xb4, 0x90, - 0xa1, 0x48, 0xa4, 0xcd, 0xd6, 0xa9, 0xce, 0x90, 0x2d, 0x18, 0x0f, 0x19, 0xba, 0xb4, 0x8a, 0x2d, - 0x84, 0xc0, 0xd6, 0x35, 0xb2, 0x62, 0x62, 0xaf, 0x7d, 0x93, 0xbe, 0x42, 0x5f, 0xae, 0x63, 0xb1, - 0x65, 0x0c, 0x09, 0xd4, 0x1d, 0xcf, 0xd5, 0x77, 0x8f, 0x8e, 0xee, 0x15, 0x7e, 0x10, 0x00, 0x22, - 0xe5, 0x34, 0x4e, 0x61, 0x9f, 0xd0, 0x52, 0x16, 0x12, 0x14, 0x2d, 0x17, 0xf9, 0x72, 0xc7, 0x0d, - 0x5b, 0x50, 0xc1, 0x21, 0xe3, 0x46, 0x57, 0x24, 0xd7, 0x60, 0xc0, 0xbd, 0xb1, 0x34, 0x69, 0x69, - 0x62, 0x69, 0xd2, 0xd3, 0x57, 0xd7, 0x9d, 0x19, 0xcb, 0x25, 0x65, 0x4a, 0x81, 0x61, 0x46, 0x82, - 0x2a, 0x6c, 0xb3, 0x7f, 0x87, 0xc7, 0x5b, 0xae, 0x0d, 0x3f, 0xb8, 0x53, 0x8c, 0x0e, 0x1e, 0x9a, - 0xa1, 0xf9, 0xff, 0x08, 0xb5, 0xaa, 0xf2, 0x1c, 0xab, 0x2a, 0x9f, 0xe0, 0x8b, 0x0d, 0xe8, 0x8c, - 0xa5, 0xb2, 0xe6, 0xc9, 0x29, 0xef, 0x1c, 0xf1, 0x4e, 0xc3, 0x7f, 0x21, 0x3c, 0x0d, 0x60, 0xaf, - 0x12, 0xa9, 0x44, 0x08, 0x69, 0xe5, 0xbe, 0xe0, 0x49, 0xc9, 0xb5, 0x91, 0x31, 0x2f, 0x3c, 0x34, - 0x1b, 0xcd, 0xcf, 0x1e, 0xef, 0xc9, 0x60, 0x6c, 0x62, 0x6f, 0x89, 0xfa, 0x36, 0xf7, 0x1d, 0x5f, - 0xaa, 0x3e, 0xc3, 0x5b, 0xef, 0xe6, 0xb4, 0x6e, 0xf4, 0x0f, 0xb7, 0xd3, 0xf4, 0x91, 0xab, 0x8e, - 0x2a, 0x8d, 0x95, 0xbf, 0xc4, 0x93, 0x10, 0x0a, 0xd9, 0x8c, 0x67, 0xe8, 0x75, 0x8d, 0xaa, 0xbd, - 0x91, 0x55, 0x75, 0xf0, 0x81, 0xf0, 0x6d, 0x0c, 0xd9, 0x70, 0x80, 0xe0, 0x7c, 0xdd, 0x2d, 0x2d, - 0x6c, 0xc6, 0x1e, 0xa2, 0xd7, 0x55, 0xc7, 0x0b, 0x48, 0x99, 0x12, 0x04, 0xb4, 0xa0, 0x82, 0xab, - 0x76, 0x29, 0xd4, 0x1e, 0xb1, 0x5c, 0x16, 0xbf, 0x7c, 0x81, 0x67, 0x5b, 0xf8, 0x46, 0xe8, 0xd3, - 0xf9, 0xb7, 0x5e, 0x6d, 0x37, 0xbb, 0x71, 0xdb, 0xf9, 0xf4, 0x13, 0x00, 0x00, 0xff, 0xff, 0xef, - 0xec, 0x6e, 0xa2, 0x3b, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1/image_annotator.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1/image_annotator.pb.go deleted file mode 100644 index f9747464..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1/image_annotator.pb.go +++ /dev/null @@ -1,3283 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/vision/v1p4beta1/image_annotator.proto - -package vision - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - status "google.golang.org/genproto/googleapis/rpc/status" - color "google.golang.org/genproto/googleapis/type/color" - latlng "google.golang.org/genproto/googleapis/type/latlng" - _ "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A bucketized representation of likelihood, which is intended to give clients -// highly stable results across model upgrades. -type Likelihood int32 - -const ( - // Unknown likelihood. - Likelihood_UNKNOWN Likelihood = 0 - // It is very unlikely that the image belongs to the specified vertical. - Likelihood_VERY_UNLIKELY Likelihood = 1 - // It is unlikely that the image belongs to the specified vertical. - Likelihood_UNLIKELY Likelihood = 2 - // It is possible that the image belongs to the specified vertical. - Likelihood_POSSIBLE Likelihood = 3 - // It is likely that the image belongs to the specified vertical. - Likelihood_LIKELY Likelihood = 4 - // It is very likely that the image belongs to the specified vertical. - Likelihood_VERY_LIKELY Likelihood = 5 -) - -var Likelihood_name = map[int32]string{ - 0: "UNKNOWN", - 1: "VERY_UNLIKELY", - 2: "UNLIKELY", - 3: "POSSIBLE", - 4: "LIKELY", - 5: "VERY_LIKELY", -} - -var Likelihood_value = map[string]int32{ - "UNKNOWN": 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_8288fdc97aa9da03, []int{0} -} - -// Type of Google Cloud Vision API feature to be extracted. -type Feature_Type int32 - -const ( - // Unspecified feature type. - Feature_TYPE_UNSPECIFIED Feature_Type = 0 - // Run face detection. - Feature_FACE_DETECTION Feature_Type = 1 - // Run landmark detection. - Feature_LANDMARK_DETECTION Feature_Type = 2 - // Run logo detection. - Feature_LOGO_DETECTION Feature_Type = 3 - // Run label detection. - Feature_LABEL_DETECTION Feature_Type = 4 - // Run text detection / optical character recognition (OCR). Text detection - // is optimized for areas of text within a larger image; if the image is - // a document, use `DOCUMENT_TEXT_DETECTION` instead. - Feature_TEXT_DETECTION Feature_Type = 5 - // Run dense text document OCR. Takes precedence when both - // `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` are present. - Feature_DOCUMENT_TEXT_DETECTION Feature_Type = 11 - // Run Safe Search to detect potentially unsafe - // or undesirable content. - Feature_SAFE_SEARCH_DETECTION Feature_Type = 6 - // Compute a set of image properties, such as the - // image's dominant colors. - Feature_IMAGE_PROPERTIES Feature_Type = 7 - // Run crop hints. - 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{ - 0: "TYPE_UNSPECIFIED", - 1: "FACE_DETECTION", - 2: "LANDMARK_DETECTION", - 3: "LOGO_DETECTION", - 4: "LABEL_DETECTION", - 5: "TEXT_DETECTION", - 11: "DOCUMENT_TEXT_DETECTION", - 6: "SAFE_SEARCH_DETECTION", - 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, - "FACE_DETECTION": 1, - "LANDMARK_DETECTION": 2, - "LOGO_DETECTION": 3, - "LABEL_DETECTION": 4, - "TEXT_DETECTION": 5, - "DOCUMENT_TEXT_DETECTION": 11, - "SAFE_SEARCH_DETECTION": 6, - "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_8288fdc97aa9da03, []int{0, 0} -} - -// Face landmark (feature) type. -// Left and right are defined from the vantage of the viewer of the image -// without considering mirror projections typical of photos. So, `LEFT_EYE`, -// typically, is the person's right eye. -type FaceAnnotation_Landmark_Type int32 - -const ( - // Unknown face landmark detected. Should not be filled. - FaceAnnotation_Landmark_UNKNOWN_LANDMARK FaceAnnotation_Landmark_Type = 0 - // Left eye. - FaceAnnotation_Landmark_LEFT_EYE FaceAnnotation_Landmark_Type = 1 - // Right eye. - FaceAnnotation_Landmark_RIGHT_EYE FaceAnnotation_Landmark_Type = 2 - // Left of left eyebrow. - FaceAnnotation_Landmark_LEFT_OF_LEFT_EYEBROW FaceAnnotation_Landmark_Type = 3 - // Right of left eyebrow. - FaceAnnotation_Landmark_RIGHT_OF_LEFT_EYEBROW FaceAnnotation_Landmark_Type = 4 - // Left of right eyebrow. - FaceAnnotation_Landmark_LEFT_OF_RIGHT_EYEBROW FaceAnnotation_Landmark_Type = 5 - // Right of right eyebrow. - FaceAnnotation_Landmark_RIGHT_OF_RIGHT_EYEBROW FaceAnnotation_Landmark_Type = 6 - // Midpoint between eyes. - FaceAnnotation_Landmark_MIDPOINT_BETWEEN_EYES FaceAnnotation_Landmark_Type = 7 - // Nose tip. - FaceAnnotation_Landmark_NOSE_TIP FaceAnnotation_Landmark_Type = 8 - // Upper lip. - FaceAnnotation_Landmark_UPPER_LIP FaceAnnotation_Landmark_Type = 9 - // Lower lip. - FaceAnnotation_Landmark_LOWER_LIP FaceAnnotation_Landmark_Type = 10 - // Mouth left. - FaceAnnotation_Landmark_MOUTH_LEFT FaceAnnotation_Landmark_Type = 11 - // Mouth right. - FaceAnnotation_Landmark_MOUTH_RIGHT FaceAnnotation_Landmark_Type = 12 - // Mouth center. - FaceAnnotation_Landmark_MOUTH_CENTER FaceAnnotation_Landmark_Type = 13 - // Nose, bottom right. - FaceAnnotation_Landmark_NOSE_BOTTOM_RIGHT FaceAnnotation_Landmark_Type = 14 - // Nose, bottom left. - FaceAnnotation_Landmark_NOSE_BOTTOM_LEFT FaceAnnotation_Landmark_Type = 15 - // Nose, bottom center. - FaceAnnotation_Landmark_NOSE_BOTTOM_CENTER FaceAnnotation_Landmark_Type = 16 - // Left eye, top boundary. - FaceAnnotation_Landmark_LEFT_EYE_TOP_BOUNDARY FaceAnnotation_Landmark_Type = 17 - // Left eye, right corner. - FaceAnnotation_Landmark_LEFT_EYE_RIGHT_CORNER FaceAnnotation_Landmark_Type = 18 - // Left eye, bottom boundary. - FaceAnnotation_Landmark_LEFT_EYE_BOTTOM_BOUNDARY FaceAnnotation_Landmark_Type = 19 - // Left eye, left corner. - FaceAnnotation_Landmark_LEFT_EYE_LEFT_CORNER FaceAnnotation_Landmark_Type = 20 - // Right eye, top boundary. - FaceAnnotation_Landmark_RIGHT_EYE_TOP_BOUNDARY FaceAnnotation_Landmark_Type = 21 - // Right eye, right corner. - FaceAnnotation_Landmark_RIGHT_EYE_RIGHT_CORNER FaceAnnotation_Landmark_Type = 22 - // Right eye, bottom boundary. - FaceAnnotation_Landmark_RIGHT_EYE_BOTTOM_BOUNDARY FaceAnnotation_Landmark_Type = 23 - // Right eye, left corner. - FaceAnnotation_Landmark_RIGHT_EYE_LEFT_CORNER FaceAnnotation_Landmark_Type = 24 - // Left eyebrow, upper midpoint. - FaceAnnotation_Landmark_LEFT_EYEBROW_UPPER_MIDPOINT FaceAnnotation_Landmark_Type = 25 - // Right eyebrow, upper midpoint. - FaceAnnotation_Landmark_RIGHT_EYEBROW_UPPER_MIDPOINT FaceAnnotation_Landmark_Type = 26 - // Left ear tragion. - FaceAnnotation_Landmark_LEFT_EAR_TRAGION FaceAnnotation_Landmark_Type = 27 - // Right ear tragion. - FaceAnnotation_Landmark_RIGHT_EAR_TRAGION FaceAnnotation_Landmark_Type = 28 - // Left eye pupil. - FaceAnnotation_Landmark_LEFT_EYE_PUPIL FaceAnnotation_Landmark_Type = 29 - // Right eye pupil. - FaceAnnotation_Landmark_RIGHT_EYE_PUPIL FaceAnnotation_Landmark_Type = 30 - // Forehead glabella. - FaceAnnotation_Landmark_FOREHEAD_GLABELLA FaceAnnotation_Landmark_Type = 31 - // Chin gnathion. - FaceAnnotation_Landmark_CHIN_GNATHION FaceAnnotation_Landmark_Type = 32 - // Chin left gonion. - FaceAnnotation_Landmark_CHIN_LEFT_GONION FaceAnnotation_Landmark_Type = 33 - // Chin right gonion. - FaceAnnotation_Landmark_CHIN_RIGHT_GONION FaceAnnotation_Landmark_Type = 34 -) - -var FaceAnnotation_Landmark_Type_name = map[int32]string{ - 0: "UNKNOWN_LANDMARK", - 1: "LEFT_EYE", - 2: "RIGHT_EYE", - 3: "LEFT_OF_LEFT_EYEBROW", - 4: "RIGHT_OF_LEFT_EYEBROW", - 5: "LEFT_OF_RIGHT_EYEBROW", - 6: "RIGHT_OF_RIGHT_EYEBROW", - 7: "MIDPOINT_BETWEEN_EYES", - 8: "NOSE_TIP", - 9: "UPPER_LIP", - 10: "LOWER_LIP", - 11: "MOUTH_LEFT", - 12: "MOUTH_RIGHT", - 13: "MOUTH_CENTER", - 14: "NOSE_BOTTOM_RIGHT", - 15: "NOSE_BOTTOM_LEFT", - 16: "NOSE_BOTTOM_CENTER", - 17: "LEFT_EYE_TOP_BOUNDARY", - 18: "LEFT_EYE_RIGHT_CORNER", - 19: "LEFT_EYE_BOTTOM_BOUNDARY", - 20: "LEFT_EYE_LEFT_CORNER", - 21: "RIGHT_EYE_TOP_BOUNDARY", - 22: "RIGHT_EYE_RIGHT_CORNER", - 23: "RIGHT_EYE_BOTTOM_BOUNDARY", - 24: "RIGHT_EYE_LEFT_CORNER", - 25: "LEFT_EYEBROW_UPPER_MIDPOINT", - 26: "RIGHT_EYEBROW_UPPER_MIDPOINT", - 27: "LEFT_EAR_TRAGION", - 28: "RIGHT_EAR_TRAGION", - 29: "LEFT_EYE_PUPIL", - 30: "RIGHT_EYE_PUPIL", - 31: "FOREHEAD_GLABELLA", - 32: "CHIN_GNATHION", - 33: "CHIN_LEFT_GONION", - 34: "CHIN_RIGHT_GONION", -} - -var FaceAnnotation_Landmark_Type_value = map[string]int32{ - "UNKNOWN_LANDMARK": 0, - "LEFT_EYE": 1, - "RIGHT_EYE": 2, - "LEFT_OF_LEFT_EYEBROW": 3, - "RIGHT_OF_LEFT_EYEBROW": 4, - "LEFT_OF_RIGHT_EYEBROW": 5, - "RIGHT_OF_RIGHT_EYEBROW": 6, - "MIDPOINT_BETWEEN_EYES": 7, - "NOSE_TIP": 8, - "UPPER_LIP": 9, - "LOWER_LIP": 10, - "MOUTH_LEFT": 11, - "MOUTH_RIGHT": 12, - "MOUTH_CENTER": 13, - "NOSE_BOTTOM_RIGHT": 14, - "NOSE_BOTTOM_LEFT": 15, - "NOSE_BOTTOM_CENTER": 16, - "LEFT_EYE_TOP_BOUNDARY": 17, - "LEFT_EYE_RIGHT_CORNER": 18, - "LEFT_EYE_BOTTOM_BOUNDARY": 19, - "LEFT_EYE_LEFT_CORNER": 20, - "RIGHT_EYE_TOP_BOUNDARY": 21, - "RIGHT_EYE_RIGHT_CORNER": 22, - "RIGHT_EYE_BOTTOM_BOUNDARY": 23, - "RIGHT_EYE_LEFT_CORNER": 24, - "LEFT_EYEBROW_UPPER_MIDPOINT": 25, - "RIGHT_EYEBROW_UPPER_MIDPOINT": 26, - "LEFT_EAR_TRAGION": 27, - "RIGHT_EAR_TRAGION": 28, - "LEFT_EYE_PUPIL": 29, - "RIGHT_EYE_PUPIL": 30, - "FOREHEAD_GLABELLA": 31, - "CHIN_GNATHION": 32, - "CHIN_LEFT_GONION": 33, - "CHIN_RIGHT_GONION": 34, -} - -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_8288fdc97aa9da03, []int{3, 0, 0} -} - -// Batch operation states. -type OperationMetadata_State int32 - -const ( - // Invalid. - OperationMetadata_STATE_UNSPECIFIED OperationMetadata_State = 0 - // Request is received. - OperationMetadata_CREATED OperationMetadata_State = 1 - // Request is actively being processed. - OperationMetadata_RUNNING OperationMetadata_State = 2 - // The batch processing is done. - OperationMetadata_DONE OperationMetadata_State = 3 - // The batch processing was cancelled. - OperationMetadata_CANCELLED OperationMetadata_State = 4 -) - -var OperationMetadata_State_name = map[int32]string{ - 0: "STATE_UNSPECIFIED", - 1: "CREATED", - 2: "RUNNING", - 3: "DONE", - 4: "CANCELLED", -} - -var OperationMetadata_State_value = map[string]int32{ - "STATE_UNSPECIFIED": 0, - "CREATED": 1, - "RUNNING": 2, - "DONE": 3, - "CANCELLED": 4, -} - -func (x OperationMetadata_State) String() string { - return proto.EnumName(OperationMetadata_State_name, int32(x)) -} - -func (OperationMetadata_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8288fdc97aa9da03, []int{37, 0} -} - -// The type of Google Cloud Vision API detection to perform, and the maximum -// number of results to return for that type. Multiple `Feature` objects can -// be specified in the `features` list. -type Feature struct { - // The feature type. - Type Feature_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.vision.v1p4beta1.Feature_Type" json:"type,omitempty"` - // Maximum number of results of this type. Does not apply to - // `TEXT_DETECTION`, `DOCUMENT_TEXT_DETECTION`, or `CROP_HINTS`. - MaxResults int32 `protobuf:"varint,2,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"` - // Model to use for the feature. - // 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 *Feature) Reset() { *m = Feature{} } -func (m *Feature) String() string { return proto.CompactTextString(m) } -func (*Feature) ProtoMessage() {} -func (*Feature) Descriptor() ([]byte, []int) { - return fileDescriptor_8288fdc97aa9da03, []int{0} -} - -func (m *Feature) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Feature.Unmarshal(m, b) -} -func (m *Feature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Feature.Marshal(b, m, deterministic) -} -func (m *Feature) XXX_Merge(src proto.Message) { - xxx_messageInfo_Feature.Merge(m, src) -} -func (m *Feature) XXX_Size() int { - return xxx_messageInfo_Feature.Size(m) -} -func (m *Feature) XXX_DiscardUnknown() { - xxx_messageInfo_Feature.DiscardUnknown(m) -} - -var xxx_messageInfo_Feature proto.InternalMessageInfo - -func (m *Feature) GetType() Feature_Type { - if m != nil { - return m.Type - } - return Feature_TYPE_UNSPECIFIED -} - -func (m *Feature) GetMaxResults() int32 { - if m != nil { - return m.MaxResults - } - return 0 -} - -func (m *Feature) GetModel() string { - if m != nil { - return m.Model - } - return "" -} - -// External image source (Google Cloud Storage or web URL image location). -type ImageSource struct { - // **Use `image_uri` instead.** - // - // The Google Cloud Storage URI of the form - // `gs://bucket_name/object_name`. Object versioning is not supported. See - // [Google Cloud Storage Request - // URIs](https://cloud.google.com/storage/docs/reference-uris) for more info. - GcsImageUri string `protobuf:"bytes,1,opt,name=gcs_image_uri,json=gcsImageUri,proto3" json:"gcs_image_uri,omitempty"` - // The URI of the source image. Can be either: - // - // 1. A Google Cloud Storage URI of the form - // `gs://bucket_name/object_name`. Object versioning is not supported. See - // [Google Cloud Storage Request - // URIs](https://cloud.google.com/storage/docs/reference-uris) for more - // info. - // - // 2. A publicly-accessible image HTTP/HTTPS URL. When fetching images from - // HTTP/HTTPS URLs, Google cannot guarantee that the request will be - // completed. Your request may fail if the specified host denies the - // request (e.g. due to request throttling or DOS prevention), or if Google - // throttles requests to the site for abuse prevention. You should not - // depend on externally-hosted images for production applications. - // - // When both `gcs_image_uri` and `image_uri` are specified, `image_uri` takes - // precedence. - ImageUri string `protobuf:"bytes,2,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8288fdc97aa9da03, []int{1} -} - -func (m *ImageSource) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageSource.Unmarshal(m, b) -} -func (m *ImageSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageSource.Marshal(b, m, deterministic) -} -func (m *ImageSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageSource.Merge(m, src) -} -func (m *ImageSource) XXX_Size() int { - return xxx_messageInfo_ImageSource.Size(m) -} -func (m *ImageSource) XXX_DiscardUnknown() { - xxx_messageInfo_ImageSource.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageSource proto.InternalMessageInfo - -func (m *ImageSource) GetGcsImageUri() string { - if m != nil { - return m.GcsImageUri - } - return "" -} - -func (m *ImageSource) GetImageUri() string { - if m != nil { - return m.ImageUri - } - return "" -} - -// Client image to perform Google Cloud Vision API tasks over. -type Image struct { - // Image content, represented as a stream of bytes. - // Note: As with all `bytes` fields, protobuffers use a pure binary - // representation, whereas JSON representations use base64. - Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` - // Google Cloud Storage image location, or publicly-accessible image - // URL. If both `content` and `source` are provided for an image, `content` - // takes precedence and is used to perform the image annotation request. - Source *ImageSource `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8288fdc97aa9da03, []int{2} -} - -func (m *Image) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Image.Unmarshal(m, b) -} -func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Image.Marshal(b, m, deterministic) -} -func (m *Image) XXX_Merge(src proto.Message) { - xxx_messageInfo_Image.Merge(m, src) -} -func (m *Image) XXX_Size() int { - return xxx_messageInfo_Image.Size(m) -} -func (m *Image) XXX_DiscardUnknown() { - xxx_messageInfo_Image.DiscardUnknown(m) -} - -var xxx_messageInfo_Image proto.InternalMessageInfo - -func (m *Image) GetContent() []byte { - if m != nil { - return m.Content - } - return nil -} - -func (m *Image) GetSource() *ImageSource { - if m != nil { - return m.Source - } - return nil -} - -// A face annotation object contains the results of face detection. -type FaceAnnotation struct { - // The bounding polygon around the face. The coordinates of the bounding box - // are in the original image's scale. - // The bounding box is computed to "frame" the face in accordance with human - // expectations. It is based on the landmarker results. - // Note that one or more x and/or y coordinates may not be generated in the - // `BoundingPoly` (the polygon will be unbounded) if only a partial face - // appears in the image to be annotated. - BoundingPoly *BoundingPoly `protobuf:"bytes,1,opt,name=bounding_poly,json=boundingPoly,proto3" json:"bounding_poly,omitempty"` - // The `fd_bounding_poly` bounding polygon is tighter than the - // `boundingPoly`, and encloses only the skin part of the face. Typically, it - // is used to eliminate the face from any image analysis that detects the - // "amount of skin" visible in an image. It is not based on the - // landmarker results, only on the initial face detection, hence - // the fd (face detection) prefix. - FdBoundingPoly *BoundingPoly `protobuf:"bytes,2,opt,name=fd_bounding_poly,json=fdBoundingPoly,proto3" json:"fd_bounding_poly,omitempty"` - // Detected face landmarks. - Landmarks []*FaceAnnotation_Landmark `protobuf:"bytes,3,rep,name=landmarks,proto3" json:"landmarks,omitempty"` - // Roll angle, which indicates the amount of clockwise/anti-clockwise rotation - // of the face relative to the image vertical about the axis perpendicular to - // the face. Range [-180,180]. - RollAngle float32 `protobuf:"fixed32,4,opt,name=roll_angle,json=rollAngle,proto3" json:"roll_angle,omitempty"` - // Yaw angle, which indicates the leftward/rightward angle that the face is - // pointing relative to the vertical plane perpendicular to the image. Range - // [-180,180]. - PanAngle float32 `protobuf:"fixed32,5,opt,name=pan_angle,json=panAngle,proto3" json:"pan_angle,omitempty"` - // Pitch angle, which indicates the upwards/downwards angle that the face is - // pointing relative to the image's horizontal plane. Range [-180,180]. - TiltAngle float32 `protobuf:"fixed32,6,opt,name=tilt_angle,json=tiltAngle,proto3" json:"tilt_angle,omitempty"` - // Detection confidence. Range [0, 1]. - DetectionConfidence float32 `protobuf:"fixed32,7,opt,name=detection_confidence,json=detectionConfidence,proto3" json:"detection_confidence,omitempty"` - // Face landmarking confidence. Range [0, 1]. - LandmarkingConfidence float32 `protobuf:"fixed32,8,opt,name=landmarking_confidence,json=landmarkingConfidence,proto3" json:"landmarking_confidence,omitempty"` - // Joy likelihood. - JoyLikelihood Likelihood `protobuf:"varint,9,opt,name=joy_likelihood,json=joyLikelihood,proto3,enum=google.cloud.vision.v1p4beta1.Likelihood" json:"joy_likelihood,omitempty"` - // Sorrow likelihood. - SorrowLikelihood Likelihood `protobuf:"varint,10,opt,name=sorrow_likelihood,json=sorrowLikelihood,proto3,enum=google.cloud.vision.v1p4beta1.Likelihood" json:"sorrow_likelihood,omitempty"` - // Anger likelihood. - AngerLikelihood Likelihood `protobuf:"varint,11,opt,name=anger_likelihood,json=angerLikelihood,proto3,enum=google.cloud.vision.v1p4beta1.Likelihood" json:"anger_likelihood,omitempty"` - // Surprise likelihood. - SurpriseLikelihood Likelihood `protobuf:"varint,12,opt,name=surprise_likelihood,json=surpriseLikelihood,proto3,enum=google.cloud.vision.v1p4beta1.Likelihood" json:"surprise_likelihood,omitempty"` - // Under-exposed likelihood. - UnderExposedLikelihood Likelihood `protobuf:"varint,13,opt,name=under_exposed_likelihood,json=underExposedLikelihood,proto3,enum=google.cloud.vision.v1p4beta1.Likelihood" json:"under_exposed_likelihood,omitempty"` - // Blurred likelihood. - BlurredLikelihood Likelihood `protobuf:"varint,14,opt,name=blurred_likelihood,json=blurredLikelihood,proto3,enum=google.cloud.vision.v1p4beta1.Likelihood" json:"blurred_likelihood,omitempty"` - // Headwear likelihood. - HeadwearLikelihood Likelihood `protobuf:"varint,15,opt,name=headwear_likelihood,json=headwearLikelihood,proto3,enum=google.cloud.vision.v1p4beta1.Likelihood" json:"headwear_likelihood,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8288fdc97aa9da03, []int{3} -} - -func (m *FaceAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FaceAnnotation.Unmarshal(m, b) -} -func (m *FaceAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FaceAnnotation.Marshal(b, m, deterministic) -} -func (m *FaceAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_FaceAnnotation.Merge(m, src) -} -func (m *FaceAnnotation) XXX_Size() int { - return xxx_messageInfo_FaceAnnotation.Size(m) -} -func (m *FaceAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_FaceAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_FaceAnnotation proto.InternalMessageInfo - -func (m *FaceAnnotation) GetBoundingPoly() *BoundingPoly { - if m != nil { - return m.BoundingPoly - } - return nil -} - -func (m *FaceAnnotation) GetFdBoundingPoly() *BoundingPoly { - if m != nil { - return m.FdBoundingPoly - } - return nil -} - -func (m *FaceAnnotation) GetLandmarks() []*FaceAnnotation_Landmark { - if m != nil { - return m.Landmarks - } - return nil -} - -func (m *FaceAnnotation) GetRollAngle() float32 { - if m != nil { - return m.RollAngle - } - return 0 -} - -func (m *FaceAnnotation) GetPanAngle() float32 { - if m != nil { - return m.PanAngle - } - return 0 -} - -func (m *FaceAnnotation) GetTiltAngle() float32 { - if m != nil { - return m.TiltAngle - } - return 0 -} - -func (m *FaceAnnotation) GetDetectionConfidence() float32 { - if m != nil { - return m.DetectionConfidence - } - return 0 -} - -func (m *FaceAnnotation) GetLandmarkingConfidence() float32 { - if m != nil { - return m.LandmarkingConfidence - } - return 0 -} - -func (m *FaceAnnotation) GetJoyLikelihood() Likelihood { - if m != nil { - return m.JoyLikelihood - } - return Likelihood_UNKNOWN -} - -func (m *FaceAnnotation) GetSorrowLikelihood() Likelihood { - if m != nil { - return m.SorrowLikelihood - } - return Likelihood_UNKNOWN -} - -func (m *FaceAnnotation) GetAngerLikelihood() Likelihood { - if m != nil { - return m.AngerLikelihood - } - return Likelihood_UNKNOWN -} - -func (m *FaceAnnotation) GetSurpriseLikelihood() Likelihood { - if m != nil { - return m.SurpriseLikelihood - } - return Likelihood_UNKNOWN -} - -func (m *FaceAnnotation) GetUnderExposedLikelihood() Likelihood { - if m != nil { - return m.UnderExposedLikelihood - } - return Likelihood_UNKNOWN -} - -func (m *FaceAnnotation) GetBlurredLikelihood() Likelihood { - if m != nil { - return m.BlurredLikelihood - } - return Likelihood_UNKNOWN -} - -func (m *FaceAnnotation) GetHeadwearLikelihood() Likelihood { - if m != nil { - return m.HeadwearLikelihood - } - return Likelihood_UNKNOWN -} - -// A face-specific landmark (for example, a face feature). -type FaceAnnotation_Landmark struct { - // Face landmark type. - Type FaceAnnotation_Landmark_Type `protobuf:"varint,3,opt,name=type,proto3,enum=google.cloud.vision.v1p4beta1.FaceAnnotation_Landmark_Type" json:"type,omitempty"` - // Face landmark position. - Position *Position `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8288fdc97aa9da03, []int{3, 0} -} - -func (m *FaceAnnotation_Landmark) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FaceAnnotation_Landmark.Unmarshal(m, b) -} -func (m *FaceAnnotation_Landmark) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FaceAnnotation_Landmark.Marshal(b, m, deterministic) -} -func (m *FaceAnnotation_Landmark) XXX_Merge(src proto.Message) { - xxx_messageInfo_FaceAnnotation_Landmark.Merge(m, src) -} -func (m *FaceAnnotation_Landmark) XXX_Size() int { - return xxx_messageInfo_FaceAnnotation_Landmark.Size(m) -} -func (m *FaceAnnotation_Landmark) XXX_DiscardUnknown() { - xxx_messageInfo_FaceAnnotation_Landmark.DiscardUnknown(m) -} - -var xxx_messageInfo_FaceAnnotation_Landmark proto.InternalMessageInfo - -func (m *FaceAnnotation_Landmark) GetType() FaceAnnotation_Landmark_Type { - if m != nil { - return m.Type - } - return FaceAnnotation_Landmark_UNKNOWN_LANDMARK -} - -func (m *FaceAnnotation_Landmark) GetPosition() *Position { - if m != nil { - return m.Position - } - return nil -} - -// Detected entity location information. -type LocationInfo struct { - // lat/long location coordinates. - LatLng *latlng.LatLng `protobuf:"bytes,1,opt,name=lat_lng,json=latLng,proto3" json:"lat_lng,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_8288fdc97aa9da03, []int{4} -} - -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 (m *LocationInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocationInfo.Merge(m, 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) GetLatLng() *latlng.LatLng { - if m != nil { - return m.LatLng - } - return nil -} - -// A `Property` consists of a user-supplied name/value pair. -type Property struct { - // Name of the property. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Value of the property. - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - // Value of numeric properties. - Uint64Value uint64 `protobuf:"varint,3,opt,name=uint64_value,json=uint64Value,proto3" json:"uint64_value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8288fdc97aa9da03, []int{5} -} - -func (m *Property) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Property.Unmarshal(m, b) -} -func (m *Property) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Property.Marshal(b, m, deterministic) -} -func (m *Property) XXX_Merge(src proto.Message) { - xxx_messageInfo_Property.Merge(m, src) -} -func (m *Property) XXX_Size() int { - return xxx_messageInfo_Property.Size(m) -} -func (m *Property) XXX_DiscardUnknown() { - xxx_messageInfo_Property.DiscardUnknown(m) -} - -var xxx_messageInfo_Property proto.InternalMessageInfo - -func (m *Property) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Property) GetValue() string { - if m != nil { - return m.Value - } - return "" -} - -func (m *Property) GetUint64Value() uint64 { - if m != nil { - return m.Uint64Value - } - return 0 -} - -// Set of detected entity features. -type EntityAnnotation struct { - // Opaque entity ID. Some IDs may be available in - // [Google Knowledge Graph Search - // API](https://developers.google.com/knowledge-graph/). - Mid string `protobuf:"bytes,1,opt,name=mid,proto3" json:"mid,omitempty"` - // The language code for the locale in which the entity textual - // `description` is expressed. - Locale string `protobuf:"bytes,2,opt,name=locale,proto3" json:"locale,omitempty"` - // Entity textual description, expressed in its `locale` language. - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - // Overall score of the result. Range [0, 1]. - Score float32 `protobuf:"fixed32,4,opt,name=score,proto3" json:"score,omitempty"` - // **Deprecated. Use `score` instead.** - // The accuracy of the entity detection in an image. - // 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"` // 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 - // detected distant towering building, even though the confidence that - // there is a tower in each image may be the same. Range [0, 1]. - Topicality float32 `protobuf:"fixed32,6,opt,name=topicality,proto3" json:"topicality,omitempty"` - // Image region to which this entity belongs. Not produced - // for `LABEL_DETECTION` features. - BoundingPoly *BoundingPoly `protobuf:"bytes,7,opt,name=bounding_poly,json=boundingPoly,proto3" json:"bounding_poly,omitempty"` - // The location information for the detected entity. Multiple - // `LocationInfo` elements can be present because one location may - // indicate the location of the scene in the image, and another location - // may indicate the location of the place where the image was taken. - // Location information is usually present for landmarks. - Locations []*LocationInfo `protobuf:"bytes,8,rep,name=locations,proto3" json:"locations,omitempty"` - // Some entities may have optional user-supplied `Property` (name/value) - // fields, such a score or string that qualifies the entity. - Properties []*Property `protobuf:"bytes,9,rep,name=properties,proto3" json:"properties,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8288fdc97aa9da03, []int{6} -} - -func (m *EntityAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EntityAnnotation.Unmarshal(m, b) -} -func (m *EntityAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EntityAnnotation.Marshal(b, m, deterministic) -} -func (m *EntityAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_EntityAnnotation.Merge(m, src) -} -func (m *EntityAnnotation) XXX_Size() int { - return xxx_messageInfo_EntityAnnotation.Size(m) -} -func (m *EntityAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_EntityAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_EntityAnnotation proto.InternalMessageInfo - -func (m *EntityAnnotation) GetMid() string { - if m != nil { - return m.Mid - } - return "" -} - -func (m *EntityAnnotation) GetLocale() string { - if m != nil { - return m.Locale - } - return "" -} - -func (m *EntityAnnotation) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *EntityAnnotation) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -// Deprecated: Do not use. -func (m *EntityAnnotation) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -func (m *EntityAnnotation) GetTopicality() float32 { - if m != nil { - return m.Topicality - } - return 0 -} - -func (m *EntityAnnotation) GetBoundingPoly() *BoundingPoly { - if m != nil { - return m.BoundingPoly - } - return nil -} - -func (m *EntityAnnotation) GetLocations() []*LocationInfo { - if m != nil { - return m.Locations - } - return nil -} - -func (m *EntityAnnotation) GetProperties() []*Property { - if m != nil { - return m.Properties - } - 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_8288fdc97aa9da03, []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 (m *LocalizedObjectAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocalizedObjectAnnotation.Merge(m, 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). -type SafeSearchAnnotation struct { - // Represents the adult content likelihood for the image. Adult content may - // contain elements such as nudity, pornographic images or cartoons, or - // sexual activities. - Adult Likelihood `protobuf:"varint,1,opt,name=adult,proto3,enum=google.cloud.vision.v1p4beta1.Likelihood" json:"adult,omitempty"` - // Spoof likelihood. The likelihood that an modification - // was made to the image's canonical version to make it appear - // funny or offensive. - Spoof Likelihood `protobuf:"varint,2,opt,name=spoof,proto3,enum=google.cloud.vision.v1p4beta1.Likelihood" json:"spoof,omitempty"` - // Likelihood that this is a medical image. - Medical Likelihood `protobuf:"varint,3,opt,name=medical,proto3,enum=google.cloud.vision.v1p4beta1.Likelihood" json:"medical,omitempty"` - // Likelihood that this image contains violent content. - Violence Likelihood `protobuf:"varint,4,opt,name=violence,proto3,enum=google.cloud.vision.v1p4beta1.Likelihood" json:"violence,omitempty"` - // Likelihood that the request image contains racy content. Racy content may - // include (but is not limited to) skimpy or sheer clothing, strategically - // covered nudity, lewd or provocative poses, or close-ups of sensitive - // body areas. - Racy Likelihood `protobuf:"varint,9,opt,name=racy,proto3,enum=google.cloud.vision.v1p4beta1.Likelihood" json:"racy,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8288fdc97aa9da03, []int{8} -} - -func (m *SafeSearchAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SafeSearchAnnotation.Unmarshal(m, b) -} -func (m *SafeSearchAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SafeSearchAnnotation.Marshal(b, m, deterministic) -} -func (m *SafeSearchAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_SafeSearchAnnotation.Merge(m, src) -} -func (m *SafeSearchAnnotation) XXX_Size() int { - return xxx_messageInfo_SafeSearchAnnotation.Size(m) -} -func (m *SafeSearchAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_SafeSearchAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_SafeSearchAnnotation proto.InternalMessageInfo - -func (m *SafeSearchAnnotation) GetAdult() Likelihood { - if m != nil { - return m.Adult - } - return Likelihood_UNKNOWN -} - -func (m *SafeSearchAnnotation) GetSpoof() Likelihood { - if m != nil { - return m.Spoof - } - return Likelihood_UNKNOWN -} - -func (m *SafeSearchAnnotation) GetMedical() Likelihood { - if m != nil { - return m.Medical - } - return Likelihood_UNKNOWN -} - -func (m *SafeSearchAnnotation) GetViolence() Likelihood { - if m != nil { - return m.Violence - } - return Likelihood_UNKNOWN -} - -func (m *SafeSearchAnnotation) GetRacy() Likelihood { - if m != nil { - return m.Racy - } - return Likelihood_UNKNOWN -} - -// Rectangle determined by min and max `LatLng` pairs. -type LatLongRect struct { - // Min lat/long pair. - MinLatLng *latlng.LatLng `protobuf:"bytes,1,opt,name=min_lat_lng,json=minLatLng,proto3" json:"min_lat_lng,omitempty"` - // Max lat/long pair. - MaxLatLng *latlng.LatLng `protobuf:"bytes,2,opt,name=max_lat_lng,json=maxLatLng,proto3" json:"max_lat_lng,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8288fdc97aa9da03, []int{9} -} - -func (m *LatLongRect) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LatLongRect.Unmarshal(m, b) -} -func (m *LatLongRect) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LatLongRect.Marshal(b, m, deterministic) -} -func (m *LatLongRect) XXX_Merge(src proto.Message) { - xxx_messageInfo_LatLongRect.Merge(m, src) -} -func (m *LatLongRect) XXX_Size() int { - return xxx_messageInfo_LatLongRect.Size(m) -} -func (m *LatLongRect) XXX_DiscardUnknown() { - xxx_messageInfo_LatLongRect.DiscardUnknown(m) -} - -var xxx_messageInfo_LatLongRect proto.InternalMessageInfo - -func (m *LatLongRect) GetMinLatLng() *latlng.LatLng { - if m != nil { - return m.MinLatLng - } - return nil -} - -func (m *LatLongRect) GetMaxLatLng() *latlng.LatLng { - if m != nil { - return m.MaxLatLng - } - return nil -} - -// Color information consists of RGB channels, score, and the fraction of -// the image that the color occupies in the image. -type ColorInfo struct { - // RGB components of the color. - Color *color.Color `protobuf:"bytes,1,opt,name=color,proto3" json:"color,omitempty"` - // Image-specific score for this color. Value in range [0, 1]. - Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"` - // The fraction of pixels the color occupies in the image. - // Value in range [0, 1]. - PixelFraction float32 `protobuf:"fixed32,3,opt,name=pixel_fraction,json=pixelFraction,proto3" json:"pixel_fraction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8288fdc97aa9da03, []int{10} -} - -func (m *ColorInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ColorInfo.Unmarshal(m, b) -} -func (m *ColorInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ColorInfo.Marshal(b, m, deterministic) -} -func (m *ColorInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ColorInfo.Merge(m, src) -} -func (m *ColorInfo) XXX_Size() int { - return xxx_messageInfo_ColorInfo.Size(m) -} -func (m *ColorInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ColorInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_ColorInfo proto.InternalMessageInfo - -func (m *ColorInfo) GetColor() *color.Color { - if m != nil { - return m.Color - } - return nil -} - -func (m *ColorInfo) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -func (m *ColorInfo) GetPixelFraction() float32 { - if m != nil { - return m.PixelFraction - } - return 0 -} - -// Set of dominant colors and their corresponding scores. -type DominantColorsAnnotation struct { - // RGB color values with their score and pixel fraction. - Colors []*ColorInfo `protobuf:"bytes,1,rep,name=colors,proto3" json:"colors,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DominantColorsAnnotation) Reset() { *m = DominantColorsAnnotation{} } -func (m *DominantColorsAnnotation) String() string { return proto.CompactTextString(m) } -func (*DominantColorsAnnotation) ProtoMessage() {} -func (*DominantColorsAnnotation) Descriptor() ([]byte, []int) { - return fileDescriptor_8288fdc97aa9da03, []int{11} -} - -func (m *DominantColorsAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DominantColorsAnnotation.Unmarshal(m, b) -} -func (m *DominantColorsAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DominantColorsAnnotation.Marshal(b, m, deterministic) -} -func (m *DominantColorsAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_DominantColorsAnnotation.Merge(m, src) -} -func (m *DominantColorsAnnotation) XXX_Size() int { - return xxx_messageInfo_DominantColorsAnnotation.Size(m) -} -func (m *DominantColorsAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_DominantColorsAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_DominantColorsAnnotation proto.InternalMessageInfo - -func (m *DominantColorsAnnotation) GetColors() []*ColorInfo { - if m != nil { - return m.Colors - } - return nil -} - -// Stores image properties, such as dominant colors. -type ImageProperties struct { - // If present, dominant colors completed successfully. - DominantColors *DominantColorsAnnotation `protobuf:"bytes,1,opt,name=dominant_colors,json=dominantColors,proto3" json:"dominant_colors,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8288fdc97aa9da03, []int{12} -} - -func (m *ImageProperties) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageProperties.Unmarshal(m, b) -} -func (m *ImageProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageProperties.Marshal(b, m, deterministic) -} -func (m *ImageProperties) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageProperties.Merge(m, src) -} -func (m *ImageProperties) XXX_Size() int { - return xxx_messageInfo_ImageProperties.Size(m) -} -func (m *ImageProperties) XXX_DiscardUnknown() { - xxx_messageInfo_ImageProperties.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageProperties proto.InternalMessageInfo - -func (m *ImageProperties) GetDominantColors() *DominantColorsAnnotation { - if m != nil { - return m.DominantColors - } - return nil -} - -// Single crop hint that is used to generate a new crop when serving an image. -type CropHint struct { - // The bounding polygon for the crop region. The coordinates of the bounding - // box are in the original image's scale. - BoundingPoly *BoundingPoly `protobuf:"bytes,1,opt,name=bounding_poly,json=boundingPoly,proto3" json:"bounding_poly,omitempty"` - // Confidence of this being a salient region. Range [0, 1]. - Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"` - // Fraction of importance of this salient region with respect to the original - // image. - ImportanceFraction float32 `protobuf:"fixed32,3,opt,name=importance_fraction,json=importanceFraction,proto3" json:"importance_fraction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8288fdc97aa9da03, []int{13} -} - -func (m *CropHint) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CropHint.Unmarshal(m, b) -} -func (m *CropHint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CropHint.Marshal(b, m, deterministic) -} -func (m *CropHint) XXX_Merge(src proto.Message) { - xxx_messageInfo_CropHint.Merge(m, src) -} -func (m *CropHint) XXX_Size() int { - return xxx_messageInfo_CropHint.Size(m) -} -func (m *CropHint) XXX_DiscardUnknown() { - xxx_messageInfo_CropHint.DiscardUnknown(m) -} - -var xxx_messageInfo_CropHint proto.InternalMessageInfo - -func (m *CropHint) GetBoundingPoly() *BoundingPoly { - if m != nil { - return m.BoundingPoly - } - return nil -} - -func (m *CropHint) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -func (m *CropHint) GetImportanceFraction() float32 { - if m != nil { - return m.ImportanceFraction - } - return 0 -} - -// Set of crop hints that are used to generate new crops when serving images. -type CropHintsAnnotation struct { - // Crop hint results. - CropHints []*CropHint `protobuf:"bytes,1,rep,name=crop_hints,json=cropHints,proto3" json:"crop_hints,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8288fdc97aa9da03, []int{14} -} - -func (m *CropHintsAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CropHintsAnnotation.Unmarshal(m, b) -} -func (m *CropHintsAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CropHintsAnnotation.Marshal(b, m, deterministic) -} -func (m *CropHintsAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_CropHintsAnnotation.Merge(m, src) -} -func (m *CropHintsAnnotation) XXX_Size() int { - return xxx_messageInfo_CropHintsAnnotation.Size(m) -} -func (m *CropHintsAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_CropHintsAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_CropHintsAnnotation proto.InternalMessageInfo - -func (m *CropHintsAnnotation) GetCropHints() []*CropHint { - if m != nil { - return m.CropHints - } - return nil -} - -// Parameters for crop hints annotation request. -type CropHintsParams struct { - // Aspect ratios in floats, representing the ratio of the width to the height - // of the image. For example, if the desired aspect ratio is 4/3, the - // corresponding float value should be 1.33333. If not specified, the - // best possible crop is returned. The number of provided aspect ratios is - // limited to a maximum of 16; any aspect ratios provided after the 16th are - // ignored. - AspectRatios []float32 `protobuf:"fixed32,1,rep,packed,name=aspect_ratios,json=aspectRatios,proto3" json:"aspect_ratios,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8288fdc97aa9da03, []int{15} -} - -func (m *CropHintsParams) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CropHintsParams.Unmarshal(m, b) -} -func (m *CropHintsParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CropHintsParams.Marshal(b, m, deterministic) -} -func (m *CropHintsParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_CropHintsParams.Merge(m, src) -} -func (m *CropHintsParams) XXX_Size() int { - return xxx_messageInfo_CropHintsParams.Size(m) -} -func (m *CropHintsParams) XXX_DiscardUnknown() { - xxx_messageInfo_CropHintsParams.DiscardUnknown(m) -} - -var xxx_messageInfo_CropHintsParams proto.InternalMessageInfo - -func (m *CropHintsParams) GetAspectRatios() []float32 { - if m != nil { - return m.AspectRatios - } - return nil -} - -// Parameters for web detection request. -type WebDetectionParams struct { - // Whether to include results derived from the geo information in the image. - IncludeGeoResults bool `protobuf:"varint,2,opt,name=include_geo_results,json=includeGeoResults,proto3" json:"include_geo_results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8288fdc97aa9da03, []int{16} -} - -func (m *WebDetectionParams) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebDetectionParams.Unmarshal(m, b) -} -func (m *WebDetectionParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebDetectionParams.Marshal(b, m, deterministic) -} -func (m *WebDetectionParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebDetectionParams.Merge(m, src) -} -func (m *WebDetectionParams) XXX_Size() int { - return xxx_messageInfo_WebDetectionParams.Size(m) -} -func (m *WebDetectionParams) XXX_DiscardUnknown() { - xxx_messageInfo_WebDetectionParams.DiscardUnknown(m) -} - -var xxx_messageInfo_WebDetectionParams proto.InternalMessageInfo - -func (m *WebDetectionParams) GetIncludeGeoResults() bool { - if m != nil { - return m.IncludeGeoResults - } - return false -} - -// Image context and/or feature-specific parameters. -type ImageContext struct { - // Not used. - LatLongRect *LatLongRect `protobuf:"bytes,1,opt,name=lat_long_rect,json=latLongRect,proto3" json:"lat_long_rect,omitempty"` - // List of languages to use for TEXT_DETECTION. In most cases, an empty value - // yields the best results since it enables automatic language detection. For - // languages based on the Latin alphabet, setting `language_hints` is not - // needed. In rare cases, when the language of the text in the image is known, - // setting a hint will help get better results (although it will be a - // significant hindrance if the hint is wrong). Text detection returns an - // error if one or more of the specified languages is not one of the - // [supported languages](/vision/docs/languages). - 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:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8288fdc97aa9da03, []int{17} -} - -func (m *ImageContext) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageContext.Unmarshal(m, b) -} -func (m *ImageContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageContext.Marshal(b, m, deterministic) -} -func (m *ImageContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageContext.Merge(m, src) -} -func (m *ImageContext) XXX_Size() int { - return xxx_messageInfo_ImageContext.Size(m) -} -func (m *ImageContext) XXX_DiscardUnknown() { - xxx_messageInfo_ImageContext.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageContext proto.InternalMessageInfo - -func (m *ImageContext) GetLatLongRect() *LatLongRect { - if m != nil { - return m.LatLongRect - } - return nil -} - -func (m *ImageContext) GetLanguageHints() []string { - if m != nil { - return m.LanguageHints - } - return nil -} - -func (m *ImageContext) GetCropHintsParams() *CropHintsParams { - if m != nil { - return m.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 - } - return nil -} - -// Request for performing Google Cloud Vision API tasks over a user-provided -// image, with user-requested features, and with context information. -type AnnotateImageRequest struct { - // The image to be processed. - Image *Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` - // Requested features. - Features []*Feature `protobuf:"bytes,2,rep,name=features,proto3" json:"features,omitempty"` - // Additional context that may accompany the image. - ImageContext *ImageContext `protobuf:"bytes,3,opt,name=image_context,json=imageContext,proto3" json:"image_context,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8288fdc97aa9da03, []int{18} -} - -func (m *AnnotateImageRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotateImageRequest.Unmarshal(m, b) -} -func (m *AnnotateImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotateImageRequest.Marshal(b, m, deterministic) -} -func (m *AnnotateImageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateImageRequest.Merge(m, src) -} -func (m *AnnotateImageRequest) XXX_Size() int { - return xxx_messageInfo_AnnotateImageRequest.Size(m) -} -func (m *AnnotateImageRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotateImageRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotateImageRequest proto.InternalMessageInfo - -func (m *AnnotateImageRequest) GetImage() *Image { - if m != nil { - return m.Image - } - return nil -} - -func (m *AnnotateImageRequest) GetFeatures() []*Feature { - if m != nil { - return m.Features - } - return nil -} - -func (m *AnnotateImageRequest) GetImageContext() *ImageContext { - if m != nil { - return m.ImageContext - } - return nil -} - -// If an image was produced from a file (e.g. a PDF), this message gives -// information about the source of that image. -type ImageAnnotationContext struct { - // The URI of the file used to produce the image. - Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` - // If the file was a PDF or TIFF, this field gives the page number within - // the file used to produce the image. - PageNumber int32 `protobuf:"varint,2,opt,name=page_number,json=pageNumber,proto3" json:"page_number,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8288fdc97aa9da03, []int{19} -} - -func (m *ImageAnnotationContext) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageAnnotationContext.Unmarshal(m, b) -} -func (m *ImageAnnotationContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageAnnotationContext.Marshal(b, m, deterministic) -} -func (m *ImageAnnotationContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageAnnotationContext.Merge(m, src) -} -func (m *ImageAnnotationContext) XXX_Size() int { - return xxx_messageInfo_ImageAnnotationContext.Size(m) -} -func (m *ImageAnnotationContext) XXX_DiscardUnknown() { - xxx_messageInfo_ImageAnnotationContext.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageAnnotationContext proto.InternalMessageInfo - -func (m *ImageAnnotationContext) GetUri() string { - if m != nil { - return m.Uri - } - return "" -} - -func (m *ImageAnnotationContext) GetPageNumber() int32 { - if m != nil { - return m.PageNumber - } - return 0 -} - -// Response to an image annotation request. -type AnnotateImageResponse struct { - // If present, face detection has completed successfully. - FaceAnnotations []*FaceAnnotation `protobuf:"bytes,1,rep,name=face_annotations,json=faceAnnotations,proto3" json:"face_annotations,omitempty"` - // If present, landmark detection has completed successfully. - LandmarkAnnotations []*EntityAnnotation `protobuf:"bytes,2,rep,name=landmark_annotations,json=landmarkAnnotations,proto3" json:"landmark_annotations,omitempty"` - // If present, logo detection has completed successfully. - 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 - // completed successfully. - // This annotation provides the structural hierarchy for the OCR detected - // text. - FullTextAnnotation *TextAnnotation `protobuf:"bytes,12,opt,name=full_text_annotation,json=fullTextAnnotation,proto3" json:"full_text_annotation,omitempty"` - // If present, safe-search annotation has completed successfully. - SafeSearchAnnotation *SafeSearchAnnotation `protobuf:"bytes,6,opt,name=safe_search_annotation,json=safeSearchAnnotation,proto3" json:"safe_search_annotation,omitempty"` - // If present, image properties were extracted successfully. - ImagePropertiesAnnotation *ImageProperties `protobuf:"bytes,8,opt,name=image_properties_annotation,json=imagePropertiesAnnotation,proto3" json:"image_properties_annotation,omitempty"` - // If present, crop hints have completed successfully. - 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. - Error *status.Status `protobuf:"bytes,9,opt,name=error,proto3" json:"error,omitempty"` - // If present, contextual information is needed to understand where this image - // comes from. - Context *ImageAnnotationContext `protobuf:"bytes,21,opt,name=context,proto3" json:"context,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8288fdc97aa9da03, []int{20} -} - -func (m *AnnotateImageResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotateImageResponse.Unmarshal(m, b) -} -func (m *AnnotateImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotateImageResponse.Marshal(b, m, deterministic) -} -func (m *AnnotateImageResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateImageResponse.Merge(m, src) -} -func (m *AnnotateImageResponse) XXX_Size() int { - return xxx_messageInfo_AnnotateImageResponse.Size(m) -} -func (m *AnnotateImageResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotateImageResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotateImageResponse proto.InternalMessageInfo - -func (m *AnnotateImageResponse) GetFaceAnnotations() []*FaceAnnotation { - if m != nil { - return m.FaceAnnotations - } - return nil -} - -func (m *AnnotateImageResponse) GetLandmarkAnnotations() []*EntityAnnotation { - if m != nil { - return m.LandmarkAnnotations - } - return nil -} - -func (m *AnnotateImageResponse) GetLogoAnnotations() []*EntityAnnotation { - if m != nil { - return m.LogoAnnotations - } - return nil -} - -func (m *AnnotateImageResponse) GetLabelAnnotations() []*EntityAnnotation { - if m != nil { - return m.LabelAnnotations - } - 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 - } - return nil -} - -func (m *AnnotateImageResponse) GetFullTextAnnotation() *TextAnnotation { - if m != nil { - return m.FullTextAnnotation - } - return nil -} - -func (m *AnnotateImageResponse) GetSafeSearchAnnotation() *SafeSearchAnnotation { - if m != nil { - return m.SafeSearchAnnotation - } - return nil -} - -func (m *AnnotateImageResponse) GetImagePropertiesAnnotation() *ImageProperties { - if m != nil { - return m.ImagePropertiesAnnotation - } - return nil -} - -func (m *AnnotateImageResponse) GetCropHintsAnnotation() *CropHintsAnnotation { - if m != nil { - return m.CropHintsAnnotation - } - return nil -} - -func (m *AnnotateImageResponse) GetWebDetection() *WebDetection { - if m != nil { - return m.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 - } - return nil -} - -func (m *AnnotateImageResponse) GetContext() *ImageAnnotationContext { - if m != nil { - return m.Context - } - return nil -} - -// Response to a single file annotation request. A file may contain one or more -// images, which individually have their own responses. -type AnnotateFileResponse struct { - // Information about the file for which this response is generated. - InputConfig *InputConfig `protobuf:"bytes,1,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"` - // Individual responses to images found within the file. - Responses []*AnnotateImageResponse `protobuf:"bytes,2,rep,name=responses,proto3" json:"responses,omitempty"` - // This field gives the total number of pages in the file. - TotalPages int32 `protobuf:"varint,3,opt,name=total_pages,json=totalPages,proto3" json:"total_pages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8288fdc97aa9da03, []int{21} -} - -func (m *AnnotateFileResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotateFileResponse.Unmarshal(m, b) -} -func (m *AnnotateFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotateFileResponse.Marshal(b, m, deterministic) -} -func (m *AnnotateFileResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateFileResponse.Merge(m, src) -} -func (m *AnnotateFileResponse) XXX_Size() int { - return xxx_messageInfo_AnnotateFileResponse.Size(m) -} -func (m *AnnotateFileResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotateFileResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotateFileResponse proto.InternalMessageInfo - -func (m *AnnotateFileResponse) GetInputConfig() *InputConfig { - if m != nil { - return m.InputConfig - } - return nil -} - -func (m *AnnotateFileResponse) GetResponses() []*AnnotateImageResponse { - if m != nil { - return m.Responses - } - return nil -} - -func (m *AnnotateFileResponse) GetTotalPages() int32 { - if m != nil { - return m.TotalPages - } - return 0 -} - -// Multiple image annotation requests are batched into a single service call. -type BatchAnnotateImagesRequest struct { - // Individual image annotation requests for this batch. - Requests []*AnnotateImageRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchAnnotateImagesRequest) Reset() { *m = BatchAnnotateImagesRequest{} } -func (m *BatchAnnotateImagesRequest) String() string { return proto.CompactTextString(m) } -func (*BatchAnnotateImagesRequest) ProtoMessage() {} -func (*BatchAnnotateImagesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8288fdc97aa9da03, []int{22} -} - -func (m *BatchAnnotateImagesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchAnnotateImagesRequest.Unmarshal(m, b) -} -func (m *BatchAnnotateImagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchAnnotateImagesRequest.Marshal(b, m, deterministic) -} -func (m *BatchAnnotateImagesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchAnnotateImagesRequest.Merge(m, src) -} -func (m *BatchAnnotateImagesRequest) XXX_Size() int { - return xxx_messageInfo_BatchAnnotateImagesRequest.Size(m) -} -func (m *BatchAnnotateImagesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchAnnotateImagesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchAnnotateImagesRequest proto.InternalMessageInfo - -func (m *BatchAnnotateImagesRequest) GetRequests() []*AnnotateImageRequest { - if m != nil { - return m.Requests - } - return nil -} - -// Response to a batch image annotation request. -type BatchAnnotateImagesResponse struct { - // Individual responses to image annotation requests within the batch. - Responses []*AnnotateImageResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchAnnotateImagesResponse) Reset() { *m = BatchAnnotateImagesResponse{} } -func (m *BatchAnnotateImagesResponse) String() string { return proto.CompactTextString(m) } -func (*BatchAnnotateImagesResponse) ProtoMessage() {} -func (*BatchAnnotateImagesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8288fdc97aa9da03, []int{23} -} - -func (m *BatchAnnotateImagesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchAnnotateImagesResponse.Unmarshal(m, b) -} -func (m *BatchAnnotateImagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchAnnotateImagesResponse.Marshal(b, m, deterministic) -} -func (m *BatchAnnotateImagesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchAnnotateImagesResponse.Merge(m, src) -} -func (m *BatchAnnotateImagesResponse) XXX_Size() int { - return xxx_messageInfo_BatchAnnotateImagesResponse.Size(m) -} -func (m *BatchAnnotateImagesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BatchAnnotateImagesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchAnnotateImagesResponse proto.InternalMessageInfo - -func (m *BatchAnnotateImagesResponse) GetResponses() []*AnnotateImageResponse { - if m != nil { - return m.Responses - } - return nil -} - -// A request to annotate one single file, e.g. a PDF, TIFF or GIF file. -type AnnotateFileRequest struct { - // Required. Information about the input file. - InputConfig *InputConfig `protobuf:"bytes,1,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"` - // Required. Requested features. - Features []*Feature `protobuf:"bytes,2,rep,name=features,proto3" json:"features,omitempty"` - // Additional context that may accompany the image(s) in the file. - ImageContext *ImageContext `protobuf:"bytes,3,opt,name=image_context,json=imageContext,proto3" json:"image_context,omitempty"` - // Pages of the file to perform image annotation. - // - // Pages starts from 1, we assume the first page of the file is page 1. - // At most 5 pages are supported per request. Pages can be negative. - // - // Page 1 means the first page. - // Page 2 means the second page. - // Page -1 means the last page. - // Page -2 means the second to the last page. - // - // If the file is GIF instead of PDF or TIFF, page refers to GIF frames. - // - // If this field is empty, by default the service performs image annotation - // for the first 5 pages of the file. - Pages []int32 `protobuf:"varint,4,rep,packed,name=pages,proto3" json:"pages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AnnotateFileRequest) Reset() { *m = AnnotateFileRequest{} } -func (m *AnnotateFileRequest) String() string { return proto.CompactTextString(m) } -func (*AnnotateFileRequest) ProtoMessage() {} -func (*AnnotateFileRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8288fdc97aa9da03, []int{24} -} - -func (m *AnnotateFileRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotateFileRequest.Unmarshal(m, b) -} -func (m *AnnotateFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotateFileRequest.Marshal(b, m, deterministic) -} -func (m *AnnotateFileRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotateFileRequest.Merge(m, src) -} -func (m *AnnotateFileRequest) XXX_Size() int { - return xxx_messageInfo_AnnotateFileRequest.Size(m) -} -func (m *AnnotateFileRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotateFileRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotateFileRequest proto.InternalMessageInfo - -func (m *AnnotateFileRequest) GetInputConfig() *InputConfig { - if m != nil { - return m.InputConfig - } - return nil -} - -func (m *AnnotateFileRequest) GetFeatures() []*Feature { - if m != nil { - return m.Features - } - return nil -} - -func (m *AnnotateFileRequest) GetImageContext() *ImageContext { - if m != nil { - return m.ImageContext - } - return nil -} - -func (m *AnnotateFileRequest) GetPages() []int32 { - if m != nil { - return m.Pages - } - return nil -} - -// A list of requests to annotate files using the BatchAnnotateFiles API. -type BatchAnnotateFilesRequest struct { - // The list of file annotation requests. Right now we support only one - // AnnotateFileRequest in BatchAnnotateFilesRequest. - Requests []*AnnotateFileRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchAnnotateFilesRequest) Reset() { *m = BatchAnnotateFilesRequest{} } -func (m *BatchAnnotateFilesRequest) String() string { return proto.CompactTextString(m) } -func (*BatchAnnotateFilesRequest) ProtoMessage() {} -func (*BatchAnnotateFilesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8288fdc97aa9da03, []int{25} -} - -func (m *BatchAnnotateFilesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchAnnotateFilesRequest.Unmarshal(m, b) -} -func (m *BatchAnnotateFilesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchAnnotateFilesRequest.Marshal(b, m, deterministic) -} -func (m *BatchAnnotateFilesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchAnnotateFilesRequest.Merge(m, src) -} -func (m *BatchAnnotateFilesRequest) XXX_Size() int { - return xxx_messageInfo_BatchAnnotateFilesRequest.Size(m) -} -func (m *BatchAnnotateFilesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchAnnotateFilesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchAnnotateFilesRequest proto.InternalMessageInfo - -func (m *BatchAnnotateFilesRequest) GetRequests() []*AnnotateFileRequest { - if m != nil { - return m.Requests - } - return nil -} - -// A list of file annotation responses. -type BatchAnnotateFilesResponse struct { - // The list of file annotation responses, each response corresponding to each - // AnnotateFileRequest in BatchAnnotateFilesRequest. - Responses []*AnnotateFileResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchAnnotateFilesResponse) Reset() { *m = BatchAnnotateFilesResponse{} } -func (m *BatchAnnotateFilesResponse) String() string { return proto.CompactTextString(m) } -func (*BatchAnnotateFilesResponse) ProtoMessage() {} -func (*BatchAnnotateFilesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8288fdc97aa9da03, []int{26} -} - -func (m *BatchAnnotateFilesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchAnnotateFilesResponse.Unmarshal(m, b) -} -func (m *BatchAnnotateFilesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchAnnotateFilesResponse.Marshal(b, m, deterministic) -} -func (m *BatchAnnotateFilesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchAnnotateFilesResponse.Merge(m, src) -} -func (m *BatchAnnotateFilesResponse) XXX_Size() int { - return xxx_messageInfo_BatchAnnotateFilesResponse.Size(m) -} -func (m *BatchAnnotateFilesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BatchAnnotateFilesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchAnnotateFilesResponse proto.InternalMessageInfo - -func (m *BatchAnnotateFilesResponse) GetResponses() []*AnnotateFileResponse { - if m != nil { - return m.Responses - } - return nil -} - -// An offline file annotation request. -type AsyncAnnotateFileRequest struct { - // Required. Information about the input file. - InputConfig *InputConfig `protobuf:"bytes,1,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"` - // Required. Requested features. - Features []*Feature `protobuf:"bytes,2,rep,name=features,proto3" json:"features,omitempty"` - // Additional context that may accompany the image(s) in the file. - ImageContext *ImageContext `protobuf:"bytes,3,opt,name=image_context,json=imageContext,proto3" json:"image_context,omitempty"` - // Required. The desired output location and metadata (e.g. format). - OutputConfig *OutputConfig `protobuf:"bytes,4,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 *AsyncAnnotateFileRequest) Reset() { *m = AsyncAnnotateFileRequest{} } -func (m *AsyncAnnotateFileRequest) String() string { return proto.CompactTextString(m) } -func (*AsyncAnnotateFileRequest) ProtoMessage() {} -func (*AsyncAnnotateFileRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8288fdc97aa9da03, []int{27} -} - -func (m *AsyncAnnotateFileRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AsyncAnnotateFileRequest.Unmarshal(m, b) -} -func (m *AsyncAnnotateFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AsyncAnnotateFileRequest.Marshal(b, m, deterministic) -} -func (m *AsyncAnnotateFileRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AsyncAnnotateFileRequest.Merge(m, src) -} -func (m *AsyncAnnotateFileRequest) XXX_Size() int { - return xxx_messageInfo_AsyncAnnotateFileRequest.Size(m) -} -func (m *AsyncAnnotateFileRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AsyncAnnotateFileRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AsyncAnnotateFileRequest proto.InternalMessageInfo - -func (m *AsyncAnnotateFileRequest) GetInputConfig() *InputConfig { - if m != nil { - return m.InputConfig - } - return nil -} - -func (m *AsyncAnnotateFileRequest) GetFeatures() []*Feature { - if m != nil { - return m.Features - } - return nil -} - -func (m *AsyncAnnotateFileRequest) GetImageContext() *ImageContext { - if m != nil { - return m.ImageContext - } - return nil -} - -func (m *AsyncAnnotateFileRequest) GetOutputConfig() *OutputConfig { - if m != nil { - return m.OutputConfig - } - return nil -} - -// The response for a single offline file annotation request. -type AsyncAnnotateFileResponse struct { - // The output location and metadata from AsyncAnnotateFileRequest. - OutputConfig *OutputConfig `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 *AsyncAnnotateFileResponse) Reset() { *m = AsyncAnnotateFileResponse{} } -func (m *AsyncAnnotateFileResponse) String() string { return proto.CompactTextString(m) } -func (*AsyncAnnotateFileResponse) ProtoMessage() {} -func (*AsyncAnnotateFileResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8288fdc97aa9da03, []int{28} -} - -func (m *AsyncAnnotateFileResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AsyncAnnotateFileResponse.Unmarshal(m, b) -} -func (m *AsyncAnnotateFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AsyncAnnotateFileResponse.Marshal(b, m, deterministic) -} -func (m *AsyncAnnotateFileResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AsyncAnnotateFileResponse.Merge(m, src) -} -func (m *AsyncAnnotateFileResponse) XXX_Size() int { - return xxx_messageInfo_AsyncAnnotateFileResponse.Size(m) -} -func (m *AsyncAnnotateFileResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AsyncAnnotateFileResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AsyncAnnotateFileResponse proto.InternalMessageInfo - -func (m *AsyncAnnotateFileResponse) GetOutputConfig() *OutputConfig { - if m != nil { - return m.OutputConfig - } - return nil -} - -// Request for async image annotation for a list of images. -type AsyncBatchAnnotateImagesRequest struct { - // Individual image annotation requests for this batch. - Requests []*AnnotateImageRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` - // Required. The desired output location and metadata (e.g. 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 *AsyncBatchAnnotateImagesRequest) Reset() { *m = AsyncBatchAnnotateImagesRequest{} } -func (m *AsyncBatchAnnotateImagesRequest) String() string { return proto.CompactTextString(m) } -func (*AsyncBatchAnnotateImagesRequest) ProtoMessage() {} -func (*AsyncBatchAnnotateImagesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8288fdc97aa9da03, []int{29} -} - -func (m *AsyncBatchAnnotateImagesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AsyncBatchAnnotateImagesRequest.Unmarshal(m, b) -} -func (m *AsyncBatchAnnotateImagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AsyncBatchAnnotateImagesRequest.Marshal(b, m, deterministic) -} -func (m *AsyncBatchAnnotateImagesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AsyncBatchAnnotateImagesRequest.Merge(m, src) -} -func (m *AsyncBatchAnnotateImagesRequest) XXX_Size() int { - return xxx_messageInfo_AsyncBatchAnnotateImagesRequest.Size(m) -} -func (m *AsyncBatchAnnotateImagesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AsyncBatchAnnotateImagesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AsyncBatchAnnotateImagesRequest proto.InternalMessageInfo - -func (m *AsyncBatchAnnotateImagesRequest) GetRequests() []*AnnotateImageRequest { - if m != nil { - return m.Requests - } - return nil -} - -func (m *AsyncBatchAnnotateImagesRequest) GetOutputConfig() *OutputConfig { - if m != nil { - return m.OutputConfig - } - return nil -} - -// Response to an async batch image annotation request. -type AsyncBatchAnnotateImagesResponse struct { - // The output location and metadata from AsyncBatchAnnotateImagesRequest. - OutputConfig *OutputConfig `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 *AsyncBatchAnnotateImagesResponse) Reset() { *m = AsyncBatchAnnotateImagesResponse{} } -func (m *AsyncBatchAnnotateImagesResponse) String() string { return proto.CompactTextString(m) } -func (*AsyncBatchAnnotateImagesResponse) ProtoMessage() {} -func (*AsyncBatchAnnotateImagesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8288fdc97aa9da03, []int{30} -} - -func (m *AsyncBatchAnnotateImagesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AsyncBatchAnnotateImagesResponse.Unmarshal(m, b) -} -func (m *AsyncBatchAnnotateImagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AsyncBatchAnnotateImagesResponse.Marshal(b, m, deterministic) -} -func (m *AsyncBatchAnnotateImagesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AsyncBatchAnnotateImagesResponse.Merge(m, src) -} -func (m *AsyncBatchAnnotateImagesResponse) XXX_Size() int { - return xxx_messageInfo_AsyncBatchAnnotateImagesResponse.Size(m) -} -func (m *AsyncBatchAnnotateImagesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AsyncBatchAnnotateImagesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AsyncBatchAnnotateImagesResponse proto.InternalMessageInfo - -func (m *AsyncBatchAnnotateImagesResponse) GetOutputConfig() *OutputConfig { - if m != nil { - return m.OutputConfig - } - return nil -} - -// Multiple async file annotation requests are batched into a single service -// call. -type AsyncBatchAnnotateFilesRequest struct { - // Individual async file annotation requests for this batch. - Requests []*AsyncAnnotateFileRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AsyncBatchAnnotateFilesRequest) Reset() { *m = AsyncBatchAnnotateFilesRequest{} } -func (m *AsyncBatchAnnotateFilesRequest) String() string { return proto.CompactTextString(m) } -func (*AsyncBatchAnnotateFilesRequest) ProtoMessage() {} -func (*AsyncBatchAnnotateFilesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8288fdc97aa9da03, []int{31} -} - -func (m *AsyncBatchAnnotateFilesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AsyncBatchAnnotateFilesRequest.Unmarshal(m, b) -} -func (m *AsyncBatchAnnotateFilesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AsyncBatchAnnotateFilesRequest.Marshal(b, m, deterministic) -} -func (m *AsyncBatchAnnotateFilesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AsyncBatchAnnotateFilesRequest.Merge(m, src) -} -func (m *AsyncBatchAnnotateFilesRequest) XXX_Size() int { - return xxx_messageInfo_AsyncBatchAnnotateFilesRequest.Size(m) -} -func (m *AsyncBatchAnnotateFilesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AsyncBatchAnnotateFilesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AsyncBatchAnnotateFilesRequest proto.InternalMessageInfo - -func (m *AsyncBatchAnnotateFilesRequest) GetRequests() []*AsyncAnnotateFileRequest { - if m != nil { - return m.Requests - } - return nil -} - -// Response to an async batch file annotation request. -type AsyncBatchAnnotateFilesResponse struct { - // The list of file annotation responses, one for each request in - // AsyncBatchAnnotateFilesRequest. - Responses []*AsyncAnnotateFileResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AsyncBatchAnnotateFilesResponse) Reset() { *m = AsyncBatchAnnotateFilesResponse{} } -func (m *AsyncBatchAnnotateFilesResponse) String() string { return proto.CompactTextString(m) } -func (*AsyncBatchAnnotateFilesResponse) ProtoMessage() {} -func (*AsyncBatchAnnotateFilesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8288fdc97aa9da03, []int{32} -} - -func (m *AsyncBatchAnnotateFilesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AsyncBatchAnnotateFilesResponse.Unmarshal(m, b) -} -func (m *AsyncBatchAnnotateFilesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AsyncBatchAnnotateFilesResponse.Marshal(b, m, deterministic) -} -func (m *AsyncBatchAnnotateFilesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AsyncBatchAnnotateFilesResponse.Merge(m, src) -} -func (m *AsyncBatchAnnotateFilesResponse) XXX_Size() int { - return xxx_messageInfo_AsyncBatchAnnotateFilesResponse.Size(m) -} -func (m *AsyncBatchAnnotateFilesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AsyncBatchAnnotateFilesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AsyncBatchAnnotateFilesResponse proto.InternalMessageInfo - -func (m *AsyncBatchAnnotateFilesResponse) GetResponses() []*AsyncAnnotateFileResponse { - if m != nil { - return m.Responses - } - return nil -} - -// The desired input location and metadata. -type InputConfig struct { - // The Google Cloud Storage location to read the input from. - GcsSource *GcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3" json:"gcs_source,omitempty"` - // File content, represented as a stream of bytes. - // Note: As with all `bytes` fields, protobuffers use a pure binary - // representation, whereas JSON representations use base64. - // - // Currently, this field only works for BatchAnnotateFiles requests. It does - // not work for AsyncBatchAnnotateFiles requests. - Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` - // The type of the file. Currently only "application/pdf" and "image/tiff" - // are supported. Wildcards are not supported. - MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8288fdc97aa9da03, []int{33} -} - -func (m *InputConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InputConfig.Unmarshal(m, b) -} -func (m *InputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InputConfig.Marshal(b, m, deterministic) -} -func (m *InputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_InputConfig.Merge(m, src) -} -func (m *InputConfig) XXX_Size() int { - return xxx_messageInfo_InputConfig.Size(m) -} -func (m *InputConfig) XXX_DiscardUnknown() { - xxx_messageInfo_InputConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_InputConfig proto.InternalMessageInfo - -func (m *InputConfig) GetGcsSource() *GcsSource { - if m != nil { - return m.GcsSource - } - return nil -} - -func (m *InputConfig) GetContent() []byte { - if m != nil { - return m.Content - } - return nil -} - -func (m *InputConfig) GetMimeType() string { - if m != nil { - return m.MimeType - } - return "" -} - -// The desired output location and metadata. -type OutputConfig struct { - // The Google Cloud Storage location to write the output(s) to. - GcsDestination *GcsDestination `protobuf:"bytes,1,opt,name=gcs_destination,json=gcsDestination,proto3" json:"gcs_destination,omitempty"` - // The max number of response protos to put into each output JSON file on - // Google Cloud Storage. - // The valid range is [1, 100]. If not specified, the default value is 20. - // - // For example, for one pdf file with 100 pages, 100 response protos will - // be generated. If `batch_size` = 20, then 5 json files each - // containing 20 response protos will be written under the prefix - // `gcs_destination`.`uri`. - // - // Currently, batch_size only applies to GcsDestination, with potential future - // support for other output configurations. - BatchSize int32 `protobuf:"varint,2,opt,name=batch_size,json=batchSize,proto3" json:"batch_size,omitempty"` - 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_8288fdc97aa9da03, []int{34} -} - -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 (m *OutputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_OutputConfig.Merge(m, 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 - -func (m *OutputConfig) GetGcsDestination() *GcsDestination { - if m != nil { - return m.GcsDestination - } - return nil -} - -func (m *OutputConfig) GetBatchSize() int32 { - if m != nil { - return m.BatchSize - } - return 0 -} - -// The Google Cloud Storage location where the input will be read from. -type GcsSource struct { - // Google Cloud Storage URI for the input file. This must only be a - // Google Cloud Storage object. Wildcards are not currently supported. - 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 *GcsSource) Reset() { *m = GcsSource{} } -func (m *GcsSource) String() string { return proto.CompactTextString(m) } -func (*GcsSource) ProtoMessage() {} -func (*GcsSource) Descriptor() ([]byte, []int) { - return fileDescriptor_8288fdc97aa9da03, []int{35} -} - -func (m *GcsSource) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GcsSource.Unmarshal(m, b) -} -func (m *GcsSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GcsSource.Marshal(b, m, deterministic) -} -func (m *GcsSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcsSource.Merge(m, src) -} -func (m *GcsSource) XXX_Size() int { - return xxx_messageInfo_GcsSource.Size(m) -} -func (m *GcsSource) XXX_DiscardUnknown() { - xxx_messageInfo_GcsSource.DiscardUnknown(m) -} - -var xxx_messageInfo_GcsSource proto.InternalMessageInfo - -func (m *GcsSource) GetUri() string { - if m != nil { - return m.Uri - } - return "" -} - -// The Google Cloud Storage location where the output will be written to. -type GcsDestination struct { - // Google Cloud Storage URI where the results will be stored. Results will - // be in JSON format and preceded by its corresponding input URI. This field - // can either represent a single file, or a prefix for multiple outputs. - // Prefixes must end in a `/`. - // - // Examples: - // - // * File: gs://bucket-name/filename.json - // * Prefix: gs://bucket-name/prefix/here/ - // * File: gs://bucket-name/prefix/here - // - // If multiple outputs, each response is still AnnotateFileResponse, each of - // which contains some subset of the full list of AnnotateImageResponse. - // Multiple outputs can happen if, for example, the output JSON is too large - // and overflows into multiple sharded files. - 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_8288fdc97aa9da03, []int{36} -} - -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 (m *GcsDestination) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcsDestination.Merge(m, 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 "" -} - -// Contains metadata for the BatchAnnotateImages operation. -type OperationMetadata struct { - // Current state of the batch operation. - State OperationMetadata_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.vision.v1p4beta1.OperationMetadata_State" json:"state,omitempty"` - // The time when the batch request was received. - CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // The time when the operation result was last updated. - UpdateTime *timestamp.Timestamp `protobuf:"bytes,6,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 *OperationMetadata) Reset() { *m = OperationMetadata{} } -func (m *OperationMetadata) String() string { return proto.CompactTextString(m) } -func (*OperationMetadata) ProtoMessage() {} -func (*OperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_8288fdc97aa9da03, []int{37} -} - -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 (m *OperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperationMetadata.Merge(m, 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) GetState() OperationMetadata_State { - if m != nil { - return m.State - } - return OperationMetadata_STATE_UNSPECIFIED -} - -func (m *OperationMetadata) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *OperationMetadata) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.vision.v1p4beta1.Likelihood", Likelihood_name, Likelihood_value) - proto.RegisterEnum("google.cloud.vision.v1p4beta1.Feature_Type", Feature_Type_name, Feature_Type_value) - proto.RegisterEnum("google.cloud.vision.v1p4beta1.FaceAnnotation_Landmark_Type", FaceAnnotation_Landmark_Type_name, FaceAnnotation_Landmark_Type_value) - proto.RegisterEnum("google.cloud.vision.v1p4beta1.OperationMetadata_State", OperationMetadata_State_name, OperationMetadata_State_value) - proto.RegisterType((*Feature)(nil), "google.cloud.vision.v1p4beta1.Feature") - proto.RegisterType((*ImageSource)(nil), "google.cloud.vision.v1p4beta1.ImageSource") - proto.RegisterType((*Image)(nil), "google.cloud.vision.v1p4beta1.Image") - proto.RegisterType((*FaceAnnotation)(nil), "google.cloud.vision.v1p4beta1.FaceAnnotation") - proto.RegisterType((*FaceAnnotation_Landmark)(nil), "google.cloud.vision.v1p4beta1.FaceAnnotation.Landmark") - proto.RegisterType((*LocationInfo)(nil), "google.cloud.vision.v1p4beta1.LocationInfo") - proto.RegisterType((*Property)(nil), "google.cloud.vision.v1p4beta1.Property") - proto.RegisterType((*EntityAnnotation)(nil), "google.cloud.vision.v1p4beta1.EntityAnnotation") - proto.RegisterType((*LocalizedObjectAnnotation)(nil), "google.cloud.vision.v1p4beta1.LocalizedObjectAnnotation") - proto.RegisterType((*SafeSearchAnnotation)(nil), "google.cloud.vision.v1p4beta1.SafeSearchAnnotation") - proto.RegisterType((*LatLongRect)(nil), "google.cloud.vision.v1p4beta1.LatLongRect") - proto.RegisterType((*ColorInfo)(nil), "google.cloud.vision.v1p4beta1.ColorInfo") - proto.RegisterType((*DominantColorsAnnotation)(nil), "google.cloud.vision.v1p4beta1.DominantColorsAnnotation") - proto.RegisterType((*ImageProperties)(nil), "google.cloud.vision.v1p4beta1.ImageProperties") - proto.RegisterType((*CropHint)(nil), "google.cloud.vision.v1p4beta1.CropHint") - proto.RegisterType((*CropHintsAnnotation)(nil), "google.cloud.vision.v1p4beta1.CropHintsAnnotation") - proto.RegisterType((*CropHintsParams)(nil), "google.cloud.vision.v1p4beta1.CropHintsParams") - proto.RegisterType((*WebDetectionParams)(nil), "google.cloud.vision.v1p4beta1.WebDetectionParams") - proto.RegisterType((*ImageContext)(nil), "google.cloud.vision.v1p4beta1.ImageContext") - proto.RegisterType((*AnnotateImageRequest)(nil), "google.cloud.vision.v1p4beta1.AnnotateImageRequest") - proto.RegisterType((*ImageAnnotationContext)(nil), "google.cloud.vision.v1p4beta1.ImageAnnotationContext") - proto.RegisterType((*AnnotateImageResponse)(nil), "google.cloud.vision.v1p4beta1.AnnotateImageResponse") - proto.RegisterType((*AnnotateFileResponse)(nil), "google.cloud.vision.v1p4beta1.AnnotateFileResponse") - proto.RegisterType((*BatchAnnotateImagesRequest)(nil), "google.cloud.vision.v1p4beta1.BatchAnnotateImagesRequest") - proto.RegisterType((*BatchAnnotateImagesResponse)(nil), "google.cloud.vision.v1p4beta1.BatchAnnotateImagesResponse") - proto.RegisterType((*AnnotateFileRequest)(nil), "google.cloud.vision.v1p4beta1.AnnotateFileRequest") - proto.RegisterType((*BatchAnnotateFilesRequest)(nil), "google.cloud.vision.v1p4beta1.BatchAnnotateFilesRequest") - proto.RegisterType((*BatchAnnotateFilesResponse)(nil), "google.cloud.vision.v1p4beta1.BatchAnnotateFilesResponse") - proto.RegisterType((*AsyncAnnotateFileRequest)(nil), "google.cloud.vision.v1p4beta1.AsyncAnnotateFileRequest") - proto.RegisterType((*AsyncAnnotateFileResponse)(nil), "google.cloud.vision.v1p4beta1.AsyncAnnotateFileResponse") - proto.RegisterType((*AsyncBatchAnnotateImagesRequest)(nil), "google.cloud.vision.v1p4beta1.AsyncBatchAnnotateImagesRequest") - proto.RegisterType((*AsyncBatchAnnotateImagesResponse)(nil), "google.cloud.vision.v1p4beta1.AsyncBatchAnnotateImagesResponse") - proto.RegisterType((*AsyncBatchAnnotateFilesRequest)(nil), "google.cloud.vision.v1p4beta1.AsyncBatchAnnotateFilesRequest") - proto.RegisterType((*AsyncBatchAnnotateFilesResponse)(nil), "google.cloud.vision.v1p4beta1.AsyncBatchAnnotateFilesResponse") - proto.RegisterType((*InputConfig)(nil), "google.cloud.vision.v1p4beta1.InputConfig") - proto.RegisterType((*OutputConfig)(nil), "google.cloud.vision.v1p4beta1.OutputConfig") - proto.RegisterType((*GcsSource)(nil), "google.cloud.vision.v1p4beta1.GcsSource") - proto.RegisterType((*GcsDestination)(nil), "google.cloud.vision.v1p4beta1.GcsDestination") - proto.RegisterType((*OperationMetadata)(nil), "google.cloud.vision.v1p4beta1.OperationMetadata") -} - -func init() { - proto.RegisterFile("google/cloud/vision/v1p4beta1/image_annotator.proto", fileDescriptor_8288fdc97aa9da03) -} - -var fileDescriptor_8288fdc97aa9da03 = []byte{ - // 3262 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 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, 0xf6, 0xa8, 0x7b, 0x64, 0x39, 0xc1, 0x77, 0xf0, - 0x42, 0x79, 0x33, 0x96, 0x7f, 0x43, 0x9f, 0xcb, 0xb9, 0x77, 0x07, 0x0a, 0x56, 0xd7, 0xa5, 0x5e, - 0x60, 0x38, 0x26, 0x19, 0xf6, 0x3e, 0x1a, 0xa8, 0xfa, 0x21, 0xf8, 0x4f, 0x28, 0x44, 0xc3, 0x95, - 0xbd, 0x7f, 0x00, 0x60, 0x7a, 0xd4, 0xd5, 0x1f, 0x33, 0xb9, 0x88, 0xc0, 0xa4, 0x34, 0x18, 0xf1, - 0xe0, 0xac, 0x19, 0x31, 0xaa, 0x1f, 0xc0, 0x62, 0x9f, 0xbe, 0x61, 0x78, 0x46, 0xd7, 0x67, 0x89, - 0xce, 0xf0, 0x5d, 0x62, 0x06, 0x3a, 0xbf, 0x80, 0x0a, 0xd9, 0x93, 0x38, 0x1f, 0x0a, 0x31, 0x97, - 0xa9, 0xfb, 0x80, 0x1e, 0x90, 0xb3, 0xfd, 0xe8, 0xbd, 0x50, 0x40, 0xb7, 0xa1, 0x60, 0x39, 0xa6, - 0xdd, 0x6b, 0x11, 0xbd, 0x43, 0x68, 0xec, 0x3e, 0x27, 0x83, 0x97, 0x84, 0xea, 0x90, 0x50, 0x71, - 0xad, 0xa3, 0x7e, 0x93, 0x82, 0x3c, 0x5f, 0x02, 0x65, 0xea, 0x04, 0xe4, 0x3c, 0x40, 0x35, 0x96, - 0x64, 0x03, 0xdd, 0xa6, 0x4e, 0x47, 0xf7, 0x88, 0x19, 0x88, 0x80, 0x4c, 0xba, 0x3f, 0x90, 0x76, - 0x24, 0xce, 0xd9, 0xd2, 0xf6, 0x7c, 0x0b, 0x16, 0xfa, 0x49, 0x3b, 0x74, 0x55, 0x72, 0x33, 0xb5, - 0x95, 0xc5, 0xfd, 0x54, 0xce, 0x27, 0x8e, 0x1e, 0xc1, 0xd2, 0xc0, 0x9b, 0xba, 0xcb, 0x27, 0x23, - 0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, 0xdf, 0xe4, 0x43, 0xbe, 0xa9, 0xae, 0x49, 0x43, 0x6e, 0xb3, 0x1e, - 0xb1, 0x11, 0xff, 0x38, 0x21, 0xea, 0x8b, 0x71, 0xce, 0xfe, 0xb7, 0xab, 0xe4, 0xb3, 0x4b, 0x3c, - 0xbe, 0x11, 0xe1, 0xa5, 0xaf, 0xf2, 0x06, 0xfb, 0x47, 0xdd, 0xe1, 0x23, 0x7c, 0x5b, 0x7d, 0x73, - 0x8c, 0x53, 0x47, 0x98, 0xd9, 0x60, 0xbf, 0x4e, 0xc0, 0xb5, 0x17, 0xa4, 0x65, 0xf4, 0xc9, 0xd4, - 0x63, 0x8d, 0x39, 0x7a, 0xc2, 0x50, 0xb7, 0xf9, 0x50, 0xb7, 0xd4, 0x37, 0x46, 0x9d, 0x39, 0x6e, - 0xa4, 0x7b, 0xff, 0x9b, 0x80, 0xd7, 0x4d, 0xda, 0xbd, 0x7c, 0x4c, 0x7b, 0x85, 0xf8, 0xa2, 0x6f, - 0xb0, 0xfd, 0xdd, 0x48, 0x3c, 0x2a, 0x0b, 0x54, 0x87, 0xda, 0x86, 0xd3, 0xd9, 0xa6, 0x5e, 0x67, - 0xa7, 0x43, 0x1c, 0xbe, 0xfb, 0x77, 0x42, 0x95, 0xe1, 0x5a, 0xfe, 0x0b, 0xbe, 0x8e, 0xfc, 0x38, - 0x14, 0xfc, 0x39, 0x91, 0xf8, 0x41, 0x72, 0xe6, 0xb0, 0x7c, 0xbf, 0x76, 0x36, 0xcb, 0x91, 0x77, - 0xfe, 0x12, 0x00, 0x00, 0xff, 0xff, 0x60, 0xef, 0x71, 0x29, 0x5f, 0x2a, 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 - -// ImageAnnotatorClient is the client API for ImageAnnotator service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ImageAnnotatorClient interface { - // Run image detection and annotation for a batch of images. - BatchAnnotateImages(ctx context.Context, in *BatchAnnotateImagesRequest, opts ...grpc.CallOption) (*BatchAnnotateImagesResponse, error) - // Service that performs image detection and annotation for a batch of files. - // Now only "application/pdf", "image/tiff" and "image/gif" are supported. - // - // This service will extract at most 5 (customers can specify which 5 in - // AnnotateFileRequest.pages) frames (gif) or pages (pdf or tiff) from each - // file provided and perform detection and annotation for each image - // extracted. - BatchAnnotateFiles(ctx context.Context, in *BatchAnnotateFilesRequest, opts ...grpc.CallOption) (*BatchAnnotateFilesResponse, error) - // Run asynchronous image detection and annotation for a list of images. - // - // Progress and results can be retrieved through the - // `google.longrunning.Operations` interface. - // `Operation.metadata` contains `OperationMetadata` (metadata). - // `Operation.response` contains `AsyncBatchAnnotateImagesResponse` (results). - // - // This service will write image annotation outputs to json files in customer - // GCS bucket, each json file containing BatchAnnotateImagesResponse proto. - AsyncBatchAnnotateImages(ctx context.Context, in *AsyncBatchAnnotateImagesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Run asynchronous image detection and annotation for a list of generic - // files, such as PDF files, which may contain multiple pages and multiple - // images per page. Progress and results can be retrieved through the - // `google.longrunning.Operations` interface. - // `Operation.metadata` contains `OperationMetadata` (metadata). - // `Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results). - AsyncBatchAnnotateFiles(ctx context.Context, in *AsyncBatchAnnotateFilesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) -} - -type imageAnnotatorClient struct { - cc *grpc.ClientConn -} - -func NewImageAnnotatorClient(cc *grpc.ClientConn) ImageAnnotatorClient { - return &imageAnnotatorClient{cc} -} - -func (c *imageAnnotatorClient) BatchAnnotateImages(ctx context.Context, in *BatchAnnotateImagesRequest, opts ...grpc.CallOption) (*BatchAnnotateImagesResponse, error) { - out := new(BatchAnnotateImagesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.vision.v1p4beta1.ImageAnnotator/BatchAnnotateImages", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *imageAnnotatorClient) BatchAnnotateFiles(ctx context.Context, in *BatchAnnotateFilesRequest, opts ...grpc.CallOption) (*BatchAnnotateFilesResponse, error) { - out := new(BatchAnnotateFilesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.vision.v1p4beta1.ImageAnnotator/BatchAnnotateFiles", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *imageAnnotatorClient) AsyncBatchAnnotateImages(ctx context.Context, in *AsyncBatchAnnotateImagesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.vision.v1p4beta1.ImageAnnotator/AsyncBatchAnnotateImages", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *imageAnnotatorClient) AsyncBatchAnnotateFiles(ctx context.Context, in *AsyncBatchAnnotateFilesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.cloud.vision.v1p4beta1.ImageAnnotator/AsyncBatchAnnotateFiles", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ImageAnnotatorServer is the server API for ImageAnnotator service. -type ImageAnnotatorServer interface { - // Run image detection and annotation for a batch of images. - BatchAnnotateImages(context.Context, *BatchAnnotateImagesRequest) (*BatchAnnotateImagesResponse, error) - // Service that performs image detection and annotation for a batch of files. - // Now only "application/pdf", "image/tiff" and "image/gif" are supported. - // - // This service will extract at most 5 (customers can specify which 5 in - // AnnotateFileRequest.pages) frames (gif) or pages (pdf or tiff) from each - // file provided and perform detection and annotation for each image - // extracted. - BatchAnnotateFiles(context.Context, *BatchAnnotateFilesRequest) (*BatchAnnotateFilesResponse, error) - // Run asynchronous image detection and annotation for a list of images. - // - // Progress and results can be retrieved through the - // `google.longrunning.Operations` interface. - // `Operation.metadata` contains `OperationMetadata` (metadata). - // `Operation.response` contains `AsyncBatchAnnotateImagesResponse` (results). - // - // This service will write image annotation outputs to json files in customer - // GCS bucket, each json file containing BatchAnnotateImagesResponse proto. - AsyncBatchAnnotateImages(context.Context, *AsyncBatchAnnotateImagesRequest) (*longrunning.Operation, error) - // Run asynchronous image detection and annotation for a list of generic - // files, such as PDF files, which may contain multiple pages and multiple - // images per page. Progress and results can be retrieved through the - // `google.longrunning.Operations` interface. - // `Operation.metadata` contains `OperationMetadata` (metadata). - // `Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results). - AsyncBatchAnnotateFiles(context.Context, *AsyncBatchAnnotateFilesRequest) (*longrunning.Operation, error) -} - -// UnimplementedImageAnnotatorServer can be embedded to have forward compatible implementations. -type UnimplementedImageAnnotatorServer struct { -} - -func (*UnimplementedImageAnnotatorServer) BatchAnnotateImages(ctx context.Context, req *BatchAnnotateImagesRequest) (*BatchAnnotateImagesResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method BatchAnnotateImages not implemented") -} -func (*UnimplementedImageAnnotatorServer) BatchAnnotateFiles(ctx context.Context, req *BatchAnnotateFilesRequest) (*BatchAnnotateFilesResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method BatchAnnotateFiles not implemented") -} -func (*UnimplementedImageAnnotatorServer) AsyncBatchAnnotateImages(ctx context.Context, req *AsyncBatchAnnotateImagesRequest) (*longrunning.Operation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method AsyncBatchAnnotateImages not implemented") -} -func (*UnimplementedImageAnnotatorServer) AsyncBatchAnnotateFiles(ctx context.Context, req *AsyncBatchAnnotateFilesRequest) (*longrunning.Operation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method AsyncBatchAnnotateFiles not implemented") -} - -func RegisterImageAnnotatorServer(s *grpc.Server, srv ImageAnnotatorServer) { - s.RegisterService(&_ImageAnnotator_serviceDesc, srv) -} - -func _ImageAnnotator_BatchAnnotateImages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchAnnotateImagesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ImageAnnotatorServer).BatchAnnotateImages(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.vision.v1p4beta1.ImageAnnotator/BatchAnnotateImages", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ImageAnnotatorServer).BatchAnnotateImages(ctx, req.(*BatchAnnotateImagesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ImageAnnotator_BatchAnnotateFiles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchAnnotateFilesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ImageAnnotatorServer).BatchAnnotateFiles(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.vision.v1p4beta1.ImageAnnotator/BatchAnnotateFiles", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ImageAnnotatorServer).BatchAnnotateFiles(ctx, req.(*BatchAnnotateFilesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ImageAnnotator_AsyncBatchAnnotateImages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AsyncBatchAnnotateImagesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ImageAnnotatorServer).AsyncBatchAnnotateImages(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.vision.v1p4beta1.ImageAnnotator/AsyncBatchAnnotateImages", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ImageAnnotatorServer).AsyncBatchAnnotateImages(ctx, req.(*AsyncBatchAnnotateImagesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ImageAnnotator_AsyncBatchAnnotateFiles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AsyncBatchAnnotateFilesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ImageAnnotatorServer).AsyncBatchAnnotateFiles(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.vision.v1p4beta1.ImageAnnotator/AsyncBatchAnnotateFiles", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ImageAnnotatorServer).AsyncBatchAnnotateFiles(ctx, req.(*AsyncBatchAnnotateFilesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ImageAnnotator_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.vision.v1p4beta1.ImageAnnotator", - HandlerType: (*ImageAnnotatorServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "BatchAnnotateImages", - Handler: _ImageAnnotator_BatchAnnotateImages_Handler, - }, - { - MethodName: "BatchAnnotateFiles", - Handler: _ImageAnnotator_BatchAnnotateFiles_Handler, - }, - { - MethodName: "AsyncBatchAnnotateImages", - Handler: _ImageAnnotator_AsyncBatchAnnotateImages_Handler, - }, - { - MethodName: "AsyncBatchAnnotateFiles", - Handler: _ImageAnnotator_AsyncBatchAnnotateFiles_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/vision/v1p4beta1/image_annotator.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1/product_search.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1/product_search.pb.go deleted file mode 100644 index 89c04dc8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1/product_search.pb.go +++ /dev/null @@ -1,330 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/vision/v1p4beta1/product_search.proto - -package vision - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // 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.v1p4beta1.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-v2", "apparel-v2", "toys-v2", - // "packagedgoods-v1", or "general-v1" should be specified. The legacy - // categories "homegoods", "apparel", and "toys" are still supported but will - // be deprecated. For new products, please use "homegoods-v2", "apparel-v2", - // or "toys-v2" for better product search accuracy. It is recommended to - // migrate existing products to these categories as well. - 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_788f05efda4e1c3a, []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 (m *ProductSearchParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductSearchParams.Merge(m, 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_788f05efda4e1c3a, []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 (m *ProductSearchResults) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductSearchResults.Merge(m, 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_788f05efda4e1c3a, []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 (m *ProductSearchResults_Result) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductSearchResults_Result.Merge(m, 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_788f05efda4e1c3a, []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 (m *ProductSearchResults_GroupedResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductSearchResults_GroupedResult.Merge(m, 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.v1p4beta1.ProductSearchParams") - proto.RegisterType((*ProductSearchResults)(nil), "google.cloud.vision.v1p4beta1.ProductSearchResults") - proto.RegisterType((*ProductSearchResults_Result)(nil), "google.cloud.vision.v1p4beta1.ProductSearchResults.Result") - proto.RegisterType((*ProductSearchResults_GroupedResult)(nil), "google.cloud.vision.v1p4beta1.ProductSearchResults.GroupedResult") -} - -func init() { - proto.RegisterFile("google/cloud/vision/v1p4beta1/product_search.proto", fileDescriptor_788f05efda4e1c3a) -} - -var fileDescriptor_788f05efda4e1c3a = []byte{ - // 495 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x53, 0xcd, 0x8e, 0xd3, 0x3c, - 0x14, 0x95, 0xdb, 0x99, 0xf4, 0xab, 0xfb, 0xcd, 0x02, 0x33, 0x40, 0x14, 0x81, 0xa6, 0xcc, 0x02, - 0x55, 0x02, 0x12, 0x4d, 0x61, 0xc3, 0xb0, 0x81, 0x76, 0x31, 0x3b, 0x14, 0x85, 0x11, 0x0b, 0x36, - 0x91, 0x93, 0x78, 0x8c, 0xa5, 0x24, 0x37, 0xb2, 0x9d, 0x8a, 0xbe, 0x01, 0xcf, 0xc1, 0x4b, 0xf0, - 0x18, 0x6c, 0x78, 0x18, 0x96, 0xa8, 0xfe, 0x19, 0xa6, 0x02, 0xca, 0xef, 0x2a, 0xb9, 0xf6, 0x3d, - 0xe7, 0xdc, 0x7b, 0xee, 0x35, 0x9e, 0x73, 0x00, 0x5e, 0xb3, 0xa4, 0xac, 0xa1, 0xaf, 0x92, 0x95, - 0x50, 0x02, 0xda, 0x64, 0x75, 0xd2, 0x3d, 0x2e, 0x98, 0xa6, 0x27, 0x49, 0x27, 0xa1, 0xea, 0x4b, - 0x9d, 0x2b, 0x46, 0x65, 0xf9, 0x26, 0xee, 0x24, 0x68, 0x20, 0x77, 0x2c, 0x26, 0x36, 0x98, 0xd8, - 0x62, 0xe2, 0x4b, 0x4c, 0x74, 0xdb, 0x51, 0xd2, 0x4e, 0x24, 0xb4, 0x6d, 0x41, 0x53, 0x2d, 0xa0, - 0x55, 0x16, 0x1c, 0x3d, 0xd8, 0x2d, 0xc8, 0x19, 0x34, 0x4c, 0xcb, 0xb5, 0xcb, 0x3e, 0xfd, 0x9d, - 0xf2, 0x72, 0xc5, 0xe4, 0x4a, 0x94, 0xcc, 0x61, 0x8f, 0x1c, 0xd6, 0x44, 0x45, 0x7f, 0x91, 0x68, - 0xd1, 0x30, 0x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x72, 0x62, 0x37, 0x9c, 0xc2, 0xd6, 0xa9, 0x8a, - 0x56, 0x38, 0xb0, 0xbf, 0xe4, 0x19, 0x1e, 0xb9, 0x94, 0x10, 0x19, 0x4b, 0xee, 0xfd, 0x9a, 0x68, - 0xe6, 0x61, 0xe4, 0x10, 0xef, 0xab, 0x12, 0xa4, 0xb5, 0x74, 0x90, 0xd9, 0x60, 0x73, 0x2a, 0x1a, - 0xca, 0x59, 0x38, 0x34, 0xd3, 0xb1, 0x41, 0xf4, 0x01, 0xe1, 0x83, 0xad, 0x52, 0xbe, 0x5d, 0x34, - 0xf4, 0xb7, 0x8b, 0x76, 0x65, 0x58, 0x83, 0x7f, 0x36, 0xac, 0xc5, 0x3b, 0x84, 0xef, 0x96, 0xd0, - 0xec, 0xa6, 0x5a, 0x90, 0xed, 0xb7, 0xb4, 0x59, 0xaa, 0x14, 0xbd, 0x5e, 0x3a, 0x10, 0x87, 0x9a, - 0xb6, 0x3c, 0x06, 0xc9, 0x13, 0xce, 0x5a, 0xb3, 0x72, 0x89, 0xbd, 0xa2, 0x9d, 0x50, 0x3f, 0x78, - 0xe0, 0x4f, 0xed, 0xc1, 0x67, 0x84, 0xde, 0x0f, 0xf6, 0xce, 0x96, 0xaf, 0x5e, 0x14, 0x81, 0x41, - 0x3e, 0xfa, 0x12, 0x00, 0x00, 0xff, 0xff, 0x50, 0x51, 0x5b, 0x19, 0xb8, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1/product_search_service.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1/product_search_service.pb.go deleted file mode 100644 index 7d4ad08b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1/product_search_service.pb.go +++ /dev/null @@ -1,3025 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/vision/v1p4beta1/product_search_service.proto - -package vision - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // 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_3ac817753c311f0a, []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-v2", "apparel-v2", "toys-v2", "packagedgoods-v1", or - // "general-v1" The legacy categories "homegoods", "apparel", and "toys" are - // still supported, but these should not be used for new products. - // - // 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_3ac817753c311f0a, []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 (m *Product) XXX_Merge(src proto.Message) { - xxx_messageInfo_Product.Merge(m, 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_3ac817753c311f0a, []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 (m *Product_KeyValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_Product_KeyValue.Merge(m, 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 timestamp is the default value - // "1970-01-01T00:00:00Z". - // - // 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_3ac817753c311f0a, []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 (m *ProductSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProductSet.Merge(m, 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_3ac817753c311f0a, []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 (m *ReferenceImage) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReferenceImage.Merge(m, 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_3ac817753c311f0a, []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 (m *CreateProductRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateProductRequest.Merge(m, 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_3ac817753c311f0a, []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 (m *ListProductsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListProductsRequest.Merge(m, 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_3ac817753c311f0a, []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 (m *ListProductsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListProductsResponse.Merge(m, 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_3ac817753c311f0a, []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 (m *GetProductRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetProductRequest.Merge(m, 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_3ac817753c311f0a, []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 (m *UpdateProductRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateProductRequest.Merge(m, 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_3ac817753c311f0a, []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 (m *DeleteProductRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteProductRequest.Merge(m, 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_3ac817753c311f0a, []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 (m *CreateProductSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateProductSetRequest.Merge(m, 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_3ac817753c311f0a, []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 (m *ListProductSetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListProductSetsRequest.Merge(m, 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_3ac817753c311f0a, []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 (m *ListProductSetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListProductSetsResponse.Merge(m, 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_3ac817753c311f0a, []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 (m *GetProductSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetProductSetRequest.Merge(m, 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_3ac817753c311f0a, []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 (m *UpdateProductSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateProductSetRequest.Merge(m, 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_3ac817753c311f0a, []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 (m *DeleteProductSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteProductSetRequest.Merge(m, 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_3ac817753c311f0a, []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 (m *CreateReferenceImageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateReferenceImageRequest.Merge(m, 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_3ac817753c311f0a, []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 (m *ListReferenceImagesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListReferenceImagesRequest.Merge(m, 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_3ac817753c311f0a, []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 (m *ListReferenceImagesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListReferenceImagesResponse.Merge(m, 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_3ac817753c311f0a, []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 (m *GetReferenceImageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetReferenceImageRequest.Merge(m, 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_3ac817753c311f0a, []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 (m *DeleteReferenceImageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteReferenceImageRequest.Merge(m, 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_3ac817753c311f0a, []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 (m *AddProductToProductSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddProductToProductSetRequest.Merge(m, 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_3ac817753c311f0a, []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 (m *RemoveProductFromProductSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveProductFromProductSetRequest.Merge(m, 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_3ac817753c311f0a, []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 (m *ListProductsInProductSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListProductsInProductSetRequest.Merge(m, 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_3ac817753c311f0a, []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 (m *ListProductsInProductSetResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListProductsInProductSetResponse.Merge(m, 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.v1p4beta1.Product.display_name], the - // `product-category` column refers to - // [product_category][google.cloud.vision.v1p4beta1.Product.product_category], - // and the `labels` column refers to - // [product_labels][google.cloud.vision.v1p4beta1.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.v1p4beta1.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_3ac817753c311f0a, []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 (m *ImportProductSetsGcsSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportProductSetsGcsSource.Merge(m, 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_3ac817753c311f0a, []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 (m *ImportProductSetsInputConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportProductSetsInputConfig.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*ImportProductSetsInputConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ImportProductSetsInputConfig_GcsSource)(nil), - } -} - -// 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_3ac817753c311f0a, []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 (m *ImportProductSetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportProductSetsRequest.Merge(m, 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_3ac817753c311f0a, []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 (m *ImportProductSetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportProductSetsResponse.Merge(m, 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.v1p4beta1.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_3ac817753c311f0a, []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 (m *BatchOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchOperationMetadata.Merge(m, 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.RegisterEnum("google.cloud.vision.v1p4beta1.BatchOperationMetadata_State", BatchOperationMetadata_State_name, BatchOperationMetadata_State_value) - proto.RegisterType((*Product)(nil), "google.cloud.vision.v1p4beta1.Product") - proto.RegisterType((*Product_KeyValue)(nil), "google.cloud.vision.v1p4beta1.Product.KeyValue") - proto.RegisterType((*ProductSet)(nil), "google.cloud.vision.v1p4beta1.ProductSet") - proto.RegisterType((*ReferenceImage)(nil), "google.cloud.vision.v1p4beta1.ReferenceImage") - proto.RegisterType((*CreateProductRequest)(nil), "google.cloud.vision.v1p4beta1.CreateProductRequest") - proto.RegisterType((*ListProductsRequest)(nil), "google.cloud.vision.v1p4beta1.ListProductsRequest") - proto.RegisterType((*ListProductsResponse)(nil), "google.cloud.vision.v1p4beta1.ListProductsResponse") - proto.RegisterType((*GetProductRequest)(nil), "google.cloud.vision.v1p4beta1.GetProductRequest") - proto.RegisterType((*UpdateProductRequest)(nil), "google.cloud.vision.v1p4beta1.UpdateProductRequest") - proto.RegisterType((*DeleteProductRequest)(nil), "google.cloud.vision.v1p4beta1.DeleteProductRequest") - proto.RegisterType((*CreateProductSetRequest)(nil), "google.cloud.vision.v1p4beta1.CreateProductSetRequest") - proto.RegisterType((*ListProductSetsRequest)(nil), "google.cloud.vision.v1p4beta1.ListProductSetsRequest") - proto.RegisterType((*ListProductSetsResponse)(nil), "google.cloud.vision.v1p4beta1.ListProductSetsResponse") - proto.RegisterType((*GetProductSetRequest)(nil), "google.cloud.vision.v1p4beta1.GetProductSetRequest") - proto.RegisterType((*UpdateProductSetRequest)(nil), "google.cloud.vision.v1p4beta1.UpdateProductSetRequest") - proto.RegisterType((*DeleteProductSetRequest)(nil), "google.cloud.vision.v1p4beta1.DeleteProductSetRequest") - proto.RegisterType((*CreateReferenceImageRequest)(nil), "google.cloud.vision.v1p4beta1.CreateReferenceImageRequest") - proto.RegisterType((*ListReferenceImagesRequest)(nil), "google.cloud.vision.v1p4beta1.ListReferenceImagesRequest") - proto.RegisterType((*ListReferenceImagesResponse)(nil), "google.cloud.vision.v1p4beta1.ListReferenceImagesResponse") - proto.RegisterType((*GetReferenceImageRequest)(nil), "google.cloud.vision.v1p4beta1.GetReferenceImageRequest") - proto.RegisterType((*DeleteReferenceImageRequest)(nil), "google.cloud.vision.v1p4beta1.DeleteReferenceImageRequest") - proto.RegisterType((*AddProductToProductSetRequest)(nil), "google.cloud.vision.v1p4beta1.AddProductToProductSetRequest") - proto.RegisterType((*RemoveProductFromProductSetRequest)(nil), "google.cloud.vision.v1p4beta1.RemoveProductFromProductSetRequest") - proto.RegisterType((*ListProductsInProductSetRequest)(nil), "google.cloud.vision.v1p4beta1.ListProductsInProductSetRequest") - proto.RegisterType((*ListProductsInProductSetResponse)(nil), "google.cloud.vision.v1p4beta1.ListProductsInProductSetResponse") - proto.RegisterType((*ImportProductSetsGcsSource)(nil), "google.cloud.vision.v1p4beta1.ImportProductSetsGcsSource") - proto.RegisterType((*ImportProductSetsInputConfig)(nil), "google.cloud.vision.v1p4beta1.ImportProductSetsInputConfig") - proto.RegisterType((*ImportProductSetsRequest)(nil), "google.cloud.vision.v1p4beta1.ImportProductSetsRequest") - proto.RegisterType((*ImportProductSetsResponse)(nil), "google.cloud.vision.v1p4beta1.ImportProductSetsResponse") - proto.RegisterType((*BatchOperationMetadata)(nil), "google.cloud.vision.v1p4beta1.BatchOperationMetadata") -} - -func init() { - proto.RegisterFile("google/cloud/vision/v1p4beta1/product_search_service.proto", fileDescriptor_3ac817753c311f0a) -} - -var fileDescriptor_3ac817753c311f0a = []byte{ - // 1874 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, 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0x6f, 0x00, 0x84, 0x0c, - 0x32, 0x75, 0xc1, 0xc6, 0x05, 0x31, 0xd3, 0xd6, 0x25, 0x13, 0xbe, 0x76, 0x60, 0x52, 0x5f, 0xa8, - 0xd1, 0x2c, 0x3c, 0xeb, 0xb0, 0xe0, 0xaa, 0x06, 0xe9, 0x52, 0xf3, 0xc3, 0x20, 0xbb, 0x73, 0xca, - 0x3c, 0x9b, 0xe8, 0x98, 0x1f, 0x12, 0xbe, 0x14, 0xfb, 0xe8, 0x3b, 0x0f, 0x89, 0x3d, 0x58, 0x4a, - 0x35, 0xc8, 0x31, 0x9b, 0x90, 0x3e, 0x46, 0xb0, 0x12, 0x5f, 0x8b, 0xba, 0x8e, 0x4d, 0x09, 0xde, - 0x81, 0x79, 0x01, 0x88, 0x96, 0x11, 0x8f, 0x71, 0x5e, 0x2f, 0x07, 0x7a, 0xf8, 0x45, 0x58, 0xb6, - 0xc9, 0x07, 0x7e, 0x37, 0x02, 0x20, 0xc8, 0x65, 0x91, 0x4d, 0x1f, 0x0d, 0x40, 0x7c, 0x0b, 0xae, - 0xef, 0x13, 0x3f, 0x11, 0xfd, 0x14, 0x42, 0x48, 0xbf, 0x41, 0xb0, 0x72, 0xe2, 0xea, 0xa3, 0xa9, - 0x8a, 0xa4, 0x04, 0x4d, 0x97, 0x92, 0x2d, 0x28, 0xf4, 0xb9, 0x65, 0x7e, 0x66, 0x89, 0xc4, 0x8e, - 0xee, 0x81, 0x3d, 0x76, 0xac, 0xdd, 0x53, 0xe9, 0x43, 0x05, 0x02, 0x71, 0xf6, 0x5b, 0xaa, 0xc2, - 0xca, 0x2e, 0xb1, 0xc8, 0x08, 0xac, 0x34, 0x1f, 0x3e, 0x45, 0xb0, 0x16, 0xa3, 0x5b, 0x87, 0x64, - 0x32, 0xee, 0x47, 0x50, 0x18, 0x5e, 0x15, 0x21, 0xeb, 0x5e, 0xce, 0xe7, 0x22, 0x33, 0x1f, 0xb2, - 0x8d, 0x1d, 0x11, 0xdf,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, 0x05, 0x54, 0x7f, 0xcd, 0xf5, 0x9c, 0x9f, 0x12, 0xcd, 0xa7, - 0x72, 0x55, 0xb6, 0x1c, 0x2d, 0xe8, 0xf3, 0xe5, 0xea, 0x47, 0x72, 0xa4, 0x56, 0x6a, 0x44, 0x2b, - 0x17, 0xfc, 0x37, 0x04, 0xcb, 0x89, 0x12, 0x0d, 0xdf, 0xca, 0xc0, 0x92, 0x5e, 0x41, 0x56, 0x6e, - 0x4f, 0xaa, 0x16, 0x6c, 0x10, 0xe9, 0x2e, 0xf7, 0xe7, 0xfb, 0x78, 0x4a, 0x7f, 0xf0, 0xef, 0x11, - 0x14, 0x63, 0x45, 0x1d, 0xde, 0xcc, 0x40, 0x92, 0x56, 0x02, 0x4e, 0x92, 0x81, 0x54, 0xc4, 0xec, - 0xce, 0x18, 0x83, 0x37, 0x0a, 0x57, 0xae, 0x7e, 0x84, 0xff, 0x85, 0xa0, 0x94, 0xac, 0x2c, 0x33, - 0x99, 0x33, 0xa6, 0x14, 0x9d, 0x04, 0xf7, 0x8f, 0x39, 0xee, 0xb7, 0xea, 0x3b, 0xb1, 0x48, 0x0f, - 0xd9, 0x50, 0xcb, 0xef, 0x43, 0x9c, 0x45, 0x8f, 0x11, 0x94, 0x92, 0x65, 0x68, 0xa6, 0x43, 0x63, - 0xea, 0xd6, 0xca, 0xea, 0xc8, 0x4e, 0x6f, 0xf5, 0x5c, 0xff, 0x22, 0x8c, 0x7a, 0x75, 0xda, 0xa8, - 0xff, 0x01, 0x41, 0x31, 0xb6, 0xfd, 0x32, 0x79, 0x92, 0xf6, 0x7c, 0x50, 0xc9, 0x79, 0x47, 0x4b, - 0xbb, 0x1c, 0xee, 0x5d, 0x69, 0x73, 0x72, 0x5a, 0xd3, 0xc6, 0xa0, 0x7f, 0xfd, 0x13, 0x82, 0xc5, - 0x68, 0x21, 0x81, 0xeb, 0xf9, 0x77, 0xd9, 0x60, 0x67, 0x6e, 0x4e, 0xa4, 0x23, 0xb6, 0xe5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0xc1, 0xe1, 0xe9, - 0x55, 0xae, 0xb9, 0xf9, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc0, 0x32, 0x1a, 0x41, 0x2f, 0x1e, - 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 - -// 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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.ImportProductSetsGcsSource.csv_file_uri]. - ImportProductSets(context.Context, *ImportProductSetsRequest) (*longrunning.Operation, error) -} - -// UnimplementedProductSearchServer can be embedded to have forward compatible implementations. -type UnimplementedProductSearchServer struct { -} - -func (*UnimplementedProductSearchServer) CreateProductSet(ctx context.Context, req *CreateProductSetRequest) (*ProductSet, error) { - return nil, status1.Errorf(codes.Unimplemented, "method CreateProductSet not implemented") -} -func (*UnimplementedProductSearchServer) ListProductSets(ctx context.Context, req *ListProductSetsRequest) (*ListProductSetsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListProductSets not implemented") -} -func (*UnimplementedProductSearchServer) GetProductSet(ctx context.Context, req *GetProductSetRequest) (*ProductSet, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetProductSet not implemented") -} -func (*UnimplementedProductSearchServer) UpdateProductSet(ctx context.Context, req *UpdateProductSetRequest) (*ProductSet, error) { - return nil, status1.Errorf(codes.Unimplemented, "method UpdateProductSet not implemented") -} -func (*UnimplementedProductSearchServer) DeleteProductSet(ctx context.Context, req *DeleteProductSetRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method DeleteProductSet not implemented") -} -func (*UnimplementedProductSearchServer) CreateProduct(ctx context.Context, req *CreateProductRequest) (*Product, error) { - return nil, status1.Errorf(codes.Unimplemented, "method CreateProduct not implemented") -} -func (*UnimplementedProductSearchServer) ListProducts(ctx context.Context, req *ListProductsRequest) (*ListProductsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListProducts not implemented") -} -func (*UnimplementedProductSearchServer) GetProduct(ctx context.Context, req *GetProductRequest) (*Product, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetProduct not implemented") -} -func (*UnimplementedProductSearchServer) UpdateProduct(ctx context.Context, req *UpdateProductRequest) (*Product, error) { - return nil, status1.Errorf(codes.Unimplemented, "method UpdateProduct not implemented") -} -func (*UnimplementedProductSearchServer) DeleteProduct(ctx context.Context, req *DeleteProductRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method DeleteProduct not implemented") -} -func (*UnimplementedProductSearchServer) CreateReferenceImage(ctx context.Context, req *CreateReferenceImageRequest) (*ReferenceImage, error) { - return nil, status1.Errorf(codes.Unimplemented, "method CreateReferenceImage not implemented") -} -func (*UnimplementedProductSearchServer) DeleteReferenceImage(ctx context.Context, req *DeleteReferenceImageRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method DeleteReferenceImage not implemented") -} -func (*UnimplementedProductSearchServer) ListReferenceImages(ctx context.Context, req *ListReferenceImagesRequest) (*ListReferenceImagesResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListReferenceImages not implemented") -} -func (*UnimplementedProductSearchServer) GetReferenceImage(ctx context.Context, req *GetReferenceImageRequest) (*ReferenceImage, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetReferenceImage not implemented") -} -func (*UnimplementedProductSearchServer) AddProductToProductSet(ctx context.Context, req *AddProductToProductSetRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method AddProductToProductSet not implemented") -} -func (*UnimplementedProductSearchServer) RemoveProductFromProductSet(ctx context.Context, req *RemoveProductFromProductSetRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method RemoveProductFromProductSet not implemented") -} -func (*UnimplementedProductSearchServer) ListProductsInProductSet(ctx context.Context, req *ListProductsInProductSetRequest) (*ListProductsInProductSetResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListProductsInProductSet not implemented") -} -func (*UnimplementedProductSearchServer) ImportProductSets(ctx context.Context, req *ImportProductSetsRequest) (*longrunning.Operation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ImportProductSets not implemented") -} - -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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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.v1p4beta1.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/v1p4beta1/product_search_service.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1/text_annotation.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1/text_annotation.pb.go deleted file mode 100644 index 26a28686..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1/text_annotation.pb.go +++ /dev/null @@ -1,815 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/vision/v1p4beta1/text_annotation.proto - -package vision - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enum to denote the type of break found. New line, space etc. -type TextAnnotation_DetectedBreak_BreakType int32 - -const ( - // Unknown break label type. - TextAnnotation_DetectedBreak_UNKNOWN TextAnnotation_DetectedBreak_BreakType = 0 - // Regular space. - TextAnnotation_DetectedBreak_SPACE TextAnnotation_DetectedBreak_BreakType = 1 - // Sure space (very wide). - TextAnnotation_DetectedBreak_SURE_SPACE TextAnnotation_DetectedBreak_BreakType = 2 - // Line-wrapping break. - TextAnnotation_DetectedBreak_EOL_SURE_SPACE TextAnnotation_DetectedBreak_BreakType = 3 - // End-line hyphen that is not present in text; does not co-occur with - // `SPACE`, `LEADER_SPACE`, or `LINE_BREAK`. - TextAnnotation_DetectedBreak_HYPHEN TextAnnotation_DetectedBreak_BreakType = 4 - // Line break that ends a paragraph. - TextAnnotation_DetectedBreak_LINE_BREAK TextAnnotation_DetectedBreak_BreakType = 5 -) - -var TextAnnotation_DetectedBreak_BreakType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "SPACE", - 2: "SURE_SPACE", - 3: "EOL_SURE_SPACE", - 4: "HYPHEN", - 5: "LINE_BREAK", -} - -var TextAnnotation_DetectedBreak_BreakType_value = map[string]int32{ - "UNKNOWN": 0, - "SPACE": 1, - "SURE_SPACE": 2, - "EOL_SURE_SPACE": 3, - "HYPHEN": 4, - "LINE_BREAK": 5, -} - -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_c423097b992ebbd5, []int{0, 1, 0} -} - -// Type of a block (text, image etc) as identified by OCR. -type Block_BlockType int32 - -const ( - // Unknown block type. - Block_UNKNOWN Block_BlockType = 0 - // Regular text block. - Block_TEXT Block_BlockType = 1 - // Table block. - Block_TABLE Block_BlockType = 2 - // Image block. - Block_PICTURE Block_BlockType = 3 - // Horizontal/vertical line box. - Block_RULER Block_BlockType = 4 - // Barcode block. - Block_BARCODE Block_BlockType = 5 -) - -var Block_BlockType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "TEXT", - 2: "TABLE", - 3: "PICTURE", - 4: "RULER", - 5: "BARCODE", -} - -var Block_BlockType_value = map[string]int32{ - "UNKNOWN": 0, - "TEXT": 1, - "TABLE": 2, - "PICTURE": 3, - "RULER": 4, - "BARCODE": 5, -} - -func (x Block_BlockType) String() string { - return proto.EnumName(Block_BlockType_name, int32(x)) -} - -func (Block_BlockType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_c423097b992ebbd5, []int{2, 0} -} - -// TextAnnotation contains a structured representation of OCR extracted text. -// The hierarchy of an OCR extracted text structure is like this: -// TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol -// Each structural component, starting from Page, may further have their own -// properties. Properties describe detected languages, breaks etc.. Please refer -// to the -// [TextAnnotation.TextProperty][google.cloud.vision.v1p4beta1.TextAnnotation.TextProperty] -// message definition below for more detail. -type TextAnnotation struct { - // List of pages detected by OCR. - Pages []*Page `protobuf:"bytes,1,rep,name=pages,proto3" json:"pages,omitempty"` - // UTF-8 text detected on the pages. - Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,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_c423097b992ebbd5, []int{0} -} - -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 (m *TextAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextAnnotation.Merge(m, 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) GetPages() []*Page { - if m != nil { - return m.Pages - } - return nil -} - -func (m *TextAnnotation) GetText() string { - if m != nil { - return m.Text - } - return "" -} - -// Detected language for a structural component. -type TextAnnotation_DetectedLanguage struct { - // 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,1,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // Confidence of detected language. 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 *TextAnnotation_DetectedLanguage) Reset() { *m = TextAnnotation_DetectedLanguage{} } -func (m *TextAnnotation_DetectedLanguage) String() string { return proto.CompactTextString(m) } -func (*TextAnnotation_DetectedLanguage) ProtoMessage() {} -func (*TextAnnotation_DetectedLanguage) Descriptor() ([]byte, []int) { - return fileDescriptor_c423097b992ebbd5, []int{0, 0} -} - -func (m *TextAnnotation_DetectedLanguage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextAnnotation_DetectedLanguage.Unmarshal(m, b) -} -func (m *TextAnnotation_DetectedLanguage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextAnnotation_DetectedLanguage.Marshal(b, m, deterministic) -} -func (m *TextAnnotation_DetectedLanguage) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextAnnotation_DetectedLanguage.Merge(m, src) -} -func (m *TextAnnotation_DetectedLanguage) XXX_Size() int { - return xxx_messageInfo_TextAnnotation_DetectedLanguage.Size(m) -} -func (m *TextAnnotation_DetectedLanguage) XXX_DiscardUnknown() { - xxx_messageInfo_TextAnnotation_DetectedLanguage.DiscardUnknown(m) -} - -var xxx_messageInfo_TextAnnotation_DetectedLanguage proto.InternalMessageInfo - -func (m *TextAnnotation_DetectedLanguage) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *TextAnnotation_DetectedLanguage) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -// Detected start or end of a structural component. -type TextAnnotation_DetectedBreak struct { - // Detected break type. - Type TextAnnotation_DetectedBreak_BreakType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.vision.v1p4beta1.TextAnnotation_DetectedBreak_BreakType" json:"type,omitempty"` - // True if break prepends the element. - IsPrefix bool `protobuf:"varint,2,opt,name=is_prefix,json=isPrefix,proto3" json:"is_prefix,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TextAnnotation_DetectedBreak) Reset() { *m = TextAnnotation_DetectedBreak{} } -func (m *TextAnnotation_DetectedBreak) String() string { return proto.CompactTextString(m) } -func (*TextAnnotation_DetectedBreak) ProtoMessage() {} -func (*TextAnnotation_DetectedBreak) Descriptor() ([]byte, []int) { - return fileDescriptor_c423097b992ebbd5, []int{0, 1} -} - -func (m *TextAnnotation_DetectedBreak) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextAnnotation_DetectedBreak.Unmarshal(m, b) -} -func (m *TextAnnotation_DetectedBreak) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextAnnotation_DetectedBreak.Marshal(b, m, deterministic) -} -func (m *TextAnnotation_DetectedBreak) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextAnnotation_DetectedBreak.Merge(m, src) -} -func (m *TextAnnotation_DetectedBreak) XXX_Size() int { - return xxx_messageInfo_TextAnnotation_DetectedBreak.Size(m) -} -func (m *TextAnnotation_DetectedBreak) XXX_DiscardUnknown() { - xxx_messageInfo_TextAnnotation_DetectedBreak.DiscardUnknown(m) -} - -var xxx_messageInfo_TextAnnotation_DetectedBreak proto.InternalMessageInfo - -func (m *TextAnnotation_DetectedBreak) GetType() TextAnnotation_DetectedBreak_BreakType { - if m != nil { - return m.Type - } - return TextAnnotation_DetectedBreak_UNKNOWN -} - -func (m *TextAnnotation_DetectedBreak) GetIsPrefix() bool { - if m != nil { - return m.IsPrefix - } - return false -} - -// Additional information detected on the structural component. -type TextAnnotation_TextProperty struct { - // A list of detected languages together with confidence. - DetectedLanguages []*TextAnnotation_DetectedLanguage `protobuf:"bytes,1,rep,name=detected_languages,json=detectedLanguages,proto3" json:"detected_languages,omitempty"` - // Detected start or end of a text segment. - DetectedBreak *TextAnnotation_DetectedBreak `protobuf:"bytes,2,opt,name=detected_break,json=detectedBreak,proto3" json:"detected_break,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TextAnnotation_TextProperty) Reset() { *m = TextAnnotation_TextProperty{} } -func (m *TextAnnotation_TextProperty) String() string { return proto.CompactTextString(m) } -func (*TextAnnotation_TextProperty) ProtoMessage() {} -func (*TextAnnotation_TextProperty) Descriptor() ([]byte, []int) { - return fileDescriptor_c423097b992ebbd5, []int{0, 2} -} - -func (m *TextAnnotation_TextProperty) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TextAnnotation_TextProperty.Unmarshal(m, b) -} -func (m *TextAnnotation_TextProperty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TextAnnotation_TextProperty.Marshal(b, m, deterministic) -} -func (m *TextAnnotation_TextProperty) XXX_Merge(src proto.Message) { - xxx_messageInfo_TextAnnotation_TextProperty.Merge(m, src) -} -func (m *TextAnnotation_TextProperty) XXX_Size() int { - return xxx_messageInfo_TextAnnotation_TextProperty.Size(m) -} -func (m *TextAnnotation_TextProperty) XXX_DiscardUnknown() { - xxx_messageInfo_TextAnnotation_TextProperty.DiscardUnknown(m) -} - -var xxx_messageInfo_TextAnnotation_TextProperty proto.InternalMessageInfo - -func (m *TextAnnotation_TextProperty) GetDetectedLanguages() []*TextAnnotation_DetectedLanguage { - if m != nil { - return m.DetectedLanguages - } - return nil -} - -func (m *TextAnnotation_TextProperty) GetDetectedBreak() *TextAnnotation_DetectedBreak { - if m != nil { - return m.DetectedBreak - } - return nil -} - -// Detected page from OCR. -type Page struct { - // Additional information detected on the page. - Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` - // Page width. For PDFs the unit is points. For images (including - // TIFFs) the unit is pixels. - Width int32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` - // Page height. For PDFs the unit is points. For images (including - // TIFFs) the unit is pixels. - Height int32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` - // List of blocks of text, images etc on this page. - Blocks []*Block `protobuf:"bytes,4,rep,name=blocks,proto3" json:"blocks,omitempty"` - // Confidence of the OCR results on the page. Range [0, 1]. - Confidence float32 `protobuf:"fixed32,5,opt,name=confidence,proto3" json:"confidence,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c423097b992ebbd5, []int{1} -} - -func (m *Page) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Page.Unmarshal(m, b) -} -func (m *Page) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Page.Marshal(b, m, deterministic) -} -func (m *Page) XXX_Merge(src proto.Message) { - xxx_messageInfo_Page.Merge(m, src) -} -func (m *Page) XXX_Size() int { - return xxx_messageInfo_Page.Size(m) -} -func (m *Page) XXX_DiscardUnknown() { - xxx_messageInfo_Page.DiscardUnknown(m) -} - -var xxx_messageInfo_Page proto.InternalMessageInfo - -func (m *Page) GetProperty() *TextAnnotation_TextProperty { - if m != nil { - return m.Property - } - return nil -} - -func (m *Page) GetWidth() int32 { - if m != nil { - return m.Width - } - return 0 -} - -func (m *Page) GetHeight() int32 { - if m != nil { - return m.Height - } - return 0 -} - -func (m *Page) GetBlocks() []*Block { - if m != nil { - return m.Blocks - } - return nil -} - -func (m *Page) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -// Logical element on the page. -type Block struct { - // Additional information detected for the block. - Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` - // The bounding box for the block. - // The vertices are in the order of top-left, top-right, bottom-right, - // bottom-left. When a rotation of the bounding box is detected the rotation - // is represented as around the top-left corner as defined when the text is - // read in the 'natural' orientation. - // For example: - // - // * when the text is horizontal it might look like: - // - // 0----1 - // | | - // 3----2 - // - // * when it's 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). - 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"` - // Detected block type (text, image etc) for this block. - BlockType Block_BlockType `protobuf:"varint,4,opt,name=block_type,json=blockType,proto3,enum=google.cloud.vision.v1p4beta1.Block_BlockType" json:"block_type,omitempty"` - // Confidence of the OCR results on the block. Range [0, 1]. - Confidence float32 `protobuf:"fixed32,5,opt,name=confidence,proto3" json:"confidence,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c423097b992ebbd5, []int{2} -} - -func (m *Block) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Block.Unmarshal(m, b) -} -func (m *Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Block.Marshal(b, m, deterministic) -} -func (m *Block) XXX_Merge(src proto.Message) { - xxx_messageInfo_Block.Merge(m, src) -} -func (m *Block) XXX_Size() int { - return xxx_messageInfo_Block.Size(m) -} -func (m *Block) XXX_DiscardUnknown() { - xxx_messageInfo_Block.DiscardUnknown(m) -} - -var xxx_messageInfo_Block proto.InternalMessageInfo - -func (m *Block) GetProperty() *TextAnnotation_TextProperty { - if m != nil { - return m.Property - } - return nil -} - -func (m *Block) GetBoundingBox() *BoundingPoly { - if m != nil { - return m.BoundingBox - } - return nil -} - -func (m *Block) GetParagraphs() []*Paragraph { - if m != nil { - return m.Paragraphs - } - return nil -} - -func (m *Block) GetBlockType() Block_BlockType { - if m != nil { - return m.BlockType - } - return Block_UNKNOWN -} - -func (m *Block) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -// Structural unit of text representing a number of words in certain order. -type Paragraph struct { - // Additional information detected for the paragraph. - Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` - // The bounding box for the paragraph. - // The vertices are in the order of top-left, top-right, bottom-right, - // bottom-left. When a rotation of the bounding box is detected the rotation - // is represented as around the top-left corner as defined when the text is - // read in the 'natural' orientation. - // For example: - // * when the text is horizontal it might look like: - // 0----1 - // | | - // 3----2 - // * when it's 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). - 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"` - // Confidence of the OCR results for the paragraph. Range [0, 1]. - Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c423097b992ebbd5, []int{3} -} - -func (m *Paragraph) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Paragraph.Unmarshal(m, b) -} -func (m *Paragraph) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Paragraph.Marshal(b, m, deterministic) -} -func (m *Paragraph) XXX_Merge(src proto.Message) { - xxx_messageInfo_Paragraph.Merge(m, src) -} -func (m *Paragraph) XXX_Size() int { - return xxx_messageInfo_Paragraph.Size(m) -} -func (m *Paragraph) XXX_DiscardUnknown() { - xxx_messageInfo_Paragraph.DiscardUnknown(m) -} - -var xxx_messageInfo_Paragraph proto.InternalMessageInfo - -func (m *Paragraph) GetProperty() *TextAnnotation_TextProperty { - if m != nil { - return m.Property - } - return nil -} - -func (m *Paragraph) GetBoundingBox() *BoundingPoly { - if m != nil { - return m.BoundingBox - } - return nil -} - -func (m *Paragraph) GetWords() []*Word { - if m != nil { - return m.Words - } - return nil -} - -func (m *Paragraph) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -// A word representation. -type Word struct { - // Additional information detected for the word. - Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` - // The bounding box for the word. - // The vertices are in the order of top-left, top-right, bottom-right, - // bottom-left. When a rotation of the bounding box is detected the rotation - // is represented as around the top-left corner as defined when the text is - // read in the 'natural' orientation. - // For example: - // * when the text is horizontal it might look like: - // 0----1 - // | | - // 3----2 - // * when it's 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). - 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. - Symbols []*Symbol `protobuf:"bytes,3,rep,name=symbols,proto3" json:"symbols,omitempty"` - // Confidence of the OCR results for the word. Range [0, 1]. - Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c423097b992ebbd5, []int{4} -} - -func (m *Word) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Word.Unmarshal(m, b) -} -func (m *Word) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Word.Marshal(b, m, deterministic) -} -func (m *Word) XXX_Merge(src proto.Message) { - xxx_messageInfo_Word.Merge(m, src) -} -func (m *Word) XXX_Size() int { - return xxx_messageInfo_Word.Size(m) -} -func (m *Word) XXX_DiscardUnknown() { - xxx_messageInfo_Word.DiscardUnknown(m) -} - -var xxx_messageInfo_Word proto.InternalMessageInfo - -func (m *Word) GetProperty() *TextAnnotation_TextProperty { - if m != nil { - return m.Property - } - return nil -} - -func (m *Word) GetBoundingBox() *BoundingPoly { - if m != nil { - return m.BoundingBox - } - return nil -} - -func (m *Word) GetSymbols() []*Symbol { - if m != nil { - return m.Symbols - } - return nil -} - -func (m *Word) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -// A single symbol representation. -type Symbol struct { - // Additional information detected for the symbol. - Property *TextAnnotation_TextProperty `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` - // The bounding box for the symbol. - // The vertices are in the order of top-left, top-right, bottom-right, - // bottom-left. When a rotation of the bounding box is detected the rotation - // is represented as around the top-left corner as defined when the text is - // read in the 'natural' orientation. - // For example: - // * when the text is horizontal it might look like: - // 0----1 - // | | - // 3----2 - // * when it's rotated 180 degrees around the top-left corner it becomes: - // 2----3 - // | | - // 1----0 - // and the vertice order will still be (0, 1, 2, 3). - BoundingBox *BoundingPoly `protobuf:"bytes,2,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"` - // The actual UTF-8 representation of the symbol. - Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"` - // Confidence of the OCR results for the symbol. Range [0, 1]. - Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c423097b992ebbd5, []int{5} -} - -func (m *Symbol) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Symbol.Unmarshal(m, b) -} -func (m *Symbol) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Symbol.Marshal(b, m, deterministic) -} -func (m *Symbol) XXX_Merge(src proto.Message) { - xxx_messageInfo_Symbol.Merge(m, src) -} -func (m *Symbol) XXX_Size() int { - return xxx_messageInfo_Symbol.Size(m) -} -func (m *Symbol) XXX_DiscardUnknown() { - xxx_messageInfo_Symbol.DiscardUnknown(m) -} - -var xxx_messageInfo_Symbol proto.InternalMessageInfo - -func (m *Symbol) GetProperty() *TextAnnotation_TextProperty { - if m != nil { - return m.Property - } - return nil -} - -func (m *Symbol) GetBoundingBox() *BoundingPoly { - if m != nil { - return m.BoundingBox - } - return nil -} - -func (m *Symbol) GetText() string { - if m != nil { - return m.Text - } - return "" -} - -func (m *Symbol) GetConfidence() float32 { - if m != nil { - return m.Confidence - } - return 0 -} - -func init() { - proto.RegisterEnum("google.cloud.vision.v1p4beta1.TextAnnotation_DetectedBreak_BreakType", TextAnnotation_DetectedBreak_BreakType_name, TextAnnotation_DetectedBreak_BreakType_value) - proto.RegisterEnum("google.cloud.vision.v1p4beta1.Block_BlockType", Block_BlockType_name, Block_BlockType_value) - proto.RegisterType((*TextAnnotation)(nil), "google.cloud.vision.v1p4beta1.TextAnnotation") - proto.RegisterType((*TextAnnotation_DetectedLanguage)(nil), "google.cloud.vision.v1p4beta1.TextAnnotation.DetectedLanguage") - proto.RegisterType((*TextAnnotation_DetectedBreak)(nil), "google.cloud.vision.v1p4beta1.TextAnnotation.DetectedBreak") - proto.RegisterType((*TextAnnotation_TextProperty)(nil), "google.cloud.vision.v1p4beta1.TextAnnotation.TextProperty") - proto.RegisterType((*Page)(nil), "google.cloud.vision.v1p4beta1.Page") - proto.RegisterType((*Block)(nil), "google.cloud.vision.v1p4beta1.Block") - proto.RegisterType((*Paragraph)(nil), "google.cloud.vision.v1p4beta1.Paragraph") - proto.RegisterType((*Word)(nil), "google.cloud.vision.v1p4beta1.Word") - proto.RegisterType((*Symbol)(nil), "google.cloud.vision.v1p4beta1.Symbol") -} - -func init() { - proto.RegisterFile("google/cloud/vision/v1p4beta1/text_annotation.proto", fileDescriptor_c423097b992ebbd5) -} - -var fileDescriptor_c423097b992ebbd5 = []byte{ - // 785 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x56, 0xdd, 0x6a, 0xdb, 0x48, - 0x14, 0x5e, 0xd9, 0x92, 0x63, 0x1d, 0x27, 0x46, 0x3b, 0xbb, 0x2c, 0xc6, 0xfb, 0x43, 0xd6, 0xd9, - 0x85, 0xc0, 0x2e, 0x32, 0x71, 0xf6, 0x26, 0x9b, 0xd2, 0x62, 0x39, 0xa2, 0x09, 0x71, 0x1d, 0x31, - 0xb1, 0x93, 0xa6, 0x37, 0x42, 0x3f, 0x13, 0x59, 0xc4, 0xd6, 0x08, 0x49, 0x49, 0xec, 0x47, 0x28, - 0x85, 0xf6, 0x1d, 0xfa, 0x1c, 0x7d, 0x99, 0x42, 0xaf, 0x4a, 0x1f, 0xa0, 0x97, 0x45, 0x23, 0xc9, - 0xb1, 0x5d, 0x1a, 0xf5, 0x87, 0x5e, 0xe4, 0xc6, 0xcc, 0x39, 0x3e, 0xdf, 0x99, 0xf3, 0x7d, 0x67, - 0x8e, 0x66, 0x60, 0xdb, 0xa1, 0xd4, 0x19, 0x91, 0xa6, 0x35, 0xa2, 0x97, 0x76, 0xf3, 0xca, 0x0d, - 0x5d, 0xea, 0x35, 0xaf, 0xb6, 0xfc, 0xff, 0x4c, 0x12, 0x19, 0x5b, 0xcd, 0x88, 0x4c, 0x22, 0xdd, - 0xf0, 0x3c, 0x1a, 0x19, 0x91, 0x4b, 0x3d, 0xd9, 0x0f, 0x68, 0x44, 0xd1, 0xef, 0x09, 0x48, 0x66, - 0x20, 0x39, 0x01, 0xc9, 0x33, 0x50, 0xfd, 0xb7, 0x34, 0xa7, 0xe1, 0xbb, 0xcd, 0x1b, 0x6c, 0x98, - 0x80, 0xeb, 0xff, 0xde, 0xbe, 0xa3, 0x43, 0xe8, 0x98, 0x44, 0xc1, 0x34, 0x89, 0x6e, 0x3c, 0x13, - 0xa0, 0xda, 0x27, 0x93, 0xa8, 0x3d, 0xcb, 0x83, 0x76, 0x40, 0xf0, 0x0d, 0x87, 0x84, 0x35, 0x6e, - 0xbd, 0xb8, 0x59, 0x69, 0x6d, 0xc8, 0xb7, 0x56, 0x23, 0x6b, 0x86, 0x43, 0x70, 0x82, 0x40, 0x08, - 0xf8, 0x98, 0x51, 0xad, 0xb0, 0xce, 0x6d, 0x8a, 0x98, 0xad, 0xeb, 0xa7, 0x20, 0xed, 0x91, 0x88, - 0x58, 0x11, 0xb1, 0xbb, 0x86, 0xe7, 0x5c, 0x1a, 0x0e, 0x41, 0x1b, 0xb0, 0x36, 0x4a, 0xd7, 0xba, - 0x45, 0x6d, 0x52, 0xe3, 0x18, 0x60, 0x35, 0x73, 0x76, 0xa8, 0x4d, 0xd0, 0x1f, 0x00, 0x16, 0xf5, - 0xce, 0x5d, 0x9b, 0x78, 0x16, 0x61, 0x29, 0x0b, 0x78, 0xce, 0x53, 0x7f, 0xc7, 0xc1, 0x5a, 0x96, - 0x59, 0x09, 0x88, 0x71, 0x81, 0xce, 0x80, 0x8f, 0xa6, 0x7e, 0x92, 0xad, 0xda, 0x52, 0x73, 0x0a, - 0x5f, 0xa4, 0x2d, 0x2f, 0xa4, 0x92, 0xd9, 0x6f, 0x7f, 0xea, 0x13, 0xcc, 0x52, 0xa2, 0x5f, 0x41, - 0x74, 0x43, 0xdd, 0x0f, 0xc8, 0xb9, 0x3b, 0x61, 0xb5, 0x94, 0x71, 0xd9, 0x0d, 0x35, 0x66, 0x37, - 0x2c, 0x10, 0x67, 0xf1, 0xa8, 0x02, 0x2b, 0x83, 0xde, 0x61, 0xef, 0xe8, 0xb4, 0x27, 0xfd, 0x80, - 0x44, 0x10, 0x8e, 0xb5, 0x76, 0x47, 0x95, 0x38, 0x54, 0x05, 0x38, 0x1e, 0x60, 0x55, 0x4f, 0xec, - 0x02, 0x42, 0x50, 0x55, 0x8f, 0xba, 0xfa, 0x9c, 0xaf, 0x88, 0x00, 0x4a, 0xfb, 0x67, 0xda, 0xbe, - 0xda, 0x93, 0xf8, 0x38, 0xbe, 0x7b, 0xd0, 0x53, 0x75, 0x05, 0xab, 0xed, 0x43, 0x49, 0xa8, 0xbf, - 0xe6, 0x60, 0x35, 0x2e, 0x59, 0x0b, 0xa8, 0x4f, 0x82, 0x68, 0x8a, 0xc6, 0x80, 0xec, 0xb4, 0x66, - 0x3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8, 0x87, 0x9d, 0x93, 0x9e, 0x59, - 0x62, 0xc8, 0xed, 0x0f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xd3, 0x30, 0xc7, 0x3a, 0x78, 0x09, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1/web_detection.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1/web_detection.pb.go deleted file mode 100644 index 75c4ea4d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1/web_detection.pb.go +++ /dev/null @@ -1,405 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/vision/v1p4beta1/web_detection.proto - -package vision - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Relevant information for the image from the Internet. -type WebDetection struct { - // Deduced entities from similar images on the Internet. - WebEntities []*WebDetection_WebEntity `protobuf:"bytes,1,rep,name=web_entities,json=webEntities,proto3" json:"web_entities,omitempty"` - // Fully matching images from the Internet. - // Can include resized copies of the query image. - FullMatchingImages []*WebDetection_WebImage `protobuf:"bytes,2,rep,name=full_matching_images,json=fullMatchingImages,proto3" json:"full_matching_images,omitempty"` - // Partial matching images from the Internet. - // Those images are similar enough to share some key-point features. For - // example an original image will likely have partial matching for its crops. - PartialMatchingImages []*WebDetection_WebImage `protobuf:"bytes,3,rep,name=partial_matching_images,json=partialMatchingImages,proto3" json:"partial_matching_images,omitempty"` - // Web pages containing the matching images from the Internet. - 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"` - // 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:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f3e7265af1b70904, []int{0} -} - -func (m *WebDetection) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebDetection.Unmarshal(m, b) -} -func (m *WebDetection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebDetection.Marshal(b, m, deterministic) -} -func (m *WebDetection) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebDetection.Merge(m, src) -} -func (m *WebDetection) XXX_Size() int { - return xxx_messageInfo_WebDetection.Size(m) -} -func (m *WebDetection) XXX_DiscardUnknown() { - xxx_messageInfo_WebDetection.DiscardUnknown(m) -} - -var xxx_messageInfo_WebDetection proto.InternalMessageInfo - -func (m *WebDetection) GetWebEntities() []*WebDetection_WebEntity { - if m != nil { - return m.WebEntities - } - return nil -} - -func (m *WebDetection) GetFullMatchingImages() []*WebDetection_WebImage { - if m != nil { - return m.FullMatchingImages - } - return nil -} - -func (m *WebDetection) GetPartialMatchingImages() []*WebDetection_WebImage { - if m != nil { - return m.PartialMatchingImages - } - return nil -} - -func (m *WebDetection) GetPagesWithMatchingImages() []*WebDetection_WebPage { - if m != nil { - return m.PagesWithMatchingImages - } - return nil -} - -func (m *WebDetection) GetVisuallySimilarImages() []*WebDetection_WebImage { - if m != nil { - return m.VisuallySimilarImages - } - return nil -} - -func (m *WebDetection) GetBestGuessLabels() []*WebDetection_WebLabel { - if m != nil { - return m.BestGuessLabels - } - return nil -} - -// Entity deduced from similar images on the Internet. -type WebDetection_WebEntity struct { - // Opaque entity ID. - EntityId string `protobuf:"bytes,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` - // Overall relevancy score for the entity. - // Not normalized and not comparable across different image queries. - Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"` - // Canonical description of the entity, in English. - 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 *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_f3e7265af1b70904, []int{0, 0} -} - -func (m *WebDetection_WebEntity) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebDetection_WebEntity.Unmarshal(m, b) -} -func (m *WebDetection_WebEntity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebDetection_WebEntity.Marshal(b, m, deterministic) -} -func (m *WebDetection_WebEntity) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebDetection_WebEntity.Merge(m, src) -} -func (m *WebDetection_WebEntity) XXX_Size() int { - return xxx_messageInfo_WebDetection_WebEntity.Size(m) -} -func (m *WebDetection_WebEntity) XXX_DiscardUnknown() { - xxx_messageInfo_WebDetection_WebEntity.DiscardUnknown(m) -} - -var xxx_messageInfo_WebDetection_WebEntity proto.InternalMessageInfo - -func (m *WebDetection_WebEntity) GetEntityId() string { - if m != nil { - return m.EntityId - } - return "" -} - -func (m *WebDetection_WebEntity) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -func (m *WebDetection_WebEntity) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -// Metadata for online images. -type WebDetection_WebImage struct { - // The result image URL. - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - // (Deprecated) Overall relevancy score for the image. - Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f3e7265af1b70904, []int{0, 1} -} - -func (m *WebDetection_WebImage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebDetection_WebImage.Unmarshal(m, b) -} -func (m *WebDetection_WebImage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebDetection_WebImage.Marshal(b, m, deterministic) -} -func (m *WebDetection_WebImage) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebDetection_WebImage.Merge(m, src) -} -func (m *WebDetection_WebImage) XXX_Size() int { - return xxx_messageInfo_WebDetection_WebImage.Size(m) -} -func (m *WebDetection_WebImage) XXX_DiscardUnknown() { - xxx_messageInfo_WebDetection_WebImage.DiscardUnknown(m) -} - -var xxx_messageInfo_WebDetection_WebImage proto.InternalMessageInfo - -func (m *WebDetection_WebImage) GetUrl() string { - if m != nil { - return m.Url - } - return "" -} - -func (m *WebDetection_WebImage) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -// Label to provide extra metadata for the web detection. -type WebDetection_WebLabel struct { - // Label for extra metadata. - Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` - // The BCP-47 language code for `label`, 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f3e7265af1b70904, []int{0, 2} -} - -func (m *WebDetection_WebLabel) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebDetection_WebLabel.Unmarshal(m, b) -} -func (m *WebDetection_WebLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebDetection_WebLabel.Marshal(b, m, deterministic) -} -func (m *WebDetection_WebLabel) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebDetection_WebLabel.Merge(m, src) -} -func (m *WebDetection_WebLabel) XXX_Size() int { - return xxx_messageInfo_WebDetection_WebLabel.Size(m) -} -func (m *WebDetection_WebLabel) XXX_DiscardUnknown() { - xxx_messageInfo_WebDetection_WebLabel.DiscardUnknown(m) -} - -var xxx_messageInfo_WebDetection_WebLabel proto.InternalMessageInfo - -func (m *WebDetection_WebLabel) GetLabel() string { - if m != nil { - return m.Label - } - return "" -} - -func (m *WebDetection_WebLabel) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -// Metadata for web pages. -type WebDetection_WebPage struct { - // The result web page URL. - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - // (Deprecated) Overall relevancy score for the web page. - Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"` - // Title for the web page, may contain HTML markups. - PageTitle string `protobuf:"bytes,3,opt,name=page_title,json=pageTitle,proto3" json:"page_title,omitempty"` - // Fully matching images on the page. - // Can include resized copies of the query image. - FullMatchingImages []*WebDetection_WebImage `protobuf:"bytes,4,rep,name=full_matching_images,json=fullMatchingImages,proto3" json:"full_matching_images,omitempty"` - // Partial matching images on the page. - // Those images are similar enough to share some key-point features. For - // example an original image will likely have partial matching for its - // crops. - PartialMatchingImages []*WebDetection_WebImage `protobuf:"bytes,5,rep,name=partial_matching_images,json=partialMatchingImages,proto3" json:"partial_matching_images,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f3e7265af1b70904, []int{0, 3} -} - -func (m *WebDetection_WebPage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WebDetection_WebPage.Unmarshal(m, b) -} -func (m *WebDetection_WebPage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WebDetection_WebPage.Marshal(b, m, deterministic) -} -func (m *WebDetection_WebPage) XXX_Merge(src proto.Message) { - xxx_messageInfo_WebDetection_WebPage.Merge(m, src) -} -func (m *WebDetection_WebPage) XXX_Size() int { - return xxx_messageInfo_WebDetection_WebPage.Size(m) -} -func (m *WebDetection_WebPage) XXX_DiscardUnknown() { - xxx_messageInfo_WebDetection_WebPage.DiscardUnknown(m) -} - -var xxx_messageInfo_WebDetection_WebPage proto.InternalMessageInfo - -func (m *WebDetection_WebPage) GetUrl() string { - if m != nil { - return m.Url - } - return "" -} - -func (m *WebDetection_WebPage) GetScore() float32 { - if m != nil { - return m.Score - } - return 0 -} - -func (m *WebDetection_WebPage) GetPageTitle() string { - if m != nil { - return m.PageTitle - } - return "" -} - -func (m *WebDetection_WebPage) GetFullMatchingImages() []*WebDetection_WebImage { - if m != nil { - return m.FullMatchingImages - } - return nil -} - -func (m *WebDetection_WebPage) GetPartialMatchingImages() []*WebDetection_WebImage { - if m != nil { - return m.PartialMatchingImages - } - return nil -} - -func init() { - proto.RegisterType((*WebDetection)(nil), "google.cloud.vision.v1p4beta1.WebDetection") - proto.RegisterType((*WebDetection_WebEntity)(nil), "google.cloud.vision.v1p4beta1.WebDetection.WebEntity") - proto.RegisterType((*WebDetection_WebImage)(nil), "google.cloud.vision.v1p4beta1.WebDetection.WebImage") - proto.RegisterType((*WebDetection_WebLabel)(nil), "google.cloud.vision.v1p4beta1.WebDetection.WebLabel") - proto.RegisterType((*WebDetection_WebPage)(nil), "google.cloud.vision.v1p4beta1.WebDetection.WebPage") -} - -func init() { - proto.RegisterFile("google/cloud/vision/v1p4beta1/web_detection.proto", fileDescriptor_f3e7265af1b70904) -} - -var fileDescriptor_f3e7265af1b70904 = []byte{ - // 517 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x94, 0x4d, 0x6f, 0xd3, 0x30, - 0x18, 0xc7, 0x95, 0xb4, 0x1b, 0x8d, 0x5b, 0x04, 0xb3, 0x86, 0x16, 0x05, 0x26, 0x15, 0xb8, 0xf4, - 0x94, 0xa8, 0xdb, 0x38, 0x71, 0x5b, 0x99, 0xa6, 0x49, 0x80, 0xaa, 0x80, 0x18, 0xe2, 0xe2, 0x39, - 0x89, 0xe7, 0x5a, 0x72, 0xe3, 0x28, 0x76, 0x5a, 0xf5, 0x0b, 0xc0, 0xf7, 0xe0, 0xc0, 0x67, 0xe4, - 0x88, 0xfc, 0x92, 0xa9, 0xa2, 0x6c, 0x62, 0x0c, 0xed, 0xe6, 0xe7, 0x69, 0xff, 0xbf, 0x5f, 0x9f, - 0xfa, 0x05, 0x8c, 0xa9, 0x10, 0x94, 0x93, 0x24, 0xe7, 0xa2, 0x29, 0x92, 0x05, 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x4e, 0xf5, 0x0b, 0x36, 0xf5, 0xbe, - 0x4c, 0x5c, 0x86, 0x0a, 0xfd, 0xd7, 0xc7, 0xa2, 0xa6, 0x09, 0x25, 0xa5, 0x79, 0xdf, 0x12, 0xfb, - 0x11, 0xae, 0x98, 0xbc, 0xe6, 0x49, 0x7d, 0x6d, 0x1b, 0x3f, 0x3d, 0xef, 0xbb, 0xdf, 0x3d, 0x9d, - 0x7c, 0x7a, 0x9f, 0x6d, 0x9b, 0xe4, 0xe1, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x45, 0xda, 0x7b, - 0x3e, 0x8b, 0x05, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/webrisk/v1beta1/webrisk.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/webrisk/v1beta1/webrisk.pb.go deleted file mode 100644 index 0fd28a07..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/webrisk/v1beta1/webrisk.pb.go +++ /dev/null @@ -1,1266 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/webrisk/v1beta1/webrisk.proto - -package webrisk - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The type of threat. This maps dirrectly to the threat list a threat may -// belong to. -type ThreatType int32 - -const ( - // Unknown. - ThreatType_THREAT_TYPE_UNSPECIFIED ThreatType = 0 - // Malware targeting any platform. - ThreatType_MALWARE ThreatType = 1 - // Social engineering targeting any platform. - ThreatType_SOCIAL_ENGINEERING ThreatType = 2 - // Unwanted software targeting any platform. - ThreatType_UNWANTED_SOFTWARE ThreatType = 3 -) - -var ThreatType_name = map[int32]string{ - 0: "THREAT_TYPE_UNSPECIFIED", - 1: "MALWARE", - 2: "SOCIAL_ENGINEERING", - 3: "UNWANTED_SOFTWARE", -} - -var ThreatType_value = map[string]int32{ - "THREAT_TYPE_UNSPECIFIED": 0, - "MALWARE": 1, - "SOCIAL_ENGINEERING": 2, - "UNWANTED_SOFTWARE": 3, -} - -func (x ThreatType) String() string { - return proto.EnumName(ThreatType_name, int32(x)) -} - -func (ThreatType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_39d7fa5775f5f7c7, []int{0} -} - -// The ways in which threat entry sets can be compressed. -type CompressionType int32 - -const ( - // Unknown. - CompressionType_COMPRESSION_TYPE_UNSPECIFIED CompressionType = 0 - // Raw, uncompressed data. - CompressionType_RAW CompressionType = 1 - // Rice-Golomb encoded data. - CompressionType_RICE CompressionType = 2 -) - -var CompressionType_name = map[int32]string{ - 0: "COMPRESSION_TYPE_UNSPECIFIED", - 1: "RAW", - 2: "RICE", -} - -var CompressionType_value = map[string]int32{ - "COMPRESSION_TYPE_UNSPECIFIED": 0, - "RAW": 1, - "RICE": 2, -} - -func (x CompressionType) String() string { - return proto.EnumName(CompressionType_name, int32(x)) -} - -func (CompressionType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_39d7fa5775f5f7c7, []int{1} -} - -// The type of response sent to the client. -type ComputeThreatListDiffResponse_ResponseType int32 - -const ( - // Unknown. - ComputeThreatListDiffResponse_RESPONSE_TYPE_UNSPECIFIED ComputeThreatListDiffResponse_ResponseType = 0 - // Partial updates are applied to the client's existing local database. - ComputeThreatListDiffResponse_DIFF ComputeThreatListDiffResponse_ResponseType = 1 - // Full updates resets the client's entire local database. This means - // that either the client had no state, was seriously out-of-date, - // or the client is believed to be corrupt. - ComputeThreatListDiffResponse_RESET ComputeThreatListDiffResponse_ResponseType = 2 -) - -var ComputeThreatListDiffResponse_ResponseType_name = map[int32]string{ - 0: "RESPONSE_TYPE_UNSPECIFIED", - 1: "DIFF", - 2: "RESET", -} - -var ComputeThreatListDiffResponse_ResponseType_value = map[string]int32{ - "RESPONSE_TYPE_UNSPECIFIED": 0, - "DIFF": 1, - "RESET": 2, -} - -func (x ComputeThreatListDiffResponse_ResponseType) String() string { - return proto.EnumName(ComputeThreatListDiffResponse_ResponseType_name, int32(x)) -} - -func (ComputeThreatListDiffResponse_ResponseType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_39d7fa5775f5f7c7, []int{1, 0} -} - -// Describes an API diff request. -type ComputeThreatListDiffRequest struct { - // The ThreatList to update. - ThreatType ThreatType `protobuf:"varint,1,opt,name=threat_type,json=threatType,proto3,enum=google.cloud.webrisk.v1beta1.ThreatType" json:"threat_type,omitempty"` - // The current version token of the client for the requested list (the - // client version that was received from the last successful diff). - VersionToken []byte `protobuf:"bytes,2,opt,name=version_token,json=versionToken,proto3" json:"version_token,omitempty"` - // Required. The constraints associated with this request. - Constraints *ComputeThreatListDiffRequest_Constraints `protobuf:"bytes,3,opt,name=constraints,proto3" json:"constraints,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ComputeThreatListDiffRequest) Reset() { *m = ComputeThreatListDiffRequest{} } -func (m *ComputeThreatListDiffRequest) String() string { return proto.CompactTextString(m) } -func (*ComputeThreatListDiffRequest) ProtoMessage() {} -func (*ComputeThreatListDiffRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_39d7fa5775f5f7c7, []int{0} -} - -func (m *ComputeThreatListDiffRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ComputeThreatListDiffRequest.Unmarshal(m, b) -} -func (m *ComputeThreatListDiffRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ComputeThreatListDiffRequest.Marshal(b, m, deterministic) -} -func (m *ComputeThreatListDiffRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ComputeThreatListDiffRequest.Merge(m, src) -} -func (m *ComputeThreatListDiffRequest) XXX_Size() int { - return xxx_messageInfo_ComputeThreatListDiffRequest.Size(m) -} -func (m *ComputeThreatListDiffRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ComputeThreatListDiffRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ComputeThreatListDiffRequest proto.InternalMessageInfo - -func (m *ComputeThreatListDiffRequest) GetThreatType() ThreatType { - if m != nil { - return m.ThreatType - } - return ThreatType_THREAT_TYPE_UNSPECIFIED -} - -func (m *ComputeThreatListDiffRequest) GetVersionToken() []byte { - if m != nil { - return m.VersionToken - } - return nil -} - -func (m *ComputeThreatListDiffRequest) GetConstraints() *ComputeThreatListDiffRequest_Constraints { - if m != nil { - return m.Constraints - } - return nil -} - -// The constraints for this diff. -type ComputeThreatListDiffRequest_Constraints struct { - // The maximum size in number of entries. The diff will not contain more - // entries than this value. This should be a power of 2 between 2**10 and - // 2**20. If zero, no diff size limit is set. - MaxDiffEntries int32 `protobuf:"varint,1,opt,name=max_diff_entries,json=maxDiffEntries,proto3" json:"max_diff_entries,omitempty"` - // Sets the maximum number of entries that the client is willing to have - // in the local database. This should be a power of 2 between 2**10 and - // 2**20. If zero, no database size limit is set. - MaxDatabaseEntries int32 `protobuf:"varint,2,opt,name=max_database_entries,json=maxDatabaseEntries,proto3" json:"max_database_entries,omitempty"` - // The compression types supported by the client. - SupportedCompressions []CompressionType `protobuf:"varint,3,rep,packed,name=supported_compressions,json=supportedCompressions,proto3,enum=google.cloud.webrisk.v1beta1.CompressionType" json:"supported_compressions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ComputeThreatListDiffRequest_Constraints) Reset() { - *m = ComputeThreatListDiffRequest_Constraints{} -} -func (m *ComputeThreatListDiffRequest_Constraints) String() string { return proto.CompactTextString(m) } -func (*ComputeThreatListDiffRequest_Constraints) ProtoMessage() {} -func (*ComputeThreatListDiffRequest_Constraints) Descriptor() ([]byte, []int) { - return fileDescriptor_39d7fa5775f5f7c7, []int{0, 0} -} - -func (m *ComputeThreatListDiffRequest_Constraints) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ComputeThreatListDiffRequest_Constraints.Unmarshal(m, b) -} -func (m *ComputeThreatListDiffRequest_Constraints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ComputeThreatListDiffRequest_Constraints.Marshal(b, m, deterministic) -} -func (m *ComputeThreatListDiffRequest_Constraints) XXX_Merge(src proto.Message) { - xxx_messageInfo_ComputeThreatListDiffRequest_Constraints.Merge(m, src) -} -func (m *ComputeThreatListDiffRequest_Constraints) XXX_Size() int { - return xxx_messageInfo_ComputeThreatListDiffRequest_Constraints.Size(m) -} -func (m *ComputeThreatListDiffRequest_Constraints) XXX_DiscardUnknown() { - xxx_messageInfo_ComputeThreatListDiffRequest_Constraints.DiscardUnknown(m) -} - -var xxx_messageInfo_ComputeThreatListDiffRequest_Constraints proto.InternalMessageInfo - -func (m *ComputeThreatListDiffRequest_Constraints) GetMaxDiffEntries() int32 { - if m != nil { - return m.MaxDiffEntries - } - return 0 -} - -func (m *ComputeThreatListDiffRequest_Constraints) GetMaxDatabaseEntries() int32 { - if m != nil { - return m.MaxDatabaseEntries - } - return 0 -} - -func (m *ComputeThreatListDiffRequest_Constraints) GetSupportedCompressions() []CompressionType { - if m != nil { - return m.SupportedCompressions - } - return nil -} - -type ComputeThreatListDiffResponse struct { - // The type of response. This may indicate that an action must be taken by the - // client when the response is received. - ResponseType ComputeThreatListDiffResponse_ResponseType `protobuf:"varint,4,opt,name=response_type,json=responseType,proto3,enum=google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse_ResponseType" json:"response_type,omitempty"` - // A set of entries to add to a local threat type's list. - Additions *ThreatEntryAdditions `protobuf:"bytes,5,opt,name=additions,proto3" json:"additions,omitempty"` - // A set of entries to remove from a local threat type's list. - // This field may be empty. - Removals *ThreatEntryRemovals `protobuf:"bytes,6,opt,name=removals,proto3" json:"removals,omitempty"` - // The new opaque client version token. - NewVersionToken []byte `protobuf:"bytes,7,opt,name=new_version_token,json=newVersionToken,proto3" json:"new_version_token,omitempty"` - // The expected SHA256 hash of the client state; that is, of the sorted list - // of all hashes present in the database after applying the provided diff. - // If the client state doesn't match the expected state, the client must - // disregard this diff and retry later. - Checksum *ComputeThreatListDiffResponse_Checksum `protobuf:"bytes,8,opt,name=checksum,proto3" json:"checksum,omitempty"` - // The soonest the client should wait before issuing any diff - // request. Querying sooner is unlikely to produce a meaningful diff. - // Waiting longer is acceptable considering the use case. - // If this field is not set clients may update as soon as they want. - RecommendedNextDiff *timestamp.Timestamp `protobuf:"bytes,2,opt,name=recommended_next_diff,json=recommendedNextDiff,proto3" json:"recommended_next_diff,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ComputeThreatListDiffResponse) Reset() { *m = ComputeThreatListDiffResponse{} } -func (m *ComputeThreatListDiffResponse) String() string { return proto.CompactTextString(m) } -func (*ComputeThreatListDiffResponse) ProtoMessage() {} -func (*ComputeThreatListDiffResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_39d7fa5775f5f7c7, []int{1} -} - -func (m *ComputeThreatListDiffResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ComputeThreatListDiffResponse.Unmarshal(m, b) -} -func (m *ComputeThreatListDiffResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ComputeThreatListDiffResponse.Marshal(b, m, deterministic) -} -func (m *ComputeThreatListDiffResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ComputeThreatListDiffResponse.Merge(m, src) -} -func (m *ComputeThreatListDiffResponse) XXX_Size() int { - return xxx_messageInfo_ComputeThreatListDiffResponse.Size(m) -} -func (m *ComputeThreatListDiffResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ComputeThreatListDiffResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ComputeThreatListDiffResponse proto.InternalMessageInfo - -func (m *ComputeThreatListDiffResponse) GetResponseType() ComputeThreatListDiffResponse_ResponseType { - if m != nil { - return m.ResponseType - } - return ComputeThreatListDiffResponse_RESPONSE_TYPE_UNSPECIFIED -} - -func (m *ComputeThreatListDiffResponse) GetAdditions() *ThreatEntryAdditions { - if m != nil { - return m.Additions - } - return nil -} - -func (m *ComputeThreatListDiffResponse) GetRemovals() *ThreatEntryRemovals { - if m != nil { - return m.Removals - } - return nil -} - -func (m *ComputeThreatListDiffResponse) GetNewVersionToken() []byte { - if m != nil { - return m.NewVersionToken - } - return nil -} - -func (m *ComputeThreatListDiffResponse) GetChecksum() *ComputeThreatListDiffResponse_Checksum { - if m != nil { - return m.Checksum - } - return nil -} - -func (m *ComputeThreatListDiffResponse) GetRecommendedNextDiff() *timestamp.Timestamp { - if m != nil { - return m.RecommendedNextDiff - } - return nil -} - -// The expected state of a client's local database. -type ComputeThreatListDiffResponse_Checksum struct { - // The SHA256 hash of the client state; that is, of the sorted list of all - // hashes present in the database. - Sha256 []byte `protobuf:"bytes,1,opt,name=sha256,proto3" json:"sha256,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ComputeThreatListDiffResponse_Checksum) Reset() { - *m = ComputeThreatListDiffResponse_Checksum{} -} -func (m *ComputeThreatListDiffResponse_Checksum) String() string { return proto.CompactTextString(m) } -func (*ComputeThreatListDiffResponse_Checksum) ProtoMessage() {} -func (*ComputeThreatListDiffResponse_Checksum) Descriptor() ([]byte, []int) { - return fileDescriptor_39d7fa5775f5f7c7, []int{1, 0} -} - -func (m *ComputeThreatListDiffResponse_Checksum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ComputeThreatListDiffResponse_Checksum.Unmarshal(m, b) -} -func (m *ComputeThreatListDiffResponse_Checksum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ComputeThreatListDiffResponse_Checksum.Marshal(b, m, deterministic) -} -func (m *ComputeThreatListDiffResponse_Checksum) XXX_Merge(src proto.Message) { - xxx_messageInfo_ComputeThreatListDiffResponse_Checksum.Merge(m, src) -} -func (m *ComputeThreatListDiffResponse_Checksum) XXX_Size() int { - return xxx_messageInfo_ComputeThreatListDiffResponse_Checksum.Size(m) -} -func (m *ComputeThreatListDiffResponse_Checksum) XXX_DiscardUnknown() { - xxx_messageInfo_ComputeThreatListDiffResponse_Checksum.DiscardUnknown(m) -} - -var xxx_messageInfo_ComputeThreatListDiffResponse_Checksum proto.InternalMessageInfo - -func (m *ComputeThreatListDiffResponse_Checksum) GetSha256() []byte { - if m != nil { - return m.Sha256 - } - return nil -} - -// Request to check URI entries against threatLists. -type SearchUrisRequest struct { - // Required. The URI to be checked for matches. - Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` - // Required. The ThreatLists to search in. - ThreatTypes []ThreatType `protobuf:"varint,2,rep,packed,name=threat_types,json=threatTypes,proto3,enum=google.cloud.webrisk.v1beta1.ThreatType" json:"threat_types,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SearchUrisRequest) Reset() { *m = SearchUrisRequest{} } -func (m *SearchUrisRequest) String() string { return proto.CompactTextString(m) } -func (*SearchUrisRequest) ProtoMessage() {} -func (*SearchUrisRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_39d7fa5775f5f7c7, []int{2} -} - -func (m *SearchUrisRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchUrisRequest.Unmarshal(m, b) -} -func (m *SearchUrisRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchUrisRequest.Marshal(b, m, deterministic) -} -func (m *SearchUrisRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchUrisRequest.Merge(m, src) -} -func (m *SearchUrisRequest) XXX_Size() int { - return xxx_messageInfo_SearchUrisRequest.Size(m) -} -func (m *SearchUrisRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SearchUrisRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchUrisRequest proto.InternalMessageInfo - -func (m *SearchUrisRequest) GetUri() string { - if m != nil { - return m.Uri - } - return "" -} - -func (m *SearchUrisRequest) GetThreatTypes() []ThreatType { - if m != nil { - return m.ThreatTypes - } - return nil -} - -type SearchUrisResponse struct { - // The threat list matches. This may be empty if the URI is on no list. - Threat *SearchUrisResponse_ThreatUri `protobuf:"bytes,1,opt,name=threat,proto3" json:"threat,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SearchUrisResponse) Reset() { *m = SearchUrisResponse{} } -func (m *SearchUrisResponse) String() string { return proto.CompactTextString(m) } -func (*SearchUrisResponse) ProtoMessage() {} -func (*SearchUrisResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_39d7fa5775f5f7c7, []int{3} -} - -func (m *SearchUrisResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchUrisResponse.Unmarshal(m, b) -} -func (m *SearchUrisResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchUrisResponse.Marshal(b, m, deterministic) -} -func (m *SearchUrisResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchUrisResponse.Merge(m, src) -} -func (m *SearchUrisResponse) XXX_Size() int { - return xxx_messageInfo_SearchUrisResponse.Size(m) -} -func (m *SearchUrisResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SearchUrisResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchUrisResponse proto.InternalMessageInfo - -func (m *SearchUrisResponse) GetThreat() *SearchUrisResponse_ThreatUri { - if m != nil { - return m.Threat - } - return nil -} - -// Contains threat information on a matching uri. -type SearchUrisResponse_ThreatUri struct { - // The ThreatList this threat belongs to. - ThreatTypes []ThreatType `protobuf:"varint,1,rep,packed,name=threat_types,json=threatTypes,proto3,enum=google.cloud.webrisk.v1beta1.ThreatType" json:"threat_types,omitempty"` - // The cache lifetime for the returned match. Clients must not cache this - // response past this timestamp to avoid false positives. - 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 *SearchUrisResponse_ThreatUri) Reset() { *m = SearchUrisResponse_ThreatUri{} } -func (m *SearchUrisResponse_ThreatUri) String() string { return proto.CompactTextString(m) } -func (*SearchUrisResponse_ThreatUri) ProtoMessage() {} -func (*SearchUrisResponse_ThreatUri) Descriptor() ([]byte, []int) { - return fileDescriptor_39d7fa5775f5f7c7, []int{3, 0} -} - -func (m *SearchUrisResponse_ThreatUri) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchUrisResponse_ThreatUri.Unmarshal(m, b) -} -func (m *SearchUrisResponse_ThreatUri) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchUrisResponse_ThreatUri.Marshal(b, m, deterministic) -} -func (m *SearchUrisResponse_ThreatUri) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchUrisResponse_ThreatUri.Merge(m, src) -} -func (m *SearchUrisResponse_ThreatUri) XXX_Size() int { - return xxx_messageInfo_SearchUrisResponse_ThreatUri.Size(m) -} -func (m *SearchUrisResponse_ThreatUri) XXX_DiscardUnknown() { - xxx_messageInfo_SearchUrisResponse_ThreatUri.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchUrisResponse_ThreatUri proto.InternalMessageInfo - -func (m *SearchUrisResponse_ThreatUri) GetThreatTypes() []ThreatType { - if m != nil { - return m.ThreatTypes - } - return nil -} - -func (m *SearchUrisResponse_ThreatUri) GetExpireTime() *timestamp.Timestamp { - if m != nil { - return m.ExpireTime - } - return nil -} - -// Request to return full hashes matched by the provided hash prefixes. -type SearchHashesRequest struct { - // A hash prefix, consisting of the most significant 4-32 bytes of a SHA256 - // hash. For JSON requests, this field is base64-encoded. - HashPrefix []byte `protobuf:"bytes,1,opt,name=hash_prefix,json=hashPrefix,proto3" json:"hash_prefix,omitempty"` - // Required. The ThreatLists to search in. - ThreatTypes []ThreatType `protobuf:"varint,2,rep,packed,name=threat_types,json=threatTypes,proto3,enum=google.cloud.webrisk.v1beta1.ThreatType" json:"threat_types,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SearchHashesRequest) Reset() { *m = SearchHashesRequest{} } -func (m *SearchHashesRequest) String() string { return proto.CompactTextString(m) } -func (*SearchHashesRequest) ProtoMessage() {} -func (*SearchHashesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_39d7fa5775f5f7c7, []int{4} -} - -func (m *SearchHashesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchHashesRequest.Unmarshal(m, b) -} -func (m *SearchHashesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchHashesRequest.Marshal(b, m, deterministic) -} -func (m *SearchHashesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchHashesRequest.Merge(m, src) -} -func (m *SearchHashesRequest) XXX_Size() int { - return xxx_messageInfo_SearchHashesRequest.Size(m) -} -func (m *SearchHashesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SearchHashesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchHashesRequest proto.InternalMessageInfo - -func (m *SearchHashesRequest) GetHashPrefix() []byte { - if m != nil { - return m.HashPrefix - } - return nil -} - -func (m *SearchHashesRequest) GetThreatTypes() []ThreatType { - if m != nil { - return m.ThreatTypes - } - return nil -} - -type SearchHashesResponse struct { - // The full hashes that matched the requested prefixes. - // The hash will be populated in the key. - Threats []*SearchHashesResponse_ThreatHash `protobuf:"bytes,1,rep,name=threats,proto3" json:"threats,omitempty"` - // For requested entities that did not match the threat list, how long to - // cache the response until. - NegativeExpireTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=negative_expire_time,json=negativeExpireTime,proto3" json:"negative_expire_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SearchHashesResponse) Reset() { *m = SearchHashesResponse{} } -func (m *SearchHashesResponse) String() string { return proto.CompactTextString(m) } -func (*SearchHashesResponse) ProtoMessage() {} -func (*SearchHashesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_39d7fa5775f5f7c7, []int{5} -} - -func (m *SearchHashesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchHashesResponse.Unmarshal(m, b) -} -func (m *SearchHashesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchHashesResponse.Marshal(b, m, deterministic) -} -func (m *SearchHashesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchHashesResponse.Merge(m, src) -} -func (m *SearchHashesResponse) XXX_Size() int { - return xxx_messageInfo_SearchHashesResponse.Size(m) -} -func (m *SearchHashesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SearchHashesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchHashesResponse proto.InternalMessageInfo - -func (m *SearchHashesResponse) GetThreats() []*SearchHashesResponse_ThreatHash { - if m != nil { - return m.Threats - } - return nil -} - -func (m *SearchHashesResponse) GetNegativeExpireTime() *timestamp.Timestamp { - if m != nil { - return m.NegativeExpireTime - } - return nil -} - -// Contains threat information on a matching hash. -type SearchHashesResponse_ThreatHash struct { - // The ThreatList this threat belongs to. - // This must contain at least one entry. - ThreatTypes []ThreatType `protobuf:"varint,1,rep,packed,name=threat_types,json=threatTypes,proto3,enum=google.cloud.webrisk.v1beta1.ThreatType" json:"threat_types,omitempty"` - // A 32 byte SHA256 hash. This field is in binary format. For JSON - // requests, hashes are base64-encoded. - Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` - // The cache lifetime for the returned match. Clients must not cache this - // response past this timestamp to avoid false positives. - 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 *SearchHashesResponse_ThreatHash) Reset() { *m = SearchHashesResponse_ThreatHash{} } -func (m *SearchHashesResponse_ThreatHash) String() string { return proto.CompactTextString(m) } -func (*SearchHashesResponse_ThreatHash) ProtoMessage() {} -func (*SearchHashesResponse_ThreatHash) Descriptor() ([]byte, []int) { - return fileDescriptor_39d7fa5775f5f7c7, []int{5, 0} -} - -func (m *SearchHashesResponse_ThreatHash) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchHashesResponse_ThreatHash.Unmarshal(m, b) -} -func (m *SearchHashesResponse_ThreatHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchHashesResponse_ThreatHash.Marshal(b, m, deterministic) -} -func (m *SearchHashesResponse_ThreatHash) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchHashesResponse_ThreatHash.Merge(m, src) -} -func (m *SearchHashesResponse_ThreatHash) XXX_Size() int { - return xxx_messageInfo_SearchHashesResponse_ThreatHash.Size(m) -} -func (m *SearchHashesResponse_ThreatHash) XXX_DiscardUnknown() { - xxx_messageInfo_SearchHashesResponse_ThreatHash.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchHashesResponse_ThreatHash proto.InternalMessageInfo - -func (m *SearchHashesResponse_ThreatHash) GetThreatTypes() []ThreatType { - if m != nil { - return m.ThreatTypes - } - return nil -} - -func (m *SearchHashesResponse_ThreatHash) GetHash() []byte { - if m != nil { - return m.Hash - } - return nil -} - -func (m *SearchHashesResponse_ThreatHash) GetExpireTime() *timestamp.Timestamp { - if m != nil { - return m.ExpireTime - } - return nil -} - -// Contains the set of entries to add to a local database. -// May contain a combination of compressed and raw data in a single response. -type ThreatEntryAdditions struct { - // The raw SHA256-formatted entries. - // Repeated to allow returning sets of hashes with different prefix sizes. - RawHashes []*RawHashes `protobuf:"bytes,1,rep,name=raw_hashes,json=rawHashes,proto3" json:"raw_hashes,omitempty"` - // The encoded 4-byte prefixes of SHA256-formatted entries, using a - // Golomb-Rice encoding. The hashes are converted to uint32, sorted in - // ascending order, then delta encoded and stored as encoded_data. - RiceHashes *RiceDeltaEncoding `protobuf:"bytes,2,opt,name=rice_hashes,json=riceHashes,proto3" json:"rice_hashes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ThreatEntryAdditions) Reset() { *m = ThreatEntryAdditions{} } -func (m *ThreatEntryAdditions) String() string { return proto.CompactTextString(m) } -func (*ThreatEntryAdditions) ProtoMessage() {} -func (*ThreatEntryAdditions) Descriptor() ([]byte, []int) { - return fileDescriptor_39d7fa5775f5f7c7, []int{6} -} - -func (m *ThreatEntryAdditions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ThreatEntryAdditions.Unmarshal(m, b) -} -func (m *ThreatEntryAdditions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ThreatEntryAdditions.Marshal(b, m, deterministic) -} -func (m *ThreatEntryAdditions) XXX_Merge(src proto.Message) { - xxx_messageInfo_ThreatEntryAdditions.Merge(m, src) -} -func (m *ThreatEntryAdditions) XXX_Size() int { - return xxx_messageInfo_ThreatEntryAdditions.Size(m) -} -func (m *ThreatEntryAdditions) XXX_DiscardUnknown() { - xxx_messageInfo_ThreatEntryAdditions.DiscardUnknown(m) -} - -var xxx_messageInfo_ThreatEntryAdditions proto.InternalMessageInfo - -func (m *ThreatEntryAdditions) GetRawHashes() []*RawHashes { - if m != nil { - return m.RawHashes - } - return nil -} - -func (m *ThreatEntryAdditions) GetRiceHashes() *RiceDeltaEncoding { - if m != nil { - return m.RiceHashes - } - return nil -} - -// Contains the set of entries to remove from a local database. -type ThreatEntryRemovals struct { - // The raw removal indices for a local list. - RawIndices *RawIndices `protobuf:"bytes,1,opt,name=raw_indices,json=rawIndices,proto3" json:"raw_indices,omitempty"` - // The encoded local, lexicographically-sorted list indices, using a - // Golomb-Rice encoding. Used for sending compressed removal indices. The - // removal indices (uint32) are sorted in ascending order, then delta encoded - // and stored as encoded_data. - RiceIndices *RiceDeltaEncoding `protobuf:"bytes,2,opt,name=rice_indices,json=riceIndices,proto3" json:"rice_indices,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ThreatEntryRemovals) Reset() { *m = ThreatEntryRemovals{} } -func (m *ThreatEntryRemovals) String() string { return proto.CompactTextString(m) } -func (*ThreatEntryRemovals) ProtoMessage() {} -func (*ThreatEntryRemovals) Descriptor() ([]byte, []int) { - return fileDescriptor_39d7fa5775f5f7c7, []int{7} -} - -func (m *ThreatEntryRemovals) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ThreatEntryRemovals.Unmarshal(m, b) -} -func (m *ThreatEntryRemovals) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ThreatEntryRemovals.Marshal(b, m, deterministic) -} -func (m *ThreatEntryRemovals) XXX_Merge(src proto.Message) { - xxx_messageInfo_ThreatEntryRemovals.Merge(m, src) -} -func (m *ThreatEntryRemovals) XXX_Size() int { - return xxx_messageInfo_ThreatEntryRemovals.Size(m) -} -func (m *ThreatEntryRemovals) XXX_DiscardUnknown() { - xxx_messageInfo_ThreatEntryRemovals.DiscardUnknown(m) -} - -var xxx_messageInfo_ThreatEntryRemovals proto.InternalMessageInfo - -func (m *ThreatEntryRemovals) GetRawIndices() *RawIndices { - if m != nil { - return m.RawIndices - } - return nil -} - -func (m *ThreatEntryRemovals) GetRiceIndices() *RiceDeltaEncoding { - if m != nil { - return m.RiceIndices - } - return nil -} - -// A set of raw indices to remove from a local list. -type RawIndices struct { - // The indices to remove from a lexicographically-sorted local list. - Indices []int32 `protobuf:"varint,1,rep,packed,name=indices,proto3" json:"indices,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RawIndices) Reset() { *m = RawIndices{} } -func (m *RawIndices) String() string { return proto.CompactTextString(m) } -func (*RawIndices) ProtoMessage() {} -func (*RawIndices) Descriptor() ([]byte, []int) { - return fileDescriptor_39d7fa5775f5f7c7, []int{8} -} - -func (m *RawIndices) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RawIndices.Unmarshal(m, b) -} -func (m *RawIndices) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RawIndices.Marshal(b, m, deterministic) -} -func (m *RawIndices) XXX_Merge(src proto.Message) { - xxx_messageInfo_RawIndices.Merge(m, src) -} -func (m *RawIndices) XXX_Size() int { - return xxx_messageInfo_RawIndices.Size(m) -} -func (m *RawIndices) XXX_DiscardUnknown() { - xxx_messageInfo_RawIndices.DiscardUnknown(m) -} - -var xxx_messageInfo_RawIndices proto.InternalMessageInfo - -func (m *RawIndices) GetIndices() []int32 { - if m != nil { - return m.Indices - } - return nil -} - -// The uncompressed threat entries in hash format. -// Hashes can be anywhere from 4 to 32 bytes in size. A large majority are 4 -// bytes, but some hashes are lengthened if they collide with the hash of a -// popular URI. -// -// Used for sending ThreatEntryAdditons to clients that do not support -// compression, or when sending non-4-byte hashes to clients that do support -// compression. -type RawHashes struct { - // The number of bytes for each prefix encoded below. This field can be - // anywhere from 4 (shortest prefix) to 32 (full SHA256 hash). - PrefixSize int32 `protobuf:"varint,1,opt,name=prefix_size,json=prefixSize,proto3" json:"prefix_size,omitempty"` - // The hashes, in binary format, concatenated into one long string. Hashes are - // sorted in lexicographic order. For JSON API users, hashes are - // base64-encoded. - RawHashes []byte `protobuf:"bytes,2,opt,name=raw_hashes,json=rawHashes,proto3" json:"raw_hashes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RawHashes) Reset() { *m = RawHashes{} } -func (m *RawHashes) String() string { return proto.CompactTextString(m) } -func (*RawHashes) ProtoMessage() {} -func (*RawHashes) Descriptor() ([]byte, []int) { - return fileDescriptor_39d7fa5775f5f7c7, []int{9} -} - -func (m *RawHashes) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RawHashes.Unmarshal(m, b) -} -func (m *RawHashes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RawHashes.Marshal(b, m, deterministic) -} -func (m *RawHashes) XXX_Merge(src proto.Message) { - xxx_messageInfo_RawHashes.Merge(m, src) -} -func (m *RawHashes) XXX_Size() int { - return xxx_messageInfo_RawHashes.Size(m) -} -func (m *RawHashes) XXX_DiscardUnknown() { - xxx_messageInfo_RawHashes.DiscardUnknown(m) -} - -var xxx_messageInfo_RawHashes proto.InternalMessageInfo - -func (m *RawHashes) GetPrefixSize() int32 { - if m != nil { - return m.PrefixSize - } - return 0 -} - -func (m *RawHashes) GetRawHashes() []byte { - if m != nil { - return m.RawHashes - } - return nil -} - -// The Rice-Golomb encoded data. Used for sending compressed 4-byte hashes or -// compressed removal indices. -type RiceDeltaEncoding struct { - // The offset of the first entry in the encoded data, or, if only a single - // integer was encoded, that single integer's value. If the field is empty or - // missing, assume zero. - FirstValue int64 `protobuf:"varint,1,opt,name=first_value,json=firstValue,proto3" json:"first_value,omitempty"` - // The Golomb-Rice parameter, which is a number between 2 and 28. This field - // is missing (that is, zero) if `num_entries` is zero. - RiceParameter int32 `protobuf:"varint,2,opt,name=rice_parameter,json=riceParameter,proto3" json:"rice_parameter,omitempty"` - // The number of entries that are delta encoded in the encoded data. If only a - // single integer was encoded, this will be zero and the single value will be - // stored in `first_value`. - EntryCount int32 `protobuf:"varint,3,opt,name=entry_count,json=entryCount,proto3" json:"entry_count,omitempty"` - // The encoded deltas that are encoded using the Golomb-Rice coder. - EncodedData []byte `protobuf:"bytes,4,opt,name=encoded_data,json=encodedData,proto3" json:"encoded_data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RiceDeltaEncoding) Reset() { *m = RiceDeltaEncoding{} } -func (m *RiceDeltaEncoding) String() string { return proto.CompactTextString(m) } -func (*RiceDeltaEncoding) ProtoMessage() {} -func (*RiceDeltaEncoding) Descriptor() ([]byte, []int) { - return fileDescriptor_39d7fa5775f5f7c7, []int{10} -} - -func (m *RiceDeltaEncoding) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RiceDeltaEncoding.Unmarshal(m, b) -} -func (m *RiceDeltaEncoding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RiceDeltaEncoding.Marshal(b, m, deterministic) -} -func (m *RiceDeltaEncoding) XXX_Merge(src proto.Message) { - xxx_messageInfo_RiceDeltaEncoding.Merge(m, src) -} -func (m *RiceDeltaEncoding) XXX_Size() int { - return xxx_messageInfo_RiceDeltaEncoding.Size(m) -} -func (m *RiceDeltaEncoding) XXX_DiscardUnknown() { - xxx_messageInfo_RiceDeltaEncoding.DiscardUnknown(m) -} - -var xxx_messageInfo_RiceDeltaEncoding proto.InternalMessageInfo - -func (m *RiceDeltaEncoding) GetFirstValue() int64 { - if m != nil { - return m.FirstValue - } - return 0 -} - -func (m *RiceDeltaEncoding) GetRiceParameter() int32 { - if m != nil { - return m.RiceParameter - } - return 0 -} - -func (m *RiceDeltaEncoding) GetEntryCount() int32 { - if m != nil { - return m.EntryCount - } - return 0 -} - -func (m *RiceDeltaEncoding) GetEncodedData() []byte { - if m != nil { - return m.EncodedData - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.webrisk.v1beta1.ThreatType", ThreatType_name, ThreatType_value) - proto.RegisterEnum("google.cloud.webrisk.v1beta1.CompressionType", CompressionType_name, CompressionType_value) - proto.RegisterEnum("google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse_ResponseType", ComputeThreatListDiffResponse_ResponseType_name, ComputeThreatListDiffResponse_ResponseType_value) - proto.RegisterType((*ComputeThreatListDiffRequest)(nil), "google.cloud.webrisk.v1beta1.ComputeThreatListDiffRequest") - proto.RegisterType((*ComputeThreatListDiffRequest_Constraints)(nil), "google.cloud.webrisk.v1beta1.ComputeThreatListDiffRequest.Constraints") - proto.RegisterType((*ComputeThreatListDiffResponse)(nil), "google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse") - proto.RegisterType((*ComputeThreatListDiffResponse_Checksum)(nil), "google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse.Checksum") - proto.RegisterType((*SearchUrisRequest)(nil), "google.cloud.webrisk.v1beta1.SearchUrisRequest") - proto.RegisterType((*SearchUrisResponse)(nil), "google.cloud.webrisk.v1beta1.SearchUrisResponse") - proto.RegisterType((*SearchUrisResponse_ThreatUri)(nil), "google.cloud.webrisk.v1beta1.SearchUrisResponse.ThreatUri") - proto.RegisterType((*SearchHashesRequest)(nil), "google.cloud.webrisk.v1beta1.SearchHashesRequest") - proto.RegisterType((*SearchHashesResponse)(nil), "google.cloud.webrisk.v1beta1.SearchHashesResponse") - proto.RegisterType((*SearchHashesResponse_ThreatHash)(nil), "google.cloud.webrisk.v1beta1.SearchHashesResponse.ThreatHash") - proto.RegisterType((*ThreatEntryAdditions)(nil), "google.cloud.webrisk.v1beta1.ThreatEntryAdditions") - proto.RegisterType((*ThreatEntryRemovals)(nil), "google.cloud.webrisk.v1beta1.ThreatEntryRemovals") - proto.RegisterType((*RawIndices)(nil), "google.cloud.webrisk.v1beta1.RawIndices") - proto.RegisterType((*RawHashes)(nil), "google.cloud.webrisk.v1beta1.RawHashes") - proto.RegisterType((*RiceDeltaEncoding)(nil), "google.cloud.webrisk.v1beta1.RiceDeltaEncoding") -} - -func init() { - proto.RegisterFile("google/cloud/webrisk/v1beta1/webrisk.proto", fileDescriptor_39d7fa5775f5f7c7) -} - -var fileDescriptor_39d7fa5775f5f7c7 = []byte{ - // 1446 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0xbd, 0x6f, 0x1b, 0x47, - 0x16, 0xbf, 0x25, 0xf5, 0xf9, 0x48, 0xcb, 0xd4, 0x58, 0x92, 0x79, 0x3c, 0x19, 0xd6, 0xf1, 0xe0, - 0x3b, 0x41, 0xb0, 0x49, 0x8b, 0x87, 0x3b, 0xe0, 0x64, 0x5c, 0x41, 0x51, 0x2b, 0x99, 0xb1, 0x4c, - 0x11, 0x43, 0x4a, 0x42, 0x02, 0x03, 0x9b, 0xd1, 0x72, 0x48, 0x0e, 0xc4, 0xfd, 0xc8, 0xce, 0x50, - 0x94, 0x8c, 0x14, 0x41, 0xaa, 0xf4, 0x41, 0xda, 0x24, 0x48, 0xe9, 0xca, 0x45, 0x90, 0x3f, 0xc2, - 0x4d, 0x80, 0x24, 0x95, 0xab, 0x20, 0x48, 0x95, 0x3e, 0x7d, 0x30, 0xb3, 0xb3, 0xe4, 0x4a, 0x56, - 0x64, 0xc9, 0x4e, 0xba, 0x9d, 0xf7, 0xde, 0xfc, 0xde, 0xe7, 0xbc, 0xf7, 0x16, 0x56, 0x3a, 0x9e, - 0xd7, 0xe9, 0xd1, 0xa2, 0xdd, 0xf3, 0xfa, 0xad, 0xe2, 0x80, 0x1e, 0x04, 0x8c, 0x1f, 0x16, 0x8f, - 0x56, 0x0f, 0xa8, 0x20, 0xab, 0xd1, 0xb9, 0xe0, 0x07, 0x9e, 0xf0, 0xd0, 0x62, 0x28, 0x5b, 0x50, - 0xb2, 0x85, 0x88, 0xa7, 0x65, 0x73, 0x9a, 0x5b, 0x24, 0x3e, 0x2b, 0x12, 0xd7, 0xf5, 0x04, 0x11, - 0xcc, 0x73, 0x79, 0x78, 0x37, 0x77, 0x33, 0xc6, 0xb5, 0x7b, 0x8c, 0xba, 0x42, 0x33, 0x6e, 0xc7, - 0x18, 0x6d, 0x46, 0x7b, 0x2d, 0xeb, 0x80, 0x76, 0xc9, 0x11, 0xf3, 0x82, 0x33, 0x02, 0xea, 0x74, - 0xd0, 0x6f, 0x17, 0x05, 0x73, 0x28, 0x17, 0xc4, 0xf1, 0x43, 0x81, 0xfc, 0x0f, 0x49, 0x58, 0xac, - 0x78, 0x8e, 0xdf, 0x17, 0xb4, 0xd9, 0x0d, 0x28, 0x11, 0xdb, 0x8c, 0x8b, 0x0d, 0xd6, 0x6e, 0x63, - 0xfa, 0x41, 0x9f, 0x72, 0x81, 0x6a, 0x90, 0x12, 0x8a, 0x61, 0x89, 0x13, 0x9f, 0x66, 0x8d, 0x25, - 0x63, 0x79, 0xa6, 0xb4, 0x5c, 0xb8, 0xc8, 0x9b, 0x42, 0x88, 0xd4, 0x3c, 0xf1, 0xe9, 0x7a, 0xf2, - 0xc7, 0x72, 0x02, 0x83, 0x18, 0x12, 0xd0, 0x3f, 0xe0, 0xda, 0x11, 0x0d, 0x38, 0xf3, 0x5c, 0x4b, - 0x78, 0x87, 0xd4, 0xcd, 0x26, 0x96, 0x8c, 0xe5, 0x34, 0x4e, 0x6b, 0x62, 0x53, 0xd2, 0x90, 0x03, - 0x29, 0xdb, 0x73, 0xb9, 0x08, 0x08, 0x73, 0x05, 0xcf, 0x26, 0x97, 0x8c, 0xe5, 0x54, 0x69, 0xf3, - 0x62, 0xa5, 0x17, 0x79, 0x51, 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0, - 0xfc, 0x47, 0x09, 0x40, 0x71, 0xf5, 0xba, 0xd4, 0x31, 0x4c, 0x84, 0x52, 0xca, 0x84, 0x54, 0x69, - 0xed, 0x62, 0x15, 0xaf, 0x22, 0x68, 0xad, 0xbb, 0x01, 0xc3, 0x1a, 0x29, 0xf7, 0x99, 0x01, 0xd3, - 0x43, 0x2a, 0x7a, 0x74, 0xc6, 0x15, 0xe3, 0x6a, 0xae, 0x9c, 0xf2, 0x02, 0x3d, 0x80, 0x14, 0x3d, - 0xf6, 0x59, 0x40, 0x2d, 0xd9, 0xac, 0x2f, 0x91, 0x71, 0x08, 0xc5, 0x25, 0x21, 0xff, 0x89, 0x01, - 0x37, 0x42, 0x07, 0x1e, 0x12, 0xde, 0xa5, 0xc3, 0x1c, 0xdc, 0x86, 0x54, 0x97, 0xf0, 0xae, 0xe5, - 0x07, 0xb4, 0xcd, 0x8e, 0x75, 0xe6, 0x41, 0x92, 0xea, 0x8a, 0xf2, 0x27, 0x64, 0xe3, 0x97, 0x04, - 0xcc, 0x9d, 0x36, 0x45, 0xe7, 0x63, 0x1f, 0x26, 0x43, 0xb9, 0x30, 0x50, 0xa9, 0xd2, 0xff, 0x2f, - 0x93, 0x90, 0xd3, 0x20, 0x5a, 0xb5, 0x24, 0xe2, 0x08, 0x0d, 0x6d, 0xc3, 0x9c, 0x4b, 0x3b, 0x44, - 0xb0, 0x23, 0x6a, 0x5d, 0x2d, 0x84, 0x28, 0xba, 0x67, 0x0e, 0x43, 0x99, 0x7b, 0x66, 0x00, 0x8c, - 0xb4, 0xfc, 0xb1, 0x39, 0x46, 0x30, 0x26, 0x63, 0xaf, 0x87, 0x9f, 0xfa, 0x3e, 0x9b, 0xf7, 0xe4, - 0x95, 0xf2, 0xfe, 0xdc, 0x80, 0xb9, 0xf3, 0x3a, 0x26, 0xda, 0x04, 0x08, 0xc8, 0xc0, 0xea, 0xaa, - 0xe8, 0xe9, 0x78, 0xff, 0xeb, 0x62, 0xa3, 0x31, 0x19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xf6, 0xf1, 0xb3, 0xc4, 0xe2, 0x56, 0x08, 0x56, - 0x51, 0x51, 0xd3, 0x9a, 0x0a, 0xfa, 0x81, 0xbc, 0x88, 0xd8, 0x4f, 0x14, 0xfb, 0x89, 0x66, 0x3f, - 0xd9, 0x0b, 0xc1, 0x0e, 0x26, 0x94, 0xd2, 0x7f, 0xff, 0x16, 0x00, 0x00, 0xff, 0xff, 0x7e, 0xf5, - 0xf5, 0x08, 0x1d, 0x0f, 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 - -// WebRiskServiceV1Beta1Client is the client API for WebRiskServiceV1Beta1 service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type WebRiskServiceV1Beta1Client interface { - // Gets the most recent threat list diffs. - ComputeThreatListDiff(ctx context.Context, in *ComputeThreatListDiffRequest, opts ...grpc.CallOption) (*ComputeThreatListDiffResponse, error) - // This method is used to check whether a URI is on a given threatList. - SearchUris(ctx context.Context, in *SearchUrisRequest, opts ...grpc.CallOption) (*SearchUrisResponse, error) - // Gets the full hashes that match the requested hash prefix. - // This is used after a hash prefix is looked up in a threatList - // and there is a match. The client side threatList only holds partial hashes - // so the client must query this method to determine if there is a full - // hash match of a threat. - SearchHashes(ctx context.Context, in *SearchHashesRequest, opts ...grpc.CallOption) (*SearchHashesResponse, error) -} - -type webRiskServiceV1Beta1Client struct { - cc *grpc.ClientConn -} - -func NewWebRiskServiceV1Beta1Client(cc *grpc.ClientConn) WebRiskServiceV1Beta1Client { - return &webRiskServiceV1Beta1Client{cc} -} - -func (c *webRiskServiceV1Beta1Client) ComputeThreatListDiff(ctx context.Context, in *ComputeThreatListDiffRequest, opts ...grpc.CallOption) (*ComputeThreatListDiffResponse, error) { - out := new(ComputeThreatListDiffResponse) - err := c.cc.Invoke(ctx, "/google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1/ComputeThreatListDiff", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *webRiskServiceV1Beta1Client) SearchUris(ctx context.Context, in *SearchUrisRequest, opts ...grpc.CallOption) (*SearchUrisResponse, error) { - out := new(SearchUrisResponse) - err := c.cc.Invoke(ctx, "/google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1/SearchUris", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *webRiskServiceV1Beta1Client) SearchHashes(ctx context.Context, in *SearchHashesRequest, opts ...grpc.CallOption) (*SearchHashesResponse, error) { - out := new(SearchHashesResponse) - err := c.cc.Invoke(ctx, "/google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1/SearchHashes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// WebRiskServiceV1Beta1Server is the server API for WebRiskServiceV1Beta1 service. -type WebRiskServiceV1Beta1Server interface { - // Gets the most recent threat list diffs. - ComputeThreatListDiff(context.Context, *ComputeThreatListDiffRequest) (*ComputeThreatListDiffResponse, error) - // This method is used to check whether a URI is on a given threatList. - SearchUris(context.Context, *SearchUrisRequest) (*SearchUrisResponse, error) - // Gets the full hashes that match the requested hash prefix. - // This is used after a hash prefix is looked up in a threatList - // and there is a match. The client side threatList only holds partial hashes - // so the client must query this method to determine if there is a full - // hash match of a threat. - SearchHashes(context.Context, *SearchHashesRequest) (*SearchHashesResponse, error) -} - -// UnimplementedWebRiskServiceV1Beta1Server can be embedded to have forward compatible implementations. -type UnimplementedWebRiskServiceV1Beta1Server struct { -} - -func (*UnimplementedWebRiskServiceV1Beta1Server) ComputeThreatListDiff(ctx context.Context, req *ComputeThreatListDiffRequest) (*ComputeThreatListDiffResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ComputeThreatListDiff not implemented") -} -func (*UnimplementedWebRiskServiceV1Beta1Server) SearchUris(ctx context.Context, req *SearchUrisRequest) (*SearchUrisResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchUris not implemented") -} -func (*UnimplementedWebRiskServiceV1Beta1Server) SearchHashes(ctx context.Context, req *SearchHashesRequest) (*SearchHashesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchHashes not implemented") -} - -func RegisterWebRiskServiceV1Beta1Server(s *grpc.Server, srv WebRiskServiceV1Beta1Server) { - s.RegisterService(&_WebRiskServiceV1Beta1_serviceDesc, srv) -} - -func _WebRiskServiceV1Beta1_ComputeThreatListDiff_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ComputeThreatListDiffRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WebRiskServiceV1Beta1Server).ComputeThreatListDiff(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1/ComputeThreatListDiff", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WebRiskServiceV1Beta1Server).ComputeThreatListDiff(ctx, req.(*ComputeThreatListDiffRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WebRiskServiceV1Beta1_SearchUris_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchUrisRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WebRiskServiceV1Beta1Server).SearchUris(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1/SearchUris", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WebRiskServiceV1Beta1Server).SearchUris(ctx, req.(*SearchUrisRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WebRiskServiceV1Beta1_SearchHashes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchHashesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WebRiskServiceV1Beta1Server).SearchHashes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1/SearchHashes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WebRiskServiceV1Beta1Server).SearchHashes(ctx, req.(*SearchHashesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _WebRiskServiceV1Beta1_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1", - HandlerType: (*WebRiskServiceV1Beta1Server)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ComputeThreatListDiff", - Handler: _WebRiskServiceV1Beta1_ComputeThreatListDiff_Handler, - }, - { - MethodName: "SearchUris", - Handler: _WebRiskServiceV1Beta1_SearchUris_Handler, - }, - { - MethodName: "SearchHashes", - Handler: _WebRiskServiceV1Beta1_SearchHashes_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/webrisk/v1beta1/webrisk.proto", -} 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 deleted file mode 100644 index fcafe1a1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/crawled_url.pb.go +++ /dev/null @@ -1,110 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/websecurityscanner/v1alpha/crawled_url.proto - -package websecurityscanner - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// A CrawledUrl resource represents a URL that was crawled during a ScanRun. Web -// Security Scanner Service crawls the web applications, following all links -// within the scope of sites, to find the URLs to test against. -type CrawledUrl struct { - // Output only. The http method of the request that was used to visit the URL, in - // uppercase. - HttpMethod string `protobuf:"bytes,1,opt,name=http_method,json=httpMethod,proto3" json:"http_method,omitempty"` - // Output only. The URL that was crawled. - Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` - // Output only. The body of the request that was used to visit the URL. - Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a45f0d639c4b8a44, []int{0} -} - -func (m *CrawledUrl) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CrawledUrl.Unmarshal(m, b) -} -func (m *CrawledUrl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CrawledUrl.Marshal(b, m, deterministic) -} -func (m *CrawledUrl) XXX_Merge(src proto.Message) { - xxx_messageInfo_CrawledUrl.Merge(m, src) -} -func (m *CrawledUrl) XXX_Size() int { - return xxx_messageInfo_CrawledUrl.Size(m) -} -func (m *CrawledUrl) XXX_DiscardUnknown() { - xxx_messageInfo_CrawledUrl.DiscardUnknown(m) -} - -var xxx_messageInfo_CrawledUrl proto.InternalMessageInfo - -func (m *CrawledUrl) GetHttpMethod() string { - if m != nil { - return m.HttpMethod - } - return "" -} - -func (m *CrawledUrl) GetUrl() string { - if m != nil { - return m.Url - } - return "" -} - -func (m *CrawledUrl) GetBody() string { - if m != nil { - return m.Body - } - return "" -} - -func init() { - proto.RegisterType((*CrawledUrl)(nil), "google.cloud.websecurityscanner.v1alpha.CrawledUrl") -} - -func init() { - proto.RegisterFile("google/cloud/websecurityscanner/v1alpha/crawled_url.proto", fileDescriptor_a45f0d639c4b8a44) -} - -var fileDescriptor_a45f0d639c4b8a44 = []byte{ - // 219 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0x31, 0x4b, 0x04, 0x31, - 0x10, 0x85, 0x89, 0x27, 0x82, 0x63, 0xa1, 0xa4, 0xda, 0x4e, 0xb1, 0x51, 0x10, 0x12, 0xc4, 0x4a, - 0xec, 0xce, 0x5a, 0x38, 0x14, 0x0b, 0x6d, 0x8e, 0x6c, 0x12, 0xb2, 0x07, 0x73, 0x99, 0x30, 0x9b, - 0x78, 0xec, 0x6f, 0xf1, 0xcf, 0xca, 0x66, 0x17, 0x2c, 0xb6, 0xd0, 0xee, 0xf1, 0x1e, 0x5f, 0xf8, - 0x32, 0xf0, 0x18, 0x88, 0x02, 0x7a, 0x6d, 0x91, 0x8a, 0xd3, 0x07, 0xdf, 0xf6, 0xde, 0x16, 0xde, - 0xe5, 0xa1, 0xb7, 0x26, 0x46, 0xcf, 0xfa, 0xeb, 0xde, 0x60, 0xea, 0x8c, 0xb6, 0x6c, 0x0e, 0xe8, - 0xdd, 0xb6, 0x30, 0xaa, 0xc4, 0x94, 0x49, 0xde, 0x4c, 0xa8, 0xaa, 0xa8, 0x5a, 0xa2, 0x6a, 0x46, - 0xaf, 0xdf, 0x00, 0x9e, 0x27, 0xfa, 0x9d, 0x51, 0x5e, 0xc2, 0x59, 0x97, 0x73, 0xda, 0xee, 0x7d, - 0xee, 0xc8, 0x35, 0xe2, 0x4a, 0xdc, 0x9e, 0xbe, 0xc2, 0x58, 0xbd, 0xd4, 0x46, 0x5e, 0xc0, 0xaa, - 0x30, 0x36, 0x47, 0x75, 0x18, 0xa3, 0x94, 0x70, 0xdc, 0x92, 0x1b, 0x9a, 0x55, 0xad, 0x6a, 0x5e, - 0x7f, 0x0b, 0xb8, 0xb3, 0xb4, 0x57, 0xff, 0x94, 0x58, 0x9f, 0xff, 0x2a, 0x6c, 0x46, 0xfd, 0x8d, - 0xf8, 0xfc, 0x98, 0xd9, 0x40, 0x68, 0x62, 0x50, 0xc4, 0x41, 0x07, 0x1f, 0xeb, 0xe7, 0xf4, 0x34, - 0x99, 0xb4, 0xeb, 0xff, 0x3c, 0xcd, 0xd3, 0x72, 0x6a, 0x4f, 0xea, 0x2b, 0x0f, 0x3f, 0x01, 0x00, - 0x00, 0xff, 0xff, 0xc5, 0xb3, 0xab, 0xc9, 0x5f, 0x01, 0x00, 0x00, -} 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 deleted file mode 100644 index 72f8ee3d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/finding.pb.go +++ /dev/null @@ -1,356 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/websecurityscanner/v1alpha/finding.proto - -package websecurityscanner - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Types of Findings. -type Finding_FindingType int32 - -const ( - // The invalid finding type. - Finding_FINDING_TYPE_UNSPECIFIED Finding_FindingType = 0 - // A page that was served over HTTPS also resources over HTTP. A - // man-in-the-middle attacker could tamper with the HTTP resource and gain - // full access to the website that loads the resource or to monitor the - // actions taken by the user. - Finding_MIXED_CONTENT Finding_FindingType = 1 - // The version of an included library is known to contain a security issue. - // The scanner checks the version of library in use against a known list of - // vulnerable libraries. False positives are possible if the version - // detection fails or if the library has been manually patched. - Finding_OUTDATED_LIBRARY Finding_FindingType = 2 - // This type of vulnerability occurs when the value of a request parameter - // is reflected at the beginning of the response, for example, in requests - // using JSONP. Under certain circumstances, an attacker may be able to - // supply an alphanumeric-only Flash file in the vulnerable parameter - // causing the browser to execute the Flash file as if it originated on the - // vulnerable server. - Finding_ROSETTA_FLASH Finding_FindingType = 5 - // A cross-site scripting (XSS) bug is found via JavaScript callback. For - // detailed explanations on XSS, see - // https://www.google.com/about/appsecurity/learning/xss/. - Finding_XSS_CALLBACK Finding_FindingType = 3 - // A potential cross-site scripting (XSS) bug due to JavaScript breakage. - // In some circumstances, the application under test might modify the test - // string before it is parsed by the browser. When the browser attempts to - // runs this modified test string, it will likely break and throw a - // JavaScript execution error, thus an injection issue is occurring. - // However, it may not be exploitable. Manual verification is needed to see - // if the test string modifications can be evaded and confirm that the issue - // is in fact an XSS vulnerability. For detailed explanations on XSS, see - // https://www.google.com/about/appsecurity/learning/xss/. - Finding_XSS_ERROR Finding_FindingType = 4 - // An application appears to be transmitting a password field in clear text. - // An attacker can eavesdrop network traffic and sniff the password field. - Finding_CLEAR_TEXT_PASSWORD Finding_FindingType = 6 - // An application returns sensitive content with an invalid content type, - // or without an 'X-Content-Type-Options: nosniff' header. - Finding_INVALID_CONTENT_TYPE Finding_FindingType = 7 - // A cross-site scripting (XSS) vulnerability in AngularJS module that - // occurs when a user-provided string is interpolated by Angular. - Finding_XSS_ANGULAR_CALLBACK Finding_FindingType = 8 - // A malformed or invalid valued header. - Finding_INVALID_HEADER Finding_FindingType = 9 - // Misspelled security header name. - Finding_MISSPELLED_SECURITY_HEADER_NAME Finding_FindingType = 10 - // Mismatching values in a duplicate security header. - Finding_MISMATCHING_SECURITY_HEADER_VALUES Finding_FindingType = 11 -) - -var Finding_FindingType_name = map[int32]string{ - 0: "FINDING_TYPE_UNSPECIFIED", - 1: "MIXED_CONTENT", - 2: "OUTDATED_LIBRARY", - 5: "ROSETTA_FLASH", - 3: "XSS_CALLBACK", - 4: "XSS_ERROR", - 6: "CLEAR_TEXT_PASSWORD", - 7: "INVALID_CONTENT_TYPE", - 8: "XSS_ANGULAR_CALLBACK", - 9: "INVALID_HEADER", - 10: "MISSPELLED_SECURITY_HEADER_NAME", - 11: "MISMATCHING_SECURITY_HEADER_VALUES", -} - -var Finding_FindingType_value = map[string]int32{ - "FINDING_TYPE_UNSPECIFIED": 0, - "MIXED_CONTENT": 1, - "OUTDATED_LIBRARY": 2, - "ROSETTA_FLASH": 5, - "XSS_CALLBACK": 3, - "XSS_ERROR": 4, - "CLEAR_TEXT_PASSWORD": 6, - "INVALID_CONTENT_TYPE": 7, - "XSS_ANGULAR_CALLBACK": 8, - "INVALID_HEADER": 9, - "MISSPELLED_SECURITY_HEADER_NAME": 10, - "MISMATCHING_SECURITY_HEADER_VALUES": 11, -} - -func (x Finding_FindingType) String() string { - return proto.EnumName(Finding_FindingType_name, int32(x)) -} - -func (Finding_FindingType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_811918cc7b338327, []int{0, 0} -} - -// A Finding resource represents a vulnerability instance identified during a -// ScanRun. -type Finding struct { - // The resource name of the Finding. The name follows the format of - // 'projects/{projectId}/scanConfigs/{scanConfigId}/scanruns/{scanRunId}/findings/{findingId}'. - // The finding IDs are generated by the system. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The type of the Finding. - FindingType Finding_FindingType `protobuf:"varint,2,opt,name=finding_type,json=findingType,proto3,enum=google.cloud.websecurityscanner.v1alpha.Finding_FindingType" json:"finding_type,omitempty"` - // The http method of the request that triggered the vulnerability, in - // uppercase. - HttpMethod string `protobuf:"bytes,3,opt,name=http_method,json=httpMethod,proto3" json:"http_method,omitempty"` - // The URL produced by the server-side fuzzer and used in the request that - // triggered the vulnerability. - FuzzedUrl string `protobuf:"bytes,4,opt,name=fuzzed_url,json=fuzzedUrl,proto3" json:"fuzzed_url,omitempty"` - // The body of the request that triggered the vulnerability. - Body string `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` - // The description of the vulnerability. - Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` - // The URL containing human-readable payload that user can leverage to - // reproduce the vulnerability. - ReproductionUrl string `protobuf:"bytes,7,opt,name=reproduction_url,json=reproductionUrl,proto3" json:"reproduction_url,omitempty"` - // If the vulnerability was originated from nested IFrame, the immediate - // parent IFrame is reported. - FrameUrl string `protobuf:"bytes,8,opt,name=frame_url,json=frameUrl,proto3" json:"frame_url,omitempty"` - // The URL where the browser lands when the vulnerability is detected. - FinalUrl string `protobuf:"bytes,9,opt,name=final_url,json=finalUrl,proto3" json:"final_url,omitempty"` - // The tracking ID uniquely identifies a vulnerability instance across - // multiple ScanRuns. - TrackingId string `protobuf:"bytes,10,opt,name=tracking_id,json=trackingId,proto3" json:"tracking_id,omitempty"` - // An addon containing information about outdated libraries. - OutdatedLibrary *OutdatedLibrary `protobuf:"bytes,11,opt,name=outdated_library,json=outdatedLibrary,proto3" json:"outdated_library,omitempty"` - // An addon containing detailed information regarding any resource causing the - // vulnerability such as JavaScript sources, image, audio files, etc. - ViolatingResource *ViolatingResource `protobuf:"bytes,12,opt,name=violating_resource,json=violatingResource,proto3" json:"violating_resource,omitempty"` - // An addon containing information about vulnerable or missing HTTP headers. - VulnerableHeaders *VulnerableHeaders `protobuf:"bytes,15,opt,name=vulnerable_headers,json=vulnerableHeaders,proto3" json:"vulnerable_headers,omitempty"` - // An addon containing information about request parameters which were found - // to be vulnerable. - VulnerableParameters *VulnerableParameters `protobuf:"bytes,13,opt,name=vulnerable_parameters,json=vulnerableParameters,proto3" json:"vulnerable_parameters,omitempty"` - // An addon containing information reported for an XSS, if any. - Xss *Xss `protobuf:"bytes,14,opt,name=xss,proto3" json:"xss,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_811918cc7b338327, []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 (m *Finding) XXX_Merge(src proto.Message) { - xxx_messageInfo_Finding.Merge(m, 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) GetFindingType() Finding_FindingType { - if m != nil { - return m.FindingType - } - return Finding_FINDING_TYPE_UNSPECIFIED -} - -func (m *Finding) GetHttpMethod() string { - if m != nil { - return m.HttpMethod - } - return "" -} - -func (m *Finding) GetFuzzedUrl() string { - if m != nil { - return m.FuzzedUrl - } - return "" -} - -func (m *Finding) GetBody() string { - if m != nil { - return m.Body - } - return "" -} - -func (m *Finding) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *Finding) GetReproductionUrl() string { - if m != nil { - return m.ReproductionUrl - } - return "" -} - -func (m *Finding) GetFrameUrl() string { - if m != nil { - return m.FrameUrl - } - return "" -} - -func (m *Finding) GetFinalUrl() string { - if m != nil { - return m.FinalUrl - } - return "" -} - -func (m *Finding) GetTrackingId() string { - if m != nil { - return m.TrackingId - } - return "" -} - -func (m *Finding) GetOutdatedLibrary() *OutdatedLibrary { - if m != nil { - return m.OutdatedLibrary - } - return nil -} - -func (m *Finding) GetViolatingResource() *ViolatingResource { - if m != nil { - return m.ViolatingResource - } - return nil -} - -func (m *Finding) GetVulnerableHeaders() *VulnerableHeaders { - if m != nil { - return m.VulnerableHeaders - } - return nil -} - -func (m *Finding) GetVulnerableParameters() *VulnerableParameters { - if m != nil { - return m.VulnerableParameters - } - return nil -} - -func (m *Finding) GetXss() *Xss { - if m != nil { - return m.Xss - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.websecurityscanner.v1alpha.Finding_FindingType", Finding_FindingType_name, Finding_FindingType_value) - proto.RegisterType((*Finding)(nil), "google.cloud.websecurityscanner.v1alpha.Finding") -} - -func init() { - proto.RegisterFile("google/cloud/websecurityscanner/v1alpha/finding.proto", fileDescriptor_811918cc7b338327) -} - -var fileDescriptor_811918cc7b338327 = []byte{ - // 804 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xdd, 0x6e, 0xe4, 0x34, - 0x18, 0x25, 0x6d, 0xb7, 0xed, 0x78, 0xfa, 0x93, 0x9a, 0x22, 0xc2, 0x02, 0x6a, 0x55, 0x24, 0xe8, - 0x0a, 0x34, 0x11, 0x8b, 0x90, 0xd0, 0x2e, 0x20, 0xb9, 0x33, 0xee, 0x36, 0x22, 0xf3, 0x23, 0x27, - 0x53, 0x5a, 0x6e, 0x2c, 0x4f, 0xe2, 0x49, 0x03, 0x99, 0x38, 0x72, 0x92, 0x81, 0xd9, 0xaa, 0x12, - 0x17, 0x3c, 0x04, 0xaf, 0xc0, 0x0b, 0xf0, 0x50, 0x3c, 0x05, 0xb2, 0x93, 0xb4, 0xa5, 0xbb, 0x12, - 0xb3, 0x7b, 0x35, 0xf6, 0x39, 0xdf, 0x39, 0xe7, 0xb3, 0x3d, 0xf9, 0xc0, 0xd7, 0x91, 0x10, 0x51, - 0xc2, 0xed, 0x20, 0x11, 0x65, 0x68, 0xff, 0xca, 0x27, 0x39, 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, 0xc7, 0x26, - 0x80, 0x9f, 0x82, 0xa3, 0xbe, 0xe3, 0xf5, 0x91, 0xdf, 0x3d, 0x53, 0x97, 0xf0, 0xb0, 0xea, 0x1c, - 0xb9, 0x63, 0xec, 0x99, 0xed, 0x67, 0x7f, 0x18, 0xff, 0xa0, 0xdf, 0x0d, 0xf0, 0xe4, 0x35, 0x97, - 0x5c, 0x3d, 0x02, 0xcb, 0xe2, 0xbc, 0x13, 0x88, 0x99, 0xdd, 0x8c, 0x32, 0x2f, 0x93, 0xe2, 0x67, - 0x1e, 0x14, 0xb9, 0x7d, 0x5d, 0xaf, 0x6e, 0x6c, 0x25, 0xe9, 0x8a, 0x74, 0x1a, 0x47, 0xb9, 0x7d, - 0xad, 0x36, 0x34, 0xd0, 0xbb, 0x8a, 0x21, 0x65, 0xda, 0xc0, 0xb2, 0x4c, 0x6f, 0x9a, 0x61, 0x99, - 0xdb, 0xd7, 0xf5, 0xea, 0xe6, 0xe4, 0x4f, 0x03, 0x7c, 0x1e, 0x88, 0xd9, 0xb2, 0x0f, 0x7f, 0xb2, - 0x55, 0x77, 0x33, 0x52, 0x93, 0x76, 0x64, 0xfc, 0x74, 0x59, 0x0b, 0x23, 0x91, 0xb0, 0x34, 0xea, - 0x08, 0x19, 0xd9, 0x11, 0x4f, 0xf5, 0x1c, 0xb6, 0xef, 0xce, 0xf1, 0xbf, 0x73, 0xfc, 0xf9, 0xab, - 0xd4, 0x64, 0x5d, 0xbb, 0x7c, 0xf5, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xdb, 0x37, 0x19, 0xf1, - 0x87, 0x06, 0x00, 0x00, -} 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 deleted file mode 100644 index c8d4afc2..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/finding_addon.pb.go +++ /dev/null @@ -1,369 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/websecurityscanner/v1alpha/finding_addon.proto - -package websecurityscanner - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Information reported for an outdated library. -type OutdatedLibrary struct { - // The name of the outdated library. - LibraryName string `protobuf:"bytes,1,opt,name=library_name,json=libraryName,proto3" json:"library_name,omitempty"` - // The version number. - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - // URLs to learn more information about the vulnerabilities in the library. - LearnMoreUrls []string `protobuf:"bytes,3,rep,name=learn_more_urls,json=learnMoreUrls,proto3" json:"learn_more_urls,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_067c3e019cef51ec, []int{0} -} - -func (m *OutdatedLibrary) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OutdatedLibrary.Unmarshal(m, b) -} -func (m *OutdatedLibrary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OutdatedLibrary.Marshal(b, m, deterministic) -} -func (m *OutdatedLibrary) XXX_Merge(src proto.Message) { - xxx_messageInfo_OutdatedLibrary.Merge(m, src) -} -func (m *OutdatedLibrary) XXX_Size() int { - return xxx_messageInfo_OutdatedLibrary.Size(m) -} -func (m *OutdatedLibrary) XXX_DiscardUnknown() { - xxx_messageInfo_OutdatedLibrary.DiscardUnknown(m) -} - -var xxx_messageInfo_OutdatedLibrary proto.InternalMessageInfo - -func (m *OutdatedLibrary) GetLibraryName() string { - if m != nil { - return m.LibraryName - } - return "" -} - -func (m *OutdatedLibrary) GetVersion() string { - if m != nil { - return m.Version - } - return "" -} - -func (m *OutdatedLibrary) GetLearnMoreUrls() []string { - if m != nil { - return m.LearnMoreUrls - } - return nil -} - -// Information regarding any resource causing the vulnerability such -// as JavaScript sources, image, audio files, etc. -type ViolatingResource struct { - // The MIME type of this resource. - ContentType string `protobuf:"bytes,1,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` - // URL of this violating resource. - ResourceUrl string `protobuf:"bytes,2,opt,name=resource_url,json=resourceUrl,proto3" json:"resource_url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_067c3e019cef51ec, []int{1} -} - -func (m *ViolatingResource) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ViolatingResource.Unmarshal(m, b) -} -func (m *ViolatingResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ViolatingResource.Marshal(b, m, deterministic) -} -func (m *ViolatingResource) XXX_Merge(src proto.Message) { - xxx_messageInfo_ViolatingResource.Merge(m, src) -} -func (m *ViolatingResource) XXX_Size() int { - return xxx_messageInfo_ViolatingResource.Size(m) -} -func (m *ViolatingResource) XXX_DiscardUnknown() { - xxx_messageInfo_ViolatingResource.DiscardUnknown(m) -} - -var xxx_messageInfo_ViolatingResource proto.InternalMessageInfo - -func (m *ViolatingResource) GetContentType() string { - if m != nil { - return m.ContentType - } - return "" -} - -func (m *ViolatingResource) GetResourceUrl() string { - if m != nil { - return m.ResourceUrl - } - return "" -} - -// Information about vulnerable request parameters. -type VulnerableParameters struct { - // The vulnerable parameter names. - ParameterNames []string `protobuf:"bytes,1,rep,name=parameter_names,json=parameterNames,proto3" json:"parameter_names,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_067c3e019cef51ec, []int{2} -} - -func (m *VulnerableParameters) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VulnerableParameters.Unmarshal(m, b) -} -func (m *VulnerableParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VulnerableParameters.Marshal(b, m, deterministic) -} -func (m *VulnerableParameters) XXX_Merge(src proto.Message) { - xxx_messageInfo_VulnerableParameters.Merge(m, src) -} -func (m *VulnerableParameters) XXX_Size() int { - return xxx_messageInfo_VulnerableParameters.Size(m) -} -func (m *VulnerableParameters) XXX_DiscardUnknown() { - xxx_messageInfo_VulnerableParameters.DiscardUnknown(m) -} - -var xxx_messageInfo_VulnerableParameters proto.InternalMessageInfo - -func (m *VulnerableParameters) GetParameterNames() []string { - if m != nil { - return m.ParameterNames - } - return nil -} - -// Information about vulnerable or missing HTTP Headers. -type VulnerableHeaders struct { - // List of vulnerable headers. - Headers []*VulnerableHeaders_Header `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"` - // List of missing headers. - MissingHeaders []*VulnerableHeaders_Header `protobuf:"bytes,2,rep,name=missing_headers,json=missingHeaders,proto3" json:"missing_headers,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VulnerableHeaders) Reset() { *m = VulnerableHeaders{} } -func (m *VulnerableHeaders) String() string { return proto.CompactTextString(m) } -func (*VulnerableHeaders) ProtoMessage() {} -func (*VulnerableHeaders) Descriptor() ([]byte, []int) { - return fileDescriptor_067c3e019cef51ec, []int{3} -} - -func (m *VulnerableHeaders) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VulnerableHeaders.Unmarshal(m, b) -} -func (m *VulnerableHeaders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VulnerableHeaders.Marshal(b, m, deterministic) -} -func (m *VulnerableHeaders) XXX_Merge(src proto.Message) { - xxx_messageInfo_VulnerableHeaders.Merge(m, src) -} -func (m *VulnerableHeaders) XXX_Size() int { - return xxx_messageInfo_VulnerableHeaders.Size(m) -} -func (m *VulnerableHeaders) XXX_DiscardUnknown() { - xxx_messageInfo_VulnerableHeaders.DiscardUnknown(m) -} - -var xxx_messageInfo_VulnerableHeaders proto.InternalMessageInfo - -func (m *VulnerableHeaders) GetHeaders() []*VulnerableHeaders_Header { - if m != nil { - return m.Headers - } - return nil -} - -func (m *VulnerableHeaders) GetMissingHeaders() []*VulnerableHeaders_Header { - if m != nil { - return m.MissingHeaders - } - return nil -} - -// Describes a HTTP Header. -type VulnerableHeaders_Header struct { - // Header name. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Header value. - 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 *VulnerableHeaders_Header) Reset() { *m = VulnerableHeaders_Header{} } -func (m *VulnerableHeaders_Header) String() string { return proto.CompactTextString(m) } -func (*VulnerableHeaders_Header) ProtoMessage() {} -func (*VulnerableHeaders_Header) Descriptor() ([]byte, []int) { - return fileDescriptor_067c3e019cef51ec, []int{3, 0} -} - -func (m *VulnerableHeaders_Header) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VulnerableHeaders_Header.Unmarshal(m, b) -} -func (m *VulnerableHeaders_Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VulnerableHeaders_Header.Marshal(b, m, deterministic) -} -func (m *VulnerableHeaders_Header) XXX_Merge(src proto.Message) { - xxx_messageInfo_VulnerableHeaders_Header.Merge(m, src) -} -func (m *VulnerableHeaders_Header) XXX_Size() int { - return xxx_messageInfo_VulnerableHeaders_Header.Size(m) -} -func (m *VulnerableHeaders_Header) XXX_DiscardUnknown() { - xxx_messageInfo_VulnerableHeaders_Header.DiscardUnknown(m) -} - -var xxx_messageInfo_VulnerableHeaders_Header proto.InternalMessageInfo - -func (m *VulnerableHeaders_Header) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *VulnerableHeaders_Header) GetValue() string { - if m != nil { - return m.Value - } - return "" -} - -// Information reported for an XSS. -type Xss struct { - // Stack traces leading to the point where the XSS occurred. - StackTraces []string `protobuf:"bytes,1,rep,name=stack_traces,json=stackTraces,proto3" json:"stack_traces,omitempty"` - // An error message generated by a javascript breakage. - ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_067c3e019cef51ec, []int{4} -} - -func (m *Xss) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Xss.Unmarshal(m, b) -} -func (m *Xss) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Xss.Marshal(b, m, deterministic) -} -func (m *Xss) XXX_Merge(src proto.Message) { - xxx_messageInfo_Xss.Merge(m, src) -} -func (m *Xss) XXX_Size() int { - return xxx_messageInfo_Xss.Size(m) -} -func (m *Xss) XXX_DiscardUnknown() { - xxx_messageInfo_Xss.DiscardUnknown(m) -} - -var xxx_messageInfo_Xss proto.InternalMessageInfo - -func (m *Xss) GetStackTraces() []string { - if m != nil { - return m.StackTraces - } - return nil -} - -func (m *Xss) GetErrorMessage() string { - if m != nil { - return m.ErrorMessage - } - return "" -} - -func init() { - proto.RegisterType((*OutdatedLibrary)(nil), "google.cloud.websecurityscanner.v1alpha.OutdatedLibrary") - proto.RegisterType((*ViolatingResource)(nil), "google.cloud.websecurityscanner.v1alpha.ViolatingResource") - proto.RegisterType((*VulnerableParameters)(nil), "google.cloud.websecurityscanner.v1alpha.VulnerableParameters") - proto.RegisterType((*VulnerableHeaders)(nil), "google.cloud.websecurityscanner.v1alpha.VulnerableHeaders") - proto.RegisterType((*VulnerableHeaders_Header)(nil), "google.cloud.websecurityscanner.v1alpha.VulnerableHeaders.Header") - proto.RegisterType((*Xss)(nil), "google.cloud.websecurityscanner.v1alpha.Xss") -} - -func init() { - proto.RegisterFile("google/cloud/websecurityscanner/v1alpha/finding_addon.proto", fileDescriptor_067c3e019cef51ec) -} - -var fileDescriptor_067c3e019cef51ec = []byte{ - // 453 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x53, 0x41, 0x6f, 0xd4, 0x3c, - 0x10, 0x55, 0x76, 0xbf, 0xaf, 0x55, 0xbd, 0x6d, 0x57, 0x6b, 0xf5, 0x10, 0x71, 0x2a, 0x41, 0xa2, - 0x95, 0x90, 0x12, 0x51, 0x8e, 0x3d, 0xa0, 0xf6, 0x80, 0x38, 0xb0, 0xb0, 0x5a, 0xb5, 0x15, 0x85, - 0x43, 0x34, 0x9b, 0x0c, 0xae, 0xc1, 0xb1, 0xa3, 0xb1, 0xb3, 0x68, 0xff, 0x05, 0x7f, 0x80, 0xff, - 0x8a, 0x62, 0x3b, 0x0b, 0xd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9f, - 0xcb, 0xdd, 0xd2, 0x6a, 0xcf, 0xab, 0xbc, 0xfa, 0x15, 0x00, 0x00, 0xff, 0xff, 0xf5, 0x31, 0x6e, - 0xeb, 0x84, 0x03, 0x00, 0x00, -} 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 deleted file mode 100644 index 4fbc761f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/finding_type_stats.pb.go +++ /dev/null @@ -1,100 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/websecurityscanner/v1alpha/finding_type_stats.proto - -package websecurityscanner - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// A FindingTypeStats resource represents stats regarding a specific FindingType -// of Findings under a given ScanRun. -type FindingTypeStats struct { - // The finding type associated with the stats. - FindingType Finding_FindingType `protobuf:"varint,1,opt,name=finding_type,json=findingType,proto3,enum=google.cloud.websecurityscanner.v1alpha.Finding_FindingType" json:"finding_type,omitempty"` - // The count of findings belonging to this finding type. - FindingCount int32 `protobuf:"varint,2,opt,name=finding_count,json=findingCount,proto3" json:"finding_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_91da39ac488bf6ea, []int{0} -} - -func (m *FindingTypeStats) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindingTypeStats.Unmarshal(m, b) -} -func (m *FindingTypeStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindingTypeStats.Marshal(b, m, deterministic) -} -func (m *FindingTypeStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindingTypeStats.Merge(m, src) -} -func (m *FindingTypeStats) XXX_Size() int { - return xxx_messageInfo_FindingTypeStats.Size(m) -} -func (m *FindingTypeStats) XXX_DiscardUnknown() { - xxx_messageInfo_FindingTypeStats.DiscardUnknown(m) -} - -var xxx_messageInfo_FindingTypeStats proto.InternalMessageInfo - -func (m *FindingTypeStats) GetFindingType() Finding_FindingType { - if m != nil { - return m.FindingType - } - return Finding_FINDING_TYPE_UNSPECIFIED -} - -func (m *FindingTypeStats) GetFindingCount() int32 { - if m != nil { - return m.FindingCount - } - return 0 -} - -func init() { - proto.RegisterType((*FindingTypeStats)(nil), "google.cloud.websecurityscanner.v1alpha.FindingTypeStats") -} - -func init() { - proto.RegisterFile("google/cloud/websecurityscanner/v1alpha/finding_type_stats.proto", fileDescriptor_91da39ac488bf6ea) -} - -var fileDescriptor_91da39ac488bf6ea = []byte{ - // 236 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, - 0x2d, 0xca, 0x2c, 0xa9, 0x2c, 0x4e, 0x4e, 0xcc, 0xcb, 0x4b, 0x2d, 0xd2, 0x2f, 0x33, 0x4c, 0xcc, - 0x29, 0xc8, 0x48, 0xd4, 0x4f, 0xcb, 0xcc, 0x4b, 0xc9, 0xcc, 0x4b, 0x8f, 0x2f, 0xa9, 0x2c, 0x48, - 0x8d, 0x2f, 0x2e, 0x49, 0x2c, 0x29, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x52, 0x87, 0x98, - 0xa0, 0x07, 0x36, 0x41, 0x0f, 0xd3, 0x04, 0x3d, 0xa8, 0x09, 0x52, 0xa6, 0x24, 0x5a, 0x05, 0x31, - 0x5f, 0x69, 0x06, 0x23, 0x97, 0x80, 0x1b, 0x44, 0x24, 0xa4, 0xb2, 0x20, 0x35, 0x18, 0x64, 0xb5, - 0x50, 0x3c, 0x17, 0x0f, 0xb2, 0x83, 0x24, 0x18, 0x15, 0x18, 0x35, 0xf8, 0x8c, 0x6c, 0xf4, 0x88, - 0x74, 0x8b, 0x1e, 0xd4, 0x40, 0x3d, 0x24, 0x83, 0x83, 0xb8, 0xd3, 0x10, 0x1c, 0x21, 0x65, 0x2e, - 0x5e, 0x98, 0x05, 0xc9, 0xf9, 0xa5, 0x79, 0x25, 0x12, 0x4c, 0x0a, 0x8c, 0x1a, 0xac, 0x41, 0x30, - 0x5b, 0x9d, 0x41, 0x62, 0x4e, 0x0b, 0x19, 0xb9, 0xb4, 0x93, 0xf3, 0x73, 0x89, 0xb5, 0xd5, 0x49, - 0x14, 0xdd, 0x1f, 0x01, 0x20, 0x1f, 0x06, 0x30, 0x46, 0x45, 0x42, 0x4d, 0x48, 0xcf, 0xcf, 0x49, - 0xcc, 0x4b, 0xd7, 0xcb, 0x2f, 0x4a, 0xd7, 0x4f, 0x4f, 0xcd, 0x03, 0xfb, 0x5f, 0x1f, 0x22, 0x95, - 0x58, 0x90, 0x59, 0x4c, 0x30, 0xe4, 0xac, 0x31, 0xa5, 0x92, 0xd8, 0xc0, 0xa6, 0x18, 0x03, 0x02, - 0x00, 0x00, 0xff, 0xff, 0x3e, 0x11, 0xae, 0xcf, 0xe9, 0x01, 0x00, 0x00, -} 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 deleted file mode 100644 index c8949430..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/scan_config.pb.go +++ /dev/null @@ -1,548 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/websecurityscanner/v1alpha/scan_config.proto - -package websecurityscanner - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Type of user agents used for scanning. -type ScanConfig_UserAgent int32 - -const ( - // The user agent is unknown. Service will default to CHROME_LINUX. - ScanConfig_USER_AGENT_UNSPECIFIED ScanConfig_UserAgent = 0 - // Chrome on Linux. This is the service default if unspecified. - ScanConfig_CHROME_LINUX ScanConfig_UserAgent = 1 - // Chrome on Android. - ScanConfig_CHROME_ANDROID ScanConfig_UserAgent = 2 - // Safari on IPhone. - ScanConfig_SAFARI_IPHONE ScanConfig_UserAgent = 3 -) - -var ScanConfig_UserAgent_name = map[int32]string{ - 0: "USER_AGENT_UNSPECIFIED", - 1: "CHROME_LINUX", - 2: "CHROME_ANDROID", - 3: "SAFARI_IPHONE", -} - -var ScanConfig_UserAgent_value = map[string]int32{ - "USER_AGENT_UNSPECIFIED": 0, - "CHROME_LINUX": 1, - "CHROME_ANDROID": 2, - "SAFARI_IPHONE": 3, -} - -func (x ScanConfig_UserAgent) String() string { - return proto.EnumName(ScanConfig_UserAgent_name, int32(x)) -} - -func (ScanConfig_UserAgent) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_50b1b6d7cca97898, []int{0, 0} -} - -// Cloud platforms supported by Cloud Web Security Scanner. -type ScanConfig_TargetPlatform int32 - -const ( - // The target platform is unknown. Requests with this enum value will be - // rejected with INVALID_ARGUMENT error. - ScanConfig_TARGET_PLATFORM_UNSPECIFIED ScanConfig_TargetPlatform = 0 - // Google App Engine service. - ScanConfig_APP_ENGINE ScanConfig_TargetPlatform = 1 - // Google Compute Engine service. - ScanConfig_COMPUTE ScanConfig_TargetPlatform = 2 -) - -var ScanConfig_TargetPlatform_name = map[int32]string{ - 0: "TARGET_PLATFORM_UNSPECIFIED", - 1: "APP_ENGINE", - 2: "COMPUTE", -} - -var ScanConfig_TargetPlatform_value = map[string]int32{ - "TARGET_PLATFORM_UNSPECIFIED": 0, - "APP_ENGINE": 1, - "COMPUTE": 2, -} - -func (x ScanConfig_TargetPlatform) String() string { - return proto.EnumName(ScanConfig_TargetPlatform_name, int32(x)) -} - -func (ScanConfig_TargetPlatform) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_50b1b6d7cca97898, []int{0, 1} -} - -// A ScanConfig resource contains the configurations to launch a scan. -// next id: 12 -type ScanConfig struct { - // The resource name of the ScanConfig. The name follows the format of - // 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are - // generated by the system. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The user provided display name of the ScanConfig. - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // The maximum QPS during scanning. A valid value ranges from 5 to 20 - // inclusively. If the field is unspecified or its value is set 0, server will - // default to 15. Other values outside of [5, 20] range will be rejected with - // INVALID_ARGUMENT error. - MaxQps int32 `protobuf:"varint,3,opt,name=max_qps,json=maxQps,proto3" json:"max_qps,omitempty"` - // Required. The starting URLs from which the scanner finds site pages. - StartingUrls []string `protobuf:"bytes,4,rep,name=starting_urls,json=startingUrls,proto3" json:"starting_urls,omitempty"` - // The authentication configuration. If specified, service will use the - // authentication configuration during scanning. - Authentication *ScanConfig_Authentication `protobuf:"bytes,5,opt,name=authentication,proto3" json:"authentication,omitempty"` - // The user agent used during scanning. - UserAgent ScanConfig_UserAgent `protobuf:"varint,6,opt,name=user_agent,json=userAgent,proto3,enum=google.cloud.websecurityscanner.v1alpha.ScanConfig_UserAgent" json:"user_agent,omitempty"` - // The blacklist URL patterns as described in - // https://cloud.google.com/security-scanner/docs/excluded-urls - BlacklistPatterns []string `protobuf:"bytes,7,rep,name=blacklist_patterns,json=blacklistPatterns,proto3" json:"blacklist_patterns,omitempty"` - // The schedule of the ScanConfig. - Schedule *ScanConfig_Schedule `protobuf:"bytes,8,opt,name=schedule,proto3" json:"schedule,omitempty"` - // Set of Cloud Platforms targeted by the scan. If empty, APP_ENGINE will be - // used as a default. - TargetPlatforms []ScanConfig_TargetPlatform `protobuf:"varint,9,rep,packed,name=target_platforms,json=targetPlatforms,proto3,enum=google.cloud.websecurityscanner.v1alpha.ScanConfig_TargetPlatform" json:"target_platforms,omitempty"` - // Latest ScanRun if available. - LatestRun *ScanRun `protobuf:"bytes,11,opt,name=latest_run,json=latestRun,proto3" json:"latest_run,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_50b1b6d7cca97898, []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 (m *ScanConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ScanConfig.Merge(m, 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) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *ScanConfig) GetMaxQps() int32 { - if m != nil { - return m.MaxQps - } - return 0 -} - -func (m *ScanConfig) GetStartingUrls() []string { - if m != nil { - return m.StartingUrls - } - return nil -} - -func (m *ScanConfig) GetAuthentication() *ScanConfig_Authentication { - if m != nil { - return m.Authentication - } - return nil -} - -func (m *ScanConfig) GetUserAgent() ScanConfig_UserAgent { - if m != nil { - return m.UserAgent - } - return ScanConfig_USER_AGENT_UNSPECIFIED -} - -func (m *ScanConfig) GetBlacklistPatterns() []string { - if m != nil { - return m.BlacklistPatterns - } - return nil -} - -func (m *ScanConfig) GetSchedule() *ScanConfig_Schedule { - if m != nil { - return m.Schedule - } - return nil -} - -func (m *ScanConfig) GetTargetPlatforms() []ScanConfig_TargetPlatform { - if m != nil { - return m.TargetPlatforms - } - return nil -} - -func (m *ScanConfig) GetLatestRun() *ScanRun { - if m != nil { - return m.LatestRun - } - return nil -} - -// Scan authentication configuration. -type ScanConfig_Authentication struct { - // Required. - // Authentication configuration - // - // Types that are valid to be assigned to Authentication: - // *ScanConfig_Authentication_GoogleAccount_ - // *ScanConfig_Authentication_CustomAccount_ - Authentication isScanConfig_Authentication_Authentication `protobuf_oneof:"authentication"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ScanConfig_Authentication) Reset() { *m = ScanConfig_Authentication{} } -func (m *ScanConfig_Authentication) String() string { return proto.CompactTextString(m) } -func (*ScanConfig_Authentication) ProtoMessage() {} -func (*ScanConfig_Authentication) Descriptor() ([]byte, []int) { - return fileDescriptor_50b1b6d7cca97898, []int{0, 0} -} - -func (m *ScanConfig_Authentication) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ScanConfig_Authentication.Unmarshal(m, b) -} -func (m *ScanConfig_Authentication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ScanConfig_Authentication.Marshal(b, m, deterministic) -} -func (m *ScanConfig_Authentication) XXX_Merge(src proto.Message) { - xxx_messageInfo_ScanConfig_Authentication.Merge(m, src) -} -func (m *ScanConfig_Authentication) XXX_Size() int { - return xxx_messageInfo_ScanConfig_Authentication.Size(m) -} -func (m *ScanConfig_Authentication) XXX_DiscardUnknown() { - xxx_messageInfo_ScanConfig_Authentication.DiscardUnknown(m) -} - -var xxx_messageInfo_ScanConfig_Authentication proto.InternalMessageInfo - -type isScanConfig_Authentication_Authentication interface { - isScanConfig_Authentication_Authentication() -} - -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 { - if m != nil { - return m.Authentication - } - return nil -} - -func (m *ScanConfig_Authentication) GetGoogleAccount() *ScanConfig_Authentication_GoogleAccount { - if x, ok := m.GetAuthentication().(*ScanConfig_Authentication_GoogleAccount_); ok { - return x.GoogleAccount - } - return nil -} - -func (m *ScanConfig_Authentication) GetCustomAccount() *ScanConfig_Authentication_CustomAccount { - if x, ok := m.GetAuthentication().(*ScanConfig_Authentication_CustomAccount_); ok { - return x.CustomAccount - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ScanConfig_Authentication) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ScanConfig_Authentication_GoogleAccount_)(nil), - (*ScanConfig_Authentication_CustomAccount_)(nil), - } -} - -// Describes authentication configuration that uses a Google account. -type ScanConfig_Authentication_GoogleAccount struct { - // Required. The user name of the Google account. - Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` - // Required. Input only. The password of the Google account. The credential is stored encrypted - // and not returned in any response nor included in audit logs. - Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ScanConfig_Authentication_GoogleAccount) Reset() { - *m = ScanConfig_Authentication_GoogleAccount{} -} -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_50b1b6d7cca97898, []int{0, 0, 0} -} - -func (m *ScanConfig_Authentication_GoogleAccount) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ScanConfig_Authentication_GoogleAccount.Unmarshal(m, b) -} -func (m *ScanConfig_Authentication_GoogleAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ScanConfig_Authentication_GoogleAccount.Marshal(b, m, deterministic) -} -func (m *ScanConfig_Authentication_GoogleAccount) XXX_Merge(src proto.Message) { - xxx_messageInfo_ScanConfig_Authentication_GoogleAccount.Merge(m, src) -} -func (m *ScanConfig_Authentication_GoogleAccount) XXX_Size() int { - return xxx_messageInfo_ScanConfig_Authentication_GoogleAccount.Size(m) -} -func (m *ScanConfig_Authentication_GoogleAccount) XXX_DiscardUnknown() { - xxx_messageInfo_ScanConfig_Authentication_GoogleAccount.DiscardUnknown(m) -} - -var xxx_messageInfo_ScanConfig_Authentication_GoogleAccount proto.InternalMessageInfo - -func (m *ScanConfig_Authentication_GoogleAccount) GetUsername() string { - if m != nil { - return m.Username - } - return "" -} - -func (m *ScanConfig_Authentication_GoogleAccount) GetPassword() string { - if m != nil { - return m.Password - } - return "" -} - -// Describes authentication configuration that uses a custom account. -type ScanConfig_Authentication_CustomAccount struct { - // Required. The user name of the custom account. - Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` - // Required. Input only. The password of the custom account. The credential is stored encrypted - // and not returned in any response nor included in audit logs. - Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` - // Required. The login form URL of the website. - LoginUrl string `protobuf:"bytes,3,opt,name=login_url,json=loginUrl,proto3" json:"login_url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ScanConfig_Authentication_CustomAccount) Reset() { - *m = ScanConfig_Authentication_CustomAccount{} -} -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_50b1b6d7cca97898, []int{0, 0, 1} -} - -func (m *ScanConfig_Authentication_CustomAccount) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ScanConfig_Authentication_CustomAccount.Unmarshal(m, b) -} -func (m *ScanConfig_Authentication_CustomAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ScanConfig_Authentication_CustomAccount.Marshal(b, m, deterministic) -} -func (m *ScanConfig_Authentication_CustomAccount) XXX_Merge(src proto.Message) { - xxx_messageInfo_ScanConfig_Authentication_CustomAccount.Merge(m, src) -} -func (m *ScanConfig_Authentication_CustomAccount) XXX_Size() int { - return xxx_messageInfo_ScanConfig_Authentication_CustomAccount.Size(m) -} -func (m *ScanConfig_Authentication_CustomAccount) XXX_DiscardUnknown() { - xxx_messageInfo_ScanConfig_Authentication_CustomAccount.DiscardUnknown(m) -} - -var xxx_messageInfo_ScanConfig_Authentication_CustomAccount proto.InternalMessageInfo - -func (m *ScanConfig_Authentication_CustomAccount) GetUsername() string { - if m != nil { - return m.Username - } - return "" -} - -func (m *ScanConfig_Authentication_CustomAccount) GetPassword() string { - if m != nil { - return m.Password - } - return "" -} - -func (m *ScanConfig_Authentication_CustomAccount) GetLoginUrl() string { - if m != nil { - return m.LoginUrl - } - return "" -} - -// Scan schedule configuration. -type ScanConfig_Schedule struct { - // A timestamp indicates when the next run will be scheduled. The value is - // refreshed by the server after each run. If unspecified, it will default - // to current server time, which means the scan will be scheduled to start - // immediately. - ScheduleTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"` - // Required. The duration of time between executions in days. - IntervalDurationDays int32 `protobuf:"varint,2,opt,name=interval_duration_days,json=intervalDurationDays,proto3" json:"interval_duration_days,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_50b1b6d7cca97898, []int{0, 1} -} - -func (m *ScanConfig_Schedule) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ScanConfig_Schedule.Unmarshal(m, b) -} -func (m *ScanConfig_Schedule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ScanConfig_Schedule.Marshal(b, m, deterministic) -} -func (m *ScanConfig_Schedule) XXX_Merge(src proto.Message) { - xxx_messageInfo_ScanConfig_Schedule.Merge(m, src) -} -func (m *ScanConfig_Schedule) XXX_Size() int { - return xxx_messageInfo_ScanConfig_Schedule.Size(m) -} -func (m *ScanConfig_Schedule) XXX_DiscardUnknown() { - xxx_messageInfo_ScanConfig_Schedule.DiscardUnknown(m) -} - -var xxx_messageInfo_ScanConfig_Schedule proto.InternalMessageInfo - -func (m *ScanConfig_Schedule) GetScheduleTime() *timestamp.Timestamp { - if m != nil { - return m.ScheduleTime - } - return nil -} - -func (m *ScanConfig_Schedule) GetIntervalDurationDays() int32 { - if m != nil { - return m.IntervalDurationDays - } - return 0 -} - -func init() { - proto.RegisterEnum("google.cloud.websecurityscanner.v1alpha.ScanConfig_UserAgent", ScanConfig_UserAgent_name, ScanConfig_UserAgent_value) - proto.RegisterEnum("google.cloud.websecurityscanner.v1alpha.ScanConfig_TargetPlatform", ScanConfig_TargetPlatform_name, ScanConfig_TargetPlatform_value) - proto.RegisterType((*ScanConfig)(nil), "google.cloud.websecurityscanner.v1alpha.ScanConfig") - proto.RegisterType((*ScanConfig_Authentication)(nil), "google.cloud.websecurityscanner.v1alpha.ScanConfig.Authentication") - proto.RegisterType((*ScanConfig_Authentication_GoogleAccount)(nil), "google.cloud.websecurityscanner.v1alpha.ScanConfig.Authentication.GoogleAccount") - proto.RegisterType((*ScanConfig_Authentication_CustomAccount)(nil), "google.cloud.websecurityscanner.v1alpha.ScanConfig.Authentication.CustomAccount") - proto.RegisterType((*ScanConfig_Schedule)(nil), "google.cloud.websecurityscanner.v1alpha.ScanConfig.Schedule") -} - -func init() { - proto.RegisterFile("google/cloud/websecurityscanner/v1alpha/scan_config.proto", fileDescriptor_50b1b6d7cca97898) -} - -var fileDescriptor_50b1b6d7cca97898 = []byte{ - // 859 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x5b, 0x6f, 0xdb, 0x36, - 0x14, 0xae, 0xec, 0xdc, 0x7c, 0x7c, 0xa9, 0x4b, 0x0c, 0x9d, 0xe7, 0x3d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21, 0x7f, 0x9b, 0xcf, 0xe0, 0xd1, 0xbf, 0x14, 0x5d, 0x7e, 0x5b, 0x34, 0xf6, 0xa5, - 0xee, 0xf2, 0xd0, 0xd8, 0x18, 0xf4, 0x8f, 0x62, 0xc1, 0x9f, 0x33, 0x57, 0x49, 0xe3, 0x55, 0xb1, - 0x7a, 0x9d, 0xfd, 0x1d, 0x39, 0x2c, 0x8d, 0x57, 0x1b, 0x1f, 0xdd, 0xeb, 0xc1, 0x1f, 0x1a, 0x7c, - 0xe6, 0xf2, 0xf0, 0x6d, 0x8b, 0x7c, 0x70, 0xff, 0x46, 0xc9, 0x49, 0x5f, 0xca, 0xd1, 0x7e, 0xfe, - 0xa9, 0xf0, 0xf5, 0x78, 0x40, 0x23, 0x4f, 0xe7, 0xc2, 0x33, 0x3c, 0x16, 0x65, 0xef, 0x68, 0xdc, - 0x84, 0xf9, 0x9f, 0x1f, 0xdc, 0xb7, 0x6f, 0x42, 0x8b, 0xbd, 0x8c, 0xe5, 0xab, 0x7f, 0x02, 0x00, - 0x00, 0xff, 0xff, 0x2f, 0xe7, 0x85, 0xa5, 0xc5, 0x07, 0x00, 0x00, -} 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 deleted file mode 100644 index 4d6f4b48..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/scan_run.pb.go +++ /dev/null @@ -1,274 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/websecurityscanner/v1alpha/scan_run.proto - -package websecurityscanner - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Types of ScanRun execution state. -type ScanRun_ExecutionState int32 - -const ( - // Represents an invalid state caused by internal server error. This value - // should never be returned. - ScanRun_EXECUTION_STATE_UNSPECIFIED ScanRun_ExecutionState = 0 - // The scan is waiting in the queue. - ScanRun_QUEUED ScanRun_ExecutionState = 1 - // The scan is in progress. - ScanRun_SCANNING ScanRun_ExecutionState = 2 - // The scan is either finished or stopped by user. - ScanRun_FINISHED ScanRun_ExecutionState = 3 -) - -var ScanRun_ExecutionState_name = map[int32]string{ - 0: "EXECUTION_STATE_UNSPECIFIED", - 1: "QUEUED", - 2: "SCANNING", - 3: "FINISHED", -} - -var ScanRun_ExecutionState_value = map[string]int32{ - "EXECUTION_STATE_UNSPECIFIED": 0, - "QUEUED": 1, - "SCANNING": 2, - "FINISHED": 3, -} - -func (x ScanRun_ExecutionState) String() string { - return proto.EnumName(ScanRun_ExecutionState_name, int32(x)) -} - -func (ScanRun_ExecutionState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_d1e91fc2897e59cf, []int{0, 0} -} - -// Types of ScanRun result state. -type ScanRun_ResultState int32 - -const ( - // Default value. This value is returned when the ScanRun is not yet - // finished. - ScanRun_RESULT_STATE_UNSPECIFIED ScanRun_ResultState = 0 - // The scan finished without errors. - ScanRun_SUCCESS ScanRun_ResultState = 1 - // The scan finished with errors. - ScanRun_ERROR ScanRun_ResultState = 2 - // The scan was terminated by user. - ScanRun_KILLED ScanRun_ResultState = 3 -) - -var ScanRun_ResultState_name = map[int32]string{ - 0: "RESULT_STATE_UNSPECIFIED", - 1: "SUCCESS", - 2: "ERROR", - 3: "KILLED", -} - -var ScanRun_ResultState_value = map[string]int32{ - "RESULT_STATE_UNSPECIFIED": 0, - "SUCCESS": 1, - "ERROR": 2, - "KILLED": 3, -} - -func (x ScanRun_ResultState) String() string { - return proto.EnumName(ScanRun_ResultState_name, int32(x)) -} - -func (ScanRun_ResultState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_d1e91fc2897e59cf, []int{0, 1} -} - -// A ScanRun is a output-only resource representing an actual run of the scan. -type ScanRun struct { - // The resource name of the ScanRun. The name follows the format of - // 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. - // The ScanRun IDs are generated by the system. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The execution state of the ScanRun. - ExecutionState ScanRun_ExecutionState `protobuf:"varint,2,opt,name=execution_state,json=executionState,proto3,enum=google.cloud.websecurityscanner.v1alpha.ScanRun_ExecutionState" json:"execution_state,omitempty"` - // The result state of the ScanRun. This field is only available after the - // execution state reaches "FINISHED". - ResultState ScanRun_ResultState `protobuf:"varint,3,opt,name=result_state,json=resultState,proto3,enum=google.cloud.websecurityscanner.v1alpha.ScanRun_ResultState" json:"result_state,omitempty"` - // The time at which the ScanRun started. - StartTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // The time at which the ScanRun reached termination state - that the ScanRun - // is either finished or stopped by user. - EndTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - // The number of URLs crawled during this ScanRun. If the scan is in progress, - // the value represents the number of URLs crawled up to now. - UrlsCrawledCount int64 `protobuf:"varint,6,opt,name=urls_crawled_count,json=urlsCrawledCount,proto3" json:"urls_crawled_count,omitempty"` - // The number of URLs tested during this ScanRun. If the scan is in progress, - // the value represents the number of URLs tested up to now. The number of - // URLs tested is usually larger than the number URLS crawled because - // typically a crawled URL is tested with multiple test payloads. - UrlsTestedCount int64 `protobuf:"varint,7,opt,name=urls_tested_count,json=urlsTestedCount,proto3" json:"urls_tested_count,omitempty"` - // Whether the scan run has found any vulnerabilities. - HasVulnerabilities bool `protobuf:"varint,8,opt,name=has_vulnerabilities,json=hasVulnerabilities,proto3" json:"has_vulnerabilities,omitempty"` - // The percentage of total completion ranging from 0 to 100. - // If the scan is in queue, the value is 0. - // If the scan is running, the value ranges from 0 to 100. - // If the scan is finished, the value is 100. - ProgressPercent int32 `protobuf:"varint,9,opt,name=progress_percent,json=progressPercent,proto3" json:"progress_percent,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_d1e91fc2897e59cf, []int{0} -} - -func (m *ScanRun) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ScanRun.Unmarshal(m, b) -} -func (m *ScanRun) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ScanRun.Marshal(b, m, deterministic) -} -func (m *ScanRun) XXX_Merge(src proto.Message) { - xxx_messageInfo_ScanRun.Merge(m, src) -} -func (m *ScanRun) XXX_Size() int { - return xxx_messageInfo_ScanRun.Size(m) -} -func (m *ScanRun) XXX_DiscardUnknown() { - xxx_messageInfo_ScanRun.DiscardUnknown(m) -} - -var xxx_messageInfo_ScanRun proto.InternalMessageInfo - -func (m *ScanRun) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ScanRun) GetExecutionState() ScanRun_ExecutionState { - if m != nil { - return m.ExecutionState - } - return ScanRun_EXECUTION_STATE_UNSPECIFIED -} - -func (m *ScanRun) GetResultState() ScanRun_ResultState { - if m != nil { - return m.ResultState - } - return ScanRun_RESULT_STATE_UNSPECIFIED -} - -func (m *ScanRun) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *ScanRun) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -func (m *ScanRun) GetUrlsCrawledCount() int64 { - if m != nil { - return m.UrlsCrawledCount - } - return 0 -} - -func (m *ScanRun) GetUrlsTestedCount() int64 { - if m != nil { - return m.UrlsTestedCount - } - return 0 -} - -func (m *ScanRun) GetHasVulnerabilities() bool { - if m != nil { - return m.HasVulnerabilities - } - return false -} - -func (m *ScanRun) GetProgressPercent() int32 { - if m != nil { - return m.ProgressPercent - } - return 0 -} - -func init() { - proto.RegisterEnum("google.cloud.websecurityscanner.v1alpha.ScanRun_ExecutionState", ScanRun_ExecutionState_name, ScanRun_ExecutionState_value) - proto.RegisterEnum("google.cloud.websecurityscanner.v1alpha.ScanRun_ResultState", ScanRun_ResultState_name, ScanRun_ResultState_value) - proto.RegisterType((*ScanRun)(nil), "google.cloud.websecurityscanner.v1alpha.ScanRun") -} - -func init() { - proto.RegisterFile("google/cloud/websecurityscanner/v1alpha/scan_run.proto", fileDescriptor_d1e91fc2897e59cf) -} - -var fileDescriptor_d1e91fc2897e59cf = []byte{ - // 604 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xed, 0x4e, 0xd4, 0x4c, - 0x18, 0x7d, 0xcb, 0xc7, 0x7e, 0xcc, 0x12, 0xe8, 0x3b, 0xfe, 0xa9, 0x68, 0xc2, 0x86, 0x3f, 0x2e, - 0x6a, 0xda, 0x88, 0xd1, 0xc4, 0x8f, 0x44, 0xa1, 0x14, 0x6d, 0x24, 0xcb, 0x3a, 0xdd, 0x35, 0xe2, - 0x9f, 0x66, 0x76, 0x76, 0xe8, 0xd6, 0xb4, 0x33, 0xcd, 0x7c, 0x80, 0x86, 0x70, 0x1f, 0x5e, 0x85, - 0x17, 0xe6, 0x55, 0x98, 0x4e, 0x5b, 0x91, 0x40, 0x02, 0xfe, 0xeb, 0x79, 0xce, 0x73, 0xce, 0x99, - 0xcc, 0xf3, 0x4c, 0xc1, 0xf3, 0x84, 0xf3, 0x24, 0xa3, 0x1e, 0xc9, 0x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0, 0x7d, 0xe0, 0xa0, 0x20, 0x9a, 0x1c, 0x8c, 0xaf, - 0x35, 0xed, 0x81, 0x76, 0x34, 0xf1, 0xfd, 0x20, 0x8a, 0x6c, 0x0b, 0x76, 0xc1, 0x72, 0x80, 0xd0, - 0x21, 0xb2, 0x17, 0xca, 0xb0, 0x0f, 0xe1, 0xc1, 0x41, 0x69, 0xf8, 0xb2, 0xf8, 0xb5, 0x93, 0x83, - 0xad, 0x6b, 0xb6, 0xa2, 0x9a, 0x0e, 0x2e, 0x52, 0xe9, 0x12, 0x9e, 0x7b, 0xcd, 0x8a, 0xbf, 0x2d, - 0x04, 0xff, 0x4a, 0x89, 0x92, 0xde, 0x59, 0xfd, 0x75, 0x6e, 0x9e, 0x9d, 0xcf, 0xd9, 0x71, 0x9a, - 0x48, 0xef, 0xcc, 0xbc, 0x41, 0x62, 0x50, 0xc5, 0x20, 0xcd, 0x9a, 0xb2, 0xd0, 0xec, 0x7c, 0xf7, - 0x87, 0x05, 0x1e, 0x11, 0x9e, 0xdf, 0x76, 0x2d, 0x77, 0x57, 0xea, 0xe8, 0x51, 0xb9, 0x27, 0x23, - 0xeb, 0xcb, 0x51, 0x2d, 0x4c, 0x78, 0x86, 0x59, 0xe2, 0x72, 0x91, 0x78, 0x09, 0x65, 0x66, 0x8b, - 0xbc, 0x8b, 0x43, 0xdf, 0xf8, 0xb3, 0x78, 0x75, 0x95, 0x9a, 0xb6, 0x8c, 0xcb, 0xd3, 0xdf, 0x01, - 0x00, 0x00, 0xff, 0xff, 0xa3, 0x31, 0xfb, 0x25, 0x71, 0x04, 0x00, 0x00, -} 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 deleted file mode 100644 index ead0f672..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha/web_security_scanner.pb.go +++ /dev/null @@ -1,1600 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/websecurityscanner/v1alpha/web_security_scanner.proto - -package websecurityscanner - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request for the `CreateScanConfig` method. -type CreateScanConfigRequest struct { - // Required. The parent resource name where the scan is created, which should be a - // project resource name in the format 'projects/{projectId}'. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The ScanConfig to be created. - 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 *CreateScanConfigRequest) Reset() { *m = CreateScanConfigRequest{} } -func (m *CreateScanConfigRequest) String() string { return proto.CompactTextString(m) } -func (*CreateScanConfigRequest) ProtoMessage() {} -func (*CreateScanConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_23d01882da6eef5f, []int{0} -} - -func (m *CreateScanConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateScanConfigRequest.Unmarshal(m, b) -} -func (m *CreateScanConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateScanConfigRequest.Marshal(b, m, deterministic) -} -func (m *CreateScanConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateScanConfigRequest.Merge(m, src) -} -func (m *CreateScanConfigRequest) XXX_Size() int { - return xxx_messageInfo_CreateScanConfigRequest.Size(m) -} -func (m *CreateScanConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateScanConfigRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateScanConfigRequest proto.InternalMessageInfo - -func (m *CreateScanConfigRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateScanConfigRequest) GetScanConfig() *ScanConfig { - if m != nil { - return m.ScanConfig - } - return nil -} - -// Request for the `DeleteScanConfig` method. -type DeleteScanConfigRequest struct { - // Required. The resource name of the ScanConfig to be deleted. The name follows the - // format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. - 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 *DeleteScanConfigRequest) Reset() { *m = DeleteScanConfigRequest{} } -func (m *DeleteScanConfigRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteScanConfigRequest) ProtoMessage() {} -func (*DeleteScanConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_23d01882da6eef5f, []int{1} -} - -func (m *DeleteScanConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteScanConfigRequest.Unmarshal(m, b) -} -func (m *DeleteScanConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteScanConfigRequest.Marshal(b, m, deterministic) -} -func (m *DeleteScanConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteScanConfigRequest.Merge(m, src) -} -func (m *DeleteScanConfigRequest) XXX_Size() int { - return xxx_messageInfo_DeleteScanConfigRequest.Size(m) -} -func (m *DeleteScanConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteScanConfigRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteScanConfigRequest proto.InternalMessageInfo - -func (m *DeleteScanConfigRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request for the `GetScanConfig` method. -type GetScanConfigRequest struct { - // Required. The resource name of the ScanConfig to be returned. The name follows the - // format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. - 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_23d01882da6eef5f, []int{2} -} - -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 (m *GetScanConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetScanConfigRequest.Merge(m, 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 for the `ListScanConfigs` method. -type ListScanConfigsRequest struct { - // Required. The parent resource name, which should be a project resource name in the - // format 'projects/{projectId}'. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // A token identifying a page of results to be returned. This should be a - // `next_page_token` value returned from a previous List request. - // If unspecified, the first page of results is returned. - PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // The maximum number of ScanConfigs to return, can be limited by server. - // If not specified or not positive, the implementation will select a - // reasonable value. - 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 *ListScanConfigsRequest) Reset() { *m = ListScanConfigsRequest{} } -func (m *ListScanConfigsRequest) String() string { return proto.CompactTextString(m) } -func (*ListScanConfigsRequest) ProtoMessage() {} -func (*ListScanConfigsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_23d01882da6eef5f, []int{3} -} - -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 (m *ListScanConfigsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListScanConfigsRequest.Merge(m, 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) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListScanConfigsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -// Request for the `UpdateScanConfigRequest` method. -type UpdateScanConfigRequest struct { - // Required. The ScanConfig to be updated. The name field must be set to identify the - // resource to be updated. The values of fields not covered by the mask - // will be ignored. - ScanConfig *ScanConfig `protobuf:"bytes,2,opt,name=scan_config,json=scanConfig,proto3" json:"scan_config,omitempty"` - // Required. The update mask applies to the resource. For the `FieldMask` definition, - // see - // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask - 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 *UpdateScanConfigRequest) Reset() { *m = UpdateScanConfigRequest{} } -func (m *UpdateScanConfigRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateScanConfigRequest) ProtoMessage() {} -func (*UpdateScanConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_23d01882da6eef5f, []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 (m *UpdateScanConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateScanConfigRequest.Merge(m, 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) GetScanConfig() *ScanConfig { - if m != nil { - return m.ScanConfig - } - return nil -} - -func (m *UpdateScanConfigRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// Response for the `ListScanConfigs` method. -type ListScanConfigsResponse struct { - // The list of ScanConfigs returned. - ScanConfigs []*ScanConfig `protobuf:"bytes,1,rep,name=scan_configs,json=scanConfigs,proto3" json:"scan_configs,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 *ListScanConfigsResponse) Reset() { *m = ListScanConfigsResponse{} } -func (m *ListScanConfigsResponse) String() string { return proto.CompactTextString(m) } -func (*ListScanConfigsResponse) ProtoMessage() {} -func (*ListScanConfigsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_23d01882da6eef5f, []int{5} -} - -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 (m *ListScanConfigsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListScanConfigsResponse.Merge(m, 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 "" -} - -// Request for the `StartScanRun` method. -type StartScanRunRequest struct { - // Required. The resource name of the ScanConfig to be used. The name follows the - // format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. - 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 *StartScanRunRequest) Reset() { *m = StartScanRunRequest{} } -func (m *StartScanRunRequest) String() string { return proto.CompactTextString(m) } -func (*StartScanRunRequest) ProtoMessage() {} -func (*StartScanRunRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_23d01882da6eef5f, []int{6} -} - -func (m *StartScanRunRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StartScanRunRequest.Unmarshal(m, b) -} -func (m *StartScanRunRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StartScanRunRequest.Marshal(b, m, deterministic) -} -func (m *StartScanRunRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartScanRunRequest.Merge(m, src) -} -func (m *StartScanRunRequest) XXX_Size() int { - return xxx_messageInfo_StartScanRunRequest.Size(m) -} -func (m *StartScanRunRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StartScanRunRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_StartScanRunRequest proto.InternalMessageInfo - -func (m *StartScanRunRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request for the `GetScanRun` method. -type GetScanRunRequest struct { - // Required. The resource name of the ScanRun to be returned. The name follows the - // format of - // 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. - 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 *GetScanRunRequest) Reset() { *m = GetScanRunRequest{} } -func (m *GetScanRunRequest) String() string { return proto.CompactTextString(m) } -func (*GetScanRunRequest) ProtoMessage() {} -func (*GetScanRunRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_23d01882da6eef5f, []int{7} -} - -func (m *GetScanRunRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetScanRunRequest.Unmarshal(m, b) -} -func (m *GetScanRunRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetScanRunRequest.Marshal(b, m, deterministic) -} -func (m *GetScanRunRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetScanRunRequest.Merge(m, src) -} -func (m *GetScanRunRequest) XXX_Size() int { - return xxx_messageInfo_GetScanRunRequest.Size(m) -} -func (m *GetScanRunRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetScanRunRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetScanRunRequest proto.InternalMessageInfo - -func (m *GetScanRunRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request for the `ListScanRuns` method. -type ListScanRunsRequest struct { - // Required. The parent resource name, which should be a scan resource name in the - // format 'projects/{projectId}/scanConfigs/{scanConfigId}'. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // A token identifying a page of results to be returned. This should be a - // `next_page_token` value returned from a previous List request. - // If unspecified, the first page of results is returned. - PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // The maximum number of ScanRuns to return, can be limited by server. - // If not specified or not positive, the implementation will select a - // reasonable value. - 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 *ListScanRunsRequest) Reset() { *m = ListScanRunsRequest{} } -func (m *ListScanRunsRequest) String() string { return proto.CompactTextString(m) } -func (*ListScanRunsRequest) ProtoMessage() {} -func (*ListScanRunsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_23d01882da6eef5f, []int{8} -} - -func (m *ListScanRunsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListScanRunsRequest.Unmarshal(m, b) -} -func (m *ListScanRunsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListScanRunsRequest.Marshal(b, m, deterministic) -} -func (m *ListScanRunsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListScanRunsRequest.Merge(m, src) -} -func (m *ListScanRunsRequest) XXX_Size() int { - return xxx_messageInfo_ListScanRunsRequest.Size(m) -} -func (m *ListScanRunsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListScanRunsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListScanRunsRequest proto.InternalMessageInfo - -func (m *ListScanRunsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListScanRunsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListScanRunsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -// Response for the `ListScanRuns` method. -type ListScanRunsResponse struct { - // The list of ScanRuns returned. - ScanRuns []*ScanRun `protobuf:"bytes,1,rep,name=scan_runs,json=scanRuns,proto3" json:"scan_runs,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 *ListScanRunsResponse) Reset() { *m = ListScanRunsResponse{} } -func (m *ListScanRunsResponse) String() string { return proto.CompactTextString(m) } -func (*ListScanRunsResponse) ProtoMessage() {} -func (*ListScanRunsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_23d01882da6eef5f, []int{9} -} - -func (m *ListScanRunsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListScanRunsResponse.Unmarshal(m, b) -} -func (m *ListScanRunsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListScanRunsResponse.Marshal(b, m, deterministic) -} -func (m *ListScanRunsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListScanRunsResponse.Merge(m, src) -} -func (m *ListScanRunsResponse) XXX_Size() int { - return xxx_messageInfo_ListScanRunsResponse.Size(m) -} -func (m *ListScanRunsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListScanRunsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListScanRunsResponse proto.InternalMessageInfo - -func (m *ListScanRunsResponse) GetScanRuns() []*ScanRun { - if m != nil { - return m.ScanRuns - } - return nil -} - -func (m *ListScanRunsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request for the `StopScanRun` method. -type StopScanRunRequest struct { - // Required. The resource name of the ScanRun to be stopped. The name follows the - // format of - // 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. - 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 *StopScanRunRequest) Reset() { *m = StopScanRunRequest{} } -func (m *StopScanRunRequest) String() string { return proto.CompactTextString(m) } -func (*StopScanRunRequest) ProtoMessage() {} -func (*StopScanRunRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_23d01882da6eef5f, []int{10} -} - -func (m *StopScanRunRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StopScanRunRequest.Unmarshal(m, b) -} -func (m *StopScanRunRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StopScanRunRequest.Marshal(b, m, deterministic) -} -func (m *StopScanRunRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StopScanRunRequest.Merge(m, src) -} -func (m *StopScanRunRequest) XXX_Size() int { - return xxx_messageInfo_StopScanRunRequest.Size(m) -} -func (m *StopScanRunRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StopScanRunRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_StopScanRunRequest proto.InternalMessageInfo - -func (m *StopScanRunRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request for the `ListCrawledUrls` method. -type ListCrawledUrlsRequest struct { - // Required. The parent resource name, which should be a scan run resource name in the - // format - // 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // A token identifying a page of results to be returned. This should be a - // `next_page_token` value returned from a previous List request. - // If unspecified, the first page of results is returned. - PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // The maximum number of CrawledUrls to return, can be limited by server. - // If not specified or not positive, the implementation will select a - // reasonable value. - 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 *ListCrawledUrlsRequest) Reset() { *m = ListCrawledUrlsRequest{} } -func (m *ListCrawledUrlsRequest) String() string { return proto.CompactTextString(m) } -func (*ListCrawledUrlsRequest) ProtoMessage() {} -func (*ListCrawledUrlsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_23d01882da6eef5f, []int{11} -} - -func (m *ListCrawledUrlsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCrawledUrlsRequest.Unmarshal(m, b) -} -func (m *ListCrawledUrlsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCrawledUrlsRequest.Marshal(b, m, deterministic) -} -func (m *ListCrawledUrlsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCrawledUrlsRequest.Merge(m, src) -} -func (m *ListCrawledUrlsRequest) XXX_Size() int { - return xxx_messageInfo_ListCrawledUrlsRequest.Size(m) -} -func (m *ListCrawledUrlsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListCrawledUrlsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListCrawledUrlsRequest proto.InternalMessageInfo - -func (m *ListCrawledUrlsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListCrawledUrlsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListCrawledUrlsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -// Response for the `ListCrawledUrls` method. -type ListCrawledUrlsResponse struct { - // The list of CrawledUrls returned. - CrawledUrls []*CrawledUrl `protobuf:"bytes,1,rep,name=crawled_urls,json=crawledUrls,proto3" json:"crawled_urls,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 *ListCrawledUrlsResponse) Reset() { *m = ListCrawledUrlsResponse{} } -func (m *ListCrawledUrlsResponse) String() string { return proto.CompactTextString(m) } -func (*ListCrawledUrlsResponse) ProtoMessage() {} -func (*ListCrawledUrlsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_23d01882da6eef5f, []int{12} -} - -func (m *ListCrawledUrlsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCrawledUrlsResponse.Unmarshal(m, b) -} -func (m *ListCrawledUrlsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCrawledUrlsResponse.Marshal(b, m, deterministic) -} -func (m *ListCrawledUrlsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCrawledUrlsResponse.Merge(m, src) -} -func (m *ListCrawledUrlsResponse) XXX_Size() int { - return xxx_messageInfo_ListCrawledUrlsResponse.Size(m) -} -func (m *ListCrawledUrlsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListCrawledUrlsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListCrawledUrlsResponse proto.InternalMessageInfo - -func (m *ListCrawledUrlsResponse) GetCrawledUrls() []*CrawledUrl { - if m != nil { - return m.CrawledUrls - } - return nil -} - -func (m *ListCrawledUrlsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request for the `GetFinding` method. -type GetFindingRequest struct { - // Required. The resource name of the Finding to be returned. The name follows the - // format of - // 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}/findings/{findingId}'. - 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 *GetFindingRequest) Reset() { *m = GetFindingRequest{} } -func (m *GetFindingRequest) String() string { return proto.CompactTextString(m) } -func (*GetFindingRequest) ProtoMessage() {} -func (*GetFindingRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_23d01882da6eef5f, []int{13} -} - -func (m *GetFindingRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetFindingRequest.Unmarshal(m, b) -} -func (m *GetFindingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetFindingRequest.Marshal(b, m, deterministic) -} -func (m *GetFindingRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetFindingRequest.Merge(m, src) -} -func (m *GetFindingRequest) XXX_Size() int { - return xxx_messageInfo_GetFindingRequest.Size(m) -} -func (m *GetFindingRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetFindingRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetFindingRequest proto.InternalMessageInfo - -func (m *GetFindingRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request for the `ListFindings` method. -type ListFindingsRequest struct { - // Required. The parent resource name, which should be a scan run resource name in the - // format - // 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The filter expression. The expression must be in the format: - // . - // Supported field: 'finding_type'. - // Supported operator: '='. - Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` - // A token identifying a page of results to be returned. This should be a - // `next_page_token` value returned from a previous List request. - // If unspecified, the first page of results is returned. - PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // The maximum number of Findings to return, can be limited by server. - // If not specified or not positive, the implementation will select a - // reasonable value. - 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 *ListFindingsRequest) Reset() { *m = ListFindingsRequest{} } -func (m *ListFindingsRequest) String() string { return proto.CompactTextString(m) } -func (*ListFindingsRequest) ProtoMessage() {} -func (*ListFindingsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_23d01882da6eef5f, []int{14} -} - -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 (m *ListFindingsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFindingsRequest.Merge(m, 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) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListFindingsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -// Response for the `ListFindings` method. -type ListFindingsResponse struct { - // The list of Findings returned. - Findings []*Finding `protobuf:"bytes,1,rep,name=findings,proto3" json:"findings,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 *ListFindingsResponse) Reset() { *m = ListFindingsResponse{} } -func (m *ListFindingsResponse) String() string { return proto.CompactTextString(m) } -func (*ListFindingsResponse) ProtoMessage() {} -func (*ListFindingsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_23d01882da6eef5f, []int{15} -} - -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 (m *ListFindingsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFindingsResponse.Merge(m, 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) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request for the `ListFindingTypeStats` method. -type ListFindingTypeStatsRequest struct { - // Required. The parent resource name, which should be a scan run resource name in the - // format - // 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. - 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 *ListFindingTypeStatsRequest) Reset() { *m = ListFindingTypeStatsRequest{} } -func (m *ListFindingTypeStatsRequest) String() string { return proto.CompactTextString(m) } -func (*ListFindingTypeStatsRequest) ProtoMessage() {} -func (*ListFindingTypeStatsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_23d01882da6eef5f, []int{16} -} - -func (m *ListFindingTypeStatsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListFindingTypeStatsRequest.Unmarshal(m, b) -} -func (m *ListFindingTypeStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListFindingTypeStatsRequest.Marshal(b, m, deterministic) -} -func (m *ListFindingTypeStatsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFindingTypeStatsRequest.Merge(m, src) -} -func (m *ListFindingTypeStatsRequest) XXX_Size() int { - return xxx_messageInfo_ListFindingTypeStatsRequest.Size(m) -} -func (m *ListFindingTypeStatsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListFindingTypeStatsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListFindingTypeStatsRequest proto.InternalMessageInfo - -func (m *ListFindingTypeStatsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -// Response for the `ListFindingTypeStats` method. -type ListFindingTypeStatsResponse struct { - // The list of FindingTypeStats returned. - FindingTypeStats []*FindingTypeStats `protobuf:"bytes,1,rep,name=finding_type_stats,json=findingTypeStats,proto3" json:"finding_type_stats,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListFindingTypeStatsResponse) Reset() { *m = ListFindingTypeStatsResponse{} } -func (m *ListFindingTypeStatsResponse) String() string { return proto.CompactTextString(m) } -func (*ListFindingTypeStatsResponse) ProtoMessage() {} -func (*ListFindingTypeStatsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_23d01882da6eef5f, []int{17} -} - -func (m *ListFindingTypeStatsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListFindingTypeStatsResponse.Unmarshal(m, b) -} -func (m *ListFindingTypeStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListFindingTypeStatsResponse.Marshal(b, m, deterministic) -} -func (m *ListFindingTypeStatsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFindingTypeStatsResponse.Merge(m, src) -} -func (m *ListFindingTypeStatsResponse) XXX_Size() int { - return xxx_messageInfo_ListFindingTypeStatsResponse.Size(m) -} -func (m *ListFindingTypeStatsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListFindingTypeStatsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListFindingTypeStatsResponse proto.InternalMessageInfo - -func (m *ListFindingTypeStatsResponse) GetFindingTypeStats() []*FindingTypeStats { - if m != nil { - return m.FindingTypeStats - } - return nil -} - -func init() { - proto.RegisterType((*CreateScanConfigRequest)(nil), "google.cloud.websecurityscanner.v1alpha.CreateScanConfigRequest") - proto.RegisterType((*DeleteScanConfigRequest)(nil), "google.cloud.websecurityscanner.v1alpha.DeleteScanConfigRequest") - proto.RegisterType((*GetScanConfigRequest)(nil), "google.cloud.websecurityscanner.v1alpha.GetScanConfigRequest") - proto.RegisterType((*ListScanConfigsRequest)(nil), "google.cloud.websecurityscanner.v1alpha.ListScanConfigsRequest") - proto.RegisterType((*UpdateScanConfigRequest)(nil), "google.cloud.websecurityscanner.v1alpha.UpdateScanConfigRequest") - proto.RegisterType((*ListScanConfigsResponse)(nil), "google.cloud.websecurityscanner.v1alpha.ListScanConfigsResponse") - proto.RegisterType((*StartScanRunRequest)(nil), "google.cloud.websecurityscanner.v1alpha.StartScanRunRequest") - proto.RegisterType((*GetScanRunRequest)(nil), "google.cloud.websecurityscanner.v1alpha.GetScanRunRequest") - proto.RegisterType((*ListScanRunsRequest)(nil), "google.cloud.websecurityscanner.v1alpha.ListScanRunsRequest") - proto.RegisterType((*ListScanRunsResponse)(nil), "google.cloud.websecurityscanner.v1alpha.ListScanRunsResponse") - proto.RegisterType((*StopScanRunRequest)(nil), "google.cloud.websecurityscanner.v1alpha.StopScanRunRequest") - proto.RegisterType((*ListCrawledUrlsRequest)(nil), "google.cloud.websecurityscanner.v1alpha.ListCrawledUrlsRequest") - proto.RegisterType((*ListCrawledUrlsResponse)(nil), "google.cloud.websecurityscanner.v1alpha.ListCrawledUrlsResponse") - proto.RegisterType((*GetFindingRequest)(nil), "google.cloud.websecurityscanner.v1alpha.GetFindingRequest") - proto.RegisterType((*ListFindingsRequest)(nil), "google.cloud.websecurityscanner.v1alpha.ListFindingsRequest") - proto.RegisterType((*ListFindingsResponse)(nil), "google.cloud.websecurityscanner.v1alpha.ListFindingsResponse") - proto.RegisterType((*ListFindingTypeStatsRequest)(nil), "google.cloud.websecurityscanner.v1alpha.ListFindingTypeStatsRequest") - proto.RegisterType((*ListFindingTypeStatsResponse)(nil), "google.cloud.websecurityscanner.v1alpha.ListFindingTypeStatsResponse") -} - -func init() { - proto.RegisterFile("google/cloud/websecurityscanner/v1alpha/web_security_scanner.proto", fileDescriptor_23d01882da6eef5f) -} - -var fileDescriptor_23d01882da6eef5f = []byte{ - // 1330 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0xcf, 0x6f, 0x1b, 0xc5, - 0x1f, 0xd5, 0x24, 0xfd, 0x56, 0xc9, 0x38, 0x51, 0xf3, 0x9d, 0x56, 0x71, 0xd8, 0x14, 0x11, 0xf6, - 0x00, 0x21, 0x49, 0x77, 0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xc2, 0xa7, 0x16, 0xb3, 0xd6, - 0x67, 0x78, 0x78, 0xdf, 0x22, 0x3b, 0x8d, 0x8e, 0x67, 0xf1, 0xa5, 0x57, 0xb3, 0x2e, 0x6d, 0x9a, - 0xf6, 0x8e, 0x69, 0xb7, 0xf8, 0xb2, 0xb2, 0xe4, 0xb2, 0x06, 0x3b, 0x70, 0x49, 0x83, 0x32, 0xcc, - 0xa8, 0x2c, 0x67, 0xff, 0x73, 0xc3, 0x70, 0xec, 0xa6, 0x19, 0x6d, 0xfe, 0x82, 0xd4, 0x52, 0xaf, - 0x63, 0xf3, 0x75, 0x93, 0x7c, 0x5d, 0xf0, 0x69, 0xbb, 0xd3, 0xd4, 0x49, 0xdb, 0x65, 0x07, 0x7c, - 0x72, 0x2a, 0x39, 0x19, 0x8a, 0xd0, 0xc6, 0x74, 0x2f, 0xfc, 0x86, 0xfa, 0x3d, 0x80, 0xc5, 0x65, - 0x8f, 0x60, 0x46, 0xea, 0x06, 0xb6, 0x97, 0x03, 0x46, 0x35, 0xf2, 0x4e, 0x87, 0x50, 0x86, 0xde, - 0x80, 0x67, 0x5d, 0xec, 0x11, 0x9b, 0x4d, 0x80, 0x29, 0x30, 0x3d, 0x5c, 0x5d, 0x78, 0x58, 0x19, - 0xf8, 0xa7, 0x72, 0x09, 0xce, 0x06, 0x1c, 0x23, 0xb9, 0xda, 0xd8, 0xc6, 0x2d, 0xe2, 0x69, 0xe1, - 0x56, 0xd8, 0x35, 0xa9, 0x66, 0x38, 0x6d, 0x7d, 0xd3, 0x73, 0xde, 0x26, 0x06, 0xab, 0x71, 0x08, - 0x74, 0x07, 0x16, 0x84, 0xa2, 0x27, 0x06, 0xa6, 0xc0, 0x74, 0x61, 0x7e, 0x41, 0xcb, 0xd8, 0x80, - 0x5a, 0x8f, 0x5d, 0x75, 0xf0, 0x61, 0x65, 0xa0, 0x06, 0x69, 0x77, 0x40, 0x35, 0x60, 0x71, 0x85, - 0x58, 0xa4, 0x5f, 0x09, 0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 0xcf, 0x06, 0x28, 0x0b, 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, 0xc3, 0x9a, 0xeb, 0x9c, 0xd4, 0x17, - 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 - -// WebSecurityScannerClient is the client API for WebSecurityScanner service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type WebSecurityScannerClient interface { - // Creates a new ScanConfig. - CreateScanConfig(ctx context.Context, in *CreateScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error) - // Deletes an existing ScanConfig and its child resources. - DeleteScanConfig(ctx context.Context, in *DeleteScanConfigRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Gets a ScanConfig. - GetScanConfig(ctx context.Context, in *GetScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error) - // Lists ScanConfigs under a given project. - ListScanConfigs(ctx context.Context, in *ListScanConfigsRequest, opts ...grpc.CallOption) (*ListScanConfigsResponse, error) - // Updates a ScanConfig. This method support partial update of a ScanConfig. - UpdateScanConfig(ctx context.Context, in *UpdateScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error) - // Start a ScanRun according to the given ScanConfig. - StartScanRun(ctx context.Context, in *StartScanRunRequest, opts ...grpc.CallOption) (*ScanRun, error) - // Gets a ScanRun. - GetScanRun(ctx context.Context, in *GetScanRunRequest, opts ...grpc.CallOption) (*ScanRun, error) - // Lists ScanRuns under a given ScanConfig, in descending order of ScanRun - // stop time. - ListScanRuns(ctx context.Context, in *ListScanRunsRequest, opts ...grpc.CallOption) (*ListScanRunsResponse, error) - // Stops a ScanRun. The stopped ScanRun is returned. - StopScanRun(ctx context.Context, in *StopScanRunRequest, opts ...grpc.CallOption) (*ScanRun, error) - // List CrawledUrls under a given ScanRun. - ListCrawledUrls(ctx context.Context, in *ListCrawledUrlsRequest, opts ...grpc.CallOption) (*ListCrawledUrlsResponse, error) - // Gets a Finding. - GetFinding(ctx context.Context, in *GetFindingRequest, opts ...grpc.CallOption) (*Finding, error) - // List Findings under a given ScanRun. - ListFindings(ctx context.Context, in *ListFindingsRequest, opts ...grpc.CallOption) (*ListFindingsResponse, error) - // List all FindingTypeStats under a given ScanRun. - ListFindingTypeStats(ctx context.Context, in *ListFindingTypeStatsRequest, opts ...grpc.CallOption) (*ListFindingTypeStatsResponse, error) -} - -type webSecurityScannerClient struct { - cc *grpc.ClientConn -} - -func NewWebSecurityScannerClient(cc *grpc.ClientConn) WebSecurityScannerClient { - return &webSecurityScannerClient{cc} -} - -func (c *webSecurityScannerClient) CreateScanConfig(ctx context.Context, in *CreateScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error) { - out := new(ScanConfig) - err := c.cc.Invoke(ctx, "/google.cloud.websecurityscanner.v1alpha.WebSecurityScanner/CreateScanConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *webSecurityScannerClient) DeleteScanConfig(ctx context.Context, in *DeleteScanConfigRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.websecurityscanner.v1alpha.WebSecurityScanner/DeleteScanConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *webSecurityScannerClient) GetScanConfig(ctx context.Context, in *GetScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error) { - out := new(ScanConfig) - err := c.cc.Invoke(ctx, "/google.cloud.websecurityscanner.v1alpha.WebSecurityScanner/GetScanConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *webSecurityScannerClient) ListScanConfigs(ctx context.Context, in *ListScanConfigsRequest, opts ...grpc.CallOption) (*ListScanConfigsResponse, error) { - out := new(ListScanConfigsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.websecurityscanner.v1alpha.WebSecurityScanner/ListScanConfigs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *webSecurityScannerClient) UpdateScanConfig(ctx context.Context, in *UpdateScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error) { - out := new(ScanConfig) - err := c.cc.Invoke(ctx, "/google.cloud.websecurityscanner.v1alpha.WebSecurityScanner/UpdateScanConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *webSecurityScannerClient) StartScanRun(ctx context.Context, in *StartScanRunRequest, opts ...grpc.CallOption) (*ScanRun, error) { - out := new(ScanRun) - err := c.cc.Invoke(ctx, "/google.cloud.websecurityscanner.v1alpha.WebSecurityScanner/StartScanRun", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *webSecurityScannerClient) GetScanRun(ctx context.Context, in *GetScanRunRequest, opts ...grpc.CallOption) (*ScanRun, error) { - out := new(ScanRun) - err := c.cc.Invoke(ctx, "/google.cloud.websecurityscanner.v1alpha.WebSecurityScanner/GetScanRun", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *webSecurityScannerClient) ListScanRuns(ctx context.Context, in *ListScanRunsRequest, opts ...grpc.CallOption) (*ListScanRunsResponse, error) { - out := new(ListScanRunsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.websecurityscanner.v1alpha.WebSecurityScanner/ListScanRuns", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *webSecurityScannerClient) StopScanRun(ctx context.Context, in *StopScanRunRequest, opts ...grpc.CallOption) (*ScanRun, error) { - out := new(ScanRun) - err := c.cc.Invoke(ctx, "/google.cloud.websecurityscanner.v1alpha.WebSecurityScanner/StopScanRun", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *webSecurityScannerClient) ListCrawledUrls(ctx context.Context, in *ListCrawledUrlsRequest, opts ...grpc.CallOption) (*ListCrawledUrlsResponse, error) { - out := new(ListCrawledUrlsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.websecurityscanner.v1alpha.WebSecurityScanner/ListCrawledUrls", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *webSecurityScannerClient) GetFinding(ctx context.Context, in *GetFindingRequest, opts ...grpc.CallOption) (*Finding, error) { - out := new(Finding) - err := c.cc.Invoke(ctx, "/google.cloud.websecurityscanner.v1alpha.WebSecurityScanner/GetFinding", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *webSecurityScannerClient) ListFindings(ctx context.Context, in *ListFindingsRequest, opts ...grpc.CallOption) (*ListFindingsResponse, error) { - out := new(ListFindingsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.websecurityscanner.v1alpha.WebSecurityScanner/ListFindings", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *webSecurityScannerClient) ListFindingTypeStats(ctx context.Context, in *ListFindingTypeStatsRequest, opts ...grpc.CallOption) (*ListFindingTypeStatsResponse, error) { - out := new(ListFindingTypeStatsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.websecurityscanner.v1alpha.WebSecurityScanner/ListFindingTypeStats", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// WebSecurityScannerServer is the server API for WebSecurityScanner service. -type WebSecurityScannerServer interface { - // Creates a new ScanConfig. - CreateScanConfig(context.Context, *CreateScanConfigRequest) (*ScanConfig, error) - // Deletes an existing ScanConfig and its child resources. - DeleteScanConfig(context.Context, *DeleteScanConfigRequest) (*empty.Empty, error) - // Gets a ScanConfig. - GetScanConfig(context.Context, *GetScanConfigRequest) (*ScanConfig, error) - // Lists ScanConfigs under a given project. - ListScanConfigs(context.Context, *ListScanConfigsRequest) (*ListScanConfigsResponse, error) - // Updates a ScanConfig. This method support partial update of a ScanConfig. - UpdateScanConfig(context.Context, *UpdateScanConfigRequest) (*ScanConfig, error) - // Start a ScanRun according to the given ScanConfig. - StartScanRun(context.Context, *StartScanRunRequest) (*ScanRun, error) - // Gets a ScanRun. - GetScanRun(context.Context, *GetScanRunRequest) (*ScanRun, error) - // Lists ScanRuns under a given ScanConfig, in descending order of ScanRun - // stop time. - ListScanRuns(context.Context, *ListScanRunsRequest) (*ListScanRunsResponse, error) - // Stops a ScanRun. The stopped ScanRun is returned. - StopScanRun(context.Context, *StopScanRunRequest) (*ScanRun, error) - // List CrawledUrls under a given ScanRun. - ListCrawledUrls(context.Context, *ListCrawledUrlsRequest) (*ListCrawledUrlsResponse, error) - // Gets a Finding. - GetFinding(context.Context, *GetFindingRequest) (*Finding, error) - // List Findings under a given ScanRun. - ListFindings(context.Context, *ListFindingsRequest) (*ListFindingsResponse, error) - // List all FindingTypeStats under a given ScanRun. - ListFindingTypeStats(context.Context, *ListFindingTypeStatsRequest) (*ListFindingTypeStatsResponse, error) -} - -// UnimplementedWebSecurityScannerServer can be embedded to have forward compatible implementations. -type UnimplementedWebSecurityScannerServer struct { -} - -func (*UnimplementedWebSecurityScannerServer) CreateScanConfig(ctx context.Context, req *CreateScanConfigRequest) (*ScanConfig, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateScanConfig not implemented") -} -func (*UnimplementedWebSecurityScannerServer) DeleteScanConfig(ctx context.Context, req *DeleteScanConfigRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteScanConfig not implemented") -} -func (*UnimplementedWebSecurityScannerServer) GetScanConfig(ctx context.Context, req *GetScanConfigRequest) (*ScanConfig, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetScanConfig not implemented") -} -func (*UnimplementedWebSecurityScannerServer) ListScanConfigs(ctx context.Context, req *ListScanConfigsRequest) (*ListScanConfigsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListScanConfigs not implemented") -} -func (*UnimplementedWebSecurityScannerServer) UpdateScanConfig(ctx context.Context, req *UpdateScanConfigRequest) (*ScanConfig, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateScanConfig not implemented") -} -func (*UnimplementedWebSecurityScannerServer) StartScanRun(ctx context.Context, req *StartScanRunRequest) (*ScanRun, error) { - return nil, status.Errorf(codes.Unimplemented, "method StartScanRun not implemented") -} -func (*UnimplementedWebSecurityScannerServer) GetScanRun(ctx context.Context, req *GetScanRunRequest) (*ScanRun, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetScanRun not implemented") -} -func (*UnimplementedWebSecurityScannerServer) ListScanRuns(ctx context.Context, req *ListScanRunsRequest) (*ListScanRunsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListScanRuns not implemented") -} -func (*UnimplementedWebSecurityScannerServer) StopScanRun(ctx context.Context, req *StopScanRunRequest) (*ScanRun, error) { - return nil, status.Errorf(codes.Unimplemented, "method StopScanRun not implemented") -} -func (*UnimplementedWebSecurityScannerServer) ListCrawledUrls(ctx context.Context, req *ListCrawledUrlsRequest) (*ListCrawledUrlsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListCrawledUrls not implemented") -} -func (*UnimplementedWebSecurityScannerServer) GetFinding(ctx context.Context, req *GetFindingRequest) (*Finding, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetFinding not implemented") -} -func (*UnimplementedWebSecurityScannerServer) ListFindings(ctx context.Context, req *ListFindingsRequest) (*ListFindingsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListFindings not implemented") -} -func (*UnimplementedWebSecurityScannerServer) ListFindingTypeStats(ctx context.Context, req *ListFindingTypeStatsRequest) (*ListFindingTypeStatsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListFindingTypeStats not implemented") -} - -func RegisterWebSecurityScannerServer(s *grpc.Server, srv WebSecurityScannerServer) { - s.RegisterService(&_WebSecurityScanner_serviceDesc, srv) -} - -func _WebSecurityScanner_CreateScanConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateScanConfigRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WebSecurityScannerServer).CreateScanConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.websecurityscanner.v1alpha.WebSecurityScanner/CreateScanConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WebSecurityScannerServer).CreateScanConfig(ctx, req.(*CreateScanConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WebSecurityScanner_DeleteScanConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteScanConfigRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WebSecurityScannerServer).DeleteScanConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.websecurityscanner.v1alpha.WebSecurityScanner/DeleteScanConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WebSecurityScannerServer).DeleteScanConfig(ctx, req.(*DeleteScanConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WebSecurityScanner_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.(WebSecurityScannerServer).GetScanConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.websecurityscanner.v1alpha.WebSecurityScanner/GetScanConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WebSecurityScannerServer).GetScanConfig(ctx, req.(*GetScanConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WebSecurityScanner_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.(WebSecurityScannerServer).ListScanConfigs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.websecurityscanner.v1alpha.WebSecurityScanner/ListScanConfigs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WebSecurityScannerServer).ListScanConfigs(ctx, req.(*ListScanConfigsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WebSecurityScanner_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.(WebSecurityScannerServer).UpdateScanConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.websecurityscanner.v1alpha.WebSecurityScanner/UpdateScanConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WebSecurityScannerServer).UpdateScanConfig(ctx, req.(*UpdateScanConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WebSecurityScanner_StartScanRun_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(StartScanRunRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WebSecurityScannerServer).StartScanRun(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.websecurityscanner.v1alpha.WebSecurityScanner/StartScanRun", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WebSecurityScannerServer).StartScanRun(ctx, req.(*StartScanRunRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WebSecurityScanner_GetScanRun_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetScanRunRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WebSecurityScannerServer).GetScanRun(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.websecurityscanner.v1alpha.WebSecurityScanner/GetScanRun", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WebSecurityScannerServer).GetScanRun(ctx, req.(*GetScanRunRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WebSecurityScanner_ListScanRuns_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListScanRunsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WebSecurityScannerServer).ListScanRuns(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.websecurityscanner.v1alpha.WebSecurityScanner/ListScanRuns", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WebSecurityScannerServer).ListScanRuns(ctx, req.(*ListScanRunsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WebSecurityScanner_StopScanRun_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(StopScanRunRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WebSecurityScannerServer).StopScanRun(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.websecurityscanner.v1alpha.WebSecurityScanner/StopScanRun", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WebSecurityScannerServer).StopScanRun(ctx, req.(*StopScanRunRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WebSecurityScanner_ListCrawledUrls_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListCrawledUrlsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WebSecurityScannerServer).ListCrawledUrls(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.websecurityscanner.v1alpha.WebSecurityScanner/ListCrawledUrls", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WebSecurityScannerServer).ListCrawledUrls(ctx, req.(*ListCrawledUrlsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WebSecurityScanner_GetFinding_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetFindingRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WebSecurityScannerServer).GetFinding(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.websecurityscanner.v1alpha.WebSecurityScanner/GetFinding", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WebSecurityScannerServer).GetFinding(ctx, req.(*GetFindingRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WebSecurityScanner_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.(WebSecurityScannerServer).ListFindings(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.websecurityscanner.v1alpha.WebSecurityScanner/ListFindings", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WebSecurityScannerServer).ListFindings(ctx, req.(*ListFindingsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WebSecurityScanner_ListFindingTypeStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListFindingTypeStatsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WebSecurityScannerServer).ListFindingTypeStats(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.websecurityscanner.v1alpha.WebSecurityScanner/ListFindingTypeStats", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WebSecurityScannerServer).ListFindingTypeStats(ctx, req.(*ListFindingTypeStatsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _WebSecurityScanner_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.websecurityscanner.v1alpha.WebSecurityScanner", - HandlerType: (*WebSecurityScannerServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateScanConfig", - Handler: _WebSecurityScanner_CreateScanConfig_Handler, - }, - { - MethodName: "DeleteScanConfig", - Handler: _WebSecurityScanner_DeleteScanConfig_Handler, - }, - { - MethodName: "GetScanConfig", - Handler: _WebSecurityScanner_GetScanConfig_Handler, - }, - { - MethodName: "ListScanConfigs", - Handler: _WebSecurityScanner_ListScanConfigs_Handler, - }, - { - MethodName: "UpdateScanConfig", - Handler: _WebSecurityScanner_UpdateScanConfig_Handler, - }, - { - MethodName: "StartScanRun", - Handler: _WebSecurityScanner_StartScanRun_Handler, - }, - { - MethodName: "GetScanRun", - Handler: _WebSecurityScanner_GetScanRun_Handler, - }, - { - MethodName: "ListScanRuns", - Handler: _WebSecurityScanner_ListScanRuns_Handler, - }, - { - MethodName: "StopScanRun", - Handler: _WebSecurityScanner_StopScanRun_Handler, - }, - { - MethodName: "ListCrawledUrls", - Handler: _WebSecurityScanner_ListCrawledUrls_Handler, - }, - { - MethodName: "GetFinding", - Handler: _WebSecurityScanner_GetFinding_Handler, - }, - { - MethodName: "ListFindings", - Handler: _WebSecurityScanner_ListFindings_Handler, - }, - { - MethodName: "ListFindingTypeStats", - Handler: _WebSecurityScanner_ListFindingTypeStats_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/websecurityscanner/v1alpha/web_security_scanner.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/crawled_url.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/crawled_url.pb.go deleted file mode 100644 index bf77f28c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/crawled_url.pb.go +++ /dev/null @@ -1,112 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/websecurityscanner/v1beta/crawled_url.proto - -package websecurityscanner - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// A CrawledUrl resource represents a URL that was crawled during a ScanRun. Web -// Security Scanner Service crawls the web applications, following all links -// within the scope of sites, to find the URLs to test against. -type CrawledUrl struct { - // The http method of the request that was used to visit the URL, in - // uppercase. - HttpMethod string `protobuf:"bytes,1,opt,name=http_method,json=httpMethod,proto3" json:"http_method,omitempty"` - // The URL that was crawled. - Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` - // The body of the request that was used to visit the URL. - Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_4d117cd3bfcd0897, []int{0} -} - -func (m *CrawledUrl) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CrawledUrl.Unmarshal(m, b) -} -func (m *CrawledUrl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CrawledUrl.Marshal(b, m, deterministic) -} -func (m *CrawledUrl) XXX_Merge(src proto.Message) { - xxx_messageInfo_CrawledUrl.Merge(m, src) -} -func (m *CrawledUrl) XXX_Size() int { - return xxx_messageInfo_CrawledUrl.Size(m) -} -func (m *CrawledUrl) XXX_DiscardUnknown() { - xxx_messageInfo_CrawledUrl.DiscardUnknown(m) -} - -var xxx_messageInfo_CrawledUrl proto.InternalMessageInfo - -func (m *CrawledUrl) GetHttpMethod() string { - if m != nil { - return m.HttpMethod - } - return "" -} - -func (m *CrawledUrl) GetUrl() string { - if m != nil { - return m.Url - } - return "" -} - -func (m *CrawledUrl) GetBody() string { - if m != nil { - return m.Body - } - return "" -} - -func init() { - proto.RegisterType((*CrawledUrl)(nil), "google.cloud.websecurityscanner.v1beta.CrawledUrl") -} - -func init() { - proto.RegisterFile("google/cloud/websecurityscanner/v1beta/crawled_url.proto", fileDescriptor_4d117cd3bfcd0897) -} - -var fileDescriptor_4d117cd3bfcd0897 = []byte{ - // 242 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, 0xce, 0xc9, 0x2f, 0x4d, 0xd1, 0x2f, 0x4f, 0x4d, 0x2a, 0x4e, 0x4d, 0x2e, - 0x2d, 0xca, 0x2c, 0xa9, 0x2c, 0x4e, 0x4e, 0xcc, 0xcb, 0x4b, 0x2d, 0xd2, 0x2f, 0x33, 0x4c, 0x4a, - 0x2d, 0x49, 0xd4, 0x4f, 0x2e, 0x4a, 0x2c, 0xcf, 0x49, 0x4d, 0x89, 0x2f, 0x2d, 0xca, 0xd1, 0x2b, - 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x52, 0x83, 0xe8, 0xd4, 0x03, 0xeb, 0xd4, 0xc3, 0xd4, 0xa9, 0x07, - 0xd1, 0xa9, 0x14, 0xcc, 0xc5, 0xe5, 0x0c, 0xd1, 0x1c, 0x5a, 0x94, 0x23, 0x24, 0xcf, 0xc5, 0x9d, - 0x51, 0x52, 0x52, 0x10, 0x9f, 0x9b, 0x5a, 0x92, 0x91, 0x9f, 0x22, 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, - 0x19, 0xc4, 0x05, 0x12, 0xf2, 0x05, 0x8b, 0x08, 0x09, 0x70, 0x31, 0x97, 0x16, 0xe5, 0x48, 0x30, - 0x81, 0x25, 0x40, 0x4c, 0x21, 0x21, 0x2e, 0x96, 0xa4, 0xfc, 0x94, 0x4a, 0x09, 0x66, 0xb0, 0x10, - 0x98, 0xed, 0x74, 0x88, 0x91, 0x4b, 0x2b, 0x39, 0x3f, 0x57, 0x8f, 0x38, 0x37, 0x38, 0xf1, 0x23, - 0x5c, 0x10, 0x00, 0x72, 0x7c, 0x00, 0x63, 0x54, 0x04, 0x54, 0x6b, 0x7a, 0x7e, 0x4e, 0x62, 0x5e, - 0xba, 0x5e, 0x7e, 0x51, 0xba, 0x7e, 0x7a, 0x6a, 0x1e, 0xd8, 0x6b, 0xfa, 0x10, 0xa9, 0xc4, 0x82, - 0xcc, 0x62, 0x42, 0xe1, 0x62, 0x8d, 0x29, 0x73, 0x8a, 0x49, 0xcd, 0x1d, 0xac, 0x3f, 0xc6, 0x19, - 0xa4, 0x37, 0x26, 0x3c, 0x35, 0x29, 0x18, 0xaa, 0x22, 0x18, 0xa2, 0x22, 0x26, 0x0c, 0xac, 0x37, - 0x89, 0x0d, 0x6c, 0x9b, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x6e, 0xbe, 0x09, 0xba, 0x84, 0x01, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/finding.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/finding.pb.go deleted file mode 100644 index c12f3946..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/finding.pb.go +++ /dev/null @@ -1,262 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/websecurityscanner/v1beta/finding.proto - -package websecurityscanner - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A Finding resource represents a vulnerability instance identified during a -// ScanRun. -type Finding struct { - // The resource name of the Finding. The name follows the format of - // 'projects/{projectId}/scanConfigs/{scanConfigId}/scanruns/{scanRunId}/findings/{findingId}'. - // The finding IDs are generated by the system. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The type of the Finding. - // Detailed and up-to-date information on findings can be found here: - // https://cloud.google.com/security-scanner/docs/scan-result-details - FindingType string `protobuf:"bytes,2,opt,name=finding_type,json=findingType,proto3" json:"finding_type,omitempty"` - // The http method of the request that triggered the vulnerability, in - // uppercase. - HttpMethod string `protobuf:"bytes,3,opt,name=http_method,json=httpMethod,proto3" json:"http_method,omitempty"` - // The URL produced by the server-side fuzzer and used in the request that - // triggered the vulnerability. - FuzzedUrl string `protobuf:"bytes,4,opt,name=fuzzed_url,json=fuzzedUrl,proto3" json:"fuzzed_url,omitempty"` - // The body of the request that triggered the vulnerability. - Body string `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` - // The description of the vulnerability. - Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` - // The URL containing human-readable payload that user can leverage to - // reproduce the vulnerability. - ReproductionUrl string `protobuf:"bytes,7,opt,name=reproduction_url,json=reproductionUrl,proto3" json:"reproduction_url,omitempty"` - // If the vulnerability was originated from nested IFrame, the immediate - // parent IFrame is reported. - FrameUrl string `protobuf:"bytes,8,opt,name=frame_url,json=frameUrl,proto3" json:"frame_url,omitempty"` - // The URL where the browser lands when the vulnerability is detected. - FinalUrl string `protobuf:"bytes,9,opt,name=final_url,json=finalUrl,proto3" json:"final_url,omitempty"` - // The tracking ID uniquely identifies a vulnerability instance across - // multiple ScanRuns. - TrackingId string `protobuf:"bytes,10,opt,name=tracking_id,json=trackingId,proto3" json:"tracking_id,omitempty"` - // An addon containing information reported for a vulnerability with an HTML - // form, if any. - Form *Form `protobuf:"bytes,16,opt,name=form,proto3" json:"form,omitempty"` - // An addon containing information about outdated libraries. - OutdatedLibrary *OutdatedLibrary `protobuf:"bytes,11,opt,name=outdated_library,json=outdatedLibrary,proto3" json:"outdated_library,omitempty"` - // An addon containing detailed information regarding any resource causing the - // vulnerability such as JavaScript sources, image, audio files, etc. - ViolatingResource *ViolatingResource `protobuf:"bytes,12,opt,name=violating_resource,json=violatingResource,proto3" json:"violating_resource,omitempty"` - // An addon containing information about vulnerable or missing HTTP headers. - VulnerableHeaders *VulnerableHeaders `protobuf:"bytes,15,opt,name=vulnerable_headers,json=vulnerableHeaders,proto3" json:"vulnerable_headers,omitempty"` - // An addon containing information about request parameters which were found - // to be vulnerable. - VulnerableParameters *VulnerableParameters `protobuf:"bytes,13,opt,name=vulnerable_parameters,json=vulnerableParameters,proto3" json:"vulnerable_parameters,omitempty"` - // An addon containing information reported for an XSS, if any. - Xss *Xss `protobuf:"bytes,14,opt,name=xss,proto3" json:"xss,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_a1082375f5efc351, []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 (m *Finding) XXX_Merge(src proto.Message) { - xxx_messageInfo_Finding.Merge(m, 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) GetFindingType() string { - if m != nil { - return m.FindingType - } - return "" -} - -func (m *Finding) GetHttpMethod() string { - if m != nil { - return m.HttpMethod - } - return "" -} - -func (m *Finding) GetFuzzedUrl() string { - if m != nil { - return m.FuzzedUrl - } - return "" -} - -func (m *Finding) GetBody() string { - if m != nil { - return m.Body - } - return "" -} - -func (m *Finding) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *Finding) GetReproductionUrl() string { - if m != nil { - return m.ReproductionUrl - } - return "" -} - -func (m *Finding) GetFrameUrl() string { - if m != nil { - return m.FrameUrl - } - return "" -} - -func (m *Finding) GetFinalUrl() string { - if m != nil { - return m.FinalUrl - } - return "" -} - -func (m *Finding) GetTrackingId() string { - if m != nil { - return m.TrackingId - } - return "" -} - -func (m *Finding) GetForm() *Form { - if m != nil { - return m.Form - } - return nil -} - -func (m *Finding) GetOutdatedLibrary() *OutdatedLibrary { - if m != nil { - return m.OutdatedLibrary - } - return nil -} - -func (m *Finding) GetViolatingResource() *ViolatingResource { - if m != nil { - return m.ViolatingResource - } - return nil -} - -func (m *Finding) GetVulnerableHeaders() *VulnerableHeaders { - if m != nil { - return m.VulnerableHeaders - } - return nil -} - -func (m *Finding) GetVulnerableParameters() *VulnerableParameters { - if m != nil { - return m.VulnerableParameters - } - return nil -} - -func (m *Finding) GetXss() *Xss { - if m != nil { - return m.Xss - } - return nil -} - -func init() { - proto.RegisterType((*Finding)(nil), "google.cloud.websecurityscanner.v1beta.Finding") -} - -func init() { - proto.RegisterFile("google/cloud/websecurityscanner/v1beta/finding.proto", fileDescriptor_a1082375f5efc351) -} - -var fileDescriptor_a1082375f5efc351 = []byte{ - // 605 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0x5f, 0x4f, 0xd5, 0x3e, - 0x1c, 0xc6, 0x33, 0xe0, 0x07, 0x9c, 0x8e, 0x9f, 0x40, 0xa3, 0x49, 0xc5, 0x18, 0xd0, 0x0b, 0x02, - 0x6a, 0xd6, 0xf8, 0x27, 0x31, 0xa2, 0x26, 0x0a, 0x09, 0x6a, 0xa2, 0x91, 0x0c, 0x45, 0x62, 0x48, - 0x96, 0x6e, 0xed, 0xd9, 0xa9, 0x6e, 0xed, 0x6c, 0xbb, 0xa3, 0x07, 0x42, 0xe2, 0x85, 0xef, 0xcb, - 0x7b, 0x5f, 0x8a, 0x37, 0xbe, 0x05, 0xd3, 0x76, 0xc3, 0x23, 0x90, 0x78, 0xce, 0x5d, 0xfb, 0x3c, - 0xdf, 0xe7, 0xf9, 0xac, 0xd9, 0x56, 0x70, 0x2f, 0x97, 0x32, 0x2f, 0x18, 0xce, 0x0a, 0x59, 0x53, - 0xfc, 0x99, 0xa5, 0x9a, 0x65, 0xb5, 0xe2, 0x66, 0xa0, 0x33, 0x22, 0x04, 0x53, 0xb8, 0x7f, 0x3b, - 0x65, 0x86, 0xe0, 0x2e, 0x17, 0x94, 0x8b, 0x3c, 0xaa, 0x94, 0x34, 0x12, 0xae, 0xfa, 0x54, 0xe4, - 0x52, 0xd1, 0xd9, 0x54, 0xe4, 0x53, 0x4b, 0x97, 0x9b, 0x76, 0x52, 0x71, 0xac, 0x98, 0x96, 0xb5, - 0xca, 0x98, 0xaf, 0x58, 0xda, 0x18, 0x0f, 0x9c, 0x10, 0x4a, 0xa5, 0xf0, 0xd9, 0xeb, 0xbf, 0x66, - 0xc0, 0xcc, 0xb6, 0xd7, 0x21, 0x04, 0x53, 0x82, 0x94, 0x0c, 0x05, 0x2b, 0xc1, 0x5a, 0x27, 0x76, - 0x6b, 0x78, 0x0d, 0xcc, 0xb5, 0x31, 0x33, 0xa8, 0x18, 0x9a, 0x70, 0x5e, 0xd8, 0x68, 0x6f, 0x06, - 0x15, 0x83, 0xcb, 0x20, 0xec, 0x19, 0x53, 0x25, 0x25, 0x33, 0x3d, 0x49, 0xd1, 0xa4, 0x9b, 0x00, - 0x56, 0x7a, 0xe5, 0x14, 0x78, 0x15, 0x80, 0x6e, 0x7d, 0x78, 0xc8, 0x68, 0x52, 0xab, 0x02, 0x4d, - 0x39, 0xbf, 0xe3, 0x95, 0xb7, 0xaa, 0xb0, 0xd8, 0x54, 0xd2, 0x01, 0xfa, 0xcf, 0x63, 0xed, 0x1a, - 0xae, 0x80, 0x90, 0x32, 0x9d, 0x29, 0x5e, 0x19, 0x2e, 0x05, 0x9a, 0xf6, 0xd4, 0x21, 0x09, 0xae, - 0x83, 0x05, 0xc5, 0x2a, 0x25, 0x69, 0x9d, 0xd9, 0xbd, 0xab, 0x9e, 0x71, 0x63, 0xf3, 0xc3, 0xba, - 0x05, 0x5c, 0x01, 0x9d, 0xae, 0x22, 0x25, 0x73, 0x33, 0xb3, 0x6e, 0x66, 0xd6, 0x09, 0xad, 0xc9, - 0x05, 0x29, 0x9c, 0xd9, 0x69, 0x4c, 0x2b, 0x58, 0x73, 0x19, 0x84, 0x46, 0x91, 0xec, 0xa3, 0x3d, - 0x3e, 0xa7, 0x08, 0xf8, 0xa3, 0xb5, 0xd2, 0x0b, 0x0a, 0x9f, 0x80, 0xa9, 0xae, 0x54, 0x25, 0x5a, - 0x58, 0x09, 0xd6, 0xc2, 0x3b, 0xb7, 0xa2, 0xd1, 0x5e, 0x66, 0xb4, 0x2d, 0x55, 0x19, 0xbb, 0x24, - 0x4c, 0xc1, 0x82, 0xac, 0x0d, 0x25, 0x86, 0xd1, 0xa4, 0xe0, 0xa9, 0x22, 0x6a, 0x80, 0x42, 0xd7,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 0x87, 0xd9, 0xb1, 0xd7, 0xc5, 0x4e, 0xf0, 0x7e, 0xbf, 0xc9, - 0xe5, 0xb2, 0x20, 0x22, 0x8f, 0xa4, 0xca, 0x71, 0xce, 0x84, 0xbb, 0x4c, 0xf0, 0x9f, 0x63, 0xfc, - 0xeb, 0x2e, 0x7a, 0x78, 0xd6, 0xf9, 0x31, 0xb1, 0xfa, 0xcc, 0xe5, 0x0f, 0xb6, 0x6c, 0xf6, 0xe0, - 0x1d, 0x4b, 0x77, 0x9b, 0x89, 0x5d, 0x3f, 0x71, 0xb0, 0xe7, 0xb2, 0xe9, 0xb4, 0xa3, 0xdd, 0xfd, - 0x1d, 0x00, 0x00, 0xff, 0xff, 0x34, 0x35, 0xea, 0x27, 0x71, 0x05, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/finding_addon.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/finding_addon.pb.go deleted file mode 100644 index a8124919..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/finding_addon.pb.go +++ /dev/null @@ -1,423 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/websecurityscanner/v1beta/finding_addon.proto - -package websecurityscanner - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// ! Information about a vulnerability with an HTML. -type Form struct { - // ! The URI where to send the form when it's submitted. - ActionUri string `protobuf:"bytes,1,opt,name=action_uri,json=actionUri,proto3" json:"action_uri,omitempty"` - // ! The names of form fields related to the vulnerability. - Fields []string `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Form) Reset() { *m = Form{} } -func (m *Form) String() string { return proto.CompactTextString(m) } -func (*Form) ProtoMessage() {} -func (*Form) Descriptor() ([]byte, []int) { - return fileDescriptor_ed5f8e8e70210d53, []int{0} -} - -func (m *Form) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Form.Unmarshal(m, b) -} -func (m *Form) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Form.Marshal(b, m, deterministic) -} -func (m *Form) XXX_Merge(src proto.Message) { - xxx_messageInfo_Form.Merge(m, src) -} -func (m *Form) XXX_Size() int { - return xxx_messageInfo_Form.Size(m) -} -func (m *Form) XXX_DiscardUnknown() { - xxx_messageInfo_Form.DiscardUnknown(m) -} - -var xxx_messageInfo_Form proto.InternalMessageInfo - -func (m *Form) GetActionUri() string { - if m != nil { - return m.ActionUri - } - return "" -} - -func (m *Form) GetFields() []string { - if m != nil { - return m.Fields - } - return nil -} - -// Information reported for an outdated library. -type OutdatedLibrary struct { - // The name of the outdated library. - LibraryName string `protobuf:"bytes,1,opt,name=library_name,json=libraryName,proto3" json:"library_name,omitempty"` - // The version number. - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - // URLs to learn more information about the vulnerabilities in the library. - LearnMoreUrls []string `protobuf:"bytes,3,rep,name=learn_more_urls,json=learnMoreUrls,proto3" json:"learn_more_urls,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ed5f8e8e70210d53, []int{1} -} - -func (m *OutdatedLibrary) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OutdatedLibrary.Unmarshal(m, b) -} -func (m *OutdatedLibrary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OutdatedLibrary.Marshal(b, m, deterministic) -} -func (m *OutdatedLibrary) XXX_Merge(src proto.Message) { - xxx_messageInfo_OutdatedLibrary.Merge(m, src) -} -func (m *OutdatedLibrary) XXX_Size() int { - return xxx_messageInfo_OutdatedLibrary.Size(m) -} -func (m *OutdatedLibrary) XXX_DiscardUnknown() { - xxx_messageInfo_OutdatedLibrary.DiscardUnknown(m) -} - -var xxx_messageInfo_OutdatedLibrary proto.InternalMessageInfo - -func (m *OutdatedLibrary) GetLibraryName() string { - if m != nil { - return m.LibraryName - } - return "" -} - -func (m *OutdatedLibrary) GetVersion() string { - if m != nil { - return m.Version - } - return "" -} - -func (m *OutdatedLibrary) GetLearnMoreUrls() []string { - if m != nil { - return m.LearnMoreUrls - } - return nil -} - -// Information regarding any resource causing the vulnerability such -// as JavaScript sources, image, audio files, etc. -type ViolatingResource struct { - // The MIME type of this resource. - ContentType string `protobuf:"bytes,1,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` - // URL of this violating resource. - ResourceUrl string `protobuf:"bytes,2,opt,name=resource_url,json=resourceUrl,proto3" json:"resource_url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ed5f8e8e70210d53, []int{2} -} - -func (m *ViolatingResource) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ViolatingResource.Unmarshal(m, b) -} -func (m *ViolatingResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ViolatingResource.Marshal(b, m, deterministic) -} -func (m *ViolatingResource) XXX_Merge(src proto.Message) { - xxx_messageInfo_ViolatingResource.Merge(m, src) -} -func (m *ViolatingResource) XXX_Size() int { - return xxx_messageInfo_ViolatingResource.Size(m) -} -func (m *ViolatingResource) XXX_DiscardUnknown() { - xxx_messageInfo_ViolatingResource.DiscardUnknown(m) -} - -var xxx_messageInfo_ViolatingResource proto.InternalMessageInfo - -func (m *ViolatingResource) GetContentType() string { - if m != nil { - return m.ContentType - } - return "" -} - -func (m *ViolatingResource) GetResourceUrl() string { - if m != nil { - return m.ResourceUrl - } - return "" -} - -// Information about vulnerable request parameters. -type VulnerableParameters struct { - // The vulnerable parameter names. - ParameterNames []string `protobuf:"bytes,1,rep,name=parameter_names,json=parameterNames,proto3" json:"parameter_names,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ed5f8e8e70210d53, []int{3} -} - -func (m *VulnerableParameters) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VulnerableParameters.Unmarshal(m, b) -} -func (m *VulnerableParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VulnerableParameters.Marshal(b, m, deterministic) -} -func (m *VulnerableParameters) XXX_Merge(src proto.Message) { - xxx_messageInfo_VulnerableParameters.Merge(m, src) -} -func (m *VulnerableParameters) XXX_Size() int { - return xxx_messageInfo_VulnerableParameters.Size(m) -} -func (m *VulnerableParameters) XXX_DiscardUnknown() { - xxx_messageInfo_VulnerableParameters.DiscardUnknown(m) -} - -var xxx_messageInfo_VulnerableParameters proto.InternalMessageInfo - -func (m *VulnerableParameters) GetParameterNames() []string { - if m != nil { - return m.ParameterNames - } - return nil -} - -// Information about vulnerable or missing HTTP Headers. -type VulnerableHeaders struct { - // List of vulnerable headers. - Headers []*VulnerableHeaders_Header `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"` - // List of missing headers. - MissingHeaders []*VulnerableHeaders_Header `protobuf:"bytes,2,rep,name=missing_headers,json=missingHeaders,proto3" json:"missing_headers,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VulnerableHeaders) Reset() { *m = VulnerableHeaders{} } -func (m *VulnerableHeaders) String() string { return proto.CompactTextString(m) } -func (*VulnerableHeaders) ProtoMessage() {} -func (*VulnerableHeaders) Descriptor() ([]byte, []int) { - return fileDescriptor_ed5f8e8e70210d53, []int{4} -} - -func (m *VulnerableHeaders) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VulnerableHeaders.Unmarshal(m, b) -} -func (m *VulnerableHeaders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VulnerableHeaders.Marshal(b, m, deterministic) -} -func (m *VulnerableHeaders) XXX_Merge(src proto.Message) { - xxx_messageInfo_VulnerableHeaders.Merge(m, src) -} -func (m *VulnerableHeaders) XXX_Size() int { - return xxx_messageInfo_VulnerableHeaders.Size(m) -} -func (m *VulnerableHeaders) XXX_DiscardUnknown() { - xxx_messageInfo_VulnerableHeaders.DiscardUnknown(m) -} - -var xxx_messageInfo_VulnerableHeaders proto.InternalMessageInfo - -func (m *VulnerableHeaders) GetHeaders() []*VulnerableHeaders_Header { - if m != nil { - return m.Headers - } - return nil -} - -func (m *VulnerableHeaders) GetMissingHeaders() []*VulnerableHeaders_Header { - if m != nil { - return m.MissingHeaders - } - return nil -} - -// Describes a HTTP Header. -type VulnerableHeaders_Header struct { - // Header name. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Header value. - 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 *VulnerableHeaders_Header) Reset() { *m = VulnerableHeaders_Header{} } -func (m *VulnerableHeaders_Header) String() string { return proto.CompactTextString(m) } -func (*VulnerableHeaders_Header) ProtoMessage() {} -func (*VulnerableHeaders_Header) Descriptor() ([]byte, []int) { - return fileDescriptor_ed5f8e8e70210d53, []int{4, 0} -} - -func (m *VulnerableHeaders_Header) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VulnerableHeaders_Header.Unmarshal(m, b) -} -func (m *VulnerableHeaders_Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VulnerableHeaders_Header.Marshal(b, m, deterministic) -} -func (m *VulnerableHeaders_Header) XXX_Merge(src proto.Message) { - xxx_messageInfo_VulnerableHeaders_Header.Merge(m, src) -} -func (m *VulnerableHeaders_Header) XXX_Size() int { - return xxx_messageInfo_VulnerableHeaders_Header.Size(m) -} -func (m *VulnerableHeaders_Header) XXX_DiscardUnknown() { - xxx_messageInfo_VulnerableHeaders_Header.DiscardUnknown(m) -} - -var xxx_messageInfo_VulnerableHeaders_Header proto.InternalMessageInfo - -func (m *VulnerableHeaders_Header) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *VulnerableHeaders_Header) GetValue() string { - if m != nil { - return m.Value - } - return "" -} - -// Information reported for an XSS. -type Xss struct { - // Stack traces leading to the point where the XSS occurred. - StackTraces []string `protobuf:"bytes,1,rep,name=stack_traces,json=stackTraces,proto3" json:"stack_traces,omitempty"` - // An error message generated by a javascript breakage. - ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ed5f8e8e70210d53, []int{5} -} - -func (m *Xss) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Xss.Unmarshal(m, b) -} -func (m *Xss) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Xss.Marshal(b, m, deterministic) -} -func (m *Xss) XXX_Merge(src proto.Message) { - xxx_messageInfo_Xss.Merge(m, src) -} -func (m *Xss) XXX_Size() int { - return xxx_messageInfo_Xss.Size(m) -} -func (m *Xss) XXX_DiscardUnknown() { - xxx_messageInfo_Xss.DiscardUnknown(m) -} - -var xxx_messageInfo_Xss proto.InternalMessageInfo - -func (m *Xss) GetStackTraces() []string { - if m != nil { - return m.StackTraces - } - return nil -} - -func (m *Xss) GetErrorMessage() string { - if m != nil { - return m.ErrorMessage - } - return "" -} - -func init() { - proto.RegisterType((*Form)(nil), "google.cloud.websecurityscanner.v1beta.Form") - proto.RegisterType((*OutdatedLibrary)(nil), "google.cloud.websecurityscanner.v1beta.OutdatedLibrary") - proto.RegisterType((*ViolatingResource)(nil), "google.cloud.websecurityscanner.v1beta.ViolatingResource") - proto.RegisterType((*VulnerableParameters)(nil), "google.cloud.websecurityscanner.v1beta.VulnerableParameters") - proto.RegisterType((*VulnerableHeaders)(nil), "google.cloud.websecurityscanner.v1beta.VulnerableHeaders") - proto.RegisterType((*VulnerableHeaders_Header)(nil), "google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header") - proto.RegisterType((*Xss)(nil), "google.cloud.websecurityscanner.v1beta.Xss") -} - -func init() { - proto.RegisterFile("google/cloud/websecurityscanner/v1beta/finding_addon.proto", fileDescriptor_ed5f8e8e70210d53) -} - -var fileDescriptor_ed5f8e8e70210d53 = []byte{ - // 512 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x53, 0x41, 0x6f, 0xd3, 0x4c, - 0x10, 0x55, 0x92, 0x7e, 0xa9, 0xb2, 0x69, 0x1b, 0x65, 0x55, 0x7d, 0xb2, 0x90, 0x90, 0x8a, 0x91, - 0x42, 0xc5, 0xc1, 0x16, 0xe5, 0x06, 0x42, 0x40, 0x91, 0x0a, 0x07, 0x02, 0x51, 0xda, 0x84, 0x52, - 0x45, 0xb2, 0xd6, 0xf6, 0xd4, 0xac, 0x58, 0xef, 0x5a, 0xb3, 0xeb, 0xa0, 0xfc, 0x09, 0x7e, 0x15, - 0x27, 0x7e, 0x15, 0xf2, 0xee, 0x3a, 0x20, 0xe5, 0x40, 0x0f, 0x9c, 0x32, 0xf3, 0x66, 0xde, 0x7b, - 0x99, 0x59, 0x0f, 0x79, 0x56, 0x28, 0x55, 0x08, 0x88, 0x33, 0xa1, 0xea, 0x3c, 0xfe, 0x06, 0xa9, - 0x86, 0xac, 0x46, 0x6e, 0x36, 0x3a, 0x63, 0x52, 0x02, 0xc6, 0xeb, 0x27, 0x29, 0x18, 0x16, 0xdf, - 0x72, 0x99, 0x73, 0x59, 0x24, 0x2c, 0xcf, 0x95, 0x8c, 0x2a, 0x54, 0x46, 0xd1, 0x89, 0xe3, 0x46, - 0x96, 0x1b, 0xed, 0x72, 0x23, 0xc7, 0x0d, 0x5f, 0x90, 0xbd, 0x0b, 0x85, 0x25, 0xbd, 0x4f, 0x08, - 0xcb, 0x0c, 0x57, 0x32, 0xa9, 0x91, 0x07, 0x9d, 0x93, 0xce, 0xe9, 0x60, 0x3e, 0x70, 0xc8, 0x02, - 0x39, 0xfd, 0x9f, 0xf4, 0x6f, 0x39, 0x88, 0x5c, 0x07, 0xdd, 0x93, 0xde, 0xe9, 0x60, 0xee, 0xb3, - 0x70, 0x4d, 0x46, 0x1f, 0x6b, 0x93, 0x33, 0x03, 0xf9, 0x7b, 0x9e, 0x22, 0xc3, 0x0d, 0x7d, 0x40, - 0x0e, 0x84, 0x0b, 0x13, 0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7f, 0x6b, 0x26, 0x6a, 0xf0, 0x7b, - 0x75, 0x49, 0x38, 0x25, 0xbd, 0x6b, 0xad, 0x9b, 0xdd, 0x6b, 0xc3, 0xb2, 0xaf, 0x89, 0x41, 0x96, - 0x6d, 0xb7, 0x37, 0xb4, 0xd8, 0x95, 0x85, 0xe8, 0x43, 0x72, 0x08, 0x88, 0x0a, 0x93, 0x12, 0xb4, - 0x66, 0x45, 0xab, 0x73, 0x60, 0xc1, 0xa9, 0xc3, 0xce, 0x7f, 0x74, 0xc8, 0xe3, 0x4c, 0x95, 0x77, - 0x1c, 0xed, 0x7c, 0x7c, 0xe1, 0xce, 0xe3, 0x75, 0x73, 0x1d, 0xb3, 0xe6, 0x38, 0x66, 0x9d, 0x9b, - 0x6b, 0x4f, 0x2e, 0x94, 0x60, 0xb2, 0x88, 0x14, 0x16, 0x71, 0x01, 0xd2, 0x9e, 0x4e, 0xec, 0x4a, - 0xac, 0xe2, 0xfa, 0x6f, 0x97, 0xf7, 0x7c, 0xb7, 0xf2, 0xb3, 0x3b, 0x79, 0x6b, 0xf9, 0xab, 0x37, - 0x0d, 0x77, 0xf5, 0x09, 0xd2, 0x4b, 0xdf, 0x71, 0xe9, 0x3a, 0x56, 0x4b, 0xcb, 0x4d, 0xfb, 0xd6, - 0xed, 0xe9, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xfa, 0x0b, 0x52, 0x97, 0xe6, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/finding_type_stats.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/finding_type_stats.pb.go deleted file mode 100644 index 7d34b701..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/finding_type_stats.pb.go +++ /dev/null @@ -1,101 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/websecurityscanner/v1beta/finding_type_stats.proto - -package websecurityscanner - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// A FindingTypeStats resource represents stats regarding a specific FindingType -// of Findings under a given ScanRun. -type FindingTypeStats struct { - // The finding type associated with the stats. - FindingType string `protobuf:"bytes,1,opt,name=finding_type,json=findingType,proto3" json:"finding_type,omitempty"` - // The count of findings belonging to this finding type. - FindingCount int32 `protobuf:"varint,2,opt,name=finding_count,json=findingCount,proto3" json:"finding_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2cd330f4bd03c930, []int{0} -} - -func (m *FindingTypeStats) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindingTypeStats.Unmarshal(m, b) -} -func (m *FindingTypeStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindingTypeStats.Marshal(b, m, deterministic) -} -func (m *FindingTypeStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindingTypeStats.Merge(m, src) -} -func (m *FindingTypeStats) XXX_Size() int { - return xxx_messageInfo_FindingTypeStats.Size(m) -} -func (m *FindingTypeStats) XXX_DiscardUnknown() { - xxx_messageInfo_FindingTypeStats.DiscardUnknown(m) -} - -var xxx_messageInfo_FindingTypeStats proto.InternalMessageInfo - -func (m *FindingTypeStats) GetFindingType() string { - if m != nil { - return m.FindingType - } - return "" -} - -func (m *FindingTypeStats) GetFindingCount() int32 { - if m != nil { - return m.FindingCount - } - return 0 -} - -func init() { - proto.RegisterType((*FindingTypeStats)(nil), "google.cloud.websecurityscanner.v1beta.FindingTypeStats") -} - -func init() { - proto.RegisterFile("google/cloud/websecurityscanner/v1beta/finding_type_stats.proto", fileDescriptor_2cd330f4bd03c930) -} - -var fileDescriptor_2cd330f4bd03c930 = []byte{ - // 241 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, 0xce, 0xc9, 0x2f, 0x4d, 0xd1, 0x2f, 0x4f, 0x4d, 0x2a, 0x4e, 0x4d, 0x2e, - 0x2d, 0xca, 0x2c, 0xa9, 0x2c, 0x4e, 0x4e, 0xcc, 0xcb, 0x4b, 0x2d, 0xd2, 0x2f, 0x33, 0x4c, 0x4a, - 0x2d, 0x49, 0xd4, 0x4f, 0xcb, 0xcc, 0x4b, 0xc9, 0xcc, 0x4b, 0x8f, 0x2f, 0xa9, 0x2c, 0x48, 0x8d, - 0x2f, 0x2e, 0x49, 0x2c, 0x29, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x52, 0x83, 0x18, 0xa0, - 0x07, 0x36, 0x40, 0x0f, 0xd3, 0x00, 0x3d, 0x88, 0x01, 0x4a, 0x51, 0x5c, 0x02, 0x6e, 0x10, 0x33, - 0x42, 0x2a, 0x0b, 0x52, 0x83, 0x41, 0x26, 0x08, 0x29, 0x72, 0xf1, 0x20, 0x9b, 0x2b, 0xc1, 0xa8, - 0xc0, 0xa8, 0xc1, 0x19, 0xc4, 0x9d, 0x86, 0x50, 0x27, 0xa4, 0xcc, 0xc5, 0x0b, 0x53, 0x92, 0x9c, - 0x5f, 0x9a, 0x57, 0x22, 0xc1, 0xa4, 0xc0, 0xa8, 0xc1, 0x1a, 0x04, 0xd3, 0xe7, 0x0c, 0x12, 0x73, - 0x3a, 0xc1, 0xc8, 0xa5, 0x95, 0x9c, 0x9f, 0xab, 0x47, 0x9c, 0x53, 0x9c, 0x44, 0xd1, 0x1d, 0x12, - 0x00, 0xf2, 0x49, 0x00, 0x63, 0x54, 0x04, 0xd4, 0x80, 0xf4, 0xfc, 0x9c, 0xc4, 0xbc, 0x74, 0xbd, - 0xfc, 0xa2, 0x74, 0xfd, 0xf4, 0xd4, 0x3c, 0xb0, 0x3f, 0xf5, 0x21, 0x52, 0x89, 0x05, 0x99, 0xc5, - 0x84, 0xc2, 0xca, 0x1a, 0x53, 0xe6, 0x14, 0x93, 0x9a, 0x3b, 0x58, 0x7f, 0x8c, 0x33, 0x48, 0x6f, - 0x4c, 0x78, 0x6a, 0x52, 0x30, 0x54, 0x45, 0x30, 0x44, 0x45, 0x4c, 0x18, 0x58, 0x6f, 0x12, 0x1b, - 0xd8, 0x36, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x1d, 0xb6, 0xd9, 0x7b, 0x98, 0x01, 0x00, - 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/scan_config.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/scan_config.pb.go deleted file mode 100644 index 1cc0470a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/scan_config.pb.go +++ /dev/null @@ -1,647 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/websecurityscanner/v1beta/scan_config.proto - -package websecurityscanner - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Type of user agents used for scanning. -type ScanConfig_UserAgent int32 - -const ( - // The user agent is unknown. Service will default to CHROME_LINUX. - ScanConfig_USER_AGENT_UNSPECIFIED ScanConfig_UserAgent = 0 - // Chrome on Linux. This is the service default if unspecified. - ScanConfig_CHROME_LINUX ScanConfig_UserAgent = 1 - // Chrome on Android. - ScanConfig_CHROME_ANDROID ScanConfig_UserAgent = 2 - // Safari on IPhone. - ScanConfig_SAFARI_IPHONE ScanConfig_UserAgent = 3 -) - -var ScanConfig_UserAgent_name = map[int32]string{ - 0: "USER_AGENT_UNSPECIFIED", - 1: "CHROME_LINUX", - 2: "CHROME_ANDROID", - 3: "SAFARI_IPHONE", -} - -var ScanConfig_UserAgent_value = map[string]int32{ - "USER_AGENT_UNSPECIFIED": 0, - "CHROME_LINUX": 1, - "CHROME_ANDROID": 2, - "SAFARI_IPHONE": 3, -} - -func (x ScanConfig_UserAgent) String() string { - return proto.EnumName(ScanConfig_UserAgent_name, int32(x)) -} - -func (ScanConfig_UserAgent) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0b8e0c37c8759a6e, []int{0, 0} -} - -// Cloud platforms supported by Cloud Web Security Scanner. -type ScanConfig_TargetPlatform int32 - -const ( - // The target platform is unknown. Requests with this enum value will be - // rejected with INVALID_ARGUMENT error. - ScanConfig_TARGET_PLATFORM_UNSPECIFIED ScanConfig_TargetPlatform = 0 - // Google App Engine service. - ScanConfig_APP_ENGINE ScanConfig_TargetPlatform = 1 - // Google Compute Engine service. - ScanConfig_COMPUTE ScanConfig_TargetPlatform = 2 -) - -var ScanConfig_TargetPlatform_name = map[int32]string{ - 0: "TARGET_PLATFORM_UNSPECIFIED", - 1: "APP_ENGINE", - 2: "COMPUTE", -} - -var ScanConfig_TargetPlatform_value = map[string]int32{ - "TARGET_PLATFORM_UNSPECIFIED": 0, - "APP_ENGINE": 1, - "COMPUTE": 2, -} - -func (x ScanConfig_TargetPlatform) String() string { - return proto.EnumName(ScanConfig_TargetPlatform_name, int32(x)) -} - -func (ScanConfig_TargetPlatform) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0b8e0c37c8759a6e, []int{0, 1} -} - -// Scan risk levels supported by Cloud Web Security Scanner. LOW impact -// scanning will minimize requests with the potential to modify data. To -// achieve the maximum scan coverage, NORMAL risk level is recommended. -type ScanConfig_RiskLevel int32 - -const ( - // Use default, which is NORMAL. - ScanConfig_RISK_LEVEL_UNSPECIFIED ScanConfig_RiskLevel = 0 - // Normal scanning (Recommended) - ScanConfig_NORMAL ScanConfig_RiskLevel = 1 - // Lower impact scanning - ScanConfig_LOW ScanConfig_RiskLevel = 2 -) - -var ScanConfig_RiskLevel_name = map[int32]string{ - 0: "RISK_LEVEL_UNSPECIFIED", - 1: "NORMAL", - 2: "LOW", -} - -var ScanConfig_RiskLevel_value = map[string]int32{ - "RISK_LEVEL_UNSPECIFIED": 0, - "NORMAL": 1, - "LOW": 2, -} - -func (x ScanConfig_RiskLevel) String() string { - return proto.EnumName(ScanConfig_RiskLevel_name, int32(x)) -} - -func (ScanConfig_RiskLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0b8e0c37c8759a6e, []int{0, 2} -} - -// Controls export of scan configurations and results to Cloud Security -// Command Center. -type ScanConfig_ExportToSecurityCommandCenter int32 - -const ( - // Use default, which is ENABLED. - ScanConfig_EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED ScanConfig_ExportToSecurityCommandCenter = 0 - // Export results of this scan to Cloud Security Command Center. - ScanConfig_ENABLED ScanConfig_ExportToSecurityCommandCenter = 1 - // Do not export results of this scan to Cloud Security Command Center. - ScanConfig_DISABLED ScanConfig_ExportToSecurityCommandCenter = 2 -) - -var ScanConfig_ExportToSecurityCommandCenter_name = map[int32]string{ - 0: "EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED", - 1: "ENABLED", - 2: "DISABLED", -} - -var ScanConfig_ExportToSecurityCommandCenter_value = map[string]int32{ - "EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED": 0, - "ENABLED": 1, - "DISABLED": 2, -} - -func (x ScanConfig_ExportToSecurityCommandCenter) String() string { - return proto.EnumName(ScanConfig_ExportToSecurityCommandCenter_name, int32(x)) -} - -func (ScanConfig_ExportToSecurityCommandCenter) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0b8e0c37c8759a6e, []int{0, 3} -} - -// A ScanConfig resource contains the configurations to launch a scan. -type ScanConfig struct { - // The resource name of the ScanConfig. The name follows the format of - // 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are - // generated by the system. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The user provided display name of the ScanConfig. - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // The maximum QPS during scanning. A valid value ranges from 5 to 20 - // inclusively. If the field is unspecified or its value is set 0, server will - // default to 15. Other values outside of [5, 20] range will be rejected with - // INVALID_ARGUMENT error. - MaxQps int32 `protobuf:"varint,3,opt,name=max_qps,json=maxQps,proto3" json:"max_qps,omitempty"` - // Required. The starting URLs from which the scanner finds site pages. - StartingUrls []string `protobuf:"bytes,4,rep,name=starting_urls,json=startingUrls,proto3" json:"starting_urls,omitempty"` - // The authentication configuration. If specified, service will use the - // authentication configuration during scanning. - Authentication *ScanConfig_Authentication `protobuf:"bytes,5,opt,name=authentication,proto3" json:"authentication,omitempty"` - // The user agent used during scanning. - UserAgent ScanConfig_UserAgent `protobuf:"varint,6,opt,name=user_agent,json=userAgent,proto3,enum=google.cloud.websecurityscanner.v1beta.ScanConfig_UserAgent" json:"user_agent,omitempty"` - // The blacklist URL patterns as described in - // https://cloud.google.com/security-scanner/docs/excluded-urls - BlacklistPatterns []string `protobuf:"bytes,7,rep,name=blacklist_patterns,json=blacklistPatterns,proto3" json:"blacklist_patterns,omitempty"` - // The schedule of the ScanConfig. - Schedule *ScanConfig_Schedule `protobuf:"bytes,8,opt,name=schedule,proto3" json:"schedule,omitempty"` - // Set of Cloud Platforms targeted by the scan. If empty, APP_ENGINE will be - // used as a default. - TargetPlatforms []ScanConfig_TargetPlatform `protobuf:"varint,9,rep,packed,name=target_platforms,json=targetPlatforms,proto3,enum=google.cloud.websecurityscanner.v1beta.ScanConfig_TargetPlatform" json:"target_platforms,omitempty"` - // Controls export of scan configurations and results to Cloud Security - // Command Center. - ExportToSecurityCommandCenter ScanConfig_ExportToSecurityCommandCenter `protobuf:"varint,10,opt,name=export_to_security_command_center,json=exportToSecurityCommandCenter,proto3,enum=google.cloud.websecurityscanner.v1beta.ScanConfig_ExportToSecurityCommandCenter" json:"export_to_security_command_center,omitempty"` - // Latest ScanRun if available. - LatestRun *ScanRun `protobuf:"bytes,11,opt,name=latest_run,json=latestRun,proto3" json:"latest_run,omitempty"` - // The risk level selected for the scan - RiskLevel ScanConfig_RiskLevel `protobuf:"varint,12,opt,name=risk_level,json=riskLevel,proto3,enum=google.cloud.websecurityscanner.v1beta.ScanConfig_RiskLevel" json:"risk_level,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_0b8e0c37c8759a6e, []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 (m *ScanConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ScanConfig.Merge(m, 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) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *ScanConfig) GetMaxQps() int32 { - if m != nil { - return m.MaxQps - } - return 0 -} - -func (m *ScanConfig) GetStartingUrls() []string { - if m != nil { - return m.StartingUrls - } - return nil -} - -func (m *ScanConfig) GetAuthentication() *ScanConfig_Authentication { - if m != nil { - return m.Authentication - } - return nil -} - -func (m *ScanConfig) GetUserAgent() ScanConfig_UserAgent { - if m != nil { - return m.UserAgent - } - return ScanConfig_USER_AGENT_UNSPECIFIED -} - -func (m *ScanConfig) GetBlacklistPatterns() []string { - if m != nil { - return m.BlacklistPatterns - } - return nil -} - -func (m *ScanConfig) GetSchedule() *ScanConfig_Schedule { - if m != nil { - return m.Schedule - } - return nil -} - -func (m *ScanConfig) GetTargetPlatforms() []ScanConfig_TargetPlatform { - if m != nil { - return m.TargetPlatforms - } - return nil -} - -func (m *ScanConfig) GetExportToSecurityCommandCenter() ScanConfig_ExportToSecurityCommandCenter { - if m != nil { - return m.ExportToSecurityCommandCenter - } - return ScanConfig_EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED -} - -func (m *ScanConfig) GetLatestRun() *ScanRun { - if m != nil { - return m.LatestRun - } - return nil -} - -func (m *ScanConfig) GetRiskLevel() ScanConfig_RiskLevel { - if m != nil { - return m.RiskLevel - } - return ScanConfig_RISK_LEVEL_UNSPECIFIED -} - -// Scan authentication configuration. -type ScanConfig_Authentication struct { - // Required. - // Authentication configuration - // - // Types that are valid to be assigned to Authentication: - // *ScanConfig_Authentication_GoogleAccount_ - // *ScanConfig_Authentication_CustomAccount_ - Authentication isScanConfig_Authentication_Authentication `protobuf_oneof:"authentication"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ScanConfig_Authentication) Reset() { *m = ScanConfig_Authentication{} } -func (m *ScanConfig_Authentication) String() string { return proto.CompactTextString(m) } -func (*ScanConfig_Authentication) ProtoMessage() {} -func (*ScanConfig_Authentication) Descriptor() ([]byte, []int) { - return fileDescriptor_0b8e0c37c8759a6e, []int{0, 0} -} - -func (m *ScanConfig_Authentication) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ScanConfig_Authentication.Unmarshal(m, b) -} -func (m *ScanConfig_Authentication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ScanConfig_Authentication.Marshal(b, m, deterministic) -} -func (m *ScanConfig_Authentication) XXX_Merge(src proto.Message) { - xxx_messageInfo_ScanConfig_Authentication.Merge(m, src) -} -func (m *ScanConfig_Authentication) XXX_Size() int { - return xxx_messageInfo_ScanConfig_Authentication.Size(m) -} -func (m *ScanConfig_Authentication) XXX_DiscardUnknown() { - xxx_messageInfo_ScanConfig_Authentication.DiscardUnknown(m) -} - -var xxx_messageInfo_ScanConfig_Authentication proto.InternalMessageInfo - -type isScanConfig_Authentication_Authentication interface { - isScanConfig_Authentication_Authentication() -} - -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 { - if m != nil { - return m.Authentication - } - return nil -} - -func (m *ScanConfig_Authentication) GetGoogleAccount() *ScanConfig_Authentication_GoogleAccount { - if x, ok := m.GetAuthentication().(*ScanConfig_Authentication_GoogleAccount_); ok { - return x.GoogleAccount - } - return nil -} - -func (m *ScanConfig_Authentication) GetCustomAccount() *ScanConfig_Authentication_CustomAccount { - if x, ok := m.GetAuthentication().(*ScanConfig_Authentication_CustomAccount_); ok { - return x.CustomAccount - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ScanConfig_Authentication) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ScanConfig_Authentication_GoogleAccount_)(nil), - (*ScanConfig_Authentication_CustomAccount_)(nil), - } -} - -// Describes authentication configuration that uses a Google account. -type ScanConfig_Authentication_GoogleAccount struct { - // Required. The user name of the Google account. - Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` - // Required. Input only. The password of the Google account. The credential is stored encrypted - // and not returned in any response nor included in audit logs. - Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ScanConfig_Authentication_GoogleAccount) Reset() { - *m = ScanConfig_Authentication_GoogleAccount{} -} -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_0b8e0c37c8759a6e, []int{0, 0, 0} -} - -func (m *ScanConfig_Authentication_GoogleAccount) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ScanConfig_Authentication_GoogleAccount.Unmarshal(m, b) -} -func (m *ScanConfig_Authentication_GoogleAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ScanConfig_Authentication_GoogleAccount.Marshal(b, m, deterministic) -} -func (m *ScanConfig_Authentication_GoogleAccount) XXX_Merge(src proto.Message) { - xxx_messageInfo_ScanConfig_Authentication_GoogleAccount.Merge(m, src) -} -func (m *ScanConfig_Authentication_GoogleAccount) XXX_Size() int { - return xxx_messageInfo_ScanConfig_Authentication_GoogleAccount.Size(m) -} -func (m *ScanConfig_Authentication_GoogleAccount) XXX_DiscardUnknown() { - xxx_messageInfo_ScanConfig_Authentication_GoogleAccount.DiscardUnknown(m) -} - -var xxx_messageInfo_ScanConfig_Authentication_GoogleAccount proto.InternalMessageInfo - -func (m *ScanConfig_Authentication_GoogleAccount) GetUsername() string { - if m != nil { - return m.Username - } - return "" -} - -func (m *ScanConfig_Authentication_GoogleAccount) GetPassword() string { - if m != nil { - return m.Password - } - return "" -} - -// Describes authentication configuration that uses a custom account. -type ScanConfig_Authentication_CustomAccount struct { - // Required. The user name of the custom account. - Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` - // Required. Input only. The password of the custom account. The credential is stored encrypted - // and not returned in any response nor included in audit logs. - Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` - // Required. The login form URL of the website. - LoginUrl string `protobuf:"bytes,3,opt,name=login_url,json=loginUrl,proto3" json:"login_url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ScanConfig_Authentication_CustomAccount) Reset() { - *m = ScanConfig_Authentication_CustomAccount{} -} -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_0b8e0c37c8759a6e, []int{0, 0, 1} -} - -func (m *ScanConfig_Authentication_CustomAccount) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ScanConfig_Authentication_CustomAccount.Unmarshal(m, b) -} -func (m *ScanConfig_Authentication_CustomAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ScanConfig_Authentication_CustomAccount.Marshal(b, m, deterministic) -} -func (m *ScanConfig_Authentication_CustomAccount) XXX_Merge(src proto.Message) { - xxx_messageInfo_ScanConfig_Authentication_CustomAccount.Merge(m, src) -} -func (m *ScanConfig_Authentication_CustomAccount) XXX_Size() int { - return xxx_messageInfo_ScanConfig_Authentication_CustomAccount.Size(m) -} -func (m *ScanConfig_Authentication_CustomAccount) XXX_DiscardUnknown() { - xxx_messageInfo_ScanConfig_Authentication_CustomAccount.DiscardUnknown(m) -} - -var xxx_messageInfo_ScanConfig_Authentication_CustomAccount proto.InternalMessageInfo - -func (m *ScanConfig_Authentication_CustomAccount) GetUsername() string { - if m != nil { - return m.Username - } - return "" -} - -func (m *ScanConfig_Authentication_CustomAccount) GetPassword() string { - if m != nil { - return m.Password - } - return "" -} - -func (m *ScanConfig_Authentication_CustomAccount) GetLoginUrl() string { - if m != nil { - return m.LoginUrl - } - return "" -} - -// Scan schedule configuration. -type ScanConfig_Schedule struct { - // A timestamp indicates when the next run will be scheduled. The value is - // refreshed by the server after each run. If unspecified, it will default - // to current server time, which means the scan will be scheduled to start - // immediately. - ScheduleTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"` - // Required. The duration of time between executions in days. - IntervalDurationDays int32 `protobuf:"varint,2,opt,name=interval_duration_days,json=intervalDurationDays,proto3" json:"interval_duration_days,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_0b8e0c37c8759a6e, []int{0, 1} -} - -func (m *ScanConfig_Schedule) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ScanConfig_Schedule.Unmarshal(m, b) -} -func (m *ScanConfig_Schedule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ScanConfig_Schedule.Marshal(b, m, deterministic) -} -func (m *ScanConfig_Schedule) XXX_Merge(src proto.Message) { - xxx_messageInfo_ScanConfig_Schedule.Merge(m, src) -} -func (m *ScanConfig_Schedule) XXX_Size() int { - return xxx_messageInfo_ScanConfig_Schedule.Size(m) -} -func (m *ScanConfig_Schedule) XXX_DiscardUnknown() { - xxx_messageInfo_ScanConfig_Schedule.DiscardUnknown(m) -} - -var xxx_messageInfo_ScanConfig_Schedule proto.InternalMessageInfo - -func (m *ScanConfig_Schedule) GetScheduleTime() *timestamp.Timestamp { - if m != nil { - return m.ScheduleTime - } - return nil -} - -func (m *ScanConfig_Schedule) GetIntervalDurationDays() int32 { - if m != nil { - return m.IntervalDurationDays - } - return 0 -} - -func init() { - proto.RegisterEnum("google.cloud.websecurityscanner.v1beta.ScanConfig_UserAgent", ScanConfig_UserAgent_name, ScanConfig_UserAgent_value) - proto.RegisterEnum("google.cloud.websecurityscanner.v1beta.ScanConfig_TargetPlatform", ScanConfig_TargetPlatform_name, ScanConfig_TargetPlatform_value) - proto.RegisterEnum("google.cloud.websecurityscanner.v1beta.ScanConfig_RiskLevel", ScanConfig_RiskLevel_name, ScanConfig_RiskLevel_value) - proto.RegisterEnum("google.cloud.websecurityscanner.v1beta.ScanConfig_ExportToSecurityCommandCenter", ScanConfig_ExportToSecurityCommandCenter_name, ScanConfig_ExportToSecurityCommandCenter_value) - proto.RegisterType((*ScanConfig)(nil), "google.cloud.websecurityscanner.v1beta.ScanConfig") - proto.RegisterType((*ScanConfig_Authentication)(nil), "google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication") - proto.RegisterType((*ScanConfig_Authentication_GoogleAccount)(nil), "google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.GoogleAccount") - proto.RegisterType((*ScanConfig_Authentication_CustomAccount)(nil), "google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.CustomAccount") - proto.RegisterType((*ScanConfig_Schedule)(nil), "google.cloud.websecurityscanner.v1beta.ScanConfig.Schedule") -} - -func init() { - proto.RegisterFile("google/cloud/websecurityscanner/v1beta/scan_config.proto", fileDescriptor_0b8e0c37c8759a6e) -} - -var fileDescriptor_0b8e0c37c8759a6e = []byte{ - // 1045 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x5b, 0x6f, 0x1b, 0x45, - 0x14, 0xee, 0xda, 0xb9, 0xd8, 0xe3, 0x4b, 0xb6, 0x23, 0x54, 0x8c, 0x51, 0x15, 0xe3, 0x87, 0xc8, - 0x42, 0xad, 0x57, 0x0d, 0x42, 0x02, 0x5a, 0x09, 0x6d, 0xec, 0x4d, 0x62, 0x61, 0xaf, 0x97, 0xf1, - 0xba, 0x09, 0x10, 0x69, 0x18, 0xaf, 0x27, 0x9b, 0x25, 0x7b, 0x63, 0x66, 0x36, 0x4d, 0x54, 0xf5, - 0x95, 0x1f, 0xc1, 0xcf, 0x81, 0x37, 0x7e, 0x45, 0x1e, 0x78, 0xe2, 0x57, 0xa0, 0xbd, 0x39, 0x76, - 0x8a, 0x4a, 0x9b, 0xf6, 0x6d, 0xe6, 0x5c, 0xbe, 0xef, 0xcc, 0xf1, 0x39, 0x9f, 0x17, 0x7c, 0x65, - 0x07, 0x81, 0xed, 0x52, 0xc5, 0x72, 0x83, 0x68, 0xae, 0xbc, 0xa0, 0x33, 0x4e, 0xad, 0x88, 0x39, - 0xe2, 0x8a, 0x5b, 0xc4, 0xf7, 0x29, 0x53, 0x2e, 0x9e, 0xcc, 0xa8, 0x20, 0x4a, 0x7c, 0xc5, 0x56, - 0xe0, 0x9f, 0x3a, 0x76, 0x37, 0x64, 0x81, 0x08, 0xe0, 0x4e, 0x9a, 0xd9, 0x4d, 0x32, 0xbb, 0xaf, - 0x67, 0x76, 0xd3, 0xcc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, 0x2f, 0x1a, 0x1b, 0x2d, - 0xa9, 0x53, 0xdf, 0x7d, 0x76, 0x07, 0x9a, 0x29, 0xa7, 0x4c, 0x8d, 0x31, 0x50, 0x39, 0xca, 0x8f, - 0xf0, 0x31, 0x80, 0x33, 0x97, 0x58, 0xe7, 0xae, 0xc3, 0x05, 0x0e, 0x89, 0x10, 0x94, 0xf9, 0xbc, - 0xb1, 0x19, 0x3f, 0x1b, 0xdd, 0x5f, 0x78, 0x8c, 0xcc, 0x01, 0x8f, 0x40, 0x89, 0x5b, 0x67, 0x74, - 0x1e, 0xb9, 0xb4, 0x51, 0x4a, 0x1e, 0xfc, 0xf4, 0x0e, 0x95, 0x4c, 0x32, 0x08, 0xb4, 0x00, 0x83, - 0x2e, 0x90, 0x05, 0x61, 0x36, 0x15, 0x38, 0x74, 0x89, 0x38, 0x0d, 0x98, 0xc7, 0x1b, 0xe5, 0x56, - 0xb1, 0x53, 0xbf, 0x53, 0x47, 0xcd, 0x04, 0xca, 0xc8, 0x90, 0xd0, 0x96, 0x58, 0xb9, 0x73, 0xf8, - 0xbb, 0x04, 0x3e, 0xa3, 0x97, 0x61, 0xc0, 0x04, 0x16, 0x01, 0xce, 0xf1, 0xb0, 0x15, 0x78, 0x1e, - 0xf1, 0xe7, 0xd8, 0xa2, 0xbe, 0xa0, 0xac, 0x01, 0x92, 0x56, 0x1b, 0x77, 0xe0, 0xd7, 0x12, 0x6c, - 0x33, 0x98, 0x64, 0x91, 0xbd, 0x14, 0xb8, 0x97, 0xe0, 0xa2, 0x87, 0xf4, 0x4d, 0x6e, 0xa8, 0x03, - 0xe0, 0x12, 0x41, 0xb9, 0x88, 0xb7, 0xa3, 0x51, 0x49, 0xba, 0xac, 0xbc, 0x4b, 0x11, 0x28, 0xf2, - 0x51, 0x39, 0x85, 0x40, 0x51, 0x32, 0x3f, 0xcc, 0xe1, 0xe7, 0xd8, 0xa5, 0x17, 0xd4, 0x6d, 0x54, - 0xef, 0x3c, 0x3f, 0xc8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a, 0x6f, - 0x8a, 0x06, 0xe6, 0x0f, 0xb8, 0x37, 0x1e, 0x8d, 0x54, 0xbd, 0x8f, 0x7b, 0x9a, 0x6e, 0x6a, 0xe8, - 0x16, 0x51, 0x05, 0x6c, 0x6a, 0xba, 0xba, 0x37, 0xd4, 0xfa, 0xb2, 0x04, 0xab, 0xa0, 0xd4, 0x1f, - 0x4c, 0xd2, 0x5b, 0xe1, 0x1b, 0xfc, 0x8f, 0x7a, 0x02, 0x1e, 0xfd, 0xc7, 0x82, 0xa4, 0x3f, 0x2d, - 0x09, 0x1d, 0xde, 0xb5, 0x02, 0x4f, 0x59, 0xfa, 0x23, 0x7e, 0x14, 0xb2, 0xe0, 0x17, 0x6a, 0x09, - 0xae, 0xbc, 0xcc, 0x4e, 0xaf, 0x92, 0xff, 0xf6, 0xd4, 0xcd, 0x95, 0x97, 0x4b, 0x9f, 0x21, 0xaf, - 0xf6, 0xfe, 0x90, 0xc0, 0xe7, 0x56, 0xe0, 0xbd, 0xe5, 0x42, 0xee, 0x6d, 0xdd, 0x10, 0x19, 0xf1, - 0x54, 0x19, 0xd2, 0x8f, 0xc7, 0x59, 0xaa, 0x1d, 0xb8, 0xc4, 0xb7, 0xbb, 0x01, 0xb3, 0x15, 0x9b, - 0xfa, 0xc9, 0xcc, 0x29, 0x37, 0x55, 0xfe, 0xdf, 0xe7, 0xc7, 0xd3, 0xd7, 0x3d, 0x7f, 0x15, 0x76, - 0xd2, 0x1d, 0x3e, 0xe9, 0xc5, 0xb9, 0x27, 0x47, 0x74, 0x96, 0xb7, 0x7c, 0x92, 0x46, 0x9c, 0x3c, - 0x4f, 0x72, 0x67, 0x1b, 0x09, 0xdb, 0x17, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x3d, 0xb3, 0x1f, - 0xde, 0x89, 0x09, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/scan_config_error.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/scan_config_error.pb.go deleted file mode 100644 index 13fa53fe..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/scan_config_error.pb.go +++ /dev/null @@ -1,354 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/websecurityscanner/v1beta/scan_config_error.proto - -package websecurityscanner - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Output only. -// Defines an error reason code. -// Next id: 44 -type ScanConfigError_Code int32 - -const ( - // There is no error. - ScanConfigError_CODE_UNSPECIFIED ScanConfigError_Code = 0 - // There is no error. - ScanConfigError_OK ScanConfigError_Code = 0 - // Indicates an internal server error. - // Please DO NOT USE THIS ERROR CODE unless the root cause is truly unknown. - ScanConfigError_INTERNAL_ERROR ScanConfigError_Code = 1 - // One of the seed URLs is an App Engine URL but we cannot validate the scan - // settings due to an App Engine API backend error. - ScanConfigError_APPENGINE_API_BACKEND_ERROR ScanConfigError_Code = 2 - // One of the seed URLs is an App Engine URL but we cannot access the - // App Engine API to validate scan settings. - ScanConfigError_APPENGINE_API_NOT_ACCESSIBLE ScanConfigError_Code = 3 - // One of the seed URLs is an App Engine URL but the Default Host of the - // App Engine is not set. - ScanConfigError_APPENGINE_DEFAULT_HOST_MISSING ScanConfigError_Code = 4 - // Google corporate accounts can not be used for scanning. - ScanConfigError_CANNOT_USE_GOOGLE_COM_ACCOUNT ScanConfigError_Code = 6 - // The account of the scan creator can not be used for scanning. - ScanConfigError_CANNOT_USE_OWNER_ACCOUNT ScanConfigError_Code = 7 - // This scan targets Compute Engine, but we cannot validate scan settings - // due to a Compute Engine API backend error. - ScanConfigError_COMPUTE_API_BACKEND_ERROR ScanConfigError_Code = 8 - // This scan targets Compute Engine, but we cannot access the Compute Engine - // API to validate the scan settings. - ScanConfigError_COMPUTE_API_NOT_ACCESSIBLE ScanConfigError_Code = 9 - // The Custom Login URL does not belong to the current project. - ScanConfigError_CUSTOM_LOGIN_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT ScanConfigError_Code = 10 - // The Custom Login URL is malformed (can not be parsed). - ScanConfigError_CUSTOM_LOGIN_URL_MALFORMED ScanConfigError_Code = 11 - // The Custom Login URL is mapped to a non-routable IP address in DNS. - ScanConfigError_CUSTOM_LOGIN_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS ScanConfigError_Code = 12 - // The Custom Login URL is mapped to an IP address which is not reserved for - // the current project. - ScanConfigError_CUSTOM_LOGIN_URL_MAPPED_TO_UNRESERVED_ADDRESS ScanConfigError_Code = 13 - // The Custom Login URL has a non-routable IP address. - ScanConfigError_CUSTOM_LOGIN_URL_HAS_NON_ROUTABLE_IP_ADDRESS ScanConfigError_Code = 14 - // The Custom Login URL has an IP address which is not reserved for the - // current project. - ScanConfigError_CUSTOM_LOGIN_URL_HAS_UNRESERVED_IP_ADDRESS ScanConfigError_Code = 15 - // Another scan with the same name (case-sensitive) already exists. - ScanConfigError_DUPLICATE_SCAN_NAME ScanConfigError_Code = 16 - // A field is set to an invalid value. - ScanConfigError_INVALID_FIELD_VALUE ScanConfigError_Code = 18 - // There was an error trying to authenticate to the scan target. - ScanConfigError_FAILED_TO_AUTHENTICATE_TO_TARGET ScanConfigError_Code = 19 - // Finding type value is not specified in the list findings request. - ScanConfigError_FINDING_TYPE_UNSPECIFIED ScanConfigError_Code = 20 - // Scan targets Compute Engine, yet current project was not whitelisted for - // Google Compute Engine Scanning Alpha access. - ScanConfigError_FORBIDDEN_TO_SCAN_COMPUTE ScanConfigError_Code = 21 - // User tries to update managed scan - ScanConfigError_FORBIDDEN_UPDATE_TO_MANAGED_SCAN ScanConfigError_Code = 43 - // The supplied filter is malformed. For example, it can not be parsed, does - // not have a filter type in expression, or the same filter type appears - // more than once. - ScanConfigError_MALFORMED_FILTER ScanConfigError_Code = 22 - // The supplied resource name is malformed (can not be parsed). - ScanConfigError_MALFORMED_RESOURCE_NAME ScanConfigError_Code = 23 - // The current project is not in an active state. - ScanConfigError_PROJECT_INACTIVE ScanConfigError_Code = 24 - // A required field is not set. - ScanConfigError_REQUIRED_FIELD ScanConfigError_Code = 25 - // Project id, scanconfig id, scanrun id, or finding id are not consistent - // with each other in resource name. - ScanConfigError_RESOURCE_NAME_INCONSISTENT ScanConfigError_Code = 26 - // The scan being requested to start is already running. - ScanConfigError_SCAN_ALREADY_RUNNING ScanConfigError_Code = 27 - // The scan that was requested to be stopped is not running. - ScanConfigError_SCAN_NOT_RUNNING ScanConfigError_Code = 28 - // One of the seed URLs does not belong to the current project. - ScanConfigError_SEED_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT ScanConfigError_Code = 29 - // One of the seed URLs is malformed (can not be parsed). - ScanConfigError_SEED_URL_MALFORMED ScanConfigError_Code = 30 - // One of the seed URLs is mapped to a non-routable IP address in DNS. - ScanConfigError_SEED_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS ScanConfigError_Code = 31 - // One of the seed URLs is mapped to an IP address which is not reserved - // for the current project. - ScanConfigError_SEED_URL_MAPPED_TO_UNRESERVED_ADDRESS ScanConfigError_Code = 32 - // One of the seed URLs has on-routable IP address. - ScanConfigError_SEED_URL_HAS_NON_ROUTABLE_IP_ADDRESS ScanConfigError_Code = 33 - // One of the seed URLs has an IP address that is not reserved - // for the current project. - ScanConfigError_SEED_URL_HAS_UNRESERVED_IP_ADDRESS ScanConfigError_Code = 35 - // The Cloud Security Scanner service account is not configured under the - // project. - ScanConfigError_SERVICE_ACCOUNT_NOT_CONFIGURED ScanConfigError_Code = 36 - // A project has reached the maximum number of scans. - ScanConfigError_TOO_MANY_SCANS ScanConfigError_Code = 37 - // Resolving the details of the current project fails. - ScanConfigError_UNABLE_TO_RESOLVE_PROJECT_INFO ScanConfigError_Code = 38 - // One or more blacklist patterns were in the wrong format. - ScanConfigError_UNSUPPORTED_BLACKLIST_PATTERN_FORMAT ScanConfigError_Code = 39 - // The supplied filter is not supported. - ScanConfigError_UNSUPPORTED_FILTER ScanConfigError_Code = 40 - // The supplied finding type is not supported. For example, we do not - // provide findings of the given finding type. - ScanConfigError_UNSUPPORTED_FINDING_TYPE ScanConfigError_Code = 41 - // The URL scheme of one or more of the supplied URLs is not supported. - ScanConfigError_UNSUPPORTED_URL_SCHEME ScanConfigError_Code = 42 -) - -var ScanConfigError_Code_name = map[int32]string{ - 0: "CODE_UNSPECIFIED", - // Duplicate value: 0: "OK", - 1: "INTERNAL_ERROR", - 2: "APPENGINE_API_BACKEND_ERROR", - 3: "APPENGINE_API_NOT_ACCESSIBLE", - 4: "APPENGINE_DEFAULT_HOST_MISSING", - 6: "CANNOT_USE_GOOGLE_COM_ACCOUNT", - 7: "CANNOT_USE_OWNER_ACCOUNT", - 8: "COMPUTE_API_BACKEND_ERROR", - 9: "COMPUTE_API_NOT_ACCESSIBLE", - 10: "CUSTOM_LOGIN_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT", - 11: "CUSTOM_LOGIN_URL_MALFORMED", - 12: "CUSTOM_LOGIN_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS", - 13: "CUSTOM_LOGIN_URL_MAPPED_TO_UNRESERVED_ADDRESS", - 14: "CUSTOM_LOGIN_URL_HAS_NON_ROUTABLE_IP_ADDRESS", - 15: "CUSTOM_LOGIN_URL_HAS_UNRESERVED_IP_ADDRESS", - 16: "DUPLICATE_SCAN_NAME", - 18: "INVALID_FIELD_VALUE", - 19: "FAILED_TO_AUTHENTICATE_TO_TARGET", - 20: "FINDING_TYPE_UNSPECIFIED", - 21: "FORBIDDEN_TO_SCAN_COMPUTE", - 43: "FORBIDDEN_UPDATE_TO_MANAGED_SCAN", - 22: "MALFORMED_FILTER", - 23: "MALFORMED_RESOURCE_NAME", - 24: "PROJECT_INACTIVE", - 25: "REQUIRED_FIELD", - 26: "RESOURCE_NAME_INCONSISTENT", - 27: "SCAN_ALREADY_RUNNING", - 28: "SCAN_NOT_RUNNING", - 29: "SEED_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT", - 30: "SEED_URL_MALFORMED", - 31: "SEED_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS", - 32: "SEED_URL_MAPPED_TO_UNRESERVED_ADDRESS", - 33: "SEED_URL_HAS_NON_ROUTABLE_IP_ADDRESS", - 35: "SEED_URL_HAS_UNRESERVED_IP_ADDRESS", - 36: "SERVICE_ACCOUNT_NOT_CONFIGURED", - 37: "TOO_MANY_SCANS", - 38: "UNABLE_TO_RESOLVE_PROJECT_INFO", - 39: "UNSUPPORTED_BLACKLIST_PATTERN_FORMAT", - 40: "UNSUPPORTED_FILTER", - 41: "UNSUPPORTED_FINDING_TYPE", - 42: "UNSUPPORTED_URL_SCHEME", -} - -var ScanConfigError_Code_value = map[string]int32{ - "CODE_UNSPECIFIED": 0, - "OK": 0, - "INTERNAL_ERROR": 1, - "APPENGINE_API_BACKEND_ERROR": 2, - "APPENGINE_API_NOT_ACCESSIBLE": 3, - "APPENGINE_DEFAULT_HOST_MISSING": 4, - "CANNOT_USE_GOOGLE_COM_ACCOUNT": 6, - "CANNOT_USE_OWNER_ACCOUNT": 7, - "COMPUTE_API_BACKEND_ERROR": 8, - "COMPUTE_API_NOT_ACCESSIBLE": 9, - "CUSTOM_LOGIN_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT": 10, - "CUSTOM_LOGIN_URL_MALFORMED": 11, - "CUSTOM_LOGIN_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS": 12, - "CUSTOM_LOGIN_URL_MAPPED_TO_UNRESERVED_ADDRESS": 13, - "CUSTOM_LOGIN_URL_HAS_NON_ROUTABLE_IP_ADDRESS": 14, - "CUSTOM_LOGIN_URL_HAS_UNRESERVED_IP_ADDRESS": 15, - "DUPLICATE_SCAN_NAME": 16, - "INVALID_FIELD_VALUE": 18, - "FAILED_TO_AUTHENTICATE_TO_TARGET": 19, - "FINDING_TYPE_UNSPECIFIED": 20, - "FORBIDDEN_TO_SCAN_COMPUTE": 21, - "FORBIDDEN_UPDATE_TO_MANAGED_SCAN": 43, - "MALFORMED_FILTER": 22, - "MALFORMED_RESOURCE_NAME": 23, - "PROJECT_INACTIVE": 24, - "REQUIRED_FIELD": 25, - "RESOURCE_NAME_INCONSISTENT": 26, - "SCAN_ALREADY_RUNNING": 27, - "SCAN_NOT_RUNNING": 28, - "SEED_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT": 29, - "SEED_URL_MALFORMED": 30, - "SEED_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS": 31, - "SEED_URL_MAPPED_TO_UNRESERVED_ADDRESS": 32, - "SEED_URL_HAS_NON_ROUTABLE_IP_ADDRESS": 33, - "SEED_URL_HAS_UNRESERVED_IP_ADDRESS": 35, - "SERVICE_ACCOUNT_NOT_CONFIGURED": 36, - "TOO_MANY_SCANS": 37, - "UNABLE_TO_RESOLVE_PROJECT_INFO": 38, - "UNSUPPORTED_BLACKLIST_PATTERN_FORMAT": 39, - "UNSUPPORTED_FILTER": 40, - "UNSUPPORTED_FINDING_TYPE": 41, - "UNSUPPORTED_URL_SCHEME": 42, -} - -func (x ScanConfigError_Code) String() string { - return proto.EnumName(ScanConfigError_Code_name, int32(x)) -} - -func (ScanConfigError_Code) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_925639d0d0b22665, []int{0, 0} -} - -// Defines a custom error message used by CreateScanConfig and UpdateScanConfig -// APIs when scan configuration validation fails. It is also reported as part of -// a ScanRunErrorTrace message if scan validation fails due to a scan -// configuration error. -type ScanConfigError struct { - // Indicates the reason code for a configuration failure. - Code ScanConfigError_Code `protobuf:"varint,1,opt,name=code,proto3,enum=google.cloud.websecurityscanner.v1beta.ScanConfigError_Code" json:"code,omitempty"` - // Indicates the full name of the ScanConfig field that triggers this error, - // for example "scan_config.max_qps". This field is provided for - // troubleshooting purposes only and its actual value can change in the - // future. - FieldName string `protobuf:"bytes,2,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ScanConfigError) Reset() { *m = ScanConfigError{} } -func (m *ScanConfigError) String() string { return proto.CompactTextString(m) } -func (*ScanConfigError) ProtoMessage() {} -func (*ScanConfigError) Descriptor() ([]byte, []int) { - return fileDescriptor_925639d0d0b22665, []int{0} -} - -func (m *ScanConfigError) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ScanConfigError.Unmarshal(m, b) -} -func (m *ScanConfigError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ScanConfigError.Marshal(b, m, deterministic) -} -func (m *ScanConfigError) XXX_Merge(src proto.Message) { - xxx_messageInfo_ScanConfigError.Merge(m, src) -} -func (m *ScanConfigError) XXX_Size() int { - return xxx_messageInfo_ScanConfigError.Size(m) -} -func (m *ScanConfigError) XXX_DiscardUnknown() { - xxx_messageInfo_ScanConfigError.DiscardUnknown(m) -} - -var xxx_messageInfo_ScanConfigError proto.InternalMessageInfo - -func (m *ScanConfigError) GetCode() ScanConfigError_Code { - if m != nil { - return m.Code - } - return ScanConfigError_CODE_UNSPECIFIED -} - -func (m *ScanConfigError) GetFieldName() string { - if m != nil { - return m.FieldName - } - return "" -} - -func init() { - proto.RegisterEnum("google.cloud.websecurityscanner.v1beta.ScanConfigError_Code", ScanConfigError_Code_name, ScanConfigError_Code_value) - proto.RegisterType((*ScanConfigError)(nil), "google.cloud.websecurityscanner.v1beta.ScanConfigError") -} - -func init() { - proto.RegisterFile("google/cloud/websecurityscanner/v1beta/scan_config_error.proto", fileDescriptor_925639d0d0b22665) -} - -var fileDescriptor_925639d0d0b22665 = []byte{ - // 902 bytes of a gzipped FileDescriptorProto - 0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3, 0x4a, 0x55, 0x6f, 0x95, 0xa9, 0xb2, 0xf2, 0xbc, 0xd0, 0xb1, 0x12, - 0xd9, 0x40, 0xe8, 0xdd, 0x45, 0x71, 0x79, 0xee, 0xbb, 0xad, 0xab, 0x62, 0x65, 0x66, 0xab, 0xb2, - 0x37, 0xaf, 0xe7, 0x63, 0x44, 0xb6, 0xae, 0x8a, 0xed, 0x7f, 0x10, 0x9a, 0x0d, 0x6a, 0xb2, 0x88, - 0x30, 0x53, 0x1c, 0xbc, 0x93, 0x26, 0x07, 0x26, 0x12, 0x01, 0x1c, 0x3f, 0x22, 0x73, 0x68, 0x46, - 0x1d, 0xe3, 0x47, 0x84, 0xa0, 0x05, 0x21, 0x2d, 0x68, 0x49, 0x33, 0x0f, 0x5a, 0x2b, 0x8d, 0x2b, - 0xe4, 0x39, 0x5a, 0xa3, 0x79, 0x0e, 0x32, 0x15, 0x12, 0x3c, 0xcd, 0x85, 0xaf, 0x53, 0x76, 0x0c, - 0x92, 0x0f, 0x04, 0x33, 0x64, 0x0b, 0xad, 0x4f, 0x0a, 0xa4, 0xb2, 0x9e, 0x32, 0x06, 0xc6, 0x88, - 0x7a, 0x06, 0xf8, 0x13, 0xb2, 0x8d, 0x36, 0x47, 0x0a, 0x0e, 0x09, 0x75, 0x99, 0xf5, 0x47, 0xca, - 0x58, 0xdf, 0x10, 0xc6, 0x08, 0x99, 0xe2, 0x59, 0xf2, 0x02, 0x6d, 0x30, 0x2a, 0x03, 0xea, 0x0c, - 0xf8, 0x54, 0xa9, 0x34, 0x03, 0xcf, 0x54, 0x23, 0x54, 0x52, 0x4e, 0x5a, 0x3c, 0x47, 0xd6, 0xd1, - 0xca, 0x98, 0x44, 0xbd, 0x95, 0xa0, 0x87, 0xd9, 0x4f, 0xc9, 0x06, 0x7a, 0xc6, 0x54, 0x23, 0x77, - 0x76, 0xda, 0x2a, 0x3f, 0x23, 0x9b, 0x68, 0x75, 0x3c, 0x7d, 0x6b, 0x8d, 0xf3, 0x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0xc5, 0xc9, 0x9e, 0xc4, 0xb1, 0x1a, - 0xfc, 0x32, 0x70, 0x4e, 0xc6, 0xb6, 0x56, 0xc5, 0x09, 0x66, 0x4d, 0xf0, 0xa3, 0xb1, 0x25, 0x0a, - 0xef, 0x86, 0xd5, 0x3a, 0x69, 0x5c, 0x9e, 0x2b, 0x6d, 0x81, 0xfb, 0x7a, 0x46, 0xd9, 0x71, 0x26, - 0x8c, 0xf5, 0x39, 0xb5, 0xe1, 0xae, 0xf3, 0xe1, 0xbc, 0xa8, 0xc5, 0xaf, 0xc2, 0x39, 0x8e, 0x2b, - 0x07, 0x3e, 0xd9, 0x0b, 0x06, 0x9d, 0x8c, 0x8f, 0xcc, 0x8a, 0x5f, 0x93, 0x55, 0xb4, 0x34, 0x9e, - 0x0d, 0x5b, 0x35, 0xec, 0x08, 0x1a, 0x80, 0xf7, 0x57, 0x67, 0x70, 0xa5, 0xfe, 0x57, 0x05, 0xed, - 0xb7, 0xcb, 0xab, 0x07, 0x5e, 0xf2, 0xf5, 0xc5, 0x5b, 0xb7, 0x7c, 0x1e, 0x5e, 0x9b, 0xbc, 0xf2, - 0xdb, 0xaf, 0x03, 0xbe, 0x53, 0x5e, 0xb6, 0xba, 0x9d, 0x6a, 0xd9, 0xeb, 0xd4, 0x3a, 0x45, 0x37, - 0xbe, 0x45, 0xb5, 0x7e, 0xaa, 0xf5, 0xfe, 0xe2, 0xfa, 0x63, 0xcf, 0xd9, 0x0f, 0x77, 0x33, 0x7f, - 0xcf, 0xec, 0xa6, 0x91, 0x3f, 0x65, 0x81, 0x3d, 0x7d, 0x5b, 0x9c, 0x99, 0x81, 0xc2, 0xf4, 0x15, - 0xa7, 0xcd, 0xc8, 0x9e, 0xcd, 0xc5, 0x6e, 0x87, 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, 0xe3, 0xf4, - 0x08, 0x44, 0x3b, 0x07, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/scan_run.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/scan_run.pb.go deleted file mode 100644 index 62761eac..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/scan_run.pb.go +++ /dev/null @@ -1,300 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/websecurityscanner/v1beta/scan_run.proto - -package websecurityscanner - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Types of ScanRun execution state. -type ScanRun_ExecutionState int32 - -const ( - // Represents an invalid state caused by internal server error. This value - // should never be returned. - ScanRun_EXECUTION_STATE_UNSPECIFIED ScanRun_ExecutionState = 0 - // The scan is waiting in the queue. - ScanRun_QUEUED ScanRun_ExecutionState = 1 - // The scan is in progress. - ScanRun_SCANNING ScanRun_ExecutionState = 2 - // The scan is either finished or stopped by user. - ScanRun_FINISHED ScanRun_ExecutionState = 3 -) - -var ScanRun_ExecutionState_name = map[int32]string{ - 0: "EXECUTION_STATE_UNSPECIFIED", - 1: "QUEUED", - 2: "SCANNING", - 3: "FINISHED", -} - -var ScanRun_ExecutionState_value = map[string]int32{ - "EXECUTION_STATE_UNSPECIFIED": 0, - "QUEUED": 1, - "SCANNING": 2, - "FINISHED": 3, -} - -func (x ScanRun_ExecutionState) String() string { - return proto.EnumName(ScanRun_ExecutionState_name, int32(x)) -} - -func (ScanRun_ExecutionState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2eb36166aad58bfe, []int{0, 0} -} - -// Types of ScanRun result state. -type ScanRun_ResultState int32 - -const ( - // Default value. This value is returned when the ScanRun is not yet - // finished. - ScanRun_RESULT_STATE_UNSPECIFIED ScanRun_ResultState = 0 - // The scan finished without errors. - ScanRun_SUCCESS ScanRun_ResultState = 1 - // The scan finished with errors. - ScanRun_ERROR ScanRun_ResultState = 2 - // The scan was terminated by user. - ScanRun_KILLED ScanRun_ResultState = 3 -) - -var ScanRun_ResultState_name = map[int32]string{ - 0: "RESULT_STATE_UNSPECIFIED", - 1: "SUCCESS", - 2: "ERROR", - 3: "KILLED", -} - -var ScanRun_ResultState_value = map[string]int32{ - "RESULT_STATE_UNSPECIFIED": 0, - "SUCCESS": 1, - "ERROR": 2, - "KILLED": 3, -} - -func (x ScanRun_ResultState) String() string { - return proto.EnumName(ScanRun_ResultState_name, int32(x)) -} - -func (ScanRun_ResultState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2eb36166aad58bfe, []int{0, 1} -} - -// A ScanRun is a output-only resource representing an actual run of the scan. -// Next id: 12 -type ScanRun struct { - // The resource name of the ScanRun. The name follows the format of - // 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. - // The ScanRun IDs are generated by the system. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The execution state of the ScanRun. - ExecutionState ScanRun_ExecutionState `protobuf:"varint,2,opt,name=execution_state,json=executionState,proto3,enum=google.cloud.websecurityscanner.v1beta.ScanRun_ExecutionState" json:"execution_state,omitempty"` - // The result state of the ScanRun. This field is only available after the - // execution state reaches "FINISHED". - ResultState ScanRun_ResultState `protobuf:"varint,3,opt,name=result_state,json=resultState,proto3,enum=google.cloud.websecurityscanner.v1beta.ScanRun_ResultState" json:"result_state,omitempty"` - // The time at which the ScanRun started. - StartTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // The time at which the ScanRun reached termination state - that the ScanRun - // is either finished or stopped by user. - EndTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - // The number of URLs crawled during this ScanRun. If the scan is in progress, - // the value represents the number of URLs crawled up to now. - UrlsCrawledCount int64 `protobuf:"varint,6,opt,name=urls_crawled_count,json=urlsCrawledCount,proto3" json:"urls_crawled_count,omitempty"` - // The number of URLs tested during this ScanRun. If the scan is in progress, - // the value represents the number of URLs tested up to now. The number of - // URLs tested is usually larger than the number URLS crawled because - // typically a crawled URL is tested with multiple test payloads. - UrlsTestedCount int64 `protobuf:"varint,7,opt,name=urls_tested_count,json=urlsTestedCount,proto3" json:"urls_tested_count,omitempty"` - // Whether the scan run has found any vulnerabilities. - HasVulnerabilities bool `protobuf:"varint,8,opt,name=has_vulnerabilities,json=hasVulnerabilities,proto3" json:"has_vulnerabilities,omitempty"` - // The percentage of total completion ranging from 0 to 100. - // If the scan is in queue, the value is 0. - // If the scan is running, the value ranges from 0 to 100. - // If the scan is finished, the value is 100. - ProgressPercent int32 `protobuf:"varint,9,opt,name=progress_percent,json=progressPercent,proto3" json:"progress_percent,omitempty"` - // If result_state is an ERROR, this field provides the primary reason for - // scan's termination and more details, if such are available. - ErrorTrace *ScanRunErrorTrace `protobuf:"bytes,10,opt,name=error_trace,json=errorTrace,proto3" json:"error_trace,omitempty"` - // A list of warnings, if such are encountered during this scan run. - WarningTraces []*ScanRunWarningTrace `protobuf:"bytes,11,rep,name=warning_traces,json=warningTraces,proto3" json:"warning_traces,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2eb36166aad58bfe, []int{0} -} - -func (m *ScanRun) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ScanRun.Unmarshal(m, b) -} -func (m *ScanRun) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ScanRun.Marshal(b, m, deterministic) -} -func (m *ScanRun) XXX_Merge(src proto.Message) { - xxx_messageInfo_ScanRun.Merge(m, src) -} -func (m *ScanRun) XXX_Size() int { - return xxx_messageInfo_ScanRun.Size(m) -} -func (m *ScanRun) XXX_DiscardUnknown() { - xxx_messageInfo_ScanRun.DiscardUnknown(m) -} - -var xxx_messageInfo_ScanRun proto.InternalMessageInfo - -func (m *ScanRun) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ScanRun) GetExecutionState() ScanRun_ExecutionState { - if m != nil { - return m.ExecutionState - } - return ScanRun_EXECUTION_STATE_UNSPECIFIED -} - -func (m *ScanRun) GetResultState() ScanRun_ResultState { - if m != nil { - return m.ResultState - } - return ScanRun_RESULT_STATE_UNSPECIFIED -} - -func (m *ScanRun) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *ScanRun) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -func (m *ScanRun) GetUrlsCrawledCount() int64 { - if m != nil { - return m.UrlsCrawledCount - } - return 0 -} - -func (m *ScanRun) GetUrlsTestedCount() int64 { - if m != nil { - return m.UrlsTestedCount - } - return 0 -} - -func (m *ScanRun) GetHasVulnerabilities() bool { - if m != nil { - return m.HasVulnerabilities - } - return false -} - -func (m *ScanRun) GetProgressPercent() int32 { - if m != nil { - return m.ProgressPercent - } - return 0 -} - -func (m *ScanRun) GetErrorTrace() *ScanRunErrorTrace { - if m != nil { - return m.ErrorTrace - } - return nil -} - -func (m *ScanRun) GetWarningTraces() []*ScanRunWarningTrace { - if m != nil { - return m.WarningTraces - } - return nil -} - -func init() { - proto.RegisterEnum("google.cloud.websecurityscanner.v1beta.ScanRun_ExecutionState", ScanRun_ExecutionState_name, ScanRun_ExecutionState_value) - proto.RegisterEnum("google.cloud.websecurityscanner.v1beta.ScanRun_ResultState", ScanRun_ResultState_name, ScanRun_ResultState_value) - proto.RegisterType((*ScanRun)(nil), "google.cloud.websecurityscanner.v1beta.ScanRun") -} - -func init() { - proto.RegisterFile("google/cloud/websecurityscanner/v1beta/scan_run.proto", fileDescriptor_2eb36166aad58bfe) -} - -var fileDescriptor_2eb36166aad58bfe = []byte{ - // 694 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0x5f, 0x4f, 0xdb, 0x3a, - 0x18, 0xc6, 0x4f, 0x5a, 0xa0, 0xad, 0xcb, 0x29, 0x39, 0x3e, 0x37, 0x19, 0x9b, 0x44, 0xc5, 0x05, - 0x2a, 0x68, 0x4a, 0x34, 0x26, 0x2e, 0x18, 0xd2, 0xb4, 0x12, 0x02, 0xab, 0x86, 0x4a, 0x97, 0xb4, - 0xc0, 0x10, 0x5a, 0xe4, 0xa6, 0x26, 0x64, 0x4a, 0xed, 0xc8, 0x76, 0xe8, 0x26, 0xc4, 0x67, 0xdb, - 0xfd, 0x3e, 0xca, 0xb4, 0x0f, 0x31, 0xc5, 0x4e, 0x80, 0x0a, 0x24, 0xe8, 0x9d, 0xdf, 0x3f, 0xcf, - 0xef, 0x49, 0xde, 0xbc, 0x0e, 0xd8, 0x0a, 0x29, 0x0d, 0x63, 0x6c, 0x05, 0x31, 0x4d, 0x47, 0xd6, - 0x04, 0x0f, 0x39, 0x0e, 0x52, 0x16, 0x89, 0x1f, 0x3c, 0x40, 0x84, 0x60, 0x66, 0x5d, 0xbd, 0x19, - 0x62, 0x81, 0xac, 0x2c, 0xf4, 0x59, 0x4a, 0xcc, 0x84, 0x51, 0x41, 0xe1, 0x9a, 0x92, 0x99, 0x52, - 0x66, 0x3e, 0x94, 0x99, 0x4a, 0xb6, 0xfc, 0x22, 0xc7, 0xa3, 0x24, 0xb2, 0x18, 0xe6, 0x34, 0x65, - 0x01, 0x56, 0x88, 0xe5, 0xf6, 0x8c, 0xce, 0x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ang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/scan_run_error_trace.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/scan_run_error_trace.pb.go deleted file mode 100644 index 39b229cb..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/scan_run_error_trace.pb.go +++ /dev/null @@ -1,183 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/websecurityscanner/v1beta/scan_run_error_trace.proto - -package websecurityscanner - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Output only. -// Defines an error reason code. -// Next id: 7 -type ScanRunErrorTrace_Code int32 - -const ( - // Default value is never used. - ScanRunErrorTrace_CODE_UNSPECIFIED ScanRunErrorTrace_Code = 0 - // Indicates that the scan run failed due to an internal server error. - ScanRunErrorTrace_INTERNAL_ERROR ScanRunErrorTrace_Code = 1 - // Indicates a scan configuration error, usually due to outdated ScanConfig - // settings, such as starting_urls or the DNS configuration. - ScanRunErrorTrace_SCAN_CONFIG_ISSUE ScanRunErrorTrace_Code = 2 - // Indicates an authentication error, usually due to outdated ScanConfig - // authentication settings. - ScanRunErrorTrace_AUTHENTICATION_CONFIG_ISSUE ScanRunErrorTrace_Code = 3 - // Indicates a scan operation timeout, usually caused by a very large site. - ScanRunErrorTrace_TIMED_OUT_WHILE_SCANNING ScanRunErrorTrace_Code = 4 - // Indicates that a scan encountered excessive redirects, either to - // authentication or some other page outside of the scan scope. - ScanRunErrorTrace_TOO_MANY_REDIRECTS ScanRunErrorTrace_Code = 5 - // Indicates that a scan encountered numerous errors from the web site - // pages. When available, most_common_http_error_code field indicates the - // most common HTTP error code encountered during the scan. - ScanRunErrorTrace_TOO_MANY_HTTP_ERRORS ScanRunErrorTrace_Code = 6 -) - -var ScanRunErrorTrace_Code_name = map[int32]string{ - 0: "CODE_UNSPECIFIED", - 1: "INTERNAL_ERROR", - 2: "SCAN_CONFIG_ISSUE", - 3: "AUTHENTICATION_CONFIG_ISSUE", - 4: "TIMED_OUT_WHILE_SCANNING", - 5: "TOO_MANY_REDIRECTS", - 6: "TOO_MANY_HTTP_ERRORS", -} - -var ScanRunErrorTrace_Code_value = map[string]int32{ - "CODE_UNSPECIFIED": 0, - "INTERNAL_ERROR": 1, - "SCAN_CONFIG_ISSUE": 2, - "AUTHENTICATION_CONFIG_ISSUE": 3, - "TIMED_OUT_WHILE_SCANNING": 4, - "TOO_MANY_REDIRECTS": 5, - "TOO_MANY_HTTP_ERRORS": 6, -} - -func (x ScanRunErrorTrace_Code) String() string { - return proto.EnumName(ScanRunErrorTrace_Code_name, int32(x)) -} - -func (ScanRunErrorTrace_Code) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7b7ccbd97c6273c4, []int{0, 0} -} - -// Output only. -// Defines an error trace message for a ScanRun. -type ScanRunErrorTrace struct { - // Indicates the error reason code. - Code ScanRunErrorTrace_Code `protobuf:"varint,1,opt,name=code,proto3,enum=google.cloud.websecurityscanner.v1beta.ScanRunErrorTrace_Code" json:"code,omitempty"` - // If the scan encounters SCAN_CONFIG_ISSUE error, this field has the error - // message encountered during scan configuration validation that is performed - // before each scan run. - ScanConfigError *ScanConfigError `protobuf:"bytes,2,opt,name=scan_config_error,json=scanConfigError,proto3" json:"scan_config_error,omitempty"` - // If the scan encounters TOO_MANY_HTTP_ERRORS, this field indicates the most - // common HTTP error code, if such is available. For example, if this code is - // 404, the scan has encountered too many NOT_FOUND responses. - MostCommonHttpErrorCode int32 `protobuf:"varint,3,opt,name=most_common_http_error_code,json=mostCommonHttpErrorCode,proto3" json:"most_common_http_error_code,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ScanRunErrorTrace) Reset() { *m = ScanRunErrorTrace{} } -func (m *ScanRunErrorTrace) String() string { return proto.CompactTextString(m) } -func (*ScanRunErrorTrace) ProtoMessage() {} -func (*ScanRunErrorTrace) Descriptor() ([]byte, []int) { - return fileDescriptor_7b7ccbd97c6273c4, []int{0} -} - -func (m *ScanRunErrorTrace) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ScanRunErrorTrace.Unmarshal(m, b) -} -func (m *ScanRunErrorTrace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ScanRunErrorTrace.Marshal(b, m, deterministic) -} -func (m *ScanRunErrorTrace) XXX_Merge(src proto.Message) { - xxx_messageInfo_ScanRunErrorTrace.Merge(m, src) -} -func (m *ScanRunErrorTrace) XXX_Size() int { - return xxx_messageInfo_ScanRunErrorTrace.Size(m) -} -func (m *ScanRunErrorTrace) XXX_DiscardUnknown() { - xxx_messageInfo_ScanRunErrorTrace.DiscardUnknown(m) -} - -var xxx_messageInfo_ScanRunErrorTrace proto.InternalMessageInfo - -func (m *ScanRunErrorTrace) GetCode() ScanRunErrorTrace_Code { - if m != nil { - return m.Code - } - return ScanRunErrorTrace_CODE_UNSPECIFIED -} - -func (m *ScanRunErrorTrace) GetScanConfigError() *ScanConfigError { - if m != nil { - return m.ScanConfigError - } - return nil -} - -func (m *ScanRunErrorTrace) GetMostCommonHttpErrorCode() int32 { - if m != nil { - return m.MostCommonHttpErrorCode - } - return 0 -} - -func init() { - proto.RegisterEnum("google.cloud.websecurityscanner.v1beta.ScanRunErrorTrace_Code", ScanRunErrorTrace_Code_name, ScanRunErrorTrace_Code_value) - proto.RegisterType((*ScanRunErrorTrace)(nil), "google.cloud.websecurityscanner.v1beta.ScanRunErrorTrace") -} - -func init() { - proto.RegisterFile("google/cloud/websecurityscanner/v1beta/scan_run_error_trace.proto", fileDescriptor_7b7ccbd97c6273c4) -} - -var fileDescriptor_7b7ccbd97c6273c4 = []byte{ - // 453 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0x41, 0x6f, 0xd3, 0x30, - 0x1c, 0xc5, 0x49, 0xdb, 0xed, 0x60, 0xa4, 0x91, 0x5a, 0x63, 0x54, 0x0c, 0x89, 0x6a, 0x87, 0xa9, - 0xe2, 0x90, 0x88, 0x71, 0xe0, 0x00, 0x9a, 0x94, 0xb9, 0x5e, 0x6b, 0x69, 0x4b, 0x2a, 0xc7, 0x65, - 0x80, 0x2a, 0x59, 0xa9, 0x6b, 0x42, 0xa5, 0xd6, 0xae, 0x1c, 0x17, 0xc4, 0x37, 0xe3, 0x0b, 0x70, - 0x80, 0x4f, 0x85, 0xec, 0x54, 0x48, 0x90, 0x03, 0xeb, 0x2d, 0xf9, 0xfb, 0xbd, 0xdf, 0x7b, 0x71, - 0xfe, 0x20, 0x29, 0xb5, 0x2e, 0x57, 0x32, 0x16, 0x2b, 0xbd, 0x5d, 0xc4, 0x5f, 0xe5, 0xbc, 0x92, - 0x62, 0x6b, 0x96, 0xf6, 0x5b, 0x25, 0x0a, 0xa5, 0xa4, 0x89, 0xbf, 0xbc, 0x9c, 0x4b, 0x5b, 0xc4, - 0xee, 0x95, 0x9b, 0xad, 0xe2, 0xd2, 0x18, 0x6d, 0xb8, 0x35, 0x85, 0x90, 0xd1, 0xc6, 0x68, 0xab, - 0xe1, 0x79, 0x8d, 0x88, 0x3c, 0x22, 0x6a, 0x22, 0xa2, 0x1a, 0xf1, 0xf4, 0x72, 0x9f, 0x28, 0xa1, - 0xd5, 0xa7, 0x65, 0x59, 0xa7, 0xd5, 0x39, 0x67, 0x3f, 0xda, 0xa0, 0x9b, 0x8b, 0x42, 0xd1, 0xad, - 0xc2, 0x6e, 0xcc, 0x5c, 0x07, 0x48, 0x41, 0x47, 0xe8, 0x85, 0xec, 0x05, 0xfd, 0x60, 0x70, 0x74, - 0x71, 0x19, 0xdd, 0xaf, 0x4c, 0xd4, 0x00, 0x45, 0x48, 0x2f, 0x24, 0xf5, 0x2c, 0x28, 0x40, 0xb7, - 0x51, 0xa2, 0xd7, 0xea, 0x07, 0x83, 0x87, 0x17, 0xaf, 0xf7, 0x09, 0x40, 0xde, 0xef, 0x33, 0xe8, - 0xa3, 0xea, 0xef, 0x01, 0x7c, 0x0b, 0x4e, 0xd7, 0xba, 0xb2, 0x5c, 0xe8, 0xf5, 0x5a, 0x2b, 0xfe, - 0xd9, 0xda, 0xcd, 0xee, 0x72, 0xfd, 0xf7, 0xb4, 0xfb, 0xc1, 0xe0, 0x80, 0x3e, 0x71, 0x12, 0xe4, - 0x15, 0x63, 0x6b, 0x37, 0xde, 0xe9, 0x8a, 0x9e, 0x7d, 0x0f, 0x40, 0xc7, 0x3d, 0xc0, 0x63, 0x10, - 0xa2, 0x6c, 0x88, 0xf9, 0x34, 0xcd, 0x27, 0x18, 0x91, 0x6b, 0x82, 0x87, 0xe1, 0x03, 0x08, 0xc1, - 0x11, 0x49, 0x19, 0xa6, 0x69, 0x72, 0xc3, 0x31, 0xa5, 0x19, 0x0d, 0x03, 0xf8, 0x18, 0x74, 0x73, - 0x94, 0xa4, 0x1c, 0x65, 0xe9, 0x35, 0x19, 0x71, 0x92, 0xe7, 0x53, 0x1c, 0xb6, 0xe0, 0x73, 0x70, - 0x9a, 0x4c, 0xd9, 0x18, 0xa7, 0x8c, 0xa0, 0x84, 0x91, 0xec, 0x1f, 0x41, 0x1b, 0x3e, 0x03, 0x3d, - 0x46, 0x6e, 0xf1, 0x90, 0x67, 0x53, 0xc6, 0xef, 0xc6, 0xe4, 0x06, 0x73, 0xc7, 0x49, 0x49, 0x3a, - 0x0a, 0x3b, 0xf0, 0x04, 0x40, 0x96, 0x65, 0xfc, 0x36, 0x49, 0x3f, 0x70, 0x8a, 0x87, 0x84, 0x62, - 0xc4, 0xf2, 0xf0, 0x00, 0xf6, 0xc0, 0xf1, 0x9f, 0xf9, 0x98, 0xb1, 0x49, 0x5d, 0x23, 0x0f, 0x0f, - 0xaf, 0x7e, 0x06, 0xe0, 0x85, 0xd0, 0xeb, 0x7b, 0x5e, 0xe4, 0xd5, 0x49, 0xe3, 0x57, 0x4d, 0xdc, - 0x3a, 0x4c, 0x82, 0x8f, 0xef, 0x77, 0x84, 0x52, 0xaf, 0x0a, 0x55, 0x46, 0xda, 0x94, 0x71, 0x29, - 0x95, 0x5f, 0x96, 0xb8, 0x3e, 0x2a, 0x36, 0xcb, 0xea, 0x7f, 0xfb, 0xf6, 0xa6, 0x79, 0xf2, 0xab, - 0x75, 0x3e, 0xf2, 0xfe, 0x19, 0x72, 0xde, 0xd9, 0x9d, 0x9c, 0xe7, 0x3b, 0x45, 0x5e, 0x2b, 0x66, - 0xef, 0xbc, 0x77, 0x7e, 0xe8, 0xd3, 0x5e, 0xfd, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x40, 0x74, 0x95, - 0x2e, 0x47, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/scan_run_warning_trace.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/scan_run_warning_trace.pb.go deleted file mode 100644 index 7ecab576..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/scan_run_warning_trace.pb.go +++ /dev/null @@ -1,147 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/websecurityscanner/v1beta/scan_run_warning_trace.proto - -package websecurityscanner - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Output only. -// Defines a warning message code. -// Next id: 6 -type ScanRunWarningTrace_Code int32 - -const ( - // Default value is never used. - ScanRunWarningTrace_CODE_UNSPECIFIED ScanRunWarningTrace_Code = 0 - // Indicates that a scan discovered an unexpectedly low number of URLs. This - // is sometimes caused by complex navigation features or by using a single - // URL for numerous pages. - ScanRunWarningTrace_INSUFFICIENT_CRAWL_RESULTS ScanRunWarningTrace_Code = 1 - // Indicates that a scan discovered too many URLs to test, or excessive - // redundant URLs. - ScanRunWarningTrace_TOO_MANY_CRAWL_RESULTS ScanRunWarningTrace_Code = 2 - // Indicates that too many tests have been generated for the scan. Customer - // should try reducing the number of starting URLs, increasing the QPS rate, - // or narrowing down the scope of the scan using the excluded patterns. - ScanRunWarningTrace_TOO_MANY_FUZZ_TASKS ScanRunWarningTrace_Code = 3 - // Indicates that a scan is blocked by IAP. - ScanRunWarningTrace_BLOCKED_BY_IAP ScanRunWarningTrace_Code = 4 -) - -var ScanRunWarningTrace_Code_name = map[int32]string{ - 0: "CODE_UNSPECIFIED", - 1: "INSUFFICIENT_CRAWL_RESULTS", - 2: "TOO_MANY_CRAWL_RESULTS", - 3: "TOO_MANY_FUZZ_TASKS", - 4: "BLOCKED_BY_IAP", -} - -var ScanRunWarningTrace_Code_value = map[string]int32{ - "CODE_UNSPECIFIED": 0, - "INSUFFICIENT_CRAWL_RESULTS": 1, - "TOO_MANY_CRAWL_RESULTS": 2, - "TOO_MANY_FUZZ_TASKS": 3, - "BLOCKED_BY_IAP": 4, -} - -func (x ScanRunWarningTrace_Code) String() string { - return proto.EnumName(ScanRunWarningTrace_Code_name, int32(x)) -} - -func (ScanRunWarningTrace_Code) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8ce6d2f19679e52d, []int{0, 0} -} - -// Output only. -// Defines a warning trace message for ScanRun. Warning traces provide customers -// with useful information that helps make the scanning process more effective. -type ScanRunWarningTrace struct { - // Indicates the warning code. - Code ScanRunWarningTrace_Code `protobuf:"varint,1,opt,name=code,proto3,enum=google.cloud.websecurityscanner.v1beta.ScanRunWarningTrace_Code" json:"code,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ScanRunWarningTrace) Reset() { *m = ScanRunWarningTrace{} } -func (m *ScanRunWarningTrace) String() string { return proto.CompactTextString(m) } -func (*ScanRunWarningTrace) ProtoMessage() {} -func (*ScanRunWarningTrace) Descriptor() ([]byte, []int) { - return fileDescriptor_8ce6d2f19679e52d, []int{0} -} - -func (m *ScanRunWarningTrace) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ScanRunWarningTrace.Unmarshal(m, b) -} -func (m *ScanRunWarningTrace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ScanRunWarningTrace.Marshal(b, m, deterministic) -} -func (m *ScanRunWarningTrace) XXX_Merge(src proto.Message) { - xxx_messageInfo_ScanRunWarningTrace.Merge(m, src) -} -func (m *ScanRunWarningTrace) XXX_Size() int { - return xxx_messageInfo_ScanRunWarningTrace.Size(m) -} -func (m *ScanRunWarningTrace) XXX_DiscardUnknown() { - xxx_messageInfo_ScanRunWarningTrace.DiscardUnknown(m) -} - -var xxx_messageInfo_ScanRunWarningTrace proto.InternalMessageInfo - -func (m *ScanRunWarningTrace) GetCode() ScanRunWarningTrace_Code { - if m != nil { - return m.Code - } - return ScanRunWarningTrace_CODE_UNSPECIFIED -} - -func init() { - proto.RegisterEnum("google.cloud.websecurityscanner.v1beta.ScanRunWarningTrace_Code", ScanRunWarningTrace_Code_name, ScanRunWarningTrace_Code_value) - proto.RegisterType((*ScanRunWarningTrace)(nil), "google.cloud.websecurityscanner.v1beta.ScanRunWarningTrace") -} - -func init() { - proto.RegisterFile("google/cloud/websecurityscanner/v1beta/scan_run_warning_trace.proto", fileDescriptor_8ce6d2f19679e52d) -} - -var fileDescriptor_8ce6d2f19679e52d = []byte{ - // 340 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0xd1, 0x41, 0x4b, 0xc3, 0x30, - 0x14, 0x07, 0x70, 0x3b, 0x87, 0x87, 0x1c, 0x46, 0xc9, 0x44, 0xc7, 0x0e, 0x22, 0x3b, 0x0c, 0xf1, - 0x90, 0xa2, 0x1e, 0xbd, 0xd8, 0x66, 0xad, 0x94, 0xcd, 0xb6, 0x34, 0xad, 0x73, 0x63, 0x10, 0xda, - 0x2e, 0x84, 0xc1, 0x4c, 0x46, 0xd6, 0x3a, 0xfc, 0x00, 0x7e, 0x39, 0xfd, 0x38, 0x7e, 0x01, 0x69, - 0x3b, 0x3c, 0xb8, 0x81, 0x3b, 0x3e, 0xfe, 0xef, 0xfd, 0xc2, 0xcb, 0x03, 0x98, 0x4b, 0xc9, 0x97, - 0xcc, 0xc8, 0x96, 0xb2, 0x98, 0x1b, 0x1b, 0x96, 0xae, 0x59, 0x56, 0xa8, 0x45, 0xfe, 0xbe, 0xce, - 0x12, 0x21, 0x98, 0x32, 0xde, 0x6e, 0x52, 0x96, 0x27, 0x46, 0x59, 0x52, 0x55, 0x08, 0xba, 0x49, - 0x94, 0x58, 0x08, 0x4e, 0x73, 0x95, 0x64, 0x0c, 0xad, 0x94, 0xcc, 0x25, 0xec, 0xd7, 0x08, 0xaa, - 0x10, 0xb4, 0x8b, 0xa0, 0x1a, 0xe9, 0x7d, 0x6b, 0xa0, 0x4d, 0xb2, 0x44, 0x84, 0x85, 0x18, 0xd7, - 0x4c, 0x54, 0x2a, 0x30, 0x02, 0xcd, 0x4c, 0xce, 0x59, 0x47, 0xbb, 0xd4, 0xae, 0x5a, 0xb7, 0x0f, - 0xe8, 0x30, 0x0e, 0xed, 0xa1, 0x10, 0x96, 0x73, 0x16, 0x56, 0x5a, 0xef, 0x43, 0x03, 0xcd, 0xb2, - 0x84, 0xa7, 0x40, 0xc7, 0xfe, 0xc0, 0xa6, 0xb1, 0x47, 0x02, 0x1b, 0xbb, 0x8e, 0x6b, 0x0f, 0xf4, - 0x23, 0x78, 0x01, 0xba, 0xae, 0x47, 0x62, 0xc7, 0x71, 0xb1, 0x6b, 0x7b, 0x11, 0xc5, 0xa1, 0x39, - 0x1e, 0xd1, 0xd0, 0x26, 0xf1, 0x28, 0x22, 0xba, 0x06, 0xbb, 0xe0, 0x2c, 0xf2, 0x7d, 0xfa, 0x64, - 0x7a, 0x93, 0x3f, 0x59, 0x03, 0x9e, 0x83, 0xf6, 0x6f, 0xe6, 0xc4, 0xd3, 0x29, 0x8d, 0x4c, 0x32, - 0x24, 0xfa, 0x31, 0x84, 0xa0, 0x65, 0x8d, 0x7c, 0x3c, 0xb4, 0x07, 0xd4, 0x9a, 0x50, 0xd7, 0x0c, - 0xf4, 0xa6, 0xf5, 0xa5, 0x81, 0xeb, 0x4c, 0xbe, 0x1e, 0xb8, 0x95, 0xd5, 0xd9, 0xb3, 0x56, 0x50, - 0x7e, 0x73, 0xa0, 0x4d, 0x5f, 0xb6, 0x06, 0x97, 0xcb, 0x44, 0x70, 0x24, 0x15, 0x37, 0x38, 0x13, - 0xd5, 0x11, 0x8c, 0x3a, 0x4a, 0x56, 0x8b, 0xf5, 0x7f, 0xc7, 0xbc, 0xdf, 0x4d, 0x3e, 0x1b, 0xfd, - 0xc7, 0x6a, 0x7e, 0x86, 0xcb, 0xd9, 0xd9, 0x98, 0xa5, 0x64, 0xdb, 0x41, 0xea, 0x8e, 0xd9, 0x73, - 0x35, 0x9b, 0x9e, 0x54, 0xaf, 0xdd, 0xfd, 0x04, 0x00, 0x00, 0xff, 0xff, 0xb7, 0x57, 0x2f, 0x52, - 0x39, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/web_security_scanner.pb.go b/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/web_security_scanner.pb.go deleted file mode 100644 index e95f0534..00000000 --- a/vendor/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/web_security_scanner.pb.go +++ /dev/null @@ -1,1600 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/cloud/websecurityscanner/v1beta/web_security_scanner.proto - -package websecurityscanner - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request for the `CreateScanConfig` method. -type CreateScanConfigRequest struct { - // Required. The parent resource name where the scan is created, which should be a - // project resource name in the format 'projects/{projectId}'. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The ScanConfig to be created. - 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 *CreateScanConfigRequest) Reset() { *m = CreateScanConfigRequest{} } -func (m *CreateScanConfigRequest) String() string { return proto.CompactTextString(m) } -func (*CreateScanConfigRequest) ProtoMessage() {} -func (*CreateScanConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_aab783dd0f551f53, []int{0} -} - -func (m *CreateScanConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateScanConfigRequest.Unmarshal(m, b) -} -func (m *CreateScanConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateScanConfigRequest.Marshal(b, m, deterministic) -} -func (m *CreateScanConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateScanConfigRequest.Merge(m, src) -} -func (m *CreateScanConfigRequest) XXX_Size() int { - return xxx_messageInfo_CreateScanConfigRequest.Size(m) -} -func (m *CreateScanConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateScanConfigRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateScanConfigRequest proto.InternalMessageInfo - -func (m *CreateScanConfigRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateScanConfigRequest) GetScanConfig() *ScanConfig { - if m != nil { - return m.ScanConfig - } - return nil -} - -// Request for the `DeleteScanConfig` method. -type DeleteScanConfigRequest struct { - // Required. The resource name of the ScanConfig to be deleted. The name follows the - // format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. - 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 *DeleteScanConfigRequest) Reset() { *m = DeleteScanConfigRequest{} } -func (m *DeleteScanConfigRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteScanConfigRequest) ProtoMessage() {} -func (*DeleteScanConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_aab783dd0f551f53, []int{1} -} - -func (m *DeleteScanConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteScanConfigRequest.Unmarshal(m, b) -} -func (m *DeleteScanConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteScanConfigRequest.Marshal(b, m, deterministic) -} -func (m *DeleteScanConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteScanConfigRequest.Merge(m, src) -} -func (m *DeleteScanConfigRequest) XXX_Size() int { - return xxx_messageInfo_DeleteScanConfigRequest.Size(m) -} -func (m *DeleteScanConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteScanConfigRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteScanConfigRequest proto.InternalMessageInfo - -func (m *DeleteScanConfigRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request for the `GetScanConfig` method. -type GetScanConfigRequest struct { - // Required. The resource name of the ScanConfig to be returned. The name follows the - // format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. - 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_aab783dd0f551f53, []int{2} -} - -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 (m *GetScanConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetScanConfigRequest.Merge(m, 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 for the `ListScanConfigs` method. -type ListScanConfigsRequest struct { - // Required. The parent resource name, which should be a project resource name in the - // format 'projects/{projectId}'. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // A token identifying a page of results to be returned. This should be a - // `next_page_token` value returned from a previous List request. - // If unspecified, the first page of results is returned. - PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // The maximum number of ScanConfigs to return, can be limited by server. - // If not specified or not positive, the implementation will select a - // reasonable value. - 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 *ListScanConfigsRequest) Reset() { *m = ListScanConfigsRequest{} } -func (m *ListScanConfigsRequest) String() string { return proto.CompactTextString(m) } -func (*ListScanConfigsRequest) ProtoMessage() {} -func (*ListScanConfigsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_aab783dd0f551f53, []int{3} -} - -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 (m *ListScanConfigsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListScanConfigsRequest.Merge(m, 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) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListScanConfigsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -// Request for the `UpdateScanConfigRequest` method. -type UpdateScanConfigRequest struct { - // Required. The ScanConfig to be updated. The name field must be set to identify the - // resource to be updated. The values of fields not covered by the mask - // will be ignored. - ScanConfig *ScanConfig `protobuf:"bytes,2,opt,name=scan_config,json=scanConfig,proto3" json:"scan_config,omitempty"` - // Required. The update mask applies to the resource. For the `FieldMask` definition, - // see - // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask - 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 *UpdateScanConfigRequest) Reset() { *m = UpdateScanConfigRequest{} } -func (m *UpdateScanConfigRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateScanConfigRequest) ProtoMessage() {} -func (*UpdateScanConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_aab783dd0f551f53, []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 (m *UpdateScanConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateScanConfigRequest.Merge(m, 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) GetScanConfig() *ScanConfig { - if m != nil { - return m.ScanConfig - } - return nil -} - -func (m *UpdateScanConfigRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// Response for the `ListScanConfigs` method. -type ListScanConfigsResponse struct { - // The list of ScanConfigs returned. - ScanConfigs []*ScanConfig `protobuf:"bytes,1,rep,name=scan_configs,json=scanConfigs,proto3" json:"scan_configs,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 *ListScanConfigsResponse) Reset() { *m = ListScanConfigsResponse{} } -func (m *ListScanConfigsResponse) String() string { return proto.CompactTextString(m) } -func (*ListScanConfigsResponse) ProtoMessage() {} -func (*ListScanConfigsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_aab783dd0f551f53, []int{5} -} - -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 (m *ListScanConfigsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListScanConfigsResponse.Merge(m, 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 "" -} - -// Request for the `StartScanRun` method. -type StartScanRunRequest struct { - // Required. The resource name of the ScanConfig to be used. The name follows the - // format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. - 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 *StartScanRunRequest) Reset() { *m = StartScanRunRequest{} } -func (m *StartScanRunRequest) String() string { return proto.CompactTextString(m) } -func (*StartScanRunRequest) ProtoMessage() {} -func (*StartScanRunRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_aab783dd0f551f53, []int{6} -} - -func (m *StartScanRunRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StartScanRunRequest.Unmarshal(m, b) -} -func (m *StartScanRunRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StartScanRunRequest.Marshal(b, m, deterministic) -} -func (m *StartScanRunRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartScanRunRequest.Merge(m, src) -} -func (m *StartScanRunRequest) XXX_Size() int { - return xxx_messageInfo_StartScanRunRequest.Size(m) -} -func (m *StartScanRunRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StartScanRunRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_StartScanRunRequest proto.InternalMessageInfo - -func (m *StartScanRunRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request for the `GetScanRun` method. -type GetScanRunRequest struct { - // Required. The resource name of the ScanRun to be returned. The name follows the - // format of - // 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. - 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 *GetScanRunRequest) Reset() { *m = GetScanRunRequest{} } -func (m *GetScanRunRequest) String() string { return proto.CompactTextString(m) } -func (*GetScanRunRequest) ProtoMessage() {} -func (*GetScanRunRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_aab783dd0f551f53, []int{7} -} - -func (m *GetScanRunRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetScanRunRequest.Unmarshal(m, b) -} -func (m *GetScanRunRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetScanRunRequest.Marshal(b, m, deterministic) -} -func (m *GetScanRunRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetScanRunRequest.Merge(m, src) -} -func (m *GetScanRunRequest) XXX_Size() int { - return xxx_messageInfo_GetScanRunRequest.Size(m) -} -func (m *GetScanRunRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetScanRunRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetScanRunRequest proto.InternalMessageInfo - -func (m *GetScanRunRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request for the `ListScanRuns` method. -type ListScanRunsRequest struct { - // Required. The parent resource name, which should be a scan resource name in the - // format 'projects/{projectId}/scanConfigs/{scanConfigId}'. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // A token identifying a page of results to be returned. This should be a - // `next_page_token` value returned from a previous List request. - // If unspecified, the first page of results is returned. - PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // The maximum number of ScanRuns to return, can be limited by server. - // If not specified or not positive, the implementation will select a - // reasonable value. - 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 *ListScanRunsRequest) Reset() { *m = ListScanRunsRequest{} } -func (m *ListScanRunsRequest) String() string { return proto.CompactTextString(m) } -func (*ListScanRunsRequest) ProtoMessage() {} -func (*ListScanRunsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_aab783dd0f551f53, []int{8} -} - -func (m *ListScanRunsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListScanRunsRequest.Unmarshal(m, b) -} -func (m *ListScanRunsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListScanRunsRequest.Marshal(b, m, deterministic) -} -func (m *ListScanRunsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListScanRunsRequest.Merge(m, src) -} -func (m *ListScanRunsRequest) XXX_Size() int { - return xxx_messageInfo_ListScanRunsRequest.Size(m) -} -func (m *ListScanRunsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListScanRunsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListScanRunsRequest proto.InternalMessageInfo - -func (m *ListScanRunsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListScanRunsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListScanRunsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -// Response for the `ListScanRuns` method. -type ListScanRunsResponse struct { - // The list of ScanRuns returned. - ScanRuns []*ScanRun `protobuf:"bytes,1,rep,name=scan_runs,json=scanRuns,proto3" json:"scan_runs,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 *ListScanRunsResponse) Reset() { *m = ListScanRunsResponse{} } -func (m *ListScanRunsResponse) String() string { return proto.CompactTextString(m) } -func (*ListScanRunsResponse) ProtoMessage() {} -func (*ListScanRunsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_aab783dd0f551f53, []int{9} -} - -func (m *ListScanRunsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListScanRunsResponse.Unmarshal(m, b) -} -func (m *ListScanRunsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListScanRunsResponse.Marshal(b, m, deterministic) -} -func (m *ListScanRunsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListScanRunsResponse.Merge(m, src) -} -func (m *ListScanRunsResponse) XXX_Size() int { - return xxx_messageInfo_ListScanRunsResponse.Size(m) -} -func (m *ListScanRunsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListScanRunsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListScanRunsResponse proto.InternalMessageInfo - -func (m *ListScanRunsResponse) GetScanRuns() []*ScanRun { - if m != nil { - return m.ScanRuns - } - return nil -} - -func (m *ListScanRunsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request for the `StopScanRun` method. -type StopScanRunRequest struct { - // Required. The resource name of the ScanRun to be stopped. The name follows the - // format of - // 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. - 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 *StopScanRunRequest) Reset() { *m = StopScanRunRequest{} } -func (m *StopScanRunRequest) String() string { return proto.CompactTextString(m) } -func (*StopScanRunRequest) ProtoMessage() {} -func (*StopScanRunRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_aab783dd0f551f53, []int{10} -} - -func (m *StopScanRunRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StopScanRunRequest.Unmarshal(m, b) -} -func (m *StopScanRunRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StopScanRunRequest.Marshal(b, m, deterministic) -} -func (m *StopScanRunRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StopScanRunRequest.Merge(m, src) -} -func (m *StopScanRunRequest) XXX_Size() int { - return xxx_messageInfo_StopScanRunRequest.Size(m) -} -func (m *StopScanRunRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StopScanRunRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_StopScanRunRequest proto.InternalMessageInfo - -func (m *StopScanRunRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request for the `ListCrawledUrls` method. -type ListCrawledUrlsRequest struct { - // Required. The parent resource name, which should be a scan run resource name in the - // format - // 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // A token identifying a page of results to be returned. This should be a - // `next_page_token` value returned from a previous List request. - // If unspecified, the first page of results is returned. - PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // The maximum number of CrawledUrls to return, can be limited by server. - // If not specified or not positive, the implementation will select a - // reasonable value. - 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 *ListCrawledUrlsRequest) Reset() { *m = ListCrawledUrlsRequest{} } -func (m *ListCrawledUrlsRequest) String() string { return proto.CompactTextString(m) } -func (*ListCrawledUrlsRequest) ProtoMessage() {} -func (*ListCrawledUrlsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_aab783dd0f551f53, []int{11} -} - -func (m *ListCrawledUrlsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCrawledUrlsRequest.Unmarshal(m, b) -} -func (m *ListCrawledUrlsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCrawledUrlsRequest.Marshal(b, m, deterministic) -} -func (m *ListCrawledUrlsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCrawledUrlsRequest.Merge(m, src) -} -func (m *ListCrawledUrlsRequest) XXX_Size() int { - return xxx_messageInfo_ListCrawledUrlsRequest.Size(m) -} -func (m *ListCrawledUrlsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListCrawledUrlsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListCrawledUrlsRequest proto.InternalMessageInfo - -func (m *ListCrawledUrlsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListCrawledUrlsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListCrawledUrlsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -// Response for the `ListCrawledUrls` method. -type ListCrawledUrlsResponse struct { - // The list of CrawledUrls returned. - CrawledUrls []*CrawledUrl `protobuf:"bytes,1,rep,name=crawled_urls,json=crawledUrls,proto3" json:"crawled_urls,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 *ListCrawledUrlsResponse) Reset() { *m = ListCrawledUrlsResponse{} } -func (m *ListCrawledUrlsResponse) String() string { return proto.CompactTextString(m) } -func (*ListCrawledUrlsResponse) ProtoMessage() {} -func (*ListCrawledUrlsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_aab783dd0f551f53, []int{12} -} - -func (m *ListCrawledUrlsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCrawledUrlsResponse.Unmarshal(m, b) -} -func (m *ListCrawledUrlsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCrawledUrlsResponse.Marshal(b, m, deterministic) -} -func (m *ListCrawledUrlsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCrawledUrlsResponse.Merge(m, src) -} -func (m *ListCrawledUrlsResponse) XXX_Size() int { - return xxx_messageInfo_ListCrawledUrlsResponse.Size(m) -} -func (m *ListCrawledUrlsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListCrawledUrlsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListCrawledUrlsResponse proto.InternalMessageInfo - -func (m *ListCrawledUrlsResponse) GetCrawledUrls() []*CrawledUrl { - if m != nil { - return m.CrawledUrls - } - return nil -} - -func (m *ListCrawledUrlsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request for the `GetFinding` method. -type GetFindingRequest struct { - // Required. The resource name of the Finding to be returned. The name follows the - // format of - // 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}/findings/{findingId}'. - 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 *GetFindingRequest) Reset() { *m = GetFindingRequest{} } -func (m *GetFindingRequest) String() string { return proto.CompactTextString(m) } -func (*GetFindingRequest) ProtoMessage() {} -func (*GetFindingRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_aab783dd0f551f53, []int{13} -} - -func (m *GetFindingRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetFindingRequest.Unmarshal(m, b) -} -func (m *GetFindingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetFindingRequest.Marshal(b, m, deterministic) -} -func (m *GetFindingRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetFindingRequest.Merge(m, src) -} -func (m *GetFindingRequest) XXX_Size() int { - return xxx_messageInfo_GetFindingRequest.Size(m) -} -func (m *GetFindingRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetFindingRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetFindingRequest proto.InternalMessageInfo - -func (m *GetFindingRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request for the `ListFindings` method. -type ListFindingsRequest struct { - // Required. The parent resource name, which should be a scan run resource name in the - // format - // 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The filter expression. The expression must be in the format: - // . - // Supported field: 'finding_type'. - // Supported operator: '='. - Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` - // A token identifying a page of results to be returned. This should be a - // `next_page_token` value returned from a previous List request. - // If unspecified, the first page of results is returned. - PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // The maximum number of Findings to return, can be limited by server. - // If not specified or not positive, the implementation will select a - // reasonable value. - 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 *ListFindingsRequest) Reset() { *m = ListFindingsRequest{} } -func (m *ListFindingsRequest) String() string { return proto.CompactTextString(m) } -func (*ListFindingsRequest) ProtoMessage() {} -func (*ListFindingsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_aab783dd0f551f53, []int{14} -} - -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 (m *ListFindingsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFindingsRequest.Merge(m, 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) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListFindingsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -// Response for the `ListFindings` method. -type ListFindingsResponse struct { - // The list of Findings returned. - Findings []*Finding `protobuf:"bytes,1,rep,name=findings,proto3" json:"findings,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 *ListFindingsResponse) Reset() { *m = ListFindingsResponse{} } -func (m *ListFindingsResponse) String() string { return proto.CompactTextString(m) } -func (*ListFindingsResponse) ProtoMessage() {} -func (*ListFindingsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_aab783dd0f551f53, []int{15} -} - -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 (m *ListFindingsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFindingsResponse.Merge(m, 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) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request for the `ListFindingTypeStats` method. -type ListFindingTypeStatsRequest struct { - // Required. The parent resource name, which should be a scan run resource name in the - // format - // 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. - 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 *ListFindingTypeStatsRequest) Reset() { *m = ListFindingTypeStatsRequest{} } -func (m *ListFindingTypeStatsRequest) String() string { return proto.CompactTextString(m) } -func (*ListFindingTypeStatsRequest) ProtoMessage() {} -func (*ListFindingTypeStatsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_aab783dd0f551f53, []int{16} -} - -func (m *ListFindingTypeStatsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListFindingTypeStatsRequest.Unmarshal(m, b) -} -func (m *ListFindingTypeStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListFindingTypeStatsRequest.Marshal(b, m, deterministic) -} -func (m *ListFindingTypeStatsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFindingTypeStatsRequest.Merge(m, src) -} -func (m *ListFindingTypeStatsRequest) XXX_Size() int { - return xxx_messageInfo_ListFindingTypeStatsRequest.Size(m) -} -func (m *ListFindingTypeStatsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListFindingTypeStatsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListFindingTypeStatsRequest proto.InternalMessageInfo - -func (m *ListFindingTypeStatsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -// Response for the `ListFindingTypeStats` method. -type ListFindingTypeStatsResponse struct { - // The list of FindingTypeStats returned. - FindingTypeStats []*FindingTypeStats `protobuf:"bytes,1,rep,name=finding_type_stats,json=findingTypeStats,proto3" json:"finding_type_stats,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListFindingTypeStatsResponse) Reset() { *m = ListFindingTypeStatsResponse{} } -func (m *ListFindingTypeStatsResponse) String() string { return proto.CompactTextString(m) } -func (*ListFindingTypeStatsResponse) ProtoMessage() {} -func (*ListFindingTypeStatsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_aab783dd0f551f53, []int{17} -} - -func (m *ListFindingTypeStatsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListFindingTypeStatsResponse.Unmarshal(m, b) -} -func (m *ListFindingTypeStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListFindingTypeStatsResponse.Marshal(b, m, deterministic) -} -func (m *ListFindingTypeStatsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFindingTypeStatsResponse.Merge(m, src) -} -func (m *ListFindingTypeStatsResponse) XXX_Size() int { - return xxx_messageInfo_ListFindingTypeStatsResponse.Size(m) -} -func (m *ListFindingTypeStatsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListFindingTypeStatsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListFindingTypeStatsResponse proto.InternalMessageInfo - -func (m *ListFindingTypeStatsResponse) GetFindingTypeStats() []*FindingTypeStats { - if m != nil { - return m.FindingTypeStats - } - return nil -} - -func init() { - proto.RegisterType((*CreateScanConfigRequest)(nil), "google.cloud.websecurityscanner.v1beta.CreateScanConfigRequest") - proto.RegisterType((*DeleteScanConfigRequest)(nil), "google.cloud.websecurityscanner.v1beta.DeleteScanConfigRequest") - proto.RegisterType((*GetScanConfigRequest)(nil), "google.cloud.websecurityscanner.v1beta.GetScanConfigRequest") - proto.RegisterType((*ListScanConfigsRequest)(nil), "google.cloud.websecurityscanner.v1beta.ListScanConfigsRequest") - proto.RegisterType((*UpdateScanConfigRequest)(nil), "google.cloud.websecurityscanner.v1beta.UpdateScanConfigRequest") - proto.RegisterType((*ListScanConfigsResponse)(nil), "google.cloud.websecurityscanner.v1beta.ListScanConfigsResponse") - proto.RegisterType((*StartScanRunRequest)(nil), "google.cloud.websecurityscanner.v1beta.StartScanRunRequest") - proto.RegisterType((*GetScanRunRequest)(nil), "google.cloud.websecurityscanner.v1beta.GetScanRunRequest") - proto.RegisterType((*ListScanRunsRequest)(nil), "google.cloud.websecurityscanner.v1beta.ListScanRunsRequest") - proto.RegisterType((*ListScanRunsResponse)(nil), "google.cloud.websecurityscanner.v1beta.ListScanRunsResponse") - proto.RegisterType((*StopScanRunRequest)(nil), "google.cloud.websecurityscanner.v1beta.StopScanRunRequest") - proto.RegisterType((*ListCrawledUrlsRequest)(nil), "google.cloud.websecurityscanner.v1beta.ListCrawledUrlsRequest") - proto.RegisterType((*ListCrawledUrlsResponse)(nil), "google.cloud.websecurityscanner.v1beta.ListCrawledUrlsResponse") - proto.RegisterType((*GetFindingRequest)(nil), "google.cloud.websecurityscanner.v1beta.GetFindingRequest") - proto.RegisterType((*ListFindingsRequest)(nil), "google.cloud.websecurityscanner.v1beta.ListFindingsRequest") - proto.RegisterType((*ListFindingsResponse)(nil), "google.cloud.websecurityscanner.v1beta.ListFindingsResponse") - proto.RegisterType((*ListFindingTypeStatsRequest)(nil), "google.cloud.websecurityscanner.v1beta.ListFindingTypeStatsRequest") - proto.RegisterType((*ListFindingTypeStatsResponse)(nil), "google.cloud.websecurityscanner.v1beta.ListFindingTypeStatsResponse") -} - -func init() { - proto.RegisterFile("google/cloud/websecurityscanner/v1beta/web_security_scanner.proto", fileDescriptor_aab783dd0f551f53) -} - -var fileDescriptor_aab783dd0f551f53 = []byte{ - // 1343 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0x41, 0x6f, 0x1b, 0x45, - 0x14, 0xd6, 0x24, 0x25, 0x4a, 0xc6, 0x89, 0x1a, 0xa6, 0x55, 0x1c, 0x36, 0x45, 0x84, 0x3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 0x97, 0xf9, 0xe4, 0x0a, 0xf0, 0x6b, 0x5d, 0xf0, 0x57, 0x03, 0xf8, 0x2b, - 0xf0, 0x72, 0x32, 0x78, 0x1f, 0x87, 0x61, 0x7f, 0x07, 0xe0, 0x85, 0xb0, 0xaf, 0x25, 0xcf, 0x6a, - 0x0f, 0xec, 0x46, 0x64, 0x60, 0xfb, 0xe3, 0x7f, 0x1a, 0x13, 0xfb, 0x15, 0x80, 0x17, 0xbb, 0x19, - 0x72, 0xd9, 0x37, 0xe0, 0x48, 0xf8, 0x24, 0x0d, 0x35, 0x57, 0xd3, 0x68, 0xee, 0x37, 0x61, 0x98, - 0x70, 0xd4, 0xc4, 0x6a, 0x7f, 0x08, 0x51, 0x99, 0xda, 0xce, 0x99, 0xa9, 0x11, 0x3c, 0x41, 0x8a, - 0xec, 0x65, 0xb8, 0xe5, 0x36, 0xda, 0x82, 0xdc, 0x89, 0x08, 0xd2, 0x47, 0x8e, 0xd3, 0x50, 0x23, - 0xdc, 0xc3, 0x2e, 0x86, 0x9d, 0x3d, 0x14, 0xde, 0xe2, 0xa9, 0xf7, 0xb0, 0x03, 0x59, 0xca, 0x18, - 0x1d, 0xf8, 0xc4, 0xca, 0xb0, 0x35, 0xb9, 0xcd, 0xde, 0xeb, 0x27, 0x16, 0x26, 0xc4, 0x61, 0xc2, - 0x3c, 0xe5, 0x6b, 0xc2, 0x4f, 0xcf, 0x42, 0x95, 0x29, 0x38, 0x54, 0x33, 0x1b, 0x14, 0xbb, 0xac, - 0x3a, 0xf6, 0x08, 0xe4, 0x47, 0x11, 0xc9, 0x06, 0x8f, 0x95, 0xec, 0x5c, 0x44, 0xb2, 0x2f, 0xf9, - 0x02, 0x75, 0xb8, 0x73, 0xbd, 0xee, 0xc2, 0x61, 0xee, 0x82, 0x52, 0xef, 0x4f, 0xd8, 0x9d, 0x36, - 0x40, 0x62, 0x95, 0x76, 0xe1, 0x94, 0x40, 0xe6, 0xde, 0x81, 0x83, 0xcb, 0xbe, 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64, 0xaf, 0xc7, 0x6f, 0x0e, 0x07, 0x66, 0xd6, - 0x83, 0xf8, 0xed, 0xa2, 0x1f, 0xbb, 0x1d, 0xa7, 0xb0, 0x7d, 0x3f, 0x88, 0xad, 0x0e, 0x05, 0xd9, - 0x16, 0x9f, 0x05, 0x00, 0x00, 0xff, 0xff, 0x69, 0xb4, 0x8e, 0xe5, 0xc7, 0x17, 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 - -// WebSecurityScannerClient is the client API for WebSecurityScanner service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type WebSecurityScannerClient interface { - // Creates a new ScanConfig. - CreateScanConfig(ctx context.Context, in *CreateScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error) - // Deletes an existing ScanConfig and its child resources. - DeleteScanConfig(ctx context.Context, in *DeleteScanConfigRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Gets a ScanConfig. - GetScanConfig(ctx context.Context, in *GetScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error) - // Lists ScanConfigs under a given project. - ListScanConfigs(ctx context.Context, in *ListScanConfigsRequest, opts ...grpc.CallOption) (*ListScanConfigsResponse, error) - // Updates a ScanConfig. This method support partial update of a ScanConfig. - UpdateScanConfig(ctx context.Context, in *UpdateScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error) - // Start a ScanRun according to the given ScanConfig. - StartScanRun(ctx context.Context, in *StartScanRunRequest, opts ...grpc.CallOption) (*ScanRun, error) - // Gets a ScanRun. - GetScanRun(ctx context.Context, in *GetScanRunRequest, opts ...grpc.CallOption) (*ScanRun, error) - // Lists ScanRuns under a given ScanConfig, in descending order of ScanRun - // stop time. - ListScanRuns(ctx context.Context, in *ListScanRunsRequest, opts ...grpc.CallOption) (*ListScanRunsResponse, error) - // Stops a ScanRun. The stopped ScanRun is returned. - StopScanRun(ctx context.Context, in *StopScanRunRequest, opts ...grpc.CallOption) (*ScanRun, error) - // List CrawledUrls under a given ScanRun. - ListCrawledUrls(ctx context.Context, in *ListCrawledUrlsRequest, opts ...grpc.CallOption) (*ListCrawledUrlsResponse, error) - // Gets a Finding. - GetFinding(ctx context.Context, in *GetFindingRequest, opts ...grpc.CallOption) (*Finding, error) - // List Findings under a given ScanRun. - ListFindings(ctx context.Context, in *ListFindingsRequest, opts ...grpc.CallOption) (*ListFindingsResponse, error) - // List all FindingTypeStats under a given ScanRun. - ListFindingTypeStats(ctx context.Context, in *ListFindingTypeStatsRequest, opts ...grpc.CallOption) (*ListFindingTypeStatsResponse, error) -} - -type webSecurityScannerClient struct { - cc *grpc.ClientConn -} - -func NewWebSecurityScannerClient(cc *grpc.ClientConn) WebSecurityScannerClient { - return &webSecurityScannerClient{cc} -} - -func (c *webSecurityScannerClient) CreateScanConfig(ctx context.Context, in *CreateScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error) { - out := new(ScanConfig) - err := c.cc.Invoke(ctx, "/google.cloud.websecurityscanner.v1beta.WebSecurityScanner/CreateScanConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *webSecurityScannerClient) DeleteScanConfig(ctx context.Context, in *DeleteScanConfigRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.cloud.websecurityscanner.v1beta.WebSecurityScanner/DeleteScanConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *webSecurityScannerClient) GetScanConfig(ctx context.Context, in *GetScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error) { - out := new(ScanConfig) - err := c.cc.Invoke(ctx, "/google.cloud.websecurityscanner.v1beta.WebSecurityScanner/GetScanConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *webSecurityScannerClient) ListScanConfigs(ctx context.Context, in *ListScanConfigsRequest, opts ...grpc.CallOption) (*ListScanConfigsResponse, error) { - out := new(ListScanConfigsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.websecurityscanner.v1beta.WebSecurityScanner/ListScanConfigs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *webSecurityScannerClient) UpdateScanConfig(ctx context.Context, in *UpdateScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error) { - out := new(ScanConfig) - err := c.cc.Invoke(ctx, "/google.cloud.websecurityscanner.v1beta.WebSecurityScanner/UpdateScanConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *webSecurityScannerClient) StartScanRun(ctx context.Context, in *StartScanRunRequest, opts ...grpc.CallOption) (*ScanRun, error) { - out := new(ScanRun) - err := c.cc.Invoke(ctx, "/google.cloud.websecurityscanner.v1beta.WebSecurityScanner/StartScanRun", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *webSecurityScannerClient) GetScanRun(ctx context.Context, in *GetScanRunRequest, opts ...grpc.CallOption) (*ScanRun, error) { - out := new(ScanRun) - err := c.cc.Invoke(ctx, "/google.cloud.websecurityscanner.v1beta.WebSecurityScanner/GetScanRun", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *webSecurityScannerClient) ListScanRuns(ctx context.Context, in *ListScanRunsRequest, opts ...grpc.CallOption) (*ListScanRunsResponse, error) { - out := new(ListScanRunsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.websecurityscanner.v1beta.WebSecurityScanner/ListScanRuns", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *webSecurityScannerClient) StopScanRun(ctx context.Context, in *StopScanRunRequest, opts ...grpc.CallOption) (*ScanRun, error) { - out := new(ScanRun) - err := c.cc.Invoke(ctx, "/google.cloud.websecurityscanner.v1beta.WebSecurityScanner/StopScanRun", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *webSecurityScannerClient) ListCrawledUrls(ctx context.Context, in *ListCrawledUrlsRequest, opts ...grpc.CallOption) (*ListCrawledUrlsResponse, error) { - out := new(ListCrawledUrlsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.websecurityscanner.v1beta.WebSecurityScanner/ListCrawledUrls", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *webSecurityScannerClient) GetFinding(ctx context.Context, in *GetFindingRequest, opts ...grpc.CallOption) (*Finding, error) { - out := new(Finding) - err := c.cc.Invoke(ctx, "/google.cloud.websecurityscanner.v1beta.WebSecurityScanner/GetFinding", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *webSecurityScannerClient) ListFindings(ctx context.Context, in *ListFindingsRequest, opts ...grpc.CallOption) (*ListFindingsResponse, error) { - out := new(ListFindingsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.websecurityscanner.v1beta.WebSecurityScanner/ListFindings", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *webSecurityScannerClient) ListFindingTypeStats(ctx context.Context, in *ListFindingTypeStatsRequest, opts ...grpc.CallOption) (*ListFindingTypeStatsResponse, error) { - out := new(ListFindingTypeStatsResponse) - err := c.cc.Invoke(ctx, "/google.cloud.websecurityscanner.v1beta.WebSecurityScanner/ListFindingTypeStats", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// WebSecurityScannerServer is the server API for WebSecurityScanner service. -type WebSecurityScannerServer interface { - // Creates a new ScanConfig. - CreateScanConfig(context.Context, *CreateScanConfigRequest) (*ScanConfig, error) - // Deletes an existing ScanConfig and its child resources. - DeleteScanConfig(context.Context, *DeleteScanConfigRequest) (*empty.Empty, error) - // Gets a ScanConfig. - GetScanConfig(context.Context, *GetScanConfigRequest) (*ScanConfig, error) - // Lists ScanConfigs under a given project. - ListScanConfigs(context.Context, *ListScanConfigsRequest) (*ListScanConfigsResponse, error) - // Updates a ScanConfig. This method support partial update of a ScanConfig. - UpdateScanConfig(context.Context, *UpdateScanConfigRequest) (*ScanConfig, error) - // Start a ScanRun according to the given ScanConfig. - StartScanRun(context.Context, *StartScanRunRequest) (*ScanRun, error) - // Gets a ScanRun. - GetScanRun(context.Context, *GetScanRunRequest) (*ScanRun, error) - // Lists ScanRuns under a given ScanConfig, in descending order of ScanRun - // stop time. - ListScanRuns(context.Context, *ListScanRunsRequest) (*ListScanRunsResponse, error) - // Stops a ScanRun. The stopped ScanRun is returned. - StopScanRun(context.Context, *StopScanRunRequest) (*ScanRun, error) - // List CrawledUrls under a given ScanRun. - ListCrawledUrls(context.Context, *ListCrawledUrlsRequest) (*ListCrawledUrlsResponse, error) - // Gets a Finding. - GetFinding(context.Context, *GetFindingRequest) (*Finding, error) - // List Findings under a given ScanRun. - ListFindings(context.Context, *ListFindingsRequest) (*ListFindingsResponse, error) - // List all FindingTypeStats under a given ScanRun. - ListFindingTypeStats(context.Context, *ListFindingTypeStatsRequest) (*ListFindingTypeStatsResponse, error) -} - -// UnimplementedWebSecurityScannerServer can be embedded to have forward compatible implementations. -type UnimplementedWebSecurityScannerServer struct { -} - -func (*UnimplementedWebSecurityScannerServer) CreateScanConfig(ctx context.Context, req *CreateScanConfigRequest) (*ScanConfig, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateScanConfig not implemented") -} -func (*UnimplementedWebSecurityScannerServer) DeleteScanConfig(ctx context.Context, req *DeleteScanConfigRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteScanConfig not implemented") -} -func (*UnimplementedWebSecurityScannerServer) GetScanConfig(ctx context.Context, req *GetScanConfigRequest) (*ScanConfig, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetScanConfig not implemented") -} -func (*UnimplementedWebSecurityScannerServer) ListScanConfigs(ctx context.Context, req *ListScanConfigsRequest) (*ListScanConfigsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListScanConfigs not implemented") -} -func (*UnimplementedWebSecurityScannerServer) UpdateScanConfig(ctx context.Context, req *UpdateScanConfigRequest) (*ScanConfig, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateScanConfig not implemented") -} -func (*UnimplementedWebSecurityScannerServer) StartScanRun(ctx context.Context, req *StartScanRunRequest) (*ScanRun, error) { - return nil, status.Errorf(codes.Unimplemented, "method StartScanRun not implemented") -} -func (*UnimplementedWebSecurityScannerServer) GetScanRun(ctx context.Context, req *GetScanRunRequest) (*ScanRun, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetScanRun not implemented") -} -func (*UnimplementedWebSecurityScannerServer) ListScanRuns(ctx context.Context, req *ListScanRunsRequest) (*ListScanRunsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListScanRuns not implemented") -} -func (*UnimplementedWebSecurityScannerServer) StopScanRun(ctx context.Context, req *StopScanRunRequest) (*ScanRun, error) { - return nil, status.Errorf(codes.Unimplemented, "method StopScanRun not implemented") -} -func (*UnimplementedWebSecurityScannerServer) ListCrawledUrls(ctx context.Context, req *ListCrawledUrlsRequest) (*ListCrawledUrlsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListCrawledUrls not implemented") -} -func (*UnimplementedWebSecurityScannerServer) GetFinding(ctx context.Context, req *GetFindingRequest) (*Finding, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetFinding not implemented") -} -func (*UnimplementedWebSecurityScannerServer) ListFindings(ctx context.Context, req *ListFindingsRequest) (*ListFindingsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListFindings not implemented") -} -func (*UnimplementedWebSecurityScannerServer) ListFindingTypeStats(ctx context.Context, req *ListFindingTypeStatsRequest) (*ListFindingTypeStatsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListFindingTypeStats not implemented") -} - -func RegisterWebSecurityScannerServer(s *grpc.Server, srv WebSecurityScannerServer) { - s.RegisterService(&_WebSecurityScanner_serviceDesc, srv) -} - -func _WebSecurityScanner_CreateScanConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateScanConfigRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WebSecurityScannerServer).CreateScanConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.websecurityscanner.v1beta.WebSecurityScanner/CreateScanConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WebSecurityScannerServer).CreateScanConfig(ctx, req.(*CreateScanConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WebSecurityScanner_DeleteScanConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteScanConfigRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WebSecurityScannerServer).DeleteScanConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.websecurityscanner.v1beta.WebSecurityScanner/DeleteScanConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WebSecurityScannerServer).DeleteScanConfig(ctx, req.(*DeleteScanConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WebSecurityScanner_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.(WebSecurityScannerServer).GetScanConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.websecurityscanner.v1beta.WebSecurityScanner/GetScanConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WebSecurityScannerServer).GetScanConfig(ctx, req.(*GetScanConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WebSecurityScanner_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.(WebSecurityScannerServer).ListScanConfigs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.websecurityscanner.v1beta.WebSecurityScanner/ListScanConfigs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WebSecurityScannerServer).ListScanConfigs(ctx, req.(*ListScanConfigsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WebSecurityScanner_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.(WebSecurityScannerServer).UpdateScanConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.websecurityscanner.v1beta.WebSecurityScanner/UpdateScanConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WebSecurityScannerServer).UpdateScanConfig(ctx, req.(*UpdateScanConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WebSecurityScanner_StartScanRun_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(StartScanRunRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WebSecurityScannerServer).StartScanRun(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.websecurityscanner.v1beta.WebSecurityScanner/StartScanRun", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WebSecurityScannerServer).StartScanRun(ctx, req.(*StartScanRunRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WebSecurityScanner_GetScanRun_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetScanRunRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WebSecurityScannerServer).GetScanRun(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.websecurityscanner.v1beta.WebSecurityScanner/GetScanRun", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WebSecurityScannerServer).GetScanRun(ctx, req.(*GetScanRunRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WebSecurityScanner_ListScanRuns_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListScanRunsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WebSecurityScannerServer).ListScanRuns(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.websecurityscanner.v1beta.WebSecurityScanner/ListScanRuns", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WebSecurityScannerServer).ListScanRuns(ctx, req.(*ListScanRunsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WebSecurityScanner_StopScanRun_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(StopScanRunRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WebSecurityScannerServer).StopScanRun(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.websecurityscanner.v1beta.WebSecurityScanner/StopScanRun", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WebSecurityScannerServer).StopScanRun(ctx, req.(*StopScanRunRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WebSecurityScanner_ListCrawledUrls_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListCrawledUrlsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WebSecurityScannerServer).ListCrawledUrls(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.websecurityscanner.v1beta.WebSecurityScanner/ListCrawledUrls", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WebSecurityScannerServer).ListCrawledUrls(ctx, req.(*ListCrawledUrlsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WebSecurityScanner_GetFinding_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetFindingRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WebSecurityScannerServer).GetFinding(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.websecurityscanner.v1beta.WebSecurityScanner/GetFinding", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WebSecurityScannerServer).GetFinding(ctx, req.(*GetFindingRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WebSecurityScanner_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.(WebSecurityScannerServer).ListFindings(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.websecurityscanner.v1beta.WebSecurityScanner/ListFindings", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WebSecurityScannerServer).ListFindings(ctx, req.(*ListFindingsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WebSecurityScanner_ListFindingTypeStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListFindingTypeStatsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WebSecurityScannerServer).ListFindingTypeStats(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.cloud.websecurityscanner.v1beta.WebSecurityScanner/ListFindingTypeStats", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WebSecurityScannerServer).ListFindingTypeStats(ctx, req.(*ListFindingTypeStatsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _WebSecurityScanner_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.cloud.websecurityscanner.v1beta.WebSecurityScanner", - HandlerType: (*WebSecurityScannerServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateScanConfig", - Handler: _WebSecurityScanner_CreateScanConfig_Handler, - }, - { - MethodName: "DeleteScanConfig", - Handler: _WebSecurityScanner_DeleteScanConfig_Handler, - }, - { - MethodName: "GetScanConfig", - Handler: _WebSecurityScanner_GetScanConfig_Handler, - }, - { - MethodName: "ListScanConfigs", - Handler: _WebSecurityScanner_ListScanConfigs_Handler, - }, - { - MethodName: "UpdateScanConfig", - Handler: _WebSecurityScanner_UpdateScanConfig_Handler, - }, - { - MethodName: "StartScanRun", - Handler: _WebSecurityScanner_StartScanRun_Handler, - }, - { - MethodName: "GetScanRun", - Handler: _WebSecurityScanner_GetScanRun_Handler, - }, - { - MethodName: "ListScanRuns", - Handler: _WebSecurityScanner_ListScanRuns_Handler, - }, - { - MethodName: "StopScanRun", - Handler: _WebSecurityScanner_StopScanRun_Handler, - }, - { - MethodName: "ListCrawledUrls", - Handler: _WebSecurityScanner_ListCrawledUrls_Handler, - }, - { - MethodName: "GetFinding", - Handler: _WebSecurityScanner_GetFinding_Handler, - }, - { - MethodName: "ListFindings", - Handler: _WebSecurityScanner_ListFindings_Handler, - }, - { - MethodName: "ListFindingTypeStats", - Handler: _WebSecurityScanner_ListFindingTypeStats_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/cloud/websecurityscanner/v1beta/web_security_scanner.proto", -} 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 deleted file mode 100644 index 64c45e4c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/container/v1/cluster_service.pb.go +++ /dev/null @@ -1,7226 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/container/v1/cluster_service.proto - -package container - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Allowed Network Policy providers. -type NetworkPolicy_Provider int32 - -const ( - // Not set - NetworkPolicy_PROVIDER_UNSPECIFIED NetworkPolicy_Provider = 0 - // Tigera (Calico Felix). - NetworkPolicy_CALICO NetworkPolicy_Provider = 1 -) - -var NetworkPolicy_Provider_name = map[int32]string{ - 0: "PROVIDER_UNSPECIFIED", - 1: "CALICO", -} - -var NetworkPolicy_Provider_value = map[string]int32{ - "PROVIDER_UNSPECIFIED": 0, - "CALICO": 1, -} - -func (x NetworkPolicy_Provider) String() string { - return proto.EnumName(NetworkPolicy_Provider_name, int32(x)) -} - -func (NetworkPolicy_Provider) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1c7f18b1699f357a, []int{11, 0} -} - -// The current status of the cluster. -type Cluster_Status int32 - -const ( - // Not set. - Cluster_STATUS_UNSPECIFIED Cluster_Status = 0 - // The PROVISIONING state indicates the cluster is being created. - Cluster_PROVISIONING Cluster_Status = 1 - // The RUNNING state indicates the cluster has been created and is fully - // usable. - Cluster_RUNNING Cluster_Status = 2 - // The RECONCILING state indicates that some work is actively being done on - // the cluster, such as upgrading the master or node software. Details can - // be found in the `statusMessage` field. - Cluster_RECONCILING Cluster_Status = 3 - // The STOPPING state indicates the cluster is being deleted. - Cluster_STOPPING Cluster_Status = 4 - // 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{ - 0: "STATUS_UNSPECIFIED", - 1: "PROVISIONING", - 2: "RUNNING", - 3: "RECONCILING", - 4: "STOPPING", - 5: "ERROR", - 6: "DEGRADED", -} - -var Cluster_Status_value = map[string]int32{ - "STATUS_UNSPECIFIED": 0, - "PROVISIONING": 1, - "RUNNING": 2, - "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_1c7f18b1699f357a, []int{13, 0} -} - -// Current status of the operation. -type Operation_Status int32 - -const ( - // Not set. - Operation_STATUS_UNSPECIFIED Operation_Status = 0 - // The operation has been created. - Operation_PENDING Operation_Status = 1 - // The operation is currently running. - Operation_RUNNING Operation_Status = 2 - // The operation is done, either cancelled or completed. - Operation_DONE Operation_Status = 3 - // The operation is aborting. - Operation_ABORTING Operation_Status = 4 -) - -var Operation_Status_name = map[int32]string{ - 0: "STATUS_UNSPECIFIED", - 1: "PENDING", - 2: "RUNNING", - 3: "DONE", - 4: "ABORTING", -} - -var Operation_Status_value = map[string]int32{ - "STATUS_UNSPECIFIED": 0, - "PENDING": 1, - "RUNNING": 2, - "DONE": 3, - "ABORTING": 4, -} - -func (x Operation_Status) String() string { - return proto.EnumName(Operation_Status_name, int32(x)) -} - -func (Operation_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1c7f18b1699f357a, []int{15, 0} -} - -// Operation type. -type Operation_Type int32 - -const ( - // Not set. - Operation_TYPE_UNSPECIFIED Operation_Type = 0 - // Cluster create. - Operation_CREATE_CLUSTER Operation_Type = 1 - // Cluster delete. - Operation_DELETE_CLUSTER Operation_Type = 2 - // A master upgrade. - Operation_UPGRADE_MASTER Operation_Type = 3 - // A node upgrade. - Operation_UPGRADE_NODES Operation_Type = 4 - // Cluster repair. - Operation_REPAIR_CLUSTER Operation_Type = 5 - // Cluster update. - Operation_UPDATE_CLUSTER Operation_Type = 6 - // Node pool create. - Operation_CREATE_NODE_POOL Operation_Type = 7 - // Node pool delete. - Operation_DELETE_NODE_POOL Operation_Type = 8 - // Set node pool management. - Operation_SET_NODE_POOL_MANAGEMENT Operation_Type = 9 - // Automatic node pool repair. - Operation_AUTO_REPAIR_NODES Operation_Type = 10 - // Automatic node upgrade. - Operation_AUTO_UPGRADE_NODES Operation_Type = 11 - // Set labels. - Operation_SET_LABELS Operation_Type = 12 - // Set/generate master auth materials - Operation_SET_MASTER_AUTH Operation_Type = 13 - // Set node pool size. - Operation_SET_NODE_POOL_SIZE Operation_Type = 14 - // Updates network policy for a cluster. - Operation_SET_NETWORK_POLICY Operation_Type = 15 - // Set the maintenance policy. - Operation_SET_MAINTENANCE_POLICY Operation_Type = 16 -) - -var Operation_Type_name = map[int32]string{ - 0: "TYPE_UNSPECIFIED", - 1: "CREATE_CLUSTER", - 2: "DELETE_CLUSTER", - 3: "UPGRADE_MASTER", - 4: "UPGRADE_NODES", - 5: "REPAIR_CLUSTER", - 6: "UPDATE_CLUSTER", - 7: "CREATE_NODE_POOL", - 8: "DELETE_NODE_POOL", - 9: "SET_NODE_POOL_MANAGEMENT", - 10: "AUTO_REPAIR_NODES", - 11: "AUTO_UPGRADE_NODES", - 12: "SET_LABELS", - 13: "SET_MASTER_AUTH", - 14: "SET_NODE_POOL_SIZE", - 15: "SET_NETWORK_POLICY", - 16: "SET_MAINTENANCE_POLICY", -} - -var Operation_Type_value = map[string]int32{ - "TYPE_UNSPECIFIED": 0, - "CREATE_CLUSTER": 1, - "DELETE_CLUSTER": 2, - "UPGRADE_MASTER": 3, - "UPGRADE_NODES": 4, - "REPAIR_CLUSTER": 5, - "UPDATE_CLUSTER": 6, - "CREATE_NODE_POOL": 7, - "DELETE_NODE_POOL": 8, - "SET_NODE_POOL_MANAGEMENT": 9, - "AUTO_REPAIR_NODES": 10, - "AUTO_UPGRADE_NODES": 11, - "SET_LABELS": 12, - "SET_MASTER_AUTH": 13, - "SET_NODE_POOL_SIZE": 14, - "SET_NETWORK_POLICY": 15, - "SET_MAINTENANCE_POLICY": 16, -} - -func (x Operation_Type) String() string { - return proto.EnumName(Operation_Type_name, int32(x)) -} - -func (Operation_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1c7f18b1699f357a, []int{15, 1} -} - -// Operation type: what type update to perform. -type SetMasterAuthRequest_Action int32 - -const ( - // Operation is unknown and will error out. - SetMasterAuthRequest_UNKNOWN SetMasterAuthRequest_Action = 0 - // Set the password to a user generated value. - SetMasterAuthRequest_SET_PASSWORD SetMasterAuthRequest_Action = 1 - // Generate a new password and set it to that. - SetMasterAuthRequest_GENERATE_PASSWORD SetMasterAuthRequest_Action = 2 - // Set the username. If an empty username is provided, basic authentication - // is disabled for the cluster. If a non-empty username is provided, basic - // authentication is enabled, with either a provided password or a generated - // one. - SetMasterAuthRequest_SET_USERNAME SetMasterAuthRequest_Action = 3 -) - -var SetMasterAuthRequest_Action_name = map[int32]string{ - 0: "UNKNOWN", - 1: "SET_PASSWORD", - 2: "GENERATE_PASSWORD", - 3: "SET_USERNAME", -} - -var SetMasterAuthRequest_Action_value = map[string]int32{ - "UNKNOWN": 0, - "SET_PASSWORD": 1, - "GENERATE_PASSWORD": 2, - "SET_USERNAME": 3, -} - -func (x SetMasterAuthRequest_Action) String() string { - return proto.EnumName(SetMasterAuthRequest_Action_name, int32(x)) -} - -func (SetMasterAuthRequest_Action) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1c7f18b1699f357a, []int{26, 0} -} - -// The current status of the node pool instance. -type NodePool_Status int32 - -const ( - // Not set. - NodePool_STATUS_UNSPECIFIED NodePool_Status = 0 - // The PROVISIONING state indicates the node pool is being created. - NodePool_PROVISIONING NodePool_Status = 1 - // The RUNNING state indicates the node pool has been created - // and is fully usable. - NodePool_RUNNING NodePool_Status = 2 - // The RUNNING_WITH_ERROR state indicates the node pool has been created - // and is partially usable. Some error state has occurred and some - // functionality may be impaired. Customer may need to reissue a request - // or trigger a new update. - NodePool_RUNNING_WITH_ERROR NodePool_Status = 3 - // The RECONCILING state indicates that some work is actively being done on - // the node pool, such as upgrading node software. Details can - // be found in the `statusMessage` field. - NodePool_RECONCILING NodePool_Status = 4 - // The STOPPING state indicates the node pool is being deleted. - NodePool_STOPPING NodePool_Status = 5 - // The ERROR state indicates the node pool may be unusable. Details - // can be found in the `statusMessage` field. - NodePool_ERROR NodePool_Status = 6 -) - -var NodePool_Status_name = map[int32]string{ - 0: "STATUS_UNSPECIFIED", - 1: "PROVISIONING", - 2: "RUNNING", - 3: "RUNNING_WITH_ERROR", - 4: "RECONCILING", - 5: "STOPPING", - 6: "ERROR", -} - -var NodePool_Status_value = map[string]int32{ - "STATUS_UNSPECIFIED": 0, - "PROVISIONING": 1, - "RUNNING": 2, - "RUNNING_WITH_ERROR": 3, - "RECONCILING": 4, - "STOPPING": 5, - "ERROR": 6, -} - -func (x NodePool_Status) String() string { - return proto.EnumName(NodePool_Status_name, int32(x)) -} - -func (NodePool_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1c7f18b1699f357a, []int{40, 0} -} - -// Parameters that describe the nodes in a cluster. -type NodeConfig struct { - // The name of a Google Compute Engine [machine - // type](/compute/docs/machine-types) (e.g. - // `n1-standard-1`). - // - // If unspecified, the default machine type is - // `n1-standard-1`. - MachineType string `protobuf:"bytes,1,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"` - // Size of the disk attached to each node, specified in GB. - // The smallest allowed disk size is 10GB. - // - // If unspecified, the default disk size is 100GB. - DiskSizeGb int32 `protobuf:"varint,2,opt,name=disk_size_gb,json=diskSizeGb,proto3" json:"disk_size_gb,omitempty"` - // The set of Google API scopes to be made available on all of the - // node VMs under the "default" service account. - // - // The following scopes are recommended, but not required, and by default are - // not included: - // - // * `https://www.googleapis.com/auth/compute` is required for mounting - // persistent storage on your nodes. - // * `https://www.googleapis.com/auth/devstorage.read_only` is required for - // communicating with **gcr.io** - // (the [Google Container Registry](/container-registry/)). - // - // If unspecified, no scopes are added, unless Cloud Logging or Cloud - // Monitoring are enabled, in which case their required scopes will be added. - OauthScopes []string `protobuf:"bytes,3,rep,name=oauth_scopes,json=oauthScopes,proto3" json:"oauth_scopes,omitempty"` - // The Google Cloud Platform Service Account to be used by the node VMs. If - // no Service Account is specified, the "default" service account is used. - ServiceAccount string `protobuf:"bytes,9,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` - // The metadata key/value pairs assigned to instances in the cluster. - // - // 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 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 - // that each value's size must be less than or equal to 32 KB. - // - // The total size of all keys and values must be less than 512 KB. - Metadata map[string]string `protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // The image type to use for this node. Note that for a given image type, - // the latest version of it will be used. - ImageType string `protobuf:"bytes,5,opt,name=image_type,json=imageType,proto3" json:"image_type,omitempty"` - // The map of Kubernetes labels (key/value pairs) to be applied to each node. - // These will added in addition to any default label(s) that - // Kubernetes may apply to the node. - // In case of conflict in label keys, the applied set may differ depending on - // the Kubernetes version -- it's best to assume the behavior is undefined - // and conflicts should be avoided. - // For more information, including usage and the valid values, see: - // https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ - 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"` - // The number of local SSD disks to be attached to the node. - // - // The limit for this value is dependant upon the maximum number of - // disks available on a machine per zone. See: - // https://cloud.google.com/compute/docs/disks/local-ssd#local_ssd_limits - // for more information. - LocalSsdCount int32 `protobuf:"varint,7,opt,name=local_ssd_count,json=localSsdCount,proto3" json:"local_ssd_count,omitempty"` - // The list of instance tags applied to all nodes. Tags are used to identify - // valid sources or targets for network firewalls and are specified by - // the client during cluster or node pool creation. Each tag within the list - // must comply with RFC1035. - Tags []string `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"` - // Whether the nodes are created as preemptible VM instances. See: - // https://cloud.google.com/compute/docs/instances/preemptible for more - // information about preemptible VM instances. - Preemptible bool `protobuf:"varint,10,opt,name=preemptible,proto3" json:"preemptible,omitempty"` - // A list of hardware accelerators to be attached to each node. - // 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) - 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:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1c7f18b1699f357a, []int{0} -} - -func (m *NodeConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodeConfig.Unmarshal(m, b) -} -func (m *NodeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodeConfig.Marshal(b, m, deterministic) -} -func (m *NodeConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeConfig.Merge(m, src) -} -func (m *NodeConfig) XXX_Size() int { - return xxx_messageInfo_NodeConfig.Size(m) -} -func (m *NodeConfig) XXX_DiscardUnknown() { - xxx_messageInfo_NodeConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_NodeConfig proto.InternalMessageInfo - -func (m *NodeConfig) GetMachineType() string { - if m != nil { - return m.MachineType - } - return "" -} - -func (m *NodeConfig) GetDiskSizeGb() int32 { - if m != nil { - return m.DiskSizeGb - } - return 0 -} - -func (m *NodeConfig) GetOauthScopes() []string { - if m != nil { - return m.OauthScopes - } - return nil -} - -func (m *NodeConfig) GetServiceAccount() string { - if m != nil { - return m.ServiceAccount - } - return "" -} - -func (m *NodeConfig) GetMetadata() map[string]string { - if m != nil { - return m.Metadata - } - return nil -} - -func (m *NodeConfig) GetImageType() string { - if m != nil { - return m.ImageType - } - return "" -} - -func (m *NodeConfig) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -func (m *NodeConfig) GetLocalSsdCount() int32 { - if m != nil { - return m.LocalSsdCount - } - return 0 -} - -func (m *NodeConfig) GetTags() []string { - if m != nil { - return m.Tags - } - return nil -} - -func (m *NodeConfig) GetPreemptible() bool { - if m != nil { - return m.Preemptible - } - return false -} - -func (m *NodeConfig) GetAccelerators() []*AcceleratorConfig { - if m != nil { - return m.Accelerators - } - 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 - } - return "" -} - -// The authentication information for accessing the master endpoint. -// Authentication can be done using HTTP basic auth or using client -// 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. - 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. 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. - ClusterCaCertificate string `protobuf:"bytes,100,opt,name=cluster_ca_certificate,json=clusterCaCertificate,proto3" json:"cluster_ca_certificate,omitempty"` - // [Output only] Base64-encoded public certificate used by clients to - // authenticate to the cluster endpoint. - ClientCertificate string `protobuf:"bytes,101,opt,name=client_certificate,json=clientCertificate,proto3" json:"client_certificate,omitempty"` - // [Output only] Base64-encoded private key used by clients to authenticate - // to the cluster endpoint. - ClientKey string `protobuf:"bytes,102,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1c7f18b1699f357a, []int{1} -} - -func (m *MasterAuth) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MasterAuth.Unmarshal(m, b) -} -func (m *MasterAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MasterAuth.Marshal(b, m, deterministic) -} -func (m *MasterAuth) XXX_Merge(src proto.Message) { - xxx_messageInfo_MasterAuth.Merge(m, src) -} -func (m *MasterAuth) XXX_Size() int { - return xxx_messageInfo_MasterAuth.Size(m) -} -func (m *MasterAuth) XXX_DiscardUnknown() { - xxx_messageInfo_MasterAuth.DiscardUnknown(m) -} - -var xxx_messageInfo_MasterAuth proto.InternalMessageInfo - -func (m *MasterAuth) GetUsername() string { - if m != nil { - return m.Username - } - return "" -} - -func (m *MasterAuth) GetPassword() string { - if m != nil { - return m.Password - } - return "" -} - -func (m *MasterAuth) GetClientCertificateConfig() *ClientCertificateConfig { - if m != nil { - return m.ClientCertificateConfig - } - return nil -} - -func (m *MasterAuth) GetClusterCaCertificate() string { - if m != nil { - return m.ClusterCaCertificate - } - return "" -} - -func (m *MasterAuth) GetClientCertificate() string { - if m != nil { - return m.ClientCertificate - } - return "" -} - -func (m *MasterAuth) GetClientKey() string { - if m != nil { - return m.ClientKey - } - return "" -} - -// Configuration for client certificates on the cluster. -type ClientCertificateConfig struct { - // Issue a client certificate. - IssueClientCertificate bool `protobuf:"varint,1,opt,name=issue_client_certificate,json=issueClientCertificate,proto3" json:"issue_client_certificate,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1c7f18b1699f357a, []int{2} -} - -func (m *ClientCertificateConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClientCertificateConfig.Unmarshal(m, b) -} -func (m *ClientCertificateConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClientCertificateConfig.Marshal(b, m, deterministic) -} -func (m *ClientCertificateConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClientCertificateConfig.Merge(m, src) -} -func (m *ClientCertificateConfig) XXX_Size() int { - return xxx_messageInfo_ClientCertificateConfig.Size(m) -} -func (m *ClientCertificateConfig) XXX_DiscardUnknown() { - xxx_messageInfo_ClientCertificateConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_ClientCertificateConfig proto.InternalMessageInfo - -func (m *ClientCertificateConfig) GetIssueClientCertificate() bool { - if m != nil { - return m.IssueClientCertificate - } - return false -} - -// Configuration for the addons that can be automatically spun up in the -// cluster, enabling additional functionality. -type AddonsConfig struct { - // Configuration for the HTTP (L7) load balancing controller addon, which - // makes it easy to set up HTTP load balancers for services in a cluster. - HttpLoadBalancing *HttpLoadBalancing `protobuf:"bytes,1,opt,name=http_load_balancing,json=httpLoadBalancing,proto3" json:"http_load_balancing,omitempty"` - // Configuration for the horizontal pod autoscaling feature, which - // increases or decreases the number of replica pods a replication controller - // has based on the resource usage of the existing pods. - HorizontalPodAutoscaling *HorizontalPodAutoscaling `protobuf:"bytes,2,opt,name=horizontal_pod_autoscaling,json=horizontalPodAutoscaling,proto3" json:"horizontal_pod_autoscaling,omitempty"` - // Configuration for the Kubernetes Dashboard. - KubernetesDashboard *KubernetesDashboard `protobuf:"bytes,3,opt,name=kubernetes_dashboard,json=kubernetesDashboard,proto3" json:"kubernetes_dashboard,omitempty"` - // 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:"-"` -} - -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_1c7f18b1699f357a, []int{3} -} - -func (m *AddonsConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddonsConfig.Unmarshal(m, b) -} -func (m *AddonsConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddonsConfig.Marshal(b, m, deterministic) -} -func (m *AddonsConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddonsConfig.Merge(m, src) -} -func (m *AddonsConfig) XXX_Size() int { - return xxx_messageInfo_AddonsConfig.Size(m) -} -func (m *AddonsConfig) XXX_DiscardUnknown() { - xxx_messageInfo_AddonsConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_AddonsConfig proto.InternalMessageInfo - -func (m *AddonsConfig) GetHttpLoadBalancing() *HttpLoadBalancing { - if m != nil { - return m.HttpLoadBalancing - } - return nil -} - -func (m *AddonsConfig) GetHorizontalPodAutoscaling() *HorizontalPodAutoscaling { - if m != nil { - return m.HorizontalPodAutoscaling - } - return nil -} - -func (m *AddonsConfig) GetKubernetesDashboard() *KubernetesDashboard { - if m != nil { - return m.KubernetesDashboard - } - return nil -} - -func (m *AddonsConfig) GetNetworkPolicyConfig() *NetworkPolicyConfig { - if m != nil { - return m.NetworkPolicyConfig - } - 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 { - // Whether the HTTP Load Balancing controller is enabled in the cluster. - // When enabled, it runs a small pod in the cluster that manages the load - // balancers. - 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 *HttpLoadBalancing) Reset() { *m = HttpLoadBalancing{} } -func (m *HttpLoadBalancing) String() string { return proto.CompactTextString(m) } -func (*HttpLoadBalancing) ProtoMessage() {} -func (*HttpLoadBalancing) Descriptor() ([]byte, []int) { - return fileDescriptor_1c7f18b1699f357a, []int{4} -} - -func (m *HttpLoadBalancing) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HttpLoadBalancing.Unmarshal(m, b) -} -func (m *HttpLoadBalancing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HttpLoadBalancing.Marshal(b, m, deterministic) -} -func (m *HttpLoadBalancing) XXX_Merge(src proto.Message) { - xxx_messageInfo_HttpLoadBalancing.Merge(m, src) -} -func (m *HttpLoadBalancing) XXX_Size() int { - return xxx_messageInfo_HttpLoadBalancing.Size(m) -} -func (m *HttpLoadBalancing) XXX_DiscardUnknown() { - xxx_messageInfo_HttpLoadBalancing.DiscardUnknown(m) -} - -var xxx_messageInfo_HttpLoadBalancing proto.InternalMessageInfo - -func (m *HttpLoadBalancing) GetDisabled() bool { - if m != nil { - return m.Disabled - } - return false -} - -// Configuration options for the horizontal pod autoscaling feature, which -// increases or decreases the number of replica pods a replication controller -// has based on the resource usage of the existing pods. -type HorizontalPodAutoscaling struct { - // Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. - // When enabled, it ensures that a Heapster pod is running in the cluster, - // which is also used by the Cloud Monitoring service. - 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 *HorizontalPodAutoscaling) Reset() { *m = HorizontalPodAutoscaling{} } -func (m *HorizontalPodAutoscaling) String() string { return proto.CompactTextString(m) } -func (*HorizontalPodAutoscaling) ProtoMessage() {} -func (*HorizontalPodAutoscaling) Descriptor() ([]byte, []int) { - return fileDescriptor_1c7f18b1699f357a, []int{5} -} - -func (m *HorizontalPodAutoscaling) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HorizontalPodAutoscaling.Unmarshal(m, b) -} -func (m *HorizontalPodAutoscaling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HorizontalPodAutoscaling.Marshal(b, m, deterministic) -} -func (m *HorizontalPodAutoscaling) XXX_Merge(src proto.Message) { - xxx_messageInfo_HorizontalPodAutoscaling.Merge(m, src) -} -func (m *HorizontalPodAutoscaling) XXX_Size() int { - return xxx_messageInfo_HorizontalPodAutoscaling.Size(m) -} -func (m *HorizontalPodAutoscaling) XXX_DiscardUnknown() { - xxx_messageInfo_HorizontalPodAutoscaling.DiscardUnknown(m) -} - -var xxx_messageInfo_HorizontalPodAutoscaling proto.InternalMessageInfo - -func (m *HorizontalPodAutoscaling) GetDisabled() bool { - if m != nil { - return m.Disabled - } - return false -} - -// Configuration for the Kubernetes Dashboard. -type KubernetesDashboard struct { - // Whether the Kubernetes Dashboard 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 *KubernetesDashboard) Reset() { *m = KubernetesDashboard{} } -func (m *KubernetesDashboard) String() string { return proto.CompactTextString(m) } -func (*KubernetesDashboard) ProtoMessage() {} -func (*KubernetesDashboard) Descriptor() ([]byte, []int) { - return fileDescriptor_1c7f18b1699f357a, []int{6} -} - -func (m *KubernetesDashboard) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_KubernetesDashboard.Unmarshal(m, b) -} -func (m *KubernetesDashboard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_KubernetesDashboard.Marshal(b, m, deterministic) -} -func (m *KubernetesDashboard) XXX_Merge(src proto.Message) { - xxx_messageInfo_KubernetesDashboard.Merge(m, src) -} -func (m *KubernetesDashboard) XXX_Size() int { - return xxx_messageInfo_KubernetesDashboard.Size(m) -} -func (m *KubernetesDashboard) XXX_DiscardUnknown() { - xxx_messageInfo_KubernetesDashboard.DiscardUnknown(m) -} - -var xxx_messageInfo_KubernetesDashboard proto.InternalMessageInfo - -func (m *KubernetesDashboard) GetDisabled() bool { - if m != nil { - return m.Disabled - } - return false -} - -// 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. -type NetworkPolicyConfig struct { - // Whether NetworkPolicy 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 *NetworkPolicyConfig) Reset() { *m = NetworkPolicyConfig{} } -func (m *NetworkPolicyConfig) String() string { return proto.CompactTextString(m) } -func (*NetworkPolicyConfig) ProtoMessage() {} -func (*NetworkPolicyConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_1c7f18b1699f357a, []int{7} -} - -func (m *NetworkPolicyConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NetworkPolicyConfig.Unmarshal(m, b) -} -func (m *NetworkPolicyConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NetworkPolicyConfig.Marshal(b, m, deterministic) -} -func (m *NetworkPolicyConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkPolicyConfig.Merge(m, src) -} -func (m *NetworkPolicyConfig) XXX_Size() int { - return xxx_messageInfo_NetworkPolicyConfig.Size(m) -} -func (m *NetworkPolicyConfig) XXX_DiscardUnknown() { - xxx_messageInfo_NetworkPolicyConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_NetworkPolicyConfig proto.InternalMessageInfo - -func (m *NetworkPolicyConfig) GetDisabled() bool { - if m != nil { - return m.Disabled - } - 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_1c7f18b1699f357a, []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 (m *PrivateClusterConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_PrivateClusterConfig.Merge(m, 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, -// Google Compute Engine Public IPs and Google Prod IPs. -type MasterAuthorizedNetworksConfig struct { - // Whether or not master authorized networks is enabled. - Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` - // cidr_blocks define up to 10 external networks that could access - // Kubernetes master through HTTPS. - CidrBlocks []*MasterAuthorizedNetworksConfig_CidrBlock `protobuf:"bytes,2,rep,name=cidr_blocks,json=cidrBlocks,proto3" json:"cidr_blocks,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MasterAuthorizedNetworksConfig) Reset() { *m = MasterAuthorizedNetworksConfig{} } -func (m *MasterAuthorizedNetworksConfig) String() string { return proto.CompactTextString(m) } -func (*MasterAuthorizedNetworksConfig) ProtoMessage() {} -func (*MasterAuthorizedNetworksConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_1c7f18b1699f357a, []int{9} -} - -func (m *MasterAuthorizedNetworksConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MasterAuthorizedNetworksConfig.Unmarshal(m, b) -} -func (m *MasterAuthorizedNetworksConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MasterAuthorizedNetworksConfig.Marshal(b, m, deterministic) -} -func (m *MasterAuthorizedNetworksConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_MasterAuthorizedNetworksConfig.Merge(m, src) -} -func (m *MasterAuthorizedNetworksConfig) XXX_Size() int { - return xxx_messageInfo_MasterAuthorizedNetworksConfig.Size(m) -} -func (m *MasterAuthorizedNetworksConfig) XXX_DiscardUnknown() { - xxx_messageInfo_MasterAuthorizedNetworksConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_MasterAuthorizedNetworksConfig proto.InternalMessageInfo - -func (m *MasterAuthorizedNetworksConfig) GetEnabled() bool { - if m != nil { - return m.Enabled - } - return false -} - -func (m *MasterAuthorizedNetworksConfig) GetCidrBlocks() []*MasterAuthorizedNetworksConfig_CidrBlock { - if m != nil { - return m.CidrBlocks - } - return nil -} - -// CidrBlock contains an optional name and one CIDR block. -type MasterAuthorizedNetworksConfig_CidrBlock struct { - // display_name is an optional field for users to identify CIDR blocks. - DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // cidr_block must be specified in CIDR notation. - CidrBlock string `protobuf:"bytes,2,opt,name=cidr_block,json=cidrBlock,proto3" json:"cidr_block,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MasterAuthorizedNetworksConfig_CidrBlock) Reset() { - *m = MasterAuthorizedNetworksConfig_CidrBlock{} -} -func (m *MasterAuthorizedNetworksConfig_CidrBlock) String() string { return proto.CompactTextString(m) } -func (*MasterAuthorizedNetworksConfig_CidrBlock) ProtoMessage() {} -func (*MasterAuthorizedNetworksConfig_CidrBlock) Descriptor() ([]byte, []int) { - return fileDescriptor_1c7f18b1699f357a, []int{9, 0} -} - -func (m *MasterAuthorizedNetworksConfig_CidrBlock) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MasterAuthorizedNetworksConfig_CidrBlock.Unmarshal(m, b) -} -func (m *MasterAuthorizedNetworksConfig_CidrBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MasterAuthorizedNetworksConfig_CidrBlock.Marshal(b, m, deterministic) -} -func (m *MasterAuthorizedNetworksConfig_CidrBlock) XXX_Merge(src proto.Message) { - xxx_messageInfo_MasterAuthorizedNetworksConfig_CidrBlock.Merge(m, src) -} -func (m *MasterAuthorizedNetworksConfig_CidrBlock) XXX_Size() int { - return xxx_messageInfo_MasterAuthorizedNetworksConfig_CidrBlock.Size(m) -} -func (m *MasterAuthorizedNetworksConfig_CidrBlock) XXX_DiscardUnknown() { - xxx_messageInfo_MasterAuthorizedNetworksConfig_CidrBlock.DiscardUnknown(m) -} - -var xxx_messageInfo_MasterAuthorizedNetworksConfig_CidrBlock proto.InternalMessageInfo - -func (m *MasterAuthorizedNetworksConfig_CidrBlock) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *MasterAuthorizedNetworksConfig_CidrBlock) GetCidrBlock() string { - if m != nil { - return m.CidrBlock - } - 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_1c7f18b1699f357a, []int{10} -} - -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 (m *LegacyAbac) XXX_Merge(src proto.Message) { - xxx_messageInfo_LegacyAbac.Merge(m, 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 { - // The selected network policy provider. - Provider NetworkPolicy_Provider `protobuf:"varint,1,opt,name=provider,proto3,enum=google.container.v1.NetworkPolicy_Provider" json:"provider,omitempty"` - // Whether network policy is enabled on the cluster. - Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1c7f18b1699f357a, []int{11} -} - -func (m *NetworkPolicy) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NetworkPolicy.Unmarshal(m, b) -} -func (m *NetworkPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NetworkPolicy.Marshal(b, m, deterministic) -} -func (m *NetworkPolicy) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkPolicy.Merge(m, src) -} -func (m *NetworkPolicy) XXX_Size() int { - return xxx_messageInfo_NetworkPolicy.Size(m) -} -func (m *NetworkPolicy) XXX_DiscardUnknown() { - xxx_messageInfo_NetworkPolicy.DiscardUnknown(m) -} - -var xxx_messageInfo_NetworkPolicy proto.InternalMessageInfo - -func (m *NetworkPolicy) GetProvider() NetworkPolicy_Provider { - if m != nil { - return m.Provider - } - return NetworkPolicy_PROVIDER_UNSPECIFIED -} - -func (m *NetworkPolicy) GetEnabled() bool { - if m != nil { - return m.Enabled - } - return false -} - -// Configuration for controlling how IPs are allocated in the cluster. -type IPAllocationPolicy struct { - // Whether alias IPs will be used for pod IPs in the cluster. - UseIpAliases bool `protobuf:"varint,1,opt,name=use_ip_aliases,json=useIpAliases,proto3" json:"use_ip_aliases,omitempty"` - // Whether a new subnetwork will be created automatically for the cluster. - // - // This field is only applicable when `use_ip_aliases` is true. - CreateSubnetwork bool `protobuf:"varint,2,opt,name=create_subnetwork,json=createSubnetwork,proto3" json:"create_subnetwork,omitempty"` - // A custom subnetwork name to be used if `create_subnetwork` is true. If - // this field is empty, then an automatic name will be chosen for the new - // 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"` // 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"` // 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"` // 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 - // with the cluster subnetwork. - // - // This field is only applicable with use_ip_aliases is true and - // create_subnetwork is false. - ClusterSecondaryRangeName string `protobuf:"bytes,7,opt,name=cluster_secondary_range_name,json=clusterSecondaryRangeName,proto3" json:"cluster_secondary_range_name,omitempty"` - // The name of the secondary range to be used as for the services - // CIDR block. The secondary range will be used for service - // ClusterIPs. This must be an existing secondary range associated - // with the cluster subnetwork. - // - // This field is only applicable with use_ip_aliases is true and - // create_subnetwork is false. - ServicesSecondaryRangeName string `protobuf:"bytes,8,opt,name=services_secondary_range_name,json=servicesSecondaryRangeName,proto3" json:"services_secondary_range_name,omitempty"` - // The IP address range for the cluster pod IPs. If this field is set, then - // `cluster.cluster_ipv4_cidr` must be left blank. - // - // This field is only applicable when `use_ip_aliases` is true. - // - // Set to blank to have a range chosen with 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. - ClusterIpv4CidrBlock string `protobuf:"bytes,9,opt,name=cluster_ipv4_cidr_block,json=clusterIpv4CidrBlock,proto3" json:"cluster_ipv4_cidr_block,omitempty"` - // The IP address range of the instance IPs in this cluster. - // - // This is applicable only if `create_subnetwork` is true. - // - // Set to blank to have a range chosen with 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. - NodeIpv4CidrBlock string `protobuf:"bytes,10,opt,name=node_ipv4_cidr_block,json=nodeIpv4CidrBlock,proto3" json:"node_ipv4_cidr_block,omitempty"` - // The IP address range of the services IPs in this cluster. If blank, a range - // will be automatically chosen with the default size. - // - // This field is only applicable when `use_ip_aliases` is true. - // - // Set to blank to have a range chosen with 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. - 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:"-"` -} - -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_1c7f18b1699f357a, []int{12} -} - -func (m *IPAllocationPolicy) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IPAllocationPolicy.Unmarshal(m, b) -} -func (m *IPAllocationPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IPAllocationPolicy.Marshal(b, m, deterministic) -} -func (m *IPAllocationPolicy) XXX_Merge(src proto.Message) { - xxx_messageInfo_IPAllocationPolicy.Merge(m, src) -} -func (m *IPAllocationPolicy) XXX_Size() int { - return xxx_messageInfo_IPAllocationPolicy.Size(m) -} -func (m *IPAllocationPolicy) XXX_DiscardUnknown() { - xxx_messageInfo_IPAllocationPolicy.DiscardUnknown(m) -} - -var xxx_messageInfo_IPAllocationPolicy proto.InternalMessageInfo - -func (m *IPAllocationPolicy) GetUseIpAliases() bool { - if m != nil { - return m.UseIpAliases - } - return false -} - -func (m *IPAllocationPolicy) GetCreateSubnetwork() bool { - if m != nil { - return m.CreateSubnetwork - } - return false -} - -func (m *IPAllocationPolicy) GetSubnetworkName() string { - if m != nil { - return m.SubnetworkName - } - return "" -} - -// Deprecated: Do not use. -func (m *IPAllocationPolicy) GetClusterIpv4Cidr() string { - if m != nil { - return m.ClusterIpv4Cidr - } - return "" -} - -// Deprecated: Do not use. -func (m *IPAllocationPolicy) GetNodeIpv4Cidr() string { - if m != nil { - return m.NodeIpv4Cidr - } - return "" -} - -// Deprecated: Do not use. -func (m *IPAllocationPolicy) GetServicesIpv4Cidr() string { - if m != nil { - return m.ServicesIpv4Cidr - } - return "" -} - -func (m *IPAllocationPolicy) GetClusterSecondaryRangeName() string { - if m != nil { - return m.ClusterSecondaryRangeName - } - return "" -} - -func (m *IPAllocationPolicy) GetServicesSecondaryRangeName() string { - if m != nil { - return m.ServicesSecondaryRangeName - } - return "" -} - -func (m *IPAllocationPolicy) GetClusterIpv4CidrBlock() string { - if m != nil { - return m.ClusterIpv4CidrBlock - } - return "" -} - -func (m *IPAllocationPolicy) GetNodeIpv4CidrBlock() string { - if m != nil { - return m.NodeIpv4CidrBlock - } - return "" -} - -func (m *IPAllocationPolicy) GetServicesIpv4CidrBlock() string { - if m != nil { - return m.ServicesIpv4CidrBlock - } - return "" -} - -// 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: - // - // * Lowercase letters, numbers, and hyphens only. - // * Must start with a letter. - // * Must end with a number or a letter. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // An optional description of this cluster. - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - // The number of nodes to create in this cluster. 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. - // For requests, this field should only be used in lieu of a - // "node_pool" object, since this configuration (along with the - // "node_config") will be used to create a "NodePool" object with an - // auto-generated name. Do not use this and a node_pool at the same time. - InitialNodeCount int32 `protobuf:"varint,3,opt,name=initial_node_count,json=initialNodeCount,proto3" json:"initial_node_count,omitempty"` - // Parameters used in creating the cluster's nodes. - // See `nodeConfig` for the description of its properties. - // For requests, this field should only be used in lieu of a - // "node_pool" object, since this configuration (along with the - // "initial_node_count") will be used to create a "NodePool" object with an - // auto-generated name. Do not use this and a node_pool at the same time. - // For responses, this field will be populated with the node configuration of - // the first node pool. - // - // 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. - 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: - // - // * `logging.googleapis.com` - the Google Cloud Logging service. - // * `none` - no logs will be exported from the cluster. - // * if left as an empty string,`logging.googleapis.com` will be used. - LoggingService string `protobuf:"bytes,6,opt,name=logging_service,json=loggingService,proto3" json:"logging_service,omitempty"` - // 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. - // * if left as an empty string, `monitoring.googleapis.com` will be used. - MonitoringService string `protobuf:"bytes,7,opt,name=monitoring_service,json=monitoringService,proto3" json:"monitoring_service,omitempty"` - // 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. - 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) - // notation (e.g. `10.96.0.0/14`). Leave blank to have - // one automatically chosen or specify a `/14` block in `10.0.0.0/8`. - ClusterIpv4Cidr string `protobuf:"bytes,9,opt,name=cluster_ipv4_cidr,json=clusterIpv4Cidr,proto3" json:"cluster_ipv4_cidr,omitempty"` - // Configurations for the various addons available to run in the cluster. - 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. - 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 - // 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 - // API groups (e.g. v1alpha1) and features that may not be production ready in - // the kubernetes version of the master and nodes. - // The cluster has no SLA for uptime and master/node upgrades are disabled. - // 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. - IpAllocationPolicy *IPAllocationPolicy `protobuf:"bytes,20,opt,name=ip_allocation_policy,json=ipAllocationPolicy,proto3" json:"ip_allocation_policy,omitempty"` - // 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. - // 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/`. - // - // See the `masterAuth` property of this resource for username and - // password information. - Endpoint string `protobuf:"bytes,102,opt,name=endpoint,proto3" json:"endpoint,omitempty"` - // The initial Kubernetes version for this cluster. Valid versions are those - // 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] 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"` - // [Output only] The current status of this cluster. - Status Cluster_Status `protobuf:"varint,107,opt,name=status,proto3,enum=google.container.v1.Cluster_Status" json:"status,omitempty"` - // [Output only] Additional information about the current status of this - // cluster, if available. - StatusMessage string `protobuf:"bytes,108,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` - // [Output only] The size of the address space on each node for hosting - // containers. This is provisioned from within the `container_ipv4_cidr` - // range. - NodeIpv4CidrSize int32 `protobuf:"varint,109,opt,name=node_ipv4_cidr_size,json=nodeIpv4CidrSize,proto3" json:"node_ipv4_cidr_size,omitempty"` - // [Output only] The IP address range of the Kubernetes services in - // this cluster, in - // [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) - // 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"` - // 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. - 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"` - // [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:"-"` -} - -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_1c7f18b1699f357a, []int{13} -} - -func (m *Cluster) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Cluster.Unmarshal(m, b) -} -func (m *Cluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Cluster.Marshal(b, m, deterministic) -} -func (m *Cluster) XXX_Merge(src proto.Message) { - xxx_messageInfo_Cluster.Merge(m, src) -} -func (m *Cluster) XXX_Size() int { - return xxx_messageInfo_Cluster.Size(m) -} -func (m *Cluster) XXX_DiscardUnknown() { - xxx_messageInfo_Cluster.DiscardUnknown(m) -} - -var xxx_messageInfo_Cluster proto.InternalMessageInfo - -func (m *Cluster) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Cluster) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *Cluster) GetInitialNodeCount() int32 { - if m != nil { - return m.InitialNodeCount - } - return 0 -} - -func (m *Cluster) GetNodeConfig() *NodeConfig { - if m != nil { - return m.NodeConfig - } - return nil -} - -func (m *Cluster) GetMasterAuth() *MasterAuth { - if m != nil { - return m.MasterAuth - } - return nil -} - -func (m *Cluster) GetLoggingService() string { - if m != nil { - return m.LoggingService - } - return "" -} - -func (m *Cluster) GetMonitoringService() string { - if m != nil { - return m.MonitoringService - } - return "" -} - -func (m *Cluster) GetNetwork() string { - if m != nil { - return m.Network - } - return "" -} - -func (m *Cluster) GetClusterIpv4Cidr() string { - if m != nil { - return m.ClusterIpv4Cidr - } - return "" -} - -func (m *Cluster) GetAddonsConfig() *AddonsConfig { - if m != nil { - return m.AddonsConfig - } - return nil -} - -func (m *Cluster) GetSubnetwork() string { - if m != nil { - return m.Subnetwork - } - return "" -} - -func (m *Cluster) GetNodePools() []*NodePool { - if m != nil { - return m.NodePools - } - return nil -} - -func (m *Cluster) GetLocations() []string { - if m != nil { - return m.Locations - } - return nil -} - -func (m *Cluster) GetEnableKubernetesAlpha() bool { - if m != nil { - return m.EnableKubernetesAlpha - } - 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 - } - return nil -} - -func (m *Cluster) GetIpAllocationPolicy() *IPAllocationPolicy { - if m != nil { - return m.IpAllocationPolicy - } - return nil -} - -func (m *Cluster) GetMasterAuthorizedNetworksConfig() *MasterAuthorizedNetworksConfig { - if m != nil { - return m.MasterAuthorizedNetworksConfig - } - return nil -} - -func (m *Cluster) GetMaintenancePolicy() *MaintenancePolicy { - if m != nil { - return m.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 - } - return "" -} - -// Deprecated: Do not use. -func (m *Cluster) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -func (m *Cluster) GetEndpoint() string { - if m != nil { - return m.Endpoint - } - return "" -} - -func (m *Cluster) GetInitialClusterVersion() string { - if m != nil { - return m.InitialClusterVersion - } - return "" -} - -func (m *Cluster) GetCurrentMasterVersion() string { - if m != nil { - return m.CurrentMasterVersion - } - return "" -} - -// Deprecated: Do not use. -func (m *Cluster) GetCurrentNodeVersion() string { - if m != nil { - return m.CurrentNodeVersion - } - return "" -} - -func (m *Cluster) GetCreateTime() string { - if m != nil { - return m.CreateTime - } - return "" -} - -func (m *Cluster) GetStatus() Cluster_Status { - if m != nil { - return m.Status - } - return Cluster_STATUS_UNSPECIFIED -} - -func (m *Cluster) GetStatusMessage() string { - if m != nil { - return m.StatusMessage - } - return "" -} - -func (m *Cluster) GetNodeIpv4CidrSize() int32 { - if m != nil { - return m.NodeIpv4CidrSize - } - return 0 -} - -func (m *Cluster) GetServicesIpv4Cidr() string { - if m != nil { - return m.ServicesIpv4Cidr - } - return "" -} - -// Deprecated: Do not use. -func (m *Cluster) GetInstanceGroupUrls() []string { - if m != nil { - return m.InstanceGroupUrls - } - return nil -} - -func (m *Cluster) GetCurrentNodeCount() int32 { - if m != nil { - return m.CurrentNodeCount - } - return 0 -} - -func (m *Cluster) GetExpireTime() string { - if m != nil { - return m.ExpireTime - } - 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). - // - // 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" - 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"` - // Configurations for the various addons available to run in the cluster. - DesiredAddonsConfig *AddonsConfig `protobuf:"bytes,6,opt,name=desired_addons_config,json=desiredAddonsConfig,proto3" json:"desired_addons_config,omitempty"` - // The node pool to be upgraded. This field is mandatory if - // "desired_node_version", "desired_image_family" or - // "desired_node_pool_autoscaling" is specified and there is more than one - // node pool on the cluster. - DesiredNodePoolId string `protobuf:"bytes,7,opt,name=desired_node_pool_id,json=desiredNodePoolId,proto3" json:"desired_node_pool_id,omitempty"` - // The desired image type for the node pool. - // NOTE: Set the "desired_node_pool" field as well. - DesiredImageType string `protobuf:"bytes,8,opt,name=desired_image_type,json=desiredImageType,proto3" json:"desired_image_type,omitempty"` - // Autoscaler configuration for the node pool specified in - // desired_node_pool_id. If there is only one pool in the - // cluster and desired_node_pool_id is not provided then - // 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 - // 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. - DesiredLocations []string `protobuf:"bytes,10,rep,name=desired_locations,json=desiredLocations,proto3" json:"desired_locations,omitempty"` - // 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. - // - // 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:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1c7f18b1699f357a, []int{14} -} - -func (m *ClusterUpdate) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClusterUpdate.Unmarshal(m, b) -} -func (m *ClusterUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClusterUpdate.Marshal(b, m, deterministic) -} -func (m *ClusterUpdate) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClusterUpdate.Merge(m, src) -} -func (m *ClusterUpdate) XXX_Size() int { - return xxx_messageInfo_ClusterUpdate.Size(m) -} -func (m *ClusterUpdate) XXX_DiscardUnknown() { - xxx_messageInfo_ClusterUpdate.DiscardUnknown(m) -} - -var xxx_messageInfo_ClusterUpdate proto.InternalMessageInfo - -func (m *ClusterUpdate) GetDesiredNodeVersion() string { - if m != nil { - return m.DesiredNodeVersion - } - return "" -} - -func (m *ClusterUpdate) GetDesiredMonitoringService() string { - if m != nil { - return m.DesiredMonitoringService - } - return "" -} - -func (m *ClusterUpdate) GetDesiredAddonsConfig() *AddonsConfig { - if m != nil { - return m.DesiredAddonsConfig - } - return nil -} - -func (m *ClusterUpdate) GetDesiredNodePoolId() string { - if m != nil { - return m.DesiredNodePoolId - } - return "" -} - -func (m *ClusterUpdate) GetDesiredImageType() string { - if m != nil { - return m.DesiredImageType - } - return "" -} - -func (m *ClusterUpdate) GetDesiredNodePoolAutoscaling() *NodePoolAutoscaling { - if m != nil { - return m.DesiredNodePoolAutoscaling - } - return nil -} - -func (m *ClusterUpdate) GetDesiredLocations() []string { - if m != nil { - return m.DesiredLocations - } - return nil -} - -func (m *ClusterUpdate) GetDesiredMasterAuthorizedNetworksConfig() *MasterAuthorizedNetworksConfig { - if m != nil { - return m.DesiredMasterAuthorizedNetworksConfig - } - return nil -} - -func (m *ClusterUpdate) GetDesiredMasterVersion() string { - if m != nil { - return m.DesiredMasterVersion - } - return "" -} - -// This operation resource represents operations that may have happened or are -// happening on the cluster. All fields are output only. -type Operation struct { - // The server-assigned ID for the operation. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The name of the Google Compute Engine - // [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"` // 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. - Status Operation_Status `protobuf:"varint,4,opt,name=status,proto3,enum=google.container.v1.Operation_Status" json:"status,omitempty"` - // Detailed operation progress, if available. - Detail string `protobuf:"bytes,8,opt,name=detail,proto3" json:"detail,omitempty"` - // If an error has occurred, a textual description of the error. - StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` - // Server-defined URL for the resource. - 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"` - // [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:"-"` -} - -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_1c7f18b1699f357a, []int{15} -} - -func (m *Operation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Operation.Unmarshal(m, b) -} -func (m *Operation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Operation.Marshal(b, m, deterministic) -} -func (m *Operation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Operation.Merge(m, src) -} -func (m *Operation) XXX_Size() int { - return xxx_messageInfo_Operation.Size(m) -} -func (m *Operation) XXX_DiscardUnknown() { - xxx_messageInfo_Operation.DiscardUnknown(m) -} - -var xxx_messageInfo_Operation proto.InternalMessageInfo - -func (m *Operation) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Deprecated: Do not use. -func (m *Operation) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -func (m *Operation) GetOperationType() Operation_Type { - if m != nil { - return m.OperationType - } - return Operation_TYPE_UNSPECIFIED -} - -func (m *Operation) GetStatus() Operation_Status { - if m != nil { - return m.Status - } - return Operation_STATUS_UNSPECIFIED -} - -func (m *Operation) GetDetail() string { - if m != nil { - return m.Detail - } - return "" -} - -func (m *Operation) GetStatusMessage() string { - if m != nil { - return m.StatusMessage - } - return "" -} - -func (m *Operation) GetSelfLink() string { - if m != nil { - return m.SelfLink - } - return "" -} - -func (m *Operation) GetTargetLink() string { - if m != nil { - return m.TargetLink - } - return "" -} - -func (m *Operation) GetLocation() string { - if m != nil { - return m.Location - } - return "" -} - -func (m *Operation) GetStartTime() string { - if m != nil { - return m.StartTime - } - return "" -} - -func (m *Operation) GetEndTime() string { - if m != nil { - return m.EndTime - } - return "" -} - -// CreateClusterRequest creates a cluster. -type CreateClusterRequest 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 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"` - // 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:"-"` -} - -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_1c7f18b1699f357a, []int{16} -} - -func (m *CreateClusterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateClusterRequest.Unmarshal(m, b) -} -func (m *CreateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateClusterRequest.Marshal(b, m, deterministic) -} -func (m *CreateClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateClusterRequest.Merge(m, src) -} -func (m *CreateClusterRequest) XXX_Size() int { - return xxx_messageInfo_CreateClusterRequest.Size(m) -} -func (m *CreateClusterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateClusterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateClusterRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *CreateClusterRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *CreateClusterRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -func (m *CreateClusterRequest) GetCluster() *Cluster { - if m != nil { - return m.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 { - // 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 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:"-"` -} - -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_1c7f18b1699f357a, []int{17} -} - -func (m *GetClusterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetClusterRequest.Unmarshal(m, b) -} -func (m *GetClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetClusterRequest.Marshal(b, m, deterministic) -} -func (m *GetClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetClusterRequest.Merge(m, src) -} -func (m *GetClusterRequest) XXX_Size() int { - return xxx_messageInfo_GetClusterRequest.Size(m) -} -func (m *GetClusterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetClusterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetClusterRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *GetClusterRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *GetClusterRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// Deprecated: Do not use. -func (m *GetClusterRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -func (m *GetClusterRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// UpdateClusterRequest updates the settings of a cluster. -type UpdateClusterRequest 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. - // 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. - // 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_1c7f18b1699f357a, []int{18} -} - -func (m *UpdateClusterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateClusterRequest.Unmarshal(m, b) -} -func (m *UpdateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateClusterRequest.Marshal(b, m, deterministic) -} -func (m *UpdateClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateClusterRequest.Merge(m, src) -} -func (m *UpdateClusterRequest) XXX_Size() int { - return xxx_messageInfo_UpdateClusterRequest.Size(m) -} -func (m *UpdateClusterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateClusterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateClusterRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *UpdateClusterRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *UpdateClusterRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// Deprecated: Do not use. -func (m *UpdateClusterRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -func (m *UpdateClusterRequest) GetUpdate() *ClusterUpdate { - if m != nil { - return m.Update - } - 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 { - // 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. - // 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 *UpdateNodePoolRequest) Reset() { *m = UpdateNodePoolRequest{} } -func (m *UpdateNodePoolRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateNodePoolRequest) ProtoMessage() {} -func (*UpdateNodePoolRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1c7f18b1699f357a, []int{19} -} - -func (m *UpdateNodePoolRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateNodePoolRequest.Unmarshal(m, b) -} -func (m *UpdateNodePoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateNodePoolRequest.Marshal(b, m, deterministic) -} -func (m *UpdateNodePoolRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateNodePoolRequest.Merge(m, src) -} -func (m *UpdateNodePoolRequest) XXX_Size() int { - return xxx_messageInfo_UpdateNodePoolRequest.Size(m) -} -func (m *UpdateNodePoolRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateNodePoolRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateNodePoolRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *UpdateNodePoolRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *UpdateNodePoolRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// Deprecated: Do not use. -func (m *UpdateNodePoolRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -// Deprecated: Do not use. -func (m *UpdateNodePoolRequest) GetNodePoolId() string { - if m != nil { - return m.NodePoolId - } - return "" -} - -func (m *UpdateNodePoolRequest) GetNodeVersion() string { - if m != nil { - return m.NodeVersion - } - return "" -} - -func (m *UpdateNodePoolRequest) GetImageType() string { - if m != nil { - return m.ImageType - } - 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 { - // 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. - // 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 *SetNodePoolAutoscalingRequest) Reset() { *m = SetNodePoolAutoscalingRequest{} } -func (m *SetNodePoolAutoscalingRequest) String() string { return proto.CompactTextString(m) } -func (*SetNodePoolAutoscalingRequest) ProtoMessage() {} -func (*SetNodePoolAutoscalingRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1c7f18b1699f357a, []int{20} -} - -func (m *SetNodePoolAutoscalingRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetNodePoolAutoscalingRequest.Unmarshal(m, b) -} -func (m *SetNodePoolAutoscalingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetNodePoolAutoscalingRequest.Marshal(b, m, deterministic) -} -func (m *SetNodePoolAutoscalingRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetNodePoolAutoscalingRequest.Merge(m, src) -} -func (m *SetNodePoolAutoscalingRequest) XXX_Size() int { - return xxx_messageInfo_SetNodePoolAutoscalingRequest.Size(m) -} -func (m *SetNodePoolAutoscalingRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetNodePoolAutoscalingRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetNodePoolAutoscalingRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *SetNodePoolAutoscalingRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *SetNodePoolAutoscalingRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// Deprecated: Do not use. -func (m *SetNodePoolAutoscalingRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -// 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 "" -} - -// 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 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. 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 *SetLoggingServiceRequest) Reset() { *m = SetLoggingServiceRequest{} } -func (m *SetLoggingServiceRequest) String() string { return proto.CompactTextString(m) } -func (*SetLoggingServiceRequest) ProtoMessage() {} -func (*SetLoggingServiceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1c7f18b1699f357a, []int{21} -} - -func (m *SetLoggingServiceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetLoggingServiceRequest.Unmarshal(m, b) -} -func (m *SetLoggingServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetLoggingServiceRequest.Marshal(b, m, deterministic) -} -func (m *SetLoggingServiceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetLoggingServiceRequest.Merge(m, src) -} -func (m *SetLoggingServiceRequest) XXX_Size() int { - return xxx_messageInfo_SetLoggingServiceRequest.Size(m) -} -func (m *SetLoggingServiceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetLoggingServiceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetLoggingServiceRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *SetLoggingServiceRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *SetLoggingServiceRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// Deprecated: Do not use. -func (m *SetLoggingServiceRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -func (m *SetLoggingServiceRequest) GetLoggingService() string { - if m != nil { - return m.LoggingService - } - return "" -} - -func (m *SetLoggingServiceRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// 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 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 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 *SetMonitoringServiceRequest) Reset() { *m = SetMonitoringServiceRequest{} } -func (m *SetMonitoringServiceRequest) String() string { return proto.CompactTextString(m) } -func (*SetMonitoringServiceRequest) ProtoMessage() {} -func (*SetMonitoringServiceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1c7f18b1699f357a, []int{22} -} - -func (m *SetMonitoringServiceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetMonitoringServiceRequest.Unmarshal(m, b) -} -func (m *SetMonitoringServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetMonitoringServiceRequest.Marshal(b, m, deterministic) -} -func (m *SetMonitoringServiceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetMonitoringServiceRequest.Merge(m, src) -} -func (m *SetMonitoringServiceRequest) XXX_Size() int { - return xxx_messageInfo_SetMonitoringServiceRequest.Size(m) -} -func (m *SetMonitoringServiceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetMonitoringServiceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetMonitoringServiceRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *SetMonitoringServiceRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *SetMonitoringServiceRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// Deprecated: Do not use. -func (m *SetMonitoringServiceRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -func (m *SetMonitoringServiceRequest) GetMonitoringService() string { - if m != nil { - return m.MonitoringService - } - return "" -} - -func (m *SetMonitoringServiceRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// SetAddonsConfigRequest 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 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 *SetAddonsConfigRequest) Reset() { *m = SetAddonsConfigRequest{} } -func (m *SetAddonsConfigRequest) String() string { return proto.CompactTextString(m) } -func (*SetAddonsConfigRequest) ProtoMessage() {} -func (*SetAddonsConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1c7f18b1699f357a, []int{23} -} - -func (m *SetAddonsConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetAddonsConfigRequest.Unmarshal(m, b) -} -func (m *SetAddonsConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetAddonsConfigRequest.Marshal(b, m, deterministic) -} -func (m *SetAddonsConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetAddonsConfigRequest.Merge(m, src) -} -func (m *SetAddonsConfigRequest) XXX_Size() int { - return xxx_messageInfo_SetAddonsConfigRequest.Size(m) -} -func (m *SetAddonsConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetAddonsConfigRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetAddonsConfigRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *SetAddonsConfigRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *SetAddonsConfigRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// Deprecated: Do not use. -func (m *SetAddonsConfigRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -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 - // [locations](/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 *SetLocationsRequest) Reset() { *m = SetLocationsRequest{} } -func (m *SetLocationsRequest) String() string { return proto.CompactTextString(m) } -func (*SetLocationsRequest) ProtoMessage() {} -func (*SetLocationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1c7f18b1699f357a, []int{24} -} - -func (m *SetLocationsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetLocationsRequest.Unmarshal(m, b) -} -func (m *SetLocationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetLocationsRequest.Marshal(b, m, deterministic) -} -func (m *SetLocationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetLocationsRequest.Merge(m, src) -} -func (m *SetLocationsRequest) XXX_Size() int { - return xxx_messageInfo_SetLocationsRequest.Size(m) -} -func (m *SetLocationsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetLocationsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetLocationsRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *SetLocationsRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *SetLocationsRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// Deprecated: Do not use. -func (m *SetLocationsRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -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 "" -} - -// 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 *UpdateMasterRequest) Reset() { *m = UpdateMasterRequest{} } -func (m *UpdateMasterRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateMasterRequest) ProtoMessage() {} -func (*UpdateMasterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1c7f18b1699f357a, []int{25} -} - -func (m *UpdateMasterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateMasterRequest.Unmarshal(m, b) -} -func (m *UpdateMasterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateMasterRequest.Marshal(b, m, deterministic) -} -func (m *UpdateMasterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateMasterRequest.Merge(m, src) -} -func (m *UpdateMasterRequest) XXX_Size() int { - return xxx_messageInfo_UpdateMasterRequest.Size(m) -} -func (m *UpdateMasterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateMasterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateMasterRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *UpdateMasterRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *UpdateMasterRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// Deprecated: Do not use. -func (m *UpdateMasterRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -func (m *UpdateMasterRequest) GetMasterVersion() string { - if m != nil { - return m.MasterVersion - } - return "" -} - -func (m *UpdateMasterRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// 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.v1.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 *SetMasterAuthRequest) Reset() { *m = SetMasterAuthRequest{} } -func (m *SetMasterAuthRequest) String() string { return proto.CompactTextString(m) } -func (*SetMasterAuthRequest) ProtoMessage() {} -func (*SetMasterAuthRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1c7f18b1699f357a, []int{26} -} - -func (m *SetMasterAuthRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetMasterAuthRequest.Unmarshal(m, b) -} -func (m *SetMasterAuthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetMasterAuthRequest.Marshal(b, m, deterministic) -} -func (m *SetMasterAuthRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetMasterAuthRequest.Merge(m, src) -} -func (m *SetMasterAuthRequest) XXX_Size() int { - return xxx_messageInfo_SetMasterAuthRequest.Size(m) -} -func (m *SetMasterAuthRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetMasterAuthRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetMasterAuthRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *SetMasterAuthRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *SetMasterAuthRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// Deprecated: Do not use. -func (m *SetMasterAuthRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -func (m *SetMasterAuthRequest) GetAction() SetMasterAuthRequest_Action { - if m != nil { - return m.Action - } - return SetMasterAuthRequest_UNKNOWN -} - -func (m *SetMasterAuthRequest) GetUpdate() *MasterAuth { - if m != nil { - return m.Update - } - return nil -} - -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 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 *DeleteClusterRequest) Reset() { *m = DeleteClusterRequest{} } -func (m *DeleteClusterRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteClusterRequest) ProtoMessage() {} -func (*DeleteClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1c7f18b1699f357a, []int{27} -} - -func (m *DeleteClusterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteClusterRequest.Unmarshal(m, b) -} -func (m *DeleteClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteClusterRequest.Marshal(b, m, deterministic) -} -func (m *DeleteClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteClusterRequest.Merge(m, src) -} -func (m *DeleteClusterRequest) XXX_Size() int { - return xxx_messageInfo_DeleteClusterRequest.Size(m) -} -func (m *DeleteClusterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteClusterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteClusterRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *DeleteClusterRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *DeleteClusterRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// Deprecated: Do not use. -func (m *DeleteClusterRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -func (m *DeleteClusterRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// 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, 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 *ListClustersRequest) Reset() { *m = ListClustersRequest{} } -func (m *ListClustersRequest) String() string { return proto.CompactTextString(m) } -func (*ListClustersRequest) ProtoMessage() {} -func (*ListClustersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1c7f18b1699f357a, []int{28} -} - -func (m *ListClustersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListClustersRequest.Unmarshal(m, b) -} -func (m *ListClustersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListClustersRequest.Marshal(b, m, deterministic) -} -func (m *ListClustersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClustersRequest.Merge(m, src) -} -func (m *ListClustersRequest) XXX_Size() int { - return xxx_messageInfo_ListClustersRequest.Size(m) -} -func (m *ListClustersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListClustersRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListClustersRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *ListClustersRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *ListClustersRequest) GetZone() string { - if m != nil { - return m.Zone - } - 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 - // 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_1c7f18b1699f357a, []int{29} -} - -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 (m *ListClustersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClustersResponse.Merge(m, 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.Clusters - } - return nil -} - -func (m *ListClustersResponse) GetMissingZones() []string { - if m != nil { - return m.MissingZones - } - return nil -} - -// 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 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 *GetOperationRequest) Reset() { *m = GetOperationRequest{} } -func (m *GetOperationRequest) String() string { return proto.CompactTextString(m) } -func (*GetOperationRequest) ProtoMessage() {} -func (*GetOperationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1c7f18b1699f357a, []int{30} -} - -func (m *GetOperationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetOperationRequest.Unmarshal(m, b) -} -func (m *GetOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetOperationRequest.Marshal(b, m, deterministic) -} -func (m *GetOperationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetOperationRequest.Merge(m, src) -} -func (m *GetOperationRequest) XXX_Size() int { - return xxx_messageInfo_GetOperationRequest.Size(m) -} -func (m *GetOperationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetOperationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetOperationRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *GetOperationRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *GetOperationRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// Deprecated: Do not use. -func (m *GetOperationRequest) GetOperationId() string { - if m != nil { - return m.OperationId - } - return "" -} - -func (m *GetOperationRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// 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 *ListOperationsRequest) Reset() { *m = ListOperationsRequest{} } -func (m *ListOperationsRequest) String() string { return proto.CompactTextString(m) } -func (*ListOperationsRequest) ProtoMessage() {} -func (*ListOperationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1c7f18b1699f357a, []int{31} -} - -func (m *ListOperationsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListOperationsRequest.Unmarshal(m, b) -} -func (m *ListOperationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListOperationsRequest.Marshal(b, m, deterministic) -} -func (m *ListOperationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListOperationsRequest.Merge(m, src) -} -func (m *ListOperationsRequest) XXX_Size() int { - return xxx_messageInfo_ListOperationsRequest.Size(m) -} -func (m *ListOperationsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListOperationsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListOperationsRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *ListOperationsRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *ListOperationsRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -func (m *ListOperationsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -// 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_1c7f18b1699f357a, []int{32} -} - -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 (m *CancelOperationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CancelOperationRequest.Merge(m, 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_1c7f18b1699f357a, []int{33} -} - -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 (m *ListOperationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListOperationsResponse.Merge(m, 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_1c7f18b1699f357a, []int{34} -} - -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 (m *GetServerConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetServerConfigRequest.Merge(m, 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_1c7f18b1699f357a, []int{35} -} - -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 (m *ServerConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServerConfig.Merge(m, 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_1c7f18b1699f357a, []int{36} -} - -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 (m *CreateNodePoolRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateNodePoolRequest.Merge(m, 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_1c7f18b1699f357a, []int{37} -} - -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 (m *DeleteNodePoolRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteNodePoolRequest.Merge(m, 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_1c7f18b1699f357a, []int{38} -} - -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 (m *ListNodePoolsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNodePoolsRequest.Merge(m, 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_1c7f18b1699f357a, []int{39} -} - -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 (m *GetNodePoolRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNodePoolRequest.Merge(m, 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.v1.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:"-"` -} - -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_1c7f18b1699f357a, []int{40} -} - -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 (m *NodePool) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodePool.Merge(m, 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 -} - -// NodeManagement defines the set of node management services turned on for the -// node pool. -type NodeManagement struct { - // A flag that specifies whether node auto-upgrade is enabled for the node - // pool. If enabled, node auto-upgrade helps keep the nodes in your node pool - // up to date with the latest release version of Kubernetes. - AutoUpgrade bool `protobuf:"varint,1,opt,name=auto_upgrade,json=autoUpgrade,proto3" json:"auto_upgrade,omitempty"` - // A flag that specifies whether the node auto-repair is enabled for the node - // pool. If enabled, the nodes in this node pool will be monitored and, if - // they fail health checks too many times, an automatic repair action will be - // triggered. - 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_1c7f18b1699f357a, []int{41} -} - -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 (m *NodeManagement) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeManagement.Merge(m, 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_1c7f18b1699f357a, []int{42} -} - -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 (m *AutoUpgradeOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_AutoUpgradeOptions.Merge(m, 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_1c7f18b1699f357a, []int{43} -} - -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 (m *MaintenancePolicy) XXX_Merge(src proto.Message) { - xxx_messageInfo_MaintenancePolicy.Merge(m, 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 { - // 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_1c7f18b1699f357a, []int{44} -} - -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 (m *MaintenanceWindow) XXX_Merge(src proto.Message) { - xxx_messageInfo_MaintenanceWindow.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*MaintenanceWindow) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*MaintenanceWindow_DailyMaintenanceWindow)(nil), - } -} - -// Time window specified for daily maintenance operations. -type DailyMaintenanceWindow struct { - // Time within the maintenance window to start the maintenance operations. - // Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) - // 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 will be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) - // format "PTnHnMnS". - 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_1c7f18b1699f357a, []int{45} -} - -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 (m *DailyMaintenanceWindow) XXX_Merge(src proto.Message) { - xxx_messageInfo_DailyMaintenanceWindow.Merge(m, 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_1c7f18b1699f357a, []int{46} -} - -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 (m *SetNodePoolManagementRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetNodePoolManagementRequest.Merge(m, 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 "" -} - -// 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 *SetNodePoolSizeRequest) Reset() { *m = SetNodePoolSizeRequest{} } -func (m *SetNodePoolSizeRequest) String() string { return proto.CompactTextString(m) } -func (*SetNodePoolSizeRequest) ProtoMessage() {} -func (*SetNodePoolSizeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1c7f18b1699f357a, []int{47} -} - -func (m *SetNodePoolSizeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetNodePoolSizeRequest.Unmarshal(m, b) -} -func (m *SetNodePoolSizeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetNodePoolSizeRequest.Marshal(b, m, deterministic) -} -func (m *SetNodePoolSizeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetNodePoolSizeRequest.Merge(m, src) -} -func (m *SetNodePoolSizeRequest) XXX_Size() int { - return xxx_messageInfo_SetNodePoolSizeRequest.Size(m) -} -func (m *SetNodePoolSizeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetNodePoolSizeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetNodePoolSizeRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *SetNodePoolSizeRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *SetNodePoolSizeRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// Deprecated: Do not use. -func (m *SetNodePoolSizeRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -// Deprecated: Do not use. -func (m *SetNodePoolSizeRequest) GetNodePoolId() string { - if m != nil { - return m.NodePoolId - } - return "" -} - -func (m *SetNodePoolSizeRequest) GetNodeCount() int32 { - if m != nil { - return m.NodeCount - } - 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 { - // 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_1c7f18b1699f357a, []int{48} -} - -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 (m *RollbackNodePoolUpgradeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RollbackNodePoolUpgradeRequest.Merge(m, 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.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *RollbackNodePoolUpgradeRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// Deprecated: Do not use. -func (m *RollbackNodePoolUpgradeRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -// Deprecated: Do not use. -func (m *RollbackNodePoolUpgradeRequest) GetNodePoolId() string { - if m != nil { - return m.NodePoolId - } - 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. - 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 *ListNodePoolsResponse) Reset() { *m = ListNodePoolsResponse{} } -func (m *ListNodePoolsResponse) String() string { return proto.CompactTextString(m) } -func (*ListNodePoolsResponse) ProtoMessage() {} -func (*ListNodePoolsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1c7f18b1699f357a, []int{49} -} - -func (m *ListNodePoolsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListNodePoolsResponse.Unmarshal(m, b) -} -func (m *ListNodePoolsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListNodePoolsResponse.Marshal(b, m, deterministic) -} -func (m *ListNodePoolsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNodePoolsResponse.Merge(m, src) -} -func (m *ListNodePoolsResponse) XXX_Size() int { - return xxx_messageInfo_ListNodePoolsResponse.Size(m) -} -func (m *ListNodePoolsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListNodePoolsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListNodePoolsResponse proto.InternalMessageInfo - -func (m *ListNodePoolsResponse) GetNodePools() []*NodePool { - if m != nil { - return m.NodePools - } - return nil -} - -// 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"` - 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_1c7f18b1699f357a, []int{50} -} - -func (m *NodePoolAutoscaling) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodePoolAutoscaling.Unmarshal(m, b) -} -func (m *NodePoolAutoscaling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodePoolAutoscaling.Marshal(b, m, deterministic) -} -func (m *NodePoolAutoscaling) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodePoolAutoscaling.Merge(m, src) -} -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_NodePoolAutoscaling proto.InternalMessageInfo - -func (m *NodePoolAutoscaling) GetEnabled() bool { - if m != nil { - return m.Enabled - } - return false -} - -func (m *NodePoolAutoscaling) GetMinNodeCount() int32 { - if m != nil { - return m.MinNodeCount - } - return 0 -} - -func (m *NodePoolAutoscaling) GetMaxNodeCount() int32 { - if m != nil { - return m.MaxNodeCount - } - return 0 -} - -// 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 (m *SetLabelsRequest) Reset() { *m = SetLabelsRequest{} } -func (m *SetLabelsRequest) String() string { return proto.CompactTextString(m) } -func (*SetLabelsRequest) ProtoMessage() {} -func (*SetLabelsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1c7f18b1699f357a, []int{51} -} - -func (m *SetLabelsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetLabelsRequest.Unmarshal(m, b) -} -func (m *SetLabelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetLabelsRequest.Marshal(b, m, deterministic) -} -func (m *SetLabelsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetLabelsRequest.Merge(m, src) -} -func (m *SetLabelsRequest) XXX_Size() int { - return xxx_messageInfo_SetLabelsRequest.Size(m) -} -func (m *SetLabelsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetLabelsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetLabelsRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *SetLabelsRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *SetLabelsRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// Deprecated: Do not use. -func (m *SetLabelsRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -func (m *SetLabelsRequest) GetResourceLabels() map[string]string { - if m != nil { - return m.ResourceLabels - } - return nil -} - -func (m *SetLabelsRequest) GetLabelFingerprint() string { - if m != nil { - return m.LabelFingerprint - } - 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 { - // 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 *SetLegacyAbacRequest) Reset() { *m = SetLegacyAbacRequest{} } -func (m *SetLegacyAbacRequest) String() string { return proto.CompactTextString(m) } -func (*SetLegacyAbacRequest) ProtoMessage() {} -func (*SetLegacyAbacRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1c7f18b1699f357a, []int{52} -} - -func (m *SetLegacyAbacRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetLegacyAbacRequest.Unmarshal(m, b) -} -func (m *SetLegacyAbacRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetLegacyAbacRequest.Marshal(b, m, deterministic) -} -func (m *SetLegacyAbacRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetLegacyAbacRequest.Merge(m, src) -} -func (m *SetLegacyAbacRequest) XXX_Size() int { - return xxx_messageInfo_SetLegacyAbacRequest.Size(m) -} -func (m *SetLegacyAbacRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetLegacyAbacRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetLegacyAbacRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *SetLegacyAbacRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *SetLegacyAbacRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// 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 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 *StartIPRotationRequest) Reset() { *m = StartIPRotationRequest{} } -func (m *StartIPRotationRequest) String() string { return proto.CompactTextString(m) } -func (*StartIPRotationRequest) ProtoMessage() {} -func (*StartIPRotationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1c7f18b1699f357a, []int{53} -} - -func (m *StartIPRotationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StartIPRotationRequest.Unmarshal(m, b) -} -func (m *StartIPRotationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StartIPRotationRequest.Marshal(b, m, deterministic) -} -func (m *StartIPRotationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartIPRotationRequest.Merge(m, src) -} -func (m *StartIPRotationRequest) XXX_Size() int { - return xxx_messageInfo_StartIPRotationRequest.Size(m) -} -func (m *StartIPRotationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StartIPRotationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_StartIPRotationRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *StartIPRotationRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *StartIPRotationRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// Deprecated: Do not use. -func (m *StartIPRotationRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - 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 { - // 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 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 *CompleteIPRotationRequest) Reset() { *m = CompleteIPRotationRequest{} } -func (m *CompleteIPRotationRequest) String() string { return proto.CompactTextString(m) } -func (*CompleteIPRotationRequest) ProtoMessage() {} -func (*CompleteIPRotationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1c7f18b1699f357a, []int{54} -} - -func (m *CompleteIPRotationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CompleteIPRotationRequest.Unmarshal(m, b) -} -func (m *CompleteIPRotationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CompleteIPRotationRequest.Marshal(b, m, deterministic) -} -func (m *CompleteIPRotationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CompleteIPRotationRequest.Merge(m, src) -} -func (m *CompleteIPRotationRequest) XXX_Size() int { - return xxx_messageInfo_CompleteIPRotationRequest.Size(m) -} -func (m *CompleteIPRotationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CompleteIPRotationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CompleteIPRotationRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *CompleteIPRotationRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *CompleteIPRotationRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// Deprecated: Do not use. -func (m *CompleteIPRotationRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - 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. - 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_1c7f18b1699f357a, []int{55} -} - -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 (m *AcceleratorConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_AcceleratorConfig.Merge(m, 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.AcceleratorCount - } - return 0 -} - -func (m *AcceleratorConfig) GetAcceleratorType() string { - if m != nil { - return m.AcceleratorType - } - return "" -} - -// 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 *SetNetworkPolicyRequest) Reset() { *m = SetNetworkPolicyRequest{} } -func (m *SetNetworkPolicyRequest) String() string { return proto.CompactTextString(m) } -func (*SetNetworkPolicyRequest) ProtoMessage() {} -func (*SetNetworkPolicyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1c7f18b1699f357a, []int{56} -} - -func (m *SetNetworkPolicyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetNetworkPolicyRequest.Unmarshal(m, b) -} -func (m *SetNetworkPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetNetworkPolicyRequest.Marshal(b, m, deterministic) -} -func (m *SetNetworkPolicyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetNetworkPolicyRequest.Merge(m, src) -} -func (m *SetNetworkPolicyRequest) XXX_Size() int { - return xxx_messageInfo_SetNetworkPolicyRequest.Size(m) -} -func (m *SetNetworkPolicyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetNetworkPolicyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetNetworkPolicyRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *SetNetworkPolicyRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *SetNetworkPolicyRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// Deprecated: Do not use. -func (m *SetNetworkPolicyRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -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://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"` - 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_1c7f18b1699f357a, []int{57} -} - -func (m *SetMaintenancePolicyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetMaintenancePolicyRequest.Unmarshal(m, b) -} -func (m *SetMaintenancePolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetMaintenancePolicyRequest.Marshal(b, m, deterministic) -} -func (m *SetMaintenancePolicyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetMaintenancePolicyRequest.Merge(m, src) -} -func (m *SetMaintenancePolicyRequest) XXX_Size() int { - return xxx_messageInfo_SetMaintenancePolicyRequest.Size(m) -} -func (m *SetMaintenancePolicyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetMaintenancePolicyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetMaintenancePolicyRequest proto.InternalMessageInfo - -func (m *SetMaintenancePolicyRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *SetMaintenancePolicyRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -func (m *SetMaintenancePolicyRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -func (m *SetMaintenancePolicyRequest) GetMaintenancePolicy() *MaintenancePolicy { - if m != nil { - return m.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_1c7f18b1699f357a, []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 (m *NetworkConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkConfig.Merge(m, 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.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) - proto.RegisterEnum("google.container.v1.Operation_Type", Operation_Type_name, Operation_Type_value) - proto.RegisterEnum("google.container.v1.SetMasterAuthRequest_Action", SetMasterAuthRequest_Action_name, SetMasterAuthRequest_Action_value) - proto.RegisterEnum("google.container.v1.NodePool_Status", NodePool_Status_name, NodePool_Status_value) - proto.RegisterType((*NodeConfig)(nil), "google.container.v1.NodeConfig") - proto.RegisterMapType((map[string]string)(nil), "google.container.v1.NodeConfig.LabelsEntry") - proto.RegisterMapType((map[string]string)(nil), "google.container.v1.NodeConfig.MetadataEntry") - proto.RegisterType((*MasterAuth)(nil), "google.container.v1.MasterAuth") - proto.RegisterType((*ClientCertificateConfig)(nil), "google.container.v1.ClientCertificateConfig") - proto.RegisterType((*AddonsConfig)(nil), "google.container.v1.AddonsConfig") - proto.RegisterType((*HttpLoadBalancing)(nil), "google.container.v1.HttpLoadBalancing") - 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") - proto.RegisterType((*NetworkPolicy)(nil), "google.container.v1.NetworkPolicy") - proto.RegisterType((*IPAllocationPolicy)(nil), "google.container.v1.IPAllocationPolicy") - proto.RegisterType((*Cluster)(nil), "google.container.v1.Cluster") - proto.RegisterMapType((map[string]string)(nil), "google.container.v1.Cluster.ResourceLabelsEntry") - proto.RegisterType((*ClusterUpdate)(nil), "google.container.v1.ClusterUpdate") - proto.RegisterType((*Operation)(nil), "google.container.v1.Operation") - proto.RegisterType((*CreateClusterRequest)(nil), "google.container.v1.CreateClusterRequest") - proto.RegisterType((*GetClusterRequest)(nil), "google.container.v1.GetClusterRequest") - proto.RegisterType((*UpdateClusterRequest)(nil), "google.container.v1.UpdateClusterRequest") - proto.RegisterType((*UpdateNodePoolRequest)(nil), "google.container.v1.UpdateNodePoolRequest") - proto.RegisterType((*SetNodePoolAutoscalingRequest)(nil), "google.container.v1.SetNodePoolAutoscalingRequest") - proto.RegisterType((*SetLoggingServiceRequest)(nil), "google.container.v1.SetLoggingServiceRequest") - proto.RegisterType((*SetMonitoringServiceRequest)(nil), "google.container.v1.SetMonitoringServiceRequest") - proto.RegisterType((*SetAddonsConfigRequest)(nil), "google.container.v1.SetAddonsConfigRequest") - proto.RegisterType((*SetLocationsRequest)(nil), "google.container.v1.SetLocationsRequest") - proto.RegisterType((*UpdateMasterRequest)(nil), "google.container.v1.UpdateMasterRequest") - proto.RegisterType((*SetMasterAuthRequest)(nil), "google.container.v1.SetMasterAuthRequest") - proto.RegisterType((*DeleteClusterRequest)(nil), "google.container.v1.DeleteClusterRequest") - proto.RegisterType((*ListClustersRequest)(nil), "google.container.v1.ListClustersRequest") - proto.RegisterType((*ListClustersResponse)(nil), "google.container.v1.ListClustersResponse") - proto.RegisterType((*GetOperationRequest)(nil), "google.container.v1.GetOperationRequest") - proto.RegisterType((*ListOperationsRequest)(nil), "google.container.v1.ListOperationsRequest") - proto.RegisterType((*CancelOperationRequest)(nil), "google.container.v1.CancelOperationRequest") - proto.RegisterType((*ListOperationsResponse)(nil), "google.container.v1.ListOperationsResponse") - proto.RegisterType((*GetServerConfigRequest)(nil), "google.container.v1.GetServerConfigRequest") - proto.RegisterType((*ServerConfig)(nil), "google.container.v1.ServerConfig") - proto.RegisterType((*CreateNodePoolRequest)(nil), "google.container.v1.CreateNodePoolRequest") - proto.RegisterType((*DeleteNodePoolRequest)(nil), "google.container.v1.DeleteNodePoolRequest") - proto.RegisterType((*ListNodePoolsRequest)(nil), "google.container.v1.ListNodePoolsRequest") - proto.RegisterType((*GetNodePoolRequest)(nil), "google.container.v1.GetNodePoolRequest") - proto.RegisterType((*NodePool)(nil), "google.container.v1.NodePool") - proto.RegisterType((*NodeManagement)(nil), "google.container.v1.NodeManagement") - proto.RegisterType((*AutoUpgradeOptions)(nil), "google.container.v1.AutoUpgradeOptions") - proto.RegisterType((*MaintenancePolicy)(nil), "google.container.v1.MaintenancePolicy") - proto.RegisterType((*MaintenanceWindow)(nil), "google.container.v1.MaintenanceWindow") - proto.RegisterType((*DailyMaintenanceWindow)(nil), "google.container.v1.DailyMaintenanceWindow") - proto.RegisterType((*SetNodePoolManagementRequest)(nil), "google.container.v1.SetNodePoolManagementRequest") - proto.RegisterType((*SetNodePoolSizeRequest)(nil), "google.container.v1.SetNodePoolSizeRequest") - proto.RegisterType((*RollbackNodePoolUpgradeRequest)(nil), "google.container.v1.RollbackNodePoolUpgradeRequest") - proto.RegisterType((*ListNodePoolsResponse)(nil), "google.container.v1.ListNodePoolsResponse") - proto.RegisterType((*NodePoolAutoscaling)(nil), "google.container.v1.NodePoolAutoscaling") - proto.RegisterType((*SetLabelsRequest)(nil), "google.container.v1.SetLabelsRequest") - proto.RegisterMapType((map[string]string)(nil), "google.container.v1.SetLabelsRequest.ResourceLabelsEntry") - proto.RegisterType((*SetLegacyAbacRequest)(nil), "google.container.v1.SetLegacyAbacRequest") - proto.RegisterType((*StartIPRotationRequest)(nil), "google.container.v1.StartIPRotationRequest") - proto.RegisterType((*CompleteIPRotationRequest)(nil), "google.container.v1.CompleteIPRotationRequest") - 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") -} - -func init() { - proto.RegisterFile("google/container/v1/cluster_service.proto", fileDescriptor_1c7f18b1699f357a) -} - -var fileDescriptor_1c7f18b1699f357a = []byte{ - // 5271 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x3c, 0x6d, 0x8c, 0x24, 0xd7, - 0x51, 0xe9, 0xd9, 0xd9, 0xd9, 0x9d, 0x9a, 0xd9, 0xd9, 0xd9, 0xb7, 0x1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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, 0x7d, 0x1e, 0x1f, 0xb6, - 0xcf, 0x2a, 0x99, 0x4d, 0x77, 0x61, 0xa8, 0xe8, 0x51, 0x98, 0x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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, 0x00, 0x1d, - 0x0b, 0x1c, 0x8a, 0x04, 0x7a, 0xe0, 0x5c, 0x6a, 0x90, 0x0b, 0xc7, 0x63, 0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 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, 0xc3, 0x4c, 0x79, 0x6b, 0x73, - 0x43, 0x66, 0xdb, 0x52, 0x42, 0x00, 0x0b, 0x90, 0x80, 0xc3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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, 0x66, 0x28, 0x81, 0xe2, 0x88, 0xdf, 0x11, 0x60, 0x9e, 0xbe, 0xea, - 0x8e, 0x36, 0xc4, 0xbf, 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xbf, - 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, 0xef, 0xcf, 0x52, 0xbe, 0x3f, 0x2d, 0x88, - 0xcf, 0x8d, 0xca, 0x37, 0xdd, 0x0e, 0xf3, 0x7c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7, 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, 0x92, 0x85, - 0xdd, 0xbb, 0x22, 0xe6, 0x79, 0x2a, 0x54, 0x04, 0x8b, 0x7f, 0x58, 0xf4, 0x15, 0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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, -} - -// 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 - -// ClusterManagerClient is the client API for ClusterManager service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -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. - 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. - // - // By default, the cluster is created in the project's - // [default network](/compute/docs/networks-and-firewalls#networks). - // - // One firewall is added for the cluster. After cluster creation, - // the cluster creates routes for each node to allow the containers - // on that node to communicate with all other instances in the - // cluster. - // - // 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. - UpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*Operation, error) - // 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 for 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 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 - // nodes. - // - // Firewalls and routes that were configured during cluster creation - // are also deleted. - // - // Other Google Compute Engine resources that might be in use by the cluster - // (e.g. load balancer resources) will not be deleted if they weren't present - // at the initial create time. - DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*Operation, error) - // Lists all operations in a project in a specific zone or all zones. - ListOperations(ctx context.Context, in *ListOperationsRequest, opts ...grpc.CallOption) (*ListOperationsResponse, error) - // Gets the specified operation. - 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 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) - // Retrieves the node pool requested. - GetNodePool(ctx context.Context, in *GetNodePoolRequest, opts ...grpc.CallOption) (*NodePool, error) - // Creates a node pool for a cluster. - CreateNodePool(ctx context.Context, in *CreateNodePoolRequest, opts ...grpc.CallOption) (*Operation, error) - // Deletes a node pool from a cluster. - DeleteNodePool(ctx context.Context, in *DeleteNodePoolRequest, opts ...grpc.CallOption) (*Operation, error) - // Roll back the previously Aborted or Failed NodePool upgrade. - // This will be an no-op if the last upgrade successfully completed. - RollbackNodePoolUpgrade(ctx context.Context, in *RollbackNodePoolUpgradeRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the NodeManagement options for a node pool. - SetNodePoolManagement(ctx context.Context, in *SetNodePoolManagementRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets labels on a cluster. - SetLabels(ctx context.Context, in *SetLabelsRequest, opts ...grpc.CallOption) (*Operation, error) - // Enables or disables the ABAC authorization mechanism on a cluster. - SetLegacyAbac(ctx context.Context, in *SetLegacyAbacRequest, opts ...grpc.CallOption) (*Operation, error) - // Start master IP rotation. - 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) -} - -type clusterManagerClient struct { - cc *grpc.ClientConn -} - -func NewClusterManagerClient(cc *grpc.ClientConn) ClusterManagerClient { - return &clusterManagerClient{cc} -} - -func (c *clusterManagerClient) ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) { - out := new(ListClustersResponse) - err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/ListClusters", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error) { - out := new(Cluster) - err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/GetCluster", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/CreateCluster", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) UpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/UpdateCluster", in, out, opts...) - if err != nil { - return nil, err - } - 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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.ClusterManager/SetMasterAuth", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/DeleteCluster", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) ListOperations(ctx context.Context, in *ListOperationsRequest, opts ...grpc.CallOption) (*ListOperationsResponse, error) { - out := new(ListOperationsResponse) - err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/ListOperations", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) GetOperation(ctx context.Context, in *GetOperationRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/GetOperation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) CancelOperation(ctx context.Context, in *CancelOperationRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/CancelOperation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) GetServerConfig(ctx context.Context, in *GetServerConfigRequest, opts ...grpc.CallOption) (*ServerConfig, error) { - out := new(ServerConfig) - err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/GetServerConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) ListNodePools(ctx context.Context, in *ListNodePoolsRequest, opts ...grpc.CallOption) (*ListNodePoolsResponse, error) { - out := new(ListNodePoolsResponse) - err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/ListNodePools", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) GetNodePool(ctx context.Context, in *GetNodePoolRequest, opts ...grpc.CallOption) (*NodePool, error) { - out := new(NodePool) - err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/GetNodePool", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) CreateNodePool(ctx context.Context, in *CreateNodePoolRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/CreateNodePool", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) DeleteNodePool(ctx context.Context, in *DeleteNodePoolRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/DeleteNodePool", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) RollbackNodePoolUpgrade(ctx context.Context, in *RollbackNodePoolUpgradeRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/RollbackNodePoolUpgrade", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) SetNodePoolManagement(ctx context.Context, in *SetNodePoolManagementRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/SetNodePoolManagement", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) SetLabels(ctx context.Context, in *SetLabelsRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/SetLabels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) SetLegacyAbac(ctx context.Context, in *SetLegacyAbacRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/SetLegacyAbac", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) StartIPRotation(ctx context.Context, in *StartIPRotationRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/StartIPRotation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) CompleteIPRotation(ctx context.Context, in *CompleteIPRotationRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/CompleteIPRotation", in, out, opts...) - if err != nil { - return nil, err - } - 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.v1.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.v1.ClusterManager/SetNetworkPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) SetMaintenancePolicy(ctx context.Context, in *SetMaintenancePolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1.ClusterManager/SetMaintenancePolicy", 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. - GetCluster(context.Context, *GetClusterRequest) (*Cluster, error) - // Creates a cluster, consisting of the specified number and type of Google - // Compute Engine instances. - // - // By default, the cluster is created in the project's - // [default network](/compute/docs/networks-and-firewalls#networks). - // - // One firewall is added for the cluster. After cluster creation, - // the cluster creates routes for each node to allow the containers - // on that node to communicate with all other instances in the - // cluster. - // - // 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. - UpdateCluster(context.Context, *UpdateClusterRequest) (*Operation, error) - // Updates the version and/or image type for a specific node pool. - UpdateNodePool(context.Context, *UpdateNodePoolRequest) (*Operation, error) - // Sets the autoscaling settings for 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 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 - // nodes. - // - // Firewalls and routes that were configured during cluster creation - // are also deleted. - // - // Other Google Compute Engine resources that might be in use by the cluster - // (e.g. load balancer resources) will not be deleted if they weren't present - // at the initial create time. - DeleteCluster(context.Context, *DeleteClusterRequest) (*Operation, error) - // Lists all operations in a project in a specific zone or all zones. - ListOperations(context.Context, *ListOperationsRequest) (*ListOperationsResponse, error) - // Gets the specified operation. - GetOperation(context.Context, *GetOperationRequest) (*Operation, error) - // Cancels the specified operation. - CancelOperation(context.Context, *CancelOperationRequest) (*empty.Empty, error) - // 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) - // Retrieves the node pool requested. - GetNodePool(context.Context, *GetNodePoolRequest) (*NodePool, error) - // Creates a node pool for a cluster. - CreateNodePool(context.Context, *CreateNodePoolRequest) (*Operation, error) - // Deletes a node pool from a cluster. - DeleteNodePool(context.Context, *DeleteNodePoolRequest) (*Operation, error) - // Roll back the previously Aborted or Failed NodePool upgrade. - // This will be an no-op if the last upgrade successfully completed. - RollbackNodePoolUpgrade(context.Context, *RollbackNodePoolUpgradeRequest) (*Operation, error) - // Sets the NodeManagement options for a node pool. - SetNodePoolManagement(context.Context, *SetNodePoolManagementRequest) (*Operation, error) - // Sets labels on a cluster. - SetLabels(context.Context, *SetLabelsRequest) (*Operation, error) - // Enables or disables the ABAC authorization mechanism on a cluster. - SetLegacyAbac(context.Context, *SetLegacyAbacRequest) (*Operation, error) - // Start master IP rotation. - 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) -} - -// UnimplementedClusterManagerServer can be embedded to have forward compatible implementations. -type UnimplementedClusterManagerServer struct { -} - -func (*UnimplementedClusterManagerServer) ListClusters(ctx context.Context, req *ListClustersRequest) (*ListClustersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListClusters not implemented") -} -func (*UnimplementedClusterManagerServer) GetCluster(ctx context.Context, req *GetClusterRequest) (*Cluster, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCluster not implemented") -} -func (*UnimplementedClusterManagerServer) CreateCluster(ctx context.Context, req *CreateClusterRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateCluster not implemented") -} -func (*UnimplementedClusterManagerServer) UpdateCluster(ctx context.Context, req *UpdateClusterRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateCluster not implemented") -} -func (*UnimplementedClusterManagerServer) UpdateNodePool(ctx context.Context, req *UpdateNodePoolRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateNodePool not implemented") -} -func (*UnimplementedClusterManagerServer) SetNodePoolAutoscaling(ctx context.Context, req *SetNodePoolAutoscalingRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetNodePoolAutoscaling not implemented") -} -func (*UnimplementedClusterManagerServer) SetLoggingService(ctx context.Context, req *SetLoggingServiceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetLoggingService not implemented") -} -func (*UnimplementedClusterManagerServer) SetMonitoringService(ctx context.Context, req *SetMonitoringServiceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetMonitoringService not implemented") -} -func (*UnimplementedClusterManagerServer) SetAddonsConfig(ctx context.Context, req *SetAddonsConfigRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetAddonsConfig not implemented") -} -func (*UnimplementedClusterManagerServer) SetLocations(ctx context.Context, req *SetLocationsRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetLocations not implemented") -} -func (*UnimplementedClusterManagerServer) UpdateMaster(ctx context.Context, req *UpdateMasterRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateMaster not implemented") -} -func (*UnimplementedClusterManagerServer) SetMasterAuth(ctx context.Context, req *SetMasterAuthRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetMasterAuth not implemented") -} -func (*UnimplementedClusterManagerServer) DeleteCluster(ctx context.Context, req *DeleteClusterRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteCluster not implemented") -} -func (*UnimplementedClusterManagerServer) ListOperations(ctx context.Context, req *ListOperationsRequest) (*ListOperationsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListOperations not implemented") -} -func (*UnimplementedClusterManagerServer) GetOperation(ctx context.Context, req *GetOperationRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetOperation not implemented") -} -func (*UnimplementedClusterManagerServer) CancelOperation(ctx context.Context, req *CancelOperationRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method CancelOperation not implemented") -} -func (*UnimplementedClusterManagerServer) GetServerConfig(ctx context.Context, req *GetServerConfigRequest) (*ServerConfig, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetServerConfig not implemented") -} -func (*UnimplementedClusterManagerServer) ListNodePools(ctx context.Context, req *ListNodePoolsRequest) (*ListNodePoolsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListNodePools not implemented") -} -func (*UnimplementedClusterManagerServer) GetNodePool(ctx context.Context, req *GetNodePoolRequest) (*NodePool, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNodePool not implemented") -} -func (*UnimplementedClusterManagerServer) CreateNodePool(ctx context.Context, req *CreateNodePoolRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateNodePool not implemented") -} -func (*UnimplementedClusterManagerServer) DeleteNodePool(ctx context.Context, req *DeleteNodePoolRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteNodePool not implemented") -} -func (*UnimplementedClusterManagerServer) RollbackNodePoolUpgrade(ctx context.Context, req *RollbackNodePoolUpgradeRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method RollbackNodePoolUpgrade not implemented") -} -func (*UnimplementedClusterManagerServer) SetNodePoolManagement(ctx context.Context, req *SetNodePoolManagementRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetNodePoolManagement not implemented") -} -func (*UnimplementedClusterManagerServer) SetLabels(ctx context.Context, req *SetLabelsRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetLabels not implemented") -} -func (*UnimplementedClusterManagerServer) SetLegacyAbac(ctx context.Context, req *SetLegacyAbacRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetLegacyAbac not implemented") -} -func (*UnimplementedClusterManagerServer) StartIPRotation(ctx context.Context, req *StartIPRotationRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method StartIPRotation not implemented") -} -func (*UnimplementedClusterManagerServer) CompleteIPRotation(ctx context.Context, req *CompleteIPRotationRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CompleteIPRotation not implemented") -} -func (*UnimplementedClusterManagerServer) SetNodePoolSize(ctx context.Context, req *SetNodePoolSizeRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetNodePoolSize not implemented") -} -func (*UnimplementedClusterManagerServer) SetNetworkPolicy(ctx context.Context, req *SetNetworkPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetNetworkPolicy not implemented") -} -func (*UnimplementedClusterManagerServer) SetMaintenancePolicy(ctx context.Context, req *SetMaintenancePolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetMaintenancePolicy not implemented") -} - -func RegisterClusterManagerServer(s *grpc.Server, srv ClusterManagerServer) { - s.RegisterService(&_ClusterManager_serviceDesc, srv) -} - -func _ClusterManager_ListClusters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListClustersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).ListClusters(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1.ClusterManager/ListClusters", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).ListClusters(ctx, req.(*ListClustersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_GetCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetClusterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).GetCluster(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1.ClusterManager/GetCluster", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).GetCluster(ctx, req.(*GetClusterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_CreateCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateClusterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).CreateCluster(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1.ClusterManager/CreateCluster", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).CreateCluster(ctx, req.(*CreateClusterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_UpdateCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateClusterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).UpdateCluster(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1.ClusterManager/UpdateCluster", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).UpdateCluster(ctx, req.(*UpdateClusterRequest)) - } - 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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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 { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).SetMasterAuth(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1.ClusterManager/SetMasterAuth", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).SetMasterAuth(ctx, req.(*SetMasterAuthRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_DeleteCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteClusterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).DeleteCluster(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1.ClusterManager/DeleteCluster", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).DeleteCluster(ctx, req.(*DeleteClusterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_ListOperations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListOperationsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).ListOperations(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1.ClusterManager/ListOperations", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).ListOperations(ctx, req.(*ListOperationsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_GetOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetOperationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).GetOperation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1.ClusterManager/GetOperation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).GetOperation(ctx, req.(*GetOperationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_CancelOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CancelOperationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).CancelOperation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1.ClusterManager/CancelOperation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).CancelOperation(ctx, req.(*CancelOperationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_GetServerConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetServerConfigRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).GetServerConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1.ClusterManager/GetServerConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).GetServerConfig(ctx, req.(*GetServerConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_ListNodePools_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListNodePoolsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).ListNodePools(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1.ClusterManager/ListNodePools", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).ListNodePools(ctx, req.(*ListNodePoolsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_GetNodePool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetNodePoolRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).GetNodePool(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1.ClusterManager/GetNodePool", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).GetNodePool(ctx, req.(*GetNodePoolRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_CreateNodePool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateNodePoolRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).CreateNodePool(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1.ClusterManager/CreateNodePool", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).CreateNodePool(ctx, req.(*CreateNodePoolRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_DeleteNodePool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteNodePoolRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).DeleteNodePool(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1.ClusterManager/DeleteNodePool", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).DeleteNodePool(ctx, req.(*DeleteNodePoolRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_RollbackNodePoolUpgrade_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RollbackNodePoolUpgradeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).RollbackNodePoolUpgrade(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1.ClusterManager/RollbackNodePoolUpgrade", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).RollbackNodePoolUpgrade(ctx, req.(*RollbackNodePoolUpgradeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_SetNodePoolManagement_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetNodePoolManagementRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).SetNodePoolManagement(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1.ClusterManager/SetNodePoolManagement", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).SetNodePoolManagement(ctx, req.(*SetNodePoolManagementRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_SetLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetLabelsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).SetLabels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1.ClusterManager/SetLabels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).SetLabels(ctx, req.(*SetLabelsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_SetLegacyAbac_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetLegacyAbacRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).SetLegacyAbac(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1.ClusterManager/SetLegacyAbac", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).SetLegacyAbac(ctx, req.(*SetLegacyAbacRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_StartIPRotation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(StartIPRotationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).StartIPRotation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1.ClusterManager/StartIPRotation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).StartIPRotation(ctx, req.(*StartIPRotationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_CompleteIPRotation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CompleteIPRotationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).CompleteIPRotation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1.ClusterManager/CompleteIPRotation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).CompleteIPRotation(ctx, req.(*CompleteIPRotationRequest)) - } - 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.v1.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 { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).SetNetworkPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1.ClusterManager/SetNetworkPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).SetNetworkPolicy(ctx, req.(*SetNetworkPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_SetMaintenancePolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetMaintenancePolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).SetMaintenancePolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1.ClusterManager/SetMaintenancePolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).SetMaintenancePolicy(ctx, req.(*SetMaintenancePolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ClusterManager_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.container.v1.ClusterManager", - HandlerType: (*ClusterManagerServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListClusters", - Handler: _ClusterManager_ListClusters_Handler, - }, - { - MethodName: "GetCluster", - Handler: _ClusterManager_GetCluster_Handler, - }, - { - MethodName: "CreateCluster", - Handler: _ClusterManager_CreateCluster_Handler, - }, - { - 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, - }, - { - MethodName: "DeleteCluster", - Handler: _ClusterManager_DeleteCluster_Handler, - }, - { - MethodName: "ListOperations", - Handler: _ClusterManager_ListOperations_Handler, - }, - { - MethodName: "GetOperation", - Handler: _ClusterManager_GetOperation_Handler, - }, - { - MethodName: "CancelOperation", - Handler: _ClusterManager_CancelOperation_Handler, - }, - { - MethodName: "GetServerConfig", - Handler: _ClusterManager_GetServerConfig_Handler, - }, - { - MethodName: "ListNodePools", - Handler: _ClusterManager_ListNodePools_Handler, - }, - { - MethodName: "GetNodePool", - Handler: _ClusterManager_GetNodePool_Handler, - }, - { - MethodName: "CreateNodePool", - Handler: _ClusterManager_CreateNodePool_Handler, - }, - { - MethodName: "DeleteNodePool", - Handler: _ClusterManager_DeleteNodePool_Handler, - }, - { - MethodName: "RollbackNodePoolUpgrade", - Handler: _ClusterManager_RollbackNodePoolUpgrade_Handler, - }, - { - MethodName: "SetNodePoolManagement", - Handler: _ClusterManager_SetNodePoolManagement_Handler, - }, - { - MethodName: "SetLabels", - Handler: _ClusterManager_SetLabels_Handler, - }, - { - MethodName: "SetLegacyAbac", - Handler: _ClusterManager_SetLegacyAbac_Handler, - }, - { - MethodName: "StartIPRotation", - Handler: _ClusterManager_StartIPRotation_Handler, - }, - { - MethodName: "CompleteIPRotation", - Handler: _ClusterManager_CompleteIPRotation_Handler, - }, - { - MethodName: "SetNodePoolSize", - Handler: _ClusterManager_SetNodePoolSize_Handler, - }, - { - MethodName: "SetNetworkPolicy", - Handler: _ClusterManager_SetNetworkPolicy_Handler, - }, - { - MethodName: "SetMaintenancePolicy", - Handler: _ClusterManager_SetMaintenancePolicy_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/container/v1/cluster_service.proto", -} 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 deleted file mode 100644 index f9b7ef7d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/container/v1alpha1/cluster_service.pb.go +++ /dev/null @@ -1,6957 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/container/v1alpha1/cluster_service.proto - -package container - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible values for Effect in taint. -type NodeTaint_Effect int32 - -const ( - // Not set - NodeTaint_EFFECT_UNSPECIFIED NodeTaint_Effect = 0 - // NoSchedule - NodeTaint_NO_SCHEDULE NodeTaint_Effect = 1 - // PreferNoSchedule - NodeTaint_PREFER_NO_SCHEDULE NodeTaint_Effect = 2 - // NoExecute - NodeTaint_NO_EXECUTE NodeTaint_Effect = 3 -) - -var NodeTaint_Effect_name = map[int32]string{ - 0: "EFFECT_UNSPECIFIED", - 1: "NO_SCHEDULE", - 2: "PREFER_NO_SCHEDULE", - 3: "NO_EXECUTE", -} - -var NodeTaint_Effect_value = map[string]int32{ - "EFFECT_UNSPECIFIED": 0, - "NO_SCHEDULE": 1, - "PREFER_NO_SCHEDULE": 2, - "NO_EXECUTE": 3, -} - -func (x NodeTaint_Effect) String() string { - return proto.EnumName(NodeTaint_Effect_name, int32(x)) -} - -func (NodeTaint_Effect) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_339d8120448ec82b, []int{1, 0} -} - -// Allowed Network Policy providers. -type NetworkPolicy_Provider int32 - -const ( - // Not set - NetworkPolicy_PROVIDER_UNSPECIFIED NetworkPolicy_Provider = 0 - // Tigera (Calico Felix). - NetworkPolicy_CALICO NetworkPolicy_Provider = 1 -) - -var NetworkPolicy_Provider_name = map[int32]string{ - 0: "PROVIDER_UNSPECIFIED", - 1: "CALICO", -} - -var NetworkPolicy_Provider_value = map[string]int32{ - "PROVIDER_UNSPECIFIED": 0, - "CALICO": 1, -} - -func (x NetworkPolicy_Provider) String() string { - return proto.EnumName(NetworkPolicy_Provider_name, int32(x)) -} - -func (NetworkPolicy_Provider) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_339d8120448ec82b, []int{10, 0} -} - -// The current status of the cluster. -type Cluster_Status int32 - -const ( - // Not set. - Cluster_STATUS_UNSPECIFIED Cluster_Status = 0 - // The PROVISIONING state indicates the cluster is being created. - Cluster_PROVISIONING Cluster_Status = 1 - // The RUNNING state indicates the cluster has been created and is fully - // usable. - Cluster_RUNNING Cluster_Status = 2 - // The RECONCILING state indicates that some work is actively being done on - // the cluster, such as upgrading the master or node software. Details can - // be found in the `statusMessage` field. - Cluster_RECONCILING Cluster_Status = 3 - // The STOPPING state indicates the cluster is being deleted. - Cluster_STOPPING Cluster_Status = 4 - // The ERROR state indicates the cluster may be unusable. Details - // can be found in the `statusMessage` field. - Cluster_ERROR Cluster_Status = 5 -) - -var Cluster_Status_name = map[int32]string{ - 0: "STATUS_UNSPECIFIED", - 1: "PROVISIONING", - 2: "RUNNING", - 3: "RECONCILING", - 4: "STOPPING", - 5: "ERROR", -} - -var Cluster_Status_value = map[string]int32{ - "STATUS_UNSPECIFIED": 0, - "PROVISIONING": 1, - "RUNNING": 2, - "RECONCILING": 3, - "STOPPING": 4, - "ERROR": 5, -} - -func (x Cluster_Status) String() string { - return proto.EnumName(Cluster_Status_name, int32(x)) -} - -func (Cluster_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_339d8120448ec82b, []int{13, 0} -} - -// Current status of the operation. -type Operation_Status int32 - -const ( - // Not set. - Operation_STATUS_UNSPECIFIED Operation_Status = 0 - // The operation has been created. - Operation_PENDING Operation_Status = 1 - // The operation is currently running. - Operation_RUNNING Operation_Status = 2 - // The operation is done, either cancelled or completed. - Operation_DONE Operation_Status = 3 - // The operation is aborting. - Operation_ABORTING Operation_Status = 4 -) - -var Operation_Status_name = map[int32]string{ - 0: "STATUS_UNSPECIFIED", - 1: "PENDING", - 2: "RUNNING", - 3: "DONE", - 4: "ABORTING", -} - -var Operation_Status_value = map[string]int32{ - "STATUS_UNSPECIFIED": 0, - "PENDING": 1, - "RUNNING": 2, - "DONE": 3, - "ABORTING": 4, -} - -func (x Operation_Status) String() string { - return proto.EnumName(Operation_Status_name, int32(x)) -} - -func (Operation_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_339d8120448ec82b, []int{15, 0} -} - -// Operation type. -type Operation_Type int32 - -const ( - // Not set. - Operation_TYPE_UNSPECIFIED Operation_Type = 0 - // Cluster create. - Operation_CREATE_CLUSTER Operation_Type = 1 - // Cluster delete. - Operation_DELETE_CLUSTER Operation_Type = 2 - // A master upgrade. - Operation_UPGRADE_MASTER Operation_Type = 3 - // A node upgrade. - Operation_UPGRADE_NODES Operation_Type = 4 - // Cluster repair. - Operation_REPAIR_CLUSTER Operation_Type = 5 - // Cluster update. - Operation_UPDATE_CLUSTER Operation_Type = 6 - // Node pool create. - Operation_CREATE_NODE_POOL Operation_Type = 7 - // Node pool delete. - Operation_DELETE_NODE_POOL Operation_Type = 8 - // Set node pool management. - Operation_SET_NODE_POOL_MANAGEMENT Operation_Type = 9 - // Automatic node pool repair. - Operation_AUTO_REPAIR_NODES Operation_Type = 10 - // Automatic node upgrade. - Operation_AUTO_UPGRADE_NODES Operation_Type = 11 - // Set labels. - Operation_SET_LABELS Operation_Type = 12 - // Set/generate master auth materials - Operation_SET_MASTER_AUTH Operation_Type = 13 - // Set node pool size. - Operation_SET_NODE_POOL_SIZE Operation_Type = 14 - // Updates network policy for a cluster. - Operation_SET_NETWORK_POLICY Operation_Type = 15 - // Set the maintenance policy. - Operation_SET_MAINTENANCE_POLICY Operation_Type = 16 -) - -var Operation_Type_name = map[int32]string{ - 0: "TYPE_UNSPECIFIED", - 1: "CREATE_CLUSTER", - 2: "DELETE_CLUSTER", - 3: "UPGRADE_MASTER", - 4: "UPGRADE_NODES", - 5: "REPAIR_CLUSTER", - 6: "UPDATE_CLUSTER", - 7: "CREATE_NODE_POOL", - 8: "DELETE_NODE_POOL", - 9: "SET_NODE_POOL_MANAGEMENT", - 10: "AUTO_REPAIR_NODES", - 11: "AUTO_UPGRADE_NODES", - 12: "SET_LABELS", - 13: "SET_MASTER_AUTH", - 14: "SET_NODE_POOL_SIZE", - 15: "SET_NETWORK_POLICY", - 16: "SET_MAINTENANCE_POLICY", -} - -var Operation_Type_value = map[string]int32{ - "TYPE_UNSPECIFIED": 0, - "CREATE_CLUSTER": 1, - "DELETE_CLUSTER": 2, - "UPGRADE_MASTER": 3, - "UPGRADE_NODES": 4, - "REPAIR_CLUSTER": 5, - "UPDATE_CLUSTER": 6, - "CREATE_NODE_POOL": 7, - "DELETE_NODE_POOL": 8, - "SET_NODE_POOL_MANAGEMENT": 9, - "AUTO_REPAIR_NODES": 10, - "AUTO_UPGRADE_NODES": 11, - "SET_LABELS": 12, - "SET_MASTER_AUTH": 13, - "SET_NODE_POOL_SIZE": 14, - "SET_NETWORK_POLICY": 15, - "SET_MAINTENANCE_POLICY": 16, -} - -func (x Operation_Type) String() string { - return proto.EnumName(Operation_Type_name, int32(x)) -} - -func (Operation_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_339d8120448ec82b, []int{15, 1} -} - -// Operation type: what type update to perform. -type SetMasterAuthRequest_Action int32 - -const ( - // Operation is unknown and will error out. - SetMasterAuthRequest_UNKNOWN SetMasterAuthRequest_Action = 0 - // Set the password to a user generated value. - SetMasterAuthRequest_SET_PASSWORD SetMasterAuthRequest_Action = 1 - // Generate a new password and set it to that. - SetMasterAuthRequest_GENERATE_PASSWORD SetMasterAuthRequest_Action = 2 - // Set the username. If an empty username is provided, basic authentication - // is disabled for the cluster. If a non-empty username is provided, basic - // authentication is enabled, with either a provided password or a generated - // one. - SetMasterAuthRequest_SET_USERNAME SetMasterAuthRequest_Action = 3 -) - -var SetMasterAuthRequest_Action_name = map[int32]string{ - 0: "UNKNOWN", - 1: "SET_PASSWORD", - 2: "GENERATE_PASSWORD", - 3: "SET_USERNAME", -} - -var SetMasterAuthRequest_Action_value = map[string]int32{ - "UNKNOWN": 0, - "SET_PASSWORD": 1, - "GENERATE_PASSWORD": 2, - "SET_USERNAME": 3, -} - -func (x SetMasterAuthRequest_Action) String() string { - return proto.EnumName(SetMasterAuthRequest_Action_name, int32(x)) -} - -func (SetMasterAuthRequest_Action) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_339d8120448ec82b, []int{26, 0} -} - -// The current status of the node pool instance. -type NodePool_Status int32 - -const ( - // Not set. - NodePool_STATUS_UNSPECIFIED NodePool_Status = 0 - // The PROVISIONING state indicates the node pool is being created. - NodePool_PROVISIONING NodePool_Status = 1 - // The RUNNING state indicates the node pool has been created - // and is fully usable. - NodePool_RUNNING NodePool_Status = 2 - // The RUNNING_WITH_ERROR state indicates the node pool has been created - // and is partially usable. Some error state has occurred and some - // functionality may be impaired. Customer may need to reissue a request - // or trigger a new update. - NodePool_RUNNING_WITH_ERROR NodePool_Status = 3 - // The RECONCILING state indicates that some work is actively being done on - // the node pool, such as upgrading node software. Details can - // be found in the `statusMessage` field. - NodePool_RECONCILING NodePool_Status = 4 - // The STOPPING state indicates the node pool is being deleted. - NodePool_STOPPING NodePool_Status = 5 - // The ERROR state indicates the node pool may be unusable. Details - // can be found in the `statusMessage` field. - NodePool_ERROR NodePool_Status = 6 -) - -var NodePool_Status_name = map[int32]string{ - 0: "STATUS_UNSPECIFIED", - 1: "PROVISIONING", - 2: "RUNNING", - 3: "RUNNING_WITH_ERROR", - 4: "RECONCILING", - 5: "STOPPING", - 6: "ERROR", -} - -var NodePool_Status_value = map[string]int32{ - "STATUS_UNSPECIFIED": 0, - "PROVISIONING": 1, - "RUNNING": 2, - "RUNNING_WITH_ERROR": 3, - "RECONCILING": 4, - "STOPPING": 5, - "ERROR": 6, -} - -func (x NodePool_Status) String() string { - return proto.EnumName(NodePool_Status_name, int32(x)) -} - -func (NodePool_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_339d8120448ec82b, []int{40, 0} -} - -// Parameters that describe the nodes in a cluster. -type NodeConfig struct { - // The name of a Google Compute Engine [machine - // type](/compute/docs/machine-types) (e.g. - // `n1-standard-1`). - // - // If unspecified, the default machine type is - // `n1-standard-1`. - MachineType string `protobuf:"bytes,1,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"` - // Size of the disk attached to each node, specified in GB. - // The smallest allowed disk size is 10GB. - // - // If unspecified, the default disk size is 100GB. - DiskSizeGb int32 `protobuf:"varint,2,opt,name=disk_size_gb,json=diskSizeGb,proto3" json:"disk_size_gb,omitempty"` - // The set of Google API scopes to be made available on all of the - // node VMs under the "default" service account. - // - // The following scopes are recommended, but not required, and by default are - // not included: - // - // * `https://www.googleapis.com/auth/compute` is required for mounting - // persistent storage on your nodes. - // * `https://www.googleapis.com/auth/devstorage.read_only` is required for - // communicating with **gcr.io** - // (the [Google Container Registry](/container-registry/)). - // - // If unspecified, no scopes are added, unless Cloud Logging or Cloud - // Monitoring are enabled, in which case their required scopes will be added. - OauthScopes []string `protobuf:"bytes,3,rep,name=oauth_scopes,json=oauthScopes,proto3" json:"oauth_scopes,omitempty"` - // The Google Cloud Platform Service Account to be used by the node VMs. If - // no Service Account is specified, the "default" service account is used. - ServiceAccount string `protobuf:"bytes,9,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` - // The metadata key/value pairs assigned to instances in the cluster. - // - // 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" - // - // 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 - // that each value's size must be less than or equal to 32 KB. - // - // The total size of all keys and values must be less than 512 KB. - Metadata map[string]string `protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // The image type to use for this node. Note that for a given image type, - // the latest version of it will be used. - ImageType string `protobuf:"bytes,5,opt,name=image_type,json=imageType,proto3" json:"image_type,omitempty"` - // The map of Kubernetes labels (key/value pairs) to be applied to each node. - // These will added in addition to any default label(s) that - // Kubernetes may apply to the node. - // In case of conflict in label keys, the applied set may differ depending on - // the Kubernetes version -- it's best to assume the behavior is undefined - // and conflicts should be avoided. - // For more information, including usage and the valid values, see: - // https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ - 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"` - // The number of local SSD disks to be attached to the node. - // - // The limit for this value is dependant upon the maximum number of - // disks available on a machine per zone. See: - // https://cloud.google.com/compute/docs/disks/local-ssd#local_ssd_limits - // for more information. - LocalSsdCount int32 `protobuf:"varint,7,opt,name=local_ssd_count,json=localSsdCount,proto3" json:"local_ssd_count,omitempty"` - // The list of instance tags applied to all nodes. Tags are used to identify - // valid sources or targets for network firewalls and are specified by - // the client during cluster or node pool creation. Each tag within the list - // must comply with RFC1035. - Tags []string `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"` - // Whether the nodes are created as preemptible VM instances. See: - // https://cloud.google.com/compute/docs/instances/preemptible for more - // inforamtion about preemptible VM instances. - Preemptible bool `protobuf:"varint,10,opt,name=preemptible,proto3" json:"preemptible,omitempty"` - // A list of hardware accelerators to be attached to each node. - // 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"` - // 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) - MinCpuPlatform string `protobuf:"bytes,13,opt,name=min_cpu_platform,json=minCpuPlatform,proto3" json:"min_cpu_platform,omitempty"` - // List of kubernetes taints to be applied to each node. - // - // For more information, including usage and the valid values, see: - // https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ - Taints []*NodeTaint `protobuf:"bytes,15,rep,name=taints,proto3" json:"taints,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_339d8120448ec82b, []int{0} -} - -func (m *NodeConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodeConfig.Unmarshal(m, b) -} -func (m *NodeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodeConfig.Marshal(b, m, deterministic) -} -func (m *NodeConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeConfig.Merge(m, src) -} -func (m *NodeConfig) XXX_Size() int { - return xxx_messageInfo_NodeConfig.Size(m) -} -func (m *NodeConfig) XXX_DiscardUnknown() { - xxx_messageInfo_NodeConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_NodeConfig proto.InternalMessageInfo - -func (m *NodeConfig) GetMachineType() string { - if m != nil { - return m.MachineType - } - return "" -} - -func (m *NodeConfig) GetDiskSizeGb() int32 { - if m != nil { - return m.DiskSizeGb - } - return 0 -} - -func (m *NodeConfig) GetOauthScopes() []string { - if m != nil { - return m.OauthScopes - } - return nil -} - -func (m *NodeConfig) GetServiceAccount() string { - if m != nil { - return m.ServiceAccount - } - return "" -} - -func (m *NodeConfig) GetMetadata() map[string]string { - if m != nil { - return m.Metadata - } - return nil -} - -func (m *NodeConfig) GetImageType() string { - if m != nil { - return m.ImageType - } - return "" -} - -func (m *NodeConfig) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -func (m *NodeConfig) GetLocalSsdCount() int32 { - if m != nil { - return m.LocalSsdCount - } - return 0 -} - -func (m *NodeConfig) GetTags() []string { - if m != nil { - return m.Tags - } - return nil -} - -func (m *NodeConfig) GetPreemptible() bool { - if m != nil { - return m.Preemptible - } - return false -} - -func (m *NodeConfig) GetAccelerators() []*AcceleratorConfig { - if m != nil { - return m.Accelerators - } - return nil -} - -func (m *NodeConfig) GetMinCpuPlatform() string { - if m != nil { - return m.MinCpuPlatform - } - return "" -} - -func (m *NodeConfig) GetTaints() []*NodeTaint { - if m != nil { - return m.Taints - } - return nil -} - -// Kubernetes taint is comprised of three fields: key, value, and effect. Effect -// can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. -// -// For more information, including usage and the valid values, see: -// https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ -type NodeTaint struct { - // Key for taint. - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - // Value for taint. - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - // Effect for taint. - Effect NodeTaint_Effect `protobuf:"varint,3,opt,name=effect,proto3,enum=google.container.v1alpha1.NodeTaint_Effect" json:"effect,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_339d8120448ec82b, []int{1} -} - -func (m *NodeTaint) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodeTaint.Unmarshal(m, b) -} -func (m *NodeTaint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodeTaint.Marshal(b, m, deterministic) -} -func (m *NodeTaint) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeTaint.Merge(m, src) -} -func (m *NodeTaint) XXX_Size() int { - return xxx_messageInfo_NodeTaint.Size(m) -} -func (m *NodeTaint) XXX_DiscardUnknown() { - xxx_messageInfo_NodeTaint.DiscardUnknown(m) -} - -var xxx_messageInfo_NodeTaint proto.InternalMessageInfo - -func (m *NodeTaint) GetKey() string { - if m != nil { - return m.Key - } - return "" -} - -func (m *NodeTaint) GetValue() string { - if m != nil { - return m.Value - } - return "" -} - -func (m *NodeTaint) GetEffect() NodeTaint_Effect { - if m != nil { - return m.Effect - } - return NodeTaint_EFFECT_UNSPECIFIED -} - -// The authentication information for accessing the master endpoint. -// Authentication can be done using HTTP basic auth or using client -// 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. - 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. - 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. - ClusterCaCertificate string `protobuf:"bytes,100,opt,name=cluster_ca_certificate,json=clusterCaCertificate,proto3" json:"cluster_ca_certificate,omitempty"` - // [Output only] Base64-encoded public certificate used by clients to - // authenticate to the cluster endpoint. - ClientCertificate string `protobuf:"bytes,101,opt,name=client_certificate,json=clientCertificate,proto3" json:"client_certificate,omitempty"` - // [Output only] Base64-encoded private key used by clients to authenticate - // to the cluster endpoint. - ClientKey string `protobuf:"bytes,102,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_339d8120448ec82b, []int{2} -} - -func (m *MasterAuth) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MasterAuth.Unmarshal(m, b) -} -func (m *MasterAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MasterAuth.Marshal(b, m, deterministic) -} -func (m *MasterAuth) XXX_Merge(src proto.Message) { - xxx_messageInfo_MasterAuth.Merge(m, src) -} -func (m *MasterAuth) XXX_Size() int { - return xxx_messageInfo_MasterAuth.Size(m) -} -func (m *MasterAuth) XXX_DiscardUnknown() { - xxx_messageInfo_MasterAuth.DiscardUnknown(m) -} - -var xxx_messageInfo_MasterAuth proto.InternalMessageInfo - -func (m *MasterAuth) GetUsername() string { - if m != nil { - return m.Username - } - return "" -} - -func (m *MasterAuth) GetPassword() string { - if m != nil { - return m.Password - } - return "" -} - -func (m *MasterAuth) GetClientCertificateConfig() *ClientCertificateConfig { - if m != nil { - return m.ClientCertificateConfig - } - return nil -} - -func (m *MasterAuth) GetClusterCaCertificate() string { - if m != nil { - return m.ClusterCaCertificate - } - return "" -} - -func (m *MasterAuth) GetClientCertificate() string { - if m != nil { - return m.ClientCertificate - } - return "" -} - -func (m *MasterAuth) GetClientKey() string { - if m != nil { - return m.ClientKey - } - return "" -} - -// Configuration for client certificates on the cluster. -type ClientCertificateConfig struct { - // Issue a client certificate. - IssueClientCertificate bool `protobuf:"varint,1,opt,name=issue_client_certificate,json=issueClientCertificate,proto3" json:"issue_client_certificate,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_339d8120448ec82b, []int{3} -} - -func (m *ClientCertificateConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClientCertificateConfig.Unmarshal(m, b) -} -func (m *ClientCertificateConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClientCertificateConfig.Marshal(b, m, deterministic) -} -func (m *ClientCertificateConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClientCertificateConfig.Merge(m, src) -} -func (m *ClientCertificateConfig) XXX_Size() int { - return xxx_messageInfo_ClientCertificateConfig.Size(m) -} -func (m *ClientCertificateConfig) XXX_DiscardUnknown() { - xxx_messageInfo_ClientCertificateConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_ClientCertificateConfig proto.InternalMessageInfo - -func (m *ClientCertificateConfig) GetIssueClientCertificate() bool { - if m != nil { - return m.IssueClientCertificate - } - return false -} - -// Configuration for the addons that can be automatically spun up in the -// cluster, enabling additional functionality. -type AddonsConfig struct { - // Configuration for the HTTP (L7) load balancing controller addon, which - // makes it easy to set up HTTP load balancers for services in a cluster. - HttpLoadBalancing *HttpLoadBalancing `protobuf:"bytes,1,opt,name=http_load_balancing,json=httpLoadBalancing,proto3" json:"http_load_balancing,omitempty"` - // Configuration for the horizontal pod autoscaling feature, which - // increases or decreases the number of replica pods a replication controller - // has based on the resource usage of the existing pods. - HorizontalPodAutoscaling *HorizontalPodAutoscaling `protobuf:"bytes,2,opt,name=horizontal_pod_autoscaling,json=horizontalPodAutoscaling,proto3" json:"horizontal_pod_autoscaling,omitempty"` - // Configuration for the Kubernetes Dashboard. - KubernetesDashboard *KubernetesDashboard `protobuf:"bytes,3,opt,name=kubernetes_dashboard,json=kubernetesDashboard,proto3" json:"kubernetes_dashboard,omitempty"` - // 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:"-"` -} - -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_339d8120448ec82b, []int{4} -} - -func (m *AddonsConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddonsConfig.Unmarshal(m, b) -} -func (m *AddonsConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddonsConfig.Marshal(b, m, deterministic) -} -func (m *AddonsConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddonsConfig.Merge(m, src) -} -func (m *AddonsConfig) XXX_Size() int { - return xxx_messageInfo_AddonsConfig.Size(m) -} -func (m *AddonsConfig) XXX_DiscardUnknown() { - xxx_messageInfo_AddonsConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_AddonsConfig proto.InternalMessageInfo - -func (m *AddonsConfig) GetHttpLoadBalancing() *HttpLoadBalancing { - if m != nil { - return m.HttpLoadBalancing - } - return nil -} - -func (m *AddonsConfig) GetHorizontalPodAutoscaling() *HorizontalPodAutoscaling { - if m != nil { - return m.HorizontalPodAutoscaling - } - return nil -} - -func (m *AddonsConfig) GetKubernetesDashboard() *KubernetesDashboard { - if m != nil { - return m.KubernetesDashboard - } - return nil -} - -func (m *AddonsConfig) GetNetworkPolicyConfig() *NetworkPolicyConfig { - if m != nil { - return m.NetworkPolicyConfig - } - 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 { - // Whether the HTTP Load Balancing controller is enabled in the cluster. - // When enabled, it runs a small pod in the cluster that manages the load - // balancers. - 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 *HttpLoadBalancing) Reset() { *m = HttpLoadBalancing{} } -func (m *HttpLoadBalancing) String() string { return proto.CompactTextString(m) } -func (*HttpLoadBalancing) ProtoMessage() {} -func (*HttpLoadBalancing) Descriptor() ([]byte, []int) { - return fileDescriptor_339d8120448ec82b, []int{5} -} - -func (m *HttpLoadBalancing) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HttpLoadBalancing.Unmarshal(m, b) -} -func (m *HttpLoadBalancing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HttpLoadBalancing.Marshal(b, m, deterministic) -} -func (m *HttpLoadBalancing) XXX_Merge(src proto.Message) { - xxx_messageInfo_HttpLoadBalancing.Merge(m, src) -} -func (m *HttpLoadBalancing) XXX_Size() int { - return xxx_messageInfo_HttpLoadBalancing.Size(m) -} -func (m *HttpLoadBalancing) XXX_DiscardUnknown() { - xxx_messageInfo_HttpLoadBalancing.DiscardUnknown(m) -} - -var xxx_messageInfo_HttpLoadBalancing proto.InternalMessageInfo - -func (m *HttpLoadBalancing) GetDisabled() bool { - if m != nil { - return m.Disabled - } - return false -} - -// Configuration options for the horizontal pod autoscaling feature, which -// increases or decreases the number of replica pods a replication controller -// has based on the resource usage of the existing pods. -type HorizontalPodAutoscaling struct { - // Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. - // When enabled, it ensures that a Heapster pod is running in the cluster, - // which is also used by the Cloud Monitoring service. - 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 *HorizontalPodAutoscaling) Reset() { *m = HorizontalPodAutoscaling{} } -func (m *HorizontalPodAutoscaling) String() string { return proto.CompactTextString(m) } -func (*HorizontalPodAutoscaling) ProtoMessage() {} -func (*HorizontalPodAutoscaling) Descriptor() ([]byte, []int) { - return fileDescriptor_339d8120448ec82b, []int{6} -} - -func (m *HorizontalPodAutoscaling) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HorizontalPodAutoscaling.Unmarshal(m, b) -} -func (m *HorizontalPodAutoscaling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HorizontalPodAutoscaling.Marshal(b, m, deterministic) -} -func (m *HorizontalPodAutoscaling) XXX_Merge(src proto.Message) { - xxx_messageInfo_HorizontalPodAutoscaling.Merge(m, src) -} -func (m *HorizontalPodAutoscaling) XXX_Size() int { - return xxx_messageInfo_HorizontalPodAutoscaling.Size(m) -} -func (m *HorizontalPodAutoscaling) XXX_DiscardUnknown() { - xxx_messageInfo_HorizontalPodAutoscaling.DiscardUnknown(m) -} - -var xxx_messageInfo_HorizontalPodAutoscaling proto.InternalMessageInfo - -func (m *HorizontalPodAutoscaling) GetDisabled() bool { - if m != nil { - return m.Disabled - } - return false -} - -// Configuration for the Kubernetes Dashboard. -type KubernetesDashboard struct { - // Whether the Kubernetes Dashboard 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 *KubernetesDashboard) Reset() { *m = KubernetesDashboard{} } -func (m *KubernetesDashboard) String() string { return proto.CompactTextString(m) } -func (*KubernetesDashboard) ProtoMessage() {} -func (*KubernetesDashboard) Descriptor() ([]byte, []int) { - return fileDescriptor_339d8120448ec82b, []int{7} -} - -func (m *KubernetesDashboard) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_KubernetesDashboard.Unmarshal(m, b) -} -func (m *KubernetesDashboard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_KubernetesDashboard.Marshal(b, m, deterministic) -} -func (m *KubernetesDashboard) XXX_Merge(src proto.Message) { - xxx_messageInfo_KubernetesDashboard.Merge(m, src) -} -func (m *KubernetesDashboard) XXX_Size() int { - return xxx_messageInfo_KubernetesDashboard.Size(m) -} -func (m *KubernetesDashboard) XXX_DiscardUnknown() { - xxx_messageInfo_KubernetesDashboard.DiscardUnknown(m) -} - -var xxx_messageInfo_KubernetesDashboard proto.InternalMessageInfo - -func (m *KubernetesDashboard) GetDisabled() bool { - if m != nil { - return m.Disabled - } - return false -} - -// 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. -type NetworkPolicyConfig struct { - // Whether NetworkPolicy 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 *NetworkPolicyConfig) Reset() { *m = NetworkPolicyConfig{} } -func (m *NetworkPolicyConfig) String() string { return proto.CompactTextString(m) } -func (*NetworkPolicyConfig) ProtoMessage() {} -func (*NetworkPolicyConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_339d8120448ec82b, []int{8} -} - -func (m *NetworkPolicyConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NetworkPolicyConfig.Unmarshal(m, b) -} -func (m *NetworkPolicyConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NetworkPolicyConfig.Marshal(b, m, deterministic) -} -func (m *NetworkPolicyConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkPolicyConfig.Merge(m, src) -} -func (m *NetworkPolicyConfig) XXX_Size() int { - return xxx_messageInfo_NetworkPolicyConfig.Size(m) -} -func (m *NetworkPolicyConfig) XXX_DiscardUnknown() { - xxx_messageInfo_NetworkPolicyConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_NetworkPolicyConfig proto.InternalMessageInfo - -func (m *NetworkPolicyConfig) 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, -// Google Compute Engine Public IPs and Google Prod IPs. -type MasterAuthorizedNetworksConfig struct { - // Whether or not master authorized networks is enabled. - Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` - // cidr_blocks define up to 10 external networks that could access - // Kubernetes master through HTTPS. - CidrBlocks []*MasterAuthorizedNetworksConfig_CidrBlock `protobuf:"bytes,2,rep,name=cidr_blocks,json=cidrBlocks,proto3" json:"cidr_blocks,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MasterAuthorizedNetworksConfig) Reset() { *m = MasterAuthorizedNetworksConfig{} } -func (m *MasterAuthorizedNetworksConfig) String() string { return proto.CompactTextString(m) } -func (*MasterAuthorizedNetworksConfig) ProtoMessage() {} -func (*MasterAuthorizedNetworksConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_339d8120448ec82b, []int{9} -} - -func (m *MasterAuthorizedNetworksConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MasterAuthorizedNetworksConfig.Unmarshal(m, b) -} -func (m *MasterAuthorizedNetworksConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MasterAuthorizedNetworksConfig.Marshal(b, m, deterministic) -} -func (m *MasterAuthorizedNetworksConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_MasterAuthorizedNetworksConfig.Merge(m, src) -} -func (m *MasterAuthorizedNetworksConfig) XXX_Size() int { - return xxx_messageInfo_MasterAuthorizedNetworksConfig.Size(m) -} -func (m *MasterAuthorizedNetworksConfig) XXX_DiscardUnknown() { - xxx_messageInfo_MasterAuthorizedNetworksConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_MasterAuthorizedNetworksConfig proto.InternalMessageInfo - -func (m *MasterAuthorizedNetworksConfig) GetEnabled() bool { - if m != nil { - return m.Enabled - } - return false -} - -func (m *MasterAuthorizedNetworksConfig) GetCidrBlocks() []*MasterAuthorizedNetworksConfig_CidrBlock { - if m != nil { - return m.CidrBlocks - } - return nil -} - -// CidrBlock contains an optional name and one CIDR block. -type MasterAuthorizedNetworksConfig_CidrBlock struct { - // display_name is an optional field for users to identify CIDR blocks. - DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // cidr_block must be specified in CIDR notation. - CidrBlock string `protobuf:"bytes,2,opt,name=cidr_block,json=cidrBlock,proto3" json:"cidr_block,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MasterAuthorizedNetworksConfig_CidrBlock) Reset() { - *m = MasterAuthorizedNetworksConfig_CidrBlock{} -} -func (m *MasterAuthorizedNetworksConfig_CidrBlock) String() string { return proto.CompactTextString(m) } -func (*MasterAuthorizedNetworksConfig_CidrBlock) ProtoMessage() {} -func (*MasterAuthorizedNetworksConfig_CidrBlock) Descriptor() ([]byte, []int) { - return fileDescriptor_339d8120448ec82b, []int{9, 0} -} - -func (m *MasterAuthorizedNetworksConfig_CidrBlock) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MasterAuthorizedNetworksConfig_CidrBlock.Unmarshal(m, b) -} -func (m *MasterAuthorizedNetworksConfig_CidrBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MasterAuthorizedNetworksConfig_CidrBlock.Marshal(b, m, deterministic) -} -func (m *MasterAuthorizedNetworksConfig_CidrBlock) XXX_Merge(src proto.Message) { - xxx_messageInfo_MasterAuthorizedNetworksConfig_CidrBlock.Merge(m, src) -} -func (m *MasterAuthorizedNetworksConfig_CidrBlock) XXX_Size() int { - return xxx_messageInfo_MasterAuthorizedNetworksConfig_CidrBlock.Size(m) -} -func (m *MasterAuthorizedNetworksConfig_CidrBlock) XXX_DiscardUnknown() { - xxx_messageInfo_MasterAuthorizedNetworksConfig_CidrBlock.DiscardUnknown(m) -} - -var xxx_messageInfo_MasterAuthorizedNetworksConfig_CidrBlock proto.InternalMessageInfo - -func (m *MasterAuthorizedNetworksConfig_CidrBlock) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *MasterAuthorizedNetworksConfig_CidrBlock) GetCidrBlock() string { - if m != nil { - return m.CidrBlock - } - return "" -} - -// Configuration options for the NetworkPolicy feature. -// https://kubernetes.io/docs/concepts/services-networking/networkpolicies/ -type NetworkPolicy struct { - // The selected network policy provider. - Provider NetworkPolicy_Provider `protobuf:"varint,1,opt,name=provider,proto3,enum=google.container.v1alpha1.NetworkPolicy_Provider" json:"provider,omitempty"` - // Whether network policy is enabled on the cluster. - Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_339d8120448ec82b, []int{10} -} - -func (m *NetworkPolicy) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NetworkPolicy.Unmarshal(m, b) -} -func (m *NetworkPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NetworkPolicy.Marshal(b, m, deterministic) -} -func (m *NetworkPolicy) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkPolicy.Merge(m, src) -} -func (m *NetworkPolicy) XXX_Size() int { - return xxx_messageInfo_NetworkPolicy.Size(m) -} -func (m *NetworkPolicy) XXX_DiscardUnknown() { - xxx_messageInfo_NetworkPolicy.DiscardUnknown(m) -} - -var xxx_messageInfo_NetworkPolicy proto.InternalMessageInfo - -func (m *NetworkPolicy) GetProvider() NetworkPolicy_Provider { - if m != nil { - return m.Provider - } - return NetworkPolicy_PROVIDER_UNSPECIFIED -} - -func (m *NetworkPolicy) GetEnabled() bool { - if m != nil { - return m.Enabled - } - return false -} - -// Configuration for controlling how IPs are allocated in the cluster. -type IPAllocationPolicy struct { - // Whether alias IPs will be used for pod IPs in the cluster. - UseIpAliases bool `protobuf:"varint,1,opt,name=use_ip_aliases,json=useIpAliases,proto3" json:"use_ip_aliases,omitempty"` - // Whether a new subnetwork will be created automatically for the cluster. - // - // This field is only applicable when `use_ip_aliases` is true. - CreateSubnetwork bool `protobuf:"varint,2,opt,name=create_subnetwork,json=createSubnetwork,proto3" json:"create_subnetwork,omitempty"` - // A custom subnetwork name to be used if `create_subnetwork` is true. If - // this field is empty, then an automatic name will be chosen for the new - // 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"` - // 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"` - // 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"` - // 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 - // with the cluster subnetwork. - // - // This field is only applicable if use_ip_aliases is true and - // create_subnetwork is false. - ClusterSecondaryRangeName string `protobuf:"bytes,7,opt,name=cluster_secondary_range_name,json=clusterSecondaryRangeName,proto3" json:"cluster_secondary_range_name,omitempty"` - // The name of the secondary range to be used as for the services - // CIDR block. The secondary range will be used for service - // ClusterIPs. This must be an existing secondary range associated - // with the cluster subnetwork. - // - // This field is only applicable with use_ip_aliases is true and - // create_subnetwork is false. - ServicesSecondaryRangeName string `protobuf:"bytes,8,opt,name=services_secondary_range_name,json=servicesSecondaryRangeName,proto3" json:"services_secondary_range_name,omitempty"` - // The IP address range for the cluster pod IPs. If this field is set, then - // `cluster.cluster_ipv4_cidr` must be left blank. - // - // This field is only applicable when `use_ip_aliases` is true. - // - // Set to blank to have a range chosen with 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. - ClusterIpv4CidrBlock string `protobuf:"bytes,9,opt,name=cluster_ipv4_cidr_block,json=clusterIpv4CidrBlock,proto3" json:"cluster_ipv4_cidr_block,omitempty"` - // The IP address range of the instance IPs in this cluster. - // - // This is applicable only if `create_subnetwork` is true. - // - // Set to blank to have a range chosen with 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. - NodeIpv4CidrBlock string `protobuf:"bytes,10,opt,name=node_ipv4_cidr_block,json=nodeIpv4CidrBlock,proto3" json:"node_ipv4_cidr_block,omitempty"` - // The IP address range of the services IPs in this cluster. If blank, a range - // will be automatically chosen with the default size. - // - // This field is only applicable when `use_ip_aliases` is true. - // - // Set to blank to have a range chosen with 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. - 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:"-"` -} - -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_339d8120448ec82b, []int{11} -} - -func (m *IPAllocationPolicy) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IPAllocationPolicy.Unmarshal(m, b) -} -func (m *IPAllocationPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IPAllocationPolicy.Marshal(b, m, deterministic) -} -func (m *IPAllocationPolicy) XXX_Merge(src proto.Message) { - xxx_messageInfo_IPAllocationPolicy.Merge(m, src) -} -func (m *IPAllocationPolicy) XXX_Size() int { - return xxx_messageInfo_IPAllocationPolicy.Size(m) -} -func (m *IPAllocationPolicy) XXX_DiscardUnknown() { - xxx_messageInfo_IPAllocationPolicy.DiscardUnknown(m) -} - -var xxx_messageInfo_IPAllocationPolicy proto.InternalMessageInfo - -func (m *IPAllocationPolicy) GetUseIpAliases() bool { - if m != nil { - return m.UseIpAliases - } - return false -} - -func (m *IPAllocationPolicy) GetCreateSubnetwork() bool { - if m != nil { - return m.CreateSubnetwork - } - return false -} - -func (m *IPAllocationPolicy) GetSubnetworkName() string { - if m != nil { - return m.SubnetworkName - } - return "" -} - -func (m *IPAllocationPolicy) GetClusterIpv4Cidr() string { - if m != nil { - return m.ClusterIpv4Cidr - } - return "" -} - -func (m *IPAllocationPolicy) GetNodeIpv4Cidr() string { - if m != nil { - return m.NodeIpv4Cidr - } - return "" -} - -func (m *IPAllocationPolicy) GetServicesIpv4Cidr() string { - if m != nil { - return m.ServicesIpv4Cidr - } - return "" -} - -func (m *IPAllocationPolicy) GetClusterSecondaryRangeName() string { - if m != nil { - return m.ClusterSecondaryRangeName - } - return "" -} - -func (m *IPAllocationPolicy) GetServicesSecondaryRangeName() string { - if m != nil { - return m.ServicesSecondaryRangeName - } - return "" -} - -func (m *IPAllocationPolicy) GetClusterIpv4CidrBlock() string { - if m != nil { - return m.ClusterIpv4CidrBlock - } - return "" -} - -func (m *IPAllocationPolicy) GetNodeIpv4CidrBlock() string { - if m != nil { - return m.NodeIpv4CidrBlock - } - return "" -} - -func (m *IPAllocationPolicy) GetServicesIpv4CidrBlock() string { - if m != nil { - return m.ServicesIpv4CidrBlock - } - return "" -} - -// Configuration for the PodSecurityPolicy feature. -type PodSecurityPolicyConfig struct { - // Enable the PodSecurityPolicy controller for this cluster. If enabled, pods - // must be valid under a PodSecurityPolicy to be created. - 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 *PodSecurityPolicyConfig) Reset() { *m = PodSecurityPolicyConfig{} } -func (m *PodSecurityPolicyConfig) String() string { return proto.CompactTextString(m) } -func (*PodSecurityPolicyConfig) ProtoMessage() {} -func (*PodSecurityPolicyConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_339d8120448ec82b, []int{12} -} - -func (m *PodSecurityPolicyConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PodSecurityPolicyConfig.Unmarshal(m, b) -} -func (m *PodSecurityPolicyConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PodSecurityPolicyConfig.Marshal(b, m, deterministic) -} -func (m *PodSecurityPolicyConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_PodSecurityPolicyConfig.Merge(m, src) -} -func (m *PodSecurityPolicyConfig) XXX_Size() int { - return xxx_messageInfo_PodSecurityPolicyConfig.Size(m) -} -func (m *PodSecurityPolicyConfig) XXX_DiscardUnknown() { - xxx_messageInfo_PodSecurityPolicyConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_PodSecurityPolicyConfig proto.InternalMessageInfo - -func (m *PodSecurityPolicyConfig) GetEnabled() bool { - if m != nil { - return m.Enabled - } - return false -} - -// A Google Container 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: - // - // * Lowercase letters, numbers, and hyphens only. - // * Must start with a letter. - // * Must end with a number or a letter. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // An optional description of this cluster. - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - // The number of nodes to create in this cluster. 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. - // For requests, this field should only be used in lieu of a - // "node_pool" object, since this configuration (along with the - // "node_config") will be used to create a "NodePool" object with an - // auto-generated name. Do not use this and a node_pool at the same time. - InitialNodeCount int32 `protobuf:"varint,3,opt,name=initial_node_count,json=initialNodeCount,proto3" json:"initial_node_count,omitempty"` - // Parameters used in creating the cluster's nodes. - // See `nodeConfig` for the description of its properties. - // For requests, this field should only be used in lieu of a - // "node_pool" object, since this configuration (along with the - // "initial_node_count") will be used to create a "NodePool" object with an - // auto-generated name. Do not use this and a node_pool at the same time. - // For responses, this field will be populated with the node configuration of - // the first node pool. - // - // 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. - 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: - // - // * `logging.googleapis.com` - the Google Cloud Logging service. - // * `none` - no logs will be exported from the cluster. - // * if left as an empty string,`logging.googleapis.com` will be used. - LoggingService string `protobuf:"bytes,6,opt,name=logging_service,json=loggingService,proto3" json:"logging_service,omitempty"` - // 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. - // * if left as an empty string, `monitoring.googleapis.com` will be used. - MonitoringService string `protobuf:"bytes,7,opt,name=monitoring_service,json=monitoringService,proto3" json:"monitoring_service,omitempty"` - // 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. - 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) - // notation (e.g. `10.96.0.0/14`). Leave blank to have - // one automatically chosen or specify a `/14` block in `10.0.0.0/8`. - ClusterIpv4Cidr string `protobuf:"bytes,9,opt,name=cluster_ipv4_cidr,json=clusterIpv4Cidr,proto3" json:"cluster_ipv4_cidr,omitempty"` - // Configurations for the various addons available to run in the cluster. - 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. - 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 - // 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 - // API groups (e.g. v1alpha1) and features that may not be production ready in - // the kubernetes version of the master and nodes. - // The cluster has no SLA for uptime and master/node upgrades are disabled. - // 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"` - // 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. - IpAllocationPolicy *IPAllocationPolicy `protobuf:"bytes,20,opt,name=ip_allocation_policy,json=ipAllocationPolicy,proto3" json:"ip_allocation_policy,omitempty"` - // 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 the PodSecurityPolicy feature. - PodSecurityPolicyConfig *PodSecurityPolicyConfig `protobuf:"bytes,25,opt,name=pod_security_policy_config,json=podSecurityPolicyConfig,proto3" json:"pod_security_policy_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. - // This field is deprecated, use location instead. - Zone string `protobuf:"bytes,101,opt,name=zone,proto3" json:"zone,omitempty"` - // [Output only] The IP address of this cluster's master endpoint. - // The endpoint can be accessed from the internet at - // `https://username:password@endpoint/`. - // - // See the `masterAuth` property of this resource for username and - // password information. - Endpoint string `protobuf:"bytes,102,opt,name=endpoint,proto3" json:"endpoint,omitempty"` - // The initial Kubernetes version for this cluster. Valid versions are those - // found in validMasterVersions returned by getServerConfig. The version can - // be upgraded over time; such upgrades are reflected in - // currentMasterVersion and currentNodeVersion. - 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] 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"` - // [Output only] The current status of this cluster. - Status Cluster_Status `protobuf:"varint,107,opt,name=status,proto3,enum=google.container.v1alpha1.Cluster_Status" json:"status,omitempty"` - // [Output only] Additional information about the current status of this - // cluster, if available. - StatusMessage string `protobuf:"bytes,108,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` - // [Output only] The size of the address space on each node for hosting - // containers. This is provisioned from within the `container_ipv4_cidr` - // range. - NodeIpv4CidrSize int32 `protobuf:"varint,109,opt,name=node_ipv4_cidr_size,json=nodeIpv4CidrSize,proto3" json:"node_ipv4_cidr_size,omitempty"` - // [Output only] The IP address range of the Kubernetes services in - // this cluster, in - // [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) - // 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"` - // [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"` - // [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:"-"` -} - -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_339d8120448ec82b, []int{13} -} - -func (m *Cluster) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Cluster.Unmarshal(m, b) -} -func (m *Cluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Cluster.Marshal(b, m, deterministic) -} -func (m *Cluster) XXX_Merge(src proto.Message) { - xxx_messageInfo_Cluster.Merge(m, src) -} -func (m *Cluster) XXX_Size() int { - return xxx_messageInfo_Cluster.Size(m) -} -func (m *Cluster) XXX_DiscardUnknown() { - xxx_messageInfo_Cluster.DiscardUnknown(m) -} - -var xxx_messageInfo_Cluster proto.InternalMessageInfo - -func (m *Cluster) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Cluster) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *Cluster) GetInitialNodeCount() int32 { - if m != nil { - return m.InitialNodeCount - } - return 0 -} - -func (m *Cluster) GetNodeConfig() *NodeConfig { - if m != nil { - return m.NodeConfig - } - return nil -} - -func (m *Cluster) GetMasterAuth() *MasterAuth { - if m != nil { - return m.MasterAuth - } - return nil -} - -func (m *Cluster) GetLoggingService() string { - if m != nil { - return m.LoggingService - } - return "" -} - -func (m *Cluster) GetMonitoringService() string { - if m != nil { - return m.MonitoringService - } - return "" -} - -func (m *Cluster) GetNetwork() string { - if m != nil { - return m.Network - } - return "" -} - -func (m *Cluster) GetClusterIpv4Cidr() string { - if m != nil { - return m.ClusterIpv4Cidr - } - return "" -} - -func (m *Cluster) GetAddonsConfig() *AddonsConfig { - if m != nil { - return m.AddonsConfig - } - return nil -} - -func (m *Cluster) GetSubnetwork() string { - if m != nil { - return m.Subnetwork - } - return "" -} - -func (m *Cluster) GetNodePools() []*NodePool { - if m != nil { - return m.NodePools - } - return nil -} - -func (m *Cluster) GetLocations() []string { - if m != nil { - return m.Locations - } - return nil -} - -func (m *Cluster) GetEnableKubernetesAlpha() bool { - if m != nil { - return m.EnableKubernetesAlpha - } - return false -} - -func (m *Cluster) GetNetworkPolicy() *NetworkPolicy { - if m != nil { - return m.NetworkPolicy - } - return nil -} - -func (m *Cluster) GetIpAllocationPolicy() *IPAllocationPolicy { - if m != nil { - return m.IpAllocationPolicy - } - return nil -} - -func (m *Cluster) GetMasterAuthorizedNetworksConfig() *MasterAuthorizedNetworksConfig { - if m != nil { - return m.MasterAuthorizedNetworksConfig - } - return nil -} - -func (m *Cluster) GetMaintenancePolicy() *MaintenancePolicy { - if m != nil { - return m.MaintenancePolicy - } - return nil -} - -func (m *Cluster) GetPodSecurityPolicyConfig() *PodSecurityPolicyConfig { - if m != nil { - return m.PodSecurityPolicyConfig - } - return nil -} - -func (m *Cluster) GetSelfLink() string { - if m != nil { - return m.SelfLink - } - return "" -} - -func (m *Cluster) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -func (m *Cluster) GetEndpoint() string { - if m != nil { - return m.Endpoint - } - return "" -} - -func (m *Cluster) GetInitialClusterVersion() string { - if m != nil { - return m.InitialClusterVersion - } - return "" -} - -func (m *Cluster) GetCurrentMasterVersion() string { - if m != nil { - return m.CurrentMasterVersion - } - return "" -} - -func (m *Cluster) GetCurrentNodeVersion() string { - if m != nil { - return m.CurrentNodeVersion - } - return "" -} - -func (m *Cluster) GetCreateTime() string { - if m != nil { - return m.CreateTime - } - return "" -} - -func (m *Cluster) GetStatus() Cluster_Status { - if m != nil { - return m.Status - } - return Cluster_STATUS_UNSPECIFIED -} - -func (m *Cluster) GetStatusMessage() string { - if m != nil { - return m.StatusMessage - } - return "" -} - -func (m *Cluster) GetNodeIpv4CidrSize() int32 { - if m != nil { - return m.NodeIpv4CidrSize - } - return 0 -} - -func (m *Cluster) GetServicesIpv4Cidr() string { - if m != nil { - return m.ServicesIpv4Cidr - } - return "" -} - -func (m *Cluster) GetInstanceGroupUrls() []string { - if m != nil { - return m.InstanceGroupUrls - } - return nil -} - -func (m *Cluster) GetCurrentNodeCount() int32 { - if m != nil { - return m.CurrentNodeCount - } - return 0 -} - -func (m *Cluster) GetExpireTime() string { - if m != nil { - return m.ExpireTime - } - 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. - 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" - 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"` - // Configurations for the various addons available to run in the cluster. - DesiredAddonsConfig *AddonsConfig `protobuf:"bytes,6,opt,name=desired_addons_config,json=desiredAddonsConfig,proto3" json:"desired_addons_config,omitempty"` - // The node pool to be upgraded. This field is mandatory if - // "desired_node_version", "desired_image_family" or - // "desired_node_pool_autoscaling" is specified and there is more than one - // node pool on the cluster. - DesiredNodePoolId string `protobuf:"bytes,7,opt,name=desired_node_pool_id,json=desiredNodePoolId,proto3" json:"desired_node_pool_id,omitempty"` - // The desired image type for the node pool. - // NOTE: Set the "desired_node_pool" field as well. - DesiredImageType string `protobuf:"bytes,8,opt,name=desired_image_type,json=desiredImageType,proto3" json:"desired_image_type,omitempty"` - // Autoscaler configuration for the node pool specified in - // desired_node_pool_id. If there is only one pool in the - // cluster and desired_node_pool_id is not provided then - // 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 - // 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. - DesiredLocations []string `protobuf:"bytes,10,rep,name=desired_locations,json=desiredLocations,proto3" json:"desired_locations,omitempty"` - // 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 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"` - // 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. - 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:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_339d8120448ec82b, []int{14} -} - -func (m *ClusterUpdate) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClusterUpdate.Unmarshal(m, b) -} -func (m *ClusterUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClusterUpdate.Marshal(b, m, deterministic) -} -func (m *ClusterUpdate) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClusterUpdate.Merge(m, src) -} -func (m *ClusterUpdate) XXX_Size() int { - return xxx_messageInfo_ClusterUpdate.Size(m) -} -func (m *ClusterUpdate) XXX_DiscardUnknown() { - xxx_messageInfo_ClusterUpdate.DiscardUnknown(m) -} - -var xxx_messageInfo_ClusterUpdate proto.InternalMessageInfo - -func (m *ClusterUpdate) GetDesiredNodeVersion() string { - if m != nil { - return m.DesiredNodeVersion - } - return "" -} - -func (m *ClusterUpdate) GetDesiredMonitoringService() string { - if m != nil { - return m.DesiredMonitoringService - } - return "" -} - -func (m *ClusterUpdate) GetDesiredAddonsConfig() *AddonsConfig { - if m != nil { - return m.DesiredAddonsConfig - } - return nil -} - -func (m *ClusterUpdate) GetDesiredNodePoolId() string { - if m != nil { - return m.DesiredNodePoolId - } - return "" -} - -func (m *ClusterUpdate) GetDesiredImageType() string { - if m != nil { - return m.DesiredImageType - } - return "" -} - -func (m *ClusterUpdate) GetDesiredNodePoolAutoscaling() *NodePoolAutoscaling { - if m != nil { - return m.DesiredNodePoolAutoscaling - } - return nil -} - -func (m *ClusterUpdate) GetDesiredLocations() []string { - if m != nil { - return m.DesiredLocations - } - return nil -} - -func (m *ClusterUpdate) GetDesiredMasterAuthorizedNetworksConfig() *MasterAuthorizedNetworksConfig { - if m != nil { - return m.DesiredMasterAuthorizedNetworksConfig - } - return nil -} - -func (m *ClusterUpdate) GetDesiredPodSecurityPolicyConfig() *PodSecurityPolicyConfig { - if m != nil { - return m.DesiredPodSecurityPolicyConfig - } - return nil -} - -func (m *ClusterUpdate) GetDesiredMasterVersion() string { - if m != nil { - return m.DesiredMasterVersion - } - return "" -} - -// This operation resource represents operations that may have happened or are -// happening on the cluster. All fields are output only. -type Operation struct { - // The server-assigned ID for the operation. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The name of the Google Compute Engine - // [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"` - // The operation type. - OperationType Operation_Type `protobuf:"varint,3,opt,name=operation_type,json=operationType,proto3,enum=google.container.v1alpha1.Operation_Type" json:"operation_type,omitempty"` - // The current status of the operation. - Status Operation_Status `protobuf:"varint,4,opt,name=status,proto3,enum=google.container.v1alpha1.Operation_Status" json:"status,omitempty"` - // Detailed operation progress, if available. - Detail string `protobuf:"bytes,8,opt,name=detail,proto3" json:"detail,omitempty"` - // If an error has occurred, a textual description of the error. - StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` - // Server-defined URL for the resource. - 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"` - // [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:"-"` -} - -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_339d8120448ec82b, []int{15} -} - -func (m *Operation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Operation.Unmarshal(m, b) -} -func (m *Operation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Operation.Marshal(b, m, deterministic) -} -func (m *Operation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Operation.Merge(m, src) -} -func (m *Operation) XXX_Size() int { - return xxx_messageInfo_Operation.Size(m) -} -func (m *Operation) XXX_DiscardUnknown() { - xxx_messageInfo_Operation.DiscardUnknown(m) -} - -var xxx_messageInfo_Operation proto.InternalMessageInfo - -func (m *Operation) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Operation) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -func (m *Operation) GetOperationType() Operation_Type { - if m != nil { - return m.OperationType - } - return Operation_TYPE_UNSPECIFIED -} - -func (m *Operation) GetStatus() Operation_Status { - if m != nil { - return m.Status - } - return Operation_STATUS_UNSPECIFIED -} - -func (m *Operation) GetDetail() string { - if m != nil { - return m.Detail - } - return "" -} - -func (m *Operation) GetStatusMessage() string { - if m != nil { - return m.StatusMessage - } - return "" -} - -func (m *Operation) GetSelfLink() string { - if m != nil { - return m.SelfLink - } - return "" -} - -func (m *Operation) GetTargetLink() string { - if m != nil { - return m.TargetLink - } - return "" -} - -func (m *Operation) GetLocation() string { - if m != nil { - return m.Location - } - return "" -} - -func (m *Operation) GetStartTime() string { - if m != nil { - return m.StartTime - } - return "" -} - -func (m *Operation) GetEndTime() string { - if m != nil { - return m.EndTime - } - return "" -} - -// CreateClusterRequest creates a cluster. -type CreateClusterRequest struct { - // 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) in which the cluster - // resides. - // This field is deprecated, use parent instead. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // A [cluster - // resource](/container-engine/reference/rest/v1alpha1/projects.zones.clusters) - 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:"-"` -} - -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_339d8120448ec82b, []int{16} -} - -func (m *CreateClusterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateClusterRequest.Unmarshal(m, b) -} -func (m *CreateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateClusterRequest.Marshal(b, m, deterministic) -} -func (m *CreateClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateClusterRequest.Merge(m, src) -} -func (m *CreateClusterRequest) XXX_Size() int { - return xxx_messageInfo_CreateClusterRequest.Size(m) -} -func (m *CreateClusterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateClusterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateClusterRequest proto.InternalMessageInfo - -func (m *CreateClusterRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *CreateClusterRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -func (m *CreateClusterRequest) GetCluster() *Cluster { - if m != nil { - return m.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 - // 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 retrieve. - // 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 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:"-"` -} - -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_339d8120448ec82b, []int{17} -} - -func (m *GetClusterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetClusterRequest.Unmarshal(m, b) -} -func (m *GetClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetClusterRequest.Marshal(b, m, deterministic) -} -func (m *GetClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetClusterRequest.Merge(m, src) -} -func (m *GetClusterRequest) XXX_Size() int { - return xxx_messageInfo_GetClusterRequest.Size(m) -} -func (m *GetClusterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetClusterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetClusterRequest proto.InternalMessageInfo - -func (m *GetClusterRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *GetClusterRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -func (m *GetClusterRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - 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 - // 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 upgrade. - // This field is deprecated, use name instead. - ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // 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. - // 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_339d8120448ec82b, []int{18} -} - -func (m *UpdateClusterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateClusterRequest.Unmarshal(m, b) -} -func (m *UpdateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateClusterRequest.Marshal(b, m, deterministic) -} -func (m *UpdateClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateClusterRequest.Merge(m, src) -} -func (m *UpdateClusterRequest) XXX_Size() int { - return xxx_messageInfo_UpdateClusterRequest.Size(m) -} -func (m *UpdateClusterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateClusterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateClusterRequest proto.InternalMessageInfo - -func (m *UpdateClusterRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *UpdateClusterRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -func (m *UpdateClusterRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -func (m *UpdateClusterRequest) GetUpdate() *ClusterUpdate { - if m != nil { - return m.Update - } - return nil -} - -func (m *UpdateClusterRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// SetNodePoolVersionRequest updates the version of a node pool. -type UpdateNodePoolRequest 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 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 name of the node pool to upgrade. - // 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 Kubernetes version to change the nodes to (typically an - // upgrade). Use `-` to upgrade to the latest version supported by - // the server. - 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 *UpdateNodePoolRequest) Reset() { *m = UpdateNodePoolRequest{} } -func (m *UpdateNodePoolRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateNodePoolRequest) ProtoMessage() {} -func (*UpdateNodePoolRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_339d8120448ec82b, []int{19} -} - -func (m *UpdateNodePoolRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateNodePoolRequest.Unmarshal(m, b) -} -func (m *UpdateNodePoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateNodePoolRequest.Marshal(b, m, deterministic) -} -func (m *UpdateNodePoolRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateNodePoolRequest.Merge(m, src) -} -func (m *UpdateNodePoolRequest) XXX_Size() int { - return xxx_messageInfo_UpdateNodePoolRequest.Size(m) -} -func (m *UpdateNodePoolRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateNodePoolRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateNodePoolRequest proto.InternalMessageInfo - -func (m *UpdateNodePoolRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *UpdateNodePoolRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -func (m *UpdateNodePoolRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -func (m *UpdateNodePoolRequest) GetNodePoolId() string { - if m != nil { - return m.NodePoolId - } - return "" -} - -func (m *UpdateNodePoolRequest) GetNodeVersion() string { - if m != nil { - return m.NodeVersion - } - return "" -} - -func (m *UpdateNodePoolRequest) GetImageType() string { - if m != nil { - return m.ImageType - } - 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 - // 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 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 name of the node pool to upgrade. - // 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"` - // 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 *SetNodePoolAutoscalingRequest) Reset() { *m = SetNodePoolAutoscalingRequest{} } -func (m *SetNodePoolAutoscalingRequest) String() string { return proto.CompactTextString(m) } -func (*SetNodePoolAutoscalingRequest) ProtoMessage() {} -func (*SetNodePoolAutoscalingRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_339d8120448ec82b, []int{20} -} - -func (m *SetNodePoolAutoscalingRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetNodePoolAutoscalingRequest.Unmarshal(m, b) -} -func (m *SetNodePoolAutoscalingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetNodePoolAutoscalingRequest.Marshal(b, m, deterministic) -} -func (m *SetNodePoolAutoscalingRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetNodePoolAutoscalingRequest.Merge(m, src) -} -func (m *SetNodePoolAutoscalingRequest) XXX_Size() int { - return xxx_messageInfo_SetNodePoolAutoscalingRequest.Size(m) -} -func (m *SetNodePoolAutoscalingRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetNodePoolAutoscalingRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetNodePoolAutoscalingRequest proto.InternalMessageInfo - -func (m *SetNodePoolAutoscalingRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *SetNodePoolAutoscalingRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -func (m *SetNodePoolAutoscalingRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -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 "" -} - -// SetLoggingServiceRequest sets the logging service of a cluster. -type SetLoggingServiceRequest 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. - 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 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 *SetLoggingServiceRequest) Reset() { *m = SetLoggingServiceRequest{} } -func (m *SetLoggingServiceRequest) String() string { return proto.CompactTextString(m) } -func (*SetLoggingServiceRequest) ProtoMessage() {} -func (*SetLoggingServiceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_339d8120448ec82b, []int{21} -} - -func (m *SetLoggingServiceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetLoggingServiceRequest.Unmarshal(m, b) -} -func (m *SetLoggingServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetLoggingServiceRequest.Marshal(b, m, deterministic) -} -func (m *SetLoggingServiceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetLoggingServiceRequest.Merge(m, src) -} -func (m *SetLoggingServiceRequest) XXX_Size() int { - return xxx_messageInfo_SetLoggingServiceRequest.Size(m) -} -func (m *SetLoggingServiceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetLoggingServiceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetLoggingServiceRequest proto.InternalMessageInfo - -func (m *SetLoggingServiceRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *SetLoggingServiceRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -func (m *SetLoggingServiceRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -func (m *SetLoggingServiceRequest) GetLoggingService() string { - if m != nil { - return m.LoggingService - } - 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 - // 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 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 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 *SetMonitoringServiceRequest) Reset() { *m = SetMonitoringServiceRequest{} } -func (m *SetMonitoringServiceRequest) String() string { return proto.CompactTextString(m) } -func (*SetMonitoringServiceRequest) ProtoMessage() {} -func (*SetMonitoringServiceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_339d8120448ec82b, []int{22} -} - -func (m *SetMonitoringServiceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetMonitoringServiceRequest.Unmarshal(m, b) -} -func (m *SetMonitoringServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetMonitoringServiceRequest.Marshal(b, m, deterministic) -} -func (m *SetMonitoringServiceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetMonitoringServiceRequest.Merge(m, src) -} -func (m *SetMonitoringServiceRequest) XXX_Size() int { - return xxx_messageInfo_SetMonitoringServiceRequest.Size(m) -} -func (m *SetMonitoringServiceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetMonitoringServiceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetMonitoringServiceRequest proto.InternalMessageInfo - -func (m *SetMonitoringServiceRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *SetMonitoringServiceRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -func (m *SetMonitoringServiceRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -func (m *SetMonitoringServiceRequest) GetMonitoringService() string { - if m != nil { - return m.MonitoringService - } - return "" -} - -func (m *SetMonitoringServiceRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// SetAddonsRequest sets the addons associated with the cluster. -type SetAddonsConfigRequest 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 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 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 *SetAddonsConfigRequest) Reset() { *m = SetAddonsConfigRequest{} } -func (m *SetAddonsConfigRequest) String() string { return proto.CompactTextString(m) } -func (*SetAddonsConfigRequest) ProtoMessage() {} -func (*SetAddonsConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_339d8120448ec82b, []int{23} -} - -func (m *SetAddonsConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetAddonsConfigRequest.Unmarshal(m, b) -} -func (m *SetAddonsConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetAddonsConfigRequest.Marshal(b, m, deterministic) -} -func (m *SetAddonsConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetAddonsConfigRequest.Merge(m, src) -} -func (m *SetAddonsConfigRequest) XXX_Size() int { - return xxx_messageInfo_SetAddonsConfigRequest.Size(m) -} -func (m *SetAddonsConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetAddonsConfigRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetAddonsConfigRequest proto.InternalMessageInfo - -func (m *SetAddonsConfigRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *SetAddonsConfigRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -func (m *SetAddonsConfigRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -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 { - // 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 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 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 - // 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 *SetLocationsRequest) Reset() { *m = SetLocationsRequest{} } -func (m *SetLocationsRequest) String() string { return proto.CompactTextString(m) } -func (*SetLocationsRequest) ProtoMessage() {} -func (*SetLocationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_339d8120448ec82b, []int{24} -} - -func (m *SetLocationsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetLocationsRequest.Unmarshal(m, b) -} -func (m *SetLocationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetLocationsRequest.Marshal(b, m, deterministic) -} -func (m *SetLocationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetLocationsRequest.Merge(m, src) -} -func (m *SetLocationsRequest) XXX_Size() int { - return xxx_messageInfo_SetLocationsRequest.Size(m) -} -func (m *SetLocationsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetLocationsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetLocationsRequest proto.InternalMessageInfo - -func (m *SetLocationsRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *SetLocationsRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -func (m *SetLocationsRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -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 "" -} - -// UpdateMasterRequest updates the master of the cluster. -type UpdateMasterRequest 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. - // 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 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"` - // 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 *UpdateMasterRequest) Reset() { *m = UpdateMasterRequest{} } -func (m *UpdateMasterRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateMasterRequest) ProtoMessage() {} -func (*UpdateMasterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_339d8120448ec82b, []int{25} -} - -func (m *UpdateMasterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateMasterRequest.Unmarshal(m, b) -} -func (m *UpdateMasterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateMasterRequest.Marshal(b, m, deterministic) -} -func (m *UpdateMasterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateMasterRequest.Merge(m, src) -} -func (m *UpdateMasterRequest) XXX_Size() int { - return xxx_messageInfo_UpdateMasterRequest.Size(m) -} -func (m *UpdateMasterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateMasterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateMasterRequest proto.InternalMessageInfo - -func (m *UpdateMasterRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *UpdateMasterRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -func (m *UpdateMasterRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -func (m *UpdateMasterRequest) GetMasterVersion() string { - if m != nil { - return m.MasterVersion - } - 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 - // 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 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.v1alpha1.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 *SetMasterAuthRequest) Reset() { *m = SetMasterAuthRequest{} } -func (m *SetMasterAuthRequest) String() string { return proto.CompactTextString(m) } -func (*SetMasterAuthRequest) ProtoMessage() {} -func (*SetMasterAuthRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_339d8120448ec82b, []int{26} -} - -func (m *SetMasterAuthRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetMasterAuthRequest.Unmarshal(m, b) -} -func (m *SetMasterAuthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetMasterAuthRequest.Marshal(b, m, deterministic) -} -func (m *SetMasterAuthRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetMasterAuthRequest.Merge(m, src) -} -func (m *SetMasterAuthRequest) XXX_Size() int { - return xxx_messageInfo_SetMasterAuthRequest.Size(m) -} -func (m *SetMasterAuthRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetMasterAuthRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetMasterAuthRequest proto.InternalMessageInfo - -func (m *SetMasterAuthRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *SetMasterAuthRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -func (m *SetMasterAuthRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -func (m *SetMasterAuthRequest) GetAction() SetMasterAuthRequest_Action { - if m != nil { - return m.Action - } - return SetMasterAuthRequest_UNKNOWN -} - -func (m *SetMasterAuthRequest) GetUpdate() *MasterAuth { - if m != nil { - return m.Update - } - 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 - // 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 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"` - 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_339d8120448ec82b, []int{27} -} - -func (m *DeleteClusterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteClusterRequest.Unmarshal(m, b) -} -func (m *DeleteClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteClusterRequest.Marshal(b, m, deterministic) -} -func (m *DeleteClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteClusterRequest.Merge(m, src) -} -func (m *DeleteClusterRequest) XXX_Size() int { - return xxx_messageInfo_DeleteClusterRequest.Size(m) -} -func (m *DeleteClusterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteClusterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteClusterRequest proto.InternalMessageInfo - -func (m *DeleteClusterRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *DeleteClusterRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -func (m *DeleteClusterRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - 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 - // 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) in which the cluster - // resides, 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 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 *ListClustersRequest) Reset() { *m = ListClustersRequest{} } -func (m *ListClustersRequest) String() string { return proto.CompactTextString(m) } -func (*ListClustersRequest) ProtoMessage() {} -func (*ListClustersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_339d8120448ec82b, []int{28} -} - -func (m *ListClustersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListClustersRequest.Unmarshal(m, b) -} -func (m *ListClustersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListClustersRequest.Marshal(b, m, deterministic) -} -func (m *ListClustersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClustersRequest.Merge(m, src) -} -func (m *ListClustersRequest) XXX_Size() int { - return xxx_messageInfo_ListClustersRequest.Size(m) -} -func (m *ListClustersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListClustersRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListClustersRequest proto.InternalMessageInfo - -func (m *ListClustersRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *ListClustersRequest) GetZone() string { - if m != nil { - return m.Zone - } - 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 - // 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_339d8120448ec82b, []int{29} -} - -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 (m *ListClustersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClustersResponse.Merge(m, 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.Clusters - } - return nil -} - -func (m *ListClustersResponse) GetMissingZones() []string { - if m != nil { - return m.MissingZones - } - return nil -} - -// GetOperationRequest gets a single operation. -type GetOperationRequest 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 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"` - 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_339d8120448ec82b, []int{30} -} - -func (m *GetOperationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetOperationRequest.Unmarshal(m, b) -} -func (m *GetOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetOperationRequest.Marshal(b, m, deterministic) -} -func (m *GetOperationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetOperationRequest.Merge(m, src) -} -func (m *GetOperationRequest) XXX_Size() int { - return xxx_messageInfo_GetOperationRequest.Size(m) -} -func (m *GetOperationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetOperationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetOperationRequest proto.InternalMessageInfo - -func (m *GetOperationRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *GetOperationRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -func (m *GetOperationRequest) GetOperationId() string { - if m != nil { - return m.OperationId - } - 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 - // 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"` - 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_339d8120448ec82b, []int{31} -} - -func (m *ListOperationsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListOperationsRequest.Unmarshal(m, b) -} -func (m *ListOperationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListOperationsRequest.Marshal(b, m, deterministic) -} -func (m *ListOperationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListOperationsRequest.Merge(m, src) -} -func (m *ListOperationsRequest) XXX_Size() int { - return xxx_messageInfo_ListOperationsRequest.Size(m) -} -func (m *ListOperationsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListOperationsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListOperationsRequest proto.InternalMessageInfo - -func (m *ListOperationsRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *ListOperationsRequest) GetZone() string { - if m != nil { - return m.Zone - } - 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 - // 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"` - 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_339d8120448ec82b, []int{32} -} - -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 (m *CancelOperationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CancelOperationRequest.Merge(m, 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 - -func (m *CancelOperationRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *CancelOperationRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -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_339d8120448ec82b, []int{33} -} - -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 (m *ListOperationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListOperationsResponse.Merge(m, 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 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_339d8120448ec82b, []int{34} -} - -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 (m *GetServerConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetServerConfigRequest.Merge(m, 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 - -func (m *GetServerConfigRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *GetServerConfigRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -func (m *GetServerConfigRequest) 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"` - 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_339d8120448ec82b, []int{35} -} - -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 (m *ServerConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServerConfig.Merge(m, 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 { - // 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 - // [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"` - 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_339d8120448ec82b, []int{36} -} - -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 (m *CreateNodePoolRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateNodePoolRequest.Merge(m, 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 - -func (m *CreateNodePoolRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *CreateNodePoolRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -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 { - // 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 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"` - 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_339d8120448ec82b, []int{37} -} - -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 (m *DeleteNodePoolRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteNodePoolRequest.Merge(m, 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 - -func (m *DeleteNodePoolRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *DeleteNodePoolRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -func (m *DeleteNodePoolRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -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 { - // 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 - // [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"` - 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_339d8120448ec82b, []int{38} -} - -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 (m *ListNodePoolsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNodePoolsRequest.Merge(m, 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 - -func (m *ListNodePoolsRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *ListNodePoolsRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -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 { - // 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"` - 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_339d8120448ec82b, []int{39} -} - -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 (m *GetNodePoolRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNodePoolRequest.Merge(m, 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 - -func (m *GetNodePoolRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *GetNodePoolRequest) 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 { - 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"` - // 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"` - // [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.v1alpha1.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"` - 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_339d8120448ec82b, []int{40} -} - -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 (m *NodePool) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodePool.Merge(m, 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) 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) 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 "" -} - -// 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_339d8120448ec82b, []int{41} -} - -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 (m *NodeManagement) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeManagement.Merge(m, 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_339d8120448ec82b, []int{42} -} - -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 (m *AutoUpgradeOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_AutoUpgradeOptions.Merge(m, 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_339d8120448ec82b, []int{43} -} - -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 (m *MaintenancePolicy) XXX_Merge(src proto.Message) { - xxx_messageInfo_MaintenancePolicy.Merge(m, 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_339d8120448ec82b, []int{44} -} - -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 (m *MaintenanceWindow) XXX_Merge(src proto.Message) { - xxx_messageInfo_MaintenanceWindow.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*MaintenanceWindow) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*MaintenanceWindow_DailyMaintenanceWindow)(nil), - } -} - -// 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_339d8120448ec82b, []int{45} -} - -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 (m *DailyMaintenanceWindow) XXX_Merge(src proto.Message) { - xxx_messageInfo_DailyMaintenanceWindow.Merge(m, 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 { - // 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"` - // 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"` - 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_339d8120448ec82b, []int{46} -} - -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 (m *SetNodePoolManagementRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetNodePoolManagementRequest.Merge(m, 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 - -func (m *SetNodePoolManagementRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *SetNodePoolManagementRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -func (m *SetNodePoolManagementRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -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 "" -} - -// SetNodePoolSizeRequest sets the size a node -// pool. -type SetNodePoolSizeRequest 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. - // 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"` - // 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 *SetNodePoolSizeRequest) Reset() { *m = SetNodePoolSizeRequest{} } -func (m *SetNodePoolSizeRequest) String() string { return proto.CompactTextString(m) } -func (*SetNodePoolSizeRequest) ProtoMessage() {} -func (*SetNodePoolSizeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_339d8120448ec82b, []int{47} -} - -func (m *SetNodePoolSizeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetNodePoolSizeRequest.Unmarshal(m, b) -} -func (m *SetNodePoolSizeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetNodePoolSizeRequest.Marshal(b, m, deterministic) -} -func (m *SetNodePoolSizeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetNodePoolSizeRequest.Merge(m, src) -} -func (m *SetNodePoolSizeRequest) XXX_Size() int { - return xxx_messageInfo_SetNodePoolSizeRequest.Size(m) -} -func (m *SetNodePoolSizeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetNodePoolSizeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetNodePoolSizeRequest proto.InternalMessageInfo - -func (m *SetNodePoolSizeRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *SetNodePoolSizeRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -func (m *SetNodePoolSizeRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -func (m *SetNodePoolSizeRequest) GetNodePoolId() string { - if m != nil { - return m.NodePoolId - } - return "" -} - -func (m *SetNodePoolSizeRequest) GetNodeCount() int32 { - if m != nil { - return m.NodeCount - } - 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 - // 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 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"` - 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_339d8120448ec82b, []int{48} -} - -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 (m *RollbackNodePoolUpgradeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RollbackNodePoolUpgradeRequest.Merge(m, 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 - -func (m *RollbackNodePoolUpgradeRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *RollbackNodePoolUpgradeRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -func (m *RollbackNodePoolUpgradeRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -func (m *RollbackNodePoolUpgradeRequest) GetNodePoolId() string { - if m != nil { - return m.NodePoolId - } - 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. - 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 *ListNodePoolsResponse) Reset() { *m = ListNodePoolsResponse{} } -func (m *ListNodePoolsResponse) String() string { return proto.CompactTextString(m) } -func (*ListNodePoolsResponse) ProtoMessage() {} -func (*ListNodePoolsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_339d8120448ec82b, []int{49} -} - -func (m *ListNodePoolsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListNodePoolsResponse.Unmarshal(m, b) -} -func (m *ListNodePoolsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListNodePoolsResponse.Marshal(b, m, deterministic) -} -func (m *ListNodePoolsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNodePoolsResponse.Merge(m, src) -} -func (m *ListNodePoolsResponse) XXX_Size() int { - return xxx_messageInfo_ListNodePoolsResponse.Size(m) -} -func (m *ListNodePoolsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListNodePoolsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListNodePoolsResponse proto.InternalMessageInfo - -func (m *ListNodePoolsResponse) GetNodePools() []*NodePool { - if m != nil { - return m.NodePools - } - return nil -} - -// 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"` - 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_339d8120448ec82b, []int{50} -} - -func (m *NodePoolAutoscaling) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodePoolAutoscaling.Unmarshal(m, b) -} -func (m *NodePoolAutoscaling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodePoolAutoscaling.Marshal(b, m, deterministic) -} -func (m *NodePoolAutoscaling) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodePoolAutoscaling.Merge(m, src) -} -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_NodePoolAutoscaling proto.InternalMessageInfo - -func (m *NodePoolAutoscaling) GetEnabled() bool { - if m != nil { - return m.Enabled - } - return false -} - -func (m *NodePoolAutoscaling) GetMinNodeCount() int32 { - if m != nil { - return m.MinNodeCount - } - return 0 -} - -func (m *NodePoolAutoscaling) GetMaxNodeCount() int32 { - if m != nil { - return m.MaxNodeCount - } - return 0 -} - -// 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 { - // 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 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. - // 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 *SetLabelsRequest) Reset() { *m = SetLabelsRequest{} } -func (m *SetLabelsRequest) String() string { return proto.CompactTextString(m) } -func (*SetLabelsRequest) ProtoMessage() {} -func (*SetLabelsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_339d8120448ec82b, []int{51} -} - -func (m *SetLabelsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetLabelsRequest.Unmarshal(m, b) -} -func (m *SetLabelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetLabelsRequest.Marshal(b, m, deterministic) -} -func (m *SetLabelsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetLabelsRequest.Merge(m, src) -} -func (m *SetLabelsRequest) XXX_Size() int { - return xxx_messageInfo_SetLabelsRequest.Size(m) -} -func (m *SetLabelsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetLabelsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetLabelsRequest proto.InternalMessageInfo - -func (m *SetLabelsRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *SetLabelsRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -func (m *SetLabelsRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -func (m *SetLabelsRequest) GetResourceLabels() map[string]string { - if m != nil { - return m.ResourceLabels - } - return nil -} - -func (m *SetLabelsRequest) GetLabelFingerprint() string { - if m != nil { - return m.LabelFingerprint - } - 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 - // 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"` - 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_339d8120448ec82b, []int{52} -} - -func (m *SetLegacyAbacRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetLegacyAbacRequest.Unmarshal(m, b) -} -func (m *SetLegacyAbacRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetLegacyAbacRequest.Marshal(b, m, deterministic) -} -func (m *SetLegacyAbacRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetLegacyAbacRequest.Merge(m, src) -} -func (m *SetLegacyAbacRequest) XXX_Size() int { - return xxx_messageInfo_SetLegacyAbacRequest.Size(m) -} -func (m *SetLegacyAbacRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetLegacyAbacRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetLegacyAbacRequest proto.InternalMessageInfo - -func (m *SetLegacyAbacRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *SetLegacyAbacRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -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 { - // 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"` - 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_339d8120448ec82b, []int{53} -} - -func (m *StartIPRotationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StartIPRotationRequest.Unmarshal(m, b) -} -func (m *StartIPRotationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StartIPRotationRequest.Marshal(b, m, deterministic) -} -func (m *StartIPRotationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartIPRotationRequest.Merge(m, src) -} -func (m *StartIPRotationRequest) XXX_Size() int { - return xxx_messageInfo_StartIPRotationRequest.Size(m) -} -func (m *StartIPRotationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StartIPRotationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_StartIPRotationRequest proto.InternalMessageInfo - -func (m *StartIPRotationRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *StartIPRotationRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -func (m *StartIPRotationRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -func (m *StartIPRotationRequest) GetName() string { - if m != nil { - return m.Name - } - 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"` - 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_339d8120448ec82b, []int{54} -} - -func (m *CompleteIPRotationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CompleteIPRotationRequest.Unmarshal(m, b) -} -func (m *CompleteIPRotationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CompleteIPRotationRequest.Marshal(b, m, deterministic) -} -func (m *CompleteIPRotationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CompleteIPRotationRequest.Merge(m, src) -} -func (m *CompleteIPRotationRequest) XXX_Size() int { - return xxx_messageInfo_CompleteIPRotationRequest.Size(m) -} -func (m *CompleteIPRotationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CompleteIPRotationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CompleteIPRotationRequest proto.InternalMessageInfo - -func (m *CompleteIPRotationRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *CompleteIPRotationRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -func (m *CompleteIPRotationRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - 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. - 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_339d8120448ec82b, []int{55} -} - -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 (m *AcceleratorConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_AcceleratorConfig.Merge(m, 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.AcceleratorCount - } - return 0 -} - -func (m *AcceleratorConfig) GetAcceleratorType() string { - if m != nil { - return m.AcceleratorType - } - 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"` - 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_339d8120448ec82b, []int{56} -} - -func (m *SetNetworkPolicyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetNetworkPolicyRequest.Unmarshal(m, b) -} -func (m *SetNetworkPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetNetworkPolicyRequest.Marshal(b, m, deterministic) -} -func (m *SetNetworkPolicyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetNetworkPolicyRequest.Merge(m, src) -} -func (m *SetNetworkPolicyRequest) XXX_Size() int { - return xxx_messageInfo_SetNetworkPolicyRequest.Size(m) -} -func (m *SetNetworkPolicyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetNetworkPolicyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetNetworkPolicyRequest proto.InternalMessageInfo - -func (m *SetNetworkPolicyRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *SetNetworkPolicyRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -func (m *SetNetworkPolicyRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -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://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"` - 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_339d8120448ec82b, []int{57} -} - -func (m *SetMaintenancePolicyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetMaintenancePolicyRequest.Unmarshal(m, b) -} -func (m *SetMaintenancePolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetMaintenancePolicyRequest.Marshal(b, m, deterministic) -} -func (m *SetMaintenancePolicyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetMaintenancePolicyRequest.Merge(m, src) -} -func (m *SetMaintenancePolicyRequest) XXX_Size() int { - return xxx_messageInfo_SetMaintenancePolicyRequest.Size(m) -} -func (m *SetMaintenancePolicyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetMaintenancePolicyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetMaintenancePolicyRequest proto.InternalMessageInfo - -func (m *SetMaintenancePolicyRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *SetMaintenancePolicyRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -func (m *SetMaintenancePolicyRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -func (m *SetMaintenancePolicyRequest) GetMaintenancePolicy() *MaintenancePolicy { - if m != nil { - return m.MaintenancePolicy - } - return nil -} - -func (m *SetMaintenancePolicyRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func init() { - proto.RegisterEnum("google.container.v1alpha1.NodeTaint_Effect", NodeTaint_Effect_name, NodeTaint_Effect_value) - proto.RegisterEnum("google.container.v1alpha1.NetworkPolicy_Provider", NetworkPolicy_Provider_name, NetworkPolicy_Provider_value) - proto.RegisterEnum("google.container.v1alpha1.Cluster_Status", Cluster_Status_name, Cluster_Status_value) - proto.RegisterEnum("google.container.v1alpha1.Operation_Status", Operation_Status_name, Operation_Status_value) - proto.RegisterEnum("google.container.v1alpha1.Operation_Type", Operation_Type_name, Operation_Type_value) - proto.RegisterEnum("google.container.v1alpha1.SetMasterAuthRequest_Action", SetMasterAuthRequest_Action_name, SetMasterAuthRequest_Action_value) - proto.RegisterEnum("google.container.v1alpha1.NodePool_Status", NodePool_Status_name, NodePool_Status_value) - proto.RegisterType((*NodeConfig)(nil), "google.container.v1alpha1.NodeConfig") - proto.RegisterMapType((map[string]string)(nil), "google.container.v1alpha1.NodeConfig.LabelsEntry") - proto.RegisterMapType((map[string]string)(nil), "google.container.v1alpha1.NodeConfig.MetadataEntry") - proto.RegisterType((*NodeTaint)(nil), "google.container.v1alpha1.NodeTaint") - proto.RegisterType((*MasterAuth)(nil), "google.container.v1alpha1.MasterAuth") - proto.RegisterType((*ClientCertificateConfig)(nil), "google.container.v1alpha1.ClientCertificateConfig") - proto.RegisterType((*AddonsConfig)(nil), "google.container.v1alpha1.AddonsConfig") - proto.RegisterType((*HttpLoadBalancing)(nil), "google.container.v1alpha1.HttpLoadBalancing") - proto.RegisterType((*HorizontalPodAutoscaling)(nil), "google.container.v1alpha1.HorizontalPodAutoscaling") - proto.RegisterType((*KubernetesDashboard)(nil), "google.container.v1alpha1.KubernetesDashboard") - proto.RegisterType((*NetworkPolicyConfig)(nil), "google.container.v1alpha1.NetworkPolicyConfig") - proto.RegisterType((*MasterAuthorizedNetworksConfig)(nil), "google.container.v1alpha1.MasterAuthorizedNetworksConfig") - proto.RegisterType((*MasterAuthorizedNetworksConfig_CidrBlock)(nil), "google.container.v1alpha1.MasterAuthorizedNetworksConfig.CidrBlock") - proto.RegisterType((*NetworkPolicy)(nil), "google.container.v1alpha1.NetworkPolicy") - proto.RegisterType((*IPAllocationPolicy)(nil), "google.container.v1alpha1.IPAllocationPolicy") - proto.RegisterType((*PodSecurityPolicyConfig)(nil), "google.container.v1alpha1.PodSecurityPolicyConfig") - proto.RegisterType((*Cluster)(nil), "google.container.v1alpha1.Cluster") - proto.RegisterType((*ClusterUpdate)(nil), "google.container.v1alpha1.ClusterUpdate") - proto.RegisterType((*Operation)(nil), "google.container.v1alpha1.Operation") - proto.RegisterType((*CreateClusterRequest)(nil), "google.container.v1alpha1.CreateClusterRequest") - proto.RegisterType((*GetClusterRequest)(nil), "google.container.v1alpha1.GetClusterRequest") - proto.RegisterType((*UpdateClusterRequest)(nil), "google.container.v1alpha1.UpdateClusterRequest") - proto.RegisterType((*UpdateNodePoolRequest)(nil), "google.container.v1alpha1.UpdateNodePoolRequest") - proto.RegisterType((*SetNodePoolAutoscalingRequest)(nil), "google.container.v1alpha1.SetNodePoolAutoscalingRequest") - proto.RegisterType((*SetLoggingServiceRequest)(nil), "google.container.v1alpha1.SetLoggingServiceRequest") - proto.RegisterType((*SetMonitoringServiceRequest)(nil), "google.container.v1alpha1.SetMonitoringServiceRequest") - proto.RegisterType((*SetAddonsConfigRequest)(nil), "google.container.v1alpha1.SetAddonsConfigRequest") - proto.RegisterType((*SetLocationsRequest)(nil), "google.container.v1alpha1.SetLocationsRequest") - proto.RegisterType((*UpdateMasterRequest)(nil), "google.container.v1alpha1.UpdateMasterRequest") - proto.RegisterType((*SetMasterAuthRequest)(nil), "google.container.v1alpha1.SetMasterAuthRequest") - proto.RegisterType((*DeleteClusterRequest)(nil), "google.container.v1alpha1.DeleteClusterRequest") - proto.RegisterType((*ListClustersRequest)(nil), "google.container.v1alpha1.ListClustersRequest") - proto.RegisterType((*ListClustersResponse)(nil), "google.container.v1alpha1.ListClustersResponse") - proto.RegisterType((*GetOperationRequest)(nil), "google.container.v1alpha1.GetOperationRequest") - proto.RegisterType((*ListOperationsRequest)(nil), "google.container.v1alpha1.ListOperationsRequest") - proto.RegisterType((*CancelOperationRequest)(nil), "google.container.v1alpha1.CancelOperationRequest") - proto.RegisterType((*ListOperationsResponse)(nil), "google.container.v1alpha1.ListOperationsResponse") - proto.RegisterType((*GetServerConfigRequest)(nil), "google.container.v1alpha1.GetServerConfigRequest") - proto.RegisterType((*ServerConfig)(nil), "google.container.v1alpha1.ServerConfig") - proto.RegisterType((*CreateNodePoolRequest)(nil), "google.container.v1alpha1.CreateNodePoolRequest") - proto.RegisterType((*DeleteNodePoolRequest)(nil), "google.container.v1alpha1.DeleteNodePoolRequest") - proto.RegisterType((*ListNodePoolsRequest)(nil), "google.container.v1alpha1.ListNodePoolsRequest") - proto.RegisterType((*GetNodePoolRequest)(nil), "google.container.v1alpha1.GetNodePoolRequest") - proto.RegisterType((*NodePool)(nil), "google.container.v1alpha1.NodePool") - proto.RegisterType((*NodeManagement)(nil), "google.container.v1alpha1.NodeManagement") - proto.RegisterType((*AutoUpgradeOptions)(nil), "google.container.v1alpha1.AutoUpgradeOptions") - proto.RegisterType((*MaintenancePolicy)(nil), "google.container.v1alpha1.MaintenancePolicy") - proto.RegisterType((*MaintenanceWindow)(nil), "google.container.v1alpha1.MaintenanceWindow") - proto.RegisterType((*DailyMaintenanceWindow)(nil), "google.container.v1alpha1.DailyMaintenanceWindow") - proto.RegisterType((*SetNodePoolManagementRequest)(nil), "google.container.v1alpha1.SetNodePoolManagementRequest") - proto.RegisterType((*SetNodePoolSizeRequest)(nil), "google.container.v1alpha1.SetNodePoolSizeRequest") - proto.RegisterType((*RollbackNodePoolUpgradeRequest)(nil), "google.container.v1alpha1.RollbackNodePoolUpgradeRequest") - proto.RegisterType((*ListNodePoolsResponse)(nil), "google.container.v1alpha1.ListNodePoolsResponse") - proto.RegisterType((*NodePoolAutoscaling)(nil), "google.container.v1alpha1.NodePoolAutoscaling") - proto.RegisterType((*SetLabelsRequest)(nil), "google.container.v1alpha1.SetLabelsRequest") - proto.RegisterMapType((map[string]string)(nil), "google.container.v1alpha1.SetLabelsRequest.ResourceLabelsEntry") - proto.RegisterType((*SetLegacyAbacRequest)(nil), "google.container.v1alpha1.SetLegacyAbacRequest") - proto.RegisterType((*StartIPRotationRequest)(nil), "google.container.v1alpha1.StartIPRotationRequest") - proto.RegisterType((*CompleteIPRotationRequest)(nil), "google.container.v1alpha1.CompleteIPRotationRequest") - proto.RegisterType((*AcceleratorConfig)(nil), "google.container.v1alpha1.AcceleratorConfig") - proto.RegisterType((*SetNetworkPolicyRequest)(nil), "google.container.v1alpha1.SetNetworkPolicyRequest") - proto.RegisterType((*SetMaintenancePolicyRequest)(nil), "google.container.v1alpha1.SetMaintenancePolicyRequest") -} - -func init() { - proto.RegisterFile("google/container/v1alpha1/cluster_service.proto", fileDescriptor_339d8120448ec82b) -} - -var fileDescriptor_339d8120448ec82b = []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, - 0xfb, 0xef, 0xf5,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xcc, 0x96, 0xa6, 0xc7, 0x3a, 0xcd, 0x70, 0x97, 0x75, - 0x62, 0x64, 0xea, 0x7c, 0xb8, 0x00, 0xb5, 0xb9, 0x4a, 0xe8, 0x7e, 0x53, 0x63, 0xab, 0x7d, 0xfd, - 0x95, 0x06, 0x1c, 0xf0, 0x2a, 0xa4, 0x0d, 0xec, 0xeb, 0x66, 0x87, 0x9b, 0x36, 0x7f, 0x8a, 0x71, - 0xcc, 0x33, 0x71, 0x8e, 0x39, 0x12, 0x10, 0xd3, 0x03, 0x01, 0xf1, 0x49, 0xc8, 0xfa, 0xba, 0xdb, - 0xc6, 0x3e, 0x1b, 0x66, 0x47, 0x0d, 0x18, 0x89, 0x4e, 0x10, 0x5d, 0x5f, 0x26, 0xea, 0xfa, 0xc8, - 0x85, 0xda, 0xf3, 0x75, 0xd7, 0x67, 0x6e, 0x93, 0x5d, 0x56, 0x32, 0x94, 0x42, 0xbd, 0xe6, 0x25, - 0x1a, 0x58, 0xd9, 0x20, 0x4b, 0x24, 0x67, 0xb1, 0x65, 0x90, 0x21, 0x59, 0x1d, 0xeb, 0x34, 0xb3, - 0x30, 0xdb, 0x50, 0x6a, 0x5b, 0x31, 0xfe, 0x72, 0x0e, 0x52, 0x5b, 0xf5, 0x9a, 0xc2, 0x1c, 0x65, - 0x79, 0xb3, 0xae, 0xee, 0x51, 0x47, 0x29, 0xff, 0xcf, 0x14, 0xa4, 0xa8, 0xd2, 0x97, 0xa1, 0xb0, - 0xf7, 0x4e, 0x43, 0x19, 0x58, 0x10, 0x41, 0xbe, 0xa2, 0x2a, 0xe5, 0x3d, 0x45, 0xab, 0xec, 0xec, - 0x37, 0xf7, 0x14, 0xb5, 0x20, 0x11, 0xda, 0x96, 0xb2, 0xa3, 0x08, 0xb4, 0x29, 0x42, 0xdb, 0x6f, - 0x6c, 0xab, 0xe5, 0x2d, 0x45, 0xdb, 0x2d, 0x53, 0xda, 0x34, 0x5a, 0x84, 0xf9, 0x80, 0x56, 0xab,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0x82, 0xff, - 0x51, 0x82, 0xd5, 0x26, 0xf6, 0x23, 0x69, 0xf0, 0x85, 0xe1, 0x1d, 0xaa, 0x09, 0xa5, 0xce, 0x53, - 0x13, 0x8a, 0x13, 0xe7, 0x37, 0x25, 0x58, 0xa2, 0xf6, 0xc2, 0xd3, 0xd7, 0x8b, 0x93, 0x25, 0x52, - 0x2d, 0x4a, 0x0d, 0x56, 0x8b, 0xe2, 0xb0, 0x7d, 0x26, 0xc1, 0x12, 0xf3, 0x55, 0x2c, 0x2b, 0xbc, - 0x38, 0x6c, 0xcf, 0x40, 0x7e, 0x20, 0x2b, 0x65, 0x36, 0x31, 0xdf, 0x8d, 0x5c, 0xec, 0x03, 0x90, - 0xb3, 0x02, 0xc8, 0x7f, 0x9d, 0x82, 0x65, 0x62, 0xc4, 0xfd, 0x92, 0xe3, 0x85, 0xa1, 0xac, 0x41, - 0x5a, 0x6f, 0xf9, 0x01, 0xba, 0xfc, 0xcd, 0x97, 0x12, 0xcc, 0x20, 0x0e, 0xd2, 0x7a, 0x99, 0x72, - 0xab, 0x7c, 0x15, 0xf4, 0x46, 0x18, 0x61, 0x4e, 0x55, 0x52, 0x1d, 0x0c, 0x2f, 0xa2, 0x36, 0x1a, - 0x90, 0x66, 0x9b, 0x90, 0x5c, 0x6f, 0xbf, 0x76, 0xb7, 0x56, 0xbf, 0x5f, 0x63, 0x57, 0x67, 0x92, - 0x6f, 0x34, 0xca, 0xcd, 0xe6, 0xfd, 0xba, 0xba, 0x55, 0x90, 0x48, 0x16, 0xb4, 0xad, 0xd4, 0x14, - 0x95, 0x64, 0x54, 0x21, 0x79, 0x2a, 0x98, 0xb8, 0xdf, 0x54, 0xd4, 0x5a, 0x79, 0x57, 0x29, 0x4c, - 0xcb, 0xbf, 0x04, 0xcb, 0x5b, 0xb8, 0x83, 0x1f, 0x41, 0xc0, 0x0d, 0xe4, 0x49, 0x09, 0xf2, 0xfc, - 0x7f, 0x58, 0xda, 0x31, 0xbd, 0x20, 0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xf9, 0xe2, 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, 0xec, 0x17, 0x6d, 0x5d, 0xce, 0x4d, - 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 - -// ClusterManagerClient is the client API for ClusterManager service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -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. - 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. - // - // By default, the cluster is created in the project's - // [default network](/compute/docs/networks-and-firewalls#networks). - // - // One firewall is added for the cluster. After cluster creation, - // the cluster creates routes for each node to allow the containers - // on that node to communicate with all other instances in the - // cluster. - // - // 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. - UpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*Operation, error) - // Updates the version and/or iamge 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 of a specific cluster. - SetLoggingService(ctx context.Context, in *SetLoggingServiceRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the monitoring service of a specific cluster. - SetMonitoringService(ctx context.Context, in *SetMonitoringServiceRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the addons of a specific cluster. - SetAddonsConfig(ctx context.Context, in *SetAddonsConfigRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the locations of a specific cluster. - SetLocations(ctx context.Context, in *SetLocationsRequest, opts ...grpc.CallOption) (*Operation, error) - // Updates the master of 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. - // 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) - // Deletes the cluster, including the Kubernetes endpoint and all worker - // nodes. - // - // Firewalls and routes that were configured during cluster creation - // are also deleted. - // - // Other Google Compute Engine resources that might be in use by the cluster - // (e.g. load balancer resources) will not be deleted if they weren't present - // at the initial create time. - DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*Operation, error) - // Lists all operations in a project in a specific zone or all zones. - ListOperations(ctx context.Context, in *ListOperationsRequest, opts ...grpc.CallOption) (*ListOperationsResponse, error) - // Gets the specified operation. - 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. - 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) - // Retrieves the node pool requested. - GetNodePool(ctx context.Context, in *GetNodePoolRequest, opts ...grpc.CallOption) (*NodePool, error) - // Creates a node pool for a cluster. - CreateNodePool(ctx context.Context, in *CreateNodePoolRequest, opts ...grpc.CallOption) (*Operation, error) - // Deletes a node pool from a cluster. - DeleteNodePool(ctx context.Context, in *DeleteNodePoolRequest, opts ...grpc.CallOption) (*Operation, error) - // Roll back the previously Aborted or Failed NodePool upgrade. - // This will be an no-op if the last upgrade successfully completed. - RollbackNodePoolUpgrade(ctx context.Context, in *RollbackNodePoolUpgradeRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the NodeManagement options for a node pool. - SetNodePoolManagement(ctx context.Context, in *SetNodePoolManagementRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets labels on a cluster. - SetLabels(ctx context.Context, in *SetLabelsRequest, opts ...grpc.CallOption) (*Operation, error) - // Enables or disables the ABAC authorization mechanism on a cluster. - SetLegacyAbac(ctx context.Context, in *SetLegacyAbacRequest, opts ...grpc.CallOption) (*Operation, error) - // Start master IP rotation. - 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. - 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) -} - -type clusterManagerClient struct { - cc *grpc.ClientConn -} - -func NewClusterManagerClient(cc *grpc.ClientConn) ClusterManagerClient { - return &clusterManagerClient{cc} -} - -func (c *clusterManagerClient) ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) { - out := new(ListClustersResponse) - err := c.cc.Invoke(ctx, "/google.container.v1alpha1.ClusterManager/ListClusters", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error) { - out := new(Cluster) - err := c.cc.Invoke(ctx, "/google.container.v1alpha1.ClusterManager/GetCluster", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1alpha1.ClusterManager/CreateCluster", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) UpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1alpha1.ClusterManager/UpdateCluster", in, out, opts...) - if err != nil { - return nil, err - } - 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.v1alpha1.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.v1alpha1.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.v1alpha1.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.v1alpha1.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.v1alpha1.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.v1alpha1.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.v1alpha1.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.v1alpha1.ClusterManager/SetMasterAuth", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1alpha1.ClusterManager/DeleteCluster", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) ListOperations(ctx context.Context, in *ListOperationsRequest, opts ...grpc.CallOption) (*ListOperationsResponse, error) { - out := new(ListOperationsResponse) - err := c.cc.Invoke(ctx, "/google.container.v1alpha1.ClusterManager/ListOperations", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) GetOperation(ctx context.Context, in *GetOperationRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1alpha1.ClusterManager/GetOperation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) CancelOperation(ctx context.Context, in *CancelOperationRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.container.v1alpha1.ClusterManager/CancelOperation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) GetServerConfig(ctx context.Context, in *GetServerConfigRequest, opts ...grpc.CallOption) (*ServerConfig, error) { - out := new(ServerConfig) - err := c.cc.Invoke(ctx, "/google.container.v1alpha1.ClusterManager/GetServerConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) ListNodePools(ctx context.Context, in *ListNodePoolsRequest, opts ...grpc.CallOption) (*ListNodePoolsResponse, error) { - out := new(ListNodePoolsResponse) - err := c.cc.Invoke(ctx, "/google.container.v1alpha1.ClusterManager/ListNodePools", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) GetNodePool(ctx context.Context, in *GetNodePoolRequest, opts ...grpc.CallOption) (*NodePool, error) { - out := new(NodePool) - err := c.cc.Invoke(ctx, "/google.container.v1alpha1.ClusterManager/GetNodePool", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) CreateNodePool(ctx context.Context, in *CreateNodePoolRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1alpha1.ClusterManager/CreateNodePool", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) DeleteNodePool(ctx context.Context, in *DeleteNodePoolRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1alpha1.ClusterManager/DeleteNodePool", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) RollbackNodePoolUpgrade(ctx context.Context, in *RollbackNodePoolUpgradeRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1alpha1.ClusterManager/RollbackNodePoolUpgrade", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) SetNodePoolManagement(ctx context.Context, in *SetNodePoolManagementRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1alpha1.ClusterManager/SetNodePoolManagement", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) SetLabels(ctx context.Context, in *SetLabelsRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1alpha1.ClusterManager/SetLabels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) SetLegacyAbac(ctx context.Context, in *SetLegacyAbacRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1alpha1.ClusterManager/SetLegacyAbac", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) StartIPRotation(ctx context.Context, in *StartIPRotationRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1alpha1.ClusterManager/StartIPRotation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) CompleteIPRotation(ctx context.Context, in *CompleteIPRotationRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1alpha1.ClusterManager/CompleteIPRotation", in, out, opts...) - if err != nil { - return nil, err - } - 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.v1alpha1.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.v1alpha1.ClusterManager/SetNetworkPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) SetMaintenancePolicy(ctx context.Context, in *SetMaintenancePolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1alpha1.ClusterManager/SetMaintenancePolicy", 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. - GetCluster(context.Context, *GetClusterRequest) (*Cluster, error) - // Creates a cluster, consisting of the specified number and type of Google - // Compute Engine instances. - // - // By default, the cluster is created in the project's - // [default network](/compute/docs/networks-and-firewalls#networks). - // - // One firewall is added for the cluster. After cluster creation, - // the cluster creates routes for each node to allow the containers - // on that node to communicate with all other instances in the - // cluster. - // - // 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. - UpdateCluster(context.Context, *UpdateClusterRequest) (*Operation, error) - // Updates the version and/or iamge 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 of a specific cluster. - SetLoggingService(context.Context, *SetLoggingServiceRequest) (*Operation, error) - // Sets the monitoring service of a specific cluster. - SetMonitoringService(context.Context, *SetMonitoringServiceRequest) (*Operation, error) - // Sets the addons of a specific cluster. - SetAddonsConfig(context.Context, *SetAddonsConfigRequest) (*Operation, error) - // Sets the locations of a specific cluster. - SetLocations(context.Context, *SetLocationsRequest) (*Operation, error) - // Updates the master of 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. - // 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) - // Deletes the cluster, including the Kubernetes endpoint and all worker - // nodes. - // - // Firewalls and routes that were configured during cluster creation - // are also deleted. - // - // Other Google Compute Engine resources that might be in use by the cluster - // (e.g. load balancer resources) will not be deleted if they weren't present - // at the initial create time. - DeleteCluster(context.Context, *DeleteClusterRequest) (*Operation, error) - // Lists all operations in a project in a specific zone or all zones. - ListOperations(context.Context, *ListOperationsRequest) (*ListOperationsResponse, error) - // Gets the specified operation. - 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. - GetServerConfig(context.Context, *GetServerConfigRequest) (*ServerConfig, error) - // Lists the node pools for a cluster. - ListNodePools(context.Context, *ListNodePoolsRequest) (*ListNodePoolsResponse, error) - // Retrieves the node pool requested. - GetNodePool(context.Context, *GetNodePoolRequest) (*NodePool, error) - // Creates a node pool for a cluster. - CreateNodePool(context.Context, *CreateNodePoolRequest) (*Operation, error) - // Deletes a node pool from a cluster. - DeleteNodePool(context.Context, *DeleteNodePoolRequest) (*Operation, error) - // Roll back the previously Aborted or Failed NodePool upgrade. - // This will be an no-op if the last upgrade successfully completed. - RollbackNodePoolUpgrade(context.Context, *RollbackNodePoolUpgradeRequest) (*Operation, error) - // Sets the NodeManagement options for a node pool. - SetNodePoolManagement(context.Context, *SetNodePoolManagementRequest) (*Operation, error) - // Sets labels on a cluster. - SetLabels(context.Context, *SetLabelsRequest) (*Operation, error) - // Enables or disables the ABAC authorization mechanism on a cluster. - SetLegacyAbac(context.Context, *SetLegacyAbacRequest) (*Operation, error) - // Start master IP rotation. - StartIPRotation(context.Context, *StartIPRotationRequest) (*Operation, error) - // Completes master IP rotation. - CompleteIPRotation(context.Context, *CompleteIPRotationRequest) (*Operation, error) - // Sets the size of 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) -} - -// UnimplementedClusterManagerServer can be embedded to have forward compatible implementations. -type UnimplementedClusterManagerServer struct { -} - -func (*UnimplementedClusterManagerServer) ListClusters(ctx context.Context, req *ListClustersRequest) (*ListClustersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListClusters not implemented") -} -func (*UnimplementedClusterManagerServer) GetCluster(ctx context.Context, req *GetClusterRequest) (*Cluster, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCluster not implemented") -} -func (*UnimplementedClusterManagerServer) CreateCluster(ctx context.Context, req *CreateClusterRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateCluster not implemented") -} -func (*UnimplementedClusterManagerServer) UpdateCluster(ctx context.Context, req *UpdateClusterRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateCluster not implemented") -} -func (*UnimplementedClusterManagerServer) UpdateNodePool(ctx context.Context, req *UpdateNodePoolRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateNodePool not implemented") -} -func (*UnimplementedClusterManagerServer) SetNodePoolAutoscaling(ctx context.Context, req *SetNodePoolAutoscalingRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetNodePoolAutoscaling not implemented") -} -func (*UnimplementedClusterManagerServer) SetLoggingService(ctx context.Context, req *SetLoggingServiceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetLoggingService not implemented") -} -func (*UnimplementedClusterManagerServer) SetMonitoringService(ctx context.Context, req *SetMonitoringServiceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetMonitoringService not implemented") -} -func (*UnimplementedClusterManagerServer) SetAddonsConfig(ctx context.Context, req *SetAddonsConfigRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetAddonsConfig not implemented") -} -func (*UnimplementedClusterManagerServer) SetLocations(ctx context.Context, req *SetLocationsRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetLocations not implemented") -} -func (*UnimplementedClusterManagerServer) UpdateMaster(ctx context.Context, req *UpdateMasterRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateMaster not implemented") -} -func (*UnimplementedClusterManagerServer) SetMasterAuth(ctx context.Context, req *SetMasterAuthRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetMasterAuth not implemented") -} -func (*UnimplementedClusterManagerServer) DeleteCluster(ctx context.Context, req *DeleteClusterRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteCluster not implemented") -} -func (*UnimplementedClusterManagerServer) ListOperations(ctx context.Context, req *ListOperationsRequest) (*ListOperationsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListOperations not implemented") -} -func (*UnimplementedClusterManagerServer) GetOperation(ctx context.Context, req *GetOperationRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetOperation not implemented") -} -func (*UnimplementedClusterManagerServer) CancelOperation(ctx context.Context, req *CancelOperationRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method CancelOperation not implemented") -} -func (*UnimplementedClusterManagerServer) GetServerConfig(ctx context.Context, req *GetServerConfigRequest) (*ServerConfig, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetServerConfig not implemented") -} -func (*UnimplementedClusterManagerServer) ListNodePools(ctx context.Context, req *ListNodePoolsRequest) (*ListNodePoolsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListNodePools not implemented") -} -func (*UnimplementedClusterManagerServer) GetNodePool(ctx context.Context, req *GetNodePoolRequest) (*NodePool, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNodePool not implemented") -} -func (*UnimplementedClusterManagerServer) CreateNodePool(ctx context.Context, req *CreateNodePoolRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateNodePool not implemented") -} -func (*UnimplementedClusterManagerServer) DeleteNodePool(ctx context.Context, req *DeleteNodePoolRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteNodePool not implemented") -} -func (*UnimplementedClusterManagerServer) RollbackNodePoolUpgrade(ctx context.Context, req *RollbackNodePoolUpgradeRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method RollbackNodePoolUpgrade not implemented") -} -func (*UnimplementedClusterManagerServer) SetNodePoolManagement(ctx context.Context, req *SetNodePoolManagementRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetNodePoolManagement not implemented") -} -func (*UnimplementedClusterManagerServer) SetLabels(ctx context.Context, req *SetLabelsRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetLabels not implemented") -} -func (*UnimplementedClusterManagerServer) SetLegacyAbac(ctx context.Context, req *SetLegacyAbacRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetLegacyAbac not implemented") -} -func (*UnimplementedClusterManagerServer) StartIPRotation(ctx context.Context, req *StartIPRotationRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method StartIPRotation not implemented") -} -func (*UnimplementedClusterManagerServer) CompleteIPRotation(ctx context.Context, req *CompleteIPRotationRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CompleteIPRotation not implemented") -} -func (*UnimplementedClusterManagerServer) SetNodePoolSize(ctx context.Context, req *SetNodePoolSizeRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetNodePoolSize not implemented") -} -func (*UnimplementedClusterManagerServer) SetNetworkPolicy(ctx context.Context, req *SetNetworkPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetNetworkPolicy not implemented") -} -func (*UnimplementedClusterManagerServer) SetMaintenancePolicy(ctx context.Context, req *SetMaintenancePolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetMaintenancePolicy not implemented") -} - -func RegisterClusterManagerServer(s *grpc.Server, srv ClusterManagerServer) { - s.RegisterService(&_ClusterManager_serviceDesc, srv) -} - -func _ClusterManager_ListClusters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListClustersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).ListClusters(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1alpha1.ClusterManager/ListClusters", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).ListClusters(ctx, req.(*ListClustersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_GetCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetClusterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).GetCluster(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1alpha1.ClusterManager/GetCluster", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).GetCluster(ctx, req.(*GetClusterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_CreateCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateClusterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).CreateCluster(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1alpha1.ClusterManager/CreateCluster", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).CreateCluster(ctx, req.(*CreateClusterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_UpdateCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateClusterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).UpdateCluster(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1alpha1.ClusterManager/UpdateCluster", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).UpdateCluster(ctx, req.(*UpdateClusterRequest)) - } - 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.v1alpha1.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.v1alpha1.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.v1alpha1.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.v1alpha1.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.v1alpha1.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.v1alpha1.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.v1alpha1.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 { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).SetMasterAuth(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1alpha1.ClusterManager/SetMasterAuth", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).SetMasterAuth(ctx, req.(*SetMasterAuthRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_DeleteCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteClusterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).DeleteCluster(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1alpha1.ClusterManager/DeleteCluster", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).DeleteCluster(ctx, req.(*DeleteClusterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_ListOperations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListOperationsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).ListOperations(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1alpha1.ClusterManager/ListOperations", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).ListOperations(ctx, req.(*ListOperationsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_GetOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetOperationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).GetOperation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1alpha1.ClusterManager/GetOperation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).GetOperation(ctx, req.(*GetOperationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_CancelOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CancelOperationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).CancelOperation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1alpha1.ClusterManager/CancelOperation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).CancelOperation(ctx, req.(*CancelOperationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_GetServerConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetServerConfigRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).GetServerConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1alpha1.ClusterManager/GetServerConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).GetServerConfig(ctx, req.(*GetServerConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_ListNodePools_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListNodePoolsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).ListNodePools(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1alpha1.ClusterManager/ListNodePools", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).ListNodePools(ctx, req.(*ListNodePoolsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_GetNodePool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetNodePoolRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).GetNodePool(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1alpha1.ClusterManager/GetNodePool", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).GetNodePool(ctx, req.(*GetNodePoolRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_CreateNodePool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateNodePoolRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).CreateNodePool(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1alpha1.ClusterManager/CreateNodePool", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).CreateNodePool(ctx, req.(*CreateNodePoolRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_DeleteNodePool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteNodePoolRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).DeleteNodePool(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1alpha1.ClusterManager/DeleteNodePool", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).DeleteNodePool(ctx, req.(*DeleteNodePoolRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_RollbackNodePoolUpgrade_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RollbackNodePoolUpgradeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).RollbackNodePoolUpgrade(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1alpha1.ClusterManager/RollbackNodePoolUpgrade", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).RollbackNodePoolUpgrade(ctx, req.(*RollbackNodePoolUpgradeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_SetNodePoolManagement_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetNodePoolManagementRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).SetNodePoolManagement(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1alpha1.ClusterManager/SetNodePoolManagement", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).SetNodePoolManagement(ctx, req.(*SetNodePoolManagementRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_SetLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetLabelsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).SetLabels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1alpha1.ClusterManager/SetLabels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).SetLabels(ctx, req.(*SetLabelsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_SetLegacyAbac_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetLegacyAbacRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).SetLegacyAbac(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1alpha1.ClusterManager/SetLegacyAbac", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).SetLegacyAbac(ctx, req.(*SetLegacyAbacRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_StartIPRotation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(StartIPRotationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).StartIPRotation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1alpha1.ClusterManager/StartIPRotation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).StartIPRotation(ctx, req.(*StartIPRotationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_CompleteIPRotation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CompleteIPRotationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).CompleteIPRotation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1alpha1.ClusterManager/CompleteIPRotation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).CompleteIPRotation(ctx, req.(*CompleteIPRotationRequest)) - } - 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.v1alpha1.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 { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).SetNetworkPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1alpha1.ClusterManager/SetNetworkPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).SetNetworkPolicy(ctx, req.(*SetNetworkPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_SetMaintenancePolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetMaintenancePolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).SetMaintenancePolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1alpha1.ClusterManager/SetMaintenancePolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).SetMaintenancePolicy(ctx, req.(*SetMaintenancePolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ClusterManager_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.container.v1alpha1.ClusterManager", - HandlerType: (*ClusterManagerServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListClusters", - Handler: _ClusterManager_ListClusters_Handler, - }, - { - MethodName: "GetCluster", - Handler: _ClusterManager_GetCluster_Handler, - }, - { - MethodName: "CreateCluster", - Handler: _ClusterManager_CreateCluster_Handler, - }, - { - 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, - }, - { - MethodName: "DeleteCluster", - Handler: _ClusterManager_DeleteCluster_Handler, - }, - { - MethodName: "ListOperations", - Handler: _ClusterManager_ListOperations_Handler, - }, - { - MethodName: "GetOperation", - Handler: _ClusterManager_GetOperation_Handler, - }, - { - MethodName: "CancelOperation", - Handler: _ClusterManager_CancelOperation_Handler, - }, - { - MethodName: "GetServerConfig", - Handler: _ClusterManager_GetServerConfig_Handler, - }, - { - MethodName: "ListNodePools", - Handler: _ClusterManager_ListNodePools_Handler, - }, - { - MethodName: "GetNodePool", - Handler: _ClusterManager_GetNodePool_Handler, - }, - { - MethodName: "CreateNodePool", - Handler: _ClusterManager_CreateNodePool_Handler, - }, - { - MethodName: "DeleteNodePool", - Handler: _ClusterManager_DeleteNodePool_Handler, - }, - { - MethodName: "RollbackNodePoolUpgrade", - Handler: _ClusterManager_RollbackNodePoolUpgrade_Handler, - }, - { - MethodName: "SetNodePoolManagement", - Handler: _ClusterManager_SetNodePoolManagement_Handler, - }, - { - MethodName: "SetLabels", - Handler: _ClusterManager_SetLabels_Handler, - }, - { - MethodName: "SetLegacyAbac", - Handler: _ClusterManager_SetLegacyAbac_Handler, - }, - { - MethodName: "StartIPRotation", - Handler: _ClusterManager_StartIPRotation_Handler, - }, - { - MethodName: "CompleteIPRotation", - Handler: _ClusterManager_CompleteIPRotation_Handler, - }, - { - MethodName: "SetNodePoolSize", - Handler: _ClusterManager_SetNodePoolSize_Handler, - }, - { - MethodName: "SetNetworkPolicy", - Handler: _ClusterManager_SetNetworkPolicy_Handler, - }, - { - MethodName: "SetMaintenancePolicy", - Handler: _ClusterManager_SetMaintenancePolicy_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/container/v1alpha1/cluster_service.proto", -} 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 deleted file mode 100644 index 868c9c9a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/container/v1beta1/cluster_service.pb.go +++ /dev/null @@ -1,9226 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/container/v1beta1/cluster_service.proto - -package container - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - _ "google.golang.org/genproto/googleapis/iam/v1" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible values for Effect in taint. -type NodeTaint_Effect int32 - -const ( - // Not set - NodeTaint_EFFECT_UNSPECIFIED NodeTaint_Effect = 0 - // NoSchedule - NodeTaint_NO_SCHEDULE NodeTaint_Effect = 1 - // PreferNoSchedule - NodeTaint_PREFER_NO_SCHEDULE NodeTaint_Effect = 2 - // NoExecute - NodeTaint_NO_EXECUTE NodeTaint_Effect = 3 -) - -var NodeTaint_Effect_name = map[int32]string{ - 0: "EFFECT_UNSPECIFIED", - 1: "NO_SCHEDULE", - 2: "PREFER_NO_SCHEDULE", - 3: "NO_EXECUTE", -} - -var NodeTaint_Effect_value = map[string]int32{ - "EFFECT_UNSPECIFIED": 0, - "NO_SCHEDULE": 1, - "PREFER_NO_SCHEDULE": 2, - "NO_EXECUTE": 3, -} - -func (x NodeTaint_Effect) String() string { - return proto.EnumName(NodeTaint_Effect_name, int32(x)) -} - -func (NodeTaint_Effect) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []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_e39a67f424410134, []int{10, 0} -} - -// Allowed Network Policy providers. -type NetworkPolicy_Provider int32 - -const ( - // Not set - NetworkPolicy_PROVIDER_UNSPECIFIED NetworkPolicy_Provider = 0 - // Tigera (Calico Felix). - NetworkPolicy_CALICO NetworkPolicy_Provider = 1 -) - -var NetworkPolicy_Provider_name = map[int32]string{ - 0: "PROVIDER_UNSPECIFIED", - 1: "CALICO", -} - -var NetworkPolicy_Provider_value = map[string]int32{ - "PROVIDER_UNSPECIFIED": 0, - "CALICO": 1, -} - -func (x NetworkPolicy_Provider) String() string { - return proto.EnumName(NetworkPolicy_Provider_name, int32(x)) -} - -func (NetworkPolicy_Provider) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{14, 0} -} - -// The current status of the cluster. -type Cluster_Status int32 - -const ( - // Not set. - Cluster_STATUS_UNSPECIFIED Cluster_Status = 0 - // The PROVISIONING state indicates the cluster is being created. - Cluster_PROVISIONING Cluster_Status = 1 - // The RUNNING state indicates the cluster has been created and is fully - // usable. - Cluster_RUNNING Cluster_Status = 2 - // The RECONCILING state indicates that some work is actively being done on - // the cluster, such as upgrading the master or node software. Details can - // be found in the `statusMessage` field. - Cluster_RECONCILING Cluster_Status = 3 - // The STOPPING state indicates the cluster is being deleted. - Cluster_STOPPING Cluster_Status = 4 - // 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{ - 0: "STATUS_UNSPECIFIED", - 1: "PROVISIONING", - 2: "RUNNING", - 3: "RECONCILING", - 4: "STOPPING", - 5: "ERROR", - 6: "DEGRADED", -} - -var Cluster_Status_value = map[string]int32{ - "STATUS_UNSPECIFIED": 0, - "PROVISIONING": 1, - "RUNNING": 2, - "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_e39a67f424410134, []int{18, 0} -} - -// Current status of the operation. -type Operation_Status int32 - -const ( - // Not set. - Operation_STATUS_UNSPECIFIED Operation_Status = 0 - // The operation has been created. - Operation_PENDING Operation_Status = 1 - // The operation is currently running. - Operation_RUNNING Operation_Status = 2 - // The operation is done, either cancelled or completed. - Operation_DONE Operation_Status = 3 - // The operation is aborting. - Operation_ABORTING Operation_Status = 4 -) - -var Operation_Status_name = map[int32]string{ - 0: "STATUS_UNSPECIFIED", - 1: "PENDING", - 2: "RUNNING", - 3: "DONE", - 4: "ABORTING", -} - -var Operation_Status_value = map[string]int32{ - "STATUS_UNSPECIFIED": 0, - "PENDING": 1, - "RUNNING": 2, - "DONE": 3, - "ABORTING": 4, -} - -func (x Operation_Status) String() string { - return proto.EnumName(Operation_Status_name, int32(x)) -} - -func (Operation_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{20, 0} -} - -// Operation type. -type Operation_Type int32 - -const ( - // Not set. - Operation_TYPE_UNSPECIFIED Operation_Type = 0 - // Cluster create. - Operation_CREATE_CLUSTER Operation_Type = 1 - // Cluster delete. - Operation_DELETE_CLUSTER Operation_Type = 2 - // A master upgrade. - Operation_UPGRADE_MASTER Operation_Type = 3 - // A node upgrade. - Operation_UPGRADE_NODES Operation_Type = 4 - // Cluster repair. - Operation_REPAIR_CLUSTER Operation_Type = 5 - // Cluster update. - Operation_UPDATE_CLUSTER Operation_Type = 6 - // Node pool create. - Operation_CREATE_NODE_POOL Operation_Type = 7 - // Node pool delete. - Operation_DELETE_NODE_POOL Operation_Type = 8 - // Set node pool management. - Operation_SET_NODE_POOL_MANAGEMENT Operation_Type = 9 - // Automatic node pool repair. - Operation_AUTO_REPAIR_NODES Operation_Type = 10 - // Automatic node upgrade. - Operation_AUTO_UPGRADE_NODES Operation_Type = 11 - // Set labels. - Operation_SET_LABELS Operation_Type = 12 - // Set/generate master auth materials - Operation_SET_MASTER_AUTH Operation_Type = 13 - // Set node pool size. - Operation_SET_NODE_POOL_SIZE Operation_Type = 14 - // Updates network policy for a cluster. - Operation_SET_NETWORK_POLICY Operation_Type = 15 - // Set the maintenance policy. - Operation_SET_MAINTENANCE_POLICY Operation_Type = 16 -) - -var Operation_Type_name = map[int32]string{ - 0: "TYPE_UNSPECIFIED", - 1: "CREATE_CLUSTER", - 2: "DELETE_CLUSTER", - 3: "UPGRADE_MASTER", - 4: "UPGRADE_NODES", - 5: "REPAIR_CLUSTER", - 6: "UPDATE_CLUSTER", - 7: "CREATE_NODE_POOL", - 8: "DELETE_NODE_POOL", - 9: "SET_NODE_POOL_MANAGEMENT", - 10: "AUTO_REPAIR_NODES", - 11: "AUTO_UPGRADE_NODES", - 12: "SET_LABELS", - 13: "SET_MASTER_AUTH", - 14: "SET_NODE_POOL_SIZE", - 15: "SET_NETWORK_POLICY", - 16: "SET_MAINTENANCE_POLICY", -} - -var Operation_Type_value = map[string]int32{ - "TYPE_UNSPECIFIED": 0, - "CREATE_CLUSTER": 1, - "DELETE_CLUSTER": 2, - "UPGRADE_MASTER": 3, - "UPGRADE_NODES": 4, - "REPAIR_CLUSTER": 5, - "UPDATE_CLUSTER": 6, - "CREATE_NODE_POOL": 7, - "DELETE_NODE_POOL": 8, - "SET_NODE_POOL_MANAGEMENT": 9, - "AUTO_REPAIR_NODES": 10, - "AUTO_UPGRADE_NODES": 11, - "SET_LABELS": 12, - "SET_MASTER_AUTH": 13, - "SET_NODE_POOL_SIZE": 14, - "SET_NETWORK_POLICY": 15, - "SET_MAINTENANCE_POLICY": 16, -} - -func (x Operation_Type) String() string { - return proto.EnumName(Operation_Type_name, int32(x)) -} - -func (Operation_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{20, 1} -} - -// Operation type: what type update to perform. -type SetMasterAuthRequest_Action int32 - -const ( - // Operation is unknown and will error out. - SetMasterAuthRequest_UNKNOWN SetMasterAuthRequest_Action = 0 - // Set the password to a user generated value. - SetMasterAuthRequest_SET_PASSWORD SetMasterAuthRequest_Action = 1 - // Generate a new password and set it to that. - SetMasterAuthRequest_GENERATE_PASSWORD SetMasterAuthRequest_Action = 2 - // Set the username. If an empty username is provided, basic authentication - // is disabled for the cluster. If a non-empty username is provided, basic - // authentication is enabled, with either a provided password or a generated - // one. - SetMasterAuthRequest_SET_USERNAME SetMasterAuthRequest_Action = 3 -) - -var SetMasterAuthRequest_Action_name = map[int32]string{ - 0: "UNKNOWN", - 1: "SET_PASSWORD", - 2: "GENERATE_PASSWORD", - 3: "SET_USERNAME", -} - -var SetMasterAuthRequest_Action_value = map[string]int32{ - "UNKNOWN": 0, - "SET_PASSWORD": 1, - "GENERATE_PASSWORD": 2, - "SET_USERNAME": 3, -} - -func (x SetMasterAuthRequest_Action) String() string { - return proto.EnumName(SetMasterAuthRequest_Action_name, int32(x)) -} - -func (SetMasterAuthRequest_Action) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{32, 0} -} - -// The current status of the node pool instance. -type NodePool_Status int32 - -const ( - // Not set. - NodePool_STATUS_UNSPECIFIED NodePool_Status = 0 - // The PROVISIONING state indicates the node pool is being created. - NodePool_PROVISIONING NodePool_Status = 1 - // The RUNNING state indicates the node pool has been created - // and is fully usable. - NodePool_RUNNING NodePool_Status = 2 - // The RUNNING_WITH_ERROR state indicates the node pool has been created - // and is partially usable. Some error state has occurred and some - // functionality may be impaired. Customer may need to reissue a request - // or trigger a new update. - NodePool_RUNNING_WITH_ERROR NodePool_Status = 3 - // The RECONCILING state indicates that some work is actively being done on - // the node pool, such as upgrading node software. Details can - // be found in the `statusMessage` field. - NodePool_RECONCILING NodePool_Status = 4 - // The STOPPING state indicates the node pool is being deleted. - NodePool_STOPPING NodePool_Status = 5 - // The ERROR state indicates the node pool may be unusable. Details - // can be found in the `statusMessage` field. - NodePool_ERROR NodePool_Status = 6 -) - -var NodePool_Status_name = map[int32]string{ - 0: "STATUS_UNSPECIFIED", - 1: "PROVISIONING", - 2: "RUNNING", - 3: "RUNNING_WITH_ERROR", - 4: "RECONCILING", - 5: "STOPPING", - 6: "ERROR", -} - -var NodePool_Status_value = map[string]int32{ - "STATUS_UNSPECIFIED": 0, - "PROVISIONING": 1, - "RUNNING": 2, - "RUNNING_WITH_ERROR": 3, - "RECONCILING": 4, - "STOPPING": 5, - "ERROR": 6, -} - -func (x NodePool_Status) String() string { - return proto.EnumName(NodePool_Status_name, int32(x)) -} - -func (NodePool_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []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_e39a67f424410134, []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_e39a67f424410134, []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_e39a67f424410134, []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_e39a67f424410134, []int{74, 0} -} - -// Parameters that describe the nodes in a cluster. -type NodeConfig struct { - // The name of a Google Compute Engine [machine - // type](/compute/docs/machine-types) (e.g. - // `n1-standard-1`). - // - // If unspecified, the default machine type is - // `n1-standard-1`. - MachineType string `protobuf:"bytes,1,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"` - // Size of the disk attached to each node, specified in GB. - // The smallest allowed disk size is 10GB. - // - // If unspecified, the default disk size is 100GB. - DiskSizeGb int32 `protobuf:"varint,2,opt,name=disk_size_gb,json=diskSizeGb,proto3" json:"disk_size_gb,omitempty"` - // The set of Google API scopes to be made available on all of the - // node VMs under the "default" service account. - // - // The following scopes are recommended, but not required, and by default are - // not included: - // - // * `https://www.googleapis.com/auth/compute` is required for mounting - // persistent storage on your nodes. - // * `https://www.googleapis.com/auth/devstorage.read_only` is required for - // communicating with **gcr.io** - // (the [Google Container Registry](/container-registry/)). - // - // If unspecified, no scopes are added, unless Cloud Logging or Cloud - // Monitoring are enabled, in which case their required scopes will be added. - OauthScopes []string `protobuf:"bytes,3,rep,name=oauth_scopes,json=oauthScopes,proto3" json:"oauth_scopes,omitempty"` - // The Google Cloud Platform Service Account to be used by the node VMs. If - // no Service Account is specified, the "default" service account is used. - ServiceAccount string `protobuf:"bytes,9,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` - // The metadata key/value pairs assigned to instances in the cluster. - // - // 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 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 - // that each value's size must be less than or equal to 32 KB. - // - // The total size of all keys and values must be less than 512 KB. - Metadata map[string]string `protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // The image type to use for this node. Note that for a given image type, - // the latest version of it will be used. - ImageType string `protobuf:"bytes,5,opt,name=image_type,json=imageType,proto3" json:"image_type,omitempty"` - // The map of Kubernetes labels (key/value pairs) to be applied to each node. - // These will added in addition to any default label(s) that - // Kubernetes may apply to the node. - // In case of conflict in label keys, the applied set may differ depending on - // the Kubernetes version -- it's best to assume the behavior is undefined - // and conflicts should be avoided. - // For more information, including usage and the valid values, see: - // https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ - 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"` - // The number of local SSD disks to be attached to the node. - // - // The limit for this value is dependant upon the maximum number of - // disks available on a machine per zone. See: - // https://cloud.google.com/compute/docs/disks/local-ssd#local_ssd_limits - // for more information. - LocalSsdCount int32 `protobuf:"varint,7,opt,name=local_ssd_count,json=localSsdCount,proto3" json:"local_ssd_count,omitempty"` - // The list of instance tags applied to all nodes. Tags are used to identify - // valid sources or targets for network firewalls and are specified by - // the client during cluster or node pool creation. Each tag within the list - // must comply with RFC1035. - Tags []string `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"` - // Whether the nodes are created as preemptible VM instances. See: - // https://cloud.google.com/compute/docs/instances/preemptible for more - // inforamtion about preemptible VM instances. - Preemptible bool `protobuf:"varint,10,opt,name=preemptible,proto3" json:"preemptible,omitempty"` - // A list of hardware accelerators to be attached to each node. - // 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) - 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: - // https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ - Taints []*NodeTaint `protobuf:"bytes,15,rep,name=taints,proto3" json:"taints,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e39a67f424410134, []int{0} -} - -func (m *NodeConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodeConfig.Unmarshal(m, b) -} -func (m *NodeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodeConfig.Marshal(b, m, deterministic) -} -func (m *NodeConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeConfig.Merge(m, src) -} -func (m *NodeConfig) XXX_Size() int { - return xxx_messageInfo_NodeConfig.Size(m) -} -func (m *NodeConfig) XXX_DiscardUnknown() { - xxx_messageInfo_NodeConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_NodeConfig proto.InternalMessageInfo - -func (m *NodeConfig) GetMachineType() string { - if m != nil { - return m.MachineType - } - return "" -} - -func (m *NodeConfig) GetDiskSizeGb() int32 { - if m != nil { - return m.DiskSizeGb - } - return 0 -} - -func (m *NodeConfig) GetOauthScopes() []string { - if m != nil { - return m.OauthScopes - } - return nil -} - -func (m *NodeConfig) GetServiceAccount() string { - if m != nil { - return m.ServiceAccount - } - return "" -} - -func (m *NodeConfig) GetMetadata() map[string]string { - if m != nil { - return m.Metadata - } - return nil -} - -func (m *NodeConfig) GetImageType() string { - if m != nil { - return m.ImageType - } - return "" -} - -func (m *NodeConfig) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -func (m *NodeConfig) GetLocalSsdCount() int32 { - if m != nil { - return m.LocalSsdCount - } - return 0 -} - -func (m *NodeConfig) GetTags() []string { - if m != nil { - return m.Tags - } - return nil -} - -func (m *NodeConfig) GetPreemptible() bool { - if m != nil { - return m.Preemptible - } - return false -} - -func (m *NodeConfig) GetAccelerators() []*AcceleratorConfig { - if m != nil { - return m.Accelerators - } - 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 - } - 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 - } - return nil -} - -// Kubernetes taint is comprised of three fields: key, value, and effect. Effect -// can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. -// -// For more information, including usage and the valid values, see: -// https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ -type NodeTaint struct { - // Key for taint. - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - // Value for taint. - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - // Effect for taint. - Effect NodeTaint_Effect `protobuf:"varint,3,opt,name=effect,proto3,enum=google.container.v1beta1.NodeTaint_Effect" json:"effect,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e39a67f424410134, []int{1} -} - -func (m *NodeTaint) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodeTaint.Unmarshal(m, b) -} -func (m *NodeTaint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodeTaint.Marshal(b, m, deterministic) -} -func (m *NodeTaint) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeTaint.Merge(m, src) -} -func (m *NodeTaint) XXX_Size() int { - return xxx_messageInfo_NodeTaint.Size(m) -} -func (m *NodeTaint) XXX_DiscardUnknown() { - xxx_messageInfo_NodeTaint.DiscardUnknown(m) -} - -var xxx_messageInfo_NodeTaint proto.InternalMessageInfo - -func (m *NodeTaint) GetKey() string { - if m != nil { - return m.Key - } - return "" -} - -func (m *NodeTaint) GetValue() string { - if m != nil { - return m.Value - } - return "" -} - -func (m *NodeTaint) GetEffect() NodeTaint_Effect { - if m != nil { - return m.Effect - } - return NodeTaint_EFFECT_UNSPECIFIED -} - -// The authentication information for accessing the master endpoint. -// Authentication can be done using HTTP basic auth or using client -// certificates. -type MasterAuth struct { - // The username to use for HTTP basic authentication to the master endpoint. - // 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. 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. - ClusterCaCertificate string `protobuf:"bytes,100,opt,name=cluster_ca_certificate,json=clusterCaCertificate,proto3" json:"cluster_ca_certificate,omitempty"` - // [Output only] Base64-encoded public certificate used by clients to - // authenticate to the cluster endpoint. - ClientCertificate string `protobuf:"bytes,101,opt,name=client_certificate,json=clientCertificate,proto3" json:"client_certificate,omitempty"` - // [Output only] Base64-encoded private key used by clients to authenticate - // to the cluster endpoint. - ClientKey string `protobuf:"bytes,102,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e39a67f424410134, []int{2} -} - -func (m *MasterAuth) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MasterAuth.Unmarshal(m, b) -} -func (m *MasterAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MasterAuth.Marshal(b, m, deterministic) -} -func (m *MasterAuth) XXX_Merge(src proto.Message) { - xxx_messageInfo_MasterAuth.Merge(m, src) -} -func (m *MasterAuth) XXX_Size() int { - return xxx_messageInfo_MasterAuth.Size(m) -} -func (m *MasterAuth) XXX_DiscardUnknown() { - xxx_messageInfo_MasterAuth.DiscardUnknown(m) -} - -var xxx_messageInfo_MasterAuth proto.InternalMessageInfo - -func (m *MasterAuth) GetUsername() string { - if m != nil { - return m.Username - } - return "" -} - -func (m *MasterAuth) GetPassword() string { - if m != nil { - return m.Password - } - return "" -} - -func (m *MasterAuth) GetClientCertificateConfig() *ClientCertificateConfig { - if m != nil { - return m.ClientCertificateConfig - } - return nil -} - -func (m *MasterAuth) GetClusterCaCertificate() string { - if m != nil { - return m.ClusterCaCertificate - } - return "" -} - -func (m *MasterAuth) GetClientCertificate() string { - if m != nil { - return m.ClientCertificate - } - return "" -} - -func (m *MasterAuth) GetClientKey() string { - if m != nil { - return m.ClientKey - } - return "" -} - -// Configuration for client certificates on the cluster. -type ClientCertificateConfig struct { - // Issue a client certificate. - IssueClientCertificate bool `protobuf:"varint,1,opt,name=issue_client_certificate,json=issueClientCertificate,proto3" json:"issue_client_certificate,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e39a67f424410134, []int{3} -} - -func (m *ClientCertificateConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClientCertificateConfig.Unmarshal(m, b) -} -func (m *ClientCertificateConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClientCertificateConfig.Marshal(b, m, deterministic) -} -func (m *ClientCertificateConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClientCertificateConfig.Merge(m, src) -} -func (m *ClientCertificateConfig) XXX_Size() int { - return xxx_messageInfo_ClientCertificateConfig.Size(m) -} -func (m *ClientCertificateConfig) XXX_DiscardUnknown() { - xxx_messageInfo_ClientCertificateConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_ClientCertificateConfig proto.InternalMessageInfo - -func (m *ClientCertificateConfig) GetIssueClientCertificate() bool { - if m != nil { - return m.IssueClientCertificate - } - return false -} - -// Configuration for the addons that can be automatically spun up in the -// cluster, enabling additional functionality. -type AddonsConfig struct { - // Configuration for the HTTP (L7) load balancing controller addon, which - // makes it easy to set up HTTP load balancers for services in a cluster. - HttpLoadBalancing *HttpLoadBalancing `protobuf:"bytes,1,opt,name=http_load_balancing,json=httpLoadBalancing,proto3" json:"http_load_balancing,omitempty"` - // Configuration for the horizontal pod autoscaling feature, which - // increases or decreases the number of replica pods a replication controller - // has based on the resource usage of the existing pods. - HorizontalPodAutoscaling *HorizontalPodAutoscaling `protobuf:"bytes,2,opt,name=horizontal_pod_autoscaling,json=horizontalPodAutoscaling,proto3" json:"horizontal_pod_autoscaling,omitempty"` - // Configuration for the Kubernetes Dashboard. - KubernetesDashboard *KubernetesDashboard `protobuf:"bytes,3,opt,name=kubernetes_dashboard,json=kubernetesDashboard,proto3" json:"kubernetes_dashboard,omitempty"` - // 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"` - // 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_e39a67f424410134, []int{4} -} - -func (m *AddonsConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddonsConfig.Unmarshal(m, b) -} -func (m *AddonsConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddonsConfig.Marshal(b, m, deterministic) -} -func (m *AddonsConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddonsConfig.Merge(m, src) -} -func (m *AddonsConfig) XXX_Size() int { - return xxx_messageInfo_AddonsConfig.Size(m) -} -func (m *AddonsConfig) XXX_DiscardUnknown() { - xxx_messageInfo_AddonsConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_AddonsConfig proto.InternalMessageInfo - -func (m *AddonsConfig) GetHttpLoadBalancing() *HttpLoadBalancing { - if m != nil { - return m.HttpLoadBalancing - } - return nil -} - -func (m *AddonsConfig) GetHorizontalPodAutoscaling() *HorizontalPodAutoscaling { - if m != nil { - return m.HorizontalPodAutoscaling - } - return nil -} - -func (m *AddonsConfig) GetKubernetesDashboard() *KubernetesDashboard { - if m != nil { - return m.KubernetesDashboard - } - return nil -} - -func (m *AddonsConfig) GetNetworkPolicyConfig() *NetworkPolicyConfig { - if m != nil { - return m.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 { - // Whether the HTTP Load Balancing controller is enabled in the cluster. - // When enabled, it runs a small pod in the cluster that manages the load - // balancers. - 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 *HttpLoadBalancing) Reset() { *m = HttpLoadBalancing{} } -func (m *HttpLoadBalancing) String() string { return proto.CompactTextString(m) } -func (*HttpLoadBalancing) ProtoMessage() {} -func (*HttpLoadBalancing) Descriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{5} -} - -func (m *HttpLoadBalancing) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HttpLoadBalancing.Unmarshal(m, b) -} -func (m *HttpLoadBalancing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HttpLoadBalancing.Marshal(b, m, deterministic) -} -func (m *HttpLoadBalancing) XXX_Merge(src proto.Message) { - xxx_messageInfo_HttpLoadBalancing.Merge(m, src) -} -func (m *HttpLoadBalancing) XXX_Size() int { - return xxx_messageInfo_HttpLoadBalancing.Size(m) -} -func (m *HttpLoadBalancing) XXX_DiscardUnknown() { - xxx_messageInfo_HttpLoadBalancing.DiscardUnknown(m) -} - -var xxx_messageInfo_HttpLoadBalancing proto.InternalMessageInfo - -func (m *HttpLoadBalancing) GetDisabled() bool { - if m != nil { - return m.Disabled - } - return false -} - -// Configuration options for the horizontal pod autoscaling feature, which -// increases or decreases the number of replica pods a replication controller -// has based on the resource usage of the existing pods. -type HorizontalPodAutoscaling struct { - // Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. - // When enabled, it ensures that a Heapster pod is running in the cluster, - // which is also used by the Cloud Monitoring service. - 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 *HorizontalPodAutoscaling) Reset() { *m = HorizontalPodAutoscaling{} } -func (m *HorizontalPodAutoscaling) String() string { return proto.CompactTextString(m) } -func (*HorizontalPodAutoscaling) ProtoMessage() {} -func (*HorizontalPodAutoscaling) Descriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{6} -} - -func (m *HorizontalPodAutoscaling) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HorizontalPodAutoscaling.Unmarshal(m, b) -} -func (m *HorizontalPodAutoscaling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HorizontalPodAutoscaling.Marshal(b, m, deterministic) -} -func (m *HorizontalPodAutoscaling) XXX_Merge(src proto.Message) { - xxx_messageInfo_HorizontalPodAutoscaling.Merge(m, src) -} -func (m *HorizontalPodAutoscaling) XXX_Size() int { - return xxx_messageInfo_HorizontalPodAutoscaling.Size(m) -} -func (m *HorizontalPodAutoscaling) XXX_DiscardUnknown() { - xxx_messageInfo_HorizontalPodAutoscaling.DiscardUnknown(m) -} - -var xxx_messageInfo_HorizontalPodAutoscaling proto.InternalMessageInfo - -func (m *HorizontalPodAutoscaling) GetDisabled() bool { - if m != nil { - return m.Disabled - } - return false -} - -// Configuration for the Kubernetes Dashboard. -type KubernetesDashboard struct { - // Whether the Kubernetes Dashboard 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 *KubernetesDashboard) Reset() { *m = KubernetesDashboard{} } -func (m *KubernetesDashboard) String() string { return proto.CompactTextString(m) } -func (*KubernetesDashboard) ProtoMessage() {} -func (*KubernetesDashboard) Descriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{7} -} - -func (m *KubernetesDashboard) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_KubernetesDashboard.Unmarshal(m, b) -} -func (m *KubernetesDashboard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_KubernetesDashboard.Marshal(b, m, deterministic) -} -func (m *KubernetesDashboard) XXX_Merge(src proto.Message) { - xxx_messageInfo_KubernetesDashboard.Merge(m, src) -} -func (m *KubernetesDashboard) XXX_Size() int { - return xxx_messageInfo_KubernetesDashboard.Size(m) -} -func (m *KubernetesDashboard) XXX_DiscardUnknown() { - xxx_messageInfo_KubernetesDashboard.DiscardUnknown(m) -} - -var xxx_messageInfo_KubernetesDashboard proto.InternalMessageInfo - -func (m *KubernetesDashboard) GetDisabled() bool { - if m != nil { - return m.Disabled - } - return false -} - -// 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. -type NetworkPolicyConfig struct { - // Whether NetworkPolicy 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 *NetworkPolicyConfig) Reset() { *m = NetworkPolicyConfig{} } -func (m *NetworkPolicyConfig) String() string { return proto.CompactTextString(m) } -func (*NetworkPolicyConfig) ProtoMessage() {} -func (*NetworkPolicyConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{8} -} - -func (m *NetworkPolicyConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NetworkPolicyConfig.Unmarshal(m, b) -} -func (m *NetworkPolicyConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NetworkPolicyConfig.Marshal(b, m, deterministic) -} -func (m *NetworkPolicyConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkPolicyConfig.Merge(m, src) -} -func (m *NetworkPolicyConfig) XXX_Size() int { - return xxx_messageInfo_NetworkPolicyConfig.Size(m) -} -func (m *NetworkPolicyConfig) XXX_DiscardUnknown() { - xxx_messageInfo_NetworkPolicyConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_NetworkPolicyConfig proto.InternalMessageInfo - -func (m *NetworkPolicyConfig) GetDisabled() bool { - if m != nil { - return m.Disabled - } - 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_e39a67f424410134, []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 (m *PrivateClusterConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_PrivateClusterConfig.Merge(m, 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_e39a67f424410134, []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 (m *IstioConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_IstioConfig.Merge(m, 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_e39a67f424410134, []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 (m *CloudRunConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_CloudRunConfig.Merge(m, 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, -// Google Compute Engine Public IPs and Google Prod IPs. -type MasterAuthorizedNetworksConfig struct { - // Whether or not master authorized networks is enabled. - Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` - // cidr_blocks define up to 10 external networks that could access - // Kubernetes master through HTTPS. - CidrBlocks []*MasterAuthorizedNetworksConfig_CidrBlock `protobuf:"bytes,2,rep,name=cidr_blocks,json=cidrBlocks,proto3" json:"cidr_blocks,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MasterAuthorizedNetworksConfig) Reset() { *m = MasterAuthorizedNetworksConfig{} } -func (m *MasterAuthorizedNetworksConfig) String() string { return proto.CompactTextString(m) } -func (*MasterAuthorizedNetworksConfig) ProtoMessage() {} -func (*MasterAuthorizedNetworksConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{12} -} - -func (m *MasterAuthorizedNetworksConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MasterAuthorizedNetworksConfig.Unmarshal(m, b) -} -func (m *MasterAuthorizedNetworksConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MasterAuthorizedNetworksConfig.Marshal(b, m, deterministic) -} -func (m *MasterAuthorizedNetworksConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_MasterAuthorizedNetworksConfig.Merge(m, src) -} -func (m *MasterAuthorizedNetworksConfig) XXX_Size() int { - return xxx_messageInfo_MasterAuthorizedNetworksConfig.Size(m) -} -func (m *MasterAuthorizedNetworksConfig) XXX_DiscardUnknown() { - xxx_messageInfo_MasterAuthorizedNetworksConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_MasterAuthorizedNetworksConfig proto.InternalMessageInfo - -func (m *MasterAuthorizedNetworksConfig) GetEnabled() bool { - if m != nil { - return m.Enabled - } - return false -} - -func (m *MasterAuthorizedNetworksConfig) GetCidrBlocks() []*MasterAuthorizedNetworksConfig_CidrBlock { - if m != nil { - return m.CidrBlocks - } - return nil -} - -// CidrBlock contains an optional name and one CIDR block. -type MasterAuthorizedNetworksConfig_CidrBlock struct { - // display_name is an optional field for users to identify CIDR blocks. - DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // cidr_block must be specified in CIDR notation. - CidrBlock string `protobuf:"bytes,2,opt,name=cidr_block,json=cidrBlock,proto3" json:"cidr_block,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MasterAuthorizedNetworksConfig_CidrBlock) Reset() { - *m = MasterAuthorizedNetworksConfig_CidrBlock{} -} -func (m *MasterAuthorizedNetworksConfig_CidrBlock) String() string { return proto.CompactTextString(m) } -func (*MasterAuthorizedNetworksConfig_CidrBlock) ProtoMessage() {} -func (*MasterAuthorizedNetworksConfig_CidrBlock) Descriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{12, 0} -} - -func (m *MasterAuthorizedNetworksConfig_CidrBlock) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MasterAuthorizedNetworksConfig_CidrBlock.Unmarshal(m, b) -} -func (m *MasterAuthorizedNetworksConfig_CidrBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MasterAuthorizedNetworksConfig_CidrBlock.Marshal(b, m, deterministic) -} -func (m *MasterAuthorizedNetworksConfig_CidrBlock) XXX_Merge(src proto.Message) { - xxx_messageInfo_MasterAuthorizedNetworksConfig_CidrBlock.Merge(m, src) -} -func (m *MasterAuthorizedNetworksConfig_CidrBlock) XXX_Size() int { - return xxx_messageInfo_MasterAuthorizedNetworksConfig_CidrBlock.Size(m) -} -func (m *MasterAuthorizedNetworksConfig_CidrBlock) XXX_DiscardUnknown() { - xxx_messageInfo_MasterAuthorizedNetworksConfig_CidrBlock.DiscardUnknown(m) -} - -var xxx_messageInfo_MasterAuthorizedNetworksConfig_CidrBlock proto.InternalMessageInfo - -func (m *MasterAuthorizedNetworksConfig_CidrBlock) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *MasterAuthorizedNetworksConfig_CidrBlock) GetCidrBlock() string { - if m != nil { - return m.CidrBlock - } - 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_e39a67f424410134, []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 (m *LegacyAbac) XXX_Merge(src proto.Message) { - xxx_messageInfo_LegacyAbac.Merge(m, 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 { - // The selected network policy provider. - Provider NetworkPolicy_Provider `protobuf:"varint,1,opt,name=provider,proto3,enum=google.container.v1beta1.NetworkPolicy_Provider" json:"provider,omitempty"` - // Whether network policy is enabled on the cluster. - Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e39a67f424410134, []int{14} -} - -func (m *NetworkPolicy) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NetworkPolicy.Unmarshal(m, b) -} -func (m *NetworkPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NetworkPolicy.Marshal(b, m, deterministic) -} -func (m *NetworkPolicy) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkPolicy.Merge(m, src) -} -func (m *NetworkPolicy) XXX_Size() int { - return xxx_messageInfo_NetworkPolicy.Size(m) -} -func (m *NetworkPolicy) XXX_DiscardUnknown() { - xxx_messageInfo_NetworkPolicy.DiscardUnknown(m) -} - -var xxx_messageInfo_NetworkPolicy proto.InternalMessageInfo - -func (m *NetworkPolicy) GetProvider() NetworkPolicy_Provider { - if m != nil { - return m.Provider - } - return NetworkPolicy_PROVIDER_UNSPECIFIED -} - -func (m *NetworkPolicy) GetEnabled() bool { - if m != nil { - return m.Enabled - } - return false -} - -// Configuration for controlling how IPs are allocated in the cluster. -type IPAllocationPolicy struct { - // Whether alias IPs will be used for pod IPs in the cluster. - UseIpAliases bool `protobuf:"varint,1,opt,name=use_ip_aliases,json=useIpAliases,proto3" json:"use_ip_aliases,omitempty"` - // Whether a new subnetwork will be created automatically for the cluster. - // - // This field is only applicable when `use_ip_aliases` is true. - CreateSubnetwork bool `protobuf:"varint,2,opt,name=create_subnetwork,json=createSubnetwork,proto3" json:"create_subnetwork,omitempty"` - // A custom subnetwork name to be used if `create_subnetwork` is true. If - // this field is empty, then an automatic name will be chosen for the new - // 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"` // 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"` // 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"` // 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 - // with the cluster subnetwork. - // - // This field is only applicable with use_ip_aliases and - // create_subnetwork is false. - ClusterSecondaryRangeName string `protobuf:"bytes,7,opt,name=cluster_secondary_range_name,json=clusterSecondaryRangeName,proto3" json:"cluster_secondary_range_name,omitempty"` - // The name of the secondary range to be used as for the services - // CIDR block. The secondary range will be used for service - // ClusterIPs. This must be an existing secondary range associated - // with the cluster subnetwork. - // - // This field is only applicable with use_ip_aliases and - // create_subnetwork is false. - ServicesSecondaryRangeName string `protobuf:"bytes,8,opt,name=services_secondary_range_name,json=servicesSecondaryRangeName,proto3" json:"services_secondary_range_name,omitempty"` - // The IP address range for the cluster pod IPs. If this field is set, then - // `cluster.cluster_ipv4_cidr` must be left blank. - // - // This field is only applicable when `use_ip_aliases` is true. - // - // Set to blank to have a range chosen with 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. - ClusterIpv4CidrBlock string `protobuf:"bytes,9,opt,name=cluster_ipv4_cidr_block,json=clusterIpv4CidrBlock,proto3" json:"cluster_ipv4_cidr_block,omitempty"` - // The IP address range of the instance IPs in this cluster. - // - // This is applicable only if `create_subnetwork` is true. - // - // Set to blank to have a range chosen with 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. - NodeIpv4CidrBlock string `protobuf:"bytes,10,opt,name=node_ipv4_cidr_block,json=nodeIpv4CidrBlock,proto3" json:"node_ipv4_cidr_block,omitempty"` - // The IP address range of the services IPs in this cluster. If blank, a range - // will be automatically chosen with the default size. - // - // This field is only applicable when `use_ip_aliases` is true. - // - // Set to blank to have a range chosen with 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. - 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_e39a67f424410134, []int{15} -} - -func (m *IPAllocationPolicy) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IPAllocationPolicy.Unmarshal(m, b) -} -func (m *IPAllocationPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IPAllocationPolicy.Marshal(b, m, deterministic) -} -func (m *IPAllocationPolicy) XXX_Merge(src proto.Message) { - xxx_messageInfo_IPAllocationPolicy.Merge(m, src) -} -func (m *IPAllocationPolicy) XXX_Size() int { - return xxx_messageInfo_IPAllocationPolicy.Size(m) -} -func (m *IPAllocationPolicy) XXX_DiscardUnknown() { - xxx_messageInfo_IPAllocationPolicy.DiscardUnknown(m) -} - -var xxx_messageInfo_IPAllocationPolicy proto.InternalMessageInfo - -func (m *IPAllocationPolicy) GetUseIpAliases() bool { - if m != nil { - return m.UseIpAliases - } - return false -} - -func (m *IPAllocationPolicy) GetCreateSubnetwork() bool { - if m != nil { - return m.CreateSubnetwork - } - return false -} - -func (m *IPAllocationPolicy) GetSubnetworkName() string { - if m != nil { - return m.SubnetworkName - } - return "" -} - -// Deprecated: Do not use. -func (m *IPAllocationPolicy) GetClusterIpv4Cidr() string { - if m != nil { - return m.ClusterIpv4Cidr - } - return "" -} - -// Deprecated: Do not use. -func (m *IPAllocationPolicy) GetNodeIpv4Cidr() string { - if m != nil { - return m.NodeIpv4Cidr - } - return "" -} - -// Deprecated: Do not use. -func (m *IPAllocationPolicy) GetServicesIpv4Cidr() string { - if m != nil { - return m.ServicesIpv4Cidr - } - return "" -} - -func (m *IPAllocationPolicy) GetClusterSecondaryRangeName() string { - if m != nil { - return m.ClusterSecondaryRangeName - } - return "" -} - -func (m *IPAllocationPolicy) GetServicesSecondaryRangeName() string { - if m != nil { - return m.ServicesSecondaryRangeName - } - return "" -} - -func (m *IPAllocationPolicy) GetClusterIpv4CidrBlock() string { - if m != nil { - return m.ClusterIpv4CidrBlock - } - return "" -} - -func (m *IPAllocationPolicy) GetNodeIpv4CidrBlock() string { - if m != nil { - return m.NodeIpv4CidrBlock - } - return "" -} - -func (m *IPAllocationPolicy) GetServicesIpv4CidrBlock() string { - if m != nil { - return m.ServicesIpv4CidrBlock - } - 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_e39a67f424410134, []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 (m *BinaryAuthorization) XXX_Merge(src proto.Message) { - xxx_messageInfo_BinaryAuthorization.Merge(m, 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 - // must be valid under a PodSecurityPolicy to be created. - 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 *PodSecurityPolicyConfig) Reset() { *m = PodSecurityPolicyConfig{} } -func (m *PodSecurityPolicyConfig) String() string { return proto.CompactTextString(m) } -func (*PodSecurityPolicyConfig) ProtoMessage() {} -func (*PodSecurityPolicyConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{17} -} - -func (m *PodSecurityPolicyConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PodSecurityPolicyConfig.Unmarshal(m, b) -} -func (m *PodSecurityPolicyConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PodSecurityPolicyConfig.Marshal(b, m, deterministic) -} -func (m *PodSecurityPolicyConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_PodSecurityPolicyConfig.Merge(m, src) -} -func (m *PodSecurityPolicyConfig) XXX_Size() int { - return xxx_messageInfo_PodSecurityPolicyConfig.Size(m) -} -func (m *PodSecurityPolicyConfig) XXX_DiscardUnknown() { - xxx_messageInfo_PodSecurityPolicyConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_PodSecurityPolicyConfig proto.InternalMessageInfo - -func (m *PodSecurityPolicyConfig) GetEnabled() bool { - if m != nil { - return m.Enabled - } - return false -} - -// 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: - // - // * Lowercase letters, numbers, and hyphens only. - // * Must start with a letter. - // * Must end with a number or a letter. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // An optional description of this cluster. - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - // The number of nodes to create in this cluster. 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. - // For requests, this field should only be used in lieu of a - // "node_pool" object, since this configuration (along with the - // "node_config") will be used to create a "NodePool" object with an - // auto-generated name. Do not use this and a node_pool at the same time. - InitialNodeCount int32 `protobuf:"varint,3,opt,name=initial_node_count,json=initialNodeCount,proto3" json:"initial_node_count,omitempty"` - // Parameters used in creating the cluster's nodes. - // See `nodeConfig` for the description of its properties. - // For requests, this field should only be used in lieu of a - // "node_pool" object, since this configuration (along with the - // "initial_node_count") will be used to create a "NodePool" object with an - // auto-generated name. Do not use this and a node_pool at the same time. - // For responses, this field will be populated with the node configuration of - // the first node pool. - // - // 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: - // - // * `logging.googleapis.com` - the Google Cloud Logging service. - // * `none` - no logs will be exported from the cluster. - // * if left as an empty string,`logging.googleapis.com` will be used. - LoggingService string `protobuf:"bytes,6,opt,name=logging_service,json=loggingService,proto3" json:"logging_service,omitempty"` - // 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. - // * if left as an empty string, `monitoring.googleapis.com` will be used. - MonitoringService string `protobuf:"bytes,7,opt,name=monitoring_service,json=monitoringService,proto3" json:"monitoring_service,omitempty"` - // 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. 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) - // notation (e.g. `10.96.0.0/14`). Leave blank to have - // one automatically chosen or specify a `/14` block in `10.0.0.0/8`. - ClusterIpv4Cidr string `protobuf:"bytes,9,opt,name=cluster_ipv4_cidr,json=clusterIpv4Cidr,proto3" json:"cluster_ipv4_cidr,omitempty"` - // Configurations for the various addons available to run in the cluster. - 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. 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 - // [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 - // API groups (e.g. v1beta1) and features that may not be production ready in - // the kubernetes version of the master and nodes. - // The cluster has no SLA for uptime and master/node upgrades are disabled. - // 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. - IpAllocationPolicy *IPAllocationPolicy `protobuf:"bytes,20,opt,name=ip_allocation_policy,json=ipAllocationPolicy,proto3" json:"ip_allocation_policy,omitempty"` - // 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 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"` // 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/`. - // - // See the `masterAuth` property of this resource for username and - // password information. - Endpoint string `protobuf:"bytes,102,opt,name=endpoint,proto3" json:"endpoint,omitempty"` - // The initial Kubernetes version for this cluster. Valid versions are those - // 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] 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"` // 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"` - // [Output only] The current status of this cluster. - Status Cluster_Status `protobuf:"varint,107,opt,name=status,proto3,enum=google.container.v1beta1.Cluster_Status" json:"status,omitempty"` - // [Output only] Additional information about the current status of this - // cluster, if available. - StatusMessage string `protobuf:"bytes,108,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` - // [Output only] The size of the address space on each node for hosting - // containers. This is provisioned from within the `container_ipv4_cidr` - // range. - NodeIpv4CidrSize int32 `protobuf:"varint,109,opt,name=node_ipv4_cidr_size,json=nodeIpv4CidrSize,proto3" json:"node_ipv4_cidr_size,omitempty"` - // [Output only] The IP address range of the Kubernetes services in - // this cluster, in - // [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) - // 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"` - // 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"` - // [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"` - // 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_e39a67f424410134, []int{18} -} - -func (m *Cluster) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Cluster.Unmarshal(m, b) -} -func (m *Cluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Cluster.Marshal(b, m, deterministic) -} -func (m *Cluster) XXX_Merge(src proto.Message) { - xxx_messageInfo_Cluster.Merge(m, src) -} -func (m *Cluster) XXX_Size() int { - return xxx_messageInfo_Cluster.Size(m) -} -func (m *Cluster) XXX_DiscardUnknown() { - xxx_messageInfo_Cluster.DiscardUnknown(m) -} - -var xxx_messageInfo_Cluster proto.InternalMessageInfo - -func (m *Cluster) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Cluster) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *Cluster) GetInitialNodeCount() int32 { - if m != nil { - return m.InitialNodeCount - } - return 0 -} - -func (m *Cluster) GetNodeConfig() *NodeConfig { - if m != nil { - return m.NodeConfig - } - return nil -} - -func (m *Cluster) GetMasterAuth() *MasterAuth { - if m != nil { - return m.MasterAuth - } - return nil -} - -func (m *Cluster) GetLoggingService() string { - if m != nil { - return m.LoggingService - } - return "" -} - -func (m *Cluster) GetMonitoringService() string { - if m != nil { - return m.MonitoringService - } - return "" -} - -func (m *Cluster) GetNetwork() string { - if m != nil { - return m.Network - } - return "" -} - -func (m *Cluster) GetClusterIpv4Cidr() string { - if m != nil { - return m.ClusterIpv4Cidr - } - return "" -} - -func (m *Cluster) GetAddonsConfig() *AddonsConfig { - if m != nil { - return m.AddonsConfig - } - return nil -} - -func (m *Cluster) GetSubnetwork() string { - if m != nil { - return m.Subnetwork - } - return "" -} - -func (m *Cluster) GetNodePools() []*NodePool { - if m != nil { - return m.NodePools - } - return nil -} - -func (m *Cluster) GetLocations() []string { - if m != nil { - return m.Locations - } - return nil -} - -func (m *Cluster) GetEnableKubernetesAlpha() bool { - if m != nil { - return m.EnableKubernetesAlpha - } - 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 - } - return nil -} - -func (m *Cluster) GetIpAllocationPolicy() *IPAllocationPolicy { - if m != nil { - return m.IpAllocationPolicy - } - return nil -} - -func (m *Cluster) GetMasterAuthorizedNetworksConfig() *MasterAuthorizedNetworksConfig { - if m != nil { - return m.MasterAuthorizedNetworksConfig - } - return nil -} - -func (m *Cluster) GetMaintenancePolicy() *MaintenancePolicy { - if m != nil { - return m.MaintenancePolicy - } - return nil -} - -func (m *Cluster) GetBinaryAuthorization() *BinaryAuthorization { - if m != nil { - return m.BinaryAuthorization - } - return nil -} - -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 - } - return "" -} - -func (m *Cluster) GetEndpoint() string { - if m != nil { - return m.Endpoint - } - return "" -} - -func (m *Cluster) GetInitialClusterVersion() string { - if m != nil { - return m.InitialClusterVersion - } - return "" -} - -func (m *Cluster) GetCurrentMasterVersion() string { - if m != nil { - return m.CurrentMasterVersion - } - return "" -} - -// Deprecated: Do not use. -func (m *Cluster) GetCurrentNodeVersion() string { - if m != nil { - return m.CurrentNodeVersion - } - return "" -} - -func (m *Cluster) GetCreateTime() string { - if m != nil { - return m.CreateTime - } - return "" -} - -func (m *Cluster) GetStatus() Cluster_Status { - if m != nil { - return m.Status - } - return Cluster_STATUS_UNSPECIFIED -} - -func (m *Cluster) GetStatusMessage() string { - if m != nil { - return m.StatusMessage - } - return "" -} - -func (m *Cluster) GetNodeIpv4CidrSize() int32 { - if m != nil { - return m.NodeIpv4CidrSize - } - return 0 -} - -func (m *Cluster) GetServicesIpv4Cidr() string { - if m != nil { - return m.ServicesIpv4Cidr - } - return "" -} - -// Deprecated: Do not use. -func (m *Cluster) GetInstanceGroupUrls() []string { - if m != nil { - return m.InstanceGroupUrls - } - return nil -} - -// Deprecated: Do not use. -func (m *Cluster) GetCurrentNodeCount() int32 { - if m != nil { - return m.CurrentNodeCount - } - return 0 -} - -func (m *Cluster) GetExpireTime() string { - if m != nil { - return m.ExpireTime - } - return "" -} - -func (m *Cluster) GetLocation() string { - if m != nil { - return m.Location - } - 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). - // - // 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"` - // Configurations for the various addons available to run in the cluster. - DesiredAddonsConfig *AddonsConfig `protobuf:"bytes,6,opt,name=desired_addons_config,json=desiredAddonsConfig,proto3" json:"desired_addons_config,omitempty"` - // The node pool to be upgraded. This field is mandatory if - // "desired_node_version", "desired_image_family" or - // "desired_node_pool_autoscaling" is specified and there is more than one - // node pool on the cluster. - DesiredNodePoolId string `protobuf:"bytes,7,opt,name=desired_node_pool_id,json=desiredNodePoolId,proto3" json:"desired_node_pool_id,omitempty"` - // The desired image type for the node pool. - // NOTE: Set the "desired_node_pool" field as well. - DesiredImageType string `protobuf:"bytes,8,opt,name=desired_image_type,json=desiredImageType,proto3" json:"desired_image_type,omitempty"` - // Autoscaler configuration for the node pool specified in - // desired_node_pool_id. If there is only one pool in the - // cluster and desired_node_pool_id is not provided then - // 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 - // [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. - DesiredLocations []string `protobuf:"bytes,10,rep,name=desired_locations,json=desiredLocations,proto3" json:"desired_locations,omitempty"` - // 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 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. - // - // 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:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e39a67f424410134, []int{19} -} - -func (m *ClusterUpdate) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClusterUpdate.Unmarshal(m, b) -} -func (m *ClusterUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClusterUpdate.Marshal(b, m, deterministic) -} -func (m *ClusterUpdate) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClusterUpdate.Merge(m, src) -} -func (m *ClusterUpdate) XXX_Size() int { - return xxx_messageInfo_ClusterUpdate.Size(m) -} -func (m *ClusterUpdate) XXX_DiscardUnknown() { - xxx_messageInfo_ClusterUpdate.DiscardUnknown(m) -} - -var xxx_messageInfo_ClusterUpdate proto.InternalMessageInfo - -func (m *ClusterUpdate) GetDesiredNodeVersion() string { - if m != nil { - return m.DesiredNodeVersion - } - return "" -} - -func (m *ClusterUpdate) GetDesiredMonitoringService() string { - if m != nil { - return m.DesiredMonitoringService - } - return "" -} - -func (m *ClusterUpdate) GetDesiredAddonsConfig() *AddonsConfig { - if m != nil { - return m.DesiredAddonsConfig - } - return nil -} - -func (m *ClusterUpdate) GetDesiredNodePoolId() string { - if m != nil { - return m.DesiredNodePoolId - } - return "" -} - -func (m *ClusterUpdate) GetDesiredImageType() string { - if m != nil { - return m.DesiredImageType - } - return "" -} - -func (m *ClusterUpdate) GetDesiredNodePoolAutoscaling() *NodePoolAutoscaling { - if m != nil { - return m.DesiredNodePoolAutoscaling - } - return nil -} - -func (m *ClusterUpdate) GetDesiredLocations() []string { - if m != nil { - return m.DesiredLocations - } - return nil -} - -func (m *ClusterUpdate) GetDesiredMasterAuthorizedNetworksConfig() *MasterAuthorizedNetworksConfig { - if m != nil { - return m.DesiredMasterAuthorizedNetworksConfig - } - return nil -} - -func (m *ClusterUpdate) GetDesiredPodSecurityPolicyConfig() *PodSecurityPolicyConfig { - if m != nil { - return m.DesiredPodSecurityPolicyConfig - } - 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 - } - return "" -} - -// This operation resource represents operations that may have happened or are -// happening on the cluster. All fields are output only. -type Operation struct { - // The server-assigned ID for the operation. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The name of the Google Compute Engine - // [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"` // 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. - Status Operation_Status `protobuf:"varint,4,opt,name=status,proto3,enum=google.container.v1beta1.Operation_Status" json:"status,omitempty"` - // Detailed operation progress, if available. - Detail string `protobuf:"bytes,8,opt,name=detail,proto3" json:"detail,omitempty"` - // If an error has occurred, a textual description of the error. - StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` - // Server-defined URL for the resource. - 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"` - // [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"` - // [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_e39a67f424410134, []int{20} -} - -func (m *Operation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Operation.Unmarshal(m, b) -} -func (m *Operation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Operation.Marshal(b, m, deterministic) -} -func (m *Operation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Operation.Merge(m, src) -} -func (m *Operation) XXX_Size() int { - return xxx_messageInfo_Operation.Size(m) -} -func (m *Operation) XXX_DiscardUnknown() { - xxx_messageInfo_Operation.DiscardUnknown(m) -} - -var xxx_messageInfo_Operation proto.InternalMessageInfo - -func (m *Operation) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Deprecated: Do not use. -func (m *Operation) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -func (m *Operation) GetOperationType() Operation_Type { - if m != nil { - return m.OperationType - } - return Operation_TYPE_UNSPECIFIED -} - -func (m *Operation) GetStatus() Operation_Status { - if m != nil { - return m.Status - } - return Operation_STATUS_UNSPECIFIED -} - -func (m *Operation) GetDetail() string { - if m != nil { - return m.Detail - } - return "" -} - -func (m *Operation) GetStatusMessage() string { - if m != nil { - return m.StatusMessage - } - return "" -} - -func (m *Operation) GetSelfLink() string { - if m != nil { - return m.SelfLink - } - return "" -} - -func (m *Operation) GetTargetLink() string { - if m != nil { - return m.TargetLink - } - return "" -} - -func (m *Operation) GetLocation() string { - if m != nil { - return m.Location - } - return "" -} - -func (m *Operation) GetStartTime() string { - if m != nil { - return m.StartTime - } - return "" -} - -func (m *Operation) GetEndTime() string { - if m != nil { - return m.EndTime - } - 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_e39a67f424410134, []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 (m *OperationProgress) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperationProgress.Merge(m, 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_e39a67f424410134, []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 (m *OperationProgress_Metric) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperationProgress_Metric.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*OperationProgress_Metric) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*OperationProgress_Metric_IntValue)(nil), - (*OperationProgress_Metric_DoubleValue)(nil), - (*OperationProgress_Metric_StringValue)(nil), - } -} - -// CreateClusterRequest creates a cluster. -type CreateClusterRequest 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 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"` - // 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:"-"` -} - -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_e39a67f424410134, []int{22} -} - -func (m *CreateClusterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateClusterRequest.Unmarshal(m, b) -} -func (m *CreateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateClusterRequest.Marshal(b, m, deterministic) -} -func (m *CreateClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateClusterRequest.Merge(m, src) -} -func (m *CreateClusterRequest) XXX_Size() int { - return xxx_messageInfo_CreateClusterRequest.Size(m) -} -func (m *CreateClusterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateClusterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateClusterRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *CreateClusterRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *CreateClusterRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -func (m *CreateClusterRequest) GetCluster() *Cluster { - if m != nil { - return m.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 { - // 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 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:"-"` -} - -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_e39a67f424410134, []int{23} -} - -func (m *GetClusterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetClusterRequest.Unmarshal(m, b) -} -func (m *GetClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetClusterRequest.Marshal(b, m, deterministic) -} -func (m *GetClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetClusterRequest.Merge(m, src) -} -func (m *GetClusterRequest) XXX_Size() int { - return xxx_messageInfo_GetClusterRequest.Size(m) -} -func (m *GetClusterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetClusterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetClusterRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *GetClusterRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *GetClusterRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// Deprecated: Do not use. -func (m *GetClusterRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -func (m *GetClusterRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// UpdateClusterRequest updates the settings of a cluster. -type UpdateClusterRequest 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. - // 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. - // 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_e39a67f424410134, []int{24} -} - -func (m *UpdateClusterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateClusterRequest.Unmarshal(m, b) -} -func (m *UpdateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateClusterRequest.Marshal(b, m, deterministic) -} -func (m *UpdateClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateClusterRequest.Merge(m, src) -} -func (m *UpdateClusterRequest) XXX_Size() int { - return xxx_messageInfo_UpdateClusterRequest.Size(m) -} -func (m *UpdateClusterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateClusterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateClusterRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *UpdateClusterRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *UpdateClusterRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// Deprecated: Do not use. -func (m *UpdateClusterRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -func (m *UpdateClusterRequest) GetUpdate() *ClusterUpdate { - if m != nil { - return m.Update - } - return nil -} - -func (m *UpdateClusterRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// 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 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. - // 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 *UpdateNodePoolRequest) Reset() { *m = UpdateNodePoolRequest{} } -func (m *UpdateNodePoolRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateNodePoolRequest) ProtoMessage() {} -func (*UpdateNodePoolRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{25} -} - -func (m *UpdateNodePoolRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateNodePoolRequest.Unmarshal(m, b) -} -func (m *UpdateNodePoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateNodePoolRequest.Marshal(b, m, deterministic) -} -func (m *UpdateNodePoolRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateNodePoolRequest.Merge(m, src) -} -func (m *UpdateNodePoolRequest) XXX_Size() int { - return xxx_messageInfo_UpdateNodePoolRequest.Size(m) -} -func (m *UpdateNodePoolRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateNodePoolRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateNodePoolRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *UpdateNodePoolRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *UpdateNodePoolRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// Deprecated: Do not use. -func (m *UpdateNodePoolRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -// Deprecated: Do not use. -func (m *UpdateNodePoolRequest) GetNodePoolId() string { - if m != nil { - return m.NodePoolId - } - return "" -} - -func (m *UpdateNodePoolRequest) GetNodeVersion() string { - if m != nil { - return m.NodeVersion - } - return "" -} - -func (m *UpdateNodePoolRequest) GetImageType() string { - if m != nil { - return m.ImageType - } - 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 { - // 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. - // 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 *SetNodePoolAutoscalingRequest) Reset() { *m = SetNodePoolAutoscalingRequest{} } -func (m *SetNodePoolAutoscalingRequest) String() string { return proto.CompactTextString(m) } -func (*SetNodePoolAutoscalingRequest) ProtoMessage() {} -func (*SetNodePoolAutoscalingRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{26} -} - -func (m *SetNodePoolAutoscalingRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetNodePoolAutoscalingRequest.Unmarshal(m, b) -} -func (m *SetNodePoolAutoscalingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetNodePoolAutoscalingRequest.Marshal(b, m, deterministic) -} -func (m *SetNodePoolAutoscalingRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetNodePoolAutoscalingRequest.Merge(m, src) -} -func (m *SetNodePoolAutoscalingRequest) XXX_Size() int { - return xxx_messageInfo_SetNodePoolAutoscalingRequest.Size(m) -} -func (m *SetNodePoolAutoscalingRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetNodePoolAutoscalingRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetNodePoolAutoscalingRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *SetNodePoolAutoscalingRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *SetNodePoolAutoscalingRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// Deprecated: Do not use. -func (m *SetNodePoolAutoscalingRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -// 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 "" -} - -// 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 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. 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 *SetLoggingServiceRequest) Reset() { *m = SetLoggingServiceRequest{} } -func (m *SetLoggingServiceRequest) String() string { return proto.CompactTextString(m) } -func (*SetLoggingServiceRequest) ProtoMessage() {} -func (*SetLoggingServiceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{27} -} - -func (m *SetLoggingServiceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetLoggingServiceRequest.Unmarshal(m, b) -} -func (m *SetLoggingServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetLoggingServiceRequest.Marshal(b, m, deterministic) -} -func (m *SetLoggingServiceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetLoggingServiceRequest.Merge(m, src) -} -func (m *SetLoggingServiceRequest) XXX_Size() int { - return xxx_messageInfo_SetLoggingServiceRequest.Size(m) -} -func (m *SetLoggingServiceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetLoggingServiceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetLoggingServiceRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *SetLoggingServiceRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *SetLoggingServiceRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// Deprecated: Do not use. -func (m *SetLoggingServiceRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -func (m *SetLoggingServiceRequest) GetLoggingService() string { - if m != nil { - return m.LoggingService - } - return "" -} - -func (m *SetLoggingServiceRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// 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 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 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 *SetMonitoringServiceRequest) Reset() { *m = SetMonitoringServiceRequest{} } -func (m *SetMonitoringServiceRequest) String() string { return proto.CompactTextString(m) } -func (*SetMonitoringServiceRequest) ProtoMessage() {} -func (*SetMonitoringServiceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{28} -} - -func (m *SetMonitoringServiceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetMonitoringServiceRequest.Unmarshal(m, b) -} -func (m *SetMonitoringServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetMonitoringServiceRequest.Marshal(b, m, deterministic) -} -func (m *SetMonitoringServiceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetMonitoringServiceRequest.Merge(m, src) -} -func (m *SetMonitoringServiceRequest) XXX_Size() int { - return xxx_messageInfo_SetMonitoringServiceRequest.Size(m) -} -func (m *SetMonitoringServiceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetMonitoringServiceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetMonitoringServiceRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *SetMonitoringServiceRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *SetMonitoringServiceRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// Deprecated: Do not use. -func (m *SetMonitoringServiceRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -func (m *SetMonitoringServiceRequest) GetMonitoringService() string { - if m != nil { - return m.MonitoringService - } - return "" -} - -func (m *SetMonitoringServiceRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// 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 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 *SetAddonsConfigRequest) Reset() { *m = SetAddonsConfigRequest{} } -func (m *SetAddonsConfigRequest) String() string { return proto.CompactTextString(m) } -func (*SetAddonsConfigRequest) ProtoMessage() {} -func (*SetAddonsConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{29} -} - -func (m *SetAddonsConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetAddonsConfigRequest.Unmarshal(m, b) -} -func (m *SetAddonsConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetAddonsConfigRequest.Marshal(b, m, deterministic) -} -func (m *SetAddonsConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetAddonsConfigRequest.Merge(m, src) -} -func (m *SetAddonsConfigRequest) XXX_Size() int { - return xxx_messageInfo_SetAddonsConfigRequest.Size(m) -} -func (m *SetAddonsConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetAddonsConfigRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetAddonsConfigRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *SetAddonsConfigRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *SetAddonsConfigRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// Deprecated: Do not use. -func (m *SetAddonsConfigRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -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 *SetLocationsRequest) Reset() { *m = SetLocationsRequest{} } -func (m *SetLocationsRequest) String() string { return proto.CompactTextString(m) } -func (*SetLocationsRequest) ProtoMessage() {} -func (*SetLocationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{30} -} - -func (m *SetLocationsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetLocationsRequest.Unmarshal(m, b) -} -func (m *SetLocationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetLocationsRequest.Marshal(b, m, deterministic) -} -func (m *SetLocationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetLocationsRequest.Merge(m, src) -} -func (m *SetLocationsRequest) XXX_Size() int { - return xxx_messageInfo_SetLocationsRequest.Size(m) -} -func (m *SetLocationsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetLocationsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetLocationsRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *SetLocationsRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *SetLocationsRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// Deprecated: Do not use. -func (m *SetLocationsRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -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 "" -} - -// 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 *UpdateMasterRequest) Reset() { *m = UpdateMasterRequest{} } -func (m *UpdateMasterRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateMasterRequest) ProtoMessage() {} -func (*UpdateMasterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{31} -} - -func (m *UpdateMasterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateMasterRequest.Unmarshal(m, b) -} -func (m *UpdateMasterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateMasterRequest.Marshal(b, m, deterministic) -} -func (m *UpdateMasterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateMasterRequest.Merge(m, src) -} -func (m *UpdateMasterRequest) XXX_Size() int { - return xxx_messageInfo_UpdateMasterRequest.Size(m) -} -func (m *UpdateMasterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateMasterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateMasterRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *UpdateMasterRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *UpdateMasterRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// Deprecated: Do not use. -func (m *UpdateMasterRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -func (m *UpdateMasterRequest) GetMasterVersion() string { - if m != nil { - return m.MasterVersion - } - return "" -} - -func (m *UpdateMasterRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// 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 *SetMasterAuthRequest) Reset() { *m = SetMasterAuthRequest{} } -func (m *SetMasterAuthRequest) String() string { return proto.CompactTextString(m) } -func (*SetMasterAuthRequest) ProtoMessage() {} -func (*SetMasterAuthRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{32} -} - -func (m *SetMasterAuthRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetMasterAuthRequest.Unmarshal(m, b) -} -func (m *SetMasterAuthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetMasterAuthRequest.Marshal(b, m, deterministic) -} -func (m *SetMasterAuthRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetMasterAuthRequest.Merge(m, src) -} -func (m *SetMasterAuthRequest) XXX_Size() int { - return xxx_messageInfo_SetMasterAuthRequest.Size(m) -} -func (m *SetMasterAuthRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetMasterAuthRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetMasterAuthRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *SetMasterAuthRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *SetMasterAuthRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// Deprecated: Do not use. -func (m *SetMasterAuthRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -func (m *SetMasterAuthRequest) GetAction() SetMasterAuthRequest_Action { - if m != nil { - return m.Action - } - return SetMasterAuthRequest_UNKNOWN -} - -func (m *SetMasterAuthRequest) GetUpdate() *MasterAuth { - if m != nil { - return m.Update - } - return nil -} - -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 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 *DeleteClusterRequest) Reset() { *m = DeleteClusterRequest{} } -func (m *DeleteClusterRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteClusterRequest) ProtoMessage() {} -func (*DeleteClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{33} -} - -func (m *DeleteClusterRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteClusterRequest.Unmarshal(m, b) -} -func (m *DeleteClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteClusterRequest.Marshal(b, m, deterministic) -} -func (m *DeleteClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteClusterRequest.Merge(m, src) -} -func (m *DeleteClusterRequest) XXX_Size() int { - return xxx_messageInfo_DeleteClusterRequest.Size(m) -} -func (m *DeleteClusterRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteClusterRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteClusterRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *DeleteClusterRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *DeleteClusterRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// Deprecated: Do not use. -func (m *DeleteClusterRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -func (m *DeleteClusterRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// 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, 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 *ListClustersRequest) Reset() { *m = ListClustersRequest{} } -func (m *ListClustersRequest) String() string { return proto.CompactTextString(m) } -func (*ListClustersRequest) ProtoMessage() {} -func (*ListClustersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{34} -} - -func (m *ListClustersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListClustersRequest.Unmarshal(m, b) -} -func (m *ListClustersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListClustersRequest.Marshal(b, m, deterministic) -} -func (m *ListClustersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClustersRequest.Merge(m, src) -} -func (m *ListClustersRequest) XXX_Size() int { - return xxx_messageInfo_ListClustersRequest.Size(m) -} -func (m *ListClustersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListClustersRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListClustersRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *ListClustersRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *ListClustersRequest) GetZone() string { - if m != nil { - return m.Zone - } - 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 - // 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_e39a67f424410134, []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 (m *ListClustersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClustersResponse.Merge(m, 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.Clusters - } - return nil -} - -func (m *ListClustersResponse) GetMissingZones() []string { - if m != nil { - return m.MissingZones - } - return nil -} - -// 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 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 *GetOperationRequest) Reset() { *m = GetOperationRequest{} } -func (m *GetOperationRequest) String() string { return proto.CompactTextString(m) } -func (*GetOperationRequest) ProtoMessage() {} -func (*GetOperationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{36} -} - -func (m *GetOperationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetOperationRequest.Unmarshal(m, b) -} -func (m *GetOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetOperationRequest.Marshal(b, m, deterministic) -} -func (m *GetOperationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetOperationRequest.Merge(m, src) -} -func (m *GetOperationRequest) XXX_Size() int { - return xxx_messageInfo_GetOperationRequest.Size(m) -} -func (m *GetOperationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetOperationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetOperationRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *GetOperationRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *GetOperationRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// Deprecated: Do not use. -func (m *GetOperationRequest) GetOperationId() string { - if m != nil { - return m.OperationId - } - return "" -} - -func (m *GetOperationRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// 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 *ListOperationsRequest) Reset() { *m = ListOperationsRequest{} } -func (m *ListOperationsRequest) String() string { return proto.CompactTextString(m) } -func (*ListOperationsRequest) ProtoMessage() {} -func (*ListOperationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{37} -} - -func (m *ListOperationsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListOperationsRequest.Unmarshal(m, b) -} -func (m *ListOperationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListOperationsRequest.Marshal(b, m, deterministic) -} -func (m *ListOperationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListOperationsRequest.Merge(m, src) -} -func (m *ListOperationsRequest) XXX_Size() int { - return xxx_messageInfo_ListOperationsRequest.Size(m) -} -func (m *ListOperationsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListOperationsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListOperationsRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *ListOperationsRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *ListOperationsRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -func (m *ListOperationsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -// 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_e39a67f424410134, []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 (m *CancelOperationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CancelOperationRequest.Merge(m, 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_e39a67f424410134, []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 (m *ListOperationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListOperationsResponse.Merge(m, 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_e39a67f424410134, []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 (m *GetServerConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetServerConfigRequest.Merge(m, 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_e39a67f424410134, []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 (m *ServerConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServerConfig.Merge(m, 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_e39a67f424410134, []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 (m *CreateNodePoolRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateNodePoolRequest.Merge(m, 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_e39a67f424410134, []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 (m *DeleteNodePoolRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteNodePoolRequest.Merge(m, 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_e39a67f424410134, []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 (m *ListNodePoolsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNodePoolsRequest.Merge(m, 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_e39a67f424410134, []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 (m *GetNodePoolRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNodePoolRequest.Merge(m, 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_e39a67f424410134, []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 (m *NodePool) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodePool.Merge(m, 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_e39a67f424410134, []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 (m *NodeManagement) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeManagement.Merge(m, 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_e39a67f424410134, []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 (m *AutoUpgradeOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_AutoUpgradeOptions.Merge(m, 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_e39a67f424410134, []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 (m *MaintenancePolicy) XXX_Merge(src proto.Message) { - xxx_messageInfo_MaintenancePolicy.Merge(m, 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_e39a67f424410134, []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 (m *MaintenanceWindow) XXX_Merge(src proto.Message) { - xxx_messageInfo_MaintenanceWindow.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*MaintenanceWindow) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*MaintenanceWindow_DailyMaintenanceWindow)(nil), - } -} - -// 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_e39a67f424410134, []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 (m *DailyMaintenanceWindow) XXX_Merge(src proto.Message) { - xxx_messageInfo_DailyMaintenanceWindow.Merge(m, 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_e39a67f424410134, []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 (m *SetNodePoolManagementRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetNodePoolManagementRequest.Merge(m, 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 "" -} - -// 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 *SetNodePoolSizeRequest) Reset() { *m = SetNodePoolSizeRequest{} } -func (m *SetNodePoolSizeRequest) String() string { return proto.CompactTextString(m) } -func (*SetNodePoolSizeRequest) ProtoMessage() {} -func (*SetNodePoolSizeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{53} -} - -func (m *SetNodePoolSizeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetNodePoolSizeRequest.Unmarshal(m, b) -} -func (m *SetNodePoolSizeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetNodePoolSizeRequest.Marshal(b, m, deterministic) -} -func (m *SetNodePoolSizeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetNodePoolSizeRequest.Merge(m, src) -} -func (m *SetNodePoolSizeRequest) XXX_Size() int { - return xxx_messageInfo_SetNodePoolSizeRequest.Size(m) -} -func (m *SetNodePoolSizeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetNodePoolSizeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetNodePoolSizeRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *SetNodePoolSizeRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *SetNodePoolSizeRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// Deprecated: Do not use. -func (m *SetNodePoolSizeRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -// Deprecated: Do not use. -func (m *SetNodePoolSizeRequest) GetNodePoolId() string { - if m != nil { - return m.NodePoolId - } - return "" -} - -func (m *SetNodePoolSizeRequest) GetNodeCount() int32 { - if m != nil { - return m.NodeCount - } - 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 { - // 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_e39a67f424410134, []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 (m *RollbackNodePoolUpgradeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RollbackNodePoolUpgradeRequest.Merge(m, 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.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *RollbackNodePoolUpgradeRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// Deprecated: Do not use. -func (m *RollbackNodePoolUpgradeRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -// Deprecated: Do not use. -func (m *RollbackNodePoolUpgradeRequest) GetNodePoolId() string { - if m != nil { - return m.NodePoolId - } - 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. - 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 *ListNodePoolsResponse) Reset() { *m = ListNodePoolsResponse{} } -func (m *ListNodePoolsResponse) String() string { return proto.CompactTextString(m) } -func (*ListNodePoolsResponse) ProtoMessage() {} -func (*ListNodePoolsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{55} -} - -func (m *ListNodePoolsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListNodePoolsResponse.Unmarshal(m, b) -} -func (m *ListNodePoolsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListNodePoolsResponse.Marshal(b, m, deterministic) -} -func (m *ListNodePoolsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNodePoolsResponse.Merge(m, src) -} -func (m *ListNodePoolsResponse) XXX_Size() int { - return xxx_messageInfo_ListNodePoolsResponse.Size(m) -} -func (m *ListNodePoolsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListNodePoolsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListNodePoolsResponse proto.InternalMessageInfo - -func (m *ListNodePoolsResponse) GetNodePools() []*NodePool { - if m != nil { - return m.NodePools - } - 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_e39a67f424410134, []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 (m *ClusterAutoscaling) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClusterAutoscaling.Merge(m, src) -} -func (m *ClusterAutoscaling) XXX_Size() int { - return xxx_messageInfo_ClusterAutoscaling.Size(m) -} -func (m *ClusterAutoscaling) XXX_DiscardUnknown() { - xxx_messageInfo_ClusterAutoscaling.DiscardUnknown(m) -} - -var xxx_messageInfo_ClusterAutoscaling proto.InternalMessageInfo - -func (m *ClusterAutoscaling) GetEnableNodeAutoprovisioning() bool { - if m != nil { - return m.EnableNodeAutoprovisioning - } - return false -} - -func (m *ClusterAutoscaling) GetResourceLimits() []*ResourceLimit { - if m != nil { - return m.ResourceLimits - } - return nil -} - -// 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 *ResourceLimit) Reset() { *m = ResourceLimit{} } -func (m *ResourceLimit) String() string { return proto.CompactTextString(m) } -func (*ResourceLimit) ProtoMessage() {} -func (*ResourceLimit) Descriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{57} -} - -func (m *ResourceLimit) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResourceLimit.Unmarshal(m, b) -} -func (m *ResourceLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResourceLimit.Marshal(b, m, deterministic) -} -func (m *ResourceLimit) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResourceLimit.Merge(m, src) -} -func (m *ResourceLimit) XXX_Size() int { - return xxx_messageInfo_ResourceLimit.Size(m) -} -func (m *ResourceLimit) XXX_DiscardUnknown() { - xxx_messageInfo_ResourceLimit.DiscardUnknown(m) -} - -var xxx_messageInfo_ResourceLimit proto.InternalMessageInfo - -func (m *ResourceLimit) GetResourceType() string { - if m != nil { - return m.ResourceType - } - return "" -} - -func (m *ResourceLimit) GetMinimum() int64 { - if m != nil { - return m.Minimum - } - return 0 -} - -func (m *ResourceLimit) GetMaximum() int64 { - if m != nil { - return m.Maximum - } - return 0 -} - -// 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 *NodePoolAutoscaling) Reset() { *m = NodePoolAutoscaling{} } -func (m *NodePoolAutoscaling) String() string { return proto.CompactTextString(m) } -func (*NodePoolAutoscaling) ProtoMessage() {} -func (*NodePoolAutoscaling) Descriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{58} -} - -func (m *NodePoolAutoscaling) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodePoolAutoscaling.Unmarshal(m, b) -} -func (m *NodePoolAutoscaling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodePoolAutoscaling.Marshal(b, m, deterministic) -} -func (m *NodePoolAutoscaling) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodePoolAutoscaling.Merge(m, src) -} -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_NodePoolAutoscaling proto.InternalMessageInfo - -func (m *NodePoolAutoscaling) GetEnabled() bool { - if m != nil { - return m.Enabled - } - return false -} - -func (m *NodePoolAutoscaling) GetMinNodeCount() int32 { - if m != nil { - return m.MinNodeCount - } - return 0 -} - -func (m *NodePoolAutoscaling) GetMaxNodeCount() int32 { - if m != nil { - return m.MaxNodeCount - } - return 0 -} - -func (m *NodePoolAutoscaling) GetAutoprovisioned() bool { - if m != nil { - return m.Autoprovisioned - } - return false -} - -// 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 (m *SetLabelsRequest) Reset() { *m = SetLabelsRequest{} } -func (m *SetLabelsRequest) String() string { return proto.CompactTextString(m) } -func (*SetLabelsRequest) ProtoMessage() {} -func (*SetLabelsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{59} -} - -func (m *SetLabelsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetLabelsRequest.Unmarshal(m, b) -} -func (m *SetLabelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetLabelsRequest.Marshal(b, m, deterministic) -} -func (m *SetLabelsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetLabelsRequest.Merge(m, src) -} -func (m *SetLabelsRequest) XXX_Size() int { - return xxx_messageInfo_SetLabelsRequest.Size(m) -} -func (m *SetLabelsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetLabelsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetLabelsRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *SetLabelsRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *SetLabelsRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// Deprecated: Do not use. -func (m *SetLabelsRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -func (m *SetLabelsRequest) GetResourceLabels() map[string]string { - if m != nil { - return m.ResourceLabels - } - return nil -} - -func (m *SetLabelsRequest) GetLabelFingerprint() string { - if m != nil { - return m.LabelFingerprint - } - 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 { - // 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 *SetLegacyAbacRequest) Reset() { *m = SetLegacyAbacRequest{} } -func (m *SetLegacyAbacRequest) String() string { return proto.CompactTextString(m) } -func (*SetLegacyAbacRequest) ProtoMessage() {} -func (*SetLegacyAbacRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{60} -} - -func (m *SetLegacyAbacRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetLegacyAbacRequest.Unmarshal(m, b) -} -func (m *SetLegacyAbacRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetLegacyAbacRequest.Marshal(b, m, deterministic) -} -func (m *SetLegacyAbacRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetLegacyAbacRequest.Merge(m, src) -} -func (m *SetLegacyAbacRequest) XXX_Size() int { - return xxx_messageInfo_SetLegacyAbacRequest.Size(m) -} -func (m *SetLegacyAbacRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetLegacyAbacRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetLegacyAbacRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *SetLegacyAbacRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *SetLegacyAbacRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// 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 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 *StartIPRotationRequest) Reset() { *m = StartIPRotationRequest{} } -func (m *StartIPRotationRequest) String() string { return proto.CompactTextString(m) } -func (*StartIPRotationRequest) ProtoMessage() {} -func (*StartIPRotationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{61} -} - -func (m *StartIPRotationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StartIPRotationRequest.Unmarshal(m, b) -} -func (m *StartIPRotationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StartIPRotationRequest.Marshal(b, m, deterministic) -} -func (m *StartIPRotationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartIPRotationRequest.Merge(m, src) -} -func (m *StartIPRotationRequest) XXX_Size() int { - return xxx_messageInfo_StartIPRotationRequest.Size(m) -} -func (m *StartIPRotationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StartIPRotationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_StartIPRotationRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *StartIPRotationRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *StartIPRotationRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// Deprecated: Do not use. -func (m *StartIPRotationRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - 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 { - // 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 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 *CompleteIPRotationRequest) Reset() { *m = CompleteIPRotationRequest{} } -func (m *CompleteIPRotationRequest) String() string { return proto.CompactTextString(m) } -func (*CompleteIPRotationRequest) ProtoMessage() {} -func (*CompleteIPRotationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{62} -} - -func (m *CompleteIPRotationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CompleteIPRotationRequest.Unmarshal(m, b) -} -func (m *CompleteIPRotationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CompleteIPRotationRequest.Marshal(b, m, deterministic) -} -func (m *CompleteIPRotationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CompleteIPRotationRequest.Merge(m, src) -} -func (m *CompleteIPRotationRequest) XXX_Size() int { - return xxx_messageInfo_CompleteIPRotationRequest.Size(m) -} -func (m *CompleteIPRotationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CompleteIPRotationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CompleteIPRotationRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *CompleteIPRotationRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *CompleteIPRotationRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// Deprecated: Do not use. -func (m *CompleteIPRotationRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - 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. - 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_e39a67f424410134, []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 (m *AcceleratorConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_AcceleratorConfig.Merge(m, 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.AcceleratorCount - } - return 0 -} - -func (m *AcceleratorConfig) GetAcceleratorType() string { - if m != nil { - return m.AcceleratorType - } - return "" -} - -// 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 *WorkloadMetadataConfig) Reset() { *m = WorkloadMetadataConfig{} } -func (m *WorkloadMetadataConfig) String() string { return proto.CompactTextString(m) } -func (*WorkloadMetadataConfig) ProtoMessage() {} -func (*WorkloadMetadataConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{64} -} - -func (m *WorkloadMetadataConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkloadMetadataConfig.Unmarshal(m, b) -} -func (m *WorkloadMetadataConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkloadMetadataConfig.Marshal(b, m, deterministic) -} -func (m *WorkloadMetadataConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkloadMetadataConfig.Merge(m, src) -} -func (m *WorkloadMetadataConfig) XXX_Size() int { - return xxx_messageInfo_WorkloadMetadataConfig.Size(m) -} -func (m *WorkloadMetadataConfig) XXX_DiscardUnknown() { - xxx_messageInfo_WorkloadMetadataConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_WorkloadMetadataConfig proto.InternalMessageInfo - -func (m *WorkloadMetadataConfig) GetNodeMetadata() WorkloadMetadataConfig_NodeMetadata { - if m != nil { - return m.NodeMetadata - } - return WorkloadMetadataConfig_UNSPECIFIED -} - -// 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 *SetNetworkPolicyRequest) Reset() { *m = SetNetworkPolicyRequest{} } -func (m *SetNetworkPolicyRequest) String() string { return proto.CompactTextString(m) } -func (*SetNetworkPolicyRequest) ProtoMessage() {} -func (*SetNetworkPolicyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{65} -} - -func (m *SetNetworkPolicyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetNetworkPolicyRequest.Unmarshal(m, b) -} -func (m *SetNetworkPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetNetworkPolicyRequest.Marshal(b, m, deterministic) -} -func (m *SetNetworkPolicyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetNetworkPolicyRequest.Merge(m, src) -} -func (m *SetNetworkPolicyRequest) XXX_Size() int { - return xxx_messageInfo_SetNetworkPolicyRequest.Size(m) -} -func (m *SetNetworkPolicyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetNetworkPolicyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetNetworkPolicyRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *SetNetworkPolicyRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Deprecated: Do not use. -func (m *SetNetworkPolicyRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -// Deprecated: Do not use. -func (m *SetNetworkPolicyRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -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://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"` - 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_e39a67f424410134, []int{66} -} - -func (m *SetMaintenancePolicyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetMaintenancePolicyRequest.Unmarshal(m, b) -} -func (m *SetMaintenancePolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetMaintenancePolicyRequest.Marshal(b, m, deterministic) -} -func (m *SetMaintenancePolicyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetMaintenancePolicyRequest.Merge(m, src) -} -func (m *SetMaintenancePolicyRequest) XXX_Size() int { - return xxx_messageInfo_SetMaintenancePolicyRequest.Size(m) -} -func (m *SetMaintenancePolicyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetMaintenancePolicyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetMaintenancePolicyRequest proto.InternalMessageInfo - -func (m *SetMaintenancePolicyRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *SetMaintenancePolicyRequest) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -func (m *SetMaintenancePolicyRequest) GetClusterId() string { - if m != nil { - return m.ClusterId - } - return "" -} - -func (m *SetMaintenancePolicyRequest) GetMaintenancePolicy() *MaintenancePolicy { - if m != nil { - return m.MaintenancePolicy - } - return nil -} - -func (m *SetMaintenancePolicyRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// 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_e39a67f424410134, []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 (m *ListLocationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListLocationsRequest.Merge(m, 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.Parent - } - return "" -} - -// 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 *ListLocationsResponse) Reset() { *m = ListLocationsResponse{} } -func (m *ListLocationsResponse) String() string { return proto.CompactTextString(m) } -func (*ListLocationsResponse) ProtoMessage() {} -func (*ListLocationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{68} -} - -func (m *ListLocationsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListLocationsResponse.Unmarshal(m, b) -} -func (m *ListLocationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListLocationsResponse.Marshal(b, m, deterministic) -} -func (m *ListLocationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListLocationsResponse.Merge(m, src) -} -func (m *ListLocationsResponse) XXX_Size() int { - return xxx_messageInfo_ListLocationsResponse.Size(m) -} -func (m *ListLocationsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListLocationsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListLocationsResponse proto.InternalMessageInfo - -func (m *ListLocationsResponse) GetLocations() []*Location { - if m != nil { - return m.Locations - } - return nil -} - -func (m *ListLocationsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// 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_e39a67f424410134, []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 (m *Location) XXX_Merge(src proto.Message) { - xxx_messageInfo_Location.Merge(m, 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.Type - } - return Location_LOCATION_TYPE_UNSPECIFIED -} - -func (m *Location) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Location) GetRecommended() bool { - if m != nil { - return m.Recommended - } - return false -} - -// 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 *StatusCondition) Reset() { *m = StatusCondition{} } -func (m *StatusCondition) String() string { return proto.CompactTextString(m) } -func (*StatusCondition) ProtoMessage() {} -func (*StatusCondition) Descriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{70} -} - -func (m *StatusCondition) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StatusCondition.Unmarshal(m, b) -} -func (m *StatusCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StatusCondition.Marshal(b, m, deterministic) -} -func (m *StatusCondition) XXX_Merge(src proto.Message) { - xxx_messageInfo_StatusCondition.Merge(m, src) -} -func (m *StatusCondition) XXX_Size() int { - return xxx_messageInfo_StatusCondition.Size(m) -} -func (m *StatusCondition) XXX_DiscardUnknown() { - xxx_messageInfo_StatusCondition.DiscardUnknown(m) -} - -var xxx_messageInfo_StatusCondition proto.InternalMessageInfo - -func (m *StatusCondition) GetCode() StatusCondition_Code { - if m != nil { - return m.Code - } - return StatusCondition_UNKNOWN -} - -func (m *StatusCondition) GetMessage() string { - if m != nil { - return m.Message - } - 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.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_e39a67f424410134, []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 (m *NetworkConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkConfig.Merge(m, 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 "" -} - -// 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 *ListUsableSubnetworksRequest) Reset() { *m = ListUsableSubnetworksRequest{} } -func (m *ListUsableSubnetworksRequest) String() string { return proto.CompactTextString(m) } -func (*ListUsableSubnetworksRequest) ProtoMessage() {} -func (*ListUsableSubnetworksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{72} -} - -func (m *ListUsableSubnetworksRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListUsableSubnetworksRequest.Unmarshal(m, b) -} -func (m *ListUsableSubnetworksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListUsableSubnetworksRequest.Marshal(b, m, deterministic) -} -func (m *ListUsableSubnetworksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListUsableSubnetworksRequest.Merge(m, src) -} -func (m *ListUsableSubnetworksRequest) XXX_Size() int { - return xxx_messageInfo_ListUsableSubnetworksRequest.Size(m) -} -func (m *ListUsableSubnetworksRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListUsableSubnetworksRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListUsableSubnetworksRequest proto.InternalMessageInfo - -func (m *ListUsableSubnetworksRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListUsableSubnetworksRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListUsableSubnetworksRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListUsableSubnetworksRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// 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 *ListUsableSubnetworksResponse) Reset() { *m = ListUsableSubnetworksResponse{} } -func (m *ListUsableSubnetworksResponse) String() string { return proto.CompactTextString(m) } -func (*ListUsableSubnetworksResponse) ProtoMessage() {} -func (*ListUsableSubnetworksResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{73} -} - -func (m *ListUsableSubnetworksResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListUsableSubnetworksResponse.Unmarshal(m, b) -} -func (m *ListUsableSubnetworksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListUsableSubnetworksResponse.Marshal(b, m, deterministic) -} -func (m *ListUsableSubnetworksResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListUsableSubnetworksResponse.Merge(m, src) -} -func (m *ListUsableSubnetworksResponse) XXX_Size() int { - return xxx_messageInfo_ListUsableSubnetworksResponse.Size(m) -} -func (m *ListUsableSubnetworksResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListUsableSubnetworksResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListUsableSubnetworksResponse proto.InternalMessageInfo - -func (m *ListUsableSubnetworksResponse) GetSubnetworks() []*UsableSubnetwork { - if m != nil { - return m.Subnetworks - } - return nil -} - -func (m *ListUsableSubnetworksResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// 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_e39a67f424410134, []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 (m *UsableSubnetworkSecondaryRange) XXX_Merge(src proto.Message) { - xxx_messageInfo_UsableSubnetworkSecondaryRange.Merge(m, 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 *UsableSubnetwork) Reset() { *m = UsableSubnetwork{} } -func (m *UsableSubnetwork) String() string { return proto.CompactTextString(m) } -func (*UsableSubnetwork) ProtoMessage() {} -func (*UsableSubnetwork) Descriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{75} -} - -func (m *UsableSubnetwork) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UsableSubnetwork.Unmarshal(m, b) -} -func (m *UsableSubnetwork) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UsableSubnetwork.Marshal(b, m, deterministic) -} -func (m *UsableSubnetwork) XXX_Merge(src proto.Message) { - xxx_messageInfo_UsableSubnetwork.Merge(m, src) -} -func (m *UsableSubnetwork) XXX_Size() int { - return xxx_messageInfo_UsableSubnetwork.Size(m) -} -func (m *UsableSubnetwork) XXX_DiscardUnknown() { - xxx_messageInfo_UsableSubnetwork.DiscardUnknown(m) -} - -var xxx_messageInfo_UsableSubnetwork proto.InternalMessageInfo - -func (m *UsableSubnetwork) GetSubnetwork() string { - if m != nil { - return m.Subnetwork - } - return "" -} - -func (m *UsableSubnetwork) GetNetwork() string { - if m != nil { - return m.Network - } - return "" -} - -func (m *UsableSubnetwork) GetIpCidrRange() string { - if m != nil { - return m.IpCidrRange - } - return "" -} - -func (m *UsableSubnetwork) GetSecondaryIpRanges() []*UsableSubnetworkSecondaryRange { - if m != nil { - return m.SecondaryIpRanges - } - return nil -} - -func (m *UsableSubnetwork) GetStatusMessage() string { - if m != nil { - return m.StatusMessage - } - return "" -} - -// 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 *VerticalPodAutoscaling) Reset() { *m = VerticalPodAutoscaling{} } -func (m *VerticalPodAutoscaling) String() string { return proto.CompactTextString(m) } -func (*VerticalPodAutoscaling) ProtoMessage() {} -func (*VerticalPodAutoscaling) Descriptor() ([]byte, []int) { - return fileDescriptor_e39a67f424410134, []int{76} -} - -func (m *VerticalPodAutoscaling) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VerticalPodAutoscaling.Unmarshal(m, b) -} -func (m *VerticalPodAutoscaling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VerticalPodAutoscaling.Marshal(b, m, deterministic) -} -func (m *VerticalPodAutoscaling) XXX_Merge(src proto.Message) { - xxx_messageInfo_VerticalPodAutoscaling.Merge(m, 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_e39a67f424410134, []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 (m *MaxPodsConstraint) XXX_Merge(src proto.Message) { - xxx_messageInfo_MaxPodsConstraint.Merge(m, 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_e39a67f424410134, []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 (m *ResourceUsageExportConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResourceUsageExportConfig.Merge(m, src) -} -func (m *ResourceUsageExportConfig) XXX_Size() int { - return xxx_messageInfo_ResourceUsageExportConfig.Size(m) -} -func (m *ResourceUsageExportConfig) XXX_DiscardUnknown() { - xxx_messageInfo_ResourceUsageExportConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_ResourceUsageExportConfig proto.InternalMessageInfo - -func (m *ResourceUsageExportConfig) GetBigqueryDestination() *ResourceUsageExportConfig_BigQueryDestination { - if m != nil { - return m.BigqueryDestination - } - return nil -} - -func (m *ResourceUsageExportConfig) GetEnableNetworkEgressMetering() bool { - if m != nil { - return m.EnableNetworkEgressMetering - } - return false -} - -// 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 *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_e39a67f424410134, []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 (m *ResourceUsageExportConfig_BigQueryDestination) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResourceUsageExportConfig_BigQueryDestination.Merge(m, 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) -} - -var xxx_messageInfo_ResourceUsageExportConfig_BigQueryDestination proto.InternalMessageInfo - -func (m *ResourceUsageExportConfig_BigQueryDestination) GetDatasetId() string { - if m != nil { - return m.DatasetId - } - return "" -} - -func init() { - 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) - proto.RegisterType((*NodeConfig)(nil), "google.container.v1beta1.NodeConfig") - proto.RegisterMapType((map[string]string)(nil), "google.container.v1beta1.NodeConfig.LabelsEntry") - proto.RegisterMapType((map[string]string)(nil), "google.container.v1beta1.NodeConfig.MetadataEntry") - proto.RegisterType((*NodeTaint)(nil), "google.container.v1beta1.NodeTaint") - proto.RegisterType((*MasterAuth)(nil), "google.container.v1beta1.MasterAuth") - proto.RegisterType((*ClientCertificateConfig)(nil), "google.container.v1beta1.ClientCertificateConfig") - proto.RegisterType((*AddonsConfig)(nil), "google.container.v1beta1.AddonsConfig") - proto.RegisterType((*HttpLoadBalancing)(nil), "google.container.v1beta1.HttpLoadBalancing") - 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") - proto.RegisterType((*ListClustersResponse)(nil), "google.container.v1beta1.ListClustersResponse") - proto.RegisterType((*GetOperationRequest)(nil), "google.container.v1beta1.GetOperationRequest") - proto.RegisterType((*ListOperationsRequest)(nil), "google.container.v1beta1.ListOperationsRequest") - proto.RegisterType((*CancelOperationRequest)(nil), "google.container.v1beta1.CancelOperationRequest") - proto.RegisterType((*ListOperationsResponse)(nil), "google.container.v1beta1.ListOperationsResponse") - proto.RegisterType((*GetServerConfigRequest)(nil), "google.container.v1beta1.GetServerConfigRequest") - proto.RegisterType((*ServerConfig)(nil), "google.container.v1beta1.ServerConfig") - proto.RegisterType((*CreateNodePoolRequest)(nil), "google.container.v1beta1.CreateNodePoolRequest") - proto.RegisterType((*DeleteNodePoolRequest)(nil), "google.container.v1beta1.DeleteNodePoolRequest") - proto.RegisterType((*ListNodePoolsRequest)(nil), "google.container.v1beta1.ListNodePoolsRequest") - proto.RegisterType((*GetNodePoolRequest)(nil), "google.container.v1beta1.GetNodePoolRequest") - proto.RegisterType((*NodePool)(nil), "google.container.v1beta1.NodePool") - proto.RegisterType((*NodeManagement)(nil), "google.container.v1beta1.NodeManagement") - proto.RegisterType((*AutoUpgradeOptions)(nil), "google.container.v1beta1.AutoUpgradeOptions") - proto.RegisterType((*MaintenancePolicy)(nil), "google.container.v1beta1.MaintenancePolicy") - 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") - proto.RegisterType((*SetLegacyAbacRequest)(nil), "google.container.v1beta1.SetLegacyAbacRequest") - 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") -} - -func init() { - proto.RegisterFile("google/container/v1beta1/cluster_service.proto", fileDescriptor_e39a67f424410134) -} - -var fileDescriptor_e39a67f424410134 = []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, 0x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73, 0x74, 0xb3, 0x81, 0xd9, 0x0c, 0x26, 0xe9, 0x0c, 0x8e, 0xf1, 0x3a, - 0x15, 0x51, 0x45, 0x25, 0x35, 0xe8, 0x64, 0xf2, 0x70, 0xd2, 0xef, 0x32, 0xb6, 0x85, 0x14, 0x6d, - 0x21, 0x27, 0x2a, 0xc5, 0x34, 0xf1, 0x1e, 0x38, 0xda, 0x25, 0x0f, 0xae, 0xa2, 0x53, 0x11, 0xdc, - 0x14, 0x35, 0x65, 0x2b, 0xb0, 0x18, 0x15, 0x0b, 0xe7, 0x01, 0x86, 0x9c, 0xc2, 0x82, 0x61, 0x0c, - 0x4f, 0x43, 0xb6, 0x5b, 0x3a, 0x9c, 0x69, 0x9a, 0x32, 0x1d, 0xe9, 0x94, 0x0f, 0x63, 0x5c, 0x86, - 0x05, 0xbd, 0xd9, 0xb4, 0x6e, 0x68, 0x8e, 0xd5, 0xf6, 0xb0, 0x66, 0x5d, 0xc7, 0x4e, 0x53, 0xb7, - 0xa9, 0x53, 0x93, 0x52, 0xe7, 0x69, 0x91, 0x4a, 0x4a, 0x4a, 0xac, 0x00, 0x3d, 0x06, 0x0b, 0x9e, - 0xdd, 0xee, 0xea, 0x83, 0x39, 0x38, 0x19, 0xcf, 0x6e, 0x47, 0x9a, 0x97, 0x57, 0x60, 0x61, 0xd5, - 0x30, 0x75, 0xe7, 0x96, 0xd8, 0xfd, 0x54, 0x51, 0xfb, 0xec, 0xbf, 0x27, 0xe0, 0x68, 0xd9, 0xaa, - 0x57, 0x70, 0xad, 0xed, 0x18, 0xde, 0xad, 0xc8, 0x99, 0xd5, 0x9b, 0xe9, 0x9f, 0xb3, 0x30, 0xc9, - 0x8f, 0x2a, 0xe2, 0x22, 0x86, 0x4c, 0x04, 0xfd, 0x9b, 0xb8, 0x88, 0x75, 0xec, 0xd6, 0x1c, 0xc3, - 0x26, 0xbd, 0x73, 0xe3, 0x10, 0x26, 0xa1, 0x47, 0x01, 0x19, 0xa6, 0xe1, 0x19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 0x55, 0x5d, 0xb4, 0xe3, 0x1c, 0xd8, 0xd7, 0x21, 0x7b, 0x1d, 0x3b, 0x9e, 0x51, 0x8b, 0x89, - 0xbd, 0x3c, 0x34, 0x28, 0xe0, 0x7a, 0x99, 0x73, 0x76, 0x44, 0x5e, 0x96, 0xae, 0xc7, 0xd2, 0xd1, - 0x71, 0x98, 0x72, 0x71, 0xf3, 0xaa, 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, 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, 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, 0x8c, 0x93, 0x82, 0x35, 0x65, 0x5d, 0xcd, 0xaf, 0x29, 0x6b, - 0x99, 0x09, 0xf9, 0x0f, 0x01, 0x66, 0xb9, 0x5a, 0x6e, 0xdb, 0x75, 0xdd, 0xc3, 0xe8, 0x71, 0x58, - 0xac, 0x63, 0xd7, 0x70, 0x08, 0x90, 0x08, 0x6f, 0x13, 0x16, 0x77, 0x42, 0xbc, 0x2c, 0xbc, 0x45, - 0x9e, 0x87, 0x9c, 0xe0, 0x88, 0x01, 0xe3, 0x2c, 0x0a, 0x95, 0xe5, 0x35, 0xb6, 0xba, 0x30, 0xf9, - 0x0e, 0x1c, 0x11, 0xdc, 0x51, 0x54, 0x3d, 0xb1, 0x2f, 0x54, 0xbd, 0xc0, 0x1b, 0x89, 0x04, 0xbe, - 0x57, 0x3a, 0xe6, 0x42, 0x40, 0xb4, 0x66, 0xd4, 0x85, 0x83, 0x10, 0x9a, 0x0b, 0x41, 0xca, 0x1b, - 0x75, 0xb2, 0x69, 0x04, 0x43, 0xe8, 0x9a, 0x90, 0xf9, 0x0a, 0x19, 0x5e, 0xb2, 0xe1, 0xdf, 0x16, - 0xda, 0x70, 0xb2, 0xbb, 0xf9, 0xb0, 0x05, 0x9e, 0x1a, 0x18, 0x2e, 0xe6, 0x5d, 0x87, 0xcd, 0x6f, - 0xae, 0x63, 0x58, 0x61, 0x13, 0xfc, 0x08, 0x88, 0x41, 0x6b, 0x01, 0xa4, 0x07, 0x0a, 0xe9, 0xc5, - 0xf0, 0x36, 0x7d, 0x64, 0xff, 0x19, 0x09, 0x1e, 0xf6, 0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c7, 0xe2, 0xce, 0x8a, 0xde, 0x68, 0x38, 0xb8, 0xa1, 0x7b, 0xb8, 0xbe, 0xd2, 0xee, - 0x1a, 0xf3, 0x97, 0x25, 0xe6, 0x1a, 0x07, 0xc1, 0xec, 0x01, 0xae, 0x71, 0x57, 0x34, 0x7b, 0x65, - 0xe8, 0xfa, 0x7c, 0xd4, 0xcb, 0x74, 0xd4, 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, -} - -// 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 - -// ClusterManagerClient is the client API for ClusterManager service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -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 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. - // - // By default, the cluster is created in the project's - // [default network](/compute/docs/networks-and-firewalls#networks). - // - // One firewall is added for the cluster. After cluster creation, - // the cluster creates routes for each node to allow the containers - // on that node to communicate with all other instances in the - // cluster. - // - // 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 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 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) - // Deletes the cluster, including the Kubernetes endpoint and all worker - // nodes. - // - // Firewalls and routes that were configured during cluster creation - // are also deleted. - // - // Other Google Compute Engine resources that might be in use by the cluster - // (e.g. load balancer resources) will not be deleted if they weren't present - // at the initial create time. - DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*Operation, error) - // Lists all operations in a project in a specific zone or all zones. - ListOperations(ctx context.Context, in *ListOperationsRequest, opts ...grpc.CallOption) (*ListOperationsResponse, error) - // Gets the specified operation. - 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 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) - // Retrieves the node pool requested. - GetNodePool(ctx context.Context, in *GetNodePoolRequest, opts ...grpc.CallOption) (*NodePool, error) - // Creates a node pool for a cluster. - CreateNodePool(ctx context.Context, in *CreateNodePoolRequest, opts ...grpc.CallOption) (*Operation, error) - // Deletes a node pool from a cluster. - DeleteNodePool(ctx context.Context, in *DeleteNodePoolRequest, opts ...grpc.CallOption) (*Operation, error) - // Roll back the previously Aborted or Failed NodePool upgrade. - // This will be an no-op if the last upgrade successfully completed. - RollbackNodePoolUpgrade(ctx context.Context, in *RollbackNodePoolUpgradeRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets the NodeManagement options for a node pool. - SetNodePoolManagement(ctx context.Context, in *SetNodePoolManagementRequest, opts ...grpc.CallOption) (*Operation, error) - // Sets labels on a cluster. - SetLabels(ctx context.Context, in *SetLabelsRequest, opts ...grpc.CallOption) (*Operation, error) - // Enables or disables the ABAC authorization mechanism on a cluster. - SetLegacyAbac(ctx context.Context, in *SetLegacyAbacRequest, opts ...grpc.CallOption) (*Operation, error) - // Start master IP rotation. - 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 { - cc *grpc.ClientConn -} - -func NewClusterManagerClient(cc *grpc.ClientConn) ClusterManagerClient { - return &clusterManagerClient{cc} -} - -func (c *clusterManagerClient) ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) { - out := new(ListClustersResponse) - err := c.cc.Invoke(ctx, "/google.container.v1beta1.ClusterManager/ListClusters", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error) { - out := new(Cluster) - err := c.cc.Invoke(ctx, "/google.container.v1beta1.ClusterManager/GetCluster", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1beta1.ClusterManager/CreateCluster", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) UpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1beta1.ClusterManager/UpdateCluster", in, out, opts...) - if err != nil { - return nil, err - } - 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...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1beta1.ClusterManager/DeleteCluster", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) ListOperations(ctx context.Context, in *ListOperationsRequest, opts ...grpc.CallOption) (*ListOperationsResponse, error) { - out := new(ListOperationsResponse) - err := c.cc.Invoke(ctx, "/google.container.v1beta1.ClusterManager/ListOperations", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) GetOperation(ctx context.Context, in *GetOperationRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1beta1.ClusterManager/GetOperation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) CancelOperation(ctx context.Context, in *CancelOperationRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.container.v1beta1.ClusterManager/CancelOperation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) GetServerConfig(ctx context.Context, in *GetServerConfigRequest, opts ...grpc.CallOption) (*ServerConfig, error) { - out := new(ServerConfig) - err := c.cc.Invoke(ctx, "/google.container.v1beta1.ClusterManager/GetServerConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) ListNodePools(ctx context.Context, in *ListNodePoolsRequest, opts ...grpc.CallOption) (*ListNodePoolsResponse, error) { - out := new(ListNodePoolsResponse) - err := c.cc.Invoke(ctx, "/google.container.v1beta1.ClusterManager/ListNodePools", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) GetNodePool(ctx context.Context, in *GetNodePoolRequest, opts ...grpc.CallOption) (*NodePool, error) { - out := new(NodePool) - err := c.cc.Invoke(ctx, "/google.container.v1beta1.ClusterManager/GetNodePool", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) CreateNodePool(ctx context.Context, in *CreateNodePoolRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1beta1.ClusterManager/CreateNodePool", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) DeleteNodePool(ctx context.Context, in *DeleteNodePoolRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1beta1.ClusterManager/DeleteNodePool", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) RollbackNodePoolUpgrade(ctx context.Context, in *RollbackNodePoolUpgradeRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1beta1.ClusterManager/RollbackNodePoolUpgrade", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) SetNodePoolManagement(ctx context.Context, in *SetNodePoolManagementRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1beta1.ClusterManager/SetNodePoolManagement", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) SetLabels(ctx context.Context, in *SetLabelsRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1beta1.ClusterManager/SetLabels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) SetLegacyAbac(ctx context.Context, in *SetLegacyAbacRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1beta1.ClusterManager/SetLegacyAbac", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) StartIPRotation(ctx context.Context, in *StartIPRotationRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1beta1.ClusterManager/StartIPRotation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) CompleteIPRotation(ctx context.Context, in *CompleteIPRotationRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1beta1.ClusterManager/CompleteIPRotation", in, out, opts...) - if err != nil { - return nil, err - } - 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...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *clusterManagerClient) SetMaintenancePolicy(ctx context.Context, in *SetMaintenancePolicyRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.container.v1beta1.ClusterManager/SetMaintenancePolicy", in, out, opts...) - if err != nil { - return nil, err - } - 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 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. - // - // By default, the cluster is created in the project's - // [default network](/compute/docs/networks-and-firewalls#networks). - // - // One firewall is added for the cluster. After cluster creation, - // the cluster creates routes for each node to allow the containers - // on that node to communicate with all other instances in the - // cluster. - // - // 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 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 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) - // Deletes the cluster, including the Kubernetes endpoint and all worker - // nodes. - // - // Firewalls and routes that were configured during cluster creation - // are also deleted. - // - // Other Google Compute Engine resources that might be in use by the cluster - // (e.g. load balancer resources) will not be deleted if they weren't present - // at the initial create time. - DeleteCluster(context.Context, *DeleteClusterRequest) (*Operation, error) - // Lists all operations in a project in a specific zone or all zones. - ListOperations(context.Context, *ListOperationsRequest) (*ListOperationsResponse, error) - // Gets the specified operation. - GetOperation(context.Context, *GetOperationRequest) (*Operation, error) - // Cancels the specified operation. - CancelOperation(context.Context, *CancelOperationRequest) (*empty.Empty, error) - // 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) - // Retrieves the node pool requested. - GetNodePool(context.Context, *GetNodePoolRequest) (*NodePool, error) - // Creates a node pool for a cluster. - CreateNodePool(context.Context, *CreateNodePoolRequest) (*Operation, error) - // Deletes a node pool from a cluster. - DeleteNodePool(context.Context, *DeleteNodePoolRequest) (*Operation, error) - // Roll back the previously Aborted or Failed NodePool upgrade. - // This will be an no-op if the last upgrade successfully completed. - RollbackNodePoolUpgrade(context.Context, *RollbackNodePoolUpgradeRequest) (*Operation, error) - // Sets the NodeManagement options for a node pool. - SetNodePoolManagement(context.Context, *SetNodePoolManagementRequest) (*Operation, error) - // Sets labels on a cluster. - SetLabels(context.Context, *SetLabelsRequest) (*Operation, error) - // Enables or disables the ABAC authorization mechanism on a cluster. - SetLegacyAbac(context.Context, *SetLegacyAbacRequest) (*Operation, error) - // Start master IP rotation. - 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) -} - -// UnimplementedClusterManagerServer can be embedded to have forward compatible implementations. -type UnimplementedClusterManagerServer struct { -} - -func (*UnimplementedClusterManagerServer) ListClusters(ctx context.Context, req *ListClustersRequest) (*ListClustersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListClusters not implemented") -} -func (*UnimplementedClusterManagerServer) GetCluster(ctx context.Context, req *GetClusterRequest) (*Cluster, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCluster not implemented") -} -func (*UnimplementedClusterManagerServer) CreateCluster(ctx context.Context, req *CreateClusterRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateCluster not implemented") -} -func (*UnimplementedClusterManagerServer) UpdateCluster(ctx context.Context, req *UpdateClusterRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateCluster not implemented") -} -func (*UnimplementedClusterManagerServer) UpdateNodePool(ctx context.Context, req *UpdateNodePoolRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateNodePool not implemented") -} -func (*UnimplementedClusterManagerServer) SetNodePoolAutoscaling(ctx context.Context, req *SetNodePoolAutoscalingRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetNodePoolAutoscaling not implemented") -} -func (*UnimplementedClusterManagerServer) SetLoggingService(ctx context.Context, req *SetLoggingServiceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetLoggingService not implemented") -} -func (*UnimplementedClusterManagerServer) SetMonitoringService(ctx context.Context, req *SetMonitoringServiceRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetMonitoringService not implemented") -} -func (*UnimplementedClusterManagerServer) SetAddonsConfig(ctx context.Context, req *SetAddonsConfigRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetAddonsConfig not implemented") -} -func (*UnimplementedClusterManagerServer) SetLocations(ctx context.Context, req *SetLocationsRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetLocations not implemented") -} -func (*UnimplementedClusterManagerServer) UpdateMaster(ctx context.Context, req *UpdateMasterRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateMaster not implemented") -} -func (*UnimplementedClusterManagerServer) SetMasterAuth(ctx context.Context, req *SetMasterAuthRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetMasterAuth not implemented") -} -func (*UnimplementedClusterManagerServer) DeleteCluster(ctx context.Context, req *DeleteClusterRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteCluster not implemented") -} -func (*UnimplementedClusterManagerServer) ListOperations(ctx context.Context, req *ListOperationsRequest) (*ListOperationsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListOperations not implemented") -} -func (*UnimplementedClusterManagerServer) GetOperation(ctx context.Context, req *GetOperationRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetOperation not implemented") -} -func (*UnimplementedClusterManagerServer) CancelOperation(ctx context.Context, req *CancelOperationRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method CancelOperation not implemented") -} -func (*UnimplementedClusterManagerServer) GetServerConfig(ctx context.Context, req *GetServerConfigRequest) (*ServerConfig, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetServerConfig not implemented") -} -func (*UnimplementedClusterManagerServer) ListNodePools(ctx context.Context, req *ListNodePoolsRequest) (*ListNodePoolsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListNodePools not implemented") -} -func (*UnimplementedClusterManagerServer) GetNodePool(ctx context.Context, req *GetNodePoolRequest) (*NodePool, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNodePool not implemented") -} -func (*UnimplementedClusterManagerServer) CreateNodePool(ctx context.Context, req *CreateNodePoolRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateNodePool not implemented") -} -func (*UnimplementedClusterManagerServer) DeleteNodePool(ctx context.Context, req *DeleteNodePoolRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteNodePool not implemented") -} -func (*UnimplementedClusterManagerServer) RollbackNodePoolUpgrade(ctx context.Context, req *RollbackNodePoolUpgradeRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method RollbackNodePoolUpgrade not implemented") -} -func (*UnimplementedClusterManagerServer) SetNodePoolManagement(ctx context.Context, req *SetNodePoolManagementRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetNodePoolManagement not implemented") -} -func (*UnimplementedClusterManagerServer) SetLabels(ctx context.Context, req *SetLabelsRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetLabels not implemented") -} -func (*UnimplementedClusterManagerServer) SetLegacyAbac(ctx context.Context, req *SetLegacyAbacRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetLegacyAbac not implemented") -} -func (*UnimplementedClusterManagerServer) StartIPRotation(ctx context.Context, req *StartIPRotationRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method StartIPRotation not implemented") -} -func (*UnimplementedClusterManagerServer) CompleteIPRotation(ctx context.Context, req *CompleteIPRotationRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CompleteIPRotation not implemented") -} -func (*UnimplementedClusterManagerServer) SetNodePoolSize(ctx context.Context, req *SetNodePoolSizeRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetNodePoolSize not implemented") -} -func (*UnimplementedClusterManagerServer) SetNetworkPolicy(ctx context.Context, req *SetNetworkPolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetNetworkPolicy not implemented") -} -func (*UnimplementedClusterManagerServer) SetMaintenancePolicy(ctx context.Context, req *SetMaintenancePolicyRequest) (*Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetMaintenancePolicy not implemented") -} -func (*UnimplementedClusterManagerServer) ListUsableSubnetworks(ctx context.Context, req *ListUsableSubnetworksRequest) (*ListUsableSubnetworksResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListUsableSubnetworks not implemented") -} -func (*UnimplementedClusterManagerServer) ListLocations(ctx context.Context, req *ListLocationsRequest) (*ListLocationsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListLocations not implemented") -} - -func RegisterClusterManagerServer(s *grpc.Server, srv ClusterManagerServer) { - s.RegisterService(&_ClusterManager_serviceDesc, srv) -} - -func _ClusterManager_ListClusters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListClustersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).ListClusters(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1beta1.ClusterManager/ListClusters", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).ListClusters(ctx, req.(*ListClustersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_GetCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetClusterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).GetCluster(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1beta1.ClusterManager/GetCluster", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).GetCluster(ctx, req.(*GetClusterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_CreateCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateClusterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).CreateCluster(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1beta1.ClusterManager/CreateCluster", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).CreateCluster(ctx, req.(*CreateClusterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_UpdateCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateClusterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).UpdateCluster(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1beta1.ClusterManager/UpdateCluster", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).UpdateCluster(ctx, req.(*UpdateClusterRequest)) - } - 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 { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).SetMasterAuth(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1beta1.ClusterManager/SetMasterAuth", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).SetMasterAuth(ctx, req.(*SetMasterAuthRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_DeleteCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteClusterRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).DeleteCluster(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1beta1.ClusterManager/DeleteCluster", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).DeleteCluster(ctx, req.(*DeleteClusterRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_ListOperations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListOperationsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).ListOperations(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1beta1.ClusterManager/ListOperations", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).ListOperations(ctx, req.(*ListOperationsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_GetOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetOperationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).GetOperation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1beta1.ClusterManager/GetOperation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).GetOperation(ctx, req.(*GetOperationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_CancelOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CancelOperationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).CancelOperation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1beta1.ClusterManager/CancelOperation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).CancelOperation(ctx, req.(*CancelOperationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_GetServerConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetServerConfigRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).GetServerConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1beta1.ClusterManager/GetServerConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).GetServerConfig(ctx, req.(*GetServerConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_ListNodePools_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListNodePoolsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).ListNodePools(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1beta1.ClusterManager/ListNodePools", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).ListNodePools(ctx, req.(*ListNodePoolsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_GetNodePool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetNodePoolRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).GetNodePool(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1beta1.ClusterManager/GetNodePool", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).GetNodePool(ctx, req.(*GetNodePoolRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_CreateNodePool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateNodePoolRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).CreateNodePool(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1beta1.ClusterManager/CreateNodePool", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).CreateNodePool(ctx, req.(*CreateNodePoolRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_DeleteNodePool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteNodePoolRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).DeleteNodePool(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1beta1.ClusterManager/DeleteNodePool", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).DeleteNodePool(ctx, req.(*DeleteNodePoolRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_RollbackNodePoolUpgrade_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RollbackNodePoolUpgradeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).RollbackNodePoolUpgrade(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1beta1.ClusterManager/RollbackNodePoolUpgrade", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).RollbackNodePoolUpgrade(ctx, req.(*RollbackNodePoolUpgradeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_SetNodePoolManagement_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetNodePoolManagementRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).SetNodePoolManagement(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1beta1.ClusterManager/SetNodePoolManagement", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).SetNodePoolManagement(ctx, req.(*SetNodePoolManagementRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_SetLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetLabelsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).SetLabels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1beta1.ClusterManager/SetLabels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).SetLabels(ctx, req.(*SetLabelsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_SetLegacyAbac_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetLegacyAbacRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).SetLegacyAbac(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1beta1.ClusterManager/SetLegacyAbac", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).SetLegacyAbac(ctx, req.(*SetLegacyAbacRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_StartIPRotation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(StartIPRotationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).StartIPRotation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1beta1.ClusterManager/StartIPRotation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).StartIPRotation(ctx, req.(*StartIPRotationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_CompleteIPRotation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CompleteIPRotationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).CompleteIPRotation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1beta1.ClusterManager/CompleteIPRotation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).CompleteIPRotation(ctx, req.(*CompleteIPRotationRequest)) - } - 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 { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).SetNetworkPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1beta1.ClusterManager/SetNetworkPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).SetNetworkPolicy(ctx, req.(*SetNetworkPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ClusterManager_SetMaintenancePolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetMaintenancePolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterManagerServer).SetMaintenancePolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.container.v1beta1.ClusterManager/SetMaintenancePolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterManagerServer).SetMaintenancePolicy(ctx, req.(*SetMaintenancePolicyRequest)) - } - 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), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListClusters", - Handler: _ClusterManager_ListClusters_Handler, - }, - { - MethodName: "GetCluster", - Handler: _ClusterManager_GetCluster_Handler, - }, - { - MethodName: "CreateCluster", - Handler: _ClusterManager_CreateCluster_Handler, - }, - { - 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, - }, - { - MethodName: "DeleteCluster", - Handler: _ClusterManager_DeleteCluster_Handler, - }, - { - MethodName: "ListOperations", - Handler: _ClusterManager_ListOperations_Handler, - }, - { - MethodName: "GetOperation", - Handler: _ClusterManager_GetOperation_Handler, - }, - { - MethodName: "CancelOperation", - Handler: _ClusterManager_CancelOperation_Handler, - }, - { - MethodName: "GetServerConfig", - Handler: _ClusterManager_GetServerConfig_Handler, - }, - { - MethodName: "ListNodePools", - Handler: _ClusterManager_ListNodePools_Handler, - }, - { - MethodName: "GetNodePool", - Handler: _ClusterManager_GetNodePool_Handler, - }, - { - MethodName: "CreateNodePool", - Handler: _ClusterManager_CreateNodePool_Handler, - }, - { - MethodName: "DeleteNodePool", - Handler: _ClusterManager_DeleteNodePool_Handler, - }, - { - MethodName: "RollbackNodePoolUpgrade", - Handler: _ClusterManager_RollbackNodePoolUpgrade_Handler, - }, - { - MethodName: "SetNodePoolManagement", - Handler: _ClusterManager_SetNodePoolManagement_Handler, - }, - { - MethodName: "SetLabels", - Handler: _ClusterManager_SetLabels_Handler, - }, - { - MethodName: "SetLegacyAbac", - Handler: _ClusterManager_SetLegacyAbac_Handler, - }, - { - MethodName: "StartIPRotation", - Handler: _ClusterManager_StartIPRotation_Handler, - }, - { - MethodName: "CompleteIPRotation", - Handler: _ClusterManager_CompleteIPRotation_Handler, - }, - { - MethodName: "SetNodePoolSize", - Handler: _ClusterManager_SetNodePoolSize_Handler, - }, - { - MethodName: "SetNetworkPolicy", - Handler: _ClusterManager_SetNetworkPolicy_Handler, - }, - { - 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", -} 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 deleted file mode 100644 index 7bf29868..00000000 --- a/vendor/google.golang.org/genproto/googleapis/datastore/admin/v1/datastore_admin.pb.go +++ /dev/null @@ -1,1260 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/datastore/admin/v1/datastore_admin.proto - -package admin - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Operation types. -type OperationType int32 - -const ( - // Unspecified. - OperationType_OPERATION_TYPE_UNSPECIFIED OperationType = 0 - // ExportEntities. - 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_891b89db06fa8774, []int{0} -} - -// The various possible states for an ongoing Operation. -type CommonMetadata_State int32 - -const ( - // Unspecified. - CommonMetadata_STATE_UNSPECIFIED CommonMetadata_State = 0 - // Request is being prepared for processing. - CommonMetadata_INITIALIZING CommonMetadata_State = 1 - // Request is actively being processed. - CommonMetadata_PROCESSING CommonMetadata_State = 2 - // Request is in the process of being cancelled after user called - // google.longrunning.Operations.CancelOperation on the operation. - CommonMetadata_CANCELLING CommonMetadata_State = 3 - // Request has been processed and is in its finalization stage. - CommonMetadata_FINALIZING CommonMetadata_State = 4 - // Request has completed successfully. - CommonMetadata_SUCCESSFUL CommonMetadata_State = 5 - // Request has finished being processed, but encountered an error. - CommonMetadata_FAILED CommonMetadata_State = 6 - // Request has finished being cancelled after user called - // google.longrunning.Operations.CancelOperation. - CommonMetadata_CANCELLED CommonMetadata_State = 7 -) - -var CommonMetadata_State_name = map[int32]string{ - 0: "STATE_UNSPECIFIED", - 1: "INITIALIZING", - 2: "PROCESSING", - 3: "CANCELLING", - 4: "FINALIZING", - 5: "SUCCESSFUL", - 6: "FAILED", - 7: "CANCELLED", -} - -var CommonMetadata_State_value = map[string]int32{ - "STATE_UNSPECIFIED": 0, - "INITIALIZING": 1, - "PROCESSING": 2, - "CANCELLING": 3, - "FINALIZING": 4, - "SUCCESSFUL": 5, - "FAILED": 6, - "CANCELLED": 7, -} - -func (x CommonMetadata_State) String() string { - return proto.EnumName(CommonMetadata_State_name, int32(x)) -} - -func (CommonMetadata_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_891b89db06fa8774, []int{0, 0} -} - -// Metadata common to all Datastore Admin operations. -type CommonMetadata 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. - EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - // The type of the operation. Can be used as a filter in - // ListOperationsRequest. - OperationType OperationType `protobuf:"varint,3,opt,name=operation_type,json=operationType,proto3,enum=google.datastore.admin.v1.OperationType" json:"operation_type,omitempty"` - // The client-assigned labels which were provided when the operation was - // created. May also include additional 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"` - // The current state of the Operation. - State CommonMetadata_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.datastore.admin.v1.CommonMetadata_State" json:"state,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_891b89db06fa8774, []int{0} -} - -func (m *CommonMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommonMetadata.Unmarshal(m, b) -} -func (m *CommonMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommonMetadata.Marshal(b, m, deterministic) -} -func (m *CommonMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommonMetadata.Merge(m, src) -} -func (m *CommonMetadata) XXX_Size() int { - return xxx_messageInfo_CommonMetadata.Size(m) -} -func (m *CommonMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_CommonMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_CommonMetadata proto.InternalMessageInfo - -func (m *CommonMetadata) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *CommonMetadata) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -func (m *CommonMetadata) GetOperationType() OperationType { - if m != nil { - return m.OperationType - } - return OperationType_OPERATION_TYPE_UNSPECIFIED -} - -func (m *CommonMetadata) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -func (m *CommonMetadata) GetState() CommonMetadata_State { - if m != nil { - return m.State - } - return CommonMetadata_STATE_UNSPECIFIED -} - -// Measures the progress of a particular metric. -type Progress struct { - // The amount of work that has been completed. Note that this may be greater - // than work_estimated. - WorkCompleted int64 `protobuf:"varint,1,opt,name=work_completed,json=workCompleted,proto3" json:"work_completed,omitempty"` - // An estimate of how much work needs to be performed. May be zero if the - // work estimate is unavailable. - WorkEstimated int64 `protobuf:"varint,2,opt,name=work_estimated,json=workEstimated,proto3" json:"work_estimated,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_891b89db06fa8774, []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 (m *Progress) XXX_Merge(src proto.Message) { - xxx_messageInfo_Progress.Merge(m, 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) GetWorkCompleted() int64 { - if m != nil { - return m.WorkCompleted - } - return 0 -} - -func (m *Progress) GetWorkEstimated() int64 { - if m != nil { - return m.WorkEstimated - } - return 0 -} - -// The request for -// [google.datastore.admin.v1.DatastoreAdmin.ExportEntities][google.datastore.admin.v1.DatastoreAdmin.ExportEntities]. -type ExportEntitiesRequest 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"` - // Client-assigned 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"` - // Description of what data from the project is included in the export. - EntityFilter *EntityFilter `protobuf:"bytes,3,opt,name=entity_filter,json=entityFilter,proto3" json:"entity_filter,omitempty"` - // Location for the export metadata and data files. - // - // The full resource URL of the external storage location. Currently, only - // Google Cloud Storage is supported. So output_url_prefix should be of the - // form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the - // name of the Cloud Storage bucket and `NAMESPACE_PATH` is an optional Cloud - // Storage namespace path (this is not a Cloud Datastore namespace). For more - // information about Cloud Storage namespace paths, see - // [Object name - // considerations](https://cloud.google.com/storage/docs/naming#object-considerations). - // - // The resulting files will be nested deeper than the specified URL prefix. - // The final output URL will be provided in the - // [google.datastore.admin.v1.ExportEntitiesResponse.output_url][google.datastore.admin.v1.ExportEntitiesResponse.output_url] - // field. That value should be used for subsequent ImportEntities operations. - // - // By nesting the data files deeper, the same Cloud Storage bucket can be used - // in multiple ExportEntities operations without conflict. - OutputUrlPrefix string `protobuf:"bytes,4,opt,name=output_url_prefix,json=outputUrlPrefix,proto3" json:"output_url_prefix,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_891b89db06fa8774, []int{2} -} - -func (m *ExportEntitiesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExportEntitiesRequest.Unmarshal(m, b) -} -func (m *ExportEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExportEntitiesRequest.Marshal(b, m, deterministic) -} -func (m *ExportEntitiesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportEntitiesRequest.Merge(m, src) -} -func (m *ExportEntitiesRequest) XXX_Size() int { - return xxx_messageInfo_ExportEntitiesRequest.Size(m) -} -func (m *ExportEntitiesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ExportEntitiesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ExportEntitiesRequest proto.InternalMessageInfo - -func (m *ExportEntitiesRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *ExportEntitiesRequest) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -func (m *ExportEntitiesRequest) GetEntityFilter() *EntityFilter { - if m != nil { - return m.EntityFilter - } - return nil -} - -func (m *ExportEntitiesRequest) GetOutputUrlPrefix() string { - if m != nil { - return m.OutputUrlPrefix - } - return "" -} - -// The request for -// [google.datastore.admin.v1.DatastoreAdmin.ImportEntities][google.datastore.admin.v1.DatastoreAdmin.ImportEntities]. -type ImportEntitiesRequest 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"` - // Client-assigned 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"` - // The full resource URL of the external storage location. Currently, only - // Google Cloud Storage is supported. So input_url should be of the form: - // `gs://BUCKET_NAME[/NAMESPACE_PATH]/OVERALL_EXPORT_METADATA_FILE`, where - // `BUCKET_NAME` is the name of the Cloud Storage bucket, `NAMESPACE_PATH` is - // an optional Cloud Storage namespace path (this is not a Cloud Datastore - // namespace), and `OVERALL_EXPORT_METADATA_FILE` is the metadata file written - // by the ExportEntities operation. For more information about Cloud Storage - // namespace paths, see - // [Object name - // considerations](https://cloud.google.com/storage/docs/naming#object-considerations). - // - // For more information, see - // [google.datastore.admin.v1.ExportEntitiesResponse.output_url][google.datastore.admin.v1.ExportEntitiesResponse.output_url]. - InputUrl string `protobuf:"bytes,3,opt,name=input_url,json=inputUrl,proto3" json:"input_url,omitempty"` - // Optionally specify which kinds/namespaces are to be imported. If provided, - // the list must be a subset of the EntityFilter used in creating the export, - // otherwise a FAILED_PRECONDITION error will be returned. If no filter is - // specified then all entities from the export are imported. - EntityFilter *EntityFilter `protobuf:"bytes,4,opt,name=entity_filter,json=entityFilter,proto3" json:"entity_filter,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_891b89db06fa8774, []int{3} -} - -func (m *ImportEntitiesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImportEntitiesRequest.Unmarshal(m, b) -} -func (m *ImportEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImportEntitiesRequest.Marshal(b, m, deterministic) -} -func (m *ImportEntitiesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportEntitiesRequest.Merge(m, src) -} -func (m *ImportEntitiesRequest) XXX_Size() int { - return xxx_messageInfo_ImportEntitiesRequest.Size(m) -} -func (m *ImportEntitiesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ImportEntitiesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ImportEntitiesRequest proto.InternalMessageInfo - -func (m *ImportEntitiesRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *ImportEntitiesRequest) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -func (m *ImportEntitiesRequest) GetInputUrl() string { - if m != nil { - return m.InputUrl - } - return "" -} - -func (m *ImportEntitiesRequest) GetEntityFilter() *EntityFilter { - if m != nil { - return m.EntityFilter - } - return nil -} - -// The response for -// [google.datastore.admin.v1.DatastoreAdmin.ExportEntities][google.datastore.admin.v1.DatastoreAdmin.ExportEntities]. -type ExportEntitiesResponse struct { - // Location of the output metadata file. This can be used to begin an import - // into Cloud Datastore (this project or another project). See - // [google.datastore.admin.v1.ImportEntitiesRequest.input_url][google.datastore.admin.v1.ImportEntitiesRequest.input_url]. - // Only present if the operation completed successfully. - OutputUrl string `protobuf:"bytes,1,opt,name=output_url,json=outputUrl,proto3" json:"output_url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_891b89db06fa8774, []int{4} -} - -func (m *ExportEntitiesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExportEntitiesResponse.Unmarshal(m, b) -} -func (m *ExportEntitiesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExportEntitiesResponse.Marshal(b, m, deterministic) -} -func (m *ExportEntitiesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportEntitiesResponse.Merge(m, src) -} -func (m *ExportEntitiesResponse) XXX_Size() int { - return xxx_messageInfo_ExportEntitiesResponse.Size(m) -} -func (m *ExportEntitiesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ExportEntitiesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ExportEntitiesResponse proto.InternalMessageInfo - -func (m *ExportEntitiesResponse) GetOutputUrl() string { - if m != nil { - return m.OutputUrl - } - return "" -} - -// Metadata for ExportEntities operations. -type ExportEntitiesMetadata 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"` - // An estimate of the number of bytes processed. - ProgressBytes *Progress `protobuf:"bytes,3,opt,name=progress_bytes,json=progressBytes,proto3" json:"progress_bytes,omitempty"` - // Description of which entities are being exported. - EntityFilter *EntityFilter `protobuf:"bytes,4,opt,name=entity_filter,json=entityFilter,proto3" json:"entity_filter,omitempty"` - // Location for the export metadata and data files. This will be the same - // value as the - // [google.datastore.admin.v1.ExportEntitiesRequest.output_url_prefix][google.datastore.admin.v1.ExportEntitiesRequest.output_url_prefix] - // field. The final output location is provided in - // [google.datastore.admin.v1.ExportEntitiesResponse.output_url][google.datastore.admin.v1.ExportEntitiesResponse.output_url]. - OutputUrlPrefix string `protobuf:"bytes,5,opt,name=output_url_prefix,json=outputUrlPrefix,proto3" json:"output_url_prefix,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_891b89db06fa8774, []int{5} -} - -func (m *ExportEntitiesMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExportEntitiesMetadata.Unmarshal(m, b) -} -func (m *ExportEntitiesMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExportEntitiesMetadata.Marshal(b, m, deterministic) -} -func (m *ExportEntitiesMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportEntitiesMetadata.Merge(m, src) -} -func (m *ExportEntitiesMetadata) XXX_Size() int { - return xxx_messageInfo_ExportEntitiesMetadata.Size(m) -} -func (m *ExportEntitiesMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_ExportEntitiesMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_ExportEntitiesMetadata proto.InternalMessageInfo - -func (m *ExportEntitiesMetadata) GetCommon() *CommonMetadata { - if m != nil { - return m.Common - } - return nil -} - -func (m *ExportEntitiesMetadata) GetProgressEntities() *Progress { - if m != nil { - return m.ProgressEntities - } - return nil -} - -func (m *ExportEntitiesMetadata) GetProgressBytes() *Progress { - if m != nil { - return m.ProgressBytes - } - return nil -} - -func (m *ExportEntitiesMetadata) GetEntityFilter() *EntityFilter { - if m != nil { - return m.EntityFilter - } - return nil -} - -func (m *ExportEntitiesMetadata) GetOutputUrlPrefix() string { - if m != nil { - return m.OutputUrlPrefix - } - return "" -} - -// Metadata for ImportEntities operations. -type ImportEntitiesMetadata 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"` - // An estimate of the number of bytes processed. - ProgressBytes *Progress `protobuf:"bytes,3,opt,name=progress_bytes,json=progressBytes,proto3" json:"progress_bytes,omitempty"` - // Description of which entities are being imported. - EntityFilter *EntityFilter `protobuf:"bytes,4,opt,name=entity_filter,json=entityFilter,proto3" json:"entity_filter,omitempty"` - // The location of the import metadata file. This will be the same value as - // the - // [google.datastore.admin.v1.ExportEntitiesResponse.output_url][google.datastore.admin.v1.ExportEntitiesResponse.output_url] - // field. - InputUrl string `protobuf:"bytes,5,opt,name=input_url,json=inputUrl,proto3" json:"input_url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_891b89db06fa8774, []int{6} -} - -func (m *ImportEntitiesMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImportEntitiesMetadata.Unmarshal(m, b) -} -func (m *ImportEntitiesMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImportEntitiesMetadata.Marshal(b, m, deterministic) -} -func (m *ImportEntitiesMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportEntitiesMetadata.Merge(m, src) -} -func (m *ImportEntitiesMetadata) XXX_Size() int { - return xxx_messageInfo_ImportEntitiesMetadata.Size(m) -} -func (m *ImportEntitiesMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_ImportEntitiesMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_ImportEntitiesMetadata proto.InternalMessageInfo - -func (m *ImportEntitiesMetadata) GetCommon() *CommonMetadata { - if m != nil { - return m.Common - } - return nil -} - -func (m *ImportEntitiesMetadata) GetProgressEntities() *Progress { - if m != nil { - return m.ProgressEntities - } - return nil -} - -func (m *ImportEntitiesMetadata) GetProgressBytes() *Progress { - if m != nil { - return m.ProgressBytes - } - return nil -} - -func (m *ImportEntitiesMetadata) GetEntityFilter() *EntityFilter { - if m != nil { - return m.EntityFilter - } - return nil -} - -func (m *ImportEntitiesMetadata) GetInputUrl() string { - if m != nil { - return m.InputUrl - } - return "" -} - -// Identifies a subset of entities in a project. This is specified as -// combinations of kinds and namespaces (either or both of which may be all, as -// described in the following examples). -// Example usage: -// -// Entire project: -// kinds=[], namespace_ids=[] -// -// Kinds Foo and Bar in all namespaces: -// kinds=['Foo', 'Bar'], namespace_ids=[] -// -// Kinds Foo and Bar only in the default namespace: -// kinds=['Foo', 'Bar'], namespace_ids=[''] -// -// Kinds Foo and Bar in both the default and Baz namespaces: -// kinds=['Foo', 'Bar'], namespace_ids=['', 'Baz'] -// -// The entire Baz namespace: -// kinds=[], namespace_ids=['Baz'] -type EntityFilter struct { - // If empty, then this represents all kinds. - Kinds []string `protobuf:"bytes,1,rep,name=kinds,proto3" json:"kinds,omitempty"` - // An empty list represents all namespaces. This is the preferred - // usage for projects that don't use namespaces. - // - // An empty string element represents the default namespace. This should be - // used if the project has data in non-default namespaces, but doesn't want to - // include them. - // Each namespace in this list must be unique. - NamespaceIds []string `protobuf:"bytes,2,rep,name=namespace_ids,json=namespaceIds,proto3" json:"namespace_ids,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_891b89db06fa8774, []int{7} -} - -func (m *EntityFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EntityFilter.Unmarshal(m, b) -} -func (m *EntityFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EntityFilter.Marshal(b, m, deterministic) -} -func (m *EntityFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_EntityFilter.Merge(m, src) -} -func (m *EntityFilter) XXX_Size() int { - return xxx_messageInfo_EntityFilter.Size(m) -} -func (m *EntityFilter) XXX_DiscardUnknown() { - xxx_messageInfo_EntityFilter.DiscardUnknown(m) -} - -var xxx_messageInfo_EntityFilter proto.InternalMessageInfo - -func (m *EntityFilter) GetKinds() []string { - if m != nil { - return m.Kinds - } - return nil -} - -func (m *EntityFilter) GetNamespaceIds() []string { - if m != nil { - return m.NamespaceIds - } - 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_891b89db06fa8774, []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 (m *GetIndexRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetIndexRequest.Merge(m, 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_891b89db06fa8774, []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 (m *ListIndexesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListIndexesRequest.Merge(m, 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_891b89db06fa8774, []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 (m *ListIndexesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListIndexesResponse.Merge(m, 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_891b89db06fa8774, []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 (m *IndexOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_IndexOperationMetadata.Merge(m, 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.RegisterEnum("google.datastore.admin.v1.OperationType", OperationType_name, OperationType_value) - proto.RegisterEnum("google.datastore.admin.v1.CommonMetadata_State", CommonMetadata_State_name, CommonMetadata_State_value) - proto.RegisterType((*CommonMetadata)(nil), "google.datastore.admin.v1.CommonMetadata") - proto.RegisterMapType((map[string]string)(nil), "google.datastore.admin.v1.CommonMetadata.LabelsEntry") - proto.RegisterType((*Progress)(nil), "google.datastore.admin.v1.Progress") - proto.RegisterType((*ExportEntitiesRequest)(nil), "google.datastore.admin.v1.ExportEntitiesRequest") - proto.RegisterMapType((map[string]string)(nil), "google.datastore.admin.v1.ExportEntitiesRequest.LabelsEntry") - proto.RegisterType((*ImportEntitiesRequest)(nil), "google.datastore.admin.v1.ImportEntitiesRequest") - proto.RegisterMapType((map[string]string)(nil), "google.datastore.admin.v1.ImportEntitiesRequest.LabelsEntry") - proto.RegisterType((*ExportEntitiesResponse)(nil), "google.datastore.admin.v1.ExportEntitiesResponse") - 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") -} - -func init() { - proto.RegisterFile("google/datastore/admin/v1/datastore_admin.proto", fileDescriptor_891b89db06fa8774) -} - -var fileDescriptor_891b89db06fa8774 = []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, 0xc0, 0x33, 0x70, 0xcc, 0x1b, 0x70, 0xe3, 0xce, - 0x99, 0x5b, 0xde, 0x80, 0x17, 0xa0, 0x66, 0xf4, 0xb1, 0xf6, 0xc6, 0xeb, 0x35, 0x6c, 0xa8, 0xe2, - 0xc0, 0xcd, 0xdd, 0xd3, 0xbf, 0xee, 0x9e, 0xdf, 0x74, 0xb7, 0x5b, 0xa0, 0x8c, 0x08, 0x19, 0xb9, - 0x58, 0xb1, 0x2d, 0x6a, 0x85, 0x94, 0x04, 0x58, 0xb1, 0xec, 0xb1, 0xe3, 0x29, 0x8f, 0x6e, 0x1e, - 0xab, 0x4c, 0xae, 0x92, 0xfd, 0x80, 0x50, 0x82, 0xae, 0x44, 0x00, 0x39, 0x3d, 0x95, 0xa3, 0xd3, - 0x47, 0x37, 0xeb, 0xaf, 0xc6, 0xbe, 0x2c,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xa1, 0x85, 0xff, 0xcf, 0x2f, 0x21, 0x21, 0x67, 0x3c, 0x93, 0x50, 0x21, - 0xe9, 0x68, 0xb4, 0xbd, 0x24, 0x95, 0x13, 0x6d, 0x5f, 0x3f, 0xb3, 0x15, 0xa4, 0xf7, 0x79, 0x1e, - 0x32, 0x7a, 0xfb, 0xd4, 0x3c, 0x94, 0xb8, 0x59, 0x94, 0x27, 0x49, 0x49, 0x3d, 0x45, 0x3f, 0x0a, - 0x50, 0x9a, 0xe9, 0x45, 0xf4, 0xce, 0x92, 0x38, 0x2f, 0x0e, 0x8f, 0xba, 0xbc, 0xaa, 0x79, 0xd4, - 0xe2, 0xd2, 0x0d, 0x9e, 0xe4, 0x26, 0x7a, 0xfd, 0xcc, 0x24, 0xef, 0xfc, 0x24, 0xc0, 0xd5, 0x03, - 0x32, 0x3e, 0x3d, 0xc0, 0x9d, 0x4b, 0xf3, 0xe5, 0x37, 0x60, 0x1f, 0x4b, 0x03, 0xe1, 0xc1, 0x27, - 0x31, 0x62, 0x44, 0x5c, 0xcb, 0x1b, 0xc9, 0x24, 0x18, 0x29, 0x23, 0xec, 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, -} - -// 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 - -// DatastoreAdminClient is the client API for DatastoreAdmin service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type DatastoreAdminClient interface { - // Exports a copy of all or a subset of entities from Google Cloud Datastore - // to another storage system, such as Google Cloud Storage. Recent updates to - // entities 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. - ExportEntities(ctx context.Context, in *ExportEntitiesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Imports entities into Google Cloud Datastore. Existing entities with the - // same key 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 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 { - cc *grpc.ClientConn -} - -func NewDatastoreAdminClient(cc *grpc.ClientConn) DatastoreAdminClient { - return &datastoreAdminClient{cc} -} - -func (c *datastoreAdminClient) ExportEntities(ctx context.Context, in *ExportEntitiesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.datastore.admin.v1.DatastoreAdmin/ExportEntities", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *datastoreAdminClient) ImportEntities(ctx context.Context, in *ImportEntitiesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.datastore.admin.v1.DatastoreAdmin/ImportEntities", in, out, opts...) - if err != nil { - return nil, err - } - 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 - // to another storage system, such as Google Cloud Storage. Recent updates to - // entities 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. - ExportEntities(context.Context, *ExportEntitiesRequest) (*longrunning.Operation, error) - // Imports entities into Google Cloud Datastore. Existing entities with the - // same key 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 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) -} - -// UnimplementedDatastoreAdminServer can be embedded to have forward compatible implementations. -type UnimplementedDatastoreAdminServer struct { -} - -func (*UnimplementedDatastoreAdminServer) ExportEntities(ctx context.Context, req *ExportEntitiesRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ExportEntities not implemented") -} -func (*UnimplementedDatastoreAdminServer) ImportEntities(ctx context.Context, req *ImportEntitiesRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ImportEntities not implemented") -} -func (*UnimplementedDatastoreAdminServer) GetIndex(ctx context.Context, req *GetIndexRequest) (*Index, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIndex not implemented") -} -func (*UnimplementedDatastoreAdminServer) ListIndexes(ctx context.Context, req *ListIndexesRequest) (*ListIndexesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListIndexes not implemented") -} - -func RegisterDatastoreAdminServer(s *grpc.Server, srv DatastoreAdminServer) { - s.RegisterService(&_DatastoreAdmin_serviceDesc, srv) -} - -func _DatastoreAdmin_ExportEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ExportEntitiesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DatastoreAdminServer).ExportEntities(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.datastore.admin.v1.DatastoreAdmin/ExportEntities", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatastoreAdminServer).ExportEntities(ctx, req.(*ExportEntitiesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DatastoreAdmin_ImportEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ImportEntitiesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DatastoreAdminServer).ImportEntities(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.datastore.admin.v1.DatastoreAdmin/ImportEntities", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatastoreAdminServer).ImportEntities(ctx, req.(*ImportEntitiesRequest)) - } - 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), - Methods: []grpc.MethodDesc{ - { - MethodName: "ExportEntities", - Handler: _DatastoreAdmin_ExportEntities_Handler, - }, - { - 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", -} 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 deleted file mode 100644 index fe283e35..00000000 --- a/vendor/google.golang.org/genproto/googleapis/datastore/admin/v1/index.pb.go +++ /dev/null @@ -1,335 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/datastore/admin/v1/index.proto - -package admin - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_809cc5775e1cdeb3, []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_809cc5775e1cdeb3, []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_809cc5775e1cdeb3, []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_809cc5775e1cdeb3, []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 (m *Index) XXX_Merge(src proto.Message) { - xxx_messageInfo_Index.Merge(m, 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_809cc5775e1cdeb3, []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 (m *Index_IndexedProperty) XXX_Merge(src proto.Message) { - xxx_messageInfo_Index_IndexedProperty.Merge(m, 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.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) - proto.RegisterType((*Index)(nil), "google.datastore.admin.v1.Index") - proto.RegisterType((*Index_IndexedProperty)(nil), "google.datastore.admin.v1.Index.IndexedProperty") -} - -func init() { - proto.RegisterFile("google/datastore/admin/v1/index.proto", fileDescriptor_809cc5775e1cdeb3) -} - -var fileDescriptor_809cc5775e1cdeb3 = []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, 0x0b, 0x49, 0x1c, 0xfa, 0x06, 0x7c, 0xea, 0xfb, 0xf0, 0x55, - 0x4a, 0x2e, 0x59, 0x1c, 0xc5, 0xd1, 0x27, 0xe1, 0x7b, 0xf7, 0xfd, 0xfc, 0xe3, 0xc3, 0x05, 0x1e, - 0xa7, 0x52, 0xa6, 0x1b, 0xee, 0x30, 0x5a, 0xd1, 0xb2, 0x92, 0x05, 0x77, 0x28, 0xdb, 0x66, 0xc2, - 0xb9, 0x99, 0x3b, 0x99, 0x60, 0xfc, 0xbb, 0x9d, 0x17, 0xb2, 0x92, 0x68, 0xd4, 0xc0, 0xec, 0x0e, - 0x66, 0x2b, 0x98, 0x7d, 0x33, 0x3f, 0x7f, 0xd8, 0x2a, 0xd0, 0x3c, 0x73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ff, 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 deleted file mode 100644 index d52df04b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/datastore/admin/v1beta1/datastore_admin.pb.go +++ /dev/null @@ -1,925 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/datastore/admin/v1beta1/datastore_admin.proto - -package admin - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Operation types. -type OperationType int32 - -const ( - // Unspecified. - OperationType_OPERATION_TYPE_UNSPECIFIED OperationType = 0 - // ExportEntities. - OperationType_EXPORT_ENTITIES OperationType = 1 - // ImportEntities. - OperationType_IMPORT_ENTITIES OperationType = 2 -) - -var OperationType_name = map[int32]string{ - 0: "OPERATION_TYPE_UNSPECIFIED", - 1: "EXPORT_ENTITIES", - 2: "IMPORT_ENTITIES", -} - -var OperationType_value = map[string]int32{ - "OPERATION_TYPE_UNSPECIFIED": 0, - "EXPORT_ENTITIES": 1, - "IMPORT_ENTITIES": 2, -} - -func (x OperationType) String() string { - return proto.EnumName(OperationType_name, int32(x)) -} - -func (OperationType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b63216f38706ce20, []int{0} -} - -// The various possible states for an ongoing Operation. -type CommonMetadata_State int32 - -const ( - // Unspecified. - CommonMetadata_STATE_UNSPECIFIED CommonMetadata_State = 0 - // Request is being prepared for processing. - CommonMetadata_INITIALIZING CommonMetadata_State = 1 - // Request is actively being processed. - CommonMetadata_PROCESSING CommonMetadata_State = 2 - // Request is in the process of being cancelled after user called - // google.longrunning.Operations.CancelOperation on the operation. - CommonMetadata_CANCELLING CommonMetadata_State = 3 - // Request has been processed and is in its finalization stage. - CommonMetadata_FINALIZING CommonMetadata_State = 4 - // Request has completed successfully. - CommonMetadata_SUCCESSFUL CommonMetadata_State = 5 - // Request has finished being processed, but encountered an error. - CommonMetadata_FAILED CommonMetadata_State = 6 - // Request has finished being cancelled after user called - // google.longrunning.Operations.CancelOperation. - CommonMetadata_CANCELLED CommonMetadata_State = 7 -) - -var CommonMetadata_State_name = map[int32]string{ - 0: "STATE_UNSPECIFIED", - 1: "INITIALIZING", - 2: "PROCESSING", - 3: "CANCELLING", - 4: "FINALIZING", - 5: "SUCCESSFUL", - 6: "FAILED", - 7: "CANCELLED", -} - -var CommonMetadata_State_value = map[string]int32{ - "STATE_UNSPECIFIED": 0, - "INITIALIZING": 1, - "PROCESSING": 2, - "CANCELLING": 3, - "FINALIZING": 4, - "SUCCESSFUL": 5, - "FAILED": 6, - "CANCELLED": 7, -} - -func (x CommonMetadata_State) String() string { - return proto.EnumName(CommonMetadata_State_name, int32(x)) -} - -func (CommonMetadata_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b63216f38706ce20, []int{0, 0} -} - -// Metadata common to all Datastore Admin operations. -type CommonMetadata 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. - EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - // The type of the operation. Can be used as a filter in - // ListOperationsRequest. - OperationType OperationType `protobuf:"varint,3,opt,name=operation_type,json=operationType,proto3,enum=google.datastore.admin.v1beta1.OperationType" json:"operation_type,omitempty"` - // The client-assigned labels which were provided when the operation was - // created. May also include additional 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"` - // The current state of the Operation. - State CommonMetadata_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.datastore.admin.v1beta1.CommonMetadata_State" json:"state,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b63216f38706ce20, []int{0} -} - -func (m *CommonMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommonMetadata.Unmarshal(m, b) -} -func (m *CommonMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommonMetadata.Marshal(b, m, deterministic) -} -func (m *CommonMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommonMetadata.Merge(m, src) -} -func (m *CommonMetadata) XXX_Size() int { - return xxx_messageInfo_CommonMetadata.Size(m) -} -func (m *CommonMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_CommonMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_CommonMetadata proto.InternalMessageInfo - -func (m *CommonMetadata) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *CommonMetadata) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -func (m *CommonMetadata) GetOperationType() OperationType { - if m != nil { - return m.OperationType - } - return OperationType_OPERATION_TYPE_UNSPECIFIED -} - -func (m *CommonMetadata) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -func (m *CommonMetadata) GetState() CommonMetadata_State { - if m != nil { - return m.State - } - return CommonMetadata_STATE_UNSPECIFIED -} - -// Measures the progress of a particular metric. -type Progress struct { - // The amount of work that has been completed. Note that this may be greater - // than work_estimated. - WorkCompleted int64 `protobuf:"varint,1,opt,name=work_completed,json=workCompleted,proto3" json:"work_completed,omitempty"` - // An estimate of how much work needs to be performed. May be zero if the - // work estimate is unavailable. - WorkEstimated int64 `protobuf:"varint,2,opt,name=work_estimated,json=workEstimated,proto3" json:"work_estimated,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_b63216f38706ce20, []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 (m *Progress) XXX_Merge(src proto.Message) { - xxx_messageInfo_Progress.Merge(m, 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) GetWorkCompleted() int64 { - if m != nil { - return m.WorkCompleted - } - return 0 -} - -func (m *Progress) GetWorkEstimated() int64 { - if m != nil { - return m.WorkEstimated - } - return 0 -} - -// The request for -// [google.datastore.admin.v1beta1.DatastoreAdmin.ExportEntities][google.datastore.admin.v1beta1.DatastoreAdmin.ExportEntities]. -type ExportEntitiesRequest 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"` - // Client-assigned 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"` - // Description of what data from the project is included in the export. - EntityFilter *EntityFilter `protobuf:"bytes,3,opt,name=entity_filter,json=entityFilter,proto3" json:"entity_filter,omitempty"` - // Location for the export metadata and data files. - // - // The full resource URL of the external storage location. Currently, only - // Google Cloud Storage is supported. So output_url_prefix should be of the - // form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the - // name of the Cloud Storage bucket and `NAMESPACE_PATH` is an optional Cloud - // Storage namespace path (this is not a Cloud Datastore namespace). For more - // information about Cloud Storage namespace paths, see - // [Object name - // considerations](https://cloud.google.com/storage/docs/naming#object-considerations). - // - // The resulting files will be nested deeper than the specified URL prefix. - // The final output URL will be provided in the - // [google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url][google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url] - // field. That value should be used for subsequent ImportEntities operations. - // - // By nesting the data files deeper, the same Cloud Storage bucket can be used - // in multiple ExportEntities operations without conflict. - OutputUrlPrefix string `protobuf:"bytes,4,opt,name=output_url_prefix,json=outputUrlPrefix,proto3" json:"output_url_prefix,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b63216f38706ce20, []int{2} -} - -func (m *ExportEntitiesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExportEntitiesRequest.Unmarshal(m, b) -} -func (m *ExportEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExportEntitiesRequest.Marshal(b, m, deterministic) -} -func (m *ExportEntitiesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportEntitiesRequest.Merge(m, src) -} -func (m *ExportEntitiesRequest) XXX_Size() int { - return xxx_messageInfo_ExportEntitiesRequest.Size(m) -} -func (m *ExportEntitiesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ExportEntitiesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ExportEntitiesRequest proto.InternalMessageInfo - -func (m *ExportEntitiesRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *ExportEntitiesRequest) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -func (m *ExportEntitiesRequest) GetEntityFilter() *EntityFilter { - if m != nil { - return m.EntityFilter - } - return nil -} - -func (m *ExportEntitiesRequest) GetOutputUrlPrefix() string { - if m != nil { - return m.OutputUrlPrefix - } - return "" -} - -// The request for -// [google.datastore.admin.v1beta1.DatastoreAdmin.ImportEntities][google.datastore.admin.v1beta1.DatastoreAdmin.ImportEntities]. -type ImportEntitiesRequest 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"` - // Client-assigned 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"` - // The full resource URL of the external storage location. Currently, only - // Google Cloud Storage is supported. So input_url should be of the form: - // `gs://BUCKET_NAME[/NAMESPACE_PATH]/OVERALL_EXPORT_METADATA_FILE`, where - // `BUCKET_NAME` is the name of the Cloud Storage bucket, `NAMESPACE_PATH` is - // an optional Cloud Storage namespace path (this is not a Cloud Datastore - // namespace), and `OVERALL_EXPORT_METADATA_FILE` is the metadata file written - // by the ExportEntities operation. For more information about Cloud Storage - // namespace paths, see - // [Object name - // considerations](https://cloud.google.com/storage/docs/naming#object-considerations). - // - // For more information, see - // [google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url][google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url]. - InputUrl string `protobuf:"bytes,3,opt,name=input_url,json=inputUrl,proto3" json:"input_url,omitempty"` - // Optionally specify which kinds/namespaces are to be imported. If provided, - // the list must be a subset of the EntityFilter used in creating the export, - // otherwise a FAILED_PRECONDITION error will be returned. If no filter is - // specified then all entities from the export are imported. - EntityFilter *EntityFilter `protobuf:"bytes,4,opt,name=entity_filter,json=entityFilter,proto3" json:"entity_filter,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b63216f38706ce20, []int{3} -} - -func (m *ImportEntitiesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImportEntitiesRequest.Unmarshal(m, b) -} -func (m *ImportEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImportEntitiesRequest.Marshal(b, m, deterministic) -} -func (m *ImportEntitiesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportEntitiesRequest.Merge(m, src) -} -func (m *ImportEntitiesRequest) XXX_Size() int { - return xxx_messageInfo_ImportEntitiesRequest.Size(m) -} -func (m *ImportEntitiesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ImportEntitiesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ImportEntitiesRequest proto.InternalMessageInfo - -func (m *ImportEntitiesRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *ImportEntitiesRequest) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -func (m *ImportEntitiesRequest) GetInputUrl() string { - if m != nil { - return m.InputUrl - } - return "" -} - -func (m *ImportEntitiesRequest) GetEntityFilter() *EntityFilter { - if m != nil { - return m.EntityFilter - } - return nil -} - -// The response for -// [google.datastore.admin.v1beta1.DatastoreAdmin.ExportEntities][google.datastore.admin.v1beta1.DatastoreAdmin.ExportEntities]. -type ExportEntitiesResponse struct { - // Location of the output metadata file. This can be used to begin an import - // into Cloud Datastore (this project or another project). See - // [google.datastore.admin.v1beta1.ImportEntitiesRequest.input_url][google.datastore.admin.v1beta1.ImportEntitiesRequest.input_url]. - // Only present if the operation completed successfully. - OutputUrl string `protobuf:"bytes,1,opt,name=output_url,json=outputUrl,proto3" json:"output_url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b63216f38706ce20, []int{4} -} - -func (m *ExportEntitiesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExportEntitiesResponse.Unmarshal(m, b) -} -func (m *ExportEntitiesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExportEntitiesResponse.Marshal(b, m, deterministic) -} -func (m *ExportEntitiesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportEntitiesResponse.Merge(m, src) -} -func (m *ExportEntitiesResponse) XXX_Size() int { - return xxx_messageInfo_ExportEntitiesResponse.Size(m) -} -func (m *ExportEntitiesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ExportEntitiesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ExportEntitiesResponse proto.InternalMessageInfo - -func (m *ExportEntitiesResponse) GetOutputUrl() string { - if m != nil { - return m.OutputUrl - } - return "" -} - -// Metadata for ExportEntities operations. -type ExportEntitiesMetadata 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"` - // An estimate of the number of bytes processed. - ProgressBytes *Progress `protobuf:"bytes,3,opt,name=progress_bytes,json=progressBytes,proto3" json:"progress_bytes,omitempty"` - // Description of which entities are being exported. - EntityFilter *EntityFilter `protobuf:"bytes,4,opt,name=entity_filter,json=entityFilter,proto3" json:"entity_filter,omitempty"` - // Location for the export metadata and data files. This will be the same - // value as the - // [google.datastore.admin.v1beta1.ExportEntitiesRequest.output_url_prefix][google.datastore.admin.v1beta1.ExportEntitiesRequest.output_url_prefix] - // field. The final output location is provided in - // [google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url][google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url]. - OutputUrlPrefix string `protobuf:"bytes,5,opt,name=output_url_prefix,json=outputUrlPrefix,proto3" json:"output_url_prefix,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b63216f38706ce20, []int{5} -} - -func (m *ExportEntitiesMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExportEntitiesMetadata.Unmarshal(m, b) -} -func (m *ExportEntitiesMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExportEntitiesMetadata.Marshal(b, m, deterministic) -} -func (m *ExportEntitiesMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportEntitiesMetadata.Merge(m, src) -} -func (m *ExportEntitiesMetadata) XXX_Size() int { - return xxx_messageInfo_ExportEntitiesMetadata.Size(m) -} -func (m *ExportEntitiesMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_ExportEntitiesMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_ExportEntitiesMetadata proto.InternalMessageInfo - -func (m *ExportEntitiesMetadata) GetCommon() *CommonMetadata { - if m != nil { - return m.Common - } - return nil -} - -func (m *ExportEntitiesMetadata) GetProgressEntities() *Progress { - if m != nil { - return m.ProgressEntities - } - return nil -} - -func (m *ExportEntitiesMetadata) GetProgressBytes() *Progress { - if m != nil { - return m.ProgressBytes - } - return nil -} - -func (m *ExportEntitiesMetadata) GetEntityFilter() *EntityFilter { - if m != nil { - return m.EntityFilter - } - return nil -} - -func (m *ExportEntitiesMetadata) GetOutputUrlPrefix() string { - if m != nil { - return m.OutputUrlPrefix - } - return "" -} - -// Metadata for ImportEntities operations. -type ImportEntitiesMetadata 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"` - // An estimate of the number of bytes processed. - ProgressBytes *Progress `protobuf:"bytes,3,opt,name=progress_bytes,json=progressBytes,proto3" json:"progress_bytes,omitempty"` - // Description of which entities are being imported. - EntityFilter *EntityFilter `protobuf:"bytes,4,opt,name=entity_filter,json=entityFilter,proto3" json:"entity_filter,omitempty"` - // The location of the import metadata file. This will be the same value as - // the - // [google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url][google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url] - // field. - InputUrl string `protobuf:"bytes,5,opt,name=input_url,json=inputUrl,proto3" json:"input_url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b63216f38706ce20, []int{6} -} - -func (m *ImportEntitiesMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImportEntitiesMetadata.Unmarshal(m, b) -} -func (m *ImportEntitiesMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImportEntitiesMetadata.Marshal(b, m, deterministic) -} -func (m *ImportEntitiesMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportEntitiesMetadata.Merge(m, src) -} -func (m *ImportEntitiesMetadata) XXX_Size() int { - return xxx_messageInfo_ImportEntitiesMetadata.Size(m) -} -func (m *ImportEntitiesMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_ImportEntitiesMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_ImportEntitiesMetadata proto.InternalMessageInfo - -func (m *ImportEntitiesMetadata) GetCommon() *CommonMetadata { - if m != nil { - return m.Common - } - return nil -} - -func (m *ImportEntitiesMetadata) GetProgressEntities() *Progress { - if m != nil { - return m.ProgressEntities - } - return nil -} - -func (m *ImportEntitiesMetadata) GetProgressBytes() *Progress { - if m != nil { - return m.ProgressBytes - } - return nil -} - -func (m *ImportEntitiesMetadata) GetEntityFilter() *EntityFilter { - if m != nil { - return m.EntityFilter - } - return nil -} - -func (m *ImportEntitiesMetadata) GetInputUrl() string { - if m != nil { - return m.InputUrl - } - return "" -} - -// Identifies a subset of entities in a project. This is specified as -// combinations of kinds and namespaces (either or both of which may be all, as -// described in the following examples). -// Example usage: -// -// Entire project: -// kinds=[], namespace_ids=[] -// -// Kinds Foo and Bar in all namespaces: -// kinds=['Foo', 'Bar'], namespace_ids=[] -// -// Kinds Foo and Bar only in the default namespace: -// kinds=['Foo', 'Bar'], namespace_ids=[''] -// -// Kinds Foo and Bar in both the default and Baz namespaces: -// kinds=['Foo', 'Bar'], namespace_ids=['', 'Baz'] -// -// The entire Baz namespace: -// kinds=[], namespace_ids=['Baz'] -type EntityFilter struct { - // If empty, then this represents all kinds. - Kinds []string `protobuf:"bytes,1,rep,name=kinds,proto3" json:"kinds,omitempty"` - // An empty list represents all namespaces. This is the preferred - // usage for projects that don't use namespaces. - // - // An empty string element represents the default namespace. This should be - // used if the project has data in non-default namespaces, but doesn't want to - // include them. - // Each namespace in this list must be unique. - NamespaceIds []string `protobuf:"bytes,2,rep,name=namespace_ids,json=namespaceIds,proto3" json:"namespace_ids,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b63216f38706ce20, []int{7} -} - -func (m *EntityFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EntityFilter.Unmarshal(m, b) -} -func (m *EntityFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EntityFilter.Marshal(b, m, deterministic) -} -func (m *EntityFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_EntityFilter.Merge(m, src) -} -func (m *EntityFilter) XXX_Size() int { - return xxx_messageInfo_EntityFilter.Size(m) -} -func (m *EntityFilter) XXX_DiscardUnknown() { - xxx_messageInfo_EntityFilter.DiscardUnknown(m) -} - -var xxx_messageInfo_EntityFilter proto.InternalMessageInfo - -func (m *EntityFilter) GetKinds() []string { - if m != nil { - return m.Kinds - } - return nil -} - -func (m *EntityFilter) GetNamespaceIds() []string { - if m != nil { - return m.NamespaceIds - } - return nil -} - -func init() { - proto.RegisterEnum("google.datastore.admin.v1beta1.OperationType", OperationType_name, OperationType_value) - proto.RegisterEnum("google.datastore.admin.v1beta1.CommonMetadata_State", CommonMetadata_State_name, CommonMetadata_State_value) - proto.RegisterType((*CommonMetadata)(nil), "google.datastore.admin.v1beta1.CommonMetadata") - proto.RegisterMapType((map[string]string)(nil), "google.datastore.admin.v1beta1.CommonMetadata.LabelsEntry") - proto.RegisterType((*Progress)(nil), "google.datastore.admin.v1beta1.Progress") - proto.RegisterType((*ExportEntitiesRequest)(nil), "google.datastore.admin.v1beta1.ExportEntitiesRequest") - proto.RegisterMapType((map[string]string)(nil), "google.datastore.admin.v1beta1.ExportEntitiesRequest.LabelsEntry") - proto.RegisterType((*ImportEntitiesRequest)(nil), "google.datastore.admin.v1beta1.ImportEntitiesRequest") - proto.RegisterMapType((map[string]string)(nil), "google.datastore.admin.v1beta1.ImportEntitiesRequest.LabelsEntry") - proto.RegisterType((*ExportEntitiesResponse)(nil), "google.datastore.admin.v1beta1.ExportEntitiesResponse") - proto.RegisterType((*ExportEntitiesMetadata)(nil), "google.datastore.admin.v1beta1.ExportEntitiesMetadata") - proto.RegisterType((*ImportEntitiesMetadata)(nil), "google.datastore.admin.v1beta1.ImportEntitiesMetadata") - proto.RegisterType((*EntityFilter)(nil), "google.datastore.admin.v1beta1.EntityFilter") -} - -func init() { - proto.RegisterFile("google/datastore/admin/v1beta1/datastore_admin.proto", fileDescriptor_b63216f38706ce20) -} - -var fileDescriptor_b63216f38706ce20 = []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, - 0xd2, 0x6a, 0x05, 0x0e, 0x1b, 0x5a, 0x41, 0x97, 0x53, 0x36, 0x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, 0xd9, 0x73, 0xfb, 0x03, 0x6e, 0x7d, 0x2f, 0xbf, 0xf9, - 0x28, 0x61, 0xe9, 0x78, 0x64, 0xee, 0xa8, 0xd9, 0x4e, 0x2a, 0xdf, 0x4a, 0xfd, 0xf8, 0xe8, 0x84, - 0x05, 0x4f, 0x4a, 0x9c, 0xf6, 0xdd, 0xdf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x77, 0x71, 0x2d, 0x88, - 0xc4, 0x0b, 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 - -// DatastoreAdminClient is the client API for DatastoreAdmin service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type DatastoreAdminClient interface { - // Exports a copy of all or a subset of entities from Google Cloud Datastore - // to another storage system, such as Google Cloud Storage. Recent updates to - // entities 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. - ExportEntities(ctx context.Context, in *ExportEntitiesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Imports entities into Google Cloud Datastore. Existing entities with the - // same key 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 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) -} - -type datastoreAdminClient struct { - cc *grpc.ClientConn -} - -func NewDatastoreAdminClient(cc *grpc.ClientConn) DatastoreAdminClient { - return &datastoreAdminClient{cc} -} - -func (c *datastoreAdminClient) ExportEntities(ctx context.Context, in *ExportEntitiesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.datastore.admin.v1beta1.DatastoreAdmin/ExportEntities", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *datastoreAdminClient) ImportEntities(ctx context.Context, in *ImportEntitiesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.datastore.admin.v1beta1.DatastoreAdmin/ImportEntities", 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 - // to another storage system, such as Google Cloud Storage. Recent updates to - // entities 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. - ExportEntities(context.Context, *ExportEntitiesRequest) (*longrunning.Operation, error) - // Imports entities into Google Cloud Datastore. Existing entities with the - // same key 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 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) -} - -// UnimplementedDatastoreAdminServer can be embedded to have forward compatible implementations. -type UnimplementedDatastoreAdminServer struct { -} - -func (*UnimplementedDatastoreAdminServer) ExportEntities(ctx context.Context, req *ExportEntitiesRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ExportEntities not implemented") -} -func (*UnimplementedDatastoreAdminServer) ImportEntities(ctx context.Context, req *ImportEntitiesRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ImportEntities not implemented") -} - -func RegisterDatastoreAdminServer(s *grpc.Server, srv DatastoreAdminServer) { - s.RegisterService(&_DatastoreAdmin_serviceDesc, srv) -} - -func _DatastoreAdmin_ExportEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ExportEntitiesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DatastoreAdminServer).ExportEntities(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.datastore.admin.v1beta1.DatastoreAdmin/ExportEntities", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatastoreAdminServer).ExportEntities(ctx, req.(*ExportEntitiesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DatastoreAdmin_ImportEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ImportEntitiesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DatastoreAdminServer).ImportEntities(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.datastore.admin.v1beta1.DatastoreAdmin/ImportEntities", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatastoreAdminServer).ImportEntities(ctx, req.(*ImportEntitiesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _DatastoreAdmin_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.datastore.admin.v1beta1.DatastoreAdmin", - HandlerType: (*DatastoreAdminServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ExportEntities", - Handler: _DatastoreAdmin_ExportEntities_Handler, - }, - { - MethodName: "ImportEntities", - Handler: _DatastoreAdmin_ImportEntities_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/datastore/admin/v1beta1/datastore_admin.proto", -} 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 deleted file mode 100644 index 82b939a8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/datastore/v1/datastore.pb.go +++ /dev/null @@ -1,1808 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/datastore/v1/datastore.proto - -package datastore - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The modes available for commits. -type CommitRequest_Mode int32 - -const ( - // Unspecified. This value must not be used. - CommitRequest_MODE_UNSPECIFIED CommitRequest_Mode = 0 - // Transactional: The mutations are either all applied, or none are applied. - // Learn about transactions - // [here](https://cloud.google.com/datastore/docs/concepts/transactions). - CommitRequest_TRANSACTIONAL CommitRequest_Mode = 1 - // Non-transactional: The mutations may not apply as all or none. - CommitRequest_NON_TRANSACTIONAL CommitRequest_Mode = 2 -) - -var CommitRequest_Mode_name = map[int32]string{ - 0: "MODE_UNSPECIFIED", - 1: "TRANSACTIONAL", - 2: "NON_TRANSACTIONAL", -} - -var CommitRequest_Mode_value = map[string]int32{ - "MODE_UNSPECIFIED": 0, - "TRANSACTIONAL": 1, - "NON_TRANSACTIONAL": 2, -} - -func (x CommitRequest_Mode) String() string { - return proto.EnumName(CommitRequest_Mode_name, int32(x)) -} - -func (CommitRequest_Mode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_9ad66bfcb30c1b57, []int{8, 0} -} - -// The possible values for read consistencies. -type ReadOptions_ReadConsistency int32 - -const ( - // Unspecified. This value must not be used. - ReadOptions_READ_CONSISTENCY_UNSPECIFIED ReadOptions_ReadConsistency = 0 - // Strong consistency. - ReadOptions_STRONG ReadOptions_ReadConsistency = 1 - // Eventual consistency. - ReadOptions_EVENTUAL ReadOptions_ReadConsistency = 2 -) - -var ReadOptions_ReadConsistency_name = map[int32]string{ - 0: "READ_CONSISTENCY_UNSPECIFIED", - 1: "STRONG", - 2: "EVENTUAL", -} - -var ReadOptions_ReadConsistency_value = map[string]int32{ - "READ_CONSISTENCY_UNSPECIFIED": 0, - "STRONG": 1, - "EVENTUAL": 2, -} - -func (x ReadOptions_ReadConsistency) String() string { - return proto.EnumName(ReadOptions_ReadConsistency_name, int32(x)) -} - -func (ReadOptions_ReadConsistency) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_9ad66bfcb30c1b57, []int{16, 0} -} - -// The request for [Datastore.Lookup][google.datastore.v1.Datastore.Lookup]. -type LookupRequest struct { - // The ID of the project against which to make the request. - ProjectId string `protobuf:"bytes,8,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The options for this lookup request. - ReadOptions *ReadOptions `protobuf:"bytes,1,opt,name=read_options,json=readOptions,proto3" json:"read_options,omitempty"` - // Keys of entities to look up. - Keys []*Key `protobuf:"bytes,3,rep,name=keys,proto3" json:"keys,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9ad66bfcb30c1b57, []int{0} -} - -func (m *LookupRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LookupRequest.Unmarshal(m, b) -} -func (m *LookupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LookupRequest.Marshal(b, m, deterministic) -} -func (m *LookupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_LookupRequest.Merge(m, src) -} -func (m *LookupRequest) XXX_Size() int { - return xxx_messageInfo_LookupRequest.Size(m) -} -func (m *LookupRequest) XXX_DiscardUnknown() { - xxx_messageInfo_LookupRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_LookupRequest proto.InternalMessageInfo - -func (m *LookupRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *LookupRequest) GetReadOptions() *ReadOptions { - if m != nil { - return m.ReadOptions - } - return nil -} - -func (m *LookupRequest) GetKeys() []*Key { - if m != nil { - return m.Keys - } - return nil -} - -// The response for [Datastore.Lookup][google.datastore.v1.Datastore.Lookup]. -type LookupResponse struct { - // Entities found as `ResultType.FULL` entities. The order of results in this - // field is undefined and has no relation to the order of the keys in the - // input. - Found []*EntityResult `protobuf:"bytes,1,rep,name=found,proto3" json:"found,omitempty"` - // Entities not found as `ResultType.KEY_ONLY` entities. The order of results - // in this field is undefined and has no relation to the order of the keys - // in the input. - Missing []*EntityResult `protobuf:"bytes,2,rep,name=missing,proto3" json:"missing,omitempty"` - // A list of keys that were not looked up due to resource constraints. The - // order of results in this field is undefined and has no relation to the - // order of the keys in the input. - Deferred []*Key `protobuf:"bytes,3,rep,name=deferred,proto3" json:"deferred,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9ad66bfcb30c1b57, []int{1} -} - -func (m *LookupResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LookupResponse.Unmarshal(m, b) -} -func (m *LookupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LookupResponse.Marshal(b, m, deterministic) -} -func (m *LookupResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_LookupResponse.Merge(m, src) -} -func (m *LookupResponse) XXX_Size() int { - return xxx_messageInfo_LookupResponse.Size(m) -} -func (m *LookupResponse) XXX_DiscardUnknown() { - xxx_messageInfo_LookupResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_LookupResponse proto.InternalMessageInfo - -func (m *LookupResponse) GetFound() []*EntityResult { - if m != nil { - return m.Found - } - return nil -} - -func (m *LookupResponse) GetMissing() []*EntityResult { - if m != nil { - return m.Missing - } - return nil -} - -func (m *LookupResponse) GetDeferred() []*Key { - if m != nil { - return m.Deferred - } - return nil -} - -// The request for [Datastore.RunQuery][google.datastore.v1.Datastore.RunQuery]. -type RunQueryRequest struct { - // The ID of the project against which to make the request. - ProjectId string `protobuf:"bytes,8,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Entities are partitioned into subsets, identified by a partition ID. - // Queries are scoped to a single partition. - // This partition ID is normalized with the standard default context - // partition ID. - PartitionId *PartitionId `protobuf:"bytes,2,opt,name=partition_id,json=partitionId,proto3" json:"partition_id,omitempty"` - // The options for this query. - ReadOptions *ReadOptions `protobuf:"bytes,1,opt,name=read_options,json=readOptions,proto3" json:"read_options,omitempty"` - // The type of query. - // - // Types that are valid to be assigned to QueryType: - // *RunQueryRequest_Query - // *RunQueryRequest_GqlQuery - QueryType isRunQueryRequest_QueryType `protobuf_oneof:"query_type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9ad66bfcb30c1b57, []int{2} -} - -func (m *RunQueryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RunQueryRequest.Unmarshal(m, b) -} -func (m *RunQueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RunQueryRequest.Marshal(b, m, deterministic) -} -func (m *RunQueryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RunQueryRequest.Merge(m, src) -} -func (m *RunQueryRequest) XXX_Size() int { - return xxx_messageInfo_RunQueryRequest.Size(m) -} -func (m *RunQueryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RunQueryRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_RunQueryRequest proto.InternalMessageInfo - -func (m *RunQueryRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *RunQueryRequest) GetPartitionId() *PartitionId { - if m != nil { - return m.PartitionId - } - return nil -} - -func (m *RunQueryRequest) GetReadOptions() *ReadOptions { - if m != nil { - return m.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 - } - return nil -} - -func (m *RunQueryRequest) GetGqlQuery() *GqlQuery { - if x, ok := m.GetQueryType().(*RunQueryRequest_GqlQuery); ok { - return x.GqlQuery - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*RunQueryRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*RunQueryRequest_Query)(nil), - (*RunQueryRequest_GqlQuery)(nil), - } -} - -// The response for -// [Datastore.RunQuery][google.datastore.v1.Datastore.RunQuery]. -type RunQueryResponse struct { - // A batch of query results (always present). - Batch *QueryResultBatch `protobuf:"bytes,1,opt,name=batch,proto3" json:"batch,omitempty"` - // The parsed form of the `GqlQuery` from the request, if it was set. - Query *Query `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9ad66bfcb30c1b57, []int{3} -} - -func (m *RunQueryResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RunQueryResponse.Unmarshal(m, b) -} -func (m *RunQueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RunQueryResponse.Marshal(b, m, deterministic) -} -func (m *RunQueryResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RunQueryResponse.Merge(m, src) -} -func (m *RunQueryResponse) XXX_Size() int { - return xxx_messageInfo_RunQueryResponse.Size(m) -} -func (m *RunQueryResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RunQueryResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_RunQueryResponse proto.InternalMessageInfo - -func (m *RunQueryResponse) GetBatch() *QueryResultBatch { - if m != nil { - return m.Batch - } - return nil -} - -func (m *RunQueryResponse) GetQuery() *Query { - if m != nil { - return m.Query - } - return nil -} - -// The request for -// [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction]. -type BeginTransactionRequest struct { - // The ID of the project against which to make the request. - ProjectId string `protobuf:"bytes,8,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Options for a new transaction. - TransactionOptions *TransactionOptions `protobuf:"bytes,10,opt,name=transaction_options,json=transactionOptions,proto3" json:"transaction_options,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9ad66bfcb30c1b57, []int{4} -} - -func (m *BeginTransactionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BeginTransactionRequest.Unmarshal(m, b) -} -func (m *BeginTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BeginTransactionRequest.Marshal(b, m, deterministic) -} -func (m *BeginTransactionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BeginTransactionRequest.Merge(m, src) -} -func (m *BeginTransactionRequest) XXX_Size() int { - return xxx_messageInfo_BeginTransactionRequest.Size(m) -} -func (m *BeginTransactionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BeginTransactionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BeginTransactionRequest proto.InternalMessageInfo - -func (m *BeginTransactionRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *BeginTransactionRequest) GetTransactionOptions() *TransactionOptions { - if m != nil { - return m.TransactionOptions - } - return nil -} - -// The response for -// [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction]. -type BeginTransactionResponse struct { - // The transaction identifier (always present). - Transaction []byte `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BeginTransactionResponse) Reset() { *m = BeginTransactionResponse{} } -func (m *BeginTransactionResponse) String() string { return proto.CompactTextString(m) } -func (*BeginTransactionResponse) ProtoMessage() {} -func (*BeginTransactionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9ad66bfcb30c1b57, []int{5} -} - -func (m *BeginTransactionResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BeginTransactionResponse.Unmarshal(m, b) -} -func (m *BeginTransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BeginTransactionResponse.Marshal(b, m, deterministic) -} -func (m *BeginTransactionResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BeginTransactionResponse.Merge(m, src) -} -func (m *BeginTransactionResponse) XXX_Size() int { - return xxx_messageInfo_BeginTransactionResponse.Size(m) -} -func (m *BeginTransactionResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BeginTransactionResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_BeginTransactionResponse proto.InternalMessageInfo - -func (m *BeginTransactionResponse) GetTransaction() []byte { - if m != nil { - return m.Transaction - } - return nil -} - -// The request for [Datastore.Rollback][google.datastore.v1.Datastore.Rollback]. -type RollbackRequest struct { - // The ID of the project against which to make the request. - ProjectId string `protobuf:"bytes,8,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The transaction identifier, returned by a call to - // [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction]. - Transaction []byte `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9ad66bfcb30c1b57, []int{6} -} - -func (m *RollbackRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RollbackRequest.Unmarshal(m, b) -} -func (m *RollbackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RollbackRequest.Marshal(b, m, deterministic) -} -func (m *RollbackRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RollbackRequest.Merge(m, src) -} -func (m *RollbackRequest) XXX_Size() int { - return xxx_messageInfo_RollbackRequest.Size(m) -} -func (m *RollbackRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RollbackRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_RollbackRequest proto.InternalMessageInfo - -func (m *RollbackRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *RollbackRequest) GetTransaction() []byte { - if m != nil { - return m.Transaction - } - return nil -} - -// The response for -// [Datastore.Rollback][google.datastore.v1.Datastore.Rollback]. (an empty -// message). -type RollbackResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9ad66bfcb30c1b57, []int{7} -} - -func (m *RollbackResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RollbackResponse.Unmarshal(m, b) -} -func (m *RollbackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RollbackResponse.Marshal(b, m, deterministic) -} -func (m *RollbackResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RollbackResponse.Merge(m, src) -} -func (m *RollbackResponse) XXX_Size() int { - return xxx_messageInfo_RollbackResponse.Size(m) -} -func (m *RollbackResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RollbackResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_RollbackResponse proto.InternalMessageInfo - -// The request for [Datastore.Commit][google.datastore.v1.Datastore.Commit]. -type CommitRequest struct { - // The ID of the project against which to make the request. - ProjectId string `protobuf:"bytes,8,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The type of commit to perform. Defaults to `TRANSACTIONAL`. - Mode CommitRequest_Mode `protobuf:"varint,5,opt,name=mode,proto3,enum=google.datastore.v1.CommitRequest_Mode" json:"mode,omitempty"` - // Must be set when mode is `TRANSACTIONAL`. - // - // Types that are valid to be assigned to TransactionSelector: - // *CommitRequest_Transaction - TransactionSelector isCommitRequest_TransactionSelector `protobuf_oneof:"transaction_selector"` - // The mutations to perform. - // - // When mode is `TRANSACTIONAL`, mutations affecting a single entity are - // applied in order. The following sequences of mutations affecting a single - // entity are not permitted in a single `Commit` request: - // - // - `insert` followed by `insert` - // - `update` followed by `insert` - // - `upsert` followed by `insert` - // - `delete` followed by `update` - // - // When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single - // entity. - Mutations []*Mutation `protobuf:"bytes,6,rep,name=mutations,proto3" json:"mutations,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9ad66bfcb30c1b57, []int{8} -} - -func (m *CommitRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommitRequest.Unmarshal(m, b) -} -func (m *CommitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommitRequest.Marshal(b, m, deterministic) -} -func (m *CommitRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommitRequest.Merge(m, src) -} -func (m *CommitRequest) XXX_Size() int { - return xxx_messageInfo_CommitRequest.Size(m) -} -func (m *CommitRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CommitRequest.DiscardUnknown(m) -} - -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() -} - -type CommitRequest_Transaction struct { - Transaction []byte `protobuf:"bytes,1,opt,name=transaction,proto3,oneof"` -} - -func (*CommitRequest_Transaction) isCommitRequest_TransactionSelector() {} - -func (m *CommitRequest) GetTransactionSelector() isCommitRequest_TransactionSelector { - if m != nil { - return m.TransactionSelector - } - return nil -} - -func (m *CommitRequest) GetTransaction() []byte { - if x, ok := m.GetTransactionSelector().(*CommitRequest_Transaction); ok { - return x.Transaction - } - return nil -} - -func (m *CommitRequest) GetMutations() []*Mutation { - if m != nil { - return m.Mutations - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CommitRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CommitRequest_Transaction)(nil), - } -} - -// The response for [Datastore.Commit][google.datastore.v1.Datastore.Commit]. -type CommitResponse struct { - // The result of performing the mutations. - // The i-th mutation result corresponds to the i-th mutation in the request. - MutationResults []*MutationResult `protobuf:"bytes,3,rep,name=mutation_results,json=mutationResults,proto3" json:"mutation_results,omitempty"` - // The number of index entries updated during the commit, or zero if none were - // updated. - IndexUpdates int32 `protobuf:"varint,4,opt,name=index_updates,json=indexUpdates,proto3" json:"index_updates,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9ad66bfcb30c1b57, []int{9} -} - -func (m *CommitResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommitResponse.Unmarshal(m, b) -} -func (m *CommitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommitResponse.Marshal(b, m, deterministic) -} -func (m *CommitResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommitResponse.Merge(m, src) -} -func (m *CommitResponse) XXX_Size() int { - return xxx_messageInfo_CommitResponse.Size(m) -} -func (m *CommitResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CommitResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_CommitResponse proto.InternalMessageInfo - -func (m *CommitResponse) GetMutationResults() []*MutationResult { - if m != nil { - return m.MutationResults - } - return nil -} - -func (m *CommitResponse) GetIndexUpdates() int32 { - if m != nil { - return m.IndexUpdates - } - return 0 -} - -// The request for -// [Datastore.AllocateIds][google.datastore.v1.Datastore.AllocateIds]. -type AllocateIdsRequest struct { - // The ID of the project against which to make the request. - ProjectId string `protobuf:"bytes,8,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // A list of keys with incomplete key paths for which to allocate IDs. - // No key may be reserved/read-only. - Keys []*Key `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9ad66bfcb30c1b57, []int{10} -} - -func (m *AllocateIdsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AllocateIdsRequest.Unmarshal(m, b) -} -func (m *AllocateIdsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AllocateIdsRequest.Marshal(b, m, deterministic) -} -func (m *AllocateIdsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AllocateIdsRequest.Merge(m, src) -} -func (m *AllocateIdsRequest) XXX_Size() int { - return xxx_messageInfo_AllocateIdsRequest.Size(m) -} -func (m *AllocateIdsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AllocateIdsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AllocateIdsRequest proto.InternalMessageInfo - -func (m *AllocateIdsRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *AllocateIdsRequest) GetKeys() []*Key { - if m != nil { - return m.Keys - } - return nil -} - -// The response for -// [Datastore.AllocateIds][google.datastore.v1.Datastore.AllocateIds]. -type AllocateIdsResponse struct { - // The keys specified in the request (in the same order), each with - // its key path completed with a newly allocated ID. - Keys []*Key `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9ad66bfcb30c1b57, []int{11} -} - -func (m *AllocateIdsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AllocateIdsResponse.Unmarshal(m, b) -} -func (m *AllocateIdsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AllocateIdsResponse.Marshal(b, m, deterministic) -} -func (m *AllocateIdsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AllocateIdsResponse.Merge(m, src) -} -func (m *AllocateIdsResponse) XXX_Size() int { - return xxx_messageInfo_AllocateIdsResponse.Size(m) -} -func (m *AllocateIdsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AllocateIdsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AllocateIdsResponse proto.InternalMessageInfo - -func (m *AllocateIdsResponse) GetKeys() []*Key { - if m != nil { - return m.Keys - } - return nil -} - -// The request for -// [Datastore.ReserveIds][google.datastore.v1.Datastore.ReserveIds]. -type ReserveIdsRequest struct { - // The ID of the project against which to make the request. - ProjectId string `protobuf:"bytes,8,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // If not empty, the ID of the database against which to make the request. - DatabaseId string `protobuf:"bytes,9,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"` - // A list of keys with complete key paths whose numeric IDs should not be - // auto-allocated. - Keys []*Key `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9ad66bfcb30c1b57, []int{12} -} - -func (m *ReserveIdsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReserveIdsRequest.Unmarshal(m, b) -} -func (m *ReserveIdsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReserveIdsRequest.Marshal(b, m, deterministic) -} -func (m *ReserveIdsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReserveIdsRequest.Merge(m, src) -} -func (m *ReserveIdsRequest) XXX_Size() int { - return xxx_messageInfo_ReserveIdsRequest.Size(m) -} -func (m *ReserveIdsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ReserveIdsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ReserveIdsRequest proto.InternalMessageInfo - -func (m *ReserveIdsRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *ReserveIdsRequest) GetDatabaseId() string { - if m != nil { - return m.DatabaseId - } - return "" -} - -func (m *ReserveIdsRequest) GetKeys() []*Key { - if m != nil { - return m.Keys - } - return nil -} - -// The response for -// [Datastore.ReserveIds][google.datastore.v1.Datastore.ReserveIds]. -type ReserveIdsResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9ad66bfcb30c1b57, []int{13} -} - -func (m *ReserveIdsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReserveIdsResponse.Unmarshal(m, b) -} -func (m *ReserveIdsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReserveIdsResponse.Marshal(b, m, deterministic) -} -func (m *ReserveIdsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReserveIdsResponse.Merge(m, src) -} -func (m *ReserveIdsResponse) XXX_Size() int { - return xxx_messageInfo_ReserveIdsResponse.Size(m) -} -func (m *ReserveIdsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ReserveIdsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ReserveIdsResponse proto.InternalMessageInfo - -// A mutation to apply to an entity. -type Mutation struct { - // The mutation operation. - // - // For `insert`, `update`, and `upsert`: - // - The entity's key must not be reserved/read-only. - // - No property in the entity may have a reserved name, - // not even a property in an entity in a value. - // - No value in the entity may have meaning 18, - // not even a value in an entity in another value. - // - // Types that are valid to be assigned to Operation: - // *Mutation_Insert - // *Mutation_Update - // *Mutation_Upsert - // *Mutation_Delete - Operation isMutation_Operation `protobuf_oneof:"operation"` - // When set, the server will detect whether or not this mutation conflicts - // with the current version of the entity on the server. Conflicting mutations - // are not applied, and are marked as such in MutationResult. - // - // Types that are valid to be assigned to ConflictDetectionStrategy: - // *Mutation_BaseVersion - ConflictDetectionStrategy isMutation_ConflictDetectionStrategy `protobuf_oneof:"conflict_detection_strategy"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9ad66bfcb30c1b57, []int{14} -} - -func (m *Mutation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Mutation.Unmarshal(m, b) -} -func (m *Mutation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Mutation.Marshal(b, m, deterministic) -} -func (m *Mutation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Mutation.Merge(m, src) -} -func (m *Mutation) XXX_Size() int { - return xxx_messageInfo_Mutation.Size(m) -} -func (m *Mutation) XXX_DiscardUnknown() { - xxx_messageInfo_Mutation.DiscardUnknown(m) -} - -var xxx_messageInfo_Mutation proto.InternalMessageInfo - -type isMutation_Operation interface { - isMutation_Operation() -} - -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"` -} - -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 { - return m.Operation - } - return nil -} - -func (m *Mutation) GetInsert() *Entity { - if x, ok := m.GetOperation().(*Mutation_Insert); ok { - return x.Insert - } - return nil -} - -func (m *Mutation) GetUpdate() *Entity { - if x, ok := m.GetOperation().(*Mutation_Update); ok { - return x.Update - } - return nil -} - -func (m *Mutation) GetUpsert() *Entity { - if x, ok := m.GetOperation().(*Mutation_Upsert); ok { - return x.Upsert - } - return nil -} - -func (m *Mutation) GetDelete() *Key { - if x, ok := m.GetOperation().(*Mutation_Delete); ok { - return x.Delete - } - 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 - } - return 0 -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Mutation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Mutation_Insert)(nil), - (*Mutation_Update)(nil), - (*Mutation_Upsert)(nil), - (*Mutation_Delete)(nil), - (*Mutation_BaseVersion)(nil), - } -} - -// The result of applying a mutation. -type MutationResult struct { - // The automatically allocated key. - // Set only when the mutation allocated a key. - Key *Key `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` - // The version of the entity on the server after processing the mutation. If - // the mutation doesn't change anything on the server, then the version will - // be the version of the current entity or, if no entity is present, a version - // that is strictly greater than the version of any previous entity and less - // than the version of any possible future entity. - Version int64 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"` - // Whether a conflict was detected for this mutation. Always false when a - // conflict detection strategy field is not set in the mutation. - ConflictDetected bool `protobuf:"varint,5,opt,name=conflict_detected,json=conflictDetected,proto3" json:"conflict_detected,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9ad66bfcb30c1b57, []int{15} -} - -func (m *MutationResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutationResult.Unmarshal(m, b) -} -func (m *MutationResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutationResult.Marshal(b, m, deterministic) -} -func (m *MutationResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutationResult.Merge(m, src) -} -func (m *MutationResult) XXX_Size() int { - return xxx_messageInfo_MutationResult.Size(m) -} -func (m *MutationResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutationResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutationResult proto.InternalMessageInfo - -func (m *MutationResult) GetKey() *Key { - if m != nil { - return m.Key - } - return nil -} - -func (m *MutationResult) GetVersion() int64 { - if m != nil { - return m.Version - } - return 0 -} - -func (m *MutationResult) GetConflictDetected() bool { - if m != nil { - return m.ConflictDetected - } - return false -} - -// The options shared by read requests. -type ReadOptions struct { - // If not specified, lookups and ancestor queries default to - // `read_consistency`=`STRONG`, global queries default to - // `read_consistency`=`EVENTUAL`. - // - // Types that are valid to be assigned to ConsistencyType: - // *ReadOptions_ReadConsistency_ - // *ReadOptions_Transaction - ConsistencyType isReadOptions_ConsistencyType `protobuf_oneof:"consistency_type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9ad66bfcb30c1b57, []int{16} -} - -func (m *ReadOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReadOptions.Unmarshal(m, b) -} -func (m *ReadOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReadOptions.Marshal(b, m, deterministic) -} -func (m *ReadOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReadOptions.Merge(m, src) -} -func (m *ReadOptions) XXX_Size() int { - return xxx_messageInfo_ReadOptions.Size(m) -} -func (m *ReadOptions) XXX_DiscardUnknown() { - xxx_messageInfo_ReadOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_ReadOptions proto.InternalMessageInfo - -type isReadOptions_ConsistencyType interface { - isReadOptions_ConsistencyType() -} - -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 (m *ReadOptions) GetConsistencyType() isReadOptions_ConsistencyType { - if m != nil { - return m.ConsistencyType - } - return nil -} - -func (m *ReadOptions) GetReadConsistency() ReadOptions_ReadConsistency { - if x, ok := m.GetConsistencyType().(*ReadOptions_ReadConsistency_); ok { - return x.ReadConsistency - } - return ReadOptions_READ_CONSISTENCY_UNSPECIFIED -} - -func (m *ReadOptions) GetTransaction() []byte { - if x, ok := m.GetConsistencyType().(*ReadOptions_Transaction); ok { - return x.Transaction - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ReadOptions) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ReadOptions_ReadConsistency_)(nil), - (*ReadOptions_Transaction)(nil), - } -} - -// Options for beginning a new transaction. -// -// Transactions can be created explicitly with calls to -// [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction] -// or implicitly by setting -// [ReadOptions.new_transaction][google.datastore.v1.ReadOptions.new_transaction] -// in read requests. -type TransactionOptions struct { - // The `mode` of the transaction, indicating whether write operations are - // supported. - // - // Types that are valid to be assigned to Mode: - // *TransactionOptions_ReadWrite_ - // *TransactionOptions_ReadOnly_ - Mode isTransactionOptions_Mode `protobuf_oneof:"mode"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9ad66bfcb30c1b57, []int{17} -} - -func (m *TransactionOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransactionOptions.Unmarshal(m, b) -} -func (m *TransactionOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransactionOptions.Marshal(b, m, deterministic) -} -func (m *TransactionOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransactionOptions.Merge(m, src) -} -func (m *TransactionOptions) XXX_Size() int { - return xxx_messageInfo_TransactionOptions.Size(m) -} -func (m *TransactionOptions) XXX_DiscardUnknown() { - xxx_messageInfo_TransactionOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_TransactionOptions proto.InternalMessageInfo - -type isTransactionOptions_Mode interface { - isTransactionOptions_Mode() -} - -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 (m *TransactionOptions) GetMode() isTransactionOptions_Mode { - if m != nil { - return m.Mode - } - return nil -} - -func (m *TransactionOptions) GetReadWrite() *TransactionOptions_ReadWrite { - if x, ok := m.GetMode().(*TransactionOptions_ReadWrite_); ok { - return x.ReadWrite - } - return nil -} - -func (m *TransactionOptions) GetReadOnly() *TransactionOptions_ReadOnly { - if x, ok := m.GetMode().(*TransactionOptions_ReadOnly_); ok { - return x.ReadOnly - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*TransactionOptions) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*TransactionOptions_ReadWrite_)(nil), - (*TransactionOptions_ReadOnly_)(nil), - } -} - -// Options specific to read / write transactions. -type TransactionOptions_ReadWrite struct { - // The transaction identifier of the transaction being retried. - PreviousTransaction []byte `protobuf:"bytes,1,opt,name=previous_transaction,json=previousTransaction,proto3" json:"previous_transaction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TransactionOptions_ReadWrite) Reset() { *m = TransactionOptions_ReadWrite{} } -func (m *TransactionOptions_ReadWrite) String() string { return proto.CompactTextString(m) } -func (*TransactionOptions_ReadWrite) ProtoMessage() {} -func (*TransactionOptions_ReadWrite) Descriptor() ([]byte, []int) { - return fileDescriptor_9ad66bfcb30c1b57, []int{17, 0} -} - -func (m *TransactionOptions_ReadWrite) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransactionOptions_ReadWrite.Unmarshal(m, b) -} -func (m *TransactionOptions_ReadWrite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransactionOptions_ReadWrite.Marshal(b, m, deterministic) -} -func (m *TransactionOptions_ReadWrite) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransactionOptions_ReadWrite.Merge(m, src) -} -func (m *TransactionOptions_ReadWrite) XXX_Size() int { - return xxx_messageInfo_TransactionOptions_ReadWrite.Size(m) -} -func (m *TransactionOptions_ReadWrite) XXX_DiscardUnknown() { - xxx_messageInfo_TransactionOptions_ReadWrite.DiscardUnknown(m) -} - -var xxx_messageInfo_TransactionOptions_ReadWrite proto.InternalMessageInfo - -func (m *TransactionOptions_ReadWrite) GetPreviousTransaction() []byte { - if m != nil { - return m.PreviousTransaction - } - return nil -} - -// Options specific to read-only transactions. -type TransactionOptions_ReadOnly struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TransactionOptions_ReadOnly) Reset() { *m = TransactionOptions_ReadOnly{} } -func (m *TransactionOptions_ReadOnly) String() string { return proto.CompactTextString(m) } -func (*TransactionOptions_ReadOnly) ProtoMessage() {} -func (*TransactionOptions_ReadOnly) Descriptor() ([]byte, []int) { - return fileDescriptor_9ad66bfcb30c1b57, []int{17, 1} -} - -func (m *TransactionOptions_ReadOnly) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransactionOptions_ReadOnly.Unmarshal(m, b) -} -func (m *TransactionOptions_ReadOnly) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransactionOptions_ReadOnly.Marshal(b, m, deterministic) -} -func (m *TransactionOptions_ReadOnly) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransactionOptions_ReadOnly.Merge(m, src) -} -func (m *TransactionOptions_ReadOnly) XXX_Size() int { - return xxx_messageInfo_TransactionOptions_ReadOnly.Size(m) -} -func (m *TransactionOptions_ReadOnly) XXX_DiscardUnknown() { - xxx_messageInfo_TransactionOptions_ReadOnly.DiscardUnknown(m) -} - -var xxx_messageInfo_TransactionOptions_ReadOnly proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.datastore.v1.CommitRequest_Mode", CommitRequest_Mode_name, CommitRequest_Mode_value) - proto.RegisterEnum("google.datastore.v1.ReadOptions_ReadConsistency", ReadOptions_ReadConsistency_name, ReadOptions_ReadConsistency_value) - proto.RegisterType((*LookupRequest)(nil), "google.datastore.v1.LookupRequest") - proto.RegisterType((*LookupResponse)(nil), "google.datastore.v1.LookupResponse") - proto.RegisterType((*RunQueryRequest)(nil), "google.datastore.v1.RunQueryRequest") - proto.RegisterType((*RunQueryResponse)(nil), "google.datastore.v1.RunQueryResponse") - proto.RegisterType((*BeginTransactionRequest)(nil), "google.datastore.v1.BeginTransactionRequest") - proto.RegisterType((*BeginTransactionResponse)(nil), "google.datastore.v1.BeginTransactionResponse") - proto.RegisterType((*RollbackRequest)(nil), "google.datastore.v1.RollbackRequest") - proto.RegisterType((*RollbackResponse)(nil), "google.datastore.v1.RollbackResponse") - proto.RegisterType((*CommitRequest)(nil), "google.datastore.v1.CommitRequest") - proto.RegisterType((*CommitResponse)(nil), "google.datastore.v1.CommitResponse") - proto.RegisterType((*AllocateIdsRequest)(nil), "google.datastore.v1.AllocateIdsRequest") - proto.RegisterType((*AllocateIdsResponse)(nil), "google.datastore.v1.AllocateIdsResponse") - proto.RegisterType((*ReserveIdsRequest)(nil), "google.datastore.v1.ReserveIdsRequest") - proto.RegisterType((*ReserveIdsResponse)(nil), "google.datastore.v1.ReserveIdsResponse") - proto.RegisterType((*Mutation)(nil), "google.datastore.v1.Mutation") - proto.RegisterType((*MutationResult)(nil), "google.datastore.v1.MutationResult") - proto.RegisterType((*ReadOptions)(nil), "google.datastore.v1.ReadOptions") - proto.RegisterType((*TransactionOptions)(nil), "google.datastore.v1.TransactionOptions") - proto.RegisterType((*TransactionOptions_ReadWrite)(nil), "google.datastore.v1.TransactionOptions.ReadWrite") - proto.RegisterType((*TransactionOptions_ReadOnly)(nil), "google.datastore.v1.TransactionOptions.ReadOnly") -} - -func init() { - proto.RegisterFile("google/datastore/v1/datastore.proto", fileDescriptor_9ad66bfcb30c1b57) -} - -var fileDescriptor_9ad66bfcb30c1b57 = []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, 0x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x0f, 0xec, 0xbb, 0xff, - 0x9a, 0xf7, 0xd1, 0xc7, 0x0f, 0xa4, 0x5a, 0x8b, 0x19, 0xaa, 0xd9, 0xca, 0x33, 0xbb, 0x55, 0x68, - 0x51, 0x53, 0xfc, 0xa7, 0x2e, 0x78, 0x57, 0xaa, 0xa5, 0x3b, 0x81, 0xff, 0xdd, 0x5b, 0xbd, 0xc3, - 0xcf, 0xb1, 0xd7, 0x1e, 0x79, 0xf0, 0xb2, 0xc1, 0x3a, 0x5a, 0xbe, 0x67, 0x3d, 0x7f, 0xb4, 0xf9, - 0x87, 0x7f, 0xf7, 0x54, 0xdc, 0x3d, 0xed, 0xdd, 0x3d, 0x3d, 0xda, 0x3c, 0x8e, 0x0b, 0x07, 0x6f, - 0xfd, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x25, 0x27, 0xe9, 0x95, 0x51, 0x10, 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 - -// DatastoreClient is the client API for Datastore service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type DatastoreClient interface { - // Looks up entities by key. - Lookup(ctx context.Context, in *LookupRequest, opts ...grpc.CallOption) (*LookupResponse, error) - // Queries for entities. - RunQuery(ctx context.Context, in *RunQueryRequest, opts ...grpc.CallOption) (*RunQueryResponse, error) - // Begins a new transaction. - BeginTransaction(ctx context.Context, in *BeginTransactionRequest, opts ...grpc.CallOption) (*BeginTransactionResponse, error) - // Commits a transaction, optionally creating, deleting or modifying some - // entities. - Commit(ctx context.Context, in *CommitRequest, opts ...grpc.CallOption) (*CommitResponse, error) - // Rolls back a transaction. - Rollback(ctx context.Context, in *RollbackRequest, opts ...grpc.CallOption) (*RollbackResponse, error) - // Allocates IDs for the given keys, which is useful for referencing an entity - // before it is inserted. - AllocateIds(ctx context.Context, in *AllocateIdsRequest, opts ...grpc.CallOption) (*AllocateIdsResponse, error) - // Prevents the supplied keys' IDs from being auto-allocated by Cloud - // Datastore. - ReserveIds(ctx context.Context, in *ReserveIdsRequest, opts ...grpc.CallOption) (*ReserveIdsResponse, error) -} - -type datastoreClient struct { - cc *grpc.ClientConn -} - -func NewDatastoreClient(cc *grpc.ClientConn) DatastoreClient { - return &datastoreClient{cc} -} - -func (c *datastoreClient) Lookup(ctx context.Context, in *LookupRequest, opts ...grpc.CallOption) (*LookupResponse, error) { - out := new(LookupResponse) - err := c.cc.Invoke(ctx, "/google.datastore.v1.Datastore/Lookup", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *datastoreClient) RunQuery(ctx context.Context, in *RunQueryRequest, opts ...grpc.CallOption) (*RunQueryResponse, error) { - out := new(RunQueryResponse) - err := c.cc.Invoke(ctx, "/google.datastore.v1.Datastore/RunQuery", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *datastoreClient) BeginTransaction(ctx context.Context, in *BeginTransactionRequest, opts ...grpc.CallOption) (*BeginTransactionResponse, error) { - out := new(BeginTransactionResponse) - err := c.cc.Invoke(ctx, "/google.datastore.v1.Datastore/BeginTransaction", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *datastoreClient) Commit(ctx context.Context, in *CommitRequest, opts ...grpc.CallOption) (*CommitResponse, error) { - out := new(CommitResponse) - err := c.cc.Invoke(ctx, "/google.datastore.v1.Datastore/Commit", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *datastoreClient) Rollback(ctx context.Context, in *RollbackRequest, opts ...grpc.CallOption) (*RollbackResponse, error) { - out := new(RollbackResponse) - err := c.cc.Invoke(ctx, "/google.datastore.v1.Datastore/Rollback", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *datastoreClient) AllocateIds(ctx context.Context, in *AllocateIdsRequest, opts ...grpc.CallOption) (*AllocateIdsResponse, error) { - out := new(AllocateIdsResponse) - err := c.cc.Invoke(ctx, "/google.datastore.v1.Datastore/AllocateIds", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *datastoreClient) ReserveIds(ctx context.Context, in *ReserveIdsRequest, opts ...grpc.CallOption) (*ReserveIdsResponse, error) { - out := new(ReserveIdsResponse) - err := c.cc.Invoke(ctx, "/google.datastore.v1.Datastore/ReserveIds", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// DatastoreServer is the server API for Datastore service. -type DatastoreServer interface { - // Looks up entities by key. - Lookup(context.Context, *LookupRequest) (*LookupResponse, error) - // Queries for entities. - RunQuery(context.Context, *RunQueryRequest) (*RunQueryResponse, error) - // Begins a new transaction. - BeginTransaction(context.Context, *BeginTransactionRequest) (*BeginTransactionResponse, error) - // Commits a transaction, optionally creating, deleting or modifying some - // entities. - Commit(context.Context, *CommitRequest) (*CommitResponse, error) - // Rolls back a transaction. - Rollback(context.Context, *RollbackRequest) (*RollbackResponse, error) - // Allocates IDs for the given keys, which is useful for referencing an entity - // before it is inserted. - AllocateIds(context.Context, *AllocateIdsRequest) (*AllocateIdsResponse, error) - // Prevents the supplied keys' IDs from being auto-allocated by Cloud - // Datastore. - ReserveIds(context.Context, *ReserveIdsRequest) (*ReserveIdsResponse, error) -} - -// UnimplementedDatastoreServer can be embedded to have forward compatible implementations. -type UnimplementedDatastoreServer struct { -} - -func (*UnimplementedDatastoreServer) Lookup(ctx context.Context, req *LookupRequest) (*LookupResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Lookup not implemented") -} -func (*UnimplementedDatastoreServer) RunQuery(ctx context.Context, req *RunQueryRequest) (*RunQueryResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RunQuery not implemented") -} -func (*UnimplementedDatastoreServer) BeginTransaction(ctx context.Context, req *BeginTransactionRequest) (*BeginTransactionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method BeginTransaction not implemented") -} -func (*UnimplementedDatastoreServer) Commit(ctx context.Context, req *CommitRequest) (*CommitResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Commit not implemented") -} -func (*UnimplementedDatastoreServer) Rollback(ctx context.Context, req *RollbackRequest) (*RollbackResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Rollback not implemented") -} -func (*UnimplementedDatastoreServer) AllocateIds(ctx context.Context, req *AllocateIdsRequest) (*AllocateIdsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AllocateIds not implemented") -} -func (*UnimplementedDatastoreServer) ReserveIds(ctx context.Context, req *ReserveIdsRequest) (*ReserveIdsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ReserveIds not implemented") -} - -func RegisterDatastoreServer(s *grpc.Server, srv DatastoreServer) { - s.RegisterService(&_Datastore_serviceDesc, srv) -} - -func _Datastore_Lookup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(LookupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DatastoreServer).Lookup(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.datastore.v1.Datastore/Lookup", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatastoreServer).Lookup(ctx, req.(*LookupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Datastore_RunQuery_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RunQueryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DatastoreServer).RunQuery(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.datastore.v1.Datastore/RunQuery", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatastoreServer).RunQuery(ctx, req.(*RunQueryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Datastore_BeginTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BeginTransactionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DatastoreServer).BeginTransaction(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.datastore.v1.Datastore/BeginTransaction", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatastoreServer).BeginTransaction(ctx, req.(*BeginTransactionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Datastore_Commit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CommitRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DatastoreServer).Commit(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.datastore.v1.Datastore/Commit", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatastoreServer).Commit(ctx, req.(*CommitRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Datastore_Rollback_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RollbackRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DatastoreServer).Rollback(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.datastore.v1.Datastore/Rollback", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatastoreServer).Rollback(ctx, req.(*RollbackRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Datastore_AllocateIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AllocateIdsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DatastoreServer).AllocateIds(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.datastore.v1.Datastore/AllocateIds", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatastoreServer).AllocateIds(ctx, req.(*AllocateIdsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Datastore_ReserveIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ReserveIdsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DatastoreServer).ReserveIds(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.datastore.v1.Datastore/ReserveIds", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatastoreServer).ReserveIds(ctx, req.(*ReserveIdsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Datastore_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.datastore.v1.Datastore", - HandlerType: (*DatastoreServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Lookup", - Handler: _Datastore_Lookup_Handler, - }, - { - MethodName: "RunQuery", - Handler: _Datastore_RunQuery_Handler, - }, - { - MethodName: "BeginTransaction", - Handler: _Datastore_BeginTransaction_Handler, - }, - { - MethodName: "Commit", - Handler: _Datastore_Commit_Handler, - }, - { - MethodName: "Rollback", - Handler: _Datastore_Rollback_Handler, - }, - { - MethodName: "AllocateIds", - Handler: _Datastore_AllocateIds_Handler, - }, - { - MethodName: "ReserveIds", - Handler: _Datastore_ReserveIds_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/datastore/v1/datastore.proto", -} 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 deleted file mode 100644 index 48e363ed..00000000 --- a/vendor/google.golang.org/genproto/googleapis/datastore/v1/query.pb.go +++ /dev/null @@ -1,1153 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/datastore/v1/query.proto - -package datastore - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "google.golang.org/genproto/googleapis/api/annotations" - _ "google.golang.org/genproto/googleapis/type/latlng" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Specifies what data the 'entity' field contains. -// A `ResultType` is either implied (for example, in `LookupResponse.missing` -// from `datastore.proto`, it is always `KEY_ONLY`) or specified by context -// (for example, in message `QueryResultBatch`, field `entity_result_type` -// specifies a `ResultType` for all the values in field `entity_results`). -type EntityResult_ResultType int32 - -const ( - // Unspecified. This value is never used. - EntityResult_RESULT_TYPE_UNSPECIFIED EntityResult_ResultType = 0 - // The key and properties. - EntityResult_FULL EntityResult_ResultType = 1 - // A projected subset of properties. The entity may have no key. - EntityResult_PROJECTION EntityResult_ResultType = 2 - // Only the key. - EntityResult_KEY_ONLY EntityResult_ResultType = 3 -) - -var EntityResult_ResultType_name = map[int32]string{ - 0: "RESULT_TYPE_UNSPECIFIED", - 1: "FULL", - 2: "PROJECTION", - 3: "KEY_ONLY", -} - -var EntityResult_ResultType_value = map[string]int32{ - "RESULT_TYPE_UNSPECIFIED": 0, - "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_927b394a72d2bc0d, []int{0, 0} -} - -// The sort direction. -type PropertyOrder_Direction int32 - -const ( - // Unspecified. This value must not be used. - PropertyOrder_DIRECTION_UNSPECIFIED PropertyOrder_Direction = 0 - // Ascending. - PropertyOrder_ASCENDING PropertyOrder_Direction = 1 - // Descending. - PropertyOrder_DESCENDING PropertyOrder_Direction = 2 -) - -var PropertyOrder_Direction_name = map[int32]string{ - 0: "DIRECTION_UNSPECIFIED", - 1: "ASCENDING", - 2: "DESCENDING", -} - -var PropertyOrder_Direction_value = map[string]int32{ - "DIRECTION_UNSPECIFIED": 0, - "ASCENDING": 1, - "DESCENDING": 2, -} - -func (x PropertyOrder_Direction) String() string { - return proto.EnumName(PropertyOrder_Direction_name, int32(x)) -} - -func (PropertyOrder_Direction) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_927b394a72d2bc0d, []int{5, 0} -} - -// A composite filter operator. -type CompositeFilter_Operator int32 - -const ( - // Unspecified. This value must not be used. - CompositeFilter_OPERATOR_UNSPECIFIED CompositeFilter_Operator = 0 - // The results are required to satisfy each of the combined filters. - CompositeFilter_AND CompositeFilter_Operator = 1 -) - -var CompositeFilter_Operator_name = map[int32]string{ - 0: "OPERATOR_UNSPECIFIED", - 1: "AND", -} - -var CompositeFilter_Operator_value = map[string]int32{ - "OPERATOR_UNSPECIFIED": 0, - "AND": 1, -} - -func (x CompositeFilter_Operator) String() string { - return proto.EnumName(CompositeFilter_Operator_name, int32(x)) -} - -func (CompositeFilter_Operator) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_927b394a72d2bc0d, []int{7, 0} -} - -// A property filter operator. -type PropertyFilter_Operator int32 - -const ( - // Unspecified. This value must not be used. - PropertyFilter_OPERATOR_UNSPECIFIED PropertyFilter_Operator = 0 - // Less than. - PropertyFilter_LESS_THAN PropertyFilter_Operator = 1 - // Less than or equal. - PropertyFilter_LESS_THAN_OR_EQUAL PropertyFilter_Operator = 2 - // Greater than. - PropertyFilter_GREATER_THAN PropertyFilter_Operator = 3 - // Greater than or equal. - PropertyFilter_GREATER_THAN_OR_EQUAL PropertyFilter_Operator = 4 - // Equal. - PropertyFilter_EQUAL PropertyFilter_Operator = 5 - // Has ancestor. - PropertyFilter_HAS_ANCESTOR PropertyFilter_Operator = 11 -) - -var PropertyFilter_Operator_name = map[int32]string{ - 0: "OPERATOR_UNSPECIFIED", - 1: "LESS_THAN", - 2: "LESS_THAN_OR_EQUAL", - 3: "GREATER_THAN", - 4: "GREATER_THAN_OR_EQUAL", - 5: "EQUAL", - 11: "HAS_ANCESTOR", -} - -var PropertyFilter_Operator_value = map[string]int32{ - "OPERATOR_UNSPECIFIED": 0, - "LESS_THAN": 1, - "LESS_THAN_OR_EQUAL": 2, - "GREATER_THAN": 3, - "GREATER_THAN_OR_EQUAL": 4, - "EQUAL": 5, - "HAS_ANCESTOR": 11, -} - -func (x PropertyFilter_Operator) String() string { - return proto.EnumName(PropertyFilter_Operator_name, int32(x)) -} - -func (PropertyFilter_Operator) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_927b394a72d2bc0d, []int{8, 0} -} - -// The possible values for the `more_results` field. -type QueryResultBatch_MoreResultsType int32 - -const ( - // Unspecified. This value is never used. - QueryResultBatch_MORE_RESULTS_TYPE_UNSPECIFIED QueryResultBatch_MoreResultsType = 0 - // There may be additional batches to fetch from this query. - QueryResultBatch_NOT_FINISHED QueryResultBatch_MoreResultsType = 1 - // The query is finished, but there may be more results after the limit. - QueryResultBatch_MORE_RESULTS_AFTER_LIMIT QueryResultBatch_MoreResultsType = 2 - // The query is finished, but there may be more results after the end - // cursor. - QueryResultBatch_MORE_RESULTS_AFTER_CURSOR QueryResultBatch_MoreResultsType = 4 - // The query is finished, and there are no more results. - QueryResultBatch_NO_MORE_RESULTS QueryResultBatch_MoreResultsType = 3 -) - -var QueryResultBatch_MoreResultsType_name = map[int32]string{ - 0: "MORE_RESULTS_TYPE_UNSPECIFIED", - 1: "NOT_FINISHED", - 2: "MORE_RESULTS_AFTER_LIMIT", - 4: "MORE_RESULTS_AFTER_CURSOR", - 3: "NO_MORE_RESULTS", -} - -var QueryResultBatch_MoreResultsType_value = map[string]int32{ - "MORE_RESULTS_TYPE_UNSPECIFIED": 0, - "NOT_FINISHED": 1, - "MORE_RESULTS_AFTER_LIMIT": 2, - "MORE_RESULTS_AFTER_CURSOR": 4, - "NO_MORE_RESULTS": 3, -} - -func (x QueryResultBatch_MoreResultsType) String() string { - return proto.EnumName(QueryResultBatch_MoreResultsType_name, int32(x)) -} - -func (QueryResultBatch_MoreResultsType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_927b394a72d2bc0d, []int{11, 0} -} - -// The result of fetching an entity from Datastore. -type EntityResult struct { - // The resulting entity. - Entity *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` - // The version of the entity, a strictly positive number that monotonically - // increases with changes to the entity. - // - // This field is set for - // [`FULL`][google.datastore.v1.EntityResult.ResultType.FULL] entity results. - // - // For [missing][google.datastore.v1.LookupResponse.missing] entities in - // `LookupResponse`, this is the version of the snapshot that was used to look - // up the entity, and it is always set except for eventually consistent reads. - Version int64 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"` - // A cursor that points to the position after the result entity. - // Set only when the `EntityResult` is part of a `QueryResultBatch` message. - Cursor []byte `protobuf:"bytes,3,opt,name=cursor,proto3" json:"cursor,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_927b394a72d2bc0d, []int{0} -} - -func (m *EntityResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EntityResult.Unmarshal(m, b) -} -func (m *EntityResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EntityResult.Marshal(b, m, deterministic) -} -func (m *EntityResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_EntityResult.Merge(m, src) -} -func (m *EntityResult) XXX_Size() int { - return xxx_messageInfo_EntityResult.Size(m) -} -func (m *EntityResult) XXX_DiscardUnknown() { - xxx_messageInfo_EntityResult.DiscardUnknown(m) -} - -var xxx_messageInfo_EntityResult proto.InternalMessageInfo - -func (m *EntityResult) GetEntity() *Entity { - if m != nil { - return m.Entity - } - return nil -} - -func (m *EntityResult) GetVersion() int64 { - if m != nil { - return m.Version - } - return 0 -} - -func (m *EntityResult) GetCursor() []byte { - if m != nil { - return m.Cursor - } - return nil -} - -// A query for entities. -type Query struct { - // The projection to return. Defaults to returning all properties. - Projection []*Projection `protobuf:"bytes,2,rep,name=projection,proto3" json:"projection,omitempty"` - // The kinds to query (if empty, returns entities of all kinds). - // Currently at most 1 kind may be specified. - Kind []*KindExpression `protobuf:"bytes,3,rep,name=kind,proto3" json:"kind,omitempty"` - // The filter to apply. - Filter *Filter `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` - // The order to apply to the query results (if empty, order is unspecified). - Order []*PropertyOrder `protobuf:"bytes,5,rep,name=order,proto3" json:"order,omitempty"` - // The properties to make distinct. The query results will contain the first - // result for each distinct combination of values for the given properties - // (if empty, all results are returned). - DistinctOn []*PropertyReference `protobuf:"bytes,6,rep,name=distinct_on,json=distinctOn,proto3" json:"distinct_on,omitempty"` - // A starting point for the query results. Query cursors are - // returned in query result batches and - // [can only be used to continue the same - // query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets). - StartCursor []byte `protobuf:"bytes,7,opt,name=start_cursor,json=startCursor,proto3" json:"start_cursor,omitempty"` - // An ending point for the query results. Query cursors are - // returned in query result batches and - // [can only be used to limit the same - // query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets). - EndCursor []byte `protobuf:"bytes,8,opt,name=end_cursor,json=endCursor,proto3" json:"end_cursor,omitempty"` - // The number of results to skip. Applies before limit, but after all other - // constraints. Optional. Must be >= 0 if specified. - Offset int32 `protobuf:"varint,10,opt,name=offset,proto3" json:"offset,omitempty"` - // The maximum number of results to return. Applies after all other - // constraints. Optional. - // Unspecified is interpreted as no limit. - // Must be >= 0 if specified. - Limit *wrappers.Int32Value `protobuf:"bytes,12,opt,name=limit,proto3" json:"limit,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_927b394a72d2bc0d, []int{1} -} - -func (m *Query) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Query.Unmarshal(m, b) -} -func (m *Query) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Query.Marshal(b, m, deterministic) -} -func (m *Query) XXX_Merge(src proto.Message) { - xxx_messageInfo_Query.Merge(m, src) -} -func (m *Query) XXX_Size() int { - return xxx_messageInfo_Query.Size(m) -} -func (m *Query) XXX_DiscardUnknown() { - xxx_messageInfo_Query.DiscardUnknown(m) -} - -var xxx_messageInfo_Query proto.InternalMessageInfo - -func (m *Query) GetProjection() []*Projection { - if m != nil { - return m.Projection - } - return nil -} - -func (m *Query) GetKind() []*KindExpression { - if m != nil { - return m.Kind - } - return nil -} - -func (m *Query) GetFilter() *Filter { - if m != nil { - return m.Filter - } - return nil -} - -func (m *Query) GetOrder() []*PropertyOrder { - if m != nil { - return m.Order - } - return nil -} - -func (m *Query) GetDistinctOn() []*PropertyReference { - if m != nil { - return m.DistinctOn - } - return nil -} - -func (m *Query) GetStartCursor() []byte { - if m != nil { - return m.StartCursor - } - return nil -} - -func (m *Query) GetEndCursor() []byte { - if m != nil { - return m.EndCursor - } - return nil -} - -func (m *Query) GetOffset() int32 { - if m != nil { - return m.Offset - } - return 0 -} - -func (m *Query) GetLimit() *wrappers.Int32Value { - if m != nil { - return m.Limit - } - return nil -} - -// A representation of a kind. -type KindExpression struct { - // The name of the kind. - 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 *KindExpression) Reset() { *m = KindExpression{} } -func (m *KindExpression) String() string { return proto.CompactTextString(m) } -func (*KindExpression) ProtoMessage() {} -func (*KindExpression) Descriptor() ([]byte, []int) { - return fileDescriptor_927b394a72d2bc0d, []int{2} -} - -func (m *KindExpression) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_KindExpression.Unmarshal(m, b) -} -func (m *KindExpression) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_KindExpression.Marshal(b, m, deterministic) -} -func (m *KindExpression) XXX_Merge(src proto.Message) { - xxx_messageInfo_KindExpression.Merge(m, src) -} -func (m *KindExpression) XXX_Size() int { - return xxx_messageInfo_KindExpression.Size(m) -} -func (m *KindExpression) XXX_DiscardUnknown() { - xxx_messageInfo_KindExpression.DiscardUnknown(m) -} - -var xxx_messageInfo_KindExpression proto.InternalMessageInfo - -func (m *KindExpression) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// A reference to a property relative to the kind expressions. -type PropertyReference struct { - // The name of the property. - // If name includes "."s, it may be interpreted as a property name path. - 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 *PropertyReference) Reset() { *m = PropertyReference{} } -func (m *PropertyReference) String() string { return proto.CompactTextString(m) } -func (*PropertyReference) ProtoMessage() {} -func (*PropertyReference) Descriptor() ([]byte, []int) { - return fileDescriptor_927b394a72d2bc0d, []int{3} -} - -func (m *PropertyReference) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PropertyReference.Unmarshal(m, b) -} -func (m *PropertyReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PropertyReference.Marshal(b, m, deterministic) -} -func (m *PropertyReference) XXX_Merge(src proto.Message) { - xxx_messageInfo_PropertyReference.Merge(m, src) -} -func (m *PropertyReference) XXX_Size() int { - return xxx_messageInfo_PropertyReference.Size(m) -} -func (m *PropertyReference) XXX_DiscardUnknown() { - xxx_messageInfo_PropertyReference.DiscardUnknown(m) -} - -var xxx_messageInfo_PropertyReference proto.InternalMessageInfo - -func (m *PropertyReference) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// A representation of a property in a projection. -type Projection struct { - // The property to project. - Property *PropertyReference `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_927b394a72d2bc0d, []int{4} -} - -func (m *Projection) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Projection.Unmarshal(m, b) -} -func (m *Projection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Projection.Marshal(b, m, deterministic) -} -func (m *Projection) XXX_Merge(src proto.Message) { - xxx_messageInfo_Projection.Merge(m, src) -} -func (m *Projection) XXX_Size() int { - return xxx_messageInfo_Projection.Size(m) -} -func (m *Projection) XXX_DiscardUnknown() { - xxx_messageInfo_Projection.DiscardUnknown(m) -} - -var xxx_messageInfo_Projection proto.InternalMessageInfo - -func (m *Projection) GetProperty() *PropertyReference { - if m != nil { - return m.Property - } - return nil -} - -// The desired order for a specific property. -type PropertyOrder struct { - // The property to order by. - Property *PropertyReference `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` - // The direction to order by. Defaults to `ASCENDING`. - Direction PropertyOrder_Direction `protobuf:"varint,2,opt,name=direction,proto3,enum=google.datastore.v1.PropertyOrder_Direction" json:"direction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_927b394a72d2bc0d, []int{5} -} - -func (m *PropertyOrder) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PropertyOrder.Unmarshal(m, b) -} -func (m *PropertyOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PropertyOrder.Marshal(b, m, deterministic) -} -func (m *PropertyOrder) XXX_Merge(src proto.Message) { - xxx_messageInfo_PropertyOrder.Merge(m, src) -} -func (m *PropertyOrder) XXX_Size() int { - return xxx_messageInfo_PropertyOrder.Size(m) -} -func (m *PropertyOrder) XXX_DiscardUnknown() { - xxx_messageInfo_PropertyOrder.DiscardUnknown(m) -} - -var xxx_messageInfo_PropertyOrder proto.InternalMessageInfo - -func (m *PropertyOrder) GetProperty() *PropertyReference { - if m != nil { - return m.Property - } - return nil -} - -func (m *PropertyOrder) GetDirection() PropertyOrder_Direction { - if m != nil { - return m.Direction - } - return PropertyOrder_DIRECTION_UNSPECIFIED -} - -// A holder for any type of filter. -type Filter struct { - // The type of filter. - // - // Types that are valid to be assigned to FilterType: - // *Filter_CompositeFilter - // *Filter_PropertyFilter - FilterType isFilter_FilterType `protobuf_oneof:"filter_type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_927b394a72d2bc0d, []int{6} -} - -func (m *Filter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Filter.Unmarshal(m, b) -} -func (m *Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Filter.Marshal(b, m, deterministic) -} -func (m *Filter) XXX_Merge(src proto.Message) { - xxx_messageInfo_Filter.Merge(m, src) -} -func (m *Filter) XXX_Size() int { - return xxx_messageInfo_Filter.Size(m) -} -func (m *Filter) XXX_DiscardUnknown() { - xxx_messageInfo_Filter.DiscardUnknown(m) -} - -var xxx_messageInfo_Filter proto.InternalMessageInfo - -type isFilter_FilterType interface { - isFilter_FilterType() -} - -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 (m *Filter) GetFilterType() isFilter_FilterType { - if m != nil { - return m.FilterType - } - return nil -} - -func (m *Filter) GetCompositeFilter() *CompositeFilter { - if x, ok := m.GetFilterType().(*Filter_CompositeFilter); ok { - return x.CompositeFilter - } - return nil -} - -func (m *Filter) GetPropertyFilter() *PropertyFilter { - if x, ok := m.GetFilterType().(*Filter_PropertyFilter); ok { - return x.PropertyFilter - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Filter) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Filter_CompositeFilter)(nil), - (*Filter_PropertyFilter)(nil), - } -} - -// A filter that merges multiple other filters using the given operator. -type CompositeFilter struct { - // The operator for combining multiple filters. - Op CompositeFilter_Operator `protobuf:"varint,1,opt,name=op,proto3,enum=google.datastore.v1.CompositeFilter_Operator" json:"op,omitempty"` - // The list of filters to combine. - // Must contain at least one filter. - Filters []*Filter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_927b394a72d2bc0d, []int{7} -} - -func (m *CompositeFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CompositeFilter.Unmarshal(m, b) -} -func (m *CompositeFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CompositeFilter.Marshal(b, m, deterministic) -} -func (m *CompositeFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_CompositeFilter.Merge(m, src) -} -func (m *CompositeFilter) XXX_Size() int { - return xxx_messageInfo_CompositeFilter.Size(m) -} -func (m *CompositeFilter) XXX_DiscardUnknown() { - xxx_messageInfo_CompositeFilter.DiscardUnknown(m) -} - -var xxx_messageInfo_CompositeFilter proto.InternalMessageInfo - -func (m *CompositeFilter) GetOp() CompositeFilter_Operator { - if m != nil { - return m.Op - } - return CompositeFilter_OPERATOR_UNSPECIFIED -} - -func (m *CompositeFilter) GetFilters() []*Filter { - if m != nil { - return m.Filters - } - return nil -} - -// A filter on a specific property. -type PropertyFilter struct { - // The property to filter by. - Property *PropertyReference `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` - // The operator to filter by. - Op PropertyFilter_Operator `protobuf:"varint,2,opt,name=op,proto3,enum=google.datastore.v1.PropertyFilter_Operator" json:"op,omitempty"` - // The value to compare the property to. - Value *Value `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_927b394a72d2bc0d, []int{8} -} - -func (m *PropertyFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PropertyFilter.Unmarshal(m, b) -} -func (m *PropertyFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PropertyFilter.Marshal(b, m, deterministic) -} -func (m *PropertyFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_PropertyFilter.Merge(m, src) -} -func (m *PropertyFilter) XXX_Size() int { - return xxx_messageInfo_PropertyFilter.Size(m) -} -func (m *PropertyFilter) XXX_DiscardUnknown() { - xxx_messageInfo_PropertyFilter.DiscardUnknown(m) -} - -var xxx_messageInfo_PropertyFilter proto.InternalMessageInfo - -func (m *PropertyFilter) GetProperty() *PropertyReference { - if m != nil { - return m.Property - } - return nil -} - -func (m *PropertyFilter) GetOp() PropertyFilter_Operator { - if m != nil { - return m.Op - } - return PropertyFilter_OPERATOR_UNSPECIFIED -} - -func (m *PropertyFilter) GetValue() *Value { - if m != nil { - return m.Value - } - return nil -} - -// A [GQL -// query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference). -type GqlQuery struct { - // A string of the format described - // [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference). - QueryString string `protobuf:"bytes,1,opt,name=query_string,json=queryString,proto3" json:"query_string,omitempty"` - // When false, the query string must not contain any literals and instead must - // bind all values. For example, - // `SELECT * FROM Kind WHERE a = 'string literal'` is not allowed, while - // `SELECT * FROM Kind WHERE a = @value` is. - AllowLiterals bool `protobuf:"varint,2,opt,name=allow_literals,json=allowLiterals,proto3" json:"allow_literals,omitempty"` - // For each non-reserved named binding site in the query string, there must be - // a named parameter with that name, but not necessarily the inverse. - // - // Key must match regex `[A-Za-z_$][A-Za-z_$0-9]*`, must not match regex - // `__.*__`, and must not be `""`. - NamedBindings map[string]*GqlQueryParameter `protobuf:"bytes,5,rep,name=named_bindings,json=namedBindings,proto3" json:"named_bindings,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Numbered binding site @1 references the first numbered parameter, - // effectively using 1-based indexing, rather than the usual 0. - // - // For each binding site numbered i in `query_string`, there must be an i-th - // numbered parameter. The inverse must also be true. - PositionalBindings []*GqlQueryParameter `protobuf:"bytes,4,rep,name=positional_bindings,json=positionalBindings,proto3" json:"positional_bindings,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_927b394a72d2bc0d, []int{9} -} - -func (m *GqlQuery) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GqlQuery.Unmarshal(m, b) -} -func (m *GqlQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GqlQuery.Marshal(b, m, deterministic) -} -func (m *GqlQuery) XXX_Merge(src proto.Message) { - xxx_messageInfo_GqlQuery.Merge(m, src) -} -func (m *GqlQuery) XXX_Size() int { - return xxx_messageInfo_GqlQuery.Size(m) -} -func (m *GqlQuery) XXX_DiscardUnknown() { - xxx_messageInfo_GqlQuery.DiscardUnknown(m) -} - -var xxx_messageInfo_GqlQuery proto.InternalMessageInfo - -func (m *GqlQuery) GetQueryString() string { - if m != nil { - return m.QueryString - } - return "" -} - -func (m *GqlQuery) GetAllowLiterals() bool { - if m != nil { - return m.AllowLiterals - } - return false -} - -func (m *GqlQuery) GetNamedBindings() map[string]*GqlQueryParameter { - if m != nil { - return m.NamedBindings - } - return nil -} - -func (m *GqlQuery) GetPositionalBindings() []*GqlQueryParameter { - if m != nil { - return m.PositionalBindings - } - return nil -} - -// A binding parameter for a GQL query. -type GqlQueryParameter struct { - // The type of parameter. - // - // Types that are valid to be assigned to ParameterType: - // *GqlQueryParameter_Value - // *GqlQueryParameter_Cursor - ParameterType isGqlQueryParameter_ParameterType `protobuf_oneof:"parameter_type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_927b394a72d2bc0d, []int{10} -} - -func (m *GqlQueryParameter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GqlQueryParameter.Unmarshal(m, b) -} -func (m *GqlQueryParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GqlQueryParameter.Marshal(b, m, deterministic) -} -func (m *GqlQueryParameter) XXX_Merge(src proto.Message) { - xxx_messageInfo_GqlQueryParameter.Merge(m, src) -} -func (m *GqlQueryParameter) XXX_Size() int { - return xxx_messageInfo_GqlQueryParameter.Size(m) -} -func (m *GqlQueryParameter) XXX_DiscardUnknown() { - xxx_messageInfo_GqlQueryParameter.DiscardUnknown(m) -} - -var xxx_messageInfo_GqlQueryParameter proto.InternalMessageInfo - -type isGqlQueryParameter_ParameterType interface { - isGqlQueryParameter_ParameterType() -} - -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_Cursor) isGqlQueryParameter_ParameterType() {} - -func (m *GqlQueryParameter) GetParameterType() isGqlQueryParameter_ParameterType { - if m != nil { - return m.ParameterType - } - return nil -} - -func (m *GqlQueryParameter) GetValue() *Value { - if x, ok := m.GetParameterType().(*GqlQueryParameter_Value); ok { - return x.Value - } - return nil -} - -func (m *GqlQueryParameter) GetCursor() []byte { - if x, ok := m.GetParameterType().(*GqlQueryParameter_Cursor); ok { - return x.Cursor - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*GqlQueryParameter) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*GqlQueryParameter_Value)(nil), - (*GqlQueryParameter_Cursor)(nil), - } -} - -// A batch of results produced by a query. -type QueryResultBatch struct { - // The number of results skipped, typically because of an offset. - SkippedResults int32 `protobuf:"varint,6,opt,name=skipped_results,json=skippedResults,proto3" json:"skipped_results,omitempty"` - // A cursor that points to the position after the last skipped result. - // Will be set when `skipped_results` != 0. - SkippedCursor []byte `protobuf:"bytes,3,opt,name=skipped_cursor,json=skippedCursor,proto3" json:"skipped_cursor,omitempty"` - // The result type for every entity in `entity_results`. - EntityResultType EntityResult_ResultType `protobuf:"varint,1,opt,name=entity_result_type,json=entityResultType,proto3,enum=google.datastore.v1.EntityResult_ResultType" json:"entity_result_type,omitempty"` - // The results for this batch. - EntityResults []*EntityResult `protobuf:"bytes,2,rep,name=entity_results,json=entityResults,proto3" json:"entity_results,omitempty"` - // A cursor that points to the position after the last result in the batch. - EndCursor []byte `protobuf:"bytes,4,opt,name=end_cursor,json=endCursor,proto3" json:"end_cursor,omitempty"` - // The state of the query after the current batch. - MoreResults QueryResultBatch_MoreResultsType `protobuf:"varint,5,opt,name=more_results,json=moreResults,proto3,enum=google.datastore.v1.QueryResultBatch_MoreResultsType" json:"more_results,omitempty"` - // The version number of the snapshot this batch was returned from. - // This applies to the range of results from the query's `start_cursor` (or - // the beginning of the query if no cursor was given) to this batch's - // `end_cursor` (not the query's `end_cursor`). - // - // In a single transaction, subsequent query result batches for the same query - // can have a greater snapshot version number. Each batch's snapshot version - // is valid for all preceding batches. - // The value will be zero for eventually consistent queries. - SnapshotVersion int64 `protobuf:"varint,7,opt,name=snapshot_version,json=snapshotVersion,proto3" json:"snapshot_version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_927b394a72d2bc0d, []int{11} -} - -func (m *QueryResultBatch) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryResultBatch.Unmarshal(m, b) -} -func (m *QueryResultBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryResultBatch.Marshal(b, m, deterministic) -} -func (m *QueryResultBatch) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryResultBatch.Merge(m, src) -} -func (m *QueryResultBatch) XXX_Size() int { - return xxx_messageInfo_QueryResultBatch.Size(m) -} -func (m *QueryResultBatch) XXX_DiscardUnknown() { - xxx_messageInfo_QueryResultBatch.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryResultBatch proto.InternalMessageInfo - -func (m *QueryResultBatch) GetSkippedResults() int32 { - if m != nil { - return m.SkippedResults - } - return 0 -} - -func (m *QueryResultBatch) GetSkippedCursor() []byte { - if m != nil { - return m.SkippedCursor - } - return nil -} - -func (m *QueryResultBatch) GetEntityResultType() EntityResult_ResultType { - if m != nil { - return m.EntityResultType - } - return EntityResult_RESULT_TYPE_UNSPECIFIED -} - -func (m *QueryResultBatch) GetEntityResults() []*EntityResult { - if m != nil { - return m.EntityResults - } - return nil -} - -func (m *QueryResultBatch) GetEndCursor() []byte { - if m != nil { - return m.EndCursor - } - return nil -} - -func (m *QueryResultBatch) GetMoreResults() QueryResultBatch_MoreResultsType { - if m != nil { - return m.MoreResults - } - return QueryResultBatch_MORE_RESULTS_TYPE_UNSPECIFIED -} - -func (m *QueryResultBatch) GetSnapshotVersion() int64 { - if m != nil { - return m.SnapshotVersion - } - return 0 -} - -func init() { - proto.RegisterEnum("google.datastore.v1.EntityResult_ResultType", EntityResult_ResultType_name, EntityResult_ResultType_value) - proto.RegisterEnum("google.datastore.v1.PropertyOrder_Direction", PropertyOrder_Direction_name, PropertyOrder_Direction_value) - proto.RegisterEnum("google.datastore.v1.CompositeFilter_Operator", CompositeFilter_Operator_name, CompositeFilter_Operator_value) - proto.RegisterEnum("google.datastore.v1.PropertyFilter_Operator", PropertyFilter_Operator_name, PropertyFilter_Operator_value) - proto.RegisterEnum("google.datastore.v1.QueryResultBatch_MoreResultsType", QueryResultBatch_MoreResultsType_name, QueryResultBatch_MoreResultsType_value) - proto.RegisterType((*EntityResult)(nil), "google.datastore.v1.EntityResult") - proto.RegisterType((*Query)(nil), "google.datastore.v1.Query") - proto.RegisterType((*KindExpression)(nil), "google.datastore.v1.KindExpression") - proto.RegisterType((*PropertyReference)(nil), "google.datastore.v1.PropertyReference") - proto.RegisterType((*Projection)(nil), "google.datastore.v1.Projection") - proto.RegisterType((*PropertyOrder)(nil), "google.datastore.v1.PropertyOrder") - proto.RegisterType((*Filter)(nil), "google.datastore.v1.Filter") - proto.RegisterType((*CompositeFilter)(nil), "google.datastore.v1.CompositeFilter") - proto.RegisterType((*PropertyFilter)(nil), "google.datastore.v1.PropertyFilter") - proto.RegisterType((*GqlQuery)(nil), "google.datastore.v1.GqlQuery") - proto.RegisterMapType((map[string]*GqlQueryParameter)(nil), "google.datastore.v1.GqlQuery.NamedBindingsEntry") - proto.RegisterType((*GqlQueryParameter)(nil), "google.datastore.v1.GqlQueryParameter") - proto.RegisterType((*QueryResultBatch)(nil), "google.datastore.v1.QueryResultBatch") -} - -func init() { proto.RegisterFile("google/datastore/v1/query.proto", fileDescriptor_927b394a72d2bc0d) } - -var fileDescriptor_927b394a72d2bc0d = []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,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03, 0x00, 0x00, 0xff, 0xff, 0xcd, 0x38, 0x05, 0xaa, 0x7d, 0x0c, 0x00, - 0x00, -} 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 deleted file mode 100644 index bcaff2d0..00000000 --- a/vendor/google.golang.org/genproto/googleapis/datastore/v1beta3/datastore.pb.go +++ /dev/null @@ -1,1815 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/datastore/v1beta3/datastore.proto - -package datastore - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The modes available for commits. -type CommitRequest_Mode int32 - -const ( - // Unspecified. This value must not be used. - CommitRequest_MODE_UNSPECIFIED CommitRequest_Mode = 0 - // Transactional: The mutations are either all applied, or none are applied. - // Learn about transactions - // [here](https://cloud.google.com/datastore/docs/concepts/transactions). - CommitRequest_TRANSACTIONAL CommitRequest_Mode = 1 - // Non-transactional: The mutations may not apply as all or none. - CommitRequest_NON_TRANSACTIONAL CommitRequest_Mode = 2 -) - -var CommitRequest_Mode_name = map[int32]string{ - 0: "MODE_UNSPECIFIED", - 1: "TRANSACTIONAL", - 2: "NON_TRANSACTIONAL", -} - -var CommitRequest_Mode_value = map[string]int32{ - "MODE_UNSPECIFIED": 0, - "TRANSACTIONAL": 1, - "NON_TRANSACTIONAL": 2, -} - -func (x CommitRequest_Mode) String() string { - return proto.EnumName(CommitRequest_Mode_name, int32(x)) -} - -func (CommitRequest_Mode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_3be32184765753d5, []int{8, 0} -} - -// The possible values for read consistencies. -type ReadOptions_ReadConsistency int32 - -const ( - // Unspecified. This value must not be used. - ReadOptions_READ_CONSISTENCY_UNSPECIFIED ReadOptions_ReadConsistency = 0 - // Strong consistency. - ReadOptions_STRONG ReadOptions_ReadConsistency = 1 - // Eventual consistency. - ReadOptions_EVENTUAL ReadOptions_ReadConsistency = 2 -) - -var ReadOptions_ReadConsistency_name = map[int32]string{ - 0: "READ_CONSISTENCY_UNSPECIFIED", - 1: "STRONG", - 2: "EVENTUAL", -} - -var ReadOptions_ReadConsistency_value = map[string]int32{ - "READ_CONSISTENCY_UNSPECIFIED": 0, - "STRONG": 1, - "EVENTUAL": 2, -} - -func (x ReadOptions_ReadConsistency) String() string { - return proto.EnumName(ReadOptions_ReadConsistency_name, int32(x)) -} - -func (ReadOptions_ReadConsistency) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_3be32184765753d5, []int{16, 0} -} - -// The request for -// [Datastore.Lookup][google.datastore.v1beta3.Datastore.Lookup]. -type LookupRequest struct { - // The ID of the project against which to make the request. - ProjectId string `protobuf:"bytes,8,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The options for this lookup request. - ReadOptions *ReadOptions `protobuf:"bytes,1,opt,name=read_options,json=readOptions,proto3" json:"read_options,omitempty"` - // Keys of entities to look up. - Keys []*Key `protobuf:"bytes,3,rep,name=keys,proto3" json:"keys,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3be32184765753d5, []int{0} -} - -func (m *LookupRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LookupRequest.Unmarshal(m, b) -} -func (m *LookupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LookupRequest.Marshal(b, m, deterministic) -} -func (m *LookupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_LookupRequest.Merge(m, src) -} -func (m *LookupRequest) XXX_Size() int { - return xxx_messageInfo_LookupRequest.Size(m) -} -func (m *LookupRequest) XXX_DiscardUnknown() { - xxx_messageInfo_LookupRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_LookupRequest proto.InternalMessageInfo - -func (m *LookupRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *LookupRequest) GetReadOptions() *ReadOptions { - if m != nil { - return m.ReadOptions - } - return nil -} - -func (m *LookupRequest) GetKeys() []*Key { - if m != nil { - return m.Keys - } - return nil -} - -// The response for -// [Datastore.Lookup][google.datastore.v1beta3.Datastore.Lookup]. -type LookupResponse struct { - // Entities found as `ResultType.FULL` entities. The order of results in this - // field is undefined and has no relation to the order of the keys in the - // input. - Found []*EntityResult `protobuf:"bytes,1,rep,name=found,proto3" json:"found,omitempty"` - // Entities not found as `ResultType.KEY_ONLY` entities. The order of results - // in this field is undefined and has no relation to the order of the keys - // in the input. - Missing []*EntityResult `protobuf:"bytes,2,rep,name=missing,proto3" json:"missing,omitempty"` - // A list of keys that were not looked up due to resource constraints. The - // order of results in this field is undefined and has no relation to the - // order of the keys in the input. - Deferred []*Key `protobuf:"bytes,3,rep,name=deferred,proto3" json:"deferred,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3be32184765753d5, []int{1} -} - -func (m *LookupResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LookupResponse.Unmarshal(m, b) -} -func (m *LookupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LookupResponse.Marshal(b, m, deterministic) -} -func (m *LookupResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_LookupResponse.Merge(m, src) -} -func (m *LookupResponse) XXX_Size() int { - return xxx_messageInfo_LookupResponse.Size(m) -} -func (m *LookupResponse) XXX_DiscardUnknown() { - xxx_messageInfo_LookupResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_LookupResponse proto.InternalMessageInfo - -func (m *LookupResponse) GetFound() []*EntityResult { - if m != nil { - return m.Found - } - return nil -} - -func (m *LookupResponse) GetMissing() []*EntityResult { - if m != nil { - return m.Missing - } - return nil -} - -func (m *LookupResponse) GetDeferred() []*Key { - if m != nil { - return m.Deferred - } - return nil -} - -// The request for -// [Datastore.RunQuery][google.datastore.v1beta3.Datastore.RunQuery]. -type RunQueryRequest struct { - // The ID of the project against which to make the request. - ProjectId string `protobuf:"bytes,8,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Entities are partitioned into subsets, identified by a partition ID. - // Queries are scoped to a single partition. - // This partition ID is normalized with the standard default context - // partition ID. - PartitionId *PartitionId `protobuf:"bytes,2,opt,name=partition_id,json=partitionId,proto3" json:"partition_id,omitempty"` - // The options for this query. - ReadOptions *ReadOptions `protobuf:"bytes,1,opt,name=read_options,json=readOptions,proto3" json:"read_options,omitempty"` - // The type of query. - // - // Types that are valid to be assigned to QueryType: - // *RunQueryRequest_Query - // *RunQueryRequest_GqlQuery - QueryType isRunQueryRequest_QueryType `protobuf_oneof:"query_type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3be32184765753d5, []int{2} -} - -func (m *RunQueryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RunQueryRequest.Unmarshal(m, b) -} -func (m *RunQueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RunQueryRequest.Marshal(b, m, deterministic) -} -func (m *RunQueryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RunQueryRequest.Merge(m, src) -} -func (m *RunQueryRequest) XXX_Size() int { - return xxx_messageInfo_RunQueryRequest.Size(m) -} -func (m *RunQueryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RunQueryRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_RunQueryRequest proto.InternalMessageInfo - -func (m *RunQueryRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *RunQueryRequest) GetPartitionId() *PartitionId { - if m != nil { - return m.PartitionId - } - return nil -} - -func (m *RunQueryRequest) GetReadOptions() *ReadOptions { - if m != nil { - return m.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 - } - return nil -} - -func (m *RunQueryRequest) GetGqlQuery() *GqlQuery { - if x, ok := m.GetQueryType().(*RunQueryRequest_GqlQuery); ok { - return x.GqlQuery - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*RunQueryRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*RunQueryRequest_Query)(nil), - (*RunQueryRequest_GqlQuery)(nil), - } -} - -// The response for -// [Datastore.RunQuery][google.datastore.v1beta3.Datastore.RunQuery]. -type RunQueryResponse struct { - // A batch of query results (always present). - Batch *QueryResultBatch `protobuf:"bytes,1,opt,name=batch,proto3" json:"batch,omitempty"` - // The parsed form of the `GqlQuery` from the request, if it was set. - Query *Query `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3be32184765753d5, []int{3} -} - -func (m *RunQueryResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RunQueryResponse.Unmarshal(m, b) -} -func (m *RunQueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RunQueryResponse.Marshal(b, m, deterministic) -} -func (m *RunQueryResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RunQueryResponse.Merge(m, src) -} -func (m *RunQueryResponse) XXX_Size() int { - return xxx_messageInfo_RunQueryResponse.Size(m) -} -func (m *RunQueryResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RunQueryResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_RunQueryResponse proto.InternalMessageInfo - -func (m *RunQueryResponse) GetBatch() *QueryResultBatch { - if m != nil { - return m.Batch - } - return nil -} - -func (m *RunQueryResponse) GetQuery() *Query { - if m != nil { - return m.Query - } - return nil -} - -// The request for -// [Datastore.BeginTransaction][google.datastore.v1beta3.Datastore.BeginTransaction]. -type BeginTransactionRequest struct { - // The ID of the project against which to make the request. - ProjectId string `protobuf:"bytes,8,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Options for a new transaction. - TransactionOptions *TransactionOptions `protobuf:"bytes,10,opt,name=transaction_options,json=transactionOptions,proto3" json:"transaction_options,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3be32184765753d5, []int{4} -} - -func (m *BeginTransactionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BeginTransactionRequest.Unmarshal(m, b) -} -func (m *BeginTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BeginTransactionRequest.Marshal(b, m, deterministic) -} -func (m *BeginTransactionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BeginTransactionRequest.Merge(m, src) -} -func (m *BeginTransactionRequest) XXX_Size() int { - return xxx_messageInfo_BeginTransactionRequest.Size(m) -} -func (m *BeginTransactionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BeginTransactionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BeginTransactionRequest proto.InternalMessageInfo - -func (m *BeginTransactionRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *BeginTransactionRequest) GetTransactionOptions() *TransactionOptions { - if m != nil { - return m.TransactionOptions - } - return nil -} - -// The response for -// [Datastore.BeginTransaction][google.datastore.v1beta3.Datastore.BeginTransaction]. -type BeginTransactionResponse struct { - // The transaction identifier (always present). - Transaction []byte `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BeginTransactionResponse) Reset() { *m = BeginTransactionResponse{} } -func (m *BeginTransactionResponse) String() string { return proto.CompactTextString(m) } -func (*BeginTransactionResponse) ProtoMessage() {} -func (*BeginTransactionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3be32184765753d5, []int{5} -} - -func (m *BeginTransactionResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BeginTransactionResponse.Unmarshal(m, b) -} -func (m *BeginTransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BeginTransactionResponse.Marshal(b, m, deterministic) -} -func (m *BeginTransactionResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BeginTransactionResponse.Merge(m, src) -} -func (m *BeginTransactionResponse) XXX_Size() int { - return xxx_messageInfo_BeginTransactionResponse.Size(m) -} -func (m *BeginTransactionResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BeginTransactionResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_BeginTransactionResponse proto.InternalMessageInfo - -func (m *BeginTransactionResponse) GetTransaction() []byte { - if m != nil { - return m.Transaction - } - return nil -} - -// The request for -// [Datastore.Rollback][google.datastore.v1beta3.Datastore.Rollback]. -type RollbackRequest struct { - // The ID of the project against which to make the request. - ProjectId string `protobuf:"bytes,8,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The transaction identifier, returned by a call to - // [Datastore.BeginTransaction][google.datastore.v1beta3.Datastore.BeginTransaction]. - Transaction []byte `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3be32184765753d5, []int{6} -} - -func (m *RollbackRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RollbackRequest.Unmarshal(m, b) -} -func (m *RollbackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RollbackRequest.Marshal(b, m, deterministic) -} -func (m *RollbackRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RollbackRequest.Merge(m, src) -} -func (m *RollbackRequest) XXX_Size() int { - return xxx_messageInfo_RollbackRequest.Size(m) -} -func (m *RollbackRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RollbackRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_RollbackRequest proto.InternalMessageInfo - -func (m *RollbackRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *RollbackRequest) GetTransaction() []byte { - if m != nil { - return m.Transaction - } - return nil -} - -// The response for -// [Datastore.Rollback][google.datastore.v1beta3.Datastore.Rollback]. (an empty -// message). -type RollbackResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3be32184765753d5, []int{7} -} - -func (m *RollbackResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RollbackResponse.Unmarshal(m, b) -} -func (m *RollbackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RollbackResponse.Marshal(b, m, deterministic) -} -func (m *RollbackResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RollbackResponse.Merge(m, src) -} -func (m *RollbackResponse) XXX_Size() int { - return xxx_messageInfo_RollbackResponse.Size(m) -} -func (m *RollbackResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RollbackResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_RollbackResponse proto.InternalMessageInfo - -// The request for -// [Datastore.Commit][google.datastore.v1beta3.Datastore.Commit]. -type CommitRequest struct { - // The ID of the project against which to make the request. - ProjectId string `protobuf:"bytes,8,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The type of commit to perform. Defaults to `TRANSACTIONAL`. - Mode CommitRequest_Mode `protobuf:"varint,5,opt,name=mode,proto3,enum=google.datastore.v1beta3.CommitRequest_Mode" json:"mode,omitempty"` - // Must be set when mode is `TRANSACTIONAL`. - // - // Types that are valid to be assigned to TransactionSelector: - // *CommitRequest_Transaction - TransactionSelector isCommitRequest_TransactionSelector `protobuf_oneof:"transaction_selector"` - // The mutations to perform. - // - // When mode is `TRANSACTIONAL`, mutations affecting a single entity are - // applied in order. The following sequences of mutations affecting a single - // entity are not permitted in a single `Commit` request: - // - // - `insert` followed by `insert` - // - `update` followed by `insert` - // - `upsert` followed by `insert` - // - `delete` followed by `update` - // - // When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single - // entity. - Mutations []*Mutation `protobuf:"bytes,6,rep,name=mutations,proto3" json:"mutations,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3be32184765753d5, []int{8} -} - -func (m *CommitRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommitRequest.Unmarshal(m, b) -} -func (m *CommitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommitRequest.Marshal(b, m, deterministic) -} -func (m *CommitRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommitRequest.Merge(m, src) -} -func (m *CommitRequest) XXX_Size() int { - return xxx_messageInfo_CommitRequest.Size(m) -} -func (m *CommitRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CommitRequest.DiscardUnknown(m) -} - -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() -} - -type CommitRequest_Transaction struct { - Transaction []byte `protobuf:"bytes,1,opt,name=transaction,proto3,oneof"` -} - -func (*CommitRequest_Transaction) isCommitRequest_TransactionSelector() {} - -func (m *CommitRequest) GetTransactionSelector() isCommitRequest_TransactionSelector { - if m != nil { - return m.TransactionSelector - } - return nil -} - -func (m *CommitRequest) GetTransaction() []byte { - if x, ok := m.GetTransactionSelector().(*CommitRequest_Transaction); ok { - return x.Transaction - } - return nil -} - -func (m *CommitRequest) GetMutations() []*Mutation { - if m != nil { - return m.Mutations - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CommitRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CommitRequest_Transaction)(nil), - } -} - -// The response for -// [Datastore.Commit][google.datastore.v1beta3.Datastore.Commit]. -type CommitResponse struct { - // The result of performing the mutations. - // The i-th mutation result corresponds to the i-th mutation in the request. - MutationResults []*MutationResult `protobuf:"bytes,3,rep,name=mutation_results,json=mutationResults,proto3" json:"mutation_results,omitempty"` - // The number of index entries updated during the commit, or zero if none were - // updated. - IndexUpdates int32 `protobuf:"varint,4,opt,name=index_updates,json=indexUpdates,proto3" json:"index_updates,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3be32184765753d5, []int{9} -} - -func (m *CommitResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommitResponse.Unmarshal(m, b) -} -func (m *CommitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommitResponse.Marshal(b, m, deterministic) -} -func (m *CommitResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommitResponse.Merge(m, src) -} -func (m *CommitResponse) XXX_Size() int { - return xxx_messageInfo_CommitResponse.Size(m) -} -func (m *CommitResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CommitResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_CommitResponse proto.InternalMessageInfo - -func (m *CommitResponse) GetMutationResults() []*MutationResult { - if m != nil { - return m.MutationResults - } - return nil -} - -func (m *CommitResponse) GetIndexUpdates() int32 { - if m != nil { - return m.IndexUpdates - } - return 0 -} - -// The request for -// [Datastore.AllocateIds][google.datastore.v1beta3.Datastore.AllocateIds]. -type AllocateIdsRequest struct { - // The ID of the project against which to make the request. - ProjectId string `protobuf:"bytes,8,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // A list of keys with incomplete key paths for which to allocate IDs. - // No key may be reserved/read-only. - Keys []*Key `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3be32184765753d5, []int{10} -} - -func (m *AllocateIdsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AllocateIdsRequest.Unmarshal(m, b) -} -func (m *AllocateIdsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AllocateIdsRequest.Marshal(b, m, deterministic) -} -func (m *AllocateIdsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AllocateIdsRequest.Merge(m, src) -} -func (m *AllocateIdsRequest) XXX_Size() int { - return xxx_messageInfo_AllocateIdsRequest.Size(m) -} -func (m *AllocateIdsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AllocateIdsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AllocateIdsRequest proto.InternalMessageInfo - -func (m *AllocateIdsRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *AllocateIdsRequest) GetKeys() []*Key { - if m != nil { - return m.Keys - } - return nil -} - -// The response for -// [Datastore.AllocateIds][google.datastore.v1beta3.Datastore.AllocateIds]. -type AllocateIdsResponse struct { - // The keys specified in the request (in the same order), each with - // its key path completed with a newly allocated ID. - Keys []*Key `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3be32184765753d5, []int{11} -} - -func (m *AllocateIdsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AllocateIdsResponse.Unmarshal(m, b) -} -func (m *AllocateIdsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AllocateIdsResponse.Marshal(b, m, deterministic) -} -func (m *AllocateIdsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AllocateIdsResponse.Merge(m, src) -} -func (m *AllocateIdsResponse) XXX_Size() int { - return xxx_messageInfo_AllocateIdsResponse.Size(m) -} -func (m *AllocateIdsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AllocateIdsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AllocateIdsResponse proto.InternalMessageInfo - -func (m *AllocateIdsResponse) GetKeys() []*Key { - if m != nil { - return m.Keys - } - return nil -} - -// The request for -// [Datastore.ReserveIds][google.datastore.v1beta3.Datastore.ReserveIds]. -type ReserveIdsRequest struct { - // The ID of the project against which to make the request. - ProjectId string `protobuf:"bytes,8,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // If not empty, the ID of the database against which to make the request. - DatabaseId string `protobuf:"bytes,9,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"` - // A list of keys with complete key paths whose numeric IDs should not be - // auto-allocated. - Keys []*Key `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3be32184765753d5, []int{12} -} - -func (m *ReserveIdsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReserveIdsRequest.Unmarshal(m, b) -} -func (m *ReserveIdsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReserveIdsRequest.Marshal(b, m, deterministic) -} -func (m *ReserveIdsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReserveIdsRequest.Merge(m, src) -} -func (m *ReserveIdsRequest) XXX_Size() int { - return xxx_messageInfo_ReserveIdsRequest.Size(m) -} -func (m *ReserveIdsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ReserveIdsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ReserveIdsRequest proto.InternalMessageInfo - -func (m *ReserveIdsRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *ReserveIdsRequest) GetDatabaseId() string { - if m != nil { - return m.DatabaseId - } - return "" -} - -func (m *ReserveIdsRequest) GetKeys() []*Key { - if m != nil { - return m.Keys - } - return nil -} - -// The response for -// [Datastore.ReserveIds][google.datastore.v1beta3.Datastore.ReserveIds]. -type ReserveIdsResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3be32184765753d5, []int{13} -} - -func (m *ReserveIdsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReserveIdsResponse.Unmarshal(m, b) -} -func (m *ReserveIdsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReserveIdsResponse.Marshal(b, m, deterministic) -} -func (m *ReserveIdsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReserveIdsResponse.Merge(m, src) -} -func (m *ReserveIdsResponse) XXX_Size() int { - return xxx_messageInfo_ReserveIdsResponse.Size(m) -} -func (m *ReserveIdsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ReserveIdsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ReserveIdsResponse proto.InternalMessageInfo - -// A mutation to apply to an entity. -type Mutation struct { - // The mutation operation. - // - // For `insert`, `update`, and `upsert`: - // - The entity's key must not be reserved/read-only. - // - No property in the entity may have a reserved name, - // not even a property in an entity in a value. - // - No value in the entity may have meaning 18, - // not even a value in an entity in another value. - // - // Types that are valid to be assigned to Operation: - // *Mutation_Insert - // *Mutation_Update - // *Mutation_Upsert - // *Mutation_Delete - Operation isMutation_Operation `protobuf_oneof:"operation"` - // When set, the server will detect whether or not this mutation conflicts - // with the current version of the entity on the server. Conflicting mutations - // are not applied, and are marked as such in MutationResult. - // - // Types that are valid to be assigned to ConflictDetectionStrategy: - // *Mutation_BaseVersion - ConflictDetectionStrategy isMutation_ConflictDetectionStrategy `protobuf_oneof:"conflict_detection_strategy"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3be32184765753d5, []int{14} -} - -func (m *Mutation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Mutation.Unmarshal(m, b) -} -func (m *Mutation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Mutation.Marshal(b, m, deterministic) -} -func (m *Mutation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Mutation.Merge(m, src) -} -func (m *Mutation) XXX_Size() int { - return xxx_messageInfo_Mutation.Size(m) -} -func (m *Mutation) XXX_DiscardUnknown() { - xxx_messageInfo_Mutation.DiscardUnknown(m) -} - -var xxx_messageInfo_Mutation proto.InternalMessageInfo - -type isMutation_Operation interface { - isMutation_Operation() -} - -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"` -} - -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 { - return m.Operation - } - return nil -} - -func (m *Mutation) GetInsert() *Entity { - if x, ok := m.GetOperation().(*Mutation_Insert); ok { - return x.Insert - } - return nil -} - -func (m *Mutation) GetUpdate() *Entity { - if x, ok := m.GetOperation().(*Mutation_Update); ok { - return x.Update - } - return nil -} - -func (m *Mutation) GetUpsert() *Entity { - if x, ok := m.GetOperation().(*Mutation_Upsert); ok { - return x.Upsert - } - return nil -} - -func (m *Mutation) GetDelete() *Key { - if x, ok := m.GetOperation().(*Mutation_Delete); ok { - return x.Delete - } - 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 - } - return 0 -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Mutation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Mutation_Insert)(nil), - (*Mutation_Update)(nil), - (*Mutation_Upsert)(nil), - (*Mutation_Delete)(nil), - (*Mutation_BaseVersion)(nil), - } -} - -// The result of applying a mutation. -type MutationResult struct { - // The automatically allocated key. - // Set only when the mutation allocated a key. - Key *Key `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` - // The version of the entity on the server after processing the mutation. If - // the mutation doesn't change anything on the server, then the version will - // be the version of the current entity or, if no entity is present, a version - // that is strictly greater than the version of any previous entity and less - // than the version of any possible future entity. - Version int64 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"` - // Whether a conflict was detected for this mutation. Always false when a - // conflict detection strategy field is not set in the mutation. - ConflictDetected bool `protobuf:"varint,5,opt,name=conflict_detected,json=conflictDetected,proto3" json:"conflict_detected,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3be32184765753d5, []int{15} -} - -func (m *MutationResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutationResult.Unmarshal(m, b) -} -func (m *MutationResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutationResult.Marshal(b, m, deterministic) -} -func (m *MutationResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutationResult.Merge(m, src) -} -func (m *MutationResult) XXX_Size() int { - return xxx_messageInfo_MutationResult.Size(m) -} -func (m *MutationResult) XXX_DiscardUnknown() { - xxx_messageInfo_MutationResult.DiscardUnknown(m) -} - -var xxx_messageInfo_MutationResult proto.InternalMessageInfo - -func (m *MutationResult) GetKey() *Key { - if m != nil { - return m.Key - } - return nil -} - -func (m *MutationResult) GetVersion() int64 { - if m != nil { - return m.Version - } - return 0 -} - -func (m *MutationResult) GetConflictDetected() bool { - if m != nil { - return m.ConflictDetected - } - return false -} - -// The options shared by read requests. -type ReadOptions struct { - // If not specified, lookups and ancestor queries default to - // `read_consistency`=`STRONG`, global queries default to - // `read_consistency`=`EVENTUAL`. - // - // Types that are valid to be assigned to ConsistencyType: - // *ReadOptions_ReadConsistency_ - // *ReadOptions_Transaction - ConsistencyType isReadOptions_ConsistencyType `protobuf_oneof:"consistency_type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3be32184765753d5, []int{16} -} - -func (m *ReadOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReadOptions.Unmarshal(m, b) -} -func (m *ReadOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReadOptions.Marshal(b, m, deterministic) -} -func (m *ReadOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReadOptions.Merge(m, src) -} -func (m *ReadOptions) XXX_Size() int { - return xxx_messageInfo_ReadOptions.Size(m) -} -func (m *ReadOptions) XXX_DiscardUnknown() { - xxx_messageInfo_ReadOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_ReadOptions proto.InternalMessageInfo - -type isReadOptions_ConsistencyType interface { - isReadOptions_ConsistencyType() -} - -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 (m *ReadOptions) GetConsistencyType() isReadOptions_ConsistencyType { - if m != nil { - return m.ConsistencyType - } - return nil -} - -func (m *ReadOptions) GetReadConsistency() ReadOptions_ReadConsistency { - if x, ok := m.GetConsistencyType().(*ReadOptions_ReadConsistency_); ok { - return x.ReadConsistency - } - return ReadOptions_READ_CONSISTENCY_UNSPECIFIED -} - -func (m *ReadOptions) GetTransaction() []byte { - if x, ok := m.GetConsistencyType().(*ReadOptions_Transaction); ok { - return x.Transaction - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ReadOptions) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ReadOptions_ReadConsistency_)(nil), - (*ReadOptions_Transaction)(nil), - } -} - -// Options for beginning a new transaction. -// -// Transactions can be created explicitly with calls to -// [Datastore.BeginTransaction][google.datastore.v1beta3.Datastore.BeginTransaction] -// or implicitly by setting -// [ReadOptions.new_transaction][google.datastore.v1beta3.ReadOptions.new_transaction] -// in read requests. -type TransactionOptions struct { - // The `mode` of the transaction, indicating whether write operations are - // supported. - // - // Types that are valid to be assigned to Mode: - // *TransactionOptions_ReadWrite_ - // *TransactionOptions_ReadOnly_ - Mode isTransactionOptions_Mode `protobuf_oneof:"mode"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_3be32184765753d5, []int{17} -} - -func (m *TransactionOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransactionOptions.Unmarshal(m, b) -} -func (m *TransactionOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransactionOptions.Marshal(b, m, deterministic) -} -func (m *TransactionOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransactionOptions.Merge(m, src) -} -func (m *TransactionOptions) XXX_Size() int { - return xxx_messageInfo_TransactionOptions.Size(m) -} -func (m *TransactionOptions) XXX_DiscardUnknown() { - xxx_messageInfo_TransactionOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_TransactionOptions proto.InternalMessageInfo - -type isTransactionOptions_Mode interface { - isTransactionOptions_Mode() -} - -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 (m *TransactionOptions) GetMode() isTransactionOptions_Mode { - if m != nil { - return m.Mode - } - return nil -} - -func (m *TransactionOptions) GetReadWrite() *TransactionOptions_ReadWrite { - if x, ok := m.GetMode().(*TransactionOptions_ReadWrite_); ok { - return x.ReadWrite - } - return nil -} - -func (m *TransactionOptions) GetReadOnly() *TransactionOptions_ReadOnly { - if x, ok := m.GetMode().(*TransactionOptions_ReadOnly_); ok { - return x.ReadOnly - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*TransactionOptions) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*TransactionOptions_ReadWrite_)(nil), - (*TransactionOptions_ReadOnly_)(nil), - } -} - -// Options specific to read / write transactions. -type TransactionOptions_ReadWrite struct { - // The transaction identifier of the transaction being retried. - PreviousTransaction []byte `protobuf:"bytes,1,opt,name=previous_transaction,json=previousTransaction,proto3" json:"previous_transaction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TransactionOptions_ReadWrite) Reset() { *m = TransactionOptions_ReadWrite{} } -func (m *TransactionOptions_ReadWrite) String() string { return proto.CompactTextString(m) } -func (*TransactionOptions_ReadWrite) ProtoMessage() {} -func (*TransactionOptions_ReadWrite) Descriptor() ([]byte, []int) { - return fileDescriptor_3be32184765753d5, []int{17, 0} -} - -func (m *TransactionOptions_ReadWrite) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransactionOptions_ReadWrite.Unmarshal(m, b) -} -func (m *TransactionOptions_ReadWrite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransactionOptions_ReadWrite.Marshal(b, m, deterministic) -} -func (m *TransactionOptions_ReadWrite) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransactionOptions_ReadWrite.Merge(m, src) -} -func (m *TransactionOptions_ReadWrite) XXX_Size() int { - return xxx_messageInfo_TransactionOptions_ReadWrite.Size(m) -} -func (m *TransactionOptions_ReadWrite) XXX_DiscardUnknown() { - xxx_messageInfo_TransactionOptions_ReadWrite.DiscardUnknown(m) -} - -var xxx_messageInfo_TransactionOptions_ReadWrite proto.InternalMessageInfo - -func (m *TransactionOptions_ReadWrite) GetPreviousTransaction() []byte { - if m != nil { - return m.PreviousTransaction - } - return nil -} - -// Options specific to read-only transactions. -type TransactionOptions_ReadOnly struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TransactionOptions_ReadOnly) Reset() { *m = TransactionOptions_ReadOnly{} } -func (m *TransactionOptions_ReadOnly) String() string { return proto.CompactTextString(m) } -func (*TransactionOptions_ReadOnly) ProtoMessage() {} -func (*TransactionOptions_ReadOnly) Descriptor() ([]byte, []int) { - return fileDescriptor_3be32184765753d5, []int{17, 1} -} - -func (m *TransactionOptions_ReadOnly) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransactionOptions_ReadOnly.Unmarshal(m, b) -} -func (m *TransactionOptions_ReadOnly) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransactionOptions_ReadOnly.Marshal(b, m, deterministic) -} -func (m *TransactionOptions_ReadOnly) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransactionOptions_ReadOnly.Merge(m, src) -} -func (m *TransactionOptions_ReadOnly) XXX_Size() int { - return xxx_messageInfo_TransactionOptions_ReadOnly.Size(m) -} -func (m *TransactionOptions_ReadOnly) XXX_DiscardUnknown() { - xxx_messageInfo_TransactionOptions_ReadOnly.DiscardUnknown(m) -} - -var xxx_messageInfo_TransactionOptions_ReadOnly proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.datastore.v1beta3.CommitRequest_Mode", CommitRequest_Mode_name, CommitRequest_Mode_value) - proto.RegisterEnum("google.datastore.v1beta3.ReadOptions_ReadConsistency", ReadOptions_ReadConsistency_name, ReadOptions_ReadConsistency_value) - proto.RegisterType((*LookupRequest)(nil), "google.datastore.v1beta3.LookupRequest") - proto.RegisterType((*LookupResponse)(nil), "google.datastore.v1beta3.LookupResponse") - proto.RegisterType((*RunQueryRequest)(nil), "google.datastore.v1beta3.RunQueryRequest") - proto.RegisterType((*RunQueryResponse)(nil), "google.datastore.v1beta3.RunQueryResponse") - proto.RegisterType((*BeginTransactionRequest)(nil), "google.datastore.v1beta3.BeginTransactionRequest") - proto.RegisterType((*BeginTransactionResponse)(nil), "google.datastore.v1beta3.BeginTransactionResponse") - proto.RegisterType((*RollbackRequest)(nil), "google.datastore.v1beta3.RollbackRequest") - proto.RegisterType((*RollbackResponse)(nil), "google.datastore.v1beta3.RollbackResponse") - proto.RegisterType((*CommitRequest)(nil), "google.datastore.v1beta3.CommitRequest") - proto.RegisterType((*CommitResponse)(nil), "google.datastore.v1beta3.CommitResponse") - proto.RegisterType((*AllocateIdsRequest)(nil), "google.datastore.v1beta3.AllocateIdsRequest") - proto.RegisterType((*AllocateIdsResponse)(nil), "google.datastore.v1beta3.AllocateIdsResponse") - proto.RegisterType((*ReserveIdsRequest)(nil), "google.datastore.v1beta3.ReserveIdsRequest") - proto.RegisterType((*ReserveIdsResponse)(nil), "google.datastore.v1beta3.ReserveIdsResponse") - proto.RegisterType((*Mutation)(nil), "google.datastore.v1beta3.Mutation") - proto.RegisterType((*MutationResult)(nil), "google.datastore.v1beta3.MutationResult") - proto.RegisterType((*ReadOptions)(nil), "google.datastore.v1beta3.ReadOptions") - proto.RegisterType((*TransactionOptions)(nil), "google.datastore.v1beta3.TransactionOptions") - proto.RegisterType((*TransactionOptions_ReadWrite)(nil), "google.datastore.v1beta3.TransactionOptions.ReadWrite") - proto.RegisterType((*TransactionOptions_ReadOnly)(nil), "google.datastore.v1beta3.TransactionOptions.ReadOnly") -} - -func init() { - proto.RegisterFile("google/datastore/v1beta3/datastore.proto", fileDescriptor_3be32184765753d5) -} - -var fileDescriptor_3be32184765753d5 = []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, - 0x29, 0x75, 0xd3, 0x62, 0x13, 0xb7, 0xa1, 0x22, 0x54, 0x28, 0xb6, 0xe3, 0xd6, 0x16, 0x8d, 0x1d, - 0x26, 0x6e, 0x2a, 0x50, 0x91, 0xb5, 0xf6, 0x4e, 0xcc, 0x92, 0xf5, 0xce, 0x66, 0x77, 0x1c, 0x88, - 0x10, 0x17, 0x0e, 0x08, 0x81, 0x38, 0x21, 0xd4, 0x13, 0x07, 0xae, 0x70, 0x2e, 0x7f, 0x03, 0x02, - 0x89, 0x0b, 0x07, 0xfe, 0x01, 0xfe, 0x08, 0x8e, 0x68, 0x67, 0x67, 0xfd, 0x2b, 0xb5, 0xbd, 0xae, - 0xb8, 0x79, 0xdf, 0x7e, 0x3e, 0xef, 0x7d, 0xe6, 0xbd, 0xd9, 0xf7, 0x5e, 0x02, 0xe9, 0x36, 0x63, - 0x6d, 0x83, 0x66, 0x35, 0x95, 0xab, 0x0e, 0x67, 0x36, 0xcd, 0x9e, 0x6e, 0x36, 0x29, 0x57, 0x6f, - 0xf7, 0x2d, 0x19, 0xcb, 0x66, 0x9c, 0xe1, 0x84, 0x87, 0xcc, 0xf4, 0xed, 0x12, 0x99, 0xbc, 0x24, - 0x7d, 0xa8, 0x96, 0x9e, 0x55, 0x4d, 0x93, 0x71, 0x95, 0xeb, 0xcc, 0x74, 0x3c, 0x5e, 0xf2, 0xda, - 0xd8, 0x08, 0xd4, 0xe4, 0x3a, 0x3f, 0x93, 0xb0, 0x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4b, - 0x08, 0xcc, 0x2a, 0x1b, 0x53, 0x04, 0xaa, 0x7d, 0xae, 0xab, 0xf1, 0x07, 0x04, 0xd0, 0x9f, 0xdd, - 0xf8, 0xe6, 0xa4, 0x9e, 0x3d, 0xb2, 0x69, 0x24, 0x6f, 0x05, 0x03, 0x4b, 0x81, 0x77, 0x84, 0xc0, - 0x8c, 0x72, 0x63, 0x5a, 0x06, 0x7b, 0xd4, 0x6d, 0xb4, 0x51, 0x78, 0x86, 0xe0, 0x52, 0x8b, 0x75, - 0xc6, 0x46, 0x2a, 0xac, 0xf4, 0xfa, 0xce, 0xbe, 0xcd, 0x38, 0xdb, 0x47, 0x1f, 0xe4, 0x25, 0xb6, - 0xcd, 0x0c, 0xd5, 0x6c, 0x67, 0x98, 0xdd, 0xce, 0xb6, 0xa9, 0x29, 0xfe, 0x8b, 0x90, 0xf5, 0x5e, - 0xa9, 0x96, 0xee, 0x9c, 0xff, 0x77, 0xc3, 0xdb, 0x3d, 0xcb, 0x4f, 0xa1, 0x57, 0x1e, 0x78, 0x3e, - 0x8a, 0x06, 0xeb, 0x6a, 0x99, 0x5e, 0x88, 0xcc, 0xe1, 0x66, 0xc1, 0x85, 0xfe, 0xe6, 0x03, 0x9e, - 0x08, 0xc0, 0x93, 0x1e, 0xe0, 0xc9, 0xa1, 0xe7, 0xab, 0x19, 0x16, 0xf1, 0x6e, 0xff, 0x1b, 0x00, - 0x00, 0xff, 0xff, 0x6a, 0xaa, 0xbe, 0x57, 0x66, 0x11, 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 - -// DatastoreClient is the client API for Datastore service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type DatastoreClient interface { - // Looks up entities by key. - Lookup(ctx context.Context, in *LookupRequest, opts ...grpc.CallOption) (*LookupResponse, error) - // Queries for entities. - RunQuery(ctx context.Context, in *RunQueryRequest, opts ...grpc.CallOption) (*RunQueryResponse, error) - // Begins a new transaction. - BeginTransaction(ctx context.Context, in *BeginTransactionRequest, opts ...grpc.CallOption) (*BeginTransactionResponse, error) - // Commits a transaction, optionally creating, deleting or modifying some - // entities. - Commit(ctx context.Context, in *CommitRequest, opts ...grpc.CallOption) (*CommitResponse, error) - // Rolls back a transaction. - Rollback(ctx context.Context, in *RollbackRequest, opts ...grpc.CallOption) (*RollbackResponse, error) - // Allocates IDs for the given keys, which is useful for referencing an entity - // before it is inserted. - AllocateIds(ctx context.Context, in *AllocateIdsRequest, opts ...grpc.CallOption) (*AllocateIdsResponse, error) - // Prevents the supplied keys' IDs from being auto-allocated by Cloud - // Datastore. - ReserveIds(ctx context.Context, in *ReserveIdsRequest, opts ...grpc.CallOption) (*ReserveIdsResponse, error) -} - -type datastoreClient struct { - cc *grpc.ClientConn -} - -func NewDatastoreClient(cc *grpc.ClientConn) DatastoreClient { - return &datastoreClient{cc} -} - -func (c *datastoreClient) Lookup(ctx context.Context, in *LookupRequest, opts ...grpc.CallOption) (*LookupResponse, error) { - out := new(LookupResponse) - err := c.cc.Invoke(ctx, "/google.datastore.v1beta3.Datastore/Lookup", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *datastoreClient) RunQuery(ctx context.Context, in *RunQueryRequest, opts ...grpc.CallOption) (*RunQueryResponse, error) { - out := new(RunQueryResponse) - err := c.cc.Invoke(ctx, "/google.datastore.v1beta3.Datastore/RunQuery", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *datastoreClient) BeginTransaction(ctx context.Context, in *BeginTransactionRequest, opts ...grpc.CallOption) (*BeginTransactionResponse, error) { - out := new(BeginTransactionResponse) - err := c.cc.Invoke(ctx, "/google.datastore.v1beta3.Datastore/BeginTransaction", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *datastoreClient) Commit(ctx context.Context, in *CommitRequest, opts ...grpc.CallOption) (*CommitResponse, error) { - out := new(CommitResponse) - err := c.cc.Invoke(ctx, "/google.datastore.v1beta3.Datastore/Commit", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *datastoreClient) Rollback(ctx context.Context, in *RollbackRequest, opts ...grpc.CallOption) (*RollbackResponse, error) { - out := new(RollbackResponse) - err := c.cc.Invoke(ctx, "/google.datastore.v1beta3.Datastore/Rollback", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *datastoreClient) AllocateIds(ctx context.Context, in *AllocateIdsRequest, opts ...grpc.CallOption) (*AllocateIdsResponse, error) { - out := new(AllocateIdsResponse) - err := c.cc.Invoke(ctx, "/google.datastore.v1beta3.Datastore/AllocateIds", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *datastoreClient) ReserveIds(ctx context.Context, in *ReserveIdsRequest, opts ...grpc.CallOption) (*ReserveIdsResponse, error) { - out := new(ReserveIdsResponse) - err := c.cc.Invoke(ctx, "/google.datastore.v1beta3.Datastore/ReserveIds", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// DatastoreServer is the server API for Datastore service. -type DatastoreServer interface { - // Looks up entities by key. - Lookup(context.Context, *LookupRequest) (*LookupResponse, error) - // Queries for entities. - RunQuery(context.Context, *RunQueryRequest) (*RunQueryResponse, error) - // Begins a new transaction. - BeginTransaction(context.Context, *BeginTransactionRequest) (*BeginTransactionResponse, error) - // Commits a transaction, optionally creating, deleting or modifying some - // entities. - Commit(context.Context, *CommitRequest) (*CommitResponse, error) - // Rolls back a transaction. - Rollback(context.Context, *RollbackRequest) (*RollbackResponse, error) - // Allocates IDs for the given keys, which is useful for referencing an entity - // before it is inserted. - AllocateIds(context.Context, *AllocateIdsRequest) (*AllocateIdsResponse, error) - // Prevents the supplied keys' IDs from being auto-allocated by Cloud - // Datastore. - ReserveIds(context.Context, *ReserveIdsRequest) (*ReserveIdsResponse, error) -} - -// UnimplementedDatastoreServer can be embedded to have forward compatible implementations. -type UnimplementedDatastoreServer struct { -} - -func (*UnimplementedDatastoreServer) Lookup(ctx context.Context, req *LookupRequest) (*LookupResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Lookup not implemented") -} -func (*UnimplementedDatastoreServer) RunQuery(ctx context.Context, req *RunQueryRequest) (*RunQueryResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RunQuery not implemented") -} -func (*UnimplementedDatastoreServer) BeginTransaction(ctx context.Context, req *BeginTransactionRequest) (*BeginTransactionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method BeginTransaction not implemented") -} -func (*UnimplementedDatastoreServer) Commit(ctx context.Context, req *CommitRequest) (*CommitResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Commit not implemented") -} -func (*UnimplementedDatastoreServer) Rollback(ctx context.Context, req *RollbackRequest) (*RollbackResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Rollback not implemented") -} -func (*UnimplementedDatastoreServer) AllocateIds(ctx context.Context, req *AllocateIdsRequest) (*AllocateIdsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AllocateIds not implemented") -} -func (*UnimplementedDatastoreServer) ReserveIds(ctx context.Context, req *ReserveIdsRequest) (*ReserveIdsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ReserveIds not implemented") -} - -func RegisterDatastoreServer(s *grpc.Server, srv DatastoreServer) { - s.RegisterService(&_Datastore_serviceDesc, srv) -} - -func _Datastore_Lookup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(LookupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DatastoreServer).Lookup(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.datastore.v1beta3.Datastore/Lookup", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatastoreServer).Lookup(ctx, req.(*LookupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Datastore_RunQuery_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RunQueryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DatastoreServer).RunQuery(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.datastore.v1beta3.Datastore/RunQuery", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatastoreServer).RunQuery(ctx, req.(*RunQueryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Datastore_BeginTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BeginTransactionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DatastoreServer).BeginTransaction(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.datastore.v1beta3.Datastore/BeginTransaction", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatastoreServer).BeginTransaction(ctx, req.(*BeginTransactionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Datastore_Commit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CommitRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DatastoreServer).Commit(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.datastore.v1beta3.Datastore/Commit", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatastoreServer).Commit(ctx, req.(*CommitRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Datastore_Rollback_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RollbackRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DatastoreServer).Rollback(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.datastore.v1beta3.Datastore/Rollback", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatastoreServer).Rollback(ctx, req.(*RollbackRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Datastore_AllocateIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AllocateIdsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DatastoreServer).AllocateIds(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.datastore.v1beta3.Datastore/AllocateIds", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatastoreServer).AllocateIds(ctx, req.(*AllocateIdsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Datastore_ReserveIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ReserveIdsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DatastoreServer).ReserveIds(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.datastore.v1beta3.Datastore/ReserveIds", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatastoreServer).ReserveIds(ctx, req.(*ReserveIdsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Datastore_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.datastore.v1beta3.Datastore", - HandlerType: (*DatastoreServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Lookup", - Handler: _Datastore_Lookup_Handler, - }, - { - MethodName: "RunQuery", - Handler: _Datastore_RunQuery_Handler, - }, - { - MethodName: "BeginTransaction", - Handler: _Datastore_BeginTransaction_Handler, - }, - { - MethodName: "Commit", - Handler: _Datastore_Commit_Handler, - }, - { - MethodName: "Rollback", - Handler: _Datastore_Rollback_Handler, - }, - { - MethodName: "AllocateIds", - Handler: _Datastore_AllocateIds_Handler, - }, - { - MethodName: "ReserveIds", - Handler: _Datastore_ReserveIds_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/datastore/v1beta3/datastore.proto", -} 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 deleted file mode 100644 index e6478e57..00000000 --- a/vendor/google.golang.org/genproto/googleapis/datastore/v1beta3/query.pb.go +++ /dev/null @@ -1,1156 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/datastore/v1beta3/query.proto - -package datastore - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "google.golang.org/genproto/googleapis/api/annotations" - _ "google.golang.org/genproto/googleapis/type/latlng" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Specifies what data the 'entity' field contains. -// A `ResultType` is either implied (for example, in `LookupResponse.missing` -// from `datastore.proto`, it is always `KEY_ONLY`) or specified by context -// (for example, in message `QueryResultBatch`, field `entity_result_type` -// specifies a `ResultType` for all the values in field `entity_results`). -type EntityResult_ResultType int32 - -const ( - // Unspecified. This value is never used. - EntityResult_RESULT_TYPE_UNSPECIFIED EntityResult_ResultType = 0 - // The key and properties. - EntityResult_FULL EntityResult_ResultType = 1 - // A projected subset of properties. The entity may have no key. - EntityResult_PROJECTION EntityResult_ResultType = 2 - // Only the key. - EntityResult_KEY_ONLY EntityResult_ResultType = 3 -) - -var EntityResult_ResultType_name = map[int32]string{ - 0: "RESULT_TYPE_UNSPECIFIED", - 1: "FULL", - 2: "PROJECTION", - 3: "KEY_ONLY", -} - -var EntityResult_ResultType_value = map[string]int32{ - "RESULT_TYPE_UNSPECIFIED": 0, - "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_7ed60bbcd54eb2b7, []int{0, 0} -} - -// The sort direction. -type PropertyOrder_Direction int32 - -const ( - // Unspecified. This value must not be used. - PropertyOrder_DIRECTION_UNSPECIFIED PropertyOrder_Direction = 0 - // Ascending. - PropertyOrder_ASCENDING PropertyOrder_Direction = 1 - // Descending. - PropertyOrder_DESCENDING PropertyOrder_Direction = 2 -) - -var PropertyOrder_Direction_name = map[int32]string{ - 0: "DIRECTION_UNSPECIFIED", - 1: "ASCENDING", - 2: "DESCENDING", -} - -var PropertyOrder_Direction_value = map[string]int32{ - "DIRECTION_UNSPECIFIED": 0, - "ASCENDING": 1, - "DESCENDING": 2, -} - -func (x PropertyOrder_Direction) String() string { - return proto.EnumName(PropertyOrder_Direction_name, int32(x)) -} - -func (PropertyOrder_Direction) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7ed60bbcd54eb2b7, []int{5, 0} -} - -// A composite filter operator. -type CompositeFilter_Operator int32 - -const ( - // Unspecified. This value must not be used. - CompositeFilter_OPERATOR_UNSPECIFIED CompositeFilter_Operator = 0 - // The results are required to satisfy each of the combined filters. - CompositeFilter_AND CompositeFilter_Operator = 1 -) - -var CompositeFilter_Operator_name = map[int32]string{ - 0: "OPERATOR_UNSPECIFIED", - 1: "AND", -} - -var CompositeFilter_Operator_value = map[string]int32{ - "OPERATOR_UNSPECIFIED": 0, - "AND": 1, -} - -func (x CompositeFilter_Operator) String() string { - return proto.EnumName(CompositeFilter_Operator_name, int32(x)) -} - -func (CompositeFilter_Operator) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7ed60bbcd54eb2b7, []int{7, 0} -} - -// A property filter operator. -type PropertyFilter_Operator int32 - -const ( - // Unspecified. This value must not be used. - PropertyFilter_OPERATOR_UNSPECIFIED PropertyFilter_Operator = 0 - // Less than. - PropertyFilter_LESS_THAN PropertyFilter_Operator = 1 - // Less than or equal. - PropertyFilter_LESS_THAN_OR_EQUAL PropertyFilter_Operator = 2 - // Greater than. - PropertyFilter_GREATER_THAN PropertyFilter_Operator = 3 - // Greater than or equal. - PropertyFilter_GREATER_THAN_OR_EQUAL PropertyFilter_Operator = 4 - // Equal. - PropertyFilter_EQUAL PropertyFilter_Operator = 5 - // Has ancestor. - PropertyFilter_HAS_ANCESTOR PropertyFilter_Operator = 11 -) - -var PropertyFilter_Operator_name = map[int32]string{ - 0: "OPERATOR_UNSPECIFIED", - 1: "LESS_THAN", - 2: "LESS_THAN_OR_EQUAL", - 3: "GREATER_THAN", - 4: "GREATER_THAN_OR_EQUAL", - 5: "EQUAL", - 11: "HAS_ANCESTOR", -} - -var PropertyFilter_Operator_value = map[string]int32{ - "OPERATOR_UNSPECIFIED": 0, - "LESS_THAN": 1, - "LESS_THAN_OR_EQUAL": 2, - "GREATER_THAN": 3, - "GREATER_THAN_OR_EQUAL": 4, - "EQUAL": 5, - "HAS_ANCESTOR": 11, -} - -func (x PropertyFilter_Operator) String() string { - return proto.EnumName(PropertyFilter_Operator_name, int32(x)) -} - -func (PropertyFilter_Operator) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7ed60bbcd54eb2b7, []int{8, 0} -} - -// The possible values for the `more_results` field. -type QueryResultBatch_MoreResultsType int32 - -const ( - // Unspecified. This value is never used. - QueryResultBatch_MORE_RESULTS_TYPE_UNSPECIFIED QueryResultBatch_MoreResultsType = 0 - // There may be additional batches to fetch from this query. - QueryResultBatch_NOT_FINISHED QueryResultBatch_MoreResultsType = 1 - // The query is finished, but there may be more results after the limit. - QueryResultBatch_MORE_RESULTS_AFTER_LIMIT QueryResultBatch_MoreResultsType = 2 - // The query is finished, but there may be more results after the end - // cursor. - QueryResultBatch_MORE_RESULTS_AFTER_CURSOR QueryResultBatch_MoreResultsType = 4 - // The query is finished, and there are no more results. - QueryResultBatch_NO_MORE_RESULTS QueryResultBatch_MoreResultsType = 3 -) - -var QueryResultBatch_MoreResultsType_name = map[int32]string{ - 0: "MORE_RESULTS_TYPE_UNSPECIFIED", - 1: "NOT_FINISHED", - 2: "MORE_RESULTS_AFTER_LIMIT", - 4: "MORE_RESULTS_AFTER_CURSOR", - 3: "NO_MORE_RESULTS", -} - -var QueryResultBatch_MoreResultsType_value = map[string]int32{ - "MORE_RESULTS_TYPE_UNSPECIFIED": 0, - "NOT_FINISHED": 1, - "MORE_RESULTS_AFTER_LIMIT": 2, - "MORE_RESULTS_AFTER_CURSOR": 4, - "NO_MORE_RESULTS": 3, -} - -func (x QueryResultBatch_MoreResultsType) String() string { - return proto.EnumName(QueryResultBatch_MoreResultsType_name, int32(x)) -} - -func (QueryResultBatch_MoreResultsType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7ed60bbcd54eb2b7, []int{11, 0} -} - -// The result of fetching an entity from Datastore. -type EntityResult struct { - // The resulting entity. - Entity *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` - // The version of the entity, a strictly positive number that monotonically - // increases with changes to the entity. - // - // This field is set for - // [`FULL`][google.datastore.v1beta3.EntityResult.ResultType.FULL] entity - // results. - // - // For [missing][google.datastore.v1beta3.LookupResponse.missing] entities in - // `LookupResponse`, this is the version of the snapshot that was used to look - // up the entity, and it is always set except for eventually consistent reads. - Version int64 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"` - // A cursor that points to the position after the result entity. - // Set only when the `EntityResult` is part of a `QueryResultBatch` message. - Cursor []byte `protobuf:"bytes,3,opt,name=cursor,proto3" json:"cursor,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7ed60bbcd54eb2b7, []int{0} -} - -func (m *EntityResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EntityResult.Unmarshal(m, b) -} -func (m *EntityResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EntityResult.Marshal(b, m, deterministic) -} -func (m *EntityResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_EntityResult.Merge(m, src) -} -func (m *EntityResult) XXX_Size() int { - return xxx_messageInfo_EntityResult.Size(m) -} -func (m *EntityResult) XXX_DiscardUnknown() { - xxx_messageInfo_EntityResult.DiscardUnknown(m) -} - -var xxx_messageInfo_EntityResult proto.InternalMessageInfo - -func (m *EntityResult) GetEntity() *Entity { - if m != nil { - return m.Entity - } - return nil -} - -func (m *EntityResult) GetVersion() int64 { - if m != nil { - return m.Version - } - return 0 -} - -func (m *EntityResult) GetCursor() []byte { - if m != nil { - return m.Cursor - } - return nil -} - -// A query for entities. -type Query struct { - // The projection to return. Defaults to returning all properties. - Projection []*Projection `protobuf:"bytes,2,rep,name=projection,proto3" json:"projection,omitempty"` - // The kinds to query (if empty, returns entities of all kinds). - // Currently at most 1 kind may be specified. - Kind []*KindExpression `protobuf:"bytes,3,rep,name=kind,proto3" json:"kind,omitempty"` - // The filter to apply. - Filter *Filter `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` - // The order to apply to the query results (if empty, order is unspecified). - Order []*PropertyOrder `protobuf:"bytes,5,rep,name=order,proto3" json:"order,omitempty"` - // The properties to make distinct. The query results will contain the first - // result for each distinct combination of values for the given properties - // (if empty, all results are returned). - DistinctOn []*PropertyReference `protobuf:"bytes,6,rep,name=distinct_on,json=distinctOn,proto3" json:"distinct_on,omitempty"` - // A starting point for the query results. Query cursors are - // returned in query result batches and - // [can only be used to continue the same - // query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets). - StartCursor []byte `protobuf:"bytes,7,opt,name=start_cursor,json=startCursor,proto3" json:"start_cursor,omitempty"` - // An ending point for the query results. Query cursors are - // returned in query result batches and - // [can only be used to limit the same - // query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets). - EndCursor []byte `protobuf:"bytes,8,opt,name=end_cursor,json=endCursor,proto3" json:"end_cursor,omitempty"` - // The number of results to skip. Applies before limit, but after all other - // constraints. Optional. Must be >= 0 if specified. - Offset int32 `protobuf:"varint,10,opt,name=offset,proto3" json:"offset,omitempty"` - // The maximum number of results to return. Applies after all other - // constraints. Optional. - // Unspecified is interpreted as no limit. - // Must be >= 0 if specified. - Limit *wrappers.Int32Value `protobuf:"bytes,12,opt,name=limit,proto3" json:"limit,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7ed60bbcd54eb2b7, []int{1} -} - -func (m *Query) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Query.Unmarshal(m, b) -} -func (m *Query) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Query.Marshal(b, m, deterministic) -} -func (m *Query) XXX_Merge(src proto.Message) { - xxx_messageInfo_Query.Merge(m, src) -} -func (m *Query) XXX_Size() int { - return xxx_messageInfo_Query.Size(m) -} -func (m *Query) XXX_DiscardUnknown() { - xxx_messageInfo_Query.DiscardUnknown(m) -} - -var xxx_messageInfo_Query proto.InternalMessageInfo - -func (m *Query) GetProjection() []*Projection { - if m != nil { - return m.Projection - } - return nil -} - -func (m *Query) GetKind() []*KindExpression { - if m != nil { - return m.Kind - } - return nil -} - -func (m *Query) GetFilter() *Filter { - if m != nil { - return m.Filter - } - return nil -} - -func (m *Query) GetOrder() []*PropertyOrder { - if m != nil { - return m.Order - } - return nil -} - -func (m *Query) GetDistinctOn() []*PropertyReference { - if m != nil { - return m.DistinctOn - } - return nil -} - -func (m *Query) GetStartCursor() []byte { - if m != nil { - return m.StartCursor - } - return nil -} - -func (m *Query) GetEndCursor() []byte { - if m != nil { - return m.EndCursor - } - return nil -} - -func (m *Query) GetOffset() int32 { - if m != nil { - return m.Offset - } - return 0 -} - -func (m *Query) GetLimit() *wrappers.Int32Value { - if m != nil { - return m.Limit - } - return nil -} - -// A representation of a kind. -type KindExpression struct { - // The name of the kind. - 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 *KindExpression) Reset() { *m = KindExpression{} } -func (m *KindExpression) String() string { return proto.CompactTextString(m) } -func (*KindExpression) ProtoMessage() {} -func (*KindExpression) Descriptor() ([]byte, []int) { - return fileDescriptor_7ed60bbcd54eb2b7, []int{2} -} - -func (m *KindExpression) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_KindExpression.Unmarshal(m, b) -} -func (m *KindExpression) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_KindExpression.Marshal(b, m, deterministic) -} -func (m *KindExpression) XXX_Merge(src proto.Message) { - xxx_messageInfo_KindExpression.Merge(m, src) -} -func (m *KindExpression) XXX_Size() int { - return xxx_messageInfo_KindExpression.Size(m) -} -func (m *KindExpression) XXX_DiscardUnknown() { - xxx_messageInfo_KindExpression.DiscardUnknown(m) -} - -var xxx_messageInfo_KindExpression proto.InternalMessageInfo - -func (m *KindExpression) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// A reference to a property relative to the kind expressions. -type PropertyReference struct { - // The name of the property. - // If name includes "."s, it may be interpreted as a property name path. - 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 *PropertyReference) Reset() { *m = PropertyReference{} } -func (m *PropertyReference) String() string { return proto.CompactTextString(m) } -func (*PropertyReference) ProtoMessage() {} -func (*PropertyReference) Descriptor() ([]byte, []int) { - return fileDescriptor_7ed60bbcd54eb2b7, []int{3} -} - -func (m *PropertyReference) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PropertyReference.Unmarshal(m, b) -} -func (m *PropertyReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PropertyReference.Marshal(b, m, deterministic) -} -func (m *PropertyReference) XXX_Merge(src proto.Message) { - xxx_messageInfo_PropertyReference.Merge(m, src) -} -func (m *PropertyReference) XXX_Size() int { - return xxx_messageInfo_PropertyReference.Size(m) -} -func (m *PropertyReference) XXX_DiscardUnknown() { - xxx_messageInfo_PropertyReference.DiscardUnknown(m) -} - -var xxx_messageInfo_PropertyReference proto.InternalMessageInfo - -func (m *PropertyReference) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// A representation of a property in a projection. -type Projection struct { - // The property to project. - Property *PropertyReference `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7ed60bbcd54eb2b7, []int{4} -} - -func (m *Projection) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Projection.Unmarshal(m, b) -} -func (m *Projection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Projection.Marshal(b, m, deterministic) -} -func (m *Projection) XXX_Merge(src proto.Message) { - xxx_messageInfo_Projection.Merge(m, src) -} -func (m *Projection) XXX_Size() int { - return xxx_messageInfo_Projection.Size(m) -} -func (m *Projection) XXX_DiscardUnknown() { - xxx_messageInfo_Projection.DiscardUnknown(m) -} - -var xxx_messageInfo_Projection proto.InternalMessageInfo - -func (m *Projection) GetProperty() *PropertyReference { - if m != nil { - return m.Property - } - return nil -} - -// The desired order for a specific property. -type PropertyOrder struct { - // The property to order by. - Property *PropertyReference `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` - // The direction to order by. Defaults to `ASCENDING`. - Direction PropertyOrder_Direction `protobuf:"varint,2,opt,name=direction,proto3,enum=google.datastore.v1beta3.PropertyOrder_Direction" json:"direction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7ed60bbcd54eb2b7, []int{5} -} - -func (m *PropertyOrder) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PropertyOrder.Unmarshal(m, b) -} -func (m *PropertyOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PropertyOrder.Marshal(b, m, deterministic) -} -func (m *PropertyOrder) XXX_Merge(src proto.Message) { - xxx_messageInfo_PropertyOrder.Merge(m, src) -} -func (m *PropertyOrder) XXX_Size() int { - return xxx_messageInfo_PropertyOrder.Size(m) -} -func (m *PropertyOrder) XXX_DiscardUnknown() { - xxx_messageInfo_PropertyOrder.DiscardUnknown(m) -} - -var xxx_messageInfo_PropertyOrder proto.InternalMessageInfo - -func (m *PropertyOrder) GetProperty() *PropertyReference { - if m != nil { - return m.Property - } - return nil -} - -func (m *PropertyOrder) GetDirection() PropertyOrder_Direction { - if m != nil { - return m.Direction - } - return PropertyOrder_DIRECTION_UNSPECIFIED -} - -// A holder for any type of filter. -type Filter struct { - // The type of filter. - // - // Types that are valid to be assigned to FilterType: - // *Filter_CompositeFilter - // *Filter_PropertyFilter - FilterType isFilter_FilterType `protobuf_oneof:"filter_type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7ed60bbcd54eb2b7, []int{6} -} - -func (m *Filter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Filter.Unmarshal(m, b) -} -func (m *Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Filter.Marshal(b, m, deterministic) -} -func (m *Filter) XXX_Merge(src proto.Message) { - xxx_messageInfo_Filter.Merge(m, src) -} -func (m *Filter) XXX_Size() int { - return xxx_messageInfo_Filter.Size(m) -} -func (m *Filter) XXX_DiscardUnknown() { - xxx_messageInfo_Filter.DiscardUnknown(m) -} - -var xxx_messageInfo_Filter proto.InternalMessageInfo - -type isFilter_FilterType interface { - isFilter_FilterType() -} - -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 (m *Filter) GetFilterType() isFilter_FilterType { - if m != nil { - return m.FilterType - } - return nil -} - -func (m *Filter) GetCompositeFilter() *CompositeFilter { - if x, ok := m.GetFilterType().(*Filter_CompositeFilter); ok { - return x.CompositeFilter - } - return nil -} - -func (m *Filter) GetPropertyFilter() *PropertyFilter { - if x, ok := m.GetFilterType().(*Filter_PropertyFilter); ok { - return x.PropertyFilter - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Filter) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Filter_CompositeFilter)(nil), - (*Filter_PropertyFilter)(nil), - } -} - -// A filter that merges multiple other filters using the given operator. -type CompositeFilter struct { - // The operator for combining multiple filters. - Op CompositeFilter_Operator `protobuf:"varint,1,opt,name=op,proto3,enum=google.datastore.v1beta3.CompositeFilter_Operator" json:"op,omitempty"` - // The list of filters to combine. - // Must contain at least one filter. - Filters []*Filter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7ed60bbcd54eb2b7, []int{7} -} - -func (m *CompositeFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CompositeFilter.Unmarshal(m, b) -} -func (m *CompositeFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CompositeFilter.Marshal(b, m, deterministic) -} -func (m *CompositeFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_CompositeFilter.Merge(m, src) -} -func (m *CompositeFilter) XXX_Size() int { - return xxx_messageInfo_CompositeFilter.Size(m) -} -func (m *CompositeFilter) XXX_DiscardUnknown() { - xxx_messageInfo_CompositeFilter.DiscardUnknown(m) -} - -var xxx_messageInfo_CompositeFilter proto.InternalMessageInfo - -func (m *CompositeFilter) GetOp() CompositeFilter_Operator { - if m != nil { - return m.Op - } - return CompositeFilter_OPERATOR_UNSPECIFIED -} - -func (m *CompositeFilter) GetFilters() []*Filter { - if m != nil { - return m.Filters - } - return nil -} - -// A filter on a specific property. -type PropertyFilter struct { - // The property to filter by. - Property *PropertyReference `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` - // The operator to filter by. - Op PropertyFilter_Operator `protobuf:"varint,2,opt,name=op,proto3,enum=google.datastore.v1beta3.PropertyFilter_Operator" json:"op,omitempty"` - // The value to compare the property to. - Value *Value `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7ed60bbcd54eb2b7, []int{8} -} - -func (m *PropertyFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PropertyFilter.Unmarshal(m, b) -} -func (m *PropertyFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PropertyFilter.Marshal(b, m, deterministic) -} -func (m *PropertyFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_PropertyFilter.Merge(m, src) -} -func (m *PropertyFilter) XXX_Size() int { - return xxx_messageInfo_PropertyFilter.Size(m) -} -func (m *PropertyFilter) XXX_DiscardUnknown() { - xxx_messageInfo_PropertyFilter.DiscardUnknown(m) -} - -var xxx_messageInfo_PropertyFilter proto.InternalMessageInfo - -func (m *PropertyFilter) GetProperty() *PropertyReference { - if m != nil { - return m.Property - } - return nil -} - -func (m *PropertyFilter) GetOp() PropertyFilter_Operator { - if m != nil { - return m.Op - } - return PropertyFilter_OPERATOR_UNSPECIFIED -} - -func (m *PropertyFilter) GetValue() *Value { - if m != nil { - return m.Value - } - return nil -} - -// A [GQL -// query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference). -type GqlQuery struct { - // A string of the format described - // [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference). - QueryString string `protobuf:"bytes,1,opt,name=query_string,json=queryString,proto3" json:"query_string,omitempty"` - // When false, the query string must not contain any literals and instead must - // bind all values. For example, - // `SELECT * FROM Kind WHERE a = 'string literal'` is not allowed, while - // `SELECT * FROM Kind WHERE a = @value` is. - AllowLiterals bool `protobuf:"varint,2,opt,name=allow_literals,json=allowLiterals,proto3" json:"allow_literals,omitempty"` - // For each non-reserved named binding site in the query string, there must be - // a named parameter with that name, but not necessarily the inverse. - // - // Key must match regex `[A-Za-z_$][A-Za-z_$0-9]*`, must not match regex - // `__.*__`, and must not be `""`. - NamedBindings map[string]*GqlQueryParameter `protobuf:"bytes,5,rep,name=named_bindings,json=namedBindings,proto3" json:"named_bindings,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Numbered binding site @1 references the first numbered parameter, - // effectively using 1-based indexing, rather than the usual 0. - // - // For each binding site numbered i in `query_string`, there must be an i-th - // numbered parameter. The inverse must also be true. - PositionalBindings []*GqlQueryParameter `protobuf:"bytes,4,rep,name=positional_bindings,json=positionalBindings,proto3" json:"positional_bindings,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7ed60bbcd54eb2b7, []int{9} -} - -func (m *GqlQuery) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GqlQuery.Unmarshal(m, b) -} -func (m *GqlQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GqlQuery.Marshal(b, m, deterministic) -} -func (m *GqlQuery) XXX_Merge(src proto.Message) { - xxx_messageInfo_GqlQuery.Merge(m, src) -} -func (m *GqlQuery) XXX_Size() int { - return xxx_messageInfo_GqlQuery.Size(m) -} -func (m *GqlQuery) XXX_DiscardUnknown() { - xxx_messageInfo_GqlQuery.DiscardUnknown(m) -} - -var xxx_messageInfo_GqlQuery proto.InternalMessageInfo - -func (m *GqlQuery) GetQueryString() string { - if m != nil { - return m.QueryString - } - return "" -} - -func (m *GqlQuery) GetAllowLiterals() bool { - if m != nil { - return m.AllowLiterals - } - return false -} - -func (m *GqlQuery) GetNamedBindings() map[string]*GqlQueryParameter { - if m != nil { - return m.NamedBindings - } - return nil -} - -func (m *GqlQuery) GetPositionalBindings() []*GqlQueryParameter { - if m != nil { - return m.PositionalBindings - } - return nil -} - -// A binding parameter for a GQL query. -type GqlQueryParameter struct { - // The type of parameter. - // - // Types that are valid to be assigned to ParameterType: - // *GqlQueryParameter_Value - // *GqlQueryParameter_Cursor - ParameterType isGqlQueryParameter_ParameterType `protobuf_oneof:"parameter_type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7ed60bbcd54eb2b7, []int{10} -} - -func (m *GqlQueryParameter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GqlQueryParameter.Unmarshal(m, b) -} -func (m *GqlQueryParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GqlQueryParameter.Marshal(b, m, deterministic) -} -func (m *GqlQueryParameter) XXX_Merge(src proto.Message) { - xxx_messageInfo_GqlQueryParameter.Merge(m, src) -} -func (m *GqlQueryParameter) XXX_Size() int { - return xxx_messageInfo_GqlQueryParameter.Size(m) -} -func (m *GqlQueryParameter) XXX_DiscardUnknown() { - xxx_messageInfo_GqlQueryParameter.DiscardUnknown(m) -} - -var xxx_messageInfo_GqlQueryParameter proto.InternalMessageInfo - -type isGqlQueryParameter_ParameterType interface { - isGqlQueryParameter_ParameterType() -} - -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_Cursor) isGqlQueryParameter_ParameterType() {} - -func (m *GqlQueryParameter) GetParameterType() isGqlQueryParameter_ParameterType { - if m != nil { - return m.ParameterType - } - return nil -} - -func (m *GqlQueryParameter) GetValue() *Value { - if x, ok := m.GetParameterType().(*GqlQueryParameter_Value); ok { - return x.Value - } - return nil -} - -func (m *GqlQueryParameter) GetCursor() []byte { - if x, ok := m.GetParameterType().(*GqlQueryParameter_Cursor); ok { - return x.Cursor - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*GqlQueryParameter) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*GqlQueryParameter_Value)(nil), - (*GqlQueryParameter_Cursor)(nil), - } -} - -// A batch of results produced by a query. -type QueryResultBatch struct { - // The number of results skipped, typically because of an offset. - SkippedResults int32 `protobuf:"varint,6,opt,name=skipped_results,json=skippedResults,proto3" json:"skipped_results,omitempty"` - // A cursor that points to the position after the last skipped result. - // Will be set when `skipped_results` != 0. - SkippedCursor []byte `protobuf:"bytes,3,opt,name=skipped_cursor,json=skippedCursor,proto3" json:"skipped_cursor,omitempty"` - // The result type for every entity in `entity_results`. - EntityResultType EntityResult_ResultType `protobuf:"varint,1,opt,name=entity_result_type,json=entityResultType,proto3,enum=google.datastore.v1beta3.EntityResult_ResultType" json:"entity_result_type,omitempty"` - // The results for this batch. - EntityResults []*EntityResult `protobuf:"bytes,2,rep,name=entity_results,json=entityResults,proto3" json:"entity_results,omitempty"` - // A cursor that points to the position after the last result in the batch. - EndCursor []byte `protobuf:"bytes,4,opt,name=end_cursor,json=endCursor,proto3" json:"end_cursor,omitempty"` - // The state of the query after the current batch. - MoreResults QueryResultBatch_MoreResultsType `protobuf:"varint,5,opt,name=more_results,json=moreResults,proto3,enum=google.datastore.v1beta3.QueryResultBatch_MoreResultsType" json:"more_results,omitempty"` - // The version number of the snapshot this batch was returned from. - // This applies to the range of results from the query's `start_cursor` (or - // the beginning of the query if no cursor was given) to this batch's - // `end_cursor` (not the query's `end_cursor`). - // - // In a single transaction, subsequent query result batches for the same query - // can have a greater snapshot version number. Each batch's snapshot version - // is valid for all preceding batches. - // The value will be zero for eventually consistent queries. - SnapshotVersion int64 `protobuf:"varint,7,opt,name=snapshot_version,json=snapshotVersion,proto3" json:"snapshot_version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7ed60bbcd54eb2b7, []int{11} -} - -func (m *QueryResultBatch) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryResultBatch.Unmarshal(m, b) -} -func (m *QueryResultBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryResultBatch.Marshal(b, m, deterministic) -} -func (m *QueryResultBatch) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryResultBatch.Merge(m, src) -} -func (m *QueryResultBatch) XXX_Size() int { - return xxx_messageInfo_QueryResultBatch.Size(m) -} -func (m *QueryResultBatch) XXX_DiscardUnknown() { - xxx_messageInfo_QueryResultBatch.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryResultBatch proto.InternalMessageInfo - -func (m *QueryResultBatch) GetSkippedResults() int32 { - if m != nil { - return m.SkippedResults - } - return 0 -} - -func (m *QueryResultBatch) GetSkippedCursor() []byte { - if m != nil { - return m.SkippedCursor - } - return nil -} - -func (m *QueryResultBatch) GetEntityResultType() EntityResult_ResultType { - if m != nil { - return m.EntityResultType - } - return EntityResult_RESULT_TYPE_UNSPECIFIED -} - -func (m *QueryResultBatch) GetEntityResults() []*EntityResult { - if m != nil { - return m.EntityResults - } - return nil -} - -func (m *QueryResultBatch) GetEndCursor() []byte { - if m != nil { - return m.EndCursor - } - return nil -} - -func (m *QueryResultBatch) GetMoreResults() QueryResultBatch_MoreResultsType { - if m != nil { - return m.MoreResults - } - return QueryResultBatch_MORE_RESULTS_TYPE_UNSPECIFIED -} - -func (m *QueryResultBatch) GetSnapshotVersion() int64 { - if m != nil { - return m.SnapshotVersion - } - return 0 -} - -func init() { - proto.RegisterEnum("google.datastore.v1beta3.EntityResult_ResultType", EntityResult_ResultType_name, EntityResult_ResultType_value) - proto.RegisterEnum("google.datastore.v1beta3.PropertyOrder_Direction", PropertyOrder_Direction_name, PropertyOrder_Direction_value) - proto.RegisterEnum("google.datastore.v1beta3.CompositeFilter_Operator", CompositeFilter_Operator_name, CompositeFilter_Operator_value) - proto.RegisterEnum("google.datastore.v1beta3.PropertyFilter_Operator", PropertyFilter_Operator_name, PropertyFilter_Operator_value) - proto.RegisterEnum("google.datastore.v1beta3.QueryResultBatch_MoreResultsType", QueryResultBatch_MoreResultsType_name, QueryResultBatch_MoreResultsType_value) - proto.RegisterType((*EntityResult)(nil), "google.datastore.v1beta3.EntityResult") - proto.RegisterType((*Query)(nil), "google.datastore.v1beta3.Query") - proto.RegisterType((*KindExpression)(nil), "google.datastore.v1beta3.KindExpression") - proto.RegisterType((*PropertyReference)(nil), "google.datastore.v1beta3.PropertyReference") - proto.RegisterType((*Projection)(nil), "google.datastore.v1beta3.Projection") - proto.RegisterType((*PropertyOrder)(nil), "google.datastore.v1beta3.PropertyOrder") - proto.RegisterType((*Filter)(nil), "google.datastore.v1beta3.Filter") - proto.RegisterType((*CompositeFilter)(nil), "google.datastore.v1beta3.CompositeFilter") - proto.RegisterType((*PropertyFilter)(nil), "google.datastore.v1beta3.PropertyFilter") - proto.RegisterType((*GqlQuery)(nil), "google.datastore.v1beta3.GqlQuery") - proto.RegisterMapType((map[string]*GqlQueryParameter)(nil), "google.datastore.v1beta3.GqlQuery.NamedBindingsEntry") - proto.RegisterType((*GqlQueryParameter)(nil), "google.datastore.v1beta3.GqlQueryParameter") - proto.RegisterType((*QueryResultBatch)(nil), "google.datastore.v1beta3.QueryResultBatch") -} - -func init() { - proto.RegisterFile("google/datastore/v1beta3/query.proto", fileDescriptor_7ed60bbcd54eb2b7) -} - -var fileDescriptor_7ed60bbcd54eb2b7 = []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, - 0x41, 0x51, 0x09, 0x56, 0x10, 0x34, 0x48, 0xdb, 0x85, 0x1e, 0xb4, 0xad, 0x46, 0x16, 0x95, 0x91, - 0x6c, 0x20, 0x85, 0x0b, 0x82, 0x96, 0xc6, 0x0a, 0x1b, 0x8a, 0x64, 0xc8, 0x71, 0x12, 0x7f, 0x48, - 0x81, 0x7e, 0x43, 0x77, 0xfd, 0x83, 0x2e, 0xba, 0x2a, 0xd0, 0x6d, 0xb7, 0xfd, 0x80, 0x6e, 0xfa, - 0x07, 0x2d, 0x38, 0x33, 0xd4, 0xcb, 0x51, 0xe4, 0x02, 0xd9, 0x69, 0xee, 0x9c, 0x73, 0xee, 0xcc, - 0xe1, 0x9d, 0x99, 0x2b, 0xb8, 0x3b, 0xf6, 0xbc, 0xb1, 0x43, 0xaa, 0x23, 0x8b, 0x5a, 0x21, 0xf5, - 0x02, 0x52, 0x7d, 0xbd,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0x82, 0xeb, 0xef, 0x98, 0x6d, 0x1e, 0xe2, - 0xbe, 0x81, 0x95, 0x24, 0xba, 0x0a, 0xa5, 0xae, 0x61, 0xce, 0x23, 0x94, 0x44, 0xe3, 0x17, 0x09, - 0x6e, 0x0e, 0xbd, 0xc9, 0x4a, 0x53, 0x1a, 0xc0, 0xcb, 0x3d, 0xea, 0x93, 0x7a, 0xd2, 0x77, 0x75, - 0x81, 0x1b, 0x7b, 0x8e, 0xe5, 0x8e, 0x2b, 0x5e, 0x30, 0xae, 0x8e, 0x89, 0xcb, 0xba, 0xa8, 0x2a, - 0x9f, 0xb2, 0x7c, 0x3b, 0xbc, 0xf8, 0x37, 0xe2, 0xab, 0x69, 0xe4, 0x67, 0xf9, 0xf6, 0x1e, 0xd7, - 0x68, 0x3a, 0xde, 0xd9, 0xa8, 0xd2, 0x9a, 0x66, 0x3c, 0xda, 0x69, 0x44, 0xd0, 0xdf, 0x63, 0xc0, - 0x31, 0x03, 0x1c, 0x4f, 0x01, 0xc7, 0x47, 0x5c, 0xeb, 0x24, 0xcd, 0xf2, 0x3d, 0xfc, 0x2f, 0x00, - 0x00, 0xff, 0xff, 0x61, 0xdf, 0x90, 0xd9, 0x13, 0x0d, 0x00, 0x00, -} 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 deleted file mode 100644 index 46cfc83b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/build/v1/build_events.pb.go +++ /dev/null @@ -1,780 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/build/v1/build_events.proto - -package build - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - any "github.com/golang/protobuf/ptypes/any" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The type of console output stream. -type ConsoleOutputStream int32 - -const ( - // Unspecified or unknown. - ConsoleOutputStream_UNKNOWN ConsoleOutputStream = 0 - // Normal output stream. - ConsoleOutputStream_STDOUT ConsoleOutputStream = 1 - // Error output stream. - ConsoleOutputStream_STDERR ConsoleOutputStream = 2 -) - -var ConsoleOutputStream_name = map[int32]string{ - 0: "UNKNOWN", - 1: "STDOUT", - 2: "STDERR", -} - -var ConsoleOutputStream_value = map[string]int32{ - "UNKNOWN": 0, - "STDOUT": 1, - "STDERR": 2, -} - -func (x ConsoleOutputStream) String() string { - return proto.EnumName(ConsoleOutputStream_name, int32(x)) -} - -func (ConsoleOutputStream) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b1e5c65e074f08f4, []int{0} -} - -// How did the event stream finish. -type BuildEvent_BuildComponentStreamFinished_FinishType int32 - -const ( - // Unknown or unspecified; callers should never set this value. - BuildEvent_BuildComponentStreamFinished_FINISH_TYPE_UNSPECIFIED BuildEvent_BuildComponentStreamFinished_FinishType = 0 - // Set by the event publisher to indicate a build event stream is - // finished. - BuildEvent_BuildComponentStreamFinished_FINISHED BuildEvent_BuildComponentStreamFinished_FinishType = 1 - // Set by the WatchBuild RPC server when the publisher of a build event - // stream stops publishing events without publishing a - // BuildComponentStreamFinished event whose type equals FINISHED. - BuildEvent_BuildComponentStreamFinished_EXPIRED BuildEvent_BuildComponentStreamFinished_FinishType = 2 -) - -var BuildEvent_BuildComponentStreamFinished_FinishType_name = map[int32]string{ - 0: "FINISH_TYPE_UNSPECIFIED", - 1: "FINISHED", - 2: "EXPIRED", -} - -var BuildEvent_BuildComponentStreamFinished_FinishType_value = map[string]int32{ - "FINISH_TYPE_UNSPECIFIED": 0, - "FINISHED": 1, - "EXPIRED": 2, -} - -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_b1e5c65e074f08f4, []int{0, 5, 0} -} - -// Which build component generates this event stream. Each build component -// may generate one event stream. -type StreamId_BuildComponent int32 - -const ( - // Unknown or unspecified; callers should never set this value. - StreamId_UNKNOWN_COMPONENT StreamId_BuildComponent = 0 - // A component that coordinates builds. - StreamId_CONTROLLER StreamId_BuildComponent = 1 - // A component that runs executables needed to complete a build. - StreamId_WORKER StreamId_BuildComponent = 2 - // A component that builds something. - StreamId_TOOL StreamId_BuildComponent = 3 -) - -var StreamId_BuildComponent_name = map[int32]string{ - 0: "UNKNOWN_COMPONENT", - 1: "CONTROLLER", - 2: "WORKER", - 3: "TOOL", -} - -var StreamId_BuildComponent_value = map[string]int32{ - "UNKNOWN_COMPONENT": 0, - "CONTROLLER": 1, - "WORKER": 2, - "TOOL": 3, -} - -func (x StreamId_BuildComponent) String() string { - return proto.EnumName(StreamId_BuildComponent_name, int32(x)) -} - -func (StreamId_BuildComponent) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b1e5c65e074f08f4, []int{1, 0} -} - -// 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. - EventTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"` - // ////////////////////////////////////////////////////////////////////////// - // Events that indicate a state change of a build request in the build - // queue. - // - // Types that are valid to be assigned to Event: - // *BuildEvent_InvocationAttemptStarted_ - // *BuildEvent_InvocationAttemptFinished_ - // *BuildEvent_BuildEnqueued_ - // *BuildEvent_BuildFinished_ - // *BuildEvent_ConsoleOutput_ - // *BuildEvent_ComponentStreamFinished - // *BuildEvent_BazelEvent - // *BuildEvent_BuildExecutionEvent - // *BuildEvent_SourceFetchEvent - Event isBuildEvent_Event `protobuf_oneof:"event"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b1e5c65e074f08f4, []int{0} -} - -func (m *BuildEvent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BuildEvent.Unmarshal(m, b) -} -func (m *BuildEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BuildEvent.Marshal(b, m, deterministic) -} -func (m *BuildEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_BuildEvent.Merge(m, src) -} -func (m *BuildEvent) XXX_Size() int { - return xxx_messageInfo_BuildEvent.Size(m) -} -func (m *BuildEvent) XXX_DiscardUnknown() { - xxx_messageInfo_BuildEvent.DiscardUnknown(m) -} - -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() -} - -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_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 (m *BuildEvent) GetEvent() isBuildEvent_Event { - if m != nil { - return m.Event - } - return nil -} - -func (m *BuildEvent) GetInvocationAttemptStarted() *BuildEvent_InvocationAttemptStarted { - if x, ok := m.GetEvent().(*BuildEvent_InvocationAttemptStarted_); ok { - return x.InvocationAttemptStarted - } - return nil -} - -func (m *BuildEvent) GetInvocationAttemptFinished() *BuildEvent_InvocationAttemptFinished { - if x, ok := m.GetEvent().(*BuildEvent_InvocationAttemptFinished_); ok { - return x.InvocationAttemptFinished - } - return nil -} - -func (m *BuildEvent) GetBuildEnqueued() *BuildEvent_BuildEnqueued { - if x, ok := m.GetEvent().(*BuildEvent_BuildEnqueued_); ok { - return x.BuildEnqueued - } - return nil -} - -func (m *BuildEvent) GetBuildFinished() *BuildEvent_BuildFinished { - if x, ok := m.GetEvent().(*BuildEvent_BuildFinished_); ok { - return x.BuildFinished - } - return nil -} - -func (m *BuildEvent) GetConsoleOutput() *BuildEvent_ConsoleOutput { - if x, ok := m.GetEvent().(*BuildEvent_ConsoleOutput_); ok { - return x.ConsoleOutput - } - return nil -} - -func (m *BuildEvent) GetComponentStreamFinished() *BuildEvent_BuildComponentStreamFinished { - if x, ok := m.GetEvent().(*BuildEvent_ComponentStreamFinished); ok { - return x.ComponentStreamFinished - } - return nil -} - -func (m *BuildEvent) GetBazelEvent() *any.Any { - if x, ok := m.GetEvent().(*BuildEvent_BazelEvent); ok { - return x.BazelEvent - } - return nil -} - -func (m *BuildEvent) GetBuildExecutionEvent() *any.Any { - if x, ok := m.GetEvent().(*BuildEvent_BuildExecutionEvent); ok { - return x.BuildExecutionEvent - } - return nil -} - -func (m *BuildEvent) GetSourceFetchEvent() *any.Any { - if x, ok := m.GetEvent().(*BuildEvent_SourceFetchEvent); ok { - return x.SourceFetchEvent - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*BuildEvent) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*BuildEvent_InvocationAttemptStarted_)(nil), - (*BuildEvent_InvocationAttemptFinished_)(nil), - (*BuildEvent_BuildEnqueued_)(nil), - (*BuildEvent_BuildFinished_)(nil), - (*BuildEvent_ConsoleOutput_)(nil), - (*BuildEvent_ComponentStreamFinished)(nil), - (*BuildEvent_BazelEvent)(nil), - (*BuildEvent_BuildExecutionEvent)(nil), - (*BuildEvent_SourceFetchEvent)(nil), - } -} - -// Notification that the build system has attempted to run the build tool. -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"` - // 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:"-"` -} - -func (m *BuildEvent_InvocationAttemptStarted) Reset() { *m = BuildEvent_InvocationAttemptStarted{} } -func (m *BuildEvent_InvocationAttemptStarted) String() string { return proto.CompactTextString(m) } -func (*BuildEvent_InvocationAttemptStarted) ProtoMessage() {} -func (*BuildEvent_InvocationAttemptStarted) Descriptor() ([]byte, []int) { - return fileDescriptor_b1e5c65e074f08f4, []int{0, 0} -} - -func (m *BuildEvent_InvocationAttemptStarted) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BuildEvent_InvocationAttemptStarted.Unmarshal(m, b) -} -func (m *BuildEvent_InvocationAttemptStarted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BuildEvent_InvocationAttemptStarted.Marshal(b, m, deterministic) -} -func (m *BuildEvent_InvocationAttemptStarted) XXX_Merge(src proto.Message) { - xxx_messageInfo_BuildEvent_InvocationAttemptStarted.Merge(m, src) -} -func (m *BuildEvent_InvocationAttemptStarted) XXX_Size() int { - return xxx_messageInfo_BuildEvent_InvocationAttemptStarted.Size(m) -} -func (m *BuildEvent_InvocationAttemptStarted) XXX_DiscardUnknown() { - xxx_messageInfo_BuildEvent_InvocationAttemptStarted.DiscardUnknown(m) -} - -var xxx_messageInfo_BuildEvent_InvocationAttemptStarted proto.InternalMessageInfo - -func (m *BuildEvent_InvocationAttemptStarted) GetAttemptNumber() int64 { - if m != nil { - return m.AttemptNumber - } - 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 { - // 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:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BuildEvent_InvocationAttemptFinished) Reset() { *m = BuildEvent_InvocationAttemptFinished{} } -func (m *BuildEvent_InvocationAttemptFinished) String() string { return proto.CompactTextString(m) } -func (*BuildEvent_InvocationAttemptFinished) ProtoMessage() {} -func (*BuildEvent_InvocationAttemptFinished) Descriptor() ([]byte, []int) { - return fileDescriptor_b1e5c65e074f08f4, []int{0, 1} -} - -func (m *BuildEvent_InvocationAttemptFinished) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BuildEvent_InvocationAttemptFinished.Unmarshal(m, b) -} -func (m *BuildEvent_InvocationAttemptFinished) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BuildEvent_InvocationAttemptFinished.Marshal(b, m, deterministic) -} -func (m *BuildEvent_InvocationAttemptFinished) XXX_Merge(src proto.Message) { - xxx_messageInfo_BuildEvent_InvocationAttemptFinished.Merge(m, src) -} -func (m *BuildEvent_InvocationAttemptFinished) XXX_Size() int { - return xxx_messageInfo_BuildEvent_InvocationAttemptFinished.Size(m) -} -func (m *BuildEvent_InvocationAttemptFinished) XXX_DiscardUnknown() { - xxx_messageInfo_BuildEvent_InvocationAttemptFinished.DiscardUnknown(m) -} - -var xxx_messageInfo_BuildEvent_InvocationAttemptFinished proto.InternalMessageInfo - -func (m *BuildEvent_InvocationAttemptFinished) GetInvocationStatus() *BuildStatus { - if m != nil { - return m.InvocationStatus - } - return nil -} - -// 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:"-"` -} - -func (m *BuildEvent_BuildEnqueued) Reset() { *m = BuildEvent_BuildEnqueued{} } -func (m *BuildEvent_BuildEnqueued) String() string { return proto.CompactTextString(m) } -func (*BuildEvent_BuildEnqueued) ProtoMessage() {} -func (*BuildEvent_BuildEnqueued) Descriptor() ([]byte, []int) { - return fileDescriptor_b1e5c65e074f08f4, []int{0, 2} -} - -func (m *BuildEvent_BuildEnqueued) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BuildEvent_BuildEnqueued.Unmarshal(m, b) -} -func (m *BuildEvent_BuildEnqueued) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BuildEvent_BuildEnqueued.Marshal(b, m, deterministic) -} -func (m *BuildEvent_BuildEnqueued) XXX_Merge(src proto.Message) { - xxx_messageInfo_BuildEvent_BuildEnqueued.Merge(m, src) -} -func (m *BuildEvent_BuildEnqueued) XXX_Size() int { - return xxx_messageInfo_BuildEvent_BuildEnqueued.Size(m) -} -func (m *BuildEvent_BuildEnqueued) XXX_DiscardUnknown() { - xxx_messageInfo_BuildEvent_BuildEnqueued.DiscardUnknown(m) -} - -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. -type BuildEvent_BuildFinished struct { - // Final status of the build. - Status *BuildStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BuildEvent_BuildFinished) Reset() { *m = BuildEvent_BuildFinished{} } -func (m *BuildEvent_BuildFinished) String() string { return proto.CompactTextString(m) } -func (*BuildEvent_BuildFinished) ProtoMessage() {} -func (*BuildEvent_BuildFinished) Descriptor() ([]byte, []int) { - return fileDescriptor_b1e5c65e074f08f4, []int{0, 3} -} - -func (m *BuildEvent_BuildFinished) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BuildEvent_BuildFinished.Unmarshal(m, b) -} -func (m *BuildEvent_BuildFinished) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BuildEvent_BuildFinished.Marshal(b, m, deterministic) -} -func (m *BuildEvent_BuildFinished) XXX_Merge(src proto.Message) { - xxx_messageInfo_BuildEvent_BuildFinished.Merge(m, src) -} -func (m *BuildEvent_BuildFinished) XXX_Size() int { - return xxx_messageInfo_BuildEvent_BuildFinished.Size(m) -} -func (m *BuildEvent_BuildFinished) XXX_DiscardUnknown() { - xxx_messageInfo_BuildEvent_BuildFinished.DiscardUnknown(m) -} - -var xxx_messageInfo_BuildEvent_BuildFinished proto.InternalMessageInfo - -func (m *BuildEvent_BuildFinished) GetStatus() *BuildStatus { - if m != nil { - return m.Status - } - return nil -} - -// Textual output written to standard output or standard error. -type BuildEvent_ConsoleOutput struct { - // The output stream type. - Type ConsoleOutputStream `protobuf:"varint,1,opt,name=type,proto3,enum=google.devtools.build.v1.ConsoleOutputStream" json:"type,omitempty"` - // The output stream content. - // - // Types that are valid to be assigned to Output: - // *BuildEvent_ConsoleOutput_TextOutput - // *BuildEvent_ConsoleOutput_BinaryOutput - Output isBuildEvent_ConsoleOutput_Output `protobuf_oneof:"output"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BuildEvent_ConsoleOutput) Reset() { *m = BuildEvent_ConsoleOutput{} } -func (m *BuildEvent_ConsoleOutput) String() string { return proto.CompactTextString(m) } -func (*BuildEvent_ConsoleOutput) ProtoMessage() {} -func (*BuildEvent_ConsoleOutput) Descriptor() ([]byte, []int) { - return fileDescriptor_b1e5c65e074f08f4, []int{0, 4} -} - -func (m *BuildEvent_ConsoleOutput) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BuildEvent_ConsoleOutput.Unmarshal(m, b) -} -func (m *BuildEvent_ConsoleOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BuildEvent_ConsoleOutput.Marshal(b, m, deterministic) -} -func (m *BuildEvent_ConsoleOutput) XXX_Merge(src proto.Message) { - xxx_messageInfo_BuildEvent_ConsoleOutput.Merge(m, src) -} -func (m *BuildEvent_ConsoleOutput) XXX_Size() int { - return xxx_messageInfo_BuildEvent_ConsoleOutput.Size(m) -} -func (m *BuildEvent_ConsoleOutput) XXX_DiscardUnknown() { - xxx_messageInfo_BuildEvent_ConsoleOutput.DiscardUnknown(m) -} - -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() -} - -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_BinaryOutput) isBuildEvent_ConsoleOutput_Output() {} - -func (m *BuildEvent_ConsoleOutput) GetOutput() isBuildEvent_ConsoleOutput_Output { - if m != nil { - return m.Output - } - return nil -} - -func (m *BuildEvent_ConsoleOutput) GetTextOutput() string { - if x, ok := m.GetOutput().(*BuildEvent_ConsoleOutput_TextOutput); ok { - return x.TextOutput - } - return "" -} - -func (m *BuildEvent_ConsoleOutput) GetBinaryOutput() []byte { - if x, ok := m.GetOutput().(*BuildEvent_ConsoleOutput_BinaryOutput); ok { - return x.BinaryOutput - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*BuildEvent_ConsoleOutput) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*BuildEvent_ConsoleOutput_TextOutput)(nil), - (*BuildEvent_ConsoleOutput_BinaryOutput)(nil), - } -} - -// Notification of the end of a build event stream published by a build -// component other than CONTROLLER (See StreamId.BuildComponents). -type BuildEvent_BuildComponentStreamFinished struct { - // How the event stream finished. - Type BuildEvent_BuildComponentStreamFinished_FinishType `protobuf:"varint,1,opt,name=type,proto3,enum=google.devtools.build.v1.BuildEvent_BuildComponentStreamFinished_FinishType" json:"type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BuildEvent_BuildComponentStreamFinished) Reset() { - *m = BuildEvent_BuildComponentStreamFinished{} -} -func (m *BuildEvent_BuildComponentStreamFinished) String() string { return proto.CompactTextString(m) } -func (*BuildEvent_BuildComponentStreamFinished) ProtoMessage() {} -func (*BuildEvent_BuildComponentStreamFinished) Descriptor() ([]byte, []int) { - return fileDescriptor_b1e5c65e074f08f4, []int{0, 5} -} - -func (m *BuildEvent_BuildComponentStreamFinished) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BuildEvent_BuildComponentStreamFinished.Unmarshal(m, b) -} -func (m *BuildEvent_BuildComponentStreamFinished) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BuildEvent_BuildComponentStreamFinished.Marshal(b, m, deterministic) -} -func (m *BuildEvent_BuildComponentStreamFinished) XXX_Merge(src proto.Message) { - xxx_messageInfo_BuildEvent_BuildComponentStreamFinished.Merge(m, src) -} -func (m *BuildEvent_BuildComponentStreamFinished) XXX_Size() int { - return xxx_messageInfo_BuildEvent_BuildComponentStreamFinished.Size(m) -} -func (m *BuildEvent_BuildComponentStreamFinished) XXX_DiscardUnknown() { - xxx_messageInfo_BuildEvent_BuildComponentStreamFinished.DiscardUnknown(m) -} - -var xxx_messageInfo_BuildEvent_BuildComponentStreamFinished proto.InternalMessageInfo - -func (m *BuildEvent_BuildComponentStreamFinished) GetType() BuildEvent_BuildComponentStreamFinished_FinishType { - if m != nil { - return m.Type - } - return BuildEvent_BuildComponentStreamFinished_FINISH_TYPE_UNSPECIFIED -} - -// Unique identifier for a build event stream. -type StreamId struct { - // The id of a Build message. - BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` - // The unique invocation ID within this build. - // It should be the same as {invocation} (below) during the migration. - InvocationId string `protobuf:"bytes,6,opt,name=invocation_id,json=invocationId,proto3" json:"invocation_id,omitempty"` - // The component that emitted this event. - Component StreamId_BuildComponent `protobuf:"varint,3,opt,name=component,proto3,enum=google.devtools.build.v1.StreamId_BuildComponent" json:"component,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b1e5c65e074f08f4, []int{1} -} - -func (m *StreamId) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamId.Unmarshal(m, b) -} -func (m *StreamId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamId.Marshal(b, m, deterministic) -} -func (m *StreamId) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamId.Merge(m, src) -} -func (m *StreamId) XXX_Size() int { - return xxx_messageInfo_StreamId.Size(m) -} -func (m *StreamId) XXX_DiscardUnknown() { - xxx_messageInfo_StreamId.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamId proto.InternalMessageInfo - -func (m *StreamId) GetBuildId() string { - if m != nil { - return m.BuildId - } - return "" -} - -func (m *StreamId) GetInvocationId() string { - if m != nil { - return m.InvocationId - } - return "" -} - -func (m *StreamId) GetComponent() StreamId_BuildComponent { - if m != nil { - return m.Component - } - return StreamId_UNKNOWN_COMPONENT -} - -func init() { - proto.RegisterEnum("google.devtools.build.v1.ConsoleOutputStream", ConsoleOutputStream_name, ConsoleOutputStream_value) - proto.RegisterEnum("google.devtools.build.v1.BuildEvent_BuildComponentStreamFinished_FinishType", BuildEvent_BuildComponentStreamFinished_FinishType_name, BuildEvent_BuildComponentStreamFinished_FinishType_value) - proto.RegisterEnum("google.devtools.build.v1.StreamId_BuildComponent", StreamId_BuildComponent_name, StreamId_BuildComponent_value) - proto.RegisterType((*BuildEvent)(nil), "google.devtools.build.v1.BuildEvent") - proto.RegisterType((*BuildEvent_InvocationAttemptStarted)(nil), "google.devtools.build.v1.BuildEvent.InvocationAttemptStarted") - proto.RegisterType((*BuildEvent_InvocationAttemptFinished)(nil), "google.devtools.build.v1.BuildEvent.InvocationAttemptFinished") - proto.RegisterType((*BuildEvent_BuildEnqueued)(nil), "google.devtools.build.v1.BuildEvent.BuildEnqueued") - proto.RegisterType((*BuildEvent_BuildFinished)(nil), "google.devtools.build.v1.BuildEvent.BuildFinished") - proto.RegisterType((*BuildEvent_ConsoleOutput)(nil), "google.devtools.build.v1.BuildEvent.ConsoleOutput") - proto.RegisterType((*BuildEvent_BuildComponentStreamFinished)(nil), "google.devtools.build.v1.BuildEvent.BuildComponentStreamFinished") - proto.RegisterType((*StreamId)(nil), "google.devtools.build.v1.StreamId") -} - -func init() { - proto.RegisterFile("google/devtools/build/v1/build_events.proto", fileDescriptor_b1e5c65e074f08f4) -} - -var fileDescriptor_b1e5c65e074f08f4 = []byte{ - // 896 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x96, 0x6d, 0x6f, 0xe3, 0x44, - 0x10, 0xc7, 0xe3, 0xf6, 0x48, 0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- 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 deleted file mode 100644 index 38cf9c25..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/build/v1/build_status.pb.go +++ /dev/null @@ -1,168 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/build/v1/build_status.proto - -package build - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - any "github.com/golang/protobuf/ptypes/any" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The end result of the Build. -type BuildStatus_Result int32 - -const ( - // Unspecified or unknown. - BuildStatus_UNKNOWN_STATUS BuildStatus_Result = 0 - // Build was successful and tests (if requested) all pass. - BuildStatus_COMMAND_SUCCEEDED BuildStatus_Result = 1 - // Build error and/or test failure. - BuildStatus_COMMAND_FAILED BuildStatus_Result = 2 - // Unable to obtain a result due to input provided by the user. - BuildStatus_USER_ERROR BuildStatus_Result = 3 - // Unable to obtain a result due to a failure within the build system. - BuildStatus_SYSTEM_ERROR BuildStatus_Result = 4 - // Build required too many resources, such as build tool RAM. - BuildStatus_RESOURCE_EXHAUSTED BuildStatus_Result = 5 - // An invocation attempt time exceeded its deadline. - BuildStatus_INVOCATION_DEADLINE_EXCEEDED BuildStatus_Result = 6 - // Build request time exceeded the request_deadline - BuildStatus_REQUEST_DEADLINE_EXCEEDED BuildStatus_Result = 8 - // The build was cancelled by a call to CancelBuild. - BuildStatus_CANCELLED BuildStatus_Result = 7 -) - -var BuildStatus_Result_name = map[int32]string{ - 0: "UNKNOWN_STATUS", - 1: "COMMAND_SUCCEEDED", - 2: "COMMAND_FAILED", - 3: "USER_ERROR", - 4: "SYSTEM_ERROR", - 5: "RESOURCE_EXHAUSTED", - 6: "INVOCATION_DEADLINE_EXCEEDED", - 8: "REQUEST_DEADLINE_EXCEEDED", - 7: "CANCELLED", -} - -var BuildStatus_Result_value = map[string]int32{ - "UNKNOWN_STATUS": 0, - "COMMAND_SUCCEEDED": 1, - "COMMAND_FAILED": 2, - "USER_ERROR": 3, - "SYSTEM_ERROR": 4, - "RESOURCE_EXHAUSTED": 5, - "INVOCATION_DEADLINE_EXCEEDED": 6, - "REQUEST_DEADLINE_EXCEEDED": 8, - "CANCELLED": 7, -} - -func (x BuildStatus_Result) String() string { - return proto.EnumName(BuildStatus_Result_name, int32(x)) -} - -func (BuildStatus_Result) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_f5ec8917bb205301, []int{0, 0} -} - -// Status used for both invocation attempt and overall build completion. -type BuildStatus struct { - // The end result. - Result BuildStatus_Result `protobuf:"varint,1,opt,name=result,proto3,enum=google.devtools.build.v1.BuildStatus_Result" json:"result,omitempty"` - // Fine-grained diagnostic information to complement the status. - 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:"-"` -} - -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_f5ec8917bb205301, []int{0} -} - -func (m *BuildStatus) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BuildStatus.Unmarshal(m, b) -} -func (m *BuildStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BuildStatus.Marshal(b, m, deterministic) -} -func (m *BuildStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_BuildStatus.Merge(m, src) -} -func (m *BuildStatus) XXX_Size() int { - return xxx_messageInfo_BuildStatus.Size(m) -} -func (m *BuildStatus) XXX_DiscardUnknown() { - xxx_messageInfo_BuildStatus.DiscardUnknown(m) -} - -var xxx_messageInfo_BuildStatus proto.InternalMessageInfo - -func (m *BuildStatus) GetResult() BuildStatus_Result { - if m != nil { - return m.Result - } - return BuildStatus_UNKNOWN_STATUS -} - -func (m *BuildStatus) GetDetails() *any.Any { - if m != nil { - return m.Details - } - return nil -} - -func init() { - proto.RegisterEnum("google.devtools.build.v1.BuildStatus_Result", BuildStatus_Result_name, BuildStatus_Result_value) - proto.RegisterType((*BuildStatus)(nil), "google.devtools.build.v1.BuildStatus") -} - -func init() { - proto.RegisterFile("google/devtools/build/v1/build_status.proto", fileDescriptor_f5ec8917bb205301) -} - -var fileDescriptor_f5ec8917bb205301 = []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, - 0x6c, 0x1e, 0xc5, 0x43, 0xd6, 0x44, 0x2c, 0x6e, 0xe9, 0x4c, 0x5a, 0xff, 0x5d, 0x4a, 0xe6, 0x6a, - 0x29, 0xd4, 0x66, 0xac, 0xe9, 0x60, 0x1f, 0xd3, 0x93, 0x5f, 0xc5, 0xa3, 0xf4, 0x1f, 0x0c, 0x74, - 0xb7, 0xf4, 0x7d, 0x7e, 0xcf, 0xf3, 0xbe, 0x3c, 0x14, 0xbe, 0x4c, 0xb4, 0x4e, 0xb2, 0xd8, 0x39, - 0xc4, 0x67, 0xa3, 0x75, 0x56, 0x38, 0xfb, 0x32, 0xcd, 0x0e, 0xce, 0x79, 0xd9, 0x3c, 0xa2, 0xc2, - 0x28, 0x53, 0x16, 0xf8, 0x78, 0xd2, 0x46, 0xa3, 0x51, 0x03, 0xe3, 0x0e, 0xc6, 0x35, 0x83, 0xcf, - 0xcb, 0xc9, 0xb4, 0x8d, 0x51, 0xc7, 0xd4, 0x51, 0x79, 0xae, 0x8d, 0x32, 0xa9, 0xce, 0x5b, 0xdf, - 0x64, 0xdc, 0xaa, 0xf5, 0xd7, 0xbe, 0xfc, 0xe1, 0xa8, 0xf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0x77, 0xd9, 0xa6, 0xba, 0xa4, 0xbf, 0x36, 0x70, 0xfa, 0x5d, 0xff, 0xbc, 0x59, 0xdf, 0xda, - 0xbe, 0xea, 0x6f, 0x57, 0xb5, 0xb2, 0x03, 0xdf, 0xde, 0xb6, 0x74, 0xa2, 0x33, 0x95, 0x27, 0x58, - 0x9f, 0x12, 0x27, 0x89, 0xf3, 0xba, 0x33, 0xa7, 0x91, 0xd4, 0x31, 0x2d, 0xfe, 0xfd, 0x59, 0xde, - 0xd4, 0x8f, 0x3f, 0x00, 0xec, 0xad, 0x1a, 0x7e, 0xfd, 0x37, 0x00, 0x00, 0xff, 0xff, 0xd6, 0x3d, - 0xf5, 0x87, 0x58, 0x02, 0x00, 0x00, -} 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 deleted file mode 100644 index c0718155..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/build/v1/publish_build_event.pb.go +++ /dev/null @@ -1,561 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/build/v1/publish_build_event.proto - -package build - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The service level of the build request. Backends only uses this value when -// the BuildEnqueued event is published to determine what level of service -// this build should receive. -type PublishLifecycleEventRequest_ServiceLevel int32 - -const ( - // Non-interactive builds can tolerate longer event latencies. This is the - // default ServiceLevel if callers do not specify one. - PublishLifecycleEventRequest_NONINTERACTIVE PublishLifecycleEventRequest_ServiceLevel = 0 - // The events of an interactive build should be delivered with low latency. - PublishLifecycleEventRequest_INTERACTIVE PublishLifecycleEventRequest_ServiceLevel = 1 -) - -var PublishLifecycleEventRequest_ServiceLevel_name = map[int32]string{ - 0: "NONINTERACTIVE", - 1: "INTERACTIVE", -} - -var PublishLifecycleEventRequest_ServiceLevel_value = map[string]int32{ - "NONINTERACTIVE": 0, - "INTERACTIVE": 1, -} - -func (x PublishLifecycleEventRequest_ServiceLevel) String() string { - return proto.EnumName(PublishLifecycleEventRequest_ServiceLevel_name, int32(x)) -} - -func (PublishLifecycleEventRequest_ServiceLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_81da11d19c4841eb, []int{0, 0} -} - -// Publishes 'lifecycle events' that update the high-level state of a build: -// - BuildEnqueued: When a build is scheduled. -// - InvocationAttemptStarted: When work for a build starts; there can be -// multiple invocations for a build (e.g. retries). -// - InvocationAttemptCompleted: When work for a build finishes. -// - BuildFinished: When a build is finished. -type PublishLifecycleEventRequest struct { - // The interactivity of this build. - ServiceLevel PublishLifecycleEventRequest_ServiceLevel `protobuf:"varint,1,opt,name=service_level,json=serviceLevel,proto3,enum=google.devtools.build.v1.PublishLifecycleEventRequest_ServiceLevel" json:"service_level,omitempty"` - // The lifecycle build event. If this is a build tool event, the RPC will fail - // with INVALID_REQUEST. - BuildEvent *OrderedBuildEvent `protobuf:"bytes,2,opt,name=build_event,json=buildEvent,proto3" json:"build_event,omitempty"` - // If the next event for this build or invocation (depending on the event - // type) hasn't been published after this duration from when {build_event} - // is written to BES, consider this stream expired. If this field is not set, - // BES backend will use its own default value. - StreamTimeout *duration.Duration `protobuf:"bytes,3,opt,name=stream_timeout,json=streamTimeout,proto3" json:"stream_timeout,omitempty"` - // Additional information about a build request. These are define by the event - // publishers, and the Build Event Service does not validate or interpret - // them. They are used while notifying internal systems of new builds and - // 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"` - // 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:"-"` -} - -func (m *PublishLifecycleEventRequest) Reset() { *m = PublishLifecycleEventRequest{} } -func (m *PublishLifecycleEventRequest) String() string { return proto.CompactTextString(m) } -func (*PublishLifecycleEventRequest) ProtoMessage() {} -func (*PublishLifecycleEventRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_81da11d19c4841eb, []int{0} -} - -func (m *PublishLifecycleEventRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PublishLifecycleEventRequest.Unmarshal(m, b) -} -func (m *PublishLifecycleEventRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PublishLifecycleEventRequest.Marshal(b, m, deterministic) -} -func (m *PublishLifecycleEventRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PublishLifecycleEventRequest.Merge(m, src) -} -func (m *PublishLifecycleEventRequest) XXX_Size() int { - return xxx_messageInfo_PublishLifecycleEventRequest.Size(m) -} -func (m *PublishLifecycleEventRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PublishLifecycleEventRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_PublishLifecycleEventRequest proto.InternalMessageInfo - -func (m *PublishLifecycleEventRequest) GetServiceLevel() PublishLifecycleEventRequest_ServiceLevel { - if m != nil { - return m.ServiceLevel - } - return PublishLifecycleEventRequest_NONINTERACTIVE -} - -func (m *PublishLifecycleEventRequest) GetBuildEvent() *OrderedBuildEvent { - if m != nil { - return m.BuildEvent - } - return nil -} - -func (m *PublishLifecycleEventRequest) GetStreamTimeout() *duration.Duration { - if m != nil { - return m.StreamTimeout - } - return nil -} - -func (m *PublishLifecycleEventRequest) GetNotificationKeywords() []string { - if m != nil { - return m.NotificationKeywords - } - return nil -} - -func (m *PublishLifecycleEventRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// States which event has been committed. Any failure to commit will cause -// RPC errors, hence not recorded by this proto. -type PublishBuildToolEventStreamResponse struct { - // The stream that contains this event. - StreamId *StreamId `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` - // The sequence number of this event that has been committed. - SequenceNumber int64 `protobuf:"varint,2,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PublishBuildToolEventStreamResponse) Reset() { *m = PublishBuildToolEventStreamResponse{} } -func (m *PublishBuildToolEventStreamResponse) String() string { return proto.CompactTextString(m) } -func (*PublishBuildToolEventStreamResponse) ProtoMessage() {} -func (*PublishBuildToolEventStreamResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_81da11d19c4841eb, []int{1} -} - -func (m *PublishBuildToolEventStreamResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PublishBuildToolEventStreamResponse.Unmarshal(m, b) -} -func (m *PublishBuildToolEventStreamResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PublishBuildToolEventStreamResponse.Marshal(b, m, deterministic) -} -func (m *PublishBuildToolEventStreamResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PublishBuildToolEventStreamResponse.Merge(m, src) -} -func (m *PublishBuildToolEventStreamResponse) XXX_Size() int { - return xxx_messageInfo_PublishBuildToolEventStreamResponse.Size(m) -} -func (m *PublishBuildToolEventStreamResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PublishBuildToolEventStreamResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_PublishBuildToolEventStreamResponse proto.InternalMessageInfo - -func (m *PublishBuildToolEventStreamResponse) GetStreamId() *StreamId { - if m != nil { - return m.StreamId - } - return nil -} - -func (m *PublishBuildToolEventStreamResponse) GetSequenceNumber() int64 { - if m != nil { - return m.SequenceNumber - } - return 0 -} - -// Build event with contextual information about the stream it belongs to and -// its position in that stream. -type OrderedBuildEvent 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"` - // 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"` - // The actual event. - Event *BuildEvent `protobuf:"bytes,3,opt,name=event,proto3" json:"event,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_81da11d19c4841eb, []int{2} -} - -func (m *OrderedBuildEvent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OrderedBuildEvent.Unmarshal(m, b) -} -func (m *OrderedBuildEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OrderedBuildEvent.Marshal(b, m, deterministic) -} -func (m *OrderedBuildEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_OrderedBuildEvent.Merge(m, src) -} -func (m *OrderedBuildEvent) XXX_Size() int { - return xxx_messageInfo_OrderedBuildEvent.Size(m) -} -func (m *OrderedBuildEvent) XXX_DiscardUnknown() { - xxx_messageInfo_OrderedBuildEvent.DiscardUnknown(m) -} - -var xxx_messageInfo_OrderedBuildEvent proto.InternalMessageInfo - -func (m *OrderedBuildEvent) GetStreamId() *StreamId { - if m != nil { - return m.StreamId - } - return nil -} - -func (m *OrderedBuildEvent) GetSequenceNumber() int64 { - if m != nil { - return m.SequenceNumber - } - return 0 -} - -func (m *OrderedBuildEvent) GetEvent() *BuildEvent { - if m != nil { - return m.Event - } - return nil -} - -// Streaming request message for PublishBuildToolEventStream. -type PublishBuildToolEventStreamRequest struct { - // 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"` - // The keywords to be attached to the notification which notifies the start - // of a new build event stream. BES only reads this field when sequence_number - // 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:"-"` -} - -func (m *PublishBuildToolEventStreamRequest) Reset() { *m = PublishBuildToolEventStreamRequest{} } -func (m *PublishBuildToolEventStreamRequest) String() string { return proto.CompactTextString(m) } -func (*PublishBuildToolEventStreamRequest) ProtoMessage() {} -func (*PublishBuildToolEventStreamRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_81da11d19c4841eb, []int{3} -} - -func (m *PublishBuildToolEventStreamRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PublishBuildToolEventStreamRequest.Unmarshal(m, b) -} -func (m *PublishBuildToolEventStreamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PublishBuildToolEventStreamRequest.Marshal(b, m, deterministic) -} -func (m *PublishBuildToolEventStreamRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PublishBuildToolEventStreamRequest.Merge(m, src) -} -func (m *PublishBuildToolEventStreamRequest) XXX_Size() int { - return xxx_messageInfo_PublishBuildToolEventStreamRequest.Size(m) -} -func (m *PublishBuildToolEventStreamRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PublishBuildToolEventStreamRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_PublishBuildToolEventStreamRequest proto.InternalMessageInfo - -func (m *PublishBuildToolEventStreamRequest) GetOrderedBuildEvent() *OrderedBuildEvent { - if m != nil { - return m.OrderedBuildEvent - } - return nil -} - -func (m *PublishBuildToolEventStreamRequest) GetNotificationKeywords() []string { - if m != nil { - return m.NotificationKeywords - } - return nil -} - -func (m *PublishBuildToolEventStreamRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func init() { - proto.RegisterEnum("google.devtools.build.v1.PublishLifecycleEventRequest_ServiceLevel", PublishLifecycleEventRequest_ServiceLevel_name, PublishLifecycleEventRequest_ServiceLevel_value) - proto.RegisterType((*PublishLifecycleEventRequest)(nil), "google.devtools.build.v1.PublishLifecycleEventRequest") - proto.RegisterType((*PublishBuildToolEventStreamResponse)(nil), "google.devtools.build.v1.PublishBuildToolEventStreamResponse") - proto.RegisterType((*OrderedBuildEvent)(nil), "google.devtools.build.v1.OrderedBuildEvent") - proto.RegisterType((*PublishBuildToolEventStreamRequest)(nil), "google.devtools.build.v1.PublishBuildToolEventStreamRequest") -} - -func init() { - proto.RegisterFile("google/devtools/build/v1/publish_build_event.proto", fileDescriptor_81da11d19c4841eb) -} - -var fileDescriptor_81da11d19c4841eb = []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, 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90, 0xf9, 0x1e, 0xe4, 0x2b, 0xc2, 0xab, 0x13, 0x3a, 0x47, 0xee, 0xfc, 0x55, 0xd1, 0x84, 0x86, - 0x57, 0xb6, 0xa7, 0x44, 0xab, 0xe5, 0xa3, 0x1d, 0x29, 0xff, 0x21, 0x5d, 0x9f, 0x24, 0x1f, 0xc6, - 0x54, 0x5f, 0xa2, 0x24, 0x01, 0x8c, 0x19, 0x6a, 0xe8, 0x26, 0x6a, 0x86, 0x78, 0xcd, 0x61, 0x83, - 0xdc, 0xbc, 0x9a, 0x0b, 0x4d, 0xdb, 0x39, 0x81, 0xc0, 0xdd, 0x4f, 0x3a, 0xb1, 0x8f, 0x0e, 0xb7, - 0x53, 0xcf, 0x3e, 0xf3, 0xed, 0xa0, 0xaf, 0xb3, 0xa8, 0x6f, 0xf4, 0x21, 0x90, 0x7d, 0x32, 0x94, - 0xc9, 0x0e, 0x3d, 0x3e, 0xfe, 0x57, 0xb9, 0x2d, 0x3f, 0xbe, 0x21, 0xd4, 0x9b, 0x97, 0xce, 0x8d, - 0xef, 0x01, 0x00, 0x00, 0xff, 0xff, 0xdf, 0x68, 0x27, 0x13, 0xed, 0x06, 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 - -// PublishBuildEventClient is the client API for PublishBuildEvent service. -// -// 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). 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. - // - // The commit status of the request is reported by the RPC's util_status() - // function. The error code is the canoncial error code defined in - // //util/task/codes.proto. - PublishLifecycleEvent(ctx context.Context, in *PublishLifecycleEventRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Publish build tool events belonging to the same stream to a backend job - // using bidirectional streaming. - PublishBuildToolEventStream(ctx context.Context, opts ...grpc.CallOption) (PublishBuildEvent_PublishBuildToolEventStreamClient, error) -} - -type publishBuildEventClient struct { - cc *grpc.ClientConn -} - -func NewPublishBuildEventClient(cc *grpc.ClientConn) PublishBuildEventClient { - return &publishBuildEventClient{cc} -} - -func (c *publishBuildEventClient) PublishLifecycleEvent(ctx context.Context, in *PublishLifecycleEventRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.devtools.build.v1.PublishBuildEvent/PublishLifecycleEvent", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *publishBuildEventClient) PublishBuildToolEventStream(ctx context.Context, opts ...grpc.CallOption) (PublishBuildEvent_PublishBuildToolEventStreamClient, error) { - stream, err := c.cc.NewStream(ctx, &_PublishBuildEvent_serviceDesc.Streams[0], "/google.devtools.build.v1.PublishBuildEvent/PublishBuildToolEventStream", opts...) - if err != nil { - return nil, err - } - x := &publishBuildEventPublishBuildToolEventStreamClient{stream} - return x, nil -} - -type PublishBuildEvent_PublishBuildToolEventStreamClient interface { - Send(*PublishBuildToolEventStreamRequest) error - Recv() (*PublishBuildToolEventStreamResponse, error) - grpc.ClientStream -} - -type publishBuildEventPublishBuildToolEventStreamClient struct { - grpc.ClientStream -} - -func (x *publishBuildEventPublishBuildToolEventStreamClient) Send(m *PublishBuildToolEventStreamRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *publishBuildEventPublishBuildToolEventStreamClient) Recv() (*PublishBuildToolEventStreamResponse, error) { - m := new(PublishBuildToolEventStreamResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// 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). 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. - // - // The commit status of the request is reported by the RPC's util_status() - // function. The error code is the canoncial error code defined in - // //util/task/codes.proto. - PublishLifecycleEvent(context.Context, *PublishLifecycleEventRequest) (*empty.Empty, error) - // Publish build tool events belonging to the same stream to a backend job - // using bidirectional streaming. - PublishBuildToolEventStream(PublishBuildEvent_PublishBuildToolEventStreamServer) error -} - -// UnimplementedPublishBuildEventServer can be embedded to have forward compatible implementations. -type UnimplementedPublishBuildEventServer struct { -} - -func (*UnimplementedPublishBuildEventServer) PublishLifecycleEvent(ctx context.Context, req *PublishLifecycleEventRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method PublishLifecycleEvent not implemented") -} -func (*UnimplementedPublishBuildEventServer) PublishBuildToolEventStream(srv PublishBuildEvent_PublishBuildToolEventStreamServer) error { - return status.Errorf(codes.Unimplemented, "method PublishBuildToolEventStream not implemented") -} - -func RegisterPublishBuildEventServer(s *grpc.Server, srv PublishBuildEventServer) { - s.RegisterService(&_PublishBuildEvent_serviceDesc, srv) -} - -func _PublishBuildEvent_PublishLifecycleEvent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PublishLifecycleEventRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PublishBuildEventServer).PublishLifecycleEvent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.build.v1.PublishBuildEvent/PublishLifecycleEvent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PublishBuildEventServer).PublishLifecycleEvent(ctx, req.(*PublishLifecycleEventRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PublishBuildEvent_PublishBuildToolEventStream_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(PublishBuildEventServer).PublishBuildToolEventStream(&publishBuildEventPublishBuildToolEventStreamServer{stream}) -} - -type PublishBuildEvent_PublishBuildToolEventStreamServer interface { - Send(*PublishBuildToolEventStreamResponse) error - Recv() (*PublishBuildToolEventStreamRequest, error) - grpc.ServerStream -} - -type publishBuildEventPublishBuildToolEventStreamServer struct { - grpc.ServerStream -} - -func (x *publishBuildEventPublishBuildToolEventStreamServer) Send(m *PublishBuildToolEventStreamResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *publishBuildEventPublishBuildToolEventStreamServer) Recv() (*PublishBuildToolEventStreamRequest, error) { - m := new(PublishBuildToolEventStreamRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -var _PublishBuildEvent_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.devtools.build.v1.PublishBuildEvent", - HandlerType: (*PublishBuildEventServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "PublishLifecycleEvent", - Handler: _PublishBuildEvent_PublishLifecycleEvent_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "PublishBuildToolEventStream", - Handler: _PublishBuildEvent_PublishBuildToolEventStream_Handler, - ServerStreams: true, - ClientStreams: true, - }, - }, - Metadata: "google/devtools/build/v1/publish_build_event.proto", -} 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 deleted file mode 100644 index f4fc0199..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/cloudbuild/v1/cloudbuild.pb.go +++ /dev/null @@ -1,4807 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/cloudbuild/v1/cloudbuild.proto - -package cloudbuild - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - empty "github.com/golang/protobuf/ptypes/empty" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Possible status of a build or build step. -type Build_Status int32 - -const ( - // Status of the build is unknown. - Build_STATUS_UNKNOWN Build_Status = 0 - // Build or step is queued; work has not yet begun. - Build_QUEUED Build_Status = 1 - // Build or step is being executed. - Build_WORKING Build_Status = 2 - // Build or step finished successfully. - Build_SUCCESS Build_Status = 3 - // Build or step failed to complete successfully. - Build_FAILURE Build_Status = 4 - // Build or step failed due to an internal cause. - Build_INTERNAL_ERROR Build_Status = 5 - // Build or step took longer than was allowed. - Build_TIMEOUT Build_Status = 6 - // Build or step was canceled by a user. - Build_CANCELLED Build_Status = 7 -) - -var Build_Status_name = map[int32]string{ - 0: "STATUS_UNKNOWN", - 1: "QUEUED", - 2: "WORKING", - 3: "SUCCESS", - 4: "FAILURE", - 5: "INTERNAL_ERROR", - 6: "TIMEOUT", - 7: "CANCELLED", -} - -var Build_Status_value = map[string]int32{ - "STATUS_UNKNOWN": 0, - "QUEUED": 1, - "WORKING": 2, - "SUCCESS": 3, - "FAILURE": 4, - "INTERNAL_ERROR": 5, - "TIMEOUT": 6, - "CANCELLED": 7, -} - -func (x Build_Status) String() string { - return proto.EnumName(Build_Status_name, int32(x)) -} - -func (Build_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8a9099620ac1526a, []int{10, 0} -} - -// Specifies the hash algorithm, if any. -type Hash_HashType int32 - -const ( - // No hash requested. - Hash_NONE Hash_HashType = 0 - // Use a sha256 hash. - Hash_SHA256 Hash_HashType = 1 - // Use a md5 hash. - Hash_MD5 Hash_HashType = 2 -) - -var Hash_HashType_name = map[int32]string{ - 0: "NONE", - 1: "SHA256", - 2: "MD5", -} - -var Hash_HashType_value = map[string]int32{ - "NONE": 0, - "SHA256": 1, - "MD5": 2, -} - -func (x Hash_HashType) String() string { - return proto.EnumName(Hash_HashType_name, int32(x)) -} - -func (Hash_HashType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8a9099620ac1526a, []int{16, 0} -} - -// Controls behavior of Pull Request comments. -type PullRequestFilter_CommentControl int32 - -const ( - // Do not require comments on Pull Requests before builds are triggered. - PullRequestFilter_COMMENTS_DISABLED PullRequestFilter_CommentControl = 0 - // Enforce that repository owners or collaborators must comment on Pull - // Requests before builds are triggered. - PullRequestFilter_COMMENTS_ENABLED PullRequestFilter_CommentControl = 1 -) - -var PullRequestFilter_CommentControl_name = map[int32]string{ - 0: "COMMENTS_DISABLED", - 1: "COMMENTS_ENABLED", -} - -var PullRequestFilter_CommentControl_value = map[string]int32{ - "COMMENTS_DISABLED": 0, - "COMMENTS_ENABLED": 1, -} - -func (x PullRequestFilter_CommentControl) String() string { - return proto.EnumName(PullRequestFilter_CommentControl_name, int32(x)) -} - -func (PullRequestFilter_CommentControl) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8a9099620ac1526a, []int{25, 0} -} - -// Specifies the manner in which the build should be verified, if at all. -type BuildOptions_VerifyOption int32 - -const ( - // Not a verifiable build. (default) - BuildOptions_NOT_VERIFIED BuildOptions_VerifyOption = 0 - // Verified build. - BuildOptions_VERIFIED BuildOptions_VerifyOption = 1 -) - -var BuildOptions_VerifyOption_name = map[int32]string{ - 0: "NOT_VERIFIED", - 1: "VERIFIED", -} - -var BuildOptions_VerifyOption_value = map[string]int32{ - "NOT_VERIFIED": 0, - "VERIFIED": 1, -} - -func (x BuildOptions_VerifyOption) String() string { - return proto.EnumName(BuildOptions_VerifyOption_name, int32(x)) -} - -func (BuildOptions_VerifyOption) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8a9099620ac1526a, []int{33, 0} -} - -// Supported VM sizes. -type BuildOptions_MachineType int32 - -const ( - // Standard machine type. - BuildOptions_UNSPECIFIED BuildOptions_MachineType = 0 - // Highcpu machine with 8 CPUs. - BuildOptions_N1_HIGHCPU_8 BuildOptions_MachineType = 1 - // Highcpu machine with 32 CPUs. - BuildOptions_N1_HIGHCPU_32 BuildOptions_MachineType = 2 -) - -var BuildOptions_MachineType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "N1_HIGHCPU_8", - 2: "N1_HIGHCPU_32", -} - -var BuildOptions_MachineType_value = map[string]int32{ - "UNSPECIFIED": 0, - "N1_HIGHCPU_8": 1, - "N1_HIGHCPU_32": 2, -} - -func (x BuildOptions_MachineType) String() string { - return proto.EnumName(BuildOptions_MachineType_name, int32(x)) -} - -func (BuildOptions_MachineType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8a9099620ac1526a, []int{33, 1} -} - -// Specifies the behavior when there is an error in the substitution checks. -type BuildOptions_SubstitutionOption int32 - -const ( - // Fails the build if error in substitutions checks, like missing - // a substitution in the template or in the map. - BuildOptions_MUST_MATCH BuildOptions_SubstitutionOption = 0 - // Do not fail the build if error in substitutions checks. - BuildOptions_ALLOW_LOOSE BuildOptions_SubstitutionOption = 1 -) - -var BuildOptions_SubstitutionOption_name = map[int32]string{ - 0: "MUST_MATCH", - 1: "ALLOW_LOOSE", -} - -var BuildOptions_SubstitutionOption_value = map[string]int32{ - "MUST_MATCH": 0, - "ALLOW_LOOSE": 1, -} - -func (x BuildOptions_SubstitutionOption) String() string { - return proto.EnumName(BuildOptions_SubstitutionOption_name, int32(x)) -} - -func (BuildOptions_SubstitutionOption) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8a9099620ac1526a, []int{33, 2} -} - -// Specifies the behavior when writing build logs to Google Cloud Storage. -type BuildOptions_LogStreamingOption int32 - -const ( - // Service may automatically determine build log streaming behavior. - BuildOptions_STREAM_DEFAULT BuildOptions_LogStreamingOption = 0 - // Build logs should be streamed to Google Cloud Storage. - BuildOptions_STREAM_ON BuildOptions_LogStreamingOption = 1 - // Build logs should not be streamed to Google Cloud Storage; they will be - // written when the build is completed. - BuildOptions_STREAM_OFF BuildOptions_LogStreamingOption = 2 -) - -var BuildOptions_LogStreamingOption_name = map[int32]string{ - 0: "STREAM_DEFAULT", - 1: "STREAM_ON", - 2: "STREAM_OFF", -} - -var BuildOptions_LogStreamingOption_value = map[string]int32{ - "STREAM_DEFAULT": 0, - "STREAM_ON": 1, - "STREAM_OFF": 2, -} - -func (x BuildOptions_LogStreamingOption) String() string { - return proto.EnumName(BuildOptions_LogStreamingOption_name, int32(x)) -} - -func (BuildOptions_LogStreamingOption) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8a9099620ac1526a, []int{33, 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_8a9099620ac1526a, []int{33, 4} -} - -// Supported GCP regions to create the `WorkerPool`. -type WorkerPool_Region int32 - -const ( - // no region - WorkerPool_REGION_UNSPECIFIED WorkerPool_Region = 0 - // us-central1 region - WorkerPool_US_CENTRAL1 WorkerPool_Region = 1 - // us-west1 region - WorkerPool_US_WEST1 WorkerPool_Region = 2 - // us-east1 region - WorkerPool_US_EAST1 WorkerPool_Region = 3 - // us-east4 region - WorkerPool_US_EAST4 WorkerPool_Region = 4 -) - -var WorkerPool_Region_name = map[int32]string{ - 0: "REGION_UNSPECIFIED", - 1: "US_CENTRAL1", - 2: "US_WEST1", - 3: "US_EAST1", - 4: "US_EAST4", -} - -var WorkerPool_Region_value = map[string]int32{ - "REGION_UNSPECIFIED": 0, - "US_CENTRAL1": 1, - "US_WEST1": 2, - "US_EAST1": 3, - "US_EAST4": 4, -} - -func (x WorkerPool_Region) String() string { - return proto.EnumName(WorkerPool_Region_name, int32(x)) -} - -func (WorkerPool_Region) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8a9099620ac1526a, []int{34, 0} -} - -// `WorkerPool` status -type WorkerPool_Status int32 - -const ( - // Status of the `WorkerPool` is unknown. - WorkerPool_STATUS_UNSPECIFIED WorkerPool_Status = 0 - // `WorkerPool` is being created. - WorkerPool_CREATING WorkerPool_Status = 1 - // `WorkerPool` is running. - WorkerPool_RUNNING WorkerPool_Status = 2 - // `WorkerPool` is being deleting: cancelling builds and draining workers. - WorkerPool_DELETING WorkerPool_Status = 3 - // `WorkerPool` is deleted. - WorkerPool_DELETED WorkerPool_Status = 4 -) - -var WorkerPool_Status_name = map[int32]string{ - 0: "STATUS_UNSPECIFIED", - 1: "CREATING", - 2: "RUNNING", - 3: "DELETING", - 4: "DELETED", -} - -var WorkerPool_Status_value = map[string]int32{ - "STATUS_UNSPECIFIED": 0, - "CREATING": 1, - "RUNNING": 2, - "DELETING": 3, - "DELETED": 4, -} - -func (x WorkerPool_Status) String() string { - return proto.EnumName(WorkerPool_Status_name, int32(x)) -} - -func (WorkerPool_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8a9099620ac1526a, []int{34, 1} -} - -// Specifies a build to retry. -type RetryBuildRequest struct { - // Required. ID of the project. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Required. Build ID of the original build. - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8a9099620ac1526a, []int{0} -} - -func (m *RetryBuildRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RetryBuildRequest.Unmarshal(m, b) -} -func (m *RetryBuildRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RetryBuildRequest.Marshal(b, m, deterministic) -} -func (m *RetryBuildRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RetryBuildRequest.Merge(m, src) -} -func (m *RetryBuildRequest) XXX_Size() int { - return xxx_messageInfo_RetryBuildRequest.Size(m) -} -func (m *RetryBuildRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RetryBuildRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_RetryBuildRequest proto.InternalMessageInfo - -func (m *RetryBuildRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *RetryBuildRequest) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -// Specifies a build trigger to run and the source to use. -type RunBuildTriggerRequest struct { - // Required. ID of the project. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Required. ID of the trigger. - TriggerId string `protobuf:"bytes,2,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` - // Required. Source to build against this trigger. - Source *RepoSource `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8a9099620ac1526a, []int{1} -} - -func (m *RunBuildTriggerRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RunBuildTriggerRequest.Unmarshal(m, b) -} -func (m *RunBuildTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RunBuildTriggerRequest.Marshal(b, m, deterministic) -} -func (m *RunBuildTriggerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RunBuildTriggerRequest.Merge(m, src) -} -func (m *RunBuildTriggerRequest) XXX_Size() int { - return xxx_messageInfo_RunBuildTriggerRequest.Size(m) -} -func (m *RunBuildTriggerRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RunBuildTriggerRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_RunBuildTriggerRequest proto.InternalMessageInfo - -func (m *RunBuildTriggerRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *RunBuildTriggerRequest) GetTriggerId() string { - if m != nil { - return m.TriggerId - } - return "" -} - -func (m *RunBuildTriggerRequest) GetSource() *RepoSource { - if m != nil { - return m.Source - } - return nil -} - -// Location of the source in an archive file in Google Cloud Storage. -type StorageSource struct { - // Google Cloud Storage bucket containing the source (see - // [Bucket Name - // Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` - // Google Cloud Storage object containing the source. - // - // This object must be a gzipped archive file (`.tar.gz`) containing source to - // build. - Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` - // Google Cloud Storage generation for the object. If the generation is - // omitted, the latest generation will be used. - Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8a9099620ac1526a, []int{2} -} - -func (m *StorageSource) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StorageSource.Unmarshal(m, b) -} -func (m *StorageSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StorageSource.Marshal(b, m, deterministic) -} -func (m *StorageSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_StorageSource.Merge(m, src) -} -func (m *StorageSource) XXX_Size() int { - return xxx_messageInfo_StorageSource.Size(m) -} -func (m *StorageSource) XXX_DiscardUnknown() { - xxx_messageInfo_StorageSource.DiscardUnknown(m) -} - -var xxx_messageInfo_StorageSource proto.InternalMessageInfo - -func (m *StorageSource) GetBucket() string { - if m != nil { - return m.Bucket - } - return "" -} - -func (m *StorageSource) GetObject() string { - if m != nil { - return m.Object - } - return "" -} - -func (m *StorageSource) GetGeneration() int64 { - if m != nil { - return m.Generation - } - return 0 -} - -// Location of the source in a Google Cloud Source Repository. -type RepoSource struct { - // ID of the project that owns the Cloud Source Repository. If omitted, the - // project ID requesting the build is assumed. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Name of the Cloud Source Repository. If omitted, the name "default" is - // assumed. - RepoName string `protobuf:"bytes,2,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"` - // A revision within the Cloud Source Repository must be specified in - // one of these ways. - // - // Types that are valid to be assigned to Revision: - // *RepoSource_BranchName - // *RepoSource_TagName - // *RepoSource_CommitSha - Revision isRepoSource_Revision `protobuf_oneof:"revision"` - // Directory, relative to the source root, in which to run the build. - // - // This must be a relative path. If a step's `dir` is specified and is an - // absolute path, this value is ignored for that step's execution. - Dir string `protobuf:"bytes,7,opt,name=dir,proto3" json:"dir,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8a9099620ac1526a, []int{3} -} - -func (m *RepoSource) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RepoSource.Unmarshal(m, b) -} -func (m *RepoSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RepoSource.Marshal(b, m, deterministic) -} -func (m *RepoSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_RepoSource.Merge(m, src) -} -func (m *RepoSource) XXX_Size() int { - return xxx_messageInfo_RepoSource.Size(m) -} -func (m *RepoSource) XXX_DiscardUnknown() { - xxx_messageInfo_RepoSource.DiscardUnknown(m) -} - -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() -} - -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 (m *RepoSource) GetRevision() isRepoSource_Revision { - if m != nil { - return m.Revision - } - return nil -} - -func (m *RepoSource) GetBranchName() string { - if x, ok := m.GetRevision().(*RepoSource_BranchName); ok { - return x.BranchName - } - return "" -} - -func (m *RepoSource) GetTagName() string { - if x, ok := m.GetRevision().(*RepoSource_TagName); ok { - return x.TagName - } - return "" -} - -func (m *RepoSource) GetCommitSha() string { - if x, ok := m.GetRevision().(*RepoSource_CommitSha); ok { - return x.CommitSha - } - return "" -} - -func (m *RepoSource) GetDir() string { - if m != nil { - return m.Dir - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*RepoSource) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*RepoSource_BranchName)(nil), - (*RepoSource_TagName)(nil), - (*RepoSource_CommitSha)(nil), - } -} - -// Location of the source in a supported storage service. -type Source struct { - // Location of source. - // - // Types that are valid to be assigned to Source: - // *Source_StorageSource - // *Source_RepoSource - Source isSource_Source `protobuf_oneof:"source"` - 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_8a9099620ac1526a, []int{4} -} - -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 (m *Source) XXX_Merge(src proto.Message) { - xxx_messageInfo_Source.Merge(m, 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 - -type isSource_Source interface { - isSource_Source() -} - -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 (m *Source) GetSource() isSource_Source { - if m != nil { - return m.Source - } - return nil -} - -func (m *Source) GetStorageSource() *StorageSource { - if x, ok := m.GetSource().(*Source_StorageSource); ok { - return x.StorageSource - } - return nil -} - -func (m *Source) GetRepoSource() *RepoSource { - if x, ok := m.GetSource().(*Source_RepoSource); ok { - return x.RepoSource - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Source) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Source_StorageSource)(nil), - (*Source_RepoSource)(nil), - } -} - -// An image built by the pipeline. -type BuiltImage struct { - // Name used to push the container image to Google Container Registry, as - // presented to `docker push`. - 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"` - // 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:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8a9099620ac1526a, []int{5} -} - -func (m *BuiltImage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BuiltImage.Unmarshal(m, b) -} -func (m *BuiltImage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BuiltImage.Marshal(b, m, deterministic) -} -func (m *BuiltImage) XXX_Merge(src proto.Message) { - xxx_messageInfo_BuiltImage.Merge(m, src) -} -func (m *BuiltImage) XXX_Size() int { - return xxx_messageInfo_BuiltImage.Size(m) -} -func (m *BuiltImage) XXX_DiscardUnknown() { - xxx_messageInfo_BuiltImage.DiscardUnknown(m) -} - -var xxx_messageInfo_BuiltImage proto.InternalMessageInfo - -func (m *BuiltImage) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *BuiltImage) GetDigest() string { - if m != nil { - return m.Digest - } - return "" -} - -func (m *BuiltImage) GetPushTiming() *TimeSpan { - if m != nil { - return m.PushTiming - } - return nil -} - -// A step in the build pipeline. -type BuildStep struct { - // Required. The name of the container image that will run this particular - // build step. - // - // If the image is available in the host's Docker daemon's cache, it - // will be run directly. If not, the host will attempt to pull the image - // first, using the builder service account's credentials if necessary. - // - // The Docker daemon's cache will already have the latest versions of all of - // the officially supported build steps - // ([https://github.com/GoogleCloudPlatform/cloud-builders](https://github.com/GoogleCloudPlatform/cloud-builders)). - // The Docker daemon will also have cached many of the layers for some popular - // images, like "ubuntu", "debian", but they will be refreshed at the time you - // attempt to use them. - // - // If you built an image in a previous build step, it will be stored in the - // host's Docker daemon's cache and is available to use as the name for a - // later build step. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // A list of environment variable definitions to be used when running a step. - // - // The elements are of the form "KEY=VALUE" for the environment variable "KEY" - // being given the value "VALUE". - Env []string `protobuf:"bytes,2,rep,name=env,proto3" json:"env,omitempty"` - // A list of arguments that will be presented to the step when it is started. - // - // If the image used to run the step's container has an entrypoint, the `args` - // are used as arguments to that entrypoint. If the image does not define - // an entrypoint, the first element in args is used as the entrypoint, - // and the remainder will be used as arguments. - Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` - // Working directory to use when running this step's container. - // - // If this value is a relative path, it is relative to the build's working - // directory. If this value is absolute, it may be outside the build's working - // directory, in which case the contents of the path may not be persisted - // across build step executions, unless a `volume` for that path is specified. - // - // If the build specifies a `RepoSource` with `dir` and a step with a `dir`, - // which specifies an absolute path, the `RepoSource` `dir` is ignored for - // the step's execution. - Dir string `protobuf:"bytes,4,opt,name=dir,proto3" json:"dir,omitempty"` - // Unique identifier for this build step, used in `wait_for` to - // reference this build step as a dependency. - Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"` - // The ID(s) of the step(s) that this build step depends on. - // This build step will not start until all the build steps in `wait_for` - // have completed successfully. If `wait_for` is empty, this build step will - // start when all previous build steps in the `Build.Steps` list have - // completed successfully. - WaitFor []string `protobuf:"bytes,6,rep,name=wait_for,json=waitFor,proto3" json:"wait_for,omitempty"` - // Entrypoint to be used instead of the build step image's default entrypoint. - // If unset, the image's default entrypoint is used. - Entrypoint string `protobuf:"bytes,7,opt,name=entrypoint,proto3" json:"entrypoint,omitempty"` - // A list of environment variables which are encrypted using a Cloud Key - // Management Service crypto key. These values must be specified in the - // build's `Secret`. - 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 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 build request with an incorrect configuration. - Volumes []*Volume `protobuf:"bytes,9,rep,name=volumes,proto3" json:"volumes,omitempty"` - // 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"` - // 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:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8a9099620ac1526a, []int{6} -} - -func (m *BuildStep) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BuildStep.Unmarshal(m, b) -} -func (m *BuildStep) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BuildStep.Marshal(b, m, deterministic) -} -func (m *BuildStep) XXX_Merge(src proto.Message) { - xxx_messageInfo_BuildStep.Merge(m, src) -} -func (m *BuildStep) XXX_Size() int { - return xxx_messageInfo_BuildStep.Size(m) -} -func (m *BuildStep) XXX_DiscardUnknown() { - xxx_messageInfo_BuildStep.DiscardUnknown(m) -} - -var xxx_messageInfo_BuildStep proto.InternalMessageInfo - -func (m *BuildStep) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *BuildStep) GetEnv() []string { - if m != nil { - return m.Env - } - return nil -} - -func (m *BuildStep) GetArgs() []string { - if m != nil { - return m.Args - } - return nil -} - -func (m *BuildStep) GetDir() string { - if m != nil { - return m.Dir - } - return "" -} - -func (m *BuildStep) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *BuildStep) GetWaitFor() []string { - if m != nil { - return m.WaitFor - } - return nil -} - -func (m *BuildStep) GetEntrypoint() string { - if m != nil { - return m.Entrypoint - } - return "" -} - -func (m *BuildStep) GetSecretEnv() []string { - if m != nil { - return m.SecretEnv - } - return nil -} - -func (m *BuildStep) GetVolumes() []*Volume { - if m != nil { - return m.Volumes - } - return nil -} - -func (m *BuildStep) GetTiming() *TimeSpan { - if m != nil { - return m.Timing - } - 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 - } - return nil -} - -func (m *BuildStep) GetStatus() Build_Status { - if m != nil { - return m.Status - } - return Build_STATUS_UNKNOWN -} - -// Volume describes a Docker container volume which is mounted into build steps -// in order to persist files across build step execution. -type Volume struct { - // Name of the volume to mount. - // - // Volume names must be unique per build step and must be valid names for - // Docker volumes. Each named volume must be used by at least two build steps. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Path at which to mount the volume. - // - // Paths must be absolute and cannot conflict with other volume paths on the - // same build step or with certain reserved volume paths. - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8a9099620ac1526a, []int{7} -} - -func (m *Volume) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Volume.Unmarshal(m, b) -} -func (m *Volume) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Volume.Marshal(b, m, deterministic) -} -func (m *Volume) XXX_Merge(src proto.Message) { - xxx_messageInfo_Volume.Merge(m, src) -} -func (m *Volume) XXX_Size() int { - return xxx_messageInfo_Volume.Size(m) -} -func (m *Volume) XXX_DiscardUnknown() { - xxx_messageInfo_Volume.DiscardUnknown(m) -} - -var xxx_messageInfo_Volume proto.InternalMessageInfo - -func (m *Volume) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Volume) GetPath() string { - if m != nil { - return m.Path - } - return "" -} - -// Artifacts created by the build pipeline. -type Results struct { - // Container images that were built as a part of the build. - Images []*BuiltImage `protobuf:"bytes,2,rep,name=images,proto3" json:"images,omitempty"` - // List of build step digests, in the order corresponding to build step - // indices. - BuildStepImages []string `protobuf:"bytes,3,rep,name=build_step_images,json=buildStepImages,proto3" json:"build_step_images,omitempty"` - // 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"` - // 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"` - // Time to push all non-container artifacts. - ArtifactTiming *TimeSpan `protobuf:"bytes,7,opt,name=artifact_timing,json=artifactTiming,proto3" json:"artifact_timing,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8a9099620ac1526a, []int{8} -} - -func (m *Results) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Results.Unmarshal(m, b) -} -func (m *Results) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Results.Marshal(b, m, deterministic) -} -func (m *Results) XXX_Merge(src proto.Message) { - xxx_messageInfo_Results.Merge(m, src) -} -func (m *Results) XXX_Size() int { - return xxx_messageInfo_Results.Size(m) -} -func (m *Results) XXX_DiscardUnknown() { - xxx_messageInfo_Results.DiscardUnknown(m) -} - -var xxx_messageInfo_Results proto.InternalMessageInfo - -func (m *Results) GetImages() []*BuiltImage { - if m != nil { - return m.Images - } - return nil -} - -func (m *Results) GetBuildStepImages() []string { - if m != nil { - return m.BuildStepImages - } - return nil -} - -func (m *Results) GetArtifactManifest() string { - if m != nil { - return m.ArtifactManifest - } - return "" -} - -func (m *Results) GetNumArtifacts() int64 { - if m != nil { - return m.NumArtifacts - } - return 0 -} - -func (m *Results) GetBuildStepOutputs() [][]byte { - if m != nil { - return m.BuildStepOutputs - } - return nil -} - -func (m *Results) GetArtifactTiming() *TimeSpan { - if m != nil { - return m.ArtifactTiming - } - return nil -} - -// An artifact that was uploaded during a build. This -// is a single record in the artifact manifest JSON file. -type ArtifactResult struct { - // The path of an artifact in a Google Cloud Storage bucket, with the - // generation number. For example, - // `gs://mybucket/path/to/output.jar#generation`. - Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` - // The file hash of the artifact. - FileHash []*FileHashes `protobuf:"bytes,2,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 *ArtifactResult) Reset() { *m = ArtifactResult{} } -func (m *ArtifactResult) String() string { return proto.CompactTextString(m) } -func (*ArtifactResult) ProtoMessage() {} -func (*ArtifactResult) Descriptor() ([]byte, []int) { - return fileDescriptor_8a9099620ac1526a, []int{9} -} - -func (m *ArtifactResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ArtifactResult.Unmarshal(m, b) -} -func (m *ArtifactResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ArtifactResult.Marshal(b, m, deterministic) -} -func (m *ArtifactResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_ArtifactResult.Merge(m, src) -} -func (m *ArtifactResult) XXX_Size() int { - return xxx_messageInfo_ArtifactResult.Size(m) -} -func (m *ArtifactResult) XXX_DiscardUnknown() { - xxx_messageInfo_ArtifactResult.DiscardUnknown(m) -} - -var xxx_messageInfo_ArtifactResult proto.InternalMessageInfo - -func (m *ArtifactResult) GetLocation() string { - if m != nil { - return m.Location - } - return "" -} - -func (m *ArtifactResult) GetFileHash() []*FileHashes { - if m != nil { - return m.FileHash - } - return nil -} - -// 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 -// the built artifacts. -// -// Fields can include the following variables, which will be expanded when the -// build is created: -// -// - $PROJECT_ID: the project ID of the build. -// - $BUILD_ID: the autogenerated ID of the build. -// - $REPO_NAME: the source repository name specified by RepoSource. -// - $BRANCH_NAME: the branch name specified by RepoSource. -// - $TAG_NAME: the tag name specified by RepoSource. -// - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or -// resolved from the specified branch or tag. -// - $SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA. -type Build struct { - // Output only. Unique identifier of the build. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // Output only. ID of the project. - ProjectId string `protobuf:"bytes,16,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // 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"` - // 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"` - // Output only. Results of the build. - Results *Results `protobuf:"bytes,10,opt,name=results,proto3" json:"results,omitempty"` - // 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"` - // 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"` - // 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. - 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 - // and the build status will be `TIMEOUT`. - // - // Default time is ten minutes. - Timeout *duration.Duration `protobuf:"bytes,12,opt,name=timeout,proto3" json:"timeout,omitempty"` - // A list of images to be pushed upon the successful completion of all build - // steps. - // - // The images are pushed using the builder service account's credentials. - // - // The digests of the pushed images will be stored in the `Build` resource's - // results field. - // - // If any of the images fail to be pushed, the build status is marked - // `FAILURE`. - Images []string `protobuf:"bytes,13,rep,name=images,proto3" json:"images,omitempty"` - // Artifacts produced by the build that should be uploaded upon - // successful completion of all build steps. - Artifacts *Artifacts `protobuf:"bytes,37,opt,name=artifacts,proto3" json:"artifacts,omitempty"` - // Google Cloud Storage bucket where logs should be written (see - // [Bucket Name - // 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"` - // Output only. A permanent fixed identifier for source. - SourceProvenance *SourceProvenance `protobuf:"bytes,21,opt,name=source_provenance,json=sourceProvenance,proto3" json:"source_provenance,omitempty"` - // 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"` - // 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"` - // Tags for annotation of a `Build`. These are not docker tags. - 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"` - // 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. - // * FETCHSOURCE: time to fetch source. - // - // If the build does not specify source or images, - // these keys will not be included. - 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:"-"` - 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_8a9099620ac1526a, []int{10} -} - -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 (m *Build) XXX_Merge(src proto.Message) { - xxx_messageInfo_Build.Merge(m, 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) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *Build) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *Build) GetStatus() Build_Status { - if m != nil { - return m.Status - } - return Build_STATUS_UNKNOWN -} - -func (m *Build) GetStatusDetail() string { - if m != nil { - return m.StatusDetail - } - return "" -} - -func (m *Build) GetSource() *Source { - if m != nil { - return m.Source - } - return nil -} - -func (m *Build) GetSteps() []*BuildStep { - if m != nil { - return m.Steps - } - return nil -} - -func (m *Build) GetResults() *Results { - if m != nil { - return m.Results - } - return nil -} - -func (m *Build) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *Build) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *Build) GetFinishTime() *timestamp.Timestamp { - if m != nil { - return m.FinishTime - } - return nil -} - -func (m *Build) GetTimeout() *duration.Duration { - if m != nil { - return m.Timeout - } - return nil -} - -func (m *Build) GetImages() []string { - if m != nil { - return m.Images - } - return nil -} - -func (m *Build) GetArtifacts() *Artifacts { - if m != nil { - return m.Artifacts - } - return nil -} - -func (m *Build) GetLogsBucket() string { - if m != nil { - return m.LogsBucket - } - return "" -} - -func (m *Build) GetSourceProvenance() *SourceProvenance { - if m != nil { - return m.SourceProvenance - } - return nil -} - -func (m *Build) GetBuildTriggerId() string { - if m != nil { - return m.BuildTriggerId - } - return "" -} - -func (m *Build) GetOptions() *BuildOptions { - if m != nil { - return m.Options - } - return nil -} - -func (m *Build) GetLogUrl() string { - if m != nil { - return m.LogUrl - } - return "" -} - -func (m *Build) GetSubstitutions() map[string]string { - if m != nil { - return m.Substitutions - } - return nil -} - -func (m *Build) GetTags() []string { - if m != nil { - return m.Tags - } - return nil -} - -func (m *Build) GetSecrets() []*Secret { - if m != nil { - return m.Secrets - } - return nil -} - -func (m *Build) GetTiming() map[string]*TimeSpan { - if m != nil { - return m.Timing - } - return nil -} - -// Artifacts produced by a build that should be uploaded upon -// successful completion of all build steps. -type Artifacts struct { - // A list of images to be pushed upon the successful completion of all build - // steps. - // - // The images will be pushed using the builder service account's credentials. - // - // The digests of the pushed images will be stored in the Build resource's - // results field. - // - // If any of the images fail to be pushed, the build is marked FAILURE. - Images []string `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"` - // A list of objects to be uploaded to Cloud Storage upon successful - // completion of all build steps. - // - // Files in the workspace matching specified paths globs will be uploaded to - // the specified Cloud Storage location using the builder service account's - // credentials. - // - // The location and generation of the uploaded objects will be stored in the - // Build resource's results field. - // - // If any objects fail to be pushed, the build is marked FAILURE. - Objects *Artifacts_ArtifactObjects `protobuf:"bytes,2,opt,name=objects,proto3" json:"objects,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8a9099620ac1526a, []int{11} -} - -func (m *Artifacts) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Artifacts.Unmarshal(m, b) -} -func (m *Artifacts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Artifacts.Marshal(b, m, deterministic) -} -func (m *Artifacts) XXX_Merge(src proto.Message) { - xxx_messageInfo_Artifacts.Merge(m, src) -} -func (m *Artifacts) XXX_Size() int { - return xxx_messageInfo_Artifacts.Size(m) -} -func (m *Artifacts) XXX_DiscardUnknown() { - xxx_messageInfo_Artifacts.DiscardUnknown(m) -} - -var xxx_messageInfo_Artifacts proto.InternalMessageInfo - -func (m *Artifacts) GetImages() []string { - if m != nil { - return m.Images - } - return nil -} - -func (m *Artifacts) GetObjects() *Artifacts_ArtifactObjects { - if m != nil { - return m.Objects - } - return nil -} - -// Files in the workspace to upload to Cloud Storage upon successful -// completion of all build steps. -type Artifacts_ArtifactObjects struct { - // Cloud Storage bucket and optional object path, in the form - // "gs://bucket/path/to/somewhere/". (see [Bucket Name - // Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - // - // Files in the workspace matching any path pattern will be uploaded to - // Cloud Storage with this location as a prefix. - 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"` - // 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:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Artifacts_ArtifactObjects) Reset() { *m = Artifacts_ArtifactObjects{} } -func (m *Artifacts_ArtifactObjects) String() string { return proto.CompactTextString(m) } -func (*Artifacts_ArtifactObjects) ProtoMessage() {} -func (*Artifacts_ArtifactObjects) Descriptor() ([]byte, []int) { - return fileDescriptor_8a9099620ac1526a, []int{11, 0} -} - -func (m *Artifacts_ArtifactObjects) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Artifacts_ArtifactObjects.Unmarshal(m, b) -} -func (m *Artifacts_ArtifactObjects) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Artifacts_ArtifactObjects.Marshal(b, m, deterministic) -} -func (m *Artifacts_ArtifactObjects) XXX_Merge(src proto.Message) { - xxx_messageInfo_Artifacts_ArtifactObjects.Merge(m, src) -} -func (m *Artifacts_ArtifactObjects) XXX_Size() int { - return xxx_messageInfo_Artifacts_ArtifactObjects.Size(m) -} -func (m *Artifacts_ArtifactObjects) XXX_DiscardUnknown() { - xxx_messageInfo_Artifacts_ArtifactObjects.DiscardUnknown(m) -} - -var xxx_messageInfo_Artifacts_ArtifactObjects proto.InternalMessageInfo - -func (m *Artifacts_ArtifactObjects) GetLocation() string { - if m != nil { - return m.Location - } - return "" -} - -func (m *Artifacts_ArtifactObjects) GetPaths() []string { - if m != nil { - return m.Paths - } - return nil -} - -func (m *Artifacts_ArtifactObjects) GetTiming() *TimeSpan { - if m != nil { - return m.Timing - } - return nil -} - -// Start and end times for a build execution phase. -type TimeSpan struct { - // Start of time span. - StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // End of time span. - 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 *TimeSpan) Reset() { *m = TimeSpan{} } -func (m *TimeSpan) String() string { return proto.CompactTextString(m) } -func (*TimeSpan) ProtoMessage() {} -func (*TimeSpan) Descriptor() ([]byte, []int) { - return fileDescriptor_8a9099620ac1526a, []int{12} -} - -func (m *TimeSpan) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TimeSpan.Unmarshal(m, b) -} -func (m *TimeSpan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TimeSpan.Marshal(b, m, deterministic) -} -func (m *TimeSpan) XXX_Merge(src proto.Message) { - xxx_messageInfo_TimeSpan.Merge(m, src) -} -func (m *TimeSpan) XXX_Size() int { - return xxx_messageInfo_TimeSpan.Size(m) -} -func (m *TimeSpan) XXX_DiscardUnknown() { - xxx_messageInfo_TimeSpan.DiscardUnknown(m) -} - -var xxx_messageInfo_TimeSpan proto.InternalMessageInfo - -func (m *TimeSpan) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *TimeSpan) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -// Metadata for build operations. -type BuildOperationMetadata struct { - // The build that the operation is tracking. - Build *Build `protobuf:"bytes,1,opt,name=build,proto3" json:"build,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8a9099620ac1526a, []int{13} -} - -func (m *BuildOperationMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BuildOperationMetadata.Unmarshal(m, b) -} -func (m *BuildOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BuildOperationMetadata.Marshal(b, m, deterministic) -} -func (m *BuildOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_BuildOperationMetadata.Merge(m, src) -} -func (m *BuildOperationMetadata) XXX_Size() int { - return xxx_messageInfo_BuildOperationMetadata.Size(m) -} -func (m *BuildOperationMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_BuildOperationMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_BuildOperationMetadata proto.InternalMessageInfo - -func (m *BuildOperationMetadata) GetBuild() *Build { - if m != nil { - return m.Build - } - return nil -} - -// Provenance of the source. Ways to find the original source, or verify that -// some source was used for this build. -type SourceProvenance struct { - // A copy of the build's `source.storage_source`, if exists, with any - // generations resolved. - ResolvedStorageSource *StorageSource `protobuf:"bytes,3,opt,name=resolved_storage_source,json=resolvedStorageSource,proto3" json:"resolved_storage_source,omitempty"` - // 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"` - // Output only. 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`. - // - // 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,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:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8a9099620ac1526a, []int{14} -} - -func (m *SourceProvenance) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SourceProvenance.Unmarshal(m, b) -} -func (m *SourceProvenance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SourceProvenance.Marshal(b, m, deterministic) -} -func (m *SourceProvenance) XXX_Merge(src proto.Message) { - xxx_messageInfo_SourceProvenance.Merge(m, src) -} -func (m *SourceProvenance) XXX_Size() int { - return xxx_messageInfo_SourceProvenance.Size(m) -} -func (m *SourceProvenance) XXX_DiscardUnknown() { - xxx_messageInfo_SourceProvenance.DiscardUnknown(m) -} - -var xxx_messageInfo_SourceProvenance proto.InternalMessageInfo - -func (m *SourceProvenance) GetResolvedStorageSource() *StorageSource { - if m != nil { - return m.ResolvedStorageSource - } - return nil -} - -func (m *SourceProvenance) GetResolvedRepoSource() *RepoSource { - if m != nil { - return m.ResolvedRepoSource - } - return nil -} - -func (m *SourceProvenance) GetFileHashes() map[string]*FileHashes { - if m != nil { - return m.FileHashes - } - return nil -} - -// Container message for hashes of byte content of files, used in -// SourceProvenance 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_8a9099620ac1526a, []int{15} -} - -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 (m *FileHashes) XXX_Merge(src proto.Message) { - xxx_messageInfo_FileHashes.Merge(m, 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=google.devtools.cloudbuild.v1.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_8a9099620ac1526a, []int{16} -} - -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 (m *Hash) XXX_Merge(src proto.Message) { - xxx_messageInfo_Hash.Merge(m, 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_NONE -} - -func (m *Hash) GetValue() []byte { - if m != nil { - return m.Value - } - return nil -} - -// Pairs a set of secret environment variables containing encrypted -// values with the Cloud KMS key to use to decrypt the value. -type Secret struct { - // Cloud KMS key name to use to decrypt these envs. - KmsKeyName string `protobuf:"bytes,1,opt,name=kms_key_name,json=kmsKeyName,proto3" json:"kms_key_name,omitempty"` - // Map of environment variable name to its encrypted value. - // - // 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 - // 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:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8a9099620ac1526a, []int{17} -} - -func (m *Secret) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Secret.Unmarshal(m, b) -} -func (m *Secret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Secret.Marshal(b, m, deterministic) -} -func (m *Secret) XXX_Merge(src proto.Message) { - xxx_messageInfo_Secret.Merge(m, src) -} -func (m *Secret) XXX_Size() int { - return xxx_messageInfo_Secret.Size(m) -} -func (m *Secret) XXX_DiscardUnknown() { - xxx_messageInfo_Secret.DiscardUnknown(m) -} - -var xxx_messageInfo_Secret proto.InternalMessageInfo - -func (m *Secret) GetKmsKeyName() string { - if m != nil { - return m.KmsKeyName - } - return "" -} - -func (m *Secret) GetSecretEnv() map[string][]byte { - if m != nil { - return m.SecretEnv - } - return nil -} - -// Request to create a new build. -type CreateBuildRequest struct { - // Required. ID of the project. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Required. Build resource to create. - Build *Build `protobuf:"bytes,2,opt,name=build,proto3" json:"build,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8a9099620ac1526a, []int{18} -} - -func (m *CreateBuildRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateBuildRequest.Unmarshal(m, b) -} -func (m *CreateBuildRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateBuildRequest.Marshal(b, m, deterministic) -} -func (m *CreateBuildRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateBuildRequest.Merge(m, src) -} -func (m *CreateBuildRequest) XXX_Size() int { - return xxx_messageInfo_CreateBuildRequest.Size(m) -} -func (m *CreateBuildRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateBuildRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateBuildRequest proto.InternalMessageInfo - -func (m *CreateBuildRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *CreateBuildRequest) GetBuild() *Build { - if m != nil { - return m.Build - } - return nil -} - -// Request to get a build. -type GetBuildRequest struct { - // Required. ID of the project. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Required. ID of the build. - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8a9099620ac1526a, []int{19} -} - -func (m *GetBuildRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetBuildRequest.Unmarshal(m, b) -} -func (m *GetBuildRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetBuildRequest.Marshal(b, m, deterministic) -} -func (m *GetBuildRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBuildRequest.Merge(m, src) -} -func (m *GetBuildRequest) XXX_Size() int { - return xxx_messageInfo_GetBuildRequest.Size(m) -} -func (m *GetBuildRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetBuildRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetBuildRequest proto.InternalMessageInfo - -func (m *GetBuildRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *GetBuildRequest) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -// Request to list builds. -type ListBuildsRequest struct { - // Required. ID of the project. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Number of results to return in the list. - PageSize int32 `protobuf:"varint,2,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,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // The raw filter text to constrain the results. - 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 *ListBuildsRequest) Reset() { *m = ListBuildsRequest{} } -func (m *ListBuildsRequest) String() string { return proto.CompactTextString(m) } -func (*ListBuildsRequest) ProtoMessage() {} -func (*ListBuildsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8a9099620ac1526a, []int{20} -} - -func (m *ListBuildsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListBuildsRequest.Unmarshal(m, b) -} -func (m *ListBuildsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListBuildsRequest.Marshal(b, m, deterministic) -} -func (m *ListBuildsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListBuildsRequest.Merge(m, src) -} -func (m *ListBuildsRequest) XXX_Size() int { - return xxx_messageInfo_ListBuildsRequest.Size(m) -} -func (m *ListBuildsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListBuildsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListBuildsRequest proto.InternalMessageInfo - -func (m *ListBuildsRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *ListBuildsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListBuildsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListBuildsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -// Response including listed builds. -type ListBuildsResponse struct { - // Builds will be sorted by `create_time`, descending. - Builds []*Build `protobuf:"bytes,1,rep,name=builds,proto3" json:"builds,omitempty"` - // Token to receive the next page of 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 *ListBuildsResponse) Reset() { *m = ListBuildsResponse{} } -func (m *ListBuildsResponse) String() string { return proto.CompactTextString(m) } -func (*ListBuildsResponse) ProtoMessage() {} -func (*ListBuildsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8a9099620ac1526a, []int{21} -} - -func (m *ListBuildsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListBuildsResponse.Unmarshal(m, b) -} -func (m *ListBuildsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListBuildsResponse.Marshal(b, m, deterministic) -} -func (m *ListBuildsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListBuildsResponse.Merge(m, src) -} -func (m *ListBuildsResponse) XXX_Size() int { - return xxx_messageInfo_ListBuildsResponse.Size(m) -} -func (m *ListBuildsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListBuildsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListBuildsResponse proto.InternalMessageInfo - -func (m *ListBuildsResponse) GetBuilds() []*Build { - if m != nil { - return m.Builds - } - return nil -} - -func (m *ListBuildsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request to cancel an ongoing build. -type CancelBuildRequest struct { - // Required. ID of the project. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Required. ID of the build. - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8a9099620ac1526a, []int{22} -} - -func (m *CancelBuildRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CancelBuildRequest.Unmarshal(m, b) -} -func (m *CancelBuildRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CancelBuildRequest.Marshal(b, m, deterministic) -} -func (m *CancelBuildRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CancelBuildRequest.Merge(m, src) -} -func (m *CancelBuildRequest) XXX_Size() int { - return xxx_messageInfo_CancelBuildRequest.Size(m) -} -func (m *CancelBuildRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CancelBuildRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CancelBuildRequest proto.InternalMessageInfo - -func (m *CancelBuildRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *CancelBuildRequest) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -// Configuration for an automated build in response to source repository -// changes. -type BuildTrigger struct { - // 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"` - // User assigned name of the trigger. Must be unique within the project. - Name string `protobuf:"bytes,21,opt,name=name,proto3" json:"name,omitempty"` - // Tags for annotation of a `BuildTrigger` - Tags []string `protobuf:"bytes,19,rep,name=tags,proto3" json:"tags,omitempty"` - // Template describing the types of source changes to trigger a build. - // - // Branch and tag names in trigger templates are interpreted as regular - // expressions. Any branch or tag change that matches that regular expression - // will trigger a build. - TriggerTemplate *RepoSource `protobuf:"bytes,7,opt,name=trigger_template,json=triggerTemplate,proto3" json:"trigger_template,omitempty"` - // GitHubEventsConfig describes the configuration of a trigger that creates - // a build whenever a GitHub event is received. - Github *GitHubEventsConfig `protobuf:"bytes,13,opt,name=github,proto3" json:"github,omitempty"` - // Template describing the Build request to make when the trigger is matched. - // - // Types that are valid to be assigned to BuildTemplate: - // *BuildTrigger_Build - // *BuildTrigger_Filename - BuildTemplate isBuildTrigger_BuildTemplate `protobuf_oneof:"build_template"` - // 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"` - // 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_8a9099620ac1526a, []int{23} -} - -func (m *BuildTrigger) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BuildTrigger.Unmarshal(m, b) -} -func (m *BuildTrigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BuildTrigger.Marshal(b, m, deterministic) -} -func (m *BuildTrigger) XXX_Merge(src proto.Message) { - xxx_messageInfo_BuildTrigger.Merge(m, src) -} -func (m *BuildTrigger) XXX_Size() int { - return xxx_messageInfo_BuildTrigger.Size(m) -} -func (m *BuildTrigger) XXX_DiscardUnknown() { - xxx_messageInfo_BuildTrigger.DiscardUnknown(m) -} - -var xxx_messageInfo_BuildTrigger proto.InternalMessageInfo - -func (m *BuildTrigger) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *BuildTrigger) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *BuildTrigger) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *BuildTrigger) GetTags() []string { - if m != nil { - return m.Tags - } - return nil -} - -func (m *BuildTrigger) GetTriggerTemplate() *RepoSource { - if m != nil { - return m.TriggerTemplate - } - return nil -} - -func (m *BuildTrigger) GetGithub() *GitHubEventsConfig { - if m != nil { - return m.Github - } - 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 - } - return nil -} - -func (m *BuildTrigger) GetFilename() string { - if x, ok := m.GetBuildTemplate().(*BuildTrigger_Filename); ok { - return x.Filename - } - return "" -} - -func (m *BuildTrigger) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *BuildTrigger) GetDisabled() bool { - if m != nil { - return m.Disabled - } - return false -} - -func (m *BuildTrigger) GetSubstitutions() map[string]string { - if m != nil { - return m.Substitutions - } - 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_OneofWrappers is for the internal use of the proto package. -func (*BuildTrigger) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*BuildTrigger_Build)(nil), - (*BuildTrigger_Filename)(nil), - } -} - -// GitHubEventsConfig describes the configuration of a trigger that creates a -// build whenever a GitHub event is received. -// -// This message is experimental. -type GitHubEventsConfig struct { - // The installationID that emits the GitHub event. - InstallationId int64 `protobuf:"varint,1,opt,name=installation_id,json=installationId,proto3" json:"installation_id,omitempty"` - // Owner of the repository. For example: The owner for - // https://github.com/googlecloudplatform/cloud-builders is - // "googlecloudplatform". - Owner string `protobuf:"bytes,6,opt,name=owner,proto3" json:"owner,omitempty"` - // Name of the repository. For example: The name for - // https://github.com/googlecloudplatform/cloud-builders is "cloud-builders". - Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` - // Filter describing the types of events to trigger a build. - // Currently supported event types: push, pull_request. - // - // Types that are valid to be assigned to Event: - // *GitHubEventsConfig_PullRequest - // *GitHubEventsConfig_Push - Event isGitHubEventsConfig_Event `protobuf_oneof:"event"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GitHubEventsConfig) Reset() { *m = GitHubEventsConfig{} } -func (m *GitHubEventsConfig) String() string { return proto.CompactTextString(m) } -func (*GitHubEventsConfig) ProtoMessage() {} -func (*GitHubEventsConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_8a9099620ac1526a, []int{24} -} - -func (m *GitHubEventsConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GitHubEventsConfig.Unmarshal(m, b) -} -func (m *GitHubEventsConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GitHubEventsConfig.Marshal(b, m, deterministic) -} -func (m *GitHubEventsConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_GitHubEventsConfig.Merge(m, src) -} -func (m *GitHubEventsConfig) XXX_Size() int { - return xxx_messageInfo_GitHubEventsConfig.Size(m) -} -func (m *GitHubEventsConfig) XXX_DiscardUnknown() { - xxx_messageInfo_GitHubEventsConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_GitHubEventsConfig proto.InternalMessageInfo - -func (m *GitHubEventsConfig) GetInstallationId() int64 { - if m != nil { - return m.InstallationId - } - return 0 -} - -func (m *GitHubEventsConfig) GetOwner() string { - if m != nil { - return m.Owner - } - return "" -} - -func (m *GitHubEventsConfig) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -type isGitHubEventsConfig_Event interface { - isGitHubEventsConfig_Event() -} - -type GitHubEventsConfig_PullRequest struct { - PullRequest *PullRequestFilter `protobuf:"bytes,4,opt,name=pull_request,json=pullRequest,proto3,oneof"` -} - -type GitHubEventsConfig_Push struct { - Push *PushFilter `protobuf:"bytes,5,opt,name=push,proto3,oneof"` -} - -func (*GitHubEventsConfig_PullRequest) isGitHubEventsConfig_Event() {} - -func (*GitHubEventsConfig_Push) isGitHubEventsConfig_Event() {} - -func (m *GitHubEventsConfig) GetEvent() isGitHubEventsConfig_Event { - if m != nil { - return m.Event - } - return nil -} - -func (m *GitHubEventsConfig) GetPullRequest() *PullRequestFilter { - if x, ok := m.GetEvent().(*GitHubEventsConfig_PullRequest); ok { - return x.PullRequest - } - return nil -} - -func (m *GitHubEventsConfig) GetPush() *PushFilter { - if x, ok := m.GetEvent().(*GitHubEventsConfig_Push); ok { - return x.Push - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*GitHubEventsConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*GitHubEventsConfig_PullRequest)(nil), - (*GitHubEventsConfig_Push)(nil), - } -} - -// PullRequestFilter contains filter properties for matching GitHub Pull -// Requests. -type PullRequestFilter struct { - // Target refs to match. - // A target ref is the git reference where the pull request will be applied. - // - // Types that are valid to be assigned to GitRef: - // *PullRequestFilter_Branch - GitRef isPullRequestFilter_GitRef `protobuf_oneof:"git_ref"` - // Whether to block builds on a "/gcbrun" comment from a repository owner or - // collaborator. - CommentControl PullRequestFilter_CommentControl `protobuf:"varint,5,opt,name=comment_control,json=commentControl,proto3,enum=google.devtools.cloudbuild.v1.PullRequestFilter_CommentControl" json:"comment_control,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PullRequestFilter) Reset() { *m = PullRequestFilter{} } -func (m *PullRequestFilter) String() string { return proto.CompactTextString(m) } -func (*PullRequestFilter) ProtoMessage() {} -func (*PullRequestFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_8a9099620ac1526a, []int{25} -} - -func (m *PullRequestFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PullRequestFilter.Unmarshal(m, b) -} -func (m *PullRequestFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PullRequestFilter.Marshal(b, m, deterministic) -} -func (m *PullRequestFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_PullRequestFilter.Merge(m, src) -} -func (m *PullRequestFilter) XXX_Size() int { - return xxx_messageInfo_PullRequestFilter.Size(m) -} -func (m *PullRequestFilter) XXX_DiscardUnknown() { - xxx_messageInfo_PullRequestFilter.DiscardUnknown(m) -} - -var xxx_messageInfo_PullRequestFilter proto.InternalMessageInfo - -type isPullRequestFilter_GitRef interface { - isPullRequestFilter_GitRef() -} - -type PullRequestFilter_Branch struct { - Branch string `protobuf:"bytes,2,opt,name=branch,proto3,oneof"` -} - -func (*PullRequestFilter_Branch) isPullRequestFilter_GitRef() {} - -func (m *PullRequestFilter) GetGitRef() isPullRequestFilter_GitRef { - if m != nil { - return m.GitRef - } - return nil -} - -func (m *PullRequestFilter) GetBranch() string { - if x, ok := m.GetGitRef().(*PullRequestFilter_Branch); ok { - return x.Branch - } - return "" -} - -func (m *PullRequestFilter) GetCommentControl() PullRequestFilter_CommentControl { - if m != nil { - return m.CommentControl - } - return PullRequestFilter_COMMENTS_DISABLED -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*PullRequestFilter) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*PullRequestFilter_Branch)(nil), - } -} - -// Push contains filter properties for matching GitHub git pushes. -type PushFilter struct { - // Modified refs to match. - // A modified refs are the refs modified by a git push operation. - // - // Types that are valid to be assigned to GitRef: - // *PushFilter_Branch - // *PushFilter_Tag - GitRef isPushFilter_GitRef `protobuf_oneof:"git_ref"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PushFilter) Reset() { *m = PushFilter{} } -func (m *PushFilter) String() string { return proto.CompactTextString(m) } -func (*PushFilter) ProtoMessage() {} -func (*PushFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_8a9099620ac1526a, []int{26} -} - -func (m *PushFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PushFilter.Unmarshal(m, b) -} -func (m *PushFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PushFilter.Marshal(b, m, deterministic) -} -func (m *PushFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_PushFilter.Merge(m, src) -} -func (m *PushFilter) XXX_Size() int { - return xxx_messageInfo_PushFilter.Size(m) -} -func (m *PushFilter) XXX_DiscardUnknown() { - xxx_messageInfo_PushFilter.DiscardUnknown(m) -} - -var xxx_messageInfo_PushFilter proto.InternalMessageInfo - -type isPushFilter_GitRef interface { - isPushFilter_GitRef() -} - -type PushFilter_Branch struct { - Branch string `protobuf:"bytes,2,opt,name=branch,proto3,oneof"` -} - -type PushFilter_Tag struct { - Tag string `protobuf:"bytes,3,opt,name=tag,proto3,oneof"` -} - -func (*PushFilter_Branch) isPushFilter_GitRef() {} - -func (*PushFilter_Tag) isPushFilter_GitRef() {} - -func (m *PushFilter) GetGitRef() isPushFilter_GitRef { - if m != nil { - return m.GitRef - } - return nil -} - -func (m *PushFilter) GetBranch() string { - if x, ok := m.GetGitRef().(*PushFilter_Branch); ok { - return x.Branch - } - return "" -} - -func (m *PushFilter) GetTag() string { - if x, ok := m.GetGitRef().(*PushFilter_Tag); ok { - return x.Tag - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*PushFilter) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*PushFilter_Branch)(nil), - (*PushFilter_Tag)(nil), - } -} - -// Request to create a new `BuildTrigger`. -type CreateBuildTriggerRequest struct { - // Required. ID of the project for which to configure automatic builds. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Required. `BuildTrigger` to create. - Trigger *BuildTrigger `protobuf:"bytes,2,opt,name=trigger,proto3" json:"trigger,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateBuildTriggerRequest) Reset() { *m = CreateBuildTriggerRequest{} } -func (m *CreateBuildTriggerRequest) String() string { return proto.CompactTextString(m) } -func (*CreateBuildTriggerRequest) ProtoMessage() {} -func (*CreateBuildTriggerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8a9099620ac1526a, []int{27} -} - -func (m *CreateBuildTriggerRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateBuildTriggerRequest.Unmarshal(m, b) -} -func (m *CreateBuildTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateBuildTriggerRequest.Marshal(b, m, deterministic) -} -func (m *CreateBuildTriggerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateBuildTriggerRequest.Merge(m, src) -} -func (m *CreateBuildTriggerRequest) XXX_Size() int { - return xxx_messageInfo_CreateBuildTriggerRequest.Size(m) -} -func (m *CreateBuildTriggerRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateBuildTriggerRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateBuildTriggerRequest proto.InternalMessageInfo - -func (m *CreateBuildTriggerRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *CreateBuildTriggerRequest) GetTrigger() *BuildTrigger { - if m != nil { - return m.Trigger - } - return nil -} - -// Returns the `BuildTrigger` with the specified ID. -type GetBuildTriggerRequest struct { - // Required. ID of the project that owns the trigger. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Required. ID of the `BuildTrigger` to get. - TriggerId string `protobuf:"bytes,2,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 *GetBuildTriggerRequest) Reset() { *m = GetBuildTriggerRequest{} } -func (m *GetBuildTriggerRequest) String() string { return proto.CompactTextString(m) } -func (*GetBuildTriggerRequest) ProtoMessage() {} -func (*GetBuildTriggerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8a9099620ac1526a, []int{28} -} - -func (m *GetBuildTriggerRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetBuildTriggerRequest.Unmarshal(m, b) -} -func (m *GetBuildTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetBuildTriggerRequest.Marshal(b, m, deterministic) -} -func (m *GetBuildTriggerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBuildTriggerRequest.Merge(m, src) -} -func (m *GetBuildTriggerRequest) XXX_Size() int { - return xxx_messageInfo_GetBuildTriggerRequest.Size(m) -} -func (m *GetBuildTriggerRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetBuildTriggerRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetBuildTriggerRequest proto.InternalMessageInfo - -func (m *GetBuildTriggerRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *GetBuildTriggerRequest) GetTriggerId() string { - if m != nil { - return m.TriggerId - } - return "" -} - -// Request to list existing `BuildTriggers`. -type ListBuildTriggersRequest struct { - // Required. ID of the project for which to list BuildTriggers. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Number of results to return in the list. - PageSize int32 `protobuf:"varint,2,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,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 *ListBuildTriggersRequest) Reset() { *m = ListBuildTriggersRequest{} } -func (m *ListBuildTriggersRequest) String() string { return proto.CompactTextString(m) } -func (*ListBuildTriggersRequest) ProtoMessage() {} -func (*ListBuildTriggersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8a9099620ac1526a, []int{29} -} - -func (m *ListBuildTriggersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListBuildTriggersRequest.Unmarshal(m, b) -} -func (m *ListBuildTriggersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListBuildTriggersRequest.Marshal(b, m, deterministic) -} -func (m *ListBuildTriggersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListBuildTriggersRequest.Merge(m, src) -} -func (m *ListBuildTriggersRequest) XXX_Size() int { - return xxx_messageInfo_ListBuildTriggersRequest.Size(m) -} -func (m *ListBuildTriggersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListBuildTriggersRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListBuildTriggersRequest proto.InternalMessageInfo - -func (m *ListBuildTriggersRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *ListBuildTriggersRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListBuildTriggersRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response containing existing `BuildTriggers`. -type ListBuildTriggersResponse struct { - // `BuildTriggers` for the project, sorted by `create_time` descending. - Triggers []*BuildTrigger `protobuf:"bytes,1,rep,name=triggers,proto3" json:"triggers,omitempty"` - // Token to receive the next page of 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 *ListBuildTriggersResponse) Reset() { *m = ListBuildTriggersResponse{} } -func (m *ListBuildTriggersResponse) String() string { return proto.CompactTextString(m) } -func (*ListBuildTriggersResponse) ProtoMessage() {} -func (*ListBuildTriggersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8a9099620ac1526a, []int{30} -} - -func (m *ListBuildTriggersResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListBuildTriggersResponse.Unmarshal(m, b) -} -func (m *ListBuildTriggersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListBuildTriggersResponse.Marshal(b, m, deterministic) -} -func (m *ListBuildTriggersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListBuildTriggersResponse.Merge(m, src) -} -func (m *ListBuildTriggersResponse) XXX_Size() int { - return xxx_messageInfo_ListBuildTriggersResponse.Size(m) -} -func (m *ListBuildTriggersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListBuildTriggersResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListBuildTriggersResponse proto.InternalMessageInfo - -func (m *ListBuildTriggersResponse) GetTriggers() []*BuildTrigger { - if m != nil { - return m.Triggers - } - return nil -} - -func (m *ListBuildTriggersResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request to delete a `BuildTrigger`. -type DeleteBuildTriggerRequest struct { - // Required. ID of the project that owns the trigger. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Required. ID of the `BuildTrigger` to delete. - TriggerId string `protobuf:"bytes,2,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 *DeleteBuildTriggerRequest) Reset() { *m = DeleteBuildTriggerRequest{} } -func (m *DeleteBuildTriggerRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteBuildTriggerRequest) ProtoMessage() {} -func (*DeleteBuildTriggerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8a9099620ac1526a, []int{31} -} - -func (m *DeleteBuildTriggerRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteBuildTriggerRequest.Unmarshal(m, b) -} -func (m *DeleteBuildTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteBuildTriggerRequest.Marshal(b, m, deterministic) -} -func (m *DeleteBuildTriggerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteBuildTriggerRequest.Merge(m, src) -} -func (m *DeleteBuildTriggerRequest) XXX_Size() int { - return xxx_messageInfo_DeleteBuildTriggerRequest.Size(m) -} -func (m *DeleteBuildTriggerRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteBuildTriggerRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteBuildTriggerRequest proto.InternalMessageInfo - -func (m *DeleteBuildTriggerRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *DeleteBuildTriggerRequest) GetTriggerId() string { - if m != nil { - return m.TriggerId - } - return "" -} - -// Request to update an existing `BuildTrigger`. -type UpdateBuildTriggerRequest struct { - // Required. ID of the project that owns the trigger. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Required. ID of the `BuildTrigger` to update. - TriggerId string `protobuf:"bytes,2,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` - // Required. `BuildTrigger` to update. - Trigger *BuildTrigger `protobuf:"bytes,3,opt,name=trigger,proto3" json:"trigger,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpdateBuildTriggerRequest) Reset() { *m = UpdateBuildTriggerRequest{} } -func (m *UpdateBuildTriggerRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateBuildTriggerRequest) ProtoMessage() {} -func (*UpdateBuildTriggerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8a9099620ac1526a, []int{32} -} - -func (m *UpdateBuildTriggerRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateBuildTriggerRequest.Unmarshal(m, b) -} -func (m *UpdateBuildTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateBuildTriggerRequest.Marshal(b, m, deterministic) -} -func (m *UpdateBuildTriggerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateBuildTriggerRequest.Merge(m, src) -} -func (m *UpdateBuildTriggerRequest) XXX_Size() int { - return xxx_messageInfo_UpdateBuildTriggerRequest.Size(m) -} -func (m *UpdateBuildTriggerRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateBuildTriggerRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateBuildTriggerRequest proto.InternalMessageInfo - -func (m *UpdateBuildTriggerRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *UpdateBuildTriggerRequest) GetTriggerId() string { - if m != nil { - return m.TriggerId - } - return "" -} - -func (m *UpdateBuildTriggerRequest) GetTrigger() *BuildTrigger { - if m != nil { - return m.Trigger - } - return nil -} - -// Optional arguments to enable specific features of builds. -type BuildOptions struct { - // Requested hash for SourceProvenance. - SourceProvenanceHash []Hash_HashType `protobuf:"varint,1,rep,packed,name=source_provenance_hash,json=sourceProvenanceHash,proto3,enum=google.devtools.cloudbuild.v1.Hash_HashType" json:"source_provenance_hash,omitempty"` - // Requested verifiability options. - RequestedVerifyOption BuildOptions_VerifyOption `protobuf:"varint,2,opt,name=requested_verify_option,json=requestedVerifyOption,proto3,enum=google.devtools.cloudbuild.v1.BuildOptions_VerifyOption" json:"requested_verify_option,omitempty"` - // Compute Engine machine type on which to run the build. - MachineType BuildOptions_MachineType `protobuf:"varint,3,opt,name=machine_type,json=machineType,proto3,enum=google.devtools.cloudbuild.v1.BuildOptions_MachineType" json:"machine_type,omitempty"` - // Requested disk size for the VM that runs the build. Note that this is *NOT* - // "disk free"; some of the space will be used by the operating system and - // build utilities. Also note that this is the minimum disk size that will be - // allocated for the build -- the build may run with a larger disk than - // requested. At present, the maximum disk size is 1000GB; builds that request - // more than the maximum are rejected with an error. - DiskSizeGb int64 `protobuf:"varint,6,opt,name=disk_size_gb,json=diskSizeGb,proto3" json:"disk_size_gb,omitempty"` - // Option to specify behavior when there is an error in the substitution - // checks. - 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"` - // 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_8a9099620ac1526a, []int{33} -} - -func (m *BuildOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BuildOptions.Unmarshal(m, b) -} -func (m *BuildOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BuildOptions.Marshal(b, m, deterministic) -} -func (m *BuildOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_BuildOptions.Merge(m, src) -} -func (m *BuildOptions) XXX_Size() int { - return xxx_messageInfo_BuildOptions.Size(m) -} -func (m *BuildOptions) XXX_DiscardUnknown() { - xxx_messageInfo_BuildOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_BuildOptions proto.InternalMessageInfo - -func (m *BuildOptions) GetSourceProvenanceHash() []Hash_HashType { - if m != nil { - return m.SourceProvenanceHash - } - return nil -} - -func (m *BuildOptions) GetRequestedVerifyOption() BuildOptions_VerifyOption { - if m != nil { - return m.RequestedVerifyOption - } - return BuildOptions_NOT_VERIFIED -} - -func (m *BuildOptions) GetMachineType() BuildOptions_MachineType { - if m != nil { - return m.MachineType - } - return BuildOptions_UNSPECIFIED -} - -func (m *BuildOptions) GetDiskSizeGb() int64 { - if m != nil { - return m.DiskSizeGb - } - return 0 -} - -func (m *BuildOptions) GetSubstitutionOption() BuildOptions_SubstitutionOption { - if m != nil { - return m.SubstitutionOption - } - return BuildOptions_MUST_MATCH -} - -func (m *BuildOptions) GetLogStreamingOption() BuildOptions_LogStreamingOption { - if m != nil { - return m.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 -} - -// Configuration for a WorkerPool to run the builds. -// -// Workers are machines that Cloud Build uses to run your builds. By default, -// all workers run in a project owned by Cloud Build. To have full control over -// the workers that execute your builds -- such as enabling them to access -// private resources on your private network -- you can request Cloud Build to -// run the workers in your own project by creating a custom workers pool. -type WorkerPool struct { - // User-defined name of the `WorkerPool`. - Name string `protobuf:"bytes,14,opt,name=name,proto3" json:"name,omitempty"` - // The project ID of the GCP project for which the `WorkerPool` is created. - ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Output only. The service account used to manage the `WorkerPool`. The - // service account must have the Compute Instance Admin (Beta) permission at - // the project level. - ServiceAccountEmail string `protobuf:"bytes,3,opt,name=service_account_email,json=serviceAccountEmail,proto3" json:"service_account_email,omitempty"` - // Total number of workers to be created across all requested regions. - WorkerCount int64 `protobuf:"varint,4,opt,name=worker_count,json=workerCount,proto3" json:"worker_count,omitempty"` - // Configuration to be used for a creating workers in the `WorkerPool`. - WorkerConfig *WorkerConfig `protobuf:"bytes,16,opt,name=worker_config,json=workerConfig,proto3" json:"worker_config,omitempty"` - // List of regions to create the `WorkerPool`. Regions can't be empty. - // If Cloud Build adds a new GCP region in the future, the existing - // `WorkerPool` will not be enabled in the new region automatically; - // you must add the new region to the `regions` field to enable the - // `WorkerPool` in that region. - Regions []WorkerPool_Region `protobuf:"varint,9,rep,packed,name=regions,proto3,enum=google.devtools.cloudbuild.v1.WorkerPool_Region" json:"regions,omitempty"` - // Output only. Time at which the request to create the `WorkerPool` was - // received. - CreateTime *timestamp.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Output only. Time at which the request to update the `WorkerPool` was - // received. - UpdateTime *timestamp.Timestamp `protobuf:"bytes,17,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - // Output only. Time at which the request to delete the `WorkerPool` was - // received. - DeleteTime *timestamp.Timestamp `protobuf:"bytes,12,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"` - // Output only. WorkerPool Status. - Status WorkerPool_Status `protobuf:"varint,13,opt,name=status,proto3,enum=google.devtools.cloudbuild.v1.WorkerPool_Status" json:"status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *WorkerPool) Reset() { *m = WorkerPool{} } -func (m *WorkerPool) String() string { return proto.CompactTextString(m) } -func (*WorkerPool) ProtoMessage() {} -func (*WorkerPool) Descriptor() ([]byte, []int) { - return fileDescriptor_8a9099620ac1526a, []int{34} -} - -func (m *WorkerPool) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkerPool.Unmarshal(m, b) -} -func (m *WorkerPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkerPool.Marshal(b, m, deterministic) -} -func (m *WorkerPool) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkerPool.Merge(m, src) -} -func (m *WorkerPool) XXX_Size() int { - return xxx_messageInfo_WorkerPool.Size(m) -} -func (m *WorkerPool) XXX_DiscardUnknown() { - xxx_messageInfo_WorkerPool.DiscardUnknown(m) -} - -var xxx_messageInfo_WorkerPool proto.InternalMessageInfo - -func (m *WorkerPool) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *WorkerPool) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *WorkerPool) GetServiceAccountEmail() string { - if m != nil { - return m.ServiceAccountEmail - } - return "" -} - -func (m *WorkerPool) GetWorkerCount() int64 { - if m != nil { - return m.WorkerCount - } - return 0 -} - -func (m *WorkerPool) GetWorkerConfig() *WorkerConfig { - if m != nil { - return m.WorkerConfig - } - return nil -} - -func (m *WorkerPool) GetRegions() []WorkerPool_Region { - if m != nil { - return m.Regions - } - return nil -} - -func (m *WorkerPool) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *WorkerPool) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -func (m *WorkerPool) GetDeleteTime() *timestamp.Timestamp { - if m != nil { - return m.DeleteTime - } - return nil -} - -func (m *WorkerPool) GetStatus() WorkerPool_Status { - if m != nil { - return m.Status - } - return WorkerPool_STATUS_UNSPECIFIED -} - -// WorkerConfig defines the configuration to be used for a creating workers in -// the pool. -type WorkerConfig struct { - // Machine Type of the worker, such as n1-standard-1. - // See https://cloud.google.com/compute/docs/machine-types. - // If left blank, Cloud Build will use a standard unspecified machine to - // create the worker pool. - // `machine_type` is overridden if you specify a different machine type in - // `build_options`. In this case, the VM specified in the `build_options` - // will be created on demand at build time. For more information see - // https://cloud.google.com/cloud-build/docs/speeding-up-builds#using_custom_virtual_machine_sizes - MachineType string `protobuf:"bytes,1,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"` - // Size of the disk attached to the worker, in GB. - // See https://cloud.google.com/compute/docs/disks/ - // If `0` is specified, Cloud Build will use a standard disk size. - // `disk_size` is overridden if you specify a different disk size in - // `build_options`. In this case, a VM with a disk size specified in the - // `build_options` will be created on demand at build time. For more - // information see - // https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#buildoptions - DiskSizeGb int64 `protobuf:"varint,2,opt,name=disk_size_gb,json=diskSizeGb,proto3" json:"disk_size_gb,omitempty"` - // The network definition used to create the worker. - // If this section is left empty, the workers will be created in - // WorkerPool.project_id on the default network. - Network *Network `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"` - // The tag applied to the worker, and the same tag used by the firewall rule. - // It is used to identify the Cloud Build workers among other VMs. - // The default value for tag is `worker`. - Tag string `protobuf:"bytes,4,opt,name=tag,proto3" json:"tag,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *WorkerConfig) Reset() { *m = WorkerConfig{} } -func (m *WorkerConfig) String() string { return proto.CompactTextString(m) } -func (*WorkerConfig) ProtoMessage() {} -func (*WorkerConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_8a9099620ac1526a, []int{35} -} - -func (m *WorkerConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkerConfig.Unmarshal(m, b) -} -func (m *WorkerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkerConfig.Marshal(b, m, deterministic) -} -func (m *WorkerConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkerConfig.Merge(m, src) -} -func (m *WorkerConfig) XXX_Size() int { - return xxx_messageInfo_WorkerConfig.Size(m) -} -func (m *WorkerConfig) XXX_DiscardUnknown() { - xxx_messageInfo_WorkerConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_WorkerConfig proto.InternalMessageInfo - -func (m *WorkerConfig) GetMachineType() string { - if m != nil { - return m.MachineType - } - return "" -} - -func (m *WorkerConfig) GetDiskSizeGb() int64 { - if m != nil { - return m.DiskSizeGb - } - return 0 -} - -func (m *WorkerConfig) GetNetwork() *Network { - if m != nil { - return m.Network - } - return nil -} - -func (m *WorkerConfig) GetTag() string { - if m != nil { - return m.Tag - } - return "" -} - -// Network describes the GCP network used to create workers in. -type Network struct { - // Project id containing the defined network and subnetwork. For a peered VPC, - // this will be the same as the project_id in which the workers are created. - // For a shared VPC, this will be the project sharing the network with the - // project_id project in which workers will be created. For custom workers - // with no VPC, this will be the same as project_id. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Network on which the workers are created. - // "default" network is used if empty. - Network string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"` - // Subnetwork on which the workers are created. - // "default" subnetwork is used if empty. - Subnetwork string `protobuf:"bytes,3,opt,name=subnetwork,proto3" json:"subnetwork,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8a9099620ac1526a, []int{36} -} - -func (m *Network) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Network.Unmarshal(m, b) -} -func (m *Network) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Network.Marshal(b, m, deterministic) -} -func (m *Network) XXX_Merge(src proto.Message) { - xxx_messageInfo_Network.Merge(m, src) -} -func (m *Network) XXX_Size() int { - return xxx_messageInfo_Network.Size(m) -} -func (m *Network) XXX_DiscardUnknown() { - xxx_messageInfo_Network.DiscardUnknown(m) -} - -var xxx_messageInfo_Network proto.InternalMessageInfo - -func (m *Network) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *Network) GetNetwork() string { - if m != nil { - return m.Network - } - return "" -} - -func (m *Network) GetSubnetwork() string { - if m != nil { - return m.Subnetwork - } - return "" -} - -// Request to create a new `WorkerPool`. -type CreateWorkerPoolRequest struct { - // ID of the parent project. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // `WorkerPool` resource to create. - WorkerPool *WorkerPool `protobuf:"bytes,2,opt,name=worker_pool,json=workerPool,proto3" json:"worker_pool,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateWorkerPoolRequest) Reset() { *m = CreateWorkerPoolRequest{} } -func (m *CreateWorkerPoolRequest) String() string { return proto.CompactTextString(m) } -func (*CreateWorkerPoolRequest) ProtoMessage() {} -func (*CreateWorkerPoolRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8a9099620ac1526a, []int{37} -} - -func (m *CreateWorkerPoolRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateWorkerPoolRequest.Unmarshal(m, b) -} -func (m *CreateWorkerPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateWorkerPoolRequest.Marshal(b, m, deterministic) -} -func (m *CreateWorkerPoolRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateWorkerPoolRequest.Merge(m, src) -} -func (m *CreateWorkerPoolRequest) XXX_Size() int { - return xxx_messageInfo_CreateWorkerPoolRequest.Size(m) -} -func (m *CreateWorkerPoolRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateWorkerPoolRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateWorkerPoolRequest proto.InternalMessageInfo - -func (m *CreateWorkerPoolRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateWorkerPoolRequest) GetWorkerPool() *WorkerPool { - if m != nil { - return m.WorkerPool - } - return nil -} - -// Request to get a `WorkerPool` with the specified name. -type GetWorkerPoolRequest struct { - // The field will contain name of the resource requested, for example: - // "projects/project-1/workerPools/workerpool-name" - 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 *GetWorkerPoolRequest) Reset() { *m = GetWorkerPoolRequest{} } -func (m *GetWorkerPoolRequest) String() string { return proto.CompactTextString(m) } -func (*GetWorkerPoolRequest) ProtoMessage() {} -func (*GetWorkerPoolRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8a9099620ac1526a, []int{38} -} - -func (m *GetWorkerPoolRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetWorkerPoolRequest.Unmarshal(m, b) -} -func (m *GetWorkerPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetWorkerPoolRequest.Marshal(b, m, deterministic) -} -func (m *GetWorkerPoolRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetWorkerPoolRequest.Merge(m, src) -} -func (m *GetWorkerPoolRequest) XXX_Size() int { - return xxx_messageInfo_GetWorkerPoolRequest.Size(m) -} -func (m *GetWorkerPoolRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetWorkerPoolRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetWorkerPoolRequest proto.InternalMessageInfo - -func (m *GetWorkerPoolRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request to delete a `WorkerPool`. -type DeleteWorkerPoolRequest struct { - // The field will contain name of the resource requested, for example: - // "projects/project-1/workerPools/workerpool-name" - 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 *DeleteWorkerPoolRequest) Reset() { *m = DeleteWorkerPoolRequest{} } -func (m *DeleteWorkerPoolRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteWorkerPoolRequest) ProtoMessage() {} -func (*DeleteWorkerPoolRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8a9099620ac1526a, []int{39} -} - -func (m *DeleteWorkerPoolRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteWorkerPoolRequest.Unmarshal(m, b) -} -func (m *DeleteWorkerPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteWorkerPoolRequest.Marshal(b, m, deterministic) -} -func (m *DeleteWorkerPoolRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteWorkerPoolRequest.Merge(m, src) -} -func (m *DeleteWorkerPoolRequest) XXX_Size() int { - return xxx_messageInfo_DeleteWorkerPoolRequest.Size(m) -} -func (m *DeleteWorkerPoolRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteWorkerPoolRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteWorkerPoolRequest proto.InternalMessageInfo - -func (m *DeleteWorkerPoolRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request to update a `WorkerPool`. -type UpdateWorkerPoolRequest struct { - // The field will contain name of the resource requested, for example: - // "projects/project-1/workerPools/workerpool-name" - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - // `WorkerPool` resource to update. - WorkerPool *WorkerPool `protobuf:"bytes,3,opt,name=worker_pool,json=workerPool,proto3" json:"worker_pool,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpdateWorkerPoolRequest) Reset() { *m = UpdateWorkerPoolRequest{} } -func (m *UpdateWorkerPoolRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateWorkerPoolRequest) ProtoMessage() {} -func (*UpdateWorkerPoolRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8a9099620ac1526a, []int{40} -} - -func (m *UpdateWorkerPoolRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateWorkerPoolRequest.Unmarshal(m, b) -} -func (m *UpdateWorkerPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateWorkerPoolRequest.Marshal(b, m, deterministic) -} -func (m *UpdateWorkerPoolRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateWorkerPoolRequest.Merge(m, src) -} -func (m *UpdateWorkerPoolRequest) XXX_Size() int { - return xxx_messageInfo_UpdateWorkerPoolRequest.Size(m) -} -func (m *UpdateWorkerPoolRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateWorkerPoolRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateWorkerPoolRequest proto.InternalMessageInfo - -func (m *UpdateWorkerPoolRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *UpdateWorkerPoolRequest) GetWorkerPool() *WorkerPool { - if m != nil { - return m.WorkerPool - } - return nil -} - -// Request to list `WorkerPool`s. -type ListWorkerPoolsRequest struct { - // ID of the parent project. - 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 *ListWorkerPoolsRequest) Reset() { *m = ListWorkerPoolsRequest{} } -func (m *ListWorkerPoolsRequest) String() string { return proto.CompactTextString(m) } -func (*ListWorkerPoolsRequest) ProtoMessage() {} -func (*ListWorkerPoolsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8a9099620ac1526a, []int{41} -} - -func (m *ListWorkerPoolsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListWorkerPoolsRequest.Unmarshal(m, b) -} -func (m *ListWorkerPoolsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListWorkerPoolsRequest.Marshal(b, m, deterministic) -} -func (m *ListWorkerPoolsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListWorkerPoolsRequest.Merge(m, src) -} -func (m *ListWorkerPoolsRequest) XXX_Size() int { - return xxx_messageInfo_ListWorkerPoolsRequest.Size(m) -} -func (m *ListWorkerPoolsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListWorkerPoolsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListWorkerPoolsRequest proto.InternalMessageInfo - -func (m *ListWorkerPoolsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -// Response containing existing `WorkerPools`. -type ListWorkerPoolsResponse struct { - // `WorkerPools` for the project. - WorkerPools []*WorkerPool `protobuf:"bytes,1,rep,name=worker_pools,json=workerPools,proto3" json:"worker_pools,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListWorkerPoolsResponse) Reset() { *m = ListWorkerPoolsResponse{} } -func (m *ListWorkerPoolsResponse) String() string { return proto.CompactTextString(m) } -func (*ListWorkerPoolsResponse) ProtoMessage() {} -func (*ListWorkerPoolsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8a9099620ac1526a, []int{42} -} - -func (m *ListWorkerPoolsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListWorkerPoolsResponse.Unmarshal(m, b) -} -func (m *ListWorkerPoolsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListWorkerPoolsResponse.Marshal(b, m, deterministic) -} -func (m *ListWorkerPoolsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListWorkerPoolsResponse.Merge(m, src) -} -func (m *ListWorkerPoolsResponse) XXX_Size() int { - return xxx_messageInfo_ListWorkerPoolsResponse.Size(m) -} -func (m *ListWorkerPoolsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListWorkerPoolsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListWorkerPoolsResponse proto.InternalMessageInfo - -func (m *ListWorkerPoolsResponse) GetWorkerPools() []*WorkerPool { - if m != nil { - return m.WorkerPools - } - return nil -} - -func init() { - proto.RegisterEnum("google.devtools.cloudbuild.v1.Build_Status", Build_Status_name, Build_Status_value) - proto.RegisterEnum("google.devtools.cloudbuild.v1.Hash_HashType", Hash_HashType_name, Hash_HashType_value) - proto.RegisterEnum("google.devtools.cloudbuild.v1.PullRequestFilter_CommentControl", PullRequestFilter_CommentControl_name, PullRequestFilter_CommentControl_value) - proto.RegisterEnum("google.devtools.cloudbuild.v1.BuildOptions_VerifyOption", BuildOptions_VerifyOption_name, BuildOptions_VerifyOption_value) - 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) - proto.RegisterEnum("google.devtools.cloudbuild.v1.WorkerPool_Region", WorkerPool_Region_name, WorkerPool_Region_value) - proto.RegisterEnum("google.devtools.cloudbuild.v1.WorkerPool_Status", WorkerPool_Status_name, WorkerPool_Status_value) - proto.RegisterType((*RetryBuildRequest)(nil), "google.devtools.cloudbuild.v1.RetryBuildRequest") - proto.RegisterType((*RunBuildTriggerRequest)(nil), "google.devtools.cloudbuild.v1.RunBuildTriggerRequest") - proto.RegisterType((*StorageSource)(nil), "google.devtools.cloudbuild.v1.StorageSource") - proto.RegisterType((*RepoSource)(nil), "google.devtools.cloudbuild.v1.RepoSource") - proto.RegisterType((*Source)(nil), "google.devtools.cloudbuild.v1.Source") - proto.RegisterType((*BuiltImage)(nil), "google.devtools.cloudbuild.v1.BuiltImage") - proto.RegisterType((*BuildStep)(nil), "google.devtools.cloudbuild.v1.BuildStep") - proto.RegisterType((*Volume)(nil), "google.devtools.cloudbuild.v1.Volume") - proto.RegisterType((*Results)(nil), "google.devtools.cloudbuild.v1.Results") - proto.RegisterType((*ArtifactResult)(nil), "google.devtools.cloudbuild.v1.ArtifactResult") - proto.RegisterType((*Build)(nil), "google.devtools.cloudbuild.v1.Build") - proto.RegisterMapType((map[string]string)(nil), "google.devtools.cloudbuild.v1.Build.SubstitutionsEntry") - proto.RegisterMapType((map[string]*TimeSpan)(nil), "google.devtools.cloudbuild.v1.Build.TimingEntry") - proto.RegisterType((*Artifacts)(nil), "google.devtools.cloudbuild.v1.Artifacts") - proto.RegisterType((*Artifacts_ArtifactObjects)(nil), "google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects") - proto.RegisterType((*TimeSpan)(nil), "google.devtools.cloudbuild.v1.TimeSpan") - proto.RegisterType((*BuildOperationMetadata)(nil), "google.devtools.cloudbuild.v1.BuildOperationMetadata") - proto.RegisterType((*SourceProvenance)(nil), "google.devtools.cloudbuild.v1.SourceProvenance") - proto.RegisterMapType((map[string]*FileHashes)(nil), "google.devtools.cloudbuild.v1.SourceProvenance.FileHashesEntry") - proto.RegisterType((*FileHashes)(nil), "google.devtools.cloudbuild.v1.FileHashes") - proto.RegisterType((*Hash)(nil), "google.devtools.cloudbuild.v1.Hash") - proto.RegisterType((*Secret)(nil), "google.devtools.cloudbuild.v1.Secret") - proto.RegisterMapType((map[string][]byte)(nil), "google.devtools.cloudbuild.v1.Secret.SecretEnvEntry") - proto.RegisterType((*CreateBuildRequest)(nil), "google.devtools.cloudbuild.v1.CreateBuildRequest") - proto.RegisterType((*GetBuildRequest)(nil), "google.devtools.cloudbuild.v1.GetBuildRequest") - proto.RegisterType((*ListBuildsRequest)(nil), "google.devtools.cloudbuild.v1.ListBuildsRequest") - proto.RegisterType((*ListBuildsResponse)(nil), "google.devtools.cloudbuild.v1.ListBuildsResponse") - proto.RegisterType((*CancelBuildRequest)(nil), "google.devtools.cloudbuild.v1.CancelBuildRequest") - proto.RegisterType((*BuildTrigger)(nil), "google.devtools.cloudbuild.v1.BuildTrigger") - proto.RegisterMapType((map[string]string)(nil), "google.devtools.cloudbuild.v1.BuildTrigger.SubstitutionsEntry") - proto.RegisterType((*GitHubEventsConfig)(nil), "google.devtools.cloudbuild.v1.GitHubEventsConfig") - proto.RegisterType((*PullRequestFilter)(nil), "google.devtools.cloudbuild.v1.PullRequestFilter") - proto.RegisterType((*PushFilter)(nil), "google.devtools.cloudbuild.v1.PushFilter") - proto.RegisterType((*CreateBuildTriggerRequest)(nil), "google.devtools.cloudbuild.v1.CreateBuildTriggerRequest") - proto.RegisterType((*GetBuildTriggerRequest)(nil), "google.devtools.cloudbuild.v1.GetBuildTriggerRequest") - proto.RegisterType((*ListBuildTriggersRequest)(nil), "google.devtools.cloudbuild.v1.ListBuildTriggersRequest") - proto.RegisterType((*ListBuildTriggersResponse)(nil), "google.devtools.cloudbuild.v1.ListBuildTriggersResponse") - proto.RegisterType((*DeleteBuildTriggerRequest)(nil), "google.devtools.cloudbuild.v1.DeleteBuildTriggerRequest") - proto.RegisterType((*UpdateBuildTriggerRequest)(nil), "google.devtools.cloudbuild.v1.UpdateBuildTriggerRequest") - proto.RegisterType((*BuildOptions)(nil), "google.devtools.cloudbuild.v1.BuildOptions") - proto.RegisterType((*WorkerPool)(nil), "google.devtools.cloudbuild.v1.WorkerPool") - proto.RegisterType((*WorkerConfig)(nil), "google.devtools.cloudbuild.v1.WorkerConfig") - proto.RegisterType((*Network)(nil), "google.devtools.cloudbuild.v1.Network") - proto.RegisterType((*CreateWorkerPoolRequest)(nil), "google.devtools.cloudbuild.v1.CreateWorkerPoolRequest") - proto.RegisterType((*GetWorkerPoolRequest)(nil), "google.devtools.cloudbuild.v1.GetWorkerPoolRequest") - proto.RegisterType((*DeleteWorkerPoolRequest)(nil), "google.devtools.cloudbuild.v1.DeleteWorkerPoolRequest") - proto.RegisterType((*UpdateWorkerPoolRequest)(nil), "google.devtools.cloudbuild.v1.UpdateWorkerPoolRequest") - proto.RegisterType((*ListWorkerPoolsRequest)(nil), "google.devtools.cloudbuild.v1.ListWorkerPoolsRequest") - proto.RegisterType((*ListWorkerPoolsResponse)(nil), "google.devtools.cloudbuild.v1.ListWorkerPoolsResponse") -} - -func init() { - proto.RegisterFile("google/devtools/cloudbuild/v1/cloudbuild.proto", fileDescriptor_8a9099620ac1526a) -} - -var fileDescriptor_8a9099620ac1526a = []byte{ - // 3836 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x3b, 0x5d, 0x6f, 0x1b, 0x57, - 0x76, 0x1a, 0x52, 0xe2, 0xc7, 0x21, 0x45, 0x8d, 0xae, 0x6d, 0x89, 0x66, 0xe2, 0x58, 0x99, 0x6c, - 0x36, 0xce, 0x97, 0x68, 0xc9, 0xeb, 0xc4, 0x55, 0xe2, 0xd8, 0x14, 0x45, 0x51, 0x4c, 0x28, 0x52, - 0x3b, 0xa4, 0x62, 0xec, 0x6e, 0x8b, 0xc9, 0x90, 0xbc, 0x1a, 0x4d, 0x35, 0x9c, 0xe1, 0xce, 0x5c, - 0xd2, 0x55, 0xd2, 0xa0, 0x40, 0x50, 0xa0, 0x2d, 0xb6, 0x6f, 0xfd, 0x01, 0x45, 0x5b, 0x14, 0xed, - 0xdb, 0x3e, 0x2e, 0x50, 0xa0, 0xe8, 0x4b, 0x3f, 0x80, 0xed, 0x5b, 0xfb, 0x54, 0x03, 0x05, 0xda, - 0xa2, 0x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x8f, 0x33, 0x10, 0xfb, 0xed, 0x2b, 0x69, 0x79, 0xac, 0x24, 0x94, 0x63, - 0x3e, 0xc8, 0xf4, 0x49, 0xdd, 0x0f, 0xdd, 0x84, 0xd4, 0x53, 0xdd, 0x24, 0xda, 0x99, 0xe3, 0xe6, - 0x13, 0x0c, 0x33, 0x49, 0xc7, 0x87, 0x8e, 0x4b, 0xad, 0x15, 0xdb, 0xc4, 0xbd, 0x1c, 0x38, 0xa6, - 0x4d, 0x84, 0xa2, 0x03, 0x10, 0x6a, 0x9e, 0x1e, 0xee, 0xba, 0x98, 0x68, 0x94, 0x93, 0x14, 0x43, - 0x4e, 0x73, 0x48, 0xc5, 0x1e, 0xa1, 0x47, 0x90, 0x1c, 0x39, 0xd6, 0xb0, 0x8f, 0xbd, 0x7c, 0x7a, - 0x2b, 0x7e, 0x27, 0xb3, 0xfb, 0x76, 0x88, 0x24, 0xbe, 0x64, 0xab, 0x55, 0x1f, 0x0b, 0x3d, 0x82, - 0x84, 0x90, 0x24, 0x44, 0x93, 0xa4, 0x40, 0xe3, 0xfa, 0xb0, 0x2c, 0x5f, 0x1f, 0xab, 0x91, 0xf5, - 0x61, 0x59, 0x5c, 0x1f, 0xe8, 0x1e, 0x24, 0x69, 0x14, 0x74, 0x86, 0x24, 0x9f, 0x61, 0x54, 0x6e, - 0xfa, 0x54, 0xfc, 0x28, 0xb9, 0x7d, 0x20, 0x42, 0xac, 0xea, 0xaf, 0x44, 0x65, 0x48, 0x78, 0x44, - 0x27, 0x43, 0x2f, 0x9f, 0xdd, 0x92, 0xee, 0xe4, 0x76, 0xdf, 0x0f, 0xd9, 0x99, 0x29, 0x7c, 0xbb, - 0xc5, 0x50, 0x54, 0x81, 0xaa, 0xdc, 0x85, 0x04, 0x97, 0xcb, 0x95, 0x56, 0x80, 0x60, 0x79, 0xa0, - 0x93, 0x73, 0xe1, 0xfd, 0xec, 0xb7, 0xf2, 0xcb, 0x18, 0x24, 0x55, 0xec, 0x0d, 0x2d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0x8c, 0x3e, 0x30, 0xbd, 0xed, 0xae, 0xd3, 0xff, 0x97, - 0xd2, 0xf6, 0x39, 0x21, 0x03, 0x6f, 0xaf, 0x58, 0x7c, 0xfa, 0xf4, 0xe9, 0xcc, 0x64, 0x51, 0x1f, - 0x92, 0x73, 0xfe, 0xa7, 0x28, 0x1f, 0x0e, 0x2c, 0x9d, 0x9c, 0x39, 0x6e, 0x7f, 0xff, 0x02, 0xf2, - 0x5d, 0xa7, 0xef, 0x73, 0x33, 0xc5, 0xc4, 0x89, 0xf4, 0xe3, 0xaa, 0x80, 0x1b, 0x8e, 0xa5, 0xdb, - 0xc6, 0xb6, 0xe3, 0x1a, 0x45, 0x03, 0xdb, 0x4c, 0x23, 0xc5, 0x09, 0xf1, 0xe7, 0xfc, 0xd5, 0xcb, - 0x27, 0x93, 0xd1, 0x9f, 0xc7, 0xe2, 0xd5, 0xf2, 0x7e, 0x27, 0xc1, 0x30, 0xef, 0xfd, 0x5f, 0x00, - 0x00, 0x00, 0xff, 0xff, 0x9d, 0xf6, 0x1f, 0xe7, 0x2e, 0x33, 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 - -// CloudBuildClient is the client API for CloudBuild service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type CloudBuildClient interface { - // Starts a build with the specified configuration. - // - // This method returns a long-running `Operation`, which includes the build - // ID. Pass the build ID to `GetBuild` to determine the build status (such as - // `SUCCESS` or `FAILURE`). - CreateBuild(ctx context.Context, in *CreateBuildRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Returns information about a previously requested build. - // - // The `Build` that is returned includes its status (such as `SUCCESS`, - // `FAILURE`, or `WORKING`), and timing information. - GetBuild(ctx context.Context, in *GetBuildRequest, opts ...grpc.CallOption) (*Build, error) - // Lists previously requested builds. - // - // Previously requested builds may still be in-progress, or may have finished - // successfully or unsuccessfully. - ListBuilds(ctx context.Context, in *ListBuildsRequest, opts ...grpc.CallOption) (*ListBuildsResponse, error) - // Cancels a build in progress. - CancelBuild(ctx context.Context, in *CancelBuildRequest, opts ...grpc.CallOption) (*Build, error) - // Creates a new build based on the specified build. - // - // This method creates a new build using the original build request, which may - // or may not result in an identical build. - // - // For triggered builds: - // - // * Triggered builds resolve to a precise revision; therefore a retry of a - // triggered build will result in a build that uses the same revision. - // - // For non-triggered builds that specify `RepoSource`: - // - // * If the original build built from the tip of a branch, the retried build - // will build from the tip of that branch, which may not be the same revision - // as the original build. - // * If the original build specified a commit sha or revision ID, the retried - // build will use the identical source. - // - // For builds that specify `StorageSource`: - // - // * If the original build pulled source from Google Cloud Storage without - // specifying the generation of the object, the new build will use the current - // object, which may be different from the original build source. - // * If the original build pulled source from Cloud Storage and specified the - // generation of the object, the new build will attempt to use the same - // object, which may or may not be available depending on the bucket's - // lifecycle management settings. - RetryBuild(ctx context.Context, in *RetryBuildRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Creates a new `BuildTrigger`. - // - // This API is experimental. - CreateBuildTrigger(ctx context.Context, in *CreateBuildTriggerRequest, opts ...grpc.CallOption) (*BuildTrigger, error) - // Returns information about a `BuildTrigger`. - // - // This API is experimental. - GetBuildTrigger(ctx context.Context, in *GetBuildTriggerRequest, opts ...grpc.CallOption) (*BuildTrigger, error) - // Lists existing `BuildTrigger`s. - // - // This API is experimental. - ListBuildTriggers(ctx context.Context, in *ListBuildTriggersRequest, opts ...grpc.CallOption) (*ListBuildTriggersResponse, error) - // Deletes a `BuildTrigger` by its project ID and trigger ID. - // - // This API is experimental. - DeleteBuildTrigger(ctx context.Context, in *DeleteBuildTriggerRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Updates a `BuildTrigger` by its project ID and trigger ID. - // - // This API is experimental. - UpdateBuildTrigger(ctx context.Context, in *UpdateBuildTriggerRequest, opts ...grpc.CallOption) (*BuildTrigger, error) - // Runs a `BuildTrigger` at a particular source revision. - RunBuildTrigger(ctx context.Context, in *RunBuildTriggerRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Creates a `WorkerPool` to run the builds, and returns the new worker pool. - // - // This API is experimental. - CreateWorkerPool(ctx context.Context, in *CreateWorkerPoolRequest, opts ...grpc.CallOption) (*WorkerPool, error) - // Returns information about a `WorkerPool`. - // - // This API is experimental. - GetWorkerPool(ctx context.Context, in *GetWorkerPoolRequest, opts ...grpc.CallOption) (*WorkerPool, error) - // Deletes a `WorkerPool` by its project ID and WorkerPool name. - // - // This API is experimental. - DeleteWorkerPool(ctx context.Context, in *DeleteWorkerPoolRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Update a `WorkerPool`. - // - // This API is experimental. - UpdateWorkerPool(ctx context.Context, in *UpdateWorkerPoolRequest, opts ...grpc.CallOption) (*WorkerPool, error) - // List project's `WorkerPool`s. - // - // This API is experimental. - ListWorkerPools(ctx context.Context, in *ListWorkerPoolsRequest, opts ...grpc.CallOption) (*ListWorkerPoolsResponse, error) -} - -type cloudBuildClient struct { - cc *grpc.ClientConn -} - -func NewCloudBuildClient(cc *grpc.ClientConn) CloudBuildClient { - return &cloudBuildClient{cc} -} - -func (c *cloudBuildClient) CreateBuild(ctx context.Context, in *CreateBuildRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/CreateBuild", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudBuildClient) GetBuild(ctx context.Context, in *GetBuildRequest, opts ...grpc.CallOption) (*Build, error) { - out := new(Build) - err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/GetBuild", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudBuildClient) ListBuilds(ctx context.Context, in *ListBuildsRequest, opts ...grpc.CallOption) (*ListBuildsResponse, error) { - out := new(ListBuildsResponse) - err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/ListBuilds", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudBuildClient) CancelBuild(ctx context.Context, in *CancelBuildRequest, opts ...grpc.CallOption) (*Build, error) { - out := new(Build) - err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/CancelBuild", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudBuildClient) RetryBuild(ctx context.Context, in *RetryBuildRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/RetryBuild", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudBuildClient) CreateBuildTrigger(ctx context.Context, in *CreateBuildTriggerRequest, opts ...grpc.CallOption) (*BuildTrigger, error) { - out := new(BuildTrigger) - err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/CreateBuildTrigger", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudBuildClient) GetBuildTrigger(ctx context.Context, in *GetBuildTriggerRequest, opts ...grpc.CallOption) (*BuildTrigger, error) { - out := new(BuildTrigger) - err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/GetBuildTrigger", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudBuildClient) ListBuildTriggers(ctx context.Context, in *ListBuildTriggersRequest, opts ...grpc.CallOption) (*ListBuildTriggersResponse, error) { - out := new(ListBuildTriggersResponse) - err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/ListBuildTriggers", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudBuildClient) DeleteBuildTrigger(ctx context.Context, in *DeleteBuildTriggerRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/DeleteBuildTrigger", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudBuildClient) UpdateBuildTrigger(ctx context.Context, in *UpdateBuildTriggerRequest, opts ...grpc.CallOption) (*BuildTrigger, error) { - out := new(BuildTrigger) - err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/UpdateBuildTrigger", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudBuildClient) RunBuildTrigger(ctx context.Context, in *RunBuildTriggerRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/RunBuildTrigger", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudBuildClient) CreateWorkerPool(ctx context.Context, in *CreateWorkerPoolRequest, opts ...grpc.CallOption) (*WorkerPool, error) { - out := new(WorkerPool) - err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/CreateWorkerPool", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudBuildClient) GetWorkerPool(ctx context.Context, in *GetWorkerPoolRequest, opts ...grpc.CallOption) (*WorkerPool, error) { - out := new(WorkerPool) - err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/GetWorkerPool", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudBuildClient) DeleteWorkerPool(ctx context.Context, in *DeleteWorkerPoolRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/DeleteWorkerPool", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudBuildClient) UpdateWorkerPool(ctx context.Context, in *UpdateWorkerPoolRequest, opts ...grpc.CallOption) (*WorkerPool, error) { - out := new(WorkerPool) - err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/UpdateWorkerPool", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudBuildClient) ListWorkerPools(ctx context.Context, in *ListWorkerPoolsRequest, opts ...grpc.CallOption) (*ListWorkerPoolsResponse, error) { - out := new(ListWorkerPoolsResponse) - err := c.cc.Invoke(ctx, "/google.devtools.cloudbuild.v1.CloudBuild/ListWorkerPools", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// CloudBuildServer is the server API for CloudBuild service. -type CloudBuildServer interface { - // Starts a build with the specified configuration. - // - // This method returns a long-running `Operation`, which includes the build - // ID. Pass the build ID to `GetBuild` to determine the build status (such as - // `SUCCESS` or `FAILURE`). - CreateBuild(context.Context, *CreateBuildRequest) (*longrunning.Operation, error) - // Returns information about a previously requested build. - // - // The `Build` that is returned includes its status (such as `SUCCESS`, - // `FAILURE`, or `WORKING`), and timing information. - GetBuild(context.Context, *GetBuildRequest) (*Build, error) - // Lists previously requested builds. - // - // Previously requested builds may still be in-progress, or may have finished - // successfully or unsuccessfully. - ListBuilds(context.Context, *ListBuildsRequest) (*ListBuildsResponse, error) - // Cancels a build in progress. - CancelBuild(context.Context, *CancelBuildRequest) (*Build, error) - // Creates a new build based on the specified build. - // - // This method creates a new build using the original build request, which may - // or may not result in an identical build. - // - // For triggered builds: - // - // * Triggered builds resolve to a precise revision; therefore a retry of a - // triggered build will result in a build that uses the same revision. - // - // For non-triggered builds that specify `RepoSource`: - // - // * If the original build built from the tip of a branch, the retried build - // will build from the tip of that branch, which may not be the same revision - // as the original build. - // * If the original build specified a commit sha or revision ID, the retried - // build will use the identical source. - // - // For builds that specify `StorageSource`: - // - // * If the original build pulled source from Google Cloud Storage without - // specifying the generation of the object, the new build will use the current - // object, which may be different from the original build source. - // * If the original build pulled source from Cloud Storage and specified the - // generation of the object, the new build will attempt to use the same - // object, which may or may not be available depending on the bucket's - // lifecycle management settings. - RetryBuild(context.Context, *RetryBuildRequest) (*longrunning.Operation, error) - // Creates a new `BuildTrigger`. - // - // This API is experimental. - CreateBuildTrigger(context.Context, *CreateBuildTriggerRequest) (*BuildTrigger, error) - // Returns information about a `BuildTrigger`. - // - // This API is experimental. - GetBuildTrigger(context.Context, *GetBuildTriggerRequest) (*BuildTrigger, error) - // Lists existing `BuildTrigger`s. - // - // This API is experimental. - ListBuildTriggers(context.Context, *ListBuildTriggersRequest) (*ListBuildTriggersResponse, error) - // Deletes a `BuildTrigger` by its project ID and trigger ID. - // - // This API is experimental. - DeleteBuildTrigger(context.Context, *DeleteBuildTriggerRequest) (*empty.Empty, error) - // Updates a `BuildTrigger` by its project ID and trigger ID. - // - // This API is experimental. - UpdateBuildTrigger(context.Context, *UpdateBuildTriggerRequest) (*BuildTrigger, error) - // Runs a `BuildTrigger` at a particular source revision. - RunBuildTrigger(context.Context, *RunBuildTriggerRequest) (*longrunning.Operation, error) - // Creates a `WorkerPool` to run the builds, and returns the new worker pool. - // - // This API is experimental. - CreateWorkerPool(context.Context, *CreateWorkerPoolRequest) (*WorkerPool, error) - // Returns information about a `WorkerPool`. - // - // This API is experimental. - GetWorkerPool(context.Context, *GetWorkerPoolRequest) (*WorkerPool, error) - // Deletes a `WorkerPool` by its project ID and WorkerPool name. - // - // This API is experimental. - DeleteWorkerPool(context.Context, *DeleteWorkerPoolRequest) (*empty.Empty, error) - // Update a `WorkerPool`. - // - // This API is experimental. - UpdateWorkerPool(context.Context, *UpdateWorkerPoolRequest) (*WorkerPool, error) - // List project's `WorkerPool`s. - // - // This API is experimental. - ListWorkerPools(context.Context, *ListWorkerPoolsRequest) (*ListWorkerPoolsResponse, error) -} - -// UnimplementedCloudBuildServer can be embedded to have forward compatible implementations. -type UnimplementedCloudBuildServer struct { -} - -func (*UnimplementedCloudBuildServer) CreateBuild(ctx context.Context, req *CreateBuildRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateBuild not implemented") -} -func (*UnimplementedCloudBuildServer) GetBuild(ctx context.Context, req *GetBuildRequest) (*Build, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBuild not implemented") -} -func (*UnimplementedCloudBuildServer) ListBuilds(ctx context.Context, req *ListBuildsRequest) (*ListBuildsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListBuilds not implemented") -} -func (*UnimplementedCloudBuildServer) CancelBuild(ctx context.Context, req *CancelBuildRequest) (*Build, error) { - return nil, status.Errorf(codes.Unimplemented, "method CancelBuild not implemented") -} -func (*UnimplementedCloudBuildServer) RetryBuild(ctx context.Context, req *RetryBuildRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method RetryBuild not implemented") -} -func (*UnimplementedCloudBuildServer) CreateBuildTrigger(ctx context.Context, req *CreateBuildTriggerRequest) (*BuildTrigger, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateBuildTrigger not implemented") -} -func (*UnimplementedCloudBuildServer) GetBuildTrigger(ctx context.Context, req *GetBuildTriggerRequest) (*BuildTrigger, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBuildTrigger not implemented") -} -func (*UnimplementedCloudBuildServer) ListBuildTriggers(ctx context.Context, req *ListBuildTriggersRequest) (*ListBuildTriggersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListBuildTriggers not implemented") -} -func (*UnimplementedCloudBuildServer) DeleteBuildTrigger(ctx context.Context, req *DeleteBuildTriggerRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteBuildTrigger not implemented") -} -func (*UnimplementedCloudBuildServer) UpdateBuildTrigger(ctx context.Context, req *UpdateBuildTriggerRequest) (*BuildTrigger, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateBuildTrigger not implemented") -} -func (*UnimplementedCloudBuildServer) RunBuildTrigger(ctx context.Context, req *RunBuildTriggerRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method RunBuildTrigger not implemented") -} -func (*UnimplementedCloudBuildServer) CreateWorkerPool(ctx context.Context, req *CreateWorkerPoolRequest) (*WorkerPool, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateWorkerPool not implemented") -} -func (*UnimplementedCloudBuildServer) GetWorkerPool(ctx context.Context, req *GetWorkerPoolRequest) (*WorkerPool, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetWorkerPool not implemented") -} -func (*UnimplementedCloudBuildServer) DeleteWorkerPool(ctx context.Context, req *DeleteWorkerPoolRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteWorkerPool not implemented") -} -func (*UnimplementedCloudBuildServer) UpdateWorkerPool(ctx context.Context, req *UpdateWorkerPoolRequest) (*WorkerPool, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateWorkerPool not implemented") -} -func (*UnimplementedCloudBuildServer) ListWorkerPools(ctx context.Context, req *ListWorkerPoolsRequest) (*ListWorkerPoolsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListWorkerPools not implemented") -} - -func RegisterCloudBuildServer(s *grpc.Server, srv CloudBuildServer) { - s.RegisterService(&_CloudBuild_serviceDesc, srv) -} - -func _CloudBuild_CreateBuild_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateBuildRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudBuildServer).CreateBuild(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/CreateBuild", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudBuildServer).CreateBuild(ctx, req.(*CreateBuildRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudBuild_GetBuild_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetBuildRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudBuildServer).GetBuild(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/GetBuild", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudBuildServer).GetBuild(ctx, req.(*GetBuildRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudBuild_ListBuilds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListBuildsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudBuildServer).ListBuilds(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/ListBuilds", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudBuildServer).ListBuilds(ctx, req.(*ListBuildsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudBuild_CancelBuild_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CancelBuildRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudBuildServer).CancelBuild(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/CancelBuild", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudBuildServer).CancelBuild(ctx, req.(*CancelBuildRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudBuild_RetryBuild_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RetryBuildRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudBuildServer).RetryBuild(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/RetryBuild", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudBuildServer).RetryBuild(ctx, req.(*RetryBuildRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudBuild_CreateBuildTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateBuildTriggerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudBuildServer).CreateBuildTrigger(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/CreateBuildTrigger", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudBuildServer).CreateBuildTrigger(ctx, req.(*CreateBuildTriggerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudBuild_GetBuildTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetBuildTriggerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudBuildServer).GetBuildTrigger(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/GetBuildTrigger", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudBuildServer).GetBuildTrigger(ctx, req.(*GetBuildTriggerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudBuild_ListBuildTriggers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListBuildTriggersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudBuildServer).ListBuildTriggers(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/ListBuildTriggers", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudBuildServer).ListBuildTriggers(ctx, req.(*ListBuildTriggersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudBuild_DeleteBuildTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteBuildTriggerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudBuildServer).DeleteBuildTrigger(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/DeleteBuildTrigger", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudBuildServer).DeleteBuildTrigger(ctx, req.(*DeleteBuildTriggerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudBuild_UpdateBuildTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateBuildTriggerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudBuildServer).UpdateBuildTrigger(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/UpdateBuildTrigger", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudBuildServer).UpdateBuildTrigger(ctx, req.(*UpdateBuildTriggerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudBuild_RunBuildTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RunBuildTriggerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudBuildServer).RunBuildTrigger(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/RunBuildTrigger", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudBuildServer).RunBuildTrigger(ctx, req.(*RunBuildTriggerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudBuild_CreateWorkerPool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateWorkerPoolRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudBuildServer).CreateWorkerPool(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/CreateWorkerPool", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudBuildServer).CreateWorkerPool(ctx, req.(*CreateWorkerPoolRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudBuild_GetWorkerPool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetWorkerPoolRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudBuildServer).GetWorkerPool(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/GetWorkerPool", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudBuildServer).GetWorkerPool(ctx, req.(*GetWorkerPoolRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudBuild_DeleteWorkerPool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteWorkerPoolRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudBuildServer).DeleteWorkerPool(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/DeleteWorkerPool", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudBuildServer).DeleteWorkerPool(ctx, req.(*DeleteWorkerPoolRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudBuild_UpdateWorkerPool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateWorkerPoolRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudBuildServer).UpdateWorkerPool(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/UpdateWorkerPool", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudBuildServer).UpdateWorkerPool(ctx, req.(*UpdateWorkerPoolRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudBuild_ListWorkerPools_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListWorkerPoolsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudBuildServer).ListWorkerPools(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.cloudbuild.v1.CloudBuild/ListWorkerPools", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudBuildServer).ListWorkerPools(ctx, req.(*ListWorkerPoolsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _CloudBuild_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.devtools.cloudbuild.v1.CloudBuild", - HandlerType: (*CloudBuildServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateBuild", - Handler: _CloudBuild_CreateBuild_Handler, - }, - { - MethodName: "GetBuild", - Handler: _CloudBuild_GetBuild_Handler, - }, - { - MethodName: "ListBuilds", - Handler: _CloudBuild_ListBuilds_Handler, - }, - { - MethodName: "CancelBuild", - Handler: _CloudBuild_CancelBuild_Handler, - }, - { - MethodName: "RetryBuild", - Handler: _CloudBuild_RetryBuild_Handler, - }, - { - MethodName: "CreateBuildTrigger", - Handler: _CloudBuild_CreateBuildTrigger_Handler, - }, - { - MethodName: "GetBuildTrigger", - Handler: _CloudBuild_GetBuildTrigger_Handler, - }, - { - MethodName: "ListBuildTriggers", - Handler: _CloudBuild_ListBuildTriggers_Handler, - }, - { - MethodName: "DeleteBuildTrigger", - Handler: _CloudBuild_DeleteBuildTrigger_Handler, - }, - { - MethodName: "UpdateBuildTrigger", - Handler: _CloudBuild_UpdateBuildTrigger_Handler, - }, - { - MethodName: "RunBuildTrigger", - Handler: _CloudBuild_RunBuildTrigger_Handler, - }, - { - MethodName: "CreateWorkerPool", - Handler: _CloudBuild_CreateWorkerPool_Handler, - }, - { - MethodName: "GetWorkerPool", - Handler: _CloudBuild_GetWorkerPool_Handler, - }, - { - MethodName: "DeleteWorkerPool", - Handler: _CloudBuild_DeleteWorkerPool_Handler, - }, - { - MethodName: "UpdateWorkerPool", - Handler: _CloudBuild_UpdateWorkerPool_Handler, - }, - { - MethodName: "ListWorkerPools", - Handler: _CloudBuild_ListWorkerPools_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/devtools/cloudbuild/v1/cloudbuild.proto", -} 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 deleted file mode 100644 index 7b9b5d40..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/clouddebugger/v2/controller.pb.go +++ /dev/null @@ -1,600 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/clouddebugger/v2/controller.proto - -package clouddebugger - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request to register a debuggee. -type RegisterDebuggeeRequest struct { - // Debuggee information to register. - // The fields `project`, `uniquifier`, `description` and `agent_version` - // of the debuggee must be set. - Debuggee *Debuggee `protobuf:"bytes,1,opt,name=debuggee,proto3" json:"debuggee,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_694192a34270926f, []int{0} -} - -func (m *RegisterDebuggeeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RegisterDebuggeeRequest.Unmarshal(m, b) -} -func (m *RegisterDebuggeeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RegisterDebuggeeRequest.Marshal(b, m, deterministic) -} -func (m *RegisterDebuggeeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RegisterDebuggeeRequest.Merge(m, src) -} -func (m *RegisterDebuggeeRequest) XXX_Size() int { - return xxx_messageInfo_RegisterDebuggeeRequest.Size(m) -} -func (m *RegisterDebuggeeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RegisterDebuggeeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_RegisterDebuggeeRequest proto.InternalMessageInfo - -func (m *RegisterDebuggeeRequest) GetDebuggee() *Debuggee { - if m != nil { - return m.Debuggee - } - return nil -} - -// Response for registering a debuggee. -type RegisterDebuggeeResponse struct { - // Debuggee resource. - // 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. - Debuggee *Debuggee `protobuf:"bytes,1,opt,name=debuggee,proto3" json:"debuggee,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RegisterDebuggeeResponse) Reset() { *m = RegisterDebuggeeResponse{} } -func (m *RegisterDebuggeeResponse) String() string { return proto.CompactTextString(m) } -func (*RegisterDebuggeeResponse) ProtoMessage() {} -func (*RegisterDebuggeeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_694192a34270926f, []int{1} -} - -func (m *RegisterDebuggeeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RegisterDebuggeeResponse.Unmarshal(m, b) -} -func (m *RegisterDebuggeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RegisterDebuggeeResponse.Marshal(b, m, deterministic) -} -func (m *RegisterDebuggeeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RegisterDebuggeeResponse.Merge(m, src) -} -func (m *RegisterDebuggeeResponse) XXX_Size() int { - return xxx_messageInfo_RegisterDebuggeeResponse.Size(m) -} -func (m *RegisterDebuggeeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RegisterDebuggeeResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_RegisterDebuggeeResponse proto.InternalMessageInfo - -func (m *RegisterDebuggeeResponse) GetDebuggee() *Debuggee { - if m != nil { - return m.Debuggee - } - return nil -} - -// Request to list active breakpoints. -type ListActiveBreakpointsRequest struct { - // Identifies the debuggee. - DebuggeeId string `protobuf:"bytes,1,opt,name=debuggee_id,json=debuggeeId,proto3" json:"debuggee_id,omitempty"` - // A token that, if specified, blocks the method call until the list - // of active breakpoints has changed, or a server-selected timeout has - // expired. The value should be set from the `next_wait_token` field in - // the last response. The initial value should be set to `"init"`. - WaitToken string `protobuf:"bytes,2,opt,name=wait_token,json=waitToken,proto3" json:"wait_token,omitempty"` - // If set to `true` (recommended), returns `google.rpc.Code.OK` status and - // sets the `wait_expired` response field to `true` when the server-selected - // timeout has expired. - // - // If set to `false` (deprecated), returns `google.rpc.Code.ABORTED` status - // when the server-selected timeout has expired. - SuccessOnTimeout bool `protobuf:"varint,3,opt,name=success_on_timeout,json=successOnTimeout,proto3" json:"success_on_timeout,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListActiveBreakpointsRequest) Reset() { *m = ListActiveBreakpointsRequest{} } -func (m *ListActiveBreakpointsRequest) String() string { return proto.CompactTextString(m) } -func (*ListActiveBreakpointsRequest) ProtoMessage() {} -func (*ListActiveBreakpointsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_694192a34270926f, []int{2} -} - -func (m *ListActiveBreakpointsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListActiveBreakpointsRequest.Unmarshal(m, b) -} -func (m *ListActiveBreakpointsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListActiveBreakpointsRequest.Marshal(b, m, deterministic) -} -func (m *ListActiveBreakpointsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListActiveBreakpointsRequest.Merge(m, src) -} -func (m *ListActiveBreakpointsRequest) XXX_Size() int { - return xxx_messageInfo_ListActiveBreakpointsRequest.Size(m) -} -func (m *ListActiveBreakpointsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListActiveBreakpointsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListActiveBreakpointsRequest proto.InternalMessageInfo - -func (m *ListActiveBreakpointsRequest) GetDebuggeeId() string { - if m != nil { - return m.DebuggeeId - } - return "" -} - -func (m *ListActiveBreakpointsRequest) GetWaitToken() string { - if m != nil { - return m.WaitToken - } - return "" -} - -func (m *ListActiveBreakpointsRequest) GetSuccessOnTimeout() bool { - if m != nil { - return m.SuccessOnTimeout - } - return false -} - -// Response for listing active breakpoints. -type ListActiveBreakpointsResponse struct { - // List of all active breakpoints. - // The fields `id` and `location` are guaranteed to be set on each breakpoint. - Breakpoints []*Breakpoint `protobuf:"bytes,1,rep,name=breakpoints,proto3" json:"breakpoints,omitempty"` - // A token that can be used in the next method call to block until - // the list of breakpoints changes. - NextWaitToken string `protobuf:"bytes,2,opt,name=next_wait_token,json=nextWaitToken,proto3" json:"next_wait_token,omitempty"` - // If set to `true`, indicates that there is no change to the - // list of active breakpoints and the server-selected timeout has expired. - // The `breakpoints` field would be empty and should be ignored. - WaitExpired bool `protobuf:"varint,3,opt,name=wait_expired,json=waitExpired,proto3" json:"wait_expired,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListActiveBreakpointsResponse) Reset() { *m = ListActiveBreakpointsResponse{} } -func (m *ListActiveBreakpointsResponse) String() string { return proto.CompactTextString(m) } -func (*ListActiveBreakpointsResponse) ProtoMessage() {} -func (*ListActiveBreakpointsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_694192a34270926f, []int{3} -} - -func (m *ListActiveBreakpointsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListActiveBreakpointsResponse.Unmarshal(m, b) -} -func (m *ListActiveBreakpointsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListActiveBreakpointsResponse.Marshal(b, m, deterministic) -} -func (m *ListActiveBreakpointsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListActiveBreakpointsResponse.Merge(m, src) -} -func (m *ListActiveBreakpointsResponse) XXX_Size() int { - return xxx_messageInfo_ListActiveBreakpointsResponse.Size(m) -} -func (m *ListActiveBreakpointsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListActiveBreakpointsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListActiveBreakpointsResponse proto.InternalMessageInfo - -func (m *ListActiveBreakpointsResponse) GetBreakpoints() []*Breakpoint { - if m != nil { - return m.Breakpoints - } - return nil -} - -func (m *ListActiveBreakpointsResponse) GetNextWaitToken() string { - if m != nil { - return m.NextWaitToken - } - return "" -} - -func (m *ListActiveBreakpointsResponse) GetWaitExpired() bool { - if m != nil { - return m.WaitExpired - } - return false -} - -// Request to update an active breakpoint. -type UpdateActiveBreakpointRequest struct { - // Identifies the debuggee being debugged. - DebuggeeId string `protobuf:"bytes,1,opt,name=debuggee_id,json=debuggeeId,proto3" json:"debuggee_id,omitempty"` - // Updated breakpoint information. - // The field `id` must be set. - // The agent must echo all Breakpoint specification fields in the update. - Breakpoint *Breakpoint `protobuf:"bytes,2,opt,name=breakpoint,proto3" json:"breakpoint,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpdateActiveBreakpointRequest) Reset() { *m = UpdateActiveBreakpointRequest{} } -func (m *UpdateActiveBreakpointRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateActiveBreakpointRequest) ProtoMessage() {} -func (*UpdateActiveBreakpointRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_694192a34270926f, []int{4} -} - -func (m *UpdateActiveBreakpointRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateActiveBreakpointRequest.Unmarshal(m, b) -} -func (m *UpdateActiveBreakpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateActiveBreakpointRequest.Marshal(b, m, deterministic) -} -func (m *UpdateActiveBreakpointRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateActiveBreakpointRequest.Merge(m, src) -} -func (m *UpdateActiveBreakpointRequest) XXX_Size() int { - return xxx_messageInfo_UpdateActiveBreakpointRequest.Size(m) -} -func (m *UpdateActiveBreakpointRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateActiveBreakpointRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateActiveBreakpointRequest proto.InternalMessageInfo - -func (m *UpdateActiveBreakpointRequest) GetDebuggeeId() string { - if m != nil { - return m.DebuggeeId - } - return "" -} - -func (m *UpdateActiveBreakpointRequest) GetBreakpoint() *Breakpoint { - if m != nil { - return m.Breakpoint - } - return nil -} - -// Response for updating an active breakpoint. -// The message is defined to allow future extensions. -type UpdateActiveBreakpointResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpdateActiveBreakpointResponse) Reset() { *m = UpdateActiveBreakpointResponse{} } -func (m *UpdateActiveBreakpointResponse) String() string { return proto.CompactTextString(m) } -func (*UpdateActiveBreakpointResponse) ProtoMessage() {} -func (*UpdateActiveBreakpointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_694192a34270926f, []int{5} -} - -func (m *UpdateActiveBreakpointResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateActiveBreakpointResponse.Unmarshal(m, b) -} -func (m *UpdateActiveBreakpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateActiveBreakpointResponse.Marshal(b, m, deterministic) -} -func (m *UpdateActiveBreakpointResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateActiveBreakpointResponse.Merge(m, src) -} -func (m *UpdateActiveBreakpointResponse) XXX_Size() int { - return xxx_messageInfo_UpdateActiveBreakpointResponse.Size(m) -} -func (m *UpdateActiveBreakpointResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateActiveBreakpointResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateActiveBreakpointResponse proto.InternalMessageInfo - -func init() { - proto.RegisterType((*RegisterDebuggeeRequest)(nil), "google.devtools.clouddebugger.v2.RegisterDebuggeeRequest") - proto.RegisterType((*RegisterDebuggeeResponse)(nil), "google.devtools.clouddebugger.v2.RegisterDebuggeeResponse") - proto.RegisterType((*ListActiveBreakpointsRequest)(nil), "google.devtools.clouddebugger.v2.ListActiveBreakpointsRequest") - proto.RegisterType((*ListActiveBreakpointsResponse)(nil), "google.devtools.clouddebugger.v2.ListActiveBreakpointsResponse") - proto.RegisterType((*UpdateActiveBreakpointRequest)(nil), "google.devtools.clouddebugger.v2.UpdateActiveBreakpointRequest") - proto.RegisterType((*UpdateActiveBreakpointResponse)(nil), "google.devtools.clouddebugger.v2.UpdateActiveBreakpointResponse") -} - -func init() { - proto.RegisterFile("google/devtools/clouddebugger/v2/controller.proto", fileDescriptor_694192a34270926f) -} - -var fileDescriptor_694192a34270926f = []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, - 0xc9, 0x60, 0xf4, 0xc6, 0x15, 0xfc, 0xd9, 0xaa, 0x45, 0x68, 0xb5, 0x2c, 0xb5, 0x82, 0x2c, 0x2c, - 0xd9, 0xe4, 0x18, 0x86, 0x66, 0x67, 0x62, 0x66, 0xb2, 0x56, 0x4a, 0x6f, 0xbc, 0x55, 0xbc, 0xf1, - 0x2d, 0x7c, 0x01, 0xc1, 0x0b, 0x1f, 0xc0, 0x5b, 0x7d, 0x04, 0xaf, 0x7c, 0x0a, 0xc9, 0xdf, 0xfe, - 0xb4, 0xdd, 0xa6, 0x5d, 0xbc, 0xcc, 0x77, 0xe6, 0xfb, 0xce, 0xf7, 0x4d, 0xce, 0x1c, 0x7c, 0xcb, - 0x17, 0xc2, 0x0f, 0x80, 0x7a, 0xd0, 0x57, 0x42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9e, 0x18, 0x64, 0x7f, 0x64, 0x2a, 0x0e, 0xe8, 0xe8, 0x78, 0xfe, - 0x45, 0xf8, 0xf2, 0xf1, 0xff, 0x90, 0x9c, 0xc2, 0xd7, 0x89, 0xd3, 0x68, 0x3c, 0x9c, 0x5e, 0x20, - 0x4f, 0xb6, 0x99, 0x26, 0x5b, 0x37, 0x9a, 0x67, 0x4f, 0x46, 0xf7, 0x87, 0x1f, 0x16, 0xf3, 0x0e, - 0x1a, 0xa8, 0xd6, 0xfc, 0x81, 0xf0, 0x0d, 0x57, 0xf4, 0x4a, 0x6d, 0x35, 0x17, 0x86, 0x33, 0xbb, - 0x95, 0x6c, 0xe3, 0x2d, 0xf4, 0x7a, 0x33, 0x27, 0xf9, 0x22, 0x70, 0xb8, 0x6f, 0x89, 0xc8, 0xa7, - 0x3e, 0xf0, 0x74, 0x57, 0xd3, 0xac, 0xe4, 0x84, 0x4c, 0x4e, 0x5e, 0xfc, 0xf7, 0xc6, 0x80, 0xaf, - 0x33, 0xfa, 0x7a, 0xa6, 0xb7, 0x96, 0xc0, 0xc5, 0xe6, 0x8c, 0xac, 0x1d, 0xfb, 0x67, 0x51, 0x6a, - 0xa7, 0xa5, 0x76, 0x51, 0x6a, 0xef, 0xd8, 0xdd, 0xf3, 0x69, 0xbf, 0xdb, 0xff, 0x02, 0x00, 0x00, - 0xff, 0xff, 0x54, 0xe1, 0x5c, 0x2a, 0xda, 0x06, 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 - -// Controller2Client is the client API for Controller2 service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type Controller2Client interface { - // Registers the debuggee with the controller service. - // - // All agents attached to the same application must call this method with - // exactly the same request content to get back the same stable `debuggee_id`. - // Agents should call this method again whenever `google.rpc.Code.NOT_FOUND` - // is returned from any controller method. - // - // This protocol allows the controller service to disable debuggees, recover - // from data loss, or change the `debuggee_id` format. Agents must handle - // `debuggee_id` value changing upon re-registration. - RegisterDebuggee(ctx context.Context, in *RegisterDebuggeeRequest, opts ...grpc.CallOption) (*RegisterDebuggeeResponse, error) - // Returns the list of all active breakpoints for the debuggee. - // - // The breakpoint specification (`location`, `condition`, and `expressions` - // fields) is semantically immutable, although the field values may - // change. For example, an agent may update the location line number - // to reflect the actual line where the breakpoint was set, but this - // doesn't change the breakpoint semantics. - // - // This means that an agent does not need to check if a breakpoint has changed - // when it encounters the same breakpoint on a successive call. - // Moreover, an agent should remember the breakpoints that are completed - // until the controller removes them from the active list to avoid - // setting those breakpoints again. - ListActiveBreakpoints(ctx context.Context, in *ListActiveBreakpointsRequest, opts ...grpc.CallOption) (*ListActiveBreakpointsResponse, error) - // Updates the breakpoint state or mutable fields. - // The entire Breakpoint message must be sent back to the controller service. - // - // Updates to active breakpoint fields are only allowed if the new value - // does not change the breakpoint specification. Updates to the `location`, - // `condition` and `expressions` fields should not alter the breakpoint - // semantics. These may only make changes such as canonicalizing a value - // or snapping the location to the correct line of code. - UpdateActiveBreakpoint(ctx context.Context, in *UpdateActiveBreakpointRequest, opts ...grpc.CallOption) (*UpdateActiveBreakpointResponse, error) -} - -type controller2Client struct { - cc *grpc.ClientConn -} - -func NewController2Client(cc *grpc.ClientConn) Controller2Client { - return &controller2Client{cc} -} - -func (c *controller2Client) RegisterDebuggee(ctx context.Context, in *RegisterDebuggeeRequest, opts ...grpc.CallOption) (*RegisterDebuggeeResponse, error) { - out := new(RegisterDebuggeeResponse) - err := c.cc.Invoke(ctx, "/google.devtools.clouddebugger.v2.Controller2/RegisterDebuggee", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *controller2Client) ListActiveBreakpoints(ctx context.Context, in *ListActiveBreakpointsRequest, opts ...grpc.CallOption) (*ListActiveBreakpointsResponse, error) { - out := new(ListActiveBreakpointsResponse) - err := c.cc.Invoke(ctx, "/google.devtools.clouddebugger.v2.Controller2/ListActiveBreakpoints", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *controller2Client) UpdateActiveBreakpoint(ctx context.Context, in *UpdateActiveBreakpointRequest, opts ...grpc.CallOption) (*UpdateActiveBreakpointResponse, error) { - out := new(UpdateActiveBreakpointResponse) - err := c.cc.Invoke(ctx, "/google.devtools.clouddebugger.v2.Controller2/UpdateActiveBreakpoint", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// Controller2Server is the server API for Controller2 service. -type Controller2Server interface { - // Registers the debuggee with the controller service. - // - // All agents attached to the same application must call this method with - // exactly the same request content to get back the same stable `debuggee_id`. - // Agents should call this method again whenever `google.rpc.Code.NOT_FOUND` - // is returned from any controller method. - // - // This protocol allows the controller service to disable debuggees, recover - // from data loss, or change the `debuggee_id` format. Agents must handle - // `debuggee_id` value changing upon re-registration. - RegisterDebuggee(context.Context, *RegisterDebuggeeRequest) (*RegisterDebuggeeResponse, error) - // Returns the list of all active breakpoints for the debuggee. - // - // The breakpoint specification (`location`, `condition`, and `expressions` - // fields) is semantically immutable, although the field values may - // change. For example, an agent may update the location line number - // to reflect the actual line where the breakpoint was set, but this - // doesn't change the breakpoint semantics. - // - // This means that an agent does not need to check if a breakpoint has changed - // when it encounters the same breakpoint on a successive call. - // Moreover, an agent should remember the breakpoints that are completed - // until the controller removes them from the active list to avoid - // setting those breakpoints again. - ListActiveBreakpoints(context.Context, *ListActiveBreakpointsRequest) (*ListActiveBreakpointsResponse, error) - // Updates the breakpoint state or mutable fields. - // The entire Breakpoint message must be sent back to the controller service. - // - // Updates to active breakpoint fields are only allowed if the new value - // does not change the breakpoint specification. Updates to the `location`, - // `condition` and `expressions` fields should not alter the breakpoint - // semantics. These may only make changes such as canonicalizing a value - // or snapping the location to the correct line of code. - UpdateActiveBreakpoint(context.Context, *UpdateActiveBreakpointRequest) (*UpdateActiveBreakpointResponse, error) -} - -// UnimplementedController2Server can be embedded to have forward compatible implementations. -type UnimplementedController2Server struct { -} - -func (*UnimplementedController2Server) RegisterDebuggee(ctx context.Context, req *RegisterDebuggeeRequest) (*RegisterDebuggeeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RegisterDebuggee not implemented") -} -func (*UnimplementedController2Server) ListActiveBreakpoints(ctx context.Context, req *ListActiveBreakpointsRequest) (*ListActiveBreakpointsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListActiveBreakpoints not implemented") -} -func (*UnimplementedController2Server) UpdateActiveBreakpoint(ctx context.Context, req *UpdateActiveBreakpointRequest) (*UpdateActiveBreakpointResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateActiveBreakpoint not implemented") -} - -func RegisterController2Server(s *grpc.Server, srv Controller2Server) { - s.RegisterService(&_Controller2_serviceDesc, srv) -} - -func _Controller2_RegisterDebuggee_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RegisterDebuggeeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(Controller2Server).RegisterDebuggee(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.clouddebugger.v2.Controller2/RegisterDebuggee", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(Controller2Server).RegisterDebuggee(ctx, req.(*RegisterDebuggeeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Controller2_ListActiveBreakpoints_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListActiveBreakpointsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(Controller2Server).ListActiveBreakpoints(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.clouddebugger.v2.Controller2/ListActiveBreakpoints", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(Controller2Server).ListActiveBreakpoints(ctx, req.(*ListActiveBreakpointsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Controller2_UpdateActiveBreakpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateActiveBreakpointRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(Controller2Server).UpdateActiveBreakpoint(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.clouddebugger.v2.Controller2/UpdateActiveBreakpoint", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(Controller2Server).UpdateActiveBreakpoint(ctx, req.(*UpdateActiveBreakpointRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Controller2_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.devtools.clouddebugger.v2.Controller2", - HandlerType: (*Controller2Server)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "RegisterDebuggee", - Handler: _Controller2_RegisterDebuggee_Handler, - }, - { - MethodName: "ListActiveBreakpoints", - Handler: _Controller2_ListActiveBreakpoints_Handler, - }, - { - MethodName: "UpdateActiveBreakpoint", - Handler: _Controller2_UpdateActiveBreakpoint_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/devtools/clouddebugger/v2/controller.proto", -} 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 deleted file mode 100644 index 69481265..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/clouddebugger/v2/data.pb.go +++ /dev/null @@ -1,1089 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/clouddebugger/v2/data.proto - -package clouddebugger - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "google.golang.org/genproto/googleapis/api/annotations" - v1 "google.golang.org/genproto/googleapis/devtools/source/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Enumerates references to which the message applies. -type StatusMessage_Reference int32 - -const ( - // Status doesn't refer to any particular input. - StatusMessage_UNSPECIFIED StatusMessage_Reference = 0 - // Status applies to the breakpoint and is related to its location. - StatusMessage_BREAKPOINT_SOURCE_LOCATION StatusMessage_Reference = 3 - // Status applies to the breakpoint and is related to its condition. - StatusMessage_BREAKPOINT_CONDITION StatusMessage_Reference = 4 - // Status applies to the breakpoint and is related to its expressions. - StatusMessage_BREAKPOINT_EXPRESSION StatusMessage_Reference = 7 - // Status applies to the breakpoint and is related to its age. - StatusMessage_BREAKPOINT_AGE StatusMessage_Reference = 8 - // Status applies to the entire variable. - StatusMessage_VARIABLE_NAME StatusMessage_Reference = 5 - // Status applies to variable value (variable name is valid). - StatusMessage_VARIABLE_VALUE StatusMessage_Reference = 6 -) - -var StatusMessage_Reference_name = map[int32]string{ - 0: "UNSPECIFIED", - 3: "BREAKPOINT_SOURCE_LOCATION", - 4: "BREAKPOINT_CONDITION", - 7: "BREAKPOINT_EXPRESSION", - 8: "BREAKPOINT_AGE", - 5: "VARIABLE_NAME", - 6: "VARIABLE_VALUE", -} - -var StatusMessage_Reference_value = map[string]int32{ - "UNSPECIFIED": 0, - "BREAKPOINT_SOURCE_LOCATION": 3, - "BREAKPOINT_CONDITION": 4, - "BREAKPOINT_EXPRESSION": 7, - "BREAKPOINT_AGE": 8, - "VARIABLE_NAME": 5, - "VARIABLE_VALUE": 6, -} - -func (x StatusMessage_Reference) String() string { - return proto.EnumName(StatusMessage_Reference_name, int32(x)) -} - -func (StatusMessage_Reference) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_af1dc785e55f21bc, []int{1, 0} -} - -// Actions that can be taken when a breakpoint hits. -// Agents should reject breakpoints with unsupported or unknown action values. -type Breakpoint_Action int32 - -const ( - // Capture stack frame and variables and update the breakpoint. - // The data is only captured once. After that the breakpoint is set - // in a final state. - Breakpoint_CAPTURE Breakpoint_Action = 0 - // Log each breakpoint hit. The breakpoint remains active until - // deleted or expired. - Breakpoint_LOG Breakpoint_Action = 1 -) - -var Breakpoint_Action_name = map[int32]string{ - 0: "CAPTURE", - 1: "LOG", -} - -var Breakpoint_Action_value = map[string]int32{ - "CAPTURE": 0, - "LOG": 1, -} - -func (x Breakpoint_Action) String() string { - return proto.EnumName(Breakpoint_Action_name, int32(x)) -} - -func (Breakpoint_Action) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_af1dc785e55f21bc, []int{5, 0} -} - -// Log severity levels. -type Breakpoint_LogLevel int32 - -const ( - // Information log message. - Breakpoint_INFO Breakpoint_LogLevel = 0 - // Warning log message. - Breakpoint_WARNING Breakpoint_LogLevel = 1 - // Error log message. - Breakpoint_ERROR Breakpoint_LogLevel = 2 -) - -var Breakpoint_LogLevel_name = map[int32]string{ - 0: "INFO", - 1: "WARNING", - 2: "ERROR", -} - -var Breakpoint_LogLevel_value = map[string]int32{ - "INFO": 0, - "WARNING": 1, - "ERROR": 2, -} - -func (x Breakpoint_LogLevel) String() string { - return proto.EnumName(Breakpoint_LogLevel_name, int32(x)) -} - -func (Breakpoint_LogLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_af1dc785e55f21bc, []int{5, 1} -} - -// Represents a message with parameters. -type FormatMessage struct { - // Format template for the message. The `format` uses placeholders `$0`, - // `$1`, etc. to reference parameters. `$$` can be used to denote the `$` - // character. - // - // Examples: - // - // * `Failed to load '$0' which helps debug $1 the first time it - // is loaded. Again, $0 is very important.` - // * `Please pay $$10 to use $0 instead of $1.` - Format string `protobuf:"bytes,1,opt,name=format,proto3" json:"format,omitempty"` - // Optional parameters to be embedded into the message. - Parameters []string `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_af1dc785e55f21bc, []int{0} -} - -func (m *FormatMessage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FormatMessage.Unmarshal(m, b) -} -func (m *FormatMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FormatMessage.Marshal(b, m, deterministic) -} -func (m *FormatMessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_FormatMessage.Merge(m, src) -} -func (m *FormatMessage) XXX_Size() int { - return xxx_messageInfo_FormatMessage.Size(m) -} -func (m *FormatMessage) XXX_DiscardUnknown() { - xxx_messageInfo_FormatMessage.DiscardUnknown(m) -} - -var xxx_messageInfo_FormatMessage proto.InternalMessageInfo - -func (m *FormatMessage) GetFormat() string { - if m != nil { - return m.Format - } - return "" -} - -func (m *FormatMessage) GetParameters() []string { - if m != nil { - return m.Parameters - } - return nil -} - -// Represents a contextual status message. -// The message can indicate an error or informational status, and refer to -// specific parts of the containing object. -// For example, the `Breakpoint.status` field can indicate an error referring -// to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`. -type StatusMessage struct { - // Distinguishes errors from informational messages. - IsError bool `protobuf:"varint,1,opt,name=is_error,json=isError,proto3" json:"is_error,omitempty"` - // Reference to which the message applies. - RefersTo StatusMessage_Reference `protobuf:"varint,2,opt,name=refers_to,json=refersTo,proto3,enum=google.devtools.clouddebugger.v2.StatusMessage_Reference" json:"refers_to,omitempty"` - // Status message text. - Description *FormatMessage `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_af1dc785e55f21bc, []int{1} -} - -func (m *StatusMessage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StatusMessage.Unmarshal(m, b) -} -func (m *StatusMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StatusMessage.Marshal(b, m, deterministic) -} -func (m *StatusMessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_StatusMessage.Merge(m, src) -} -func (m *StatusMessage) XXX_Size() int { - return xxx_messageInfo_StatusMessage.Size(m) -} -func (m *StatusMessage) XXX_DiscardUnknown() { - xxx_messageInfo_StatusMessage.DiscardUnknown(m) -} - -var xxx_messageInfo_StatusMessage proto.InternalMessageInfo - -func (m *StatusMessage) GetIsError() bool { - if m != nil { - return m.IsError - } - return false -} - -func (m *StatusMessage) GetRefersTo() StatusMessage_Reference { - if m != nil { - return m.RefersTo - } - return StatusMessage_UNSPECIFIED -} - -func (m *StatusMessage) GetDescription() *FormatMessage { - if m != nil { - return m.Description - } - return nil -} - -// Represents a location in the source code. -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"` - // 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:"-"` -} - -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_af1dc785e55f21bc, []int{2} -} - -func (m *SourceLocation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SourceLocation.Unmarshal(m, b) -} -func (m *SourceLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SourceLocation.Marshal(b, m, deterministic) -} -func (m *SourceLocation) XXX_Merge(src proto.Message) { - xxx_messageInfo_SourceLocation.Merge(m, src) -} -func (m *SourceLocation) XXX_Size() int { - return xxx_messageInfo_SourceLocation.Size(m) -} -func (m *SourceLocation) XXX_DiscardUnknown() { - xxx_messageInfo_SourceLocation.DiscardUnknown(m) -} - -var xxx_messageInfo_SourceLocation proto.InternalMessageInfo - -func (m *SourceLocation) GetPath() string { - if m != nil { - return m.Path - } - return "" -} - -func (m *SourceLocation) GetLine() int32 { - if m != nil { - return m.Line - } - 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: -// -// 1) A simple variable: -// -// int x = 5 -// -// { name: "x", value: "5", type: "int" } // Captured variable -// -// 2) A compound object: -// -// struct T { -// int m1; -// int m2; -// }; -// T x = { 3, 7 }; -// -// { // Captured variable -// name: "x", -// type: "T", -// members { name: "m1", value: "3", type: "int" }, -// members { name: "m2", value: "7", type: "int" } -// } -// -// 3) A pointer where the pointee was captured: -// -// T x = { 3, 7 }; -// T* p = &x; -// -// { // Captured variable -// name: "p", -// type: "T*", -// value: "0x00500500", -// members { name: "m1", value: "3", type: "int" }, -// members { name: "m2", value: "7", type: "int" } -// } -// -// 4) A pointer where the pointee was not captured: -// -// T* p = new T; -// -// { // Captured variable -// name: "p", -// type: "T*", -// value: "0x00400400" -// status { is_error: true, description { format: "unavailable" } } -// } -// -// The status should describe the reason for the missing value, -// such as ``, ``, ``. -// -// Note that a null pointer should not have members. -// -// 5) An unnamed value: -// -// int* p = new int(7); -// -// { // Captured variable -// name: "p", -// value: "0x00500500", -// type: "int*", -// members { value: "7", type: "int" } } -// -// 6) An unnamed pointer where the pointee was not captured: -// -// int* p = new int(7); -// int** pp = &p; -// -// { // Captured variable -// name: "pp", -// value: "0x00500500", -// type: "int**", -// members { -// value: "0x00400400", -// type: "int*" -// status { -// is_error: true, -// description: { format: "unavailable" } } -// } -// } -// } -// -// To optimize computation, memory and network traffic, variables that -// repeat in the output multiple times can be stored once in a shared -// variable table and be referenced using the `var_table_index` field. The -// variables stored in the shared table are nameless and are essentially -// a partition of the complete variable. To reconstruct the complete -// variable, merge the referencing variable with the referenced variable. -// -// When using the shared variable table, the following variables: -// -// T x = { 3, 7 }; -// T* p = &x; -// T& r = x; -// -// { name: "x", var_table_index: 3, type: "T" } // Captured variables -// { name: "p", value "0x00500500", type="T*", var_table_index: 3 } -// { name: "r", type="T&", var_table_index: 3 } -// -// { // Shared variable table entry #3: -// members { name: "m1", value: "3", type: "int" }, -// members { name: "m2", value: "7", type: "int" } -// } -// -// Note that the pointer address is stored with the referencing variable -// and not with the referenced variable. This allows the referenced variable -// to be shared between pointers and references. -// -// The type field is optional. The debugger agent may or may not support it. -type Variable struct { - // Name of the variable, if any. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Simple value of the variable. - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - // Variable type (e.g. `MyClass`). If the variable is split with - // `var_table_index`, `type` goes next to `value`. The interpretation of - // a type is agent specific. It is recommended to include the dynamic type - // rather than a static type of an object. - Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"` - // Members contained or pointed to by the variable. - Members []*Variable `protobuf:"bytes,3,rep,name=members,proto3" json:"members,omitempty"` - // Reference to a variable in the shared variable table. More than - // one variable can reference the same variable in the table. The - // `var_table_index` field is an index into `variable_table` in Breakpoint. - VarTableIndex *wrappers.Int32Value `protobuf:"bytes,4,opt,name=var_table_index,json=varTableIndex,proto3" json:"var_table_index,omitempty"` - // Status associated with the variable. This field will usually stay - // unset. A status of a single variable only applies to that variable or - // expression. The rest of breakpoint data still remains valid. Variables - // might be reported in error state even when breakpoint is not in final - // state. - // - // The message may refer to variable name with `refers_to` set to - // `VARIABLE_NAME`. Alternatively `refers_to` will be set to `VARIABLE_VALUE`. - // In either case variable value and members will be unset. - // - // Example of error message applied to name: `Invalid expression syntax`. - // - // Example of information message applied to value: `Not captured`. - // - // Examples of error message applied to value: - // - // * `Malformed string`, - // * `Field f not found in class C` - // * `Null pointer dereference` - Status *StatusMessage `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_af1dc785e55f21bc, []int{3} -} - -func (m *Variable) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Variable.Unmarshal(m, b) -} -func (m *Variable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Variable.Marshal(b, m, deterministic) -} -func (m *Variable) XXX_Merge(src proto.Message) { - xxx_messageInfo_Variable.Merge(m, src) -} -func (m *Variable) XXX_Size() int { - return xxx_messageInfo_Variable.Size(m) -} -func (m *Variable) XXX_DiscardUnknown() { - xxx_messageInfo_Variable.DiscardUnknown(m) -} - -var xxx_messageInfo_Variable proto.InternalMessageInfo - -func (m *Variable) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Variable) GetValue() string { - if m != nil { - return m.Value - } - return "" -} - -func (m *Variable) GetType() string { - if m != nil { - return m.Type - } - return "" -} - -func (m *Variable) GetMembers() []*Variable { - if m != nil { - return m.Members - } - return nil -} - -func (m *Variable) GetVarTableIndex() *wrappers.Int32Value { - if m != nil { - return m.VarTableIndex - } - return nil -} - -func (m *Variable) GetStatus() *StatusMessage { - if m != nil { - return m.Status - } - return nil -} - -// Represents a stack frame context. -type StackFrame struct { - // Demangled function name at the call site. - Function string `protobuf:"bytes,1,opt,name=function,proto3" json:"function,omitempty"` - // Source location of the call site. - Location *SourceLocation `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` - // Set of arguments passed to this function. - // Note that this might not be populated for all stack frames. - Arguments []*Variable `protobuf:"bytes,3,rep,name=arguments,proto3" json:"arguments,omitempty"` - // Set of local variables at the stack frame location. - // Note that this might not be populated for all stack frames. - Locals []*Variable `protobuf:"bytes,4,rep,name=locals,proto3" json:"locals,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_af1dc785e55f21bc, []int{4} -} - -func (m *StackFrame) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StackFrame.Unmarshal(m, b) -} -func (m *StackFrame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StackFrame.Marshal(b, m, deterministic) -} -func (m *StackFrame) XXX_Merge(src proto.Message) { - xxx_messageInfo_StackFrame.Merge(m, src) -} -func (m *StackFrame) XXX_Size() int { - return xxx_messageInfo_StackFrame.Size(m) -} -func (m *StackFrame) XXX_DiscardUnknown() { - xxx_messageInfo_StackFrame.DiscardUnknown(m) -} - -var xxx_messageInfo_StackFrame proto.InternalMessageInfo - -func (m *StackFrame) GetFunction() string { - if m != nil { - return m.Function - } - return "" -} - -func (m *StackFrame) GetLocation() *SourceLocation { - if m != nil { - return m.Location - } - return nil -} - -func (m *StackFrame) GetArguments() []*Variable { - if m != nil { - return m.Arguments - } - return nil -} - -func (m *StackFrame) GetLocals() []*Variable { - if m != nil { - return m.Locals - } - return nil -} - -// Represents the breakpoint specification, status and results. -type Breakpoint struct { - // Breakpoint identifier, unique in the scope of the debuggee. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // Action that the agent should perform when the code at the - // breakpoint location is hit. - Action Breakpoint_Action `protobuf:"varint,13,opt,name=action,proto3,enum=google.devtools.clouddebugger.v2.Breakpoint_Action" json:"action,omitempty"` - // Breakpoint source location. - Location *SourceLocation `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` - // Condition that triggers the breakpoint. - // The condition is a compound boolean expression composed using expressions - // in a programming language at the source location. - Condition string `protobuf:"bytes,3,opt,name=condition,proto3" json:"condition,omitempty"` - // List of read-only expressions to evaluate at the breakpoint location. - // The expressions are composed using expressions in the programming language - // at the source location. If the breakpoint action is `LOG`, the evaluated - // expressions are included in log statements. - Expressions []string `protobuf:"bytes,4,rep,name=expressions,proto3" json:"expressions,omitempty"` - // Only relevant when action is `LOG`. Defines the message to log when - // the breakpoint hits. The message may include parameter placeholders `$0`, - // `$1`, etc. These placeholders are replaced with the evaluated value - // of the appropriate expression. Expressions not referenced in - // `log_message_format` are not logged. - // - // Example: `Message received, id = $0, count = $1` with - // `expressions` = `[ message.id, message.count ]`. - LogMessageFormat string `protobuf:"bytes,14,opt,name=log_message_format,json=logMessageFormat,proto3" json:"log_message_format,omitempty"` - // Indicates the severity of the log. Only relevant when action is `LOG`. - LogLevel Breakpoint_LogLevel `protobuf:"varint,15,opt,name=log_level,json=logLevel,proto3,enum=google.devtools.clouddebugger.v2.Breakpoint_LogLevel" json:"log_level,omitempty"` - // When true, indicates that this is a final result and the - // breakpoint state will not change from here on. - IsFinalState bool `protobuf:"varint,5,opt,name=is_final_state,json=isFinalState,proto3" json:"is_final_state,omitempty"` - // Time this breakpoint was created by the server in seconds resolution. - CreateTime *timestamp.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Time this breakpoint was finalized as seen by the server in seconds - // resolution. - FinalTime *timestamp.Timestamp `protobuf:"bytes,12,opt,name=final_time,json=finalTime,proto3" json:"final_time,omitempty"` - // E-mail address of the user that created this breakpoint - UserEmail string `protobuf:"bytes,16,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` - // Breakpoint status. - // - // The status includes an error flag and a human readable message. - // This field is usually unset. The message can be either - // informational or an error message. Regardless, clients should always - // display the text message back to the user. - // - // Error status indicates complete failure of the breakpoint. - // - // Example (non-final state): `Still loading symbols...` - // - // Examples (final state): - // - // * `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, 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 - // are listed in the `expressions` field. - // The `name` field holds the original expression text, the `value` or - // `members` field holds the result of the evaluated expression. - // If the expression cannot be evaluated, the `status` inside the `Variable` - // will indicate an error and contain the error text. - EvaluatedExpressions []*Variable `protobuf:"bytes,8,rep,name=evaluated_expressions,json=evaluatedExpressions,proto3" json:"evaluated_expressions,omitempty"` - // The `variable_table` exists to aid with computation, memory and network - // traffic optimization. It enables storing a variable once and reference - // it from multiple variables, including variables stored in the - // `variable_table` itself. - // For example, the same `this` object, which may appear at many levels of - // the stack, can have all of its data stored once in this table. The - // stack frame variables then would hold only a reference to it. - // - // The variable `var_table_index` field is an index into this repeated field. - // The stored objects are nameless and get their name from the referencing - // variable. The effective variable is a merge of the referencing variable - // and the referenced variable. - VariableTable []*Variable `protobuf:"bytes,9,rep,name=variable_table,json=variableTable,proto3" json:"variable_table,omitempty"` - // A set of custom breakpoint properties, populated by the agent, to be - // displayed to the user. - Labels map[string]string `protobuf:"bytes,17,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 *Breakpoint) Reset() { *m = Breakpoint{} } -func (m *Breakpoint) String() string { return proto.CompactTextString(m) } -func (*Breakpoint) ProtoMessage() {} -func (*Breakpoint) Descriptor() ([]byte, []int) { - return fileDescriptor_af1dc785e55f21bc, []int{5} -} - -func (m *Breakpoint) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Breakpoint.Unmarshal(m, b) -} -func (m *Breakpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Breakpoint.Marshal(b, m, deterministic) -} -func (m *Breakpoint) XXX_Merge(src proto.Message) { - xxx_messageInfo_Breakpoint.Merge(m, src) -} -func (m *Breakpoint) XXX_Size() int { - return xxx_messageInfo_Breakpoint.Size(m) -} -func (m *Breakpoint) XXX_DiscardUnknown() { - xxx_messageInfo_Breakpoint.DiscardUnknown(m) -} - -var xxx_messageInfo_Breakpoint proto.InternalMessageInfo - -func (m *Breakpoint) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *Breakpoint) GetAction() Breakpoint_Action { - if m != nil { - return m.Action - } - return Breakpoint_CAPTURE -} - -func (m *Breakpoint) GetLocation() *SourceLocation { - if m != nil { - return m.Location - } - return nil -} - -func (m *Breakpoint) GetCondition() string { - if m != nil { - return m.Condition - } - return "" -} - -func (m *Breakpoint) GetExpressions() []string { - if m != nil { - return m.Expressions - } - return nil -} - -func (m *Breakpoint) GetLogMessageFormat() string { - if m != nil { - return m.LogMessageFormat - } - return "" -} - -func (m *Breakpoint) GetLogLevel() Breakpoint_LogLevel { - if m != nil { - return m.LogLevel - } - return Breakpoint_INFO -} - -func (m *Breakpoint) GetIsFinalState() bool { - if m != nil { - return m.IsFinalState - } - return false -} - -func (m *Breakpoint) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *Breakpoint) GetFinalTime() *timestamp.Timestamp { - if m != nil { - return m.FinalTime - } - return nil -} - -func (m *Breakpoint) GetUserEmail() string { - if m != nil { - return m.UserEmail - } - return "" -} - -func (m *Breakpoint) GetStatus() *StatusMessage { - if m != nil { - return m.Status - } - return nil -} - -func (m *Breakpoint) GetStackFrames() []*StackFrame { - if m != nil { - return m.StackFrames - } - return nil -} - -func (m *Breakpoint) GetEvaluatedExpressions() []*Variable { - if m != nil { - return m.EvaluatedExpressions - } - return nil -} - -func (m *Breakpoint) GetVariableTable() []*Variable { - if m != nil { - return m.VariableTable - } - return nil -} - -func (m *Breakpoint) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -// Represents the debugged application. The application may include one or more -// replicated processes executing the same code. Each of these processes is -// attached with a debugger agent, carrying out the debugging commands. -// Agents attached to the same debuggee identify themselves as such by using -// exactly the same Debuggee message value when registering. -type Debuggee struct { - // Unique identifier for the debuggee generated by the controller service. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // 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 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 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"` - // Human readable description of the debuggee. - // Including a human-readable project name, environment name and version - // information is recommended. - Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` - // If set to `true`, indicates that Controller service does not detect any - // activity from the debuggee agents and the application is possibly stopped. - IsInactive bool `protobuf:"varint,5,opt,name=is_inactive,json=isInactive,proto3" json:"is_inactive,omitempty"` - // Version ID of the agent. - // Schema: `domain/language-platform/vmajor.minor` (for example - // `google.com/java-gcp/v1.1`). - AgentVersion string `protobuf:"bytes,6,opt,name=agent_version,json=agentVersion,proto3" json:"agent_version,omitempty"` - // If set to `true`, indicates that the agent should disable itself and - // detach from the debuggee. - IsDisabled bool `protobuf:"varint,7,opt,name=is_disabled,json=isDisabled,proto3" json:"is_disabled,omitempty"` - // Human readable message to be displayed to the user about this debuggee. - // Absence of this field indicates no status. The message can be either - // informational or an error status. - Status *StatusMessage `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"` - // References to the locations and revisions of the source code used in the - // deployed application. - 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. - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_af1dc785e55f21bc, []int{6} -} - -func (m *Debuggee) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Debuggee.Unmarshal(m, b) -} -func (m *Debuggee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Debuggee.Marshal(b, m, deterministic) -} -func (m *Debuggee) XXX_Merge(src proto.Message) { - xxx_messageInfo_Debuggee.Merge(m, src) -} -func (m *Debuggee) XXX_Size() int { - return xxx_messageInfo_Debuggee.Size(m) -} -func (m *Debuggee) XXX_DiscardUnknown() { - xxx_messageInfo_Debuggee.DiscardUnknown(m) -} - -var xxx_messageInfo_Debuggee proto.InternalMessageInfo - -func (m *Debuggee) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *Debuggee) GetProject() string { - if m != nil { - return m.Project - } - return "" -} - -func (m *Debuggee) GetUniquifier() string { - if m != nil { - return m.Uniquifier - } - return "" -} - -func (m *Debuggee) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *Debuggee) GetIsInactive() bool { - if m != nil { - return m.IsInactive - } - return false -} - -func (m *Debuggee) GetAgentVersion() string { - if m != nil { - return m.AgentVersion - } - return "" -} - -func (m *Debuggee) GetIsDisabled() bool { - if m != nil { - return m.IsDisabled - } - return false -} - -func (m *Debuggee) GetStatus() *StatusMessage { - if m != nil { - return m.Status - } - return nil -} - -func (m *Debuggee) GetSourceContexts() []*v1.SourceContext { - if m != nil { - return m.SourceContexts - } - return nil -} - -// Deprecated: Do not use. -func (m *Debuggee) GetExtSourceContexts() []*v1.ExtendedSourceContext { - if m != nil { - return m.ExtSourceContexts - } - return nil -} - -func (m *Debuggee) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -func init() { - proto.RegisterEnum("google.devtools.clouddebugger.v2.StatusMessage_Reference", StatusMessage_Reference_name, StatusMessage_Reference_value) - proto.RegisterEnum("google.devtools.clouddebugger.v2.Breakpoint_Action", Breakpoint_Action_name, Breakpoint_Action_value) - proto.RegisterEnum("google.devtools.clouddebugger.v2.Breakpoint_LogLevel", Breakpoint_LogLevel_name, Breakpoint_LogLevel_value) - proto.RegisterType((*FormatMessage)(nil), "google.devtools.clouddebugger.v2.FormatMessage") - proto.RegisterType((*StatusMessage)(nil), "google.devtools.clouddebugger.v2.StatusMessage") - proto.RegisterType((*SourceLocation)(nil), "google.devtools.clouddebugger.v2.SourceLocation") - proto.RegisterType((*Variable)(nil), "google.devtools.clouddebugger.v2.Variable") - proto.RegisterType((*StackFrame)(nil), "google.devtools.clouddebugger.v2.StackFrame") - proto.RegisterType((*Breakpoint)(nil), "google.devtools.clouddebugger.v2.Breakpoint") - proto.RegisterMapType((map[string]string)(nil), "google.devtools.clouddebugger.v2.Breakpoint.LabelsEntry") - proto.RegisterType((*Debuggee)(nil), "google.devtools.clouddebugger.v2.Debuggee") - proto.RegisterMapType((map[string]string)(nil), "google.devtools.clouddebugger.v2.Debuggee.LabelsEntry") -} - -func init() { - proto.RegisterFile("google/devtools/clouddebugger/v2/data.proto", fileDescriptor_af1dc785e55f21bc) -} - -var fileDescriptor_af1dc785e55f21bc = []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, 0xf3, 0x18, - 0x7d, 0x82, 0x4e, 0xdf, 0xa0, 0x6f, 0xd0, 0x97, 0xe8, 0x7d, 0x9f, 0xa0, 0x97, 0x9d, 0x5d, 0xad, - 0x88, 0x48, 0x9a, 0x12, 0x37, 0xb9, 0xdb, 0xfd, 0xce, 0x39, 0xdf, 0x8a, 0x6f, 0xbf, 0x73, 0x24, - 0xe0, 0x0b, 0x2f, 0x8a, 0xbc, 0x80, 0x36, 0x5d, 0xba, 0x12, 0x51, 0x14, 0xf0, 0xe6, 0x34, 0x88, - 0x96, 0xae, 0x4b, 0xcf, 0x97, 0x9e, 0x47, 0x59, 0x73, 0xd5, 0x6a, 0xba, 0x44, 0x90, 0xc6, 0x82, - 0x45, 0x22, 0x42, 0xb5, 0x38, 0xb9, 0x91, 0x24, 0x37, 0x36, 0x92, 0x1b, 0xab, 0xd6, 0xfe, 0x4d, - 0x4d, 0x47, 0x16, 0x7e, 0x93, 0x84, 0x61, 0x24, 0x88, 0xf0, 0xa3, 0x90, 0xc7, 0xf5, 0xfb, 0x8d, - 0xd7, 0x0f, 0xe3, 0xd1, 0x92, 0x4d, 0x69, 0x73, 0x75, 0x4f, 0xaf, 0x9c, 0x69, 0x14, 0x0a, 0x7a, - 0x21, 0x74, 0xfe, 0x81, 0xce, 0x57, 0xbb, 0xf3, 0xe5, 0xac, 0xe9, 0x2e, 0x99, 0x22, 0xd4, 0xf1, - 0x5b, 0xaf, 0xc7, 0x85, 0x3f, 0xa7, 0x5c, 0x90, 0xf9, 0xe2, 0x6d, 0x04, 0x3f, 0x33, 0xb2, 0x58, - 0x50, 0xa6, 0x1f, 0xa8, 0x7e, 0x02, 0xe5, 0xe3, 0x88, 0xcd, 0x89, 0x78, 0x42, 0x39, 0x27, 0x1e, - 0x45, 0x1f, 0x43, 0x61, 0xa6, 0x00, 0x2b, 0x53, 0xcb, 0x1c, 0x9a, 0x58, 0xef, 0xd0, 0x01, 0xc0, - 0x82, 0x30, 0x32, 0xa7, 0x82, 0x32, 0x6e, 0x65, 0x6b, 0xb9, 0x43, 0x13, 0xa7, 0x90, 0xfa, 0xcb, - 0x1c, 0x94, 0xc7, 0x82, 0x88, 0x25, 0x4f, 0x98, 0x6e, 0x80, 0xe1, 0x73, 0x87, 0x32, 0x16, 0x31, - 0xc5, 0x65, 0xe0, 0xa2, 0xcf, 0x6d, 0xb9, 0x45, 0x13, 0x30, 0x19, 0x9d, 0x51, 0xc6, 0x1d, 0x11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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 deleted file mode 100644 index 9fe0809d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/clouddebugger/v2/debugger.pb.go +++ /dev/null @@ -1,908 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/clouddebugger/v2/debugger.proto - -package clouddebugger - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request to set a breakpoint -type SetBreakpointRequest struct { - // ID of the debuggee where the breakpoint is to be set. - DebuggeeId string `protobuf:"bytes,1,opt,name=debuggee_id,json=debuggeeId,proto3" json:"debuggee_id,omitempty"` - // Breakpoint specification to set. - // The field `location` of the breakpoint must be set. - Breakpoint *Breakpoint `protobuf:"bytes,2,opt,name=breakpoint,proto3" json:"breakpoint,omitempty"` - // The client version making the call. - // Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). - ClientVersion string `protobuf:"bytes,4,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_682c945d4794189b, []int{0} -} - -func (m *SetBreakpointRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetBreakpointRequest.Unmarshal(m, b) -} -func (m *SetBreakpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetBreakpointRequest.Marshal(b, m, deterministic) -} -func (m *SetBreakpointRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetBreakpointRequest.Merge(m, src) -} -func (m *SetBreakpointRequest) XXX_Size() int { - return xxx_messageInfo_SetBreakpointRequest.Size(m) -} -func (m *SetBreakpointRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetBreakpointRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetBreakpointRequest proto.InternalMessageInfo - -func (m *SetBreakpointRequest) GetDebuggeeId() string { - if m != nil { - return m.DebuggeeId - } - return "" -} - -func (m *SetBreakpointRequest) GetBreakpoint() *Breakpoint { - if m != nil { - return m.Breakpoint - } - return nil -} - -func (m *SetBreakpointRequest) GetClientVersion() string { - if m != nil { - return m.ClientVersion - } - return "" -} - -// Response for setting a breakpoint. -type SetBreakpointResponse struct { - // Breakpoint resource. - // The field `id` is guaranteed to be set (in addition to the echoed fileds). - Breakpoint *Breakpoint `protobuf:"bytes,1,opt,name=breakpoint,proto3" json:"breakpoint,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_682c945d4794189b, []int{1} -} - -func (m *SetBreakpointResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetBreakpointResponse.Unmarshal(m, b) -} -func (m *SetBreakpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetBreakpointResponse.Marshal(b, m, deterministic) -} -func (m *SetBreakpointResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetBreakpointResponse.Merge(m, src) -} -func (m *SetBreakpointResponse) XXX_Size() int { - return xxx_messageInfo_SetBreakpointResponse.Size(m) -} -func (m *SetBreakpointResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SetBreakpointResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SetBreakpointResponse proto.InternalMessageInfo - -func (m *SetBreakpointResponse) GetBreakpoint() *Breakpoint { - if m != nil { - return m.Breakpoint - } - return nil -} - -// Request to get breakpoint information. -type GetBreakpointRequest struct { - // ID of the debuggee whose breakpoint to get. - DebuggeeId string `protobuf:"bytes,1,opt,name=debuggee_id,json=debuggeeId,proto3" json:"debuggee_id,omitempty"` - // ID of the breakpoint to get. - BreakpointId string `protobuf:"bytes,2,opt,name=breakpoint_id,json=breakpointId,proto3" json:"breakpoint_id,omitempty"` - // The client version making the call. - // Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). - ClientVersion string `protobuf:"bytes,4,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_682c945d4794189b, []int{2} -} - -func (m *GetBreakpointRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetBreakpointRequest.Unmarshal(m, b) -} -func (m *GetBreakpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetBreakpointRequest.Marshal(b, m, deterministic) -} -func (m *GetBreakpointRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBreakpointRequest.Merge(m, src) -} -func (m *GetBreakpointRequest) XXX_Size() int { - return xxx_messageInfo_GetBreakpointRequest.Size(m) -} -func (m *GetBreakpointRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetBreakpointRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetBreakpointRequest proto.InternalMessageInfo - -func (m *GetBreakpointRequest) GetDebuggeeId() string { - if m != nil { - return m.DebuggeeId - } - return "" -} - -func (m *GetBreakpointRequest) GetBreakpointId() string { - if m != nil { - return m.BreakpointId - } - return "" -} - -func (m *GetBreakpointRequest) GetClientVersion() string { - if m != nil { - return m.ClientVersion - } - return "" -} - -// Response for getting breakpoint information. -type GetBreakpointResponse struct { - // Complete breakpoint state. - // The fields `id` and `location` are guaranteed to be set. - Breakpoint *Breakpoint `protobuf:"bytes,1,opt,name=breakpoint,proto3" json:"breakpoint,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_682c945d4794189b, []int{3} -} - -func (m *GetBreakpointResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetBreakpointResponse.Unmarshal(m, b) -} -func (m *GetBreakpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetBreakpointResponse.Marshal(b, m, deterministic) -} -func (m *GetBreakpointResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBreakpointResponse.Merge(m, src) -} -func (m *GetBreakpointResponse) XXX_Size() int { - return xxx_messageInfo_GetBreakpointResponse.Size(m) -} -func (m *GetBreakpointResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetBreakpointResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GetBreakpointResponse proto.InternalMessageInfo - -func (m *GetBreakpointResponse) GetBreakpoint() *Breakpoint { - if m != nil { - return m.Breakpoint - } - return nil -} - -// Request to delete a breakpoint. -type DeleteBreakpointRequest struct { - // ID of the debuggee whose breakpoint to delete. - DebuggeeId string `protobuf:"bytes,1,opt,name=debuggee_id,json=debuggeeId,proto3" json:"debuggee_id,omitempty"` - // ID of the breakpoint to delete. - BreakpointId string `protobuf:"bytes,2,opt,name=breakpoint_id,json=breakpointId,proto3" json:"breakpoint_id,omitempty"` - // The client version making the call. - // Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). - ClientVersion string `protobuf:"bytes,3,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_682c945d4794189b, []int{4} -} - -func (m *DeleteBreakpointRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteBreakpointRequest.Unmarshal(m, b) -} -func (m *DeleteBreakpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteBreakpointRequest.Marshal(b, m, deterministic) -} -func (m *DeleteBreakpointRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteBreakpointRequest.Merge(m, src) -} -func (m *DeleteBreakpointRequest) XXX_Size() int { - return xxx_messageInfo_DeleteBreakpointRequest.Size(m) -} -func (m *DeleteBreakpointRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteBreakpointRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteBreakpointRequest proto.InternalMessageInfo - -func (m *DeleteBreakpointRequest) GetDebuggeeId() string { - if m != nil { - return m.DebuggeeId - } - return "" -} - -func (m *DeleteBreakpointRequest) GetBreakpointId() string { - if m != nil { - return m.BreakpointId - } - return "" -} - -func (m *DeleteBreakpointRequest) GetClientVersion() string { - if m != nil { - return m.ClientVersion - } - return "" -} - -// Request to list breakpoints. -type ListBreakpointsRequest struct { - // ID of the debuggee whose breakpoints to list. - DebuggeeId string `protobuf:"bytes,1,opt,name=debuggee_id,json=debuggeeId,proto3" json:"debuggee_id,omitempty"` - // When set to `true`, the response includes the list of breakpoints set by - // any user. Otherwise, it includes only breakpoints set by the caller. - IncludeAllUsers bool `protobuf:"varint,2,opt,name=include_all_users,json=includeAllUsers,proto3" json:"include_all_users,omitempty"` - // When set to `true`, the response includes active and inactive - // breakpoints. Otherwise, it includes only active breakpoints. - IncludeInactive bool `protobuf:"varint,3,opt,name=include_inactive,json=includeInactive,proto3" json:"include_inactive,omitempty"` - // When set, the response includes only breakpoints with the specified action. - 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"` // 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 - // `google.rpc.Code.ABORTED` (RPC) is returned on wait timeout, which - // should be called again with the same `wait_token`. - WaitToken string `protobuf:"bytes,6,opt,name=wait_token,json=waitToken,proto3" json:"wait_token,omitempty"` - // The client version making the call. - // Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). - ClientVersion string `protobuf:"bytes,8,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_682c945d4794189b, []int{5} -} - -func (m *ListBreakpointsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListBreakpointsRequest.Unmarshal(m, b) -} -func (m *ListBreakpointsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListBreakpointsRequest.Marshal(b, m, deterministic) -} -func (m *ListBreakpointsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListBreakpointsRequest.Merge(m, src) -} -func (m *ListBreakpointsRequest) XXX_Size() int { - return xxx_messageInfo_ListBreakpointsRequest.Size(m) -} -func (m *ListBreakpointsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListBreakpointsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListBreakpointsRequest proto.InternalMessageInfo - -func (m *ListBreakpointsRequest) GetDebuggeeId() string { - if m != nil { - return m.DebuggeeId - } - return "" -} - -func (m *ListBreakpointsRequest) GetIncludeAllUsers() bool { - if m != nil { - return m.IncludeAllUsers - } - return false -} - -func (m *ListBreakpointsRequest) GetIncludeInactive() bool { - if m != nil { - return m.IncludeInactive - } - return false -} - -func (m *ListBreakpointsRequest) GetAction() *ListBreakpointsRequest_BreakpointActionValue { - if m != nil { - return m.Action - } - return nil -} - -// Deprecated: Do not use. -func (m *ListBreakpointsRequest) GetStripResults() bool { - if m != nil { - return m.StripResults - } - return false -} - -func (m *ListBreakpointsRequest) GetWaitToken() string { - if m != nil { - return m.WaitToken - } - return "" -} - -func (m *ListBreakpointsRequest) GetClientVersion() string { - if m != nil { - return m.ClientVersion - } - return "" -} - -// Wrapper message for `Breakpoint.Action`. Defines a filter on the action -// field of breakpoints. -type ListBreakpointsRequest_BreakpointActionValue struct { - // Only breakpoints with the specified action will pass the filter. - Value Breakpoint_Action `protobuf:"varint,1,opt,name=value,proto3,enum=google.devtools.clouddebugger.v2.Breakpoint_Action" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListBreakpointsRequest_BreakpointActionValue) Reset() { - *m = ListBreakpointsRequest_BreakpointActionValue{} -} -func (m *ListBreakpointsRequest_BreakpointActionValue) String() string { - return proto.CompactTextString(m) -} -func (*ListBreakpointsRequest_BreakpointActionValue) ProtoMessage() {} -func (*ListBreakpointsRequest_BreakpointActionValue) Descriptor() ([]byte, []int) { - return fileDescriptor_682c945d4794189b, []int{5, 0} -} - -func (m *ListBreakpointsRequest_BreakpointActionValue) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListBreakpointsRequest_BreakpointActionValue.Unmarshal(m, b) -} -func (m *ListBreakpointsRequest_BreakpointActionValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListBreakpointsRequest_BreakpointActionValue.Marshal(b, m, deterministic) -} -func (m *ListBreakpointsRequest_BreakpointActionValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListBreakpointsRequest_BreakpointActionValue.Merge(m, src) -} -func (m *ListBreakpointsRequest_BreakpointActionValue) XXX_Size() int { - return xxx_messageInfo_ListBreakpointsRequest_BreakpointActionValue.Size(m) -} -func (m *ListBreakpointsRequest_BreakpointActionValue) XXX_DiscardUnknown() { - xxx_messageInfo_ListBreakpointsRequest_BreakpointActionValue.DiscardUnknown(m) -} - -var xxx_messageInfo_ListBreakpointsRequest_BreakpointActionValue proto.InternalMessageInfo - -func (m *ListBreakpointsRequest_BreakpointActionValue) GetValue() Breakpoint_Action { - if m != nil { - return m.Value - } - return Breakpoint_CAPTURE -} - -// Response for listing breakpoints. -type ListBreakpointsResponse struct { - // List of breakpoints matching the request. - // The fields `id` and `location` are guaranteed to be set on each breakpoint. - // The fields: `stack_frames`, `evaluated_expressions` and `variable_table` - // are cleared on each breakpoint regardless of its status. - Breakpoints []*Breakpoint `protobuf:"bytes,1,rep,name=breakpoints,proto3" json:"breakpoints,omitempty"` - // A wait token that can be used in the next call to `list` (REST) or - // `ListBreakpoints` (RPC) to block until the list of breakpoints has changes. - NextWaitToken string `protobuf:"bytes,2,opt,name=next_wait_token,json=nextWaitToken,proto3" json:"next_wait_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_682c945d4794189b, []int{6} -} - -func (m *ListBreakpointsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListBreakpointsResponse.Unmarshal(m, b) -} -func (m *ListBreakpointsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListBreakpointsResponse.Marshal(b, m, deterministic) -} -func (m *ListBreakpointsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListBreakpointsResponse.Merge(m, src) -} -func (m *ListBreakpointsResponse) XXX_Size() int { - return xxx_messageInfo_ListBreakpointsResponse.Size(m) -} -func (m *ListBreakpointsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListBreakpointsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListBreakpointsResponse proto.InternalMessageInfo - -func (m *ListBreakpointsResponse) GetBreakpoints() []*Breakpoint { - if m != nil { - return m.Breakpoints - } - return nil -} - -func (m *ListBreakpointsResponse) GetNextWaitToken() string { - if m != nil { - return m.NextWaitToken - } - return "" -} - -// Request to list debuggees. -type ListDebuggeesRequest struct { - // Project number of a Google Cloud project whose debuggees to list. - Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` - // When set to `true`, the result includes all debuggees. Otherwise, the - // result includes only debuggees that are active. - IncludeInactive bool `protobuf:"varint,3,opt,name=include_inactive,json=includeInactive,proto3" json:"include_inactive,omitempty"` - // The client version making the call. - // Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). - ClientVersion string `protobuf:"bytes,4,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_682c945d4794189b, []int{7} -} - -func (m *ListDebuggeesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDebuggeesRequest.Unmarshal(m, b) -} -func (m *ListDebuggeesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDebuggeesRequest.Marshal(b, m, deterministic) -} -func (m *ListDebuggeesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDebuggeesRequest.Merge(m, src) -} -func (m *ListDebuggeesRequest) XXX_Size() int { - return xxx_messageInfo_ListDebuggeesRequest.Size(m) -} -func (m *ListDebuggeesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListDebuggeesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDebuggeesRequest proto.InternalMessageInfo - -func (m *ListDebuggeesRequest) GetProject() string { - if m != nil { - return m.Project - } - return "" -} - -func (m *ListDebuggeesRequest) GetIncludeInactive() bool { - if m != nil { - return m.IncludeInactive - } - return false -} - -func (m *ListDebuggeesRequest) GetClientVersion() string { - if m != nil { - return m.ClientVersion - } - return "" -} - -// Response for listing debuggees. -type ListDebuggeesResponse struct { - // List of debuggees accessible to the calling user. - // The fields `debuggee.id` and `description` are guaranteed to be set. - // The `description` field is a human readable field provided by agents and - // can be displayed to users. - Debuggees []*Debuggee `protobuf:"bytes,1,rep,name=debuggees,proto3" json:"debuggees,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_682c945d4794189b, []int{8} -} - -func (m *ListDebuggeesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDebuggeesResponse.Unmarshal(m, b) -} -func (m *ListDebuggeesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDebuggeesResponse.Marshal(b, m, deterministic) -} -func (m *ListDebuggeesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDebuggeesResponse.Merge(m, src) -} -func (m *ListDebuggeesResponse) XXX_Size() int { - return xxx_messageInfo_ListDebuggeesResponse.Size(m) -} -func (m *ListDebuggeesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListDebuggeesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDebuggeesResponse proto.InternalMessageInfo - -func (m *ListDebuggeesResponse) GetDebuggees() []*Debuggee { - if m != nil { - return m.Debuggees - } - return nil -} - -func init() { - proto.RegisterType((*SetBreakpointRequest)(nil), "google.devtools.clouddebugger.v2.SetBreakpointRequest") - proto.RegisterType((*SetBreakpointResponse)(nil), "google.devtools.clouddebugger.v2.SetBreakpointResponse") - proto.RegisterType((*GetBreakpointRequest)(nil), "google.devtools.clouddebugger.v2.GetBreakpointRequest") - proto.RegisterType((*GetBreakpointResponse)(nil), "google.devtools.clouddebugger.v2.GetBreakpointResponse") - proto.RegisterType((*DeleteBreakpointRequest)(nil), "google.devtools.clouddebugger.v2.DeleteBreakpointRequest") - proto.RegisterType((*ListBreakpointsRequest)(nil), "google.devtools.clouddebugger.v2.ListBreakpointsRequest") - proto.RegisterType((*ListBreakpointsRequest_BreakpointActionValue)(nil), "google.devtools.clouddebugger.v2.ListBreakpointsRequest.BreakpointActionValue") - proto.RegisterType((*ListBreakpointsResponse)(nil), "google.devtools.clouddebugger.v2.ListBreakpointsResponse") - proto.RegisterType((*ListDebuggeesRequest)(nil), "google.devtools.clouddebugger.v2.ListDebuggeesRequest") - proto.RegisterType((*ListDebuggeesResponse)(nil), "google.devtools.clouddebugger.v2.ListDebuggeesResponse") -} - -func init() { - proto.RegisterFile("google/devtools/clouddebugger/v2/debugger.proto", fileDescriptor_682c945d4794189b) -} - -var fileDescriptor_682c945d4794189b = []byte{ - // 802 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00,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, 0xff, 0x12, 0x21, 0x36, - 0x75, 0x2d, 0xcf, 0xd6, 0x68, 0x60, 0xeb, 0x36, 0xf1, 0xe2, 0x72, 0x10, 0x7f, 0xa9, 0x96, 0xef, - 0xb0, 0xf7, 0xff, 0x38, 0xfe, 0x36, 0x00, 0x3c, 0x29, 0x28, 0xf5, 0x24, 0xdf, 0x1f, 0x11, 0x2c, - 0x7b, 0x4d, 0xa0, 0x35, 0x8d, 0x4b, 0x39, 0x75, 0x14, 0x4f, 0x1d, 0xc9, 0xa9, 0xa3, 0xa6, 0xd1, - 0x9e, 0x89, 0xf7, 0xdb, 0x7c, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x7a, 0x13, 0xd7, 0xe1, 0x18, 0x0b, - 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 - -// Debugger2Client is the client API for Debugger2 service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type Debugger2Client interface { - // Sets the breakpoint to the debuggee. - SetBreakpoint(ctx context.Context, in *SetBreakpointRequest, opts ...grpc.CallOption) (*SetBreakpointResponse, error) - // Gets breakpoint information. - GetBreakpoint(ctx context.Context, in *GetBreakpointRequest, opts ...grpc.CallOption) (*GetBreakpointResponse, error) - // Deletes the breakpoint from the debuggee. - DeleteBreakpoint(ctx context.Context, in *DeleteBreakpointRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Lists all breakpoints for the debuggee. - ListBreakpoints(ctx context.Context, in *ListBreakpointsRequest, opts ...grpc.CallOption) (*ListBreakpointsResponse, error) - // Lists all the debuggees that the user has access to. - ListDebuggees(ctx context.Context, in *ListDebuggeesRequest, opts ...grpc.CallOption) (*ListDebuggeesResponse, error) -} - -type debugger2Client struct { - cc *grpc.ClientConn -} - -func NewDebugger2Client(cc *grpc.ClientConn) Debugger2Client { - return &debugger2Client{cc} -} - -func (c *debugger2Client) SetBreakpoint(ctx context.Context, in *SetBreakpointRequest, opts ...grpc.CallOption) (*SetBreakpointResponse, error) { - out := new(SetBreakpointResponse) - err := c.cc.Invoke(ctx, "/google.devtools.clouddebugger.v2.Debugger2/SetBreakpoint", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *debugger2Client) GetBreakpoint(ctx context.Context, in *GetBreakpointRequest, opts ...grpc.CallOption) (*GetBreakpointResponse, error) { - out := new(GetBreakpointResponse) - err := c.cc.Invoke(ctx, "/google.devtools.clouddebugger.v2.Debugger2/GetBreakpoint", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *debugger2Client) DeleteBreakpoint(ctx context.Context, in *DeleteBreakpointRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.devtools.clouddebugger.v2.Debugger2/DeleteBreakpoint", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *debugger2Client) ListBreakpoints(ctx context.Context, in *ListBreakpointsRequest, opts ...grpc.CallOption) (*ListBreakpointsResponse, error) { - out := new(ListBreakpointsResponse) - err := c.cc.Invoke(ctx, "/google.devtools.clouddebugger.v2.Debugger2/ListBreakpoints", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *debugger2Client) ListDebuggees(ctx context.Context, in *ListDebuggeesRequest, opts ...grpc.CallOption) (*ListDebuggeesResponse, error) { - out := new(ListDebuggeesResponse) - err := c.cc.Invoke(ctx, "/google.devtools.clouddebugger.v2.Debugger2/ListDebuggees", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// Debugger2Server is the server API for Debugger2 service. -type Debugger2Server interface { - // Sets the breakpoint to the debuggee. - SetBreakpoint(context.Context, *SetBreakpointRequest) (*SetBreakpointResponse, error) - // Gets breakpoint information. - GetBreakpoint(context.Context, *GetBreakpointRequest) (*GetBreakpointResponse, error) - // Deletes the breakpoint from the debuggee. - DeleteBreakpoint(context.Context, *DeleteBreakpointRequest) (*empty.Empty, error) - // Lists all breakpoints for the debuggee. - ListBreakpoints(context.Context, *ListBreakpointsRequest) (*ListBreakpointsResponse, error) - // Lists all the debuggees that the user has access to. - ListDebuggees(context.Context, *ListDebuggeesRequest) (*ListDebuggeesResponse, error) -} - -// UnimplementedDebugger2Server can be embedded to have forward compatible implementations. -type UnimplementedDebugger2Server struct { -} - -func (*UnimplementedDebugger2Server) SetBreakpoint(ctx context.Context, req *SetBreakpointRequest) (*SetBreakpointResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetBreakpoint not implemented") -} -func (*UnimplementedDebugger2Server) GetBreakpoint(ctx context.Context, req *GetBreakpointRequest) (*GetBreakpointResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBreakpoint not implemented") -} -func (*UnimplementedDebugger2Server) DeleteBreakpoint(ctx context.Context, req *DeleteBreakpointRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteBreakpoint not implemented") -} -func (*UnimplementedDebugger2Server) ListBreakpoints(ctx context.Context, req *ListBreakpointsRequest) (*ListBreakpointsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListBreakpoints not implemented") -} -func (*UnimplementedDebugger2Server) ListDebuggees(ctx context.Context, req *ListDebuggeesRequest) (*ListDebuggeesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListDebuggees not implemented") -} - -func RegisterDebugger2Server(s *grpc.Server, srv Debugger2Server) { - s.RegisterService(&_Debugger2_serviceDesc, srv) -} - -func _Debugger2_SetBreakpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetBreakpointRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(Debugger2Server).SetBreakpoint(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.clouddebugger.v2.Debugger2/SetBreakpoint", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(Debugger2Server).SetBreakpoint(ctx, req.(*SetBreakpointRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Debugger2_GetBreakpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetBreakpointRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(Debugger2Server).GetBreakpoint(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.clouddebugger.v2.Debugger2/GetBreakpoint", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(Debugger2Server).GetBreakpoint(ctx, req.(*GetBreakpointRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Debugger2_DeleteBreakpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteBreakpointRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(Debugger2Server).DeleteBreakpoint(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.clouddebugger.v2.Debugger2/DeleteBreakpoint", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(Debugger2Server).DeleteBreakpoint(ctx, req.(*DeleteBreakpointRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Debugger2_ListBreakpoints_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListBreakpointsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(Debugger2Server).ListBreakpoints(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.clouddebugger.v2.Debugger2/ListBreakpoints", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(Debugger2Server).ListBreakpoints(ctx, req.(*ListBreakpointsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Debugger2_ListDebuggees_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListDebuggeesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(Debugger2Server).ListDebuggees(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.clouddebugger.v2.Debugger2/ListDebuggees", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(Debugger2Server).ListDebuggees(ctx, req.(*ListDebuggeesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Debugger2_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.devtools.clouddebugger.v2.Debugger2", - HandlerType: (*Debugger2Server)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "SetBreakpoint", - Handler: _Debugger2_SetBreakpoint_Handler, - }, - { - MethodName: "GetBreakpoint", - Handler: _Debugger2_GetBreakpoint_Handler, - }, - { - MethodName: "DeleteBreakpoint", - Handler: _Debugger2_DeleteBreakpoint_Handler, - }, - { - MethodName: "ListBreakpoints", - Handler: _Debugger2_ListBreakpoints_Handler, - }, - { - MethodName: "ListDebuggees", - Handler: _Debugger2_ListDebuggees_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/devtools/clouddebugger/v2/debugger.proto", -} 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 deleted file mode 100644 index eda8a24d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/common.pb.go +++ /dev/null @@ -1,565 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/clouderrorreporting/v1beta1/common.proto - -package clouderrorreporting - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - _ "google.golang.org/genproto/googleapis/api/monitoredres" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Description of a group of similar error events. -type ErrorGroup struct { - // The group resource name. - // Example: projects/my-project-123/groups/my-groupid - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Group IDs are unique for a given project. If the same kind of error - // occurs in different service contexts, it will receive the same group ID. - GroupId string `protobuf:"bytes,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` - // Associated tracking issues. - TrackingIssues []*TrackingIssue `protobuf:"bytes,3,rep,name=tracking_issues,json=trackingIssues,proto3" json:"tracking_issues,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_d0e89497b32fa506, []int{0} -} - -func (m *ErrorGroup) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ErrorGroup.Unmarshal(m, b) -} -func (m *ErrorGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ErrorGroup.Marshal(b, m, deterministic) -} -func (m *ErrorGroup) XXX_Merge(src proto.Message) { - xxx_messageInfo_ErrorGroup.Merge(m, src) -} -func (m *ErrorGroup) XXX_Size() int { - return xxx_messageInfo_ErrorGroup.Size(m) -} -func (m *ErrorGroup) XXX_DiscardUnknown() { - xxx_messageInfo_ErrorGroup.DiscardUnknown(m) -} - -var xxx_messageInfo_ErrorGroup proto.InternalMessageInfo - -func (m *ErrorGroup) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ErrorGroup) GetGroupId() string { - if m != nil { - return m.GroupId - } - return "" -} - -func (m *ErrorGroup) GetTrackingIssues() []*TrackingIssue { - if m != nil { - return m.TrackingIssues - } - return nil -} - -// Information related to tracking the progress on resolving the error. -type TrackingIssue struct { - // A URL pointing to a related entry in an issue tracking system. - // Example: https://github.com/user/project/issues/4 - 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 *TrackingIssue) Reset() { *m = TrackingIssue{} } -func (m *TrackingIssue) String() string { return proto.CompactTextString(m) } -func (*TrackingIssue) ProtoMessage() {} -func (*TrackingIssue) Descriptor() ([]byte, []int) { - return fileDescriptor_d0e89497b32fa506, []int{1} -} - -func (m *TrackingIssue) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TrackingIssue.Unmarshal(m, b) -} -func (m *TrackingIssue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TrackingIssue.Marshal(b, m, deterministic) -} -func (m *TrackingIssue) XXX_Merge(src proto.Message) { - xxx_messageInfo_TrackingIssue.Merge(m, src) -} -func (m *TrackingIssue) XXX_Size() int { - return xxx_messageInfo_TrackingIssue.Size(m) -} -func (m *TrackingIssue) XXX_DiscardUnknown() { - xxx_messageInfo_TrackingIssue.DiscardUnknown(m) -} - -var xxx_messageInfo_TrackingIssue proto.InternalMessageInfo - -func (m *TrackingIssue) GetUrl() string { - if m != nil { - return m.Url - } - return "" -} - -// An error event which is returned by the Error Reporting system. -type ErrorEvent struct { - // Time when the event occurred as provided in the error report. - // If the report did not contain a timestamp, the time the error was received - // by the Error Reporting system is used. - EventTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"` - // The `ServiceContext` for which this error was reported. - ServiceContext *ServiceContext `protobuf:"bytes,2,opt,name=service_context,json=serviceContext,proto3" json:"service_context,omitempty"` - // The stack trace that was reported or logged by the service. - Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` - // Data about the context in which the error occurred. - Context *ErrorContext `protobuf:"bytes,5,opt,name=context,proto3" json:"context,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_d0e89497b32fa506, []int{2} -} - -func (m *ErrorEvent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ErrorEvent.Unmarshal(m, b) -} -func (m *ErrorEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ErrorEvent.Marshal(b, m, deterministic) -} -func (m *ErrorEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_ErrorEvent.Merge(m, src) -} -func (m *ErrorEvent) XXX_Size() int { - return xxx_messageInfo_ErrorEvent.Size(m) -} -func (m *ErrorEvent) XXX_DiscardUnknown() { - xxx_messageInfo_ErrorEvent.DiscardUnknown(m) -} - -var xxx_messageInfo_ErrorEvent proto.InternalMessageInfo - -func (m *ErrorEvent) GetEventTime() *timestamp.Timestamp { - if m != nil { - return m.EventTime - } - return nil -} - -func (m *ErrorEvent) GetServiceContext() *ServiceContext { - if m != nil { - return m.ServiceContext - } - return nil -} - -func (m *ErrorEvent) GetMessage() string { - if m != nil { - return m.Message - } - return "" -} - -func (m *ErrorEvent) GetContext() *ErrorContext { - if m != nil { - return m.Context - } - return nil -} - -// Describes a running service that sends errors. -// Its version changes over time and multiple versions can run in parallel. -type ServiceContext struct { - // An identifier of the service, such as the name of the - // executable, job, or Google App Engine service name. This field is expected - // to have a low number of values that are relatively stable over time, as - // opposed to `version`, which can be changed whenever new code is deployed. - // - // Contains the service name for error reports extracted from Google - // App Engine logs or `default` if the App Engine default service is used. - Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` - // Represents the source code version that the developer provided, - // which could represent a version label or a Git SHA-1 hash, for example. - Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` - // Type of the MonitoredResource. List of possible values: - // https://cloud.google.com/monitoring/api/resources - // - // Value is set automatically for incoming errors and must not be set when - // reporting errors. - ResourceType string `protobuf:"bytes,4,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_d0e89497b32fa506, []int{3} -} - -func (m *ServiceContext) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServiceContext.Unmarshal(m, b) -} -func (m *ServiceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServiceContext.Marshal(b, m, deterministic) -} -func (m *ServiceContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceContext.Merge(m, src) -} -func (m *ServiceContext) XXX_Size() int { - return xxx_messageInfo_ServiceContext.Size(m) -} -func (m *ServiceContext) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceContext.DiscardUnknown(m) -} - -var xxx_messageInfo_ServiceContext proto.InternalMessageInfo - -func (m *ServiceContext) GetService() string { - if m != nil { - return m.Service - } - return "" -} - -func (m *ServiceContext) GetVersion() string { - if m != nil { - return m.Version - } - return "" -} - -func (m *ServiceContext) GetResourceType() string { - if m != nil { - return m.ResourceType - } - return "" -} - -// A description of the context in which an error occurred. -// This data should be provided by the application when reporting an error, -// unless the -// error report has been generated automatically from Google App Engine logs. -type ErrorContext struct { - // The HTTP request which was processed when the error was - // triggered. - HttpRequest *HttpRequestContext `protobuf:"bytes,1,opt,name=http_request,json=httpRequest,proto3" json:"http_request,omitempty"` - // The user who caused or was affected by the crash. - // This can be a user ID, an email address, or an arbitrary token that - // uniquely identifies the user. - // When sending an error report, leave this field empty if the user was not - // logged in. In this case the - // Error Reporting system will use other data, such as remote IP address, to - // distinguish affected users. See `affected_users_count` in - // `ErrorGroupStats`. - User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` - // The location in the source code where the decision was made to - // report the error, usually the place where it was logged. - // For a logged exception this would be the source line where the - // exception is logged, usually close to the place where it was - // caught. This value is in contrast to `Exception.cause_location`, - // which describes the source line where the exception was thrown. - ReportLocation *SourceLocation `protobuf:"bytes,3,opt,name=report_location,json=reportLocation,proto3" json:"report_location,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_d0e89497b32fa506, []int{4} -} - -func (m *ErrorContext) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ErrorContext.Unmarshal(m, b) -} -func (m *ErrorContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ErrorContext.Marshal(b, m, deterministic) -} -func (m *ErrorContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_ErrorContext.Merge(m, src) -} -func (m *ErrorContext) XXX_Size() int { - return xxx_messageInfo_ErrorContext.Size(m) -} -func (m *ErrorContext) XXX_DiscardUnknown() { - xxx_messageInfo_ErrorContext.DiscardUnknown(m) -} - -var xxx_messageInfo_ErrorContext proto.InternalMessageInfo - -func (m *ErrorContext) GetHttpRequest() *HttpRequestContext { - if m != nil { - return m.HttpRequest - } - return nil -} - -func (m *ErrorContext) GetUser() string { - if m != nil { - return m.User - } - return "" -} - -func (m *ErrorContext) GetReportLocation() *SourceLocation { - if m != nil { - return m.ReportLocation - } - return nil -} - -// HTTP request data that is related to a reported error. -// This data should be provided by the application when reporting an error, -// unless the -// error report has been generated automatically from Google App Engine logs. -type HttpRequestContext struct { - // The type of HTTP request, such as `GET`, `POST`, etc. - Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` - // The URL of the request. - Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` - // The user agent information that is provided with the request. - UserAgent string `protobuf:"bytes,3,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"` - // The referrer information that is provided with the request. - Referrer string `protobuf:"bytes,4,opt,name=referrer,proto3" json:"referrer,omitempty"` - // The HTTP response status code for the request. - ResponseStatusCode int32 `protobuf:"varint,5,opt,name=response_status_code,json=responseStatusCode,proto3" json:"response_status_code,omitempty"` - // The IP address from which the request originated. - // This can be IPv4, IPv6, or a token which is derived from the - // IP address, depending on the data that has been provided - // in the error report. - RemoteIp string `protobuf:"bytes,6,opt,name=remote_ip,json=remoteIp,proto3" json:"remote_ip,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_d0e89497b32fa506, []int{5} -} - -func (m *HttpRequestContext) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HttpRequestContext.Unmarshal(m, b) -} -func (m *HttpRequestContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HttpRequestContext.Marshal(b, m, deterministic) -} -func (m *HttpRequestContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_HttpRequestContext.Merge(m, src) -} -func (m *HttpRequestContext) XXX_Size() int { - return xxx_messageInfo_HttpRequestContext.Size(m) -} -func (m *HttpRequestContext) XXX_DiscardUnknown() { - xxx_messageInfo_HttpRequestContext.DiscardUnknown(m) -} - -var xxx_messageInfo_HttpRequestContext proto.InternalMessageInfo - -func (m *HttpRequestContext) GetMethod() string { - if m != nil { - return m.Method - } - return "" -} - -func (m *HttpRequestContext) GetUrl() string { - if m != nil { - return m.Url - } - return "" -} - -func (m *HttpRequestContext) GetUserAgent() string { - if m != nil { - return m.UserAgent - } - return "" -} - -func (m *HttpRequestContext) GetReferrer() string { - if m != nil { - return m.Referrer - } - return "" -} - -func (m *HttpRequestContext) GetResponseStatusCode() int32 { - if m != nil { - return m.ResponseStatusCode - } - return 0 -} - -func (m *HttpRequestContext) GetRemoteIp() string { - if m != nil { - return m.RemoteIp - } - return "" -} - -// Indicates a location in the source code of the service for which -// errors are reported. -// This data should be provided by the application when reporting an error, -// unless the error report has been generated automatically from Google App -// Engine logs. All fields are optional. -type SourceLocation struct { - // The source code filename, which can include a truncated relative - // path, or a full path from a production machine. - FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` - // 1-based. 0 indicates that the line number is unknown. - LineNumber int32 `protobuf:"varint,2,opt,name=line_number,json=lineNumber,proto3" json:"line_number,omitempty"` - // Human-readable name of a function or method. - // The value can include optional context like the class or package name. - // For example, `my.package.MyClass.method` in case of Java. - FunctionName string `protobuf:"bytes,4,opt,name=function_name,json=functionName,proto3" json:"function_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_d0e89497b32fa506, []int{6} -} - -func (m *SourceLocation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SourceLocation.Unmarshal(m, b) -} -func (m *SourceLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SourceLocation.Marshal(b, m, deterministic) -} -func (m *SourceLocation) XXX_Merge(src proto.Message) { - xxx_messageInfo_SourceLocation.Merge(m, src) -} -func (m *SourceLocation) XXX_Size() int { - return xxx_messageInfo_SourceLocation.Size(m) -} -func (m *SourceLocation) XXX_DiscardUnknown() { - xxx_messageInfo_SourceLocation.DiscardUnknown(m) -} - -var xxx_messageInfo_SourceLocation proto.InternalMessageInfo - -func (m *SourceLocation) GetFilePath() string { - if m != nil { - return m.FilePath - } - return "" -} - -func (m *SourceLocation) GetLineNumber() int32 { - if m != nil { - return m.LineNumber - } - return 0 -} - -func (m *SourceLocation) GetFunctionName() string { - if m != nil { - return m.FunctionName - } - return "" -} - -func init() { - proto.RegisterType((*ErrorGroup)(nil), "google.devtools.clouderrorreporting.v1beta1.ErrorGroup") - proto.RegisterType((*TrackingIssue)(nil), "google.devtools.clouderrorreporting.v1beta1.TrackingIssue") - proto.RegisterType((*ErrorEvent)(nil), "google.devtools.clouderrorreporting.v1beta1.ErrorEvent") - proto.RegisterType((*ServiceContext)(nil), "google.devtools.clouderrorreporting.v1beta1.ServiceContext") - proto.RegisterType((*ErrorContext)(nil), "google.devtools.clouderrorreporting.v1beta1.ErrorContext") - proto.RegisterType((*HttpRequestContext)(nil), "google.devtools.clouderrorreporting.v1beta1.HttpRequestContext") - proto.RegisterType((*SourceLocation)(nil), "google.devtools.clouderrorreporting.v1beta1.SourceLocation") -} - -func init() { - proto.RegisterFile("google/devtools/clouderrorreporting/v1beta1/common.proto", fileDescriptor_d0e89497b32fa506) -} - -var fileDescriptor_d0e89497b32fa506 = []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, - 0xda, 0xa5, 0xe5, 0x42, 0xe9, 0x01, 0xd1, 0xa8, 0x2a, 0x95, 0x50, 0x55, 0x6d, 0xaa, 0x1e, 0x50, - 0x85, 0xe5, 0xec, 0x4e, 0x36, 0x16, 0xbb, 0xb6, 0xb1, 0xbd, 0x11, 0x7d, 0x17, 0x0e, 0x9c, 0x79, - 0x12, 0xc4, 0xb3, 0xf4, 0x21, 0x90, 0xbd, 0x76, 0x69, 0xd4, 0x1e, 0xc8, 0xcd, 0x33, 0xf3, 0xcd, - 0x37, 0xf3, 0x8d, 0xc7, 0x46, 0x6f, 0x73, 0x21, 0xf2, 0x02, 0xe2, 0x0c, 0x66, 0x46, 0x88, 0x42, - 0xc7, 0x69, 0x21, 0xaa, 0x0c, 0x94, 0x12, 0x4a, 0x81, 0x14, 0xca, 0x30, 0x9e, 0xc7, 0xb3, 0xbd, - 0x31, 0x18, 0xba, 0x17, 0xa7, 0xa2, 0x2c, 0x05, 0x8f, 0xa4, 0x12, 0x46, 0xe0, 0x57, 0x75, 0x66, - 0x14, 0x32, 0xa3, 0x07, 0x32, 0x23, 0x9f, 0xd9, 0x7f, 0xee, 0xcb, 0x50, 0xc9, 0x62, 0xca, 0xb9, - 0x30, 0xd4, 0x30, 0xc1, 0x75, 0x4d, 0xd5, 0xdf, 0xb9, 0x13, 0x2d, 0x05, 0x67, 0x46, 0x28, 0xc8, - 0x88, 0x02, 0x2d, 0x2a, 0x95, 0x82, 0x07, 0x6d, 0x79, 0x90, 0xb3, 0xc6, 0xd5, 0x24, 0x36, 0xac, - 0x04, 0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0x43, 0x6d, - 0x05, 0xa5, 0x30, 0x40, 0x98, 0xec, 0xad, 0x04, 0x3a, 0xeb, 0x38, 0x95, 0x03, 0x8d, 0xba, 0xf3, - 0x62, 0x2d, 0x7c, 0xc2, 0x0a, 0x20, 0x92, 0x9a, 0xa9, 0x17, 0xb2, 0x66, 0x1d, 0xe7, 0xd4, 0x4c, - 0xf1, 0x16, 0xea, 0x14, 0x8c, 0x03, 0xe1, 0x55, 0x39, 0xf6, 0xa3, 0x5f, 0x4e, 0x90, 0x75, 0x9d, - 0x39, 0x8f, 0x5d, 0x97, 0x49, 0xc5, 0x53, 0xcb, 0x44, 0xdc, 0x9f, 0xe2, 0xd7, 0x25, 0x38, 0xcf, - 0x68, 0x09, 0x47, 0x37, 0x0d, 0x64, 0x3f, 0xc8, 0x45, 0xae, 0xe4, 0xa8, 0x33, 0x74, 0x3f, 0xea, - 0xb9, 0x7d, 0xc7, 0xe7, 0x8d, 0xcf, 0x5f, 0x7c, 0x6e, 0x2e, 0x0a, 0xca, 0xf3, 0x48, 0xa8, 0x3c, - 0xce, 0x81, 0xbb, 0x57, 0x1e, 0xd7, 0x21, 0x2a, 0x99, 0xfe, 0xaf, 0xbf, 0xfa, 0xf0, 0x81, 0xd8, - 0xaf, 0xe6, 0xce, 0x49, 0x5d, 0x60, 0x68, 0x83, 0xf5, 0x0b, 0x4b, 0x6e, 0x9b, 0xba, 0xdc, 0x3b, - 0xb2, 0x99, 0x7f, 0x02, 0xea, 0xca, 0xa1, 0xae, 0xe6, 0x51, 0x57, 0x97, 0x35, 0xff, 0x78, 0xc5, - 0xb5, 0xf5, 0xe6, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x24, 0x65, 0x84, 0x33, 0x41, 0x06, 0x00, - 0x00, -} 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 deleted file mode 100644 index 5fe7a06a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/error_group_service.pb.go +++ /dev/null @@ -1,276 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/clouderrorreporting/v1beta1/error_group_service.proto - -package clouderrorreporting - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A request to return an individual group. -type GetGroupRequest struct { - // [Required] The group resource name. Written as - // projects/projectID/groups/group_name. - // Call - // - // groupStats.list to return a list of groups belonging to - // this project. - // - // Example: projects/my-project-123/groups/my-group - GroupName string `protobuf:"bytes,1,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_cada5d349d61e784, []int{0} -} - -func (m *GetGroupRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetGroupRequest.Unmarshal(m, b) -} -func (m *GetGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetGroupRequest.Marshal(b, m, deterministic) -} -func (m *GetGroupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGroupRequest.Merge(m, src) -} -func (m *GetGroupRequest) XXX_Size() int { - return xxx_messageInfo_GetGroupRequest.Size(m) -} -func (m *GetGroupRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetGroupRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetGroupRequest proto.InternalMessageInfo - -func (m *GetGroupRequest) GetGroupName() string { - if m != nil { - return m.GroupName - } - return "" -} - -// A request to replace the existing data for the given group. -type UpdateGroupRequest struct { - // [Required] The group which replaces the resource on the server. - Group *ErrorGroup `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_cada5d349d61e784, []int{1} -} - -func (m *UpdateGroupRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateGroupRequest.Unmarshal(m, b) -} -func (m *UpdateGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateGroupRequest.Marshal(b, m, deterministic) -} -func (m *UpdateGroupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateGroupRequest.Merge(m, src) -} -func (m *UpdateGroupRequest) XXX_Size() int { - return xxx_messageInfo_UpdateGroupRequest.Size(m) -} -func (m *UpdateGroupRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateGroupRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateGroupRequest proto.InternalMessageInfo - -func (m *UpdateGroupRequest) GetGroup() *ErrorGroup { - if m != nil { - return m.Group - } - return nil -} - -func init() { - proto.RegisterType((*GetGroupRequest)(nil), "google.devtools.clouderrorreporting.v1beta1.GetGroupRequest") - proto.RegisterType((*UpdateGroupRequest)(nil), "google.devtools.clouderrorreporting.v1beta1.UpdateGroupRequest") -} - -func init() { - proto.RegisterFile("google/devtools/clouderrorreporting/v1beta1/error_group_service.proto", fileDescriptor_cada5d349d61e784) -} - -var fileDescriptor_cada5d349d61e784 = []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, - 0x68, 0x02, 0x55, 0x76, 0x5c, 0x18, 0xbc, 0x20, 0x44, 0x42, 0x56, 0x4a, 0x88, 0x98, 0x85, 0x04, - 0x43, 0xa5, 0x53, 0x14, 0x2d, 0xdd, 0x75, 0xda, 0xea, 0x4a, 0x36, 0xe2, 0xc6, 0x07, 0x70, 0xe3, - 0x5b, 0xb8, 0xf6, 0x05, 0xdc, 0xba, 0xf5, 0x15, 0x7c, 0x07, 0xb7, 0xd2, 0x55, 0xb9, 0x98, 0x8b, - 0x60, 0x67, 0x7b, 0x2e, 0xff, 0xff, 0xd5, 0x5f, 0x07, 0xd5, 0x05, 0x80, 0x08, 0x39, 0xed, 0xf3, - 0xa1, 0x06, 0x08, 0x13, 0xea, 0x87, 0x30, 0xe8, 0x73, 0xa5, 0x40, 0x29, 0x1e, 0x83, 0xd2, 0x81, - 0x14, 0x74, 0xe8, 0xf5, 0xb8, 0x66, 0x1e, 0x35, 0xe5, 0xae, 0x50, 0x30, 0x88, 0xbb, 0x09, 0x57, - 0xc3, 0xc0, 0xe7, 0x24, 0x56, 0xa0, 0x01, 0x97, 0xad, 0x0c, 0x19, 0xcb, 0x90, 0x25, 0x32, 0x64, - 0x24, 0xe3, 0xfe, 0x1b, 0x79, 0xb2, 0x38, 0xa0, 0x4c, 0x4a, 0xd0, 0x4c, 0x07, 0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, 0x17, 0x49, 0x6d, 0x8b, 0xc5, 0x41, 0xf2, 0xa5, 0x73, 0xde, 0x5b, 0xd2, 0x7b, - 0xc8, 0xad, 0x37, 0xac, 0xc1, 0x51, 0xda, 0xb4, 0x09, 0xb4, 0x26, 0x7c, 0x6d, 0xaf, 0x96, 0x6e, - 0x3e, 0x8f, 0xa7, 0x3a, 0x66, 0xaa, 0x33, 0x3b, 0xd5, 0x69, 0x5b, 0xfd, 0xde, 0x0f, 0x83, 0xb5, - 0xfd, 0x1e, 0x00, 0x00, 0xff, 0xff, 0xc2, 0x0a, 0xfa, 0x93, 0xf6, 0x03, 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 - -// ErrorGroupServiceClient is the client API for ErrorGroupService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ErrorGroupServiceClient interface { - // Get the specified group. - GetGroup(ctx context.Context, in *GetGroupRequest, opts ...grpc.CallOption) (*ErrorGroup, error) - // Replace the data for the specified group. - // Fails if the group does not exist. - UpdateGroup(ctx context.Context, in *UpdateGroupRequest, opts ...grpc.CallOption) (*ErrorGroup, error) -} - -type errorGroupServiceClient struct { - cc *grpc.ClientConn -} - -func NewErrorGroupServiceClient(cc *grpc.ClientConn) ErrorGroupServiceClient { - return &errorGroupServiceClient{cc} -} - -func (c *errorGroupServiceClient) GetGroup(ctx context.Context, in *GetGroupRequest, opts ...grpc.CallOption) (*ErrorGroup, error) { - out := new(ErrorGroup) - err := c.cc.Invoke(ctx, "/google.devtools.clouderrorreporting.v1beta1.ErrorGroupService/GetGroup", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *errorGroupServiceClient) UpdateGroup(ctx context.Context, in *UpdateGroupRequest, opts ...grpc.CallOption) (*ErrorGroup, error) { - out := new(ErrorGroup) - err := c.cc.Invoke(ctx, "/google.devtools.clouderrorreporting.v1beta1.ErrorGroupService/UpdateGroup", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ErrorGroupServiceServer is the server API for ErrorGroupService service. -type ErrorGroupServiceServer interface { - // Get the specified group. - GetGroup(context.Context, *GetGroupRequest) (*ErrorGroup, error) - // Replace the data for the specified group. - // Fails if the group does not exist. - UpdateGroup(context.Context, *UpdateGroupRequest) (*ErrorGroup, error) -} - -// UnimplementedErrorGroupServiceServer can be embedded to have forward compatible implementations. -type UnimplementedErrorGroupServiceServer struct { -} - -func (*UnimplementedErrorGroupServiceServer) GetGroup(ctx context.Context, req *GetGroupRequest) (*ErrorGroup, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetGroup not implemented") -} -func (*UnimplementedErrorGroupServiceServer) UpdateGroup(ctx context.Context, req *UpdateGroupRequest) (*ErrorGroup, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateGroup not implemented") -} - -func RegisterErrorGroupServiceServer(s *grpc.Server, srv ErrorGroupServiceServer) { - s.RegisterService(&_ErrorGroupService_serviceDesc, srv) -} - -func _ErrorGroupService_GetGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ErrorGroupServiceServer).GetGroup(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.clouderrorreporting.v1beta1.ErrorGroupService/GetGroup", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ErrorGroupServiceServer).GetGroup(ctx, req.(*GetGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ErrorGroupService_UpdateGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ErrorGroupServiceServer).UpdateGroup(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.clouderrorreporting.v1beta1.ErrorGroupService/UpdateGroup", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ErrorGroupServiceServer).UpdateGroup(ctx, req.(*UpdateGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ErrorGroupService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.devtools.clouderrorreporting.v1beta1.ErrorGroupService", - HandlerType: (*ErrorGroupServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetGroup", - Handler: _ErrorGroupService_GetGroup_Handler, - }, - { - MethodName: "UpdateGroup", - Handler: _ErrorGroupService_UpdateGroup_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/devtools/clouderrorreporting/v1beta1/error_group_service.proto", -} 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 deleted file mode 100644 index 5c239932..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/error_stats_service.pb.go +++ /dev/null @@ -1,1174 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/clouderrorreporting/v1beta1/error_stats_service.proto - -package clouderrorreporting - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Specifies how the time periods of error group counts are aligned. -type TimedCountAlignment int32 - -const ( - // No alignment specified. - TimedCountAlignment_ERROR_COUNT_ALIGNMENT_UNSPECIFIED TimedCountAlignment = 0 - // The time periods shall be consecutive, have width equal to the - // requested duration, and be aligned at the `alignment_time` provided in - // the request. - // The `alignment_time` does not have to be inside the query period but - // even if it is outside, only time periods are returned which overlap - // with the query period. - // A rounded alignment will typically result in a - // different size of the first or the last time period. - TimedCountAlignment_ALIGNMENT_EQUAL_ROUNDED TimedCountAlignment = 1 - // The time periods shall be consecutive, have width equal to the - // requested duration, and be aligned at the end of the requested time - // period. This can result in a different size of the - // first time period. - TimedCountAlignment_ALIGNMENT_EQUAL_AT_END TimedCountAlignment = 2 -) - -var TimedCountAlignment_name = map[int32]string{ - 0: "ERROR_COUNT_ALIGNMENT_UNSPECIFIED", - 1: "ALIGNMENT_EQUAL_ROUNDED", - 2: "ALIGNMENT_EQUAL_AT_END", -} - -var TimedCountAlignment_value = map[string]int32{ - "ERROR_COUNT_ALIGNMENT_UNSPECIFIED": 0, - "ALIGNMENT_EQUAL_ROUNDED": 1, - "ALIGNMENT_EQUAL_AT_END": 2, -} - -func (x TimedCountAlignment) String() string { - return proto.EnumName(TimedCountAlignment_name, int32(x)) -} - -func (TimedCountAlignment) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ab5fabd294dba66f, []int{0} -} - -// A sorting order of error groups. -type ErrorGroupOrder int32 - -const ( - // No group order specified. - ErrorGroupOrder_GROUP_ORDER_UNSPECIFIED ErrorGroupOrder = 0 - // Total count of errors in the given time window in descending order. - ErrorGroupOrder_COUNT_DESC ErrorGroupOrder = 1 - // Timestamp when the group was last seen in the given time window - // in descending order. - ErrorGroupOrder_LAST_SEEN_DESC ErrorGroupOrder = 2 - // Timestamp when the group was created in descending order. - ErrorGroupOrder_CREATED_DESC ErrorGroupOrder = 3 - // Number of affected users in the given time window in descending order. - ErrorGroupOrder_AFFECTED_USERS_DESC ErrorGroupOrder = 4 -) - -var ErrorGroupOrder_name = map[int32]string{ - 0: "GROUP_ORDER_UNSPECIFIED", - 1: "COUNT_DESC", - 2: "LAST_SEEN_DESC", - 3: "CREATED_DESC", - 4: "AFFECTED_USERS_DESC", -} - -var ErrorGroupOrder_value = map[string]int32{ - "GROUP_ORDER_UNSPECIFIED": 0, - "COUNT_DESC": 1, - "LAST_SEEN_DESC": 2, - "CREATED_DESC": 3, - "AFFECTED_USERS_DESC": 4, -} - -func (x ErrorGroupOrder) String() string { - return proto.EnumName(ErrorGroupOrder_name, int32(x)) -} - -func (ErrorGroupOrder) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ab5fabd294dba66f, []int{1} -} - -// The supported time ranges. -type QueryTimeRange_Period int32 - -const ( - // Do not use. - QueryTimeRange_PERIOD_UNSPECIFIED QueryTimeRange_Period = 0 - // Retrieve data for the last hour. - // Recommended minimum timed count duration: 1 min. - QueryTimeRange_PERIOD_1_HOUR QueryTimeRange_Period = 1 - // Retrieve data for the last 6 hours. - // Recommended minimum timed count duration: 10 min. - QueryTimeRange_PERIOD_6_HOURS QueryTimeRange_Period = 2 - // Retrieve data for the last day. - // Recommended minimum timed count duration: 1 hour. - QueryTimeRange_PERIOD_1_DAY QueryTimeRange_Period = 3 - // Retrieve data for the last week. - // Recommended minimum timed count duration: 6 hours. - QueryTimeRange_PERIOD_1_WEEK QueryTimeRange_Period = 4 - // Retrieve data for the last 30 days. - // Recommended minimum timed count duration: 1 day. - QueryTimeRange_PERIOD_30_DAYS QueryTimeRange_Period = 5 -) - -var QueryTimeRange_Period_name = map[int32]string{ - 0: "PERIOD_UNSPECIFIED", - 1: "PERIOD_1_HOUR", - 2: "PERIOD_6_HOURS", - 3: "PERIOD_1_DAY", - 4: "PERIOD_1_WEEK", - 5: "PERIOD_30_DAYS", -} - -var QueryTimeRange_Period_value = map[string]int32{ - "PERIOD_UNSPECIFIED": 0, - "PERIOD_1_HOUR": 1, - "PERIOD_6_HOURS": 2, - "PERIOD_1_DAY": 3, - "PERIOD_1_WEEK": 4, - "PERIOD_30_DAYS": 5, -} - -func (x QueryTimeRange_Period) String() string { - return proto.EnumName(QueryTimeRange_Period_name, int32(x)) -} - -func (QueryTimeRange_Period) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ab5fabd294dba66f, []int{6, 0} -} - -// Specifies a set of `ErrorGroupStats` to return. -type ListGroupStatsRequest struct { - // [Required] The resource name of the Google Cloud Platform project. Written - // as projects/ plus the - // Google Cloud - // Platform project ID. - // - // Example: projects/my-project-123. - ProjectName string `protobuf:"bytes,1,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"` - // [Optional] List all ErrorGroupStats with these IDs. - GroupId []string `protobuf:"bytes,2,rep,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` - // [Optional] List only ErrorGroupStats which belong to a service - // context that matches the filter. - // Data for all service contexts is returned if this field is not specified. - ServiceFilter *ServiceContextFilter `protobuf:"bytes,3,opt,name=service_filter,json=serviceFilter,proto3" json:"service_filter,omitempty"` - // [Optional] List data for the given time range. - // If not set a default time range is used. The field time_range_begin - // in the response will specify the beginning of this time range. - // Only ErrorGroupStats with a non-zero count in the given time - // range are returned, unless the request contains an explicit group_id list. - // If a group_id list is given, also ErrorGroupStats with zero - // occurrences are returned. - TimeRange *QueryTimeRange `protobuf:"bytes,5,opt,name=time_range,json=timeRange,proto3" json:"time_range,omitempty"` - // [Optional] The preferred duration for a single returned `TimedCount`. - // If not set, no timed counts are returned. - TimedCountDuration *duration.Duration `protobuf:"bytes,6,opt,name=timed_count_duration,json=timedCountDuration,proto3" json:"timed_count_duration,omitempty"` - // [Optional] The alignment of the timed counts to be returned. - // Default is `ALIGNMENT_EQUAL_AT_END`. - Alignment TimedCountAlignment `protobuf:"varint,7,opt,name=alignment,proto3,enum=google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment" json:"alignment,omitempty"` - // [Optional] Time where the timed counts shall be aligned if rounded - // alignment is chosen. Default is 00:00 UTC. - AlignmentTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=alignment_time,json=alignmentTime,proto3" json:"alignment_time,omitempty"` - // [Optional] The sort order in which the results are returned. - // Default is `COUNT_DESC`. - Order ErrorGroupOrder `protobuf:"varint,9,opt,name=order,proto3,enum=google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder" json:"order,omitempty"` - // [Optional] The maximum number of results to return per response. - // Default is 20. - PageSize int32 `protobuf:"varint,11,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // [Optional] A `next_page_token` provided by a previous response. To view - // additional results, pass this token along with the identical query - // parameters as the first request. - PageToken string `protobuf:"bytes,12,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 *ListGroupStatsRequest) Reset() { *m = ListGroupStatsRequest{} } -func (m *ListGroupStatsRequest) String() string { return proto.CompactTextString(m) } -func (*ListGroupStatsRequest) ProtoMessage() {} -func (*ListGroupStatsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ab5fabd294dba66f, []int{0} -} - -func (m *ListGroupStatsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListGroupStatsRequest.Unmarshal(m, b) -} -func (m *ListGroupStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListGroupStatsRequest.Marshal(b, m, deterministic) -} -func (m *ListGroupStatsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListGroupStatsRequest.Merge(m, src) -} -func (m *ListGroupStatsRequest) XXX_Size() int { - return xxx_messageInfo_ListGroupStatsRequest.Size(m) -} -func (m *ListGroupStatsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListGroupStatsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListGroupStatsRequest proto.InternalMessageInfo - -func (m *ListGroupStatsRequest) GetProjectName() string { - if m != nil { - return m.ProjectName - } - return "" -} - -func (m *ListGroupStatsRequest) GetGroupId() []string { - if m != nil { - return m.GroupId - } - return nil -} - -func (m *ListGroupStatsRequest) GetServiceFilter() *ServiceContextFilter { - if m != nil { - return m.ServiceFilter - } - return nil -} - -func (m *ListGroupStatsRequest) GetTimeRange() *QueryTimeRange { - if m != nil { - return m.TimeRange - } - return nil -} - -func (m *ListGroupStatsRequest) GetTimedCountDuration() *duration.Duration { - if m != nil { - return m.TimedCountDuration - } - return nil -} - -func (m *ListGroupStatsRequest) GetAlignment() TimedCountAlignment { - if m != nil { - return m.Alignment - } - return TimedCountAlignment_ERROR_COUNT_ALIGNMENT_UNSPECIFIED -} - -func (m *ListGroupStatsRequest) GetAlignmentTime() *timestamp.Timestamp { - if m != nil { - return m.AlignmentTime - } - return nil -} - -func (m *ListGroupStatsRequest) GetOrder() ErrorGroupOrder { - if m != nil { - return m.Order - } - return ErrorGroupOrder_GROUP_ORDER_UNSPECIFIED -} - -func (m *ListGroupStatsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListGroupStatsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Contains a set of requested error group stats. -type ListGroupStatsResponse struct { - // The error group stats which match the given request. - ErrorGroupStats []*ErrorGroupStats `protobuf:"bytes,1,rep,name=error_group_stats,json=errorGroupStats,proto3" json:"error_group_stats,omitempty"` - // If non-empty, more results are available. - // Pass this token, along with the same query parameters as the first - // request, to view the next page of results. - NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - // The timestamp specifies the start time to which the request was restricted. - // The start time is set based on the requested time range. It may be adjusted - // to a later time if a project has exceeded the storage quota and older data - // has been deleted. - TimeRangeBegin *timestamp.Timestamp `protobuf:"bytes,4,opt,name=time_range_begin,json=timeRangeBegin,proto3" json:"time_range_begin,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ab5fabd294dba66f, []int{1} -} - -func (m *ListGroupStatsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListGroupStatsResponse.Unmarshal(m, b) -} -func (m *ListGroupStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListGroupStatsResponse.Marshal(b, m, deterministic) -} -func (m *ListGroupStatsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListGroupStatsResponse.Merge(m, src) -} -func (m *ListGroupStatsResponse) XXX_Size() int { - return xxx_messageInfo_ListGroupStatsResponse.Size(m) -} -func (m *ListGroupStatsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListGroupStatsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListGroupStatsResponse proto.InternalMessageInfo - -func (m *ListGroupStatsResponse) GetErrorGroupStats() []*ErrorGroupStats { - if m != nil { - return m.ErrorGroupStats - } - return nil -} - -func (m *ListGroupStatsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -func (m *ListGroupStatsResponse) GetTimeRangeBegin() *timestamp.Timestamp { - if m != nil { - return m.TimeRangeBegin - } - return nil -} - -// Data extracted for a specific group based on certain filter criteria, -// such as a given time period and/or service filter. -type ErrorGroupStats struct { - // Group data that is independent of the filter criteria. - Group *ErrorGroup `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` - // Approximate total number of events in the given group that match - // the filter criteria. - Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` - // Approximate number of affected users in the given group that - // match the filter criteria. - // Users are distinguished by data in the `ErrorContext` of the - // individual error events, such as their login name or their remote - // IP address in case of HTTP requests. - // The number of affected users can be zero even if the number of - // errors is non-zero if no data was provided from which the - // affected user could be deduced. - // Users are counted based on data in the request - // context that was provided in the error report. If more users are - // implicitly affected, such as due to a crash of the whole service, - // this is not reflected here. - AffectedUsersCount int64 `protobuf:"varint,3,opt,name=affected_users_count,json=affectedUsersCount,proto3" json:"affected_users_count,omitempty"` - // Approximate number of occurrences over time. - // Timed counts returned by ListGroups are guaranteed to be: - // - // - Inside the requested time interval - // - Non-overlapping, and - // - Ordered by ascending time. - TimedCounts []*TimedCount `protobuf:"bytes,4,rep,name=timed_counts,json=timedCounts,proto3" json:"timed_counts,omitempty"` - // Approximate first occurrence that was ever seen for this group - // and which matches the given filter criteria, ignoring the - // time_range that was specified in the request. - FirstSeenTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=first_seen_time,json=firstSeenTime,proto3" json:"first_seen_time,omitempty"` - // Approximate last occurrence that was ever seen for this group and - // which matches the given filter criteria, ignoring the time_range - // that was specified in the request. - LastSeenTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=last_seen_time,json=lastSeenTime,proto3" json:"last_seen_time,omitempty"` - // Service contexts with a non-zero error count for the given filter - // criteria. This list can be truncated if multiple services are affected. - // Refer to `num_affected_services` for the total count. - AffectedServices []*ServiceContext `protobuf:"bytes,7,rep,name=affected_services,json=affectedServices,proto3" json:"affected_services,omitempty"` - // The total number of services with a non-zero error count for the given - // filter criteria. - NumAffectedServices int32 `protobuf:"varint,8,opt,name=num_affected_services,json=numAffectedServices,proto3" json:"num_affected_services,omitempty"` - // An arbitrary event that is chosen as representative for the whole group. - // The representative event is intended to be used as a quick preview for - // the whole group. Events in the group are usually sufficiently similar - // to each other such that showing an arbitrary representative provides - // insight into the characteristics of the group as a whole. - Representative *ErrorEvent `protobuf:"bytes,9,opt,name=representative,proto3" json:"representative,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ab5fabd294dba66f, []int{2} -} - -func (m *ErrorGroupStats) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ErrorGroupStats.Unmarshal(m, b) -} -func (m *ErrorGroupStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ErrorGroupStats.Marshal(b, m, deterministic) -} -func (m *ErrorGroupStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_ErrorGroupStats.Merge(m, src) -} -func (m *ErrorGroupStats) XXX_Size() int { - return xxx_messageInfo_ErrorGroupStats.Size(m) -} -func (m *ErrorGroupStats) XXX_DiscardUnknown() { - xxx_messageInfo_ErrorGroupStats.DiscardUnknown(m) -} - -var xxx_messageInfo_ErrorGroupStats proto.InternalMessageInfo - -func (m *ErrorGroupStats) GetGroup() *ErrorGroup { - if m != nil { - return m.Group - } - return nil -} - -func (m *ErrorGroupStats) GetCount() int64 { - if m != nil { - return m.Count - } - return 0 -} - -func (m *ErrorGroupStats) GetAffectedUsersCount() int64 { - if m != nil { - return m.AffectedUsersCount - } - return 0 -} - -func (m *ErrorGroupStats) GetTimedCounts() []*TimedCount { - if m != nil { - return m.TimedCounts - } - return nil -} - -func (m *ErrorGroupStats) GetFirstSeenTime() *timestamp.Timestamp { - if m != nil { - return m.FirstSeenTime - } - return nil -} - -func (m *ErrorGroupStats) GetLastSeenTime() *timestamp.Timestamp { - if m != nil { - return m.LastSeenTime - } - return nil -} - -func (m *ErrorGroupStats) GetAffectedServices() []*ServiceContext { - if m != nil { - return m.AffectedServices - } - return nil -} - -func (m *ErrorGroupStats) GetNumAffectedServices() int32 { - if m != nil { - return m.NumAffectedServices - } - return 0 -} - -func (m *ErrorGroupStats) GetRepresentative() *ErrorEvent { - if m != nil { - return m.Representative - } - return nil -} - -// The number of errors in a given time period. -// All numbers are approximate since the error events are sampled -// before counting them. -type TimedCount struct { - // Approximate number of occurrences in the given time period. - Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` - // Start of the time period to which `count` refers (included). - StartTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // End of the time period to which `count` refers (excluded). - 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 *TimedCount) Reset() { *m = TimedCount{} } -func (m *TimedCount) String() string { return proto.CompactTextString(m) } -func (*TimedCount) ProtoMessage() {} -func (*TimedCount) Descriptor() ([]byte, []int) { - return fileDescriptor_ab5fabd294dba66f, []int{3} -} - -func (m *TimedCount) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TimedCount.Unmarshal(m, b) -} -func (m *TimedCount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TimedCount.Marshal(b, m, deterministic) -} -func (m *TimedCount) XXX_Merge(src proto.Message) { - xxx_messageInfo_TimedCount.Merge(m, src) -} -func (m *TimedCount) XXX_Size() int { - return xxx_messageInfo_TimedCount.Size(m) -} -func (m *TimedCount) XXX_DiscardUnknown() { - xxx_messageInfo_TimedCount.DiscardUnknown(m) -} - -var xxx_messageInfo_TimedCount proto.InternalMessageInfo - -func (m *TimedCount) GetCount() int64 { - if m != nil { - return m.Count - } - return 0 -} - -func (m *TimedCount) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *TimedCount) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -// Specifies a set of error events to return. -type ListEventsRequest struct { - // [Required] The resource name of the Google Cloud Platform project. Written - // as `projects/` plus the - // [Google Cloud Platform project - // ID](https://support.google.com/cloud/answer/6158840). - // Example: `projects/my-project-123`. - ProjectName string `protobuf:"bytes,1,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"` - // [Required] The group for which events shall be returned. - GroupId string `protobuf:"bytes,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` - // [Optional] List only ErrorGroups which belong to a service context that - // matches the filter. - // Data for all service contexts is returned if this field is not specified. - ServiceFilter *ServiceContextFilter `protobuf:"bytes,3,opt,name=service_filter,json=serviceFilter,proto3" json:"service_filter,omitempty"` - // [Optional] List only data for the given time range. - // If not set a default time range is used. The field time_range_begin - // in the response will specify the beginning of this time range. - TimeRange *QueryTimeRange `protobuf:"bytes,4,opt,name=time_range,json=timeRange,proto3" json:"time_range,omitempty"` - // [Optional] The maximum number of results to return per response. - PageSize int32 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // [Optional] A `next_page_token` provided by a previous response. - PageToken string `protobuf:"bytes,7,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 *ListEventsRequest) Reset() { *m = ListEventsRequest{} } -func (m *ListEventsRequest) String() string { return proto.CompactTextString(m) } -func (*ListEventsRequest) ProtoMessage() {} -func (*ListEventsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ab5fabd294dba66f, []int{4} -} - -func (m *ListEventsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListEventsRequest.Unmarshal(m, b) -} -func (m *ListEventsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListEventsRequest.Marshal(b, m, deterministic) -} -func (m *ListEventsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListEventsRequest.Merge(m, src) -} -func (m *ListEventsRequest) XXX_Size() int { - return xxx_messageInfo_ListEventsRequest.Size(m) -} -func (m *ListEventsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListEventsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListEventsRequest proto.InternalMessageInfo - -func (m *ListEventsRequest) GetProjectName() string { - if m != nil { - return m.ProjectName - } - return "" -} - -func (m *ListEventsRequest) GetGroupId() string { - if m != nil { - return m.GroupId - } - return "" -} - -func (m *ListEventsRequest) GetServiceFilter() *ServiceContextFilter { - if m != nil { - return m.ServiceFilter - } - return nil -} - -func (m *ListEventsRequest) GetTimeRange() *QueryTimeRange { - if m != nil { - return m.TimeRange - } - return nil -} - -func (m *ListEventsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListEventsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Contains a set of requested error events. -type ListEventsResponse struct { - // The error events which match the given request. - ErrorEvents []*ErrorEvent `protobuf:"bytes,1,rep,name=error_events,json=errorEvents,proto3" json:"error_events,omitempty"` - // If non-empty, more results are available. - // Pass this token, along with the same query parameters as the first - // request, to view the next page of results. - NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` - // The timestamp specifies the start time to which the request was restricted. - TimeRangeBegin *timestamp.Timestamp `protobuf:"bytes,4,opt,name=time_range_begin,json=timeRangeBegin,proto3" json:"time_range_begin,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ab5fabd294dba66f, []int{5} -} - -func (m *ListEventsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListEventsResponse.Unmarshal(m, b) -} -func (m *ListEventsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListEventsResponse.Marshal(b, m, deterministic) -} -func (m *ListEventsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListEventsResponse.Merge(m, src) -} -func (m *ListEventsResponse) XXX_Size() int { - return xxx_messageInfo_ListEventsResponse.Size(m) -} -func (m *ListEventsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListEventsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListEventsResponse proto.InternalMessageInfo - -func (m *ListEventsResponse) GetErrorEvents() []*ErrorEvent { - if m != nil { - return m.ErrorEvents - } - return nil -} - -func (m *ListEventsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -func (m *ListEventsResponse) GetTimeRangeBegin() *timestamp.Timestamp { - if m != nil { - return m.TimeRangeBegin - } - return nil -} - -// Requests might be rejected or the resulting timed count durations might be -// adjusted for lower durations. -type QueryTimeRange struct { - // Restricts the query to the specified time range. - Period QueryTimeRange_Period `protobuf:"varint,1,opt,name=period,proto3,enum=google.devtools.clouderrorreporting.v1beta1.QueryTimeRange_Period" json:"period,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ab5fabd294dba66f, []int{6} -} - -func (m *QueryTimeRange) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryTimeRange.Unmarshal(m, b) -} -func (m *QueryTimeRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryTimeRange.Marshal(b, m, deterministic) -} -func (m *QueryTimeRange) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryTimeRange.Merge(m, src) -} -func (m *QueryTimeRange) XXX_Size() int { - return xxx_messageInfo_QueryTimeRange.Size(m) -} -func (m *QueryTimeRange) XXX_DiscardUnknown() { - xxx_messageInfo_QueryTimeRange.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryTimeRange proto.InternalMessageInfo - -func (m *QueryTimeRange) GetPeriod() QueryTimeRange_Period { - if m != nil { - return m.Period - } - return QueryTimeRange_PERIOD_UNSPECIFIED -} - -// Specifies criteria for filtering a subset of service contexts. -// The fields in the filter correspond to the fields in `ServiceContext`. -// Only exact, case-sensitive matches are supported. -// If a field is unset or empty, it matches arbitrary values. -type ServiceContextFilter struct { - // [Optional] The exact value to match against - // [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service). - Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` - // [Optional] The exact value to match against - // [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version). - Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` - // [Optional] The exact value to match against - // [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type). - ResourceType string `protobuf:"bytes,4,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ab5fabd294dba66f, []int{7} -} - -func (m *ServiceContextFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServiceContextFilter.Unmarshal(m, b) -} -func (m *ServiceContextFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServiceContextFilter.Marshal(b, m, deterministic) -} -func (m *ServiceContextFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceContextFilter.Merge(m, src) -} -func (m *ServiceContextFilter) XXX_Size() int { - return xxx_messageInfo_ServiceContextFilter.Size(m) -} -func (m *ServiceContextFilter) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceContextFilter.DiscardUnknown(m) -} - -var xxx_messageInfo_ServiceContextFilter proto.InternalMessageInfo - -func (m *ServiceContextFilter) GetService() string { - if m != nil { - return m.Service - } - return "" -} - -func (m *ServiceContextFilter) GetVersion() string { - if m != nil { - return m.Version - } - return "" -} - -func (m *ServiceContextFilter) GetResourceType() string { - if m != nil { - return m.ResourceType - } - return "" -} - -// Deletes all events in the project. -type DeleteEventsRequest struct { - // [Required] The resource name of the Google Cloud Platform project. Written - // as `projects/` plus the - // [Google Cloud Platform project - // ID](https://support.google.com/cloud/answer/6158840). - // Example: `projects/my-project-123`. - ProjectName string `protobuf:"bytes,1,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ab5fabd294dba66f, []int{8} -} - -func (m *DeleteEventsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteEventsRequest.Unmarshal(m, b) -} -func (m *DeleteEventsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteEventsRequest.Marshal(b, m, deterministic) -} -func (m *DeleteEventsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteEventsRequest.Merge(m, src) -} -func (m *DeleteEventsRequest) XXX_Size() int { - return xxx_messageInfo_DeleteEventsRequest.Size(m) -} -func (m *DeleteEventsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteEventsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteEventsRequest proto.InternalMessageInfo - -func (m *DeleteEventsRequest) GetProjectName() string { - if m != nil { - return m.ProjectName - } - return "" -} - -// Response message for deleting error events. -type DeleteEventsResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ab5fabd294dba66f, []int{9} -} - -func (m *DeleteEventsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteEventsResponse.Unmarshal(m, b) -} -func (m *DeleteEventsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteEventsResponse.Marshal(b, m, deterministic) -} -func (m *DeleteEventsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteEventsResponse.Merge(m, src) -} -func (m *DeleteEventsResponse) XXX_Size() int { - return xxx_messageInfo_DeleteEventsResponse.Size(m) -} -func (m *DeleteEventsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteEventsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteEventsResponse proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment", TimedCountAlignment_name, TimedCountAlignment_value) - proto.RegisterEnum("google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder", ErrorGroupOrder_name, ErrorGroupOrder_value) - proto.RegisterEnum("google.devtools.clouderrorreporting.v1beta1.QueryTimeRange_Period", QueryTimeRange_Period_name, QueryTimeRange_Period_value) - proto.RegisterType((*ListGroupStatsRequest)(nil), "google.devtools.clouderrorreporting.v1beta1.ListGroupStatsRequest") - proto.RegisterType((*ListGroupStatsResponse)(nil), "google.devtools.clouderrorreporting.v1beta1.ListGroupStatsResponse") - proto.RegisterType((*ErrorGroupStats)(nil), "google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats") - proto.RegisterType((*TimedCount)(nil), "google.devtools.clouderrorreporting.v1beta1.TimedCount") - proto.RegisterType((*ListEventsRequest)(nil), "google.devtools.clouderrorreporting.v1beta1.ListEventsRequest") - proto.RegisterType((*ListEventsResponse)(nil), "google.devtools.clouderrorreporting.v1beta1.ListEventsResponse") - proto.RegisterType((*QueryTimeRange)(nil), "google.devtools.clouderrorreporting.v1beta1.QueryTimeRange") - proto.RegisterType((*ServiceContextFilter)(nil), "google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter") - proto.RegisterType((*DeleteEventsRequest)(nil), "google.devtools.clouderrorreporting.v1beta1.DeleteEventsRequest") - proto.RegisterType((*DeleteEventsResponse)(nil), "google.devtools.clouderrorreporting.v1beta1.DeleteEventsResponse") -} - -func init() { - proto.RegisterFile("google/devtools/clouderrorreporting/v1beta1/error_stats_service.proto", fileDescriptor_ab5fabd294dba66f) -} - -var fileDescriptor_ab5fabd294dba66f = []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, - 0x0a, 0xa9, 0xb0, 0x9b, 0x54, 0xa5, 0x45, 0xe5, 0xa3, 0x8e, 0xbd, 0x09, 0x51, 0x53, 0xdb, 0x1d, - 0xdb, 0x45, 0x44, 0x55, 0x57, 0x1b, 0xfb, 0xc5, 0x5d, 0xb0, 0x77, 0x97, 0xdd, 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xf3, 0xdf, 0xbe, 0x8d, 0xe4, 0xc9, 0x3b, 0xfd, 0xff, 0x94, 0x2f, 0x87, 0x8f, 0xfc, - 0x03, 0xb5, 0x08, 0xf2, 0x1b, 0xcf, 0xf2, 0xed, 0x41, 0xfc, 0x3f, 0x6a, 0x00, 0x83, 0xa1, 0x43, - 0x3e, 0x9c, 0x38, 0x94, 0x11, 0xa2, 0x65, 0x3e, 0x9a, 0xda, 0x5e, 0xa5, 0xb1, 0x29, 0xd2, 0xb8, - 0x42, 0xde, 0x7e, 0x89, 0x34, 0xe4, 0x40, 0x24, 0x3f, 0x69, 0x90, 0x1c, 0xa6, 0x2e, 0x99, 0xec, - 0x51, 0x7f, 0x42, 0xbf, 0x64, 0x0a, 0x67, 0x40, 0x18, 0x4d, 0x64, 0xe3, 0xe5, 0x13, 0xd9, 0xfe, - 0x4b, 0x03, 0xfe, 0x73, 0x39, 0x89, 0xef, 0xed, 0xd5, 0x17, 0x58, 0x5a, 0xe5, 0x83, 0xb8, 0xaa, - 0x1d, 0x3c, 0x54, 0x30, 0x6d, 0xb7, 0x63, 0x39, 0xed, 0x9c, 0xeb, 0xb7, 0xf3, 0x6d, 0x74, 0xc4, - 0x98, 0xce, 0x4b, 0x95, 0xe5, 0xd9, 0xc1, 0x4b, 0xfd, 0xf2, 0xde, 0x3a, 0x41, 0xf7, 0x43, 0xe4, - 0xf2, 0xae, 0x74, 0x50, 0xe4, 0x4a, 0x79, 0xc5, 0xd0, 0x7e, 0x7c, 0xf7, 0x37, 0xb7, 0xb9, 0xe5, - 0xcf, 0xe1, 0xae, 0x07, 0x62, 0xd7, 0x83, 0xd1, 0x5d, 0x0f, 0xee, 0x4b, 0xfc, 0xc3, 0x59, 0x11, - 0xd6, 0xb5, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xb8, 0x90, 0xe3, 0x06, 0x1a, 0x10, 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 - -// ErrorStatsServiceClient is the client API for ErrorStatsService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ErrorStatsServiceClient interface { - // Lists the specified groups. - ListGroupStats(ctx context.Context, in *ListGroupStatsRequest, opts ...grpc.CallOption) (*ListGroupStatsResponse, error) - // Lists the specified events. - ListEvents(ctx context.Context, in *ListEventsRequest, opts ...grpc.CallOption) (*ListEventsResponse, error) - // Deletes all error events of a given project. - DeleteEvents(ctx context.Context, in *DeleteEventsRequest, opts ...grpc.CallOption) (*DeleteEventsResponse, error) -} - -type errorStatsServiceClient struct { - cc *grpc.ClientConn -} - -func NewErrorStatsServiceClient(cc *grpc.ClientConn) ErrorStatsServiceClient { - return &errorStatsServiceClient{cc} -} - -func (c *errorStatsServiceClient) ListGroupStats(ctx context.Context, in *ListGroupStatsRequest, opts ...grpc.CallOption) (*ListGroupStatsResponse, error) { - out := new(ListGroupStatsResponse) - err := c.cc.Invoke(ctx, "/google.devtools.clouderrorreporting.v1beta1.ErrorStatsService/ListGroupStats", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *errorStatsServiceClient) ListEvents(ctx context.Context, in *ListEventsRequest, opts ...grpc.CallOption) (*ListEventsResponse, error) { - out := new(ListEventsResponse) - err := c.cc.Invoke(ctx, "/google.devtools.clouderrorreporting.v1beta1.ErrorStatsService/ListEvents", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *errorStatsServiceClient) DeleteEvents(ctx context.Context, in *DeleteEventsRequest, opts ...grpc.CallOption) (*DeleteEventsResponse, error) { - out := new(DeleteEventsResponse) - err := c.cc.Invoke(ctx, "/google.devtools.clouderrorreporting.v1beta1.ErrorStatsService/DeleteEvents", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ErrorStatsServiceServer is the server API for ErrorStatsService service. -type ErrorStatsServiceServer interface { - // Lists the specified groups. - ListGroupStats(context.Context, *ListGroupStatsRequest) (*ListGroupStatsResponse, error) - // Lists the specified events. - ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error) - // Deletes all error events of a given project. - DeleteEvents(context.Context, *DeleteEventsRequest) (*DeleteEventsResponse, error) -} - -// UnimplementedErrorStatsServiceServer can be embedded to have forward compatible implementations. -type UnimplementedErrorStatsServiceServer struct { -} - -func (*UnimplementedErrorStatsServiceServer) ListGroupStats(ctx context.Context, req *ListGroupStatsRequest) (*ListGroupStatsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListGroupStats not implemented") -} -func (*UnimplementedErrorStatsServiceServer) ListEvents(ctx context.Context, req *ListEventsRequest) (*ListEventsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListEvents not implemented") -} -func (*UnimplementedErrorStatsServiceServer) DeleteEvents(ctx context.Context, req *DeleteEventsRequest) (*DeleteEventsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteEvents not implemented") -} - -func RegisterErrorStatsServiceServer(s *grpc.Server, srv ErrorStatsServiceServer) { - s.RegisterService(&_ErrorStatsService_serviceDesc, srv) -} - -func _ErrorStatsService_ListGroupStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListGroupStatsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ErrorStatsServiceServer).ListGroupStats(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.clouderrorreporting.v1beta1.ErrorStatsService/ListGroupStats", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ErrorStatsServiceServer).ListGroupStats(ctx, req.(*ListGroupStatsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ErrorStatsService_ListEvents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListEventsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ErrorStatsServiceServer).ListEvents(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.clouderrorreporting.v1beta1.ErrorStatsService/ListEvents", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ErrorStatsServiceServer).ListEvents(ctx, req.(*ListEventsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ErrorStatsService_DeleteEvents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteEventsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ErrorStatsServiceServer).DeleteEvents(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.clouderrorreporting.v1beta1.ErrorStatsService/DeleteEvents", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ErrorStatsServiceServer).DeleteEvents(ctx, req.(*DeleteEventsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ErrorStatsService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.devtools.clouderrorreporting.v1beta1.ErrorStatsService", - HandlerType: (*ErrorStatsServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListGroupStats", - Handler: _ErrorStatsService_ListGroupStats_Handler, - }, - { - MethodName: "ListEvents", - Handler: _ErrorStatsService_ListEvents_Handler, - }, - { - MethodName: "DeleteEvents", - Handler: _ErrorStatsService_DeleteEvents_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/devtools/clouderrorreporting/v1beta1/error_stats_service.proto", -} 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 deleted file mode 100644 index b9ae443c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1/report_errors_service.pb.go +++ /dev/null @@ -1,331 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/clouderrorreporting/v1beta1/report_errors_service.proto - -package clouderrorreporting - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A request for reporting an individual error event. -type ReportErrorEventRequest struct { - // [Required] The resource name of the Google Cloud Platform project. Written - // as `projects/` plus the - // [Google Cloud Platform project - // ID](https://support.google.com/cloud/answer/6158840). Example: - // `projects/my-project-123`. - ProjectName string `protobuf:"bytes,1,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"` - // [Required] The error event to be reported. - Event *ReportedErrorEvent `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_575af94d0209aede, []int{0} -} - -func (m *ReportErrorEventRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReportErrorEventRequest.Unmarshal(m, b) -} -func (m *ReportErrorEventRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReportErrorEventRequest.Marshal(b, m, deterministic) -} -func (m *ReportErrorEventRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReportErrorEventRequest.Merge(m, src) -} -func (m *ReportErrorEventRequest) XXX_Size() int { - return xxx_messageInfo_ReportErrorEventRequest.Size(m) -} -func (m *ReportErrorEventRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ReportErrorEventRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ReportErrorEventRequest proto.InternalMessageInfo - -func (m *ReportErrorEventRequest) GetProjectName() string { - if m != nil { - return m.ProjectName - } - return "" -} - -func (m *ReportErrorEventRequest) GetEvent() *ReportedErrorEvent { - if m != nil { - return m.Event - } - return nil -} - -// Response for reporting an individual error event. -// Data may be added to this message in the future. -type ReportErrorEventResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ReportErrorEventResponse) Reset() { *m = ReportErrorEventResponse{} } -func (m *ReportErrorEventResponse) String() string { return proto.CompactTextString(m) } -func (*ReportErrorEventResponse) ProtoMessage() {} -func (*ReportErrorEventResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_575af94d0209aede, []int{1} -} - -func (m *ReportErrorEventResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReportErrorEventResponse.Unmarshal(m, b) -} -func (m *ReportErrorEventResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReportErrorEventResponse.Marshal(b, m, deterministic) -} -func (m *ReportErrorEventResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReportErrorEventResponse.Merge(m, src) -} -func (m *ReportErrorEventResponse) XXX_Size() int { - return xxx_messageInfo_ReportErrorEventResponse.Size(m) -} -func (m *ReportErrorEventResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ReportErrorEventResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ReportErrorEventResponse proto.InternalMessageInfo - -// An error event which is reported to the Error Reporting system. -type ReportedErrorEvent struct { - // [Optional] Time when the event occurred. - // If not provided, the time when the event was received by the - // Error Reporting system will be used. - EventTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"` - // [Required] The service context in which this error has occurred. - ServiceContext *ServiceContext `protobuf:"bytes,2,opt,name=service_context,json=serviceContext,proto3" json:"service_context,omitempty"` - // [Required] A message describing the error. The message can contain an - // exception stack in one of the supported programming languages and formats. - // In that case, the message is parsed and detailed exception information - // is returned when retrieving the error event again. - Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` - // [Optional] A description of the context in which the error occurred. - Context *ErrorContext `protobuf:"bytes,4,opt,name=context,proto3" json:"context,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_575af94d0209aede, []int{2} -} - -func (m *ReportedErrorEvent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReportedErrorEvent.Unmarshal(m, b) -} -func (m *ReportedErrorEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReportedErrorEvent.Marshal(b, m, deterministic) -} -func (m *ReportedErrorEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReportedErrorEvent.Merge(m, src) -} -func (m *ReportedErrorEvent) XXX_Size() int { - return xxx_messageInfo_ReportedErrorEvent.Size(m) -} -func (m *ReportedErrorEvent) XXX_DiscardUnknown() { - xxx_messageInfo_ReportedErrorEvent.DiscardUnknown(m) -} - -var xxx_messageInfo_ReportedErrorEvent proto.InternalMessageInfo - -func (m *ReportedErrorEvent) GetEventTime() *timestamp.Timestamp { - if m != nil { - return m.EventTime - } - return nil -} - -func (m *ReportedErrorEvent) GetServiceContext() *ServiceContext { - if m != nil { - return m.ServiceContext - } - return nil -} - -func (m *ReportedErrorEvent) GetMessage() string { - if m != nil { - return m.Message - } - return "" -} - -func (m *ReportedErrorEvent) GetContext() *ErrorContext { - if m != nil { - return m.Context - } - return nil -} - -func init() { - proto.RegisterType((*ReportErrorEventRequest)(nil), "google.devtools.clouderrorreporting.v1beta1.ReportErrorEventRequest") - proto.RegisterType((*ReportErrorEventResponse)(nil), "google.devtools.clouderrorreporting.v1beta1.ReportErrorEventResponse") - proto.RegisterType((*ReportedErrorEvent)(nil), "google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent") -} - -func init() { - proto.RegisterFile("google/devtools/clouderrorreporting/v1beta1/report_errors_service.proto", fileDescriptor_575af94d0209aede) -} - -var fileDescriptor_575af94d0209aede = []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, - 0x30, 0x6d, 0xe2, 0xc5, 0xec, 0x22, 0x0b, 0x59, 0xc3, 0xde, 0x64, 0x99, 0xd5, 0x3d, 0x48, 0x70, - 0xe8, 0x4c, 0xca, 0x61, 0x24, 0xd3, 0x35, 0x76, 0x77, 0x82, 0x20, 0x5e, 0x7c, 0x85, 0x7d, 0x05, - 0x4f, 0x3e, 0x8a, 0x57, 0x5f, 0xc0, 0x83, 0x0f, 0xa1, 0x37, 0xe9, 0xaf, 0x25, 0x6b, 0x72, 0x70, - 0xf4, 0x58, 0xd3, 0x55, 0xbf, 0xff, 0xbf, 0x3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 0xd9, 0xb9, 0xc3, 0xd3, 0xfe, 0xc8, 0x54, 0x7e, 0x0d, 0x59, 0x13, 0x9b, - 0x35, 0xb9, 0x98, 0x35, 0x39, 0x75, 0xfc, 0xe9, 0x55, 0x6b, 0xeb, 0xf1, 0xef, 0x00, 0x00, 0x00, - 0xff, 0xff, 0x2c, 0xd1, 0x8e, 0x76, 0xc7, 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 - -// ReportErrorsServiceClient is the client API for ReportErrorsService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ReportErrorsServiceClient interface { - // Report an individual error event. - // - // This endpoint accepts either an OAuth token, - // or an - // API key - // for authentication. To use an API key, append it to the URL as the value of - // a `key` parameter. For example: - //
POST
-	// https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456
- ReportErrorEvent(ctx context.Context, in *ReportErrorEventRequest, opts ...grpc.CallOption) (*ReportErrorEventResponse, error) -} - -type reportErrorsServiceClient struct { - cc *grpc.ClientConn -} - -func NewReportErrorsServiceClient(cc *grpc.ClientConn) ReportErrorsServiceClient { - return &reportErrorsServiceClient{cc} -} - -func (c *reportErrorsServiceClient) ReportErrorEvent(ctx context.Context, in *ReportErrorEventRequest, opts ...grpc.CallOption) (*ReportErrorEventResponse, error) { - out := new(ReportErrorEventResponse) - err := c.cc.Invoke(ctx, "/google.devtools.clouderrorreporting.v1beta1.ReportErrorsService/ReportErrorEvent", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ReportErrorsServiceServer is the server API for ReportErrorsService service. -type ReportErrorsServiceServer interface { - // Report an individual error event. - // - // This endpoint accepts either an OAuth token, - // or an - // API key - // for authentication. To use an API key, append it to the URL as the value of - // a `key` parameter. For example: - //
POST
-	// https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456
- ReportErrorEvent(context.Context, *ReportErrorEventRequest) (*ReportErrorEventResponse, error) -} - -// UnimplementedReportErrorsServiceServer can be embedded to have forward compatible implementations. -type UnimplementedReportErrorsServiceServer struct { -} - -func (*UnimplementedReportErrorsServiceServer) ReportErrorEvent(ctx context.Context, req *ReportErrorEventRequest) (*ReportErrorEventResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ReportErrorEvent not implemented") -} - -func RegisterReportErrorsServiceServer(s *grpc.Server, srv ReportErrorsServiceServer) { - s.RegisterService(&_ReportErrorsService_serviceDesc, srv) -} - -func _ReportErrorsService_ReportErrorEvent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ReportErrorEventRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ReportErrorsServiceServer).ReportErrorEvent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.clouderrorreporting.v1beta1.ReportErrorsService/ReportErrorEvent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ReportErrorsServiceServer).ReportErrorEvent(ctx, req.(*ReportErrorEventRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ReportErrorsService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.devtools.clouderrorreporting.v1beta1.ReportErrorsService", - HandlerType: (*ReportErrorsServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ReportErrorEvent", - Handler: _ReportErrorsService_ReportErrorEvent_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/devtools/clouderrorreporting/v1beta1/report_errors_service.proto", -} 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 deleted file mode 100644 index 88a85ce9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/cloudprofiler/v2/profiler.pb.go +++ /dev/null @@ -1,690 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/cloudprofiler/v2/profiler.proto - -package cloudprofiler - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - _ "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// ProfileType is type of profiling data. -// NOTE: the enumeration member names are used (in lowercase) as unique string -// identifiers of profile types, so they must not be renamed. -type ProfileType int32 - -const ( - // Unspecified profile type. - ProfileType_PROFILE_TYPE_UNSPECIFIED ProfileType = 0 - // Thread CPU time sampling. - ProfileType_CPU ProfileType = 1 - // Wallclock time sampling. More expensive as stops all threads. - ProfileType_WALL ProfileType = 2 - // In-use heap profile. Represents a snapshot of the allocations that are - // live at the time of the profiling. - ProfileType_HEAP ProfileType = 3 - // Single-shot collection of all thread stacks. - ProfileType_THREADS ProfileType = 4 - // Synchronization contention profile. - ProfileType_CONTENTION ProfileType = 5 - // Peak heap profile. - ProfileType_PEAK_HEAP ProfileType = 6 - // Heap allocation profile. It represents the aggregation of all allocations - // made over the duration of the profile. All allocations are included, - // including those that might have been freed by the end of the profiling - // 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_HEAP_ALLOC ProfileType = 7 -) - -var ProfileType_name = map[int32]string{ - 0: "PROFILE_TYPE_UNSPECIFIED", - 1: "CPU", - 2: "WALL", - 3: "HEAP", - 4: "THREADS", - 5: "CONTENTION", - 6: "PEAK_HEAP", - 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, - "HEAP_ALLOC": 7, -} - -func (x ProfileType) String() string { - return proto.EnumName(ProfileType_name, int32(x)) -} - -func (ProfileType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_74a10a5851161432, []int{0} -} - -// CreateProfileRequest describes a profile resource online creation request. -// The deployment field must be populated. The profile_type specifies the list -// of profile types supported by the agent. The creation call will hang until a -// profile of one of these types needs to be collected. -type CreateProfileRequest struct { - // Parent project to create the profile in. - Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"` - // Deployment details. - Deployment *Deployment `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty"` - // One or more profile types that the agent is capable of providing. - ProfileType []ProfileType `protobuf:"varint,2,rep,packed,name=profile_type,json=profileType,proto3,enum=google.devtools.cloudprofiler.v2.ProfileType" json:"profile_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_74a10a5851161432, []int{0} -} - -func (m *CreateProfileRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateProfileRequest.Unmarshal(m, b) -} -func (m *CreateProfileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateProfileRequest.Marshal(b, m, deterministic) -} -func (m *CreateProfileRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateProfileRequest.Merge(m, src) -} -func (m *CreateProfileRequest) XXX_Size() int { - return xxx_messageInfo_CreateProfileRequest.Size(m) -} -func (m *CreateProfileRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateProfileRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateProfileRequest proto.InternalMessageInfo - -func (m *CreateProfileRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateProfileRequest) GetDeployment() *Deployment { - if m != nil { - return m.Deployment - } - return nil -} - -func (m *CreateProfileRequest) GetProfileType() []ProfileType { - if m != nil { - return m.ProfileType - } - return nil -} - -// CreateOfflineProfileRequest describes a profile resource offline creation -// request. Profile field must be set. -type CreateOfflineProfileRequest struct { - // Parent project to create the profile in. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Contents of the profile to create. - Profile *Profile `protobuf:"bytes,2,opt,name=profile,proto3" json:"profile,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateOfflineProfileRequest) Reset() { *m = CreateOfflineProfileRequest{} } -func (m *CreateOfflineProfileRequest) String() string { return proto.CompactTextString(m) } -func (*CreateOfflineProfileRequest) ProtoMessage() {} -func (*CreateOfflineProfileRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_74a10a5851161432, []int{1} -} - -func (m *CreateOfflineProfileRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateOfflineProfileRequest.Unmarshal(m, b) -} -func (m *CreateOfflineProfileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateOfflineProfileRequest.Marshal(b, m, deterministic) -} -func (m *CreateOfflineProfileRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateOfflineProfileRequest.Merge(m, src) -} -func (m *CreateOfflineProfileRequest) XXX_Size() int { - return xxx_messageInfo_CreateOfflineProfileRequest.Size(m) -} -func (m *CreateOfflineProfileRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateOfflineProfileRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateOfflineProfileRequest proto.InternalMessageInfo - -func (m *CreateOfflineProfileRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateOfflineProfileRequest) GetProfile() *Profile { - if m != nil { - return m.Profile - } - return nil -} - -// UpdateProfileRequest contains the profile to update. -type UpdateProfileRequest struct { - // Profile to update - Profile *Profile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"` - // Field mask used to specify the fields to be overwritten. Currently only - // profile_bytes and labels fields are supported by UpdateProfile, so only - // those fields can be specified in the mask. When no mask is provided, all - // fields are overwritten. - 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 *UpdateProfileRequest) Reset() { *m = UpdateProfileRequest{} } -func (m *UpdateProfileRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateProfileRequest) ProtoMessage() {} -func (*UpdateProfileRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_74a10a5851161432, []int{2} -} - -func (m *UpdateProfileRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateProfileRequest.Unmarshal(m, b) -} -func (m *UpdateProfileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateProfileRequest.Marshal(b, m, deterministic) -} -func (m *UpdateProfileRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateProfileRequest.Merge(m, src) -} -func (m *UpdateProfileRequest) XXX_Size() int { - return xxx_messageInfo_UpdateProfileRequest.Size(m) -} -func (m *UpdateProfileRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateProfileRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateProfileRequest proto.InternalMessageInfo - -func (m *UpdateProfileRequest) GetProfile() *Profile { - if m != nil { - return m.Profile - } - return nil -} - -func (m *UpdateProfileRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// Profile resource. -type Profile struct { - // Output only. Opaque, server-assigned, unique ID for this profile. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Type of profile. - // For offline mode, this must be specified when creating the profile. For - // online mode it is assigned and returned by the server. - ProfileType ProfileType `protobuf:"varint,2,opt,name=profile_type,json=profileType,proto3,enum=google.devtools.cloudprofiler.v2.ProfileType" json:"profile_type,omitempty"` - // Deployment this profile corresponds to. - Deployment *Deployment `protobuf:"bytes,3,opt,name=deployment,proto3" json:"deployment,omitempty"` - // Duration of the profiling session. - // Input (for the offline mode) or output (for the online mode). - // The field represents requested profiling duration. It may slightly differ - // from the effective profiling duration, which is recorded in the profile - // data, in case the profiling can't be stopped immediately (e.g. in case - // stopping the profiling is handled asynchronously). - Duration *duration.Duration `protobuf:"bytes,4,opt,name=duration,proto3" json:"duration,omitempty"` - // Input only. Profile bytes, as a gzip compressed serialized proto, the - // format is https://github.com/google/pprof/blob/master/proto/profile.proto. - ProfileBytes []byte `protobuf:"bytes,5,opt,name=profile_bytes,json=profileBytes,proto3" json:"profile_bytes,omitempty"` - // Input only. Labels associated to this specific profile. These labels will - // get merged with the deployment labels for the final data set. See - // documentation on deployment labels for validation rules and limits. - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_74a10a5851161432, []int{3} -} - -func (m *Profile) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Profile.Unmarshal(m, b) -} -func (m *Profile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Profile.Marshal(b, m, deterministic) -} -func (m *Profile) XXX_Merge(src proto.Message) { - xxx_messageInfo_Profile.Merge(m, src) -} -func (m *Profile) XXX_Size() int { - return xxx_messageInfo_Profile.Size(m) -} -func (m *Profile) XXX_DiscardUnknown() { - xxx_messageInfo_Profile.DiscardUnknown(m) -} - -var xxx_messageInfo_Profile proto.InternalMessageInfo - -func (m *Profile) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Profile) GetProfileType() ProfileType { - if m != nil { - return m.ProfileType - } - return ProfileType_PROFILE_TYPE_UNSPECIFIED -} - -func (m *Profile) GetDeployment() *Deployment { - if m != nil { - return m.Deployment - } - return nil -} - -func (m *Profile) GetDuration() *duration.Duration { - if m != nil { - return m.Duration - } - return nil -} - -func (m *Profile) GetProfileBytes() []byte { - if m != nil { - return m.ProfileBytes - } - return nil -} - -func (m *Profile) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -// Deployment contains the deployment identification information. -type Deployment struct { - // Project ID is the ID of a cloud project. - // Validation regex: `^[a-z][-a-z0-9:.]{4,61}[a-z0-9]$`. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Target is the service name used to group related deployments: - // * Service name for GAE Flex / Standard. - // * Cluster and container name for GKE. - // * User-specified string for direct GCE profiling (e.g. Java). - // * Job name for Dataflow. - // Validation regex: `^[a-z]([-a-z0-9_.]{0,253}[a-z0-9])?$`. - Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` - // Labels identify the deployment within the user universe and same target. - // Validation regex for label names: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. - // Value for an individual label must be <= 512 bytes, the total - // size of all label names and values must be <= 1024 bytes. - // - // Label named "language" can be used to record the programming language of - // the profiled deployment. The standard choices for the value include "java", - // "go", "python", "ruby", "nodejs", "php", "dotnet". - // - // For deployments running on Google Cloud Platform, "zone" or "region" label - // should be present describing the deployment location. An example of a zone - // is "us-central1-a", an example of a region is "us-central1" or - // "us-central". - 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:"-"` - 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_74a10a5851161432, []int{4} -} - -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 (m *Deployment) XXX_Merge(src proto.Message) { - xxx_messageInfo_Deployment.Merge(m, 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) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *Deployment) GetTarget() string { - if m != nil { - return m.Target - } - return "" -} - -func (m *Deployment) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -func init() { - proto.RegisterEnum("google.devtools.cloudprofiler.v2.ProfileType", ProfileType_name, ProfileType_value) - proto.RegisterType((*CreateProfileRequest)(nil), "google.devtools.cloudprofiler.v2.CreateProfileRequest") - proto.RegisterType((*CreateOfflineProfileRequest)(nil), "google.devtools.cloudprofiler.v2.CreateOfflineProfileRequest") - proto.RegisterType((*UpdateProfileRequest)(nil), "google.devtools.cloudprofiler.v2.UpdateProfileRequest") - proto.RegisterType((*Profile)(nil), "google.devtools.cloudprofiler.v2.Profile") - proto.RegisterMapType((map[string]string)(nil), "google.devtools.cloudprofiler.v2.Profile.LabelsEntry") - proto.RegisterType((*Deployment)(nil), "google.devtools.cloudprofiler.v2.Deployment") - proto.RegisterMapType((map[string]string)(nil), "google.devtools.cloudprofiler.v2.Deployment.LabelsEntry") -} - -func init() { - proto.RegisterFile("google/devtools/cloudprofiler/v2/profiler.proto", fileDescriptor_74a10a5851161432) -} - -var fileDescriptor_74a10a5851161432 = []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, 0xf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 0x10, 0xc0, 0x75, 0x03, 0xf0, 0x8f, 0x00, - 0xae, 0xe7, 0x3c, 0x22, 0xbd, 0xa0, 0x63, 0x1a, 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, -} - -// 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 - -// ProfilerServiceClient is the client API for ProfilerService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ProfilerServiceClient interface { - // CreateProfile creates a new profile resource in the online mode. - // - // The server ensures that the new profiles are created at a constant rate per - // deployment, so the creation request may hang for some time until the next - // profile session is available. - // - // The request may fail with ABORTED error if the creation is not available - // within ~1m, the response will indicate the duration of the backoff the - // client should take before attempting creating a profile again. The backoff - // duration is returned in google.rpc.RetryInfo extension on the response - // status. To a gRPC client, the extension will be return as a - // binary-serialized proto in the trailing metadata item named - // "google.rpc.retryinfo-bin". - CreateProfile(ctx context.Context, in *CreateProfileRequest, opts ...grpc.CallOption) (*Profile, error) - // CreateOfflineProfile creates a new profile resource in the offline mode. - // The client provides the profile to create along with the profile bytes, the - // server records it. - CreateOfflineProfile(ctx context.Context, in *CreateOfflineProfileRequest, opts ...grpc.CallOption) (*Profile, error) - // UpdateProfile updates the profile bytes and labels on the profile resource - // created in the online mode. Updating the bytes for profiles created in the - // offline mode is currently not supported: the profile content must be - // provided at the time of the profile creation. - UpdateProfile(ctx context.Context, in *UpdateProfileRequest, opts ...grpc.CallOption) (*Profile, error) -} - -type profilerServiceClient struct { - cc *grpc.ClientConn -} - -func NewProfilerServiceClient(cc *grpc.ClientConn) ProfilerServiceClient { - return &profilerServiceClient{cc} -} - -func (c *profilerServiceClient) CreateProfile(ctx context.Context, in *CreateProfileRequest, opts ...grpc.CallOption) (*Profile, error) { - out := new(Profile) - err := c.cc.Invoke(ctx, "/google.devtools.cloudprofiler.v2.ProfilerService/CreateProfile", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *profilerServiceClient) CreateOfflineProfile(ctx context.Context, in *CreateOfflineProfileRequest, opts ...grpc.CallOption) (*Profile, error) { - out := new(Profile) - err := c.cc.Invoke(ctx, "/google.devtools.cloudprofiler.v2.ProfilerService/CreateOfflineProfile", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *profilerServiceClient) UpdateProfile(ctx context.Context, in *UpdateProfileRequest, opts ...grpc.CallOption) (*Profile, error) { - out := new(Profile) - err := c.cc.Invoke(ctx, "/google.devtools.cloudprofiler.v2.ProfilerService/UpdateProfile", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ProfilerServiceServer is the server API for ProfilerService service. -type ProfilerServiceServer interface { - // CreateProfile creates a new profile resource in the online mode. - // - // The server ensures that the new profiles are created at a constant rate per - // deployment, so the creation request may hang for some time until the next - // profile session is available. - // - // The request may fail with ABORTED error if the creation is not available - // within ~1m, the response will indicate the duration of the backoff the - // client should take before attempting creating a profile again. The backoff - // duration is returned in google.rpc.RetryInfo extension on the response - // status. To a gRPC client, the extension will be return as a - // binary-serialized proto in the trailing metadata item named - // "google.rpc.retryinfo-bin". - CreateProfile(context.Context, *CreateProfileRequest) (*Profile, error) - // CreateOfflineProfile creates a new profile resource in the offline mode. - // The client provides the profile to create along with the profile bytes, the - // server records it. - CreateOfflineProfile(context.Context, *CreateOfflineProfileRequest) (*Profile, error) - // UpdateProfile updates the profile bytes and labels on the profile resource - // created in the online mode. Updating the bytes for profiles created in the - // offline mode is currently not supported: the profile content must be - // provided at the time of the profile creation. - UpdateProfile(context.Context, *UpdateProfileRequest) (*Profile, error) -} - -// UnimplementedProfilerServiceServer can be embedded to have forward compatible implementations. -type UnimplementedProfilerServiceServer struct { -} - -func (*UnimplementedProfilerServiceServer) CreateProfile(ctx context.Context, req *CreateProfileRequest) (*Profile, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateProfile not implemented") -} -func (*UnimplementedProfilerServiceServer) CreateOfflineProfile(ctx context.Context, req *CreateOfflineProfileRequest) (*Profile, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateOfflineProfile not implemented") -} -func (*UnimplementedProfilerServiceServer) UpdateProfile(ctx context.Context, req *UpdateProfileRequest) (*Profile, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateProfile not implemented") -} - -func RegisterProfilerServiceServer(s *grpc.Server, srv ProfilerServiceServer) { - s.RegisterService(&_ProfilerService_serviceDesc, srv) -} - -func _ProfilerService_CreateProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateProfileRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProfilerServiceServer).CreateProfile(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.cloudprofiler.v2.ProfilerService/CreateProfile", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProfilerServiceServer).CreateProfile(ctx, req.(*CreateProfileRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProfilerService_CreateOfflineProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateOfflineProfileRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProfilerServiceServer).CreateOfflineProfile(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.cloudprofiler.v2.ProfilerService/CreateOfflineProfile", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProfilerServiceServer).CreateOfflineProfile(ctx, req.(*CreateOfflineProfileRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ProfilerService_UpdateProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateProfileRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ProfilerServiceServer).UpdateProfile(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.cloudprofiler.v2.ProfilerService/UpdateProfile", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProfilerServiceServer).UpdateProfile(ctx, req.(*UpdateProfileRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ProfilerService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.devtools.cloudprofiler.v2.ProfilerService", - HandlerType: (*ProfilerServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateProfile", - Handler: _ProfilerService_CreateProfile_Handler, - }, - { - MethodName: "CreateOfflineProfile", - Handler: _ProfilerService_CreateOfflineProfile_Handler, - }, - { - MethodName: "UpdateProfile", - Handler: _ProfilerService_UpdateProfile_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/devtools/cloudprofiler/v2/profiler.proto", -} 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 deleted file mode 100644 index b1909fbc..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v1/trace.pb.go +++ /dev/null @@ -1,897 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/cloudtrace/v1/trace.proto - -package cloudtrace - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Type of span. Can be used to specify additional relationships between spans -// in addition to a parent/child relationship. -type TraceSpan_SpanKind int32 - -const ( - // Unspecified. - TraceSpan_SPAN_KIND_UNSPECIFIED TraceSpan_SpanKind = 0 - // Indicates that the span covers server-side handling of an RPC or other - // remote network request. - TraceSpan_RPC_SERVER TraceSpan_SpanKind = 1 - // Indicates that the span covers the client-side wrapper around an RPC or - // other remote request. - TraceSpan_RPC_CLIENT TraceSpan_SpanKind = 2 -) - -var TraceSpan_SpanKind_name = map[int32]string{ - 0: "SPAN_KIND_UNSPECIFIED", - 1: "RPC_SERVER", - 2: "RPC_CLIENT", -} - -var TraceSpan_SpanKind_value = map[string]int32{ - "SPAN_KIND_UNSPECIFIED": 0, - "RPC_SERVER": 1, - "RPC_CLIENT": 2, -} - -func (x TraceSpan_SpanKind) String() string { - return proto.EnumName(TraceSpan_SpanKind_name, int32(x)) -} - -func (TraceSpan_SpanKind) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_91f8d9fbc62846cf, []int{2, 0} -} - -// Type of data returned for traces in the list. -type ListTracesRequest_ViewType int32 - -const ( - // Default is `MINIMAL` if unspecified. - ListTracesRequest_VIEW_TYPE_UNSPECIFIED ListTracesRequest_ViewType = 0 - // Minimal view of the trace record that contains only the project - // and trace IDs. - ListTracesRequest_MINIMAL ListTracesRequest_ViewType = 1 - // Root span view of the trace record that returns the root spans along - // with the minimal trace data. - ListTracesRequest_ROOTSPAN ListTracesRequest_ViewType = 2 - // Complete view of the trace record that contains the actual trace data. - // This is equivalent to calling the REST `get` or RPC `GetTrace` method - // using the ID of each listed trace. - ListTracesRequest_COMPLETE ListTracesRequest_ViewType = 3 -) - -var ListTracesRequest_ViewType_name = map[int32]string{ - 0: "VIEW_TYPE_UNSPECIFIED", - 1: "MINIMAL", - 2: "ROOTSPAN", - 3: "COMPLETE", -} - -var ListTracesRequest_ViewType_value = map[string]int32{ - "VIEW_TYPE_UNSPECIFIED": 0, - "MINIMAL": 1, - "ROOTSPAN": 2, - "COMPLETE": 3, -} - -func (x ListTracesRequest_ViewType) String() string { - return proto.EnumName(ListTracesRequest_ViewType_name, int32(x)) -} - -func (ListTracesRequest_ViewType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_91f8d9fbc62846cf, []int{3, 0} -} - -// A trace describes how long it takes for an application to perform an -// operation. It consists of a set of spans, each of which represent a single -// timed event within the operation. -type Trace struct { - // Project ID of the Cloud project where the trace data is stored. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Globally unique identifier for the trace. This identifier is a 128-bit - // numeric value formatted as a 32-byte hex string. - TraceId string `protobuf:"bytes,2,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"` - // Collection of spans in the trace. - Spans []*TraceSpan `protobuf:"bytes,3,rep,name=spans,proto3" json:"spans,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_91f8d9fbc62846cf, []int{0} -} - -func (m *Trace) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Trace.Unmarshal(m, b) -} -func (m *Trace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Trace.Marshal(b, m, deterministic) -} -func (m *Trace) XXX_Merge(src proto.Message) { - xxx_messageInfo_Trace.Merge(m, src) -} -func (m *Trace) XXX_Size() int { - return xxx_messageInfo_Trace.Size(m) -} -func (m *Trace) XXX_DiscardUnknown() { - xxx_messageInfo_Trace.DiscardUnknown(m) -} - -var xxx_messageInfo_Trace proto.InternalMessageInfo - -func (m *Trace) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *Trace) GetTraceId() string { - if m != nil { - return m.TraceId - } - return "" -} - -func (m *Trace) GetSpans() []*TraceSpan { - if m != nil { - return m.Spans - } - return nil -} - -// List of new or updated traces. -type Traces struct { - // List of traces. - Traces []*Trace `protobuf:"bytes,1,rep,name=traces,proto3" json:"traces,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_91f8d9fbc62846cf, []int{1} -} - -func (m *Traces) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Traces.Unmarshal(m, b) -} -func (m *Traces) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Traces.Marshal(b, m, deterministic) -} -func (m *Traces) XXX_Merge(src proto.Message) { - xxx_messageInfo_Traces.Merge(m, src) -} -func (m *Traces) XXX_Size() int { - return xxx_messageInfo_Traces.Size(m) -} -func (m *Traces) XXX_DiscardUnknown() { - xxx_messageInfo_Traces.DiscardUnknown(m) -} - -var xxx_messageInfo_Traces proto.InternalMessageInfo - -func (m *Traces) GetTraces() []*Trace { - if m != nil { - return m.Traces - } - return nil -} - -// A span represents a single timed event within a trace. Spans can be nested -// and form a trace tree. Often, a trace contains a root span that describes the -// end-to-end latency of an operation and, optionally, one or more subspans for -// its suboperations. Spans do not need to be contiguous. There may be gaps -// between spans in a trace. -type TraceSpan struct { - // Identifier for the span. Must be a 64-bit integer other than 0 and - // unique within a trace. - SpanId uint64 `protobuf:"fixed64,1,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"` - // Distinguishes between spans generated in a particular context. For example, - // two spans with the same name may be distinguished using `RPC_CLIENT` - // and `RPC_SERVER` to identify queueing latency associated with the span. - Kind TraceSpan_SpanKind `protobuf:"varint,2,opt,name=kind,proto3,enum=google.devtools.cloudtrace.v1.TraceSpan_SpanKind" json:"kind,omitempty"` - // Name of the span. Must be less than 128 bytes. The span name is sanitized - // and displayed in the Stackdriver Trace tool in the - // {% dynamic print site_values.console_name %}. - // The name may be a method name or some other per-call site name. - // For the same executable and the same call point, a best practice is - // to use a consistent name, which makes it easier to correlate - // cross-trace spans. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - // Start time of the span in nanoseconds from the UNIX epoch. - StartTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // End time of the span in nanoseconds from the UNIX epoch. - EndTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - // ID of the parent span, if any. Optional. - ParentSpanId uint64 `protobuf:"fixed64,6,opt,name=parent_span_id,json=parentSpanId,proto3" json:"parent_span_id,omitempty"` - // Collection of labels associated with the span. Label keys must be less than - // 128 bytes. Label values must be less than 16 kilobytes (10MB for - // `/stacktrace` values). - // - // Some predefined label keys exist, or you may create your own. When creating - // your own, we recommend the following formats: - // - // * `/category/product/key` for agents of well-known products (e.g. - // `/db/mongodb/read_size`). - // * `short_host/path/key` for domain-specific keys (e.g. - // `foo.com/myproduct/bar`) - // - // Predefined labels include: - // - // * `/agent` - // * `/component` - // * `/error/message` - // * `/error/name` - // * `/http/client_city` - // * `/http/client_country` - // * `/http/client_protocol` - // * `/http/client_region` - // * `/http/host` - // * `/http/method` - // * `/http/path` - // * `/http/redirected_url` - // * `/http/request/size` - // * `/http/response/size` - // * `/http/route` - // * `/http/status_code` - // * `/http/url` - // * `/http/user_agent` - // * `/pid` - // * `/stacktrace` - // * `/tid` - Labels map[string]string `protobuf:"bytes,7,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 *TraceSpan) Reset() { *m = TraceSpan{} } -func (m *TraceSpan) String() string { return proto.CompactTextString(m) } -func (*TraceSpan) ProtoMessage() {} -func (*TraceSpan) Descriptor() ([]byte, []int) { - return fileDescriptor_91f8d9fbc62846cf, []int{2} -} - -func (m *TraceSpan) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TraceSpan.Unmarshal(m, b) -} -func (m *TraceSpan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TraceSpan.Marshal(b, m, deterministic) -} -func (m *TraceSpan) XXX_Merge(src proto.Message) { - xxx_messageInfo_TraceSpan.Merge(m, src) -} -func (m *TraceSpan) XXX_Size() int { - return xxx_messageInfo_TraceSpan.Size(m) -} -func (m *TraceSpan) XXX_DiscardUnknown() { - xxx_messageInfo_TraceSpan.DiscardUnknown(m) -} - -var xxx_messageInfo_TraceSpan proto.InternalMessageInfo - -func (m *TraceSpan) GetSpanId() uint64 { - if m != nil { - return m.SpanId - } - return 0 -} - -func (m *TraceSpan) GetKind() TraceSpan_SpanKind { - if m != nil { - return m.Kind - } - return TraceSpan_SPAN_KIND_UNSPECIFIED -} - -func (m *TraceSpan) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *TraceSpan) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *TraceSpan) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -func (m *TraceSpan) GetParentSpanId() uint64 { - if m != nil { - return m.ParentSpanId - } - return 0 -} - -func (m *TraceSpan) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -// The request message for the `ListTraces` method. All fields are required -// unless specified. -type ListTracesRequest struct { - // ID of the Cloud project where the trace data is stored. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Type of data returned for traces in the list. Optional. Default is - // `MINIMAL`. - View ListTracesRequest_ViewType `protobuf:"varint,2,opt,name=view,proto3,enum=google.devtools.cloudtrace.v1.ListTracesRequest_ViewType" json:"view,omitempty"` - // Maximum number of traces to return. If not specified or <= 0, the - // implementation selects a reasonable value. The implementation may - // return fewer traces than the requested page size. Optional. - PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Token identifying the page of results to return. If provided, use the - // value of the `next_page_token` field from a previous request. Optional. - PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // Start of the time interval (inclusive) during which the trace data was - // collected from the application. - StartTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // End of the time interval (inclusive) during which the trace data was - // collected from the application. - EndTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - // An optional filter against labels for the request. - // - // By default, searches use prefix matching. To specify exact match, prepend - // a plus symbol (`+`) to the search term. - // Multiple terms are ANDed. Syntax: - // - // * `root:NAME_PREFIX` or `NAME_PREFIX`: Return traces where any root - // span starts with `NAME_PREFIX`. - // * `+root:NAME` or `+NAME`: Return traces where any root span's name is - // exactly `NAME`. - // * `span:NAME_PREFIX`: Return traces where any span starts with - // `NAME_PREFIX`. - // * `+span:NAME`: Return traces where any span's name is exactly - // `NAME`. - // * `latency:DURATION`: Return traces whose overall latency is - // greater or equal to than `DURATION`. Accepted units are nanoseconds - // (`ns`), milliseconds (`ms`), and seconds (`s`). Default is `ms`. For - // example, `latency:24ms` returns traces whose overall latency - // is greater than or equal to 24 milliseconds. - // * `label:LABEL_KEY`: Return all traces containing the specified - // label key (exact match, case-sensitive) regardless of the key:value - // pair's value (including empty values). - // * `LABEL_KEY:VALUE_PREFIX`: Return all traces containing the specified - // label key (exact match, case-sensitive) whose value starts with - // `VALUE_PREFIX`. Both a key and a value must be specified. - // * `+LABEL_KEY:VALUE`: Return all traces containing a key:value pair - // exactly matching the specified text. Both a key and a value must be - // specified. - // * `method:VALUE`: Equivalent to `/http/method:VALUE`. - // * `url:VALUE`: Equivalent to `/http/url:VALUE`. - Filter string `protobuf:"bytes,7,opt,name=filter,proto3" json:"filter,omitempty"` - // Field used to sort the returned traces. Optional. - // Can be one of the following: - // - // * `trace_id` - // * `name` (`name` field of root span in the trace) - // * `duration` (difference between `end_time` and `start_time` fields of - // the root span) - // * `start` (`start_time` field of the root span) - // - // Descending order can be specified by appending `desc` to the sort field - // (for example, `name desc`). - // - // Only one sort field is permitted. - OrderBy string `protobuf:"bytes,8,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 *ListTracesRequest) Reset() { *m = ListTracesRequest{} } -func (m *ListTracesRequest) String() string { return proto.CompactTextString(m) } -func (*ListTracesRequest) ProtoMessage() {} -func (*ListTracesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_91f8d9fbc62846cf, []int{3} -} - -func (m *ListTracesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTracesRequest.Unmarshal(m, b) -} -func (m *ListTracesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTracesRequest.Marshal(b, m, deterministic) -} -func (m *ListTracesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTracesRequest.Merge(m, src) -} -func (m *ListTracesRequest) XXX_Size() int { - return xxx_messageInfo_ListTracesRequest.Size(m) -} -func (m *ListTracesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListTracesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTracesRequest proto.InternalMessageInfo - -func (m *ListTracesRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *ListTracesRequest) GetView() ListTracesRequest_ViewType { - if m != nil { - return m.View - } - return ListTracesRequest_VIEW_TYPE_UNSPECIFIED -} - -func (m *ListTracesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListTracesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListTracesRequest) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *ListTracesRequest) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -func (m *ListTracesRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListTracesRequest) GetOrderBy() string { - if m != nil { - return m.OrderBy - } - return "" -} - -// The response message for the `ListTraces` method. -type ListTracesResponse struct { - // List of trace records returned. - Traces []*Trace `protobuf:"bytes,1,rep,name=traces,proto3" json:"traces,omitempty"` - // If defined, indicates that there are more traces that match the request - // and that this value should be passed to the next request to continue - // retrieving additional traces. - 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 *ListTracesResponse) Reset() { *m = ListTracesResponse{} } -func (m *ListTracesResponse) String() string { return proto.CompactTextString(m) } -func (*ListTracesResponse) ProtoMessage() {} -func (*ListTracesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_91f8d9fbc62846cf, []int{4} -} - -func (m *ListTracesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTracesResponse.Unmarshal(m, b) -} -func (m *ListTracesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTracesResponse.Marshal(b, m, deterministic) -} -func (m *ListTracesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTracesResponse.Merge(m, src) -} -func (m *ListTracesResponse) XXX_Size() int { - return xxx_messageInfo_ListTracesResponse.Size(m) -} -func (m *ListTracesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListTracesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTracesResponse proto.InternalMessageInfo - -func (m *ListTracesResponse) GetTraces() []*Trace { - if m != nil { - return m.Traces - } - return nil -} - -func (m *ListTracesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The request message for the `GetTrace` method. -type GetTraceRequest struct { - // ID of the Cloud project where the trace data is stored. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // ID of the trace to return. - TraceId string `protobuf:"bytes,2,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_91f8d9fbc62846cf, []int{5} -} - -func (m *GetTraceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTraceRequest.Unmarshal(m, b) -} -func (m *GetTraceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTraceRequest.Marshal(b, m, deterministic) -} -func (m *GetTraceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTraceRequest.Merge(m, src) -} -func (m *GetTraceRequest) XXX_Size() int { - return xxx_messageInfo_GetTraceRequest.Size(m) -} -func (m *GetTraceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTraceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetTraceRequest proto.InternalMessageInfo - -func (m *GetTraceRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *GetTraceRequest) GetTraceId() string { - if m != nil { - return m.TraceId - } - return "" -} - -// The request message for the `PatchTraces` method. -type PatchTracesRequest struct { - // ID of the Cloud project where the trace data is stored. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The body of the message. - Traces *Traces `protobuf:"bytes,2,opt,name=traces,proto3" json:"traces,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_91f8d9fbc62846cf, []int{6} -} - -func (m *PatchTracesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PatchTracesRequest.Unmarshal(m, b) -} -func (m *PatchTracesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PatchTracesRequest.Marshal(b, m, deterministic) -} -func (m *PatchTracesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PatchTracesRequest.Merge(m, src) -} -func (m *PatchTracesRequest) XXX_Size() int { - return xxx_messageInfo_PatchTracesRequest.Size(m) -} -func (m *PatchTracesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PatchTracesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_PatchTracesRequest proto.InternalMessageInfo - -func (m *PatchTracesRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *PatchTracesRequest) GetTraces() *Traces { - if m != nil { - return m.Traces - } - return nil -} - -func init() { - proto.RegisterEnum("google.devtools.cloudtrace.v1.TraceSpan_SpanKind", TraceSpan_SpanKind_name, TraceSpan_SpanKind_value) - proto.RegisterEnum("google.devtools.cloudtrace.v1.ListTracesRequest_ViewType", ListTracesRequest_ViewType_name, ListTracesRequest_ViewType_value) - proto.RegisterType((*Trace)(nil), "google.devtools.cloudtrace.v1.Trace") - proto.RegisterType((*Traces)(nil), "google.devtools.cloudtrace.v1.Traces") - proto.RegisterType((*TraceSpan)(nil), "google.devtools.cloudtrace.v1.TraceSpan") - proto.RegisterMapType((map[string]string)(nil), "google.devtools.cloudtrace.v1.TraceSpan.LabelsEntry") - proto.RegisterType((*ListTracesRequest)(nil), "google.devtools.cloudtrace.v1.ListTracesRequest") - proto.RegisterType((*ListTracesResponse)(nil), "google.devtools.cloudtrace.v1.ListTracesResponse") - proto.RegisterType((*GetTraceRequest)(nil), "google.devtools.cloudtrace.v1.GetTraceRequest") - proto.RegisterType((*PatchTracesRequest)(nil), "google.devtools.cloudtrace.v1.PatchTracesRequest") -} - -func init() { - proto.RegisterFile("google/devtools/cloudtrace/v1/trace.proto", fileDescriptor_91f8d9fbc62846cf) -} - -var fileDescriptor_91f8d9fbc62846cf = []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, - 0x03, 0x62, 0xb7, 0x76, 0x41, 0x22, 0xe5, 0x47, 0x6a, 0xdc, 0x6d, 0xb4, 0x8a, 0xe3, 0xac, 0xd6, - 0xc6, 0x08, 0x14, 0x69, 0x35, 0xf1, 0x4e, 0xcd, 0x12, 0x7b, 0x66, 0xd9, 0x99, 0xb8, 0x38, 0x55, - 0x2f, 0xe0, 0x92, 0x5b, 0xc4, 0x15, 0x6f, 0xd0, 0x4b, 0x1e, 0x83, 0x3b, 0xc4, 0x2b, 0x20, 0xf1, - 0x1a, 0x68, 0x66, 0x76, 0x9b, 0x28, 0x51, 0x63, 0x07, 0x6e, 0xa2, 0x39, 0x67, 0xce, 0xef, 0xf7, - 0x7d, 0x93, 0x35, 0xbc, 0x37, 0x61, 0x6c, 0x32, 0x25, 0x4e, 0x44, 0xe6, 0x82, 0xb1, 0x29, 0x77, - 0xc6, 0x53, 0x76, 0x1c, 0x89, 0x14, 0x8f, 0x89, 0x33, 0x6f, 0x3b, 0xea, 0x60, 0x27, 0x29, 0x13, - 0x0c, 0xdd, 0xd6, 0xa1, 0x76, 0x1e, 0x6a, 0x9f, 0x86, 0xda, 0xf3, 0x76, 0xf3, 0xcd, 0xac, 0x12, - 0x4e, 0x62, 0x07, 0x53, 0xca, 0x04, 0x16, 0x31, 0xa3, 0x5c, 0x27, 0x37, 0x6f, 0x65, 0xb7, 0xca, - 0x3a, 0x3c, 0x7e, 0xec, 0x90, 0x59, 0x22, 0x16, 0xd9, 0xe5, 0x5b, 0xe7, 0x2f, 0x45, 0x3c, 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 0xed, 0x2b, 0x64, 0x68, 0xae, 0xac, 0xd6, 0x4f, 0x7f, 0xfd, 0xfd, 0x4b, 0xc1, - 0x42, 0x9b, 0xf2, 0x03, 0x96, 0xad, 0xc6, 0x9d, 0xa7, 0xa7, 0x6b, 0x3f, 0x73, 0x32, 0x5e, 0x7e, - 0x35, 0xa0, 0x92, 0x03, 0x8e, 0xec, 0x25, 0x9d, 0xce, 0x31, 0xd3, 0x5c, 0x49, 0x02, 0xd6, 0x3d, - 0x35, 0xcc, 0x87, 0xe8, 0x83, 0x65, 0xc3, 0x38, 0x4f, 0x73, 0x22, 0x9f, 0xa1, 0x9f, 0x0d, 0xa8, - 0x9d, 0xe1, 0x0e, 0x2d, 0x03, 0xe1, 0x22, 0xcf, 0xcd, 0x1b, 0x17, 0x9e, 0x9b, 0x2b, 0x3f, 0xb8, - 0xd6, 0x5d, 0x35, 0xcf, 0xfb, 0x9d, 0xa5, 0xe0, 0xdc, 0xcf, 0x38, 0xdd, 0x7e, 0x6e, 0xc0, 0xdb, - 0x63, 0x36, 0xbb, 0x7c, 0x84, 0x6d, 0x50, 0xed, 0x7d, 0xd9, 0xcc, 0x37, 0xbe, 0xd9, 0xc9, 0x82, - 0x27, 0x6c, 0x8a, 0xe9, 0xc4, 0x66, 0xe9, 0xc4, 0x99, 0x10, 0xaa, 0x46, 0x71, 0xf4, 0x15, 0x4e, - 0x62, 0xfe, 0x92, 0x1f, 0x1d, 0x9f, 0x9e, 0x5a, 0xcf, 0x0b, 0xd7, 0x77, 0x74, 0xa5, 0xae, 0xf4, - 0x69, 0x4c, 0xed, 0x51, 0xfb, 0x8f, 0xdc, 0x7f, 0xa0, 0xfc, 0x07, 0xca, 0x7f, 0x30, 0x6a, 0x1f, - 0x9a, 0xaa, 0xc7, 0xbd, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x08, 0xd9, 0xf5, 0xea, 0xd7, 0x08, - 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 - -// TraceServiceClient is the client API for TraceService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type TraceServiceClient interface { - // Returns of a list of traces that match the specified filter conditions. - ListTraces(ctx context.Context, in *ListTracesRequest, opts ...grpc.CallOption) (*ListTracesResponse, error) - // Gets a single trace by its ID. - GetTrace(ctx context.Context, in *GetTraceRequest, opts ...grpc.CallOption) (*Trace, error) - // Sends new traces to Stackdriver Trace or updates existing traces. If the ID - // of a trace that you send matches that of an existing trace, any fields - // in the existing trace and its spans are overwritten by the provided values, - // and any new fields provided are merged with the existing trace data. If the - // ID does not match, a new trace is created. - PatchTraces(ctx context.Context, in *PatchTracesRequest, opts ...grpc.CallOption) (*empty.Empty, error) -} - -type traceServiceClient struct { - cc *grpc.ClientConn -} - -func NewTraceServiceClient(cc *grpc.ClientConn) TraceServiceClient { - return &traceServiceClient{cc} -} - -func (c *traceServiceClient) ListTraces(ctx context.Context, in *ListTracesRequest, opts ...grpc.CallOption) (*ListTracesResponse, error) { - out := new(ListTracesResponse) - err := c.cc.Invoke(ctx, "/google.devtools.cloudtrace.v1.TraceService/ListTraces", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *traceServiceClient) GetTrace(ctx context.Context, in *GetTraceRequest, opts ...grpc.CallOption) (*Trace, error) { - out := new(Trace) - err := c.cc.Invoke(ctx, "/google.devtools.cloudtrace.v1.TraceService/GetTrace", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *traceServiceClient) PatchTraces(ctx context.Context, in *PatchTracesRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.devtools.cloudtrace.v1.TraceService/PatchTraces", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// TraceServiceServer is the server API for TraceService service. -type TraceServiceServer interface { - // Returns of a list of traces that match the specified filter conditions. - ListTraces(context.Context, *ListTracesRequest) (*ListTracesResponse, error) - // Gets a single trace by its ID. - GetTrace(context.Context, *GetTraceRequest) (*Trace, error) - // Sends new traces to Stackdriver Trace or updates existing traces. If the ID - // of a trace that you send matches that of an existing trace, any fields - // in the existing trace and its spans are overwritten by the provided values, - // and any new fields provided are merged with the existing trace data. If the - // ID does not match, a new trace is created. - PatchTraces(context.Context, *PatchTracesRequest) (*empty.Empty, error) -} - -// UnimplementedTraceServiceServer can be embedded to have forward compatible implementations. -type UnimplementedTraceServiceServer struct { -} - -func (*UnimplementedTraceServiceServer) ListTraces(ctx context.Context, req *ListTracesRequest) (*ListTracesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListTraces not implemented") -} -func (*UnimplementedTraceServiceServer) GetTrace(ctx context.Context, req *GetTraceRequest) (*Trace, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTrace not implemented") -} -func (*UnimplementedTraceServiceServer) PatchTraces(ctx context.Context, req *PatchTracesRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method PatchTraces not implemented") -} - -func RegisterTraceServiceServer(s *grpc.Server, srv TraceServiceServer) { - s.RegisterService(&_TraceService_serviceDesc, srv) -} - -func _TraceService_ListTraces_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListTracesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TraceServiceServer).ListTraces(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.cloudtrace.v1.TraceService/ListTraces", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TraceServiceServer).ListTraces(ctx, req.(*ListTracesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TraceService_GetTrace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTraceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TraceServiceServer).GetTrace(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.cloudtrace.v1.TraceService/GetTrace", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TraceServiceServer).GetTrace(ctx, req.(*GetTraceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TraceService_PatchTraces_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PatchTracesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TraceServiceServer).PatchTraces(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.cloudtrace.v1.TraceService/PatchTraces", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TraceServiceServer).PatchTraces(ctx, req.(*PatchTracesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _TraceService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.devtools.cloudtrace.v1.TraceService", - HandlerType: (*TraceServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListTraces", - Handler: _TraceService_ListTraces_Handler, - }, - { - MethodName: "GetTrace", - Handler: _TraceService_GetTrace_Handler, - }, - { - MethodName: "PatchTraces", - Handler: _TraceService_PatchTraces_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/devtools/cloudtrace/v1/trace.proto", -} 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 deleted file mode 100644 index 15e73796..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v2/trace.pb.go +++ /dev/null @@ -1,1268 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/cloudtrace/v2/trace.proto - -package cloudtrace - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "google.golang.org/genproto/googleapis/api/annotations" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Indicates whether the message was sent or received. -type Span_TimeEvent_MessageEvent_Type int32 - -const ( - // Unknown event type. - Span_TimeEvent_MessageEvent_TYPE_UNSPECIFIED Span_TimeEvent_MessageEvent_Type = 0 - // Indicates a sent message. - Span_TimeEvent_MessageEvent_SENT Span_TimeEvent_MessageEvent_Type = 1 - // Indicates a received message. - Span_TimeEvent_MessageEvent_RECEIVED Span_TimeEvent_MessageEvent_Type = 2 -) - -var Span_TimeEvent_MessageEvent_Type_name = map[int32]string{ - 0: "TYPE_UNSPECIFIED", - 1: "SENT", - 2: "RECEIVED", -} - -var Span_TimeEvent_MessageEvent_Type_value = map[string]int32{ - "TYPE_UNSPECIFIED": 0, - "SENT": 1, - "RECEIVED": 2, -} - -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_29869cc16dc8ce61, []int{0, 1, 1, 0} -} - -// The relationship of the current span relative to the linked span: child, -// parent, or unspecified. -type Span_Link_Type int32 - -const ( - // The relationship of the two spans is unknown. - Span_Link_TYPE_UNSPECIFIED Span_Link_Type = 0 - // The linked span is a child of the current span. - Span_Link_CHILD_LINKED_SPAN Span_Link_Type = 1 - // The linked span is a parent of the current span. - Span_Link_PARENT_LINKED_SPAN Span_Link_Type = 2 -) - -var Span_Link_Type_name = map[int32]string{ - 0: "TYPE_UNSPECIFIED", - 1: "CHILD_LINKED_SPAN", - 2: "PARENT_LINKED_SPAN", -} - -var Span_Link_Type_value = map[string]int32{ - "TYPE_UNSPECIFIED": 0, - "CHILD_LINKED_SPAN": 1, - "PARENT_LINKED_SPAN": 2, -} - -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_29869cc16dc8ce61, []int{0, 3, 0} -} - -// A span represents a single operation within a trace. Spans can be -// nested to form a trace tree. Often, a trace contains a root span -// that describes the end-to-end latency, and one or more subspans for -// its sub-operations. A trace can also contain multiple root spans, -// or none at all. Spans do not need to be contiguous—there may be -// gaps or overlaps between spans in a trace. -type Span 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. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The [SPAN_ID] portion of the span's resource name. - SpanId string `protobuf:"bytes,2,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"` - // The [SPAN_ID] of this span's parent span. If this is a root span, - // then this field must be empty. - ParentSpanId string `protobuf:"bytes,3,opt,name=parent_span_id,json=parentSpanId,proto3" json:"parent_span_id,omitempty"` - // A description of the span's operation (up to 128 bytes). - // Stackdriver Trace displays the description in the - // {% dynamic print site_values.console_name %}. - // For example, the display name can be a qualified method name or a file name - // and a line number where the operation is called. A best practice is to use - // the same display name within an application and at the same call point. - // This makes it easier to correlate spans in different traces. - DisplayName *TruncatableString `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // The start time of the span. On the client side, this is the time kept by - // the local machine where the span execution starts. On the server side, this - // is the time when the server's application handler starts running. - StartTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // The end time of the span. On the client side, this is the time kept by - // the local machine where the span execution ends. On the server side, this - // is the time when the server application handler stops running. - EndTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - // A set of attributes on the span. You can have up to 32 attributes per - // span. - Attributes *Span_Attributes `protobuf:"bytes,7,opt,name=attributes,proto3" json:"attributes,omitempty"` - // Stack trace captured at the start of the span. - StackTrace *StackTrace `protobuf:"bytes,8,opt,name=stack_trace,json=stackTrace,proto3" json:"stack_trace,omitempty"` - // A set of time events. You can have up to 32 annotations and 128 message - // events per span. - TimeEvents *Span_TimeEvents `protobuf:"bytes,9,opt,name=time_events,json=timeEvents,proto3" json:"time_events,omitempty"` - // Links associated with the span. You can have up to 128 links per Span. - Links *Span_Links `protobuf:"bytes,10,opt,name=links,proto3" json:"links,omitempty"` - // An optional final status for this span. - Status *status.Status `protobuf:"bytes,11,opt,name=status,proto3" json:"status,omitempty"` - // (Optional) Set this parameter to indicate whether this span is in - // the same process as its parent. If you do not set this parameter, - // Stackdriver Trace is unable to take advantage of this helpful - // information. - SameProcessAsParentSpan *wrappers.BoolValue `protobuf:"bytes,12,opt,name=same_process_as_parent_span,json=sameProcessAsParentSpan,proto3" json:"same_process_as_parent_span,omitempty"` - // An optional number of child spans that were generated while this span - // was active. If set, allows implementation to detect missing child spans. - ChildSpanCount *wrappers.Int32Value `protobuf:"bytes,13,opt,name=child_span_count,json=childSpanCount,proto3" json:"child_span_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_29869cc16dc8ce61, []int{0} -} - -func (m *Span) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Span.Unmarshal(m, b) -} -func (m *Span) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Span.Marshal(b, m, deterministic) -} -func (m *Span) XXX_Merge(src proto.Message) { - xxx_messageInfo_Span.Merge(m, src) -} -func (m *Span) XXX_Size() int { - return xxx_messageInfo_Span.Size(m) -} -func (m *Span) XXX_DiscardUnknown() { - xxx_messageInfo_Span.DiscardUnknown(m) -} - -var xxx_messageInfo_Span proto.InternalMessageInfo - -func (m *Span) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Span) GetSpanId() string { - if m != nil { - return m.SpanId - } - return "" -} - -func (m *Span) GetParentSpanId() string { - if m != nil { - return m.ParentSpanId - } - return "" -} - -func (m *Span) GetDisplayName() *TruncatableString { - if m != nil { - return m.DisplayName - } - return nil -} - -func (m *Span) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *Span) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -func (m *Span) GetAttributes() *Span_Attributes { - if m != nil { - return m.Attributes - } - return nil -} - -func (m *Span) GetStackTrace() *StackTrace { - if m != nil { - return m.StackTrace - } - return nil -} - -func (m *Span) GetTimeEvents() *Span_TimeEvents { - if m != nil { - return m.TimeEvents - } - return nil -} - -func (m *Span) GetLinks() *Span_Links { - if m != nil { - return m.Links - } - return nil -} - -func (m *Span) GetStatus() *status.Status { - if m != nil { - return m.Status - } - return nil -} - -func (m *Span) GetSameProcessAsParentSpan() *wrappers.BoolValue { - if m != nil { - return m.SameProcessAsParentSpan - } - return nil -} - -func (m *Span) GetChildSpanCount() *wrappers.Int32Value { - if m != nil { - return m.ChildSpanCount - } - return nil -} - -// A set of attributes, each in the format `[KEY]:[VALUE]`. -type Span_Attributes struct { - // The set of attributes. Each attribute's key can be up to 128 bytes - // long. The value can be a string up to 256 bytes, an integer, or the - // Boolean values `true` and `false`. For example: - // - // "/instance_id": "my-instance" - // "/http/user_agent": "" - // "/http/request_bytes": 300 - // "abc.com/myattribute": true - AttributeMap map[string]*AttributeValue `protobuf:"bytes,1,rep,name=attribute_map,json=attributeMap,proto3" json:"attribute_map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // The number of attributes that were discarded. Attributes can be discarded - // because their keys are too long or because there are too many attributes. - // If this value is 0 then all attributes are valid. - DroppedAttributesCount int32 `protobuf:"varint,2,opt,name=dropped_attributes_count,json=droppedAttributesCount,proto3" json:"dropped_attributes_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_29869cc16dc8ce61, []int{0, 0} -} - -func (m *Span_Attributes) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Span_Attributes.Unmarshal(m, b) -} -func (m *Span_Attributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Span_Attributes.Marshal(b, m, deterministic) -} -func (m *Span_Attributes) XXX_Merge(src proto.Message) { - xxx_messageInfo_Span_Attributes.Merge(m, src) -} -func (m *Span_Attributes) XXX_Size() int { - return xxx_messageInfo_Span_Attributes.Size(m) -} -func (m *Span_Attributes) XXX_DiscardUnknown() { - xxx_messageInfo_Span_Attributes.DiscardUnknown(m) -} - -var xxx_messageInfo_Span_Attributes proto.InternalMessageInfo - -func (m *Span_Attributes) GetAttributeMap() map[string]*AttributeValue { - if m != nil { - return m.AttributeMap - } - return nil -} - -func (m *Span_Attributes) GetDroppedAttributesCount() int32 { - if m != nil { - return m.DroppedAttributesCount - } - return 0 -} - -// A time-stamped annotation or message event in the Span. -type Span_TimeEvent struct { - // The timestamp indicating the time the event occurred. - Time *timestamp.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` - // A `TimeEvent` can contain either an `Annotation` object or a - // `MessageEvent` object, but not both. - // - // Types that are valid to be assigned to Value: - // *Span_TimeEvent_Annotation_ - // *Span_TimeEvent_MessageEvent_ - Value isSpan_TimeEvent_Value `protobuf_oneof:"value"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_29869cc16dc8ce61, []int{0, 1} -} - -func (m *Span_TimeEvent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Span_TimeEvent.Unmarshal(m, b) -} -func (m *Span_TimeEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Span_TimeEvent.Marshal(b, m, deterministic) -} -func (m *Span_TimeEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_Span_TimeEvent.Merge(m, src) -} -func (m *Span_TimeEvent) XXX_Size() int { - return xxx_messageInfo_Span_TimeEvent.Size(m) -} -func (m *Span_TimeEvent) XXX_DiscardUnknown() { - xxx_messageInfo_Span_TimeEvent.DiscardUnknown(m) -} - -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() -} - -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_MessageEvent_) isSpan_TimeEvent_Value() {} - -func (m *Span_TimeEvent) GetValue() isSpan_TimeEvent_Value { - if m != nil { - return m.Value - } - return nil -} - -func (m *Span_TimeEvent) GetAnnotation() *Span_TimeEvent_Annotation { - if x, ok := m.GetValue().(*Span_TimeEvent_Annotation_); ok { - return x.Annotation - } - return nil -} - -func (m *Span_TimeEvent) GetMessageEvent() *Span_TimeEvent_MessageEvent { - if x, ok := m.GetValue().(*Span_TimeEvent_MessageEvent_); ok { - return x.MessageEvent - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Span_TimeEvent) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Span_TimeEvent_Annotation_)(nil), - (*Span_TimeEvent_MessageEvent_)(nil), - } -} - -// Text annotation with a set of attributes. -type Span_TimeEvent_Annotation struct { - // A user-supplied message describing the event. The maximum length for - // the description is 256 bytes. - Description *TruncatableString `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` - // A set of attributes on the annotation. You can have up to 4 attributes - // per Annotation. - Attributes *Span_Attributes `protobuf:"bytes,2,opt,name=attributes,proto3" json:"attributes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Span_TimeEvent_Annotation) Reset() { *m = Span_TimeEvent_Annotation{} } -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_29869cc16dc8ce61, []int{0, 1, 0} -} - -func (m *Span_TimeEvent_Annotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Span_TimeEvent_Annotation.Unmarshal(m, b) -} -func (m *Span_TimeEvent_Annotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Span_TimeEvent_Annotation.Marshal(b, m, deterministic) -} -func (m *Span_TimeEvent_Annotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Span_TimeEvent_Annotation.Merge(m, src) -} -func (m *Span_TimeEvent_Annotation) XXX_Size() int { - return xxx_messageInfo_Span_TimeEvent_Annotation.Size(m) -} -func (m *Span_TimeEvent_Annotation) XXX_DiscardUnknown() { - xxx_messageInfo_Span_TimeEvent_Annotation.DiscardUnknown(m) -} - -var xxx_messageInfo_Span_TimeEvent_Annotation proto.InternalMessageInfo - -func (m *Span_TimeEvent_Annotation) GetDescription() *TruncatableString { - if m != nil { - return m.Description - } - return nil -} - -func (m *Span_TimeEvent_Annotation) GetAttributes() *Span_Attributes { - if m != nil { - return m.Attributes - } - return nil -} - -// An event describing a message sent/received between Spans. -type Span_TimeEvent_MessageEvent struct { - // Type of MessageEvent. Indicates whether the message was sent or - // received. - Type Span_TimeEvent_MessageEvent_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.devtools.cloudtrace.v2.Span_TimeEvent_MessageEvent_Type" json:"type,omitempty"` - // An identifier for the MessageEvent's message that can be used to match - // SENT and RECEIVED MessageEvents. It is recommended to be unique within - // a Span. - Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` - // The number of uncompressed bytes sent or received. - UncompressedSizeBytes int64 `protobuf:"varint,3,opt,name=uncompressed_size_bytes,json=uncompressedSizeBytes,proto3" json:"uncompressed_size_bytes,omitempty"` - // The number of compressed bytes sent or received. If missing assumed to - // be the same size as uncompressed. - CompressedSizeBytes int64 `protobuf:"varint,4,opt,name=compressed_size_bytes,json=compressedSizeBytes,proto3" json:"compressed_size_bytes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Span_TimeEvent_MessageEvent) Reset() { *m = Span_TimeEvent_MessageEvent{} } -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_29869cc16dc8ce61, []int{0, 1, 1} -} - -func (m *Span_TimeEvent_MessageEvent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Span_TimeEvent_MessageEvent.Unmarshal(m, b) -} -func (m *Span_TimeEvent_MessageEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Span_TimeEvent_MessageEvent.Marshal(b, m, deterministic) -} -func (m *Span_TimeEvent_MessageEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_Span_TimeEvent_MessageEvent.Merge(m, src) -} -func (m *Span_TimeEvent_MessageEvent) XXX_Size() int { - return xxx_messageInfo_Span_TimeEvent_MessageEvent.Size(m) -} -func (m *Span_TimeEvent_MessageEvent) XXX_DiscardUnknown() { - xxx_messageInfo_Span_TimeEvent_MessageEvent.DiscardUnknown(m) -} - -var xxx_messageInfo_Span_TimeEvent_MessageEvent proto.InternalMessageInfo - -func (m *Span_TimeEvent_MessageEvent) GetType() Span_TimeEvent_MessageEvent_Type { - if m != nil { - return m.Type - } - return Span_TimeEvent_MessageEvent_TYPE_UNSPECIFIED -} - -func (m *Span_TimeEvent_MessageEvent) GetId() int64 { - if m != nil { - return m.Id - } - return 0 -} - -func (m *Span_TimeEvent_MessageEvent) GetUncompressedSizeBytes() int64 { - if m != nil { - return m.UncompressedSizeBytes - } - return 0 -} - -func (m *Span_TimeEvent_MessageEvent) GetCompressedSizeBytes() int64 { - if m != nil { - return m.CompressedSizeBytes - } - return 0 -} - -// A collection of `TimeEvent`s. A `TimeEvent` is a time-stamped annotation -// on the span, consisting of either user-supplied key:value pairs, or -// details of a message sent/received between Spans. -type Span_TimeEvents struct { - // A collection of `TimeEvent`s. - TimeEvent []*Span_TimeEvent `protobuf:"bytes,1,rep,name=time_event,json=timeEvent,proto3" json:"time_event,omitempty"` - // The number of dropped annotations in all the included time events. - // If the value is 0, then no annotations were dropped. - DroppedAnnotationsCount int32 `protobuf:"varint,2,opt,name=dropped_annotations_count,json=droppedAnnotationsCount,proto3" json:"dropped_annotations_count,omitempty"` - // The number of dropped message events in all the included time events. - // If the value is 0, then no message events were dropped. - DroppedMessageEventsCount int32 `protobuf:"varint,3,opt,name=dropped_message_events_count,json=droppedMessageEventsCount,proto3" json:"dropped_message_events_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_29869cc16dc8ce61, []int{0, 2} -} - -func (m *Span_TimeEvents) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Span_TimeEvents.Unmarshal(m, b) -} -func (m *Span_TimeEvents) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Span_TimeEvents.Marshal(b, m, deterministic) -} -func (m *Span_TimeEvents) XXX_Merge(src proto.Message) { - xxx_messageInfo_Span_TimeEvents.Merge(m, src) -} -func (m *Span_TimeEvents) XXX_Size() int { - return xxx_messageInfo_Span_TimeEvents.Size(m) -} -func (m *Span_TimeEvents) XXX_DiscardUnknown() { - xxx_messageInfo_Span_TimeEvents.DiscardUnknown(m) -} - -var xxx_messageInfo_Span_TimeEvents proto.InternalMessageInfo - -func (m *Span_TimeEvents) GetTimeEvent() []*Span_TimeEvent { - if m != nil { - return m.TimeEvent - } - return nil -} - -func (m *Span_TimeEvents) GetDroppedAnnotationsCount() int32 { - if m != nil { - return m.DroppedAnnotationsCount - } - return 0 -} - -func (m *Span_TimeEvents) GetDroppedMessageEventsCount() int32 { - if m != nil { - return m.DroppedMessageEventsCount - } - return 0 -} - -// A pointer from the current span to another span in the same trace or in a -// different trace. For example, this can be used in batching operations, -// where a single batch handler processes multiple requests from different -// traces or when the handler receives a request from a different project. -type Span_Link struct { - // The [TRACE_ID] for a trace within a project. - TraceId string `protobuf:"bytes,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"` - // The [SPAN_ID] for a span within a trace. - SpanId string `protobuf:"bytes,2,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"` - // The relationship of the current span relative to the linked span. - Type Span_Link_Type `protobuf:"varint,3,opt,name=type,proto3,enum=google.devtools.cloudtrace.v2.Span_Link_Type" json:"type,omitempty"` - // A set of attributes on the link. You have have up to 32 attributes per - // link. - Attributes *Span_Attributes `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_29869cc16dc8ce61, []int{0, 3} -} - -func (m *Span_Link) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Span_Link.Unmarshal(m, b) -} -func (m *Span_Link) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Span_Link.Marshal(b, m, deterministic) -} -func (m *Span_Link) XXX_Merge(src proto.Message) { - xxx_messageInfo_Span_Link.Merge(m, src) -} -func (m *Span_Link) XXX_Size() int { - return xxx_messageInfo_Span_Link.Size(m) -} -func (m *Span_Link) XXX_DiscardUnknown() { - xxx_messageInfo_Span_Link.DiscardUnknown(m) -} - -var xxx_messageInfo_Span_Link proto.InternalMessageInfo - -func (m *Span_Link) GetTraceId() string { - if m != nil { - return m.TraceId - } - return "" -} - -func (m *Span_Link) GetSpanId() string { - if m != nil { - return m.SpanId - } - return "" -} - -func (m *Span_Link) GetType() Span_Link_Type { - if m != nil { - return m.Type - } - return Span_Link_TYPE_UNSPECIFIED -} - -func (m *Span_Link) GetAttributes() *Span_Attributes { - if m != nil { - return m.Attributes - } - return nil -} - -// A collection of links, which are references from this span to a span -// in the same or different trace. -type Span_Links struct { - // A collection of links. - Link []*Span_Link `protobuf:"bytes,1,rep,name=link,proto3" json:"link,omitempty"` - // The number of dropped links after the maximum size was enforced. If - // this value is 0, then no links were dropped. - DroppedLinksCount int32 `protobuf:"varint,2,opt,name=dropped_links_count,json=droppedLinksCount,proto3" json:"dropped_links_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_29869cc16dc8ce61, []int{0, 4} -} - -func (m *Span_Links) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Span_Links.Unmarshal(m, b) -} -func (m *Span_Links) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Span_Links.Marshal(b, m, deterministic) -} -func (m *Span_Links) XXX_Merge(src proto.Message) { - xxx_messageInfo_Span_Links.Merge(m, src) -} -func (m *Span_Links) XXX_Size() int { - return xxx_messageInfo_Span_Links.Size(m) -} -func (m *Span_Links) XXX_DiscardUnknown() { - xxx_messageInfo_Span_Links.DiscardUnknown(m) -} - -var xxx_messageInfo_Span_Links proto.InternalMessageInfo - -func (m *Span_Links) GetLink() []*Span_Link { - if m != nil { - return m.Link - } - return nil -} - -func (m *Span_Links) GetDroppedLinksCount() int32 { - if m != nil { - return m.DroppedLinksCount - } - return 0 -} - -// The allowed types for [VALUE] in a `[KEY]:[VALUE]` attribute. -type AttributeValue struct { - // The type of the value. - // - // Types that are valid to be assigned to Value: - // *AttributeValue_StringValue - // *AttributeValue_IntValue - // *AttributeValue_BoolValue - Value isAttributeValue_Value `protobuf_oneof:"value"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_29869cc16dc8ce61, []int{1} -} - -func (m *AttributeValue) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AttributeValue.Unmarshal(m, b) -} -func (m *AttributeValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AttributeValue.Marshal(b, m, deterministic) -} -func (m *AttributeValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttributeValue.Merge(m, src) -} -func (m *AttributeValue) XXX_Size() int { - return xxx_messageInfo_AttributeValue.Size(m) -} -func (m *AttributeValue) XXX_DiscardUnknown() { - xxx_messageInfo_AttributeValue.DiscardUnknown(m) -} - -var xxx_messageInfo_AttributeValue proto.InternalMessageInfo - -type isAttributeValue_Value interface { - isAttributeValue_Value() -} - -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 (m *AttributeValue) GetValue() isAttributeValue_Value { - if m != nil { - return m.Value - } - return nil -} - -func (m *AttributeValue) GetStringValue() *TruncatableString { - if x, ok := m.GetValue().(*AttributeValue_StringValue); ok { - return x.StringValue - } - return nil -} - -func (m *AttributeValue) GetIntValue() int64 { - if x, ok := m.GetValue().(*AttributeValue_IntValue); ok { - return x.IntValue - } - return 0 -} - -func (m *AttributeValue) GetBoolValue() bool { - if x, ok := m.GetValue().(*AttributeValue_BoolValue); ok { - return x.BoolValue - } - return false -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AttributeValue) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AttributeValue_StringValue)(nil), - (*AttributeValue_IntValue)(nil), - (*AttributeValue_BoolValue)(nil), - } -} - -// A call stack appearing in a trace. -type StackTrace struct { - // Stack frames in this stack trace. A maximum of 128 frames are allowed. - StackFrames *StackTrace_StackFrames `protobuf:"bytes,1,opt,name=stack_frames,json=stackFrames,proto3" json:"stack_frames,omitempty"` - // The hash ID is used to conserve network bandwidth for duplicate - // stack traces within a single trace. - // - // Often multiple spans will have identical stack traces. - // The first occurrence of a stack trace should contain both the - // `stackFrame` content and a value in `stackTraceHashId`. - // - // Subsequent spans within the same request can refer - // to that stack trace by only setting `stackTraceHashId`. - StackTraceHashId int64 `protobuf:"varint,2,opt,name=stack_trace_hash_id,json=stackTraceHashId,proto3" json:"stack_trace_hash_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_29869cc16dc8ce61, []int{2} -} - -func (m *StackTrace) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StackTrace.Unmarshal(m, b) -} -func (m *StackTrace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StackTrace.Marshal(b, m, deterministic) -} -func (m *StackTrace) XXX_Merge(src proto.Message) { - xxx_messageInfo_StackTrace.Merge(m, src) -} -func (m *StackTrace) XXX_Size() int { - return xxx_messageInfo_StackTrace.Size(m) -} -func (m *StackTrace) XXX_DiscardUnknown() { - xxx_messageInfo_StackTrace.DiscardUnknown(m) -} - -var xxx_messageInfo_StackTrace proto.InternalMessageInfo - -func (m *StackTrace) GetStackFrames() *StackTrace_StackFrames { - if m != nil { - return m.StackFrames - } - return nil -} - -func (m *StackTrace) GetStackTraceHashId() int64 { - if m != nil { - return m.StackTraceHashId - } - return 0 -} - -// Represents a single stack frame in a stack trace. -type StackTrace_StackFrame struct { - // The fully-qualified name that uniquely identifies the function or - // method that is active in this frame (up to 1024 bytes). - FunctionName *TruncatableString `protobuf:"bytes,1,opt,name=function_name,json=functionName,proto3" json:"function_name,omitempty"` - // An un-mangled function name, if `function_name` is - // [mangled](http://www.avabodh.com/cxxin/namemangling.html). The name can - // be fully-qualified (up to 1024 bytes). - OriginalFunctionName *TruncatableString `protobuf:"bytes,2,opt,name=original_function_name,json=originalFunctionName,proto3" json:"original_function_name,omitempty"` - // The name of the source file where the function call appears (up to 256 - // bytes). - FileName *TruncatableString `protobuf:"bytes,3,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` - // The line number in `file_name` where the function call appears. - LineNumber int64 `protobuf:"varint,4,opt,name=line_number,json=lineNumber,proto3" json:"line_number,omitempty"` - // The column number where the function call appears, if available. - // This is important in JavaScript because of its anonymous functions. - ColumnNumber int64 `protobuf:"varint,5,opt,name=column_number,json=columnNumber,proto3" json:"column_number,omitempty"` - // The binary module from where the code was loaded. - LoadModule *Module `protobuf:"bytes,6,opt,name=load_module,json=loadModule,proto3" json:"load_module,omitempty"` - // The version of the deployed source code (up to 128 bytes). - SourceVersion *TruncatableString `protobuf:"bytes,7,opt,name=source_version,json=sourceVersion,proto3" json:"source_version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_29869cc16dc8ce61, []int{2, 0} -} - -func (m *StackTrace_StackFrame) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StackTrace_StackFrame.Unmarshal(m, b) -} -func (m *StackTrace_StackFrame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StackTrace_StackFrame.Marshal(b, m, deterministic) -} -func (m *StackTrace_StackFrame) XXX_Merge(src proto.Message) { - xxx_messageInfo_StackTrace_StackFrame.Merge(m, src) -} -func (m *StackTrace_StackFrame) XXX_Size() int { - return xxx_messageInfo_StackTrace_StackFrame.Size(m) -} -func (m *StackTrace_StackFrame) XXX_DiscardUnknown() { - xxx_messageInfo_StackTrace_StackFrame.DiscardUnknown(m) -} - -var xxx_messageInfo_StackTrace_StackFrame proto.InternalMessageInfo - -func (m *StackTrace_StackFrame) GetFunctionName() *TruncatableString { - if m != nil { - return m.FunctionName - } - return nil -} - -func (m *StackTrace_StackFrame) GetOriginalFunctionName() *TruncatableString { - if m != nil { - return m.OriginalFunctionName - } - return nil -} - -func (m *StackTrace_StackFrame) GetFileName() *TruncatableString { - if m != nil { - return m.FileName - } - return nil -} - -func (m *StackTrace_StackFrame) GetLineNumber() int64 { - if m != nil { - return m.LineNumber - } - return 0 -} - -func (m *StackTrace_StackFrame) GetColumnNumber() int64 { - if m != nil { - return m.ColumnNumber - } - return 0 -} - -func (m *StackTrace_StackFrame) GetLoadModule() *Module { - if m != nil { - return m.LoadModule - } - return nil -} - -func (m *StackTrace_StackFrame) GetSourceVersion() *TruncatableString { - if m != nil { - return m.SourceVersion - } - return nil -} - -// A collection of stack frames, which can be truncated. -type StackTrace_StackFrames struct { - // Stack frames in this call stack. - Frame []*StackTrace_StackFrame `protobuf:"bytes,1,rep,name=frame,proto3" json:"frame,omitempty"` - // The number of stack frames that were dropped because there - // were too many stack frames. - // If this value is 0, then no stack frames were dropped. - DroppedFramesCount int32 `protobuf:"varint,2,opt,name=dropped_frames_count,json=droppedFramesCount,proto3" json:"dropped_frames_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_29869cc16dc8ce61, []int{2, 1} -} - -func (m *StackTrace_StackFrames) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StackTrace_StackFrames.Unmarshal(m, b) -} -func (m *StackTrace_StackFrames) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StackTrace_StackFrames.Marshal(b, m, deterministic) -} -func (m *StackTrace_StackFrames) XXX_Merge(src proto.Message) { - xxx_messageInfo_StackTrace_StackFrames.Merge(m, src) -} -func (m *StackTrace_StackFrames) XXX_Size() int { - return xxx_messageInfo_StackTrace_StackFrames.Size(m) -} -func (m *StackTrace_StackFrames) XXX_DiscardUnknown() { - xxx_messageInfo_StackTrace_StackFrames.DiscardUnknown(m) -} - -var xxx_messageInfo_StackTrace_StackFrames proto.InternalMessageInfo - -func (m *StackTrace_StackFrames) GetFrame() []*StackTrace_StackFrame { - if m != nil { - return m.Frame - } - return nil -} - -func (m *StackTrace_StackFrames) GetDroppedFramesCount() int32 { - if m != nil { - return m.DroppedFramesCount - } - return 0 -} - -// Binary module. -type Module struct { - // For example: main binary, kernel modules, and dynamic libraries - // such as libc.so, sharedlib.so (up to 256 bytes). - Module *TruncatableString `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` - // A unique identifier for the module, usually a hash of its - // contents (up to 128 bytes). - BuildId *TruncatableString `protobuf:"bytes,2,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_29869cc16dc8ce61, []int{3} -} - -func (m *Module) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Module.Unmarshal(m, b) -} -func (m *Module) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Module.Marshal(b, m, deterministic) -} -func (m *Module) XXX_Merge(src proto.Message) { - xxx_messageInfo_Module.Merge(m, src) -} -func (m *Module) XXX_Size() int { - return xxx_messageInfo_Module.Size(m) -} -func (m *Module) XXX_DiscardUnknown() { - xxx_messageInfo_Module.DiscardUnknown(m) -} - -var xxx_messageInfo_Module proto.InternalMessageInfo - -func (m *Module) GetModule() *TruncatableString { - if m != nil { - return m.Module - } - return nil -} - -func (m *Module) GetBuildId() *TruncatableString { - if m != nil { - return m.BuildId - } - return nil -} - -// Represents a string that might be shortened to a specified length. -type TruncatableString struct { - // The shortened string. For example, if the original string is 500 - // bytes long and the limit of the string is 128 bytes, then - // `value` contains the first 128 bytes of the 500-byte string. - // - // Truncation always happens on a UTF8 character boundary. If there - // are multi-byte characters in the string, then the length of the - // shortened string might be less than the size limit. - Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` - // The number of bytes removed from the original string. If this - // value is 0, then the string was not shortened. - TruncatedByteCount int32 `protobuf:"varint,2,opt,name=truncated_byte_count,json=truncatedByteCount,proto3" json:"truncated_byte_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_29869cc16dc8ce61, []int{4} -} - -func (m *TruncatableString) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TruncatableString.Unmarshal(m, b) -} -func (m *TruncatableString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TruncatableString.Marshal(b, m, deterministic) -} -func (m *TruncatableString) XXX_Merge(src proto.Message) { - xxx_messageInfo_TruncatableString.Merge(m, src) -} -func (m *TruncatableString) XXX_Size() int { - return xxx_messageInfo_TruncatableString.Size(m) -} -func (m *TruncatableString) XXX_DiscardUnknown() { - xxx_messageInfo_TruncatableString.DiscardUnknown(m) -} - -var xxx_messageInfo_TruncatableString proto.InternalMessageInfo - -func (m *TruncatableString) GetValue() string { - if m != nil { - return m.Value - } - return "" -} - -func (m *TruncatableString) GetTruncatedByteCount() int32 { - if m != nil { - return m.TruncatedByteCount - } - return 0 -} - -func init() { - proto.RegisterEnum("google.devtools.cloudtrace.v2.Span_TimeEvent_MessageEvent_Type", Span_TimeEvent_MessageEvent_Type_name, Span_TimeEvent_MessageEvent_Type_value) - proto.RegisterEnum("google.devtools.cloudtrace.v2.Span_Link_Type", Span_Link_Type_name, Span_Link_Type_value) - proto.RegisterType((*Span)(nil), "google.devtools.cloudtrace.v2.Span") - proto.RegisterType((*Span_Attributes)(nil), "google.devtools.cloudtrace.v2.Span.Attributes") - proto.RegisterMapType((map[string]*AttributeValue)(nil), "google.devtools.cloudtrace.v2.Span.Attributes.AttributeMapEntry") - proto.RegisterType((*Span_TimeEvent)(nil), "google.devtools.cloudtrace.v2.Span.TimeEvent") - proto.RegisterType((*Span_TimeEvent_Annotation)(nil), "google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation") - proto.RegisterType((*Span_TimeEvent_MessageEvent)(nil), "google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent") - proto.RegisterType((*Span_TimeEvents)(nil), "google.devtools.cloudtrace.v2.Span.TimeEvents") - proto.RegisterType((*Span_Link)(nil), "google.devtools.cloudtrace.v2.Span.Link") - proto.RegisterType((*Span_Links)(nil), "google.devtools.cloudtrace.v2.Span.Links") - proto.RegisterType((*AttributeValue)(nil), "google.devtools.cloudtrace.v2.AttributeValue") - proto.RegisterType((*StackTrace)(nil), "google.devtools.cloudtrace.v2.StackTrace") - proto.RegisterType((*StackTrace_StackFrame)(nil), "google.devtools.cloudtrace.v2.StackTrace.StackFrame") - proto.RegisterType((*StackTrace_StackFrames)(nil), "google.devtools.cloudtrace.v2.StackTrace.StackFrames") - proto.RegisterType((*Module)(nil), "google.devtools.cloudtrace.v2.Module") - proto.RegisterType((*TruncatableString)(nil), "google.devtools.cloudtrace.v2.TruncatableString") -} - -func init() { - proto.RegisterFile("google/devtools/cloudtrace/v2/trace.proto", fileDescriptor_29869cc16dc8ce61) -} - -var fileDescriptor_29869cc16dc8ce61 = []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, - 0x70, 0x0a, 0x98, 0x0a, 0x94, 0xa4, 0x48, 0xd3, 0x02, 0xa9, 0x1f, 0x72, 0xa4, 0xc4, 0x56, 0x05, - 0x4a, 0x71, 0xd3, 0x34, 0x00, 0x31, 0x22, 0xc7, 0x32, 0x11, 0x8a, 0x24, 0x38, 0x43, 0x17, 0xce, - 0xae, 0xeb, 0xae, 0xbb, 0x29, 0x50, 0x74, 0x59, 0x20, 0xab, 0xfc, 0x8e, 0x2e, 0xba, 0xed, 0x7f, - 0xe9, 0xa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x6f, 0x42, 0x1f, 0x86, 0x91, 0x67, 0x61, - 0x86, 0x47, 0x2e, 0x19, 0xb0, 0xd0, 0xf1, 0xc6, 0x46, 0x45, 0xb1, 0xf4, 0xb8, 0x4d, 0x5f, 0x02, - 0x50, 0x86, 0x43, 0x66, 0xf2, 0x2b, 0xa8, 0xe7, 0x05, 0x65, 0x23, 0xa6, 0x8c, 0xdd, 0xd7, 0x87, - 0xf1, 0xfd, 0x18, 0x65, 0xa1, 0xcd, 0xf7, 0xe8, 0x1e, 0x94, 0x88, 0x67, 0x4b, 0x60, 0xe1, 0x4c, - 0x60, 0x91, 0x78, 0xb6, 0x80, 0xf5, 0x00, 0x30, 0x63, 0xa1, 0x33, 0x8a, 0x18, 0xa1, 0xf5, 0xa2, - 0x00, 0xea, 0x67, 0x38, 0xc1, 0x6f, 0x40, 0xdf, 0x4a, 0x50, 0xc6, 0x14, 0x03, 0x7a, 0x0c, 0x15, - 0xca, 0xb0, 0xf5, 0xd2, 0x14, 0xda, 0xf5, 0x92, 0x20, 0xbc, 0x75, 0x16, 0x21, 0x47, 0x0c, 0xf9, - 0xce, 0x00, 0x9a, 0xac, 0xd1, 0xb7, 0x50, 0xe1, 0xee, 0x98, 0xe4, 0x84, 0x78, 0x8c, 0xd6, 0xcb, - 0xe7, 0x37, 0x8e, 0xbb, 0xd6, 0x16, 0x28, 0x03, 0x58, 0xb2, 0x46, 0x0f, 0x21, 0xef, 0x3a, 0xde, - 0x4b, 0x5a, 0x87, 0xf3, 0x99, 0xc5, 0xa9, 0xf6, 0x39, 0xc0, 0x90, 0x38, 0xf4, 0x39, 0x14, 0x64, - 0x80, 0xd5, 0x2b, 0x82, 0x01, 0xc5, 0x0c, 0x61, 0x60, 0x71, 0x2f, 0x58, 0x44, 0x0d, 0xa5, 0x81, - 0x9e, 0xc1, 0x55, 0x8a, 0x27, 0xc4, 0x0c, 0x42, 0xdf, 0x22, 0x94, 0x9a, 0x98, 0x9a, 0x53, 0x61, - 0x55, 0xaf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x5d, 0xec, - 0x8d, 0x75, 0x3f, 0x1c, 0x37, 0xc7, 0xc4, 0x13, 0xf3, 0x63, 0x53, 0x8a, 0x70, 0xe0, 0xd0, 0x0f, - 0xfc, 0x6d, 0x7f, 0x95, 0xee, 0x5e, 0x67, 0x56, 0x1f, 0x49, 0xa6, 0x1d, 0x7e, 0xa6, 0xcb, 0x47, - 0x3d, 0x6c, 0xfd, 0x19, 0x9f, 0xbf, 0x10, 0xe7, 0x2f, 0xc4, 0xf9, 0x8b, 0xc3, 0xd6, 0xa8, 0x20, - 0xbe, 0x71, 0xe7, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x7b, 0x3c, 0x8a, 0x77, 0xd0, 0x0f, 0x00, - 0x00, -} 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 deleted file mode 100644 index d13f13aa..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v2/tracing.pb.go +++ /dev/null @@ -1,241 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/cloudtrace/v2/tracing.proto - -package cloudtrace - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The request message for the `BatchWriteSpans` method. -type BatchWriteSpansRequest struct { - // Required. The name of the project where the spans belong. The format is - // `projects/[PROJECT_ID]`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // A list of new spans. The span names must not match existing - // spans, or the results are undefined. - Spans []*Span `protobuf:"bytes,2,rep,name=spans,proto3" json:"spans,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_d1f9b588db05fdc6, []int{0} -} - -func (m *BatchWriteSpansRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchWriteSpansRequest.Unmarshal(m, b) -} -func (m *BatchWriteSpansRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchWriteSpansRequest.Marshal(b, m, deterministic) -} -func (m *BatchWriteSpansRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchWriteSpansRequest.Merge(m, src) -} -func (m *BatchWriteSpansRequest) XXX_Size() int { - return xxx_messageInfo_BatchWriteSpansRequest.Size(m) -} -func (m *BatchWriteSpansRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchWriteSpansRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchWriteSpansRequest proto.InternalMessageInfo - -func (m *BatchWriteSpansRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *BatchWriteSpansRequest) GetSpans() []*Span { - if m != nil { - return m.Spans - } - return nil -} - -func init() { - proto.RegisterType((*BatchWriteSpansRequest)(nil), "google.devtools.cloudtrace.v2.BatchWriteSpansRequest") -} - -func init() { - proto.RegisterFile("google/devtools/cloudtrace/v2/tracing.proto", fileDescriptor_d1f9b588db05fdc6) -} - -var fileDescriptor_d1f9b588db05fdc6 = []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, - 0x43, 0x02, 0x8f, 0x5d, 0x2c, 0x63, 0x37, 0x09, 0x23, 0xb7, 0x21, 0x19, 0x19, 0x8c, 0xdc, 0x28, - 0x8e, 0xa6, 0x69, 0xd8, 0x92, 0x67, 0x29, 0x86, 0x52, 0x7a, 0xd3, 0x9b, 0x3e, 0x40, 0xfb, 0x14, - 0xa5, 0xd0, 0xf7, 0xe8, 0x6d, 0x5f, 0xa1, 0x0f, 0x52, 0x24, 0xd9, 0x0d, 0x84, 0x34, 0xc9, 0x9d, - 0xce, 0x39, 0xdf, 0xf9, 0xce, 0xf7, 0x7d, 0x36, 0xfc, 0xc8, 0x95, 0xe2, 0x29, 0x23, 0x0b, 0x56, - 0x1a, 0xa5, 0x52, 0x4d, 0x92, 0x54, 0x2d, 0x17, 0xa6, 0xa0, 0x09, 0x23, 0x65, 0x4c, 0xec, 0x43, - 0x48, 0x8e, 0xf3, 0x42, 0x19, 0x85, 0x5e, 0x7b, 0x30, 0xae, 0xc1, 0x78, 0x05, 0xc6, 0x65, 0x1c, - 0xbe, 0xaa, 0xb8, 0x68, 0x2e, 0x08, 0x95, 0x52, 0x19, 0x6a, 0x84, 0x92, 0xda, 0x2f, 0x87, 0x9d, - 0xdd, 0x97, 0x58, 0x05, 0x7d, 0x59, 0x41, 0x5d, 0x35, 0x5f, 0xfe, 0x21, 0x2c, 0xcb, 0xcd, 0x41, - 0x35, 0x7c, 0xb3, 0x3e, 0x34, 0x22, 0x63, 0xda, 0xd0, 0x2c, 0xf7, 0x80, 0x88, 0xc3, 0x46, 0x9f, - 0x9a, 0xe4, 0xef, 0xaf, 0x42, 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, 0x0f, 0x5e, 0x0c, 0x3d, 0xd3, - 0xc0, 0xf6, 0xb0, 0xfb, 0x76, 0x78, 0x1a, 0x5f, 0xd5, 0xfd, 0x99, 0xeb, 0xcf, 0x5c, 0x7f, 0x36, - 0x8d, 0xe7, 0x8f, 0xdd, 0x8d, 0xcf, 0xb7, 0x01, 0x00, 0x00, 0xff, 0xff, 0xbd, 0x94, 0x51, 0x1d, - 0x25, 0x03, 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 - -// TraceServiceClient is the client API for TraceService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type TraceServiceClient interface { - // Sends new spans to new or existing traces. You cannot update - // existing spans. - BatchWriteSpans(ctx context.Context, in *BatchWriteSpansRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Creates a new span. - CreateSpan(ctx context.Context, in *Span, opts ...grpc.CallOption) (*Span, error) -} - -type traceServiceClient struct { - cc *grpc.ClientConn -} - -func NewTraceServiceClient(cc *grpc.ClientConn) TraceServiceClient { - return &traceServiceClient{cc} -} - -func (c *traceServiceClient) BatchWriteSpans(ctx context.Context, in *BatchWriteSpansRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.devtools.cloudtrace.v2.TraceService/BatchWriteSpans", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *traceServiceClient) CreateSpan(ctx context.Context, in *Span, opts ...grpc.CallOption) (*Span, error) { - out := new(Span) - err := c.cc.Invoke(ctx, "/google.devtools.cloudtrace.v2.TraceService/CreateSpan", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// TraceServiceServer is the server API for TraceService service. -type TraceServiceServer interface { - // Sends new spans to new or existing traces. You cannot update - // existing spans. - BatchWriteSpans(context.Context, *BatchWriteSpansRequest) (*empty.Empty, error) - // Creates a new span. - CreateSpan(context.Context, *Span) (*Span, error) -} - -// UnimplementedTraceServiceServer can be embedded to have forward compatible implementations. -type UnimplementedTraceServiceServer struct { -} - -func (*UnimplementedTraceServiceServer) BatchWriteSpans(ctx context.Context, req *BatchWriteSpansRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method BatchWriteSpans not implemented") -} -func (*UnimplementedTraceServiceServer) CreateSpan(ctx context.Context, req *Span) (*Span, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateSpan not implemented") -} - -func RegisterTraceServiceServer(s *grpc.Server, srv TraceServiceServer) { - s.RegisterService(&_TraceService_serviceDesc, srv) -} - -func _TraceService_BatchWriteSpans_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchWriteSpansRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TraceServiceServer).BatchWriteSpans(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.cloudtrace.v2.TraceService/BatchWriteSpans", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TraceServiceServer).BatchWriteSpans(ctx, req.(*BatchWriteSpansRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TraceService_CreateSpan_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Span) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TraceServiceServer).CreateSpan(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.cloudtrace.v2.TraceService/CreateSpan", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TraceServiceServer).CreateSpan(ctx, req.(*Span)) - } - return interceptor(ctx, in, info, handler) -} - -var _TraceService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.devtools.cloudtrace.v2.TraceService", - HandlerType: (*TraceServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "BatchWriteSpans", - Handler: _TraceService_BatchWriteSpans_Handler, - }, - { - MethodName: "CreateSpan", - Handler: _TraceService_CreateSpan_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/devtools/cloudtrace/v2/tracing.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1/containeranalysis.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1/containeranalysis.pb.go deleted file mode 100644 index 4c3d16a5..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1/containeranalysis.pb.go +++ /dev/null @@ -1,262 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/containeranalysis/v1/containeranalysis.proto - -package containeranalysis - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - v1 "google.golang.org/genproto/googleapis/iam/v1" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -func init() { - proto.RegisterFile("google/devtools/containeranalysis/v1/containeranalysis.proto", fileDescriptor_e74edb4ed33b4f81) -} - -var fileDescriptor_e74edb4ed33b4f81 = []byte{ - // 428 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x93, 0xc1, 0x8a, 0xd5,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0x97, 0xb8, 0xa8, 0xc6, 0xf4, 0x45, 0x83, 0xdd, - 0x19, 0x79, 0x0c, 0xfd, 0x91, 0xbf, 0xd9, 0xd9, 0x7d, 0x90, 0xe3, 0xf2, 0x67, 0xbc, 0x3f, 0x9a, - 0x19, 0xf3, 0x6e, 0xc6, 0x66, 0x2e, 0xc6, 0x8e, 0xcb, 0xd3, 0x4b, 0xbe, 0xdb, 0xed, 0xdf, 0x01, - 0x00, 0x00, 0xff, 0xff, 0xb6, 0xa4, 0x2b, 0x8c, 0x47, 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 - -// ContainerAnalysisClient is the client API for ContainerAnalysis service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ContainerAnalysisClient 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) -} - -type containerAnalysisClient struct { - cc *grpc.ClientConn -} - -func NewContainerAnalysisClient(cc *grpc.ClientConn) ContainerAnalysisClient { - return &containerAnalysisClient{cc} -} - -func (c *containerAnalysisClient) 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.v1.ContainerAnalysis/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *containerAnalysisClient) 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.v1.ContainerAnalysis/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *containerAnalysisClient) 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.v1.ContainerAnalysis/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ContainerAnalysisServer is the server API for ContainerAnalysis service. -type ContainerAnalysisServer 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) -} - -// UnimplementedContainerAnalysisServer can be embedded to have forward compatible implementations. -type UnimplementedContainerAnalysisServer struct { -} - -func (*UnimplementedContainerAnalysisServer) SetIamPolicy(ctx context.Context, req *v1.SetIamPolicyRequest) (*v1.Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedContainerAnalysisServer) GetIamPolicy(ctx context.Context, req *v1.GetIamPolicyRequest) (*v1.Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedContainerAnalysisServer) TestIamPermissions(ctx context.Context, req *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} - -func RegisterContainerAnalysisServer(s *grpc.Server, srv ContainerAnalysisServer) { - s.RegisterService(&_ContainerAnalysis_serviceDesc, srv) -} - -func _ContainerAnalysis_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.(ContainerAnalysisServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.containeranalysis.v1.ContainerAnalysis/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContainerAnalysisServer).SetIamPolicy(ctx, req.(*v1.SetIamPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ContainerAnalysis_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.(ContainerAnalysisServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.containeranalysis.v1.ContainerAnalysis/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContainerAnalysisServer).GetIamPolicy(ctx, req.(*v1.GetIamPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ContainerAnalysis_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.(ContainerAnalysisServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.containeranalysis.v1.ContainerAnalysis/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContainerAnalysisServer).TestIamPermissions(ctx, req.(*v1.TestIamPermissionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ContainerAnalysis_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.devtools.containeranalysis.v1.ContainerAnalysis", - HandlerType: (*ContainerAnalysisServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "SetIamPolicy", - Handler: _ContainerAnalysis_SetIamPolicy_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _ContainerAnalysis_GetIamPolicy_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _ContainerAnalysis_TestIamPermissions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/devtools/containeranalysis/v1/containeranalysis.proto", -} 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 deleted file mode 100644 index 1421f26c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1/bill_of_materials.pb.go +++ /dev/null @@ -1,393 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/containeranalysis/v1alpha1/bill_of_materials.proto - -package containeranalysis - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Instruction set architectures supported by various package managers. -type PackageManager_Architecture int32 - -const ( - // Unknown architecture - PackageManager_ARCHITECTURE_UNSPECIFIED PackageManager_Architecture = 0 - // X86 architecture - PackageManager_X86 PackageManager_Architecture = 1 - // X64 architecture - PackageManager_X64 PackageManager_Architecture = 2 -) - -var PackageManager_Architecture_name = map[int32]string{ - 0: "ARCHITECTURE_UNSPECIFIED", - 1: "X86", - 2: "X64", -} - -var PackageManager_Architecture_value = map[string]int32{ - "ARCHITECTURE_UNSPECIFIED": 0, - "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_7bcf14fe966f6fd8, []int{0, 0} -} - -// PackageManager provides metadata about available / installed packages. -type PackageManager struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7bcf14fe966f6fd8, []int{0} -} - -func (m *PackageManager) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PackageManager.Unmarshal(m, b) -} -func (m *PackageManager) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PackageManager.Marshal(b, m, deterministic) -} -func (m *PackageManager) XXX_Merge(src proto.Message) { - xxx_messageInfo_PackageManager.Merge(m, src) -} -func (m *PackageManager) XXX_Size() int { - return xxx_messageInfo_PackageManager.Size(m) -} -func (m *PackageManager) XXX_DiscardUnknown() { - xxx_messageInfo_PackageManager.DiscardUnknown(m) -} - -var xxx_messageInfo_PackageManager proto.InternalMessageInfo - -// This represents a particular channel of distribution for a given package. -// e.g. Debian's jessie-backports dpkg mirror -type PackageManager_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 PackageManager_Architecture `protobuf:"varint,2,opt,name=architecture,proto3,enum=google.devtools.containeranalysis.v1alpha1.PackageManager_Architecture" json:"architecture,omitempty"` - // The latest available version of this package in - // this distribution channel. - LatestVersion *VulnerabilityType_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,6,opt,name=url,proto3" json:"url,omitempty"` - // The distribution channel-specific description of this package. - Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PackageManager_Distribution) Reset() { *m = PackageManager_Distribution{} } -func (m *PackageManager_Distribution) String() string { return proto.CompactTextString(m) } -func (*PackageManager_Distribution) ProtoMessage() {} -func (*PackageManager_Distribution) Descriptor() ([]byte, []int) { - return fileDescriptor_7bcf14fe966f6fd8, []int{0, 0} -} - -func (m *PackageManager_Distribution) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PackageManager_Distribution.Unmarshal(m, b) -} -func (m *PackageManager_Distribution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PackageManager_Distribution.Marshal(b, m, deterministic) -} -func (m *PackageManager_Distribution) XXX_Merge(src proto.Message) { - xxx_messageInfo_PackageManager_Distribution.Merge(m, src) -} -func (m *PackageManager_Distribution) XXX_Size() int { - return xxx_messageInfo_PackageManager_Distribution.Size(m) -} -func (m *PackageManager_Distribution) XXX_DiscardUnknown() { - xxx_messageInfo_PackageManager_Distribution.DiscardUnknown(m) -} - -var xxx_messageInfo_PackageManager_Distribution proto.InternalMessageInfo - -func (m *PackageManager_Distribution) GetCpeUri() string { - if m != nil { - return m.CpeUri - } - return "" -} - -func (m *PackageManager_Distribution) GetArchitecture() PackageManager_Architecture { - if m != nil { - return m.Architecture - } - return PackageManager_ARCHITECTURE_UNSPECIFIED -} - -func (m *PackageManager_Distribution) GetLatestVersion() *VulnerabilityType_Version { - if m != nil { - return m.LatestVersion - } - return nil -} - -func (m *PackageManager_Distribution) GetMaintainer() string { - if m != nil { - return m.Maintainer - } - return "" -} - -func (m *PackageManager_Distribution) GetUrl() string { - if m != nil { - return m.Url - } - return "" -} - -func (m *PackageManager_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 PackageManager_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 *VulnerabilityType_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 *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_7bcf14fe966f6fd8, []int{0, 1} -} - -func (m *PackageManager_Location) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PackageManager_Location.Unmarshal(m, b) -} -func (m *PackageManager_Location) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PackageManager_Location.Marshal(b, m, deterministic) -} -func (m *PackageManager_Location) XXX_Merge(src proto.Message) { - xxx_messageInfo_PackageManager_Location.Merge(m, src) -} -func (m *PackageManager_Location) XXX_Size() int { - return xxx_messageInfo_PackageManager_Location.Size(m) -} -func (m *PackageManager_Location) XXX_DiscardUnknown() { - xxx_messageInfo_PackageManager_Location.DiscardUnknown(m) -} - -var xxx_messageInfo_PackageManager_Location proto.InternalMessageInfo - -func (m *PackageManager_Location) GetCpeUri() string { - if m != nil { - return m.CpeUri - } - return "" -} - -func (m *PackageManager_Location) GetVersion() *VulnerabilityType_Version { - if m != nil { - return m.Version - } - return nil -} - -func (m *PackageManager_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 PackageManager_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 []*PackageManager_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 *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_7bcf14fe966f6fd8, []int{0, 2} -} - -func (m *PackageManager_Package) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PackageManager_Package.Unmarshal(m, b) -} -func (m *PackageManager_Package) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PackageManager_Package.Marshal(b, m, deterministic) -} -func (m *PackageManager_Package) XXX_Merge(src proto.Message) { - xxx_messageInfo_PackageManager_Package.Merge(m, src) -} -func (m *PackageManager_Package) XXX_Size() int { - return xxx_messageInfo_PackageManager_Package.Size(m) -} -func (m *PackageManager_Package) XXX_DiscardUnknown() { - xxx_messageInfo_PackageManager_Package.DiscardUnknown(m) -} - -var xxx_messageInfo_PackageManager_Package proto.InternalMessageInfo - -func (m *PackageManager_Package) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *PackageManager_Package) GetDistribution() []*PackageManager_Distribution { - if m != nil { - return m.Distribution - } - return nil -} - -// This represents how a particular software package may be installed on -// a system. -type PackageManager_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 []*PackageManager_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 *PackageManager_Installation) Reset() { *m = PackageManager_Installation{} } -func (m *PackageManager_Installation) String() string { return proto.CompactTextString(m) } -func (*PackageManager_Installation) ProtoMessage() {} -func (*PackageManager_Installation) Descriptor() ([]byte, []int) { - return fileDescriptor_7bcf14fe966f6fd8, []int{0, 3} -} - -func (m *PackageManager_Installation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PackageManager_Installation.Unmarshal(m, b) -} -func (m *PackageManager_Installation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PackageManager_Installation.Marshal(b, m, deterministic) -} -func (m *PackageManager_Installation) XXX_Merge(src proto.Message) { - xxx_messageInfo_PackageManager_Installation.Merge(m, src) -} -func (m *PackageManager_Installation) XXX_Size() int { - return xxx_messageInfo_PackageManager_Installation.Size(m) -} -func (m *PackageManager_Installation) XXX_DiscardUnknown() { - xxx_messageInfo_PackageManager_Installation.DiscardUnknown(m) -} - -var xxx_messageInfo_PackageManager_Installation proto.InternalMessageInfo - -func (m *PackageManager_Installation) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *PackageManager_Installation) GetLocation() []*PackageManager_Location { - if m != nil { - return m.Location - } - return nil -} - -func init() { - proto.RegisterEnum("google.devtools.containeranalysis.v1alpha1.PackageManager_Architecture", PackageManager_Architecture_name, PackageManager_Architecture_value) - proto.RegisterType((*PackageManager)(nil), "google.devtools.containeranalysis.v1alpha1.PackageManager") - proto.RegisterType((*PackageManager_Distribution)(nil), "google.devtools.containeranalysis.v1alpha1.PackageManager.Distribution") - proto.RegisterType((*PackageManager_Location)(nil), "google.devtools.containeranalysis.v1alpha1.PackageManager.Location") - proto.RegisterType((*PackageManager_Package)(nil), "google.devtools.containeranalysis.v1alpha1.PackageManager.Package") - proto.RegisterType((*PackageManager_Installation)(nil), "google.devtools.containeranalysis.v1alpha1.PackageManager.Installation") -} - -func init() { - proto.RegisterFile("google/devtools/containeranalysis/v1alpha1/bill_of_materials.proto", fileDescriptor_7bcf14fe966f6fd8) -} - -var fileDescriptor_7bcf14fe966f6fd8 = []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, - 0x42, 0xf1, 0x22, 0x61, 0x57, 0x59, 0x04, 0x41, 0xe8, 0x76, 0xbb, 0x6b, 0x41, 0xa5, 0xc4, 0x76, - 0x11, 0xbd, 0x08, 0xa7, 0xe9, 0x98, 0x0e, 0x3b, 0x9d, 0x09, 0x93, 0x49, 0xa1, 0xd7, 0xde, 0x89, - 0x0f, 0xe0, 0xb5, 0x0f, 0xa5, 0xaf, 0x23, 0x99, 0x24, 0x92, 0xb2, 0x2a, 0xbb, 0xac, 0x77, 0x27, - 0xf3, 0x85, 0xdf, 0xf9, 0xce, 0x77, 0x66, 0xe0, 0x2c, 0x96, 0x32, 0xe6, 0xd4, 0x5f, 0xd2, 0x8d, - 0x96, 0x92, 0xa7, 0x7e, 0x24, 0x85, 0x46, 0x26, 0xa8, 0x42, 0x81, 0x7c, 0x9b, 0xb2, 0xd4, 0xdf, - 0x1c, 0x23, 0x4f, 0x56, 0x78, 0xec, 0x2f, 0x18, 0xe7, 0xa1, 0xfc, 0x18, 0xae, 0x51, 0x53, 0xc5, - 0x90, 0xa7, 0x5e, 0xa2, 0xa4, 0x96, 0xe4, 0x71, 0xc1, 0xf0, 0x2a, 0x86, 0x77, 0x83, 0xe1, 0x55, - 0x0c, 0xf7, 0xb0, 0xec, 0x87, 0x09, 0xf3, 0x51, 0x08, 0xa9, 0x51, 0x33, 0x29, 0x4a, 0x92, 0x7b, - 0x71, 0x07, 0x37, 0x09, 0x46, 0xd7, 0x18, 0xd3, 0x70, 0x93, 0xf1, 0x5c, 0x5f, 0x30, 0xce, 0xf4, - 0xb6, 0xe0, 0x1c, 0xfd, 0x68, 0x42, 0x77, 0x5a, 0xe8, 0xaf, 0x51, 0x60, 0x4c, 0x95, 0xfb, 0xdd, - 0x86, 0xce, 0x39, 0x4b, 0xb5, 0x62, 0x8b, 0x2c, 0x6f, 0x49, 0x1e, 0x40, 0x2b, 0x4a, 0x68, 0x98, - 0x29, 0xe6, 0x58, 0x7d, 0x6b, 0x70, 0x10, 0x34, 0xa3, 0x84, 0xce, 0x15, 0x23, 0xd7, 0xd0, 0x41, - 0x15, 0xad, 0x98, 0xa6, 0x91, 0xce, 0x14, 0x75, 0xec, 0xbe, 0x35, 0xe8, 0x9e, 0x5c, 0x7a, 0xb7, - 0x9f, 0xd2, 0xdb, 0xed, 0xed, 0x0d, 0x6b, 0xb8, 0x60, 0x07, 0x4e, 0x38, 0x74, 0x39, 0x6a, 0x9a, - 0xea, 0x70, 0x43, 0x55, 0xca, 0xa4, 0x70, 0x1a, 0x7d, 0x6b, 0xd0, 0x3e, 0x19, 0xdf, 0xa5, 0xdd, - 0x55, 0x3d, 0x82, 0xd9, 0x36, 0xa1, 0xde, 0x55, 0x01, 0x0b, 0xfe, 0x2f, 0xe0, 0xe5, 0x27, 0x79, - 0x08, 0xb0, 0x46, 0x56, 0x72, 0x9c, 0x3d, 0x33, 0x76, 0xed, 0x84, 0xf4, 0xa0, 0x91, 0x29, 0xee, - 0x34, 0x8d, 0x90, 0x97, 0xa4, 0x0f, 0xed, 0x25, 0x4d, 0x23, 0xc5, 0x92, 0x3c, 0x34, 0xa7, 0x65, - 0x94, 0xfa, 0x91, 0xfb, 0xd5, 0x82, 0xfd, 0x57, 0x32, 0xc2,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19, 0x00, 0x00, - 0xff, 0xff, 0xfa, 0x4f, 0xa4, 0x56, 0xc7, 0x04, 0x00, 0x00, -} 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 deleted file mode 100644 index 3c40530b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1/containeranalysis.pb.go +++ /dev/null @@ -1,4151 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/containeranalysis/v1alpha1/containeranalysis.proto - -package containeranalysis - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/any" - empty "github.com/golang/protobuf/ptypes/empty" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - v1 "google.golang.org/genproto/googleapis/iam/v1" - longrunning "google.golang.org/genproto/googleapis/longrunning" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// This must be 1:1 with members of our oneofs, it can be used for filtering -// Note and Occurrence on their kind. -type Note_Kind int32 - -const ( - // Unknown - Note_KIND_UNSPECIFIED Note_Kind = 0 - // The note and occurrence represent a package vulnerability. - Note_PACKAGE_VULNERABILITY Note_Kind = 2 - // The note and occurrence assert build provenance. - Note_BUILD_DETAILS Note_Kind = 3 - // This represents an image basis relationship. - Note_IMAGE_BASIS Note_Kind = 4 - // This represents a package installed via a package manager. - Note_PACKAGE_MANAGER Note_Kind = 5 - // The note and occurrence track deployment events. - Note_DEPLOYABLE Note_Kind = 6 - // The note and occurrence track the initial discovery status of a resource. - Note_DISCOVERY Note_Kind = 7 - // This represents a logical "role" that can attest to artifacts. - Note_ATTESTATION_AUTHORITY Note_Kind = 8 -) - -var Note_Kind_name = map[int32]string{ - 0: "KIND_UNSPECIFIED", - 2: "PACKAGE_VULNERABILITY", - 3: "BUILD_DETAILS", - 4: "IMAGE_BASIS", - 5: "PACKAGE_MANAGER", - 6: "DEPLOYABLE", - 7: "DISCOVERY", - 8: "ATTESTATION_AUTHORITY", -} - -var Note_Kind_value = map[string]int32{ - "KIND_UNSPECIFIED": 0, - "PACKAGE_VULNERABILITY": 2, - "BUILD_DETAILS": 3, - "IMAGE_BASIS": 4, - "PACKAGE_MANAGER": 5, - "DEPLOYABLE": 6, - "DISCOVERY": 7, - "ATTESTATION_AUTHORITY": 8, -} - -func (x Note_Kind) String() string { - return proto.EnumName(Note_Kind_name, int32(x)) -} - -func (Note_Kind) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_5ffce145f2f590bf, []int{2, 0} -} - -// Types of platforms. -type Deployable_Deployment_Platform int32 - -const ( - // Unknown - Deployable_Deployment_PLATFORM_UNSPECIFIED Deployable_Deployment_Platform = 0 - // Google Container Engine - Deployable_Deployment_GKE Deployable_Deployment_Platform = 1 - // Google App Engine: Flexible Environment - Deployable_Deployment_FLEX Deployable_Deployment_Platform = 2 - // Custom user-defined platform - Deployable_Deployment_CUSTOM Deployable_Deployment_Platform = 3 -) - -var Deployable_Deployment_Platform_name = map[int32]string{ - 0: "PLATFORM_UNSPECIFIED", - 1: "GKE", - 2: "FLEX", - 3: "CUSTOM", -} - -var Deployable_Deployment_Platform_value = map[string]int32{ - "PLATFORM_UNSPECIFIED": 0, - "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_5ffce145f2f590bf, []int{3, 0, 0} -} - -// Analysis status for a resource. -type Discovery_Discovered_AnalysisStatus int32 - -const ( - // Unknown - Discovery_Discovered_ANALYSIS_STATUS_UNSPECIFIED Discovery_Discovered_AnalysisStatus = 0 - // Resource is known but no action has been taken yet. - Discovery_Discovered_PENDING Discovery_Discovered_AnalysisStatus = 1 - // Resource is being analyzed. - Discovery_Discovered_SCANNING Discovery_Discovered_AnalysisStatus = 2 - // Analysis has finished successfully. - Discovery_Discovered_FINISHED_SUCCESS Discovery_Discovered_AnalysisStatus = 3 - // Analysis has finished unsuccessfully, the analysis itself is in a bad - // state. - Discovery_Discovered_FINISHED_FAILED Discovery_Discovered_AnalysisStatus = 4 - // Analysis will not happen, the resource is not supported. - Discovery_Discovered_UNSUPPORTED_RESOURCE Discovery_Discovered_AnalysisStatus = 5 -) - -var Discovery_Discovered_AnalysisStatus_name = map[int32]string{ - 0: "ANALYSIS_STATUS_UNSPECIFIED", - 1: "PENDING", - 2: "SCANNING", - 3: "FINISHED_SUCCESS", - 4: "FINISHED_FAILED", - 5: "UNSUPPORTED_RESOURCE", -} - -var Discovery_Discovered_AnalysisStatus_value = map[string]int32{ - "ANALYSIS_STATUS_UNSPECIFIED": 0, - "PENDING": 1, - "SCANNING": 2, - "FINISHED_SUCCESS": 3, - "FINISHED_FAILED": 4, - "UNSUPPORTED_RESOURCE": 5, -} - -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_5ffce145f2f590bf, []int{4, 0, 0} -} - -// 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_5ffce145f2f590bf, []int{6, 0} -} - -// 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_5ffce145f2f590bf, []int{7, 0} -} - -// `Occurrence` includes information about analysis occurrences for an image. -type Occurrence struct { - // Output only. The name of the `Occurrence` in the form - // "projects/{project_id}/occurrences/{OCCURRENCE_ID}" - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The unique URL of the image or the container for which the `Occurrence` - // applies. For example, https://gcr.io/project/image@sha256:foo This field - // can be used as a filter in list requests. - ResourceUrl string `protobuf:"bytes,2,opt,name=resource_url,json=resourceUrl,proto3" json:"resource_url,omitempty"` - // The resource for which the `Occurrence` applies. - Resource *Resource `protobuf:"bytes,17,opt,name=resource,proto3" json:"resource,omitempty"` - // An analysis note associated with this image, in the form - // "providers/{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 Note_Kind `protobuf:"varint,6,opt,name=kind,proto3,enum=google.devtools.containeranalysis.v1alpha1.Note_Kind" json:"kind,omitempty"` - // Describes the details of the vulnerability `Note` found in this resource. - // - // Types that are valid to be assigned to Details: - // *Occurrence_VulnerabilityDetails - // *Occurrence_BuildDetails - // *Occurrence_DerivedImage - // *Occurrence_Installation - // *Occurrence_Deployment - // *Occurrence_Discovered - // *Occurrence_Attestation - Details isOccurrence_Details `protobuf_oneof:"details"` - // 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,9,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,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 *Occurrence) Reset() { *m = Occurrence{} } -func (m *Occurrence) String() string { return proto.CompactTextString(m) } -func (*Occurrence) ProtoMessage() {} -func (*Occurrence) Descriptor() ([]byte, []int) { - return fileDescriptor_5ffce145f2f590bf, []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 (m *Occurrence) XXX_Merge(src proto.Message) { - xxx_messageInfo_Occurrence.Merge(m, 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) 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() -} - -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 (m *Occurrence) GetVulnerabilityDetails() *VulnerabilityType_VulnerabilityDetails { - if x, ok := m.GetDetails().(*Occurrence_VulnerabilityDetails); ok { - return x.VulnerabilityDetails - } - return nil -} - -func (m *Occurrence) GetBuildDetails() *BuildDetails { - if x, ok := m.GetDetails().(*Occurrence_BuildDetails); ok { - return x.BuildDetails - } - return nil -} - -func (m *Occurrence) GetDerivedImage() *DockerImage_Derived { - if x, ok := m.GetDetails().(*Occurrence_DerivedImage); ok { - return x.DerivedImage - } - return nil -} - -func (m *Occurrence) GetInstallation() *PackageManager_Installation { - if x, ok := m.GetDetails().(*Occurrence_Installation); ok { - return x.Installation - } - return nil -} - -func (m *Occurrence) GetDeployment() *Deployable_Deployment { - if x, ok := m.GetDetails().(*Occurrence_Deployment); ok { - return x.Deployment - } - return nil -} - -func (m *Occurrence) GetDiscovered() *Discovery_Discovered { - if x, ok := m.GetDetails().(*Occurrence_Discovered); ok { - return x.Discovered - } - return nil -} - -func (m *Occurrence) GetAttestation() *AttestationAuthority_Attestation { - if x, ok := m.GetDetails().(*Occurrence_Attestation); ok { - return x.Attestation - } - return nil -} - -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 -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Occurrence) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Occurrence_VulnerabilityDetails)(nil), - (*Occurrence_BuildDetails)(nil), - (*Occurrence_DerivedImage)(nil), - (*Occurrence_Installation)(nil), - (*Occurrence_Deployment)(nil), - (*Occurrence_Discovered)(nil), - (*Occurrence_Attestation)(nil), - } -} - -// Resource is an entity that can have metadata. E.g., a Docker image. -type Resource struct { - // The name of the resource. E.g., 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. E.g., - // "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. E.g., the Docker digest. - ContentHash *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_5ffce145f2f590bf, []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 (m *Resource) XXX_Merge(src proto.Message) { - xxx_messageInfo_Resource.Merge(m, 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() *Hash { - if m != nil { - return m.ContentHash - } - return nil -} - -// Provides a detailed description of a `Note`. -type Note struct { - // The name of the note in the form - // "providers/{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,3,opt,name=short_description,json=shortDescription,proto3" json:"short_description,omitempty"` - // A detailed description of this `Note`. - LongDescription string `protobuf:"bytes,4,opt,name=long_description,json=longDescription,proto3" json:"long_description,omitempty"` - // Output only. This explicitly denotes which kind of note is specified. This - // field can be used as a filter in list requests. - Kind Note_Kind `protobuf:"varint,9,opt,name=kind,proto3,enum=google.devtools.containeranalysis.v1alpha1.Note_Kind" json:"kind,omitempty"` - // The type of note. - // - // Types that are valid to be assigned to NoteType: - // *Note_VulnerabilityType - // *Note_BuildType - // *Note_BaseImage - // *Note_Package - // *Note_Deployable - // *Note_Discovery - // *Note_AttestationAuthority - NoteType isNote_NoteType `protobuf_oneof:"note_type"` - // URLs associated with this note - RelatedUrl []*Note_RelatedUrl `protobuf:"bytes,7,rep,name=related_url,json=relatedUrl,proto3" json:"related_url,omitempty"` - // Time of expiration for this note, null if note does not expire. - ExpirationTime *timestamp.Timestamp `protobuf:"bytes,10,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,11,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,12,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 *Note) Reset() { *m = Note{} } -func (m *Note) String() string { return proto.CompactTextString(m) } -func (*Note) ProtoMessage() {} -func (*Note) Descriptor() ([]byte, []int) { - return fileDescriptor_5ffce145f2f590bf, []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 (m *Note) XXX_Merge(src proto.Message) { - xxx_messageInfo_Note.Merge(m, 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() Note_Kind { - if m != nil { - return m.Kind - } - return Note_KIND_UNSPECIFIED -} - -type isNote_NoteType interface { - isNote_NoteType() -} - -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 (m *Note) GetNoteType() isNote_NoteType { - if m != nil { - return m.NoteType - } - return nil -} - -func (m *Note) GetVulnerabilityType() *VulnerabilityType { - if x, ok := m.GetNoteType().(*Note_VulnerabilityType); ok { - return x.VulnerabilityType - } - return nil -} - -func (m *Note) GetBuildType() *BuildType { - if x, ok := m.GetNoteType().(*Note_BuildType); ok { - return x.BuildType - } - return nil -} - -func (m *Note) GetBaseImage() *DockerImage_Basis { - if x, ok := m.GetNoteType().(*Note_BaseImage); ok { - return x.BaseImage - } - return nil -} - -func (m *Note) GetPackage() *PackageManager_Package { - if x, ok := m.GetNoteType().(*Note_Package); ok { - return x.Package - } - return nil -} - -func (m *Note) GetDeployable() *Deployable { - if x, ok := m.GetNoteType().(*Note_Deployable); ok { - return x.Deployable - } - return nil -} - -func (m *Note) GetDiscovery() *Discovery { - if x, ok := m.GetNoteType().(*Note_Discovery); ok { - return x.Discovery - } - return nil -} - -func (m *Note) GetAttestationAuthority() *AttestationAuthority { - if x, ok := m.GetNoteType().(*Note_AttestationAuthority); ok { - return x.AttestationAuthority - } - return nil -} - -func (m *Note) GetRelatedUrl() []*Note_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 -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Note) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Note_VulnerabilityType)(nil), - (*Note_BuildType)(nil), - (*Note_BaseImage)(nil), - (*Note_Package)(nil), - (*Note_Deployable)(nil), - (*Note_Discovery)(nil), - (*Note_AttestationAuthority)(nil), - } -} - -// Metadata for any related URL information -type Note_RelatedUrl struct { - // Specific URL to associate with the note - 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 *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_5ffce145f2f590bf, []int{2, 0} -} - -func (m *Note_RelatedUrl) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Note_RelatedUrl.Unmarshal(m, b) -} -func (m *Note_RelatedUrl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Note_RelatedUrl.Marshal(b, m, deterministic) -} -func (m *Note_RelatedUrl) XXX_Merge(src proto.Message) { - xxx_messageInfo_Note_RelatedUrl.Merge(m, src) -} -func (m *Note_RelatedUrl) XXX_Size() int { - return xxx_messageInfo_Note_RelatedUrl.Size(m) -} -func (m *Note_RelatedUrl) XXX_DiscardUnknown() { - xxx_messageInfo_Note_RelatedUrl.DiscardUnknown(m) -} - -var xxx_messageInfo_Note_RelatedUrl proto.InternalMessageInfo - -func (m *Note_RelatedUrl) GetUrl() string { - if m != nil { - return m.Url - } - return "" -} - -func (m *Note_RelatedUrl) GetLabel() string { - if m != nil { - return m.Label - } - return "" -} - -// 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_5ffce145f2f590bf, []int{3} -} - -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 (m *Deployable) XXX_Merge(src proto.Message) { - xxx_messageInfo_Deployable.Merge(m, 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 -} - -// The period during which some deployable was active in a runtime. -type Deployable_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,8,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 Deployable_Deployment_Platform `protobuf:"varint,7,opt,name=platform,proto3,enum=google.devtools.containeranalysis.v1alpha1.Deployable_Deployment_Platform" json:"platform,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_5ffce145f2f590bf, []int{3, 0} -} - -func (m *Deployable_Deployment) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Deployable_Deployment.Unmarshal(m, b) -} -func (m *Deployable_Deployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Deployable_Deployment.Marshal(b, m, deterministic) -} -func (m *Deployable_Deployment) XXX_Merge(src proto.Message) { - xxx_messageInfo_Deployable_Deployment.Merge(m, src) -} -func (m *Deployable_Deployment) XXX_Size() int { - return xxx_messageInfo_Deployable_Deployment.Size(m) -} -func (m *Deployable_Deployment) XXX_DiscardUnknown() { - xxx_messageInfo_Deployable_Deployment.DiscardUnknown(m) -} - -var xxx_messageInfo_Deployable_Deployment proto.InternalMessageInfo - -func (m *Deployable_Deployment) GetUserEmail() string { - if m != nil { - return m.UserEmail - } - return "" -} - -func (m *Deployable_Deployment) GetDeployTime() *timestamp.Timestamp { - if m != nil { - return m.DeployTime - } - return nil -} - -func (m *Deployable_Deployment) GetUndeployTime() *timestamp.Timestamp { - if m != nil { - return m.UndeployTime - } - return nil -} - -func (m *Deployable_Deployment) GetConfig() string { - if m != nil { - return m.Config - } - return "" -} - -func (m *Deployable_Deployment) GetAddress() string { - if m != nil { - return m.Address - } - return "" -} - -func (m *Deployable_Deployment) GetResourceUri() []string { - if m != nil { - return m.ResourceUri - } - return nil -} - -func (m *Deployable_Deployment) GetPlatform() Deployable_Deployment_Platform { - if m != nil { - return m.Platform - } - return Deployable_Deployment_PLATFORM_UNSPECIFIED -} - -// 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. The occurrence's operation will -// indicate the status of the analysis. Absence of an occurrence linked to this -// note for a resource indicates that analysis hasn't started. -type Discovery struct { - // The kind of analysis that is handled by this discovery. - AnalysisKind Note_Kind `protobuf:"varint,1,opt,name=analysis_kind,json=analysisKind,proto3,enum=google.devtools.containeranalysis.v1alpha1.Note_Kind" 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_5ffce145f2f590bf, []int{4} -} - -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 (m *Discovery) XXX_Merge(src proto.Message) { - xxx_messageInfo_Discovery.Merge(m, 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() Note_Kind { - if m != nil { - return m.AnalysisKind - } - return Note_KIND_UNSPECIFIED -} - -// Provides information about the scan status of a discovered resource. -type Discovery_Discovered struct { - // Output only. An operation that indicates the status of the current scan. - Operation *longrunning.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"` - // The status of discovery for the resource. - AnalysisStatus Discovery_Discovered_AnalysisStatus `protobuf:"varint,5,opt,name=analysis_status,json=analysisStatus,proto3,enum=google.devtools.containeranalysis.v1alpha1.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 output only and - // populated by the API. - AnalysisStatusError *status.Status `protobuf:"bytes,6,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 *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_5ffce145f2f590bf, []int{4, 0} -} - -func (m *Discovery_Discovered) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Discovery_Discovered.Unmarshal(m, b) -} -func (m *Discovery_Discovered) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Discovery_Discovered.Marshal(b, m, deterministic) -} -func (m *Discovery_Discovered) XXX_Merge(src proto.Message) { - xxx_messageInfo_Discovery_Discovered.Merge(m, src) -} -func (m *Discovery_Discovered) XXX_Size() int { - return xxx_messageInfo_Discovery_Discovered.Size(m) -} -func (m *Discovery_Discovered) XXX_DiscardUnknown() { - xxx_messageInfo_Discovery_Discovered.DiscardUnknown(m) -} - -var xxx_messageInfo_Discovery_Discovered proto.InternalMessageInfo - -func (m *Discovery_Discovered) GetOperation() *longrunning.Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *Discovery_Discovered) GetAnalysisStatus() Discovery_Discovered_AnalysisStatus { - if m != nil { - return m.AnalysisStatus - } - return Discovery_Discovered_ANALYSIS_STATUS_UNSPECIFIED -} - -func (m *Discovery_Discovered) GetAnalysisStatusError() *status.Status { - if m != nil { - return m.AnalysisStatusError - } - return nil -} - -// Note holding the version of the provider's builder and the signature of -// the provenance message in linked BuildDetails. -type BuildType 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 *BuildType) Reset() { *m = BuildType{} } -func (m *BuildType) String() string { return proto.CompactTextString(m) } -func (*BuildType) ProtoMessage() {} -func (*BuildType) Descriptor() ([]byte, []int) { - return fileDescriptor_5ffce145f2f590bf, []int{5} -} - -func (m *BuildType) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BuildType.Unmarshal(m, b) -} -func (m *BuildType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BuildType.Marshal(b, m, deterministic) -} -func (m *BuildType) XXX_Merge(src proto.Message) { - xxx_messageInfo_BuildType.Merge(m, src) -} -func (m *BuildType) XXX_Size() int { - return xxx_messageInfo_BuildType.Size(m) -} -func (m *BuildType) XXX_DiscardUnknown() { - xxx_messageInfo_BuildType.DiscardUnknown(m) -} - -var xxx_messageInfo_BuildType proto.InternalMessageInfo - -func (m *BuildType) GetBuilderVersion() string { - if m != nil { - return m.BuilderVersion - } - return "" -} - -func (m *BuildType) 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 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 - // 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`, encoded in a base64 string. - Signature string `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=google.devtools.containeranalysis.v1alpha1.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_5ffce145f2f590bf, []int{6} -} - -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 (m *BuildSignature) XXX_Merge(src proto.Message) { - xxx_messageInfo_BuildSignature.Merge(m, 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() string { - if m != nil { - return m.Signature - } - return "" -} - -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 -} - -// 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=google.devtools.containeranalysis.v1alpha1.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_5ffce145f2f590bf, []int{7} -} - -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 (m *PgpSignedAttestation) XXX_Merge(src proto.Message) { - xxx_messageInfo_PgpSignedAttestation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*PgpSignedAttestation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*PgpSignedAttestation_PgpKeyId)(nil), - } -} - -// Note kind that represents a logical attestation "role" or "authority". For -// example, an organization might have one `AttestationAuthority` 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 AttestationAuthority struct { - Hint *AttestationAuthority_AttestationAuthorityHint `protobuf:"bytes,1,opt,name=hint,proto3" json:"hint,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_5ffce145f2f590bf, []int{8} -} - -func (m *AttestationAuthority) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AttestationAuthority.Unmarshal(m, b) -} -func (m *AttestationAuthority) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AttestationAuthority.Marshal(b, m, deterministic) -} -func (m *AttestationAuthority) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttestationAuthority.Merge(m, src) -} -func (m *AttestationAuthority) XXX_Size() int { - return xxx_messageInfo_AttestationAuthority.Size(m) -} -func (m *AttestationAuthority) XXX_DiscardUnknown() { - xxx_messageInfo_AttestationAuthority.DiscardUnknown(m) -} - -var xxx_messageInfo_AttestationAuthority proto.InternalMessageInfo - -func (m *AttestationAuthority) GetHint() *AttestationAuthority_AttestationAuthorityHint { - if m != nil { - return m.Hint - } - return nil -} - -// This submessage provides human-readable hints about the purpose of the -// AttestationAuthority. 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 AttestationAuthorities in security sensitive contexts, such as when -// looking up Attestations to verify. -type AttestationAuthority_AttestationAuthorityHint 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 *AttestationAuthority_AttestationAuthorityHint) Reset() { - *m = AttestationAuthority_AttestationAuthorityHint{} -} -func (m *AttestationAuthority_AttestationAuthorityHint) String() string { - return proto.CompactTextString(m) -} -func (*AttestationAuthority_AttestationAuthorityHint) ProtoMessage() {} -func (*AttestationAuthority_AttestationAuthorityHint) Descriptor() ([]byte, []int) { - return fileDescriptor_5ffce145f2f590bf, []int{8, 0} -} - -func (m *AttestationAuthority_AttestationAuthorityHint) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AttestationAuthority_AttestationAuthorityHint.Unmarshal(m, b) -} -func (m *AttestationAuthority_AttestationAuthorityHint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AttestationAuthority_AttestationAuthorityHint.Marshal(b, m, deterministic) -} -func (m *AttestationAuthority_AttestationAuthorityHint) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttestationAuthority_AttestationAuthorityHint.Merge(m, src) -} -func (m *AttestationAuthority_AttestationAuthorityHint) XXX_Size() int { - return xxx_messageInfo_AttestationAuthority_AttestationAuthorityHint.Size(m) -} -func (m *AttestationAuthority_AttestationAuthorityHint) XXX_DiscardUnknown() { - xxx_messageInfo_AttestationAuthority_AttestationAuthorityHint.DiscardUnknown(m) -} - -var xxx_messageInfo_AttestationAuthority_AttestationAuthorityHint proto.InternalMessageInfo - -func (m *AttestationAuthority_AttestationAuthorityHint) GetHumanReadableName() string { - if m != nil { - return m.HumanReadableName - } - return "" -} - -// 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 -// AttestationAuthority 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 AttestationAuthority_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: - // *AttestationAuthority_Attestation_PgpSignedAttestation - Signature isAttestationAuthority_Attestation_Signature `protobuf_oneof:"signature"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AttestationAuthority_Attestation) Reset() { *m = AttestationAuthority_Attestation{} } -func (m *AttestationAuthority_Attestation) String() string { return proto.CompactTextString(m) } -func (*AttestationAuthority_Attestation) ProtoMessage() {} -func (*AttestationAuthority_Attestation) Descriptor() ([]byte, []int) { - return fileDescriptor_5ffce145f2f590bf, []int{8, 1} -} - -func (m *AttestationAuthority_Attestation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AttestationAuthority_Attestation.Unmarshal(m, b) -} -func (m *AttestationAuthority_Attestation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AttestationAuthority_Attestation.Marshal(b, m, deterministic) -} -func (m *AttestationAuthority_Attestation) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttestationAuthority_Attestation.Merge(m, src) -} -func (m *AttestationAuthority_Attestation) XXX_Size() int { - return xxx_messageInfo_AttestationAuthority_Attestation.Size(m) -} -func (m *AttestationAuthority_Attestation) XXX_DiscardUnknown() { - xxx_messageInfo_AttestationAuthority_Attestation.DiscardUnknown(m) -} - -var xxx_messageInfo_AttestationAuthority_Attestation proto.InternalMessageInfo - -type isAttestationAuthority_Attestation_Signature interface { - isAttestationAuthority_Attestation_Signature() -} - -type AttestationAuthority_Attestation_PgpSignedAttestation struct { - PgpSignedAttestation *PgpSignedAttestation `protobuf:"bytes,1,opt,name=pgp_signed_attestation,json=pgpSignedAttestation,proto3,oneof"` -} - -func (*AttestationAuthority_Attestation_PgpSignedAttestation) isAttestationAuthority_Attestation_Signature() { -} - -func (m *AttestationAuthority_Attestation) GetSignature() isAttestationAuthority_Attestation_Signature { - if m != nil { - return m.Signature - } - return nil -} - -func (m *AttestationAuthority_Attestation) GetPgpSignedAttestation() *PgpSignedAttestation { - if x, ok := m.GetSignature().(*AttestationAuthority_Attestation_PgpSignedAttestation); ok { - return x.PgpSignedAttestation - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AttestationAuthority_Attestation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AttestationAuthority_Attestation_PgpSignedAttestation)(nil), - } -} - -// Message encapsulating build provenance details. -type BuildDetails struct { - // The actual 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 *BuildDetails) Reset() { *m = BuildDetails{} } -func (m *BuildDetails) String() string { return proto.CompactTextString(m) } -func (*BuildDetails) ProtoMessage() {} -func (*BuildDetails) Descriptor() ([]byte, []int) { - return fileDescriptor_5ffce145f2f590bf, []int{9} -} - -func (m *BuildDetails) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BuildDetails.Unmarshal(m, b) -} -func (m *BuildDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BuildDetails.Marshal(b, m, deterministic) -} -func (m *BuildDetails) XXX_Merge(src proto.Message) { - xxx_messageInfo_BuildDetails.Merge(m, src) -} -func (m *BuildDetails) XXX_Size() int { - return xxx_messageInfo_BuildDetails.Size(m) -} -func (m *BuildDetails) XXX_DiscardUnknown() { - xxx_messageInfo_BuildDetails.DiscardUnknown(m) -} - -var xxx_messageInfo_BuildDetails proto.InternalMessageInfo - -func (m *BuildDetails) GetProvenance() *BuildProvenance { - if m != nil { - return m.Provenance - } - return nil -} - -func (m *BuildDetails) GetProvenanceBytes() string { - if m != nil { - return m.ProvenanceBytes - } - return "" -} - -// Indicates various scans and whether they are turned on or off. -type ScanConfig struct { - // Output only. The name of the ScanConfig in the form - // “projects/{project_id}/ScanConfigs/{ScanConfig_id}". - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Output only. A human-readable description of what the `ScanConfig` does. - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - // Indicates whether the Scan is enabled. - Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,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_5ffce145f2f590bf, []int{10} -} - -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 (m *ScanConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ScanConfig.Merge(m, 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 -} - -// Request to get a Occurrence. -type GetOccurrenceRequest struct { - // The name of the occurrence of the form - // "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_5ffce145f2f590bf, []int{11} -} - -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 (m *GetOccurrenceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetOccurrenceRequest.Merge(m, 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 field contains the project Id. For example: - // "projects/{project_id} - // @Deprecated - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // This contains the project Id for example: projects/{project_id}. - Parent string `protobuf:"bytes,5,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"` - // The kind of occurrences to filter on. - Kind Note_Kind `protobuf:"varint,6,opt,name=kind,proto3,enum=google.devtools.containeranalysis.v1alpha1.Note_Kind" json:"kind,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_5ffce145f2f590bf, []int{12} -} - -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 (m *ListOccurrencesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListOccurrencesRequest.Merge(m, 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) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -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 "" -} - -func (m *ListOccurrencesRequest) GetKind() Note_Kind { - if m != nil { - return m.Kind - } - return Note_KIND_UNSPECIFIED -} - -// Response including listed active 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_5ffce145f2f590bf, []int{13} -} - -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 (m *ListOccurrencesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListOccurrencesResponse.Merge(m, 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_5ffce145f2f590bf, []int{14} -} - -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 (m *DeleteOccurrenceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteOccurrenceRequest.Merge(m, 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 insert a new occurrence. -type CreateOccurrenceRequest struct { - // The name of the project. Should be of the form "projects/{project_id}". - // @Deprecated - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // This field contains the project Id for example: "projects/{project_id}" - Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"` - // The occurrence to be inserted - 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_5ffce145f2f590bf, []int{15} -} - -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 (m *CreateOccurrenceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateOccurrenceRequest.Merge(m, 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) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -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 existing occurrence -type UpdateOccurrenceRequest struct { - // The name of the occurrence. - // Should be of the form "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_5ffce145f2f590bf, []int{16} -} - -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 (m *UpdateOccurrenceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateOccurrenceRequest.Merge(m, 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 - // "providers/{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_5ffce145f2f590bf, []int{17} -} - -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 (m *GetNoteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNoteRequest.Merge(m, 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 this occurrence is attached. -type GetOccurrenceNoteRequest struct { - // The name of the occurrence in the form - // "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_5ffce145f2f590bf, []int{18} -} - -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 (m *GetOccurrenceNoteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetOccurrenceNoteRequest.Merge(m, 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 field will contain the project Id for example: - // "providers/{provider_id} - // @Deprecated - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // This field contains the project Id for example: "projects/{PROJECT_ID}". - Parent string `protobuf:"bytes,5,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_5ffce145f2f590bf, []int{19} -} - -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 (m *ListNotesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNotesRequest.Merge(m, 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) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -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 including listed notes. -type ListNotesResponse struct { - // The occurrences 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 result. - 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_5ffce145f2f590bf, []int{20} -} - -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 (m *ListNotesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNotesResponse.Merge(m, 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 - // "providers/{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_5ffce145f2f590bf, []int{21} -} - -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 (m *DeleteNoteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteNoteRequest.Merge(m, 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 insert a new note -type CreateNoteRequest struct { - // The name of the project. - // Should be of the form "providers/{provider_id}". - // @Deprecated - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // This field contains the project Id for example: - // "projects/{project_id} - Parent string `protobuf:"bytes,4,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 be inserted - 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_5ffce145f2f590bf, []int{22} -} - -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 (m *CreateNoteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateNoteRequest.Merge(m, 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) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -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 an existing note -type UpdateNoteRequest struct { - // The name of the note. - // Should be of the form "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_5ffce145f2f590bf, []int{23} -} - -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 (m *UpdateNoteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateNoteRequest.Merge(m, 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. -type ListNoteOccurrencesRequest struct { - // The name field will contain the note name for example: - // "provider/{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 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 *ListNoteOccurrencesRequest) Reset() { *m = ListNoteOccurrencesRequest{} } -func (m *ListNoteOccurrencesRequest) String() string { return proto.CompactTextString(m) } -func (*ListNoteOccurrencesRequest) ProtoMessage() {} -func (*ListNoteOccurrencesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_5ffce145f2f590bf, []int{24} -} - -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 (m *ListNoteOccurrencesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNoteOccurrencesRequest.Merge(m, 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 including listed 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 receive the next page of notes. - 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_5ffce145f2f590bf, []int{25} -} - -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 (m *ListNoteOccurrencesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNoteOccurrencesResponse.Merge(m, 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 for creating an operation -type CreateOperationRequest struct { - // The project Id that this operation should be created under. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The ID to use for this operation. - OperationId string `protobuf:"bytes,2,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` - // The operation to create. - Operation *longrunning.Operation `protobuf:"bytes,3,opt,name=operation,proto3" json:"operation,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_5ffce145f2f590bf, []int{26} -} - -func (m *CreateOperationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateOperationRequest.Unmarshal(m, b) -} -func (m *CreateOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateOperationRequest.Marshal(b, m, deterministic) -} -func (m *CreateOperationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateOperationRequest.Merge(m, src) -} -func (m *CreateOperationRequest) XXX_Size() int { - return xxx_messageInfo_CreateOperationRequest.Size(m) -} -func (m *CreateOperationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateOperationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateOperationRequest proto.InternalMessageInfo - -func (m *CreateOperationRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateOperationRequest) GetOperationId() string { - if m != nil { - return m.OperationId - } - return "" -} - -func (m *CreateOperationRequest) GetOperation() *longrunning.Operation { - if m != nil { - return m.Operation - } - return nil -} - -// Request for updating an existing operation -type UpdateOperationRequest struct { - // The name of the Operation. - // Should be of the form "projects/{provider_id}/operations/{operation_id}". - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The operation to create. - Operation *longrunning.Operation `protobuf:"bytes,3,opt,name=operation,proto3" json:"operation,omitempty"` - 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:"-"` -} - -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_5ffce145f2f590bf, []int{27} -} - -func (m *UpdateOperationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateOperationRequest.Unmarshal(m, b) -} -func (m *UpdateOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateOperationRequest.Marshal(b, m, deterministic) -} -func (m *UpdateOperationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateOperationRequest.Merge(m, src) -} -func (m *UpdateOperationRequest) XXX_Size() int { - return xxx_messageInfo_UpdateOperationRequest.Size(m) -} -func (m *UpdateOperationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateOperationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateOperationRequest proto.InternalMessageInfo - -func (m *UpdateOperationRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *UpdateOperationRequest) GetOperation() *longrunning.Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *UpdateOperationRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// Metadata for all operations used and required for all operations -// that created by Container Analysis Providers -type OperationMetadata struct { - // Output only. The time this operation was created. - CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Output only. The time that this operation was marked completed or failed. - 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 *OperationMetadata) Reset() { *m = OperationMetadata{} } -func (m *OperationMetadata) String() string { return proto.CompactTextString(m) } -func (*OperationMetadata) ProtoMessage() {} -func (*OperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_5ffce145f2f590bf, []int{28} -} - -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 (m *OperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperationMetadata.Merge(m, 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 -} - -// Request to get the vulnz summary for some set of vulnerability Occurrences. -type GetVulnzOccurrencesSummaryRequest struct { - // This contains the project Id for example: 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 *GetVulnzOccurrencesSummaryRequest) Reset() { *m = GetVulnzOccurrencesSummaryRequest{} } -func (m *GetVulnzOccurrencesSummaryRequest) String() string { return proto.CompactTextString(m) } -func (*GetVulnzOccurrencesSummaryRequest) ProtoMessage() {} -func (*GetVulnzOccurrencesSummaryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_5ffce145f2f590bf, []int{29} -} - -func (m *GetVulnzOccurrencesSummaryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetVulnzOccurrencesSummaryRequest.Unmarshal(m, b) -} -func (m *GetVulnzOccurrencesSummaryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetVulnzOccurrencesSummaryRequest.Marshal(b, m, deterministic) -} -func (m *GetVulnzOccurrencesSummaryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetVulnzOccurrencesSummaryRequest.Merge(m, src) -} -func (m *GetVulnzOccurrencesSummaryRequest) XXX_Size() int { - return xxx_messageInfo_GetVulnzOccurrencesSummaryRequest.Size(m) -} -func (m *GetVulnzOccurrencesSummaryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetVulnzOccurrencesSummaryRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetVulnzOccurrencesSummaryRequest proto.InternalMessageInfo - -func (m *GetVulnzOccurrencesSummaryRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *GetVulnzOccurrencesSummaryRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -// A summary of how many vulnz occurrences there are per severity type. -// counts by groups, or if we should have different summary messages -// like this. -type GetVulnzOccurrencesSummaryResponse struct { - // A map of how many occurrences were found for each severity. - Counts []*GetVulnzOccurrencesSummaryResponse_SeverityCount `protobuf:"bytes,1,rep,name=counts,proto3" json:"counts,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetVulnzOccurrencesSummaryResponse) Reset() { *m = GetVulnzOccurrencesSummaryResponse{} } -func (m *GetVulnzOccurrencesSummaryResponse) String() string { return proto.CompactTextString(m) } -func (*GetVulnzOccurrencesSummaryResponse) ProtoMessage() {} -func (*GetVulnzOccurrencesSummaryResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5ffce145f2f590bf, []int{30} -} - -func (m *GetVulnzOccurrencesSummaryResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetVulnzOccurrencesSummaryResponse.Unmarshal(m, b) -} -func (m *GetVulnzOccurrencesSummaryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetVulnzOccurrencesSummaryResponse.Marshal(b, m, deterministic) -} -func (m *GetVulnzOccurrencesSummaryResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetVulnzOccurrencesSummaryResponse.Merge(m, src) -} -func (m *GetVulnzOccurrencesSummaryResponse) XXX_Size() int { - return xxx_messageInfo_GetVulnzOccurrencesSummaryResponse.Size(m) -} -func (m *GetVulnzOccurrencesSummaryResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetVulnzOccurrencesSummaryResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GetVulnzOccurrencesSummaryResponse proto.InternalMessageInfo - -func (m *GetVulnzOccurrencesSummaryResponse) GetCounts() []*GetVulnzOccurrencesSummaryResponse_SeverityCount { - if m != nil { - return m.Counts - } - return nil -} - -// The number of occurrences created for a specific severity. -type GetVulnzOccurrencesSummaryResponse_SeverityCount struct { - // The severity of the occurrences. - Severity VulnerabilityType_Severity `protobuf:"varint,1,opt,name=severity,proto3,enum=google.devtools.containeranalysis.v1alpha1.VulnerabilityType_Severity" json:"severity,omitempty"` - // The number of occurrences with the severity. - 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 *GetVulnzOccurrencesSummaryResponse_SeverityCount) Reset() { - *m = GetVulnzOccurrencesSummaryResponse_SeverityCount{} -} -func (m *GetVulnzOccurrencesSummaryResponse_SeverityCount) String() string { - return proto.CompactTextString(m) -} -func (*GetVulnzOccurrencesSummaryResponse_SeverityCount) ProtoMessage() {} -func (*GetVulnzOccurrencesSummaryResponse_SeverityCount) Descriptor() ([]byte, []int) { - return fileDescriptor_5ffce145f2f590bf, []int{30, 0} -} - -func (m *GetVulnzOccurrencesSummaryResponse_SeverityCount) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetVulnzOccurrencesSummaryResponse_SeverityCount.Unmarshal(m, b) -} -func (m *GetVulnzOccurrencesSummaryResponse_SeverityCount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetVulnzOccurrencesSummaryResponse_SeverityCount.Marshal(b, m, deterministic) -} -func (m *GetVulnzOccurrencesSummaryResponse_SeverityCount) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetVulnzOccurrencesSummaryResponse_SeverityCount.Merge(m, src) -} -func (m *GetVulnzOccurrencesSummaryResponse_SeverityCount) XXX_Size() int { - return xxx_messageInfo_GetVulnzOccurrencesSummaryResponse_SeverityCount.Size(m) -} -func (m *GetVulnzOccurrencesSummaryResponse_SeverityCount) XXX_DiscardUnknown() { - xxx_messageInfo_GetVulnzOccurrencesSummaryResponse_SeverityCount.DiscardUnknown(m) -} - -var xxx_messageInfo_GetVulnzOccurrencesSummaryResponse_SeverityCount proto.InternalMessageInfo - -func (m *GetVulnzOccurrencesSummaryResponse_SeverityCount) GetSeverity() VulnerabilityType_Severity { - if m != nil { - return m.Severity - } - return VulnerabilityType_SEVERITY_UNSPECIFIED -} - -func (m *GetVulnzOccurrencesSummaryResponse_SeverityCount) GetCount() int64 { - if m != nil { - return m.Count - } - return 0 -} - -// Request to get a ScanConfig. -type GetScanConfigRequest struct { - // The name of the ScanConfig in the form - // projects/{project_id}/scan_configs/{ScanConfig_id} - // instead. - 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_5ffce145f2f590bf, []int{31} -} - -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 (m *GetScanConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetScanConfigRequest.Merge(m, 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 the available scan configurations. -type ListScanConfigsRequest struct { - // This containers the project Id i.e.: projects/{project_id} - // instead. - 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 items to return. - PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // The page token to use for the next request. - 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_5ffce145f2f590bf, []int{32} -} - -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 (m *ListScanConfigsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListScanConfigsRequest.Merge(m, 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 "" -} - -// A list of ScanConfigs for the project. -type ListScanConfigsResponse struct { - // The set of scan configs - ScanConfigs []*ScanConfig `protobuf:"bytes,1,rep,name=scan_configs,json=scanConfigs,proto3" json:"scan_configs,omitempty"` - // A page token to pass in order to get more scans. - 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_5ffce145f2f590bf, []int{33} -} - -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 (m *ListScanConfigsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListScanConfigsResponse.Merge(m, 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 ScanConfig. -type UpdateScanConfigRequest struct { - // The scan config to update of the form - // projects/{project_id}/scan_configs/{ScanConfig_id} - // instead. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The new scan configuration - ScanConfig *ScanConfig `protobuf:"bytes,2,opt,name=scan_config,json=scanConfig,proto3" json:"scan_config,omitempty"` - 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 *UpdateScanConfigRequest) Reset() { *m = UpdateScanConfigRequest{} } -func (m *UpdateScanConfigRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateScanConfigRequest) ProtoMessage() {} -func (*UpdateScanConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_5ffce145f2f590bf, []int{34} -} - -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 (m *UpdateScanConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateScanConfigRequest.Merge(m, 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 (m *UpdateScanConfigRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -func init() { - proto.RegisterEnum("google.devtools.containeranalysis.v1alpha1.Note_Kind", Note_Kind_name, Note_Kind_value) - proto.RegisterEnum("google.devtools.containeranalysis.v1alpha1.Deployable_Deployment_Platform", Deployable_Deployment_Platform_name, Deployable_Deployment_Platform_value) - proto.RegisterEnum("google.devtools.containeranalysis.v1alpha1.Discovery_Discovered_AnalysisStatus", Discovery_Discovered_AnalysisStatus_name, Discovery_Discovered_AnalysisStatus_value) - proto.RegisterEnum("google.devtools.containeranalysis.v1alpha1.BuildSignature_KeyType", BuildSignature_KeyType_name, BuildSignature_KeyType_value) - proto.RegisterEnum("google.devtools.containeranalysis.v1alpha1.PgpSignedAttestation_ContentType", PgpSignedAttestation_ContentType_name, PgpSignedAttestation_ContentType_value) - proto.RegisterType((*Occurrence)(nil), "google.devtools.containeranalysis.v1alpha1.Occurrence") - proto.RegisterType((*Resource)(nil), "google.devtools.containeranalysis.v1alpha1.Resource") - proto.RegisterType((*Note)(nil), "google.devtools.containeranalysis.v1alpha1.Note") - proto.RegisterType((*Note_RelatedUrl)(nil), "google.devtools.containeranalysis.v1alpha1.Note.RelatedUrl") - proto.RegisterType((*Deployable)(nil), "google.devtools.containeranalysis.v1alpha1.Deployable") - proto.RegisterType((*Deployable_Deployment)(nil), "google.devtools.containeranalysis.v1alpha1.Deployable.Deployment") - proto.RegisterType((*Discovery)(nil), "google.devtools.containeranalysis.v1alpha1.Discovery") - proto.RegisterType((*Discovery_Discovered)(nil), "google.devtools.containeranalysis.v1alpha1.Discovery.Discovered") - proto.RegisterType((*BuildType)(nil), "google.devtools.containeranalysis.v1alpha1.BuildType") - proto.RegisterType((*BuildSignature)(nil), "google.devtools.containeranalysis.v1alpha1.BuildSignature") - proto.RegisterType((*PgpSignedAttestation)(nil), "google.devtools.containeranalysis.v1alpha1.PgpSignedAttestation") - proto.RegisterType((*AttestationAuthority)(nil), "google.devtools.containeranalysis.v1alpha1.AttestationAuthority") - proto.RegisterType((*AttestationAuthority_AttestationAuthorityHint)(nil), "google.devtools.containeranalysis.v1alpha1.AttestationAuthority.AttestationAuthorityHint") - proto.RegisterType((*AttestationAuthority_Attestation)(nil), "google.devtools.containeranalysis.v1alpha1.AttestationAuthority.Attestation") - proto.RegisterType((*BuildDetails)(nil), "google.devtools.containeranalysis.v1alpha1.BuildDetails") - proto.RegisterType((*ScanConfig)(nil), "google.devtools.containeranalysis.v1alpha1.ScanConfig") - proto.RegisterType((*GetOccurrenceRequest)(nil), "google.devtools.containeranalysis.v1alpha1.GetOccurrenceRequest") - proto.RegisterType((*ListOccurrencesRequest)(nil), "google.devtools.containeranalysis.v1alpha1.ListOccurrencesRequest") - proto.RegisterType((*ListOccurrencesResponse)(nil), "google.devtools.containeranalysis.v1alpha1.ListOccurrencesResponse") - proto.RegisterType((*DeleteOccurrenceRequest)(nil), "google.devtools.containeranalysis.v1alpha1.DeleteOccurrenceRequest") - proto.RegisterType((*CreateOccurrenceRequest)(nil), "google.devtools.containeranalysis.v1alpha1.CreateOccurrenceRequest") - proto.RegisterType((*UpdateOccurrenceRequest)(nil), "google.devtools.containeranalysis.v1alpha1.UpdateOccurrenceRequest") - proto.RegisterType((*GetNoteRequest)(nil), "google.devtools.containeranalysis.v1alpha1.GetNoteRequest") - proto.RegisterType((*GetOccurrenceNoteRequest)(nil), "google.devtools.containeranalysis.v1alpha1.GetOccurrenceNoteRequest") - proto.RegisterType((*ListNotesRequest)(nil), "google.devtools.containeranalysis.v1alpha1.ListNotesRequest") - proto.RegisterType((*ListNotesResponse)(nil), "google.devtools.containeranalysis.v1alpha1.ListNotesResponse") - proto.RegisterType((*DeleteNoteRequest)(nil), "google.devtools.containeranalysis.v1alpha1.DeleteNoteRequest") - proto.RegisterType((*CreateNoteRequest)(nil), "google.devtools.containeranalysis.v1alpha1.CreateNoteRequest") - proto.RegisterType((*UpdateNoteRequest)(nil), "google.devtools.containeranalysis.v1alpha1.UpdateNoteRequest") - proto.RegisterType((*ListNoteOccurrencesRequest)(nil), "google.devtools.containeranalysis.v1alpha1.ListNoteOccurrencesRequest") - proto.RegisterType((*ListNoteOccurrencesResponse)(nil), "google.devtools.containeranalysis.v1alpha1.ListNoteOccurrencesResponse") - proto.RegisterType((*CreateOperationRequest)(nil), "google.devtools.containeranalysis.v1alpha1.CreateOperationRequest") - proto.RegisterType((*UpdateOperationRequest)(nil), "google.devtools.containeranalysis.v1alpha1.UpdateOperationRequest") - proto.RegisterType((*OperationMetadata)(nil), "google.devtools.containeranalysis.v1alpha1.OperationMetadata") - proto.RegisterType((*GetVulnzOccurrencesSummaryRequest)(nil), "google.devtools.containeranalysis.v1alpha1.GetVulnzOccurrencesSummaryRequest") - proto.RegisterType((*GetVulnzOccurrencesSummaryResponse)(nil), "google.devtools.containeranalysis.v1alpha1.GetVulnzOccurrencesSummaryResponse") - proto.RegisterType((*GetVulnzOccurrencesSummaryResponse_SeverityCount)(nil), "google.devtools.containeranalysis.v1alpha1.GetVulnzOccurrencesSummaryResponse.SeverityCount") - proto.RegisterType((*GetScanConfigRequest)(nil), "google.devtools.containeranalysis.v1alpha1.GetScanConfigRequest") - proto.RegisterType((*ListScanConfigsRequest)(nil), "google.devtools.containeranalysis.v1alpha1.ListScanConfigsRequest") - proto.RegisterType((*ListScanConfigsResponse)(nil), "google.devtools.containeranalysis.v1alpha1.ListScanConfigsResponse") - proto.RegisterType((*UpdateScanConfigRequest)(nil), "google.devtools.containeranalysis.v1alpha1.UpdateScanConfigRequest") -} - -func init() { - proto.RegisterFile("google/devtools/containeranalysis/v1alpha1/containeranalysis.proto", fileDescriptor_5ffce145f2f590bf) -} - -var fileDescriptor_5ffce145f2f590bf = []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, 0x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db, 0x1a, 0x83, 0x26, 0xf2, 0x89, - 0x64, 0x98, 0x21, 0x71, 0xc2, 0x86, 0xab, 0x1c, 0xaa, 0xce, 0x21, 0xc5, 0x90, 0xc4, 0xca, 0x73, - 0x51, 0x82, 0xb9, 0xa1, 0x3a, 0x87, 0x52, 0x82, 0x49, 0x21, 0x03, 0xf1, 0x7f, 0x00, 0x13, 0x04, - 0x41, 0xfa, 0xda, 0xf0, 0x0c, 0x2c, 0x38, 0x87, 0xa6, 0xed, 0x2a, 0x0d, 0xec, 0xd4, 0x6d, 0xcd, - 0xa2, 0x11, 0xf5, 0xa0, 0x2b, 0x49, 0x27, 0x0a, 0x01, 0x1d, 0x3d, 0x0d, 0x49, 0x72, 0x57, 0x74, - 0xf0, 0x4e, 0x50, 0xde, 0x79, 0x42, 0x0f, 0xb3, 0x72, 0xb4, 0x8b, 0x8f, 0x8e, 0x76, 0x06, 0xa0, - 0x4e, 0xb0, 0x73, 0x4f, 0x2c, 0x4c, 0x61, 0x34, 0xb1, 0x72, 0x6b, 0x24, 0xa4, 0xdb, 0xb8, 0x20, - 0x2d, 0x1c, 0x77, 0x13, 0xd1, 0x1e, 0x80, 0x87, 0x68, 0x54, 0x8f, 0x87, 0xa8, 0x2f, 0x46, 0x86, - 0x33, 0x26, 0x3f, 0x5e, 0xe3, 0x03, 0xf4, 0x06, 0x40, 0x4d, 0x75, 0x30, 0x43, 0xb1, 0xd9, 0xe8, - 0xf6, 0x87, 0x51, 0x6c, 0x95, 0x14, 0x22, 0x54, 0xbe, 0xea, 0x60, 0x0f, 0xc0, 0xde, 0x80, 0x69, - 0x56, 0x66, 0x30, 0x38, 0x59, 0x1d, 0x01, 0xbb, 0xd8, 0x70, 0xe3, 0x82, 0xc4, 0x85, 0xa2, 0xbb, - 0x1c, 0xb1, 0x08, 0xe6, 0xb0, 0x1b, 0xf3, 0xd3, 0xc3, 0x21, 0x56, 0x00, 0x53, 0x64, 0x84, 0x76, - 0x21, 0xce, 0x01, 0xe5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d, 0x2b, 0x6a, 0x3b, 0xd7, 0xd3, - 0xe2, 0xa6, 0x87, 0xec, 0x5c, 0xc5, 0x15, 0xea, 0xc0, 0xa7, 0xd0, 0xf2, 0x19, 0x0e, 0x84, 0x5b, - 0x7b, 0xd6, 0x5a, 0xcc, 0x77, 0xbd, 0x04, 0x44, 0xef, 0xe7, 0x7a, 0x5f, 0x33, 0xa2, 0xf7, 0x73, - 0x7d, 0x9e, 0x22, 0xfa, 0x3a, 0xd4, 0x27, 0x7b, 0xc2, 0x3e, 0xa1, 0xbf, 0xf9, 0xad, 0x45, 0x68, - 0x4f, 0x86, 0x68, 0x2d, 0x1e, 0xdc, 0xb6, 0xdc, 0xa6, 0x5e, 0x7c, 0x76, 0x25, 0xc2, 0xb6, 0xdc, - 0x08, 0xbf, 0x67, 0xac, 0x7e, 0x4b, 0x80, 0x27, 0xeb, 0x66, 0x8b, 0xab, 0x3f, 0x5d, 0x6b, 0x45, - 0x78, 0xf5, 0x35, 0xc6, 0xd4, 0x34, 0x75, 0xd5, 0x68, 0x66, 0x4c, 0xbb, 0x99, 0x6d, 0x62, 0x83, - 0x56, 0x88, 0x59, 0x6f, 0x4a, 0xb5, 0x34, 0x67, 0x90, 0xff, 0x2a, 0x72, 0xb3, 0x67, 0xea, 0x83, - 0xb1, 0xf1, 0xf5, 0x7c, 0xae, 0x36, 0x45, 0xa5, 0x3d, 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, - 0xb3, 0xe0, 0xe0, 0x39, 0xcf, 0x33, 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 - -// ContainerAnalysisClient is the client API for ContainerAnalysis service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ContainerAnalysisClient interface { - // Returns the requested `Occurrence`. - GetOccurrence(ctx context.Context, in *GetOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) - // Lists active `Occurrences` for a given project matching the filters. - ListOccurrences(ctx context.Context, in *ListOccurrencesRequest, opts ...grpc.CallOption) (*ListOccurrencesResponse, error) - // Deletes the given `Occurrence` from the system. Use this when - // an `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`. Use this method to create `Occurrences` - // for a resource. - CreateOccurrence(ctx context.Context, in *CreateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) - // Updates an existing occurrence. - UpdateOccurrence(ctx context.Context, in *UpdateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) - // Gets the `Note` attached to the given `Occurrence`. - GetOccurrenceNote(ctx context.Context, in *GetOccurrenceNoteRequest, opts ...grpc.CallOption) (*Note, error) - // Returns the requested `Note`. - GetNote(ctx context.Context, in *GetNoteRequest, opts ...grpc.CallOption) (*Note, error) - // Lists all `Notes` for a given project. - ListNotes(ctx context.Context, in *ListNotesRequest, opts ...grpc.CallOption) (*ListNotesResponse, error) - // Deletes the given `Note` from the system. - 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) - // Updates an existing `Note`. - UpdateNote(ctx context.Context, in *UpdateNoteRequest, opts ...grpc.CallOption) (*Note, error) - // Lists `Occurrences` referencing the specified `Note`. Use this method to - // get all occurrences referencing your `Note` across all your customer - // projects. - ListNoteOccurrences(ctx context.Context, in *ListNoteOccurrencesRequest, opts ...grpc.CallOption) (*ListNoteOccurrencesResponse, error) - // Gets a summary of the number and severity of occurrences. - GetVulnzOccurrencesSummary(ctx context.Context, in *GetVulnzOccurrencesSummaryRequest, opts ...grpc.CallOption) (*GetVulnzOccurrencesSummaryResponse, error) - // 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. - // Attempting to call this method without these permissions will result in a ` - // `PERMISSION_DENIED` error. - // Attempting to call this method on a non-existent resource will result in a - // `NOT_FOUND` error if the user has `containeranalysis.notes.list` permission - // on a `Note` or `containeranalysis.occurrences.list` on an `Occurrence`, or - // a `PERMISSION_DENIED` error otherwise. The resource takes the following - // formats: `projects/{projectid}/occurrences/{occurrenceid}` for occurrences - // and projects/{projectid}/notes/{noteid} for notes - 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. - // Attempting to call this method on a resource without the required - // permission will result in a `PERMISSION_DENIED` error. Attempting to call - // this method on a non-existent resource will result in a `NOT_FOUND` error - // if the user has list permission on the project, or a `PERMISSION_DENIED` - // error otherwise. The resource takes the following formats: - // `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for occurrences and - // projects/{PROJECT_ID}/notes/{NOTE_ID} for notes - 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 resource. Requires list permission on the project (for example, - // "storage.objects.list" on the containing bucket for testing permission of - // an object). Attempting to call this method on a non-existent resource will - // result in a `NOT_FOUND` error if the user has list permission on the - // project, or a `PERMISSION_DENIED` error otherwise. The resource takes the - // following formats: `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for - // `Occurrences` and `projects/{PROJECT_ID}/notes/{NOTE_ID}` for `Notes` - TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) - // Creates a new `Operation`. - CreateOperation(ctx context.Context, in *CreateOperationRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Updates an existing operation returns an error if operation - // does not exist. The only valid operations are to update mark the done bit - // change the result. - UpdateOperation(ctx context.Context, in *UpdateOperationRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Gets a specific scan configuration for a project. - GetScanConfig(ctx context.Context, in *GetScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error) - // Lists scan configurations for a project. - ListScanConfigs(ctx context.Context, in *ListScanConfigsRequest, opts ...grpc.CallOption) (*ListScanConfigsResponse, error) - // Updates the scan configuration to a new value. - UpdateScanConfig(ctx context.Context, in *UpdateScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error) -} - -type containerAnalysisClient struct { - cc *grpc.ClientConn -} - -func NewContainerAnalysisClient(cc *grpc.ClientConn) ContainerAnalysisClient { - return &containerAnalysisClient{cc} -} - -func (c *containerAnalysisClient) GetOccurrence(ctx context.Context, in *GetOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) { - out := new(Occurrence) - err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/GetOccurrence", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *containerAnalysisClient) ListOccurrences(ctx context.Context, in *ListOccurrencesRequest, opts ...grpc.CallOption) (*ListOccurrencesResponse, error) { - out := new(ListOccurrencesResponse) - err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/ListOccurrences", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *containerAnalysisClient) DeleteOccurrence(ctx context.Context, in *DeleteOccurrenceRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/DeleteOccurrence", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *containerAnalysisClient) CreateOccurrence(ctx context.Context, in *CreateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) { - out := new(Occurrence) - err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/CreateOccurrence", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *containerAnalysisClient) UpdateOccurrence(ctx context.Context, in *UpdateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) { - out := new(Occurrence) - err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/UpdateOccurrence", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *containerAnalysisClient) GetOccurrenceNote(ctx context.Context, in *GetOccurrenceNoteRequest, opts ...grpc.CallOption) (*Note, error) { - out := new(Note) - err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/GetOccurrenceNote", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *containerAnalysisClient) GetNote(ctx context.Context, in *GetNoteRequest, opts ...grpc.CallOption) (*Note, error) { - out := new(Note) - err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/GetNote", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *containerAnalysisClient) ListNotes(ctx context.Context, in *ListNotesRequest, opts ...grpc.CallOption) (*ListNotesResponse, error) { - out := new(ListNotesResponse) - err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/ListNotes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *containerAnalysisClient) DeleteNote(ctx context.Context, in *DeleteNoteRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/DeleteNote", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *containerAnalysisClient) CreateNote(ctx context.Context, in *CreateNoteRequest, opts ...grpc.CallOption) (*Note, error) { - out := new(Note) - err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/CreateNote", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *containerAnalysisClient) UpdateNote(ctx context.Context, in *UpdateNoteRequest, opts ...grpc.CallOption) (*Note, error) { - out := new(Note) - err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/UpdateNote", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *containerAnalysisClient) ListNoteOccurrences(ctx context.Context, in *ListNoteOccurrencesRequest, opts ...grpc.CallOption) (*ListNoteOccurrencesResponse, error) { - out := new(ListNoteOccurrencesResponse) - err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/ListNoteOccurrences", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *containerAnalysisClient) GetVulnzOccurrencesSummary(ctx context.Context, in *GetVulnzOccurrencesSummaryRequest, opts ...grpc.CallOption) (*GetVulnzOccurrencesSummaryResponse, error) { - out := new(GetVulnzOccurrencesSummaryResponse) - err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/GetVulnzOccurrencesSummary", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *containerAnalysisClient) 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.v1alpha1.ContainerAnalysis/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *containerAnalysisClient) 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.v1alpha1.ContainerAnalysis/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *containerAnalysisClient) 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.v1alpha1.ContainerAnalysis/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *containerAnalysisClient) CreateOperation(ctx context.Context, in *CreateOperationRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/CreateOperation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *containerAnalysisClient) UpdateOperation(ctx context.Context, in *UpdateOperationRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/UpdateOperation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *containerAnalysisClient) GetScanConfig(ctx context.Context, in *GetScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error) { - out := new(ScanConfig) - err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/GetScanConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *containerAnalysisClient) ListScanConfigs(ctx context.Context, in *ListScanConfigsRequest, opts ...grpc.CallOption) (*ListScanConfigsResponse, error) { - out := new(ListScanConfigsResponse) - err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/ListScanConfigs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *containerAnalysisClient) UpdateScanConfig(ctx context.Context, in *UpdateScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error) { - out := new(ScanConfig) - err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/UpdateScanConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ContainerAnalysisServer is the server API for ContainerAnalysis service. -type ContainerAnalysisServer interface { - // Returns the requested `Occurrence`. - GetOccurrence(context.Context, *GetOccurrenceRequest) (*Occurrence, error) - // Lists active `Occurrences` for a given project matching the filters. - ListOccurrences(context.Context, *ListOccurrencesRequest) (*ListOccurrencesResponse, error) - // Deletes the given `Occurrence` from the system. Use this when - // an `Occurrence` is no longer applicable for the given resource. - DeleteOccurrence(context.Context, *DeleteOccurrenceRequest) (*empty.Empty, error) - // Creates a new `Occurrence`. Use this method to create `Occurrences` - // for a resource. - CreateOccurrence(context.Context, *CreateOccurrenceRequest) (*Occurrence, error) - // Updates an existing occurrence. - UpdateOccurrence(context.Context, *UpdateOccurrenceRequest) (*Occurrence, error) - // Gets the `Note` attached to the given `Occurrence`. - GetOccurrenceNote(context.Context, *GetOccurrenceNoteRequest) (*Note, error) - // Returns the requested `Note`. - GetNote(context.Context, *GetNoteRequest) (*Note, error) - // Lists all `Notes` for a given project. - ListNotes(context.Context, *ListNotesRequest) (*ListNotesResponse, error) - // Deletes the given `Note` from the system. - DeleteNote(context.Context, *DeleteNoteRequest) (*empty.Empty, error) - // Creates a new `Note`. - CreateNote(context.Context, *CreateNoteRequest) (*Note, error) - // Updates an existing `Note`. - UpdateNote(context.Context, *UpdateNoteRequest) (*Note, error) - // Lists `Occurrences` referencing the specified `Note`. Use this method to - // get all occurrences referencing your `Note` across all your customer - // projects. - ListNoteOccurrences(context.Context, *ListNoteOccurrencesRequest) (*ListNoteOccurrencesResponse, error) - // Gets a summary of the number and severity of occurrences. - GetVulnzOccurrencesSummary(context.Context, *GetVulnzOccurrencesSummaryRequest) (*GetVulnzOccurrencesSummaryResponse, error) - // 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. - // Attempting to call this method without these permissions will result in a ` - // `PERMISSION_DENIED` error. - // Attempting to call this method on a non-existent resource will result in a - // `NOT_FOUND` error if the user has `containeranalysis.notes.list` permission - // on a `Note` or `containeranalysis.occurrences.list` on an `Occurrence`, or - // a `PERMISSION_DENIED` error otherwise. The resource takes the following - // formats: `projects/{projectid}/occurrences/{occurrenceid}` for occurrences - // and projects/{projectid}/notes/{noteid} for notes - 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. - // Attempting to call this method on a resource without the required - // permission will result in a `PERMISSION_DENIED` error. Attempting to call - // this method on a non-existent resource will result in a `NOT_FOUND` error - // if the user has list permission on the project, or a `PERMISSION_DENIED` - // error otherwise. The resource takes the following formats: - // `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for occurrences and - // projects/{PROJECT_ID}/notes/{NOTE_ID} for notes - GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error) - // Returns the permissions that a caller has on the specified note or - // occurrence resource. Requires list permission on the project (for example, - // "storage.objects.list" on the containing bucket for testing permission of - // an object). Attempting to call this method on a non-existent resource will - // result in a `NOT_FOUND` error if the user has list permission on the - // project, or a `PERMISSION_DENIED` error otherwise. The resource takes the - // following formats: `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for - // `Occurrences` and `projects/{PROJECT_ID}/notes/{NOTE_ID}` for `Notes` - TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) - // Creates a new `Operation`. - CreateOperation(context.Context, *CreateOperationRequest) (*longrunning.Operation, error) - // Updates an existing operation returns an error if operation - // does not exist. The only valid operations are to update mark the done bit - // change the result. - UpdateOperation(context.Context, *UpdateOperationRequest) (*longrunning.Operation, error) - // Gets a specific scan configuration for a project. - GetScanConfig(context.Context, *GetScanConfigRequest) (*ScanConfig, error) - // Lists scan configurations for a project. - ListScanConfigs(context.Context, *ListScanConfigsRequest) (*ListScanConfigsResponse, error) - // Updates the scan configuration to a new value. - UpdateScanConfig(context.Context, *UpdateScanConfigRequest) (*ScanConfig, error) -} - -// UnimplementedContainerAnalysisServer can be embedded to have forward compatible implementations. -type UnimplementedContainerAnalysisServer struct { -} - -func (*UnimplementedContainerAnalysisServer) GetOccurrence(ctx context.Context, req *GetOccurrenceRequest) (*Occurrence, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetOccurrence not implemented") -} -func (*UnimplementedContainerAnalysisServer) ListOccurrences(ctx context.Context, req *ListOccurrencesRequest) (*ListOccurrencesResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListOccurrences not implemented") -} -func (*UnimplementedContainerAnalysisServer) DeleteOccurrence(ctx context.Context, req *DeleteOccurrenceRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method DeleteOccurrence not implemented") -} -func (*UnimplementedContainerAnalysisServer) CreateOccurrence(ctx context.Context, req *CreateOccurrenceRequest) (*Occurrence, error) { - return nil, status1.Errorf(codes.Unimplemented, "method CreateOccurrence not implemented") -} -func (*UnimplementedContainerAnalysisServer) UpdateOccurrence(ctx context.Context, req *UpdateOccurrenceRequest) (*Occurrence, error) { - return nil, status1.Errorf(codes.Unimplemented, "method UpdateOccurrence not implemented") -} -func (*UnimplementedContainerAnalysisServer) GetOccurrenceNote(ctx context.Context, req *GetOccurrenceNoteRequest) (*Note, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetOccurrenceNote not implemented") -} -func (*UnimplementedContainerAnalysisServer) GetNote(ctx context.Context, req *GetNoteRequest) (*Note, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetNote not implemented") -} -func (*UnimplementedContainerAnalysisServer) ListNotes(ctx context.Context, req *ListNotesRequest) (*ListNotesResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListNotes not implemented") -} -func (*UnimplementedContainerAnalysisServer) DeleteNote(ctx context.Context, req *DeleteNoteRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method DeleteNote not implemented") -} -func (*UnimplementedContainerAnalysisServer) CreateNote(ctx context.Context, req *CreateNoteRequest) (*Note, error) { - return nil, status1.Errorf(codes.Unimplemented, "method CreateNote not implemented") -} -func (*UnimplementedContainerAnalysisServer) UpdateNote(ctx context.Context, req *UpdateNoteRequest) (*Note, error) { - return nil, status1.Errorf(codes.Unimplemented, "method UpdateNote not implemented") -} -func (*UnimplementedContainerAnalysisServer) ListNoteOccurrences(ctx context.Context, req *ListNoteOccurrencesRequest) (*ListNoteOccurrencesResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListNoteOccurrences not implemented") -} -func (*UnimplementedContainerAnalysisServer) GetVulnzOccurrencesSummary(ctx context.Context, req *GetVulnzOccurrencesSummaryRequest) (*GetVulnzOccurrencesSummaryResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetVulnzOccurrencesSummary not implemented") -} -func (*UnimplementedContainerAnalysisServer) SetIamPolicy(ctx context.Context, req *v1.SetIamPolicyRequest) (*v1.Policy, error) { - return nil, status1.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedContainerAnalysisServer) GetIamPolicy(ctx context.Context, req *v1.GetIamPolicyRequest) (*v1.Policy, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedContainerAnalysisServer) TestIamPermissions(ctx context.Context, req *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} -func (*UnimplementedContainerAnalysisServer) CreateOperation(ctx context.Context, req *CreateOperationRequest) (*longrunning.Operation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method CreateOperation not implemented") -} -func (*UnimplementedContainerAnalysisServer) UpdateOperation(ctx context.Context, req *UpdateOperationRequest) (*longrunning.Operation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method UpdateOperation not implemented") -} -func (*UnimplementedContainerAnalysisServer) GetScanConfig(ctx context.Context, req *GetScanConfigRequest) (*ScanConfig, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetScanConfig not implemented") -} -func (*UnimplementedContainerAnalysisServer) ListScanConfigs(ctx context.Context, req *ListScanConfigsRequest) (*ListScanConfigsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListScanConfigs not implemented") -} -func (*UnimplementedContainerAnalysisServer) UpdateScanConfig(ctx context.Context, req *UpdateScanConfigRequest) (*ScanConfig, error) { - return nil, status1.Errorf(codes.Unimplemented, "method UpdateScanConfig not implemented") -} - -func RegisterContainerAnalysisServer(s *grpc.Server, srv ContainerAnalysisServer) { - s.RegisterService(&_ContainerAnalysis_serviceDesc, srv) -} - -func _ContainerAnalysis_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.(ContainerAnalysisServer).GetOccurrence(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/GetOccurrence", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContainerAnalysisServer).GetOccurrence(ctx, req.(*GetOccurrenceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ContainerAnalysis_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.(ContainerAnalysisServer).ListOccurrences(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/ListOccurrences", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContainerAnalysisServer).ListOccurrences(ctx, req.(*ListOccurrencesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ContainerAnalysis_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.(ContainerAnalysisServer).DeleteOccurrence(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/DeleteOccurrence", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContainerAnalysisServer).DeleteOccurrence(ctx, req.(*DeleteOccurrenceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ContainerAnalysis_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.(ContainerAnalysisServer).CreateOccurrence(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/CreateOccurrence", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContainerAnalysisServer).CreateOccurrence(ctx, req.(*CreateOccurrenceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ContainerAnalysis_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.(ContainerAnalysisServer).UpdateOccurrence(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/UpdateOccurrence", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContainerAnalysisServer).UpdateOccurrence(ctx, req.(*UpdateOccurrenceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ContainerAnalysis_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.(ContainerAnalysisServer).GetOccurrenceNote(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/GetOccurrenceNote", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContainerAnalysisServer).GetOccurrenceNote(ctx, req.(*GetOccurrenceNoteRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ContainerAnalysis_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.(ContainerAnalysisServer).GetNote(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/GetNote", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContainerAnalysisServer).GetNote(ctx, req.(*GetNoteRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ContainerAnalysis_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.(ContainerAnalysisServer).ListNotes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/ListNotes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContainerAnalysisServer).ListNotes(ctx, req.(*ListNotesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ContainerAnalysis_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.(ContainerAnalysisServer).DeleteNote(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/DeleteNote", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContainerAnalysisServer).DeleteNote(ctx, req.(*DeleteNoteRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ContainerAnalysis_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.(ContainerAnalysisServer).CreateNote(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/CreateNote", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContainerAnalysisServer).CreateNote(ctx, req.(*CreateNoteRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ContainerAnalysis_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.(ContainerAnalysisServer).UpdateNote(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/UpdateNote", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContainerAnalysisServer).UpdateNote(ctx, req.(*UpdateNoteRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ContainerAnalysis_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.(ContainerAnalysisServer).ListNoteOccurrences(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/ListNoteOccurrences", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContainerAnalysisServer).ListNoteOccurrences(ctx, req.(*ListNoteOccurrencesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ContainerAnalysis_GetVulnzOccurrencesSummary_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetVulnzOccurrencesSummaryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ContainerAnalysisServer).GetVulnzOccurrencesSummary(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/GetVulnzOccurrencesSummary", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContainerAnalysisServer).GetVulnzOccurrencesSummary(ctx, req.(*GetVulnzOccurrencesSummaryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ContainerAnalysis_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.(ContainerAnalysisServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContainerAnalysisServer).SetIamPolicy(ctx, req.(*v1.SetIamPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ContainerAnalysis_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.(ContainerAnalysisServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContainerAnalysisServer).GetIamPolicy(ctx, req.(*v1.GetIamPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ContainerAnalysis_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.(ContainerAnalysisServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContainerAnalysisServer).TestIamPermissions(ctx, req.(*v1.TestIamPermissionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ContainerAnalysis_CreateOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateOperationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ContainerAnalysisServer).CreateOperation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/CreateOperation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContainerAnalysisServer).CreateOperation(ctx, req.(*CreateOperationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ContainerAnalysis_UpdateOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateOperationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ContainerAnalysisServer).UpdateOperation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/UpdateOperation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContainerAnalysisServer).UpdateOperation(ctx, req.(*UpdateOperationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ContainerAnalysis_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.(ContainerAnalysisServer).GetScanConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/GetScanConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContainerAnalysisServer).GetScanConfig(ctx, req.(*GetScanConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ContainerAnalysis_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.(ContainerAnalysisServer).ListScanConfigs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/ListScanConfigs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContainerAnalysisServer).ListScanConfigs(ctx, req.(*ListScanConfigsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ContainerAnalysis_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.(ContainerAnalysisServer).UpdateScanConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.containeranalysis.v1alpha1.ContainerAnalysis/UpdateScanConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContainerAnalysisServer).UpdateScanConfig(ctx, req.(*UpdateScanConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ContainerAnalysis_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.devtools.containeranalysis.v1alpha1.ContainerAnalysis", - HandlerType: (*ContainerAnalysisServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetOccurrence", - Handler: _ContainerAnalysis_GetOccurrence_Handler, - }, - { - MethodName: "ListOccurrences", - Handler: _ContainerAnalysis_ListOccurrences_Handler, - }, - { - MethodName: "DeleteOccurrence", - Handler: _ContainerAnalysis_DeleteOccurrence_Handler, - }, - { - MethodName: "CreateOccurrence", - Handler: _ContainerAnalysis_CreateOccurrence_Handler, - }, - { - MethodName: "UpdateOccurrence", - Handler: _ContainerAnalysis_UpdateOccurrence_Handler, - }, - { - MethodName: "GetOccurrenceNote", - Handler: _ContainerAnalysis_GetOccurrenceNote_Handler, - }, - { - MethodName: "GetNote", - Handler: _ContainerAnalysis_GetNote_Handler, - }, - { - MethodName: "ListNotes", - Handler: _ContainerAnalysis_ListNotes_Handler, - }, - { - MethodName: "DeleteNote", - Handler: _ContainerAnalysis_DeleteNote_Handler, - }, - { - MethodName: "CreateNote", - Handler: _ContainerAnalysis_CreateNote_Handler, - }, - { - MethodName: "UpdateNote", - Handler: _ContainerAnalysis_UpdateNote_Handler, - }, - { - MethodName: "ListNoteOccurrences", - Handler: _ContainerAnalysis_ListNoteOccurrences_Handler, - }, - { - MethodName: "GetVulnzOccurrencesSummary", - Handler: _ContainerAnalysis_GetVulnzOccurrencesSummary_Handler, - }, - { - MethodName: "SetIamPolicy", - Handler: _ContainerAnalysis_SetIamPolicy_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _ContainerAnalysis_GetIamPolicy_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _ContainerAnalysis_TestIamPermissions_Handler, - }, - { - MethodName: "CreateOperation", - Handler: _ContainerAnalysis_CreateOperation_Handler, - }, - { - MethodName: "UpdateOperation", - Handler: _ContainerAnalysis_UpdateOperation_Handler, - }, - { - MethodName: "GetScanConfig", - Handler: _ContainerAnalysis_GetScanConfig_Handler, - }, - { - MethodName: "ListScanConfigs", - Handler: _ContainerAnalysis_ListScanConfigs_Handler, - }, - { - MethodName: "UpdateScanConfig", - Handler: _ContainerAnalysis_UpdateScanConfig_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/devtools/containeranalysis/v1alpha1/containeranalysis.proto", -} 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 deleted file mode 100644 index a305f534..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1/image_basis.pb.go +++ /dev/null @@ -1,449 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/containeranalysis/v1alpha1/image_basis.proto - -package containeranalysis - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Instructions from dockerfile -type DockerImage_Layer_Directive int32 - -const ( - // Default value for unsupported/missing directive - DockerImage_Layer_DIRECTIVE_UNSPECIFIED DockerImage_Layer_Directive = 0 - // https://docs.docker.com/reference/builder/#maintainer - DockerImage_Layer_MAINTAINER DockerImage_Layer_Directive = 1 - // https://docs.docker.com/reference/builder/#run - DockerImage_Layer_RUN DockerImage_Layer_Directive = 2 - // https://docs.docker.com/reference/builder/#cmd - DockerImage_Layer_CMD DockerImage_Layer_Directive = 3 - // https://docs.docker.com/reference/builder/#label - DockerImage_Layer_LABEL DockerImage_Layer_Directive = 4 - // https://docs.docker.com/reference/builder/#expose - DockerImage_Layer_EXPOSE DockerImage_Layer_Directive = 5 - // https://docs.docker.com/reference/builder/#env - DockerImage_Layer_ENV DockerImage_Layer_Directive = 6 - // https://docs.docker.com/reference/builder/#add - DockerImage_Layer_ADD DockerImage_Layer_Directive = 7 - // https://docs.docker.com/reference/builder/#copy - DockerImage_Layer_COPY DockerImage_Layer_Directive = 8 - // https://docs.docker.com/reference/builder/#entrypoint - DockerImage_Layer_ENTRYPOINT DockerImage_Layer_Directive = 9 - // https://docs.docker.com/reference/builder/#volume - DockerImage_Layer_VOLUME DockerImage_Layer_Directive = 10 - // https://docs.docker.com/reference/builder/#user - DockerImage_Layer_USER DockerImage_Layer_Directive = 11 - // https://docs.docker.com/reference/builder/#workdir - DockerImage_Layer_WORKDIR DockerImage_Layer_Directive = 12 - // https://docs.docker.com/reference/builder/#arg - DockerImage_Layer_ARG DockerImage_Layer_Directive = 13 - // https://docs.docker.com/reference/builder/#onbuild - DockerImage_Layer_ONBUILD DockerImage_Layer_Directive = 14 - // https://docs.docker.com/reference/builder/#stopsignal - DockerImage_Layer_STOPSIGNAL DockerImage_Layer_Directive = 15 - // https://docs.docker.com/reference/builder/#healthcheck - DockerImage_Layer_HEALTHCHECK DockerImage_Layer_Directive = 16 - // https://docs.docker.com/reference/builder/#shell - DockerImage_Layer_SHELL DockerImage_Layer_Directive = 17 -) - -var DockerImage_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 DockerImage_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 DockerImage_Layer_Directive) String() string { - return proto.EnumName(DockerImage_Layer_Directive_name, int32(x)) -} - -func (DockerImage_Layer_Directive) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8cf422f4020c41c0, []int{0, 0, 0} -} - -// DockerImage holds types defining base image notes -// and derived image occurrences. -type DockerImage struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8cf422f4020c41c0, []int{0} -} - -func (m *DockerImage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DockerImage.Unmarshal(m, b) -} -func (m *DockerImage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DockerImage.Marshal(b, m, deterministic) -} -func (m *DockerImage) XXX_Merge(src proto.Message) { - xxx_messageInfo_DockerImage.Merge(m, src) -} -func (m *DockerImage) XXX_Size() int { - return xxx_messageInfo_DockerImage.Size(m) -} -func (m *DockerImage) XXX_DiscardUnknown() { - xxx_messageInfo_DockerImage.DiscardUnknown(m) -} - -var xxx_messageInfo_DockerImage proto.InternalMessageInfo - -// Layer holds metadata specific to a layer of a Docker image. -type DockerImage_Layer struct { - // The recovered Dockerfile directive used to construct this layer. - Directive DockerImage_Layer_Directive `protobuf:"varint,1,opt,name=directive,proto3,enum=google.devtools.containeranalysis.v1alpha1.DockerImage_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 *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_8cf422f4020c41c0, []int{0, 0} -} - -func (m *DockerImage_Layer) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DockerImage_Layer.Unmarshal(m, b) -} -func (m *DockerImage_Layer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DockerImage_Layer.Marshal(b, m, deterministic) -} -func (m *DockerImage_Layer) XXX_Merge(src proto.Message) { - xxx_messageInfo_DockerImage_Layer.Merge(m, src) -} -func (m *DockerImage_Layer) XXX_Size() int { - return xxx_messageInfo_DockerImage_Layer.Size(m) -} -func (m *DockerImage_Layer) XXX_DiscardUnknown() { - xxx_messageInfo_DockerImage_Layer.DiscardUnknown(m) -} - -var xxx_messageInfo_DockerImage_Layer proto.InternalMessageInfo - -func (m *DockerImage_Layer) GetDirective() DockerImage_Layer_Directive { - if m != nil { - return m.Directive - } - return DockerImage_Layer_DIRECTIVE_UNSPECIFIED -} - -func (m *DockerImage_Layer) GetArguments() string { - if m != nil { - return m.Arguments - } - return "" -} - -// A set of properties that uniquely identify a given Docker image. -type DockerImage_Fingerprint struct { - // The layer-id of the final layer in the Docker image's v1 - // representation. - // This field can be used as a filter in list requests. - 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. - // This field can be used as a filter in list requests. - 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 *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_8cf422f4020c41c0, []int{0, 1} -} - -func (m *DockerImage_Fingerprint) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DockerImage_Fingerprint.Unmarshal(m, b) -} -func (m *DockerImage_Fingerprint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DockerImage_Fingerprint.Marshal(b, m, deterministic) -} -func (m *DockerImage_Fingerprint) XXX_Merge(src proto.Message) { - xxx_messageInfo_DockerImage_Fingerprint.Merge(m, src) -} -func (m *DockerImage_Fingerprint) XXX_Size() int { - return xxx_messageInfo_DockerImage_Fingerprint.Size(m) -} -func (m *DockerImage_Fingerprint) XXX_DiscardUnknown() { - xxx_messageInfo_DockerImage_Fingerprint.DiscardUnknown(m) -} - -var xxx_messageInfo_DockerImage_Fingerprint proto.InternalMessageInfo - -func (m *DockerImage_Fingerprint) GetV1Name() string { - if m != nil { - return m.V1Name - } - return "" -} - -func (m *DockerImage_Fingerprint) GetV2Blob() []string { - if m != nil { - return m.V2Blob - } - return nil -} - -func (m *DockerImage_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 DockerImage_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 *DockerImage_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 *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_8cf422f4020c41c0, []int{0, 2} -} - -func (m *DockerImage_Basis) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DockerImage_Basis.Unmarshal(m, b) -} -func (m *DockerImage_Basis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DockerImage_Basis.Marshal(b, m, deterministic) -} -func (m *DockerImage_Basis) XXX_Merge(src proto.Message) { - xxx_messageInfo_DockerImage_Basis.Merge(m, src) -} -func (m *DockerImage_Basis) XXX_Size() int { - return xxx_messageInfo_DockerImage_Basis.Size(m) -} -func (m *DockerImage_Basis) XXX_DiscardUnknown() { - xxx_messageInfo_DockerImage_Basis.DiscardUnknown(m) -} - -var xxx_messageInfo_DockerImage_Basis proto.InternalMessageInfo - -func (m *DockerImage_Basis) GetResourceUrl() string { - if m != nil { - return m.ResourceUrl - } - return "" -} - -func (m *DockerImage_Basis) GetFingerprint() *DockerImage_Fingerprint { - if m != nil { - return m.Fingerprint - } - return nil -} - -// Derived describes the derived image portion (Occurrence) of the -// DockerImage relationship. This image would be produced from a Dockerfile -// with FROM . -type DockerImage_Derived struct { - // The fingerprint of the derived image. - Fingerprint *DockerImage_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 uint32 `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 []*DockerImage_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 *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_8cf422f4020c41c0, []int{0, 3} -} - -func (m *DockerImage_Derived) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DockerImage_Derived.Unmarshal(m, b) -} -func (m *DockerImage_Derived) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DockerImage_Derived.Marshal(b, m, deterministic) -} -func (m *DockerImage_Derived) XXX_Merge(src proto.Message) { - xxx_messageInfo_DockerImage_Derived.Merge(m, src) -} -func (m *DockerImage_Derived) XXX_Size() int { - return xxx_messageInfo_DockerImage_Derived.Size(m) -} -func (m *DockerImage_Derived) XXX_DiscardUnknown() { - xxx_messageInfo_DockerImage_Derived.DiscardUnknown(m) -} - -var xxx_messageInfo_DockerImage_Derived proto.InternalMessageInfo - -func (m *DockerImage_Derived) GetFingerprint() *DockerImage_Fingerprint { - if m != nil { - return m.Fingerprint - } - return nil -} - -func (m *DockerImage_Derived) GetDistance() uint32 { - if m != nil { - return m.Distance - } - return 0 -} - -func (m *DockerImage_Derived) GetLayerInfo() []*DockerImage_Layer { - if m != nil { - return m.LayerInfo - } - return nil -} - -func (m *DockerImage_Derived) GetBaseResourceUrl() string { - if m != nil { - return m.BaseResourceUrl - } - return "" -} - -func init() { - proto.RegisterEnum("google.devtools.containeranalysis.v1alpha1.DockerImage_Layer_Directive", DockerImage_Layer_Directive_name, DockerImage_Layer_Directive_value) - proto.RegisterType((*DockerImage)(nil), "google.devtools.containeranalysis.v1alpha1.DockerImage") - proto.RegisterType((*DockerImage_Layer)(nil), "google.devtools.containeranalysis.v1alpha1.DockerImage.Layer") - proto.RegisterType((*DockerImage_Fingerprint)(nil), "google.devtools.containeranalysis.v1alpha1.DockerImage.Fingerprint") - proto.RegisterType((*DockerImage_Basis)(nil), "google.devtools.containeranalysis.v1alpha1.DockerImage.Basis") - proto.RegisterType((*DockerImage_Derived)(nil), "google.devtools.containeranalysis.v1alpha1.DockerImage.Derived") -} - -func init() { - proto.RegisterFile("google/devtools/containeranalysis/v1alpha1/image_basis.proto", fileDescriptor_8cf422f4020c41c0) -} - -var fileDescriptor_8cf422f4020c41c0 = []byte{ - // 627 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00,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xac, 0xf7, 0xbb, 0x5a, 0xa0, - 0xeb, 0xfe, 0xb7, 0xbe, 0x18, 0xf0, 0x72, 0x22, 0x67, 0xab, 0xec, 0x3f, 0x47, 0xf6, 0x8c, 0xf7, - 0x1f, 0x96, 0x9b, 0x42, 0x19, 0x33, 0x11, 0xda, 0x52, 0x85, 0xb5, 0x90, 0x8b, 0xec, 0x0f, 0x5e, - 0xbb, 0x95, 0xd8, 0x3c, 0x4a, 0x1e, 0xf3, 0xad, 0x79, 0xfd, 0x40, 0xfa, 0x96, 0xcb, 0xb7, 0x9d, - 0xe6, 0xb8, 0x98, 0xd1, 0x5e, 0xfd, 0x0c, 0x00, 0x00, 0xff, 0xff, 0xc3, 0xd1, 0xf4, 0x9a, 0xb8, - 0x04, 0x00, 0x00, -} 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 deleted file mode 100644 index bbcf48b9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1/package_vulnerability.pb.go +++ /dev/null @@ -1,625 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/containeranalysis/v1alpha1/package_vulnerability.proto - -package containeranalysis - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Note provider-assigned severity/impact ranking -type VulnerabilityType_Severity int32 - -const ( - // Unknown Impact - VulnerabilityType_SEVERITY_UNSPECIFIED VulnerabilityType_Severity = 0 - // Minimal Impact - VulnerabilityType_MINIMAL VulnerabilityType_Severity = 1 - // Low Impact - VulnerabilityType_LOW VulnerabilityType_Severity = 2 - // Medium Impact - VulnerabilityType_MEDIUM VulnerabilityType_Severity = 3 - // High Impact - VulnerabilityType_HIGH VulnerabilityType_Severity = 4 - // Critical Impact - VulnerabilityType_CRITICAL VulnerabilityType_Severity = 5 -) - -var VulnerabilityType_Severity_name = map[int32]string{ - 0: "SEVERITY_UNSPECIFIED", - 1: "MINIMAL", - 2: "LOW", - 3: "MEDIUM", - 4: "HIGH", - 5: "CRITICAL", -} - -var VulnerabilityType_Severity_value = map[string]int32{ - "SEVERITY_UNSPECIFIED": 0, - "MINIMAL": 1, - "LOW": 2, - "MEDIUM": 3, - "HIGH": 4, - "CRITICAL": 5, -} - -func (x VulnerabilityType_Severity) String() string { - return proto.EnumName(VulnerabilityType_Severity_name, int32(x)) -} - -func (VulnerabilityType_Severity) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_9c85f6a1c26e0b81, []int{0, 0} -} - -// Whether this is an ordinary package version or a -// sentinel MIN/MAX version. -type VulnerabilityType_Version_VersionKind int32 - -const ( - // A standard package version, defined by the other fields. - VulnerabilityType_Version_NORMAL VulnerabilityType_Version_VersionKind = 0 - // A special version representing negative infinity, - // other fields are ignored. - VulnerabilityType_Version_MINIMUM VulnerabilityType_Version_VersionKind = 1 - // A special version representing positive infinity, - // other fields are ignored. - VulnerabilityType_Version_MAXIMUM VulnerabilityType_Version_VersionKind = 2 -) - -var VulnerabilityType_Version_VersionKind_name = map[int32]string{ - 0: "NORMAL", - 1: "MINIMUM", - 2: "MAXIMUM", -} - -var VulnerabilityType_Version_VersionKind_value = map[string]int32{ - "NORMAL": 0, - "MINIMUM": 1, - "MAXIMUM": 2, -} - -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_9c85f6a1c26e0b81, []int{0, 0, 0} -} - -// VulnerabilityType provides metadata about a security vulnerability. -type VulnerabilityType struct { - // The CVSS score for this Vulnerability. - CvssScore float32 `protobuf:"fixed32,2,opt,name=cvss_score,json=cvssScore,proto3" json:"cvss_score,omitempty"` - // Note provider assigned impact of the vulnerability - Severity VulnerabilityType_Severity `protobuf:"varint,3,opt,name=severity,proto3,enum=google.devtools.containeranalysis.v1alpha1.VulnerabilityType_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 []*VulnerabilityType_Detail `protobuf:"bytes,4,rep,name=details,proto3" json:"details,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9c85f6a1c26e0b81, []int{0} -} - -func (m *VulnerabilityType) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VulnerabilityType.Unmarshal(m, b) -} -func (m *VulnerabilityType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VulnerabilityType.Marshal(b, m, deterministic) -} -func (m *VulnerabilityType) XXX_Merge(src proto.Message) { - xxx_messageInfo_VulnerabilityType.Merge(m, src) -} -func (m *VulnerabilityType) XXX_Size() int { - return xxx_messageInfo_VulnerabilityType.Size(m) -} -func (m *VulnerabilityType) XXX_DiscardUnknown() { - xxx_messageInfo_VulnerabilityType.DiscardUnknown(m) -} - -var xxx_messageInfo_VulnerabilityType proto.InternalMessageInfo - -func (m *VulnerabilityType) GetCvssScore() float32 { - if m != nil { - return m.CvssScore - } - return 0 -} - -func (m *VulnerabilityType) GetSeverity() VulnerabilityType_Severity { - if m != nil { - return m.Severity - } - return VulnerabilityType_SEVERITY_UNSPECIFIED -} - -func (m *VulnerabilityType) GetDetails() []*VulnerabilityType_Detail { - if m != nil { - return m.Details - } - return nil -} - -// Version contains structured information about the version of the package. -// For a discussion of this in Debian/Ubuntu: -// http://serverfault.com/questions/604541/debian-packages-version-convention -// For a discussion of this in Redhat/Fedora/Centos: -// http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ -type VulnerabilityType_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 VulnerabilityType_Version_VersionKind `protobuf:"varint,5,opt,name=kind,proto3,enum=google.devtools.containeranalysis.v1alpha1.VulnerabilityType_Version_VersionKind" json:"kind,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VulnerabilityType_Version) Reset() { *m = VulnerabilityType_Version{} } -func (m *VulnerabilityType_Version) String() string { return proto.CompactTextString(m) } -func (*VulnerabilityType_Version) ProtoMessage() {} -func (*VulnerabilityType_Version) Descriptor() ([]byte, []int) { - return fileDescriptor_9c85f6a1c26e0b81, []int{0, 0} -} - -func (m *VulnerabilityType_Version) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VulnerabilityType_Version.Unmarshal(m, b) -} -func (m *VulnerabilityType_Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VulnerabilityType_Version.Marshal(b, m, deterministic) -} -func (m *VulnerabilityType_Version) XXX_Merge(src proto.Message) { - xxx_messageInfo_VulnerabilityType_Version.Merge(m, src) -} -func (m *VulnerabilityType_Version) XXX_Size() int { - return xxx_messageInfo_VulnerabilityType_Version.Size(m) -} -func (m *VulnerabilityType_Version) XXX_DiscardUnknown() { - xxx_messageInfo_VulnerabilityType_Version.DiscardUnknown(m) -} - -var xxx_messageInfo_VulnerabilityType_Version proto.InternalMessageInfo - -func (m *VulnerabilityType_Version) GetEpoch() int32 { - if m != nil { - return m.Epoch - } - return 0 -} - -func (m *VulnerabilityType_Version) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *VulnerabilityType_Version) GetRevision() string { - if m != nil { - return m.Revision - } - return "" -} - -func (m *VulnerabilityType_Version) GetKind() VulnerabilityType_Version_VersionKind { - if m != nil { - return m.Kind - } - return VulnerabilityType_Version_NORMAL -} - -// 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 VulnerabilityType_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. - // This field can be used as a filter in list requests. - 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. - // This field can be used as a filter in list requests. - Package string `protobuf:"bytes,8,opt,name=package,proto3" json:"package,omitempty"` - // The min version of the package in which the vulnerability exists. - MinAffectedVersion *VulnerabilityType_Version `protobuf:"bytes,6,opt,name=min_affected_version,json=minAffectedVersion,proto3" json:"min_affected_version,omitempty"` - // The max version of the package in which the vulnerability exists. - // This field can be used as a filter in list requests. - MaxAffectedVersion *VulnerabilityType_Version `protobuf:"bytes,7,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,4,opt,name=severity_name,json=severityName,proto3" json:"severity_name,omitempty"` - // A vendor-specific description of this note. - Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"` - // The fix for this specific package version. - FixedLocation *VulnerabilityType_VulnerabilityLocation `protobuf:"bytes,5,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,10,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,11,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 *VulnerabilityType_Detail) Reset() { *m = VulnerabilityType_Detail{} } -func (m *VulnerabilityType_Detail) String() string { return proto.CompactTextString(m) } -func (*VulnerabilityType_Detail) ProtoMessage() {} -func (*VulnerabilityType_Detail) Descriptor() ([]byte, []int) { - return fileDescriptor_9c85f6a1c26e0b81, []int{0, 1} -} - -func (m *VulnerabilityType_Detail) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VulnerabilityType_Detail.Unmarshal(m, b) -} -func (m *VulnerabilityType_Detail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VulnerabilityType_Detail.Marshal(b, m, deterministic) -} -func (m *VulnerabilityType_Detail) XXX_Merge(src proto.Message) { - xxx_messageInfo_VulnerabilityType_Detail.Merge(m, src) -} -func (m *VulnerabilityType_Detail) XXX_Size() int { - return xxx_messageInfo_VulnerabilityType_Detail.Size(m) -} -func (m *VulnerabilityType_Detail) XXX_DiscardUnknown() { - xxx_messageInfo_VulnerabilityType_Detail.DiscardUnknown(m) -} - -var xxx_messageInfo_VulnerabilityType_Detail proto.InternalMessageInfo - -func (m *VulnerabilityType_Detail) GetCpeUri() string { - if m != nil { - return m.CpeUri - } - return "" -} - -func (m *VulnerabilityType_Detail) GetPackage() string { - if m != nil { - return m.Package - } - return "" -} - -func (m *VulnerabilityType_Detail) GetMinAffectedVersion() *VulnerabilityType_Version { - if m != nil { - return m.MinAffectedVersion - } - return nil -} - -func (m *VulnerabilityType_Detail) GetMaxAffectedVersion() *VulnerabilityType_Version { - if m != nil { - return m.MaxAffectedVersion - } - return nil -} - -func (m *VulnerabilityType_Detail) GetSeverityName() string { - if m != nil { - return m.SeverityName - } - return "" -} - -func (m *VulnerabilityType_Detail) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *VulnerabilityType_Detail) GetFixedLocation() *VulnerabilityType_VulnerabilityLocation { - if m != nil { - return m.FixedLocation - } - return nil -} - -func (m *VulnerabilityType_Detail) GetPackageType() string { - if m != nil { - return m.PackageType - } - return "" -} - -func (m *VulnerabilityType_Detail) GetIsObsolete() bool { - if m != nil { - return m.IsObsolete - } - return false -} - -// Used by Occurrence to point to where the vulnerability exists and how -// to fix it. -type VulnerabilityType_VulnerabilityDetails struct { - // The type of package; whether native or non native(ruby gems, - // node.js packages etc) - Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` - // Output only. The note provider assigned Severity of the vulnerability. - Severity VulnerabilityType_Severity `protobuf:"varint,4,opt,name=severity,proto3,enum=google.devtools.containeranalysis.v1alpha1.VulnerabilityType_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,5,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 []*VulnerabilityType_PackageIssue `protobuf:"bytes,6,rep,name=package_issue,json=packageIssue,proto3" json:"package_issue,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VulnerabilityType_VulnerabilityDetails) Reset() { - *m = VulnerabilityType_VulnerabilityDetails{} -} -func (m *VulnerabilityType_VulnerabilityDetails) String() string { return proto.CompactTextString(m) } -func (*VulnerabilityType_VulnerabilityDetails) ProtoMessage() {} -func (*VulnerabilityType_VulnerabilityDetails) Descriptor() ([]byte, []int) { - return fileDescriptor_9c85f6a1c26e0b81, []int{0, 2} -} - -func (m *VulnerabilityType_VulnerabilityDetails) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VulnerabilityType_VulnerabilityDetails.Unmarshal(m, b) -} -func (m *VulnerabilityType_VulnerabilityDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VulnerabilityType_VulnerabilityDetails.Marshal(b, m, deterministic) -} -func (m *VulnerabilityType_VulnerabilityDetails) XXX_Merge(src proto.Message) { - xxx_messageInfo_VulnerabilityType_VulnerabilityDetails.Merge(m, src) -} -func (m *VulnerabilityType_VulnerabilityDetails) XXX_Size() int { - return xxx_messageInfo_VulnerabilityType_VulnerabilityDetails.Size(m) -} -func (m *VulnerabilityType_VulnerabilityDetails) XXX_DiscardUnknown() { - xxx_messageInfo_VulnerabilityType_VulnerabilityDetails.DiscardUnknown(m) -} - -var xxx_messageInfo_VulnerabilityType_VulnerabilityDetails proto.InternalMessageInfo - -func (m *VulnerabilityType_VulnerabilityDetails) GetType() string { - if m != nil { - return m.Type - } - return "" -} - -func (m *VulnerabilityType_VulnerabilityDetails) GetSeverity() VulnerabilityType_Severity { - if m != nil { - return m.Severity - } - return VulnerabilityType_SEVERITY_UNSPECIFIED -} - -func (m *VulnerabilityType_VulnerabilityDetails) GetCvssScore() float32 { - if m != nil { - return m.CvssScore - } - return 0 -} - -func (m *VulnerabilityType_VulnerabilityDetails) GetPackageIssue() []*VulnerabilityType_PackageIssue { - if m != nil { - return m.PackageIssue - } - return nil -} - -// This message wraps a location affected by a vulnerability and its -// associated fix (if one is available). -type VulnerabilityType_PackageIssue struct { - // The location of the vulnerability. - AffectedLocation *VulnerabilityType_VulnerabilityLocation `protobuf:"bytes,1,opt,name=affected_location,json=affectedLocation,proto3" json:"affected_location,omitempty"` - // The location of the available fix for vulnerability. - FixedLocation *VulnerabilityType_VulnerabilityLocation `protobuf:"bytes,2,opt,name=fixed_location,json=fixedLocation,proto3" json:"fixed_location,omitempty"` - // The severity (eg: 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 *VulnerabilityType_PackageIssue) Reset() { *m = VulnerabilityType_PackageIssue{} } -func (m *VulnerabilityType_PackageIssue) String() string { return proto.CompactTextString(m) } -func (*VulnerabilityType_PackageIssue) ProtoMessage() {} -func (*VulnerabilityType_PackageIssue) Descriptor() ([]byte, []int) { - return fileDescriptor_9c85f6a1c26e0b81, []int{0, 3} -} - -func (m *VulnerabilityType_PackageIssue) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VulnerabilityType_PackageIssue.Unmarshal(m, b) -} -func (m *VulnerabilityType_PackageIssue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VulnerabilityType_PackageIssue.Marshal(b, m, deterministic) -} -func (m *VulnerabilityType_PackageIssue) XXX_Merge(src proto.Message) { - xxx_messageInfo_VulnerabilityType_PackageIssue.Merge(m, src) -} -func (m *VulnerabilityType_PackageIssue) XXX_Size() int { - return xxx_messageInfo_VulnerabilityType_PackageIssue.Size(m) -} -func (m *VulnerabilityType_PackageIssue) XXX_DiscardUnknown() { - xxx_messageInfo_VulnerabilityType_PackageIssue.DiscardUnknown(m) -} - -var xxx_messageInfo_VulnerabilityType_PackageIssue proto.InternalMessageInfo - -func (m *VulnerabilityType_PackageIssue) GetAffectedLocation() *VulnerabilityType_VulnerabilityLocation { - if m != nil { - return m.AffectedLocation - } - return nil -} - -func (m *VulnerabilityType_PackageIssue) GetFixedLocation() *VulnerabilityType_VulnerabilityLocation { - if m != nil { - return m.FixedLocation - } - return nil -} - -func (m *VulnerabilityType_PackageIssue) GetSeverityName() string { - if m != nil { - return m.SeverityName - } - return "" -} - -// The location of the vulnerability -type VulnerabilityType_VulnerabilityLocation struct { - // The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) - // format. Examples include distro or storage location for vulnerable jar. - // This field can be used as a filter in list requests. - 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. - // This field can be used as a filter in list requests. - Version *VulnerabilityType_Version `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VulnerabilityType_VulnerabilityLocation) Reset() { - *m = VulnerabilityType_VulnerabilityLocation{} -} -func (m *VulnerabilityType_VulnerabilityLocation) String() string { return proto.CompactTextString(m) } -func (*VulnerabilityType_VulnerabilityLocation) ProtoMessage() {} -func (*VulnerabilityType_VulnerabilityLocation) Descriptor() ([]byte, []int) { - return fileDescriptor_9c85f6a1c26e0b81, []int{0, 4} -} - -func (m *VulnerabilityType_VulnerabilityLocation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VulnerabilityType_VulnerabilityLocation.Unmarshal(m, b) -} -func (m *VulnerabilityType_VulnerabilityLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VulnerabilityType_VulnerabilityLocation.Marshal(b, m, deterministic) -} -func (m *VulnerabilityType_VulnerabilityLocation) XXX_Merge(src proto.Message) { - xxx_messageInfo_VulnerabilityType_VulnerabilityLocation.Merge(m, src) -} -func (m *VulnerabilityType_VulnerabilityLocation) XXX_Size() int { - return xxx_messageInfo_VulnerabilityType_VulnerabilityLocation.Size(m) -} -func (m *VulnerabilityType_VulnerabilityLocation) XXX_DiscardUnknown() { - xxx_messageInfo_VulnerabilityType_VulnerabilityLocation.DiscardUnknown(m) -} - -var xxx_messageInfo_VulnerabilityType_VulnerabilityLocation proto.InternalMessageInfo - -func (m *VulnerabilityType_VulnerabilityLocation) GetCpeUri() string { - if m != nil { - return m.CpeUri - } - return "" -} - -func (m *VulnerabilityType_VulnerabilityLocation) GetPackage() string { - if m != nil { - return m.Package - } - return "" -} - -func (m *VulnerabilityType_VulnerabilityLocation) GetVersion() *VulnerabilityType_Version { - if m != nil { - return m.Version - } - return nil -} - -func init() { - proto.RegisterEnum("google.devtools.containeranalysis.v1alpha1.VulnerabilityType_Severity", VulnerabilityType_Severity_name, VulnerabilityType_Severity_value) - proto.RegisterEnum("google.devtools.containeranalysis.v1alpha1.VulnerabilityType_Version_VersionKind", VulnerabilityType_Version_VersionKind_name, VulnerabilityType_Version_VersionKind_value) - proto.RegisterType((*VulnerabilityType)(nil), "google.devtools.containeranalysis.v1alpha1.VulnerabilityType") - proto.RegisterType((*VulnerabilityType_Version)(nil), "google.devtools.containeranalysis.v1alpha1.VulnerabilityType.Version") - proto.RegisterType((*VulnerabilityType_Detail)(nil), "google.devtools.containeranalysis.v1alpha1.VulnerabilityType.Detail") - proto.RegisterType((*VulnerabilityType_VulnerabilityDetails)(nil), "google.devtools.containeranalysis.v1alpha1.VulnerabilityType.VulnerabilityDetails") - proto.RegisterType((*VulnerabilityType_PackageIssue)(nil), "google.devtools.containeranalysis.v1alpha1.VulnerabilityType.PackageIssue") - proto.RegisterType((*VulnerabilityType_VulnerabilityLocation)(nil), "google.devtools.containeranalysis.v1alpha1.VulnerabilityType.VulnerabilityLocation") -} - -func init() { - proto.RegisterFile("google/devtools/containeranalysis/v1alpha1/package_vulnerability.proto", fileDescriptor_9c85f6a1c26e0b81) -} - -var fileDescriptor_9c85f6a1c26e0b81 = []byte{ - // 769 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x56, 0xcf, 0x6e, 0xfa, 0x46, - 0x10, 0x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13, - 0xd4, 0x16, 0x34, 0xf4, 0xf0, 0xdd, 0x1d, 0xf1, 0x13, 0x32, 0xf3, 0x96, 0x19, 0xbf, 0x55, 0x6a, - 0x28, 0x4d, 0xa3, 0xdd, 0x7f, 0x95, 0x49, 0x5d, 0xb4, 0xa0, 0x61, 0x27, 0x67, 0x90, 0x17, 0x93, - 0x12, 0xe3, 0xa7, 0x5d, 0x62, 0xfd, 0x75, 0x89, 0xf1, 0xd3, 0x73, 0xe2, 0x4f, 0xe1, 0x40, 0x2a, - 0xd1, 0x13, 0x22, 0xd0, 0xc4, 0x89, 0x54, 0x65, 0x72, 0x94, 0x8a, 0xa1, 0x01, 0xc6, 0x8c, 0x70, - 0x3f, 0xa6, 0x51, 0xba, 0x51, 0x56, 0x45, 0xbc, 0xb2, 0x99, 0x42, 0x3f, 0xc3, 0xe1, 0x1d, 0x7d, - 0x22, 0x33, 0x2f, 0x60, 0xbe, 0x58, 0x3b, 0x21, 0x0e, 0xa3, 0x3d, 0xde, 0xb3, 0xf3, 0xcd, 0xcc, - 0x20, 0x87, 0x76, 0x0f, 0x04, 0x95, 0x0c, 0xd1, 0x27, 0x50, 0x95, 0x16, 0x92, 0xac, 0x22, 0x62, - 0x41, 0xd6, 0x5e, 0x9e, 0x13, 0x6b, 0xfe, 0x31, 0x18, 0x94, 0x7b, 0x6c, 0xca, 0x59, 0x40, 0x12, - 0x62, 0x19, 0x0d, 0xa5, 0x59, 0x76, 0x81, 0xf2, 0xcb, 0x3c, 0x53, 0xff, 0x4d, 0x85, 0xda, 0x16, - 0x59, 0xa6, 0x21, 0x9e, 0xee, 0x86, 0x00, 0xcd, 0x76, 0x40, 0x3c, 0x6f, 0xb9, 0x82, 0xf6, 0x46, - 0xae, 0xb0, 0x6d, 0x4c, 0xc5, 0xe7, 0xc6, 0xc4, 0xe0, 0x40, 0xce, 0x4c, 0x39, 0x7f, 0x24, 0x56, - 0x49, 0x58, 0xc7, 0x57, 0xfb, 0xf5, 0x71, 0x95, 0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x76, 0xa6, 0x25, - 0x81, 0x76, 0xfa, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x66, 0xf8, 0xb7, 0x2f, 0xab, 0x08, 0x00, - 0x00, -} 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 deleted file mode 100644 index 0e1723e7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1/provenance.pb.go +++ /dev/null @@ -1,864 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/containeranalysis/v1alpha1/provenance.proto - -package containeranalysis - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Specifies the hash algorithm, if any. -type Hash_HashType int32 - -const ( - // No hash requested. - Hash_NONE Hash_HashType = 0 - // A sha256 hash. - Hash_SHA256 Hash_HashType = 1 -) - -var Hash_HashType_name = map[int32]string{ - 0: "NONE", - 1: "SHA256", -} - -var Hash_HashType_value = map[string]int32{ - "NONE": 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_fdbf35a243115a53, []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,5,rep,name=commands,proto3" json:"commands,omitempty"` - // Output of the build. - BuiltArtifacts []*Artifact `protobuf:"bytes,6,rep,name=built_artifacts,json=builtArtifacts,proto3" json:"built_artifacts,omitempty"` - // Time at which the build was created. - CreateTime *timestamp.Timestamp `protobuf:"bytes,7,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,8,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // Time at which execution of the build was finished. - FinishTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=finish_time,json=finishTime,proto3" json:"finish_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,11,opt,name=creator,proto3" json:"creator,omitempty"` - // Google Cloud Storage bucket where logs were written. - LogsBucket string `protobuf:"bytes,13,opt,name=logs_bucket,json=logsBucket,proto3" json:"logs_bucket,omitempty"` - // Details of the Source input to the build. - SourceProvenance *Source `protobuf:"bytes,14,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,15,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,16,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,17,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_fdbf35a243115a53, []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 (m *BuildProvenance) XXX_Merge(src proto.Message) { - xxx_messageInfo_BuildProvenance.Merge(m, 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) GetFinishTime() *timestamp.Timestamp { - if m != nil { - return m.FinishTime - } - return nil -} - -func (m *BuildProvenance) GetCreator() string { - if m != nil { - return m.Creator - } - return "" -} - -func (m *BuildProvenance) GetLogsBucket() string { - if m != nil { - return m.LogsBucket - } - 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 { - // Source location information. - // - // Types that are valid to be assigned to Source: - // *Source_StorageSource - // *Source_RepoSource - Source isSource_Source `protobuf_oneof:"source"` - // If provided, the input binary artifacts for the build came from this - // location. - ArtifactStorageSource *StorageSource `protobuf:"bytes,4,opt,name=artifact_storage_source,json=artifactStorageSource,proto3" json:"artifact_storage_source,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,3,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 *SourceContext `protobuf:"bytes,7,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 []*SourceContext `protobuf:"bytes,8,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_fdbf35a243115a53, []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 (m *Source) XXX_Merge(src proto.Message) { - xxx_messageInfo_Source.Merge(m, 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 - -type isSource_Source interface { - isSource_Source() -} - -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 (m *Source) GetSource() isSource_Source { - if m != nil { - return m.Source - } - return nil -} - -func (m *Source) GetStorageSource() *StorageSource { - if x, ok := m.GetSource().(*Source_StorageSource); ok { - return x.StorageSource - } - return nil -} - -func (m *Source) GetRepoSource() *RepoSource { - if x, ok := m.GetSource().(*Source_RepoSource); ok { - return x.RepoSource - } - return nil -} - -func (m *Source) GetArtifactStorageSource() *StorageSource { - if m != nil { - return m.ArtifactStorageSource - } - return nil -} - -func (m *Source) GetFileHashes() map[string]*FileHashes { - if m != nil { - return m.FileHashes - } - return nil -} - -func (m *Source) GetContext() *SourceContext { - if m != nil { - return m.Context - } - return nil -} - -func (m *Source) GetAdditionalContexts() []*SourceContext { - if m != nil { - return m.AdditionalContexts - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Source) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Source_StorageSource)(nil), - (*Source_RepoSource)(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_fdbf35a243115a53, []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 (m *FileHashes) XXX_Merge(src proto.Message) { - xxx_messageInfo_FileHashes.Merge(m, 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=google.devtools.containeranalysis.v1alpha1.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_fdbf35a243115a53, []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 (m *Hash) XXX_Merge(src proto.Message) { - xxx_messageInfo_Hash.Merge(m, 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_NONE -} - -func (m *Hash) GetValue() []byte { - if m != nil { - return m.Value - } - return nil -} - -// StorageSource describes the location of the source in an archive file in -// Google Cloud Storage. -type StorageSource struct { - // Google Cloud Storage bucket containing source (see [Bucket Name - // Requirements] - // (https://cloud.google.com/storage/docs/bucket-naming#requirements)). - Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` - // Google Cloud Storage object containing source. - Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` - // Google Cloud Storage generation for the object. - Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_fdbf35a243115a53, []int{4} -} - -func (m *StorageSource) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StorageSource.Unmarshal(m, b) -} -func (m *StorageSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StorageSource.Marshal(b, m, deterministic) -} -func (m *StorageSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_StorageSource.Merge(m, src) -} -func (m *StorageSource) XXX_Size() int { - return xxx_messageInfo_StorageSource.Size(m) -} -func (m *StorageSource) XXX_DiscardUnknown() { - xxx_messageInfo_StorageSource.DiscardUnknown(m) -} - -var xxx_messageInfo_StorageSource proto.InternalMessageInfo - -func (m *StorageSource) GetBucket() string { - if m != nil { - return m.Bucket - } - return "" -} - -func (m *StorageSource) GetObject() string { - if m != nil { - return m.Object - } - return "" -} - -func (m *StorageSource) GetGeneration() int64 { - if m != nil { - return m.Generation - } - return 0 -} - -// RepoSource describes the location of the source in a Google Cloud Source -// Repository. -type RepoSource struct { - // ID of the project that owns the repo. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Name of the repo. - RepoName string `protobuf:"bytes,2,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"` - // A revision within the source repository must be specified in - // one of these ways. - // - // Types that are valid to be assigned to Revision: - // *RepoSource_BranchName - // *RepoSource_TagName - // *RepoSource_CommitSha - Revision isRepoSource_Revision `protobuf_oneof:"revision"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_fdbf35a243115a53, []int{5} -} - -func (m *RepoSource) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RepoSource.Unmarshal(m, b) -} -func (m *RepoSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RepoSource.Marshal(b, m, deterministic) -} -func (m *RepoSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_RepoSource.Merge(m, src) -} -func (m *RepoSource) XXX_Size() int { - return xxx_messageInfo_RepoSource.Size(m) -} -func (m *RepoSource) XXX_DiscardUnknown() { - xxx_messageInfo_RepoSource.DiscardUnknown(m) -} - -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() -} - -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 (m *RepoSource) GetRevision() isRepoSource_Revision { - if m != nil { - return m.Revision - } - return nil -} - -func (m *RepoSource) GetBranchName() string { - if x, ok := m.GetRevision().(*RepoSource_BranchName); ok { - return x.BranchName - } - return "" -} - -func (m *RepoSource) GetTagName() string { - if x, ok := m.GetRevision().(*RepoSource_TagName); ok { - return x.TagName - } - return "" -} - -func (m *RepoSource) GetCommitSha() string { - if x, ok := m.GetRevision().(*RepoSource_CommitSha); ok { - return x.CommitSha - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*RepoSource) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*RepoSource_BranchName)(nil), - (*RepoSource_TagName)(nil), - (*RepoSource_CommitSha)(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_fdbf35a243115a53, []int{6} -} - -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 (m *Command) XXX_Merge(src proto.Message) { - xxx_messageInfo_Command.Merge(m, 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 { - // Name of the artifact. 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`. - // - // This field is deprecated in favor of the plural `names` field; it continues - // to exist here to allow existing BuildProvenance serialized to json in - // google.devtools.containeranalysis.v1alpha1.BuildDetails.provenance_bytes to - // deserialize back into proto. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Hash or checksum value of a binary, or Docker Registry 2.0 digest of a - // container. - Checksum string `protobuf:"bytes,2,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,3,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,4,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_fdbf35a243115a53, []int{7} -} - -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 (m *Artifact) XXX_Merge(src proto.Message) { - xxx_messageInfo_Artifact.Merge(m, 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) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -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.RegisterEnum("google.devtools.containeranalysis.v1alpha1.Hash_HashType", Hash_HashType_name, Hash_HashType_value) - proto.RegisterType((*BuildProvenance)(nil), "google.devtools.containeranalysis.v1alpha1.BuildProvenance") - proto.RegisterMapType((map[string]string)(nil), "google.devtools.containeranalysis.v1alpha1.BuildProvenance.BuildOptionsEntry") - proto.RegisterType((*Source)(nil), "google.devtools.containeranalysis.v1alpha1.Source") - proto.RegisterMapType((map[string]*FileHashes)(nil), "google.devtools.containeranalysis.v1alpha1.Source.FileHashesEntry") - proto.RegisterType((*FileHashes)(nil), "google.devtools.containeranalysis.v1alpha1.FileHashes") - proto.RegisterType((*Hash)(nil), "google.devtools.containeranalysis.v1alpha1.Hash") - proto.RegisterType((*StorageSource)(nil), "google.devtools.containeranalysis.v1alpha1.StorageSource") - proto.RegisterType((*RepoSource)(nil), "google.devtools.containeranalysis.v1alpha1.RepoSource") - proto.RegisterType((*Command)(nil), "google.devtools.containeranalysis.v1alpha1.Command") - proto.RegisterType((*Artifact)(nil), "google.devtools.containeranalysis.v1alpha1.Artifact") -} - -func init() { - proto.RegisterFile("google/devtools/containeranalysis/v1alpha1/provenance.proto", fileDescriptor_fdbf35a243115a53) -} - -var fileDescriptor_fdbf35a243115a53 = []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, - 0x2e, 0x6c, 0x9a, 0x42, 0x45, 0xc8, 0x45, 0x15, 0x47, 0x2d, 0xa9, 0x44, 0x92, 0x6a, 0x53, 0x21, - 0x41, 0x85, 0x96, 0xf1, 0xee, 0x78, 0x3d, 0xcd, 0x7a, 0x67, 0x99, 0x19, 0x1b, 0x7c, 0xc7, 0x03, - 0xc0, 0x4b, 0xf0, 0x0e, 0xdc, 0xf2, 0x2e, 0xbc, 0x09, 0x9a, 0x9f, 0xb5, 0x1d, 0xa7, 0x55, 0xbb, - 0xea, 0xcd, 0x6a, 0xce, 0x37, 0xe7, 0x7c, 0x67, 0xe6, 0xcc, 0x77, 0x66, 0x16, 0x8e, 0x12, 0xc6, - 0x92, 0x94, 0x0c, 0x62, 0x32, 0x97, 0x8c, 0xa5, 0x62, 0x10, 0xb1, 0x4c, 0x62, 0x9a, 0x11, 0x8e, - 0x33, 0x9c, 0x2e, 0x04, 0x15, 0x83, 0xf9, 0x7d, 0x9c, 0xe6, 0x13, 0x7c, 0x7f, 0x90, 0x73, 0x36, - 0x27, 0x19, 0xce, 0x22, 0xd2, 0xcf, 0x39, 0x93, 0x0c, 0x7d, 0x61, 0x82, 0xfb, 0x45, 0x70, 0xff, - 0x46, 0x70, 0xbf, 0x08, 0xee, 0x7c, 0x6c, 0x13, 0xe1, 0x9c, 0x0e, 0x70, 0x96, 0x31, 0x89, 0x25, - 0x65, 0x99, 0x30, 0x4c, 0x9d, 0x47, 0x25, 0x96, 0x21, 0xd8, 0x8c, 0x47, 0x24, 0x54, 0x1e, 0xe4, - 0x77, 0x69, 0x09, 0xf6, 0x2c, 0x81, 0xb6, 0x46, 0xb3, 0xf1, 0x40, 0xd2, 0x29, 0x11, 0x12, 0x4f, - 0x73, 0xe3, 0xd0, 0xfb, 0xb7, 0x01, 0xdb, 0xc3, 0x19, 0x4d, 0xe3, 0x67, 0xcb, 0x5d, 0xa0, 0x36, - 0x54, 0x68, 0xec, 0x3b, 0x5d, 0x67, 0xdf, 0x0b, 0x2a, 0x34, 0x46, 0xf7, 0x00, 0x72, 0xce, 0x5e, - 0x92, 0x48, 0x86, 0x34, 0xf6, 0x2b, 0x1a, 0xf7, 0x2c, 0xf2, 0x34, 0x46, 0x17, 0xe0, 0x46, 0x6c, - 0x3a, 0xc5, 0x59, 0x2c, 0xfc, 0x7a, 0xb7, 0xba, 0xdf, 0x3a, 0x78, 0xd0, 0x7f, 0xfb, 0x0a, 0xf4, - 0x4f, 0x4c, 0x6c, 0xb0, 0x24, 0x41, 0x3f, 0xc3, 0xf6, 0x68, 0x46, 0x53, 0x19, 0x62, 0x2e, 0xe9, - 0x18, 0x47, 0x52, 0xf8, 0x0d, 0xcd, 0xfb, 0x55, 0x19, 0xde, 0x63, 0x1b, 0x1c, 0xb4, 0x35, 0x59, - 0x61, 0x0a, 0x74, 0x04, 0xad, 0x88, 0x13, 0x2c, 0x49, 0xa8, 0x8a, 0xe1, 0x37, 0xbb, 0xce, 0x7e, - 0xeb, 0xa0, 0x53, 0x50, 0x17, 0x95, 0xea, 0x3f, 0x2f, 0x2a, 0x15, 0x80, 0x71, 0x57, 0x00, 0x3a, - 0x04, 0x10, 0x12, 0x73, 0x69, 0x62, 0xdd, 0x37, 0xc6, 0x7a, 0xda, 0x5b, 0x87, 0x1e, 0x41, 0x6b, - 0x4c, 0x33, 0x2a, 0x26, 0x26, 0xd6, 0x7b, 0x73, 0x5e, 0xe3, 0xae, 0x83, 0x7d, 0x68, 0xea, 0x55, - 0x30, 0xee, 0xb7, 0xf4, 0x01, 0x14, 0x26, 0xda, 0x83, 0x56, 0xca, 0x12, 0x11, 0x8e, 0x66, 0xd1, - 0x15, 0x91, 0xfe, 0x96, 0x9e, 0x05, 0x05, 0x0d, 0x35, 0x82, 0x42, 0xd8, 0xb5, 0xda, 0x58, 0x29, - 0xd5, 0x6f, 0xeb, 0xec, 0x07, 0x65, 0x0a, 0x7a, 0xa9, 0x49, 0x82, 0x1d, 0x43, 0xb6, 0xa6, 0x97, - 0x7b, 0x00, 0x92, 0xd3, 0x24, 0x21, 0x5c, 0xe9, 0x63, 0xdb, 0xe8, 0xc3, 0x22, 0x4f, 0x63, 0xc4, - 0x61, 0x4b, 0x9d, 0x40, 0x1c, 0xb2, 0x5c, 0x6b, 0xdb, 0xdf, 0xd1, 0x87, 0x79, 0x56, 0x26, 0xf7, - 0x86, 0x44, 0x8d, 0x7d, 0x61, 0xf8, 0x1e, 0x67, 0x92, 0x2f, 0x82, 0xdb, 0xa3, 0x35, 0x08, 0x7d, - 0x6e, 0x24, 0x14, 0x13, 0x1e, 0xce, 0x09, 0x17, 0x94, 0x65, 0xfe, 0xae, 0x5e, 0x57, 0xdb, 0xc2, - 0x3f, 0x18, 0xb4, 0xf3, 0x08, 0x76, 0x6f, 0x70, 0xa1, 0x1d, 0xa8, 0x5e, 0x91, 0x85, 0xed, 0x00, - 0x35, 0x44, 0x77, 0xa0, 0x3e, 0xc7, 0xe9, 0x8c, 0x58, 0xf5, 0x1b, 0xe3, 0xdb, 0xca, 0x37, 0x4e, - 0xef, 0xbf, 0x3a, 0x34, 0x4c, 0x65, 0xd0, 0x08, 0xda, 0x42, 0x32, 0x8e, 0x13, 0x12, 0x9a, 0x1a, - 0x69, 0x86, 0xd6, 0xc1, 0x61, 0xa9, 0x2a, 0x1b, 0x06, 0x43, 0x79, 0x7a, 0x2b, 0xd8, 0x12, 0xeb, - 0x00, 0xfa, 0x11, 0x5a, 0x9c, 0xe4, 0xac, 0x48, 0x50, 0xd1, 0x09, 0x1e, 0x96, 0x49, 0x10, 0x90, - 0x9c, 0x2d, 0xd9, 0x81, 0x2f, 0x2d, 0xf4, 0x2b, 0x7c, 0x58, 0x34, 0x5c, 0xb8, 0xb1, 0x8f, 0xda, - 0x3b, 0xee, 0x23, 0x78, 0xbf, 0x60, 0xbe, 0x06, 0xa3, 0x48, 0xb5, 0x44, 0x4a, 0xc2, 0x09, 0x16, - 0x13, 0x22, 0xfc, 0xaa, 0x16, 0xc6, 0xb0, 0xbc, 0x28, 0xfb, 0x4f, 0x68, 0x4a, 0x4e, 0x35, 0x89, - 0x51, 0x03, 0x8c, 0x97, 0x00, 0xba, 0x84, 0xa6, 0xbd, 0x14, 0x6d, 0xaf, 0x1f, 0x96, 0x4f, 0x70, - 0x62, 0x08, 0x82, 0x82, 0x09, 0xbd, 0x84, 0xf7, 0x70, 0x1c, 0x53, 0x25, 0x1a, 0x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x41, 0x42, 0x32, 0xfd, 0x90, 0x0f, 0xcc, 0x14, - 0xce, 0xa9, 0x78, 0x9b, 0x9f, 0xb7, 0xa3, 0x1b, 0x53, 0x7f, 0x57, 0xaa, 0xdf, 0x9d, 0x1c, 0x8f, - 0x1a, 0x9a, 0xed, 0xc1, 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, 0x91, 0xec, 0x1b, 0x85, 0x90, 0x0a, - 0x00, 0x00, -} 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 deleted file mode 100644 index be899f53..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1alpha1/source_context.pb.go +++ /dev/null @@ -1,666 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/containeranalysis/v1alpha1/source_context.proto - -package containeranalysis - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_49411dfe5c54cc3e, []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_49411dfe5c54cc3e, []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 (m *SourceContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_SourceContext.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*SourceContext) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*SourceContext_CloudRepo)(nil), - (*SourceContext_Gerrit)(nil), - (*SourceContext_Git)(nil), - } -} - -// An alias to a repo revision. -type AliasContext struct { - // The alias kind. - Kind AliasContext_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=google.devtools.containeranalysis.v1alpha1.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_49411dfe5c54cc3e, []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 (m *AliasContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_AliasContext.Merge(m, 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_49411dfe5c54cc3e, []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 (m *CloudRepoSourceContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_CloudRepoSourceContext.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*CloudRepoSourceContext) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CloudRepoSourceContext_RevisionId)(nil), - (*CloudRepoSourceContext_AliasContext)(nil), - } -} - -// 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_49411dfe5c54cc3e, []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 (m *GerritSourceContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_GerritSourceContext.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*GerritSourceContext) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*GerritSourceContext_RevisionId)(nil), - (*GerritSourceContext_AliasContext)(nil), - } -} - -// 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"` - // Required. - // 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_49411dfe5c54cc3e, []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 (m *GitSourceContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_GitSourceContext.Merge(m, 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_49411dfe5c54cc3e, []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 (m *RepoId) XXX_Merge(src proto.Message) { - xxx_messageInfo_RepoId.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*RepoId) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*RepoId_ProjectRepoId)(nil), - (*RepoId_Uid)(nil), - } -} - -// 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_49411dfe5c54cc3e, []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 (m *ProjectRepoId) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProjectRepoId.Merge(m, 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.RegisterEnum("google.devtools.containeranalysis.v1alpha1.AliasContext_Kind", AliasContext_Kind_name, AliasContext_Kind_value) - proto.RegisterType((*SourceContext)(nil), "google.devtools.containeranalysis.v1alpha1.SourceContext") - proto.RegisterMapType((map[string]string)(nil), "google.devtools.containeranalysis.v1alpha1.SourceContext.LabelsEntry") - proto.RegisterType((*AliasContext)(nil), "google.devtools.containeranalysis.v1alpha1.AliasContext") - proto.RegisterType((*CloudRepoSourceContext)(nil), "google.devtools.containeranalysis.v1alpha1.CloudRepoSourceContext") - proto.RegisterType((*GerritSourceContext)(nil), "google.devtools.containeranalysis.v1alpha1.GerritSourceContext") - proto.RegisterType((*GitSourceContext)(nil), "google.devtools.containeranalysis.v1alpha1.GitSourceContext") - proto.RegisterType((*RepoId)(nil), "google.devtools.containeranalysis.v1alpha1.RepoId") - proto.RegisterType((*ProjectRepoId)(nil), "google.devtools.containeranalysis.v1alpha1.ProjectRepoId") -} - -func init() { - proto.RegisterFile("google/devtools/containeranalysis/v1alpha1/source_context.proto", fileDescriptor_49411dfe5c54cc3e) -} - -var fileDescriptor_49411dfe5c54cc3e = []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, - 0x4b, 0x48, 0xa8, 0x0f, 0xb6, 0x48, 0x5f, 0xa0, 0x1f, 0x42, 0x24, 0x18, 0x62, 0x85, 0x42, 0x6a, - 0x4a, 0xd5, 0x0f, 0x55, 0xd6, 0x60, 0x8f, 0xcc, 0x14, 0xe3, 0xb1, 0xc6, 0x76, 0x54, 0x56, 0xd0, - 0x97, 0xae, 0xa2, 0x8b, 0xe8, 0x12, 0xba, 0x95, 0xae, 0xa0, 0xef, 0xd5, 0x8c, 0x6d, 0xc9, 0x01, - 0x2a, 0x91, 0x4a, 0x7d, 0xca, 0xcc, 0x99, 0x99, 0xdf, 0xf9, 0x9f, 0x33, 0xff, 0x89, 0x61, 0x27, - 0x60, 0x2c, 0x08, 0x89, 0xe9, 0x93, 0x69, 0xca, 0x58, 0x98, 0x98, 0x1e, 0x8b, 0x52, 0x4c, 0x23, - 0xc2, 0x71, 0x84, 0xc3, 0xab, 0x84, 0x26, 0xe6, 0x74, 0x13, 0x87, 0xf1, 0x39, 0xde, 0x34, 0x13, - 0x96, 0x71, 0x8f, 0xb8, 0x62, 0x07, 0xf9, 0x98, 0x1a, 0x31, 0x67, 0x29, 0x43, 0x0f, 0x73, 0x80, - 0x51, 0x02, 0x8c, 0x1b, 0x00, 0xa3, 0x04, 0xac, 0xfe, 0x5f, 0x24, 0xc3, 0x31, 0x35, 0x71, 0x14, - 0xb1, 0x14, 0xa7, 0x94, 0x45, 0x49, 0x4e, 0xd2, 0xbf, 0xa9, 0xd0, 0x39, 0x91, 0x29, 0x86, 0x79, - 0x06, 0xe4, 0x01, 0x78, 0x21, 0xcb, 0x7c, 0x97, 0x93, 0x98, 0xf5, 0x94, 0x35, 0x65, 0xa3, 0xdd, - 0x1f, 0x18, 0x77, 0x4f, 0x68, 0x0c, 0xc5, 0x69, 0x87, 0xc4, 0x6c, 0x86, 0x3b, 0xaa, 0x39, 0x9a, - 0x57, 0xae, 0xa0, 0x37, 0xd0, 0x0c, 0x08, 0xe7, 0x34, 0xed, 0xd5, 0x65, 0x82, 0x9d, 0x79, 0x12, - 0x1c, 0xc8, 0x93, 0xd7, 0xe9, 0x05, 0x10, 0x4d, 0x40, 0x0d, 0x68, 0xda, 0x53, 0x25, 0xf7, 0xe9, - 0x5c, 0xdc, 0x9b, 0x50, 0x81, 0x42, 0xef, 0xa1, 0x19, 0xe2, 0x33, 0x12, 0x26, 0xbd, 0xc6, 0x9a, - 0xba, 0xd1, 0xee, 0x5b, 0xf3, 0x40, 0x67, 0x88, 0xc6, 0xa1, 0xe4, 0x58, 0x51, 0xca, 0xaf, 0x9c, - 0x02, 0xba, 0xba, 0x0d, 0xed, 0x4a, 0x18, 0x75, 0x41, 0xbd, 0x20, 0x57, 0xb2, 0xf1, 0x9a, 0x23, - 0x86, 0x68, 0x05, 0x16, 0xa6, 0x38, 0xcc, 0x88, 0xec, 0x95, 0xe6, 0xe4, 0x93, 0xc7, 0xf5, 0x2d, - 0x65, 0xa0, 0x41, 0xab, 0x30, 0x86, 0xfe, 0x55, 0x81, 0xa5, 0xdd, 0x90, 0xe2, 0xa4, 0xbc, 0xc7, - 0x17, 0xd0, 0xb8, 0xa0, 0x91, 0x2f, 0x41, 0xcb, 0xfd, 0x67, 0xf3, 0x68, 0xae, 0x72, 0x8c, 0x31, - 0x8d, 0x7c, 0x47, 0xa2, 0x10, 0x82, 0x46, 0x84, 0x2f, 0x4b, 0x1d, 0x72, 0xac, 0xef, 0x40, 0x43, - 0xec, 0x40, 0x2b, 0xd0, 0x1d, 0xdb, 0x47, 0x7b, 0xee, 0xe9, 0xd1, 0xc9, 0xc4, 0x1a, 0xda, 0xfb, - 0xb6, 0xb5, 0xd7, 0xad, 0x21, 0x0d, 0x16, 0xf6, 0xed, 0xd7, 0xd6, 0x5e, 0x57, 0x41, 0x6d, 0x68, - 0x3d, 0x3f, 0x7e, 0xb5, 0x3b, 0x38, 0xb4, 0xba, 0x75, 0x11, 0x3f, 0x7e, 0x39, 0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03, 0xea, 0xd4, 0xd7, 0xc7, 0xd0, 0x99, 0x39, 0x8b, 0xee, 0x01, 0x94, 0x7a, 0x0a, 0x29, 0x9a, - 0xa3, 0x15, 0x11, 0xdb, 0x47, 0xff, 0x81, 0x26, 0x65, 0x56, 0x1e, 0xcf, 0xa2, 0x08, 0x1c, 0xe1, - 0x4b, 0x32, 0xf8, 0xac, 0xc0, 0xba, 0xc7, 0x2e, 0x4b, 0xe1, 0xbf, 0xd6, 0x3b, 0x51, 0xde, 0xbe, - 0x2b, 0x36, 0x05, 0x2c, 0xc4, 0x51, 0x60, 0x30, 0x1e, 0x98, 0x01, 0x89, 0xe4, 0x3f, 0xb9, 0x99, - 0x2f, 0xe1, 0x98, 0x26, 0x77, 0xf9, 0xae, 0x3c, 0xb9, 0xb1, 0xf4, 0xa5, 0xae, 0x1e, 0x0c, 0x77, - 0xcf, 0x9a, 0x92, 0xf6, 0xe8, 0x67, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xcf, 0x59, 0x43, 0xa4, - 0x06, 0x00, 0x00, -} 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 deleted file mode 100644 index 78ae7b7e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/attestation/attestation.pb.go +++ /dev/null @@ -1,418 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/containeranalysis/v1beta1/attestation/attestation.proto - -package attestation - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // 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_a004b79c48a9c453, []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_a004b79c48a9c453, []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 (m *PgpSignedAttestation) XXX_Merge(src proto.Message) { - xxx_messageInfo_PgpSignedAttestation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*PgpSignedAttestation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*PgpSignedAttestation_PgpKeyId)(nil), - } -} - -// 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_a004b79c48a9c453, []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 (m *Authority) XXX_Merge(src proto.Message) { - xxx_messageInfo_Authority.Merge(m, 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_a004b79c48a9c453, []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 (m *Authority_Hint) XXX_Merge(src proto.Message) { - xxx_messageInfo_Authority_Hint.Merge(m, 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_a004b79c48a9c453, []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 (m *Details) XXX_Merge(src proto.Message) { - xxx_messageInfo_Details.Merge(m, 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_a004b79c48a9c453, []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 (m *Attestation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Attestation.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*Attestation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Attestation_PgpSignedAttestation)(nil), - } -} - -func init() { - proto.RegisterEnum("grafeas.v1beta1.attestation.PgpSignedAttestation_ContentType", PgpSignedAttestation_ContentType_name, PgpSignedAttestation_ContentType_value) - 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") -} - -func init() { - proto.RegisterFile("google/devtools/containeranalysis/v1beta1/attestation/attestation.proto", fileDescriptor_a004b79c48a9c453) -} - -var fileDescriptor_a004b79c48a9c453 = []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, 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xe8, 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 deleted file mode 100644 index 078e0ce9..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/build/build.pb.go +++ /dev/null @@ -1,295 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/containeranalysis/v1beta1/build/build.proto - -package build - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // 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_040ca5655a0ae0a6, []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_040ca5655a0ae0a6, []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 (m *Build) XXX_Merge(src proto.Message) { - xxx_messageInfo_Build.Merge(m, 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_040ca5655a0ae0a6, []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 (m *BuildSignature) XXX_Merge(src proto.Message) { - xxx_messageInfo_BuildSignature.Merge(m, 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_040ca5655a0ae0a6, []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 (m *Details) XXX_Merge(src proto.Message) { - xxx_messageInfo_Details.Merge(m, 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.RegisterEnum("grafeas.v1beta1.build.BuildSignature_KeyType", BuildSignature_KeyType_name, BuildSignature_KeyType_value) - proto.RegisterType((*Build)(nil), "grafeas.v1beta1.build.Build") - proto.RegisterType((*BuildSignature)(nil), "grafeas.v1beta1.build.BuildSignature") - proto.RegisterType((*Details)(nil), "grafeas.v1beta1.build.Details") -} - -func init() { - proto.RegisterFile("google/devtools/containeranalysis/v1beta1/build/build.proto", fileDescriptor_040ca5655a0ae0a6) -} - -var fileDescriptor_040ca5655a0ae0a6 = []byte{ - // 434 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0x4d, 0x6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xe5, 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 deleted file mode 100644 index 06806258..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/common/common.pb.go +++ /dev/null @@ -1,158 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/containeranalysis/v1beta1/common/common.proto - -package common - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // 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_baf5189c00300310, []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_baf5189c00300310, []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 (m *RelatedUrl) XXX_Merge(src proto.Message) { - xxx_messageInfo_RelatedUrl.Merge(m, 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.RegisterEnum("grafeas.v1beta1.NoteKind", NoteKind_name, NoteKind_value) - proto.RegisterType((*RelatedUrl)(nil), "grafeas.v1beta1.RelatedUrl") -} - -func init() { - proto.RegisterFile("google/devtools/containeranalysis/v1beta1/common/common.proto", fileDescriptor_baf5189c00300310) -} - -var fileDescriptor_baf5189c00300310 = []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, 0x17, 0x46, 0xe8, 0xf7, - 0x22, 0x2b, 0xbc, 0xc3, 0x70, 0x2d, 0x4b, 0x31, 0xf4, 0x36, 0x76, 0xb7, 0xb3, 0xe6,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6, 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 deleted file mode 100644 index 0a0b3af7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/containeranalysis.pb.go +++ /dev/null @@ -1,700 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/containeranalysis/v1beta1/containeranalysis.proto - -package containeranalysis - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - v1 "google.golang.org/genproto/googleapis/iam/v1" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // 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_20a7ff65c4c4547f, []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 (m *ScanConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ScanConfig.Merge(m, 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_20a7ff65c4c4547f, []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 (m *GetScanConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetScanConfigRequest.Merge(m, 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_20a7ff65c4c4547f, []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 (m *ListScanConfigsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListScanConfigsRequest.Merge(m, 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_20a7ff65c4c4547f, []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 (m *ListScanConfigsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListScanConfigsResponse.Merge(m, 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_20a7ff65c4c4547f, []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 (m *UpdateScanConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateScanConfigRequest.Merge(m, 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") -} - -func init() { - proto.RegisterFile("google/devtools/containeranalysis/v1beta1/containeranalysis.proto", fileDescriptor_20a7ff65c4c4547f) -} - -var fileDescriptor_20a7ff65c4c4547f = []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, 0x52, 0xce, 0x85, 0xa2, 0x8a, 0x09, - 0x6e, 0x0a, 0x59, 0x7f, 0x1a, 0x94, 0xd1, 0xc0, 0xed, 0x94, 0xe3, 0x3f, 0xf5, 0x50, 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xf1, 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, -} - -// 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) -} - -// UnimplementedContainerAnalysisV1Beta1Server can be embedded to have forward compatible implementations. -type UnimplementedContainerAnalysisV1Beta1Server struct { -} - -func (*UnimplementedContainerAnalysisV1Beta1Server) SetIamPolicy(ctx context.Context, req *v1.SetIamPolicyRequest) (*v1.Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedContainerAnalysisV1Beta1Server) GetIamPolicy(ctx context.Context, req *v1.GetIamPolicyRequest) (*v1.Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedContainerAnalysisV1Beta1Server) TestIamPermissions(ctx context.Context, req *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} -func (*UnimplementedContainerAnalysisV1Beta1Server) GetScanConfig(ctx context.Context, req *GetScanConfigRequest) (*ScanConfig, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetScanConfig not implemented") -} -func (*UnimplementedContainerAnalysisV1Beta1Server) ListScanConfigs(ctx context.Context, req *ListScanConfigsRequest) (*ListScanConfigsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListScanConfigs not implemented") -} -func (*UnimplementedContainerAnalysisV1Beta1Server) UpdateScanConfig(ctx context.Context, req *UpdateScanConfigRequest) (*ScanConfig, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateScanConfig not implemented") -} - -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", -} 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 deleted file mode 100644 index a480c131..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/deployment/deployment.pb.go +++ /dev/null @@ -1,280 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/containeranalysis/v1beta1/deployment/deployment.proto - -package deployment - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // 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_27c2fb509818da47, []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_27c2fb509818da47, []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 (m *Deployable) XXX_Merge(src proto.Message) { - xxx_messageInfo_Deployable.Merge(m, 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_27c2fb509818da47, []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 (m *Details) XXX_Merge(src proto.Message) { - xxx_messageInfo_Details.Merge(m, 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_27c2fb509818da47, []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 (m *Deployment) XXX_Merge(src proto.Message) { - xxx_messageInfo_Deployment.Merge(m, 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.RegisterEnum("grafeas.v1beta1.deployment.Deployment_Platform", Deployment_Platform_name, Deployment_Platform_value) - proto.RegisterType((*Deployable)(nil), "grafeas.v1beta1.deployment.Deployable") - proto.RegisterType((*Details)(nil), "grafeas.v1beta1.deployment.Details") - proto.RegisterType((*Deployment)(nil), "grafeas.v1beta1.deployment.Deployment") -} - -func init() { - proto.RegisterFile("google/devtools/containeranalysis/v1beta1/deployment/deployment.proto", fileDescriptor_27c2fb509818da47) -} - -var fileDescriptor_27c2fb509818da47 = []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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 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 deleted file mode 100644 index 417c9f95..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/discovery/discovery.pb.go +++ /dev/null @@ -1,307 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/containeranalysis/v1beta1/discovery/discovery.proto - -package discovery - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - common "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/common" - 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.ProtoPackageIsVersion3 // 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_6ec5519deb85e465, []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_6ec5519deb85e465, []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_6ec5519deb85e465, []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 (m *Discovery) XXX_Merge(src proto.Message) { - xxx_messageInfo_Discovery.Merge(m, 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_6ec5519deb85e465, []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 (m *Details) XXX_Merge(src proto.Message) { - xxx_messageInfo_Details.Merge(m, 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_6ec5519deb85e465, []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 (m *Discovered) XXX_Merge(src proto.Message) { - xxx_messageInfo_Discovered.Merge(m, 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.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) - proto.RegisterType((*Discovery)(nil), "grafeas.v1beta1.discovery.Discovery") - proto.RegisterType((*Details)(nil), "grafeas.v1beta1.discovery.Details") - proto.RegisterType((*Discovered)(nil), "grafeas.v1beta1.discovery.Discovered") -} - -func init() { - proto.RegisterFile("google/devtools/containeranalysis/v1beta1/discovery/discovery.proto", fileDescriptor_6ec5519deb85e465) -} - -var fileDescriptor_6ec5519deb85e465 = []byte{ - // 541 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xdf, 0x6a, 0xdb, 0x4c, - 0x10,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, 0x86, 0x3d, - 0xb6, 0x2d, 0x53, 0xfd, 0x0f, 0x01, 0xec, 0xe9, 0x86, 0x67, 0x7f, 0xb2, 0x54, 0x05, 0x1d, 0xc2, - 0x03, 0x9b, 0xd4, 0x55, 0x67, 0xf4, 0x53, 0x81, 0xee, 0xba, 0x7f, 0x34, 0x84, 0xa7, 0x2d, 0x86, - 0x7a, 0xba, 0xe7, 0x6f, 0xd2, 0x0e, 0x60, 0xdf, 0xb1, 0x88, 0x69, 0x93, 0xf3, 0x0a, 0x47, 0x0d, - 0x9d, 0x90, 0xa2, 0xea, 0xa0, 0x63, 0x50, 0xc7, 0x36, 0xb1, 0xe9, 0x85, 0x65, 0x06, 0xd4, 0x37, - 0x0c, 0x8b, 0x52, 0x75, 0x07, 0xf5, 0xe0, 0xa8, 0xed, 0x8e, 0x75, 0xfb, 0xca, 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 deleted file mode 100644 index ac72f2bb..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/grafeas/grafeas.pb.go +++ /dev/null @@ -1,2504 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/containeranalysis/v1beta1/grafeas/grafeas.proto - -package grafeas - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - attestation "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/attestation" - build "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/build" - common "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/common" - deployment "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/deployment" - discovery "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/discovery" - image "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/image" - _package "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/package" - provenance "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/provenance" - vulnerability "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/vulnerability" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // 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_5865e5de1898162a, []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 (m *Occurrence) XXX_Merge(src proto.Message) { - xxx_messageInfo_Occurrence.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*Occurrence) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Occurrence_Vulnerability)(nil), - (*Occurrence_Build)(nil), - (*Occurrence_DerivedImage)(nil), - (*Occurrence_Installation)(nil), - (*Occurrence_Deployment)(nil), - (*Occurrence_Discovered)(nil), - (*Occurrence_Attestation)(nil), - } -} - -// 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_5865e5de1898162a, []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 (m *Resource) XXX_Merge(src proto.Message) { - xxx_messageInfo_Resource.Merge(m, 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_5865e5de1898162a, []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 (m *Note) XXX_Merge(src proto.Message) { - xxx_messageInfo_Note.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*Note) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Note_Vulnerability)(nil), - (*Note_Build)(nil), - (*Note_BaseImage)(nil), - (*Note_Package)(nil), - (*Note_Deployable)(nil), - (*Note_Discovery)(nil), - (*Note_AttestationAuthority)(nil), - } -} - -// 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_5865e5de1898162a, []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 (m *GetOccurrenceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetOccurrenceRequest.Merge(m, 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_5865e5de1898162a, []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 (m *ListOccurrencesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListOccurrencesRequest.Merge(m, 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_5865e5de1898162a, []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 (m *ListOccurrencesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListOccurrencesResponse.Merge(m, 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_5865e5de1898162a, []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 (m *DeleteOccurrenceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteOccurrenceRequest.Merge(m, 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_5865e5de1898162a, []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 (m *CreateOccurrenceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateOccurrenceRequest.Merge(m, 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_5865e5de1898162a, []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 (m *UpdateOccurrenceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateOccurrenceRequest.Merge(m, 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_5865e5de1898162a, []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 (m *GetNoteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNoteRequest.Merge(m, 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_5865e5de1898162a, []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 (m *GetOccurrenceNoteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetOccurrenceNoteRequest.Merge(m, 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_5865e5de1898162a, []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 (m *ListNotesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNotesRequest.Merge(m, 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_5865e5de1898162a, []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 (m *ListNotesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNotesResponse.Merge(m, 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_5865e5de1898162a, []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 (m *DeleteNoteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteNoteRequest.Merge(m, 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_5865e5de1898162a, []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 (m *CreateNoteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateNoteRequest.Merge(m, 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_5865e5de1898162a, []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 (m *UpdateNoteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateNoteRequest.Merge(m, 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_5865e5de1898162a, []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 (m *ListNoteOccurrencesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNoteOccurrencesRequest.Merge(m, 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_5865e5de1898162a, []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 (m *ListNoteOccurrencesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNoteOccurrencesResponse.Merge(m, 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_5865e5de1898162a, []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 (m *BatchCreateNotesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchCreateNotesRequest.Merge(m, 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_5865e5de1898162a, []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 (m *BatchCreateNotesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchCreateNotesResponse.Merge(m, 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_5865e5de1898162a, []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 (m *BatchCreateOccurrencesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchCreateOccurrencesRequest.Merge(m, 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_5865e5de1898162a, []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 (m *BatchCreateOccurrencesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchCreateOccurrencesResponse.Merge(m, 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_5865e5de1898162a, []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 (m *GetVulnerabilityOccurrencesSummaryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetVulnerabilityOccurrencesSummaryRequest.Merge(m, 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_5865e5de1898162a, []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 (m *VulnerabilityOccurrencesSummary) XXX_Merge(src proto.Message) { - xxx_messageInfo_VulnerabilityOccurrencesSummary.Merge(m, 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_5865e5de1898162a, []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 (m *VulnerabilityOccurrencesSummary_FixableTotalByDigest) XXX_Merge(src proto.Message) { - xxx_messageInfo_VulnerabilityOccurrencesSummary_FixableTotalByDigest.Merge(m, 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") -} - -func init() { - proto.RegisterFile("google/devtools/containeranalysis/v1beta1/grafeas/grafeas.proto", fileDescriptor_5865e5de1898162a) -} - -var fileDescriptor_5865e5de1898162a = []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, 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 0x52, 0xf0, 0x9e, 0x79, 0x94, 0x7c, 0x64, 0xbb, 0x96, 0xc9, 0xcd, 0x50, 0x15, 0x4a, 0x01, 0xe9, - 0x11, 0xcb, 0xe6, 0xa4, 0xd1, 0x97, 0x38, 0x9a, 0x3a, 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, 0xa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0x96, 0xb2, 0xbe, 0x2c, 0xcd, - 0xdb, 0xb0, 0xc4, 0xf4, 0x38, 0x2a, 0xca, 0x37, 0x52, 0x2f, 0x31, 0x53, 0xd8, 0xe4, 0x2e, 0xc4, - 0x77, 0x61, 0x4b, 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, 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 0x80, 0x6c, 0x6f, 0x72, 0xf1, 0xe7, 0xda, 0x0f, 0x7f, 0x20, 0xc9, 0xd7, 0xf5, - 0x1c, 0xec, 0x76, 0xeb, 0x5e, 0xd0, 0x6d, 0x74, 0x89, 0xcb, 0xa9, 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, -} - -// 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) -} - -// UnimplementedGrafeasV1Beta1Server can be embedded to have forward compatible implementations. -type UnimplementedGrafeasV1Beta1Server struct { -} - -func (*UnimplementedGrafeasV1Beta1Server) GetOccurrence(ctx context.Context, req *GetOccurrenceRequest) (*Occurrence, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetOccurrence not implemented") -} -func (*UnimplementedGrafeasV1Beta1Server) ListOccurrences(ctx context.Context, req *ListOccurrencesRequest) (*ListOccurrencesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListOccurrences not implemented") -} -func (*UnimplementedGrafeasV1Beta1Server) DeleteOccurrence(ctx context.Context, req *DeleteOccurrenceRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteOccurrence not implemented") -} -func (*UnimplementedGrafeasV1Beta1Server) CreateOccurrence(ctx context.Context, req *CreateOccurrenceRequest) (*Occurrence, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateOccurrence not implemented") -} -func (*UnimplementedGrafeasV1Beta1Server) BatchCreateOccurrences(ctx context.Context, req *BatchCreateOccurrencesRequest) (*BatchCreateOccurrencesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method BatchCreateOccurrences not implemented") -} -func (*UnimplementedGrafeasV1Beta1Server) UpdateOccurrence(ctx context.Context, req *UpdateOccurrenceRequest) (*Occurrence, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateOccurrence not implemented") -} -func (*UnimplementedGrafeasV1Beta1Server) GetOccurrenceNote(ctx context.Context, req *GetOccurrenceNoteRequest) (*Note, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetOccurrenceNote not implemented") -} -func (*UnimplementedGrafeasV1Beta1Server) GetNote(ctx context.Context, req *GetNoteRequest) (*Note, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNote not implemented") -} -func (*UnimplementedGrafeasV1Beta1Server) ListNotes(ctx context.Context, req *ListNotesRequest) (*ListNotesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListNotes not implemented") -} -func (*UnimplementedGrafeasV1Beta1Server) DeleteNote(ctx context.Context, req *DeleteNoteRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteNote not implemented") -} -func (*UnimplementedGrafeasV1Beta1Server) CreateNote(ctx context.Context, req *CreateNoteRequest) (*Note, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateNote not implemented") -} -func (*UnimplementedGrafeasV1Beta1Server) BatchCreateNotes(ctx context.Context, req *BatchCreateNotesRequest) (*BatchCreateNotesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method BatchCreateNotes not implemented") -} -func (*UnimplementedGrafeasV1Beta1Server) UpdateNote(ctx context.Context, req *UpdateNoteRequest) (*Note, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateNote not implemented") -} -func (*UnimplementedGrafeasV1Beta1Server) ListNoteOccurrences(ctx context.Context, req *ListNoteOccurrencesRequest) (*ListNoteOccurrencesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListNoteOccurrences not implemented") -} -func (*UnimplementedGrafeasV1Beta1Server) GetVulnerabilityOccurrencesSummary(ctx context.Context, req *GetVulnerabilityOccurrencesSummaryRequest) (*VulnerabilityOccurrencesSummary, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetVulnerabilityOccurrencesSummary not implemented") -} - -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", -} 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 deleted file mode 100644 index 62732fbd..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/image/image.pb.go +++ /dev/null @@ -1,452 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/containeranalysis/v1beta1/image/image.proto - -package image - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // 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_ab0486c83d3ae0f1, []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_ab0486c83d3ae0f1, []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 (m *Layer) XXX_Merge(src proto.Message) { - xxx_messageInfo_Layer.Merge(m, 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_ab0486c83d3ae0f1, []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 (m *Fingerprint) XXX_Merge(src proto.Message) { - xxx_messageInfo_Fingerprint.Merge(m, 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_ab0486c83d3ae0f1, []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 (m *Basis) XXX_Merge(src proto.Message) { - xxx_messageInfo_Basis.Merge(m, 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_ab0486c83d3ae0f1, []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 (m *Details) XXX_Merge(src proto.Message) { - xxx_messageInfo_Details.Merge(m, 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_ab0486c83d3ae0f1, []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 (m *Derived) XXX_Merge(src proto.Message) { - xxx_messageInfo_Derived.Merge(m, 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.RegisterEnum("grafeas.v1beta1.image.Layer_Directive", Layer_Directive_name, Layer_Directive_value) - 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") -} - -func init() { - proto.RegisterFile("google/devtools/containeranalysis/v1beta1/image/image.proto", fileDescriptor_ab0486c83d3ae0f1) -} - -var fileDescriptor_ab0486c83d3ae0f1 = []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, - 0xa1, 0x8f, 0x50, 0x79, 0x21, 0x21, 0xad, 0x92, 0xaa, 0xea, 0x65, 0xb5, 0xcc, 0x37, 0xbf, 0x8f, - 0xf1, 0xec, 0x0c, 0x9c, 0xc5, 0x52, 0xc6, 0x09, 0x6f, 0xcd, 0xf8, 0x2a, 0x97, 0x32, 0xc9, 0x5a, - 0x53, 0x99, 0xe6, 0x4c, 0xa4, 0x5c, 0xb1, 0x94, 0x25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, 0xb5, 0x3a, 0xef, 0x5e, 0xb0, 0x74, 0xd6, 0xb9, 0x74, 0x6f, - 0x03, 0xb9, 0x7a, 0xf8, 0xbe, 0x1b, 0x85, 0xa1, 0x0e, 0xfc, 0x59, 0xa1, 0xf1, 0x5f, 0x15, 0xe2, - 0xb7, 0xb0, 0x3b, 0x13, 0x59, 0xce, 0xd2, 0x29, 0xd7, 0x1f, 0x59, 0xa1, 0x8f, 0xbf, 0xf1, 0x19, - 0x40, 0x52, 0x0c, 0x6e, 0x24, 0xd2, 0xb9, 0xac, 0x97, 0x1b, 0xe5, 0x53, 0xab, 0x73, 0xf2, 0xb7, - 0x09, 0xa7, 0xa6, 0xce, 0x77, 0xd3, 0xb9, 0xc4, 0x1f, 0xe1, 0x68, 0xc2, 0x32, 0x1e, 0xfd, 0xd6, - 0xe8, 0x1d, 0xdd, 0xe8, 0xc3, 0x42, 0xa0, 0xdb, 0x66, 0xf7, 0xbe, 0x42, 0x5d, 0xc8, 0xe7, 0x8d, - 0x87, 0xc6, 0x97, 0x70, 0xbd, 0xc5, 0x76, 0x2c, 0x13, 0x96, 0xc6, 0xb6, 0x54, 0x71, 0x2b, 0xe6, - 0xa9, 0x5e, 0xd2, 0xd6, 0x5a, 0x62, 0x4b, 0x91, 0xfd, 0xf3, 0x92, 0x9f, 0xe9, 0xf3, 0x5b, 0xa9, - 0x7c, 0x41, 0xbb, 0x93, 0xaa, 0xb6, 0xf9, 0xf4, 0x2b, 0x00, 0x00, 0xff, 0xff, 0xe8, 0x06, 0xe8, - 0x32, 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 deleted file mode 100644 index 6f626fb8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/package/package.pb.go +++ /dev/null @@ -1,512 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/containeranalysis/v1beta1/package/package.proto - -package _package - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // 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_a2db18e408c1243f, []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_a2db18e408c1243f, []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_a2db18e408c1243f, []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 (m *Distribution) XXX_Merge(src proto.Message) { - xxx_messageInfo_Distribution.Merge(m, 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_a2db18e408c1243f, []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 (m *Location) XXX_Merge(src proto.Message) { - xxx_messageInfo_Location.Merge(m, 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_a2db18e408c1243f, []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 (m *Package) XXX_Merge(src proto.Message) { - xxx_messageInfo_Package.Merge(m, 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_a2db18e408c1243f, []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 (m *Details) XXX_Merge(src proto.Message) { - xxx_messageInfo_Details.Merge(m, 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_a2db18e408c1243f, []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 (m *Installation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Installation.Merge(m, 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_a2db18e408c1243f, []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 (m *Version) XXX_Merge(src proto.Message) { - xxx_messageInfo_Version.Merge(m, 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.RegisterEnum("grafeas.v1beta1.package.Architecture", Architecture_name, Architecture_value) - proto.RegisterEnum("grafeas.v1beta1.package.Version_VersionKind", Version_VersionKind_name, Version_VersionKind_value) - 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") -} - -func init() { - proto.RegisterFile("google/devtools/containeranalysis/v1beta1/package/package.proto", fileDescriptor_a2db18e408c1243f) -} - -var fileDescriptor_a2db18e408c1243f = []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, 0x5a, 0xa5, 0x88, 0xe2, 0x8f, 0xb3, 0x77, 0xd6, 0xd0, 0xde, 0xb5, 0x6e, 0x7b, 0xa5, 0xf8, - 0xcf, 0xb1, 0xcd, 0xad, 0xb9, 0xa5, 0x69, 0x36, 0xec, 0xee, 0x1d, 0xe8, 0x4b, 0xf8, 0x0e, 0x3e, - 0x9b, 0x0f, 0x22, 0xd9, 0x24, 0x47, 0xaa, 0xb6, 0xea, 0x5f, 0x3b, 0xb3, 0x33, 0xdf, 0x37, 0xfb, - 0xcd, 0x24, 0x03, 0x6f, 0x12, 0xce, 0x93, 0x94, 0x86, 0x53, 0xba, 0x50, 0x9c, 0xa7, 0x32, 0x8c, - 0x79, 0xa6, 0x08, 0xcb, 0xa8, 0x20, 0x19, 0x49, 0xbf, 0x48, 0x26, 0xc3, 0xc5, 0xd6, 0x39, 0x55, - 0x64, 0x2b, 0xcc, 0x49, 0x7c, 0x41, 0x12, 0x5a, 0x9f, 0x41, 0x2e, 0xb8, 0xe2, 0x68, 0x33, 0x11, - 0xe4, 0x33, 0x25, 0x32, 0xa8, 0xd2, 0x82, 0x2a, 0xec, 0x7f, 0x33, 0xa1, 0xd3, 0x67, 0x52, 0x09, - 0x76, 0x3e, 0x57, 0x8c, 0x67, 0x68, 0x13, 0xec, 0x38, 0xa7, 0x93, 0xb9, 0x60, 0xae, 0xe1, 0x19, - 0xdd, 0x75, 0xdc, 0x8a, 0x73, 0x3a, 0x16, 0x0c, 0x45, 0xd0, 0x21, 0x22, 0x9e, 0x31, 0x45, 0x63, - 0x35, 0x17, 0xd4, 0x35, 0x3d, 0xa3, 0xbb, 0xb1, 0xfd, 0x28, 0xb8, 0x86, 0x39, 0xe8, 0x35, 0x92, - 0xf1, 0x15, 0x28, 0xda, 0x83, 0x8d, 0x94, 0x28, 0x2a, 0xd5, 0x64, 0x41, 0x85, 0x64, 0x3c, 0x73, - 0x2d, 0xcf, 0xe8, 0xb6, 0xb7, 0xbd, 0x6b, 0xc9, 0x4e, 0xcb, 0x3c, 0x7c, 0xbb, 0xc4, 0x55, 0x2e, - 0x7a, 0x00, 0x70, 0x49, 0x58, 0xd5, 0x0a, 0x77, 0x45, 0xbf, 0xb7, 0x71, 0x83, 0x1c, 0xb0, 0xe6, - 0x22, 0x75, 0x57, 0x75, 0xa0, 0x30, 0x91, 0x07, 0xed, 0x29, 0x95, 0xb1, 0x60, 0x79, 0xa1, 0xd6, - 0x6d, 0xe9, 0x48, 0xf3, 0xca, 0x97, 0xb0, 0x76, 0xc0, 0x63, 0x72, 0x73, 0x33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4, 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 deleted file mode 100644 index e44a5552..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/provenance/provenance.pb.go +++ /dev/null @@ -1,603 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/containeranalysis/v1beta1/provenance/provenance.proto - -package provenance - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - 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.ProtoPackageIsVersion3 // 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_4ab6101dd6eab75c, []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_4ab6101dd6eab75c, []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 (m *BuildProvenance) XXX_Merge(src proto.Message) { - xxx_messageInfo_BuildProvenance.Merge(m, 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_4ab6101dd6eab75c, []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 (m *Source) XXX_Merge(src proto.Message) { - xxx_messageInfo_Source.Merge(m, 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_4ab6101dd6eab75c, []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 (m *FileHashes) XXX_Merge(src proto.Message) { - xxx_messageInfo_FileHashes.Merge(m, 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_4ab6101dd6eab75c, []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 (m *Hash) XXX_Merge(src proto.Message) { - xxx_messageInfo_Hash.Merge(m, 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_4ab6101dd6eab75c, []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 (m *Command) XXX_Merge(src proto.Message) { - xxx_messageInfo_Command.Merge(m, 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_4ab6101dd6eab75c, []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 (m *Artifact) XXX_Merge(src proto.Message) { - xxx_messageInfo_Artifact.Merge(m, 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.RegisterEnum("grafeas.v1beta1.provenance.Hash_HashType", Hash_HashType_name, Hash_HashType_value) - 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") -} - -func init() { - proto.RegisterFile("google/devtools/containeranalysis/v1beta1/provenance/provenance.proto", fileDescriptor_4ab6101dd6eab75c) -} - -var fileDescriptor_4ab6101dd6eab75c = []byte{ - // 848 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x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d, 0x5f, - 0x6d, 0xed, 0x03, 0x08, 0x7f, 0x26, 0x5c, 0x27, 0x13, 0x21, 0x71, 0xc3, 0x32, 0x9b, 0x26, 0xbe, - 0x10, 0xb2, 0xfb, 0x0d, 0x84, 0xe5, 0xba, 0x44, 0x1d, 0x08, 0xd3, 0x5b, 0x96, 0xbe, 0x54, 0xf3, - 0xa9, 0x2f, 0x63, 0x15, 0x7b, 0xc9, 0xca, 0x4a, 0xf2, 0x11, 0xd4, 0x4d, 0x89, 0x65, 0x25, 0x2e, - 0x78, 0xfa, 0x5b, 0x00, 0x87, 0x5c, 0x6c, 0xf1, 0xf3, 0x3a, 0xf8, 0xe1, 0x47, 0xbf, 0x08, 0x33, - 0x91, 0x93, 0x22, 0x8b, 0x84, 0xcc, 0x7a, 0x19, 0x2b, 0xec, 0x5a, 0xec, 0xb9, 0x47, 0x64, 0xc6, - 0xd5, 0xff, 0xfb, 0x21, 0x7d, 0xb2, 0x3e, 0xfe, 0x59, 0xa9, 0x7e, 0x15, 0x9f, 0x8d, 0x1b, 0x56, - 0xf0, 0xe3, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x79, 0x79, 0x09, 0xaa, 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 deleted file mode 100644 index 3c7dc56a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/source/source.pb.go +++ /dev/null @@ -1,661 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/containeranalysis/v1beta1/source/source.proto - -package source - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // 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_9e8da9cb20b4f843, []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_9e8da9cb20b4f843, []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 (m *SourceContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_SourceContext.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*SourceContext) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*SourceContext_CloudRepo)(nil), - (*SourceContext_Gerrit)(nil), - (*SourceContext_Git)(nil), - } -} - -// 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_9e8da9cb20b4f843, []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 (m *AliasContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_AliasContext.Merge(m, 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_9e8da9cb20b4f843, []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 (m *CloudRepoSourceContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_CloudRepoSourceContext.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*CloudRepoSourceContext) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CloudRepoSourceContext_RevisionId)(nil), - (*CloudRepoSourceContext_AliasContext)(nil), - } -} - -// 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_9e8da9cb20b4f843, []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 (m *GerritSourceContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_GerritSourceContext.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*GerritSourceContext) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*GerritSourceContext_RevisionId)(nil), - (*GerritSourceContext_AliasContext)(nil), - } -} - -// 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_9e8da9cb20b4f843, []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 (m *GitSourceContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_GitSourceContext.Merge(m, 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_9e8da9cb20b4f843, []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 (m *RepoId) XXX_Merge(src proto.Message) { - xxx_messageInfo_RepoId.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*RepoId) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*RepoId_ProjectRepoId)(nil), - (*RepoId_Uid)(nil), - } -} - -// 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_9e8da9cb20b4f843, []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 (m *ProjectRepoId) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProjectRepoId.Merge(m, 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.RegisterEnum("grafeas.v1beta1.source.AliasContext_Kind", AliasContext_Kind_name, AliasContext_Kind_value) - 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") -} - -func init() { - proto.RegisterFile("google/devtools/containeranalysis/v1beta1/source/source.proto", fileDescriptor_9e8da9cb20b4f843) -} - -var fileDescriptor_9e8da9cb20b4f843 = []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, 0x98, 0xc5, 0x29, 0xa6, 0x31, 0xe1, 0x38, 0xc6, 0xd1, 0x75, 0x42, 0x93, 0xde, 0x74, 0xeb, - 0x82, 0xa4, 0x78, 0xab, 0x97, 0xb0, 0x8c, 0x8f, 0x89, 0x5a, 0xec, 0x09, 0x67, 0x29, 0x43, 0xab, - 0x21, 0xc7, 0x5f, 0x09, 0x4e, 0x6c, 0x15, 0x64, 0xe7, 0xb7, 0xd6, 0x9f, 0x3a, 0x74, 0x4e, 0xe5, - 0x76, 0x8f, 0xc5, 0x29, 0xf9, 0x91, 0xa2, 0x11, 0xc0, 0x38, 0x62, 0x59, 0xe0, 0x73,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xec, 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 deleted file mode 100644 index 8dddaea3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/vulnerability/vulnerability.pb.go +++ /dev/null @@ -1,530 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/containeranalysis/v1beta1/vulnerability/vulnerability.proto - -package vulnerability - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - common "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/common" - _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.ProtoPackageIsVersion3 // 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_2a1e5608ee0186b1, []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_2a1e5608ee0186b1, []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 (m *Vulnerability) XXX_Merge(src proto.Message) { - xxx_messageInfo_Vulnerability.Merge(m, 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_2a1e5608ee0186b1, []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 (m *Vulnerability_Detail) XXX_Merge(src proto.Message) { - xxx_messageInfo_Vulnerability_Detail.Merge(m, 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_2a1e5608ee0186b1, []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 (m *Details) XXX_Merge(src proto.Message) { - xxx_messageInfo_Details.Merge(m, 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_2a1e5608ee0186b1, []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 (m *PackageIssue) XXX_Merge(src proto.Message) { - xxx_messageInfo_PackageIssue.Merge(m, 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_2a1e5608ee0186b1, []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 (m *VulnerabilityLocation) XXX_Merge(src proto.Message) { - xxx_messageInfo_VulnerabilityLocation.Merge(m, 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.RegisterEnum("grafeas.v1beta1.vulnerability.Severity", Severity_name, Severity_value) - 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") -} - -func init() { - proto.RegisterFile("google/devtools/containeranalysis/v1beta1/vulnerability/vulnerability.proto", fileDescriptor_2a1e5608ee0186b1) -} - -var fileDescriptor_2a1e5608ee0186b1 = []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, 0x83, 0x3b, 0xaa, 0xf1, 0x58, 0x1e, 0x83, 0xc2, 0x0b, 0xf4, 0x3a, - 0xcf, 0xd0, 0xd7, 0xe9, 0xa3, 0xf4, 0xb2, 0x2f, 0x50, 0x31, 0xb6, 0x11, 0x84, 0x2a, 0x3f, 0x6d, - 0xae, 0xec, 0xf3, 0xf9, 0x9c, 0x6f, 0xbe, 0x33, 0xe7, 0xf3, 0x0c, 0xbc, 0x76, 0x19, 0x73, 0x3d, - 0x52, 0x1b, 0x92, 0x69, 0xc4, 0x98, 0xc7, 0x6b, 0x0e, 0xf3, 0x23, 0x4c, 0x7d, 0x12, 0x62, 0x1f, - 0x7b, 0x33, 0x4e, 0x79, 0x6d, 0xba, 0x3f, 0x20, 0x11, 0xde, 0xaf, 0x4d, 0x27, 0xde, 0x1c, 0x1e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x7b, 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 deleted file mode 100644 index c85006a1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/remoteexecution/v1test/remote_execution.pb.go +++ /dev/null @@ -1,2873 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/remoteexecution/v1test/remote_execution.proto - -package remoteexecution - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The current stage of execution. -type ExecuteOperationMetadata_Stage int32 - -const ( - ExecuteOperationMetadata_UNKNOWN ExecuteOperationMetadata_Stage = 0 - // Checking the result against the cache. - ExecuteOperationMetadata_CACHE_CHECK ExecuteOperationMetadata_Stage = 1 - // Currently idle, awaiting a free machine to execute. - ExecuteOperationMetadata_QUEUED ExecuteOperationMetadata_Stage = 2 - // Currently being executed by a worker. - ExecuteOperationMetadata_EXECUTING ExecuteOperationMetadata_Stage = 3 - // Finished execution. - ExecuteOperationMetadata_COMPLETED ExecuteOperationMetadata_Stage = 4 -) - -var ExecuteOperationMetadata_Stage_name = map[int32]string{ - 0: "UNKNOWN", - 1: "CACHE_CHECK", - 2: "QUEUED", - 3: "EXECUTING", - 4: "COMPLETED", -} - -var ExecuteOperationMetadata_Stage_value = map[string]int32{ - "UNKNOWN": 0, - "CACHE_CHECK": 1, - "QUEUED": 2, - "EXECUTING": 3, - "COMPLETED": 4, -} - -func (x ExecuteOperationMetadata_Stage) String() string { - return proto.EnumName(ExecuteOperationMetadata_Stage_name, int32(x)) -} - -func (ExecuteOperationMetadata_Stage) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1fc46b2dca8a7fdb, []int{14, 0} -} - -// An `Action` captures all the information about an execution which is required -// to reproduce it. -// -// `Action`s are the core component of the [Execution] service. A single -// `Action` represents a repeatable action that can be performed by the -// execution service. `Action`s can be succinctly identified by the digest of -// their wire format encoding and, once an `Action` has been executed, will be -// cached in the action cache. Future requests can then use the cached result -// rather than needing to run afresh. -// -// When a server completes execution of an -// [Action][google.devtools.remoteexecution.v1test.Action], it MAY choose to -// cache the [result][google.devtools.remoteexecution.v1test.ActionResult] in -// the [ActionCache][google.devtools.remoteexecution.v1test.ActionCache] unless -// `do_not_cache` is `true`. Clients SHOULD expect the server to do so. By -// default, future calls to [Execute][] the same `Action` will also serve their -// results from the cache. Clients must take care to understand the caching -// behaviour. Ideally, all `Action`s will be reproducible so that serving a -// result from cache is always desirable and correct. -type Action struct { - // The digest of the [Command][google.devtools.remoteexecution.v1test.Command] - // to run, which MUST be present in the - // [ContentAddressableStorage][google.devtools.remoteexecution.v1test.ContentAddressableStorage]. - CommandDigest *Digest `protobuf:"bytes,1,opt,name=command_digest,json=commandDigest,proto3" json:"command_digest,omitempty"` - // The digest of the root - // [Directory][google.devtools.remoteexecution.v1test.Directory] for the input - // files. The files in the directory tree are available in the correct - // location on the build machine before the command is executed. The root - // directory, as well as every subdirectory and content blob referred to, MUST - // be in the - // [ContentAddressableStorage][google.devtools.remoteexecution.v1test.ContentAddressableStorage]. - InputRootDigest *Digest `protobuf:"bytes,2,opt,name=input_root_digest,json=inputRootDigest,proto3" json:"input_root_digest,omitempty"` - // A list of the output files that the client expects to retrieve from the - // action. Only the listed files, as well as directories listed in - // `output_directories`, will be returned to the client as output. - // Other files that may be created during command execution are discarded. - // - // The paths are relative to the working directory of the action execution. - // The paths are specified using a single forward slash (`/`) as a path - // separator, even if the execution platform natively uses a different - // separator. The path MUST NOT include a trailing slash, nor a leading slash, - // being a relative path. - // - // In order to ensure consistent hashing of the same Action, the output paths - // MUST be sorted lexicographically by code point (or, equivalently, by UTF-8 - // bytes). - OutputFiles []string `protobuf:"bytes,3,rep,name=output_files,json=outputFiles,proto3" json:"output_files,omitempty"` - // A list of the output directories that the client expects to retrieve from - // the action. Only the contents of the indicated directories (recursively - // including the contents of their subdirectories) will be - // returned, as well as files listed in `output_files`. Other files that may - // be created during command execution are discarded. - // - // The paths are relative to the working directory of the action execution. - // The paths are specified using a single forward slash (`/`) as a path - // separator, even if the execution platform natively uses a different - // separator. The path MUST NOT include a trailing slash, nor a leading slash, - // being a relative path. - // The special value of empty string is allowed, although not recommended, and - // can be used to capture the entire working directory tree, including inputs. - // - // In order to ensure consistent hashing of the same Action, the output paths - // MUST be sorted lexicographically by code point (or, equivalently, by UTF-8 - // bytes). - OutputDirectories []string `protobuf:"bytes,4,rep,name=output_directories,json=outputDirectories,proto3" json:"output_directories,omitempty"` - // The platform requirements for the execution environment. The server MAY - // choose to execute the action on any worker satisfying the requirements, so - // the client SHOULD ensure that running the action on any such worker will - // have the same result. - Platform *Platform `protobuf:"bytes,5,opt,name=platform,proto3" json:"platform,omitempty"` - // A timeout after which the execution should be killed. If the timeout is - // absent, then the client is specifying that the execution should continue - // as long as the server will let it. The server SHOULD impose a timeout if - // the client does not specify one, however, if the client does specify a - // timeout that is longer than the server's maximum timeout, the server MUST - // reject the request. - // - // The timeout is a part of the - // [Action][google.devtools.remoteexecution.v1test.Action] message, and - // therefore two `Actions` with different timeouts are different, even if they - // are otherwise identical. This is because, if they were not, running an - // `Action` with a lower timeout than is required might result in a cache hit - // from an execution run with a longer timeout, hiding the fact that the - // timeout is too short. By encoding it directly in the `Action`, a lower - // timeout will result in a cache miss and the execution timeout will fail - // immediately, rather than whenever the cache entry gets evicted. - Timeout *duration.Duration `protobuf:"bytes,6,opt,name=timeout,proto3" json:"timeout,omitempty"` - // If true, then the `Action`'s result cannot be cached. - DoNotCache bool `protobuf:"varint,7,opt,name=do_not_cache,json=doNotCache,proto3" json:"do_not_cache,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_1fc46b2dca8a7fdb, []int{0} -} - -func (m *Action) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Action.Unmarshal(m, b) -} -func (m *Action) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Action.Marshal(b, m, deterministic) -} -func (m *Action) XXX_Merge(src proto.Message) { - xxx_messageInfo_Action.Merge(m, src) -} -func (m *Action) XXX_Size() int { - return xxx_messageInfo_Action.Size(m) -} -func (m *Action) XXX_DiscardUnknown() { - xxx_messageInfo_Action.DiscardUnknown(m) -} - -var xxx_messageInfo_Action proto.InternalMessageInfo - -func (m *Action) GetCommandDigest() *Digest { - if m != nil { - return m.CommandDigest - } - return nil -} - -func (m *Action) GetInputRootDigest() *Digest { - if m != nil { - return m.InputRootDigest - } - return nil -} - -func (m *Action) GetOutputFiles() []string { - if m != nil { - return m.OutputFiles - } - return nil -} - -func (m *Action) GetOutputDirectories() []string { - if m != nil { - return m.OutputDirectories - } - return nil -} - -func (m *Action) GetPlatform() *Platform { - if m != nil { - return m.Platform - } - return nil -} - -func (m *Action) GetTimeout() *duration.Duration { - if m != nil { - return m.Timeout - } - return nil -} - -func (m *Action) GetDoNotCache() bool { - if m != nil { - return m.DoNotCache - } - return false -} - -// A `Command` is the actual command executed by a worker running an -// [Action][google.devtools.remoteexecution.v1test.Action]. -// -// Except as otherwise required, the environment (such as which system -// libraries or binaries are available, and what filesystems are mounted where) -// is defined by and specific to the implementation of the remote execution API. -type Command struct { - // The arguments to the command. The first argument must be the path to the - // executable, which must be either a relative path, in which case it is - // evaluated with respect to the input root, or an absolute path. - // - // The working directory will always be the input root. - Arguments []string `protobuf:"bytes,1,rep,name=arguments,proto3" json:"arguments,omitempty"` - // The environment variables to set when running the program. The worker may - // provide its own default environment variables; these defaults can be - // overridden using this field. Additional variables can also be specified. - // - // In order to ensure that equivalent `Command`s always hash to the same - // value, the environment variables MUST be lexicographically sorted by name. - // Sorting of strings is done by code point, equivalently, by the UTF-8 bytes. - EnvironmentVariables []*Command_EnvironmentVariable `protobuf:"bytes,2,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,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_1fc46b2dca8a7fdb, []int{1} -} - -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 (m *Command) XXX_Merge(src proto.Message) { - xxx_messageInfo_Command.Merge(m, 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) GetArguments() []string { - if m != nil { - return m.Arguments - } - return nil -} - -func (m *Command) GetEnvironmentVariables() []*Command_EnvironmentVariable { - if m != nil { - return m.EnvironmentVariables - } - return nil -} - -// An `EnvironmentVariable` is one variable to set in the running program's -// environment. -type Command_EnvironmentVariable struct { - // The variable name. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The variable value. - 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 *Command_EnvironmentVariable) Reset() { *m = Command_EnvironmentVariable{} } -func (m *Command_EnvironmentVariable) String() string { return proto.CompactTextString(m) } -func (*Command_EnvironmentVariable) ProtoMessage() {} -func (*Command_EnvironmentVariable) Descriptor() ([]byte, []int) { - return fileDescriptor_1fc46b2dca8a7fdb, []int{1, 0} -} - -func (m *Command_EnvironmentVariable) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Command_EnvironmentVariable.Unmarshal(m, b) -} -func (m *Command_EnvironmentVariable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Command_EnvironmentVariable.Marshal(b, m, deterministic) -} -func (m *Command_EnvironmentVariable) XXX_Merge(src proto.Message) { - xxx_messageInfo_Command_EnvironmentVariable.Merge(m, src) -} -func (m *Command_EnvironmentVariable) XXX_Size() int { - return xxx_messageInfo_Command_EnvironmentVariable.Size(m) -} -func (m *Command_EnvironmentVariable) XXX_DiscardUnknown() { - xxx_messageInfo_Command_EnvironmentVariable.DiscardUnknown(m) -} - -var xxx_messageInfo_Command_EnvironmentVariable proto.InternalMessageInfo - -func (m *Command_EnvironmentVariable) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Command_EnvironmentVariable) GetValue() string { - if m != nil { - return m.Value - } - return "" -} - -// A `Platform` is a set of requirements, such as hardware, operating system, or -// compiler toolchain, for an -// [Action][google.devtools.remoteexecution.v1test.Action]'s execution -// environment. A `Platform` is represented as a series of key-value pairs -// representing the properties that are required of the platform. -// -// This message is currently being redeveloped since it is an overly simplistic -// model of platforms. -type Platform struct { - // The properties that make up this platform. In order to ensure that - // equivalent `Platform`s always hash to the same value, the properties MUST - // be lexicographically sorted by name, and then by value. Sorting of strings - // is done by code point, equivalently, by the UTF-8 bytes. - Properties []*Platform_Property `protobuf:"bytes,1,rep,name=properties,proto3" json:"properties,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1fc46b2dca8a7fdb, []int{2} -} - -func (m *Platform) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Platform.Unmarshal(m, b) -} -func (m *Platform) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Platform.Marshal(b, m, deterministic) -} -func (m *Platform) XXX_Merge(src proto.Message) { - xxx_messageInfo_Platform.Merge(m, src) -} -func (m *Platform) XXX_Size() int { - return xxx_messageInfo_Platform.Size(m) -} -func (m *Platform) XXX_DiscardUnknown() { - xxx_messageInfo_Platform.DiscardUnknown(m) -} - -var xxx_messageInfo_Platform proto.InternalMessageInfo - -func (m *Platform) GetProperties() []*Platform_Property { - if m != nil { - return m.Properties - } - return nil -} - -// A single property for the environment. The server is responsible for -// specifying the property `name`s that it accepts. If an unknown `name` is -// provided in the requirements for an -// [Action][google.devtools.remoteexecution.v1test.Action], the server SHOULD -// reject the execution request. If permitted by the server, the same `name` -// may occur multiple times. -// -// The server is also responsible for specifying the interpretation of -// property `value`s. For instance, a property describing how much RAM must be -// available may be interpreted as allowing a worker with 16GB to fulfill a -// request for 8GB, while a property describing the OS environment on which -// the action must be performed may require an exact match with the worker's -// OS. -// -// The server MAY use the `value` of one or more properties to determine how -// it sets up the execution environment, such as by making specific system -// files available to the worker. -type Platform_Property struct { - // The property name. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The property value. - 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 *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_1fc46b2dca8a7fdb, []int{2, 0} -} - -func (m *Platform_Property) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Platform_Property.Unmarshal(m, b) -} -func (m *Platform_Property) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Platform_Property.Marshal(b, m, deterministic) -} -func (m *Platform_Property) XXX_Merge(src proto.Message) { - xxx_messageInfo_Platform_Property.Merge(m, src) -} -func (m *Platform_Property) XXX_Size() int { - return xxx_messageInfo_Platform_Property.Size(m) -} -func (m *Platform_Property) XXX_DiscardUnknown() { - xxx_messageInfo_Platform_Property.DiscardUnknown(m) -} - -var xxx_messageInfo_Platform_Property proto.InternalMessageInfo - -func (m *Platform_Property) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Platform_Property) GetValue() string { - if m != nil { - return m.Value - } - return "" -} - -// A `Directory` represents a directory node in a file tree, containing zero or -// more children [FileNodes][google.devtools.remoteexecution.v1test.FileNode] -// and [DirectoryNodes][google.devtools.remoteexecution.v1test.DirectoryNode]. -// Each `Node` contains its name in the directory, the digest of its content -// (either a file blob or a `Directory` proto), as well as possibly some -// metadata about the file or directory. -// -// In order to ensure that two equivalent directory trees hash to the same -// value, the following restrictions MUST be obeyed when constructing a -// a `Directory`: -// - Every child in the directory must have a path of exactly one segment. -// Multiple levels of directory hierarchy may not be collapsed. -// - Each child in the directory must have a unique path segment (file name). -// - The files and directories in the directory must each be sorted in -// lexicographical order by path. The path strings must be sorted by code -// point, equivalently, by UTF-8 bytes. -// -// A `Directory` that obeys the restrictions is said to be in canonical form. -// -// As an example, the following could be used for a file named `bar` and a -// directory named `foo` with an executable file named `baz` (hashes shortened -// for readability): -// -// ```json -// // (Directory proto) -// { -// files: [ -// { -// name: "bar", -// digest: { -// hash: "4a73bc9d03...", -// size: 65534 -// } -// } -// ], -// directories: [ -// { -// name: "foo", -// digest: { -// hash: "4cf2eda940...", -// size: 43 -// } -// } -// ] -// } -// -// // (Directory proto with hash "4cf2eda940..." and size 43) -// { -// files: [ -// { -// name: "baz", -// digest: { -// hash: "b2c941073e...", -// size: 1294, -// }, -// is_executable: true -// } -// ] -// } -// ``` -type Directory struct { - // The files in the directory. - Files []*FileNode `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` - // The subdirectories in the directory. - Directories []*DirectoryNode `protobuf:"bytes,2,rep,name=directories,proto3" json:"directories,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1fc46b2dca8a7fdb, []int{3} -} - -func (m *Directory) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Directory.Unmarshal(m, b) -} -func (m *Directory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Directory.Marshal(b, m, deterministic) -} -func (m *Directory) XXX_Merge(src proto.Message) { - xxx_messageInfo_Directory.Merge(m, src) -} -func (m *Directory) XXX_Size() int { - return xxx_messageInfo_Directory.Size(m) -} -func (m *Directory) XXX_DiscardUnknown() { - xxx_messageInfo_Directory.DiscardUnknown(m) -} - -var xxx_messageInfo_Directory proto.InternalMessageInfo - -func (m *Directory) GetFiles() []*FileNode { - if m != nil { - return m.Files - } - return nil -} - -func (m *Directory) GetDirectories() []*DirectoryNode { - if m != nil { - return m.Directories - } - return nil -} - -// A `FileNode` represents a single file and associated metadata. -type FileNode struct { - // The name of the file. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The digest of the file's content. - Digest *Digest `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"` - // True if file is executable, false otherwise. - IsExecutable bool `protobuf:"varint,4,opt,name=is_executable,json=isExecutable,proto3" json:"is_executable,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1fc46b2dca8a7fdb, []int{4} -} - -func (m *FileNode) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FileNode.Unmarshal(m, b) -} -func (m *FileNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FileNode.Marshal(b, m, deterministic) -} -func (m *FileNode) XXX_Merge(src proto.Message) { - xxx_messageInfo_FileNode.Merge(m, src) -} -func (m *FileNode) XXX_Size() int { - return xxx_messageInfo_FileNode.Size(m) -} -func (m *FileNode) XXX_DiscardUnknown() { - xxx_messageInfo_FileNode.DiscardUnknown(m) -} - -var xxx_messageInfo_FileNode proto.InternalMessageInfo - -func (m *FileNode) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *FileNode) GetDigest() *Digest { - if m != nil { - return m.Digest - } - return nil -} - -func (m *FileNode) GetIsExecutable() bool { - if m != nil { - return m.IsExecutable - } - return false -} - -// A `DirectoryNode` represents a child of a -// [Directory][google.devtools.remoteexecution.v1test.Directory] which is itself -// a `Directory` and its associated metadata. -type DirectoryNode struct { - // The name of the directory. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The digest of the - // [Directory][google.devtools.remoteexecution.v1test.Directory] object - // represented. See [Digest][google.devtools.remoteexecution.v1test.Digest] - // for information about how to take the digest of a proto message. - Digest *Digest `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1fc46b2dca8a7fdb, []int{5} -} - -func (m *DirectoryNode) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DirectoryNode.Unmarshal(m, b) -} -func (m *DirectoryNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DirectoryNode.Marshal(b, m, deterministic) -} -func (m *DirectoryNode) XXX_Merge(src proto.Message) { - xxx_messageInfo_DirectoryNode.Merge(m, src) -} -func (m *DirectoryNode) XXX_Size() int { - return xxx_messageInfo_DirectoryNode.Size(m) -} -func (m *DirectoryNode) XXX_DiscardUnknown() { - xxx_messageInfo_DirectoryNode.DiscardUnknown(m) -} - -var xxx_messageInfo_DirectoryNode proto.InternalMessageInfo - -func (m *DirectoryNode) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *DirectoryNode) GetDigest() *Digest { - if m != nil { - return m.Digest - } - return nil -} - -// A content digest. A digest for a given blob consists of the size of the blob -// and its hash. The hash algorithm to use is defined by the server, but servers -// SHOULD use SHA-256. -// -// The size is considered to be an integral part of the digest and cannot be -// separated. That is, even if the `hash` field is correctly specified but -// `size_bytes` is not, the server MUST reject the request. -// -// The reason for including the size in the digest is as follows: in a great -// many cases, the server needs to know the size of the blob it is about to work -// with prior to starting an operation with it, such as flattening Merkle tree -// structures or streaming it to a worker. Technically, the server could -// implement a separate metadata store, but this results in a significantly more -// complicated implementation as opposed to having the client specify the size -// up-front (or storing the size along with the digest in every message where -// digests are embedded). This does mean that the API leaks some implementation -// details of (what we consider to be) a reasonable server implementation, but -// we consider this to be a worthwhile tradeoff. -// -// When a `Digest` is used to refer to a proto message, it always refers to the -// message in binary encoded form. To ensure consistent hashing, clients and -// servers MUST ensure that they serialize messages according to the following -// rules, even if there are alternate valid encodings for the same message. -// - Fields are serialized in tag order. -// - There are no unknown fields. -// - There are no duplicate fields. -// - Fields are serialized according to the default semantics for their type. -// -// Most protocol buffer implementations will always follow these rules when -// serializing, but care should be taken to avoid shortcuts. For instance, -// concatenating two messages to merge them may produce duplicate fields. -type Digest struct { - // The hash. In the case of SHA-256, it will always be a lowercase hex string - // exactly 64 characters long. - Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` - // The size of the blob, in bytes. - SizeBytes int64 `protobuf:"varint,2,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"` - 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_1fc46b2dca8a7fdb, []int{6} -} - -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 (m *Digest) XXX_Merge(src proto.Message) { - xxx_messageInfo_Digest.Merge(m, 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 - -func (m *Digest) GetHash() string { - if m != nil { - return m.Hash - } - return "" -} - -func (m *Digest) GetSizeBytes() int64 { - if m != nil { - return m.SizeBytes - } - return 0 -} - -// An ActionResult represents the result of an -// [Action][google.devtools.remoteexecution.v1test.Action] being run. -type ActionResult struct { - // The output files of the action. For each output file requested in the - // `output_files` field of the Action, if the corresponding file existed after - // the action completed, a single entry will be present in the output list. - // - // If the action does not produce the requested output, or produces a - // directory where a regular file is expected or vice versa, then that output - // will be omitted from the list. The server is free to arrange the output - // list as desired; clients MUST NOT assume that the output list is sorted. - OutputFiles []*OutputFile `protobuf:"bytes,2,rep,name=output_files,json=outputFiles,proto3" json:"output_files,omitempty"` - // The output directories of the action. For each output directory requested - // in the `output_directories` field of the Action, if the corresponding - // directory existed after the action completed, a single entry will be - // present in the output list, which will contain the digest of - // a [Tree][google.devtools.remoteexecution.v1test.Tree] message containing - // the directory tree, and the path equal exactly to the corresponding Action - // output_directories member. - // As an example, suppose the Action had an output directory `a/b/dir` and the - // execution produced the following contents in `a/b/dir`: a file named `bar` - // and a directory named `foo` with an executable file named `baz`. Then, - // output_directory will contain (hashes shortened for readability): - // - // ```json - // // OutputDirectory proto: - // { - // path: "a/b/dir" - // tree_digest: { - // hash: "4a73bc9d03...", - // size: 55 - // } - // } - // // Tree proto with hash "4a73bc9d03..." and size 55: - // { - // root: { - // files: [ - // { - // name: "bar", - // digest: { - // hash: "4a73bc9d03...", - // size: 65534 - // } - // } - // ], - // directories: [ - // { - // name: "foo", - // digest: { - // hash: "4cf2eda940...", - // size: 43 - // } - // } - // ] - // } - // children : { - // // (Directory proto with hash "4cf2eda940..." and size 43) - // files: [ - // { - // name: "baz", - // digest: { - // hash: "b2c941073e...", - // size: 1294, - // }, - // is_executable: true - // } - // ] - // } - // } - // ``` - OutputDirectories []*OutputDirectory `protobuf:"bytes,3,rep,name=output_directories,json=outputDirectories,proto3" json:"output_directories,omitempty"` - // The exit code of the command. - ExitCode int32 `protobuf:"varint,4,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"` - // The standard output buffer of the action. The server will determine, based - // on the size of the buffer, whether to return it in raw form or to return - // a digest in `stdout_digest` that points to the buffer. If neither is set, - // then the buffer is empty. The client SHOULD NOT assume it will get one of - // the raw buffer or a digest on any given request and should be prepared to - // handle either. - StdoutRaw []byte `protobuf:"bytes,5,opt,name=stdout_raw,json=stdoutRaw,proto3" json:"stdout_raw,omitempty"` - // The digest for a blob containing the standard output of the action, which - // can be retrieved from the - // [ContentAddressableStorage][google.devtools.remoteexecution.v1test.ContentAddressableStorage]. - // See `stdout_raw` for when this will be set. - StdoutDigest *Digest `protobuf:"bytes,6,opt,name=stdout_digest,json=stdoutDigest,proto3" json:"stdout_digest,omitempty"` - // The standard error buffer of the action. The server will determine, based - // on the size of the buffer, whether to return it in raw form or to return - // a digest in `stderr_digest` that points to the buffer. If neither is set, - // then the buffer is empty. The client SHOULD NOT assume it will get one of - // the raw buffer or a digest on any given request and should be prepared to - // handle either. - StderrRaw []byte `protobuf:"bytes,7,opt,name=stderr_raw,json=stderrRaw,proto3" json:"stderr_raw,omitempty"` - // The digest for a blob containing the standard error of the action, which - // can be retrieved from the - // [ContentAddressableStorage][google.devtools.remoteexecution.v1test.ContentAddressableStorage]. - // See `stderr_raw` for when this will be set. - StderrDigest *Digest `protobuf:"bytes,8,opt,name=stderr_digest,json=stderrDigest,proto3" json:"stderr_digest,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1fc46b2dca8a7fdb, []int{7} -} - -func (m *ActionResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ActionResult.Unmarshal(m, b) -} -func (m *ActionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ActionResult.Marshal(b, m, deterministic) -} -func (m *ActionResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_ActionResult.Merge(m, src) -} -func (m *ActionResult) XXX_Size() int { - return xxx_messageInfo_ActionResult.Size(m) -} -func (m *ActionResult) XXX_DiscardUnknown() { - xxx_messageInfo_ActionResult.DiscardUnknown(m) -} - -var xxx_messageInfo_ActionResult proto.InternalMessageInfo - -func (m *ActionResult) GetOutputFiles() []*OutputFile { - if m != nil { - return m.OutputFiles - } - return nil -} - -func (m *ActionResult) GetOutputDirectories() []*OutputDirectory { - if m != nil { - return m.OutputDirectories - } - return nil -} - -func (m *ActionResult) GetExitCode() int32 { - if m != nil { - return m.ExitCode - } - return 0 -} - -func (m *ActionResult) GetStdoutRaw() []byte { - if m != nil { - return m.StdoutRaw - } - return nil -} - -func (m *ActionResult) GetStdoutDigest() *Digest { - if m != nil { - return m.StdoutDigest - } - return nil -} - -func (m *ActionResult) GetStderrRaw() []byte { - if m != nil { - return m.StderrRaw - } - return nil -} - -func (m *ActionResult) GetStderrDigest() *Digest { - if m != nil { - return m.StderrDigest - } - return nil -} - -// An `OutputFile` is similar to a -// [FileNode][google.devtools.remoteexecution.v1test.FileNode], but it is -// tailored for output as part of an `ActionResult`. It allows a full file path -// rather than only a name, and allows the server to include content inline. -// -// `OutputFile` is binary-compatible with `FileNode`. -type OutputFile struct { - // The full path of the file relative to the input root, including the - // filename. The path separator is a forward slash `/`. Since this is a - // relative path, it MUST NOT begin with a leading forward slash. - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` - // The digest of the file's content. - Digest *Digest `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"` - // The raw content of the file. - // - // This field may be used by the server to provide the content of a file - // inline in an - // [ActionResult][google.devtools.remoteexecution.v1test.ActionResult] and - // avoid requiring that the client make a separate call to - // [ContentAddressableStorage.GetBlob] to retrieve it. - // - // The client SHOULD NOT assume that it will get raw content with any request, - // and always be prepared to retrieve it via `digest`. - Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` - // True if file is executable, false otherwise. - IsExecutable bool `protobuf:"varint,4,opt,name=is_executable,json=isExecutable,proto3" json:"is_executable,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1fc46b2dca8a7fdb, []int{8} -} - -func (m *OutputFile) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OutputFile.Unmarshal(m, b) -} -func (m *OutputFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OutputFile.Marshal(b, m, deterministic) -} -func (m *OutputFile) XXX_Merge(src proto.Message) { - xxx_messageInfo_OutputFile.Merge(m, src) -} -func (m *OutputFile) XXX_Size() int { - return xxx_messageInfo_OutputFile.Size(m) -} -func (m *OutputFile) XXX_DiscardUnknown() { - xxx_messageInfo_OutputFile.DiscardUnknown(m) -} - -var xxx_messageInfo_OutputFile proto.InternalMessageInfo - -func (m *OutputFile) GetPath() string { - if m != nil { - return m.Path - } - return "" -} - -func (m *OutputFile) GetDigest() *Digest { - if m != nil { - return m.Digest - } - return nil -} - -func (m *OutputFile) GetContent() []byte { - if m != nil { - return m.Content - } - return nil -} - -func (m *OutputFile) GetIsExecutable() bool { - if m != nil { - return m.IsExecutable - } - return false -} - -// A `Tree` contains all the -// [Directory][google.devtools.remoteexecution.v1test.Directory] protos in a -// single directory Merkle tree, compressed into one message. -type Tree struct { - // The root directory in the tree. - Root *Directory `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"` - // All the child directories: the directories referred to by the root and, - // recursively, all its children. In order to reconstruct the directory tree, - // the client must take the digests of each of the child directories and then - // build up a tree starting from the `root`. - Children []*Directory `protobuf:"bytes,2,rep,name=children,proto3" json:"children,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1fc46b2dca8a7fdb, []int{9} -} - -func (m *Tree) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Tree.Unmarshal(m, b) -} -func (m *Tree) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Tree.Marshal(b, m, deterministic) -} -func (m *Tree) XXX_Merge(src proto.Message) { - xxx_messageInfo_Tree.Merge(m, src) -} -func (m *Tree) XXX_Size() int { - return xxx_messageInfo_Tree.Size(m) -} -func (m *Tree) XXX_DiscardUnknown() { - xxx_messageInfo_Tree.DiscardUnknown(m) -} - -var xxx_messageInfo_Tree proto.InternalMessageInfo - -func (m *Tree) GetRoot() *Directory { - if m != nil { - return m.Root - } - return nil -} - -func (m *Tree) GetChildren() []*Directory { - if m != nil { - return m.Children - } - return nil -} - -// An `OutputDirectory` is the output in an `ActionResult` corresponding to a -// directory's full contents rather than a single file. -type OutputDirectory struct { - // The full path of the directory relative to the working directory. The path - // separator is a forward slash `/`. Since this is a relative path, it MUST - // NOT begin with a leading forward slash. The empty string value is allowed, - // and it denotes the entire working directory. - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` - // DEPRECATED: This field is deprecated and should no longer be used. - Digest *Digest `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"` - // The digest of the encoded - // [Tree][google.devtools.remoteexecution.v1test.Tree] proto containing the - // directory's contents. - TreeDigest *Digest `protobuf:"bytes,3,opt,name=tree_digest,json=treeDigest,proto3" json:"tree_digest,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1fc46b2dca8a7fdb, []int{10} -} - -func (m *OutputDirectory) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OutputDirectory.Unmarshal(m, b) -} -func (m *OutputDirectory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OutputDirectory.Marshal(b, m, deterministic) -} -func (m *OutputDirectory) XXX_Merge(src proto.Message) { - xxx_messageInfo_OutputDirectory.Merge(m, src) -} -func (m *OutputDirectory) XXX_Size() int { - return xxx_messageInfo_OutputDirectory.Size(m) -} -func (m *OutputDirectory) XXX_DiscardUnknown() { - xxx_messageInfo_OutputDirectory.DiscardUnknown(m) -} - -var xxx_messageInfo_OutputDirectory proto.InternalMessageInfo - -func (m *OutputDirectory) GetPath() string { - if m != nil { - return m.Path - } - return "" -} - -func (m *OutputDirectory) GetDigest() *Digest { - if m != nil { - return m.Digest - } - return nil -} - -func (m *OutputDirectory) GetTreeDigest() *Digest { - if m != nil { - return m.TreeDigest - } - return nil -} - -// A request message for -// [Execution.Execute][google.devtools.remoteexecution.v1test.Execution.Execute]. -type ExecuteRequest struct { - // The instance of the execution system to operate against. A server may - // support multiple instances of the execution system (with their own workers, - // storage, caches, etc.). The server MAY require use of this field to select - // between them in an implementation-defined fashion, otherwise it can be - // omitted. - InstanceName string `protobuf:"bytes,1,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty"` - // The action to be performed. - Action *Action `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"` - // If true, the action will be executed anew even if its result was already - // present in the cache. If false, the result may be served from the - // [ActionCache][google.devtools.remoteexecution.v1test.ActionCache]. - SkipCacheLookup bool `protobuf:"varint,3,opt,name=skip_cache_lookup,json=skipCacheLookup,proto3" json:"skip_cache_lookup,omitempty"` - // DEPRECATED: This field should be ignored by clients and servers and will be - // removed. - TotalInputFileCount int32 `protobuf:"varint,4,opt,name=total_input_file_count,json=totalInputFileCount,proto3" json:"total_input_file_count,omitempty"` - // DEPRECATED: This field should be ignored by clients and servers and will be - // removed. - TotalInputFileBytes int64 `protobuf:"varint,5,opt,name=total_input_file_bytes,json=totalInputFileBytes,proto3" json:"total_input_file_bytes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1fc46b2dca8a7fdb, []int{11} -} - -func (m *ExecuteRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecuteRequest.Unmarshal(m, b) -} -func (m *ExecuteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecuteRequest.Marshal(b, m, deterministic) -} -func (m *ExecuteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecuteRequest.Merge(m, src) -} -func (m *ExecuteRequest) XXX_Size() int { - return xxx_messageInfo_ExecuteRequest.Size(m) -} -func (m *ExecuteRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ExecuteRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ExecuteRequest proto.InternalMessageInfo - -func (m *ExecuteRequest) GetInstanceName() string { - if m != nil { - return m.InstanceName - } - return "" -} - -func (m *ExecuteRequest) GetAction() *Action { - if m != nil { - return m.Action - } - return nil -} - -func (m *ExecuteRequest) GetSkipCacheLookup() bool { - if m != nil { - return m.SkipCacheLookup - } - return false -} - -func (m *ExecuteRequest) GetTotalInputFileCount() int32 { - if m != nil { - return m.TotalInputFileCount - } - return 0 -} - -func (m *ExecuteRequest) GetTotalInputFileBytes() int64 { - if m != nil { - return m.TotalInputFileBytes - } - return 0 -} - -// A `LogFile` is a log stored in the CAS. -type LogFile struct { - // The digest of the log contents. - Digest *Digest `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"` - // This is a hint as to the purpose of the log, and is set to true if the log - // is human-readable text that can be usefully displayed to a user, and false - // otherwise. For instance, if a command-line client wishes to print the - // server logs to the terminal for a failed action, this allows it to avoid - // displaying a binary file. - HumanReadable bool `protobuf:"varint,2,opt,name=human_readable,json=humanReadable,proto3" json:"human_readable,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1fc46b2dca8a7fdb, []int{12} -} - -func (m *LogFile) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LogFile.Unmarshal(m, b) -} -func (m *LogFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LogFile.Marshal(b, m, deterministic) -} -func (m *LogFile) XXX_Merge(src proto.Message) { - xxx_messageInfo_LogFile.Merge(m, src) -} -func (m *LogFile) XXX_Size() int { - return xxx_messageInfo_LogFile.Size(m) -} -func (m *LogFile) XXX_DiscardUnknown() { - xxx_messageInfo_LogFile.DiscardUnknown(m) -} - -var xxx_messageInfo_LogFile proto.InternalMessageInfo - -func (m *LogFile) GetDigest() *Digest { - if m != nil { - return m.Digest - } - return nil -} - -func (m *LogFile) GetHumanReadable() bool { - if m != nil { - return m.HumanReadable - } - return false -} - -// The response message for -// [Execution.Execute][google.devtools.remoteexecution.v1test.Execution.Execute], -// which will be contained in the [response -// field][google.longrunning.Operation.response] of the -// [Operation][google.longrunning.Operation]. -type ExecuteResponse struct { - // The result of the action. - Result *ActionResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` - // True if the result was served from cache, false if it was executed. - CachedResult bool `protobuf:"varint,2,opt,name=cached_result,json=cachedResult,proto3" json:"cached_result,omitempty"` - // If the status has a code other than `OK`, it indicates that the action did - // not finish execution. For example, if the operation times out during - // execution, the status will have a `DEADLINE_EXCEEDED` code. Servers MUST - // use this field for errors in execution, rather than the error field on the - // `Operation` object. - // - // If the status code is other than `OK`, then the result MUST NOT be cached. - // For an error status, the `result` field is optional; the server may - // populate the output-, stdout-, and stderr-related fields if it has any - // information available, such as the stdout and stderr of a timed-out action. - Status *status.Status `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` - // An optional list of additional log outputs the server wishes to provide. A - // server can use this to return execution-specific logs however it wishes. - // This is intended primarily to make it easier for users to debug issues that - // may be outside of the actual job execution, such as by identifying the - // worker executing the action or by providing logs from the worker's setup - // phase. The keys SHOULD be human readable so that a client can display them - // to a user. - ServerLogs map[string]*LogFile `protobuf:"bytes,4,rep,name=server_logs,json=serverLogs,proto3" json:"server_logs,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 *ExecuteResponse) Reset() { *m = ExecuteResponse{} } -func (m *ExecuteResponse) String() string { return proto.CompactTextString(m) } -func (*ExecuteResponse) ProtoMessage() {} -func (*ExecuteResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1fc46b2dca8a7fdb, []int{13} -} - -func (m *ExecuteResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecuteResponse.Unmarshal(m, b) -} -func (m *ExecuteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecuteResponse.Marshal(b, m, deterministic) -} -func (m *ExecuteResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecuteResponse.Merge(m, src) -} -func (m *ExecuteResponse) XXX_Size() int { - return xxx_messageInfo_ExecuteResponse.Size(m) -} -func (m *ExecuteResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ExecuteResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ExecuteResponse proto.InternalMessageInfo - -func (m *ExecuteResponse) GetResult() *ActionResult { - if m != nil { - return m.Result - } - return nil -} - -func (m *ExecuteResponse) GetCachedResult() bool { - if m != nil { - return m.CachedResult - } - return false -} - -func (m *ExecuteResponse) GetStatus() *status.Status { - if m != nil { - return m.Status - } - return nil -} - -func (m *ExecuteResponse) GetServerLogs() map[string]*LogFile { - if m != nil { - return m.ServerLogs - } - return nil -} - -// Metadata about an ongoing -// [execution][google.devtools.remoteexecution.v1test.Execution.Execute], which -// will be contained in the [metadata -// field][google.longrunning.Operation.response] of the -// [Operation][google.longrunning.Operation]. -type ExecuteOperationMetadata struct { - Stage ExecuteOperationMetadata_Stage `protobuf:"varint,1,opt,name=stage,proto3,enum=google.devtools.remoteexecution.v1test.ExecuteOperationMetadata_Stage" json:"stage,omitempty"` - // The digest of the [Action][google.devtools.remoteexecution.v1test.Action] - // being executed. - ActionDigest *Digest `protobuf:"bytes,2,opt,name=action_digest,json=actionDigest,proto3" json:"action_digest,omitempty"` - // If set, the client can use this name with - // [ByteStream.Read][google.bytestream.ByteStream.Read] to stream the - // standard output. - StdoutStreamName string `protobuf:"bytes,3,opt,name=stdout_stream_name,json=stdoutStreamName,proto3" json:"stdout_stream_name,omitempty"` - // If set, the client can use this name with - // [ByteStream.Read][google.bytestream.ByteStream.Read] to stream the - // standard error. - StderrStreamName string `protobuf:"bytes,4,opt,name=stderr_stream_name,json=stderrStreamName,proto3" json:"stderr_stream_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExecuteOperationMetadata) Reset() { *m = ExecuteOperationMetadata{} } -func (m *ExecuteOperationMetadata) String() string { return proto.CompactTextString(m) } -func (*ExecuteOperationMetadata) ProtoMessage() {} -func (*ExecuteOperationMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_1fc46b2dca8a7fdb, []int{14} -} - -func (m *ExecuteOperationMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecuteOperationMetadata.Unmarshal(m, b) -} -func (m *ExecuteOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecuteOperationMetadata.Marshal(b, m, deterministic) -} -func (m *ExecuteOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecuteOperationMetadata.Merge(m, src) -} -func (m *ExecuteOperationMetadata) XXX_Size() int { - return xxx_messageInfo_ExecuteOperationMetadata.Size(m) -} -func (m *ExecuteOperationMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_ExecuteOperationMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_ExecuteOperationMetadata proto.InternalMessageInfo - -func (m *ExecuteOperationMetadata) GetStage() ExecuteOperationMetadata_Stage { - if m != nil { - return m.Stage - } - return ExecuteOperationMetadata_UNKNOWN -} - -func (m *ExecuteOperationMetadata) GetActionDigest() *Digest { - if m != nil { - return m.ActionDigest - } - return nil -} - -func (m *ExecuteOperationMetadata) GetStdoutStreamName() string { - if m != nil { - return m.StdoutStreamName - } - return "" -} - -func (m *ExecuteOperationMetadata) GetStderrStreamName() string { - if m != nil { - return m.StderrStreamName - } - return "" -} - -// A request message for -// [ActionCache.GetActionResult][google.devtools.remoteexecution.v1test.ActionCache.GetActionResult]. -type GetActionResultRequest struct { - // The instance of the execution system to operate against. A server may - // support multiple instances of the execution system (with their own workers, - // storage, caches, etc.). The server MAY require use of this field to select - // between them in an implementation-defined fashion, otherwise it can be - // omitted. - InstanceName string `protobuf:"bytes,1,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty"` - // The digest of the [Action][google.devtools.remoteexecution.v1test.Action] - // whose result is requested. - ActionDigest *Digest `protobuf:"bytes,2,opt,name=action_digest,json=actionDigest,proto3" json:"action_digest,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1fc46b2dca8a7fdb, []int{15} -} - -func (m *GetActionResultRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetActionResultRequest.Unmarshal(m, b) -} -func (m *GetActionResultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetActionResultRequest.Marshal(b, m, deterministic) -} -func (m *GetActionResultRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetActionResultRequest.Merge(m, src) -} -func (m *GetActionResultRequest) XXX_Size() int { - return xxx_messageInfo_GetActionResultRequest.Size(m) -} -func (m *GetActionResultRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetActionResultRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetActionResultRequest proto.InternalMessageInfo - -func (m *GetActionResultRequest) GetInstanceName() string { - if m != nil { - return m.InstanceName - } - return "" -} - -func (m *GetActionResultRequest) GetActionDigest() *Digest { - if m != nil { - return m.ActionDigest - } - return nil -} - -// A request message for -// [ActionCache.UpdateActionResult][google.devtools.remoteexecution.v1test.ActionCache.UpdateActionResult]. -type UpdateActionResultRequest struct { - // The instance of the execution system to operate against. A server may - // support multiple instances of the execution system (with their own workers, - // storage, caches, etc.). The server MAY require use of this field to select - // between them in an implementation-defined fashion, otherwise it can be - // omitted. - InstanceName string `protobuf:"bytes,1,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty"` - // The digest of the [Action][google.devtools.remoteexecution.v1test.Action] - // whose result is being uploaded. - ActionDigest *Digest `protobuf:"bytes,2,opt,name=action_digest,json=actionDigest,proto3" json:"action_digest,omitempty"` - // The [ActionResult][google.devtools.remoteexecution.v1test.ActionResult] - // to store in the cache. - ActionResult *ActionResult `protobuf:"bytes,3,opt,name=action_result,json=actionResult,proto3" json:"action_result,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpdateActionResultRequest) Reset() { *m = UpdateActionResultRequest{} } -func (m *UpdateActionResultRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateActionResultRequest) ProtoMessage() {} -func (*UpdateActionResultRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1fc46b2dca8a7fdb, []int{16} -} - -func (m *UpdateActionResultRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateActionResultRequest.Unmarshal(m, b) -} -func (m *UpdateActionResultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateActionResultRequest.Marshal(b, m, deterministic) -} -func (m *UpdateActionResultRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateActionResultRequest.Merge(m, src) -} -func (m *UpdateActionResultRequest) XXX_Size() int { - return xxx_messageInfo_UpdateActionResultRequest.Size(m) -} -func (m *UpdateActionResultRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateActionResultRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateActionResultRequest proto.InternalMessageInfo - -func (m *UpdateActionResultRequest) GetInstanceName() string { - if m != nil { - return m.InstanceName - } - return "" -} - -func (m *UpdateActionResultRequest) GetActionDigest() *Digest { - if m != nil { - return m.ActionDigest - } - return nil -} - -func (m *UpdateActionResultRequest) GetActionResult() *ActionResult { - if m != nil { - return m.ActionResult - } - return nil -} - -// A request message for -// [ContentAddressableStorage.FindMissingBlobs][google.devtools.remoteexecution.v1test.ContentAddressableStorage.FindMissingBlobs]. -type FindMissingBlobsRequest struct { - // The instance of the execution system to operate against. A server may - // support multiple instances of the execution system (with their own workers, - // storage, caches, etc.). The server MAY require use of this field to select - // between them in an implementation-defined fashion, otherwise it can be - // omitted. - InstanceName string `protobuf:"bytes,1,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty"` - // A list of the blobs to check. - BlobDigests []*Digest `protobuf:"bytes,2,rep,name=blob_digests,json=blobDigests,proto3" json:"blob_digests,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1fc46b2dca8a7fdb, []int{17} -} - -func (m *FindMissingBlobsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindMissingBlobsRequest.Unmarshal(m, b) -} -func (m *FindMissingBlobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindMissingBlobsRequest.Marshal(b, m, deterministic) -} -func (m *FindMissingBlobsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindMissingBlobsRequest.Merge(m, src) -} -func (m *FindMissingBlobsRequest) XXX_Size() int { - return xxx_messageInfo_FindMissingBlobsRequest.Size(m) -} -func (m *FindMissingBlobsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FindMissingBlobsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_FindMissingBlobsRequest proto.InternalMessageInfo - -func (m *FindMissingBlobsRequest) GetInstanceName() string { - if m != nil { - return m.InstanceName - } - return "" -} - -func (m *FindMissingBlobsRequest) GetBlobDigests() []*Digest { - if m != nil { - return m.BlobDigests - } - return nil -} - -// A response message for -// [ContentAddressableStorage.FindMissingBlobs][google.devtools.remoteexecution.v1test.ContentAddressableStorage.FindMissingBlobs]. -type FindMissingBlobsResponse struct { - // A list of the blobs requested *not* present in the storage. - MissingBlobDigests []*Digest `protobuf:"bytes,2,rep,name=missing_blob_digests,json=missingBlobDigests,proto3" json:"missing_blob_digests,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FindMissingBlobsResponse) Reset() { *m = FindMissingBlobsResponse{} } -func (m *FindMissingBlobsResponse) String() string { return proto.CompactTextString(m) } -func (*FindMissingBlobsResponse) ProtoMessage() {} -func (*FindMissingBlobsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1fc46b2dca8a7fdb, []int{18} -} - -func (m *FindMissingBlobsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindMissingBlobsResponse.Unmarshal(m, b) -} -func (m *FindMissingBlobsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindMissingBlobsResponse.Marshal(b, m, deterministic) -} -func (m *FindMissingBlobsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindMissingBlobsResponse.Merge(m, src) -} -func (m *FindMissingBlobsResponse) XXX_Size() int { - return xxx_messageInfo_FindMissingBlobsResponse.Size(m) -} -func (m *FindMissingBlobsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FindMissingBlobsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_FindMissingBlobsResponse proto.InternalMessageInfo - -func (m *FindMissingBlobsResponse) GetMissingBlobDigests() []*Digest { - if m != nil { - return m.MissingBlobDigests - } - return nil -} - -// A single request message for -// [ContentAddressableStorage.BatchUpdateBlobs][google.devtools.remoteexecution.v1test.ContentAddressableStorage.BatchUpdateBlobs]. -type UpdateBlobRequest struct { - // The digest of the blob. This MUST be the digest of `data`. - ContentDigest *Digest `protobuf:"bytes,1,opt,name=content_digest,json=contentDigest,proto3" json:"content_digest,omitempty"` - // The raw binary data. - Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1fc46b2dca8a7fdb, []int{19} -} - -func (m *UpdateBlobRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateBlobRequest.Unmarshal(m, b) -} -func (m *UpdateBlobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateBlobRequest.Marshal(b, m, deterministic) -} -func (m *UpdateBlobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateBlobRequest.Merge(m, src) -} -func (m *UpdateBlobRequest) XXX_Size() int { - return xxx_messageInfo_UpdateBlobRequest.Size(m) -} -func (m *UpdateBlobRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateBlobRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateBlobRequest proto.InternalMessageInfo - -func (m *UpdateBlobRequest) GetContentDigest() *Digest { - if m != nil { - return m.ContentDigest - } - return nil -} - -func (m *UpdateBlobRequest) GetData() []byte { - if m != nil { - return m.Data - } - return nil -} - -// A request message for -// [ContentAddressableStorage.BatchUpdateBlobs][google.devtools.remoteexecution.v1test.ContentAddressableStorage.BatchUpdateBlobs]. -type BatchUpdateBlobsRequest struct { - // The instance of the execution system to operate against. A server may - // support multiple instances of the execution system (with their own workers, - // storage, caches, etc.). The server MAY require use of this field to select - // between them in an implementation-defined fashion, otherwise it can be - // omitted. - InstanceName string `protobuf:"bytes,1,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty"` - // The individual upload requests. - Requests []*UpdateBlobRequest `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1fc46b2dca8a7fdb, []int{20} -} - -func (m *BatchUpdateBlobsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchUpdateBlobsRequest.Unmarshal(m, b) -} -func (m *BatchUpdateBlobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchUpdateBlobsRequest.Marshal(b, m, deterministic) -} -func (m *BatchUpdateBlobsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchUpdateBlobsRequest.Merge(m, src) -} -func (m *BatchUpdateBlobsRequest) XXX_Size() int { - return xxx_messageInfo_BatchUpdateBlobsRequest.Size(m) -} -func (m *BatchUpdateBlobsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchUpdateBlobsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchUpdateBlobsRequest proto.InternalMessageInfo - -func (m *BatchUpdateBlobsRequest) GetInstanceName() string { - if m != nil { - return m.InstanceName - } - return "" -} - -func (m *BatchUpdateBlobsRequest) GetRequests() []*UpdateBlobRequest { - if m != nil { - return m.Requests - } - return nil -} - -// A response message for -// [ContentAddressableStorage.BatchUpdateBlobs][google.devtools.remoteexecution.v1test.ContentAddressableStorage.BatchUpdateBlobs]. -type BatchUpdateBlobsResponse struct { - // The responses to the requests. - Responses []*BatchUpdateBlobsResponse_Response `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchUpdateBlobsResponse) Reset() { *m = BatchUpdateBlobsResponse{} } -func (m *BatchUpdateBlobsResponse) String() string { return proto.CompactTextString(m) } -func (*BatchUpdateBlobsResponse) ProtoMessage() {} -func (*BatchUpdateBlobsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1fc46b2dca8a7fdb, []int{21} -} - -func (m *BatchUpdateBlobsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchUpdateBlobsResponse.Unmarshal(m, b) -} -func (m *BatchUpdateBlobsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchUpdateBlobsResponse.Marshal(b, m, deterministic) -} -func (m *BatchUpdateBlobsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchUpdateBlobsResponse.Merge(m, src) -} -func (m *BatchUpdateBlobsResponse) XXX_Size() int { - return xxx_messageInfo_BatchUpdateBlobsResponse.Size(m) -} -func (m *BatchUpdateBlobsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BatchUpdateBlobsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchUpdateBlobsResponse proto.InternalMessageInfo - -func (m *BatchUpdateBlobsResponse) GetResponses() []*BatchUpdateBlobsResponse_Response { - if m != nil { - return m.Responses - } - return nil -} - -// A response corresponding to a single blob that the client tried to upload. -type BatchUpdateBlobsResponse_Response struct { - // The digest to which this response corresponds. - BlobDigest *Digest `protobuf:"bytes,1,opt,name=blob_digest,json=blobDigest,proto3" json:"blob_digest,omitempty"` - // The result of attempting to upload that blob. - Status *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchUpdateBlobsResponse_Response) Reset() { *m = BatchUpdateBlobsResponse_Response{} } -func (m *BatchUpdateBlobsResponse_Response) String() string { return proto.CompactTextString(m) } -func (*BatchUpdateBlobsResponse_Response) ProtoMessage() {} -func (*BatchUpdateBlobsResponse_Response) Descriptor() ([]byte, []int) { - return fileDescriptor_1fc46b2dca8a7fdb, []int{21, 0} -} - -func (m *BatchUpdateBlobsResponse_Response) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchUpdateBlobsResponse_Response.Unmarshal(m, b) -} -func (m *BatchUpdateBlobsResponse_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchUpdateBlobsResponse_Response.Marshal(b, m, deterministic) -} -func (m *BatchUpdateBlobsResponse_Response) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchUpdateBlobsResponse_Response.Merge(m, src) -} -func (m *BatchUpdateBlobsResponse_Response) XXX_Size() int { - return xxx_messageInfo_BatchUpdateBlobsResponse_Response.Size(m) -} -func (m *BatchUpdateBlobsResponse_Response) XXX_DiscardUnknown() { - xxx_messageInfo_BatchUpdateBlobsResponse_Response.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchUpdateBlobsResponse_Response proto.InternalMessageInfo - -func (m *BatchUpdateBlobsResponse_Response) GetBlobDigest() *Digest { - if m != nil { - return m.BlobDigest - } - return nil -} - -func (m *BatchUpdateBlobsResponse_Response) GetStatus() *status.Status { - if m != nil { - return m.Status - } - return nil -} - -// A request message for -// [ContentAddressableStorage.GetTree][google.devtools.remoteexecution.v1test.ContentAddressableStorage.GetTree]. -type GetTreeRequest struct { - // The instance of the execution system to operate against. A server may - // support multiple instances of the execution system (with their own workers, - // storage, caches, etc.). The server MAY require use of this field to select - // between them in an implementation-defined fashion, otherwise it can be - // omitted. - InstanceName string `protobuf:"bytes,1,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty"` - // The digest of the root, which must be an encoded - // [Directory][google.devtools.remoteexecution.v1test.Directory] message - // stored in the - // [ContentAddressableStorage][google.devtools.remoteexecution.v1test.ContentAddressableStorage]. - RootDigest *Digest `protobuf:"bytes,2,opt,name=root_digest,json=rootDigest,proto3" json:"root_digest,omitempty"` - // A maximum page size to request. If present, the server will request no more - // than this many items. Regardless of whether a page size is specified, the - // server may place its own limit on the number of items to be returned and - // require the client to retrieve more items using a subsequent request. - PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // A page token, which must be a value received in a previous - // [GetTreeResponse][google.devtools.remoteexecution.v1test.GetTreeResponse]. - // If present, the server will use it to return the following 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 *GetTreeRequest) Reset() { *m = GetTreeRequest{} } -func (m *GetTreeRequest) String() string { return proto.CompactTextString(m) } -func (*GetTreeRequest) ProtoMessage() {} -func (*GetTreeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1fc46b2dca8a7fdb, []int{22} -} - -func (m *GetTreeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTreeRequest.Unmarshal(m, b) -} -func (m *GetTreeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTreeRequest.Marshal(b, m, deterministic) -} -func (m *GetTreeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTreeRequest.Merge(m, src) -} -func (m *GetTreeRequest) XXX_Size() int { - return xxx_messageInfo_GetTreeRequest.Size(m) -} -func (m *GetTreeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTreeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetTreeRequest proto.InternalMessageInfo - -func (m *GetTreeRequest) GetInstanceName() string { - if m != nil { - return m.InstanceName - } - return "" -} - -func (m *GetTreeRequest) GetRootDigest() *Digest { - if m != nil { - return m.RootDigest - } - return nil -} - -func (m *GetTreeRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *GetTreeRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// A response message for -// [ContentAddressableStorage.GetTree][google.devtools.remoteexecution.v1test.ContentAddressableStorage.GetTree]. -type GetTreeResponse struct { - // The directories descended from the requested root. - Directories []*Directory `protobuf:"bytes,1,rep,name=directories,proto3" json:"directories,omitempty"` - // If present, signifies that there are more results which the client can - // retrieve by passing this as the page_token in a subsequent - // [request][google.devtools.remoteexecution.v1test.GetTreeRequest]. - // If empty, signifies that this is the last page of 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 *GetTreeResponse) Reset() { *m = GetTreeResponse{} } -func (m *GetTreeResponse) String() string { return proto.CompactTextString(m) } -func (*GetTreeResponse) ProtoMessage() {} -func (*GetTreeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1fc46b2dca8a7fdb, []int{23} -} - -func (m *GetTreeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTreeResponse.Unmarshal(m, b) -} -func (m *GetTreeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTreeResponse.Marshal(b, m, deterministic) -} -func (m *GetTreeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTreeResponse.Merge(m, src) -} -func (m *GetTreeResponse) XXX_Size() int { - return xxx_messageInfo_GetTreeResponse.Size(m) -} -func (m *GetTreeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetTreeResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GetTreeResponse proto.InternalMessageInfo - -func (m *GetTreeResponse) GetDirectories() []*Directory { - if m != nil { - return m.Directories - } - return nil -} - -func (m *GetTreeResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Details for the tool used to call the API. -type ToolDetails struct { - // Name of the tool, e.g. bazel. - ToolName string `protobuf:"bytes,1,opt,name=tool_name,json=toolName,proto3" json:"tool_name,omitempty"` - // Version of the tool used for the request, e.g. 5.0.3. - ToolVersion string `protobuf:"bytes,2,opt,name=tool_version,json=toolVersion,proto3" json:"tool_version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1fc46b2dca8a7fdb, []int{24} -} - -func (m *ToolDetails) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ToolDetails.Unmarshal(m, b) -} -func (m *ToolDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ToolDetails.Marshal(b, m, deterministic) -} -func (m *ToolDetails) XXX_Merge(src proto.Message) { - xxx_messageInfo_ToolDetails.Merge(m, src) -} -func (m *ToolDetails) XXX_Size() int { - return xxx_messageInfo_ToolDetails.Size(m) -} -func (m *ToolDetails) XXX_DiscardUnknown() { - xxx_messageInfo_ToolDetails.DiscardUnknown(m) -} - -var xxx_messageInfo_ToolDetails proto.InternalMessageInfo - -func (m *ToolDetails) GetToolName() string { - if m != nil { - return m.ToolName - } - return "" -} - -func (m *ToolDetails) GetToolVersion() string { - if m != nil { - return m.ToolVersion - } - return "" -} - -// An optional Metadata to attach to any RPC request to tell the server about an -// external context of the request. The server may use this for logging or other -// purposes. To use it, the client attaches the header to the call using the -// canonical proto serialization: -// name: google.devtools.remoteexecution.v1test.requestmetadata-bin -// contents: the base64 encoded binary RequestMetadata message. -type RequestMetadata struct { - // The details for the tool invoking the requests. - ToolDetails *ToolDetails `protobuf:"bytes,1,opt,name=tool_details,json=toolDetails,proto3" json:"tool_details,omitempty"` - // An identifier that ties multiple requests to the same action. - // For example, multiple requests to the CAS, Action Cache, and Execution - // API are used in order to compile foo.cc. - ActionId string `protobuf:"bytes,2,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` - // An identifier that ties multiple actions together to a final result. - // For example, multiple actions are required to build and run foo_test. - ToolInvocationId string `protobuf:"bytes,3,opt,name=tool_invocation_id,json=toolInvocationId,proto3" json:"tool_invocation_id,omitempty"` - // An identifier to tie multiple tool invocations together. For example, - // runs of foo_test, bar_test and baz_test on a post-submit of a given patch. - CorrelatedInvocationsId string `protobuf:"bytes,4,opt,name=correlated_invocations_id,json=correlatedInvocationsId,proto3" json:"correlated_invocations_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1fc46b2dca8a7fdb, []int{25} -} - -func (m *RequestMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RequestMetadata.Unmarshal(m, b) -} -func (m *RequestMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RequestMetadata.Marshal(b, m, deterministic) -} -func (m *RequestMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_RequestMetadata.Merge(m, src) -} -func (m *RequestMetadata) XXX_Size() int { - return xxx_messageInfo_RequestMetadata.Size(m) -} -func (m *RequestMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_RequestMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_RequestMetadata proto.InternalMessageInfo - -func (m *RequestMetadata) GetToolDetails() *ToolDetails { - if m != nil { - return m.ToolDetails - } - return nil -} - -func (m *RequestMetadata) GetActionId() string { - if m != nil { - return m.ActionId - } - return "" -} - -func (m *RequestMetadata) GetToolInvocationId() string { - if m != nil { - return m.ToolInvocationId - } - return "" -} - -func (m *RequestMetadata) GetCorrelatedInvocationsId() string { - if m != nil { - return m.CorrelatedInvocationsId - } - return "" -} - -func init() { - proto.RegisterEnum("google.devtools.remoteexecution.v1test.ExecuteOperationMetadata_Stage", ExecuteOperationMetadata_Stage_name, ExecuteOperationMetadata_Stage_value) - proto.RegisterType((*Action)(nil), "google.devtools.remoteexecution.v1test.Action") - proto.RegisterType((*Command)(nil), "google.devtools.remoteexecution.v1test.Command") - proto.RegisterType((*Command_EnvironmentVariable)(nil), "google.devtools.remoteexecution.v1test.Command.EnvironmentVariable") - proto.RegisterType((*Platform)(nil), "google.devtools.remoteexecution.v1test.Platform") - proto.RegisterType((*Platform_Property)(nil), "google.devtools.remoteexecution.v1test.Platform.Property") - proto.RegisterType((*Directory)(nil), "google.devtools.remoteexecution.v1test.Directory") - proto.RegisterType((*FileNode)(nil), "google.devtools.remoteexecution.v1test.FileNode") - proto.RegisterType((*DirectoryNode)(nil), "google.devtools.remoteexecution.v1test.DirectoryNode") - proto.RegisterType((*Digest)(nil), "google.devtools.remoteexecution.v1test.Digest") - proto.RegisterType((*ActionResult)(nil), "google.devtools.remoteexecution.v1test.ActionResult") - proto.RegisterType((*OutputFile)(nil), "google.devtools.remoteexecution.v1test.OutputFile") - proto.RegisterType((*Tree)(nil), "google.devtools.remoteexecution.v1test.Tree") - proto.RegisterType((*OutputDirectory)(nil), "google.devtools.remoteexecution.v1test.OutputDirectory") - proto.RegisterType((*ExecuteRequest)(nil), "google.devtools.remoteexecution.v1test.ExecuteRequest") - proto.RegisterType((*LogFile)(nil), "google.devtools.remoteexecution.v1test.LogFile") - proto.RegisterType((*ExecuteResponse)(nil), "google.devtools.remoteexecution.v1test.ExecuteResponse") - proto.RegisterMapType((map[string]*LogFile)(nil), "google.devtools.remoteexecution.v1test.ExecuteResponse.ServerLogsEntry") - proto.RegisterType((*ExecuteOperationMetadata)(nil), "google.devtools.remoteexecution.v1test.ExecuteOperationMetadata") - proto.RegisterType((*GetActionResultRequest)(nil), "google.devtools.remoteexecution.v1test.GetActionResultRequest") - proto.RegisterType((*UpdateActionResultRequest)(nil), "google.devtools.remoteexecution.v1test.UpdateActionResultRequest") - proto.RegisterType((*FindMissingBlobsRequest)(nil), "google.devtools.remoteexecution.v1test.FindMissingBlobsRequest") - proto.RegisterType((*FindMissingBlobsResponse)(nil), "google.devtools.remoteexecution.v1test.FindMissingBlobsResponse") - proto.RegisterType((*UpdateBlobRequest)(nil), "google.devtools.remoteexecution.v1test.UpdateBlobRequest") - proto.RegisterType((*BatchUpdateBlobsRequest)(nil), "google.devtools.remoteexecution.v1test.BatchUpdateBlobsRequest") - proto.RegisterType((*BatchUpdateBlobsResponse)(nil), "google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse") - proto.RegisterType((*BatchUpdateBlobsResponse_Response)(nil), "google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response") - proto.RegisterType((*GetTreeRequest)(nil), "google.devtools.remoteexecution.v1test.GetTreeRequest") - proto.RegisterType((*GetTreeResponse)(nil), "google.devtools.remoteexecution.v1test.GetTreeResponse") - proto.RegisterType((*ToolDetails)(nil), "google.devtools.remoteexecution.v1test.ToolDetails") - proto.RegisterType((*RequestMetadata)(nil), "google.devtools.remoteexecution.v1test.RequestMetadata") -} - -func init() { - proto.RegisterFile("google/devtools/remoteexecution/v1test/remote_execution.proto", fileDescriptor_1fc46b2dca8a7fdb) -} - -var fileDescriptor_1fc46b2dca8a7fdb = []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, - 0xa2, 0x8a, 0xa2, 0x62, 0xb3, 0xde, 0x96, 0x85, 0x54, 0xa5, 0x6c, 0x1c, 0x27, 0x8d, 0x9a, 0xaf, - 0x4e, 0xe2, 0x74, 0xbb, 0xaa, 0x34, 0x9d, 0x78, 0x6e, 0xc6, 0xa3, 0xd8, 0x73, 0xcd, 0xbd, 0xd7, - 0x69, 0xd2, 0x65, 0x79, 0xe0, 0x05, 0x09, 0x04, 0x12, 0x54, 0x08, 0x24, 0x78, 0x42, 0x42, 0x48, - 0x88, 0x27, 0xfe, 0x00, 0x24, 0xf8, 0x03, 0x78, 0x80, 0x17, 0x9e, 0x11, 0x2f, 0xbc, 0xf1, 0xdc, - 0x07, 0x84, 0xee, 0xc7, 0x7c, 0xd8, 0xc9, 0xb2, 0x63, 0x67, 0x57, 0xe2, 0xcd, 0x73, 0xce, 0x3d, - 0xbf, 0xf3, 0x79, 0xcf, 0x39, 0x33, 0x86, 0xb7, 0x3d, 0x42, 0xbc, 0x1e, 0xae, 0xbb, 0xf8, 0x94, - 0x13, 0xd2, 0x63, 0x75, 0x8a, 0xfb, 0x84, 0x63, 0x7c, 0x86, 0x3b, 0x43, 0xee, 0x93, 0xa0, 0x7e, - 0x7a, 0x87, 0x63, 0xc6, 0x35, 0xd9, 0x8e, 0xe8, 0xb5, 0x01, 0x25, 0x9c, 0xa0, 0xd7, 0x94, 0x78, - 0x2d, 0x14, 0xaf, 0x8d, 0x89, 0xd7, 0x94, 0x78, 0xf5, 0x65, 0xad, 0xc6, 0x19, 0xf8, 0x75, 0x27, - 0x08, 0x08, 0x77, 0x04, 0x97, 0x29, 0x94, 0xea, 0xab, 0x9a, 0xdb, 0x23, 0x81, 0x47, 0x87, 0x41, - 0xe0, 0x07, 0x5e, 0x9d, 0x0c, 0x30, 0x1d, 0x39, 0xf4, 0x25, 0x7d, 0x48, 0x3e, 0x1d, 0x0d,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0x4d, 0x0f, 0xa0, 0x3a, 0xa3, 0x79, - 0x4f, 0x86, 0xe9, 0x8e, 0xf9, 0xfa, 0xff, 0x08, 0x93, 0x98, 0x26, 0x6c, 0xe5, 0x38, 0x86, 0x58, - 0x31, 0x96, 0xa5, 0x43, 0xe3, 0x63, 0x2e, 0xbd, 0x43, 0x4f, 0xd8, 0x06, 0xd2, 0x3b, 0xf4, 0xa4, - 0x09, 0x3b, 0x81, 0x43, 0x47, 0x31, 0x84, 0x70, 0xe8, 0xef, 0x06, 0xe4, 0xf4, 0xdc, 0x48, 0xdf, - 0x56, 0x46, 0xa7, 0x65, 0xf5, 0xde, 0xc4, 0x72, 0xda, 0xea, 0x8f, 0xa4, 0xd5, 0x87, 0xe8, 0xe0, - 0x69, 0x56, 0xd7, 0x1f, 0x25, 0x26, 0x6d, 0x58, 0xa3, 0x49, 0x52, 0xb2, 0x42, 0x3d, 0xa5, 0x65, - 0xf5, 0x4f, 0x06, 0x2c, 0x77, 0x48, 0x3f, 0xa5, 0x71, 0xab, 0x37, 0x2c, 0x49, 0x8f, 0x3a, 0xee, - 0x1e, 0x25, 0x9c, 0xec, 0x19, 0x0f, 0xdb, 0x5a, 0xde, 0x23, 0x3d, 0x27, 0xf0, 0x6a, 0x84, 0x7a, - 0x75, 0x0f, 0x07, 0xf2, 0x6f, 0x91, 0xba, 0x62, 0x39, 0x03, 0x9f, 0x3d, 0xed, 0xaf, 0xb7, 0xb7, - 0xc6, 0xc8, 0xbf, 0xce, 0x64, 0xad, 0xd6, 0x83, 0xdf, 0x65, 0x6e, 0x6f, 0x28, 0xf4, 0x31, 0xe5, - 0xb5, 0xc3, 0x3b, 0x07, 0x98, 0xf1, 0xa3, 0x39, 0xa9, 0xe7, 0xee, 0x7f, 0x03, 0x00, 0x00, 0xff, - 0xff, 0xf0, 0x8a, 0x2f, 0x43, 0xe1, 0x1b, 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 - -// ExecutionClient is the client API for Execution service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ExecutionClient interface { - // Execute an action remotely. - // - // In order to execute an action, the client must first upload all of the - // inputs, as well as the - // [Command][google.devtools.remoteexecution.v1test.Command] to run, into the - // [ContentAddressableStorage][google.devtools.remoteexecution.v1test.ContentAddressableStorage]. - // It then calls `Execute` with an - // [Action][google.devtools.remoteexecution.v1test.Action] referring to them. - // The server will run the action and eventually return the result. - // - // The input `Action`'s fields MUST meet the various canonicalization - // requirements specified in the documentation for their types so that it has - // the same digest as other logically equivalent `Action`s. The server MAY - // enforce the requirements and return errors if a non-canonical input is - // received. It MAY also proceed without verifying some or all of the - // requirements, such as for performance reasons. If the server does not - // verify the requirement, then it will treat the `Action` as distinct from - // another logically equivalent action if they hash differently. - // - // Returns a [google.longrunning.Operation][google.longrunning.Operation] - // describing the resulting execution, with eventual `response` - // [ExecuteResponse][google.devtools.remoteexecution.v1test.ExecuteResponse]. - // The `metadata` on the operation is of type - // [ExecuteOperationMetadata][google.devtools.remoteexecution.v1test.ExecuteOperationMetadata]. - // - // To query the operation, you can use the - // [Operations API][google.longrunning.Operations.GetOperation]. If you wish - // to allow the server to stream operations updates, rather than requiring - // client polling, you can use the - // [Watcher API][google.watcher.v1.Watcher.Watch] with the Operation's `name` - // as the `target`. - // - // When using the Watcher API, the initial `data` will be the `Operation` at - // the time of the request. Updates will be provided periodically by the - // server until the `Operation` completes, at which point the response message - // will (assuming no error) be at `data.response`. - // - // The server NEED NOT implement other methods or functionality of the - // Operation and Watcher APIs. - // - // Errors discovered during creation of the `Operation` will be reported - // as gRPC Status errors, while errors that occurred while running the - // action will be reported in the `status` field of the `ExecuteResponse`. The - // server MUST NOT set the `error` field of the `Operation` proto. - // The possible errors include: - // * `INVALID_ARGUMENT`: One or more arguments are invalid. - // * `FAILED_PRECONDITION`: One or more errors occurred in setting up the - // action requested, such as a missing input or command or no worker being - // available. The client may be able to fix the errors and retry. - // * `RESOURCE_EXHAUSTED`: There is insufficient quota of some resource to run - // the action. - // * `UNAVAILABLE`: Due to a transient condition, such as all workers being - // occupied (and the server does not support a queue), the action could not - // be started. The client should retry. - // * `INTERNAL`: An internal error occurred in the execution engine or the - // worker. - // * `DEADLINE_EXCEEDED`: The execution timed out. - // - // In the case of a missing input or command, the server SHOULD additionally - // send a [PreconditionFailure][google.rpc.PreconditionFailure] error detail - // where, for each requested blob not present in the CAS, there is a - // `Violation` with a `type` of `MISSING` and a `subject` of - // `"blobs/{hash}/{size}"` indicating the digest of the missing blob. - Execute(ctx context.Context, in *ExecuteRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) -} - -type executionClient struct { - cc *grpc.ClientConn -} - -func NewExecutionClient(cc *grpc.ClientConn) ExecutionClient { - return &executionClient{cc} -} - -func (c *executionClient) Execute(ctx context.Context, in *ExecuteRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.devtools.remoteexecution.v1test.Execution/Execute", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ExecutionServer is the server API for Execution service. -type ExecutionServer interface { - // Execute an action remotely. - // - // In order to execute an action, the client must first upload all of the - // inputs, as well as the - // [Command][google.devtools.remoteexecution.v1test.Command] to run, into the - // [ContentAddressableStorage][google.devtools.remoteexecution.v1test.ContentAddressableStorage]. - // It then calls `Execute` with an - // [Action][google.devtools.remoteexecution.v1test.Action] referring to them. - // The server will run the action and eventually return the result. - // - // The input `Action`'s fields MUST meet the various canonicalization - // requirements specified in the documentation for their types so that it has - // the same digest as other logically equivalent `Action`s. The server MAY - // enforce the requirements and return errors if a non-canonical input is - // received. It MAY also proceed without verifying some or all of the - // requirements, such as for performance reasons. If the server does not - // verify the requirement, then it will treat the `Action` as distinct from - // another logically equivalent action if they hash differently. - // - // Returns a [google.longrunning.Operation][google.longrunning.Operation] - // describing the resulting execution, with eventual `response` - // [ExecuteResponse][google.devtools.remoteexecution.v1test.ExecuteResponse]. - // The `metadata` on the operation is of type - // [ExecuteOperationMetadata][google.devtools.remoteexecution.v1test.ExecuteOperationMetadata]. - // - // To query the operation, you can use the - // [Operations API][google.longrunning.Operations.GetOperation]. If you wish - // to allow the server to stream operations updates, rather than requiring - // client polling, you can use the - // [Watcher API][google.watcher.v1.Watcher.Watch] with the Operation's `name` - // as the `target`. - // - // When using the Watcher API, the initial `data` will be the `Operation` at - // the time of the request. Updates will be provided periodically by the - // server until the `Operation` completes, at which point the response message - // will (assuming no error) be at `data.response`. - // - // The server NEED NOT implement other methods or functionality of the - // Operation and Watcher APIs. - // - // Errors discovered during creation of the `Operation` will be reported - // as gRPC Status errors, while errors that occurred while running the - // action will be reported in the `status` field of the `ExecuteResponse`. The - // server MUST NOT set the `error` field of the `Operation` proto. - // The possible errors include: - // * `INVALID_ARGUMENT`: One or more arguments are invalid. - // * `FAILED_PRECONDITION`: One or more errors occurred in setting up the - // action requested, such as a missing input or command or no worker being - // available. The client may be able to fix the errors and retry. - // * `RESOURCE_EXHAUSTED`: There is insufficient quota of some resource to run - // the action. - // * `UNAVAILABLE`: Due to a transient condition, such as all workers being - // occupied (and the server does not support a queue), the action could not - // be started. The client should retry. - // * `INTERNAL`: An internal error occurred in the execution engine or the - // worker. - // * `DEADLINE_EXCEEDED`: The execution timed out. - // - // In the case of a missing input or command, the server SHOULD additionally - // send a [PreconditionFailure][google.rpc.PreconditionFailure] error detail - // where, for each requested blob not present in the CAS, there is a - // `Violation` with a `type` of `MISSING` and a `subject` of - // `"blobs/{hash}/{size}"` indicating the digest of the missing blob. - Execute(context.Context, *ExecuteRequest) (*longrunning.Operation, error) -} - -// UnimplementedExecutionServer can be embedded to have forward compatible implementations. -type UnimplementedExecutionServer struct { -} - -func (*UnimplementedExecutionServer) Execute(ctx context.Context, req *ExecuteRequest) (*longrunning.Operation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method Execute not implemented") -} - -func RegisterExecutionServer(s *grpc.Server, srv ExecutionServer) { - s.RegisterService(&_Execution_serviceDesc, srv) -} - -func _Execution_Execute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ExecuteRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ExecutionServer).Execute(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.remoteexecution.v1test.Execution/Execute", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ExecutionServer).Execute(ctx, req.(*ExecuteRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Execution_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.devtools.remoteexecution.v1test.Execution", - HandlerType: (*ExecutionServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Execute", - Handler: _Execution_Execute_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/devtools/remoteexecution/v1test/remote_execution.proto", -} - -// ActionCacheClient is the client API for ActionCache service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ActionCacheClient interface { - // Retrieve a cached execution result. - // - // Errors: - // * `NOT_FOUND`: The requested `ActionResult` is not in the cache. - GetActionResult(ctx context.Context, in *GetActionResultRequest, opts ...grpc.CallOption) (*ActionResult, error) - // Upload a new execution result. - // - // This method is intended for servers which implement the distributed cache - // independently of the - // [Execution][google.devtools.remoteexecution.v1test.Execution] API. As a - // result, it is OPTIONAL for servers to implement. - // - // Errors: - // * `NOT_IMPLEMENTED`: This method is not supported by the server. - // * `RESOURCE_EXHAUSTED`: There is insufficient storage space to add the - // entry to the cache. - UpdateActionResult(ctx context.Context, in *UpdateActionResultRequest, opts ...grpc.CallOption) (*ActionResult, error) -} - -type actionCacheClient struct { - cc *grpc.ClientConn -} - -func NewActionCacheClient(cc *grpc.ClientConn) ActionCacheClient { - return &actionCacheClient{cc} -} - -func (c *actionCacheClient) GetActionResult(ctx context.Context, in *GetActionResultRequest, opts ...grpc.CallOption) (*ActionResult, error) { - out := new(ActionResult) - err := c.cc.Invoke(ctx, "/google.devtools.remoteexecution.v1test.ActionCache/GetActionResult", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *actionCacheClient) UpdateActionResult(ctx context.Context, in *UpdateActionResultRequest, opts ...grpc.CallOption) (*ActionResult, error) { - out := new(ActionResult) - err := c.cc.Invoke(ctx, "/google.devtools.remoteexecution.v1test.ActionCache/UpdateActionResult", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ActionCacheServer is the server API for ActionCache service. -type ActionCacheServer interface { - // Retrieve a cached execution result. - // - // Errors: - // * `NOT_FOUND`: The requested `ActionResult` is not in the cache. - GetActionResult(context.Context, *GetActionResultRequest) (*ActionResult, error) - // Upload a new execution result. - // - // This method is intended for servers which implement the distributed cache - // independently of the - // [Execution][google.devtools.remoteexecution.v1test.Execution] API. As a - // result, it is OPTIONAL for servers to implement. - // - // Errors: - // * `NOT_IMPLEMENTED`: This method is not supported by the server. - // * `RESOURCE_EXHAUSTED`: There is insufficient storage space to add the - // entry to the cache. - UpdateActionResult(context.Context, *UpdateActionResultRequest) (*ActionResult, error) -} - -// UnimplementedActionCacheServer can be embedded to have forward compatible implementations. -type UnimplementedActionCacheServer struct { -} - -func (*UnimplementedActionCacheServer) GetActionResult(ctx context.Context, req *GetActionResultRequest) (*ActionResult, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetActionResult not implemented") -} -func (*UnimplementedActionCacheServer) UpdateActionResult(ctx context.Context, req *UpdateActionResultRequest) (*ActionResult, error) { - return nil, status1.Errorf(codes.Unimplemented, "method UpdateActionResult not implemented") -} - -func RegisterActionCacheServer(s *grpc.Server, srv ActionCacheServer) { - s.RegisterService(&_ActionCache_serviceDesc, srv) -} - -func _ActionCache_GetActionResult_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetActionResultRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ActionCacheServer).GetActionResult(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.remoteexecution.v1test.ActionCache/GetActionResult", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ActionCacheServer).GetActionResult(ctx, req.(*GetActionResultRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ActionCache_UpdateActionResult_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateActionResultRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ActionCacheServer).UpdateActionResult(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.remoteexecution.v1test.ActionCache/UpdateActionResult", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ActionCacheServer).UpdateActionResult(ctx, req.(*UpdateActionResultRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ActionCache_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.devtools.remoteexecution.v1test.ActionCache", - HandlerType: (*ActionCacheServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetActionResult", - Handler: _ActionCache_GetActionResult_Handler, - }, - { - MethodName: "UpdateActionResult", - Handler: _ActionCache_UpdateActionResult_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/devtools/remoteexecution/v1test/remote_execution.proto", -} - -// ContentAddressableStorageClient is the client API for ContentAddressableStorage service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ContentAddressableStorageClient interface { - // Determine if blobs are present in the CAS. - // - // Clients can use this API before uploading blobs to determine which ones are - // already present in the CAS and do not need to be uploaded again. - // - // There are no method-specific errors. - FindMissingBlobs(ctx context.Context, in *FindMissingBlobsRequest, opts ...grpc.CallOption) (*FindMissingBlobsResponse, error) - // Upload many blobs at once. - // - // The client MUST NOT upload blobs with a combined total size of more than 10 - // MiB using this API. Such requests should either be split into smaller - // chunks or uploaded using the - // [ByteStream API][google.bytestream.ByteStream], as appropriate. - // - // This request is equivalent to calling [UpdateBlob][] on each individual - // blob, in parallel. The requests may succeed or fail independently. - // - // Errors: - // * `INVALID_ARGUMENT`: The client attempted to upload more than 10 MiB of - // data. - // - // Individual requests may return the following errors, additionally: - // * `RESOURCE_EXHAUSTED`: There is insufficient disk quota to store the blob. - // * `INVALID_ARGUMENT`: The - // [Digest][google.devtools.remoteexecution.v1test.Digest] does not match the - // provided data. - BatchUpdateBlobs(ctx context.Context, in *BatchUpdateBlobsRequest, opts ...grpc.CallOption) (*BatchUpdateBlobsResponse, error) - // Fetch the entire directory tree rooted at a node. - // - // This request must be targeted at a - // [Directory][google.devtools.remoteexecution.v1test.Directory] stored in the - // [ContentAddressableStorage][google.devtools.remoteexecution.v1test.ContentAddressableStorage] - // (CAS). The server will enumerate the `Directory` tree recursively and - // return every node descended from the root. - // The exact traversal order is unspecified and, unless retrieving subsequent - // pages from an earlier request, is not guaranteed to be stable across - // multiple invocations of `GetTree`. - // - // If part of the tree is missing from the CAS, the server will return the - // portion present and omit the rest. - // - // * `NOT_FOUND`: The requested tree root is not present in the CAS. - GetTree(ctx context.Context, in *GetTreeRequest, opts ...grpc.CallOption) (*GetTreeResponse, error) -} - -type contentAddressableStorageClient struct { - cc *grpc.ClientConn -} - -func NewContentAddressableStorageClient(cc *grpc.ClientConn) ContentAddressableStorageClient { - return &contentAddressableStorageClient{cc} -} - -func (c *contentAddressableStorageClient) FindMissingBlobs(ctx context.Context, in *FindMissingBlobsRequest, opts ...grpc.CallOption) (*FindMissingBlobsResponse, error) { - out := new(FindMissingBlobsResponse) - err := c.cc.Invoke(ctx, "/google.devtools.remoteexecution.v1test.ContentAddressableStorage/FindMissingBlobs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *contentAddressableStorageClient) BatchUpdateBlobs(ctx context.Context, in *BatchUpdateBlobsRequest, opts ...grpc.CallOption) (*BatchUpdateBlobsResponse, error) { - out := new(BatchUpdateBlobsResponse) - err := c.cc.Invoke(ctx, "/google.devtools.remoteexecution.v1test.ContentAddressableStorage/BatchUpdateBlobs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *contentAddressableStorageClient) GetTree(ctx context.Context, in *GetTreeRequest, opts ...grpc.CallOption) (*GetTreeResponse, error) { - out := new(GetTreeResponse) - err := c.cc.Invoke(ctx, "/google.devtools.remoteexecution.v1test.ContentAddressableStorage/GetTree", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ContentAddressableStorageServer is the server API for ContentAddressableStorage service. -type ContentAddressableStorageServer interface { - // Determine if blobs are present in the CAS. - // - // Clients can use this API before uploading blobs to determine which ones are - // already present in the CAS and do not need to be uploaded again. - // - // There are no method-specific errors. - FindMissingBlobs(context.Context, *FindMissingBlobsRequest) (*FindMissingBlobsResponse, error) - // Upload many blobs at once. - // - // The client MUST NOT upload blobs with a combined total size of more than 10 - // MiB using this API. Such requests should either be split into smaller - // chunks or uploaded using the - // [ByteStream API][google.bytestream.ByteStream], as appropriate. - // - // This request is equivalent to calling [UpdateBlob][] on each individual - // blob, in parallel. The requests may succeed or fail independently. - // - // Errors: - // * `INVALID_ARGUMENT`: The client attempted to upload more than 10 MiB of - // data. - // - // Individual requests may return the following errors, additionally: - // * `RESOURCE_EXHAUSTED`: There is insufficient disk quota to store the blob. - // * `INVALID_ARGUMENT`: The - // [Digest][google.devtools.remoteexecution.v1test.Digest] does not match the - // provided data. - BatchUpdateBlobs(context.Context, *BatchUpdateBlobsRequest) (*BatchUpdateBlobsResponse, error) - // Fetch the entire directory tree rooted at a node. - // - // This request must be targeted at a - // [Directory][google.devtools.remoteexecution.v1test.Directory] stored in the - // [ContentAddressableStorage][google.devtools.remoteexecution.v1test.ContentAddressableStorage] - // (CAS). The server will enumerate the `Directory` tree recursively and - // return every node descended from the root. - // The exact traversal order is unspecified and, unless retrieving subsequent - // pages from an earlier request, is not guaranteed to be stable across - // multiple invocations of `GetTree`. - // - // If part of the tree is missing from the CAS, the server will return the - // portion present and omit the rest. - // - // * `NOT_FOUND`: The requested tree root is not present in the CAS. - GetTree(context.Context, *GetTreeRequest) (*GetTreeResponse, error) -} - -// UnimplementedContentAddressableStorageServer can be embedded to have forward compatible implementations. -type UnimplementedContentAddressableStorageServer struct { -} - -func (*UnimplementedContentAddressableStorageServer) FindMissingBlobs(ctx context.Context, req *FindMissingBlobsRequest) (*FindMissingBlobsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method FindMissingBlobs not implemented") -} -func (*UnimplementedContentAddressableStorageServer) BatchUpdateBlobs(ctx context.Context, req *BatchUpdateBlobsRequest) (*BatchUpdateBlobsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method BatchUpdateBlobs not implemented") -} -func (*UnimplementedContentAddressableStorageServer) GetTree(ctx context.Context, req *GetTreeRequest) (*GetTreeResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetTree not implemented") -} - -func RegisterContentAddressableStorageServer(s *grpc.Server, srv ContentAddressableStorageServer) { - s.RegisterService(&_ContentAddressableStorage_serviceDesc, srv) -} - -func _ContentAddressableStorage_FindMissingBlobs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(FindMissingBlobsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ContentAddressableStorageServer).FindMissingBlobs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.remoteexecution.v1test.ContentAddressableStorage/FindMissingBlobs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContentAddressableStorageServer).FindMissingBlobs(ctx, req.(*FindMissingBlobsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ContentAddressableStorage_BatchUpdateBlobs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchUpdateBlobsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ContentAddressableStorageServer).BatchUpdateBlobs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.remoteexecution.v1test.ContentAddressableStorage/BatchUpdateBlobs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContentAddressableStorageServer).BatchUpdateBlobs(ctx, req.(*BatchUpdateBlobsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ContentAddressableStorage_GetTree_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTreeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ContentAddressableStorageServer).GetTree(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.remoteexecution.v1test.ContentAddressableStorage/GetTree", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ContentAddressableStorageServer).GetTree(ctx, req.(*GetTreeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ContentAddressableStorage_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.devtools.remoteexecution.v1test.ContentAddressableStorage", - HandlerType: (*ContentAddressableStorageServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "FindMissingBlobs", - Handler: _ContentAddressableStorage_FindMissingBlobs_Handler, - }, - { - MethodName: "BatchUpdateBlobs", - Handler: _ContentAddressableStorage_BatchUpdateBlobs_Handler, - }, - { - MethodName: "GetTree", - Handler: _ContentAddressableStorage_GetTree_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/devtools/remoteexecution/v1test/remote_execution.proto", -} 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 deleted file mode 100644 index 7a8f0a03..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/remoteworkers/v1test2/bots.pb.go +++ /dev/null @@ -1,839 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/remoteworkers/v1test2/bots.proto - -package remoteworkers - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - any "github.com/golang/protobuf/ptypes/any" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A coarse description of the status of the bot that the server uses to -// determine whether to assign the bot new leases. -type BotStatus int32 - -const ( - // Default value; do not use. - BotStatus_BOT_STATUS_UNSPECIFIED BotStatus = 0 - // The bot is healthy, and will accept leases as normal. - BotStatus_OK BotStatus = 1 - // The bot is unhealthy and will not accept new leases. For example, the bot - // may have detected that available disk space is too low. This situation may - // resolve itself, but will typically require human intervention. - BotStatus_UNHEALTHY BotStatus = 2 - // The bot has been asked to reboot the host. The bot will not accept new - // leases; once all leases are complete, this session will no longer be - // updated but the bot will be expected to establish a new session after the - // reboot completes. - BotStatus_HOST_REBOOTING BotStatus = 3 - // The bot has been asked to shut down. As with HOST_REBOOTING, once all - // leases are completed, the session will no longer be updated and the bot - // will not be expected to establish a new session. - // - // Bots are typically only asked to shut down if its host computer will be - // modified in some way, such as deleting a VM. - BotStatus_BOT_TERMINATING BotStatus = 4 - // The bot is initializing and is not ready to accept leases. - BotStatus_INITIALIZING BotStatus = 5 -) - -var BotStatus_name = map[int32]string{ - 0: "BOT_STATUS_UNSPECIFIED", - 1: "OK", - 2: "UNHEALTHY", - 3: "HOST_REBOOTING", - 4: "BOT_TERMINATING", - 5: "INITIALIZING", -} - -var BotStatus_value = map[string]int32{ - "BOT_STATUS_UNSPECIFIED": 0, - "OK": 1, - "UNHEALTHY": 2, - "HOST_REBOOTING": 3, - "BOT_TERMINATING": 4, - "INITIALIZING": 5, -} - -func (x BotStatus) String() string { - return proto.EnumName(BotStatus_name, int32(x)) -} - -func (BotStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_129e24cb0c941ff8, []int{0} -} - -// The state of the lease. All leases start in the PENDING state. A bot can -// change PENDING to ACTIVE or (in the case of an error) COMPLETED, or from -// ACTIVE to COMPLETED. The server can change PENDING or ACTIVE to CANCELLED if -// it wants the bot to release its resources - for example, if the bot needs to -// be quarantined (it's producing bad output) or a cell needs to be drained. -type LeaseState int32 - -const ( - // Default value; do not use. - LeaseState_LEASE_STATE_UNSPECIFIED LeaseState = 0 - // Pending: the server expects the bot to accept this lease. This may only be - // set by the server. - LeaseState_PENDING LeaseState = 1 - // Active: the bot has accepted this lease. This may only be set by the bot. - LeaseState_ACTIVE LeaseState = 2 - // Completed: the bot is no longer leased. This may only be set by the bot, - // and the status field must be populated iff the state is COMPLETED. - LeaseState_COMPLETED LeaseState = 4 - // Cancelled: The bot should immediately release all resources associated with - // the lease. This may only be set by the server. - LeaseState_CANCELLED LeaseState = 5 -) - -var LeaseState_name = map[int32]string{ - 0: "LEASE_STATE_UNSPECIFIED", - 1: "PENDING", - 2: "ACTIVE", - 4: "COMPLETED", - 5: "CANCELLED", -} - -var LeaseState_value = map[string]int32{ - "LEASE_STATE_UNSPECIFIED": 0, - "PENDING": 1, - "ACTIVE": 2, - "COMPLETED": 4, - "CANCELLED": 5, -} - -func (x LeaseState) String() string { - return proto.EnumName(LeaseState_name, int32(x)) -} - -func (LeaseState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_129e24cb0c941ff8, []int{1} -} - -// Possible administration actions. -type AdminTemp_Command int32 - -const ( - // Illegal value. - AdminTemp_UNSPECIFIED AdminTemp_Command = 0 - // Download and run a new version of the bot. `arg` will be a resource - // accessible via `ByteStream.Read` to obtain the new bot code. - AdminTemp_BOT_UPDATE AdminTemp_Command = 1 - // Restart the bot without downloading a new version. `arg` will be a - // message to log. - AdminTemp_BOT_RESTART AdminTemp_Command = 2 - // Shut down the bot. `arg` will be a task resource name (similar to those - // in tasks.proto) that the bot can use to tell the server that it is - // terminating. - AdminTemp_BOT_TERMINATE AdminTemp_Command = 3 - // Restart the host computer. `arg` will be a message to log. - AdminTemp_HOST_RESTART AdminTemp_Command = 4 -) - -var AdminTemp_Command_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "BOT_UPDATE", - 2: "BOT_RESTART", - 3: "BOT_TERMINATE", - 4: "HOST_RESTART", -} - -var AdminTemp_Command_value = map[string]int32{ - "UNSPECIFIED": 0, - "BOT_UPDATE": 1, - "BOT_RESTART": 2, - "BOT_TERMINATE": 3, - "HOST_RESTART": 4, -} - -func (x AdminTemp_Command) String() string { - return proto.EnumName(AdminTemp_Command_name, int32(x)) -} - -func (AdminTemp_Command) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_129e24cb0c941ff8, []int{2, 0} -} - -// A bot session represents the state of a bot while in continuous contact with -// the server for a period of time. The session includes information about the -// worker - that is, the *worker* (the physical or virtual hardware) is -// considered to be a property of the bot (the software agent running on that -// hardware), which is the reverse of real life, but more natural from the point -// of the view of this API, which communicates solely with the bot and not -// directly with the underlying worker. -type BotSession struct { - // The bot session name, as selected by the server. Output only during a call - // to CreateBotSession. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // A unique bot ID within the farm used to persistently identify this bot over - // time (i.e., over multiple sessions). This ID must be unique within a - // farm. Typically, the bot ID will be the same as the name of the primary - // device in the worker (e.g., what you'd get from typing `uname -n` on *nix), - // but this is not required since a single device may allow multiple bots to - // run on it, each with access to different resources. What is important is - // that this ID is meaningful to humans, who might need to hunt a physical - // machine down to fix it. - // - // When CreateBotSession is successfully called with a bot_id, all prior - // sessions with the same ID are invalidated. If a bot attempts to update an - // invalid session, the server must reject that request, and may also - // quarantine the other bot with the same bot IDs (ie, stop sending it new - // leases and alert an admin). - BotId string `protobuf:"bytes,2,opt,name=bot_id,json=botId,proto3" json:"bot_id,omitempty"` - // The status of the bot. This must be populated in every call to - // UpdateBotSession. - Status BotStatus `protobuf:"varint,3,opt,name=status,proto3,enum=google.devtools.remoteworkers.v1test2.BotStatus" json:"status,omitempty"` - // A description of the worker hosting this bot. The Worker message is used - // here in the Status context (see Worker for more information). If multiple - // bots are running on the worker, this field should only describe the - // resources accessible from this bot. - // - // During the call to CreateBotSession, the server may make arbitrary changes - // to the worker's `server_properties` field (see that field for more - // information). Otherwise, this field is input-only. - Worker *Worker `protobuf:"bytes,4,opt,name=worker,proto3" json:"worker,omitempty"` - // A list of all leases that are a part of this session. See the Lease message - // for details. - Leases []*Lease `protobuf:"bytes,5,rep,name=leases,proto3" json:"leases,omitempty"` - // The time at which this bot session will expire, unless the bot calls - // UpdateBotSession again. Output only. - ExpireTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` - // The version of the bot code currently running. The server may use this - // information to issue an admin action to tell the bot to update itself. - Version string `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_129e24cb0c941ff8, []int{0} -} - -func (m *BotSession) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BotSession.Unmarshal(m, b) -} -func (m *BotSession) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BotSession.Marshal(b, m, deterministic) -} -func (m *BotSession) XXX_Merge(src proto.Message) { - xxx_messageInfo_BotSession.Merge(m, src) -} -func (m *BotSession) XXX_Size() int { - return xxx_messageInfo_BotSession.Size(m) -} -func (m *BotSession) XXX_DiscardUnknown() { - xxx_messageInfo_BotSession.DiscardUnknown(m) -} - -var xxx_messageInfo_BotSession proto.InternalMessageInfo - -func (m *BotSession) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *BotSession) GetBotId() string { - if m != nil { - return m.BotId - } - return "" -} - -func (m *BotSession) GetStatus() BotStatus { - if m != nil { - return m.Status - } - return BotStatus_BOT_STATUS_UNSPECIFIED -} - -func (m *BotSession) GetWorker() *Worker { - if m != nil { - return m.Worker - } - return nil -} - -func (m *BotSession) GetLeases() []*Lease { - if m != nil { - return m.Leases - } - return nil -} - -func (m *BotSession) GetExpireTime() *timestamp.Timestamp { - if m != nil { - return m.ExpireTime - } - return nil -} - -func (m *BotSession) GetVersion() string { - if m != nil { - return m.Version - } - return "" -} - -// A Lease is a lease that the scheduler has assigned to this bot. If the bot -// notices (by UpdateBotSession) that it has any leases in the PENDING state, it -// should call UpdateBotSession to put the leases into the ACTIVE state and -// start executing their assignments. -// -// All fields in this message are output-only, *except* the `state` and `status` -// fields. Note that repeated fields can only be updated as a unit, so on every -// update the bot must provide an update for *all* the leases the server expects -// it to report on. -// -// The scheduler *should* ensure that all leases scheduled to a bot can actually -// be accepted, but race conditions may occur. In such cases, the bot should -// attempt to accept the leases in the order they are listed by the server, to -// allow the server to control priorities. -// -// The server will remove COMPLETED leases from time to time, after which the -// bot shouldn't report on them any more (the server will ignore superfluous -// COMPLETED records). -type Lease struct { - // A short string uniquely identifing the lease within this bot session. - Id string `protobuf:"bytes,7,opt,name=id,proto3" json:"id,omitempty"` - // The actual work to be performed, if any. May be omitted by the server if - // the lease is not in the `PENDING` state. The message must be meaningful to - // the bot. Output only (must only be set by the server). - Payload *any.Any `protobuf:"bytes,8,opt,name=payload,proto3" json:"payload,omitempty"` - // Any result the bot wishes to provide about the lease. Must not be changed - // after the first call with the lease in the `COMPLETED` or `CANCELLED` - // state. Input only (must only be set by the bot, will not be echoed by the - // server). - Result *any.Any `protobuf:"bytes,9,opt,name=result,proto3" json:"result,omitempty"` - // The state of the lease. See LeaseState for more information. - State LeaseState `protobuf:"varint,2,opt,name=state,proto3,enum=google.devtools.remoteworkers.v1test2.LeaseState" json:"state,omitempty"` - // The final status of the lease (should be populated by the bot if the state - // is completed). This is the status of the lease, not of any task represented - // by the lease. For example, if the bot could not accept the lease because it - // asked for some resource the bot didn't have, this status will be - // FAILED_PRECONDITION. But if the assignment in the lease didn't execute - // correctly, this field will be `OK` while the failure of the assignment must - // communicated via the `result` field. - Status *status.Status `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` - // The requirements that are being claimed by this lease. This field may be - // omitted by the server if the lease is not pending. - Requirements *Worker `protobuf:"bytes,4,opt,name=requirements,proto3" json:"requirements,omitempty"` - // The time at which this lease expires. The server *may* extend this over - // time, but due to race conditions, the bot is not *required* to respect any - // expiry date except the first one. - ExpireTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` - // DEPRECATED. The assignment should be provided to the bot via the `payload` - // field. Clients that wish to use a simple name (such as a queue of work - // provided elsewhere) should define a custom message type and encode it into - // `payload`. - Assignment string `protobuf:"bytes,1,opt,name=assignment,proto3" json:"assignment,omitempty"` // Deprecated: Do not use. - // DEPRECATED. Use `payload` instead. - InlineAssignment *any.Any `protobuf:"bytes,6,opt,name=inline_assignment,json=inlineAssignment,proto3" json:"inline_assignment,omitempty"` // Deprecated: Do not use. - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_129e24cb0c941ff8, []int{1} -} - -func (m *Lease) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Lease.Unmarshal(m, b) -} -func (m *Lease) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Lease.Marshal(b, m, deterministic) -} -func (m *Lease) XXX_Merge(src proto.Message) { - xxx_messageInfo_Lease.Merge(m, src) -} -func (m *Lease) XXX_Size() int { - return xxx_messageInfo_Lease.Size(m) -} -func (m *Lease) XXX_DiscardUnknown() { - xxx_messageInfo_Lease.DiscardUnknown(m) -} - -var xxx_messageInfo_Lease proto.InternalMessageInfo - -func (m *Lease) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *Lease) GetPayload() *any.Any { - if m != nil { - return m.Payload - } - return nil -} - -func (m *Lease) GetResult() *any.Any { - if m != nil { - return m.Result - } - return nil -} - -func (m *Lease) GetState() LeaseState { - if m != nil { - return m.State - } - return LeaseState_LEASE_STATE_UNSPECIFIED -} - -func (m *Lease) GetStatus() *status.Status { - if m != nil { - return m.Status - } - return nil -} - -func (m *Lease) GetRequirements() *Worker { - if m != nil { - return m.Requirements - } - return nil -} - -func (m *Lease) GetExpireTime() *timestamp.Timestamp { - if m != nil { - return m.ExpireTime - } - return nil -} - -// Deprecated: Do not use. -func (m *Lease) GetAssignment() string { - if m != nil { - return m.Assignment - } - return "" -} - -// Deprecated: Do not use. -func (m *Lease) GetInlineAssignment() *any.Any { - if m != nil { - return m.InlineAssignment - } - return nil -} - -// AdminTemp is a prelimiary set of administration tasks. It's called "Temp" -// because we do not yet know the best way to represent admin tasks; it's -// possible that this will be entirely replaced in later versions of this API. -// If this message proves to be sufficient, it will be renamed in the alpha or -// beta release of this API. -// -// This message (suitably marshalled into a protobuf.Any) can be used as the -// inline_assignment field in a lease; the lease assignment field should simply -// be `"admin"` in these cases. -// -// This message is heavily based on Swarming administration tasks from the LUCI -// project (http://github.com/luci/luci-py/appengine/swarming). -type AdminTemp struct { - // The admin action; see `Command` for legal values. - Command AdminTemp_Command `protobuf:"varint,1,opt,name=command,proto3,enum=google.devtools.remoteworkers.v1test2.AdminTemp_Command" json:"command,omitempty"` - // The argument to the admin action; see `Command` for semantics. - Arg string `protobuf:"bytes,2,opt,name=arg,proto3" json:"arg,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_129e24cb0c941ff8, []int{2} -} - -func (m *AdminTemp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdminTemp.Unmarshal(m, b) -} -func (m *AdminTemp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdminTemp.Marshal(b, m, deterministic) -} -func (m *AdminTemp) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdminTemp.Merge(m, src) -} -func (m *AdminTemp) XXX_Size() int { - return xxx_messageInfo_AdminTemp.Size(m) -} -func (m *AdminTemp) XXX_DiscardUnknown() { - xxx_messageInfo_AdminTemp.DiscardUnknown(m) -} - -var xxx_messageInfo_AdminTemp proto.InternalMessageInfo - -func (m *AdminTemp) GetCommand() AdminTemp_Command { - if m != nil { - return m.Command - } - return AdminTemp_UNSPECIFIED -} - -func (m *AdminTemp) GetArg() string { - if m != nil { - return m.Arg - } - return "" -} - -// Request message for CreateBotSession. -type CreateBotSessionRequest struct { - // Required. The farm resource. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The bot session to create. Server-assigned fields like name must be unset. - BotSession *BotSession `protobuf:"bytes,2,opt,name=bot_session,json=botSession,proto3" json:"bot_session,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_129e24cb0c941ff8, []int{3} -} - -func (m *CreateBotSessionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateBotSessionRequest.Unmarshal(m, b) -} -func (m *CreateBotSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateBotSessionRequest.Marshal(b, m, deterministic) -} -func (m *CreateBotSessionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateBotSessionRequest.Merge(m, src) -} -func (m *CreateBotSessionRequest) XXX_Size() int { - return xxx_messageInfo_CreateBotSessionRequest.Size(m) -} -func (m *CreateBotSessionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateBotSessionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateBotSessionRequest proto.InternalMessageInfo - -func (m *CreateBotSessionRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateBotSessionRequest) GetBotSession() *BotSession { - if m != nil { - return m.BotSession - } - return nil -} - -// Request message for UpdateBotSession. -type UpdateBotSessionRequest struct { - // Required. The bot session name. Must match bot_session.name. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The bot session resource to update. - BotSession *BotSession `protobuf:"bytes,2,opt,name=bot_session,json=botSession,proto3" json:"bot_session,omitempty"` - // Required. The fields on the bot that should be updated. See the BotSession resource - // for which fields are updatable by which caller. - 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 *UpdateBotSessionRequest) Reset() { *m = UpdateBotSessionRequest{} } -func (m *UpdateBotSessionRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateBotSessionRequest) ProtoMessage() {} -func (*UpdateBotSessionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_129e24cb0c941ff8, []int{4} -} - -func (m *UpdateBotSessionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateBotSessionRequest.Unmarshal(m, b) -} -func (m *UpdateBotSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateBotSessionRequest.Marshal(b, m, deterministic) -} -func (m *UpdateBotSessionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateBotSessionRequest.Merge(m, src) -} -func (m *UpdateBotSessionRequest) XXX_Size() int { - return xxx_messageInfo_UpdateBotSessionRequest.Size(m) -} -func (m *UpdateBotSessionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateBotSessionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateBotSessionRequest proto.InternalMessageInfo - -func (m *UpdateBotSessionRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *UpdateBotSessionRequest) GetBotSession() *BotSession { - if m != nil { - return m.BotSession - } - return nil -} - -func (m *UpdateBotSessionRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -func init() { - proto.RegisterEnum("google.devtools.remoteworkers.v1test2.BotStatus", BotStatus_name, BotStatus_value) - proto.RegisterEnum("google.devtools.remoteworkers.v1test2.LeaseState", LeaseState_name, LeaseState_value) - proto.RegisterEnum("google.devtools.remoteworkers.v1test2.AdminTemp_Command", AdminTemp_Command_name, AdminTemp_Command_value) - proto.RegisterType((*BotSession)(nil), "google.devtools.remoteworkers.v1test2.BotSession") - proto.RegisterType((*Lease)(nil), "google.devtools.remoteworkers.v1test2.Lease") - proto.RegisterType((*AdminTemp)(nil), "google.devtools.remoteworkers.v1test2.AdminTemp") - proto.RegisterType((*CreateBotSessionRequest)(nil), "google.devtools.remoteworkers.v1test2.CreateBotSessionRequest") - proto.RegisterType((*UpdateBotSessionRequest)(nil), "google.devtools.remoteworkers.v1test2.UpdateBotSessionRequest") -} - -func init() { - proto.RegisterFile("google/devtools/remoteworkers/v1test2/bots.proto", fileDescriptor_129e24cb0c941ff8) -} - -var fileDescriptor_129e24cb0c941ff8 = []byte{ - // 1103 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0x4d, 0x73, 0xdb, 0x44, - 0x18, 0x46, 0xf2, 0x17, 0x79, 0xdd, 0xba, 0xca, 0xf2, 0x11, 0xe1, 0x66, 0xa6, 0x1e, 0xcf, 0x74, - 0x48, 0x4d, 0x90, 0x1a, 0x73, 0x61, 0xda, 0x29, 0x83, 0x6c, 0xab, 0x89, 0xc1, 0xb1, 0x83, 0xac, - 0x24, 0xd3, 0x5e, 0x5c, 0xd9, 0xde, 0xba, 0x9a, 0x58, 0x5a, 0x55, 0xbb, 0x4e, 0xc9, 0x64, 0x72, - 0xe1, 0x0f, 0x70, 0xe0, 0x1f, 0x70, 0xe4, 0x57, 0xc0, 0x95, 0x1b, 0xd3, 0x13, 0xe5, 0xd2, 0x03, - 0x5c, 0xf8, 0x07, 0x70, 0x62, 0x56, 0x5a, 0xc7, 0xb2, 0x4b, 0x8a, 0xd3, 0x19, 0x6e, 0xde, 0x77, - 0xdf, 0xe7, 0x79, 0xbf, 0x9e, 0x57, 0x6b, 0xb8, 0x3d, 0x22, 0x64, 0x34, 0xc6, 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xd9, 0x10, 0xd3, 0xc9, 0x98, - 0xa9, 0x2b, 0xaf, 0x71, 0x17, 0x3e, 0x68, 0x1b, 0x32, 0x7c, 0x80, 0x38, 0x92, 0x45, 0xa1, 0xba, - 0x75, 0x99, 0x76, 0x73, 0x05, 0x60, 0x2b, 0xc6, 0xa3, 0xca, 0x9c, 0x92, 0xf2, 0x55, 0x34, 0x65, - 0x0a, 0x83, 0x81, 0xb6, 0xa0, 0x95, 0xaf, 0xe0, 0x4a, 0x88, 0x9f, 0x4e, 0xdc, 0x10, 0x7b, 0xd8, - 0x67, 0xf4, 0xcd, 0x14, 0x33, 0x47, 0xb1, 0x38, 0xf1, 0xcc, 0xa5, 0x26, 0x5e, 0x06, 0x70, 0x28, - 0x75, 0x47, 0x3e, 0xe7, 0x8a, 0xd7, 0xa6, 0x26, 0xab, 0x92, 0x95, 0xb0, 0x22, 0x13, 0x56, 0x5d, - 0x7f, 0xec, 0xfa, 0xb8, 0x97, 0x70, 0xcd, 0x5e, 0xdc, 0xe1, 0x88, 0x40, 0x89, 0x21, 0xc6, 0x39, - 0xa2, 0xfc, 0x5c, 0x82, 0x15, 0x63, 0xe8, 0xb9, 0xbe, 0x8d, 0xbd, 0x00, 0x59, 0x90, 0x1b, 0x10, - 0xcf, 0x73, 0xfc, 0x61, 0x14, 0xb5, 0x50, 0xfd, 0x74, 0xc9, 0x1e, 0x9c, 0x53, 0x68, 0xf5, 0x18, - 0x6f, 0x4d, 0x89, 0x90, 0x02, 0x29, 0x27, 0x1c, 0x89, 0x35, 0xe7, 0x3f, 0xcb, 0x8f, 0x20, 0x27, - 0xbc, 0xd0, 0x35, 0xc8, 0xef, 0xb7, 0xbb, 0x7b, 0x66, 0xbd, 0x79, 0xbf, 0x69, 0x36, 0x94, 0xb7, - 0x50, 0x01, 0xa0, 0xd6, 0xb1, 0x7b, 0xfb, 0x7b, 0x0d, 0xc3, 0x36, 0x15, 0x89, 0x3b, 0xf0, 0xb3, - 0x65, 0x76, 0x6d, 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 0xf9, - 0xd6, 0x56, 0xad, 0xc8, 0x1c, 0x3f, 0x07, 0x94, 0x6b, 0x62, 0x4f, 0x7a, 0x68, 0x09, 0xec, 0x88, - 0x8c, 0x1d, 0x7f, 0xa4, 0x91, 0x70, 0xa4, 0x8f, 0xb0, 0x1f, 0x6d, 0x8d, 0x3e, 0x8b, 0xf6, 0x1f, - 0x7f, 0xea, 0xee, 0xce, 0x59, 0xbf, 0x97, 0x65, 0xeb, 0xf0, 0x07, 0xf9, 0xe6, 0x76, 0xcc, 0xdc, - 0xc0, 0xc7, 0x76, 0x94, 0xd5, 0x5c, 0x78, 0xed, 0x60, 0xcb, 0xe6, 0xd0, 0x7e, 0x36, 0x8a, 0xf5, - 0xc9, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x8c, 0xa2, 0xf3, 0x0f, 0x0b, 0x0b, 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 - -// BotsClient is the client API for Bots service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type BotsClient interface { - // CreateBotSession is called when the bot first joins the farm, and - // establishes a session ID to ensure that multiple machines do not register - // using the same name accidentally. - CreateBotSession(ctx context.Context, in *CreateBotSessionRequest, opts ...grpc.CallOption) (*BotSession, error) - // UpdateBotSession must be called periodically by the bot (on a schedule - // determined by the server) to let the server know about its status, and to - // pick up new lease requests from the server. - UpdateBotSession(ctx context.Context, in *UpdateBotSessionRequest, opts ...grpc.CallOption) (*BotSession, error) -} - -type botsClient struct { - cc *grpc.ClientConn -} - -func NewBotsClient(cc *grpc.ClientConn) BotsClient { - return &botsClient{cc} -} - -func (c *botsClient) CreateBotSession(ctx context.Context, in *CreateBotSessionRequest, opts ...grpc.CallOption) (*BotSession, error) { - out := new(BotSession) - err := c.cc.Invoke(ctx, "/google.devtools.remoteworkers.v1test2.Bots/CreateBotSession", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *botsClient) UpdateBotSession(ctx context.Context, in *UpdateBotSessionRequest, opts ...grpc.CallOption) (*BotSession, error) { - out := new(BotSession) - err := c.cc.Invoke(ctx, "/google.devtools.remoteworkers.v1test2.Bots/UpdateBotSession", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// BotsServer is the server API for Bots service. -type BotsServer interface { - // CreateBotSession is called when the bot first joins the farm, and - // establishes a session ID to ensure that multiple machines do not register - // using the same name accidentally. - CreateBotSession(context.Context, *CreateBotSessionRequest) (*BotSession, error) - // UpdateBotSession must be called periodically by the bot (on a schedule - // determined by the server) to let the server know about its status, and to - // pick up new lease requests from the server. - UpdateBotSession(context.Context, *UpdateBotSessionRequest) (*BotSession, error) -} - -// UnimplementedBotsServer can be embedded to have forward compatible implementations. -type UnimplementedBotsServer struct { -} - -func (*UnimplementedBotsServer) CreateBotSession(ctx context.Context, req *CreateBotSessionRequest) (*BotSession, error) { - return nil, status1.Errorf(codes.Unimplemented, "method CreateBotSession not implemented") -} -func (*UnimplementedBotsServer) UpdateBotSession(ctx context.Context, req *UpdateBotSessionRequest) (*BotSession, error) { - return nil, status1.Errorf(codes.Unimplemented, "method UpdateBotSession not implemented") -} - -func RegisterBotsServer(s *grpc.Server, srv BotsServer) { - s.RegisterService(&_Bots_serviceDesc, srv) -} - -func _Bots_CreateBotSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateBotSessionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BotsServer).CreateBotSession(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.remoteworkers.v1test2.Bots/CreateBotSession", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BotsServer).CreateBotSession(ctx, req.(*CreateBotSessionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Bots_UpdateBotSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateBotSessionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BotsServer).UpdateBotSession(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.remoteworkers.v1test2.Bots/UpdateBotSession", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BotsServer).UpdateBotSession(ctx, req.(*UpdateBotSessionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Bots_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.devtools.remoteworkers.v1test2.Bots", - HandlerType: (*BotsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateBotSession", - Handler: _Bots_CreateBotSession_Handler, - }, - { - MethodName: "UpdateBotSession", - Handler: _Bots_UpdateBotSession_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/devtools/remoteworkers/v1test2/bots.proto", -} 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 deleted file mode 100644 index 6c9f6ad5..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/remoteworkers/v1test2/command.pb.go +++ /dev/null @@ -1,972 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/remoteworkers/v1test2/command.proto - -package remoteworkers - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - any "github.com/golang/protobuf/ptypes/any" - duration "github.com/golang/protobuf/ptypes/duration" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Describes a shell-style task to execute, suitable for providing as the Bots -// interface's `Lease.payload` field. -type CommandTask struct { - // The inputs to the task. - Inputs *CommandTask_Inputs `protobuf:"bytes,1,opt,name=inputs,proto3" json:"inputs,omitempty"` - // The expected outputs from the task. - ExpectedOutputs *CommandTask_Outputs `protobuf:"bytes,4,opt,name=expected_outputs,json=expectedOutputs,proto3" json:"expected_outputs,omitempty"` - // The timeouts of this task. - Timeouts *CommandTask_Timeouts `protobuf:"bytes,5,opt,name=timeouts,proto3" json:"timeouts,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7b7f8597ab32e88e, []int{0} -} - -func (m *CommandTask) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommandTask.Unmarshal(m, b) -} -func (m *CommandTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommandTask.Marshal(b, m, deterministic) -} -func (m *CommandTask) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommandTask.Merge(m, src) -} -func (m *CommandTask) XXX_Size() int { - return xxx_messageInfo_CommandTask.Size(m) -} -func (m *CommandTask) XXX_DiscardUnknown() { - xxx_messageInfo_CommandTask.DiscardUnknown(m) -} - -var xxx_messageInfo_CommandTask proto.InternalMessageInfo - -func (m *CommandTask) GetInputs() *CommandTask_Inputs { - if m != nil { - return m.Inputs - } - return nil -} - -func (m *CommandTask) GetExpectedOutputs() *CommandTask_Outputs { - if m != nil { - return m.ExpectedOutputs - } - return nil -} - -func (m *CommandTask) GetTimeouts() *CommandTask_Timeouts { - if m != nil { - return m.Timeouts - } - return nil -} - -// Describes the inputs to a shell-style task. -type CommandTask_Inputs struct { - // The command itself to run (e.g., argv). - // - // This field should be passed directly to the underlying operating system, - // and so it must be sensible to that operating system. For example, on - // Windows, the first argument might be "C:\Windows\System32\ping.exe" - - // that is, using drive letters and backslashes. A command for a *nix - // system, on the other hand, would use forward slashes. - // - // All other fields in the RWAPI must consistently use forward slashes, - // since those fields may be interpretted by both the service and the bot. - Arguments []string `protobuf:"bytes,1,rep,name=arguments,proto3" json:"arguments,omitempty"` - // The input filesystem to be set up prior to the task beginning. The - // contents should be a repeated set of FileMetadata messages though other - // formats are allowed if better for the implementation (eg, a LUCI-style - // .isolated file). - // - // This field is repeated since implementations might want to cache the - // metadata, in which case it may be useful to break up portions of the - // filesystem that change frequently (eg, specific input files) from those - // that don't (eg, standard header files). - Files []*Digest `protobuf:"bytes,2,rep,name=files,proto3" json:"files,omitempty"` - // Inline contents for blobs expected to be needed by the bot to execute the - // task. For example, contents of entries in `files` or blobs that are - // indirectly referenced by an entry there. - // - // The bot should check against this list before downloading required task - // inputs to reduce the number of communications between itself and the - // remote CAS server. - InlineBlobs []*Blob `protobuf:"bytes,4,rep,name=inline_blobs,json=inlineBlobs,proto3" json:"inline_blobs,omitempty"` - // All environment variables required by the task. - EnvironmentVariables []*CommandTask_Inputs_EnvironmentVariable `protobuf:"bytes,3,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty"` - // Directory from which a command is executed. It is a relative directory - // with respect to the bot's working directory (i.e., "./"). If it is - // non-empty, then it must exist under "./". Otherwise, "./" will be used. - WorkingDirectory string `protobuf:"bytes,5,opt,name=working_directory,json=workingDirectory,proto3" json:"working_directory,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7b7f8597ab32e88e, []int{0, 0} -} - -func (m *CommandTask_Inputs) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommandTask_Inputs.Unmarshal(m, b) -} -func (m *CommandTask_Inputs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommandTask_Inputs.Marshal(b, m, deterministic) -} -func (m *CommandTask_Inputs) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommandTask_Inputs.Merge(m, src) -} -func (m *CommandTask_Inputs) XXX_Size() int { - return xxx_messageInfo_CommandTask_Inputs.Size(m) -} -func (m *CommandTask_Inputs) XXX_DiscardUnknown() { - xxx_messageInfo_CommandTask_Inputs.DiscardUnknown(m) -} - -var xxx_messageInfo_CommandTask_Inputs proto.InternalMessageInfo - -func (m *CommandTask_Inputs) GetArguments() []string { - if m != nil { - return m.Arguments - } - return nil -} - -func (m *CommandTask_Inputs) GetFiles() []*Digest { - if m != nil { - return m.Files - } - return nil -} - -func (m *CommandTask_Inputs) GetInlineBlobs() []*Blob { - if m != nil { - return m.InlineBlobs - } - return nil -} - -func (m *CommandTask_Inputs) GetEnvironmentVariables() []*CommandTask_Inputs_EnvironmentVariable { - if m != nil { - return m.EnvironmentVariables - } - return nil -} - -func (m *CommandTask_Inputs) GetWorkingDirectory() string { - if m != nil { - return m.WorkingDirectory - } - return "" -} - -// An environment variable required by this task. -type CommandTask_Inputs_EnvironmentVariable struct { - // The envvar name. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The envvar value. - 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 *CommandTask_Inputs_EnvironmentVariable) Reset() { - *m = CommandTask_Inputs_EnvironmentVariable{} -} -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_7b7f8597ab32e88e, []int{0, 0, 0} -} - -func (m *CommandTask_Inputs_EnvironmentVariable) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommandTask_Inputs_EnvironmentVariable.Unmarshal(m, b) -} -func (m *CommandTask_Inputs_EnvironmentVariable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommandTask_Inputs_EnvironmentVariable.Marshal(b, m, deterministic) -} -func (m *CommandTask_Inputs_EnvironmentVariable) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommandTask_Inputs_EnvironmentVariable.Merge(m, src) -} -func (m *CommandTask_Inputs_EnvironmentVariable) XXX_Size() int { - return xxx_messageInfo_CommandTask_Inputs_EnvironmentVariable.Size(m) -} -func (m *CommandTask_Inputs_EnvironmentVariable) XXX_DiscardUnknown() { - xxx_messageInfo_CommandTask_Inputs_EnvironmentVariable.DiscardUnknown(m) -} - -var xxx_messageInfo_CommandTask_Inputs_EnvironmentVariable proto.InternalMessageInfo - -func (m *CommandTask_Inputs_EnvironmentVariable) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *CommandTask_Inputs_EnvironmentVariable) GetValue() string { - if m != nil { - return m.Value - } - return "" -} - -// Describes the expected outputs of the command. -type CommandTask_Outputs struct { - // A list of expected files, relative to the execution root. All paths - // MUST be delimited by forward slashes. - Files []string `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` - // A list of expected directories, relative to the execution root. All paths - // MUST be delimited by forward slashes. - Directories []string `protobuf:"bytes,2,rep,name=directories,proto3" json:"directories,omitempty"` - // The destination to which any stdout should be sent. The method by which - // the bot should send the stream contents to that destination is not - // defined in this API. As examples, the destination could be a file - // referenced in the `files` field in this message, or it could be a URI - // that must be written via the ByteStream API. - StdoutDestination string `protobuf:"bytes,3,opt,name=stdout_destination,json=stdoutDestination,proto3" json:"stdout_destination,omitempty"` - // The destination to which any stderr should be sent. The method by which - // the bot should send the stream contents to that destination is not - // defined in this API. As examples, the destination could be a file - // referenced in the `files` field in this message, or it could be a URI - // that must be written via the ByteStream API. - StderrDestination string `protobuf:"bytes,4,opt,name=stderr_destination,json=stderrDestination,proto3" json:"stderr_destination,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7b7f8597ab32e88e, []int{0, 1} -} - -func (m *CommandTask_Outputs) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommandTask_Outputs.Unmarshal(m, b) -} -func (m *CommandTask_Outputs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommandTask_Outputs.Marshal(b, m, deterministic) -} -func (m *CommandTask_Outputs) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommandTask_Outputs.Merge(m, src) -} -func (m *CommandTask_Outputs) XXX_Size() int { - return xxx_messageInfo_CommandTask_Outputs.Size(m) -} -func (m *CommandTask_Outputs) XXX_DiscardUnknown() { - xxx_messageInfo_CommandTask_Outputs.DiscardUnknown(m) -} - -var xxx_messageInfo_CommandTask_Outputs proto.InternalMessageInfo - -func (m *CommandTask_Outputs) GetFiles() []string { - if m != nil { - return m.Files - } - return nil -} - -func (m *CommandTask_Outputs) GetDirectories() []string { - if m != nil { - return m.Directories - } - return nil -} - -func (m *CommandTask_Outputs) GetStdoutDestination() string { - if m != nil { - return m.StdoutDestination - } - return "" -} - -func (m *CommandTask_Outputs) GetStderrDestination() string { - if m != nil { - return m.StderrDestination - } - return "" -} - -// Describes the timeouts associated with this task. -type CommandTask_Timeouts struct { - // This specifies the maximum time that the task can run, excluding the - // time required to download inputs or upload outputs. That is, the worker - // will terminate the task if it runs longer than this. - Execution *duration.Duration `protobuf:"bytes,1,opt,name=execution,proto3" json:"execution,omitempty"` - // This specifies the maximum amount of time the task can be idle - that is, - // go without generating some output in either stdout or stderr. If the - // process is silent for more than the specified time, the worker will - // terminate the task. - Idle *duration.Duration `protobuf:"bytes,2,opt,name=idle,proto3" json:"idle,omitempty"` - // If the execution or IO timeouts are exceeded, the worker will try to - // gracefully terminate the task and return any existing logs. However, - // tasks may be hard-frozen in which case this process will fail. This - // timeout specifies how long to wait for a terminated task to shut down - // gracefully (e.g. via SIGTERM) before we bring down the hammer (e.g. - // SIGKILL on *nix, CTRL_BREAK_EVENT on Windows). - Shutdown *duration.Duration `protobuf:"bytes,3,opt,name=shutdown,proto3" json:"shutdown,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7b7f8597ab32e88e, []int{0, 2} -} - -func (m *CommandTask_Timeouts) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommandTask_Timeouts.Unmarshal(m, b) -} -func (m *CommandTask_Timeouts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommandTask_Timeouts.Marshal(b, m, deterministic) -} -func (m *CommandTask_Timeouts) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommandTask_Timeouts.Merge(m, src) -} -func (m *CommandTask_Timeouts) XXX_Size() int { - return xxx_messageInfo_CommandTask_Timeouts.Size(m) -} -func (m *CommandTask_Timeouts) XXX_DiscardUnknown() { - xxx_messageInfo_CommandTask_Timeouts.DiscardUnknown(m) -} - -var xxx_messageInfo_CommandTask_Timeouts proto.InternalMessageInfo - -func (m *CommandTask_Timeouts) GetExecution() *duration.Duration { - if m != nil { - return m.Execution - } - return nil -} - -func (m *CommandTask_Timeouts) GetIdle() *duration.Duration { - if m != nil { - return m.Idle - } - return nil -} - -func (m *CommandTask_Timeouts) GetShutdown() *duration.Duration { - if m != nil { - return m.Shutdown - } - return nil -} - -// DEPRECATED - use CommandResult instead. -// Describes the actual outputs from the task. -type CommandOutputs struct { - // exit_code is only fully reliable if the status' code is OK. If the task - // exceeded its deadline or was cancelled, the process may still produce an - // exit code as it is cancelled, and this will be populated, but a successful - // (zero) is unlikely to be correct unless the status code is OK. - ExitCode int32 `protobuf:"varint,1,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"` - // The output files. The blob referenced by the digest should contain - // one of the following (implementation-dependent): - // * A marshalled DirectoryMetadata of the returned filesystem - // * A LUCI-style .isolated file - Outputs *Digest `protobuf:"bytes,2,opt,name=outputs,proto3" json:"outputs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7b7f8597ab32e88e, []int{1} -} - -func (m *CommandOutputs) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommandOutputs.Unmarshal(m, b) -} -func (m *CommandOutputs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommandOutputs.Marshal(b, m, deterministic) -} -func (m *CommandOutputs) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommandOutputs.Merge(m, src) -} -func (m *CommandOutputs) XXX_Size() int { - return xxx_messageInfo_CommandOutputs.Size(m) -} -func (m *CommandOutputs) XXX_DiscardUnknown() { - xxx_messageInfo_CommandOutputs.DiscardUnknown(m) -} - -var xxx_messageInfo_CommandOutputs proto.InternalMessageInfo - -func (m *CommandOutputs) GetExitCode() int32 { - if m != nil { - return m.ExitCode - } - return 0 -} - -func (m *CommandOutputs) GetOutputs() *Digest { - if m != nil { - return m.Outputs - } - return nil -} - -// DEPRECATED - use CommandResult instead. -// Can be used as part of CompleteRequest.metadata, or are part of a more -// sophisticated message. -type CommandOverhead struct { - // The elapsed time between calling Accept and Complete. The server will also - // have its own idea of what this should be, but this excludes the overhead of - // the RPCs and the bot response time. - Duration *duration.Duration `protobuf:"bytes,1,opt,name=duration,proto3" json:"duration,omitempty"` - // The amount of time *not* spent executing the command (ie - // uploading/downloading files). - Overhead *duration.Duration `protobuf:"bytes,2,opt,name=overhead,proto3" json:"overhead,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7b7f8597ab32e88e, []int{2} -} - -func (m *CommandOverhead) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommandOverhead.Unmarshal(m, b) -} -func (m *CommandOverhead) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommandOverhead.Marshal(b, m, deterministic) -} -func (m *CommandOverhead) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommandOverhead.Merge(m, src) -} -func (m *CommandOverhead) XXX_Size() int { - return xxx_messageInfo_CommandOverhead.Size(m) -} -func (m *CommandOverhead) XXX_DiscardUnknown() { - xxx_messageInfo_CommandOverhead.DiscardUnknown(m) -} - -var xxx_messageInfo_CommandOverhead proto.InternalMessageInfo - -func (m *CommandOverhead) GetDuration() *duration.Duration { - if m != nil { - return m.Duration - } - return nil -} - -func (m *CommandOverhead) GetOverhead() *duration.Duration { - if m != nil { - return m.Overhead - } - return nil -} - -// All information about the execution of a command, suitable for providing as -// the Bots interface's `Lease.result` field. -type CommandResult struct { - // An overall status for the command. For example, if the command timed out, - // this might have a code of DEADLINE_EXCEEDED; if it was killed by the OS for - // memory exhaustion, it might have a code of RESOURCE_EXHAUSTED. - Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` - // The exit code of the process. An exit code of "0" should only be trusted if - // `status` has a code of OK (otherwise it may simply be unset). - ExitCode int32 `protobuf:"varint,2,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"` - // The output files. The blob referenced by the digest should contain - // one of the following (implementation-dependent): - // * A marshalled DirectoryMetadata of the returned filesystem - // * A LUCI-style .isolated file - Outputs *Digest `protobuf:"bytes,3,opt,name=outputs,proto3" json:"outputs,omitempty"` - // The elapsed time between calling Accept and Complete. The server will also - // have its own idea of what this should be, but this excludes the overhead of - // the RPCs and the bot response time. - Duration *duration.Duration `protobuf:"bytes,4,opt,name=duration,proto3" json:"duration,omitempty"` // Deprecated: Do not use. - // The amount of time *not* spent executing the command (ie - // uploading/downloading files). - Overhead *duration.Duration `protobuf:"bytes,5,opt,name=overhead,proto3" json:"overhead,omitempty"` // Deprecated: Do not use. - // Implementation-dependent metadata about the task. Both servers and bots - // may define messages which can be encoded here; bots are free to provide - // metadata in multiple formats, and servers are free to choose one or more - // of the values to process and ignore others. In particular, it is *not* - // considered an error for the bot to provide the server with a field that it - // doesn't know about. - Metadata []*any.Any `protobuf:"bytes,6,rep,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7b7f8597ab32e88e, []int{3} -} - -func (m *CommandResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommandResult.Unmarshal(m, b) -} -func (m *CommandResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommandResult.Marshal(b, m, deterministic) -} -func (m *CommandResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommandResult.Merge(m, src) -} -func (m *CommandResult) XXX_Size() int { - return xxx_messageInfo_CommandResult.Size(m) -} -func (m *CommandResult) XXX_DiscardUnknown() { - xxx_messageInfo_CommandResult.DiscardUnknown(m) -} - -var xxx_messageInfo_CommandResult proto.InternalMessageInfo - -func (m *CommandResult) GetStatus() *status.Status { - if m != nil { - return m.Status - } - return nil -} - -func (m *CommandResult) GetExitCode() int32 { - if m != nil { - return m.ExitCode - } - return 0 -} - -func (m *CommandResult) GetOutputs() *Digest { - if m != nil { - return m.Outputs - } - return nil -} - -// Deprecated: Do not use. -func (m *CommandResult) GetDuration() *duration.Duration { - if m != nil { - return m.Duration - } - return nil -} - -// Deprecated: Do not use. -func (m *CommandResult) GetOverhead() *duration.Duration { - if m != nil { - return m.Overhead - } - return nil -} - -func (m *CommandResult) GetMetadata() []*any.Any { - if m != nil { - return m.Metadata - } - return nil -} - -// The metadata for a file. Similar to the equivalent message in the Remote -// Execution API. -type FileMetadata struct { - // The path of this file. If this message is part of the - // CommandOutputs.outputs fields, the path is relative to the execution root - // and must correspond to an entry in CommandTask.outputs.files. If this - // message is part of a Directory message, then the path is relative to the - // root of that directory. All paths MUST be delimited by forward slashes. - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` - // A pointer to the contents of the file. The method by which a client - // retrieves the contents from a CAS system is not defined here. - Digest *Digest `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"` - // If the file is small enough, its contents may also or alternatively be - // listed here. - Contents []byte `protobuf:"bytes,3,opt,name=contents,proto3" json:"contents,omitempty"` - // Properties of the file - IsExecutable bool `protobuf:"varint,4,opt,name=is_executable,json=isExecutable,proto3" json:"is_executable,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7b7f8597ab32e88e, []int{4} -} - -func (m *FileMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FileMetadata.Unmarshal(m, b) -} -func (m *FileMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FileMetadata.Marshal(b, m, deterministic) -} -func (m *FileMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_FileMetadata.Merge(m, src) -} -func (m *FileMetadata) XXX_Size() int { - return xxx_messageInfo_FileMetadata.Size(m) -} -func (m *FileMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_FileMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_FileMetadata proto.InternalMessageInfo - -func (m *FileMetadata) GetPath() string { - if m != nil { - return m.Path - } - return "" -} - -func (m *FileMetadata) GetDigest() *Digest { - if m != nil { - return m.Digest - } - return nil -} - -func (m *FileMetadata) GetContents() []byte { - if m != nil { - return m.Contents - } - return nil -} - -func (m *FileMetadata) GetIsExecutable() bool { - if m != nil { - return m.IsExecutable - } - return false -} - -// The metadata for a directory. Similar to the equivalent message in the Remote -// Execution API. -type DirectoryMetadata struct { - // The path of the directory, as in [FileMetadata.path][google.devtools.remoteworkers.v1test2.FileMetadata.path]. - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` - // A pointer to the contents of the directory, in the form of a marshalled - // Directory message. - Digest *Digest `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7b7f8597ab32e88e, []int{5} -} - -func (m *DirectoryMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DirectoryMetadata.Unmarshal(m, b) -} -func (m *DirectoryMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DirectoryMetadata.Marshal(b, m, deterministic) -} -func (m *DirectoryMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DirectoryMetadata.Merge(m, src) -} -func (m *DirectoryMetadata) XXX_Size() int { - return xxx_messageInfo_DirectoryMetadata.Size(m) -} -func (m *DirectoryMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_DirectoryMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_DirectoryMetadata proto.InternalMessageInfo - -func (m *DirectoryMetadata) GetPath() string { - if m != nil { - return m.Path - } - return "" -} - -func (m *DirectoryMetadata) GetDigest() *Digest { - if m != nil { - return m.Digest - } - return nil -} - -// The CommandTask and CommandResult messages assume the existence of a service -// that can serve blobs of content, identified by a hash and size known as a -// "digest." The method by which these blobs may be retrieved is not specified -// here, but a model implementation is in the Remote Execution API's -// "ContentAddressibleStorage" interface. -// -// In the context of the RWAPI, a Digest will virtually always refer to the -// contents of a file or a directory. The latter is represented by the -// byte-encoded Directory message. -type Digest struct { - // A string-encoded hash (eg "1a2b3c", not the byte array [0x1a, 0x2b, 0x3c]) - // using an implementation-defined hash algorithm (eg SHA-256). - Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` - // The size of the contents. While this is not strictly required as part of an - // identifier (after all, any given hash will have exactly one canonical - // size), it's useful in almost all cases when one might want to send or - // retrieve blobs of content and is included here for this reason. - SizeBytes int64 `protobuf:"varint,2,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"` - 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_7b7f8597ab32e88e, []int{6} -} - -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 (m *Digest) XXX_Merge(src proto.Message) { - xxx_messageInfo_Digest.Merge(m, 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 - -func (m *Digest) GetHash() string { - if m != nil { - return m.Hash - } - return "" -} - -func (m *Digest) GetSizeBytes() int64 { - if m != nil { - return m.SizeBytes - } - return 0 -} - -// Describes a blob of binary content with its digest. -type Blob struct { - // The digest of the blob. This should be verified by the receiver. - Digest *Digest `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"` - // The contents of the blob. - Contents []byte `protobuf:"bytes,2,opt,name=contents,proto3" json:"contents,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Blob) Reset() { *m = Blob{} } -func (m *Blob) String() string { return proto.CompactTextString(m) } -func (*Blob) ProtoMessage() {} -func (*Blob) Descriptor() ([]byte, []int) { - return fileDescriptor_7b7f8597ab32e88e, []int{7} -} - -func (m *Blob) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Blob.Unmarshal(m, b) -} -func (m *Blob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Blob.Marshal(b, m, deterministic) -} -func (m *Blob) XXX_Merge(src proto.Message) { - xxx_messageInfo_Blob.Merge(m, src) -} -func (m *Blob) XXX_Size() int { - return xxx_messageInfo_Blob.Size(m) -} -func (m *Blob) XXX_DiscardUnknown() { - xxx_messageInfo_Blob.DiscardUnknown(m) -} - -var xxx_messageInfo_Blob proto.InternalMessageInfo - -func (m *Blob) GetDigest() *Digest { - if m != nil { - return m.Digest - } - return nil -} - -func (m *Blob) GetContents() []byte { - if m != nil { - return m.Contents - } - return nil -} - -// The contents of a directory. Similar to the equivalent message in the Remote -// Execution API. -type Directory struct { - // The files in this directory - Files []*FileMetadata `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` - // Any subdirectories - Directories []*DirectoryMetadata `protobuf:"bytes,2,rep,name=directories,proto3" json:"directories,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7b7f8597ab32e88e, []int{8} -} - -func (m *Directory) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Directory.Unmarshal(m, b) -} -func (m *Directory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Directory.Marshal(b, m, deterministic) -} -func (m *Directory) XXX_Merge(src proto.Message) { - xxx_messageInfo_Directory.Merge(m, src) -} -func (m *Directory) XXX_Size() int { - return xxx_messageInfo_Directory.Size(m) -} -func (m *Directory) XXX_DiscardUnknown() { - xxx_messageInfo_Directory.DiscardUnknown(m) -} - -var xxx_messageInfo_Directory proto.InternalMessageInfo - -func (m *Directory) GetFiles() []*FileMetadata { - if m != nil { - return m.Files - } - return nil -} - -func (m *Directory) GetDirectories() []*DirectoryMetadata { - if m != nil { - return m.Directories - } - return nil -} - -func init() { - proto.RegisterType((*CommandTask)(nil), "google.devtools.remoteworkers.v1test2.CommandTask") - proto.RegisterType((*CommandTask_Inputs)(nil), "google.devtools.remoteworkers.v1test2.CommandTask.Inputs") - proto.RegisterType((*CommandTask_Inputs_EnvironmentVariable)(nil), "google.devtools.remoteworkers.v1test2.CommandTask.Inputs.EnvironmentVariable") - proto.RegisterType((*CommandTask_Outputs)(nil), "google.devtools.remoteworkers.v1test2.CommandTask.Outputs") - proto.RegisterType((*CommandTask_Timeouts)(nil), "google.devtools.remoteworkers.v1test2.CommandTask.Timeouts") - proto.RegisterType((*CommandOutputs)(nil), "google.devtools.remoteworkers.v1test2.CommandOutputs") - proto.RegisterType((*CommandOverhead)(nil), "google.devtools.remoteworkers.v1test2.CommandOverhead") - proto.RegisterType((*CommandResult)(nil), "google.devtools.remoteworkers.v1test2.CommandResult") - proto.RegisterType((*FileMetadata)(nil), "google.devtools.remoteworkers.v1test2.FileMetadata") - proto.RegisterType((*DirectoryMetadata)(nil), "google.devtools.remoteworkers.v1test2.DirectoryMetadata") - proto.RegisterType((*Digest)(nil), "google.devtools.remoteworkers.v1test2.Digest") - proto.RegisterType((*Blob)(nil), "google.devtools.remoteworkers.v1test2.Blob") - proto.RegisterType((*Directory)(nil), "google.devtools.remoteworkers.v1test2.Directory") -} - -func init() { - proto.RegisterFile("google/devtools/remoteworkers/v1test2/command.proto", fileDescriptor_7b7f8597ab32e88e) -} - -var fileDescriptor_7b7f8597ab32e88e = []byte{ - // 911 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x56, 0x5b, 0x6f, 0x1b, 0x45, - 0x14, 0xd6, 0xae, 0x2f, 0xb5, 0x8f, 0x53, 0xda, 0x0c, 0xa9, 0x70, 0xcd, 0x45, 0xd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59, - 0x1d, 0xa2, 0xbf, 0xd1, 0xfb, 0x00, 0x92, 0xfd, 0x48, 0xa7, 0xb3, 0x33, 0x45, 0xed, 0x4c, 0x35, - 0x70, 0x57, 0x23, 0x63, 0x0d, 0x44, 0x0c, 0x9a, 0x7a, 0xd1, 0xd7, 0x6a, 0x09, 0xfe, 0x2f, 0xf3, - 0xc2, 0x55, 0xf3, 0xa2, 0xdf, 0x03, 0xe8, 0x56, 0xc6, 0xa0, 0x07, 0xf5, 0xcd, 0xda, 0x1b, 0xed, - 0xad, 0x79, 0x5e, 0xfd, 0x15, 0xf8, 0x75, 0xfc, 0xf8, 0xe2, 0x3a, 0xee, 0x8d, 0x3e, 0x5f, 0xfb, - 0x02, 0xaf, 0xb4, 0x6a, 0x65, 0x91, 0x8f, 0xff, 0x08, 0xe0, 0xa3, 0x84, 0xcf, 0xd7, 0x13, 0x1b, - 0xdf, 0xc2, 0x06, 0x3e, 0xb1, 0xb0, 0x9b, 0x7e, 0xf9, 0x5d, 0xf0, 0x18, 0x3b, 0x7e, 0xc6, 0x73, - 0x52, 0x64, 0x31, 0x17, 0xd9, 0x30, 0xa3, 0x85, 0x79, 0xed, 0x43, 0x1b, 0x22, 0x0b, 0x26, 0x2f, - 0xf9, 0xdb, 0x77, 0xb0, 0x82, 0xfe, 0x12, 0x86, 0xf8, 0xe4, 0x65, 0x78, 0xe7, 0xbe, 0x55, 0x9e, - 0xd0, 0xe5, 0xb1, 0xa9, 0x6c, 0xa5, 0x84, 0xf8, 0xd1, 0xbd, 0x63, 0x4d, 0x9d, 0xb5, 0xcd, 0x59, - 0x7b, 0x7f, 0x05, 0x00, 0x00, 0xff, 0xff, 0x9c, 0x79, 0x22, 0xd3, 0x61, 0x0a, 0x00, 0x00, -} 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 deleted file mode 100644 index b5d88941..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/remoteworkers/v1test2/tasks.pb.go +++ /dev/null @@ -1,638 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/remoteworkers/v1test2/tasks.proto - -package remoteworkers - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - any "github.com/golang/protobuf/ptypes/any" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// DEPRECATED - use Lease.payload instead. -// A Task represents a unit of work. Its result and logs are defined as -// subresources. -// -// If all the `Any` fields are populated, this can be a very large message, and -// clients may not want the entire message returned on every call to every -// method. Such clients should request partial responses -// (https://cloud.google.com/apis/design/design_patterns#partial_response) and -// servers should implement partial responses in order to reduce unnecessry -// overhead. -type Task struct { - // The name of this task. Output only. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The actual task to perform. For example, this could be CommandTask to run a - // command line. - Description *any.Any `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - // Handles to logs. The key is a human-readable name like `stdout`, and the - // handle is a resource name that can be passed to ByteStream or other - // accessors. - // - // An implementation may define some logs by default (like `stdout`), and may - // allow clients to add new logs via AddTaskLog. - Logs map[string]string `protobuf:"bytes,3,rep,name=logs,proto3" json:"logs,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 *Task) Reset() { *m = Task{} } -func (m *Task) String() string { return proto.CompactTextString(m) } -func (*Task) ProtoMessage() {} -func (*Task) Descriptor() ([]byte, []int) { - return fileDescriptor_164aeca5668e3481, []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 (m *Task) XXX_Merge(src proto.Message) { - xxx_messageInfo_Task.Merge(m, 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 "" -} - -func (m *Task) GetDescription() *any.Any { - if m != nil { - return m.Description - } - return nil -} - -func (m *Task) GetLogs() map[string]string { - if m != nil { - return m.Logs - } - return nil -} - -// DEPRECATED - use Lease.assignment_result instead. -// The result and metadata of the task. -type TaskResult struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The result may be updated several times; the client must only set - // `complete` to true to indicate that no further updates are allowed. - // If this is not true, the `status` field must not be examined since its zero - // value is equivalent to `OK`. - // - // Once a task is completed, it must not be updated with further results, - // though the implementation may choose to continue to receive logs. - Complete bool `protobuf:"varint,2,opt,name=complete,proto3" json:"complete,omitempty"` - // The final status of the task itself. For example, if task.description - // included a timeout which was violated, status.code may be - // DEADLINE_EXCEEDED. This field can only be read if `complete` is true. - Status *status.Status `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` - // Any non-log output, such as output files and exit codes. See - // CommandResult as an example. - Output *any.Any `protobuf:"bytes,4,opt,name=output,proto3" json:"output,omitempty"` - // Any information about how the command was executed, eg runtime. See - // CommandOverhead as an example. - Meta *any.Any `protobuf:"bytes,5,opt,name=meta,proto3" json:"meta,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_164aeca5668e3481, []int{1} -} - -func (m *TaskResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskResult.Unmarshal(m, b) -} -func (m *TaskResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskResult.Marshal(b, m, deterministic) -} -func (m *TaskResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskResult.Merge(m, src) -} -func (m *TaskResult) XXX_Size() int { - return xxx_messageInfo_TaskResult.Size(m) -} -func (m *TaskResult) XXX_DiscardUnknown() { - xxx_messageInfo_TaskResult.DiscardUnknown(m) -} - -var xxx_messageInfo_TaskResult proto.InternalMessageInfo - -func (m *TaskResult) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *TaskResult) GetComplete() bool { - if m != nil { - return m.Complete - } - return false -} - -func (m *TaskResult) GetStatus() *status.Status { - if m != nil { - return m.Status - } - return nil -} - -func (m *TaskResult) GetOutput() *any.Any { - if m != nil { - return m.Output - } - return nil -} - -func (m *TaskResult) GetMeta() *any.Any { - if m != nil { - return m.Meta - } - return nil -} - -// Request message for `GetTask`. -type GetTaskRequest struct { - // Required. The task name. - 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 *GetTaskRequest) Reset() { *m = GetTaskRequest{} } -func (m *GetTaskRequest) String() string { return proto.CompactTextString(m) } -func (*GetTaskRequest) ProtoMessage() {} -func (*GetTaskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_164aeca5668e3481, []int{2} -} - -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 (m *GetTaskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTaskRequest.Merge(m, 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 "" -} - -// Request message for `UpdateTaskResult`. -type UpdateTaskResultRequest struct { - // Required. The task result name; must match `result.name`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The result being updated. - Result *TaskResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - // Required. The fields within `result` that are specified. - UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` - // Required. If this is being updated by a bot from BotManager, the source should be - // bot.session_id. That way, if two bots accidentally get the same name, we'll - // know to reject updates from the older one. - Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_164aeca5668e3481, []int{3} -} - -func (m *UpdateTaskResultRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateTaskResultRequest.Unmarshal(m, b) -} -func (m *UpdateTaskResultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateTaskResultRequest.Marshal(b, m, deterministic) -} -func (m *UpdateTaskResultRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateTaskResultRequest.Merge(m, src) -} -func (m *UpdateTaskResultRequest) XXX_Size() int { - return xxx_messageInfo_UpdateTaskResultRequest.Size(m) -} -func (m *UpdateTaskResultRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateTaskResultRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateTaskResultRequest proto.InternalMessageInfo - -func (m *UpdateTaskResultRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *UpdateTaskResultRequest) GetResult() *TaskResult { - if m != nil { - return m.Result - } - return nil -} - -func (m *UpdateTaskResultRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -func (m *UpdateTaskResultRequest) GetSource() string { - if m != nil { - return m.Source - } - return "" -} - -// Request message for `AddTaskLog`. -type AddTaskLogRequest struct { - // Required. The name of the task that will own the new log. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The human-readable name of the log, like `stdout` or a relative file path. - LogId string `protobuf:"bytes,2,opt,name=log_id,json=logId,proto3" json:"log_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_164aeca5668e3481, []int{4} -} - -func (m *AddTaskLogRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddTaskLogRequest.Unmarshal(m, b) -} -func (m *AddTaskLogRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddTaskLogRequest.Marshal(b, m, deterministic) -} -func (m *AddTaskLogRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddTaskLogRequest.Merge(m, src) -} -func (m *AddTaskLogRequest) XXX_Size() int { - return xxx_messageInfo_AddTaskLogRequest.Size(m) -} -func (m *AddTaskLogRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AddTaskLogRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AddTaskLogRequest proto.InternalMessageInfo - -func (m *AddTaskLogRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *AddTaskLogRequest) GetLogId() string { - if m != nil { - return m.LogId - } - return "" -} - -// Response message for `AddTaskLog`. -type AddTaskLogResponse struct { - // The handle for the new log, as would be returned in Task.logs. - Handle string `protobuf:"bytes,1,opt,name=handle,proto3" json:"handle,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_164aeca5668e3481, []int{5} -} - -func (m *AddTaskLogResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddTaskLogResponse.Unmarshal(m, b) -} -func (m *AddTaskLogResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddTaskLogResponse.Marshal(b, m, deterministic) -} -func (m *AddTaskLogResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddTaskLogResponse.Merge(m, src) -} -func (m *AddTaskLogResponse) XXX_Size() int { - return xxx_messageInfo_AddTaskLogResponse.Size(m) -} -func (m *AddTaskLogResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AddTaskLogResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AddTaskLogResponse proto.InternalMessageInfo - -func (m *AddTaskLogResponse) GetHandle() string { - if m != nil { - return m.Handle - } - return "" -} - -func init() { - proto.RegisterType((*Task)(nil), "google.devtools.remoteworkers.v1test2.Task") - proto.RegisterMapType((map[string]string)(nil), "google.devtools.remoteworkers.v1test2.Task.LogsEntry") - proto.RegisterType((*TaskResult)(nil), "google.devtools.remoteworkers.v1test2.TaskResult") - proto.RegisterType((*GetTaskRequest)(nil), "google.devtools.remoteworkers.v1test2.GetTaskRequest") - proto.RegisterType((*UpdateTaskResultRequest)(nil), "google.devtools.remoteworkers.v1test2.UpdateTaskResultRequest") - proto.RegisterType((*AddTaskLogRequest)(nil), "google.devtools.remoteworkers.v1test2.AddTaskLogRequest") - proto.RegisterType((*AddTaskLogResponse)(nil), "google.devtools.remoteworkers.v1test2.AddTaskLogResponse") -} - -func init() { - proto.RegisterFile("google/devtools/remoteworkers/v1test2/tasks.proto", fileDescriptor_164aeca5668e3481) -} - -var fileDescriptor_164aeca5668e3481 = []byte{ - // 847 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcf, 0x6f, 0x1b, 0x45, - 0x14, 0xd6, 0xae, 0x7f, 0x50, 0x3f, 0x4b, 0xa8, 0x8c, 0x2a, 0x6a, 0x96, 0xa8, 0x75, 0x17, 0x05, - 0x6c, 0xd7, 0xda, 0x95, 0x8d, 0x80, 0x62, 0x14, 0xc4, 0xba, 0xd0, 0xaa, 0x52, 0x80, 0x6a, 0x1b, - 0xa8, 0xc4, 0x25, 0x9a, 0xec, 0x4e, 0x37, 0x2b, 0xaf, 0x67, 0x96, 0x9d, 0x59, 0x57, 0x56, 0xe4, - 0x0b, 0x77, 0x4e, 0x08, 0x89, 0x13, 0x07, 0x8e, 0xfc, 0x0f, 0x5c, 0x38, 0x72, 0xe5, 0x44, 0x2e, - 0xf4, 0xc0, 0x29, 0x7f, 0x02, 0x27, 0xb4, 0x33, 0xe3, 0xc4, 0x76, 0x88, 0xe3, 0x20, 0x4e, 0xd9, - 0x79, 0x3f, 0xbf, 0xf7, 0xbd, 0xef, 0x45, 0x86, 0x5e, 0xc4, 0x58, 0x94, 0x10, 0x37, 0x24, 0x13, - 0xc1, 0x58, 0xc2, 0xdd, 0x8c, 0x8c, 0x99, 0x20, 0xcf, 0x59, 0x36, 0x22, 0x19, 0x77, 0x27, 0x3d, - 0x41, 0xb8, 0xe8, 0xbb, 0x02, 0xf3, 0x11, 0x77, 0xd2, 0x8c, 0x09, 0x86, 0xb6, 0x55, 0x8a, 0x33, - 0x4f, 0x71, 0x96, 0x52, 0x1c, 0x9d, 0x62, 0x6d, 0xe9, 0xca, 0x38, 0x8d, 0x5d, 0x4c, 0x29, 0x13, - 0x58, 0xc4, 0x8c, 0xea, 0x22, 0xd6, 0xcd, 0x05, 0x6f, 0x90, 0xc4, 0x84, 0x0a, 0xed, 0xb8, 0xbd, - 0xe0, 0x78, 0x16, 0x93, 0x24, 0xdc, 0x3f, 0x20, 0x87, 0x78, 0x12, 0xb3, 0x4c, 0x07, 0xbc, 0xb6, - 0x10, 0x90, 0x11, 0xce, 0xf2, 0x2c, 0x20, 0x2b, 0x2e, 0xf9, 0x3a, 0xc8, 0x9f, 0xb9, 0x98, 0x4e, - 0xb5, 0xab, 0xb9, 0xea, 0x52, 0xb5, 0xc7, 0x98, 0x8f, 0x56, 0x10, 0x65, 0x69, 0xe0, 0x72, 0x81, - 0x45, 0xae, 0xa1, 0xda, 0x3f, 0x9a, 0x50, 0xde, 0xc3, 0x7c, 0x84, 0x10, 0x94, 0x29, 0x1e, 0x93, - 0x86, 0xd1, 0x34, 0x5a, 0x35, 0x5f, 0x7e, 0xa3, 0x77, 0xa1, 0x1e, 0x12, 0x1e, 0x64, 0x71, 0x5a, - 0x4c, 0xd7, 0x30, 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0x27, 0xd3, 0xf4, 0x9f, 0xfe, 0x6c, 0x6e, 0x3f, 0x54, 0x95, 0x3f, - 0x26, 0x93, 0x3d, 0x09, 0x6b, 0xa9, 0xbf, 0xf3, 0x65, 0x6f, 0xaf, 0x48, 0x3d, 0xa8, 0xca, 0x5e, - 0x6f, 0xff, 0x13, 0x00, 0x00, 0xff, 0xff, 0x79, 0x7a, 0xdc, 0xca, 0x8a, 0x08, 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 - -// TasksClient is the client API for Tasks service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type TasksClient interface { - // DEPRECATED - use Lease.payload instead. - // GetTask reads the current state of the task. Tasks must be created through - // some other interface, and should be immutable once created and exposed to - // the bots. - GetTask(ctx context.Context, in *GetTaskRequest, opts ...grpc.CallOption) (*Task, error) - // DEPRECATED - use Lease.result instead. - // UpdateTaskResult updates the result. - UpdateTaskResult(ctx context.Context, in *UpdateTaskResultRequest, opts ...grpc.CallOption) (*TaskResult, error) - // DEPRECATED - precreate logs prior to sending to bot. - // AddTaskLog creates a new streaming log. The log is streamed and marked as - // completed through other interfaces (i.e., ByteStream). This can be called - // by the bot if it wants to create a new log; the server can also predefine - // logs that do not need to be created (e.g. `stdout`). - AddTaskLog(ctx context.Context, in *AddTaskLogRequest, opts ...grpc.CallOption) (*AddTaskLogResponse, error) -} - -type tasksClient struct { - cc *grpc.ClientConn -} - -func NewTasksClient(cc *grpc.ClientConn) TasksClient { - return &tasksClient{cc} -} - -func (c *tasksClient) GetTask(ctx context.Context, in *GetTaskRequest, opts ...grpc.CallOption) (*Task, error) { - out := new(Task) - err := c.cc.Invoke(ctx, "/google.devtools.remoteworkers.v1test2.Tasks/GetTask", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *tasksClient) UpdateTaskResult(ctx context.Context, in *UpdateTaskResultRequest, opts ...grpc.CallOption) (*TaskResult, error) { - out := new(TaskResult) - err := c.cc.Invoke(ctx, "/google.devtools.remoteworkers.v1test2.Tasks/UpdateTaskResult", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *tasksClient) AddTaskLog(ctx context.Context, in *AddTaskLogRequest, opts ...grpc.CallOption) (*AddTaskLogResponse, error) { - out := new(AddTaskLogResponse) - err := c.cc.Invoke(ctx, "/google.devtools.remoteworkers.v1test2.Tasks/AddTaskLog", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// TasksServer is the server API for Tasks service. -type TasksServer interface { - // DEPRECATED - use Lease.payload instead. - // GetTask reads the current state of the task. Tasks must be created through - // some other interface, and should be immutable once created and exposed to - // the bots. - GetTask(context.Context, *GetTaskRequest) (*Task, error) - // DEPRECATED - use Lease.result instead. - // UpdateTaskResult updates the result. - UpdateTaskResult(context.Context, *UpdateTaskResultRequest) (*TaskResult, error) - // DEPRECATED - precreate logs prior to sending to bot. - // AddTaskLog creates a new streaming log. The log is streamed and marked as - // completed through other interfaces (i.e., ByteStream). This can be called - // by the bot if it wants to create a new log; the server can also predefine - // logs that do not need to be created (e.g. `stdout`). - AddTaskLog(context.Context, *AddTaskLogRequest) (*AddTaskLogResponse, error) -} - -// UnimplementedTasksServer can be embedded to have forward compatible implementations. -type UnimplementedTasksServer struct { -} - -func (*UnimplementedTasksServer) GetTask(ctx context.Context, req *GetTaskRequest) (*Task, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetTask not implemented") -} -func (*UnimplementedTasksServer) UpdateTaskResult(ctx context.Context, req *UpdateTaskResultRequest) (*TaskResult, error) { - return nil, status1.Errorf(codes.Unimplemented, "method UpdateTaskResult not implemented") -} -func (*UnimplementedTasksServer) AddTaskLog(ctx context.Context, req *AddTaskLogRequest) (*AddTaskLogResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method AddTaskLog not implemented") -} - -func RegisterTasksServer(s *grpc.Server, srv TasksServer) { - s.RegisterService(&_Tasks_serviceDesc, srv) -} - -func _Tasks_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.(TasksServer).GetTask(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.remoteworkers.v1test2.Tasks/GetTask", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TasksServer).GetTask(ctx, req.(*GetTaskRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Tasks_UpdateTaskResult_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateTaskResultRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TasksServer).UpdateTaskResult(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.remoteworkers.v1test2.Tasks/UpdateTaskResult", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TasksServer).UpdateTaskResult(ctx, req.(*UpdateTaskResultRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Tasks_AddTaskLog_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddTaskLogRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TasksServer).AddTaskLog(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.remoteworkers.v1test2.Tasks/AddTaskLog", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TasksServer).AddTaskLog(ctx, req.(*AddTaskLogRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Tasks_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.devtools.remoteworkers.v1test2.Tasks", - HandlerType: (*TasksServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetTask", - Handler: _Tasks_GetTask_Handler, - }, - { - MethodName: "UpdateTaskResult", - Handler: _Tasks_UpdateTaskResult_Handler, - }, - { - MethodName: "AddTaskLog", - Handler: _Tasks_AddTaskLog_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/devtools/remoteworkers/v1test2/tasks.proto", -} 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 deleted file mode 100644 index e868b501..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/remoteworkers/v1test2/worker.pb.go +++ /dev/null @@ -1,420 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/remoteworkers/v1test2/worker.proto - -package remoteworkers - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Describes a worker, which is a list of one or more devices and the -// connections between them. A device could be a computer, a phone, or even an -// accelerator like a GPU; it's up to the farm administrator to decide how to -// model their farm. For example, if a farm only has one type of GPU, the GPU -// could be modelled as a "has_gpu" property on its host computer; if it has -// many subproperties itself, it might be better to model it as a separate -// device. -// -// The first device in the worker is the "primary device" - that is, the device -// running a bot and which is responsible for actually executing commands. All -// other devices are considered to be attached devices, and must be controllable -// by the primary device. -// -// This message (and all its submessages) can be used in two contexts: -// -// * Status: sent by the bot to report the current capabilities of the device to -// allow reservation matching. -// * Request: sent by a client to request a device with certain capabilities in -// a reservation. -// -// Several of the fields in this message have different semantics depending on -// which of which of these contexts it is used. These semantics are described -// below. -// -// Several messages in Worker and its submessages have the concept of keys and -// values, such as `Worker.Property` and `Device.Property`. All keys are simple -// strings, but certain keys are "standard" keys and should be broadly supported -// across farms and implementations; these are listed below each relevant -// message. Bot implementations or farm admins may add *additional* keys, but -// these SHOULD all begin with an underscore so they do not conflict with -// standard keys that may be added in the future. -// -// Keys are not context sensitive. -// -// See http://goo.gl/NurY8g for more information on the Worker message. -type Worker struct { - // A list of devices; the first device is the primary device. See the `Device` - // message for more information. - Devices []*Device `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"` - // A worker may contain "global" properties. For example, certain machines - // might be reserved for certain types of jobs, like short-running compilation - // versus long-running integration tests. This property is known as a "pool" - // and is not related to any one device within the worker; rather, it applies - // to the worker as a whole. - // - // The behaviour of repeated keys is identical to that of Device.Property. - Properties []*Worker_Property `protobuf:"bytes,2,rep,name=properties,proto3" json:"properties,omitempty"` - // Bots can be configured in certain ways when accepting leases. For example, - // many leases are executed inside a Docker container. To support this, the - // bot needs to be able to report that it has Docker installed (and knows how - // to execute something inside a container), and the task submitter needs to - // specify which image should be used to start the container. Similarly, a - // lease may be able to run as one of several users on the worker; in such - // cases, the bot needs to report what users are available, and the submitter - // needs to choose one. - // - // Therefore, when this message is reported by the bot to the service, each - // key represents a *type* of configuration that the bot knows how to set, - // while each *value* represents a legal value for that configuration (the - // empty string is interpretted as a wildcard, such as for Docker images). - // When this message is sent by the server to the bot in the context of a - // lease, it represents a command to the bot to apply the setting. Keys may - // be repeated during reporting but not in a lease. - Configs []*Worker_Config `protobuf:"bytes,3,rep,name=configs,proto3" json:"configs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1a7edeeca1cd65a1, []int{0} -} - -func (m *Worker) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Worker.Unmarshal(m, b) -} -func (m *Worker) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Worker.Marshal(b, m, deterministic) -} -func (m *Worker) XXX_Merge(src proto.Message) { - xxx_messageInfo_Worker.Merge(m, src) -} -func (m *Worker) XXX_Size() int { - return xxx_messageInfo_Worker.Size(m) -} -func (m *Worker) XXX_DiscardUnknown() { - xxx_messageInfo_Worker.DiscardUnknown(m) -} - -var xxx_messageInfo_Worker proto.InternalMessageInfo - -func (m *Worker) GetDevices() []*Device { - if m != nil { - return m.Devices - } - return nil -} - -func (m *Worker) GetProperties() []*Worker_Property { - if m != nil { - return m.Properties - } - return nil -} - -func (m *Worker) GetConfigs() []*Worker_Config { - if m != nil { - return m.Configs - } - return nil -} - -// A global property; see the `properties` field for more information. -type Worker_Property struct { - // For general information on keys, see the documentation to `Worker`. - // - // The current set of standard keys are: - // - // * pool: different workers can be reserved for different purposes. For - // example, an admin might want to segregate long-running integration tests - // from short-running unit tests, so unit tests will always get some - // throughput. To support this, the server can assign different values for - // `pool` (such as "itest" and "utest") to different workers, and then have - // jobs request workers from those pools. - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - // The property's value. - 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 *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_1a7edeeca1cd65a1, []int{0, 0} -} - -func (m *Worker_Property) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Worker_Property.Unmarshal(m, b) -} -func (m *Worker_Property) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Worker_Property.Marshal(b, m, deterministic) -} -func (m *Worker_Property) XXX_Merge(src proto.Message) { - xxx_messageInfo_Worker_Property.Merge(m, src) -} -func (m *Worker_Property) XXX_Size() int { - return xxx_messageInfo_Worker_Property.Size(m) -} -func (m *Worker_Property) XXX_DiscardUnknown() { - xxx_messageInfo_Worker_Property.DiscardUnknown(m) -} - -var xxx_messageInfo_Worker_Property proto.InternalMessageInfo - -func (m *Worker_Property) GetKey() string { - if m != nil { - return m.Key - } - return "" -} - -func (m *Worker_Property) GetValue() string { - if m != nil { - return m.Value - } - return "" -} - -// A configuration request or report; see the `configs` field for more -// information. -type Worker_Config struct { - // For general information on keys, see the documentation to `Worker`. - // - // The current set of standard keys are: - // - // * DockerImage: the image of the container. When being reported by the - // bot, the empty value should always be included if the bot is able to pull - // its own images; the bot may optionally *also* report images that are - // present in its cache. When being requested in a lease, the value is the - // URI of the image (eg `gcr.io/user/image@sha256:hash`). - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - // The configuration's value. - 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 *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_1a7edeeca1cd65a1, []int{0, 1} -} - -func (m *Worker_Config) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Worker_Config.Unmarshal(m, b) -} -func (m *Worker_Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Worker_Config.Marshal(b, m, deterministic) -} -func (m *Worker_Config) XXX_Merge(src proto.Message) { - xxx_messageInfo_Worker_Config.Merge(m, src) -} -func (m *Worker_Config) XXX_Size() int { - return xxx_messageInfo_Worker_Config.Size(m) -} -func (m *Worker_Config) XXX_DiscardUnknown() { - xxx_messageInfo_Worker_Config.DiscardUnknown(m) -} - -var xxx_messageInfo_Worker_Config proto.InternalMessageInfo - -func (m *Worker_Config) GetKey() string { - if m != nil { - return m.Key - } - return "" -} - -func (m *Worker_Config) GetValue() string { - if m != nil { - return m.Value - } - return "" -} - -// Any device, including computers, phones, accelerators (e.g. GPUs), etc. All -// names must be unique. -type Device struct { - // The handle can be thought of as the "name" of the device, and must be - // unique within a Worker. - // - // In the Status context, the handle should be some human-understandable name, - // perhaps corresponding to a label physically written on the device to make - // it easy to locate. In the Request context, the name should be the - // *logical* name expected by the task. The bot is responsible for mapping the - // logical name expected by the task to a machine-readable name that the task - // can actually use, such as a USB address. The method by which this mapping - // is communicated to the task is not covered in this API. - Handle string `protobuf:"bytes,1,opt,name=handle,proto3" json:"handle,omitempty"` - // Properties of this device that don't change based on the tasks that are - // running on it, e.g. OS, CPU architecture, etc. - // - // Keys may be repeated, and have the following interpretation: - // - // * Status context: the device can support *any* the listed values. For - // example, an "ISA" property might include "x86", "x86-64" and "sse4". - // - // * Request context: the device *must* support *all* of the listed values. - Properties []*Device_Property `protobuf:"bytes,2,rep,name=properties,proto3" json:"properties,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_1a7edeeca1cd65a1, []int{1} -} - -func (m *Device) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Device.Unmarshal(m, b) -} -func (m *Device) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Device.Marshal(b, m, deterministic) -} -func (m *Device) XXX_Merge(src proto.Message) { - xxx_messageInfo_Device.Merge(m, src) -} -func (m *Device) XXX_Size() int { - return xxx_messageInfo_Device.Size(m) -} -func (m *Device) XXX_DiscardUnknown() { - xxx_messageInfo_Device.DiscardUnknown(m) -} - -var xxx_messageInfo_Device proto.InternalMessageInfo - -func (m *Device) GetHandle() string { - if m != nil { - return m.Handle - } - return "" -} - -func (m *Device) GetProperties() []*Device_Property { - if m != nil { - return m.Properties - } - return nil -} - -// A device property; see `properties` for more information. -type Device_Property struct { - // For general information on keys, see the documentation to `Worker`. - // - // The current set of standard keys are: - // - // * os: a human-readable description of the OS. Examples include `linux`, - // `ubuntu` and `ubuntu 14.04` (note that a bot may advertise itself as more - // than one). This will be replaced in the future by more well-structured - // keys and values to represent OS variants. - // - // * has-docker: "true" if the bot has Docker installed. This will be - // replaced in the future by a more structured message for Docker support. - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - // The property's value. - 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 *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_1a7edeeca1cd65a1, []int{1, 0} -} - -func (m *Device_Property) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Device_Property.Unmarshal(m, b) -} -func (m *Device_Property) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Device_Property.Marshal(b, m, deterministic) -} -func (m *Device_Property) XXX_Merge(src proto.Message) { - xxx_messageInfo_Device_Property.Merge(m, src) -} -func (m *Device_Property) XXX_Size() int { - return xxx_messageInfo_Device_Property.Size(m) -} -func (m *Device_Property) XXX_DiscardUnknown() { - xxx_messageInfo_Device_Property.DiscardUnknown(m) -} - -var xxx_messageInfo_Device_Property proto.InternalMessageInfo - -func (m *Device_Property) GetKey() string { - if m != nil { - return m.Key - } - return "" -} - -func (m *Device_Property) GetValue() string { - if m != nil { - return m.Value - } - return "" -} - -func init() { - proto.RegisterType((*Worker)(nil), "google.devtools.remoteworkers.v1test2.Worker") - proto.RegisterType((*Worker_Property)(nil), "google.devtools.remoteworkers.v1test2.Worker.Property") - proto.RegisterType((*Worker_Config)(nil), "google.devtools.remoteworkers.v1test2.Worker.Config") - proto.RegisterType((*Device)(nil), "google.devtools.remoteworkers.v1test2.Device") - proto.RegisterType((*Device_Property)(nil), "google.devtools.remoteworkers.v1test2.Device.Property") -} - -func init() { - proto.RegisterFile("google/devtools/remoteworkers/v1test2/worker.proto", fileDescriptor_1a7edeeca1cd65a1) -} - -var fileDescriptor_1a7edeeca1cd65a1 = []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, - 0x37, 0x36, 0x8a, 0x17, 0x6f, 0xb5, 0xd0, 0x9b, 0x94, 0xa5, 0xb4, 0xe0, 0x2d, 0xb6, 0xe3, 0x1a, - 0x9a, 0x66, 0xc2, 0x6e, 0x8c, 0xf4, 0x75, 0x3c, 0x8a, 0x6f, 0xe1, 0x83, 0xf8, 0x2a, 0xd2, 0xdd, - 0x04, 0x0c, 0x08, 0x46, 0x3d, 0x25, 0x33, 0xe1, 0xf7, 0x9b, 0xc9, 0x9f, 0x81, 0x50, 0x12, 0xc9, - 0x04, 0x83, 0x15, 0x16, 0x39, 0x51, 0xa2, 0x03, 0x85, 0x1b, 0xca, 0xf1, 0x89, 0xd4, 0x1a, 0x95, - 0x0e, 0x8a, 0x61, 0x8e, 0x3a, 0x0f, 0x03, 0x5b, 0xf3, 0x4c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, - 0xcd, 0x3d, 0x5f, 0xd5, 0xba, 0xcf, 0xae, 0x2b, 0x16, 0x2f, 0x6e, 0x7f, 0x62, 0xcd, 0x63, 0x2c, - 0x66, 0x66, 0xaf, 0xda, 0x02, 0x7c, 0x3e, 0x9c, 0xed, 0xd0, 0x3b, 0xcf, 0xcc, 0x3a, 0xff, 0x08, - 0x00, 0x00, 0xff, 0xff, 0x4e, 0x67, 0x96, 0xee, 0x3a, 0x03, 0x00, 0x00, -} 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 deleted file mode 100644 index 9244609b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/action.pb.go +++ /dev/null @@ -1,1179 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/resultstore/v2/action.proto - -package resultstore - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Indicates how/where this Action was executed. -type ExecutionStrategy int32 - -const ( - // The action did not indicate how it was executed. - ExecutionStrategy_EXECUTION_STRATEGY_UNSPECIFIED ExecutionStrategy = 0 - // The action was executed in some other form. - ExecutionStrategy_OTHER_ENVIRONMENT ExecutionStrategy = 1 - // The action used a remote build service. - ExecutionStrategy_REMOTE_SERVICE ExecutionStrategy = 2 - // The action was executed locally, in parallel with other actions. - ExecutionStrategy_LOCAL_PARALLEL ExecutionStrategy = 3 - // The action was executed locally, without parallelism. - ExecutionStrategy_LOCAL_SEQUENTIAL ExecutionStrategy = 4 -) - -var ExecutionStrategy_name = map[int32]string{ - 0: "EXECUTION_STRATEGY_UNSPECIFIED", - 1: "OTHER_ENVIRONMENT", - 2: "REMOTE_SERVICE", - 3: "LOCAL_PARALLEL", - 4: "LOCAL_SEQUENTIAL", -} - -var ExecutionStrategy_value = map[string]int32{ - "EXECUTION_STRATEGY_UNSPECIFIED": 0, - "OTHER_ENVIRONMENT": 1, - "REMOTE_SERVICE": 2, - "LOCAL_PARALLEL": 3, - "LOCAL_SEQUENTIAL": 4, -} - -func (x ExecutionStrategy) String() string { - return proto.EnumName(ExecutionStrategy_name, int32(x)) -} - -func (ExecutionStrategy) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e98e32542f2d3836, []int{0} -} - -// Most build systems cache build results to speed up incremental builds. -// Some also cache test results too. This indicates whether the test results -// were found in a cache, and where that cache was located. -type TestCaching int32 - -const ( - // The implicit default enum value. Should never be set. - TestCaching_TEST_CACHING_UNSPECIFIED TestCaching = 0 - // The test result was found in a local cache, so it wasn't run again. - TestCaching_LOCAL_CACHE_HIT TestCaching = 1 - // The test result was found in a remote cache, so it wasn't run again. - TestCaching_REMOTE_CACHE_HIT TestCaching = 2 - // The test result was not found in any cache, so it had to be run again. - TestCaching_CACHE_MISS TestCaching = 3 -) - -var TestCaching_name = map[int32]string{ - 0: "TEST_CACHING_UNSPECIFIED", - 1: "LOCAL_CACHE_HIT", - 2: "REMOTE_CACHE_HIT", - 3: "CACHE_MISS", -} - -var TestCaching_value = map[string]int32{ - "TEST_CACHING_UNSPECIFIED": 0, - "LOCAL_CACHE_HIT": 1, - "REMOTE_CACHE_HIT": 2, - "CACHE_MISS": 3, -} - -func (x TestCaching) String() string { - return proto.EnumName(TestCaching_name, int32(x)) -} - -func (TestCaching) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e98e32542f2d3836, []int{1} -} - -// An action that happened as part of a configured target. This action could be -// a build, a test, or another type of action, as specified in action_type -// oneof. -// -// Each parent ConfiguredTarget resource should have at least one Action as its -// child resource before the invocation is finalized. For a simple build, at -// least one build action should be created to represent the build result, and -// at at least one test action should be created to represent the test result, -// if any. -type Action struct { - // The resource name. Its format must be: - // invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)}/configuredTargets/url_encode(${CONFIG_ID})/actions/${url_encode(ACTION_ID)} - // - // See CreateActionRequest proto for more information. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The resource ID components that identify the Action. They must match the - // resource name after proper encoding. - Id *Action_Id `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // The status of the action. - StatusAttributes *StatusAttributes `protobuf:"bytes,3,opt,name=status_attributes,json=statusAttributes,proto3" json:"status_attributes,omitempty"` - // The timing of the whole action. For TestActions, the start time may be - // before the test actually started, and the duration may last until after the - // test actually finished. - Timing *Timing `protobuf:"bytes,4,opt,name=timing,proto3" json:"timing,omitempty"` - // The type of the action. The type of an action may not change over the - // lifetime of the invocation. If one of these fields is to be set, it must be - // set in the CreateAction method. It may be set to an empty message that is - // populated in later methods or post-processing. A generic "untyped" action - // can be created by not setting any of these fields. An untyped action will - // be untyped for the lifetime of the invocation. - // - // Types that are valid to be assigned to ActionType: - // *Action_BuildAction - // *Action_TestAction - ActionType isAction_ActionType `protobuf_oneof:"action_type"` - // General attributes of the action. - ActionAttributes *ActionAttributes `protobuf:"bytes,5,opt,name=action_attributes,json=actionAttributes,proto3" json:"action_attributes,omitempty"` - // A list of resources that this action depended upon. May be used to provide - // the cause of a build failure in the case of a failed build action. - ActionDependencies []*Dependency `protobuf:"bytes,14,rep,name=action_dependencies,json=actionDependencies,proto3" json:"action_dependencies,omitempty"` - // Arbitrary name-value pairs. - // This is implemented as a multi-map. Multiple properties are allowed with - // the same key. Properties will be returned in lexicographical order by key. - Properties []*Property `protobuf:"bytes,7,rep,name=properties,proto3" json:"properties,omitempty"` - // A list of file references for action 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 with the following reserved file IDs cause specific post-processing - // or have special handling. These files must be immediately available to - // ResultStore for processing when the reference is uploaded. - // - // For build actions: - // stdout: The stdout of the action - // stderr: The stderr of the action - // baseline.lcov: Baseline coverage file to be parsed by the server. This - // uses a stripped down implementation of the LCOV standard. - // http://ltp.sourceforge.net/coverage/lcov/geninfo.1.php - // - // For test actions: - // test.xml: The test suite / test case data in XML format. - // test.log: The combined stdout and stderr of the test process. - // test.lcov: Coverage file to be parsed by the server. This uses a stripped - // down implementation of the LCOV standard. - // http://ltp.sourceforge.net/coverage/lcov/geninfo.1.php - Files []*File `protobuf:"bytes,8,rep,name=files,proto3" json:"files,omitempty"` - // List of names of file sets that are referenced from this Action. - // Each name must point to a file set under the same Invocation. The name - // format must be: invocations/${INVOCATION_ID}/fileSets/${FILE_SET_ID} - FileSets []string `protobuf:"bytes,15,rep,name=file_sets,json=fileSets,proto3" json:"file_sets,omitempty"` - // Coverage data was collected while running the build or test action. This - // usually includes line coverage, and may also include branch coverage. - // For test actions, this is usually only for the source files which were - // actually executed by that particular action. - // For build actions, this is the baseline coverage, which captures the - // 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"` - // 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. - // Typically produced when parsing Files, but may also be provided directly - // by clients. - FileProcessingErrors []*FileProcessingErrors `protobuf:"bytes,13,rep,name=file_processing_errors,json=fileProcessingErrors,proto3" json:"file_processing_errors,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_e98e32542f2d3836, []int{0} -} - -func (m *Action) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Action.Unmarshal(m, b) -} -func (m *Action) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Action.Marshal(b, m, deterministic) -} -func (m *Action) XXX_Merge(src proto.Message) { - xxx_messageInfo_Action.Merge(m, src) -} -func (m *Action) XXX_Size() int { - return xxx_messageInfo_Action.Size(m) -} -func (m *Action) XXX_DiscardUnknown() { - xxx_messageInfo_Action.DiscardUnknown(m) -} - -var xxx_messageInfo_Action proto.InternalMessageInfo - -func (m *Action) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Action) GetId() *Action_Id { - if m != nil { - return m.Id - } - return nil -} - -func (m *Action) GetStatusAttributes() *StatusAttributes { - if m != nil { - return m.StatusAttributes - } - return nil -} - -func (m *Action) GetTiming() *Timing { - if m != nil { - return m.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 - } - return nil -} - -func (m *Action) GetTestAction() *TestAction { - if x, ok := m.GetActionType().(*Action_TestAction); ok { - return x.TestAction - } - return nil -} - -func (m *Action) GetActionAttributes() *ActionAttributes { - if m != nil { - return m.ActionAttributes - } - return nil -} - -func (m *Action) GetActionDependencies() []*Dependency { - if m != nil { - return m.ActionDependencies - } - return nil -} - -func (m *Action) GetProperties() []*Property { - if m != nil { - return m.Properties - } - return nil -} - -func (m *Action) GetFiles() []*File { - if m != nil { - return m.Files - } - return nil -} - -func (m *Action) GetFileSets() []string { - if m != nil { - return m.FileSets - } - return nil -} - -func (m *Action) GetCoverage() *ActionCoverage { - if m != nil { - return m.Coverage - } - return nil -} - -func (m *Action) GetFileProcessingErrors() []*FileProcessingErrors { - if m != nil { - return m.FileProcessingErrors - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Action) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Action_BuildAction)(nil), - (*Action_TestAction)(nil), - } -} - -// The resource ID components that identify the Action. -type Action_Id struct { - // The Invocation ID. - InvocationId string `protobuf:"bytes,1,opt,name=invocation_id,json=invocationId,proto3" json:"invocation_id,omitempty"` - // The Target ID. - TargetId string `protobuf:"bytes,2,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"` - // The Configuration ID. - ConfigurationId string `protobuf:"bytes,3,opt,name=configuration_id,json=configurationId,proto3" json:"configuration_id,omitempty"` - // The Action ID. - ActionId string `protobuf:"bytes,4,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e98e32542f2d3836, []int{0, 0} -} - -func (m *Action_Id) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Action_Id.Unmarshal(m, b) -} -func (m *Action_Id) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Action_Id.Marshal(b, m, deterministic) -} -func (m *Action_Id) XXX_Merge(src proto.Message) { - xxx_messageInfo_Action_Id.Merge(m, src) -} -func (m *Action_Id) XXX_Size() int { - return xxx_messageInfo_Action_Id.Size(m) -} -func (m *Action_Id) XXX_DiscardUnknown() { - xxx_messageInfo_Action_Id.DiscardUnknown(m) -} - -var xxx_messageInfo_Action_Id proto.InternalMessageInfo - -func (m *Action_Id) GetInvocationId() string { - if m != nil { - return m.InvocationId - } - return "" -} - -func (m *Action_Id) GetTargetId() string { - if m != nil { - return m.TargetId - } - return "" -} - -func (m *Action_Id) GetConfigurationId() string { - if m != nil { - return m.ConfigurationId - } - return "" -} - -func (m *Action_Id) GetActionId() string { - if m != nil { - return m.ActionId - } - return "" -} - -// A build action, such as building a java library. -type BuildAction struct { - // The type of the action. This is intended to be a clue as to how the output - // of the action should be parsed. For example "javac" for a Java compile - // action. - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - // The "primary" input artifact processed by this action. E.g., the .cc file - // of a C++ compile action. Empty string ("") if the action has no input - // artifacts or no "primary" input artifact. - PrimaryInputPath string `protobuf:"bytes,2,opt,name=primary_input_path,json=primaryInputPath,proto3" json:"primary_input_path,omitempty"` - // The "primary" output artifact processed by this action. E.g., the .o file - // of a C++ compile action. Empty string ("") if the action has no output - // artifacts or no "primary" output artifact. - PrimaryOutputPath string `protobuf:"bytes,3,opt,name=primary_output_path,json=primaryOutputPath,proto3" json:"primary_output_path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e98e32542f2d3836, []int{1} -} - -func (m *BuildAction) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BuildAction.Unmarshal(m, b) -} -func (m *BuildAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BuildAction.Marshal(b, m, deterministic) -} -func (m *BuildAction) XXX_Merge(src proto.Message) { - xxx_messageInfo_BuildAction.Merge(m, src) -} -func (m *BuildAction) XXX_Size() int { - return xxx_messageInfo_BuildAction.Size(m) -} -func (m *BuildAction) XXX_DiscardUnknown() { - xxx_messageInfo_BuildAction.DiscardUnknown(m) -} - -var xxx_messageInfo_BuildAction proto.InternalMessageInfo - -func (m *BuildAction) GetType() string { - if m != nil { - return m.Type - } - return "" -} - -func (m *BuildAction) GetPrimaryInputPath() string { - if m != nil { - return m.PrimaryInputPath - } - return "" -} - -func (m *BuildAction) GetPrimaryOutputPath() string { - if m != nil { - return m.PrimaryOutputPath - } - return "" -} - -// A test action, such as running a JUnit4 test binary. -type TestAction struct { - // Timing data for execution of the test action. - TestTiming *TestTiming `protobuf:"bytes,1,opt,name=test_timing,json=testTiming,proto3" json:"test_timing,omitempty"` - // If the test is divided up into shards to improve performance, set this to - // indicate which shard this test action is for. Value must be in interval - // [0, total_shard_count). Defaults to 0, which is appropriate if all test - // cases are run in the same process. - ShardNumber int32 `protobuf:"varint,2,opt,name=shard_number,json=shardNumber,proto3" json:"shard_number,omitempty"` - // If the user requested that every test be run multiple times, as is often - // done to measure flakiness, set this to indicate which run this test action - // is for. Value must be in interval [0, total_run_count). Defaults to 0, - // which is appropriate if multiple runs were not requested. - RunNumber int32 `protobuf:"varint,3,opt,name=run_number,json=runNumber,proto3" json:"run_number,omitempty"` - // If flaky tests are automatically retried, set this to indicate which - // attempt this test action is for. (e.g. 0 for the first attempt, 1 for - // second, and so on). Defaults to 0, which is appropriate if this is only - // attempt. - AttemptNumber int32 `protobuf:"varint,4,opt,name=attempt_number,json=attemptNumber,proto3" json:"attempt_number,omitempty"` - // A tree of test suites and test cases that were run by this test action. - // Each test case has its own status information, including stack traces. - // Typically produced by parsing an XML Log, but may also be provided directly - // by clients. - TestSuite *TestSuite `protobuf:"bytes,5,opt,name=test_suite,json=testSuite,proto3" json:"test_suite,omitempty"` - // Warnings for this test action. - Warnings []*TestWarning `protobuf:"bytes,8,rep,name=warnings,proto3" json:"warnings,omitempty"` - // Estimated memory consumption of the test action, in bytes. A default value - // of 0 means there is no memory consumption estimate specified. - EstimatedMemoryBytes int64 `protobuf:"varint,10,opt,name=estimated_memory_bytes,json=estimatedMemoryBytes,proto3" json:"estimated_memory_bytes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e98e32542f2d3836, []int{2} -} - -func (m *TestAction) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TestAction.Unmarshal(m, b) -} -func (m *TestAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TestAction.Marshal(b, m, deterministic) -} -func (m *TestAction) XXX_Merge(src proto.Message) { - xxx_messageInfo_TestAction.Merge(m, src) -} -func (m *TestAction) XXX_Size() int { - return xxx_messageInfo_TestAction.Size(m) -} -func (m *TestAction) XXX_DiscardUnknown() { - xxx_messageInfo_TestAction.DiscardUnknown(m) -} - -var xxx_messageInfo_TestAction proto.InternalMessageInfo - -func (m *TestAction) GetTestTiming() *TestTiming { - if m != nil { - return m.TestTiming - } - return nil -} - -func (m *TestAction) GetShardNumber() int32 { - if m != nil { - return m.ShardNumber - } - return 0 -} - -func (m *TestAction) GetRunNumber() int32 { - if m != nil { - return m.RunNumber - } - return 0 -} - -func (m *TestAction) GetAttemptNumber() int32 { - if m != nil { - return m.AttemptNumber - } - return 0 -} - -func (m *TestAction) GetTestSuite() *TestSuite { - if m != nil { - return m.TestSuite - } - return nil -} - -func (m *TestAction) GetWarnings() []*TestWarning { - if m != nil { - return m.Warnings - } - return nil -} - -func (m *TestAction) GetEstimatedMemoryBytes() int64 { - if m != nil { - return m.EstimatedMemoryBytes - } - return 0 -} - -// General attributes of an action -type ActionAttributes struct { - // Strategy used for executing the action. - ExecutionStrategy ExecutionStrategy `protobuf:"varint,1,opt,name=execution_strategy,json=executionStrategy,proto3,enum=google.devtools.resultstore.v2.ExecutionStrategy" json:"execution_strategy,omitempty"` - // Exit code of the process that ran the action. A non-zero value means - // failure. - ExitCode int32 `protobuf:"varint,2,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"` - // Where the action was run. - Hostname string `protobuf:"bytes,3,opt,name=hostname,proto3" json:"hostname,omitempty"` - // Information about the input files used in all actions under this configured - // target. - InputFileInfo *InputFileInfo `protobuf:"bytes,4,opt,name=input_file_info,json=inputFileInfo,proto3" json:"input_file_info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e98e32542f2d3836, []int{3} -} - -func (m *ActionAttributes) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ActionAttributes.Unmarshal(m, b) -} -func (m *ActionAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ActionAttributes.Marshal(b, m, deterministic) -} -func (m *ActionAttributes) XXX_Merge(src proto.Message) { - xxx_messageInfo_ActionAttributes.Merge(m, src) -} -func (m *ActionAttributes) XXX_Size() int { - return xxx_messageInfo_ActionAttributes.Size(m) -} -func (m *ActionAttributes) XXX_DiscardUnknown() { - xxx_messageInfo_ActionAttributes.DiscardUnknown(m) -} - -var xxx_messageInfo_ActionAttributes proto.InternalMessageInfo - -func (m *ActionAttributes) GetExecutionStrategy() ExecutionStrategy { - if m != nil { - return m.ExecutionStrategy - } - return ExecutionStrategy_EXECUTION_STRATEGY_UNSPECIFIED -} - -func (m *ActionAttributes) GetExitCode() int32 { - if m != nil { - return m.ExitCode - } - return 0 -} - -func (m *ActionAttributes) GetHostname() string { - if m != nil { - return m.Hostname - } - return "" -} - -func (m *ActionAttributes) GetInputFileInfo() *InputFileInfo { - if m != nil { - return m.InputFileInfo - } - return nil -} - -// File count and size information for the input files to a configured target. -type InputFileInfo struct { - // The number of input files (counting every file, even if a duplicate). - Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` - // The number of distinct input files. - DistinctCount int64 `protobuf:"varint,2,opt,name=distinct_count,json=distinctCount,proto3" json:"distinct_count,omitempty"` - // The max number of input files allowed by the build system (counting every - // file, even if a duplicate). - CountLimit int64 `protobuf:"varint,3,opt,name=count_limit,json=countLimit,proto3" json:"count_limit,omitempty"` - // The total size of the distinct input files. - DistinctBytes int64 `protobuf:"varint,4,opt,name=distinct_bytes,json=distinctBytes,proto3" json:"distinct_bytes,omitempty"` - // The max allowed total size of the distinct input files. - DistinctByteLimit int64 `protobuf:"varint,5,opt,name=distinct_byte_limit,json=distinctByteLimit,proto3" json:"distinct_byte_limit,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e98e32542f2d3836, []int{4} -} - -func (m *InputFileInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InputFileInfo.Unmarshal(m, b) -} -func (m *InputFileInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InputFileInfo.Marshal(b, m, deterministic) -} -func (m *InputFileInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_InputFileInfo.Merge(m, src) -} -func (m *InputFileInfo) XXX_Size() int { - return xxx_messageInfo_InputFileInfo.Size(m) -} -func (m *InputFileInfo) XXX_DiscardUnknown() { - xxx_messageInfo_InputFileInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_InputFileInfo proto.InternalMessageInfo - -func (m *InputFileInfo) GetCount() int64 { - if m != nil { - return m.Count - } - return 0 -} - -func (m *InputFileInfo) GetDistinctCount() int64 { - if m != nil { - return m.DistinctCount - } - return 0 -} - -func (m *InputFileInfo) GetCountLimit() int64 { - if m != nil { - return m.CountLimit - } - return 0 -} - -func (m *InputFileInfo) GetDistinctBytes() int64 { - if m != nil { - return m.DistinctBytes - } - return 0 -} - -func (m *InputFileInfo) GetDistinctByteLimit() int64 { - if m != nil { - return m.DistinctByteLimit - } - return 0 -} - -// Timing data for tests executed locally on the machine running the build. -type LocalTestTiming struct { - // Time taken by the test process, typically surrounded by a small wrapper - // script. - TestProcessDuration *duration.Duration `protobuf:"bytes,1,opt,name=test_process_duration,json=testProcessDuration,proto3" json:"test_process_duration,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e98e32542f2d3836, []int{5} -} - -func (m *LocalTestTiming) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LocalTestTiming.Unmarshal(m, b) -} -func (m *LocalTestTiming) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LocalTestTiming.Marshal(b, m, deterministic) -} -func (m *LocalTestTiming) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocalTestTiming.Merge(m, src) -} -func (m *LocalTestTiming) XXX_Size() int { - return xxx_messageInfo_LocalTestTiming.Size(m) -} -func (m *LocalTestTiming) XXX_DiscardUnknown() { - xxx_messageInfo_LocalTestTiming.DiscardUnknown(m) -} - -var xxx_messageInfo_LocalTestTiming proto.InternalMessageInfo - -func (m *LocalTestTiming) GetTestProcessDuration() *duration.Duration { - if m != nil { - return m.TestProcessDuration - } - return nil -} - -// Timing data for one attempt to execute a test action remotely. -type RemoteTestAttemptTiming struct { - // Idle period before the test process is invoked on the remote machine. - QueueDuration *duration.Duration `protobuf:"bytes,1,opt,name=queue_duration,json=queueDuration,proto3" json:"queue_duration,omitempty"` - // Time to upload data dependencies from the local machine to the remote - // machine running the test, or to the distributed cache. - UploadDuration *duration.Duration `protobuf:"bytes,2,opt,name=upload_duration,json=uploadDuration,proto3" json:"upload_duration,omitempty"` - // Time to set up the remote machine. - // Not to be confused with setup time in - // xUnit test frameworks, which falls within the test_process_time. - MachineSetupDuration *duration.Duration `protobuf:"bytes,3,opt,name=machine_setup_duration,json=machineSetupDuration,proto3" json:"machine_setup_duration,omitempty"` - // Time taken by the test process, typically surrounded by a small wrapper - // script. - // For Java tests, this includes JVM setup, flag parsing, class path setup, - // parsing files to setup the suite, and finally running your test methods. - // In many cases, only a small fraction of the test process time is spent - // running the test methods. - TestProcessDuration *duration.Duration `protobuf:"bytes,4,opt,name=test_process_duration,json=testProcessDuration,proto3" json:"test_process_duration,omitempty"` - // Time spent retrieving test logs and any other test outputs, back to the - // local machine. - DownloadDuration *duration.Duration `protobuf:"bytes,5,opt,name=download_duration,json=downloadDuration,proto3" json:"download_duration,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e98e32542f2d3836, []int{6} -} - -func (m *RemoteTestAttemptTiming) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoteTestAttemptTiming.Unmarshal(m, b) -} -func (m *RemoteTestAttemptTiming) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoteTestAttemptTiming.Marshal(b, m, deterministic) -} -func (m *RemoteTestAttemptTiming) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoteTestAttemptTiming.Merge(m, src) -} -func (m *RemoteTestAttemptTiming) XXX_Size() int { - return xxx_messageInfo_RemoteTestAttemptTiming.Size(m) -} -func (m *RemoteTestAttemptTiming) XXX_DiscardUnknown() { - xxx_messageInfo_RemoteTestAttemptTiming.DiscardUnknown(m) -} - -var xxx_messageInfo_RemoteTestAttemptTiming proto.InternalMessageInfo - -func (m *RemoteTestAttemptTiming) GetQueueDuration() *duration.Duration { - if m != nil { - return m.QueueDuration - } - return nil -} - -func (m *RemoteTestAttemptTiming) GetUploadDuration() *duration.Duration { - if m != nil { - return m.UploadDuration - } - return nil -} - -func (m *RemoteTestAttemptTiming) GetMachineSetupDuration() *duration.Duration { - if m != nil { - return m.MachineSetupDuration - } - return nil -} - -func (m *RemoteTestAttemptTiming) GetTestProcessDuration() *duration.Duration { - if m != nil { - return m.TestProcessDuration - } - return nil -} - -func (m *RemoteTestAttemptTiming) GetDownloadDuration() *duration.Duration { - if m != nil { - return m.DownloadDuration - } - return nil -} - -// Timing data for the part of the test execution that is done remotely. -type RemoteTestTiming struct { - // Time taken locally to determine what to do. - LocalAnalysisDuration *duration.Duration `protobuf:"bytes,1,opt,name=local_analysis_duration,json=localAnalysisDuration,proto3" json:"local_analysis_duration,omitempty"` - // Normally there is only one attempt, but the system may retry on internal - // errors, leading to multiple attempts. - Attempts []*RemoteTestAttemptTiming `protobuf:"bytes,2,rep,name=attempts,proto3" json:"attempts,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e98e32542f2d3836, []int{7} -} - -func (m *RemoteTestTiming) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoteTestTiming.Unmarshal(m, b) -} -func (m *RemoteTestTiming) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoteTestTiming.Marshal(b, m, deterministic) -} -func (m *RemoteTestTiming) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoteTestTiming.Merge(m, src) -} -func (m *RemoteTestTiming) XXX_Size() int { - return xxx_messageInfo_RemoteTestTiming.Size(m) -} -func (m *RemoteTestTiming) XXX_DiscardUnknown() { - xxx_messageInfo_RemoteTestTiming.DiscardUnknown(m) -} - -var xxx_messageInfo_RemoteTestTiming proto.InternalMessageInfo - -func (m *RemoteTestTiming) GetLocalAnalysisDuration() *duration.Duration { - if m != nil { - return m.LocalAnalysisDuration - } - return nil -} - -func (m *RemoteTestTiming) GetAttempts() []*RemoteTestAttemptTiming { - if m != nil { - return m.Attempts - } - return nil -} - -// Timing data for execution of a test action. The action may be performed -// locally, on the machine running the build, or remotely. -type TestTiming struct { - // Test timing for either a local or remote execution. - // - // Types that are valid to be assigned to Location: - // *TestTiming_Local - // *TestTiming_Remote - Location isTestTiming_Location `protobuf_oneof:"location"` - // The amount of CPU time spent by the test process executing system calls - // within the kernel, as opposed to library code. Time the test process spent - // blocked does not count towards this figure. - SystemTimeDuration *duration.Duration `protobuf:"bytes,3,opt,name=system_time_duration,json=systemTimeDuration,proto3" json:"system_time_duration,omitempty"` - // The amount of CPU time spent by the test process executing user-mode code - // outside the kernel, as opposed to library code. Time the test process - // spent blocked does not count towards this figure. You can add user_time to - // system_time to get total CPU time taken by the test process. - UserTimeDuration *duration.Duration `protobuf:"bytes,4,opt,name=user_time_duration,json=userTimeDuration,proto3" json:"user_time_duration,omitempty"` - // Most build systems cache build results to speed up incremental builds. - // Some also cache test results too. This indicates whether the test results - // were found in a cache, and where that cache was located. - TestCaching TestCaching `protobuf:"varint,5,opt,name=test_caching,json=testCaching,proto3,enum=google.devtools.resultstore.v2.TestCaching" json:"test_caching,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e98e32542f2d3836, []int{8} -} - -func (m *TestTiming) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TestTiming.Unmarshal(m, b) -} -func (m *TestTiming) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TestTiming.Marshal(b, m, deterministic) -} -func (m *TestTiming) XXX_Merge(src proto.Message) { - xxx_messageInfo_TestTiming.Merge(m, src) -} -func (m *TestTiming) XXX_Size() int { - return xxx_messageInfo_TestTiming.Size(m) -} -func (m *TestTiming) XXX_DiscardUnknown() { - xxx_messageInfo_TestTiming.DiscardUnknown(m) -} - -var xxx_messageInfo_TestTiming proto.InternalMessageInfo - -type isTestTiming_Location interface { - isTestTiming_Location() -} - -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_Remote) isTestTiming_Location() {} - -func (m *TestTiming) GetLocation() isTestTiming_Location { - if m != nil { - return m.Location - } - return nil -} - -func (m *TestTiming) GetLocal() *LocalTestTiming { - if x, ok := m.GetLocation().(*TestTiming_Local); ok { - return x.Local - } - return nil -} - -func (m *TestTiming) GetRemote() *RemoteTestTiming { - if x, ok := m.GetLocation().(*TestTiming_Remote); ok { - return x.Remote - } - return nil -} - -func (m *TestTiming) GetSystemTimeDuration() *duration.Duration { - if m != nil { - return m.SystemTimeDuration - } - return nil -} - -func (m *TestTiming) GetUserTimeDuration() *duration.Duration { - if m != nil { - return m.UserTimeDuration - } - return nil -} - -func (m *TestTiming) GetTestCaching() TestCaching { - if m != nil { - return m.TestCaching - } - return TestCaching_TEST_CACHING_UNSPECIFIED -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*TestTiming) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*TestTiming_Local)(nil), - (*TestTiming_Remote)(nil), - } -} - -// A warning from a test execution. -type TestWarning struct { - // Contains the message detailing the warning. - WarningMessage string `protobuf:"bytes,1,opt,name=warning_message,json=warningMessage,proto3" json:"warning_message,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e98e32542f2d3836, []int{9} -} - -func (m *TestWarning) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TestWarning.Unmarshal(m, b) -} -func (m *TestWarning) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TestWarning.Marshal(b, m, deterministic) -} -func (m *TestWarning) XXX_Merge(src proto.Message) { - xxx_messageInfo_TestWarning.Merge(m, src) -} -func (m *TestWarning) XXX_Size() int { - return xxx_messageInfo_TestWarning.Size(m) -} -func (m *TestWarning) XXX_DiscardUnknown() { - xxx_messageInfo_TestWarning.DiscardUnknown(m) -} - -var xxx_messageInfo_TestWarning proto.InternalMessageInfo - -func (m *TestWarning) GetWarningMessage() string { - if m != nil { - return m.WarningMessage - } - return "" -} - -func init() { - proto.RegisterEnum("google.devtools.resultstore.v2.ExecutionStrategy", ExecutionStrategy_name, ExecutionStrategy_value) - proto.RegisterEnum("google.devtools.resultstore.v2.TestCaching", TestCaching_name, TestCaching_value) - proto.RegisterType((*Action)(nil), "google.devtools.resultstore.v2.Action") - proto.RegisterType((*Action_Id)(nil), "google.devtools.resultstore.v2.Action.Id") - proto.RegisterType((*BuildAction)(nil), "google.devtools.resultstore.v2.BuildAction") - proto.RegisterType((*TestAction)(nil), "google.devtools.resultstore.v2.TestAction") - proto.RegisterType((*ActionAttributes)(nil), "google.devtools.resultstore.v2.ActionAttributes") - proto.RegisterType((*InputFileInfo)(nil), "google.devtools.resultstore.v2.InputFileInfo") - proto.RegisterType((*LocalTestTiming)(nil), "google.devtools.resultstore.v2.LocalTestTiming") - proto.RegisterType((*RemoteTestAttemptTiming)(nil), "google.devtools.resultstore.v2.RemoteTestAttemptTiming") - proto.RegisterType((*RemoteTestTiming)(nil), "google.devtools.resultstore.v2.RemoteTestTiming") - proto.RegisterType((*TestTiming)(nil), "google.devtools.resultstore.v2.TestTiming") - proto.RegisterType((*TestWarning)(nil), "google.devtools.resultstore.v2.TestWarning") -} - -func init() { - proto.RegisterFile("google/devtools/resultstore/v2/action.proto", fileDescriptor_e98e32542f2d3836) -} - -var fileDescriptor_e98e32542f2d3836 = []byte{ - // 1446 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x57, 0x4b, 0x73, 0xdb, 0x46, - 0x12, 0x36, 0x49, 0x49, 0x4b, 0x36, 0x45, 0x0a, 0x1a, 0xc9, 0x36, 0x57, 0xbb, 0xeb, 0xd5, 0x72, - 0xf3, 0x90, 0xec, 0x98, 0x74, 0x14, 0x57, 0x52, 0x71, 0xaa, 0x52, 0xa1, 0x28, 0x58, 0x82, 0x4d, - 0x51, 0xf2, 0x90, 0x72, 0x5e, 0x95, 0x82, 0x21, 0x62, 0x44, 0x4d, 0x8a, 0xc0, 0xd0, 0x98, 0x81, - 0x6c, 0x9e, 0x72, 0x49, 0x55, 0x0e, 0x49, 0xe5, 0x92, 0x7f, 0x93, 0x73, 0xce, 0xf9, 0x4d, 0xa9, - 0x79, 0x00, 0xa4, 0x14, 0x3b, 0xa0, 0x73, 0xe3, 0x74, 0x7f, 0xdf, 0x37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d4, 0x53, 0xc4, 0x56, 0xca, 0xc3, 0x16, 0xbf, 0x62, 0x41, 0x9f, 0xc2, 0x92, 0xa0, 0x01, - 0x0d, 0x87, 0xb5, 0x05, 0xa5, 0xf9, 0x4e, 0x96, 0x66, 0x5f, 0xa1, 0xb1, 0x61, 0xa1, 0x63, 0x58, - 0x3e, 0x8d, 0xe9, 0xc8, 0x77, 0x75, 0x09, 0xd5, 0x4a, 0x4a, 0xe5, 0x4e, 0x96, 0xca, 0xae, 0xe4, - 0xe8, 0x83, 0x1e, 0x5c, 0xc3, 0xe5, 0xd3, 0xe9, 0x12, 0x1d, 0x42, 0x59, 0xa5, 0xdf, 0x08, 0x82, - 0x12, 0xbc, 0x9d, 0x19, 0x16, 0xe1, 0x22, 0xd5, 0x03, 0x91, 0xae, 0x64, 0xfe, 0xb4, 0xd2, 0x6c, - 0xfe, 0x16, 0xe7, 0xcb, 0x9f, 0x96, 0x98, 0xcd, 0x9f, 0x77, 0xc5, 0x82, 0xbe, 0x86, 0x35, 0x23, - 0xef, 0x93, 0x31, 0x09, 0x7d, 0x12, 0x0e, 0x28, 0xe1, 0xb5, 0xea, 0x66, 0x61, 0x9e, 0xa8, 0xf7, - 0x12, 0xce, 0x04, 0x23, 0x2d, 0xb3, 0x37, 0xa3, 0x82, 0x0e, 0x00, 0xc6, 0x11, 0x1b, 0x93, 0x48, - 0x48, 0xcd, 0x7f, 0x28, 0xcd, 0xad, 0x2c, 0xcd, 0x63, 0xcd, 0x98, 0xe0, 0x19, 0x2e, 0x7a, 0x00, - 0x8b, 0xb2, 0x1f, 0x78, 0xad, 0xa8, 0x44, 0xde, 0xca, 0x12, 0x79, 0x48, 0x47, 0x04, 0x6b, 0x0a, - 0xfa, 0x17, 0x94, 0x54, 0x2f, 0x71, 0x22, 0x78, 0x6d, 0x65, 0xb3, 0xb0, 0x55, 0xc2, 0x45, 0x69, - 0xe8, 0x11, 0xc1, 0xd1, 0x23, 0x28, 0x26, 0x2d, 0x5c, 0x2b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, - 0x95, 0x66, 0x60, 0xa8, 0x9e, 0xd4, 0xbf, 0xd1, 0xff, 0x60, 0x99, 0x9f, 0x7b, 0x91, 0xef, 0x86, - 0x71, 0x70, 0x4a, 0x22, 0x15, 0xf3, 0x22, 0x2e, 0x2b, 0x5b, 0x57, 0x99, 0xd0, 0x7f, 0x00, 0xa2, - 0x38, 0x4c, 0x00, 0x05, 0x05, 0x28, 0x45, 0x71, 0x68, 0xdc, 0x6f, 0x43, 0xd5, 0x13, 0x82, 0x04, - 0x63, 0x91, 0x40, 0x16, 0x14, 0xa4, 0x62, 0xac, 0x06, 0x76, 0x00, 0x30, 0x1d, 0xe5, 0xa6, 0xeb, - 0xb7, 0xe7, 0x09, 0xba, 0x27, 0x09, 0xb8, 0x24, 0x92, 0x9f, 0x68, 0x1f, 0x8a, 0x2f, 0xbc, 0x28, - 0xa4, 0xe1, 0x30, 0xe9, 0xa1, 0x3b, 0xf3, 0xe8, 0x7c, 0xae, 0x39, 0x38, 0x25, 0xa3, 0xfb, 0x70, - 0x83, 0x70, 0x41, 0x03, 0x4f, 0x10, 0xdf, 0x0d, 0x48, 0xc0, 0xa2, 0x89, 0x7b, 0x3a, 0x91, 0x43, - 0x49, 0x4e, 0xba, 0x02, 0x5e, 0x4f, 0xbd, 0x87, 0xca, 0xb9, 0x2b, 0x7d, 0xf5, 0xef, 0xf3, 0x60, - 0x5d, 0x9d, 0x46, 0xe8, 0x19, 0x20, 0xf2, 0x92, 0x0c, 0x62, 0x55, 0x35, 0x5c, 0x44, 0x9e, 0x20, - 0xc3, 0x89, 0xba, 0x9a, 0xea, 0xce, 0xfb, 0x59, 0xd1, 0xd9, 0x09, 0xb3, 0x67, 0x88, 0x78, 0x95, - 0x5c, 0x35, 0xc9, 0x8a, 0x25, 0x2f, 0xa9, 0x70, 0x07, 0xcc, 0x27, 0xe6, 0x96, 0x8a, 0xd2, 0xd0, - 0x66, 0x3e, 0x41, 0x1b, 0x50, 0x3c, 0x67, 0x5c, 0xa8,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 0xbf, 0x0e, 0x96, 0xd9, - 0x7f, 0x6a, 0xcd, 0xa3, 0x2a, 0x80, 0x5e, 0x1e, 0x3a, 0xbd, 0x9e, 0x55, 0xd8, 0x7d, 0x0e, 0xf5, - 0x01, 0x0b, 0x32, 0x32, 0x7f, 0x9c, 0xfb, 0xca, 0x31, 0x88, 0x21, 0x1b, 0x79, 0xe1, 0xb0, 0xc1, - 0xa2, 0x61, 0x73, 0x48, 0x42, 0x75, 0xd9, 0xe6, 0xff, 0xa2, 0x37, 0xa6, 0xfc, 0x75, 0xff, 0x19, - 0x3f, 0x99, 0x59, 0x9e, 0x2e, 0x29, 0xd6, 0x07, 0x7f, 0x04, 0x00, 0x00, 0xff, 0xff, 0x1e, 0xcc, - 0x20, 0xf5, 0x78, 0x0f, 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 deleted file mode 100644 index 80344736..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/common.pb.go +++ /dev/null @@ -1,582 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/resultstore/v2/common.proto - -package resultstore - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// These correspond to the prefix of the rule name. Eg cc_test has language CC. -type Language int32 - -const ( - // Language unspecified or not listed here. - Language_LANGUAGE_UNSPECIFIED Language = 0 - // Not related to any particular language - Language_NONE Language = 1 - // Android - Language_ANDROID Language = 2 - // ActionScript (Flash) - Language_AS Language = 3 - // C++ or C - Language_CC Language = 4 - // Cascading-Style-Sheets - Language_CSS Language = 5 - // Dart - Language_DART Language = 6 - // Go - Language_GO Language = 7 - // Google-Web-Toolkit - Language_GWT Language = 8 - // Haskell - Language_HASKELL Language = 9 - // Java - Language_JAVA Language = 10 - // Javascript - Language_JS Language = 11 - // Lisp - Language_LISP Language = 12 - // Objective-C - Language_OBJC Language = 13 - // Python - Language_PY Language = 14 - // Shell (Typically Bash) - Language_SH Language = 15 - // Swift - Language_SWIFT Language = 16 - // Typescript - 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{ - 0: "LANGUAGE_UNSPECIFIED", - 1: "NONE", - 2: "ANDROID", - 3: "AS", - 4: "CC", - 5: "CSS", - 6: "DART", - 7: "GO", - 8: "GWT", - 9: "HASKELL", - 10: "JAVA", - 11: "JS", - 12: "LISP", - 13: "OBJC", - 14: "PY", - 15: "SH", - 16: "SWIFT", - 18: "TS", - 19: "WEB", - 20: "SCALA", - 21: "PROTO", -} - -var Language_value = map[string]int32{ - "LANGUAGE_UNSPECIFIED": 0, - "NONE": 1, - "ANDROID": 2, - "AS": 3, - "CC": 4, - "CSS": 5, - "DART": 6, - "GO": 7, - "GWT": 8, - "HASKELL": 9, - "JAVA": 10, - "JS": 11, - "LISP": 12, - "OBJC": 13, - "PY": 14, - "SH": 15, - "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_ff56b05a77242216, []int{0} -} - -// Status of a resource. -type Status int32 - -const ( - // The implicit default enum value. Should never be set. - Status_STATUS_UNSPECIFIED Status = 0 - // Displays as "Building". Means the target is compiling, linking, etc. - Status_BUILDING Status = 1 - // Displays as "Built". Means the target was built successfully. - // If testing was requested, it should never reach this status: it should go - // straight from BUILDING to TESTING. - Status_BUILT Status = 2 - // Displays as "Broken". Means build failure such as compile error. - Status_FAILED_TO_BUILD Status = 3 - // Displays as "Testing". Means the test is running. - Status_TESTING Status = 4 - // Displays as "Passed". Means the test was run and passed. - Status_PASSED Status = 5 - // Displays as "Failed". Means the test was run and failed. - Status_FAILED Status = 6 - // Displays as "Timed out". Means the test didn't finish in time. - Status_TIMED_OUT Status = 7 - // Displays as "Cancelled". Means the build or test was cancelled. - // E.g. User hit control-C. - Status_CANCELLED Status = 8 - // Displays as "Tool Failed". Means the build or test had internal tool - // failure. - Status_TOOL_FAILED Status = 9 - // Displays as "Incomplete". Means the build or test did not complete. This - // might happen when a build breakage or test failure causes the tool to stop - // trying to build anything more or run any more tests, with the default - // bazel --nokeep_going option or the --notest_keep_going option. - Status_INCOMPLETE Status = 10 - // Displays as "Flaky". Means the aggregate status contains some runs that - // were successful, and some that were not. - Status_FLAKY Status = 11 - // Displays as "Unknown". Means the tool uploading to the server died - // mid-upload or does not know the state. - Status_UNKNOWN Status = 12 - // Displays as "Skipped". Means building and testing were skipped. - // (E.g. Restricted to a different configuration.) - Status_SKIPPED Status = 13 -) - -var Status_name = map[int32]string{ - 0: "STATUS_UNSPECIFIED", - 1: "BUILDING", - 2: "BUILT", - 3: "FAILED_TO_BUILD", - 4: "TESTING", - 5: "PASSED", - 6: "FAILED", - 7: "TIMED_OUT", - 8: "CANCELLED", - 9: "TOOL_FAILED", - 10: "INCOMPLETE", - 11: "FLAKY", - 12: "UNKNOWN", - 13: "SKIPPED", -} - -var Status_value = map[string]int32{ - "STATUS_UNSPECIFIED": 0, - "BUILDING": 1, - "BUILT": 2, - "FAILED_TO_BUILD": 3, - "TESTING": 4, - "PASSED": 5, - "FAILED": 6, - "TIMED_OUT": 7, - "CANCELLED": 8, - "TOOL_FAILED": 9, - "INCOMPLETE": 10, - "FLAKY": 11, - "UNKNOWN": 12, - "SKIPPED": 13, -} - -func (x Status) String() string { - return proto.EnumName(Status_name, int32(x)) -} - -func (Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ff56b05a77242216, []int{1} -} - -// Indicates the upload status of the invocation, whether it is -// post-processing, or immutable, etc. -type UploadStatus int32 - -const ( - // The implicit default enum value. Should never be set. - UploadStatus_UPLOAD_STATUS_UNSPECIFIED UploadStatus = 0 - // The invocation is still uploading to the ResultStore. - UploadStatus_UPLOADING UploadStatus = 1 - // The invocation upload is complete. The ResultStore is still post-processing - // the invocation. - UploadStatus_POST_PROCESSING UploadStatus = 2 - // All post-processing is complete, and the invocation is now immutable. - UploadStatus_IMMUTABLE UploadStatus = 3 -) - -var UploadStatus_name = map[int32]string{ - 0: "UPLOAD_STATUS_UNSPECIFIED", - 1: "UPLOADING", - 2: "POST_PROCESSING", - 3: "IMMUTABLE", -} - -var UploadStatus_value = map[string]int32{ - "UPLOAD_STATUS_UNSPECIFIED": 0, - "UPLOADING": 1, - "POST_PROCESSING": 2, - "IMMUTABLE": 3, -} - -func (x UploadStatus) String() string { - return proto.EnumName(UploadStatus_name, int32(x)) -} - -func (UploadStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ff56b05a77242216, []int{2} -} - -// Describes the status of a resource in both enum and string form. -// Only use description when conveying additional info not captured in the enum -// name. -type StatusAttributes struct { - // Enum representation of the status. - Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=google.devtools.resultstore.v2.Status" json:"status,omitempty"` - // A longer description about the status. - 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 *StatusAttributes) Reset() { *m = StatusAttributes{} } -func (m *StatusAttributes) String() string { return proto.CompactTextString(m) } -func (*StatusAttributes) ProtoMessage() {} -func (*StatusAttributes) Descriptor() ([]byte, []int) { - return fileDescriptor_ff56b05a77242216, []int{0} -} - -func (m *StatusAttributes) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StatusAttributes.Unmarshal(m, b) -} -func (m *StatusAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StatusAttributes.Marshal(b, m, deterministic) -} -func (m *StatusAttributes) XXX_Merge(src proto.Message) { - xxx_messageInfo_StatusAttributes.Merge(m, src) -} -func (m *StatusAttributes) XXX_Size() int { - return xxx_messageInfo_StatusAttributes.Size(m) -} -func (m *StatusAttributes) XXX_DiscardUnknown() { - xxx_messageInfo_StatusAttributes.DiscardUnknown(m) -} - -var xxx_messageInfo_StatusAttributes proto.InternalMessageInfo - -func (m *StatusAttributes) GetStatus() Status { - if m != nil { - return m.Status - } - return Status_STATUS_UNSPECIFIED -} - -func (m *StatusAttributes) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -// A generic key-value property definition. -type Property struct { - // The key. - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - // The value. - 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 *Property) Reset() { *m = Property{} } -func (m *Property) String() string { return proto.CompactTextString(m) } -func (*Property) ProtoMessage() {} -func (*Property) Descriptor() ([]byte, []int) { - return fileDescriptor_ff56b05a77242216, []int{1} -} - -func (m *Property) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Property.Unmarshal(m, b) -} -func (m *Property) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Property.Marshal(b, m, deterministic) -} -func (m *Property) XXX_Merge(src proto.Message) { - xxx_messageInfo_Property.Merge(m, src) -} -func (m *Property) XXX_Size() int { - return xxx_messageInfo_Property.Size(m) -} -func (m *Property) XXX_DiscardUnknown() { - xxx_messageInfo_Property.DiscardUnknown(m) -} - -var xxx_messageInfo_Property proto.InternalMessageInfo - -func (m *Property) GetKey() string { - if m != nil { - return m.Key - } - return "" -} - -func (m *Property) GetValue() string { - if m != nil { - return m.Value - } - return "" -} - -// The timing of a particular Invocation, Action, etc. The start_time is -// specified, stop time can be calculated by adding duration to start_time. -type Timing struct { - // The time the resource started running. This is in UTC Epoch time. - StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // The duration for which the resource ran. - Duration *duration.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ff56b05a77242216, []int{2} -} - -func (m *Timing) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Timing.Unmarshal(m, b) -} -func (m *Timing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Timing.Marshal(b, m, deterministic) -} -func (m *Timing) XXX_Merge(src proto.Message) { - xxx_messageInfo_Timing.Merge(m, src) -} -func (m *Timing) XXX_Size() int { - return xxx_messageInfo_Timing.Size(m) -} -func (m *Timing) XXX_DiscardUnknown() { - xxx_messageInfo_Timing.DiscardUnknown(m) -} - -var xxx_messageInfo_Timing proto.InternalMessageInfo - -func (m *Timing) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *Timing) GetDuration() *duration.Duration { - if m != nil { - return m.Duration - } - return nil -} - -// Represents a dependency of a resource on another resource. This can be used -// to define a graph or a workflow paradigm through resources. -type Dependency struct { - // The resource depended upon. It may be a Target, ConfiguredTarget, or - // Action. - // - // Types that are valid to be assigned to Resource: - // *Dependency_Target - // *Dependency_ConfiguredTarget - // *Dependency_Action - Resource isDependency_Resource `protobuf_oneof:"resource"` - // A label describing this dependency. - // The label "Root Cause" is handled specially. It is used to point to the - // exact resource that caused a resource to fail. - Label string `protobuf:"bytes,4,opt,name=label,proto3" json:"label,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ff56b05a77242216, []int{3} -} - -func (m *Dependency) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Dependency.Unmarshal(m, b) -} -func (m *Dependency) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Dependency.Marshal(b, m, deterministic) -} -func (m *Dependency) XXX_Merge(src proto.Message) { - xxx_messageInfo_Dependency.Merge(m, src) -} -func (m *Dependency) XXX_Size() int { - return xxx_messageInfo_Dependency.Size(m) -} -func (m *Dependency) XXX_DiscardUnknown() { - xxx_messageInfo_Dependency.DiscardUnknown(m) -} - -var xxx_messageInfo_Dependency proto.InternalMessageInfo - -type isDependency_Resource interface { - isDependency_Resource() -} - -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_ConfiguredTarget) isDependency_Resource() {} - -func (*Dependency_Action) isDependency_Resource() {} - -func (m *Dependency) GetResource() isDependency_Resource { - if m != nil { - return m.Resource - } - return nil -} - -func (m *Dependency) GetTarget() string { - if x, ok := m.GetResource().(*Dependency_Target); ok { - return x.Target - } - return "" -} - -func (m *Dependency) GetConfiguredTarget() string { - if x, ok := m.GetResource().(*Dependency_ConfiguredTarget); ok { - return x.ConfiguredTarget - } - return "" -} - -func (m *Dependency) GetAction() string { - if x, ok := m.GetResource().(*Dependency_Action); ok { - return x.Action - } - return "" -} - -func (m *Dependency) GetLabel() string { - if m != nil { - return m.Label - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Dependency) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Dependency_Target)(nil), - (*Dependency_ConfiguredTarget)(nil), - (*Dependency_Action)(nil), - } -} - -func init() { - proto.RegisterEnum("google.devtools.resultstore.v2.Language", Language_name, Language_value) - proto.RegisterEnum("google.devtools.resultstore.v2.Status", Status_name, Status_value) - proto.RegisterEnum("google.devtools.resultstore.v2.UploadStatus", UploadStatus_name, UploadStatus_value) - proto.RegisterType((*StatusAttributes)(nil), "google.devtools.resultstore.v2.StatusAttributes") - proto.RegisterType((*Property)(nil), "google.devtools.resultstore.v2.Property") - proto.RegisterType((*Timing)(nil), "google.devtools.resultstore.v2.Timing") - proto.RegisterType((*Dependency)(nil), "google.devtools.resultstore.v2.Dependency") -} - -func init() { - proto.RegisterFile("google/devtools/resultstore/v2/common.proto", fileDescriptor_ff56b05a77242216) -} - -var fileDescriptor_ff56b05a77242216 = []byte{ - // 755 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, 0x26, 0x27, 0xfd, 0x73, 0x98, 0x16, 0x94, 0xad, 0x04, 0x54, 0xb9, - 0x40, 0xab, 0x22, 0x12, 0x29, 0x88, 0x0b, 0x84, 0x84, 0x34, 0xb1, 0xdd, 0xd4, 0xad, 0x6b, 0x5b, - 0x9e, 0x31, 0xd5, 0x72, 0x63, 0xdc, 0x64, 0xd6, 0x8a, 0x48, 0x3c, 0xc1, 0x1e, 0x47, 0x2a, 0x6f, - 0xc1, 0xd3, 0xf1, 0x02, 0x3c, 0x08, 0x1a,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 0xe0, 0x21, 0xf4, 0x1c, 0xee, 0x20, 0xe8, 0x1d, - 0x6e, 0x3c, 0x7a, 0xff, 0x16, 0x07, 0xfa, 0x75, 0xb1, 0x7f, 0xef, 0x07, 0x8f, 0x3e, 0x1e, 0x6b, - 0xc1, 0xee, 0xdd, 0x30, 0x74, 0x6c, 0x3c, 0xb9, 0xfe, 0x09, 0x8e, 0xe3, 0xed, 0x5a, 0xa6, 0xcb, - 0x36, 0xde, 0xa7, 0xf0, 0x3a, 0x0e, 0xbd, 0x80, 0xda, 0xc9, 0xbf, 0xa6, 0x3c, 0x81, 0x7e, 0x63, - 0x37, 0x31, 0xcf, 0xe1, 0x2c, 0x0c, 0x18, 0x4f, 0xc2, 0x28, 0xb0, 0x1c, 0xc6, 0x74, 0xb1, 0xa3, - 0x19, 0xf7, 0xe1, 0x21, 0xe6, 0x74, 0xe6, 0x39, 0xd8, 0x9d, 0xfd, 0x02, 0xa3, 0x85, 0xdc, 0x7c, - 0xe0, 0xeb, 0x0d, 0x8d, 0x1f, 0xdd, 0x96, 0xc8, 0xe4, 0x3a, 0xcd, 0xb3, 0xb1, 0x2c, 0xb2, 0x49, - 0x26, 0xf2, 0xfa, 0x83, 0x98, 0x34, 0x56, 0xba, 0x5d, 0x95, 0xff, 0xf5, 0x8f, 0xf5, 0xdd, 0x0b, - 0xf9, 0x64, 0xd6, 0x5d, 0x5f, 0xff, 0x19, 0x00, 0x00, 0xff, 0xff, 0x76, 0xbe, 0x13, 0x5f, 0xe6, - 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 deleted file mode 100644 index b3a10def..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/configuration.pb.go +++ /dev/null @@ -1,246 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/resultstore/v2/configuration.proto - -package resultstore - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Represents a configuration within an Invocation associated with one or more -// ConfiguredTargets. It captures the environment and other settings that -// were used. -type Configuration struct { - // The format of this Configuration resource name must be: - // invocations/${INVOCATION_ID}/configs/${url_encode(CONFIG_ID)} - // The configuration ID of "default" should be preferred for the default - // configuration in a single-config invocation. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The resource ID components that identify the Configuration. They must match - // the resource name after proper encoding. - Id *Configuration_Id `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // The aggregate status for this configuration. - StatusAttributes *StatusAttributes `protobuf:"bytes,3,opt,name=status_attributes,json=statusAttributes,proto3" json:"status_attributes,omitempty"` - // Attributes that apply only to this configuration. - ConfigurationAttributes *ConfigurationAttributes `protobuf:"bytes,5,opt,name=configuration_attributes,json=configurationAttributes,proto3" json:"configuration_attributes,omitempty"` - // Arbitrary name-value pairs. - // This is implemented as a multi-map. Multiple properties are allowed with - // the same key. Properties will be returned in lexicographical order by key. - Properties []*Property `protobuf:"bytes,6,rep,name=properties,proto3" json:"properties,omitempty"` - // A human-readable name for Configuration. - // It is recommended that this name be unique. - // If omitted, the configuration_id should be used as display_name instead. - DisplayName string `protobuf:"bytes,8,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 *Configuration) Reset() { *m = Configuration{} } -func (m *Configuration) String() string { return proto.CompactTextString(m) } -func (*Configuration) ProtoMessage() {} -func (*Configuration) Descriptor() ([]byte, []int) { - return fileDescriptor_c7cb6c7dfd72e78e, []int{0} -} - -func (m *Configuration) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Configuration.Unmarshal(m, b) -} -func (m *Configuration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Configuration.Marshal(b, m, deterministic) -} -func (m *Configuration) XXX_Merge(src proto.Message) { - xxx_messageInfo_Configuration.Merge(m, src) -} -func (m *Configuration) XXX_Size() int { - return xxx_messageInfo_Configuration.Size(m) -} -func (m *Configuration) XXX_DiscardUnknown() { - xxx_messageInfo_Configuration.DiscardUnknown(m) -} - -var xxx_messageInfo_Configuration proto.InternalMessageInfo - -func (m *Configuration) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Configuration) GetId() *Configuration_Id { - if m != nil { - return m.Id - } - return nil -} - -func (m *Configuration) GetStatusAttributes() *StatusAttributes { - if m != nil { - return m.StatusAttributes - } - return nil -} - -func (m *Configuration) GetConfigurationAttributes() *ConfigurationAttributes { - if m != nil { - return m.ConfigurationAttributes - } - return nil -} - -func (m *Configuration) GetProperties() []*Property { - if m != nil { - return m.Properties - } - return nil -} - -func (m *Configuration) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -// The resource ID components that identify the Configuration. -type Configuration_Id struct { - // The Invocation ID. - InvocationId string `protobuf:"bytes,1,opt,name=invocation_id,json=invocationId,proto3" json:"invocation_id,omitempty"` - // The Configuration ID. - ConfigurationId string `protobuf:"bytes,2,opt,name=configuration_id,json=configurationId,proto3" json:"configuration_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c7cb6c7dfd72e78e, []int{0, 0} -} - -func (m *Configuration_Id) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Configuration_Id.Unmarshal(m, b) -} -func (m *Configuration_Id) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Configuration_Id.Marshal(b, m, deterministic) -} -func (m *Configuration_Id) XXX_Merge(src proto.Message) { - xxx_messageInfo_Configuration_Id.Merge(m, src) -} -func (m *Configuration_Id) XXX_Size() int { - return xxx_messageInfo_Configuration_Id.Size(m) -} -func (m *Configuration_Id) XXX_DiscardUnknown() { - xxx_messageInfo_Configuration_Id.DiscardUnknown(m) -} - -var xxx_messageInfo_Configuration_Id proto.InternalMessageInfo - -func (m *Configuration_Id) GetInvocationId() string { - if m != nil { - return m.InvocationId - } - return "" -} - -func (m *Configuration_Id) GetConfigurationId() string { - if m != nil { - return m.ConfigurationId - } - return "" -} - -// Attributes that apply only to the configuration. -type ConfigurationAttributes struct { - // The type of cpu. (e.g. "x86", "powerpc") - Cpu string `protobuf:"bytes,1,opt,name=cpu,proto3" json:"cpu,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c7cb6c7dfd72e78e, []int{1} -} - -func (m *ConfigurationAttributes) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConfigurationAttributes.Unmarshal(m, b) -} -func (m *ConfigurationAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConfigurationAttributes.Marshal(b, m, deterministic) -} -func (m *ConfigurationAttributes) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConfigurationAttributes.Merge(m, src) -} -func (m *ConfigurationAttributes) XXX_Size() int { - return xxx_messageInfo_ConfigurationAttributes.Size(m) -} -func (m *ConfigurationAttributes) XXX_DiscardUnknown() { - xxx_messageInfo_ConfigurationAttributes.DiscardUnknown(m) -} - -var xxx_messageInfo_ConfigurationAttributes proto.InternalMessageInfo - -func (m *ConfigurationAttributes) GetCpu() string { - if m != nil { - return m.Cpu - } - return "" -} - -func init() { - proto.RegisterType((*Configuration)(nil), "google.devtools.resultstore.v2.Configuration") - proto.RegisterType((*Configuration_Id)(nil), "google.devtools.resultstore.v2.Configuration.Id") - proto.RegisterType((*ConfigurationAttributes)(nil), "google.devtools.resultstore.v2.ConfigurationAttributes") -} - -func init() { - proto.RegisterFile("google/devtools/resultstore/v2/configuration.proto", fileDescriptor_c7cb6c7dfd72e78e) -} - -var fileDescriptor_c7cb6c7dfd72e78e = []byte{ - // 357 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0xbf, 0x4f, 0xe3, 0x30, - 0x1c, 0xc5, 0x95, 0xe4, 0xae, 0xba, 0x7e, 0xdb, 0xea, 0x7a, 0x5e, 0x1a, 0x75, 0x38, 0x95, 0xb2, - 0x04, 0x55, 0x72, 0x50, 0x18, 0x18, 0x58, 0xf8, 0xb1, 0x90, 0x05, 0x55, 0x81, 0x09, 0x09, 0x55, - 0x6e, 0x6c, 0x22, 0x4b, 0x49, 0x1c, 0x6c, 0x27, 0x52, 0xff, 0x76, 0x16, 0x84, 0x93, 0x42, 0x82, - 0x28, 0x85, 0xcd, 0x79, 0xce, 0xe7, 0x3d, 0x7f, 0x9f, 0x0d, 0x41, 0x22, 0x44, 0x92, 0x32, 0x9f, - 0xb2, 0x4a, 0x0b, 0x91, 0x2a, 0x5f, 0x32, 0x55, 0xa6, 0x5a, 0x69, 0x21, 0x99, 0x5f, 0x05, 0x7e, - 0x2c, 0xf2, 0x47, 0x9e, 0x94, 0x92, 0x68, 0x2e, 0x72, 0x5c, 0x48, 0xa1, 0x05, 0xf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0xd8, 0x68, 0x0c, 0x4e, 0x5c, 0x94, 0x4d, 0xc0, 0xeb, 0xf2, 0xf2, - 0x09, 0xe6, 0xb1, 0xc8, 0xf6, 0x0c, 0xb8, 0xb4, 0xee, 0xc3, 0xe6, 0x8f, 0x44, 0xa4, 0x24, 0x4f, - 0xb0, 0x90, 0x89, 0x9f, 0xb0, 0xdc, 0x3c, 0x37, 0xbf, 0xde, 0x22, 0x05, 0x57, 0xbb, 0x9e, 0xe7, - 0x59, 0xeb, 0x73, 0xdd, 0x33, 0xd4, 0xc9, 0x4b, 0x00, 0x00, 0x00, 0xff, 0xff, 0x39, 0x87, 0xe1, - 0xa8, 0x27, 0x03, 0x00, 0x00, -} 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 deleted file mode 100644 index 3095f00a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/configured_target.pb.go +++ /dev/null @@ -1,296 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/resultstore/v2/configured_target.proto - -package resultstore - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Each ConfiguredTarget represents data for a given configuration of a given -// target in a given Invocation. -// Every ConfiguredTarget should have at least one Action as a child resource -// before the invocation is finalized. Refer to the Action's documentation for -// more info on this. -type ConfiguredTarget struct { - // The resource name. Its format must be: - // invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)}/configuredTargets/${url_encode(CONFIG_ID)} - // where ${CONFIG_ID} must match the ID of an existing Configuration under - // this Invocation. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The resource ID components that identify the ConfiguredTarget. They must - // match the resource name after proper encoding. - Id *ConfiguredTarget_Id `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // The aggregate status for this configuration of this target. If testing - // was not requested, set this to the build status (e.g. BUILT or - // FAILED_TO_BUILD). - StatusAttributes *StatusAttributes `protobuf:"bytes,3,opt,name=status_attributes,json=statusAttributes,proto3" json:"status_attributes,omitempty"` - // Captures the start time and duration of this configured target. - Timing *Timing `protobuf:"bytes,4,opt,name=timing,proto3" json:"timing,omitempty"` - // Test specific attributes for this ConfiguredTarget. - TestAttributes *ConfiguredTestAttributes `protobuf:"bytes,6,opt,name=test_attributes,json=testAttributes,proto3" json:"test_attributes,omitempty"` - // Arbitrary name-value pairs. - // This is implemented as a multi-map. Multiple properties are allowed with - // the same key. Properties will be returned in lexicographical order by key. - Properties []*Property `protobuf:"bytes,7,rep,name=properties,proto3" json:"properties,omitempty"` - // 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"` - 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_19ffdaac8c8f375e, []int{0} -} - -func (m *ConfiguredTarget) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConfiguredTarget.Unmarshal(m, b) -} -func (m *ConfiguredTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConfiguredTarget.Marshal(b, m, deterministic) -} -func (m *ConfiguredTarget) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConfiguredTarget.Merge(m, src) -} -func (m *ConfiguredTarget) XXX_Size() int { - return xxx_messageInfo_ConfiguredTarget.Size(m) -} -func (m *ConfiguredTarget) XXX_DiscardUnknown() { - xxx_messageInfo_ConfiguredTarget.DiscardUnknown(m) -} - -var xxx_messageInfo_ConfiguredTarget proto.InternalMessageInfo - -func (m *ConfiguredTarget) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ConfiguredTarget) GetId() *ConfiguredTarget_Id { - if m != nil { - return m.Id - } - return nil -} - -func (m *ConfiguredTarget) GetStatusAttributes() *StatusAttributes { - if m != nil { - return m.StatusAttributes - } - return nil -} - -func (m *ConfiguredTarget) GetTiming() *Timing { - if m != nil { - return m.Timing - } - return nil -} - -func (m *ConfiguredTarget) GetTestAttributes() *ConfiguredTestAttributes { - if m != nil { - return m.TestAttributes - } - return nil -} - -func (m *ConfiguredTarget) GetProperties() []*Property { - if m != nil { - return m.Properties - } - return nil -} - -func (m *ConfiguredTarget) GetFiles() []*File { - if m != nil { - return m.Files - } - return nil -} - -// The resource ID components that identify the ConfiguredTarget. -type ConfiguredTarget_Id struct { - // The Invocation ID. - InvocationId string `protobuf:"bytes,1,opt,name=invocation_id,json=invocationId,proto3" json:"invocation_id,omitempty"` - // The Target ID. - TargetId string `protobuf:"bytes,2,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"` - // The Configuration ID. - ConfigurationId string `protobuf:"bytes,3,opt,name=configuration_id,json=configurationId,proto3" json:"configuration_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_19ffdaac8c8f375e, []int{0, 0} -} - -func (m *ConfiguredTarget_Id) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConfiguredTarget_Id.Unmarshal(m, b) -} -func (m *ConfiguredTarget_Id) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConfiguredTarget_Id.Marshal(b, m, deterministic) -} -func (m *ConfiguredTarget_Id) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConfiguredTarget_Id.Merge(m, src) -} -func (m *ConfiguredTarget_Id) XXX_Size() int { - return xxx_messageInfo_ConfiguredTarget_Id.Size(m) -} -func (m *ConfiguredTarget_Id) XXX_DiscardUnknown() { - xxx_messageInfo_ConfiguredTarget_Id.DiscardUnknown(m) -} - -var xxx_messageInfo_ConfiguredTarget_Id proto.InternalMessageInfo - -func (m *ConfiguredTarget_Id) GetInvocationId() string { - if m != nil { - return m.InvocationId - } - return "" -} - -func (m *ConfiguredTarget_Id) GetTargetId() string { - if m != nil { - return m.TargetId - } - return "" -} - -func (m *ConfiguredTarget_Id) GetConfigurationId() string { - if m != nil { - return m.ConfigurationId - } - return "" -} - -// Attributes that apply only to test actions under this configured target. -type ConfiguredTestAttributes struct { - // Total number of test runs. For example, in bazel this is specified with - // --runs_per_test. Zero if runs_per_test is not used. - TotalRunCount int32 `protobuf:"varint,2,opt,name=total_run_count,json=totalRunCount,proto3" json:"total_run_count,omitempty"` - // Total number of test shards. Zero if shard count was not specified. - TotalShardCount int32 `protobuf:"varint,3,opt,name=total_shard_count,json=totalShardCount,proto3" json:"total_shard_count,omitempty"` - // How long test is allowed to run. - TimeoutDuration *duration.Duration `protobuf:"bytes,5,opt,name=timeout_duration,json=timeoutDuration,proto3" json:"timeout_duration,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ConfiguredTestAttributes) Reset() { *m = ConfiguredTestAttributes{} } -func (m *ConfiguredTestAttributes) String() string { return proto.CompactTextString(m) } -func (*ConfiguredTestAttributes) ProtoMessage() {} -func (*ConfiguredTestAttributes) Descriptor() ([]byte, []int) { - return fileDescriptor_19ffdaac8c8f375e, []int{1} -} - -func (m *ConfiguredTestAttributes) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConfiguredTestAttributes.Unmarshal(m, b) -} -func (m *ConfiguredTestAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConfiguredTestAttributes.Marshal(b, m, deterministic) -} -func (m *ConfiguredTestAttributes) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConfiguredTestAttributes.Merge(m, src) -} -func (m *ConfiguredTestAttributes) XXX_Size() int { - return xxx_messageInfo_ConfiguredTestAttributes.Size(m) -} -func (m *ConfiguredTestAttributes) XXX_DiscardUnknown() { - xxx_messageInfo_ConfiguredTestAttributes.DiscardUnknown(m) -} - -var xxx_messageInfo_ConfiguredTestAttributes proto.InternalMessageInfo - -func (m *ConfiguredTestAttributes) GetTotalRunCount() int32 { - if m != nil { - return m.TotalRunCount - } - return 0 -} - -func (m *ConfiguredTestAttributes) GetTotalShardCount() int32 { - if m != nil { - return m.TotalShardCount - } - return 0 -} - -func (m *ConfiguredTestAttributes) GetTimeoutDuration() *duration.Duration { - if m != nil { - return m.TimeoutDuration - } - return nil -} - -func init() { - proto.RegisterType((*ConfiguredTarget)(nil), "google.devtools.resultstore.v2.ConfiguredTarget") - proto.RegisterType((*ConfiguredTarget_Id)(nil), "google.devtools.resultstore.v2.ConfiguredTarget.Id") - proto.RegisterType((*ConfiguredTestAttributes)(nil), "google.devtools.resultstore.v2.ConfiguredTestAttributes") -} - -func init() { - proto.RegisterFile("google/devtools/resultstore/v2/configured_target.proto", fileDescriptor_19ffdaac8c8f375e) -} - -var fileDescriptor_19ffdaac8c8f375e = []byte{ - // 488 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff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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 deleted file mode 100644 index c5829d10..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/coverage.pb.go +++ /dev/null @@ -1,362 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/resultstore/v2/coverage.proto - -package resultstore - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Describes line coverage for a file -type LineCoverage struct { - // Which source lines in the file represent the start of a statement that was - // instrumented to detect whether it was executed by the test. - // - // This is a bitfield where i-th bit corresponds to the i-th line. Divide line - // number by 8 to get index into byte array. Mod line number by 8 to get bit - // number (0 = LSB, 7 = MSB). - // - // A 1 denotes the line was instrumented. - // A 0 denotes the line was not instrumented. - InstrumentedLines []byte `protobuf:"bytes,1,opt,name=instrumented_lines,json=instrumentedLines,proto3" json:"instrumented_lines,omitempty"` - // Which of the instrumented source lines were executed by the test. Should - // include lines that were not instrumented. - // - // This is a bitfield where i-th bit corresponds to the i-th line. Divide line - // number by 8 to get index into byte array. Mod line number by 8 to get bit - // number (0 = LSB, 7 = MSB). - // - // A 1 denotes the line was executed. - // A 0 denotes the line was not executed. - ExecutedLines []byte `protobuf:"bytes,2,opt,name=executed_lines,json=executedLines,proto3" json:"executed_lines,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_823b424facf00e45, []int{0} -} - -func (m *LineCoverage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LineCoverage.Unmarshal(m, b) -} -func (m *LineCoverage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LineCoverage.Marshal(b, m, deterministic) -} -func (m *LineCoverage) XXX_Merge(src proto.Message) { - xxx_messageInfo_LineCoverage.Merge(m, src) -} -func (m *LineCoverage) XXX_Size() int { - return xxx_messageInfo_LineCoverage.Size(m) -} -func (m *LineCoverage) XXX_DiscardUnknown() { - xxx_messageInfo_LineCoverage.DiscardUnknown(m) -} - -var xxx_messageInfo_LineCoverage proto.InternalMessageInfo - -func (m *LineCoverage) GetInstrumentedLines() []byte { - if m != nil { - return m.InstrumentedLines - } - return nil -} - -func (m *LineCoverage) GetExecutedLines() []byte { - if m != nil { - return m.ExecutedLines - } - return nil -} - -// Describes branch coverage for a file -type BranchCoverage struct { - // The field branch_present denotes the lines containing at least one branch. - // - // This is a bitfield where i-th bit corresponds to the i-th line. Divide line - // number by 8 to get index into byte array. Mod line number by 8 to get bit - // number (0 = LSB, 7 = MSB). - // - // A 1 denotes the line contains at least one branch. - // A 0 denotes the line contains no branches. - BranchPresent []byte `protobuf:"bytes,1,opt,name=branch_present,json=branchPresent,proto3" json:"branch_present,omitempty"` - // Contains the number of branches present, only for the lines which have the - // corresponding bit set in branch_present, in a relative order ignoring - // lines which do not have any branches. - BranchesInLine []int32 `protobuf:"varint,2,rep,packed,name=branches_in_line,json=branchesInLine,proto3" json:"branches_in_line,omitempty"` - // As each branch can have any one of the following three states: not - // executed, executed but not taken, executed and taken. - // - // This is a bitfield where i-th bit corresponds to the i-th line. Divide line - // number by 8 to get index into byte array. Mod line number by 8 to get bit - // number (0 = LSB, 7 = MSB). - // - // i-th bit of the following two byte arrays are used to denote the above - // mentioned states. - // - // not executed: i-th bit of executed == 0 && i-th bit of taken == 0 - // executed but not taken: i-th bit of executed == 1 && i-th bit of taken == 0 - // executed and taken: i-th bit of executed == 1 && i-th bit of taken == 1 - Executed []byte `protobuf:"bytes,3,opt,name=executed,proto3" json:"executed,omitempty"` - // Described above. - Taken []byte `protobuf:"bytes,4,opt,name=taken,proto3" json:"taken,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_823b424facf00e45, []int{1} -} - -func (m *BranchCoverage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BranchCoverage.Unmarshal(m, b) -} -func (m *BranchCoverage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BranchCoverage.Marshal(b, m, deterministic) -} -func (m *BranchCoverage) XXX_Merge(src proto.Message) { - xxx_messageInfo_BranchCoverage.Merge(m, src) -} -func (m *BranchCoverage) XXX_Size() int { - return xxx_messageInfo_BranchCoverage.Size(m) -} -func (m *BranchCoverage) XXX_DiscardUnknown() { - xxx_messageInfo_BranchCoverage.DiscardUnknown(m) -} - -var xxx_messageInfo_BranchCoverage proto.InternalMessageInfo - -func (m *BranchCoverage) GetBranchPresent() []byte { - if m != nil { - return m.BranchPresent - } - return nil -} - -func (m *BranchCoverage) GetBranchesInLine() []int32 { - if m != nil { - return m.BranchesInLine - } - return nil -} - -func (m *BranchCoverage) GetExecuted() []byte { - if m != nil { - return m.Executed - } - return nil -} - -func (m *BranchCoverage) GetTaken() []byte { - if m != nil { - return m.Taken - } - return nil -} - -// Describes code coverage for a particular file under test. -type FileCoverage struct { - // Path of source file within the SourceContext of this Invocation. - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` - // Details of lines in a file required to calculate line coverage. - LineCoverage *LineCoverage `protobuf:"bytes,2,opt,name=line_coverage,json=lineCoverage,proto3" json:"line_coverage,omitempty"` - // Details of branches in a file required to calculate branch coverage. - BranchCoverage *BranchCoverage `protobuf:"bytes,3,opt,name=branch_coverage,json=branchCoverage,proto3" json:"branch_coverage,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_823b424facf00e45, []int{2} -} - -func (m *FileCoverage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FileCoverage.Unmarshal(m, b) -} -func (m *FileCoverage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FileCoverage.Marshal(b, m, deterministic) -} -func (m *FileCoverage) XXX_Merge(src proto.Message) { - xxx_messageInfo_FileCoverage.Merge(m, src) -} -func (m *FileCoverage) XXX_Size() int { - return xxx_messageInfo_FileCoverage.Size(m) -} -func (m *FileCoverage) XXX_DiscardUnknown() { - xxx_messageInfo_FileCoverage.DiscardUnknown(m) -} - -var xxx_messageInfo_FileCoverage proto.InternalMessageInfo - -func (m *FileCoverage) GetPath() string { - if m != nil { - return m.Path - } - return "" -} - -func (m *FileCoverage) GetLineCoverage() *LineCoverage { - if m != nil { - return m.LineCoverage - } - return nil -} - -func (m *FileCoverage) GetBranchCoverage() *BranchCoverage { - if m != nil { - return m.BranchCoverage - } - return nil -} - -// Describes code coverage for a build or test Action. This is used to store -// baseline coverage for build Actions and test coverage for test Actions. -type ActionCoverage struct { - // List of coverage info for all source files that the TestResult covers. - FileCoverages []*FileCoverage `protobuf:"bytes,2,rep,name=file_coverages,json=fileCoverages,proto3" json:"file_coverages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_823b424facf00e45, []int{3} -} - -func (m *ActionCoverage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ActionCoverage.Unmarshal(m, b) -} -func (m *ActionCoverage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ActionCoverage.Marshal(b, m, deterministic) -} -func (m *ActionCoverage) XXX_Merge(src proto.Message) { - xxx_messageInfo_ActionCoverage.Merge(m, src) -} -func (m *ActionCoverage) XXX_Size() int { - return xxx_messageInfo_ActionCoverage.Size(m) -} -func (m *ActionCoverage) XXX_DiscardUnknown() { - xxx_messageInfo_ActionCoverage.DiscardUnknown(m) -} - -var xxx_messageInfo_ActionCoverage proto.InternalMessageInfo - -func (m *ActionCoverage) GetFileCoverages() []*FileCoverage { - if m != nil { - return m.FileCoverages - } - return nil -} - -// Describes aggregate code coverage for a collection of build or test Actions. -// A line or branch is covered if and only if it is covered in any of the build -// or test actions. -type AggregateCoverage struct { - // Aggregated coverage info for all source files that the actions cover. - FileCoverages []*FileCoverage `protobuf:"bytes,1,rep,name=file_coverages,json=fileCoverages,proto3" json:"file_coverages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AggregateCoverage) Reset() { *m = AggregateCoverage{} } -func (m *AggregateCoverage) String() string { return proto.CompactTextString(m) } -func (*AggregateCoverage) ProtoMessage() {} -func (*AggregateCoverage) Descriptor() ([]byte, []int) { - return fileDescriptor_823b424facf00e45, []int{4} -} - -func (m *AggregateCoverage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AggregateCoverage.Unmarshal(m, b) -} -func (m *AggregateCoverage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AggregateCoverage.Marshal(b, m, deterministic) -} -func (m *AggregateCoverage) XXX_Merge(src proto.Message) { - xxx_messageInfo_AggregateCoverage.Merge(m, src) -} -func (m *AggregateCoverage) XXX_Size() int { - return xxx_messageInfo_AggregateCoverage.Size(m) -} -func (m *AggregateCoverage) XXX_DiscardUnknown() { - xxx_messageInfo_AggregateCoverage.DiscardUnknown(m) -} - -var xxx_messageInfo_AggregateCoverage proto.InternalMessageInfo - -func (m *AggregateCoverage) GetFileCoverages() []*FileCoverage { - if m != nil { - return m.FileCoverages - } - return nil -} - -func init() { - proto.RegisterType((*LineCoverage)(nil), "google.devtools.resultstore.v2.LineCoverage") - proto.RegisterType((*BranchCoverage)(nil), "google.devtools.resultstore.v2.BranchCoverage") - proto.RegisterType((*FileCoverage)(nil), "google.devtools.resultstore.v2.FileCoverage") - proto.RegisterType((*ActionCoverage)(nil), "google.devtools.resultstore.v2.ActionCoverage") - proto.RegisterType((*AggregateCoverage)(nil), "google.devtools.resultstore.v2.AggregateCoverage") -} - -func init() { - proto.RegisterFile("google/devtools/resultstore/v2/coverage.proto", fileDescriptor_823b424facf00e45) -} - -var fileDescriptor_823b424facf00e45 = []byte{ - // 386 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x53, 0xcd, 0xca, 0xd3, 0x40, - 0x14, 0x25, 0xfd, 0x11, 0xbd, 0x26, 0xd1, 0x0e, 0x2e, 0x82, 0x0b, 0x29, 0x81, 0x42, 0x17, 0x76, - 0x02, 0x75, 0xe9, 0xaa, 0x15, 0x84, 0x82, 0x8b, 0x1a, 0x17, 0x82, 0x9b, 0x90, 0xa6, 0xb7, 0xd3, - 0xc1, 0xe9, 0x4c, 0x9c, 0x99, 0x06, 0xdf, 0xc3, 0xf7, 0xf2, 0x99, 0xa4, 0x93, 0x9f, 0xc6, 0xc5, - 0xd7, 0x7e, 0xf0, 0xed, 0xe6, 0x9e, 0x7b, 0xee, 0x39, 0xf7, 0x1e, 0x18, 0x58, 0x30, 0xa5, 0x98, - 0xc0, 0x64, 0x8f, 0x95, 0x55, 0x4a, 0x98, 0x44, 0xa3, 0x39, 0x0b, 0x6b, 0xac, 0xd2, 0x98, 0x54, - 0xcb, 0xa4, 0x50, 0x15, 0xea, 0x9c, 0x21, 0x2d, 0xb5, 0xb2, 0x8a, 0xbc, 0xab, 0xe9, 0xb4, 0xa5, - 0xd3, 0x1e, 0x9d, 0x56, 0xcb, 0x78, 0x0f, 0xfe, 0x17, 0x2e, 0xf1, 0x53, 0x33, 0x45, 0x16, 0x40, - 0xb8, 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xfa, 0xfd, 0x5c, 0xd2, 0xe0, 0xd0, 0xab, 0x4c, 0x7c, - 0x84, 0xc9, 0x8a, 0x31, 0x8d, 0x2c, 0xb7, 0x78, 0xc3, 0xc9, 0x7b, 0xb2, 0xd3, 0xfa, 0x17, 0xc4, - 0x85, 0x3a, 0xdd, 0x51, 0xd8, 0x7a, 0x3f, 0x36, 0x0d, 0x83, 0x29, 0x91, 0x4b, 0x46, 0x95, 0x66, - 0x09, 0x43, 0xe9, 0x7e, 0x40, 0x52, 0xb7, 0xf2, 0x92, 0x9b, 0x87, 0xfe, 0xcc, 0xc7, 0x5e, 0xb9, - 0x7b, 0xe6, 0xa6, 0x3e, 0xfc, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x9f, 0x5a, 0xd7, 0x5d, 0x68, 0x03, - 0x00, 0x00, -} 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 deleted file mode 100644 index d213e78e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/coverage_summary.pb.go +++ /dev/null @@ -1,235 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/resultstore/v2/coverage_summary.proto - -package resultstore - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Summary of line coverage -type LineCoverageSummary struct { - // Number of lines instrumented for coverage. - InstrumentedLineCount int32 `protobuf:"varint,1,opt,name=instrumented_line_count,json=instrumentedLineCount,proto3" json:"instrumented_line_count,omitempty"` - // Number of instrumented lines that were executed by the test. - ExecutedLineCount int32 `protobuf:"varint,2,opt,name=executed_line_count,json=executedLineCount,proto3" json:"executed_line_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a504af212dd04847, []int{0} -} - -func (m *LineCoverageSummary) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LineCoverageSummary.Unmarshal(m, b) -} -func (m *LineCoverageSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LineCoverageSummary.Marshal(b, m, deterministic) -} -func (m *LineCoverageSummary) XXX_Merge(src proto.Message) { - xxx_messageInfo_LineCoverageSummary.Merge(m, src) -} -func (m *LineCoverageSummary) XXX_Size() int { - return xxx_messageInfo_LineCoverageSummary.Size(m) -} -func (m *LineCoverageSummary) XXX_DiscardUnknown() { - xxx_messageInfo_LineCoverageSummary.DiscardUnknown(m) -} - -var xxx_messageInfo_LineCoverageSummary proto.InternalMessageInfo - -func (m *LineCoverageSummary) GetInstrumentedLineCount() int32 { - if m != nil { - return m.InstrumentedLineCount - } - return 0 -} - -func (m *LineCoverageSummary) GetExecutedLineCount() int32 { - if m != nil { - return m.ExecutedLineCount - } - return 0 -} - -// Summary of branch coverage -// A branch may be: -// * not executed. Counted only in total. -// * executed but not taken. Appears in total and executed. -// * executed and taken. Appears in all three fields. -type BranchCoverageSummary struct { - // The number of branches present in the file. - TotalBranchCount int32 `protobuf:"varint,1,opt,name=total_branch_count,json=totalBranchCount,proto3" json:"total_branch_count,omitempty"` - // The number of branches executed out of the total branches present. - // A branch is executed when its condition is evaluated. - // This is <= total_branch_count as not all branches are executed. - ExecutedBranchCount int32 `protobuf:"varint,2,opt,name=executed_branch_count,json=executedBranchCount,proto3" json:"executed_branch_count,omitempty"` - // The number of branches taken out of the total branches executed. - // A branch is taken when its condition is satisfied. - // This is <= executed_branch_count as not all executed branches are taken. - TakenBranchCount int32 `protobuf:"varint,3,opt,name=taken_branch_count,json=takenBranchCount,proto3" json:"taken_branch_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a504af212dd04847, []int{1} -} - -func (m *BranchCoverageSummary) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BranchCoverageSummary.Unmarshal(m, b) -} -func (m *BranchCoverageSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BranchCoverageSummary.Marshal(b, m, deterministic) -} -func (m *BranchCoverageSummary) XXX_Merge(src proto.Message) { - xxx_messageInfo_BranchCoverageSummary.Merge(m, src) -} -func (m *BranchCoverageSummary) XXX_Size() int { - return xxx_messageInfo_BranchCoverageSummary.Size(m) -} -func (m *BranchCoverageSummary) XXX_DiscardUnknown() { - xxx_messageInfo_BranchCoverageSummary.DiscardUnknown(m) -} - -var xxx_messageInfo_BranchCoverageSummary proto.InternalMessageInfo - -func (m *BranchCoverageSummary) GetTotalBranchCount() int32 { - if m != nil { - return m.TotalBranchCount - } - return 0 -} - -func (m *BranchCoverageSummary) GetExecutedBranchCount() int32 { - if m != nil { - return m.ExecutedBranchCount - } - return 0 -} - -func (m *BranchCoverageSummary) GetTakenBranchCount() int32 { - if m != nil { - return m.TakenBranchCount - } - return 0 -} - -// Summary of coverage in each language -type LanguageCoverageSummary struct { - // This summary is for all files written in this programming language. - Language Language `protobuf:"varint,1,opt,name=language,proto3,enum=google.devtools.resultstore.v2.Language" json:"language,omitempty"` - // Summary of lines covered vs instrumented. - LineSummary *LineCoverageSummary `protobuf:"bytes,2,opt,name=line_summary,json=lineSummary,proto3" json:"line_summary,omitempty"` - // Summary of branch coverage. - BranchSummary *BranchCoverageSummary `protobuf:"bytes,3,opt,name=branch_summary,json=branchSummary,proto3" json:"branch_summary,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a504af212dd04847, []int{2} -} - -func (m *LanguageCoverageSummary) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LanguageCoverageSummary.Unmarshal(m, b) -} -func (m *LanguageCoverageSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LanguageCoverageSummary.Marshal(b, m, deterministic) -} -func (m *LanguageCoverageSummary) XXX_Merge(src proto.Message) { - xxx_messageInfo_LanguageCoverageSummary.Merge(m, src) -} -func (m *LanguageCoverageSummary) XXX_Size() int { - return xxx_messageInfo_LanguageCoverageSummary.Size(m) -} -func (m *LanguageCoverageSummary) XXX_DiscardUnknown() { - xxx_messageInfo_LanguageCoverageSummary.DiscardUnknown(m) -} - -var xxx_messageInfo_LanguageCoverageSummary proto.InternalMessageInfo - -func (m *LanguageCoverageSummary) GetLanguage() Language { - if m != nil { - return m.Language - } - return Language_LANGUAGE_UNSPECIFIED -} - -func (m *LanguageCoverageSummary) GetLineSummary() *LineCoverageSummary { - if m != nil { - return m.LineSummary - } - return nil -} - -func (m *LanguageCoverageSummary) GetBranchSummary() *BranchCoverageSummary { - if m != nil { - return m.BranchSummary - } - return nil -} - -func init() { - proto.RegisterType((*LineCoverageSummary)(nil), "google.devtools.resultstore.v2.LineCoverageSummary") - proto.RegisterType((*BranchCoverageSummary)(nil), "google.devtools.resultstore.v2.BranchCoverageSummary") - proto.RegisterType((*LanguageCoverageSummary)(nil), "google.devtools.resultstore.v2.LanguageCoverageSummary") -} - -func init() { - proto.RegisterFile("google/devtools/resultstore/v2/coverage_summary.proto", fileDescriptor_a504af212dd04847) -} - -var fileDescriptor_a504af212dd04847 = []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, - 0xa0, 0x4c, 0x20, 0xa5, 0x6e, 0xdc, 0x55, 0x37, 0x42, 0x17, 0x12, 0xc1, 0x85, 0x08, 0x61, 0x9a, - 0x5e, 0xc6, 0x60, 0x32, 0xb7, 0x4e, 0x26, 0x41, 0x17, 0xfe, 0x0c, 0x7f, 0x83, 0x7f, 0x53, 0x32, - 0x33, 0x09, 0x69, 0xab, 0x66, 0x39, 0x9c, 0x7b, 0xbe, 0x73, 0x66, 0xee, 0x90, 0x39, 0x47, 0xe4, - 0x29, 0xf8, 0x6b, 0x28, 0x15, 0x62, 0x9a, 0xfb, 0x12, 0xf2, 0x22, 0x55, 0xb9, 0x42, 0x09, 0x7e, - 0x19, 0xf8, 0x31, 0x96, 0x20, 0x19, 0x87, 0x28, 0x2f, 0xb2, 0x8c, 0xc9, 0x57, 0xba, 0x91, 0xa8, - 0xd0, 0x3d, 0x36, 0x36, 0x5a, 0xdb, 0x68, 0xcb, 0x46, 0xcb, 0xe0, 0xe8, 0xb4, 0x13, 0x9b, 0x65, - 0x28, 0x0c, 0xcc, 0x7b, 0x23, 0xa3, 0x65, 0x22, 0xe0, 0xd2, 0x46, 0xdd, 0x9a, 0x24, 0xf7, 0x9c,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fa, 0x13, 0xfa, 0x46, 0x62, 0x9b, 0x24, 0xff, 0xee, - 0xd3, 0x5e, 0xb4, 0x8e, 0xab, 0xdf, 0xda, 0x35, 0xfb, 0x0c, 0x00, 0x00, 0xff, 0xff, 0x0f, 0x65, - 0x24, 0xb5, 0x40, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/download_metadata.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/download_metadata.pb.go deleted file mode 100644 index 8dbec4ab..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/download_metadata.pb.go +++ /dev/null @@ -1,100 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/resultstore/v2/download_metadata.proto - -package resultstore - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// The download metadata for an invocation -type DownloadMetadata struct { - // The name of the download metadata. Its format will be: - // invocations/${INVOCATION_ID}/downloadMetadata - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Indicates the upload status of the invocation, whether it is - // post-processing, or immutable, etc. - UploadStatus UploadStatus `protobuf:"varint,2,opt,name=upload_status,json=uploadStatus,proto3,enum=google.devtools.resultstore.v2.UploadStatus" json:"upload_status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DownloadMetadata) Reset() { *m = DownloadMetadata{} } -func (m *DownloadMetadata) String() string { return proto.CompactTextString(m) } -func (*DownloadMetadata) ProtoMessage() {} -func (*DownloadMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_9c835a18f2d71117, []int{0} -} - -func (m *DownloadMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DownloadMetadata.Unmarshal(m, b) -} -func (m *DownloadMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DownloadMetadata.Marshal(b, m, deterministic) -} -func (m *DownloadMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DownloadMetadata.Merge(m, src) -} -func (m *DownloadMetadata) XXX_Size() int { - return xxx_messageInfo_DownloadMetadata.Size(m) -} -func (m *DownloadMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_DownloadMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_DownloadMetadata proto.InternalMessageInfo - -func (m *DownloadMetadata) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *DownloadMetadata) GetUploadStatus() UploadStatus { - if m != nil { - return m.UploadStatus - } - return UploadStatus_UPLOAD_STATUS_UNSPECIFIED -} - -func init() { - proto.RegisterType((*DownloadMetadata)(nil), "google.devtools.resultstore.v2.DownloadMetadata") -} - -func init() { - proto.RegisterFile("google/devtools/resultstore/v2/download_metadata.proto", fileDescriptor_9c835a18f2d71117) -} - -var fileDescriptor_9c835a18f2d71117 = []byte{ - // 217 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x8f, 0xb1, 0x4b, 0xc6, 0x30, - 0x10, 0xc5, 0x89, 0x88, 0x60, 0x50, 0x91, 0x4c, 0xc5, 0x41, 0x4a, 0xa7, 0x82, 0x92, 0x40, 0x05, - 0x17, 0x37, 0x71, 0x71, 0x10, 0xb4, 0xe2, 0xe2, 0x22, 0x67, 0x13, 0x82, 0x90, 0xe4, 0x6a, 0x72, - 0xa9, 0xf8, 0xdf, 0x0b, 0x69, 0x85, 0x2e, 0xdf, 0xd7, 0xed, 0x1e, 0x77, 0xbf, 0xf7, 0xde, 0xf1, - 0x5b, 0x8b, 0x68, 0x9d, 0x51, 0xda, 0x4c, 0x84, 0xe8, 0x92, 0x8a, 0x26, 0x65, 0x47, 0x89, 0x30, - 0x1a, 0x35, 0x75, 0x4a, 0xe3, 0x4f, 0x70, 0x08, 0xfa, 0xc3, 0x1b, 0x02, 0x0d, 0x04, 0x72, 0x8c, - 0x48, 0x28, 0x2e, 0x67, 0x4e, 0xfe, 0x73, 0x72, 0xc5, 0xc9, 0xa9, 0xbb, 0xb8, 0xda, 0xf0, 0x1d, - 0xd0, 0x7b, 0x0c, 0xb3, 0x59, 0xf3, 0xcb, 0xcf, 0x1f, 0x96, 0x9c, 0xa7, 0x25, 0x46, 0x08, 0x7e, - 0x18, 0xc0, 0x9b, 0x8a, 0xd5, 0xac, 0x3d, 0xee, 0xcb, 0x2c, 0x5e, 0xf8, 0x69, 0x1e, 0x4b, 0x9b, - 0x44, 0x40, 0x39, 0x55, 0x07, 0x35, 0x6b, 0xcf, 0xba, 0x6b, 0xb9, 0xbf, 0x8c, 0x7c, 0x2b, 0xd0, - 0x6b, 0x61, 0xfa, 0x93, 0xbc, 0x52, 0xf7, 0xdf, 0xbc, 0x19, 0xd0, 0x6f, 0x18, 0x3c, 0xb3, 0xf7, - 0xc7, 0xe5, 0xc2, 0xa2, 0x83, 0x60, 0x25, 0x46, 0xab, 0xac, 0x09, 0xa5, 0xbe, 0x9a, 0x57, 0x30, - 0x7e, 0xa5, 0x5d, 0xef, 0xde, 0xad, 0xe4, 0xe7, 0x51, 0xa1, 0x6e, 0xfe, 0x02, 0x00, 0x00, 0xff, - 0xff, 0x41, 0xce, 0x56, 0x29, 0x7b, 0x01, 0x00, 0x00, -} 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 deleted file mode 100644 index d6ee5c3d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/file.pb.go +++ /dev/null @@ -1,305 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/resultstore/v2/file.proto - -package resultstore - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // 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_0f2079cd39696ac1, []int{0, 0} -} - -// The metadata for a file or an archive file entry. -type File struct { - // The identifier of the file or archive entry. - // User-provided, must be unique for the repeated field it is in. When an - // Append RPC is called with a Files field populated, if a File already exists - // with this ID, that File will be overwritten with the new File proto. - Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` - // The URI of a file. - // This could also be the URI of an entire archive. - // Most log data doesn't need to be stored forever, so a ttl is suggested. - // Note that if you ever move or delete the file at this URI, the link from - // the server will be broken. - Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` - // (Optional) The length of the file in bytes. Allows the filesize to be - // shown in the UI. Omit if file is still being written or length is - // not known. This could also be the length of an entire archive. - Length *wrappers.Int64Value `protobuf:"bytes,3,opt,name=length,proto3" json:"length,omitempty"` - // (Optional) The content-type (aka MIME-type) of the file. This is sent to - // the web browser so it knows how to handle the file. (e.g. text/plain, - // image/jpeg, text/html, etc). For zip archives, use "application/zip". - ContentType string `protobuf:"bytes,4,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` - // (Optional) If the above path, length, and content_type are referring to an - // archive, and you wish to refer to a particular entry within that archive, - // put the particular archive entry data here. - ArchiveEntry *ArchiveEntry `protobuf:"bytes,5,opt,name=archive_entry,json=archiveEntry,proto3" json:"archive_entry,omitempty"` - // (Optional) A url to a content display app/site for this file or archive - // entry. - ContentViewer string `protobuf:"bytes,6,opt,name=content_viewer,json=contentViewer,proto3" json:"content_viewer,omitempty"` - // (Optional) Whether to hide this file or archive entry in the UI. Defaults - // to false. A checkbox lets users see hidden files, but they're hidden by - // default. - Hidden bool `protobuf:"varint,7,opt,name=hidden,proto3" json:"hidden,omitempty"` - // (Optional) A short description of what this file or archive entry - // 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"` - // (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_0f2079cd39696ac1, []int{0} -} - -func (m *File) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_File.Unmarshal(m, b) -} -func (m *File) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_File.Marshal(b, m, deterministic) -} -func (m *File) XXX_Merge(src proto.Message) { - xxx_messageInfo_File.Merge(m, src) -} -func (m *File) XXX_Size() int { - return xxx_messageInfo_File.Size(m) -} -func (m *File) XXX_DiscardUnknown() { - xxx_messageInfo_File.DiscardUnknown(m) -} - -var xxx_messageInfo_File proto.InternalMessageInfo - -func (m *File) GetUid() string { - if m != nil { - return m.Uid - } - return "" -} - -func (m *File) GetUri() string { - if m != nil { - return m.Uri - } - return "" -} - -func (m *File) GetLength() *wrappers.Int64Value { - if m != nil { - return m.Length - } - return nil -} - -func (m *File) GetContentType() string { - if m != nil { - return m.ContentType - } - return "" -} - -func (m *File) GetArchiveEntry() *ArchiveEntry { - if m != nil { - return m.ArchiveEntry - } - return nil -} - -func (m *File) GetContentViewer() string { - if m != nil { - return m.ContentViewer - } - return "" -} - -func (m *File) GetHidden() bool { - if m != nil { - return m.Hidden - } - return false -} - -func (m *File) GetDescription() string { - if m != nil { - return m.Description - } - 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. - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` - // (Optional) The uncompressed length of the archive entry in bytes. Allows - // the entry size to be shown in the UI. Omit if the length is not known. - Length *wrappers.Int64Value `protobuf:"bytes,2,opt,name=length,proto3" json:"length,omitempty"` - // (Optional) The content-type (aka MIME-type) of the archive entry. (e.g. - // text/plain, image/jpeg, text/html, etc). This is sent to the web browser - // so it knows how to handle the entry. - ContentType string `protobuf:"bytes,3,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_0f2079cd39696ac1, []int{1} -} - -func (m *ArchiveEntry) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ArchiveEntry.Unmarshal(m, b) -} -func (m *ArchiveEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ArchiveEntry.Marshal(b, m, deterministic) -} -func (m *ArchiveEntry) XXX_Merge(src proto.Message) { - xxx_messageInfo_ArchiveEntry.Merge(m, src) -} -func (m *ArchiveEntry) XXX_Size() int { - return xxx_messageInfo_ArchiveEntry.Size(m) -} -func (m *ArchiveEntry) XXX_DiscardUnknown() { - xxx_messageInfo_ArchiveEntry.DiscardUnknown(m) -} - -var xxx_messageInfo_ArchiveEntry proto.InternalMessageInfo - -func (m *ArchiveEntry) GetPath() string { - if m != nil { - return m.Path - } - return "" -} - -func (m *ArchiveEntry) GetLength() *wrappers.Int64Value { - if m != nil { - return m.Length - } - return nil -} - -func (m *ArchiveEntry) GetContentType() string { - if m != nil { - return m.ContentType - } - return "" -} - -func init() { - proto.RegisterEnum("google.devtools.resultstore.v2.File_HashType", File_HashType_name, File_HashType_value) - proto.RegisterType((*File)(nil), "google.devtools.resultstore.v2.File") - proto.RegisterType((*ArchiveEntry)(nil), "google.devtools.resultstore.v2.ArchiveEntry") -} - -func init() { - proto.RegisterFile("google/devtools/resultstore/v2/file.proto", fileDescriptor_0f2079cd39696ac1) -} - -var fileDescriptor_0f2079cd39696ac1 = []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, 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x13, 0xb5, 0xae, 0x3b, 0xc9, 0xf6, 0xfe, 0x3f, 0x59, 0xfb, 0x8f, 0x64, 0xdf, 0xfd, - 0x80, 0xc9, 0x96, 0x7f, 0xbf, 0xc3, 0xff, 0xca, 0xfa, 0xb6, 0x34, 0x8c, 0x8c, 0x17, 0x49, 0x99, - 0x51, 0x2e, 0xb2, 0x20, 0xc3, 0x52, 0x1f, 0x0f, 0xda, 0x51, 0x52, 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_processing_error.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/file_processing_error.pb.go deleted file mode 100644 index 759651ff..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/file_processing_error.pb.go +++ /dev/null @@ -1,218 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/resultstore/v2/file_processing_error.proto - -package resultstore - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Errors in file post-processing are categorized using this enum. -type FileProcessingErrorType int32 - -const ( - // Type unspecified or not listed here. - FileProcessingErrorType_FILE_PROCESSING_ERROR_TYPE_UNSPECIFIED FileProcessingErrorType = 0 - // A read error occurred trying to read the file. - FileProcessingErrorType_GENERIC_READ_ERROR FileProcessingErrorType = 1 - // There was an error trying to parse the file. - FileProcessingErrorType_GENERIC_PARSE_ERROR FileProcessingErrorType = 2 - // File is exceeds size limit. - FileProcessingErrorType_FILE_TOO_LARGE FileProcessingErrorType = 3 - // The result of parsing the file exceeded size limit. - FileProcessingErrorType_OUTPUT_TOO_LARGE FileProcessingErrorType = 4 - // Read access to the file was denied by file system. - FileProcessingErrorType_ACCESS_DENIED FileProcessingErrorType = 5 - // Deadline exceeded trying to read the file. - FileProcessingErrorType_DEADLINE_EXCEEDED FileProcessingErrorType = 6 - // File not found. - FileProcessingErrorType_NOT_FOUND FileProcessingErrorType = 7 - // File is empty but was expected to have content. - FileProcessingErrorType_FILE_EMPTY FileProcessingErrorType = 8 -) - -var FileProcessingErrorType_name = map[int32]string{ - 0: "FILE_PROCESSING_ERROR_TYPE_UNSPECIFIED", - 1: "GENERIC_READ_ERROR", - 2: "GENERIC_PARSE_ERROR", - 3: "FILE_TOO_LARGE", - 4: "OUTPUT_TOO_LARGE", - 5: "ACCESS_DENIED", - 6: "DEADLINE_EXCEEDED", - 7: "NOT_FOUND", - 8: "FILE_EMPTY", -} - -var FileProcessingErrorType_value = map[string]int32{ - "FILE_PROCESSING_ERROR_TYPE_UNSPECIFIED": 0, - "GENERIC_READ_ERROR": 1, - "GENERIC_PARSE_ERROR": 2, - "FILE_TOO_LARGE": 3, - "OUTPUT_TOO_LARGE": 4, - "ACCESS_DENIED": 5, - "DEADLINE_EXCEEDED": 6, - "NOT_FOUND": 7, - "FILE_EMPTY": 8, -} - -func (x FileProcessingErrorType) String() string { - return proto.EnumName(FileProcessingErrorType_name, int32(x)) -} - -func (FileProcessingErrorType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_09a61cbdcc9fd6e0, []int{0} -} - -// Stores errors reading or parsing a file during post-processing. -type FileProcessingErrors struct { - // The uid of the File being read or parsed. - FileUid string `protobuf:"bytes,1,opt,name=file_uid,json=fileUid,proto3" json:"file_uid,omitempty"` - // What went wrong. - FileProcessingErrors []*FileProcessingError `protobuf:"bytes,3,rep,name=file_processing_errors,json=fileProcessingErrors,proto3" json:"file_processing_errors,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_09a61cbdcc9fd6e0, []int{0} -} - -func (m *FileProcessingErrors) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FileProcessingErrors.Unmarshal(m, b) -} -func (m *FileProcessingErrors) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FileProcessingErrors.Marshal(b, m, deterministic) -} -func (m *FileProcessingErrors) XXX_Merge(src proto.Message) { - xxx_messageInfo_FileProcessingErrors.Merge(m, src) -} -func (m *FileProcessingErrors) XXX_Size() int { - return xxx_messageInfo_FileProcessingErrors.Size(m) -} -func (m *FileProcessingErrors) XXX_DiscardUnknown() { - xxx_messageInfo_FileProcessingErrors.DiscardUnknown(m) -} - -var xxx_messageInfo_FileProcessingErrors proto.InternalMessageInfo - -func (m *FileProcessingErrors) GetFileUid() string { - if m != nil { - return m.FileUid - } - return "" -} - -func (m *FileProcessingErrors) GetFileProcessingErrors() []*FileProcessingError { - if m != nil { - return m.FileProcessingErrors - } - return nil -} - -// Stores an error reading or parsing a file during post-processing. -type FileProcessingError struct { - // The type of error that occurred. - Type FileProcessingErrorType `protobuf:"varint,1,opt,name=type,proto3,enum=google.devtools.resultstore.v2.FileProcessingErrorType" json:"type,omitempty"` - // Error message describing the problem. - 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 *FileProcessingError) Reset() { *m = FileProcessingError{} } -func (m *FileProcessingError) String() string { return proto.CompactTextString(m) } -func (*FileProcessingError) ProtoMessage() {} -func (*FileProcessingError) Descriptor() ([]byte, []int) { - return fileDescriptor_09a61cbdcc9fd6e0, []int{1} -} - -func (m *FileProcessingError) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FileProcessingError.Unmarshal(m, b) -} -func (m *FileProcessingError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FileProcessingError.Marshal(b, m, deterministic) -} -func (m *FileProcessingError) XXX_Merge(src proto.Message) { - xxx_messageInfo_FileProcessingError.Merge(m, src) -} -func (m *FileProcessingError) XXX_Size() int { - return xxx_messageInfo_FileProcessingError.Size(m) -} -func (m *FileProcessingError) XXX_DiscardUnknown() { - xxx_messageInfo_FileProcessingError.DiscardUnknown(m) -} - -var xxx_messageInfo_FileProcessingError proto.InternalMessageInfo - -func (m *FileProcessingError) GetType() FileProcessingErrorType { - if m != nil { - return m.Type - } - return FileProcessingErrorType_FILE_PROCESSING_ERROR_TYPE_UNSPECIFIED -} - -func (m *FileProcessingError) GetMessage() string { - if m != nil { - return m.Message - } - return "" -} - -func init() { - proto.RegisterEnum("google.devtools.resultstore.v2.FileProcessingErrorType", FileProcessingErrorType_name, FileProcessingErrorType_value) - proto.RegisterType((*FileProcessingErrors)(nil), "google.devtools.resultstore.v2.FileProcessingErrors") - proto.RegisterType((*FileProcessingError)(nil), "google.devtools.resultstore.v2.FileProcessingError") -} - -func init() { - proto.RegisterFile("google/devtools/resultstore/v2/file_processing_error.proto", fileDescriptor_09a61cbdcc9fd6e0) -} - -var fileDescriptor_09a61cbdcc9fd6e0 = []byte{ - // 416 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0xcd, 0x6a, 0xdb, 0x40, - 0x10, 0x80, 0xab, 0x38, 0x8d, 0x93, 0x29, 0x31, 0xca, 0xc4, 0x4d, 0xdc, 0x4b, 0x09, 0x3e, 0x94, - 0x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08, 0xbf, 0x1f, 0x34, - 0xd4, 0xf5, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x45, 0x58, 0xe8, 0x34, 0xe0, 0x02, 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 deleted file mode 100644 index d622bbc3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/file_set.pb.go +++ /dev/null @@ -1,186 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/resultstore/v2/file_set.proto - -package resultstore - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// This resource represents a set of Files and other (nested) FileSets. -// A FileSet is a node in the graph, and the file_sets field represents the -// outgoing edges. A resource may reference various nodes in the graph to -// represent the transitive closure of all files from those nodes. -// The FileSets must form a directed acyclic graph. The Upload API is unable to -// enforce that the graph is acyclic at write time, and if cycles are written, -// it may cause issues at read time. -// -// A FileSet may be referenced by other resources in conjunction with Files. A -// File is preferred for something that can only be ever referenced by one -// resource, and a FileSet is preferred if it can be reference by multiple -// resources. -type FileSet struct { - // The format of this FileSet resource name must be: - // invocations/${INVOCATION_ID}/fileSets/${url_encode(FILE_SET_ID)} - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The resource ID components that identify the file set. They must match the - // resource name after proper encoding. - Id *FileSet_Id `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // List of names of other file sets that are referenced from this one. - // Each name must point to a file set under the same invocation. The name - // format must be: invocations/${INVOCATION_ID}/fileSets/${FILE_SET_ID} - FileSets []string `protobuf:"bytes,3,rep,name=file_sets,json=fileSets,proto3" json:"file_sets,omitempty"` - // Files that are contained within this file set. - // The uid field in the file should be unique for the Invocation. - Files []*File `protobuf:"bytes,4,rep,name=files,proto3" json:"files,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ca8d86e03917a704, []int{0} -} - -func (m *FileSet) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FileSet.Unmarshal(m, b) -} -func (m *FileSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FileSet.Marshal(b, m, deterministic) -} -func (m *FileSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_FileSet.Merge(m, src) -} -func (m *FileSet) XXX_Size() int { - return xxx_messageInfo_FileSet.Size(m) -} -func (m *FileSet) XXX_DiscardUnknown() { - xxx_messageInfo_FileSet.DiscardUnknown(m) -} - -var xxx_messageInfo_FileSet proto.InternalMessageInfo - -func (m *FileSet) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *FileSet) GetId() *FileSet_Id { - if m != nil { - return m.Id - } - return nil -} - -func (m *FileSet) GetFileSets() []string { - if m != nil { - return m.FileSets - } - return nil -} - -func (m *FileSet) GetFiles() []*File { - if m != nil { - return m.Files - } - return nil -} - -// The resource ID components that identify the FileSet. -type FileSet_Id struct { - // The Invocation ID. - InvocationId string `protobuf:"bytes,1,opt,name=invocation_id,json=invocationId,proto3" json:"invocation_id,omitempty"` - // The FileSet ID. - FileSetId string `protobuf:"bytes,2,opt,name=file_set_id,json=fileSetId,proto3" json:"file_set_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ca8d86e03917a704, []int{0, 0} -} - -func (m *FileSet_Id) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FileSet_Id.Unmarshal(m, b) -} -func (m *FileSet_Id) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FileSet_Id.Marshal(b, m, deterministic) -} -func (m *FileSet_Id) XXX_Merge(src proto.Message) { - xxx_messageInfo_FileSet_Id.Merge(m, src) -} -func (m *FileSet_Id) XXX_Size() int { - return xxx_messageInfo_FileSet_Id.Size(m) -} -func (m *FileSet_Id) XXX_DiscardUnknown() { - xxx_messageInfo_FileSet_Id.DiscardUnknown(m) -} - -var xxx_messageInfo_FileSet_Id proto.InternalMessageInfo - -func (m *FileSet_Id) GetInvocationId() string { - if m != nil { - return m.InvocationId - } - return "" -} - -func (m *FileSet_Id) GetFileSetId() string { - if m != nil { - return m.FileSetId - } - return "" -} - -func init() { - proto.RegisterType((*FileSet)(nil), "google.devtools.resultstore.v2.FileSet") - proto.RegisterType((*FileSet_Id)(nil), "google.devtools.resultstore.v2.FileSet.Id") -} - -func init() { - proto.RegisterFile("google/devtools/resultstore/v2/file_set.proto", fileDescriptor_ca8d86e03917a704) -} - -var fileDescriptor_ca8d86e03917a704 = []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, - 0x5b, 0x0a, 0x5b, 0xd9, 0x18, 0x90, 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, 0x58, 0xae, 0x69, 0x7b, - 0x60, 0xf8, 0x4b, 0xf0, 0x26, 0x47, 0x42, 0x93, 0xad, 0x1b, 0xcd, 0xa9, 0xd5, 0x42, 0x63, 0xd3, - 0xef, 0x50, 0x0c, 0x4f, 0xf5, 0xce, 0xb8, 0xbf, 0x36, 0xfe, 0xb8, 0x77, 0x7c, 0x3f, 0xed, 0xbb, - 0x1e, 0xbe, 0x03, 0x00, 0x00, 0xff, 0xff, 0xc9, 0x67, 0xbb, 0x64, 0xf5, 0x01, 0x00, 0x00, -} 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 deleted file mode 100644 index d2f3f767..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/invocation.pb.go +++ /dev/null @@ -1,612 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/resultstore/v2/invocation.proto - -package resultstore - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// An Invocation typically represents the result of running a tool. Each has a -// unique ID, typically generated by the server. Target resources under each -// Invocation contain the bulk of the data. -type Invocation struct { - // The resource name. Its format must be: - // invocations/${INVOCATION_ID} - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The resource ID components that identify the Invocation. They must match - // the resource name after proper encoding. - Id *Invocation_Id `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // The aggregate status of the invocation. - StatusAttributes *StatusAttributes `protobuf:"bytes,3,opt,name=status_attributes,json=statusAttributes,proto3" json:"status_attributes,omitempty"` - // When this invocation started and its duration. - Timing *Timing `protobuf:"bytes,4,opt,name=timing,proto3" json:"timing,omitempty"` - // Attributes of this invocation. - InvocationAttributes *InvocationAttributes `protobuf:"bytes,5,opt,name=invocation_attributes,json=invocationAttributes,proto3" json:"invocation_attributes,omitempty"` - // The workspace the tool was run in. - WorkspaceInfo *WorkspaceInfo `protobuf:"bytes,6,opt,name=workspace_info,json=workspaceInfo,proto3" json:"workspace_info,omitempty"` - // Arbitrary name-value pairs. - // This is implemented as a multi-map. Multiple properties are allowed with - // the same key. Properties will be returned in lexicographical order by key. - Properties []*Property `protobuf:"bytes,7,rep,name=properties,proto3" json:"properties,omitempty"` - // A list of file references for invocation 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. - // Use this field to specify build logs, and other invocation level logs. - // - // Files with the following reserved file IDs cause specific post-processing - // or have special handling. These files must be immediately available to - // ResultStore for processing when the reference is uploaded. - // - // build.log: The primary log for the Invocation. - // coverage_report.lcov: Aggregate coverage report for the invocation. - Files []*File `protobuf:"bytes,8,rep,name=files,proto3" json:"files,omitempty"` - // Summary of aggregate coverage across all Actions in this Invocation. - // If missing, this data will be populated by the server from the - // coverage_report.lcov file or the union of all ActionCoverages under this - // invocation (in that order). - CoverageSummaries []*LanguageCoverageSummary `protobuf:"bytes,9,rep,name=coverage_summaries,json=coverageSummaries,proto3" json:"coverage_summaries,omitempty"` - // Aggregate code coverage for all build and test Actions within this - // Invocation. If missing, this data will be populated by the server - // from the coverage_report.lcov file or the union of all ActionCoverages - // under this invocation (in that order). - AggregateCoverage *AggregateCoverage `protobuf:"bytes,10,opt,name=aggregate_coverage,json=aggregateCoverage,proto3" json:"aggregate_coverage,omitempty"` - // NOT IMPLEMENTED. - // 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. - // Typically produced when parsing Files, but may also be provided directly - // by clients. - FileProcessingErrors []*FileProcessingErrors `protobuf:"bytes,11,rep,name=file_processing_errors,json=fileProcessingErrors,proto3" json:"file_processing_errors,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9a57b6cf1112b76d, []int{0} -} - -func (m *Invocation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Invocation.Unmarshal(m, b) -} -func (m *Invocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Invocation.Marshal(b, m, deterministic) -} -func (m *Invocation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Invocation.Merge(m, src) -} -func (m *Invocation) XXX_Size() int { - return xxx_messageInfo_Invocation.Size(m) -} -func (m *Invocation) XXX_DiscardUnknown() { - xxx_messageInfo_Invocation.DiscardUnknown(m) -} - -var xxx_messageInfo_Invocation proto.InternalMessageInfo - -func (m *Invocation) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Invocation) GetId() *Invocation_Id { - if m != nil { - return m.Id - } - return nil -} - -func (m *Invocation) GetStatusAttributes() *StatusAttributes { - if m != nil { - return m.StatusAttributes - } - return nil -} - -func (m *Invocation) GetTiming() *Timing { - if m != nil { - return m.Timing - } - return nil -} - -func (m *Invocation) GetInvocationAttributes() *InvocationAttributes { - if m != nil { - return m.InvocationAttributes - } - return nil -} - -func (m *Invocation) GetWorkspaceInfo() *WorkspaceInfo { - if m != nil { - return m.WorkspaceInfo - } - return nil -} - -func (m *Invocation) GetProperties() []*Property { - if m != nil { - return m.Properties - } - return nil -} - -func (m *Invocation) GetFiles() []*File { - if m != nil { - return m.Files - } - return nil -} - -func (m *Invocation) GetCoverageSummaries() []*LanguageCoverageSummary { - if m != nil { - return m.CoverageSummaries - } - return nil -} - -func (m *Invocation) GetAggregateCoverage() *AggregateCoverage { - if m != nil { - return m.AggregateCoverage - } - return nil -} - -func (m *Invocation) GetFileProcessingErrors() []*FileProcessingErrors { - if m != nil { - return m.FileProcessingErrors - } - return nil -} - -// The resource ID components that identify the Invocation. -type Invocation_Id struct { - // The Invocation ID. - InvocationId string `protobuf:"bytes,1,opt,name=invocation_id,json=invocationId,proto3" json:"invocation_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9a57b6cf1112b76d, []int{0, 0} -} - -func (m *Invocation_Id) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Invocation_Id.Unmarshal(m, b) -} -func (m *Invocation_Id) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Invocation_Id.Marshal(b, m, deterministic) -} -func (m *Invocation_Id) XXX_Merge(src proto.Message) { - xxx_messageInfo_Invocation_Id.Merge(m, src) -} -func (m *Invocation_Id) XXX_Size() int { - return xxx_messageInfo_Invocation_Id.Size(m) -} -func (m *Invocation_Id) XXX_DiscardUnknown() { - xxx_messageInfo_Invocation_Id.DiscardUnknown(m) -} - -var xxx_messageInfo_Invocation_Id proto.InternalMessageInfo - -func (m *Invocation_Id) GetInvocationId() string { - if m != nil { - return m.InvocationId - } - return "" -} - -// If known, represents the state of the user/build-system workspace. -type WorkspaceContext struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9a57b6cf1112b76d, []int{1} -} - -func (m *WorkspaceContext) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkspaceContext.Unmarshal(m, b) -} -func (m *WorkspaceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkspaceContext.Marshal(b, m, deterministic) -} -func (m *WorkspaceContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkspaceContext.Merge(m, src) -} -func (m *WorkspaceContext) XXX_Size() int { - return xxx_messageInfo_WorkspaceContext.Size(m) -} -func (m *WorkspaceContext) XXX_DiscardUnknown() { - xxx_messageInfo_WorkspaceContext.DiscardUnknown(m) -} - -var xxx_messageInfo_WorkspaceContext proto.InternalMessageInfo - -// Describes the workspace under which the tool was invoked, this includes -// information that was fed into the command, the source code referenced, and -// the tool itself. -type WorkspaceInfo struct { - // Data about the workspace that might be useful for debugging. - WorkspaceContext *WorkspaceContext `protobuf:"bytes,1,opt,name=workspace_context,json=workspaceContext,proto3" json:"workspace_context,omitempty"` - // Where the tool was invoked - Hostname string `protobuf:"bytes,3,opt,name=hostname,proto3" json:"hostname,omitempty"` - // The client's working directory where the build/test was run from. - WorkingDirectory string `protobuf:"bytes,4,opt,name=working_directory,json=workingDirectory,proto3" json:"working_directory,omitempty"` - // Tools should set tool_tag to the name of the tool or use case. - ToolTag string `protobuf:"bytes,5,opt,name=tool_tag,json=toolTag,proto3" json:"tool_tag,omitempty"` - // The command lines invoked. The first command line is the one typed by the - // user, then each one after that should be an expansion of the previous - // command line. - CommandLines []*CommandLine `protobuf:"bytes,7,rep,name=command_lines,json=commandLines,proto3" json:"command_lines,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9a57b6cf1112b76d, []int{2} -} - -func (m *WorkspaceInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WorkspaceInfo.Unmarshal(m, b) -} -func (m *WorkspaceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WorkspaceInfo.Marshal(b, m, deterministic) -} -func (m *WorkspaceInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkspaceInfo.Merge(m, src) -} -func (m *WorkspaceInfo) XXX_Size() int { - return xxx_messageInfo_WorkspaceInfo.Size(m) -} -func (m *WorkspaceInfo) XXX_DiscardUnknown() { - xxx_messageInfo_WorkspaceInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_WorkspaceInfo proto.InternalMessageInfo - -func (m *WorkspaceInfo) GetWorkspaceContext() *WorkspaceContext { - if m != nil { - return m.WorkspaceContext - } - return nil -} - -func (m *WorkspaceInfo) GetHostname() string { - if m != nil { - return m.Hostname - } - return "" -} - -func (m *WorkspaceInfo) GetWorkingDirectory() string { - if m != nil { - return m.WorkingDirectory - } - return "" -} - -func (m *WorkspaceInfo) GetToolTag() string { - if m != nil { - return m.ToolTag - } - return "" -} - -func (m *WorkspaceInfo) GetCommandLines() []*CommandLine { - if m != nil { - return m.CommandLines - } - return nil -} - -// The command and arguments that produced this Invocation. -type CommandLine struct { - // A label describing this command line. - Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` - // The command-line tool that is run: argv[0]. - Tool string `protobuf:"bytes,2,opt,name=tool,proto3" json:"tool,omitempty"` - // The arguments to the above tool: argv[1]...argv[N]. - Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` - // The actual command that was run with the tool. (e.g. "build", or "test") - // Omit if the tool doesn't accept a command. - // This is a duplicate of one of the fields in args. - Command string `protobuf:"bytes,4,opt,name=command,proto3" json:"command,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9a57b6cf1112b76d, []int{3} -} - -func (m *CommandLine) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommandLine.Unmarshal(m, b) -} -func (m *CommandLine) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommandLine.Marshal(b, m, deterministic) -} -func (m *CommandLine) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommandLine.Merge(m, src) -} -func (m *CommandLine) XXX_Size() int { - return xxx_messageInfo_CommandLine.Size(m) -} -func (m *CommandLine) XXX_DiscardUnknown() { - xxx_messageInfo_CommandLine.DiscardUnknown(m) -} - -var xxx_messageInfo_CommandLine proto.InternalMessageInfo - -func (m *CommandLine) GetLabel() string { - if m != nil { - return m.Label - } - return "" -} - -func (m *CommandLine) GetTool() string { - if m != nil { - return m.Tool - } - return "" -} - -func (m *CommandLine) GetArgs() []string { - if m != nil { - return m.Args - } - return nil -} - -func (m *CommandLine) GetCommand() string { - if m != nil { - return m.Command - } - return "" -} - -// Attributes that apply to all invocations. -type InvocationAttributes struct { - // Immutable. - // The Cloud Project that owns this invocation (this is different than the - // Consumer Cloud Project that calls this API). - // This must be set in the CreateInvocation call, and can't be changed. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The list of users in the command chain. The first user in this sequence - // is the one who instigated the first command in the chain. - Users []string `protobuf:"bytes,2,rep,name=users,proto3" json:"users,omitempty"` - // Labels to categorize this invocation. - // This is implemented as a set. All labels will be unique. Any duplicate - // labels added will be ignored. Labels will be returned in lexicographical - // order. Labels should be a list of words describing the Invocation. Labels - // should be short, easy to read, and you shouldn't have more than a handful. - // 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"` - // 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_9a57b6cf1112b76d, []int{4} -} - -func (m *InvocationAttributes) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InvocationAttributes.Unmarshal(m, b) -} -func (m *InvocationAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InvocationAttributes.Marshal(b, m, deterministic) -} -func (m *InvocationAttributes) XXX_Merge(src proto.Message) { - xxx_messageInfo_InvocationAttributes.Merge(m, src) -} -func (m *InvocationAttributes) XXX_Size() int { - return xxx_messageInfo_InvocationAttributes.Size(m) -} -func (m *InvocationAttributes) XXX_DiscardUnknown() { - xxx_messageInfo_InvocationAttributes.DiscardUnknown(m) -} - -var xxx_messageInfo_InvocationAttributes proto.InternalMessageInfo - -func (m *InvocationAttributes) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *InvocationAttributes) GetUsers() []string { - if m != nil { - return m.Users - } - return nil -} - -func (m *InvocationAttributes) GetLabels() []string { - if m != nil { - return m.Labels - } - 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_9a57b6cf1112b76d, []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 (m *InvocationContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_InvocationContext.Merge(m, 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") - proto.RegisterType((*WorkspaceContext)(nil), "google.devtools.resultstore.v2.WorkspaceContext") - 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_9a57b6cf1112b76d) -} - -var fileDescriptor_9a57b6cf1112b76d = []byte{ - // 773 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x56, 0x71, 0x6b, 0x1a, 0x49, - 0x14, 0x47, 0x4d, 0x34, 0x3e, 0xe3, 0xa1, 0x73, 0x5e, 0xd8, 0x13, 0xee, 0xf0, 0xbc, 0xe3, 0x30, - 0x84, 0xac, 0x8d, 0x4d, 0x29, 0xa4, 0xb4, 0x90, 0xa6, 0x2d, 0x11, 0x42, 0x91, 0x4d, 0xa0, 0x50, - 0x28, 0xdb, 0x71, 0x77, 0x9c, 0x4e, 0xba, 0xee, 0x6c, 0x67, 0x46, 0x53, 0xbf, 0x4f, 0xe9, 0x77, - 0xeb, 0xb7, 0x28, 0x33, 0xbb, 0xab, 0x1b, 0x6b, 0xbb, 0xfe, 0x37, 0xef, 0xb7, 0xef, 0xf7, 0x7b, - 0x6f, 0x9e, 0xef, 0xbd, 0x11, 0xfa, 0x94, 0x73, 0x1a, 0x90, 0xbe, 0x4f, 0xe6, 0x8a, 0xf3, 0x40, - 0xf6, 0x05, 0x91, 0xb3, 0x40, 0x49, 0xc5, 0x05, 0xe9, 0xcf, 0x07, 0x7d, 0x16, 0xce, 0xb9, 0x87, - 0x15, 0xe3, 0xa1, 0x1d, 0x09, 0xae, 0x38, 0xfa, 0x3b, 0x26, 0xd8, 0x29, 0xc1, 0xce, 0x10, 0xec, - 0xf9, 0xa0, 0x7d, 0x94, 0x23, 0xe8, 0xf1, 0xe9, 0x34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, 0x32, 0x2b, 0xa2, 0x64, 0x92, 0x5c, 0xda, 0xe8, 0x28, 0x0e, - 0xad, 0xeb, 0xe5, 0x33, 0x41, 0x3c, 0xc5, 0xc5, 0xc2, 0xcc, 0x64, 0x35, 0x16, 0x62, 0x21, 0x7d, - 0x91, 0xe2, 0xe8, 0x4f, 0xd8, 0xd3, 0x39, 0xb8, 0x0a, 0x53, 0x33, 0x68, 0x55, 0xa7, 0xa2, 0xed, - 0x1b, 0x4c, 0xd1, 0x08, 0xea, 0x7a, 0xdd, 0xe2, 0xd0, 0x77, 0x03, 0x16, 0x2e, 0x5b, 0xfa, 0x28, - 0x2f, 0xfd, 0x8b, 0x98, 0x74, 0xc5, 0x42, 0xe2, 0xec, 0x7b, 0x2b, 0x43, 0x76, 0x09, 0xd4, 0x32, - 0x1f, 0x51, 0x0b, 0x76, 0x03, 0x3c, 0x26, 0x41, 0x52, 0xe6, 0xd8, 0xd0, 0x9b, 0x4f, 0xcb, 0x9a, - 0x3d, 0x57, 0x75, 0xcc, 0x59, 0x63, 0x58, 0x50, 0xbd, 0xad, 0x4a, 0x1a, 0xd3, 0x67, 0x64, 0x41, - 0x25, 0x11, 0x4f, 0x2e, 0x97, 0x9a, 0xdd, 0x6f, 0x05, 0x68, 0x6d, 0xda, 0x06, 0xe8, 0x2f, 0x33, - 0xa1, 0xb7, 0xc4, 0x53, 0xab, 0x1f, 0xb7, 0x9a, 0x20, 0x43, 0x5f, 0xe7, 0x33, 0x93, 0x44, 0x48, - 0xab, 0x68, 0xc2, 0xc4, 0x06, 0x3a, 0x80, 0xb2, 0x49, 0x2c, 0x8d, 0x9e, 0x58, 0xa8, 0x03, 0x35, - 0x9f, 0x48, 0x4f, 0xb0, 0x48, 0x47, 0x49, 0x72, 0xc8, 0x42, 0x68, 0x0c, 0xbf, 0x67, 0xda, 0x29, - 0x69, 0x02, 0x69, 0x95, 0x4d, 0x19, 0x4f, 0xb6, 0xdf, 0x67, 0x69, 0x1b, 0x20, 0xb6, 0x0e, 0xc9, - 0xee, 0x25, 0x34, 0x7f, 0x70, 0x44, 0xff, 0xc0, 0xbe, 0xcf, 0x64, 0x14, 0xe0, 0x85, 0x9b, 0x79, - 0x44, 0x6a, 0x09, 0xf6, 0x5a, 0x37, 0x49, 0x03, 0x4a, 0x33, 0x91, 0x16, 0x59, 0x1f, 0x9f, 0x7f, - 0x82, 0xae, 0xc7, 0xa7, 0x39, 0x59, 0x8d, 0x0a, 0x6f, 0x87, 0x89, 0x07, 0xe5, 0x01, 0x0e, 0xa9, - 0xcd, 0x05, 0xed, 0x53, 0x12, 0x9a, 0x47, 0x2c, 0xf9, 0x3b, 0x80, 0x23, 0x26, 0x7f, 0xf6, 0x06, - 0x3e, 0xc9, 0x98, 0xe3, 0xb2, 0x61, 0x3d, 0xfc, 0x1e, 0x00, 0x00, 0xff, 0xff, 0x10, 0xbe, 0x01, - 0x00, 0x47, 0x08, 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 deleted file mode 100644 index 15f9c1ca..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/resultstore_download.pb.go +++ /dev/null @@ -1,2387 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/resultstore/v2/resultstore_download.proto - -package resultstore - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request passed into GetInvocation -type GetInvocationRequest struct { - // The name of the invocation to retrieve. It must match this format: - // invocations/${INVOCATION_ID} - // where INVOCATION_ID must be an RFC 4122-compliant random UUID. - 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 *GetInvocationRequest) Reset() { *m = GetInvocationRequest{} } -func (m *GetInvocationRequest) String() string { return proto.CompactTextString(m) } -func (*GetInvocationRequest) ProtoMessage() {} -func (*GetInvocationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_466641838cdba1d1, []int{0} -} - -func (m *GetInvocationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetInvocationRequest.Unmarshal(m, b) -} -func (m *GetInvocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetInvocationRequest.Marshal(b, m, deterministic) -} -func (m *GetInvocationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetInvocationRequest.Merge(m, src) -} -func (m *GetInvocationRequest) XXX_Size() int { - return xxx_messageInfo_GetInvocationRequest.Size(m) -} -func (m *GetInvocationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetInvocationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetInvocationRequest proto.InternalMessageInfo - -func (m *GetInvocationRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request passed into SearchInvocations -type SearchInvocationsRequest struct { - // The maximum number of items to return. Zero means all, but may be capped by - // the server. - PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Options for pagination. - // - // Types that are valid to be assigned to PageStart: - // *SearchInvocationsRequest_PageToken - // *SearchInvocationsRequest_Offset - PageStart isSearchInvocationsRequest_PageStart `protobuf_oneof:"page_start"` - // A filtering query string. - // - // Only a limited number of fields and operators are supported. Not every - // field supports every operator. - // - // Fields that support equals ("=") restrictions: - // - // name - // status_attributes.status - // workspace_info.hostname - // - // Fields that support contains (":") restrictions: - // - // invocation_attributes.users - // invocation_attributes.labels - // - // Fields that support comparison ("<", "<=", ">", ">=") restrictions; - // - // timing.start_time - Query string `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` - // The project id to search under. - ProjectId string `protobuf:"bytes,5,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // If true, all equals or contains restrictions on string fields in query will - // require exact match. Otherwise, a string field restriction may ignore case - // and punctuation. - ExactMatch bool `protobuf:"varint,7,opt,name=exact_match,json=exactMatch,proto3" json:"exact_match,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SearchInvocationsRequest) Reset() { *m = SearchInvocationsRequest{} } -func (m *SearchInvocationsRequest) String() string { return proto.CompactTextString(m) } -func (*SearchInvocationsRequest) ProtoMessage() {} -func (*SearchInvocationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_466641838cdba1d1, []int{1} -} - -func (m *SearchInvocationsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchInvocationsRequest.Unmarshal(m, b) -} -func (m *SearchInvocationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchInvocationsRequest.Marshal(b, m, deterministic) -} -func (m *SearchInvocationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchInvocationsRequest.Merge(m, src) -} -func (m *SearchInvocationsRequest) XXX_Size() int { - return xxx_messageInfo_SearchInvocationsRequest.Size(m) -} -func (m *SearchInvocationsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SearchInvocationsRequest.DiscardUnknown(m) -} - -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() -} - -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 (m *SearchInvocationsRequest) GetPageStart() isSearchInvocationsRequest_PageStart { - if m != nil { - return m.PageStart - } - return nil -} - -func (m *SearchInvocationsRequest) GetPageToken() string { - if x, ok := m.GetPageStart().(*SearchInvocationsRequest_PageToken); ok { - return x.PageToken - } - return "" -} - -func (m *SearchInvocationsRequest) GetOffset() int64 { - if x, ok := m.GetPageStart().(*SearchInvocationsRequest_Offset); ok { - return x.Offset - } - return 0 -} - -func (m *SearchInvocationsRequest) GetQuery() string { - if m != nil { - return m.Query - } - return "" -} - -func (m *SearchInvocationsRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *SearchInvocationsRequest) GetExactMatch() bool { - if m != nil { - return m.ExactMatch - } - return false -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*SearchInvocationsRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*SearchInvocationsRequest_PageToken)(nil), - (*SearchInvocationsRequest_Offset)(nil), - } -} - -// Response from calling SearchInvocations -type SearchInvocationsResponse struct { - // Invocations matching the search, possibly capped at request.page_size or a - // server limit. - Invocations []*Invocation `protobuf:"bytes,1,rep,name=invocations,proto3" json:"invocations,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 *SearchInvocationsResponse) Reset() { *m = SearchInvocationsResponse{} } -func (m *SearchInvocationsResponse) String() string { return proto.CompactTextString(m) } -func (*SearchInvocationsResponse) ProtoMessage() {} -func (*SearchInvocationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_466641838cdba1d1, []int{2} -} - -func (m *SearchInvocationsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchInvocationsResponse.Unmarshal(m, b) -} -func (m *SearchInvocationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchInvocationsResponse.Marshal(b, m, deterministic) -} -func (m *SearchInvocationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchInvocationsResponse.Merge(m, src) -} -func (m *SearchInvocationsResponse) XXX_Size() int { - return xxx_messageInfo_SearchInvocationsResponse.Size(m) -} -func (m *SearchInvocationsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SearchInvocationsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchInvocationsResponse proto.InternalMessageInfo - -func (m *SearchInvocationsResponse) GetInvocations() []*Invocation { - if m != nil { - return m.Invocations - } - return nil -} - -func (m *SearchInvocationsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request passed into GetInvocationDownloadMetadata -type GetInvocationDownloadMetadataRequest struct { - // The name of the download metadata to retrieve. It must match this format: - // invocations/${INVOCATION_ID}/downloadMetadata - // where INVOCATION_ID must be an RFC 4122-compliant random UUID. - 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 *GetInvocationDownloadMetadataRequest) Reset() { *m = GetInvocationDownloadMetadataRequest{} } -func (m *GetInvocationDownloadMetadataRequest) String() string { return proto.CompactTextString(m) } -func (*GetInvocationDownloadMetadataRequest) ProtoMessage() {} -func (*GetInvocationDownloadMetadataRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_466641838cdba1d1, []int{3} -} - -func (m *GetInvocationDownloadMetadataRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetInvocationDownloadMetadataRequest.Unmarshal(m, b) -} -func (m *GetInvocationDownloadMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetInvocationDownloadMetadataRequest.Marshal(b, m, deterministic) -} -func (m *GetInvocationDownloadMetadataRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetInvocationDownloadMetadataRequest.Merge(m, src) -} -func (m *GetInvocationDownloadMetadataRequest) XXX_Size() int { - return xxx_messageInfo_GetInvocationDownloadMetadataRequest.Size(m) -} -func (m *GetInvocationDownloadMetadataRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetInvocationDownloadMetadataRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetInvocationDownloadMetadataRequest proto.InternalMessageInfo - -func (m *GetInvocationDownloadMetadataRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request passed into GetConfiguration -type GetConfigurationRequest struct { - // The name of the configuration to retrieve. It must match this format: - // invocations/${INVOCATION_ID}/configs/${url_encode(CONFIGURATION_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 *GetConfigurationRequest) Reset() { *m = GetConfigurationRequest{} } -func (m *GetConfigurationRequest) String() string { return proto.CompactTextString(m) } -func (*GetConfigurationRequest) ProtoMessage() {} -func (*GetConfigurationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_466641838cdba1d1, []int{4} -} - -func (m *GetConfigurationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetConfigurationRequest.Unmarshal(m, b) -} -func (m *GetConfigurationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetConfigurationRequest.Marshal(b, m, deterministic) -} -func (m *GetConfigurationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetConfigurationRequest.Merge(m, src) -} -func (m *GetConfigurationRequest) XXX_Size() int { - return xxx_messageInfo_GetConfigurationRequest.Size(m) -} -func (m *GetConfigurationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetConfigurationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetConfigurationRequest proto.InternalMessageInfo - -func (m *GetConfigurationRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request passed into ListConfigurations -type ListConfigurationsRequest struct { - // The invocation name of the configurations to retrieve. - // It must match this format: invocations/${INVOCATION_ID} - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The maximum number of items to return. - // Zero means all, but may be capped by the server. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Options for pagination. - // - // Types that are valid to be assigned to PageStart: - // *ListConfigurationsRequest_PageToken - // *ListConfigurationsRequest_Offset - PageStart isListConfigurationsRequest_PageStart `protobuf_oneof:"page_start"` - // A filter to return only resources that match it. - // Any fields used in the filter must be also specified in the field mask. - // May cause pages with 0 results and a next_page_token to be returned. - Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListConfigurationsRequest) Reset() { *m = ListConfigurationsRequest{} } -func (m *ListConfigurationsRequest) String() string { return proto.CompactTextString(m) } -func (*ListConfigurationsRequest) ProtoMessage() {} -func (*ListConfigurationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_466641838cdba1d1, []int{5} -} - -func (m *ListConfigurationsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListConfigurationsRequest.Unmarshal(m, b) -} -func (m *ListConfigurationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListConfigurationsRequest.Marshal(b, m, deterministic) -} -func (m *ListConfigurationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListConfigurationsRequest.Merge(m, src) -} -func (m *ListConfigurationsRequest) XXX_Size() int { - return xxx_messageInfo_ListConfigurationsRequest.Size(m) -} -func (m *ListConfigurationsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListConfigurationsRequest.DiscardUnknown(m) -} - -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() -} - -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 (m *ListConfigurationsRequest) GetPageStart() isListConfigurationsRequest_PageStart { - if m != nil { - return m.PageStart - } - return nil -} - -func (m *ListConfigurationsRequest) GetPageToken() string { - if x, ok := m.GetPageStart().(*ListConfigurationsRequest_PageToken); ok { - return x.PageToken - } - return "" -} - -func (m *ListConfigurationsRequest) GetOffset() int64 { - if x, ok := m.GetPageStart().(*ListConfigurationsRequest_Offset); ok { - return x.Offset - } - return 0 -} - -func (m *ListConfigurationsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ListConfigurationsRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ListConfigurationsRequest_PageToken)(nil), - (*ListConfigurationsRequest_Offset)(nil), - } -} - -// Response from calling ListConfigurations -type ListConfigurationsResponse struct { - // Configurations matching the request invocation, - // possibly capped at request.page_size or a server limit. - Configurations []*Configuration `protobuf:"bytes,1,rep,name=configurations,proto3" json:"configurations,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 *ListConfigurationsResponse) Reset() { *m = ListConfigurationsResponse{} } -func (m *ListConfigurationsResponse) String() string { return proto.CompactTextString(m) } -func (*ListConfigurationsResponse) ProtoMessage() {} -func (*ListConfigurationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_466641838cdba1d1, []int{6} -} - -func (m *ListConfigurationsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListConfigurationsResponse.Unmarshal(m, b) -} -func (m *ListConfigurationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListConfigurationsResponse.Marshal(b, m, deterministic) -} -func (m *ListConfigurationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListConfigurationsResponse.Merge(m, src) -} -func (m *ListConfigurationsResponse) XXX_Size() int { - return xxx_messageInfo_ListConfigurationsResponse.Size(m) -} -func (m *ListConfigurationsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListConfigurationsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListConfigurationsResponse proto.InternalMessageInfo - -func (m *ListConfigurationsResponse) GetConfigurations() []*Configuration { - if m != nil { - return m.Configurations - } - return nil -} - -func (m *ListConfigurationsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request passed into GetTarget -type GetTargetRequest struct { - // The name of the target to retrieve. It must match this format: - // invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_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 *GetTargetRequest) Reset() { *m = GetTargetRequest{} } -func (m *GetTargetRequest) String() string { return proto.CompactTextString(m) } -func (*GetTargetRequest) ProtoMessage() {} -func (*GetTargetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_466641838cdba1d1, []int{7} -} - -func (m *GetTargetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTargetRequest.Unmarshal(m, b) -} -func (m *GetTargetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTargetRequest.Marshal(b, m, deterministic) -} -func (m *GetTargetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTargetRequest.Merge(m, src) -} -func (m *GetTargetRequest) XXX_Size() int { - return xxx_messageInfo_GetTargetRequest.Size(m) -} -func (m *GetTargetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTargetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetTargetRequest proto.InternalMessageInfo - -func (m *GetTargetRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request passed into ListTargets -type ListTargetsRequest struct { - // The invocation name of the targets to retrieve. It must match this format: - // invocations/${INVOCATION_ID} - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The maximum number of items to return. - // Zero means all, but may be capped by the server. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Options for pagination. - // - // Types that are valid to be assigned to PageStart: - // *ListTargetsRequest_PageToken - // *ListTargetsRequest_Offset - PageStart isListTargetsRequest_PageStart `protobuf_oneof:"page_start"` - // A filter to return only resources that match it. - // Any fields used in the filter must be also specified in the field mask. - // May cause pages with 0 results and a next_page_token to be returned. - Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_466641838cdba1d1, []int{8} -} - -func (m *ListTargetsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTargetsRequest.Unmarshal(m, b) -} -func (m *ListTargetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTargetsRequest.Marshal(b, m, deterministic) -} -func (m *ListTargetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTargetsRequest.Merge(m, src) -} -func (m *ListTargetsRequest) XXX_Size() int { - return xxx_messageInfo_ListTargetsRequest.Size(m) -} -func (m *ListTargetsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListTargetsRequest.DiscardUnknown(m) -} - -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() -} - -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 (m *ListTargetsRequest) GetPageStart() isListTargetsRequest_PageStart { - if m != nil { - return m.PageStart - } - return nil -} - -func (m *ListTargetsRequest) GetPageToken() string { - if x, ok := m.GetPageStart().(*ListTargetsRequest_PageToken); ok { - return x.PageToken - } - return "" -} - -func (m *ListTargetsRequest) GetOffset() int64 { - if x, ok := m.GetPageStart().(*ListTargetsRequest_Offset); ok { - return x.Offset - } - return 0 -} - -func (m *ListTargetsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ListTargetsRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ListTargetsRequest_PageToken)(nil), - (*ListTargetsRequest_Offset)(nil), - } -} - -// Response from calling ListTargetsResponse -type ListTargetsResponse struct { - // Targets matching the request invocation, - // possibly capped at request.page_size or a server limit. - Targets []*Target `protobuf:"bytes,1,rep,name=targets,proto3" json:"targets,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 *ListTargetsResponse) Reset() { *m = ListTargetsResponse{} } -func (m *ListTargetsResponse) String() string { return proto.CompactTextString(m) } -func (*ListTargetsResponse) ProtoMessage() {} -func (*ListTargetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_466641838cdba1d1, []int{9} -} - -func (m *ListTargetsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTargetsResponse.Unmarshal(m, b) -} -func (m *ListTargetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTargetsResponse.Marshal(b, m, deterministic) -} -func (m *ListTargetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTargetsResponse.Merge(m, src) -} -func (m *ListTargetsResponse) XXX_Size() int { - return xxx_messageInfo_ListTargetsResponse.Size(m) -} -func (m *ListTargetsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListTargetsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTargetsResponse proto.InternalMessageInfo - -func (m *ListTargetsResponse) GetTargets() []*Target { - if m != nil { - return m.Targets - } - return nil -} - -func (m *ListTargetsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request passed into GetConfiguredTarget -type GetConfiguredTargetRequest struct { - // The name of the configured target to retrieve. It must match this format: - // invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)}/configuredTargets/${url_encode(CONFIGURATION_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 *GetConfiguredTargetRequest) Reset() { *m = GetConfiguredTargetRequest{} } -func (m *GetConfiguredTargetRequest) String() string { return proto.CompactTextString(m) } -func (*GetConfiguredTargetRequest) ProtoMessage() {} -func (*GetConfiguredTargetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_466641838cdba1d1, []int{10} -} - -func (m *GetConfiguredTargetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetConfiguredTargetRequest.Unmarshal(m, b) -} -func (m *GetConfiguredTargetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetConfiguredTargetRequest.Marshal(b, m, deterministic) -} -func (m *GetConfiguredTargetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetConfiguredTargetRequest.Merge(m, src) -} -func (m *GetConfiguredTargetRequest) XXX_Size() int { - return xxx_messageInfo_GetConfiguredTargetRequest.Size(m) -} -func (m *GetConfiguredTargetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetConfiguredTargetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetConfiguredTargetRequest proto.InternalMessageInfo - -func (m *GetConfiguredTargetRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request passed into ListConfiguredTargets -type ListConfiguredTargetsRequest struct { - // The invocation and target name of the configured targets to retrieve. - // It must match this format: - // invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)} - // Supports '-' for ${TARGET_ID} meaning all targets. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The maximum number of items to return. - // Zero means all, but may be capped by the server. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Options for pagination. - // - // Types that are valid to be assigned to PageStart: - // *ListConfiguredTargetsRequest_PageToken - // *ListConfiguredTargetsRequest_Offset - PageStart isListConfiguredTargetsRequest_PageStart `protobuf_oneof:"page_start"` - // A filter to return only resources that match it. - // Any fields used in the filter must be also specified in the field mask. - // May cause pages with 0 results and a next_page_token to be returned. - Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListConfiguredTargetsRequest) Reset() { *m = ListConfiguredTargetsRequest{} } -func (m *ListConfiguredTargetsRequest) String() string { return proto.CompactTextString(m) } -func (*ListConfiguredTargetsRequest) ProtoMessage() {} -func (*ListConfiguredTargetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_466641838cdba1d1, []int{11} -} - -func (m *ListConfiguredTargetsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListConfiguredTargetsRequest.Unmarshal(m, b) -} -func (m *ListConfiguredTargetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListConfiguredTargetsRequest.Marshal(b, m, deterministic) -} -func (m *ListConfiguredTargetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListConfiguredTargetsRequest.Merge(m, src) -} -func (m *ListConfiguredTargetsRequest) XXX_Size() int { - return xxx_messageInfo_ListConfiguredTargetsRequest.Size(m) -} -func (m *ListConfiguredTargetsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListConfiguredTargetsRequest.DiscardUnknown(m) -} - -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() -} - -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 (m *ListConfiguredTargetsRequest) GetPageStart() isListConfiguredTargetsRequest_PageStart { - if m != nil { - return m.PageStart - } - return nil -} - -func (m *ListConfiguredTargetsRequest) GetPageToken() string { - if x, ok := m.GetPageStart().(*ListConfiguredTargetsRequest_PageToken); ok { - return x.PageToken - } - return "" -} - -func (m *ListConfiguredTargetsRequest) GetOffset() int64 { - if x, ok := m.GetPageStart().(*ListConfiguredTargetsRequest_Offset); ok { - return x.Offset - } - return 0 -} - -func (m *ListConfiguredTargetsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ListConfiguredTargetsRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ListConfiguredTargetsRequest_PageToken)(nil), - (*ListConfiguredTargetsRequest_Offset)(nil), - } -} - -// Response from calling ListConfiguredTargets -type ListConfiguredTargetsResponse struct { - // ConfiguredTargets matching the request, - // possibly capped at request.page_size or a server limit. - ConfiguredTargets []*ConfiguredTarget `protobuf:"bytes,1,rep,name=configured_targets,json=configuredTargets,proto3" json:"configured_targets,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 *ListConfiguredTargetsResponse) Reset() { *m = ListConfiguredTargetsResponse{} } -func (m *ListConfiguredTargetsResponse) String() string { return proto.CompactTextString(m) } -func (*ListConfiguredTargetsResponse) ProtoMessage() {} -func (*ListConfiguredTargetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_466641838cdba1d1, []int{12} -} - -func (m *ListConfiguredTargetsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListConfiguredTargetsResponse.Unmarshal(m, b) -} -func (m *ListConfiguredTargetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListConfiguredTargetsResponse.Marshal(b, m, deterministic) -} -func (m *ListConfiguredTargetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListConfiguredTargetsResponse.Merge(m, src) -} -func (m *ListConfiguredTargetsResponse) XXX_Size() int { - return xxx_messageInfo_ListConfiguredTargetsResponse.Size(m) -} -func (m *ListConfiguredTargetsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListConfiguredTargetsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListConfiguredTargetsResponse proto.InternalMessageInfo - -func (m *ListConfiguredTargetsResponse) GetConfiguredTargets() []*ConfiguredTarget { - if m != nil { - return m.ConfiguredTargets - } - return nil -} - -func (m *ListConfiguredTargetsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request passed into GetAction -type GetActionRequest struct { - // The name of the action to retrieve. It must match this format: - // invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)}/configuredTargets/${url_encode(CONFIGURATION_ID)}/actions/${url_encode(ACTION_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 *GetActionRequest) Reset() { *m = GetActionRequest{} } -func (m *GetActionRequest) String() string { return proto.CompactTextString(m) } -func (*GetActionRequest) ProtoMessage() {} -func (*GetActionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_466641838cdba1d1, []int{13} -} - -func (m *GetActionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetActionRequest.Unmarshal(m, b) -} -func (m *GetActionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetActionRequest.Marshal(b, m, deterministic) -} -func (m *GetActionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetActionRequest.Merge(m, src) -} -func (m *GetActionRequest) XXX_Size() int { - return xxx_messageInfo_GetActionRequest.Size(m) -} -func (m *GetActionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetActionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetActionRequest proto.InternalMessageInfo - -func (m *GetActionRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request passed into ListActions -type ListActionsRequest struct { - // The invocation, target, and configuration name of the action to retrieve. - // It must match this format: - // invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)}/configuredTargets/${url_encode(CONFIGURATION_ID)} - // Supports '-' for ${CONFIGURATION_ID} to mean all Actions for all - // Configurations for a Target, or '-' for ${TARGET_ID} and - // ${CONFIGURATION_ID} to mean all Actions for all Configurations and all - // Targets. Does not support ${TARGET_ID} '-' with a specified configuration. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The maximum number of items to return. - // Zero means all, but may be capped by the server. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Options for pagination. - // - // Types that are valid to be assigned to PageStart: - // *ListActionsRequest_PageToken - // *ListActionsRequest_Offset - PageStart isListActionsRequest_PageStart `protobuf_oneof:"page_start"` - // A filter to return only resources that match it. - // Any fields used in the filter must be also specified in the field mask. - // May cause pages with 0 results and a next_page_token to be returned. - Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_466641838cdba1d1, []int{14} -} - -func (m *ListActionsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListActionsRequest.Unmarshal(m, b) -} -func (m *ListActionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListActionsRequest.Marshal(b, m, deterministic) -} -func (m *ListActionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListActionsRequest.Merge(m, src) -} -func (m *ListActionsRequest) XXX_Size() int { - return xxx_messageInfo_ListActionsRequest.Size(m) -} -func (m *ListActionsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListActionsRequest.DiscardUnknown(m) -} - -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() -} - -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 (m *ListActionsRequest) GetPageStart() isListActionsRequest_PageStart { - if m != nil { - return m.PageStart - } - return nil -} - -func (m *ListActionsRequest) GetPageToken() string { - if x, ok := m.GetPageStart().(*ListActionsRequest_PageToken); ok { - return x.PageToken - } - return "" -} - -func (m *ListActionsRequest) GetOffset() int64 { - if x, ok := m.GetPageStart().(*ListActionsRequest_Offset); ok { - return x.Offset - } - return 0 -} - -func (m *ListActionsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ListActionsRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ListActionsRequest_PageToken)(nil), - (*ListActionsRequest_Offset)(nil), - } -} - -// Response from calling ListActions -type ListActionsResponse struct { - // Actions matching the request, - // possibly capped at request.page_size or a server limit. - Actions []*Action `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,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 *ListActionsResponse) Reset() { *m = ListActionsResponse{} } -func (m *ListActionsResponse) String() string { return proto.CompactTextString(m) } -func (*ListActionsResponse) ProtoMessage() {} -func (*ListActionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_466641838cdba1d1, []int{15} -} - -func (m *ListActionsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListActionsResponse.Unmarshal(m, b) -} -func (m *ListActionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListActionsResponse.Marshal(b, m, deterministic) -} -func (m *ListActionsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListActionsResponse.Merge(m, src) -} -func (m *ListActionsResponse) XXX_Size() int { - return xxx_messageInfo_ListActionsResponse.Size(m) -} -func (m *ListActionsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListActionsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListActionsResponse proto.InternalMessageInfo - -func (m *ListActionsResponse) GetActions() []*Action { - if m != nil { - return m.Actions - } - return nil -} - -func (m *ListActionsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request passed into GetFileSet -type GetFileSetRequest struct { - // The name of the file set to retrieve. It must match this format: - // invocations/${INVOCATION_ID}/fileSets/${url_encode(FILE_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 *GetFileSetRequest) Reset() { *m = GetFileSetRequest{} } -func (m *GetFileSetRequest) String() string { return proto.CompactTextString(m) } -func (*GetFileSetRequest) ProtoMessage() {} -func (*GetFileSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_466641838cdba1d1, []int{16} -} - -func (m *GetFileSetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetFileSetRequest.Unmarshal(m, b) -} -func (m *GetFileSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetFileSetRequest.Marshal(b, m, deterministic) -} -func (m *GetFileSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetFileSetRequest.Merge(m, src) -} -func (m *GetFileSetRequest) XXX_Size() int { - return xxx_messageInfo_GetFileSetRequest.Size(m) -} -func (m *GetFileSetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetFileSetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetFileSetRequest proto.InternalMessageInfo - -func (m *GetFileSetRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request passed into ListFileSets -type ListFileSetsRequest struct { - // The invocation name of the file sets to retrieve. - // It must match this format: invocations/${INVOCATION_ID} - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The maximum number of items to return. - // Zero means all, but may be capped by the server. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Options for pagination. - // - // Types that are valid to be assigned to PageStart: - // *ListFileSetsRequest_PageToken - // *ListFileSetsRequest_Offset - PageStart isListFileSetsRequest_PageStart `protobuf_oneof:"page_start"` - // A filter to return only resources that match it. - // Any fields used in the filter must be also specified in the field mask. - // May cause pages with 0 results and a next_page_token to be returned. - Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_466641838cdba1d1, []int{17} -} - -func (m *ListFileSetsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListFileSetsRequest.Unmarshal(m, b) -} -func (m *ListFileSetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListFileSetsRequest.Marshal(b, m, deterministic) -} -func (m *ListFileSetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFileSetsRequest.Merge(m, src) -} -func (m *ListFileSetsRequest) XXX_Size() int { - return xxx_messageInfo_ListFileSetsRequest.Size(m) -} -func (m *ListFileSetsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListFileSetsRequest.DiscardUnknown(m) -} - -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() -} - -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 (m *ListFileSetsRequest) GetPageStart() isListFileSetsRequest_PageStart { - if m != nil { - return m.PageStart - } - return nil -} - -func (m *ListFileSetsRequest) GetPageToken() string { - if x, ok := m.GetPageStart().(*ListFileSetsRequest_PageToken); ok { - return x.PageToken - } - return "" -} - -func (m *ListFileSetsRequest) GetOffset() int64 { - if x, ok := m.GetPageStart().(*ListFileSetsRequest_Offset); ok { - return x.Offset - } - return 0 -} - -func (m *ListFileSetsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ListFileSetsRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ListFileSetsRequest_PageToken)(nil), - (*ListFileSetsRequest_Offset)(nil), - } -} - -// Response from calling ListFileSets -type ListFileSetsResponse struct { - // File sets matching the request, - // possibly capped at request.page_size or a server limit. - FileSets []*FileSet `protobuf:"bytes,1,rep,name=file_sets,json=fileSets,proto3" json:"file_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 *ListFileSetsResponse) Reset() { *m = ListFileSetsResponse{} } -func (m *ListFileSetsResponse) String() string { return proto.CompactTextString(m) } -func (*ListFileSetsResponse) ProtoMessage() {} -func (*ListFileSetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_466641838cdba1d1, []int{18} -} - -func (m *ListFileSetsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListFileSetsResponse.Unmarshal(m, b) -} -func (m *ListFileSetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListFileSetsResponse.Marshal(b, m, deterministic) -} -func (m *ListFileSetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFileSetsResponse.Merge(m, src) -} -func (m *ListFileSetsResponse) XXX_Size() int { - return xxx_messageInfo_ListFileSetsResponse.Size(m) -} -func (m *ListFileSetsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListFileSetsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListFileSetsResponse proto.InternalMessageInfo - -func (m *ListFileSetsResponse) GetFileSets() []*FileSet { - if m != nil { - return m.FileSets - } - return nil -} - -func (m *ListFileSetsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request passed into TraverseFileSets -type TraverseFileSetsRequest struct { - // The name of the resource to traverse. - // It must match one of the following formats: - // - // invocations/${INVOCATION_ID}/fileSets/${url_encode(FILE_SET_ID)} - // This returns the transitive closure of FileSets referenced by the given - // FileSet, including itself. - // - // invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)}/configuredTargets/${Curl_encode(CONFIGURATION_ID)}/actions/${url_encode(ACTION_ID)} - // This returns the transitive closure of FileSets referenced by the given - // Action. If ${ACTION_ID} is "-", this returns the transitive closure of - // FileSets referenced by all Actions under the given ConfiguredTarget. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The maximum number of items to return. - // Zero means all, but may be capped by the server. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Options for pagination. - // - // Types that are valid to be assigned to PageStart: - // *TraverseFileSetsRequest_PageToken - // *TraverseFileSetsRequest_Offset - PageStart isTraverseFileSetsRequest_PageStart `protobuf_oneof:"page_start"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TraverseFileSetsRequest) Reset() { *m = TraverseFileSetsRequest{} } -func (m *TraverseFileSetsRequest) String() string { return proto.CompactTextString(m) } -func (*TraverseFileSetsRequest) ProtoMessage() {} -func (*TraverseFileSetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_466641838cdba1d1, []int{19} -} - -func (m *TraverseFileSetsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TraverseFileSetsRequest.Unmarshal(m, b) -} -func (m *TraverseFileSetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TraverseFileSetsRequest.Marshal(b, m, deterministic) -} -func (m *TraverseFileSetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_TraverseFileSetsRequest.Merge(m, src) -} -func (m *TraverseFileSetsRequest) XXX_Size() int { - return xxx_messageInfo_TraverseFileSetsRequest.Size(m) -} -func (m *TraverseFileSetsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_TraverseFileSetsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_TraverseFileSetsRequest proto.InternalMessageInfo - -func (m *TraverseFileSetsRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *TraverseFileSetsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -type isTraverseFileSetsRequest_PageStart interface { - isTraverseFileSetsRequest_PageStart() -} - -type TraverseFileSetsRequest_PageToken struct { - PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3,oneof"` -} - -type TraverseFileSetsRequest_Offset struct { - Offset int64 `protobuf:"varint,4,opt,name=offset,proto3,oneof"` -} - -func (*TraverseFileSetsRequest_PageToken) isTraverseFileSetsRequest_PageStart() {} - -func (*TraverseFileSetsRequest_Offset) isTraverseFileSetsRequest_PageStart() {} - -func (m *TraverseFileSetsRequest) GetPageStart() isTraverseFileSetsRequest_PageStart { - if m != nil { - return m.PageStart - } - return nil -} - -func (m *TraverseFileSetsRequest) GetPageToken() string { - if x, ok := m.GetPageStart().(*TraverseFileSetsRequest_PageToken); ok { - return x.PageToken - } - return "" -} - -func (m *TraverseFileSetsRequest) GetOffset() int64 { - if x, ok := m.GetPageStart().(*TraverseFileSetsRequest_Offset); ok { - return x.Offset - } - return 0 -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*TraverseFileSetsRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*TraverseFileSetsRequest_PageToken)(nil), - (*TraverseFileSetsRequest_Offset)(nil), - } -} - -// Response from calling TraverseFileSets -type TraverseFileSetsResponse struct { - // File sets matching the request. - // The order in which results are returned is undefined, but stable. - FileSets []*FileSet `protobuf:"bytes,1,rep,name=file_sets,json=fileSets,proto3" json:"file_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 *TraverseFileSetsResponse) Reset() { *m = TraverseFileSetsResponse{} } -func (m *TraverseFileSetsResponse) String() string { return proto.CompactTextString(m) } -func (*TraverseFileSetsResponse) ProtoMessage() {} -func (*TraverseFileSetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_466641838cdba1d1, []int{20} -} - -func (m *TraverseFileSetsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TraverseFileSetsResponse.Unmarshal(m, b) -} -func (m *TraverseFileSetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TraverseFileSetsResponse.Marshal(b, m, deterministic) -} -func (m *TraverseFileSetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_TraverseFileSetsResponse.Merge(m, src) -} -func (m *TraverseFileSetsResponse) XXX_Size() int { - return xxx_messageInfo_TraverseFileSetsResponse.Size(m) -} -func (m *TraverseFileSetsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_TraverseFileSetsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_TraverseFileSetsResponse proto.InternalMessageInfo - -func (m *TraverseFileSetsResponse) GetFileSets() []*FileSet { - if m != nil { - return m.FileSets - } - return nil -} - -func (m *TraverseFileSetsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -func init() { - proto.RegisterType((*GetInvocationRequest)(nil), "google.devtools.resultstore.v2.GetInvocationRequest") - proto.RegisterType((*SearchInvocationsRequest)(nil), "google.devtools.resultstore.v2.SearchInvocationsRequest") - proto.RegisterType((*SearchInvocationsResponse)(nil), "google.devtools.resultstore.v2.SearchInvocationsResponse") - proto.RegisterType((*GetInvocationDownloadMetadataRequest)(nil), "google.devtools.resultstore.v2.GetInvocationDownloadMetadataRequest") - proto.RegisterType((*GetConfigurationRequest)(nil), "google.devtools.resultstore.v2.GetConfigurationRequest") - proto.RegisterType((*ListConfigurationsRequest)(nil), "google.devtools.resultstore.v2.ListConfigurationsRequest") - proto.RegisterType((*ListConfigurationsResponse)(nil), "google.devtools.resultstore.v2.ListConfigurationsResponse") - proto.RegisterType((*GetTargetRequest)(nil), "google.devtools.resultstore.v2.GetTargetRequest") - proto.RegisterType((*ListTargetsRequest)(nil), "google.devtools.resultstore.v2.ListTargetsRequest") - proto.RegisterType((*ListTargetsResponse)(nil), "google.devtools.resultstore.v2.ListTargetsResponse") - proto.RegisterType((*GetConfiguredTargetRequest)(nil), "google.devtools.resultstore.v2.GetConfiguredTargetRequest") - proto.RegisterType((*ListConfiguredTargetsRequest)(nil), "google.devtools.resultstore.v2.ListConfiguredTargetsRequest") - proto.RegisterType((*ListConfiguredTargetsResponse)(nil), "google.devtools.resultstore.v2.ListConfiguredTargetsResponse") - proto.RegisterType((*GetActionRequest)(nil), "google.devtools.resultstore.v2.GetActionRequest") - proto.RegisterType((*ListActionsRequest)(nil), "google.devtools.resultstore.v2.ListActionsRequest") - proto.RegisterType((*ListActionsResponse)(nil), "google.devtools.resultstore.v2.ListActionsResponse") - proto.RegisterType((*GetFileSetRequest)(nil), "google.devtools.resultstore.v2.GetFileSetRequest") - proto.RegisterType((*ListFileSetsRequest)(nil), "google.devtools.resultstore.v2.ListFileSetsRequest") - proto.RegisterType((*ListFileSetsResponse)(nil), "google.devtools.resultstore.v2.ListFileSetsResponse") - proto.RegisterType((*TraverseFileSetsRequest)(nil), "google.devtools.resultstore.v2.TraverseFileSetsRequest") - proto.RegisterType((*TraverseFileSetsResponse)(nil), "google.devtools.resultstore.v2.TraverseFileSetsResponse") -} - -func init() { - proto.RegisterFile("google/devtools/resultstore/v2/resultstore_download.proto", fileDescriptor_466641838cdba1d1) -} - -var fileDescriptor_466641838cdba1d1 = []byte{ - // 1259 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x98, 0xc1, 0x6f, 0xdc, 0x44, - 0x14, 0xc6, 0x3b, 0x49, 0x93, 0x26, 0x2f, 0x2d, 0x34, 0x93, 0x90, 0xb8, 0xa6, 0x69, 0x23, 0x53, - 0xd2, 0x90, 0x28, 0xeb, 0x74, 0x1b, 0x95, 0x74, 0xa1, 0xa8, 0x09, 0x11, 0x49, 0xa4, 0x16, 0x95, - 0x4d, 0xb8, 0xf4, 0xb2, 0x1a, 0xbc, 0xb3, 0x1b, 0x83, 0xd7, 0xb3, 0xb1, 0x67, 0x93, 0x52, 0x54, - 0x21, 0x21, 0x0e, 0x48, 0x9c, 0x4a, 0xc4, 0x05, 0x6e, 0x1c, 0xaa, 0x0a, 0x0e, 0x08, 0x09, 0x89, - 0x2b, 0x12, 0xb7, 0x1e, 0x01, 0xf1, 0x17, 0xf0, 0x7f, 0x80, 0x3c, 0x1e, 0xef, 0xda, 0x5e, 0xef, - 0xda, 0x0e, 0x42, 0x84, 0x5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0x4e, 0x5a, 0x7c, 0x4f, 0x37, 0x2c, 0xd6, 0xaa, 0x2e, 0x35, 0x2d, - 0xc2, 0x6b, 0xcc, 0x69, 0xac, 0xef, 0x83, 0x66, 0xb0, 0x46, 0x0a, 0xa3, 0x7b, 0xe8, 0xfe, 0xb6, - 0x9c, 0x51, 0x67, 0x16, 0xb1, 0xeb, 0x05, 0xe6, 0xd4, 0xf5, 0x3a, 0xb5, 0xc5, 0xa7, 0x4d, 0xbd, - 0xf3, 0x98, 0x5e, 0xdf, 0x48, 0x5f, 0x0b, 0x5d, 0xbe, 0x37, 0x2c, 0x54, 0xd7, 0xff, 0x0e, 0x00, - 0x00, 0xff, 0xff, 0x9a, 0x14, 0x81, 0x0e, 0x02, 0x17, 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 - -// ResultStoreDownloadClient is the client API for ResultStoreDownload service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ResultStoreDownloadClient interface { - // Retrieves the invocation with the given name. - // - // 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. Results will - // be ordered by timing.start_time with most recent first, but total ordering - // of results is not guaranteed when difference in timestamps is very small. - // Results may be stale. - // - // - // 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 metadata for an invocation with the given name. - // - // An error will be reported in the following cases: - // - If the invocation is not found. - // - If the given invocation name is badly formatted. - GetInvocationDownloadMetadata(ctx context.Context, in *GetInvocationDownloadMetadataRequest, opts ...grpc.CallOption) (*DownloadMetadata, 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, - // in which case a continuation token is provided. - // The order in which results are returned is undefined, but stable. - // - // 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. - // The order in which results are returned is undefined, but stable. - // - // 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 - // token is provided. Supports '-' for targetId meaning all targets. - // The order in which results are returned is undefined, but stable. - // - // 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 - // token is provided. Supports '-' for configurationId to mean all - // actions for all configurations for a target, or '-' for targetId and - // configurationId to mean all actions for all configurations and all targets. - // Does not support targetId '-' with a specified configuration. - // The order in which results are returned is undefined, but stable. - // - // 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, - // in which case a continuation token is provided. - // The order in which results are returned is undefined, but stable. - // - // 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) - // Returns the transitive closure of FileSets. This might be limited by user - // or server, in which case a continuation token is provided. - // The order in which results are returned is undefined, and unstable. - // - // An error will be reported in the following cases: - // - If page_token is too large to continue the calculation. - // - If the resource is not found. - // - If the given resource name is badly formatted. - // - If no field mask was given. - TraverseFileSets(ctx context.Context, in *TraverseFileSetsRequest, opts ...grpc.CallOption) (*TraverseFileSetsResponse, error) -} - -type resultStoreDownloadClient struct { - cc *grpc.ClientConn -} - -func NewResultStoreDownloadClient(cc *grpc.ClientConn) ResultStoreDownloadClient { - return &resultStoreDownloadClient{cc} -} - -func (c *resultStoreDownloadClient) GetInvocation(ctx context.Context, in *GetInvocationRequest, opts ...grpc.CallOption) (*Invocation, error) { - out := new(Invocation) - err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreDownload/GetInvocation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *resultStoreDownloadClient) SearchInvocations(ctx context.Context, in *SearchInvocationsRequest, opts ...grpc.CallOption) (*SearchInvocationsResponse, error) { - out := new(SearchInvocationsResponse) - err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreDownload/SearchInvocations", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *resultStoreDownloadClient) GetInvocationDownloadMetadata(ctx context.Context, in *GetInvocationDownloadMetadataRequest, opts ...grpc.CallOption) (*DownloadMetadata, error) { - out := new(DownloadMetadata) - err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreDownload/GetInvocationDownloadMetadata", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *resultStoreDownloadClient) GetConfiguration(ctx context.Context, in *GetConfigurationRequest, opts ...grpc.CallOption) (*Configuration, error) { - out := new(Configuration) - err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreDownload/GetConfiguration", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *resultStoreDownloadClient) ListConfigurations(ctx context.Context, in *ListConfigurationsRequest, opts ...grpc.CallOption) (*ListConfigurationsResponse, error) { - out := new(ListConfigurationsResponse) - err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreDownload/ListConfigurations", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *resultStoreDownloadClient) GetTarget(ctx context.Context, in *GetTargetRequest, opts ...grpc.CallOption) (*Target, error) { - out := new(Target) - err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreDownload/GetTarget", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *resultStoreDownloadClient) ListTargets(ctx context.Context, in *ListTargetsRequest, opts ...grpc.CallOption) (*ListTargetsResponse, error) { - out := new(ListTargetsResponse) - err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreDownload/ListTargets", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *resultStoreDownloadClient) GetConfiguredTarget(ctx context.Context, in *GetConfiguredTargetRequest, opts ...grpc.CallOption) (*ConfiguredTarget, error) { - out := new(ConfiguredTarget) - err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreDownload/GetConfiguredTarget", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *resultStoreDownloadClient) ListConfiguredTargets(ctx context.Context, in *ListConfiguredTargetsRequest, opts ...grpc.CallOption) (*ListConfiguredTargetsResponse, error) { - out := new(ListConfiguredTargetsResponse) - err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreDownload/ListConfiguredTargets", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *resultStoreDownloadClient) GetAction(ctx context.Context, in *GetActionRequest, opts ...grpc.CallOption) (*Action, error) { - out := new(Action) - err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreDownload/GetAction", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *resultStoreDownloadClient) ListActions(ctx context.Context, in *ListActionsRequest, opts ...grpc.CallOption) (*ListActionsResponse, error) { - out := new(ListActionsResponse) - err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreDownload/ListActions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *resultStoreDownloadClient) GetFileSet(ctx context.Context, in *GetFileSetRequest, opts ...grpc.CallOption) (*FileSet, error) { - out := new(FileSet) - err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreDownload/GetFileSet", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *resultStoreDownloadClient) ListFileSets(ctx context.Context, in *ListFileSetsRequest, opts ...grpc.CallOption) (*ListFileSetsResponse, error) { - out := new(ListFileSetsResponse) - err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreDownload/ListFileSets", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *resultStoreDownloadClient) TraverseFileSets(ctx context.Context, in *TraverseFileSetsRequest, opts ...grpc.CallOption) (*TraverseFileSetsResponse, error) { - out := new(TraverseFileSetsResponse) - err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreDownload/TraverseFileSets", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ResultStoreDownloadServer is the server API for ResultStoreDownload service. -type ResultStoreDownloadServer interface { - // Retrieves the invocation with the given name. - // - // 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. Results will - // be ordered by timing.start_time with most recent first, but total ordering - // of results is not guaranteed when difference in timestamps is very small. - // Results may be stale. - // - // - // 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 metadata for an invocation with the given name. - // - // An error will be reported in the following cases: - // - If the invocation is not found. - // - If the given invocation name is badly formatted. - GetInvocationDownloadMetadata(context.Context, *GetInvocationDownloadMetadataRequest) (*DownloadMetadata, 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, - // in which case a continuation token is provided. - // The order in which results are returned is undefined, but stable. - // - // 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. - // The order in which results are returned is undefined, but stable. - // - // 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 - // token is provided. Supports '-' for targetId meaning all targets. - // The order in which results are returned is undefined, but stable. - // - // 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 - // token is provided. Supports '-' for configurationId to mean all - // actions for all configurations for a target, or '-' for targetId and - // configurationId to mean all actions for all configurations and all targets. - // Does not support targetId '-' with a specified configuration. - // The order in which results are returned is undefined, but stable. - // - // 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, - // in which case a continuation token is provided. - // The order in which results are returned is undefined, but stable. - // - // 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) - // Returns the transitive closure of FileSets. This might be limited by user - // or server, in which case a continuation token is provided. - // The order in which results are returned is undefined, and unstable. - // - // An error will be reported in the following cases: - // - If page_token is too large to continue the calculation. - // - If the resource is not found. - // - If the given resource name is badly formatted. - // - If no field mask was given. - TraverseFileSets(context.Context, *TraverseFileSetsRequest) (*TraverseFileSetsResponse, error) -} - -// UnimplementedResultStoreDownloadServer can be embedded to have forward compatible implementations. -type UnimplementedResultStoreDownloadServer struct { -} - -func (*UnimplementedResultStoreDownloadServer) GetInvocation(ctx context.Context, req *GetInvocationRequest) (*Invocation, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetInvocation not implemented") -} -func (*UnimplementedResultStoreDownloadServer) SearchInvocations(ctx context.Context, req *SearchInvocationsRequest) (*SearchInvocationsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchInvocations not implemented") -} -func (*UnimplementedResultStoreDownloadServer) GetInvocationDownloadMetadata(ctx context.Context, req *GetInvocationDownloadMetadataRequest) (*DownloadMetadata, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetInvocationDownloadMetadata not implemented") -} -func (*UnimplementedResultStoreDownloadServer) GetConfiguration(ctx context.Context, req *GetConfigurationRequest) (*Configuration, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetConfiguration not implemented") -} -func (*UnimplementedResultStoreDownloadServer) ListConfigurations(ctx context.Context, req *ListConfigurationsRequest) (*ListConfigurationsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListConfigurations not implemented") -} -func (*UnimplementedResultStoreDownloadServer) GetTarget(ctx context.Context, req *GetTargetRequest) (*Target, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTarget not implemented") -} -func (*UnimplementedResultStoreDownloadServer) ListTargets(ctx context.Context, req *ListTargetsRequest) (*ListTargetsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListTargets not implemented") -} -func (*UnimplementedResultStoreDownloadServer) GetConfiguredTarget(ctx context.Context, req *GetConfiguredTargetRequest) (*ConfiguredTarget, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetConfiguredTarget not implemented") -} -func (*UnimplementedResultStoreDownloadServer) ListConfiguredTargets(ctx context.Context, req *ListConfiguredTargetsRequest) (*ListConfiguredTargetsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListConfiguredTargets not implemented") -} -func (*UnimplementedResultStoreDownloadServer) GetAction(ctx context.Context, req *GetActionRequest) (*Action, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAction not implemented") -} -func (*UnimplementedResultStoreDownloadServer) ListActions(ctx context.Context, req *ListActionsRequest) (*ListActionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListActions not implemented") -} -func (*UnimplementedResultStoreDownloadServer) GetFileSet(ctx context.Context, req *GetFileSetRequest) (*FileSet, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetFileSet not implemented") -} -func (*UnimplementedResultStoreDownloadServer) ListFileSets(ctx context.Context, req *ListFileSetsRequest) (*ListFileSetsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListFileSets not implemented") -} -func (*UnimplementedResultStoreDownloadServer) TraverseFileSets(ctx context.Context, req *TraverseFileSetsRequest) (*TraverseFileSetsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TraverseFileSets not implemented") -} - -func RegisterResultStoreDownloadServer(s *grpc.Server, srv ResultStoreDownloadServer) { - s.RegisterService(&_ResultStoreDownload_serviceDesc, srv) -} - -func _ResultStoreDownload_GetInvocation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetInvocationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ResultStoreDownloadServer).GetInvocation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.resultstore.v2.ResultStoreDownload/GetInvocation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResultStoreDownloadServer).GetInvocation(ctx, req.(*GetInvocationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ResultStoreDownload_SearchInvocations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchInvocationsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ResultStoreDownloadServer).SearchInvocations(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.resultstore.v2.ResultStoreDownload/SearchInvocations", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResultStoreDownloadServer).SearchInvocations(ctx, req.(*SearchInvocationsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ResultStoreDownload_GetInvocationDownloadMetadata_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetInvocationDownloadMetadataRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ResultStoreDownloadServer).GetInvocationDownloadMetadata(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.resultstore.v2.ResultStoreDownload/GetInvocationDownloadMetadata", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResultStoreDownloadServer).GetInvocationDownloadMetadata(ctx, req.(*GetInvocationDownloadMetadataRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ResultStoreDownload_GetConfiguration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetConfigurationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ResultStoreDownloadServer).GetConfiguration(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.resultstore.v2.ResultStoreDownload/GetConfiguration", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResultStoreDownloadServer).GetConfiguration(ctx, req.(*GetConfigurationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ResultStoreDownload_ListConfigurations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListConfigurationsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ResultStoreDownloadServer).ListConfigurations(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.resultstore.v2.ResultStoreDownload/ListConfigurations", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResultStoreDownloadServer).ListConfigurations(ctx, req.(*ListConfigurationsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ResultStoreDownload_GetTarget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTargetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ResultStoreDownloadServer).GetTarget(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.resultstore.v2.ResultStoreDownload/GetTarget", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResultStoreDownloadServer).GetTarget(ctx, req.(*GetTargetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ResultStoreDownload_ListTargets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListTargetsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ResultStoreDownloadServer).ListTargets(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.resultstore.v2.ResultStoreDownload/ListTargets", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResultStoreDownloadServer).ListTargets(ctx, req.(*ListTargetsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ResultStoreDownload_GetConfiguredTarget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetConfiguredTargetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ResultStoreDownloadServer).GetConfiguredTarget(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.resultstore.v2.ResultStoreDownload/GetConfiguredTarget", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResultStoreDownloadServer).GetConfiguredTarget(ctx, req.(*GetConfiguredTargetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ResultStoreDownload_ListConfiguredTargets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListConfiguredTargetsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ResultStoreDownloadServer).ListConfiguredTargets(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.resultstore.v2.ResultStoreDownload/ListConfiguredTargets", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResultStoreDownloadServer).ListConfiguredTargets(ctx, req.(*ListConfiguredTargetsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ResultStoreDownload_GetAction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetActionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ResultStoreDownloadServer).GetAction(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.resultstore.v2.ResultStoreDownload/GetAction", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResultStoreDownloadServer).GetAction(ctx, req.(*GetActionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ResultStoreDownload_ListActions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListActionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ResultStoreDownloadServer).ListActions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.resultstore.v2.ResultStoreDownload/ListActions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResultStoreDownloadServer).ListActions(ctx, req.(*ListActionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ResultStoreDownload_GetFileSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetFileSetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ResultStoreDownloadServer).GetFileSet(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.resultstore.v2.ResultStoreDownload/GetFileSet", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResultStoreDownloadServer).GetFileSet(ctx, req.(*GetFileSetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ResultStoreDownload_ListFileSets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListFileSetsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ResultStoreDownloadServer).ListFileSets(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.resultstore.v2.ResultStoreDownload/ListFileSets", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResultStoreDownloadServer).ListFileSets(ctx, req.(*ListFileSetsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ResultStoreDownload_TraverseFileSets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TraverseFileSetsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ResultStoreDownloadServer).TraverseFileSets(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.resultstore.v2.ResultStoreDownload/TraverseFileSets", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResultStoreDownloadServer).TraverseFileSets(ctx, req.(*TraverseFileSetsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ResultStoreDownload_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.devtools.resultstore.v2.ResultStoreDownload", - HandlerType: (*ResultStoreDownloadServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetInvocation", - Handler: _ResultStoreDownload_GetInvocation_Handler, - }, - { - MethodName: "SearchInvocations", - Handler: _ResultStoreDownload_SearchInvocations_Handler, - }, - { - MethodName: "GetInvocationDownloadMetadata", - Handler: _ResultStoreDownload_GetInvocationDownloadMetadata_Handler, - }, - { - MethodName: "GetConfiguration", - Handler: _ResultStoreDownload_GetConfiguration_Handler, - }, - { - MethodName: "ListConfigurations", - Handler: _ResultStoreDownload_ListConfigurations_Handler, - }, - { - MethodName: "GetTarget", - Handler: _ResultStoreDownload_GetTarget_Handler, - }, - { - MethodName: "ListTargets", - Handler: _ResultStoreDownload_ListTargets_Handler, - }, - { - MethodName: "GetConfiguredTarget", - Handler: _ResultStoreDownload_GetConfiguredTarget_Handler, - }, - { - MethodName: "ListConfiguredTargets", - Handler: _ResultStoreDownload_ListConfiguredTargets_Handler, - }, - { - MethodName: "GetAction", - Handler: _ResultStoreDownload_GetAction_Handler, - }, - { - MethodName: "ListActions", - Handler: _ResultStoreDownload_ListActions_Handler, - }, - { - MethodName: "GetFileSet", - Handler: _ResultStoreDownload_GetFileSet_Handler, - }, - { - MethodName: "ListFileSets", - Handler: _ResultStoreDownload_ListFileSets_Handler, - }, - { - MethodName: "TraverseFileSets", - Handler: _ResultStoreDownload_TraverseFileSets_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/devtools/resultstore/v2/resultstore_download.proto", -} 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 deleted file mode 100644 index cda9400d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/resultstore_file_download.pb.go +++ /dev/null @@ -1,477 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/resultstore/v2/resultstore_file_download.proto - -package resultstore - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request object for GetFile -type GetFileRequest struct { - // This corresponds to the uri field in the File message. - Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` - // The offset for the first byte to return in the read, relative to the start - // of the resource. - // - // A `read_offset` that is negative or greater than the size of the resource - // will cause an `OUT_OF_RANGE` error. - ReadOffset int64 `protobuf:"varint,2,opt,name=read_offset,json=readOffset,proto3" json:"read_offset,omitempty"` - // The maximum number of `data` bytes the server is allowed to return in the - // sum of all `ReadResponse` messages. A `read_limit` of zero indicates that - // there is no limit, and a negative `read_limit` will cause an error. - // - // If the stream returns fewer bytes than allowed by the `read_limit` and no - // error occurred, the stream includes all data from the `read_offset` to the - // end of the resource. - ReadLimit int64 `protobuf:"varint,3,opt,name=read_limit,json=readLimit,proto3" json:"read_limit,omitempty"` - // Only applies if the referenced file is a known archive type (ar, jar, zip) - // The above read_offset and read_limit fields are applied to this entry. - // If this file is not an archive, INVALID_ARGUMENT is thrown. - ArchiveEntry string `protobuf:"bytes,4,opt,name=archive_entry,json=archiveEntry,proto3" json:"archive_entry,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8107699981ff9308, []int{0} -} - -func (m *GetFileRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetFileRequest.Unmarshal(m, b) -} -func (m *GetFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetFileRequest.Marshal(b, m, deterministic) -} -func (m *GetFileRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetFileRequest.Merge(m, src) -} -func (m *GetFileRequest) XXX_Size() int { - return xxx_messageInfo_GetFileRequest.Size(m) -} -func (m *GetFileRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetFileRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetFileRequest proto.InternalMessageInfo - -func (m *GetFileRequest) GetUri() string { - if m != nil { - return m.Uri - } - return "" -} - -func (m *GetFileRequest) GetReadOffset() int64 { - if m != nil { - return m.ReadOffset - } - return 0 -} - -func (m *GetFileRequest) GetReadLimit() int64 { - if m != nil { - return m.ReadLimit - } - return 0 -} - -func (m *GetFileRequest) GetArchiveEntry() string { - if m != nil { - return m.ArchiveEntry - } - return "" -} - -// Response object for GetFile -type GetFileResponse struct { - // The file data. - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8107699981ff9308, []int{1} -} - -func (m *GetFileResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetFileResponse.Unmarshal(m, b) -} -func (m *GetFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetFileResponse.Marshal(b, m, deterministic) -} -func (m *GetFileResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetFileResponse.Merge(m, src) -} -func (m *GetFileResponse) XXX_Size() int { - return xxx_messageInfo_GetFileResponse.Size(m) -} -func (m *GetFileResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetFileResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GetFileResponse proto.InternalMessageInfo - -func (m *GetFileResponse) GetData() []byte { - if m != nil { - return m.Data - } - return nil -} - -// Request object for GetFileTail -type GetFileTailRequest struct { - // This corresponds to the uri field in the File message. - Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` - // The offset for the first byte to return in the read, relative to the end - // of the resource. - // - // A `read_offset` that is negative or greater than the size of the resource - // will cause an `OUT_OF_RANGE` error. - ReadOffset int64 `protobuf:"varint,2,opt,name=read_offset,json=readOffset,proto3" json:"read_offset,omitempty"` - // The maximum number of `data` bytes the server is allowed to return. The - // server will return bytes starting from the tail of the file. - // - // A `read_limit` of zero indicates that there is no limit, and a negative - // `read_limit` will cause an error. - ReadLimit int64 `protobuf:"varint,3,opt,name=read_limit,json=readLimit,proto3" json:"read_limit,omitempty"` - // Only applies if the referenced file is a known archive type (ar, jar, zip) - // The above read_offset and read_limit fields are applied to this entry. - // If this file is not an archive, INVALID_ARGUMENT is thrown. - ArchiveEntry string `protobuf:"bytes,4,opt,name=archive_entry,json=archiveEntry,proto3" json:"archive_entry,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8107699981ff9308, []int{2} -} - -func (m *GetFileTailRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetFileTailRequest.Unmarshal(m, b) -} -func (m *GetFileTailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetFileTailRequest.Marshal(b, m, deterministic) -} -func (m *GetFileTailRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetFileTailRequest.Merge(m, src) -} -func (m *GetFileTailRequest) XXX_Size() int { - return xxx_messageInfo_GetFileTailRequest.Size(m) -} -func (m *GetFileTailRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetFileTailRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetFileTailRequest proto.InternalMessageInfo - -func (m *GetFileTailRequest) GetUri() string { - if m != nil { - return m.Uri - } - return "" -} - -func (m *GetFileTailRequest) GetReadOffset() int64 { - if m != nil { - return m.ReadOffset - } - return 0 -} - -func (m *GetFileTailRequest) GetReadLimit() int64 { - if m != nil { - return m.ReadLimit - } - return 0 -} - -func (m *GetFileTailRequest) GetArchiveEntry() string { - if m != nil { - return m.ArchiveEntry - } - return "" -} - -// Response object for GetFileTail -type GetFileTailResponse struct { - // The file data, encoded with UTF-8. - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8107699981ff9308, []int{3} -} - -func (m *GetFileTailResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetFileTailResponse.Unmarshal(m, b) -} -func (m *GetFileTailResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetFileTailResponse.Marshal(b, m, deterministic) -} -func (m *GetFileTailResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetFileTailResponse.Merge(m, src) -} -func (m *GetFileTailResponse) XXX_Size() int { - return xxx_messageInfo_GetFileTailResponse.Size(m) -} -func (m *GetFileTailResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetFileTailResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GetFileTailResponse proto.InternalMessageInfo - -func (m *GetFileTailResponse) GetData() []byte { - if m != nil { - return m.Data - } - return nil -} - -func init() { - proto.RegisterType((*GetFileRequest)(nil), "google.devtools.resultstore.v2.GetFileRequest") - proto.RegisterType((*GetFileResponse)(nil), "google.devtools.resultstore.v2.GetFileResponse") - proto.RegisterType((*GetFileTailRequest)(nil), "google.devtools.resultstore.v2.GetFileTailRequest") - proto.RegisterType((*GetFileTailResponse)(nil), "google.devtools.resultstore.v2.GetFileTailResponse") -} - -func init() { - proto.RegisterFile("google/devtools/resultstore/v2/resultstore_file_download.proto", fileDescriptor_8107699981ff9308) -} - -var fileDescriptor_8107699981ff9308 = []byte{ - // 459 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x93, 0xcf, 0x6b, 0x14, 0x31, - 0x14, 0xc7, 0x49, 0xb7, 0x28, 0x4d, 0xab, 0x96, 0x88, 0xec, 0x32, 0x58, 0x2d, 0x23, 0x42, 0x2d,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x9a, 0x42, 0x36, 0x38, 0x15, 0x85, 0x81, 0xa6, - 0xbc, 0x5e, 0x1b, 0x89, 0x13, 0x70, 0xb3, 0xbb, 0x07, 0x34, 0x2d, 0x60, 0xf6, 0x0f, 0xd0, 0x67, - 0xe4, 0xe5, 0xa3, 0x6e, 0xa2, 0x02, 0x23, 0x6d, 0xc5, 0xc1, 0x55, 0xa2, 0x52, 0x36, 0x3e, 0x1d, - 0xf1, 0xfb, 0x98, 0xa3, 0x1e, 0xf5, 0xad, 0x5e, 0xf9, 0xea, 0x54, 0x74, 0xed, 0xfd, 0x08, 0x00, - 0x00, 0xff, 0xff, 0x6e, 0x2f, 0x78, 0x57, 0x09, 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 - -// ResultStoreFileDownloadClient is the client API for ResultStoreFileDownload service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ResultStoreFileDownloadClient interface { - // Retrieves the File with the given uri. - // returns a stream of bytes to be stitched together in order. - // - // An error will be reported in the following cases: - // - If the File is not found. - // - If the given File uri is badly formatted. - GetFile(ctx context.Context, in *GetFileRequest, opts ...grpc.CallOption) (ResultStoreFileDownload_GetFileClient, error) - // Retrieves the tail of a File with the given uri. - // - // An error will be reported in the following cases: - // - If the File is not found. - // - If the given File uri is badly formatted. - GetFileTail(ctx context.Context, in *GetFileTailRequest, opts ...grpc.CallOption) (*GetFileTailResponse, error) -} - -type resultStoreFileDownloadClient struct { - cc *grpc.ClientConn -} - -func NewResultStoreFileDownloadClient(cc *grpc.ClientConn) ResultStoreFileDownloadClient { - return &resultStoreFileDownloadClient{cc} -} - -func (c *resultStoreFileDownloadClient) GetFile(ctx context.Context, in *GetFileRequest, opts ...grpc.CallOption) (ResultStoreFileDownload_GetFileClient, error) { - stream, err := c.cc.NewStream(ctx, &_ResultStoreFileDownload_serviceDesc.Streams[0], "/google.devtools.resultstore.v2.ResultStoreFileDownload/GetFile", opts...) - if err != nil { - return nil, err - } - x := &resultStoreFileDownloadGetFileClient{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 ResultStoreFileDownload_GetFileClient interface { - Recv() (*GetFileResponse, error) - grpc.ClientStream -} - -type resultStoreFileDownloadGetFileClient struct { - grpc.ClientStream -} - -func (x *resultStoreFileDownloadGetFileClient) Recv() (*GetFileResponse, error) { - m := new(GetFileResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *resultStoreFileDownloadClient) GetFileTail(ctx context.Context, in *GetFileTailRequest, opts ...grpc.CallOption) (*GetFileTailResponse, error) { - out := new(GetFileTailResponse) - err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreFileDownload/GetFileTail", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ResultStoreFileDownloadServer is the server API for ResultStoreFileDownload service. -type ResultStoreFileDownloadServer interface { - // Retrieves the File with the given uri. - // returns a stream of bytes to be stitched together in order. - // - // An error will be reported in the following cases: - // - If the File is not found. - // - If the given File uri is badly formatted. - GetFile(*GetFileRequest, ResultStoreFileDownload_GetFileServer) error - // Retrieves the tail of a File with the given uri. - // - // An error will be reported in the following cases: - // - If the File is not found. - // - If the given File uri is badly formatted. - GetFileTail(context.Context, *GetFileTailRequest) (*GetFileTailResponse, error) -} - -// UnimplementedResultStoreFileDownloadServer can be embedded to have forward compatible implementations. -type UnimplementedResultStoreFileDownloadServer struct { -} - -func (*UnimplementedResultStoreFileDownloadServer) GetFile(req *GetFileRequest, srv ResultStoreFileDownload_GetFileServer) error { - return status.Errorf(codes.Unimplemented, "method GetFile not implemented") -} -func (*UnimplementedResultStoreFileDownloadServer) GetFileTail(ctx context.Context, req *GetFileTailRequest) (*GetFileTailResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetFileTail not implemented") -} - -func RegisterResultStoreFileDownloadServer(s *grpc.Server, srv ResultStoreFileDownloadServer) { - s.RegisterService(&_ResultStoreFileDownload_serviceDesc, srv) -} - -func _ResultStoreFileDownload_GetFile_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(GetFileRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(ResultStoreFileDownloadServer).GetFile(m, &resultStoreFileDownloadGetFileServer{stream}) -} - -type ResultStoreFileDownload_GetFileServer interface { - Send(*GetFileResponse) error - grpc.ServerStream -} - -type resultStoreFileDownloadGetFileServer struct { - grpc.ServerStream -} - -func (x *resultStoreFileDownloadGetFileServer) Send(m *GetFileResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _ResultStoreFileDownload_GetFileTail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetFileTailRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ResultStoreFileDownloadServer).GetFileTail(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.resultstore.v2.ResultStoreFileDownload/GetFileTail", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResultStoreFileDownloadServer).GetFileTail(ctx, req.(*GetFileTailRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ResultStoreFileDownload_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.devtools.resultstore.v2.ResultStoreFileDownload", - HandlerType: (*ResultStoreFileDownloadServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetFileTail", - Handler: _ResultStoreFileDownload_GetFileTail_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "GetFile", - Handler: _ResultStoreFileDownload_GetFile_Handler, - ServerStreams: true, - }, - }, - Metadata: "google/devtools/resultstore/v2/resultstore_file_download.proto", -} 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 deleted file mode 100644 index 76d2ee8a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/resultstore_upload.pb.go +++ /dev/null @@ -1,4067 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/resultstore/v2/resultstore_upload.proto - -package resultstore - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The operation for the request (e.g. Create(), Update(), etc.) -type UploadRequest_UploadOperation int32 - -const ( - // Unspecified - UploadRequest_UPLOAD_OPERATION_UNSPECIFIED UploadRequest_UploadOperation = 0 - // Create the given resources. - // For more information, check the Create APIs. - UploadRequest_CREATE UploadRequest_UploadOperation = 1 - // Applies a standard update to the resource identified by the given - // proto's name. For more information, see the Update APIs. - // UploadBatch does not support arbitrary field masks. The list of allowed - // field masks can be found below. - UploadRequest_UPDATE UploadRequest_UploadOperation = 2 - // Applies an merge update to the resource identified by the given - // proto's name. For more information, see the Merge APIs. - // Currently, only the "files" and "file_processing_errors" fields are - // supported by this operation. - UploadRequest_MERGE UploadRequest_UploadOperation = 3 - // Declares the resource with the given name as finalized and immutable by - // the uploader. Only supported for Invocation, Target, ConfiguredTarget. - // There must be no operation on child resources after parent resource is - // Finalized. If there is a Finalize of Invocation, it must be the final - // UploadRequest. For more information, see the Finalize APIs. - // An empty resource should be provided below. - UploadRequest_FINALIZE UploadRequest_UploadOperation = 4 -) - -var UploadRequest_UploadOperation_name = map[int32]string{ - 0: "UPLOAD_OPERATION_UNSPECIFIED", - 1: "CREATE", - 2: "UPDATE", - 3: "MERGE", - 4: "FINALIZE", -} - -var UploadRequest_UploadOperation_value = map[string]int32{ - "UPLOAD_OPERATION_UNSPECIFIED": 0, - "CREATE": 1, - "UPDATE": 2, - "MERGE": 3, - "FINALIZE": 4, -} - -func (x UploadRequest_UploadOperation) String() string { - return proto.EnumName(UploadRequest_UploadOperation_name, int32(x)) -} - -func (UploadRequest_UploadOperation) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_3c379de3a2f884aa, []int{28, 0} -} - -// 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 Unicode characters. - RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - // The invocation ID. It is optional, but strongly recommended. - // - // 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-finalized if they are not modified for 24 - // hours. If you need auto-finalize to happen sooner, set this field to the - // time you'd like auto-finalize to occur. - AutoFinalizeTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=auto_finalize_time,json=autoFinalizeTime,proto3" json:"auto_finalize_time,omitempty"` - // Client provided unique token for batch upload to ensure data integrity and - // to provide a way to resume batch upload in case of a distributed failure on - // the client side. The standard uploading client is presumed to have many - // machines uploading to ResultStore, and that any given machine could process - // any given Invocation at any time. This field is used to coordinate between - // the client's machines, resolve concurrency issues, and enforce "exactly - // once" semantics on each batch within the upload. - // - // The typical usage of the resume_token is that it should contain a "key" - // indicating to the client where it is in the upload process, so that the - // client can use it to resume the upload by reconstructing the state of - // upload from the point where it was interrupted. - // - // If this matches the previously uploaded resume_token, then this request - // will silently do nothing, making CreateInvocation idempotent. - // If this token is provided, all further upload RPCs must be done through - // UploadBatch. This token must not be combined with request_id. - // Must be web safe Base64 encoded bytes. - InitialResumeToken string `protobuf:"bytes,7,opt,name=initial_resume_token,json=initialResumeToken,proto3" json:"initial_resume_token,omitempty"` - // Client-specific data used to resume batch upload if an error occurs and - // retry is needed. This serves a role closely related to resume_token, as - // both fields may be used to provide state required to restore a Batch - // Upload, but they differ in two important aspects: - // - it is not compared to previous values, and as such does not provide - // concurrency control; - // - it allows for a larger payload, since the contents are never - // inspected/compared; - // The size of the message must be within 1 MiB. Too large requests will be - // rejected. - UploaderState []byte `protobuf:"bytes,8,opt,name=uploader_state,json=uploaderState,proto3" json:"uploader_state,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_3c379de3a2f884aa, []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 (m *CreateInvocationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateInvocationRequest.Merge(m, 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) GetAutoFinalizeTime() *timestamp.Timestamp { - if m != nil { - return m.AutoFinalizeTime - } - return nil -} - -func (m *CreateInvocationRequest) GetInitialResumeToken() string { - if m != nil { - return m.InitialResumeToken - } - return "" -} - -func (m *CreateInvocationRequest) GetUploaderState() []byte { - if m != nil { - return m.UploaderState - } - 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_3c379de3a2f884aa, []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 (m *UpdateInvocationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateInvocationRequest.Merge(m, 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 MergeInvocation -type MergeInvocationRequest 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 Unicode characters. - RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - // Contains the name and the fields of the invocation to be merged. The - // name format must be: invocations/${INVOCATION_ID} - Invocation *Invocation `protobuf:"bytes,3,opt,name=invocation,proto3" json:"invocation,omitempty"` - // Indicates which fields to merge. - 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 *MergeInvocationRequest) Reset() { *m = MergeInvocationRequest{} } -func (m *MergeInvocationRequest) String() string { return proto.CompactTextString(m) } -func (*MergeInvocationRequest) ProtoMessage() {} -func (*MergeInvocationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3c379de3a2f884aa, []int{2} -} - -func (m *MergeInvocationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MergeInvocationRequest.Unmarshal(m, b) -} -func (m *MergeInvocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MergeInvocationRequest.Marshal(b, m, deterministic) -} -func (m *MergeInvocationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MergeInvocationRequest.Merge(m, src) -} -func (m *MergeInvocationRequest) XXX_Size() int { - return xxx_messageInfo_MergeInvocationRequest.Size(m) -} -func (m *MergeInvocationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MergeInvocationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MergeInvocationRequest proto.InternalMessageInfo - -func (m *MergeInvocationRequest) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} - -func (m *MergeInvocationRequest) GetInvocation() *Invocation { - if m != nil { - return m.Invocation - } - return nil -} - -func (m *MergeInvocationRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -func (m *MergeInvocationRequest) GetAuthorizationToken() string { - if m != nil { - return m.AuthorizationToken - } - return "" -} - -// Request passed into TouchInvocation -type TouchInvocationRequest 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,2,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 *TouchInvocationRequest) Reset() { *m = TouchInvocationRequest{} } -func (m *TouchInvocationRequest) String() string { return proto.CompactTextString(m) } -func (*TouchInvocationRequest) ProtoMessage() {} -func (*TouchInvocationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3c379de3a2f884aa, []int{3} -} - -func (m *TouchInvocationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TouchInvocationRequest.Unmarshal(m, b) -} -func (m *TouchInvocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TouchInvocationRequest.Marshal(b, m, deterministic) -} -func (m *TouchInvocationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_TouchInvocationRequest.Merge(m, src) -} -func (m *TouchInvocationRequest) XXX_Size() int { - return xxx_messageInfo_TouchInvocationRequest.Size(m) -} -func (m *TouchInvocationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_TouchInvocationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_TouchInvocationRequest proto.InternalMessageInfo - -func (m *TouchInvocationRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *TouchInvocationRequest) GetAuthorizationToken() string { - if m != nil { - return m.AuthorizationToken - } - return "" -} - -// Response returned from TouchInvocation -type TouchInvocationResponse 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 *TouchInvocationResponse) Reset() { *m = TouchInvocationResponse{} } -func (m *TouchInvocationResponse) String() string { return proto.CompactTextString(m) } -func (*TouchInvocationResponse) ProtoMessage() {} -func (*TouchInvocationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3c379de3a2f884aa, []int{4} -} - -func (m *TouchInvocationResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TouchInvocationResponse.Unmarshal(m, b) -} -func (m *TouchInvocationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TouchInvocationResponse.Marshal(b, m, deterministic) -} -func (m *TouchInvocationResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_TouchInvocationResponse.Merge(m, src) -} -func (m *TouchInvocationResponse) XXX_Size() int { - return xxx_messageInfo_TouchInvocationResponse.Size(m) -} -func (m *TouchInvocationResponse) XXX_DiscardUnknown() { - xxx_messageInfo_TouchInvocationResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_TouchInvocationResponse proto.InternalMessageInfo - -func (m *TouchInvocationResponse) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *TouchInvocationResponse) GetId() *Invocation_Id { - if m != nil { - return m.Id - } - return nil -} - -// Request passed into DeleteInvocation -type DeleteInvocationRequest 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DeleteInvocationRequest) Reset() { *m = DeleteInvocationRequest{} } -func (m *DeleteInvocationRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteInvocationRequest) ProtoMessage() {} -func (*DeleteInvocationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3c379de3a2f884aa, []int{5} -} - -func (m *DeleteInvocationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteInvocationRequest.Unmarshal(m, b) -} -func (m *DeleteInvocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteInvocationRequest.Marshal(b, m, deterministic) -} -func (m *DeleteInvocationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteInvocationRequest.Merge(m, src) -} -func (m *DeleteInvocationRequest) XXX_Size() int { - return xxx_messageInfo_DeleteInvocationRequest.Size(m) -} -func (m *DeleteInvocationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteInvocationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteInvocationRequest proto.InternalMessageInfo - -func (m *DeleteInvocationRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request passed into FinalizeInvocation -type FinalizeInvocationRequest 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 *FinalizeInvocationRequest) Reset() { *m = FinalizeInvocationRequest{} } -func (m *FinalizeInvocationRequest) String() string { return proto.CompactTextString(m) } -func (*FinalizeInvocationRequest) ProtoMessage() {} -func (*FinalizeInvocationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3c379de3a2f884aa, []int{6} -} - -func (m *FinalizeInvocationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FinalizeInvocationRequest.Unmarshal(m, b) -} -func (m *FinalizeInvocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FinalizeInvocationRequest.Marshal(b, m, deterministic) -} -func (m *FinalizeInvocationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FinalizeInvocationRequest.Merge(m, src) -} -func (m *FinalizeInvocationRequest) XXX_Size() int { - return xxx_messageInfo_FinalizeInvocationRequest.Size(m) -} -func (m *FinalizeInvocationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FinalizeInvocationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_FinalizeInvocationRequest proto.InternalMessageInfo - -func (m *FinalizeInvocationRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *FinalizeInvocationRequest) GetAuthorizationToken() string { - if m != nil { - return m.AuthorizationToken - } - return "" -} - -// Response returned from FinalizeInvocation -type FinalizeInvocationResponse 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 *FinalizeInvocationResponse) Reset() { *m = FinalizeInvocationResponse{} } -func (m *FinalizeInvocationResponse) String() string { return proto.CompactTextString(m) } -func (*FinalizeInvocationResponse) ProtoMessage() {} -func (*FinalizeInvocationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3c379de3a2f884aa, []int{7} -} - -func (m *FinalizeInvocationResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FinalizeInvocationResponse.Unmarshal(m, b) -} -func (m *FinalizeInvocationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FinalizeInvocationResponse.Marshal(b, m, deterministic) -} -func (m *FinalizeInvocationResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FinalizeInvocationResponse.Merge(m, src) -} -func (m *FinalizeInvocationResponse) XXX_Size() int { - return xxx_messageInfo_FinalizeInvocationResponse.Size(m) -} -func (m *FinalizeInvocationResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FinalizeInvocationResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_FinalizeInvocationResponse proto.InternalMessageInfo - -func (m *FinalizeInvocationResponse) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *FinalizeInvocationResponse) 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 Unicode characters. - 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 string up to 1024 Unicode characters - // 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_3c379de3a2f884aa, []int{8} -} - -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 (m *CreateTargetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateTargetRequest.Merge(m, 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/${url_encode(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"` - // If true then the Update operation will become a Create operation if the - // Target is NOT_FOUND. - CreateIfNotFound bool `protobuf:"varint,6,opt,name=create_if_not_found,json=createIfNotFound,proto3" json:"create_if_not_found,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_3c379de3a2f884aa, []int{9} -} - -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 (m *UpdateTargetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateTargetRequest.Merge(m, 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 "" -} - -func (m *UpdateTargetRequest) GetCreateIfNotFound() bool { - if m != nil { - return m.CreateIfNotFound - } - return false -} - -// Request passed into MergeTarget -type MergeTargetRequest 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 Unicode characters. - RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - // Contains the name and the fields of the target to be merged. The name - // format must be: - // invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)} - Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` - // Indicates which fields to merge. - 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"` - // If true then the Merge operation will become a Create operation if the - // Target is NOT_FOUND. - CreateIfNotFound bool `protobuf:"varint,6,opt,name=create_if_not_found,json=createIfNotFound,proto3" json:"create_if_not_found,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MergeTargetRequest) Reset() { *m = MergeTargetRequest{} } -func (m *MergeTargetRequest) String() string { return proto.CompactTextString(m) } -func (*MergeTargetRequest) ProtoMessage() {} -func (*MergeTargetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3c379de3a2f884aa, []int{10} -} - -func (m *MergeTargetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MergeTargetRequest.Unmarshal(m, b) -} -func (m *MergeTargetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MergeTargetRequest.Marshal(b, m, deterministic) -} -func (m *MergeTargetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MergeTargetRequest.Merge(m, src) -} -func (m *MergeTargetRequest) XXX_Size() int { - return xxx_messageInfo_MergeTargetRequest.Size(m) -} -func (m *MergeTargetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MergeTargetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MergeTargetRequest proto.InternalMessageInfo - -func (m *MergeTargetRequest) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} - -func (m *MergeTargetRequest) GetTarget() *Target { - if m != nil { - return m.Target - } - return nil -} - -func (m *MergeTargetRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -func (m *MergeTargetRequest) GetAuthorizationToken() string { - if m != nil { - return m.AuthorizationToken - } - return "" -} - -func (m *MergeTargetRequest) GetCreateIfNotFound() bool { - if m != nil { - return m.CreateIfNotFound - } - return false -} - -// Request passed into FinalizeTarget -type FinalizeTargetRequest struct { - // The name of the target. Its format must be: - // invocations/${INVOCATION_ID}/targets/${url_encode(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 *FinalizeTargetRequest) Reset() { *m = FinalizeTargetRequest{} } -func (m *FinalizeTargetRequest) String() string { return proto.CompactTextString(m) } -func (*FinalizeTargetRequest) ProtoMessage() {} -func (*FinalizeTargetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3c379de3a2f884aa, []int{11} -} - -func (m *FinalizeTargetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FinalizeTargetRequest.Unmarshal(m, b) -} -func (m *FinalizeTargetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FinalizeTargetRequest.Marshal(b, m, deterministic) -} -func (m *FinalizeTargetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FinalizeTargetRequest.Merge(m, src) -} -func (m *FinalizeTargetRequest) XXX_Size() int { - return xxx_messageInfo_FinalizeTargetRequest.Size(m) -} -func (m *FinalizeTargetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FinalizeTargetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_FinalizeTargetRequest proto.InternalMessageInfo - -func (m *FinalizeTargetRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *FinalizeTargetRequest) GetAuthorizationToken() string { - if m != nil { - return m.AuthorizationToken - } - return "" -} - -// Response returned from FinalizeTarget -type FinalizeTargetResponse struct { - // The name of the target. Its format will be: - // invocations/${INVOCATION_ID}/targets/${url_encode(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 *FinalizeTargetResponse) Reset() { *m = FinalizeTargetResponse{} } -func (m *FinalizeTargetResponse) String() string { return proto.CompactTextString(m) } -func (*FinalizeTargetResponse) ProtoMessage() {} -func (*FinalizeTargetResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3c379de3a2f884aa, []int{12} -} - -func (m *FinalizeTargetResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FinalizeTargetResponse.Unmarshal(m, b) -} -func (m *FinalizeTargetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FinalizeTargetResponse.Marshal(b, m, deterministic) -} -func (m *FinalizeTargetResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FinalizeTargetResponse.Merge(m, src) -} -func (m *FinalizeTargetResponse) XXX_Size() int { - return xxx_messageInfo_FinalizeTargetResponse.Size(m) -} -func (m *FinalizeTargetResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FinalizeTargetResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_FinalizeTargetResponse proto.InternalMessageInfo - -func (m *FinalizeTargetResponse) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *FinalizeTargetResponse) 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 Unicode characters. - 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/${url_encode(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_3c379de3a2f884aa, []int{13} -} - -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 (m *CreateConfiguredTargetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateConfiguredTargetRequest.Merge(m, 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/${url_encode(TARGET_ID)}/configuredTargets/${url_encode(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"` - // If true then the Update operation will become a Create operation if the - // ConfiguredTarget is NOT_FOUND. - CreateIfNotFound bool `protobuf:"varint,6,opt,name=create_if_not_found,json=createIfNotFound,proto3" json:"create_if_not_found,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_3c379de3a2f884aa, []int{14} -} - -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 (m *UpdateConfiguredTargetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateConfiguredTargetRequest.Merge(m, 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 "" -} - -func (m *UpdateConfiguredTargetRequest) GetCreateIfNotFound() bool { - if m != nil { - return m.CreateIfNotFound - } - return false -} - -// Request passed into MergeConfiguredTarget -type MergeConfiguredTargetRequest 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 Unicode characters. - RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - // Contains the name and the fields of the configured target to be merged. - // The name format must be: - // invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)}/configuredTargets/${url_encode(CONFIG_ID)} - ConfiguredTarget *ConfiguredTarget `protobuf:"bytes,3,opt,name=configured_target,json=configuredTarget,proto3" json:"configured_target,omitempty"` - // Indicates which fields to merge. - 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"` - // If true then the Merge operation will become a Create operation if the - // ConfiguredTarget is NOT_FOUND. - CreateIfNotFound bool `protobuf:"varint,6,opt,name=create_if_not_found,json=createIfNotFound,proto3" json:"create_if_not_found,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MergeConfiguredTargetRequest) Reset() { *m = MergeConfiguredTargetRequest{} } -func (m *MergeConfiguredTargetRequest) String() string { return proto.CompactTextString(m) } -func (*MergeConfiguredTargetRequest) ProtoMessage() {} -func (*MergeConfiguredTargetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3c379de3a2f884aa, []int{15} -} - -func (m *MergeConfiguredTargetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MergeConfiguredTargetRequest.Unmarshal(m, b) -} -func (m *MergeConfiguredTargetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MergeConfiguredTargetRequest.Marshal(b, m, deterministic) -} -func (m *MergeConfiguredTargetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MergeConfiguredTargetRequest.Merge(m, src) -} -func (m *MergeConfiguredTargetRequest) XXX_Size() int { - return xxx_messageInfo_MergeConfiguredTargetRequest.Size(m) -} -func (m *MergeConfiguredTargetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MergeConfiguredTargetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MergeConfiguredTargetRequest proto.InternalMessageInfo - -func (m *MergeConfiguredTargetRequest) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} - -func (m *MergeConfiguredTargetRequest) GetConfiguredTarget() *ConfiguredTarget { - if m != nil { - return m.ConfiguredTarget - } - return nil -} - -func (m *MergeConfiguredTargetRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -func (m *MergeConfiguredTargetRequest) GetAuthorizationToken() string { - if m != nil { - return m.AuthorizationToken - } - return "" -} - -func (m *MergeConfiguredTargetRequest) GetCreateIfNotFound() bool { - if m != nil { - return m.CreateIfNotFound - } - return false -} - -// Request passed into FinalizeConfiguredTarget -type FinalizeConfiguredTargetRequest struct { - // The name of the configured target. Its format must be: - // invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)}/configuredTargets/${url_encode(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 *FinalizeConfiguredTargetRequest) Reset() { *m = FinalizeConfiguredTargetRequest{} } -func (m *FinalizeConfiguredTargetRequest) String() string { return proto.CompactTextString(m) } -func (*FinalizeConfiguredTargetRequest) ProtoMessage() {} -func (*FinalizeConfiguredTargetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3c379de3a2f884aa, []int{16} -} - -func (m *FinalizeConfiguredTargetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FinalizeConfiguredTargetRequest.Unmarshal(m, b) -} -func (m *FinalizeConfiguredTargetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FinalizeConfiguredTargetRequest.Marshal(b, m, deterministic) -} -func (m *FinalizeConfiguredTargetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FinalizeConfiguredTargetRequest.Merge(m, src) -} -func (m *FinalizeConfiguredTargetRequest) XXX_Size() int { - return xxx_messageInfo_FinalizeConfiguredTargetRequest.Size(m) -} -func (m *FinalizeConfiguredTargetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FinalizeConfiguredTargetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_FinalizeConfiguredTargetRequest proto.InternalMessageInfo - -func (m *FinalizeConfiguredTargetRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *FinalizeConfiguredTargetRequest) GetAuthorizationToken() string { - if m != nil { - return m.AuthorizationToken - } - return "" -} - -// Response returned from FinalizeConfiguredTarget -type FinalizeConfiguredTargetResponse struct { - // The name of the configured target. Its format must be: - // invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)}/configuredTargets/${url_encode(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 *FinalizeConfiguredTargetResponse) Reset() { *m = FinalizeConfiguredTargetResponse{} } -func (m *FinalizeConfiguredTargetResponse) String() string { return proto.CompactTextString(m) } -func (*FinalizeConfiguredTargetResponse) ProtoMessage() {} -func (*FinalizeConfiguredTargetResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3c379de3a2f884aa, []int{17} -} - -func (m *FinalizeConfiguredTargetResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FinalizeConfiguredTargetResponse.Unmarshal(m, b) -} -func (m *FinalizeConfiguredTargetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FinalizeConfiguredTargetResponse.Marshal(b, m, deterministic) -} -func (m *FinalizeConfiguredTargetResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FinalizeConfiguredTargetResponse.Merge(m, src) -} -func (m *FinalizeConfiguredTargetResponse) XXX_Size() int { - return xxx_messageInfo_FinalizeConfiguredTargetResponse.Size(m) -} -func (m *FinalizeConfiguredTargetResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FinalizeConfiguredTargetResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_FinalizeConfiguredTargetResponse proto.InternalMessageInfo - -func (m *FinalizeConfiguredTargetResponse) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *FinalizeConfiguredTargetResponse) 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 Unicode characters. - 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/${url_encode(TARGET_ID)}/configuredTargets/${url_encode(CONFIG_ID)} - Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"` - // The action identifier. It can be any string up to 512 Unicode characters - // long, except for the reserved id '-'. - // - // Recommended IDs for Test Actions: - // "test": For a single test action. - // "test_shard0_run0_attempt0" ... "test_shard9_run9_attempt9": For tests with - // shard/run/attempts. - // - // Recommended IDs for Build Actions: - // "build": If you only have a single build action. - 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_3c379de3a2f884aa, []int{18} -} - -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 (m *CreateActionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateActionRequest.Merge(m, 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/${url_encode(TARGET_ID)}/configuredTargets/${url_encode(CONFIG_ID)}/actions/${url_encode(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"` - // If true then the Update operation will become a Create operation if the - // Action is NOT_FOUND. - CreateIfNotFound bool `protobuf:"varint,6,opt,name=create_if_not_found,json=createIfNotFound,proto3" json:"create_if_not_found,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_3c379de3a2f884aa, []int{19} -} - -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 (m *UpdateActionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateActionRequest.Merge(m, 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 "" -} - -func (m *UpdateActionRequest) GetCreateIfNotFound() bool { - if m != nil { - return m.CreateIfNotFound - } - return false -} - -// Request passed into MergeAction -type MergeActionRequest 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 Unicode characters. - RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - // Contains the name and the fields of the action to be merged. The - // name format must be: - // invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)}/configuredTargets/${url_encode(CONFIG_ID)}/actions/${url_encode(ACTION_ID)} - Action *Action `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"` - // Indicates which fields to merge. - 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"` - // If true then the Merge operation will become a Create operation if the - // Action is NOT_FOUND. - CreateIfNotFound bool `protobuf:"varint,6,opt,name=create_if_not_found,json=createIfNotFound,proto3" json:"create_if_not_found,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MergeActionRequest) Reset() { *m = MergeActionRequest{} } -func (m *MergeActionRequest) String() string { return proto.CompactTextString(m) } -func (*MergeActionRequest) ProtoMessage() {} -func (*MergeActionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3c379de3a2f884aa, []int{20} -} - -func (m *MergeActionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MergeActionRequest.Unmarshal(m, b) -} -func (m *MergeActionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MergeActionRequest.Marshal(b, m, deterministic) -} -func (m *MergeActionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MergeActionRequest.Merge(m, src) -} -func (m *MergeActionRequest) XXX_Size() int { - return xxx_messageInfo_MergeActionRequest.Size(m) -} -func (m *MergeActionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MergeActionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MergeActionRequest proto.InternalMessageInfo - -func (m *MergeActionRequest) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} - -func (m *MergeActionRequest) GetAction() *Action { - if m != nil { - return m.Action - } - return nil -} - -func (m *MergeActionRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -func (m *MergeActionRequest) GetAuthorizationToken() string { - if m != nil { - return m.AuthorizationToken - } - return "" -} - -func (m *MergeActionRequest) GetCreateIfNotFound() bool { - if m != nil { - return m.CreateIfNotFound - } - return false -} - -// 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 Unicode characters. - 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 string up to 256 Unicode - // characters 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_3c379de3a2f884aa, []int{21} -} - -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 (m *CreateConfigurationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateConfigurationRequest.Merge(m, 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/${url_encode(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"` - // If true then the Update operation will become a Create operation if the - // Configuration is NOT_FOUND. - CreateIfNotFound bool `protobuf:"varint,6,opt,name=create_if_not_found,json=createIfNotFound,proto3" json:"create_if_not_found,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_3c379de3a2f884aa, []int{22} -} - -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 (m *UpdateConfigurationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateConfigurationRequest.Merge(m, 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 "" -} - -func (m *UpdateConfigurationRequest) GetCreateIfNotFound() bool { - if m != nil { - return m.CreateIfNotFound - } - return false -} - -// 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 Unicode characters. - 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 string up to 256 Unicode characters - // 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_3c379de3a2f884aa, []int{23} -} - -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 (m *CreateFileSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateFileSetRequest.Merge(m, 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/${url_encode(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"` - // If true then the Update operation will become a Create operation if the - // FileSet is NOT_FOUND. - CreateIfNotFound bool `protobuf:"varint,4,opt,name=create_if_not_found,json=createIfNotFound,proto3" json:"create_if_not_found,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_3c379de3a2f884aa, []int{24} -} - -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 (m *UpdateFileSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateFileSetRequest.Merge(m, 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 (m *UpdateFileSetRequest) GetCreateIfNotFound() bool { - if m != nil { - return m.CreateIfNotFound - } - return false -} - -// Request passed into MergeFileSet -type MergeFileSetRequest 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 Unicode characters. - RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - // Contains the name and fields of the file set to be merged. The name - // format must be: - // invocations/${INVOCATION_ID}/fileSets/${url_encode(FILE_SET_ID)} - FileSet *FileSet `protobuf:"bytes,2,opt,name=file_set,json=fileSet,proto3" json:"file_set,omitempty"` - // Indicates which fields to merge. - UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,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,4,opt,name=authorization_token,json=authorizationToken,proto3" json:"authorization_token,omitempty"` - // If true then the Merge operation will become a Create operation if the - // FileSet is NOT_FOUND. - CreateIfNotFound bool `protobuf:"varint,5,opt,name=create_if_not_found,json=createIfNotFound,proto3" json:"create_if_not_found,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MergeFileSetRequest) Reset() { *m = MergeFileSetRequest{} } -func (m *MergeFileSetRequest) String() string { return proto.CompactTextString(m) } -func (*MergeFileSetRequest) ProtoMessage() {} -func (*MergeFileSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3c379de3a2f884aa, []int{25} -} - -func (m *MergeFileSetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MergeFileSetRequest.Unmarshal(m, b) -} -func (m *MergeFileSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MergeFileSetRequest.Marshal(b, m, deterministic) -} -func (m *MergeFileSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MergeFileSetRequest.Merge(m, src) -} -func (m *MergeFileSetRequest) XXX_Size() int { - return xxx_messageInfo_MergeFileSetRequest.Size(m) -} -func (m *MergeFileSetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MergeFileSetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MergeFileSetRequest proto.InternalMessageInfo - -func (m *MergeFileSetRequest) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} - -func (m *MergeFileSetRequest) GetFileSet() *FileSet { - if m != nil { - return m.FileSet - } - return nil -} - -func (m *MergeFileSetRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -func (m *MergeFileSetRequest) GetAuthorizationToken() string { - if m != nil { - return m.AuthorizationToken - } - return "" -} - -func (m *MergeFileSetRequest) GetCreateIfNotFound() bool { - if m != nil { - return m.CreateIfNotFound - } - return false -} - -// Request passed into UploadBatch -type UploadBatchRequest struct { - // Required. The name of the invocation being modified. - // The name format must be: invocations/${INVOCATION_ID} - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. A UUID that must match the value provided in CreateInvocationRequest. - AuthorizationToken string `protobuf:"bytes,2,opt,name=authorization_token,json=authorizationToken,proto3" json:"authorization_token,omitempty"` - // Required. The token of this batch, that will be committed in this UploadBatchRequest. - // If this matches the previously uploaded resume_token, then this request - // will silently do nothing. - // See CreateInvocationRequest.initial_resume_token for more information. - // Must be web safe Base64 encoded bytes. - NextResumeToken string `protobuf:"bytes,3,opt,name=next_resume_token,json=nextResumeToken,proto3" json:"next_resume_token,omitempty"` - // Required. The token of the previous batch that was committed in a UploadBatchRequest. - // This will be checked after next_resume_token match is checked. If this does - // not match the previously uploaded resume_token, a 409 Conflict (HTTPS) or - // ABORTED (gRPC ) error code indicating a concurrency - // failure will be returned, and that the user should call - // GetInvocationUploadMetadata to fetch the current resume_token to - // reconstruct the state of the upload to resume it. - // See CreateInvocationRequest.initial_resume_token for more information. - // Must be web safe Base64 encoded bytes. - ResumeToken string `protobuf:"bytes,4,opt,name=resume_token,json=resumeToken,proto3" json:"resume_token,omitempty"` - // Client-specific data used to resume batch upload if an error occurs and - // retry is needed. This serves a role closely related to resume_token, as - // both fields may be used to provide state required to restore a Batch - // Upload, but they differ in two important aspects: - // - it is not compared to previous values, and as such does not provide - // concurrency control; - // - it allows for a larger payload, since the contents are never - // inspected/compared; - // The size of the message must be within 1 MiB. Too large requests will be - // rejected. - UploaderState []byte `protobuf:"bytes,6,opt,name=uploader_state,json=uploaderState,proto3" json:"uploader_state,omitempty"` - // The individual upload requests for this batch. - // The recommend total size for a batch is 10 MiB. Too large requests may be - // rejected. - // This field may be empty, allowing this RPC to be used like TouchInvocation. - UploadRequests []*UploadRequest `protobuf:"bytes,5,rep,name=upload_requests,json=uploadRequests,proto3" json:"upload_requests,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UploadBatchRequest) Reset() { *m = UploadBatchRequest{} } -func (m *UploadBatchRequest) String() string { return proto.CompactTextString(m) } -func (*UploadBatchRequest) ProtoMessage() {} -func (*UploadBatchRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3c379de3a2f884aa, []int{26} -} - -func (m *UploadBatchRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UploadBatchRequest.Unmarshal(m, b) -} -func (m *UploadBatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UploadBatchRequest.Marshal(b, m, deterministic) -} -func (m *UploadBatchRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UploadBatchRequest.Merge(m, src) -} -func (m *UploadBatchRequest) XXX_Size() int { - return xxx_messageInfo_UploadBatchRequest.Size(m) -} -func (m *UploadBatchRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UploadBatchRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UploadBatchRequest proto.InternalMessageInfo - -func (m *UploadBatchRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *UploadBatchRequest) GetAuthorizationToken() string { - if m != nil { - return m.AuthorizationToken - } - return "" -} - -func (m *UploadBatchRequest) GetNextResumeToken() string { - if m != nil { - return m.NextResumeToken - } - return "" -} - -func (m *UploadBatchRequest) GetResumeToken() string { - if m != nil { - return m.ResumeToken - } - return "" -} - -func (m *UploadBatchRequest) GetUploaderState() []byte { - if m != nil { - return m.UploaderState - } - return nil -} - -func (m *UploadBatchRequest) GetUploadRequests() []*UploadRequest { - if m != nil { - return m.UploadRequests - } - return nil -} - -// Response for UploadBatch -type UploadBatchResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UploadBatchResponse) Reset() { *m = UploadBatchResponse{} } -func (m *UploadBatchResponse) String() string { return proto.CompactTextString(m) } -func (*UploadBatchResponse) ProtoMessage() {} -func (*UploadBatchResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3c379de3a2f884aa, []int{27} -} - -func (m *UploadBatchResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UploadBatchResponse.Unmarshal(m, b) -} -func (m *UploadBatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UploadBatchResponse.Marshal(b, m, deterministic) -} -func (m *UploadBatchResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UploadBatchResponse.Merge(m, src) -} -func (m *UploadBatchResponse) XXX_Size() int { - return xxx_messageInfo_UploadBatchResponse.Size(m) -} -func (m *UploadBatchResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UploadBatchResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_UploadBatchResponse proto.InternalMessageInfo - -// The individual upload requests for this batch. -type UploadRequest struct { - // The resource ID components that identify the resource being uploaded. - Id *UploadRequest_Id `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // The operation for the request (e.g. Create(), Update(), etc.) - UploadOperation UploadRequest_UploadOperation `protobuf:"varint,2,opt,name=upload_operation,json=uploadOperation,proto3,enum=google.devtools.resultstore.v2.UploadRequest_UploadOperation" json:"upload_operation,omitempty"` - // Required for Update and Merge operations. - // Ignored for Create and Finalize operations. - // Masks the fields of the resource being uploaded. Provides support for a - // more granular upload. - // FieldMask must match one of the follow patterns, where * means any single - // field name: - // Invocation: [*, status_attributes.*, timing.*, invocation_attributes.*, - // workspace_info.*]. - // Target: [*, status_attributes.*, timing.*]. - // Configuration: [*, status_attributes.*]. - // ConfiguredTarget: [*, status_attributes.*]. - // Action: [*, status_attributes.*, timing.*, test_action.test_suite, - // test_action.infrastructure_failure_info]. - // FileSet: [*]. - UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` - // If true then the Update, Merge operation will become a Create operation if - // the resource is NOT_FOUND. - CreateIfNotFound bool `protobuf:"varint,10,opt,name=create_if_not_found,json=createIfNotFound,proto3" json:"create_if_not_found,omitempty"` - // The proto of the resource being uploaded. - // - // Types that are valid to be assigned to Resource: - // *UploadRequest_Invocation - // *UploadRequest_Target - // *UploadRequest_Configuration - // *UploadRequest_ConfiguredTarget - // *UploadRequest_Action - // *UploadRequest_FileSet - Resource isUploadRequest_Resource `protobuf_oneof:"resource"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UploadRequest) Reset() { *m = UploadRequest{} } -func (m *UploadRequest) String() string { return proto.CompactTextString(m) } -func (*UploadRequest) ProtoMessage() {} -func (*UploadRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3c379de3a2f884aa, []int{28} -} - -func (m *UploadRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UploadRequest.Unmarshal(m, b) -} -func (m *UploadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UploadRequest.Marshal(b, m, deterministic) -} -func (m *UploadRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UploadRequest.Merge(m, src) -} -func (m *UploadRequest) XXX_Size() int { - return xxx_messageInfo_UploadRequest.Size(m) -} -func (m *UploadRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UploadRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UploadRequest proto.InternalMessageInfo - -func (m *UploadRequest) GetId() *UploadRequest_Id { - if m != nil { - return m.Id - } - return nil -} - -func (m *UploadRequest) GetUploadOperation() UploadRequest_UploadOperation { - if m != nil { - return m.UploadOperation - } - return UploadRequest_UPLOAD_OPERATION_UNSPECIFIED -} - -func (m *UploadRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -func (m *UploadRequest) GetCreateIfNotFound() bool { - if m != nil { - return m.CreateIfNotFound - } - return false -} - -type isUploadRequest_Resource interface { - isUploadRequest_Resource() -} - -type UploadRequest_Invocation struct { - Invocation *Invocation `protobuf:"bytes,4,opt,name=invocation,proto3,oneof"` -} - -type UploadRequest_Target struct { - Target *Target `protobuf:"bytes,5,opt,name=target,proto3,oneof"` -} - -type UploadRequest_Configuration struct { - Configuration *Configuration `protobuf:"bytes,6,opt,name=configuration,proto3,oneof"` -} - -type UploadRequest_ConfiguredTarget struct { - ConfiguredTarget *ConfiguredTarget `protobuf:"bytes,7,opt,name=configured_target,json=configuredTarget,proto3,oneof"` -} - -type UploadRequest_Action struct { - Action *Action `protobuf:"bytes,8,opt,name=action,proto3,oneof"` -} - -type UploadRequest_FileSet struct { - FileSet *FileSet `protobuf:"bytes,9,opt,name=file_set,json=fileSet,proto3,oneof"` -} - -func (*UploadRequest_Invocation) isUploadRequest_Resource() {} - -func (*UploadRequest_Target) isUploadRequest_Resource() {} - -func (*UploadRequest_Configuration) isUploadRequest_Resource() {} - -func (*UploadRequest_ConfiguredTarget) isUploadRequest_Resource() {} - -func (*UploadRequest_Action) isUploadRequest_Resource() {} - -func (*UploadRequest_FileSet) isUploadRequest_Resource() {} - -func (m *UploadRequest) GetResource() isUploadRequest_Resource { - if m != nil { - return m.Resource - } - return nil -} - -func (m *UploadRequest) GetInvocation() *Invocation { - if x, ok := m.GetResource().(*UploadRequest_Invocation); ok { - return x.Invocation - } - return nil -} - -func (m *UploadRequest) GetTarget() *Target { - if x, ok := m.GetResource().(*UploadRequest_Target); ok { - return x.Target - } - return nil -} - -func (m *UploadRequest) GetConfiguration() *Configuration { - if x, ok := m.GetResource().(*UploadRequest_Configuration); ok { - return x.Configuration - } - return nil -} - -func (m *UploadRequest) GetConfiguredTarget() *ConfiguredTarget { - if x, ok := m.GetResource().(*UploadRequest_ConfiguredTarget); ok { - return x.ConfiguredTarget - } - return nil -} - -func (m *UploadRequest) GetAction() *Action { - if x, ok := m.GetResource().(*UploadRequest_Action); ok { - return x.Action - } - return nil -} - -func (m *UploadRequest) GetFileSet() *FileSet { - if x, ok := m.GetResource().(*UploadRequest_FileSet); ok { - return x.FileSet - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*UploadRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*UploadRequest_Invocation)(nil), - (*UploadRequest_Target)(nil), - (*UploadRequest_Configuration)(nil), - (*UploadRequest_ConfiguredTarget)(nil), - (*UploadRequest_Action)(nil), - (*UploadRequest_FileSet)(nil), - } -} - -// The resource ID components that identify the resource being uploaded. -type UploadRequest_Id struct { - // Required for Target, ConfiguredTarget, or Action. - // The Target ID. - TargetId string `protobuf:"bytes,1,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"` - // Required for Configuration, ConfiguredTarget, or Action. - // The Configuration ID. - ConfigurationId string `protobuf:"bytes,2,opt,name=configuration_id,json=configurationId,proto3" json:"configuration_id,omitempty"` - // Required for Action. - // The Action ID. - ActionId string `protobuf:"bytes,3,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` - // Required for FileSet. - // The FileSet ID. - FileSetId string `protobuf:"bytes,4,opt,name=file_set_id,json=fileSetId,proto3" json:"file_set_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UploadRequest_Id) Reset() { *m = UploadRequest_Id{} } -func (m *UploadRequest_Id) String() string { return proto.CompactTextString(m) } -func (*UploadRequest_Id) ProtoMessage() {} -func (*UploadRequest_Id) Descriptor() ([]byte, []int) { - return fileDescriptor_3c379de3a2f884aa, []int{28, 0} -} - -func (m *UploadRequest_Id) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UploadRequest_Id.Unmarshal(m, b) -} -func (m *UploadRequest_Id) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UploadRequest_Id.Marshal(b, m, deterministic) -} -func (m *UploadRequest_Id) XXX_Merge(src proto.Message) { - xxx_messageInfo_UploadRequest_Id.Merge(m, src) -} -func (m *UploadRequest_Id) XXX_Size() int { - return xxx_messageInfo_UploadRequest_Id.Size(m) -} -func (m *UploadRequest_Id) XXX_DiscardUnknown() { - xxx_messageInfo_UploadRequest_Id.DiscardUnknown(m) -} - -var xxx_messageInfo_UploadRequest_Id proto.InternalMessageInfo - -func (m *UploadRequest_Id) GetTargetId() string { - if m != nil { - return m.TargetId - } - return "" -} - -func (m *UploadRequest_Id) GetConfigurationId() string { - if m != nil { - return m.ConfigurationId - } - return "" -} - -func (m *UploadRequest_Id) GetActionId() string { - if m != nil { - return m.ActionId - } - return "" -} - -func (m *UploadRequest_Id) GetFileSetId() string { - if m != nil { - return m.FileSetId - } - return "" -} - -// Request passed into GetInvocationUploadMetadata -type GetInvocationUploadMetadataRequest struct { - // Required - // The name of the UploadMetadata being requested. - // The name format must be: invocations/${INVOCATION_ID}/uploadMetadata - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. A UUID that must match the value provided in CreateInvocationRequest. - AuthorizationToken string `protobuf:"bytes,2,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 *GetInvocationUploadMetadataRequest) Reset() { *m = GetInvocationUploadMetadataRequest{} } -func (m *GetInvocationUploadMetadataRequest) String() string { return proto.CompactTextString(m) } -func (*GetInvocationUploadMetadataRequest) ProtoMessage() {} -func (*GetInvocationUploadMetadataRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3c379de3a2f884aa, []int{29} -} - -func (m *GetInvocationUploadMetadataRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetInvocationUploadMetadataRequest.Unmarshal(m, b) -} -func (m *GetInvocationUploadMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetInvocationUploadMetadataRequest.Marshal(b, m, deterministic) -} -func (m *GetInvocationUploadMetadataRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetInvocationUploadMetadataRequest.Merge(m, src) -} -func (m *GetInvocationUploadMetadataRequest) XXX_Size() int { - return xxx_messageInfo_GetInvocationUploadMetadataRequest.Size(m) -} -func (m *GetInvocationUploadMetadataRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetInvocationUploadMetadataRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetInvocationUploadMetadataRequest proto.InternalMessageInfo - -func (m *GetInvocationUploadMetadataRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *GetInvocationUploadMetadataRequest) GetAuthorizationToken() string { - if m != nil { - return m.AuthorizationToken - } - return "" -} - -func init() { - proto.RegisterEnum("google.devtools.resultstore.v2.UploadRequest_UploadOperation", UploadRequest_UploadOperation_name, UploadRequest_UploadOperation_value) - proto.RegisterType((*CreateInvocationRequest)(nil), "google.devtools.resultstore.v2.CreateInvocationRequest") - proto.RegisterType((*UpdateInvocationRequest)(nil), "google.devtools.resultstore.v2.UpdateInvocationRequest") - proto.RegisterType((*MergeInvocationRequest)(nil), "google.devtools.resultstore.v2.MergeInvocationRequest") - proto.RegisterType((*TouchInvocationRequest)(nil), "google.devtools.resultstore.v2.TouchInvocationRequest") - proto.RegisterType((*TouchInvocationResponse)(nil), "google.devtools.resultstore.v2.TouchInvocationResponse") - proto.RegisterType((*DeleteInvocationRequest)(nil), "google.devtools.resultstore.v2.DeleteInvocationRequest") - proto.RegisterType((*FinalizeInvocationRequest)(nil), "google.devtools.resultstore.v2.FinalizeInvocationRequest") - proto.RegisterType((*FinalizeInvocationResponse)(nil), "google.devtools.resultstore.v2.FinalizeInvocationResponse") - proto.RegisterType((*CreateTargetRequest)(nil), "google.devtools.resultstore.v2.CreateTargetRequest") - proto.RegisterType((*UpdateTargetRequest)(nil), "google.devtools.resultstore.v2.UpdateTargetRequest") - proto.RegisterType((*MergeTargetRequest)(nil), "google.devtools.resultstore.v2.MergeTargetRequest") - proto.RegisterType((*FinalizeTargetRequest)(nil), "google.devtools.resultstore.v2.FinalizeTargetRequest") - proto.RegisterType((*FinalizeTargetResponse)(nil), "google.devtools.resultstore.v2.FinalizeTargetResponse") - proto.RegisterType((*CreateConfiguredTargetRequest)(nil), "google.devtools.resultstore.v2.CreateConfiguredTargetRequest") - proto.RegisterType((*UpdateConfiguredTargetRequest)(nil), "google.devtools.resultstore.v2.UpdateConfiguredTargetRequest") - proto.RegisterType((*MergeConfiguredTargetRequest)(nil), "google.devtools.resultstore.v2.MergeConfiguredTargetRequest") - proto.RegisterType((*FinalizeConfiguredTargetRequest)(nil), "google.devtools.resultstore.v2.FinalizeConfiguredTargetRequest") - proto.RegisterType((*FinalizeConfiguredTargetResponse)(nil), "google.devtools.resultstore.v2.FinalizeConfiguredTargetResponse") - proto.RegisterType((*CreateActionRequest)(nil), "google.devtools.resultstore.v2.CreateActionRequest") - proto.RegisterType((*UpdateActionRequest)(nil), "google.devtools.resultstore.v2.UpdateActionRequest") - proto.RegisterType((*MergeActionRequest)(nil), "google.devtools.resultstore.v2.MergeActionRequest") - 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") - proto.RegisterType((*MergeFileSetRequest)(nil), "google.devtools.resultstore.v2.MergeFileSetRequest") - proto.RegisterType((*UploadBatchRequest)(nil), "google.devtools.resultstore.v2.UploadBatchRequest") - proto.RegisterType((*UploadBatchResponse)(nil), "google.devtools.resultstore.v2.UploadBatchResponse") - proto.RegisterType((*UploadRequest)(nil), "google.devtools.resultstore.v2.UploadRequest") - proto.RegisterType((*UploadRequest_Id)(nil), "google.devtools.resultstore.v2.UploadRequest.Id") - proto.RegisterType((*GetInvocationUploadMetadataRequest)(nil), "google.devtools.resultstore.v2.GetInvocationUploadMetadataRequest") -} - -func init() { - proto.RegisterFile("google/devtools/resultstore/v2/resultstore_upload.proto", fileDescriptor_3c379de3a2f884aa) -} - -var fileDescriptor_3c379de3a2f884aa = []byte{ - // 2245 bytes of a gzipped FileDescri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d, 0xad, 0xac, 0x34, 0xeb, 0xb2, 0x59, 0xd5, 0x5b, 0x8d, 0xed, 0x37, - 0x41, 0xac, 0xe8, 0x8d, 0x08, 0xd4, 0x47, 0xe8, 0x8d, 0x22, 0x9f, 0x51, 0xd3, 0xeb, 0xb2, 0x56, - 0xcb, 0xea, 0xad, 0x9a, 0x54, 0x23, 0x1a, 0xbd, 0x5c, 0x4a, 0x9d, 0x6d, 0xc2, 0xfe, 0xc2, 0x7e, - 0xc5, 0xf5, 0xfa, 0x70, 0x94, 0x52, 0xad, 0xfe, 0x27, 0x00, 0x00, 0xff, 0xff, 0xf3, 0x0c, 0x10, - 0x4d, 0x57, 0x2f, 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 - -// 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. - // - // 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 finalized. - // - If no field mask was given. - UpdateInvocation(ctx context.Context, in *UpdateInvocationRequest, opts ...grpc.CallOption) (*Invocation, error) - // Applies a merge update to the invocation identified by the given proto's - // name. For primitive and message fields, replaces them with the ones in - // the given proto if they are covered under the field mask paths. For - // repeated fields, merges to them with the given ones if they are covered - // under the field mask paths. 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 the invocation does not exist. - // - If the invocation is finalized. - // - If no field mask was given. - MergeInvocation(ctx context.Context, in *MergeInvocationRequest, opts ...grpc.CallOption) (*Invocation, error) - // Touches the invocation identified by the given proto's name. - // - // This is useful when you need to notify ResultStore that you haven't - // abandoned the upload, since abandoned uploads will be automatically - // finalized after a set period. - // - // An error will be reported in the following cases: - // - If the invocation does not exist. - // - If the invocation is finalized. - TouchInvocation(ctx context.Context, in *TouchInvocationRequest, opts ...grpc.CallOption) (*TouchInvocationResponse, error) - // Declares the invocation with the given name as finalized and immutable by - // the user. It may still be mutated by post-processing. 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. - FinalizeInvocation(ctx context.Context, in *FinalizeInvocationRequest, opts ...grpc.CallOption) (*FinalizeInvocationResponse, error) - // Deletes an immutable invocation (permanently) - // Note: this does not delete indirect data, e.g. files stored in other - // services. - // - // An error will be reported in the following cases: - // - If the invocation does not exist. - // - If the invocation is not finalized. This can be retried until it is. - DeleteInvocation(ctx context.Context, in *DeleteInvocationRequest, opts ...grpc.CallOption) (*empty.Empty, 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 finalized. - // - 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 finalized. - // - If no field mask was given. - UpdateTarget(ctx context.Context, in *UpdateTargetRequest, opts ...grpc.CallOption) (*Target, error) - // Applies a merge update to the target identified by the given proto's - // name. For primitive and message fields, replaces them with the ones in the - // given proto if they are covered under the field mask paths. For repeated - // fields, merges to them with the given ones if they are covered under the - // field mask paths. 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 the target does not exist. - // - If the target or parent invocation is finalized. - // - If no field mask was given. - MergeTarget(ctx context.Context, in *MergeTargetRequest, opts ...grpc.CallOption) (*Target, error) - // Declares the target with the given name as finalized and immutable by the - // user. It may still be mutated by post-processing. This is an implicitly - // idempotent API. - // - // An error will be reported in the following cases: - // - If the target does not exist. - FinalizeTarget(ctx context.Context, in *FinalizeTargetRequest, opts ...grpc.CallOption) (*FinalizeTargetResponse, 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 finalized. - 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 finalized. - // - If no field mask was given. - UpdateConfiguredTarget(ctx context.Context, in *UpdateConfiguredTargetRequest, opts ...grpc.CallOption) (*ConfiguredTarget, error) - // Applies a merge update to the configured target identified by the given - // proto's name. For primitive and message fields, replaces them with the - // ones in the given proto if they are covered under the field mask paths. - // For repeated fields, merges to them with the given ones if they are - // covered under the field mask paths. 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 the configured target does not exist. - // - If the parent target or invocation is finalized. - // - If no field mask was given. - MergeConfiguredTarget(ctx context.Context, in *MergeConfiguredTargetRequest, opts ...grpc.CallOption) (*ConfiguredTarget, error) - // Declares the configured target with the given name as finalized and - // immutable by the user. It may still be mutated by post-processing. This is - // an implicitly idempotent API. - // - // An error will be reported in the following cases: - // - If the configured target does not exist. - FinalizeConfiguredTarget(ctx context.Context, in *FinalizeConfiguredTargetRequest, opts ...grpc.CallOption) (*FinalizeConfiguredTargetResponse, 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 finalized. - // - 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 finalized. - // - If no field mask was given. - UpdateAction(ctx context.Context, in *UpdateActionRequest, opts ...grpc.CallOption) (*Action, error) - // Applies a merge update to the action identified by the given - // proto's name. For primitive and message fields, replaces them with the - // ones in the given proto if they are covered under the field mask paths. - // For repeated fields, merges to them with the given ones if they are - // covered under the field mask paths. 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 the action does not exist. - // - If the parent target or invocation is finalized. - // - If no field mask was given. - MergeAction(ctx context.Context, in *MergeActionRequest, 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 finalized. - // - 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 finalized. - // - 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 finalized. - 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 finalized. - // - 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) - // Applies a merge update to the file set identified by the given proto's - // name. For primitive and message fields, updates them with the ones in the - // given proto if they are covered under the field mask paths. For repeated - // fields, merges to them with the given ones if they are covered under the - // field mask paths. 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 the file set does not exist. - // - If the parent invocation is finalized. - // - If a given field mask path is not valid. - // - If no field mask was given. - MergeFileSet(ctx context.Context, in *MergeFileSetRequest, opts ...grpc.CallOption) (*FileSet, error) - // This is the RPC used for batch upload. It supports uploading multiple - // resources for an invocation in a transaction safe manner. - // - // To use this RPC, the CreateInvocationRequest must have been provided a - // resume_token. - // - // Combining batch upload with normal upload on a single Invocation is not - // supported. If an Invocation is created with a resume_token, all further - // calls must be through UploadBatch. If an Invocation is created without - // resume_token normal upload, all further upload calls must be through normal - // upload RPCs. - UploadBatch(ctx context.Context, in *UploadBatchRequest, opts ...grpc.CallOption) (*UploadBatchResponse, error) - // Provides a way to read the metadata for an invocation. - // The UploadMetadata could still be retrieved by this RPC even the Invocation - // has been finalized. - // This API requires setting a response FieldMask via 'fields' URL query - // parameter or X-Goog-FieldMask HTTP/gRPC header. - // - // An error will be reported in the following case: - // - If the invocation does not exist. - // - If no field mask was given. - GetInvocationUploadMetadata(ctx context.Context, in *GetInvocationUploadMetadataRequest, opts ...grpc.CallOption) (*UploadMetadata, 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) MergeInvocation(ctx context.Context, in *MergeInvocationRequest, opts ...grpc.CallOption) (*Invocation, error) { - out := new(Invocation) - err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreUpload/MergeInvocation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *resultStoreUploadClient) TouchInvocation(ctx context.Context, in *TouchInvocationRequest, opts ...grpc.CallOption) (*TouchInvocationResponse, error) { - out := new(TouchInvocationResponse) - err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreUpload/TouchInvocation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *resultStoreUploadClient) FinalizeInvocation(ctx context.Context, in *FinalizeInvocationRequest, opts ...grpc.CallOption) (*FinalizeInvocationResponse, error) { - out := new(FinalizeInvocationResponse) - err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreUpload/FinalizeInvocation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *resultStoreUploadClient) DeleteInvocation(ctx context.Context, in *DeleteInvocationRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreUpload/DeleteInvocation", 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) MergeTarget(ctx context.Context, in *MergeTargetRequest, opts ...grpc.CallOption) (*Target, error) { - out := new(Target) - err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreUpload/MergeTarget", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *resultStoreUploadClient) FinalizeTarget(ctx context.Context, in *FinalizeTargetRequest, opts ...grpc.CallOption) (*FinalizeTargetResponse, error) { - out := new(FinalizeTargetResponse) - err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreUpload/FinalizeTarget", 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) MergeConfiguredTarget(ctx context.Context, in *MergeConfiguredTargetRequest, opts ...grpc.CallOption) (*ConfiguredTarget, error) { - out := new(ConfiguredTarget) - err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreUpload/MergeConfiguredTarget", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *resultStoreUploadClient) FinalizeConfiguredTarget(ctx context.Context, in *FinalizeConfiguredTargetRequest, opts ...grpc.CallOption) (*FinalizeConfiguredTargetResponse, error) { - out := new(FinalizeConfiguredTargetResponse) - err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreUpload/FinalizeConfiguredTarget", 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) MergeAction(ctx context.Context, in *MergeActionRequest, opts ...grpc.CallOption) (*Action, error) { - out := new(Action) - err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreUpload/MergeAction", 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 -} - -func (c *resultStoreUploadClient) MergeFileSet(ctx context.Context, in *MergeFileSetRequest, opts ...grpc.CallOption) (*FileSet, error) { - out := new(FileSet) - err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreUpload/MergeFileSet", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *resultStoreUploadClient) UploadBatch(ctx context.Context, in *UploadBatchRequest, opts ...grpc.CallOption) (*UploadBatchResponse, error) { - out := new(UploadBatchResponse) - err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreUpload/UploadBatch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *resultStoreUploadClient) GetInvocationUploadMetadata(ctx context.Context, in *GetInvocationUploadMetadataRequest, opts ...grpc.CallOption) (*UploadMetadata, error) { - out := new(UploadMetadata) - err := c.cc.Invoke(ctx, "/google.devtools.resultstore.v2.ResultStoreUpload/GetInvocationUploadMetadata", 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. - // - // 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 finalized. - // - If no field mask was given. - UpdateInvocation(context.Context, *UpdateInvocationRequest) (*Invocation, error) - // Applies a merge update to the invocation identified by the given proto's - // name. For primitive and message fields, replaces them with the ones in - // the given proto if they are covered under the field mask paths. For - // repeated fields, merges to them with the given ones if they are covered - // under the field mask paths. 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 the invocation does not exist. - // - If the invocation is finalized. - // - If no field mask was given. - MergeInvocation(context.Context, *MergeInvocationRequest) (*Invocation, error) - // Touches the invocation identified by the given proto's name. - // - // This is useful when you need to notify ResultStore that you haven't - // abandoned the upload, since abandoned uploads will be automatically - // finalized after a set period. - // - // An error will be reported in the following cases: - // - If the invocation does not exist. - // - If the invocation is finalized. - TouchInvocation(context.Context, *TouchInvocationRequest) (*TouchInvocationResponse, error) - // Declares the invocation with the given name as finalized and immutable by - // the user. It may still be mutated by post-processing. 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. - FinalizeInvocation(context.Context, *FinalizeInvocationRequest) (*FinalizeInvocationResponse, error) - // Deletes an immutable invocation (permanently) - // Note: this does not delete indirect data, e.g. files stored in other - // services. - // - // An error will be reported in the following cases: - // - If the invocation does not exist. - // - If the invocation is not finalized. This can be retried until it is. - DeleteInvocation(context.Context, *DeleteInvocationRequest) (*empty.Empty, 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 finalized. - // - 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 finalized. - // - If no field mask was given. - UpdateTarget(context.Context, *UpdateTargetRequest) (*Target, error) - // Applies a merge update to the target identified by the given proto's - // name. For primitive and message fields, replaces them with the ones in the - // given proto if they are covered under the field mask paths. For repeated - // fields, merges to them with the given ones if they are covered under the - // field mask paths. 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 the target does not exist. - // - If the target or parent invocation is finalized. - // - If no field mask was given. - MergeTarget(context.Context, *MergeTargetRequest) (*Target, error) - // Declares the target with the given name as finalized and immutable by the - // user. It may still be mutated by post-processing. This is an implicitly - // idempotent API. - // - // An error will be reported in the following cases: - // - If the target does not exist. - FinalizeTarget(context.Context, *FinalizeTargetRequest) (*FinalizeTargetResponse, 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 finalized. - 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 finalized. - // - If no field mask was given. - UpdateConfiguredTarget(context.Context, *UpdateConfiguredTargetRequest) (*ConfiguredTarget, error) - // Applies a merge update to the configured target identified by the given - // proto's name. For primitive and message fields, replaces them with the - // ones in the given proto if they are covered under the field mask paths. - // For repeated fields, merges to them with the given ones if they are - // covered under the field mask paths. 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 the configured target does not exist. - // - If the parent target or invocation is finalized. - // - If no field mask was given. - MergeConfiguredTarget(context.Context, *MergeConfiguredTargetRequest) (*ConfiguredTarget, error) - // Declares the configured target with the given name as finalized and - // immutable by the user. It may still be mutated by post-processing. This is - // an implicitly idempotent API. - // - // An error will be reported in the following cases: - // - If the configured target does not exist. - FinalizeConfiguredTarget(context.Context, *FinalizeConfiguredTargetRequest) (*FinalizeConfiguredTargetResponse, 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 finalized. - // - 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 finalized. - // - If no field mask was given. - UpdateAction(context.Context, *UpdateActionRequest) (*Action, error) - // Applies a merge update to the action identified by the given - // proto's name. For primitive and message fields, replaces them with the - // ones in the given proto if they are covered under the field mask paths. - // For repeated fields, merges to them with the given ones if they are - // covered under the field mask paths. 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 the action does not exist. - // - If the parent target or invocation is finalized. - // - If no field mask was given. - MergeAction(context.Context, *MergeActionRequest) (*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 finalized. - // - 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 finalized. - // - 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 finalized. - 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 finalized. - // - If no field mask was given. - // - If a given field mask path is not valid. - UpdateFileSet(context.Context, *UpdateFileSetRequest) (*FileSet, error) - // Applies a merge update to the file set identified by the given proto's - // name. For primitive and message fields, updates them with the ones in the - // given proto if they are covered under the field mask paths. For repeated - // fields, merges to them with the given ones if they are covered under the - // field mask paths. 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 the file set does not exist. - // - If the parent invocation is finalized. - // - If a given field mask path is not valid. - // - If no field mask was given. - MergeFileSet(context.Context, *MergeFileSetRequest) (*FileSet, error) - // This is the RPC used for batch upload. It supports uploading multiple - // resources for an invocation in a transaction safe manner. - // - // To use this RPC, the CreateInvocationRequest must have been provided a - // resume_token. - // - // Combining batch upload with normal upload on a single Invocation is not - // supported. If an Invocation is created with a resume_token, all further - // calls must be through UploadBatch. If an Invocation is created without - // resume_token normal upload, all further upload calls must be through normal - // upload RPCs. - UploadBatch(context.Context, *UploadBatchRequest) (*UploadBatchResponse, error) - // Provides a way to read the metadata for an invocation. - // The UploadMetadata could still be retrieved by this RPC even the Invocation - // has been finalized. - // This API requires setting a response FieldMask via 'fields' URL query - // parameter or X-Goog-FieldMask HTTP/gRPC header. - // - // An error will be reported in the following case: - // - If the invocation does not exist. - // - If no field mask was given. - GetInvocationUploadMetadata(context.Context, *GetInvocationUploadMetadataRequest) (*UploadMetadata, error) -} - -// UnimplementedResultStoreUploadServer can be embedded to have forward compatible implementations. -type UnimplementedResultStoreUploadServer struct { -} - -func (*UnimplementedResultStoreUploadServer) CreateInvocation(ctx context.Context, req *CreateInvocationRequest) (*Invocation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateInvocation not implemented") -} -func (*UnimplementedResultStoreUploadServer) UpdateInvocation(ctx context.Context, req *UpdateInvocationRequest) (*Invocation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateInvocation not implemented") -} -func (*UnimplementedResultStoreUploadServer) MergeInvocation(ctx context.Context, req *MergeInvocationRequest) (*Invocation, error) { - return nil, status.Errorf(codes.Unimplemented, "method MergeInvocation not implemented") -} -func (*UnimplementedResultStoreUploadServer) TouchInvocation(ctx context.Context, req *TouchInvocationRequest) (*TouchInvocationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TouchInvocation not implemented") -} -func (*UnimplementedResultStoreUploadServer) FinalizeInvocation(ctx context.Context, req *FinalizeInvocationRequest) (*FinalizeInvocationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method FinalizeInvocation not implemented") -} -func (*UnimplementedResultStoreUploadServer) DeleteInvocation(ctx context.Context, req *DeleteInvocationRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteInvocation not implemented") -} -func (*UnimplementedResultStoreUploadServer) CreateTarget(ctx context.Context, req *CreateTargetRequest) (*Target, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateTarget not implemented") -} -func (*UnimplementedResultStoreUploadServer) UpdateTarget(ctx context.Context, req *UpdateTargetRequest) (*Target, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateTarget not implemented") -} -func (*UnimplementedResultStoreUploadServer) MergeTarget(ctx context.Context, req *MergeTargetRequest) (*Target, error) { - return nil, status.Errorf(codes.Unimplemented, "method MergeTarget not implemented") -} -func (*UnimplementedResultStoreUploadServer) FinalizeTarget(ctx context.Context, req *FinalizeTargetRequest) (*FinalizeTargetResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method FinalizeTarget not implemented") -} -func (*UnimplementedResultStoreUploadServer) CreateConfiguredTarget(ctx context.Context, req *CreateConfiguredTargetRequest) (*ConfiguredTarget, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateConfiguredTarget not implemented") -} -func (*UnimplementedResultStoreUploadServer) UpdateConfiguredTarget(ctx context.Context, req *UpdateConfiguredTargetRequest) (*ConfiguredTarget, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateConfiguredTarget not implemented") -} -func (*UnimplementedResultStoreUploadServer) MergeConfiguredTarget(ctx context.Context, req *MergeConfiguredTargetRequest) (*ConfiguredTarget, error) { - return nil, status.Errorf(codes.Unimplemented, "method MergeConfiguredTarget not implemented") -} -func (*UnimplementedResultStoreUploadServer) FinalizeConfiguredTarget(ctx context.Context, req *FinalizeConfiguredTargetRequest) (*FinalizeConfiguredTargetResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method FinalizeConfiguredTarget not implemented") -} -func (*UnimplementedResultStoreUploadServer) CreateAction(ctx context.Context, req *CreateActionRequest) (*Action, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateAction not implemented") -} -func (*UnimplementedResultStoreUploadServer) UpdateAction(ctx context.Context, req *UpdateActionRequest) (*Action, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateAction not implemented") -} -func (*UnimplementedResultStoreUploadServer) MergeAction(ctx context.Context, req *MergeActionRequest) (*Action, error) { - return nil, status.Errorf(codes.Unimplemented, "method MergeAction not implemented") -} -func (*UnimplementedResultStoreUploadServer) CreateConfiguration(ctx context.Context, req *CreateConfigurationRequest) (*Configuration, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateConfiguration not implemented") -} -func (*UnimplementedResultStoreUploadServer) UpdateConfiguration(ctx context.Context, req *UpdateConfigurationRequest) (*Configuration, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateConfiguration not implemented") -} -func (*UnimplementedResultStoreUploadServer) CreateFileSet(ctx context.Context, req *CreateFileSetRequest) (*FileSet, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateFileSet not implemented") -} -func (*UnimplementedResultStoreUploadServer) UpdateFileSet(ctx context.Context, req *UpdateFileSetRequest) (*FileSet, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateFileSet not implemented") -} -func (*UnimplementedResultStoreUploadServer) MergeFileSet(ctx context.Context, req *MergeFileSetRequest) (*FileSet, error) { - return nil, status.Errorf(codes.Unimplemented, "method MergeFileSet not implemented") -} -func (*UnimplementedResultStoreUploadServer) UploadBatch(ctx context.Context, req *UploadBatchRequest) (*UploadBatchResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UploadBatch not implemented") -} -func (*UnimplementedResultStoreUploadServer) GetInvocationUploadMetadata(ctx context.Context, req *GetInvocationUploadMetadataRequest) (*UploadMetadata, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetInvocationUploadMetadata not implemented") -} - -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_MergeInvocation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MergeInvocationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ResultStoreUploadServer).MergeInvocation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.resultstore.v2.ResultStoreUpload/MergeInvocation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResultStoreUploadServer).MergeInvocation(ctx, req.(*MergeInvocationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ResultStoreUpload_TouchInvocation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TouchInvocationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ResultStoreUploadServer).TouchInvocation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.resultstore.v2.ResultStoreUpload/TouchInvocation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResultStoreUploadServer).TouchInvocation(ctx, req.(*TouchInvocationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ResultStoreUpload_FinalizeInvocation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(FinalizeInvocationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ResultStoreUploadServer).FinalizeInvocation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.resultstore.v2.ResultStoreUpload/FinalizeInvocation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResultStoreUploadServer).FinalizeInvocation(ctx, req.(*FinalizeInvocationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ResultStoreUpload_DeleteInvocation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteInvocationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ResultStoreUploadServer).DeleteInvocation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.resultstore.v2.ResultStoreUpload/DeleteInvocation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResultStoreUploadServer).DeleteInvocation(ctx, req.(*DeleteInvocationRequest)) - } - 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_MergeTarget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MergeTargetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ResultStoreUploadServer).MergeTarget(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.resultstore.v2.ResultStoreUpload/MergeTarget", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResultStoreUploadServer).MergeTarget(ctx, req.(*MergeTargetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ResultStoreUpload_FinalizeTarget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(FinalizeTargetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ResultStoreUploadServer).FinalizeTarget(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.resultstore.v2.ResultStoreUpload/FinalizeTarget", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResultStoreUploadServer).FinalizeTarget(ctx, req.(*FinalizeTargetRequest)) - } - 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_MergeConfiguredTarget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MergeConfiguredTargetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ResultStoreUploadServer).MergeConfiguredTarget(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.resultstore.v2.ResultStoreUpload/MergeConfiguredTarget", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResultStoreUploadServer).MergeConfiguredTarget(ctx, req.(*MergeConfiguredTargetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ResultStoreUpload_FinalizeConfiguredTarget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(FinalizeConfiguredTargetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ResultStoreUploadServer).FinalizeConfiguredTarget(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.resultstore.v2.ResultStoreUpload/FinalizeConfiguredTarget", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResultStoreUploadServer).FinalizeConfiguredTarget(ctx, req.(*FinalizeConfiguredTargetRequest)) - } - 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_MergeAction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MergeActionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ResultStoreUploadServer).MergeAction(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.resultstore.v2.ResultStoreUpload/MergeAction", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResultStoreUploadServer).MergeAction(ctx, req.(*MergeActionRequest)) - } - 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) -} - -func _ResultStoreUpload_MergeFileSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MergeFileSetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ResultStoreUploadServer).MergeFileSet(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.resultstore.v2.ResultStoreUpload/MergeFileSet", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResultStoreUploadServer).MergeFileSet(ctx, req.(*MergeFileSetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ResultStoreUpload_UploadBatch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UploadBatchRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ResultStoreUploadServer).UploadBatch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.resultstore.v2.ResultStoreUpload/UploadBatch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResultStoreUploadServer).UploadBatch(ctx, req.(*UploadBatchRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ResultStoreUpload_GetInvocationUploadMetadata_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetInvocationUploadMetadataRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ResultStoreUploadServer).GetInvocationUploadMetadata(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.resultstore.v2.ResultStoreUpload/GetInvocationUploadMetadata", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ResultStoreUploadServer).GetInvocationUploadMetadata(ctx, req.(*GetInvocationUploadMetadataRequest)) - } - 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: "MergeInvocation", - Handler: _ResultStoreUpload_MergeInvocation_Handler, - }, - { - MethodName: "TouchInvocation", - Handler: _ResultStoreUpload_TouchInvocation_Handler, - }, - { - MethodName: "FinalizeInvocation", - Handler: _ResultStoreUpload_FinalizeInvocation_Handler, - }, - { - MethodName: "DeleteInvocation", - Handler: _ResultStoreUpload_DeleteInvocation_Handler, - }, - { - MethodName: "CreateTarget", - Handler: _ResultStoreUpload_CreateTarget_Handler, - }, - { - MethodName: "UpdateTarget", - Handler: _ResultStoreUpload_UpdateTarget_Handler, - }, - { - MethodName: "MergeTarget", - Handler: _ResultStoreUpload_MergeTarget_Handler, - }, - { - MethodName: "FinalizeTarget", - Handler: _ResultStoreUpload_FinalizeTarget_Handler, - }, - { - MethodName: "CreateConfiguredTarget", - Handler: _ResultStoreUpload_CreateConfiguredTarget_Handler, - }, - { - MethodName: "UpdateConfiguredTarget", - Handler: _ResultStoreUpload_UpdateConfiguredTarget_Handler, - }, - { - MethodName: "MergeConfiguredTarget", - Handler: _ResultStoreUpload_MergeConfiguredTarget_Handler, - }, - { - MethodName: "FinalizeConfiguredTarget", - Handler: _ResultStoreUpload_FinalizeConfiguredTarget_Handler, - }, - { - MethodName: "CreateAction", - Handler: _ResultStoreUpload_CreateAction_Handler, - }, - { - MethodName: "UpdateAction", - Handler: _ResultStoreUpload_UpdateAction_Handler, - }, - { - MethodName: "MergeAction", - Handler: _ResultStoreUpload_MergeAction_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, - }, - { - MethodName: "MergeFileSet", - Handler: _ResultStoreUpload_MergeFileSet_Handler, - }, - { - MethodName: "UploadBatch", - Handler: _ResultStoreUpload_UploadBatch_Handler, - }, - { - MethodName: "GetInvocationUploadMetadata", - Handler: _ResultStoreUpload_GetInvocationUploadMetadata_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/devtools/resultstore/v2/resultstore_upload.proto", -} 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 deleted file mode 100644 index 8b22d7ad..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/target.pb.go +++ /dev/null @@ -1,445 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/resultstore/v2/target.proto - -package resultstore - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// These correspond to the suffix of the rule name. Eg cc_test has type TEST. -type TargetType int32 - -const ( - // Unspecified by the build system. - TargetType_TARGET_TYPE_UNSPECIFIED TargetType = 0 - // An application e.g. ios_application. - TargetType_APPLICATION TargetType = 1 - // A binary target e.g. cc_binary. - TargetType_BINARY TargetType = 2 - // A library target e.g. java_library - TargetType_LIBRARY TargetType = 3 - // A package - TargetType_PACKAGE TargetType = 4 - // Any test target, in bazel that means a rule with a '_test' suffix. - TargetType_TEST TargetType = 5 -) - -var TargetType_name = map[int32]string{ - 0: "TARGET_TYPE_UNSPECIFIED", - 1: "APPLICATION", - 2: "BINARY", - 3: "LIBRARY", - 4: "PACKAGE", - 5: "TEST", -} - -var TargetType_value = map[string]int32{ - "TARGET_TYPE_UNSPECIFIED": 0, - "APPLICATION": 1, - "BINARY": 2, - "LIBRARY": 3, - "PACKAGE": 4, - "TEST": 5, -} - -func (x TargetType) String() string { - return proto.EnumName(TargetType_name, int32(x)) -} - -func (TargetType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b4e9059e809e996c, []int{0} -} - -// Indicates how big the user indicated the test action was. -type TestSize int32 - -const ( - // Unspecified by the user. - TestSize_TEST_SIZE_UNSPECIFIED TestSize = 0 - // Unit test taking less than 1 minute. - TestSize_SMALL TestSize = 1 - // Integration tests taking less than 5 minutes. - TestSize_MEDIUM TestSize = 2 - // End-to-end tests taking less than 15 minutes. - TestSize_LARGE TestSize = 3 - // Even bigger than LARGE. - TestSize_ENORMOUS TestSize = 4 - // Something that doesn't fit into the above categories. - TestSize_OTHER_SIZE TestSize = 5 -) - -var TestSize_name = map[int32]string{ - 0: "TEST_SIZE_UNSPECIFIED", - 1: "SMALL", - 2: "MEDIUM", - 3: "LARGE", - 4: "ENORMOUS", - 5: "OTHER_SIZE", -} - -var TestSize_value = map[string]int32{ - "TEST_SIZE_UNSPECIFIED": 0, - "SMALL": 1, - "MEDIUM": 2, - "LARGE": 3, - "ENORMOUS": 4, - "OTHER_SIZE": 5, -} - -func (x TestSize) String() string { - return proto.EnumName(TestSize_name, int32(x)) -} - -func (TestSize) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b4e9059e809e996c, []int{1} -} - -// Each Target represents data for a given target in a given Invocation. -// ConfiguredTarget and Action resources under each Target contain the bulk of -// the data. -type Target struct { - // The resource name. Its format must be: - // invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)} - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The resource ID components that identify the Target. They must match the - // resource name after proper encoding. - Id *Target_Id `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // This is the aggregate status of the target. - StatusAttributes *StatusAttributes `protobuf:"bytes,3,opt,name=status_attributes,json=statusAttributes,proto3" json:"status_attributes,omitempty"` - // When this target started and its duration. - Timing *Timing `protobuf:"bytes,4,opt,name=timing,proto3" json:"timing,omitempty"` - // Attributes that apply to all targets. - TargetAttributes *TargetAttributes `protobuf:"bytes,5,opt,name=target_attributes,json=targetAttributes,proto3" json:"target_attributes,omitempty"` - // Attributes that apply to all test actions under this target. - TestAttributes *TestAttributes `protobuf:"bytes,6,opt,name=test_attributes,json=testAttributes,proto3" json:"test_attributes,omitempty"` - // Arbitrary name-value pairs. - // This is implemented as a multi-map. Multiple properties are allowed with - // the same key. Properties will be returned in lexicographical order by key. - Properties []*Property `protobuf:"bytes,7,rep,name=properties,proto3" json:"properties,omitempty"` - // A list of file references for 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. - // Use this field to specify outputs not related to a configuration. - Files []*File `protobuf:"bytes,8,rep,name=files,proto3" json:"files,omitempty"` - // 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. - Visible bool `protobuf:"varint,10,opt,name=visible,proto3" json:"visible,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b4e9059e809e996c, []int{0} -} - -func (m *Target) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Target.Unmarshal(m, b) -} -func (m *Target) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Target.Marshal(b, m, deterministic) -} -func (m *Target) XXX_Merge(src proto.Message) { - xxx_messageInfo_Target.Merge(m, src) -} -func (m *Target) XXX_Size() int { - return xxx_messageInfo_Target.Size(m) -} -func (m *Target) XXX_DiscardUnknown() { - xxx_messageInfo_Target.DiscardUnknown(m) -} - -var xxx_messageInfo_Target proto.InternalMessageInfo - -func (m *Target) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Target) GetId() *Target_Id { - if m != nil { - return m.Id - } - return nil -} - -func (m *Target) GetStatusAttributes() *StatusAttributes { - if m != nil { - return m.StatusAttributes - } - return nil -} - -func (m *Target) GetTiming() *Timing { - if m != nil { - return m.Timing - } - return nil -} - -func (m *Target) GetTargetAttributes() *TargetAttributes { - if m != nil { - return m.TargetAttributes - } - return nil -} - -func (m *Target) GetTestAttributes() *TestAttributes { - if m != nil { - return m.TestAttributes - } - return nil -} - -func (m *Target) GetProperties() []*Property { - if m != nil { - return m.Properties - } - return nil -} - -func (m *Target) GetFiles() []*File { - if m != nil { - return m.Files - } - return nil -} - -func (m *Target) GetVisible() bool { - if m != nil { - return m.Visible - } - return false -} - -// The resource ID components that identify the Target. -type Target_Id struct { - // The Invocation ID. - InvocationId string `protobuf:"bytes,1,opt,name=invocation_id,json=invocationId,proto3" json:"invocation_id,omitempty"` - // The Target ID. - TargetId string `protobuf:"bytes,2,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b4e9059e809e996c, []int{0, 0} -} - -func (m *Target_Id) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Target_Id.Unmarshal(m, b) -} -func (m *Target_Id) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Target_Id.Marshal(b, m, deterministic) -} -func (m *Target_Id) XXX_Merge(src proto.Message) { - xxx_messageInfo_Target_Id.Merge(m, src) -} -func (m *Target_Id) XXX_Size() int { - return xxx_messageInfo_Target_Id.Size(m) -} -func (m *Target_Id) XXX_DiscardUnknown() { - xxx_messageInfo_Target_Id.DiscardUnknown(m) -} - -var xxx_messageInfo_Target_Id proto.InternalMessageInfo - -func (m *Target_Id) GetInvocationId() string { - if m != nil { - return m.InvocationId - } - return "" -} - -func (m *Target_Id) GetTargetId() string { - if m != nil { - return m.TargetId - } - return "" -} - -// Attributes that apply to all targets. -type TargetAttributes struct { - // If known, indicates the type of this target. In bazel this corresponds - // to the rule-suffix. - Type TargetType `protobuf:"varint,1,opt,name=type,proto3,enum=google.devtools.resultstore.v2.TargetType" json:"type,omitempty"` - // If known, the main language of this target, e.g. java, cc, python, etc. - Language Language `protobuf:"varint,2,opt,name=language,proto3,enum=google.devtools.resultstore.v2.Language" json:"language,omitempty"` - // The tags attribute of the build rule. These should be short, descriptive - // words, and there should only be a few of them. - // This is implemented as a set. All tags will be unique. Any duplicate tags - // will be ignored. Tags will be returned in lexicographical order. - Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b4e9059e809e996c, []int{1} -} - -func (m *TargetAttributes) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TargetAttributes.Unmarshal(m, b) -} -func (m *TargetAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TargetAttributes.Marshal(b, m, deterministic) -} -func (m *TargetAttributes) XXX_Merge(src proto.Message) { - xxx_messageInfo_TargetAttributes.Merge(m, src) -} -func (m *TargetAttributes) XXX_Size() int { - return xxx_messageInfo_TargetAttributes.Size(m) -} -func (m *TargetAttributes) XXX_DiscardUnknown() { - xxx_messageInfo_TargetAttributes.DiscardUnknown(m) -} - -var xxx_messageInfo_TargetAttributes proto.InternalMessageInfo - -func (m *TargetAttributes) GetType() TargetType { - if m != nil { - return m.Type - } - return TargetType_TARGET_TYPE_UNSPECIFIED -} - -func (m *TargetAttributes) GetLanguage() Language { - if m != nil { - return m.Language - } - return Language_LANGUAGE_UNSPECIFIED -} - -func (m *TargetAttributes) GetTags() []string { - if m != nil { - return m.Tags - } - return nil -} - -// Attributes that apply only to test actions under this target. -type TestAttributes struct { - // Indicates how big the user indicated the test action was. - Size TestSize `protobuf:"varint,1,opt,name=size,proto3,enum=google.devtools.resultstore.v2.TestSize" json:"size,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b4e9059e809e996c, []int{2} -} - -func (m *TestAttributes) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TestAttributes.Unmarshal(m, b) -} -func (m *TestAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TestAttributes.Marshal(b, m, deterministic) -} -func (m *TestAttributes) XXX_Merge(src proto.Message) { - xxx_messageInfo_TestAttributes.Merge(m, src) -} -func (m *TestAttributes) XXX_Size() int { - return xxx_messageInfo_TestAttributes.Size(m) -} -func (m *TestAttributes) XXX_DiscardUnknown() { - xxx_messageInfo_TestAttributes.DiscardUnknown(m) -} - -var xxx_messageInfo_TestAttributes proto.InternalMessageInfo - -func (m *TestAttributes) GetSize() TestSize { - if m != nil { - return m.Size - } - return TestSize_TEST_SIZE_UNSPECIFIED -} - -func init() { - proto.RegisterEnum("google.devtools.resultstore.v2.TargetType", TargetType_name, TargetType_value) - proto.RegisterEnum("google.devtools.resultstore.v2.TestSize", TestSize_name, TestSize_value) - proto.RegisterType((*Target)(nil), "google.devtools.resultstore.v2.Target") - proto.RegisterType((*Target_Id)(nil), "google.devtools.resultstore.v2.Target.Id") - proto.RegisterType((*TargetAttributes)(nil), "google.devtools.resultstore.v2.TargetAttributes") - proto.RegisterType((*TestAttributes)(nil), "google.devtools.resultstore.v2.TestAttributes") -} - -func init() { - proto.RegisterFile("google/devtools/resultstore/v2/target.proto", fileDescriptor_b4e9059e809e996c) -} - -var fileDescriptor_b4e9059e809e996c = []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, 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, 0x2b, 0xda, 0xea, 0x1f, 0x3c, 0x6d, 0x4e, 0xc1, 0xed, - 0x8c, 0x12, 0xc5, 0x43, 0x27, 0x60, 0x24, 0x61, 0x1a, 0xcf, 0xc3, 0x98, 0xaa, 0x82, 0xad, 0xf2, - 0xd6, 0x0d, 0x96, 0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b4, 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 deleted file mode 100644 index c3334b7e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/test_suite.pb.go +++ /dev/null @@ -1,603 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/resultstore/v2/test_suite.proto - -package resultstore - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// The result of running a test case. -type TestCase_Result int32 - -const ( - // The implicit default enum value. Do not use. - TestCase_RESULT_UNSPECIFIED TestCase_Result = 0 - // Test case ran to completion. Look for failures or errors to determine - // whether it passed, failed, or errored. - TestCase_COMPLETED TestCase_Result = 1 - // Test case started but did not complete because the test harness received - // a signal and decided to stop running tests. - TestCase_INTERRUPTED TestCase_Result = 2 - // Test case was not started because the test harness received a SIGINT or - // timed out. - TestCase_CANCELLED TestCase_Result = 3 - // Test case was not run because the user or process running the test - // specified a filter that excluded this test case. - TestCase_FILTERED TestCase_Result = 4 - // Test case was not run to completion because the test case decided it - // should not be run (eg. due to a failed assumption in a JUnit4 test). - // Per-test setup or tear-down may or may not have run. - TestCase_SKIPPED TestCase_Result = 5 - // The test framework did not run the test case because it was labeled as - // suppressed. Eg. if someone temporarily disables a failing test. - TestCase_SUPPRESSED TestCase_Result = 6 -) - -var TestCase_Result_name = map[int32]string{ - 0: "RESULT_UNSPECIFIED", - 1: "COMPLETED", - 2: "INTERRUPTED", - 3: "CANCELLED", - 4: "FILTERED", - 5: "SKIPPED", - 6: "SUPPRESSED", -} - -var TestCase_Result_value = map[string]int32{ - "RESULT_UNSPECIFIED": 0, - "COMPLETED": 1, - "INTERRUPTED": 2, - "CANCELLED": 3, - "FILTERED": 4, - "SKIPPED": 5, - "SUPPRESSED": 6, -} - -func (x TestCase_Result) String() string { - return proto.EnumName(TestCase_Result_name, int32(x)) -} - -func (TestCase_Result) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1eac8f04d5f129ff, []int{2, 0} -} - -// The result of running a test suite, as reported in a element of -// an XML log. -type TestSuite struct { - // The full name of this suite, as reported in the name attribute. For Java - // tests, this is normally the fully qualified class name. Eg. - // "com.google.common.hash.BloomFilterTest". - SuiteName string `protobuf:"bytes,1,opt,name=suite_name,json=suiteName,proto3" json:"suite_name,omitempty"` - // The results of the test cases and test suites contained in this suite, - // as reported in the and elements contained within - // this . - Tests []*Test `protobuf:"bytes,2,rep,name=tests,proto3" json:"tests,omitempty"` - // Failures reported in elements within this . - Failures []*TestFailure `protobuf:"bytes,3,rep,name=failures,proto3" json:"failures,omitempty"` - // Errors reported in elements within this . - Errors []*TestError `protobuf:"bytes,4,rep,name=errors,proto3" json:"errors,omitempty"` - // The timing for the entire TestSuite, as reported by the time attribute. - Timing *Timing `protobuf:"bytes,6,opt,name=timing,proto3" json:"timing,omitempty"` - // Arbitrary name-value pairs, as reported in custom attributes or in a - // element within this . Multiple properties are - // allowed with the same key. Properties will be returned in lexicographical - // order by key. - Properties []*Property `protobuf:"bytes,7,rep,name=properties,proto3" json:"properties,omitempty"` - // Files produced by this test suite, as reported by undeclared output - // annotations. - // 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1eac8f04d5f129ff, []int{0} -} - -func (m *TestSuite) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TestSuite.Unmarshal(m, b) -} -func (m *TestSuite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TestSuite.Marshal(b, m, deterministic) -} -func (m *TestSuite) XXX_Merge(src proto.Message) { - xxx_messageInfo_TestSuite.Merge(m, src) -} -func (m *TestSuite) XXX_Size() int { - return xxx_messageInfo_TestSuite.Size(m) -} -func (m *TestSuite) XXX_DiscardUnknown() { - xxx_messageInfo_TestSuite.DiscardUnknown(m) -} - -var xxx_messageInfo_TestSuite proto.InternalMessageInfo - -func (m *TestSuite) GetSuiteName() string { - if m != nil { - return m.SuiteName - } - return "" -} - -func (m *TestSuite) GetTests() []*Test { - if m != nil { - return m.Tests - } - return nil -} - -func (m *TestSuite) GetFailures() []*TestFailure { - if m != nil { - return m.Failures - } - return nil -} - -func (m *TestSuite) GetErrors() []*TestError { - if m != nil { - return m.Errors - } - return nil -} - -func (m *TestSuite) GetTiming() *Timing { - if m != nil { - return m.Timing - } - return nil -} - -func (m *TestSuite) GetProperties() []*Property { - if m != nil { - return m.Properties - } - return nil -} - -func (m *TestSuite) GetFiles() []*File { - if m != nil { - return m.Files - } - return nil -} - -// The result of running a test case or test suite. JUnit3 TestDecorators are -// represented as a TestSuite with a single test. -type Test struct { - // Either a TestCase of a TestSuite - // - // Types that are valid to be assigned to TestType: - // *Test_TestCase - // *Test_TestSuite - TestType isTest_TestType `protobuf_oneof:"test_type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1eac8f04d5f129ff, []int{1} -} - -func (m *Test) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Test.Unmarshal(m, b) -} -func (m *Test) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Test.Marshal(b, m, deterministic) -} -func (m *Test) XXX_Merge(src proto.Message) { - xxx_messageInfo_Test.Merge(m, src) -} -func (m *Test) XXX_Size() int { - return xxx_messageInfo_Test.Size(m) -} -func (m *Test) XXX_DiscardUnknown() { - xxx_messageInfo_Test.DiscardUnknown(m) -} - -var xxx_messageInfo_Test proto.InternalMessageInfo - -type isTest_TestType interface { - isTest_TestType() -} - -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_TestSuite) isTest_TestType() {} - -func (m *Test) GetTestType() isTest_TestType { - if m != nil { - return m.TestType - } - return nil -} - -func (m *Test) GetTestCase() *TestCase { - if x, ok := m.GetTestType().(*Test_TestCase); ok { - return x.TestCase - } - return nil -} - -func (m *Test) GetTestSuite() *TestSuite { - if x, ok := m.GetTestType().(*Test_TestSuite); ok { - return x.TestSuite - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Test) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Test_TestCase)(nil), - (*Test_TestSuite)(nil), - } -} - -// The result of running a test case, as reported in a element of -// an XML log. -type TestCase struct { - // The name of the test case, as reported in the name attribute. For Java, - // this is normally the method name. Eg. "testBasic". - CaseName string `protobuf:"bytes,1,opt,name=case_name,json=caseName,proto3" json:"case_name,omitempty"` - // The name of the class in which the test case was defined, as reported in - // the classname attribute. For Java, this is normally the fully qualified - // class name. Eg. "com.google.common.hash.BloomFilterTest". - ClassName string `protobuf:"bytes,2,opt,name=class_name,json=className,proto3" json:"class_name,omitempty"` - // An enum reported in the result attribute that is used in conjunction with - // failures and errors below to report the outcome. - Result TestCase_Result `protobuf:"varint,3,opt,name=result,proto3,enum=google.devtools.resultstore.v2.TestCase_Result" json:"result,omitempty"` - // Failures reported in elements within this . - Failures []*TestFailure `protobuf:"bytes,4,rep,name=failures,proto3" json:"failures,omitempty"` - // Errors reported in elements within this . - Errors []*TestError `protobuf:"bytes,5,rep,name=errors,proto3" json:"errors,omitempty"` - // The timing for the TestCase, as reported by the time attribute. - Timing *Timing `protobuf:"bytes,7,opt,name=timing,proto3" json:"timing,omitempty"` - // Arbitrary name-value pairs, as reported in custom attributes or in a - // element within this . Multiple properties are - // allowed with the same key. Properties will be returned in lexicographical - // order by key. - Properties []*Property `protobuf:"bytes,8,rep,name=properties,proto3" json:"properties,omitempty"` - // Files produced by this test case, as reported by undeclared output - // annotations. - // 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,9,rep,name=files,proto3" json:"files,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1eac8f04d5f129ff, []int{2} -} - -func (m *TestCase) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TestCase.Unmarshal(m, b) -} -func (m *TestCase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TestCase.Marshal(b, m, deterministic) -} -func (m *TestCase) XXX_Merge(src proto.Message) { - xxx_messageInfo_TestCase.Merge(m, src) -} -func (m *TestCase) XXX_Size() int { - return xxx_messageInfo_TestCase.Size(m) -} -func (m *TestCase) XXX_DiscardUnknown() { - xxx_messageInfo_TestCase.DiscardUnknown(m) -} - -var xxx_messageInfo_TestCase proto.InternalMessageInfo - -func (m *TestCase) GetCaseName() string { - if m != nil { - return m.CaseName - } - return "" -} - -func (m *TestCase) GetClassName() string { - if m != nil { - return m.ClassName - } - return "" -} - -func (m *TestCase) GetResult() TestCase_Result { - if m != nil { - return m.Result - } - return TestCase_RESULT_UNSPECIFIED -} - -func (m *TestCase) GetFailures() []*TestFailure { - if m != nil { - return m.Failures - } - return nil -} - -func (m *TestCase) GetErrors() []*TestError { - if m != nil { - return m.Errors - } - return nil -} - -func (m *TestCase) GetTiming() *Timing { - if m != nil { - return m.Timing - } - return nil -} - -func (m *TestCase) GetProperties() []*Property { - if m != nil { - return m.Properties - } - return nil -} - -func (m *TestCase) GetFiles() []*File { - if m != nil { - return m.Files - } - return nil -} - -// Represents a violated assertion, as reported in a element within a -// . Some languages allow assertions to be made without stopping the -// test case when they're violated, leading to multiple TestFailures. For Java, -// multiple TestFailures are used to represent a chained exception. -type TestFailure struct { - // The exception message reported in the message attribute. Typically short, - // but may be multi-line. Eg. "Expected 'foo' but was 'bar'". - FailureMessage string `protobuf:"bytes,1,opt,name=failure_message,json=failureMessage,proto3" json:"failure_message,omitempty"` - // The type of the exception being thrown, reported in the type attribute. - // Eg: "org.junit.ComparisonFailure" - ExceptionType string `protobuf:"bytes,2,opt,name=exception_type,json=exceptionType,proto3" json:"exception_type,omitempty"` - // The stack trace reported as the content of the element, often in - // a CDATA block. This contains one line for each stack frame, each including - // 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"` - // 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:"-"` -} - -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_1eac8f04d5f129ff, []int{3} -} - -func (m *TestFailure) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TestFailure.Unmarshal(m, b) -} -func (m *TestFailure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TestFailure.Marshal(b, m, deterministic) -} -func (m *TestFailure) XXX_Merge(src proto.Message) { - xxx_messageInfo_TestFailure.Merge(m, src) -} -func (m *TestFailure) XXX_Size() int { - return xxx_messageInfo_TestFailure.Size(m) -} -func (m *TestFailure) XXX_DiscardUnknown() { - xxx_messageInfo_TestFailure.DiscardUnknown(m) -} - -var xxx_messageInfo_TestFailure proto.InternalMessageInfo - -func (m *TestFailure) GetFailureMessage() string { - if m != nil { - return m.FailureMessage - } - return "" -} - -func (m *TestFailure) GetExceptionType() string { - if m != nil { - return m.ExceptionType - } - return "" -} - -func (m *TestFailure) GetStackTrace() string { - if m != nil { - return m.StackTrace - } - 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. -type TestError struct { - // The exception message, as reported in the message attribute. Typically - // short, but may be multi-line. Eg. "argument cannot be null". - ErrorMessage string `protobuf:"bytes,1,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` - // The type of the exception being thrown, reported in the type attribute. - // For Java, this is a fully qualified Throwable class name. - // Eg: "java.lang.IllegalArgumentException" - ExceptionType string `protobuf:"bytes,2,opt,name=exception_type,json=exceptionType,proto3" json:"exception_type,omitempty"` - // The stack trace reported as the content of the element, often in - // a CDATA block. This contains one line for each stack frame, each including - // 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1eac8f04d5f129ff, []int{4} -} - -func (m *TestError) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TestError.Unmarshal(m, b) -} -func (m *TestError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TestError.Marshal(b, m, deterministic) -} -func (m *TestError) XXX_Merge(src proto.Message) { - xxx_messageInfo_TestError.Merge(m, src) -} -func (m *TestError) XXX_Size() int { - return xxx_messageInfo_TestError.Size(m) -} -func (m *TestError) XXX_DiscardUnknown() { - xxx_messageInfo_TestError.DiscardUnknown(m) -} - -var xxx_messageInfo_TestError proto.InternalMessageInfo - -func (m *TestError) GetErrorMessage() string { - if m != nil { - return m.ErrorMessage - } - return "" -} - -func (m *TestError) GetExceptionType() string { - if m != nil { - return m.ExceptionType - } - return "" -} - -func (m *TestError) GetStackTrace() string { - if m != nil { - return m.StackTrace - } - return "" -} - -func init() { - proto.RegisterEnum("google.devtools.resultstore.v2.TestCase_Result", TestCase_Result_name, TestCase_Result_value) - proto.RegisterType((*TestSuite)(nil), "google.devtools.resultstore.v2.TestSuite") - proto.RegisterType((*Test)(nil), "google.devtools.resultstore.v2.Test") - proto.RegisterType((*TestCase)(nil), "google.devtools.resultstore.v2.TestCase") - proto.RegisterType((*TestFailure)(nil), "google.devtools.resultstore.v2.TestFailure") - proto.RegisterType((*TestError)(nil), "google.devtools.resultstore.v2.TestError") -} - -func init() { - proto.RegisterFile("google/devtools/resultstore/v2/test_suite.proto", fileDescriptor_1eac8f04d5f129ff) -} - -var fileDescriptor_1eac8f04d5f129ff = []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, 0xf7, 0x8a, 0xde, 0x08, - 0xc6, 0x52, 0xee, 0x16, 0x94, 0x2f, 0x52, 0xc1, 0x05, 0x2b, 0xa8, 0x7b, 0xd3, 0x73, 0x05, 0xe5, - 0x62, 0xc6,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xff, 0xff, 0xb6, 0x4d, 0x9a, 0x00, 0x19, 0x07, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/upload_metadata.pb.go b/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/upload_metadata.pb.go deleted file mode 100644 index bb018a92..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/resultstore/v2/upload_metadata.pb.go +++ /dev/null @@ -1,112 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/resultstore/v2/upload_metadata.proto - -package resultstore - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// The upload metadata for an invocation -type UploadMetadata struct { - // The name of the upload metadata. Its format will be: - // invocations/${INVOCATION_ID}/uploadMetadata - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The resume token of the last batch that was committed in the most recent - // batch upload. - // More information with resume_token could be found in - // resultstore_upload.proto - ResumeToken string `protobuf:"bytes,2,opt,name=resume_token,json=resumeToken,proto3" json:"resume_token,omitempty"` - // Client-specific data used to resume batch upload if an error occurs and - // retry action is needed. - UploaderState []byte `protobuf:"bytes,3,opt,name=uploader_state,json=uploaderState,proto3" json:"uploader_state,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UploadMetadata) Reset() { *m = UploadMetadata{} } -func (m *UploadMetadata) String() string { return proto.CompactTextString(m) } -func (*UploadMetadata) ProtoMessage() {} -func (*UploadMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_26e75c19ce7f4673, []int{0} -} - -func (m *UploadMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UploadMetadata.Unmarshal(m, b) -} -func (m *UploadMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UploadMetadata.Marshal(b, m, deterministic) -} -func (m *UploadMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_UploadMetadata.Merge(m, src) -} -func (m *UploadMetadata) XXX_Size() int { - return xxx_messageInfo_UploadMetadata.Size(m) -} -func (m *UploadMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_UploadMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_UploadMetadata proto.InternalMessageInfo - -func (m *UploadMetadata) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *UploadMetadata) GetResumeToken() string { - if m != nil { - return m.ResumeToken - } - return "" -} - -func (m *UploadMetadata) GetUploaderState() []byte { - if m != nil { - return m.UploaderState - } - return nil -} - -func init() { - proto.RegisterType((*UploadMetadata)(nil), "google.devtools.resultstore.v2.UploadMetadata") -} - -func init() { - proto.RegisterFile("google/devtools/resultstore/v2/upload_metadata.proto", fileDescriptor_26e75c19ce7f4673) -} - -var fileDescriptor_26e75c19ce7f4673 = []byte{ - // 214 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xb1, 0x4b, 0xc5, 0x30, - 0x10, 0xc6, 0x89, 0x8a, 0x60, 0x7c, 0xbe, 0x21, 0x53, 0x27, 0x79, 0x3e, 0x10, 0xde, 0x94, 0x40, - 0x75, 0x73, 0x73, 0x73, 0x10, 0xa4, 0xea, 0xe2, 0x52, 0x4e, 0x7b, 0x04, 0x31, 0xc9, 0xd5, 0xe4, - 0xda, 0xbf, 0x5f, 0x9a, 0xb4, 0xd0, 0xc5, 0xb7, 0x25, 0xbf, 0xef, 0x7e, 0xf0, 0xdd, 0xc9, 0x7b, - 0x4b, 0x64, 0x1d, 0x9a, 0x0e, 0x47, 0x26, 0x72, 0xc9, 0x44, 0x4c, 0x83, 0xe3, 0xc4, 0x14, 0xd1, - 0x8c, 0xb5, 0x19, 0x7a, 0x47, 0xd0, 0xb5, 0x1e, 0x19, 0x3a, 0x60, 0xd0, 0x7d, 0x24, 0x26, 0x75, - 0x5d, 0x2c, 0xbd, 0x58, 0x7a, 0x65, 0xe9, 0xb1, 0xde, 0x07, 0xb9, 0x7d, 0xcf, 0xe2, 0xf3, 0xec, - 0x29, 0x25, 0xcf, 0x02, 0x78, 0xac, 0xc4, 0x4e, 0x1c, 0x2e, 0x9a, 0xfc, 0x56, 0x37, 0x72, 0x33, - 0x79, 0x1e, 0x5b, 0xa6, 0x1f, 0x0c, 0xd5, 0x49, 0xce, 0x2e, 0x0b, 0x7b, 0x9b, 0x90, 0xba, 0x95, - 0xdb, 0xd2, 0x00, 0x63, 0x9b, 0x18, 0x18, 0xab, 0xd3, 0x9d, 0x38, 0x6c, 0x9a, 0xab, 0x85, 0xbe, - 0x4e, 0xf0, 0xf1, 0x57, 0xee, 0xbf, 0xc8, 0xeb, 0xe3, 0xad, 0x5e, 0xc4, 0xc7, 0xd3, 0x3c, 0x61, - 0xc9, 0x41, 0xb0, 0x9a, 0xa2, 0x35, 0x16, 0x43, 0xde, 0xc9, 0x94, 0x08, 0xfa, 0xef, 0xf4, 0xdf, - 0x31, 0x1e, 0x56, 0xdf, 0xcf, 0xf3, 0x6c, 0xdd, 0xfd, 0x05, 0x00, 0x00, 0xff, 0xff, 0xf2, 0x6d, - 0xf4, 0xe8, 0x41, 0x01, 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 deleted file mode 100644 index 80f6630e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/source/v1/source_context.pb.go +++ /dev/null @@ -1,871 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/source/v1/source_context.proto - -package source - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The type of an Alias. -type AliasContext_Kind int32 - -const ( - // Do not use. - AliasContext_ANY AliasContext_Kind = 0 - // Git tag - AliasContext_FIXED AliasContext_Kind = 1 - // Git branch - AliasContext_MOVABLE AliasContext_Kind = 2 - // OTHER is used to specify non-standard aliases, those not of the kinds - // above. For example, if a Git repo has a ref named "refs/foo/bar", it - // is considered to be of kind OTHER. - AliasContext_OTHER AliasContext_Kind = 4 -) - -var AliasContext_Kind_name = map[int32]string{ - 0: "ANY", - 1: "FIXED", - 2: "MOVABLE", - 4: "OTHER", -} - -var AliasContext_Kind_value = map[string]int32{ - "ANY": 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_abda43b4d0b03743, []int{2, 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_CloudWorkspace - // *SourceContext_Gerrit - // *SourceContext_Git - Context isSourceContext_Context `protobuf_oneof:"context"` - 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_abda43b4d0b03743, []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 (m *SourceContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_SourceContext.Merge(m, 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_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_CloudWorkspace) 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) GetCloudWorkspace() *CloudWorkspaceSourceContext { - if x, ok := m.GetContext().(*SourceContext_CloudWorkspace); ok { - return x.CloudWorkspace - } - 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 -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*SourceContext) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*SourceContext_CloudRepo)(nil), - (*SourceContext_CloudWorkspace)(nil), - (*SourceContext_Gerrit)(nil), - (*SourceContext_Git)(nil), - } -} - -// An ExtendedSourceContext is a SourceContext combined with additional -// details describing the context. -type ExtendedSourceContext struct { - // Any source context. - Context *SourceContext `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` - // Labels with user defined metadata. - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_abda43b4d0b03743, []int{1} -} - -func (m *ExtendedSourceContext) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExtendedSourceContext.Unmarshal(m, b) -} -func (m *ExtendedSourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExtendedSourceContext.Marshal(b, m, deterministic) -} -func (m *ExtendedSourceContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExtendedSourceContext.Merge(m, src) -} -func (m *ExtendedSourceContext) XXX_Size() int { - return xxx_messageInfo_ExtendedSourceContext.Size(m) -} -func (m *ExtendedSourceContext) XXX_DiscardUnknown() { - xxx_messageInfo_ExtendedSourceContext.DiscardUnknown(m) -} - -var xxx_messageInfo_ExtendedSourceContext proto.InternalMessageInfo - -func (m *ExtendedSourceContext) GetContext() *SourceContext { - if m != nil { - return m.Context - } - return nil -} - -func (m *ExtendedSourceContext) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -// An alias to a repo revision. -type AliasContext struct { - // The alias kind. - Kind AliasContext_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=google.devtools.source.v1.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_abda43b4d0b03743, []int{2} -} - -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 (m *AliasContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_AliasContext.Merge(m, 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_ANY -} - -func (m *AliasContext) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// A CloudRepoSourceContext denotes a particular revision in a cloud -// repo (a repo hosted by the Google Cloud Platform). -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 repository can be identified by either its revision - // ID or its Alias. - // - // Types that are valid to be assigned to Revision: - // *CloudRepoSourceContext_RevisionId - // *CloudRepoSourceContext_AliasName - // *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_abda43b4d0b03743, []int{3} -} - -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 (m *CloudRepoSourceContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_CloudRepoSourceContext.Merge(m, 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_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_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 "" -} - -// Deprecated: Do not use. -func (m *CloudRepoSourceContext) GetAliasName() string { - if x, ok := m.GetRevision().(*CloudRepoSourceContext_AliasName); ok { - return x.AliasName - } - return "" -} - -func (m *CloudRepoSourceContext) GetAliasContext() *AliasContext { - if x, ok := m.GetRevision().(*CloudRepoSourceContext_AliasContext); ok { - return x.AliasContext - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CloudRepoSourceContext) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CloudRepoSourceContext_RevisionId)(nil), - (*CloudRepoSourceContext_AliasName)(nil), - (*CloudRepoSourceContext_AliasContext)(nil), - } -} - -// A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot. -type CloudWorkspaceSourceContext struct { - // The ID of the workspace. - WorkspaceId *CloudWorkspaceId `protobuf:"bytes,1,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"` - // The ID of the snapshot. - // An empty snapshot_id refers to the most recent snapshot. - SnapshotId string `protobuf:"bytes,2,opt,name=snapshot_id,json=snapshotId,proto3" json:"snapshot_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CloudWorkspaceSourceContext) Reset() { *m = CloudWorkspaceSourceContext{} } -func (m *CloudWorkspaceSourceContext) String() string { return proto.CompactTextString(m) } -func (*CloudWorkspaceSourceContext) ProtoMessage() {} -func (*CloudWorkspaceSourceContext) Descriptor() ([]byte, []int) { - return fileDescriptor_abda43b4d0b03743, []int{4} -} - -func (m *CloudWorkspaceSourceContext) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CloudWorkspaceSourceContext.Unmarshal(m, b) -} -func (m *CloudWorkspaceSourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CloudWorkspaceSourceContext.Marshal(b, m, deterministic) -} -func (m *CloudWorkspaceSourceContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_CloudWorkspaceSourceContext.Merge(m, src) -} -func (m *CloudWorkspaceSourceContext) XXX_Size() int { - return xxx_messageInfo_CloudWorkspaceSourceContext.Size(m) -} -func (m *CloudWorkspaceSourceContext) XXX_DiscardUnknown() { - xxx_messageInfo_CloudWorkspaceSourceContext.DiscardUnknown(m) -} - -var xxx_messageInfo_CloudWorkspaceSourceContext proto.InternalMessageInfo - -func (m *CloudWorkspaceSourceContext) GetWorkspaceId() *CloudWorkspaceId { - if m != nil { - return m.WorkspaceId - } - return nil -} - -func (m *CloudWorkspaceSourceContext) GetSnapshotId() string { - if m != nil { - return m.SnapshotId - } - return "" -} - -// 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 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_AliasName - // *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_abda43b4d0b03743, []int{5} -} - -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 (m *GerritSourceContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_GerritSourceContext.Merge(m, 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_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_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 "" -} - -// Deprecated: Do not use. -func (m *GerritSourceContext) GetAliasName() string { - if x, ok := m.GetRevision().(*GerritSourceContext_AliasName); ok { - return x.AliasName - } - return "" -} - -func (m *GerritSourceContext) GetAliasContext() *AliasContext { - if x, ok := m.GetRevision().(*GerritSourceContext_AliasContext); ok { - return x.AliasContext - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*GerritSourceContext) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*GerritSourceContext_RevisionId)(nil), - (*GerritSourceContext_AliasName)(nil), - (*GerritSourceContext_AliasContext)(nil), - } -} - -// 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. - // required. - 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_abda43b4d0b03743, []int{6} -} - -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 (m *GitSourceContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_GitSourceContext.Merge(m, 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 repository 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_abda43b4d0b03743, []int{7} -} - -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 (m *RepoId) XXX_Merge(src proto.Message) { - xxx_messageInfo_RepoId.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*RepoId) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*RepoId_ProjectRepoId)(nil), - (*RepoId_Uid)(nil), - } -} - -// 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_abda43b4d0b03743, []int{8} -} - -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 (m *ProjectRepoId) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProjectRepoId.Merge(m, 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 "" -} - -// A CloudWorkspaceId is a unique identifier for a cloud workspace. -// A cloud workspace is a place associated with a repo where modified files -// can be stored before they are committed. -type CloudWorkspaceId struct { - // The ID of the repo containing the workspace. - RepoId *RepoId `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` - // The unique name of the workspace within the repo. This is the name - // chosen by the client in the Source API's CreateWorkspace method. - 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 *CloudWorkspaceId) Reset() { *m = CloudWorkspaceId{} } -func (m *CloudWorkspaceId) String() string { return proto.CompactTextString(m) } -func (*CloudWorkspaceId) ProtoMessage() {} -func (*CloudWorkspaceId) Descriptor() ([]byte, []int) { - return fileDescriptor_abda43b4d0b03743, []int{9} -} - -func (m *CloudWorkspaceId) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CloudWorkspaceId.Unmarshal(m, b) -} -func (m *CloudWorkspaceId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CloudWorkspaceId.Marshal(b, m, deterministic) -} -func (m *CloudWorkspaceId) XXX_Merge(src proto.Message) { - xxx_messageInfo_CloudWorkspaceId.Merge(m, src) -} -func (m *CloudWorkspaceId) XXX_Size() int { - return xxx_messageInfo_CloudWorkspaceId.Size(m) -} -func (m *CloudWorkspaceId) XXX_DiscardUnknown() { - xxx_messageInfo_CloudWorkspaceId.DiscardUnknown(m) -} - -var xxx_messageInfo_CloudWorkspaceId proto.InternalMessageInfo - -func (m *CloudWorkspaceId) GetRepoId() *RepoId { - if m != nil { - return m.RepoId - } - return nil -} - -func (m *CloudWorkspaceId) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func init() { - proto.RegisterEnum("google.devtools.source.v1.AliasContext_Kind", AliasContext_Kind_name, AliasContext_Kind_value) - proto.RegisterType((*SourceContext)(nil), "google.devtools.source.v1.SourceContext") - proto.RegisterType((*ExtendedSourceContext)(nil), "google.devtools.source.v1.ExtendedSourceContext") - proto.RegisterMapType((map[string]string)(nil), "google.devtools.source.v1.ExtendedSourceContext.LabelsEntry") - proto.RegisterType((*AliasContext)(nil), "google.devtools.source.v1.AliasContext") - proto.RegisterType((*CloudRepoSourceContext)(nil), "google.devtools.source.v1.CloudRepoSourceContext") - proto.RegisterType((*CloudWorkspaceSourceContext)(nil), "google.devtools.source.v1.CloudWorkspaceSourceContext") - proto.RegisterType((*GerritSourceContext)(nil), "google.devtools.source.v1.GerritSourceContext") - proto.RegisterType((*GitSourceContext)(nil), "google.devtools.source.v1.GitSourceContext") - proto.RegisterType((*RepoId)(nil), "google.devtools.source.v1.RepoId") - proto.RegisterType((*ProjectRepoId)(nil), "google.devtools.source.v1.ProjectRepoId") - proto.RegisterType((*CloudWorkspaceId)(nil), "google.devtools.source.v1.CloudWorkspaceId") -} - -func init() { - proto.RegisterFile("google/devtools/source/v1/source_context.proto", fileDescriptor_abda43b4d0b03743) -} - -var fileDescriptor_abda43b4d0b03743 = []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,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09, 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, 0x8b, 0x50, - 0x0c, 0x3d, 0xc3, 0x0f, 0x8f, 0x69, 0x74, 0x95, 0x13, 0x0c, 0x89, 0xa9, 0x65, 0xa9, 0x3f, 0x24, - 0xf8, 0x63, 0xcc, 0x0c, 0xa2, 0x59, 0x98, 0x3c, 0xa6, 0x61, 0xd4, 0xed, 0x05, 0x4e, 0xdc, 0x6f, - 0x05, 0xb6, 0x7f, 0x1d, 0x38, 0xe8, 0x3f, 0x98, 0x16, 0xe3, 0xd9, 0xf5, 0x03, 0xfa, 0x81, 0x98, -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, 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 deleted file mode 100644 index 7491a525..00000000 --- a/vendor/google.golang.org/genproto/googleapis/devtools/sourcerepo/v1/sourcerepo.pb.go +++ /dev/null @@ -1,811 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/devtools/sourcerepo/v1/sourcerepo.proto - -package sourcerepo - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - v1 "google.golang.org/genproto/googleapis/iam/v1" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A repository (or repo) is a Git repository storing versioned source content. -type Repo struct { - // Resource name of the repository, of the form - // `projects//repos/`. The repo name may contain slashes. - // eg, `projects/myproject/repos/name/with/slash` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The disk usage of the repo, in bytes. Read-only field. Size is only - // returned by GetRepo. - Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` - // URL to clone the repository from Google Cloud Source Repositories. - // Read-only field. - Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` - // How this repository mirrors a repository managed by another service. - // Read-only field. - MirrorConfig *MirrorConfig `protobuf:"bytes,4,opt,name=mirror_config,json=mirrorConfig,proto3" json:"mirror_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_0e2c2c58455430a2, []int{0} -} - -func (m *Repo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Repo.Unmarshal(m, b) -} -func (m *Repo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Repo.Marshal(b, m, deterministic) -} -func (m *Repo) XXX_Merge(src proto.Message) { - xxx_messageInfo_Repo.Merge(m, src) -} -func (m *Repo) XXX_Size() int { - return xxx_messageInfo_Repo.Size(m) -} -func (m *Repo) XXX_DiscardUnknown() { - xxx_messageInfo_Repo.DiscardUnknown(m) -} - -var xxx_messageInfo_Repo proto.InternalMessageInfo - -func (m *Repo) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Repo) GetSize() int64 { - if m != nil { - return m.Size - } - return 0 -} - -func (m *Repo) GetUrl() string { - if m != nil { - return m.Url - } - return "" -} - -func (m *Repo) GetMirrorConfig() *MirrorConfig { - if m != nil { - return m.MirrorConfig - } - return nil -} - -// Configuration to automatically mirror a repository from another -// hosting service, for example GitHub or BitBucket. -type MirrorConfig struct { - // URL of the main repository at the other hosting service. - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - // ID of the webhook listening to updates to trigger mirroring. - // Removing this webhook from the other hosting service will stop - // Google Cloud Source Repositories from receiving notifications, - // and thereby disabling mirroring. - WebhookId string `protobuf:"bytes,2,opt,name=webhook_id,json=webhookId,proto3" json:"webhook_id,omitempty"` - // ID of the SSH deploy key at the other hosting service. - // Removing this key from the other service would deauthorize - // Google Cloud Source Repositories from mirroring. - DeployKeyId string `protobuf:"bytes,3,opt,name=deploy_key_id,json=deployKeyId,proto3" json:"deploy_key_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_0e2c2c58455430a2, []int{1} -} - -func (m *MirrorConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MirrorConfig.Unmarshal(m, b) -} -func (m *MirrorConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MirrorConfig.Marshal(b, m, deterministic) -} -func (m *MirrorConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_MirrorConfig.Merge(m, src) -} -func (m *MirrorConfig) XXX_Size() int { - return xxx_messageInfo_MirrorConfig.Size(m) -} -func (m *MirrorConfig) XXX_DiscardUnknown() { - xxx_messageInfo_MirrorConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_MirrorConfig proto.InternalMessageInfo - -func (m *MirrorConfig) GetUrl() string { - if m != nil { - return m.Url - } - return "" -} - -func (m *MirrorConfig) GetWebhookId() string { - if m != nil { - return m.WebhookId - } - return "" -} - -func (m *MirrorConfig) GetDeployKeyId() string { - if m != nil { - return m.DeployKeyId - } - return "" -} - -// Request for GetRepo. -type GetRepoRequest struct { - // The name of the requested repository. Values are of the form - // `projects//repos/`. - 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 *GetRepoRequest) Reset() { *m = GetRepoRequest{} } -func (m *GetRepoRequest) String() string { return proto.CompactTextString(m) } -func (*GetRepoRequest) ProtoMessage() {} -func (*GetRepoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0e2c2c58455430a2, []int{2} -} - -func (m *GetRepoRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetRepoRequest.Unmarshal(m, b) -} -func (m *GetRepoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetRepoRequest.Marshal(b, m, deterministic) -} -func (m *GetRepoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRepoRequest.Merge(m, src) -} -func (m *GetRepoRequest) XXX_Size() int { - return xxx_messageInfo_GetRepoRequest.Size(m) -} -func (m *GetRepoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetRepoRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetRepoRequest proto.InternalMessageInfo - -func (m *GetRepoRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request for ListRepos. -type ListReposRequest struct { - // The project ID whose repos should be listed. Values are of the form - // `projects/`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Maximum number of repositories to return; between 1 and 500. - // If not set or zero, defaults to 100 at the server. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Resume listing repositories where a prior ListReposResponse - // left off. This is an opaque token that must be obtained from - // a recent, prior ListReposResponse's next_page_token field. - 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 *ListReposRequest) Reset() { *m = ListReposRequest{} } -func (m *ListReposRequest) String() string { return proto.CompactTextString(m) } -func (*ListReposRequest) ProtoMessage() {} -func (*ListReposRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0e2c2c58455430a2, []int{3} -} - -func (m *ListReposRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListReposRequest.Unmarshal(m, b) -} -func (m *ListReposRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListReposRequest.Marshal(b, m, deterministic) -} -func (m *ListReposRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListReposRequest.Merge(m, src) -} -func (m *ListReposRequest) XXX_Size() int { - return xxx_messageInfo_ListReposRequest.Size(m) -} -func (m *ListReposRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListReposRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListReposRequest proto.InternalMessageInfo - -func (m *ListReposRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ListReposRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListReposRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response for ListRepos. The size is not set in the returned repositories. -type ListReposResponse struct { - // The listed repos. - Repos []*Repo `protobuf:"bytes,1,rep,name=repos,proto3" json:"repos,omitempty"` - // If non-empty, additional repositories exist within the project. These - // can be retrieved by including this value in the next ListReposRequest's - // page_token field. - 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 *ListReposResponse) Reset() { *m = ListReposResponse{} } -func (m *ListReposResponse) String() string { return proto.CompactTextString(m) } -func (*ListReposResponse) ProtoMessage() {} -func (*ListReposResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0e2c2c58455430a2, []int{4} -} - -func (m *ListReposResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListReposResponse.Unmarshal(m, b) -} -func (m *ListReposResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListReposResponse.Marshal(b, m, deterministic) -} -func (m *ListReposResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListReposResponse.Merge(m, src) -} -func (m *ListReposResponse) XXX_Size() int { - return xxx_messageInfo_ListReposResponse.Size(m) -} -func (m *ListReposResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListReposResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListReposResponse proto.InternalMessageInfo - -func (m *ListReposResponse) GetRepos() []*Repo { - if m != nil { - return m.Repos - } - return nil -} - -func (m *ListReposResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request for CreateRepo -type CreateRepoRequest struct { - // The project in which to create the repo. Values are of the form - // `projects/`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The repo to create. Only name should be set; setting other fields - // is an error. The project in the name should match the parent field. - Repo *Repo `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_0e2c2c58455430a2, []int{5} -} - -func (m *CreateRepoRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateRepoRequest.Unmarshal(m, b) -} -func (m *CreateRepoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateRepoRequest.Marshal(b, m, deterministic) -} -func (m *CreateRepoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateRepoRequest.Merge(m, src) -} -func (m *CreateRepoRequest) XXX_Size() int { - return xxx_messageInfo_CreateRepoRequest.Size(m) -} -func (m *CreateRepoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateRepoRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateRepoRequest proto.InternalMessageInfo - -func (m *CreateRepoRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateRepoRequest) GetRepo() *Repo { - if m != nil { - return m.Repo - } - return nil -} - -// Request for DeleteRepo. -type DeleteRepoRequest struct { - // The name of the repo to delete. Values are of the form - // `projects//repos/`. - 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 *DeleteRepoRequest) Reset() { *m = DeleteRepoRequest{} } -func (m *DeleteRepoRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteRepoRequest) ProtoMessage() {} -func (*DeleteRepoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0e2c2c58455430a2, []int{6} -} - -func (m *DeleteRepoRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteRepoRequest.Unmarshal(m, b) -} -func (m *DeleteRepoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteRepoRequest.Marshal(b, m, deterministic) -} -func (m *DeleteRepoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteRepoRequest.Merge(m, src) -} -func (m *DeleteRepoRequest) XXX_Size() int { - return xxx_messageInfo_DeleteRepoRequest.Size(m) -} -func (m *DeleteRepoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteRepoRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteRepoRequest proto.InternalMessageInfo - -func (m *DeleteRepoRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func init() { - proto.RegisterType((*Repo)(nil), "google.devtools.sourcerepo.v1.Repo") - proto.RegisterType((*MirrorConfig)(nil), "google.devtools.sourcerepo.v1.MirrorConfig") - proto.RegisterType((*GetRepoRequest)(nil), "google.devtools.sourcerepo.v1.GetRepoRequest") - proto.RegisterType((*ListReposRequest)(nil), "google.devtools.sourcerepo.v1.ListReposRequest") - proto.RegisterType((*ListReposResponse)(nil), "google.devtools.sourcerepo.v1.ListReposResponse") - proto.RegisterType((*CreateRepoRequest)(nil), "google.devtools.sourcerepo.v1.CreateRepoRequest") - proto.RegisterType((*DeleteRepoRequest)(nil), "google.devtools.sourcerepo.v1.DeleteRepoRequest") -} - -func init() { - proto.RegisterFile("google/devtools/sourcerepo/v1/sourcerepo.proto", fileDescriptor_0e2c2c58455430a2) -} - -var fileDescriptor_0e2c2c58455430a2 = []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, - 0x7b, 0x29, 0x21, 0x15, 0x36, 0x2d, 0xa0, 0x8a, 0x20, 0x24, 0xd4, 0x82, 0xa2, 0x0a, 0x90, 0xa2, - 0xb4, 0x4f, 0xbc, 0x44, 0x4e, 0x32, 0x35, 0xa6, 0xb6, 0xd7, 0x78, 0x37, 0x81, 0x80, 0x0a, 0x52, - 0xa5, 0xbe, 0x23, 0xfa, 0x19, 0x7c, 0x0e, 0xbf, 0xc0, 0x47, 0xf0, 0x88, 0x76, 0x6d, 0x37, 0x4e, - 0x13, 0x12, 0xbf, 0xed, 0xce, 0x9c, 0x99, 0x73, 0xf6, 0xec, 0x78, 0x0d, 0xba, 0xc5, 0x98, 0xe5, - 0xa0, 0xd1, 0xc5, 0xbe, 0x60, 0xcc, 0xe1, 0x06, 0x67, 0xbd, 0xa0, 0x83, 0x01, 0xfa, 0xcc, 0xe8, - 0xef, 0x26, 0x76, 0xba, 0x1f, 0x30, 0xc1, 0x68, 0x29, 0xc4, 0xeb, 0x31, 0x5e, 0x4f, 0x20, 0xfa, - 0xbb, 0xc5, 0x7f, 0xa3, 0x76, 0xa6, 0x6f, 0x1b, 0xa6, 0xe7, 0x31, 0x61, 0x0a, 0x9b, 0x79, 0x3c, - 0x2c, 0x2e, 0x6e, 0x46, 0x59, 0xdb, 0x74, 0x65, 0x73, 0xdb, 0x74, 0x5b, 0x3e, 0x73, 0xec, 0xce, - 0x20, 0xca, 0x17, 0x47, 0xf3, 0x23, 0xb9, 0x8d, 0x28, 0xa7, 0x76, 0xed, 0xde, 0xa9, 0x81, 0xae, - 0x2f, 0xa2, 0xa4, 0xf6, 0x8d, 0x40, 0xb6, 0x89, 0x3e, 0xa3, 0x14, 0xb2, 0x9e, 0xe9, 0x62, 0x81, - 0x94, 0x49, 0x25, 0xd7, 0x54, 0x6b, 0x19, 0xe3, 0xf6, 0x47, 0x2c, 0xcc, 0x95, 0x49, 0x25, 0xd3, - 0x54, 0x6b, 0xba, 0x0a, 0x99, 0x5e, 0xe0, 0x14, 0x32, 0x0a, 0x26, 0x97, 0xb4, 0x01, 0xcb, 0xae, - 0x1d, 0x04, 0x2c, 0x68, 0x75, 0x98, 0x77, 0x6a, 0x5b, 0x85, 0x6c, 0x99, 0x54, 0x96, 0xf6, 0x76, - 0xf4, 0xa9, 0x07, 0xd6, 0x5f, 0xa9, 0x9a, 0x43, 0x55, 0xd2, 0xcc, 0xbb, 0x89, 0x9d, 0xd6, 0x81, - 0x7c, 0x32, 0x1b, 0x73, 0x92, 0x21, 0x67, 0x09, 0xe0, 0x3d, 0xb6, 0xdf, 0x30, 0x76, 0xd6, 0xb2, - 0xbb, 0x4a, 0x5f, 0xae, 0x99, 0x8b, 0x22, 0x47, 0x5d, 0xaa, 0xc1, 0x72, 0x17, 0x7d, 0x87, 0x0d, - 0x5a, 0x67, 0x38, 0x90, 0x88, 0x50, 0xee, 0x52, 0x18, 0x7c, 0x81, 0x83, 0xa3, 0xae, 0xf6, 0x3f, - 0xfc, 0x5d, 0x47, 0x21, 0xcf, 0xde, 0xc4,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b, 0x1a, 0xa9, 0x1e, 0x7c, 0x81, 0xff, 0x3a, 0xcc, 0x9d, 0x3e, 0x31, - 0x07, 0x2b, 0xc3, 0xc7, 0xa1, 0x21, 0x27, 0xa4, 0x41, 0x5e, 0xd7, 0xa3, 0x0a, 0x8b, 0x39, 0xa6, - 0x67, 0xe9, 0x2c, 0xb0, 0x0c, 0x0b, 0x3d, 0x35, 0x3f, 0x46, 0x98, 0x32, 0x7d, 0x9b, 0xff, 0xe1, - 0x17, 0xfd, 0x78, 0xb8, 0x6b, 0x2f, 0xa8, 0x9a, 0xfb, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x31, - 0x75, 0x14, 0x03, 0xd5, 0x07, 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 - -// SourceRepoClient is the client API for SourceRepo service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type SourceRepoClient interface { - // Returns all repos belonging to a project. The sizes of the repos are - // not set by ListRepos. To get the size of a repo, use GetRepo. - ListRepos(ctx context.Context, in *ListReposRequest, opts ...grpc.CallOption) (*ListReposResponse, error) - // Returns information about a repo. - GetRepo(ctx context.Context, in *GetRepoRequest, opts ...grpc.CallOption) (*Repo, error) - // Creates a repo in the given project with the given name. - // - // If the named repository already exists, `CreateRepo` returns - // `ALREADY_EXISTS`. - CreateRepo(ctx context.Context, in *CreateRepoRequest, opts ...grpc.CallOption) (*Repo, error) - // Deletes a repo. - DeleteRepo(ctx context.Context, in *DeleteRepoRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Sets the access control policy on the specified resource. Replaces any - // existing policy. - SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) - // Gets the access control policy for a resource. - // Returns an empty policy if the resource exists and does not have a policy - // set. - GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) - // Returns permissions that a caller has on the specified resource. - // 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) -} - -type sourceRepoClient struct { - cc *grpc.ClientConn -} - -func NewSourceRepoClient(cc *grpc.ClientConn) SourceRepoClient { - return &sourceRepoClient{cc} -} - -func (c *sourceRepoClient) ListRepos(ctx context.Context, in *ListReposRequest, opts ...grpc.CallOption) (*ListReposResponse, error) { - out := new(ListReposResponse) - err := c.cc.Invoke(ctx, "/google.devtools.sourcerepo.v1.SourceRepo/ListRepos", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *sourceRepoClient) GetRepo(ctx context.Context, in *GetRepoRequest, opts ...grpc.CallOption) (*Repo, error) { - out := new(Repo) - err := c.cc.Invoke(ctx, "/google.devtools.sourcerepo.v1.SourceRepo/GetRepo", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *sourceRepoClient) CreateRepo(ctx context.Context, in *CreateRepoRequest, opts ...grpc.CallOption) (*Repo, error) { - out := new(Repo) - err := c.cc.Invoke(ctx, "/google.devtools.sourcerepo.v1.SourceRepo/CreateRepo", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *sourceRepoClient) DeleteRepo(ctx context.Context, in *DeleteRepoRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.devtools.sourcerepo.v1.SourceRepo/DeleteRepo", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *sourceRepoClient) SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { - out := new(v1.Policy) - err := c.cc.Invoke(ctx, "/google.devtools.sourcerepo.v1.SourceRepo/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *sourceRepoClient) GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { - out := new(v1.Policy) - err := c.cc.Invoke(ctx, "/google.devtools.sourcerepo.v1.SourceRepo/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *sourceRepoClient) TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) { - out := new(v1.TestIamPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.devtools.sourcerepo.v1.SourceRepo/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// SourceRepoServer is the server API for SourceRepo service. -type SourceRepoServer interface { - // Returns all repos belonging to a project. The sizes of the repos are - // not set by ListRepos. To get the size of a repo, use GetRepo. - ListRepos(context.Context, *ListReposRequest) (*ListReposResponse, error) - // Returns information about a repo. - GetRepo(context.Context, *GetRepoRequest) (*Repo, error) - // Creates a repo in the given project with the given name. - // - // If the named repository already exists, `CreateRepo` returns - // `ALREADY_EXISTS`. - CreateRepo(context.Context, *CreateRepoRequest) (*Repo, error) - // Deletes a repo. - DeleteRepo(context.Context, *DeleteRepoRequest) (*empty.Empty, error) - // Sets the access control policy on the specified resource. Replaces any - // existing policy. - SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error) - // Gets the access control policy for a resource. - // Returns an empty policy if the resource exists and does not have a policy - // set. - GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error) - // Returns permissions that a caller has on the specified resource. - // 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) -} - -// UnimplementedSourceRepoServer can be embedded to have forward compatible implementations. -type UnimplementedSourceRepoServer struct { -} - -func (*UnimplementedSourceRepoServer) ListRepos(ctx context.Context, req *ListReposRequest) (*ListReposResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListRepos not implemented") -} -func (*UnimplementedSourceRepoServer) GetRepo(ctx context.Context, req *GetRepoRequest) (*Repo, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetRepo not implemented") -} -func (*UnimplementedSourceRepoServer) CreateRepo(ctx context.Context, req *CreateRepoRequest) (*Repo, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateRepo not implemented") -} -func (*UnimplementedSourceRepoServer) DeleteRepo(ctx context.Context, req *DeleteRepoRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteRepo not implemented") -} -func (*UnimplementedSourceRepoServer) SetIamPolicy(ctx context.Context, req *v1.SetIamPolicyRequest) (*v1.Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedSourceRepoServer) GetIamPolicy(ctx context.Context, req *v1.GetIamPolicyRequest) (*v1.Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedSourceRepoServer) TestIamPermissions(ctx context.Context, req *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} - -func RegisterSourceRepoServer(s *grpc.Server, srv SourceRepoServer) { - s.RegisterService(&_SourceRepo_serviceDesc, srv) -} - -func _SourceRepo_ListRepos_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListReposRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SourceRepoServer).ListRepos(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.sourcerepo.v1.SourceRepo/ListRepos", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SourceRepoServer).ListRepos(ctx, req.(*ListReposRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SourceRepo_GetRepo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRepoRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SourceRepoServer).GetRepo(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.sourcerepo.v1.SourceRepo/GetRepo", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SourceRepoServer).GetRepo(ctx, req.(*GetRepoRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SourceRepo_CreateRepo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateRepoRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SourceRepoServer).CreateRepo(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.sourcerepo.v1.SourceRepo/CreateRepo", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SourceRepoServer).CreateRepo(ctx, req.(*CreateRepoRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SourceRepo_DeleteRepo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteRepoRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SourceRepoServer).DeleteRepo(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.sourcerepo.v1.SourceRepo/DeleteRepo", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SourceRepoServer).DeleteRepo(ctx, req.(*DeleteRepoRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SourceRepo_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.(SourceRepoServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.sourcerepo.v1.SourceRepo/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SourceRepoServer).SetIamPolicy(ctx, req.(*v1.SetIamPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SourceRepo_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.(SourceRepoServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.sourcerepo.v1.SourceRepo/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SourceRepoServer).GetIamPolicy(ctx, req.(*v1.GetIamPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SourceRepo_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.(SourceRepoServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.devtools.sourcerepo.v1.SourceRepo/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SourceRepoServer).TestIamPermissions(ctx, req.(*v1.TestIamPermissionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _SourceRepo_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.devtools.sourcerepo.v1.SourceRepo", - HandlerType: (*SourceRepoServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListRepos", - Handler: _SourceRepo_ListRepos_Handler, - }, - { - MethodName: "GetRepo", - Handler: _SourceRepo_GetRepo_Handler, - }, - { - MethodName: "CreateRepo", - Handler: _SourceRepo_CreateRepo_Handler, - }, - { - MethodName: "DeleteRepo", - Handler: _SourceRepo_DeleteRepo_Handler, - }, - { - MethodName: "SetIamPolicy", - Handler: _SourceRepo_SetIamPolicy_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _SourceRepo_GetIamPolicy_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _SourceRepo_TestIamPermissions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/devtools/sourcerepo/v1/sourcerepo.proto", -} 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 deleted file mode 100644 index 27808cda..00000000 --- a/vendor/google.golang.org/genproto/googleapis/example/library/v1/library.pb.go +++ /dev/null @@ -1,1358 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/example/library/v1/library.proto - -package library - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A single book in the library. -type Book struct { - // The resource name of the book. - // Book names have the form `shelves/{shelf_id}/books/{book_id}`. - // The name is ignored when creating a book. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The name of the book author. - Author string `protobuf:"bytes,2,opt,name=author,proto3" json:"author,omitempty"` - // The title of the book. - Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` - // Value indicating whether the book has been read. - Read bool `protobuf:"varint,4,opt,name=read,proto3" json:"read,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_40bd7925372a20e3, []int{0} -} - -func (m *Book) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Book.Unmarshal(m, b) -} -func (m *Book) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Book.Marshal(b, m, deterministic) -} -func (m *Book) XXX_Merge(src proto.Message) { - xxx_messageInfo_Book.Merge(m, src) -} -func (m *Book) XXX_Size() int { - return xxx_messageInfo_Book.Size(m) -} -func (m *Book) XXX_DiscardUnknown() { - xxx_messageInfo_Book.DiscardUnknown(m) -} - -var xxx_messageInfo_Book proto.InternalMessageInfo - -func (m *Book) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Book) GetAuthor() string { - if m != nil { - return m.Author - } - return "" -} - -func (m *Book) GetTitle() string { - if m != nil { - return m.Title - } - return "" -} - -func (m *Book) GetRead() bool { - if m != nil { - return m.Read - } - return false -} - -// A Shelf contains a collection of books with a theme. -type Shelf struct { - // The resource name of the shelf. - // Shelf names have the form `shelves/{shelf_id}`. - // The name is ignored when creating a shelf. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The theme of the shelf - Theme string `protobuf:"bytes,2,opt,name=theme,proto3" json:"theme,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_40bd7925372a20e3, []int{1} -} - -func (m *Shelf) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Shelf.Unmarshal(m, b) -} -func (m *Shelf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Shelf.Marshal(b, m, deterministic) -} -func (m *Shelf) XXX_Merge(src proto.Message) { - xxx_messageInfo_Shelf.Merge(m, src) -} -func (m *Shelf) XXX_Size() int { - return xxx_messageInfo_Shelf.Size(m) -} -func (m *Shelf) XXX_DiscardUnknown() { - xxx_messageInfo_Shelf.DiscardUnknown(m) -} - -var xxx_messageInfo_Shelf proto.InternalMessageInfo - -func (m *Shelf) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Shelf) GetTheme() string { - if m != nil { - return m.Theme - } - return "" -} - -// Request message for LibraryService.CreateShelf. -type CreateShelfRequest struct { - // The shelf to create. - Shelf *Shelf `protobuf:"bytes,1,opt,name=shelf,proto3" json:"shelf,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_40bd7925372a20e3, []int{2} -} - -func (m *CreateShelfRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateShelfRequest.Unmarshal(m, b) -} -func (m *CreateShelfRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateShelfRequest.Marshal(b, m, deterministic) -} -func (m *CreateShelfRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateShelfRequest.Merge(m, src) -} -func (m *CreateShelfRequest) XXX_Size() int { - return xxx_messageInfo_CreateShelfRequest.Size(m) -} -func (m *CreateShelfRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateShelfRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateShelfRequest proto.InternalMessageInfo - -func (m *CreateShelfRequest) GetShelf() *Shelf { - if m != nil { - return m.Shelf - } - return nil -} - -// Request message for LibraryService.GetShelf. -type GetShelfRequest struct { - // The name of the shelf to retrieve. - 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 *GetShelfRequest) Reset() { *m = GetShelfRequest{} } -func (m *GetShelfRequest) String() string { return proto.CompactTextString(m) } -func (*GetShelfRequest) ProtoMessage() {} -func (*GetShelfRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_40bd7925372a20e3, []int{3} -} - -func (m *GetShelfRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetShelfRequest.Unmarshal(m, b) -} -func (m *GetShelfRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetShelfRequest.Marshal(b, m, deterministic) -} -func (m *GetShelfRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetShelfRequest.Merge(m, src) -} -func (m *GetShelfRequest) XXX_Size() int { - return xxx_messageInfo_GetShelfRequest.Size(m) -} -func (m *GetShelfRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetShelfRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetShelfRequest proto.InternalMessageInfo - -func (m *GetShelfRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for LibraryService.ListShelves. -type ListShelvesRequest struct { - // Requested page size. Server may return fewer shelves than requested. - // If unspecified, server will pick an appropriate default. - PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // A token identifying a page of results the server should return. - // Typically, this is the value of - // [ListShelvesResponse.next_page_token][google.example.library.v1.ListShelvesResponse.next_page_token] - // returned from the previous call to `ListShelves` method. - PageToken string `protobuf:"bytes,2,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 *ListShelvesRequest) Reset() { *m = ListShelvesRequest{} } -func (m *ListShelvesRequest) String() string { return proto.CompactTextString(m) } -func (*ListShelvesRequest) ProtoMessage() {} -func (*ListShelvesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_40bd7925372a20e3, []int{4} -} - -func (m *ListShelvesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListShelvesRequest.Unmarshal(m, b) -} -func (m *ListShelvesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListShelvesRequest.Marshal(b, m, deterministic) -} -func (m *ListShelvesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListShelvesRequest.Merge(m, src) -} -func (m *ListShelvesRequest) XXX_Size() int { - return xxx_messageInfo_ListShelvesRequest.Size(m) -} -func (m *ListShelvesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListShelvesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListShelvesRequest proto.InternalMessageInfo - -func (m *ListShelvesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListShelvesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response message for LibraryService.ListShelves. -type ListShelvesResponse struct { - // The list of shelves. - Shelves []*Shelf `protobuf:"bytes,1,rep,name=shelves,proto3" json:"shelves,omitempty"` - // A token to retrieve next page of results. - // Pass this value in the - // [ListShelvesRequest.page_token][google.example.library.v1.ListShelvesRequest.page_token] - // field in the subsequent call to `ListShelves` method to retrieve the next - // page of 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 *ListShelvesResponse) Reset() { *m = ListShelvesResponse{} } -func (m *ListShelvesResponse) String() string { return proto.CompactTextString(m) } -func (*ListShelvesResponse) ProtoMessage() {} -func (*ListShelvesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_40bd7925372a20e3, []int{5} -} - -func (m *ListShelvesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListShelvesResponse.Unmarshal(m, b) -} -func (m *ListShelvesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListShelvesResponse.Marshal(b, m, deterministic) -} -func (m *ListShelvesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListShelvesResponse.Merge(m, src) -} -func (m *ListShelvesResponse) XXX_Size() int { - return xxx_messageInfo_ListShelvesResponse.Size(m) -} -func (m *ListShelvesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListShelvesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListShelvesResponse proto.InternalMessageInfo - -func (m *ListShelvesResponse) GetShelves() []*Shelf { - if m != nil { - return m.Shelves - } - return nil -} - -func (m *ListShelvesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request message for LibraryService.DeleteShelf. -type DeleteShelfRequest struct { - // The name of the shelf to delete. - 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 *DeleteShelfRequest) Reset() { *m = DeleteShelfRequest{} } -func (m *DeleteShelfRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteShelfRequest) ProtoMessage() {} -func (*DeleteShelfRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_40bd7925372a20e3, []int{6} -} - -func (m *DeleteShelfRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteShelfRequest.Unmarshal(m, b) -} -func (m *DeleteShelfRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteShelfRequest.Marshal(b, m, deterministic) -} -func (m *DeleteShelfRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteShelfRequest.Merge(m, src) -} -func (m *DeleteShelfRequest) XXX_Size() int { - return xxx_messageInfo_DeleteShelfRequest.Size(m) -} -func (m *DeleteShelfRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteShelfRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteShelfRequest proto.InternalMessageInfo - -func (m *DeleteShelfRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Describes the shelf being removed (other_shelf_name) and updated -// (name) in this merge. -type MergeShelvesRequest struct { - // The name of the shelf we're adding books to. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The name of the shelf we're removing books from and deleting. - OtherShelfName string `protobuf:"bytes,2,opt,name=other_shelf_name,json=otherShelfName,proto3" json:"other_shelf_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_40bd7925372a20e3, []int{7} -} - -func (m *MergeShelvesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MergeShelvesRequest.Unmarshal(m, b) -} -func (m *MergeShelvesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MergeShelvesRequest.Marshal(b, m, deterministic) -} -func (m *MergeShelvesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MergeShelvesRequest.Merge(m, src) -} -func (m *MergeShelvesRequest) XXX_Size() int { - return xxx_messageInfo_MergeShelvesRequest.Size(m) -} -func (m *MergeShelvesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MergeShelvesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MergeShelvesRequest proto.InternalMessageInfo - -func (m *MergeShelvesRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *MergeShelvesRequest) GetOtherShelfName() string { - if m != nil { - return m.OtherShelfName - } - return "" -} - -// Request message for LibraryService.CreateBook. -type CreateBookRequest struct { - // The name of the shelf in which the book is created. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The book to create. - Book *Book `protobuf:"bytes,2,opt,name=book,proto3" json:"book,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_40bd7925372a20e3, []int{8} -} - -func (m *CreateBookRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateBookRequest.Unmarshal(m, b) -} -func (m *CreateBookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateBookRequest.Marshal(b, m, deterministic) -} -func (m *CreateBookRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateBookRequest.Merge(m, src) -} -func (m *CreateBookRequest) XXX_Size() int { - return xxx_messageInfo_CreateBookRequest.Size(m) -} -func (m *CreateBookRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateBookRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateBookRequest proto.InternalMessageInfo - -func (m *CreateBookRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *CreateBookRequest) GetBook() *Book { - if m != nil { - return m.Book - } - return nil -} - -// Request message for LibraryService.GetBook. -type GetBookRequest struct { - // The name of the book to retrieve. - 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 *GetBookRequest) Reset() { *m = GetBookRequest{} } -func (m *GetBookRequest) String() string { return proto.CompactTextString(m) } -func (*GetBookRequest) ProtoMessage() {} -func (*GetBookRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_40bd7925372a20e3, []int{9} -} - -func (m *GetBookRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetBookRequest.Unmarshal(m, b) -} -func (m *GetBookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetBookRequest.Marshal(b, m, deterministic) -} -func (m *GetBookRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBookRequest.Merge(m, src) -} -func (m *GetBookRequest) XXX_Size() int { - return xxx_messageInfo_GetBookRequest.Size(m) -} -func (m *GetBookRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetBookRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetBookRequest proto.InternalMessageInfo - -func (m *GetBookRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request message for LibraryService.ListBooks. -type ListBooksRequest struct { - // The name of the shelf whose books we'd like to list. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Requested page size. Server may return fewer books than requested. - // If unspecified, server will pick an appropriate default. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // A token identifying a page of results the server should return. - // Typically, this is the value of - // [ListBooksResponse.next_page_token][google.example.library.v1.ListBooksResponse.next_page_token]. - // returned from the previous call to `ListBooks` method. - 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 *ListBooksRequest) Reset() { *m = ListBooksRequest{} } -func (m *ListBooksRequest) String() string { return proto.CompactTextString(m) } -func (*ListBooksRequest) ProtoMessage() {} -func (*ListBooksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_40bd7925372a20e3, []int{10} -} - -func (m *ListBooksRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListBooksRequest.Unmarshal(m, b) -} -func (m *ListBooksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListBooksRequest.Marshal(b, m, deterministic) -} -func (m *ListBooksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListBooksRequest.Merge(m, src) -} -func (m *ListBooksRequest) XXX_Size() int { - return xxx_messageInfo_ListBooksRequest.Size(m) -} -func (m *ListBooksRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListBooksRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListBooksRequest proto.InternalMessageInfo - -func (m *ListBooksRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ListBooksRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListBooksRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response message for LibraryService.ListBooks. -type ListBooksResponse struct { - // The list of books. - Books []*Book `protobuf:"bytes,1,rep,name=books,proto3" json:"books,omitempty"` - // A token to retrieve next page of results. - // Pass this value in the - // [ListBooksRequest.page_token][google.example.library.v1.ListBooksRequest.page_token] - // field in the subsequent call to `ListBooks` method to retrieve the next - // page of 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 *ListBooksResponse) Reset() { *m = ListBooksResponse{} } -func (m *ListBooksResponse) String() string { return proto.CompactTextString(m) } -func (*ListBooksResponse) ProtoMessage() {} -func (*ListBooksResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_40bd7925372a20e3, []int{11} -} - -func (m *ListBooksResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListBooksResponse.Unmarshal(m, b) -} -func (m *ListBooksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListBooksResponse.Marshal(b, m, deterministic) -} -func (m *ListBooksResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListBooksResponse.Merge(m, src) -} -func (m *ListBooksResponse) XXX_Size() int { - return xxx_messageInfo_ListBooksResponse.Size(m) -} -func (m *ListBooksResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListBooksResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListBooksResponse proto.InternalMessageInfo - -func (m *ListBooksResponse) GetBooks() []*Book { - if m != nil { - return m.Books - } - return nil -} - -func (m *ListBooksResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request message for LibraryService.UpdateBook. -type UpdateBookRequest struct { - // The name of the book to update. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The book to update with. The name must match or be empty. - Book *Book `protobuf:"bytes,2,opt,name=book,proto3" json:"book,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_40bd7925372a20e3, []int{12} -} - -func (m *UpdateBookRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateBookRequest.Unmarshal(m, b) -} -func (m *UpdateBookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateBookRequest.Marshal(b, m, deterministic) -} -func (m *UpdateBookRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateBookRequest.Merge(m, src) -} -func (m *UpdateBookRequest) XXX_Size() int { - return xxx_messageInfo_UpdateBookRequest.Size(m) -} -func (m *UpdateBookRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateBookRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateBookRequest proto.InternalMessageInfo - -func (m *UpdateBookRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *UpdateBookRequest) GetBook() *Book { - if m != nil { - return m.Book - } - return nil -} - -// Request message for LibraryService.DeleteBook. -type DeleteBookRequest struct { - // The name of the book to delete. - 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 *DeleteBookRequest) Reset() { *m = DeleteBookRequest{} } -func (m *DeleteBookRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteBookRequest) ProtoMessage() {} -func (*DeleteBookRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_40bd7925372a20e3, []int{13} -} - -func (m *DeleteBookRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteBookRequest.Unmarshal(m, b) -} -func (m *DeleteBookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteBookRequest.Marshal(b, m, deterministic) -} -func (m *DeleteBookRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteBookRequest.Merge(m, src) -} -func (m *DeleteBookRequest) XXX_Size() int { - return xxx_messageInfo_DeleteBookRequest.Size(m) -} -func (m *DeleteBookRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteBookRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteBookRequest proto.InternalMessageInfo - -func (m *DeleteBookRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Describes what book to move (name) and what shelf we're moving it -// to (other_shelf_name). -type MoveBookRequest struct { - // The name of the book to move. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The name of the destination shelf. - OtherShelfName string `protobuf:"bytes,2,opt,name=other_shelf_name,json=otherShelfName,proto3" json:"other_shelf_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_40bd7925372a20e3, []int{14} -} - -func (m *MoveBookRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MoveBookRequest.Unmarshal(m, b) -} -func (m *MoveBookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MoveBookRequest.Marshal(b, m, deterministic) -} -func (m *MoveBookRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MoveBookRequest.Merge(m, src) -} -func (m *MoveBookRequest) XXX_Size() int { - return xxx_messageInfo_MoveBookRequest.Size(m) -} -func (m *MoveBookRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MoveBookRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MoveBookRequest proto.InternalMessageInfo - -func (m *MoveBookRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *MoveBookRequest) GetOtherShelfName() string { - if m != nil { - return m.OtherShelfName - } - return "" -} - -func init() { - proto.RegisterType((*Book)(nil), "google.example.library.v1.Book") - proto.RegisterType((*Shelf)(nil), "google.example.library.v1.Shelf") - proto.RegisterType((*CreateShelfRequest)(nil), "google.example.library.v1.CreateShelfRequest") - proto.RegisterType((*GetShelfRequest)(nil), "google.example.library.v1.GetShelfRequest") - proto.RegisterType((*ListShelvesRequest)(nil), "google.example.library.v1.ListShelvesRequest") - proto.RegisterType((*ListShelvesResponse)(nil), "google.example.library.v1.ListShelvesResponse") - proto.RegisterType((*DeleteShelfRequest)(nil), "google.example.library.v1.DeleteShelfRequest") - proto.RegisterType((*MergeShelvesRequest)(nil), "google.example.library.v1.MergeShelvesRequest") - proto.RegisterType((*CreateBookRequest)(nil), "google.example.library.v1.CreateBookRequest") - proto.RegisterType((*GetBookRequest)(nil), "google.example.library.v1.GetBookRequest") - proto.RegisterType((*ListBooksRequest)(nil), "google.example.library.v1.ListBooksRequest") - proto.RegisterType((*ListBooksResponse)(nil), "google.example.library.v1.ListBooksResponse") - proto.RegisterType((*UpdateBookRequest)(nil), "google.example.library.v1.UpdateBookRequest") - proto.RegisterType((*DeleteBookRequest)(nil), "google.example.library.v1.DeleteBookRequest") - proto.RegisterType((*MoveBookRequest)(nil), "google.example.library.v1.MoveBookRequest") -} - -func init() { - proto.RegisterFile("google/example/library/v1/library.proto", fileDescriptor_40bd7925372a20e3) -} - -var fileDescriptor_40bd7925372a20e3 = []byte{ - // 1041 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x57, 0x4b, 0x53, 0xdb, 0x56, - 0x14, 0x1e, 0x19, 0xf3, 0x3a, 0xe6, 0x11, 0x2e, 0x94, 0x38, 0x0e, 0x29, 0x46, 0x49, 0x69, 0x30, - 0x44, 0x9a, 0xd0, 0xa4, 0xe9, 0x28, 0xc3, 0x34, 0x72, 0xd3, 0xc9, 0x74, 0x86, 0x74, 0xa8, 0x69, - 0x37, 0xdd, 0x78, 0x64, 0x73, 0xb0, 0x35, 0xc8, 0xba, 0x42, 0x12, 0x1e, 0x08, 0xc3, 0xa2, 0xf9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b, 0xbb, 0x26, 0xac, 0x33, 0x13, 0xe7, 0x10, 0x16, 0x7e, 0xf2, 0x0e, 0x06, 0x9a, 0x71, - 0xbb, 0x2f, 0x4f, 0x51, 0xc8, 0x8f, 0x6c, 0xc1, 0x53, 0x58, 0x10, 0x04, 0xbd, 0x59, 0x17, 0x1c, - 0x98, 0x7f, 0x4d, 0xbb, 0x37, 0x73, 0xfa, 0xdf, 0xcc, 0xdc, 0xfe, 0x6d, 0x06, 0xe6, 0x76, 0x45, - 0x0e, 0xfb, 0xe8, 0x77, 0xed, 0x26, 0x92, 0xb7, 0x0a, 0x14, 0x62, 0x7a, 0x45, 0x1e, 0x25, 0xe4, - 0x3c, 0xac, 0x6b, 0xa5, 0xd4, 0x51, 0x57, 0xd5, 0x9e, 0x29, 0x64, 0xec, 0xed, 0x5f, 0xff, 0xbc, - 0xcb, 0x2d, 0xa9, 0x05, 0xf6, 0x61, 0x95, 0xe3, 0x6f, 0x88, 0x1d, 0x72, 0x01, 0x53, 0x91, 0xc0, - 0x91, 0x4a, 0xc2, 0x89, 0x03, 0x2a, 0x98, 0x01, 0xfd, 0x7e, 0xcf, 0xe4, 0x35, 0xe3, 0xe0, 0xcb, - 0x64, 0x89, 0x81, 0x9f, 0xb3, 0x85, 0x9d, 0x48, 0xba, 0x2b, 0x17, 0xe4, 0x17, 0x05, 0x0a, 0x31, - 0x61, 0x4b, 0xac, 0xc1, 0xb0, 0xa4, 0x96, 0xb4, 0xac, 0xe6, 0x82, 0xf1, 0xea, 0x22, 0x0f, 0x66, - 0x96, 0xc4, 0x2b, 0x41, 0xce, 0xa0, 0x10, 0x13, 0xb8, 0xc4, 0x10, 0x86, 0x85, 0xb0, 0xb4, 0x1c, - 0x99, 0x47, 0xb7, 0x01, 0xed, 0x5b, 0x76, 0x1b, 0x18, 0x48, 0xbf, 0x32, 0x3a, 0xfd, 0x3f, 0x15, - 0x98, 0x89, 0x6b, 0x24, 0x49, 0x4a, 0x68, 0x84, 0x98, 0x66, 0x68, 0xc3, 0x4e, 0xcf, 0xfc, 0x84, - 0xc1, 0x6e, 0x0d, 0xf2, 0x96, 0x07, 0xb6, 0xaa, 0x96, 0x46, 0x05, 0x66, 0x74, 0x18, 0x96, 0xa1, - 0x54, 0xc8, 0xaf, 0x0a, 0xc0, 0x95, 0xa4, 0x92, 0xad, 0x54, 0x8e, 0xc6, 0xe6, 0xa9, 0x94, 0x36, - 0xc5, 0xea, 0x93, 0x9e, 0x39, 0xcd, 0x83, 0x63, 0x83, 0xcc, 0x03, 0x52, 0x47, 0x07, 0x24, 0x2e, - 0x23, 0x06, 0x1f, 0x78, 0x36, 0x38, 0x93, 0x52, 0x74, 0xc9, 0x46, 0x32, 0x67, 0x6f, 0x14, 0xcd, - 0x66, 0xbc, 0x65, 0x9f, 0x92, 0x95, 0x11, 0x81, 0xc8, 0x4b, 0x51, 0xe5, 0x82, 0x15, 0x66, 0xfa, - 0x52, 0x52, 0xc9, 0x66, 0x0a, 0x11, 0xe3, 0x5a, 0x5f, 0xda, 0xca, 0x66, 0x2c, 0x39, 0xbb, 0x11, - 0x8f, 0x6a, 0x85, 0x24, 0x94, 0x87, 0x9c, 0x02, 0x5c, 0x29, 0x61, 0x62, 0xaf, 0x86, 0x04, 0xf3, - 0x5a, 0x1e, 0x3f, 0x10, 0xd5, 0xa8, 0x24, 0x57, 0xe3, 0x9d, 0x02, 0x70, 0x25, 0xf6, 0x89, 0xd0, - 0x43, 0xdf, 0x84, 0xf4, 0xc6, 0x7c, 0xd9, 0x33, 0xf3, 0x97, 0x0c, 0xd9, 0x28, 0xad, 0xf1, 0x50, - 0xd8, 0x82, 0x76, 0x4d, 0x3c, 0x92, 0x28, 0xbf, 0x2b, 0x30, 0x15, 0x69, 0x7c, 0xa2, 0xba, 0x0d, - 0x7c, 0x08, 0xd2, 0x23, 0x7a, 0x99, 0x38, 0x55, 0xeb, 0xea, 0x5a, 0x52, 0xb5, 0x8c, 0x0e, 0xed, - 0xb2, 0xe1, 0xaa, 0x1e, 0xc3, 0xbd, 0x26, 0xed, 0x5c, 0x8f, 0x55, 0x9d, 0x91, 0x9f, 0x8c, 0x3d, - 0xd6, 0x93, 0x3d, 0xe5, 0xe7, 0x17, 0xd2, 0xb4, 0x45, 0x1d, 0xcb, 0x6d, 0x69, 0xd4, 0x6f, 0xe9, - 0x2d, 0x74, 0x79, 0xc7, 0xf4, 0xab, 0x6b, 0xf2, 0x88, 0xff, 0x53, 0xcf, 0xe5, 0x63, 0x63, 0x82, - 0x1b, 0x7f, 0xf1, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x3a, 0x38, 0xed, 0x3a, 0x7b, 0x0d, 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 - -// LibraryServiceClient is the client API for LibraryService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type LibraryServiceClient interface { - // Creates a shelf, and returns the new Shelf. - CreateShelf(ctx context.Context, in *CreateShelfRequest, opts ...grpc.CallOption) (*Shelf, error) - // Gets a shelf. Returns NOT_FOUND if the shelf does not exist. - GetShelf(ctx context.Context, in *GetShelfRequest, opts ...grpc.CallOption) (*Shelf, error) - // Lists shelves. The order is unspecified but deterministic. Newly created - // shelves will not necessarily be added to the end of this list. - ListShelves(ctx context.Context, in *ListShelvesRequest, opts ...grpc.CallOption) (*ListShelvesResponse, error) - // Deletes a shelf. Returns NOT_FOUND if the shelf does not exist. - DeleteShelf(ctx context.Context, in *DeleteShelfRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Merges two shelves by adding all books from the shelf named - // `other_shelf_name` to shelf `name`, and deletes - // `other_shelf_name`. Returns the updated shelf. - // The book ids of the moved books may not be the same as the original books. - // - // Returns NOT_FOUND if either shelf does not exist. - // This call is a no-op if the specified shelves are the same. - MergeShelves(ctx context.Context, in *MergeShelvesRequest, opts ...grpc.CallOption) (*Shelf, error) - // Creates a book, and returns the new Book. - CreateBook(ctx context.Context, in *CreateBookRequest, opts ...grpc.CallOption) (*Book, error) - // Gets a book. Returns NOT_FOUND if the book does not exist. - GetBook(ctx context.Context, in *GetBookRequest, opts ...grpc.CallOption) (*Book, error) - // Lists books in a shelf. The order is unspecified but deterministic. Newly - // created books will not necessarily be added to the end of this list. - // Returns NOT_FOUND if the shelf does not exist. - ListBooks(ctx context.Context, in *ListBooksRequest, opts ...grpc.CallOption) (*ListBooksResponse, error) - // Deletes a book. Returns NOT_FOUND if the book does not exist. - DeleteBook(ctx context.Context, in *DeleteBookRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Updates a book. Returns INVALID_ARGUMENT if the name of the book - // is non-empty and does not equal the existing name. - UpdateBook(ctx context.Context, in *UpdateBookRequest, opts ...grpc.CallOption) (*Book, error) - // Moves a book to another shelf, and returns the new book. The book - // id of the new book may not be the same as the original book. - MoveBook(ctx context.Context, in *MoveBookRequest, opts ...grpc.CallOption) (*Book, error) -} - -type libraryServiceClient struct { - cc *grpc.ClientConn -} - -func NewLibraryServiceClient(cc *grpc.ClientConn) LibraryServiceClient { - return &libraryServiceClient{cc} -} - -func (c *libraryServiceClient) CreateShelf(ctx context.Context, in *CreateShelfRequest, opts ...grpc.CallOption) (*Shelf, error) { - out := new(Shelf) - err := c.cc.Invoke(ctx, "/google.example.library.v1.LibraryService/CreateShelf", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *libraryServiceClient) GetShelf(ctx context.Context, in *GetShelfRequest, opts ...grpc.CallOption) (*Shelf, error) { - out := new(Shelf) - err := c.cc.Invoke(ctx, "/google.example.library.v1.LibraryService/GetShelf", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *libraryServiceClient) ListShelves(ctx context.Context, in *ListShelvesRequest, opts ...grpc.CallOption) (*ListShelvesResponse, error) { - out := new(ListShelvesResponse) - err := c.cc.Invoke(ctx, "/google.example.library.v1.LibraryService/ListShelves", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *libraryServiceClient) DeleteShelf(ctx context.Context, in *DeleteShelfRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.example.library.v1.LibraryService/DeleteShelf", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *libraryServiceClient) MergeShelves(ctx context.Context, in *MergeShelvesRequest, opts ...grpc.CallOption) (*Shelf, error) { - out := new(Shelf) - err := c.cc.Invoke(ctx, "/google.example.library.v1.LibraryService/MergeShelves", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *libraryServiceClient) CreateBook(ctx context.Context, in *CreateBookRequest, opts ...grpc.CallOption) (*Book, error) { - out := new(Book) - err := c.cc.Invoke(ctx, "/google.example.library.v1.LibraryService/CreateBook", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *libraryServiceClient) GetBook(ctx context.Context, in *GetBookRequest, opts ...grpc.CallOption) (*Book, error) { - out := new(Book) - err := c.cc.Invoke(ctx, "/google.example.library.v1.LibraryService/GetBook", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *libraryServiceClient) ListBooks(ctx context.Context, in *ListBooksRequest, opts ...grpc.CallOption) (*ListBooksResponse, error) { - out := new(ListBooksResponse) - err := c.cc.Invoke(ctx, "/google.example.library.v1.LibraryService/ListBooks", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *libraryServiceClient) DeleteBook(ctx context.Context, in *DeleteBookRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.example.library.v1.LibraryService/DeleteBook", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *libraryServiceClient) UpdateBook(ctx context.Context, in *UpdateBookRequest, opts ...grpc.CallOption) (*Book, error) { - out := new(Book) - err := c.cc.Invoke(ctx, "/google.example.library.v1.LibraryService/UpdateBook", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *libraryServiceClient) MoveBook(ctx context.Context, in *MoveBookRequest, opts ...grpc.CallOption) (*Book, error) { - out := new(Book) - err := c.cc.Invoke(ctx, "/google.example.library.v1.LibraryService/MoveBook", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// LibraryServiceServer is the server API for LibraryService service. -type LibraryServiceServer interface { - // Creates a shelf, and returns the new Shelf. - CreateShelf(context.Context, *CreateShelfRequest) (*Shelf, error) - // Gets a shelf. Returns NOT_FOUND if the shelf does not exist. - GetShelf(context.Context, *GetShelfRequest) (*Shelf, error) - // Lists shelves. The order is unspecified but deterministic. Newly created - // shelves will not necessarily be added to the end of this list. - ListShelves(context.Context, *ListShelvesRequest) (*ListShelvesResponse, error) - // Deletes a shelf. Returns NOT_FOUND if the shelf does not exist. - DeleteShelf(context.Context, *DeleteShelfRequest) (*empty.Empty, error) - // Merges two shelves by adding all books from the shelf named - // `other_shelf_name` to shelf `name`, and deletes - // `other_shelf_name`. Returns the updated shelf. - // The book ids of the moved books may not be the same as the original books. - // - // Returns NOT_FOUND if either shelf does not exist. - // This call is a no-op if the specified shelves are the same. - MergeShelves(context.Context, *MergeShelvesRequest) (*Shelf, error) - // Creates a book, and returns the new Book. - CreateBook(context.Context, *CreateBookRequest) (*Book, error) - // Gets a book. Returns NOT_FOUND if the book does not exist. - GetBook(context.Context, *GetBookRequest) (*Book, error) - // Lists books in a shelf. The order is unspecified but deterministic. Newly - // created books will not necessarily be added to the end of this list. - // Returns NOT_FOUND if the shelf does not exist. - ListBooks(context.Context, *ListBooksRequest) (*ListBooksResponse, error) - // Deletes a book. Returns NOT_FOUND if the book does not exist. - DeleteBook(context.Context, *DeleteBookRequest) (*empty.Empty, error) - // Updates a book. Returns INVALID_ARGUMENT if the name of the book - // is non-empty and does not equal the existing name. - UpdateBook(context.Context, *UpdateBookRequest) (*Book, error) - // Moves a book to another shelf, and returns the new book. The book - // id of the new book may not be the same as the original book. - MoveBook(context.Context, *MoveBookRequest) (*Book, error) -} - -// UnimplementedLibraryServiceServer can be embedded to have forward compatible implementations. -type UnimplementedLibraryServiceServer struct { -} - -func (*UnimplementedLibraryServiceServer) CreateShelf(ctx context.Context, req *CreateShelfRequest) (*Shelf, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateShelf not implemented") -} -func (*UnimplementedLibraryServiceServer) GetShelf(ctx context.Context, req *GetShelfRequest) (*Shelf, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetShelf not implemented") -} -func (*UnimplementedLibraryServiceServer) ListShelves(ctx context.Context, req *ListShelvesRequest) (*ListShelvesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListShelves not implemented") -} -func (*UnimplementedLibraryServiceServer) DeleteShelf(ctx context.Context, req *DeleteShelfRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteShelf not implemented") -} -func (*UnimplementedLibraryServiceServer) MergeShelves(ctx context.Context, req *MergeShelvesRequest) (*Shelf, error) { - return nil, status.Errorf(codes.Unimplemented, "method MergeShelves not implemented") -} -func (*UnimplementedLibraryServiceServer) CreateBook(ctx context.Context, req *CreateBookRequest) (*Book, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateBook not implemented") -} -func (*UnimplementedLibraryServiceServer) GetBook(ctx context.Context, req *GetBookRequest) (*Book, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBook not implemented") -} -func (*UnimplementedLibraryServiceServer) ListBooks(ctx context.Context, req *ListBooksRequest) (*ListBooksResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListBooks not implemented") -} -func (*UnimplementedLibraryServiceServer) DeleteBook(ctx context.Context, req *DeleteBookRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteBook not implemented") -} -func (*UnimplementedLibraryServiceServer) UpdateBook(ctx context.Context, req *UpdateBookRequest) (*Book, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateBook not implemented") -} -func (*UnimplementedLibraryServiceServer) MoveBook(ctx context.Context, req *MoveBookRequest) (*Book, error) { - return nil, status.Errorf(codes.Unimplemented, "method MoveBook not implemented") -} - -func RegisterLibraryServiceServer(s *grpc.Server, srv LibraryServiceServer) { - s.RegisterService(&_LibraryService_serviceDesc, srv) -} - -func _LibraryService_CreateShelf_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateShelfRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LibraryServiceServer).CreateShelf(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.example.library.v1.LibraryService/CreateShelf", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LibraryServiceServer).CreateShelf(ctx, req.(*CreateShelfRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LibraryService_GetShelf_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetShelfRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LibraryServiceServer).GetShelf(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.example.library.v1.LibraryService/GetShelf", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LibraryServiceServer).GetShelf(ctx, req.(*GetShelfRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LibraryService_ListShelves_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListShelvesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LibraryServiceServer).ListShelves(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.example.library.v1.LibraryService/ListShelves", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LibraryServiceServer).ListShelves(ctx, req.(*ListShelvesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LibraryService_DeleteShelf_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteShelfRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LibraryServiceServer).DeleteShelf(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.example.library.v1.LibraryService/DeleteShelf", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LibraryServiceServer).DeleteShelf(ctx, req.(*DeleteShelfRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LibraryService_MergeShelves_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MergeShelvesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LibraryServiceServer).MergeShelves(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.example.library.v1.LibraryService/MergeShelves", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LibraryServiceServer).MergeShelves(ctx, req.(*MergeShelvesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LibraryService_CreateBook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateBookRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LibraryServiceServer).CreateBook(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.example.library.v1.LibraryService/CreateBook", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LibraryServiceServer).CreateBook(ctx, req.(*CreateBookRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LibraryService_GetBook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetBookRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LibraryServiceServer).GetBook(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.example.library.v1.LibraryService/GetBook", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LibraryServiceServer).GetBook(ctx, req.(*GetBookRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LibraryService_ListBooks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListBooksRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LibraryServiceServer).ListBooks(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.example.library.v1.LibraryService/ListBooks", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LibraryServiceServer).ListBooks(ctx, req.(*ListBooksRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LibraryService_DeleteBook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteBookRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LibraryServiceServer).DeleteBook(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.example.library.v1.LibraryService/DeleteBook", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LibraryServiceServer).DeleteBook(ctx, req.(*DeleteBookRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LibraryService_UpdateBook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateBookRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LibraryServiceServer).UpdateBook(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.example.library.v1.LibraryService/UpdateBook", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LibraryServiceServer).UpdateBook(ctx, req.(*UpdateBookRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LibraryService_MoveBook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MoveBookRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LibraryServiceServer).MoveBook(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.example.library.v1.LibraryService/MoveBook", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LibraryServiceServer).MoveBook(ctx, req.(*MoveBookRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _LibraryService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.example.library.v1.LibraryService", - HandlerType: (*LibraryServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateShelf", - Handler: _LibraryService_CreateShelf_Handler, - }, - { - MethodName: "GetShelf", - Handler: _LibraryService_GetShelf_Handler, - }, - { - MethodName: "ListShelves", - Handler: _LibraryService_ListShelves_Handler, - }, - { - MethodName: "DeleteShelf", - Handler: _LibraryService_DeleteShelf_Handler, - }, - { - MethodName: "MergeShelves", - Handler: _LibraryService_MergeShelves_Handler, - }, - { - MethodName: "CreateBook", - Handler: _LibraryService_CreateBook_Handler, - }, - { - MethodName: "GetBook", - Handler: _LibraryService_GetBook_Handler, - }, - { - MethodName: "ListBooks", - Handler: _LibraryService_ListBooks_Handler, - }, - { - MethodName: "DeleteBook", - Handler: _LibraryService_DeleteBook_Handler, - }, - { - MethodName: "UpdateBook", - Handler: _LibraryService_UpdateBook_Handler, - }, - { - MethodName: "MoveBook", - Handler: _LibraryService_MoveBook_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/example/library/v1/library.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/firebase/fcm/connection/v1alpha1/connection_api.pb.go b/vendor/google.golang.org/genproto/googleapis/firebase/fcm/connection/v1alpha1/connection_api.pb.go deleted file mode 100644 index 85148234..00000000 --- a/vendor/google.golang.org/genproto/googleapis/firebase/fcm/connection/v1alpha1/connection_api.pb.go +++ /dev/null @@ -1,459 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/firebase/fcm/connection/v1alpha1/connection_api.proto - -package connection - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request sent to FCM from the connected client. -type UpstreamRequest struct { - // The type of request the client is making to FCM. - // - // Types that are valid to be assigned to RequestType: - // *UpstreamRequest_Ack - RequestType isUpstreamRequest_RequestType `protobuf_oneof:"request_type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpstreamRequest) Reset() { *m = UpstreamRequest{} } -func (m *UpstreamRequest) String() string { return proto.CompactTextString(m) } -func (*UpstreamRequest) ProtoMessage() {} -func (*UpstreamRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9af5e8ec6e2d3436, []int{0} -} - -func (m *UpstreamRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpstreamRequest.Unmarshal(m, b) -} -func (m *UpstreamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpstreamRequest.Marshal(b, m, deterministic) -} -func (m *UpstreamRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpstreamRequest.Merge(m, src) -} -func (m *UpstreamRequest) XXX_Size() int { - return xxx_messageInfo_UpstreamRequest.Size(m) -} -func (m *UpstreamRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpstreamRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpstreamRequest proto.InternalMessageInfo - -type isUpstreamRequest_RequestType interface { - isUpstreamRequest_RequestType() -} - -type UpstreamRequest_Ack struct { - Ack *Ack `protobuf:"bytes,1,opt,name=ack,proto3,oneof"` -} - -func (*UpstreamRequest_Ack) isUpstreamRequest_RequestType() {} - -func (m *UpstreamRequest) GetRequestType() isUpstreamRequest_RequestType { - if m != nil { - return m.RequestType - } - return nil -} - -func (m *UpstreamRequest) GetAck() *Ack { - if x, ok := m.GetRequestType().(*UpstreamRequest_Ack); ok { - return x.Ack - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*UpstreamRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*UpstreamRequest_Ack)(nil), - } -} - -// Response sent to the connected client from FCM. -type DownstreamResponse struct { - // The type of response FCM is sending to the client. - // - // Types that are valid to be assigned to ResponseType: - // *DownstreamResponse_Message - ResponseType isDownstreamResponse_ResponseType `protobuf_oneof:"response_type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DownstreamResponse) Reset() { *m = DownstreamResponse{} } -func (m *DownstreamResponse) String() string { return proto.CompactTextString(m) } -func (*DownstreamResponse) ProtoMessage() {} -func (*DownstreamResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9af5e8ec6e2d3436, []int{1} -} - -func (m *DownstreamResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DownstreamResponse.Unmarshal(m, b) -} -func (m *DownstreamResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DownstreamResponse.Marshal(b, m, deterministic) -} -func (m *DownstreamResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DownstreamResponse.Merge(m, src) -} -func (m *DownstreamResponse) XXX_Size() int { - return xxx_messageInfo_DownstreamResponse.Size(m) -} -func (m *DownstreamResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DownstreamResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_DownstreamResponse proto.InternalMessageInfo - -type isDownstreamResponse_ResponseType interface { - isDownstreamResponse_ResponseType() -} - -type DownstreamResponse_Message struct { - Message *Message `protobuf:"bytes,1,opt,name=message,proto3,oneof"` -} - -func (*DownstreamResponse_Message) isDownstreamResponse_ResponseType() {} - -func (m *DownstreamResponse) GetResponseType() isDownstreamResponse_ResponseType { - if m != nil { - return m.ResponseType - } - return nil -} - -func (m *DownstreamResponse) GetMessage() *Message { - if x, ok := m.GetResponseType().(*DownstreamResponse_Message); ok { - return x.Message - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*DownstreamResponse) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*DownstreamResponse_Message)(nil), - } -} - -// Acknowledgement to indicate a client successfully received an FCM message. -// -// If a message is not acked, FCM will continously resend the message until -// it expires. Duplicate delivery in this case is working as intended. -type Ack struct { - // Id of message being acknowledged - MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Ack) Reset() { *m = Ack{} } -func (m *Ack) String() string { return proto.CompactTextString(m) } -func (*Ack) ProtoMessage() {} -func (*Ack) Descriptor() ([]byte, []int) { - return fileDescriptor_9af5e8ec6e2d3436, []int{2} -} - -func (m *Ack) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Ack.Unmarshal(m, b) -} -func (m *Ack) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Ack.Marshal(b, m, deterministic) -} -func (m *Ack) XXX_Merge(src proto.Message) { - xxx_messageInfo_Ack.Merge(m, src) -} -func (m *Ack) XXX_Size() int { - return xxx_messageInfo_Ack.Size(m) -} -func (m *Ack) XXX_DiscardUnknown() { - xxx_messageInfo_Ack.DiscardUnknown(m) -} - -var xxx_messageInfo_Ack proto.InternalMessageInfo - -func (m *Ack) GetMessageId() string { - if m != nil { - return m.MessageId - } - return "" -} - -// Message created through the [Send -// API](https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages#resource-message). -type Message struct { - // The identifier of the message. Used to ack the message. - MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` - // Time the message was received in FCM. - CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Expiry time of the message. Currently it is always 4 weeks. - ExpireTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` - // The arbitrary payload set in the [Send - // API](https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages#resource-message). - Data map[string]string `protobuf:"bytes,4,rep,name=data,proto3" json:"data,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 *Message) Reset() { *m = Message{} } -func (m *Message) String() string { return proto.CompactTextString(m) } -func (*Message) ProtoMessage() {} -func (*Message) Descriptor() ([]byte, []int) { - return fileDescriptor_9af5e8ec6e2d3436, []int{3} -} - -func (m *Message) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Message.Unmarshal(m, b) -} -func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Message.Marshal(b, m, deterministic) -} -func (m *Message) XXX_Merge(src proto.Message) { - xxx_messageInfo_Message.Merge(m, src) -} -func (m *Message) XXX_Size() int { - return xxx_messageInfo_Message.Size(m) -} -func (m *Message) XXX_DiscardUnknown() { - xxx_messageInfo_Message.DiscardUnknown(m) -} - -var xxx_messageInfo_Message proto.InternalMessageInfo - -func (m *Message) GetMessageId() string { - if m != nil { - return m.MessageId - } - return "" -} - -func (m *Message) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *Message) GetExpireTime() *timestamp.Timestamp { - if m != nil { - return m.ExpireTime - } - return nil -} - -func (m *Message) GetData() map[string]string { - if m != nil { - return m.Data - } - return nil -} - -func init() { - proto.RegisterType((*UpstreamRequest)(nil), "google.firebase.fcm.connection.v1alpha1.UpstreamRequest") - proto.RegisterType((*DownstreamResponse)(nil), "google.firebase.fcm.connection.v1alpha1.DownstreamResponse") - proto.RegisterType((*Ack)(nil), "google.firebase.fcm.connection.v1alpha1.Ack") - proto.RegisterType((*Message)(nil), "google.firebase.fcm.connection.v1alpha1.Message") - proto.RegisterMapType((map[string]string)(nil), "google.firebase.fcm.connection.v1alpha1.Message.DataEntry") -} - -func init() { - proto.RegisterFile("google/firebase/fcm/connection/v1alpha1/connection_api.proto", fileDescriptor_9af5e8ec6e2d3436) -} - -var fileDescriptor_9af5e8ec6e2d3436 = []byte{ - // 453 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0xc1, 0x6e, 0x13, 0x31, - 0x10, 0x86, 0xb3, 0xd9, 0x42, 0x94, 0x09, 0xa5, 0xc8, 0xe2, 0x10, 0xad, 0x40, 0x54, 0x11, 0x12, - 0x91, 0x40, 0xde, 0x36, 0x1c, 0xa8, 0x1a, 0x0e, 0x24, 0x14, 0xa9, 0x48, 0x80, 0x60, 0x05, 0x17, - 0x2e, 0xd1, 0xc4, 0x71, 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, 0x99, 0x3c, 0xcd, 0xb9, 0xac, 0xfe, 0x8a, 0xd4, 0xb7, 0x50, 0x0b, 0xbb, 0xf3, 0xfb, 0x1d, - 0x5f, 0xd5, 0xe6, 0x37, 0x2b, 0xfa, 0xe9, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe4, 0x30, 0x40, - 0x1a, 0xfc, 0x03, 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 - -// ConnectionApiClient is the client API for ConnectionApi service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ConnectionApiClient interface { - // Creates a streaming connection with FCM to send messages and their - // respective ACKs. - // - // The client credentials need to be passed in the [gRPC - // Metadata](https://grpc.io/docs/guides/concepts.html#metadata). The Format - // of the header is: - // Key: "authorization" - // Value: "Checkin [client_id:secret]" - // - // - // The project's API key also needs to be sent to authorize the project. - // That can be set in the X-Goog-Api-Key Metadata header. - Connect(ctx context.Context, opts ...grpc.CallOption) (ConnectionApi_ConnectClient, error) -} - -type connectionApiClient struct { - cc *grpc.ClientConn -} - -func NewConnectionApiClient(cc *grpc.ClientConn) ConnectionApiClient { - return &connectionApiClient{cc} -} - -func (c *connectionApiClient) Connect(ctx context.Context, opts ...grpc.CallOption) (ConnectionApi_ConnectClient, error) { - stream, err := c.cc.NewStream(ctx, &_ConnectionApi_serviceDesc.Streams[0], "/google.firebase.fcm.connection.v1alpha1.ConnectionApi/Connect", opts...) - if err != nil { - return nil, err - } - x := &connectionApiConnectClient{stream} - return x, nil -} - -type ConnectionApi_ConnectClient interface { - Send(*UpstreamRequest) error - Recv() (*DownstreamResponse, error) - grpc.ClientStream -} - -type connectionApiConnectClient struct { - grpc.ClientStream -} - -func (x *connectionApiConnectClient) Send(m *UpstreamRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *connectionApiConnectClient) Recv() (*DownstreamResponse, error) { - m := new(DownstreamResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// ConnectionApiServer is the server API for ConnectionApi service. -type ConnectionApiServer interface { - // Creates a streaming connection with FCM to send messages and their - // respective ACKs. - // - // The client credentials need to be passed in the [gRPC - // Metadata](https://grpc.io/docs/guides/concepts.html#metadata). The Format - // of the header is: - // Key: "authorization" - // Value: "Checkin [client_id:secret]" - // - // - // The project's API key also needs to be sent to authorize the project. - // That can be set in the X-Goog-Api-Key Metadata header. - Connect(ConnectionApi_ConnectServer) error -} - -// UnimplementedConnectionApiServer can be embedded to have forward compatible implementations. -type UnimplementedConnectionApiServer struct { -} - -func (*UnimplementedConnectionApiServer) Connect(srv ConnectionApi_ConnectServer) error { - return status.Errorf(codes.Unimplemented, "method Connect not implemented") -} - -func RegisterConnectionApiServer(s *grpc.Server, srv ConnectionApiServer) { - s.RegisterService(&_ConnectionApi_serviceDesc, srv) -} - -func _ConnectionApi_Connect_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(ConnectionApiServer).Connect(&connectionApiConnectServer{stream}) -} - -type ConnectionApi_ConnectServer interface { - Send(*DownstreamResponse) error - Recv() (*UpstreamRequest, error) - grpc.ServerStream -} - -type connectionApiConnectServer struct { - grpc.ServerStream -} - -func (x *connectionApiConnectServer) Send(m *DownstreamResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *connectionApiConnectServer) Recv() (*UpstreamRequest, error) { - m := new(UpstreamRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -var _ConnectionApi_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.firebase.fcm.connection.v1alpha1.ConnectionApi", - HandlerType: (*ConnectionApiServer)(nil), - Methods: []grpc.MethodDesc{}, - Streams: []grpc.StreamDesc{ - { - StreamName: "Connect", - Handler: _ConnectionApi_Connect_Handler, - ServerStreams: true, - ClientStreams: true, - }, - }, - Metadata: "google/firebase/fcm/connection/v1alpha1/connection_api.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1/field.pb.go b/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1/field.pb.go deleted file mode 100644 index 0f007ee4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1/field.pb.go +++ /dev/null @@ -1,216 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/firestore/admin/v1/field.proto - -package admin - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_a50c2ee90e4658e7, []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 (m *Field) XXX_Merge(src proto.Message) { - xxx_messageInfo_Field.Merge(m, 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_a50c2ee90e4658e7, []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 (m *Field_IndexConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_Field_IndexConfig.Merge(m, 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.v1.Field") - proto.RegisterType((*Field_IndexConfig)(nil), "google.firestore.admin.v1.Field.IndexConfig") -} - -func init() { - proto.RegisterFile("google/firestore/admin/v1/field.proto", fileDescriptor_a50c2ee90e4658e7) -} - -var fileDescriptor_a50c2ee90e4658e7 = []byte{ - // 352 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x4f, 0x4b, 0xc3, 0x30, - 0x18, 0xc6, 0x49, 0x37, 0xff, 0x2c, 0x55, 0x0f, 0xc1, 0x43, 0x1d, 0x13, 0x8b, 0x30, 0xd8, 0x41, - 0x12, 0x3b, 0x6f, 0x0a, 0xc2, 0x36, 0xd8, 0xf0, 0xe4, 0xa8, 0xb0, 0x83, 0x14, 0x46, 0x5c, 0xb3, - 0x10, 0xe8, 0x92, 0xd1, 0x76, 0xc3, 0xcf, 0xe3, 0xd1, 0x8b, 0x57, 0x8f, 0x9e, 0xfd, 0x54, 0xd2, - 0xb7, 0x7f, 0xb6, 0x83, 0xdb, 0x2d, 0xcd, 0xf3, 0x7b, 0x9f, 0xe7, 0xed, 0x13, 0xdc, 0x96, 0xc6, - 0xc8, 0x48, 0xb0, 0xb9, 0x8a, 0x45, 0x92, 0x9a, 0x58, 0x30, 0x1e, 0x2e, 0x94, 0x66, 0x6b, 0x8f, - 0xcd, 0x95, 0x88, 0x42, 0xba, 0x8c, 0x4d, 0x6a, 0xc8, 0x45, 0x8e, 0xd1, 0x0a, 0xa3, 0x80, 0xd1, - 0xb5, 0xd7, 0xdc, 0xe3, 0xa0, 0x74, 0x28, 0xde, 0x73, 0x87, 0x66, 0xab, 0xc0, 0xf8, 0x52, 0x31, - 0xae, 0xb5, 0x49, 0x79, 0xaa, 0x8c, 0x4e, 0x72, 0xf5, 0xfa, 0xcb, 0xc2, 0x07, 0xc3, 0x2c, 0x8f, - 0x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, 0x82, 0x8a, 0x08, 0x80, 0x08, 0x26, 0xde, 0xdb, 0x21, - 0xa4, 0xde, 0xfd, 0x05, 0x00, 0x00, 0xff, 0xff, 0x32, 0xcd, 0x52, 0xcd, 0x7c, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1/firestore_admin.pb.go b/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1/firestore_admin.pb.go deleted file mode 100644 index 3fff9d09..00000000 --- a/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1/firestore_admin.pb.go +++ /dev/null @@ -1,1169 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/firestore/admin/v1/firestore_admin.proto - -package admin - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The request for [FirestoreAdmin.CreateIndex][google.firestore.admin.v1.FirestoreAdmin.CreateIndex]. -type CreateIndexRequest 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 composite index to create. - 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 *CreateIndexRequest) Reset() { *m = CreateIndexRequest{} } -func (m *CreateIndexRequest) String() string { return proto.CompactTextString(m) } -func (*CreateIndexRequest) ProtoMessage() {} -func (*CreateIndexRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1b39559c0814b3d0, []int{0} -} - -func (m *CreateIndexRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateIndexRequest.Unmarshal(m, b) -} -func (m *CreateIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateIndexRequest.Marshal(b, m, deterministic) -} -func (m *CreateIndexRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateIndexRequest.Merge(m, src) -} -func (m *CreateIndexRequest) XXX_Size() int { - return xxx_messageInfo_CreateIndexRequest.Size(m) -} -func (m *CreateIndexRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateIndexRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateIndexRequest proto.InternalMessageInfo - -func (m *CreateIndexRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateIndexRequest) GetIndex() *Index { - if m != nil { - return m.Index - } - return nil -} - -// The request for [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes]. -type ListIndexesRequest 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. - 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.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], 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 *ListIndexesRequest) Reset() { *m = ListIndexesRequest{} } -func (m *ListIndexesRequest) String() string { return proto.CompactTextString(m) } -func (*ListIndexesRequest) ProtoMessage() {} -func (*ListIndexesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1b39559c0814b3d0, []int{1} -} - -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 (m *ListIndexesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListIndexesRequest.Merge(m, 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) GetParent() string { - if m != nil { - return m.Parent - } - 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 [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes]. -type ListIndexesResponse struct { - // The requested indexes. - Indexes []*Index `protobuf:"bytes,1,rep,name=indexes,proto3" json:"indexes,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 *ListIndexesResponse) Reset() { *m = ListIndexesResponse{} } -func (m *ListIndexesResponse) String() string { return proto.CompactTextString(m) } -func (*ListIndexesResponse) ProtoMessage() {} -func (*ListIndexesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1b39559c0814b3d0, []int{2} -} - -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 (m *ListIndexesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListIndexesResponse.Merge(m, 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 "" -} - -// The request for [FirestoreAdmin.GetIndex][google.firestore.admin.v1.FirestoreAdmin.GetIndex]. -type GetIndexRequest struct { - // A name of the form - // `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_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 *GetIndexRequest) Reset() { *m = GetIndexRequest{} } -func (m *GetIndexRequest) String() string { return proto.CompactTextString(m) } -func (*GetIndexRequest) ProtoMessage() {} -func (*GetIndexRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1b39559c0814b3d0, []int{3} -} - -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 (m *GetIndexRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetIndexRequest.Merge(m, 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) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The request for [FirestoreAdmin.DeleteIndex][google.firestore.admin.v1.FirestoreAdmin.DeleteIndex]. -type DeleteIndexRequest struct { - // A name of the form - // `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_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 *DeleteIndexRequest) Reset() { *m = DeleteIndexRequest{} } -func (m *DeleteIndexRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteIndexRequest) ProtoMessage() {} -func (*DeleteIndexRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1b39559c0814b3d0, []int{4} -} - -func (m *DeleteIndexRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteIndexRequest.Unmarshal(m, b) -} -func (m *DeleteIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteIndexRequest.Marshal(b, m, deterministic) -} -func (m *DeleteIndexRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteIndexRequest.Merge(m, src) -} -func (m *DeleteIndexRequest) XXX_Size() int { - return xxx_messageInfo_DeleteIndexRequest.Size(m) -} -func (m *DeleteIndexRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteIndexRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteIndexRequest proto.InternalMessageInfo - -func (m *DeleteIndexRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The request for [FirestoreAdmin.UpdateField][google.firestore.admin.v1.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_1b39559c0814b3d0, []int{5} -} - -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 (m *UpdateFieldRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateFieldRequest.Merge(m, 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.v1.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_1b39559c0814b3d0, []int{6} -} - -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 (m *GetFieldRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetFieldRequest.Merge(m, 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.v1.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.v1.FirestoreAdmin.ListFields] only supports listing fields - // that have been explicitly overridden. To issue this query, call - // [FirestoreAdmin.ListFields][google.firestore.admin.v1.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.v1.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_1b39559c0814b3d0, []int{7} -} - -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 (m *ListFieldsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFieldsRequest.Merge(m, 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.v1.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_1b39559c0814b3d0, []int{8} -} - -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 (m *ListFieldsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFieldsResponse.Merge(m, 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 "" -} - -// The request for [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1.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,2,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,3,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_1b39559c0814b3d0, []int{9} -} - -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 (m *ExportDocumentsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportDocumentsRequest.Merge(m, 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.v1.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,2,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.v1.ExportDocumentsResponse.output_uri_prefix][google.firestore.admin.v1.ExportDocumentsResponse.output_uri_prefix]. - InputUriPrefix string `protobuf:"bytes,3,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_1b39559c0814b3d0, []int{10} -} - -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 (m *ImportDocumentsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportDocumentsRequest.Merge(m, 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 "" -} - -func init() { - proto.RegisterType((*CreateIndexRequest)(nil), "google.firestore.admin.v1.CreateIndexRequest") - proto.RegisterType((*ListIndexesRequest)(nil), "google.firestore.admin.v1.ListIndexesRequest") - proto.RegisterType((*ListIndexesResponse)(nil), "google.firestore.admin.v1.ListIndexesResponse") - proto.RegisterType((*GetIndexRequest)(nil), "google.firestore.admin.v1.GetIndexRequest") - proto.RegisterType((*DeleteIndexRequest)(nil), "google.firestore.admin.v1.DeleteIndexRequest") - proto.RegisterType((*UpdateFieldRequest)(nil), "google.firestore.admin.v1.UpdateFieldRequest") - proto.RegisterType((*GetFieldRequest)(nil), "google.firestore.admin.v1.GetFieldRequest") - proto.RegisterType((*ListFieldsRequest)(nil), "google.firestore.admin.v1.ListFieldsRequest") - proto.RegisterType((*ListFieldsResponse)(nil), "google.firestore.admin.v1.ListFieldsResponse") - proto.RegisterType((*ExportDocumentsRequest)(nil), "google.firestore.admin.v1.ExportDocumentsRequest") - proto.RegisterType((*ImportDocumentsRequest)(nil), "google.firestore.admin.v1.ImportDocumentsRequest") -} - -func init() { - proto.RegisterFile("google/firestore/admin/v1/firestore_admin.proto", fileDescriptor_1b39559c0814b3d0) -} - -var fileDescriptor_1b39559c0814b3d0 = []byte{ - // 1002 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x96, 0x4d, 0x6f, 0x1c, 0x35, - 0x18, 0xc7, 0x35, 0x9b, 0x17, 0x1a, 0x2f, 0x24, 0xd4, 0x95, 0x96, 0x65, 0x4a, 0xc4, 0x6a, 0x50, - 0xd0, 0x6a, 0xd5, 0x8c, 0xb5, 0x41, 0x8a, 0xd0, 0x96, 0x16, 0xd2, 0x34, 0x59, 0x45, 0x6a, 0x45, - 0xb4, 0xa5, 0x15, 0x42, 0x91, 0x56, 0xce, 0xae, 0x77, 0x6b, 0x32, 0x63, 0x0f, 0x63, 0x4f, 0x92, - 0x16, 0x45, 0x45, 0xdc, 0x38, 0x73, 0x45, 0xe2, 0xe5, 0xd8, 0x0b, 0x1c, 0xf8, 0x02, 0x5c, 0x7b, - 0x84, 0xaf, 0xc0, 0xd7, 0x40, 0x42, 0x7e, 0x99, 0x7d, 0xef, 0xcc, 0xd2, 0x56, 0xe2, 0xe6, 0x79, - 0xfc, 0xb7, 0x9f, 0x9f, 0x1f, 0xdb, 0x7f, 0x0f, 0x40, 0x7d, 0xce, 0xfb, 0x01, 0x41, 0x3d, 0x1a, - 0x13, 0x21, 0x79, 0x4c, 0x10, 0xee, 0x86, 0x94, 0xa1, 0xd3, 0xfa, 0x30, 0xd4, 0xd6, 0x21, 0x3f, - 0x8a, 0xb9, 0xe4, 0xf0, 0x6d, 0x33, 0xc0, 0x1f, 0xf4, 0xfa, 0xa6, 0xf7, 0xb4, 0xee, 0xbe, 0x63, - 0xe7, 0xc2, 0x11, 0x45, 0x98, 0x31, 0x2e, 0xb1, 0xa4, 0x9c, 0x09, 0x33, 0xd0, 0xdd, 0xc8, 0xca, - 0x44, 0x82, 0x6e, 0xbe, 0x8c, 0xb2, 0x2e, 0x39, 0xb7, 0xb2, 0xf7, 0xac, 0x2c, 0xe0, 0xac, 0x1f, - 0x27, 0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 0xab, 0x71, 0xeb, - 0xca, 0xf8, 0xf3, 0x74, 0xa8, 0xec, 0xe4, 0xd0, 0xf9, 0xe2, 0xa6, 0x1d, 0xd1, 0xe7, 0x01, 0x66, - 0x7d, 0x9f, 0xc7, 0x7d, 0xd4, 0x27, 0x4c, 0x9b, 0x0d, 0x1a, 0xa6, 0x9c, 0xf1, 0x73, 0x7f, 0x5d, - 0x37, 0x7e, 0x29, 0x2c, 0x36, 0x77, 0xf7, 0xef, 0x3d, 0x2d, 0xbc, 0xdb, 0x34, 0xf3, 0xec, 0xaa, - 0x15, 0xf8, 0x83, 0x5c, 0xbe, 0x4e, 0xe6, 0x3f, 0xa8, 0x3f, 0x4b, 0x15, 0x47, 0x5a, 0x71, 0x34, - 0x50, 0x1c, 0x69, 0xc5, 0xd1, 0x83, 0xfa, 0xf1, 0xb2, 0xce, 0xfa, 0xc1, 0xbf, 0x01, 0x00, 0x00, - 0xff, 0xff, 0xc2, 0x64, 0x7f, 0xf0, 0xe2, 0x0c, 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 - -// 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 { - // Creates a composite index. This returns a [google.longrunning.Operation][google.longrunning.Operation] - // which may be used to track the status of the creation. The metadata for - // the operation will be the type [IndexOperationMetadata][google.firestore.admin.v1.IndexOperationMetadata]. - CreateIndex(ctx context.Context, in *CreateIndexRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Lists composite indexes. - ListIndexes(ctx context.Context, in *ListIndexesRequest, opts ...grpc.CallOption) (*ListIndexesResponse, error) - // Gets a composite index. - GetIndex(ctx context.Context, in *GetIndexRequest, opts ...grpc.CallOption) (*Index, error) - // Deletes a composite index. - DeleteIndex(ctx context.Context, in *DeleteIndexRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // 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.v1.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.v1.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.v1.FirestoreAdmin.ListFields] only supports listing fields - // that have been explicitly overridden. To issue this query, call - // [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] with the filter set to - // `indexConfig.usesAncestorConfig:false`. - ListFields(ctx context.Context, in *ListFieldsRequest, opts ...grpc.CallOption) (*ListFieldsResponse, 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 { - cc *grpc.ClientConn -} - -func NewFirestoreAdminClient(cc *grpc.ClientConn) FirestoreAdminClient { - return &firestoreAdminClient{cc} -} - -func (c *firestoreAdminClient) CreateIndex(ctx context.Context, in *CreateIndexRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.firestore.admin.v1.FirestoreAdmin/CreateIndex", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firestoreAdminClient) ListIndexes(ctx context.Context, in *ListIndexesRequest, opts ...grpc.CallOption) (*ListIndexesResponse, error) { - out := new(ListIndexesResponse) - err := c.cc.Invoke(ctx, "/google.firestore.admin.v1.FirestoreAdmin/ListIndexes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firestoreAdminClient) GetIndex(ctx context.Context, in *GetIndexRequest, opts ...grpc.CallOption) (*Index, error) { - out := new(Index) - err := c.cc.Invoke(ctx, "/google.firestore.admin.v1.FirestoreAdmin/GetIndex", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firestoreAdminClient) DeleteIndex(ctx context.Context, in *DeleteIndexRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.firestore.admin.v1.FirestoreAdmin/DeleteIndex", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -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.v1.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.v1.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.v1.FirestoreAdmin/ListFields", in, out, opts...) - if err != nil { - return nil, err - } - 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.v1.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.v1.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 a composite index. This returns a [google.longrunning.Operation][google.longrunning.Operation] - // which may be used to track the status of the creation. The metadata for - // the operation will be the type [IndexOperationMetadata][google.firestore.admin.v1.IndexOperationMetadata]. - CreateIndex(context.Context, *CreateIndexRequest) (*longrunning.Operation, error) - // Lists composite indexes. - ListIndexes(context.Context, *ListIndexesRequest) (*ListIndexesResponse, error) - // Gets a composite index. - GetIndex(context.Context, *GetIndexRequest) (*Index, error) - // Deletes a composite index. - DeleteIndex(context.Context, *DeleteIndexRequest) (*empty.Empty, error) - // 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.v1.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.v1.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.v1.FirestoreAdmin.ListFields] only supports listing fields - // that have been explicitly overridden. To issue this query, call - // [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] with the filter set to - // `indexConfig.usesAncestorConfig:false`. - ListFields(context.Context, *ListFieldsRequest) (*ListFieldsResponse, 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) -} - -// UnimplementedFirestoreAdminServer can be embedded to have forward compatible implementations. -type UnimplementedFirestoreAdminServer struct { -} - -func (*UnimplementedFirestoreAdminServer) CreateIndex(ctx context.Context, req *CreateIndexRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateIndex not implemented") -} -func (*UnimplementedFirestoreAdminServer) ListIndexes(ctx context.Context, req *ListIndexesRequest) (*ListIndexesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListIndexes not implemented") -} -func (*UnimplementedFirestoreAdminServer) GetIndex(ctx context.Context, req *GetIndexRequest) (*Index, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIndex not implemented") -} -func (*UnimplementedFirestoreAdminServer) DeleteIndex(ctx context.Context, req *DeleteIndexRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteIndex not implemented") -} -func (*UnimplementedFirestoreAdminServer) GetField(ctx context.Context, req *GetFieldRequest) (*Field, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetField not implemented") -} -func (*UnimplementedFirestoreAdminServer) UpdateField(ctx context.Context, req *UpdateFieldRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateField not implemented") -} -func (*UnimplementedFirestoreAdminServer) ListFields(ctx context.Context, req *ListFieldsRequest) (*ListFieldsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListFields not implemented") -} -func (*UnimplementedFirestoreAdminServer) ExportDocuments(ctx context.Context, req *ExportDocumentsRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ExportDocuments not implemented") -} -func (*UnimplementedFirestoreAdminServer) ImportDocuments(ctx context.Context, req *ImportDocumentsRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ImportDocuments not implemented") -} - -func RegisterFirestoreAdminServer(s *grpc.Server, srv FirestoreAdminServer) { - s.RegisterService(&_FirestoreAdmin_serviceDesc, srv) -} - -func _FirestoreAdmin_CreateIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateIndexRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirestoreAdminServer).CreateIndex(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.firestore.admin.v1.FirestoreAdmin/CreateIndex", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirestoreAdminServer).CreateIndex(ctx, req.(*CreateIndexRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _FirestoreAdmin_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.(FirestoreAdminServer).ListIndexes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.firestore.admin.v1.FirestoreAdmin/ListIndexes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirestoreAdminServer).ListIndexes(ctx, req.(*ListIndexesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _FirestoreAdmin_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.(FirestoreAdminServer).GetIndex(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.firestore.admin.v1.FirestoreAdmin/GetIndex", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirestoreAdminServer).GetIndex(ctx, req.(*GetIndexRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _FirestoreAdmin_DeleteIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteIndexRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirestoreAdminServer).DeleteIndex(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.firestore.admin.v1.FirestoreAdmin/DeleteIndex", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirestoreAdminServer).DeleteIndex(ctx, req.(*DeleteIndexRequest)) - } - return interceptor(ctx, in, info, handler) -} - -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.v1.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.v1.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.v1.FirestoreAdmin/ListFields", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirestoreAdminServer).ListFields(ctx, req.(*ListFieldsRequest)) - } - 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.v1.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.v1.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.v1.FirestoreAdmin", - HandlerType: (*FirestoreAdminServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateIndex", - Handler: _FirestoreAdmin_CreateIndex_Handler, - }, - { - MethodName: "ListIndexes", - Handler: _FirestoreAdmin_ListIndexes_Handler, - }, - { - MethodName: "GetIndex", - Handler: _FirestoreAdmin_GetIndex_Handler, - }, - { - MethodName: "DeleteIndex", - Handler: _FirestoreAdmin_DeleteIndex_Handler, - }, - { - MethodName: "GetField", - Handler: _FirestoreAdmin_GetField_Handler, - }, - { - MethodName: "UpdateField", - Handler: _FirestoreAdmin_UpdateField_Handler, - }, - { - MethodName: "ListFields", - Handler: _FirestoreAdmin_ListFields_Handler, - }, - { - MethodName: "ExportDocuments", - Handler: _FirestoreAdmin_ExportDocuments_Handler, - }, - { - MethodName: "ImportDocuments", - Handler: _FirestoreAdmin_ImportDocuments_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/firestore/admin/v1/firestore_admin.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1/index.pb.go b/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1/index.pb.go deleted file mode 100644 index 11fecebe..00000000 --- a/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1/index.pb.go +++ /dev/null @@ -1,408 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/firestore/admin/v1/index.proto - -package admin - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // Indexes with a collection group query scope specified allow queries - // against all collections that has the collection id specified by the - // index. - Index_COLLECTION_GROUP Index_QueryScope = 2 -) - -var Index_QueryScope_name = map[int32]string{ - 0: "QUERY_SCOPE_UNSPECIFIED", - 1: "COLLECTION", - 2: "COLLECTION_GROUP", -} - -var Index_QueryScope_value = map[string]int32{ - "QUERY_SCOPE_UNSPECIFIED": 0, - "COLLECTION": 1, - "COLLECTION_GROUP": 2, -} - -func (x Index_QueryScope) String() string { - return proto.EnumName(Index_QueryScope_name, int32(x)) -} - -func (Index_QueryScope) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8cde9a305041caf2, []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_8cde9a305041caf2, []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_8cde9a305041caf2, []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_8cde9a305041caf2, []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.v1.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.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_8cde9a305041caf2, []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 (m *Index) XXX_Merge(src proto.Message) { - xxx_messageInfo_Index.Merge(m, 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_8cde9a305041caf2, []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 (m *Index_IndexField) XXX_Merge(src proto.Message) { - xxx_messageInfo_Index_IndexField.Merge(m, 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.v1.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.v1.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_OneofWrappers is for the internal use of the proto package. -func (*Index_IndexField) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Index_IndexField_Order_)(nil), - (*Index_IndexField_ArrayConfig_)(nil), - } -} - -func init() { - proto.RegisterEnum("google.firestore.admin.v1.Index_QueryScope", Index_QueryScope_name, Index_QueryScope_value) - proto.RegisterEnum("google.firestore.admin.v1.Index_State", Index_State_name, Index_State_value) - proto.RegisterEnum("google.firestore.admin.v1.Index_IndexField_Order", Index_IndexField_Order_name, Index_IndexField_Order_value) - proto.RegisterEnum("google.firestore.admin.v1.Index_IndexField_ArrayConfig", Index_IndexField_ArrayConfig_name, Index_IndexField_ArrayConfig_value) - proto.RegisterType((*Index)(nil), "google.firestore.admin.v1.Index") - proto.RegisterType((*Index_IndexField)(nil), "google.firestore.admin.v1.Index.IndexField") -} - -func init() { - proto.RegisterFile("google/firestore/admin/v1/index.proto", fileDescriptor_8cde9a305041caf2) -} - -var fileDescriptor_8cde9a305041caf2 = []byte{ - // 565 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0x6f, 0x6b, 0xd3, 0x50, - 0x14, 0xc6, 0x97, 0x74, 0x19, 0xf6, 0xb4, 0x8e, 0x78, 0x51, 0x8c, 0x73, 0xc3, 0x51, 0x50, 0x06, - 0x42, 0x42, 0xf5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 0x58, 0x9e, 0x8f, 0xaf, 0x61, 0xf6, 0x01, 0x2c, 0xaf, 0xdf, 0xc7, 0xd6, 0xc0, 0xf1, 0x5c, 0x55, - 0x42, 0x0f, 0x41, 0xdd, 0xe6, 0x61, 0x8f, 0x78, 0x43, 0x5f, 0x95, 0x5b, 0x0e, 0x28, 0xe2, 0xfc, - 0xca, 0xc1, 0x82, 0x81, 0x39, 0xc0, 0x37, 0x34, 0x43, 0xb0, 0x39, 0xa8, 0xe6, 0xaa, 0x83, 0x42, - 0xb0, 0x69, 0x8f, 0x54, 0x19, 0xa9, 0xd0, 0x74, 0x31, 0xb6, 0x83, 0x90, 0x60, 0xdf, 0x74, 0x88, - 0x5a, 0xeb, 0x7c, 0x97, 0xe0, 0x68, 0xc2, 0xe7, 0xb7, 0xff, 0xf1, 0x4e, 0x75, 0x33, 0xfc, 0x72, - 0x2f, 0x7c, 0xe9, 0xd3, 0xc7, 0xb5, 0x30, 0xe6, 0x33, 0x9a, 0xc6, 0x3a, 0xcf, 0x62, 0x23, 0x66, - 0xa9, 0xd8, 0x1a, 0xa3, 0xfa, 0x44, 0x17, 0x49, 0x7e, 0xc3, 0x62, 0xbe, 0x13, 0xc1, 0x57, 0x79, - 0xb7, 0x67, 0x75, 0x83, 0x6f, 0xf2, 0xb3, 0x5e, 0xc5, 0xb1, 0x66, 0x7c, 0x19, 0xe9, 0xdd, 0x4d, - 0x59, 0x53, 0x94, 0x3d, 0x6f, 0xff, 0xf8, 0xa3, 0x18, 0x0b, 0xc5, 0x78, 0xa3, 0x18, 0x0b, 0xc5, - 0xf8, 0xbc, 0xfd, 0x79, 0x4f, 0x54, 0x7d, 0xfd, 0x3b, 0x00, 0x00, 0xff, 0xff, 0xd6, 0x40, 0x72, - 0xd5, 0x0d, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1/location.pb.go b/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1/location.pb.go deleted file mode 100644 index c1bc0825..00000000 --- a/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1/location.pb.go +++ /dev/null @@ -1,83 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/firestore/admin/v1/location.proto - -package admin - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - _ "google.golang.org/genproto/googleapis/type/latlng" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// The metadata message for [google.cloud.location.Location.metadata][google.cloud.location.Location.metadata]. -type LocationMetadata struct { - 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_57c72114c0c8faa4, []int{0} -} - -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 (m *LocationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocationMetadata.Merge(m, 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 init() { - proto.RegisterType((*LocationMetadata)(nil), "google.firestore.admin.v1.LocationMetadata") -} - -func init() { - proto.RegisterFile("google/firestore/admin/v1/location.proto", fileDescriptor_57c72114c0c8faa4) -} - -var fileDescriptor_57c72114c0c8faa4 = []byte{ - // 230 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x48, 0xcf, 0xcf, 0x4f, - 0xcf, 0x49, 0xd5, 0x4f, 0xcb, 0x2c, 0x4a, 0x2d, 0x2e, 0xc9, 0x2f, 0x4a, 0xd5, 0x4f, 0x4c, 0xc9, - 0xcd, 0xcc, 0xd3, 0x2f, 0x33, 0xd4, 0xcf, 0xc9, 0x4f, 0x4e, 0x2c, 0xc9, 0xcc, 0xcf, 0xd3, 0x2b, - 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x84, 0xa8, 0xd4, 0x83, 0xab, 0xd4, 0x03, 0xab, 0xd4, 0x2b, - 0x33, 0x94, 0x92, 0x80, 0x1a, 0x52, 0x52, 0x59, 0x90, 0xaa, 0x9f, 0x93, 0x58, 0x92, 0x93, 0x97, - 0x0e, 0xd1, 0x24, 0x25, 0x03, 0x95, 0x49, 0x2c, 0xc8, 0xd4, 0x4f, 0xcc, 0xcb, 0xcb, 0x2f, 0x01, - 0x9b, 0x58, 0x0c, 0x91, 0x55, 0x12, 0xe2, 0x12, 0xf0, 0x81, 0x5a, 0xe2, 0x9b, 0x5a, 0x92, 0x98, - 0x92, 0x58, 0x92, 0xe8, 0xb4, 0x9b, 0x91, 0x4b, 0x36, 0x39, 0x3f, 0x57, 0x0f, 0xa7, 0x6d, 0x4e, - 0xbc, 0x30, 0x3d, 0x01, 0x20, 0x43, 0x02, 0x18, 0xa3, 0xec, 0xa0, 0x6a, 0xd3, 0xf3, 0x73, 0x12, - 0xf3, 0xd2, 0xf5, 0xf2, 0x8b, 0xd2, 0xf5, 0xd3, 0x53, 0xf3, 0xc0, 0x56, 0xe8, 0x43, 0xa4, 0x12, - 0x0b, 0x32, 0x8b, 0xb1, 0x78, 0xd1, 0x1a, 0xcc, 0x58, 0xc4, 0xc4, 0xe2, 0xee, 0xec, 0x16, 0xbc, - 0x8a, 0x49, 0xde, 0x1d, 0x62, 0x8e, 0x73, 0x4e, 0x7e, 0x69, 0x8a, 0x9e, 0x1b, 0xdc, 0x66, 0x47, - 0xb0, 0xcd, 0x61, 0x86, 0xa7, 0x60, 0x2a, 0x62, 0xc0, 0x2a, 0x62, 0xe0, 0x2a, 0x62, 0xc0, 0x2a, - 0x62, 0xc2, 0x0c, 0x93, 0xd8, 0xc0, 0xb6, 0x1a, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xa3, 0xed, - 0xd1, 0x40, 0x57, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1/operation.pb.go b/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1/operation.pb.go deleted file mode 100644 index 578ad439..00000000 --- a/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1/operation.pb.go +++ /dev/null @@ -1,713 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/firestore/admin/v1/operation.proto - -package admin - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // 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_f3b79aaf4866e7e0, []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_f3b79aaf4866e7e0, []int{1, 0, 0} -} - -// Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from -// [FirestoreAdmin.CreateIndex][google.firestore.admin.v1.FirestoreAdmin.CreateIndex]. -type IndexOperationMetadata 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 index resource that this operation is acting on. For example: - // `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}` - Index string `protobuf:"bytes,3,opt,name=index,proto3" json:"index,omitempty"` - // The state of the operation. - State OperationState `protobuf:"varint,4,opt,name=state,proto3,enum=google.firestore.admin.v1.OperationState" json:"state,omitempty"` - // The progress, in documents, of this operation. - ProgressDocuments *Progress `protobuf:"bytes,5,opt,name=progress_documents,json=progressDocuments,proto3" json:"progress_documents,omitempty"` - // The progress, in bytes, of this operation. - ProgressBytes *Progress `protobuf:"bytes,6,opt,name=progress_bytes,json=progressBytes,proto3" json:"progress_bytes,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_f3b79aaf4866e7e0, []int{0} -} - -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 (m *IndexOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_IndexOperationMetadata.Merge(m, 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) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *IndexOperationMetadata) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -func (m *IndexOperationMetadata) GetIndex() string { - if m != nil { - return m.Index - } - return "" -} - -func (m *IndexOperationMetadata) GetState() OperationState { - if m != nil { - return m.State - } - return OperationState_OPERATION_STATE_UNSPECIFIED -} - -func (m *IndexOperationMetadata) GetProgressDocuments() *Progress { - if m != nil { - return m.ProgressDocuments - } - return nil -} - -func (m *IndexOperationMetadata) GetProgressBytes() *Progress { - if m != nil { - return m.ProgressBytes - } - return nil -} - -// Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from -// [FirestoreAdmin.UpdateField][google.firestore.admin.v1.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.v1.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.v1.OperationState" json:"state,omitempty"` - // The progress, in documents, of this operation. - ProgressDocuments *Progress `protobuf:"bytes,6,opt,name=progress_documents,json=progressDocuments,proto3" json:"progress_documents,omitempty"` - // The progress, in bytes, of this operation. - ProgressBytes *Progress `protobuf:"bytes,7,opt,name=progress_bytes,json=progressBytes,proto3" json:"progress_bytes,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_f3b79aaf4866e7e0, []int{1} -} - -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 (m *FieldOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_FieldOperationMetadata.Merge(m, 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) GetProgressDocuments() *Progress { - if m != nil { - return m.ProgressDocuments - } - return nil -} - -func (m *FieldOperationMetadata) GetProgressBytes() *Progress { - if m != nil { - return m.ProgressBytes - } - 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.v1.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_f3b79aaf4866e7e0, []int{1, 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 (m *FieldOperationMetadata_IndexConfigDelta) XXX_Merge(src proto.Message) { - xxx_messageInfo_FieldOperationMetadata_IndexConfigDelta.Merge(m, 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 -} - -// Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from -// [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1.FirestoreAdmin.ExportDocuments]. -type ExportDocumentsMetadata 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 state of the export operation. - OperationState OperationState `protobuf:"varint,3,opt,name=operation_state,json=operationState,proto3,enum=google.firestore.admin.v1.OperationState" json:"operation_state,omitempty"` - // The progress, in documents, of this operation. - ProgressDocuments *Progress `protobuf:"bytes,4,opt,name=progress_documents,json=progressDocuments,proto3" json:"progress_documents,omitempty"` - // The progress, in bytes, of this operation. - 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_f3b79aaf4866e7e0, []int{2} -} - -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 (m *ExportDocumentsMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportDocumentsMetadata.Merge(m, 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_OPERATION_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 [google.longrunning.Operation][google.longrunning.Operation] results from -// [FirestoreAdmin.ImportDocuments][google.firestore.admin.v1.FirestoreAdmin.ImportDocuments]. -type ImportDocumentsMetadata 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 state of the import operation. - OperationState OperationState `protobuf:"varint,3,opt,name=operation_state,json=operationState,proto3,enum=google.firestore.admin.v1.OperationState" json:"operation_state,omitempty"` - // The progress, in documents, of this operation. - ProgressDocuments *Progress `protobuf:"bytes,4,opt,name=progress_documents,json=progressDocuments,proto3" json:"progress_documents,omitempty"` - // The progress, in bytes, of this operation. - 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_f3b79aaf4866e7e0, []int{3} -} - -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 (m *ImportDocumentsMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportDocumentsMetadata.Merge(m, 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_OPERATION_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 "" -} - -// 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_f3b79aaf4866e7e0, []int{4} -} - -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 (m *ExportDocumentsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportDocumentsResponse.Merge(m, 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 "" -} - -// Describes the progress of the operation. -// Unit of work is generic and must be interpreted based on where [Progress][google.firestore.admin.v1.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_f3b79aaf4866e7e0, []int{5} -} - -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 (m *Progress) XXX_Merge(src proto.Message) { - xxx_messageInfo_Progress.Merge(m, 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.RegisterEnum("google.firestore.admin.v1.OperationState", OperationState_name, OperationState_value) - proto.RegisterEnum("google.firestore.admin.v1.FieldOperationMetadata_IndexConfigDelta_ChangeType", FieldOperationMetadata_IndexConfigDelta_ChangeType_name, FieldOperationMetadata_IndexConfigDelta_ChangeType_value) - proto.RegisterType((*IndexOperationMetadata)(nil), "google.firestore.admin.v1.IndexOperationMetadata") - proto.RegisterType((*FieldOperationMetadata)(nil), "google.firestore.admin.v1.FieldOperationMetadata") - proto.RegisterType((*FieldOperationMetadata_IndexConfigDelta)(nil), "google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta") - proto.RegisterType((*ExportDocumentsMetadata)(nil), "google.firestore.admin.v1.ExportDocumentsMetadata") - proto.RegisterType((*ImportDocumentsMetadata)(nil), "google.firestore.admin.v1.ImportDocumentsMetadata") - proto.RegisterType((*ExportDocumentsResponse)(nil), "google.firestore.admin.v1.ExportDocumentsResponse") - proto.RegisterType((*Progress)(nil), "google.firestore.admin.v1.Progress") -} - -func init() { - proto.RegisterFile("google/firestore/admin/v1/operation.proto", fileDescriptor_f3b79aaf4866e7e0) -} - -var fileDescriptor_f3b79aaf4866e7e0 = []byte{ - // 850 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x56, 0x4f, 0x6f, 0xe3, 0x44, - 0x1c, 0xc5, 0x71, 0x92, 0x6e, 0x7e, 0xa5, 0x59, 0x77, 0x40, 0xdb, 0xd0, 0x05, 0x35, 0x0a, 0x5a, - 0x29, 0xbb, 0x07, 0x47, 0x2d, 0x02, 0x09, 0x21, 0x2d, 0x4a, 0x1d, 0xa7, 0x18, 0xa5, 0x89, 0xe5, - 0xa4, 0x05, 0x56, 0x95, 0x2c, 0x37, 0x9e, 0x98, 0xd1, 0xda, 0x1e, 0xcb, 0x33, 0x59, 0xda, 0x23, - 0x5f, 0x84, 0x03, 0x47, 0x3e, 0x03, 0x9f, 0x80, 0x13, 0xe2, 0xa3, 0x70, 0xe4, 0x84, 0x66, 0xfc, - 0x27, 0xda, 0x92, 0x14, 0x58, 0x2a, 0xb1, 0x87, 0xbd, 0xe5, 0x37, 0x7e, 0xef, 0xfd, 0x7e, 0x33, - 0xef, 0xcd, 0x28, 0xf0, 0x38, 0xa0, 0x34, 0x08, 0x71, 0x6f, 0x41, 0x52, 0xcc, 0x38, 0x4d, 0x71, - 0xcf, 0xf3, 0x23, 0x12, 0xf7, 0x5e, 0x1c, 0xf6, 0x68, 0x82, 0x53, 0x8f, 0x13, 0x1a, 0xeb, 0x49, - 0x4a, 0x39, 0x45, 0xef, 0x65, 0x50, 0xbd, 0x84, 0xea, 0x12, 0xaa, 0xbf, 0x38, 0xdc, 0x7f, 0xb4, - 0x59, 0x85, 0xc4, 0x3e, 0xbe, 0xca, 0x14, 0xf6, 0x0f, 0x72, 0x98, 0xac, 0x2e, 0x97, 0x8b, 0x1e, - 0x27, 0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0x8d, 0xfe, 0xd8, 0x30, 0x47, 0x23, 0x51, 0xab, 0xa2, 0x1e, 0x5a, 0xe3, 0x02, - 0x5f, 0x15, 0xf5, 0xf4, 0xcc, 0x10, 0xf8, 0xe1, 0xd9, 0x48, 0xab, 0x89, 0xa7, 0x6d, 0xd8, 0xb7, - 0x46, 0xe6, 0x40, 0xab, 0xa3, 0x1d, 0x68, 0xe4, 0x5c, 0x73, 0xa0, 0x6d, 0x1d, 0xff, 0xac, 0xc0, - 0x07, 0x73, 0x1a, 0x6d, 0x36, 0xf3, 0x78, 0x35, 0xbf, 0x2d, 0xe2, 0x6c, 0x2b, 0xcf, 0x9e, 0xe6, - 0xe0, 0x80, 0x86, 0x5e, 0x1c, 0xe8, 0x34, 0x0d, 0x7a, 0x01, 0x8e, 0x65, 0xd8, 0x7b, 0xd9, 0x27, - 0x2f, 0x21, 0x6c, 0xcd, 0x7f, 0xc3, 0xcf, 0xe4, 0x8f, 0x1f, 0x2b, 0xd5, 0x13, 0x63, 0x38, 0xfd, - 0xa9, 0x72, 0x70, 0x92, 0xe9, 0x18, 0x21, 0x5d, 0xfa, 0xfa, 0xb0, 0x6c, 0xdd, 0x97, 0xad, 0xcf, - 0x0f, 0x7f, 0x29, 0x10, 0x17, 0x12, 0x71, 0x51, 0x22, 0x2e, 0x24, 0xe2, 0xe2, 0xfc, 0xf0, 0xb2, - 0x2e, 0xbb, 0x7e, 0xf4, 0x67, 0x00, 0x00, 0x00, 0xff, 0xff, 0x63, 0x18, 0x66, 0xe2, 0xd6, 0x0a, - 0x00, 0x00, -} 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 deleted file mode 100644 index e39f7848..00000000 --- a/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta1/firestore_admin.pb.go +++ /dev/null @@ -1,1297 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/firestore/admin/v1beta1/firestore_admin.proto - -package admin - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // 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_45deb2e54c3a4296, []int{0} -} - -// The type of index operation. -type IndexOperationMetadata_OperationType int32 - -const ( - // Unspecified. Never set by server. - IndexOperationMetadata_OPERATION_TYPE_UNSPECIFIED IndexOperationMetadata_OperationType = 0 - // The operation is creating the index. Initiated by a `CreateIndex` call. - IndexOperationMetadata_CREATING_INDEX IndexOperationMetadata_OperationType = 1 -) - -var IndexOperationMetadata_OperationType_name = map[int32]string{ - 0: "OPERATION_TYPE_UNSPECIFIED", - 1: "CREATING_INDEX", -} - -var IndexOperationMetadata_OperationType_value = map[string]int32{ - "OPERATION_TYPE_UNSPECIFIED": 0, - "CREATING_INDEX": 1, -} - -func (x IndexOperationMetadata_OperationType) String() string { - return proto.EnumName(IndexOperationMetadata_OperationType_name, int32(x)) -} - -func (IndexOperationMetadata_OperationType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_45deb2e54c3a4296, []int{0, 0} -} - -// Metadata for index operations. This metadata populates -// the metadata field of [google.longrunning.Operation][google.longrunning.Operation]. -type IndexOperationMetadata 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 index resource that this operation is acting on. For example: - // `projects/{project_id}/databases/{database_id}/indexes/{index_id}` - Index string `protobuf:"bytes,3,opt,name=index,proto3" json:"index,omitempty"` - // The type of index operation. - OperationType IndexOperationMetadata_OperationType `protobuf:"varint,4,opt,name=operation_type,json=operationType,proto3,enum=google.firestore.admin.v1beta1.IndexOperationMetadata_OperationType" json:"operation_type,omitempty"` - // True if the [google.longrunning.Operation] was cancelled. If the - // cancellation is in progress, cancelled will be true but - // [google.longrunning.Operation.done][google.longrunning.Operation.done] will be false. - Cancelled bool `protobuf:"varint,5,opt,name=cancelled,proto3" json:"cancelled,omitempty"` - // Progress of the existing operation, measured in number of documents. - DocumentProgress *Progress `protobuf:"bytes,6,opt,name=document_progress,json=documentProgress,proto3" json:"document_progress,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_45deb2e54c3a4296, []int{0} -} - -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 (m *IndexOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_IndexOperationMetadata.Merge(m, 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) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *IndexOperationMetadata) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -func (m *IndexOperationMetadata) GetIndex() string { - if m != nil { - return m.Index - } - return "" -} - -func (m *IndexOperationMetadata) GetOperationType() IndexOperationMetadata_OperationType { - if m != nil { - return m.OperationType - } - return IndexOperationMetadata_OPERATION_TYPE_UNSPECIFIED -} - -func (m *IndexOperationMetadata) GetCancelled() bool { - if m != nil { - return m.Cancelled - } - return false -} - -func (m *IndexOperationMetadata) GetDocumentProgress() *Progress { - if m != nil { - return m.DocumentProgress - } - return nil -} - -// Measures the progress of a particular metric. -type Progress struct { - // An estimate of how much work has been completed. Note that this may be - // greater than `work_estimated`. - WorkCompleted int64 `protobuf:"varint,1,opt,name=work_completed,json=workCompleted,proto3" json:"work_completed,omitempty"` - // An estimate of how much work needs to be performed. Zero if the - // work estimate is unavailable. May change as work progresses. - WorkEstimated int64 `protobuf:"varint,2,opt,name=work_estimated,json=workEstimated,proto3" json:"work_estimated,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_45deb2e54c3a4296, []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 (m *Progress) XXX_Merge(src proto.Message) { - xxx_messageInfo_Progress.Merge(m, 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) GetWorkCompleted() int64 { - if m != nil { - return m.WorkCompleted - } - return 0 -} - -func (m *Progress) GetWorkEstimated() int64 { - if m != nil { - return m.WorkEstimated - } - return 0 -} - -// The request for [FirestoreAdmin.CreateIndex][google.firestore.admin.v1beta1.FirestoreAdmin.CreateIndex]. -type CreateIndexRequest struct { - // The name of the database this index will apply to. For example: - // `projects/{project_id}/databases/{database_id}` - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The index to create. The name and state fields are output only and will be - // ignored. Certain single field indexes cannot be created or deleted. - 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 *CreateIndexRequest) Reset() { *m = CreateIndexRequest{} } -func (m *CreateIndexRequest) String() string { return proto.CompactTextString(m) } -func (*CreateIndexRequest) ProtoMessage() {} -func (*CreateIndexRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_45deb2e54c3a4296, []int{2} -} - -func (m *CreateIndexRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateIndexRequest.Unmarshal(m, b) -} -func (m *CreateIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateIndexRequest.Marshal(b, m, deterministic) -} -func (m *CreateIndexRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateIndexRequest.Merge(m, src) -} -func (m *CreateIndexRequest) XXX_Size() int { - return xxx_messageInfo_CreateIndexRequest.Size(m) -} -func (m *CreateIndexRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateIndexRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateIndexRequest proto.InternalMessageInfo - -func (m *CreateIndexRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateIndexRequest) GetIndex() *Index { - if m != nil { - return m.Index - } - return nil -} - -// The request for [FirestoreAdmin.GetIndex][google.firestore.admin.v1beta1.FirestoreAdmin.GetIndex]. -type GetIndexRequest struct { - // The name of the index. For example: - // `projects/{project_id}/databases/{database_id}/indexes/{index_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 *GetIndexRequest) Reset() { *m = GetIndexRequest{} } -func (m *GetIndexRequest) String() string { return proto.CompactTextString(m) } -func (*GetIndexRequest) ProtoMessage() {} -func (*GetIndexRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_45deb2e54c3a4296, []int{3} -} - -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 (m *GetIndexRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetIndexRequest.Merge(m, 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) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The request for [FirestoreAdmin.ListIndexes][google.firestore.admin.v1beta1.FirestoreAdmin.ListIndexes]. -type ListIndexesRequest struct { - // The database name. For example: - // `projects/{project_id}/databases/{database_id}` - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` - // The standard List page size. - PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // The standard List page token. - 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 *ListIndexesRequest) Reset() { *m = ListIndexesRequest{} } -func (m *ListIndexesRequest) String() string { return proto.CompactTextString(m) } -func (*ListIndexesRequest) ProtoMessage() {} -func (*ListIndexesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_45deb2e54c3a4296, []int{4} -} - -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 (m *ListIndexesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListIndexesRequest.Merge(m, 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) GetParent() string { - if m != nil { - return m.Parent - } - 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 request for [FirestoreAdmin.DeleteIndex][google.firestore.admin.v1beta1.FirestoreAdmin.DeleteIndex]. -type DeleteIndexRequest struct { - // The index name. For example: - // `projects/{project_id}/databases/{database_id}/indexes/{index_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 *DeleteIndexRequest) Reset() { *m = DeleteIndexRequest{} } -func (m *DeleteIndexRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteIndexRequest) ProtoMessage() {} -func (*DeleteIndexRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_45deb2e54c3a4296, []int{5} -} - -func (m *DeleteIndexRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteIndexRequest.Unmarshal(m, b) -} -func (m *DeleteIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteIndexRequest.Marshal(b, m, deterministic) -} -func (m *DeleteIndexRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteIndexRequest.Merge(m, src) -} -func (m *DeleteIndexRequest) XXX_Size() int { - return xxx_messageInfo_DeleteIndexRequest.Size(m) -} -func (m *DeleteIndexRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteIndexRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteIndexRequest proto.InternalMessageInfo - -func (m *DeleteIndexRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The response for [FirestoreAdmin.ListIndexes][google.firestore.admin.v1beta1.FirestoreAdmin.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_45deb2e54c3a4296, []int{6} -} - -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 (m *ListIndexesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListIndexesResponse.Merge(m, 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 "" -} - -// 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_45deb2e54c3a4296, []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 (m *ExportDocumentsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportDocumentsRequest.Merge(m, 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_45deb2e54c3a4296, []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 (m *ImportDocumentsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportDocumentsRequest.Merge(m, 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_45deb2e54c3a4296, []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 (m *ExportDocumentsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportDocumentsResponse.Merge(m, 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_45deb2e54c3a4296, []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 (m *ExportDocumentsMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportDocumentsMetadata.Merge(m, 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_45deb2e54c3a4296, []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 (m *ImportDocumentsMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportDocumentsMetadata.Merge(m, 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.RegisterEnum("google.firestore.admin.v1beta1.OperationState", OperationState_name, OperationState_value) - proto.RegisterEnum("google.firestore.admin.v1beta1.IndexOperationMetadata_OperationType", IndexOperationMetadata_OperationType_name, IndexOperationMetadata_OperationType_value) - proto.RegisterType((*IndexOperationMetadata)(nil), "google.firestore.admin.v1beta1.IndexOperationMetadata") - proto.RegisterType((*Progress)(nil), "google.firestore.admin.v1beta1.Progress") - proto.RegisterType((*CreateIndexRequest)(nil), "google.firestore.admin.v1beta1.CreateIndexRequest") - proto.RegisterType((*GetIndexRequest)(nil), "google.firestore.admin.v1beta1.GetIndexRequest") - 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") -} - -func init() { - proto.RegisterFile("google/firestore/admin/v1beta1/firestore_admin.proto", fileDescriptor_45deb2e54c3a4296) -} - -var fileDescriptor_45deb2e54c3a4296 = []byte{ - // 1244 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x57, 0x6d, 0x6f, 0xdb, 0xd4, - 0x17, 0xff, 0xbb, 0x69, 0xd3, 0xe6, 0xf4, 0xdf, 0x34, 0xbd, 0x83, 0x2e, 0xca, 0x1e, 0xa8, 0x0c, - 0x43, 0x51, 0x04, 0x36, 0xeb, 0x60, 0x62, 0x9d, 0xd0, 0x94, 0x3a, 0x4e, 0x65, 0x29, 0xa4, 0x91, - 0x93, 0xb2, 0xb1, 0x37, 0x96, 0x9b, 0xdc, 0x66, 0x66, 0xb6, 0xaf, 0xf1, 0xbd, 0x59, 0xdb, 0xa1, - 0x02, 0xe2, 0x2b, 0x8c, 0x97, 0xbc, 0x81, 0x97, 0x20, 0x21, 0xbe, 0x05, 0x12, 0x2f, 0xe1, 0x03, - 0x20, 0x24, 0x3e, 0x00, 0x1f, 0x01, 0xdd, 0x6b, 0x3b, 0xcf, 0x9b, 0x5b, 0x69, 0x12, 0x42, 0xe2, - 0x5d, 0xce, 0xf3, 0xef, 0x9e, 0x73, 0x72, 0xce, 0x31, 0xbc, 0xdb, 0x27, 0xa4, 0xef, 0x62, 0xf5, - 0xc8, 0x09, 0x31, 0x65, 0x24, 0xc4, 0xaa, 0xdd, 0xf3, 0x1c, 0x5f, 0x7d, 0x72, 0xf3, 0x10, 0x33, - 0xfb, 0xe6, 0x88, 0x6f, 0x09, 0xbe, 0x12, 0x84, 0x84, 0x11, 0x74, 0x3d, 0xb2, 0x52, 0x86, 0x52, - 0x25, 0x92, 0xc6, 0x56, 0xa5, 0xab, 0xb1, 0x57, 0x3b, 0x70, 0x54, 0xdb, 0xf7, 0x09, 0xb3, 0x99, - 0x43, 0x7c, 0x1a, 0x59, 0x97, 0x2a, 0x29, 0x31, 0x1d, 0xbf, 0x87, 0x4f, 0x62, 0xdd, 0xd7, 0x63, - 0x5d, 0x97, 0xf8, 0xfd, 0x70, 0xe0, 0xfb, 0x8e, 0xdf, 0x57, 0x49, 0x80, 0xc3, 0x09, 0x87, 0x57, - 0x62, 0x25, 0x41, 0x1d, 0x0e, 0x8e, 0x54, 0xec, 0x05, 0xec, 0x34, 0x16, 0xbe, 0x36, 0x2d, 0x64, - 0x8e, 0x87, 0x29, 0xb3, 0xbd, 0x20, 0x56, 0xb8, 0x3c, 0x06, 0xb6, 0xeb, 0x3a, 0xd8, 0x67, 0x91, - 0x40, 0xfe, 0x39, 0x03, 0x9b, 0x06, 0xc7, 0xb2, 0x9f, 0x04, 0xfc, 0x10, 0x33, 0xbb, 0x67, 0x33, - 0x1b, 0xdd, 0x01, 0xa0, 0xcc, 0x0e, 0x99, 0xc5, 0x9d, 0x15, 0xa5, 0x2d, 0xa9, 0xbc, 0xba, 0x5d, - 0x52, 0xe2, 0xac, 0x24, 0x91, 0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a, 0xa8, 0xc5, 0x66, 0x7d, 0xe2, 0xda, 0x7e, 0x5f, 0x21, 0x61, - 0x5f, 0xed, 0x63, 0x5f, 0x34, 0x9c, 0x3a, 0x8a, 0xfb, 0xbc, 0xcf, 0xdf, 0xbb, 0x82, 0xfa, 0x6e, - 0x61, 0x71, 0x4f, 0xab, 0xb7, 0xbf, 0x5f, 0x78, 0x63, 0x2f, 0x72, 0xa6, 0xf1, 0xb7, 0x28, 0xc3, - 0x80, 0x8a, 0x88, 0xa8, 0x7c, 0x74, 0x73, 0x97, 0xdb, 0x1c, 0x66, 0x85, 0xf7, 0x5b, 0x7f, 0x07, - 0x00, 0x00, 0xff, 0xff, 0x31, 0x42, 0x70, 0xc3, 0xcf, 0x0f, 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 - -// 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 { - // Creates the specified index. - // A newly created index's initial state is `CREATING`. On completion of the - // returned [google.longrunning.Operation][google.longrunning.Operation], the state will be `READY`. - // If the index already exists, the call will return an `ALREADY_EXISTS` - // status. - // - // During creation, the process could result in an error, in which case the - // index will move to the `ERROR` state. The process can be recovered by - // fixing the data that caused the error, removing the index with - // [delete][google.firestore.admin.v1beta1.FirestoreAdmin.DeleteIndex], then re-creating the index with - // [create][google.firestore.admin.v1beta1.FirestoreAdmin.CreateIndex]. - // - // Indexes with a single field cannot be created. - CreateIndex(ctx context.Context, in *CreateIndexRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Lists the indexes that match the specified filters. - ListIndexes(ctx context.Context, in *ListIndexesRequest, opts ...grpc.CallOption) (*ListIndexesResponse, error) - // Gets an index. - 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 { - cc *grpc.ClientConn -} - -func NewFirestoreAdminClient(cc *grpc.ClientConn) FirestoreAdminClient { - return &firestoreAdminClient{cc} -} - -func (c *firestoreAdminClient) CreateIndex(ctx context.Context, in *CreateIndexRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.firestore.admin.v1beta1.FirestoreAdmin/CreateIndex", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firestoreAdminClient) ListIndexes(ctx context.Context, in *ListIndexesRequest, opts ...grpc.CallOption) (*ListIndexesResponse, error) { - out := new(ListIndexesResponse) - err := c.cc.Invoke(ctx, "/google.firestore.admin.v1beta1.FirestoreAdmin/ListIndexes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firestoreAdminClient) GetIndex(ctx context.Context, in *GetIndexRequest, opts ...grpc.CallOption) (*Index, error) { - out := new(Index) - err := c.cc.Invoke(ctx, "/google.firestore.admin.v1beta1.FirestoreAdmin/GetIndex", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firestoreAdminClient) DeleteIndex(ctx context.Context, in *DeleteIndexRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.firestore.admin.v1beta1.FirestoreAdmin/DeleteIndex", in, out, opts...) - if err != nil { - return nil, err - } - 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. - // A newly created index's initial state is `CREATING`. On completion of the - // returned [google.longrunning.Operation][google.longrunning.Operation], the state will be `READY`. - // If the index already exists, the call will return an `ALREADY_EXISTS` - // status. - // - // During creation, the process could result in an error, in which case the - // index will move to the `ERROR` state. The process can be recovered by - // fixing the data that caused the error, removing the index with - // [delete][google.firestore.admin.v1beta1.FirestoreAdmin.DeleteIndex], then re-creating the index with - // [create][google.firestore.admin.v1beta1.FirestoreAdmin.CreateIndex]. - // - // Indexes with a single field cannot be created. - CreateIndex(context.Context, *CreateIndexRequest) (*longrunning.Operation, error) - // Lists the indexes that match the specified filters. - ListIndexes(context.Context, *ListIndexesRequest) (*ListIndexesResponse, error) - // Gets an index. - 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) -} - -// UnimplementedFirestoreAdminServer can be embedded to have forward compatible implementations. -type UnimplementedFirestoreAdminServer struct { -} - -func (*UnimplementedFirestoreAdminServer) CreateIndex(ctx context.Context, req *CreateIndexRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateIndex not implemented") -} -func (*UnimplementedFirestoreAdminServer) ListIndexes(ctx context.Context, req *ListIndexesRequest) (*ListIndexesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListIndexes not implemented") -} -func (*UnimplementedFirestoreAdminServer) GetIndex(ctx context.Context, req *GetIndexRequest) (*Index, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIndex not implemented") -} -func (*UnimplementedFirestoreAdminServer) DeleteIndex(ctx context.Context, req *DeleteIndexRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteIndex not implemented") -} -func (*UnimplementedFirestoreAdminServer) ExportDocuments(ctx context.Context, req *ExportDocumentsRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ExportDocuments not implemented") -} -func (*UnimplementedFirestoreAdminServer) ImportDocuments(ctx context.Context, req *ImportDocumentsRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ImportDocuments not implemented") -} - -func RegisterFirestoreAdminServer(s *grpc.Server, srv FirestoreAdminServer) { - s.RegisterService(&_FirestoreAdmin_serviceDesc, srv) -} - -func _FirestoreAdmin_CreateIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateIndexRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirestoreAdminServer).CreateIndex(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.firestore.admin.v1beta1.FirestoreAdmin/CreateIndex", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirestoreAdminServer).CreateIndex(ctx, req.(*CreateIndexRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _FirestoreAdmin_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.(FirestoreAdminServer).ListIndexes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.firestore.admin.v1beta1.FirestoreAdmin/ListIndexes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirestoreAdminServer).ListIndexes(ctx, req.(*ListIndexesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _FirestoreAdmin_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.(FirestoreAdminServer).GetIndex(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.firestore.admin.v1beta1.FirestoreAdmin/GetIndex", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirestoreAdminServer).GetIndex(ctx, req.(*GetIndexRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _FirestoreAdmin_DeleteIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteIndexRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirestoreAdminServer).DeleteIndex(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.firestore.admin.v1beta1.FirestoreAdmin/DeleteIndex", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirestoreAdminServer).DeleteIndex(ctx, req.(*DeleteIndexRequest)) - } - 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), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateIndex", - Handler: _FirestoreAdmin_CreateIndex_Handler, - }, - { - MethodName: "ListIndexes", - Handler: _FirestoreAdmin_ListIndexes_Handler, - }, - { - MethodName: "GetIndex", - Handler: _FirestoreAdmin_GetIndex_Handler, - }, - { - 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", -} 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 deleted file mode 100644 index 36ab2f8c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta1/index.pb.go +++ /dev/null @@ -1,276 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/firestore/admin/v1beta1/index.proto - -package admin - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The mode determines how a field is indexed. -type IndexField_Mode int32 - -const ( - // The mode is unspecified. - IndexField_MODE_UNSPECIFIED IndexField_Mode = 0 - // The field's values are indexed so as to support sequencing in - // ascending order and also query by <, >, <=, >=, and =. - IndexField_ASCENDING IndexField_Mode = 2 - // 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_18dcb37b2ab27460, []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 is not able to be created, it will -// transition to the `ERROR` 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 = 3 - // 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. - Index_ERROR Index_State = 5 -) - -var Index_State_name = map[int32]string{ - 0: "STATE_UNSPECIFIED", - 3: "CREATING", - 2: "READY", - 5: "ERROR", -} - -var Index_State_value = map[string]int32{ - "STATE_UNSPECIFIED": 0, - "CREATING": 3, - "READY": 2, - "ERROR": 5, -} - -func (x Index_State) String() string { - return proto.EnumName(Index_State_name, int32(x)) -} - -func (Index_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_18dcb37b2ab27460, []int{1, 0} -} - -// A field of an index. -type IndexField struct { - // The path of the field. Must match the field path specification described - // by [google.firestore.v1beta1.Document.fields][fields]. - // Special field path `__name__` may be used by itself or at the end of a - // path. `__type__` may be used only at the end of path. - FieldPath string `protobuf:"bytes,1,opt,name=field_path,json=fieldPath,proto3" json:"field_path,omitempty"` - // The field's mode. - Mode IndexField_Mode `protobuf:"varint,2,opt,name=mode,proto3,enum=google.firestore.admin.v1beta1.IndexField_Mode" json:"mode,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_18dcb37b2ab27460, []int{0} -} - -func (m *IndexField) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IndexField.Unmarshal(m, b) -} -func (m *IndexField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IndexField.Marshal(b, m, deterministic) -} -func (m *IndexField) XXX_Merge(src proto.Message) { - xxx_messageInfo_IndexField.Merge(m, src) -} -func (m *IndexField) XXX_Size() int { - return xxx_messageInfo_IndexField.Size(m) -} -func (m *IndexField) XXX_DiscardUnknown() { - xxx_messageInfo_IndexField.DiscardUnknown(m) -} - -var xxx_messageInfo_IndexField proto.InternalMessageInfo - -func (m *IndexField) GetFieldPath() string { - if m != nil { - return m.FieldPath - } - return "" -} - -func (m *IndexField) GetMode() IndexField_Mode { - if m != nil { - return m.Mode - } - return IndexField_MODE_UNSPECIFIED -} - -// An index definition. -type Index struct { - // The resource name of the index. - // Output only. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The collection ID to which this index applies. Required. - CollectionId string `protobuf:"bytes,2,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` - // The fields to index. - Fields []*IndexField `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"` - // The state of the index. - // Output only. - State Index_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.firestore.admin.v1beta1.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_18dcb37b2ab27460, []int{1} -} - -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 (m *Index) XXX_Merge(src proto.Message) { - xxx_messageInfo_Index.Merge(m, 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) GetCollectionId() string { - if m != nil { - return m.CollectionId - } - return "" -} - -func (m *Index) GetFields() []*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 -} - -func init() { - proto.RegisterEnum("google.firestore.admin.v1beta1.IndexField_Mode", IndexField_Mode_name, IndexField_Mode_value) - proto.RegisterEnum("google.firestore.admin.v1beta1.Index_State", Index_State_name, Index_State_value) - proto.RegisterType((*IndexField)(nil), "google.firestore.admin.v1beta1.IndexField") - proto.RegisterType((*Index)(nil), "google.firestore.admin.v1beta1.Index") -} - -func init() { - proto.RegisterFile("google/firestore/admin/v1beta1/index.proto", fileDescriptor_18dcb37b2ab27460) -} - -var fileDescriptor_18dcb37b2ab27460 = []byte{ - // 438 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 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x63, 0x7c, 0x25, 0x4b, 0x4e, 0x8d, - 0x38, 0x58, 0x82, 0xa3, 0x11, 0x7a, 0x06, 0xfe, 0xd5, 0x32, 0x49, 0x37, 0x1f, 0xf3, 0x62, 0x95, - 0xc6, 0xd9, 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/v1beta1/location.pb.go b/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta1/location.pb.go deleted file mode 100644 index 60535ef7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta1/location.pb.go +++ /dev/null @@ -1,82 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/firestore/admin/v1beta1/location.proto - -package admin - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - _ "google.golang.org/genproto/googleapis/type/latlng" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// The metadata message for [google.cloud.location.Location.metadata][google.cloud.location.Location.metadata]. -type LocationMetadata struct { - 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_ff83541f567982c1, []int{0} -} - -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 (m *LocationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocationMetadata.Merge(m, 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 init() { - proto.RegisterType((*LocationMetadata)(nil), "google.firestore.admin.v1beta1.LocationMetadata") -} - -func init() { - proto.RegisterFile("google/firestore/admin/v1beta1/location.proto", fileDescriptor_ff83541f567982c1) -} - -var fileDescriptor_ff83541f567982c1 = []byte{ - // 218 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x8f, 0x31, 0x4b, 0xc0, 0x30, - 0x10, 0x85, 0x69, 0x11, 0x87, 0x82, 0x20, 0x9d, 0xa4, 0x88, 0x43, 0x71, 0x35, 0x47, 0x71, 0x74, - 0xb2, 0x85, 0x76, 0x51, 0x28, 0x08, 0x0e, 0x6e, 0xd7, 0x36, 0x86, 0x40, 0x9a, 0x0b, 0xe9, 0x29, - 0xf8, 0x77, 0x9c, 0xc4, 0x5f, 0x29, 0x4d, 0x62, 0x37, 0x1d, 0xc3, 0x7b, 0xdf, 0xf7, 0x2e, 0xc5, - 0x8d, 0x22, 0x52, 0x46, 0xc2, 0xab, 0xf6, 0x72, 0x63, 0xf2, 0x12, 0x70, 0x59, 0xb5, 0x85, 0xf7, - 0x66, 0x92, 0x8c, 0x0d, 0x18, 0x9a, 0x91, 0x35, 0x59, 0xe1, 0x3c, 0x31, 0x95, 0x57, 0xb1, 0x2e, - 0x8e, 0xba, 0x08, 0x75, 0x91, 0xea, 0xd5, 0x45, 0xd2, 0xf1, 0x87, 0x93, 0x60, 0x90, 0x8d, 0x55, - 0x91, 0xac, 0x2e, 0x53, 0x82, 0x4e, 0x03, 0x5a, 0x4b, 0x1c, 0xb4, 0x5b, 0x4c, 0xeb, 0xb2, 0x38, - 0x7f, 0x48, 0x4b, 0x8f, 0x92, 0x71, 0x41, 0xc6, 0xf6, 0x2b, 0x2b, 0xea, 0x99, 0x56, 0xf1, 0xff, - 0x64, 0x7b, 0xf6, 0x0b, 0x8e, 0xbb, 0x69, 0xcc, 0x5e, 0xba, 0x04, 0x28, 0x32, 0x68, 0x95, 0x20, - 0xaf, 0x40, 0x49, 0x1b, 0x76, 0x20, 0x46, 0xe8, 0xf4, 0xf6, 0xd7, 0x8f, 0xef, 0xc2, 0xeb, 0x33, - 0x3f, 0x19, 0xba, 0xfe, 0xe9, 0x3b, 0xbf, 0x1e, 0xa2, 0xac, 0x33, 0xf4, 0xb6, 0x88, 0xfe, 0xb8, - 0xe1, 0x3e, 0xdc, 0xf0, 0xdc, 0xb4, 0x3b, 0x33, 0x9d, 0x06, 0xfb, 0xed, 0x4f, 0x00, 0x00, 0x00, - 0xff, 0xff, 0x76, 0x88, 0x2e, 0x88, 0x4e, 0x01, 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 deleted file mode 100644 index c529c3fa..00000000 --- a/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta2/field.pb.go +++ /dev/null @@ -1,216 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/firestore/admin/v1beta2/field.proto - -package admin - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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_967ea3483ba729a5, []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 (m *Field) XXX_Merge(src proto.Message) { - xxx_messageInfo_Field.Merge(m, 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_967ea3483ba729a5, []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 (m *Field_IndexConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_Field_IndexConfig.Merge(m, 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_967ea3483ba729a5) -} - -var fileDescriptor_967ea3483ba729a5 = []byte{ - // 346 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xcf, 0x4a, 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x91, 0x3d, 0xd0, 0x13, 0x94, 0x55, 0x16, 0x90, 0x76, 0xad, 0xe7, 0x0f, 0xba, - 0x55, 0x03, 0x30, 0x1d, 0xed, 0x52, 0xec, 0x96, 0x5e, 0x6e, 0x32, 0x95, 0xcd, 0xa4, 0x5d, 0xa0, - 0xfd, 0xb8, 0xee, 0x69, 0xc4, 0x0a, 0x6d, 0x58, 0x4a, 0xe5, 0xc8, 0x2e, 0xbd, 0xd8, 0x9b, 0x71, - 0xf1, 0x41, 0x0d, 0x7f, 0xfb, 0x7c, 0x77, 0xeb, 0x76, 0xd2, 0xa2, 0x8d, 0x54, 0x6d, 0x55, 0x9a, - 0x1b, 0xab, 0x83, 0x3a, 0xd2, 0x0e, 0x17, 0xa3, 0x0f, 0x42, 0x3b, 0x0b, 0x58, 0x55, 0x94, 0x1d, - 0x51, 0x64, 0x4d, 0x8b, 0x75, 0x4f, 0xc9, 0x6b, 0x58, 0xba, 0x35, 0x24, 0xd2, 0x6a, 0x0e, 0xa9, - 0x16, 0x5a, 0x59, 0x7c, 0x0c, 0xe1, 0x24, 0xb9, 0x36, 0xd9, 0x6f, 0x2f, 0x7b, 0x8f, 0xa7, 0x77, - 0xaf, 0x3e, 0x09, 0xc7, 0x4f, 0x9f, 0xde, 0xf5, 0xc4, 0xc1, 0xc2, 0x04, 0x36, 0x31, 0x1f, 0xef, - 0x0b, 0x0c, 0xb1, 0xc0, 0x4b, 0x7f, 0x54, 0x64, 0xe6, 0xff, 0x91, 0x7e, 0xf7, 0x13, 0x00, 0x00, - 0xff, 0xff, 0xd4, 0x92, 0xf0, 0x86, 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 deleted file mode 100644 index 6d50ce95..00000000 --- a/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta2/firestore_admin.pb.go +++ /dev/null @@ -1,1169 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/firestore/admin/v1beta2/firestore_admin.proto - -package admin - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The request for [FirestoreAdmin.CreateIndex][google.firestore.admin.v1beta2.FirestoreAdmin.CreateIndex]. -type CreateIndexRequest 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 composite index to create. - 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 *CreateIndexRequest) Reset() { *m = CreateIndexRequest{} } -func (m *CreateIndexRequest) String() string { return proto.CompactTextString(m) } -func (*CreateIndexRequest) ProtoMessage() {} -func (*CreateIndexRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d93f4454f4162ee9, []int{0} -} - -func (m *CreateIndexRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateIndexRequest.Unmarshal(m, b) -} -func (m *CreateIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateIndexRequest.Marshal(b, m, deterministic) -} -func (m *CreateIndexRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateIndexRequest.Merge(m, src) -} -func (m *CreateIndexRequest) XXX_Size() int { - return xxx_messageInfo_CreateIndexRequest.Size(m) -} -func (m *CreateIndexRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateIndexRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateIndexRequest proto.InternalMessageInfo - -func (m *CreateIndexRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateIndexRequest) GetIndex() *Index { - if m != nil { - return m.Index - } - return nil -} - -// The request for [FirestoreAdmin.ListIndexes][google.firestore.admin.v1beta2.FirestoreAdmin.ListIndexes]. -type ListIndexesRequest 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. - 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.ListIndexes][google.firestore.admin.v1beta2.FirestoreAdmin.ListIndexes], 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 *ListIndexesRequest) Reset() { *m = ListIndexesRequest{} } -func (m *ListIndexesRequest) String() string { return proto.CompactTextString(m) } -func (*ListIndexesRequest) ProtoMessage() {} -func (*ListIndexesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d93f4454f4162ee9, []int{1} -} - -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 (m *ListIndexesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListIndexesRequest.Merge(m, 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) GetParent() string { - if m != nil { - return m.Parent - } - 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 [FirestoreAdmin.ListIndexes][google.firestore.admin.v1beta2.FirestoreAdmin.ListIndexes]. -type ListIndexesResponse struct { - // The requested indexes. - Indexes []*Index `protobuf:"bytes,1,rep,name=indexes,proto3" json:"indexes,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 *ListIndexesResponse) Reset() { *m = ListIndexesResponse{} } -func (m *ListIndexesResponse) String() string { return proto.CompactTextString(m) } -func (*ListIndexesResponse) ProtoMessage() {} -func (*ListIndexesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d93f4454f4162ee9, []int{2} -} - -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 (m *ListIndexesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListIndexesResponse.Merge(m, 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 "" -} - -// The request for [FirestoreAdmin.GetIndex][google.firestore.admin.v1beta2.FirestoreAdmin.GetIndex]. -type GetIndexRequest struct { - // A name of the form - // `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_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 *GetIndexRequest) Reset() { *m = GetIndexRequest{} } -func (m *GetIndexRequest) String() string { return proto.CompactTextString(m) } -func (*GetIndexRequest) ProtoMessage() {} -func (*GetIndexRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d93f4454f4162ee9, []int{3} -} - -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 (m *GetIndexRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetIndexRequest.Merge(m, 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) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The request for [FirestoreAdmin.DeleteIndex][google.firestore.admin.v1beta2.FirestoreAdmin.DeleteIndex]. -type DeleteIndexRequest struct { - // A name of the form - // `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_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 *DeleteIndexRequest) Reset() { *m = DeleteIndexRequest{} } -func (m *DeleteIndexRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteIndexRequest) ProtoMessage() {} -func (*DeleteIndexRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d93f4454f4162ee9, []int{4} -} - -func (m *DeleteIndexRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteIndexRequest.Unmarshal(m, b) -} -func (m *DeleteIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteIndexRequest.Marshal(b, m, deterministic) -} -func (m *DeleteIndexRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteIndexRequest.Merge(m, src) -} -func (m *DeleteIndexRequest) XXX_Size() int { - return xxx_messageInfo_DeleteIndexRequest.Size(m) -} -func (m *DeleteIndexRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteIndexRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteIndexRequest proto.InternalMessageInfo - -func (m *DeleteIndexRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// 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_d93f4454f4162ee9, []int{5} -} - -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 (m *UpdateFieldRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateFieldRequest.Merge(m, 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_d93f4454f4162ee9, []int{6} -} - -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 (m *GetFieldRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetFieldRequest.Merge(m, 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_d93f4454f4162ee9, []int{7} -} - -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 (m *ListFieldsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFieldsRequest.Merge(m, 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_d93f4454f4162ee9, []int{8} -} - -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 (m *ListFieldsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFieldsResponse.Merge(m, 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 "" -} - -// The request for [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1beta2.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,2,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,3,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_d93f4454f4162ee9, []int{9} -} - -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 (m *ExportDocumentsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportDocumentsRequest.Merge(m, 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.v1beta2.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,2,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.v1beta2.ExportDocumentsResponse.output_uri_prefix][google.firestore.admin.v1beta2.ExportDocumentsResponse.output_uri_prefix]. - InputUriPrefix string `protobuf:"bytes,3,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_d93f4454f4162ee9, []int{10} -} - -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 (m *ImportDocumentsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportDocumentsRequest.Merge(m, 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 "" -} - -func init() { - proto.RegisterType((*CreateIndexRequest)(nil), "google.firestore.admin.v1beta2.CreateIndexRequest") - proto.RegisterType((*ListIndexesRequest)(nil), "google.firestore.admin.v1beta2.ListIndexesRequest") - proto.RegisterType((*ListIndexesResponse)(nil), "google.firestore.admin.v1beta2.ListIndexesResponse") - proto.RegisterType((*GetIndexRequest)(nil), "google.firestore.admin.v1beta2.GetIndexRequest") - proto.RegisterType((*DeleteIndexRequest)(nil), "google.firestore.admin.v1beta2.DeleteIndexRequest") - 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") - proto.RegisterType((*ExportDocumentsRequest)(nil), "google.firestore.admin.v1beta2.ExportDocumentsRequest") - proto.RegisterType((*ImportDocumentsRequest)(nil), "google.firestore.admin.v1beta2.ImportDocumentsRequest") -} - -func init() { - proto.RegisterFile("google/firestore/admin/v1beta2/firestore_admin.proto", fileDescriptor_d93f4454f4162ee9) -} - -var fileDescriptor_d93f4454f4162ee9 = []byte{ - // 998 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0x4f, 0x6f, 0x1b, 0x45, - 0x14, 0xd7, 0x3a, 0x7f, 0x68, 0xc6, 0x6a, 0x42, 0xa7, 0x92, 0xb1, 0xb6, 0x14, 0x59, 0x0b, 0x41, - 0x96, 0x05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0x64, 0xd6, 0x0f, 0x29, 0x61, 0xd2, 0x6c, 0x78, - 0x14, 0xc0, 0x4e, 0x42, 0xb0, 0x24, 0x87, 0x8a, 0x51, 0x97, 0x7c, 0x91, 0x12, 0x21, 0x61, 0x05, - 0xac, 0xc6, 0x38, 0x21, 0x4c, 0x56, 0x9d, 0x9a, 0x53, 0x5f, 0xeb, 0xda, 0x15, 0x6c, 0x83, 0x15, - 0xcd, 0xbc, 0x5a, 0xaa, 0x39, 0xf5, 0x72, 0x73, 0xd3, 0x7f, 0x76, 0x41, 0x7d, 0x73, 0xa8, 0x89, - 0xf1, 0xbe, 0x76, 0x00, 0xbc, 0x4b, 0x85, 0xd4, 0x46, 0x22, 0xf2, 0xb0, 0x2a, 0x60, 0x75, 0x48, - 0x43, 0x49, 0x12, 0x0d, 0xb6, 0xd6, 0xb5, 0x2b, 0x78, 0x03, 0xac, 0xc5, 0x38, 0x20, 0x3d, 0x41, - 0x1f, 0x91, 0xea, 0x52, 0xcd, 0xa9, 0xaf, 0x74, 0xaf, 0x28, 0xc3, 0x3d, 0xfa, 0x88, 0xc0, 0x9b, - 0x00, 0xe8, 0x4d, 0xc9, 0x4f, 0x08, 0xab, 0x2e, 0xeb, 0x40, 0xed, 0xfe, 0x91, 0x32, 0x78, 0x5f, - 0x81, 0xeb, 0x53, 0x0c, 0x44, 0xcc, 0x99, 0x20, 0xf0, 0x6d, 0xf0, 0x02, 0x35, 0xa6, 0xaa, 0x53, - 0x5b, 0x2a, 0x9e, 0x58, 0x16, 0x05, 0x5f, 0x07, 0x1b, 0x8c, 0x9c, 0xc9, 0xde, 0x04, 0xb6, 0x21, - 0x7d, 0x55, 0x99, 0x8f, 0x46, 0xf8, 0x9b, 0x60, 0xe3, 0x80, 0xc8, 0xa9, 0x52, 0x43, 0xb0, 0xcc, - 0x70, 0x44, 0x6c, 0xf2, 0xfa, 0xdb, 0xab, 0x03, 0xb8, 0x4b, 0x42, 0x32, 0x73, 0x29, 0x8b, 0x3c, - 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6, 0x25, 0x0b, - 0x8d, 0x71, 0xff, 0xeb, 0x8f, 0x46, 0x5b, 0xaf, 0xbe, 0x2f, 0x2d, 0x1f, 0x74, 0xf6, 0xef, 0xfd, - 0x58, 0x7a, 0xed, 0xc0, 0x1c, 0xd6, 0x51, 0xb9, 0xf8, 0x23, 0x40, 0x5f, 0x23, 0xfa, 0x1f, 0x6f, - 0xed, 0xa8, 0x98, 0xe3, 0x55, 0x7d, 0xfa, 0xad, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xd4, 0x44, - 0xa6, 0xa7, 0x65, 0x0d, 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 - -// 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 { - // Creates a composite index. This returns a [google.longrunning.Operation][google.longrunning.Operation] - // which may be used to track the status of the creation. The metadata for - // the operation will be the type [IndexOperationMetadata][google.firestore.admin.v1beta2.IndexOperationMetadata]. - CreateIndex(ctx context.Context, in *CreateIndexRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Lists composite indexes. - ListIndexes(ctx context.Context, in *ListIndexesRequest, opts ...grpc.CallOption) (*ListIndexesResponse, error) - // Gets a composite index. - GetIndex(ctx context.Context, in *GetIndexRequest, opts ...grpc.CallOption) (*Index, error) - // Deletes a composite index. - DeleteIndex(ctx context.Context, in *DeleteIndexRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // 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) - // 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 { - cc *grpc.ClientConn -} - -func NewFirestoreAdminClient(cc *grpc.ClientConn) FirestoreAdminClient { - return &firestoreAdminClient{cc} -} - -func (c *firestoreAdminClient) CreateIndex(ctx context.Context, in *CreateIndexRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.firestore.admin.v1beta2.FirestoreAdmin/CreateIndex", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firestoreAdminClient) ListIndexes(ctx context.Context, in *ListIndexesRequest, opts ...grpc.CallOption) (*ListIndexesResponse, error) { - out := new(ListIndexesResponse) - err := c.cc.Invoke(ctx, "/google.firestore.admin.v1beta2.FirestoreAdmin/ListIndexes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firestoreAdminClient) GetIndex(ctx context.Context, in *GetIndexRequest, opts ...grpc.CallOption) (*Index, error) { - out := new(Index) - err := c.cc.Invoke(ctx, "/google.firestore.admin.v1beta2.FirestoreAdmin/GetIndex", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firestoreAdminClient) DeleteIndex(ctx context.Context, in *DeleteIndexRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.firestore.admin.v1beta2.FirestoreAdmin/DeleteIndex", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -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 -} - -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.v1beta2.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.v1beta2.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 a composite index. This returns a [google.longrunning.Operation][google.longrunning.Operation] - // which may be used to track the status of the creation. The metadata for - // the operation will be the type [IndexOperationMetadata][google.firestore.admin.v1beta2.IndexOperationMetadata]. - CreateIndex(context.Context, *CreateIndexRequest) (*longrunning.Operation, error) - // Lists composite indexes. - ListIndexes(context.Context, *ListIndexesRequest) (*ListIndexesResponse, error) - // Gets a composite index. - GetIndex(context.Context, *GetIndexRequest) (*Index, error) - // Deletes a composite index. - DeleteIndex(context.Context, *DeleteIndexRequest) (*empty.Empty, error) - // 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) - // 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) -} - -// UnimplementedFirestoreAdminServer can be embedded to have forward compatible implementations. -type UnimplementedFirestoreAdminServer struct { -} - -func (*UnimplementedFirestoreAdminServer) CreateIndex(ctx context.Context, req *CreateIndexRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateIndex not implemented") -} -func (*UnimplementedFirestoreAdminServer) ListIndexes(ctx context.Context, req *ListIndexesRequest) (*ListIndexesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListIndexes not implemented") -} -func (*UnimplementedFirestoreAdminServer) GetIndex(ctx context.Context, req *GetIndexRequest) (*Index, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIndex not implemented") -} -func (*UnimplementedFirestoreAdminServer) DeleteIndex(ctx context.Context, req *DeleteIndexRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteIndex not implemented") -} -func (*UnimplementedFirestoreAdminServer) GetField(ctx context.Context, req *GetFieldRequest) (*Field, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetField not implemented") -} -func (*UnimplementedFirestoreAdminServer) UpdateField(ctx context.Context, req *UpdateFieldRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateField not implemented") -} -func (*UnimplementedFirestoreAdminServer) ListFields(ctx context.Context, req *ListFieldsRequest) (*ListFieldsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListFields not implemented") -} -func (*UnimplementedFirestoreAdminServer) ExportDocuments(ctx context.Context, req *ExportDocumentsRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ExportDocuments not implemented") -} -func (*UnimplementedFirestoreAdminServer) ImportDocuments(ctx context.Context, req *ImportDocumentsRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ImportDocuments not implemented") -} - -func RegisterFirestoreAdminServer(s *grpc.Server, srv FirestoreAdminServer) { - s.RegisterService(&_FirestoreAdmin_serviceDesc, srv) -} - -func _FirestoreAdmin_CreateIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateIndexRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirestoreAdminServer).CreateIndex(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.firestore.admin.v1beta2.FirestoreAdmin/CreateIndex", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirestoreAdminServer).CreateIndex(ctx, req.(*CreateIndexRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _FirestoreAdmin_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.(FirestoreAdminServer).ListIndexes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.firestore.admin.v1beta2.FirestoreAdmin/ListIndexes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirestoreAdminServer).ListIndexes(ctx, req.(*ListIndexesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _FirestoreAdmin_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.(FirestoreAdminServer).GetIndex(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.firestore.admin.v1beta2.FirestoreAdmin/GetIndex", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirestoreAdminServer).GetIndex(ctx, req.(*GetIndexRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _FirestoreAdmin_DeleteIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteIndexRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirestoreAdminServer).DeleteIndex(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.firestore.admin.v1beta2.FirestoreAdmin/DeleteIndex", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirestoreAdminServer).DeleteIndex(ctx, req.(*DeleteIndexRequest)) - } - return interceptor(ctx, in, info, handler) -} - -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) -} - -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.v1beta2.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.v1beta2.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.v1beta2.FirestoreAdmin", - HandlerType: (*FirestoreAdminServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateIndex", - Handler: _FirestoreAdmin_CreateIndex_Handler, - }, - { - MethodName: "ListIndexes", - Handler: _FirestoreAdmin_ListIndexes_Handler, - }, - { - MethodName: "GetIndex", - Handler: _FirestoreAdmin_GetIndex_Handler, - }, - { - MethodName: "DeleteIndex", - Handler: _FirestoreAdmin_DeleteIndex_Handler, - }, - { - MethodName: "GetField", - Handler: _FirestoreAdmin_GetField_Handler, - }, - { - MethodName: "UpdateField", - Handler: _FirestoreAdmin_UpdateField_Handler, - }, - { - MethodName: "ListFields", - Handler: _FirestoreAdmin_ListFields_Handler, - }, - { - MethodName: "ExportDocuments", - Handler: _FirestoreAdmin_ExportDocuments_Handler, - }, - { - MethodName: "ImportDocuments", - Handler: _FirestoreAdmin_ImportDocuments_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/firestore/admin/v1beta2/firestore_admin.proto", -} 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 deleted file mode 100644 index aef24717..00000000 --- a/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta2/index.pb.go +++ /dev/null @@ -1,407 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/firestore/admin/v1beta2/index.proto - -package admin - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // 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 - // Indexes with a collection group query scope specified allow queries - // against all collections that has the collection id specified by the - // index. - Index_COLLECTION_GROUP Index_QueryScope = 2 -) - -var Index_QueryScope_name = map[int32]string{ - 0: "QUERY_SCOPE_UNSPECIFIED", - 1: "COLLECTION", - 2: "COLLECTION_GROUP", -} - -var Index_QueryScope_value = map[string]int32{ - "QUERY_SCOPE_UNSPECIFIED": 0, - "COLLECTION": 1, - "COLLECTION_GROUP": 2, -} - -func (x Index_QueryScope) String() string { - return proto.EnumName(Index_QueryScope_name, int32(x)) -} - -func (Index_QueryScope) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_91374f42b54eaaef, []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_91374f42b54eaaef, []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_91374f42b54eaaef, []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_91374f42b54eaaef, []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_91374f42b54eaaef, []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 (m *Index) XXX_Merge(src proto.Message) { - xxx_messageInfo_Index.Merge(m, 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_91374f42b54eaaef, []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 (m *Index_IndexField) XXX_Merge(src proto.Message) { - xxx_messageInfo_Index_IndexField.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*Index_IndexField) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Index_IndexField_Order_)(nil), - (*Index_IndexField_ArrayConfig_)(nil), - } -} - -func init() { - 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) - proto.RegisterType((*Index)(nil), "google.firestore.admin.v1beta2.Index") - proto.RegisterType((*Index_IndexField)(nil), "google.firestore.admin.v1beta2.Index.IndexField") -} - -func init() { - proto.RegisterFile("google/firestore/admin/v1beta2/index.proto", fileDescriptor_91374f42b54eaaef) -} - -var fileDescriptor_91374f42b54eaaef = []byte{ - // 556 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0x5f, 0x8b, 0x9b, 0x4c, - 0x14, 0xc6, 0x57, 0xb3, 0x2e, 0x6f, 0x4e, 0xf2, 0x2e, 0x76, 0x68, 0xa9, 0x6c, 0xb7, 0x65, 0x91, - 0x5e, 0x84, 0x16, 0xb4, 0xbb, 0x85, 0x42, 0x69, 0x7b, 0x61, 0x74, 0x92, 0x08, 0x8b, 0x9a, 0x31, - 0x29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8, 0x9e, 0xb8, 0xbe, - 0xa7, 0x4a, 0xe8, 0x21, 0xa8, 0xbb, 0x3a, 0x1a, 0x12, 0x7f, 0x1a, 0xa8, 0xb2, 0xee, 0x82, 0x22, - 0xfe, 0x64, 0x75, 0xb0, 0x70, 0x62, 0x4d, 0xf0, 0x6f, 0xc2, 0x10, 0x6c, 0x4d, 0xea, 0x73, 0xb5, - 0x41, 0x21, 0xd8, 0x72, 0x66, 0xaa, 0x8c, 0x54, 0xe8, 0x7a, 0x18, 0x3b, 0x61, 0x44, 0x70, 0x60, - 0xb9, 0x44, 0x6d, 0xf5, 0xbf, 0x49, 0xa0, 0xcf, 0xf9, 0xea, 0x1f, 0x6d, 0xef, 0xd7, 0x17, 0x25, - 0xa8, 0xa6, 0x26, 0x90, 0x3e, 0xd9, 0x8d, 0x3a, 0xe1, 0x4b, 0x9a, 0x25, 0x06, 0xcf, 0x13, 0x33, - 0x61, 0x99, 0x98, 0x29, 0xb3, 0xfe, 0x44, 0xd7, 0x69, 0xf1, 0xa7, 0x01, 0x7e, 0x27, 0xaa, 0xaf, - 0xf2, 0xfe, 0xd0, 0x1e, 0x84, 0xdf, 0xe5, 0xe7, 0xc3, 0x1a, 0x66, 0x2f, 0xf9, 0x26, 0x36, 0x06, - 0xdb, 0x00, 0x96, 0x08, 0xf0, 0xf1, 0xb4, 0x5f, 0x79, 0x2e, 0x0e, 0x04, 0xfd, 0xf5, 0xcf, 0x00, - 0x00, 0x00, 0xff, 0xff, 0x6c, 0x38, 0x79, 0x14, 0x1d, 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 deleted file mode 100644 index 197239e1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/firestore/admin/v1beta2/operation.pb.go +++ /dev/null @@ -1,713 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/firestore/admin/v1beta2/operation.proto - -package admin - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // 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_f946ae2a57533608, []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_f946ae2a57533608, []int{1, 0, 0} -} - -// Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from -// [FirestoreAdmin.CreateIndex][google.firestore.admin.v1beta2.FirestoreAdmin.CreateIndex]. -type IndexOperationMetadata 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 index resource that this operation is acting on. For example: - // `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}` - Index string `protobuf:"bytes,3,opt,name=index,proto3" json:"index,omitempty"` - // The state of the operation. - State OperationState `protobuf:"varint,4,opt,name=state,proto3,enum=google.firestore.admin.v1beta2.OperationState" json:"state,omitempty"` - // The progress, in documents, of this operation. - ProgressDocuments *Progress `protobuf:"bytes,5,opt,name=progress_documents,json=progressDocuments,proto3" json:"progress_documents,omitempty"` - // The progress, in bytes, of this operation. - ProgressBytes *Progress `protobuf:"bytes,6,opt,name=progress_bytes,json=progressBytes,proto3" json:"progress_bytes,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_f946ae2a57533608, []int{0} -} - -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 (m *IndexOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_IndexOperationMetadata.Merge(m, 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) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *IndexOperationMetadata) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -func (m *IndexOperationMetadata) GetIndex() string { - if m != nil { - return m.Index - } - return "" -} - -func (m *IndexOperationMetadata) GetState() OperationState { - if m != nil { - return m.State - } - return OperationState_OPERATION_STATE_UNSPECIFIED -} - -func (m *IndexOperationMetadata) GetProgressDocuments() *Progress { - if m != nil { - return m.ProgressDocuments - } - return nil -} - -func (m *IndexOperationMetadata) GetProgressBytes() *Progress { - if m != nil { - return m.ProgressBytes - } - return nil -} - -// 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_f946ae2a57533608, []int{1} -} - -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 (m *FieldOperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_FieldOperationMetadata.Merge(m, 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_f946ae2a57533608, []int{1, 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 (m *FieldOperationMetadata_IndexConfigDelta) XXX_Merge(src proto.Message) { - xxx_messageInfo_FieldOperationMetadata_IndexConfigDelta.Merge(m, 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 -} - -// Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from -// [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1beta2.FirestoreAdmin.ExportDocuments]. -type ExportDocumentsMetadata 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 state of the export operation. - OperationState OperationState `protobuf:"varint,3,opt,name=operation_state,json=operationState,proto3,enum=google.firestore.admin.v1beta2.OperationState" json:"operation_state,omitempty"` - // The progress, in documents, of this operation. - ProgressDocuments *Progress `protobuf:"bytes,4,opt,name=progress_documents,json=progressDocuments,proto3" json:"progress_documents,omitempty"` - // The progress, in bytes, of this operation. - 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_f946ae2a57533608, []int{2} -} - -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 (m *ExportDocumentsMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportDocumentsMetadata.Merge(m, 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_OPERATION_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 [google.longrunning.Operation][google.longrunning.Operation] results from -// [FirestoreAdmin.ImportDocuments][google.firestore.admin.v1beta2.FirestoreAdmin.ImportDocuments]. -type ImportDocumentsMetadata 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 state of the import operation. - OperationState OperationState `protobuf:"varint,3,opt,name=operation_state,json=operationState,proto3,enum=google.firestore.admin.v1beta2.OperationState" json:"operation_state,omitempty"` - // The progress, in documents, of this operation. - ProgressDocuments *Progress `protobuf:"bytes,4,opt,name=progress_documents,json=progressDocuments,proto3" json:"progress_documents,omitempty"` - // The progress, in bytes, of this operation. - 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_f946ae2a57533608, []int{3} -} - -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 (m *ImportDocumentsMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportDocumentsMetadata.Merge(m, 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_OPERATION_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 "" -} - -// 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_f946ae2a57533608, []int{4} -} - -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 (m *ExportDocumentsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportDocumentsResponse.Merge(m, 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 "" -} - -// 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_f946ae2a57533608, []int{5} -} - -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 (m *Progress) XXX_Merge(src proto.Message) { - xxx_messageInfo_Progress.Merge(m, 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.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) - proto.RegisterType((*IndexOperationMetadata)(nil), "google.firestore.admin.v1beta2.IndexOperationMetadata") - proto.RegisterType((*FieldOperationMetadata)(nil), "google.firestore.admin.v1beta2.FieldOperationMetadata") - proto.RegisterType((*FieldOperationMetadata_IndexConfigDelta)(nil), "google.firestore.admin.v1beta2.FieldOperationMetadata.IndexConfigDelta") - proto.RegisterType((*ExportDocumentsMetadata)(nil), "google.firestore.admin.v1beta2.ExportDocumentsMetadata") - proto.RegisterType((*ImportDocumentsMetadata)(nil), "google.firestore.admin.v1beta2.ImportDocumentsMetadata") - proto.RegisterType((*ExportDocumentsResponse)(nil), "google.firestore.admin.v1beta2.ExportDocumentsResponse") - proto.RegisterType((*Progress)(nil), "google.firestore.admin.v1beta2.Progress") -} - -func init() { - proto.RegisterFile("google/firestore/admin/v1beta2/operation.proto", fileDescriptor_f946ae2a57533608) -} - -var fileDescriptor_f946ae2a57533608 = []byte{ - // 858 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x56, 0xcf, 0x6f, 0xe3, 0x44, - 0x14, 0xc6, 0x71, 0x92, 0x6e, 0x5e, 0xa9, 0xd7, 0x1d, 0xd0, 0x36, 0xea, 0x22, 0xb6, 0x8a, 0xa8, - 0x14, 0xf5, 0xe0, 0x68, 0x83, 0x38, 0xa0, 0x95, 0x90, 0x52, 0xc7, 0x09, 0x96, 0xb2, 0x49, 0xe4, - 0x24, 0x5b, 0xd8, 0x8b, 0x35, 0x8d, 0x27, 0x66, 0xb4, 0xb1, 0xc7, 0xf2, 0x4c, 0xd8, 0xf6, 0xce, - 0x19, 0xf1, 0x17, 0x70, 0xe0, 0x06, 0xff, 0x14, 0xe2, 0x3f, 0x41, 0x33, 0xfe, 0x11, 0x6d, 0xe9, - 0x12,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bf, 0x9b, 0xcf, 0x54, 0xf4, 0x53, 0xa5, 0x3a, 0xb4, - 0x07, 0xb3, 0x5f, 0x2a, 0x9f, 0x0c, 0x33, 0x31, 0x7b, 0xcd, 0x36, 0x81, 0x35, 0x28, 0x2f, 0xd1, - 0x53, 0x97, 0x78, 0xf1, 0xf4, 0x5c, 0x72, 0x2e, 0xeb, 0x4a, 0xfd, 0xd3, 0xdf, 0x03, 0x00, 0x00, - 0xff, 0xff, 0xae, 0xa2, 0x85, 0xc8, 0x1b, 0x0b, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/firestore/v1/common.pb.go b/vendor/google.golang.org/genproto/googleapis/firestore/v1/common.pb.go deleted file mode 100644 index fc300c8f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/firestore/v1/common.pb.go +++ /dev/null @@ -1,389 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/firestore/v1/common.proto - -package firestore - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A set of field paths on a document. -// Used to restrict a get or update operation on a document to a subset of its -// fields. -// This is different from standard field masks, as this is always scoped to a -// [Document][google.firestore.v1.Document], and takes in account the dynamic nature of [Value][google.firestore.v1.Value]. -type DocumentMask struct { - // The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field - // path syntax reference. - FieldPaths []string `protobuf:"bytes,1,rep,name=field_paths,json=fieldPaths,proto3" json:"field_paths,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b2e1854e17ece251, []int{0} -} - -func (m *DocumentMask) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DocumentMask.Unmarshal(m, b) -} -func (m *DocumentMask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DocumentMask.Marshal(b, m, deterministic) -} -func (m *DocumentMask) XXX_Merge(src proto.Message) { - xxx_messageInfo_DocumentMask.Merge(m, src) -} -func (m *DocumentMask) XXX_Size() int { - return xxx_messageInfo_DocumentMask.Size(m) -} -func (m *DocumentMask) XXX_DiscardUnknown() { - xxx_messageInfo_DocumentMask.DiscardUnknown(m) -} - -var xxx_messageInfo_DocumentMask proto.InternalMessageInfo - -func (m *DocumentMask) GetFieldPaths() []string { - if m != nil { - return m.FieldPaths - } - return nil -} - -// A precondition on a document, used for conditional operations. -type Precondition struct { - // The type of precondition. - // - // Types that are valid to be assigned to ConditionType: - // *Precondition_Exists - // *Precondition_UpdateTime - ConditionType isPrecondition_ConditionType `protobuf_oneof:"condition_type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b2e1854e17ece251, []int{1} -} - -func (m *Precondition) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Precondition.Unmarshal(m, b) -} -func (m *Precondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Precondition.Marshal(b, m, deterministic) -} -func (m *Precondition) XXX_Merge(src proto.Message) { - xxx_messageInfo_Precondition.Merge(m, src) -} -func (m *Precondition) XXX_Size() int { - return xxx_messageInfo_Precondition.Size(m) -} -func (m *Precondition) XXX_DiscardUnknown() { - xxx_messageInfo_Precondition.DiscardUnknown(m) -} - -var xxx_messageInfo_Precondition proto.InternalMessageInfo - -type isPrecondition_ConditionType interface { - isPrecondition_ConditionType() -} - -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_UpdateTime) isPrecondition_ConditionType() {} - -func (m *Precondition) GetConditionType() isPrecondition_ConditionType { - if m != nil { - return m.ConditionType - } - return nil -} - -func (m *Precondition) GetExists() bool { - if x, ok := m.GetConditionType().(*Precondition_Exists); ok { - return x.Exists - } - return false -} - -func (m *Precondition) GetUpdateTime() *timestamp.Timestamp { - if x, ok := m.GetConditionType().(*Precondition_UpdateTime); ok { - return x.UpdateTime - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Precondition) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Precondition_Exists)(nil), - (*Precondition_UpdateTime)(nil), - } -} - -// Options for creating a new transaction. -type TransactionOptions struct { - // The mode of the transaction. - // - // Types that are valid to be assigned to Mode: - // *TransactionOptions_ReadOnly_ - // *TransactionOptions_ReadWrite_ - Mode isTransactionOptions_Mode `protobuf_oneof:"mode"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b2e1854e17ece251, []int{2} -} - -func (m *TransactionOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransactionOptions.Unmarshal(m, b) -} -func (m *TransactionOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransactionOptions.Marshal(b, m, deterministic) -} -func (m *TransactionOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransactionOptions.Merge(m, src) -} -func (m *TransactionOptions) XXX_Size() int { - return xxx_messageInfo_TransactionOptions.Size(m) -} -func (m *TransactionOptions) XXX_DiscardUnknown() { - xxx_messageInfo_TransactionOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_TransactionOptions proto.InternalMessageInfo - -type isTransactionOptions_Mode interface { - isTransactionOptions_Mode() -} - -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_ReadWrite_) isTransactionOptions_Mode() {} - -func (m *TransactionOptions) GetMode() isTransactionOptions_Mode { - if m != nil { - return m.Mode - } - return nil -} - -func (m *TransactionOptions) GetReadOnly() *TransactionOptions_ReadOnly { - if x, ok := m.GetMode().(*TransactionOptions_ReadOnly_); ok { - return x.ReadOnly - } - return nil -} - -func (m *TransactionOptions) GetReadWrite() *TransactionOptions_ReadWrite { - if x, ok := m.GetMode().(*TransactionOptions_ReadWrite_); ok { - return x.ReadWrite - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*TransactionOptions) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*TransactionOptions_ReadOnly_)(nil), - (*TransactionOptions_ReadWrite_)(nil), - } -} - -// Options for a transaction that can be used to read and write documents. -type TransactionOptions_ReadWrite struct { - // An optional transaction to retry. - RetryTransaction []byte `protobuf:"bytes,1,opt,name=retry_transaction,json=retryTransaction,proto3" json:"retry_transaction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TransactionOptions_ReadWrite) Reset() { *m = TransactionOptions_ReadWrite{} } -func (m *TransactionOptions_ReadWrite) String() string { return proto.CompactTextString(m) } -func (*TransactionOptions_ReadWrite) ProtoMessage() {} -func (*TransactionOptions_ReadWrite) Descriptor() ([]byte, []int) { - return fileDescriptor_b2e1854e17ece251, []int{2, 0} -} - -func (m *TransactionOptions_ReadWrite) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransactionOptions_ReadWrite.Unmarshal(m, b) -} -func (m *TransactionOptions_ReadWrite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransactionOptions_ReadWrite.Marshal(b, m, deterministic) -} -func (m *TransactionOptions_ReadWrite) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransactionOptions_ReadWrite.Merge(m, src) -} -func (m *TransactionOptions_ReadWrite) XXX_Size() int { - return xxx_messageInfo_TransactionOptions_ReadWrite.Size(m) -} -func (m *TransactionOptions_ReadWrite) XXX_DiscardUnknown() { - xxx_messageInfo_TransactionOptions_ReadWrite.DiscardUnknown(m) -} - -var xxx_messageInfo_TransactionOptions_ReadWrite proto.InternalMessageInfo - -func (m *TransactionOptions_ReadWrite) GetRetryTransaction() []byte { - if m != nil { - return m.RetryTransaction - } - return nil -} - -// Options for a transaction that can only be used to read documents. -type TransactionOptions_ReadOnly struct { - // The consistency mode for this transaction. If not set, defaults to strong - // consistency. - // - // Types that are valid to be assigned to ConsistencySelector: - // *TransactionOptions_ReadOnly_ReadTime - ConsistencySelector isTransactionOptions_ReadOnly_ConsistencySelector `protobuf_oneof:"consistency_selector"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TransactionOptions_ReadOnly) Reset() { *m = TransactionOptions_ReadOnly{} } -func (m *TransactionOptions_ReadOnly) String() string { return proto.CompactTextString(m) } -func (*TransactionOptions_ReadOnly) ProtoMessage() {} -func (*TransactionOptions_ReadOnly) Descriptor() ([]byte, []int) { - return fileDescriptor_b2e1854e17ece251, []int{2, 1} -} - -func (m *TransactionOptions_ReadOnly) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransactionOptions_ReadOnly.Unmarshal(m, b) -} -func (m *TransactionOptions_ReadOnly) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransactionOptions_ReadOnly.Marshal(b, m, deterministic) -} -func (m *TransactionOptions_ReadOnly) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransactionOptions_ReadOnly.Merge(m, src) -} -func (m *TransactionOptions_ReadOnly) XXX_Size() int { - return xxx_messageInfo_TransactionOptions_ReadOnly.Size(m) -} -func (m *TransactionOptions_ReadOnly) XXX_DiscardUnknown() { - xxx_messageInfo_TransactionOptions_ReadOnly.DiscardUnknown(m) -} - -var xxx_messageInfo_TransactionOptions_ReadOnly proto.InternalMessageInfo - -type isTransactionOptions_ReadOnly_ConsistencySelector interface { - isTransactionOptions_ReadOnly_ConsistencySelector() -} - -type TransactionOptions_ReadOnly_ReadTime struct { - ReadTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=read_time,json=readTime,proto3,oneof"` -} - -func (*TransactionOptions_ReadOnly_ReadTime) isTransactionOptions_ReadOnly_ConsistencySelector() {} - -func (m *TransactionOptions_ReadOnly) GetConsistencySelector() isTransactionOptions_ReadOnly_ConsistencySelector { - if m != nil { - return m.ConsistencySelector - } - return nil -} - -func (m *TransactionOptions_ReadOnly) GetReadTime() *timestamp.Timestamp { - if x, ok := m.GetConsistencySelector().(*TransactionOptions_ReadOnly_ReadTime); ok { - return x.ReadTime - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*TransactionOptions_ReadOnly) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*TransactionOptions_ReadOnly_ReadTime)(nil), - } -} - -func init() { - proto.RegisterType((*DocumentMask)(nil), "google.firestore.v1.DocumentMask") - proto.RegisterType((*Precondition)(nil), "google.firestore.v1.Precondition") - proto.RegisterType((*TransactionOptions)(nil), "google.firestore.v1.TransactionOptions") - proto.RegisterType((*TransactionOptions_ReadWrite)(nil), "google.firestore.v1.TransactionOptions.ReadWrite") - proto.RegisterType((*TransactionOptions_ReadOnly)(nil), "google.firestore.v1.TransactionOptions.ReadOnly") -} - -func init() { proto.RegisterFile("google/firestore/v1/common.proto", fileDescriptor_b2e1854e17ece251) } - -var fileDescriptor_b2e1854e17ece251 = []byte{ - // 458 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x52, 0x5f, 0x8b, 0xd3, 0x40, - 0x10, 0x6f, 0x7a, 0x47, 0x69, 0xa7, 0x45, 0xce, 0x28, 0x5a, 0x83, 0x70, 0xa5, 0x4f, 0x05, 0x61, - 0x63, 0xf4, 0x45, 0x51, 0x5f, 0x5a, 0xb9, 0xeb, 0x8b, 0xb4, 0xc4, 0xe3, 0x04, 0xa9, 0x84, 0xbd, - 0x64, 0x1a, 0x17, 0x93, 0x9d, 0xb0, 0xbb, 0x3d, 0xcd, 0xd7, 0x11, 0x7c, 0xf1, 0xa3, 0xf8, 0x11, - 0xfc, 0x34, 0x92, 0x4d, 0x1a, 0x15, 0xfb, 0xe0, 0xbd, 0xed, 0xcc, 0xef, 0xdf, 0xcc, 0xb0, 0x30, - 0x49, 0x89, 0xd2, 0x0c, 0xfd, 0xad, 0x50, 0xa8, 0x0d, 0x29, 0xf4, 0xaf, 0x03, 0x3f, 0xa6, 0x3c, - 0x27, 0xc9, 0x0a, 0x45, 0x86, 0xdc, 0x3b, 0x35, 0x83, 0xb5, 0x0c, 0x76, 0x1d, 0x78, 0xa7, 0x8d, - 0xcc, 0x52, 0xae, 0x76, 0x5b, 0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, 0x97, 0x9d, 0xd0, 0xce, 0x65, - 0x0b, 0xef, 0x19, 0x0c, 0x5a, 0xc4, 0x7d, 0x04, 0xb7, 0x15, 0x1a, 0x55, 0x46, 0xe6, 0xb7, 0xde, - 0x9e, 0x6f, 0x14, 0x9e, 0x58, 0xe0, 0x0f, 0x5f, 0xef, 0x03, 0xf4, 0xf7, 0x53, 0xba, 0xcf, 0x9b, - 0x55, 0xff, 0xfb, 0xa0, 0x76, 0x29, 0x7b, 0xce, 0x7b, 0x70, 0x37, 0x26, 0xa9, 0x85, 0x36, 0x28, - 0xe3, 0x32, 0xd2, 0x98, 0x61, 0x6c, 0x48, 0xcd, 0x7b, 0x70, 0x9c, 0x53, 0x82, 0xf3, 0x6f, 0x0e, - 0xdc, 0x8f, 0x29, 0x3f, 0xb4, 0xe6, 0x7c, 0xb8, 0xb0, 0xdf, 0x70, 0x5d, 0x25, 0xac, 0x9d, 0xf7, - 0x2f, 0x1b, 0x4e, 0x4a, 0x19, 0x97, 0x29, 0x23, 0x95, 0xfa, 0x29, 0x4a, 0x9b, 0xef, 0xd7, 0x10, - 0x2f, 0x84, 0xfe, 0xeb, 0x23, 0xbf, 0x68, 0x8b, 0xaf, 0xdd, 0xe3, 0xf3, 0xc5, 0xd9, 0xdb, 0xef, - 0xdd, 0x07, 0xe7, 0xb5, 0xcb, 0x22, 0xa3, 0x5d, 0xc2, 0xce, 0xda, 0xbc, 0xcb, 0xe0, 0xc7, 0x1e, - 0xdb, 0x58, 0x6c, 0xd3, 0x62, 0x9b, 0xcb, 0xe0, 0xaa, 0x67, 0x73, 0x9e, 0xfe, 0x0a, 0x00, 0x00, - 0xff, 0xff, 0x26, 0x0b, 0x81, 0xaa, 0x2f, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/firestore/v1/document.pb.go b/vendor/google.golang.org/genproto/googleapis/firestore/v1/document.pb.go deleted file mode 100644 index a0469108..00000000 --- a/vendor/google.golang.org/genproto/googleapis/firestore/v1/document.pb.go +++ /dev/null @@ -1,489 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/firestore/v1/document.proto - -package firestore - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _struct "github.com/golang/protobuf/ptypes/struct" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - latlng "google.golang.org/genproto/googleapis/type/latlng" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// A Firestore document. -// -// Must not exceed 1 MiB - 4 bytes. -type Document struct { - // The resource name of the document, for example - // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The document's fields. - // - // 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`. For example, - // `foo_bar_17`. - // - // Field names matching the regular expression `__.*__` are reserved. Reserved - // field names are forbidden except in certain documented contexts. The map - // keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be - // empty. - // - // Field paths may be used in other contexts to refer to structured fields - // defined here. For `map_value`, the field path is represented by the simple - // or quoted field names of the containing fields, delimited by `.`. For - // example, the structured field - // `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be - // represented by the field path `foo.x&y`. - // - // Within a field path, a quoted field name starts and ends with `` ` `` and - // may contain any character. Some characters, including `` ` ``, must be - // escaped using a `\`. For example, `` `x&y` `` represents `x&y` and - // `` `bak\`tik` `` represents `` bak`tik ``. - Fields map[string]*Value `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Output only. The time at which the document was created. - // - // This value increases monotonically when a document is deleted then - // recreated. It can also be compared to values from other documents and - // the `read_time` of a query. - 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 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8e0f854a5c2f070c, []int{0} -} - -func (m *Document) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Document.Unmarshal(m, b) -} -func (m *Document) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Document.Marshal(b, m, deterministic) -} -func (m *Document) XXX_Merge(src proto.Message) { - xxx_messageInfo_Document.Merge(m, src) -} -func (m *Document) XXX_Size() int { - return xxx_messageInfo_Document.Size(m) -} -func (m *Document) XXX_DiscardUnknown() { - xxx_messageInfo_Document.DiscardUnknown(m) -} - -var xxx_messageInfo_Document proto.InternalMessageInfo - -func (m *Document) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Document) GetFields() map[string]*Value { - if m != nil { - return m.Fields - } - return nil -} - -func (m *Document) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *Document) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -// A message that can hold any of the supported value types. -type Value struct { - // Must have a value set. - // - // Types that are valid to be assigned to ValueType: - // *Value_NullValue - // *Value_BooleanValue - // *Value_IntegerValue - // *Value_DoubleValue - // *Value_TimestampValue - // *Value_StringValue - // *Value_BytesValue - // *Value_ReferenceValue - // *Value_GeoPointValue - // *Value_ArrayValue - // *Value_MapValue - ValueType isValue_ValueType `protobuf_oneof:"value_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_8e0f854a5c2f070c, []int{1} -} - -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 (m *Value) XXX_Merge(src proto.Message) { - xxx_messageInfo_Value.Merge(m, 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_ValueType interface { - isValue_ValueType() -} - -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_TimestampValue) 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 (m *Value) GetValueType() isValue_ValueType { - if m != nil { - return m.ValueType - } - return nil -} - -func (m *Value) GetNullValue() _struct.NullValue { - if x, ok := m.GetValueType().(*Value_NullValue); ok { - return x.NullValue - } - return _struct.NullValue_NULL_VALUE -} - -func (m *Value) GetBooleanValue() bool { - if x, ok := m.GetValueType().(*Value_BooleanValue); ok { - return x.BooleanValue - } - return false -} - -func (m *Value) GetIntegerValue() int64 { - if x, ok := m.GetValueType().(*Value_IntegerValue); ok { - return x.IntegerValue - } - return 0 -} - -func (m *Value) GetDoubleValue() float64 { - if x, ok := m.GetValueType().(*Value_DoubleValue); ok { - return x.DoubleValue - } - return 0 -} - -func (m *Value) GetTimestampValue() *timestamp.Timestamp { - if x, ok := m.GetValueType().(*Value_TimestampValue); ok { - return x.TimestampValue - } - return nil -} - -func (m *Value) GetStringValue() string { - if x, ok := m.GetValueType().(*Value_StringValue); ok { - return x.StringValue - } - return "" -} - -func (m *Value) GetBytesValue() []byte { - if x, ok := m.GetValueType().(*Value_BytesValue); ok { - return x.BytesValue - } - return nil -} - -func (m *Value) GetReferenceValue() string { - if x, ok := m.GetValueType().(*Value_ReferenceValue); ok { - return x.ReferenceValue - } - return "" -} - -func (m *Value) GetGeoPointValue() *latlng.LatLng { - if x, ok := m.GetValueType().(*Value_GeoPointValue); ok { - return x.GeoPointValue - } - return nil -} - -func (m *Value) GetArrayValue() *ArrayValue { - if x, ok := m.GetValueType().(*Value_ArrayValue); ok { - return x.ArrayValue - } - return nil -} - -func (m *Value) GetMapValue() *MapValue { - if x, ok := m.GetValueType().(*Value_MapValue); ok { - return x.MapValue - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Value) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Value_NullValue)(nil), - (*Value_BooleanValue)(nil), - (*Value_IntegerValue)(nil), - (*Value_DoubleValue)(nil), - (*Value_TimestampValue)(nil), - (*Value_StringValue)(nil), - (*Value_BytesValue)(nil), - (*Value_ReferenceValue)(nil), - (*Value_GeoPointValue)(nil), - (*Value_ArrayValue)(nil), - (*Value_MapValue)(nil), - } -} - -// An array value. -type ArrayValue struct { - // Values in the array. - 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 *ArrayValue) Reset() { *m = ArrayValue{} } -func (m *ArrayValue) String() string { return proto.CompactTextString(m) } -func (*ArrayValue) ProtoMessage() {} -func (*ArrayValue) Descriptor() ([]byte, []int) { - return fileDescriptor_8e0f854a5c2f070c, []int{2} -} - -func (m *ArrayValue) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ArrayValue.Unmarshal(m, b) -} -func (m *ArrayValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ArrayValue.Marshal(b, m, deterministic) -} -func (m *ArrayValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_ArrayValue.Merge(m, src) -} -func (m *ArrayValue) XXX_Size() int { - return xxx_messageInfo_ArrayValue.Size(m) -} -func (m *ArrayValue) XXX_DiscardUnknown() { - xxx_messageInfo_ArrayValue.DiscardUnknown(m) -} - -var xxx_messageInfo_ArrayValue proto.InternalMessageInfo - -func (m *ArrayValue) GetValues() []*Value { - if m != nil { - return m.Values - } - return nil -} - -// A map value. -type MapValue struct { - // The map's fields. - // - // The map keys represent field names. Field names matching the regular - // expression `__.*__` are reserved. Reserved field names are forbidden except - // in certain documented contexts. The map keys, represented as UTF-8, must - // not exceed 1,500 bytes and cannot be empty. - Fields map[string]*Value `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,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 *MapValue) Reset() { *m = MapValue{} } -func (m *MapValue) String() string { return proto.CompactTextString(m) } -func (*MapValue) ProtoMessage() {} -func (*MapValue) Descriptor() ([]byte, []int) { - return fileDescriptor_8e0f854a5c2f070c, []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 (m *MapValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_MapValue.Merge(m, 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) GetFields() map[string]*Value { - if m != nil { - return m.Fields - } - return nil -} - -func init() { - proto.RegisterType((*Document)(nil), "google.firestore.v1.Document") - proto.RegisterMapType((map[string]*Value)(nil), "google.firestore.v1.Document.FieldsEntry") - proto.RegisterType((*Value)(nil), "google.firestore.v1.Value") - proto.RegisterType((*ArrayValue)(nil), "google.firestore.v1.ArrayValue") - proto.RegisterType((*MapValue)(nil), "google.firestore.v1.MapValue") - proto.RegisterMapType((map[string]*Value)(nil), "google.firestore.v1.MapValue.FieldsEntry") -} - -func init() { proto.RegisterFile("google/firestore/v1/document.proto", fileDescriptor_8e0f854a5c2f070c) } - -var fileDescriptor_8e0f854a5c2f070c = []byte{ - // 650 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x94, 0x4f, 0x6f, 0xd3, 0x4c, - 0x10, 0xc6, 0xe3, 0x24, 0x8d, 0x92, 0x71, 0xda, 0xbe, 0xaf, 0x7b, 0x20, 0x44, 0xa0, 0x86, 0x20, - 0xa4, 0xf4, 0x62, 0x93, 0x72, 0x41, 0xb4, 0x48, 0x34, 0xa5, 0x6d, 0x0e, 0x05, 0x55, 0x06, 0x7a, - 0x40, 0x95, 0xa2, 0x4d, 0xb2, 0x59, 0x59, 0xac, 0x77, 0xad, 0xf5, 0xba, 0x52, 0xbe, 0x0e, 0x42, - 0x42, 0xe2, 0xc8, 0x27, 0xe0, 0xcc, 0xa7, 0x42, 0xfb, 0xcf, 0x6d, 0x50, 0xd4, 0x9e, 0xb8, 0xed, - 0xce, 0xfc, 0x9e, 0x99, 0x67, 0xd7, 0x3b, 0x86, 0x3e, 0xe1, 0x9c, 0x50, 0x1c, 0x2d, 0x12, 0x81, - 0x73, 0xc9, 0x05, 0x8e, 0xae, 0x87, 0xd1, 0x9c, 0xcf, 0x8a, 0x14, 0x33, 0x19, 0x66, 0x82, 0x4b, - 0x1e, 0xec, 0x18, 0x26, 0x2c, 0x99, 0xf0, 0x7a, 0xd8, 0x7d, 0x64, 0x85, 0x1a, 0x99, 0x16, 0x8b, - 0x28, 0x97, 0xa2, 0x98, 0x59, 0x49, 0x77, 0xf7, 0xef, 0xac, 0x4c, 0x52, 0x9c, 0x4b, 0x94, 0x66, - 0x16, 0xe8, 0x58, 0x40, 0x2e, 0x33, 0x1c, 0x51, 0x24, 0x29, 0x23, 0x36, 0xe3, 0x0a, 0xa3, 0x2c, - 0x89, 0x10, 0x63, 0x5c, 0x22, 0x99, 0x70, 0x96, 0x9b, 0x6c, 0xff, 0x67, 0x15, 0x9a, 0x6f, 0xad, - 0xbd, 0x20, 0x80, 0x3a, 0x43, 0x29, 0xee, 0x78, 0x3d, 0x6f, 0xd0, 0x8a, 0xf5, 0x3a, 0x38, 0x82, - 0xc6, 0x22, 0xc1, 0x74, 0x9e, 0x77, 0xaa, 0xbd, 0xda, 0xc0, 0xdf, 0xdf, 0x0b, 0xd7, 0xb8, 0x0f, - 0x5d, 0x89, 0xf0, 0x54, 0xb3, 0x27, 0x4c, 0x8a, 0x65, 0x6c, 0x85, 0xc1, 0x01, 0xf8, 0x33, 0x81, - 0x91, 0xc4, 0x13, 0xe5, 0xba, 0x53, 0xeb, 0x79, 0x03, 0x7f, 0xbf, 0xeb, 0xea, 0xb8, 0x23, 0x85, - 0x1f, 0xdd, 0x91, 0x62, 0x30, 0xb8, 0x0a, 0x28, 0x71, 0x91, 0xcd, 0x4b, 0x71, 0xfd, 0x7e, 0xb1, - 0xc1, 0x55, 0xa0, 0xfb, 0x09, 0xfc, 0x5b, 0x86, 0x82, 0xff, 0xa0, 0xf6, 0x05, 0x2f, 0xed, 0xf1, - 0xd4, 0x32, 0x78, 0x0e, 0x1b, 0xd7, 0x88, 0x16, 0xb8, 0x53, 0x5d, 0xad, 0xbb, 0x72, 0xb8, 0x4b, - 0x45, 0xc4, 0x06, 0x7c, 0x55, 0x7d, 0xe9, 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d2, 0xd2, - 0xdd, 0xb5, 0x9f, 0xfb, 0x48, 0x71, 0xee, 0x73, 0x01, 0x2a, 0x77, 0xc1, 0x21, 0xb4, 0x52, 0xe4, - 0xae, 0xad, 0xa1, 0x2b, 0x3c, 0x5e, 0x5b, 0xe1, 0x1d, 0xca, 0x9c, 0xbe, 0x99, 0xda, 0xf5, 0xa8, - 0x0d, 0xa0, 0x95, 0x13, 0xe5, 0xb3, 0xff, 0x06, 0xe0, 0xa6, 0x4f, 0xb0, 0x0f, 0x0d, 0x9d, 0xcb, - 0x3b, 0x9e, 0x1e, 0xb2, 0xbb, 0xde, 0xa1, 0x25, 0xfb, 0xdf, 0x3c, 0x68, 0xba, 0x46, 0xb7, 0xa6, - 0xd4, 0xbb, 0x63, 0x4a, 0x1d, 0xbe, 0x6e, 0x4a, 0xff, 0xd1, 0xac, 0x8c, 0xbe, 0x7b, 0xf0, 0x60, - 0xc6, 0xd3, 0x75, 0xf0, 0x68, 0xd3, 0xfd, 0x36, 0x2e, 0xd4, 0xa3, 0xbb, 0xf0, 0x3e, 0x1f, 0x5a, - 0x8a, 0x70, 0x8a, 0x18, 0x09, 0xb9, 0x20, 0x11, 0xc1, 0x4c, 0x3f, 0xc9, 0xc8, 0xa4, 0x50, 0x96, - 0xe4, 0x2b, 0x3f, 0xd7, 0x83, 0x72, 0xf3, 0xb5, 0x5a, 0x3f, 0x3b, 0x3e, 0xfd, 0xf0, 0xa3, 0xfa, - 0xf0, 0xcc, 0x54, 0x39, 0xa6, 0xbc, 0x98, 0x87, 0xa7, 0x65, 0xc7, 0xcb, 0xe1, 0x6f, 0x97, 0xbb, - 0xd2, 0xb9, 0xab, 0x32, 0x77, 0x75, 0x39, 0x9c, 0x36, 0x74, 0x9f, 0x17, 0x7f, 0x02, 0x00, 0x00, - 0xff, 0xff, 0x2d, 0x9a, 0x82, 0x39, 0xc3, 0x05, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/firestore/v1/firestore.pb.go b/vendor/google.golang.org/genproto/googleapis/firestore/v1/firestore.pb.go deleted file mode 100644 index 72811572..00000000 --- a/vendor/google.golang.org/genproto/googleapis/firestore/v1/firestore.pb.go +++ /dev/null @@ -1,3073 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/firestore/v1/firestore.proto - -package firestore - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The type of change. -type TargetChange_TargetChangeType int32 - -const ( - // No change has occurred. Used only to send an updated `resume_token`. - TargetChange_NO_CHANGE TargetChange_TargetChangeType = 0 - // The targets have been added. - TargetChange_ADD TargetChange_TargetChangeType = 1 - // The targets have been removed. - TargetChange_REMOVE TargetChange_TargetChangeType = 2 - // The targets reflect all changes committed before the targets were added - // to the stream. - // - // This will be sent after or with a `read_time` that is greater than or - // equal to the time at which the targets were added. - // - // Listeners can wait for this change if read-after-write semantics - // are desired. - TargetChange_CURRENT TargetChange_TargetChangeType = 3 - // The targets have been reset, and a new initial state for the targets - // will be returned in subsequent changes. - // - // After the initial state is complete, `CURRENT` will be returned even - // if the target was previously indicated to be `CURRENT`. - TargetChange_RESET TargetChange_TargetChangeType = 4 -) - -var TargetChange_TargetChangeType_name = map[int32]string{ - 0: "NO_CHANGE", - 1: "ADD", - 2: "REMOVE", - 3: "CURRENT", - 4: "RESET", -} - -var TargetChange_TargetChangeType_value = map[string]int32{ - "NO_CHANGE": 0, - "ADD": 1, - "REMOVE": 2, - "CURRENT": 3, - "RESET": 4, -} - -func (x TargetChange_TargetChangeType) String() string { - return proto.EnumName(TargetChange_TargetChangeType_name, int32(x)) -} - -func (TargetChange_TargetChangeType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_f56aaf8ee76b5544, []int{20, 0} -} - -// The request for [Firestore.GetDocument][google.firestore.v1.Firestore.GetDocument]. -type GetDocumentRequest struct { - // The resource name of the Document to get. In the format: - // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The fields to return. If not set, returns all fields. - // - // If the document has a field that is not present in this mask, that field - // will not be returned in the response. - Mask *DocumentMask `protobuf:"bytes,2,opt,name=mask,proto3" json:"mask,omitempty"` - // The consistency mode for this transaction. - // If not set, defaults to strong consistency. - // - // Types that are valid to be assigned to ConsistencySelector: - // *GetDocumentRequest_Transaction - // *GetDocumentRequest_ReadTime - ConsistencySelector isGetDocumentRequest_ConsistencySelector `protobuf_oneof:"consistency_selector"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f56aaf8ee76b5544, []int{0} -} - -func (m *GetDocumentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDocumentRequest.Unmarshal(m, b) -} -func (m *GetDocumentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDocumentRequest.Marshal(b, m, deterministic) -} -func (m *GetDocumentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDocumentRequest.Merge(m, src) -} -func (m *GetDocumentRequest) XXX_Size() int { - return xxx_messageInfo_GetDocumentRequest.Size(m) -} -func (m *GetDocumentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetDocumentRequest.DiscardUnknown(m) -} - -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() -} - -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 (m *GetDocumentRequest) GetConsistencySelector() isGetDocumentRequest_ConsistencySelector { - if m != nil { - return m.ConsistencySelector - } - return nil -} - -func (m *GetDocumentRequest) GetTransaction() []byte { - if x, ok := m.GetConsistencySelector().(*GetDocumentRequest_Transaction); ok { - return x.Transaction - } - return nil -} - -func (m *GetDocumentRequest) GetReadTime() *timestamp.Timestamp { - if x, ok := m.GetConsistencySelector().(*GetDocumentRequest_ReadTime); ok { - return x.ReadTime - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*GetDocumentRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*GetDocumentRequest_Transaction)(nil), - (*GetDocumentRequest_ReadTime)(nil), - } -} - -// The request for [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments]. -type ListDocumentsRequest struct { - // The parent resource name. In the format: - // `projects/{project_id}/databases/{database_id}/documents` or - // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. - // For example: - // `projects/my-project/databases/my-database/documents` or - // `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom` - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The collection ID, relative to `parent`, to list. For example: `chatrooms` - // or `messages`. - CollectionId string `protobuf:"bytes,2,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` - // The maximum number of documents to return. - PageSize int32 `protobuf:"varint,3,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,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // The order to sort results by. For example: `priority desc, name`. - OrderBy string `protobuf:"bytes,6,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` - // The fields to return. If not set, returns all fields. - // - // If a document has a field that is not present in this mask, that field - // will not be returned in the response. - Mask *DocumentMask `protobuf:"bytes,7,opt,name=mask,proto3" json:"mask,omitempty"` - // The consistency mode for this transaction. - // If not set, defaults to strong consistency. - // - // Types that are valid to be assigned to ConsistencySelector: - // *ListDocumentsRequest_Transaction - // *ListDocumentsRequest_ReadTime - ConsistencySelector isListDocumentsRequest_ConsistencySelector `protobuf_oneof:"consistency_selector"` - // If the list should show missing documents. A missing document is a - // document that does not exist but has sub-documents. These documents will - // be returned with a key but will not have fields, [Document.create_time][google.firestore.v1.Document.create_time], - // or [Document.update_time][google.firestore.v1.Document.update_time] set. - // - // Requests with `show_missing` may not specify `where` or - // `order_by`. - ShowMissing bool `protobuf:"varint,12,opt,name=show_missing,json=showMissing,proto3" json:"show_missing,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f56aaf8ee76b5544, []int{1} -} - -func (m *ListDocumentsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDocumentsRequest.Unmarshal(m, b) -} -func (m *ListDocumentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDocumentsRequest.Marshal(b, m, deterministic) -} -func (m *ListDocumentsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDocumentsRequest.Merge(m, src) -} -func (m *ListDocumentsRequest) XXX_Size() int { - return xxx_messageInfo_ListDocumentsRequest.Size(m) -} -func (m *ListDocumentsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListDocumentsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDocumentsRequest proto.InternalMessageInfo - -func (m *ListDocumentsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListDocumentsRequest) GetCollectionId() string { - if m != nil { - return m.CollectionId - } - return "" -} - -func (m *ListDocumentsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListDocumentsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListDocumentsRequest) GetOrderBy() string { - if m != nil { - return m.OrderBy - } - return "" -} - -func (m *ListDocumentsRequest) GetMask() *DocumentMask { - if m != nil { - return m.Mask - } - 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 - } - return nil -} - -func (m *ListDocumentsRequest) GetReadTime() *timestamp.Timestamp { - if x, ok := m.GetConsistencySelector().(*ListDocumentsRequest_ReadTime); ok { - return x.ReadTime - } - return nil -} - -func (m *ListDocumentsRequest) GetShowMissing() bool { - if m != nil { - return m.ShowMissing - } - return false -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ListDocumentsRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ListDocumentsRequest_Transaction)(nil), - (*ListDocumentsRequest_ReadTime)(nil), - } -} - -// The response for [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments]. -type ListDocumentsResponse struct { - // The Documents found. - Documents []*Document `protobuf:"bytes,1,rep,name=documents,proto3" json:"documents,omitempty"` - // The 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 *ListDocumentsResponse) Reset() { *m = ListDocumentsResponse{} } -func (m *ListDocumentsResponse) String() string { return proto.CompactTextString(m) } -func (*ListDocumentsResponse) ProtoMessage() {} -func (*ListDocumentsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f56aaf8ee76b5544, []int{2} -} - -func (m *ListDocumentsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDocumentsResponse.Unmarshal(m, b) -} -func (m *ListDocumentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDocumentsResponse.Marshal(b, m, deterministic) -} -func (m *ListDocumentsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDocumentsResponse.Merge(m, src) -} -func (m *ListDocumentsResponse) XXX_Size() int { - return xxx_messageInfo_ListDocumentsResponse.Size(m) -} -func (m *ListDocumentsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListDocumentsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDocumentsResponse proto.InternalMessageInfo - -func (m *ListDocumentsResponse) GetDocuments() []*Document { - if m != nil { - return m.Documents - } - return nil -} - -func (m *ListDocumentsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The request for [Firestore.CreateDocument][google.firestore.v1.Firestore.CreateDocument]. -type CreateDocumentRequest struct { - // The parent resource. For example: - // `projects/{project_id}/databases/{database_id}/documents` or - // `projects/{project_id}/databases/{database_id}/documents/chatrooms/{chatroom_id}` - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The collection ID, relative to `parent`, to list. For example: `chatrooms`. - CollectionId string `protobuf:"bytes,2,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` - // The client-assigned document ID to use for this document. - // - // Optional. If not specified, an ID will be assigned by the service. - DocumentId string `protobuf:"bytes,3,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"` - // The document to create. `name` must not be set. - Document *Document `protobuf:"bytes,4,opt,name=document,proto3" json:"document,omitempty"` - // The fields to return. If not set, returns all fields. - // - // If the document has a field that is not present in this mask, that field - // will not be returned in the response. - Mask *DocumentMask `protobuf:"bytes,5,opt,name=mask,proto3" json:"mask,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f56aaf8ee76b5544, []int{3} -} - -func (m *CreateDocumentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateDocumentRequest.Unmarshal(m, b) -} -func (m *CreateDocumentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateDocumentRequest.Marshal(b, m, deterministic) -} -func (m *CreateDocumentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateDocumentRequest.Merge(m, src) -} -func (m *CreateDocumentRequest) XXX_Size() int { - return xxx_messageInfo_CreateDocumentRequest.Size(m) -} -func (m *CreateDocumentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateDocumentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateDocumentRequest proto.InternalMessageInfo - -func (m *CreateDocumentRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateDocumentRequest) GetCollectionId() string { - if m != nil { - return m.CollectionId - } - return "" -} - -func (m *CreateDocumentRequest) GetDocumentId() string { - if m != nil { - return m.DocumentId - } - return "" -} - -func (m *CreateDocumentRequest) GetDocument() *Document { - if m != nil { - return m.Document - } - return nil -} - -func (m *CreateDocumentRequest) GetMask() *DocumentMask { - if m != nil { - return m.Mask - } - return nil -} - -// The request for [Firestore.UpdateDocument][google.firestore.v1.Firestore.UpdateDocument]. -type UpdateDocumentRequest struct { - // The updated document. - // Creates the document if it does not already exist. - Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` - // The fields to 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. - // Fields referenced in the mask, but not present in the input document, are - // deleted from the document on the server. - UpdateMask *DocumentMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` - // The fields to return. If not set, returns all fields. - // - // If the document has a field that is not present in this mask, that field - // will not be returned in the response. - Mask *DocumentMask `protobuf:"bytes,3,opt,name=mask,proto3" json:"mask,omitempty"` - // An optional precondition on the document. - // The request will fail if this is set and not met by the target document. - CurrentDocument *Precondition `protobuf:"bytes,4,opt,name=current_document,json=currentDocument,proto3" json:"current_document,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f56aaf8ee76b5544, []int{4} -} - -func (m *UpdateDocumentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateDocumentRequest.Unmarshal(m, b) -} -func (m *UpdateDocumentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateDocumentRequest.Marshal(b, m, deterministic) -} -func (m *UpdateDocumentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateDocumentRequest.Merge(m, src) -} -func (m *UpdateDocumentRequest) XXX_Size() int { - return xxx_messageInfo_UpdateDocumentRequest.Size(m) -} -func (m *UpdateDocumentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateDocumentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateDocumentRequest proto.InternalMessageInfo - -func (m *UpdateDocumentRequest) GetDocument() *Document { - if m != nil { - return m.Document - } - return nil -} - -func (m *UpdateDocumentRequest) GetUpdateMask() *DocumentMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -func (m *UpdateDocumentRequest) GetMask() *DocumentMask { - if m != nil { - return m.Mask - } - return nil -} - -func (m *UpdateDocumentRequest) GetCurrentDocument() *Precondition { - if m != nil { - return m.CurrentDocument - } - return nil -} - -// The request for [Firestore.DeleteDocument][google.firestore.v1.Firestore.DeleteDocument]. -type DeleteDocumentRequest struct { - // The resource name of the Document to delete. In the format: - // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // An optional precondition on the document. - // The request will fail if this is set and not met by the target document. - CurrentDocument *Precondition `protobuf:"bytes,2,opt,name=current_document,json=currentDocument,proto3" json:"current_document,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f56aaf8ee76b5544, []int{5} -} - -func (m *DeleteDocumentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteDocumentRequest.Unmarshal(m, b) -} -func (m *DeleteDocumentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteDocumentRequest.Marshal(b, m, deterministic) -} -func (m *DeleteDocumentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteDocumentRequest.Merge(m, src) -} -func (m *DeleteDocumentRequest) XXX_Size() int { - return xxx_messageInfo_DeleteDocumentRequest.Size(m) -} -func (m *DeleteDocumentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteDocumentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteDocumentRequest proto.InternalMessageInfo - -func (m *DeleteDocumentRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *DeleteDocumentRequest) GetCurrentDocument() *Precondition { - if m != nil { - return m.CurrentDocument - } - return nil -} - -// The request for [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments]. -type BatchGetDocumentsRequest struct { - // The database name. In the format: - // `projects/{project_id}/databases/{database_id}`. - Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` - // The names of the documents to retrieve. In the format: - // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. - // The request will fail if any of the document is not a child resource of the - // given `database`. Duplicate names will be elided. - Documents []string `protobuf:"bytes,2,rep,name=documents,proto3" json:"documents,omitempty"` - // The fields to return. If not set, returns all fields. - // - // If a document has a field that is not present in this mask, that field will - // not be returned in the response. - Mask *DocumentMask `protobuf:"bytes,3,opt,name=mask,proto3" json:"mask,omitempty"` - // The consistency mode for this transaction. - // If not set, defaults to strong consistency. - // - // Types that are valid to be assigned to ConsistencySelector: - // *BatchGetDocumentsRequest_Transaction - // *BatchGetDocumentsRequest_NewTransaction - // *BatchGetDocumentsRequest_ReadTime - ConsistencySelector isBatchGetDocumentsRequest_ConsistencySelector `protobuf_oneof:"consistency_selector"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchGetDocumentsRequest) Reset() { *m = BatchGetDocumentsRequest{} } -func (m *BatchGetDocumentsRequest) String() string { return proto.CompactTextString(m) } -func (*BatchGetDocumentsRequest) ProtoMessage() {} -func (*BatchGetDocumentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f56aaf8ee76b5544, []int{6} -} - -func (m *BatchGetDocumentsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchGetDocumentsRequest.Unmarshal(m, b) -} -func (m *BatchGetDocumentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchGetDocumentsRequest.Marshal(b, m, deterministic) -} -func (m *BatchGetDocumentsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchGetDocumentsRequest.Merge(m, src) -} -func (m *BatchGetDocumentsRequest) XXX_Size() int { - return xxx_messageInfo_BatchGetDocumentsRequest.Size(m) -} -func (m *BatchGetDocumentsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchGetDocumentsRequest.DiscardUnknown(m) -} - -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() -} - -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_NewTransaction) isBatchGetDocumentsRequest_ConsistencySelector() {} - -func (*BatchGetDocumentsRequest_ReadTime) isBatchGetDocumentsRequest_ConsistencySelector() {} - -func (m *BatchGetDocumentsRequest) GetConsistencySelector() isBatchGetDocumentsRequest_ConsistencySelector { - if m != nil { - return m.ConsistencySelector - } - return nil -} - -func (m *BatchGetDocumentsRequest) GetTransaction() []byte { - if x, ok := m.GetConsistencySelector().(*BatchGetDocumentsRequest_Transaction); ok { - return x.Transaction - } - return nil -} - -func (m *BatchGetDocumentsRequest) GetNewTransaction() *TransactionOptions { - if x, ok := m.GetConsistencySelector().(*BatchGetDocumentsRequest_NewTransaction); ok { - return x.NewTransaction - } - return nil -} - -func (m *BatchGetDocumentsRequest) GetReadTime() *timestamp.Timestamp { - if x, ok := m.GetConsistencySelector().(*BatchGetDocumentsRequest_ReadTime); ok { - return x.ReadTime - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*BatchGetDocumentsRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*BatchGetDocumentsRequest_Transaction)(nil), - (*BatchGetDocumentsRequest_NewTransaction)(nil), - (*BatchGetDocumentsRequest_ReadTime)(nil), - } -} - -// The streamed response for [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments]. -type BatchGetDocumentsResponse struct { - // A single result. - // This can be empty if the server is just returning a transaction. - // - // Types that are valid to be assigned to Result: - // *BatchGetDocumentsResponse_Found - // *BatchGetDocumentsResponse_Missing - Result isBatchGetDocumentsResponse_Result `protobuf_oneof:"result"` - // The transaction that was started as part of this request. - // Will only be set in the first response, and only if - // [BatchGetDocumentsRequest.new_transaction][google.firestore.v1.BatchGetDocumentsRequest.new_transaction] was set in the request. - Transaction []byte `protobuf:"bytes,3,opt,name=transaction,proto3" json:"transaction,omitempty"` - // The time at which the document was read. - // This may be monotically increasing, in this case the previous documents in - // the result stream are guaranteed not to have changed between their - // read_time and this one. - ReadTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchGetDocumentsResponse) Reset() { *m = BatchGetDocumentsResponse{} } -func (m *BatchGetDocumentsResponse) String() string { return proto.CompactTextString(m) } -func (*BatchGetDocumentsResponse) ProtoMessage() {} -func (*BatchGetDocumentsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f56aaf8ee76b5544, []int{7} -} - -func (m *BatchGetDocumentsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchGetDocumentsResponse.Unmarshal(m, b) -} -func (m *BatchGetDocumentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchGetDocumentsResponse.Marshal(b, m, deterministic) -} -func (m *BatchGetDocumentsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchGetDocumentsResponse.Merge(m, src) -} -func (m *BatchGetDocumentsResponse) XXX_Size() int { - return xxx_messageInfo_BatchGetDocumentsResponse.Size(m) -} -func (m *BatchGetDocumentsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BatchGetDocumentsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchGetDocumentsResponse proto.InternalMessageInfo - -type isBatchGetDocumentsResponse_Result interface { - isBatchGetDocumentsResponse_Result() -} - -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_Missing) isBatchGetDocumentsResponse_Result() {} - -func (m *BatchGetDocumentsResponse) GetResult() isBatchGetDocumentsResponse_Result { - if m != nil { - return m.Result - } - return nil -} - -func (m *BatchGetDocumentsResponse) GetFound() *Document { - if x, ok := m.GetResult().(*BatchGetDocumentsResponse_Found); ok { - return x.Found - } - return nil -} - -func (m *BatchGetDocumentsResponse) GetMissing() string { - if x, ok := m.GetResult().(*BatchGetDocumentsResponse_Missing); ok { - return x.Missing - } - return "" -} - -func (m *BatchGetDocumentsResponse) GetTransaction() []byte { - if m != nil { - return m.Transaction - } - return nil -} - -func (m *BatchGetDocumentsResponse) GetReadTime() *timestamp.Timestamp { - if m != nil { - return m.ReadTime - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*BatchGetDocumentsResponse) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*BatchGetDocumentsResponse_Found)(nil), - (*BatchGetDocumentsResponse_Missing)(nil), - } -} - -// The request for [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction]. -type BeginTransactionRequest struct { - // The database name. In the format: - // `projects/{project_id}/databases/{database_id}`. - Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` - // The options for the transaction. - // Defaults to a read-write transaction. - Options *TransactionOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f56aaf8ee76b5544, []int{8} -} - -func (m *BeginTransactionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BeginTransactionRequest.Unmarshal(m, b) -} -func (m *BeginTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BeginTransactionRequest.Marshal(b, m, deterministic) -} -func (m *BeginTransactionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BeginTransactionRequest.Merge(m, src) -} -func (m *BeginTransactionRequest) XXX_Size() int { - return xxx_messageInfo_BeginTransactionRequest.Size(m) -} -func (m *BeginTransactionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BeginTransactionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BeginTransactionRequest proto.InternalMessageInfo - -func (m *BeginTransactionRequest) GetDatabase() string { - if m != nil { - return m.Database - } - return "" -} - -func (m *BeginTransactionRequest) GetOptions() *TransactionOptions { - if m != nil { - return m.Options - } - return nil -} - -// The response for [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction]. -type BeginTransactionResponse struct { - // The transaction that was started. - Transaction []byte `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BeginTransactionResponse) Reset() { *m = BeginTransactionResponse{} } -func (m *BeginTransactionResponse) String() string { return proto.CompactTextString(m) } -func (*BeginTransactionResponse) ProtoMessage() {} -func (*BeginTransactionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f56aaf8ee76b5544, []int{9} -} - -func (m *BeginTransactionResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BeginTransactionResponse.Unmarshal(m, b) -} -func (m *BeginTransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BeginTransactionResponse.Marshal(b, m, deterministic) -} -func (m *BeginTransactionResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BeginTransactionResponse.Merge(m, src) -} -func (m *BeginTransactionResponse) XXX_Size() int { - return xxx_messageInfo_BeginTransactionResponse.Size(m) -} -func (m *BeginTransactionResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BeginTransactionResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_BeginTransactionResponse proto.InternalMessageInfo - -func (m *BeginTransactionResponse) GetTransaction() []byte { - if m != nil { - return m.Transaction - } - return nil -} - -// The request for [Firestore.Commit][google.firestore.v1.Firestore.Commit]. -type CommitRequest struct { - // The database name. In the format: - // `projects/{project_id}/databases/{database_id}`. - Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` - // The writes to apply. - // - // Always executed atomically and in order. - Writes []*Write `protobuf:"bytes,2,rep,name=writes,proto3" json:"writes,omitempty"` - // If set, applies all writes in this transaction, and commits it. - Transaction []byte `protobuf:"bytes,3,opt,name=transaction,proto3" json:"transaction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f56aaf8ee76b5544, []int{10} -} - -func (m *CommitRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommitRequest.Unmarshal(m, b) -} -func (m *CommitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommitRequest.Marshal(b, m, deterministic) -} -func (m *CommitRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommitRequest.Merge(m, src) -} -func (m *CommitRequest) XXX_Size() int { - return xxx_messageInfo_CommitRequest.Size(m) -} -func (m *CommitRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CommitRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CommitRequest proto.InternalMessageInfo - -func (m *CommitRequest) GetDatabase() string { - if m != nil { - return m.Database - } - return "" -} - -func (m *CommitRequest) GetWrites() []*Write { - if m != nil { - return m.Writes - } - return nil -} - -func (m *CommitRequest) GetTransaction() []byte { - if m != nil { - return m.Transaction - } - return nil -} - -// The response for [Firestore.Commit][google.firestore.v1.Firestore.Commit]. -type CommitResponse struct { - // The result of applying the writes. - // - // This i-th write result corresponds to the i-th write in the - // request. - WriteResults []*WriteResult `protobuf:"bytes,1,rep,name=write_results,json=writeResults,proto3" json:"write_results,omitempty"` - // The time at which the commit occurred. - CommitTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=commit_time,json=commitTime,proto3" json:"commit_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f56aaf8ee76b5544, []int{11} -} - -func (m *CommitResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommitResponse.Unmarshal(m, b) -} -func (m *CommitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommitResponse.Marshal(b, m, deterministic) -} -func (m *CommitResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommitResponse.Merge(m, src) -} -func (m *CommitResponse) XXX_Size() int { - return xxx_messageInfo_CommitResponse.Size(m) -} -func (m *CommitResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CommitResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_CommitResponse proto.InternalMessageInfo - -func (m *CommitResponse) GetWriteResults() []*WriteResult { - if m != nil { - return m.WriteResults - } - return nil -} - -func (m *CommitResponse) GetCommitTime() *timestamp.Timestamp { - if m != nil { - return m.CommitTime - } - return nil -} - -// The request for [Firestore.Rollback][google.firestore.v1.Firestore.Rollback]. -type RollbackRequest struct { - // The database name. In the format: - // `projects/{project_id}/databases/{database_id}`. - Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` - // The transaction to roll back. - Transaction []byte `protobuf:"bytes,2,opt,name=transaction,proto3" json:"transaction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f56aaf8ee76b5544, []int{12} -} - -func (m *RollbackRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RollbackRequest.Unmarshal(m, b) -} -func (m *RollbackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RollbackRequest.Marshal(b, m, deterministic) -} -func (m *RollbackRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RollbackRequest.Merge(m, src) -} -func (m *RollbackRequest) XXX_Size() int { - return xxx_messageInfo_RollbackRequest.Size(m) -} -func (m *RollbackRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RollbackRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_RollbackRequest proto.InternalMessageInfo - -func (m *RollbackRequest) GetDatabase() string { - if m != nil { - return m.Database - } - return "" -} - -func (m *RollbackRequest) GetTransaction() []byte { - if m != nil { - return m.Transaction - } - return nil -} - -// The request for [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery]. -type RunQueryRequest struct { - // The parent resource name. In the format: - // `projects/{project_id}/databases/{database_id}/documents` or - // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. - // For example: - // `projects/my-project/databases/my-database/documents` or - // `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom` - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The query to run. - // - // Types that are valid to be assigned to QueryType: - // *RunQueryRequest_StructuredQuery - QueryType isRunQueryRequest_QueryType `protobuf_oneof:"query_type"` - // The consistency mode for this transaction. - // If not set, defaults to strong consistency. - // - // Types that are valid to be assigned to ConsistencySelector: - // *RunQueryRequest_Transaction - // *RunQueryRequest_NewTransaction - // *RunQueryRequest_ReadTime - ConsistencySelector isRunQueryRequest_ConsistencySelector `protobuf_oneof:"consistency_selector"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f56aaf8ee76b5544, []int{13} -} - -func (m *RunQueryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RunQueryRequest.Unmarshal(m, b) -} -func (m *RunQueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RunQueryRequest.Marshal(b, m, deterministic) -} -func (m *RunQueryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RunQueryRequest.Merge(m, src) -} -func (m *RunQueryRequest) XXX_Size() int { - return xxx_messageInfo_RunQueryRequest.Size(m) -} -func (m *RunQueryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RunQueryRequest.DiscardUnknown(m) -} - -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 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_Transaction) isRunQueryRequest_ConsistencySelector() {} - -func (*RunQueryRequest_NewTransaction) isRunQueryRequest_ConsistencySelector() {} - -func (*RunQueryRequest_ReadTime) isRunQueryRequest_ConsistencySelector() {} - -func (m *RunQueryRequest) GetConsistencySelector() isRunQueryRequest_ConsistencySelector { - if m != nil { - return m.ConsistencySelector - } - return nil -} - -func (m *RunQueryRequest) GetTransaction() []byte { - if x, ok := m.GetConsistencySelector().(*RunQueryRequest_Transaction); ok { - return x.Transaction - } - return nil -} - -func (m *RunQueryRequest) GetNewTransaction() *TransactionOptions { - if x, ok := m.GetConsistencySelector().(*RunQueryRequest_NewTransaction); ok { - return x.NewTransaction - } - return nil -} - -func (m *RunQueryRequest) GetReadTime() *timestamp.Timestamp { - if x, ok := m.GetConsistencySelector().(*RunQueryRequest_ReadTime); ok { - return x.ReadTime - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*RunQueryRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*RunQueryRequest_StructuredQuery)(nil), - (*RunQueryRequest_Transaction)(nil), - (*RunQueryRequest_NewTransaction)(nil), - (*RunQueryRequest_ReadTime)(nil), - } -} - -// The response for [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery]. -type RunQueryResponse struct { - // The transaction that was started as part of this request. - // Can only be set in the first response, and only if - // [RunQueryRequest.new_transaction][google.firestore.v1.RunQueryRequest.new_transaction] was set in the request. - // If set, no other fields will be set in this response. - Transaction []byte `protobuf:"bytes,2,opt,name=transaction,proto3" json:"transaction,omitempty"` - // A query result. - // Not set when reporting partial progress. - Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` - // The time at which the document was read. This may be monotonically - // increasing; in this case, the previous documents in the result stream are - // guaranteed not to have changed between their `read_time` and this one. - // - // If the query returns no results, a response with `read_time` and no - // `document` will be sent, and this represents the time at which the query - // was run. - ReadTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` - // The number of results that have been skipped due to an offset between - // the last response and the current response. - SkippedResults int32 `protobuf:"varint,4,opt,name=skipped_results,json=skippedResults,proto3" json:"skipped_results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f56aaf8ee76b5544, []int{14} -} - -func (m *RunQueryResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RunQueryResponse.Unmarshal(m, b) -} -func (m *RunQueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RunQueryResponse.Marshal(b, m, deterministic) -} -func (m *RunQueryResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RunQueryResponse.Merge(m, src) -} -func (m *RunQueryResponse) XXX_Size() int { - return xxx_messageInfo_RunQueryResponse.Size(m) -} -func (m *RunQueryResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RunQueryResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_RunQueryResponse proto.InternalMessageInfo - -func (m *RunQueryResponse) GetTransaction() []byte { - if m != nil { - return m.Transaction - } - return nil -} - -func (m *RunQueryResponse) GetDocument() *Document { - if m != nil { - return m.Document - } - return nil -} - -func (m *RunQueryResponse) GetReadTime() *timestamp.Timestamp { - if m != nil { - return m.ReadTime - } - return nil -} - -func (m *RunQueryResponse) GetSkippedResults() int32 { - if m != nil { - return m.SkippedResults - } - return 0 -} - -// The request for [Firestore.Write][google.firestore.v1.Firestore.Write]. -// -// The first request creates a stream, or resumes an existing one from a token. -// -// When creating a new stream, the server replies with a response containing -// only an ID and a token, to use in the next request. -// -// When resuming a stream, the server first streams any responses later than the -// given token, then a response containing only an up-to-date token, to use in -// the next request. -type WriteRequest struct { - // The database name. In the format: - // `projects/{project_id}/databases/{database_id}`. - // This is only required in the first message. - Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` - // The ID of the write stream to resume. - // This may only be set in the first message. When left empty, a new write - // stream will be created. - StreamId string `protobuf:"bytes,2,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` - // The writes to apply. - // - // Always executed atomically and in order. - // This must be empty on the first request. - // This may be empty on the last request. - // This must not be empty on all other requests. - Writes []*Write `protobuf:"bytes,3,rep,name=writes,proto3" json:"writes,omitempty"` - // A stream token that was previously sent by the server. - // - // The client should set this field to the token from the most recent - // [WriteResponse][google.firestore.v1.WriteResponse] it has received. This acknowledges that the client has - // received responses up to this token. After sending this token, earlier - // tokens may not be used anymore. - // - // The server may close the stream if there are too many unacknowledged - // responses. - // - // Leave this field unset when creating a new stream. To resume a stream at - // a specific point, set this field and the `stream_id` field. - // - // Leave this field unset when creating a new stream. - StreamToken []byte `protobuf:"bytes,4,opt,name=stream_token,json=streamToken,proto3" json:"stream_token,omitempty"` - // Labels associated with this write request. - Labels map[string]string `protobuf:"bytes,5,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 *WriteRequest) Reset() { *m = WriteRequest{} } -func (m *WriteRequest) String() string { return proto.CompactTextString(m) } -func (*WriteRequest) ProtoMessage() {} -func (*WriteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f56aaf8ee76b5544, []int{15} -} - -func (m *WriteRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WriteRequest.Unmarshal(m, b) -} -func (m *WriteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WriteRequest.Marshal(b, m, deterministic) -} -func (m *WriteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WriteRequest.Merge(m, src) -} -func (m *WriteRequest) XXX_Size() int { - return xxx_messageInfo_WriteRequest.Size(m) -} -func (m *WriteRequest) XXX_DiscardUnknown() { - xxx_messageInfo_WriteRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_WriteRequest proto.InternalMessageInfo - -func (m *WriteRequest) GetDatabase() string { - if m != nil { - return m.Database - } - return "" -} - -func (m *WriteRequest) GetStreamId() string { - if m != nil { - return m.StreamId - } - return "" -} - -func (m *WriteRequest) GetWrites() []*Write { - if m != nil { - return m.Writes - } - return nil -} - -func (m *WriteRequest) GetStreamToken() []byte { - if m != nil { - return m.StreamToken - } - return nil -} - -func (m *WriteRequest) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -// The response for [Firestore.Write][google.firestore.v1.Firestore.Write]. -type WriteResponse struct { - // The ID of the stream. - // Only set on the first message, when a new stream was created. - StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` - // A token that represents the position of this response in the stream. - // This can be used by a client to resume the stream at this point. - // - // This field is always set. - StreamToken []byte `protobuf:"bytes,2,opt,name=stream_token,json=streamToken,proto3" json:"stream_token,omitempty"` - // The result of applying the writes. - // - // This i-th write result corresponds to the i-th write in the - // request. - WriteResults []*WriteResult `protobuf:"bytes,3,rep,name=write_results,json=writeResults,proto3" json:"write_results,omitempty"` - // The time at which the commit occurred. - CommitTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=commit_time,json=commitTime,proto3" json:"commit_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f56aaf8ee76b5544, []int{16} -} - -func (m *WriteResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WriteResponse.Unmarshal(m, b) -} -func (m *WriteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WriteResponse.Marshal(b, m, deterministic) -} -func (m *WriteResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_WriteResponse.Merge(m, src) -} -func (m *WriteResponse) XXX_Size() int { - return xxx_messageInfo_WriteResponse.Size(m) -} -func (m *WriteResponse) XXX_DiscardUnknown() { - xxx_messageInfo_WriteResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_WriteResponse proto.InternalMessageInfo - -func (m *WriteResponse) GetStreamId() string { - if m != nil { - return m.StreamId - } - return "" -} - -func (m *WriteResponse) GetStreamToken() []byte { - if m != nil { - return m.StreamToken - } - return nil -} - -func (m *WriteResponse) GetWriteResults() []*WriteResult { - if m != nil { - return m.WriteResults - } - return nil -} - -func (m *WriteResponse) GetCommitTime() *timestamp.Timestamp { - if m != nil { - return m.CommitTime - } - return nil -} - -// A request for [Firestore.Listen][google.firestore.v1.Firestore.Listen] -type ListenRequest struct { - // The database name. In the format: - // `projects/{project_id}/databases/{database_id}`. - Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` - // The supported target changes. - // - // Types that are valid to be assigned to TargetChange: - // *ListenRequest_AddTarget - // *ListenRequest_RemoveTarget - TargetChange isListenRequest_TargetChange `protobuf_oneof:"target_change"` - // Labels associated with this target change. - 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 *ListenRequest) Reset() { *m = ListenRequest{} } -func (m *ListenRequest) String() string { return proto.CompactTextString(m) } -func (*ListenRequest) ProtoMessage() {} -func (*ListenRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f56aaf8ee76b5544, []int{17} -} - -func (m *ListenRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListenRequest.Unmarshal(m, b) -} -func (m *ListenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListenRequest.Marshal(b, m, deterministic) -} -func (m *ListenRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListenRequest.Merge(m, src) -} -func (m *ListenRequest) XXX_Size() int { - return xxx_messageInfo_ListenRequest.Size(m) -} -func (m *ListenRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListenRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListenRequest proto.InternalMessageInfo - -func (m *ListenRequest) GetDatabase() string { - if m != nil { - return m.Database - } - return "" -} - -type isListenRequest_TargetChange interface { - isListenRequest_TargetChange() -} - -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_RemoveTarget) isListenRequest_TargetChange() {} - -func (m *ListenRequest) GetTargetChange() isListenRequest_TargetChange { - if m != nil { - return m.TargetChange - } - return nil -} - -func (m *ListenRequest) GetAddTarget() *Target { - if x, ok := m.GetTargetChange().(*ListenRequest_AddTarget); ok { - return x.AddTarget - } - return nil -} - -func (m *ListenRequest) GetRemoveTarget() int32 { - if x, ok := m.GetTargetChange().(*ListenRequest_RemoveTarget); ok { - return x.RemoveTarget - } - return 0 -} - -func (m *ListenRequest) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ListenRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ListenRequest_AddTarget)(nil), - (*ListenRequest_RemoveTarget)(nil), - } -} - -// The response for [Firestore.Listen][google.firestore.v1.Firestore.Listen]. -type ListenResponse struct { - // The supported responses. - // - // Types that are valid to be assigned to ResponseType: - // *ListenResponse_TargetChange - // *ListenResponse_DocumentChange - // *ListenResponse_DocumentDelete - // *ListenResponse_DocumentRemove - // *ListenResponse_Filter - ResponseType isListenResponse_ResponseType `protobuf_oneof:"response_type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f56aaf8ee76b5544, []int{18} -} - -func (m *ListenResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListenResponse.Unmarshal(m, b) -} -func (m *ListenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListenResponse.Marshal(b, m, deterministic) -} -func (m *ListenResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListenResponse.Merge(m, src) -} -func (m *ListenResponse) XXX_Size() int { - return xxx_messageInfo_ListenResponse.Size(m) -} -func (m *ListenResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListenResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListenResponse proto.InternalMessageInfo - -type isListenResponse_ResponseType interface { - isListenResponse_ResponseType() -} - -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_DocumentChange) isListenResponse_ResponseType() {} - -func (*ListenResponse_DocumentDelete) isListenResponse_ResponseType() {} - -func (*ListenResponse_DocumentRemove) isListenResponse_ResponseType() {} - -func (*ListenResponse_Filter) isListenResponse_ResponseType() {} - -func (m *ListenResponse) GetResponseType() isListenResponse_ResponseType { - if m != nil { - return m.ResponseType - } - return nil -} - -func (m *ListenResponse) GetTargetChange() *TargetChange { - if x, ok := m.GetResponseType().(*ListenResponse_TargetChange); ok { - return x.TargetChange - } - return nil -} - -func (m *ListenResponse) GetDocumentChange() *DocumentChange { - if x, ok := m.GetResponseType().(*ListenResponse_DocumentChange); ok { - return x.DocumentChange - } - return nil -} - -func (m *ListenResponse) GetDocumentDelete() *DocumentDelete { - if x, ok := m.GetResponseType().(*ListenResponse_DocumentDelete); ok { - return x.DocumentDelete - } - return nil -} - -func (m *ListenResponse) GetDocumentRemove() *DocumentRemove { - if x, ok := m.GetResponseType().(*ListenResponse_DocumentRemove); ok { - return x.DocumentRemove - } - return nil -} - -func (m *ListenResponse) GetFilter() *ExistenceFilter { - if x, ok := m.GetResponseType().(*ListenResponse_Filter); ok { - return x.Filter - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ListenResponse) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ListenResponse_TargetChange)(nil), - (*ListenResponse_DocumentChange)(nil), - (*ListenResponse_DocumentDelete)(nil), - (*ListenResponse_DocumentRemove)(nil), - (*ListenResponse_Filter)(nil), - } -} - -// A specification of a set of documents to listen to. -type Target struct { - // The type of target to listen to. - // - // Types that are valid to be assigned to TargetType: - // *Target_Query - // *Target_Documents - TargetType isTarget_TargetType `protobuf_oneof:"target_type"` - // When to start listening. - // - // If not specified, all matching Documents are returned before any - // subsequent changes. - // - // Types that are valid to be assigned to ResumeType: - // *Target_ResumeToken - // *Target_ReadTime - ResumeType isTarget_ResumeType `protobuf_oneof:"resume_type"` - // The target ID that identifies the target on the stream. Must be a positive - // number and non-zero. - TargetId int32 `protobuf:"varint,5,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"` - // If the target should be removed once it is current and consistent. - Once bool `protobuf:"varint,6,opt,name=once,proto3" json:"once,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f56aaf8ee76b5544, []int{19} -} - -func (m *Target) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Target.Unmarshal(m, b) -} -func (m *Target) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Target.Marshal(b, m, deterministic) -} -func (m *Target) XXX_Merge(src proto.Message) { - xxx_messageInfo_Target.Merge(m, src) -} -func (m *Target) XXX_Size() int { - return xxx_messageInfo_Target.Size(m) -} -func (m *Target) XXX_DiscardUnknown() { - xxx_messageInfo_Target.DiscardUnknown(m) -} - -var xxx_messageInfo_Target proto.InternalMessageInfo - -type isTarget_TargetType interface { - isTarget_TargetType() -} - -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"` -} - -func (*Target_Query) isTarget_TargetType() {} - -func (*Target_Documents) isTarget_TargetType() {} - -func (m *Target) GetTargetType() isTarget_TargetType { - if m != nil { - return m.TargetType - } - return nil -} - -func (m *Target) GetQuery() *Target_QueryTarget { - if x, ok := m.GetTargetType().(*Target_Query); ok { - return x.Query - } - return nil -} - -func (m *Target) GetDocuments() *Target_DocumentsTarget { - if x, ok := m.GetTargetType().(*Target_Documents); ok { - return x.Documents - } - 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 - } - return nil -} - -func (m *Target) GetReadTime() *timestamp.Timestamp { - if x, ok := m.GetResumeType().(*Target_ReadTime); ok { - return x.ReadTime - } - return nil -} - -func (m *Target) GetTargetId() int32 { - if m != nil { - return m.TargetId - } - return 0 -} - -func (m *Target) GetOnce() bool { - if m != nil { - return m.Once - } - return false -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Target) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Target_Query)(nil), - (*Target_Documents)(nil), - (*Target_ResumeToken)(nil), - (*Target_ReadTime)(nil), - } -} - -// A target specified by a set of documents names. -type Target_DocumentsTarget struct { - // The names of the documents to retrieve. In the format: - // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. - // The request will fail if any of the document is not a child resource of - // the given `database`. Duplicate names will be elided. - Documents []string `protobuf:"bytes,2,rep,name=documents,proto3" json:"documents,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f56aaf8ee76b5544, []int{19, 0} -} - -func (m *Target_DocumentsTarget) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Target_DocumentsTarget.Unmarshal(m, b) -} -func (m *Target_DocumentsTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Target_DocumentsTarget.Marshal(b, m, deterministic) -} -func (m *Target_DocumentsTarget) XXX_Merge(src proto.Message) { - xxx_messageInfo_Target_DocumentsTarget.Merge(m, src) -} -func (m *Target_DocumentsTarget) XXX_Size() int { - return xxx_messageInfo_Target_DocumentsTarget.Size(m) -} -func (m *Target_DocumentsTarget) XXX_DiscardUnknown() { - xxx_messageInfo_Target_DocumentsTarget.DiscardUnknown(m) -} - -var xxx_messageInfo_Target_DocumentsTarget proto.InternalMessageInfo - -func (m *Target_DocumentsTarget) GetDocuments() []string { - if m != nil { - return m.Documents - } - return nil -} - -// A target specified by a query. -type Target_QueryTarget struct { - // The parent resource name. In the format: - // `projects/{project_id}/databases/{database_id}/documents` or - // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. - // For example: - // `projects/my-project/databases/my-database/documents` or - // `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom` - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The query to run. - // - // Types that are valid to be assigned to QueryType: - // *Target_QueryTarget_StructuredQuery - QueryType isTarget_QueryTarget_QueryType `protobuf_oneof:"query_type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f56aaf8ee76b5544, []int{19, 1} -} - -func (m *Target_QueryTarget) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Target_QueryTarget.Unmarshal(m, b) -} -func (m *Target_QueryTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Target_QueryTarget.Marshal(b, m, deterministic) -} -func (m *Target_QueryTarget) XXX_Merge(src proto.Message) { - xxx_messageInfo_Target_QueryTarget.Merge(m, src) -} -func (m *Target_QueryTarget) XXX_Size() int { - return xxx_messageInfo_Target_QueryTarget.Size(m) -} -func (m *Target_QueryTarget) XXX_DiscardUnknown() { - xxx_messageInfo_Target_QueryTarget.DiscardUnknown(m) -} - -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() -} - -type Target_QueryTarget_StructuredQuery struct { - StructuredQuery *StructuredQuery `protobuf:"bytes,2,opt,name=structured_query,json=structuredQuery,proto3,oneof"` -} - -func (*Target_QueryTarget_StructuredQuery) isTarget_QueryTarget_QueryType() {} - -func (m *Target_QueryTarget) GetQueryType() isTarget_QueryTarget_QueryType { - if m != nil { - return m.QueryType - } - return nil -} - -func (m *Target_QueryTarget) GetStructuredQuery() *StructuredQuery { - if x, ok := m.GetQueryType().(*Target_QueryTarget_StructuredQuery); ok { - return x.StructuredQuery - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Target_QueryTarget) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Target_QueryTarget_StructuredQuery)(nil), - } -} - -// Targets being watched have changed. -type TargetChange struct { - // The type of change that occurred. - TargetChangeType TargetChange_TargetChangeType `protobuf:"varint,1,opt,name=target_change_type,json=targetChangeType,proto3,enum=google.firestore.v1.TargetChange_TargetChangeType" json:"target_change_type,omitempty"` - // The target IDs of targets that have changed. - // - // If empty, the change applies to all targets. - // - // The order of the target IDs is not defined. - TargetIds []int32 `protobuf:"varint,2,rep,packed,name=target_ids,json=targetIds,proto3" json:"target_ids,omitempty"` - // The error that resulted in this change, if applicable. - Cause *status.Status `protobuf:"bytes,3,opt,name=cause,proto3" json:"cause,omitempty"` - // A token that can be used to resume the stream for the given `target_ids`, - // or all targets if `target_ids` is empty. - // - // Not set on every target change. - ResumeToken []byte `protobuf:"bytes,4,opt,name=resume_token,json=resumeToken,proto3" json:"resume_token,omitempty"` - // The consistent `read_time` for the given `target_ids` (omitted when the - // target_ids are not at a consistent snapshot). - // - // The stream is guaranteed to send a `read_time` with `target_ids` empty - // whenever the entire stream reaches a new consistent snapshot. ADD, - // CURRENT, and RESET messages are guaranteed to (eventually) result in a - // new consistent snapshot (while NO_CHANGE and REMOVE messages are not). - // - // For a given stream, `read_time` is guaranteed to be monotonically - // increasing. - ReadTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f56aaf8ee76b5544, []int{20} -} - -func (m *TargetChange) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TargetChange.Unmarshal(m, b) -} -func (m *TargetChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TargetChange.Marshal(b, m, deterministic) -} -func (m *TargetChange) XXX_Merge(src proto.Message) { - xxx_messageInfo_TargetChange.Merge(m, src) -} -func (m *TargetChange) XXX_Size() int { - return xxx_messageInfo_TargetChange.Size(m) -} -func (m *TargetChange) XXX_DiscardUnknown() { - xxx_messageInfo_TargetChange.DiscardUnknown(m) -} - -var xxx_messageInfo_TargetChange proto.InternalMessageInfo - -func (m *TargetChange) GetTargetChangeType() TargetChange_TargetChangeType { - if m != nil { - return m.TargetChangeType - } - return TargetChange_NO_CHANGE -} - -func (m *TargetChange) GetTargetIds() []int32 { - if m != nil { - return m.TargetIds - } - return nil -} - -func (m *TargetChange) GetCause() *status.Status { - if m != nil { - return m.Cause - } - return nil -} - -func (m *TargetChange) GetResumeToken() []byte { - if m != nil { - return m.ResumeToken - } - return nil -} - -func (m *TargetChange) GetReadTime() *timestamp.Timestamp { - if m != nil { - return m.ReadTime - } - return nil -} - -// The request for [Firestore.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds]. -type ListCollectionIdsRequest struct { - // The parent document. In the format: - // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. - // For example: - // `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom` - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The maximum number of results to return. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // A page token. Must be a value from - // [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse]. - 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 *ListCollectionIdsRequest) Reset() { *m = ListCollectionIdsRequest{} } -func (m *ListCollectionIdsRequest) String() string { return proto.CompactTextString(m) } -func (*ListCollectionIdsRequest) ProtoMessage() {} -func (*ListCollectionIdsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f56aaf8ee76b5544, []int{21} -} - -func (m *ListCollectionIdsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCollectionIdsRequest.Unmarshal(m, b) -} -func (m *ListCollectionIdsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCollectionIdsRequest.Marshal(b, m, deterministic) -} -func (m *ListCollectionIdsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCollectionIdsRequest.Merge(m, src) -} -func (m *ListCollectionIdsRequest) XXX_Size() int { - return xxx_messageInfo_ListCollectionIdsRequest.Size(m) -} -func (m *ListCollectionIdsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListCollectionIdsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListCollectionIdsRequest proto.InternalMessageInfo - -func (m *ListCollectionIdsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListCollectionIdsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListCollectionIdsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// The response from [Firestore.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds]. -type ListCollectionIdsResponse struct { - // The collection ids. - CollectionIds []string `protobuf:"bytes,1,rep,name=collection_ids,json=collectionIds,proto3" json:"collection_ids,omitempty"` - // A page token that may be used to continue 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 *ListCollectionIdsResponse) Reset() { *m = ListCollectionIdsResponse{} } -func (m *ListCollectionIdsResponse) String() string { return proto.CompactTextString(m) } -func (*ListCollectionIdsResponse) ProtoMessage() {} -func (*ListCollectionIdsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f56aaf8ee76b5544, []int{22} -} - -func (m *ListCollectionIdsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCollectionIdsResponse.Unmarshal(m, b) -} -func (m *ListCollectionIdsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCollectionIdsResponse.Marshal(b, m, deterministic) -} -func (m *ListCollectionIdsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCollectionIdsResponse.Merge(m, src) -} -func (m *ListCollectionIdsResponse) XXX_Size() int { - return xxx_messageInfo_ListCollectionIdsResponse.Size(m) -} -func (m *ListCollectionIdsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListCollectionIdsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListCollectionIdsResponse proto.InternalMessageInfo - -func (m *ListCollectionIdsResponse) GetCollectionIds() []string { - if m != nil { - return m.CollectionIds - } - return nil -} - -func (m *ListCollectionIdsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -func init() { - proto.RegisterEnum("google.firestore.v1.TargetChange_TargetChangeType", TargetChange_TargetChangeType_name, TargetChange_TargetChangeType_value) - proto.RegisterType((*GetDocumentRequest)(nil), "google.firestore.v1.GetDocumentRequest") - proto.RegisterType((*ListDocumentsRequest)(nil), "google.firestore.v1.ListDocumentsRequest") - proto.RegisterType((*ListDocumentsResponse)(nil), "google.firestore.v1.ListDocumentsResponse") - proto.RegisterType((*CreateDocumentRequest)(nil), "google.firestore.v1.CreateDocumentRequest") - proto.RegisterType((*UpdateDocumentRequest)(nil), "google.firestore.v1.UpdateDocumentRequest") - proto.RegisterType((*DeleteDocumentRequest)(nil), "google.firestore.v1.DeleteDocumentRequest") - proto.RegisterType((*BatchGetDocumentsRequest)(nil), "google.firestore.v1.BatchGetDocumentsRequest") - proto.RegisterType((*BatchGetDocumentsResponse)(nil), "google.firestore.v1.BatchGetDocumentsResponse") - proto.RegisterType((*BeginTransactionRequest)(nil), "google.firestore.v1.BeginTransactionRequest") - proto.RegisterType((*BeginTransactionResponse)(nil), "google.firestore.v1.BeginTransactionResponse") - proto.RegisterType((*CommitRequest)(nil), "google.firestore.v1.CommitRequest") - proto.RegisterType((*CommitResponse)(nil), "google.firestore.v1.CommitResponse") - proto.RegisterType((*RollbackRequest)(nil), "google.firestore.v1.RollbackRequest") - proto.RegisterType((*RunQueryRequest)(nil), "google.firestore.v1.RunQueryRequest") - proto.RegisterType((*RunQueryResponse)(nil), "google.firestore.v1.RunQueryResponse") - proto.RegisterType((*WriteRequest)(nil), "google.firestore.v1.WriteRequest") - proto.RegisterMapType((map[string]string)(nil), "google.firestore.v1.WriteRequest.LabelsEntry") - proto.RegisterType((*WriteResponse)(nil), "google.firestore.v1.WriteResponse") - proto.RegisterType((*ListenRequest)(nil), "google.firestore.v1.ListenRequest") - proto.RegisterMapType((map[string]string)(nil), "google.firestore.v1.ListenRequest.LabelsEntry") - proto.RegisterType((*ListenResponse)(nil), "google.firestore.v1.ListenResponse") - proto.RegisterType((*Target)(nil), "google.firestore.v1.Target") - proto.RegisterType((*Target_DocumentsTarget)(nil), "google.firestore.v1.Target.DocumentsTarget") - proto.RegisterType((*Target_QueryTarget)(nil), "google.firestore.v1.Target.QueryTarget") - proto.RegisterType((*TargetChange)(nil), "google.firestore.v1.TargetChange") - proto.RegisterType((*ListCollectionIdsRequest)(nil), "google.firestore.v1.ListCollectionIdsRequest") - proto.RegisterType((*ListCollectionIdsResponse)(nil), "google.firestore.v1.ListCollectionIdsResponse") -} - -func init() { - proto.RegisterFile("google/firestore/v1/firestore.proto", fileDescriptor_f56aaf8ee76b5544) -} - -var fileDescriptor_f56aaf8ee76b5544 = []byte{ - // 2247 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x59, 0xdd, 0x8f, 0x1b, 0x57, - 0x15, 0xf7, 0x1d, 0x7f, 0xac, 0x7d, 0xfc, 0xb1, 0xee, 0xa5, 0x49, 0x1c, 0xa7, 0x51, 0x37, 0x13, - 0x42, 0x16, 0xd3, 0xd8, 0xc9, 0xa2, 0x40, 0xe2, 0xa4, 0x34, 0xfb, 0xe1, 0xc4, 0xa1, 0xf9, 0xea, - 0xec, 0x36, 0xa0, 0x2a, 0x92, 0x99, 0x9d, 0xb9, 0xeb, 0x9d, 0xae, 0x3d, 0x33, 0x9d, 0x19, 0xef, - 0xc6, 0x2d, 0xfb, 0x00, 0x48, 0xbc, 0x20, 0xe8, 0x03, 0x15, 0x42, 0xea, 0x0b, 0x42, 0x3c, 0x54, - 0xbc, 0x20, 0xf1, 0x86, 0xc4, 0x5f, 0xd0, 0x37, 0xa8, 0xe8, 0x2b, 0x2f, 0x20, 0xfe, 0x08, 0x90, - 0x40, 0x73, 0xef, 0x9d, 0xf1, 0xcc, 0x78, 0xfc, 0xb5, 0x89, 0x78, 0xf3, 0x3d, 0x73, 0xee, 0xb9, - 0xbf, 0xf3, 0x79, 0xcf, 0x3d, 0x86, 0x8b, 0x5d, 0xc3, 0xe8, 0xf6, 0x48, 0x63, 0x4f, 0xb3, 0x88, - 0xed, 0x18, 0x16, 0x69, 0x1c, 0x5e, 0x1b, 0x2d, 0xea, 0xa6, 0x65, 0x38, 0x06, 0xfe, 0x0a, 0x63, - 0xaa, 0x8f, 0xe8, 0x87, 0xd7, 0xaa, 0xaf, 0x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0x7a, 0x37, 0xcd, 0xca, 0x94, 0xf3, 0x28, 0xa3, 0x54, 0x38, 0x1a, 0x2d, 0x6c, 0x7c, 0x0b, 0xf2, - 0x0a, 0x15, 0xcc, 0x5c, 0x2b, 0xcc, 0x74, 0x2d, 0x30, 0x76, 0x97, 0x20, 0x3e, 0x86, 0x65, 0xc9, - 0xe8, 0xf5, 0x76, 0x65, 0xe5, 0x60, 0x1e, 0xdb, 0x44, 0xf4, 0x14, 0xc6, 0xf5, 0xfc, 0x9b, 0x00, - 0xcb, 0xd2, 0x40, 0x7f, 0xc7, 0x6d, 0x27, 0x67, 0xdd, 0x67, 0xef, 0x40, 0xd9, 0x76, 0xac, 0x81, - 0xe2, 0x0c, 0x2c, 0xa2, 0x76, 0x68, 0x07, 0xca, 0xe1, 0x7f, 0x35, 0xd6, 0x06, 0xdb, 0x3e, 0x33, - 0x15, 0xdf, 0x4e, 0x48, 0xcb, 0x76, 0x98, 0x14, 0xad, 0x21, 0x69, 0x5a, 0x43, 0xd0, 0xcc, 0x1a, - 0x92, 0x59, 0xac, 0x86, 0xa0, 0x17, 0xad, 0x21, 0x28, 0x90, 0x5f, 0x05, 0x00, 0xaa, 0x7a, 0xc7, - 0x19, 0x9a, 0x93, 0x2b, 0xca, 0x5f, 0x10, 0x94, 0x47, 0x76, 0x8d, 0x0f, 0xfd, 0x71, 0x77, 0xbc, - 0xc8, 0x05, 0x1b, 0x2a, 0x18, 0xc9, 0xf9, 0x0b, 0x06, 0xbe, 0x0c, 0xcb, 0xf6, 0x81, 0x66, 0x9a, - 0x44, 0xf5, 0x23, 0x3b, 0x45, 0x9b, 0xd0, 0x12, 0x27, 0xf3, 0xc8, 0x15, 0x7f, 0x23, 0x40, 0x81, - 0xc7, 0xf5, 0xec, 0xd0, 0x3b, 0x07, 0x39, 0xdb, 0xb1, 0x88, 0xdc, 0x1f, 0x35, 0x3e, 0x59, 0x46, - 0xb8, 0xaf, 0x06, 0x72, 0x36, 0x39, 0x77, 0xce, 0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, 0xb8, 0x51, 0xf2, - 0xfb, 0xb2, 0x27, 0x6e, 0x4d, 0x78, 0x82, 0xde, 0xbb, 0xcd, 0xd9, 0xba, 0x46, 0x4f, 0xd6, 0xbb, - 0x75, 0xc3, 0xea, 0x36, 0xba, 0x44, 0xa7, 0x15, 0xa3, 0x31, 0x3a, 0x27, 0xf4, 0xbf, 0xf9, 0x2d, - 0x7f, 0xf1, 0x5b, 0x21, 0x75, 0x6f, 0xf3, 0xee, 0xf6, 0xef, 0x85, 0xb3, 0xf7, 0x98, 0x94, 0x4d, - 0x17, 0x74, 0xdd, 0x3f, 0xa4, 0xfe, 0xf4, 0xda, 0xe7, 0xde, 0xb7, 0x67, 0xf4, 0xdb, 0x33, 0xff, - 0xdb, 0xb3, 0xa7, 0xd7, 0x76, 0x33, 0xf4, 0x9c, 0x6f, 0xfe, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x41, - 0x4a, 0xcf, 0xa9, 0x5d, 0x20, 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 - -// FirestoreClient is the client API for Firestore service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type FirestoreClient interface { - // Gets a single document. - GetDocument(ctx context.Context, in *GetDocumentRequest, opts ...grpc.CallOption) (*Document, error) - // Lists documents. - ListDocuments(ctx context.Context, in *ListDocumentsRequest, opts ...grpc.CallOption) (*ListDocumentsResponse, error) - // Creates a new document. - CreateDocument(ctx context.Context, in *CreateDocumentRequest, opts ...grpc.CallOption) (*Document, error) - // Updates or inserts a document. - UpdateDocument(ctx context.Context, in *UpdateDocumentRequest, opts ...grpc.CallOption) (*Document, error) - // Deletes a document. - DeleteDocument(ctx context.Context, in *DeleteDocumentRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Gets multiple documents. - // - // Documents returned by this method are not guaranteed to be returned in the - // same order that they were requested. - BatchGetDocuments(ctx context.Context, in *BatchGetDocumentsRequest, opts ...grpc.CallOption) (Firestore_BatchGetDocumentsClient, error) - // Starts a new transaction. - BeginTransaction(ctx context.Context, in *BeginTransactionRequest, opts ...grpc.CallOption) (*BeginTransactionResponse, error) - // Commits a transaction, while optionally updating documents. - Commit(ctx context.Context, in *CommitRequest, opts ...grpc.CallOption) (*CommitResponse, error) - // Rolls back a transaction. - Rollback(ctx context.Context, in *RollbackRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Runs a query. - RunQuery(ctx context.Context, in *RunQueryRequest, opts ...grpc.CallOption) (Firestore_RunQueryClient, error) - // Streams batches of document updates and deletes, in order. - Write(ctx context.Context, opts ...grpc.CallOption) (Firestore_WriteClient, error) - // Listens to changes. - Listen(ctx context.Context, opts ...grpc.CallOption) (Firestore_ListenClient, error) - // Lists all the collection IDs underneath a document. - ListCollectionIds(ctx context.Context, in *ListCollectionIdsRequest, opts ...grpc.CallOption) (*ListCollectionIdsResponse, error) -} - -type firestoreClient struct { - cc *grpc.ClientConn -} - -func NewFirestoreClient(cc *grpc.ClientConn) FirestoreClient { - return &firestoreClient{cc} -} - -func (c *firestoreClient) GetDocument(ctx context.Context, in *GetDocumentRequest, opts ...grpc.CallOption) (*Document, error) { - out := new(Document) - err := c.cc.Invoke(ctx, "/google.firestore.v1.Firestore/GetDocument", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firestoreClient) ListDocuments(ctx context.Context, in *ListDocumentsRequest, opts ...grpc.CallOption) (*ListDocumentsResponse, error) { - out := new(ListDocumentsResponse) - err := c.cc.Invoke(ctx, "/google.firestore.v1.Firestore/ListDocuments", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firestoreClient) CreateDocument(ctx context.Context, in *CreateDocumentRequest, opts ...grpc.CallOption) (*Document, error) { - out := new(Document) - err := c.cc.Invoke(ctx, "/google.firestore.v1.Firestore/CreateDocument", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firestoreClient) UpdateDocument(ctx context.Context, in *UpdateDocumentRequest, opts ...grpc.CallOption) (*Document, error) { - out := new(Document) - err := c.cc.Invoke(ctx, "/google.firestore.v1.Firestore/UpdateDocument", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firestoreClient) DeleteDocument(ctx context.Context, in *DeleteDocumentRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.firestore.v1.Firestore/DeleteDocument", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firestoreClient) BatchGetDocuments(ctx context.Context, in *BatchGetDocumentsRequest, opts ...grpc.CallOption) (Firestore_BatchGetDocumentsClient, error) { - stream, err := c.cc.NewStream(ctx, &_Firestore_serviceDesc.Streams[0], "/google.firestore.v1.Firestore/BatchGetDocuments", opts...) - if err != nil { - return nil, err - } - x := &firestoreBatchGetDocumentsClient{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 Firestore_BatchGetDocumentsClient interface { - Recv() (*BatchGetDocumentsResponse, error) - grpc.ClientStream -} - -type firestoreBatchGetDocumentsClient struct { - grpc.ClientStream -} - -func (x *firestoreBatchGetDocumentsClient) Recv() (*BatchGetDocumentsResponse, error) { - m := new(BatchGetDocumentsResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *firestoreClient) BeginTransaction(ctx context.Context, in *BeginTransactionRequest, opts ...grpc.CallOption) (*BeginTransactionResponse, error) { - out := new(BeginTransactionResponse) - err := c.cc.Invoke(ctx, "/google.firestore.v1.Firestore/BeginTransaction", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firestoreClient) Commit(ctx context.Context, in *CommitRequest, opts ...grpc.CallOption) (*CommitResponse, error) { - out := new(CommitResponse) - err := c.cc.Invoke(ctx, "/google.firestore.v1.Firestore/Commit", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firestoreClient) Rollback(ctx context.Context, in *RollbackRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.firestore.v1.Firestore/Rollback", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firestoreClient) RunQuery(ctx context.Context, in *RunQueryRequest, opts ...grpc.CallOption) (Firestore_RunQueryClient, error) { - stream, err := c.cc.NewStream(ctx, &_Firestore_serviceDesc.Streams[1], "/google.firestore.v1.Firestore/RunQuery", opts...) - if err != nil { - return nil, err - } - x := &firestoreRunQueryClient{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 Firestore_RunQueryClient interface { - Recv() (*RunQueryResponse, error) - grpc.ClientStream -} - -type firestoreRunQueryClient struct { - grpc.ClientStream -} - -func (x *firestoreRunQueryClient) Recv() (*RunQueryResponse, error) { - m := new(RunQueryResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *firestoreClient) Write(ctx context.Context, opts ...grpc.CallOption) (Firestore_WriteClient, error) { - stream, err := c.cc.NewStream(ctx, &_Firestore_serviceDesc.Streams[2], "/google.firestore.v1.Firestore/Write", opts...) - if err != nil { - return nil, err - } - x := &firestoreWriteClient{stream} - return x, nil -} - -type Firestore_WriteClient interface { - Send(*WriteRequest) error - Recv() (*WriteResponse, error) - grpc.ClientStream -} - -type firestoreWriteClient struct { - grpc.ClientStream -} - -func (x *firestoreWriteClient) Send(m *WriteRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *firestoreWriteClient) Recv() (*WriteResponse, error) { - m := new(WriteResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *firestoreClient) Listen(ctx context.Context, opts ...grpc.CallOption) (Firestore_ListenClient, error) { - stream, err := c.cc.NewStream(ctx, &_Firestore_serviceDesc.Streams[3], "/google.firestore.v1.Firestore/Listen", opts...) - if err != nil { - return nil, err - } - x := &firestoreListenClient{stream} - return x, nil -} - -type Firestore_ListenClient interface { - Send(*ListenRequest) error - Recv() (*ListenResponse, error) - grpc.ClientStream -} - -type firestoreListenClient struct { - grpc.ClientStream -} - -func (x *firestoreListenClient) Send(m *ListenRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *firestoreListenClient) Recv() (*ListenResponse, error) { - m := new(ListenResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *firestoreClient) ListCollectionIds(ctx context.Context, in *ListCollectionIdsRequest, opts ...grpc.CallOption) (*ListCollectionIdsResponse, error) { - out := new(ListCollectionIdsResponse) - err := c.cc.Invoke(ctx, "/google.firestore.v1.Firestore/ListCollectionIds", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// FirestoreServer is the server API for Firestore service. -type FirestoreServer interface { - // Gets a single document. - GetDocument(context.Context, *GetDocumentRequest) (*Document, error) - // Lists documents. - ListDocuments(context.Context, *ListDocumentsRequest) (*ListDocumentsResponse, error) - // Creates a new document. - CreateDocument(context.Context, *CreateDocumentRequest) (*Document, error) - // Updates or inserts a document. - UpdateDocument(context.Context, *UpdateDocumentRequest) (*Document, error) - // Deletes a document. - DeleteDocument(context.Context, *DeleteDocumentRequest) (*empty.Empty, error) - // Gets multiple documents. - // - // Documents returned by this method are not guaranteed to be returned in the - // same order that they were requested. - BatchGetDocuments(*BatchGetDocumentsRequest, Firestore_BatchGetDocumentsServer) error - // Starts a new transaction. - BeginTransaction(context.Context, *BeginTransactionRequest) (*BeginTransactionResponse, error) - // Commits a transaction, while optionally updating documents. - Commit(context.Context, *CommitRequest) (*CommitResponse, error) - // Rolls back a transaction. - Rollback(context.Context, *RollbackRequest) (*empty.Empty, error) - // Runs a query. - RunQuery(*RunQueryRequest, Firestore_RunQueryServer) error - // Streams batches of document updates and deletes, in order. - Write(Firestore_WriteServer) error - // Listens to changes. - Listen(Firestore_ListenServer) error - // Lists all the collection IDs underneath a document. - ListCollectionIds(context.Context, *ListCollectionIdsRequest) (*ListCollectionIdsResponse, error) -} - -// UnimplementedFirestoreServer can be embedded to have forward compatible implementations. -type UnimplementedFirestoreServer struct { -} - -func (*UnimplementedFirestoreServer) GetDocument(ctx context.Context, req *GetDocumentRequest) (*Document, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetDocument not implemented") -} -func (*UnimplementedFirestoreServer) ListDocuments(ctx context.Context, req *ListDocumentsRequest) (*ListDocumentsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListDocuments not implemented") -} -func (*UnimplementedFirestoreServer) CreateDocument(ctx context.Context, req *CreateDocumentRequest) (*Document, error) { - return nil, status1.Errorf(codes.Unimplemented, "method CreateDocument not implemented") -} -func (*UnimplementedFirestoreServer) UpdateDocument(ctx context.Context, req *UpdateDocumentRequest) (*Document, error) { - return nil, status1.Errorf(codes.Unimplemented, "method UpdateDocument not implemented") -} -func (*UnimplementedFirestoreServer) DeleteDocument(ctx context.Context, req *DeleteDocumentRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method DeleteDocument not implemented") -} -func (*UnimplementedFirestoreServer) BatchGetDocuments(req *BatchGetDocumentsRequest, srv Firestore_BatchGetDocumentsServer) error { - return status1.Errorf(codes.Unimplemented, "method BatchGetDocuments not implemented") -} -func (*UnimplementedFirestoreServer) BeginTransaction(ctx context.Context, req *BeginTransactionRequest) (*BeginTransactionResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method BeginTransaction not implemented") -} -func (*UnimplementedFirestoreServer) Commit(ctx context.Context, req *CommitRequest) (*CommitResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method Commit not implemented") -} -func (*UnimplementedFirestoreServer) Rollback(ctx context.Context, req *RollbackRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method Rollback not implemented") -} -func (*UnimplementedFirestoreServer) RunQuery(req *RunQueryRequest, srv Firestore_RunQueryServer) error { - return status1.Errorf(codes.Unimplemented, "method RunQuery not implemented") -} -func (*UnimplementedFirestoreServer) Write(srv Firestore_WriteServer) error { - return status1.Errorf(codes.Unimplemented, "method Write not implemented") -} -func (*UnimplementedFirestoreServer) Listen(srv Firestore_ListenServer) error { - return status1.Errorf(codes.Unimplemented, "method Listen not implemented") -} -func (*UnimplementedFirestoreServer) ListCollectionIds(ctx context.Context, req *ListCollectionIdsRequest) (*ListCollectionIdsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListCollectionIds not implemented") -} - -func RegisterFirestoreServer(s *grpc.Server, srv FirestoreServer) { - s.RegisterService(&_Firestore_serviceDesc, srv) -} - -func _Firestore_GetDocument_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDocumentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirestoreServer).GetDocument(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.firestore.v1.Firestore/GetDocument", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirestoreServer).GetDocument(ctx, req.(*GetDocumentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Firestore_ListDocuments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListDocumentsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirestoreServer).ListDocuments(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.firestore.v1.Firestore/ListDocuments", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirestoreServer).ListDocuments(ctx, req.(*ListDocumentsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Firestore_CreateDocument_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateDocumentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirestoreServer).CreateDocument(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.firestore.v1.Firestore/CreateDocument", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirestoreServer).CreateDocument(ctx, req.(*CreateDocumentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Firestore_UpdateDocument_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateDocumentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirestoreServer).UpdateDocument(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.firestore.v1.Firestore/UpdateDocument", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirestoreServer).UpdateDocument(ctx, req.(*UpdateDocumentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Firestore_DeleteDocument_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteDocumentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirestoreServer).DeleteDocument(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.firestore.v1.Firestore/DeleteDocument", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirestoreServer).DeleteDocument(ctx, req.(*DeleteDocumentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Firestore_BatchGetDocuments_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(BatchGetDocumentsRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(FirestoreServer).BatchGetDocuments(m, &firestoreBatchGetDocumentsServer{stream}) -} - -type Firestore_BatchGetDocumentsServer interface { - Send(*BatchGetDocumentsResponse) error - grpc.ServerStream -} - -type firestoreBatchGetDocumentsServer struct { - grpc.ServerStream -} - -func (x *firestoreBatchGetDocumentsServer) Send(m *BatchGetDocumentsResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _Firestore_BeginTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BeginTransactionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirestoreServer).BeginTransaction(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.firestore.v1.Firestore/BeginTransaction", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirestoreServer).BeginTransaction(ctx, req.(*BeginTransactionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Firestore_Commit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CommitRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirestoreServer).Commit(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.firestore.v1.Firestore/Commit", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirestoreServer).Commit(ctx, req.(*CommitRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Firestore_Rollback_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RollbackRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirestoreServer).Rollback(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.firestore.v1.Firestore/Rollback", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirestoreServer).Rollback(ctx, req.(*RollbackRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Firestore_RunQuery_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(RunQueryRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(FirestoreServer).RunQuery(m, &firestoreRunQueryServer{stream}) -} - -type Firestore_RunQueryServer interface { - Send(*RunQueryResponse) error - grpc.ServerStream -} - -type firestoreRunQueryServer struct { - grpc.ServerStream -} - -func (x *firestoreRunQueryServer) Send(m *RunQueryResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _Firestore_Write_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(FirestoreServer).Write(&firestoreWriteServer{stream}) -} - -type Firestore_WriteServer interface { - Send(*WriteResponse) error - Recv() (*WriteRequest, error) - grpc.ServerStream -} - -type firestoreWriteServer struct { - grpc.ServerStream -} - -func (x *firestoreWriteServer) Send(m *WriteResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *firestoreWriteServer) Recv() (*WriteRequest, error) { - m := new(WriteRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _Firestore_Listen_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(FirestoreServer).Listen(&firestoreListenServer{stream}) -} - -type Firestore_ListenServer interface { - Send(*ListenResponse) error - Recv() (*ListenRequest, error) - grpc.ServerStream -} - -type firestoreListenServer struct { - grpc.ServerStream -} - -func (x *firestoreListenServer) Send(m *ListenResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *firestoreListenServer) Recv() (*ListenRequest, error) { - m := new(ListenRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _Firestore_ListCollectionIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListCollectionIdsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirestoreServer).ListCollectionIds(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.firestore.v1.Firestore/ListCollectionIds", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirestoreServer).ListCollectionIds(ctx, req.(*ListCollectionIdsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Firestore_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.firestore.v1.Firestore", - HandlerType: (*FirestoreServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetDocument", - Handler: _Firestore_GetDocument_Handler, - }, - { - MethodName: "ListDocuments", - Handler: _Firestore_ListDocuments_Handler, - }, - { - MethodName: "CreateDocument", - Handler: _Firestore_CreateDocument_Handler, - }, - { - MethodName: "UpdateDocument", - Handler: _Firestore_UpdateDocument_Handler, - }, - { - MethodName: "DeleteDocument", - Handler: _Firestore_DeleteDocument_Handler, - }, - { - MethodName: "BeginTransaction", - Handler: _Firestore_BeginTransaction_Handler, - }, - { - MethodName: "Commit", - Handler: _Firestore_Commit_Handler, - }, - { - MethodName: "Rollback", - Handler: _Firestore_Rollback_Handler, - }, - { - MethodName: "ListCollectionIds", - Handler: _Firestore_ListCollectionIds_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "BatchGetDocuments", - Handler: _Firestore_BatchGetDocuments_Handler, - ServerStreams: true, - }, - { - StreamName: "RunQuery", - Handler: _Firestore_RunQuery_Handler, - ServerStreams: true, - }, - { - StreamName: "Write", - Handler: _Firestore_Write_Handler, - ServerStreams: true, - ClientStreams: true, - }, - { - StreamName: "Listen", - Handler: _Firestore_Listen_Handler, - ServerStreams: true, - ClientStreams: true, - }, - }, - Metadata: "google/firestore/v1/firestore.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/firestore/v1/query.pb.go b/vendor/google.golang.org/genproto/googleapis/firestore/v1/query.pb.go deleted file mode 100644 index 78fe9a74..00000000 --- a/vendor/google.golang.org/genproto/googleapis/firestore/v1/query.pb.go +++ /dev/null @@ -1,902 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/firestore/v1/query.proto - -package firestore - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A sort direction. -type StructuredQuery_Direction int32 - -const ( - // Unspecified. - StructuredQuery_DIRECTION_UNSPECIFIED StructuredQuery_Direction = 0 - // Ascending. - StructuredQuery_ASCENDING StructuredQuery_Direction = 1 - // Descending. - StructuredQuery_DESCENDING StructuredQuery_Direction = 2 -) - -var StructuredQuery_Direction_name = map[int32]string{ - 0: "DIRECTION_UNSPECIFIED", - 1: "ASCENDING", - 2: "DESCENDING", -} - -var StructuredQuery_Direction_value = map[string]int32{ - "DIRECTION_UNSPECIFIED": 0, - "ASCENDING": 1, - "DESCENDING": 2, -} - -func (x StructuredQuery_Direction) String() string { - return proto.EnumName(StructuredQuery_Direction_name, int32(x)) -} - -func (StructuredQuery_Direction) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_45ff6dfb507a4c5e, []int{0, 0} -} - -// A composite filter operator. -type StructuredQuery_CompositeFilter_Operator int32 - -const ( - // Unspecified. This value must not be used. - StructuredQuery_CompositeFilter_OPERATOR_UNSPECIFIED StructuredQuery_CompositeFilter_Operator = 0 - // The results are required to satisfy each of the combined filters. - StructuredQuery_CompositeFilter_AND StructuredQuery_CompositeFilter_Operator = 1 -) - -var StructuredQuery_CompositeFilter_Operator_name = map[int32]string{ - 0: "OPERATOR_UNSPECIFIED", - 1: "AND", -} - -var StructuredQuery_CompositeFilter_Operator_value = map[string]int32{ - "OPERATOR_UNSPECIFIED": 0, - "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_45ff6dfb507a4c5e, []int{0, 2, 0} -} - -// A field filter operator. -type StructuredQuery_FieldFilter_Operator int32 - -const ( - // Unspecified. This value must not be used. - StructuredQuery_FieldFilter_OPERATOR_UNSPECIFIED StructuredQuery_FieldFilter_Operator = 0 - // Less than. Requires that the field come first in `order_by`. - StructuredQuery_FieldFilter_LESS_THAN StructuredQuery_FieldFilter_Operator = 1 - // Less than or equal. Requires that the field come first in `order_by`. - StructuredQuery_FieldFilter_LESS_THAN_OR_EQUAL StructuredQuery_FieldFilter_Operator = 2 - // Greater than. Requires that the field come first in `order_by`. - StructuredQuery_FieldFilter_GREATER_THAN StructuredQuery_FieldFilter_Operator = 3 - // Greater than or equal. Requires that the field come first in - // `order_by`. - 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{ - 0: "OPERATOR_UNSPECIFIED", - 1: "LESS_THAN", - 2: "LESS_THAN_OR_EQUAL", - 3: "GREATER_THAN", - 4: "GREATER_THAN_OR_EQUAL", - 5: "EQUAL", - 7: "ARRAY_CONTAINS", -} - -var StructuredQuery_FieldFilter_Operator_value = map[string]int32{ - "OPERATOR_UNSPECIFIED": 0, - "LESS_THAN": 1, - "LESS_THAN_OR_EQUAL": 2, - "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_45ff6dfb507a4c5e, []int{0, 3, 0} -} - -// A unary operator. -type StructuredQuery_UnaryFilter_Operator int32 - -const ( - // Unspecified. This value must not be used. - StructuredQuery_UnaryFilter_OPERATOR_UNSPECIFIED StructuredQuery_UnaryFilter_Operator = 0 - // Test if a field is equal to NaN. - StructuredQuery_UnaryFilter_IS_NAN StructuredQuery_UnaryFilter_Operator = 2 - // Test if an expression evaluates to Null. - StructuredQuery_UnaryFilter_IS_NULL StructuredQuery_UnaryFilter_Operator = 3 -) - -var StructuredQuery_UnaryFilter_Operator_name = map[int32]string{ - 0: "OPERATOR_UNSPECIFIED", - 2: "IS_NAN", - 3: "IS_NULL", -} - -var StructuredQuery_UnaryFilter_Operator_value = map[string]int32{ - "OPERATOR_UNSPECIFIED": 0, - "IS_NAN": 2, - "IS_NULL": 3, -} - -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_45ff6dfb507a4c5e, []int{0, 4, 0} -} - -// A Firestore query. -type StructuredQuery struct { - // The projection to return. - Select *StructuredQuery_Projection `protobuf:"bytes,1,opt,name=select,proto3" json:"select,omitempty"` - // The collections to query. - From []*StructuredQuery_CollectionSelector `protobuf:"bytes,2,rep,name=from,proto3" json:"from,omitempty"` - // The filter to apply. - Where *StructuredQuery_Filter `protobuf:"bytes,3,opt,name=where,proto3" json:"where,omitempty"` - // The order to apply to the query results. - // - // Firestore guarantees a stable ordering through the following rules: - // - // * Any field required to appear in `order_by`, that is not already - // specified in `order_by`, is appended to the order in field name order - // by default. - // * If an order on `__name__` is not specified, it is appended by default. - // - // Fields are appended with the same sort direction as the last order - // specified, or 'ASCENDING' if no order was specified. For example: - // - // * `SELECT * FROM Foo ORDER BY A` becomes - // `SELECT * FROM Foo ORDER BY A, __name__` - // * `SELECT * FROM Foo ORDER BY A DESC` becomes - // `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC` - // * `SELECT * FROM Foo WHERE A > 1` becomes - // `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__` - OrderBy []*StructuredQuery_Order `protobuf:"bytes,4,rep,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` - // A starting point for the query results. - StartAt *Cursor `protobuf:"bytes,7,opt,name=start_at,json=startAt,proto3" json:"start_at,omitempty"` - // A end point for the query results. - EndAt *Cursor `protobuf:"bytes,8,opt,name=end_at,json=endAt,proto3" json:"end_at,omitempty"` - // The number of results to skip. - // - // Applies before limit, but after all other constraints. Must be >= 0 if - // specified. - Offset int32 `protobuf:"varint,6,opt,name=offset,proto3" json:"offset,omitempty"` - // The maximum number of results to return. - // - // Applies after all other constraints. - // Must be >= 0 if specified. - Limit *wrappers.Int32Value `protobuf:"bytes,5,opt,name=limit,proto3" json:"limit,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_45ff6dfb507a4c5e, []int{0} -} - -func (m *StructuredQuery) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StructuredQuery.Unmarshal(m, b) -} -func (m *StructuredQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StructuredQuery.Marshal(b, m, deterministic) -} -func (m *StructuredQuery) XXX_Merge(src proto.Message) { - xxx_messageInfo_StructuredQuery.Merge(m, src) -} -func (m *StructuredQuery) XXX_Size() int { - return xxx_messageInfo_StructuredQuery.Size(m) -} -func (m *StructuredQuery) XXX_DiscardUnknown() { - xxx_messageInfo_StructuredQuery.DiscardUnknown(m) -} - -var xxx_messageInfo_StructuredQuery proto.InternalMessageInfo - -func (m *StructuredQuery) GetSelect() *StructuredQuery_Projection { - if m != nil { - return m.Select - } - return nil -} - -func (m *StructuredQuery) GetFrom() []*StructuredQuery_CollectionSelector { - if m != nil { - return m.From - } - return nil -} - -func (m *StructuredQuery) GetWhere() *StructuredQuery_Filter { - if m != nil { - return m.Where - } - return nil -} - -func (m *StructuredQuery) GetOrderBy() []*StructuredQuery_Order { - if m != nil { - return m.OrderBy - } - return nil -} - -func (m *StructuredQuery) GetStartAt() *Cursor { - if m != nil { - return m.StartAt - } - return nil -} - -func (m *StructuredQuery) GetEndAt() *Cursor { - if m != nil { - return m.EndAt - } - return nil -} - -func (m *StructuredQuery) GetOffset() int32 { - if m != nil { - return m.Offset - } - return 0 -} - -func (m *StructuredQuery) GetLimit() *wrappers.Int32Value { - if m != nil { - return m.Limit - } - return nil -} - -// A selection of a collection, such as `messages as m1`. -type StructuredQuery_CollectionSelector struct { - // The collection ID. - // When set, selects only collections with this ID. - CollectionId string `protobuf:"bytes,2,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` - // When false, selects only collections that are immediate children of - // the `parent` specified in the containing `RunQueryRequest`. - // When true, selects all descendant collections. - AllDescendants bool `protobuf:"varint,3,opt,name=all_descendants,json=allDescendants,proto3" json:"all_descendants,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StructuredQuery_CollectionSelector) Reset() { *m = StructuredQuery_CollectionSelector{} } -func (m *StructuredQuery_CollectionSelector) String() string { return proto.CompactTextString(m) } -func (*StructuredQuery_CollectionSelector) ProtoMessage() {} -func (*StructuredQuery_CollectionSelector) Descriptor() ([]byte, []int) { - return fileDescriptor_45ff6dfb507a4c5e, []int{0, 0} -} - -func (m *StructuredQuery_CollectionSelector) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StructuredQuery_CollectionSelector.Unmarshal(m, b) -} -func (m *StructuredQuery_CollectionSelector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StructuredQuery_CollectionSelector.Marshal(b, m, deterministic) -} -func (m *StructuredQuery_CollectionSelector) XXX_Merge(src proto.Message) { - xxx_messageInfo_StructuredQuery_CollectionSelector.Merge(m, src) -} -func (m *StructuredQuery_CollectionSelector) XXX_Size() int { - return xxx_messageInfo_StructuredQuery_CollectionSelector.Size(m) -} -func (m *StructuredQuery_CollectionSelector) XXX_DiscardUnknown() { - xxx_messageInfo_StructuredQuery_CollectionSelector.DiscardUnknown(m) -} - -var xxx_messageInfo_StructuredQuery_CollectionSelector proto.InternalMessageInfo - -func (m *StructuredQuery_CollectionSelector) GetCollectionId() string { - if m != nil { - return m.CollectionId - } - return "" -} - -func (m *StructuredQuery_CollectionSelector) GetAllDescendants() bool { - if m != nil { - return m.AllDescendants - } - return false -} - -// A filter. -type StructuredQuery_Filter struct { - // The type of filter. - // - // Types that are valid to be assigned to FilterType: - // *StructuredQuery_Filter_CompositeFilter - // *StructuredQuery_Filter_FieldFilter - // *StructuredQuery_Filter_UnaryFilter - FilterType isStructuredQuery_Filter_FilterType `protobuf_oneof:"filter_type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_45ff6dfb507a4c5e, []int{0, 1} -} - -func (m *StructuredQuery_Filter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StructuredQuery_Filter.Unmarshal(m, b) -} -func (m *StructuredQuery_Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StructuredQuery_Filter.Marshal(b, m, deterministic) -} -func (m *StructuredQuery_Filter) XXX_Merge(src proto.Message) { - xxx_messageInfo_StructuredQuery_Filter.Merge(m, src) -} -func (m *StructuredQuery_Filter) XXX_Size() int { - return xxx_messageInfo_StructuredQuery_Filter.Size(m) -} -func (m *StructuredQuery_Filter) XXX_DiscardUnknown() { - xxx_messageInfo_StructuredQuery_Filter.DiscardUnknown(m) -} - -var xxx_messageInfo_StructuredQuery_Filter proto.InternalMessageInfo - -type isStructuredQuery_Filter_FilterType interface { - isStructuredQuery_Filter_FilterType() -} - -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 (m *StructuredQuery_Filter) GetFilterType() isStructuredQuery_Filter_FilterType { - if m != nil { - return m.FilterType - } - return nil -} - -func (m *StructuredQuery_Filter) GetCompositeFilter() *StructuredQuery_CompositeFilter { - if x, ok := m.GetFilterType().(*StructuredQuery_Filter_CompositeFilter); ok { - return x.CompositeFilter - } - return nil -} - -func (m *StructuredQuery_Filter) GetFieldFilter() *StructuredQuery_FieldFilter { - if x, ok := m.GetFilterType().(*StructuredQuery_Filter_FieldFilter); ok { - return x.FieldFilter - } - return nil -} - -func (m *StructuredQuery_Filter) GetUnaryFilter() *StructuredQuery_UnaryFilter { - if x, ok := m.GetFilterType().(*StructuredQuery_Filter_UnaryFilter); ok { - return x.UnaryFilter - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*StructuredQuery_Filter) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*StructuredQuery_Filter_CompositeFilter)(nil), - (*StructuredQuery_Filter_FieldFilter)(nil), - (*StructuredQuery_Filter_UnaryFilter)(nil), - } -} - -// A filter that merges multiple other filters using the given operator. -type StructuredQuery_CompositeFilter struct { - // The operator for combining multiple filters. - Op StructuredQuery_CompositeFilter_Operator `protobuf:"varint,1,opt,name=op,proto3,enum=google.firestore.v1.StructuredQuery_CompositeFilter_Operator" json:"op,omitempty"` - // The list of filters to combine. - // Must contain at least one filter. - Filters []*StructuredQuery_Filter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StructuredQuery_CompositeFilter) Reset() { *m = StructuredQuery_CompositeFilter{} } -func (m *StructuredQuery_CompositeFilter) String() string { return proto.CompactTextString(m) } -func (*StructuredQuery_CompositeFilter) ProtoMessage() {} -func (*StructuredQuery_CompositeFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_45ff6dfb507a4c5e, []int{0, 2} -} - -func (m *StructuredQuery_CompositeFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StructuredQuery_CompositeFilter.Unmarshal(m, b) -} -func (m *StructuredQuery_CompositeFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StructuredQuery_CompositeFilter.Marshal(b, m, deterministic) -} -func (m *StructuredQuery_CompositeFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_StructuredQuery_CompositeFilter.Merge(m, src) -} -func (m *StructuredQuery_CompositeFilter) XXX_Size() int { - return xxx_messageInfo_StructuredQuery_CompositeFilter.Size(m) -} -func (m *StructuredQuery_CompositeFilter) XXX_DiscardUnknown() { - xxx_messageInfo_StructuredQuery_CompositeFilter.DiscardUnknown(m) -} - -var xxx_messageInfo_StructuredQuery_CompositeFilter proto.InternalMessageInfo - -func (m *StructuredQuery_CompositeFilter) GetOp() StructuredQuery_CompositeFilter_Operator { - if m != nil { - return m.Op - } - return StructuredQuery_CompositeFilter_OPERATOR_UNSPECIFIED -} - -func (m *StructuredQuery_CompositeFilter) GetFilters() []*StructuredQuery_Filter { - if m != nil { - return m.Filters - } - return nil -} - -// A filter on a specific field. -type StructuredQuery_FieldFilter struct { - // The field to filter by. - Field *StructuredQuery_FieldReference `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` - // The operator to filter by. - Op StructuredQuery_FieldFilter_Operator `protobuf:"varint,2,opt,name=op,proto3,enum=google.firestore.v1.StructuredQuery_FieldFilter_Operator" json:"op,omitempty"` - // The value to compare to. - Value *Value `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StructuredQuery_FieldFilter) Reset() { *m = StructuredQuery_FieldFilter{} } -func (m *StructuredQuery_FieldFilter) String() string { return proto.CompactTextString(m) } -func (*StructuredQuery_FieldFilter) ProtoMessage() {} -func (*StructuredQuery_FieldFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_45ff6dfb507a4c5e, []int{0, 3} -} - -func (m *StructuredQuery_FieldFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StructuredQuery_FieldFilter.Unmarshal(m, b) -} -func (m *StructuredQuery_FieldFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StructuredQuery_FieldFilter.Marshal(b, m, deterministic) -} -func (m *StructuredQuery_FieldFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_StructuredQuery_FieldFilter.Merge(m, src) -} -func (m *StructuredQuery_FieldFilter) XXX_Size() int { - return xxx_messageInfo_StructuredQuery_FieldFilter.Size(m) -} -func (m *StructuredQuery_FieldFilter) XXX_DiscardUnknown() { - xxx_messageInfo_StructuredQuery_FieldFilter.DiscardUnknown(m) -} - -var xxx_messageInfo_StructuredQuery_FieldFilter proto.InternalMessageInfo - -func (m *StructuredQuery_FieldFilter) GetField() *StructuredQuery_FieldReference { - if m != nil { - return m.Field - } - return nil -} - -func (m *StructuredQuery_FieldFilter) GetOp() StructuredQuery_FieldFilter_Operator { - if m != nil { - return m.Op - } - return StructuredQuery_FieldFilter_OPERATOR_UNSPECIFIED -} - -func (m *StructuredQuery_FieldFilter) GetValue() *Value { - if m != nil { - return m.Value - } - return nil -} - -// A filter with a single operand. -type StructuredQuery_UnaryFilter struct { - // The unary operator to apply. - Op StructuredQuery_UnaryFilter_Operator `protobuf:"varint,1,opt,name=op,proto3,enum=google.firestore.v1.StructuredQuery_UnaryFilter_Operator" json:"op,omitempty"` - // The argument to the filter. - // - // Types that are valid to be assigned to OperandType: - // *StructuredQuery_UnaryFilter_Field - OperandType isStructuredQuery_UnaryFilter_OperandType `protobuf_oneof:"operand_type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StructuredQuery_UnaryFilter) Reset() { *m = StructuredQuery_UnaryFilter{} } -func (m *StructuredQuery_UnaryFilter) String() string { return proto.CompactTextString(m) } -func (*StructuredQuery_UnaryFilter) ProtoMessage() {} -func (*StructuredQuery_UnaryFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_45ff6dfb507a4c5e, []int{0, 4} -} - -func (m *StructuredQuery_UnaryFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StructuredQuery_UnaryFilter.Unmarshal(m, b) -} -func (m *StructuredQuery_UnaryFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StructuredQuery_UnaryFilter.Marshal(b, m, deterministic) -} -func (m *StructuredQuery_UnaryFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_StructuredQuery_UnaryFilter.Merge(m, src) -} -func (m *StructuredQuery_UnaryFilter) XXX_Size() int { - return xxx_messageInfo_StructuredQuery_UnaryFilter.Size(m) -} -func (m *StructuredQuery_UnaryFilter) XXX_DiscardUnknown() { - xxx_messageInfo_StructuredQuery_UnaryFilter.DiscardUnknown(m) -} - -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() -} - -type StructuredQuery_UnaryFilter_Field struct { - Field *StructuredQuery_FieldReference `protobuf:"bytes,2,opt,name=field,proto3,oneof"` -} - -func (*StructuredQuery_UnaryFilter_Field) isStructuredQuery_UnaryFilter_OperandType() {} - -func (m *StructuredQuery_UnaryFilter) GetOperandType() isStructuredQuery_UnaryFilter_OperandType { - if m != nil { - return m.OperandType - } - return nil -} - -func (m *StructuredQuery_UnaryFilter) GetField() *StructuredQuery_FieldReference { - if x, ok := m.GetOperandType().(*StructuredQuery_UnaryFilter_Field); ok { - return x.Field - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*StructuredQuery_UnaryFilter) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*StructuredQuery_UnaryFilter_Field)(nil), - } -} - -// An order on a field. -type StructuredQuery_Order struct { - // The field to order by. - Field *StructuredQuery_FieldReference `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` - // The direction to order by. Defaults to `ASCENDING`. - Direction StructuredQuery_Direction `protobuf:"varint,2,opt,name=direction,proto3,enum=google.firestore.v1.StructuredQuery_Direction" json:"direction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_45ff6dfb507a4c5e, []int{0, 5} -} - -func (m *StructuredQuery_Order) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StructuredQuery_Order.Unmarshal(m, b) -} -func (m *StructuredQuery_Order) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StructuredQuery_Order.Marshal(b, m, deterministic) -} -func (m *StructuredQuery_Order) XXX_Merge(src proto.Message) { - xxx_messageInfo_StructuredQuery_Order.Merge(m, src) -} -func (m *StructuredQuery_Order) XXX_Size() int { - return xxx_messageInfo_StructuredQuery_Order.Size(m) -} -func (m *StructuredQuery_Order) XXX_DiscardUnknown() { - xxx_messageInfo_StructuredQuery_Order.DiscardUnknown(m) -} - -var xxx_messageInfo_StructuredQuery_Order proto.InternalMessageInfo - -func (m *StructuredQuery_Order) GetField() *StructuredQuery_FieldReference { - if m != nil { - return m.Field - } - return nil -} - -func (m *StructuredQuery_Order) GetDirection() StructuredQuery_Direction { - if m != nil { - return m.Direction - } - return StructuredQuery_DIRECTION_UNSPECIFIED -} - -// A reference to a field, such as `max(messages.time) as max_time`. -type StructuredQuery_FieldReference struct { - FieldPath string `protobuf:"bytes,2,opt,name=field_path,json=fieldPath,proto3" json:"field_path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StructuredQuery_FieldReference) Reset() { *m = StructuredQuery_FieldReference{} } -func (m *StructuredQuery_FieldReference) String() string { return proto.CompactTextString(m) } -func (*StructuredQuery_FieldReference) ProtoMessage() {} -func (*StructuredQuery_FieldReference) Descriptor() ([]byte, []int) { - return fileDescriptor_45ff6dfb507a4c5e, []int{0, 6} -} - -func (m *StructuredQuery_FieldReference) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StructuredQuery_FieldReference.Unmarshal(m, b) -} -func (m *StructuredQuery_FieldReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StructuredQuery_FieldReference.Marshal(b, m, deterministic) -} -func (m *StructuredQuery_FieldReference) XXX_Merge(src proto.Message) { - xxx_messageInfo_StructuredQuery_FieldReference.Merge(m, src) -} -func (m *StructuredQuery_FieldReference) XXX_Size() int { - return xxx_messageInfo_StructuredQuery_FieldReference.Size(m) -} -func (m *StructuredQuery_FieldReference) XXX_DiscardUnknown() { - xxx_messageInfo_StructuredQuery_FieldReference.DiscardUnknown(m) -} - -var xxx_messageInfo_StructuredQuery_FieldReference proto.InternalMessageInfo - -func (m *StructuredQuery_FieldReference) GetFieldPath() string { - if m != nil { - return m.FieldPath - } - return "" -} - -// The projection of document's fields to return. -type StructuredQuery_Projection struct { - // The fields to return. - // - // If empty, all fields are returned. To only return the name - // of the document, use `['__name__']`. - Fields []*StructuredQuery_FieldReference `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StructuredQuery_Projection) Reset() { *m = StructuredQuery_Projection{} } -func (m *StructuredQuery_Projection) String() string { return proto.CompactTextString(m) } -func (*StructuredQuery_Projection) ProtoMessage() {} -func (*StructuredQuery_Projection) Descriptor() ([]byte, []int) { - return fileDescriptor_45ff6dfb507a4c5e, []int{0, 7} -} - -func (m *StructuredQuery_Projection) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StructuredQuery_Projection.Unmarshal(m, b) -} -func (m *StructuredQuery_Projection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StructuredQuery_Projection.Marshal(b, m, deterministic) -} -func (m *StructuredQuery_Projection) XXX_Merge(src proto.Message) { - xxx_messageInfo_StructuredQuery_Projection.Merge(m, src) -} -func (m *StructuredQuery_Projection) XXX_Size() int { - return xxx_messageInfo_StructuredQuery_Projection.Size(m) -} -func (m *StructuredQuery_Projection) XXX_DiscardUnknown() { - xxx_messageInfo_StructuredQuery_Projection.DiscardUnknown(m) -} - -var xxx_messageInfo_StructuredQuery_Projection proto.InternalMessageInfo - -func (m *StructuredQuery_Projection) GetFields() []*StructuredQuery_FieldReference { - if m != nil { - return m.Fields - } - return nil -} - -// A position in a query result set. -type Cursor struct { - // The values that represent a position, in the order they appear in - // the order by clause of a query. - // - // Can contain fewer values than specified in the order by clause. - Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` - // If the position is just before or just after the given values, relative - // to the sort order defined by the query. - Before bool `protobuf:"varint,2,opt,name=before,proto3" json:"before,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_45ff6dfb507a4c5e, []int{1} -} - -func (m *Cursor) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Cursor.Unmarshal(m, b) -} -func (m *Cursor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Cursor.Marshal(b, m, deterministic) -} -func (m *Cursor) XXX_Merge(src proto.Message) { - xxx_messageInfo_Cursor.Merge(m, src) -} -func (m *Cursor) XXX_Size() int { - return xxx_messageInfo_Cursor.Size(m) -} -func (m *Cursor) XXX_DiscardUnknown() { - xxx_messageInfo_Cursor.DiscardUnknown(m) -} - -var xxx_messageInfo_Cursor proto.InternalMessageInfo - -func (m *Cursor) GetValues() []*Value { - if m != nil { - return m.Values - } - return nil -} - -func (m *Cursor) GetBefore() bool { - if m != nil { - return m.Before - } - return false -} - -func init() { - proto.RegisterEnum("google.firestore.v1.StructuredQuery_Direction", StructuredQuery_Direction_name, StructuredQuery_Direction_value) - proto.RegisterEnum("google.firestore.v1.StructuredQuery_CompositeFilter_Operator", StructuredQuery_CompositeFilter_Operator_name, StructuredQuery_CompositeFilter_Operator_value) - proto.RegisterEnum("google.firestore.v1.StructuredQuery_FieldFilter_Operator", StructuredQuery_FieldFilter_Operator_name, StructuredQuery_FieldFilter_Operator_value) - proto.RegisterEnum("google.firestore.v1.StructuredQuery_UnaryFilter_Operator", StructuredQuery_UnaryFilter_Operator_name, StructuredQuery_UnaryFilter_Operator_value) - proto.RegisterType((*StructuredQuery)(nil), "google.firestore.v1.StructuredQuery") - proto.RegisterType((*StructuredQuery_CollectionSelector)(nil), "google.firestore.v1.StructuredQuery.CollectionSelector") - proto.RegisterType((*StructuredQuery_Filter)(nil), "google.firestore.v1.StructuredQuery.Filter") - proto.RegisterType((*StructuredQuery_CompositeFilter)(nil), "google.firestore.v1.StructuredQuery.CompositeFilter") - proto.RegisterType((*StructuredQuery_FieldFilter)(nil), "google.firestore.v1.StructuredQuery.FieldFilter") - proto.RegisterType((*StructuredQuery_UnaryFilter)(nil), "google.firestore.v1.StructuredQuery.UnaryFilter") - proto.RegisterType((*StructuredQuery_Order)(nil), "google.firestore.v1.StructuredQuery.Order") - proto.RegisterType((*StructuredQuery_FieldReference)(nil), "google.firestore.v1.StructuredQuery.FieldReference") - proto.RegisterType((*StructuredQuery_Projection)(nil), "google.firestore.v1.StructuredQuery.Projection") - proto.RegisterType((*Cursor)(nil), "google.firestore.v1.Cursor") -} - -func init() { proto.RegisterFile("google/firestore/v1/query.proto", fileDescriptor_45ff6dfb507a4c5e) } - -var fileDescriptor_45ff6dfb507a4c5e = []byte{ - // 976 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xdd, 0x6e, 0xe3, 0xc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x1c, 0xff, 0xaa, 0x3e, 0x3d, 0x2a, 0x59, 0xfa, 0x31, 0xcd, 0x03, 0xe3, 0x70, 0xfe, 0xb9, - 0xf3, 0xdd, 0xdf, 0x67, 0xb1, 0x0b, 0x11, 0xbb, 0x98, 0xc7, 0x2e, 0xce, 0x77, 0x2f, 0x6b, 0xe2, - 0x3b, 0xfb, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0x7c, 0x1c, 0x23, 0x29, 0xcf, 0x09, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/firestore/v1/write.pb.go b/vendor/google.golang.org/genproto/googleapis/firestore/v1/write.pb.go deleted file mode 100644 index b23cb08f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/firestore/v1/write.pb.go +++ /dev/null @@ -1,771 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/firestore/v1/write.proto - -package firestore - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A value that is calculated by the server. -type DocumentTransform_FieldTransform_ServerValue int32 - -const ( - // Unspecified. This value must not be used. - DocumentTransform_FieldTransform_SERVER_VALUE_UNSPECIFIED DocumentTransform_FieldTransform_ServerValue = 0 - // The time at which the server processed the request, with millisecond - // precision. - DocumentTransform_FieldTransform_REQUEST_TIME DocumentTransform_FieldTransform_ServerValue = 1 -) - -var DocumentTransform_FieldTransform_ServerValue_name = map[int32]string{ - 0: "SERVER_VALUE_UNSPECIFIED", - 1: "REQUEST_TIME", -} - -var DocumentTransform_FieldTransform_ServerValue_value = map[string]int32{ - "SERVER_VALUE_UNSPECIFIED": 0, - "REQUEST_TIME": 1, -} - -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_5c77c99aae0973dc, []int{1, 0, 0} -} - -// A write on a document. -type Write struct { - // The operation to execute. - // - // Types that are valid to be assigned to Operation: - // *Write_Update - // *Write_Delete - // *Write_Transform - Operation isWrite_Operation `protobuf_oneof:"operation"` - // The fields to update in this write. - // - // This field can be set only when the operation is `update`. - // 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. - UpdateMask *DocumentMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` - // An optional precondition on the document. - // - // The write will fail if this is set and not met by the target document. - CurrentDocument *Precondition `protobuf:"bytes,4,opt,name=current_document,json=currentDocument,proto3" json:"current_document,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_5c77c99aae0973dc, []int{0} -} - -func (m *Write) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Write.Unmarshal(m, b) -} -func (m *Write) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Write.Marshal(b, m, deterministic) -} -func (m *Write) XXX_Merge(src proto.Message) { - xxx_messageInfo_Write.Merge(m, src) -} -func (m *Write) XXX_Size() int { - return xxx_messageInfo_Write.Size(m) -} -func (m *Write) XXX_DiscardUnknown() { - xxx_messageInfo_Write.DiscardUnknown(m) -} - -var xxx_messageInfo_Write proto.InternalMessageInfo - -type isWrite_Operation interface { - isWrite_Operation() -} - -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_Transform) isWrite_Operation() {} - -func (m *Write) GetOperation() isWrite_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *Write) GetUpdate() *Document { - if x, ok := m.GetOperation().(*Write_Update); ok { - return x.Update - } - return nil -} - -func (m *Write) GetDelete() string { - if x, ok := m.GetOperation().(*Write_Delete); ok { - return x.Delete - } - return "" -} - -func (m *Write) GetTransform() *DocumentTransform { - if x, ok := m.GetOperation().(*Write_Transform); ok { - return x.Transform - } - return nil -} - -func (m *Write) GetUpdateMask() *DocumentMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -func (m *Write) GetCurrentDocument() *Precondition { - if m != nil { - return m.CurrentDocument - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Write) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Write_Update)(nil), - (*Write_Delete)(nil), - (*Write_Transform)(nil), - } -} - -// A transformation of a document. -type DocumentTransform struct { - // The name of the document to transform. - Document string `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` - // The list of transformations to apply to the fields of the document, in - // order. - // This must not be empty. - FieldTransforms []*DocumentTransform_FieldTransform `protobuf:"bytes,2,rep,name=field_transforms,json=fieldTransforms,proto3" json:"field_transforms,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_5c77c99aae0973dc, []int{1} -} - -func (m *DocumentTransform) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DocumentTransform.Unmarshal(m, b) -} -func (m *DocumentTransform) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DocumentTransform.Marshal(b, m, deterministic) -} -func (m *DocumentTransform) XXX_Merge(src proto.Message) { - xxx_messageInfo_DocumentTransform.Merge(m, src) -} -func (m *DocumentTransform) XXX_Size() int { - return xxx_messageInfo_DocumentTransform.Size(m) -} -func (m *DocumentTransform) XXX_DiscardUnknown() { - xxx_messageInfo_DocumentTransform.DiscardUnknown(m) -} - -var xxx_messageInfo_DocumentTransform proto.InternalMessageInfo - -func (m *DocumentTransform) GetDocument() string { - if m != nil { - return m.Document - } - return "" -} - -func (m *DocumentTransform) GetFieldTransforms() []*DocumentTransform_FieldTransform { - if m != nil { - return m.FieldTransforms - } - return nil -} - -// A transformation of a field of the document. -type DocumentTransform_FieldTransform struct { - // The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax - // reference. - FieldPath string `protobuf:"bytes,1,opt,name=field_path,json=fieldPath,proto3" json:"field_path,omitempty"` - // The transformation to apply on the field. - // - // Types that are valid to be assigned to TransformType: - // *DocumentTransform_FieldTransform_SetToServerValue - // *DocumentTransform_FieldTransform_Increment - // *DocumentTransform_FieldTransform_Maximum - // *DocumentTransform_FieldTransform_Minimum - // *DocumentTransform_FieldTransform_AppendMissingElements - // *DocumentTransform_FieldTransform_RemoveAllFromArray - TransformType isDocumentTransform_FieldTransform_TransformType `protobuf_oneof:"transform_type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DocumentTransform_FieldTransform) Reset() { *m = DocumentTransform_FieldTransform{} } -func (m *DocumentTransform_FieldTransform) String() string { return proto.CompactTextString(m) } -func (*DocumentTransform_FieldTransform) ProtoMessage() {} -func (*DocumentTransform_FieldTransform) Descriptor() ([]byte, []int) { - return fileDescriptor_5c77c99aae0973dc, []int{1, 0} -} - -func (m *DocumentTransform_FieldTransform) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DocumentTransform_FieldTransform.Unmarshal(m, b) -} -func (m *DocumentTransform_FieldTransform) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DocumentTransform_FieldTransform.Marshal(b, m, deterministic) -} -func (m *DocumentTransform_FieldTransform) XXX_Merge(src proto.Message) { - xxx_messageInfo_DocumentTransform_FieldTransform.Merge(m, src) -} -func (m *DocumentTransform_FieldTransform) XXX_Size() int { - return xxx_messageInfo_DocumentTransform_FieldTransform.Size(m) -} -func (m *DocumentTransform_FieldTransform) XXX_DiscardUnknown() { - xxx_messageInfo_DocumentTransform_FieldTransform.DiscardUnknown(m) -} - -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() -} - -type DocumentTransform_FieldTransform_SetToServerValue struct { - SetToServerValue DocumentTransform_FieldTransform_ServerValue `protobuf:"varint,2,opt,name=set_to_server_value,json=setToServerValue,proto3,enum=google.firestore.v1.DocumentTransform_FieldTransform_ServerValue,oneof"` -} - -type DocumentTransform_FieldTransform_Increment struct { - Increment *Value `protobuf:"bytes,3,opt,name=increment,proto3,oneof"` -} - -type DocumentTransform_FieldTransform_Maximum struct { - Maximum *Value `protobuf:"bytes,4,opt,name=maximum,proto3,oneof"` -} - -type DocumentTransform_FieldTransform_Minimum struct { - Minimum *Value `protobuf:"bytes,5,opt,name=minimum,proto3,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_Increment) isDocumentTransform_FieldTransform_TransformType() { -} - -func (*DocumentTransform_FieldTransform_Maximum) isDocumentTransform_FieldTransform_TransformType() {} - -func (*DocumentTransform_FieldTransform_Minimum) 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 - } - return nil -} - -func (m *DocumentTransform_FieldTransform) GetSetToServerValue() DocumentTransform_FieldTransform_ServerValue { - if x, ok := m.GetTransformType().(*DocumentTransform_FieldTransform_SetToServerValue); ok { - return x.SetToServerValue - } - return DocumentTransform_FieldTransform_SERVER_VALUE_UNSPECIFIED -} - -func (m *DocumentTransform_FieldTransform) GetIncrement() *Value { - if x, ok := m.GetTransformType().(*DocumentTransform_FieldTransform_Increment); ok { - return x.Increment - } - return nil -} - -func (m *DocumentTransform_FieldTransform) GetMaximum() *Value { - if x, ok := m.GetTransformType().(*DocumentTransform_FieldTransform_Maximum); ok { - return x.Maximum - } - return nil -} - -func (m *DocumentTransform_FieldTransform) GetMinimum() *Value { - if x, ok := m.GetTransformType().(*DocumentTransform_FieldTransform_Minimum); ok { - return x.Minimum - } - return nil -} - -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_OneofWrappers is for the internal use of the proto package. -func (*DocumentTransform_FieldTransform) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*DocumentTransform_FieldTransform_SetToServerValue)(nil), - (*DocumentTransform_FieldTransform_Increment)(nil), - (*DocumentTransform_FieldTransform_Maximum)(nil), - (*DocumentTransform_FieldTransform_Minimum)(nil), - (*DocumentTransform_FieldTransform_AppendMissingElements)(nil), - (*DocumentTransform_FieldTransform_RemoveAllFromArray)(nil), - } -} - -// The result of applying a write. -type WriteResult struct { - // The last update time of the document after applying the write. Not set - // after a `delete`. - // - // If the write did not actually change the document, this will be the - // previous update_time. - UpdateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - // The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the - // same order. - TransformResults []*Value `protobuf:"bytes,2,rep,name=transform_results,json=transformResults,proto3" json:"transform_results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_5c77c99aae0973dc, []int{2} -} - -func (m *WriteResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WriteResult.Unmarshal(m, b) -} -func (m *WriteResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WriteResult.Marshal(b, m, deterministic) -} -func (m *WriteResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_WriteResult.Merge(m, src) -} -func (m *WriteResult) XXX_Size() int { - return xxx_messageInfo_WriteResult.Size(m) -} -func (m *WriteResult) XXX_DiscardUnknown() { - xxx_messageInfo_WriteResult.DiscardUnknown(m) -} - -var xxx_messageInfo_WriteResult proto.InternalMessageInfo - -func (m *WriteResult) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -func (m *WriteResult) GetTransformResults() []*Value { - if m != nil { - return m.TransformResults - } - return nil -} - -// A [Document][google.firestore.v1.Document] has changed. -// -// May be the result of multiple [writes][google.firestore.v1.Write], including deletes, that -// ultimately resulted in a new value for the [Document][google.firestore.v1.Document]. -// -// Multiple [DocumentChange][google.firestore.v1.DocumentChange] messages may be returned for the same logical -// change, if multiple targets are affected. -type DocumentChange struct { - // The new state of the [Document][google.firestore.v1.Document]. - // - // If `mask` is set, contains only fields that were updated or added. - Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` - // A set of target IDs of targets that match this document. - TargetIds []int32 `protobuf:"varint,5,rep,packed,name=target_ids,json=targetIds,proto3" json:"target_ids,omitempty"` - // A set of target IDs for targets that no longer match this document. - RemovedTargetIds []int32 `protobuf:"varint,6,rep,packed,name=removed_target_ids,json=removedTargetIds,proto3" json:"removed_target_ids,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_5c77c99aae0973dc, []int{3} -} - -func (m *DocumentChange) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DocumentChange.Unmarshal(m, b) -} -func (m *DocumentChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DocumentChange.Marshal(b, m, deterministic) -} -func (m *DocumentChange) XXX_Merge(src proto.Message) { - xxx_messageInfo_DocumentChange.Merge(m, src) -} -func (m *DocumentChange) XXX_Size() int { - return xxx_messageInfo_DocumentChange.Size(m) -} -func (m *DocumentChange) XXX_DiscardUnknown() { - xxx_messageInfo_DocumentChange.DiscardUnknown(m) -} - -var xxx_messageInfo_DocumentChange proto.InternalMessageInfo - -func (m *DocumentChange) GetDocument() *Document { - if m != nil { - return m.Document - } - return nil -} - -func (m *DocumentChange) GetTargetIds() []int32 { - if m != nil { - return m.TargetIds - } - return nil -} - -func (m *DocumentChange) GetRemovedTargetIds() []int32 { - if m != nil { - return m.RemovedTargetIds - } - return nil -} - -// A [Document][google.firestore.v1.Document] has been deleted. -// -// May be the result of multiple [writes][google.firestore.v1.Write], including updates, the -// last of which deleted the [Document][google.firestore.v1.Document]. -// -// Multiple [DocumentDelete][google.firestore.v1.DocumentDelete] messages may be returned for the same logical -// delete, if multiple targets are affected. -type DocumentDelete struct { - // The resource name of the [Document][google.firestore.v1.Document] that was deleted. - Document string `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` - // A set of target IDs for targets that previously matched this entity. - RemovedTargetIds []int32 `protobuf:"varint,6,rep,packed,name=removed_target_ids,json=removedTargetIds,proto3" json:"removed_target_ids,omitempty"` - // The read timestamp at which the delete was observed. - // - // Greater or equal to the `commit_time` of the delete. - ReadTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_5c77c99aae0973dc, []int{4} -} - -func (m *DocumentDelete) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DocumentDelete.Unmarshal(m, b) -} -func (m *DocumentDelete) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DocumentDelete.Marshal(b, m, deterministic) -} -func (m *DocumentDelete) XXX_Merge(src proto.Message) { - xxx_messageInfo_DocumentDelete.Merge(m, src) -} -func (m *DocumentDelete) XXX_Size() int { - return xxx_messageInfo_DocumentDelete.Size(m) -} -func (m *DocumentDelete) XXX_DiscardUnknown() { - xxx_messageInfo_DocumentDelete.DiscardUnknown(m) -} - -var xxx_messageInfo_DocumentDelete proto.InternalMessageInfo - -func (m *DocumentDelete) GetDocument() string { - if m != nil { - return m.Document - } - return "" -} - -func (m *DocumentDelete) GetRemovedTargetIds() []int32 { - if m != nil { - return m.RemovedTargetIds - } - return nil -} - -func (m *DocumentDelete) GetReadTime() *timestamp.Timestamp { - if m != nil { - return m.ReadTime - } - return nil -} - -// A [Document][google.firestore.v1.Document] has been removed from the view of the targets. -// -// Sent if the document is no longer relevant to a target and is out of view. -// Can be sent instead of a DocumentDelete or a DocumentChange if the server -// can not send the new value of the document. -// -// Multiple [DocumentRemove][google.firestore.v1.DocumentRemove] messages may be returned for the same logical -// write or delete, if multiple targets are affected. -type DocumentRemove struct { - // The resource name of the [Document][google.firestore.v1.Document] that has gone out of view. - Document string `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` - // A set of target IDs for targets that previously matched this document. - RemovedTargetIds []int32 `protobuf:"varint,2,rep,packed,name=removed_target_ids,json=removedTargetIds,proto3" json:"removed_target_ids,omitempty"` - // The read timestamp at which the remove was observed. - // - // Greater or equal to the `commit_time` of the change/delete/remove. - ReadTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_5c77c99aae0973dc, []int{5} -} - -func (m *DocumentRemove) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DocumentRemove.Unmarshal(m, b) -} -func (m *DocumentRemove) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DocumentRemove.Marshal(b, m, deterministic) -} -func (m *DocumentRemove) XXX_Merge(src proto.Message) { - xxx_messageInfo_DocumentRemove.Merge(m, src) -} -func (m *DocumentRemove) XXX_Size() int { - return xxx_messageInfo_DocumentRemove.Size(m) -} -func (m *DocumentRemove) XXX_DiscardUnknown() { - xxx_messageInfo_DocumentRemove.DiscardUnknown(m) -} - -var xxx_messageInfo_DocumentRemove proto.InternalMessageInfo - -func (m *DocumentRemove) GetDocument() string { - if m != nil { - return m.Document - } - return "" -} - -func (m *DocumentRemove) GetRemovedTargetIds() []int32 { - if m != nil { - return m.RemovedTargetIds - } - return nil -} - -func (m *DocumentRemove) GetReadTime() *timestamp.Timestamp { - if m != nil { - return m.ReadTime - } - return nil -} - -// A digest of all the documents that match a given target. -type ExistenceFilter struct { - // The target ID to which this filter applies. - TargetId int32 `protobuf:"varint,1,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"` - // The total count of documents that match [target_id][google.firestore.v1.ExistenceFilter.target_id]. - // - // If different from the count of documents in the client that match, the - // client must manually determine which documents no longer match the target. - Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_5c77c99aae0973dc, []int{6} -} - -func (m *ExistenceFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExistenceFilter.Unmarshal(m, b) -} -func (m *ExistenceFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExistenceFilter.Marshal(b, m, deterministic) -} -func (m *ExistenceFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExistenceFilter.Merge(m, src) -} -func (m *ExistenceFilter) XXX_Size() int { - return xxx_messageInfo_ExistenceFilter.Size(m) -} -func (m *ExistenceFilter) XXX_DiscardUnknown() { - xxx_messageInfo_ExistenceFilter.DiscardUnknown(m) -} - -var xxx_messageInfo_ExistenceFilter proto.InternalMessageInfo - -func (m *ExistenceFilter) GetTargetId() int32 { - if m != nil { - return m.TargetId - } - return 0 -} - -func (m *ExistenceFilter) GetCount() int32 { - if m != nil { - return m.Count - } - return 0 -} - -func init() { - proto.RegisterEnum("google.firestore.v1.DocumentTransform_FieldTransform_ServerValue", DocumentTransform_FieldTransform_ServerValue_name, DocumentTransform_FieldTransform_ServerValue_value) - proto.RegisterType((*Write)(nil), "google.firestore.v1.Write") - proto.RegisterType((*DocumentTransform)(nil), "google.firestore.v1.DocumentTransform") - proto.RegisterType((*DocumentTransform_FieldTransform)(nil), "google.firestore.v1.DocumentTransform.FieldTransform") - proto.RegisterType((*WriteResult)(nil), "google.firestore.v1.WriteResult") - proto.RegisterType((*DocumentChange)(nil), "google.firestore.v1.DocumentChange") - proto.RegisterType((*DocumentDelete)(nil), "google.firestore.v1.DocumentDelete") - proto.RegisterType((*DocumentRemove)(nil), "google.firestore.v1.DocumentRemove") - proto.RegisterType((*ExistenceFilter)(nil), "google.firestore.v1.ExistenceFilter") -} - -func init() { proto.RegisterFile("google/firestore/v1/write.proto", fileDescriptor_5c77c99aae0973dc) } - -var fileDescriptor_5c77c99aae0973dc = []byte{ - // 853 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x41, 0x6f, 0xe3, 0x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0x35, 0x0a, 0xf4, 0x3e, 0xb4, 0x02, 0x9e, 0x33, 0xa5, - 0x17, 0x54, 0xcb, 0x37, 0xc1, 0xf0, 0xb7, 0x06, 0x3c, 0x0a, 0x78, 0xba, 0x6a, 0xda, 0x43, 0xd0, - 0x77, 0x77, 0x5c, 0x98, 0x18, 0x37, 0x7e, 0xf8, 0xaa, 0x84, 0x44, 0x3c, 0x21, 0x2c, 0x72, 0xb9, - 0x88, 0x06, 0x11, 0x65, 0xda, 0xe2, 0xc0, 0xa4, 0x48, 0x16, 0xcb, 0xa5, 0xbf, 0xde, 0x67, 0x75, - 0xf0, 0x6b, 0x73, 0xeb, 0xf4, 0x78, 0x34, 0xf9, 0xbd, 0xf9, 0xc1, 0xa9, 0x51, 0x39, 0x4e, 0x78, - 0x1e, 0xba, 0xa3, 0xba, 0xdc, 0xec, 0xe0, 0xcf, 0x2a, 0x77, 0xa5, 0x73, 0x57, 0x75, 0xee, 0x6a, - 0x76, 0xf0, 0xa2, 0xad, 0xeb, 0x7c, 0xfa, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x69, 0x45, 0xd0, - 0x55, 0x39, 0x08, 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 deleted file mode 100644 index e11417f5..00000000 --- a/vendor/google.golang.org/genproto/googleapis/firestore/v1beta1/common.pb.go +++ /dev/null @@ -1,392 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/firestore/v1beta1/common.proto - -package firestore - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A set of field paths on a document. -// Used to restrict a get or update operation on a document to a subset of its -// fields. -// This is different from standard field masks, as this is always scoped to a -// [Document][google.firestore.v1beta1.Document], and takes in account the dynamic nature of [Value][google.firestore.v1beta1.Value]. -type DocumentMask struct { - // The list of field paths in the mask. See [Document.fields][google.firestore.v1beta1.Document.fields] for a field - // path syntax reference. - FieldPaths []string `protobuf:"bytes,1,rep,name=field_paths,json=fieldPaths,proto3" json:"field_paths,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_bfe8bb60f36bcae9, []int{0} -} - -func (m *DocumentMask) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DocumentMask.Unmarshal(m, b) -} -func (m *DocumentMask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DocumentMask.Marshal(b, m, deterministic) -} -func (m *DocumentMask) XXX_Merge(src proto.Message) { - xxx_messageInfo_DocumentMask.Merge(m, src) -} -func (m *DocumentMask) XXX_Size() int { - return xxx_messageInfo_DocumentMask.Size(m) -} -func (m *DocumentMask) XXX_DiscardUnknown() { - xxx_messageInfo_DocumentMask.DiscardUnknown(m) -} - -var xxx_messageInfo_DocumentMask proto.InternalMessageInfo - -func (m *DocumentMask) GetFieldPaths() []string { - if m != nil { - return m.FieldPaths - } - return nil -} - -// A precondition on a document, used for conditional operations. -type Precondition struct { - // The type of precondition. - // - // Types that are valid to be assigned to ConditionType: - // *Precondition_Exists - // *Precondition_UpdateTime - ConditionType isPrecondition_ConditionType `protobuf_oneof:"condition_type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_bfe8bb60f36bcae9, []int{1} -} - -func (m *Precondition) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Precondition.Unmarshal(m, b) -} -func (m *Precondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Precondition.Marshal(b, m, deterministic) -} -func (m *Precondition) XXX_Merge(src proto.Message) { - xxx_messageInfo_Precondition.Merge(m, src) -} -func (m *Precondition) XXX_Size() int { - return xxx_messageInfo_Precondition.Size(m) -} -func (m *Precondition) XXX_DiscardUnknown() { - xxx_messageInfo_Precondition.DiscardUnknown(m) -} - -var xxx_messageInfo_Precondition proto.InternalMessageInfo - -type isPrecondition_ConditionType interface { - isPrecondition_ConditionType() -} - -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_UpdateTime) isPrecondition_ConditionType() {} - -func (m *Precondition) GetConditionType() isPrecondition_ConditionType { - if m != nil { - return m.ConditionType - } - return nil -} - -func (m *Precondition) GetExists() bool { - if x, ok := m.GetConditionType().(*Precondition_Exists); ok { - return x.Exists - } - return false -} - -func (m *Precondition) GetUpdateTime() *timestamp.Timestamp { - if x, ok := m.GetConditionType().(*Precondition_UpdateTime); ok { - return x.UpdateTime - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Precondition) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Precondition_Exists)(nil), - (*Precondition_UpdateTime)(nil), - } -} - -// Options for creating a new transaction. -type TransactionOptions struct { - // The mode of the transaction. - // - // Types that are valid to be assigned to Mode: - // *TransactionOptions_ReadOnly_ - // *TransactionOptions_ReadWrite_ - Mode isTransactionOptions_Mode `protobuf_oneof:"mode"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_bfe8bb60f36bcae9, []int{2} -} - -func (m *TransactionOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransactionOptions.Unmarshal(m, b) -} -func (m *TransactionOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransactionOptions.Marshal(b, m, deterministic) -} -func (m *TransactionOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransactionOptions.Merge(m, src) -} -func (m *TransactionOptions) XXX_Size() int { - return xxx_messageInfo_TransactionOptions.Size(m) -} -func (m *TransactionOptions) XXX_DiscardUnknown() { - xxx_messageInfo_TransactionOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_TransactionOptions proto.InternalMessageInfo - -type isTransactionOptions_Mode interface { - isTransactionOptions_Mode() -} - -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_ReadWrite_) isTransactionOptions_Mode() {} - -func (m *TransactionOptions) GetMode() isTransactionOptions_Mode { - if m != nil { - return m.Mode - } - return nil -} - -func (m *TransactionOptions) GetReadOnly() *TransactionOptions_ReadOnly { - if x, ok := m.GetMode().(*TransactionOptions_ReadOnly_); ok { - return x.ReadOnly - } - return nil -} - -func (m *TransactionOptions) GetReadWrite() *TransactionOptions_ReadWrite { - if x, ok := m.GetMode().(*TransactionOptions_ReadWrite_); ok { - return x.ReadWrite - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*TransactionOptions) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*TransactionOptions_ReadOnly_)(nil), - (*TransactionOptions_ReadWrite_)(nil), - } -} - -// Options for a transaction that can be used to read and write documents. -type TransactionOptions_ReadWrite struct { - // An optional transaction to retry. - RetryTransaction []byte `protobuf:"bytes,1,opt,name=retry_transaction,json=retryTransaction,proto3" json:"retry_transaction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TransactionOptions_ReadWrite) Reset() { *m = TransactionOptions_ReadWrite{} } -func (m *TransactionOptions_ReadWrite) String() string { return proto.CompactTextString(m) } -func (*TransactionOptions_ReadWrite) ProtoMessage() {} -func (*TransactionOptions_ReadWrite) Descriptor() ([]byte, []int) { - return fileDescriptor_bfe8bb60f36bcae9, []int{2, 0} -} - -func (m *TransactionOptions_ReadWrite) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransactionOptions_ReadWrite.Unmarshal(m, b) -} -func (m *TransactionOptions_ReadWrite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransactionOptions_ReadWrite.Marshal(b, m, deterministic) -} -func (m *TransactionOptions_ReadWrite) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransactionOptions_ReadWrite.Merge(m, src) -} -func (m *TransactionOptions_ReadWrite) XXX_Size() int { - return xxx_messageInfo_TransactionOptions_ReadWrite.Size(m) -} -func (m *TransactionOptions_ReadWrite) XXX_DiscardUnknown() { - xxx_messageInfo_TransactionOptions_ReadWrite.DiscardUnknown(m) -} - -var xxx_messageInfo_TransactionOptions_ReadWrite proto.InternalMessageInfo - -func (m *TransactionOptions_ReadWrite) GetRetryTransaction() []byte { - if m != nil { - return m.RetryTransaction - } - return nil -} - -// Options for a transaction that can only be used to read documents. -type TransactionOptions_ReadOnly struct { - // The consistency mode for this transaction. If not set, defaults to strong - // consistency. - // - // Types that are valid to be assigned to ConsistencySelector: - // *TransactionOptions_ReadOnly_ReadTime - ConsistencySelector isTransactionOptions_ReadOnly_ConsistencySelector `protobuf_oneof:"consistency_selector"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TransactionOptions_ReadOnly) Reset() { *m = TransactionOptions_ReadOnly{} } -func (m *TransactionOptions_ReadOnly) String() string { return proto.CompactTextString(m) } -func (*TransactionOptions_ReadOnly) ProtoMessage() {} -func (*TransactionOptions_ReadOnly) Descriptor() ([]byte, []int) { - return fileDescriptor_bfe8bb60f36bcae9, []int{2, 1} -} - -func (m *TransactionOptions_ReadOnly) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransactionOptions_ReadOnly.Unmarshal(m, b) -} -func (m *TransactionOptions_ReadOnly) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransactionOptions_ReadOnly.Marshal(b, m, deterministic) -} -func (m *TransactionOptions_ReadOnly) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransactionOptions_ReadOnly.Merge(m, src) -} -func (m *TransactionOptions_ReadOnly) XXX_Size() int { - return xxx_messageInfo_TransactionOptions_ReadOnly.Size(m) -} -func (m *TransactionOptions_ReadOnly) XXX_DiscardUnknown() { - xxx_messageInfo_TransactionOptions_ReadOnly.DiscardUnknown(m) -} - -var xxx_messageInfo_TransactionOptions_ReadOnly proto.InternalMessageInfo - -type isTransactionOptions_ReadOnly_ConsistencySelector interface { - isTransactionOptions_ReadOnly_ConsistencySelector() -} - -type TransactionOptions_ReadOnly_ReadTime struct { - ReadTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=read_time,json=readTime,proto3,oneof"` -} - -func (*TransactionOptions_ReadOnly_ReadTime) isTransactionOptions_ReadOnly_ConsistencySelector() {} - -func (m *TransactionOptions_ReadOnly) GetConsistencySelector() isTransactionOptions_ReadOnly_ConsistencySelector { - if m != nil { - return m.ConsistencySelector - } - return nil -} - -func (m *TransactionOptions_ReadOnly) GetReadTime() *timestamp.Timestamp { - if x, ok := m.GetConsistencySelector().(*TransactionOptions_ReadOnly_ReadTime); ok { - return x.ReadTime - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*TransactionOptions_ReadOnly) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*TransactionOptions_ReadOnly_ReadTime)(nil), - } -} - -func init() { - proto.RegisterType((*DocumentMask)(nil), "google.firestore.v1beta1.DocumentMask") - proto.RegisterType((*Precondition)(nil), "google.firestore.v1beta1.Precondition") - proto.RegisterType((*TransactionOptions)(nil), "google.firestore.v1beta1.TransactionOptions") - proto.RegisterType((*TransactionOptions_ReadWrite)(nil), "google.firestore.v1beta1.TransactionOptions.ReadWrite") - proto.RegisterType((*TransactionOptions_ReadOnly)(nil), "google.firestore.v1beta1.TransactionOptions.ReadOnly") -} - -func init() { - proto.RegisterFile("google/firestore/v1beta1/common.proto", fileDescriptor_bfe8bb60f36bcae9) -} - -var fileDescriptor_bfe8bb60f36bcae9 = []byte{ - // 470 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0xe1, 0x8a, 0xd3, 0x40, - 0x10, 0xc7, 0x9b, 0xde, 0x71, 0xb4, 0xd3, 0x22, 0x67, 0x10, 0x09, 0xe1, 0xf0, 0x8e, 0x82, 0x50, - 0x10, 0x36, 0x54, 0x51, 0x14, 0xf1, 0x83, 0xa9, 0xdc, 0xf5, 0x8b, 0x5c, 0x89, 0xe5, 0x0e, 0xa4, - 0x12, 0xb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1, 0x2f, 0xbb, 0xca, - 0xb7, 0xfe, 0xe1, 0xc5, 0xfc, 0xfc, 0xdd, 0xf7, 0xfe, 0x83, 0x8b, 0x46, 0x6a, 0x9e, 0xd3, 0x2e, - 0x65, 0xe7, 0xdd, 0xe6, 0xab, 0x59, 0x58, 0x4f, 0xfc, 0xdc, 0x03, 0x6b, 0x0b, 0xac, 0x3b, 0x60, - 0x7d, 0xd5, 0x48, 0x6e, 0x8e, 0xec, 0xda, 0x27, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xe5, 0x64, - 0x00, 0xd8, 0x57, 0x03, 0x00, 0x00, -} 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 deleted file mode 100644 index e99f012a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/firestore/v1beta1/document.pb.go +++ /dev/null @@ -1,491 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/firestore/v1beta1/document.proto - -package firestore - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _struct "github.com/golang/protobuf/ptypes/struct" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - latlng "google.golang.org/genproto/googleapis/type/latlng" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// A Firestore document. -// -// Must not exceed 1 MiB - 4 bytes. -type Document struct { - // The resource name of the document, for example - // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The document's fields. - // - // 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`. For example, - // `foo_bar_17`. - // - // Field names matching the regular expression `__.*__` are reserved. Reserved - // field names are forbidden except in certain documented contexts. The map - // keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be - // empty. - // - // Field paths may be used in other contexts to refer to structured fields - // defined here. For `map_value`, the field path is represented by the simple - // or quoted field names of the containing fields, delimited by `.`. For - // example, the structured field - // `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be - // represented by the field path `foo.x&y`. - // - // Within a field path, a quoted field name starts and ends with `` ` `` and - // may contain any character. Some characters, including `` ` ``, must be - // escaped using a `\`. For example, `` `x&y` `` represents `x&y` and - // `` `bak\`tik` `` represents `` bak`tik ``. - Fields map[string]*Value `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Output only. The time at which the document was created. - // - // This value increases monotonically when a document is deleted then - // recreated. It can also be compared to values from other documents and - // the `read_time` of a query. - 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 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1522b475188e04d0, []int{0} -} - -func (m *Document) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Document.Unmarshal(m, b) -} -func (m *Document) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Document.Marshal(b, m, deterministic) -} -func (m *Document) XXX_Merge(src proto.Message) { - xxx_messageInfo_Document.Merge(m, src) -} -func (m *Document) XXX_Size() int { - return xxx_messageInfo_Document.Size(m) -} -func (m *Document) XXX_DiscardUnknown() { - xxx_messageInfo_Document.DiscardUnknown(m) -} - -var xxx_messageInfo_Document proto.InternalMessageInfo - -func (m *Document) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Document) GetFields() map[string]*Value { - if m != nil { - return m.Fields - } - return nil -} - -func (m *Document) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *Document) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -// A message that can hold any of the supported value types. -type Value struct { - // Must have a value set. - // - // Types that are valid to be assigned to ValueType: - // *Value_NullValue - // *Value_BooleanValue - // *Value_IntegerValue - // *Value_DoubleValue - // *Value_TimestampValue - // *Value_StringValue - // *Value_BytesValue - // *Value_ReferenceValue - // *Value_GeoPointValue - // *Value_ArrayValue - // *Value_MapValue - ValueType isValue_ValueType `protobuf_oneof:"value_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_1522b475188e04d0, []int{1} -} - -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 (m *Value) XXX_Merge(src proto.Message) { - xxx_messageInfo_Value.Merge(m, 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_ValueType interface { - isValue_ValueType() -} - -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_TimestampValue) 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 (m *Value) GetValueType() isValue_ValueType { - if m != nil { - return m.ValueType - } - return nil -} - -func (m *Value) GetNullValue() _struct.NullValue { - if x, ok := m.GetValueType().(*Value_NullValue); ok { - return x.NullValue - } - return _struct.NullValue_NULL_VALUE -} - -func (m *Value) GetBooleanValue() bool { - if x, ok := m.GetValueType().(*Value_BooleanValue); ok { - return x.BooleanValue - } - return false -} - -func (m *Value) GetIntegerValue() int64 { - if x, ok := m.GetValueType().(*Value_IntegerValue); ok { - return x.IntegerValue - } - return 0 -} - -func (m *Value) GetDoubleValue() float64 { - if x, ok := m.GetValueType().(*Value_DoubleValue); ok { - return x.DoubleValue - } - return 0 -} - -func (m *Value) GetTimestampValue() *timestamp.Timestamp { - if x, ok := m.GetValueType().(*Value_TimestampValue); ok { - return x.TimestampValue - } - return nil -} - -func (m *Value) GetStringValue() string { - if x, ok := m.GetValueType().(*Value_StringValue); ok { - return x.StringValue - } - return "" -} - -func (m *Value) GetBytesValue() []byte { - if x, ok := m.GetValueType().(*Value_BytesValue); ok { - return x.BytesValue - } - return nil -} - -func (m *Value) GetReferenceValue() string { - if x, ok := m.GetValueType().(*Value_ReferenceValue); ok { - return x.ReferenceValue - } - return "" -} - -func (m *Value) GetGeoPointValue() *latlng.LatLng { - if x, ok := m.GetValueType().(*Value_GeoPointValue); ok { - return x.GeoPointValue - } - return nil -} - -func (m *Value) GetArrayValue() *ArrayValue { - if x, ok := m.GetValueType().(*Value_ArrayValue); ok { - return x.ArrayValue - } - return nil -} - -func (m *Value) GetMapValue() *MapValue { - if x, ok := m.GetValueType().(*Value_MapValue); ok { - return x.MapValue - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Value) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Value_NullValue)(nil), - (*Value_BooleanValue)(nil), - (*Value_IntegerValue)(nil), - (*Value_DoubleValue)(nil), - (*Value_TimestampValue)(nil), - (*Value_StringValue)(nil), - (*Value_BytesValue)(nil), - (*Value_ReferenceValue)(nil), - (*Value_GeoPointValue)(nil), - (*Value_ArrayValue)(nil), - (*Value_MapValue)(nil), - } -} - -// An array value. -type ArrayValue struct { - // Values in the array. - 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 *ArrayValue) Reset() { *m = ArrayValue{} } -func (m *ArrayValue) String() string { return proto.CompactTextString(m) } -func (*ArrayValue) ProtoMessage() {} -func (*ArrayValue) Descriptor() ([]byte, []int) { - return fileDescriptor_1522b475188e04d0, []int{2} -} - -func (m *ArrayValue) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ArrayValue.Unmarshal(m, b) -} -func (m *ArrayValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ArrayValue.Marshal(b, m, deterministic) -} -func (m *ArrayValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_ArrayValue.Merge(m, src) -} -func (m *ArrayValue) XXX_Size() int { - return xxx_messageInfo_ArrayValue.Size(m) -} -func (m *ArrayValue) XXX_DiscardUnknown() { - xxx_messageInfo_ArrayValue.DiscardUnknown(m) -} - -var xxx_messageInfo_ArrayValue proto.InternalMessageInfo - -func (m *ArrayValue) GetValues() []*Value { - if m != nil { - return m.Values - } - return nil -} - -// A map value. -type MapValue struct { - // The map's fields. - // - // The map keys represent field names. Field names matching the regular - // expression `__.*__` are reserved. Reserved field names are forbidden except - // in certain documented contexts. The map keys, represented as UTF-8, must - // not exceed 1,500 bytes and cannot be empty. - Fields map[string]*Value `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,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 *MapValue) Reset() { *m = MapValue{} } -func (m *MapValue) String() string { return proto.CompactTextString(m) } -func (*MapValue) ProtoMessage() {} -func (*MapValue) Descriptor() ([]byte, []int) { - return fileDescriptor_1522b475188e04d0, []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 (m *MapValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_MapValue.Merge(m, 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) GetFields() map[string]*Value { - if m != nil { - return m.Fields - } - return nil -} - -func init() { - proto.RegisterType((*Document)(nil), "google.firestore.v1beta1.Document") - proto.RegisterMapType((map[string]*Value)(nil), "google.firestore.v1beta1.Document.FieldsEntry") - proto.RegisterType((*Value)(nil), "google.firestore.v1beta1.Value") - proto.RegisterType((*ArrayValue)(nil), "google.firestore.v1beta1.ArrayValue") - proto.RegisterType((*MapValue)(nil), "google.firestore.v1beta1.MapValue") - proto.RegisterMapType((map[string]*Value)(nil), "google.firestore.v1beta1.MapValue.FieldsEntry") -} - -func init() { - proto.RegisterFile("google/firestore/v1beta1/document.proto", fileDescriptor_1522b475188e04d0) -} - -var fileDescriptor_1522b475188e04d0 = []byte{ - // 655 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x94, 0xcf, 0x6e, 0xd3, 0x4e, - 0x10, 0xc7, 0xe3, 0x24, 0x8d, 0x92, 0x71, 0xda, 0xfe, 0x7e, 0xe6, 0x12, 0x45, 0x15, 0x0d, 0x01, - 0x44, 0xb8, 0xd8, 0x6a, 0x11, 0x02, 0x51, 0x71, 0x68, 0x4a, 0xd3, 0x1c, 0x0a, 0xaa, 0x0c, 0xea, - 0xa1, 0xaa, 0x14, 0xad, 0x93, 0xcd, 0xca, 0x62, 0xbd, 0x6b, 0xad, 0xd7, 0x95, 0xf2, 0x3a, 0x1c, - 0x39, 0xf0, 0x02, 0xf0, 0x04, 0x7d, 0x2a, 0xb4, 0xff, 0xdc, 0x0a, 0x1a, 0xe5, 0xc4, 0xcd, 0x9e, - 0xf9, 0x7c, 0xbf, 0x33, 0xb3, 0xde, 0x31, 0xbc, 0x20, 0x9c, 0x13, 0x8a, 0xa3, 0x65, 0x2a, 0x70, - 0x21, 0xb9, 0xc0, 0xd1, 0xcd, 0x41, 0x82, 0x25, 0x3a, 0x88, 0x16, 0x7c, 0x5e, 0x66, 0x98, 0xc9, - 0x30, 0x17, 0x5c, 0xf2, 0xa0, 0x67, 0xc0, 0xb0, 0x02, 0x43, 0x0b, 0xf6, 0xf7, 0xac, 0x85, 0xe6, - 0x92, 0x72, 0x19, 0x15, 0x52, 0x94, 0x73, 0xab, 0xeb, 0xef, 0xff, 0x99, 0x95, 0x69, 0x86, 0x0b, - 0x89, 0xb2, 0xdc, 0x02, 0xd6, 0x38, 0x92, 0xab, 0x1c, 0x47, 0x14, 0x49, 0xca, 0x88, 0xcd, 0x38, - 0x63, 0x94, 0xa7, 0x11, 0x62, 0x8c, 0x4b, 0x24, 0x53, 0xce, 0x0a, 0x93, 0x1d, 0xfe, 0xaa, 0x43, - 0xfb, 0x83, 0xed, 0x31, 0x08, 0xa0, 0xc9, 0x50, 0x86, 0x7b, 0xde, 0xc0, 0x1b, 0x75, 0x62, 0xfd, - 0x1c, 0x4c, 0xa0, 0xb5, 0x4c, 0x31, 0x5d, 0x14, 0xbd, 0xfa, 0xa0, 0x31, 0xf2, 0x0f, 0xc3, 0x70, - 0xdd, 0x08, 0xa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x95, 0xbc, 0xf0, - 0xae, 0x8e, 0x2d, 0x4a, 0x38, 0x45, 0x8c, 0x84, 0x5c, 0x90, 0x88, 0x60, 0xa6, 0x2f, 0x6c, 0x64, - 0x52, 0x28, 0x4f, 0x8b, 0xbf, 0x7f, 0xc7, 0x47, 0x55, 0xe4, 0x5b, 0xbd, 0x79, 0x76, 0x32, 0xf9, - 0xfc, 0xbd, 0xfe, 0xf8, 0xcc, 0x58, 0x9d, 0x50, 0x5e, 0x2e, 0xc2, 0x49, 0x55, 0xfb, 0xf2, 0x60, - 0xac, 0x14, 0xb7, 0x0e, 0xb8, 0xd6, 0xc0, 0x75, 0x05, 0x5c, 0x5f, 0x1a, 0xcb, 0xa4, 0xa5, 0xcb, - 0xbe, 0xfa, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x00, 0x4b, 0xd9, 0xd6, 0x04, 0x06, 0x00, 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 deleted file mode 100644 index 988e48ed..00000000 --- a/vendor/google.golang.org/genproto/googleapis/firestore/v1beta1/firestore.pb.go +++ /dev/null @@ -1,3074 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/firestore/v1beta1/firestore.proto - -package firestore - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The type of change. -type TargetChange_TargetChangeType int32 - -const ( - // No change has occurred. Used only to send an updated `resume_token`. - TargetChange_NO_CHANGE TargetChange_TargetChangeType = 0 - // The targets have been added. - TargetChange_ADD TargetChange_TargetChangeType = 1 - // The targets have been removed. - TargetChange_REMOVE TargetChange_TargetChangeType = 2 - // The targets reflect all changes committed before the targets were added - // to the stream. - // - // This will be sent after or with a `read_time` that is greater than or - // equal to the time at which the targets were added. - // - // Listeners can wait for this change if read-after-write semantics - // are desired. - TargetChange_CURRENT TargetChange_TargetChangeType = 3 - // The targets have been reset, and a new initial state for the targets - // will be returned in subsequent changes. - // - // After the initial state is complete, `CURRENT` will be returned even - // if the target was previously indicated to be `CURRENT`. - TargetChange_RESET TargetChange_TargetChangeType = 4 -) - -var TargetChange_TargetChangeType_name = map[int32]string{ - 0: "NO_CHANGE", - 1: "ADD", - 2: "REMOVE", - 3: "CURRENT", - 4: "RESET", -} - -var TargetChange_TargetChangeType_value = map[string]int32{ - "NO_CHANGE": 0, - "ADD": 1, - "REMOVE": 2, - "CURRENT": 3, - "RESET": 4, -} - -func (x TargetChange_TargetChangeType) String() string { - return proto.EnumName(TargetChange_TargetChangeType_name, int32(x)) -} - -func (TargetChange_TargetChangeType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_9bc8b30a28454f4b, []int{20, 0} -} - -// The request for [Firestore.GetDocument][google.firestore.v1beta1.Firestore.GetDocument]. -type GetDocumentRequest struct { - // The resource name of the Document to get. In the format: - // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The fields to return. If not set, returns all fields. - // - // If the document has a field that is not present in this mask, that field - // will not be returned in the response. - Mask *DocumentMask `protobuf:"bytes,2,opt,name=mask,proto3" json:"mask,omitempty"` - // The consistency mode for this transaction. - // If not set, defaults to strong consistency. - // - // Types that are valid to be assigned to ConsistencySelector: - // *GetDocumentRequest_Transaction - // *GetDocumentRequest_ReadTime - ConsistencySelector isGetDocumentRequest_ConsistencySelector `protobuf_oneof:"consistency_selector"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9bc8b30a28454f4b, []int{0} -} - -func (m *GetDocumentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDocumentRequest.Unmarshal(m, b) -} -func (m *GetDocumentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDocumentRequest.Marshal(b, m, deterministic) -} -func (m *GetDocumentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDocumentRequest.Merge(m, src) -} -func (m *GetDocumentRequest) XXX_Size() int { - return xxx_messageInfo_GetDocumentRequest.Size(m) -} -func (m *GetDocumentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetDocumentRequest.DiscardUnknown(m) -} - -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() -} - -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 (m *GetDocumentRequest) GetConsistencySelector() isGetDocumentRequest_ConsistencySelector { - if m != nil { - return m.ConsistencySelector - } - return nil -} - -func (m *GetDocumentRequest) GetTransaction() []byte { - if x, ok := m.GetConsistencySelector().(*GetDocumentRequest_Transaction); ok { - return x.Transaction - } - return nil -} - -func (m *GetDocumentRequest) GetReadTime() *timestamp.Timestamp { - if x, ok := m.GetConsistencySelector().(*GetDocumentRequest_ReadTime); ok { - return x.ReadTime - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*GetDocumentRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*GetDocumentRequest_Transaction)(nil), - (*GetDocumentRequest_ReadTime)(nil), - } -} - -// The request for [Firestore.ListDocuments][google.firestore.v1beta1.Firestore.ListDocuments]. -type ListDocumentsRequest struct { - // The parent resource name. In the format: - // `projects/{project_id}/databases/{database_id}/documents` or - // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. - // For example: - // `projects/my-project/databases/my-database/documents` or - // `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom` - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The collection ID, relative to `parent`, to list. For example: `chatrooms` - // or `messages`. - CollectionId string `protobuf:"bytes,2,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` - // The maximum number of documents to return. - PageSize int32 `protobuf:"varint,3,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,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // The order to sort results by. For example: `priority desc, name`. - OrderBy string `protobuf:"bytes,6,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` - // The fields to return. If not set, returns all fields. - // - // If a document has a field that is not present in this mask, that field - // will not be returned in the response. - Mask *DocumentMask `protobuf:"bytes,7,opt,name=mask,proto3" json:"mask,omitempty"` - // The consistency mode for this transaction. - // If not set, defaults to strong consistency. - // - // Types that are valid to be assigned to ConsistencySelector: - // *ListDocumentsRequest_Transaction - // *ListDocumentsRequest_ReadTime - ConsistencySelector isListDocumentsRequest_ConsistencySelector `protobuf_oneof:"consistency_selector"` - // If the list should show missing documents. A missing document is a - // document that does not exist but has sub-documents. These documents will - // be returned with a key but will not have fields, [Document.create_time][google.firestore.v1beta1.Document.create_time], - // or [Document.update_time][google.firestore.v1beta1.Document.update_time] set. - // - // Requests with `show_missing` may not specify `where` or - // `order_by`. - ShowMissing bool `protobuf:"varint,12,opt,name=show_missing,json=showMissing,proto3" json:"show_missing,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9bc8b30a28454f4b, []int{1} -} - -func (m *ListDocumentsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDocumentsRequest.Unmarshal(m, b) -} -func (m *ListDocumentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDocumentsRequest.Marshal(b, m, deterministic) -} -func (m *ListDocumentsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDocumentsRequest.Merge(m, src) -} -func (m *ListDocumentsRequest) XXX_Size() int { - return xxx_messageInfo_ListDocumentsRequest.Size(m) -} -func (m *ListDocumentsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListDocumentsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDocumentsRequest proto.InternalMessageInfo - -func (m *ListDocumentsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListDocumentsRequest) GetCollectionId() string { - if m != nil { - return m.CollectionId - } - return "" -} - -func (m *ListDocumentsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListDocumentsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListDocumentsRequest) GetOrderBy() string { - if m != nil { - return m.OrderBy - } - return "" -} - -func (m *ListDocumentsRequest) GetMask() *DocumentMask { - if m != nil { - return m.Mask - } - 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 - } - return nil -} - -func (m *ListDocumentsRequest) GetReadTime() *timestamp.Timestamp { - if x, ok := m.GetConsistencySelector().(*ListDocumentsRequest_ReadTime); ok { - return x.ReadTime - } - return nil -} - -func (m *ListDocumentsRequest) GetShowMissing() bool { - if m != nil { - return m.ShowMissing - } - return false -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ListDocumentsRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ListDocumentsRequest_Transaction)(nil), - (*ListDocumentsRequest_ReadTime)(nil), - } -} - -// The response for [Firestore.ListDocuments][google.firestore.v1beta1.Firestore.ListDocuments]. -type ListDocumentsResponse struct { - // The Documents found. - Documents []*Document `protobuf:"bytes,1,rep,name=documents,proto3" json:"documents,omitempty"` - // The 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 *ListDocumentsResponse) Reset() { *m = ListDocumentsResponse{} } -func (m *ListDocumentsResponse) String() string { return proto.CompactTextString(m) } -func (*ListDocumentsResponse) ProtoMessage() {} -func (*ListDocumentsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9bc8b30a28454f4b, []int{2} -} - -func (m *ListDocumentsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDocumentsResponse.Unmarshal(m, b) -} -func (m *ListDocumentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDocumentsResponse.Marshal(b, m, deterministic) -} -func (m *ListDocumentsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDocumentsResponse.Merge(m, src) -} -func (m *ListDocumentsResponse) XXX_Size() int { - return xxx_messageInfo_ListDocumentsResponse.Size(m) -} -func (m *ListDocumentsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListDocumentsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDocumentsResponse proto.InternalMessageInfo - -func (m *ListDocumentsResponse) GetDocuments() []*Document { - if m != nil { - return m.Documents - } - return nil -} - -func (m *ListDocumentsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The request for [Firestore.CreateDocument][google.firestore.v1beta1.Firestore.CreateDocument]. -type CreateDocumentRequest struct { - // The parent resource. For example: - // `projects/{project_id}/databases/{database_id}/documents` or - // `projects/{project_id}/databases/{database_id}/documents/chatrooms/{chatroom_id}` - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The collection ID, relative to `parent`, to list. For example: `chatrooms`. - CollectionId string `protobuf:"bytes,2,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` - // The client-assigned document ID to use for this document. - // - // Optional. If not specified, an ID will be assigned by the service. - DocumentId string `protobuf:"bytes,3,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"` - // The document to create. `name` must not be set. - Document *Document `protobuf:"bytes,4,opt,name=document,proto3" json:"document,omitempty"` - // The fields to return. If not set, returns all fields. - // - // If the document has a field that is not present in this mask, that field - // will not be returned in the response. - Mask *DocumentMask `protobuf:"bytes,5,opt,name=mask,proto3" json:"mask,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9bc8b30a28454f4b, []int{3} -} - -func (m *CreateDocumentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateDocumentRequest.Unmarshal(m, b) -} -func (m *CreateDocumentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateDocumentRequest.Marshal(b, m, deterministic) -} -func (m *CreateDocumentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateDocumentRequest.Merge(m, src) -} -func (m *CreateDocumentRequest) XXX_Size() int { - return xxx_messageInfo_CreateDocumentRequest.Size(m) -} -func (m *CreateDocumentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateDocumentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateDocumentRequest proto.InternalMessageInfo - -func (m *CreateDocumentRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateDocumentRequest) GetCollectionId() string { - if m != nil { - return m.CollectionId - } - return "" -} - -func (m *CreateDocumentRequest) GetDocumentId() string { - if m != nil { - return m.DocumentId - } - return "" -} - -func (m *CreateDocumentRequest) GetDocument() *Document { - if m != nil { - return m.Document - } - return nil -} - -func (m *CreateDocumentRequest) GetMask() *DocumentMask { - if m != nil { - return m.Mask - } - return nil -} - -// The request for [Firestore.UpdateDocument][google.firestore.v1beta1.Firestore.UpdateDocument]. -type UpdateDocumentRequest struct { - // The updated document. - // Creates the document if it does not already exist. - Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` - // The fields to 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. - // Fields referenced in the mask, but not present in the input document, are - // deleted from the document on the server. - UpdateMask *DocumentMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` - // The fields to return. If not set, returns all fields. - // - // If the document has a field that is not present in this mask, that field - // will not be returned in the response. - Mask *DocumentMask `protobuf:"bytes,3,opt,name=mask,proto3" json:"mask,omitempty"` - // An optional precondition on the document. - // The request will fail if this is set and not met by the target document. - CurrentDocument *Precondition `protobuf:"bytes,4,opt,name=current_document,json=currentDocument,proto3" json:"current_document,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9bc8b30a28454f4b, []int{4} -} - -func (m *UpdateDocumentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateDocumentRequest.Unmarshal(m, b) -} -func (m *UpdateDocumentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateDocumentRequest.Marshal(b, m, deterministic) -} -func (m *UpdateDocumentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateDocumentRequest.Merge(m, src) -} -func (m *UpdateDocumentRequest) XXX_Size() int { - return xxx_messageInfo_UpdateDocumentRequest.Size(m) -} -func (m *UpdateDocumentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateDocumentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateDocumentRequest proto.InternalMessageInfo - -func (m *UpdateDocumentRequest) GetDocument() *Document { - if m != nil { - return m.Document - } - return nil -} - -func (m *UpdateDocumentRequest) GetUpdateMask() *DocumentMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -func (m *UpdateDocumentRequest) GetMask() *DocumentMask { - if m != nil { - return m.Mask - } - return nil -} - -func (m *UpdateDocumentRequest) GetCurrentDocument() *Precondition { - if m != nil { - return m.CurrentDocument - } - return nil -} - -// The request for [Firestore.DeleteDocument][google.firestore.v1beta1.Firestore.DeleteDocument]. -type DeleteDocumentRequest struct { - // The resource name of the Document to delete. In the format: - // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // An optional precondition on the document. - // The request will fail if this is set and not met by the target document. - CurrentDocument *Precondition `protobuf:"bytes,2,opt,name=current_document,json=currentDocument,proto3" json:"current_document,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9bc8b30a28454f4b, []int{5} -} - -func (m *DeleteDocumentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteDocumentRequest.Unmarshal(m, b) -} -func (m *DeleteDocumentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteDocumentRequest.Marshal(b, m, deterministic) -} -func (m *DeleteDocumentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteDocumentRequest.Merge(m, src) -} -func (m *DeleteDocumentRequest) XXX_Size() int { - return xxx_messageInfo_DeleteDocumentRequest.Size(m) -} -func (m *DeleteDocumentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteDocumentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteDocumentRequest proto.InternalMessageInfo - -func (m *DeleteDocumentRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *DeleteDocumentRequest) GetCurrentDocument() *Precondition { - if m != nil { - return m.CurrentDocument - } - return nil -} - -// The request for [Firestore.BatchGetDocuments][google.firestore.v1beta1.Firestore.BatchGetDocuments]. -type BatchGetDocumentsRequest struct { - // The database name. In the format: - // `projects/{project_id}/databases/{database_id}`. - Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` - // The names of the documents to retrieve. In the format: - // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. - // The request will fail if any of the document is not a child resource of the - // given `database`. Duplicate names will be elided. - Documents []string `protobuf:"bytes,2,rep,name=documents,proto3" json:"documents,omitempty"` - // The fields to return. If not set, returns all fields. - // - // If a document has a field that is not present in this mask, that field will - // not be returned in the response. - Mask *DocumentMask `protobuf:"bytes,3,opt,name=mask,proto3" json:"mask,omitempty"` - // The consistency mode for this transaction. - // If not set, defaults to strong consistency. - // - // Types that are valid to be assigned to ConsistencySelector: - // *BatchGetDocumentsRequest_Transaction - // *BatchGetDocumentsRequest_NewTransaction - // *BatchGetDocumentsRequest_ReadTime - ConsistencySelector isBatchGetDocumentsRequest_ConsistencySelector `protobuf_oneof:"consistency_selector"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchGetDocumentsRequest) Reset() { *m = BatchGetDocumentsRequest{} } -func (m *BatchGetDocumentsRequest) String() string { return proto.CompactTextString(m) } -func (*BatchGetDocumentsRequest) ProtoMessage() {} -func (*BatchGetDocumentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9bc8b30a28454f4b, []int{6} -} - -func (m *BatchGetDocumentsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchGetDocumentsRequest.Unmarshal(m, b) -} -func (m *BatchGetDocumentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchGetDocumentsRequest.Marshal(b, m, deterministic) -} -func (m *BatchGetDocumentsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchGetDocumentsRequest.Merge(m, src) -} -func (m *BatchGetDocumentsRequest) XXX_Size() int { - return xxx_messageInfo_BatchGetDocumentsRequest.Size(m) -} -func (m *BatchGetDocumentsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchGetDocumentsRequest.DiscardUnknown(m) -} - -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() -} - -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_NewTransaction) isBatchGetDocumentsRequest_ConsistencySelector() {} - -func (*BatchGetDocumentsRequest_ReadTime) isBatchGetDocumentsRequest_ConsistencySelector() {} - -func (m *BatchGetDocumentsRequest) GetConsistencySelector() isBatchGetDocumentsRequest_ConsistencySelector { - if m != nil { - return m.ConsistencySelector - } - return nil -} - -func (m *BatchGetDocumentsRequest) GetTransaction() []byte { - if x, ok := m.GetConsistencySelector().(*BatchGetDocumentsRequest_Transaction); ok { - return x.Transaction - } - return nil -} - -func (m *BatchGetDocumentsRequest) GetNewTransaction() *TransactionOptions { - if x, ok := m.GetConsistencySelector().(*BatchGetDocumentsRequest_NewTransaction); ok { - return x.NewTransaction - } - return nil -} - -func (m *BatchGetDocumentsRequest) GetReadTime() *timestamp.Timestamp { - if x, ok := m.GetConsistencySelector().(*BatchGetDocumentsRequest_ReadTime); ok { - return x.ReadTime - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*BatchGetDocumentsRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*BatchGetDocumentsRequest_Transaction)(nil), - (*BatchGetDocumentsRequest_NewTransaction)(nil), - (*BatchGetDocumentsRequest_ReadTime)(nil), - } -} - -// The streamed response for [Firestore.BatchGetDocuments][google.firestore.v1beta1.Firestore.BatchGetDocuments]. -type BatchGetDocumentsResponse struct { - // A single result. - // This can be empty if the server is just returning a transaction. - // - // Types that are valid to be assigned to Result: - // *BatchGetDocumentsResponse_Found - // *BatchGetDocumentsResponse_Missing - Result isBatchGetDocumentsResponse_Result `protobuf_oneof:"result"` - // The transaction that was started as part of this request. - // Will only be set in the first response, and only if - // [BatchGetDocumentsRequest.new_transaction][google.firestore.v1beta1.BatchGetDocumentsRequest.new_transaction] was set in the request. - Transaction []byte `protobuf:"bytes,3,opt,name=transaction,proto3" json:"transaction,omitempty"` - // The time at which the document was read. - // This may be monotically increasing, in this case the previous documents in - // the result stream are guaranteed not to have changed between their - // read_time and this one. - ReadTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchGetDocumentsResponse) Reset() { *m = BatchGetDocumentsResponse{} } -func (m *BatchGetDocumentsResponse) String() string { return proto.CompactTextString(m) } -func (*BatchGetDocumentsResponse) ProtoMessage() {} -func (*BatchGetDocumentsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9bc8b30a28454f4b, []int{7} -} - -func (m *BatchGetDocumentsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchGetDocumentsResponse.Unmarshal(m, b) -} -func (m *BatchGetDocumentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchGetDocumentsResponse.Marshal(b, m, deterministic) -} -func (m *BatchGetDocumentsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchGetDocumentsResponse.Merge(m, src) -} -func (m *BatchGetDocumentsResponse) XXX_Size() int { - return xxx_messageInfo_BatchGetDocumentsResponse.Size(m) -} -func (m *BatchGetDocumentsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BatchGetDocumentsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchGetDocumentsResponse proto.InternalMessageInfo - -type isBatchGetDocumentsResponse_Result interface { - isBatchGetDocumentsResponse_Result() -} - -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_Missing) isBatchGetDocumentsResponse_Result() {} - -func (m *BatchGetDocumentsResponse) GetResult() isBatchGetDocumentsResponse_Result { - if m != nil { - return m.Result - } - return nil -} - -func (m *BatchGetDocumentsResponse) GetFound() *Document { - if x, ok := m.GetResult().(*BatchGetDocumentsResponse_Found); ok { - return x.Found - } - return nil -} - -func (m *BatchGetDocumentsResponse) GetMissing() string { - if x, ok := m.GetResult().(*BatchGetDocumentsResponse_Missing); ok { - return x.Missing - } - return "" -} - -func (m *BatchGetDocumentsResponse) GetTransaction() []byte { - if m != nil { - return m.Transaction - } - return nil -} - -func (m *BatchGetDocumentsResponse) GetReadTime() *timestamp.Timestamp { - if m != nil { - return m.ReadTime - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*BatchGetDocumentsResponse) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*BatchGetDocumentsResponse_Found)(nil), - (*BatchGetDocumentsResponse_Missing)(nil), - } -} - -// The request for [Firestore.BeginTransaction][google.firestore.v1beta1.Firestore.BeginTransaction]. -type BeginTransactionRequest struct { - // The database name. In the format: - // `projects/{project_id}/databases/{database_id}`. - Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` - // The options for the transaction. - // Defaults to a read-write transaction. - Options *TransactionOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9bc8b30a28454f4b, []int{8} -} - -func (m *BeginTransactionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BeginTransactionRequest.Unmarshal(m, b) -} -func (m *BeginTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BeginTransactionRequest.Marshal(b, m, deterministic) -} -func (m *BeginTransactionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BeginTransactionRequest.Merge(m, src) -} -func (m *BeginTransactionRequest) XXX_Size() int { - return xxx_messageInfo_BeginTransactionRequest.Size(m) -} -func (m *BeginTransactionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BeginTransactionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BeginTransactionRequest proto.InternalMessageInfo - -func (m *BeginTransactionRequest) GetDatabase() string { - if m != nil { - return m.Database - } - return "" -} - -func (m *BeginTransactionRequest) GetOptions() *TransactionOptions { - if m != nil { - return m.Options - } - return nil -} - -// The response for [Firestore.BeginTransaction][google.firestore.v1beta1.Firestore.BeginTransaction]. -type BeginTransactionResponse struct { - // The transaction that was started. - Transaction []byte `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BeginTransactionResponse) Reset() { *m = BeginTransactionResponse{} } -func (m *BeginTransactionResponse) String() string { return proto.CompactTextString(m) } -func (*BeginTransactionResponse) ProtoMessage() {} -func (*BeginTransactionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9bc8b30a28454f4b, []int{9} -} - -func (m *BeginTransactionResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BeginTransactionResponse.Unmarshal(m, b) -} -func (m *BeginTransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BeginTransactionResponse.Marshal(b, m, deterministic) -} -func (m *BeginTransactionResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BeginTransactionResponse.Merge(m, src) -} -func (m *BeginTransactionResponse) XXX_Size() int { - return xxx_messageInfo_BeginTransactionResponse.Size(m) -} -func (m *BeginTransactionResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BeginTransactionResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_BeginTransactionResponse proto.InternalMessageInfo - -func (m *BeginTransactionResponse) GetTransaction() []byte { - if m != nil { - return m.Transaction - } - return nil -} - -// The request for [Firestore.Commit][google.firestore.v1beta1.Firestore.Commit]. -type CommitRequest struct { - // The database name. In the format: - // `projects/{project_id}/databases/{database_id}`. - Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` - // The writes to apply. - // - // Always executed atomically and in order. - Writes []*Write `protobuf:"bytes,2,rep,name=writes,proto3" json:"writes,omitempty"` - // If set, applies all writes in this transaction, and commits it. - Transaction []byte `protobuf:"bytes,3,opt,name=transaction,proto3" json:"transaction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9bc8b30a28454f4b, []int{10} -} - -func (m *CommitRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommitRequest.Unmarshal(m, b) -} -func (m *CommitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommitRequest.Marshal(b, m, deterministic) -} -func (m *CommitRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommitRequest.Merge(m, src) -} -func (m *CommitRequest) XXX_Size() int { - return xxx_messageInfo_CommitRequest.Size(m) -} -func (m *CommitRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CommitRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CommitRequest proto.InternalMessageInfo - -func (m *CommitRequest) GetDatabase() string { - if m != nil { - return m.Database - } - return "" -} - -func (m *CommitRequest) GetWrites() []*Write { - if m != nil { - return m.Writes - } - return nil -} - -func (m *CommitRequest) GetTransaction() []byte { - if m != nil { - return m.Transaction - } - return nil -} - -// The response for [Firestore.Commit][google.firestore.v1beta1.Firestore.Commit]. -type CommitResponse struct { - // The result of applying the writes. - // - // This i-th write result corresponds to the i-th write in the - // request. - WriteResults []*WriteResult `protobuf:"bytes,1,rep,name=write_results,json=writeResults,proto3" json:"write_results,omitempty"` - // The time at which the commit occurred. - CommitTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=commit_time,json=commitTime,proto3" json:"commit_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9bc8b30a28454f4b, []int{11} -} - -func (m *CommitResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommitResponse.Unmarshal(m, b) -} -func (m *CommitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommitResponse.Marshal(b, m, deterministic) -} -func (m *CommitResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommitResponse.Merge(m, src) -} -func (m *CommitResponse) XXX_Size() int { - return xxx_messageInfo_CommitResponse.Size(m) -} -func (m *CommitResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CommitResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_CommitResponse proto.InternalMessageInfo - -func (m *CommitResponse) GetWriteResults() []*WriteResult { - if m != nil { - return m.WriteResults - } - return nil -} - -func (m *CommitResponse) GetCommitTime() *timestamp.Timestamp { - if m != nil { - return m.CommitTime - } - return nil -} - -// The request for [Firestore.Rollback][google.firestore.v1beta1.Firestore.Rollback]. -type RollbackRequest struct { - // The database name. In the format: - // `projects/{project_id}/databases/{database_id}`. - Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` - // The transaction to roll back. - Transaction []byte `protobuf:"bytes,2,opt,name=transaction,proto3" json:"transaction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9bc8b30a28454f4b, []int{12} -} - -func (m *RollbackRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RollbackRequest.Unmarshal(m, b) -} -func (m *RollbackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RollbackRequest.Marshal(b, m, deterministic) -} -func (m *RollbackRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RollbackRequest.Merge(m, src) -} -func (m *RollbackRequest) XXX_Size() int { - return xxx_messageInfo_RollbackRequest.Size(m) -} -func (m *RollbackRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RollbackRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_RollbackRequest proto.InternalMessageInfo - -func (m *RollbackRequest) GetDatabase() string { - if m != nil { - return m.Database - } - return "" -} - -func (m *RollbackRequest) GetTransaction() []byte { - if m != nil { - return m.Transaction - } - return nil -} - -// The request for [Firestore.RunQuery][google.firestore.v1beta1.Firestore.RunQuery]. -type RunQueryRequest struct { - // The parent resource name. In the format: - // `projects/{project_id}/databases/{database_id}/documents` or - // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. - // For example: - // `projects/my-project/databases/my-database/documents` or - // `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom` - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The query to run. - // - // Types that are valid to be assigned to QueryType: - // *RunQueryRequest_StructuredQuery - QueryType isRunQueryRequest_QueryType `protobuf_oneof:"query_type"` - // The consistency mode for this transaction. - // If not set, defaults to strong consistency. - // - // Types that are valid to be assigned to ConsistencySelector: - // *RunQueryRequest_Transaction - // *RunQueryRequest_NewTransaction - // *RunQueryRequest_ReadTime - ConsistencySelector isRunQueryRequest_ConsistencySelector `protobuf_oneof:"consistency_selector"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9bc8b30a28454f4b, []int{13} -} - -func (m *RunQueryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RunQueryRequest.Unmarshal(m, b) -} -func (m *RunQueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RunQueryRequest.Marshal(b, m, deterministic) -} -func (m *RunQueryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RunQueryRequest.Merge(m, src) -} -func (m *RunQueryRequest) XXX_Size() int { - return xxx_messageInfo_RunQueryRequest.Size(m) -} -func (m *RunQueryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RunQueryRequest.DiscardUnknown(m) -} - -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 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_Transaction) isRunQueryRequest_ConsistencySelector() {} - -func (*RunQueryRequest_NewTransaction) isRunQueryRequest_ConsistencySelector() {} - -func (*RunQueryRequest_ReadTime) isRunQueryRequest_ConsistencySelector() {} - -func (m *RunQueryRequest) GetConsistencySelector() isRunQueryRequest_ConsistencySelector { - if m != nil { - return m.ConsistencySelector - } - return nil -} - -func (m *RunQueryRequest) GetTransaction() []byte { - if x, ok := m.GetConsistencySelector().(*RunQueryRequest_Transaction); ok { - return x.Transaction - } - return nil -} - -func (m *RunQueryRequest) GetNewTransaction() *TransactionOptions { - if x, ok := m.GetConsistencySelector().(*RunQueryRequest_NewTransaction); ok { - return x.NewTransaction - } - return nil -} - -func (m *RunQueryRequest) GetReadTime() *timestamp.Timestamp { - if x, ok := m.GetConsistencySelector().(*RunQueryRequest_ReadTime); ok { - return x.ReadTime - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*RunQueryRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*RunQueryRequest_StructuredQuery)(nil), - (*RunQueryRequest_Transaction)(nil), - (*RunQueryRequest_NewTransaction)(nil), - (*RunQueryRequest_ReadTime)(nil), - } -} - -// The response for [Firestore.RunQuery][google.firestore.v1beta1.Firestore.RunQuery]. -type RunQueryResponse struct { - // The transaction that was started as part of this request. - // Can only be set in the first response, and only if - // [RunQueryRequest.new_transaction][google.firestore.v1beta1.RunQueryRequest.new_transaction] was set in the request. - // If set, no other fields will be set in this response. - Transaction []byte `protobuf:"bytes,2,opt,name=transaction,proto3" json:"transaction,omitempty"` - // A query result. - // Not set when reporting partial progress. - Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` - // The time at which the document was read. This may be monotonically - // increasing; in this case, the previous documents in the result stream are - // guaranteed not to have changed between their `read_time` and this one. - // - // If the query returns no results, a response with `read_time` and no - // `document` will be sent, and this represents the time at which the query - // was run. - ReadTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` - // The number of results that have been skipped due to an offset between - // the last response and the current response. - SkippedResults int32 `protobuf:"varint,4,opt,name=skipped_results,json=skippedResults,proto3" json:"skipped_results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9bc8b30a28454f4b, []int{14} -} - -func (m *RunQueryResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RunQueryResponse.Unmarshal(m, b) -} -func (m *RunQueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RunQueryResponse.Marshal(b, m, deterministic) -} -func (m *RunQueryResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RunQueryResponse.Merge(m, src) -} -func (m *RunQueryResponse) XXX_Size() int { - return xxx_messageInfo_RunQueryResponse.Size(m) -} -func (m *RunQueryResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RunQueryResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_RunQueryResponse proto.InternalMessageInfo - -func (m *RunQueryResponse) GetTransaction() []byte { - if m != nil { - return m.Transaction - } - return nil -} - -func (m *RunQueryResponse) GetDocument() *Document { - if m != nil { - return m.Document - } - return nil -} - -func (m *RunQueryResponse) GetReadTime() *timestamp.Timestamp { - if m != nil { - return m.ReadTime - } - return nil -} - -func (m *RunQueryResponse) GetSkippedResults() int32 { - if m != nil { - return m.SkippedResults - } - return 0 -} - -// The request for [Firestore.Write][google.firestore.v1beta1.Firestore.Write]. -// -// The first request creates a stream, or resumes an existing one from a token. -// -// When creating a new stream, the server replies with a response containing -// only an ID and a token, to use in the next request. -// -// When resuming a stream, the server first streams any responses later than the -// given token, then a response containing only an up-to-date token, to use in -// the next request. -type WriteRequest struct { - // The database name. In the format: - // `projects/{project_id}/databases/{database_id}`. - // This is only required in the first message. - Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` - // The ID of the write stream to resume. - // This may only be set in the first message. When left empty, a new write - // stream will be created. - StreamId string `protobuf:"bytes,2,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` - // The writes to apply. - // - // Always executed atomically and in order. - // This must be empty on the first request. - // This may be empty on the last request. - // This must not be empty on all other requests. - Writes []*Write `protobuf:"bytes,3,rep,name=writes,proto3" json:"writes,omitempty"` - // A stream token that was previously sent by the server. - // - // The client should set this field to the token from the most recent - // [WriteResponse][google.firestore.v1beta1.WriteResponse] it has received. This acknowledges that the client has - // received responses up to this token. After sending this token, earlier - // tokens may not be used anymore. - // - // The server may close the stream if there are too many unacknowledged - // responses. - // - // Leave this field unset when creating a new stream. To resume a stream at - // a specific point, set this field and the `stream_id` field. - // - // Leave this field unset when creating a new stream. - StreamToken []byte `protobuf:"bytes,4,opt,name=stream_token,json=streamToken,proto3" json:"stream_token,omitempty"` - // Labels associated with this write request. - Labels map[string]string `protobuf:"bytes,5,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 *WriteRequest) Reset() { *m = WriteRequest{} } -func (m *WriteRequest) String() string { return proto.CompactTextString(m) } -func (*WriteRequest) ProtoMessage() {} -func (*WriteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9bc8b30a28454f4b, []int{15} -} - -func (m *WriteRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WriteRequest.Unmarshal(m, b) -} -func (m *WriteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WriteRequest.Marshal(b, m, deterministic) -} -func (m *WriteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WriteRequest.Merge(m, src) -} -func (m *WriteRequest) XXX_Size() int { - return xxx_messageInfo_WriteRequest.Size(m) -} -func (m *WriteRequest) XXX_DiscardUnknown() { - xxx_messageInfo_WriteRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_WriteRequest proto.InternalMessageInfo - -func (m *WriteRequest) GetDatabase() string { - if m != nil { - return m.Database - } - return "" -} - -func (m *WriteRequest) GetStreamId() string { - if m != nil { - return m.StreamId - } - return "" -} - -func (m *WriteRequest) GetWrites() []*Write { - if m != nil { - return m.Writes - } - return nil -} - -func (m *WriteRequest) GetStreamToken() []byte { - if m != nil { - return m.StreamToken - } - return nil -} - -func (m *WriteRequest) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -// The response for [Firestore.Write][google.firestore.v1beta1.Firestore.Write]. -type WriteResponse struct { - // The ID of the stream. - // Only set on the first message, when a new stream was created. - StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` - // A token that represents the position of this response in the stream. - // This can be used by a client to resume the stream at this point. - // - // This field is always set. - StreamToken []byte `protobuf:"bytes,2,opt,name=stream_token,json=streamToken,proto3" json:"stream_token,omitempty"` - // The result of applying the writes. - // - // This i-th write result corresponds to the i-th write in the - // request. - WriteResults []*WriteResult `protobuf:"bytes,3,rep,name=write_results,json=writeResults,proto3" json:"write_results,omitempty"` - // The time at which the commit occurred. - CommitTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=commit_time,json=commitTime,proto3" json:"commit_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9bc8b30a28454f4b, []int{16} -} - -func (m *WriteResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WriteResponse.Unmarshal(m, b) -} -func (m *WriteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WriteResponse.Marshal(b, m, deterministic) -} -func (m *WriteResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_WriteResponse.Merge(m, src) -} -func (m *WriteResponse) XXX_Size() int { - return xxx_messageInfo_WriteResponse.Size(m) -} -func (m *WriteResponse) XXX_DiscardUnknown() { - xxx_messageInfo_WriteResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_WriteResponse proto.InternalMessageInfo - -func (m *WriteResponse) GetStreamId() string { - if m != nil { - return m.StreamId - } - return "" -} - -func (m *WriteResponse) GetStreamToken() []byte { - if m != nil { - return m.StreamToken - } - return nil -} - -func (m *WriteResponse) GetWriteResults() []*WriteResult { - if m != nil { - return m.WriteResults - } - return nil -} - -func (m *WriteResponse) GetCommitTime() *timestamp.Timestamp { - if m != nil { - return m.CommitTime - } - return nil -} - -// A request for [Firestore.Listen][google.firestore.v1beta1.Firestore.Listen] -type ListenRequest struct { - // The database name. In the format: - // `projects/{project_id}/databases/{database_id}`. - Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` - // The supported target changes. - // - // Types that are valid to be assigned to TargetChange: - // *ListenRequest_AddTarget - // *ListenRequest_RemoveTarget - TargetChange isListenRequest_TargetChange `protobuf_oneof:"target_change"` - // Labels associated with this target change. - 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 *ListenRequest) Reset() { *m = ListenRequest{} } -func (m *ListenRequest) String() string { return proto.CompactTextString(m) } -func (*ListenRequest) ProtoMessage() {} -func (*ListenRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9bc8b30a28454f4b, []int{17} -} - -func (m *ListenRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListenRequest.Unmarshal(m, b) -} -func (m *ListenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListenRequest.Marshal(b, m, deterministic) -} -func (m *ListenRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListenRequest.Merge(m, src) -} -func (m *ListenRequest) XXX_Size() int { - return xxx_messageInfo_ListenRequest.Size(m) -} -func (m *ListenRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListenRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListenRequest proto.InternalMessageInfo - -func (m *ListenRequest) GetDatabase() string { - if m != nil { - return m.Database - } - return "" -} - -type isListenRequest_TargetChange interface { - isListenRequest_TargetChange() -} - -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_RemoveTarget) isListenRequest_TargetChange() {} - -func (m *ListenRequest) GetTargetChange() isListenRequest_TargetChange { - if m != nil { - return m.TargetChange - } - return nil -} - -func (m *ListenRequest) GetAddTarget() *Target { - if x, ok := m.GetTargetChange().(*ListenRequest_AddTarget); ok { - return x.AddTarget - } - return nil -} - -func (m *ListenRequest) GetRemoveTarget() int32 { - if x, ok := m.GetTargetChange().(*ListenRequest_RemoveTarget); ok { - return x.RemoveTarget - } - return 0 -} - -func (m *ListenRequest) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ListenRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ListenRequest_AddTarget)(nil), - (*ListenRequest_RemoveTarget)(nil), - } -} - -// The response for [Firestore.Listen][google.firestore.v1beta1.Firestore.Listen]. -type ListenResponse struct { - // The supported responses. - // - // Types that are valid to be assigned to ResponseType: - // *ListenResponse_TargetChange - // *ListenResponse_DocumentChange - // *ListenResponse_DocumentDelete - // *ListenResponse_DocumentRemove - // *ListenResponse_Filter - ResponseType isListenResponse_ResponseType `protobuf_oneof:"response_type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9bc8b30a28454f4b, []int{18} -} - -func (m *ListenResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListenResponse.Unmarshal(m, b) -} -func (m *ListenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListenResponse.Marshal(b, m, deterministic) -} -func (m *ListenResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListenResponse.Merge(m, src) -} -func (m *ListenResponse) XXX_Size() int { - return xxx_messageInfo_ListenResponse.Size(m) -} -func (m *ListenResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListenResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListenResponse proto.InternalMessageInfo - -type isListenResponse_ResponseType interface { - isListenResponse_ResponseType() -} - -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_DocumentChange) isListenResponse_ResponseType() {} - -func (*ListenResponse_DocumentDelete) isListenResponse_ResponseType() {} - -func (*ListenResponse_DocumentRemove) isListenResponse_ResponseType() {} - -func (*ListenResponse_Filter) isListenResponse_ResponseType() {} - -func (m *ListenResponse) GetResponseType() isListenResponse_ResponseType { - if m != nil { - return m.ResponseType - } - return nil -} - -func (m *ListenResponse) GetTargetChange() *TargetChange { - if x, ok := m.GetResponseType().(*ListenResponse_TargetChange); ok { - return x.TargetChange - } - return nil -} - -func (m *ListenResponse) GetDocumentChange() *DocumentChange { - if x, ok := m.GetResponseType().(*ListenResponse_DocumentChange); ok { - return x.DocumentChange - } - return nil -} - -func (m *ListenResponse) GetDocumentDelete() *DocumentDelete { - if x, ok := m.GetResponseType().(*ListenResponse_DocumentDelete); ok { - return x.DocumentDelete - } - return nil -} - -func (m *ListenResponse) GetDocumentRemove() *DocumentRemove { - if x, ok := m.GetResponseType().(*ListenResponse_DocumentRemove); ok { - return x.DocumentRemove - } - return nil -} - -func (m *ListenResponse) GetFilter() *ExistenceFilter { - if x, ok := m.GetResponseType().(*ListenResponse_Filter); ok { - return x.Filter - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ListenResponse) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ListenResponse_TargetChange)(nil), - (*ListenResponse_DocumentChange)(nil), - (*ListenResponse_DocumentDelete)(nil), - (*ListenResponse_DocumentRemove)(nil), - (*ListenResponse_Filter)(nil), - } -} - -// A specification of a set of documents to listen to. -type Target struct { - // The type of target to listen to. - // - // Types that are valid to be assigned to TargetType: - // *Target_Query - // *Target_Documents - TargetType isTarget_TargetType `protobuf_oneof:"target_type"` - // When to start listening. - // - // If not specified, all matching Documents are returned before any - // subsequent changes. - // - // Types that are valid to be assigned to ResumeType: - // *Target_ResumeToken - // *Target_ReadTime - ResumeType isTarget_ResumeType `protobuf_oneof:"resume_type"` - // The target ID that identifies the target on the stream. Must be a positive - // number and non-zero. - TargetId int32 `protobuf:"varint,5,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"` - // If the target should be removed once it is current and consistent. - Once bool `protobuf:"varint,6,opt,name=once,proto3" json:"once,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9bc8b30a28454f4b, []int{19} -} - -func (m *Target) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Target.Unmarshal(m, b) -} -func (m *Target) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Target.Marshal(b, m, deterministic) -} -func (m *Target) XXX_Merge(src proto.Message) { - xxx_messageInfo_Target.Merge(m, src) -} -func (m *Target) XXX_Size() int { - return xxx_messageInfo_Target.Size(m) -} -func (m *Target) XXX_DiscardUnknown() { - xxx_messageInfo_Target.DiscardUnknown(m) -} - -var xxx_messageInfo_Target proto.InternalMessageInfo - -type isTarget_TargetType interface { - isTarget_TargetType() -} - -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"` -} - -func (*Target_Query) isTarget_TargetType() {} - -func (*Target_Documents) isTarget_TargetType() {} - -func (m *Target) GetTargetType() isTarget_TargetType { - if m != nil { - return m.TargetType - } - return nil -} - -func (m *Target) GetQuery() *Target_QueryTarget { - if x, ok := m.GetTargetType().(*Target_Query); ok { - return x.Query - } - return nil -} - -func (m *Target) GetDocuments() *Target_DocumentsTarget { - if x, ok := m.GetTargetType().(*Target_Documents); ok { - return x.Documents - } - 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 - } - return nil -} - -func (m *Target) GetReadTime() *timestamp.Timestamp { - if x, ok := m.GetResumeType().(*Target_ReadTime); ok { - return x.ReadTime - } - return nil -} - -func (m *Target) GetTargetId() int32 { - if m != nil { - return m.TargetId - } - return 0 -} - -func (m *Target) GetOnce() bool { - if m != nil { - return m.Once - } - return false -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Target) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Target_Query)(nil), - (*Target_Documents)(nil), - (*Target_ResumeToken)(nil), - (*Target_ReadTime)(nil), - } -} - -// A target specified by a set of documents names. -type Target_DocumentsTarget struct { - // The names of the documents to retrieve. In the format: - // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. - // The request will fail if any of the document is not a child resource of - // the given `database`. Duplicate names will be elided. - Documents []string `protobuf:"bytes,2,rep,name=documents,proto3" json:"documents,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9bc8b30a28454f4b, []int{19, 0} -} - -func (m *Target_DocumentsTarget) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Target_DocumentsTarget.Unmarshal(m, b) -} -func (m *Target_DocumentsTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Target_DocumentsTarget.Marshal(b, m, deterministic) -} -func (m *Target_DocumentsTarget) XXX_Merge(src proto.Message) { - xxx_messageInfo_Target_DocumentsTarget.Merge(m, src) -} -func (m *Target_DocumentsTarget) XXX_Size() int { - return xxx_messageInfo_Target_DocumentsTarget.Size(m) -} -func (m *Target_DocumentsTarget) XXX_DiscardUnknown() { - xxx_messageInfo_Target_DocumentsTarget.DiscardUnknown(m) -} - -var xxx_messageInfo_Target_DocumentsTarget proto.InternalMessageInfo - -func (m *Target_DocumentsTarget) GetDocuments() []string { - if m != nil { - return m.Documents - } - return nil -} - -// A target specified by a query. -type Target_QueryTarget struct { - // The parent resource name. In the format: - // `projects/{project_id}/databases/{database_id}/documents` or - // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. - // For example: - // `projects/my-project/databases/my-database/documents` or - // `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom` - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The query to run. - // - // Types that are valid to be assigned to QueryType: - // *Target_QueryTarget_StructuredQuery - QueryType isTarget_QueryTarget_QueryType `protobuf_oneof:"query_type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9bc8b30a28454f4b, []int{19, 1} -} - -func (m *Target_QueryTarget) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Target_QueryTarget.Unmarshal(m, b) -} -func (m *Target_QueryTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Target_QueryTarget.Marshal(b, m, deterministic) -} -func (m *Target_QueryTarget) XXX_Merge(src proto.Message) { - xxx_messageInfo_Target_QueryTarget.Merge(m, src) -} -func (m *Target_QueryTarget) XXX_Size() int { - return xxx_messageInfo_Target_QueryTarget.Size(m) -} -func (m *Target_QueryTarget) XXX_DiscardUnknown() { - xxx_messageInfo_Target_QueryTarget.DiscardUnknown(m) -} - -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() -} - -type Target_QueryTarget_StructuredQuery struct { - StructuredQuery *StructuredQuery `protobuf:"bytes,2,opt,name=structured_query,json=structuredQuery,proto3,oneof"` -} - -func (*Target_QueryTarget_StructuredQuery) isTarget_QueryTarget_QueryType() {} - -func (m *Target_QueryTarget) GetQueryType() isTarget_QueryTarget_QueryType { - if m != nil { - return m.QueryType - } - return nil -} - -func (m *Target_QueryTarget) GetStructuredQuery() *StructuredQuery { - if x, ok := m.GetQueryType().(*Target_QueryTarget_StructuredQuery); ok { - return x.StructuredQuery - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Target_QueryTarget) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Target_QueryTarget_StructuredQuery)(nil), - } -} - -// Targets being watched have changed. -type TargetChange struct { - // The type of change that occurred. - TargetChangeType TargetChange_TargetChangeType `protobuf:"varint,1,opt,name=target_change_type,json=targetChangeType,proto3,enum=google.firestore.v1beta1.TargetChange_TargetChangeType" json:"target_change_type,omitempty"` - // The target IDs of targets that have changed. - // - // If empty, the change applies to all targets. - // - // The order of the target IDs is not defined. - TargetIds []int32 `protobuf:"varint,2,rep,packed,name=target_ids,json=targetIds,proto3" json:"target_ids,omitempty"` - // The error that resulted in this change, if applicable. - Cause *status.Status `protobuf:"bytes,3,opt,name=cause,proto3" json:"cause,omitempty"` - // A token that can be used to resume the stream for the given `target_ids`, - // or all targets if `target_ids` is empty. - // - // Not set on every target change. - ResumeToken []byte `protobuf:"bytes,4,opt,name=resume_token,json=resumeToken,proto3" json:"resume_token,omitempty"` - // The consistent `read_time` for the given `target_ids` (omitted when the - // target_ids are not at a consistent snapshot). - // - // The stream is guaranteed to send a `read_time` with `target_ids` empty - // whenever the entire stream reaches a new consistent snapshot. ADD, - // CURRENT, and RESET messages are guaranteed to (eventually) result in a - // new consistent snapshot (while NO_CHANGE and REMOVE messages are not). - // - // For a given stream, `read_time` is guaranteed to be monotonically - // increasing. - ReadTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9bc8b30a28454f4b, []int{20} -} - -func (m *TargetChange) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TargetChange.Unmarshal(m, b) -} -func (m *TargetChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TargetChange.Marshal(b, m, deterministic) -} -func (m *TargetChange) XXX_Merge(src proto.Message) { - xxx_messageInfo_TargetChange.Merge(m, src) -} -func (m *TargetChange) XXX_Size() int { - return xxx_messageInfo_TargetChange.Size(m) -} -func (m *TargetChange) XXX_DiscardUnknown() { - xxx_messageInfo_TargetChange.DiscardUnknown(m) -} - -var xxx_messageInfo_TargetChange proto.InternalMessageInfo - -func (m *TargetChange) GetTargetChangeType() TargetChange_TargetChangeType { - if m != nil { - return m.TargetChangeType - } - return TargetChange_NO_CHANGE -} - -func (m *TargetChange) GetTargetIds() []int32 { - if m != nil { - return m.TargetIds - } - return nil -} - -func (m *TargetChange) GetCause() *status.Status { - if m != nil { - return m.Cause - } - return nil -} - -func (m *TargetChange) GetResumeToken() []byte { - if m != nil { - return m.ResumeToken - } - return nil -} - -func (m *TargetChange) GetReadTime() *timestamp.Timestamp { - if m != nil { - return m.ReadTime - } - return nil -} - -// The request for [Firestore.ListCollectionIds][google.firestore.v1beta1.Firestore.ListCollectionIds]. -type ListCollectionIdsRequest struct { - // The parent document. In the format: - // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. - // For example: - // `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom` - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The maximum number of results to return. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // A page token. Must be a value from - // [ListCollectionIdsResponse][google.firestore.v1beta1.ListCollectionIdsResponse]. - 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 *ListCollectionIdsRequest) Reset() { *m = ListCollectionIdsRequest{} } -func (m *ListCollectionIdsRequest) String() string { return proto.CompactTextString(m) } -func (*ListCollectionIdsRequest) ProtoMessage() {} -func (*ListCollectionIdsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9bc8b30a28454f4b, []int{21} -} - -func (m *ListCollectionIdsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCollectionIdsRequest.Unmarshal(m, b) -} -func (m *ListCollectionIdsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCollectionIdsRequest.Marshal(b, m, deterministic) -} -func (m *ListCollectionIdsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCollectionIdsRequest.Merge(m, src) -} -func (m *ListCollectionIdsRequest) XXX_Size() int { - return xxx_messageInfo_ListCollectionIdsRequest.Size(m) -} -func (m *ListCollectionIdsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListCollectionIdsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListCollectionIdsRequest proto.InternalMessageInfo - -func (m *ListCollectionIdsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListCollectionIdsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListCollectionIdsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// The response from [Firestore.ListCollectionIds][google.firestore.v1beta1.Firestore.ListCollectionIds]. -type ListCollectionIdsResponse struct { - // The collection ids. - CollectionIds []string `protobuf:"bytes,1,rep,name=collection_ids,json=collectionIds,proto3" json:"collection_ids,omitempty"` - // A page token that may be used to continue 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 *ListCollectionIdsResponse) Reset() { *m = ListCollectionIdsResponse{} } -func (m *ListCollectionIdsResponse) String() string { return proto.CompactTextString(m) } -func (*ListCollectionIdsResponse) ProtoMessage() {} -func (*ListCollectionIdsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9bc8b30a28454f4b, []int{22} -} - -func (m *ListCollectionIdsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCollectionIdsResponse.Unmarshal(m, b) -} -func (m *ListCollectionIdsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCollectionIdsResponse.Marshal(b, m, deterministic) -} -func (m *ListCollectionIdsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCollectionIdsResponse.Merge(m, src) -} -func (m *ListCollectionIdsResponse) XXX_Size() int { - return xxx_messageInfo_ListCollectionIdsResponse.Size(m) -} -func (m *ListCollectionIdsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListCollectionIdsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListCollectionIdsResponse proto.InternalMessageInfo - -func (m *ListCollectionIdsResponse) GetCollectionIds() []string { - if m != nil { - return m.CollectionIds - } - return nil -} - -func (m *ListCollectionIdsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -func init() { - proto.RegisterEnum("google.firestore.v1beta1.TargetChange_TargetChangeType", TargetChange_TargetChangeType_name, TargetChange_TargetChangeType_value) - proto.RegisterType((*GetDocumentRequest)(nil), "google.firestore.v1beta1.GetDocumentRequest") - proto.RegisterType((*ListDocumentsRequest)(nil), "google.firestore.v1beta1.ListDocumentsRequest") - proto.RegisterType((*ListDocumentsResponse)(nil), "google.firestore.v1beta1.ListDocumentsResponse") - proto.RegisterType((*CreateDocumentRequest)(nil), "google.firestore.v1beta1.CreateDocumentRequest") - proto.RegisterType((*UpdateDocumentRequest)(nil), "google.firestore.v1beta1.UpdateDocumentRequest") - proto.RegisterType((*DeleteDocumentRequest)(nil), "google.firestore.v1beta1.DeleteDocumentRequest") - proto.RegisterType((*BatchGetDocumentsRequest)(nil), "google.firestore.v1beta1.BatchGetDocumentsRequest") - proto.RegisterType((*BatchGetDocumentsResponse)(nil), "google.firestore.v1beta1.BatchGetDocumentsResponse") - proto.RegisterType((*BeginTransactionRequest)(nil), "google.firestore.v1beta1.BeginTransactionRequest") - proto.RegisterType((*BeginTransactionResponse)(nil), "google.firestore.v1beta1.BeginTransactionResponse") - proto.RegisterType((*CommitRequest)(nil), "google.firestore.v1beta1.CommitRequest") - proto.RegisterType((*CommitResponse)(nil), "google.firestore.v1beta1.CommitResponse") - proto.RegisterType((*RollbackRequest)(nil), "google.firestore.v1beta1.RollbackRequest") - proto.RegisterType((*RunQueryRequest)(nil), "google.firestore.v1beta1.RunQueryRequest") - proto.RegisterType((*RunQueryResponse)(nil), "google.firestore.v1beta1.RunQueryResponse") - proto.RegisterType((*WriteRequest)(nil), "google.firestore.v1beta1.WriteRequest") - proto.RegisterMapType((map[string]string)(nil), "google.firestore.v1beta1.WriteRequest.LabelsEntry") - proto.RegisterType((*WriteResponse)(nil), "google.firestore.v1beta1.WriteResponse") - proto.RegisterType((*ListenRequest)(nil), "google.firestore.v1beta1.ListenRequest") - proto.RegisterMapType((map[string]string)(nil), "google.firestore.v1beta1.ListenRequest.LabelsEntry") - proto.RegisterType((*ListenResponse)(nil), "google.firestore.v1beta1.ListenResponse") - proto.RegisterType((*Target)(nil), "google.firestore.v1beta1.Target") - proto.RegisterType((*Target_DocumentsTarget)(nil), "google.firestore.v1beta1.Target.DocumentsTarget") - proto.RegisterType((*Target_QueryTarget)(nil), "google.firestore.v1beta1.Target.QueryTarget") - proto.RegisterType((*TargetChange)(nil), "google.firestore.v1beta1.TargetChange") - proto.RegisterType((*ListCollectionIdsRequest)(nil), "google.firestore.v1beta1.ListCollectionIdsRequest") - proto.RegisterType((*ListCollectionIdsResponse)(nil), "google.firestore.v1beta1.ListCollectionIdsResponse") -} - -func init() { - proto.RegisterFile("google/firestore/v1beta1/firestore.proto", fileDescriptor_9bc8b30a28454f4b) -} - -var fileDescriptor_9bc8b30a28454f4b = []byte{ - // 2271 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x5a, 0xcd, 0x8f, 0x1b, 0x59, - 0x11, 0x9f, 0xe7, 0xaf, 0xb1, 0xcb, 0xf6, 0x8c, 0xf7, 0x29, 0xc9, 0x3a, 0x4e, 0x96, 0x0c, 0xbd, - 0x24, 0x19, 0xac, 0x60, 0x27, 0x13, 0xa1, 0xb0, 0x0e, 0x59, 0x32, 0x1f, 0xce, 0x78, 0x42, 0x3e, - 0x26, 0x3d, 0xb3, 0x09, 0x5a, 0x45, 0xb2, 0x7a, 0xba, 0x5f, 0x9c, 0xde, 0xb1, 0xbb, 0xbd, 0xdd, - 0xcf, 0x99, 0x9d, 0x5d, 0x05, 0x01, 0x07, 0x38, 0x20, 0xed, 0x85, 0x03, 0xec, 0x05, 0x10, 0x1c, - 0x90, 0xf6, 0x00, 0x17, 0x24, 0x2e, 0x08, 0xc1, 0x0d, 0x2d, 0x37, 0x90, 0x10, 0x12, 0x07, 0x38, - 0x70, 0xe2, 0x86, 0xc4, 0x1f, 0x80, 0xde, 0x47, 0xb7, 0xbb, 0xdb, 0xdf, 0x9e, 0x88, 0x9b, 0x5f, - 0x75, 0x55, 0xbd, 0xfa, 0x55, 0xd5, 0xab, 0x57, 0xaf, 0x66, 0x60, 0xb5, 0x65, 0xdb, 0xad, 0x36, - 0xa9, 0x3e, 0x33, 0x1d, 0xe2, 0x52, 0xdb, 0x21, 0xd5, 0x17, 0xd7, 0x0e, 0x08, 0xd5, 0xae, 0xf5, - 0x29, 0x95, 0xae, 0x63, 0x53, 0x1b, 0x17, 0x05, 0x67, 0xa5, 0x4f, 0x97, 0x9c, 0xa5, 0xf3, 0x52, - 0x87, 0xd6, 0x35, 0xab, 0x9a, 0x65, 0xd9, 0x54, 0xa3, 0xa6, 0x6d, 0xb9, 0x42, 0xae, 0x74, 0x71, - 0xe4, 0x0e, 0xba, 0xdd, 0xe9, 0xd8, 0x96, 0x64, 0xbb, 0x3c, 0x92, 0xcd, 0xb0, 0xf5, 0x5e, 0x87, - 0x58, 0x54, 0x32, 0x7e, 0x61, 0x24, 0xe3, 0xfb, 0x3d, 0xe2, 0x1c, 0x4f, 0xe4, 0x3a, 0x72, 0x4c, - 0x2a, 0x31, 0x95, 0xce, 0x49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0x10, 0x3f, 0x24, 0xc7, 0x12, 0x2a, 0xfb, 0x89, 0x4f, 0x41, 0xf2, 0x85, 0xd6, - 0xee, 0x11, 0x89, 0x50, 0x2c, 0x6a, 0xb1, 0xaf, 0x20, 0x76, 0xeb, 0xe4, 0xbd, 0x9a, 0x20, 0x52, - 0x20, 0xe4, 0x11, 0x14, 0xf1, 0x48, 0x14, 0x58, 0x6c, 0x18, 0xb0, 0x48, 0x4d, 0x8a, 0xbf, 0xb2, - 0x9a, 0x94, 0x98, 0xa9, 0x26, 0xfd, 0x32, 0x06, 0xf9, 0x7b, 0x3c, 0xed, 0xa7, 0x49, 0x84, 0x75, - 0x00, 0xcd, 0x30, 0x9a, 0x54, 0x73, 0x5a, 0xc4, 0x6b, 0x97, 0x56, 0xc6, 0x9c, 0x61, 0xce, 0xd7, - 0x58, 0x50, 0x33, 0x9a, 0x61, 0x88, 0x05, 0xbe, 0x08, 0x79, 0x87, 0x74, 0xec, 0x17, 0xc4, 0xd3, - 0xc2, 0xdf, 0x5f, 0x8d, 0x05, 0x35, 0x27, 0xc8, 0x92, 0xed, 0xeb, 0x7e, 0xe4, 0x13, 0xdc, 0x33, - 0xd7, 0x47, 0xef, 0x12, 0x32, 0xff, 0x15, 0x87, 0x7e, 0x63, 0x19, 0xf2, 0xc2, 0xce, 0xa6, 0xfe, - 0x5c, 0xb3, 0x5a, 0x44, 0xf9, 0x75, 0x1c, 0x96, 0xbc, 0x1d, 0x65, 0x32, 0xdc, 0x8f, 0xf0, 0x4c, - 0xee, 0x23, 0x05, 0xc8, 0x4d, 0xce, 0xcd, 0xa0, 0xd3, 0xc0, 0x1a, 0xef, 0xc1, 0xb2, 0xff, 0x2a, - 0x91, 0x0a, 0x45, 0x09, 0x58, 0x9d, 0x5c, 0x43, 0x7c, 0x95, 0x4b, 0x46, 0x88, 0x12, 0x52, 0x6a, - 0xf0, 0x26, 0x59, 0x26, 0xca, 0x14, 0x4a, 0x45, 0x53, 0x1d, 0x54, 0x2a, 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x62, 0x89, 0xed, 0xcd, 0x3b, 0x7b, 0x9f, 0xc6, - 0x3e, 0xb7, 0x2d, 0x54, 0x6d, 0x32, 0xf3, 0x2b, 0xfe, 0x4e, 0x95, 0xc7, 0xd7, 0x36, 0x98, 0xc4, - 0x67, 0x1e, 0xc3, 0x53, 0xce, 0xf0, 0xd4, 0x67, 0x78, 0xfa, 0x58, 0xa8, 0x3c, 0x48, 0xf1, 0x6d, - 0xaf, 0xff, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x53, 0xd6, 0xaa, 0xe3, 0xf9, 0x21, 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 - -// FirestoreClient is the client API for Firestore service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type FirestoreClient interface { - // Gets a single document. - GetDocument(ctx context.Context, in *GetDocumentRequest, opts ...grpc.CallOption) (*Document, error) - // Lists documents. - ListDocuments(ctx context.Context, in *ListDocumentsRequest, opts ...grpc.CallOption) (*ListDocumentsResponse, error) - // Creates a new document. - CreateDocument(ctx context.Context, in *CreateDocumentRequest, opts ...grpc.CallOption) (*Document, error) - // Updates or inserts a document. - UpdateDocument(ctx context.Context, in *UpdateDocumentRequest, opts ...grpc.CallOption) (*Document, error) - // Deletes a document. - DeleteDocument(ctx context.Context, in *DeleteDocumentRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Gets multiple documents. - // - // Documents returned by this method are not guaranteed to be returned in the - // same order that they were requested. - BatchGetDocuments(ctx context.Context, in *BatchGetDocumentsRequest, opts ...grpc.CallOption) (Firestore_BatchGetDocumentsClient, error) - // Starts a new transaction. - BeginTransaction(ctx context.Context, in *BeginTransactionRequest, opts ...grpc.CallOption) (*BeginTransactionResponse, error) - // Commits a transaction, while optionally updating documents. - Commit(ctx context.Context, in *CommitRequest, opts ...grpc.CallOption) (*CommitResponse, error) - // Rolls back a transaction. - Rollback(ctx context.Context, in *RollbackRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Runs a query. - RunQuery(ctx context.Context, in *RunQueryRequest, opts ...grpc.CallOption) (Firestore_RunQueryClient, error) - // Streams batches of document updates and deletes, in order. - Write(ctx context.Context, opts ...grpc.CallOption) (Firestore_WriteClient, error) - // Listens to changes. - Listen(ctx context.Context, opts ...grpc.CallOption) (Firestore_ListenClient, error) - // Lists all the collection IDs underneath a document. - ListCollectionIds(ctx context.Context, in *ListCollectionIdsRequest, opts ...grpc.CallOption) (*ListCollectionIdsResponse, error) -} - -type firestoreClient struct { - cc *grpc.ClientConn -} - -func NewFirestoreClient(cc *grpc.ClientConn) FirestoreClient { - return &firestoreClient{cc} -} - -func (c *firestoreClient) GetDocument(ctx context.Context, in *GetDocumentRequest, opts ...grpc.CallOption) (*Document, error) { - out := new(Document) - err := c.cc.Invoke(ctx, "/google.firestore.v1beta1.Firestore/GetDocument", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firestoreClient) ListDocuments(ctx context.Context, in *ListDocumentsRequest, opts ...grpc.CallOption) (*ListDocumentsResponse, error) { - out := new(ListDocumentsResponse) - err := c.cc.Invoke(ctx, "/google.firestore.v1beta1.Firestore/ListDocuments", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firestoreClient) CreateDocument(ctx context.Context, in *CreateDocumentRequest, opts ...grpc.CallOption) (*Document, error) { - out := new(Document) - err := c.cc.Invoke(ctx, "/google.firestore.v1beta1.Firestore/CreateDocument", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firestoreClient) UpdateDocument(ctx context.Context, in *UpdateDocumentRequest, opts ...grpc.CallOption) (*Document, error) { - out := new(Document) - err := c.cc.Invoke(ctx, "/google.firestore.v1beta1.Firestore/UpdateDocument", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firestoreClient) DeleteDocument(ctx context.Context, in *DeleteDocumentRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.firestore.v1beta1.Firestore/DeleteDocument", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firestoreClient) BatchGetDocuments(ctx context.Context, in *BatchGetDocumentsRequest, opts ...grpc.CallOption) (Firestore_BatchGetDocumentsClient, error) { - stream, err := c.cc.NewStream(ctx, &_Firestore_serviceDesc.Streams[0], "/google.firestore.v1beta1.Firestore/BatchGetDocuments", opts...) - if err != nil { - return nil, err - } - x := &firestoreBatchGetDocumentsClient{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 Firestore_BatchGetDocumentsClient interface { - Recv() (*BatchGetDocumentsResponse, error) - grpc.ClientStream -} - -type firestoreBatchGetDocumentsClient struct { - grpc.ClientStream -} - -func (x *firestoreBatchGetDocumentsClient) Recv() (*BatchGetDocumentsResponse, error) { - m := new(BatchGetDocumentsResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *firestoreClient) BeginTransaction(ctx context.Context, in *BeginTransactionRequest, opts ...grpc.CallOption) (*BeginTransactionResponse, error) { - out := new(BeginTransactionResponse) - err := c.cc.Invoke(ctx, "/google.firestore.v1beta1.Firestore/BeginTransaction", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firestoreClient) Commit(ctx context.Context, in *CommitRequest, opts ...grpc.CallOption) (*CommitResponse, error) { - out := new(CommitResponse) - err := c.cc.Invoke(ctx, "/google.firestore.v1beta1.Firestore/Commit", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firestoreClient) Rollback(ctx context.Context, in *RollbackRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.firestore.v1beta1.Firestore/Rollback", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *firestoreClient) RunQuery(ctx context.Context, in *RunQueryRequest, opts ...grpc.CallOption) (Firestore_RunQueryClient, error) { - stream, err := c.cc.NewStream(ctx, &_Firestore_serviceDesc.Streams[1], "/google.firestore.v1beta1.Firestore/RunQuery", opts...) - if err != nil { - return nil, err - } - x := &firestoreRunQueryClient{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 Firestore_RunQueryClient interface { - Recv() (*RunQueryResponse, error) - grpc.ClientStream -} - -type firestoreRunQueryClient struct { - grpc.ClientStream -} - -func (x *firestoreRunQueryClient) Recv() (*RunQueryResponse, error) { - m := new(RunQueryResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *firestoreClient) Write(ctx context.Context, opts ...grpc.CallOption) (Firestore_WriteClient, error) { - stream, err := c.cc.NewStream(ctx, &_Firestore_serviceDesc.Streams[2], "/google.firestore.v1beta1.Firestore/Write", opts...) - if err != nil { - return nil, err - } - x := &firestoreWriteClient{stream} - return x, nil -} - -type Firestore_WriteClient interface { - Send(*WriteRequest) error - Recv() (*WriteResponse, error) - grpc.ClientStream -} - -type firestoreWriteClient struct { - grpc.ClientStream -} - -func (x *firestoreWriteClient) Send(m *WriteRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *firestoreWriteClient) Recv() (*WriteResponse, error) { - m := new(WriteResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *firestoreClient) Listen(ctx context.Context, opts ...grpc.CallOption) (Firestore_ListenClient, error) { - stream, err := c.cc.NewStream(ctx, &_Firestore_serviceDesc.Streams[3], "/google.firestore.v1beta1.Firestore/Listen", opts...) - if err != nil { - return nil, err - } - x := &firestoreListenClient{stream} - return x, nil -} - -type Firestore_ListenClient interface { - Send(*ListenRequest) error - Recv() (*ListenResponse, error) - grpc.ClientStream -} - -type firestoreListenClient struct { - grpc.ClientStream -} - -func (x *firestoreListenClient) Send(m *ListenRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *firestoreListenClient) Recv() (*ListenResponse, error) { - m := new(ListenResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *firestoreClient) ListCollectionIds(ctx context.Context, in *ListCollectionIdsRequest, opts ...grpc.CallOption) (*ListCollectionIdsResponse, error) { - out := new(ListCollectionIdsResponse) - err := c.cc.Invoke(ctx, "/google.firestore.v1beta1.Firestore/ListCollectionIds", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// FirestoreServer is the server API for Firestore service. -type FirestoreServer interface { - // Gets a single document. - GetDocument(context.Context, *GetDocumentRequest) (*Document, error) - // Lists documents. - ListDocuments(context.Context, *ListDocumentsRequest) (*ListDocumentsResponse, error) - // Creates a new document. - CreateDocument(context.Context, *CreateDocumentRequest) (*Document, error) - // Updates or inserts a document. - UpdateDocument(context.Context, *UpdateDocumentRequest) (*Document, error) - // Deletes a document. - DeleteDocument(context.Context, *DeleteDocumentRequest) (*empty.Empty, error) - // Gets multiple documents. - // - // Documents returned by this method are not guaranteed to be returned in the - // same order that they were requested. - BatchGetDocuments(*BatchGetDocumentsRequest, Firestore_BatchGetDocumentsServer) error - // Starts a new transaction. - BeginTransaction(context.Context, *BeginTransactionRequest) (*BeginTransactionResponse, error) - // Commits a transaction, while optionally updating documents. - Commit(context.Context, *CommitRequest) (*CommitResponse, error) - // Rolls back a transaction. - Rollback(context.Context, *RollbackRequest) (*empty.Empty, error) - // Runs a query. - RunQuery(*RunQueryRequest, Firestore_RunQueryServer) error - // Streams batches of document updates and deletes, in order. - Write(Firestore_WriteServer) error - // Listens to changes. - Listen(Firestore_ListenServer) error - // Lists all the collection IDs underneath a document. - ListCollectionIds(context.Context, *ListCollectionIdsRequest) (*ListCollectionIdsResponse, error) -} - -// UnimplementedFirestoreServer can be embedded to have forward compatible implementations. -type UnimplementedFirestoreServer struct { -} - -func (*UnimplementedFirestoreServer) GetDocument(ctx context.Context, req *GetDocumentRequest) (*Document, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetDocument not implemented") -} -func (*UnimplementedFirestoreServer) ListDocuments(ctx context.Context, req *ListDocumentsRequest) (*ListDocumentsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListDocuments not implemented") -} -func (*UnimplementedFirestoreServer) CreateDocument(ctx context.Context, req *CreateDocumentRequest) (*Document, error) { - return nil, status1.Errorf(codes.Unimplemented, "method CreateDocument not implemented") -} -func (*UnimplementedFirestoreServer) UpdateDocument(ctx context.Context, req *UpdateDocumentRequest) (*Document, error) { - return nil, status1.Errorf(codes.Unimplemented, "method UpdateDocument not implemented") -} -func (*UnimplementedFirestoreServer) DeleteDocument(ctx context.Context, req *DeleteDocumentRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method DeleteDocument not implemented") -} -func (*UnimplementedFirestoreServer) BatchGetDocuments(req *BatchGetDocumentsRequest, srv Firestore_BatchGetDocumentsServer) error { - return status1.Errorf(codes.Unimplemented, "method BatchGetDocuments not implemented") -} -func (*UnimplementedFirestoreServer) BeginTransaction(ctx context.Context, req *BeginTransactionRequest) (*BeginTransactionResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method BeginTransaction not implemented") -} -func (*UnimplementedFirestoreServer) Commit(ctx context.Context, req *CommitRequest) (*CommitResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method Commit not implemented") -} -func (*UnimplementedFirestoreServer) Rollback(ctx context.Context, req *RollbackRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method Rollback not implemented") -} -func (*UnimplementedFirestoreServer) RunQuery(req *RunQueryRequest, srv Firestore_RunQueryServer) error { - return status1.Errorf(codes.Unimplemented, "method RunQuery not implemented") -} -func (*UnimplementedFirestoreServer) Write(srv Firestore_WriteServer) error { - return status1.Errorf(codes.Unimplemented, "method Write not implemented") -} -func (*UnimplementedFirestoreServer) Listen(srv Firestore_ListenServer) error { - return status1.Errorf(codes.Unimplemented, "method Listen not implemented") -} -func (*UnimplementedFirestoreServer) ListCollectionIds(ctx context.Context, req *ListCollectionIdsRequest) (*ListCollectionIdsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListCollectionIds not implemented") -} - -func RegisterFirestoreServer(s *grpc.Server, srv FirestoreServer) { - s.RegisterService(&_Firestore_serviceDesc, srv) -} - -func _Firestore_GetDocument_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDocumentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirestoreServer).GetDocument(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.firestore.v1beta1.Firestore/GetDocument", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirestoreServer).GetDocument(ctx, req.(*GetDocumentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Firestore_ListDocuments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListDocumentsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirestoreServer).ListDocuments(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.firestore.v1beta1.Firestore/ListDocuments", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirestoreServer).ListDocuments(ctx, req.(*ListDocumentsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Firestore_CreateDocument_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateDocumentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirestoreServer).CreateDocument(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.firestore.v1beta1.Firestore/CreateDocument", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirestoreServer).CreateDocument(ctx, req.(*CreateDocumentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Firestore_UpdateDocument_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateDocumentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirestoreServer).UpdateDocument(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.firestore.v1beta1.Firestore/UpdateDocument", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirestoreServer).UpdateDocument(ctx, req.(*UpdateDocumentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Firestore_DeleteDocument_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteDocumentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirestoreServer).DeleteDocument(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.firestore.v1beta1.Firestore/DeleteDocument", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirestoreServer).DeleteDocument(ctx, req.(*DeleteDocumentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Firestore_BatchGetDocuments_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(BatchGetDocumentsRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(FirestoreServer).BatchGetDocuments(m, &firestoreBatchGetDocumentsServer{stream}) -} - -type Firestore_BatchGetDocumentsServer interface { - Send(*BatchGetDocumentsResponse) error - grpc.ServerStream -} - -type firestoreBatchGetDocumentsServer struct { - grpc.ServerStream -} - -func (x *firestoreBatchGetDocumentsServer) Send(m *BatchGetDocumentsResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _Firestore_BeginTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BeginTransactionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirestoreServer).BeginTransaction(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.firestore.v1beta1.Firestore/BeginTransaction", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirestoreServer).BeginTransaction(ctx, req.(*BeginTransactionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Firestore_Commit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CommitRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirestoreServer).Commit(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.firestore.v1beta1.Firestore/Commit", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirestoreServer).Commit(ctx, req.(*CommitRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Firestore_Rollback_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RollbackRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirestoreServer).Rollback(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.firestore.v1beta1.Firestore/Rollback", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirestoreServer).Rollback(ctx, req.(*RollbackRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Firestore_RunQuery_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(RunQueryRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(FirestoreServer).RunQuery(m, &firestoreRunQueryServer{stream}) -} - -type Firestore_RunQueryServer interface { - Send(*RunQueryResponse) error - grpc.ServerStream -} - -type firestoreRunQueryServer struct { - grpc.ServerStream -} - -func (x *firestoreRunQueryServer) Send(m *RunQueryResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _Firestore_Write_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(FirestoreServer).Write(&firestoreWriteServer{stream}) -} - -type Firestore_WriteServer interface { - Send(*WriteResponse) error - Recv() (*WriteRequest, error) - grpc.ServerStream -} - -type firestoreWriteServer struct { - grpc.ServerStream -} - -func (x *firestoreWriteServer) Send(m *WriteResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *firestoreWriteServer) Recv() (*WriteRequest, error) { - m := new(WriteRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _Firestore_Listen_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(FirestoreServer).Listen(&firestoreListenServer{stream}) -} - -type Firestore_ListenServer interface { - Send(*ListenResponse) error - Recv() (*ListenRequest, error) - grpc.ServerStream -} - -type firestoreListenServer struct { - grpc.ServerStream -} - -func (x *firestoreListenServer) Send(m *ListenResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *firestoreListenServer) Recv() (*ListenRequest, error) { - m := new(ListenRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _Firestore_ListCollectionIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListCollectionIdsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FirestoreServer).ListCollectionIds(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.firestore.v1beta1.Firestore/ListCollectionIds", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FirestoreServer).ListCollectionIds(ctx, req.(*ListCollectionIdsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Firestore_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.firestore.v1beta1.Firestore", - HandlerType: (*FirestoreServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetDocument", - Handler: _Firestore_GetDocument_Handler, - }, - { - MethodName: "ListDocuments", - Handler: _Firestore_ListDocuments_Handler, - }, - { - MethodName: "CreateDocument", - Handler: _Firestore_CreateDocument_Handler, - }, - { - MethodName: "UpdateDocument", - Handler: _Firestore_UpdateDocument_Handler, - }, - { - MethodName: "DeleteDocument", - Handler: _Firestore_DeleteDocument_Handler, - }, - { - MethodName: "BeginTransaction", - Handler: _Firestore_BeginTransaction_Handler, - }, - { - MethodName: "Commit", - Handler: _Firestore_Commit_Handler, - }, - { - MethodName: "Rollback", - Handler: _Firestore_Rollback_Handler, - }, - { - MethodName: "ListCollectionIds", - Handler: _Firestore_ListCollectionIds_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "BatchGetDocuments", - Handler: _Firestore_BatchGetDocuments_Handler, - ServerStreams: true, - }, - { - StreamName: "RunQuery", - Handler: _Firestore_RunQuery_Handler, - ServerStreams: true, - }, - { - StreamName: "Write", - Handler: _Firestore_Write_Handler, - ServerStreams: true, - ClientStreams: true, - }, - { - StreamName: "Listen", - Handler: _Firestore_Listen_Handler, - ServerStreams: true, - ClientStreams: true, - }, - }, - Metadata: "google/firestore/v1beta1/firestore.proto", -} 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 deleted file mode 100644 index a70238f6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/firestore/v1beta1/query.pb.go +++ /dev/null @@ -1,905 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/firestore/v1beta1/query.proto - -package firestore - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A sort direction. -type StructuredQuery_Direction int32 - -const ( - // Unspecified. - StructuredQuery_DIRECTION_UNSPECIFIED StructuredQuery_Direction = 0 - // Ascending. - StructuredQuery_ASCENDING StructuredQuery_Direction = 1 - // Descending. - StructuredQuery_DESCENDING StructuredQuery_Direction = 2 -) - -var StructuredQuery_Direction_name = map[int32]string{ - 0: "DIRECTION_UNSPECIFIED", - 1: "ASCENDING", - 2: "DESCENDING", -} - -var StructuredQuery_Direction_value = map[string]int32{ - "DIRECTION_UNSPECIFIED": 0, - "ASCENDING": 1, - "DESCENDING": 2, -} - -func (x StructuredQuery_Direction) String() string { - return proto.EnumName(StructuredQuery_Direction_name, int32(x)) -} - -func (StructuredQuery_Direction) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1ae4429ffd6f5a03, []int{0, 0} -} - -// A composite filter operator. -type StructuredQuery_CompositeFilter_Operator int32 - -const ( - // Unspecified. This value must not be used. - StructuredQuery_CompositeFilter_OPERATOR_UNSPECIFIED StructuredQuery_CompositeFilter_Operator = 0 - // The results are required to satisfy each of the combined filters. - StructuredQuery_CompositeFilter_AND StructuredQuery_CompositeFilter_Operator = 1 -) - -var StructuredQuery_CompositeFilter_Operator_name = map[int32]string{ - 0: "OPERATOR_UNSPECIFIED", - 1: "AND", -} - -var StructuredQuery_CompositeFilter_Operator_value = map[string]int32{ - "OPERATOR_UNSPECIFIED": 0, - "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_1ae4429ffd6f5a03, []int{0, 2, 0} -} - -// A field filter operator. -type StructuredQuery_FieldFilter_Operator int32 - -const ( - // Unspecified. This value must not be used. - StructuredQuery_FieldFilter_OPERATOR_UNSPECIFIED StructuredQuery_FieldFilter_Operator = 0 - // Less than. Requires that the field come first in `order_by`. - StructuredQuery_FieldFilter_LESS_THAN StructuredQuery_FieldFilter_Operator = 1 - // Less than or equal. Requires that the field come first in `order_by`. - StructuredQuery_FieldFilter_LESS_THAN_OR_EQUAL StructuredQuery_FieldFilter_Operator = 2 - // Greater than. Requires that the field come first in `order_by`. - StructuredQuery_FieldFilter_GREATER_THAN StructuredQuery_FieldFilter_Operator = 3 - // Greater than or equal. Requires that the field come first in - // `order_by`. - 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{ - 0: "OPERATOR_UNSPECIFIED", - 1: "LESS_THAN", - 2: "LESS_THAN_OR_EQUAL", - 3: "GREATER_THAN", - 4: "GREATER_THAN_OR_EQUAL", - 5: "EQUAL", - 7: "ARRAY_CONTAINS", -} - -var StructuredQuery_FieldFilter_Operator_value = map[string]int32{ - "OPERATOR_UNSPECIFIED": 0, - "LESS_THAN": 1, - "LESS_THAN_OR_EQUAL": 2, - "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_1ae4429ffd6f5a03, []int{0, 3, 0} -} - -// A unary operator. -type StructuredQuery_UnaryFilter_Operator int32 - -const ( - // Unspecified. This value must not be used. - StructuredQuery_UnaryFilter_OPERATOR_UNSPECIFIED StructuredQuery_UnaryFilter_Operator = 0 - // Test if a field is equal to NaN. - StructuredQuery_UnaryFilter_IS_NAN StructuredQuery_UnaryFilter_Operator = 2 - // Test if an expression evaluates to Null. - StructuredQuery_UnaryFilter_IS_NULL StructuredQuery_UnaryFilter_Operator = 3 -) - -var StructuredQuery_UnaryFilter_Operator_name = map[int32]string{ - 0: "OPERATOR_UNSPECIFIED", - 2: "IS_NAN", - 3: "IS_NULL", -} - -var StructuredQuery_UnaryFilter_Operator_value = map[string]int32{ - "OPERATOR_UNSPECIFIED": 0, - "IS_NAN": 2, - "IS_NULL": 3, -} - -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_1ae4429ffd6f5a03, []int{0, 4, 0} -} - -// A Firestore query. -type StructuredQuery struct { - // The projection to return. - Select *StructuredQuery_Projection `protobuf:"bytes,1,opt,name=select,proto3" json:"select,omitempty"` - // The collections to query. - From []*StructuredQuery_CollectionSelector `protobuf:"bytes,2,rep,name=from,proto3" json:"from,omitempty"` - // The filter to apply. - Where *StructuredQuery_Filter `protobuf:"bytes,3,opt,name=where,proto3" json:"where,omitempty"` - // The order to apply to the query results. - // - // Firestore guarantees a stable ordering through the following rules: - // - // * Any field required to appear in `order_by`, that is not already - // specified in `order_by`, is appended to the order in field name order - // by default. - // * If an order on `__name__` is not specified, it is appended by default. - // - // Fields are appended with the same sort direction as the last order - // specified, or 'ASCENDING' if no order was specified. For example: - // - // * `SELECT * FROM Foo ORDER BY A` becomes - // `SELECT * FROM Foo ORDER BY A, __name__` - // * `SELECT * FROM Foo ORDER BY A DESC` becomes - // `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC` - // * `SELECT * FROM Foo WHERE A > 1` becomes - // `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__` - OrderBy []*StructuredQuery_Order `protobuf:"bytes,4,rep,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` - // A starting point for the query results. - StartAt *Cursor `protobuf:"bytes,7,opt,name=start_at,json=startAt,proto3" json:"start_at,omitempty"` - // A end point for the query results. - EndAt *Cursor `protobuf:"bytes,8,opt,name=end_at,json=endAt,proto3" json:"end_at,omitempty"` - // The number of results to skip. - // - // Applies before limit, but after all other constraints. Must be >= 0 if - // specified. - Offset int32 `protobuf:"varint,6,opt,name=offset,proto3" json:"offset,omitempty"` - // The maximum number of results to return. - // - // Applies after all other constraints. - // Must be >= 0 if specified. - Limit *wrappers.Int32Value `protobuf:"bytes,5,opt,name=limit,proto3" json:"limit,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1ae4429ffd6f5a03, []int{0} -} - -func (m *StructuredQuery) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StructuredQuery.Unmarshal(m, b) -} -func (m *StructuredQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StructuredQuery.Marshal(b, m, deterministic) -} -func (m *StructuredQuery) XXX_Merge(src proto.Message) { - xxx_messageInfo_StructuredQuery.Merge(m, src) -} -func (m *StructuredQuery) XXX_Size() int { - return xxx_messageInfo_StructuredQuery.Size(m) -} -func (m *StructuredQuery) XXX_DiscardUnknown() { - xxx_messageInfo_StructuredQuery.DiscardUnknown(m) -} - -var xxx_messageInfo_StructuredQuery proto.InternalMessageInfo - -func (m *StructuredQuery) GetSelect() *StructuredQuery_Projection { - if m != nil { - return m.Select - } - return nil -} - -func (m *StructuredQuery) GetFrom() []*StructuredQuery_CollectionSelector { - if m != nil { - return m.From - } - return nil -} - -func (m *StructuredQuery) GetWhere() *StructuredQuery_Filter { - if m != nil { - return m.Where - } - return nil -} - -func (m *StructuredQuery) GetOrderBy() []*StructuredQuery_Order { - if m != nil { - return m.OrderBy - } - return nil -} - -func (m *StructuredQuery) GetStartAt() *Cursor { - if m != nil { - return m.StartAt - } - return nil -} - -func (m *StructuredQuery) GetEndAt() *Cursor { - if m != nil { - return m.EndAt - } - return nil -} - -func (m *StructuredQuery) GetOffset() int32 { - if m != nil { - return m.Offset - } - return 0 -} - -func (m *StructuredQuery) GetLimit() *wrappers.Int32Value { - if m != nil { - return m.Limit - } - return nil -} - -// A selection of a collection, such as `messages as m1`. -type StructuredQuery_CollectionSelector struct { - // The collection ID. - // When set, selects only collections with this ID. - CollectionId string `protobuf:"bytes,2,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` - // When false, selects only collections that are immediate children of - // the `parent` specified in the containing `RunQueryRequest`. - // When true, selects all descendant collections. - AllDescendants bool `protobuf:"varint,3,opt,name=all_descendants,json=allDescendants,proto3" json:"all_descendants,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StructuredQuery_CollectionSelector) Reset() { *m = StructuredQuery_CollectionSelector{} } -func (m *StructuredQuery_CollectionSelector) String() string { return proto.CompactTextString(m) } -func (*StructuredQuery_CollectionSelector) ProtoMessage() {} -func (*StructuredQuery_CollectionSelector) Descriptor() ([]byte, []int) { - return fileDescriptor_1ae4429ffd6f5a03, []int{0, 0} -} - -func (m *StructuredQuery_CollectionSelector) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StructuredQuery_CollectionSelector.Unmarshal(m, b) -} -func (m *StructuredQuery_CollectionSelector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StructuredQuery_CollectionSelector.Marshal(b, m, deterministic) -} -func (m *StructuredQuery_CollectionSelector) XXX_Merge(src proto.Message) { - xxx_messageInfo_StructuredQuery_CollectionSelector.Merge(m, src) -} -func (m *StructuredQuery_CollectionSelector) XXX_Size() int { - return xxx_messageInfo_StructuredQuery_CollectionSelector.Size(m) -} -func (m *StructuredQuery_CollectionSelector) XXX_DiscardUnknown() { - xxx_messageInfo_StructuredQuery_CollectionSelector.DiscardUnknown(m) -} - -var xxx_messageInfo_StructuredQuery_CollectionSelector proto.InternalMessageInfo - -func (m *StructuredQuery_CollectionSelector) GetCollectionId() string { - if m != nil { - return m.CollectionId - } - return "" -} - -func (m *StructuredQuery_CollectionSelector) GetAllDescendants() bool { - if m != nil { - return m.AllDescendants - } - return false -} - -// A filter. -type StructuredQuery_Filter struct { - // The type of filter. - // - // Types that are valid to be assigned to FilterType: - // *StructuredQuery_Filter_CompositeFilter - // *StructuredQuery_Filter_FieldFilter - // *StructuredQuery_Filter_UnaryFilter - FilterType isStructuredQuery_Filter_FilterType `protobuf_oneof:"filter_type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1ae4429ffd6f5a03, []int{0, 1} -} - -func (m *StructuredQuery_Filter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StructuredQuery_Filter.Unmarshal(m, b) -} -func (m *StructuredQuery_Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StructuredQuery_Filter.Marshal(b, m, deterministic) -} -func (m *StructuredQuery_Filter) XXX_Merge(src proto.Message) { - xxx_messageInfo_StructuredQuery_Filter.Merge(m, src) -} -func (m *StructuredQuery_Filter) XXX_Size() int { - return xxx_messageInfo_StructuredQuery_Filter.Size(m) -} -func (m *StructuredQuery_Filter) XXX_DiscardUnknown() { - xxx_messageInfo_StructuredQuery_Filter.DiscardUnknown(m) -} - -var xxx_messageInfo_StructuredQuery_Filter proto.InternalMessageInfo - -type isStructuredQuery_Filter_FilterType interface { - isStructuredQuery_Filter_FilterType() -} - -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 (m *StructuredQuery_Filter) GetFilterType() isStructuredQuery_Filter_FilterType { - if m != nil { - return m.FilterType - } - return nil -} - -func (m *StructuredQuery_Filter) GetCompositeFilter() *StructuredQuery_CompositeFilter { - if x, ok := m.GetFilterType().(*StructuredQuery_Filter_CompositeFilter); ok { - return x.CompositeFilter - } - return nil -} - -func (m *StructuredQuery_Filter) GetFieldFilter() *StructuredQuery_FieldFilter { - if x, ok := m.GetFilterType().(*StructuredQuery_Filter_FieldFilter); ok { - return x.FieldFilter - } - return nil -} - -func (m *StructuredQuery_Filter) GetUnaryFilter() *StructuredQuery_UnaryFilter { - if x, ok := m.GetFilterType().(*StructuredQuery_Filter_UnaryFilter); ok { - return x.UnaryFilter - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*StructuredQuery_Filter) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*StructuredQuery_Filter_CompositeFilter)(nil), - (*StructuredQuery_Filter_FieldFilter)(nil), - (*StructuredQuery_Filter_UnaryFilter)(nil), - } -} - -// A filter that merges multiple other filters using the given operator. -type StructuredQuery_CompositeFilter struct { - // The operator for combining multiple filters. - Op StructuredQuery_CompositeFilter_Operator `protobuf:"varint,1,opt,name=op,proto3,enum=google.firestore.v1beta1.StructuredQuery_CompositeFilter_Operator" json:"op,omitempty"` - // The list of filters to combine. - // Must contain at least one filter. - Filters []*StructuredQuery_Filter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StructuredQuery_CompositeFilter) Reset() { *m = StructuredQuery_CompositeFilter{} } -func (m *StructuredQuery_CompositeFilter) String() string { return proto.CompactTextString(m) } -func (*StructuredQuery_CompositeFilter) ProtoMessage() {} -func (*StructuredQuery_CompositeFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_1ae4429ffd6f5a03, []int{0, 2} -} - -func (m *StructuredQuery_CompositeFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StructuredQuery_CompositeFilter.Unmarshal(m, b) -} -func (m *StructuredQuery_CompositeFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StructuredQuery_CompositeFilter.Marshal(b, m, deterministic) -} -func (m *StructuredQuery_CompositeFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_StructuredQuery_CompositeFilter.Merge(m, src) -} -func (m *StructuredQuery_CompositeFilter) XXX_Size() int { - return xxx_messageInfo_StructuredQuery_CompositeFilter.Size(m) -} -func (m *StructuredQuery_CompositeFilter) XXX_DiscardUnknown() { - xxx_messageInfo_StructuredQuery_CompositeFilter.DiscardUnknown(m) -} - -var xxx_messageInfo_StructuredQuery_CompositeFilter proto.InternalMessageInfo - -func (m *StructuredQuery_CompositeFilter) GetOp() StructuredQuery_CompositeFilter_Operator { - if m != nil { - return m.Op - } - return StructuredQuery_CompositeFilter_OPERATOR_UNSPECIFIED -} - -func (m *StructuredQuery_CompositeFilter) GetFilters() []*StructuredQuery_Filter { - if m != nil { - return m.Filters - } - return nil -} - -// A filter on a specific field. -type StructuredQuery_FieldFilter struct { - // The field to filter by. - Field *StructuredQuery_FieldReference `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` - // The operator to filter by. - Op StructuredQuery_FieldFilter_Operator `protobuf:"varint,2,opt,name=op,proto3,enum=google.firestore.v1beta1.StructuredQuery_FieldFilter_Operator" json:"op,omitempty"` - // The value to compare to. - Value *Value `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StructuredQuery_FieldFilter) Reset() { *m = StructuredQuery_FieldFilter{} } -func (m *StructuredQuery_FieldFilter) String() string { return proto.CompactTextString(m) } -func (*StructuredQuery_FieldFilter) ProtoMessage() {} -func (*StructuredQuery_FieldFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_1ae4429ffd6f5a03, []int{0, 3} -} - -func (m *StructuredQuery_FieldFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StructuredQuery_FieldFilter.Unmarshal(m, b) -} -func (m *StructuredQuery_FieldFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StructuredQuery_FieldFilter.Marshal(b, m, deterministic) -} -func (m *StructuredQuery_FieldFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_StructuredQuery_FieldFilter.Merge(m, src) -} -func (m *StructuredQuery_FieldFilter) XXX_Size() int { - return xxx_messageInfo_StructuredQuery_FieldFilter.Size(m) -} -func (m *StructuredQuery_FieldFilter) XXX_DiscardUnknown() { - xxx_messageInfo_StructuredQuery_FieldFilter.DiscardUnknown(m) -} - -var xxx_messageInfo_StructuredQuery_FieldFilter proto.InternalMessageInfo - -func (m *StructuredQuery_FieldFilter) GetField() *StructuredQuery_FieldReference { - if m != nil { - return m.Field - } - return nil -} - -func (m *StructuredQuery_FieldFilter) GetOp() StructuredQuery_FieldFilter_Operator { - if m != nil { - return m.Op - } - return StructuredQuery_FieldFilter_OPERATOR_UNSPECIFIED -} - -func (m *StructuredQuery_FieldFilter) GetValue() *Value { - if m != nil { - return m.Value - } - return nil -} - -// A filter with a single operand. -type StructuredQuery_UnaryFilter struct { - // The unary operator to apply. - Op StructuredQuery_UnaryFilter_Operator `protobuf:"varint,1,opt,name=op,proto3,enum=google.firestore.v1beta1.StructuredQuery_UnaryFilter_Operator" json:"op,omitempty"` - // The argument to the filter. - // - // Types that are valid to be assigned to OperandType: - // *StructuredQuery_UnaryFilter_Field - OperandType isStructuredQuery_UnaryFilter_OperandType `protobuf_oneof:"operand_type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StructuredQuery_UnaryFilter) Reset() { *m = StructuredQuery_UnaryFilter{} } -func (m *StructuredQuery_UnaryFilter) String() string { return proto.CompactTextString(m) } -func (*StructuredQuery_UnaryFilter) ProtoMessage() {} -func (*StructuredQuery_UnaryFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_1ae4429ffd6f5a03, []int{0, 4} -} - -func (m *StructuredQuery_UnaryFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StructuredQuery_UnaryFilter.Unmarshal(m, b) -} -func (m *StructuredQuery_UnaryFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StructuredQuery_UnaryFilter.Marshal(b, m, deterministic) -} -func (m *StructuredQuery_UnaryFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_StructuredQuery_UnaryFilter.Merge(m, src) -} -func (m *StructuredQuery_UnaryFilter) XXX_Size() int { - return xxx_messageInfo_StructuredQuery_UnaryFilter.Size(m) -} -func (m *StructuredQuery_UnaryFilter) XXX_DiscardUnknown() { - xxx_messageInfo_StructuredQuery_UnaryFilter.DiscardUnknown(m) -} - -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() -} - -type StructuredQuery_UnaryFilter_Field struct { - Field *StructuredQuery_FieldReference `protobuf:"bytes,2,opt,name=field,proto3,oneof"` -} - -func (*StructuredQuery_UnaryFilter_Field) isStructuredQuery_UnaryFilter_OperandType() {} - -func (m *StructuredQuery_UnaryFilter) GetOperandType() isStructuredQuery_UnaryFilter_OperandType { - if m != nil { - return m.OperandType - } - return nil -} - -func (m *StructuredQuery_UnaryFilter) GetField() *StructuredQuery_FieldReference { - if x, ok := m.GetOperandType().(*StructuredQuery_UnaryFilter_Field); ok { - return x.Field - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*StructuredQuery_UnaryFilter) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*StructuredQuery_UnaryFilter_Field)(nil), - } -} - -// An order on a field. -type StructuredQuery_Order struct { - // The field to order by. - Field *StructuredQuery_FieldReference `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` - // The direction to order by. Defaults to `ASCENDING`. - Direction StructuredQuery_Direction `protobuf:"varint,2,opt,name=direction,proto3,enum=google.firestore.v1beta1.StructuredQuery_Direction" json:"direction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1ae4429ffd6f5a03, []int{0, 5} -} - -func (m *StructuredQuery_Order) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StructuredQuery_Order.Unmarshal(m, b) -} -func (m *StructuredQuery_Order) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StructuredQuery_Order.Marshal(b, m, deterministic) -} -func (m *StructuredQuery_Order) XXX_Merge(src proto.Message) { - xxx_messageInfo_StructuredQuery_Order.Merge(m, src) -} -func (m *StructuredQuery_Order) XXX_Size() int { - return xxx_messageInfo_StructuredQuery_Order.Size(m) -} -func (m *StructuredQuery_Order) XXX_DiscardUnknown() { - xxx_messageInfo_StructuredQuery_Order.DiscardUnknown(m) -} - -var xxx_messageInfo_StructuredQuery_Order proto.InternalMessageInfo - -func (m *StructuredQuery_Order) GetField() *StructuredQuery_FieldReference { - if m != nil { - return m.Field - } - return nil -} - -func (m *StructuredQuery_Order) GetDirection() StructuredQuery_Direction { - if m != nil { - return m.Direction - } - return StructuredQuery_DIRECTION_UNSPECIFIED -} - -// A reference to a field, such as `max(messages.time) as max_time`. -type StructuredQuery_FieldReference struct { - FieldPath string `protobuf:"bytes,2,opt,name=field_path,json=fieldPath,proto3" json:"field_path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StructuredQuery_FieldReference) Reset() { *m = StructuredQuery_FieldReference{} } -func (m *StructuredQuery_FieldReference) String() string { return proto.CompactTextString(m) } -func (*StructuredQuery_FieldReference) ProtoMessage() {} -func (*StructuredQuery_FieldReference) Descriptor() ([]byte, []int) { - return fileDescriptor_1ae4429ffd6f5a03, []int{0, 6} -} - -func (m *StructuredQuery_FieldReference) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StructuredQuery_FieldReference.Unmarshal(m, b) -} -func (m *StructuredQuery_FieldReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StructuredQuery_FieldReference.Marshal(b, m, deterministic) -} -func (m *StructuredQuery_FieldReference) XXX_Merge(src proto.Message) { - xxx_messageInfo_StructuredQuery_FieldReference.Merge(m, src) -} -func (m *StructuredQuery_FieldReference) XXX_Size() int { - return xxx_messageInfo_StructuredQuery_FieldReference.Size(m) -} -func (m *StructuredQuery_FieldReference) XXX_DiscardUnknown() { - xxx_messageInfo_StructuredQuery_FieldReference.DiscardUnknown(m) -} - -var xxx_messageInfo_StructuredQuery_FieldReference proto.InternalMessageInfo - -func (m *StructuredQuery_FieldReference) GetFieldPath() string { - if m != nil { - return m.FieldPath - } - return "" -} - -// The projection of document's fields to return. -type StructuredQuery_Projection struct { - // The fields to return. - // - // If empty, all fields are returned. To only return the name - // of the document, use `['__name__']`. - Fields []*StructuredQuery_FieldReference `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StructuredQuery_Projection) Reset() { *m = StructuredQuery_Projection{} } -func (m *StructuredQuery_Projection) String() string { return proto.CompactTextString(m) } -func (*StructuredQuery_Projection) ProtoMessage() {} -func (*StructuredQuery_Projection) Descriptor() ([]byte, []int) { - return fileDescriptor_1ae4429ffd6f5a03, []int{0, 7} -} - -func (m *StructuredQuery_Projection) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StructuredQuery_Projection.Unmarshal(m, b) -} -func (m *StructuredQuery_Projection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StructuredQuery_Projection.Marshal(b, m, deterministic) -} -func (m *StructuredQuery_Projection) XXX_Merge(src proto.Message) { - xxx_messageInfo_StructuredQuery_Projection.Merge(m, src) -} -func (m *StructuredQuery_Projection) XXX_Size() int { - return xxx_messageInfo_StructuredQuery_Projection.Size(m) -} -func (m *StructuredQuery_Projection) XXX_DiscardUnknown() { - xxx_messageInfo_StructuredQuery_Projection.DiscardUnknown(m) -} - -var xxx_messageInfo_StructuredQuery_Projection proto.InternalMessageInfo - -func (m *StructuredQuery_Projection) GetFields() []*StructuredQuery_FieldReference { - if m != nil { - return m.Fields - } - return nil -} - -// A position in a query result set. -type Cursor struct { - // The values that represent a position, in the order they appear in - // the order by clause of a query. - // - // Can contain fewer values than specified in the order by clause. - Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` - // If the position is just before or just after the given values, relative - // to the sort order defined by the query. - Before bool `protobuf:"varint,2,opt,name=before,proto3" json:"before,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1ae4429ffd6f5a03, []int{1} -} - -func (m *Cursor) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Cursor.Unmarshal(m, b) -} -func (m *Cursor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Cursor.Marshal(b, m, deterministic) -} -func (m *Cursor) XXX_Merge(src proto.Message) { - xxx_messageInfo_Cursor.Merge(m, src) -} -func (m *Cursor) XXX_Size() int { - return xxx_messageInfo_Cursor.Size(m) -} -func (m *Cursor) XXX_DiscardUnknown() { - xxx_messageInfo_Cursor.DiscardUnknown(m) -} - -var xxx_messageInfo_Cursor proto.InternalMessageInfo - -func (m *Cursor) GetValues() []*Value { - if m != nil { - return m.Values - } - return nil -} - -func (m *Cursor) GetBefore() bool { - if m != nil { - return m.Before - } - return false -} - -func init() { - proto.RegisterEnum("google.firestore.v1beta1.StructuredQuery_Direction", StructuredQuery_Direction_name, StructuredQuery_Direction_value) - proto.RegisterEnum("google.firestore.v1beta1.StructuredQuery_CompositeFilter_Operator", StructuredQuery_CompositeFilter_Operator_name, StructuredQuery_CompositeFilter_Operator_value) - proto.RegisterEnum("google.firestore.v1beta1.StructuredQuery_FieldFilter_Operator", StructuredQuery_FieldFilter_Operator_name, StructuredQuery_FieldFilter_Operator_value) - proto.RegisterEnum("google.firestore.v1beta1.StructuredQuery_UnaryFilter_Operator", StructuredQuery_UnaryFilter_Operator_name, StructuredQuery_UnaryFilter_Operator_value) - proto.RegisterType((*StructuredQuery)(nil), "google.firestore.v1beta1.StructuredQuery") - proto.RegisterType((*StructuredQuery_CollectionSelector)(nil), "google.firestore.v1beta1.StructuredQuery.CollectionSelector") - proto.RegisterType((*StructuredQuery_Filter)(nil), "google.firestore.v1beta1.StructuredQuery.Filter") - proto.RegisterType((*StructuredQuery_CompositeFilter)(nil), "google.firestore.v1beta1.StructuredQuery.CompositeFilter") - proto.RegisterType((*StructuredQuery_FieldFilter)(nil), "google.firestore.v1beta1.StructuredQuery.FieldFilter") - proto.RegisterType((*StructuredQuery_UnaryFilter)(nil), "google.firestore.v1beta1.StructuredQuery.UnaryFilter") - proto.RegisterType((*StructuredQuery_Order)(nil), "google.firestore.v1beta1.StructuredQuery.Order") - proto.RegisterType((*StructuredQuery_FieldReference)(nil), "google.firestore.v1beta1.StructuredQuery.FieldReference") - proto.RegisterType((*StructuredQuery_Projection)(nil), "google.firestore.v1beta1.StructuredQuery.Projection") - proto.RegisterType((*Cursor)(nil), "google.firestore.v1beta1.Cursor") -} - -func init() { - proto.RegisterFile("google/firestore/v1beta1/query.proto", fileDescriptor_1ae4429ffd6f5a03) -} - -var fileDescriptor_1ae4429ffd6f5a03 = []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, 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, 0x9c, 0x39, 0xe7, 0x37, 0xc7, 0xff, 0x73, 0xce, 0x4c, 0xe0, - 0x8b, 0x19, 0xa5, 0xb3, 0x90, 0x74, 0xfd, 0x80, 0x91, 0x84, 0x53, 0x46, 0xba, 0xaf, 0x77, 0xa7, - 0x84, 0x3b, 0xbb, 0xdd, 0x5f, 0x52, 0xc2, 0xae, 0xf5, 0x98, 0x51, 0x4e, 0x91, 0x96, 0x7b, 0xe9, - 0x73, 0x2f, 0x5d, 0x7a, 0xb5, 0x9f, 0xde, 0x1b, 0xef, 0x51, 0x37, 0xbd, 0x22, 0x11, 0xcf, 0x11, - 0xed, 0x27, 0xd2, 0x51, 0xac, 0xa6, 0xa9, 0xdf, 0x7d, 0xc3, 0x9c, 0x38, 0x26, 0x2c, 0x91, 0xfb, - 0x8f, 0xe5, 0xbe, 0x13, 0x07, 0x5d, 0x27, 0x8a, 0x28, 0x77, 0x78, 0x40, 0x23, 0xb9, 0xdb, 0xf9, - 0xf5, 0x03, 0xd8, 0x9a, 0x70, 0x96, 0xba, 0x3c, 0x65, 0xc4, 0x3b, 0xc9, 0x52, 0x43, 0xc7, 0x50, - 0x49, 0x48, 0x48, 0x5c, 0xae, 0x29, 0xdb, 0xca, 0x4e, 0x63, 0xef, 0x6b, 0xfd, 0xbe, 0x2c, 0xf5, - 0xf7, 0x42, 0x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0x39, 0xcc, 0x51, 0xfd, 0x90, - 0xa6, 0x9e, 0x7e, 0x30, 0x3f, 0xf8, 0x7c, 0xb7, 0x97, 0x45, 0xfc, 0x55, 0x38, 0x5c, 0x08, 0x87, - 0x8b, 0xb9, 0xc3, 0xc5, 0x79, 0x8e, 0x9c, 0x56, 0xc4, 0xb1, 0xfb, 0xff, 0x04, 0x00, 0x00, 0xff, - 0xff, 0xad, 0xf6, 0x4e, 0x1a, 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 deleted file mode 100644 index 5177cd60..00000000 --- a/vendor/google.golang.org/genproto/googleapis/firestore/v1beta1/write.pb.go +++ /dev/null @@ -1,774 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/firestore/v1beta1/write.proto - -package firestore - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A value that is calculated by the server. -type DocumentTransform_FieldTransform_ServerValue int32 - -const ( - // Unspecified. This value must not be used. - DocumentTransform_FieldTransform_SERVER_VALUE_UNSPECIFIED DocumentTransform_FieldTransform_ServerValue = 0 - // The time at which the server processed the request, with millisecond - // precision. - DocumentTransform_FieldTransform_REQUEST_TIME DocumentTransform_FieldTransform_ServerValue = 1 -) - -var DocumentTransform_FieldTransform_ServerValue_name = map[int32]string{ - 0: "SERVER_VALUE_UNSPECIFIED", - 1: "REQUEST_TIME", -} - -var DocumentTransform_FieldTransform_ServerValue_value = map[string]int32{ - "SERVER_VALUE_UNSPECIFIED": 0, - "REQUEST_TIME": 1, -} - -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_4c92377d80e15b52, []int{1, 0, 0} -} - -// A write on a document. -type Write struct { - // The operation to execute. - // - // Types that are valid to be assigned to Operation: - // *Write_Update - // *Write_Delete - // *Write_Transform - Operation isWrite_Operation `protobuf_oneof:"operation"` - // The fields to update in this write. - // - // This field can be set only when the operation is `update`. - // 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. - UpdateMask *DocumentMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` - // An optional precondition on the document. - // - // The write will fail if this is set and not met by the target document. - CurrentDocument *Precondition `protobuf:"bytes,4,opt,name=current_document,json=currentDocument,proto3" json:"current_document,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_4c92377d80e15b52, []int{0} -} - -func (m *Write) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Write.Unmarshal(m, b) -} -func (m *Write) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Write.Marshal(b, m, deterministic) -} -func (m *Write) XXX_Merge(src proto.Message) { - xxx_messageInfo_Write.Merge(m, src) -} -func (m *Write) XXX_Size() int { - return xxx_messageInfo_Write.Size(m) -} -func (m *Write) XXX_DiscardUnknown() { - xxx_messageInfo_Write.DiscardUnknown(m) -} - -var xxx_messageInfo_Write proto.InternalMessageInfo - -type isWrite_Operation interface { - isWrite_Operation() -} - -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_Transform) isWrite_Operation() {} - -func (m *Write) GetOperation() isWrite_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *Write) GetUpdate() *Document { - if x, ok := m.GetOperation().(*Write_Update); ok { - return x.Update - } - return nil -} - -func (m *Write) GetDelete() string { - if x, ok := m.GetOperation().(*Write_Delete); ok { - return x.Delete - } - return "" -} - -func (m *Write) GetTransform() *DocumentTransform { - if x, ok := m.GetOperation().(*Write_Transform); ok { - return x.Transform - } - return nil -} - -func (m *Write) GetUpdateMask() *DocumentMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -func (m *Write) GetCurrentDocument() *Precondition { - if m != nil { - return m.CurrentDocument - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Write) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Write_Update)(nil), - (*Write_Delete)(nil), - (*Write_Transform)(nil), - } -} - -// A transformation of a document. -type DocumentTransform struct { - // The name of the document to transform. - Document string `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` - // The list of transformations to apply to the fields of the document, in - // order. - // This must not be empty. - FieldTransforms []*DocumentTransform_FieldTransform `protobuf:"bytes,2,rep,name=field_transforms,json=fieldTransforms,proto3" json:"field_transforms,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_4c92377d80e15b52, []int{1} -} - -func (m *DocumentTransform) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DocumentTransform.Unmarshal(m, b) -} -func (m *DocumentTransform) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DocumentTransform.Marshal(b, m, deterministic) -} -func (m *DocumentTransform) XXX_Merge(src proto.Message) { - xxx_messageInfo_DocumentTransform.Merge(m, src) -} -func (m *DocumentTransform) XXX_Size() int { - return xxx_messageInfo_DocumentTransform.Size(m) -} -func (m *DocumentTransform) XXX_DiscardUnknown() { - xxx_messageInfo_DocumentTransform.DiscardUnknown(m) -} - -var xxx_messageInfo_DocumentTransform proto.InternalMessageInfo - -func (m *DocumentTransform) GetDocument() string { - if m != nil { - return m.Document - } - return "" -} - -func (m *DocumentTransform) GetFieldTransforms() []*DocumentTransform_FieldTransform { - if m != nil { - return m.FieldTransforms - } - return nil -} - -// A transformation of a field of the document. -type DocumentTransform_FieldTransform struct { - // The path of the field. See [Document.fields][google.firestore.v1beta1.Document.fields] for the field path syntax - // reference. - FieldPath string `protobuf:"bytes,1,opt,name=field_path,json=fieldPath,proto3" json:"field_path,omitempty"` - // The transformation to apply on the field. - // - // Types that are valid to be assigned to TransformType: - // *DocumentTransform_FieldTransform_SetToServerValue - // *DocumentTransform_FieldTransform_Increment - // *DocumentTransform_FieldTransform_Maximum - // *DocumentTransform_FieldTransform_Minimum - // *DocumentTransform_FieldTransform_AppendMissingElements - // *DocumentTransform_FieldTransform_RemoveAllFromArray - TransformType isDocumentTransform_FieldTransform_TransformType `protobuf_oneof:"transform_type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DocumentTransform_FieldTransform) Reset() { *m = DocumentTransform_FieldTransform{} } -func (m *DocumentTransform_FieldTransform) String() string { return proto.CompactTextString(m) } -func (*DocumentTransform_FieldTransform) ProtoMessage() {} -func (*DocumentTransform_FieldTransform) Descriptor() ([]byte, []int) { - return fileDescriptor_4c92377d80e15b52, []int{1, 0} -} - -func (m *DocumentTransform_FieldTransform) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DocumentTransform_FieldTransform.Unmarshal(m, b) -} -func (m *DocumentTransform_FieldTransform) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DocumentTransform_FieldTransform.Marshal(b, m, deterministic) -} -func (m *DocumentTransform_FieldTransform) XXX_Merge(src proto.Message) { - xxx_messageInfo_DocumentTransform_FieldTransform.Merge(m, src) -} -func (m *DocumentTransform_FieldTransform) XXX_Size() int { - return xxx_messageInfo_DocumentTransform_FieldTransform.Size(m) -} -func (m *DocumentTransform_FieldTransform) XXX_DiscardUnknown() { - xxx_messageInfo_DocumentTransform_FieldTransform.DiscardUnknown(m) -} - -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() -} - -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_Increment struct { - Increment *Value `protobuf:"bytes,3,opt,name=increment,proto3,oneof"` -} - -type DocumentTransform_FieldTransform_Maximum struct { - Maximum *Value `protobuf:"bytes,4,opt,name=maximum,proto3,oneof"` -} - -type DocumentTransform_FieldTransform_Minimum struct { - Minimum *Value `protobuf:"bytes,5,opt,name=minimum,proto3,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_Increment) isDocumentTransform_FieldTransform_TransformType() { -} - -func (*DocumentTransform_FieldTransform_Maximum) isDocumentTransform_FieldTransform_TransformType() {} - -func (*DocumentTransform_FieldTransform_Minimum) 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 - } - return nil -} - -func (m *DocumentTransform_FieldTransform) GetSetToServerValue() DocumentTransform_FieldTransform_ServerValue { - if x, ok := m.GetTransformType().(*DocumentTransform_FieldTransform_SetToServerValue); ok { - return x.SetToServerValue - } - return DocumentTransform_FieldTransform_SERVER_VALUE_UNSPECIFIED -} - -func (m *DocumentTransform_FieldTransform) GetIncrement() *Value { - if x, ok := m.GetTransformType().(*DocumentTransform_FieldTransform_Increment); ok { - return x.Increment - } - return nil -} - -func (m *DocumentTransform_FieldTransform) GetMaximum() *Value { - if x, ok := m.GetTransformType().(*DocumentTransform_FieldTransform_Maximum); ok { - return x.Maximum - } - return nil -} - -func (m *DocumentTransform_FieldTransform) GetMinimum() *Value { - if x, ok := m.GetTransformType().(*DocumentTransform_FieldTransform_Minimum); ok { - return x.Minimum - } - return nil -} - -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_OneofWrappers is for the internal use of the proto package. -func (*DocumentTransform_FieldTransform) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*DocumentTransform_FieldTransform_SetToServerValue)(nil), - (*DocumentTransform_FieldTransform_Increment)(nil), - (*DocumentTransform_FieldTransform_Maximum)(nil), - (*DocumentTransform_FieldTransform_Minimum)(nil), - (*DocumentTransform_FieldTransform_AppendMissingElements)(nil), - (*DocumentTransform_FieldTransform_RemoveAllFromArray)(nil), - } -} - -// The result of applying a write. -type WriteResult struct { - // The last update time of the document after applying the write. Not set - // after a `delete`. - // - // If the write did not actually change the document, this will be the - // previous update_time. - UpdateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - // The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the - // same order. - TransformResults []*Value `protobuf:"bytes,2,rep,name=transform_results,json=transformResults,proto3" json:"transform_results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_4c92377d80e15b52, []int{2} -} - -func (m *WriteResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WriteResult.Unmarshal(m, b) -} -func (m *WriteResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WriteResult.Marshal(b, m, deterministic) -} -func (m *WriteResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_WriteResult.Merge(m, src) -} -func (m *WriteResult) XXX_Size() int { - return xxx_messageInfo_WriteResult.Size(m) -} -func (m *WriteResult) XXX_DiscardUnknown() { - xxx_messageInfo_WriteResult.DiscardUnknown(m) -} - -var xxx_messageInfo_WriteResult proto.InternalMessageInfo - -func (m *WriteResult) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -func (m *WriteResult) GetTransformResults() []*Value { - if m != nil { - return m.TransformResults - } - return nil -} - -// A [Document][google.firestore.v1beta1.Document] has changed. -// -// May be the result of multiple [writes][google.firestore.v1beta1.Write], including deletes, that -// ultimately resulted in a new value for the [Document][google.firestore.v1beta1.Document]. -// -// Multiple [DocumentChange][google.firestore.v1beta1.DocumentChange] messages may be returned for the same logical -// change, if multiple targets are affected. -type DocumentChange struct { - // The new state of the [Document][google.firestore.v1beta1.Document]. - // - // If `mask` is set, contains only fields that were updated or added. - Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` - // A set of target IDs of targets that match this document. - TargetIds []int32 `protobuf:"varint,5,rep,packed,name=target_ids,json=targetIds,proto3" json:"target_ids,omitempty"` - // A set of target IDs for targets that no longer match this document. - RemovedTargetIds []int32 `protobuf:"varint,6,rep,packed,name=removed_target_ids,json=removedTargetIds,proto3" json:"removed_target_ids,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_4c92377d80e15b52, []int{3} -} - -func (m *DocumentChange) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DocumentChange.Unmarshal(m, b) -} -func (m *DocumentChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DocumentChange.Marshal(b, m, deterministic) -} -func (m *DocumentChange) XXX_Merge(src proto.Message) { - xxx_messageInfo_DocumentChange.Merge(m, src) -} -func (m *DocumentChange) XXX_Size() int { - return xxx_messageInfo_DocumentChange.Size(m) -} -func (m *DocumentChange) XXX_DiscardUnknown() { - xxx_messageInfo_DocumentChange.DiscardUnknown(m) -} - -var xxx_messageInfo_DocumentChange proto.InternalMessageInfo - -func (m *DocumentChange) GetDocument() *Document { - if m != nil { - return m.Document - } - return nil -} - -func (m *DocumentChange) GetTargetIds() []int32 { - if m != nil { - return m.TargetIds - } - return nil -} - -func (m *DocumentChange) GetRemovedTargetIds() []int32 { - if m != nil { - return m.RemovedTargetIds - } - return nil -} - -// A [Document][google.firestore.v1beta1.Document] has been deleted. -// -// May be the result of multiple [writes][google.firestore.v1beta1.Write], including updates, the -// last of which deleted the [Document][google.firestore.v1beta1.Document]. -// -// Multiple [DocumentDelete][google.firestore.v1beta1.DocumentDelete] messages may be returned for the same logical -// delete, if multiple targets are affected. -type DocumentDelete struct { - // The resource name of the [Document][google.firestore.v1beta1.Document] that was deleted. - Document string `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` - // A set of target IDs for targets that previously matched this entity. - RemovedTargetIds []int32 `protobuf:"varint,6,rep,packed,name=removed_target_ids,json=removedTargetIds,proto3" json:"removed_target_ids,omitempty"` - // The read timestamp at which the delete was observed. - // - // Greater or equal to the `commit_time` of the delete. - ReadTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_4c92377d80e15b52, []int{4} -} - -func (m *DocumentDelete) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DocumentDelete.Unmarshal(m, b) -} -func (m *DocumentDelete) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DocumentDelete.Marshal(b, m, deterministic) -} -func (m *DocumentDelete) XXX_Merge(src proto.Message) { - xxx_messageInfo_DocumentDelete.Merge(m, src) -} -func (m *DocumentDelete) XXX_Size() int { - return xxx_messageInfo_DocumentDelete.Size(m) -} -func (m *DocumentDelete) XXX_DiscardUnknown() { - xxx_messageInfo_DocumentDelete.DiscardUnknown(m) -} - -var xxx_messageInfo_DocumentDelete proto.InternalMessageInfo - -func (m *DocumentDelete) GetDocument() string { - if m != nil { - return m.Document - } - return "" -} - -func (m *DocumentDelete) GetRemovedTargetIds() []int32 { - if m != nil { - return m.RemovedTargetIds - } - return nil -} - -func (m *DocumentDelete) GetReadTime() *timestamp.Timestamp { - if m != nil { - return m.ReadTime - } - return nil -} - -// A [Document][google.firestore.v1beta1.Document] has been removed from the view of the targets. -// -// Sent if the document is no longer relevant to a target and is out of view. -// Can be sent instead of a DocumentDelete or a DocumentChange if the server -// can not send the new value of the document. -// -// Multiple [DocumentRemove][google.firestore.v1beta1.DocumentRemove] messages may be returned for the same logical -// write or delete, if multiple targets are affected. -type DocumentRemove struct { - // The resource name of the [Document][google.firestore.v1beta1.Document] that has gone out of view. - Document string `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` - // A set of target IDs for targets that previously matched this document. - RemovedTargetIds []int32 `protobuf:"varint,2,rep,packed,name=removed_target_ids,json=removedTargetIds,proto3" json:"removed_target_ids,omitempty"` - // The read timestamp at which the remove was observed. - // - // Greater or equal to the `commit_time` of the change/delete/remove. - ReadTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_4c92377d80e15b52, []int{5} -} - -func (m *DocumentRemove) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DocumentRemove.Unmarshal(m, b) -} -func (m *DocumentRemove) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DocumentRemove.Marshal(b, m, deterministic) -} -func (m *DocumentRemove) XXX_Merge(src proto.Message) { - xxx_messageInfo_DocumentRemove.Merge(m, src) -} -func (m *DocumentRemove) XXX_Size() int { - return xxx_messageInfo_DocumentRemove.Size(m) -} -func (m *DocumentRemove) XXX_DiscardUnknown() { - xxx_messageInfo_DocumentRemove.DiscardUnknown(m) -} - -var xxx_messageInfo_DocumentRemove proto.InternalMessageInfo - -func (m *DocumentRemove) GetDocument() string { - if m != nil { - return m.Document - } - return "" -} - -func (m *DocumentRemove) GetRemovedTargetIds() []int32 { - if m != nil { - return m.RemovedTargetIds - } - return nil -} - -func (m *DocumentRemove) GetReadTime() *timestamp.Timestamp { - if m != nil { - return m.ReadTime - } - return nil -} - -// A digest of all the documents that match a given target. -type ExistenceFilter struct { - // The target ID to which this filter applies. - TargetId int32 `protobuf:"varint,1,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"` - // The total count of documents that match [target_id][google.firestore.v1beta1.ExistenceFilter.target_id]. - // - // If different from the count of documents in the client that match, the - // client must manually determine which documents no longer match the target. - Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_4c92377d80e15b52, []int{6} -} - -func (m *ExistenceFilter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExistenceFilter.Unmarshal(m, b) -} -func (m *ExistenceFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExistenceFilter.Marshal(b, m, deterministic) -} -func (m *ExistenceFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExistenceFilter.Merge(m, src) -} -func (m *ExistenceFilter) XXX_Size() int { - return xxx_messageInfo_ExistenceFilter.Size(m) -} -func (m *ExistenceFilter) XXX_DiscardUnknown() { - xxx_messageInfo_ExistenceFilter.DiscardUnknown(m) -} - -var xxx_messageInfo_ExistenceFilter proto.InternalMessageInfo - -func (m *ExistenceFilter) GetTargetId() int32 { - if m != nil { - return m.TargetId - } - return 0 -} - -func (m *ExistenceFilter) GetCount() int32 { - if m != nil { - return m.Count - } - return 0 -} - -func init() { - proto.RegisterEnum("google.firestore.v1beta1.DocumentTransform_FieldTransform_ServerValue", DocumentTransform_FieldTransform_ServerValue_name, DocumentTransform_FieldTransform_ServerValue_value) - proto.RegisterType((*Write)(nil), "google.firestore.v1beta1.Write") - proto.RegisterType((*DocumentTransform)(nil), "google.firestore.v1beta1.DocumentTransform") - proto.RegisterType((*DocumentTransform_FieldTransform)(nil), "google.firestore.v1beta1.DocumentTransform.FieldTransform") - proto.RegisterType((*WriteResult)(nil), "google.firestore.v1beta1.WriteResult") - proto.RegisterType((*DocumentChange)(nil), "google.firestore.v1beta1.DocumentChange") - proto.RegisterType((*DocumentDelete)(nil), "google.firestore.v1beta1.DocumentDelete") - proto.RegisterType((*DocumentRemove)(nil), "google.firestore.v1beta1.DocumentRemove") - proto.RegisterType((*ExistenceFilter)(nil), "google.firestore.v1beta1.ExistenceFilter") -} - -func init() { - proto.RegisterFile("google/firestore/v1beta1/write.proto", fileDescriptor_4c92377d80e15b52) -} - -var fileDescriptor_4c92377d80e15b52 = []byte{ - // 867 bytes of a gzipped FileDescriptorProto - 0x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 0xb8, 0xaa, 0xff, 0xdf, 0xae, 0x0e, 0x61, 0xd3, 0x7d, 0x19, - 0x49, 0x85, 0x6c, 0x8a, 0x83, 0x28, 0x56, 0x28, 0xc8, 0x7b, 0xd0, 0xaa, 0x32, 0x6a, 0x5b, 0x0d, - 0x6f, 0xbd, 0x6c, 0x05, 0x79, 0x07, 0x1a, 0x53, 0x9e, 0x31, 0xa5, 0x17, 0x59, 0xc3, 0x33, 0x41, - 0xff, 0x8f, 0x1a, 0x6c, 0x4d, 0x79, 0xb2, 0xb0, 0xe5, 0x7d, 0xd0, 0x4f, 0x79, 0x98, 0x3b, 0x19, - 0xd6, 0x7e, 0xd8, 0x2f, 0x70, 0x21, 0x8f, 0x29, 0x0b, 0x1d, 0x2e, 0xc2, 0x5e, 0x88, 0x4c, 0xfb, - 0xec, 0x99, 0x2b, 0x9a, 0x46, 0xf2, 0xf5, 0x7f, 0xf1, 0x27, 0xd5, 0xc9, 0x6f, 0xf5, 0xb5, 0xa3, - 0x83, 0xc1, 0xe8, 0xf7, 0xfa, 0xfb, 0x47, 0x46, 0xea, 0x20, 0xe6, 0x59, 0xe0, 0x0c, 0xaa, 0xc4, - 0x93, 0xdd, 0x7e, 0xce, 0xf8, 0xb3, 0x04, 0x9c, 0x6b, 0xc0, 0x79, 0x05, 0x38, 0x9f, 0x18, 0xc9, - 0x8b, 0xa6, 0x4e, 0xfb, 0xe9, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xdd, 0x64, 0x4b, 0x89, 0xa2, - 0x08, 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 deleted file mode 100644 index 9457ea76..00000000 --- a/vendor/google.golang.org/genproto/googleapis/genomics/v1/annotations.pb.go +++ /dev/null @@ -1,2580 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/genomics/v1/annotations.proto - -package genomics - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _struct "github.com/golang/protobuf/ptypes/struct" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// When an [Annotation][google.genomics.v1.Annotation] or -// [AnnotationSet][google.genomics.v1.AnnotationSet] is created, if `type` is -// not specified it will be set to `GENERIC`. -type AnnotationType int32 - -const ( - AnnotationType_ANNOTATION_TYPE_UNSPECIFIED AnnotationType = 0 - // A `GENERIC` annotation type should be used when no other annotation - // type will suffice. This represents an untyped annotation of the reference - // genome. - AnnotationType_GENERIC AnnotationType = 1 - // A `VARIANT` annotation type. - AnnotationType_VARIANT AnnotationType = 2 - // A `GENE` annotation type represents the existence of a gene at the - // associated reference coordinates. The start coordinate is typically the - // gene's transcription start site and the end is typically the end of the - // gene's last exon. - AnnotationType_GENE AnnotationType = 3 - // A `TRANSCRIPT` annotation type represents the assertion that a - // particular region of the reference genome may be transcribed as RNA. - AnnotationType_TRANSCRIPT AnnotationType = 4 -) - -var AnnotationType_name = map[int32]string{ - 0: "ANNOTATION_TYPE_UNSPECIFIED", - 1: "GENERIC", - 2: "VARIANT", - 3: "GENE", - 4: "TRANSCRIPT", -} - -var AnnotationType_value = map[string]int32{ - "ANNOTATION_TYPE_UNSPECIFIED": 0, - "GENERIC": 1, - "VARIANT": 2, - "GENE": 3, - "TRANSCRIPT": 4, -} - -func (x AnnotationType) String() string { - return proto.EnumName(AnnotationType_name, int32(x)) -} - -func (AnnotationType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4c5f02d3172d33a8, []int{0} -} - -type VariantAnnotation_Type int32 - -const ( - VariantAnnotation_TYPE_UNSPECIFIED VariantAnnotation_Type = 0 - // `TYPE_OTHER` should be used when no other Type will suffice. - // Further explanation of the variant type may be included in the - // [info][google.genomics.v1.Annotation.info] field. - VariantAnnotation_TYPE_OTHER VariantAnnotation_Type = 1 - // `INSERTION` indicates an insertion. - VariantAnnotation_INSERTION VariantAnnotation_Type = 2 - // `DELETION` indicates a deletion. - VariantAnnotation_DELETION VariantAnnotation_Type = 3 - // `SUBSTITUTION` indicates a block substitution of - // two or more nucleotides. - VariantAnnotation_SUBSTITUTION VariantAnnotation_Type = 4 - // `SNP` indicates a single nucleotide polymorphism. - VariantAnnotation_SNP VariantAnnotation_Type = 5 - // `STRUCTURAL` indicates a large structural variant, - // including chromosomal fusions, inversions, etc. - VariantAnnotation_STRUCTURAL VariantAnnotation_Type = 6 - // `CNV` indicates a variation in copy number. - VariantAnnotation_CNV VariantAnnotation_Type = 7 -) - -var VariantAnnotation_Type_name = map[int32]string{ - 0: "TYPE_UNSPECIFIED", - 1: "TYPE_OTHER", - 2: "INSERTION", - 3: "DELETION", - 4: "SUBSTITUTION", - 5: "SNP", - 6: "STRUCTURAL", - 7: "CNV", -} - -var VariantAnnotation_Type_value = map[string]int32{ - "TYPE_UNSPECIFIED": 0, - "TYPE_OTHER": 1, - "INSERTION": 2, - "DELETION": 3, - "SUBSTITUTION": 4, - "SNP": 5, - "STRUCTURAL": 6, - "CNV": 7, -} - -func (x VariantAnnotation_Type) String() string { - return proto.EnumName(VariantAnnotation_Type_name, int32(x)) -} - -func (VariantAnnotation_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4c5f02d3172d33a8, []int{2, 0} -} - -type VariantAnnotation_Effect int32 - -const ( - VariantAnnotation_EFFECT_UNSPECIFIED VariantAnnotation_Effect = 0 - // `EFFECT_OTHER` should be used when no other Effect - // will suffice. - VariantAnnotation_EFFECT_OTHER VariantAnnotation_Effect = 1 - // `FRAMESHIFT` indicates a mutation in which the insertion or - // deletion of nucleotides resulted in a frameshift change. - VariantAnnotation_FRAMESHIFT VariantAnnotation_Effect = 2 - // `FRAME_PRESERVING_INDEL` indicates a mutation in which a - // multiple of three nucleotides has been inserted or deleted, resulting - // in no change to the reading frame of the coding sequence. - VariantAnnotation_FRAME_PRESERVING_INDEL VariantAnnotation_Effect = 3 - // `SYNONYMOUS_SNP` indicates a single nucleotide polymorphism - // mutation that results in no amino acid change. - VariantAnnotation_SYNONYMOUS_SNP VariantAnnotation_Effect = 4 - // `NONSYNONYMOUS_SNP` indicates a single nucleotide - // polymorphism mutation that results in an amino acid change. - VariantAnnotation_NONSYNONYMOUS_SNP VariantAnnotation_Effect = 5 - // `STOP_GAIN` indicates a mutation that leads to the creation - // of a stop codon at the variant site. Frameshift mutations creating - // downstream stop codons do not count as `STOP_GAIN`. - VariantAnnotation_STOP_GAIN VariantAnnotation_Effect = 6 - // `STOP_LOSS` indicates a mutation that eliminates a - // stop codon at the variant site. - VariantAnnotation_STOP_LOSS VariantAnnotation_Effect = 7 - // `SPLICE_SITE_DISRUPTION` indicates that this variant is - // found in a splice site for the associated transcript, and alters the - // normal splicing pattern. - VariantAnnotation_SPLICE_SITE_DISRUPTION VariantAnnotation_Effect = 8 -) - -var VariantAnnotation_Effect_name = map[int32]string{ - 0: "EFFECT_UNSPECIFIED", - 1: "EFFECT_OTHER", - 2: "FRAMESHIFT", - 3: "FRAME_PRESERVING_INDEL", - 4: "SYNONYMOUS_SNP", - 5: "NONSYNONYMOUS_SNP", - 6: "STOP_GAIN", - 7: "STOP_LOSS", - 8: "SPLICE_SITE_DISRUPTION", -} - -var VariantAnnotation_Effect_value = map[string]int32{ - "EFFECT_UNSPECIFIED": 0, - "EFFECT_OTHER": 1, - "FRAMESHIFT": 2, - "FRAME_PRESERVING_INDEL": 3, - "SYNONYMOUS_SNP": 4, - "NONSYNONYMOUS_SNP": 5, - "STOP_GAIN": 6, - "STOP_LOSS": 7, - "SPLICE_SITE_DISRUPTION": 8, -} - -func (x VariantAnnotation_Effect) String() string { - return proto.EnumName(VariantAnnotation_Effect_name, int32(x)) -} - -func (VariantAnnotation_Effect) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4c5f02d3172d33a8, []int{2, 1} -} - -type VariantAnnotation_ClinicalSignificance int32 - -const ( - VariantAnnotation_CLINICAL_SIGNIFICANCE_UNSPECIFIED VariantAnnotation_ClinicalSignificance = 0 - // `OTHER` should be used when no other clinical significance - // value will suffice. - VariantAnnotation_CLINICAL_SIGNIFICANCE_OTHER VariantAnnotation_ClinicalSignificance = 1 - VariantAnnotation_UNCERTAIN VariantAnnotation_ClinicalSignificance = 2 - VariantAnnotation_BENIGN VariantAnnotation_ClinicalSignificance = 3 - VariantAnnotation_LIKELY_BENIGN VariantAnnotation_ClinicalSignificance = 4 - VariantAnnotation_LIKELY_PATHOGENIC VariantAnnotation_ClinicalSignificance = 5 - VariantAnnotation_PATHOGENIC VariantAnnotation_ClinicalSignificance = 6 - VariantAnnotation_DRUG_RESPONSE VariantAnnotation_ClinicalSignificance = 7 - VariantAnnotation_HISTOCOMPATIBILITY VariantAnnotation_ClinicalSignificance = 8 - VariantAnnotation_CONFERS_SENSITIVITY VariantAnnotation_ClinicalSignificance = 9 - VariantAnnotation_RISK_FACTOR VariantAnnotation_ClinicalSignificance = 10 - VariantAnnotation_ASSOCIATION VariantAnnotation_ClinicalSignificance = 11 - VariantAnnotation_PROTECTIVE VariantAnnotation_ClinicalSignificance = 12 - // `MULTIPLE_REPORTED` should be used when multiple clinical - // signficances are reported for a variant. The original clinical - // significance values may be provided in the `info` field. - VariantAnnotation_MULTIPLE_REPORTED VariantAnnotation_ClinicalSignificance = 13 -) - -var VariantAnnotation_ClinicalSignificance_name = map[int32]string{ - 0: "CLINICAL_SIGNIFICANCE_UNSPECIFIED", - 1: "CLINICAL_SIGNIFICANCE_OTHER", - 2: "UNCERTAIN", - 3: "BENIGN", - 4: "LIKELY_BENIGN", - 5: "LIKELY_PATHOGENIC", - 6: "PATHOGENIC", - 7: "DRUG_RESPONSE", - 8: "HISTOCOMPATIBILITY", - 9: "CONFERS_SENSITIVITY", - 10: "RISK_FACTOR", - 11: "ASSOCIATION", - 12: "PROTECTIVE", - 13: "MULTIPLE_REPORTED", -} - -var VariantAnnotation_ClinicalSignificance_value = map[string]int32{ - "CLINICAL_SIGNIFICANCE_UNSPECIFIED": 0, - "CLINICAL_SIGNIFICANCE_OTHER": 1, - "UNCERTAIN": 2, - "BENIGN": 3, - "LIKELY_BENIGN": 4, - "LIKELY_PATHOGENIC": 5, - "PATHOGENIC": 6, - "DRUG_RESPONSE": 7, - "HISTOCOMPATIBILITY": 8, - "CONFERS_SENSITIVITY": 9, - "RISK_FACTOR": 10, - "ASSOCIATION": 11, - "PROTECTIVE": 12, - "MULTIPLE_REPORTED": 13, -} - -func (x VariantAnnotation_ClinicalSignificance) String() string { - return proto.EnumName(VariantAnnotation_ClinicalSignificance_name, int32(x)) -} - -func (VariantAnnotation_ClinicalSignificance) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4c5f02d3172d33a8, []int{2, 2} -} - -// An annotation set is a logical grouping of annotations that share consistent -// type information and provenance. Examples of annotation sets include 'all -// genes from refseq', and 'all variant annotations from ClinVar'. -type AnnotationSet struct { - // The server-generated annotation set ID, unique across all annotation sets. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // The dataset to which this annotation set belongs. - DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"` - // The ID of the reference set that defines the coordinate space for this - // set's annotations. - ReferenceSetId string `protobuf:"bytes,3,opt,name=reference_set_id,json=referenceSetId,proto3" json:"reference_set_id,omitempty"` - // The display name for this annotation set. - Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` - // The source URI describing the file from which this annotation set was - // generated, if any. - SourceUri string `protobuf:"bytes,5,opt,name=source_uri,json=sourceUri,proto3" json:"source_uri,omitempty"` - // The type of annotations contained within this set. - Type AnnotationType `protobuf:"varint,6,opt,name=type,proto3,enum=google.genomics.v1.AnnotationType" json:"type,omitempty"` - // A map of additional read alignment information. This must be of the form - // map (string key mapping to a list of string values). - Info map[string]*_struct.ListValue `protobuf:"bytes,17,rep,name=info,proto3" json:"info,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 *AnnotationSet) Reset() { *m = AnnotationSet{} } -func (m *AnnotationSet) String() string { return proto.CompactTextString(m) } -func (*AnnotationSet) ProtoMessage() {} -func (*AnnotationSet) Descriptor() ([]byte, []int) { - return fileDescriptor_4c5f02d3172d33a8, []int{0} -} - -func (m *AnnotationSet) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnnotationSet.Unmarshal(m, b) -} -func (m *AnnotationSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnnotationSet.Marshal(b, m, deterministic) -} -func (m *AnnotationSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnnotationSet.Merge(m, src) -} -func (m *AnnotationSet) XXX_Size() int { - return xxx_messageInfo_AnnotationSet.Size(m) -} -func (m *AnnotationSet) XXX_DiscardUnknown() { - xxx_messageInfo_AnnotationSet.DiscardUnknown(m) -} - -var xxx_messageInfo_AnnotationSet proto.InternalMessageInfo - -func (m *AnnotationSet) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *AnnotationSet) GetDatasetId() string { - if m != nil { - return m.DatasetId - } - return "" -} - -func (m *AnnotationSet) GetReferenceSetId() string { - if m != nil { - return m.ReferenceSetId - } - return "" -} - -func (m *AnnotationSet) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *AnnotationSet) GetSourceUri() string { - if m != nil { - return m.SourceUri - } - return "" -} - -func (m *AnnotationSet) GetType() AnnotationType { - if m != nil { - return m.Type - } - return AnnotationType_ANNOTATION_TYPE_UNSPECIFIED -} - -func (m *AnnotationSet) GetInfo() map[string]*_struct.ListValue { - if m != nil { - return m.Info - } - return nil -} - -// An annotation describes a region of reference genome. The value of an -// annotation may be one of several canonical types, supplemented by arbitrary -// info tags. An annotation is not inherently associated with a specific -// sample or individual (though a client could choose to use annotations in -// this way). Example canonical annotation types are `GENE` and -// `VARIANT`. -type Annotation struct { - // The server-generated annotation ID, unique across all annotations. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // The annotation set to which this annotation belongs. - AnnotationSetId string `protobuf:"bytes,2,opt,name=annotation_set_id,json=annotationSetId,proto3" json:"annotation_set_id,omitempty"` - // The display name of this annotation. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - // The ID of the Google Genomics reference associated with this range. - ReferenceId string `protobuf:"bytes,4,opt,name=reference_id,json=referenceId,proto3" json:"reference_id,omitempty"` - // The display name corresponding to the reference specified by - // `referenceId`, for example `chr1`, `1`, or `chrX`. - ReferenceName string `protobuf:"bytes,5,opt,name=reference_name,json=referenceName,proto3" json:"reference_name,omitempty"` - // The start position of the range on the reference, 0-based inclusive. - Start int64 `protobuf:"varint,6,opt,name=start,proto3" json:"start,omitempty"` - // The end position of the range on the reference, 0-based exclusive. - End int64 `protobuf:"varint,7,opt,name=end,proto3" json:"end,omitempty"` - // Whether this range refers to the reverse strand, as opposed to the forward - // strand. Note that regardless of this field, the start/end position of the - // range always refer to the forward strand. - ReverseStrand bool `protobuf:"varint,8,opt,name=reverse_strand,json=reverseStrand,proto3" json:"reverse_strand,omitempty"` - // The data type for this annotation. Must match the containing annotation - // set's type. - Type AnnotationType `protobuf:"varint,9,opt,name=type,proto3,enum=google.genomics.v1.AnnotationType" json:"type,omitempty"` - // Types that are valid to be assigned to Value: - // *Annotation_Variant - // *Annotation_Transcript - Value isAnnotation_Value `protobuf_oneof:"value"` - // A map of additional read alignment information. This must be of the form - // map (string key mapping to a list of string values). - Info map[string]*_struct.ListValue `protobuf:"bytes,12,rep,name=info,proto3" json:"info,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 *Annotation) Reset() { *m = Annotation{} } -func (m *Annotation) String() string { return proto.CompactTextString(m) } -func (*Annotation) ProtoMessage() {} -func (*Annotation) Descriptor() ([]byte, []int) { - return fileDescriptor_4c5f02d3172d33a8, []int{1} -} - -func (m *Annotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Annotation.Unmarshal(m, b) -} -func (m *Annotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Annotation.Marshal(b, m, deterministic) -} -func (m *Annotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Annotation.Merge(m, src) -} -func (m *Annotation) XXX_Size() int { - return xxx_messageInfo_Annotation.Size(m) -} -func (m *Annotation) XXX_DiscardUnknown() { - xxx_messageInfo_Annotation.DiscardUnknown(m) -} - -var xxx_messageInfo_Annotation proto.InternalMessageInfo - -func (m *Annotation) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *Annotation) GetAnnotationSetId() string { - if m != nil { - return m.AnnotationSetId - } - return "" -} - -func (m *Annotation) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Annotation) GetReferenceId() string { - if m != nil { - return m.ReferenceId - } - return "" -} - -func (m *Annotation) GetReferenceName() string { - if m != nil { - return m.ReferenceName - } - return "" -} - -func (m *Annotation) GetStart() int64 { - if m != nil { - return m.Start - } - return 0 -} - -func (m *Annotation) GetEnd() int64 { - if m != nil { - return m.End - } - return 0 -} - -func (m *Annotation) GetReverseStrand() bool { - if m != nil { - return m.ReverseStrand - } - return false -} - -func (m *Annotation) GetType() AnnotationType { - if m != nil { - return m.Type - } - 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 - } - return nil -} - -func (m *Annotation) GetTranscript() *Transcript { - if x, ok := m.GetValue().(*Annotation_Transcript); ok { - return x.Transcript - } - return nil -} - -func (m *Annotation) GetInfo() map[string]*_struct.ListValue { - if m != nil { - return m.Info - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Annotation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Annotation_Variant)(nil), - (*Annotation_Transcript)(nil), - } -} - -type VariantAnnotation struct { - // Type has been adapted from ClinVar's list of variant types. - Type VariantAnnotation_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.genomics.v1.VariantAnnotation_Type" json:"type,omitempty"` - // Effect of the variant on the coding sequence. - Effect VariantAnnotation_Effect `protobuf:"varint,2,opt,name=effect,proto3,enum=google.genomics.v1.VariantAnnotation_Effect" json:"effect,omitempty"` - // The alternate allele for this variant. If multiple alternate alleles - // exist at this location, create a separate variant for each one, as they - // may represent distinct conditions. - AlternateBases string `protobuf:"bytes,3,opt,name=alternate_bases,json=alternateBases,proto3" json:"alternate_bases,omitempty"` - // Google annotation ID of the gene affected by this variant. This should - // be provided when the variant is created. - GeneId string `protobuf:"bytes,4,opt,name=gene_id,json=geneId,proto3" json:"gene_id,omitempty"` - // Google annotation IDs of the transcripts affected by this variant. These - // should be provided when the variant is created. - TranscriptIds []string `protobuf:"bytes,5,rep,name=transcript_ids,json=transcriptIds,proto3" json:"transcript_ids,omitempty"` - // The set of conditions associated with this variant. - // A condition describes the way a variant influences human health. - Conditions []*VariantAnnotation_ClinicalCondition `protobuf:"bytes,6,rep,name=conditions,proto3" json:"conditions,omitempty"` - // Describes the clinical significance of a variant. - // It is adapted from the ClinVar controlled vocabulary for clinical - // significance described at: - // http://www.ncbi.nlm.nih.gov/clinvar/docs/clinsig/ - ClinicalSignificance VariantAnnotation_ClinicalSignificance `protobuf:"varint,7,opt,name=clinical_significance,json=clinicalSignificance,proto3,enum=google.genomics.v1.VariantAnnotation_ClinicalSignificance" json:"clinical_significance,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_4c5f02d3172d33a8, []int{2} -} - -func (m *VariantAnnotation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VariantAnnotation.Unmarshal(m, b) -} -func (m *VariantAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VariantAnnotation.Marshal(b, m, deterministic) -} -func (m *VariantAnnotation) XXX_Merge(src proto.Message) { - xxx_messageInfo_VariantAnnotation.Merge(m, src) -} -func (m *VariantAnnotation) XXX_Size() int { - return xxx_messageInfo_VariantAnnotation.Size(m) -} -func (m *VariantAnnotation) XXX_DiscardUnknown() { - xxx_messageInfo_VariantAnnotation.DiscardUnknown(m) -} - -var xxx_messageInfo_VariantAnnotation proto.InternalMessageInfo - -func (m *VariantAnnotation) GetType() VariantAnnotation_Type { - if m != nil { - return m.Type - } - return VariantAnnotation_TYPE_UNSPECIFIED -} - -func (m *VariantAnnotation) GetEffect() VariantAnnotation_Effect { - if m != nil { - return m.Effect - } - return VariantAnnotation_EFFECT_UNSPECIFIED -} - -func (m *VariantAnnotation) GetAlternateBases() string { - if m != nil { - return m.AlternateBases - } - return "" -} - -func (m *VariantAnnotation) GetGeneId() string { - if m != nil { - return m.GeneId - } - return "" -} - -func (m *VariantAnnotation) GetTranscriptIds() []string { - if m != nil { - return m.TranscriptIds - } - return nil -} - -func (m *VariantAnnotation) GetConditions() []*VariantAnnotation_ClinicalCondition { - if m != nil { - return m.Conditions - } - return nil -} - -func (m *VariantAnnotation) GetClinicalSignificance() VariantAnnotation_ClinicalSignificance { - if m != nil { - return m.ClinicalSignificance - } - return VariantAnnotation_CLINICAL_SIGNIFICANCE_UNSPECIFIED -} - -type VariantAnnotation_ClinicalCondition struct { - // A set of names for the condition. - Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` - // The set of external IDs for this condition. - ExternalIds []*ExternalId `protobuf:"bytes,2,rep,name=external_ids,json=externalIds,proto3" json:"external_ids,omitempty"` - // The MedGen concept id associated with this gene. - // Search for these IDs at http://www.ncbi.nlm.nih.gov/medgen/ - ConceptId string `protobuf:"bytes,3,opt,name=concept_id,json=conceptId,proto3" json:"concept_id,omitempty"` - // The OMIM id for this condition. - // Search for these IDs at http://omim.org/ - OmimId string `protobuf:"bytes,4,opt,name=omim_id,json=omimId,proto3" json:"omim_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VariantAnnotation_ClinicalCondition) Reset() { *m = VariantAnnotation_ClinicalCondition{} } -func (m *VariantAnnotation_ClinicalCondition) String() string { return proto.CompactTextString(m) } -func (*VariantAnnotation_ClinicalCondition) ProtoMessage() {} -func (*VariantAnnotation_ClinicalCondition) Descriptor() ([]byte, []int) { - return fileDescriptor_4c5f02d3172d33a8, []int{2, 0} -} - -func (m *VariantAnnotation_ClinicalCondition) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VariantAnnotation_ClinicalCondition.Unmarshal(m, b) -} -func (m *VariantAnnotation_ClinicalCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VariantAnnotation_ClinicalCondition.Marshal(b, m, deterministic) -} -func (m *VariantAnnotation_ClinicalCondition) XXX_Merge(src proto.Message) { - xxx_messageInfo_VariantAnnotation_ClinicalCondition.Merge(m, src) -} -func (m *VariantAnnotation_ClinicalCondition) XXX_Size() int { - return xxx_messageInfo_VariantAnnotation_ClinicalCondition.Size(m) -} -func (m *VariantAnnotation_ClinicalCondition) XXX_DiscardUnknown() { - xxx_messageInfo_VariantAnnotation_ClinicalCondition.DiscardUnknown(m) -} - -var xxx_messageInfo_VariantAnnotation_ClinicalCondition proto.InternalMessageInfo - -func (m *VariantAnnotation_ClinicalCondition) GetNames() []string { - if m != nil { - return m.Names - } - return nil -} - -func (m *VariantAnnotation_ClinicalCondition) GetExternalIds() []*ExternalId { - if m != nil { - return m.ExternalIds - } - return nil -} - -func (m *VariantAnnotation_ClinicalCondition) GetConceptId() string { - if m != nil { - return m.ConceptId - } - return "" -} - -func (m *VariantAnnotation_ClinicalCondition) GetOmimId() string { - if m != nil { - return m.OmimId - } - return "" -} - -// A transcript represents the assertion that a particular region of the -// reference genome may be transcribed as RNA. -type Transcript struct { - // The annotation ID of the gene from which this transcript is transcribed. - GeneId string `protobuf:"bytes,1,opt,name=gene_id,json=geneId,proto3" json:"gene_id,omitempty"` - // The exons that compose - // this transcript. This field should be unset for genomes where transcript - // splicing does not occur, for example prokaryotes. - // - // Introns are regions of the transcript that are not included in the - // spliced RNA product. Though not explicitly modeled here, intron ranges can - // be deduced; all regions of this transcript that are not exons are introns. - // - // Exonic sequences do not necessarily code for a translational product - // (amino acids). Only the regions of exons bounded by the - // [codingSequence][google.genomics.v1.Transcript.coding_sequence] correspond - // to coding DNA sequence. - // - // Exons are ordered by start position and may not overlap. - Exons []*Transcript_Exon `protobuf:"bytes,2,rep,name=exons,proto3" json:"exons,omitempty"` - // The range of the coding sequence for this transcript, if any. To determine - // the exact ranges of coding sequence, intersect this range with those of the - // [exons][google.genomics.v1.Transcript.exons], if any. If there are any - // [exons][google.genomics.v1.Transcript.exons], the - // [codingSequence][google.genomics.v1.Transcript.coding_sequence] must start - // and end within them. - // - // Note that in some cases, the reference genome will not exactly match the - // observed mRNA transcript e.g. due to variance in the source genome from - // reference. In these cases, - // [exon.frame][google.genomics.v1.Transcript.Exon.frame] will not necessarily - // match the expected reference reading frame and coding exon reference bases - // cannot necessarily be concatenated to produce the original transcript mRNA. - CodingSequence *Transcript_CodingSequence `protobuf:"bytes,3,opt,name=coding_sequence,json=codingSequence,proto3" json:"coding_sequence,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_4c5f02d3172d33a8, []int{3} -} - -func (m *Transcript) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Transcript.Unmarshal(m, b) -} -func (m *Transcript) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Transcript.Marshal(b, m, deterministic) -} -func (m *Transcript) XXX_Merge(src proto.Message) { - xxx_messageInfo_Transcript.Merge(m, src) -} -func (m *Transcript) XXX_Size() int { - return xxx_messageInfo_Transcript.Size(m) -} -func (m *Transcript) XXX_DiscardUnknown() { - xxx_messageInfo_Transcript.DiscardUnknown(m) -} - -var xxx_messageInfo_Transcript proto.InternalMessageInfo - -func (m *Transcript) GetGeneId() string { - if m != nil { - return m.GeneId - } - return "" -} - -func (m *Transcript) GetExons() []*Transcript_Exon { - if m != nil { - return m.Exons - } - return nil -} - -func (m *Transcript) GetCodingSequence() *Transcript_CodingSequence { - if m != nil { - return m.CodingSequence - } - return nil -} - -type Transcript_Exon struct { - // The start position of the exon on this annotation's reference sequence, - // 0-based inclusive. Note that this is relative to the reference start, and - // **not** the containing annotation start. - Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` - // The end position of the exon on this annotation's reference sequence, - // 0-based exclusive. Note that this is relative to the reference start, and - // *not* the containing annotation start. - End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` - // The frame of this exon. Contains a value of 0, 1, or 2, which indicates - // the offset of the first coding base of the exon within the reading frame - // of the coding DNA sequence, if any. This field is dependent on the - // strandedness of this annotation (see - // [Annotation.reverse_strand][google.genomics.v1.Annotation.reverse_strand]). - // For forward stranded annotations, this offset is relative to the - // [exon.start][google.genomics.v1.Transcript.Exon.start]. For reverse - // strand annotations, this offset is relative to the - // [exon.end][google.genomics.v1.Transcript.Exon.end] `- 1`. - // - // Unset if this exon does not intersect the coding sequence. Upon creation - // of a transcript, the frame must be populated for all or none of the - // coding exons. - Frame *wrappers.Int32Value `protobuf:"bytes,3,opt,name=frame,proto3" json:"frame,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_4c5f02d3172d33a8, []int{3, 0} -} - -func (m *Transcript_Exon) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Transcript_Exon.Unmarshal(m, b) -} -func (m *Transcript_Exon) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Transcript_Exon.Marshal(b, m, deterministic) -} -func (m *Transcript_Exon) XXX_Merge(src proto.Message) { - xxx_messageInfo_Transcript_Exon.Merge(m, src) -} -func (m *Transcript_Exon) XXX_Size() int { - return xxx_messageInfo_Transcript_Exon.Size(m) -} -func (m *Transcript_Exon) XXX_DiscardUnknown() { - xxx_messageInfo_Transcript_Exon.DiscardUnknown(m) -} - -var xxx_messageInfo_Transcript_Exon proto.InternalMessageInfo - -func (m *Transcript_Exon) GetStart() int64 { - if m != nil { - return m.Start - } - return 0 -} - -func (m *Transcript_Exon) GetEnd() int64 { - if m != nil { - return m.End - } - return 0 -} - -func (m *Transcript_Exon) GetFrame() *wrappers.Int32Value { - if m != nil { - return m.Frame - } - return nil -} - -type Transcript_CodingSequence struct { - // The start of the coding sequence on this annotation's reference sequence, - // 0-based inclusive. Note that this position is relative to the reference - // start, and *not* the containing annotation start. - Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` - // The end of the coding sequence on this annotation's reference sequence, - // 0-based exclusive. Note that this position is relative to the reference - // start, and *not* the containing annotation start. - 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 *Transcript_CodingSequence) Reset() { *m = Transcript_CodingSequence{} } -func (m *Transcript_CodingSequence) String() string { return proto.CompactTextString(m) } -func (*Transcript_CodingSequence) ProtoMessage() {} -func (*Transcript_CodingSequence) Descriptor() ([]byte, []int) { - return fileDescriptor_4c5f02d3172d33a8, []int{3, 1} -} - -func (m *Transcript_CodingSequence) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Transcript_CodingSequence.Unmarshal(m, b) -} -func (m *Transcript_CodingSequence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Transcript_CodingSequence.Marshal(b, m, deterministic) -} -func (m *Transcript_CodingSequence) XXX_Merge(src proto.Message) { - xxx_messageInfo_Transcript_CodingSequence.Merge(m, src) -} -func (m *Transcript_CodingSequence) XXX_Size() int { - return xxx_messageInfo_Transcript_CodingSequence.Size(m) -} -func (m *Transcript_CodingSequence) XXX_DiscardUnknown() { - xxx_messageInfo_Transcript_CodingSequence.DiscardUnknown(m) -} - -var xxx_messageInfo_Transcript_CodingSequence proto.InternalMessageInfo - -func (m *Transcript_CodingSequence) GetStart() int64 { - if m != nil { - return m.Start - } - return 0 -} - -func (m *Transcript_CodingSequence) GetEnd() int64 { - if m != nil { - return m.End - } - return 0 -} - -type ExternalId struct { - // The name of the source of this data. - SourceName string `protobuf:"bytes,1,opt,name=source_name,json=sourceName,proto3" json:"source_name,omitempty"` - // The id used by the source of this data. - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_4c5f02d3172d33a8, []int{4} -} - -func (m *ExternalId) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExternalId.Unmarshal(m, b) -} -func (m *ExternalId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExternalId.Marshal(b, m, deterministic) -} -func (m *ExternalId) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExternalId.Merge(m, src) -} -func (m *ExternalId) XXX_Size() int { - return xxx_messageInfo_ExternalId.Size(m) -} -func (m *ExternalId) XXX_DiscardUnknown() { - xxx_messageInfo_ExternalId.DiscardUnknown(m) -} - -var xxx_messageInfo_ExternalId proto.InternalMessageInfo - -func (m *ExternalId) GetSourceName() string { - if m != nil { - return m.SourceName - } - return "" -} - -func (m *ExternalId) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -type CreateAnnotationSetRequest struct { - // The annotation set to create. - AnnotationSet *AnnotationSet `protobuf:"bytes,1,opt,name=annotation_set,json=annotationSet,proto3" json:"annotation_set,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateAnnotationSetRequest) Reset() { *m = CreateAnnotationSetRequest{} } -func (m *CreateAnnotationSetRequest) String() string { return proto.CompactTextString(m) } -func (*CreateAnnotationSetRequest) ProtoMessage() {} -func (*CreateAnnotationSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4c5f02d3172d33a8, []int{5} -} - -func (m *CreateAnnotationSetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateAnnotationSetRequest.Unmarshal(m, b) -} -func (m *CreateAnnotationSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateAnnotationSetRequest.Marshal(b, m, deterministic) -} -func (m *CreateAnnotationSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateAnnotationSetRequest.Merge(m, src) -} -func (m *CreateAnnotationSetRequest) XXX_Size() int { - return xxx_messageInfo_CreateAnnotationSetRequest.Size(m) -} -func (m *CreateAnnotationSetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateAnnotationSetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateAnnotationSetRequest proto.InternalMessageInfo - -func (m *CreateAnnotationSetRequest) GetAnnotationSet() *AnnotationSet { - if m != nil { - return m.AnnotationSet - } - return nil -} - -type GetAnnotationSetRequest struct { - // The ID of the annotation set to be retrieved. - AnnotationSetId string `protobuf:"bytes,1,opt,name=annotation_set_id,json=annotationSetId,proto3" json:"annotation_set_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_4c5f02d3172d33a8, []int{6} -} - -func (m *GetAnnotationSetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAnnotationSetRequest.Unmarshal(m, b) -} -func (m *GetAnnotationSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAnnotationSetRequest.Marshal(b, m, deterministic) -} -func (m *GetAnnotationSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAnnotationSetRequest.Merge(m, src) -} -func (m *GetAnnotationSetRequest) XXX_Size() int { - return xxx_messageInfo_GetAnnotationSetRequest.Size(m) -} -func (m *GetAnnotationSetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAnnotationSetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetAnnotationSetRequest proto.InternalMessageInfo - -func (m *GetAnnotationSetRequest) GetAnnotationSetId() string { - if m != nil { - return m.AnnotationSetId - } - return "" -} - -type UpdateAnnotationSetRequest struct { - // The ID of the annotation set to be updated. - AnnotationSetId string `protobuf:"bytes,1,opt,name=annotation_set_id,json=annotationSetId,proto3" json:"annotation_set_id,omitempty"` - // The new annotation set. - AnnotationSet *AnnotationSet `protobuf:"bytes,2,opt,name=annotation_set,json=annotationSet,proto3" json:"annotation_set,omitempty"` - // An optional mask specifying which fields to update. Mutable fields are - // [name][google.genomics.v1.AnnotationSet.name], - // [source_uri][google.genomics.v1.AnnotationSet.source_uri], and - // [info][google.genomics.v1.AnnotationSet.info]. If unspecified, all - // mutable fields will be 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 *UpdateAnnotationSetRequest) Reset() { *m = UpdateAnnotationSetRequest{} } -func (m *UpdateAnnotationSetRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateAnnotationSetRequest) ProtoMessage() {} -func (*UpdateAnnotationSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4c5f02d3172d33a8, []int{7} -} - -func (m *UpdateAnnotationSetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateAnnotationSetRequest.Unmarshal(m, b) -} -func (m *UpdateAnnotationSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateAnnotationSetRequest.Marshal(b, m, deterministic) -} -func (m *UpdateAnnotationSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateAnnotationSetRequest.Merge(m, src) -} -func (m *UpdateAnnotationSetRequest) XXX_Size() int { - return xxx_messageInfo_UpdateAnnotationSetRequest.Size(m) -} -func (m *UpdateAnnotationSetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateAnnotationSetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateAnnotationSetRequest proto.InternalMessageInfo - -func (m *UpdateAnnotationSetRequest) GetAnnotationSetId() string { - if m != nil { - return m.AnnotationSetId - } - return "" -} - -func (m *UpdateAnnotationSetRequest) GetAnnotationSet() *AnnotationSet { - if m != nil { - return m.AnnotationSet - } - return nil -} - -func (m *UpdateAnnotationSetRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -type DeleteAnnotationSetRequest struct { - // The ID of the annotation set to be deleted. - AnnotationSetId string `protobuf:"bytes,1,opt,name=annotation_set_id,json=annotationSetId,proto3" json:"annotation_set_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DeleteAnnotationSetRequest) Reset() { *m = DeleteAnnotationSetRequest{} } -func (m *DeleteAnnotationSetRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteAnnotationSetRequest) ProtoMessage() {} -func (*DeleteAnnotationSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4c5f02d3172d33a8, []int{8} -} - -func (m *DeleteAnnotationSetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteAnnotationSetRequest.Unmarshal(m, b) -} -func (m *DeleteAnnotationSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteAnnotationSetRequest.Marshal(b, m, deterministic) -} -func (m *DeleteAnnotationSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteAnnotationSetRequest.Merge(m, src) -} -func (m *DeleteAnnotationSetRequest) XXX_Size() int { - return xxx_messageInfo_DeleteAnnotationSetRequest.Size(m) -} -func (m *DeleteAnnotationSetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteAnnotationSetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteAnnotationSetRequest proto.InternalMessageInfo - -func (m *DeleteAnnotationSetRequest) GetAnnotationSetId() string { - if m != nil { - return m.AnnotationSetId - } - return "" -} - -type SearchAnnotationSetsRequest struct { - // Required. The dataset IDs to search within. Caller must have `READ` access - // to these datasets. - DatasetIds []string `protobuf:"bytes,1,rep,name=dataset_ids,json=datasetIds,proto3" json:"dataset_ids,omitempty"` - // If specified, only annotation sets associated with the given reference set - // are returned. - ReferenceSetId string `protobuf:"bytes,2,opt,name=reference_set_id,json=referenceSetId,proto3" json:"reference_set_id,omitempty"` - // Only return annotations sets for which a substring of the name matches this - // string (case insensitive). - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - // If specified, only annotation sets that have any of these types are - // returned. - Types []AnnotationType `protobuf:"varint,4,rep,packed,name=types,proto3,enum=google.genomics.v1.AnnotationType" json:"types,omitempty"` - // The continuation token, which is used to page through large result sets. - // To get the next page of results, set this parameter to the value of - // `nextPageToken` from the previous response. - 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 page. If unspecified, - // defaults to 128. The maximum value is 1024. - 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 *SearchAnnotationSetsRequest) Reset() { *m = SearchAnnotationSetsRequest{} } -func (m *SearchAnnotationSetsRequest) String() string { return proto.CompactTextString(m) } -func (*SearchAnnotationSetsRequest) ProtoMessage() {} -func (*SearchAnnotationSetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4c5f02d3172d33a8, []int{9} -} - -func (m *SearchAnnotationSetsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchAnnotationSetsRequest.Unmarshal(m, b) -} -func (m *SearchAnnotationSetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchAnnotationSetsRequest.Marshal(b, m, deterministic) -} -func (m *SearchAnnotationSetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchAnnotationSetsRequest.Merge(m, src) -} -func (m *SearchAnnotationSetsRequest) XXX_Size() int { - return xxx_messageInfo_SearchAnnotationSetsRequest.Size(m) -} -func (m *SearchAnnotationSetsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SearchAnnotationSetsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchAnnotationSetsRequest proto.InternalMessageInfo - -func (m *SearchAnnotationSetsRequest) GetDatasetIds() []string { - if m != nil { - return m.DatasetIds - } - return nil -} - -func (m *SearchAnnotationSetsRequest) GetReferenceSetId() string { - if m != nil { - return m.ReferenceSetId - } - return "" -} - -func (m *SearchAnnotationSetsRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *SearchAnnotationSetsRequest) GetTypes() []AnnotationType { - if m != nil { - return m.Types - } - return nil -} - -func (m *SearchAnnotationSetsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *SearchAnnotationSetsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -type SearchAnnotationSetsResponse struct { - // The matching annotation sets. - AnnotationSets []*AnnotationSet `protobuf:"bytes,1,rep,name=annotation_sets,json=annotationSets,proto3" json:"annotation_sets,omitempty"` - // The continuation token, which is used to page through large result sets. - // Provide this value in a subsequent request to return the next page of - // results. This field will be empty if there aren't any additional 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 *SearchAnnotationSetsResponse) Reset() { *m = SearchAnnotationSetsResponse{} } -func (m *SearchAnnotationSetsResponse) String() string { return proto.CompactTextString(m) } -func (*SearchAnnotationSetsResponse) ProtoMessage() {} -func (*SearchAnnotationSetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4c5f02d3172d33a8, []int{10} -} - -func (m *SearchAnnotationSetsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchAnnotationSetsResponse.Unmarshal(m, b) -} -func (m *SearchAnnotationSetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchAnnotationSetsResponse.Marshal(b, m, deterministic) -} -func (m *SearchAnnotationSetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchAnnotationSetsResponse.Merge(m, src) -} -func (m *SearchAnnotationSetsResponse) XXX_Size() int { - return xxx_messageInfo_SearchAnnotationSetsResponse.Size(m) -} -func (m *SearchAnnotationSetsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SearchAnnotationSetsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchAnnotationSetsResponse proto.InternalMessageInfo - -func (m *SearchAnnotationSetsResponse) GetAnnotationSets() []*AnnotationSet { - if m != nil { - return m.AnnotationSets - } - return nil -} - -func (m *SearchAnnotationSetsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -type CreateAnnotationRequest struct { - // The annotation to be created. - Annotation *Annotation `protobuf:"bytes,1,opt,name=annotation,proto3" json:"annotation,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_4c5f02d3172d33a8, []int{11} -} - -func (m *CreateAnnotationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateAnnotationRequest.Unmarshal(m, b) -} -func (m *CreateAnnotationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateAnnotationRequest.Marshal(b, m, deterministic) -} -func (m *CreateAnnotationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateAnnotationRequest.Merge(m, src) -} -func (m *CreateAnnotationRequest) XXX_Size() int { - return xxx_messageInfo_CreateAnnotationRequest.Size(m) -} -func (m *CreateAnnotationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateAnnotationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateAnnotationRequest proto.InternalMessageInfo - -func (m *CreateAnnotationRequest) GetAnnotation() *Annotation { - if m != nil { - return m.Annotation - } - return nil -} - -type BatchCreateAnnotationsRequest struct { - // The annotations to be created. At most 4096 can be specified in a single - // request. - Annotations []*Annotation `protobuf:"bytes,1,rep,name=annotations,proto3" json:"annotations,omitempty"` - // A unique request ID which enables the server to detect duplicated requests. - // If provided, duplicated requests will result in the same response; if not - // provided, duplicated requests may result in duplicated data. For a given - // annotation set, callers should not reuse `request_id`s when writing - // different batches of annotations - behavior in this case is undefined. - // A common approach is to use a UUID. For batch jobs where worker crashes are - // a possibility, consider using some unique variant of a worker or run ID. - RequestId string `protobuf:"bytes,2,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 *BatchCreateAnnotationsRequest) Reset() { *m = BatchCreateAnnotationsRequest{} } -func (m *BatchCreateAnnotationsRequest) String() string { return proto.CompactTextString(m) } -func (*BatchCreateAnnotationsRequest) ProtoMessage() {} -func (*BatchCreateAnnotationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4c5f02d3172d33a8, []int{12} -} - -func (m *BatchCreateAnnotationsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchCreateAnnotationsRequest.Unmarshal(m, b) -} -func (m *BatchCreateAnnotationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchCreateAnnotationsRequest.Marshal(b, m, deterministic) -} -func (m *BatchCreateAnnotationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchCreateAnnotationsRequest.Merge(m, src) -} -func (m *BatchCreateAnnotationsRequest) XXX_Size() int { - return xxx_messageInfo_BatchCreateAnnotationsRequest.Size(m) -} -func (m *BatchCreateAnnotationsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchCreateAnnotationsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchCreateAnnotationsRequest proto.InternalMessageInfo - -func (m *BatchCreateAnnotationsRequest) GetAnnotations() []*Annotation { - if m != nil { - return m.Annotations - } - return nil -} - -func (m *BatchCreateAnnotationsRequest) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} - -type BatchCreateAnnotationsResponse struct { - // The resulting per-annotation entries, ordered consistently with the - // original request. - Entries []*BatchCreateAnnotationsResponse_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 *BatchCreateAnnotationsResponse) Reset() { *m = BatchCreateAnnotationsResponse{} } -func (m *BatchCreateAnnotationsResponse) String() string { return proto.CompactTextString(m) } -func (*BatchCreateAnnotationsResponse) ProtoMessage() {} -func (*BatchCreateAnnotationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4c5f02d3172d33a8, []int{13} -} - -func (m *BatchCreateAnnotationsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchCreateAnnotationsResponse.Unmarshal(m, b) -} -func (m *BatchCreateAnnotationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchCreateAnnotationsResponse.Marshal(b, m, deterministic) -} -func (m *BatchCreateAnnotationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchCreateAnnotationsResponse.Merge(m, src) -} -func (m *BatchCreateAnnotationsResponse) XXX_Size() int { - return xxx_messageInfo_BatchCreateAnnotationsResponse.Size(m) -} -func (m *BatchCreateAnnotationsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BatchCreateAnnotationsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchCreateAnnotationsResponse proto.InternalMessageInfo - -func (m *BatchCreateAnnotationsResponse) GetEntries() []*BatchCreateAnnotationsResponse_Entry { - if m != nil { - return m.Entries - } - return nil -} - -type BatchCreateAnnotationsResponse_Entry struct { - // The creation status. - Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` - // The created annotation, if creation was successful. - Annotation *Annotation `protobuf:"bytes,2,opt,name=annotation,proto3" json:"annotation,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchCreateAnnotationsResponse_Entry) Reset() { *m = BatchCreateAnnotationsResponse_Entry{} } -func (m *BatchCreateAnnotationsResponse_Entry) String() string { return proto.CompactTextString(m) } -func (*BatchCreateAnnotationsResponse_Entry) ProtoMessage() {} -func (*BatchCreateAnnotationsResponse_Entry) Descriptor() ([]byte, []int) { - return fileDescriptor_4c5f02d3172d33a8, []int{13, 0} -} - -func (m *BatchCreateAnnotationsResponse_Entry) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchCreateAnnotationsResponse_Entry.Unmarshal(m, b) -} -func (m *BatchCreateAnnotationsResponse_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchCreateAnnotationsResponse_Entry.Marshal(b, m, deterministic) -} -func (m *BatchCreateAnnotationsResponse_Entry) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchCreateAnnotationsResponse_Entry.Merge(m, src) -} -func (m *BatchCreateAnnotationsResponse_Entry) XXX_Size() int { - return xxx_messageInfo_BatchCreateAnnotationsResponse_Entry.Size(m) -} -func (m *BatchCreateAnnotationsResponse_Entry) XXX_DiscardUnknown() { - xxx_messageInfo_BatchCreateAnnotationsResponse_Entry.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchCreateAnnotationsResponse_Entry proto.InternalMessageInfo - -func (m *BatchCreateAnnotationsResponse_Entry) GetStatus() *status.Status { - if m != nil { - return m.Status - } - return nil -} - -func (m *BatchCreateAnnotationsResponse_Entry) GetAnnotation() *Annotation { - if m != nil { - return m.Annotation - } - return nil -} - -type GetAnnotationRequest struct { - // The ID of the annotation to be retrieved. - AnnotationId string `protobuf:"bytes,1,opt,name=annotation_id,json=annotationId,proto3" json:"annotation_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_4c5f02d3172d33a8, []int{14} -} - -func (m *GetAnnotationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAnnotationRequest.Unmarshal(m, b) -} -func (m *GetAnnotationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAnnotationRequest.Marshal(b, m, deterministic) -} -func (m *GetAnnotationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAnnotationRequest.Merge(m, src) -} -func (m *GetAnnotationRequest) XXX_Size() int { - return xxx_messageInfo_GetAnnotationRequest.Size(m) -} -func (m *GetAnnotationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAnnotationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetAnnotationRequest proto.InternalMessageInfo - -func (m *GetAnnotationRequest) GetAnnotationId() string { - if m != nil { - return m.AnnotationId - } - return "" -} - -type UpdateAnnotationRequest struct { - // The ID of the annotation to be updated. - AnnotationId string `protobuf:"bytes,1,opt,name=annotation_id,json=annotationId,proto3" json:"annotation_id,omitempty"` - // The new annotation. - Annotation *Annotation `protobuf:"bytes,2,opt,name=annotation,proto3" json:"annotation,omitempty"` - // An optional mask specifying which fields to update. Mutable fields are - // [name][google.genomics.v1.Annotation.name], - // [variant][google.genomics.v1.Annotation.variant], - // [transcript][google.genomics.v1.Annotation.transcript], and - // [info][google.genomics.v1.Annotation.info]. If unspecified, all mutable - // fields will be 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 *UpdateAnnotationRequest) Reset() { *m = UpdateAnnotationRequest{} } -func (m *UpdateAnnotationRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateAnnotationRequest) ProtoMessage() {} -func (*UpdateAnnotationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4c5f02d3172d33a8, []int{15} -} - -func (m *UpdateAnnotationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateAnnotationRequest.Unmarshal(m, b) -} -func (m *UpdateAnnotationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateAnnotationRequest.Marshal(b, m, deterministic) -} -func (m *UpdateAnnotationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateAnnotationRequest.Merge(m, src) -} -func (m *UpdateAnnotationRequest) XXX_Size() int { - return xxx_messageInfo_UpdateAnnotationRequest.Size(m) -} -func (m *UpdateAnnotationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateAnnotationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateAnnotationRequest proto.InternalMessageInfo - -func (m *UpdateAnnotationRequest) GetAnnotationId() string { - if m != nil { - return m.AnnotationId - } - return "" -} - -func (m *UpdateAnnotationRequest) GetAnnotation() *Annotation { - if m != nil { - return m.Annotation - } - return nil -} - -func (m *UpdateAnnotationRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -type DeleteAnnotationRequest struct { - // The ID of the annotation to be deleted. - AnnotationId string `protobuf:"bytes,1,opt,name=annotation_id,json=annotationId,proto3" json:"annotation_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_4c5f02d3172d33a8, []int{16} -} - -func (m *DeleteAnnotationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteAnnotationRequest.Unmarshal(m, b) -} -func (m *DeleteAnnotationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteAnnotationRequest.Marshal(b, m, deterministic) -} -func (m *DeleteAnnotationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteAnnotationRequest.Merge(m, src) -} -func (m *DeleteAnnotationRequest) XXX_Size() int { - return xxx_messageInfo_DeleteAnnotationRequest.Size(m) -} -func (m *DeleteAnnotationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteAnnotationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteAnnotationRequest proto.InternalMessageInfo - -func (m *DeleteAnnotationRequest) GetAnnotationId() string { - if m != nil { - return m.AnnotationId - } - return "" -} - -type SearchAnnotationsRequest struct { - // Required. The annotation sets to search within. The caller must have - // `READ` access to these annotation sets. - // All queried annotation sets must have the same type. - AnnotationSetIds []string `protobuf:"bytes,1,rep,name=annotation_set_ids,json=annotationSetIds,proto3" json:"annotation_set_ids,omitempty"` - // Required. `reference_id` or `reference_name` must be set. - // - // Types that are valid to be assigned to Reference: - // *SearchAnnotationsRequest_ReferenceId - // *SearchAnnotationsRequest_ReferenceName - Reference isSearchAnnotationsRequest_Reference `protobuf_oneof:"reference"` - // The start position of the range on the reference, 0-based inclusive. If - // specified, - // [referenceId][google.genomics.v1.SearchAnnotationsRequest.reference_id] or - // [referenceName][google.genomics.v1.SearchAnnotationsRequest.reference_name] - // must be specified. Defaults to 0. - Start int64 `protobuf:"varint,4,opt,name=start,proto3" json:"start,omitempty"` - // The end position of the range on the reference, 0-based exclusive. If - // [referenceId][google.genomics.v1.SearchAnnotationsRequest.reference_id] or - // [referenceName][google.genomics.v1.SearchAnnotationsRequest.reference_name] - // must be specified, Defaults to the length of the reference. - End int64 `protobuf:"varint,5,opt,name=end,proto3" json:"end,omitempty"` - // The continuation token, which is used to page through large result sets. - // To get the next page of results, set this parameter to the value of - // `nextPageToken` from the previous response. - 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 page. If unspecified, - // defaults to 256. The maximum value is 2048. - 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 *SearchAnnotationsRequest) Reset() { *m = SearchAnnotationsRequest{} } -func (m *SearchAnnotationsRequest) String() string { return proto.CompactTextString(m) } -func (*SearchAnnotationsRequest) ProtoMessage() {} -func (*SearchAnnotationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4c5f02d3172d33a8, []int{17} -} - -func (m *SearchAnnotationsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchAnnotationsRequest.Unmarshal(m, b) -} -func (m *SearchAnnotationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchAnnotationsRequest.Marshal(b, m, deterministic) -} -func (m *SearchAnnotationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchAnnotationsRequest.Merge(m, src) -} -func (m *SearchAnnotationsRequest) XXX_Size() int { - return xxx_messageInfo_SearchAnnotationsRequest.Size(m) -} -func (m *SearchAnnotationsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SearchAnnotationsRequest.DiscardUnknown(m) -} - -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() -} - -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_ReferenceName) isSearchAnnotationsRequest_Reference() {} - -func (m *SearchAnnotationsRequest) GetReference() isSearchAnnotationsRequest_Reference { - if m != nil { - return m.Reference - } - return nil -} - -func (m *SearchAnnotationsRequest) GetReferenceId() string { - if x, ok := m.GetReference().(*SearchAnnotationsRequest_ReferenceId); ok { - return x.ReferenceId - } - return "" -} - -func (m *SearchAnnotationsRequest) GetReferenceName() string { - if x, ok := m.GetReference().(*SearchAnnotationsRequest_ReferenceName); ok { - return x.ReferenceName - } - return "" -} - -func (m *SearchAnnotationsRequest) GetStart() int64 { - if m != nil { - return m.Start - } - return 0 -} - -func (m *SearchAnnotationsRequest) GetEnd() int64 { - if m != nil { - return m.End - } - return 0 -} - -func (m *SearchAnnotationsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *SearchAnnotationsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*SearchAnnotationsRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*SearchAnnotationsRequest_ReferenceId)(nil), - (*SearchAnnotationsRequest_ReferenceName)(nil), - } -} - -type SearchAnnotationsResponse struct { - // The matching annotations. - Annotations []*Annotation `protobuf:"bytes,1,rep,name=annotations,proto3" json:"annotations,omitempty"` - // The continuation token, which is used to page through large result sets. - // Provide this value in a subsequent request to return the next page of - // results. This field will be empty if there aren't any additional 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 *SearchAnnotationsResponse) Reset() { *m = SearchAnnotationsResponse{} } -func (m *SearchAnnotationsResponse) String() string { return proto.CompactTextString(m) } -func (*SearchAnnotationsResponse) ProtoMessage() {} -func (*SearchAnnotationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4c5f02d3172d33a8, []int{18} -} - -func (m *SearchAnnotationsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchAnnotationsResponse.Unmarshal(m, b) -} -func (m *SearchAnnotationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchAnnotationsResponse.Marshal(b, m, deterministic) -} -func (m *SearchAnnotationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchAnnotationsResponse.Merge(m, src) -} -func (m *SearchAnnotationsResponse) XXX_Size() int { - return xxx_messageInfo_SearchAnnotationsResponse.Size(m) -} -func (m *SearchAnnotationsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SearchAnnotationsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchAnnotationsResponse proto.InternalMessageInfo - -func (m *SearchAnnotationsResponse) GetAnnotations() []*Annotation { - if m != nil { - return m.Annotations - } - return nil -} - -func (m *SearchAnnotationsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -func init() { - proto.RegisterEnum("google.genomics.v1.AnnotationType", AnnotationType_name, AnnotationType_value) - proto.RegisterEnum("google.genomics.v1.VariantAnnotation_Type", VariantAnnotation_Type_name, VariantAnnotation_Type_value) - proto.RegisterEnum("google.genomics.v1.VariantAnnotation_Effect", VariantAnnotation_Effect_name, VariantAnnotation_Effect_value) - proto.RegisterEnum("google.genomics.v1.VariantAnnotation_ClinicalSignificance", VariantAnnotation_ClinicalSignificance_name, VariantAnnotation_ClinicalSignificance_value) - proto.RegisterType((*AnnotationSet)(nil), "google.genomics.v1.AnnotationSet") - proto.RegisterMapType((map[string]*_struct.ListValue)(nil), "google.genomics.v1.AnnotationSet.InfoEntry") - proto.RegisterType((*Annotation)(nil), "google.genomics.v1.Annotation") - proto.RegisterMapType((map[string]*_struct.ListValue)(nil), "google.genomics.v1.Annotation.InfoEntry") - proto.RegisterType((*VariantAnnotation)(nil), "google.genomics.v1.VariantAnnotation") - proto.RegisterType((*VariantAnnotation_ClinicalCondition)(nil), "google.genomics.v1.VariantAnnotation.ClinicalCondition") - proto.RegisterType((*Transcript)(nil), "google.genomics.v1.Transcript") - proto.RegisterType((*Transcript_Exon)(nil), "google.genomics.v1.Transcript.Exon") - proto.RegisterType((*Transcript_CodingSequence)(nil), "google.genomics.v1.Transcript.CodingSequence") - proto.RegisterType((*ExternalId)(nil), "google.genomics.v1.ExternalId") - proto.RegisterType((*CreateAnnotationSetRequest)(nil), "google.genomics.v1.CreateAnnotationSetRequest") - proto.RegisterType((*GetAnnotationSetRequest)(nil), "google.genomics.v1.GetAnnotationSetRequest") - proto.RegisterType((*UpdateAnnotationSetRequest)(nil), "google.genomics.v1.UpdateAnnotationSetRequest") - proto.RegisterType((*DeleteAnnotationSetRequest)(nil), "google.genomics.v1.DeleteAnnotationSetRequest") - proto.RegisterType((*SearchAnnotationSetsRequest)(nil), "google.genomics.v1.SearchAnnotationSetsRequest") - proto.RegisterType((*SearchAnnotationSetsResponse)(nil), "google.genomics.v1.SearchAnnotationSetsResponse") - proto.RegisterType((*CreateAnnotationRequest)(nil), "google.genomics.v1.CreateAnnotationRequest") - proto.RegisterType((*BatchCreateAnnotationsRequest)(nil), "google.genomics.v1.BatchCreateAnnotationsRequest") - proto.RegisterType((*BatchCreateAnnotationsResponse)(nil), "google.genomics.v1.BatchCreateAnnotationsResponse") - proto.RegisterType((*BatchCreateAnnotationsResponse_Entry)(nil), "google.genomics.v1.BatchCreateAnnotationsResponse.Entry") - proto.RegisterType((*GetAnnotationRequest)(nil), "google.genomics.v1.GetAnnotationRequest") - proto.RegisterType((*UpdateAnnotationRequest)(nil), "google.genomics.v1.UpdateAnnotationRequest") - proto.RegisterType((*DeleteAnnotationRequest)(nil), "google.genomics.v1.DeleteAnnotationRequest") - proto.RegisterType((*SearchAnnotationsRequest)(nil), "google.genomics.v1.SearchAnnotationsRequest") - proto.RegisterType((*SearchAnnotationsResponse)(nil), "google.genomics.v1.SearchAnnotationsResponse") -} - -func init() { - proto.RegisterFile("google/genomics/v1/annotations.proto", fileDescriptor_4c5f02d3172d33a8) -} - -var fileDescriptor_4c5f02d3172d33a8 = []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, - 0xb8, 0x89, 0xbc, 0x51, 0x80, 0x36, 0x75, 0xda, 0x74, 0x65, 0x9a, 0xb6, 0xa7, 0xab, 0x50, 0xc2, - 0x90, 0x72, 0xe1, 0x5e, 0x08, 0x86, 0x1a, 0x7b, 0x89, 0xd8, 0x94, 0x4a, 0xd2, 0x6e, 0xbc, 0xc5, - 0x02, 0x8b, 0xc5, 0x16, 0x3d, 0xf5, 0xb2, 0xbb, 0xf7, 0x5e, 0x0a, 0xb4, 0xff, 0x43, 0x2f, 0x05, - 0x7a, 0x6f, 0x0f, 0x45, 0xff, 0x83, 0x5e, 0xf6, 0xda, 0x53, 0x81, 0x5e, 0x8a, 0x19, 0x92, 0x12, - 0x45, 0x51, 0xb6, 0xdc, 0x00, 0xbd, 0x71, 0xde, 0xbc, 0xf7, 0xe6, 0x37, 0xbf, 0x99, 0xf7, 0x31, - 0x12, 0x3c, 0x38, 0xee, 0xf5, 0x8e, 0x4f, 0xe8, 0xe6, 0x31, 0x75, 0x7a, 0xa7, 0xb6, 0xe5, 0x6d, - 0x9e, 0x3f, 0xdb, 0x34, 0x1d, 0xa7, 0xe7, 0x9b, 0xbe, 0xdd, 0x73, 0xbc, 0x5a, 0xdf, 0xed, 0xf9, - 0x3d, 0x84, 0x02, 0xad, 0x5a, 0xa4, 0x55, 0x3b, 0x7f, 0x56, 0xbd, 0x15, 0x5a, 0x9a, 0x7d, 0x7b, - 0xdc, 0xa2, 0xba, 0x1a, 0xce, 0xf2, 0xd1, 0x9b, 0xb3, 0xa3, 0x4d, 0x7a, 0xda,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xb9, 0xf5, 0xba, 0xdd, 0xd0, - 0xf1, 0x36, 0x6e, 0x62, 0xfd, 0x50, 0x9c, 0x41, 0x2b, 0x70, 0x53, 0x6e, 0xa9, 0xbb, 0x0a, 0xd1, - 0x0c, 0x4d, 0x51, 0x35, 0xac, 0xe3, 0x03, 0x36, 0x31, 0x8b, 0x16, 0xa0, 0x44, 0xb0, 0xf6, 0x89, - 0xb1, 0xdb, 0x90, 0xf5, 0x16, 0x11, 0x81, 0x09, 0x1a, 0x9a, 0xd6, 0x92, 0x71, 0x83, 0x73, 0x53, - 0xe2, 0xab, 0x92, 0x96, 0xae, 0xc8, 0x3a, 0x3e, 0x50, 0xc4, 0x39, 0x06, 0xee, 0x75, 0xa7, 0xa9, - 0xe3, 0x76, 0x53, 0x31, 0x88, 0xd2, 0x6e, 0x11, 0x5d, 0xd9, 0x11, 0xe7, 0xa5, 0x7f, 0x64, 0x00, - 0x86, 0x69, 0x3b, 0x9e, 0x47, 0x84, 0x91, 0x3c, 0xf2, 0x43, 0xc8, 0xd3, 0x77, 0x2c, 0x37, 0x04, - 0x31, 0x72, 0xff, 0xf2, 0xf4, 0x5f, 0x53, 0xde, 0xf5, 0x1c, 0x12, 0x58, 0xa0, 0x03, 0x58, 0xb0, - 0x7a, 0x5d, 0xdb, 0x39, 0x36, 0x3c, 0xfa, 0x8b, 0x33, 0x56, 0x1f, 0x79, 0x9c, 0x94, 0xea, 0x4f, - 0xaf, 0x70, 0x22, 0x73, 0x2b, 0x2d, 0x34, 0x22, 0x65, 0x6b, 0x64, 0x5c, 0x35, 0x21, 0xc7, 0x96, - 0x19, 0x16, 0x5a, 0x21, 0xa5, 0xd0, 0x66, 0x86, 0x85, 0xf6, 0x19, 0xe4, 0x8f, 0xdc, 0xa8, 0xde, - 0x97, 0xea, 0xab, 0x63, 0x75, 0x02, 0x3b, 0xfe, 0xf3, 0x7a, 0x58, 0x28, 0xb8, 0x66, 0xf5, 0x05, - 0x94, 0x47, 0x41, 0x4c, 0x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 0xf4, 0x94, 0x75, 0x44, 0x8f, 0x1a, 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 - -// AnnotationServiceV1Client is the client API for AnnotationServiceV1 service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AnnotationServiceV1Client interface { - // Creates a new annotation set. Caller must have WRITE permission for the - // associated dataset. - // - // The following fields are required: - // - // * [datasetId][google.genomics.v1.AnnotationSet.dataset_id] - // * [referenceSetId][google.genomics.v1.AnnotationSet.reference_set_id] - // - // All other fields may be optionally specified, unless documented as being - // server-generated (for example, the `id` field). - CreateAnnotationSet(ctx context.Context, in *CreateAnnotationSetRequest, opts ...grpc.CallOption) (*AnnotationSet, error) - // Gets an annotation set. Caller must have READ permission for - // the associated dataset. - GetAnnotationSet(ctx context.Context, in *GetAnnotationSetRequest, opts ...grpc.CallOption) (*AnnotationSet, error) - // Updates an annotation set. The update must respect all mutability - // restrictions and other invariants described on the annotation set resource. - // Caller must have WRITE permission for the associated dataset. - UpdateAnnotationSet(ctx context.Context, in *UpdateAnnotationSetRequest, opts ...grpc.CallOption) (*AnnotationSet, error) - // Deletes an annotation set. Caller must have WRITE permission - // for the associated annotation set. - DeleteAnnotationSet(ctx context.Context, in *DeleteAnnotationSetRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Searches for annotation sets that match the given criteria. Annotation sets - // are returned in an unspecified order. This order is consistent, such that - // two queries for the same content (regardless of page size) yield annotation - // sets in the same order across their respective streams of paginated - // responses. Caller must have READ permission for the queried datasets. - SearchAnnotationSets(ctx context.Context, in *SearchAnnotationSetsRequest, opts ...grpc.CallOption) (*SearchAnnotationSetsResponse, error) - // Creates a new annotation. Caller must have WRITE permission - // for the associated annotation set. - // - // The following fields are required: - // - // * [annotationSetId][google.genomics.v1.Annotation.annotation_set_id] - // * [referenceName][google.genomics.v1.Annotation.reference_name] or - // [referenceId][google.genomics.v1.Annotation.reference_id] - // - // ### Transcripts - // - // For annotations of type TRANSCRIPT, the following fields of - // [transcript][google.genomics.v1.Annotation.transcript] must be provided: - // - // * [exons.start][google.genomics.v1.Transcript.Exon.start] - // * [exons.end][google.genomics.v1.Transcript.Exon.end] - // - // All other fields may be optionally specified, unless documented as being - // server-generated (for example, the `id` field). The annotated - // range must be no longer than 100Mbp (mega base pairs). See the - // [Annotation resource][google.genomics.v1.Annotation] - // for additional restrictions on each field. - CreateAnnotation(ctx context.Context, in *CreateAnnotationRequest, opts ...grpc.CallOption) (*Annotation, error) - // Creates one or more new annotations atomically. All annotations must - // belong to the same annotation set. Caller must have WRITE - // permission for this annotation set. For optimal performance, batch - // positionally adjacent annotations together. - // - // If the request has a systemic issue, such as an attempt to write to - // an inaccessible annotation set, the entire RPC will fail accordingly. For - // lesser data issues, when possible an error will be isolated to the - // corresponding batch entry in the response; the remaining well formed - // annotations will be created normally. - // - // For details on the requirements for each individual annotation resource, - // see - // [CreateAnnotation][google.genomics.v1.AnnotationServiceV1.CreateAnnotation]. - BatchCreateAnnotations(ctx context.Context, in *BatchCreateAnnotationsRequest, opts ...grpc.CallOption) (*BatchCreateAnnotationsResponse, error) - // Gets an annotation. Caller must have READ permission - // for the associated annotation set. - GetAnnotation(ctx context.Context, in *GetAnnotationRequest, opts ...grpc.CallOption) (*Annotation, error) - // Updates an annotation. Caller must have - // WRITE permission for the associated dataset. - UpdateAnnotation(ctx context.Context, in *UpdateAnnotationRequest, opts ...grpc.CallOption) (*Annotation, error) - // Deletes an annotation. Caller must have WRITE permission for - // the associated annotation set. - DeleteAnnotation(ctx context.Context, in *DeleteAnnotationRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Searches for annotations that match the given criteria. Results are - // ordered by genomic coordinate (by reference sequence, then position). - // Annotations with equivalent genomic coordinates are returned in an - // unspecified order. This order is consistent, such that two queries for the - // same content (regardless of page size) yield annotations in the same order - // across their respective streams of paginated responses. Caller must have - // READ permission for the queried annotation sets. - SearchAnnotations(ctx context.Context, in *SearchAnnotationsRequest, opts ...grpc.CallOption) (*SearchAnnotationsResponse, error) -} - -type annotationServiceV1Client struct { - cc *grpc.ClientConn -} - -func NewAnnotationServiceV1Client(cc *grpc.ClientConn) AnnotationServiceV1Client { - return &annotationServiceV1Client{cc} -} - -func (c *annotationServiceV1Client) CreateAnnotationSet(ctx context.Context, in *CreateAnnotationSetRequest, opts ...grpc.CallOption) (*AnnotationSet, error) { - out := new(AnnotationSet) - err := c.cc.Invoke(ctx, "/google.genomics.v1.AnnotationServiceV1/CreateAnnotationSet", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *annotationServiceV1Client) GetAnnotationSet(ctx context.Context, in *GetAnnotationSetRequest, opts ...grpc.CallOption) (*AnnotationSet, error) { - out := new(AnnotationSet) - err := c.cc.Invoke(ctx, "/google.genomics.v1.AnnotationServiceV1/GetAnnotationSet", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *annotationServiceV1Client) UpdateAnnotationSet(ctx context.Context, in *UpdateAnnotationSetRequest, opts ...grpc.CallOption) (*AnnotationSet, error) { - out := new(AnnotationSet) - err := c.cc.Invoke(ctx, "/google.genomics.v1.AnnotationServiceV1/UpdateAnnotationSet", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *annotationServiceV1Client) DeleteAnnotationSet(ctx context.Context, in *DeleteAnnotationSetRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.genomics.v1.AnnotationServiceV1/DeleteAnnotationSet", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *annotationServiceV1Client) SearchAnnotationSets(ctx context.Context, in *SearchAnnotationSetsRequest, opts ...grpc.CallOption) (*SearchAnnotationSetsResponse, error) { - out := new(SearchAnnotationSetsResponse) - err := c.cc.Invoke(ctx, "/google.genomics.v1.AnnotationServiceV1/SearchAnnotationSets", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *annotationServiceV1Client) CreateAnnotation(ctx context.Context, in *CreateAnnotationRequest, opts ...grpc.CallOption) (*Annotation, error) { - out := new(Annotation) - err := c.cc.Invoke(ctx, "/google.genomics.v1.AnnotationServiceV1/CreateAnnotation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *annotationServiceV1Client) BatchCreateAnnotations(ctx context.Context, in *BatchCreateAnnotationsRequest, opts ...grpc.CallOption) (*BatchCreateAnnotationsResponse, error) { - out := new(BatchCreateAnnotationsResponse) - err := c.cc.Invoke(ctx, "/google.genomics.v1.AnnotationServiceV1/BatchCreateAnnotations", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *annotationServiceV1Client) GetAnnotation(ctx context.Context, in *GetAnnotationRequest, opts ...grpc.CallOption) (*Annotation, error) { - out := new(Annotation) - err := c.cc.Invoke(ctx, "/google.genomics.v1.AnnotationServiceV1/GetAnnotation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *annotationServiceV1Client) UpdateAnnotation(ctx context.Context, in *UpdateAnnotationRequest, opts ...grpc.CallOption) (*Annotation, error) { - out := new(Annotation) - err := c.cc.Invoke(ctx, "/google.genomics.v1.AnnotationServiceV1/UpdateAnnotation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *annotationServiceV1Client) DeleteAnnotation(ctx context.Context, in *DeleteAnnotationRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.genomics.v1.AnnotationServiceV1/DeleteAnnotation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *annotationServiceV1Client) SearchAnnotations(ctx context.Context, in *SearchAnnotationsRequest, opts ...grpc.CallOption) (*SearchAnnotationsResponse, error) { - out := new(SearchAnnotationsResponse) - err := c.cc.Invoke(ctx, "/google.genomics.v1.AnnotationServiceV1/SearchAnnotations", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AnnotationServiceV1Server is the server API for AnnotationServiceV1 service. -type AnnotationServiceV1Server interface { - // Creates a new annotation set. Caller must have WRITE permission for the - // associated dataset. - // - // The following fields are required: - // - // * [datasetId][google.genomics.v1.AnnotationSet.dataset_id] - // * [referenceSetId][google.genomics.v1.AnnotationSet.reference_set_id] - // - // All other fields may be optionally specified, unless documented as being - // server-generated (for example, the `id` field). - CreateAnnotationSet(context.Context, *CreateAnnotationSetRequest) (*AnnotationSet, error) - // Gets an annotation set. Caller must have READ permission for - // the associated dataset. - GetAnnotationSet(context.Context, *GetAnnotationSetRequest) (*AnnotationSet, error) - // Updates an annotation set. The update must respect all mutability - // restrictions and other invariants described on the annotation set resource. - // Caller must have WRITE permission for the associated dataset. - UpdateAnnotationSet(context.Context, *UpdateAnnotationSetRequest) (*AnnotationSet, error) - // Deletes an annotation set. Caller must have WRITE permission - // for the associated annotation set. - DeleteAnnotationSet(context.Context, *DeleteAnnotationSetRequest) (*empty.Empty, error) - // Searches for annotation sets that match the given criteria. Annotation sets - // are returned in an unspecified order. This order is consistent, such that - // two queries for the same content (regardless of page size) yield annotation - // sets in the same order across their respective streams of paginated - // responses. Caller must have READ permission for the queried datasets. - SearchAnnotationSets(context.Context, *SearchAnnotationSetsRequest) (*SearchAnnotationSetsResponse, error) - // Creates a new annotation. Caller must have WRITE permission - // for the associated annotation set. - // - // The following fields are required: - // - // * [annotationSetId][google.genomics.v1.Annotation.annotation_set_id] - // * [referenceName][google.genomics.v1.Annotation.reference_name] or - // [referenceId][google.genomics.v1.Annotation.reference_id] - // - // ### Transcripts - // - // For annotations of type TRANSCRIPT, the following fields of - // [transcript][google.genomics.v1.Annotation.transcript] must be provided: - // - // * [exons.start][google.genomics.v1.Transcript.Exon.start] - // * [exons.end][google.genomics.v1.Transcript.Exon.end] - // - // All other fields may be optionally specified, unless documented as being - // server-generated (for example, the `id` field). The annotated - // range must be no longer than 100Mbp (mega base pairs). See the - // [Annotation resource][google.genomics.v1.Annotation] - // for additional restrictions on each field. - CreateAnnotation(context.Context, *CreateAnnotationRequest) (*Annotation, error) - // Creates one or more new annotations atomically. All annotations must - // belong to the same annotation set. Caller must have WRITE - // permission for this annotation set. For optimal performance, batch - // positionally adjacent annotations together. - // - // If the request has a systemic issue, such as an attempt to write to - // an inaccessible annotation set, the entire RPC will fail accordingly. For - // lesser data issues, when possible an error will be isolated to the - // corresponding batch entry in the response; the remaining well formed - // annotations will be created normally. - // - // For details on the requirements for each individual annotation resource, - // see - // [CreateAnnotation][google.genomics.v1.AnnotationServiceV1.CreateAnnotation]. - BatchCreateAnnotations(context.Context, *BatchCreateAnnotationsRequest) (*BatchCreateAnnotationsResponse, error) - // Gets an annotation. Caller must have READ permission - // for the associated annotation set. - GetAnnotation(context.Context, *GetAnnotationRequest) (*Annotation, error) - // Updates an annotation. Caller must have - // WRITE permission for the associated dataset. - UpdateAnnotation(context.Context, *UpdateAnnotationRequest) (*Annotation, error) - // Deletes an annotation. Caller must have WRITE permission for - // the associated annotation set. - DeleteAnnotation(context.Context, *DeleteAnnotationRequest) (*empty.Empty, error) - // Searches for annotations that match the given criteria. Results are - // ordered by genomic coordinate (by reference sequence, then position). - // Annotations with equivalent genomic coordinates are returned in an - // unspecified order. This order is consistent, such that two queries for the - // same content (regardless of page size) yield annotations in the same order - // across their respective streams of paginated responses. Caller must have - // READ permission for the queried annotation sets. - SearchAnnotations(context.Context, *SearchAnnotationsRequest) (*SearchAnnotationsResponse, error) -} - -// UnimplementedAnnotationServiceV1Server can be embedded to have forward compatible implementations. -type UnimplementedAnnotationServiceV1Server struct { -} - -func (*UnimplementedAnnotationServiceV1Server) CreateAnnotationSet(ctx context.Context, req *CreateAnnotationSetRequest) (*AnnotationSet, error) { - return nil, status1.Errorf(codes.Unimplemented, "method CreateAnnotationSet not implemented") -} -func (*UnimplementedAnnotationServiceV1Server) GetAnnotationSet(ctx context.Context, req *GetAnnotationSetRequest) (*AnnotationSet, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetAnnotationSet not implemented") -} -func (*UnimplementedAnnotationServiceV1Server) UpdateAnnotationSet(ctx context.Context, req *UpdateAnnotationSetRequest) (*AnnotationSet, error) { - return nil, status1.Errorf(codes.Unimplemented, "method UpdateAnnotationSet not implemented") -} -func (*UnimplementedAnnotationServiceV1Server) DeleteAnnotationSet(ctx context.Context, req *DeleteAnnotationSetRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method DeleteAnnotationSet not implemented") -} -func (*UnimplementedAnnotationServiceV1Server) SearchAnnotationSets(ctx context.Context, req *SearchAnnotationSetsRequest) (*SearchAnnotationSetsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method SearchAnnotationSets not implemented") -} -func (*UnimplementedAnnotationServiceV1Server) CreateAnnotation(ctx context.Context, req *CreateAnnotationRequest) (*Annotation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method CreateAnnotation not implemented") -} -func (*UnimplementedAnnotationServiceV1Server) BatchCreateAnnotations(ctx context.Context, req *BatchCreateAnnotationsRequest) (*BatchCreateAnnotationsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method BatchCreateAnnotations not implemented") -} -func (*UnimplementedAnnotationServiceV1Server) GetAnnotation(ctx context.Context, req *GetAnnotationRequest) (*Annotation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetAnnotation not implemented") -} -func (*UnimplementedAnnotationServiceV1Server) UpdateAnnotation(ctx context.Context, req *UpdateAnnotationRequest) (*Annotation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method UpdateAnnotation not implemented") -} -func (*UnimplementedAnnotationServiceV1Server) DeleteAnnotation(ctx context.Context, req *DeleteAnnotationRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method DeleteAnnotation not implemented") -} -func (*UnimplementedAnnotationServiceV1Server) SearchAnnotations(ctx context.Context, req *SearchAnnotationsRequest) (*SearchAnnotationsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method SearchAnnotations not implemented") -} - -func RegisterAnnotationServiceV1Server(s *grpc.Server, srv AnnotationServiceV1Server) { - s.RegisterService(&_AnnotationServiceV1_serviceDesc, srv) -} - -func _AnnotationServiceV1_CreateAnnotationSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateAnnotationSetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AnnotationServiceV1Server).CreateAnnotationSet(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.AnnotationServiceV1/CreateAnnotationSet", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AnnotationServiceV1Server).CreateAnnotationSet(ctx, req.(*CreateAnnotationSetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AnnotationServiceV1_GetAnnotationSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAnnotationSetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AnnotationServiceV1Server).GetAnnotationSet(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.AnnotationServiceV1/GetAnnotationSet", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AnnotationServiceV1Server).GetAnnotationSet(ctx, req.(*GetAnnotationSetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AnnotationServiceV1_UpdateAnnotationSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateAnnotationSetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AnnotationServiceV1Server).UpdateAnnotationSet(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.AnnotationServiceV1/UpdateAnnotationSet", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AnnotationServiceV1Server).UpdateAnnotationSet(ctx, req.(*UpdateAnnotationSetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AnnotationServiceV1_DeleteAnnotationSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteAnnotationSetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AnnotationServiceV1Server).DeleteAnnotationSet(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.AnnotationServiceV1/DeleteAnnotationSet", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AnnotationServiceV1Server).DeleteAnnotationSet(ctx, req.(*DeleteAnnotationSetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AnnotationServiceV1_SearchAnnotationSets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchAnnotationSetsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AnnotationServiceV1Server).SearchAnnotationSets(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.AnnotationServiceV1/SearchAnnotationSets", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AnnotationServiceV1Server).SearchAnnotationSets(ctx, req.(*SearchAnnotationSetsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AnnotationServiceV1_CreateAnnotation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateAnnotationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AnnotationServiceV1Server).CreateAnnotation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.AnnotationServiceV1/CreateAnnotation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AnnotationServiceV1Server).CreateAnnotation(ctx, req.(*CreateAnnotationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AnnotationServiceV1_BatchCreateAnnotations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchCreateAnnotationsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AnnotationServiceV1Server).BatchCreateAnnotations(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.AnnotationServiceV1/BatchCreateAnnotations", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AnnotationServiceV1Server).BatchCreateAnnotations(ctx, req.(*BatchCreateAnnotationsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AnnotationServiceV1_GetAnnotation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAnnotationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AnnotationServiceV1Server).GetAnnotation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.AnnotationServiceV1/GetAnnotation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AnnotationServiceV1Server).GetAnnotation(ctx, req.(*GetAnnotationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AnnotationServiceV1_UpdateAnnotation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateAnnotationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AnnotationServiceV1Server).UpdateAnnotation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.AnnotationServiceV1/UpdateAnnotation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AnnotationServiceV1Server).UpdateAnnotation(ctx, req.(*UpdateAnnotationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AnnotationServiceV1_DeleteAnnotation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteAnnotationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AnnotationServiceV1Server).DeleteAnnotation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.AnnotationServiceV1/DeleteAnnotation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AnnotationServiceV1Server).DeleteAnnotation(ctx, req.(*DeleteAnnotationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AnnotationServiceV1_SearchAnnotations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchAnnotationsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AnnotationServiceV1Server).SearchAnnotations(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.AnnotationServiceV1/SearchAnnotations", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AnnotationServiceV1Server).SearchAnnotations(ctx, req.(*SearchAnnotationsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _AnnotationServiceV1_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.genomics.v1.AnnotationServiceV1", - HandlerType: (*AnnotationServiceV1Server)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateAnnotationSet", - Handler: _AnnotationServiceV1_CreateAnnotationSet_Handler, - }, - { - MethodName: "GetAnnotationSet", - Handler: _AnnotationServiceV1_GetAnnotationSet_Handler, - }, - { - MethodName: "UpdateAnnotationSet", - Handler: _AnnotationServiceV1_UpdateAnnotationSet_Handler, - }, - { - MethodName: "DeleteAnnotationSet", - Handler: _AnnotationServiceV1_DeleteAnnotationSet_Handler, - }, - { - MethodName: "SearchAnnotationSets", - Handler: _AnnotationServiceV1_SearchAnnotationSets_Handler, - }, - { - MethodName: "CreateAnnotation", - Handler: _AnnotationServiceV1_CreateAnnotation_Handler, - }, - { - MethodName: "BatchCreateAnnotations", - Handler: _AnnotationServiceV1_BatchCreateAnnotations_Handler, - }, - { - MethodName: "GetAnnotation", - Handler: _AnnotationServiceV1_GetAnnotation_Handler, - }, - { - MethodName: "UpdateAnnotation", - Handler: _AnnotationServiceV1_UpdateAnnotation_Handler, - }, - { - MethodName: "DeleteAnnotation", - Handler: _AnnotationServiceV1_DeleteAnnotation_Handler, - }, - { - MethodName: "SearchAnnotations", - Handler: _AnnotationServiceV1_SearchAnnotations_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/genomics/v1/annotations.proto", -} 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 deleted file mode 100644 index a64fc5a1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/genomics/v1/cigar.pb.go +++ /dev/null @@ -1,204 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/genomics/v1/cigar.proto - -package genomics - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Describes the different types of CIGAR alignment operations that exist. -// Used wherever CIGAR alignments are used. -type CigarUnit_Operation int32 - -const ( - CigarUnit_OPERATION_UNSPECIFIED CigarUnit_Operation = 0 - // An alignment match indicates that a sequence can be aligned to the - // reference without evidence of an INDEL. Unlike the - // `SEQUENCE_MATCH` and `SEQUENCE_MISMATCH` operators, - // the `ALIGNMENT_MATCH` operator does not indicate whether the - // reference and read sequences are an exact match. This operator is - // equivalent to SAM's `M`. - CigarUnit_ALIGNMENT_MATCH CigarUnit_Operation = 1 - // The insert operator indicates that the read contains evidence of bases - // being inserted into the reference. This operator is equivalent to SAM's - // `I`. - CigarUnit_INSERT CigarUnit_Operation = 2 - // The delete operator indicates that the read contains evidence of bases - // being deleted from the reference. This operator is equivalent to SAM's - // `D`. - CigarUnit_DELETE CigarUnit_Operation = 3 - // The skip operator indicates that this read skips a long segment of the - // reference, but the bases have not been deleted. This operator is commonly - // used when working with RNA-seq data, where reads may skip long segments - // of the reference between exons. This operator is equivalent to SAM's - // `N`. - CigarUnit_SKIP CigarUnit_Operation = 4 - // The soft clip operator indicates that bases at the start/end of a read - // have not been considered during alignment. This may occur if the majority - // of a read maps, except for low quality bases at the start/end of a read. - // This operator is equivalent to SAM's `S`. Bases that are soft - // clipped will still be stored in the read. - CigarUnit_CLIP_SOFT CigarUnit_Operation = 5 - // The hard clip operator indicates that bases at the start/end of a read - // have been omitted from this alignment. This may occur if this linear - // alignment is part of a chimeric alignment, or if the read has been - // trimmed (for example, during error correction or to trim poly-A tails for - // RNA-seq). This operator is equivalent to SAM's `H`. - CigarUnit_CLIP_HARD CigarUnit_Operation = 6 - // The pad operator indicates that there is padding in an alignment. This - // operator is equivalent to SAM's `P`. - CigarUnit_PAD CigarUnit_Operation = 7 - // This operator indicates that this portion of the aligned sequence exactly - // matches the reference. This operator is equivalent to SAM's `=`. - CigarUnit_SEQUENCE_MATCH CigarUnit_Operation = 8 - // This operator indicates that this portion of the aligned sequence is an - // alignment match to the reference, but a sequence mismatch. This can - // indicate a SNP or a read error. This operator is equivalent to SAM's - // `X`. - CigarUnit_SEQUENCE_MISMATCH CigarUnit_Operation = 9 -) - -var CigarUnit_Operation_name = map[int32]string{ - 0: "OPERATION_UNSPECIFIED", - 1: "ALIGNMENT_MATCH", - 2: "INSERT", - 3: "DELETE", - 4: "SKIP", - 5: "CLIP_SOFT", - 6: "CLIP_HARD", - 7: "PAD", - 8: "SEQUENCE_MATCH", - 9: "SEQUENCE_MISMATCH", -} - -var CigarUnit_Operation_value = map[string]int32{ - "OPERATION_UNSPECIFIED": 0, - "ALIGNMENT_MATCH": 1, - "INSERT": 2, - "DELETE": 3, - "SKIP": 4, - "CLIP_SOFT": 5, - "CLIP_HARD": 6, - "PAD": 7, - "SEQUENCE_MATCH": 8, - "SEQUENCE_MISMATCH": 9, -} - -func (x CigarUnit_Operation) String() string { - return proto.EnumName(CigarUnit_Operation_name, int32(x)) -} - -func (CigarUnit_Operation) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_353bda9a6ec457b8, []int{0, 0} -} - -// A single CIGAR operation. -type CigarUnit struct { - Operation CigarUnit_Operation `protobuf:"varint,1,opt,name=operation,proto3,enum=google.genomics.v1.CigarUnit_Operation" json:"operation,omitempty"` - // The number of genomic bases that the operation runs for. Required. - OperationLength int64 `protobuf:"varint,2,opt,name=operation_length,json=operationLength,proto3" json:"operation_length,omitempty"` - // `referenceSequence` is only used at mismatches - // (`SEQUENCE_MISMATCH`) and deletions (`DELETE`). - // Filling this field replaces SAM's MD tag. If the relevant information is - // not available, this field is unset. - ReferenceSequence string `protobuf:"bytes,3,opt,name=reference_sequence,json=referenceSequence,proto3" json:"reference_sequence,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_353bda9a6ec457b8, []int{0} -} - -func (m *CigarUnit) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CigarUnit.Unmarshal(m, b) -} -func (m *CigarUnit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CigarUnit.Marshal(b, m, deterministic) -} -func (m *CigarUnit) XXX_Merge(src proto.Message) { - xxx_messageInfo_CigarUnit.Merge(m, src) -} -func (m *CigarUnit) XXX_Size() int { - return xxx_messageInfo_CigarUnit.Size(m) -} -func (m *CigarUnit) XXX_DiscardUnknown() { - xxx_messageInfo_CigarUnit.DiscardUnknown(m) -} - -var xxx_messageInfo_CigarUnit proto.InternalMessageInfo - -func (m *CigarUnit) GetOperation() CigarUnit_Operation { - if m != nil { - return m.Operation - } - return CigarUnit_OPERATION_UNSPECIFIED -} - -func (m *CigarUnit) GetOperationLength() int64 { - if m != nil { - return m.OperationLength - } - return 0 -} - -func (m *CigarUnit) GetReferenceSequence() string { - if m != nil { - return m.ReferenceSequence - } - return "" -} - -func init() { - proto.RegisterEnum("google.genomics.v1.CigarUnit_Operation", CigarUnit_Operation_name, CigarUnit_Operation_value) - proto.RegisterType((*CigarUnit)(nil), "google.genomics.v1.CigarUnit") -} - -func init() { proto.RegisterFile("google/genomics/v1/cigar.proto", fileDescriptor_353bda9a6ec457b8) } - -var fileDescriptor_353bda9a6ec457b8 = []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, - 0x08, 0x99, 0xde, 0xf4, 0xc4, 0xa0, 0x73, 0x8d, 0x0c, 0x10, 0xd8, 0xc5, 0x0b, 0x41, 0x52, 0x91, - 0x64, 0x6b, 0x11, 0x70,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, 0x8d, 0xd0, 0x3c, 0x60, 0x44, 0x00, - 0x46, 0xcc, 0x09, 0xa8, 0x1f, 0xe2, 0x41, 0x8d, 0x2d, 0x6a, 0xd3, 0x90, 0x62, 0x85, 0x4c, 0x60, - 0x18, 0x7c, 0x64, 0x1e, 0x1e, 0x92, 0x47, 0xa0, 0x9a, 0x36, 0xf3, 0xa2, 0xc0, 0xdd, 0x87, 0xf8, - 0x61, 0xff, 0x3c, 0x18, 0xbe, 0x85, 0x47, 0x64, 0x0c, 0x8a, 0x67, 0x58, 0x78, 0x4c, 0x08, 0x4c, - 0x03, 0xfa, 0xe9, 0x44, 0x1d, 0x93, 0xde, 0xca, 0x27, 0x64, 0x01, 0xf3, 0x3b, 0xc7, 0x82, 0x96, - 0x56, 0x77, 0x1c, 0x9e, 0x24, 0xf2, 0xf2, 0x9f, 0x23, 0xee, 0xa0, 0xb9, 0xa2, 0x57, 0xcf, 0xe0, - 0xa1, 0xcf, 0xef, 0x3a, 0x87, 0x3c, 0xc7, 0x22, 0xd5, 0x64, 0x91, 0xd6, 0x2b, 0x37, 0x23, 0xe9, - 0xad, 0x14, 0xe7, 0x59, 0xf9, 0xf7, 0xf2, 0xef, 0x3b, 0xfc, 0x1b, 0xa1, 0x2f, 0xa3, 0xc6, 0xf9, - 0xf6, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x98, 0xcc, 0xce, 0xde, 0x22, 0x02, 0x00, 0x00, -} 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 deleted file mode 100644 index a1653fd8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/genomics/v1/datasets.pb.go +++ /dev/null @@ -1,1000 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/genomics/v1/datasets.proto - -package genomics - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - v1 "google.golang.org/genproto/googleapis/iam/v1" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A Dataset is a collection of genomic data. -// -// For more genomics resource definitions, see [Fundamentals of Google -// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) -type Dataset struct { - // The server-generated dataset ID, unique across all datasets. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // The Google Cloud project ID that this dataset belongs to. - ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The dataset name. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - // The time this dataset was created, in seconds from the epoch. - CreateTime *timestamp.Timestamp `protobuf:"bytes,4,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 *Dataset) Reset() { *m = Dataset{} } -func (m *Dataset) String() string { return proto.CompactTextString(m) } -func (*Dataset) ProtoMessage() {} -func (*Dataset) Descriptor() ([]byte, []int) { - return fileDescriptor_ddd0efa223187e29, []int{0} -} - -func (m *Dataset) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Dataset.Unmarshal(m, b) -} -func (m *Dataset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Dataset.Marshal(b, m, deterministic) -} -func (m *Dataset) XXX_Merge(src proto.Message) { - xxx_messageInfo_Dataset.Merge(m, src) -} -func (m *Dataset) XXX_Size() int { - return xxx_messageInfo_Dataset.Size(m) -} -func (m *Dataset) XXX_DiscardUnknown() { - xxx_messageInfo_Dataset.DiscardUnknown(m) -} - -var xxx_messageInfo_Dataset proto.InternalMessageInfo - -func (m *Dataset) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *Dataset) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *Dataset) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Dataset) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -// The dataset list request. -type ListDatasetsRequest struct { - // Required. The Google Cloud project ID to list datasets for. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The maximum number of results to return in a single page. If unspecified, - // defaults to 50. The maximum value is 1024. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // The continuation token, which is used to page through large result sets. - // To get the next page of results, set this parameter to the value of - // `nextPageToken` from the previous response. - 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 *ListDatasetsRequest) Reset() { *m = ListDatasetsRequest{} } -func (m *ListDatasetsRequest) String() string { return proto.CompactTextString(m) } -func (*ListDatasetsRequest) ProtoMessage() {} -func (*ListDatasetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ddd0efa223187e29, []int{1} -} - -func (m *ListDatasetsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDatasetsRequest.Unmarshal(m, b) -} -func (m *ListDatasetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDatasetsRequest.Marshal(b, m, deterministic) -} -func (m *ListDatasetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDatasetsRequest.Merge(m, src) -} -func (m *ListDatasetsRequest) XXX_Size() int { - return xxx_messageInfo_ListDatasetsRequest.Size(m) -} -func (m *ListDatasetsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListDatasetsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDatasetsRequest proto.InternalMessageInfo - -func (m *ListDatasetsRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *ListDatasetsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListDatasetsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// The dataset list response. -type ListDatasetsResponse struct { - // The list of matching Datasets. - Datasets []*Dataset `protobuf:"bytes,1,rep,name=datasets,proto3" json:"datasets,omitempty"` - // The continuation token, which is used to page through large result sets. - // Provide this value in a subsequent request to return the next page of - // results. This field will be empty if there aren't any additional 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 *ListDatasetsResponse) Reset() { *m = ListDatasetsResponse{} } -func (m *ListDatasetsResponse) String() string { return proto.CompactTextString(m) } -func (*ListDatasetsResponse) ProtoMessage() {} -func (*ListDatasetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ddd0efa223187e29, []int{2} -} - -func (m *ListDatasetsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDatasetsResponse.Unmarshal(m, b) -} -func (m *ListDatasetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDatasetsResponse.Marshal(b, m, deterministic) -} -func (m *ListDatasetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDatasetsResponse.Merge(m, src) -} -func (m *ListDatasetsResponse) XXX_Size() int { - return xxx_messageInfo_ListDatasetsResponse.Size(m) -} -func (m *ListDatasetsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListDatasetsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDatasetsResponse proto.InternalMessageInfo - -func (m *ListDatasetsResponse) GetDatasets() []*Dataset { - if m != nil { - return m.Datasets - } - return nil -} - -func (m *ListDatasetsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -type CreateDatasetRequest struct { - // The dataset to be created. Must contain projectId and name. - Dataset *Dataset `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ddd0efa223187e29, []int{3} -} - -func (m *CreateDatasetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateDatasetRequest.Unmarshal(m, b) -} -func (m *CreateDatasetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateDatasetRequest.Marshal(b, m, deterministic) -} -func (m *CreateDatasetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateDatasetRequest.Merge(m, src) -} -func (m *CreateDatasetRequest) XXX_Size() int { - return xxx_messageInfo_CreateDatasetRequest.Size(m) -} -func (m *CreateDatasetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateDatasetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateDatasetRequest proto.InternalMessageInfo - -func (m *CreateDatasetRequest) GetDataset() *Dataset { - if m != nil { - return m.Dataset - } - return nil -} - -type UpdateDatasetRequest struct { - // The ID of the dataset to be updated. - DatasetId string `protobuf:"bytes,1,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"` - // The new dataset data. - Dataset *Dataset `protobuf:"bytes,2,opt,name=dataset,proto3" json:"dataset,omitempty"` - // An optional mask specifying which fields to update. At this time, the only - // mutable field is [name][google.genomics.v1.Dataset.name]. The only - // acceptable value is "name". If unspecified, all mutable fields will be - // 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 *UpdateDatasetRequest) Reset() { *m = UpdateDatasetRequest{} } -func (m *UpdateDatasetRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateDatasetRequest) ProtoMessage() {} -func (*UpdateDatasetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ddd0efa223187e29, []int{4} -} - -func (m *UpdateDatasetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateDatasetRequest.Unmarshal(m, b) -} -func (m *UpdateDatasetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateDatasetRequest.Marshal(b, m, deterministic) -} -func (m *UpdateDatasetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateDatasetRequest.Merge(m, src) -} -func (m *UpdateDatasetRequest) XXX_Size() int { - return xxx_messageInfo_UpdateDatasetRequest.Size(m) -} -func (m *UpdateDatasetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateDatasetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateDatasetRequest proto.InternalMessageInfo - -func (m *UpdateDatasetRequest) GetDatasetId() string { - if m != nil { - return m.DatasetId - } - return "" -} - -func (m *UpdateDatasetRequest) GetDataset() *Dataset { - if m != nil { - return m.Dataset - } - return nil -} - -func (m *UpdateDatasetRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -type DeleteDatasetRequest struct { - // The ID of the dataset to be deleted. - 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 *DeleteDatasetRequest) Reset() { *m = DeleteDatasetRequest{} } -func (m *DeleteDatasetRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteDatasetRequest) ProtoMessage() {} -func (*DeleteDatasetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ddd0efa223187e29, []int{5} -} - -func (m *DeleteDatasetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteDatasetRequest.Unmarshal(m, b) -} -func (m *DeleteDatasetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteDatasetRequest.Marshal(b, m, deterministic) -} -func (m *DeleteDatasetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteDatasetRequest.Merge(m, src) -} -func (m *DeleteDatasetRequest) XXX_Size() int { - return xxx_messageInfo_DeleteDatasetRequest.Size(m) -} -func (m *DeleteDatasetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteDatasetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteDatasetRequest proto.InternalMessageInfo - -func (m *DeleteDatasetRequest) GetDatasetId() string { - if m != nil { - return m.DatasetId - } - return "" -} - -type UndeleteDatasetRequest struct { - // The ID of the dataset to be undeleted. - 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 *UndeleteDatasetRequest) Reset() { *m = UndeleteDatasetRequest{} } -func (m *UndeleteDatasetRequest) String() string { return proto.CompactTextString(m) } -func (*UndeleteDatasetRequest) ProtoMessage() {} -func (*UndeleteDatasetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ddd0efa223187e29, []int{6} -} - -func (m *UndeleteDatasetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UndeleteDatasetRequest.Unmarshal(m, b) -} -func (m *UndeleteDatasetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UndeleteDatasetRequest.Marshal(b, m, deterministic) -} -func (m *UndeleteDatasetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UndeleteDatasetRequest.Merge(m, src) -} -func (m *UndeleteDatasetRequest) XXX_Size() int { - return xxx_messageInfo_UndeleteDatasetRequest.Size(m) -} -func (m *UndeleteDatasetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UndeleteDatasetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UndeleteDatasetRequest proto.InternalMessageInfo - -func (m *UndeleteDatasetRequest) GetDatasetId() string { - if m != nil { - return m.DatasetId - } - return "" -} - -type GetDatasetRequest struct { - // The ID of the 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 *GetDatasetRequest) Reset() { *m = GetDatasetRequest{} } -func (m *GetDatasetRequest) String() string { return proto.CompactTextString(m) } -func (*GetDatasetRequest) ProtoMessage() {} -func (*GetDatasetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ddd0efa223187e29, []int{7} -} - -func (m *GetDatasetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDatasetRequest.Unmarshal(m, b) -} -func (m *GetDatasetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDatasetRequest.Marshal(b, m, deterministic) -} -func (m *GetDatasetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDatasetRequest.Merge(m, src) -} -func (m *GetDatasetRequest) XXX_Size() int { - return xxx_messageInfo_GetDatasetRequest.Size(m) -} -func (m *GetDatasetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetDatasetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetDatasetRequest proto.InternalMessageInfo - -func (m *GetDatasetRequest) GetDatasetId() string { - if m != nil { - return m.DatasetId - } - return "" -} - -func init() { - proto.RegisterType((*Dataset)(nil), "google.genomics.v1.Dataset") - proto.RegisterType((*ListDatasetsRequest)(nil), "google.genomics.v1.ListDatasetsRequest") - proto.RegisterType((*ListDatasetsResponse)(nil), "google.genomics.v1.ListDatasetsResponse") - proto.RegisterType((*CreateDatasetRequest)(nil), "google.genomics.v1.CreateDatasetRequest") - proto.RegisterType((*UpdateDatasetRequest)(nil), "google.genomics.v1.UpdateDatasetRequest") - proto.RegisterType((*DeleteDatasetRequest)(nil), "google.genomics.v1.DeleteDatasetRequest") - proto.RegisterType((*UndeleteDatasetRequest)(nil), "google.genomics.v1.UndeleteDatasetRequest") - proto.RegisterType((*GetDatasetRequest)(nil), "google.genomics.v1.GetDatasetRequest") -} - -func init() { proto.RegisterFile("google/genomics/v1/datasets.proto", fileDescriptor_ddd0efa223187e29) } - -var fileDescriptor_ddd0efa223187e29 = []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, - 0xba, 0x4d, 0x6b, 0x08, 0x49, 0x89, 0x37, 0x88, 0x12, 0x12, 0x49, 0x9a, 0x02, 0x5e, 0x78, 0xd3, - 0x0c, 0xdd, 0xa1, 0x8e, 0x74, 0x77, 0xd6, 0x9d, 0x29, 0x28, 0xc8, 0x0d, 0x77, 0x5c, 0xfb, 0x00, - 0x26, 0xde, 0xf9, 0x3c, 0xbe, 0x82, 0x0f, 0xe1, 0xa5, 0x99, 0xd9, 0xd9, 0x76, 0xdb, 0x2e, 0x05, - 0x8c, 0x77, 0xdb, 0x73, 0xbe, 0x73, 0xbe, 0xef, 0xcc, 0xf9, 0x76, 0xba, 0xb0, 0xd0, 0x62, 0xac, - 0xd5, 0x26, 0xa5, 0x16, 0x71, 0x99, 0x43, 0x9b, 0xbc, 0x74, 0x58, 0x2e, 0xd9, 0x58, 0x60, 0x4e, - 0x04, 0xb7, 0x3c, 0x9f, 0x09, 0x86, 0x50, 0x00, 0xb1, 0x42, 0x88, 0x75, 0x58, 0xce, 0xde, 0xd3, - 0x65, 0xd8, 0xa3, 0x25, 0xec, 0xba, 0x4c, 0x60, 0x41, 0x99, 0xab, 0x2b, 0xb2, 0xf7, 0x75, 0x96, - 0x62, 0x47, 0xf6, 0xa3, 0xd8, 0x69, 0x78, 0xac, 0x4d, 0x9b, 0x9f, 0x75, 0x3e, 0xdb, 0x9f, 0xef, - 0xcb, 0xe5, 0x74, 0x4e, 0xfd, 0xda, 0xeb, 0xec, 0x97, 0x88, 0xe3, 0x89, 0x30, 0x99, 0x1f, 0x4c, - 0xee, 0x53, 0xd2, 0xb6, 0x1b, 0x0e, 0xe6, 0x07, 0x1a, 0xf1, 0x60, 0x10, 0x21, 0xa8, 0x43, 0xb8, - 0xc0, 0x8e, 0x17, 0x00, 0xcc, 0x73, 0x03, 0x26, 0xd6, 0x83, 0x01, 0xd1, 0x0c, 0x24, 0xa8, 0x9d, - 0x31, 0xf2, 0x46, 0x21, 0x59, 0x4f, 0x50, 0x1b, 0xcd, 0x03, 0x78, 0x3e, 0xfb, 0x40, 0x9a, 0xa2, - 0x41, 0xed, 0x4c, 0x42, 0xc5, 0x93, 0x3a, 0xb2, 0x69, 0x23, 0x04, 0xe3, 0x2e, 0x76, 0x48, 0x66, - 0x4c, 0x25, 0xd4, 0x33, 0x5a, 0x85, 0xa9, 0xa6, 0x4f, 0xb0, 0x20, 0x0d, 0x49, 0x94, 0x19, 0xcf, - 0x1b, 0x85, 0xa9, 0x4a, 0xd6, 0xd2, 0x47, 0x16, 0xaa, 0xb0, 0x76, 0x42, 0x15, 0x75, 0x08, 0xe0, - 0x32, 0x60, 0x7a, 0x70, 0xeb, 0x0d, 0xe5, 0x42, 0xcb, 0xe1, 0x75, 0xf2, 0xb1, 0x43, 0xb8, 0x18, - 0x90, 0x61, 0x0c, 0xca, 0xc8, 0x41, 0xd2, 0xc3, 0x2d, 0xd2, 0xe0, 0xf4, 0x98, 0x28, 0x91, 0xff, - 0xd5, 0x27, 0x65, 0x60, 0x9b, 0x1e, 0x13, 0x55, 0x2b, 0x93, 0x82, 0x1d, 0x10, 0x57, 0x2b, 0x55, - 0xf0, 0x1d, 0x19, 0x30, 0x8f, 0x20, 0xdd, 0xcf, 0xc8, 0x3d, 0xe6, 0x72, 0x82, 0x56, 0x60, 0x32, - 0xdc, 0x7a, 0xc6, 0xc8, 0x8f, 0x15, 0xa6, 0x2a, 0x39, 0x6b, 0x78, 0xed, 0x96, 0xae, 0xab, 0x77, - 0xc1, 0x68, 0x11, 0x66, 0x5d, 0xf2, 0x49, 0x34, 0x22, 0xa4, 0xc1, 0xb9, 0xa5, 0x64, 0xb8, 0xd6, - 0x25, 0xde, 0x82, 0xf4, 0x4b, 0x35, 0x78, 0xd8, 0x42, 0xcf, 0xba, 0x0c, 0x13, 0xba, 0x97, 0x1a, - 0xf4, 0x12, 0xde, 0x10, 0x6b, 0xfe, 0x30, 0x20, 0xbd, 0xeb, 0xd9, 0xc3, 0xfd, 0xe6, 0x01, 0x34, - 0x26, 0x72, 0x76, 0x3a, 0xb2, 0x69, 0x47, 0xe9, 0x12, 0x57, 0xa7, 0x93, 0x5b, 0xee, 0x28, 0x36, - 0x65, 0x35, 0x75, 0xac, 0x71, 0x5b, 0x7e, 0x2d, 0xdd, 0xb8, 0x85, 0xf9, 0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2f, 0x99, 0xe6, 0xc5, 0xe3, 0x77, 0x74, 0xdb, 0xaa, 0x51, 0x44, 0x5f, 0x60, - 0x7a, 0x9b, 0x88, 0x4d, 0xec, 0xd4, 0xd4, 0x9f, 0x11, 0x32, 0xc3, 0xde, 0x14, 0x3b, 0xb2, 0x6d, - 0x34, 0x19, 0xf2, 0xdf, 0x1e, 0xc0, 0x04, 0x59, 0xb3, 0xac, 0x98, 0x9f, 0x98, 0x8b, 0x92, 0xf9, - 0xc4, 0x27, 0x9c, 0x75, 0xfc, 0x26, 0x79, 0xd1, 0xd5, 0x50, 0x3c, 0xad, 0xf2, 0x48, 0x37, 0xcd, - 0xbe, 0x31, 0x8a, 0x7d, 0xe3, 0x9f, 0xb2, 0xb7, 0x06, 0xd8, 0xbf, 0x1b, 0x80, 0x76, 0x08, 0x57, - 0x41, 0xe2, 0x3b, 0x94, 0x73, 0xf9, 0x5f, 0xde, 0xf3, 0x80, 0x26, 0x18, 0x86, 0x84, 0x52, 0x1e, - 0x5f, 0x01, 0xa9, 0x5f, 0xf8, 0x15, 0x25, 0xaf, 0x6c, 0x3e, 0xbd, 0x58, 0x9e, 0x18, 0xaa, 0xae, - 0x1a, 0xc5, 0xb5, 0xf7, 0x30, 0xd7, 0x64, 0x4e, 0xcc, 0xc6, 0xd7, 0x52, 0xe1, 0xad, 0x52, 0x93, - 0x0e, 0xac, 0x19, 0xef, 0xaa, 0x21, 0x88, 0xb5, 0xb1, 0xdb, 0xb2, 0x98, 0xdf, 0x92, 0x9f, 0x37, - 0xca, 0x9f, 0xa5, 0x20, 0x85, 0x3d, 0xca, 0xa3, 0x9f, 0x3c, 0xab, 0xe1, 0xf3, 0x6f, 0xc3, 0xd8, - 0xfb, 0x5f, 0x21, 0x9f, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0x87, 0x48, 0x07, 0xbb, 0x1b, 0x09, - 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 - -// DatasetServiceV1Client is the client API for DatasetServiceV1 service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type DatasetServiceV1Client interface { - // Lists datasets within a project. - // - // For the definitions of datasets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - ListDatasets(ctx context.Context, in *ListDatasetsRequest, opts ...grpc.CallOption) (*ListDatasetsResponse, error) - // Creates a new dataset. - // - // For the definitions of datasets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - CreateDataset(ctx context.Context, in *CreateDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) - // Gets a dataset by ID. - // - // For the definitions of datasets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - GetDataset(ctx context.Context, in *GetDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) - // Updates a dataset. - // - // For the definitions of datasets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // This method supports patch semantics. - UpdateDataset(ctx context.Context, in *UpdateDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) - // Deletes a dataset and all of its contents (all read group sets, - // reference sets, variant sets, call sets, annotation sets, etc.) - // This is reversible (up to one week after the deletion) via - // the - // [datasets.undelete][google.genomics.v1.DatasetServiceV1.UndeleteDataset] - // operation. - // - // For the definitions of datasets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - DeleteDataset(ctx context.Context, in *DeleteDatasetRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Undeletes a dataset by restoring a dataset which was deleted via this API. - // - // For the definitions of datasets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // This operation is only possible for a week after the deletion occurred. - UndeleteDataset(ctx context.Context, in *UndeleteDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) - // Sets the access control policy on the specified dataset. Replaces any - // existing policy. - // - // For the definitions of datasets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // See Setting a - // Policy for more information. - SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) - // Gets the access control policy for the dataset. This is empty if the - // policy or resource does not exist. - // - // See Getting a - // Policy for more information. - // - // For the definitions of datasets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) - // Returns permissions that a caller has on the specified resource. - // See Testing - // Permissions for more information. - // - // For the definitions of datasets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) -} - -type datasetServiceV1Client struct { - cc *grpc.ClientConn -} - -func NewDatasetServiceV1Client(cc *grpc.ClientConn) DatasetServiceV1Client { - return &datasetServiceV1Client{cc} -} - -func (c *datasetServiceV1Client) ListDatasets(ctx context.Context, in *ListDatasetsRequest, opts ...grpc.CallOption) (*ListDatasetsResponse, error) { - out := new(ListDatasetsResponse) - err := c.cc.Invoke(ctx, "/google.genomics.v1.DatasetServiceV1/ListDatasets", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *datasetServiceV1Client) CreateDataset(ctx context.Context, in *CreateDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) { - out := new(Dataset) - err := c.cc.Invoke(ctx, "/google.genomics.v1.DatasetServiceV1/CreateDataset", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *datasetServiceV1Client) GetDataset(ctx context.Context, in *GetDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) { - out := new(Dataset) - err := c.cc.Invoke(ctx, "/google.genomics.v1.DatasetServiceV1/GetDataset", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *datasetServiceV1Client) UpdateDataset(ctx context.Context, in *UpdateDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) { - out := new(Dataset) - err := c.cc.Invoke(ctx, "/google.genomics.v1.DatasetServiceV1/UpdateDataset", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *datasetServiceV1Client) DeleteDataset(ctx context.Context, in *DeleteDatasetRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.genomics.v1.DatasetServiceV1/DeleteDataset", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *datasetServiceV1Client) UndeleteDataset(ctx context.Context, in *UndeleteDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) { - out := new(Dataset) - err := c.cc.Invoke(ctx, "/google.genomics.v1.DatasetServiceV1/UndeleteDataset", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *datasetServiceV1Client) SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { - out := new(v1.Policy) - err := c.cc.Invoke(ctx, "/google.genomics.v1.DatasetServiceV1/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *datasetServiceV1Client) GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { - out := new(v1.Policy) - err := c.cc.Invoke(ctx, "/google.genomics.v1.DatasetServiceV1/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *datasetServiceV1Client) TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) { - out := new(v1.TestIamPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.genomics.v1.DatasetServiceV1/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// DatasetServiceV1Server is the server API for DatasetServiceV1 service. -type DatasetServiceV1Server interface { - // Lists datasets within a project. - // - // For the definitions of datasets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - ListDatasets(context.Context, *ListDatasetsRequest) (*ListDatasetsResponse, error) - // Creates a new dataset. - // - // For the definitions of datasets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - CreateDataset(context.Context, *CreateDatasetRequest) (*Dataset, error) - // Gets a dataset by ID. - // - // For the definitions of datasets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - GetDataset(context.Context, *GetDatasetRequest) (*Dataset, error) - // Updates a dataset. - // - // For the definitions of datasets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // This method supports patch semantics. - UpdateDataset(context.Context, *UpdateDatasetRequest) (*Dataset, error) - // Deletes a dataset and all of its contents (all read group sets, - // reference sets, variant sets, call sets, annotation sets, etc.) - // This is reversible (up to one week after the deletion) via - // the - // [datasets.undelete][google.genomics.v1.DatasetServiceV1.UndeleteDataset] - // operation. - // - // For the definitions of datasets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - DeleteDataset(context.Context, *DeleteDatasetRequest) (*empty.Empty, error) - // Undeletes a dataset by restoring a dataset which was deleted via this API. - // - // For the definitions of datasets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // This operation is only possible for a week after the deletion occurred. - UndeleteDataset(context.Context, *UndeleteDatasetRequest) (*Dataset, error) - // Sets the access control policy on the specified dataset. Replaces any - // existing policy. - // - // For the definitions of datasets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // See Setting a - // Policy for more information. - SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error) - // Gets the access control policy for the dataset. This is empty if the - // policy or resource does not exist. - // - // See Getting a - // Policy for more information. - // - // For the definitions of datasets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error) - // Returns permissions that a caller has on the specified resource. - // See Testing - // Permissions for more information. - // - // For the definitions of datasets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) -} - -// UnimplementedDatasetServiceV1Server can be embedded to have forward compatible implementations. -type UnimplementedDatasetServiceV1Server struct { -} - -func (*UnimplementedDatasetServiceV1Server) ListDatasets(ctx context.Context, req *ListDatasetsRequest) (*ListDatasetsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListDatasets not implemented") -} -func (*UnimplementedDatasetServiceV1Server) CreateDataset(ctx context.Context, req *CreateDatasetRequest) (*Dataset, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateDataset not implemented") -} -func (*UnimplementedDatasetServiceV1Server) GetDataset(ctx context.Context, req *GetDatasetRequest) (*Dataset, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDataset not implemented") -} -func (*UnimplementedDatasetServiceV1Server) UpdateDataset(ctx context.Context, req *UpdateDatasetRequest) (*Dataset, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateDataset not implemented") -} -func (*UnimplementedDatasetServiceV1Server) DeleteDataset(ctx context.Context, req *DeleteDatasetRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteDataset not implemented") -} -func (*UnimplementedDatasetServiceV1Server) UndeleteDataset(ctx context.Context, req *UndeleteDatasetRequest) (*Dataset, error) { - return nil, status.Errorf(codes.Unimplemented, "method UndeleteDataset not implemented") -} -func (*UnimplementedDatasetServiceV1Server) SetIamPolicy(ctx context.Context, req *v1.SetIamPolicyRequest) (*v1.Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedDatasetServiceV1Server) GetIamPolicy(ctx context.Context, req *v1.GetIamPolicyRequest) (*v1.Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedDatasetServiceV1Server) TestIamPermissions(ctx context.Context, req *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} - -func RegisterDatasetServiceV1Server(s *grpc.Server, srv DatasetServiceV1Server) { - s.RegisterService(&_DatasetServiceV1_serviceDesc, srv) -} - -func _DatasetServiceV1_ListDatasets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListDatasetsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DatasetServiceV1Server).ListDatasets(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.DatasetServiceV1/ListDatasets", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatasetServiceV1Server).ListDatasets(ctx, req.(*ListDatasetsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DatasetServiceV1_CreateDataset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateDatasetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DatasetServiceV1Server).CreateDataset(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.DatasetServiceV1/CreateDataset", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatasetServiceV1Server).CreateDataset(ctx, req.(*CreateDatasetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DatasetServiceV1_GetDataset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDatasetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DatasetServiceV1Server).GetDataset(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.DatasetServiceV1/GetDataset", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatasetServiceV1Server).GetDataset(ctx, req.(*GetDatasetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DatasetServiceV1_UpdateDataset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateDatasetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DatasetServiceV1Server).UpdateDataset(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.DatasetServiceV1/UpdateDataset", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatasetServiceV1Server).UpdateDataset(ctx, req.(*UpdateDatasetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DatasetServiceV1_DeleteDataset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteDatasetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DatasetServiceV1Server).DeleteDataset(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.DatasetServiceV1/DeleteDataset", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatasetServiceV1Server).DeleteDataset(ctx, req.(*DeleteDatasetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DatasetServiceV1_UndeleteDataset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UndeleteDatasetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DatasetServiceV1Server).UndeleteDataset(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.DatasetServiceV1/UndeleteDataset", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatasetServiceV1Server).UndeleteDataset(ctx, req.(*UndeleteDatasetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DatasetServiceV1_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.(DatasetServiceV1Server).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.DatasetServiceV1/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatasetServiceV1Server).SetIamPolicy(ctx, req.(*v1.SetIamPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DatasetServiceV1_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.(DatasetServiceV1Server).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.DatasetServiceV1/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatasetServiceV1Server).GetIamPolicy(ctx, req.(*v1.GetIamPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DatasetServiceV1_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.(DatasetServiceV1Server).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.DatasetServiceV1/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatasetServiceV1Server).TestIamPermissions(ctx, req.(*v1.TestIamPermissionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _DatasetServiceV1_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.genomics.v1.DatasetServiceV1", - HandlerType: (*DatasetServiceV1Server)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListDatasets", - Handler: _DatasetServiceV1_ListDatasets_Handler, - }, - { - MethodName: "CreateDataset", - Handler: _DatasetServiceV1_CreateDataset_Handler, - }, - { - MethodName: "GetDataset", - Handler: _DatasetServiceV1_GetDataset_Handler, - }, - { - MethodName: "UpdateDataset", - Handler: _DatasetServiceV1_UpdateDataset_Handler, - }, - { - MethodName: "DeleteDataset", - Handler: _DatasetServiceV1_DeleteDataset_Handler, - }, - { - MethodName: "UndeleteDataset", - Handler: _DatasetServiceV1_UndeleteDataset_Handler, - }, - { - MethodName: "SetIamPolicy", - Handler: _DatasetServiceV1_SetIamPolicy_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _DatasetServiceV1_GetIamPolicy_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _DatasetServiceV1_TestIamPermissions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/genomics/v1/datasets.proto", -} 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 deleted file mode 100644 index d21acd72..00000000 --- a/vendor/google.golang.org/genproto/googleapis/genomics/v1/operations.pb.go +++ /dev/null @@ -1,247 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/genomics/v1/operations.proto - -package genomics - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - any "github.com/golang/protobuf/ptypes/any" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Metadata describing an [Operation][google.longrunning.Operation]. -type OperationMetadata struct { - // The Google Cloud Project in which the job is scoped. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The time at which the job was submitted to the Genomics service. - CreateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // The time at which the job began to run. - StartTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // The time at which the job stopped running. - EndTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - // The original request that started the operation. Note that this will be in - // current version of the API. If the operation was started with v1beta2 API - // and a GetOperation is performed on v1 API, a v1 request will be returned. - Request *any.Any `protobuf:"bytes,5,opt,name=request,proto3" json:"request,omitempty"` - // Optional event messages that were generated during the job's execution. - // This also contains any warnings that were generated during import - // or export. - Events []*OperationEvent `protobuf:"bytes,6,rep,name=events,proto3" json:"events,omitempty"` - // This field is deprecated. Use `labels` instead. Optionally provided by the - // caller when submitting the request that creates the operation. - ClientId string `protobuf:"bytes,7,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` - // Runtime metadata on this Operation. - RuntimeMetadata *any.Any `protobuf:"bytes,8,opt,name=runtime_metadata,json=runtimeMetadata,proto3" json:"runtime_metadata,omitempty"` - // Optionally provided by the caller when submitting the request that creates - // the operation. - 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"` - 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_ab6c330828363542, []int{0} -} - -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 (m *OperationMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperationMetadata.Merge(m, 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) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *OperationMetadata) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *OperationMetadata) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *OperationMetadata) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -func (m *OperationMetadata) GetRequest() *any.Any { - if m != nil { - return m.Request - } - return nil -} - -func (m *OperationMetadata) GetEvents() []*OperationEvent { - if m != nil { - return m.Events - } - return nil -} - -func (m *OperationMetadata) GetClientId() string { - if m != nil { - return m.ClientId - } - return "" -} - -func (m *OperationMetadata) GetRuntimeMetadata() *any.Any { - if m != nil { - return m.RuntimeMetadata - } - return nil -} - -func (m *OperationMetadata) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -// An event that occurred during an [Operation][google.longrunning.Operation]. -type OperationEvent struct { - // Optional time of when event started. - StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // Optional time of when event finished. An event can have a start time and no - // finish time. If an event has a finish time, there must be a start time. - EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - // Required description of event. - 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 *OperationEvent) Reset() { *m = OperationEvent{} } -func (m *OperationEvent) String() string { return proto.CompactTextString(m) } -func (*OperationEvent) ProtoMessage() {} -func (*OperationEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_ab6c330828363542, []int{1} -} - -func (m *OperationEvent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OperationEvent.Unmarshal(m, b) -} -func (m *OperationEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OperationEvent.Marshal(b, m, deterministic) -} -func (m *OperationEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperationEvent.Merge(m, src) -} -func (m *OperationEvent) XXX_Size() int { - return xxx_messageInfo_OperationEvent.Size(m) -} -func (m *OperationEvent) XXX_DiscardUnknown() { - xxx_messageInfo_OperationEvent.DiscardUnknown(m) -} - -var xxx_messageInfo_OperationEvent proto.InternalMessageInfo - -func (m *OperationEvent) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *OperationEvent) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -func (m *OperationEvent) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func init() { - proto.RegisterType((*OperationMetadata)(nil), "google.genomics.v1.OperationMetadata") - proto.RegisterMapType((map[string]string)(nil), "google.genomics.v1.OperationMetadata.LabelsEntry") - proto.RegisterType((*OperationEvent)(nil), "google.genomics.v1.OperationEvent") -} - -func init() { - proto.RegisterFile("google/genomics/v1/operations.proto", fileDescriptor_ab6c330828363542) -} - -var fileDescriptor_ab6c330828363542 = []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, - 0x27, 0x47, 0x1d, 0x42, 0x62, 0xdd, 0x01, 0x31, 0x69, 0x87, 0x4a, 0x20, 0xa6, 0x88, 0x13, 0x97, - 0xca, 0x4d, 0x1e, 0x51, 0x46, 0x62, 0x07, 0xdb, 0xad, 0xd4, 0xef, 0xc3, 0x17, 0xe0, 0xdb, 0x71, - 0x44, 0xb1, 0x9d, 0x2a, 0x6c, 0x68, 0x45, 0xdc, 0xec, 0xf7, 0xfe, 0x3f, 0xfb, 0x9f, 0xf7, 0x8f, - 0xe1, 0x55, 0x2e, 0x65, 0x5e, 0x62, 0x9c, 0xa3, 0x90, 0x55, 0x91, 0xea, 0x78, 0x3b, 0x8f, 0x65, - 0x8d, 0x8a, 0x9b, 0x42, 0x0a, 0xcd, 0x6a, 0x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, 0x91, - 0x2b, 0x2c, 0x33, 0xfa, 0x0e, 0x4e, 0xd5, 0x46, 0x34, 0xf6, 0x57, 0x95, 0x1f, 0x75, 0x34, 0x7a, - 0xc0, 0xd1, 0x89, 0x57, 0xef, 0x73, 0x59, 0xc2, 0xa0, 0xe4, 0x6b, 0x2c, 0x75, 0x14, 0x58, 0x67, - 0xf3, 0x07, 0x9d, 0xb5, 0x18, 0xfb, 0x60, 0x99, 0x6b, 0x61, 0xd4, 0x2e, 0xf1, 0x07, 0x8c, 0x2f, - 0x20, 0xec, 0x94, 0xe9, 0x29, 0xf4, 0xbf, 0xe1, 0xce, 0x47, 0xdd, 0x2c, 0xe9, 0x19, 0x1c, 0x6f, - 0x79, 0xb9, 0x71, 0xf1, 0x06, 0x89, 0xdb, 0x2c, 0x7a, 0x6f, 0xc9, 0xf4, 0x07, 0x81, 0x47, 0x7f, - 0x7e, 0xfe, 0x9d, 0x50, 0xc9, 0xff, 0x86, 0xda, 0xfb, 0xf7, 0x50, 0x27, 0x10, 0x66, 0xa8, 0x53, - 0x55, 0xd4, 0x8d, 0x0b, 0xfb, 0x1f, 0x05, 0x49, 0xb7, 0x74, 0x75, 0x0b, 0x4f, 0x52, 0x59, 0xfd, - 0x65, 0x42, 0x57, 0x27, 0x7b, 0xf7, 0xfa, 0xa6, 0xb9, 0xe2, 0x86, 0x7c, 0x59, 0xb4, 0x32, 0x59, - 0x72, 0x91, 0x33, 0xa9, 0xf2, 0xe6, 0x95, 0x5a, 0x03, 0xb1, 0x6b, 0xf1, 0xba, 0xd0, 0xdd, 0x97, - 0x7b, 0xd9, 0xae, 0x7f, 0x11, 0xb2, 0x1e, 0x58, 0xe5, 0xeb, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, - 0x6a, 0xf6, 0xa8, 0x9a, 0xe2, 0x03, 0x00, 0x00, -} 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 deleted file mode 100644 index 5c9cef7b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/genomics/v1/position.pb.go +++ /dev/null @@ -1,110 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/genomics/v1/position.proto - -package genomics - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// An abstraction for referring to a genomic position, in relation to some -// already known reference. For now, represents a genomic position as a -// reference name, a base number on that reference (0-based), and a -// determination of forward or reverse strand. -type Position struct { - // The name of the reference in whatever reference set is being used. - ReferenceName string `protobuf:"bytes,1,opt,name=reference_name,json=referenceName,proto3" json:"reference_name,omitempty"` - // The 0-based offset from the start of the forward strand for that reference. - Position int64 `protobuf:"varint,2,opt,name=position,proto3" json:"position,omitempty"` - // Whether this position is on the reverse strand, as opposed to the forward - // strand. - ReverseStrand bool `protobuf:"varint,3,opt,name=reverse_strand,json=reverseStrand,proto3" json:"reverse_strand,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8dcb4638f9813bab, []int{0} -} - -func (m *Position) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Position.Unmarshal(m, b) -} -func (m *Position) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Position.Marshal(b, m, deterministic) -} -func (m *Position) XXX_Merge(src proto.Message) { - xxx_messageInfo_Position.Merge(m, src) -} -func (m *Position) XXX_Size() int { - return xxx_messageInfo_Position.Size(m) -} -func (m *Position) XXX_DiscardUnknown() { - xxx_messageInfo_Position.DiscardUnknown(m) -} - -var xxx_messageInfo_Position proto.InternalMessageInfo - -func (m *Position) GetReferenceName() string { - if m != nil { - return m.ReferenceName - } - return "" -} - -func (m *Position) GetPosition() int64 { - if m != nil { - return m.Position - } - return 0 -} - -func (m *Position) GetReverseStrand() bool { - if m != nil { - return m.ReverseStrand - } - return false -} - -func init() { - proto.RegisterType((*Position)(nil), "google.genomics.v1.Position") -} - -func init() { proto.RegisterFile("google/genomics/v1/position.proto", fileDescriptor_8dcb4638f9813bab) } - -var fileDescriptor_8dcb4638f9813bab = []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, - 0x50, 0xbc, 0xe9, 0xad, 0x3f, 0x40, 0x96, 0x7a, 0xf3, 0x52, 0x9e, 0xeb, 0x33, 0x06, 0xba, 0xef, - 0x85, 0x24, 0xec, 0x6f, 0xf7, 0x28, 0x49, 0x9a, 0x22, 0xf4, 0x96, 0x4c, 0x66, 0x26, 0x1f, 0x23, - 0x1f, 0x0c, 0xb3, 0x39, 0xa2, 0x36, 0x48, 0x3c, 0xdb, 0x29, 0xe8, 0x65, 0xab, 0x1d, 0x07, 0x1b, - 0x2d, 0x93, 0x72, 0x9e, 0x23, 0xb7, 0x6d, 0xb1, 0xa8, 0x6a, 0x51, 0xcb, 0x76, 0x73, 0x7f, 0x8a, - 0x81, 0xb3, 0x1a, 0x88, 0x38, 0x42, 0x0a, 0x84, 0x92, 0x78, 0x8c, 0xb2, 0x19, 0x4f, 0x1d, 0xed, - 0x93, 0xbc, 0xf5, 0xf8, 0x8d, 0x1e, 0x69, 0xc2, 0x03, 0xc1, 0x8c, 0x9d, 0xe8, 0xc5, 0x70, 0xb3, - 0x5f, 0x9f, 0xd5, 0x37, 0x98, 0xb1, 0xdd, 0xc8, 0xa6, 0x7e, 0xdb, 0x5d, 0xf5, 0x62, 0x58, 0xed, - 0xcf, 0xf7, 0x52, 0xb1, 0xa0, 0x0f, 0x78, 0x08, 0xd1, 0x03, 0x7d, 0x75, 0xab, 0x5e, 0x0c, 0x4d, - 0xaa, 0xc8, 0xea, 0x7b, 0x16, 0x77, 0x3f, 0xf2, 0x6e, 0xe2, 0x59, 0x5d, 0xd2, 0xee, 0xd6, 0x95, - 0x66, 0x4c, 0x78, 0xa3, 0xf8, 0x78, 0xa9, 0x26, 0x3e, 0x02, 0x19, 0xc5, 0xde, 0xa4, 0x01, 0x32, - 0xbc, 0x2e, 0x4f, 0xe0, 0x6c, 0xf8, 0x3f, 0xca, 0x6b, 0x3d, 0xff, 0x0a, 0xf1, 0x79, 0x9d, 0x9d, - 0xcf, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x5c, 0xc6, 0x22, 0xea, 0x3d, 0x01, 0x00, 0x00, -} 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 deleted file mode 100644 index 1abd6fe3..00000000 --- a/vendor/google.golang.org/genproto/googleapis/genomics/v1/range.pb.go +++ /dev/null @@ -1,107 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/genomics/v1/range.proto - -package genomics - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A 0-based half-open genomic coordinate range for search requests. -type Range struct { - // The reference sequence name, for example `chr1`, - // `1`, or `chrX`. - ReferenceName string `protobuf:"bytes,1,opt,name=reference_name,json=referenceName,proto3" json:"reference_name,omitempty"` - // The start position of the range on the reference, 0-based inclusive. - Start int64 `protobuf:"varint,2,opt,name=start,proto3" json:"start,omitempty"` - // The end position of the range on the reference, 0-based exclusive. - End int64 `protobuf:"varint,3,opt,name=end,proto3" json:"end,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_296c87a77538e516, []int{0} -} - -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 (m *Range) XXX_Merge(src proto.Message) { - xxx_messageInfo_Range.Merge(m, src) -} -func (m *Range) XXX_Size() int { - return xxx_messageInfo_Range.Size(m) -} -func (m *Range) XXX_DiscardUnknown() { - xxx_messageInfo_Range.DiscardUnknown(m) -} - -var xxx_messageInfo_Range proto.InternalMessageInfo - -func (m *Range) GetReferenceName() string { - if m != nil { - return m.ReferenceName - } - return "" -} - -func (m *Range) GetStart() int64 { - if m != nil { - return m.Start - } - return 0 -} - -func (m *Range) GetEnd() int64 { - if m != nil { - return m.End - } - return 0 -} - -func init() { - proto.RegisterType((*Range)(nil), "google.genomics.v1.Range") -} - -func init() { proto.RegisterFile("google/genomics/v1/range.proto", fileDescriptor_296c87a77538e516) } - -var fileDescriptor_296c87a77538e516 = []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, - 0x4d, 0x6f, 0xfd, 0x01, 0x52, 0x7a, 0xf0, 0xe0, 0x45, 0xc6, 0x3a, 0x86, 0x40, 0x33, 0x53, 0x92, - 0xd0, 0xdf, 0xee, 0x51, 0x92, 0x58, 0x11, 0xf6, 0x36, 0x79, 0x1f, 0x79, 0xef, 0xc9, 0x3b, 0xcb, - 0x6c, 0x67, 0x34, 0x16, 0x89, 0xbd, 0x9b, 0xa2, 0x59, 0x3b, 0x13, 0x80, 0x2c, 0xea, 0x25, 0x70, - 0x62, 0xa5, 0x2a, 0xaf, 0x37, 0x5e, 0xaf, 0xdd, 0xcd, 0xed, 0xaf, 0x07, 0x16, 0x67, 0x80, 0x88, - 0x13, 0x24, 0xc7, 0x14, 0xab, 0xe3, 0xfe, 0x55, 0xee, 0xc6, 0xfc, 0x81, 0x7a, 0x90, 0x17, 0x01, - 0xbf, 0x30, 0x20, 0x4d, 0xf8, 0x4e, 0xe0, 0xb1, 0x15, 0x7b, 0x71, 0x38, 0x1b, 0xcf, 0xff, 0xd0, - 0x17, 0xf0, 0xa8, 0xae, 0xe4, 0x2e, 0x26, 0x08, 0xa9, 0x3d, 0xd9, 0x8b, 0x43, 0x33, 0xd6, 0x87, - 0xba, 0x94, 0x0d, 0xd2, 0x67, 0xdb, 0x14, 0x2c, 0x9f, 0x3d, 0xca, 0xeb, 0x89, 0xbd, 0x3e, 0xee, - 0xd3, 0xcb, 0x92, 0x37, 0xe4, 0xf4, 0x41, 0xbc, 0x3d, 0x6d, 0x0a, 0x9e, 0x81, 0xac, 0xe6, 0x60, - 0xf3, 0xb8, 0xd2, 0xcd, 0x54, 0x0a, 0x16, 0x17, 0xff, 0x0f, 0x7e, 0xde, 0xee, 0x6f, 0x21, 0x3e, - 0x4e, 0x8b, 0xf2, 0xf1, 0x27, 0x00, 0x00, 0xff, 0xff, 0xb7, 0x3e, 0xf1, 0x62, 0x19, 0x01, 0x00, - 0x00, -} 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 deleted file mode 100644 index 9a699b27..00000000 --- a/vendor/google.golang.org/genproto/googleapis/genomics/v1/readalignment.pb.go +++ /dev/null @@ -1,451 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/genomics/v1/readalignment.proto - -package genomics - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _struct "github.com/golang/protobuf/ptypes/struct" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A linear alignment can be represented by one CIGAR string. Describes the -// mapped position and local alignment of the read to the reference. -type LinearAlignment struct { - // The position of this alignment. - Position *Position `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` - // The mapping quality of this alignment. Represents how likely - // the read maps to this position as opposed to other locations. - // - // Specifically, this is -10 log10 Pr(mapping position is wrong), rounded to - // the nearest integer. - MappingQuality int32 `protobuf:"varint,2,opt,name=mapping_quality,json=mappingQuality,proto3" json:"mapping_quality,omitempty"` - // Represents the local alignment of this sequence (alignment matches, indels, - // etc) against the reference. - Cigar []*CigarUnit `protobuf:"bytes,3,rep,name=cigar,proto3" json:"cigar,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_5882c5c7543d07e3, []int{0} -} - -func (m *LinearAlignment) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LinearAlignment.Unmarshal(m, b) -} -func (m *LinearAlignment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LinearAlignment.Marshal(b, m, deterministic) -} -func (m *LinearAlignment) XXX_Merge(src proto.Message) { - xxx_messageInfo_LinearAlignment.Merge(m, src) -} -func (m *LinearAlignment) XXX_Size() int { - return xxx_messageInfo_LinearAlignment.Size(m) -} -func (m *LinearAlignment) XXX_DiscardUnknown() { - xxx_messageInfo_LinearAlignment.DiscardUnknown(m) -} - -var xxx_messageInfo_LinearAlignment proto.InternalMessageInfo - -func (m *LinearAlignment) GetPosition() *Position { - if m != nil { - return m.Position - } - return nil -} - -func (m *LinearAlignment) GetMappingQuality() int32 { - if m != nil { - return m.MappingQuality - } - return 0 -} - -func (m *LinearAlignment) GetCigar() []*CigarUnit { - if m != nil { - return m.Cigar - } - return nil -} - -// A read alignment describes a linear alignment of a string of DNA to a -// [reference sequence][google.genomics.v1.Reference], in addition to metadata -// about the fragment (the molecule of DNA sequenced) and the read (the bases -// which were read by the sequencer). A read is equivalent to a line in a SAM -// file. A read belongs to exactly one read group and exactly one -// [read group set][google.genomics.v1.ReadGroupSet]. -// -// For more genomics resource definitions, see [Fundamentals of Google -// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) -// -// ### Reverse-stranded reads -// -// Mapped reads (reads having a non-null `alignment`) can be aligned to either -// the forward or the reverse strand of their associated reference. Strandedness -// of a mapped read is encoded by `alignment.position.reverseStrand`. -// -// If we consider the reference to be a forward-stranded coordinate space of -// `[0, reference.length)` with `0` as the left-most position and -// `reference.length` as the right-most position, reads are always aligned left -// to right. That is, `alignment.position.position` always refers to the -// left-most reference coordinate and `alignment.cigar` describes the alignment -// of this read to the reference from left to right. All per-base fields such as -// `alignedSequence` and `alignedQuality` share this same left-to-right -// orientation; this is true of reads which are aligned to either strand. For -// reverse-stranded reads, this means that `alignedSequence` is the reverse -// complement of the bases that were originally reported by the sequencing -// machine. -// -// ### Generating a reference-aligned sequence string -// -// When interacting with mapped reads, it's often useful to produce a string -// representing the local alignment of the read to reference. The following -// pseudocode demonstrates one way of doing this: -// -// out = "" -// offset = 0 -// for c in read.alignment.cigar { -// switch c.operation { -// case "ALIGNMENT_MATCH", "SEQUENCE_MATCH", "SEQUENCE_MISMATCH": -// out += read.alignedSequence[offset:offset+c.operationLength] -// offset += c.operationLength -// break -// case "CLIP_SOFT", "INSERT": -// offset += c.operationLength -// break -// case "PAD": -// out += repeat("*", c.operationLength) -// break -// case "DELETE": -// out += repeat("-", c.operationLength) -// break -// case "SKIP": -// out += repeat(" ", c.operationLength) -// break -// case "CLIP_HARD": -// break -// } -// } -// return out -// -// ### Converting to SAM's CIGAR string -// -// The following pseudocode generates a SAM CIGAR string from the -// `cigar` field. Note that this is a lossy conversion -// (`cigar.referenceSequence` is lost). -// -// cigarMap = { -// "ALIGNMENT_MATCH": "M", -// "INSERT": "I", -// "DELETE": "D", -// "SKIP": "N", -// "CLIP_SOFT": "S", -// "CLIP_HARD": "H", -// "PAD": "P", -// "SEQUENCE_MATCH": "=", -// "SEQUENCE_MISMATCH": "X", -// } -// cigarStr = "" -// for c in read.alignment.cigar { -// cigarStr += c.operationLength + cigarMap[c.operation] -// } -// return cigarStr -type Read struct { - // The server-generated read ID, unique across all reads. This is different - // from the `fragmentName`. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // The ID of the read group this read belongs to. A read belongs to exactly - // one read group. This is a server-generated ID which is distinct from SAM's - // RG tag (for that value, see - // [ReadGroup.name][google.genomics.v1.ReadGroup.name]). - ReadGroupId string `protobuf:"bytes,2,opt,name=read_group_id,json=readGroupId,proto3" json:"read_group_id,omitempty"` - // The ID of the read group set this read belongs to. A read belongs to - // exactly one read group set. - ReadGroupSetId string `protobuf:"bytes,3,opt,name=read_group_set_id,json=readGroupSetId,proto3" json:"read_group_set_id,omitempty"` - // The fragment name. Equivalent to QNAME (query template name) in SAM. - FragmentName string `protobuf:"bytes,4,opt,name=fragment_name,json=fragmentName,proto3" json:"fragment_name,omitempty"` - // The orientation and the distance between reads from the fragment are - // consistent with the sequencing protocol (SAM flag 0x2). - ProperPlacement bool `protobuf:"varint,5,opt,name=proper_placement,json=properPlacement,proto3" json:"proper_placement,omitempty"` - // The fragment is a PCR or optical duplicate (SAM flag 0x400). - DuplicateFragment bool `protobuf:"varint,6,opt,name=duplicate_fragment,json=duplicateFragment,proto3" json:"duplicate_fragment,omitempty"` - // The observed length of the fragment, equivalent to TLEN in SAM. - FragmentLength int32 `protobuf:"varint,7,opt,name=fragment_length,json=fragmentLength,proto3" json:"fragment_length,omitempty"` - // The read number in sequencing. 0-based and less than numberReads. This - // field replaces SAM flag 0x40 and 0x80. - ReadNumber int32 `protobuf:"varint,8,opt,name=read_number,json=readNumber,proto3" json:"read_number,omitempty"` - // The number of reads in the fragment (extension to SAM flag 0x1). - NumberReads int32 `protobuf:"varint,9,opt,name=number_reads,json=numberReads,proto3" json:"number_reads,omitempty"` - // Whether this read did not pass filters, such as platform or vendor quality - // controls (SAM flag 0x200). - FailedVendorQualityChecks bool `protobuf:"varint,10,opt,name=failed_vendor_quality_checks,json=failedVendorQualityChecks,proto3" json:"failed_vendor_quality_checks,omitempty"` - // The linear alignment for this alignment record. This field is null for - // unmapped reads. - Alignment *LinearAlignment `protobuf:"bytes,11,opt,name=alignment,proto3" json:"alignment,omitempty"` - // Whether this alignment is secondary. Equivalent to SAM flag 0x100. - // A secondary alignment represents an alternative to the primary alignment - // for this read. Aligners may return secondary alignments if a read can map - // ambiguously to multiple coordinates in the genome. By convention, each read - // has one and only one alignment where both `secondaryAlignment` - // and `supplementaryAlignment` are false. - SecondaryAlignment bool `protobuf:"varint,12,opt,name=secondary_alignment,json=secondaryAlignment,proto3" json:"secondary_alignment,omitempty"` - // Whether this alignment is supplementary. Equivalent to SAM flag 0x800. - // Supplementary alignments are used in the representation of a chimeric - // alignment. In a chimeric alignment, a read is split into multiple - // linear alignments that map to different reference contigs. The first - // linear alignment in the read will be designated as the representative - // alignment; the remaining linear alignments will be designated as - // supplementary alignments. These alignments may have different mapping - // quality scores. In each linear alignment in a chimeric alignment, the read - // will be hard clipped. The `alignedSequence` and - // `alignedQuality` fields in the alignment record will only - // represent the bases for its respective linear alignment. - SupplementaryAlignment bool `protobuf:"varint,13,opt,name=supplementary_alignment,json=supplementaryAlignment,proto3" json:"supplementary_alignment,omitempty"` - // The bases of the read sequence contained in this alignment record, - // **without CIGAR operations applied** (equivalent to SEQ in SAM). - // `alignedSequence` and `alignedQuality` may be - // shorter than the full read sequence and quality. This will occur if the - // alignment is part of a chimeric alignment, or if the read was trimmed. When - // this occurs, the CIGAR for this read will begin/end with a hard clip - // operator that will indicate the length of the excised sequence. - AlignedSequence string `protobuf:"bytes,14,opt,name=aligned_sequence,json=alignedSequence,proto3" json:"aligned_sequence,omitempty"` - // The quality of the read sequence contained in this alignment record - // (equivalent to QUAL in SAM). - // `alignedSequence` and `alignedQuality` may be shorter than the full read - // sequence and quality. This will occur if the alignment is part of a - // chimeric alignment, or if the read was trimmed. When this occurs, the CIGAR - // for this read will begin/end with a hard clip operator that will indicate - // the length of the excised sequence. - AlignedQuality []int32 `protobuf:"varint,15,rep,packed,name=aligned_quality,json=alignedQuality,proto3" json:"aligned_quality,omitempty"` - // The mapping of the primary alignment of the - // `(readNumber+1)%numberReads` read in the fragment. It replaces - // mate position and mate strand in SAM. - NextMatePosition *Position `protobuf:"bytes,16,opt,name=next_mate_position,json=nextMatePosition,proto3" json:"next_mate_position,omitempty"` - // A map of additional read alignment information. This must be of the form - // map (string key mapping to a list of string values). - Info map[string]*_struct.ListValue `protobuf:"bytes,17,rep,name=info,proto3" json:"info,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 *Read) Reset() { *m = Read{} } -func (m *Read) String() string { return proto.CompactTextString(m) } -func (*Read) ProtoMessage() {} -func (*Read) Descriptor() ([]byte, []int) { - return fileDescriptor_5882c5c7543d07e3, []int{1} -} - -func (m *Read) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Read.Unmarshal(m, b) -} -func (m *Read) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Read.Marshal(b, m, deterministic) -} -func (m *Read) XXX_Merge(src proto.Message) { - xxx_messageInfo_Read.Merge(m, src) -} -func (m *Read) XXX_Size() int { - return xxx_messageInfo_Read.Size(m) -} -func (m *Read) XXX_DiscardUnknown() { - xxx_messageInfo_Read.DiscardUnknown(m) -} - -var xxx_messageInfo_Read proto.InternalMessageInfo - -func (m *Read) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *Read) GetReadGroupId() string { - if m != nil { - return m.ReadGroupId - } - return "" -} - -func (m *Read) GetReadGroupSetId() string { - if m != nil { - return m.ReadGroupSetId - } - return "" -} - -func (m *Read) GetFragmentName() string { - if m != nil { - return m.FragmentName - } - return "" -} - -func (m *Read) GetProperPlacement() bool { - if m != nil { - return m.ProperPlacement - } - return false -} - -func (m *Read) GetDuplicateFragment() bool { - if m != nil { - return m.DuplicateFragment - } - return false -} - -func (m *Read) GetFragmentLength() int32 { - if m != nil { - return m.FragmentLength - } - return 0 -} - -func (m *Read) GetReadNumber() int32 { - if m != nil { - return m.ReadNumber - } - return 0 -} - -func (m *Read) GetNumberReads() int32 { - if m != nil { - return m.NumberReads - } - return 0 -} - -func (m *Read) GetFailedVendorQualityChecks() bool { - if m != nil { - return m.FailedVendorQualityChecks - } - return false -} - -func (m *Read) GetAlignment() *LinearAlignment { - if m != nil { - return m.Alignment - } - return nil -} - -func (m *Read) GetSecondaryAlignment() bool { - if m != nil { - return m.SecondaryAlignment - } - return false -} - -func (m *Read) GetSupplementaryAlignment() bool { - if m != nil { - return m.SupplementaryAlignment - } - return false -} - -func (m *Read) GetAlignedSequence() string { - if m != nil { - return m.AlignedSequence - } - return "" -} - -func (m *Read) GetAlignedQuality() []int32 { - if m != nil { - return m.AlignedQuality - } - return nil -} - -func (m *Read) GetNextMatePosition() *Position { - if m != nil { - return m.NextMatePosition - } - return nil -} - -func (m *Read) GetInfo() map[string]*_struct.ListValue { - if m != nil { - return m.Info - } - return nil -} - -func init() { - proto.RegisterType((*LinearAlignment)(nil), "google.genomics.v1.LinearAlignment") - proto.RegisterType((*Read)(nil), "google.genomics.v1.Read") - proto.RegisterMapType((map[string]*_struct.ListValue)(nil), "google.genomics.v1.Read.InfoEntry") -} - -func init() { - proto.RegisterFile("google/genomics/v1/readalignment.proto", fileDescriptor_5882c5c7543d07e3) -} - -var fileDescriptor_5882c5c7543d07e3 = []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, - 0x48, 0x6d, 0x58, 0xd4, 0x2e, 0x20, 0xb5, 0x88, 0x2e, 0x2a, 0x40, 0x6d, 0x45, 0x45, 0x51, 0x6a, - 0x54, 0x16, 0xdd, 0x58, 0x83, 0x7d, 0x62, 0x46, 0xd8, 0x33, 0xc6, 0x1e, 0x47, 0xcd, 0x23, 0xf5, - 0xdd, 0xfa, 0x00, 0x5d, 0x56, 0x33, 0xf6, 0x38, 0xd0, 0x66, 0xd1, 0x5d, 0xf2, 0x3f, 0xbf, 0xf3, - 0xe1, 0xf3, 0x31, 0xf0, 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x51, 0x77, 0x75, 0xa2, 0xa2, 0x4c, 0xac, 0x2f, 0xc7, 0x86, - 0x14, 0x31, 0xe5, 0x91, 0x23, 0xb2, 0x48, 0x3d, 0x4b, 0x3a, 0x87, 0x5b, 0x9a, 0x68, 0xca, 0xf2, - 0x87, 0x4f, 0xd5, 0x6b, 0xf3, 0xfb, 0x87, 0x65, 0xdd, 0xac, 0x6a, 0xf2, 0xf0, 0x67, 0x00, 0x00, - 0x00, 0xff, 0xff, 0xd0, 0xe1, 0xf6, 0x57, 0x4d, 0x05, 0x00, 0x00, -} 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 deleted file mode 100644 index 5d12e0bf..00000000 --- a/vendor/google.golang.org/genproto/googleapis/genomics/v1/readgroup.pb.go +++ /dev/null @@ -1,354 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/genomics/v1/readgroup.proto - -package genomics - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _struct "github.com/golang/protobuf/ptypes/struct" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A read group is all the data that's processed the same way by the sequencer. -type ReadGroup struct { - // The server-generated read group ID, unique for all read groups. - // Note: This is different than the @RG ID field in the SAM spec. For that - // value, see [name][google.genomics.v1.ReadGroup.name]. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // The dataset to which this read group belongs. - DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"` - // The read group name. This corresponds to the @RG ID field in the SAM spec. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - // A free-form text description of this read group. - Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` - // A client-supplied sample identifier for the reads in this read group. - SampleId string `protobuf:"bytes,5,opt,name=sample_id,json=sampleId,proto3" json:"sample_id,omitempty"` - // The experiment used to generate this read group. - Experiment *ReadGroup_Experiment `protobuf:"bytes,6,opt,name=experiment,proto3" json:"experiment,omitempty"` - // The predicted insert size of this read group. The insert size is the length - // the sequenced DNA fragment from end-to-end, not including the adapters. - PredictedInsertSize int32 `protobuf:"varint,7,opt,name=predicted_insert_size,json=predictedInsertSize,proto3" json:"predicted_insert_size,omitempty"` - // The programs used to generate this read group. Programs are always - // identical for all read groups within a read group set. For this reason, - // only the first read group in a returned set will have this field - // populated. - Programs []*ReadGroup_Program `protobuf:"bytes,10,rep,name=programs,proto3" json:"programs,omitempty"` - // The reference set the reads in this read group are aligned to. - ReferenceSetId string `protobuf:"bytes,11,opt,name=reference_set_id,json=referenceSetId,proto3" json:"reference_set_id,omitempty"` - // A map of additional read group information. This must be of the form - // map (string key mapping to a list of string values). - Info map[string]*_struct.ListValue `protobuf:"bytes,12,rep,name=info,proto3" json:"info,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 *ReadGroup) Reset() { *m = ReadGroup{} } -func (m *ReadGroup) String() string { return proto.CompactTextString(m) } -func (*ReadGroup) ProtoMessage() {} -func (*ReadGroup) Descriptor() ([]byte, []int) { - return fileDescriptor_78f10e430d3182d6, []int{0} -} - -func (m *ReadGroup) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReadGroup.Unmarshal(m, b) -} -func (m *ReadGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReadGroup.Marshal(b, m, deterministic) -} -func (m *ReadGroup) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReadGroup.Merge(m, src) -} -func (m *ReadGroup) XXX_Size() int { - return xxx_messageInfo_ReadGroup.Size(m) -} -func (m *ReadGroup) XXX_DiscardUnknown() { - xxx_messageInfo_ReadGroup.DiscardUnknown(m) -} - -var xxx_messageInfo_ReadGroup proto.InternalMessageInfo - -func (m *ReadGroup) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *ReadGroup) GetDatasetId() string { - if m != nil { - return m.DatasetId - } - return "" -} - -func (m *ReadGroup) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ReadGroup) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *ReadGroup) GetSampleId() string { - if m != nil { - return m.SampleId - } - return "" -} - -func (m *ReadGroup) GetExperiment() *ReadGroup_Experiment { - if m != nil { - return m.Experiment - } - return nil -} - -func (m *ReadGroup) GetPredictedInsertSize() int32 { - if m != nil { - return m.PredictedInsertSize - } - return 0 -} - -func (m *ReadGroup) GetPrograms() []*ReadGroup_Program { - if m != nil { - return m.Programs - } - return nil -} - -func (m *ReadGroup) GetReferenceSetId() string { - if m != nil { - return m.ReferenceSetId - } - return "" -} - -func (m *ReadGroup) GetInfo() map[string]*_struct.ListValue { - if m != nil { - return m.Info - } - return nil -} - -type ReadGroup_Experiment struct { - // A client-supplied library identifier; a library is a collection of DNA - // fragments which have been prepared for sequencing from a sample. This - // field is important for quality control as error or bias can be introduced - // during sample preparation. - LibraryId string `protobuf:"bytes,1,opt,name=library_id,json=libraryId,proto3" json:"library_id,omitempty"` - // The platform unit used as part of this experiment, for example - // flowcell-barcode.lane for Illumina or slide for SOLiD. Corresponds to the - // @RG PU field in the SAM spec. - PlatformUnit string `protobuf:"bytes,2,opt,name=platform_unit,json=platformUnit,proto3" json:"platform_unit,omitempty"` - // The sequencing center used as part of this experiment. - SequencingCenter string `protobuf:"bytes,3,opt,name=sequencing_center,json=sequencingCenter,proto3" json:"sequencing_center,omitempty"` - // The instrument model used as part of this experiment. This maps to - // sequencing technology in the SAM spec. - InstrumentModel string `protobuf:"bytes,4,opt,name=instrument_model,json=instrumentModel,proto3" json:"instrument_model,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_78f10e430d3182d6, []int{0, 0} -} - -func (m *ReadGroup_Experiment) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReadGroup_Experiment.Unmarshal(m, b) -} -func (m *ReadGroup_Experiment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReadGroup_Experiment.Marshal(b, m, deterministic) -} -func (m *ReadGroup_Experiment) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReadGroup_Experiment.Merge(m, src) -} -func (m *ReadGroup_Experiment) XXX_Size() int { - return xxx_messageInfo_ReadGroup_Experiment.Size(m) -} -func (m *ReadGroup_Experiment) XXX_DiscardUnknown() { - xxx_messageInfo_ReadGroup_Experiment.DiscardUnknown(m) -} - -var xxx_messageInfo_ReadGroup_Experiment proto.InternalMessageInfo - -func (m *ReadGroup_Experiment) GetLibraryId() string { - if m != nil { - return m.LibraryId - } - return "" -} - -func (m *ReadGroup_Experiment) GetPlatformUnit() string { - if m != nil { - return m.PlatformUnit - } - return "" -} - -func (m *ReadGroup_Experiment) GetSequencingCenter() string { - if m != nil { - return m.SequencingCenter - } - return "" -} - -func (m *ReadGroup_Experiment) GetInstrumentModel() string { - if m != nil { - return m.InstrumentModel - } - return "" -} - -type ReadGroup_Program struct { - // The command line used to run this program. - CommandLine string `protobuf:"bytes,1,opt,name=command_line,json=commandLine,proto3" json:"command_line,omitempty"` - // The user specified locally unique ID of the program. Used along with - // `prevProgramId` to define an ordering between programs. - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // The display name of the program. This is typically the colloquial name of - // the tool used, for example 'bwa' or 'picard'. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - // The ID of the program run before this one. - PrevProgramId string `protobuf:"bytes,4,opt,name=prev_program_id,json=prevProgramId,proto3" json:"prev_program_id,omitempty"` - // The version of the program run. - Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_78f10e430d3182d6, []int{0, 1} -} - -func (m *ReadGroup_Program) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReadGroup_Program.Unmarshal(m, b) -} -func (m *ReadGroup_Program) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReadGroup_Program.Marshal(b, m, deterministic) -} -func (m *ReadGroup_Program) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReadGroup_Program.Merge(m, src) -} -func (m *ReadGroup_Program) XXX_Size() int { - return xxx_messageInfo_ReadGroup_Program.Size(m) -} -func (m *ReadGroup_Program) XXX_DiscardUnknown() { - xxx_messageInfo_ReadGroup_Program.DiscardUnknown(m) -} - -var xxx_messageInfo_ReadGroup_Program proto.InternalMessageInfo - -func (m *ReadGroup_Program) GetCommandLine() string { - if m != nil { - return m.CommandLine - } - return "" -} - -func (m *ReadGroup_Program) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *ReadGroup_Program) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ReadGroup_Program) GetPrevProgramId() string { - if m != nil { - return m.PrevProgramId - } - return "" -} - -func (m *ReadGroup_Program) GetVersion() string { - if m != nil { - return m.Version - } - return "" -} - -func init() { - proto.RegisterType((*ReadGroup)(nil), "google.genomics.v1.ReadGroup") - proto.RegisterMapType((map[string]*_struct.ListValue)(nil), "google.genomics.v1.ReadGroup.InfoEntry") - proto.RegisterType((*ReadGroup_Experiment)(nil), "google.genomics.v1.ReadGroup.Experiment") - proto.RegisterType((*ReadGroup_Program)(nil), "google.genomics.v1.ReadGroup.Program") -} - -func init() { proto.RegisterFile("google/genomics/v1/readgroup.proto", fileDescriptor_78f10e430d3182d6) } - -var fileDescriptor_78f10e430d3182d6 = []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, - 0x52, 0x42, 0x87, 0x0d, 0x6a, 0x57, 0x14, 0x55, 0x10, 0xa9, 0x48, 0x55, 0x2a, 0x58, 0xb0, 0x89, - 0xdc, 0xf8, 0x4e, 0x64, 0x91, 0xd8, 0xc1, 0x76, 0x46, 0xb4, 0x9f, 0xc1, 0x57, 0xf0, 0x2d, 0x7c, - 0x11, 0x4b, 0x64, 0xc7, 0x49, 0x47, 0xa2, 0xea, 0xce, 0x39, 0xe7, 0x5c, 0xdf, 0xc7, 0xb9, 0x0e, - 0x1c, 0x14, 0x52, 0x16, 0x25, 0xc6, 0x05, 0x0a, 0x59, 0xf1, 0x5c, 0xc7, 0xcb, 0xc3, 0x58, 0x21, - 0x65, 0x85, 0x92, 0x4d, 0x1d, 0xd5, 0x4a, 0x1a, 0x49, 0x48, 0xab, 0x89, 0x3a, 0x4d, 0xb4, 0x3c, - 0x9c, 0x3c, 0xf6, 0x71, 0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, 0x2e, 0x60, 0xd8, 0x8f, 0x94, 0x8c, 0x61, 0xed, 0x3b, 0x5e, 0xf9, 0x62, 0xec, 0x91, 0xbc, - 0x81, 0x8d, 0x25, 0x2d, 0x1b, 0x74, 0x75, 0x8c, 0xe6, 0x93, 0xce, 0x9c, 0xee, 0x11, 0x45, 0x67, - 0x5c, 0x9b, 0xaf, 0x56, 0x91, 0xb6, 0xc2, 0xa3, 0xc1, 0xbb, 0xe0, 0x84, 0xc3, 0xc3, 0x5c, 0x56, - 0xb7, 0x18, 0x79, 0xb2, 0xd7, 0x3b, 0x79, 0x6e, 0x6f, 0x38, 0x0f, 0xbe, 0x1d, 0x75, 0x2a, 0x59, - 0x52, 0x51, 0x44, 0x52, 0x15, 0xf6, 0xdd, 0xbb, 0xfb, 0xe3, 0x96, 0xa2, 0x35, 0xd7, 0xab, 0xff, - 0x82, 0xe3, 0xee, 0xfc, 0x37, 0x08, 0x2e, 0x37, 0x9d, 0xf2, 0xed, 0xbf, 0x00, 0x00, 0x00, 0xff, - 0xff, 0x37, 0xed, 0xaa, 0xaa, 0x34, 0x04, 0x00, 0x00, -} 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 deleted file mode 100644 index 11515e3d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/genomics/v1/readgroupset.pb.go +++ /dev/null @@ -1,167 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/genomics/v1/readgroupset.proto - -package genomics - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _struct "github.com/golang/protobuf/ptypes/struct" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A read group set is a logical collection of read groups, which are -// collections of reads produced by a sequencer. A read group set typically -// models reads corresponding to one sample, sequenced one way, and aligned one -// way. -// -// * A read group set belongs to one dataset. -// * A read group belongs to one read group set. -// * A read belongs to one read group. -// -// For more genomics resource definitions, see [Fundamentals of Google -// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) -type ReadGroupSet struct { - // The server-generated read group set ID, unique for all read group sets. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // The dataset to which this read group set belongs. - DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"` - // The reference set to which the reads in this read group set are aligned. - ReferenceSetId string `protobuf:"bytes,3,opt,name=reference_set_id,json=referenceSetId,proto3" json:"reference_set_id,omitempty"` - // The read group set name. By default this will be initialized to the sample - // name of the sequenced data contained in this set. - Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` - // The filename of the original source file for this read group set, if any. - Filename string `protobuf:"bytes,5,opt,name=filename,proto3" json:"filename,omitempty"` - // The read groups in this set. There are typically 1-10 read groups in a read - // group set. - ReadGroups []*ReadGroup `protobuf:"bytes,6,rep,name=read_groups,json=readGroups,proto3" json:"read_groups,omitempty"` - // A map of additional read group set information. - Info map[string]*_struct.ListValue `protobuf:"bytes,7,rep,name=info,proto3" json:"info,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 *ReadGroupSet) Reset() { *m = ReadGroupSet{} } -func (m *ReadGroupSet) String() string { return proto.CompactTextString(m) } -func (*ReadGroupSet) ProtoMessage() {} -func (*ReadGroupSet) Descriptor() ([]byte, []int) { - return fileDescriptor_976a96d3fd28f245, []int{0} -} - -func (m *ReadGroupSet) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReadGroupSet.Unmarshal(m, b) -} -func (m *ReadGroupSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReadGroupSet.Marshal(b, m, deterministic) -} -func (m *ReadGroupSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReadGroupSet.Merge(m, src) -} -func (m *ReadGroupSet) XXX_Size() int { - return xxx_messageInfo_ReadGroupSet.Size(m) -} -func (m *ReadGroupSet) XXX_DiscardUnknown() { - xxx_messageInfo_ReadGroupSet.DiscardUnknown(m) -} - -var xxx_messageInfo_ReadGroupSet proto.InternalMessageInfo - -func (m *ReadGroupSet) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *ReadGroupSet) GetDatasetId() string { - if m != nil { - return m.DatasetId - } - return "" -} - -func (m *ReadGroupSet) GetReferenceSetId() string { - if m != nil { - return m.ReferenceSetId - } - return "" -} - -func (m *ReadGroupSet) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ReadGroupSet) GetFilename() string { - if m != nil { - return m.Filename - } - return "" -} - -func (m *ReadGroupSet) GetReadGroups() []*ReadGroup { - if m != nil { - return m.ReadGroups - } - return nil -} - -func (m *ReadGroupSet) GetInfo() map[string]*_struct.ListValue { - if m != nil { - return m.Info - } - return nil -} - -func init() { - proto.RegisterType((*ReadGroupSet)(nil), "google.genomics.v1.ReadGroupSet") - proto.RegisterMapType((map[string]*_struct.ListValue)(nil), "google.genomics.v1.ReadGroupSet.InfoEntry") -} - -func init() { - proto.RegisterFile("google/genomics/v1/readgroupset.proto", fileDescriptor_976a96d3fd28f245) -} - -var fileDescriptor_976a96d3fd28f245 = []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, 0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- 0xc4, 0x87, 0xcf, 0x29, 0xcf, 0xd1, 0xea, 0x03, 0xab, 0x77, 0x67, 0xb2, 0x85, 0x71, 0xf5, 0x95, - 0x63, 0x1d, 0x92, 0x37, 0x9c, 0xf7, 0x96, 0xe3, 0xf5, 0x8c, 0xbe, 0xcf, 0x88, 0x76, 0xf3, 0x87, - 0xa0, 0xda, 0x52, 0x93, 0x2d, 0xf4, 0xb9, 0x48, 0xa5, 0xf7, 0xc9, 0x1a, 0x7f, 0xde, 0x35, 0x46, - 0x68, 0xe8, 0x5e, 0xa4, 0xf2, 0x9f, 0x30, 0xea, 0x1a, 0x5a, 0x9f, 0x1f, 0xc1, 0xa8, 0x93, 0xc8, - 0x14, 0x7a, 0xcf, 0x78, 0x6d, 0x62, 0xa9, 0x4a, 0xf2, 0x0b, 0x06, 0x17, 0x96, 0x97, 0x68, 0x23, - 0x19, 0xaf, 0xfd, 0xb6, 0x7f, 0x1b, 0x33, 0x7d, 0xe0, 0xda, 0x3c, 0x56, 0x44, 0x58, 0x83, 0x1b, - 0xf7, 0x8f, 0xb3, 0xcb, 0xe1, 0x5b, 0x2c, 0xcf, 0x1f, 0xcc, 0xb2, 0xfb, 0x7a, 0x3b, 0xcc, 0xa1, - 0x6a, 0x72, 0x70, 0x9e, 0x36, 0x2d, 0x28, 0x73, 0x26, 0x32, 0x2a, 0x55, 0x56, 0xad, 0xda, 0x3e, - 0x11, 0xd4, 0x57, 0xac, 0xe0, 0xfa, 0x76, 0xfd, 0x7f, 0xdb, 0xfa, 0xd5, 0x71, 0x4e, 0x43, 0x4b, - 0xfe, 0x7e, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x1f, 0xa9, 0x2f, 0xa5, 0x80, 0x02, 0x00, 0x00, -} 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 deleted file mode 100644 index 6b6661ba..00000000 --- a/vendor/google.golang.org/genproto/googleapis/genomics/v1/reads.pb.go +++ /dev/null @@ -1,1806 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/genomics/v1/reads.proto - -package genomics - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -type ImportReadGroupSetsRequest_PartitionStrategy int32 - -const ( - ImportReadGroupSetsRequest_PARTITION_STRATEGY_UNSPECIFIED ImportReadGroupSetsRequest_PartitionStrategy = 0 - // In most cases, this strategy yields one read group set per file. This is - // the default behavior. - // - // Allocate one read group set per file per sample. For BAM files, read - // groups are considered to share a sample if they have identical sample - // names. Furthermore, all reads for each file which do not belong to a read - // group, if any, will be grouped into a single read group set per-file. - ImportReadGroupSetsRequest_PER_FILE_PER_SAMPLE ImportReadGroupSetsRequest_PartitionStrategy = 1 - // Includes all read groups in all imported files into a single read group - // set. Requires that the headers for all imported files are equivalent. All - // reads which do not belong to a read group, if any, will be grouped into a - // separate read group set. - ImportReadGroupSetsRequest_MERGE_ALL ImportReadGroupSetsRequest_PartitionStrategy = 2 -) - -var ImportReadGroupSetsRequest_PartitionStrategy_name = map[int32]string{ - 0: "PARTITION_STRATEGY_UNSPECIFIED", - 1: "PER_FILE_PER_SAMPLE", - 2: "MERGE_ALL", -} - -var ImportReadGroupSetsRequest_PartitionStrategy_value = map[string]int32{ - "PARTITION_STRATEGY_UNSPECIFIED": 0, - "PER_FILE_PER_SAMPLE": 1, - "MERGE_ALL": 2, -} - -func (x ImportReadGroupSetsRequest_PartitionStrategy) String() string { - return proto.EnumName(ImportReadGroupSetsRequest_PartitionStrategy_name, int32(x)) -} - -func (ImportReadGroupSetsRequest_PartitionStrategy) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6b02d5d0c80a106c, []int{2, 0} -} - -// The read group set search request. -type SearchReadGroupSetsRequest struct { - // Restricts this query to read group sets within the given datasets. At least - // one ID must be provided. - DatasetIds []string `protobuf:"bytes,1,rep,name=dataset_ids,json=datasetIds,proto3" json:"dataset_ids,omitempty"` - // Only return read group sets for which a substring of the name matches this - // string. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - // The continuation token, which is used to page through large result sets. - // To get the next page of results, set this parameter to the value of - // `nextPageToken` from the previous response. - 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 page. If unspecified, - // defaults to 256. The maximum value is 1024. - 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 *SearchReadGroupSetsRequest) Reset() { *m = SearchReadGroupSetsRequest{} } -func (m *SearchReadGroupSetsRequest) String() string { return proto.CompactTextString(m) } -func (*SearchReadGroupSetsRequest) ProtoMessage() {} -func (*SearchReadGroupSetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6b02d5d0c80a106c, []int{0} -} - -func (m *SearchReadGroupSetsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchReadGroupSetsRequest.Unmarshal(m, b) -} -func (m *SearchReadGroupSetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchReadGroupSetsRequest.Marshal(b, m, deterministic) -} -func (m *SearchReadGroupSetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchReadGroupSetsRequest.Merge(m, src) -} -func (m *SearchReadGroupSetsRequest) XXX_Size() int { - return xxx_messageInfo_SearchReadGroupSetsRequest.Size(m) -} -func (m *SearchReadGroupSetsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SearchReadGroupSetsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchReadGroupSetsRequest proto.InternalMessageInfo - -func (m *SearchReadGroupSetsRequest) GetDatasetIds() []string { - if m != nil { - return m.DatasetIds - } - return nil -} - -func (m *SearchReadGroupSetsRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *SearchReadGroupSetsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *SearchReadGroupSetsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -// The read group set search response. -type SearchReadGroupSetsResponse struct { - // The list of matching read group sets. - ReadGroupSets []*ReadGroupSet `protobuf:"bytes,1,rep,name=read_group_sets,json=readGroupSets,proto3" json:"read_group_sets,omitempty"` - // The continuation token, which is used to page through large result sets. - // Provide this value in a subsequent request to return the next page of - // results. This field will be empty if there aren't any additional 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 *SearchReadGroupSetsResponse) Reset() { *m = SearchReadGroupSetsResponse{} } -func (m *SearchReadGroupSetsResponse) String() string { return proto.CompactTextString(m) } -func (*SearchReadGroupSetsResponse) ProtoMessage() {} -func (*SearchReadGroupSetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6b02d5d0c80a106c, []int{1} -} - -func (m *SearchReadGroupSetsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchReadGroupSetsResponse.Unmarshal(m, b) -} -func (m *SearchReadGroupSetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchReadGroupSetsResponse.Marshal(b, m, deterministic) -} -func (m *SearchReadGroupSetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchReadGroupSetsResponse.Merge(m, src) -} -func (m *SearchReadGroupSetsResponse) XXX_Size() int { - return xxx_messageInfo_SearchReadGroupSetsResponse.Size(m) -} -func (m *SearchReadGroupSetsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SearchReadGroupSetsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchReadGroupSetsResponse proto.InternalMessageInfo - -func (m *SearchReadGroupSetsResponse) GetReadGroupSets() []*ReadGroupSet { - if m != nil { - return m.ReadGroupSets - } - return nil -} - -func (m *SearchReadGroupSetsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The read group set import request. -type ImportReadGroupSetsRequest struct { - // Required. The ID of the dataset these read group sets will belong to. The - // caller must have WRITE permissions to this dataset. - DatasetId string `protobuf:"bytes,1,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"` - // The reference set to which the imported read group sets are aligned to, if - // any. The reference names of this reference set must be a superset of those - // found in the imported file headers. If no reference set id is provided, a - // best effort is made to associate with a matching reference set. - ReferenceSetId string `protobuf:"bytes,4,opt,name=reference_set_id,json=referenceSetId,proto3" json:"reference_set_id,omitempty"` - // A list of URIs pointing at [BAM - // files](https://samtools.github.io/hts-specs/SAMv1.pdf) - // in Google Cloud Storage. - // Those URIs can include wildcards (*), but do not add or remove - // matching files before import has completed. - // - // Note that Google Cloud Storage object listing is only eventually - // consistent: files added may be not be immediately visible to - // everyone. Thus, if using a wildcard it is preferable not to start - // the import immediately after the files are created. - SourceUris []string `protobuf:"bytes,2,rep,name=source_uris,json=sourceUris,proto3" json:"source_uris,omitempty"` - // The partition strategy describes how read groups are partitioned into read - // group sets. - PartitionStrategy ImportReadGroupSetsRequest_PartitionStrategy `protobuf:"varint,5,opt,name=partition_strategy,json=partitionStrategy,proto3,enum=google.genomics.v1.ImportReadGroupSetsRequest_PartitionStrategy" json:"partition_strategy,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ImportReadGroupSetsRequest) Reset() { *m = ImportReadGroupSetsRequest{} } -func (m *ImportReadGroupSetsRequest) String() string { return proto.CompactTextString(m) } -func (*ImportReadGroupSetsRequest) ProtoMessage() {} -func (*ImportReadGroupSetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6b02d5d0c80a106c, []int{2} -} - -func (m *ImportReadGroupSetsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImportReadGroupSetsRequest.Unmarshal(m, b) -} -func (m *ImportReadGroupSetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImportReadGroupSetsRequest.Marshal(b, m, deterministic) -} -func (m *ImportReadGroupSetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportReadGroupSetsRequest.Merge(m, src) -} -func (m *ImportReadGroupSetsRequest) XXX_Size() int { - return xxx_messageInfo_ImportReadGroupSetsRequest.Size(m) -} -func (m *ImportReadGroupSetsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ImportReadGroupSetsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ImportReadGroupSetsRequest proto.InternalMessageInfo - -func (m *ImportReadGroupSetsRequest) GetDatasetId() string { - if m != nil { - return m.DatasetId - } - return "" -} - -func (m *ImportReadGroupSetsRequest) GetReferenceSetId() string { - if m != nil { - return m.ReferenceSetId - } - return "" -} - -func (m *ImportReadGroupSetsRequest) GetSourceUris() []string { - if m != nil { - return m.SourceUris - } - return nil -} - -func (m *ImportReadGroupSetsRequest) GetPartitionStrategy() ImportReadGroupSetsRequest_PartitionStrategy { - if m != nil { - return m.PartitionStrategy - } - return ImportReadGroupSetsRequest_PARTITION_STRATEGY_UNSPECIFIED -} - -// The read group set import response. -type ImportReadGroupSetsResponse struct { - // IDs of the read group sets that were created. - ReadGroupSetIds []string `protobuf:"bytes,1,rep,name=read_group_set_ids,json=readGroupSetIds,proto3" json:"read_group_set_ids,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ImportReadGroupSetsResponse) Reset() { *m = ImportReadGroupSetsResponse{} } -func (m *ImportReadGroupSetsResponse) String() string { return proto.CompactTextString(m) } -func (*ImportReadGroupSetsResponse) ProtoMessage() {} -func (*ImportReadGroupSetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6b02d5d0c80a106c, []int{3} -} - -func (m *ImportReadGroupSetsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImportReadGroupSetsResponse.Unmarshal(m, b) -} -func (m *ImportReadGroupSetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImportReadGroupSetsResponse.Marshal(b, m, deterministic) -} -func (m *ImportReadGroupSetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportReadGroupSetsResponse.Merge(m, src) -} -func (m *ImportReadGroupSetsResponse) XXX_Size() int { - return xxx_messageInfo_ImportReadGroupSetsResponse.Size(m) -} -func (m *ImportReadGroupSetsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ImportReadGroupSetsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ImportReadGroupSetsResponse proto.InternalMessageInfo - -func (m *ImportReadGroupSetsResponse) GetReadGroupSetIds() []string { - if m != nil { - return m.ReadGroupSetIds - } - return nil -} - -// The read group set export request. -type ExportReadGroupSetRequest struct { - // Required. The Google Cloud project ID that owns this - // export. The caller must have WRITE access to this project. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Required. A Google Cloud Storage URI for the exported BAM file. - // The currently authenticated user must have write access to the new file. - // An error will be returned if the URI already contains data. - ExportUri string `protobuf:"bytes,2,opt,name=export_uri,json=exportUri,proto3" json:"export_uri,omitempty"` - // Required. The ID of the read group set to export. The caller must have - // READ access to this read group set. - ReadGroupSetId string `protobuf:"bytes,3,opt,name=read_group_set_id,json=readGroupSetId,proto3" json:"read_group_set_id,omitempty"` - // The reference names to export. If this is not specified, all reference - // sequences, including unmapped reads, are exported. - // Use `*` to export only unmapped reads. - ReferenceNames []string `protobuf:"bytes,4,rep,name=reference_names,json=referenceNames,proto3" json:"reference_names,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExportReadGroupSetRequest) Reset() { *m = ExportReadGroupSetRequest{} } -func (m *ExportReadGroupSetRequest) String() string { return proto.CompactTextString(m) } -func (*ExportReadGroupSetRequest) ProtoMessage() {} -func (*ExportReadGroupSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6b02d5d0c80a106c, []int{4} -} - -func (m *ExportReadGroupSetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExportReadGroupSetRequest.Unmarshal(m, b) -} -func (m *ExportReadGroupSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExportReadGroupSetRequest.Marshal(b, m, deterministic) -} -func (m *ExportReadGroupSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportReadGroupSetRequest.Merge(m, src) -} -func (m *ExportReadGroupSetRequest) XXX_Size() int { - return xxx_messageInfo_ExportReadGroupSetRequest.Size(m) -} -func (m *ExportReadGroupSetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ExportReadGroupSetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ExportReadGroupSetRequest proto.InternalMessageInfo - -func (m *ExportReadGroupSetRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *ExportReadGroupSetRequest) GetExportUri() string { - if m != nil { - return m.ExportUri - } - return "" -} - -func (m *ExportReadGroupSetRequest) GetReadGroupSetId() string { - if m != nil { - return m.ReadGroupSetId - } - return "" -} - -func (m *ExportReadGroupSetRequest) GetReferenceNames() []string { - if m != nil { - return m.ReferenceNames - } - return nil -} - -type UpdateReadGroupSetRequest struct { - // The ID of the read group set to be updated. The caller must have WRITE - // permissions to the dataset associated with this read group set. - ReadGroupSetId string `protobuf:"bytes,1,opt,name=read_group_set_id,json=readGroupSetId,proto3" json:"read_group_set_id,omitempty"` - // The new read group set data. See `updateMask` for details on mutability of - // fields. - ReadGroupSet *ReadGroupSet `protobuf:"bytes,2,opt,name=read_group_set,json=readGroupSet,proto3" json:"read_group_set,omitempty"` - // An optional mask specifying which fields to update. Supported fields: - // - // * [name][google.genomics.v1.ReadGroupSet.name]. - // * [referenceSetId][google.genomics.v1.ReadGroupSet.reference_set_id]. - // - // Leaving `updateMask` unset is equivalent to specifying all mutable - // fields. - 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 *UpdateReadGroupSetRequest) Reset() { *m = UpdateReadGroupSetRequest{} } -func (m *UpdateReadGroupSetRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateReadGroupSetRequest) ProtoMessage() {} -func (*UpdateReadGroupSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6b02d5d0c80a106c, []int{5} -} - -func (m *UpdateReadGroupSetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateReadGroupSetRequest.Unmarshal(m, b) -} -func (m *UpdateReadGroupSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateReadGroupSetRequest.Marshal(b, m, deterministic) -} -func (m *UpdateReadGroupSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateReadGroupSetRequest.Merge(m, src) -} -func (m *UpdateReadGroupSetRequest) XXX_Size() int { - return xxx_messageInfo_UpdateReadGroupSetRequest.Size(m) -} -func (m *UpdateReadGroupSetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateReadGroupSetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateReadGroupSetRequest proto.InternalMessageInfo - -func (m *UpdateReadGroupSetRequest) GetReadGroupSetId() string { - if m != nil { - return m.ReadGroupSetId - } - return "" -} - -func (m *UpdateReadGroupSetRequest) GetReadGroupSet() *ReadGroupSet { - if m != nil { - return m.ReadGroupSet - } - return nil -} - -func (m *UpdateReadGroupSetRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -type DeleteReadGroupSetRequest struct { - // The ID of the read group set to be deleted. The caller must have WRITE - // permissions to the dataset associated with this read group set. - ReadGroupSetId string `protobuf:"bytes,1,opt,name=read_group_set_id,json=readGroupSetId,proto3" json:"read_group_set_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DeleteReadGroupSetRequest) Reset() { *m = DeleteReadGroupSetRequest{} } -func (m *DeleteReadGroupSetRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteReadGroupSetRequest) ProtoMessage() {} -func (*DeleteReadGroupSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6b02d5d0c80a106c, []int{6} -} - -func (m *DeleteReadGroupSetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteReadGroupSetRequest.Unmarshal(m, b) -} -func (m *DeleteReadGroupSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteReadGroupSetRequest.Marshal(b, m, deterministic) -} -func (m *DeleteReadGroupSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteReadGroupSetRequest.Merge(m, src) -} -func (m *DeleteReadGroupSetRequest) XXX_Size() int { - return xxx_messageInfo_DeleteReadGroupSetRequest.Size(m) -} -func (m *DeleteReadGroupSetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteReadGroupSetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteReadGroupSetRequest proto.InternalMessageInfo - -func (m *DeleteReadGroupSetRequest) GetReadGroupSetId() string { - if m != nil { - return m.ReadGroupSetId - } - return "" -} - -type GetReadGroupSetRequest struct { - // The ID of the read group set. - ReadGroupSetId string `protobuf:"bytes,1,opt,name=read_group_set_id,json=readGroupSetId,proto3" json:"read_group_set_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_6b02d5d0c80a106c, []int{7} -} - -func (m *GetReadGroupSetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetReadGroupSetRequest.Unmarshal(m, b) -} -func (m *GetReadGroupSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetReadGroupSetRequest.Marshal(b, m, deterministic) -} -func (m *GetReadGroupSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetReadGroupSetRequest.Merge(m, src) -} -func (m *GetReadGroupSetRequest) XXX_Size() int { - return xxx_messageInfo_GetReadGroupSetRequest.Size(m) -} -func (m *GetReadGroupSetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetReadGroupSetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetReadGroupSetRequest proto.InternalMessageInfo - -func (m *GetReadGroupSetRequest) GetReadGroupSetId() string { - if m != nil { - return m.ReadGroupSetId - } - return "" -} - -type ListCoverageBucketsRequest struct { - // Required. The ID of the read group set over which coverage is requested. - ReadGroupSetId string `protobuf:"bytes,1,opt,name=read_group_set_id,json=readGroupSetId,proto3" json:"read_group_set_id,omitempty"` - // The name of the reference to query, within the reference set associated - // with this query. Optional. - ReferenceName string `protobuf:"bytes,3,opt,name=reference_name,json=referenceName,proto3" json:"reference_name,omitempty"` - // The start position of the range on the reference, 0-based inclusive. If - // specified, `referenceName` must also be specified. Defaults to 0. - Start int64 `protobuf:"varint,4,opt,name=start,proto3" json:"start,omitempty"` - // The end position of the range on the reference, 0-based exclusive. If - // specified, `referenceName` must also be specified. If unset or 0, defaults - // to the length of the reference. - End int64 `protobuf:"varint,5,opt,name=end,proto3" json:"end,omitempty"` - // The desired width of each reported coverage bucket in base pairs. This - // will be rounded down to the nearest precomputed bucket width; the value - // of which is returned as `bucketWidth` in the response. Defaults - // to infinity (each bucket spans an entire reference sequence) or the length - // of the target range, if specified. The smallest precomputed - // `bucketWidth` is currently 2048 base pairs; this is subject to - // change. - TargetBucketWidth int64 `protobuf:"varint,6,opt,name=target_bucket_width,json=targetBucketWidth,proto3" json:"target_bucket_width,omitempty"` - // The continuation token, which is used to page through large result sets. - // To get the next page of results, set this parameter to the value of - // `nextPageToken` from the previous response. - 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 page. If unspecified, - // defaults to 1024. The maximum value is 2048. - 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 *ListCoverageBucketsRequest) Reset() { *m = ListCoverageBucketsRequest{} } -func (m *ListCoverageBucketsRequest) String() string { return proto.CompactTextString(m) } -func (*ListCoverageBucketsRequest) ProtoMessage() {} -func (*ListCoverageBucketsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6b02d5d0c80a106c, []int{8} -} - -func (m *ListCoverageBucketsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCoverageBucketsRequest.Unmarshal(m, b) -} -func (m *ListCoverageBucketsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCoverageBucketsRequest.Marshal(b, m, deterministic) -} -func (m *ListCoverageBucketsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCoverageBucketsRequest.Merge(m, src) -} -func (m *ListCoverageBucketsRequest) XXX_Size() int { - return xxx_messageInfo_ListCoverageBucketsRequest.Size(m) -} -func (m *ListCoverageBucketsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListCoverageBucketsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListCoverageBucketsRequest proto.InternalMessageInfo - -func (m *ListCoverageBucketsRequest) GetReadGroupSetId() string { - if m != nil { - return m.ReadGroupSetId - } - return "" -} - -func (m *ListCoverageBucketsRequest) GetReferenceName() string { - if m != nil { - return m.ReferenceName - } - return "" -} - -func (m *ListCoverageBucketsRequest) GetStart() int64 { - if m != nil { - return m.Start - } - return 0 -} - -func (m *ListCoverageBucketsRequest) GetEnd() int64 { - if m != nil { - return m.End - } - return 0 -} - -func (m *ListCoverageBucketsRequest) GetTargetBucketWidth() int64 { - if m != nil { - return m.TargetBucketWidth - } - return 0 -} - -func (m *ListCoverageBucketsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListCoverageBucketsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -// A bucket over which read coverage has been precomputed. A bucket corresponds -// to a specific range of the reference sequence. -type CoverageBucket struct { - // The genomic coordinate range spanned by this bucket. - Range *Range `protobuf:"bytes,1,opt,name=range,proto3" json:"range,omitempty"` - // The average number of reads which are aligned to each individual - // reference base in this bucket. - MeanCoverage float32 `protobuf:"fixed32,2,opt,name=mean_coverage,json=meanCoverage,proto3" json:"mean_coverage,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_6b02d5d0c80a106c, []int{9} -} - -func (m *CoverageBucket) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CoverageBucket.Unmarshal(m, b) -} -func (m *CoverageBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CoverageBucket.Marshal(b, m, deterministic) -} -func (m *CoverageBucket) XXX_Merge(src proto.Message) { - xxx_messageInfo_CoverageBucket.Merge(m, src) -} -func (m *CoverageBucket) XXX_Size() int { - return xxx_messageInfo_CoverageBucket.Size(m) -} -func (m *CoverageBucket) XXX_DiscardUnknown() { - xxx_messageInfo_CoverageBucket.DiscardUnknown(m) -} - -var xxx_messageInfo_CoverageBucket proto.InternalMessageInfo - -func (m *CoverageBucket) GetRange() *Range { - if m != nil { - return m.Range - } - return nil -} - -func (m *CoverageBucket) GetMeanCoverage() float32 { - if m != nil { - return m.MeanCoverage - } - return 0 -} - -type ListCoverageBucketsResponse struct { - // The length of each coverage bucket in base pairs. Note that buckets at the - // end of a reference sequence may be shorter. This value is omitted if the - // bucket width is infinity (the default behaviour, with no range or - // `targetBucketWidth`). - BucketWidth int64 `protobuf:"varint,1,opt,name=bucket_width,json=bucketWidth,proto3" json:"bucket_width,omitempty"` - // The coverage buckets. The list of buckets is sparse; a bucket with 0 - // overlapping reads is not returned. A bucket never crosses more than one - // reference sequence. Each bucket has width `bucketWidth`, unless - // its end is the end of the reference sequence. - CoverageBuckets []*CoverageBucket `protobuf:"bytes,2,rep,name=coverage_buckets,json=coverageBuckets,proto3" json:"coverage_buckets,omitempty"` - // The continuation token, which is used to page through large result sets. - // Provide this value in a subsequent request to return the next page of - // results. This field will be empty if there aren't any additional 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 *ListCoverageBucketsResponse) Reset() { *m = ListCoverageBucketsResponse{} } -func (m *ListCoverageBucketsResponse) String() string { return proto.CompactTextString(m) } -func (*ListCoverageBucketsResponse) ProtoMessage() {} -func (*ListCoverageBucketsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6b02d5d0c80a106c, []int{10} -} - -func (m *ListCoverageBucketsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCoverageBucketsResponse.Unmarshal(m, b) -} -func (m *ListCoverageBucketsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCoverageBucketsResponse.Marshal(b, m, deterministic) -} -func (m *ListCoverageBucketsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCoverageBucketsResponse.Merge(m, src) -} -func (m *ListCoverageBucketsResponse) XXX_Size() int { - return xxx_messageInfo_ListCoverageBucketsResponse.Size(m) -} -func (m *ListCoverageBucketsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListCoverageBucketsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListCoverageBucketsResponse proto.InternalMessageInfo - -func (m *ListCoverageBucketsResponse) GetBucketWidth() int64 { - if m != nil { - return m.BucketWidth - } - return 0 -} - -func (m *ListCoverageBucketsResponse) GetCoverageBuckets() []*CoverageBucket { - if m != nil { - return m.CoverageBuckets - } - return nil -} - -func (m *ListCoverageBucketsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The read search request. -type SearchReadsRequest struct { - // The IDs of the read groups sets within which to search for reads. All - // specified read group sets must be aligned against a common set of reference - // sequences; this defines the genomic coordinates for the query. Must specify - // one of `readGroupSetIds` or `readGroupIds`. - ReadGroupSetIds []string `protobuf:"bytes,1,rep,name=read_group_set_ids,json=readGroupSetIds,proto3" json:"read_group_set_ids,omitempty"` - // The IDs of the read groups within which to search for reads. All specified - // read groups must belong to the same read group sets. Must specify one of - // `readGroupSetIds` or `readGroupIds`. - ReadGroupIds []string `protobuf:"bytes,5,rep,name=read_group_ids,json=readGroupIds,proto3" json:"read_group_ids,omitempty"` - // The reference sequence name, for example `chr1`, `1`, or `chrX`. If set to - // `*`, only unmapped reads are returned. If unspecified, all reads (mapped - // and unmapped) are returned. - ReferenceName string `protobuf:"bytes,7,opt,name=reference_name,json=referenceName,proto3" json:"reference_name,omitempty"` - // The start position of the range on the reference, 0-based inclusive. If - // specified, `referenceName` must also be specified. - Start int64 `protobuf:"varint,8,opt,name=start,proto3" json:"start,omitempty"` - // The end position of the range on the reference, 0-based exclusive. If - // specified, `referenceName` must also be specified. - End int64 `protobuf:"varint,9,opt,name=end,proto3" json:"end,omitempty"` - // The continuation token, which is used to page through large result sets. - // To get the next page of results, set this parameter to the value of - // `nextPageToken` from the previous response. - PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // The maximum number of results to return in a single page. If unspecified, - // defaults to 256. The maximum value is 2048. - 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 *SearchReadsRequest) Reset() { *m = SearchReadsRequest{} } -func (m *SearchReadsRequest) String() string { return proto.CompactTextString(m) } -func (*SearchReadsRequest) ProtoMessage() {} -func (*SearchReadsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6b02d5d0c80a106c, []int{11} -} - -func (m *SearchReadsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchReadsRequest.Unmarshal(m, b) -} -func (m *SearchReadsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchReadsRequest.Marshal(b, m, deterministic) -} -func (m *SearchReadsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchReadsRequest.Merge(m, src) -} -func (m *SearchReadsRequest) XXX_Size() int { - return xxx_messageInfo_SearchReadsRequest.Size(m) -} -func (m *SearchReadsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SearchReadsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchReadsRequest proto.InternalMessageInfo - -func (m *SearchReadsRequest) GetReadGroupSetIds() []string { - if m != nil { - return m.ReadGroupSetIds - } - return nil -} - -func (m *SearchReadsRequest) GetReadGroupIds() []string { - if m != nil { - return m.ReadGroupIds - } - return nil -} - -func (m *SearchReadsRequest) GetReferenceName() string { - if m != nil { - return m.ReferenceName - } - return "" -} - -func (m *SearchReadsRequest) GetStart() int64 { - if m != nil { - return m.Start - } - return 0 -} - -func (m *SearchReadsRequest) GetEnd() int64 { - if m != nil { - return m.End - } - return 0 -} - -func (m *SearchReadsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *SearchReadsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -// The read search response. -type SearchReadsResponse struct { - // The list of matching alignments sorted by mapped genomic coordinate, - // if any, ascending in position within the same reference. Unmapped reads, - // which have no position, are returned contiguously and are sorted in - // ascending lexicographic order by fragment name. - Alignments []*Read `protobuf:"bytes,1,rep,name=alignments,proto3" json:"alignments,omitempty"` - // The continuation token, which is used to page through large result sets. - // Provide this value in a subsequent request to return the next page of - // results. This field will be empty if there aren't any additional 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 *SearchReadsResponse) Reset() { *m = SearchReadsResponse{} } -func (m *SearchReadsResponse) String() string { return proto.CompactTextString(m) } -func (*SearchReadsResponse) ProtoMessage() {} -func (*SearchReadsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6b02d5d0c80a106c, []int{12} -} - -func (m *SearchReadsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchReadsResponse.Unmarshal(m, b) -} -func (m *SearchReadsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchReadsResponse.Marshal(b, m, deterministic) -} -func (m *SearchReadsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchReadsResponse.Merge(m, src) -} -func (m *SearchReadsResponse) XXX_Size() int { - return xxx_messageInfo_SearchReadsResponse.Size(m) -} -func (m *SearchReadsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SearchReadsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchReadsResponse proto.InternalMessageInfo - -func (m *SearchReadsResponse) GetAlignments() []*Read { - if m != nil { - return m.Alignments - } - return nil -} - -func (m *SearchReadsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The stream reads request. -type StreamReadsRequest struct { - // The Google Cloud project ID which will be billed - // for this access. The caller must have WRITE access to this project. - // Required. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The ID of the read group set from which to stream reads. - ReadGroupSetId string `protobuf:"bytes,2,opt,name=read_group_set_id,json=readGroupSetId,proto3" json:"read_group_set_id,omitempty"` - // The reference sequence name, for example `chr1`, - // `1`, or `chrX`. If set to *, only unmapped reads are - // returned. - ReferenceName string `protobuf:"bytes,3,opt,name=reference_name,json=referenceName,proto3" json:"reference_name,omitempty"` - // The start position of the range on the reference, 0-based inclusive. If - // specified, `referenceName` must also be specified. - Start int64 `protobuf:"varint,4,opt,name=start,proto3" json:"start,omitempty"` - // The end position of the range on the reference, 0-based exclusive. If - // specified, `referenceName` must also be specified. - End int64 `protobuf:"varint,5,opt,name=end,proto3" json:"end,omitempty"` - // Restricts results to a shard containing approximately `1/totalShards` - // of the normal response payload for this query. Results from a sharded - // request are disjoint from those returned by all queries which differ only - // in their shard parameter. A shard may yield 0 results; this is especially - // likely for large values of `totalShards`. - // - // Valid values are `[0, totalShards)`. - Shard int32 `protobuf:"varint,6,opt,name=shard,proto3" json:"shard,omitempty"` - // Specifying `totalShards` causes a disjoint subset of the normal response - // payload to be returned for each query with a unique `shard` parameter - // specified. A best effort is made to yield equally sized shards. Sharding - // can be used to distribute processing amongst workers, where each worker is - // assigned a unique `shard` number and all workers specify the same - // `totalShards` number. The union of reads returned for all sharded queries - // `[0, totalShards)` is equal to those returned by a single unsharded query. - // - // Queries for different values of `totalShards` with common divisors will - // share shard boundaries. For example, streaming `shard` 2 of 5 - // `totalShards` yields the same results as streaming `shard`s 4 and 5 of 10 - // `totalShards`. This property can be leveraged for adaptive retries. - TotalShards int32 `protobuf:"varint,7,opt,name=total_shards,json=totalShards,proto3" json:"total_shards,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_6b02d5d0c80a106c, []int{13} -} - -func (m *StreamReadsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamReadsRequest.Unmarshal(m, b) -} -func (m *StreamReadsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamReadsRequest.Marshal(b, m, deterministic) -} -func (m *StreamReadsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamReadsRequest.Merge(m, src) -} -func (m *StreamReadsRequest) XXX_Size() int { - return xxx_messageInfo_StreamReadsRequest.Size(m) -} -func (m *StreamReadsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StreamReadsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamReadsRequest proto.InternalMessageInfo - -func (m *StreamReadsRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *StreamReadsRequest) GetReadGroupSetId() string { - if m != nil { - return m.ReadGroupSetId - } - return "" -} - -func (m *StreamReadsRequest) GetReferenceName() string { - if m != nil { - return m.ReferenceName - } - return "" -} - -func (m *StreamReadsRequest) GetStart() int64 { - if m != nil { - return m.Start - } - return 0 -} - -func (m *StreamReadsRequest) GetEnd() int64 { - if m != nil { - return m.End - } - return 0 -} - -func (m *StreamReadsRequest) GetShard() int32 { - if m != nil { - return m.Shard - } - return 0 -} - -func (m *StreamReadsRequest) GetTotalShards() int32 { - if m != nil { - return m.TotalShards - } - return 0 -} - -type StreamReadsResponse struct { - Alignments []*Read `protobuf:"bytes,1,rep,name=alignments,proto3" json:"alignments,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_6b02d5d0c80a106c, []int{14} -} - -func (m *StreamReadsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamReadsResponse.Unmarshal(m, b) -} -func (m *StreamReadsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamReadsResponse.Marshal(b, m, deterministic) -} -func (m *StreamReadsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamReadsResponse.Merge(m, src) -} -func (m *StreamReadsResponse) XXX_Size() int { - return xxx_messageInfo_StreamReadsResponse.Size(m) -} -func (m *StreamReadsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_StreamReadsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamReadsResponse proto.InternalMessageInfo - -func (m *StreamReadsResponse) GetAlignments() []*Read { - if m != nil { - return m.Alignments - } - return nil -} - -func init() { - proto.RegisterEnum("google.genomics.v1.ImportReadGroupSetsRequest_PartitionStrategy", ImportReadGroupSetsRequest_PartitionStrategy_name, ImportReadGroupSetsRequest_PartitionStrategy_value) - proto.RegisterType((*SearchReadGroupSetsRequest)(nil), "google.genomics.v1.SearchReadGroupSetsRequest") - proto.RegisterType((*SearchReadGroupSetsResponse)(nil), "google.genomics.v1.SearchReadGroupSetsResponse") - proto.RegisterType((*ImportReadGroupSetsRequest)(nil), "google.genomics.v1.ImportReadGroupSetsRequest") - proto.RegisterType((*ImportReadGroupSetsResponse)(nil), "google.genomics.v1.ImportReadGroupSetsResponse") - proto.RegisterType((*ExportReadGroupSetRequest)(nil), "google.genomics.v1.ExportReadGroupSetRequest") - proto.RegisterType((*UpdateReadGroupSetRequest)(nil), "google.genomics.v1.UpdateReadGroupSetRequest") - proto.RegisterType((*DeleteReadGroupSetRequest)(nil), "google.genomics.v1.DeleteReadGroupSetRequest") - proto.RegisterType((*GetReadGroupSetRequest)(nil), "google.genomics.v1.GetReadGroupSetRequest") - proto.RegisterType((*ListCoverageBucketsRequest)(nil), "google.genomics.v1.ListCoverageBucketsRequest") - proto.RegisterType((*CoverageBucket)(nil), "google.genomics.v1.CoverageBucket") - proto.RegisterType((*ListCoverageBucketsResponse)(nil), "google.genomics.v1.ListCoverageBucketsResponse") - proto.RegisterType((*SearchReadsRequest)(nil), "google.genomics.v1.SearchReadsRequest") - proto.RegisterType((*SearchReadsResponse)(nil), "google.genomics.v1.SearchReadsResponse") - proto.RegisterType((*StreamReadsRequest)(nil), "google.genomics.v1.StreamReadsRequest") - proto.RegisterType((*StreamReadsResponse)(nil), "google.genomics.v1.StreamReadsResponse") -} - -func init() { proto.RegisterFile("google/genomics/v1/reads.proto", fileDescriptor_6b02d5d0c80a106c) } - -var fileDescriptor_6b02d5d0c80a106c = []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, - 0x69, 0x1b, 0x02, 0xb5, 0x89, 0x11, 0x2a, 0x4a, 0x85, 0x44, 0xda, 0x3a, 0xc1, 0x28, 0x69, 0xad, - 0x75, 0x02, 0x82, 0xcb, 0x6a, 0x62, 0x4f, 0xb6, 0x4b, 0xec, 0xdd, 0x65, 0x66, 0x9c, 0xfe, 0x52, - 0x2f, 0xbd, 0x81, 0x04, 0x1c, 0x10, 0x27, 0xae, 0x5c, 0x39, 0x22, 0xfe, 0x08, 0x4e, 0x88, 0x0b, - 0x7f, 0x00, 0xe2, 0x0f, 0xe0, 0xc4, 0x11, 0xcd, 0xec, 0x6e, 0xbc, 0xeb, 0x9d, 0x6d, 0x1c, 0x55, - 0xe2, 0xb6, 0xfb, 0xe6, 0xb3, 0x6f, 0x3e, 0xef, 0xf7, 0x5b, 0xb8, 0x64, 0x7b, 0x9e, 0xdd, 0xa7, - 0x75, 0x9b, 0xba, 0xde, 0xc0, 0xe9, 0xf2, 0xfa, 0xd1, 0x5a, 0x9d, 0x51, 0xd2, 0xe3, 0x35, 0x9f, - 0x79, 0xc2, 0xc3, 0x38, 0x38, 0xaf, 0x45, 0xe7, 0xb5, 0xa3, 0xb5, 0xea, 0xab, 0xe1, 0x37, 0xc4, - 0x77, 0xea, 0xc4, 0x75, 0x3d, 0x41, 0x84, 0xe3, 0xb9, 0xe1, 0x17, 0x55, 0xad, 0x46, 0xe2, 0xda, - 0x34, 0x3c, 0xbf, 0x96, 0x71, 0x23, 0xe9, 0x3b, 0xb6, 0x3b, 0xa0, 0xae, 0x08, 0x71, 0x57, 0x33, - 0x70, 0x36, 0xf3, 0x86, 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, 0xae, 0x37, 0xd0, 0xa8, 0xba, 0x0d, 0x4a, - 0x4b, 0x5b, 0xe6, 0x48, 0x1b, 0x7d, 0xb6, 0x1e, 0x21, 0xbc, 0x3e, 0x71, 0xed, 0x9a, 0xc7, 0x6c, - 0xf9, 0x33, 0xaf, 0x32, 0xa8, 0x1e, 0x1c, 0x11, 0xdf, 0xe1, 0xf1, 0x1f, 0xfc, 0x5b, 0xd1, 0xf3, - 0x3f, 0x08, 0xed, 0x9f, 0x51, 0xc8, 0x77, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x1b, 0x9b, 0xce, - 0x6e, 0xa3, 0x10, 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 - -// StreamingReadServiceClient is the client API for StreamingReadService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type StreamingReadServiceClient interface { - // Returns a stream of all the reads matching the search request, ordered - // by reference name, position, and ID. - StreamReads(ctx context.Context, in *StreamReadsRequest, opts ...grpc.CallOption) (StreamingReadService_StreamReadsClient, error) -} - -type streamingReadServiceClient struct { - cc *grpc.ClientConn -} - -func NewStreamingReadServiceClient(cc *grpc.ClientConn) StreamingReadServiceClient { - return &streamingReadServiceClient{cc} -} - -func (c *streamingReadServiceClient) StreamReads(ctx context.Context, in *StreamReadsRequest, opts ...grpc.CallOption) (StreamingReadService_StreamReadsClient, error) { - stream, err := c.cc.NewStream(ctx, &_StreamingReadService_serviceDesc.Streams[0], "/google.genomics.v1.StreamingReadService/StreamReads", opts...) - if err != nil { - return nil, err - } - x := &streamingReadServiceStreamReadsClient{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 StreamingReadService_StreamReadsClient interface { - Recv() (*StreamReadsResponse, error) - grpc.ClientStream -} - -type streamingReadServiceStreamReadsClient struct { - grpc.ClientStream -} - -func (x *streamingReadServiceStreamReadsClient) Recv() (*StreamReadsResponse, error) { - m := new(StreamReadsResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// StreamingReadServiceServer is the server API for StreamingReadService service. -type StreamingReadServiceServer interface { - // Returns a stream of all the reads matching the search request, ordered - // by reference name, position, and ID. - StreamReads(*StreamReadsRequest, StreamingReadService_StreamReadsServer) error -} - -// UnimplementedStreamingReadServiceServer can be embedded to have forward compatible implementations. -type UnimplementedStreamingReadServiceServer struct { -} - -func (*UnimplementedStreamingReadServiceServer) StreamReads(req *StreamReadsRequest, srv StreamingReadService_StreamReadsServer) error { - return status.Errorf(codes.Unimplemented, "method StreamReads not implemented") -} - -func RegisterStreamingReadServiceServer(s *grpc.Server, srv StreamingReadServiceServer) { - s.RegisterService(&_StreamingReadService_serviceDesc, srv) -} - -func _StreamingReadService_StreamReads_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(StreamReadsRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(StreamingReadServiceServer).StreamReads(m, &streamingReadServiceStreamReadsServer{stream}) -} - -type StreamingReadService_StreamReadsServer interface { - Send(*StreamReadsResponse) error - grpc.ServerStream -} - -type streamingReadServiceStreamReadsServer struct { - grpc.ServerStream -} - -func (x *streamingReadServiceStreamReadsServer) Send(m *StreamReadsResponse) error { - return x.ServerStream.SendMsg(m) -} - -var _StreamingReadService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.genomics.v1.StreamingReadService", - HandlerType: (*StreamingReadServiceServer)(nil), - Methods: []grpc.MethodDesc{}, - Streams: []grpc.StreamDesc{ - { - StreamName: "StreamReads", - Handler: _StreamingReadService_StreamReads_Handler, - ServerStreams: true, - }, - }, - Metadata: "google/genomics/v1/reads.proto", -} - -// ReadServiceV1Client is the client API for ReadServiceV1 service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ReadServiceV1Client interface { - // Creates read group sets by asynchronously importing the provided - // information. - // - // For the definitions of read group sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // The caller must have WRITE permissions to the dataset. - // - // ## Notes on [BAM](https://samtools.github.io/hts-specs/SAMv1.pdf) import - // - // - Tags will be converted to strings - tag types are not preserved - // - Comments (`@CO`) in the input file header will not be preserved - // - Original header order of references (`@SQ`) will not be preserved - // - Any reverse stranded unmapped reads will be reverse complemented, and - // their qualities (also the "BQ" and "OQ" tags, if any) will be reversed - // - Unmapped reads will be stripped of positional information (reference name - // and position) - ImportReadGroupSets(ctx context.Context, in *ImportReadGroupSetsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Exports a read group set to a BAM file in Google Cloud Storage. - // - // For the definitions of read group sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // Note that currently there may be some differences between exported BAM - // files and the original BAM file at the time of import. See - // [ImportReadGroupSets][google.genomics.v1.ReadServiceV1.ImportReadGroupSets] - // for caveats. - ExportReadGroupSet(ctx context.Context, in *ExportReadGroupSetRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Searches for read group sets matching the criteria. - // - // For the definitions of read group sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // Implements - // [GlobalAllianceApi.searchReadGroupSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L135). - SearchReadGroupSets(ctx context.Context, in *SearchReadGroupSetsRequest, opts ...grpc.CallOption) (*SearchReadGroupSetsResponse, error) - // Updates a read group set. - // - // For the definitions of read group sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // This method supports patch semantics. - UpdateReadGroupSet(ctx context.Context, in *UpdateReadGroupSetRequest, opts ...grpc.CallOption) (*ReadGroupSet, error) - // Deletes a read group set. - // - // For the definitions of read group sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - DeleteReadGroupSet(ctx context.Context, in *DeleteReadGroupSetRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Gets a read group set by ID. - // - // For the definitions of read group sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - GetReadGroupSet(ctx context.Context, in *GetReadGroupSetRequest, opts ...grpc.CallOption) (*ReadGroupSet, error) - // Lists fixed width coverage buckets for a read group set, each of which - // correspond to a range of a reference sequence. Each bucket summarizes - // coverage information across its corresponding genomic range. - // - // For the definitions of read group sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // Coverage is defined as the number of reads which are aligned to a given - // base in the reference sequence. Coverage buckets are available at several - // precomputed bucket widths, enabling retrieval of various coverage 'zoom - // levels'. The caller must have READ permissions for the target read group - // set. - ListCoverageBuckets(ctx context.Context, in *ListCoverageBucketsRequest, opts ...grpc.CallOption) (*ListCoverageBucketsResponse, error) - // Gets a list of reads for one or more read group sets. - // - // For the definitions of read group sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // Reads search operates over a genomic coordinate space of reference sequence - // & position defined over the reference sequences to which the requested - // read group sets are aligned. - // - // If a target positional range is specified, search returns all reads whose - // alignment to the reference genome overlap the range. A query which - // specifies only read group set IDs yields all reads in those read group - // sets, including unmapped reads. - // - // All reads returned (including reads on subsequent pages) are ordered by - // genomic coordinate (by reference sequence, then position). Reads with - // equivalent genomic coordinates are returned in an unspecified order. This - // order is consistent, such that two queries for the same content (regardless - // of page size) yield reads in the same order across their respective streams - // of paginated responses. - // - // Implements - // [GlobalAllianceApi.searchReads](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L85). - SearchReads(ctx context.Context, in *SearchReadsRequest, opts ...grpc.CallOption) (*SearchReadsResponse, error) -} - -type readServiceV1Client struct { - cc *grpc.ClientConn -} - -func NewReadServiceV1Client(cc *grpc.ClientConn) ReadServiceV1Client { - return &readServiceV1Client{cc} -} - -func (c *readServiceV1Client) ImportReadGroupSets(ctx context.Context, in *ImportReadGroupSetsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/ImportReadGroupSets", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *readServiceV1Client) ExportReadGroupSet(ctx context.Context, in *ExportReadGroupSetRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/ExportReadGroupSet", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *readServiceV1Client) SearchReadGroupSets(ctx context.Context, in *SearchReadGroupSetsRequest, opts ...grpc.CallOption) (*SearchReadGroupSetsResponse, error) { - out := new(SearchReadGroupSetsResponse) - err := c.cc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/SearchReadGroupSets", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *readServiceV1Client) UpdateReadGroupSet(ctx context.Context, in *UpdateReadGroupSetRequest, opts ...grpc.CallOption) (*ReadGroupSet, error) { - out := new(ReadGroupSet) - err := c.cc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/UpdateReadGroupSet", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *readServiceV1Client) DeleteReadGroupSet(ctx context.Context, in *DeleteReadGroupSetRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/DeleteReadGroupSet", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *readServiceV1Client) GetReadGroupSet(ctx context.Context, in *GetReadGroupSetRequest, opts ...grpc.CallOption) (*ReadGroupSet, error) { - out := new(ReadGroupSet) - err := c.cc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/GetReadGroupSet", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *readServiceV1Client) ListCoverageBuckets(ctx context.Context, in *ListCoverageBucketsRequest, opts ...grpc.CallOption) (*ListCoverageBucketsResponse, error) { - out := new(ListCoverageBucketsResponse) - err := c.cc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/ListCoverageBuckets", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *readServiceV1Client) SearchReads(ctx context.Context, in *SearchReadsRequest, opts ...grpc.CallOption) (*SearchReadsResponse, error) { - out := new(SearchReadsResponse) - err := c.cc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/SearchReads", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ReadServiceV1Server is the server API for ReadServiceV1 service. -type ReadServiceV1Server interface { - // Creates read group sets by asynchronously importing the provided - // information. - // - // For the definitions of read group sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // The caller must have WRITE permissions to the dataset. - // - // ## Notes on [BAM](https://samtools.github.io/hts-specs/SAMv1.pdf) import - // - // - Tags will be converted to strings - tag types are not preserved - // - Comments (`@CO`) in the input file header will not be preserved - // - Original header order of references (`@SQ`) will not be preserved - // - Any reverse stranded unmapped reads will be reverse complemented, and - // their qualities (also the "BQ" and "OQ" tags, if any) will be reversed - // - Unmapped reads will be stripped of positional information (reference name - // and position) - ImportReadGroupSets(context.Context, *ImportReadGroupSetsRequest) (*longrunning.Operation, error) - // Exports a read group set to a BAM file in Google Cloud Storage. - // - // For the definitions of read group sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // Note that currently there may be some differences between exported BAM - // files and the original BAM file at the time of import. See - // [ImportReadGroupSets][google.genomics.v1.ReadServiceV1.ImportReadGroupSets] - // for caveats. - ExportReadGroupSet(context.Context, *ExportReadGroupSetRequest) (*longrunning.Operation, error) - // Searches for read group sets matching the criteria. - // - // For the definitions of read group sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // Implements - // [GlobalAllianceApi.searchReadGroupSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L135). - SearchReadGroupSets(context.Context, *SearchReadGroupSetsRequest) (*SearchReadGroupSetsResponse, error) - // Updates a read group set. - // - // For the definitions of read group sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // This method supports patch semantics. - UpdateReadGroupSet(context.Context, *UpdateReadGroupSetRequest) (*ReadGroupSet, error) - // Deletes a read group set. - // - // For the definitions of read group sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - DeleteReadGroupSet(context.Context, *DeleteReadGroupSetRequest) (*empty.Empty, error) - // Gets a read group set by ID. - // - // For the definitions of read group sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - GetReadGroupSet(context.Context, *GetReadGroupSetRequest) (*ReadGroupSet, error) - // Lists fixed width coverage buckets for a read group set, each of which - // correspond to a range of a reference sequence. Each bucket summarizes - // coverage information across its corresponding genomic range. - // - // For the definitions of read group sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // Coverage is defined as the number of reads which are aligned to a given - // base in the reference sequence. Coverage buckets are available at several - // precomputed bucket widths, enabling retrieval of various coverage 'zoom - // levels'. The caller must have READ permissions for the target read group - // set. - ListCoverageBuckets(context.Context, *ListCoverageBucketsRequest) (*ListCoverageBucketsResponse, error) - // Gets a list of reads for one or more read group sets. - // - // For the definitions of read group sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // Reads search operates over a genomic coordinate space of reference sequence - // & position defined over the reference sequences to which the requested - // read group sets are aligned. - // - // If a target positional range is specified, search returns all reads whose - // alignment to the reference genome overlap the range. A query which - // specifies only read group set IDs yields all reads in those read group - // sets, including unmapped reads. - // - // All reads returned (including reads on subsequent pages) are ordered by - // genomic coordinate (by reference sequence, then position). Reads with - // equivalent genomic coordinates are returned in an unspecified order. This - // order is consistent, such that two queries for the same content (regardless - // of page size) yield reads in the same order across their respective streams - // of paginated responses. - // - // Implements - // [GlobalAllianceApi.searchReads](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L85). - SearchReads(context.Context, *SearchReadsRequest) (*SearchReadsResponse, error) -} - -// UnimplementedReadServiceV1Server can be embedded to have forward compatible implementations. -type UnimplementedReadServiceV1Server struct { -} - -func (*UnimplementedReadServiceV1Server) ImportReadGroupSets(ctx context.Context, req *ImportReadGroupSetsRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ImportReadGroupSets not implemented") -} -func (*UnimplementedReadServiceV1Server) ExportReadGroupSet(ctx context.Context, req *ExportReadGroupSetRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ExportReadGroupSet not implemented") -} -func (*UnimplementedReadServiceV1Server) SearchReadGroupSets(ctx context.Context, req *SearchReadGroupSetsRequest) (*SearchReadGroupSetsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchReadGroupSets not implemented") -} -func (*UnimplementedReadServiceV1Server) UpdateReadGroupSet(ctx context.Context, req *UpdateReadGroupSetRequest) (*ReadGroupSet, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateReadGroupSet not implemented") -} -func (*UnimplementedReadServiceV1Server) DeleteReadGroupSet(ctx context.Context, req *DeleteReadGroupSetRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteReadGroupSet not implemented") -} -func (*UnimplementedReadServiceV1Server) GetReadGroupSet(ctx context.Context, req *GetReadGroupSetRequest) (*ReadGroupSet, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetReadGroupSet not implemented") -} -func (*UnimplementedReadServiceV1Server) ListCoverageBuckets(ctx context.Context, req *ListCoverageBucketsRequest) (*ListCoverageBucketsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListCoverageBuckets not implemented") -} -func (*UnimplementedReadServiceV1Server) SearchReads(ctx context.Context, req *SearchReadsRequest) (*SearchReadsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchReads not implemented") -} - -func RegisterReadServiceV1Server(s *grpc.Server, srv ReadServiceV1Server) { - s.RegisterService(&_ReadServiceV1_serviceDesc, srv) -} - -func _ReadServiceV1_ImportReadGroupSets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ImportReadGroupSetsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ReadServiceV1Server).ImportReadGroupSets(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.ReadServiceV1/ImportReadGroupSets", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ReadServiceV1Server).ImportReadGroupSets(ctx, req.(*ImportReadGroupSetsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ReadServiceV1_ExportReadGroupSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ExportReadGroupSetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ReadServiceV1Server).ExportReadGroupSet(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.ReadServiceV1/ExportReadGroupSet", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ReadServiceV1Server).ExportReadGroupSet(ctx, req.(*ExportReadGroupSetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ReadServiceV1_SearchReadGroupSets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchReadGroupSetsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ReadServiceV1Server).SearchReadGroupSets(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.ReadServiceV1/SearchReadGroupSets", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ReadServiceV1Server).SearchReadGroupSets(ctx, req.(*SearchReadGroupSetsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ReadServiceV1_UpdateReadGroupSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateReadGroupSetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ReadServiceV1Server).UpdateReadGroupSet(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.ReadServiceV1/UpdateReadGroupSet", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ReadServiceV1Server).UpdateReadGroupSet(ctx, req.(*UpdateReadGroupSetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ReadServiceV1_DeleteReadGroupSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteReadGroupSetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ReadServiceV1Server).DeleteReadGroupSet(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.ReadServiceV1/DeleteReadGroupSet", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ReadServiceV1Server).DeleteReadGroupSet(ctx, req.(*DeleteReadGroupSetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ReadServiceV1_GetReadGroupSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetReadGroupSetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ReadServiceV1Server).GetReadGroupSet(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.ReadServiceV1/GetReadGroupSet", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ReadServiceV1Server).GetReadGroupSet(ctx, req.(*GetReadGroupSetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ReadServiceV1_ListCoverageBuckets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListCoverageBucketsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ReadServiceV1Server).ListCoverageBuckets(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.ReadServiceV1/ListCoverageBuckets", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ReadServiceV1Server).ListCoverageBuckets(ctx, req.(*ListCoverageBucketsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ReadServiceV1_SearchReads_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchReadsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ReadServiceV1Server).SearchReads(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.ReadServiceV1/SearchReads", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ReadServiceV1Server).SearchReads(ctx, req.(*SearchReadsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ReadServiceV1_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.genomics.v1.ReadServiceV1", - HandlerType: (*ReadServiceV1Server)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ImportReadGroupSets", - Handler: _ReadServiceV1_ImportReadGroupSets_Handler, - }, - { - MethodName: "ExportReadGroupSet", - Handler: _ReadServiceV1_ExportReadGroupSet_Handler, - }, - { - MethodName: "SearchReadGroupSets", - Handler: _ReadServiceV1_SearchReadGroupSets_Handler, - }, - { - MethodName: "UpdateReadGroupSet", - Handler: _ReadServiceV1_UpdateReadGroupSet_Handler, - }, - { - MethodName: "DeleteReadGroupSet", - Handler: _ReadServiceV1_DeleteReadGroupSet_Handler, - }, - { - MethodName: "GetReadGroupSet", - Handler: _ReadServiceV1_GetReadGroupSet_Handler, - }, - { - MethodName: "ListCoverageBuckets", - Handler: _ReadServiceV1_ListCoverageBuckets_Handler, - }, - { - MethodName: "SearchReads", - Handler: _ReadServiceV1_SearchReads_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/genomics/v1/reads.proto", -} 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 deleted file mode 100644 index a0dc6d56..00000000 --- a/vendor/google.golang.org/genproto/googleapis/genomics/v1/references.pb.go +++ /dev/null @@ -1,1124 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/genomics/v1/references.proto - -package genomics - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A reference is a canonical assembled DNA sequence, intended to act as a -// reference coordinate space for other genomic annotations. A single reference -// might represent the human chromosome 1 or mitochandrial DNA, for instance. A -// reference belongs to one or more reference sets. -// -// For more genomics resource definitions, see [Fundamentals of Google -// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) -type Reference struct { - // The server-generated reference ID, unique across all references. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // The length of this reference's sequence. - Length int64 `protobuf:"varint,2,opt,name=length,proto3" json:"length,omitempty"` - // MD5 of the upper-case sequence excluding all whitespace characters (this - // is equivalent to SQ:M5 in SAM). This value is represented in lower case - // hexadecimal format. - Md5Checksum string `protobuf:"bytes,3,opt,name=md5checksum,proto3" json:"md5checksum,omitempty"` - // The name of this reference, for example `22`. - Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` - // The URI from which the sequence was obtained. Typically specifies a FASTA - // format file. - SourceUri string `protobuf:"bytes,5,opt,name=source_uri,json=sourceUri,proto3" json:"source_uri,omitempty"` - // All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally - // with a version number, for example `GCF_000001405.26`. - SourceAccessions []string `protobuf:"bytes,6,rep,name=source_accessions,json=sourceAccessions,proto3" json:"source_accessions,omitempty"` - // ID from http://www.ncbi.nlm.nih.gov/taxonomy. For example, 9606 for human. - NcbiTaxonId int32 `protobuf:"varint,7,opt,name=ncbi_taxon_id,json=ncbiTaxonId,proto3" json:"ncbi_taxon_id,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_008bb4c9c386df7c, []int{0} -} - -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 (m *Reference) XXX_Merge(src proto.Message) { - xxx_messageInfo_Reference.Merge(m, 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) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *Reference) GetLength() int64 { - if m != nil { - return m.Length - } - return 0 -} - -func (m *Reference) GetMd5Checksum() string { - if m != nil { - return m.Md5Checksum - } - return "" -} - -func (m *Reference) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Reference) GetSourceUri() string { - if m != nil { - return m.SourceUri - } - return "" -} - -func (m *Reference) GetSourceAccessions() []string { - if m != nil { - return m.SourceAccessions - } - return nil -} - -func (m *Reference) GetNcbiTaxonId() int32 { - if m != nil { - return m.NcbiTaxonId - } - return 0 -} - -// A reference set is a set of references which typically comprise a reference -// assembly for a species, such as `GRCh38` which is representative -// of the human genome. A reference set defines a common coordinate space for -// comparing reference-aligned experimental data. A reference set contains 1 or -// more references. -// -// For more genomics resource definitions, see [Fundamentals of Google -// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) -type ReferenceSet struct { - // The server-generated reference set ID, unique across all reference sets. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // The IDs of the reference objects that are part of this set. - // `Reference.md5checksum` must be unique within this set. - ReferenceIds []string `protobuf:"bytes,2,rep,name=reference_ids,json=referenceIds,proto3" json:"reference_ids,omitempty"` - // Order-independent MD5 checksum which identifies this reference set. The - // checksum is computed by sorting all lower case hexidecimal string - // `reference.md5checksum` (for all reference in this set) in - // ascending lexicographic order, concatenating, and taking the MD5 of that - // value. The resulting value is represented in lower case hexadecimal format. - Md5Checksum string `protobuf:"bytes,3,opt,name=md5checksum,proto3" json:"md5checksum,omitempty"` - // ID from http://www.ncbi.nlm.nih.gov/taxonomy (for example, 9606 for human) - // indicating the species which this reference set is intended to model. Note - // that contained references may specify a different `ncbiTaxonId`, as - // assemblies may contain reference sequences which do not belong to the - // modeled species, for example EBV in a human reference genome. - NcbiTaxonId int32 `protobuf:"varint,4,opt,name=ncbi_taxon_id,json=ncbiTaxonId,proto3" json:"ncbi_taxon_id,omitempty"` - // Free text description of this reference set. - Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` - // Public id of this reference set, such as `GRCh37`. - AssemblyId string `protobuf:"bytes,6,opt,name=assembly_id,json=assemblyId,proto3" json:"assembly_id,omitempty"` - // The URI from which the references were obtained. - SourceUri string `protobuf:"bytes,7,opt,name=source_uri,json=sourceUri,proto3" json:"source_uri,omitempty"` - // All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally - // with a version number, for example `NC_000001.11`. - SourceAccessions []string `protobuf:"bytes,8,rep,name=source_accessions,json=sourceAccessions,proto3" json:"source_accessions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_008bb4c9c386df7c, []int{1} -} - -func (m *ReferenceSet) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReferenceSet.Unmarshal(m, b) -} -func (m *ReferenceSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReferenceSet.Marshal(b, m, deterministic) -} -func (m *ReferenceSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReferenceSet.Merge(m, src) -} -func (m *ReferenceSet) XXX_Size() int { - return xxx_messageInfo_ReferenceSet.Size(m) -} -func (m *ReferenceSet) XXX_DiscardUnknown() { - xxx_messageInfo_ReferenceSet.DiscardUnknown(m) -} - -var xxx_messageInfo_ReferenceSet proto.InternalMessageInfo - -func (m *ReferenceSet) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *ReferenceSet) GetReferenceIds() []string { - if m != nil { - return m.ReferenceIds - } - return nil -} - -func (m *ReferenceSet) GetMd5Checksum() string { - if m != nil { - return m.Md5Checksum - } - return "" -} - -func (m *ReferenceSet) GetNcbiTaxonId() int32 { - if m != nil { - return m.NcbiTaxonId - } - return 0 -} - -func (m *ReferenceSet) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *ReferenceSet) GetAssemblyId() string { - if m != nil { - return m.AssemblyId - } - return "" -} - -func (m *ReferenceSet) GetSourceUri() string { - if m != nil { - return m.SourceUri - } - return "" -} - -func (m *ReferenceSet) GetSourceAccessions() []string { - if m != nil { - return m.SourceAccessions - } - return nil -} - -type SearchReferenceSetsRequest struct { - // If present, return reference sets for which the - // [md5checksum][google.genomics.v1.ReferenceSet.md5checksum] matches exactly. - Md5Checksums []string `protobuf:"bytes,1,rep,name=md5checksums,proto3" json:"md5checksums,omitempty"` - // If present, return reference sets for which a prefix of any of - // [sourceAccessions][google.genomics.v1.ReferenceSet.source_accessions] - // match any of these strings. Accession numbers typically have a main number - // and a version, for example `NC_000001.11`. - Accessions []string `protobuf:"bytes,2,rep,name=accessions,proto3" json:"accessions,omitempty"` - // If present, return reference sets for which a substring of their - // `assemblyId` matches this string (case insensitive). - AssemblyId string `protobuf:"bytes,3,opt,name=assembly_id,json=assemblyId,proto3" json:"assembly_id,omitempty"` - // The continuation token, which is used to page through large result sets. - // To get the next page of results, set this parameter to the value of - // `nextPageToken` from the previous response. - PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // The maximum number of results to return in a single page. If unspecified, - // defaults to 1024. The maximum value is 4096. - PageSize int32 `protobuf:"varint,5,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 *SearchReferenceSetsRequest) Reset() { *m = SearchReferenceSetsRequest{} } -func (m *SearchReferenceSetsRequest) String() string { return proto.CompactTextString(m) } -func (*SearchReferenceSetsRequest) ProtoMessage() {} -func (*SearchReferenceSetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_008bb4c9c386df7c, []int{2} -} - -func (m *SearchReferenceSetsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchReferenceSetsRequest.Unmarshal(m, b) -} -func (m *SearchReferenceSetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchReferenceSetsRequest.Marshal(b, m, deterministic) -} -func (m *SearchReferenceSetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchReferenceSetsRequest.Merge(m, src) -} -func (m *SearchReferenceSetsRequest) XXX_Size() int { - return xxx_messageInfo_SearchReferenceSetsRequest.Size(m) -} -func (m *SearchReferenceSetsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SearchReferenceSetsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchReferenceSetsRequest proto.InternalMessageInfo - -func (m *SearchReferenceSetsRequest) GetMd5Checksums() []string { - if m != nil { - return m.Md5Checksums - } - return nil -} - -func (m *SearchReferenceSetsRequest) GetAccessions() []string { - if m != nil { - return m.Accessions - } - return nil -} - -func (m *SearchReferenceSetsRequest) GetAssemblyId() string { - if m != nil { - return m.AssemblyId - } - return "" -} - -func (m *SearchReferenceSetsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *SearchReferenceSetsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -type SearchReferenceSetsResponse struct { - // The matching references sets. - ReferenceSets []*ReferenceSet `protobuf:"bytes,1,rep,name=reference_sets,json=referenceSets,proto3" json:"reference_sets,omitempty"` - // The continuation token, which is used to page through large result sets. - // Provide this value in a subsequent request to return the next page of - // results. This field will be empty if there aren't any additional 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 *SearchReferenceSetsResponse) Reset() { *m = SearchReferenceSetsResponse{} } -func (m *SearchReferenceSetsResponse) String() string { return proto.CompactTextString(m) } -func (*SearchReferenceSetsResponse) ProtoMessage() {} -func (*SearchReferenceSetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_008bb4c9c386df7c, []int{3} -} - -func (m *SearchReferenceSetsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchReferenceSetsResponse.Unmarshal(m, b) -} -func (m *SearchReferenceSetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchReferenceSetsResponse.Marshal(b, m, deterministic) -} -func (m *SearchReferenceSetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchReferenceSetsResponse.Merge(m, src) -} -func (m *SearchReferenceSetsResponse) XXX_Size() int { - return xxx_messageInfo_SearchReferenceSetsResponse.Size(m) -} -func (m *SearchReferenceSetsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SearchReferenceSetsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchReferenceSetsResponse proto.InternalMessageInfo - -func (m *SearchReferenceSetsResponse) GetReferenceSets() []*ReferenceSet { - if m != nil { - return m.ReferenceSets - } - return nil -} - -func (m *SearchReferenceSetsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -type GetReferenceSetRequest struct { - // The ID of the reference set. - ReferenceSetId string `protobuf:"bytes,1,opt,name=reference_set_id,json=referenceSetId,proto3" json:"reference_set_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_008bb4c9c386df7c, []int{4} -} - -func (m *GetReferenceSetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetReferenceSetRequest.Unmarshal(m, b) -} -func (m *GetReferenceSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetReferenceSetRequest.Marshal(b, m, deterministic) -} -func (m *GetReferenceSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetReferenceSetRequest.Merge(m, src) -} -func (m *GetReferenceSetRequest) XXX_Size() int { - return xxx_messageInfo_GetReferenceSetRequest.Size(m) -} -func (m *GetReferenceSetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetReferenceSetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetReferenceSetRequest proto.InternalMessageInfo - -func (m *GetReferenceSetRequest) GetReferenceSetId() string { - if m != nil { - return m.ReferenceSetId - } - return "" -} - -type SearchReferencesRequest struct { - // If present, return references for which the - // [md5checksum][google.genomics.v1.Reference.md5checksum] matches exactly. - Md5Checksums []string `protobuf:"bytes,1,rep,name=md5checksums,proto3" json:"md5checksums,omitempty"` - // If present, return references for which a prefix of any of - // [sourceAccessions][google.genomics.v1.Reference.source_accessions] match - // any of these strings. Accession numbers typically have a main number and a - // version, for example `GCF_000001405.26`. - Accessions []string `protobuf:"bytes,2,rep,name=accessions,proto3" json:"accessions,omitempty"` - // If present, return only references which belong to this reference set. - ReferenceSetId string `protobuf:"bytes,3,opt,name=reference_set_id,json=referenceSetId,proto3" json:"reference_set_id,omitempty"` - // The continuation token, which is used to page through large result sets. - // To get the next page of results, set this parameter to the value of - // `nextPageToken` from the previous response. - PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // The maximum number of results to return in a single page. If unspecified, - // defaults to 1024. The maximum value is 4096. - PageSize int32 `protobuf:"varint,5,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 *SearchReferencesRequest) Reset() { *m = SearchReferencesRequest{} } -func (m *SearchReferencesRequest) String() string { return proto.CompactTextString(m) } -func (*SearchReferencesRequest) ProtoMessage() {} -func (*SearchReferencesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_008bb4c9c386df7c, []int{5} -} - -func (m *SearchReferencesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchReferencesRequest.Unmarshal(m, b) -} -func (m *SearchReferencesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchReferencesRequest.Marshal(b, m, deterministic) -} -func (m *SearchReferencesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchReferencesRequest.Merge(m, src) -} -func (m *SearchReferencesRequest) XXX_Size() int { - return xxx_messageInfo_SearchReferencesRequest.Size(m) -} -func (m *SearchReferencesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SearchReferencesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchReferencesRequest proto.InternalMessageInfo - -func (m *SearchReferencesRequest) GetMd5Checksums() []string { - if m != nil { - return m.Md5Checksums - } - return nil -} - -func (m *SearchReferencesRequest) GetAccessions() []string { - if m != nil { - return m.Accessions - } - return nil -} - -func (m *SearchReferencesRequest) GetReferenceSetId() string { - if m != nil { - return m.ReferenceSetId - } - return "" -} - -func (m *SearchReferencesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *SearchReferencesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -type SearchReferencesResponse struct { - // The matching references. - References []*Reference `protobuf:"bytes,1,rep,name=references,proto3" json:"references,omitempty"` - // The continuation token, which is used to page through large result sets. - // Provide this value in a subsequent request to return the next page of - // results. This field will be empty if there aren't any additional 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 *SearchReferencesResponse) Reset() { *m = SearchReferencesResponse{} } -func (m *SearchReferencesResponse) String() string { return proto.CompactTextString(m) } -func (*SearchReferencesResponse) ProtoMessage() {} -func (*SearchReferencesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_008bb4c9c386df7c, []int{6} -} - -func (m *SearchReferencesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchReferencesResponse.Unmarshal(m, b) -} -func (m *SearchReferencesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchReferencesResponse.Marshal(b, m, deterministic) -} -func (m *SearchReferencesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchReferencesResponse.Merge(m, src) -} -func (m *SearchReferencesResponse) XXX_Size() int { - return xxx_messageInfo_SearchReferencesResponse.Size(m) -} -func (m *SearchReferencesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SearchReferencesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchReferencesResponse proto.InternalMessageInfo - -func (m *SearchReferencesResponse) GetReferences() []*Reference { - if m != nil { - return m.References - } - return nil -} - -func (m *SearchReferencesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -type GetReferenceRequest struct { - // The ID of the reference. - ReferenceId string `protobuf:"bytes,1,opt,name=reference_id,json=referenceId,proto3" json:"reference_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_008bb4c9c386df7c, []int{7} -} - -func (m *GetReferenceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetReferenceRequest.Unmarshal(m, b) -} -func (m *GetReferenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetReferenceRequest.Marshal(b, m, deterministic) -} -func (m *GetReferenceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetReferenceRequest.Merge(m, src) -} -func (m *GetReferenceRequest) XXX_Size() int { - return xxx_messageInfo_GetReferenceRequest.Size(m) -} -func (m *GetReferenceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetReferenceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetReferenceRequest proto.InternalMessageInfo - -func (m *GetReferenceRequest) GetReferenceId() string { - if m != nil { - return m.ReferenceId - } - return "" -} - -type ListBasesRequest struct { - // The ID of the reference. - ReferenceId string `protobuf:"bytes,1,opt,name=reference_id,json=referenceId,proto3" json:"reference_id,omitempty"` - // The start position (0-based) of this query. Defaults to 0. - Start int64 `protobuf:"varint,2,opt,name=start,proto3" json:"start,omitempty"` - // The end position (0-based, exclusive) of this query. Defaults to the length - // of this reference. - End int64 `protobuf:"varint,3,opt,name=end,proto3" json:"end,omitempty"` - // The continuation token, which is used to page through large result sets. - // To get the next page of results, set this parameter to the value of - // `nextPageToken` from the previous response. - PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // The maximum number of bases to return in a single page. If unspecified, - // defaults to 200Kbp (kilo base pairs). The maximum value is 10Mbp (mega base - // pairs). - PageSize int32 `protobuf:"varint,5,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 *ListBasesRequest) Reset() { *m = ListBasesRequest{} } -func (m *ListBasesRequest) String() string { return proto.CompactTextString(m) } -func (*ListBasesRequest) ProtoMessage() {} -func (*ListBasesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_008bb4c9c386df7c, []int{8} -} - -func (m *ListBasesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListBasesRequest.Unmarshal(m, b) -} -func (m *ListBasesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListBasesRequest.Marshal(b, m, deterministic) -} -func (m *ListBasesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListBasesRequest.Merge(m, src) -} -func (m *ListBasesRequest) XXX_Size() int { - return xxx_messageInfo_ListBasesRequest.Size(m) -} -func (m *ListBasesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListBasesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListBasesRequest proto.InternalMessageInfo - -func (m *ListBasesRequest) GetReferenceId() string { - if m != nil { - return m.ReferenceId - } - return "" -} - -func (m *ListBasesRequest) GetStart() int64 { - if m != nil { - return m.Start - } - return 0 -} - -func (m *ListBasesRequest) GetEnd() int64 { - if m != nil { - return m.End - } - return 0 -} - -func (m *ListBasesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListBasesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -type ListBasesResponse struct { - // The offset position (0-based) of the given `sequence` from the - // start of this `Reference`. This value will differ for each page - // in a paginated request. - Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` - // A substring of the bases that make up this reference. - Sequence string `protobuf:"bytes,2,opt,name=sequence,proto3" json:"sequence,omitempty"` - // The continuation token, which is used to page through large result sets. - // Provide this value in a subsequent request to return the next page of - // results. This field will be empty if there aren't any additional 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 *ListBasesResponse) Reset() { *m = ListBasesResponse{} } -func (m *ListBasesResponse) String() string { return proto.CompactTextString(m) } -func (*ListBasesResponse) ProtoMessage() {} -func (*ListBasesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_008bb4c9c386df7c, []int{9} -} - -func (m *ListBasesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListBasesResponse.Unmarshal(m, b) -} -func (m *ListBasesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListBasesResponse.Marshal(b, m, deterministic) -} -func (m *ListBasesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListBasesResponse.Merge(m, src) -} -func (m *ListBasesResponse) XXX_Size() int { - return xxx_messageInfo_ListBasesResponse.Size(m) -} -func (m *ListBasesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListBasesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListBasesResponse proto.InternalMessageInfo - -func (m *ListBasesResponse) GetOffset() int64 { - if m != nil { - return m.Offset - } - return 0 -} - -func (m *ListBasesResponse) GetSequence() string { - if m != nil { - return m.Sequence - } - return "" -} - -func (m *ListBasesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -func init() { - proto.RegisterType((*Reference)(nil), "google.genomics.v1.Reference") - proto.RegisterType((*ReferenceSet)(nil), "google.genomics.v1.ReferenceSet") - proto.RegisterType((*SearchReferenceSetsRequest)(nil), "google.genomics.v1.SearchReferenceSetsRequest") - proto.RegisterType((*SearchReferenceSetsResponse)(nil), "google.genomics.v1.SearchReferenceSetsResponse") - proto.RegisterType((*GetReferenceSetRequest)(nil), "google.genomics.v1.GetReferenceSetRequest") - proto.RegisterType((*SearchReferencesRequest)(nil), "google.genomics.v1.SearchReferencesRequest") - proto.RegisterType((*SearchReferencesResponse)(nil), "google.genomics.v1.SearchReferencesResponse") - proto.RegisterType((*GetReferenceRequest)(nil), "google.genomics.v1.GetReferenceRequest") - proto.RegisterType((*ListBasesRequest)(nil), "google.genomics.v1.ListBasesRequest") - proto.RegisterType((*ListBasesResponse)(nil), "google.genomics.v1.ListBasesResponse") -} - -func init() { - proto.RegisterFile("google/genomics/v1/references.proto", fileDescriptor_008bb4c9c386df7c) -} - -var fileDescriptor_008bb4c9c386df7c = []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, - 0x62, 0x35, 0x95, 0x57, 0x29, 0x42, 0x42, 0x45, 0x1c, 0xc8, 0xa5, 0x8a, 0xc4, 0x21, 0xda, 0x14, - 0x0e, 0x5c, 0x56, 0x9b, 0xdd, 0x89, 0x33, 0x34, 0xde, 0x31, 0x3b, 0x93, 0xa8, 0xb4, 0xca, 0x01, - 0x24, 0x8e, 0xc0, 0x81, 0x0b, 0x88, 0xdf, 0xc2, 0x89, 0x9f, 0xc0, 0x09, 0x71, 0xe5, 0x47, 0x70, - 0x44, 0x33, 0x3b, 0xbb, 0x1e, 0xaf, 0x97, 0xd8, 0x52, 0xb9, 0xed, 0x7c, 0xf3, 0xe6, 0xcd, 0xf7, - 0x7d, 0x6f, 0xde, 0xec, 0xc0, 0xee, 0x98, 0xf3, 0xf1, 0x05, 0xf5, 0xc7, 0x34, 0xe5, 0x13, 0x16, - 0x0b, 0xff, 0xea, 0xc0, 0xcf, 0xe8, 0x19, 0xcd, 0x68, 0x1a, 0x53, 0x31, 0x9a, 0x66, 0x5c, 0x72, - 0xc4, 0x3c, 0x68, 0x54, 0x04, 0x8d, 0xae, 0x0e, 0xfa, 0x6f, 0x9b, 0x85, 0xd1, 0x94, 0xf9, 0x51, - 0x9a, 0x72, 0x19, 0x49, 0xc6, 0x53, 0xb3, 0xc2, 0xfb, 0x93, 0x40, 0x3b, 0x28, 0xd2, 0xe0, 0x26, - 0x34, 0x58, 0xe2, 0x92, 0x01, 0x19, 0xb6, 0x83, 0x06, 0x4b, 0x70, 0x1b, 0x5a, 0x17, 0x34, 0x1d, - 0xcb, 0x73, 0xb7, 0x31, 0x20, 0x43, 0x27, 0x30, 0x23, 0x1c, 0x40, 0x67, 0x92, 0x7c, 0x10, 0x9f, - 0xd3, 0xf8, 0xb9, 0xb8, 0x9c, 0xb8, 0x8e, 0x5e, 0x60, 0x43, 0x88, 0xb0, 0x96, 0x46, 0x13, 0xea, - 0xae, 0xe9, 0x29, 0xfd, 0x8d, 0x3b, 0x00, 0x82, 0x5f, 0x66, 0x31, 0x0d, 0x2f, 0x33, 0xe6, 0x36, - 0xf5, 0x4c, 0x3b, 0x47, 0x3e, 0xcb, 0x18, 0xee, 0xc3, 0x6d, 0x33, 0x1d, 0xc5, 0x31, 0x15, 0x42, - 0xb1, 0x74, 0x5b, 0x03, 0x67, 0xd8, 0x0e, 0x7a, 0xf9, 0xc4, 0x27, 0x25, 0x8e, 0x1e, 0x6c, 0xa4, - 0xf1, 0x29, 0x0b, 0x65, 0xf4, 0x82, 0xa7, 0x21, 0x4b, 0xdc, 0x5b, 0x03, 0x32, 0x6c, 0x06, 0x1d, - 0x05, 0x3e, 0x53, 0xd8, 0x51, 0xe2, 0xfd, 0xdc, 0x80, 0x6e, 0xa9, 0xed, 0x84, 0xca, 0x05, 0x79, - 0xbb, 0xb0, 0x51, 0x5a, 0x18, 0xb2, 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0x00, 0x00, 0x00, 0xff, 0xff, 0xd7, 0x9f, 0xb6, 0x11, 0xc6, - 0x09, 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 - -// ReferenceServiceV1Client is the client API for ReferenceServiceV1 service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ReferenceServiceV1Client interface { - // Searches for reference sets which match the given criteria. - // - // For the definitions of references and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // Implements - // [GlobalAllianceApi.searchReferenceSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L71) - SearchReferenceSets(ctx context.Context, in *SearchReferenceSetsRequest, opts ...grpc.CallOption) (*SearchReferenceSetsResponse, error) - // Gets a reference set. - // - // For the definitions of references and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // Implements - // [GlobalAllianceApi.getReferenceSet](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L83). - GetReferenceSet(ctx context.Context, in *GetReferenceSetRequest, opts ...grpc.CallOption) (*ReferenceSet, error) - // Searches for references which match the given criteria. - // - // For the definitions of references and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // Implements - // [GlobalAllianceApi.searchReferences](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L146). - SearchReferences(ctx context.Context, in *SearchReferencesRequest, opts ...grpc.CallOption) (*SearchReferencesResponse, error) - // Gets a reference. - // - // For the definitions of references and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // Implements - // [GlobalAllianceApi.getReference](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L158). - GetReference(ctx context.Context, in *GetReferenceRequest, opts ...grpc.CallOption) (*Reference, error) - // Lists the bases in a reference, optionally restricted to a range. - // - // For the definitions of references and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // Implements - // [GlobalAllianceApi.getReferenceBases](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L221). - ListBases(ctx context.Context, in *ListBasesRequest, opts ...grpc.CallOption) (*ListBasesResponse, error) -} - -type referenceServiceV1Client struct { - cc *grpc.ClientConn -} - -func NewReferenceServiceV1Client(cc *grpc.ClientConn) ReferenceServiceV1Client { - return &referenceServiceV1Client{cc} -} - -func (c *referenceServiceV1Client) SearchReferenceSets(ctx context.Context, in *SearchReferenceSetsRequest, opts ...grpc.CallOption) (*SearchReferenceSetsResponse, error) { - out := new(SearchReferenceSetsResponse) - err := c.cc.Invoke(ctx, "/google.genomics.v1.ReferenceServiceV1/SearchReferenceSets", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *referenceServiceV1Client) GetReferenceSet(ctx context.Context, in *GetReferenceSetRequest, opts ...grpc.CallOption) (*ReferenceSet, error) { - out := new(ReferenceSet) - err := c.cc.Invoke(ctx, "/google.genomics.v1.ReferenceServiceV1/GetReferenceSet", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *referenceServiceV1Client) SearchReferences(ctx context.Context, in *SearchReferencesRequest, opts ...grpc.CallOption) (*SearchReferencesResponse, error) { - out := new(SearchReferencesResponse) - err := c.cc.Invoke(ctx, "/google.genomics.v1.ReferenceServiceV1/SearchReferences", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *referenceServiceV1Client) GetReference(ctx context.Context, in *GetReferenceRequest, opts ...grpc.CallOption) (*Reference, error) { - out := new(Reference) - err := c.cc.Invoke(ctx, "/google.genomics.v1.ReferenceServiceV1/GetReference", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *referenceServiceV1Client) ListBases(ctx context.Context, in *ListBasesRequest, opts ...grpc.CallOption) (*ListBasesResponse, error) { - out := new(ListBasesResponse) - err := c.cc.Invoke(ctx, "/google.genomics.v1.ReferenceServiceV1/ListBases", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ReferenceServiceV1Server is the server API for ReferenceServiceV1 service. -type ReferenceServiceV1Server interface { - // Searches for reference sets which match the given criteria. - // - // For the definitions of references and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // Implements - // [GlobalAllianceApi.searchReferenceSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L71) - SearchReferenceSets(context.Context, *SearchReferenceSetsRequest) (*SearchReferenceSetsResponse, error) - // Gets a reference set. - // - // For the definitions of references and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // Implements - // [GlobalAllianceApi.getReferenceSet](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L83). - GetReferenceSet(context.Context, *GetReferenceSetRequest) (*ReferenceSet, error) - // Searches for references which match the given criteria. - // - // For the definitions of references and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // Implements - // [GlobalAllianceApi.searchReferences](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L146). - SearchReferences(context.Context, *SearchReferencesRequest) (*SearchReferencesResponse, error) - // Gets a reference. - // - // For the definitions of references and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // Implements - // [GlobalAllianceApi.getReference](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L158). - GetReference(context.Context, *GetReferenceRequest) (*Reference, error) - // Lists the bases in a reference, optionally restricted to a range. - // - // For the definitions of references and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // Implements - // [GlobalAllianceApi.getReferenceBases](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L221). - ListBases(context.Context, *ListBasesRequest) (*ListBasesResponse, error) -} - -// UnimplementedReferenceServiceV1Server can be embedded to have forward compatible implementations. -type UnimplementedReferenceServiceV1Server struct { -} - -func (*UnimplementedReferenceServiceV1Server) SearchReferenceSets(ctx context.Context, req *SearchReferenceSetsRequest) (*SearchReferenceSetsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchReferenceSets not implemented") -} -func (*UnimplementedReferenceServiceV1Server) GetReferenceSet(ctx context.Context, req *GetReferenceSetRequest) (*ReferenceSet, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetReferenceSet not implemented") -} -func (*UnimplementedReferenceServiceV1Server) SearchReferences(ctx context.Context, req *SearchReferencesRequest) (*SearchReferencesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchReferences not implemented") -} -func (*UnimplementedReferenceServiceV1Server) GetReference(ctx context.Context, req *GetReferenceRequest) (*Reference, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetReference not implemented") -} -func (*UnimplementedReferenceServiceV1Server) ListBases(ctx context.Context, req *ListBasesRequest) (*ListBasesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListBases not implemented") -} - -func RegisterReferenceServiceV1Server(s *grpc.Server, srv ReferenceServiceV1Server) { - s.RegisterService(&_ReferenceServiceV1_serviceDesc, srv) -} - -func _ReferenceServiceV1_SearchReferenceSets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchReferenceSetsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ReferenceServiceV1Server).SearchReferenceSets(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.ReferenceServiceV1/SearchReferenceSets", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ReferenceServiceV1Server).SearchReferenceSets(ctx, req.(*SearchReferenceSetsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ReferenceServiceV1_GetReferenceSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetReferenceSetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ReferenceServiceV1Server).GetReferenceSet(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.ReferenceServiceV1/GetReferenceSet", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ReferenceServiceV1Server).GetReferenceSet(ctx, req.(*GetReferenceSetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ReferenceServiceV1_SearchReferences_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchReferencesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ReferenceServiceV1Server).SearchReferences(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.ReferenceServiceV1/SearchReferences", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ReferenceServiceV1Server).SearchReferences(ctx, req.(*SearchReferencesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ReferenceServiceV1_GetReference_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetReferenceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ReferenceServiceV1Server).GetReference(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.ReferenceServiceV1/GetReference", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ReferenceServiceV1Server).GetReference(ctx, req.(*GetReferenceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ReferenceServiceV1_ListBases_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListBasesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ReferenceServiceV1Server).ListBases(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.ReferenceServiceV1/ListBases", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ReferenceServiceV1Server).ListBases(ctx, req.(*ListBasesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ReferenceServiceV1_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.genomics.v1.ReferenceServiceV1", - HandlerType: (*ReferenceServiceV1Server)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "SearchReferenceSets", - Handler: _ReferenceServiceV1_SearchReferenceSets_Handler, - }, - { - MethodName: "GetReferenceSet", - Handler: _ReferenceServiceV1_GetReferenceSet_Handler, - }, - { - MethodName: "SearchReferences", - Handler: _ReferenceServiceV1_SearchReferences_Handler, - }, - { - MethodName: "GetReference", - Handler: _ReferenceServiceV1_GetReference_Handler, - }, - { - MethodName: "ListBases", - Handler: _ReferenceServiceV1_ListBases_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/genomics/v1/references.proto", -} 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 deleted file mode 100644 index feaedc1d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/genomics/v1/variants.pb.go +++ /dev/null @@ -1,3591 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/genomics/v1/variants.proto - -package genomics - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _struct "github.com/golang/protobuf/ptypes/struct" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Operations to be performed during import on Variant info fields. -// These operations are set for each info field in the info_merge_config -// map of ImportVariantsRequest, which is plumbed down to the -// MergeVariantRequests generated by the import job. -type InfoMergeOperation int32 - -const ( - InfoMergeOperation_INFO_MERGE_OPERATION_UNSPECIFIED InfoMergeOperation = 0 - // By default, Variant info fields are persisted if the Variant doesn't - // already exist in the variantset. If the Variant is equivalent to a - // Variant already in the variantset, the incoming Variant's info field - // is ignored in favor of that of the already persisted Variant. - InfoMergeOperation_IGNORE_NEW InfoMergeOperation = 1 - // This operation removes an info field from the incoming Variant - // and persists this info field in each of the incoming Variant's Calls. - InfoMergeOperation_MOVE_TO_CALLS InfoMergeOperation = 2 -) - -var InfoMergeOperation_name = map[int32]string{ - 0: "INFO_MERGE_OPERATION_UNSPECIFIED", - 1: "IGNORE_NEW", - 2: "MOVE_TO_CALLS", -} - -var InfoMergeOperation_value = map[string]int32{ - "INFO_MERGE_OPERATION_UNSPECIFIED": 0, - "IGNORE_NEW": 1, - "MOVE_TO_CALLS": 2, -} - -func (x InfoMergeOperation) String() string { - return proto.EnumName(InfoMergeOperation_name, int32(x)) -} - -func (InfoMergeOperation) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_c2de6f9e5b6e8ed2, []int{0} -} - -type VariantSetMetadata_Type int32 - -const ( - VariantSetMetadata_TYPE_UNSPECIFIED VariantSetMetadata_Type = 0 - VariantSetMetadata_INTEGER VariantSetMetadata_Type = 1 - VariantSetMetadata_FLOAT VariantSetMetadata_Type = 2 - VariantSetMetadata_FLAG VariantSetMetadata_Type = 3 - VariantSetMetadata_CHARACTER VariantSetMetadata_Type = 4 - VariantSetMetadata_STRING VariantSetMetadata_Type = 5 -) - -var VariantSetMetadata_Type_name = map[int32]string{ - 0: "TYPE_UNSPECIFIED", - 1: "INTEGER", - 2: "FLOAT", - 3: "FLAG", - 4: "CHARACTER", - 5: "STRING", -} - -var VariantSetMetadata_Type_value = map[string]int32{ - "TYPE_UNSPECIFIED": 0, - "INTEGER": 1, - "FLOAT": 2, - "FLAG": 3, - "CHARACTER": 4, - "STRING": 5, -} - -func (x VariantSetMetadata_Type) String() string { - return proto.EnumName(VariantSetMetadata_Type_name, int32(x)) -} - -func (VariantSetMetadata_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_c2de6f9e5b6e8ed2, []int{0, 0} -} - -type ImportVariantsRequest_Format int32 - -const ( - ImportVariantsRequest_FORMAT_UNSPECIFIED ImportVariantsRequest_Format = 0 - // VCF (Variant Call Format). The VCF files may be gzip compressed. gVCF is - // also supported. - ImportVariantsRequest_FORMAT_VCF ImportVariantsRequest_Format = 1 - // Complete Genomics masterVarBeta format. The masterVarBeta files may - // be bzip2 compressed. - ImportVariantsRequest_FORMAT_COMPLETE_GENOMICS ImportVariantsRequest_Format = 2 -) - -var ImportVariantsRequest_Format_name = map[int32]string{ - 0: "FORMAT_UNSPECIFIED", - 1: "FORMAT_VCF", - 2: "FORMAT_COMPLETE_GENOMICS", -} - -var ImportVariantsRequest_Format_value = map[string]int32{ - "FORMAT_UNSPECIFIED": 0, - "FORMAT_VCF": 1, - "FORMAT_COMPLETE_GENOMICS": 2, -} - -func (x ImportVariantsRequest_Format) String() string { - return proto.EnumName(ImportVariantsRequest_Format_name, int32(x)) -} - -func (ImportVariantsRequest_Format) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_c2de6f9e5b6e8ed2, []int{6, 0} -} - -type ExportVariantSetRequest_Format int32 - -const ( - ExportVariantSetRequest_FORMAT_UNSPECIFIED ExportVariantSetRequest_Format = 0 - // Export the data to Google BigQuery. - ExportVariantSetRequest_FORMAT_BIGQUERY ExportVariantSetRequest_Format = 1 -) - -var ExportVariantSetRequest_Format_name = map[int32]string{ - 0: "FORMAT_UNSPECIFIED", - 1: "FORMAT_BIGQUERY", -} - -var ExportVariantSetRequest_Format_value = map[string]int32{ - "FORMAT_UNSPECIFIED": 0, - "FORMAT_BIGQUERY": 1, -} - -func (x ExportVariantSetRequest_Format) String() string { - return proto.EnumName(ExportVariantSetRequest_Format_name, int32(x)) -} - -func (ExportVariantSetRequest_Format) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_c2de6f9e5b6e8ed2, []int{9, 0} -} - -// Metadata describes a single piece of variant call metadata. -// These data include a top level key and either a single value string (value) -// or a list of key-value pairs (info.) -// Value and info are mutually exclusive. -type VariantSetMetadata struct { - // The top-level key. - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - // The value field for simple metadata - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - // User-provided ID field, not enforced by this API. - // Two or more pieces of structured metadata with identical - // id and key fields are considered equivalent. - Id string `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"` - // The type of data. Possible types include: Integer, Float, - // Flag, Character, and String. - Type VariantSetMetadata_Type `protobuf:"varint,5,opt,name=type,proto3,enum=google.genomics.v1.VariantSetMetadata_Type" json:"type,omitempty"` - // The number of values that can be included in a field described by this - // metadata. - Number string `protobuf:"bytes,8,opt,name=number,proto3" json:"number,omitempty"` - // A textual description of this metadata. - Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"` - // Remaining structured metadata key-value pairs. This must be of the form - // map (string key mapping to a list of string values). - Info map[string]*_struct.ListValue `protobuf:"bytes,3,rep,name=info,proto3" json:"info,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 *VariantSetMetadata) Reset() { *m = VariantSetMetadata{} } -func (m *VariantSetMetadata) String() string { return proto.CompactTextString(m) } -func (*VariantSetMetadata) ProtoMessage() {} -func (*VariantSetMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_c2de6f9e5b6e8ed2, []int{0} -} - -func (m *VariantSetMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VariantSetMetadata.Unmarshal(m, b) -} -func (m *VariantSetMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VariantSetMetadata.Marshal(b, m, deterministic) -} -func (m *VariantSetMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_VariantSetMetadata.Merge(m, src) -} -func (m *VariantSetMetadata) XXX_Size() int { - return xxx_messageInfo_VariantSetMetadata.Size(m) -} -func (m *VariantSetMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_VariantSetMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_VariantSetMetadata proto.InternalMessageInfo - -func (m *VariantSetMetadata) GetKey() string { - if m != nil { - return m.Key - } - return "" -} - -func (m *VariantSetMetadata) GetValue() string { - if m != nil { - return m.Value - } - return "" -} - -func (m *VariantSetMetadata) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *VariantSetMetadata) GetType() VariantSetMetadata_Type { - if m != nil { - return m.Type - } - return VariantSetMetadata_TYPE_UNSPECIFIED -} - -func (m *VariantSetMetadata) GetNumber() string { - if m != nil { - return m.Number - } - return "" -} - -func (m *VariantSetMetadata) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *VariantSetMetadata) GetInfo() map[string]*_struct.ListValue { - if m != nil { - return m.Info - } - return nil -} - -// A variant set is a collection of call sets and variants. It contains summary -// statistics of those contents. A variant set belongs to a dataset. -// -// For more genomics resource definitions, see [Fundamentals of Google -// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) -type VariantSet struct { - // The dataset to which this variant set belongs. - DatasetId string `protobuf:"bytes,1,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"` - // The server-generated variant set ID, unique across all variant sets. - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // The reference set to which the variant set is mapped. The reference set - // describes the alignment provenance of the variant set, while the - // `referenceBounds` describe the shape of the actual variant data. The - // reference set's reference names are a superset of those found in the - // `referenceBounds`. - // - // For example, given a variant set that is mapped to the GRCh38 reference set - // and contains a single variant on reference 'X', `referenceBounds` would - // contain only an entry for 'X', while the associated reference set - // enumerates all possible references: '1', '2', 'X', 'Y', 'MT', etc. - ReferenceSetId string `protobuf:"bytes,6,opt,name=reference_set_id,json=referenceSetId,proto3" json:"reference_set_id,omitempty"` - // A list of all references used by the variants in a variant set - // with associated coordinate upper bounds for each one. - ReferenceBounds []*ReferenceBound `protobuf:"bytes,5,rep,name=reference_bounds,json=referenceBounds,proto3" json:"reference_bounds,omitempty"` - // The metadata associated with this variant set. - Metadata []*VariantSetMetadata `protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty"` - // User-specified, mutable name. - Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` - // A textual description of this variant set. - Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c2de6f9e5b6e8ed2, []int{1} -} - -func (m *VariantSet) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VariantSet.Unmarshal(m, b) -} -func (m *VariantSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VariantSet.Marshal(b, m, deterministic) -} -func (m *VariantSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_VariantSet.Merge(m, src) -} -func (m *VariantSet) XXX_Size() int { - return xxx_messageInfo_VariantSet.Size(m) -} -func (m *VariantSet) XXX_DiscardUnknown() { - xxx_messageInfo_VariantSet.DiscardUnknown(m) -} - -var xxx_messageInfo_VariantSet proto.InternalMessageInfo - -func (m *VariantSet) GetDatasetId() string { - if m != nil { - return m.DatasetId - } - return "" -} - -func (m *VariantSet) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *VariantSet) GetReferenceSetId() string { - if m != nil { - return m.ReferenceSetId - } - return "" -} - -func (m *VariantSet) GetReferenceBounds() []*ReferenceBound { - if m != nil { - return m.ReferenceBounds - } - return nil -} - -func (m *VariantSet) GetMetadata() []*VariantSetMetadata { - if m != nil { - return m.Metadata - } - return nil -} - -func (m *VariantSet) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *VariantSet) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -// A variant represents a change in DNA sequence relative to a reference -// sequence. For example, a variant could represent a SNP or an insertion. -// Variants belong to a variant set. -// -// For more genomics resource definitions, see [Fundamentals of Google -// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) -// -// Each of the calls on a variant represent a determination of genotype with -// respect to that variant. For example, a call might assign probability of 0.32 -// to the occurrence of a SNP named rs1234 in a sample named NA12345. A call -// belongs to a call set, which contains related calls typically from one -// sample. -type Variant struct { - // The ID of the variant set this variant belongs to. - VariantSetId string `protobuf:"bytes,15,opt,name=variant_set_id,json=variantSetId,proto3" json:"variant_set_id,omitempty"` - // The server-generated variant ID, unique across all variants. - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // Names for the variant, for example a RefSNP ID. - Names []string `protobuf:"bytes,3,rep,name=names,proto3" json:"names,omitempty"` - // The date this variant was created, in milliseconds from the epoch. - Created int64 `protobuf:"varint,12,opt,name=created,proto3" json:"created,omitempty"` - // The reference on which this variant occurs. - // (such as `chr20` or `X`) - ReferenceName string `protobuf:"bytes,14,opt,name=reference_name,json=referenceName,proto3" json:"reference_name,omitempty"` - // The position at which this variant occurs (0-based). - // This corresponds to the first base of the string of reference bases. - Start int64 `protobuf:"varint,16,opt,name=start,proto3" json:"start,omitempty"` - // The end position (0-based) of this variant. This corresponds to the first - // base after the last base in the reference allele. So, the length of - // the reference allele is (end - start). This is useful for variants - // that don't explicitly give alternate bases, for example large deletions. - End int64 `protobuf:"varint,13,opt,name=end,proto3" json:"end,omitempty"` - // The reference bases for this variant. They start at the given - // position. - ReferenceBases string `protobuf:"bytes,6,opt,name=reference_bases,json=referenceBases,proto3" json:"reference_bases,omitempty"` - // The bases that appear instead of the reference bases. - AlternateBases []string `protobuf:"bytes,7,rep,name=alternate_bases,json=alternateBases,proto3" json:"alternate_bases,omitempty"` - // A measure of how likely this variant is to be real. - // A higher value is better. - Quality float64 `protobuf:"fixed64,8,opt,name=quality,proto3" json:"quality,omitempty"` - // A list of filters (normally quality filters) this variant has failed. - // `PASS` indicates this variant has passed all filters. - Filter []string `protobuf:"bytes,9,rep,name=filter,proto3" json:"filter,omitempty"` - // A map of additional variant information. This must be of the form - // map (string key mapping to a list of string values). - Info map[string]*_struct.ListValue `protobuf:"bytes,10,rep,name=info,proto3" json:"info,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // The variant calls for this particular variant. Each one represents the - // determination of genotype with respect to this variant. - Calls []*VariantCall `protobuf:"bytes,11,rep,name=calls,proto3" json:"calls,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c2de6f9e5b6e8ed2, []int{2} -} - -func (m *Variant) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Variant.Unmarshal(m, b) -} -func (m *Variant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Variant.Marshal(b, m, deterministic) -} -func (m *Variant) XXX_Merge(src proto.Message) { - xxx_messageInfo_Variant.Merge(m, src) -} -func (m *Variant) XXX_Size() int { - return xxx_messageInfo_Variant.Size(m) -} -func (m *Variant) XXX_DiscardUnknown() { - xxx_messageInfo_Variant.DiscardUnknown(m) -} - -var xxx_messageInfo_Variant proto.InternalMessageInfo - -func (m *Variant) GetVariantSetId() string { - if m != nil { - return m.VariantSetId - } - return "" -} - -func (m *Variant) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *Variant) GetNames() []string { - if m != nil { - return m.Names - } - return nil -} - -func (m *Variant) GetCreated() int64 { - if m != nil { - return m.Created - } - return 0 -} - -func (m *Variant) GetReferenceName() string { - if m != nil { - return m.ReferenceName - } - return "" -} - -func (m *Variant) GetStart() int64 { - if m != nil { - return m.Start - } - return 0 -} - -func (m *Variant) GetEnd() int64 { - if m != nil { - return m.End - } - return 0 -} - -func (m *Variant) GetReferenceBases() string { - if m != nil { - return m.ReferenceBases - } - return "" -} - -func (m *Variant) GetAlternateBases() []string { - if m != nil { - return m.AlternateBases - } - return nil -} - -func (m *Variant) GetQuality() float64 { - if m != nil { - return m.Quality - } - return 0 -} - -func (m *Variant) GetFilter() []string { - if m != nil { - return m.Filter - } - return nil -} - -func (m *Variant) GetInfo() map[string]*_struct.ListValue { - if m != nil { - return m.Info - } - return nil -} - -func (m *Variant) GetCalls() []*VariantCall { - if m != nil { - return m.Calls - } - return nil -} - -// A call represents the determination of genotype with respect to a particular -// variant. It may include associated information such as quality and phasing. -// For example, a call might assign a probability of 0.32 to the occurrence of -// a SNP named rs1234 in a call set with the name NA12345. -type VariantCall struct { - // The ID of the call set this variant call belongs to. - CallSetId string `protobuf:"bytes,8,opt,name=call_set_id,json=callSetId,proto3" json:"call_set_id,omitempty"` - // The name of the call set this variant call belongs to. - CallSetName string `protobuf:"bytes,9,opt,name=call_set_name,json=callSetName,proto3" json:"call_set_name,omitempty"` - // The genotype of this variant call. Each value represents either the value - // of the `referenceBases` field or a 1-based index into - // `alternateBases`. If a variant had a `referenceBases` - // value of `T` and an `alternateBases` - // value of `["A", "C"]`, and the `genotype` was - // `[2, 1]`, that would mean the call - // represented the heterozygous value `CA` for this variant. - // If the `genotype` was instead `[0, 1]`, the - // represented value would be `TA`. Ordering of the - // genotype values is important if the `phaseset` is present. - // If a genotype is not called (that is, a `.` is present in the - // GT string) -1 is returned. - Genotype []int32 `protobuf:"varint,7,rep,packed,name=genotype,proto3" json:"genotype,omitempty"` - // If this field is present, this variant call's genotype ordering implies - // the phase of the bases and is consistent with any other variant calls in - // the same reference sequence which have the same phaseset value. - // When importing data from VCF, if the genotype data was phased but no - // phase set was specified this field will be set to `*`. - Phaseset string `protobuf:"bytes,5,opt,name=phaseset,proto3" json:"phaseset,omitempty"` - // The genotype likelihoods for this variant call. Each array entry - // represents how likely a specific genotype is for this call. The value - // ordering is defined by the GL tag in the VCF spec. - // If Phred-scaled genotype likelihood scores (PL) are available and - // log10(P) genotype likelihood scores (GL) are not, PL scores are converted - // to GL scores. If both are available, PL scores are stored in `info`. - GenotypeLikelihood []float64 `protobuf:"fixed64,6,rep,packed,name=genotype_likelihood,json=genotypeLikelihood,proto3" json:"genotype_likelihood,omitempty"` - // A map of additional variant call information. This must be of the form - // map (string key mapping to a list of string values). - Info map[string]*_struct.ListValue `protobuf:"bytes,2,rep,name=info,proto3" json:"info,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 *VariantCall) Reset() { *m = VariantCall{} } -func (m *VariantCall) String() string { return proto.CompactTextString(m) } -func (*VariantCall) ProtoMessage() {} -func (*VariantCall) Descriptor() ([]byte, []int) { - return fileDescriptor_c2de6f9e5b6e8ed2, []int{3} -} - -func (m *VariantCall) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VariantCall.Unmarshal(m, b) -} -func (m *VariantCall) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VariantCall.Marshal(b, m, deterministic) -} -func (m *VariantCall) XXX_Merge(src proto.Message) { - xxx_messageInfo_VariantCall.Merge(m, src) -} -func (m *VariantCall) XXX_Size() int { - return xxx_messageInfo_VariantCall.Size(m) -} -func (m *VariantCall) XXX_DiscardUnknown() { - xxx_messageInfo_VariantCall.DiscardUnknown(m) -} - -var xxx_messageInfo_VariantCall proto.InternalMessageInfo - -func (m *VariantCall) GetCallSetId() string { - if m != nil { - return m.CallSetId - } - return "" -} - -func (m *VariantCall) GetCallSetName() string { - if m != nil { - return m.CallSetName - } - return "" -} - -func (m *VariantCall) GetGenotype() []int32 { - if m != nil { - return m.Genotype - } - return nil -} - -func (m *VariantCall) GetPhaseset() string { - if m != nil { - return m.Phaseset - } - return "" -} - -func (m *VariantCall) GetGenotypeLikelihood() []float64 { - if m != nil { - return m.GenotypeLikelihood - } - return nil -} - -func (m *VariantCall) GetInfo() map[string]*_struct.ListValue { - if m != nil { - return m.Info - } - return nil -} - -// A call set is a collection of variant calls, typically for one sample. It -// belongs to a variant set. -// -// For more genomics resource definitions, see [Fundamentals of Google -// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) -type CallSet struct { - // The server-generated call set ID, unique across all call sets. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // The call set name. - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - // The sample ID this call set corresponds to. - SampleId string `protobuf:"bytes,7,opt,name=sample_id,json=sampleId,proto3" json:"sample_id,omitempty"` - // The IDs of the variant sets this call set belongs to. This field must - // have exactly length one, as a call set belongs to a single variant set. - // This field is repeated for compatibility with the - // [GA4GH 0.5.1 - // API](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variants.avdl#L76). - VariantSetIds []string `protobuf:"bytes,6,rep,name=variant_set_ids,json=variantSetIds,proto3" json:"variant_set_ids,omitempty"` - // The date this call set was created in milliseconds from the epoch. - Created int64 `protobuf:"varint,5,opt,name=created,proto3" json:"created,omitempty"` - // A map of additional call set information. This must be of the form - // map (string key mapping to a list of string values). - Info map[string]*_struct.ListValue `protobuf:"bytes,4,rep,name=info,proto3" json:"info,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 *CallSet) Reset() { *m = CallSet{} } -func (m *CallSet) String() string { return proto.CompactTextString(m) } -func (*CallSet) ProtoMessage() {} -func (*CallSet) Descriptor() ([]byte, []int) { - return fileDescriptor_c2de6f9e5b6e8ed2, []int{4} -} - -func (m *CallSet) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CallSet.Unmarshal(m, b) -} -func (m *CallSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CallSet.Marshal(b, m, deterministic) -} -func (m *CallSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_CallSet.Merge(m, src) -} -func (m *CallSet) XXX_Size() int { - return xxx_messageInfo_CallSet.Size(m) -} -func (m *CallSet) XXX_DiscardUnknown() { - xxx_messageInfo_CallSet.DiscardUnknown(m) -} - -var xxx_messageInfo_CallSet proto.InternalMessageInfo - -func (m *CallSet) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *CallSet) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *CallSet) GetSampleId() string { - if m != nil { - return m.SampleId - } - return "" -} - -func (m *CallSet) GetVariantSetIds() []string { - if m != nil { - return m.VariantSetIds - } - return nil -} - -func (m *CallSet) GetCreated() int64 { - if m != nil { - return m.Created - } - return 0 -} - -func (m *CallSet) GetInfo() map[string]*_struct.ListValue { - if m != nil { - return m.Info - } - return nil -} - -// ReferenceBound records an upper bound for the starting coordinate of -// variants in a particular reference. -type ReferenceBound struct { - // The name of the reference associated with this reference bound. - ReferenceName string `protobuf:"bytes,1,opt,name=reference_name,json=referenceName,proto3" json:"reference_name,omitempty"` - // An upper bound (inclusive) on the starting coordinate of any - // variant in the reference sequence. - UpperBound int64 `protobuf:"varint,2,opt,name=upper_bound,json=upperBound,proto3" json:"upper_bound,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c2de6f9e5b6e8ed2, []int{5} -} - -func (m *ReferenceBound) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReferenceBound.Unmarshal(m, b) -} -func (m *ReferenceBound) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReferenceBound.Marshal(b, m, deterministic) -} -func (m *ReferenceBound) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReferenceBound.Merge(m, src) -} -func (m *ReferenceBound) XXX_Size() int { - return xxx_messageInfo_ReferenceBound.Size(m) -} -func (m *ReferenceBound) XXX_DiscardUnknown() { - xxx_messageInfo_ReferenceBound.DiscardUnknown(m) -} - -var xxx_messageInfo_ReferenceBound proto.InternalMessageInfo - -func (m *ReferenceBound) GetReferenceName() string { - if m != nil { - return m.ReferenceName - } - return "" -} - -func (m *ReferenceBound) GetUpperBound() int64 { - if m != nil { - return m.UpperBound - } - return 0 -} - -// The variant data import request. -type ImportVariantsRequest struct { - // Required. The variant set to which variant data should be imported. - VariantSetId string `protobuf:"bytes,1,opt,name=variant_set_id,json=variantSetId,proto3" json:"variant_set_id,omitempty"` - // A list of URIs referencing variant files in Google Cloud Storage. URIs can - // include wildcards [as described - // here](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames). - // Note that recursive wildcards ('**') are not supported. - SourceUris []string `protobuf:"bytes,2,rep,name=source_uris,json=sourceUris,proto3" json:"source_uris,omitempty"` - // The format of the variant data being imported. If unspecified, defaults to - // to `VCF`. - Format ImportVariantsRequest_Format `protobuf:"varint,3,opt,name=format,proto3,enum=google.genomics.v1.ImportVariantsRequest_Format" json:"format,omitempty"` - // Convert reference names to the canonical representation. - // hg19 haploytypes (those reference names containing "_hap") - // are not modified in any way. - // All other reference names are modified according to the following rules: - // The reference name is capitalized. - // The "chr" prefix is dropped for all autosomes and sex chromsomes. - // For example "chr17" becomes "17" and "chrX" becomes "X". - // All mitochondrial chromosomes ("chrM", "chrMT", etc) become "MT". - NormalizeReferenceNames bool `protobuf:"varint,5,opt,name=normalize_reference_names,json=normalizeReferenceNames,proto3" json:"normalize_reference_names,omitempty"` - // A mapping between info field keys and the InfoMergeOperations to - // be performed on them. This is plumbed down to the MergeVariantRequests - // generated by the resulting import job. - InfoMergeConfig map[string]InfoMergeOperation `protobuf:"bytes,6,rep,name=info_merge_config,json=infoMergeConfig,proto3" json:"info_merge_config,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=google.genomics.v1.InfoMergeOperation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c2de6f9e5b6e8ed2, []int{6} -} - -func (m *ImportVariantsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImportVariantsRequest.Unmarshal(m, b) -} -func (m *ImportVariantsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImportVariantsRequest.Marshal(b, m, deterministic) -} -func (m *ImportVariantsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportVariantsRequest.Merge(m, src) -} -func (m *ImportVariantsRequest) XXX_Size() int { - return xxx_messageInfo_ImportVariantsRequest.Size(m) -} -func (m *ImportVariantsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ImportVariantsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ImportVariantsRequest proto.InternalMessageInfo - -func (m *ImportVariantsRequest) GetVariantSetId() string { - if m != nil { - return m.VariantSetId - } - return "" -} - -func (m *ImportVariantsRequest) GetSourceUris() []string { - if m != nil { - return m.SourceUris - } - return nil -} - -func (m *ImportVariantsRequest) GetFormat() ImportVariantsRequest_Format { - if m != nil { - return m.Format - } - return ImportVariantsRequest_FORMAT_UNSPECIFIED -} - -func (m *ImportVariantsRequest) GetNormalizeReferenceNames() bool { - if m != nil { - return m.NormalizeReferenceNames - } - return false -} - -func (m *ImportVariantsRequest) GetInfoMergeConfig() map[string]InfoMergeOperation { - if m != nil { - return m.InfoMergeConfig - } - return nil -} - -// The variant data import response. -type ImportVariantsResponse struct { - // IDs of the call sets created during the import. - CallSetIds []string `protobuf:"bytes,1,rep,name=call_set_ids,json=callSetIds,proto3" json:"call_set_ids,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c2de6f9e5b6e8ed2, []int{7} -} - -func (m *ImportVariantsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImportVariantsResponse.Unmarshal(m, b) -} -func (m *ImportVariantsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImportVariantsResponse.Marshal(b, m, deterministic) -} -func (m *ImportVariantsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportVariantsResponse.Merge(m, src) -} -func (m *ImportVariantsResponse) XXX_Size() int { - return xxx_messageInfo_ImportVariantsResponse.Size(m) -} -func (m *ImportVariantsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ImportVariantsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ImportVariantsResponse proto.InternalMessageInfo - -func (m *ImportVariantsResponse) GetCallSetIds() []string { - if m != nil { - return m.CallSetIds - } - return nil -} - -// The CreateVariantSet request -type CreateVariantSetRequest struct { - // Required. The variant set to be created. Must have a valid `datasetId`. - VariantSet *VariantSet `protobuf:"bytes,1,opt,name=variant_set,json=variantSet,proto3" json:"variant_set,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c2de6f9e5b6e8ed2, []int{8} -} - -func (m *CreateVariantSetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateVariantSetRequest.Unmarshal(m, b) -} -func (m *CreateVariantSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateVariantSetRequest.Marshal(b, m, deterministic) -} -func (m *CreateVariantSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateVariantSetRequest.Merge(m, src) -} -func (m *CreateVariantSetRequest) XXX_Size() int { - return xxx_messageInfo_CreateVariantSetRequest.Size(m) -} -func (m *CreateVariantSetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateVariantSetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateVariantSetRequest proto.InternalMessageInfo - -func (m *CreateVariantSetRequest) GetVariantSet() *VariantSet { - if m != nil { - return m.VariantSet - } - return nil -} - -// The variant data export request. -type ExportVariantSetRequest struct { - // Required. The ID of the variant set that contains variant data which - // should be exported. The caller must have READ access to this variant set. - VariantSetId string `protobuf:"bytes,1,opt,name=variant_set_id,json=variantSetId,proto3" json:"variant_set_id,omitempty"` - // If provided, only variant call information from the specified call sets - // will be exported. By default all variant calls are exported. - CallSetIds []string `protobuf:"bytes,2,rep,name=call_set_ids,json=callSetIds,proto3" json:"call_set_ids,omitempty"` - // Required. The Google Cloud project ID that owns the destination - // BigQuery dataset. The caller must have WRITE access to this project. This - // project will also own the resulting export job. - ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The format for the exported data. - Format ExportVariantSetRequest_Format `protobuf:"varint,4,opt,name=format,proto3,enum=google.genomics.v1.ExportVariantSetRequest_Format" json:"format,omitempty"` - // Required. The BigQuery dataset to export data to. This dataset must already - // exist. Note that this is distinct from the Genomics concept of "dataset". - BigqueryDataset string `protobuf:"bytes,5,opt,name=bigquery_dataset,json=bigqueryDataset,proto3" json:"bigquery_dataset,omitempty"` - // Required. The BigQuery table to export data to. - // If the table doesn't exist, it will be created. If it already exists, it - // will be overwritten. - BigqueryTable string `protobuf:"bytes,6,opt,name=bigquery_table,json=bigqueryTable,proto3" json:"bigquery_table,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c2de6f9e5b6e8ed2, []int{9} -} - -func (m *ExportVariantSetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExportVariantSetRequest.Unmarshal(m, b) -} -func (m *ExportVariantSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExportVariantSetRequest.Marshal(b, m, deterministic) -} -func (m *ExportVariantSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportVariantSetRequest.Merge(m, src) -} -func (m *ExportVariantSetRequest) XXX_Size() int { - return xxx_messageInfo_ExportVariantSetRequest.Size(m) -} -func (m *ExportVariantSetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ExportVariantSetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ExportVariantSetRequest proto.InternalMessageInfo - -func (m *ExportVariantSetRequest) GetVariantSetId() string { - if m != nil { - return m.VariantSetId - } - return "" -} - -func (m *ExportVariantSetRequest) GetCallSetIds() []string { - if m != nil { - return m.CallSetIds - } - return nil -} - -func (m *ExportVariantSetRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *ExportVariantSetRequest) GetFormat() ExportVariantSetRequest_Format { - if m != nil { - return m.Format - } - return ExportVariantSetRequest_FORMAT_UNSPECIFIED -} - -func (m *ExportVariantSetRequest) GetBigqueryDataset() string { - if m != nil { - return m.BigqueryDataset - } - return "" -} - -func (m *ExportVariantSetRequest) GetBigqueryTable() string { - if m != nil { - return m.BigqueryTable - } - return "" -} - -// The variant set request. -type GetVariantSetRequest struct { - // Required. The ID of the variant set. - VariantSetId string `protobuf:"bytes,1,opt,name=variant_set_id,json=variantSetId,proto3" json:"variant_set_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c2de6f9e5b6e8ed2, []int{10} -} - -func (m *GetVariantSetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetVariantSetRequest.Unmarshal(m, b) -} -func (m *GetVariantSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetVariantSetRequest.Marshal(b, m, deterministic) -} -func (m *GetVariantSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetVariantSetRequest.Merge(m, src) -} -func (m *GetVariantSetRequest) XXX_Size() int { - return xxx_messageInfo_GetVariantSetRequest.Size(m) -} -func (m *GetVariantSetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetVariantSetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetVariantSetRequest proto.InternalMessageInfo - -func (m *GetVariantSetRequest) GetVariantSetId() string { - if m != nil { - return m.VariantSetId - } - return "" -} - -// The search variant sets request. -type SearchVariantSetsRequest struct { - // Exactly one dataset ID must be provided here. Only variant sets which - // belong to this dataset will be returned. - DatasetIds []string `protobuf:"bytes,1,rep,name=dataset_ids,json=datasetIds,proto3" json:"dataset_ids,omitempty"` - // The continuation token, which is used to page through large result sets. - // To get the next page of results, set this parameter to the value of - // `nextPageToken` from the previous response. - 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 page. If unspecified, - // defaults to 1024. - 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 *SearchVariantSetsRequest) Reset() { *m = SearchVariantSetsRequest{} } -func (m *SearchVariantSetsRequest) String() string { return proto.CompactTextString(m) } -func (*SearchVariantSetsRequest) ProtoMessage() {} -func (*SearchVariantSetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c2de6f9e5b6e8ed2, []int{11} -} - -func (m *SearchVariantSetsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchVariantSetsRequest.Unmarshal(m, b) -} -func (m *SearchVariantSetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchVariantSetsRequest.Marshal(b, m, deterministic) -} -func (m *SearchVariantSetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchVariantSetsRequest.Merge(m, src) -} -func (m *SearchVariantSetsRequest) XXX_Size() int { - return xxx_messageInfo_SearchVariantSetsRequest.Size(m) -} -func (m *SearchVariantSetsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SearchVariantSetsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchVariantSetsRequest proto.InternalMessageInfo - -func (m *SearchVariantSetsRequest) GetDatasetIds() []string { - if m != nil { - return m.DatasetIds - } - return nil -} - -func (m *SearchVariantSetsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *SearchVariantSetsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -// The search variant sets response. -type SearchVariantSetsResponse struct { - // The variant sets belonging to the requested dataset. - VariantSets []*VariantSet `protobuf:"bytes,1,rep,name=variant_sets,json=variantSets,proto3" json:"variant_sets,omitempty"` - // The continuation token, which is used to page through large result sets. - // Provide this value in a subsequent request to return the next page of - // results. This field will be empty if there aren't any additional 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 *SearchVariantSetsResponse) Reset() { *m = SearchVariantSetsResponse{} } -func (m *SearchVariantSetsResponse) String() string { return proto.CompactTextString(m) } -func (*SearchVariantSetsResponse) ProtoMessage() {} -func (*SearchVariantSetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c2de6f9e5b6e8ed2, []int{12} -} - -func (m *SearchVariantSetsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchVariantSetsResponse.Unmarshal(m, b) -} -func (m *SearchVariantSetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchVariantSetsResponse.Marshal(b, m, deterministic) -} -func (m *SearchVariantSetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchVariantSetsResponse.Merge(m, src) -} -func (m *SearchVariantSetsResponse) XXX_Size() int { - return xxx_messageInfo_SearchVariantSetsResponse.Size(m) -} -func (m *SearchVariantSetsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SearchVariantSetsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchVariantSetsResponse proto.InternalMessageInfo - -func (m *SearchVariantSetsResponse) GetVariantSets() []*VariantSet { - if m != nil { - return m.VariantSets - } - return nil -} - -func (m *SearchVariantSetsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The delete variant set request. -type DeleteVariantSetRequest struct { - // The ID of the variant set to be deleted. - VariantSetId string `protobuf:"bytes,1,opt,name=variant_set_id,json=variantSetId,proto3" json:"variant_set_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c2de6f9e5b6e8ed2, []int{13} -} - -func (m *DeleteVariantSetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteVariantSetRequest.Unmarshal(m, b) -} -func (m *DeleteVariantSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteVariantSetRequest.Marshal(b, m, deterministic) -} -func (m *DeleteVariantSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteVariantSetRequest.Merge(m, src) -} -func (m *DeleteVariantSetRequest) XXX_Size() int { - return xxx_messageInfo_DeleteVariantSetRequest.Size(m) -} -func (m *DeleteVariantSetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteVariantSetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteVariantSetRequest proto.InternalMessageInfo - -func (m *DeleteVariantSetRequest) GetVariantSetId() string { - if m != nil { - return m.VariantSetId - } - return "" -} - -type UpdateVariantSetRequest struct { - // The ID of the variant to be updated (must already exist). - VariantSetId string `protobuf:"bytes,1,opt,name=variant_set_id,json=variantSetId,proto3" json:"variant_set_id,omitempty"` - // The new variant data. Only the variant_set.metadata will be considered - // for update. - VariantSet *VariantSet `protobuf:"bytes,2,opt,name=variant_set,json=variantSet,proto3" json:"variant_set,omitempty"` - // An optional mask specifying which fields to update. Supported fields: - // - // * [metadata][google.genomics.v1.VariantSet.metadata]. - // * [name][google.genomics.v1.VariantSet.name]. - // * [description][google.genomics.v1.VariantSet.description]. - // - // Leaving `updateMask` unset is equivalent to specifying all mutable - // fields. - UpdateMask *field_mask.FieldMask `protobuf:"bytes,5,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 *UpdateVariantSetRequest) Reset() { *m = UpdateVariantSetRequest{} } -func (m *UpdateVariantSetRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateVariantSetRequest) ProtoMessage() {} -func (*UpdateVariantSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c2de6f9e5b6e8ed2, []int{14} -} - -func (m *UpdateVariantSetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateVariantSetRequest.Unmarshal(m, b) -} -func (m *UpdateVariantSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateVariantSetRequest.Marshal(b, m, deterministic) -} -func (m *UpdateVariantSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateVariantSetRequest.Merge(m, src) -} -func (m *UpdateVariantSetRequest) XXX_Size() int { - return xxx_messageInfo_UpdateVariantSetRequest.Size(m) -} -func (m *UpdateVariantSetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateVariantSetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateVariantSetRequest proto.InternalMessageInfo - -func (m *UpdateVariantSetRequest) GetVariantSetId() string { - if m != nil { - return m.VariantSetId - } - return "" -} - -func (m *UpdateVariantSetRequest) GetVariantSet() *VariantSet { - if m != nil { - return m.VariantSet - } - return nil -} - -func (m *UpdateVariantSetRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// The variant search request. -type SearchVariantsRequest struct { - // At most one variant set ID must be provided. Only variants from this - // variant set will be returned. If omitted, a call set id must be included in - // the request. - VariantSetIds []string `protobuf:"bytes,1,rep,name=variant_set_ids,json=variantSetIds,proto3" json:"variant_set_ids,omitempty"` - // Only return variants which have exactly this name. - VariantName string `protobuf:"bytes,2,opt,name=variant_name,json=variantName,proto3" json:"variant_name,omitempty"` - // Only return variant calls which belong to call sets with these ids. - // Leaving this blank returns all variant calls. If a variant has no - // calls belonging to any of these call sets, it won't be returned at all. - CallSetIds []string `protobuf:"bytes,3,rep,name=call_set_ids,json=callSetIds,proto3" json:"call_set_ids,omitempty"` - // Required. Only return variants in this reference sequence. - ReferenceName string `protobuf:"bytes,4,opt,name=reference_name,json=referenceName,proto3" json:"reference_name,omitempty"` - // The beginning of the window (0-based, inclusive) for which - // overlapping variants should be returned. If unspecified, defaults to 0. - Start int64 `protobuf:"varint,5,opt,name=start,proto3" json:"start,omitempty"` - // The end of the window, 0-based exclusive. If unspecified or 0, defaults to - // the length of the reference. - End int64 `protobuf:"varint,6,opt,name=end,proto3" json:"end,omitempty"` - // The continuation token, which is used to page through large result sets. - // To get the next page of results, set this parameter to the value of - // `nextPageToken` from the previous response. - PageToken string `protobuf:"bytes,7,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // The maximum number of variants to return in a single page. If unspecified, - // defaults to 5000. The maximum value is 10000. - PageSize int32 `protobuf:"varint,8,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // The maximum number of calls to return in a single page. Note that this - // limit may be exceeded in the event that a matching variant contains more - // calls than the requested maximum. If unspecified, defaults to 5000. The - // maximum value is 10000. - MaxCalls int32 `protobuf:"varint,9,opt,name=max_calls,json=maxCalls,proto3" json:"max_calls,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c2de6f9e5b6e8ed2, []int{15} -} - -func (m *SearchVariantsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchVariantsRequest.Unmarshal(m, b) -} -func (m *SearchVariantsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchVariantsRequest.Marshal(b, m, deterministic) -} -func (m *SearchVariantsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchVariantsRequest.Merge(m, src) -} -func (m *SearchVariantsRequest) XXX_Size() int { - return xxx_messageInfo_SearchVariantsRequest.Size(m) -} -func (m *SearchVariantsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SearchVariantsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchVariantsRequest proto.InternalMessageInfo - -func (m *SearchVariantsRequest) GetVariantSetIds() []string { - if m != nil { - return m.VariantSetIds - } - return nil -} - -func (m *SearchVariantsRequest) GetVariantName() string { - if m != nil { - return m.VariantName - } - return "" -} - -func (m *SearchVariantsRequest) GetCallSetIds() []string { - if m != nil { - return m.CallSetIds - } - return nil -} - -func (m *SearchVariantsRequest) GetReferenceName() string { - if m != nil { - return m.ReferenceName - } - return "" -} - -func (m *SearchVariantsRequest) GetStart() int64 { - if m != nil { - return m.Start - } - return 0 -} - -func (m *SearchVariantsRequest) GetEnd() int64 { - if m != nil { - return m.End - } - return 0 -} - -func (m *SearchVariantsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *SearchVariantsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *SearchVariantsRequest) GetMaxCalls() int32 { - if m != nil { - return m.MaxCalls - } - return 0 -} - -// The variant search response. -type SearchVariantsResponse struct { - // The list of matching Variants. - Variants []*Variant `protobuf:"bytes,1,rep,name=variants,proto3" json:"variants,omitempty"` - // The continuation token, which is used to page through large result sets. - // Provide this value in a subsequent request to return the next page of - // results. This field will be empty if there aren't any additional 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 *SearchVariantsResponse) Reset() { *m = SearchVariantsResponse{} } -func (m *SearchVariantsResponse) String() string { return proto.CompactTextString(m) } -func (*SearchVariantsResponse) ProtoMessage() {} -func (*SearchVariantsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c2de6f9e5b6e8ed2, []int{16} -} - -func (m *SearchVariantsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchVariantsResponse.Unmarshal(m, b) -} -func (m *SearchVariantsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchVariantsResponse.Marshal(b, m, deterministic) -} -func (m *SearchVariantsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchVariantsResponse.Merge(m, src) -} -func (m *SearchVariantsResponse) XXX_Size() int { - return xxx_messageInfo_SearchVariantsResponse.Size(m) -} -func (m *SearchVariantsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SearchVariantsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchVariantsResponse proto.InternalMessageInfo - -func (m *SearchVariantsResponse) GetVariants() []*Variant { - if m != nil { - return m.Variants - } - return nil -} - -func (m *SearchVariantsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -type CreateVariantRequest struct { - // The variant to be created. - Variant *Variant `protobuf:"bytes,1,opt,name=variant,proto3" json:"variant,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c2de6f9e5b6e8ed2, []int{17} -} - -func (m *CreateVariantRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateVariantRequest.Unmarshal(m, b) -} -func (m *CreateVariantRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateVariantRequest.Marshal(b, m, deterministic) -} -func (m *CreateVariantRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateVariantRequest.Merge(m, src) -} -func (m *CreateVariantRequest) XXX_Size() int { - return xxx_messageInfo_CreateVariantRequest.Size(m) -} -func (m *CreateVariantRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateVariantRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateVariantRequest proto.InternalMessageInfo - -func (m *CreateVariantRequest) GetVariant() *Variant { - if m != nil { - return m.Variant - } - return nil -} - -type UpdateVariantRequest struct { - // The ID of the variant to be updated. - VariantId string `protobuf:"bytes,1,opt,name=variant_id,json=variantId,proto3" json:"variant_id,omitempty"` - // The new variant data. - Variant *Variant `protobuf:"bytes,2,opt,name=variant,proto3" json:"variant,omitempty"` - // An optional mask specifying which fields to update. At this time, mutable - // fields are [names][google.genomics.v1.Variant.names] and - // [info][google.genomics.v1.Variant.info]. Acceptable values are "names" and - // "info". If unspecified, all mutable fields will be 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 *UpdateVariantRequest) Reset() { *m = UpdateVariantRequest{} } -func (m *UpdateVariantRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateVariantRequest) ProtoMessage() {} -func (*UpdateVariantRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c2de6f9e5b6e8ed2, []int{18} -} - -func (m *UpdateVariantRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateVariantRequest.Unmarshal(m, b) -} -func (m *UpdateVariantRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateVariantRequest.Marshal(b, m, deterministic) -} -func (m *UpdateVariantRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateVariantRequest.Merge(m, src) -} -func (m *UpdateVariantRequest) XXX_Size() int { - return xxx_messageInfo_UpdateVariantRequest.Size(m) -} -func (m *UpdateVariantRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateVariantRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateVariantRequest proto.InternalMessageInfo - -func (m *UpdateVariantRequest) GetVariantId() string { - if m != nil { - return m.VariantId - } - return "" -} - -func (m *UpdateVariantRequest) GetVariant() *Variant { - if m != nil { - return m.Variant - } - return nil -} - -func (m *UpdateVariantRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -type DeleteVariantRequest struct { - // The ID of the variant to be deleted. - VariantId string `protobuf:"bytes,1,opt,name=variant_id,json=variantId,proto3" json:"variant_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c2de6f9e5b6e8ed2, []int{19} -} - -func (m *DeleteVariantRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteVariantRequest.Unmarshal(m, b) -} -func (m *DeleteVariantRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteVariantRequest.Marshal(b, m, deterministic) -} -func (m *DeleteVariantRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteVariantRequest.Merge(m, src) -} -func (m *DeleteVariantRequest) XXX_Size() int { - return xxx_messageInfo_DeleteVariantRequest.Size(m) -} -func (m *DeleteVariantRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteVariantRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteVariantRequest proto.InternalMessageInfo - -func (m *DeleteVariantRequest) GetVariantId() string { - if m != nil { - return m.VariantId - } - return "" -} - -type GetVariantRequest struct { - // The ID of the variant. - VariantId string `protobuf:"bytes,1,opt,name=variant_id,json=variantId,proto3" json:"variant_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c2de6f9e5b6e8ed2, []int{20} -} - -func (m *GetVariantRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetVariantRequest.Unmarshal(m, b) -} -func (m *GetVariantRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetVariantRequest.Marshal(b, m, deterministic) -} -func (m *GetVariantRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetVariantRequest.Merge(m, src) -} -func (m *GetVariantRequest) XXX_Size() int { - return xxx_messageInfo_GetVariantRequest.Size(m) -} -func (m *GetVariantRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetVariantRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetVariantRequest proto.InternalMessageInfo - -func (m *GetVariantRequest) GetVariantId() string { - if m != nil { - return m.VariantId - } - return "" -} - -type MergeVariantsRequest struct { - // The destination variant set. - VariantSetId string `protobuf:"bytes,1,opt,name=variant_set_id,json=variantSetId,proto3" json:"variant_set_id,omitempty"` - // The variants to be merged with existing variants. - Variants []*Variant `protobuf:"bytes,2,rep,name=variants,proto3" json:"variants,omitempty"` - // A mapping between info field keys and the InfoMergeOperations to - // be performed on them. - InfoMergeConfig map[string]InfoMergeOperation `protobuf:"bytes,3,rep,name=info_merge_config,json=infoMergeConfig,proto3" json:"info_merge_config,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=google.genomics.v1.InfoMergeOperation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c2de6f9e5b6e8ed2, []int{21} -} - -func (m *MergeVariantsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MergeVariantsRequest.Unmarshal(m, b) -} -func (m *MergeVariantsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MergeVariantsRequest.Marshal(b, m, deterministic) -} -func (m *MergeVariantsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MergeVariantsRequest.Merge(m, src) -} -func (m *MergeVariantsRequest) XXX_Size() int { - return xxx_messageInfo_MergeVariantsRequest.Size(m) -} -func (m *MergeVariantsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MergeVariantsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_MergeVariantsRequest proto.InternalMessageInfo - -func (m *MergeVariantsRequest) GetVariantSetId() string { - if m != nil { - return m.VariantSetId - } - return "" -} - -func (m *MergeVariantsRequest) GetVariants() []*Variant { - if m != nil { - return m.Variants - } - return nil -} - -func (m *MergeVariantsRequest) GetInfoMergeConfig() map[string]InfoMergeOperation { - if m != nil { - return m.InfoMergeConfig - } - return nil -} - -// The call set search request. -type SearchCallSetsRequest struct { - // Restrict the query to call sets within the given variant sets. At least one - // ID must be provided. - VariantSetIds []string `protobuf:"bytes,1,rep,name=variant_set_ids,json=variantSetIds,proto3" json:"variant_set_ids,omitempty"` - // Only return call sets for which a substring of the name matches this - // string. - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - // The continuation token, which is used to page through large result sets. - // To get the next page of results, set this parameter to the value of - // `nextPageToken` from the previous response. - PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // The maximum number of results to return in a single page. If unspecified, - // defaults to 1024. - 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 *SearchCallSetsRequest) Reset() { *m = SearchCallSetsRequest{} } -func (m *SearchCallSetsRequest) String() string { return proto.CompactTextString(m) } -func (*SearchCallSetsRequest) ProtoMessage() {} -func (*SearchCallSetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c2de6f9e5b6e8ed2, []int{22} -} - -func (m *SearchCallSetsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchCallSetsRequest.Unmarshal(m, b) -} -func (m *SearchCallSetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchCallSetsRequest.Marshal(b, m, deterministic) -} -func (m *SearchCallSetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchCallSetsRequest.Merge(m, src) -} -func (m *SearchCallSetsRequest) XXX_Size() int { - return xxx_messageInfo_SearchCallSetsRequest.Size(m) -} -func (m *SearchCallSetsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SearchCallSetsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchCallSetsRequest proto.InternalMessageInfo - -func (m *SearchCallSetsRequest) GetVariantSetIds() []string { - if m != nil { - return m.VariantSetIds - } - return nil -} - -func (m *SearchCallSetsRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *SearchCallSetsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *SearchCallSetsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -// The call set search response. -type SearchCallSetsResponse struct { - // The list of matching call sets. - CallSets []*CallSet `protobuf:"bytes,1,rep,name=call_sets,json=callSets,proto3" json:"call_sets,omitempty"` - // The continuation token, which is used to page through large result sets. - // Provide this value in a subsequent request to return the next page of - // results. This field will be empty if there aren't any additional 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 *SearchCallSetsResponse) Reset() { *m = SearchCallSetsResponse{} } -func (m *SearchCallSetsResponse) String() string { return proto.CompactTextString(m) } -func (*SearchCallSetsResponse) ProtoMessage() {} -func (*SearchCallSetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c2de6f9e5b6e8ed2, []int{23} -} - -func (m *SearchCallSetsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchCallSetsResponse.Unmarshal(m, b) -} -func (m *SearchCallSetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchCallSetsResponse.Marshal(b, m, deterministic) -} -func (m *SearchCallSetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchCallSetsResponse.Merge(m, src) -} -func (m *SearchCallSetsResponse) XXX_Size() int { - return xxx_messageInfo_SearchCallSetsResponse.Size(m) -} -func (m *SearchCallSetsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SearchCallSetsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchCallSetsResponse proto.InternalMessageInfo - -func (m *SearchCallSetsResponse) GetCallSets() []*CallSet { - if m != nil { - return m.CallSets - } - return nil -} - -func (m *SearchCallSetsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -type CreateCallSetRequest struct { - // The call set to be created. - CallSet *CallSet `protobuf:"bytes,1,opt,name=call_set,json=callSet,proto3" json:"call_set,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c2de6f9e5b6e8ed2, []int{24} -} - -func (m *CreateCallSetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateCallSetRequest.Unmarshal(m, b) -} -func (m *CreateCallSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateCallSetRequest.Marshal(b, m, deterministic) -} -func (m *CreateCallSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateCallSetRequest.Merge(m, src) -} -func (m *CreateCallSetRequest) XXX_Size() int { - return xxx_messageInfo_CreateCallSetRequest.Size(m) -} -func (m *CreateCallSetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateCallSetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateCallSetRequest proto.InternalMessageInfo - -func (m *CreateCallSetRequest) GetCallSet() *CallSet { - if m != nil { - return m.CallSet - } - return nil -} - -type UpdateCallSetRequest struct { - // The ID of the call set to be updated. - CallSetId string `protobuf:"bytes,1,opt,name=call_set_id,json=callSetId,proto3" json:"call_set_id,omitempty"` - // The new call set data. - CallSet *CallSet `protobuf:"bytes,2,opt,name=call_set,json=callSet,proto3" json:"call_set,omitempty"` - // An optional mask specifying which fields to update. At this time, the only - // mutable field is [name][google.genomics.v1.CallSet.name]. The only - // acceptable value is "name". If unspecified, all mutable fields will be - // 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 *UpdateCallSetRequest) Reset() { *m = UpdateCallSetRequest{} } -func (m *UpdateCallSetRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateCallSetRequest) ProtoMessage() {} -func (*UpdateCallSetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c2de6f9e5b6e8ed2, []int{25} -} - -func (m *UpdateCallSetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateCallSetRequest.Unmarshal(m, b) -} -func (m *UpdateCallSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateCallSetRequest.Marshal(b, m, deterministic) -} -func (m *UpdateCallSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateCallSetRequest.Merge(m, src) -} -func (m *UpdateCallSetRequest) XXX_Size() int { - return xxx_messageInfo_UpdateCallSetRequest.Size(m) -} -func (m *UpdateCallSetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateCallSetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateCallSetRequest proto.InternalMessageInfo - -func (m *UpdateCallSetRequest) GetCallSetId() string { - if m != nil { - return m.CallSetId - } - return "" -} - -func (m *UpdateCallSetRequest) GetCallSet() *CallSet { - if m != nil { - return m.CallSet - } - return nil -} - -func (m *UpdateCallSetRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -type DeleteCallSetRequest struct { - // The ID of the call set to be deleted. - CallSetId string `protobuf:"bytes,1,opt,name=call_set_id,json=callSetId,proto3" json:"call_set_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c2de6f9e5b6e8ed2, []int{26} -} - -func (m *DeleteCallSetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteCallSetRequest.Unmarshal(m, b) -} -func (m *DeleteCallSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteCallSetRequest.Marshal(b, m, deterministic) -} -func (m *DeleteCallSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteCallSetRequest.Merge(m, src) -} -func (m *DeleteCallSetRequest) XXX_Size() int { - return xxx_messageInfo_DeleteCallSetRequest.Size(m) -} -func (m *DeleteCallSetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteCallSetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteCallSetRequest proto.InternalMessageInfo - -func (m *DeleteCallSetRequest) GetCallSetId() string { - if m != nil { - return m.CallSetId - } - return "" -} - -type GetCallSetRequest struct { - // The ID of the call set. - CallSetId string `protobuf:"bytes,1,opt,name=call_set_id,json=callSetId,proto3" json:"call_set_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c2de6f9e5b6e8ed2, []int{27} -} - -func (m *GetCallSetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCallSetRequest.Unmarshal(m, b) -} -func (m *GetCallSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCallSetRequest.Marshal(b, m, deterministic) -} -func (m *GetCallSetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCallSetRequest.Merge(m, src) -} -func (m *GetCallSetRequest) XXX_Size() int { - return xxx_messageInfo_GetCallSetRequest.Size(m) -} -func (m *GetCallSetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetCallSetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetCallSetRequest proto.InternalMessageInfo - -func (m *GetCallSetRequest) GetCallSetId() string { - if m != nil { - return m.CallSetId - } - return "" -} - -// The stream variants request. -type StreamVariantsRequest struct { - // The Google Cloud project ID which will be billed - // for this access. The caller must have WRITE access to this project. - // Required. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The variant set ID from which to stream variants. - VariantSetId string `protobuf:"bytes,2,opt,name=variant_set_id,json=variantSetId,proto3" json:"variant_set_id,omitempty"` - // Only return variant calls which belong to call sets with these IDs. - // Leaving this blank returns all variant calls. - CallSetIds []string `protobuf:"bytes,3,rep,name=call_set_ids,json=callSetIds,proto3" json:"call_set_ids,omitempty"` - // Required. Only return variants in this reference sequence. - ReferenceName string `protobuf:"bytes,4,opt,name=reference_name,json=referenceName,proto3" json:"reference_name,omitempty"` - // The beginning of the window (0-based, inclusive) for which - // overlapping variants should be returned. - Start int64 `protobuf:"varint,5,opt,name=start,proto3" json:"start,omitempty"` - // The end of the window (0-based, exclusive) for which overlapping - // variants should be returned. - End int64 `protobuf:"varint,6,opt,name=end,proto3" json:"end,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c2de6f9e5b6e8ed2, []int{28} -} - -func (m *StreamVariantsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamVariantsRequest.Unmarshal(m, b) -} -func (m *StreamVariantsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamVariantsRequest.Marshal(b, m, deterministic) -} -func (m *StreamVariantsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamVariantsRequest.Merge(m, src) -} -func (m *StreamVariantsRequest) XXX_Size() int { - return xxx_messageInfo_StreamVariantsRequest.Size(m) -} -func (m *StreamVariantsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StreamVariantsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamVariantsRequest proto.InternalMessageInfo - -func (m *StreamVariantsRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *StreamVariantsRequest) GetVariantSetId() string { - if m != nil { - return m.VariantSetId - } - return "" -} - -func (m *StreamVariantsRequest) GetCallSetIds() []string { - if m != nil { - return m.CallSetIds - } - return nil -} - -func (m *StreamVariantsRequest) GetReferenceName() string { - if m != nil { - return m.ReferenceName - } - return "" -} - -func (m *StreamVariantsRequest) GetStart() int64 { - if m != nil { - return m.Start - } - return 0 -} - -func (m *StreamVariantsRequest) GetEnd() int64 { - if m != nil { - return m.End - } - return 0 -} - -type StreamVariantsResponse struct { - Variants []*Variant `protobuf:"bytes,1,rep,name=variants,proto3" json:"variants,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c2de6f9e5b6e8ed2, []int{29} -} - -func (m *StreamVariantsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamVariantsResponse.Unmarshal(m, b) -} -func (m *StreamVariantsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamVariantsResponse.Marshal(b, m, deterministic) -} -func (m *StreamVariantsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamVariantsResponse.Merge(m, src) -} -func (m *StreamVariantsResponse) XXX_Size() int { - return xxx_messageInfo_StreamVariantsResponse.Size(m) -} -func (m *StreamVariantsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_StreamVariantsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamVariantsResponse proto.InternalMessageInfo - -func (m *StreamVariantsResponse) GetVariants() []*Variant { - if m != nil { - return m.Variants - } - return nil -} - -func init() { - proto.RegisterEnum("google.genomics.v1.InfoMergeOperation", InfoMergeOperation_name, InfoMergeOperation_value) - proto.RegisterEnum("google.genomics.v1.VariantSetMetadata_Type", VariantSetMetadata_Type_name, VariantSetMetadata_Type_value) - proto.RegisterEnum("google.genomics.v1.ImportVariantsRequest_Format", ImportVariantsRequest_Format_name, ImportVariantsRequest_Format_value) - proto.RegisterEnum("google.genomics.v1.ExportVariantSetRequest_Format", ExportVariantSetRequest_Format_name, ExportVariantSetRequest_Format_value) - proto.RegisterType((*VariantSetMetadata)(nil), "google.genomics.v1.VariantSetMetadata") - proto.RegisterMapType((map[string]*_struct.ListValue)(nil), "google.genomics.v1.VariantSetMetadata.InfoEntry") - proto.RegisterType((*VariantSet)(nil), "google.genomics.v1.VariantSet") - proto.RegisterType((*Variant)(nil), "google.genomics.v1.Variant") - proto.RegisterMapType((map[string]*_struct.ListValue)(nil), "google.genomics.v1.Variant.InfoEntry") - proto.RegisterType((*VariantCall)(nil), "google.genomics.v1.VariantCall") - proto.RegisterMapType((map[string]*_struct.ListValue)(nil), "google.genomics.v1.VariantCall.InfoEntry") - proto.RegisterType((*CallSet)(nil), "google.genomics.v1.CallSet") - proto.RegisterMapType((map[string]*_struct.ListValue)(nil), "google.genomics.v1.CallSet.InfoEntry") - proto.RegisterType((*ReferenceBound)(nil), "google.genomics.v1.ReferenceBound") - proto.RegisterType((*ImportVariantsRequest)(nil), "google.genomics.v1.ImportVariantsRequest") - proto.RegisterMapType((map[string]InfoMergeOperation)(nil), "google.genomics.v1.ImportVariantsRequest.InfoMergeConfigEntry") - proto.RegisterType((*ImportVariantsResponse)(nil), "google.genomics.v1.ImportVariantsResponse") - proto.RegisterType((*CreateVariantSetRequest)(nil), "google.genomics.v1.CreateVariantSetRequest") - proto.RegisterType((*ExportVariantSetRequest)(nil), "google.genomics.v1.ExportVariantSetRequest") - proto.RegisterType((*GetVariantSetRequest)(nil), "google.genomics.v1.GetVariantSetRequest") - proto.RegisterType((*SearchVariantSetsRequest)(nil), "google.genomics.v1.SearchVariantSetsRequest") - proto.RegisterType((*SearchVariantSetsResponse)(nil), "google.genomics.v1.SearchVariantSetsResponse") - proto.RegisterType((*DeleteVariantSetRequest)(nil), "google.genomics.v1.DeleteVariantSetRequest") - proto.RegisterType((*UpdateVariantSetRequest)(nil), "google.genomics.v1.UpdateVariantSetRequest") - proto.RegisterType((*SearchVariantsRequest)(nil), "google.genomics.v1.SearchVariantsRequest") - proto.RegisterType((*SearchVariantsResponse)(nil), "google.genomics.v1.SearchVariantsResponse") - proto.RegisterType((*CreateVariantRequest)(nil), "google.genomics.v1.CreateVariantRequest") - proto.RegisterType((*UpdateVariantRequest)(nil), "google.genomics.v1.UpdateVariantRequest") - proto.RegisterType((*DeleteVariantRequest)(nil), "google.genomics.v1.DeleteVariantRequest") - proto.RegisterType((*GetVariantRequest)(nil), "google.genomics.v1.GetVariantRequest") - proto.RegisterType((*MergeVariantsRequest)(nil), "google.genomics.v1.MergeVariantsRequest") - proto.RegisterMapType((map[string]InfoMergeOperation)(nil), "google.genomics.v1.MergeVariantsRequest.InfoMergeConfigEntry") - proto.RegisterType((*SearchCallSetsRequest)(nil), "google.genomics.v1.SearchCallSetsRequest") - proto.RegisterType((*SearchCallSetsResponse)(nil), "google.genomics.v1.SearchCallSetsResponse") - proto.RegisterType((*CreateCallSetRequest)(nil), "google.genomics.v1.CreateCallSetRequest") - proto.RegisterType((*UpdateCallSetRequest)(nil), "google.genomics.v1.UpdateCallSetRequest") - proto.RegisterType((*DeleteCallSetRequest)(nil), "google.genomics.v1.DeleteCallSetRequest") - proto.RegisterType((*GetCallSetRequest)(nil), "google.genomics.v1.GetCallSetRequest") - proto.RegisterType((*StreamVariantsRequest)(nil), "google.genomics.v1.StreamVariantsRequest") - proto.RegisterType((*StreamVariantsResponse)(nil), "google.genomics.v1.StreamVariantsResponse") -} - -func init() { proto.RegisterFile("google/genomics/v1/variants.proto", fileDescriptor_c2de6f9e5b6e8ed2) } - -var fileDescriptor_c2de6f9e5b6e8ed2 = []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, - 0xb7, 0x1d, 0x45, 0x75, 0x45, 0x9b, 0x81, 0xd3, 0x54, 0x49, 0x6a, 0x48, 0x34, 0xa5, 0xb0, 0x90, - 0x48, 0x65, 0x45, 0xbb, 0x75, 0x80, 0x82, 0x58, 0x91, 0x23, 0x7a, 0x6d, 0x72, 0x97, 0xde, 0x5d, - 0xaa, 0x96, 0x0d, 0x5f, 0x34, 0xfd, 0x42, 0x80, 0x02, 0x05, 0x1a, 0xa0, 0x57, 0xbd, 0xed, 0x45, - 0xd1, 0xa2, 0x6f, 0xe0, 0x37, 0x68, 0x7b, 0x53, 0xf4, 0x0d, 0xfa, 0x10, 0xbd, 0x2c, 0x66, 0x76, - 0x66, 0xb9, 0xbb, 0x1c, 0xae, 0x28, 0x07, 0x09, 0x7a, 0xc7, 0x39, 0x73, 0x66, 0xce, 0xd7, 0xef, - 0x9c, 0x39, 0x67, 0x25, 0xb8, 0xd6, 0xb3, 0xed, 0x5e, 0x1f, 0x97, 0x7b, 0xd8, 0xb2, 0x07, 0x66, - 0xc7, 0x2d, 0x9f, 0xdc, 0x29, 0x9f, 0x18, 0x8e, 0x69, 0x58, 0x9e, 0xbb, 0x31, 0x74, 0x6c, 0xcf, - 0x46, 0xc8, 0x67, 0xd9, 0xe0, 0x2c, 0x1b, 0x27, 0x77, 0x4a, 0x97, 0xd8, 0x31, 0x63, 0x68, 0x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xff, 0x7e, 0x5e, 0x37, 0xc0, 0x92, 0x21, 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 - -// StreamingVariantServiceClient is the client API for StreamingVariantService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type StreamingVariantServiceClient interface { - // Returns a stream of all the variants matching the search request, ordered - // by reference name, position, and ID. - StreamVariants(ctx context.Context, in *StreamVariantsRequest, opts ...grpc.CallOption) (StreamingVariantService_StreamVariantsClient, error) -} - -type streamingVariantServiceClient struct { - cc *grpc.ClientConn -} - -func NewStreamingVariantServiceClient(cc *grpc.ClientConn) StreamingVariantServiceClient { - return &streamingVariantServiceClient{cc} -} - -func (c *streamingVariantServiceClient) StreamVariants(ctx context.Context, in *StreamVariantsRequest, opts ...grpc.CallOption) (StreamingVariantService_StreamVariantsClient, error) { - stream, err := c.cc.NewStream(ctx, &_StreamingVariantService_serviceDesc.Streams[0], "/google.genomics.v1.StreamingVariantService/StreamVariants", opts...) - if err != nil { - return nil, err - } - x := &streamingVariantServiceStreamVariantsClient{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 StreamingVariantService_StreamVariantsClient interface { - Recv() (*StreamVariantsResponse, error) - grpc.ClientStream -} - -type streamingVariantServiceStreamVariantsClient struct { - grpc.ClientStream -} - -func (x *streamingVariantServiceStreamVariantsClient) Recv() (*StreamVariantsResponse, error) { - m := new(StreamVariantsResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// StreamingVariantServiceServer is the server API for StreamingVariantService service. -type StreamingVariantServiceServer interface { - // Returns a stream of all the variants matching the search request, ordered - // by reference name, position, and ID. - StreamVariants(*StreamVariantsRequest, StreamingVariantService_StreamVariantsServer) error -} - -// UnimplementedStreamingVariantServiceServer can be embedded to have forward compatible implementations. -type UnimplementedStreamingVariantServiceServer struct { -} - -func (*UnimplementedStreamingVariantServiceServer) StreamVariants(req *StreamVariantsRequest, srv StreamingVariantService_StreamVariantsServer) error { - return status.Errorf(codes.Unimplemented, "method StreamVariants not implemented") -} - -func RegisterStreamingVariantServiceServer(s *grpc.Server, srv StreamingVariantServiceServer) { - s.RegisterService(&_StreamingVariantService_serviceDesc, srv) -} - -func _StreamingVariantService_StreamVariants_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(StreamVariantsRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(StreamingVariantServiceServer).StreamVariants(m, &streamingVariantServiceStreamVariantsServer{stream}) -} - -type StreamingVariantService_StreamVariantsServer interface { - Send(*StreamVariantsResponse) error - grpc.ServerStream -} - -type streamingVariantServiceStreamVariantsServer struct { - grpc.ServerStream -} - -func (x *streamingVariantServiceStreamVariantsServer) Send(m *StreamVariantsResponse) error { - return x.ServerStream.SendMsg(m) -} - -var _StreamingVariantService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.genomics.v1.StreamingVariantService", - HandlerType: (*StreamingVariantServiceServer)(nil), - Methods: []grpc.MethodDesc{}, - Streams: []grpc.StreamDesc{ - { - StreamName: "StreamVariants", - Handler: _StreamingVariantService_StreamVariants_Handler, - ServerStreams: true, - }, - }, - Metadata: "google/genomics/v1/variants.proto", -} - -// VariantServiceV1Client is the client API for VariantServiceV1 service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type VariantServiceV1Client interface { - // Creates variant data by asynchronously importing the provided information. - // - // For the definitions of variant sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // The variants for import will be merged with any existing variant that - // matches its reference sequence, start, end, reference bases, and - // alternative bases. If no such variant exists, a new one will be created. - // - // When variants are merged, the call information from the new variant - // is added to the existing variant, and Variant info fields are merged - // as specified in - // [infoMergeConfig][google.genomics.v1.ImportVariantsRequest.info_merge_config]. - // As a special case, for single-sample VCF files, QUAL and FILTER fields will - // be moved to the call level; these are sometimes interpreted in a - // call-specific context. - // Imported VCF headers are appended to the metadata already in a variant set. - ImportVariants(ctx context.Context, in *ImportVariantsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Creates a new variant set. - // - // For the definitions of variant sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // The provided variant set must have a valid `datasetId` set - all other - // fields are optional. Note that the `id` field will be ignored, as this is - // assigned by the server. - CreateVariantSet(ctx context.Context, in *CreateVariantSetRequest, opts ...grpc.CallOption) (*VariantSet, error) - // Exports variant set data to an external destination. - // - // For the definitions of variant sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - ExportVariantSet(ctx context.Context, in *ExportVariantSetRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Gets a variant set by ID. - // - // For the definitions of variant sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - GetVariantSet(ctx context.Context, in *GetVariantSetRequest, opts ...grpc.CallOption) (*VariantSet, error) - // Returns a list of all variant sets matching search criteria. - // - // For the definitions of variant sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // Implements - // [GlobalAllianceApi.searchVariantSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L49). - SearchVariantSets(ctx context.Context, in *SearchVariantSetsRequest, opts ...grpc.CallOption) (*SearchVariantSetsResponse, error) - // Deletes a variant set including all variants, call sets, and calls within. - // This is not reversible. - // - // For the definitions of variant sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - DeleteVariantSet(ctx context.Context, in *DeleteVariantSetRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Updates a variant set using patch semantics. - // - // For the definitions of variant sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - UpdateVariantSet(ctx context.Context, in *UpdateVariantSetRequest, opts ...grpc.CallOption) (*VariantSet, error) - // Gets a list of variants matching the criteria. - // - // For the definitions of variants and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // Implements - // [GlobalAllianceApi.searchVariants](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L126). - SearchVariants(ctx context.Context, in *SearchVariantsRequest, opts ...grpc.CallOption) (*SearchVariantsResponse, error) - // Creates a new variant. - // - // For the definitions of variants and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - CreateVariant(ctx context.Context, in *CreateVariantRequest, opts ...grpc.CallOption) (*Variant, error) - // Updates a variant. - // - // For the definitions of variants and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // This method supports patch semantics. Returns the modified variant without - // its calls. - UpdateVariant(ctx context.Context, in *UpdateVariantRequest, opts ...grpc.CallOption) (*Variant, error) - // Deletes a variant. - // - // For the definitions of variants and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - DeleteVariant(ctx context.Context, in *DeleteVariantRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Gets a variant by ID. - // - // For the definitions of variants and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - GetVariant(ctx context.Context, in *GetVariantRequest, opts ...grpc.CallOption) (*Variant, error) - // Merges the given variants with existing variants. - // - // For the definitions of variants and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // Each variant will be - // merged with an existing variant that matches its reference sequence, - // start, end, reference bases, and alternative bases. If no such variant - // exists, a new one will be created. - // - // When variants are merged, the call information from the new variant - // is added to the existing variant. Variant info fields are merged as - // specified in the - // [infoMergeConfig][google.genomics.v1.MergeVariantsRequest.info_merge_config] - // field of the MergeVariantsRequest. - // - // Please exercise caution when using this method! It is easy to introduce - // mistakes in existing variants and difficult to back out of them. For - // example, - // suppose you were trying to merge a new variant with an existing one and - // both - // variants contain calls that belong to callsets with the same callset ID. - // - // // Existing variant - irrelevant fields trimmed for clarity - // { - // "variantSetId": "10473108253681171589", - // "referenceName": "1", - // "start": "10582", - // "referenceBases": "G", - // "alternateBases": [ - // "A" - // ], - // "calls": [ - // { - // "callSetId": "10473108253681171589-0", - // "callSetName": "CALLSET0", - // "genotype": [ - // 0, - // 1 - // ], - // } - // ] - // } - // - // // New variant with conflicting call information - // { - // "variantSetId": "10473108253681171589", - // "referenceName": "1", - // "start": "10582", - // "referenceBases": "G", - // "alternateBases": [ - // "A" - // ], - // "calls": [ - // { - // "callSetId": "10473108253681171589-0", - // "callSetName": "CALLSET0", - // "genotype": [ - // 1, - // 1 - // ], - // } - // ] - // } - // - // The resulting merged variant would overwrite the existing calls with those - // from the new variant: - // - // { - // "variantSetId": "10473108253681171589", - // "referenceName": "1", - // "start": "10582", - // "referenceBases": "G", - // "alternateBases": [ - // "A" - // ], - // "calls": [ - // { - // "callSetId": "10473108253681171589-0", - // "callSetName": "CALLSET0", - // "genotype": [ - // 1, - // 1 - // ], - // } - // ] - // } - // - // This may be the desired outcome, but it is up to the user to determine if - // if that is indeed the case. - MergeVariants(ctx context.Context, in *MergeVariantsRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Gets a list of call sets matching the criteria. - // - // For the definitions of call sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // Implements - // [GlobalAllianceApi.searchCallSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L178). - SearchCallSets(ctx context.Context, in *SearchCallSetsRequest, opts ...grpc.CallOption) (*SearchCallSetsResponse, error) - // Creates a new call set. - // - // For the definitions of call sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - CreateCallSet(ctx context.Context, in *CreateCallSetRequest, opts ...grpc.CallOption) (*CallSet, error) - // Updates a call set. - // - // For the definitions of call sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // This method supports patch semantics. - UpdateCallSet(ctx context.Context, in *UpdateCallSetRequest, opts ...grpc.CallOption) (*CallSet, error) - // Deletes a call set. - // - // For the definitions of call sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - DeleteCallSet(ctx context.Context, in *DeleteCallSetRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Gets a call set by ID. - // - // For the definitions of call sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - GetCallSet(ctx context.Context, in *GetCallSetRequest, opts ...grpc.CallOption) (*CallSet, error) -} - -type variantServiceV1Client struct { - cc *grpc.ClientConn -} - -func NewVariantServiceV1Client(cc *grpc.ClientConn) VariantServiceV1Client { - return &variantServiceV1Client{cc} -} - -func (c *variantServiceV1Client) ImportVariants(ctx context.Context, in *ImportVariantsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.genomics.v1.VariantServiceV1/ImportVariants", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *variantServiceV1Client) CreateVariantSet(ctx context.Context, in *CreateVariantSetRequest, opts ...grpc.CallOption) (*VariantSet, error) { - out := new(VariantSet) - err := c.cc.Invoke(ctx, "/google.genomics.v1.VariantServiceV1/CreateVariantSet", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *variantServiceV1Client) ExportVariantSet(ctx context.Context, in *ExportVariantSetRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.genomics.v1.VariantServiceV1/ExportVariantSet", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *variantServiceV1Client) GetVariantSet(ctx context.Context, in *GetVariantSetRequest, opts ...grpc.CallOption) (*VariantSet, error) { - out := new(VariantSet) - err := c.cc.Invoke(ctx, "/google.genomics.v1.VariantServiceV1/GetVariantSet", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *variantServiceV1Client) SearchVariantSets(ctx context.Context, in *SearchVariantSetsRequest, opts ...grpc.CallOption) (*SearchVariantSetsResponse, error) { - out := new(SearchVariantSetsResponse) - err := c.cc.Invoke(ctx, "/google.genomics.v1.VariantServiceV1/SearchVariantSets", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *variantServiceV1Client) DeleteVariantSet(ctx context.Context, in *DeleteVariantSetRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.genomics.v1.VariantServiceV1/DeleteVariantSet", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *variantServiceV1Client) UpdateVariantSet(ctx context.Context, in *UpdateVariantSetRequest, opts ...grpc.CallOption) (*VariantSet, error) { - out := new(VariantSet) - err := c.cc.Invoke(ctx, "/google.genomics.v1.VariantServiceV1/UpdateVariantSet", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *variantServiceV1Client) SearchVariants(ctx context.Context, in *SearchVariantsRequest, opts ...grpc.CallOption) (*SearchVariantsResponse, error) { - out := new(SearchVariantsResponse) - err := c.cc.Invoke(ctx, "/google.genomics.v1.VariantServiceV1/SearchVariants", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *variantServiceV1Client) CreateVariant(ctx context.Context, in *CreateVariantRequest, opts ...grpc.CallOption) (*Variant, error) { - out := new(Variant) - err := c.cc.Invoke(ctx, "/google.genomics.v1.VariantServiceV1/CreateVariant", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *variantServiceV1Client) UpdateVariant(ctx context.Context, in *UpdateVariantRequest, opts ...grpc.CallOption) (*Variant, error) { - out := new(Variant) - err := c.cc.Invoke(ctx, "/google.genomics.v1.VariantServiceV1/UpdateVariant", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *variantServiceV1Client) DeleteVariant(ctx context.Context, in *DeleteVariantRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.genomics.v1.VariantServiceV1/DeleteVariant", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *variantServiceV1Client) GetVariant(ctx context.Context, in *GetVariantRequest, opts ...grpc.CallOption) (*Variant, error) { - out := new(Variant) - err := c.cc.Invoke(ctx, "/google.genomics.v1.VariantServiceV1/GetVariant", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *variantServiceV1Client) MergeVariants(ctx context.Context, in *MergeVariantsRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.genomics.v1.VariantServiceV1/MergeVariants", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *variantServiceV1Client) SearchCallSets(ctx context.Context, in *SearchCallSetsRequest, opts ...grpc.CallOption) (*SearchCallSetsResponse, error) { - out := new(SearchCallSetsResponse) - err := c.cc.Invoke(ctx, "/google.genomics.v1.VariantServiceV1/SearchCallSets", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *variantServiceV1Client) CreateCallSet(ctx context.Context, in *CreateCallSetRequest, opts ...grpc.CallOption) (*CallSet, error) { - out := new(CallSet) - err := c.cc.Invoke(ctx, "/google.genomics.v1.VariantServiceV1/CreateCallSet", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *variantServiceV1Client) UpdateCallSet(ctx context.Context, in *UpdateCallSetRequest, opts ...grpc.CallOption) (*CallSet, error) { - out := new(CallSet) - err := c.cc.Invoke(ctx, "/google.genomics.v1.VariantServiceV1/UpdateCallSet", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *variantServiceV1Client) DeleteCallSet(ctx context.Context, in *DeleteCallSetRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.genomics.v1.VariantServiceV1/DeleteCallSet", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *variantServiceV1Client) GetCallSet(ctx context.Context, in *GetCallSetRequest, opts ...grpc.CallOption) (*CallSet, error) { - out := new(CallSet) - err := c.cc.Invoke(ctx, "/google.genomics.v1.VariantServiceV1/GetCallSet", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// VariantServiceV1Server is the server API for VariantServiceV1 service. -type VariantServiceV1Server interface { - // Creates variant data by asynchronously importing the provided information. - // - // For the definitions of variant sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // The variants for import will be merged with any existing variant that - // matches its reference sequence, start, end, reference bases, and - // alternative bases. If no such variant exists, a new one will be created. - // - // When variants are merged, the call information from the new variant - // is added to the existing variant, and Variant info fields are merged - // as specified in - // [infoMergeConfig][google.genomics.v1.ImportVariantsRequest.info_merge_config]. - // As a special case, for single-sample VCF files, QUAL and FILTER fields will - // be moved to the call level; these are sometimes interpreted in a - // call-specific context. - // Imported VCF headers are appended to the metadata already in a variant set. - ImportVariants(context.Context, *ImportVariantsRequest) (*longrunning.Operation, error) - // Creates a new variant set. - // - // For the definitions of variant sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // The provided variant set must have a valid `datasetId` set - all other - // fields are optional. Note that the `id` field will be ignored, as this is - // assigned by the server. - CreateVariantSet(context.Context, *CreateVariantSetRequest) (*VariantSet, error) - // Exports variant set data to an external destination. - // - // For the definitions of variant sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - ExportVariantSet(context.Context, *ExportVariantSetRequest) (*longrunning.Operation, error) - // Gets a variant set by ID. - // - // For the definitions of variant sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - GetVariantSet(context.Context, *GetVariantSetRequest) (*VariantSet, error) - // Returns a list of all variant sets matching search criteria. - // - // For the definitions of variant sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // Implements - // [GlobalAllianceApi.searchVariantSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L49). - SearchVariantSets(context.Context, *SearchVariantSetsRequest) (*SearchVariantSetsResponse, error) - // Deletes a variant set including all variants, call sets, and calls within. - // This is not reversible. - // - // For the definitions of variant sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - DeleteVariantSet(context.Context, *DeleteVariantSetRequest) (*empty.Empty, error) - // Updates a variant set using patch semantics. - // - // For the definitions of variant sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - UpdateVariantSet(context.Context, *UpdateVariantSetRequest) (*VariantSet, error) - // Gets a list of variants matching the criteria. - // - // For the definitions of variants and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // Implements - // [GlobalAllianceApi.searchVariants](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L126). - SearchVariants(context.Context, *SearchVariantsRequest) (*SearchVariantsResponse, error) - // Creates a new variant. - // - // For the definitions of variants and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - CreateVariant(context.Context, *CreateVariantRequest) (*Variant, error) - // Updates a variant. - // - // For the definitions of variants and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // This method supports patch semantics. Returns the modified variant without - // its calls. - UpdateVariant(context.Context, *UpdateVariantRequest) (*Variant, error) - // Deletes a variant. - // - // For the definitions of variants and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - DeleteVariant(context.Context, *DeleteVariantRequest) (*empty.Empty, error) - // Gets a variant by ID. - // - // For the definitions of variants and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - GetVariant(context.Context, *GetVariantRequest) (*Variant, error) - // Merges the given variants with existing variants. - // - // For the definitions of variants and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // Each variant will be - // merged with an existing variant that matches its reference sequence, - // start, end, reference bases, and alternative bases. If no such variant - // exists, a new one will be created. - // - // When variants are merged, the call information from the new variant - // is added to the existing variant. Variant info fields are merged as - // specified in the - // [infoMergeConfig][google.genomics.v1.MergeVariantsRequest.info_merge_config] - // field of the MergeVariantsRequest. - // - // Please exercise caution when using this method! It is easy to introduce - // mistakes in existing variants and difficult to back out of them. For - // example, - // suppose you were trying to merge a new variant with an existing one and - // both - // variants contain calls that belong to callsets with the same callset ID. - // - // // Existing variant - irrelevant fields trimmed for clarity - // { - // "variantSetId": "10473108253681171589", - // "referenceName": "1", - // "start": "10582", - // "referenceBases": "G", - // "alternateBases": [ - // "A" - // ], - // "calls": [ - // { - // "callSetId": "10473108253681171589-0", - // "callSetName": "CALLSET0", - // "genotype": [ - // 0, - // 1 - // ], - // } - // ] - // } - // - // // New variant with conflicting call information - // { - // "variantSetId": "10473108253681171589", - // "referenceName": "1", - // "start": "10582", - // "referenceBases": "G", - // "alternateBases": [ - // "A" - // ], - // "calls": [ - // { - // "callSetId": "10473108253681171589-0", - // "callSetName": "CALLSET0", - // "genotype": [ - // 1, - // 1 - // ], - // } - // ] - // } - // - // The resulting merged variant would overwrite the existing calls with those - // from the new variant: - // - // { - // "variantSetId": "10473108253681171589", - // "referenceName": "1", - // "start": "10582", - // "referenceBases": "G", - // "alternateBases": [ - // "A" - // ], - // "calls": [ - // { - // "callSetId": "10473108253681171589-0", - // "callSetName": "CALLSET0", - // "genotype": [ - // 1, - // 1 - // ], - // } - // ] - // } - // - // This may be the desired outcome, but it is up to the user to determine if - // if that is indeed the case. - MergeVariants(context.Context, *MergeVariantsRequest) (*empty.Empty, error) - // Gets a list of call sets matching the criteria. - // - // For the definitions of call sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // Implements - // [GlobalAllianceApi.searchCallSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L178). - SearchCallSets(context.Context, *SearchCallSetsRequest) (*SearchCallSetsResponse, error) - // Creates a new call set. - // - // For the definitions of call sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - CreateCallSet(context.Context, *CreateCallSetRequest) (*CallSet, error) - // Updates a call set. - // - // For the definitions of call sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - // - // This method supports patch semantics. - UpdateCallSet(context.Context, *UpdateCallSetRequest) (*CallSet, error) - // Deletes a call set. - // - // For the definitions of call sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - DeleteCallSet(context.Context, *DeleteCallSetRequest) (*empty.Empty, error) - // Gets a call set by ID. - // - // For the definitions of call sets and other genomics resources, see - // [Fundamentals of Google - // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - GetCallSet(context.Context, *GetCallSetRequest) (*CallSet, error) -} - -// UnimplementedVariantServiceV1Server can be embedded to have forward compatible implementations. -type UnimplementedVariantServiceV1Server struct { -} - -func (*UnimplementedVariantServiceV1Server) ImportVariants(ctx context.Context, req *ImportVariantsRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ImportVariants not implemented") -} -func (*UnimplementedVariantServiceV1Server) CreateVariantSet(ctx context.Context, req *CreateVariantSetRequest) (*VariantSet, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateVariantSet not implemented") -} -func (*UnimplementedVariantServiceV1Server) ExportVariantSet(ctx context.Context, req *ExportVariantSetRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method ExportVariantSet not implemented") -} -func (*UnimplementedVariantServiceV1Server) GetVariantSet(ctx context.Context, req *GetVariantSetRequest) (*VariantSet, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetVariantSet not implemented") -} -func (*UnimplementedVariantServiceV1Server) SearchVariantSets(ctx context.Context, req *SearchVariantSetsRequest) (*SearchVariantSetsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchVariantSets not implemented") -} -func (*UnimplementedVariantServiceV1Server) DeleteVariantSet(ctx context.Context, req *DeleteVariantSetRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteVariantSet not implemented") -} -func (*UnimplementedVariantServiceV1Server) UpdateVariantSet(ctx context.Context, req *UpdateVariantSetRequest) (*VariantSet, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateVariantSet not implemented") -} -func (*UnimplementedVariantServiceV1Server) SearchVariants(ctx context.Context, req *SearchVariantsRequest) (*SearchVariantsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchVariants not implemented") -} -func (*UnimplementedVariantServiceV1Server) CreateVariant(ctx context.Context, req *CreateVariantRequest) (*Variant, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateVariant not implemented") -} -func (*UnimplementedVariantServiceV1Server) UpdateVariant(ctx context.Context, req *UpdateVariantRequest) (*Variant, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateVariant not implemented") -} -func (*UnimplementedVariantServiceV1Server) DeleteVariant(ctx context.Context, req *DeleteVariantRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteVariant not implemented") -} -func (*UnimplementedVariantServiceV1Server) GetVariant(ctx context.Context, req *GetVariantRequest) (*Variant, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetVariant not implemented") -} -func (*UnimplementedVariantServiceV1Server) MergeVariants(ctx context.Context, req *MergeVariantsRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method MergeVariants not implemented") -} -func (*UnimplementedVariantServiceV1Server) SearchCallSets(ctx context.Context, req *SearchCallSetsRequest) (*SearchCallSetsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchCallSets not implemented") -} -func (*UnimplementedVariantServiceV1Server) CreateCallSet(ctx context.Context, req *CreateCallSetRequest) (*CallSet, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateCallSet not implemented") -} -func (*UnimplementedVariantServiceV1Server) UpdateCallSet(ctx context.Context, req *UpdateCallSetRequest) (*CallSet, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateCallSet not implemented") -} -func (*UnimplementedVariantServiceV1Server) DeleteCallSet(ctx context.Context, req *DeleteCallSetRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteCallSet not implemented") -} -func (*UnimplementedVariantServiceV1Server) GetCallSet(ctx context.Context, req *GetCallSetRequest) (*CallSet, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCallSet not implemented") -} - -func RegisterVariantServiceV1Server(s *grpc.Server, srv VariantServiceV1Server) { - s.RegisterService(&_VariantServiceV1_serviceDesc, srv) -} - -func _VariantServiceV1_ImportVariants_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ImportVariantsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VariantServiceV1Server).ImportVariants(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.VariantServiceV1/ImportVariants", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VariantServiceV1Server).ImportVariants(ctx, req.(*ImportVariantsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _VariantServiceV1_CreateVariantSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateVariantSetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VariantServiceV1Server).CreateVariantSet(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.VariantServiceV1/CreateVariantSet", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VariantServiceV1Server).CreateVariantSet(ctx, req.(*CreateVariantSetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _VariantServiceV1_ExportVariantSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ExportVariantSetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VariantServiceV1Server).ExportVariantSet(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.VariantServiceV1/ExportVariantSet", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VariantServiceV1Server).ExportVariantSet(ctx, req.(*ExportVariantSetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _VariantServiceV1_GetVariantSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetVariantSetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VariantServiceV1Server).GetVariantSet(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.VariantServiceV1/GetVariantSet", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VariantServiceV1Server).GetVariantSet(ctx, req.(*GetVariantSetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _VariantServiceV1_SearchVariantSets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchVariantSetsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VariantServiceV1Server).SearchVariantSets(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.VariantServiceV1/SearchVariantSets", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VariantServiceV1Server).SearchVariantSets(ctx, req.(*SearchVariantSetsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _VariantServiceV1_DeleteVariantSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteVariantSetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VariantServiceV1Server).DeleteVariantSet(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.VariantServiceV1/DeleteVariantSet", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VariantServiceV1Server).DeleteVariantSet(ctx, req.(*DeleteVariantSetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _VariantServiceV1_UpdateVariantSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateVariantSetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VariantServiceV1Server).UpdateVariantSet(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.VariantServiceV1/UpdateVariantSet", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VariantServiceV1Server).UpdateVariantSet(ctx, req.(*UpdateVariantSetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _VariantServiceV1_SearchVariants_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchVariantsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VariantServiceV1Server).SearchVariants(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.VariantServiceV1/SearchVariants", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VariantServiceV1Server).SearchVariants(ctx, req.(*SearchVariantsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _VariantServiceV1_CreateVariant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateVariantRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VariantServiceV1Server).CreateVariant(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.VariantServiceV1/CreateVariant", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VariantServiceV1Server).CreateVariant(ctx, req.(*CreateVariantRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _VariantServiceV1_UpdateVariant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateVariantRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VariantServiceV1Server).UpdateVariant(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.VariantServiceV1/UpdateVariant", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VariantServiceV1Server).UpdateVariant(ctx, req.(*UpdateVariantRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _VariantServiceV1_DeleteVariant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteVariantRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VariantServiceV1Server).DeleteVariant(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.VariantServiceV1/DeleteVariant", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VariantServiceV1Server).DeleteVariant(ctx, req.(*DeleteVariantRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _VariantServiceV1_GetVariant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetVariantRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VariantServiceV1Server).GetVariant(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.VariantServiceV1/GetVariant", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VariantServiceV1Server).GetVariant(ctx, req.(*GetVariantRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _VariantServiceV1_MergeVariants_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MergeVariantsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VariantServiceV1Server).MergeVariants(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.VariantServiceV1/MergeVariants", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VariantServiceV1Server).MergeVariants(ctx, req.(*MergeVariantsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _VariantServiceV1_SearchCallSets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchCallSetsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VariantServiceV1Server).SearchCallSets(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.VariantServiceV1/SearchCallSets", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VariantServiceV1Server).SearchCallSets(ctx, req.(*SearchCallSetsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _VariantServiceV1_CreateCallSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateCallSetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VariantServiceV1Server).CreateCallSet(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.VariantServiceV1/CreateCallSet", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VariantServiceV1Server).CreateCallSet(ctx, req.(*CreateCallSetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _VariantServiceV1_UpdateCallSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateCallSetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VariantServiceV1Server).UpdateCallSet(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.VariantServiceV1/UpdateCallSet", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VariantServiceV1Server).UpdateCallSet(ctx, req.(*UpdateCallSetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _VariantServiceV1_DeleteCallSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteCallSetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VariantServiceV1Server).DeleteCallSet(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.VariantServiceV1/DeleteCallSet", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VariantServiceV1Server).DeleteCallSet(ctx, req.(*DeleteCallSetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _VariantServiceV1_GetCallSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetCallSetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(VariantServiceV1Server).GetCallSet(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1.VariantServiceV1/GetCallSet", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(VariantServiceV1Server).GetCallSet(ctx, req.(*GetCallSetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _VariantServiceV1_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.genomics.v1.VariantServiceV1", - HandlerType: (*VariantServiceV1Server)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ImportVariants", - Handler: _VariantServiceV1_ImportVariants_Handler, - }, - { - MethodName: "CreateVariantSet", - Handler: _VariantServiceV1_CreateVariantSet_Handler, - }, - { - MethodName: "ExportVariantSet", - Handler: _VariantServiceV1_ExportVariantSet_Handler, - }, - { - MethodName: "GetVariantSet", - Handler: _VariantServiceV1_GetVariantSet_Handler, - }, - { - MethodName: "SearchVariantSets", - Handler: _VariantServiceV1_SearchVariantSets_Handler, - }, - { - MethodName: "DeleteVariantSet", - Handler: _VariantServiceV1_DeleteVariantSet_Handler, - }, - { - MethodName: "UpdateVariantSet", - Handler: _VariantServiceV1_UpdateVariantSet_Handler, - }, - { - MethodName: "SearchVariants", - Handler: _VariantServiceV1_SearchVariants_Handler, - }, - { - MethodName: "CreateVariant", - Handler: _VariantServiceV1_CreateVariant_Handler, - }, - { - MethodName: "UpdateVariant", - Handler: _VariantServiceV1_UpdateVariant_Handler, - }, - { - MethodName: "DeleteVariant", - Handler: _VariantServiceV1_DeleteVariant_Handler, - }, - { - MethodName: "GetVariant", - Handler: _VariantServiceV1_GetVariant_Handler, - }, - { - MethodName: "MergeVariants", - Handler: _VariantServiceV1_MergeVariants_Handler, - }, - { - MethodName: "SearchCallSets", - Handler: _VariantServiceV1_SearchCallSets_Handler, - }, - { - MethodName: "CreateCallSet", - Handler: _VariantServiceV1_CreateCallSet_Handler, - }, - { - MethodName: "UpdateCallSet", - Handler: _VariantServiceV1_UpdateCallSet_Handler, - }, - { - MethodName: "DeleteCallSet", - Handler: _VariantServiceV1_DeleteCallSet_Handler, - }, - { - MethodName: "GetCallSet", - Handler: _VariantServiceV1_GetCallSet_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/genomics/v1/variants.proto", -} 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 deleted file mode 100644 index 3dd7e252..00000000 --- a/vendor/google.golang.org/genproto/googleapis/genomics/v1alpha2/pipelines.pb.go +++ /dev/null @@ -1,2246 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/genomics/v1alpha2/pipelines.proto - -package genomics - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - empty "github.com/golang/protobuf/ptypes/empty" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - longrunning "google.golang.org/genproto/googleapis/longrunning" - code "google.golang.org/genproto/googleapis/rpc/code" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The types of disks that may be attached to VMs. -type PipelineResources_Disk_Type int32 - -const ( - // Default disk type. Use one of the other options below. - PipelineResources_Disk_TYPE_UNSPECIFIED PipelineResources_Disk_Type = 0 - // Specifies a Google Compute Engine persistent hard disk. See - // https://cloud.google.com/compute/docs/disks/#pdspecs for details. - PipelineResources_Disk_PERSISTENT_HDD PipelineResources_Disk_Type = 1 - // Specifies a Google Compute Engine persistent solid-state disk. See - // https://cloud.google.com/compute/docs/disks/#pdspecs for details. - PipelineResources_Disk_PERSISTENT_SSD PipelineResources_Disk_Type = 2 - // Specifies a Google Compute Engine local SSD. - // See https://cloud.google.com/compute/docs/disks/local-ssd for details. - PipelineResources_Disk_LOCAL_SSD PipelineResources_Disk_Type = 3 -) - -var PipelineResources_Disk_Type_name = map[int32]string{ - 0: "TYPE_UNSPECIFIED", - 1: "PERSISTENT_HDD", - 2: "PERSISTENT_SSD", - 3: "LOCAL_SSD", -} - -var PipelineResources_Disk_Type_value = map[string]int32{ - "TYPE_UNSPECIFIED": 0, - "PERSISTENT_HDD": 1, - "PERSISTENT_SSD": 2, - "LOCAL_SSD": 3, -} - -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_72a0789107b705b0, []int{16, 0, 0} -} - -// Describes a Compute Engine resource that is being managed by a running -// [pipeline][google.genomics.v1alpha2.Pipeline]. -type ComputeEngine struct { - // The instance on which the operation is running. - InstanceName string `protobuf:"bytes,1,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty"` - // The availability zone in which the instance resides. - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - // The machine type of the instance. - MachineType string `protobuf:"bytes,3,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"` - // The names of the disks that were created for this pipeline. - DiskNames []string `protobuf:"bytes,4,rep,name=disk_names,json=diskNames,proto3" json:"disk_names,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_72a0789107b705b0, []int{0} -} - -func (m *ComputeEngine) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ComputeEngine.Unmarshal(m, b) -} -func (m *ComputeEngine) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ComputeEngine.Marshal(b, m, deterministic) -} -func (m *ComputeEngine) XXX_Merge(src proto.Message) { - xxx_messageInfo_ComputeEngine.Merge(m, src) -} -func (m *ComputeEngine) XXX_Size() int { - return xxx_messageInfo_ComputeEngine.Size(m) -} -func (m *ComputeEngine) XXX_DiscardUnknown() { - xxx_messageInfo_ComputeEngine.DiscardUnknown(m) -} - -var xxx_messageInfo_ComputeEngine proto.InternalMessageInfo - -func (m *ComputeEngine) GetInstanceName() string { - if m != nil { - return m.InstanceName - } - return "" -} - -func (m *ComputeEngine) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -func (m *ComputeEngine) GetMachineType() string { - if m != nil { - return m.MachineType - } - return "" -} - -func (m *ComputeEngine) GetDiskNames() []string { - if m != nil { - return m.DiskNames - } - return nil -} - -// Runtime metadata that will be populated in the -// [runtimeMetadata][google.genomics.v1.OperationMetadata.runtime_metadata] -// field of the Operation associated with a RunPipeline execution. -type RuntimeMetadata struct { - // Execution information specific to Google Compute Engine. - ComputeEngine *ComputeEngine `protobuf:"bytes,1,opt,name=compute_engine,json=computeEngine,proto3" json:"compute_engine,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_72a0789107b705b0, []int{1} -} - -func (m *RuntimeMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RuntimeMetadata.Unmarshal(m, b) -} -func (m *RuntimeMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RuntimeMetadata.Marshal(b, m, deterministic) -} -func (m *RuntimeMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_RuntimeMetadata.Merge(m, src) -} -func (m *RuntimeMetadata) XXX_Size() int { - return xxx_messageInfo_RuntimeMetadata.Size(m) -} -func (m *RuntimeMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_RuntimeMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_RuntimeMetadata proto.InternalMessageInfo - -func (m *RuntimeMetadata) GetComputeEngine() *ComputeEngine { - if m != nil { - return m.ComputeEngine - } - return nil -} - -// The pipeline object. Represents a transformation from a set of input -// parameters to a set of output parameters. The transformation is defined -// as a docker image and command to run within that image. Each pipeline -// is run on a Google Compute Engine VM. A pipeline can be created with the -// `create` method and then later run with the `run` method, or a pipeline can -// be defined and run all at once with the `run` method. -type Pipeline struct { - // Required. The project in which to create the pipeline. The caller must have - // WRITE access. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Required. A user specified pipeline name that does not have to be unique. - // This name can be used for filtering Pipelines in ListPipelines. - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - // User-specified description. - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - // Input parameters of the pipeline. - InputParameters []*PipelineParameter `protobuf:"bytes,8,rep,name=input_parameters,json=inputParameters,proto3" json:"input_parameters,omitempty"` - // Output parameters of the pipeline. - OutputParameters []*PipelineParameter `protobuf:"bytes,9,rep,name=output_parameters,json=outputParameters,proto3" json:"output_parameters,omitempty"` - // Required. The executor indicates in which environment the pipeline runs. - // - // Types that are valid to be assigned to Executor: - // *Pipeline_Docker - Executor isPipeline_Executor `protobuf_oneof:"executor"` - // Required. Specifies resource requirements for the pipeline run. - // Required fields: - // - // * - // [minimumCpuCores][google.genomics.v1alpha2.PipelineResources.minimum_cpu_cores] - // - // * - // [minimumRamGb][google.genomics.v1alpha2.PipelineResources.minimum_ram_gb] - Resources *PipelineResources `protobuf:"bytes,6,opt,name=resources,proto3" json:"resources,omitempty"` - // Unique pipeline id that is generated by the service when CreatePipeline - // is called. Cannot be specified in the Pipeline used in the - // CreatePipelineRequest, and will be populated in the response to - // CreatePipeline and all subsequent Get and List calls. Indicates that the - // service has registered this pipeline. - PipelineId string `protobuf:"bytes,7,opt,name=pipeline_id,json=pipelineId,proto3" json:"pipeline_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_72a0789107b705b0, []int{2} -} - -func (m *Pipeline) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Pipeline.Unmarshal(m, b) -} -func (m *Pipeline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Pipeline.Marshal(b, m, deterministic) -} -func (m *Pipeline) XXX_Merge(src proto.Message) { - xxx_messageInfo_Pipeline.Merge(m, src) -} -func (m *Pipeline) XXX_Size() int { - return xxx_messageInfo_Pipeline.Size(m) -} -func (m *Pipeline) XXX_DiscardUnknown() { - xxx_messageInfo_Pipeline.DiscardUnknown(m) -} - -var xxx_messageInfo_Pipeline proto.InternalMessageInfo - -func (m *Pipeline) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *Pipeline) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Pipeline) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *Pipeline) GetInputParameters() []*PipelineParameter { - if m != nil { - return m.InputParameters - } - return nil -} - -func (m *Pipeline) GetOutputParameters() []*PipelineParameter { - if m != nil { - return m.OutputParameters - } - 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 - } - return nil -} - -func (m *Pipeline) GetResources() *PipelineResources { - if m != nil { - return m.Resources - } - return nil -} - -func (m *Pipeline) GetPipelineId() string { - if m != nil { - return m.PipelineId - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Pipeline) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Pipeline_Docker)(nil), - } -} - -// The request to create a pipeline. The pipeline field here should not have -// `pipelineId` populated, as that will be populated by the server. -type CreatePipelineRequest struct { - // The pipeline to create. Should not have `pipelineId` populated. - Pipeline *Pipeline `protobuf:"bytes,1,opt,name=pipeline,proto3" json:"pipeline,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_72a0789107b705b0, []int{3} -} - -func (m *CreatePipelineRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreatePipelineRequest.Unmarshal(m, b) -} -func (m *CreatePipelineRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreatePipelineRequest.Marshal(b, m, deterministic) -} -func (m *CreatePipelineRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreatePipelineRequest.Merge(m, src) -} -func (m *CreatePipelineRequest) XXX_Size() int { - return xxx_messageInfo_CreatePipelineRequest.Size(m) -} -func (m *CreatePipelineRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreatePipelineRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreatePipelineRequest proto.InternalMessageInfo - -func (m *CreatePipelineRequest) GetPipeline() *Pipeline { - if m != nil { - return m.Pipeline - } - return nil -} - -// The pipeline run arguments. -type RunPipelineArgs struct { - // Required. The project in which to run the pipeline. The caller must have - // WRITER access to all Google Cloud services and resources (e.g. Google - // Compute Engine) will be used. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Pipeline input arguments; keys are defined in the pipeline documentation. - // All input parameters that do not have default values must be specified. - // If parameters with defaults are specified here, the defaults will be - // overridden. - Inputs map[string]string `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Pipeline output arguments; keys are defined in the pipeline - // documentation. All output parameters of without default values - // must be specified. If parameters with defaults are specified - // here, the defaults will be overridden. - Outputs map[string]string `protobuf:"bytes,3,rep,name=outputs,proto3" json:"outputs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // The Google Cloud Service Account that will be used to access data and - // services. By default, the compute service account associated with - // `projectId` is used. - ServiceAccount *ServiceAccount `protobuf:"bytes,4,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` - // This field is deprecated. Use `labels` instead. Client-specified pipeline - // operation identifier. - ClientId string `protobuf:"bytes,5,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` - // Specifies resource requirements/overrides for the pipeline run. - Resources *PipelineResources `protobuf:"bytes,6,opt,name=resources,proto3" json:"resources,omitempty"` - // Required. Logging options. Used by the service to communicate results - // to the user. - Logging *LoggingOptions `protobuf:"bytes,7,opt,name=logging,proto3" json:"logging,omitempty"` - // How long to keep the VM up after a failure (for example docker command - // failed, copying input or output files failed, etc). While the VM is up, one - // can ssh into the VM to debug. Default is 0; maximum allowed value is 1 day. - KeepVmAliveOnFailureDuration *duration.Duration `protobuf:"bytes,8,opt,name=keep_vm_alive_on_failure_duration,json=keepVmAliveOnFailureDuration,proto3" json:"keep_vm_alive_on_failure_duration,omitempty"` - // Labels to apply to this pipeline run. Labels will also be applied to - // compute resources (VM, disks) created by this pipeline run. When listing - // operations, operations can [filtered by labels] - // [google.longrunning.ListOperationsRequest.filter]. - // Label keys may not be empty; label values may be empty. Non-empty labels - // must be 1-63 characters long, and comply with [RFC1035] - // (https://www.ietf.org/rfc/rfc1035.txt). - // Specifically, the name must be 1-63 characters long and match the regular - // expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first - // character must be a lowercase letter, and all following characters must be - // a dash, lowercase letter, or digit, except the last character, which cannot - // be a dash. - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_72a0789107b705b0, []int{4} -} - -func (m *RunPipelineArgs) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RunPipelineArgs.Unmarshal(m, b) -} -func (m *RunPipelineArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RunPipelineArgs.Marshal(b, m, deterministic) -} -func (m *RunPipelineArgs) XXX_Merge(src proto.Message) { - xxx_messageInfo_RunPipelineArgs.Merge(m, src) -} -func (m *RunPipelineArgs) XXX_Size() int { - return xxx_messageInfo_RunPipelineArgs.Size(m) -} -func (m *RunPipelineArgs) XXX_DiscardUnknown() { - xxx_messageInfo_RunPipelineArgs.DiscardUnknown(m) -} - -var xxx_messageInfo_RunPipelineArgs proto.InternalMessageInfo - -func (m *RunPipelineArgs) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *RunPipelineArgs) GetInputs() map[string]string { - if m != nil { - return m.Inputs - } - return nil -} - -func (m *RunPipelineArgs) GetOutputs() map[string]string { - if m != nil { - return m.Outputs - } - return nil -} - -func (m *RunPipelineArgs) GetServiceAccount() *ServiceAccount { - if m != nil { - return m.ServiceAccount - } - return nil -} - -func (m *RunPipelineArgs) GetClientId() string { - if m != nil { - return m.ClientId - } - return "" -} - -func (m *RunPipelineArgs) GetResources() *PipelineResources { - if m != nil { - return m.Resources - } - return nil -} - -func (m *RunPipelineArgs) GetLogging() *LoggingOptions { - if m != nil { - return m.Logging - } - return nil -} - -func (m *RunPipelineArgs) GetKeepVmAliveOnFailureDuration() *duration.Duration { - if m != nil { - return m.KeepVmAliveOnFailureDuration - } - return nil -} - -func (m *RunPipelineArgs) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -// The request to run a pipeline. If `pipelineId` is specified, it -// refers to a saved pipeline created with CreatePipeline and set as -// the `pipelineId` of the returned Pipeline object. If -// `ephemeralPipeline` is specified, that pipeline is run once -// with the given args and not saved. It is an error to specify both -// `pipelineId` and `ephemeralPipeline`. `pipelineArgs` -// must be specified. -type RunPipelineRequest struct { - // Types that are valid to be assigned to Pipeline: - // *RunPipelineRequest_PipelineId - // *RunPipelineRequest_EphemeralPipeline - Pipeline isRunPipelineRequest_Pipeline `protobuf_oneof:"pipeline"` - // The arguments to use when running this pipeline. - PipelineArgs *RunPipelineArgs `protobuf:"bytes,3,opt,name=pipeline_args,json=pipelineArgs,proto3" json:"pipeline_args,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_72a0789107b705b0, []int{5} -} - -func (m *RunPipelineRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RunPipelineRequest.Unmarshal(m, b) -} -func (m *RunPipelineRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RunPipelineRequest.Marshal(b, m, deterministic) -} -func (m *RunPipelineRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RunPipelineRequest.Merge(m, src) -} -func (m *RunPipelineRequest) XXX_Size() int { - return xxx_messageInfo_RunPipelineRequest.Size(m) -} -func (m *RunPipelineRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RunPipelineRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_RunPipelineRequest proto.InternalMessageInfo - -type isRunPipelineRequest_Pipeline interface { - isRunPipelineRequest_Pipeline() -} - -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_EphemeralPipeline) isRunPipelineRequest_Pipeline() {} - -func (m *RunPipelineRequest) GetPipeline() isRunPipelineRequest_Pipeline { - if m != nil { - return m.Pipeline - } - return nil -} - -func (m *RunPipelineRequest) GetPipelineId() string { - if x, ok := m.GetPipeline().(*RunPipelineRequest_PipelineId); ok { - return x.PipelineId - } - return "" -} - -func (m *RunPipelineRequest) GetEphemeralPipeline() *Pipeline { - if x, ok := m.GetPipeline().(*RunPipelineRequest_EphemeralPipeline); ok { - return x.EphemeralPipeline - } - return nil -} - -func (m *RunPipelineRequest) GetPipelineArgs() *RunPipelineArgs { - if m != nil { - return m.PipelineArgs - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*RunPipelineRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*RunPipelineRequest_PipelineId)(nil), - (*RunPipelineRequest_EphemeralPipeline)(nil), - } -} - -// A request to get a saved pipeline by id. -type GetPipelineRequest struct { - // Caller must have READ access to the project in which this pipeline - // is defined. - PipelineId string `protobuf:"bytes,1,opt,name=pipeline_id,json=pipelineId,proto3" json:"pipeline_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_72a0789107b705b0, []int{6} -} - -func (m *GetPipelineRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetPipelineRequest.Unmarshal(m, b) -} -func (m *GetPipelineRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetPipelineRequest.Marshal(b, m, deterministic) -} -func (m *GetPipelineRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetPipelineRequest.Merge(m, src) -} -func (m *GetPipelineRequest) XXX_Size() int { - return xxx_messageInfo_GetPipelineRequest.Size(m) -} -func (m *GetPipelineRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetPipelineRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetPipelineRequest proto.InternalMessageInfo - -func (m *GetPipelineRequest) GetPipelineId() string { - if m != nil { - return m.PipelineId - } - return "" -} - -// A request to list pipelines in a given project. Pipelines can be -// filtered by name using `namePrefix`: all pipelines with names that -// begin with `namePrefix` will be returned. Uses standard pagination: -// `pageSize` indicates how many pipelines to return, and -// `pageToken` comes from a previous ListPipelinesResponse to -// indicate offset. -type ListPipelinesRequest struct { - // Required. The name of the project to search for pipelines. Caller - // must have READ access to this project. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Pipelines with names that match this prefix should be - // returned. If unspecified, all pipelines in the project, up to - // `pageSize`, will be returned. - NamePrefix string `protobuf:"bytes,2,opt,name=name_prefix,json=namePrefix,proto3" json:"name_prefix,omitempty"` - // Number of pipelines to return at once. Defaults to 256, and max - // is 2048. - PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Token to use to indicate where to start getting results. - // If unspecified, returns the first 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 *ListPipelinesRequest) Reset() { *m = ListPipelinesRequest{} } -func (m *ListPipelinesRequest) String() string { return proto.CompactTextString(m) } -func (*ListPipelinesRequest) ProtoMessage() {} -func (*ListPipelinesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_72a0789107b705b0, []int{7} -} - -func (m *ListPipelinesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListPipelinesRequest.Unmarshal(m, b) -} -func (m *ListPipelinesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListPipelinesRequest.Marshal(b, m, deterministic) -} -func (m *ListPipelinesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListPipelinesRequest.Merge(m, src) -} -func (m *ListPipelinesRequest) XXX_Size() int { - return xxx_messageInfo_ListPipelinesRequest.Size(m) -} -func (m *ListPipelinesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListPipelinesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListPipelinesRequest proto.InternalMessageInfo - -func (m *ListPipelinesRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *ListPipelinesRequest) GetNamePrefix() string { - if m != nil { - return m.NamePrefix - } - return "" -} - -func (m *ListPipelinesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListPipelinesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// The response of ListPipelines. Contains at most `pageSize` -// pipelines. If it contains `pageSize` pipelines, and more pipelines -// exist, then `nextPageToken` will be populated and should be -// used as the `pageToken` argument to a subsequent ListPipelines -// request. -type ListPipelinesResponse struct { - // The matched pipelines. - Pipelines []*Pipeline `protobuf:"bytes,1,rep,name=pipelines,proto3" json:"pipelines,omitempty"` - // The token to use 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_72a0789107b705b0, []int{8} -} - -func (m *ListPipelinesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListPipelinesResponse.Unmarshal(m, b) -} -func (m *ListPipelinesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListPipelinesResponse.Marshal(b, m, deterministic) -} -func (m *ListPipelinesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListPipelinesResponse.Merge(m, src) -} -func (m *ListPipelinesResponse) XXX_Size() int { - return xxx_messageInfo_ListPipelinesResponse.Size(m) -} -func (m *ListPipelinesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListPipelinesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListPipelinesResponse proto.InternalMessageInfo - -func (m *ListPipelinesResponse) GetPipelines() []*Pipeline { - if m != nil { - return m.Pipelines - } - return nil -} - -func (m *ListPipelinesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The request to delete a saved pipeline by ID. -type DeletePipelineRequest struct { - // Caller must have WRITE access to the project in which this pipeline - // is defined. - PipelineId string `protobuf:"bytes,1,opt,name=pipeline_id,json=pipelineId,proto3" json:"pipeline_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_72a0789107b705b0, []int{9} -} - -func (m *DeletePipelineRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeletePipelineRequest.Unmarshal(m, b) -} -func (m *DeletePipelineRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeletePipelineRequest.Marshal(b, m, deterministic) -} -func (m *DeletePipelineRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeletePipelineRequest.Merge(m, src) -} -func (m *DeletePipelineRequest) XXX_Size() int { - return xxx_messageInfo_DeletePipelineRequest.Size(m) -} -func (m *DeletePipelineRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeletePipelineRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeletePipelineRequest proto.InternalMessageInfo - -func (m *DeletePipelineRequest) GetPipelineId() string { - if m != nil { - return m.PipelineId - } - return "" -} - -// Request to get controller configuation. Should only be used -// by VMs created by the Pipelines Service and not by end users. -type GetControllerConfigRequest struct { - // The operation to retrieve controller configuration for. - OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` - ValidationToken uint64 `protobuf:"varint,2,opt,name=validation_token,json=validationToken,proto3" json:"validation_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetControllerConfigRequest) Reset() { *m = GetControllerConfigRequest{} } -func (m *GetControllerConfigRequest) String() string { return proto.CompactTextString(m) } -func (*GetControllerConfigRequest) ProtoMessage() {} -func (*GetControllerConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_72a0789107b705b0, []int{10} -} - -func (m *GetControllerConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetControllerConfigRequest.Unmarshal(m, b) -} -func (m *GetControllerConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetControllerConfigRequest.Marshal(b, m, deterministic) -} -func (m *GetControllerConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetControllerConfigRequest.Merge(m, src) -} -func (m *GetControllerConfigRequest) XXX_Size() int { - return xxx_messageInfo_GetControllerConfigRequest.Size(m) -} -func (m *GetControllerConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetControllerConfigRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetControllerConfigRequest proto.InternalMessageInfo - -func (m *GetControllerConfigRequest) GetOperationId() string { - if m != nil { - return m.OperationId - } - return "" -} - -func (m *GetControllerConfigRequest) GetValidationToken() uint64 { - if m != nil { - return m.ValidationToken - } - return 0 -} - -// Stores the information that the controller will fetch from the -// server in order to run. Should only be used by VMs created by the -// Pipelines Service and not by end users. -type ControllerConfig struct { - Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` - Cmd string `protobuf:"bytes,2,opt,name=cmd,proto3" json:"cmd,omitempty"` - GcsLogPath string `protobuf:"bytes,3,opt,name=gcs_log_path,json=gcsLogPath,proto3" json:"gcs_log_path,omitempty"` - MachineType string `protobuf:"bytes,4,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"` - Vars map[string]string `protobuf:"bytes,5,rep,name=vars,proto3" json:"vars,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Disks map[string]string `protobuf:"bytes,6,rep,name=disks,proto3" json:"disks,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - GcsSources map[string]*ControllerConfig_RepeatedString `protobuf:"bytes,7,rep,name=gcs_sources,json=gcsSources,proto3" json:"gcs_sources,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - GcsSinks map[string]*ControllerConfig_RepeatedString `protobuf:"bytes,8,rep,name=gcs_sinks,json=gcsSinks,proto3" json:"gcs_sinks,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 *ControllerConfig) Reset() { *m = ControllerConfig{} } -func (m *ControllerConfig) String() string { return proto.CompactTextString(m) } -func (*ControllerConfig) ProtoMessage() {} -func (*ControllerConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_72a0789107b705b0, []int{11} -} - -func (m *ControllerConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ControllerConfig.Unmarshal(m, b) -} -func (m *ControllerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ControllerConfig.Marshal(b, m, deterministic) -} -func (m *ControllerConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ControllerConfig.Merge(m, src) -} -func (m *ControllerConfig) XXX_Size() int { - return xxx_messageInfo_ControllerConfig.Size(m) -} -func (m *ControllerConfig) XXX_DiscardUnknown() { - xxx_messageInfo_ControllerConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_ControllerConfig proto.InternalMessageInfo - -func (m *ControllerConfig) GetImage() string { - if m != nil { - return m.Image - } - return "" -} - -func (m *ControllerConfig) GetCmd() string { - if m != nil { - return m.Cmd - } - return "" -} - -func (m *ControllerConfig) GetGcsLogPath() string { - if m != nil { - return m.GcsLogPath - } - return "" -} - -func (m *ControllerConfig) GetMachineType() string { - if m != nil { - return m.MachineType - } - return "" -} - -func (m *ControllerConfig) GetVars() map[string]string { - if m != nil { - return m.Vars - } - return nil -} - -func (m *ControllerConfig) GetDisks() map[string]string { - if m != nil { - return m.Disks - } - return nil -} - -func (m *ControllerConfig) GetGcsSources() map[string]*ControllerConfig_RepeatedString { - if m != nil { - return m.GcsSources - } - return nil -} - -func (m *ControllerConfig) GetGcsSinks() map[string]*ControllerConfig_RepeatedString { - if m != nil { - return m.GcsSinks - } - return nil -} - -type ControllerConfig_RepeatedString struct { - 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 *ControllerConfig_RepeatedString) Reset() { *m = ControllerConfig_RepeatedString{} } -func (m *ControllerConfig_RepeatedString) String() string { return proto.CompactTextString(m) } -func (*ControllerConfig_RepeatedString) ProtoMessage() {} -func (*ControllerConfig_RepeatedString) Descriptor() ([]byte, []int) { - return fileDescriptor_72a0789107b705b0, []int{11, 0} -} - -func (m *ControllerConfig_RepeatedString) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ControllerConfig_RepeatedString.Unmarshal(m, b) -} -func (m *ControllerConfig_RepeatedString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ControllerConfig_RepeatedString.Marshal(b, m, deterministic) -} -func (m *ControllerConfig_RepeatedString) XXX_Merge(src proto.Message) { - xxx_messageInfo_ControllerConfig_RepeatedString.Merge(m, src) -} -func (m *ControllerConfig_RepeatedString) XXX_Size() int { - return xxx_messageInfo_ControllerConfig_RepeatedString.Size(m) -} -func (m *ControllerConfig_RepeatedString) XXX_DiscardUnknown() { - xxx_messageInfo_ControllerConfig_RepeatedString.DiscardUnknown(m) -} - -var xxx_messageInfo_ControllerConfig_RepeatedString proto.InternalMessageInfo - -func (m *ControllerConfig_RepeatedString) GetValues() []string { - if m != nil { - return m.Values - } - return nil -} - -// Stores the list of events and times they occured for major events in job -// execution. -type TimestampEvent struct { - // String indicating the type of event - Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` - // The time this event occured. - Timestamp *timestamp.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_72a0789107b705b0, []int{12} -} - -func (m *TimestampEvent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TimestampEvent.Unmarshal(m, b) -} -func (m *TimestampEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TimestampEvent.Marshal(b, m, deterministic) -} -func (m *TimestampEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_TimestampEvent.Merge(m, src) -} -func (m *TimestampEvent) XXX_Size() int { - return xxx_messageInfo_TimestampEvent.Size(m) -} -func (m *TimestampEvent) XXX_DiscardUnknown() { - xxx_messageInfo_TimestampEvent.DiscardUnknown(m) -} - -var xxx_messageInfo_TimestampEvent proto.InternalMessageInfo - -func (m *TimestampEvent) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *TimestampEvent) GetTimestamp() *timestamp.Timestamp { - if m != nil { - return m.Timestamp - } - return nil -} - -// Request to set operation status. Should only be used by VMs -// created by the Pipelines Service and not by end users. -type SetOperationStatusRequest struct { - OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` - TimestampEvents []*TimestampEvent `protobuf:"bytes,2,rep,name=timestamp_events,json=timestampEvents,proto3" json:"timestamp_events,omitempty"` - ErrorCode code.Code `protobuf:"varint,3,opt,name=error_code,json=errorCode,proto3,enum=google.rpc.Code" json:"error_code,omitempty"` - ErrorMessage string `protobuf:"bytes,4,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` - ValidationToken uint64 `protobuf:"varint,5,opt,name=validation_token,json=validationToken,proto3" json:"validation_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SetOperationStatusRequest) Reset() { *m = SetOperationStatusRequest{} } -func (m *SetOperationStatusRequest) String() string { return proto.CompactTextString(m) } -func (*SetOperationStatusRequest) ProtoMessage() {} -func (*SetOperationStatusRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_72a0789107b705b0, []int{13} -} - -func (m *SetOperationStatusRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetOperationStatusRequest.Unmarshal(m, b) -} -func (m *SetOperationStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetOperationStatusRequest.Marshal(b, m, deterministic) -} -func (m *SetOperationStatusRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetOperationStatusRequest.Merge(m, src) -} -func (m *SetOperationStatusRequest) XXX_Size() int { - return xxx_messageInfo_SetOperationStatusRequest.Size(m) -} -func (m *SetOperationStatusRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetOperationStatusRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetOperationStatusRequest proto.InternalMessageInfo - -func (m *SetOperationStatusRequest) GetOperationId() string { - if m != nil { - return m.OperationId - } - return "" -} - -func (m *SetOperationStatusRequest) GetTimestampEvents() []*TimestampEvent { - if m != nil { - return m.TimestampEvents - } - return nil -} - -func (m *SetOperationStatusRequest) GetErrorCode() code.Code { - if m != nil { - return m.ErrorCode - } - return code.Code_OK -} - -func (m *SetOperationStatusRequest) GetErrorMessage() string { - if m != nil { - return m.ErrorMessage - } - return "" -} - -func (m *SetOperationStatusRequest) GetValidationToken() uint64 { - if m != nil { - return m.ValidationToken - } - return 0 -} - -// A Google Cloud Service Account. -type ServiceAccount struct { - // Email address of the service account. Defaults to `default`, - // which uses the compute service account associated with the project. - Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` - // List of scopes to be enabled for this service account on the VM. - // The following scopes are automatically included: - // - // * https://www.googleapis.com/auth/compute - // * https://www.googleapis.com/auth/devstorage.full_control - // * https://www.googleapis.com/auth/genomics - // * https://www.googleapis.com/auth/logging.write - // * https://www.googleapis.com/auth/monitoring.write - Scopes []string `protobuf:"bytes,2,rep,name=scopes,proto3" json:"scopes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_72a0789107b705b0, []int{14} -} - -func (m *ServiceAccount) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServiceAccount.Unmarshal(m, b) -} -func (m *ServiceAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServiceAccount.Marshal(b, m, deterministic) -} -func (m *ServiceAccount) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceAccount.Merge(m, src) -} -func (m *ServiceAccount) XXX_Size() int { - return xxx_messageInfo_ServiceAccount.Size(m) -} -func (m *ServiceAccount) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceAccount.DiscardUnknown(m) -} - -var xxx_messageInfo_ServiceAccount proto.InternalMessageInfo - -func (m *ServiceAccount) GetEmail() string { - if m != nil { - return m.Email - } - return "" -} - -func (m *ServiceAccount) GetScopes() []string { - if m != nil { - return m.Scopes - } - return nil -} - -// The logging options for the pipeline run. -type LoggingOptions struct { - // The location in Google Cloud Storage to which the pipeline logs - // will be copied. Can be specified as a fully qualified directory - // path, in which case logs will be output with a unique identifier - // as the filename in that directory, or as a fully specified path, - // which must end in `.log`, in which case that path will be - // used, and the user must ensure that logs are not - // overwritten. Stdout and stderr logs from the run are also - // generated and output as `-stdout.log` and `-stderr.log`. - GcsPath string `protobuf:"bytes,1,opt,name=gcs_path,json=gcsPath,proto3" json:"gcs_path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_72a0789107b705b0, []int{15} -} - -func (m *LoggingOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LoggingOptions.Unmarshal(m, b) -} -func (m *LoggingOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LoggingOptions.Marshal(b, m, deterministic) -} -func (m *LoggingOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_LoggingOptions.Merge(m, src) -} -func (m *LoggingOptions) XXX_Size() int { - return xxx_messageInfo_LoggingOptions.Size(m) -} -func (m *LoggingOptions) XXX_DiscardUnknown() { - xxx_messageInfo_LoggingOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_LoggingOptions proto.InternalMessageInfo - -func (m *LoggingOptions) GetGcsPath() string { - if m != nil { - return m.GcsPath - } - return "" -} - -// The system resources for the pipeline run. -type PipelineResources struct { - // The minimum number of cores to use. Defaults to 1. - MinimumCpuCores int32 `protobuf:"varint,1,opt,name=minimum_cpu_cores,json=minimumCpuCores,proto3" json:"minimum_cpu_cores,omitempty"` - // Whether to use preemptible VMs. Defaults to `false`. In order to use this, - // must be true for both create time and run time. Cannot be true at run time - // if false at create time. - Preemptible bool `protobuf:"varint,2,opt,name=preemptible,proto3" json:"preemptible,omitempty"` - // The minimum amount of RAM to use. Defaults to 3.75 (GB) - MinimumRamGb float64 `protobuf:"fixed64,3,opt,name=minimum_ram_gb,json=minimumRamGb,proto3" json:"minimum_ram_gb,omitempty"` - // Disks to attach. - Disks []*PipelineResources_Disk `protobuf:"bytes,4,rep,name=disks,proto3" json:"disks,omitempty"` - // List of Google Compute Engine availability zones to which resource - // creation will restricted. If empty, any zone may be chosen. - Zones []string `protobuf:"bytes,5,rep,name=zones,proto3" json:"zones,omitempty"` - // The size of the boot disk. Defaults to 10 (GB). - BootDiskSizeGb int32 `protobuf:"varint,6,opt,name=boot_disk_size_gb,json=bootDiskSizeGb,proto3" json:"boot_disk_size_gb,omitempty"` - // Whether to assign an external IP to the instance. This is an experimental - // feature that may go away. Defaults to false. - // Corresponds to `--no_address` flag for [gcloud compute instances create] - // (https://cloud.google.com/sdk/gcloud/reference/compute/instances/create). - // In order to use this, must be true for both create time and run time. - // Cannot be true at run time if false at create time. If you need to ssh into - // a private IP VM for debugging, you can ssh to a public VM and then ssh into - // the private VM's Internal IP. If noAddress is set, this pipeline run may - // only load docker images from Google Container Registry and not Docker Hub. - // ** Note: To use this option, your project must be in Google Access for - // Private IPs Early Access Program.** - NoAddress bool `protobuf:"varint,7,opt,name=no_address,json=noAddress,proto3" json:"no_address,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_72a0789107b705b0, []int{16} -} - -func (m *PipelineResources) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PipelineResources.Unmarshal(m, b) -} -func (m *PipelineResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PipelineResources.Marshal(b, m, deterministic) -} -func (m *PipelineResources) XXX_Merge(src proto.Message) { - xxx_messageInfo_PipelineResources.Merge(m, src) -} -func (m *PipelineResources) XXX_Size() int { - return xxx_messageInfo_PipelineResources.Size(m) -} -func (m *PipelineResources) XXX_DiscardUnknown() { - xxx_messageInfo_PipelineResources.DiscardUnknown(m) -} - -var xxx_messageInfo_PipelineResources proto.InternalMessageInfo - -func (m *PipelineResources) GetMinimumCpuCores() int32 { - if m != nil { - return m.MinimumCpuCores - } - return 0 -} - -func (m *PipelineResources) GetPreemptible() bool { - if m != nil { - return m.Preemptible - } - return false -} - -func (m *PipelineResources) GetMinimumRamGb() float64 { - if m != nil { - return m.MinimumRamGb - } - return 0 -} - -func (m *PipelineResources) GetDisks() []*PipelineResources_Disk { - if m != nil { - return m.Disks - } - return nil -} - -func (m *PipelineResources) GetZones() []string { - if m != nil { - return m.Zones - } - return nil -} - -func (m *PipelineResources) GetBootDiskSizeGb() int32 { - if m != nil { - return m.BootDiskSizeGb - } - return 0 -} - -func (m *PipelineResources) GetNoAddress() bool { - if m != nil { - return m.NoAddress - } - return false -} - -// A Google Compute Engine disk resource specification. -type PipelineResources_Disk struct { - // Required. The name of the disk that can be used in the pipeline - // parameters. Must be 1 - 63 characters. - // The name "boot" is reserved for system use. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The type of the disk to create. - Type PipelineResources_Disk_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.genomics.v1alpha2.PipelineResources_Disk_Type" json:"type,omitempty"` - // The size of the disk. Defaults to 500 (GB). - // This field is not applicable for local SSD. - SizeGb int32 `protobuf:"varint,3,opt,name=size_gb,json=sizeGb,proto3" json:"size_gb,omitempty"` - // The full or partial URL of the persistent disk to attach. See - // https://cloud.google.com/compute/docs/reference/latest/instances#resource - // and - // https://cloud.google.com/compute/docs/disks/persistent-disks#snapshots - // for more details. - Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` - // Deprecated. Disks created by the Pipelines API will be deleted at the end - // of the pipeline run, regardless of what this field is set to. - AutoDelete bool `protobuf:"varint,6,opt,name=auto_delete,json=autoDelete,proto3" json:"auto_delete,omitempty"` - // Required at create time and cannot be overridden at run time. - // Specifies the path in the docker container where files on - // this disk should be located. For example, if `mountPoint` - // is `/mnt/disk`, and the parameter has `localPath` - // `inputs/file.txt`, the docker container can access the data at - // `/mnt/disk/inputs/file.txt`. - MountPoint string `protobuf:"bytes,8,opt,name=mount_point,json=mountPoint,proto3" json:"mount_point,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_72a0789107b705b0, []int{16, 0} -} - -func (m *PipelineResources_Disk) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PipelineResources_Disk.Unmarshal(m, b) -} -func (m *PipelineResources_Disk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PipelineResources_Disk.Marshal(b, m, deterministic) -} -func (m *PipelineResources_Disk) XXX_Merge(src proto.Message) { - xxx_messageInfo_PipelineResources_Disk.Merge(m, src) -} -func (m *PipelineResources_Disk) XXX_Size() int { - return xxx_messageInfo_PipelineResources_Disk.Size(m) -} -func (m *PipelineResources_Disk) XXX_DiscardUnknown() { - xxx_messageInfo_PipelineResources_Disk.DiscardUnknown(m) -} - -var xxx_messageInfo_PipelineResources_Disk proto.InternalMessageInfo - -func (m *PipelineResources_Disk) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *PipelineResources_Disk) GetType() PipelineResources_Disk_Type { - if m != nil { - return m.Type - } - return PipelineResources_Disk_TYPE_UNSPECIFIED -} - -func (m *PipelineResources_Disk) GetSizeGb() int32 { - if m != nil { - return m.SizeGb - } - return 0 -} - -func (m *PipelineResources_Disk) GetSource() string { - if m != nil { - return m.Source - } - return "" -} - -func (m *PipelineResources_Disk) GetAutoDelete() bool { - if m != nil { - return m.AutoDelete - } - return false -} - -func (m *PipelineResources_Disk) GetMountPoint() string { - if m != nil { - return m.MountPoint - } - return "" -} - -// Parameters facilitate setting and delivering data into the -// pipeline's execution environment. They are defined at create time, -// with optional defaults, and can be overridden at run time. -// -// If `localCopy` is unset, then the parameter specifies a string that -// is passed as-is into the pipeline, as the value of the environment -// variable with the given name. A default value can be optionally -// specified at create time. The default can be overridden at run time -// using the inputs map. If no default is given, a value must be -// supplied at runtime. -// -// If `localCopy` is defined, then the parameter specifies a data -// source or sink, both in Google Cloud Storage and on the Docker container -// where the pipeline computation is run. The [service account associated with -// the Pipeline][google.genomics.v1alpha2.RunPipelineArgs.service_account] (by -// default the project's Compute Engine service account) must have access to the -// Google Cloud Storage paths. -// -// At run time, the Google Cloud Storage paths can be overridden if a default -// was provided at create time, or must be set otherwise. The pipeline runner -// should add a key/value pair to either the inputs or outputs map. The -// indicated data copies will be carried out before/after pipeline execution, -// just as if the corresponding arguments were provided to `gsutil cp`. -// -// For example: Given the following `PipelineParameter`, specified -// in the `inputParameters` list: -// -// ``` -// {name: "input_file", localCopy: {path: "file.txt", disk: "pd1"}} -// ``` -// -// where `disk` is defined in the `PipelineResources` object as: -// -// ``` -// {name: "pd1", mountPoint: "/mnt/disk/"} -// ``` -// -// We create a disk named `pd1`, mount it on the host VM, and map -// `/mnt/pd1` to `/mnt/disk` in the docker container. At -// runtime, an entry for `input_file` would be required in the inputs -// map, such as: -// -// ``` -// inputs["input_file"] = "gs://my-bucket/bar.txt" -// ``` -// -// This would generate the following gsutil call: -// -// ``` -// gsutil cp gs://my-bucket/bar.txt /mnt/pd1/file.txt -// ``` -// -// The file `/mnt/pd1/file.txt` maps to `/mnt/disk/file.txt` in the -// Docker container. Acceptable paths are: -// -// -// -// -// -// -// -// -// -//
Google Cloud storage pathLocal path
filefile
globdirectory
-// -// For outputs, the direction of the copy is reversed: -// -// ``` -// gsutil cp /mnt/disk/file.txt gs://my-bucket/bar.txt -// ``` -// -// Acceptable paths are: -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -//
Local pathGoogle Cloud Storage path
filefile
filedirectory - directory must already exist
globdirectory - directory will be created if it doesn't exist
-// -// One restriction due to docker limitations, is that for outputs that are found -// on the boot disk, the local path cannot be a glob and must be a file. -type PipelineParameter struct { - // Required. Name of the parameter - the pipeline runner uses this string - // as the key to the input and output maps in RunPipeline. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Human-readable description. - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - // The default value for this parameter. Can be overridden at runtime. - // If `localCopy` is present, then this must be a Google Cloud Storage path - // beginning with `gs://`. - DefaultValue string `protobuf:"bytes,5,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` - // If present, this parameter is marked for copying to and from the VM. - // `LocalCopy` indicates where on the VM the file should be. The value - // given to this parameter (either at runtime or using `defaultValue`) - // must be the remote path where the file should be. - LocalCopy *PipelineParameter_LocalCopy `protobuf:"bytes,6,opt,name=local_copy,json=localCopy,proto3" json:"local_copy,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_72a0789107b705b0, []int{17} -} - -func (m *PipelineParameter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PipelineParameter.Unmarshal(m, b) -} -func (m *PipelineParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PipelineParameter.Marshal(b, m, deterministic) -} -func (m *PipelineParameter) XXX_Merge(src proto.Message) { - xxx_messageInfo_PipelineParameter.Merge(m, src) -} -func (m *PipelineParameter) XXX_Size() int { - return xxx_messageInfo_PipelineParameter.Size(m) -} -func (m *PipelineParameter) XXX_DiscardUnknown() { - xxx_messageInfo_PipelineParameter.DiscardUnknown(m) -} - -var xxx_messageInfo_PipelineParameter proto.InternalMessageInfo - -func (m *PipelineParameter) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *PipelineParameter) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *PipelineParameter) GetDefaultValue() string { - if m != nil { - return m.DefaultValue - } - return "" -} - -func (m *PipelineParameter) GetLocalCopy() *PipelineParameter_LocalCopy { - if m != nil { - return m.LocalCopy - } - return nil -} - -// LocalCopy defines how a remote file should be copied to and from the VM. -type PipelineParameter_LocalCopy struct { - // Required. The path within the user's docker container where - // this input should be localized to and from, relative to the specified - // disk's mount point. For example: file.txt, - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` - // Required. The name of the disk where this parameter is - // located. Can be the name of one of the disks specified in the - // Resources field, or "boot", which represents the Docker - // instance's boot disk and has a mount point of `/`. - Disk string `protobuf:"bytes,2,opt,name=disk,proto3" json:"disk,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PipelineParameter_LocalCopy) Reset() { *m = PipelineParameter_LocalCopy{} } -func (m *PipelineParameter_LocalCopy) String() string { return proto.CompactTextString(m) } -func (*PipelineParameter_LocalCopy) ProtoMessage() {} -func (*PipelineParameter_LocalCopy) Descriptor() ([]byte, []int) { - return fileDescriptor_72a0789107b705b0, []int{17, 0} -} - -func (m *PipelineParameter_LocalCopy) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PipelineParameter_LocalCopy.Unmarshal(m, b) -} -func (m *PipelineParameter_LocalCopy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PipelineParameter_LocalCopy.Marshal(b, m, deterministic) -} -func (m *PipelineParameter_LocalCopy) XXX_Merge(src proto.Message) { - xxx_messageInfo_PipelineParameter_LocalCopy.Merge(m, src) -} -func (m *PipelineParameter_LocalCopy) XXX_Size() int { - return xxx_messageInfo_PipelineParameter_LocalCopy.Size(m) -} -func (m *PipelineParameter_LocalCopy) XXX_DiscardUnknown() { - xxx_messageInfo_PipelineParameter_LocalCopy.DiscardUnknown(m) -} - -var xxx_messageInfo_PipelineParameter_LocalCopy proto.InternalMessageInfo - -func (m *PipelineParameter_LocalCopy) GetPath() string { - if m != nil { - return m.Path - } - return "" -} - -func (m *PipelineParameter_LocalCopy) GetDisk() string { - if m != nil { - return m.Disk - } - return "" -} - -// The Docker execuctor specification. -type DockerExecutor struct { - // Required. Image name from either Docker Hub or Google Container Registry. - // Users that run pipelines must have READ access to the image. - ImageName string `protobuf:"bytes,1,opt,name=image_name,json=imageName,proto3" json:"image_name,omitempty"` - // Required. The command or newline delimited script to run. The command - // string will be executed within a bash shell. - // - // If the command exits with a non-zero exit code, output parameter - // de-localization will be skipped and the pipeline operation's - // [`error`][google.longrunning.Operation.error] field will be populated. - // - // Maximum command string length is 16384. - Cmd string `protobuf:"bytes,2,opt,name=cmd,proto3" json:"cmd,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_72a0789107b705b0, []int{18} -} - -func (m *DockerExecutor) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DockerExecutor.Unmarshal(m, b) -} -func (m *DockerExecutor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DockerExecutor.Marshal(b, m, deterministic) -} -func (m *DockerExecutor) XXX_Merge(src proto.Message) { - xxx_messageInfo_DockerExecutor.Merge(m, src) -} -func (m *DockerExecutor) XXX_Size() int { - return xxx_messageInfo_DockerExecutor.Size(m) -} -func (m *DockerExecutor) XXX_DiscardUnknown() { - xxx_messageInfo_DockerExecutor.DiscardUnknown(m) -} - -var xxx_messageInfo_DockerExecutor proto.InternalMessageInfo - -func (m *DockerExecutor) GetImageName() string { - if m != nil { - return m.ImageName - } - return "" -} - -func (m *DockerExecutor) GetCmd() string { - if m != nil { - return m.Cmd - } - return "" -} - -func init() { - proto.RegisterEnum("google.genomics.v1alpha2.PipelineResources_Disk_Type", PipelineResources_Disk_Type_name, PipelineResources_Disk_Type_value) - proto.RegisterType((*ComputeEngine)(nil), "google.genomics.v1alpha2.ComputeEngine") - proto.RegisterType((*RuntimeMetadata)(nil), "google.genomics.v1alpha2.RuntimeMetadata") - proto.RegisterType((*Pipeline)(nil), "google.genomics.v1alpha2.Pipeline") - proto.RegisterType((*CreatePipelineRequest)(nil), "google.genomics.v1alpha2.CreatePipelineRequest") - proto.RegisterType((*RunPipelineArgs)(nil), "google.genomics.v1alpha2.RunPipelineArgs") - proto.RegisterMapType((map[string]string)(nil), "google.genomics.v1alpha2.RunPipelineArgs.InputsEntry") - proto.RegisterMapType((map[string]string)(nil), "google.genomics.v1alpha2.RunPipelineArgs.LabelsEntry") - proto.RegisterMapType((map[string]string)(nil), "google.genomics.v1alpha2.RunPipelineArgs.OutputsEntry") - proto.RegisterType((*RunPipelineRequest)(nil), "google.genomics.v1alpha2.RunPipelineRequest") - proto.RegisterType((*GetPipelineRequest)(nil), "google.genomics.v1alpha2.GetPipelineRequest") - proto.RegisterType((*ListPipelinesRequest)(nil), "google.genomics.v1alpha2.ListPipelinesRequest") - proto.RegisterType((*ListPipelinesResponse)(nil), "google.genomics.v1alpha2.ListPipelinesResponse") - proto.RegisterType((*DeletePipelineRequest)(nil), "google.genomics.v1alpha2.DeletePipelineRequest") - proto.RegisterType((*GetControllerConfigRequest)(nil), "google.genomics.v1alpha2.GetControllerConfigRequest") - proto.RegisterType((*ControllerConfig)(nil), "google.genomics.v1alpha2.ControllerConfig") - proto.RegisterMapType((map[string]string)(nil), "google.genomics.v1alpha2.ControllerConfig.DisksEntry") - proto.RegisterMapType((map[string]*ControllerConfig_RepeatedString)(nil), "google.genomics.v1alpha2.ControllerConfig.GcsSinksEntry") - proto.RegisterMapType((map[string]*ControllerConfig_RepeatedString)(nil), "google.genomics.v1alpha2.ControllerConfig.GcsSourcesEntry") - proto.RegisterMapType((map[string]string)(nil), "google.genomics.v1alpha2.ControllerConfig.VarsEntry") - proto.RegisterType((*ControllerConfig_RepeatedString)(nil), "google.genomics.v1alpha2.ControllerConfig.RepeatedString") - proto.RegisterType((*TimestampEvent)(nil), "google.genomics.v1alpha2.TimestampEvent") - proto.RegisterType((*SetOperationStatusRequest)(nil), "google.genomics.v1alpha2.SetOperationStatusRequest") - proto.RegisterType((*ServiceAccount)(nil), "google.genomics.v1alpha2.ServiceAccount") - proto.RegisterType((*LoggingOptions)(nil), "google.genomics.v1alpha2.LoggingOptions") - proto.RegisterType((*PipelineResources)(nil), "google.genomics.v1alpha2.PipelineResources") - proto.RegisterType((*PipelineResources_Disk)(nil), "google.genomics.v1alpha2.PipelineResources.Disk") - proto.RegisterType((*PipelineParameter)(nil), "google.genomics.v1alpha2.PipelineParameter") - proto.RegisterType((*PipelineParameter_LocalCopy)(nil), "google.genomics.v1alpha2.PipelineParameter.LocalCopy") - proto.RegisterType((*DockerExecutor)(nil), "google.genomics.v1alpha2.DockerExecutor") -} - -func init() { - proto.RegisterFile("google/genomics/v1alpha2/pipelines.proto", fileDescriptor_72a0789107b705b0) -} - -var fileDescriptor_72a0789107b705b0 = []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, - 0x37, 0xbb, 0xb2, 0x9c, 0x22, 0x63, 0x79, 0x9d, 0xc8, 0x4a, 0xd5, 0xd6, 0x4a, 0x14, 0x2d, 0xb1, - 0x22, 0x4b, 0x0c, 0xa8, 0x55, 0xbe, 0x0e, 0xa8, 0x11, 0x38, 0x82, 0xb0, 0x02, 0x30, 0x08, 0x06, - 0x50, 0x59, 0x4e, 0x25, 0x55, 0x49, 0xe5, 0x90, 0xda, 0x4a, 0x2e, 0xc9, 0xfe, 0x88, 0x5c, 0x72, - 0xcc, 0xcf, 0xc8, 0x29, 0xa7, 0x9c, 0x72, 0xc9, 0x21, 0x3f, 0x21, 0xb9, 0xa5, 0x66, 0x06, 0x03, - 0x82, 0x1f, 0x92, 0xc8, 0xaa, 0x54, 0x6e, 0x33, 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, 0xbe, 0x54, 0x6e, 0x59, 0x9b, - 0xc2, 0x2d, 0x7f, 0xd4, 0xe0, 0x83, 0x09, 0x4d, 0x02, 0xfa, 0xf4, 0xda, 0xb3, 0xba, 0xa2, 0xa7, - 0xa8, 0xaf, 0x4d, 0x5f, 0xef, 0x18, 0x4d, 0x41, 0xf2, 0x19, 0xfa, 0x64, 0x52, 0x04, 0x39, 0x13, - 0x28, 0x7d, 0xad, 0x01, 0x1a, 0x2f, 0x4c, 0xd0, 0xcb, 0xeb, 0xfe, 0xd2, 0x5c, 0x51, 0xc6, 0x5c, - 0xe9, 0xb9, 0x17, 0x82, 0xd4, 0xf3, 0xfa, 0xc7, 0x93, 0x48, 0xb1, 0x31, 0xb8, 0x4d, 0x6d, 0x6d, - 0x3b, 0x84, 0x7b, 0x36, 0xf5, 0x27, 0x91, 0xd8, 0xae, 0x64, 0x31, 0xd1, 0xe5, 0x9f, 0xe9, 0x6a, - 0x3f, 0xfe, 0x5c, 0xa9, 0x51, 0x0f, 0x07, 0x4e, 0x83, 0x46, 0x4e, 0xd3, 0x21, 0x81, 0x20, 0xd1, - 0x94, 0x4b, 0x38, 0x74, 0xd9, 0xf8, 0x3f, 0xf7, 0xef, 0x2a, 0xc9, 0xbf, 0x34, 0xed, 0x64, 0x41, - 0xe8, 0xbf, 0xfc, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x13, 0x10, 0x96, 0x1d, 0xa2, 0x17, 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 - -// PipelinesV1Alpha2Client is the client API for PipelinesV1Alpha2 service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type PipelinesV1Alpha2Client interface { - // Creates a pipeline that can be run later. Create takes a Pipeline that - // has all fields other than `pipelineId` populated, and then returns - // the same pipeline with `pipelineId` populated. This id can be used - // to run the pipeline. - // - // Caller must have WRITE permission to the project. - CreatePipeline(ctx context.Context, in *CreatePipelineRequest, opts ...grpc.CallOption) (*Pipeline, error) - // Runs a pipeline. If `pipelineId` is specified in the request, then - // run a saved pipeline. If `ephemeralPipeline` is specified, then run - // that pipeline once without saving a copy. - // - // The caller must have READ permission to the project where the pipeline - // is stored and WRITE permission to the project where the pipeline will be - // run, as VMs will be created and storage will be used. - RunPipeline(ctx context.Context, in *RunPipelineRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Retrieves a pipeline based on ID. - // - // Caller must have READ permission to the project. - GetPipeline(ctx context.Context, in *GetPipelineRequest, opts ...grpc.CallOption) (*Pipeline, error) - // Lists pipelines. - // - // Caller must have READ permission to the project. - ListPipelines(ctx context.Context, in *ListPipelinesRequest, opts ...grpc.CallOption) (*ListPipelinesResponse, error) - // Deletes a pipeline based on ID. - // - // Caller must have WRITE permission to the project. - DeletePipeline(ctx context.Context, in *DeletePipelineRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Gets controller configuration information. Should only be called - // by VMs created by the Pipelines Service and not by end users. - GetControllerConfig(ctx context.Context, in *GetControllerConfigRequest, opts ...grpc.CallOption) (*ControllerConfig, error) - // Sets status of a given operation. Any new timestamps (as determined by - // description) are appended to TimestampEvents. Should only be called by VMs - // created by the Pipelines Service and not by end users. - SetOperationStatus(ctx context.Context, in *SetOperationStatusRequest, opts ...grpc.CallOption) (*empty.Empty, error) -} - -type pipelinesV1Alpha2Client struct { - cc *grpc.ClientConn -} - -func NewPipelinesV1Alpha2Client(cc *grpc.ClientConn) PipelinesV1Alpha2Client { - return &pipelinesV1Alpha2Client{cc} -} - -func (c *pipelinesV1Alpha2Client) CreatePipeline(ctx context.Context, in *CreatePipelineRequest, opts ...grpc.CallOption) (*Pipeline, error) { - out := new(Pipeline) - err := c.cc.Invoke(ctx, "/google.genomics.v1alpha2.PipelinesV1Alpha2/CreatePipeline", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *pipelinesV1Alpha2Client) RunPipeline(ctx context.Context, in *RunPipelineRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.genomics.v1alpha2.PipelinesV1Alpha2/RunPipeline", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *pipelinesV1Alpha2Client) GetPipeline(ctx context.Context, in *GetPipelineRequest, opts ...grpc.CallOption) (*Pipeline, error) { - out := new(Pipeline) - err := c.cc.Invoke(ctx, "/google.genomics.v1alpha2.PipelinesV1Alpha2/GetPipeline", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *pipelinesV1Alpha2Client) ListPipelines(ctx context.Context, in *ListPipelinesRequest, opts ...grpc.CallOption) (*ListPipelinesResponse, error) { - out := new(ListPipelinesResponse) - err := c.cc.Invoke(ctx, "/google.genomics.v1alpha2.PipelinesV1Alpha2/ListPipelines", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *pipelinesV1Alpha2Client) DeletePipeline(ctx context.Context, in *DeletePipelineRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.genomics.v1alpha2.PipelinesV1Alpha2/DeletePipeline", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *pipelinesV1Alpha2Client) GetControllerConfig(ctx context.Context, in *GetControllerConfigRequest, opts ...grpc.CallOption) (*ControllerConfig, error) { - out := new(ControllerConfig) - err := c.cc.Invoke(ctx, "/google.genomics.v1alpha2.PipelinesV1Alpha2/GetControllerConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *pipelinesV1Alpha2Client) SetOperationStatus(ctx context.Context, in *SetOperationStatusRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.genomics.v1alpha2.PipelinesV1Alpha2/SetOperationStatus", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// PipelinesV1Alpha2Server is the server API for PipelinesV1Alpha2 service. -type PipelinesV1Alpha2Server interface { - // Creates a pipeline that can be run later. Create takes a Pipeline that - // has all fields other than `pipelineId` populated, and then returns - // the same pipeline with `pipelineId` populated. This id can be used - // to run the pipeline. - // - // Caller must have WRITE permission to the project. - CreatePipeline(context.Context, *CreatePipelineRequest) (*Pipeline, error) - // Runs a pipeline. If `pipelineId` is specified in the request, then - // run a saved pipeline. If `ephemeralPipeline` is specified, then run - // that pipeline once without saving a copy. - // - // The caller must have READ permission to the project where the pipeline - // is stored and WRITE permission to the project where the pipeline will be - // run, as VMs will be created and storage will be used. - RunPipeline(context.Context, *RunPipelineRequest) (*longrunning.Operation, error) - // Retrieves a pipeline based on ID. - // - // Caller must have READ permission to the project. - GetPipeline(context.Context, *GetPipelineRequest) (*Pipeline, error) - // Lists pipelines. - // - // Caller must have READ permission to the project. - ListPipelines(context.Context, *ListPipelinesRequest) (*ListPipelinesResponse, error) - // Deletes a pipeline based on ID. - // - // Caller must have WRITE permission to the project. - DeletePipeline(context.Context, *DeletePipelineRequest) (*empty.Empty, error) - // Gets controller configuration information. Should only be called - // by VMs created by the Pipelines Service and not by end users. - GetControllerConfig(context.Context, *GetControllerConfigRequest) (*ControllerConfig, error) - // Sets status of a given operation. Any new timestamps (as determined by - // description) are appended to TimestampEvents. Should only be called by VMs - // created by the Pipelines Service and not by end users. - SetOperationStatus(context.Context, *SetOperationStatusRequest) (*empty.Empty, error) -} - -// UnimplementedPipelinesV1Alpha2Server can be embedded to have forward compatible implementations. -type UnimplementedPipelinesV1Alpha2Server struct { -} - -func (*UnimplementedPipelinesV1Alpha2Server) CreatePipeline(ctx context.Context, req *CreatePipelineRequest) (*Pipeline, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreatePipeline not implemented") -} -func (*UnimplementedPipelinesV1Alpha2Server) RunPipeline(ctx context.Context, req *RunPipelineRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method RunPipeline not implemented") -} -func (*UnimplementedPipelinesV1Alpha2Server) GetPipeline(ctx context.Context, req *GetPipelineRequest) (*Pipeline, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetPipeline not implemented") -} -func (*UnimplementedPipelinesV1Alpha2Server) ListPipelines(ctx context.Context, req *ListPipelinesRequest) (*ListPipelinesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListPipelines not implemented") -} -func (*UnimplementedPipelinesV1Alpha2Server) DeletePipeline(ctx context.Context, req *DeletePipelineRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeletePipeline not implemented") -} -func (*UnimplementedPipelinesV1Alpha2Server) GetControllerConfig(ctx context.Context, req *GetControllerConfigRequest) (*ControllerConfig, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetControllerConfig not implemented") -} -func (*UnimplementedPipelinesV1Alpha2Server) SetOperationStatus(ctx context.Context, req *SetOperationStatusRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetOperationStatus not implemented") -} - -func RegisterPipelinesV1Alpha2Server(s *grpc.Server, srv PipelinesV1Alpha2Server) { - s.RegisterService(&_PipelinesV1Alpha2_serviceDesc, srv) -} - -func _PipelinesV1Alpha2_CreatePipeline_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreatePipelineRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PipelinesV1Alpha2Server).CreatePipeline(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1alpha2.PipelinesV1Alpha2/CreatePipeline", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PipelinesV1Alpha2Server).CreatePipeline(ctx, req.(*CreatePipelineRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PipelinesV1Alpha2_RunPipeline_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RunPipelineRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PipelinesV1Alpha2Server).RunPipeline(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1alpha2.PipelinesV1Alpha2/RunPipeline", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PipelinesV1Alpha2Server).RunPipeline(ctx, req.(*RunPipelineRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PipelinesV1Alpha2_GetPipeline_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetPipelineRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PipelinesV1Alpha2Server).GetPipeline(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1alpha2.PipelinesV1Alpha2/GetPipeline", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PipelinesV1Alpha2Server).GetPipeline(ctx, req.(*GetPipelineRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PipelinesV1Alpha2_ListPipelines_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListPipelinesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PipelinesV1Alpha2Server).ListPipelines(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1alpha2.PipelinesV1Alpha2/ListPipelines", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PipelinesV1Alpha2Server).ListPipelines(ctx, req.(*ListPipelinesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PipelinesV1Alpha2_DeletePipeline_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeletePipelineRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PipelinesV1Alpha2Server).DeletePipeline(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1alpha2.PipelinesV1Alpha2/DeletePipeline", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PipelinesV1Alpha2Server).DeletePipeline(ctx, req.(*DeletePipelineRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PipelinesV1Alpha2_GetControllerConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetControllerConfigRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PipelinesV1Alpha2Server).GetControllerConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1alpha2.PipelinesV1Alpha2/GetControllerConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PipelinesV1Alpha2Server).GetControllerConfig(ctx, req.(*GetControllerConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PipelinesV1Alpha2_SetOperationStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetOperationStatusRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PipelinesV1Alpha2Server).SetOperationStatus(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.genomics.v1alpha2.PipelinesV1Alpha2/SetOperationStatus", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PipelinesV1Alpha2Server).SetOperationStatus(ctx, req.(*SetOperationStatusRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _PipelinesV1Alpha2_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.genomics.v1alpha2.PipelinesV1Alpha2", - HandlerType: (*PipelinesV1Alpha2Server)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreatePipeline", - Handler: _PipelinesV1Alpha2_CreatePipeline_Handler, - }, - { - MethodName: "RunPipeline", - Handler: _PipelinesV1Alpha2_RunPipeline_Handler, - }, - { - MethodName: "GetPipeline", - Handler: _PipelinesV1Alpha2_GetPipeline_Handler, - }, - { - MethodName: "ListPipelines", - Handler: _PipelinesV1Alpha2_ListPipelines_Handler, - }, - { - MethodName: "DeletePipeline", - Handler: _PipelinesV1Alpha2_DeletePipeline_Handler, - }, - { - MethodName: "GetControllerConfig", - Handler: _PipelinesV1Alpha2_GetControllerConfig_Handler, - }, - { - MethodName: "SetOperationStatus", - Handler: _PipelinesV1Alpha2_SetOperationStatus_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/genomics/v1alpha2/pipelines.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/geo/type/viewport/viewport.pb.go b/vendor/google.golang.org/genproto/googleapis/geo/type/viewport/viewport.pb.go deleted file mode 100644 index b86d7483..00000000 --- a/vendor/google.golang.org/genproto/googleapis/geo/type/viewport/viewport.pb.go +++ /dev/null @@ -1,130 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/geo/type/viewport.proto - -package viewport - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - latlng "google.golang.org/genproto/googleapis/type/latlng" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// A latitude-longitude viewport, represented as two diagonally opposite `low` -// and `high` points. A viewport is considered a closed region, i.e. it includes -// its boundary. The latitude bounds must range between -90 to 90 degrees -// inclusive, and the longitude bounds must range between -180 to 180 degrees -// inclusive. Various cases include: -// -// - If `low` = `high`, the viewport consists of that single point. -// -// - If `low.longitude` > `high.longitude`, the longitude range is inverted -// (the viewport crosses the 180 degree longitude line). -// -// - If `low.longitude` = -180 degrees and `high.longitude` = 180 degrees, -// the viewport includes all longitudes. -// -// - If `low.longitude` = 180 degrees and `high.longitude` = -180 degrees, -// the longitude range is empty. -// -// - If `low.latitude` > `high.latitude`, the latitude range is empty. -// -// Both `low` and `high` must be populated, and the represented box cannot be -// empty (as specified by the definitions above). An empty viewport will result -// in an error. -// -// For example, this viewport fully encloses New York City: -// -// { -// "low": { -// "latitude": 40.477398, -// "longitude": -74.259087 -// }, -// "high": { -// "latitude": 40.91618, -// "longitude": -73.70018 -// } -// } -type Viewport struct { - // Required. The low point of the viewport. - Low *latlng.LatLng `protobuf:"bytes,1,opt,name=low,proto3" json:"low,omitempty"` - // Required. The high point of the viewport. - High *latlng.LatLng `protobuf:"bytes,2,opt,name=high,proto3" json:"high,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Viewport) Reset() { *m = Viewport{} } -func (m *Viewport) String() string { return proto.CompactTextString(m) } -func (*Viewport) ProtoMessage() {} -func (*Viewport) Descriptor() ([]byte, []int) { - return fileDescriptor_52240f0f30767909, []int{0} -} - -func (m *Viewport) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Viewport.Unmarshal(m, b) -} -func (m *Viewport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Viewport.Marshal(b, m, deterministic) -} -func (m *Viewport) XXX_Merge(src proto.Message) { - xxx_messageInfo_Viewport.Merge(m, src) -} -func (m *Viewport) XXX_Size() int { - return xxx_messageInfo_Viewport.Size(m) -} -func (m *Viewport) XXX_DiscardUnknown() { - xxx_messageInfo_Viewport.DiscardUnknown(m) -} - -var xxx_messageInfo_Viewport proto.InternalMessageInfo - -func (m *Viewport) GetLow() *latlng.LatLng { - if m != nil { - return m.Low - } - return nil -} - -func (m *Viewport) GetHigh() *latlng.LatLng { - if m != nil { - return m.High - } - return nil -} - -func init() { - proto.RegisterType((*Viewport)(nil), "google.geo.type.Viewport") -} - -func init() { proto.RegisterFile("google/geo/type/viewport.proto", fileDescriptor_52240f0f30767909) } - -var fileDescriptor_52240f0f30767909 = []byte{ - // 195 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4b, 0xcf, 0xcf, 0x4f, - 0xcf, 0x49, 0xd5, 0x4f, 0x4f, 0xcd, 0xd7, 0x2f, 0xa9, 0x2c, 0x48, 0xd5, 0x2f, 0xcb, 0x4c, 0x2d, - 0x2f, 0xc8, 0x2f, 0x2a, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x87, 0xc8, 0xeb, 0xa5, - 0xa7, 0xe6, 0xeb, 0x81, 0xe4, 0xa5, 0x24, 0xa0, 0x1a, 0xc0, 0x8a, 0x73, 0x12, 0x4b, 0x72, 0xf2, - 0xd2, 0x21, 0x4a, 0x95, 0xa2, 0xb8, 0x38, 0xc2, 0xa0, 0x9a, 0x85, 0x54, 0xb9, 0x98, 0x73, 0xf2, - 0xcb, 0x25, 0x18, 0x15, 0x18, 0x35, 0xb8, 0x8d, 0x84, 0xf5, 0xa0, 0x86, 0x80, 0xf4, 0xe8, 0xf9, - 0x24, 0x96, 0xf8, 0xe4, 0xa5, 0x07, 0x81, 0xe4, 0x85, 0xd4, 0xb9, 0x58, 0x32, 0x32, 0xd3, 0x33, - 0x24, 0x98, 0x70, 0xab, 0x03, 0x2b, 0x70, 0xca, 0xe7, 0x12, 0x4e, 0xce, 0xcf, 0xd5, 0x43, 0x73, - 0x8c, 0x13, 0x2f, 0xcc, 0xc2, 0x00, 0x90, 0x0b, 0x02, 0x18, 0xa3, 0x1c, 0x60, 0x2a, 0xf2, 0x73, - 0x12, 0xf3, 0xd2, 0xf5, 0xf2, 0x8b, 0xd2, 0xf5, 0xd3, 0x53, 0xf3, 0xc0, 0xee, 0xd3, 0x87, 0x48, - 0x25, 0x16, 0x64, 0x16, 0x63, 0xfa, 0xd6, 0x1a, 0xc6, 0x58, 0xc4, 0xc4, 0xe2, 0xee, 0x1e, 0x12, - 0x90, 0xc4, 0x06, 0xd6, 0x63, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xf2, 0x9c, 0x8b, 0x3a, 0x20, - 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/grafeas/v1/attestation.pb.go b/vendor/google.golang.org/genproto/googleapis/grafeas/v1/attestation.pb.go deleted file mode 100644 index ea2871f6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/grafeas/v1/attestation.pb.go +++ /dev/null @@ -1,209 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: grafeas/v1/attestation.proto - -package grafeas - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// 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 AttestationNote struct { - // Hint hints at the purpose of the attestation authority. - Hint *AttestationNote_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 *AttestationNote) Reset() { *m = AttestationNote{} } -func (m *AttestationNote) String() string { return proto.CompactTextString(m) } -func (*AttestationNote) ProtoMessage() {} -func (*AttestationNote) Descriptor() ([]byte, []int) { - return fileDescriptor_7b5fa61d903b1ef3, []int{0} -} - -func (m *AttestationNote) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AttestationNote.Unmarshal(m, b) -} -func (m *AttestationNote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AttestationNote.Marshal(b, m, deterministic) -} -func (m *AttestationNote) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttestationNote.Merge(m, src) -} -func (m *AttestationNote) XXX_Size() int { - return xxx_messageInfo_AttestationNote.Size(m) -} -func (m *AttestationNote) XXX_DiscardUnknown() { - xxx_messageInfo_AttestationNote.DiscardUnknown(m) -} - -var xxx_messageInfo_AttestationNote proto.InternalMessageInfo - -func (m *AttestationNote) GetHint() *AttestationNote_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 AttestationNote_Hint struct { - // Required. 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 *AttestationNote_Hint) Reset() { *m = AttestationNote_Hint{} } -func (m *AttestationNote_Hint) String() string { return proto.CompactTextString(m) } -func (*AttestationNote_Hint) ProtoMessage() {} -func (*AttestationNote_Hint) Descriptor() ([]byte, []int) { - return fileDescriptor_7b5fa61d903b1ef3, []int{0, 0} -} - -func (m *AttestationNote_Hint) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AttestationNote_Hint.Unmarshal(m, b) -} -func (m *AttestationNote_Hint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AttestationNote_Hint.Marshal(b, m, deterministic) -} -func (m *AttestationNote_Hint) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttestationNote_Hint.Merge(m, src) -} -func (m *AttestationNote_Hint) XXX_Size() int { - return xxx_messageInfo_AttestationNote_Hint.Size(m) -} -func (m *AttestationNote_Hint) XXX_DiscardUnknown() { - xxx_messageInfo_AttestationNote_Hint.DiscardUnknown(m) -} - -var xxx_messageInfo_AttestationNote_Hint proto.InternalMessageInfo - -func (m *AttestationNote_Hint) GetHumanReadableName() string { - if m != nil { - return m.HumanReadableName - } - return "" -} - -// 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 lookup (how to find -// this attestation if you already know the authority and artifact to be -// verified) and intent (for which authority this attestation was intended to -// sign. -type AttestationOccurrence struct { - // Required. The serialized payload that is verified by one or more - // `signatures`. - SerializedPayload []byte `protobuf:"bytes,1,opt,name=serialized_payload,json=serializedPayload,proto3" json:"serialized_payload,omitempty"` - // One or more signatures over `serialized_payload`. Verifier implementations - // should consider this attestation message verified if at least one - // `signature` verifies `serialized_payload`. See `Signature` in common.proto - // for more details on signature structure and verification. - Signatures []*Signature `protobuf:"bytes,2,rep,name=signatures,proto3" json:"signatures,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AttestationOccurrence) Reset() { *m = AttestationOccurrence{} } -func (m *AttestationOccurrence) String() string { return proto.CompactTextString(m) } -func (*AttestationOccurrence) ProtoMessage() {} -func (*AttestationOccurrence) Descriptor() ([]byte, []int) { - return fileDescriptor_7b5fa61d903b1ef3, []int{1} -} - -func (m *AttestationOccurrence) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AttestationOccurrence.Unmarshal(m, b) -} -func (m *AttestationOccurrence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AttestationOccurrence.Marshal(b, m, deterministic) -} -func (m *AttestationOccurrence) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttestationOccurrence.Merge(m, src) -} -func (m *AttestationOccurrence) XXX_Size() int { - return xxx_messageInfo_AttestationOccurrence.Size(m) -} -func (m *AttestationOccurrence) XXX_DiscardUnknown() { - xxx_messageInfo_AttestationOccurrence.DiscardUnknown(m) -} - -var xxx_messageInfo_AttestationOccurrence proto.InternalMessageInfo - -func (m *AttestationOccurrence) GetSerializedPayload() []byte { - if m != nil { - return m.SerializedPayload - } - return nil -} - -func (m *AttestationOccurrence) GetSignatures() []*Signature { - if m != nil { - return m.Signatures - } - return nil -} - -func init() { - proto.RegisterType((*AttestationNote)(nil), "grafeas.v1.AttestationNote") - proto.RegisterType((*AttestationNote_Hint)(nil), "grafeas.v1.AttestationNote.Hint") - proto.RegisterType((*AttestationOccurrence)(nil), "grafeas.v1.AttestationOccurrence") -} - -func init() { proto.RegisterFile("grafeas/v1/attestation.proto", fileDescriptor_7b5fa61d903b1ef3) } - -var fileDescriptor_7b5fa61d903b1ef3 = []byte{ - // 280 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x90, 0x4d, 0x4b, 0x33, 0x31, - 0x14, 0x46, 0xe9, 0x07, 0x2f, 0xbc, 0xa9, 0x22, 0x8d, 0x14, 0x4b, 0x71, 0x31, 0x74, 0xd5, 0x8d, - 0x19, 0x5a, 0x3f, 0x10, 0x5c, 0xd5, 0x8d, 0xae, 0x6a, 0x8d, 0x3b, 0x37, 0xc3, 0xed, 0xcc, 0x35, - 0x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0x7a, 0xab, 0x88, 0x54, 0x8e, 0x42, 0x51, 0x0e, 0x46, 0x09, - 0xb2, 0x2a, 0x56, 0x68, 0xc2, 0x5c, 0xf1, 0x1e, 0x41, 0xa9, 0x5d, 0xdc, 0x2c, 0x7a, 0x57, 0x1f, - 0xbf, 0xbb, 0xbd, 0x07, 0xb9, 0xdc, 0xfc, 0x0b, 0xea, 0xe5, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, - 0xa2, 0x62, 0xca, 0x17, 0x9e, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/grafeas/v1/build.pb.go b/vendor/google.golang.org/genproto/googleapis/grafeas/v1/build.pb.go deleted file mode 100644 index daa84d62..00000000 --- a/vendor/google.golang.org/genproto/googleapis/grafeas/v1/build.pb.go +++ /dev/null @@ -1,150 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: grafeas/v1/build.proto - -package grafeas - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Note holding the version of the provider's builder and the signature of the -// provenance message in the build details occurrence. -type BuildNote struct { - // Required. Immutable. Version of the builder which produced this build. - BuilderVersion string `protobuf:"bytes,1,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 *BuildNote) Reset() { *m = BuildNote{} } -func (m *BuildNote) String() string { return proto.CompactTextString(m) } -func (*BuildNote) ProtoMessage() {} -func (*BuildNote) Descriptor() ([]byte, []int) { - return fileDescriptor_056b00916e290af1, []int{0} -} - -func (m *BuildNote) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BuildNote.Unmarshal(m, b) -} -func (m *BuildNote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BuildNote.Marshal(b, m, deterministic) -} -func (m *BuildNote) XXX_Merge(src proto.Message) { - xxx_messageInfo_BuildNote.Merge(m, src) -} -func (m *BuildNote) XXX_Size() int { - return xxx_messageInfo_BuildNote.Size(m) -} -func (m *BuildNote) XXX_DiscardUnknown() { - xxx_messageInfo_BuildNote.DiscardUnknown(m) -} - -var xxx_messageInfo_BuildNote proto.InternalMessageInfo - -func (m *BuildNote) GetBuilderVersion() string { - if m != nil { - return m.BuilderVersion - } - return "" -} - -// Details of a build occurrence. -type BuildOccurrence struct { - // Required. The actual provenance for the build. - Provenance *BuildProvenance `protobuf:"bytes,1,opt,name=provenance,proto3" json:"provenance,omitempty"` - // Serialized JSON representation of the provenance, used in generating the - // build signature in the corresponding build note. 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 *BuildOccurrence) Reset() { *m = BuildOccurrence{} } -func (m *BuildOccurrence) String() string { return proto.CompactTextString(m) } -func (*BuildOccurrence) ProtoMessage() {} -func (*BuildOccurrence) Descriptor() ([]byte, []int) { - return fileDescriptor_056b00916e290af1, []int{1} -} - -func (m *BuildOccurrence) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BuildOccurrence.Unmarshal(m, b) -} -func (m *BuildOccurrence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BuildOccurrence.Marshal(b, m, deterministic) -} -func (m *BuildOccurrence) XXX_Merge(src proto.Message) { - xxx_messageInfo_BuildOccurrence.Merge(m, src) -} -func (m *BuildOccurrence) XXX_Size() int { - return xxx_messageInfo_BuildOccurrence.Size(m) -} -func (m *BuildOccurrence) XXX_DiscardUnknown() { - xxx_messageInfo_BuildOccurrence.DiscardUnknown(m) -} - -var xxx_messageInfo_BuildOccurrence proto.InternalMessageInfo - -func (m *BuildOccurrence) GetProvenance() *BuildProvenance { - if m != nil { - return m.Provenance - } - return nil -} - -func (m *BuildOccurrence) GetProvenanceBytes() string { - if m != nil { - return m.ProvenanceBytes - } - return "" -} - -func init() { - proto.RegisterType((*BuildNote)(nil), "grafeas.v1.BuildNote") - proto.RegisterType((*BuildOccurrence)(nil), "grafeas.v1.BuildOccurrence") -} - -func init() { proto.RegisterFile("grafeas/v1/build.proto", fileDescriptor_056b00916e290af1) } - -var fileDescriptor_056b00916e290af1 = []byte{ - // 232 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4b, 0x2f, 0x4a, 0x4c, - 0x4b, 0x4d, 0x2c, 0xd6, 0x2f, 0x33, 0xd4, 0x4f, 0x2a, 0xcd, 0xcc, 0x49, 0xd1, 0x2b, 0x28, 0xca, - 0x2f, 0xc9, 0x17, 0xe2, 0x82, 0x8a, 0xeb, 0x95, 0x19, 0x4a, 0x49, 0x23, 0xa9, 0x29, 0x28, 0xca, - 0x2f, 0x4b, 0xcd, 0x4b, 0xcc, 0x4b, 0x4e, 0x85, 0x28, 0x54, 0x32, 0xe1, 0xe2, 0x74, 0x02, 0xe9, - 0xf3, 0xcb, 0x2f, 0x49, 0x15, 0x52, 0xe7, 0xe2, 0x07, 0x1b, 0x92, 0x5a, 0x14, 0x5f, 0x96, 0x5a, - 0x54, 0x9c, 0x99, 0x9f, 0x27, 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, 0x19, 0xc4, 0x07, 0x15, 0x0e, 0x83, - 0x88, 0x2a, 0x55, 0x72, 0xf1, 0x83, 0x75, 0xf9, 0x27, 0x27, 0x97, 0x16, 0x15, 0xa5, 0xe6, 0x25, - 0xa7, 0x0a, 0x59, 0x73, 0x71, 0x21, 0x0c, 0x07, 0x6b, 0xe3, 0x36, 0x92, 0xd6, 0x43, 0x38, 0x43, - 0x0f, 0xac, 0x21, 0x00, 0xae, 0x24, 0x08, 0x49, 0xb9, 0x90, 0x26, 0x97, 0x00, 0x82, 0x17, 0x9f, - 0x54, 0x59, 0x92, 0x5a, 0x2c, 0xc1, 0x04, 0xb6, 0x99, 0x1f, 0x21, 0xee, 0x04, 0x12, 0x76, 0x0a, - 0xe4, 0xe2, 0xcd, 0xcc, 0x47, 0x32, 0x37, 0x80, 0x31, 0xca, 0x22, 0x3d, 0x3f, 0x3f, 0x3d, 0x27, - 0x55, 0x2f, 0x3d, 0x3f, 0x27, 0x31, 0x2f, 0x5d, 0x2f, 0xbf, 0x28, 0x5d, 0x3f, 0x3d, 0x35, 0x0f, - 0xec, 0x3f, 0x7d, 0x88, 0x54, 0x62, 0x41, 0x66, 0xb1, 0x3e, 0x22, 0x18, 0xac, 0xa1, 0xcc, 0x45, - 0x4c, 0xcc, 0xee, 0x41, 0x8e, 0x49, 0x6c, 0x60, 0xa5, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, - 0xd7, 0x4a, 0x16, 0x20, 0x4d, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/grafeas/v1/common.pb.go b/vendor/google.golang.org/genproto/googleapis/grafeas/v1/common.pb.go deleted file mode 100644 index 57313fb6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/grafeas/v1/common.pb.go +++ /dev/null @@ -1,249 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: grafeas/v1/common.proto - -package grafeas - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // 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_5eb785a4ec53d49e, []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_5eb785a4ec53d49e, []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 (m *RelatedUrl) XXX_Merge(src proto.Message) { - xxx_messageInfo_RelatedUrl.Merge(m, 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 "" -} - -// Verifiers (e.g. Kritis implementations) MUST verify signatures -// with respect to the trust anchors defined in policy (e.g. a Kritis policy). -// Typically this means that the verifier has been configured with a map from -// `public_key_id` to public key material (and any required parameters, e.g. -// signing algorithm). -// -// In particular, verification implementations MUST NOT treat the signature -// `public_key_id` as anything more than a key lookup hint. The `public_key_id` -// DOES NOT validate or authenticate a public key; it only provides a mechanism -// for quickly selecting a public key ALREADY CONFIGURED on the verifier through -// a trusted channel. Verification implementations MUST reject signatures in any -// of the following circumstances: -// * The `public_key_id` is not recognized by the verifier. -// * The public key that `public_key_id` refers to does not verify the -// signature with respect to the payload. -// -// The `signature` contents SHOULD NOT be "attached" (where the payload is -// included with the serialized `signature` bytes). Verifiers MUST ignore any -// "attached" payload and only verify signatures with respect to explicitly -// provided payload (e.g. a `payload` field on the proto message that holds -// this Signature, or the canonical serialization of the proto message that -// holds this signature). -type Signature struct { - // The content of the signature, an opaque bytestring. - // The payload that this signature verifies MUST be unambiguously provided - // with the Signature during verification. A wrapper message might provide - // the payload explicitly. Alternatively, a message might have a canonical - // serialization that can always be unambiguously computed to derive the - // payload. - Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` - // The identifier for the public key that verifies this signature. - // * The `public_key_id` is required. - // * The `public_key_id` MUST be an RFC3986 conformant URI. - // * When possible, the `public_key_id` SHOULD be an immutable reference, - // such as a cryptographic digest. - // - // Examples of valid `public_key_id`s: - // - // OpenPGP V4 public key fingerprint: - // * "openpgp4fpr:74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA" - // See https://www.iana.org/assignments/uri-schemes/prov/openpgp4fpr for more - // details on this scheme. - // - // RFC6920 digest-named SubjectPublicKeyInfo (digest of the DER - // serialization): - // * "ni:///sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU" - // * "nih:///sha-256;703f68f42aba2c6de30f488a5ea122fef76324679c9bf89791ba95a1271589a5" - PublicKeyId string `protobuf:"bytes,2,opt,name=public_key_id,json=publicKeyId,proto3" json:"public_key_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Signature) Reset() { *m = Signature{} } -func (m *Signature) String() string { return proto.CompactTextString(m) } -func (*Signature) ProtoMessage() {} -func (*Signature) Descriptor() ([]byte, []int) { - return fileDescriptor_5eb785a4ec53d49e, []int{1} -} - -func (m *Signature) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Signature.Unmarshal(m, b) -} -func (m *Signature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Signature.Marshal(b, m, deterministic) -} -func (m *Signature) XXX_Merge(src proto.Message) { - xxx_messageInfo_Signature.Merge(m, src) -} -func (m *Signature) XXX_Size() int { - return xxx_messageInfo_Signature.Size(m) -} -func (m *Signature) XXX_DiscardUnknown() { - xxx_messageInfo_Signature.DiscardUnknown(m) -} - -var xxx_messageInfo_Signature proto.InternalMessageInfo - -func (m *Signature) GetSignature() []byte { - if m != nil { - return m.Signature - } - return nil -} - -func (m *Signature) GetPublicKeyId() string { - if m != nil { - return m.PublicKeyId - } - return "" -} - -func init() { - proto.RegisterEnum("grafeas.v1.NoteKind", NoteKind_name, NoteKind_value) - proto.RegisterType((*RelatedUrl)(nil), "grafeas.v1.RelatedUrl") - proto.RegisterType((*Signature)(nil), "grafeas.v1.Signature") -} - -func init() { proto.RegisterFile("grafeas/v1/common.proto", fileDescriptor_5eb785a4ec53d49e) } - -var fileDescriptor_5eb785a4ec53d49e = []byte{ - // 335 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x44, 0x90, 0xcf, 0x4e, 0xea, 0x40, - 0x18, 0xc5, 0x6f, 0xe1, 0x02, 0xb7, 0x1f, 0xb7, 0x3a, 0x4e, 0x34, 0x62, 0xe2, 0xc2, 0xb0, 0x32, - 0x2e, 0xda, 0x10, 0x5d, 0x98, 0xb8, 0x2a, 0x74, 0x24, 0x93, 0x96, 0xb6, 0xf6, 0x0f, 0x09, 0x6e, - 0x9a, 0x42, 0xc7, 0x49, 0xe3, 0xd0, 0x21, 0xa5, 0x90, 0xf0, 0x0c, 0xbe, 0x85, 0x4f, 0x6a, 0x28, - 0x18, 0x76, 0xe7, 0xfc, 0xce, 0xcc, 0xb7, 0xf8, 0xc1, 0x35, 0x2f, 0xd3, 0x0f, 0x96, 0xae, 0x8d, - 0xed, 0xc0, 0x58, 0xc8, 0xe5, 0x52, 0x16, 0xfa, 0xaa, 0x94, 0x95, 0xc4, 0x70, 0x1c, 0xf4, 0xed, - 0xa0, 0x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0x39, 0xf2, 0x95, 0xf7, 0x67, 0x2e, 0x25, 0x17, - 0x4c, 0xe7, 0x52, 0xa4, 0x05, 0xd7, 0x65, 0xc9, 0x0d, 0xce, 0x8a, 0xda, 0xa6, 0x71, 0x98, 0xd2, - 0x55, 0xbe, 0x36, 0x4e, 0xc2, 0x5f, 0x8e, 0xf1, 0xbb, 0xd1, 0x1c, 0x07, 0xe6, 0xbc, 0x5d, 0x3f, - 0x7d, 0xfc, 0x09, 0x00, 0x00, 0xff, 0xff, 0x98, 0x52, 0x07, 0xe2, 0x93, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/grafeas/v1/cvss.pb.go b/vendor/google.golang.org/genproto/googleapis/grafeas/v1/cvss.pb.go deleted file mode 100644 index 9516893c..00000000 --- a/vendor/google.golang.org/genproto/googleapis/grafeas/v1/cvss.pb.go +++ /dev/null @@ -1,387 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: grafeas/v1/cvss.proto - -package grafeas - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -type CVSSv3_AttackVector int32 - -const ( - CVSSv3_ATTACK_VECTOR_UNSPECIFIED CVSSv3_AttackVector = 0 - CVSSv3_ATTACK_VECTOR_NETWORK CVSSv3_AttackVector = 1 - CVSSv3_ATTACK_VECTOR_ADJACENT CVSSv3_AttackVector = 2 - CVSSv3_ATTACK_VECTOR_LOCAL CVSSv3_AttackVector = 3 - CVSSv3_ATTACK_VECTOR_PHYSICAL CVSSv3_AttackVector = 4 -) - -var CVSSv3_AttackVector_name = map[int32]string{ - 0: "ATTACK_VECTOR_UNSPECIFIED", - 1: "ATTACK_VECTOR_NETWORK", - 2: "ATTACK_VECTOR_ADJACENT", - 3: "ATTACK_VECTOR_LOCAL", - 4: "ATTACK_VECTOR_PHYSICAL", -} - -var CVSSv3_AttackVector_value = map[string]int32{ - "ATTACK_VECTOR_UNSPECIFIED": 0, - "ATTACK_VECTOR_NETWORK": 1, - "ATTACK_VECTOR_ADJACENT": 2, - "ATTACK_VECTOR_LOCAL": 3, - "ATTACK_VECTOR_PHYSICAL": 4, -} - -func (x CVSSv3_AttackVector) String() string { - return proto.EnumName(CVSSv3_AttackVector_name, int32(x)) -} - -func (CVSSv3_AttackVector) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_20c164700ea8df83, []int{0, 0} -} - -type CVSSv3_AttackComplexity int32 - -const ( - CVSSv3_ATTACK_COMPLEXITY_UNSPECIFIED CVSSv3_AttackComplexity = 0 - CVSSv3_ATTACK_COMPLEXITY_LOW CVSSv3_AttackComplexity = 1 - CVSSv3_ATTACK_COMPLEXITY_HIGH CVSSv3_AttackComplexity = 2 -) - -var CVSSv3_AttackComplexity_name = map[int32]string{ - 0: "ATTACK_COMPLEXITY_UNSPECIFIED", - 1: "ATTACK_COMPLEXITY_LOW", - 2: "ATTACK_COMPLEXITY_HIGH", -} - -var CVSSv3_AttackComplexity_value = map[string]int32{ - "ATTACK_COMPLEXITY_UNSPECIFIED": 0, - "ATTACK_COMPLEXITY_LOW": 1, - "ATTACK_COMPLEXITY_HIGH": 2, -} - -func (x CVSSv3_AttackComplexity) String() string { - return proto.EnumName(CVSSv3_AttackComplexity_name, int32(x)) -} - -func (CVSSv3_AttackComplexity) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_20c164700ea8df83, []int{0, 1} -} - -type CVSSv3_PrivilegesRequired int32 - -const ( - CVSSv3_PRIVILEGES_REQUIRED_UNSPECIFIED CVSSv3_PrivilegesRequired = 0 - CVSSv3_PRIVILEGES_REQUIRED_NONE CVSSv3_PrivilegesRequired = 1 - CVSSv3_PRIVILEGES_REQUIRED_LOW CVSSv3_PrivilegesRequired = 2 - CVSSv3_PRIVILEGES_REQUIRED_HIGH CVSSv3_PrivilegesRequired = 3 -) - -var CVSSv3_PrivilegesRequired_name = map[int32]string{ - 0: "PRIVILEGES_REQUIRED_UNSPECIFIED", - 1: "PRIVILEGES_REQUIRED_NONE", - 2: "PRIVILEGES_REQUIRED_LOW", - 3: "PRIVILEGES_REQUIRED_HIGH", -} - -var CVSSv3_PrivilegesRequired_value = map[string]int32{ - "PRIVILEGES_REQUIRED_UNSPECIFIED": 0, - "PRIVILEGES_REQUIRED_NONE": 1, - "PRIVILEGES_REQUIRED_LOW": 2, - "PRIVILEGES_REQUIRED_HIGH": 3, -} - -func (x CVSSv3_PrivilegesRequired) String() string { - return proto.EnumName(CVSSv3_PrivilegesRequired_name, int32(x)) -} - -func (CVSSv3_PrivilegesRequired) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_20c164700ea8df83, []int{0, 2} -} - -type CVSSv3_UserInteraction int32 - -const ( - CVSSv3_USER_INTERACTION_UNSPECIFIED CVSSv3_UserInteraction = 0 - CVSSv3_USER_INTERACTION_NONE CVSSv3_UserInteraction = 1 - CVSSv3_USER_INTERACTION_REQUIRED CVSSv3_UserInteraction = 2 -) - -var CVSSv3_UserInteraction_name = map[int32]string{ - 0: "USER_INTERACTION_UNSPECIFIED", - 1: "USER_INTERACTION_NONE", - 2: "USER_INTERACTION_REQUIRED", -} - -var CVSSv3_UserInteraction_value = map[string]int32{ - "USER_INTERACTION_UNSPECIFIED": 0, - "USER_INTERACTION_NONE": 1, - "USER_INTERACTION_REQUIRED": 2, -} - -func (x CVSSv3_UserInteraction) String() string { - return proto.EnumName(CVSSv3_UserInteraction_name, int32(x)) -} - -func (CVSSv3_UserInteraction) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_20c164700ea8df83, []int{0, 3} -} - -type CVSSv3_Scope int32 - -const ( - CVSSv3_SCOPE_UNSPECIFIED CVSSv3_Scope = 0 - CVSSv3_SCOPE_UNCHANGED CVSSv3_Scope = 1 - CVSSv3_SCOPE_CHANGED CVSSv3_Scope = 2 -) - -var CVSSv3_Scope_name = map[int32]string{ - 0: "SCOPE_UNSPECIFIED", - 1: "SCOPE_UNCHANGED", - 2: "SCOPE_CHANGED", -} - -var CVSSv3_Scope_value = map[string]int32{ - "SCOPE_UNSPECIFIED": 0, - "SCOPE_UNCHANGED": 1, - "SCOPE_CHANGED": 2, -} - -func (x CVSSv3_Scope) String() string { - return proto.EnumName(CVSSv3_Scope_name, int32(x)) -} - -func (CVSSv3_Scope) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_20c164700ea8df83, []int{0, 4} -} - -type CVSSv3_Impact int32 - -const ( - CVSSv3_IMPACT_UNSPECIFIED CVSSv3_Impact = 0 - CVSSv3_IMPACT_HIGH CVSSv3_Impact = 1 - CVSSv3_IMPACT_LOW CVSSv3_Impact = 2 - CVSSv3_IMPACT_NONE CVSSv3_Impact = 3 -) - -var CVSSv3_Impact_name = map[int32]string{ - 0: "IMPACT_UNSPECIFIED", - 1: "IMPACT_HIGH", - 2: "IMPACT_LOW", - 3: "IMPACT_NONE", -} - -var CVSSv3_Impact_value = map[string]int32{ - "IMPACT_UNSPECIFIED": 0, - "IMPACT_HIGH": 1, - "IMPACT_LOW": 2, - "IMPACT_NONE": 3, -} - -func (x CVSSv3_Impact) String() string { - return proto.EnumName(CVSSv3_Impact_name, int32(x)) -} - -func (CVSSv3_Impact) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_20c164700ea8df83, []int{0, 5} -} - -// Common Vulnerability Scoring System version 3. -// For details, see https://www.first.org/cvss/specification-document -type CVSSv3 struct { - // The base score is a function of the base metric scores. - BaseScore float32 `protobuf:"fixed32,1,opt,name=base_score,json=baseScore,proto3" json:"base_score,omitempty"` - ExploitabilityScore float32 `protobuf:"fixed32,2,opt,name=exploitability_score,json=exploitabilityScore,proto3" json:"exploitability_score,omitempty"` - ImpactScore float32 `protobuf:"fixed32,3,opt,name=impact_score,json=impactScore,proto3" json:"impact_score,omitempty"` - // Base Metrics - // Represents the intrinsic characteristics of a vulnerability that are - // constant over time and across user environments. - AttackVector CVSSv3_AttackVector `protobuf:"varint,5,opt,name=attack_vector,json=attackVector,proto3,enum=grafeas.v1.CVSSv3_AttackVector" json:"attack_vector,omitempty"` - AttackComplexity CVSSv3_AttackComplexity `protobuf:"varint,6,opt,name=attack_complexity,json=attackComplexity,proto3,enum=grafeas.v1.CVSSv3_AttackComplexity" json:"attack_complexity,omitempty"` - PrivilegesRequired CVSSv3_PrivilegesRequired `protobuf:"varint,7,opt,name=privileges_required,json=privilegesRequired,proto3,enum=grafeas.v1.CVSSv3_PrivilegesRequired" json:"privileges_required,omitempty"` - UserInteraction CVSSv3_UserInteraction `protobuf:"varint,8,opt,name=user_interaction,json=userInteraction,proto3,enum=grafeas.v1.CVSSv3_UserInteraction" json:"user_interaction,omitempty"` - Scope CVSSv3_Scope `protobuf:"varint,9,opt,name=scope,proto3,enum=grafeas.v1.CVSSv3_Scope" json:"scope,omitempty"` - ConfidentialityImpact CVSSv3_Impact `protobuf:"varint,10,opt,name=confidentiality_impact,json=confidentialityImpact,proto3,enum=grafeas.v1.CVSSv3_Impact" json:"confidentiality_impact,omitempty"` - IntegrityImpact CVSSv3_Impact `protobuf:"varint,11,opt,name=integrity_impact,json=integrityImpact,proto3,enum=grafeas.v1.CVSSv3_Impact" json:"integrity_impact,omitempty"` - AvailabilityImpact CVSSv3_Impact `protobuf:"varint,12,opt,name=availability_impact,json=availabilityImpact,proto3,enum=grafeas.v1.CVSSv3_Impact" json:"availability_impact,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CVSSv3) Reset() { *m = CVSSv3{} } -func (m *CVSSv3) String() string { return proto.CompactTextString(m) } -func (*CVSSv3) ProtoMessage() {} -func (*CVSSv3) Descriptor() ([]byte, []int) { - return fileDescriptor_20c164700ea8df83, []int{0} -} - -func (m *CVSSv3) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CVSSv3.Unmarshal(m, b) -} -func (m *CVSSv3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CVSSv3.Marshal(b, m, deterministic) -} -func (m *CVSSv3) XXX_Merge(src proto.Message) { - xxx_messageInfo_CVSSv3.Merge(m, src) -} -func (m *CVSSv3) XXX_Size() int { - return xxx_messageInfo_CVSSv3.Size(m) -} -func (m *CVSSv3) XXX_DiscardUnknown() { - xxx_messageInfo_CVSSv3.DiscardUnknown(m) -} - -var xxx_messageInfo_CVSSv3 proto.InternalMessageInfo - -func (m *CVSSv3) GetBaseScore() float32 { - if m != nil { - return m.BaseScore - } - return 0 -} - -func (m *CVSSv3) GetExploitabilityScore() float32 { - if m != nil { - return m.ExploitabilityScore - } - return 0 -} - -func (m *CVSSv3) GetImpactScore() float32 { - if m != nil { - return m.ImpactScore - } - return 0 -} - -func (m *CVSSv3) GetAttackVector() CVSSv3_AttackVector { - if m != nil { - return m.AttackVector - } - return CVSSv3_ATTACK_VECTOR_UNSPECIFIED -} - -func (m *CVSSv3) GetAttackComplexity() CVSSv3_AttackComplexity { - if m != nil { - return m.AttackComplexity - } - return CVSSv3_ATTACK_COMPLEXITY_UNSPECIFIED -} - -func (m *CVSSv3) GetPrivilegesRequired() CVSSv3_PrivilegesRequired { - if m != nil { - return m.PrivilegesRequired - } - return CVSSv3_PRIVILEGES_REQUIRED_UNSPECIFIED -} - -func (m *CVSSv3) GetUserInteraction() CVSSv3_UserInteraction { - if m != nil { - return m.UserInteraction - } - return CVSSv3_USER_INTERACTION_UNSPECIFIED -} - -func (m *CVSSv3) GetScope() CVSSv3_Scope { - if m != nil { - return m.Scope - } - return CVSSv3_SCOPE_UNSPECIFIED -} - -func (m *CVSSv3) GetConfidentialityImpact() CVSSv3_Impact { - if m != nil { - return m.ConfidentialityImpact - } - return CVSSv3_IMPACT_UNSPECIFIED -} - -func (m *CVSSv3) GetIntegrityImpact() CVSSv3_Impact { - if m != nil { - return m.IntegrityImpact - } - return CVSSv3_IMPACT_UNSPECIFIED -} - -func (m *CVSSv3) GetAvailabilityImpact() CVSSv3_Impact { - if m != nil { - return m.AvailabilityImpact - } - return CVSSv3_IMPACT_UNSPECIFIED -} - -func init() { - proto.RegisterEnum("grafeas.v1.CVSSv3_AttackVector", CVSSv3_AttackVector_name, CVSSv3_AttackVector_value) - proto.RegisterEnum("grafeas.v1.CVSSv3_AttackComplexity", CVSSv3_AttackComplexity_name, CVSSv3_AttackComplexity_value) - proto.RegisterEnum("grafeas.v1.CVSSv3_PrivilegesRequired", CVSSv3_PrivilegesRequired_name, CVSSv3_PrivilegesRequired_value) - proto.RegisterEnum("grafeas.v1.CVSSv3_UserInteraction", CVSSv3_UserInteraction_name, CVSSv3_UserInteraction_value) - proto.RegisterEnum("grafeas.v1.CVSSv3_Scope", CVSSv3_Scope_name, CVSSv3_Scope_value) - proto.RegisterEnum("grafeas.v1.CVSSv3_Impact", CVSSv3_Impact_name, CVSSv3_Impact_value) - proto.RegisterType((*CVSSv3)(nil), "grafeas.v1.CVSSv3") -} - -func init() { proto.RegisterFile("grafeas/v1/cvss.proto", fileDescriptor_20c164700ea8df83) } - -var fileDescriptor_20c164700ea8df83 = []byte{ - // 693 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x94, 0xcf, 0x53, 0x9b, 0x5a, - 0x14, 0xc7, 0x1f, 0xe4, 0x99, 0xf7, 0x3c, 0x46, 0x83, 0x37, 0x2f, 0x4a, 0x5e, 0xcd, 0xa8, 0x38, - 0x9d, 0x71, 0x45, 0xc6, 0xba, 0xe9, 0x4c, 0x57, 0x94, 0x60, 0x82, 0x46, 0xc0, 0x0b, 0x89, 0xb5, - 0x1b, 0x06, 0xf1, 0xca, 0xdc, 0x29, 0x06, 0x0a, 0x98, 0xd1, 0x7f, 0xa3, 0xbb, 0x6e, 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4b, 0x51, - 0x9d, 0x05, 0x53, 0x15, 0x36, 0x8a, 0x9c, 0xdd, 0x29, 0x87, 0xb6, 0x00, 0x8a, 0x20, 0x7f, 0x2e, - 0x53, 0x80, 0x8d, 0x5e, 0xfa, 0x7c, 0x05, 0x9b, 0x34, 0x9a, 0x59, 0x6e, 0x8b, 0xfb, 0xfa, 0x31, - 0x88, 0xa2, 0x20, 0x24, 0x72, 0x10, 0x85, 0xde, 0x30, 0x90, 0xa3, 0x24, 0x68, 0x05, 0x64, 0xc8, - 0xce, 0xed, 0x56, 0x5e, 0xf2, 0x62, 0x9a, 0xb6, 0xa6, 0x07, 0xfb, 0xa7, 0xe2, 0xe7, 0x2f, 0xbe, - 0xd4, 0xc1, 0xca, 0x6d, 0x99, 0xa1, 0xa7, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x76, 0x6f, 0xf4, - 0x24, 0xfb, 0x05, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/grafeas/v1/deployment.pb.go b/vendor/google.golang.org/genproto/googleapis/grafeas/v1/deployment.pb.go deleted file mode 100644 index 95d28606..00000000 --- a/vendor/google.golang.org/genproto/googleapis/grafeas/v1/deployment.pb.go +++ /dev/null @@ -1,233 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: grafeas/v1/deployment.proto - -package grafeas - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Types of platforms. -type DeploymentOccurrence_Platform int32 - -const ( - // Unknown. - DeploymentOccurrence_PLATFORM_UNSPECIFIED DeploymentOccurrence_Platform = 0 - // Google Container Engine. - DeploymentOccurrence_GKE DeploymentOccurrence_Platform = 1 - // Google App Engine: Flexible Environment. - DeploymentOccurrence_FLEX DeploymentOccurrence_Platform = 2 - // Custom user-defined platform. - DeploymentOccurrence_CUSTOM DeploymentOccurrence_Platform = 3 -) - -var DeploymentOccurrence_Platform_name = map[int32]string{ - 0: "PLATFORM_UNSPECIFIED", - 1: "GKE", - 2: "FLEX", - 3: "CUSTOM", -} - -var DeploymentOccurrence_Platform_value = map[string]int32{ - "PLATFORM_UNSPECIFIED": 0, - "GKE": 1, - "FLEX": 2, - "CUSTOM": 3, -} - -func (x DeploymentOccurrence_Platform) String() string { - return proto.EnumName(DeploymentOccurrence_Platform_name, int32(x)) -} - -func (DeploymentOccurrence_Platform) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dbec5638edd5c218, []int{1, 0} -} - -// An artifact that can be deployed in some runtime. -type DeploymentNote struct { - // Required. 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 *DeploymentNote) Reset() { *m = DeploymentNote{} } -func (m *DeploymentNote) String() string { return proto.CompactTextString(m) } -func (*DeploymentNote) ProtoMessage() {} -func (*DeploymentNote) Descriptor() ([]byte, []int) { - return fileDescriptor_dbec5638edd5c218, []int{0} -} - -func (m *DeploymentNote) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeploymentNote.Unmarshal(m, b) -} -func (m *DeploymentNote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeploymentNote.Marshal(b, m, deterministic) -} -func (m *DeploymentNote) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeploymentNote.Merge(m, src) -} -func (m *DeploymentNote) XXX_Size() int { - return xxx_messageInfo_DeploymentNote.Size(m) -} -func (m *DeploymentNote) XXX_DiscardUnknown() { - xxx_messageInfo_DeploymentNote.DiscardUnknown(m) -} - -var xxx_messageInfo_DeploymentNote proto.InternalMessageInfo - -func (m *DeploymentNote) GetResourceUri() []string { - if m != nil { - return m.ResourceUri - } - return nil -} - -// The period during which some deployable was active in a runtime. -type DeploymentOccurrence 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"` - // Required. 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 DeploymentOccurrence_Platform `protobuf:"varint,7,opt,name=platform,proto3,enum=grafeas.v1.DeploymentOccurrence_Platform" json:"platform,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DeploymentOccurrence) Reset() { *m = DeploymentOccurrence{} } -func (m *DeploymentOccurrence) String() string { return proto.CompactTextString(m) } -func (*DeploymentOccurrence) ProtoMessage() {} -func (*DeploymentOccurrence) Descriptor() ([]byte, []int) { - return fileDescriptor_dbec5638edd5c218, []int{1} -} - -func (m *DeploymentOccurrence) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeploymentOccurrence.Unmarshal(m, b) -} -func (m *DeploymentOccurrence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeploymentOccurrence.Marshal(b, m, deterministic) -} -func (m *DeploymentOccurrence) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeploymentOccurrence.Merge(m, src) -} -func (m *DeploymentOccurrence) XXX_Size() int { - return xxx_messageInfo_DeploymentOccurrence.Size(m) -} -func (m *DeploymentOccurrence) XXX_DiscardUnknown() { - xxx_messageInfo_DeploymentOccurrence.DiscardUnknown(m) -} - -var xxx_messageInfo_DeploymentOccurrence proto.InternalMessageInfo - -func (m *DeploymentOccurrence) GetUserEmail() string { - if m != nil { - return m.UserEmail - } - return "" -} - -func (m *DeploymentOccurrence) GetDeployTime() *timestamp.Timestamp { - if m != nil { - return m.DeployTime - } - return nil -} - -func (m *DeploymentOccurrence) GetUndeployTime() *timestamp.Timestamp { - if m != nil { - return m.UndeployTime - } - return nil -} - -func (m *DeploymentOccurrence) GetConfig() string { - if m != nil { - return m.Config - } - return "" -} - -func (m *DeploymentOccurrence) GetAddress() string { - if m != nil { - return m.Address - } - return "" -} - -func (m *DeploymentOccurrence) GetResourceUri() []string { - if m != nil { - return m.ResourceUri - } - return nil -} - -func (m *DeploymentOccurrence) GetPlatform() DeploymentOccurrence_Platform { - if m != nil { - return m.Platform - } - return DeploymentOccurrence_PLATFORM_UNSPECIFIED -} - -func init() { - proto.RegisterEnum("grafeas.v1.DeploymentOccurrence_Platform", DeploymentOccurrence_Platform_name, DeploymentOccurrence_Platform_value) - proto.RegisterType((*DeploymentNote)(nil), "grafeas.v1.DeploymentNote") - proto.RegisterType((*DeploymentOccurrence)(nil), "grafeas.v1.DeploymentOccurrence") -} - -func init() { proto.RegisterFile("grafeas/v1/deployment.proto", fileDescriptor_dbec5638edd5c218) } - -var fileDescriptor_dbec5638edd5c218 = []byte{ - // 393 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x5f, 0x8b, 0x9b, 0x40, - 0x14, 0xc5, 0x6b, 0xdc, 0x9a, 0xe4, 0x66, 0x77, 0x91, 0x61, 0x29, 0xc3, 0x96, 0x52, 0x9b, 0x27, - 0xfb, 0x32, 0xb2, 0xbb, 0x2f, 0x85, 0x7d, 0x28, 0xdb, 0xc4, 0x84, 0xd0, 0xfc, 0xb1, 0x26, 0x81, - 0xd2, 0x17, 0x99, 0x98, 0x71, 0x10, 0xd4, 0x91, 0x51, 0x03, 0xfd, 0x1e, 0xfd, 0x04, 0xfd, 0xa4, - 0xc5, 0x7f, 0x49, 0x20, 0x85, 0x7d, 0xf3, 0x9e, 0x73, 0xcf, 0xf5, 0xf0, 0x63, 0xe0, 0x3d, 0x97, - 0x34, 0x60, 0x34, 0xb3, 0x0e, 0x0f, 0xd6, 0x9e, 0xa5, 0x91, 0xf8, 0x1d, 0xb3, 0x24, 0x27, 0xa9, - 0x14, 0xb9, 0x40, 0xd0, 0x98, 0xe4, 0xf0, 0x70, 0xff, 0x91, 0x0b, 0xc1, 0x23, 0x66, 0x55, 0xce, - 0xae, 0x08, 0xac, 0x3c, 0x8c, 0x59, 0x96, 0xd3, 0x38, 0xad, 0x97, 0x87, 0x4f, 0x70, 0x3b, 0x3e, - 0x1e, 0x58, 0x8a, 0x9c, 0xa1, 0x4f, 0x70, 0x2d, 0x59, 0x26, 0x0a, 0xe9, 0x33, 0xaf, 0x90, 0x21, - 0x56, 0x0c, 0xd5, 0xec, 0xbb, 0x83, 0x56, 0xdb, 0xca, 0x70, 0xf8, 0x47, 0x85, 0xbb, 0x53, 0x6a, - 0xe5, 0xfb, 0x85, 0x94, 0x2c, 0xf1, 0x19, 0xfa, 0x00, 0x50, 0x64, 0x4c, 0x7a, 0x2c, 0xa6, 0x61, - 0x84, 0x15, 0x43, 0x31, 0xfb, 0x6e, 0xbf, 0x54, 0xec, 0x52, 0x40, 0xcf, 0x30, 0xa8, 0xdb, 0x7a, - 0x65, 0x0d, 0xdc, 0x31, 0x14, 0x73, 0xf0, 0x78, 0x4f, 0xea, 0x8e, 0xa4, 0xed, 0x48, 0x36, 0x6d, - 0x47, 0x17, 0xea, 0xf5, 0x52, 0x40, 0x5f, 0xe1, 0xa6, 0x48, 0xce, 0xe3, 0xea, 0xab, 0xf1, 0xeb, - 0x36, 0x50, 0x1d, 0x78, 0x07, 0x9a, 0x2f, 0x92, 0x20, 0xe4, 0xf8, 0xaa, 0x2a, 0xd6, 0x4c, 0x08, - 0x43, 0x97, 0xee, 0xf7, 0x92, 0x65, 0x19, 0x7e, 0x5b, 0x19, 0xed, 0x78, 0x81, 0x42, 0xbb, 0x40, - 0x81, 0x6c, 0xe8, 0xa5, 0x11, 0xcd, 0x03, 0x21, 0x63, 0xdc, 0x35, 0x14, 0xf3, 0xf6, 0xf1, 0x33, - 0x39, 0xf1, 0x27, 0xff, 0xa3, 0x44, 0x9c, 0x26, 0xe0, 0x1e, 0xa3, 0xc3, 0x11, 0xf4, 0x5a, 0x15, - 0x61, 0xb8, 0x73, 0xe6, 0x2f, 0x9b, 0xc9, 0xca, 0x5d, 0x78, 0xdb, 0xe5, 0xda, 0xb1, 0x47, 0xb3, - 0xc9, 0xcc, 0x1e, 0xeb, 0x6f, 0x50, 0x17, 0xd4, 0xe9, 0x77, 0x5b, 0x57, 0x50, 0x0f, 0xae, 0x26, - 0x73, 0xfb, 0xa7, 0xde, 0x41, 0x00, 0xda, 0x68, 0xbb, 0xde, 0xac, 0x16, 0xba, 0xfa, 0xed, 0x07, - 0xdc, 0x84, 0xe2, 0xec, 0xef, 0x8e, 0xf2, 0xeb, 0x4b, 0x03, 0x87, 0x8b, 0x88, 0x26, 0x9c, 0x08, - 0xc9, 0x2d, 0xce, 0x92, 0x0a, 0x95, 0x55, 0x5b, 0x34, 0x0d, 0x33, 0xeb, 0xf4, 0x9c, 0x9e, 0x9b, - 0xcf, 0xbf, 0x1d, 0x75, 0xea, 0xbe, 0xec, 0xb4, 0x6a, 0xf5, 0xe9, 0x5f, 0x00, 0x00, 0x00, 0xff, - 0xff, 0x40, 0xf2, 0x1d, 0x74, 0x71, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/grafeas/v1/discovery.pb.go b/vendor/google.golang.org/genproto/googleapis/grafeas/v1/discovery.pb.go deleted file mode 100644 index e58f13c7..00000000 --- a/vendor/google.golang.org/genproto/googleapis/grafeas/v1/discovery.pb.go +++ /dev/null @@ -1,247 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: grafeas/v1/discovery.proto - -package grafeas - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Whether the resource is continuously analyzed. -type DiscoveryOccurrence_ContinuousAnalysis int32 - -const ( - // Unknown. - DiscoveryOccurrence_CONTINUOUS_ANALYSIS_UNSPECIFIED DiscoveryOccurrence_ContinuousAnalysis = 0 - // The resource is continuously analyzed. - DiscoveryOccurrence_ACTIVE DiscoveryOccurrence_ContinuousAnalysis = 1 - // The resource is ignored for continuous analysis. - DiscoveryOccurrence_INACTIVE DiscoveryOccurrence_ContinuousAnalysis = 2 -) - -var DiscoveryOccurrence_ContinuousAnalysis_name = map[int32]string{ - 0: "CONTINUOUS_ANALYSIS_UNSPECIFIED", - 1: "ACTIVE", - 2: "INACTIVE", -} - -var DiscoveryOccurrence_ContinuousAnalysis_value = map[string]int32{ - "CONTINUOUS_ANALYSIS_UNSPECIFIED": 0, - "ACTIVE": 1, - "INACTIVE": 2, -} - -func (x DiscoveryOccurrence_ContinuousAnalysis) String() string { - return proto.EnumName(DiscoveryOccurrence_ContinuousAnalysis_name, int32(x)) -} - -func (DiscoveryOccurrence_ContinuousAnalysis) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ca027ecd4454b7df, []int{1, 0} -} - -// Analysis status for a resource. Currently for initial analysis only (not -// updated in continuous analysis). -type DiscoveryOccurrence_AnalysisStatus int32 - -const ( - // Unknown. - DiscoveryOccurrence_ANALYSIS_STATUS_UNSPECIFIED DiscoveryOccurrence_AnalysisStatus = 0 - // Resource is known but no action has been taken yet. - DiscoveryOccurrence_PENDING DiscoveryOccurrence_AnalysisStatus = 1 - // Resource is being analyzed. - DiscoveryOccurrence_SCANNING DiscoveryOccurrence_AnalysisStatus = 2 - // Analysis has finished successfully. - DiscoveryOccurrence_FINISHED_SUCCESS DiscoveryOccurrence_AnalysisStatus = 3 - // Analysis has finished unsuccessfully, the analysis itself is in a bad - // state. - DiscoveryOccurrence_FINISHED_FAILED DiscoveryOccurrence_AnalysisStatus = 4 - // The resource is known not to be supported - DiscoveryOccurrence_FINISHED_UNSUPPORTED DiscoveryOccurrence_AnalysisStatus = 5 -) - -var DiscoveryOccurrence_AnalysisStatus_name = map[int32]string{ - 0: "ANALYSIS_STATUS_UNSPECIFIED", - 1: "PENDING", - 2: "SCANNING", - 3: "FINISHED_SUCCESS", - 4: "FINISHED_FAILED", - 5: "FINISHED_UNSUPPORTED", -} - -var DiscoveryOccurrence_AnalysisStatus_value = map[string]int32{ - "ANALYSIS_STATUS_UNSPECIFIED": 0, - "PENDING": 1, - "SCANNING": 2, - "FINISHED_SUCCESS": 3, - "FINISHED_FAILED": 4, - "FINISHED_UNSUPPORTED": 5, -} - -func (x DiscoveryOccurrence_AnalysisStatus) String() string { - return proto.EnumName(DiscoveryOccurrence_AnalysisStatus_name, int32(x)) -} - -func (DiscoveryOccurrence_AnalysisStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ca027ecd4454b7df, []int{1, 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 DiscoveryNote struct { - // Required. Immutable. The kind of analysis that is handled by this - // discovery. - AnalysisKind NoteKind `protobuf:"varint,1,opt,name=analysis_kind,json=analysisKind,proto3,enum=grafeas.v1.NoteKind" json:"analysis_kind,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DiscoveryNote) Reset() { *m = DiscoveryNote{} } -func (m *DiscoveryNote) String() string { return proto.CompactTextString(m) } -func (*DiscoveryNote) ProtoMessage() {} -func (*DiscoveryNote) Descriptor() ([]byte, []int) { - return fileDescriptor_ca027ecd4454b7df, []int{0} -} - -func (m *DiscoveryNote) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiscoveryNote.Unmarshal(m, b) -} -func (m *DiscoveryNote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiscoveryNote.Marshal(b, m, deterministic) -} -func (m *DiscoveryNote) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiscoveryNote.Merge(m, src) -} -func (m *DiscoveryNote) XXX_Size() int { - return xxx_messageInfo_DiscoveryNote.Size(m) -} -func (m *DiscoveryNote) XXX_DiscardUnknown() { - xxx_messageInfo_DiscoveryNote.DiscardUnknown(m) -} - -var xxx_messageInfo_DiscoveryNote proto.InternalMessageInfo - -func (m *DiscoveryNote) GetAnalysisKind() NoteKind { - if m != nil { - return m.AnalysisKind - } - return NoteKind_NOTE_KIND_UNSPECIFIED -} - -// Provides information about the analysis status of a discovered resource. -type DiscoveryOccurrence struct { - // Whether the resource is continuously analyzed. - ContinuousAnalysis DiscoveryOccurrence_ContinuousAnalysis `protobuf:"varint,1,opt,name=continuous_analysis,json=continuousAnalysis,proto3,enum=grafeas.v1.DiscoveryOccurrence_ContinuousAnalysis" json:"continuous_analysis,omitempty"` - // The status of discovery for the resource. - AnalysisStatus DiscoveryOccurrence_AnalysisStatus `protobuf:"varint,2,opt,name=analysis_status,json=analysisStatus,proto3,enum=grafeas.v1.DiscoveryOccurrence_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,3,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 *DiscoveryOccurrence) Reset() { *m = DiscoveryOccurrence{} } -func (m *DiscoveryOccurrence) String() string { return proto.CompactTextString(m) } -func (*DiscoveryOccurrence) ProtoMessage() {} -func (*DiscoveryOccurrence) Descriptor() ([]byte, []int) { - return fileDescriptor_ca027ecd4454b7df, []int{1} -} - -func (m *DiscoveryOccurrence) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiscoveryOccurrence.Unmarshal(m, b) -} -func (m *DiscoveryOccurrence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiscoveryOccurrence.Marshal(b, m, deterministic) -} -func (m *DiscoveryOccurrence) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiscoveryOccurrence.Merge(m, src) -} -func (m *DiscoveryOccurrence) XXX_Size() int { - return xxx_messageInfo_DiscoveryOccurrence.Size(m) -} -func (m *DiscoveryOccurrence) XXX_DiscardUnknown() { - xxx_messageInfo_DiscoveryOccurrence.DiscardUnknown(m) -} - -var xxx_messageInfo_DiscoveryOccurrence proto.InternalMessageInfo - -func (m *DiscoveryOccurrence) GetContinuousAnalysis() DiscoveryOccurrence_ContinuousAnalysis { - if m != nil { - return m.ContinuousAnalysis - } - return DiscoveryOccurrence_CONTINUOUS_ANALYSIS_UNSPECIFIED -} - -func (m *DiscoveryOccurrence) GetAnalysisStatus() DiscoveryOccurrence_AnalysisStatus { - if m != nil { - return m.AnalysisStatus - } - return DiscoveryOccurrence_ANALYSIS_STATUS_UNSPECIFIED -} - -func (m *DiscoveryOccurrence) GetAnalysisStatusError() *status.Status { - if m != nil { - return m.AnalysisStatusError - } - return nil -} - -func init() { - proto.RegisterEnum("grafeas.v1.DiscoveryOccurrence_ContinuousAnalysis", DiscoveryOccurrence_ContinuousAnalysis_name, DiscoveryOccurrence_ContinuousAnalysis_value) - proto.RegisterEnum("grafeas.v1.DiscoveryOccurrence_AnalysisStatus", DiscoveryOccurrence_AnalysisStatus_name, DiscoveryOccurrence_AnalysisStatus_value) - proto.RegisterType((*DiscoveryNote)(nil), "grafeas.v1.DiscoveryNote") - proto.RegisterType((*DiscoveryOccurrence)(nil), "grafeas.v1.DiscoveryOccurrence") -} - -func init() { proto.RegisterFile("grafeas/v1/discovery.proto", fileDescriptor_ca027ecd4454b7df) } - -var fileDescriptor_ca027ecd4454b7df = []byte{ - // 448 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x41, 0x6f, 0xd3, 0x30, - 0x14, 0xc7, 0x49, 0x3b, 0x06, 0x7a, 0x5b, 0xbb, 0xc8, 0x2d, 0x5a, 0x55, 0x0e, 0x9b, 0xca, 0x65, - 0x27, 0x47, 0x2b, 0x17, 0x10, 0xa7, 0x90, 0xb8, 0xc3, 0x30, 0xb9, 0x21, 0x4e, 0x40, 0x70, 0x89, - 0x82, 0x1b, 0xa2, 0x88, 0xce, 0xae, 0xec, 0xb4, 0xd2, 0xee, 0x7c, 0x01, 0xbe, 0x02, 0x9f, 0x14, - 0xb5, 0x49, 0xb3, 0x76, 0x43, 0xda, 0xcd, 0xff, 0xf7, 0xfe, 0xff, 0xdf, 0xb3, 0x9f, 0x0c, 0xc3, - 0x5c, 0xa7, 0x3f, 0xb3, 0xd4, 0x38, 0xab, 0x4b, 0x67, 0x56, 0x18, 0xa1, 0x56, 0x99, 0xbe, 0xc5, - 0x0b, 0xad, 0x4a, 0x85, 0xa0, 0xee, 0xe1, 0xd5, 0xe5, 0xf0, 0x34, 0x57, 0x2a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x20, 0x1e, 0x9d, 0x50, 0xe2, 0xdb, 0x4f, 0x10, 0xc0, 0xa1, 0xeb, 0x45, 0xf4, - 0x0b, 0xb1, 0x2d, 0x74, 0x0c, 0xcf, 0x29, 0xab, 0x55, 0x6b, 0xf4, 0xc7, 0x82, 0xee, 0xfe, 0xfd, - 0xd1, 0x19, 0xbc, 0x6c, 0x30, 0x3c, 0x72, 0xa3, 0xf8, 0x3e, 0xed, 0x08, 0x9e, 0x05, 0x84, 0xf9, - 0x94, 0x5d, 0x55, 0x38, 0xee, 0xb9, 0x8c, 0xad, 0x55, 0x0b, 0xf5, 0xc1, 0x9e, 0x50, 0x46, 0xf9, - 0x07, 0xe2, 0x27, 0x3c, 0xf6, 0x3c, 0xc2, 0xb9, 0xdd, 0x46, 0x3d, 0x38, 0x69, 0xaa, 0x13, 0x97, - 0x5e, 0x13, 0xdf, 0x3e, 0x40, 0x03, 0xe8, 0x37, 0xc5, 0x98, 0xf1, 0x38, 0x08, 0xa6, 0x61, 0x44, - 0x7c, 0xfb, 0xe9, 0xfb, 0xcf, 0xd0, 0x29, 0xd4, 0xce, 0xd2, 0x03, 0xeb, 0xfb, 0x9b, 0x7a, 0x47, - 0xb9, 0x9a, 0xa7, 0x32, 0xc7, 0x4a, 0xe7, 0x4e, 0x9e, 0xc9, 0xcd, 0x0f, 0x74, 0xaa, 0x56, 0xba, - 0x28, 0x8c, 0x73, 0xf7, 0x49, 0xdf, 0xd5, 0xc7, 0xbf, 0xad, 0xf6, 0x55, 0xe8, 0xfe, 0x38, 0xdc, - 0x58, 0x5f, 0xff, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x34, 0x10, 0xd3, 0x64, 0x08, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/grafeas/v1/grafeas.pb.go b/vendor/google.golang.org/genproto/googleapis/grafeas/v1/grafeas.pb.go deleted file mode 100644 index dab513e1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/grafeas/v1/grafeas.pb.go +++ /dev/null @@ -1,2205 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: grafeas/v1/grafeas.proto - -package grafeas - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // 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. A URI that represents the resource for which the - // occurrence applies. For example, - // `https://gcr.io/project/image@sha256:123abc` for a Docker image. - ResourceUri string `protobuf:"bytes,2,opt,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,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 NoteKind `protobuf:"varint,4,opt,name=kind,proto3,enum=grafeas.v1.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_Image - // *Occurrence_Package - // *Occurrence_Deployment - // *Occurrence_Discovery - // *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_3546117bddf8439b, []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 (m *Occurrence) XXX_Merge(src proto.Message) { - xxx_messageInfo_Occurrence.Merge(m, 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) GetResourceUri() string { - if m != nil { - return m.ResourceUri - } - return "" -} - -func (m *Occurrence) GetNoteName() string { - if m != nil { - return m.NoteName - } - return "" -} - -func (m *Occurrence) GetKind() NoteKind { - if m != nil { - return m.Kind - } - return 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 *VulnerabilityOccurrence `protobuf:"bytes,8,opt,name=vulnerability,proto3,oneof"` -} - -type Occurrence_Build struct { - Build *BuildOccurrence `protobuf:"bytes,9,opt,name=build,proto3,oneof"` -} - -type Occurrence_Image struct { - Image *ImageOccurrence `protobuf:"bytes,10,opt,name=image,proto3,oneof"` -} - -type Occurrence_Package struct { - Package *PackageOccurrence `protobuf:"bytes,11,opt,name=package,proto3,oneof"` -} - -type Occurrence_Deployment struct { - Deployment *DeploymentOccurrence `protobuf:"bytes,12,opt,name=deployment,proto3,oneof"` -} - -type Occurrence_Discovery struct { - Discovery *DiscoveryOccurrence `protobuf:"bytes,13,opt,name=discovery,proto3,oneof"` -} - -type Occurrence_Attestation struct { - Attestation *AttestationOccurrence `protobuf:"bytes,14,opt,name=attestation,proto3,oneof"` -} - -func (*Occurrence_Vulnerability) isOccurrence_Details() {} - -func (*Occurrence_Build) isOccurrence_Details() {} - -func (*Occurrence_Image) isOccurrence_Details() {} - -func (*Occurrence_Package) isOccurrence_Details() {} - -func (*Occurrence_Deployment) isOccurrence_Details() {} - -func (*Occurrence_Discovery) 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() *VulnerabilityOccurrence { - if x, ok := m.GetDetails().(*Occurrence_Vulnerability); ok { - return x.Vulnerability - } - return nil -} - -func (m *Occurrence) GetBuild() *BuildOccurrence { - if x, ok := m.GetDetails().(*Occurrence_Build); ok { - return x.Build - } - return nil -} - -func (m *Occurrence) GetImage() *ImageOccurrence { - if x, ok := m.GetDetails().(*Occurrence_Image); ok { - return x.Image - } - return nil -} - -func (m *Occurrence) GetPackage() *PackageOccurrence { - if x, ok := m.GetDetails().(*Occurrence_Package); ok { - return x.Package - } - return nil -} - -func (m *Occurrence) GetDeployment() *DeploymentOccurrence { - if x, ok := m.GetDetails().(*Occurrence_Deployment); ok { - return x.Deployment - } - return nil -} - -func (m *Occurrence) GetDiscovery() *DiscoveryOccurrence { - if x, ok := m.GetDetails().(*Occurrence_Discovery); ok { - return x.Discovery - } - return nil -} - -func (m *Occurrence) GetAttestation() *AttestationOccurrence { - if x, ok := m.GetDetails().(*Occurrence_Attestation); ok { - return x.Attestation - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Occurrence) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Occurrence_Vulnerability)(nil), - (*Occurrence_Build)(nil), - (*Occurrence_Image)(nil), - (*Occurrence_Package)(nil), - (*Occurrence_Deployment)(nil), - (*Occurrence_Discovery)(nil), - (*Occurrence_Attestation)(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 NoteKind `protobuf:"varint,4,opt,name=kind,proto3,enum=grafeas.v1.NoteKind" json:"kind,omitempty"` - // URLs associated with this note. - RelatedUrl []*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_Image - // *Note_Package - // *Note_Deployment - // *Note_Discovery - // *Note_Attestation - 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_3546117bddf8439b, []int{1} -} - -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 (m *Note) XXX_Merge(src proto.Message) { - xxx_messageInfo_Note.Merge(m, 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() NoteKind { - if m != nil { - return m.Kind - } - return NoteKind_NOTE_KIND_UNSPECIFIED -} - -func (m *Note) GetRelatedUrl() []*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 *VulnerabilityNote `protobuf:"bytes,10,opt,name=vulnerability,proto3,oneof"` -} - -type Note_Build struct { - Build *BuildNote `protobuf:"bytes,11,opt,name=build,proto3,oneof"` -} - -type Note_Image struct { - Image *ImageNote `protobuf:"bytes,12,opt,name=image,proto3,oneof"` -} - -type Note_Package struct { - Package *PackageNote `protobuf:"bytes,13,opt,name=package,proto3,oneof"` -} - -type Note_Deployment struct { - Deployment *DeploymentNote `protobuf:"bytes,14,opt,name=deployment,proto3,oneof"` -} - -type Note_Discovery struct { - Discovery *DiscoveryNote `protobuf:"bytes,15,opt,name=discovery,proto3,oneof"` -} - -type Note_Attestation struct { - Attestation *AttestationNote `protobuf:"bytes,16,opt,name=attestation,proto3,oneof"` -} - -func (*Note_Vulnerability) isNote_Type() {} - -func (*Note_Build) isNote_Type() {} - -func (*Note_Image) isNote_Type() {} - -func (*Note_Package) isNote_Type() {} - -func (*Note_Deployment) isNote_Type() {} - -func (*Note_Discovery) isNote_Type() {} - -func (*Note_Attestation) isNote_Type() {} - -func (m *Note) GetType() isNote_Type { - if m != nil { - return m.Type - } - return nil -} - -func (m *Note) GetVulnerability() *VulnerabilityNote { - if x, ok := m.GetType().(*Note_Vulnerability); ok { - return x.Vulnerability - } - return nil -} - -func (m *Note) GetBuild() *BuildNote { - if x, ok := m.GetType().(*Note_Build); ok { - return x.Build - } - return nil -} - -func (m *Note) GetImage() *ImageNote { - if x, ok := m.GetType().(*Note_Image); ok { - return x.Image - } - return nil -} - -func (m *Note) GetPackage() *PackageNote { - if x, ok := m.GetType().(*Note_Package); ok { - return x.Package - } - return nil -} - -func (m *Note) GetDeployment() *DeploymentNote { - if x, ok := m.GetType().(*Note_Deployment); ok { - return x.Deployment - } - return nil -} - -func (m *Note) GetDiscovery() *DiscoveryNote { - if x, ok := m.GetType().(*Note_Discovery); ok { - return x.Discovery - } - return nil -} - -func (m *Note) GetAttestation() *AttestationNote { - if x, ok := m.GetType().(*Note_Attestation); ok { - return x.Attestation - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Note) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Note_Vulnerability)(nil), - (*Note_Build)(nil), - (*Note_Image)(nil), - (*Note_Package)(nil), - (*Note_Deployment)(nil), - (*Note_Discovery)(nil), - (*Note_Attestation)(nil), - } -} - -// 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_3546117bddf8439b, []int{2} -} - -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 (m *GetOccurrenceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetOccurrenceRequest.Merge(m, 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. Must be positive. Max allowed - // page size is 1000. If not specified, page size defaults to 20. - 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_3546117bddf8439b, []int{3} -} - -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 (m *ListOccurrencesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListOccurrencesRequest.Merge(m, 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_3546117bddf8439b, []int{4} -} - -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 (m *ListOccurrencesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListOccurrencesResponse.Merge(m, 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_3546117bddf8439b, []int{5} -} - -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 (m *DeleteOccurrenceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteOccurrenceRequest.Merge(m, 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_3546117bddf8439b, []int{6} -} - -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 (m *CreateOccurrenceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateOccurrenceRequest.Merge(m, 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_3546117bddf8439b, []int{7} -} - -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 (m *UpdateOccurrenceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateOccurrenceRequest.Merge(m, 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_3546117bddf8439b, []int{8} -} - -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 (m *GetNoteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNoteRequest.Merge(m, 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_3546117bddf8439b, []int{9} -} - -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 (m *GetOccurrenceNoteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetOccurrenceNoteRequest.Merge(m, 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. Must be positive. Max allowed page - // size is 1000. If not specified, page size defaults to 20. - 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_3546117bddf8439b, []int{10} -} - -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 (m *ListNotesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNotesRequest.Merge(m, 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_3546117bddf8439b, []int{11} -} - -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 (m *ListNotesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNotesResponse.Merge(m, 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_3546117bddf8439b, []int{12} -} - -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 (m *DeleteNoteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteNoteRequest.Merge(m, 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_3546117bddf8439b, []int{13} -} - -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 (m *CreateNoteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateNoteRequest.Merge(m, 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_3546117bddf8439b, []int{14} -} - -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 (m *UpdateNoteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateNoteRequest.Merge(m, 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_3546117bddf8439b, []int{15} -} - -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 (m *ListNoteOccurrencesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNoteOccurrencesRequest.Merge(m, 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_3546117bddf8439b, []int{16} -} - -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 (m *ListNoteOccurrencesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNoteOccurrencesResponse.Merge(m, 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. Max allowed length is 1000. - 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_3546117bddf8439b, []int{17} -} - -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 (m *BatchCreateNotesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchCreateNotesRequest.Merge(m, 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_3546117bddf8439b, []int{18} -} - -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 (m *BatchCreateNotesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchCreateNotesResponse.Merge(m, 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. Max allowed length is 1000. - 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_3546117bddf8439b, []int{19} -} - -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 (m *BatchCreateOccurrencesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchCreateOccurrencesRequest.Merge(m, 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_3546117bddf8439b, []int{20} -} - -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 (m *BatchCreateOccurrencesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchCreateOccurrencesResponse.Merge(m, 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 -} - -func init() { - proto.RegisterType((*Occurrence)(nil), "grafeas.v1.Occurrence") - proto.RegisterType((*Note)(nil), "grafeas.v1.Note") - proto.RegisterType((*GetOccurrenceRequest)(nil), "grafeas.v1.GetOccurrenceRequest") - proto.RegisterType((*ListOccurrencesRequest)(nil), "grafeas.v1.ListOccurrencesRequest") - proto.RegisterType((*ListOccurrencesResponse)(nil), "grafeas.v1.ListOccurrencesResponse") - proto.RegisterType((*DeleteOccurrenceRequest)(nil), "grafeas.v1.DeleteOccurrenceRequest") - proto.RegisterType((*CreateOccurrenceRequest)(nil), "grafeas.v1.CreateOccurrenceRequest") - proto.RegisterType((*UpdateOccurrenceRequest)(nil), "grafeas.v1.UpdateOccurrenceRequest") - proto.RegisterType((*GetNoteRequest)(nil), "grafeas.v1.GetNoteRequest") - proto.RegisterType((*GetOccurrenceNoteRequest)(nil), "grafeas.v1.GetOccurrenceNoteRequest") - proto.RegisterType((*ListNotesRequest)(nil), "grafeas.v1.ListNotesRequest") - proto.RegisterType((*ListNotesResponse)(nil), "grafeas.v1.ListNotesResponse") - proto.RegisterType((*DeleteNoteRequest)(nil), "grafeas.v1.DeleteNoteRequest") - proto.RegisterType((*CreateNoteRequest)(nil), "grafeas.v1.CreateNoteRequest") - proto.RegisterType((*UpdateNoteRequest)(nil), "grafeas.v1.UpdateNoteRequest") - proto.RegisterType((*ListNoteOccurrencesRequest)(nil), "grafeas.v1.ListNoteOccurrencesRequest") - proto.RegisterType((*ListNoteOccurrencesResponse)(nil), "grafeas.v1.ListNoteOccurrencesResponse") - proto.RegisterType((*BatchCreateNotesRequest)(nil), "grafeas.v1.BatchCreateNotesRequest") - proto.RegisterMapType((map[string]*Note)(nil), "grafeas.v1.BatchCreateNotesRequest.NotesEntry") - proto.RegisterType((*BatchCreateNotesResponse)(nil), "grafeas.v1.BatchCreateNotesResponse") - proto.RegisterType((*BatchCreateOccurrencesRequest)(nil), "grafeas.v1.BatchCreateOccurrencesRequest") - proto.RegisterType((*BatchCreateOccurrencesResponse)(nil), "grafeas.v1.BatchCreateOccurrencesResponse") -} - -func init() { proto.RegisterFile("grafeas/v1/grafeas.proto", fileDescriptor_3546117bddf8439b) } - -var fileDescriptor_3546117bddf8439b = []byte{ - // 1580 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0x4b, 0x73, 0xd3, 0xd6, - 0x17, 0xff, 0xcb, 0x79, 0x38, 0x3e, 0x26, 0x89, 0x73, 0xff, 0x34, 0x56, 0x1d, 0x02, 0x46, 0x09, - 0x90, 0x98, 0x62, 0x4f, 0x02, 0x53, 0x20, 0xb4, 0xc3, 0x10, 0x92, 0xa6, 0x94, 0x96, 0x52, 0x17, - 0xba, 0x60, 0x51, 0x8f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0x39, 0x4a, - 0xff, 0x25, 0x14, 0x08, 0x22, 0x88, 0xda, 0x7f, 0x82, 0xc8, 0x26, 0x2c, 0x08, 0xf1, 0x39, 0x16, - 0xcf, 0xc3, 0x14, 0x79, 0x1b, 0x03, 0x14, 0x16, 0xa2, 0x63, 0xa4, 0xce, 0xc4, 0x63, 0x23, 0xef, - 0x02, 0x2c, 0x30, 0xe4, 0x8d, 0xaa, 0xc6, 0x21, 0x2c, 0x30, 0xcc, 0x89, 0x8a, 0x69, 0xe5, 0x28, - 0x42, 0x96, 0xbe, 0xe0, 0x46, 0x2b, 0xa8, 0x07, 0xf9, 0x79, 0xa7, 0x85, 0x56, 0x61, 0x92, 0x7c, - 0xf1, 0xfe, 0xc6, 0xb3, 0xa7, 0x52, 0xed, 0x47, 0x05, 0x16, 0x18, 0xe8, 0x46, 0x64, 0x35, 0xf0, - 0x97, 0x19, 0xe6, 0xef, 0x78, 0xe0, 0x7a, 0xa5, 0x40, 0x29, 0xe8, 0x43, 0xc2, 0x1b, 0x95, 0x94, - 0xd5, 0x3f, 0x81, 0x86, 0x6f, 0x61, 0x29, 0x31, 0x8b, 0x7f, 0xed, 0x8d, 0xfa, 0x55, 0x81, 0xe2, - 0xb6, 0xee, 0x37, 0x1f, 0x87, 0x30, 0x18, 0x49, 0x8b, 0x9d, 0x00, 0xad, 0x19, 0x9a, 0x4f, 0x55, - 0x1a, 0xae, 0xc9, 0xbe, 0x68, 0xdf, 0xbc, 0x5d, 0xcb, 0x77, 0xfb, 0x1c, 0xcb, 0xa5, 0x4f, 0x00, - 0xc2, 0x43, 0x54, 0x80, 0x89, 0x23, 0xdc, 0xe7, 0x81, 0xc8, 0x27, 0xe1, 0x44, 0x4f, 0x37, 0xbb, - 0xe9, 0x28, 0x60, 0xe2, 0xad, 0xcc, 0x35, 0x45, 0xdb, 0x06, 0x35, 0x1e, 0xf8, 0xed, 0xb8, 0xa5, - 0x3d, 0x81, 0x65, 0xc1, 0xc7, 0x5b, 0xcc, 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x18, 0xa9, 0xc7, 0x4b, 0x31, 0x9c, 0x46, 0x41, 0x56, 0x22, 0x9f, 0xb6, 0xbf, 0x80, - 0x59, 0xc3, 0x16, 0xfc, 0xdf, 0x57, 0x1e, 0x5d, 0xe3, 0xd0, 0x6a, 0xdb, 0xa6, 0x6e, 0xb5, 0xab, - 0xb6, 0xdb, 0xae, 0xb5, 0xb1, 0x45, 0x81, 0x56, 0x63, 0x22, 0xdd, 0x31, 0xbc, 0x5a, 0xf8, 0xff, - 0xd6, 0x1b, 0xfc, 0xf3, 0x4d, 0x66, 0x62, 0xaf, 0x7e, 0x6b, 0x7f, 0x9a, 0xaa, 0x5e, 0xfe, 0x2b, - 0x00, 0x00, 0xff, 0xff, 0x5a, 0x64, 0xc4, 0x3a, 0x0d, 0x17, 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 - -// GrafeasClient is the client API for Grafeas service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type GrafeasClient 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) -} - -type grafeasClient struct { - cc *grpc.ClientConn -} - -func NewGrafeasClient(cc *grpc.ClientConn) GrafeasClient { - return &grafeasClient{cc} -} - -func (c *grafeasClient) GetOccurrence(ctx context.Context, in *GetOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) { - out := new(Occurrence) - err := c.cc.Invoke(ctx, "/grafeas.v1.Grafeas/GetOccurrence", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *grafeasClient) ListOccurrences(ctx context.Context, in *ListOccurrencesRequest, opts ...grpc.CallOption) (*ListOccurrencesResponse, error) { - out := new(ListOccurrencesResponse) - err := c.cc.Invoke(ctx, "/grafeas.v1.Grafeas/ListOccurrences", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *grafeasClient) DeleteOccurrence(ctx context.Context, in *DeleteOccurrenceRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/grafeas.v1.Grafeas/DeleteOccurrence", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *grafeasClient) CreateOccurrence(ctx context.Context, in *CreateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) { - out := new(Occurrence) - err := c.cc.Invoke(ctx, "/grafeas.v1.Grafeas/CreateOccurrence", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *grafeasClient) BatchCreateOccurrences(ctx context.Context, in *BatchCreateOccurrencesRequest, opts ...grpc.CallOption) (*BatchCreateOccurrencesResponse, error) { - out := new(BatchCreateOccurrencesResponse) - err := c.cc.Invoke(ctx, "/grafeas.v1.Grafeas/BatchCreateOccurrences", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *grafeasClient) UpdateOccurrence(ctx context.Context, in *UpdateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) { - out := new(Occurrence) - err := c.cc.Invoke(ctx, "/grafeas.v1.Grafeas/UpdateOccurrence", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *grafeasClient) GetOccurrenceNote(ctx context.Context, in *GetOccurrenceNoteRequest, opts ...grpc.CallOption) (*Note, error) { - out := new(Note) - err := c.cc.Invoke(ctx, "/grafeas.v1.Grafeas/GetOccurrenceNote", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *grafeasClient) GetNote(ctx context.Context, in *GetNoteRequest, opts ...grpc.CallOption) (*Note, error) { - out := new(Note) - err := c.cc.Invoke(ctx, "/grafeas.v1.Grafeas/GetNote", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *grafeasClient) ListNotes(ctx context.Context, in *ListNotesRequest, opts ...grpc.CallOption) (*ListNotesResponse, error) { - out := new(ListNotesResponse) - err := c.cc.Invoke(ctx, "/grafeas.v1.Grafeas/ListNotes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *grafeasClient) DeleteNote(ctx context.Context, in *DeleteNoteRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/grafeas.v1.Grafeas/DeleteNote", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *grafeasClient) CreateNote(ctx context.Context, in *CreateNoteRequest, opts ...grpc.CallOption) (*Note, error) { - out := new(Note) - err := c.cc.Invoke(ctx, "/grafeas.v1.Grafeas/CreateNote", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *grafeasClient) BatchCreateNotes(ctx context.Context, in *BatchCreateNotesRequest, opts ...grpc.CallOption) (*BatchCreateNotesResponse, error) { - out := new(BatchCreateNotesResponse) - err := c.cc.Invoke(ctx, "/grafeas.v1.Grafeas/BatchCreateNotes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *grafeasClient) UpdateNote(ctx context.Context, in *UpdateNoteRequest, opts ...grpc.CallOption) (*Note, error) { - out := new(Note) - err := c.cc.Invoke(ctx, "/grafeas.v1.Grafeas/UpdateNote", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *grafeasClient) ListNoteOccurrences(ctx context.Context, in *ListNoteOccurrencesRequest, opts ...grpc.CallOption) (*ListNoteOccurrencesResponse, error) { - out := new(ListNoteOccurrencesResponse) - err := c.cc.Invoke(ctx, "/grafeas.v1.Grafeas/ListNoteOccurrences", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// GrafeasServer is the server API for Grafeas service. -type GrafeasServer 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) -} - -// UnimplementedGrafeasServer can be embedded to have forward compatible implementations. -type UnimplementedGrafeasServer struct { -} - -func (*UnimplementedGrafeasServer) GetOccurrence(ctx context.Context, req *GetOccurrenceRequest) (*Occurrence, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetOccurrence not implemented") -} -func (*UnimplementedGrafeasServer) ListOccurrences(ctx context.Context, req *ListOccurrencesRequest) (*ListOccurrencesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListOccurrences not implemented") -} -func (*UnimplementedGrafeasServer) DeleteOccurrence(ctx context.Context, req *DeleteOccurrenceRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteOccurrence not implemented") -} -func (*UnimplementedGrafeasServer) CreateOccurrence(ctx context.Context, req *CreateOccurrenceRequest) (*Occurrence, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateOccurrence not implemented") -} -func (*UnimplementedGrafeasServer) BatchCreateOccurrences(ctx context.Context, req *BatchCreateOccurrencesRequest) (*BatchCreateOccurrencesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method BatchCreateOccurrences not implemented") -} -func (*UnimplementedGrafeasServer) UpdateOccurrence(ctx context.Context, req *UpdateOccurrenceRequest) (*Occurrence, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateOccurrence not implemented") -} -func (*UnimplementedGrafeasServer) GetOccurrenceNote(ctx context.Context, req *GetOccurrenceNoteRequest) (*Note, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetOccurrenceNote not implemented") -} -func (*UnimplementedGrafeasServer) GetNote(ctx context.Context, req *GetNoteRequest) (*Note, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNote not implemented") -} -func (*UnimplementedGrafeasServer) ListNotes(ctx context.Context, req *ListNotesRequest) (*ListNotesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListNotes not implemented") -} -func (*UnimplementedGrafeasServer) DeleteNote(ctx context.Context, req *DeleteNoteRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteNote not implemented") -} -func (*UnimplementedGrafeasServer) CreateNote(ctx context.Context, req *CreateNoteRequest) (*Note, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateNote not implemented") -} -func (*UnimplementedGrafeasServer) BatchCreateNotes(ctx context.Context, req *BatchCreateNotesRequest) (*BatchCreateNotesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method BatchCreateNotes not implemented") -} -func (*UnimplementedGrafeasServer) UpdateNote(ctx context.Context, req *UpdateNoteRequest) (*Note, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateNote not implemented") -} -func (*UnimplementedGrafeasServer) ListNoteOccurrences(ctx context.Context, req *ListNoteOccurrencesRequest) (*ListNoteOccurrencesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListNoteOccurrences not implemented") -} - -func RegisterGrafeasServer(s *grpc.Server, srv GrafeasServer) { - s.RegisterService(&_Grafeas_serviceDesc, srv) -} - -func _Grafeas_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.(GrafeasServer).GetOccurrence(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grafeas.v1.Grafeas/GetOccurrence", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GrafeasServer).GetOccurrence(ctx, req.(*GetOccurrenceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Grafeas_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.(GrafeasServer).ListOccurrences(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grafeas.v1.Grafeas/ListOccurrences", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GrafeasServer).ListOccurrences(ctx, req.(*ListOccurrencesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Grafeas_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.(GrafeasServer).DeleteOccurrence(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grafeas.v1.Grafeas/DeleteOccurrence", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GrafeasServer).DeleteOccurrence(ctx, req.(*DeleteOccurrenceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Grafeas_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.(GrafeasServer).CreateOccurrence(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grafeas.v1.Grafeas/CreateOccurrence", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GrafeasServer).CreateOccurrence(ctx, req.(*CreateOccurrenceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Grafeas_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.(GrafeasServer).BatchCreateOccurrences(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grafeas.v1.Grafeas/BatchCreateOccurrences", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GrafeasServer).BatchCreateOccurrences(ctx, req.(*BatchCreateOccurrencesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Grafeas_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.(GrafeasServer).UpdateOccurrence(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grafeas.v1.Grafeas/UpdateOccurrence", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GrafeasServer).UpdateOccurrence(ctx, req.(*UpdateOccurrenceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Grafeas_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.(GrafeasServer).GetOccurrenceNote(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grafeas.v1.Grafeas/GetOccurrenceNote", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GrafeasServer).GetOccurrenceNote(ctx, req.(*GetOccurrenceNoteRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Grafeas_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.(GrafeasServer).GetNote(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grafeas.v1.Grafeas/GetNote", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GrafeasServer).GetNote(ctx, req.(*GetNoteRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Grafeas_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.(GrafeasServer).ListNotes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grafeas.v1.Grafeas/ListNotes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GrafeasServer).ListNotes(ctx, req.(*ListNotesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Grafeas_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.(GrafeasServer).DeleteNote(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grafeas.v1.Grafeas/DeleteNote", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GrafeasServer).DeleteNote(ctx, req.(*DeleteNoteRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Grafeas_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.(GrafeasServer).CreateNote(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grafeas.v1.Grafeas/CreateNote", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GrafeasServer).CreateNote(ctx, req.(*CreateNoteRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Grafeas_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.(GrafeasServer).BatchCreateNotes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grafeas.v1.Grafeas/BatchCreateNotes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GrafeasServer).BatchCreateNotes(ctx, req.(*BatchCreateNotesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Grafeas_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.(GrafeasServer).UpdateNote(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grafeas.v1.Grafeas/UpdateNote", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GrafeasServer).UpdateNote(ctx, req.(*UpdateNoteRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Grafeas_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.(GrafeasServer).ListNoteOccurrences(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grafeas.v1.Grafeas/ListNoteOccurrences", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GrafeasServer).ListNoteOccurrences(ctx, req.(*ListNoteOccurrencesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Grafeas_serviceDesc = grpc.ServiceDesc{ - ServiceName: "grafeas.v1.Grafeas", - HandlerType: (*GrafeasServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetOccurrence", - Handler: _Grafeas_GetOccurrence_Handler, - }, - { - MethodName: "ListOccurrences", - Handler: _Grafeas_ListOccurrences_Handler, - }, - { - MethodName: "DeleteOccurrence", - Handler: _Grafeas_DeleteOccurrence_Handler, - }, - { - MethodName: "CreateOccurrence", - Handler: _Grafeas_CreateOccurrence_Handler, - }, - { - MethodName: "BatchCreateOccurrences", - Handler: _Grafeas_BatchCreateOccurrences_Handler, - }, - { - MethodName: "UpdateOccurrence", - Handler: _Grafeas_UpdateOccurrence_Handler, - }, - { - MethodName: "GetOccurrenceNote", - Handler: _Grafeas_GetOccurrenceNote_Handler, - }, - { - MethodName: "GetNote", - Handler: _Grafeas_GetNote_Handler, - }, - { - MethodName: "ListNotes", - Handler: _Grafeas_ListNotes_Handler, - }, - { - MethodName: "DeleteNote", - Handler: _Grafeas_DeleteNote_Handler, - }, - { - MethodName: "CreateNote", - Handler: _Grafeas_CreateNote_Handler, - }, - { - MethodName: "BatchCreateNotes", - Handler: _Grafeas_BatchCreateNotes_Handler, - }, - { - MethodName: "UpdateNote", - Handler: _Grafeas_UpdateNote_Handler, - }, - { - MethodName: "ListNoteOccurrences", - Handler: _Grafeas_ListNoteOccurrences_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "grafeas/v1/grafeas.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/grafeas/v1/image.pb.go b/vendor/google.golang.org/genproto/googleapis/grafeas/v1/image.pb.go deleted file mode 100644 index d7f87f4a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/grafeas/v1/image.pb.go +++ /dev/null @@ -1,301 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: grafeas/v1/image.proto - -package grafeas - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Layer holds metadata specific to a layer of a Docker image. -type Layer struct { - // Required. The recovered Dockerfile directive used to construct this layer. - // See https://docs.docker.com/engine/reference/builder/ for more information. - Directive string `protobuf:"bytes,1,opt,name=directive,proto3" 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_4c8e3d6d73ed76c1, []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 (m *Layer) XXX_Merge(src proto.Message) { - xxx_messageInfo_Layer.Merge(m, 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() string { - if m != nil { - return m.Directive - } - return "" -} - -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 { - // Required. 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"` - // Required. 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_4c8e3d6d73ed76c1, []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 (m *Fingerprint) XXX_Merge(src proto.Message) { - xxx_messageInfo_Fingerprint.Merge(m, 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 ImageNote struct { - // Required. Immutable. 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"` - // Required. Immutable. 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 *ImageNote) Reset() { *m = ImageNote{} } -func (m *ImageNote) String() string { return proto.CompactTextString(m) } -func (*ImageNote) ProtoMessage() {} -func (*ImageNote) Descriptor() ([]byte, []int) { - return fileDescriptor_4c8e3d6d73ed76c1, []int{2} -} - -func (m *ImageNote) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageNote.Unmarshal(m, b) -} -func (m *ImageNote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageNote.Marshal(b, m, deterministic) -} -func (m *ImageNote) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageNote.Merge(m, src) -} -func (m *ImageNote) XXX_Size() int { - return xxx_messageInfo_ImageNote.Size(m) -} -func (m *ImageNote) XXX_DiscardUnknown() { - xxx_messageInfo_ImageNote.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageNote proto.InternalMessageInfo - -func (m *ImageNote) GetResourceUrl() string { - if m != nil { - return m.ResourceUrl - } - return "" -} - -func (m *ImageNote) GetFingerprint() *Fingerprint { - if m != nil { - return m.Fingerprint - } - return nil -} - -// Details of the derived image portion of the DockerImage relationship. This -// image would be produced from a Dockerfile with FROM . -type ImageOccurrence struct { - // Required. 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 *ImageOccurrence) Reset() { *m = ImageOccurrence{} } -func (m *ImageOccurrence) String() string { return proto.CompactTextString(m) } -func (*ImageOccurrence) ProtoMessage() {} -func (*ImageOccurrence) Descriptor() ([]byte, []int) { - return fileDescriptor_4c8e3d6d73ed76c1, []int{3} -} - -func (m *ImageOccurrence) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImageOccurrence.Unmarshal(m, b) -} -func (m *ImageOccurrence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImageOccurrence.Marshal(b, m, deterministic) -} -func (m *ImageOccurrence) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageOccurrence.Merge(m, src) -} -func (m *ImageOccurrence) XXX_Size() int { - return xxx_messageInfo_ImageOccurrence.Size(m) -} -func (m *ImageOccurrence) XXX_DiscardUnknown() { - xxx_messageInfo_ImageOccurrence.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageOccurrence proto.InternalMessageInfo - -func (m *ImageOccurrence) GetFingerprint() *Fingerprint { - if m != nil { - return m.Fingerprint - } - return nil -} - -func (m *ImageOccurrence) GetDistance() int32 { - if m != nil { - return m.Distance - } - return 0 -} - -func (m *ImageOccurrence) GetLayerInfo() []*Layer { - if m != nil { - return m.LayerInfo - } - return nil -} - -func (m *ImageOccurrence) GetBaseResourceUrl() string { - if m != nil { - return m.BaseResourceUrl - } - return "" -} - -func init() { - proto.RegisterType((*Layer)(nil), "grafeas.v1.Layer") - proto.RegisterType((*Fingerprint)(nil), "grafeas.v1.Fingerprint") - proto.RegisterType((*ImageNote)(nil), "grafeas.v1.ImageNote") - proto.RegisterType((*ImageOccurrence)(nil), "grafeas.v1.ImageOccurrence") -} - -func init() { proto.RegisterFile("grafeas/v1/image.proto", fileDescriptor_4c8e3d6d73ed76c1) } - -var fileDescriptor_4c8e3d6d73ed76c1 = []byte{ - // 358 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xcf, 0x6a, 0xa3, 0x50, - 0x14, 0xc6, 0x31, 0x4e, 0x32, 0xe3, 0x71, 0x86, 0x90, 0xbb, 0x98, 0xc8, 0x30, 0x8b, 0x8c, 0xab, - 0x30, 0x0b, 0xad, 0x76, 0xd3, 0xd2, 0x55, 0x53, 0x68, 0x09, 0x94, 0xb4, 0x15, 0x0a, 0xa5, 0x1b, - 0xb9, 0x9a, 0xe3, 0xe5, 0x82, 0xde, 0x1b, 0xae, 0x7f, 0xa0, 0xaf, 0xd3, 0x87, 0xe9, 0x73, 0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0x5b, 0x5e, 0x56, 0x54, 0xa4, 0xa8, 0x63, 0x8c, 0xa3, 0xe3, 0x3b, - 0x39, 0x01, 0xc8, 0xdb, 0xa5, 0xc7, 0x5c, 0x64, 0xd2, 0x31, 0x17, 0xe6, 0xd2, 0x0e, 0x67, 0x43, - 0x57, 0xfd, 0x4b, 0x22, 0x4b, 0x17, 0xad, 0x45, 0x26, 0xc9, 0x7f, 0x98, 0x25, 0xb4, 0xc4, 0xf8, - 0xc3, 0xfc, 0xdf, 0xf4, 0xfc, 0xd3, 0x16, 0x44, 0xfd, 0x0e, 0x56, 0x0f, 0xf0, 0x8b, 0xcb, 0x81, - 0xdb, 0xbd, 0xf1, 0x7c, 0xc6, 0xa4, 0x64, 0x39, 0x7a, 0x4c, 0xe6, 0x54, 0x30, 0x4f, 0x2a, 0xe6, - 0x33, 0x14, 0xfa, 0x1a, 0xfc, 0x3d, 0xa2, 0x3b, 0x5e, 0xfa, 0xfd, 0xbd, 0x5c, 0x74, 0x8f, 0xaf, - 0x23, 0xf3, 0x26, 0xba, 0x4c, 0x26, 0xba, 0xf4, 0xf4, 0x3d, 0x00, 0x00, 0xff, 0xff, 0x16, 0xc9, - 0xde, 0x0b, 0x52, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/grafeas/v1/package.pb.go b/vendor/google.golang.org/genproto/googleapis/grafeas/v1/package.pb.go deleted file mode 100644 index 1ef46786..00000000 --- a/vendor/google.golang.org/genproto/googleapis/grafeas/v1/package.pb.go +++ /dev/null @@ -1,473 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: grafeas/v1/package.proto - -package grafeas - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // 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_6152b3fff9015bb3, []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. - Version_NORMAL Version_VersionKind = 1 - // A special version representing negative infinity. - Version_MINIMUM Version_VersionKind = 2 - // A special version representing positive infinity. - 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_6152b3fff9015bb3, []int{4, 0} -} - -// This represents a particular channel of distribution for a given package. -// E.g., Debian's jessie-backports dpkg mirror. -type Distribution struct { - // Required. 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.v1.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_6152b3fff9015bb3, []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 (m *Distribution) XXX_Merge(src proto.Message) { - xxx_messageInfo_Distribution.Merge(m, 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 { - // Required. 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_6152b3fff9015bb3, []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 (m *Location) XXX_Merge(src proto.Message) { - xxx_messageInfo_Location.Merge(m, 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 PackageNote struct { - // Required. Immutable. 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 *PackageNote) Reset() { *m = PackageNote{} } -func (m *PackageNote) String() string { return proto.CompactTextString(m) } -func (*PackageNote) ProtoMessage() {} -func (*PackageNote) Descriptor() ([]byte, []int) { - return fileDescriptor_6152b3fff9015bb3, []int{2} -} - -func (m *PackageNote) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PackageNote.Unmarshal(m, b) -} -func (m *PackageNote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PackageNote.Marshal(b, m, deterministic) -} -func (m *PackageNote) XXX_Merge(src proto.Message) { - xxx_messageInfo_PackageNote.Merge(m, src) -} -func (m *PackageNote) XXX_Size() int { - return xxx_messageInfo_PackageNote.Size(m) -} -func (m *PackageNote) XXX_DiscardUnknown() { - xxx_messageInfo_PackageNote.DiscardUnknown(m) -} - -var xxx_messageInfo_PackageNote proto.InternalMessageInfo - -func (m *PackageNote) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *PackageNote) GetDistribution() []*Distribution { - if m != nil { - return m.Distribution - } - return nil -} - -// Details on how a particular software package was installed on a system. -type PackageOccurrence struct { - // Output only. The name of the installed package. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. 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 *PackageOccurrence) Reset() { *m = PackageOccurrence{} } -func (m *PackageOccurrence) String() string { return proto.CompactTextString(m) } -func (*PackageOccurrence) ProtoMessage() {} -func (*PackageOccurrence) Descriptor() ([]byte, []int) { - return fileDescriptor_6152b3fff9015bb3, []int{3} -} - -func (m *PackageOccurrence) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PackageOccurrence.Unmarshal(m, b) -} -func (m *PackageOccurrence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PackageOccurrence.Marshal(b, m, deterministic) -} -func (m *PackageOccurrence) XXX_Merge(src proto.Message) { - xxx_messageInfo_PackageOccurrence.Merge(m, src) -} -func (m *PackageOccurrence) XXX_Size() int { - return xxx_messageInfo_PackageOccurrence.Size(m) -} -func (m *PackageOccurrence) XXX_DiscardUnknown() { - xxx_messageInfo_PackageOccurrence.DiscardUnknown(m) -} - -var xxx_messageInfo_PackageOccurrence proto.InternalMessageInfo - -func (m *PackageOccurrence) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *PackageOccurrence) 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"` - // Required only when version kind is NORMAL. 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"` - // Required. Distinguishes between sentinel MIN/MAX versions and normal - // versions. - Kind Version_VersionKind `protobuf:"varint,4,opt,name=kind,proto3,enum=grafeas.v1.Version_VersionKind" json:"kind,omitempty"` - // Human readable version string. This string is of the form - // :- and is only set when kind is NORMAL. - FullName string `protobuf:"bytes,5,opt,name=full_name,json=fullName,proto3" json:"full_name,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_6152b3fff9015bb3, []int{4} -} - -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 (m *Version) XXX_Merge(src proto.Message) { - xxx_messageInfo_Version.Merge(m, 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 (m *Version) GetFullName() string { - if m != nil { - return m.FullName - } - return "" -} - -func init() { - proto.RegisterEnum("grafeas.v1.Architecture", Architecture_name, Architecture_value) - proto.RegisterEnum("grafeas.v1.Version_VersionKind", Version_VersionKind_name, Version_VersionKind_value) - proto.RegisterType((*Distribution)(nil), "grafeas.v1.Distribution") - proto.RegisterType((*Location)(nil), "grafeas.v1.Location") - proto.RegisterType((*PackageNote)(nil), "grafeas.v1.PackageNote") - proto.RegisterType((*PackageOccurrence)(nil), "grafeas.v1.PackageOccurrence") - proto.RegisterType((*Version)(nil), "grafeas.v1.Version") -} - -func init() { proto.RegisterFile("grafeas/v1/package.proto", fileDescriptor_6152b3fff9015bb3) } - -var fileDescriptor_6152b3fff9015bb3 = []byte{ - // 539 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 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 0xe7, 0x59, 0x18, 0x7a, 0x52, 0xa9, 0x30, 0xb9, - 0x91, 0x1f, 0xb8, 0x64, 0x49, 0xad, 0x0b, 0xd0, 0x2b, 0x37, 0xd0, 0x0b, 0x30, 0xaf, 0x87, 0xf8, - 0xd2, 0x19, 0xbb, 0xde, 0x99, 0xe3, 0x0e, 0xbc, 0xa9, 0x7b, 0x39, 0x19, 0xf6, 0x9d, 0x2f, 0xce, - 0x70, 0x60, 0x3c, 0x42, 0x00, 0x35, 0x77, 0x8c, 0x47, 0xbd, 0x73, 0x43, 0x41, 0x3a, 0xd4, 0x47, - 0x8e, 0xeb, 0x8c, 0xa6, 0x23, 0x43, 0x95, 0x49, 0xef, 0x46, 0x26, 0xda, 0xeb, 0x4f, 0xb0, 0x57, - 0xfd, 0x91, 0xf3, 0x9a, 0x3d, 0xdc, 0xff, 0xe6, 0x5c, 0x0d, 0xfb, 0x57, 0x53, 0x3c, 0xfc, 0xab, - 0x66, 0x1d, 0xb4, 0x9b, 0xd3, 0x13, 0x43, 0x91, 0xc1, 0xc9, 0x3b, 0x43, 0xfd, 0x7c, 0x01, 0xfb, - 0x8c, 0x57, 0x46, 0x9b, 0x28, 0x3f, 0x4e, 0x03, 0xce, 0x83, 0x90, 0xda, 0x01, 0x0f, 0x49, 0x14, - 0xd8, 0x5c, 0x04, 0x9d, 0x80, 0x46, 0xf2, 0x35, 0x76, 0x0a, 0x88, 0xc4, 0x2c, 0xe9, 0xdc, 0xbf, - 0xd8, 0x0f, 0x65, 0xf8, 0x53, 0xd5, 0xbe, 0xe2, 0xde, 0x6d, 0x4d, 0x52, 0x8f, 0xff, 0x04, 0x00, - 0x00, 0xff, 0xff, 0xd8, 0x11, 0xfa, 0xb8, 0xd4, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/grafeas/v1/provenance.pb.go b/vendor/google.golang.org/genproto/googleapis/grafeas/v1/provenance.pb.go deleted file mode 100644 index 6e7425fc..00000000 --- a/vendor/google.golang.org/genproto/googleapis/grafeas/v1/provenance.pb.go +++ /dev/null @@ -1,1177 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: grafeas/v1/provenance.proto - -package grafeas - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // 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_f3e893c2155395b5, []int{7, 0} -} - -// Provenance of a build. Contains all information needed to verify the full -// details about the build from source to completion. -type BuildProvenance struct { - // Required. 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_f3e893c2155395b5, []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 (m *BuildProvenance) XXX_Merge(src proto.Message) { - xxx_messageInfo_BuildProvenance.Merge(m, 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 *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 []*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_f3e893c2155395b5, []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 (m *Source) XXX_Merge(src proto.Message) { - xxx_messageInfo_Source.Merge(m, 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() *SourceContext { - if m != nil { - return m.Context - } - return nil -} - -func (m *Source) GetAdditionalContexts() []*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 { - // Required. 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_f3e893c2155395b5, []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 (m *FileHashes) XXX_Merge(src proto.Message) { - xxx_messageInfo_FileHashes.Merge(m, 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 { - // Required. The type of hash that was performed, e.g. "SHA-256". - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - // Required. 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_f3e893c2155395b5, []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 (m *Hash) XXX_Merge(src proto.Message) { - xxx_messageInfo_Hash.Merge(m, 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() string { - if m != nil { - return m.Type - } - return "" -} - -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 { - // Required. 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_f3e893c2155395b5, []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 (m *Command) XXX_Merge(src proto.Message) { - xxx_messageInfo_Command.Merge(m, 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_f3e893c2155395b5, []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 (m *Artifact) XXX_Merge(src proto.Message) { - xxx_messageInfo_Artifact.Merge(m, 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 -} - -// 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_f3e893c2155395b5, []int{6} -} - -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 (m *SourceContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_SourceContext.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*SourceContext) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*SourceContext_CloudRepo)(nil), - (*SourceContext_Gerrit)(nil), - (*SourceContext_Git)(nil), - } -} - -// An alias to a repo revision. -type AliasContext struct { - // The alias kind. - Kind AliasContext_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=grafeas.v1.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_f3e893c2155395b5, []int{7} -} - -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 (m *AliasContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_AliasContext.Merge(m, 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_f3e893c2155395b5, []int{8} -} - -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 (m *CloudRepoSourceContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_CloudRepoSourceContext.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*CloudRepoSourceContext) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CloudRepoSourceContext_RevisionId)(nil), - (*CloudRepoSourceContext_AliasContext)(nil), - } -} - -// 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_f3e893c2155395b5, []int{9} -} - -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 (m *GerritSourceContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_GerritSourceContext.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*GerritSourceContext) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*GerritSourceContext_RevisionId)(nil), - (*GerritSourceContext_AliasContext)(nil), - } -} - -// 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_f3e893c2155395b5, []int{10} -} - -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 (m *GitSourceContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_GitSourceContext.Merge(m, 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_f3e893c2155395b5, []int{11} -} - -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 (m *RepoId) XXX_Merge(src proto.Message) { - xxx_messageInfo_RepoId.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*RepoId) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*RepoId_ProjectRepoId)(nil), - (*RepoId_Uid)(nil), - } -} - -// 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_f3e893c2155395b5, []int{12} -} - -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 (m *ProjectRepoId) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProjectRepoId.Merge(m, 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.RegisterEnum("grafeas.v1.AliasContext_Kind", AliasContext_Kind_name, AliasContext_Kind_value) - proto.RegisterType((*BuildProvenance)(nil), "grafeas.v1.BuildProvenance") - proto.RegisterMapType((map[string]string)(nil), "grafeas.v1.BuildProvenance.BuildOptionsEntry") - proto.RegisterType((*Source)(nil), "grafeas.v1.Source") - proto.RegisterMapType((map[string]*FileHashes)(nil), "grafeas.v1.Source.FileHashesEntry") - proto.RegisterType((*FileHashes)(nil), "grafeas.v1.FileHashes") - proto.RegisterType((*Hash)(nil), "grafeas.v1.Hash") - proto.RegisterType((*Command)(nil), "grafeas.v1.Command") - proto.RegisterType((*Artifact)(nil), "grafeas.v1.Artifact") - proto.RegisterType((*SourceContext)(nil), "grafeas.v1.SourceContext") - proto.RegisterMapType((map[string]string)(nil), "grafeas.v1.SourceContext.LabelsEntry") - proto.RegisterType((*AliasContext)(nil), "grafeas.v1.AliasContext") - proto.RegisterType((*CloudRepoSourceContext)(nil), "grafeas.v1.CloudRepoSourceContext") - proto.RegisterType((*GerritSourceContext)(nil), "grafeas.v1.GerritSourceContext") - proto.RegisterType((*GitSourceContext)(nil), "grafeas.v1.GitSourceContext") - proto.RegisterType((*RepoId)(nil), "grafeas.v1.RepoId") - proto.RegisterType((*ProjectRepoId)(nil), "grafeas.v1.ProjectRepoId") -} - -func init() { proto.RegisterFile("grafeas/v1/provenance.proto", fileDescriptor_f3e893c2155395b5) } - -var fileDescriptor_f3e893c2155395b5 = []byte{ - // 1135 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xdd, 0x4e, 0xe3, 0x46, - 0x14, 0xc6, 0xf9, 0xcf, 0x09, 0x81, 0xec, 0x2c, 0x5a, 0x79, 0x43, 0x11, 0xd4, 0xd2, 0xaa, 0x48, - 0xed, 0x26, 0x0b, 0xab, 0x4a, 0x4b, 0x11, 0x42, 0x24, 0x84, 0x4d, 0x0a, 0x05, 0x6a, 0x96, 0x55, - 0xd5, 0x1b, 0x6b, 0x88, 0x27, 0x66, 0x8a, 0xe3, 0x89, 0xc6, 0x76, 0x5a, 0xee, 0xfa, 0x14, 0x7d, - 0x80, 0x3e, 0x42, 0xa5, 0xbe, 0x42, 0xfb, 0x22, 0x7d, 0x90, 0x6a, 0x7e, 0xec, 0x38, 0x81, 0xed, - 0xb6, 0xea, 0x95, 0xe7, 0x9c, 0xf3, 0x7d, 0xc7, 0xe7, 0xcf, 0xc7, 0x03, 0xeb, 0x1e, 0xc7, 0x23, - 0x82, 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xcc, - 0x04, 0x72, 0xa5, 0x10, 0x8a, 0x2b, 0xea, 0xdc, 0x85, 0xda, 0x88, 0xfa, 0xc4, 0xb9, 0xc5, 0xe1, - 0x2d, 0x09, 0xcd, 0x9c, 0xac, 0x82, 0xf5, 0xb0, 0xc2, 0xad, 0x13, 0xea, 0x93, 0xbe, 0x04, 0xa9, - 0xd4, 0x61, 0x94, 0x2a, 0xd0, 0x6b, 0x28, 0x0f, 0x59, 0x10, 0x91, 0x9f, 0x22, 0x33, 0x2f, 0x5b, - 0xf4, 0xfc, 0xa1, 0x83, 0xae, 0x02, 0xd8, 0x09, 0x12, 0x7d, 0x0d, 0x4f, 0xb1, 0xeb, 0x52, 0x51, - 0x01, 0xec, 0x3b, 0x5a, 0x9b, 0x7c, 0x08, 0xff, 0xe0, 0x00, 0xcd, 0x58, 0x5a, 0x15, 0x36, 0xaf, - 0x61, 0x75, 0x21, 0xbe, 0x47, 0xca, 0xf9, 0x45, 0xb6, 0x9c, 0xb5, 0xdd, 0x67, 0xd9, 0x57, 0xcc, - 0xd8, 0xd9, 0x32, 0xef, 0x03, 0xcc, 0x0c, 0xe8, 0x25, 0x54, 0xd3, 0x52, 0x99, 0x86, 0x0c, 0xb3, - 0x91, 0xf5, 0x21, 0x60, 0x76, 0x25, 0x29, 0x8b, 0xf5, 0x0a, 0x0a, 0xe2, 0x89, 0x10, 0x14, 0xa2, - 0xfb, 0x09, 0xd1, 0x91, 0xc8, 0xf3, 0x7c, 0x67, 0x97, 0xf5, 0x2b, 0xad, 0x9f, 0x0d, 0x28, 0xeb, - 0x65, 0x21, 0x58, 0x01, 0x1e, 0xa7, 0x2c, 0x71, 0x16, 0x29, 0x91, 0x60, 0x2a, 0x7b, 0x54, 0xb5, - 0xc5, 0x51, 0xa0, 0x30, 0xf7, 0xd4, 0xd6, 0xa9, 0xda, 0xf2, 0x2c, 0x50, 0x2e, 0xe5, 0x66, 0x41, - 0x25, 0xee, 0x52, 0xae, 0xd7, 0x59, 0x31, 0x5d, 0x67, 0xcf, 0xa1, 0xf2, 0x23, 0xa6, 0x91, 0x33, - 0x62, 0xdc, 0x2c, 0x49, 0x66, 0x59, 0xc8, 0x27, 0x8c, 0x5b, 0x67, 0x50, 0x49, 0xf6, 0x0c, 0x6a, - 0x42, 0x65, 0x78, 0x4b, 0x86, 0x77, 0x61, 0x3c, 0xd6, 0x61, 0xa4, 0xb2, 0x76, 0x99, 0x4b, 0x5d, - 0xae, 0x41, 0x51, 0x84, 0x98, 0x44, 0xa2, 0x04, 0xeb, 0x8f, 0x1c, 0xd4, 0xe7, 0x9a, 0x87, 0xba, - 0x00, 0x43, 0x9f, 0xc5, 0xae, 0xc3, 0xc9, 0x84, 0x49, 0xaf, 0x0b, 0xd3, 0xd6, 0x15, 0x56, 0x9b, - 0x4c, 0xd8, 0x1c, 0xaf, 0xbf, 0x64, 0x57, 0x87, 0x89, 0x05, 0xed, 0x41, 0xc9, 0x23, 0x9c, 0xd3, - 0x48, 0x77, 0x72, 0x33, 0xeb, 0xe0, 0xad, 0xb4, 0x2c, 0xb2, 0x35, 0x01, 0xbd, 0x82, 0xbc, 0x47, - 0x93, 0x29, 0xfd, 0x64, 0x8e, 0xf7, 0x90, 0x24, 0xa0, 0xe8, 0x00, 0x4a, 0x3e, 0xbe, 0x21, 0x7e, - 0x32, 0x99, 0x2f, 0x3e, 0x38, 0x99, 0xad, 0x33, 0x89, 0x53, 0x9f, 0x87, 0x26, 0x35, 0xf7, 0xa0, - 0x96, 0x51, 0xff, 0x97, 0x8f, 0xbc, 0x53, 0x4d, 0xbf, 0x2a, 0xeb, 0x17, 0x03, 0x96, 0x8f, 0x7c, - 0x8a, 0xc3, 0xa4, 0x8e, 0x3b, 0x50, 0xb8, 0xa3, 0x81, 0xfa, 0x47, 0xad, 0xec, 0x6e, 0xcc, 0xfd, - 0x36, 0x32, 0xb8, 0xd6, 0x29, 0x0d, 0x5c, 0x5b, 0x42, 0xd3, 0x89, 0xca, 0xcd, 0x26, 0xca, 0x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xb3, 0x31, 0x59, 0x1e, 0x94, 0x54, 0x4b, 0x50, 0x17, 0x56, 0x93, 0xcb, 0xce, - 0x7c, 0xff, 0xe6, 0x76, 0xb2, 0x4e, 0x57, 0x71, 0xfa, 0x4b, 0x76, 0x7d, 0x92, 0x55, 0x20, 0x04, - 0xf9, 0x38, 0xd3, 0x47, 0x21, 0x74, 0x0a, 0x62, 0x67, 0x58, 0xa7, 0x50, 0x9f, 0xe3, 0x2e, 0x5c, - 0xae, 0x8c, 0xc5, 0xcb, 0xd5, 0x3a, 0x54, 0x65, 0x18, 0x99, 0xd9, 0xad, 0x08, 0xc5, 0x39, 0x1e, - 0x93, 0xce, 0xb7, 0x50, 0xa7, 0x2c, 0x13, 0xd6, 0xa5, 0xf1, 0xfd, 0x1b, 0x7d, 0x23, 0xf1, 0x98, - 0x8f, 0x03, 0xaf, 0xc5, 0xb8, 0xd7, 0xf6, 0x48, 0x20, 0xef, 0x27, 0x6d, 0x65, 0xc2, 0x13, 0x1a, - 0xb6, 0x67, 0xf7, 0xc7, 0x7d, 0x7d, 0xfc, 0x35, 0x97, 0x7f, 0x6b, 0x1f, 0xdd, 0x94, 0x24, 0xf4, - 0xf5, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x6c, 0x9f, 0x7c, 0xce, 0x62, 0x0a, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/grafeas/v1/vulnerability.pb.go b/vendor/google.golang.org/genproto/googleapis/grafeas/v1/vulnerability.pb.go deleted file mode 100644 index a7da302f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/grafeas/v1/vulnerability.pb.go +++ /dev/null @@ -1,720 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: grafeas/v1/vulnerability.proto - -package grafeas - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // 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_cc4b69df8d04ae33, []int{0} -} - -// A security vulnerability that can be found in resources. -type VulnerabilityNote struct { - // 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,1,opt,name=cvss_score,json=cvssScore,proto3" json:"cvss_score,omitempty"` - // The note provider assigned severity of this vulnerability. - Severity Severity `protobuf:"varint,2,opt,name=severity,proto3,enum=grafeas.v1.Severity" json:"severity,omitempty"` - // Details of all known distros and packages affected by this vulnerability. - Details []*VulnerabilityNote_Detail `protobuf:"bytes,3,rep,name=details,proto3" json:"details,omitempty"` - // The full description of the CVSSv3 for this vulnerability. - CvssV3 *CVSSv3 `protobuf:"bytes,4,opt,name=cvss_v3,json=cvssV3,proto3" json:"cvss_v3,omitempty"` - // Windows details get their own format because the information format and - // model don't match a normal detail. Specifically Windows updates are done as - // patches, thus Windows vulnerabilities really are a missing package, rather - // than a package being at an incorrect version. - WindowsDetails []*VulnerabilityNote_WindowsDetail `protobuf:"bytes,5,rep,name=windows_details,json=windowsDetails,proto3" json:"windows_details,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VulnerabilityNote) Reset() { *m = VulnerabilityNote{} } -func (m *VulnerabilityNote) String() string { return proto.CompactTextString(m) } -func (*VulnerabilityNote) ProtoMessage() {} -func (*VulnerabilityNote) Descriptor() ([]byte, []int) { - return fileDescriptor_cc4b69df8d04ae33, []int{0} -} - -func (m *VulnerabilityNote) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VulnerabilityNote.Unmarshal(m, b) -} -func (m *VulnerabilityNote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VulnerabilityNote.Marshal(b, m, deterministic) -} -func (m *VulnerabilityNote) XXX_Merge(src proto.Message) { - xxx_messageInfo_VulnerabilityNote.Merge(m, src) -} -func (m *VulnerabilityNote) XXX_Size() int { - return xxx_messageInfo_VulnerabilityNote.Size(m) -} -func (m *VulnerabilityNote) XXX_DiscardUnknown() { - xxx_messageInfo_VulnerabilityNote.DiscardUnknown(m) -} - -var xxx_messageInfo_VulnerabilityNote proto.InternalMessageInfo - -func (m *VulnerabilityNote) GetCvssScore() float32 { - if m != nil { - return m.CvssScore - } - return 0 -} - -func (m *VulnerabilityNote) GetSeverity() Severity { - if m != nil { - return m.Severity - } - return Severity_SEVERITY_UNSPECIFIED -} - -func (m *VulnerabilityNote) GetDetails() []*VulnerabilityNote_Detail { - if m != nil { - return m.Details - } - return nil -} - -func (m *VulnerabilityNote) GetCvssV3() *CVSSv3 { - if m != nil { - return m.CvssV3 - } - return nil -} - -func (m *VulnerabilityNote) GetWindowsDetails() []*VulnerabilityNote_WindowsDetail { - if m != nil { - return m.WindowsDetails - } - return nil -} - -// A detail for a distro and package affected by this vulnerability and its -// associated fix (if one is available). -type VulnerabilityNote_Detail struct { - // The distro assigned severity of this vulnerability. - SeverityName string `protobuf:"bytes,1,opt,name=severity_name,json=severityName,proto3" json:"severity_name,omitempty"` - // A vendor-specific description of this vulnerability. - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - // The type of package; whether native or non native (e.g., ruby gems, - // node.js packages, etc.). - PackageType string `protobuf:"bytes,3,opt,name=package_type,json=packageType,proto3" json:"package_type,omitempty"` - // Required. The [CPE URI](https://cpe.mitre.org/specification/) this - // vulnerability affects. - AffectedCpeUri string `protobuf:"bytes,4,opt,name=affected_cpe_uri,json=affectedCpeUri,proto3" json:"affected_cpe_uri,omitempty"` - // Required. The package this vulnerability affects. - AffectedPackage string `protobuf:"bytes,5,opt,name=affected_package,json=affectedPackage,proto3" json:"affected_package,omitempty"` - // The version number at the start of an interval in which this - // vulnerability exists. A vulnerability can affect a package between - // version numbers that are disjoint sets of intervals (example: - // [1.0.0-1.1.0], [2.4.6-2.4.8] and [4.5.6-4.6.8]) each of which will be - // represented in its own Detail. If a specific affected version is provided - // by a vulnerability database, affected_version_start and - // affected_version_end will be the same in that Detail. - AffectedVersionStart *Version `protobuf:"bytes,6,opt,name=affected_version_start,json=affectedVersionStart,proto3" json:"affected_version_start,omitempty"` - // The version number at the end of an interval in which this vulnerability - // exists. A vulnerability can affect a package between version numbers - // that are disjoint sets of intervals (example: [1.0.0-1.1.0], - // [2.4.6-2.4.8] and [4.5.6-4.6.8]) each of which will be represented in its - // own Detail. If a specific affected version is provided by a vulnerability - // database, affected_version_start and affected_version_end will be the - // same in that Detail. - AffectedVersionEnd *Version `protobuf:"bytes,7,opt,name=affected_version_end,json=affectedVersionEnd,proto3" json:"affected_version_end,omitempty"` - // The distro recommended [CPE URI](https://cpe.mitre.org/specification/) - // to update to that contains a fix for this vulnerability. It is possible - // for this to be different from the affected_cpe_uri. - FixedCpeUri string `protobuf:"bytes,8,opt,name=fixed_cpe_uri,json=fixedCpeUri,proto3" json:"fixed_cpe_uri,omitempty"` - // The distro recommended package to update to that contains a fix for this - // vulnerability. It is possible for this to be different from the - // affected_package. - FixedPackage string `protobuf:"bytes,9,opt,name=fixed_package,json=fixedPackage,proto3" json:"fixed_package,omitempty"` - // The distro recommended version to update to that contains a - // fix for this vulnerability. Setting this to VersionKind.MAXIMUM means no - // such version is yet available. - FixedVersion *Version `protobuf:"bytes,10,opt,name=fixed_version,json=fixedVersion,proto3" json:"fixed_version,omitempty"` - // Whether this detail is obsolete. Occurrences are expected not to point to - // obsolete details. - IsObsolete bool `protobuf:"varint,11,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 *VulnerabilityNote_Detail) Reset() { *m = VulnerabilityNote_Detail{} } -func (m *VulnerabilityNote_Detail) String() string { return proto.CompactTextString(m) } -func (*VulnerabilityNote_Detail) ProtoMessage() {} -func (*VulnerabilityNote_Detail) Descriptor() ([]byte, []int) { - return fileDescriptor_cc4b69df8d04ae33, []int{0, 0} -} - -func (m *VulnerabilityNote_Detail) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VulnerabilityNote_Detail.Unmarshal(m, b) -} -func (m *VulnerabilityNote_Detail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VulnerabilityNote_Detail.Marshal(b, m, deterministic) -} -func (m *VulnerabilityNote_Detail) XXX_Merge(src proto.Message) { - xxx_messageInfo_VulnerabilityNote_Detail.Merge(m, src) -} -func (m *VulnerabilityNote_Detail) XXX_Size() int { - return xxx_messageInfo_VulnerabilityNote_Detail.Size(m) -} -func (m *VulnerabilityNote_Detail) XXX_DiscardUnknown() { - xxx_messageInfo_VulnerabilityNote_Detail.DiscardUnknown(m) -} - -var xxx_messageInfo_VulnerabilityNote_Detail proto.InternalMessageInfo - -func (m *VulnerabilityNote_Detail) GetSeverityName() string { - if m != nil { - return m.SeverityName - } - return "" -} - -func (m *VulnerabilityNote_Detail) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *VulnerabilityNote_Detail) GetPackageType() string { - if m != nil { - return m.PackageType - } - return "" -} - -func (m *VulnerabilityNote_Detail) GetAffectedCpeUri() string { - if m != nil { - return m.AffectedCpeUri - } - return "" -} - -func (m *VulnerabilityNote_Detail) GetAffectedPackage() string { - if m != nil { - return m.AffectedPackage - } - return "" -} - -func (m *VulnerabilityNote_Detail) GetAffectedVersionStart() *Version { - if m != nil { - return m.AffectedVersionStart - } - return nil -} - -func (m *VulnerabilityNote_Detail) GetAffectedVersionEnd() *Version { - if m != nil { - return m.AffectedVersionEnd - } - return nil -} - -func (m *VulnerabilityNote_Detail) GetFixedCpeUri() string { - if m != nil { - return m.FixedCpeUri - } - return "" -} - -func (m *VulnerabilityNote_Detail) GetFixedPackage() string { - if m != nil { - return m.FixedPackage - } - return "" -} - -func (m *VulnerabilityNote_Detail) GetFixedVersion() *Version { - if m != nil { - return m.FixedVersion - } - return nil -} - -func (m *VulnerabilityNote_Detail) GetIsObsolete() bool { - if m != nil { - return m.IsObsolete - } - return false -} - -type VulnerabilityNote_WindowsDetail struct { - // Required. The [CPE URI](https://cpe.mitre.org/specification/) this - // vulnerability affects. - CpeUri string `protobuf:"bytes,1,opt,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"` - // Required. The name of this vulnerability. - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - // The description of this vulnerability. - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - // Required. The names of the KBs which have hotfixes to mitigate this - // vulnerability. Note that there may be multiple hotfixes (and thus - // multiple KBs) that mitigate a given vulnerability. Currently any listed - // KBs presence is considered a fix. - FixingKbs []*VulnerabilityNote_WindowsDetail_KnowledgeBase `protobuf:"bytes,4,rep,name=fixing_kbs,json=fixingKbs,proto3" json:"fixing_kbs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VulnerabilityNote_WindowsDetail) Reset() { *m = VulnerabilityNote_WindowsDetail{} } -func (m *VulnerabilityNote_WindowsDetail) String() string { return proto.CompactTextString(m) } -func (*VulnerabilityNote_WindowsDetail) ProtoMessage() {} -func (*VulnerabilityNote_WindowsDetail) Descriptor() ([]byte, []int) { - return fileDescriptor_cc4b69df8d04ae33, []int{0, 1} -} - -func (m *VulnerabilityNote_WindowsDetail) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VulnerabilityNote_WindowsDetail.Unmarshal(m, b) -} -func (m *VulnerabilityNote_WindowsDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VulnerabilityNote_WindowsDetail.Marshal(b, m, deterministic) -} -func (m *VulnerabilityNote_WindowsDetail) XXX_Merge(src proto.Message) { - xxx_messageInfo_VulnerabilityNote_WindowsDetail.Merge(m, src) -} -func (m *VulnerabilityNote_WindowsDetail) XXX_Size() int { - return xxx_messageInfo_VulnerabilityNote_WindowsDetail.Size(m) -} -func (m *VulnerabilityNote_WindowsDetail) XXX_DiscardUnknown() { - xxx_messageInfo_VulnerabilityNote_WindowsDetail.DiscardUnknown(m) -} - -var xxx_messageInfo_VulnerabilityNote_WindowsDetail proto.InternalMessageInfo - -func (m *VulnerabilityNote_WindowsDetail) GetCpeUri() string { - if m != nil { - return m.CpeUri - } - return "" -} - -func (m *VulnerabilityNote_WindowsDetail) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *VulnerabilityNote_WindowsDetail) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *VulnerabilityNote_WindowsDetail) GetFixingKbs() []*VulnerabilityNote_WindowsDetail_KnowledgeBase { - if m != nil { - return m.FixingKbs - } - return nil -} - -type VulnerabilityNote_WindowsDetail_KnowledgeBase struct { - // The KB name (generally of the form KB[0-9]+ (e.g., KB123456)). - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // A link to the KB in the [Windows update catalog] - // (https://www.catalog.update.microsoft.com/). - 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 *VulnerabilityNote_WindowsDetail_KnowledgeBase) Reset() { - *m = VulnerabilityNote_WindowsDetail_KnowledgeBase{} -} -func (m *VulnerabilityNote_WindowsDetail_KnowledgeBase) String() string { - return proto.CompactTextString(m) -} -func (*VulnerabilityNote_WindowsDetail_KnowledgeBase) ProtoMessage() {} -func (*VulnerabilityNote_WindowsDetail_KnowledgeBase) Descriptor() ([]byte, []int) { - return fileDescriptor_cc4b69df8d04ae33, []int{0, 1, 0} -} - -func (m *VulnerabilityNote_WindowsDetail_KnowledgeBase) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VulnerabilityNote_WindowsDetail_KnowledgeBase.Unmarshal(m, b) -} -func (m *VulnerabilityNote_WindowsDetail_KnowledgeBase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VulnerabilityNote_WindowsDetail_KnowledgeBase.Marshal(b, m, deterministic) -} -func (m *VulnerabilityNote_WindowsDetail_KnowledgeBase) XXX_Merge(src proto.Message) { - xxx_messageInfo_VulnerabilityNote_WindowsDetail_KnowledgeBase.Merge(m, src) -} -func (m *VulnerabilityNote_WindowsDetail_KnowledgeBase) XXX_Size() int { - return xxx_messageInfo_VulnerabilityNote_WindowsDetail_KnowledgeBase.Size(m) -} -func (m *VulnerabilityNote_WindowsDetail_KnowledgeBase) XXX_DiscardUnknown() { - xxx_messageInfo_VulnerabilityNote_WindowsDetail_KnowledgeBase.DiscardUnknown(m) -} - -var xxx_messageInfo_VulnerabilityNote_WindowsDetail_KnowledgeBase proto.InternalMessageInfo - -func (m *VulnerabilityNote_WindowsDetail_KnowledgeBase) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *VulnerabilityNote_WindowsDetail_KnowledgeBase) GetUrl() string { - if m != nil { - return m.Url - } - return "" -} - -// An occurrence of a severity vulnerability on a resource. -type VulnerabilityOccurrence struct { - // The type of package; whether native or non native (e.g., 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 this vulnerability. - Severity Severity `protobuf:"varint,2,opt,name=severity,proto3,enum=grafeas.v1.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"` - // Required. The set of affected locations and their fixes (if available) - // within the associated resource. - PackageIssue []*VulnerabilityOccurrence_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 []*RelatedUrl `protobuf:"bytes,7,rep,name=related_urls,json=relatedUrls,proto3" json:"related_urls,omitempty"` - // The distro assigned severity for this vulnerability when it is available, - // and note provider assigned severity when distro has not yet assigned a - // severity for this vulnerability. - EffectiveSeverity Severity `protobuf:"varint,8,opt,name=effective_severity,json=effectiveSeverity,proto3,enum=grafeas.v1.Severity" json:"effective_severity,omitempty"` - // Output only. Whether at least one of the affected packages has a fix - // available. - FixAvailable bool `protobuf:"varint,9,opt,name=fix_available,json=fixAvailable,proto3" json:"fix_available,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VulnerabilityOccurrence) Reset() { *m = VulnerabilityOccurrence{} } -func (m *VulnerabilityOccurrence) String() string { return proto.CompactTextString(m) } -func (*VulnerabilityOccurrence) ProtoMessage() {} -func (*VulnerabilityOccurrence) Descriptor() ([]byte, []int) { - return fileDescriptor_cc4b69df8d04ae33, []int{1} -} - -func (m *VulnerabilityOccurrence) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VulnerabilityOccurrence.Unmarshal(m, b) -} -func (m *VulnerabilityOccurrence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VulnerabilityOccurrence.Marshal(b, m, deterministic) -} -func (m *VulnerabilityOccurrence) XXX_Merge(src proto.Message) { - xxx_messageInfo_VulnerabilityOccurrence.Merge(m, src) -} -func (m *VulnerabilityOccurrence) XXX_Size() int { - return xxx_messageInfo_VulnerabilityOccurrence.Size(m) -} -func (m *VulnerabilityOccurrence) XXX_DiscardUnknown() { - xxx_messageInfo_VulnerabilityOccurrence.DiscardUnknown(m) -} - -var xxx_messageInfo_VulnerabilityOccurrence proto.InternalMessageInfo - -func (m *VulnerabilityOccurrence) GetType() string { - if m != nil { - return m.Type - } - return "" -} - -func (m *VulnerabilityOccurrence) GetSeverity() Severity { - if m != nil { - return m.Severity - } - return Severity_SEVERITY_UNSPECIFIED -} - -func (m *VulnerabilityOccurrence) GetCvssScore() float32 { - if m != nil { - return m.CvssScore - } - return 0 -} - -func (m *VulnerabilityOccurrence) GetPackageIssue() []*VulnerabilityOccurrence_PackageIssue { - if m != nil { - return m.PackageIssue - } - return nil -} - -func (m *VulnerabilityOccurrence) GetShortDescription() string { - if m != nil { - return m.ShortDescription - } - return "" -} - -func (m *VulnerabilityOccurrence) GetLongDescription() string { - if m != nil { - return m.LongDescription - } - return "" -} - -func (m *VulnerabilityOccurrence) GetRelatedUrls() []*RelatedUrl { - if m != nil { - return m.RelatedUrls - } - return nil -} - -func (m *VulnerabilityOccurrence) GetEffectiveSeverity() Severity { - if m != nil { - return m.EffectiveSeverity - } - return Severity_SEVERITY_UNSPECIFIED -} - -func (m *VulnerabilityOccurrence) GetFixAvailable() bool { - if m != nil { - return m.FixAvailable - } - return false -} - -// A detail for a distro and package this vulnerability occurrence was found -// in and its associated fix (if one is available). -type VulnerabilityOccurrence_PackageIssue struct { - // Required. The [CPE URI](https://cpe.mitre.org/specification/) this - // vulnerability was found in. - AffectedCpeUri string `protobuf:"bytes,1,opt,name=affected_cpe_uri,json=affectedCpeUri,proto3" json:"affected_cpe_uri,omitempty"` - // Required. The package this vulnerability was found in. - AffectedPackage string `protobuf:"bytes,2,opt,name=affected_package,json=affectedPackage,proto3" json:"affected_package,omitempty"` - // Required. The version of the package that is installed on the resource - // affected by this vulnerability. - AffectedVersion *Version `protobuf:"bytes,3,opt,name=affected_version,json=affectedVersion,proto3" json:"affected_version,omitempty"` - // The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability - // was fixed in. It is possible for this to be different from the - // affected_cpe_uri. - FixedCpeUri string `protobuf:"bytes,4,opt,name=fixed_cpe_uri,json=fixedCpeUri,proto3" json:"fixed_cpe_uri,omitempty"` - // The package this vulnerability was fixed in. It is possible for this to - // be different from the affected_package. - FixedPackage string `protobuf:"bytes,5,opt,name=fixed_package,json=fixedPackage,proto3" json:"fixed_package,omitempty"` - // Required. The version of the package this vulnerability was fixed in. - // Setting this to VersionKind.MAXIMUM means no fix is yet available. - FixedVersion *Version `protobuf:"bytes,6,opt,name=fixed_version,json=fixedVersion,proto3" json:"fixed_version,omitempty"` - // Output only. Whether a fix is available for this package. - FixAvailable bool `protobuf:"varint,7,opt,name=fix_available,json=fixAvailable,proto3" json:"fix_available,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VulnerabilityOccurrence_PackageIssue) Reset() { *m = VulnerabilityOccurrence_PackageIssue{} } -func (m *VulnerabilityOccurrence_PackageIssue) String() string { return proto.CompactTextString(m) } -func (*VulnerabilityOccurrence_PackageIssue) ProtoMessage() {} -func (*VulnerabilityOccurrence_PackageIssue) Descriptor() ([]byte, []int) { - return fileDescriptor_cc4b69df8d04ae33, []int{1, 0} -} - -func (m *VulnerabilityOccurrence_PackageIssue) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VulnerabilityOccurrence_PackageIssue.Unmarshal(m, b) -} -func (m *VulnerabilityOccurrence_PackageIssue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VulnerabilityOccurrence_PackageIssue.Marshal(b, m, deterministic) -} -func (m *VulnerabilityOccurrence_PackageIssue) XXX_Merge(src proto.Message) { - xxx_messageInfo_VulnerabilityOccurrence_PackageIssue.Merge(m, src) -} -func (m *VulnerabilityOccurrence_PackageIssue) XXX_Size() int { - return xxx_messageInfo_VulnerabilityOccurrence_PackageIssue.Size(m) -} -func (m *VulnerabilityOccurrence_PackageIssue) XXX_DiscardUnknown() { - xxx_messageInfo_VulnerabilityOccurrence_PackageIssue.DiscardUnknown(m) -} - -var xxx_messageInfo_VulnerabilityOccurrence_PackageIssue proto.InternalMessageInfo - -func (m *VulnerabilityOccurrence_PackageIssue) GetAffectedCpeUri() string { - if m != nil { - return m.AffectedCpeUri - } - return "" -} - -func (m *VulnerabilityOccurrence_PackageIssue) GetAffectedPackage() string { - if m != nil { - return m.AffectedPackage - } - return "" -} - -func (m *VulnerabilityOccurrence_PackageIssue) GetAffectedVersion() *Version { - if m != nil { - return m.AffectedVersion - } - return nil -} - -func (m *VulnerabilityOccurrence_PackageIssue) GetFixedCpeUri() string { - if m != nil { - return m.FixedCpeUri - } - return "" -} - -func (m *VulnerabilityOccurrence_PackageIssue) GetFixedPackage() string { - if m != nil { - return m.FixedPackage - } - return "" -} - -func (m *VulnerabilityOccurrence_PackageIssue) GetFixedVersion() *Version { - if m != nil { - return m.FixedVersion - } - return nil -} - -func (m *VulnerabilityOccurrence_PackageIssue) GetFixAvailable() bool { - if m != nil { - return m.FixAvailable - } - return false -} - -func init() { - proto.RegisterEnum("grafeas.v1.Severity", Severity_name, Severity_value) - proto.RegisterType((*VulnerabilityNote)(nil), "grafeas.v1.VulnerabilityNote") - proto.RegisterType((*VulnerabilityNote_Detail)(nil), "grafeas.v1.VulnerabilityNote.Detail") - proto.RegisterType((*VulnerabilityNote_WindowsDetail)(nil), "grafeas.v1.VulnerabilityNote.WindowsDetail") - proto.RegisterType((*VulnerabilityNote_WindowsDetail_KnowledgeBase)(nil), "grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase") - proto.RegisterType((*VulnerabilityOccurrence)(nil), "grafeas.v1.VulnerabilityOccurrence") - proto.RegisterType((*VulnerabilityOccurrence_PackageIssue)(nil), "grafeas.v1.VulnerabilityOccurrence.PackageIssue") -} - -func init() { proto.RegisterFile("grafeas/v1/vulnerability.proto", fileDescriptor_cc4b69df8d04ae33) } - -var fileDescriptor_cc4b69df8d04ae33 = []byte{ - // 897 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0xdd, 0x6e, 0xdb, 0x36, - 0x14, 0x9e, 0x2c, 0xc7, 0x3f, 0xc7, 0x76, 0xa2, 0x70, 0x59, 0x23, 0x18, 0xd8, 0xe6, 0xa5, 0xbb, - 0x70, 0x17, 0x40, 0x6e, 0x13, 0x0c, 0x68, 0x31, 0xa0, 0x40, 0xea, 0x78, 0xad, 0xd0, 0xfc, 0x4d, - 0x8e, 0xd3, 0x6d, 0x17, 0x13, 0x64, 0x99, 0xd6, 0x88, 0x2a, 0xa2, 0x41, 0xca, 0x4a, 0xf3, 0x28, - 0xbb, 0x1b, 0xf6, 0x3a, 0x7b, 0x98, 0x3d, 0xc1, 0x80, 0x41, 0x24, 0xe5, 0xd0, 0x71, 0x13, 0x64, - 0xbd, 0xa3, 0xbe, 0xf3, 0x1d, 0xf2, 0xe3, 0xc7, 0x73, 0x8e, 0xe0, 0x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0x32, 0x6a, 0x42, 0xad, 0xef, 0xb9, 0xe7, 0x6e, 0xff, 0xe0, 0xc8, 0x5a, - 0x7b, 0xf5, 0x13, 0xb4, 0x08, 0xd5, 0xb4, 0x9e, 0x19, 0xbf, 0x3e, 0x8f, 0x28, 0x8d, 0x62, 0xec, - 0x44, 0x34, 0x0e, 0x92, 0xc8, 0xa1, 0x2c, 0xea, 0x45, 0x38, 0x11, 0x7f, 0xf3, 0x9e, 0x0c, 0x05, - 0x33, 0xc2, 0x7b, 0x37, 0x7f, 0xfc, 0x1f, 0xd4, 0xf2, 0xaf, 0x92, 0xf9, 0xda, 0x3b, 0x18, 0x57, - 0x04, 0x75, 0xff, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc3, 0x5d, 0x01, 0x75, 0x70, 0x08, 0x00, - 0x00, -} 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 deleted file mode 100644 index f8426500..00000000 --- a/vendor/google.golang.org/genproto/googleapis/home/graph/v1/device.pb.go +++ /dev/null @@ -1,390 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/home/graph/v1/device.proto - -package graph - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Third-party partner's device definition. -type Device struct { - // Third-party partner's device ID. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // Hardware type of the device (e.g. light, outlet, etc). - Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` - // Traits supported by the device. - Traits []string `protobuf:"bytes,3,rep,name=traits,proto3" json:"traits,omitempty"` - // Name of the device given by the third party. This includes names given to - // the device via third party device manufacturer's app, model names for the - // device, etc. - Name *DeviceNames `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` - // Indicates whether the state of this device is being reported to Google - // through ReportStateAndNotification call. - WillReportState bool `protobuf:"varint,5,opt,name=will_report_state,json=willReportState,proto3" json:"will_report_state,omitempty"` - // If the third-party partner's cloud configuration includes placing devices - // in rooms, the name of the room can be provided here. - RoomHint string `protobuf:"bytes,6,opt,name=room_hint,json=roomHint,proto3" json:"room_hint,omitempty"` - // As in roomHint, for structures that users set up in the partner's system. - StructureHint string `protobuf:"bytes,7,opt,name=structure_hint,json=structureHint,proto3" json:"structure_hint,omitempty"` - // Device manufacturer, model, hardware version, and software version. - DeviceInfo *DeviceInfo `protobuf:"bytes,8,opt,name=device_info,json=deviceInfo,proto3" json:"device_info,omitempty"` - // Attributes for the traits supported by the device. - Attributes *_struct.Struct `protobuf:"bytes,9,opt,name=attributes,proto3" json:"attributes,omitempty"` - // Custom JSON data provided by the manufacturer and attached to QUERY and - // EXECUTE requests in AoG. - CustomData string `protobuf:"bytes,10,opt,name=custom_data,json=customData,proto3" json:"custom_data,omitempty"` - // IDs of other devices associated with this device. This is used to - // represent a device group (e.g. bonded zone) or "facets" synced - // through different flows (e.g. Google Nest Hub Max with a Nest Camera). - // - // This may also be used to pass in alternate IDs used to identify a cloud - // synced device for local execution (i.e. local verification). If used for - // local verification, this field is synced from the cloud. - OtherDeviceIds []*AgentOtherDeviceId `protobuf:"bytes,11,rep,name=other_device_ids,json=otherDeviceIds,proto3" json:"other_device_ids,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_1729f8e53993f499, []int{0} -} - -func (m *Device) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Device.Unmarshal(m, b) -} -func (m *Device) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Device.Marshal(b, m, deterministic) -} -func (m *Device) XXX_Merge(src proto.Message) { - xxx_messageInfo_Device.Merge(m, src) -} -func (m *Device) XXX_Size() int { - return xxx_messageInfo_Device.Size(m) -} -func (m *Device) XXX_DiscardUnknown() { - xxx_messageInfo_Device.DiscardUnknown(m) -} - -var xxx_messageInfo_Device proto.InternalMessageInfo - -func (m *Device) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *Device) GetType() string { - if m != nil { - return m.Type - } - return "" -} - -func (m *Device) GetTraits() []string { - if m != nil { - return m.Traits - } - return nil -} - -func (m *Device) GetName() *DeviceNames { - if m != nil { - return m.Name - } - return nil -} - -func (m *Device) GetWillReportState() bool { - if m != nil { - return m.WillReportState - } - return false -} - -func (m *Device) GetRoomHint() string { - if m != nil { - return m.RoomHint - } - return "" -} - -func (m *Device) GetStructureHint() string { - if m != nil { - return m.StructureHint - } - return "" -} - -func (m *Device) GetDeviceInfo() *DeviceInfo { - if m != nil { - return m.DeviceInfo - } - return nil -} - -func (m *Device) GetAttributes() *_struct.Struct { - if m != nil { - return m.Attributes - } - return nil -} - -func (m *Device) GetCustomData() string { - if m != nil { - return m.CustomData - } - return "" -} - -func (m *Device) GetOtherDeviceIds() []*AgentOtherDeviceId { - if m != nil { - return m.OtherDeviceIds - } - return nil -} - -// Different names for the device. -type DeviceNames struct { - // Primary name of the device, generally provided by the user. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Additional names provided by the user for the device. - Nicknames []string `protobuf:"bytes,2,rep,name=nicknames,proto3" json:"nicknames,omitempty"` - // List of names provided by the partner rather than the user, often - // manufacturer names, SKUs, etc. - DefaultNames []string `protobuf:"bytes,3,rep,name=default_names,json=defaultNames,proto3" json:"default_names,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_1729f8e53993f499, []int{1} -} - -func (m *DeviceNames) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeviceNames.Unmarshal(m, b) -} -func (m *DeviceNames) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeviceNames.Marshal(b, m, deterministic) -} -func (m *DeviceNames) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeviceNames.Merge(m, src) -} -func (m *DeviceNames) XXX_Size() int { - return xxx_messageInfo_DeviceNames.Size(m) -} -func (m *DeviceNames) XXX_DiscardUnknown() { - xxx_messageInfo_DeviceNames.DiscardUnknown(m) -} - -var xxx_messageInfo_DeviceNames proto.InternalMessageInfo - -func (m *DeviceNames) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *DeviceNames) GetNicknames() []string { - if m != nil { - return m.Nicknames - } - return nil -} - -func (m *DeviceNames) GetDefaultNames() []string { - if m != nil { - return m.DefaultNames - } - return nil -} - -// Device information. -type DeviceInfo struct { - // Device manufacturer. - Manufacturer string `protobuf:"bytes,1,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"` - // Device model. - Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"` - // Device hardware version. - HwVersion string `protobuf:"bytes,3,opt,name=hw_version,json=hwVersion,proto3" json:"hw_version,omitempty"` - // Device software version. - SwVersion string `protobuf:"bytes,4,opt,name=sw_version,json=swVersion,proto3" json:"sw_version,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_1729f8e53993f499, []int{2} -} - -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 (m *DeviceInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeviceInfo.Merge(m, 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) GetManufacturer() string { - if m != nil { - return m.Manufacturer - } - return "" -} - -func (m *DeviceInfo) GetModel() string { - if m != nil { - return m.Model - } - return "" -} - -func (m *DeviceInfo) GetHwVersion() string { - if m != nil { - return m.HwVersion - } - return "" -} - -func (m *DeviceInfo) GetSwVersion() string { - if m != nil { - return m.SwVersion - } - return "" -} - -// Identifies a device in the third party or first party system. -type AgentOtherDeviceId struct { - // The agent's ID. Generally it is the agent's AoG project id. - AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` - // Device ID defined by the agent. The device_id must be unique. - DeviceId string `protobuf:"bytes,2,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 *AgentOtherDeviceId) Reset() { *m = AgentOtherDeviceId{} } -func (m *AgentOtherDeviceId) String() string { return proto.CompactTextString(m) } -func (*AgentOtherDeviceId) ProtoMessage() {} -func (*AgentOtherDeviceId) Descriptor() ([]byte, []int) { - return fileDescriptor_1729f8e53993f499, []int{3} -} - -func (m *AgentOtherDeviceId) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AgentOtherDeviceId.Unmarshal(m, b) -} -func (m *AgentOtherDeviceId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AgentOtherDeviceId.Marshal(b, m, deterministic) -} -func (m *AgentOtherDeviceId) XXX_Merge(src proto.Message) { - xxx_messageInfo_AgentOtherDeviceId.Merge(m, src) -} -func (m *AgentOtherDeviceId) XXX_Size() int { - return xxx_messageInfo_AgentOtherDeviceId.Size(m) -} -func (m *AgentOtherDeviceId) XXX_DiscardUnknown() { - xxx_messageInfo_AgentOtherDeviceId.DiscardUnknown(m) -} - -var xxx_messageInfo_AgentOtherDeviceId proto.InternalMessageInfo - -func (m *AgentOtherDeviceId) GetAgentId() string { - if m != nil { - return m.AgentId - } - return "" -} - -func (m *AgentOtherDeviceId) GetDeviceId() string { - if m != nil { - return m.DeviceId - } - return "" -} - -func init() { - proto.RegisterType((*Device)(nil), "google.home.graph.v1.Device") - proto.RegisterType((*DeviceNames)(nil), "google.home.graph.v1.DeviceNames") - proto.RegisterType((*DeviceInfo)(nil), "google.home.graph.v1.DeviceInfo") - proto.RegisterType((*AgentOtherDeviceId)(nil), "google.home.graph.v1.AgentOtherDeviceId") -} - -func init() { proto.RegisterFile("google/home/graph/v1/device.proto", fileDescriptor_1729f8e53993f499) } - -var fileDescriptor_1729f8e53993f499 = []byte{ - // 532 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x53, 0x4d, 0x6f, 0xd4, 0x30, - 0x10, 0xd5, 0x7e, 0x74, 0xbb, 0x99, 0xb4, 0x05, 0xac, 0x0a, 0x0c, 0x14, 0x91, 0x2e, 0x42, 0x8a, - 0x38, 0x24, 0x6a, 0x11, 0x42, 0x88, 0x53, 0xab, 0x1e, 0xa8, 0x84, 0x00, 0xa5, 0x12, 0x07, 0x2e, - 0x91, 0x77, 0xed, 0x4d, 0x2c, 0x92, 0x78, 0x65, 0x3b, 0xbb, 0xe2, 0xce, 0xcf, 0xe4, 0xc7, 0x20, - 0x8f, 0xb3, 0x1f, 0x15, 0x2b, 0x6e, 0x9e, 0x37, 0xcf, 0xe3, 0x97, 0xf7, 0x26, 0x70, 0x5e, 0x28, - 0x55, 0x54, 0x22, 0x2d, 0x55, 0x2d, 0xd2, 0x42, 0xb3, 0x45, 0x99, 0x2e, 0x2f, 0x52, 0x2e, 0x96, - 0x72, 0x26, 0x92, 0x85, 0x56, 0x56, 0x91, 0x53, 0x4f, 0x49, 0x1c, 0x25, 0x41, 0x4a, 0xb2, 0xbc, - 0x78, 0x76, 0xd6, 0x5d, 0x44, 0xce, 0xb4, 0x9d, 0xa7, 0xc6, 0xea, 0x76, 0x66, 0xfd, 0x9d, 0xc9, - 0x9f, 0x01, 0x8c, 0x6e, 0x70, 0x08, 0x39, 0x81, 0xbe, 0xe4, 0xb4, 0x17, 0xf5, 0xe2, 0x20, 0xeb, - 0x4b, 0x4e, 0x08, 0x0c, 0xed, 0xaf, 0x85, 0xa0, 0x7d, 0x44, 0xf0, 0x4c, 0x1e, 0xc3, 0xc8, 0x6a, - 0x26, 0xad, 0xa1, 0x83, 0x68, 0x10, 0x07, 0x59, 0x57, 0x91, 0x77, 0x30, 0x6c, 0x58, 0x2d, 0xe8, - 0x30, 0xea, 0xc5, 0xe1, 0xe5, 0x79, 0xb2, 0x4f, 0x49, 0xe2, 0xdf, 0xf9, 0xc2, 0x6a, 0x61, 0x32, - 0xa4, 0x93, 0x37, 0xf0, 0x68, 0x25, 0xab, 0x2a, 0xd7, 0x62, 0xa1, 0xb4, 0xcd, 0x8d, 0x65, 0x56, - 0xd0, 0x83, 0xa8, 0x17, 0x8f, 0xb3, 0x07, 0xae, 0x91, 0x21, 0x7e, 0xe7, 0x60, 0xf2, 0x1c, 0x02, - 0xad, 0x54, 0x9d, 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, 0x29, 0x1c, 0xd4, 0x8a, 0x8b, - 0xaa, 0xdb, 0x2e, 0x5f, 0x90, 0x17, 0x00, 0xe5, 0x2a, 0x5f, 0x0a, 0x6d, 0xa4, 0x6a, 0xe8, 0x00, - 0x5b, 0x41, 0xb9, 0xfa, 0xee, 0x01, 0xd7, 0x36, 0xdb, 0xf6, 0xd0, 0xb7, 0xcd, 0xba, 0x3d, 0xf9, - 0x0c, 0xe4, 0x5f, 0x4b, 0xc8, 0x53, 0x18, 0x33, 0x87, 0xe6, 0x9b, 0xe5, 0x3e, 0xc4, 0xfa, 0x96, - 0xbb, 0x95, 0xda, 0x78, 0xdd, 0x09, 0x19, 0x77, 0x51, 0xf3, 0xeb, 0x29, 0xd0, 0x99, 0xaa, 0xf7, - 0x3a, 0x7f, 0xdd, 0x99, 0xfa, 0xcd, 0xc5, 0xfd, 0xe3, 0x43, 0x47, 0x29, 0x54, 0xc5, 0x9a, 0x22, - 0x51, 0xba, 0x48, 0x0b, 0xd1, 0xe0, 0x2a, 0xa4, 0xbe, 0xc5, 0x16, 0xd2, 0xdc, 0xff, 0x71, 0x3f, - 0xe2, 0x61, 0x3a, 0x42, 0xd6, 0xdb, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x40, 0x65, 0xdc, 0x87, - 0xdd, 0x03, 0x00, 0x00, -} 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 deleted file mode 100644 index 6534aa2f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/home/graph/v1/homegraph.pb.go +++ /dev/null @@ -1,1297 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/home/graph/v1/homegraph.proto - -package graph - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _struct "github.com/golang/protobuf/ptypes/struct" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request type for RequestSyncDevices call. -type RequestSyncDevicesRequest struct { - // Required. Third-party user id issued by agent's third-party identity - // provider. - AgentUserId string `protobuf:"bytes,1,opt,name=agent_user_id,json=agentUserId,proto3" json:"agent_user_id,omitempty"` - // Optional. If set, the request will be added to a queue and a response will - // be returned immediately. The queue allows for de-duplication of - // simultaneous requests. - Async bool `protobuf:"varint,2,opt,name=async,proto3" json:"async,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RequestSyncDevicesRequest) Reset() { *m = RequestSyncDevicesRequest{} } -func (m *RequestSyncDevicesRequest) String() string { return proto.CompactTextString(m) } -func (*RequestSyncDevicesRequest) ProtoMessage() {} -func (*RequestSyncDevicesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7c06ecdbcb0515e5, []int{0} -} - -func (m *RequestSyncDevicesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RequestSyncDevicesRequest.Unmarshal(m, b) -} -func (m *RequestSyncDevicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RequestSyncDevicesRequest.Marshal(b, m, deterministic) -} -func (m *RequestSyncDevicesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RequestSyncDevicesRequest.Merge(m, src) -} -func (m *RequestSyncDevicesRequest) XXX_Size() int { - return xxx_messageInfo_RequestSyncDevicesRequest.Size(m) -} -func (m *RequestSyncDevicesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RequestSyncDevicesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_RequestSyncDevicesRequest proto.InternalMessageInfo - -func (m *RequestSyncDevicesRequest) GetAgentUserId() string { - if m != nil { - return m.AgentUserId - } - return "" -} - -func (m *RequestSyncDevicesRequest) GetAsync() bool { - if m != nil { - return m.Async - } - return false -} - -// Response type for RequestSyncDevices call. Intentionally empty upon success. -// An HTTP response code is returned with more details upon failure. -type RequestSyncDevicesResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RequestSyncDevicesResponse) Reset() { *m = RequestSyncDevicesResponse{} } -func (m *RequestSyncDevicesResponse) String() string { return proto.CompactTextString(m) } -func (*RequestSyncDevicesResponse) ProtoMessage() {} -func (*RequestSyncDevicesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7c06ecdbcb0515e5, []int{1} -} - -func (m *RequestSyncDevicesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RequestSyncDevicesResponse.Unmarshal(m, b) -} -func (m *RequestSyncDevicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RequestSyncDevicesResponse.Marshal(b, m, deterministic) -} -func (m *RequestSyncDevicesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RequestSyncDevicesResponse.Merge(m, src) -} -func (m *RequestSyncDevicesResponse) XXX_Size() int { - return xxx_messageInfo_RequestSyncDevicesResponse.Size(m) -} -func (m *RequestSyncDevicesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RequestSyncDevicesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_RequestSyncDevicesResponse proto.InternalMessageInfo - -// Sample ReportStateAndNotificationRequest, with states and notifications -// defined per device_id (eg: "123" and "456" in the following example): -// { -// "requestId": "ff36a3cc-ec34-11e6-b1a0-64510650abcf", -// "agentUserId": "1234", -// "payload": { -// "devices": { -// "states": { -// "123": { -// "on": true -// }, -// "456": { -// "on": true, -// "brightness": 10 -// } -// }, -// "notifications": { -// "123": { -// "ObjectDetected": { -// "priority": 0, -// "objects": { -// "NAMED": ["Alice", "Bob", "Carol", "Eve"] -// } -// }, -// "DoorUnlocked": { -// "priority": 0, -// "keyUsed": { -// "keyName": "Wife's key" -// } -// } -// }, -// "456": { -// "SprinklersOn": { -// "priority": 0, -// "timeStarted": "1513792702" -// } -// } -// } -// } -// } -// } -// Request type for ReportStateAndNotification call. It may include States, -// Notifications, or both. This request uses globally unique flattened state -// names instead of namespaces based on traits to align with the existing QUERY -// and EXECUTE APIs implemented by 90+ Smart Home partners. -// Next tag: 6. -type ReportStateAndNotificationRequest struct { - // Request id used for debugging. - RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - // Unique identifier per event (eg: doorbell press). - EventId string `protobuf:"bytes,4,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` - // Required. Third-party user id. - AgentUserId string `protobuf:"bytes,2,opt,name=agent_user_id,json=agentUserId,proto3" json:"agent_user_id,omitempty"` - // Token to maintain state in the follow up notification response. - FollowUpToken string `protobuf:"bytes,5,opt,name=follow_up_token,json=followUpToken,proto3" json:"follow_up_token,omitempty"` - // State of devices to update and notification metadata for devices. For - // example, if a user turns a light on manually, a State update should be - // sent so that the information is always the current status of the device. - // Notifications are independent from the state and its piece of the payload - // should contain everything necessary to notify the user. Although it may be - // related to a state change, it does not need to be. For example, if a - // device can turn on/off and change temperature, the states reported would - // include both "on" and "70 degrees" but the 3p may choose not to send any - // notification for that, or to only say that the "the room is heating up", - // keeping state and notification independent. - Payload *StateAndNotificationPayload `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ReportStateAndNotificationRequest) Reset() { *m = ReportStateAndNotificationRequest{} } -func (m *ReportStateAndNotificationRequest) String() string { return proto.CompactTextString(m) } -func (*ReportStateAndNotificationRequest) ProtoMessage() {} -func (*ReportStateAndNotificationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7c06ecdbcb0515e5, []int{2} -} - -func (m *ReportStateAndNotificationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReportStateAndNotificationRequest.Unmarshal(m, b) -} -func (m *ReportStateAndNotificationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReportStateAndNotificationRequest.Marshal(b, m, deterministic) -} -func (m *ReportStateAndNotificationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReportStateAndNotificationRequest.Merge(m, src) -} -func (m *ReportStateAndNotificationRequest) XXX_Size() int { - return xxx_messageInfo_ReportStateAndNotificationRequest.Size(m) -} -func (m *ReportStateAndNotificationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ReportStateAndNotificationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ReportStateAndNotificationRequest proto.InternalMessageInfo - -func (m *ReportStateAndNotificationRequest) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} - -func (m *ReportStateAndNotificationRequest) GetEventId() string { - if m != nil { - return m.EventId - } - return "" -} - -func (m *ReportStateAndNotificationRequest) GetAgentUserId() string { - if m != nil { - return m.AgentUserId - } - return "" -} - -func (m *ReportStateAndNotificationRequest) GetFollowUpToken() string { - if m != nil { - return m.FollowUpToken - } - return "" -} - -func (m *ReportStateAndNotificationRequest) GetPayload() *StateAndNotificationPayload { - if m != nil { - return m.Payload - } - return nil -} - -// Response type for ReportStateAndNotification call. -type ReportStateAndNotificationResponse struct { - // Request id copied from ReportStateAndNotificationRequest. - RequestId string `protobuf:"bytes,1,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 *ReportStateAndNotificationResponse) Reset() { *m = ReportStateAndNotificationResponse{} } -func (m *ReportStateAndNotificationResponse) String() string { return proto.CompactTextString(m) } -func (*ReportStateAndNotificationResponse) ProtoMessage() {} -func (*ReportStateAndNotificationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7c06ecdbcb0515e5, []int{3} -} - -func (m *ReportStateAndNotificationResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReportStateAndNotificationResponse.Unmarshal(m, b) -} -func (m *ReportStateAndNotificationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReportStateAndNotificationResponse.Marshal(b, m, deterministic) -} -func (m *ReportStateAndNotificationResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReportStateAndNotificationResponse.Merge(m, src) -} -func (m *ReportStateAndNotificationResponse) XXX_Size() int { - return xxx_messageInfo_ReportStateAndNotificationResponse.Size(m) -} -func (m *ReportStateAndNotificationResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ReportStateAndNotificationResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ReportStateAndNotificationResponse proto.InternalMessageInfo - -func (m *ReportStateAndNotificationResponse) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} - -// Payload containing the State and Notification information for devices. -type StateAndNotificationPayload struct { - // The devices for updating State and sending Notifications. - Devices *ReportStateAndNotificationDevice `protobuf:"bytes,1,opt,name=devices,proto3" json:"devices,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StateAndNotificationPayload) Reset() { *m = StateAndNotificationPayload{} } -func (m *StateAndNotificationPayload) String() string { return proto.CompactTextString(m) } -func (*StateAndNotificationPayload) ProtoMessage() {} -func (*StateAndNotificationPayload) Descriptor() ([]byte, []int) { - return fileDescriptor_7c06ecdbcb0515e5, []int{4} -} - -func (m *StateAndNotificationPayload) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StateAndNotificationPayload.Unmarshal(m, b) -} -func (m *StateAndNotificationPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StateAndNotificationPayload.Marshal(b, m, deterministic) -} -func (m *StateAndNotificationPayload) XXX_Merge(src proto.Message) { - xxx_messageInfo_StateAndNotificationPayload.Merge(m, src) -} -func (m *StateAndNotificationPayload) XXX_Size() int { - return xxx_messageInfo_StateAndNotificationPayload.Size(m) -} -func (m *StateAndNotificationPayload) XXX_DiscardUnknown() { - xxx_messageInfo_StateAndNotificationPayload.DiscardUnknown(m) -} - -var xxx_messageInfo_StateAndNotificationPayload proto.InternalMessageInfo - -func (m *StateAndNotificationPayload) GetDevices() *ReportStateAndNotificationDevice { - if m != nil { - return m.Devices - } - return nil -} - -// The States and Notifications specific to a device. -type ReportStateAndNotificationDevice struct { - // States of devices to update. - States *_struct.Struct `protobuf:"bytes,1,opt,name=states,proto3" json:"states,omitempty"` - // Notifications metadata for devices. - Notifications *_struct.Struct `protobuf:"bytes,2,opt,name=notifications,proto3" json:"notifications,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ReportStateAndNotificationDevice) Reset() { *m = ReportStateAndNotificationDevice{} } -func (m *ReportStateAndNotificationDevice) String() string { return proto.CompactTextString(m) } -func (*ReportStateAndNotificationDevice) ProtoMessage() {} -func (*ReportStateAndNotificationDevice) Descriptor() ([]byte, []int) { - return fileDescriptor_7c06ecdbcb0515e5, []int{5} -} - -func (m *ReportStateAndNotificationDevice) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReportStateAndNotificationDevice.Unmarshal(m, b) -} -func (m *ReportStateAndNotificationDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReportStateAndNotificationDevice.Marshal(b, m, deterministic) -} -func (m *ReportStateAndNotificationDevice) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReportStateAndNotificationDevice.Merge(m, src) -} -func (m *ReportStateAndNotificationDevice) XXX_Size() int { - return xxx_messageInfo_ReportStateAndNotificationDevice.Size(m) -} -func (m *ReportStateAndNotificationDevice) XXX_DiscardUnknown() { - xxx_messageInfo_ReportStateAndNotificationDevice.DiscardUnknown(m) -} - -var xxx_messageInfo_ReportStateAndNotificationDevice proto.InternalMessageInfo - -func (m *ReportStateAndNotificationDevice) GetStates() *_struct.Struct { - if m != nil { - return m.States - } - return nil -} - -func (m *ReportStateAndNotificationDevice) GetNotifications() *_struct.Struct { - if m != nil { - return m.Notifications - } - return nil -} - -// Request type for DeleteAgentUser call. -type DeleteAgentUserRequest struct { - // Request id used for debugging. - RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - // Required. Third-party user id. - AgentUserId string `protobuf:"bytes,2,opt,name=agent_user_id,json=agentUserId,proto3" json:"agent_user_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7c06ecdbcb0515e5, []int{6} -} - -func (m *DeleteAgentUserRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteAgentUserRequest.Unmarshal(m, b) -} -func (m *DeleteAgentUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteAgentUserRequest.Marshal(b, m, deterministic) -} -func (m *DeleteAgentUserRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteAgentUserRequest.Merge(m, src) -} -func (m *DeleteAgentUserRequest) XXX_Size() int { - return xxx_messageInfo_DeleteAgentUserRequest.Size(m) -} -func (m *DeleteAgentUserRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteAgentUserRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteAgentUserRequest proto.InternalMessageInfo - -func (m *DeleteAgentUserRequest) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} - -func (m *DeleteAgentUserRequest) GetAgentUserId() string { - if m != nil { - return m.AgentUserId - } - return "" -} - -// Request type for Query call. This should be the same format as the AoG -// action.devices.QUERY request -// (https://developers.google.com/actions/smarthome/create-app#actiondevicesquery) -// with the exception of the extra "agent_user_id" and no "intent" and -// "customData" field. -type QueryRequest struct { - // Request ID used for debugging. - RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - // Required. Third-party user ID. - AgentUserId string `protobuf:"bytes,2,opt,name=agent_user_id,json=agentUserId,proto3" json:"agent_user_id,omitempty"` - // Required. Inputs containing third-party partner's device IDs for which to - // get the device states. - Inputs []*QueryRequestInput `protobuf:"bytes,3,rep,name=inputs,proto3" json:"inputs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7c06ecdbcb0515e5, []int{7} -} - -func (m *QueryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryRequest.Unmarshal(m, b) -} -func (m *QueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryRequest.Marshal(b, m, deterministic) -} -func (m *QueryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryRequest.Merge(m, src) -} -func (m *QueryRequest) XXX_Size() int { - return xxx_messageInfo_QueryRequest.Size(m) -} -func (m *QueryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryRequest proto.InternalMessageInfo - -func (m *QueryRequest) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} - -func (m *QueryRequest) GetAgentUserId() string { - if m != nil { - return m.AgentUserId - } - return "" -} - -func (m *QueryRequest) GetInputs() []*QueryRequestInput { - if m != nil { - return m.Inputs - } - return nil -} - -// Device ID inputs to QueryRequest. -type QueryRequestInput struct { - // Payload containing third-party partner's device IDs. - Payload *QueryRequestPayload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7c06ecdbcb0515e5, []int{8} -} - -func (m *QueryRequestInput) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryRequestInput.Unmarshal(m, b) -} -func (m *QueryRequestInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryRequestInput.Marshal(b, m, deterministic) -} -func (m *QueryRequestInput) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryRequestInput.Merge(m, src) -} -func (m *QueryRequestInput) XXX_Size() int { - return xxx_messageInfo_QueryRequestInput.Size(m) -} -func (m *QueryRequestInput) XXX_DiscardUnknown() { - xxx_messageInfo_QueryRequestInput.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryRequestInput proto.InternalMessageInfo - -func (m *QueryRequestInput) GetPayload() *QueryRequestPayload { - if m != nil { - return m.Payload - } - return nil -} - -// Payload containing device IDs. -type QueryRequestPayload struct { - // Third-party partner's device IDs to get device states for. - Devices []*AgentDeviceId `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7c06ecdbcb0515e5, []int{9} -} - -func (m *QueryRequestPayload) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryRequestPayload.Unmarshal(m, b) -} -func (m *QueryRequestPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryRequestPayload.Marshal(b, m, deterministic) -} -func (m *QueryRequestPayload) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryRequestPayload.Merge(m, src) -} -func (m *QueryRequestPayload) XXX_Size() int { - return xxx_messageInfo_QueryRequestPayload.Size(m) -} -func (m *QueryRequestPayload) XXX_DiscardUnknown() { - xxx_messageInfo_QueryRequestPayload.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryRequestPayload proto.InternalMessageInfo - -func (m *QueryRequestPayload) GetDevices() []*AgentDeviceId { - if m != nil { - return m.Devices - } - return nil -} - -// Third-party partner's device ID for one device. -type AgentDeviceId struct { - // Third-party partner's device ID. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7c06ecdbcb0515e5, []int{10} -} - -func (m *AgentDeviceId) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AgentDeviceId.Unmarshal(m, b) -} -func (m *AgentDeviceId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AgentDeviceId.Marshal(b, m, deterministic) -} -func (m *AgentDeviceId) XXX_Merge(src proto.Message) { - xxx_messageInfo_AgentDeviceId.Merge(m, src) -} -func (m *AgentDeviceId) XXX_Size() int { - return xxx_messageInfo_AgentDeviceId.Size(m) -} -func (m *AgentDeviceId) XXX_DiscardUnknown() { - xxx_messageInfo_AgentDeviceId.DiscardUnknown(m) -} - -var xxx_messageInfo_AgentDeviceId proto.InternalMessageInfo - -func (m *AgentDeviceId) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -// Response type for Query call. This should follow the same format as AoG -// action.devices.QUERY response -// (https://developers.google.com/actions/smarthome/create-app#actiondevicesquery). -type QueryResponse struct { - // Request ID used for debugging. Copied from the request. - RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - // Device states for the devices given in the request. - Payload *QueryResponsePayload `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7c06ecdbcb0515e5, []int{11} -} - -func (m *QueryResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryResponse.Unmarshal(m, b) -} -func (m *QueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryResponse.Marshal(b, m, deterministic) -} -func (m *QueryResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryResponse.Merge(m, src) -} -func (m *QueryResponse) XXX_Size() int { - return xxx_messageInfo_QueryResponse.Size(m) -} -func (m *QueryResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryResponse proto.InternalMessageInfo - -func (m *QueryResponse) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} - -func (m *QueryResponse) GetPayload() *QueryResponsePayload { - if m != nil { - return m.Payload - } - return nil -} - -// Payload containing device states information. -type QueryResponsePayload struct { - // States of the devices. Map of third-party device ID to struct of device - // states. - Devices map[string]*_struct.Struct `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,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 *QueryResponsePayload) Reset() { *m = QueryResponsePayload{} } -func (m *QueryResponsePayload) String() string { return proto.CompactTextString(m) } -func (*QueryResponsePayload) ProtoMessage() {} -func (*QueryResponsePayload) Descriptor() ([]byte, []int) { - return fileDescriptor_7c06ecdbcb0515e5, []int{12} -} - -func (m *QueryResponsePayload) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryResponsePayload.Unmarshal(m, b) -} -func (m *QueryResponsePayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryResponsePayload.Marshal(b, m, deterministic) -} -func (m *QueryResponsePayload) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryResponsePayload.Merge(m, src) -} -func (m *QueryResponsePayload) XXX_Size() int { - return xxx_messageInfo_QueryResponsePayload.Size(m) -} -func (m *QueryResponsePayload) XXX_DiscardUnknown() { - xxx_messageInfo_QueryResponsePayload.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryResponsePayload proto.InternalMessageInfo - -func (m *QueryResponsePayload) GetDevices() map[string]*_struct.Struct { - if m != nil { - return m.Devices - } - return nil -} - -// Request type for Sync call. This should follow the same format as AoG -// action.devices.SYNC request -// (https://developers.google.com/actions/smarthome/create-app#actiondevicessync) -// with the exception of the extra "agent_user_id" and no "intent" field. -type SyncRequest struct { - // Request ID used for debugging. - RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - // Required. Third-party user ID. - AgentUserId string `protobuf:"bytes,2,opt,name=agent_user_id,json=agentUserId,proto3" json:"agent_user_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7c06ecdbcb0515e5, []int{13} -} - -func (m *SyncRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SyncRequest.Unmarshal(m, b) -} -func (m *SyncRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SyncRequest.Marshal(b, m, deterministic) -} -func (m *SyncRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SyncRequest.Merge(m, src) -} -func (m *SyncRequest) XXX_Size() int { - return xxx_messageInfo_SyncRequest.Size(m) -} -func (m *SyncRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SyncRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SyncRequest proto.InternalMessageInfo - -func (m *SyncRequest) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} - -func (m *SyncRequest) GetAgentUserId() string { - if m != nil { - return m.AgentUserId - } - return "" -} - -// Example SyncResponse: -// { -// "requestId": "ff36a3cc-ec34-11e6-b1a0-64510650abcf", -// "payload": { -// "agentUserId": "1836.15267389", -// "devices": [{ -// "id": "123", -// "type": "action.devices.types.OUTLET", -// "traits": [ -// "action.devices.traits.OnOff" -// ], -// "name": { -// "defaultNames": ["My Outlet 1234"], -// "name": "Night light", -// "nicknames": ["wall plug"] -// }, -// "willReportState": false, -// "deviceInfo": { -// "manufacturer": "lights-out-inc", -// "model": "hs1234", -// "hwVersion": "3.2", -// "swVersion": "11.4" -// }, -// "customData": { -// "fooValue": 74, -// "barValue": true, -// "bazValue": "foo" -// } -// }] -// } -// } -// -// Response type for Sync call. This should follow the same format as AoG -// action.devices.SYNC response -// (https://developers.google.com/actions/smarthome/create-app#actiondevicessync). -type SyncResponse struct { - // Request ID used for debugging. Copied from the request. - RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - // Devices associated with the third-party user. - Payload *SyncResponsePayload `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7c06ecdbcb0515e5, []int{14} -} - -func (m *SyncResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SyncResponse.Unmarshal(m, b) -} -func (m *SyncResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SyncResponse.Marshal(b, m, deterministic) -} -func (m *SyncResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SyncResponse.Merge(m, src) -} -func (m *SyncResponse) XXX_Size() int { - return xxx_messageInfo_SyncResponse.Size(m) -} -func (m *SyncResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SyncResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SyncResponse proto.InternalMessageInfo - -func (m *SyncResponse) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} - -func (m *SyncResponse) GetPayload() *SyncResponsePayload { - if m != nil { - return m.Payload - } - return nil -} - -// Payload containing device information. -type SyncResponsePayload struct { - // Third-party user ID - AgentUserId string `protobuf:"bytes,1,opt,name=agent_user_id,json=agentUserId,proto3" json:"agent_user_id,omitempty"` - // Devices associated with the third-party user. - Devices []*Device `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7c06ecdbcb0515e5, []int{15} -} - -func (m *SyncResponsePayload) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SyncResponsePayload.Unmarshal(m, b) -} -func (m *SyncResponsePayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SyncResponsePayload.Marshal(b, m, deterministic) -} -func (m *SyncResponsePayload) XXX_Merge(src proto.Message) { - xxx_messageInfo_SyncResponsePayload.Merge(m, src) -} -func (m *SyncResponsePayload) XXX_Size() int { - return xxx_messageInfo_SyncResponsePayload.Size(m) -} -func (m *SyncResponsePayload) XXX_DiscardUnknown() { - xxx_messageInfo_SyncResponsePayload.DiscardUnknown(m) -} - -var xxx_messageInfo_SyncResponsePayload proto.InternalMessageInfo - -func (m *SyncResponsePayload) GetAgentUserId() string { - if m != nil { - return m.AgentUserId - } - return "" -} - -func (m *SyncResponsePayload) GetDevices() []*Device { - if m != nil { - return m.Devices - } - return nil -} - -func init() { - proto.RegisterType((*RequestSyncDevicesRequest)(nil), "google.home.graph.v1.RequestSyncDevicesRequest") - proto.RegisterType((*RequestSyncDevicesResponse)(nil), "google.home.graph.v1.RequestSyncDevicesResponse") - proto.RegisterType((*ReportStateAndNotificationRequest)(nil), "google.home.graph.v1.ReportStateAndNotificationRequest") - proto.RegisterType((*ReportStateAndNotificationResponse)(nil), "google.home.graph.v1.ReportStateAndNotificationResponse") - proto.RegisterType((*StateAndNotificationPayload)(nil), "google.home.graph.v1.StateAndNotificationPayload") - proto.RegisterType((*ReportStateAndNotificationDevice)(nil), "google.home.graph.v1.ReportStateAndNotificationDevice") - proto.RegisterType((*DeleteAgentUserRequest)(nil), "google.home.graph.v1.DeleteAgentUserRequest") - proto.RegisterType((*QueryRequest)(nil), "google.home.graph.v1.QueryRequest") - proto.RegisterType((*QueryRequestInput)(nil), "google.home.graph.v1.QueryRequestInput") - proto.RegisterType((*QueryRequestPayload)(nil), "google.home.graph.v1.QueryRequestPayload") - proto.RegisterType((*AgentDeviceId)(nil), "google.home.graph.v1.AgentDeviceId") - proto.RegisterType((*QueryResponse)(nil), "google.home.graph.v1.QueryResponse") - proto.RegisterType((*QueryResponsePayload)(nil), "google.home.graph.v1.QueryResponsePayload") - proto.RegisterMapType((map[string]*_struct.Struct)(nil), "google.home.graph.v1.QueryResponsePayload.DevicesEntry") - proto.RegisterType((*SyncRequest)(nil), "google.home.graph.v1.SyncRequest") - proto.RegisterType((*SyncResponse)(nil), "google.home.graph.v1.SyncResponse") - proto.RegisterType((*SyncResponsePayload)(nil), "google.home.graph.v1.SyncResponsePayload") -} - -func init() { - proto.RegisterFile("google/home/graph/v1/homegraph.proto", fileDescriptor_7c06ecdbcb0515e5) -} - -var fileDescriptor_7c06ecdbcb0515e5 = []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, - 0x54, 0xd2, 0x00, 0x36, 0x09, 0x52, 0x5b, 0x16, 0xad, 0xd0, 0x76, 0xb7, 0x82, 0x08, 0x09, 0xa5, - 0x4e, 0x57, 0x42, 0x70, 0x88, 0xdc, 0x78, 0xd6, 0x35, 0x4d, 0x3c, 0x5e, 0xcf, 0x38, 0x28, 0x42, - 0x5c, 0xfa, 0x11, 0x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 0xa2, 0x7f, 0x86, 0x1b, 0xa2, 0x89, 0xa8, 0xb1, - 0xee, 0x7a, 0xa8, 0x68, 0x78, 0xf3, 0x0d, 0xc2, 0x07, 0x32, 0xd8, 0xfb, 0xf8, 0xce, 0x7c, 0x30, - 0xa6, 0x54, 0xf2, 0x94, 0x82, 0x3e, 0xa4, 0xe3, 0x4c, 0x96, 0xa7, 0x7a, 0x86, 0xe8, 0x7b, 0xe2, - 0x14, 0x7f, 0xfc, 0x32, 0xc6, 0xbb, 0x74, 0x64, 0xfb, 0xae, 0x41, 0x43, 0xd7, 0x74, 0x89, 0x2f, - 0x4f, 0xd8, 0x54, 0x26, 0x3b, 0xf0, 0xd8, 0xe2, 0xaf, 0xe7, 0x57, 0xf2, 0xe3, 0xe5, 0x96, 0x44, - 0x7d, 0xf1, 0x36, 0x00, 0x00, 0xff, 0xff, 0x5b, 0x87, 0x36, 0x9c, 0xf9, 0x0a, 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 - -// HomeGraphApiServiceClient is the client API for HomeGraphApiService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type HomeGraphApiServiceClient interface { - // Requests a Sync call from Google to a 3p partner's home control agent for - // a user. - // - // - // Third-party user's identity is passed in as agent_user_id. - // (see - // [RequestSyncDevicesRequest][google.home.graph.v1.RequestSyncDevicesRequest]) - // and forwarded back to the agent. Agent is identified by the API key or JWT - // signed by the partner's service account. - RequestSyncDevices(ctx context.Context, in *RequestSyncDevicesRequest, opts ...grpc.CallOption) (*RequestSyncDevicesResponse, error) - // Reports device state and optionally sends device notifications. Called by - // an agent when the device state of a third-party changes or the agent wants - // to send a notification about the device. - // This method updates a predefined set of States for a device, which all - // devices have (for example a light will have OnOff, Color, Brightness). - // A new State may not be created and an INVALID_ARGUMENT code will be thrown - // if so. It also optionally takes in a list of Notifications that may be - // created, which are associated to this State change. - // - // Third-party user's identity is passed in as agent_user_id. - // Agent is identified by the JWT signed by the partner's service account. - ReportStateAndNotification(ctx context.Context, in *ReportStateAndNotificationRequest, opts ...grpc.CallOption) (*ReportStateAndNotificationResponse, error) - // Unlink an agent user from Google. As result, all data related to this user - // will be deleted. - // - // Here is how the agent user is created in Google: - // When users open their Google Home App, they can begin linking a 3p - // partner. User is guided through the OAuth process. After entering the 3p - // credentials, Google gets the 3p OAuth token, and uses it to make a - // Sync call to the 3p partner and gets back all the user's data, including - // agent_user_id and devices. - // Google then creates the agent user and stores a mapping from the - // agent_user_id -> Google ID mapping. Google also stores all user's devices - // under that Google ID. - // The mapping from agent_user_id -> Google ID is many to many, since one - // Google user can have multiple 3p accounts, and multiple Google users can - // map to one agent_user_id (e.g. husband and wife share one Nest account - // username/password). - // - // Third-party user's identity is passed in as agent_user_id - // Agent is identified by the JWT signed by the partner's service account. - // - // Note: Special characters (except "/") in agent_user_id must be URL encoded. - DeleteAgentUser(ctx context.Context, in *DeleteAgentUserRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Gets the device states for the devices in QueryRequest. - // Third-party user's identity is passed in as agent_user_id. Agent is - // identified by the JWT signed by the third-party partner's service account. - Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResponse, error) - // Gets all the devices associated with the given third-party user. - // Third-party user's identity is passed in as agent_user_id. Agent is - // identified by the JWT signed by the third-party partner's service account. - Sync(ctx context.Context, in *SyncRequest, opts ...grpc.CallOption) (*SyncResponse, error) -} - -type homeGraphApiServiceClient struct { - cc *grpc.ClientConn -} - -func NewHomeGraphApiServiceClient(cc *grpc.ClientConn) HomeGraphApiServiceClient { - return &homeGraphApiServiceClient{cc} -} - -func (c *homeGraphApiServiceClient) RequestSyncDevices(ctx context.Context, in *RequestSyncDevicesRequest, opts ...grpc.CallOption) (*RequestSyncDevicesResponse, error) { - out := new(RequestSyncDevicesResponse) - err := c.cc.Invoke(ctx, "/google.home.graph.v1.HomeGraphApiService/RequestSyncDevices", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *homeGraphApiServiceClient) ReportStateAndNotification(ctx context.Context, in *ReportStateAndNotificationRequest, opts ...grpc.CallOption) (*ReportStateAndNotificationResponse, error) { - out := new(ReportStateAndNotificationResponse) - err := c.cc.Invoke(ctx, "/google.home.graph.v1.HomeGraphApiService/ReportStateAndNotification", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *homeGraphApiServiceClient) DeleteAgentUser(ctx context.Context, in *DeleteAgentUserRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.home.graph.v1.HomeGraphApiService/DeleteAgentUser", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *homeGraphApiServiceClient) Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResponse, error) { - out := new(QueryResponse) - err := c.cc.Invoke(ctx, "/google.home.graph.v1.HomeGraphApiService/Query", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *homeGraphApiServiceClient) Sync(ctx context.Context, in *SyncRequest, opts ...grpc.CallOption) (*SyncResponse, error) { - out := new(SyncResponse) - err := c.cc.Invoke(ctx, "/google.home.graph.v1.HomeGraphApiService/Sync", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// HomeGraphApiServiceServer is the server API for HomeGraphApiService service. -type HomeGraphApiServiceServer interface { - // Requests a Sync call from Google to a 3p partner's home control agent for - // a user. - // - // - // Third-party user's identity is passed in as agent_user_id. - // (see - // [RequestSyncDevicesRequest][google.home.graph.v1.RequestSyncDevicesRequest]) - // and forwarded back to the agent. Agent is identified by the API key or JWT - // signed by the partner's service account. - RequestSyncDevices(context.Context, *RequestSyncDevicesRequest) (*RequestSyncDevicesResponse, error) - // Reports device state and optionally sends device notifications. Called by - // an agent when the device state of a third-party changes or the agent wants - // to send a notification about the device. - // This method updates a predefined set of States for a device, which all - // devices have (for example a light will have OnOff, Color, Brightness). - // A new State may not be created and an INVALID_ARGUMENT code will be thrown - // if so. It also optionally takes in a list of Notifications that may be - // created, which are associated to this State change. - // - // Third-party user's identity is passed in as agent_user_id. - // Agent is identified by the JWT signed by the partner's service account. - ReportStateAndNotification(context.Context, *ReportStateAndNotificationRequest) (*ReportStateAndNotificationResponse, error) - // Unlink an agent user from Google. As result, all data related to this user - // will be deleted. - // - // Here is how the agent user is created in Google: - // When users open their Google Home App, they can begin linking a 3p - // partner. User is guided through the OAuth process. After entering the 3p - // credentials, Google gets the 3p OAuth token, and uses it to make a - // Sync call to the 3p partner and gets back all the user's data, including - // agent_user_id and devices. - // Google then creates the agent user and stores a mapping from the - // agent_user_id -> Google ID mapping. Google also stores all user's devices - // under that Google ID. - // The mapping from agent_user_id -> Google ID is many to many, since one - // Google user can have multiple 3p accounts, and multiple Google users can - // map to one agent_user_id (e.g. husband and wife share one Nest account - // username/password). - // - // Third-party user's identity is passed in as agent_user_id - // Agent is identified by the JWT signed by the partner's service account. - // - // Note: Special characters (except "/") in agent_user_id must be URL encoded. - DeleteAgentUser(context.Context, *DeleteAgentUserRequest) (*empty.Empty, error) - // Gets the device states for the devices in QueryRequest. - // Third-party user's identity is passed in as agent_user_id. Agent is - // identified by the JWT signed by the third-party partner's service account. - Query(context.Context, *QueryRequest) (*QueryResponse, error) - // Gets all the devices associated with the given third-party user. - // Third-party user's identity is passed in as agent_user_id. Agent is - // identified by the JWT signed by the third-party partner's service account. - Sync(context.Context, *SyncRequest) (*SyncResponse, error) -} - -// UnimplementedHomeGraphApiServiceServer can be embedded to have forward compatible implementations. -type UnimplementedHomeGraphApiServiceServer struct { -} - -func (*UnimplementedHomeGraphApiServiceServer) RequestSyncDevices(ctx context.Context, req *RequestSyncDevicesRequest) (*RequestSyncDevicesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RequestSyncDevices not implemented") -} -func (*UnimplementedHomeGraphApiServiceServer) ReportStateAndNotification(ctx context.Context, req *ReportStateAndNotificationRequest) (*ReportStateAndNotificationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ReportStateAndNotification not implemented") -} -func (*UnimplementedHomeGraphApiServiceServer) DeleteAgentUser(ctx context.Context, req *DeleteAgentUserRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteAgentUser not implemented") -} -func (*UnimplementedHomeGraphApiServiceServer) Query(ctx context.Context, req *QueryRequest) (*QueryResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Query not implemented") -} -func (*UnimplementedHomeGraphApiServiceServer) Sync(ctx context.Context, req *SyncRequest) (*SyncResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Sync not implemented") -} - -func RegisterHomeGraphApiServiceServer(s *grpc.Server, srv HomeGraphApiServiceServer) { - s.RegisterService(&_HomeGraphApiService_serviceDesc, srv) -} - -func _HomeGraphApiService_RequestSyncDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RequestSyncDevicesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(HomeGraphApiServiceServer).RequestSyncDevices(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.home.graph.v1.HomeGraphApiService/RequestSyncDevices", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(HomeGraphApiServiceServer).RequestSyncDevices(ctx, req.(*RequestSyncDevicesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _HomeGraphApiService_ReportStateAndNotification_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ReportStateAndNotificationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(HomeGraphApiServiceServer).ReportStateAndNotification(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.home.graph.v1.HomeGraphApiService/ReportStateAndNotification", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(HomeGraphApiServiceServer).ReportStateAndNotification(ctx, req.(*ReportStateAndNotificationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _HomeGraphApiService_DeleteAgentUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteAgentUserRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(HomeGraphApiServiceServer).DeleteAgentUser(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.home.graph.v1.HomeGraphApiService/DeleteAgentUser", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(HomeGraphApiServiceServer).DeleteAgentUser(ctx, req.(*DeleteAgentUserRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _HomeGraphApiService_Query_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(HomeGraphApiServiceServer).Query(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.home.graph.v1.HomeGraphApiService/Query", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(HomeGraphApiServiceServer).Query(ctx, req.(*QueryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _HomeGraphApiService_Sync_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SyncRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(HomeGraphApiServiceServer).Sync(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.home.graph.v1.HomeGraphApiService/Sync", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(HomeGraphApiServiceServer).Sync(ctx, req.(*SyncRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _HomeGraphApiService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.home.graph.v1.HomeGraphApiService", - HandlerType: (*HomeGraphApiServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "RequestSyncDevices", - Handler: _HomeGraphApiService_RequestSyncDevices_Handler, - }, - { - MethodName: "ReportStateAndNotification", - Handler: _HomeGraphApiService_ReportStateAndNotification_Handler, - }, - { - MethodName: "DeleteAgentUser", - Handler: _HomeGraphApiService_DeleteAgentUser_Handler, - }, - { - MethodName: "Query", - Handler: _HomeGraphApiService_Query_Handler, - }, - { - MethodName: "Sync", - Handler: _HomeGraphApiService_Sync_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/home/graph/v1/homegraph.proto", -} 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 deleted file mode 100644 index d42283f6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/iam/admin/v1/iam.pb.go +++ /dev/null @@ -1,3247 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/iam/admin/v1/iam.proto - -package admin - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - v1 "google.golang.org/genproto/googleapis/iam/v1" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Supported key algorithms. -type ServiceAccountKeyAlgorithm int32 - -const ( - // An unspecified key algorithm. - ServiceAccountKeyAlgorithm_KEY_ALG_UNSPECIFIED ServiceAccountKeyAlgorithm = 0 - // 1k RSA Key. - ServiceAccountKeyAlgorithm_KEY_ALG_RSA_1024 ServiceAccountKeyAlgorithm = 1 - // 2k RSA Key. - ServiceAccountKeyAlgorithm_KEY_ALG_RSA_2048 ServiceAccountKeyAlgorithm = 2 -) - -var ServiceAccountKeyAlgorithm_name = map[int32]string{ - 0: "KEY_ALG_UNSPECIFIED", - 1: "KEY_ALG_RSA_1024", - 2: "KEY_ALG_RSA_2048", -} - -var ServiceAccountKeyAlgorithm_value = map[string]int32{ - "KEY_ALG_UNSPECIFIED": 0, - "KEY_ALG_RSA_1024": 1, - "KEY_ALG_RSA_2048": 2, -} - -func (x ServiceAccountKeyAlgorithm) String() string { - return proto.EnumName(ServiceAccountKeyAlgorithm_name, int32(x)) -} - -func (ServiceAccountKeyAlgorithm) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8ffbc3f16f9a3a9d, []int{0} -} - -// Supported private key output formats. -type ServiceAccountPrivateKeyType int32 - -const ( - // Unspecified. Equivalent to `TYPE_GOOGLE_CREDENTIALS_FILE`. - ServiceAccountPrivateKeyType_TYPE_UNSPECIFIED ServiceAccountPrivateKeyType = 0 - // PKCS12 format. - // The password for the PKCS12 file is `notasecret`. - // For more information, see https://tools.ietf.org/html/rfc7292. - ServiceAccountPrivateKeyType_TYPE_PKCS12_FILE ServiceAccountPrivateKeyType = 1 - // Google Credentials File format. - ServiceAccountPrivateKeyType_TYPE_GOOGLE_CREDENTIALS_FILE ServiceAccountPrivateKeyType = 2 -) - -var ServiceAccountPrivateKeyType_name = map[int32]string{ - 0: "TYPE_UNSPECIFIED", - 1: "TYPE_PKCS12_FILE", - 2: "TYPE_GOOGLE_CREDENTIALS_FILE", -} - -var ServiceAccountPrivateKeyType_value = map[string]int32{ - "TYPE_UNSPECIFIED": 0, - "TYPE_PKCS12_FILE": 1, - "TYPE_GOOGLE_CREDENTIALS_FILE": 2, -} - -func (x ServiceAccountPrivateKeyType) String() string { - return proto.EnumName(ServiceAccountPrivateKeyType_name, int32(x)) -} - -func (ServiceAccountPrivateKeyType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8ffbc3f16f9a3a9d, []int{1} -} - -// Supported public key output formats. -type ServiceAccountPublicKeyType int32 - -const ( - // Unspecified. Returns nothing here. - ServiceAccountPublicKeyType_TYPE_NONE ServiceAccountPublicKeyType = 0 - // X509 PEM format. - ServiceAccountPublicKeyType_TYPE_X509_PEM_FILE ServiceAccountPublicKeyType = 1 - // Raw public key. - ServiceAccountPublicKeyType_TYPE_RAW_PUBLIC_KEY ServiceAccountPublicKeyType = 2 -) - -var ServiceAccountPublicKeyType_name = map[int32]string{ - 0: "TYPE_NONE", - 1: "TYPE_X509_PEM_FILE", - 2: "TYPE_RAW_PUBLIC_KEY", -} - -var ServiceAccountPublicKeyType_value = map[string]int32{ - "TYPE_NONE": 0, - "TYPE_X509_PEM_FILE": 1, - "TYPE_RAW_PUBLIC_KEY": 2, -} - -func (x ServiceAccountPublicKeyType) String() string { - return proto.EnumName(ServiceAccountPublicKeyType_name, int32(x)) -} - -func (ServiceAccountPublicKeyType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8ffbc3f16f9a3a9d, []int{2} -} - -// A view for Role objects. -type RoleView int32 - -const ( - // Omits the `included_permissions` field. - // This is the default value. - RoleView_BASIC RoleView = 0 - // Returns all fields. - RoleView_FULL RoleView = 1 -) - -var RoleView_name = map[int32]string{ - 0: "BASIC", - 1: "FULL", -} - -var RoleView_value = map[string]int32{ - "BASIC": 0, - "FULL": 1, -} - -func (x RoleView) String() string { - return proto.EnumName(RoleView_name, int32(x)) -} - -func (RoleView) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8ffbc3f16f9a3a9d, []int{3} -} - -// `KeyType` filters to selectively retrieve certain varieties -// of keys. -type ListServiceAccountKeysRequest_KeyType int32 - -const ( - // Unspecified key type. The presence of this in the - // message will immediately result in an error. - ListServiceAccountKeysRequest_KEY_TYPE_UNSPECIFIED ListServiceAccountKeysRequest_KeyType = 0 - // User-managed keys (managed and rotated by the user). - ListServiceAccountKeysRequest_USER_MANAGED ListServiceAccountKeysRequest_KeyType = 1 - // System-managed keys (managed and rotated by Google). - ListServiceAccountKeysRequest_SYSTEM_MANAGED ListServiceAccountKeysRequest_KeyType = 2 -) - -var ListServiceAccountKeysRequest_KeyType_name = map[int32]string{ - 0: "KEY_TYPE_UNSPECIFIED", - 1: "USER_MANAGED", - 2: "SYSTEM_MANAGED", -} - -var ListServiceAccountKeysRequest_KeyType_value = map[string]int32{ - "KEY_TYPE_UNSPECIFIED": 0, - "USER_MANAGED": 1, - "SYSTEM_MANAGED": 2, -} - -func (x ListServiceAccountKeysRequest_KeyType) String() string { - return proto.EnumName(ListServiceAccountKeysRequest_KeyType_name, int32(x)) -} - -func (ListServiceAccountKeysRequest_KeyType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8ffbc3f16f9a3a9d, []int{6, 0} -} - -// A stage representing a role's lifecycle phase. -type Role_RoleLaunchStage int32 - -const ( - // The user has indicated this role is currently in an alpha phase. - Role_ALPHA Role_RoleLaunchStage = 0 - // The user has indicated this role is currently in a beta phase. - Role_BETA Role_RoleLaunchStage = 1 - // The user has indicated this role is generally available. - Role_GA Role_RoleLaunchStage = 2 - // The user has indicated this role is being deprecated. - Role_DEPRECATED Role_RoleLaunchStage = 4 - // This role is disabled and will not contribute permissions to any members - // it is granted to in policies. - Role_DISABLED Role_RoleLaunchStage = 5 - // The user has indicated this role is currently in an eap phase. - Role_EAP Role_RoleLaunchStage = 6 -) - -var Role_RoleLaunchStage_name = map[int32]string{ - 0: "ALPHA", - 1: "BETA", - 2: "GA", - 4: "DEPRECATED", - 5: "DISABLED", - 6: "EAP", -} - -var Role_RoleLaunchStage_value = map[string]int32{ - "ALPHA": 0, - "BETA": 1, - "GA": 2, - "DEPRECATED": 4, - "DISABLED": 5, - "EAP": 6, -} - -func (x Role_RoleLaunchStage) String() string { - return proto.EnumName(Role_RoleLaunchStage_name, int32(x)) -} - -func (Role_RoleLaunchStage) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8ffbc3f16f9a3a9d, []int{16, 0} -} - -// A stage representing a permission's lifecycle phase. -type Permission_PermissionLaunchStage int32 - -const ( - // The permission is currently in an alpha phase. - Permission_ALPHA Permission_PermissionLaunchStage = 0 - // The permission is currently in a beta phase. - Permission_BETA Permission_PermissionLaunchStage = 1 - // The permission is generally available. - Permission_GA Permission_PermissionLaunchStage = 2 - // The permission is being deprecated. - Permission_DEPRECATED Permission_PermissionLaunchStage = 3 -) - -var Permission_PermissionLaunchStage_name = map[int32]string{ - 0: "ALPHA", - 1: "BETA", - 2: "GA", - 3: "DEPRECATED", -} - -var Permission_PermissionLaunchStage_value = map[string]int32{ - "ALPHA": 0, - "BETA": 1, - "GA": 2, - "DEPRECATED": 3, -} - -func (x Permission_PermissionLaunchStage) String() string { - return proto.EnumName(Permission_PermissionLaunchStage_name, int32(x)) -} - -func (Permission_PermissionLaunchStage) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8ffbc3f16f9a3a9d, []int{26, 0} -} - -// The state of the permission with regards to custom roles. -type Permission_CustomRolesSupportLevel int32 - -const ( - // Permission is fully supported for custom role use. - Permission_SUPPORTED Permission_CustomRolesSupportLevel = 0 - // Permission is being tested to check custom role compatibility. - Permission_TESTING Permission_CustomRolesSupportLevel = 1 - // Permission is not supported for custom role use. - Permission_NOT_SUPPORTED Permission_CustomRolesSupportLevel = 2 -) - -var Permission_CustomRolesSupportLevel_name = map[int32]string{ - 0: "SUPPORTED", - 1: "TESTING", - 2: "NOT_SUPPORTED", -} - -var Permission_CustomRolesSupportLevel_value = map[string]int32{ - "SUPPORTED": 0, - "TESTING": 1, - "NOT_SUPPORTED": 2, -} - -func (x Permission_CustomRolesSupportLevel) String() string { - return proto.EnumName(Permission_CustomRolesSupportLevel_name, int32(x)) -} - -func (Permission_CustomRolesSupportLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8ffbc3f16f9a3a9d, []int{26, 1} -} - -// A service account in the Identity and Access Management API. -// -// To create a service account, specify the `project_id` and the `account_id` -// for the account. The `account_id` is unique within the project, and is used -// to generate the service account email address and a stable -// `unique_id`. -// -// If the account already exists, the account's resource name is returned -// in util::Status's ResourceInfo.resource_name in the format of -// projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}. The caller can -// use the name in other methods to access the account. -// -// All other methods can identify the service account using the format -// `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`. -// Using `-` as a wildcard for the project will infer the project from -// the account. The `account` value can be the `email` address or the -// `unique_id` of the service account. -type ServiceAccount struct { - // The resource name of the service account in the following format: - // `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`. - // - // Requests using `-` as a wildcard for the project will infer the project - // from the `account` and the `account` value can be the `email` address or - // the `unique_id` of the service account. - // - // In responses the resource name will always be in the format - // `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // @OutputOnly The id of the project that owns the service account. - ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // @OutputOnly The unique and stable id of the service account. - UniqueId string `protobuf:"bytes,4,opt,name=unique_id,json=uniqueId,proto3" json:"unique_id,omitempty"` - // @OutputOnly The email address of the service account. - Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` - // Optional. A user-specified description of the service account. Must be - // fewer than 100 UTF-8 bytes. - DisplayName string `protobuf:"bytes,6,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Used to perform a consistent read-modify-write. - Etag []byte `protobuf:"bytes,7,opt,name=etag,proto3" json:"etag,omitempty"` - // @OutputOnly. The OAuth2 client id for the service account. - // This is used in conjunction with the OAuth2 clientconfig API to make - // three legged OAuth2 (3LO) flows to access the data of Google users. - Oauth2ClientId string `protobuf:"bytes,9,opt,name=oauth2_client_id,json=oauth2ClientId,proto3" json:"oauth2_client_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8ffbc3f16f9a3a9d, []int{0} -} - -func (m *ServiceAccount) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServiceAccount.Unmarshal(m, b) -} -func (m *ServiceAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServiceAccount.Marshal(b, m, deterministic) -} -func (m *ServiceAccount) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceAccount.Merge(m, src) -} -func (m *ServiceAccount) XXX_Size() int { - return xxx_messageInfo_ServiceAccount.Size(m) -} -func (m *ServiceAccount) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceAccount.DiscardUnknown(m) -} - -var xxx_messageInfo_ServiceAccount proto.InternalMessageInfo - -func (m *ServiceAccount) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ServiceAccount) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *ServiceAccount) GetUniqueId() string { - if m != nil { - return m.UniqueId - } - return "" -} - -func (m *ServiceAccount) GetEmail() string { - if m != nil { - return m.Email - } - return "" -} - -func (m *ServiceAccount) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *ServiceAccount) GetEtag() []byte { - if m != nil { - return m.Etag - } - return nil -} - -func (m *ServiceAccount) GetOauth2ClientId() string { - if m != nil { - return m.Oauth2ClientId - } - return "" -} - -// The service account create request. -type CreateServiceAccountRequest struct { - // Required. The resource name of the project associated with the service - // accounts, such as `projects/my-project-123`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The account id that is used to generate the service account - // email address and a stable unique id. It is unique within a project, - // must be 6-30 characters long, and match the regular expression - // `[a-z]([-a-z0-9]*[a-z0-9])` to comply with RFC1035. - AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` - // The [ServiceAccount][google.iam.admin.v1.ServiceAccount] resource to - // create. Currently, only the following values are user assignable: - // `display_name` . - ServiceAccount *ServiceAccount `protobuf:"bytes,3,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateServiceAccountRequest) Reset() { *m = CreateServiceAccountRequest{} } -func (m *CreateServiceAccountRequest) String() string { return proto.CompactTextString(m) } -func (*CreateServiceAccountRequest) ProtoMessage() {} -func (*CreateServiceAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8ffbc3f16f9a3a9d, []int{1} -} - -func (m *CreateServiceAccountRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateServiceAccountRequest.Unmarshal(m, b) -} -func (m *CreateServiceAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateServiceAccountRequest.Marshal(b, m, deterministic) -} -func (m *CreateServiceAccountRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateServiceAccountRequest.Merge(m, src) -} -func (m *CreateServiceAccountRequest) XXX_Size() int { - return xxx_messageInfo_CreateServiceAccountRequest.Size(m) -} -func (m *CreateServiceAccountRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateServiceAccountRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateServiceAccountRequest proto.InternalMessageInfo - -func (m *CreateServiceAccountRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *CreateServiceAccountRequest) GetAccountId() string { - if m != nil { - return m.AccountId - } - return "" -} - -func (m *CreateServiceAccountRequest) GetServiceAccount() *ServiceAccount { - if m != nil { - return m.ServiceAccount - } - return nil -} - -// The service account list request. -type ListServiceAccountsRequest struct { - // Required. The resource name of the project associated with the service - // accounts, such as `projects/my-project-123`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Optional limit on the number of service accounts to include in the - // response. Further accounts can subsequently be obtained by including the - // [ListServiceAccountsResponse.next_page_token][google.iam.admin.v1.ListServiceAccountsResponse.next_page_token] - // in a subsequent request. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional pagination token returned in an earlier - // [ListServiceAccountsResponse.next_page_token][google.iam.admin.v1.ListServiceAccountsResponse.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:"-"` -} - -func (m *ListServiceAccountsRequest) Reset() { *m = ListServiceAccountsRequest{} } -func (m *ListServiceAccountsRequest) String() string { return proto.CompactTextString(m) } -func (*ListServiceAccountsRequest) ProtoMessage() {} -func (*ListServiceAccountsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8ffbc3f16f9a3a9d, []int{2} -} - -func (m *ListServiceAccountsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListServiceAccountsRequest.Unmarshal(m, b) -} -func (m *ListServiceAccountsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListServiceAccountsRequest.Marshal(b, m, deterministic) -} -func (m *ListServiceAccountsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListServiceAccountsRequest.Merge(m, src) -} -func (m *ListServiceAccountsRequest) XXX_Size() int { - return xxx_messageInfo_ListServiceAccountsRequest.Size(m) -} -func (m *ListServiceAccountsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListServiceAccountsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListServiceAccountsRequest proto.InternalMessageInfo - -func (m *ListServiceAccountsRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ListServiceAccountsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListServiceAccountsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// The service account list response. -type ListServiceAccountsResponse struct { - // The list of matching service accounts. - Accounts []*ServiceAccount `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` - // To retrieve the next page of results, set - // [ListServiceAccountsRequest.page_token][google.iam.admin.v1.ListServiceAccountsRequest.page_token] - // to this value. - 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 *ListServiceAccountsResponse) Reset() { *m = ListServiceAccountsResponse{} } -func (m *ListServiceAccountsResponse) String() string { return proto.CompactTextString(m) } -func (*ListServiceAccountsResponse) ProtoMessage() {} -func (*ListServiceAccountsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8ffbc3f16f9a3a9d, []int{3} -} - -func (m *ListServiceAccountsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListServiceAccountsResponse.Unmarshal(m, b) -} -func (m *ListServiceAccountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListServiceAccountsResponse.Marshal(b, m, deterministic) -} -func (m *ListServiceAccountsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListServiceAccountsResponse.Merge(m, src) -} -func (m *ListServiceAccountsResponse) XXX_Size() int { - return xxx_messageInfo_ListServiceAccountsResponse.Size(m) -} -func (m *ListServiceAccountsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListServiceAccountsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListServiceAccountsResponse proto.InternalMessageInfo - -func (m *ListServiceAccountsResponse) GetAccounts() []*ServiceAccount { - if m != nil { - return m.Accounts - } - return nil -} - -func (m *ListServiceAccountsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The service account get request. -type GetServiceAccountRequest struct { - // The resource name of the service account in the following format: - // `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`. - // Using `-` as a wildcard for the project will infer the project from - // the account. The `account` value can be the `email` address or the - // `unique_id` of the service account. - 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 *GetServiceAccountRequest) Reset() { *m = GetServiceAccountRequest{} } -func (m *GetServiceAccountRequest) String() string { return proto.CompactTextString(m) } -func (*GetServiceAccountRequest) ProtoMessage() {} -func (*GetServiceAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8ffbc3f16f9a3a9d, []int{4} -} - -func (m *GetServiceAccountRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetServiceAccountRequest.Unmarshal(m, b) -} -func (m *GetServiceAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetServiceAccountRequest.Marshal(b, m, deterministic) -} -func (m *GetServiceAccountRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetServiceAccountRequest.Merge(m, src) -} -func (m *GetServiceAccountRequest) XXX_Size() int { - return xxx_messageInfo_GetServiceAccountRequest.Size(m) -} -func (m *GetServiceAccountRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetServiceAccountRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetServiceAccountRequest proto.InternalMessageInfo - -func (m *GetServiceAccountRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The service account delete request. -type DeleteServiceAccountRequest struct { - // The resource name of the service account in the following format: - // `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`. - // Using `-` as a wildcard for the project will infer the project from - // the account. The `account` value can be the `email` address or the - // `unique_id` of the service account. - 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 *DeleteServiceAccountRequest) Reset() { *m = DeleteServiceAccountRequest{} } -func (m *DeleteServiceAccountRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteServiceAccountRequest) ProtoMessage() {} -func (*DeleteServiceAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8ffbc3f16f9a3a9d, []int{5} -} - -func (m *DeleteServiceAccountRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteServiceAccountRequest.Unmarshal(m, b) -} -func (m *DeleteServiceAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteServiceAccountRequest.Marshal(b, m, deterministic) -} -func (m *DeleteServiceAccountRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteServiceAccountRequest.Merge(m, src) -} -func (m *DeleteServiceAccountRequest) XXX_Size() int { - return xxx_messageInfo_DeleteServiceAccountRequest.Size(m) -} -func (m *DeleteServiceAccountRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteServiceAccountRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteServiceAccountRequest proto.InternalMessageInfo - -func (m *DeleteServiceAccountRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The service account keys list request. -type ListServiceAccountKeysRequest struct { - // The resource name of the service account in the following format: - // `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`. - // - // Using `-` as a wildcard for the project, will infer the project from - // the account. The `account` value can be the `email` address or the - // `unique_id` of the service account. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Filters the types of keys the user wants to include in the list - // response. Duplicate key types are not allowed. If no key type - // is provided, all keys are returned. - KeyTypes []ListServiceAccountKeysRequest_KeyType `protobuf:"varint,2,rep,packed,name=key_types,json=keyTypes,proto3,enum=google.iam.admin.v1.ListServiceAccountKeysRequest_KeyType" json:"key_types,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListServiceAccountKeysRequest) Reset() { *m = ListServiceAccountKeysRequest{} } -func (m *ListServiceAccountKeysRequest) String() string { return proto.CompactTextString(m) } -func (*ListServiceAccountKeysRequest) ProtoMessage() {} -func (*ListServiceAccountKeysRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8ffbc3f16f9a3a9d, []int{6} -} - -func (m *ListServiceAccountKeysRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListServiceAccountKeysRequest.Unmarshal(m, b) -} -func (m *ListServiceAccountKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListServiceAccountKeysRequest.Marshal(b, m, deterministic) -} -func (m *ListServiceAccountKeysRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListServiceAccountKeysRequest.Merge(m, src) -} -func (m *ListServiceAccountKeysRequest) XXX_Size() int { - return xxx_messageInfo_ListServiceAccountKeysRequest.Size(m) -} -func (m *ListServiceAccountKeysRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListServiceAccountKeysRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListServiceAccountKeysRequest proto.InternalMessageInfo - -func (m *ListServiceAccountKeysRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ListServiceAccountKeysRequest) GetKeyTypes() []ListServiceAccountKeysRequest_KeyType { - if m != nil { - return m.KeyTypes - } - return nil -} - -// The service account keys list response. -type ListServiceAccountKeysResponse struct { - // The public keys for the service account. - Keys []*ServiceAccountKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListServiceAccountKeysResponse) Reset() { *m = ListServiceAccountKeysResponse{} } -func (m *ListServiceAccountKeysResponse) String() string { return proto.CompactTextString(m) } -func (*ListServiceAccountKeysResponse) ProtoMessage() {} -func (*ListServiceAccountKeysResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8ffbc3f16f9a3a9d, []int{7} -} - -func (m *ListServiceAccountKeysResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListServiceAccountKeysResponse.Unmarshal(m, b) -} -func (m *ListServiceAccountKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListServiceAccountKeysResponse.Marshal(b, m, deterministic) -} -func (m *ListServiceAccountKeysResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListServiceAccountKeysResponse.Merge(m, src) -} -func (m *ListServiceAccountKeysResponse) XXX_Size() int { - return xxx_messageInfo_ListServiceAccountKeysResponse.Size(m) -} -func (m *ListServiceAccountKeysResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListServiceAccountKeysResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListServiceAccountKeysResponse proto.InternalMessageInfo - -func (m *ListServiceAccountKeysResponse) GetKeys() []*ServiceAccountKey { - if m != nil { - return m.Keys - } - return nil -} - -// The service account key get by id request. -type GetServiceAccountKeyRequest struct { - // The resource name of the service account key in the following format: - // `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}/keys/{key}`. - // - // Using `-` as a wildcard for the project will infer the project from - // the account. The `account` value can be the `email` address or the - // `unique_id` of the service account. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The output format of the public key requested. - // X509_PEM is the default output format. - PublicKeyType ServiceAccountPublicKeyType `protobuf:"varint,2,opt,name=public_key_type,json=publicKeyType,proto3,enum=google.iam.admin.v1.ServiceAccountPublicKeyType" json:"public_key_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetServiceAccountKeyRequest) Reset() { *m = GetServiceAccountKeyRequest{} } -func (m *GetServiceAccountKeyRequest) String() string { return proto.CompactTextString(m) } -func (*GetServiceAccountKeyRequest) ProtoMessage() {} -func (*GetServiceAccountKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8ffbc3f16f9a3a9d, []int{8} -} - -func (m *GetServiceAccountKeyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetServiceAccountKeyRequest.Unmarshal(m, b) -} -func (m *GetServiceAccountKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetServiceAccountKeyRequest.Marshal(b, m, deterministic) -} -func (m *GetServiceAccountKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetServiceAccountKeyRequest.Merge(m, src) -} -func (m *GetServiceAccountKeyRequest) XXX_Size() int { - return xxx_messageInfo_GetServiceAccountKeyRequest.Size(m) -} -func (m *GetServiceAccountKeyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetServiceAccountKeyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetServiceAccountKeyRequest proto.InternalMessageInfo - -func (m *GetServiceAccountKeyRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *GetServiceAccountKeyRequest) GetPublicKeyType() ServiceAccountPublicKeyType { - if m != nil { - return m.PublicKeyType - } - return ServiceAccountPublicKeyType_TYPE_NONE -} - -// Represents a service account key. -// -// A service account has two sets of key-pairs: user-managed, and -// system-managed. -// -// User-managed key-pairs can be created and deleted by users. Users are -// responsible for rotating these keys periodically to ensure security of -// their service accounts. Users retain the private key of these key-pairs, -// and Google retains ONLY the public key. -// -// System-managed key-pairs are managed automatically by Google, and rotated -// daily without user intervention. The private key never leaves Google's -// servers to maximize security. -// -// Public keys for all service accounts are also published at the OAuth2 -// Service Account API. -type ServiceAccountKey struct { - // The resource name of the service account key in the following format - // `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}/keys/{key}`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The output format for the private key. - // Only provided in `CreateServiceAccountKey` responses, not - // in `GetServiceAccountKey` or `ListServiceAccountKey` responses. - // - // Google never exposes system-managed private keys, and never retains - // user-managed private keys. - PrivateKeyType ServiceAccountPrivateKeyType `protobuf:"varint,2,opt,name=private_key_type,json=privateKeyType,proto3,enum=google.iam.admin.v1.ServiceAccountPrivateKeyType" json:"private_key_type,omitempty"` - // Specifies the algorithm (and possibly key size) for the key. - KeyAlgorithm ServiceAccountKeyAlgorithm `protobuf:"varint,8,opt,name=key_algorithm,json=keyAlgorithm,proto3,enum=google.iam.admin.v1.ServiceAccountKeyAlgorithm" json:"key_algorithm,omitempty"` - // The private key data. Only provided in `CreateServiceAccountKey` - // responses. Make sure to keep the private key data secure because it - // allows for the assertion of the service account identity. - // When decoded, the private key data can be used to authenticate with - // Google API client libraries and with - // gcloud - // auth activate-service-account. - PrivateKeyData []byte `protobuf:"bytes,3,opt,name=private_key_data,json=privateKeyData,proto3" json:"private_key_data,omitempty"` - // The public key data. Only provided in `GetServiceAccountKey` responses. - PublicKeyData []byte `protobuf:"bytes,7,opt,name=public_key_data,json=publicKeyData,proto3" json:"public_key_data,omitempty"` - // The key can be used after this timestamp. - ValidAfterTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=valid_after_time,json=validAfterTime,proto3" json:"valid_after_time,omitempty"` - // The key can be used before this timestamp. - ValidBeforeTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=valid_before_time,json=validBeforeTime,proto3" json:"valid_before_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8ffbc3f16f9a3a9d, []int{9} -} - -func (m *ServiceAccountKey) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServiceAccountKey.Unmarshal(m, b) -} -func (m *ServiceAccountKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServiceAccountKey.Marshal(b, m, deterministic) -} -func (m *ServiceAccountKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceAccountKey.Merge(m, src) -} -func (m *ServiceAccountKey) XXX_Size() int { - return xxx_messageInfo_ServiceAccountKey.Size(m) -} -func (m *ServiceAccountKey) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceAccountKey.DiscardUnknown(m) -} - -var xxx_messageInfo_ServiceAccountKey proto.InternalMessageInfo - -func (m *ServiceAccountKey) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ServiceAccountKey) GetPrivateKeyType() ServiceAccountPrivateKeyType { - if m != nil { - return m.PrivateKeyType - } - return ServiceAccountPrivateKeyType_TYPE_UNSPECIFIED -} - -func (m *ServiceAccountKey) GetKeyAlgorithm() ServiceAccountKeyAlgorithm { - if m != nil { - return m.KeyAlgorithm - } - return ServiceAccountKeyAlgorithm_KEY_ALG_UNSPECIFIED -} - -func (m *ServiceAccountKey) GetPrivateKeyData() []byte { - if m != nil { - return m.PrivateKeyData - } - return nil -} - -func (m *ServiceAccountKey) GetPublicKeyData() []byte { - if m != nil { - return m.PublicKeyData - } - return nil -} - -func (m *ServiceAccountKey) GetValidAfterTime() *timestamp.Timestamp { - if m != nil { - return m.ValidAfterTime - } - return nil -} - -func (m *ServiceAccountKey) GetValidBeforeTime() *timestamp.Timestamp { - if m != nil { - return m.ValidBeforeTime - } - return nil -} - -// The service account key create request. -type CreateServiceAccountKeyRequest struct { - // The resource name of the service account in the following format: - // `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`. - // Using `-` as a wildcard for the project will infer the project from - // the account. The `account` value can be the `email` address or the - // `unique_id` of the service account. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The output format of the private key. `GOOGLE_CREDENTIALS_FILE` is the - // default output format. - PrivateKeyType ServiceAccountPrivateKeyType `protobuf:"varint,2,opt,name=private_key_type,json=privateKeyType,proto3,enum=google.iam.admin.v1.ServiceAccountPrivateKeyType" json:"private_key_type,omitempty"` - // Which type of key and algorithm to use for the key. - // The default is currently a 2K RSA key. However this may change in the - // future. - KeyAlgorithm ServiceAccountKeyAlgorithm `protobuf:"varint,3,opt,name=key_algorithm,json=keyAlgorithm,proto3,enum=google.iam.admin.v1.ServiceAccountKeyAlgorithm" json:"key_algorithm,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateServiceAccountKeyRequest) Reset() { *m = CreateServiceAccountKeyRequest{} } -func (m *CreateServiceAccountKeyRequest) String() string { return proto.CompactTextString(m) } -func (*CreateServiceAccountKeyRequest) ProtoMessage() {} -func (*CreateServiceAccountKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8ffbc3f16f9a3a9d, []int{10} -} - -func (m *CreateServiceAccountKeyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateServiceAccountKeyRequest.Unmarshal(m, b) -} -func (m *CreateServiceAccountKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateServiceAccountKeyRequest.Marshal(b, m, deterministic) -} -func (m *CreateServiceAccountKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateServiceAccountKeyRequest.Merge(m, src) -} -func (m *CreateServiceAccountKeyRequest) XXX_Size() int { - return xxx_messageInfo_CreateServiceAccountKeyRequest.Size(m) -} -func (m *CreateServiceAccountKeyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateServiceAccountKeyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateServiceAccountKeyRequest proto.InternalMessageInfo - -func (m *CreateServiceAccountKeyRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *CreateServiceAccountKeyRequest) GetPrivateKeyType() ServiceAccountPrivateKeyType { - if m != nil { - return m.PrivateKeyType - } - return ServiceAccountPrivateKeyType_TYPE_UNSPECIFIED -} - -func (m *CreateServiceAccountKeyRequest) GetKeyAlgorithm() ServiceAccountKeyAlgorithm { - if m != nil { - return m.KeyAlgorithm - } - return ServiceAccountKeyAlgorithm_KEY_ALG_UNSPECIFIED -} - -// The service account key delete request. -type DeleteServiceAccountKeyRequest struct { - // The resource name of the service account key in the following format: - // `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}/keys/{key}`. - // Using `-` as a wildcard for the project will infer the project from - // the account. The `account` value can be the `email` address or the - // `unique_id` of the service account. - 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 *DeleteServiceAccountKeyRequest) Reset() { *m = DeleteServiceAccountKeyRequest{} } -func (m *DeleteServiceAccountKeyRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteServiceAccountKeyRequest) ProtoMessage() {} -func (*DeleteServiceAccountKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8ffbc3f16f9a3a9d, []int{11} -} - -func (m *DeleteServiceAccountKeyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteServiceAccountKeyRequest.Unmarshal(m, b) -} -func (m *DeleteServiceAccountKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteServiceAccountKeyRequest.Marshal(b, m, deterministic) -} -func (m *DeleteServiceAccountKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteServiceAccountKeyRequest.Merge(m, src) -} -func (m *DeleteServiceAccountKeyRequest) XXX_Size() int { - return xxx_messageInfo_DeleteServiceAccountKeyRequest.Size(m) -} -func (m *DeleteServiceAccountKeyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteServiceAccountKeyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteServiceAccountKeyRequest proto.InternalMessageInfo - -func (m *DeleteServiceAccountKeyRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The service account sign blob request. -type SignBlobRequest struct { - // The resource name of the service account in the following format: - // `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`. - // Using `-` as a wildcard for the project will infer the project from - // the account. The `account` value can be the `email` address or the - // `unique_id` of the service account. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The bytes to sign. - BytesToSign []byte `protobuf:"bytes,2,opt,name=bytes_to_sign,json=bytesToSign,proto3" json:"bytes_to_sign,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_8ffbc3f16f9a3a9d, []int{12} -} - -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 (m *SignBlobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignBlobRequest.Merge(m, 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) GetBytesToSign() []byte { - if m != nil { - return m.BytesToSign - } - return nil -} - -// The service account sign blob response. -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. - Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,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_8ffbc3f16f9a3a9d, []int{13} -} - -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 (m *SignBlobResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignBlobResponse.Merge(m, 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) GetSignature() []byte { - if m != nil { - return m.Signature - } - return nil -} - -// The service account sign JWT request. -type SignJwtRequest struct { - // The resource name of the service account in the following format: - // `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`. - // Using `-` as a wildcard for the project will infer the project from - // the account. The `account` value can be the `email` address or the - // `unique_id` of the service account. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The JWT payload to sign, a JSON JWT Claim set. - Payload string `protobuf:"bytes,2,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_8ffbc3f16f9a3a9d, []int{14} -} - -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 (m *SignJwtRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignJwtRequest.Merge(m, 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) GetPayload() string { - if m != nil { - return m.Payload - } - return "" -} - -// The service account sign JWT response. -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_8ffbc3f16f9a3a9d, []int{15} -} - -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 (m *SignJwtResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignJwtResponse.Merge(m, 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 "" -} - -// A role in the Identity and Access Management API. -type Role struct { - // The name of the role. - // - // When Role is used in CreateRole, the role name must not be set. - // - // When Role is used in output and other input such as UpdateRole, the role - // name is the complete path, e.g., roles/logging.viewer for curated roles - // and organizations/{ORGANIZATION_ID}/roles/logging.viewer for custom roles. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Optional. A human-readable title for the role. Typically this - // is limited to 100 UTF-8 bytes. - Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` - // Optional. A human-readable description for the role. - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - // The names of the permissions this role grants when bound in an IAM policy. - IncludedPermissions []string `protobuf:"bytes,7,rep,name=included_permissions,json=includedPermissions,proto3" json:"included_permissions,omitempty"` - // The current launch stage of the role. - Stage Role_RoleLaunchStage `protobuf:"varint,8,opt,name=stage,proto3,enum=google.iam.admin.v1.Role_RoleLaunchStage" json:"stage,omitempty"` - // Used to perform a consistent read-modify-write. - Etag []byte `protobuf:"bytes,9,opt,name=etag,proto3" json:"etag,omitempty"` - // The current deleted state of the role. This field is read only. - // It will be ignored in calls to CreateRole and UpdateRole. - Deleted bool `protobuf:"varint,11,opt,name=deleted,proto3" json:"deleted,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8ffbc3f16f9a3a9d, []int{16} -} - -func (m *Role) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Role.Unmarshal(m, b) -} -func (m *Role) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Role.Marshal(b, m, deterministic) -} -func (m *Role) XXX_Merge(src proto.Message) { - xxx_messageInfo_Role.Merge(m, src) -} -func (m *Role) XXX_Size() int { - return xxx_messageInfo_Role.Size(m) -} -func (m *Role) XXX_DiscardUnknown() { - xxx_messageInfo_Role.DiscardUnknown(m) -} - -var xxx_messageInfo_Role proto.InternalMessageInfo - -func (m *Role) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Role) GetTitle() string { - if m != nil { - return m.Title - } - return "" -} - -func (m *Role) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *Role) GetIncludedPermissions() []string { - if m != nil { - return m.IncludedPermissions - } - return nil -} - -func (m *Role) GetStage() Role_RoleLaunchStage { - if m != nil { - return m.Stage - } - return Role_ALPHA -} - -func (m *Role) GetEtag() []byte { - if m != nil { - return m.Etag - } - return nil -} - -func (m *Role) GetDeleted() bool { - if m != nil { - return m.Deleted - } - return false -} - -// The grantable role query request. -type QueryGrantableRolesRequest struct { - // Required. The full resource name to query from the list of grantable roles. - // - // The name follows the Google Cloud Platform resource format. - // For example, a Cloud Platform project with id `my-project` will be named - // `//cloudresourcemanager.googleapis.com/projects/my-project`. - FullResourceName string `protobuf:"bytes,1,opt,name=full_resource_name,json=fullResourceName,proto3" json:"full_resource_name,omitempty"` - View RoleView `protobuf:"varint,2,opt,name=view,proto3,enum=google.iam.admin.v1.RoleView" json:"view,omitempty"` - // Optional limit on the number of roles to include in the response. - PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional pagination token returned in an earlier - // QueryGrantableRolesResponse. - 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 *QueryGrantableRolesRequest) Reset() { *m = QueryGrantableRolesRequest{} } -func (m *QueryGrantableRolesRequest) String() string { return proto.CompactTextString(m) } -func (*QueryGrantableRolesRequest) ProtoMessage() {} -func (*QueryGrantableRolesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8ffbc3f16f9a3a9d, []int{17} -} - -func (m *QueryGrantableRolesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryGrantableRolesRequest.Unmarshal(m, b) -} -func (m *QueryGrantableRolesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryGrantableRolesRequest.Marshal(b, m, deterministic) -} -func (m *QueryGrantableRolesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGrantableRolesRequest.Merge(m, src) -} -func (m *QueryGrantableRolesRequest) XXX_Size() int { - return xxx_messageInfo_QueryGrantableRolesRequest.Size(m) -} -func (m *QueryGrantableRolesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGrantableRolesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryGrantableRolesRequest proto.InternalMessageInfo - -func (m *QueryGrantableRolesRequest) GetFullResourceName() string { - if m != nil { - return m.FullResourceName - } - return "" -} - -func (m *QueryGrantableRolesRequest) GetView() RoleView { - if m != nil { - return m.View - } - return RoleView_BASIC -} - -func (m *QueryGrantableRolesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *QueryGrantableRolesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// The grantable role query response. -type QueryGrantableRolesResponse struct { - // The list of matching roles. - Roles []*Role `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"` - // To retrieve the next page of results, set - // `QueryGrantableRolesRequest.page_token` to this value. - 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 *QueryGrantableRolesResponse) Reset() { *m = QueryGrantableRolesResponse{} } -func (m *QueryGrantableRolesResponse) String() string { return proto.CompactTextString(m) } -func (*QueryGrantableRolesResponse) ProtoMessage() {} -func (*QueryGrantableRolesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8ffbc3f16f9a3a9d, []int{18} -} - -func (m *QueryGrantableRolesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryGrantableRolesResponse.Unmarshal(m, b) -} -func (m *QueryGrantableRolesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryGrantableRolesResponse.Marshal(b, m, deterministic) -} -func (m *QueryGrantableRolesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGrantableRolesResponse.Merge(m, src) -} -func (m *QueryGrantableRolesResponse) XXX_Size() int { - return xxx_messageInfo_QueryGrantableRolesResponse.Size(m) -} -func (m *QueryGrantableRolesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGrantableRolesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryGrantableRolesResponse proto.InternalMessageInfo - -func (m *QueryGrantableRolesResponse) GetRoles() []*Role { - if m != nil { - return m.Roles - } - return nil -} - -func (m *QueryGrantableRolesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The request to get all roles defined under a resource. -type ListRolesRequest struct { - // The resource name of the parent resource in one of the following formats: - // `` (empty string) -- this refers to curated roles. - // `organizations/{ORGANIZATION_ID}` - // `projects/{PROJECT_ID}` - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional limit on the number of roles to include in the response. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional pagination token returned in an earlier ListRolesResponse. - PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // Optional view for the returned Role objects. - View RoleView `protobuf:"varint,4,opt,name=view,proto3,enum=google.iam.admin.v1.RoleView" json:"view,omitempty"` - // Include Roles that have been deleted. - ShowDeleted bool `protobuf:"varint,6,opt,name=show_deleted,json=showDeleted,proto3" json:"show_deleted,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8ffbc3f16f9a3a9d, []int{19} -} - -func (m *ListRolesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListRolesRequest.Unmarshal(m, b) -} -func (m *ListRolesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListRolesRequest.Marshal(b, m, deterministic) -} -func (m *ListRolesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListRolesRequest.Merge(m, src) -} -func (m *ListRolesRequest) XXX_Size() int { - return xxx_messageInfo_ListRolesRequest.Size(m) -} -func (m *ListRolesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListRolesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListRolesRequest proto.InternalMessageInfo - -func (m *ListRolesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListRolesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListRolesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListRolesRequest) GetView() RoleView { - if m != nil { - return m.View - } - return RoleView_BASIC -} - -func (m *ListRolesRequest) GetShowDeleted() bool { - if m != nil { - return m.ShowDeleted - } - return false -} - -// The response containing the roles defined under a resource. -type ListRolesResponse struct { - // The Roles defined on this resource. - Roles []*Role `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"` - // To retrieve the next page of results, set - // `ListRolesRequest.page_token` to this value. - 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 *ListRolesResponse) Reset() { *m = ListRolesResponse{} } -func (m *ListRolesResponse) String() string { return proto.CompactTextString(m) } -func (*ListRolesResponse) ProtoMessage() {} -func (*ListRolesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8ffbc3f16f9a3a9d, []int{20} -} - -func (m *ListRolesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListRolesResponse.Unmarshal(m, b) -} -func (m *ListRolesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListRolesResponse.Marshal(b, m, deterministic) -} -func (m *ListRolesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListRolesResponse.Merge(m, src) -} -func (m *ListRolesResponse) XXX_Size() int { - return xxx_messageInfo_ListRolesResponse.Size(m) -} -func (m *ListRolesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListRolesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListRolesResponse proto.InternalMessageInfo - -func (m *ListRolesResponse) GetRoles() []*Role { - if m != nil { - return m.Roles - } - return nil -} - -func (m *ListRolesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The request to get the definition of an existing role. -type GetRoleRequest struct { - // The resource name of the role in one of the following formats: - // `roles/{ROLE_NAME}` - // `organizations/{ORGANIZATION_ID}/roles/{ROLE_NAME}` - // `projects/{PROJECT_ID}/roles/{ROLE_NAME}` - 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 *GetRoleRequest) Reset() { *m = GetRoleRequest{} } -func (m *GetRoleRequest) String() string { return proto.CompactTextString(m) } -func (*GetRoleRequest) ProtoMessage() {} -func (*GetRoleRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8ffbc3f16f9a3a9d, []int{21} -} - -func (m *GetRoleRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetRoleRequest.Unmarshal(m, b) -} -func (m *GetRoleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetRoleRequest.Marshal(b, m, deterministic) -} -func (m *GetRoleRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRoleRequest.Merge(m, src) -} -func (m *GetRoleRequest) XXX_Size() int { - return xxx_messageInfo_GetRoleRequest.Size(m) -} -func (m *GetRoleRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetRoleRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetRoleRequest proto.InternalMessageInfo - -func (m *GetRoleRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The request to create a new role. -type CreateRoleRequest struct { - // The resource name of the parent resource in one of the following formats: - // `organizations/{ORGANIZATION_ID}` - // `projects/{PROJECT_ID}` - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The role id to use for this role. - RoleId string `protobuf:"bytes,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` - // The Role resource to create. - Role *Role `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8ffbc3f16f9a3a9d, []int{22} -} - -func (m *CreateRoleRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateRoleRequest.Unmarshal(m, b) -} -func (m *CreateRoleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateRoleRequest.Marshal(b, m, deterministic) -} -func (m *CreateRoleRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateRoleRequest.Merge(m, src) -} -func (m *CreateRoleRequest) XXX_Size() int { - return xxx_messageInfo_CreateRoleRequest.Size(m) -} -func (m *CreateRoleRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateRoleRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateRoleRequest proto.InternalMessageInfo - -func (m *CreateRoleRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateRoleRequest) GetRoleId() string { - if m != nil { - return m.RoleId - } - return "" -} - -func (m *CreateRoleRequest) GetRole() *Role { - if m != nil { - return m.Role - } - return nil -} - -// The request to update a role. -type UpdateRoleRequest struct { - // The resource name of the role in one of the following formats: - // `roles/{ROLE_NAME}` - // `organizations/{ORGANIZATION_ID}/roles/{ROLE_NAME}` - // `projects/{PROJECT_ID}/roles/{ROLE_NAME}` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The updated role. - Role *Role `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"` - // A mask describing which fields in the Role have changed. - 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 *UpdateRoleRequest) Reset() { *m = UpdateRoleRequest{} } -func (m *UpdateRoleRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateRoleRequest) ProtoMessage() {} -func (*UpdateRoleRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8ffbc3f16f9a3a9d, []int{23} -} - -func (m *UpdateRoleRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateRoleRequest.Unmarshal(m, b) -} -func (m *UpdateRoleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateRoleRequest.Marshal(b, m, deterministic) -} -func (m *UpdateRoleRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateRoleRequest.Merge(m, src) -} -func (m *UpdateRoleRequest) XXX_Size() int { - return xxx_messageInfo_UpdateRoleRequest.Size(m) -} -func (m *UpdateRoleRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateRoleRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateRoleRequest proto.InternalMessageInfo - -func (m *UpdateRoleRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *UpdateRoleRequest) GetRole() *Role { - if m != nil { - return m.Role - } - return nil -} - -func (m *UpdateRoleRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// The request to delete an existing role. -type DeleteRoleRequest struct { - // The resource name of the role in one of the following formats: - // `organizations/{ORGANIZATION_ID}/roles/{ROLE_NAME}` - // `projects/{PROJECT_ID}/roles/{ROLE_NAME}` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Used to perform a consistent read-modify-write. - Etag []byte `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8ffbc3f16f9a3a9d, []int{24} -} - -func (m *DeleteRoleRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteRoleRequest.Unmarshal(m, b) -} -func (m *DeleteRoleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteRoleRequest.Marshal(b, m, deterministic) -} -func (m *DeleteRoleRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteRoleRequest.Merge(m, src) -} -func (m *DeleteRoleRequest) XXX_Size() int { - return xxx_messageInfo_DeleteRoleRequest.Size(m) -} -func (m *DeleteRoleRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteRoleRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteRoleRequest proto.InternalMessageInfo - -func (m *DeleteRoleRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *DeleteRoleRequest) GetEtag() []byte { - if m != nil { - return m.Etag - } - return nil -} - -// The request to undelete an existing role. -type UndeleteRoleRequest struct { - // The resource name of the role in one of the following formats: - // `organizations/{ORGANIZATION_ID}/roles/{ROLE_NAME}` - // `projects/{PROJECT_ID}/roles/{ROLE_NAME}` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Used to perform a consistent read-modify-write. - Etag []byte `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8ffbc3f16f9a3a9d, []int{25} -} - -func (m *UndeleteRoleRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UndeleteRoleRequest.Unmarshal(m, b) -} -func (m *UndeleteRoleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UndeleteRoleRequest.Marshal(b, m, deterministic) -} -func (m *UndeleteRoleRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UndeleteRoleRequest.Merge(m, src) -} -func (m *UndeleteRoleRequest) XXX_Size() int { - return xxx_messageInfo_UndeleteRoleRequest.Size(m) -} -func (m *UndeleteRoleRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UndeleteRoleRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UndeleteRoleRequest proto.InternalMessageInfo - -func (m *UndeleteRoleRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *UndeleteRoleRequest) GetEtag() []byte { - if m != nil { - return m.Etag - } - return nil -} - -// A permission which can be included by a role. -type Permission struct { - // The name of this Permission. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The title of this Permission. - Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` - // A brief description of what this Permission is used for. - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - // This permission can ONLY be used in predefined roles. - OnlyInPredefinedRoles bool `protobuf:"varint,4,opt,name=only_in_predefined_roles,json=onlyInPredefinedRoles,proto3" json:"only_in_predefined_roles,omitempty"` - // The current launch stage of the permission. - Stage Permission_PermissionLaunchStage `protobuf:"varint,5,opt,name=stage,proto3,enum=google.iam.admin.v1.Permission_PermissionLaunchStage" json:"stage,omitempty"` - // The current custom role support level. - CustomRolesSupportLevel Permission_CustomRolesSupportLevel `protobuf:"varint,6,opt,name=custom_roles_support_level,json=customRolesSupportLevel,proto3,enum=google.iam.admin.v1.Permission_CustomRolesSupportLevel" json:"custom_roles_support_level,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8ffbc3f16f9a3a9d, []int{26} -} - -func (m *Permission) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Permission.Unmarshal(m, b) -} -func (m *Permission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Permission.Marshal(b, m, deterministic) -} -func (m *Permission) XXX_Merge(src proto.Message) { - xxx_messageInfo_Permission.Merge(m, src) -} -func (m *Permission) XXX_Size() int { - return xxx_messageInfo_Permission.Size(m) -} -func (m *Permission) XXX_DiscardUnknown() { - xxx_messageInfo_Permission.DiscardUnknown(m) -} - -var xxx_messageInfo_Permission proto.InternalMessageInfo - -func (m *Permission) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Permission) GetTitle() string { - if m != nil { - return m.Title - } - return "" -} - -func (m *Permission) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *Permission) GetOnlyInPredefinedRoles() bool { - if m != nil { - return m.OnlyInPredefinedRoles - } - return false -} - -func (m *Permission) GetStage() Permission_PermissionLaunchStage { - if m != nil { - return m.Stage - } - return Permission_ALPHA -} - -func (m *Permission) GetCustomRolesSupportLevel() Permission_CustomRolesSupportLevel { - if m != nil { - return m.CustomRolesSupportLevel - } - return Permission_SUPPORTED -} - -// A request to get permissions which can be tested on a resource. -type QueryTestablePermissionsRequest struct { - // Required. The full resource name to query from the list of testable - // permissions. - // - // The name follows the Google Cloud Platform resource format. - // For example, a Cloud Platform project with id `my-project` will be named - // `//cloudresourcemanager.googleapis.com/projects/my-project`. - FullResourceName string `protobuf:"bytes,1,opt,name=full_resource_name,json=fullResourceName,proto3" json:"full_resource_name,omitempty"` - // Optional limit on the number of permissions to include in the response. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional pagination token returned in an earlier - // QueryTestablePermissionsRequest. - 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 *QueryTestablePermissionsRequest) Reset() { *m = QueryTestablePermissionsRequest{} } -func (m *QueryTestablePermissionsRequest) String() string { return proto.CompactTextString(m) } -func (*QueryTestablePermissionsRequest) ProtoMessage() {} -func (*QueryTestablePermissionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8ffbc3f16f9a3a9d, []int{27} -} - -func (m *QueryTestablePermissionsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryTestablePermissionsRequest.Unmarshal(m, b) -} -func (m *QueryTestablePermissionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryTestablePermissionsRequest.Marshal(b, m, deterministic) -} -func (m *QueryTestablePermissionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryTestablePermissionsRequest.Merge(m, src) -} -func (m *QueryTestablePermissionsRequest) XXX_Size() int { - return xxx_messageInfo_QueryTestablePermissionsRequest.Size(m) -} -func (m *QueryTestablePermissionsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryTestablePermissionsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryTestablePermissionsRequest proto.InternalMessageInfo - -func (m *QueryTestablePermissionsRequest) GetFullResourceName() string { - if m != nil { - return m.FullResourceName - } - return "" -} - -func (m *QueryTestablePermissionsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *QueryTestablePermissionsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// The response containing permissions which can be tested on a resource. -type QueryTestablePermissionsResponse struct { - // The Permissions testable on the requested resource. - Permissions []*Permission `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"` - // To retrieve the next page of results, set - // `QueryTestableRolesRequest.page_token` to this value. - 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 *QueryTestablePermissionsResponse) Reset() { *m = QueryTestablePermissionsResponse{} } -func (m *QueryTestablePermissionsResponse) String() string { return proto.CompactTextString(m) } -func (*QueryTestablePermissionsResponse) ProtoMessage() {} -func (*QueryTestablePermissionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8ffbc3f16f9a3a9d, []int{28} -} - -func (m *QueryTestablePermissionsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryTestablePermissionsResponse.Unmarshal(m, b) -} -func (m *QueryTestablePermissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryTestablePermissionsResponse.Marshal(b, m, deterministic) -} -func (m *QueryTestablePermissionsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryTestablePermissionsResponse.Merge(m, src) -} -func (m *QueryTestablePermissionsResponse) XXX_Size() int { - return xxx_messageInfo_QueryTestablePermissionsResponse.Size(m) -} -func (m *QueryTestablePermissionsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryTestablePermissionsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryTestablePermissionsResponse proto.InternalMessageInfo - -func (m *QueryTestablePermissionsResponse) GetPermissions() []*Permission { - if m != nil { - return m.Permissions - } - return nil -} - -func (m *QueryTestablePermissionsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -func init() { - proto.RegisterEnum("google.iam.admin.v1.ServiceAccountKeyAlgorithm", ServiceAccountKeyAlgorithm_name, ServiceAccountKeyAlgorithm_value) - proto.RegisterEnum("google.iam.admin.v1.ServiceAccountPrivateKeyType", ServiceAccountPrivateKeyType_name, ServiceAccountPrivateKeyType_value) - proto.RegisterEnum("google.iam.admin.v1.ServiceAccountPublicKeyType", ServiceAccountPublicKeyType_name, ServiceAccountPublicKeyType_value) - proto.RegisterEnum("google.iam.admin.v1.RoleView", RoleView_name, RoleView_value) - proto.RegisterEnum("google.iam.admin.v1.ListServiceAccountKeysRequest_KeyType", ListServiceAccountKeysRequest_KeyType_name, ListServiceAccountKeysRequest_KeyType_value) - proto.RegisterEnum("google.iam.admin.v1.Role_RoleLaunchStage", Role_RoleLaunchStage_name, Role_RoleLaunchStage_value) - proto.RegisterEnum("google.iam.admin.v1.Permission_PermissionLaunchStage", Permission_PermissionLaunchStage_name, Permission_PermissionLaunchStage_value) - proto.RegisterEnum("google.iam.admin.v1.Permission_CustomRolesSupportLevel", Permission_CustomRolesSupportLevel_name, Permission_CustomRolesSupportLevel_value) - proto.RegisterType((*ServiceAccount)(nil), "google.iam.admin.v1.ServiceAccount") - proto.RegisterType((*CreateServiceAccountRequest)(nil), "google.iam.admin.v1.CreateServiceAccountRequest") - proto.RegisterType((*ListServiceAccountsRequest)(nil), "google.iam.admin.v1.ListServiceAccountsRequest") - proto.RegisterType((*ListServiceAccountsResponse)(nil), "google.iam.admin.v1.ListServiceAccountsResponse") - proto.RegisterType((*GetServiceAccountRequest)(nil), "google.iam.admin.v1.GetServiceAccountRequest") - proto.RegisterType((*DeleteServiceAccountRequest)(nil), "google.iam.admin.v1.DeleteServiceAccountRequest") - proto.RegisterType((*ListServiceAccountKeysRequest)(nil), "google.iam.admin.v1.ListServiceAccountKeysRequest") - proto.RegisterType((*ListServiceAccountKeysResponse)(nil), "google.iam.admin.v1.ListServiceAccountKeysResponse") - proto.RegisterType((*GetServiceAccountKeyRequest)(nil), "google.iam.admin.v1.GetServiceAccountKeyRequest") - proto.RegisterType((*ServiceAccountKey)(nil), "google.iam.admin.v1.ServiceAccountKey") - proto.RegisterType((*CreateServiceAccountKeyRequest)(nil), "google.iam.admin.v1.CreateServiceAccountKeyRequest") - proto.RegisterType((*DeleteServiceAccountKeyRequest)(nil), "google.iam.admin.v1.DeleteServiceAccountKeyRequest") - proto.RegisterType((*SignBlobRequest)(nil), "google.iam.admin.v1.SignBlobRequest") - proto.RegisterType((*SignBlobResponse)(nil), "google.iam.admin.v1.SignBlobResponse") - proto.RegisterType((*SignJwtRequest)(nil), "google.iam.admin.v1.SignJwtRequest") - proto.RegisterType((*SignJwtResponse)(nil), "google.iam.admin.v1.SignJwtResponse") - proto.RegisterType((*Role)(nil), "google.iam.admin.v1.Role") - proto.RegisterType((*QueryGrantableRolesRequest)(nil), "google.iam.admin.v1.QueryGrantableRolesRequest") - proto.RegisterType((*QueryGrantableRolesResponse)(nil), "google.iam.admin.v1.QueryGrantableRolesResponse") - proto.RegisterType((*ListRolesRequest)(nil), "google.iam.admin.v1.ListRolesRequest") - proto.RegisterType((*ListRolesResponse)(nil), "google.iam.admin.v1.ListRolesResponse") - proto.RegisterType((*GetRoleRequest)(nil), "google.iam.admin.v1.GetRoleRequest") - proto.RegisterType((*CreateRoleRequest)(nil), "google.iam.admin.v1.CreateRoleRequest") - proto.RegisterType((*UpdateRoleRequest)(nil), "google.iam.admin.v1.UpdateRoleRequest") - proto.RegisterType((*DeleteRoleRequest)(nil), "google.iam.admin.v1.DeleteRoleRequest") - proto.RegisterType((*UndeleteRoleRequest)(nil), "google.iam.admin.v1.UndeleteRoleRequest") - proto.RegisterType((*Permission)(nil), "google.iam.admin.v1.Permission") - proto.RegisterType((*QueryTestablePermissionsRequest)(nil), "google.iam.admin.v1.QueryTestablePermissionsRequest") - proto.RegisterType((*QueryTestablePermissionsResponse)(nil), "google.iam.admin.v1.QueryTestablePermissionsResponse") -} - -func init() { proto.RegisterFile("google/iam/admin/v1/iam.proto", fileDescriptor_8ffbc3f16f9a3a9d) } - -var fileDescriptor_8ffbc3f16f9a3a9d = []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, - 0x1d, 0x99, 0xb5, 0x45, 0x89, 0x96, 0x6b, 0x57, 0x1e, 0x27, 0xa5, 0x44, 0x9a, 0xa1, 0x45, 0xcb, - 0x2c, 0x48, 0x35, 0x71, 0xff, 0x0c, 0x06, 0x22, 0x56, 0x34, 0x22, 0x10, 0x80, 0x01, 0x50, 0x2a, - 0x9d, 0x49, 0x67, 0xda, 0x43, 0x2f, 0x99, 0x76, 0xda, 0x49, 0x0e, 0x39, 0xa5, 0x33, 0xbd, 0xb4, - 0xb7, 0x5e, 0x3a, 0xd3, 0x69, 0x27, 0xdf, 0xa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 0x59, 0x1b, 0xca, 0x8e, 0x88, - 0xda, 0x07, 0x30, 0x67, 0x74, 0x0f, 0x55, 0xa5, 0x25, 0x7a, 0xc1, 0x63, 0xcb, 0x9e, 0x2e, 0x6c, - 0xc4, 0x70, 0x5d, 0x67, 0x9a, 0x5e, 0xc4, 0x66, 0x0d, 0xff, 0x10, 0xff, 0x7d, 0x0c, 0xe6, 0x47, - 0xa0, 0x04, 0x62, 0xf8, 0x31, 0xf0, 0x86, 0xa9, 0x9c, 0x48, 0x36, 0x19, 0x06, 0xb1, 0x19, 0x07, - 0x84, 0xa3, 0xea, 0xa1, 0x48, 0x1b, 0x03, 0x63, 0xd4, 0x84, 0x59, 0x6a, 0x54, 0x52, 0xdb, 0xba, - 0xa9, 0xd8, 0x2f, 0x3b, 0x99, 0x29, 0x66, 0x39, 0x1f, 0x2f, 0xb2, 0x45, 0x4f, 0x4d, 0x98, 0x39, - 0xf6, 0x8d, 0x68, 0x1e, 0xf3, 0x43, 0x96, 0x25, 0x5b, 0x62, 0x67, 0x76, 0xc6, 0xef, 0xbf, 0x24, - 0xd9, 0x12, 0x3d, 0x57, 0xbe, 0x00, 0x33, 0x41, 0x27, 0x21, 0xf6, 0xc3, 0xc5, 0xe4, 0x4a, 0xc0, - 0x9f, 0x48, 0xaa, 0x22, 0x8b, 0xd2, 0x91, 0x4d, 0x4c, 0x91, 0x26, 0x7a, 0x96, 0x8a, 0xa7, 0x0b, - 0x59, 0x0f, 0xaa, 0x77, 0x0b, 0xac, 0x37, 0xbd, 0x5b, 0x40, 0x48, 0x33, 0x9d, 0x22, 0x55, 0xa1, - 0x44, 0xf4, 0x04, 0xe6, 0x1d, 0x2b, 0x87, 0xe4, 0x48, 0x37, 0x89, 0x63, 0x66, 0xfc, 0x5c, 0x33, - 0x73, 0x4c, 0x69, 0x87, 0xe9, 0x50, 0x2a, 0xfe, 0x37, 0x07, 0xd7, 0x82, 0xb2, 0xef, 0x39, 0xbb, - 0xe9, 0xff, 0xbb, 0x92, 0x63, 0xdf, 0xc0, 0x4a, 0xe2, 0x2d, 0xb8, 0x16, 0x94, 0x9f, 0xa2, 0x27, - 0x8a, 0xab, 0x30, 0xd7, 0x50, 0xda, 0xda, 0x8e, 0xaa, 0x1f, 0x46, 0xc5, 0x03, 0xc3, 0xec, 0x61, - 0xcf, 0x26, 0x96, 0x68, 0xeb, 0xa2, 0xa5, 0xb4, 0x9d, 0x94, 0x3a, 0x23, 0x4c, 0x33, 0x62, 0x53, - 0xa7, 0x26, 0x70, 0x05, 0xf8, 0xbe, 0x29, 0x37, 0x0b, 0x5c, 0x86, 0x09, 0x3a, 0x55, 0x45, 0x76, - 0xad, 0x8d, 0x1f, 0x93, 0x5e, 0x55, 0x46, 0x57, 0x21, 0x45, 0xad, 0x48, 0x76, 0xd7, 0x24, 0xae, - 0xa9, 0x3e, 0x01, 0xbf, 0x03, 0x69, 0x6a, 0xe8, 0xe9, 0x69, 0xe4, 0x1d, 0x99, 0x81, 0x49, 0x43, - 0xea, 0xa9, 0xba, 0xe4, 0x5d, 0x90, 0xde, 0x10, 0x57, 0x9c, 0x39, 0x31, 0xfd, 0x68, 0x1c, 0x2b, - 0x00, 0xd4, 0x2d, 0x91, 0xc5, 0x0f, 0x4f, 0x6d, 0xef, 0x9e, 0x75, 0x28, 0x4f, 0x4f, 0x6d, 0xfc, - 0x8f, 0x04, 0x24, 0x05, 0x5d, 0x25, 0x81, 0xfe, 0x17, 0x61, 0xdc, 0x56, 0x6c, 0x95, 0xb8, 0x6a, - 0xce, 0x00, 0xad, 0xc2, 0xb4, 0x4c, 0xac, 0x96, 0xa9, 0x18, 0xb4, 0xf2, 0x72, 0xaf, 0x3f, 0x3f, - 0x09, 0x6d, 0xc2, 0xa2, 0xa2, 0xb5, 0xd4, 0xae, 0x4c, 0x64, 0xd1, 0x20, 0x66, 0x47, 0xb1, 0x2c, - 0x5a, 0xa3, 0x65, 0x26, 0x57, 0xc7, 0xd6, 0x52, 0xc2, 0x82, 0xc7, 0xab, 0xf7, 0x59, 0xe8, 0x5d, - 0x18, 0xb7, 0x6c, 0xa9, 0x4d, 0xdc, 0x23, 0x7f, 0x3b, 0x70, 0xa3, 0x50, 0xa0, 0xec, 0x4f, 0x4d, - 0xea, 0x6a, 0xad, 0x97, 0x0d, 0xaa, 0x20, 0x38, 0x7a, 0x67, 0x15, 0x4c, 0xca, 0x57, 0xc1, 0x64, - 0x60, 0x52, 0x66, 0xfb, 0x45, 0xce, 0x4c, 0xaf, 0x72, 0x6b, 0x53, 0x82, 0x37, 0xc4, 0x07, 0x30, - 0x37, 0x64, 0x07, 0xa5, 0x60, 0xbc, 0x58, 0xab, 0xbf, 0x57, 0xe4, 0x2f, 0xa1, 0x29, 0x48, 0xee, - 0x94, 0x9b, 0x45, 0x9e, 0x43, 0x13, 0x90, 0xa8, 0x14, 0xf9, 0x04, 0x4a, 0x03, 0x94, 0xca, 0x75, - 0xa1, 0xbc, 0x5b, 0x6c, 0x96, 0x4b, 0x7c, 0x12, 0xcd, 0xc0, 0x54, 0xa9, 0xda, 0x28, 0xee, 0xd4, - 0xca, 0x25, 0x7e, 0x1c, 0x4d, 0xc2, 0x58, 0xb9, 0x58, 0xe7, 0x27, 0xf0, 0xdf, 0x38, 0xc8, 0xfe, - 0xa0, 0x4b, 0xcc, 0x5e, 0xc5, 0x94, 0x34, 0x5b, 0x3a, 0x54, 0x09, 0xf5, 0x72, 0x76, 0x15, 0xde, - 0x01, 0x74, 0xd4, 0x55, 0x55, 0xd1, 0x24, 0x96, 0xde, 0x35, 0x5b, 0x44, 0xf4, 0x45, 0x9c, 0xa7, - 0x1c, 0xc1, 0x65, 0xb0, 0x9a, 0x6c, 0x13, 0x92, 0x27, 0x0a, 0x39, 0x75, 0x0f, 0xe5, 0x4a, 0x68, - 0x44, 0x7e, 0xa8, 0x90, 0x53, 0x81, 0x89, 0x0e, 0x56, 0x2d, 0x63, 0x91, 0x55, 0x4b, 0x72, 0xb8, - 0x6a, 0x39, 0x81, 0xe5, 0x40, 0xe8, 0xee, 0xf6, 0xca, 0xc3, 0xb8, 0x49, 0x09, 0xee, 0x6d, 0xf7, - 0xad, 0x50, 0x38, 0x82, 0x23, 0x17, 0xbb, 0x48, 0xf9, 0x92, 0x03, 0x9e, 0x5e, 0xb4, 0x03, 0x91, - 0xba, 0x02, 0x13, 0x86, 0x64, 0x12, 0xcd, 0x76, 0xa3, 0xe3, 0x8e, 0xbe, 0x4e, 0x59, 0x76, 0x16, - 0xcf, 0x64, 0xfc, 0x78, 0xbe, 0x05, 0x33, 0xd6, 0x4b, 0xfd, 0x54, 0xf4, 0x76, 0xd1, 0x04, 0xdb, - 0x45, 0xd3, 0x94, 0x56, 0x72, 0x77, 0x92, 0x0a, 0xf3, 0x3e, 0xf4, 0xff, 0xeb, 0x60, 0xdd, 0x80, - 0x74, 0x85, 0x30, 0x67, 0x51, 0x19, 0xcf, 0x82, 0x79, 0xe7, 0x42, 0xf0, 0x0b, 0x86, 0x85, 0x74, - 0x09, 0x26, 0x29, 0x86, 0x7e, 0x15, 0x3e, 0x41, 0x87, 0x55, 0x19, 0xdd, 0x85, 0x24, 0xfd, 0x72, - 0xeb, 0xee, 0x88, 0x39, 0x30, 0x31, 0xfc, 0x29, 0x07, 0xf3, 0x07, 0x86, 0x3c, 0xe4, 0x35, 0x28, - 0xad, 0x78, 0x86, 0x13, 0xb1, 0x0c, 0xa3, 0x47, 0x30, 0xdd, 0x65, 0x76, 0xd9, 0x6b, 0xcb, 0x85, - 0x33, 0x7a, 0x43, 0x3e, 0xa1, 0x0f, 0xb2, 0x67, 0x92, 0x75, 0x2c, 0x80, 0x23, 0x4e, 0xbf, 0xf1, - 0x23, 0x98, 0x77, 0x56, 0xea, 0x3c, 0x50, 0x5e, 0xfe, 0x48, 0xf4, 0xf3, 0x07, 0x7e, 0x0c, 0x0b, - 0x07, 0x9a, 0xfc, 0xc6, 0xea, 0x5f, 0x8d, 0x01, 0xf4, 0x73, 0xdc, 0x37, 0x9a, 0x61, 0x1f, 0x40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a0, 0xdf, 0x22, 0x08, 0x81, 0x30, 0xd2, - 0x43, 0x88, 0x82, 0x90, 0x63, 0x10, 0x6e, 0xe4, 0x62, 0x40, 0x60, 0x19, 0xcd, 0xdf, 0x63, 0x18, - 0x3c, 0xac, 0xfd, 0x10, 0x8c, 0xb6, 0x21, 0xa2, 0x10, 0xb8, 0x37, 0x11, 0xfe, 0x4e, 0x8c, 0x20, - 0x74, 0x5d, 0xd3, 0x74, 0x39, 0xbe, 0xe4, 0x20, 0x13, 0xf6, 0x78, 0x44, 0x5b, 0xe1, 0xa7, 0x2b, - 0xfc, 0xe5, 0x9b, 0xbd, 0x7f, 0x41, 0x2d, 0xf7, 0x48, 0xdc, 0x63, 0x33, 0xb8, 0x8b, 0xd7, 0xd8, - 0xcf, 0xf4, 0xbe, 0x7c, 0xf1, 0x2a, 0x44, 0x73, 0x9b, 0xcb, 0xed, 0x1c, 0xc2, 0x52, 0x4b, 0xef, - 0x04, 0x39, 0xdc, 0x99, 0xa2, 0x69, 0x87, 0x5e, 0xd7, 0x75, 0xee, 0x47, 0x0f, 0x5d, 0x81, 0xb6, - 0xae, 0x4a, 0x5a, 0x7b, 0x5d, 0x37, 0xdb, 0xf9, 0x36, 0xd1, 0xd8, 0x65, 0x9e, 0x77, 0x58, 0x92, - 0xa1, 0x58, 0x03, 0xff, 0x95, 0xf0, 0x88, 0x7d, 0xfc, 0x87, 0xe3, 0x0e, 0x27, 0x98, 0xdc, 0xbd, - 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x75, 0xcc, 0x0e, 0xa5, 0xbc, 0x20, 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 - -// IAMClient is the client API for IAM service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type IAMClient interface { - // Lists [ServiceAccounts][google.iam.admin.v1.ServiceAccount] for a project. - ListServiceAccounts(ctx context.Context, in *ListServiceAccountsRequest, opts ...grpc.CallOption) (*ListServiceAccountsResponse, error) - // Gets a [ServiceAccount][google.iam.admin.v1.ServiceAccount]. - GetServiceAccount(ctx context.Context, in *GetServiceAccountRequest, opts ...grpc.CallOption) (*ServiceAccount, error) - // Creates a [ServiceAccount][google.iam.admin.v1.ServiceAccount] - // and returns it. - CreateServiceAccount(ctx context.Context, in *CreateServiceAccountRequest, opts ...grpc.CallOption) (*ServiceAccount, error) - // Updates a [ServiceAccount][google.iam.admin.v1.ServiceAccount]. - // - // Currently, only the following fields are updatable: - // `display_name` . - // The `etag` is mandatory. - UpdateServiceAccount(ctx context.Context, in *ServiceAccount, opts ...grpc.CallOption) (*ServiceAccount, error) - // Deletes a [ServiceAccount][google.iam.admin.v1.ServiceAccount]. - DeleteServiceAccount(ctx context.Context, in *DeleteServiceAccountRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Lists [ServiceAccountKeys][google.iam.admin.v1.ServiceAccountKey]. - ListServiceAccountKeys(ctx context.Context, in *ListServiceAccountKeysRequest, opts ...grpc.CallOption) (*ListServiceAccountKeysResponse, error) - // Gets the [ServiceAccountKey][google.iam.admin.v1.ServiceAccountKey] - // by key id. - GetServiceAccountKey(ctx context.Context, in *GetServiceAccountKeyRequest, opts ...grpc.CallOption) (*ServiceAccountKey, error) - // Creates a [ServiceAccountKey][google.iam.admin.v1.ServiceAccountKey] - // and returns it. - CreateServiceAccountKey(ctx context.Context, in *CreateServiceAccountKeyRequest, opts ...grpc.CallOption) (*ServiceAccountKey, error) - // Deletes a [ServiceAccountKey][google.iam.admin.v1.ServiceAccountKey]. - DeleteServiceAccountKey(ctx context.Context, in *DeleteServiceAccountKeyRequest, opts ...grpc.CallOption) (*empty.Empty, 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. - // - // If no expiry time (`exp`) is provided in the `SignJwtRequest`, IAM sets an - // an expiry time of one hour by default. If you request an expiry time of - // more than one hour, the request will fail. - SignJwt(ctx context.Context, in *SignJwtRequest, opts ...grpc.CallOption) (*SignJwtResponse, error) - // Returns the IAM access control policy for a - // [ServiceAccount][google.iam.admin.v1.ServiceAccount]. - GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) - // Sets the IAM access control policy for a - // [ServiceAccount][google.iam.admin.v1.ServiceAccount]. - SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) - // Tests the specified permissions against the IAM access control policy - // for a [ServiceAccount][google.iam.admin.v1.ServiceAccount]. - TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) - // Queries roles that can be granted on a particular resource. - // A role is grantable if it can be used as the role in a binding for a policy - // for that resource. - QueryGrantableRoles(ctx context.Context, in *QueryGrantableRolesRequest, opts ...grpc.CallOption) (*QueryGrantableRolesResponse, error) - // Lists the Roles defined on a resource. - ListRoles(ctx context.Context, in *ListRolesRequest, opts ...grpc.CallOption) (*ListRolesResponse, error) - // Gets a Role definition. - GetRole(ctx context.Context, in *GetRoleRequest, opts ...grpc.CallOption) (*Role, error) - // Creates a new Role. - CreateRole(ctx context.Context, in *CreateRoleRequest, opts ...grpc.CallOption) (*Role, error) - // Updates a Role definition. - UpdateRole(ctx context.Context, in *UpdateRoleRequest, opts ...grpc.CallOption) (*Role, error) - // Soft deletes a role. The role is suspended and cannot be used to create new - // IAM Policy Bindings. - // The Role will not be included in `ListRoles()` unless `show_deleted` is set - // in the `ListRolesRequest`. The Role contains the deleted boolean set. - // Existing Bindings remains, but are inactive. The Role can be undeleted - // within 7 days. After 7 days the Role is deleted and all Bindings associated - // with the role are removed. - DeleteRole(ctx context.Context, in *DeleteRoleRequest, opts ...grpc.CallOption) (*Role, error) - // Undelete a Role, bringing it back in its previous state. - UndeleteRole(ctx context.Context, in *UndeleteRoleRequest, opts ...grpc.CallOption) (*Role, error) - // Lists the permissions testable on a resource. - // A permission is testable if it can be tested for an identity on a resource. - QueryTestablePermissions(ctx context.Context, in *QueryTestablePermissionsRequest, opts ...grpc.CallOption) (*QueryTestablePermissionsResponse, error) -} - -type iAMClient struct { - cc *grpc.ClientConn -} - -func NewIAMClient(cc *grpc.ClientConn) IAMClient { - return &iAMClient{cc} -} - -func (c *iAMClient) ListServiceAccounts(ctx context.Context, in *ListServiceAccountsRequest, opts ...grpc.CallOption) (*ListServiceAccountsResponse, error) { - out := new(ListServiceAccountsResponse) - err := c.cc.Invoke(ctx, "/google.iam.admin.v1.IAM/ListServiceAccounts", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *iAMClient) GetServiceAccount(ctx context.Context, in *GetServiceAccountRequest, opts ...grpc.CallOption) (*ServiceAccount, error) { - out := new(ServiceAccount) - err := c.cc.Invoke(ctx, "/google.iam.admin.v1.IAM/GetServiceAccount", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *iAMClient) CreateServiceAccount(ctx context.Context, in *CreateServiceAccountRequest, opts ...grpc.CallOption) (*ServiceAccount, error) { - out := new(ServiceAccount) - err := c.cc.Invoke(ctx, "/google.iam.admin.v1.IAM/CreateServiceAccount", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *iAMClient) UpdateServiceAccount(ctx context.Context, in *ServiceAccount, opts ...grpc.CallOption) (*ServiceAccount, error) { - out := new(ServiceAccount) - err := c.cc.Invoke(ctx, "/google.iam.admin.v1.IAM/UpdateServiceAccount", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *iAMClient) DeleteServiceAccount(ctx context.Context, in *DeleteServiceAccountRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.iam.admin.v1.IAM/DeleteServiceAccount", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *iAMClient) ListServiceAccountKeys(ctx context.Context, in *ListServiceAccountKeysRequest, opts ...grpc.CallOption) (*ListServiceAccountKeysResponse, error) { - out := new(ListServiceAccountKeysResponse) - err := c.cc.Invoke(ctx, "/google.iam.admin.v1.IAM/ListServiceAccountKeys", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *iAMClient) GetServiceAccountKey(ctx context.Context, in *GetServiceAccountKeyRequest, opts ...grpc.CallOption) (*ServiceAccountKey, error) { - out := new(ServiceAccountKey) - err := c.cc.Invoke(ctx, "/google.iam.admin.v1.IAM/GetServiceAccountKey", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *iAMClient) CreateServiceAccountKey(ctx context.Context, in *CreateServiceAccountKeyRequest, opts ...grpc.CallOption) (*ServiceAccountKey, error) { - out := new(ServiceAccountKey) - err := c.cc.Invoke(ctx, "/google.iam.admin.v1.IAM/CreateServiceAccountKey", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *iAMClient) DeleteServiceAccountKey(ctx context.Context, in *DeleteServiceAccountKeyRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.iam.admin.v1.IAM/DeleteServiceAccountKey", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *iAMClient) SignBlob(ctx context.Context, in *SignBlobRequest, opts ...grpc.CallOption) (*SignBlobResponse, error) { - out := new(SignBlobResponse) - err := c.cc.Invoke(ctx, "/google.iam.admin.v1.IAM/SignBlob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *iAMClient) SignJwt(ctx context.Context, in *SignJwtRequest, opts ...grpc.CallOption) (*SignJwtResponse, error) { - out := new(SignJwtResponse) - err := c.cc.Invoke(ctx, "/google.iam.admin.v1.IAM/SignJwt", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *iAMClient) GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { - out := new(v1.Policy) - err := c.cc.Invoke(ctx, "/google.iam.admin.v1.IAM/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *iAMClient) SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { - out := new(v1.Policy) - err := c.cc.Invoke(ctx, "/google.iam.admin.v1.IAM/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *iAMClient) TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) { - out := new(v1.TestIamPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.iam.admin.v1.IAM/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *iAMClient) QueryGrantableRoles(ctx context.Context, in *QueryGrantableRolesRequest, opts ...grpc.CallOption) (*QueryGrantableRolesResponse, error) { - out := new(QueryGrantableRolesResponse) - err := c.cc.Invoke(ctx, "/google.iam.admin.v1.IAM/QueryGrantableRoles", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *iAMClient) ListRoles(ctx context.Context, in *ListRolesRequest, opts ...grpc.CallOption) (*ListRolesResponse, error) { - out := new(ListRolesResponse) - err := c.cc.Invoke(ctx, "/google.iam.admin.v1.IAM/ListRoles", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *iAMClient) GetRole(ctx context.Context, in *GetRoleRequest, opts ...grpc.CallOption) (*Role, error) { - out := new(Role) - err := c.cc.Invoke(ctx, "/google.iam.admin.v1.IAM/GetRole", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *iAMClient) CreateRole(ctx context.Context, in *CreateRoleRequest, opts ...grpc.CallOption) (*Role, error) { - out := new(Role) - err := c.cc.Invoke(ctx, "/google.iam.admin.v1.IAM/CreateRole", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *iAMClient) UpdateRole(ctx context.Context, in *UpdateRoleRequest, opts ...grpc.CallOption) (*Role, error) { - out := new(Role) - err := c.cc.Invoke(ctx, "/google.iam.admin.v1.IAM/UpdateRole", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *iAMClient) DeleteRole(ctx context.Context, in *DeleteRoleRequest, opts ...grpc.CallOption) (*Role, error) { - out := new(Role) - err := c.cc.Invoke(ctx, "/google.iam.admin.v1.IAM/DeleteRole", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *iAMClient) UndeleteRole(ctx context.Context, in *UndeleteRoleRequest, opts ...grpc.CallOption) (*Role, error) { - out := new(Role) - err := c.cc.Invoke(ctx, "/google.iam.admin.v1.IAM/UndeleteRole", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *iAMClient) QueryTestablePermissions(ctx context.Context, in *QueryTestablePermissionsRequest, opts ...grpc.CallOption) (*QueryTestablePermissionsResponse, error) { - out := new(QueryTestablePermissionsResponse) - err := c.cc.Invoke(ctx, "/google.iam.admin.v1.IAM/QueryTestablePermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// IAMServer is the server API for IAM service. -type IAMServer interface { - // Lists [ServiceAccounts][google.iam.admin.v1.ServiceAccount] for a project. - ListServiceAccounts(context.Context, *ListServiceAccountsRequest) (*ListServiceAccountsResponse, error) - // Gets a [ServiceAccount][google.iam.admin.v1.ServiceAccount]. - GetServiceAccount(context.Context, *GetServiceAccountRequest) (*ServiceAccount, error) - // Creates a [ServiceAccount][google.iam.admin.v1.ServiceAccount] - // and returns it. - CreateServiceAccount(context.Context, *CreateServiceAccountRequest) (*ServiceAccount, error) - // Updates a [ServiceAccount][google.iam.admin.v1.ServiceAccount]. - // - // Currently, only the following fields are updatable: - // `display_name` . - // The `etag` is mandatory. - UpdateServiceAccount(context.Context, *ServiceAccount) (*ServiceAccount, error) - // Deletes a [ServiceAccount][google.iam.admin.v1.ServiceAccount]. - DeleteServiceAccount(context.Context, *DeleteServiceAccountRequest) (*empty.Empty, error) - // Lists [ServiceAccountKeys][google.iam.admin.v1.ServiceAccountKey]. - ListServiceAccountKeys(context.Context, *ListServiceAccountKeysRequest) (*ListServiceAccountKeysResponse, error) - // Gets the [ServiceAccountKey][google.iam.admin.v1.ServiceAccountKey] - // by key id. - GetServiceAccountKey(context.Context, *GetServiceAccountKeyRequest) (*ServiceAccountKey, error) - // Creates a [ServiceAccountKey][google.iam.admin.v1.ServiceAccountKey] - // and returns it. - CreateServiceAccountKey(context.Context, *CreateServiceAccountKeyRequest) (*ServiceAccountKey, error) - // Deletes a [ServiceAccountKey][google.iam.admin.v1.ServiceAccountKey]. - DeleteServiceAccountKey(context.Context, *DeleteServiceAccountKeyRequest) (*empty.Empty, 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. - // - // If no expiry time (`exp`) is provided in the `SignJwtRequest`, IAM sets an - // an expiry time of one hour by default. If you request an expiry time of - // more than one hour, the request will fail. - SignJwt(context.Context, *SignJwtRequest) (*SignJwtResponse, error) - // Returns the IAM access control policy for a - // [ServiceAccount][google.iam.admin.v1.ServiceAccount]. - GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error) - // Sets the IAM access control policy for a - // [ServiceAccount][google.iam.admin.v1.ServiceAccount]. - SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error) - // Tests the specified permissions against the IAM access control policy - // for a [ServiceAccount][google.iam.admin.v1.ServiceAccount]. - TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) - // Queries roles that can be granted on a particular resource. - // A role is grantable if it can be used as the role in a binding for a policy - // for that resource. - QueryGrantableRoles(context.Context, *QueryGrantableRolesRequest) (*QueryGrantableRolesResponse, error) - // Lists the Roles defined on a resource. - ListRoles(context.Context, *ListRolesRequest) (*ListRolesResponse, error) - // Gets a Role definition. - GetRole(context.Context, *GetRoleRequest) (*Role, error) - // Creates a new Role. - CreateRole(context.Context, *CreateRoleRequest) (*Role, error) - // Updates a Role definition. - UpdateRole(context.Context, *UpdateRoleRequest) (*Role, error) - // Soft deletes a role. The role is suspended and cannot be used to create new - // IAM Policy Bindings. - // The Role will not be included in `ListRoles()` unless `show_deleted` is set - // in the `ListRolesRequest`. The Role contains the deleted boolean set. - // Existing Bindings remains, but are inactive. The Role can be undeleted - // within 7 days. After 7 days the Role is deleted and all Bindings associated - // with the role are removed. - DeleteRole(context.Context, *DeleteRoleRequest) (*Role, error) - // Undelete a Role, bringing it back in its previous state. - UndeleteRole(context.Context, *UndeleteRoleRequest) (*Role, error) - // Lists the permissions testable on a resource. - // A permission is testable if it can be tested for an identity on a resource. - QueryTestablePermissions(context.Context, *QueryTestablePermissionsRequest) (*QueryTestablePermissionsResponse, error) -} - -// UnimplementedIAMServer can be embedded to have forward compatible implementations. -type UnimplementedIAMServer struct { -} - -func (*UnimplementedIAMServer) ListServiceAccounts(ctx context.Context, req *ListServiceAccountsRequest) (*ListServiceAccountsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListServiceAccounts not implemented") -} -func (*UnimplementedIAMServer) GetServiceAccount(ctx context.Context, req *GetServiceAccountRequest) (*ServiceAccount, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetServiceAccount not implemented") -} -func (*UnimplementedIAMServer) CreateServiceAccount(ctx context.Context, req *CreateServiceAccountRequest) (*ServiceAccount, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateServiceAccount not implemented") -} -func (*UnimplementedIAMServer) UpdateServiceAccount(ctx context.Context, req *ServiceAccount) (*ServiceAccount, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateServiceAccount not implemented") -} -func (*UnimplementedIAMServer) DeleteServiceAccount(ctx context.Context, req *DeleteServiceAccountRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteServiceAccount not implemented") -} -func (*UnimplementedIAMServer) ListServiceAccountKeys(ctx context.Context, req *ListServiceAccountKeysRequest) (*ListServiceAccountKeysResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListServiceAccountKeys not implemented") -} -func (*UnimplementedIAMServer) GetServiceAccountKey(ctx context.Context, req *GetServiceAccountKeyRequest) (*ServiceAccountKey, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetServiceAccountKey not implemented") -} -func (*UnimplementedIAMServer) CreateServiceAccountKey(ctx context.Context, req *CreateServiceAccountKeyRequest) (*ServiceAccountKey, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateServiceAccountKey not implemented") -} -func (*UnimplementedIAMServer) DeleteServiceAccountKey(ctx context.Context, req *DeleteServiceAccountKeyRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteServiceAccountKey not implemented") -} -func (*UnimplementedIAMServer) SignBlob(ctx context.Context, req *SignBlobRequest) (*SignBlobResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SignBlob not implemented") -} -func (*UnimplementedIAMServer) SignJwt(ctx context.Context, req *SignJwtRequest) (*SignJwtResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SignJwt not implemented") -} -func (*UnimplementedIAMServer) GetIamPolicy(ctx context.Context, req *v1.GetIamPolicyRequest) (*v1.Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedIAMServer) SetIamPolicy(ctx context.Context, req *v1.SetIamPolicyRequest) (*v1.Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedIAMServer) TestIamPermissions(ctx context.Context, req *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} -func (*UnimplementedIAMServer) QueryGrantableRoles(ctx context.Context, req *QueryGrantableRolesRequest) (*QueryGrantableRolesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method QueryGrantableRoles not implemented") -} -func (*UnimplementedIAMServer) ListRoles(ctx context.Context, req *ListRolesRequest) (*ListRolesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListRoles not implemented") -} -func (*UnimplementedIAMServer) GetRole(ctx context.Context, req *GetRoleRequest) (*Role, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetRole not implemented") -} -func (*UnimplementedIAMServer) CreateRole(ctx context.Context, req *CreateRoleRequest) (*Role, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateRole not implemented") -} -func (*UnimplementedIAMServer) UpdateRole(ctx context.Context, req *UpdateRoleRequest) (*Role, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateRole not implemented") -} -func (*UnimplementedIAMServer) DeleteRole(ctx context.Context, req *DeleteRoleRequest) (*Role, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteRole not implemented") -} -func (*UnimplementedIAMServer) UndeleteRole(ctx context.Context, req *UndeleteRoleRequest) (*Role, error) { - return nil, status.Errorf(codes.Unimplemented, "method UndeleteRole not implemented") -} -func (*UnimplementedIAMServer) QueryTestablePermissions(ctx context.Context, req *QueryTestablePermissionsRequest) (*QueryTestablePermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method QueryTestablePermissions not implemented") -} - -func RegisterIAMServer(s *grpc.Server, srv IAMServer) { - s.RegisterService(&_IAM_serviceDesc, srv) -} - -func _IAM_ListServiceAccounts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListServiceAccountsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IAMServer).ListServiceAccounts(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.iam.admin.v1.IAM/ListServiceAccounts", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IAMServer).ListServiceAccounts(ctx, req.(*ListServiceAccountsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IAM_GetServiceAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetServiceAccountRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IAMServer).GetServiceAccount(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.iam.admin.v1.IAM/GetServiceAccount", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IAMServer).GetServiceAccount(ctx, req.(*GetServiceAccountRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IAM_CreateServiceAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateServiceAccountRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IAMServer).CreateServiceAccount(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.iam.admin.v1.IAM/CreateServiceAccount", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IAMServer).CreateServiceAccount(ctx, req.(*CreateServiceAccountRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IAM_UpdateServiceAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ServiceAccount) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IAMServer).UpdateServiceAccount(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.iam.admin.v1.IAM/UpdateServiceAccount", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IAMServer).UpdateServiceAccount(ctx, req.(*ServiceAccount)) - } - return interceptor(ctx, in, info, handler) -} - -func _IAM_DeleteServiceAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteServiceAccountRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IAMServer).DeleteServiceAccount(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.iam.admin.v1.IAM/DeleteServiceAccount", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IAMServer).DeleteServiceAccount(ctx, req.(*DeleteServiceAccountRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IAM_ListServiceAccountKeys_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListServiceAccountKeysRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IAMServer).ListServiceAccountKeys(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.iam.admin.v1.IAM/ListServiceAccountKeys", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IAMServer).ListServiceAccountKeys(ctx, req.(*ListServiceAccountKeysRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IAM_GetServiceAccountKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetServiceAccountKeyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IAMServer).GetServiceAccountKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.iam.admin.v1.IAM/GetServiceAccountKey", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IAMServer).GetServiceAccountKey(ctx, req.(*GetServiceAccountKeyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IAM_CreateServiceAccountKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateServiceAccountKeyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IAMServer).CreateServiceAccountKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.iam.admin.v1.IAM/CreateServiceAccountKey", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IAMServer).CreateServiceAccountKey(ctx, req.(*CreateServiceAccountKeyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IAM_DeleteServiceAccountKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteServiceAccountKeyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IAMServer).DeleteServiceAccountKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.iam.admin.v1.IAM/DeleteServiceAccountKey", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IAMServer).DeleteServiceAccountKey(ctx, req.(*DeleteServiceAccountKeyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IAM_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.(IAMServer).SignBlob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.iam.admin.v1.IAM/SignBlob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IAMServer).SignBlob(ctx, req.(*SignBlobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IAM_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.(IAMServer).SignJwt(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.iam.admin.v1.IAM/SignJwt", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IAMServer).SignJwt(ctx, req.(*SignJwtRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IAM_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.(IAMServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.iam.admin.v1.IAM/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IAMServer).GetIamPolicy(ctx, req.(*v1.GetIamPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IAM_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.(IAMServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.iam.admin.v1.IAM/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IAMServer).SetIamPolicy(ctx, req.(*v1.SetIamPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IAM_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.(IAMServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.iam.admin.v1.IAM/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IAMServer).TestIamPermissions(ctx, req.(*v1.TestIamPermissionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IAM_QueryGrantableRoles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryGrantableRolesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IAMServer).QueryGrantableRoles(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.iam.admin.v1.IAM/QueryGrantableRoles", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IAMServer).QueryGrantableRoles(ctx, req.(*QueryGrantableRolesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IAM_ListRoles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListRolesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IAMServer).ListRoles(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.iam.admin.v1.IAM/ListRoles", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IAMServer).ListRoles(ctx, req.(*ListRolesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IAM_GetRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRoleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IAMServer).GetRole(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.iam.admin.v1.IAM/GetRole", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IAMServer).GetRole(ctx, req.(*GetRoleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IAM_CreateRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateRoleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IAMServer).CreateRole(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.iam.admin.v1.IAM/CreateRole", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IAMServer).CreateRole(ctx, req.(*CreateRoleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IAM_UpdateRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateRoleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IAMServer).UpdateRole(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.iam.admin.v1.IAM/UpdateRole", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IAMServer).UpdateRole(ctx, req.(*UpdateRoleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IAM_DeleteRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteRoleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IAMServer).DeleteRole(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.iam.admin.v1.IAM/DeleteRole", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IAMServer).DeleteRole(ctx, req.(*DeleteRoleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IAM_UndeleteRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UndeleteRoleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IAMServer).UndeleteRole(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.iam.admin.v1.IAM/UndeleteRole", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IAMServer).UndeleteRole(ctx, req.(*UndeleteRoleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IAM_QueryTestablePermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryTestablePermissionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IAMServer).QueryTestablePermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.iam.admin.v1.IAM/QueryTestablePermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IAMServer).QueryTestablePermissions(ctx, req.(*QueryTestablePermissionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _IAM_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.iam.admin.v1.IAM", - HandlerType: (*IAMServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListServiceAccounts", - Handler: _IAM_ListServiceAccounts_Handler, - }, - { - MethodName: "GetServiceAccount", - Handler: _IAM_GetServiceAccount_Handler, - }, - { - MethodName: "CreateServiceAccount", - Handler: _IAM_CreateServiceAccount_Handler, - }, - { - MethodName: "UpdateServiceAccount", - Handler: _IAM_UpdateServiceAccount_Handler, - }, - { - MethodName: "DeleteServiceAccount", - Handler: _IAM_DeleteServiceAccount_Handler, - }, - { - MethodName: "ListServiceAccountKeys", - Handler: _IAM_ListServiceAccountKeys_Handler, - }, - { - MethodName: "GetServiceAccountKey", - Handler: _IAM_GetServiceAccountKey_Handler, - }, - { - MethodName: "CreateServiceAccountKey", - Handler: _IAM_CreateServiceAccountKey_Handler, - }, - { - MethodName: "DeleteServiceAccountKey", - Handler: _IAM_DeleteServiceAccountKey_Handler, - }, - { - MethodName: "SignBlob", - Handler: _IAM_SignBlob_Handler, - }, - { - MethodName: "SignJwt", - Handler: _IAM_SignJwt_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _IAM_GetIamPolicy_Handler, - }, - { - MethodName: "SetIamPolicy", - Handler: _IAM_SetIamPolicy_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _IAM_TestIamPermissions_Handler, - }, - { - MethodName: "QueryGrantableRoles", - Handler: _IAM_QueryGrantableRoles_Handler, - }, - { - MethodName: "ListRoles", - Handler: _IAM_ListRoles_Handler, - }, - { - MethodName: "GetRole", - Handler: _IAM_GetRole_Handler, - }, - { - MethodName: "CreateRole", - Handler: _IAM_CreateRole_Handler, - }, - { - MethodName: "UpdateRole", - Handler: _IAM_UpdateRole_Handler, - }, - { - MethodName: "DeleteRole", - Handler: _IAM_DeleteRole_Handler, - }, - { - MethodName: "UndeleteRole", - Handler: _IAM_UndeleteRole_Handler, - }, - { - MethodName: "QueryTestablePermissions", - Handler: _IAM_QueryTestablePermissions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/iam/admin/v1/iam.proto", -} 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 deleted file mode 100644 index e5d37ceb..00000000 --- a/vendor/google.golang.org/genproto/googleapis/iam/credentials/v1/common.pb.go +++ /dev/null @@ -1,562 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/iam/credentials/v1/common.proto - -package credentials - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - 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.ProtoPackageIsVersion3 // 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_e91212214ea1422e, []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 (m *GenerateAccessTokenRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenerateAccessTokenRequest.Merge(m, 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_e91212214ea1422e, []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 (m *GenerateAccessTokenResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenerateAccessTokenResponse.Merge(m, 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_e91212214ea1422e, []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 (m *SignBlobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignBlobRequest.Merge(m, 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_e91212214ea1422e, []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 (m *SignBlobResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignBlobResponse.Merge(m, 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_e91212214ea1422e, []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 (m *SignJwtRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignJwtRequest.Merge(m, 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_e91212214ea1422e, []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 (m *SignJwtResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignJwtResponse.Merge(m, 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_e91212214ea1422e, []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 (m *GenerateIdTokenRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenerateIdTokenRequest.Merge(m, 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_e91212214ea1422e, []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 (m *GenerateIdTokenResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenerateIdTokenResponse.Merge(m, 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 "" -} - -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") -} - -func init() { - proto.RegisterFile("google/iam/credentials/v1/common.proto", fileDescriptor_e91212214ea1422e) -} - -var fileDescriptor_e91212214ea1422e = []byte{ - // 520 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0x4f, 0x6f, 0xd3, 0x4e, - 0x10, 0x95, 0x9b, 0xa4, 0x8d, 0x27, 0xf9, 0xfd, 0x40, 0x56, 0x01, 0x27, 0xfc, 0x69, 0x70, 0x25, - 0x94, 0x93, 0xad, 0x82, 0x38, 0xf5, 0xd4, 0xb4, 0xa8, 0x4a, 0x24, 0xa4, 0xca, 0xf4, 0x84, 0x40, - 0xd6, 0xc6, 0x3b, 0xb5, 0x96, 0xac, 0x77, 0x8d, 0x77, 0xdd, 0x90, 0x03, 0x9f, 0xa0, 0x1f, 0x81, - 0x2f, 0xca, 0x11, 0x79, 0x6d, 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e, 0xf1, 0x5a, 0x65, 0x8f, - 0xac, 0xa9, 0xce, 0x31, 0xf4, 0xf0, 0x5b, 0xc6, 0x72, 0x8c, 0xcc, 0xec, 0x96, 0x99, 0x3d, 0xbc, - 0x37, 0xfb, 0xb2, 0x59, 0x4b, 0x08, 0x15, 0xbd, 0x04, 0xbc, 0xcf, 0xf0, 0xe0, 0x03, 0x4b, 0xc4, - 0x84, 0xcb, 0xf9, 0x1f, 0x2f, 0xa4, 0x75, 0x77, 0x21, 0x2e, 0xec, 0x65, 0x64, 0xc5, 0x25, 0xa1, - 0x6e, 0x67, 0x64, 0x8d, 0xfb, 0x61, 0x13, 0x7a, 0x33, 0x78, 0xb8, 0x6e, 0x5f, 0x1f, 0xe9, 0x11, - 0xec, 0x2e, 0x70, 0x15, 0x31, 0x5a, 0x4f, 0xe8, 0x2c, 0x70, 0x35, 0xa5, 0xce, 0x01, 0xf4, 0x14, - 0x4b, 0x04, 0xd2, 0x68, 0xce, 0xe5, 0xdc, 0x6d, 0x9b, 0x46, 0x50, 0x41, 0x65, 0xbd, 0xf7, 0x09, - 0xfe, 0x2f, 0x7b, 0xcd, 0x96, 0xfa, 0x9f, 0x29, 0xb5, 0xd7, 0x4a, 0xcf, 0xab, 0x45, 0x98, 0xee, - 0xbf, 0x17, 0xfa, 0x1c, 0x6a, 0x55, 0xd1, 0x97, 0xa5, 0x76, 0x77, 0x4c, 0xca, 0xae, 0x90, 0xd9, - 0x52, 0x7b, 0x37, 0x16, 0x3c, 0x6e, 0x6e, 0x74, 0x4a, 0xff, 0xd2, 0x6a, 0x43, 0xe8, 0x92, 0x82, - 0x32, 0x14, 0x71, 0x75, 0xb1, 0x76, 0x78, 0x1b, 0x3b, 0x87, 0xf0, 0x1f, 0x13, 0x31, 0x2f, 0x28, - 0x46, 0x98, 0x12, 0xc6, 0xcd, 0xca, 0xba, 0x61, 0xbf, 0x06, 0xdf, 0x95, 0x98, 0x17, 0xc0, 0x93, - 0x7b, 0x62, 0xea, 0xe3, 0xed, 0x43, 0x67, 0xd3, 0x53, 0x55, 0x30, 0xb9, 0xb1, 0xe0, 0x30, 0x96, - 0x69, 0x63, 0x9f, 0x98, 0xcb, 0x82, 0x6e, 0x79, 0x96, 0x93, 0xc1, 0xf4, 0xe4, 0xfd, 0xe9, 0x1a, - 0x3a, 0x35, 0xaf, 0xf9, 0xa2, 0x34, 0xdb, 0x85, 0xf5, 0xf1, 0xac, 0xae, 0x4e, 0x24, 0x27, 0x22, - 0xf1, 0x65, 0x9e, 0x04, 0x09, 0x0a, 0x63, 0xc5, 0xa0, 0x4a, 0x91, 0x8c, 0xa9, 0x2d, 0x7f, 0x85, - 0xe3, 0x8d, 0xf0, 0xa7, 0x65, 0xcd, 0x77, 0x4d, 0xcd, 0x9b, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, - 0xba, 0x34, 0x84, 0xed, 0x48, 0x04, 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 deleted file mode 100644 index 6bda8061..00000000 --- a/vendor/google.golang.org/genproto/googleapis/iam/credentials/v1/iamcredentials.pb.go +++ /dev/null @@ -1,257 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/iam/credentials/v1/iamcredentials.proto - -package credentials - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -func init() { - proto.RegisterFile("google/iam/credentials/v1/iamcredentials.proto", fileDescriptor_ad032f4dbfa7437c) -} - -var fileDescriptor_ad032f4dbfa7437c = []byte{ - // 401 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0x4f, 0x4b, 0xe3, 0x40, - 0x18, 0xc6, 0x99, 0x85, 0xfd, 0x43, 0x0e, 0xbb, 0x90, 0x9e, 0xb6, 0xec, 0x29, 0x0b, 0x0b, 0x9b, - 0x85, 0xcc, 0xb6, 0xbb, 0x55, 0x48, 0x15, 0x6c, 0x14, 0xa5, 0x05, 0xa1, 0xa8, 0x27, 0x6f, 0xd3, - 0xe9, 0x30, 0x8c, 0x26, 0xf3, 0xc6, 0xcc, 0xb4, 0x3d, 0x88, 0x17, 0xc1, 0x4f, 0xe0, 0xd5, 0x83, - 0x1f, 0xc4, 0x8f, 0xe0, 0xcd, 0x2f, 0xe0, 0xc1, 0x0f, 0xe1, 0x51, 0x26, 0x99, 0x60, 0xc5, 0x56, - 0x93, 0xe3, 0xbc, 0xf3, 0x3c, 0xef, 0xf3, 0x7b, 0x0e, 0xaf, 0x13, 0x70, 0x00, 0x1e, 0x33, 0x2c, - 0x48, 0x82, 0x69, 0xc6, 0xc6, 0x4c, 0x6a, 0x41, 0x62, 0x85, 0xa7, 0x2d, 0x33, 0x9a, 0x9b, 0x04, - 0x69, 0x06, 0x1a, 0xdc, 0xef, 0x85, 0x3e, 0x10, 0x24, 0x09, 0xe6, 0x7f, 0xa7, 0xad, 0xe6, 0x0f, - 0xbb, 0x8a, 0xa4, 0x02, 0x13, 0x29, 0x41, 0x13, 0x2d, 0x40, 0x5a, 0x63, 0xf3, 0xd7, 0xf2, 0x20, - 0x0a, 0x49, 0x02, 0xb2, 0xd0, 0xb5, 0xef, 0x3f, 0x3a, 0x5f, 0xfb, 0xbd, 0xdd, 0xcd, 0x67, 0x89, - 0x7b, 0x8b, 0x9c, 0xc6, 0x0e, 0x93, 0x2c,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cb, 0x3b, 0x18, 0x9a, - 0xfb, 0x18, 0xa2, 0xc3, 0x2d, 0xeb, 0xe3, 0x10, 0x13, 0xc9, 0x03, 0xc8, 0x38, 0xe6, 0x4c, 0xe6, - 0xd7, 0x83, 0x8b, 0x2f, 0x92, 0x0a, 0xb5, 0xe0, 0xd0, 0xba, 0x73, 0xcf, 0x47, 0x84, 0x46, 0x9f, - 0x72, 0xcf, 0xbf, 0xa7, 0x00, 0x00, 0x00, 0xff, 0xff, 0x83, 0x8b, 0xa8, 0x74, 0x04, 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 - -// 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) -} - -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 -} - -// 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) -} - -// UnimplementedIAMCredentialsServer can be embedded to have forward compatible implementations. -type UnimplementedIAMCredentialsServer struct { -} - -func (*UnimplementedIAMCredentialsServer) GenerateAccessToken(ctx context.Context, req *GenerateAccessTokenRequest) (*GenerateAccessTokenResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GenerateAccessToken not implemented") -} -func (*UnimplementedIAMCredentialsServer) GenerateIdToken(ctx context.Context, req *GenerateIdTokenRequest) (*GenerateIdTokenResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GenerateIdToken not implemented") -} -func (*UnimplementedIAMCredentialsServer) SignBlob(ctx context.Context, req *SignBlobRequest) (*SignBlobResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SignBlob not implemented") -} -func (*UnimplementedIAMCredentialsServer) SignJwt(ctx context.Context, req *SignJwtRequest) (*SignJwtResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SignJwt not implemented") -} - -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) -} - -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, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/iam/credentials/v1/iamcredentials.proto", -} 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 deleted file mode 100644 index 82f52468..00000000 --- a/vendor/google.golang.org/genproto/googleapis/iam/v1/iam_policy.pb.go +++ /dev/null @@ -1,450 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/iam/v1/iam_policy.proto - -package iam - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request message for `SetIamPolicy` method. -type SetIamPolicyRequest struct { - // REQUIRED: The resource for which the policy is being specified. - // See the operation documentation for the appropriate value for this field. - Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` - // REQUIRED: The complete policy to be applied to the `resource`. The size of - // the policy is limited to a few 10s of KB. An empty policy is a - // valid policy but certain Cloud Platform services (such as Projects) - // might reject them. - Policy *Policy `protobuf:"bytes,2,opt,name=policy,proto3" json:"policy,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_d2728eb97d748a32, []int{0} -} - -func (m *SetIamPolicyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetIamPolicyRequest.Unmarshal(m, b) -} -func (m *SetIamPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetIamPolicyRequest.Marshal(b, m, deterministic) -} -func (m *SetIamPolicyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetIamPolicyRequest.Merge(m, src) -} -func (m *SetIamPolicyRequest) XXX_Size() int { - return xxx_messageInfo_SetIamPolicyRequest.Size(m) -} -func (m *SetIamPolicyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetIamPolicyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetIamPolicyRequest proto.InternalMessageInfo - -func (m *SetIamPolicyRequest) GetResource() string { - if m != nil { - return m.Resource - } - return "" -} - -func (m *SetIamPolicyRequest) GetPolicy() *Policy { - if m != nil { - return m.Policy - } - return nil -} - -// Request message for `GetIamPolicy` method. -type GetIamPolicyRequest struct { - // REQUIRED: The resource for which the policy is being requested. - // See the operation documentation for the appropriate value for this field. - Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` - // OPTIONAL: A `GetPolicyOptions` object for specifying options to - // `GetIamPolicy`. This field is only used by Cloud IAM. - Options *GetPolicyOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_d2728eb97d748a32, []int{1} -} - -func (m *GetIamPolicyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetIamPolicyRequest.Unmarshal(m, b) -} -func (m *GetIamPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetIamPolicyRequest.Marshal(b, m, deterministic) -} -func (m *GetIamPolicyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetIamPolicyRequest.Merge(m, src) -} -func (m *GetIamPolicyRequest) XXX_Size() int { - return xxx_messageInfo_GetIamPolicyRequest.Size(m) -} -func (m *GetIamPolicyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetIamPolicyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetIamPolicyRequest proto.InternalMessageInfo - -func (m *GetIamPolicyRequest) GetResource() string { - if m != nil { - return m.Resource - } - return "" -} - -func (m *GetIamPolicyRequest) GetOptions() *GetPolicyOptions { - if m != nil { - return m.Options - } - return nil -} - -// Request message for `TestIamPermissions` method. -type TestIamPermissionsRequest struct { - // REQUIRED: The resource for which the policy detail is being requested. - // See the operation documentation for the appropriate value for this field. - Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` - // The set of permissions to check for the `resource`. Permissions with - // wildcards (such as '*' or 'storage.*') are not allowed. For more - // information see - // [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). - Permissions []string `protobuf:"bytes,2,rep,name=permissions,proto3" json:"permissions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TestIamPermissionsRequest) Reset() { *m = TestIamPermissionsRequest{} } -func (m *TestIamPermissionsRequest) String() string { return proto.CompactTextString(m) } -func (*TestIamPermissionsRequest) ProtoMessage() {} -func (*TestIamPermissionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d2728eb97d748a32, []int{2} -} - -func (m *TestIamPermissionsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TestIamPermissionsRequest.Unmarshal(m, b) -} -func (m *TestIamPermissionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TestIamPermissionsRequest.Marshal(b, m, deterministic) -} -func (m *TestIamPermissionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_TestIamPermissionsRequest.Merge(m, src) -} -func (m *TestIamPermissionsRequest) XXX_Size() int { - return xxx_messageInfo_TestIamPermissionsRequest.Size(m) -} -func (m *TestIamPermissionsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_TestIamPermissionsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_TestIamPermissionsRequest proto.InternalMessageInfo - -func (m *TestIamPermissionsRequest) GetResource() string { - if m != nil { - return m.Resource - } - return "" -} - -func (m *TestIamPermissionsRequest) GetPermissions() []string { - if m != nil { - return m.Permissions - } - return nil -} - -// Response message for `TestIamPermissions` method. -type TestIamPermissionsResponse struct { - // A subset of `TestPermissionsRequest.permissions` that the caller is - // allowed. - Permissions []string `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TestIamPermissionsResponse) Reset() { *m = TestIamPermissionsResponse{} } -func (m *TestIamPermissionsResponse) String() string { return proto.CompactTextString(m) } -func (*TestIamPermissionsResponse) ProtoMessage() {} -func (*TestIamPermissionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d2728eb97d748a32, []int{3} -} - -func (m *TestIamPermissionsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TestIamPermissionsResponse.Unmarshal(m, b) -} -func (m *TestIamPermissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TestIamPermissionsResponse.Marshal(b, m, deterministic) -} -func (m *TestIamPermissionsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_TestIamPermissionsResponse.Merge(m, src) -} -func (m *TestIamPermissionsResponse) XXX_Size() int { - return xxx_messageInfo_TestIamPermissionsResponse.Size(m) -} -func (m *TestIamPermissionsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_TestIamPermissionsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_TestIamPermissionsResponse proto.InternalMessageInfo - -func (m *TestIamPermissionsResponse) GetPermissions() []string { - if m != nil { - return m.Permissions - } - return nil -} - -func init() { - proto.RegisterType((*SetIamPolicyRequest)(nil), "google.iam.v1.SetIamPolicyRequest") - proto.RegisterType((*GetIamPolicyRequest)(nil), "google.iam.v1.GetIamPolicyRequest") - proto.RegisterType((*TestIamPermissionsRequest)(nil), "google.iam.v1.TestIamPermissionsRequest") - proto.RegisterType((*TestIamPermissionsResponse)(nil), "google.iam.v1.TestIamPermissionsResponse") -} - -func init() { proto.RegisterFile("google/iam/v1/iam_policy.proto", fileDescriptor_d2728eb97d748a32) } - -var fileDescriptor_d2728eb97d748a32 = []byte{ - // 505 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0xcd, 0x8a, 0xd3, 0x40, - 0x1c, 0x67, 0x52, 0x58, 0xed, 0xac, 0x0a, 0xa6, 0x88, 0xdd, 0xac, 0x74, 0x4b, 0x54, 0x68, 0x03, - 0x3b, 0xb1, 0xf5, 0x64, 0x45, 0x21, 0xf5, 0x10, 0x7a, 0x10, 0x4b, 0x94, 0x3d, 0x48, 0x61, 0x99, - 0x4d, 0xc7, 0x38, 0x90, 0xc9, 0x8c, 0x99, 0x69, 0x45, 0xc4, 0x8b, 0x07, 0x5f, 0xc0, 0x9b, 0x8f, - 0xe0, 0xd9, 0xa7, 0xd8, 0xab, 0x2f, 0xb0, 0x07, 0x1f, 0x42, 0x3c, 0x49, 0x33, 0xd3, 0x6d, 0xda, - 0x54, 0x51, 0xf1, 0x54, 0xf8, 0xff, 0xbe, 0xfe, 0x1f, 0x9d, 0xc0, 0x56, 0xc2, 0x79, 0x92, 0x12, - 0x9f, 0x62, 0xe6, 0xcf, 0x7b, 0x8b, 0x9f, 0x63, 0xc1, 0x53, 0x1a, 0xbf, 0x41, 0x22, 0xe7, 0x8a, - 0xdb, 0x97, 0x35, 0x8e, 0x28, 0x66, 0x68, 0x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x72, 0xd4, 0x3b, 0xd9, 0x29, 0xbc, 0xee, 0xfe, 0x0c, 0x00, 0x00, 0xff, - 0xff, 0xff, 0xd3, 0xd0, 0xdf, 0xb4, 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 - -// IAMPolicyClient is the client API for IAMPolicy service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type IAMPolicyClient interface { - // Sets the access control policy on the specified resource. Replaces any - // existing policy. - SetIamPolicy(ctx context.Context, in *SetIamPolicyRequest, opts ...grpc.CallOption) (*Policy, error) - // Gets the access control policy for a resource. - // Returns an empty policy if the resource exists and does not have a policy - // set. - GetIamPolicy(ctx context.Context, in *GetIamPolicyRequest, opts ...grpc.CallOption) (*Policy, error) - // Returns permissions that a caller has on the specified resource. - // If the resource does not exist, this will return an empty set of - // permissions, not a 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 *TestIamPermissionsRequest, opts ...grpc.CallOption) (*TestIamPermissionsResponse, error) -} - -type iAMPolicyClient struct { - cc *grpc.ClientConn -} - -func NewIAMPolicyClient(cc *grpc.ClientConn) IAMPolicyClient { - return &iAMPolicyClient{cc} -} - -func (c *iAMPolicyClient) SetIamPolicy(ctx context.Context, in *SetIamPolicyRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.iam.v1.IAMPolicy/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *iAMPolicyClient) GetIamPolicy(ctx context.Context, in *GetIamPolicyRequest, opts ...grpc.CallOption) (*Policy, error) { - out := new(Policy) - err := c.cc.Invoke(ctx, "/google.iam.v1.IAMPolicy/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *iAMPolicyClient) TestIamPermissions(ctx context.Context, in *TestIamPermissionsRequest, opts ...grpc.CallOption) (*TestIamPermissionsResponse, error) { - out := new(TestIamPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.iam.v1.IAMPolicy/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// IAMPolicyServer is the server API for IAMPolicy service. -type IAMPolicyServer interface { - // Sets the access control policy on the specified resource. Replaces any - // existing policy. - SetIamPolicy(context.Context, *SetIamPolicyRequest) (*Policy, error) - // Gets the access control policy for a resource. - // Returns an empty policy if the resource exists and does not have a policy - // set. - GetIamPolicy(context.Context, *GetIamPolicyRequest) (*Policy, error) - // Returns permissions that a caller has on the specified resource. - // If the resource does not exist, this will return an empty set of - // permissions, not a 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, *TestIamPermissionsRequest) (*TestIamPermissionsResponse, error) -} - -// UnimplementedIAMPolicyServer can be embedded to have forward compatible implementations. -type UnimplementedIAMPolicyServer struct { -} - -func (*UnimplementedIAMPolicyServer) SetIamPolicy(ctx context.Context, req *SetIamPolicyRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedIAMPolicyServer) GetIamPolicy(ctx context.Context, req *GetIamPolicyRequest) (*Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedIAMPolicyServer) TestIamPermissions(ctx context.Context, req *TestIamPermissionsRequest) (*TestIamPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} - -func RegisterIAMPolicyServer(s *grpc.Server, srv IAMPolicyServer) { - s.RegisterService(&_IAMPolicy_serviceDesc, srv) -} - -func _IAMPolicy_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetIamPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IAMPolicyServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.iam.v1.IAMPolicy/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IAMPolicyServer).SetIamPolicy(ctx, req.(*SetIamPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IAMPolicy_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIamPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IAMPolicyServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.iam.v1.IAMPolicy/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IAMPolicyServer).GetIamPolicy(ctx, req.(*GetIamPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IAMPolicy_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TestIamPermissionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IAMPolicyServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.iam.v1.IAMPolicy/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IAMPolicyServer).TestIamPermissions(ctx, req.(*TestIamPermissionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _IAMPolicy_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.iam.v1.IAMPolicy", - HandlerType: (*IAMPolicyServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "SetIamPolicy", - Handler: _IAMPolicy_SetIamPolicy_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _IAMPolicy_GetIamPolicy_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _IAMPolicy_TestIamPermissions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/iam/v1/iam_policy.proto", -} 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 deleted file mode 100644 index 2dafa315..00000000 --- a/vendor/google.golang.org/genproto/googleapis/iam/v1/logging/audit_data.pb.go +++ /dev/null @@ -1,94 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/iam/v1/logging/audit_data.proto - -package logging - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Audit log information specific to Cloud IAM. This message is serialized -// as an `Any` type in the `ServiceData` message of an -// `AuditLog` message. -type AuditData struct { - // Policy delta between the original policy and the newly set policy. - PolicyDelta *v1.PolicyDelta `protobuf:"bytes,2,opt,name=policy_delta,json=policyDelta,proto3" json:"policy_delta,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_fe22f7c00ab4acd5, []int{0} -} - -func (m *AuditData) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AuditData.Unmarshal(m, b) -} -func (m *AuditData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AuditData.Marshal(b, m, deterministic) -} -func (m *AuditData) XXX_Merge(src proto.Message) { - xxx_messageInfo_AuditData.Merge(m, src) -} -func (m *AuditData) XXX_Size() int { - return xxx_messageInfo_AuditData.Size(m) -} -func (m *AuditData) XXX_DiscardUnknown() { - xxx_messageInfo_AuditData.DiscardUnknown(m) -} - -var xxx_messageInfo_AuditData proto.InternalMessageInfo - -func (m *AuditData) GetPolicyDelta() *v1.PolicyDelta { - if m != nil { - return m.PolicyDelta - } - return nil -} - -func init() { - proto.RegisterType((*AuditData)(nil), "google.iam.v1.logging.AuditData") -} - -func init() { - proto.RegisterFile("google/iam/v1/logging/audit_data.proto", fileDescriptor_fe22f7c00ab4acd5) -} - -var fileDescriptor_fe22f7c00ab4acd5 = []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, - 0x5a, 0xaa, 0x85, 0xe7, 0x81, 0x28, 0x16, 0x8b, 0x85, 0x85, 0xcd, 0x31, 0x5e, 0x96, 0x61, 0x20, - 0xc9, 0x84, 0xbb, 0xdc, 0x82, 0x8f, 0xe0, 0xab, 0xf8, 0x94, 0xb2, 0x9b, 0xa0, 0xac, 0x58, 0x85, - 0xf0, 0x7f, 0xff, 0x7c, 0xc3, 0xa8, 0x73, 0x12, 0x21, 0xd7, 0x1a, 0x46, 0x6f, 0xba, 0xda, 0x38, - 0x21, 0xe2, 0x40, 0x06, 0xb7, 0x96, 0xd3, 0xd2, 0x62, 0x42, 0x88, 0x6b, 0x49, 0x32, 0x3b, 0xc8, - 0x1c, 0x30, 0x7a, 0xe8, 0x6a, 0x28, 0x9c, 0x3e, 0x29, 0x75, 0x8c, 0x6c, 0x30, 0x04, 0x49, 0x98, - 0x58, 0xc2, 0x26, 0x97, 0xb4, 0x1e, 0x0f, 0x8f, 0xe2, 0x78, 0xf5, 0x91, 0xb3, 0xb3, 0x27, 0xb5, - 0x7b, 0xd7, 0x4b, 0x16, 0x98, 0x70, 0x76, 0xab, 0xf6, 0x72, 0xb8, 0xb4, 0xad, 0x4b, 0x78, 0x38, - 0x39, 0xad, 0x2e, 0xa6, 0x97, 0x1a, 0xc6, 0xd2, 0x66, 0x40, 0x16, 0x3d, 0xf1, 0x32, 0x8d, 0xbf, - 0x9f, 0xf9, 0x67, 0xa5, 0x8e, 0x56, 0xe2, 0xe1, 0xdf, 0x1d, 0xe7, 0xfb, 0x3f, 0x9e, 0xa6, 0x37, - 0x37, 0xd5, 0xdb, 0x4d, 0x01, 0x49, 0x1c, 0x06, 0x02, 0x59, 0x93, 0xa1, 0x36, 0x0c, 0x7b, 0x99, - 0x1c, 0x61, 0xe4, 0xcd, 0x9f, 0x9b, 0x5c, 0x97, 0xf7, 0x6b, 0x72, 0xfc, 0x90, 0xeb, 0xf7, 0x4e, - 0xb6, 0x16, 0x1e, 0xd1, 0xc3, 0x6b, 0x0d, 0xcf, 0x39, 0x7d, 0xdf, 0x19, 0xc6, 0x5c, 0x7d, 0x07, - 0x00, 0x00, 0xff, 0xff, 0x29, 0xf1, 0xcb, 0x3a, 0x59, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/iam/v1/options.pb.go b/vendor/google.golang.org/genproto/googleapis/iam/v1/options.pb.go deleted file mode 100644 index d14995cd..00000000 --- a/vendor/google.golang.org/genproto/googleapis/iam/v1/options.pb.go +++ /dev/null @@ -1,96 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/iam/v1/options.proto - -package iam - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Encapsulates settings provided to GetIamPolicy. -type GetPolicyOptions struct { - // Optional. The policy format version to be returned. - // - // Valid values are 0, 1, and 3. Requests specifying an invalid value will be - // rejected. - // - // Requests for policies with any conditional bindings must specify version 3. - // Policies without any conditional bindings may specify any valid value or - // leave the field unset. - RequestedPolicyVersion int32 `protobuf:"varint,1,opt,name=requested_policy_version,json=requestedPolicyVersion,proto3" json:"requested_policy_version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetPolicyOptions) Reset() { *m = GetPolicyOptions{} } -func (m *GetPolicyOptions) String() string { return proto.CompactTextString(m) } -func (*GetPolicyOptions) ProtoMessage() {} -func (*GetPolicyOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_19aa09e909092bd1, []int{0} -} - -func (m *GetPolicyOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetPolicyOptions.Unmarshal(m, b) -} -func (m *GetPolicyOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetPolicyOptions.Marshal(b, m, deterministic) -} -func (m *GetPolicyOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetPolicyOptions.Merge(m, src) -} -func (m *GetPolicyOptions) XXX_Size() int { - return xxx_messageInfo_GetPolicyOptions.Size(m) -} -func (m *GetPolicyOptions) XXX_DiscardUnknown() { - xxx_messageInfo_GetPolicyOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_GetPolicyOptions proto.InternalMessageInfo - -func (m *GetPolicyOptions) GetRequestedPolicyVersion() int32 { - if m != nil { - return m.RequestedPolicyVersion - } - return 0 -} - -func init() { - proto.RegisterType((*GetPolicyOptions)(nil), "google.iam.v1.GetPolicyOptions") -} - -func init() { proto.RegisterFile("google/iam/v1/options.proto", fileDescriptor_19aa09e909092bd1) } - -var fileDescriptor_19aa09e909092bd1 = []byte{ - // 229 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4e, 0xcf, 0xcf, 0x4f, - 0xcf, 0x49, 0xd5, 0xcf, 0x4c, 0xcc, 0xd5, 0x2f, 0x33, 0xd4, 0xcf, 0x2f, 0x28, 0xc9, 0xcc, 0xcf, - 0x2b, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x85, 0x48, 0xea, 0x65, 0x26, 0xe6, 0xea, - 0x95, 0x19, 0x4a, 0xc9, 0x40, 0xd5, 0x26, 0x16, 0x64, 0xea, 0x27, 0xe6, 0xe5, 0xe5, 0x97, 0x24, - 0x22, 0x29, 0x56, 0xf2, 0xe1, 0x12, 0x70, 0x4f, 0x2d, 0x09, 0xc8, 0xcf, 0xc9, 0x4c, 0xae, 0xf4, - 0x87, 0x18, 0x23, 0x64, 0xc1, 0x25, 0x51, 0x94, 0x5a, 0x58, 0x9a, 0x5a, 0x5c, 0x92, 0x9a, 0x12, - 0x5f, 0x00, 0x96, 0x8a, 0x2f, 0x4b, 0x2d, 0x2a, 0xce, 0xcc, 0xcf, 0x93, 0x60, 0x54, 0x60, 0xd4, - 0x60, 0x0d, 0x12, 0x83, 0xcb, 0x43, 0x74, 0x86, 0x41, 0x64, 0x9d, 0x5a, 0x18, 0xb9, 0x04, 0x93, - 0xf3, 0x73, 0xf5, 0x50, 0x5c, 0xe0, 0xc4, 0x03, 0x35, 0x38, 0x00, 0x64, 0x63, 0x00, 0x63, 0x94, - 0x01, 0x54, 0x3a, 0x3d, 0x3f, 0x27, 0x31, 0x2f, 0x5d, 0x2f, 0xbf, 0x28, 0x5d, 0x3f, 0x3d, 0x35, - 0x0f, 0xec, 0x1e, 0x7d, 0x88, 0x54, 0x62, 0x41, 0x66, 0x31, 0xd4, 0x73, 0xd6, 0x99, 0x89, 0xb9, - 0x3f, 0x18, 0x19, 0x57, 0x31, 0x09, 0xbb, 0x43, 0x74, 0x39, 0xe7, 0xe4, 0x97, 0xa6, 0xe8, 0x79, - 0x26, 0xe6, 0xea, 0x85, 0x19, 0x9e, 0x82, 0x89, 0xc6, 0x80, 0x45, 0x63, 0x3c, 0x13, 0x73, 0x63, - 0xc2, 0x0c, 0x93, 0xd8, 0xc0, 0x66, 0x19, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xdf, 0x96, 0x0c, - 0x8b, 0x27, 0x01, 0x00, 0x00, -} 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 deleted file mode 100644 index 5ae97c67..00000000 --- a/vendor/google.golang.org/genproto/googleapis/iam/v1/policy.pb.go +++ /dev/null @@ -1,566 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/iam/v1/policy.proto - -package iam - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" - expr "google.golang.org/genproto/googleapis/type/expr" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// The type of action performed on a Binding in a policy. -type BindingDelta_Action int32 - -const ( - // Unspecified. - BindingDelta_ACTION_UNSPECIFIED BindingDelta_Action = 0 - // Addition of a Binding. - BindingDelta_ADD BindingDelta_Action = 1 - // Removal of a Binding. - BindingDelta_REMOVE BindingDelta_Action = 2 -) - -var BindingDelta_Action_name = map[int32]string{ - 0: "ACTION_UNSPECIFIED", - 1: "ADD", - 2: "REMOVE", -} - -var BindingDelta_Action_value = map[string]int32{ - "ACTION_UNSPECIFIED": 0, - "ADD": 1, - "REMOVE": 2, -} - -func (x BindingDelta_Action) String() string { - return proto.EnumName(BindingDelta_Action_name, int32(x)) -} - -func (BindingDelta_Action) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a3cd40b8a66b2a99, []int{3, 0} -} - -// The type of action performed on an audit configuration in a policy. -type AuditConfigDelta_Action int32 - -const ( - // Unspecified. - AuditConfigDelta_ACTION_UNSPECIFIED AuditConfigDelta_Action = 0 - // Addition of an audit configuration. - AuditConfigDelta_ADD AuditConfigDelta_Action = 1 - // Removal of an audit configuration. - AuditConfigDelta_REMOVE AuditConfigDelta_Action = 2 -) - -var AuditConfigDelta_Action_name = map[int32]string{ - 0: "ACTION_UNSPECIFIED", - 1: "ADD", - 2: "REMOVE", -} - -var AuditConfigDelta_Action_value = map[string]int32{ - "ACTION_UNSPECIFIED": 0, - "ADD": 1, - "REMOVE": 2, -} - -func (x AuditConfigDelta_Action) String() string { - return proto.EnumName(AuditConfigDelta_Action_name, int32(x)) -} - -func (AuditConfigDelta_Action) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a3cd40b8a66b2a99, []int{4, 0} -} - -// Defines an Identity and Access Management (IAM) policy. It is used to -// specify access control policies for Cloud Platform resources. -// -// -// A `Policy` is a collection of `bindings`. A `binding` binds one or more -// `members` to a single `role`. Members can be user accounts, service accounts, -// Google groups, and domains (such as G Suite). A `role` is a named list of -// permissions (defined by IAM or configured by users). A `binding` can -// optionally specify a `condition`, which is a logic expression that further -// constrains the role binding based on attributes about the request and/or -// target resource. -// -// **JSON Example** -// -// { -// "bindings": [ -// { -// "role": "roles/resourcemanager.organizationAdmin", -// "members": [ -// "user:mike@example.com", -// "group:admins@example.com", -// "domain:google.com", -// "serviceAccount:my-project-id@appspot.gserviceaccount.com" -// ] -// }, -// { -// "role": "roles/resourcemanager.organizationViewer", -// "members": ["user:eve@example.com"], -// "condition": { -// "title": "expirable access", -// "description": "Does not grant access after Sep 2020", -// "expression": "request.time < -// timestamp('2020-10-01T00:00:00.000Z')", -// } -// } -// ] -// } -// -// **YAML Example** -// -// bindings: -// - members: -// - user:mike@example.com -// - group:admins@example.com -// - domain:google.com -// - serviceAccount:my-project-id@appspot.gserviceaccount.com -// role: roles/resourcemanager.organizationAdmin -// - members: -// - user:eve@example.com -// role: roles/resourcemanager.organizationViewer -// condition: -// title: expirable access -// description: Does not grant access after Sep 2020 -// expression: request.time < timestamp('2020-10-01T00:00:00.000Z') -// -// For a description of IAM and its features, see the -// [IAM developer's guide](https://cloud.google.com/iam/docs). -type Policy struct { - // Specifies the format of the policy. - // - // Valid values are 0, 1, and 3. Requests specifying an invalid value will be - // rejected. - // - // Operations affecting conditional bindings must specify version 3. This can - // be either setting a conditional policy, modifying a conditional binding, - // or removing a conditional binding from the stored conditional policy. - // Operations on non-conditional policies may specify any valid value or - // leave the field unset. - // - // If no etag is provided in the call to `setIamPolicy`, any version - // compliance checks on the incoming and/or stored policy is skipped. - Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` - // Associates a list of `members` to a `role`. Optionally may specify a - // `condition` that determines when binding is in effect. - // `bindings` with no members will result in an error. - Bindings []*Binding `protobuf:"bytes,4,rep,name=bindings,proto3" json:"bindings,omitempty"` - // `etag` is used for optimistic concurrency control as a way to help - // prevent simultaneous updates of a policy from overwriting each other. - // It is strongly suggested that systems make use of the `etag` in the - // read-modify-write cycle to perform policy updates in order to avoid race - // conditions: An `etag` is returned in the response to `getIamPolicy`, and - // systems are expected to put that etag in the request to `setIamPolicy` to - // ensure that their change will be applied to the same version of the policy. - // - // If no `etag` is provided in the call to `setIamPolicy`, then the existing - // policy is overwritten. Due to blind-set semantics of an etag-less policy, - // 'setIamPolicy' will not fail even if either of incoming or stored policy - // does not meet the version requirements. - Etag []byte `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a3cd40b8a66b2a99, []int{0} -} - -func (m *Policy) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Policy.Unmarshal(m, b) -} -func (m *Policy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Policy.Marshal(b, m, deterministic) -} -func (m *Policy) XXX_Merge(src proto.Message) { - xxx_messageInfo_Policy.Merge(m, src) -} -func (m *Policy) XXX_Size() int { - return xxx_messageInfo_Policy.Size(m) -} -func (m *Policy) XXX_DiscardUnknown() { - xxx_messageInfo_Policy.DiscardUnknown(m) -} - -var xxx_messageInfo_Policy proto.InternalMessageInfo - -func (m *Policy) GetVersion() int32 { - if m != nil { - return m.Version - } - return 0 -} - -func (m *Policy) GetBindings() []*Binding { - if m != nil { - return m.Bindings - } - return nil -} - -func (m *Policy) GetEtag() []byte { - if m != nil { - return m.Etag - } - return nil -} - -// Associates `members` with a `role`. -type Binding struct { - // Role that is assigned to `members`. - // For example, `roles/viewer`, `roles/editor`, or `roles/owner`. - Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` - // Specifies the identities requesting access for a Cloud Platform resource. - // `members` can have the following values: - // - // * `allUsers`: A special identifier that represents anyone who is - // on the internet; with or without a Google account. - // - // * `allAuthenticatedUsers`: A special identifier that represents anyone - // who is authenticated with a Google account or a service account. - // - // * `user:{emailid}`: An email address that represents a specific Google - // account. For example, `alice@example.com` . - // - // - // * `serviceAccount:{emailid}`: An email address that represents a service - // account. For example, `my-other-app@appspot.gserviceaccount.com`. - // - // * `group:{emailid}`: An email address that represents a Google group. - // For example, `admins@example.com`. - // - // - // * `domain:{domain}`: The G Suite domain (primary) that represents all the - // users of that domain. For example, `google.com` or `example.com`. - // - // - Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"` - // The condition that is associated with this binding. - // NOTE: An unsatisfied condition will not allow user access via current - // binding. Different bindings, including their conditions, are examined - // independently. - Condition *expr.Expr `protobuf:"bytes,3,opt,name=condition,proto3" json:"condition,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a3cd40b8a66b2a99, []int{1} -} - -func (m *Binding) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Binding.Unmarshal(m, b) -} -func (m *Binding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Binding.Marshal(b, m, deterministic) -} -func (m *Binding) XXX_Merge(src proto.Message) { - xxx_messageInfo_Binding.Merge(m, src) -} -func (m *Binding) XXX_Size() int { - return xxx_messageInfo_Binding.Size(m) -} -func (m *Binding) XXX_DiscardUnknown() { - xxx_messageInfo_Binding.DiscardUnknown(m) -} - -var xxx_messageInfo_Binding proto.InternalMessageInfo - -func (m *Binding) GetRole() string { - if m != nil { - return m.Role - } - return "" -} - -func (m *Binding) GetMembers() []string { - if m != nil { - return m.Members - } - return nil -} - -func (m *Binding) GetCondition() *expr.Expr { - if m != nil { - return m.Condition - } - return nil -} - -// The difference delta between two policies. -type PolicyDelta struct { - // The delta for Bindings between two policies. - BindingDeltas []*BindingDelta `protobuf:"bytes,1,rep,name=binding_deltas,json=bindingDeltas,proto3" json:"binding_deltas,omitempty"` - // The delta for AuditConfigs between two policies. - AuditConfigDeltas []*AuditConfigDelta `protobuf:"bytes,2,rep,name=audit_config_deltas,json=auditConfigDeltas,proto3" json:"audit_config_deltas,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a3cd40b8a66b2a99, []int{2} -} - -func (m *PolicyDelta) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PolicyDelta.Unmarshal(m, b) -} -func (m *PolicyDelta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PolicyDelta.Marshal(b, m, deterministic) -} -func (m *PolicyDelta) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyDelta.Merge(m, src) -} -func (m *PolicyDelta) XXX_Size() int { - return xxx_messageInfo_PolicyDelta.Size(m) -} -func (m *PolicyDelta) XXX_DiscardUnknown() { - xxx_messageInfo_PolicyDelta.DiscardUnknown(m) -} - -var xxx_messageInfo_PolicyDelta proto.InternalMessageInfo - -func (m *PolicyDelta) GetBindingDeltas() []*BindingDelta { - if m != nil { - return m.BindingDeltas - } - return nil -} - -func (m *PolicyDelta) GetAuditConfigDeltas() []*AuditConfigDelta { - if m != nil { - return m.AuditConfigDeltas - } - return nil -} - -// One delta entry for Binding. Each individual change (only one member in each -// entry) to a binding will be a separate entry. -type BindingDelta struct { - // The action that was performed on a Binding. - // Required - Action BindingDelta_Action `protobuf:"varint,1,opt,name=action,proto3,enum=google.iam.v1.BindingDelta_Action" json:"action,omitempty"` - // Role that is assigned to `members`. - // For example, `roles/viewer`, `roles/editor`, or `roles/owner`. - // Required - Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"` - // A single identity requesting access for a Cloud Platform resource. - // Follows the same format of Binding.members. - // Required - Member string `protobuf:"bytes,3,opt,name=member,proto3" json:"member,omitempty"` - // The condition that is associated with this binding. - Condition *expr.Expr `protobuf:"bytes,4,opt,name=condition,proto3" json:"condition,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a3cd40b8a66b2a99, []int{3} -} - -func (m *BindingDelta) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BindingDelta.Unmarshal(m, b) -} -func (m *BindingDelta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BindingDelta.Marshal(b, m, deterministic) -} -func (m *BindingDelta) XXX_Merge(src proto.Message) { - xxx_messageInfo_BindingDelta.Merge(m, src) -} -func (m *BindingDelta) XXX_Size() int { - return xxx_messageInfo_BindingDelta.Size(m) -} -func (m *BindingDelta) XXX_DiscardUnknown() { - xxx_messageInfo_BindingDelta.DiscardUnknown(m) -} - -var xxx_messageInfo_BindingDelta proto.InternalMessageInfo - -func (m *BindingDelta) GetAction() BindingDelta_Action { - if m != nil { - return m.Action - } - return BindingDelta_ACTION_UNSPECIFIED -} - -func (m *BindingDelta) GetRole() string { - if m != nil { - return m.Role - } - return "" -} - -func (m *BindingDelta) GetMember() string { - if m != nil { - return m.Member - } - return "" -} - -func (m *BindingDelta) GetCondition() *expr.Expr { - if m != nil { - return m.Condition - } - return nil -} - -// One delta entry for AuditConfig. Each individual change (only one -// exempted_member in each entry) to a AuditConfig will be a separate entry. -type AuditConfigDelta struct { - // The action that was performed on an audit configuration in a policy. - // Required - Action AuditConfigDelta_Action `protobuf:"varint,1,opt,name=action,proto3,enum=google.iam.v1.AuditConfigDelta_Action" json:"action,omitempty"` - // Specifies a service that was configured for Cloud Audit Logging. - // For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. - // `allServices` is a special value that covers all services. - // Required - Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` - // A single identity that is exempted from "data access" audit - // logging for the `service` specified above. - // Follows the same format of Binding.members. - ExemptedMember string `protobuf:"bytes,3,opt,name=exempted_member,json=exemptedMember,proto3" json:"exempted_member,omitempty"` - // Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always - // enabled, and cannot be configured. - // Required - LogType string `protobuf:"bytes,4,opt,name=log_type,json=logType,proto3" json:"log_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AuditConfigDelta) Reset() { *m = AuditConfigDelta{} } -func (m *AuditConfigDelta) String() string { return proto.CompactTextString(m) } -func (*AuditConfigDelta) ProtoMessage() {} -func (*AuditConfigDelta) Descriptor() ([]byte, []int) { - return fileDescriptor_a3cd40b8a66b2a99, []int{4} -} - -func (m *AuditConfigDelta) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AuditConfigDelta.Unmarshal(m, b) -} -func (m *AuditConfigDelta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AuditConfigDelta.Marshal(b, m, deterministic) -} -func (m *AuditConfigDelta) XXX_Merge(src proto.Message) { - xxx_messageInfo_AuditConfigDelta.Merge(m, src) -} -func (m *AuditConfigDelta) XXX_Size() int { - return xxx_messageInfo_AuditConfigDelta.Size(m) -} -func (m *AuditConfigDelta) XXX_DiscardUnknown() { - xxx_messageInfo_AuditConfigDelta.DiscardUnknown(m) -} - -var xxx_messageInfo_AuditConfigDelta proto.InternalMessageInfo - -func (m *AuditConfigDelta) GetAction() AuditConfigDelta_Action { - if m != nil { - return m.Action - } - return AuditConfigDelta_ACTION_UNSPECIFIED -} - -func (m *AuditConfigDelta) GetService() string { - if m != nil { - return m.Service - } - return "" -} - -func (m *AuditConfigDelta) GetExemptedMember() string { - if m != nil { - return m.ExemptedMember - } - return "" -} - -func (m *AuditConfigDelta) GetLogType() string { - if m != nil { - return m.LogType - } - return "" -} - -func init() { - proto.RegisterEnum("google.iam.v1.BindingDelta_Action", BindingDelta_Action_name, BindingDelta_Action_value) - proto.RegisterEnum("google.iam.v1.AuditConfigDelta_Action", AuditConfigDelta_Action_name, AuditConfigDelta_Action_value) - proto.RegisterType((*Policy)(nil), "google.iam.v1.Policy") - proto.RegisterType((*Binding)(nil), "google.iam.v1.Binding") - proto.RegisterType((*PolicyDelta)(nil), "google.iam.v1.PolicyDelta") - proto.RegisterType((*BindingDelta)(nil), "google.iam.v1.BindingDelta") - proto.RegisterType((*AuditConfigDelta)(nil), "google.iam.v1.AuditConfigDelta") -} - -func init() { proto.RegisterFile("google/iam/v1/policy.proto", fileDescriptor_a3cd40b8a66b2a99) } - -var fileDescriptor_a3cd40b8a66b2a99 = []byte{ - // 550 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x93, 0xcf, 0xae, 0xd2, 0x4e, - 0x14, 0xc7, 0x7f, 0x03, 0xfc, 0xca, 0xe5, 0x70, 0x2f, 0xc2, 0xdc, 0x84, 0x54, 0x34, 0x91, 0x74, - 0xa1, 0xac, 0x5a, 0xc1, 0xb8, 0xd1, 0xc4, 0x84, 0x7f, 0x1a, 0x16, 0xf7, 0x42, 0xc6, 0x2b, 0x0b, - 0x43, 0x42, 0x86, 0x76, 0xac, 0x63, 0xda, 0x4e, 0xd3, 0xf6, 0x12, 0x58, 0xfb, 0x26, 0x2e, 0x7d, - 0x14, 0x1f, 0xc2, 0xad, 0xaf, 0xe0, 0xd2, 0x74, 0xa6, 0x45, 0x68, 0x8c, 0x1a, 0x77, 0x73, 0xce, - 0xf9, 0xce, 0x39, 0xe7, 0xf3, 0x6d, 0x07, 0x3a, 0xae, 0x10, 0xae, 0xc7, 0x2c, 0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 0xfb, 0x90, 0xfd, 0x23, 0xe9, 0xe8, 0x23, 0x82, 0x96, - 0x2d, 0xfc, 0x53, 0x94, 0x51, 0xf6, 0x0b, 0x2e, 0xd2, 0x87, 0xb6, 0x40, 0x6f, 0x1f, 0x67, 0x55, - 0x57, 0x78, 0x34, 0x70, 0x4d, 0x11, 0xb9, 0x96, 0xcb, 0x02, 0xf9, 0x0c, 0x2d, 0x55, 0xa2, 0x21, - 0x8f, 0xb3, 0xa7, 0xfe, 0x9c, 0x53, 0xff, 0x3b, 0x42, 0x9f, 0x4b, 0x97, 0xaf, 0xd4, 0xad, 0xb1, - 0x27, 0x6e, 0x1d, 0x73, 0x46, 0x7d, 0x73, 0xd9, 0xff, 0x92, 0x67, 0x57, 0x32, 0xbb, 0x9a, 0x51, - 0x7f, 0xb5, 0xec, 0x6f, 0x34, 0xd9, 0xeb, 0xc9, 0x8f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x29, 0x86, - 0x8f, 0x3e, 0x35, 0x04, 0x00, 0x00, -} 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 deleted file mode 100644 index b4a6ba8f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/logging/type/http_request.pb.go +++ /dev/null @@ -1,253 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/logging/type/http_request.proto - -package ltype - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A common proto for logging HTTP requests. Only contains semantics -// defined by the HTTP specification. Product-specific logging -// information MUST be defined in a separate message. -type HttpRequest struct { - // The request method. Examples: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`. - RequestMethod string `protobuf:"bytes,1,opt,name=request_method,json=requestMethod,proto3" json:"request_method,omitempty"` - // The scheme (http, https), the host name, the path and the query - // portion of the URL that was requested. - // Example: `"http://example.com/some/info?color=red"`. - RequestUrl string `protobuf:"bytes,2,opt,name=request_url,json=requestUrl,proto3" json:"request_url,omitempty"` - // The size of the HTTP request message in bytes, including the request - // headers and the request body. - RequestSize int64 `protobuf:"varint,3,opt,name=request_size,json=requestSize,proto3" json:"request_size,omitempty"` - // The response code indicating the status of response. - // Examples: 200, 404. - Status int32 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"` - // The size of the HTTP response message sent back to the client, in bytes, - // including the response headers and the response body. - ResponseSize int64 `protobuf:"varint,5,opt,name=response_size,json=responseSize,proto3" json:"response_size,omitempty"` - // The user agent sent by the client. Example: - // `"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET - // CLR 1.0.3705)"`. - UserAgent string `protobuf:"bytes,6,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"` - // The IP address (IPv4 or IPv6) of the client that issued the HTTP - // request. Examples: `"192.168.1.1"`, `"FE80::0202:B3FF:FE1E:8329"`. - RemoteIp string `protobuf:"bytes,7,opt,name=remote_ip,json=remoteIp,proto3" json:"remote_ip,omitempty"` - // The IP address (IPv4 or IPv6) of the origin server that the request was - // sent to. - ServerIp string `protobuf:"bytes,13,opt,name=server_ip,json=serverIp,proto3" json:"server_ip,omitempty"` - // The referer URL of the request, as defined in - // [HTTP/1.1 Header Field - // Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). - Referer string `protobuf:"bytes,8,opt,name=referer,proto3" json:"referer,omitempty"` - // The request processing latency on the server, from the time the request was - // received until the response was sent. - Latency *duration.Duration `protobuf:"bytes,14,opt,name=latency,proto3" json:"latency,omitempty"` - // Whether or not a cache lookup was attempted. - CacheLookup bool `protobuf:"varint,11,opt,name=cache_lookup,json=cacheLookup,proto3" json:"cache_lookup,omitempty"` - // Whether or not an entity was served from cache - // (with or without validation). - CacheHit bool `protobuf:"varint,9,opt,name=cache_hit,json=cacheHit,proto3" json:"cache_hit,omitempty"` - // Whether or not the response was validated with the origin server before - // being served from cache. This field is only meaningful if `cache_hit` is - // True. - CacheValidatedWithOriginServer bool `protobuf:"varint,10,opt,name=cache_validated_with_origin_server,json=cacheValidatedWithOriginServer,proto3" json:"cache_validated_with_origin_server,omitempty"` - // The number of HTTP response bytes inserted into cache. Set only when a - // cache fill was attempted. - CacheFillBytes int64 `protobuf:"varint,12,opt,name=cache_fill_bytes,json=cacheFillBytes,proto3" json:"cache_fill_bytes,omitempty"` - // Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket" - Protocol string `protobuf:"bytes,15,opt,name=protocol,proto3" json:"protocol,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ea45f4ec7ed7b641, []int{0} -} - -func (m *HttpRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HttpRequest.Unmarshal(m, b) -} -func (m *HttpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HttpRequest.Marshal(b, m, deterministic) -} -func (m *HttpRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_HttpRequest.Merge(m, src) -} -func (m *HttpRequest) XXX_Size() int { - return xxx_messageInfo_HttpRequest.Size(m) -} -func (m *HttpRequest) XXX_DiscardUnknown() { - xxx_messageInfo_HttpRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_HttpRequest proto.InternalMessageInfo - -func (m *HttpRequest) GetRequestMethod() string { - if m != nil { - return m.RequestMethod - } - return "" -} - -func (m *HttpRequest) GetRequestUrl() string { - if m != nil { - return m.RequestUrl - } - return "" -} - -func (m *HttpRequest) GetRequestSize() int64 { - if m != nil { - return m.RequestSize - } - return 0 -} - -func (m *HttpRequest) GetStatus() int32 { - if m != nil { - return m.Status - } - return 0 -} - -func (m *HttpRequest) GetResponseSize() int64 { - if m != nil { - return m.ResponseSize - } - return 0 -} - -func (m *HttpRequest) GetUserAgent() string { - if m != nil { - return m.UserAgent - } - return "" -} - -func (m *HttpRequest) GetRemoteIp() string { - if m != nil { - return m.RemoteIp - } - return "" -} - -func (m *HttpRequest) GetServerIp() string { - if m != nil { - return m.ServerIp - } - return "" -} - -func (m *HttpRequest) GetReferer() string { - if m != nil { - return m.Referer - } - return "" -} - -func (m *HttpRequest) GetLatency() *duration.Duration { - if m != nil { - return m.Latency - } - return nil -} - -func (m *HttpRequest) GetCacheLookup() bool { - if m != nil { - return m.CacheLookup - } - return false -} - -func (m *HttpRequest) GetCacheHit() bool { - if m != nil { - return m.CacheHit - } - return false -} - -func (m *HttpRequest) GetCacheValidatedWithOriginServer() bool { - if m != nil { - return m.CacheValidatedWithOriginServer - } - return false -} - -func (m *HttpRequest) GetCacheFillBytes() int64 { - if m != nil { - return m.CacheFillBytes - } - return 0 -} - -func (m *HttpRequest) GetProtocol() string { - if m != nil { - return m.Protocol - } - return "" -} - -func init() { - proto.RegisterType((*HttpRequest)(nil), "google.logging.type.HttpRequest") -} - -func init() { - proto.RegisterFile("google/logging/type/http_request.proto", fileDescriptor_ea45f4ec7ed7b641) -} - -var fileDescriptor_ea45f4ec7ed7b641 = []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,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, 0xf7, 0x5a, 0x73, 0x21, 0xf2, 0xc5, 0xd6, 0x82, 0x61, 0x43, - 0x9c, 0xed, 0x18, 0xf3, 0x37, 0x5c, 0x88, 0x99, 0x4b, 0xe9, 0x84, 0xf4, 0xf0, 0x3f, 0x2d, 0xa5, - 0x60, 0xb7, 0xfc, 0x80, 0xda, 0xf5, 0xec, 0x67, 0x44, 0xee, 0x2e, 0xe5, 0x26, 0xb9, 0xe1, 0x2d, - 0xce, 0x0e, 0xfe, 0x79, 0x4a, 0x17, 0xae, 0x70, 0x11, 0x7d, 0x7d, 0x1e, 0xc4, 0x52, 0x8a, 0xa2, - 0x2e, 0x13, 0xa9, 0xcb, 0xb4, 0x84, 0x1a, 0xb7, 0x4b, 0x3d, 0x2a, 0x14, 0x37, 0xff, 0xbd, 0xfd, - 0x17, 0xc2, 0xfd, 0xfe, 0xda, 0x39, 0x7c, 0xeb, 0xab, 0xaf, 0x84, 0x6c, 0x56, 0xc9, 0x79, 0x38, - 0xe9, 0xe3, 0x56, 0xc1, 0x9f, 0x96, 0xcd, 0x91, 0xcd, 0x03, 0x9b, 0x3b, 0xb6, 0xe8, 0xe0, 0xe6, - 0x27, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x43, 0x25, 0x30, 0x14, 0x57, 0x03, 0x00, 0x00, -} 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 deleted file mode 100644 index 727ff367..00000000 --- a/vendor/google.golang.org/genproto/googleapis/logging/type/log_severity.pb.go +++ /dev/null @@ -1,126 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/logging/type/log_severity.proto - -package ltype - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The severity of the event described in a log entry, expressed as one of the -// standard severity levels listed below. For your reference, the levels are -// assigned the listed numeric values. The effect of using numeric values other -// than those listed is undefined. -// -// You can filter for log entries by severity. For example, the following -// filter expression will match log entries with severities `INFO`, `NOTICE`, -// and `WARNING`: -// -// severity > DEBUG AND severity <= WARNING -// -// If you are writing log entries, you should map other severity encodings to -// one of these standard levels. For example, you might map all of Java's FINE, -// FINER, and FINEST levels to `LogSeverity.DEBUG`. You can preserve the -// original severity level in the log entry payload if you wish. -type LogSeverity int32 - -const ( - // (0) The log entry has no assigned severity level. - LogSeverity_DEFAULT LogSeverity = 0 - // (100) Debug or trace information. - LogSeverity_DEBUG LogSeverity = 100 - // (200) Routine information, such as ongoing status or performance. - LogSeverity_INFO LogSeverity = 200 - // (300) Normal but significant events, such as start up, shut down, or - // a configuration change. - LogSeverity_NOTICE LogSeverity = 300 - // (400) Warning events might cause problems. - LogSeverity_WARNING LogSeverity = 400 - // (500) Error events are likely to cause problems. - LogSeverity_ERROR LogSeverity = 500 - // (600) Critical events cause more severe problems or outages. - LogSeverity_CRITICAL LogSeverity = 600 - // (700) A person must take an action immediately. - LogSeverity_ALERT LogSeverity = 700 - // (800) One or more systems are unusable. - LogSeverity_EMERGENCY LogSeverity = 800 -) - -var LogSeverity_name = map[int32]string{ - 0: "DEFAULT", - 100: "DEBUG", - 200: "INFO", - 300: "NOTICE", - 400: "WARNING", - 500: "ERROR", - 600: "CRITICAL", - 700: "ALERT", - 800: "EMERGENCY", -} - -var LogSeverity_value = map[string]int32{ - "DEFAULT": 0, - "DEBUG": 100, - "INFO": 200, - "NOTICE": 300, - "WARNING": 400, - "ERROR": 500, - "CRITICAL": 600, - "ALERT": 700, - "EMERGENCY": 800, -} - -func (x LogSeverity) String() string { - return proto.EnumName(LogSeverity_name, int32(x)) -} - -func (LogSeverity) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_80f950dcc0b66556, []int{0} -} - -func init() { - proto.RegisterEnum("google.logging.type.LogSeverity", LogSeverity_name, LogSeverity_value) -} - -func init() { - proto.RegisterFile("google/logging/type/log_severity.proto", fileDescriptor_80f950dcc0b66556) -} - -var fileDescriptor_80f950dcc0b66556 = []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, - 0xe2, 0x8b, 0x53, 0xcb, 0x52, 0x8b, 0x32, 0x4b, 0x2a, 0xf5, 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, 0x85, - 0x84, 0x21, 0xea, 0xf4, 0xa0, 0xea, 0xf4, 0x40, 0xea, 0xa4, 0x64, 0xa0, 0x9a, 0x13, 0x0b, 0x32, - 0xf5, 0x13, 0xf3, 0xf2, 0xf2, 0x4b, 0x12, 0x4b, 0x32, 0xf3, 0xf3, 0x8a, 0x21, 0x5a, 0xb4, 0x9a, - 0x18, 0xb9, 0xb8, 0x7d, 0xf2, 0xd3, 0x83, 0xa1, 0x06, 0x09, 0x71, 0x73, 0xb1, 0xbb, 0xb8, 0xba, - 0x39, 0x86, 0xfa, 0x84, 0x08, 0x30, 0x08, 0x71, 0x72, 0xb1, 0xba, 0xb8, 0x3a, 0x85, 0xba, 0x0b, - 0xa4, 0x08, 0x71, 0x72, 0xb1, 0x78, 0xfa, 0xb9, 0xf9, 0x0b, 0x9c, 0x60, 0x14, 0xe2, 0xe6, 0x62, - 0xf3, 0xf3, 0x0f, 0xf1, 0x74, 0x76, 0x15, 0x58, 0xc3, 0x24, 0xc4, 0xc3, 0xc5, 0x1e, 0xee, 0x18, - 0xe4, 0xe7, 0xe9, 0xe7, 0x2e, 0x30, 0x81, 0x59, 0x88, 0x8b, 0x8b, 0xd5, 0x35, 0x28, 0xc8, 0x3f, - 0x48, 0xe0, 0x0b, 0xb3, 0x10, 0x2f, 0x17, 0x87, 0x73, 0x90, 0x67, 0x88, 0xa7, 0xb3, 0xa3, 0x8f, - 0xc0, 0x0d, 0x16, 0x90, 0x94, 0xa3, 0x8f, 0x6b, 0x50, 0x88, 0xc0, 0x1e, 0x56, 0x21, 0x3e, 0x2e, - 0x4e, 0x57, 0x5f, 0xd7, 0x20, 0x77, 0x57, 0x3f, 0xe7, 0x48, 0x81, 0x05, 0x6c, 0x4e, 0xf3, 0x19, - 0xb9, 0xc4, 0x93, 0xf3, 0x73, 0xf5, 0xb0, 0x38, 0xdf, 0x49, 0x00, 0xc9, 0x75, 0x01, 0x20, 0x27, - 0x07, 0x30, 0x46, 0x59, 0x40, 0x15, 0xa6, 0xe7, 0xe7, 0x24, 0xe6, 0xa5, 0xeb, 0xe5, 0x17, 0xa5, - 0xeb, 0xa7, 0xa7, 0xe6, 0x81, 0x3d, 0xa4, 0x0f, 0x91, 0x4a, 0x2c, 0xc8, 0x2c, 0x46, 0x09, 0x2e, - 0xeb, 0x1c, 0x10, 0xb9, 0x8a, 0x49, 0xd2, 0x1d, 0xa2, 0xd5, 0x39, 0x27, 0xbf, 0x34, 0x45, 0xcf, - 0x07, 0x6a, 0x53, 0x48, 0x65, 0x41, 0xea, 0x29, 0x98, 0x5c, 0x0c, 0x58, 0x2e, 0x06, 0x2a, 0x17, - 0x03, 0x92, 0x4b, 0x62, 0x03, 0x1b, 0x6e, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xea, 0x8a, 0xa7, - 0x20, 0x8a, 0x01, 0x00, 0x00, -} 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 deleted file mode 100644 index a9c5f6d0..00000000 --- a/vendor/google.golang.org/genproto/googleapis/logging/v2/log_entry.pb.go +++ /dev/null @@ -1,524 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/logging/v2/log_entry.proto - -package logging - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - any "github.com/golang/protobuf/ptypes/any" - _struct "github.com/golang/protobuf/ptypes/struct" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - monitoredres "google.golang.org/genproto/googleapis/api/monitoredres" - _type "google.golang.org/genproto/googleapis/logging/type" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// An individual entry in a log. -// -type LogEntry struct { - // Required. The resource name of the log to which this log entry belongs: - // - // "projects/[PROJECT_ID]/logs/[LOG_ID]" - // "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" - // "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" - // "folders/[FOLDER_ID]/logs/[LOG_ID]" - // - // A project number may optionally be used in place of PROJECT_ID. The project - // number is translated to its corresponding PROJECT_ID internally and the - // `log_name` field will contain PROJECT_ID in queries and exports. - // - // `[LOG_ID]` must be URL-encoded within `log_name`. Example: - // `"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"`. - // `[LOG_ID]` must be less than 512 characters long and can only include the - // following characters: upper and lower case alphanumeric characters, - // forward-slash, underscore, hyphen, and period. - // - // For backward compatibility, if `log_name` begins with a forward-slash, such - // as `/projects/...`, then the log entry is ingested as usual but the - // forward-slash is removed. Listing the log entry will not show the leading - // slash and filtering for a log name with a leading slash will never return - // any results. - LogName string `protobuf:"bytes,12,opt,name=log_name,json=logName,proto3" json:"log_name,omitempty"` - // Required. The monitored resource that produced this log entry. - // - // Example: a log entry that reports a database error would be associated with - // the monitored resource designating the particular database that reported - // the error. - Resource *monitoredres.MonitoredResource `protobuf:"bytes,8,opt,name=resource,proto3" json:"resource,omitempty"` - // Optional. The log entry payload, which can be one of multiple types. - // - // Types that are valid to be assigned to Payload: - // *LogEntry_ProtoPayload - // *LogEntry_TextPayload - // *LogEntry_JsonPayload - Payload isLogEntry_Payload `protobuf_oneof:"payload"` - // 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 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. - // - // Incoming log entries should have timestamps that are no more than the [logs - // retention period](/logging/quotas) in the past, and no more than 24 hours - // in the future. Log entries outside those time boundaries will not be - // available when calling `entries.list`, but 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 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 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 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"` - // Optional. Information about the HTTP request associated with this log - // entry, if applicable. - HttpRequest *_type.HttpRequest `protobuf:"bytes,7,opt,name=http_request,json=httpRequest,proto3" json:"http_request,omitempty"` - // Optional. A set of user-defined (key, value) data that provides additional - // information about the log entry. - 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"` - // Deprecated. Output only. Additional metadata about the monitored resource. - // - // Only `k8s_container`, `k8s_pod`, and `k8s_node` MonitoredResources have - // this field populated for GKE versions older than 1.12.6. For GKE versions - // 1.12.6 and above, the `metadata` field has been deprecated. The Kubernetes - // pod labels that used to be in `metadata.userLabels` will now be present in - // the `labels` field with a key prefix of `k8s-pod/`. The Stackdriver system - // labels that were present in the `metadata.systemLabels` field will no - // longer be available in the LogEntry. - Metadata *monitoredres.MonitoredResourceMetadata `protobuf:"bytes,25,opt,name=metadata,proto3" json:"metadata,omitempty"` // Deprecated: Do not use. - // Optional. Information about an operation associated with the log entry, if - // applicable. - Operation *LogEntryOperation `protobuf:"bytes,15,opt,name=operation,proto3" json:"operation,omitempty"` - // Optional. Resource name of the trace associated with the log entry, if any. - // If it contains a relative resource name, the name is assumed to be relative - // 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 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8ba2017251165146, []int{0} -} - -func (m *LogEntry) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LogEntry.Unmarshal(m, b) -} -func (m *LogEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LogEntry.Marshal(b, m, deterministic) -} -func (m *LogEntry) XXX_Merge(src proto.Message) { - xxx_messageInfo_LogEntry.Merge(m, src) -} -func (m *LogEntry) XXX_Size() int { - return xxx_messageInfo_LogEntry.Size(m) -} -func (m *LogEntry) XXX_DiscardUnknown() { - xxx_messageInfo_LogEntry.DiscardUnknown(m) -} - -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() -} - -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 (m *LogEntry) GetProtoPayload() *any.Any { - if x, ok := m.GetPayload().(*LogEntry_ProtoPayload); ok { - return x.ProtoPayload - } - return nil -} - -func (m *LogEntry) GetTextPayload() string { - if x, ok := m.GetPayload().(*LogEntry_TextPayload); ok { - return x.TextPayload - } - return "" -} - -func (m *LogEntry) GetJsonPayload() *_struct.Struct { - if x, ok := m.GetPayload().(*LogEntry_JsonPayload); ok { - return x.JsonPayload - } - return nil -} - -func (m *LogEntry) GetTimestamp() *timestamp.Timestamp { - if m != nil { - return m.Timestamp - } - return nil -} - -func (m *LogEntry) GetReceiveTimestamp() *timestamp.Timestamp { - if m != nil { - return m.ReceiveTimestamp - } - return nil -} - -func (m *LogEntry) GetSeverity() _type.LogSeverity { - if m != nil { - return m.Severity - } - return _type.LogSeverity_DEFAULT -} - -func (m *LogEntry) GetInsertId() string { - if m != nil { - return m.InsertId - } - return "" -} - -func (m *LogEntry) GetHttpRequest() *_type.HttpRequest { - if m != nil { - return m.HttpRequest - } - return nil -} - -func (m *LogEntry) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -// Deprecated: Do not use. -func (m *LogEntry) GetMetadata() *monitoredres.MonitoredResourceMetadata { - if m != nil { - return m.Metadata - } - return nil -} - -func (m *LogEntry) GetOperation() *LogEntryOperation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *LogEntry) GetTrace() string { - if m != nil { - return m.Trace - } - return "" -} - -func (m *LogEntry) GetSpanId() string { - if m != nil { - return m.SpanId - } - 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 - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*LogEntry) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*LogEntry_ProtoPayload)(nil), - (*LogEntry_TextPayload)(nil), - (*LogEntry_JsonPayload)(nil), - } -} - -// Additional information about a potentially long-running operation with which -// a log entry is associated. -type LogEntryOperation struct { - // Optional. An arbitrary operation identifier. Log entries with the same - // identifier are assumed to be part of the same operation. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // Optional. An arbitrary producer identifier. The combination of `id` and - // `producer` must be globally unique. Examples for `producer`: - // `"MyDivision.MyBigCompany.com"`, `"github.com/MyProject/MyApplication"`. - Producer string `protobuf:"bytes,2,opt,name=producer,proto3" json:"producer,omitempty"` - // Optional. Set this to True if this is the first log entry in the operation. - First bool `protobuf:"varint,3,opt,name=first,proto3" json:"first,omitempty"` - // Optional. Set this to True if this is the last log entry in the operation. - Last bool `protobuf:"varint,4,opt,name=last,proto3" json:"last,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8ba2017251165146, []int{1} -} - -func (m *LogEntryOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LogEntryOperation.Unmarshal(m, b) -} -func (m *LogEntryOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LogEntryOperation.Marshal(b, m, deterministic) -} -func (m *LogEntryOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_LogEntryOperation.Merge(m, src) -} -func (m *LogEntryOperation) XXX_Size() int { - return xxx_messageInfo_LogEntryOperation.Size(m) -} -func (m *LogEntryOperation) XXX_DiscardUnknown() { - xxx_messageInfo_LogEntryOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_LogEntryOperation proto.InternalMessageInfo - -func (m *LogEntryOperation) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *LogEntryOperation) GetProducer() string { - if m != nil { - return m.Producer - } - return "" -} - -func (m *LogEntryOperation) GetFirst() bool { - if m != nil { - return m.First - } - return false -} - -func (m *LogEntryOperation) GetLast() bool { - if m != nil { - return m.Last - } - return false -} - -// Additional information about the source code location that produced the log -// entry. -type LogEntrySourceLocation struct { - // Optional. Source file name. Depending on the runtime environment, this - // might be a simple name or a fully-qualified name. - File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` - // Optional. Line within the source file. 1-based; 0 indicates no line number - // available. - Line int64 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"` - // Optional. Human-readable name of the function or method being invoked, with - // optional context such as the class or package name. This information may be - // used in contexts such as the logs viewer, where a file and line number are - // less meaningful. The format can vary by language. For example: - // `qual.if.ied.Class.method` (Java), `dir/package.func` (Go), `function` - // (Python). - Function string `protobuf:"bytes,3,opt,name=function,proto3" json:"function,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_8ba2017251165146, []int{2} -} - -func (m *LogEntrySourceLocation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LogEntrySourceLocation.Unmarshal(m, b) -} -func (m *LogEntrySourceLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LogEntrySourceLocation.Marshal(b, m, deterministic) -} -func (m *LogEntrySourceLocation) XXX_Merge(src proto.Message) { - xxx_messageInfo_LogEntrySourceLocation.Merge(m, src) -} -func (m *LogEntrySourceLocation) XXX_Size() int { - return xxx_messageInfo_LogEntrySourceLocation.Size(m) -} -func (m *LogEntrySourceLocation) XXX_DiscardUnknown() { - xxx_messageInfo_LogEntrySourceLocation.DiscardUnknown(m) -} - -var xxx_messageInfo_LogEntrySourceLocation proto.InternalMessageInfo - -func (m *LogEntrySourceLocation) GetFile() string { - if m != nil { - return m.File - } - return "" -} - -func (m *LogEntrySourceLocation) GetLine() int64 { - if m != nil { - return m.Line - } - return 0 -} - -func (m *LogEntrySourceLocation) GetFunction() string { - if m != nil { - return m.Function - } - return "" -} - -func init() { - proto.RegisterType((*LogEntry)(nil), "google.logging.v2.LogEntry") - proto.RegisterMapType((map[string]string)(nil), "google.logging.v2.LogEntry.LabelsEntry") - proto.RegisterType((*LogEntryOperation)(nil), "google.logging.v2.LogEntryOperation") - proto.RegisterType((*LogEntrySourceLocation)(nil), "google.logging.v2.LogEntrySourceLocation") -} - -func init() { proto.RegisterFile("google/logging/v2/log_entry.proto", fileDescriptor_8ba2017251165146) } - -var fileDescriptor_8ba2017251165146 = []byte{ - // 785 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x55, 0xdb, 0x8e, 0xdb, 0x36, - 0x10, 0x8d, 0xec, 0x74, 0x2d, 0xd3, 0xde, 0x4d, 0x96, 0x48, 0x63, 0xad, 0xd3, 0x8b, 0xbb, 0xe9, - 0xc5, 0x7d, 0x91, 0x00, 0xf7, 0x65, 0xd3, 0x04, 0x28, 0xea, 0x20, 0xc8, 0x06, 0x70, 0xda, 0x80, - 0x2e, 0xf2, 0x50, 0x18, 0x10, 0xb8, 0x12, 0xad, 0xb0, 0x95, 0x48, 0x95, 0xa4, 0x8c, 0xfa, 0x53, - 0xfa, 0x0b, 0xfd, 0x94, 0xfe, 0x43, 0xff, 0xa3, 0x8f, 0x05, 0x47, 0x94, 0xbc, 0xb5, 0x03, 0xf7, - 0x6d, 0x86, 0x73, 0xce, 0xcc, 0xe1, 0xd1, 0xd0, 0x46, 0x9f, 0x65, 0x52, 0x66, 0x39, 0x8b, 0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, - 0xb5, 0xb9, 0x9d, 0xb2, 0xe6, 0x4a, 0x1b, 0x78, 0x79, 0x3e, 0xa9, 0x13, 0x8c, 0xd1, 0xdd, 0x9c, - 0x6a, 0x03, 0xdb, 0xe6, 0x13, 0x88, 0x2f, 0x57, 0xe8, 0xe1, 0xfb, 0xaf, 0x66, 0xd1, 0x6b, 0x9e, - 0x33, 0x37, 0x11, 0x62, 0xe8, 0xc0, 0x45, 0x2d, 0xbe, 0x4b, 0x20, 0xb6, 0x3a, 0xd6, 0x95, 0x48, - 0xc0, 0xbf, 0x6e, 0xad, 0xa3, 0xc9, 0xe7, 0x7f, 0x78, 0xe8, 0xc3, 0x44, 0x16, 0x87, 0x7e, 0xce, - 0x4f, 0x9b, 0xa9, 0x6f, 0xe0, 0x87, 0xc3, 0xfb, 0xf9, 0xca, 0x61, 0x32, 0x99, 0x53, 0x91, 0x85, - 0x52, 0x65, 0x51, 0xc6, 0x04, 0x3c, 0xc4, 0xa8, 0x2e, 0xd1, 0x92, 0xeb, 0x5b, 0x7f, 0x17, 0x4f, - 0x5d, 0xf8, 0x8f, 0xe7, 0xfd, 0xd9, 0x19, 0xbd, 0xac, 0xd9, 0xcf, 0x73, 0x59, 0xa5, 0xf6, 0x63, - 0xc1, 0x9c, 0xb7, 0xb3, 0xbf, 0x9a, 0xca, 0x0a, 0x2a, 0x2b, 0x57, 0x59, 0xbd, 0x9d, 0xdd, 0x9c, - 0x40, 0xef, 0x6f, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x32, 0xc1, 0x34, 0x19, 0x89, 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 deleted file mode 100644 index 90410873..00000000 --- a/vendor/google.golang.org/genproto/googleapis/logging/v2/logging.pb.go +++ /dev/null @@ -1,1066 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/logging/v2/logging.proto - -package logging - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/duration" - empty "github.com/golang/protobuf/ptypes/empty" - _ "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - monitoredres "google.golang.org/genproto/googleapis/api/monitoredres" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The parameters to DeleteLog. -type DeleteLogRequest struct { - // Required. The resource name of the log to delete: - // - // "projects/[PROJECT_ID]/logs/[LOG_ID]" - // "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" - // "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"`, - // `"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"`. - // For more information about log names, see - // [LogEntry][google.logging.v2.LogEntry]. - LogName string `protobuf:"bytes,1,opt,name=log_name,json=logName,proto3" json:"log_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_6a8ba408154557e4, []int{0} -} - -func (m *DeleteLogRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteLogRequest.Unmarshal(m, b) -} -func (m *DeleteLogRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteLogRequest.Marshal(b, m, deterministic) -} -func (m *DeleteLogRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteLogRequest.Merge(m, src) -} -func (m *DeleteLogRequest) XXX_Size() int { - return xxx_messageInfo_DeleteLogRequest.Size(m) -} -func (m *DeleteLogRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteLogRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteLogRequest proto.InternalMessageInfo - -func (m *DeleteLogRequest) GetLogName() string { - if m != nil { - return m.LogName - } - return "" -} - -// The parameters to WriteLogEntries. -type WriteLogEntriesRequest struct { - // Optional. A default log resource name that is assigned to all log entries - // in `entries` that do not specify a value for `log_name`: - // - // "projects/[PROJECT_ID]/logs/[LOG_ID]" - // "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" - // "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" - // "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: - // - // { "type": "gce_instance", - // "labels": { - // "zone": "us-central1-a", "instance_id": "00000000000000000000" }} - // - // See [LogEntry][google.logging.v2.LogEntry]. - Resource *monitoredres.MonitoredResource `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"` - // Optional. Default labels that are added to the `labels` field of all log - // entries in `entries`. If a log entry already has a label with the same key - // 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 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 - // fields. For more information, see the - // [LogEntry][google.logging.v2.LogEntry] type. - // - // If the `timestamp` or `insert_id` fields are missing in log entries, then - // this method supplies the current time or a unique identifier, respectively. - // The supplied values are chosen so that, among the log entries that did not - // supply their own values, the entries earlier in the list will sort before - // the entries later in the list. See the `entries.list` method. - // - // Log entries with timestamps that are more than the - // [logs retention period](/logging/quota-policy) in the past or more than - // 24 hours in the future will not be available when calling `entries.list`. - // However, those log entries can still be - // [exported with LogSinks](/logging/docs/api/tasks/exporting-logs). - // - // To improve throughput and to avoid exceeding the - // [quota limit](/logging/quota-policy) for calls to `entries.write`, - // you should try to include several log entries in this list, - // rather than calling this method for each individual log entry. - Entries []*LogEntry `protobuf:"bytes,4,rep,name=entries,proto3" json:"entries,omitempty"` - // Optional. Whether valid entries should be written even if some other - // entries fail due to INVALID_ARGUMENT or PERMISSION_DENIED errors. If any - // entry is not written, then the response status is the error associated - // with one of the failed entries and the response includes error details - // keyed by the entries' zero-based index in the `entries.write` method. - PartialSuccess bool `protobuf:"varint,5,opt,name=partial_success,json=partialSuccess,proto3" json:"partial_success,omitempty"` - // Optional. If true, the request should expect normal response, but the - // entries won't be persisted nor exported. Useful for checking whether the - // logging API endpoints are working properly before sending valuable data. - DryRun bool `protobuf:"varint,6,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_6a8ba408154557e4, []int{1} -} - -func (m *WriteLogEntriesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WriteLogEntriesRequest.Unmarshal(m, b) -} -func (m *WriteLogEntriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WriteLogEntriesRequest.Marshal(b, m, deterministic) -} -func (m *WriteLogEntriesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WriteLogEntriesRequest.Merge(m, src) -} -func (m *WriteLogEntriesRequest) XXX_Size() int { - return xxx_messageInfo_WriteLogEntriesRequest.Size(m) -} -func (m *WriteLogEntriesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_WriteLogEntriesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_WriteLogEntriesRequest proto.InternalMessageInfo - -func (m *WriteLogEntriesRequest) GetLogName() string { - if m != nil { - return m.LogName - } - return "" -} - -func (m *WriteLogEntriesRequest) GetResource() *monitoredres.MonitoredResource { - if m != nil { - return m.Resource - } - return nil -} - -func (m *WriteLogEntriesRequest) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -func (m *WriteLogEntriesRequest) GetEntries() []*LogEntry { - if m != nil { - return m.Entries - } - return nil -} - -func (m *WriteLogEntriesRequest) GetPartialSuccess() bool { - if m != nil { - return m.PartialSuccess - } - return false -} - -func (m *WriteLogEntriesRequest) GetDryRun() bool { - if m != nil { - return m.DryRun - } - return false -} - -// Result returned from WriteLogEntries. -// empty -type WriteLogEntriesResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_6a8ba408154557e4, []int{2} -} - -func (m *WriteLogEntriesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WriteLogEntriesResponse.Unmarshal(m, b) -} -func (m *WriteLogEntriesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WriteLogEntriesResponse.Marshal(b, m, deterministic) -} -func (m *WriteLogEntriesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_WriteLogEntriesResponse.Merge(m, src) -} -func (m *WriteLogEntriesResponse) XXX_Size() int { - return xxx_messageInfo_WriteLogEntriesResponse.Size(m) -} -func (m *WriteLogEntriesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_WriteLogEntriesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_WriteLogEntriesResponse proto.InternalMessageInfo - -// Error details for WriteLogEntries with partial success. -type WriteLogEntriesPartialErrors struct { - // When `WriteLogEntriesRequest.partial_success` is true, records the error - // status for entries that were not written due to a permanent error, keyed - // by the entry's zero-based index in `WriteLogEntriesRequest.entries`. - // - // Failed requests for which no entries are written will not include - // per-entry errors. - LogEntryErrors map[int32]*status.Status `protobuf:"bytes,1,rep,name=log_entry_errors,json=logEntryErrors,proto3" json:"log_entry_errors,omitempty" protobuf_key:"varint,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 *WriteLogEntriesPartialErrors) Reset() { *m = WriteLogEntriesPartialErrors{} } -func (m *WriteLogEntriesPartialErrors) String() string { return proto.CompactTextString(m) } -func (*WriteLogEntriesPartialErrors) ProtoMessage() {} -func (*WriteLogEntriesPartialErrors) Descriptor() ([]byte, []int) { - return fileDescriptor_6a8ba408154557e4, []int{3} -} - -func (m *WriteLogEntriesPartialErrors) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WriteLogEntriesPartialErrors.Unmarshal(m, b) -} -func (m *WriteLogEntriesPartialErrors) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WriteLogEntriesPartialErrors.Marshal(b, m, deterministic) -} -func (m *WriteLogEntriesPartialErrors) XXX_Merge(src proto.Message) { - xxx_messageInfo_WriteLogEntriesPartialErrors.Merge(m, src) -} -func (m *WriteLogEntriesPartialErrors) XXX_Size() int { - return xxx_messageInfo_WriteLogEntriesPartialErrors.Size(m) -} -func (m *WriteLogEntriesPartialErrors) XXX_DiscardUnknown() { - xxx_messageInfo_WriteLogEntriesPartialErrors.DiscardUnknown(m) -} - -var xxx_messageInfo_WriteLogEntriesPartialErrors proto.InternalMessageInfo - -func (m *WriteLogEntriesPartialErrors) GetLogEntryErrors() map[int32]*status.Status { - if m != nil { - return m.LogEntryErrors - } - return nil -} - -// The parameters to `ListLogEntries`. -type ListLogEntriesRequest struct { - // Deprecated. Use `resource_names` instead. One or more project identifiers - // or project numbers from which to retrieve log entries. Example: - // `"my-project-1A"`. - ProjectIds []string `protobuf:"bytes,1,rep,name=project_ids,json=projectIds,proto3" json:"project_ids,omitempty"` // Deprecated: Do not use. - // Required. Names of one or more parent resources from which to - // retrieve log entries: - // - // "projects/[PROJECT_ID]" - // "organizations/[ORGANIZATION_ID]" - // "billingAccounts/[BILLING_ACCOUNT_ID]" - // "folders/[FOLDER_ID]" - // - // - // Projects listed in the `project_ids` field are added to this list. - ResourceNames []string `protobuf:"bytes,8,rep,name=resource_names,json=resourceNames,proto3" json:"resource_names,omitempty"` - // Optional. A filter that chooses which log entries to return. See [Advanced - // Logs Filters](/logging/docs/view/advanced_filters). Only log entries that - // match the filter are returned. An empty filter matches all log entries in - // the resources listed in `resource_names`. Referencing a parent resource - // that is not listed in `resource_names` will cause the filter to return no - // results. - // The maximum length of the filter is 20000 characters. - Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` - // Optional. How the results should be sorted. Presently, the only permitted - // values are `"timestamp asc"` (default) and `"timestamp desc"`. The first - // option returns entries in order of increasing values of - // `LogEntry.timestamp` (oldest first), and the second option returns entries - // in order of decreasing timestamps (newest first). Entries with equal - // timestamps are returned in order of their `insert_id` values. - OrderBy string `protobuf:"bytes,3,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` - // Optional. The maximum number of results to return from this request. - // Non-positive values are ignored. The presence of `next_page_token` in the - // response indicates that more results might be available. - PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional. If present, then retrieve the next batch of results from the - // preceding call to this method. `page_token` must be the value of - // `next_page_token` from the previous response. The values of other method - // parameters should be identical to those in the previous call. - 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 *ListLogEntriesRequest) Reset() { *m = ListLogEntriesRequest{} } -func (m *ListLogEntriesRequest) String() string { return proto.CompactTextString(m) } -func (*ListLogEntriesRequest) ProtoMessage() {} -func (*ListLogEntriesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6a8ba408154557e4, []int{4} -} - -func (m *ListLogEntriesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListLogEntriesRequest.Unmarshal(m, b) -} -func (m *ListLogEntriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListLogEntriesRequest.Marshal(b, m, deterministic) -} -func (m *ListLogEntriesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListLogEntriesRequest.Merge(m, src) -} -func (m *ListLogEntriesRequest) XXX_Size() int { - return xxx_messageInfo_ListLogEntriesRequest.Size(m) -} -func (m *ListLogEntriesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListLogEntriesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListLogEntriesRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *ListLogEntriesRequest) GetProjectIds() []string { - if m != nil { - return m.ProjectIds - } - return nil -} - -func (m *ListLogEntriesRequest) GetResourceNames() []string { - if m != nil { - return m.ResourceNames - } - return nil -} - -func (m *ListLogEntriesRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListLogEntriesRequest) GetOrderBy() string { - if m != nil { - return m.OrderBy - } - return "" -} - -func (m *ListLogEntriesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListLogEntriesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Result returned from `ListLogEntries`. -type ListLogEntriesResponse struct { - // A list of log entries. If `entries` is empty, `nextPageToken` may still be - // returned, indicating that more entries may exist. See `nextPageToken` for - // more information. - Entries []*LogEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` - // If there might be more results than those appearing in this response, then - // `nextPageToken` is included. To get the next set of results, call this - // method again using the value of `nextPageToken` as `pageToken`. - // - // If a value for `next_page_token` appears and the `entries` field is empty, - // it means that the search found no log entries so far but it did not have - // time to search all the possible log entries. Retry the method with this - // value for `page_token` to continue the search. Alternatively, consider - // speeding up the search by changing your filter to specify a single log name - // or resource type, or to narrow the time range of the search. - 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 *ListLogEntriesResponse) Reset() { *m = ListLogEntriesResponse{} } -func (m *ListLogEntriesResponse) String() string { return proto.CompactTextString(m) } -func (*ListLogEntriesResponse) ProtoMessage() {} -func (*ListLogEntriesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6a8ba408154557e4, []int{5} -} - -func (m *ListLogEntriesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListLogEntriesResponse.Unmarshal(m, b) -} -func (m *ListLogEntriesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListLogEntriesResponse.Marshal(b, m, deterministic) -} -func (m *ListLogEntriesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListLogEntriesResponse.Merge(m, src) -} -func (m *ListLogEntriesResponse) XXX_Size() int { - return xxx_messageInfo_ListLogEntriesResponse.Size(m) -} -func (m *ListLogEntriesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListLogEntriesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListLogEntriesResponse proto.InternalMessageInfo - -func (m *ListLogEntriesResponse) GetEntries() []*LogEntry { - if m != nil { - return m.Entries - } - return nil -} - -func (m *ListLogEntriesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The parameters to ListMonitoredResourceDescriptors -type ListMonitoredResourceDescriptorsRequest struct { - // Optional. The maximum number of results to return from this request. - // Non-positive values are ignored. The presence of `nextPageToken` in the - // response indicates that more results might be available. - PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional. If present, then retrieve the next batch of results from the - // preceding call to this method. `pageToken` must be the value of - // `nextPageToken` from the previous response. The values of other method - // parameters should be identical to those in the previous call. - PageToken string `protobuf:"bytes,2,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 *ListMonitoredResourceDescriptorsRequest) Reset() { - *m = ListMonitoredResourceDescriptorsRequest{} -} -func (m *ListMonitoredResourceDescriptorsRequest) String() string { return proto.CompactTextString(m) } -func (*ListMonitoredResourceDescriptorsRequest) ProtoMessage() {} -func (*ListMonitoredResourceDescriptorsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6a8ba408154557e4, []int{6} -} - -func (m *ListMonitoredResourceDescriptorsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListMonitoredResourceDescriptorsRequest.Unmarshal(m, b) -} -func (m *ListMonitoredResourceDescriptorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListMonitoredResourceDescriptorsRequest.Marshal(b, m, deterministic) -} -func (m *ListMonitoredResourceDescriptorsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListMonitoredResourceDescriptorsRequest.Merge(m, src) -} -func (m *ListMonitoredResourceDescriptorsRequest) XXX_Size() int { - return xxx_messageInfo_ListMonitoredResourceDescriptorsRequest.Size(m) -} -func (m *ListMonitoredResourceDescriptorsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListMonitoredResourceDescriptorsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListMonitoredResourceDescriptorsRequest proto.InternalMessageInfo - -func (m *ListMonitoredResourceDescriptorsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListMonitoredResourceDescriptorsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Result returned from ListMonitoredResourceDescriptors. -type ListMonitoredResourceDescriptorsResponse struct { - // A list of resource descriptors. - ResourceDescriptors []*monitoredres.MonitoredResourceDescriptor `protobuf:"bytes,1,rep,name=resource_descriptors,json=resourceDescriptors,proto3" json:"resource_descriptors,omitempty"` - // If there might be more results than those appearing in this response, then - // `nextPageToken` is included. To get the next set of results, call this - // method again using the value of `nextPageToken` as `pageToken`. - 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 *ListMonitoredResourceDescriptorsResponse) Reset() { - *m = ListMonitoredResourceDescriptorsResponse{} -} -func (m *ListMonitoredResourceDescriptorsResponse) String() string { return proto.CompactTextString(m) } -func (*ListMonitoredResourceDescriptorsResponse) ProtoMessage() {} -func (*ListMonitoredResourceDescriptorsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6a8ba408154557e4, []int{7} -} - -func (m *ListMonitoredResourceDescriptorsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListMonitoredResourceDescriptorsResponse.Unmarshal(m, b) -} -func (m *ListMonitoredResourceDescriptorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListMonitoredResourceDescriptorsResponse.Marshal(b, m, deterministic) -} -func (m *ListMonitoredResourceDescriptorsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListMonitoredResourceDescriptorsResponse.Merge(m, src) -} -func (m *ListMonitoredResourceDescriptorsResponse) XXX_Size() int { - return xxx_messageInfo_ListMonitoredResourceDescriptorsResponse.Size(m) -} -func (m *ListMonitoredResourceDescriptorsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListMonitoredResourceDescriptorsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListMonitoredResourceDescriptorsResponse proto.InternalMessageInfo - -func (m *ListMonitoredResourceDescriptorsResponse) GetResourceDescriptors() []*monitoredres.MonitoredResourceDescriptor { - if m != nil { - return m.ResourceDescriptors - } - return nil -} - -func (m *ListMonitoredResourceDescriptorsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The parameters to ListLogs. -type ListLogsRequest struct { - // Required. The resource name that owns the logs: - // - // "projects/[PROJECT_ID]" - // "organizations/[ORGANIZATION_ID]" - // "billingAccounts/[BILLING_ACCOUNT_ID]" - // "folders/[FOLDER_ID]" - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. The maximum number of results to return from this request. - // Non-positive values are ignored. The presence of `nextPageToken` in the - // response indicates that more results might be available. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Optional. If present, then retrieve the next batch of results from the - // preceding call to this method. `pageToken` must be the value of - // `nextPageToken` from the previous response. The values of other method - // parameters should be identical to those in the previous call. - 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 *ListLogsRequest) Reset() { *m = ListLogsRequest{} } -func (m *ListLogsRequest) String() string { return proto.CompactTextString(m) } -func (*ListLogsRequest) ProtoMessage() {} -func (*ListLogsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6a8ba408154557e4, []int{8} -} - -func (m *ListLogsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListLogsRequest.Unmarshal(m, b) -} -func (m *ListLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListLogsRequest.Marshal(b, m, deterministic) -} -func (m *ListLogsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListLogsRequest.Merge(m, src) -} -func (m *ListLogsRequest) XXX_Size() int { - return xxx_messageInfo_ListLogsRequest.Size(m) -} -func (m *ListLogsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListLogsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListLogsRequest proto.InternalMessageInfo - -func (m *ListLogsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListLogsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListLogsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Result returned from ListLogs. -type ListLogsResponse struct { - // A list of log names. For example, - // `"projects/my-project/logs/syslog"` or - // `"organizations/123/logs/cloudresourcemanager.googleapis.com%2Factivity"`. - LogNames []string `protobuf:"bytes,3,rep,name=log_names,json=logNames,proto3" json:"log_names,omitempty"` - // If there might be more results than those appearing in this response, then - // `nextPageToken` is included. To get the next set of results, call this - // method again using the value of `nextPageToken` as `pageToken`. - 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 *ListLogsResponse) Reset() { *m = ListLogsResponse{} } -func (m *ListLogsResponse) String() string { return proto.CompactTextString(m) } -func (*ListLogsResponse) ProtoMessage() {} -func (*ListLogsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6a8ba408154557e4, []int{9} -} - -func (m *ListLogsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListLogsResponse.Unmarshal(m, b) -} -func (m *ListLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListLogsResponse.Marshal(b, m, deterministic) -} -func (m *ListLogsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListLogsResponse.Merge(m, src) -} -func (m *ListLogsResponse) XXX_Size() int { - return xxx_messageInfo_ListLogsResponse.Size(m) -} -func (m *ListLogsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListLogsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListLogsResponse proto.InternalMessageInfo - -func (m *ListLogsResponse) GetLogNames() []string { - if m != nil { - return m.LogNames - } - return nil -} - -func (m *ListLogsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -func init() { - proto.RegisterType((*DeleteLogRequest)(nil), "google.logging.v2.DeleteLogRequest") - proto.RegisterType((*WriteLogEntriesRequest)(nil), "google.logging.v2.WriteLogEntriesRequest") - proto.RegisterMapType((map[string]string)(nil), "google.logging.v2.WriteLogEntriesRequest.LabelsEntry") - proto.RegisterType((*WriteLogEntriesResponse)(nil), "google.logging.v2.WriteLogEntriesResponse") - proto.RegisterType((*WriteLogEntriesPartialErrors)(nil), "google.logging.v2.WriteLogEntriesPartialErrors") - proto.RegisterMapType((map[int32]*status.Status)(nil), "google.logging.v2.WriteLogEntriesPartialErrors.LogEntryErrorsEntry") - proto.RegisterType((*ListLogEntriesRequest)(nil), "google.logging.v2.ListLogEntriesRequest") - proto.RegisterType((*ListLogEntriesResponse)(nil), "google.logging.v2.ListLogEntriesResponse") - proto.RegisterType((*ListMonitoredResourceDescriptorsRequest)(nil), "google.logging.v2.ListMonitoredResourceDescriptorsRequest") - proto.RegisterType((*ListMonitoredResourceDescriptorsResponse)(nil), "google.logging.v2.ListMonitoredResourceDescriptorsResponse") - proto.RegisterType((*ListLogsRequest)(nil), "google.logging.v2.ListLogsRequest") - proto.RegisterType((*ListLogsResponse)(nil), "google.logging.v2.ListLogsResponse") -} - -func init() { proto.RegisterFile("google/logging/v2/logging.proto", fileDescriptor_6a8ba408154557e4) } - -var fileDescriptor_6a8ba408154557e4 = []byte{ - // 1193 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xcf, 0x4f, 0x1b, 0xc7, - 0x17, 0xd7, 0x98, 0xc4, 0xb1, 0x87, 0x6f, 0xc0, 0x99, 0x04, 0xe3, 0xd8, 0x24, 0x18, 0x5b, 0x04, - 0x63, 0x7d, 0xd9, 0x95, 0x5c, 0x45, 0x4a, 0x88, 0x7a, 0x80, 0x04, 0x55, 0x95, 0x48, 0x85, 0x96, - 0x96, 0x48, 0x08, 0xc9, 0x5a, 0x76, 0x87, 0xcd, 0x34, 0xbb, 0x3b, 0xdb, 0x99, 0x59, 0xa8, 0xa9, - 0x72, 0x89, 0xd4, 0xaa, 0x97, 0x9e, 0x7a, 0xe9, 0xb9, 0xb7, 0xf6, 0xd0, 0x63, 0x6f, 0x3d, 0xf6, - 0x92, 0x63, 0xfa, 0x2f, 0xe4, 0x0f, 0x68, 0x6f, 0xbd, 0xb5, 0xda, 0x99, 0x59, 0xb3, 0xfe, 0x01, - 0x98, 0xde, 0xbc,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 0xbe, - 0x8e, 0xbb, 0x58, 0xda, 0x2a, 0x40, 0x12, 0x7f, 0x7a, 0x79, 0x23, 0x07, 0x42, 0xf5, 0xbb, 0xa2, - 0x3e, 0x55, 0x83, 0x66, 0xfc, 0x01, 0x63, 0xf5, 0x33, 0x78, 0x7b, 0x0c, 0x2c, 0xcb, 0xf6, 0xba, - 0x62, 0xdb, 0xca, 0xb2, 0x9d, 0xee, 0xa0, 0xb4, 0x18, 0x16, 0x39, 0xc6, 0xae, 0x94, 0x75, 0xb6, - 0x03, 0xef, 0x00, 0x9c, 0xdb, 0x26, 0x5c, 0x8c, 0x8a, 0xae, 0x09, 0xa7, 0x23, 0x46, 0x3f, 0xc7, - 0x8e, 0xe8, 0x12, 0x57, 0x51, 0x2b, 0x6e, 0xe6, 0x2a, 0xc0, 0x82, 0xda, 0xfc, 0xb1, 0xcb, 0xd1, - 0x32, 0x9c, 0x49, 0xf5, 0x24, 0xe5, 0xc9, 0x2b, 0x85, 0x04, 0x67, 0xdd, 0x4c, 0xad, 0x89, 0x48, - 0x39, 0x2a, 0xc3, 0xfc, 0x11, 0xf1, 0x05, 0x66, 0xfa, 0x0a, 0xf4, 0x57, 0x22, 0x6c, 0xca, 0x5c, - 0xcc, 0xba, 0x87, 0xbd, 0xca, 0x94, 0x12, 0xb6, 0xfc, 0xde, 0xec, 0xa1, 0x1a, 0x2c, 0x46, 0xb6, - 0x87, 0xbb, 0x9c, 0x9c, 0xe2, 0xca, 0x35, 0x49, 0xaf, 0x90, 0x18, 0x76, 0xc9, 0x29, 0x46, 0xf7, - 0x20, 0x94, 0x4e, 0x41, 0x5f, 0xe1, 0x50, 0xea, 0xa5, 0x68, 0x49, 0xf8, 0xa7, 0x89, 0xa1, 0x71, - 0x02, 0xcb, 0xc3, 0x9c, 0xd4, 0xad, 0x66, 0x45, 0x0a, 0xae, 0x20, 0xd2, 0x07, 0x70, 0x36, 0xc4, - 0x5f, 0x8a, 0x6e, 0x26, 0xa9, 0x22, 0x72,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xc8, 0x0c, 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 - -// LoggingServiceV2Client is the client API for LoggingServiceV2 service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type LoggingServiceV2Client interface { - // Deletes all the log entries in a log. - // The log reappears if it receives new entries. - // 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 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 that originated - // from a project/folder/organization/billing account. 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 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. - ListLogs(ctx context.Context, in *ListLogsRequest, opts ...grpc.CallOption) (*ListLogsResponse, error) -} - -type loggingServiceV2Client struct { - cc *grpc.ClientConn -} - -func NewLoggingServiceV2Client(cc *grpc.ClientConn) LoggingServiceV2Client { - return &loggingServiceV2Client{cc} -} - -func (c *loggingServiceV2Client) DeleteLog(ctx context.Context, in *DeleteLogRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.logging.v2.LoggingServiceV2/DeleteLog", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *loggingServiceV2Client) WriteLogEntries(ctx context.Context, in *WriteLogEntriesRequest, opts ...grpc.CallOption) (*WriteLogEntriesResponse, error) { - out := new(WriteLogEntriesResponse) - err := c.cc.Invoke(ctx, "/google.logging.v2.LoggingServiceV2/WriteLogEntries", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *loggingServiceV2Client) ListLogEntries(ctx context.Context, in *ListLogEntriesRequest, opts ...grpc.CallOption) (*ListLogEntriesResponse, error) { - out := new(ListLogEntriesResponse) - err := c.cc.Invoke(ctx, "/google.logging.v2.LoggingServiceV2/ListLogEntries", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *loggingServiceV2Client) ListMonitoredResourceDescriptors(ctx context.Context, in *ListMonitoredResourceDescriptorsRequest, opts ...grpc.CallOption) (*ListMonitoredResourceDescriptorsResponse, error) { - out := new(ListMonitoredResourceDescriptorsResponse) - err := c.cc.Invoke(ctx, "/google.logging.v2.LoggingServiceV2/ListMonitoredResourceDescriptors", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *loggingServiceV2Client) ListLogs(ctx context.Context, in *ListLogsRequest, opts ...grpc.CallOption) (*ListLogsResponse, error) { - out := new(ListLogsResponse) - err := c.cc.Invoke(ctx, "/google.logging.v2.LoggingServiceV2/ListLogs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// LoggingServiceV2Server is the server API for LoggingServiceV2 service. -type LoggingServiceV2Server interface { - // Deletes all the log entries in a log. - // The log reappears if it receives new entries. - // Log entries written shortly before the delete operation might not be - // deleted. - DeleteLog(context.Context, *DeleteLogRequest) (*empty.Empty, error) - // 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 that originated - // from a project/folder/organization/billing account. 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 Logging. - ListMonitoredResourceDescriptors(context.Context, *ListMonitoredResourceDescriptorsRequest) (*ListMonitoredResourceDescriptorsResponse, error) - // Lists the logs in projects, organizations, folders, or billing accounts. - // Only logs that have entries are listed. - ListLogs(context.Context, *ListLogsRequest) (*ListLogsResponse, error) -} - -// UnimplementedLoggingServiceV2Server can be embedded to have forward compatible implementations. -type UnimplementedLoggingServiceV2Server struct { -} - -func (*UnimplementedLoggingServiceV2Server) DeleteLog(ctx context.Context, req *DeleteLogRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method DeleteLog not implemented") -} -func (*UnimplementedLoggingServiceV2Server) WriteLogEntries(ctx context.Context, req *WriteLogEntriesRequest) (*WriteLogEntriesResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method WriteLogEntries not implemented") -} -func (*UnimplementedLoggingServiceV2Server) ListLogEntries(ctx context.Context, req *ListLogEntriesRequest) (*ListLogEntriesResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListLogEntries not implemented") -} -func (*UnimplementedLoggingServiceV2Server) ListMonitoredResourceDescriptors(ctx context.Context, req *ListMonitoredResourceDescriptorsRequest) (*ListMonitoredResourceDescriptorsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListMonitoredResourceDescriptors not implemented") -} -func (*UnimplementedLoggingServiceV2Server) ListLogs(ctx context.Context, req *ListLogsRequest) (*ListLogsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListLogs not implemented") -} - -func RegisterLoggingServiceV2Server(s *grpc.Server, srv LoggingServiceV2Server) { - s.RegisterService(&_LoggingServiceV2_serviceDesc, srv) -} - -func _LoggingServiceV2_DeleteLog_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteLogRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LoggingServiceV2Server).DeleteLog(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.logging.v2.LoggingServiceV2/DeleteLog", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LoggingServiceV2Server).DeleteLog(ctx, req.(*DeleteLogRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LoggingServiceV2_WriteLogEntries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(WriteLogEntriesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LoggingServiceV2Server).WriteLogEntries(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.logging.v2.LoggingServiceV2/WriteLogEntries", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LoggingServiceV2Server).WriteLogEntries(ctx, req.(*WriteLogEntriesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LoggingServiceV2_ListLogEntries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListLogEntriesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LoggingServiceV2Server).ListLogEntries(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.logging.v2.LoggingServiceV2/ListLogEntries", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LoggingServiceV2Server).ListLogEntries(ctx, req.(*ListLogEntriesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LoggingServiceV2_ListMonitoredResourceDescriptors_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListMonitoredResourceDescriptorsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LoggingServiceV2Server).ListMonitoredResourceDescriptors(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.logging.v2.LoggingServiceV2/ListMonitoredResourceDescriptors", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LoggingServiceV2Server).ListMonitoredResourceDescriptors(ctx, req.(*ListMonitoredResourceDescriptorsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LoggingServiceV2_ListLogs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListLogsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LoggingServiceV2Server).ListLogs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.logging.v2.LoggingServiceV2/ListLogs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LoggingServiceV2Server).ListLogs(ctx, req.(*ListLogsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _LoggingServiceV2_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.logging.v2.LoggingServiceV2", - HandlerType: (*LoggingServiceV2Server)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "DeleteLog", - Handler: _LoggingServiceV2_DeleteLog_Handler, - }, - { - MethodName: "WriteLogEntries", - Handler: _LoggingServiceV2_WriteLogEntries_Handler, - }, - { - MethodName: "ListLogEntries", - Handler: _LoggingServiceV2_ListLogEntries_Handler, - }, - { - MethodName: "ListMonitoredResourceDescriptors", - Handler: _LoggingServiceV2_ListMonitoredResourceDescriptors_Handler, - }, - { - MethodName: "ListLogs", - Handler: _LoggingServiceV2_ListLogs_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/logging/v2/logging.proto", -} 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 deleted file mode 100644 index cd5082fc..00000000 --- a/vendor/google.golang.org/genproto/googleapis/logging/v2/logging_config.pb.go +++ /dev/null @@ -1,1748 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/logging/v2/logging_config.proto - -package logging - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/duration" - empty "github.com/golang/protobuf/ptypes/empty" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// 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 - -const ( - // An unspecified format version that will default to V2. - LogSink_VERSION_FORMAT_UNSPECIFIED LogSink_VersionFormat = 0 - // `LogEntry` version 2 format. - LogSink_V2 LogSink_VersionFormat = 1 - // `LogEntry` version 1 format. - LogSink_V1 LogSink_VersionFormat = 2 -) - -var LogSink_VersionFormat_name = map[int32]string{ - 0: "VERSION_FORMAT_UNSPECIFIED", - 1: "V2", - 2: "V1", -} - -var LogSink_VersionFormat_value = map[string]int32{ - "VERSION_FORMAT_UNSPECIFIED": 0, - "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_775871f9b2cdbeb8, []int{0, 0} -} - -// Describes a sink used to export log entries to one of the following -// destinations in any project: a Cloud Storage bucket, a BigQuery dataset, or a -// Cloud Pub/Sub topic. A logs filter controls which log entries are exported. -// The sink must be created within a project, organization, billing account, or -// folder. -type LogSink struct { - // Required. The client-assigned sink identifier, unique within the - // project. Example: `"my-syslog-errors-to-pubsub"`. Sink identifiers are - // limited to 100 characters and can include only the following characters: - // upper and lower-case alphanumeric characters, underscores, hyphens, and - // periods. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The export destination: - // - // "storage.googleapis.com/[GCS_BUCKET]" - // "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" - // "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" - // - // The sink's `writer_identity`, set when the sink is created, must - // have permission to write to the destination or else the log - // entries are not exported. For more information, see - // [Exporting Logs with Sinks](/logging/docs/api/tasks/exporting-logs). - Destination string `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"` - // Optional. An [advanced logs filter](/logging/docs/view/advanced-queries). The only - // exported log entries are those that are in the resource owning the sink and - // that match the filter. For example: - // - // logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR - Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"` - // Deprecated. The log entry format to use for this sink's exported log - // 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 Logging writes the exported log entries to the sink's destination. - // This field is set by - // [sinks.create][google.logging.v2.ConfigServiceV2.CreateSink] - // and - // [sinks.update][google.logging.v2.ConfigServiceV2.UpdateSink] - // based on the value of `unique_writer_identity` in those methods. - // - // Until you grant this identity write-access to the destination, log entry - // exports from this sink will fail. For more information, - // see [Granting Access for a - // Resource](/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). - // Consult the destination service's documentation to determine the - // appropriate IAM roles to assign to the identity. - WriterIdentity string `protobuf:"bytes,8,opt,name=writer_identity,json=writerIdentity,proto3" json:"writer_identity,omitempty"` - // Optional. This field applies only to sinks owned by organizations and - // folders. If the field is false, the default, only the logs owned by the - // sink's parent resource are available for export. If the field is true, then - // logs from all the projects, folders, and billing accounts contained in the - // sink's parent resource are also available for export. Whether a particular - // log entry from the children is exported depends on the sink's filter - // expression. For example, if this field is true, then the filter - // `resource.type=gce_instance` would export all Compute Engine VM instance - // log entries from all projects in the sink's parent. To only export entries - // from certain child projects, filter on the project part of the log name: - // - // logName:("projects/test-project1/" OR "projects/test-project2/") AND - // resource.type=gce_instance - IncludeChildren bool `protobuf:"varint,9,opt,name=include_children,json=includeChildren,proto3" json:"include_children,omitempty"` - // Optional. Destination dependent options. - // - // Types that are valid to be assigned to Options: - // *LogSink_BigqueryOptions - Options isLogSink_Options `protobuf_oneof:"options"` - // Output only. The creation timestamp of the sink. - // - // This field may not be present for older sinks. - CreateTime *timestamp.Timestamp `protobuf:"bytes,13,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Output only. The last update timestamp of the sink. - // - // This field may not be present for older sinks. - UpdateTime *timestamp.Timestamp `protobuf:"bytes,14,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - // Do not use. This field is ignored. - StartTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Deprecated: Do not use. - // Do not use. This field is ignored. - EndTime *timestamp.Timestamp `protobuf:"bytes,11,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Deprecated: Do not use. - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_775871f9b2cdbeb8, []int{0} -} - -func (m *LogSink) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LogSink.Unmarshal(m, b) -} -func (m *LogSink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LogSink.Marshal(b, m, deterministic) -} -func (m *LogSink) XXX_Merge(src proto.Message) { - xxx_messageInfo_LogSink.Merge(m, src) -} -func (m *LogSink) XXX_Size() int { - return xxx_messageInfo_LogSink.Size(m) -} -func (m *LogSink) XXX_DiscardUnknown() { - xxx_messageInfo_LogSink.DiscardUnknown(m) -} - -var xxx_messageInfo_LogSink proto.InternalMessageInfo - -func (m *LogSink) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *LogSink) GetDestination() string { - if m != nil { - return m.Destination - } - return "" -} - -func (m *LogSink) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -// Deprecated: Do not use. -func (m *LogSink) GetOutputVersionFormat() LogSink_VersionFormat { - if m != nil { - return m.OutputVersionFormat - } - return LogSink_VERSION_FORMAT_UNSPECIFIED -} - -func (m *LogSink) GetWriterIdentity() string { - if m != nil { - return m.WriterIdentity - } - return "" -} - -func (m *LogSink) GetIncludeChildren() bool { - if m != nil { - return m.IncludeChildren - } - return false -} - -type isLogSink_Options interface { - isLogSink_Options() -} - -type LogSink_BigqueryOptions struct { - BigqueryOptions *BigQueryOptions `protobuf:"bytes,12,opt,name=bigquery_options,json=bigqueryOptions,proto3,oneof"` -} - -func (*LogSink_BigqueryOptions) isLogSink_Options() {} - -func (m *LogSink) GetOptions() isLogSink_Options { - if m != nil { - return m.Options - } - return nil -} - -func (m *LogSink) GetBigqueryOptions() *BigQueryOptions { - if x, ok := m.GetOptions().(*LogSink_BigqueryOptions); ok { - return x.BigqueryOptions - } - return nil -} - -func (m *LogSink) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *LogSink) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -// Deprecated: Do not use. -func (m *LogSink) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -// Deprecated: Do not use. -func (m *LogSink) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*LogSink) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*LogSink_BigqueryOptions)(nil), - } -} - -// Options that change functionality of a sink exporting data to BigQuery. -type BigQueryOptions struct { - // Optional. Whether to use [BigQuery's partition - // tables](/bigquery/docs/partitioned-tables). By default, Logging - // creates dated tables based on the log entries' timestamps, e.g. - // syslog_20170523. With partitioned tables the date suffix is no longer - // present and [special query - // syntax](/bigquery/docs/querying-partitioned-tables) has to be used instead. - // In both cases, tables are sharded based on UTC timezone. - UsePartitionedTables bool `protobuf:"varint,1,opt,name=use_partitioned_tables,json=usePartitionedTables,proto3" json:"use_partitioned_tables,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_775871f9b2cdbeb8, []int{1} -} - -func (m *BigQueryOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BigQueryOptions.Unmarshal(m, b) -} -func (m *BigQueryOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BigQueryOptions.Marshal(b, m, deterministic) -} -func (m *BigQueryOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_BigQueryOptions.Merge(m, src) -} -func (m *BigQueryOptions) XXX_Size() int { - return xxx_messageInfo_BigQueryOptions.Size(m) -} -func (m *BigQueryOptions) XXX_DiscardUnknown() { - xxx_messageInfo_BigQueryOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_BigQueryOptions proto.InternalMessageInfo - -func (m *BigQueryOptions) GetUsePartitionedTables() bool { - if m != nil { - return m.UsePartitionedTables - } - return false -} - -// The parameters to `ListSinks`. -type ListSinksRequest struct { - // Required. The parent resource whose sinks are to be listed: - // - // "projects/[PROJECT_ID]" - // "organizations/[ORGANIZATION_ID]" - // "billingAccounts/[BILLING_ACCOUNT_ID]" - // "folders/[FOLDER_ID]" - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. If present, then retrieve the next batch of results from the - // preceding call to this method. `pageToken` must be the value of - // `nextPageToken` from the previous response. The values of other method - // parameters should be identical to those in the previous call. - PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // Optional. The maximum number of results to return from this request. - // Non-positive values are ignored. The presence of `nextPageToken` in the - // response indicates that more results might be available. - 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 *ListSinksRequest) Reset() { *m = ListSinksRequest{} } -func (m *ListSinksRequest) String() string { return proto.CompactTextString(m) } -func (*ListSinksRequest) ProtoMessage() {} -func (*ListSinksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_775871f9b2cdbeb8, []int{2} -} - -func (m *ListSinksRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListSinksRequest.Unmarshal(m, b) -} -func (m *ListSinksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListSinksRequest.Marshal(b, m, deterministic) -} -func (m *ListSinksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSinksRequest.Merge(m, src) -} -func (m *ListSinksRequest) XXX_Size() int { - return xxx_messageInfo_ListSinksRequest.Size(m) -} -func (m *ListSinksRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListSinksRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListSinksRequest proto.InternalMessageInfo - -func (m *ListSinksRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListSinksRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListSinksRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -// Result returned from `ListSinks`. -type ListSinksResponse struct { - // A list of sinks. - Sinks []*LogSink `protobuf:"bytes,1,rep,name=sinks,proto3" json:"sinks,omitempty"` - // If there might be more results than appear in this response, then - // `nextPageToken` is included. To get the next set of results, call the same - // method again using the value of `nextPageToken` as `pageToken`. - 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 *ListSinksResponse) Reset() { *m = ListSinksResponse{} } -func (m *ListSinksResponse) String() string { return proto.CompactTextString(m) } -func (*ListSinksResponse) ProtoMessage() {} -func (*ListSinksResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_775871f9b2cdbeb8, []int{3} -} - -func (m *ListSinksResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListSinksResponse.Unmarshal(m, b) -} -func (m *ListSinksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListSinksResponse.Marshal(b, m, deterministic) -} -func (m *ListSinksResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSinksResponse.Merge(m, src) -} -func (m *ListSinksResponse) XXX_Size() int { - return xxx_messageInfo_ListSinksResponse.Size(m) -} -func (m *ListSinksResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListSinksResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListSinksResponse proto.InternalMessageInfo - -func (m *ListSinksResponse) GetSinks() []*LogSink { - if m != nil { - return m.Sinks - } - return nil -} - -func (m *ListSinksResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The parameters to `GetSink`. -type GetSinkRequest struct { - // Required. The resource name of the sink: - // - // "projects/[PROJECT_ID]/sinks/[SINK_ID]" - // "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" - // "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" - // "folders/[FOLDER_ID]/sinks/[SINK_ID]" - // - // Example: `"projects/my-project-id/sinks/my-sink-id"`. - SinkName string `protobuf:"bytes,1,opt,name=sink_name,json=sinkName,proto3" json:"sink_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_775871f9b2cdbeb8, []int{4} -} - -func (m *GetSinkRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetSinkRequest.Unmarshal(m, b) -} -func (m *GetSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetSinkRequest.Marshal(b, m, deterministic) -} -func (m *GetSinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetSinkRequest.Merge(m, src) -} -func (m *GetSinkRequest) XXX_Size() int { - return xxx_messageInfo_GetSinkRequest.Size(m) -} -func (m *GetSinkRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetSinkRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetSinkRequest proto.InternalMessageInfo - -func (m *GetSinkRequest) GetSinkName() string { - if m != nil { - return m.SinkName - } - return "" -} - -// The parameters to `CreateSink`. -type CreateSinkRequest struct { - // Required. The resource in which to create the sink: - // - // "projects/[PROJECT_ID]" - // "organizations/[ORGANIZATION_ID]" - // "billingAccounts/[BILLING_ACCOUNT_ID]" - // "folders/[FOLDER_ID]" - // - // Examples: `"projects/my-logging-project"`, `"organizations/123456789"`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The new sink, whose `name` parameter is a sink identifier that - // is not already in use. - Sink *LogSink `protobuf:"bytes,2,opt,name=sink,proto3" json:"sink,omitempty"` - // 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 Logging before the addition of - // writer identities to this API. The sink's destination must be in the same - // project as the sink itself. - // - // If this field is set to true, or if the sink is owned by a non-project - // resource such as an organization, then the value of `writer_identity` will - // be a unique service account used only for exports from the new sink. For - // more information, see `writer_identity` in [LogSink][google.logging.v2.LogSink]. - UniqueWriterIdentity bool `protobuf:"varint,3,opt,name=unique_writer_identity,json=uniqueWriterIdentity,proto3" json:"unique_writer_identity,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_775871f9b2cdbeb8, []int{5} -} - -func (m *CreateSinkRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateSinkRequest.Unmarshal(m, b) -} -func (m *CreateSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateSinkRequest.Marshal(b, m, deterministic) -} -func (m *CreateSinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateSinkRequest.Merge(m, src) -} -func (m *CreateSinkRequest) XXX_Size() int { - return xxx_messageInfo_CreateSinkRequest.Size(m) -} -func (m *CreateSinkRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateSinkRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateSinkRequest proto.InternalMessageInfo - -func (m *CreateSinkRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateSinkRequest) GetSink() *LogSink { - if m != nil { - return m.Sink - } - return nil -} - -func (m *CreateSinkRequest) GetUniqueWriterIdentity() bool { - if m != nil { - return m.UniqueWriterIdentity - } - return false -} - -// The parameters to `UpdateSink`. -type UpdateSinkRequest struct { - // Required. The full resource name of the sink to update, including the - // parent resource and the sink identifier: - // - // "projects/[PROJECT_ID]/sinks/[SINK_ID]" - // "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" - // "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" - // "folders/[FOLDER_ID]/sinks/[SINK_ID]" - // - // Example: `"projects/my-project-id/sinks/my-sink-id"`. - SinkName string `protobuf:"bytes,1,opt,name=sink_name,json=sinkName,proto3" json:"sink_name,omitempty"` - // Required. The updated sink, whose name is the same identifier that appears - // as part of `sink_name`. - Sink *LogSink `protobuf:"bytes,2,opt,name=sink,proto3" json:"sink,omitempty"` - // Optional. See [sinks.create][google.logging.v2.ConfigServiceV2.CreateSink] - // for a description of this field. When updating a sink, the effect of this - // field on the value of `writer_identity` in the updated sink depends on both - // the old and new values of this field: - // - // + If the old and new values of this field are both false or both true, - // then there is no change to the sink's `writer_identity`. - // + If the old value is false and the new value is true, then - // `writer_identity` is changed to a unique service account. - // + It is an error if the old value is true and the new value is - // set to false or defaulted to false. - UniqueWriterIdentity bool `protobuf:"varint,3,opt,name=unique_writer_identity,json=uniqueWriterIdentity,proto3" json:"unique_writer_identity,omitempty"` - // Optional. Field mask that specifies the fields in `sink` that need - // an update. A sink field will be overwritten if, and only if, it is - // in the update mask. `name` and output only fields cannot be updated. - // - // An empty updateMask is temporarily treated as using the following mask - // for backwards compatibility purposes: - // destination,filter,includeChildren - // At some point in the future, behavior will be removed and specifying an - // empty updateMask will be an error. - // - // For a detailed `FieldMask` definition, see - // 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_775871f9b2cdbeb8, []int{6} -} - -func (m *UpdateSinkRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateSinkRequest.Unmarshal(m, b) -} -func (m *UpdateSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateSinkRequest.Marshal(b, m, deterministic) -} -func (m *UpdateSinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateSinkRequest.Merge(m, src) -} -func (m *UpdateSinkRequest) XXX_Size() int { - return xxx_messageInfo_UpdateSinkRequest.Size(m) -} -func (m *UpdateSinkRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateSinkRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateSinkRequest proto.InternalMessageInfo - -func (m *UpdateSinkRequest) GetSinkName() string { - if m != nil { - return m.SinkName - } - return "" -} - -func (m *UpdateSinkRequest) GetSink() *LogSink { - if m != nil { - return m.Sink - } - return nil -} - -func (m *UpdateSinkRequest) GetUniqueWriterIdentity() bool { - if m != nil { - return m.UniqueWriterIdentity - } - return false -} - -func (m *UpdateSinkRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// The parameters to `DeleteSink`. -type DeleteSinkRequest struct { - // Required. The full resource name of the sink to delete, including the - // parent resource and the sink identifier: - // - // "projects/[PROJECT_ID]/sinks/[SINK_ID]" - // "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" - // "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" - // "folders/[FOLDER_ID]/sinks/[SINK_ID]" - // - // Example: `"projects/my-project-id/sinks/my-sink-id"`. - SinkName string `protobuf:"bytes,1,opt,name=sink_name,json=sinkName,proto3" json:"sink_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_775871f9b2cdbeb8, []int{7} -} - -func (m *DeleteSinkRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteSinkRequest.Unmarshal(m, b) -} -func (m *DeleteSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteSinkRequest.Marshal(b, m, deterministic) -} -func (m *DeleteSinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteSinkRequest.Merge(m, src) -} -func (m *DeleteSinkRequest) XXX_Size() int { - return xxx_messageInfo_DeleteSinkRequest.Size(m) -} -func (m *DeleteSinkRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteSinkRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteSinkRequest proto.InternalMessageInfo - -func (m *DeleteSinkRequest) GetSinkName() string { - if m != nil { - return m.SinkName - } - return "" -} - -// Specifies a set of log entries that are not to be stored in -// Logging. If your GCP resource receives a large volume of logs, you can -// use exclusions to reduce your chargeable logs. Exclusions are -// processed after log sinks, so you can export log entries before they are -// excluded. Note that organization-level and folder-level exclusions don't -// apply to child resources, and that you can't exclude audit log entries. -type LogExclusion struct { - // Required. A client-assigned identifier, such as - // `"load-balancer-exclusion"`. Identifiers are limited to 100 characters and - // can include only letters, digits, underscores, hyphens, and periods. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Optional. A description of this exclusion. - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - // Required. An [advanced logs filter](/logging/docs/view/advanced-queries) - // that matches the log entries to be excluded. By using the - // [sample function](/logging/docs/view/advanced-queries#sample), - // you can exclude less than 100% of the matching log entries. - // For example, the following query matches 99% of low-severity log - // entries from Google Cloud Storage buckets: - // - // `"resource.type=gcs_bucket severity=ERROR" - // - // The maximum length of the filter is 20000 characters. - Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` - // Optional. The metric descriptor associated with the logs-based metric. - // If unspecified, it uses a default metric descriptor with a DELTA metric - // kind, INT64 value type, with no labels and a unit of "1". Such a metric - // counts the number of log entries matching the `filter` expression. - // - // The `name`, `type`, and `description` fields in the `metric_descriptor` - // are output only, and is constructed using the `name` and `description` - // field in the LogMetric. - // - // To create a logs-based metric that records a distribution of log values, a - // DELTA metric kind with a DISTRIBUTION value type must be used along with - // a `value_extractor` expression in the LogMetric. - // - // Each label in the metric descriptor must have a matching label - // name as the key and an extractor expression as the value in the - // `label_extractors` map. - // - // The `metric_kind` and `value_type` fields in the `metric_descriptor` cannot - // be updated once initially configured. New labels can be added in the - // `metric_descriptor`, but existing labels cannot be modified except for - // their description. - MetricDescriptor *metric.MetricDescriptor `protobuf:"bytes,5,opt,name=metric_descriptor,json=metricDescriptor,proto3" json:"metric_descriptor,omitempty"` - // Optional. A `value_extractor` is required when using a distribution - // logs-based metric to extract the values to record from a log entry. - // Two functions are supported for value extraction: `EXTRACT(field)` or - // `REGEXP_EXTRACT(field, regex)`. The argument are: - // 1. field: The name of the log entry field from which the value is to be - // extracted. - // 2. regex: A regular expression using the Google RE2 syntax - // (https://github.com/google/re2/wiki/Syntax) with a single capture - // group to extract data from the specified log entry field. The value - // of the field is converted to a string before applying the regex. - // It is an error to specify a regex that does not include exactly one - // capture group. - // - // The result of the extraction must be convertible to a double type, as the - // distribution always records double values. If either the extraction or - // the conversion to double fails, then those values are not recorded in the - // distribution. - // - // Example: `REGEXP_EXTRACT(jsonPayload.request, ".*quantity=(\d+).*")` - ValueExtractor string `protobuf:"bytes,6,opt,name=value_extractor,json=valueExtractor,proto3" json:"value_extractor,omitempty"` - // Optional. A map from a label key string to an extractor expression which is - // used to extract data from a log entry field and assign as the label value. - // Each label key specified in the LabelDescriptor must have an associated - // extractor expression in this map. The syntax of the extractor expression - // is the same as for the `value_extractor` field. - // - // The extracted value is converted to the type defined in the label - // descriptor. If the either the extraction or the type conversion fails, - // the label will have a default value. The default value for a string - // label is an empty string, for an integer label its 0, and for a boolean - // label its `false`. - // - // Note that there are upper bounds on the maximum number of labels and the - // number of active time series that are allowed in a project. - LabelExtractors map[string]string `protobuf:"bytes,7,rep,name=label_extractors,json=labelExtractors,proto3" json:"label_extractors,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Optional. The `bucket_options` are required when the logs-based metric is - // using a DISTRIBUTION value type and it describes the bucket boundaries - // used to create a histogram of the extracted values. - BucketOptions *distribution.Distribution_BucketOptions `protobuf:"bytes,8,opt,name=bucket_options,json=bucketOptions,proto3" json:"bucket_options,omitempty"` - // Output only. The creation timestamp of the metric. - // - // This field may not be present for older metrics. - CreateTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Output only. The last update timestamp of the metric. - // - // This field may not be present for older metrics. - UpdateTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - // Deprecated. The API version that created or updated this metric. - // The v2 format is used by default and cannot be changed. - Version LogMetric_ApiVersion `protobuf:"varint,4,opt,name=version,proto3,enum=google.logging.v2.LogMetric_ApiVersion" json:"version,omitempty"` // Deprecated: Do not use. - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_25f112b6cac96ff1, []int{0} -} - -func (m *LogMetric) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LogMetric.Unmarshal(m, b) -} -func (m *LogMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LogMetric.Marshal(b, m, deterministic) -} -func (m *LogMetric) XXX_Merge(src proto.Message) { - xxx_messageInfo_LogMetric.Merge(m, src) -} -func (m *LogMetric) XXX_Size() int { - return xxx_messageInfo_LogMetric.Size(m) -} -func (m *LogMetric) XXX_DiscardUnknown() { - xxx_messageInfo_LogMetric.DiscardUnknown(m) -} - -var xxx_messageInfo_LogMetric proto.InternalMessageInfo - -func (m *LogMetric) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *LogMetric) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *LogMetric) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *LogMetric) GetMetricDescriptor() *metric.MetricDescriptor { - if m != nil { - return m.MetricDescriptor - } - return nil -} - -func (m *LogMetric) GetValueExtractor() string { - if m != nil { - return m.ValueExtractor - } - return "" -} - -func (m *LogMetric) GetLabelExtractors() map[string]string { - if m != nil { - return m.LabelExtractors - } - return nil -} - -func (m *LogMetric) GetBucketOptions() *distribution.Distribution_BucketOptions { - if m != nil { - return m.BucketOptions - } - return nil -} - -func (m *LogMetric) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *LogMetric) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -// Deprecated: Do not use. -func (m *LogMetric) GetVersion() LogMetric_ApiVersion { - if m != nil { - return m.Version - } - return LogMetric_V2 -} - -// The parameters to ListLogMetrics. -type ListLogMetricsRequest struct { - // Required. The name of the project containing the metrics: - // - // "projects/[PROJECT_ID]" - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Optional. If present, then retrieve the next batch of results from the - // preceding call to this method. `pageToken` must be the value of - // `nextPageToken` from the previous response. The values of other method - // parameters should be identical to those in the previous call. - PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // Optional. The maximum number of results to return from this request. - // Non-positive values are ignored. The presence of `nextPageToken` in the - // response indicates that more results might be available. - 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 *ListLogMetricsRequest) Reset() { *m = ListLogMetricsRequest{} } -func (m *ListLogMetricsRequest) String() string { return proto.CompactTextString(m) } -func (*ListLogMetricsRequest) ProtoMessage() {} -func (*ListLogMetricsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25f112b6cac96ff1, []int{1} -} - -func (m *ListLogMetricsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListLogMetricsRequest.Unmarshal(m, b) -} -func (m *ListLogMetricsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListLogMetricsRequest.Marshal(b, m, deterministic) -} -func (m *ListLogMetricsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListLogMetricsRequest.Merge(m, src) -} -func (m *ListLogMetricsRequest) XXX_Size() int { - return xxx_messageInfo_ListLogMetricsRequest.Size(m) -} -func (m *ListLogMetricsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListLogMetricsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListLogMetricsRequest proto.InternalMessageInfo - -func (m *ListLogMetricsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListLogMetricsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListLogMetricsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -// Result returned from ListLogMetrics. -type ListLogMetricsResponse struct { - // A list of logs-based metrics. - Metrics []*LogMetric `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"` - // If there might be more results than appear in this response, then - // `nextPageToken` is included. To get the next set of results, call this - // method again using the value of `nextPageToken` as `pageToken`. - 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 *ListLogMetricsResponse) Reset() { *m = ListLogMetricsResponse{} } -func (m *ListLogMetricsResponse) String() string { return proto.CompactTextString(m) } -func (*ListLogMetricsResponse) ProtoMessage() {} -func (*ListLogMetricsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25f112b6cac96ff1, []int{2} -} - -func (m *ListLogMetricsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListLogMetricsResponse.Unmarshal(m, b) -} -func (m *ListLogMetricsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListLogMetricsResponse.Marshal(b, m, deterministic) -} -func (m *ListLogMetricsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListLogMetricsResponse.Merge(m, src) -} -func (m *ListLogMetricsResponse) XXX_Size() int { - return xxx_messageInfo_ListLogMetricsResponse.Size(m) -} -func (m *ListLogMetricsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListLogMetricsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListLogMetricsResponse proto.InternalMessageInfo - -func (m *ListLogMetricsResponse) GetMetrics() []*LogMetric { - if m != nil { - return m.Metrics - } - return nil -} - -func (m *ListLogMetricsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The parameters to GetLogMetric. -type GetLogMetricRequest struct { - // The resource name of the desired metric: - // - // "projects/[PROJECT_ID]/metrics/[METRIC_ID]" - MetricName string `protobuf:"bytes,1,opt,name=metric_name,json=metricName,proto3" json:"metric_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_25f112b6cac96ff1, []int{3} -} - -func (m *GetLogMetricRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetLogMetricRequest.Unmarshal(m, b) -} -func (m *GetLogMetricRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetLogMetricRequest.Marshal(b, m, deterministic) -} -func (m *GetLogMetricRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetLogMetricRequest.Merge(m, src) -} -func (m *GetLogMetricRequest) XXX_Size() int { - return xxx_messageInfo_GetLogMetricRequest.Size(m) -} -func (m *GetLogMetricRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetLogMetricRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetLogMetricRequest proto.InternalMessageInfo - -func (m *GetLogMetricRequest) GetMetricName() string { - if m != nil { - return m.MetricName - } - return "" -} - -// The parameters to CreateLogMetric. -type CreateLogMetricRequest struct { - // The resource name of the project in which to create the metric: - // - // "projects/[PROJECT_ID]" - // - // The new metric must be provided in the request. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // The new logs-based metric, which must not have an identifier that - // already exists. - Metric *LogMetric `protobuf:"bytes,2,opt,name=metric,proto3" json:"metric,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_25f112b6cac96ff1, []int{4} -} - -func (m *CreateLogMetricRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateLogMetricRequest.Unmarshal(m, b) -} -func (m *CreateLogMetricRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateLogMetricRequest.Marshal(b, m, deterministic) -} -func (m *CreateLogMetricRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateLogMetricRequest.Merge(m, src) -} -func (m *CreateLogMetricRequest) XXX_Size() int { - return xxx_messageInfo_CreateLogMetricRequest.Size(m) -} -func (m *CreateLogMetricRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateLogMetricRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateLogMetricRequest proto.InternalMessageInfo - -func (m *CreateLogMetricRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateLogMetricRequest) GetMetric() *LogMetric { - if m != nil { - return m.Metric - } - return nil -} - -// The parameters to UpdateLogMetric. -type UpdateLogMetricRequest struct { - // The resource name of the metric to update: - // - // "projects/[PROJECT_ID]/metrics/[METRIC_ID]" - // - // The updated metric must be provided in the request and it's - // `name` field must be the same as `[METRIC_ID]` If the metric - // does not exist in `[PROJECT_ID]`, then a new metric is created. - MetricName string `protobuf:"bytes,1,opt,name=metric_name,json=metricName,proto3" json:"metric_name,omitempty"` - // The updated metric. - Metric *LogMetric `protobuf:"bytes,2,opt,name=metric,proto3" json:"metric,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_25f112b6cac96ff1, []int{5} -} - -func (m *UpdateLogMetricRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateLogMetricRequest.Unmarshal(m, b) -} -func (m *UpdateLogMetricRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateLogMetricRequest.Marshal(b, m, deterministic) -} -func (m *UpdateLogMetricRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateLogMetricRequest.Merge(m, src) -} -func (m *UpdateLogMetricRequest) XXX_Size() int { - return xxx_messageInfo_UpdateLogMetricRequest.Size(m) -} -func (m *UpdateLogMetricRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateLogMetricRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateLogMetricRequest proto.InternalMessageInfo - -func (m *UpdateLogMetricRequest) GetMetricName() string { - if m != nil { - return m.MetricName - } - return "" -} - -func (m *UpdateLogMetricRequest) GetMetric() *LogMetric { - if m != nil { - return m.Metric - } - return nil -} - -// The parameters to DeleteLogMetric. -type DeleteLogMetricRequest struct { - // The resource name of the metric to delete: - // - // "projects/[PROJECT_ID]/metrics/[METRIC_ID]" - MetricName string `protobuf:"bytes,1,opt,name=metric_name,json=metricName,proto3" json:"metric_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_25f112b6cac96ff1, []int{6} -} - -func (m *DeleteLogMetricRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteLogMetricRequest.Unmarshal(m, b) -} -func (m *DeleteLogMetricRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteLogMetricRequest.Marshal(b, m, deterministic) -} -func (m *DeleteLogMetricRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteLogMetricRequest.Merge(m, src) -} -func (m *DeleteLogMetricRequest) XXX_Size() int { - return xxx_messageInfo_DeleteLogMetricRequest.Size(m) -} -func (m *DeleteLogMetricRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteLogMetricRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteLogMetricRequest proto.InternalMessageInfo - -func (m *DeleteLogMetricRequest) GetMetricName() string { - if m != nil { - return m.MetricName - } - return "" -} - -func init() { - proto.RegisterEnum("google.logging.v2.LogMetric_ApiVersion", LogMetric_ApiVersion_name, LogMetric_ApiVersion_value) - proto.RegisterType((*LogMetric)(nil), "google.logging.v2.LogMetric") - proto.RegisterMapType((map[string]string)(nil), "google.logging.v2.LogMetric.LabelExtractorsEntry") - proto.RegisterType((*ListLogMetricsRequest)(nil), "google.logging.v2.ListLogMetricsRequest") - proto.RegisterType((*ListLogMetricsResponse)(nil), "google.logging.v2.ListLogMetricsResponse") - proto.RegisterType((*GetLogMetricRequest)(nil), "google.logging.v2.GetLogMetricRequest") - proto.RegisterType((*CreateLogMetricRequest)(nil), "google.logging.v2.CreateLogMetricRequest") - proto.RegisterType((*UpdateLogMetricRequest)(nil), "google.logging.v2.UpdateLogMetricRequest") - proto.RegisterType((*DeleteLogMetricRequest)(nil), "google.logging.v2.DeleteLogMetricRequest") -} - -func init() { - proto.RegisterFile("google/logging/v2/logging_metrics.proto", fileDescriptor_25f112b6cac96ff1) -} - -var fileDescriptor_25f112b6cac96ff1 = []byte{ - // 979 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xc1, 0x6e, 0xdb, 0x46, - 0x10, 0x2d, 0xe5, 0x58, 0x8e, 0x47, 0x8d, 0xa5, 0x6c, 0x12, 0x45, 0x50, 0x1c, 0x58, 0xe5, 0xc1, - 0x56, 0x8c, 0x86, 0x6c, 0xd8, 0xc2, 0x48, 0x1d, 0xf4, 0x60, 0xc5, 0x46, 0x50, 0xc0, 0x69, 0x0d, - 0x25, 0xd5, 0xa1, 0x30, 0x20, 0xac, 0xa8, 0x15, 0xb3, 0x15, 0xc9, 0x65, 0xb9, 0x2b, 0xd9, 0x4e, - 0x91, 0x4b, 0x91, 0x5b, 0xd1, 0x1e, 0xda, 0x73, 0xd1, 0x7b, 0x3f, 0x25, 0xc7, 0xf6, 0x17, 0xf2, - 0x01, 0x3d, 0xf6, 0x58, 0xec, 0x72, 0x29, 0x33, 0x12, 0x6b, 0x29, 0x3e, 0x69, 0x77, 0xe6, 0xcd, - 0xcc, 0x9b, 0x99, 0x47, 0x52, 0xb0, 0xe5, 0x31, 0xe6, 0xf9, 0xc4, 0xf6, 0x99, 0xe7, 0xd1, 0xd0, - 0xb3, 0xc7, 0x4e, 0x7a, 0xec, 0x06, 0x44, 0xc4, 0xd4, 0xe5, 0x56, 0x14, 0x33, 0xc1, 0xd0, 0xf5, - 0x04, 0x68, 0x69, 0xaf, 0x35, 0x76, 0xea, 0x77, 0x75, 0x2c, 0x8e, 0xa8, 0xdd, 0xa7, 0x5c, 0xc4, - 0xb4, 0x37, 0x12, 0x94, 0x85, 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, 0xa1, 0xbb, 0x00, 0x11, 0xf6, 0x48, 0x57, 0xb0, 0x21, 0x49, 0xd5, 0xba, 0x2a, 0x2d, - 0xcf, 0xa5, 0x01, 0xdd, 0x01, 0x75, 0xe9, 0x72, 0xfa, 0x92, 0x28, 0xb9, 0x2e, 0xb7, 0xaf, 0x4a, - 0xc3, 0x33, 0xfa, 0x92, 0x98, 0xa7, 0x50, 0x9d, 0x2e, 0xc6, 0x23, 0x16, 0x72, 0x82, 0x76, 0x60, - 0x45, 0xbf, 0x19, 0x6a, 0x86, 0x52, 0xd3, 0xfa, 0x45, 0xf3, 0x6a, 0xa7, 0x60, 0xb4, 0x09, 0xe5, - 0x90, 0x9c, 0x8a, 0xee, 0x0c, 0xa5, 0x6b, 0xd2, 0x7c, 0x94, 0xd2, 0x32, 0x77, 0xe0, 0xc6, 0x13, - 0x72, 0x5e, 0x38, 0x6d, 0x72, 0x03, 0x4a, 0xfa, 0x09, 0xca, 0x3c, 0x96, 0x90, 0x98, 0xbe, 0xc2, - 0x01, 0x31, 0x07, 0x50, 0x7d, 0xac, 0x24, 0x31, 0x13, 0xfa, 0x7f, 0xf3, 0xf9, 0x0c, 0x8a, 0x49, - 0xbc, 0x22, 0x32, 0xaf, 0x11, 0x8d, 0x35, 0x19, 0x54, 0xbf, 0x51, 0xea, 0x79, 0x6f, 0x8a, 0x97, - 0x2c, 0xf8, 0x39, 0x54, 0xf7, 0x89, 0x4f, 0x2e, 0x51, 0xd0, 0x79, 0xbb, 0x02, 0x15, 0xbd, 0xbf, - 0x67, 0x24, 0x1e, 0x53, 0x97, 0x74, 0x1c, 0xf4, 0x8b, 0x01, 0x6b, 0xef, 0xee, 0x16, 0x35, 0xf3, - 0x88, 0xe4, 0x69, 0xad, 0x7e, 0x6f, 0x01, 0x64, 0x22, 0x14, 0x73, 0xeb, 0xc7, 0xbf, 0xdf, 0xfe, - 0x56, 0xf8, 0x08, 0x6d, 0xc8, 0x8f, 0xca, 0x0f, 0xc9, 0xcc,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, - 0x5a, 0xe6, 0x5f, 0x18, 0x7c, 0x12, 0x53, 0x41, 0x5a, 0x7f, 0x18, 0x70, 0xcb, 0x65, 0xc1, 0xec, - 0x22, 0x5a, 0x37, 0x0e, 0x93, 0xb3, 0x7e, 0x36, 0x8f, 0xe4, 0xdc, 0x8f, 0x8c, 0x6f, 0x1f, 0x6a, - 0xa4, 0xc7, 0x7c, 0x1c, 0x7a, 0x16, 0x8b, 0x3d, 0xdb, 0x23, 0xa1, 0xda, 0x8a, 0x7d, 0x5e, 0x2e, - 0xf3, 0xa7, 0xf0, 0x91, 0x3e, 0xfe, 0x6b, 0x18, 0x7f, 0x16, 0x6e, 0x3f, 0x49, 0xa2, 0x1f, 0xcb, - 0xc1, 0x58, 0xba, 0x82, 0xd5, 0x71, 0xde, 0xa4, 0x9e, 0x63, 0xe5, 0x39, 0xd6, 0x9e, 0xe3, 0x8e, - 0xd3, 0x2b, 0xaa, 0xdc, 0x9f, 0xfe, 0x17, 0x00, 0x00, 0xff, 0xff, 0x8e, 0x73, 0x61, 0x00, 0x6f, - 0x0a, 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 - -// MetricsServiceV2Client is the client API for MetricsServiceV2 service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type MetricsServiceV2Client interface { - // Lists logs-based metrics. - ListLogMetrics(ctx context.Context, in *ListLogMetricsRequest, opts ...grpc.CallOption) (*ListLogMetricsResponse, error) - // Gets a logs-based metric. - GetLogMetric(ctx context.Context, in *GetLogMetricRequest, opts ...grpc.CallOption) (*LogMetric, error) - // Creates a logs-based metric. - CreateLogMetric(ctx context.Context, in *CreateLogMetricRequest, opts ...grpc.CallOption) (*LogMetric, error) - // Creates or updates a logs-based metric. - UpdateLogMetric(ctx context.Context, in *UpdateLogMetricRequest, opts ...grpc.CallOption) (*LogMetric, error) - // Deletes a logs-based metric. - DeleteLogMetric(ctx context.Context, in *DeleteLogMetricRequest, opts ...grpc.CallOption) (*empty.Empty, error) -} - -type metricsServiceV2Client struct { - cc *grpc.ClientConn -} - -func NewMetricsServiceV2Client(cc *grpc.ClientConn) MetricsServiceV2Client { - return &metricsServiceV2Client{cc} -} - -func (c *metricsServiceV2Client) ListLogMetrics(ctx context.Context, in *ListLogMetricsRequest, opts ...grpc.CallOption) (*ListLogMetricsResponse, error) { - out := new(ListLogMetricsResponse) - err := c.cc.Invoke(ctx, "/google.logging.v2.MetricsServiceV2/ListLogMetrics", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *metricsServiceV2Client) GetLogMetric(ctx context.Context, in *GetLogMetricRequest, opts ...grpc.CallOption) (*LogMetric, error) { - out := new(LogMetric) - err := c.cc.Invoke(ctx, "/google.logging.v2.MetricsServiceV2/GetLogMetric", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *metricsServiceV2Client) CreateLogMetric(ctx context.Context, in *CreateLogMetricRequest, opts ...grpc.CallOption) (*LogMetric, error) { - out := new(LogMetric) - err := c.cc.Invoke(ctx, "/google.logging.v2.MetricsServiceV2/CreateLogMetric", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *metricsServiceV2Client) UpdateLogMetric(ctx context.Context, in *UpdateLogMetricRequest, opts ...grpc.CallOption) (*LogMetric, error) { - out := new(LogMetric) - err := c.cc.Invoke(ctx, "/google.logging.v2.MetricsServiceV2/UpdateLogMetric", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *metricsServiceV2Client) DeleteLogMetric(ctx context.Context, in *DeleteLogMetricRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.logging.v2.MetricsServiceV2/DeleteLogMetric", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// MetricsServiceV2Server is the server API for MetricsServiceV2 service. -type MetricsServiceV2Server interface { - // Lists logs-based metrics. - ListLogMetrics(context.Context, *ListLogMetricsRequest) (*ListLogMetricsResponse, error) - // Gets a logs-based metric. - GetLogMetric(context.Context, *GetLogMetricRequest) (*LogMetric, error) - // Creates a logs-based metric. - CreateLogMetric(context.Context, *CreateLogMetricRequest) (*LogMetric, error) - // Creates or updates a logs-based metric. - UpdateLogMetric(context.Context, *UpdateLogMetricRequest) (*LogMetric, error) - // Deletes a logs-based metric. - DeleteLogMetric(context.Context, *DeleteLogMetricRequest) (*empty.Empty, error) -} - -// UnimplementedMetricsServiceV2Server can be embedded to have forward compatible implementations. -type UnimplementedMetricsServiceV2Server struct { -} - -func (*UnimplementedMetricsServiceV2Server) ListLogMetrics(ctx context.Context, req *ListLogMetricsRequest) (*ListLogMetricsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListLogMetrics not implemented") -} -func (*UnimplementedMetricsServiceV2Server) GetLogMetric(ctx context.Context, req *GetLogMetricRequest) (*LogMetric, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetLogMetric not implemented") -} -func (*UnimplementedMetricsServiceV2Server) CreateLogMetric(ctx context.Context, req *CreateLogMetricRequest) (*LogMetric, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateLogMetric not implemented") -} -func (*UnimplementedMetricsServiceV2Server) UpdateLogMetric(ctx context.Context, req *UpdateLogMetricRequest) (*LogMetric, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateLogMetric not implemented") -} -func (*UnimplementedMetricsServiceV2Server) DeleteLogMetric(ctx context.Context, req *DeleteLogMetricRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteLogMetric not implemented") -} - -func RegisterMetricsServiceV2Server(s *grpc.Server, srv MetricsServiceV2Server) { - s.RegisterService(&_MetricsServiceV2_serviceDesc, srv) -} - -func _MetricsServiceV2_ListLogMetrics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListLogMetricsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MetricsServiceV2Server).ListLogMetrics(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.logging.v2.MetricsServiceV2/ListLogMetrics", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MetricsServiceV2Server).ListLogMetrics(ctx, req.(*ListLogMetricsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _MetricsServiceV2_GetLogMetric_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetLogMetricRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MetricsServiceV2Server).GetLogMetric(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.logging.v2.MetricsServiceV2/GetLogMetric", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MetricsServiceV2Server).GetLogMetric(ctx, req.(*GetLogMetricRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _MetricsServiceV2_CreateLogMetric_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateLogMetricRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MetricsServiceV2Server).CreateLogMetric(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.logging.v2.MetricsServiceV2/CreateLogMetric", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MetricsServiceV2Server).CreateLogMetric(ctx, req.(*CreateLogMetricRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _MetricsServiceV2_UpdateLogMetric_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateLogMetricRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MetricsServiceV2Server).UpdateLogMetric(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.logging.v2.MetricsServiceV2/UpdateLogMetric", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MetricsServiceV2Server).UpdateLogMetric(ctx, req.(*UpdateLogMetricRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _MetricsServiceV2_DeleteLogMetric_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteLogMetricRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MetricsServiceV2Server).DeleteLogMetric(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.logging.v2.MetricsServiceV2/DeleteLogMetric", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MetricsServiceV2Server).DeleteLogMetric(ctx, req.(*DeleteLogMetricRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _MetricsServiceV2_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.logging.v2.MetricsServiceV2", - HandlerType: (*MetricsServiceV2Server)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListLogMetrics", - Handler: _MetricsServiceV2_ListLogMetrics_Handler, - }, - { - MethodName: "GetLogMetric", - Handler: _MetricsServiceV2_GetLogMetric_Handler, - }, - { - MethodName: "CreateLogMetric", - Handler: _MetricsServiceV2_CreateLogMetric_Handler, - }, - { - MethodName: "UpdateLogMetric", - Handler: _MetricsServiceV2_UpdateLogMetric_Handler, - }, - { - MethodName: "DeleteLogMetric", - Handler: _MetricsServiceV2_DeleteLogMetric_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/logging/v2/logging_metrics.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/longrunning/operations.pb.go b/vendor/google.golang.org/genproto/googleapis/longrunning/operations.pb.go deleted file mode 100644 index 1a3b0dc8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/longrunning/operations.pb.go +++ /dev/null @@ -1,890 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/longrunning/operations.proto - -package longrunning - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor" - any "github.com/golang/protobuf/ptypes/any" - duration "github.com/golang/protobuf/ptypes/duration" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// This resource represents a long-running operation that is the result of a -// network API call. -type Operation struct { - // The server-assigned name, which is only unique within the same service that - // originally returns it. If you use the default HTTP mapping, the - // `name` should have the format of `operations/some/unique/name`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Service-specific metadata associated with the operation. It typically - // contains progress information and common metadata such as create time. - // Some services might not provide such metadata. Any method that returns a - // long-running operation should document the metadata type, if any. - Metadata *any.Any `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` - // If the value is `false`, it means the operation is still in progress. - // If `true`, the operation is completed, and either `error` or `response` is - // available. - Done bool `protobuf:"varint,3,opt,name=done,proto3" json:"done,omitempty"` - // The operation result, which can be either an `error` or a valid `response`. - // If `done` == `false`, neither `error` nor `response` is set. - // If `done` == `true`, exactly one of `error` or `response` is set. - // - // Types that are valid to be assigned to Result: - // *Operation_Error - // *Operation_Response - Result isOperation_Result `protobuf_oneof:"result"` - 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_bff5d3ff9032d7eb, []int{0} -} - -func (m *Operation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Operation.Unmarshal(m, b) -} -func (m *Operation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Operation.Marshal(b, m, deterministic) -} -func (m *Operation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Operation.Merge(m, src) -} -func (m *Operation) XXX_Size() int { - return xxx_messageInfo_Operation.Size(m) -} -func (m *Operation) XXX_DiscardUnknown() { - xxx_messageInfo_Operation.DiscardUnknown(m) -} - -var xxx_messageInfo_Operation proto.InternalMessageInfo - -func (m *Operation) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Operation) GetMetadata() *any.Any { - if m != nil { - return m.Metadata - } - return nil -} - -func (m *Operation) GetDone() bool { - if m != nil { - return m.Done - } - 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 - } - return nil -} - -func (m *Operation) GetResponse() *any.Any { - if x, ok := m.GetResult().(*Operation_Response); ok { - return x.Response - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Operation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Operation_Error)(nil), - (*Operation_Response)(nil), - } -} - -// The request message for [Operations.GetOperation][google.longrunning.Operations.GetOperation]. -type GetOperationRequest struct { - // The name of the operation 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 *GetOperationRequest) Reset() { *m = GetOperationRequest{} } -func (m *GetOperationRequest) String() string { return proto.CompactTextString(m) } -func (*GetOperationRequest) ProtoMessage() {} -func (*GetOperationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bff5d3ff9032d7eb, []int{1} -} - -func (m *GetOperationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetOperationRequest.Unmarshal(m, b) -} -func (m *GetOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetOperationRequest.Marshal(b, m, deterministic) -} -func (m *GetOperationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetOperationRequest.Merge(m, src) -} -func (m *GetOperationRequest) XXX_Size() int { - return xxx_messageInfo_GetOperationRequest.Size(m) -} -func (m *GetOperationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetOperationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetOperationRequest proto.InternalMessageInfo - -func (m *GetOperationRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The request message for [Operations.ListOperations][google.longrunning.Operations.ListOperations]. -type ListOperationsRequest struct { - // The name of the operation's parent resource. - Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` - // The standard list filter. - 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"` - 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_bff5d3ff9032d7eb, []int{2} -} - -func (m *ListOperationsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListOperationsRequest.Unmarshal(m, b) -} -func (m *ListOperationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListOperationsRequest.Marshal(b, m, deterministic) -} -func (m *ListOperationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListOperationsRequest.Merge(m, src) -} -func (m *ListOperationsRequest) XXX_Size() int { - return xxx_messageInfo_ListOperationsRequest.Size(m) -} -func (m *ListOperationsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListOperationsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListOperationsRequest proto.InternalMessageInfo - -func (m *ListOperationsRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ListOperationsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListOperationsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListOperationsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// The response message for [Operations.ListOperations][google.longrunning.Operations.ListOperations]. -type ListOperationsResponse struct { - // A list of operations that matches the specified filter in the request. - Operations []*Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,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 *ListOperationsResponse) Reset() { *m = ListOperationsResponse{} } -func (m *ListOperationsResponse) String() string { return proto.CompactTextString(m) } -func (*ListOperationsResponse) ProtoMessage() {} -func (*ListOperationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bff5d3ff9032d7eb, []int{3} -} - -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 (m *ListOperationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListOperationsResponse.Merge(m, 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) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The request message for [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]. -type CancelOperationRequest struct { - // The name of the operation 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 *CancelOperationRequest) Reset() { *m = CancelOperationRequest{} } -func (m *CancelOperationRequest) String() string { return proto.CompactTextString(m) } -func (*CancelOperationRequest) ProtoMessage() {} -func (*CancelOperationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bff5d3ff9032d7eb, []int{4} -} - -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 (m *CancelOperationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CancelOperationRequest.Merge(m, 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 - -func (m *CancelOperationRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The request message for [Operations.DeleteOperation][google.longrunning.Operations.DeleteOperation]. -type DeleteOperationRequest struct { - // The name of the operation 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 (m *DeleteOperationRequest) Reset() { *m = DeleteOperationRequest{} } -func (m *DeleteOperationRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteOperationRequest) ProtoMessage() {} -func (*DeleteOperationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bff5d3ff9032d7eb, []int{5} -} - -func (m *DeleteOperationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteOperationRequest.Unmarshal(m, b) -} -func (m *DeleteOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteOperationRequest.Marshal(b, m, deterministic) -} -func (m *DeleteOperationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteOperationRequest.Merge(m, src) -} -func (m *DeleteOperationRequest) XXX_Size() int { - return xxx_messageInfo_DeleteOperationRequest.Size(m) -} -func (m *DeleteOperationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteOperationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteOperationRequest proto.InternalMessageInfo - -func (m *DeleteOperationRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The request message for [Operations.WaitOperation][google.longrunning.Operations.WaitOperation]. -type WaitOperationRequest struct { - // The name of the operation resource to wait on. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The maximum duration to wait before timing out. If left blank, the wait - // will be at most the time permitted by the underlying HTTP/RPC protocol. - // If RPC context deadline is also specified, the shorter one will be used. - Timeout *duration.Duration `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *WaitOperationRequest) Reset() { *m = WaitOperationRequest{} } -func (m *WaitOperationRequest) String() string { return proto.CompactTextString(m) } -func (*WaitOperationRequest) ProtoMessage() {} -func (*WaitOperationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_bff5d3ff9032d7eb, []int{6} -} - -func (m *WaitOperationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WaitOperationRequest.Unmarshal(m, b) -} -func (m *WaitOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WaitOperationRequest.Marshal(b, m, deterministic) -} -func (m *WaitOperationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WaitOperationRequest.Merge(m, src) -} -func (m *WaitOperationRequest) XXX_Size() int { - return xxx_messageInfo_WaitOperationRequest.Size(m) -} -func (m *WaitOperationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_WaitOperationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_WaitOperationRequest proto.InternalMessageInfo - -func (m *WaitOperationRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *WaitOperationRequest) GetTimeout() *duration.Duration { - if m != nil { - return m.Timeout - } - return nil -} - -// A message representing the message types used by a long-running operation. -// -// Example: -// -// rpc LongRunningRecognize(LongRunningRecognizeRequest) -// returns (google.longrunning.Operation) { -// option (google.longrunning.operation_info) = { -// response_type: "LongRunningRecognizeResponse" -// metadata_type: "LongRunningRecognizeMetadata" -// }; -// } -type OperationInfo struct { - // Required. The message name of the primary return type for this - // long-running operation. - // This type will be used to deserialize the LRO's response. - // - // If the response is in a different package from the rpc, a fully-qualified - // message name must be used (e.g. `google.protobuf.Struct`). - // - // Note: Altering this value constitutes a breaking change. - ResponseType string `protobuf:"bytes,1,opt,name=response_type,json=responseType,proto3" json:"response_type,omitempty"` - // Required. The message name of the metadata type for this long-running - // operation. - // - // If the response is in a different package from the rpc, a fully-qualified - // message name must be used (e.g. `google.protobuf.Struct`). - // - // Note: Altering this value constitutes a breaking change. - MetadataType string `protobuf:"bytes,2,opt,name=metadata_type,json=metadataType,proto3" json:"metadata_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OperationInfo) Reset() { *m = OperationInfo{} } -func (m *OperationInfo) String() string { return proto.CompactTextString(m) } -func (*OperationInfo) ProtoMessage() {} -func (*OperationInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_bff5d3ff9032d7eb, []int{7} -} - -func (m *OperationInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OperationInfo.Unmarshal(m, b) -} -func (m *OperationInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OperationInfo.Marshal(b, m, deterministic) -} -func (m *OperationInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperationInfo.Merge(m, src) -} -func (m *OperationInfo) XXX_Size() int { - return xxx_messageInfo_OperationInfo.Size(m) -} -func (m *OperationInfo) XXX_DiscardUnknown() { - xxx_messageInfo_OperationInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_OperationInfo proto.InternalMessageInfo - -func (m *OperationInfo) GetResponseType() string { - if m != nil { - return m.ResponseType - } - return "" -} - -func (m *OperationInfo) GetMetadataType() string { - if m != nil { - return m.MetadataType - } - return "" -} - -var E_OperationInfo = &proto.ExtensionDesc{ - ExtendedType: (*descriptor.MethodOptions)(nil), - ExtensionType: (*OperationInfo)(nil), - Field: 1049, - Name: "google.longrunning.operation_info", - Tag: "bytes,1049,opt,name=operation_info", - Filename: "google/longrunning/operations.proto", -} - -func init() { - proto.RegisterType((*Operation)(nil), "google.longrunning.Operation") - proto.RegisterType((*GetOperationRequest)(nil), "google.longrunning.GetOperationRequest") - proto.RegisterType((*ListOperationsRequest)(nil), "google.longrunning.ListOperationsRequest") - proto.RegisterType((*ListOperationsResponse)(nil), "google.longrunning.ListOperationsResponse") - proto.RegisterType((*CancelOperationRequest)(nil), "google.longrunning.CancelOperationRequest") - proto.RegisterType((*DeleteOperationRequest)(nil), "google.longrunning.DeleteOperationRequest") - proto.RegisterType((*WaitOperationRequest)(nil), "google.longrunning.WaitOperationRequest") - proto.RegisterType((*OperationInfo)(nil), "google.longrunning.OperationInfo") - proto.RegisterExtension(E_OperationInfo) -} - -func init() { - proto.RegisterFile("google/longrunning/operations.proto", fileDescriptor_bff5d3ff9032d7eb) -} - -var fileDescriptor_bff5d3ff9032d7eb = []byte{ - // 741 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x55, 0xcd, 0x4e, 0x13, 0x51, - 0x14, 0x66, 0x4a, 0xc1, 0xf6, 0x40, 0x69, 0x72, 0x85, 0x52, 0x8a, 0x60, 0x1d, 0x8c, 0x96, 0x86, - 0xcc, 0x68, 0xd9, 0x61, 0x58, 0x88, 0x18, 0x30, 0xc1, 0x40, 0x06, 0x12, 0x23, 0x31, 0x69, 0x86, - 0xf6, 0x30, 0x4e, 0x6c, 0xef, 0x1d, 0xef, 0xdc, 0x51, 0x8a, 0x21, 0x44, 0x17, 0xbe, 0x80, 0x0b, -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, 0x40, 0xce, 0x19, 0x2f, 0xa6, 0x25, 0x05, 0x89, 0x28, 0xb8, - 0xd3, 0xd0, 0x0e, 0x65, 0xc9, 0xbb, 0x63, 0x46, 0x00, 0x21, 0x35, 0xc8, 0x70, 0x74, 0x1d, 0x46, - 0x5d, 0x2c, 0x4e, 0x0c, 0x57, 0xdc, 0x1d, 0x33, 0xba, 0xb8, 0xad, 0x0c, 0x4c, 0x72, 0x74, 0xbd, - 0x96, 0x50, 0x57, 0xe1, 0xe6, 0x0e, 0x8a, 0x6e, 0x4f, 0x06, 0xbe, 0xf5, 0xd0, 0x15, 0x49, 0xad, - 0xa9, 0x97, 0x30, 0xb7, 0x67, 0xbb, 0x3d, 0xac, 0xdb, 0x0f, 0x4e, 0xc7, 0xe6, 0x50, 0x80, 0xc9, - 0x53, 0xbb, 0x25, 0x90, 0x87, 0x14, 0xe1, 0x89, 0x2c, 0x42, 0xd6, 0x31, 0x2d, 0xac, 0xbb, 0xf6, - 0x39, 0xca, 0x01, 0x4d, 0x18, 0x19, 0x3f, 0x70, 0x68, 0x9f, 0x23, 0x59, 0x02, 0x90, 0x49, 0xc1, - 0xde, 0x20, 0x95, 0x03, 0xc9, 0x1a, 0x12, 0x7e, 0xe4, 0x07, 0xd4, 0x4b, 0x28, 0xf4, 0x17, 0x10, - 0xf4, 0x43, 0x36, 0x01, 0x7a, 0x86, 0x2b, 0x2a, 0xe5, 0xf1, 0xca, 0x54, 0x6d, 0x49, 0x1b, 0x74, - 0x9c, 0xd6, 0x6b, 0x34, 0x76, 0x81, 0xdc, 0x83, 0x3c, 0xc5, 0x33, 0x51, 0x8f, 0x89, 0xa7, 0xa4, - 0x78, 0xce, 0x0f, 0x1f, 0x74, 0x0b, 0x58, 0x83, 0xc2, 0x13, 0x93, 0x36, 0xb0, 0x35, 0xd2, 0xbc, - 0xd6, 0xa0, 0xb0, 0x8d, 0x2d, 0x14, 0x38, 0x12, 0xba, 0x0e, 0xb3, 0x2f, 0x4c, 0x7b, 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x56, 0x26, 0x95, 0xa4, 0x02, 0x92, 0xdc, 0xfe, 0xbf, 0xc1, 0x8f, - 0x6d, 0xd8, 0x30, 0xd3, 0xd5, 0xad, 0xdb, 0xbe, 0x8d, 0x97, 0x07, 0x2a, 0x7e, 0x8e, 0xe2, 0x35, - 0x6b, 0xee, 0x3b, 0xc1, 0xaf, 0xc1, 0xb7, 0x8c, 0x7c, 0x22, 0x77, 0xae, 0x65, 0xf6, 0x1f, 0x84, - 0x91, 0x63, 0xf1, 0xe3, 0xd6, 0x57, 0x05, 0x0a, 0x0d, 0xd6, 0x4e, 0xb8, 0xb7, 0x95, 0xef, 0x79, - 0xf1, 0xc0, 0x57, 0x3d, 0x50, 0x8e, 0x37, 0x43, 0x98, 0xc5, 0x5a, 0x26, 0xb5, 0x34, 0xc6, 0x2d, - 0xdd, 0x42, 0x2a, 0x6b, 0xd2, 0x83, 0x94, 0xe9, 0xd8, 0x6e, 0xfc, 0x3f, 0xf2, 0x51, 0xec, 0xfb, - 0xaf, 0xa2, 0x7c, 0x4f, 0x91, 0x9d, 0x80, 0x62, 0x8f, 0x51, 0xcb, 0x08, 0xe2, 0x3f, 0xa2, 0xe0, - 0xab, 0x58, 0xf0, 0x64, 0x52, 0xd2, 0xae, 0xff, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x06, 0x86, 0x63, - 0xe5, 0x79, 0x07, 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 - -// OperationsClient is the client API for Operations service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type OperationsClient interface { - // Lists operations that match the specified filter in the request. If the - // server doesn't support this method, it returns `UNIMPLEMENTED`. - // - // NOTE: the `name` binding allows API services to override the binding - // to use different resource name schemes, such as `users/*/operations`. To - // override the binding, API services can add a binding such as - // `"/v1/{name=users/*}/operations"` to their service configuration. - // For backwards compatibility, the default name includes the operations - // collection id, however overriding users must ensure the name binding - // is the parent resource, without the operations collection id. - ListOperations(ctx context.Context, in *ListOperationsRequest, opts ...grpc.CallOption) (*ListOperationsResponse, error) - // Gets the latest state of a long-running operation. Clients can use this - // method to poll the operation result at intervals as recommended by the API - // service. - GetOperation(ctx context.Context, in *GetOperationRequest, opts ...grpc.CallOption) (*Operation, error) - // Deletes a long-running operation. This method indicates that the client is - // no longer interested in the operation result. It does not cancel the - // operation. If the server doesn't support this method, it returns - // `google.rpc.Code.UNIMPLEMENTED`. - DeleteOperation(ctx context.Context, in *DeleteOperationRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Starts asynchronous cancellation on a long-running operation. The server - // makes a best effort to cancel the operation, but success is not - // guaranteed. If the server doesn't support this method, it returns - // `google.rpc.Code.UNIMPLEMENTED`. Clients can use - // [Operations.GetOperation][google.longrunning.Operations.GetOperation] or - // other methods to check whether the cancellation succeeded or whether the - // operation completed despite cancellation. On successful cancellation, - // the operation is not deleted; instead, it becomes an operation with - // an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, - // corresponding to `Code.CANCELLED`. - CancelOperation(ctx context.Context, in *CancelOperationRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Waits for the specified long-running operation until it is done or reaches - // at most a specified timeout, returning the latest state. If the operation - // is already done, the latest state is immediately returned. If the timeout - // specified is greater than the default HTTP/RPC timeout, the HTTP/RPC - // timeout is used. If the server does not support this method, it returns - // `google.rpc.Code.UNIMPLEMENTED`. - // Note that this method is on a best-effort basis. It may return the latest - // state before the specified timeout (including immediately), meaning even an - // immediate response is no guarantee that the operation is done. - WaitOperation(ctx context.Context, in *WaitOperationRequest, opts ...grpc.CallOption) (*Operation, error) -} - -type operationsClient struct { - cc *grpc.ClientConn -} - -func NewOperationsClient(cc *grpc.ClientConn) OperationsClient { - return &operationsClient{cc} -} - -func (c *operationsClient) ListOperations(ctx context.Context, in *ListOperationsRequest, opts ...grpc.CallOption) (*ListOperationsResponse, error) { - out := new(ListOperationsResponse) - err := c.cc.Invoke(ctx, "/google.longrunning.Operations/ListOperations", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *operationsClient) GetOperation(ctx context.Context, in *GetOperationRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.longrunning.Operations/GetOperation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *operationsClient) DeleteOperation(ctx context.Context, in *DeleteOperationRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.longrunning.Operations/DeleteOperation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *operationsClient) CancelOperation(ctx context.Context, in *CancelOperationRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.longrunning.Operations/CancelOperation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *operationsClient) WaitOperation(ctx context.Context, in *WaitOperationRequest, opts ...grpc.CallOption) (*Operation, error) { - out := new(Operation) - err := c.cc.Invoke(ctx, "/google.longrunning.Operations/WaitOperation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// OperationsServer is the server API for Operations service. -type OperationsServer interface { - // Lists operations that match the specified filter in the request. If the - // server doesn't support this method, it returns `UNIMPLEMENTED`. - // - // NOTE: the `name` binding allows API services to override the binding - // to use different resource name schemes, such as `users/*/operations`. To - // override the binding, API services can add a binding such as - // `"/v1/{name=users/*}/operations"` to their service configuration. - // For backwards compatibility, the default name includes the operations - // collection id, however overriding users must ensure the name binding - // is the parent resource, without the operations collection id. - ListOperations(context.Context, *ListOperationsRequest) (*ListOperationsResponse, error) - // Gets the latest state of a long-running operation. Clients can use this - // method to poll the operation result at intervals as recommended by the API - // service. - GetOperation(context.Context, *GetOperationRequest) (*Operation, error) - // Deletes a long-running operation. This method indicates that the client is - // no longer interested in the operation result. It does not cancel the - // operation. If the server doesn't support this method, it returns - // `google.rpc.Code.UNIMPLEMENTED`. - DeleteOperation(context.Context, *DeleteOperationRequest) (*empty.Empty, error) - // Starts asynchronous cancellation on a long-running operation. The server - // makes a best effort to cancel the operation, but success is not - // guaranteed. If the server doesn't support this method, it returns - // `google.rpc.Code.UNIMPLEMENTED`. Clients can use - // [Operations.GetOperation][google.longrunning.Operations.GetOperation] or - // other methods to check whether the cancellation succeeded or whether the - // operation completed despite cancellation. On successful cancellation, - // the operation is not deleted; instead, it becomes an operation with - // an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, - // corresponding to `Code.CANCELLED`. - CancelOperation(context.Context, *CancelOperationRequest) (*empty.Empty, error) - // Waits for the specified long-running operation until it is done or reaches - // at most a specified timeout, returning the latest state. If the operation - // is already done, the latest state is immediately returned. If the timeout - // specified is greater than the default HTTP/RPC timeout, the HTTP/RPC - // timeout is used. If the server does not support this method, it returns - // `google.rpc.Code.UNIMPLEMENTED`. - // Note that this method is on a best-effort basis. It may return the latest - // state before the specified timeout (including immediately), meaning even an - // immediate response is no guarantee that the operation is done. - WaitOperation(context.Context, *WaitOperationRequest) (*Operation, error) -} - -// UnimplementedOperationsServer can be embedded to have forward compatible implementations. -type UnimplementedOperationsServer struct { -} - -func (*UnimplementedOperationsServer) ListOperations(ctx context.Context, req *ListOperationsRequest) (*ListOperationsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListOperations not implemented") -} -func (*UnimplementedOperationsServer) GetOperation(ctx context.Context, req *GetOperationRequest) (*Operation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetOperation not implemented") -} -func (*UnimplementedOperationsServer) DeleteOperation(ctx context.Context, req *DeleteOperationRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method DeleteOperation not implemented") -} -func (*UnimplementedOperationsServer) CancelOperation(ctx context.Context, req *CancelOperationRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method CancelOperation not implemented") -} -func (*UnimplementedOperationsServer) WaitOperation(ctx context.Context, req *WaitOperationRequest) (*Operation, error) { - return nil, status1.Errorf(codes.Unimplemented, "method WaitOperation not implemented") -} - -func RegisterOperationsServer(s *grpc.Server, srv OperationsServer) { - s.RegisterService(&_Operations_serviceDesc, srv) -} - -func _Operations_ListOperations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListOperationsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OperationsServer).ListOperations(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.longrunning.Operations/ListOperations", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OperationsServer).ListOperations(ctx, req.(*ListOperationsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Operations_GetOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetOperationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OperationsServer).GetOperation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.longrunning.Operations/GetOperation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OperationsServer).GetOperation(ctx, req.(*GetOperationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Operations_DeleteOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteOperationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OperationsServer).DeleteOperation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.longrunning.Operations/DeleteOperation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OperationsServer).DeleteOperation(ctx, req.(*DeleteOperationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Operations_CancelOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CancelOperationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OperationsServer).CancelOperation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.longrunning.Operations/CancelOperation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OperationsServer).CancelOperation(ctx, req.(*CancelOperationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Operations_WaitOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(WaitOperationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OperationsServer).WaitOperation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.longrunning.Operations/WaitOperation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OperationsServer).WaitOperation(ctx, req.(*WaitOperationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Operations_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.longrunning.Operations", - HandlerType: (*OperationsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListOperations", - Handler: _Operations_ListOperations_Handler, - }, - { - MethodName: "GetOperation", - Handler: _Operations_GetOperation_Handler, - }, - { - MethodName: "DeleteOperation", - Handler: _Operations_DeleteOperation_Handler, - }, - { - MethodName: "CancelOperation", - Handler: _Operations_CancelOperation_Handler, - }, - { - MethodName: "WaitOperation", - Handler: _Operations_WaitOperation_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/longrunning/operations.proto", -} 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 deleted file mode 100644 index 7c65153b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/alert.pb.go +++ /dev/null @@ -1,851 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/monitoring/v3/alert.proto - -package monitoring - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Operators for combining conditions. -type AlertPolicy_ConditionCombinerType int32 - -const ( - // An unspecified combiner. - AlertPolicy_COMBINE_UNSPECIFIED AlertPolicy_ConditionCombinerType = 0 - // Combine conditions using the logical `AND` operator. An - // incident is created only if all conditions are met - // simultaneously. This combiner is satisfied if all conditions are - // met, even if they are met on completely different resources. - AlertPolicy_AND AlertPolicy_ConditionCombinerType = 1 - // Combine conditions using the logical `OR` operator. An incident - // is created if any of the listed conditions is met. - AlertPolicy_OR AlertPolicy_ConditionCombinerType = 2 - // Combine conditions using logical `AND` operator, but unlike the regular - // `AND` option, an incident is created only if all conditions are met - // simultaneously on at least one resource. - AlertPolicy_AND_WITH_MATCHING_RESOURCE AlertPolicy_ConditionCombinerType = 3 -) - -var AlertPolicy_ConditionCombinerType_name = map[int32]string{ - 0: "COMBINE_UNSPECIFIED", - 1: "AND", - 2: "OR", - 3: "AND_WITH_MATCHING_RESOURCE", -} - -var AlertPolicy_ConditionCombinerType_value = map[string]int32{ - "COMBINE_UNSPECIFIED": 0, - "AND": 1, - "OR": 2, - "AND_WITH_MATCHING_RESOURCE": 3, -} - -func (x AlertPolicy_ConditionCombinerType) String() string { - return proto.EnumName(AlertPolicy_ConditionCombinerType_name, int32(x)) -} - -func (AlertPolicy_ConditionCombinerType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_014ef0e1a0f00a00, []int{0, 0} -} - -// A description of the conditions under which some aspect of your system is -// considered to be "unhealthy" and the ways to notify people or services about -// this state. For an overview of alert policies, see -// [Introduction to Alerting](/monitoring/alerts/). -type AlertPolicy struct { - // Required if the policy exists. The resource name for this policy. The - // syntax is: - // - // projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID] - // - // `[ALERT_POLICY_ID]` is assigned by Stackdriver Monitoring when the policy - // is created. When calling the - // [alertPolicies.create][google.monitoring.v3.AlertPolicyService.CreateAlertPolicy] - // method, do not include the `name` field in the alerting policy passed as - // part of the request. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // A short name or phrase used to identify the policy in dashboards, - // notifications, and incidents. To avoid confusion, don't use the same - // display name for multiple policies in the same project. The name is - // limited to 512 Unicode characters. - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Documentation that is included with notifications and incidents related to - // this policy. Best practice is for the documentation to include information - // to help responders understand, mitigate, escalate, and correct the - // underlying problems detected by the alerting policy. Notification channels - // that have limited capacity might not show this documentation. - Documentation *AlertPolicy_Documentation `protobuf:"bytes,13,opt,name=documentation,proto3" json:"documentation,omitempty"` - // User-supplied key/value data to be used for organizing and - // identifying the `AlertPolicy` objects. - // - // The field can contain up to 64 entries. Each key and value is limited to - // 63 Unicode characters or 128 bytes, whichever is smaller. Labels and - // values can contain only lowercase letters, numerals, underscores, and - // dashes. Keys must begin with a letter. - UserLabels map[string]string `protobuf:"bytes,16,rep,name=user_labels,json=userLabels,proto3" json:"user_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // A list of conditions for the policy. The conditions are combined by AND or - // OR according to the `combiner` field. If the combined conditions evaluate - // to true, then an incident is created. A policy can have from one to six - // conditions. - Conditions []*AlertPolicy_Condition `protobuf:"bytes,12,rep,name=conditions,proto3" json:"conditions,omitempty"` - // How to combine the results of multiple conditions - // to determine if an incident should be opened. - Combiner AlertPolicy_ConditionCombinerType `protobuf:"varint,6,opt,name=combiner,proto3,enum=google.monitoring.v3.AlertPolicy_ConditionCombinerType" json:"combiner,omitempty"` - // Whether or not the policy is enabled. On write, the default interpretation - // if unset is that the policy is enabled. On read, clients should not make - // any assumption about the state if it has not been populated. The - // field should always be populated on List and Get operations, unless - // a field projection has been specified that strips it out. - Enabled *wrappers.BoolValue `protobuf:"bytes,17,opt,name=enabled,proto3" json:"enabled,omitempty"` - // Read-only description of how the alert policy is invalid. OK if the alert - // policy is valid. If not OK, the alert policy will not generate incidents. - Validity *status.Status `protobuf:"bytes,18,opt,name=validity,proto3" json:"validity,omitempty"` - // Identifies the notification channels to which notifications should be sent - // when incidents are opened or closed or when new violations occur on - // an already opened incident. Each element of this array corresponds to - // the `name` field in each of the - // [`NotificationChannel`][google.monitoring.v3.NotificationChannel] - // objects that are returned from the [`ListNotificationChannels`] - // [google.monitoring.v3.NotificationChannelService.ListNotificationChannels] - // method. The syntax of the entries in this field is: - // - // projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID] - NotificationChannels []string `protobuf:"bytes,14,rep,name=notification_channels,json=notificationChannels,proto3" json:"notification_channels,omitempty"` - // A read-only record of the creation of the alerting policy. If provided - // in a call to create or update, this field will be ignored. - CreationRecord *MutationRecord `protobuf:"bytes,10,opt,name=creation_record,json=creationRecord,proto3" json:"creation_record,omitempty"` - // A read-only record of the most recent change to the alerting policy. If - // provided in a call to create or update, this field will be ignored. - MutationRecord *MutationRecord `protobuf:"bytes,11,opt,name=mutation_record,json=mutationRecord,proto3" json:"mutation_record,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_014ef0e1a0f00a00, []int{0} -} - -func (m *AlertPolicy) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AlertPolicy.Unmarshal(m, b) -} -func (m *AlertPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AlertPolicy.Marshal(b, m, deterministic) -} -func (m *AlertPolicy) XXX_Merge(src proto.Message) { - xxx_messageInfo_AlertPolicy.Merge(m, src) -} -func (m *AlertPolicy) XXX_Size() int { - return xxx_messageInfo_AlertPolicy.Size(m) -} -func (m *AlertPolicy) XXX_DiscardUnknown() { - xxx_messageInfo_AlertPolicy.DiscardUnknown(m) -} - -var xxx_messageInfo_AlertPolicy proto.InternalMessageInfo - -func (m *AlertPolicy) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *AlertPolicy) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *AlertPolicy) GetDocumentation() *AlertPolicy_Documentation { - if m != nil { - return m.Documentation - } - return nil -} - -func (m *AlertPolicy) GetUserLabels() map[string]string { - if m != nil { - return m.UserLabels - } - return nil -} - -func (m *AlertPolicy) GetConditions() []*AlertPolicy_Condition { - if m != nil { - return m.Conditions - } - return nil -} - -func (m *AlertPolicy) GetCombiner() AlertPolicy_ConditionCombinerType { - if m != nil { - return m.Combiner - } - return AlertPolicy_COMBINE_UNSPECIFIED -} - -func (m *AlertPolicy) GetEnabled() *wrappers.BoolValue { - if m != nil { - return m.Enabled - } - return nil -} - -func (m *AlertPolicy) GetValidity() *status.Status { - if m != nil { - return m.Validity - } - return nil -} - -func (m *AlertPolicy) GetNotificationChannels() []string { - if m != nil { - return m.NotificationChannels - } - return nil -} - -func (m *AlertPolicy) GetCreationRecord() *MutationRecord { - if m != nil { - return m.CreationRecord - } - return nil -} - -func (m *AlertPolicy) GetMutationRecord() *MutationRecord { - if m != nil { - return m.MutationRecord - } - return nil -} - -// A content string and a MIME type that describes the content string's -// format. -type AlertPolicy_Documentation struct { - // The text of the documentation, interpreted according to `mime_type`. - // The content may not exceed 8,192 Unicode characters and may not exceed - // more than 10,240 bytes when encoded in UTF-8 format, whichever is - // smaller. - Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` - // The format of the `content` field. Presently, only the value - // `"text/markdown"` is supported. See - // [Markdown](https://en.wikipedia.org/wiki/Markdown) for more information. - MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AlertPolicy_Documentation) Reset() { *m = AlertPolicy_Documentation{} } -func (m *AlertPolicy_Documentation) String() string { return proto.CompactTextString(m) } -func (*AlertPolicy_Documentation) ProtoMessage() {} -func (*AlertPolicy_Documentation) Descriptor() ([]byte, []int) { - return fileDescriptor_014ef0e1a0f00a00, []int{0, 0} -} - -func (m *AlertPolicy_Documentation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AlertPolicy_Documentation.Unmarshal(m, b) -} -func (m *AlertPolicy_Documentation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AlertPolicy_Documentation.Marshal(b, m, deterministic) -} -func (m *AlertPolicy_Documentation) XXX_Merge(src proto.Message) { - xxx_messageInfo_AlertPolicy_Documentation.Merge(m, src) -} -func (m *AlertPolicy_Documentation) XXX_Size() int { - return xxx_messageInfo_AlertPolicy_Documentation.Size(m) -} -func (m *AlertPolicy_Documentation) XXX_DiscardUnknown() { - xxx_messageInfo_AlertPolicy_Documentation.DiscardUnknown(m) -} - -var xxx_messageInfo_AlertPolicy_Documentation proto.InternalMessageInfo - -func (m *AlertPolicy_Documentation) GetContent() string { - if m != nil { - return m.Content - } - return "" -} - -func (m *AlertPolicy_Documentation) GetMimeType() string { - if m != nil { - return m.MimeType - } - return "" -} - -// A condition is a true/false test that determines when an alerting policy -// should open an incident. If a condition evaluates to true, it signifies -// that something is wrong. -type AlertPolicy_Condition struct { - // Required if the condition exists. The unique resource name for this - // condition. Its syntax is: - // - // projects/[PROJECT_ID]/alertPolicies/[POLICY_ID]/conditions/[CONDITION_ID] - // - // `[CONDITION_ID]` is assigned by Stackdriver Monitoring when the - // condition is created as part of a new or updated alerting policy. - // - // When calling the - // [alertPolicies.create][google.monitoring.v3.AlertPolicyService.CreateAlertPolicy] - // method, do not include the `name` field in the conditions of the - // requested alerting policy. Stackdriver Monitoring creates the - // condition identifiers and includes them in the new policy. - // - // When calling the - // [alertPolicies.update][google.monitoring.v3.AlertPolicyService.UpdateAlertPolicy] - // method to update a policy, including a condition `name` causes the - // existing condition to be updated. Conditions without names are added to - // the updated policy. Existing conditions are deleted if they are not - // updated. - // - // Best practice is to preserve `[CONDITION_ID]` if you make only small - // changes, such as those to condition thresholds, durations, or trigger - // values. Otherwise, treat the change as a new condition and let the - // existing condition be deleted. - Name string `protobuf:"bytes,12,opt,name=name,proto3" json:"name,omitempty"` - // A short name or phrase used to identify the condition in dashboards, - // notifications, and incidents. To avoid confusion, don't use the same - // display name for multiple conditions in the same policy. - DisplayName string `protobuf:"bytes,6,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Only one of the following condition types will be specified. - // - // Types that are valid to be assigned to Condition: - // *AlertPolicy_Condition_ConditionThreshold - // *AlertPolicy_Condition_ConditionAbsent - Condition isAlertPolicy_Condition_Condition `protobuf_oneof:"condition"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_014ef0e1a0f00a00, []int{0, 1} -} - -func (m *AlertPolicy_Condition) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AlertPolicy_Condition.Unmarshal(m, b) -} -func (m *AlertPolicy_Condition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AlertPolicy_Condition.Marshal(b, m, deterministic) -} -func (m *AlertPolicy_Condition) XXX_Merge(src proto.Message) { - xxx_messageInfo_AlertPolicy_Condition.Merge(m, src) -} -func (m *AlertPolicy_Condition) XXX_Size() int { - return xxx_messageInfo_AlertPolicy_Condition.Size(m) -} -func (m *AlertPolicy_Condition) XXX_DiscardUnknown() { - xxx_messageInfo_AlertPolicy_Condition.DiscardUnknown(m) -} - -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() -} - -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 (m *AlertPolicy_Condition) GetCondition() isAlertPolicy_Condition_Condition { - if m != nil { - return m.Condition - } - return nil -} - -func (m *AlertPolicy_Condition) GetConditionThreshold() *AlertPolicy_Condition_MetricThreshold { - if x, ok := m.GetCondition().(*AlertPolicy_Condition_ConditionThreshold); ok { - return x.ConditionThreshold - } - return nil -} - -func (m *AlertPolicy_Condition) GetConditionAbsent() *AlertPolicy_Condition_MetricAbsence { - if x, ok := m.GetCondition().(*AlertPolicy_Condition_ConditionAbsent); ok { - return x.ConditionAbsent - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AlertPolicy_Condition) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AlertPolicy_Condition_ConditionThreshold)(nil), - (*AlertPolicy_Condition_ConditionAbsent)(nil), - } -} - -// Specifies how many time series must fail a predicate to trigger a -// condition. If not specified, then a `{count: 1}` trigger is used. -type AlertPolicy_Condition_Trigger struct { - // A type of trigger. - // - // Types that are valid to be assigned to Type: - // *AlertPolicy_Condition_Trigger_Count - // *AlertPolicy_Condition_Trigger_Percent - Type isAlertPolicy_Condition_Trigger_Type `protobuf_oneof:"type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AlertPolicy_Condition_Trigger) Reset() { *m = AlertPolicy_Condition_Trigger{} } -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_014ef0e1a0f00a00, []int{0, 1, 0} -} - -func (m *AlertPolicy_Condition_Trigger) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AlertPolicy_Condition_Trigger.Unmarshal(m, b) -} -func (m *AlertPolicy_Condition_Trigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AlertPolicy_Condition_Trigger.Marshal(b, m, deterministic) -} -func (m *AlertPolicy_Condition_Trigger) XXX_Merge(src proto.Message) { - xxx_messageInfo_AlertPolicy_Condition_Trigger.Merge(m, src) -} -func (m *AlertPolicy_Condition_Trigger) XXX_Size() int { - return xxx_messageInfo_AlertPolicy_Condition_Trigger.Size(m) -} -func (m *AlertPolicy_Condition_Trigger) XXX_DiscardUnknown() { - xxx_messageInfo_AlertPolicy_Condition_Trigger.DiscardUnknown(m) -} - -var xxx_messageInfo_AlertPolicy_Condition_Trigger proto.InternalMessageInfo - -type isAlertPolicy_Condition_Trigger_Type interface { - isAlertPolicy_Condition_Trigger_Type() -} - -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_Percent) isAlertPolicy_Condition_Trigger_Type() {} - -func (m *AlertPolicy_Condition_Trigger) GetType() isAlertPolicy_Condition_Trigger_Type { - if m != nil { - return m.Type - } - return nil -} - -func (m *AlertPolicy_Condition_Trigger) GetCount() int32 { - if x, ok := m.GetType().(*AlertPolicy_Condition_Trigger_Count); ok { - return x.Count - } - return 0 -} - -func (m *AlertPolicy_Condition_Trigger) GetPercent() float64 { - if x, ok := m.GetType().(*AlertPolicy_Condition_Trigger_Percent); ok { - return x.Percent - } - return 0 -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AlertPolicy_Condition_Trigger) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AlertPolicy_Condition_Trigger_Count)(nil), - (*AlertPolicy_Condition_Trigger_Percent)(nil), - } -} - -// A condition type that compares a collection of time series -// against a threshold. -type AlertPolicy_Condition_MetricThreshold struct { - // A [filter](/monitoring/api/v3/filters) that - // identifies which time series should be compared with the threshold. - // - // The filter is similar to the one that is specified in the - // [`MetricService.ListTimeSeries` - // request](/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list) (that - // call is useful to verify the time series that will be retrieved / - // processed) and must specify the metric type and optionally may contain - // restrictions on resource type, resource labels, and metric labels. - // This field may not exceed 2048 Unicode characters in length. - Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` - // Specifies the alignment of data points in individual time series as - // well as how to combine the retrieved time series together (such as - // when aggregating multiple streams on each resource to a single - // stream for each resource or when aggregating streams across all - // members of a group of resrouces). Multiple aggregations - // are applied in the order specified. - // - // This field is similar to the one in the - // [`MetricService.ListTimeSeries` - // request](/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). It - // is advisable to use the `ListTimeSeries` method when debugging this - // field. - Aggregations []*Aggregation `protobuf:"bytes,8,rep,name=aggregations,proto3" json:"aggregations,omitempty"` - // A [filter](/monitoring/api/v3/filters) that identifies a time - // series that should be used as the denominator of a ratio that will be - // compared with the threshold. If a `denominator_filter` is specified, - // the time series specified by the `filter` field will be used as the - // numerator. - // - // The filter must specify the metric type and optionally may contain - // restrictions on resource type, resource labels, and metric labels. - // This field may not exceed 2048 Unicode characters in length. - DenominatorFilter string `protobuf:"bytes,9,opt,name=denominator_filter,json=denominatorFilter,proto3" json:"denominator_filter,omitempty"` - // Specifies the alignment of data points in individual time series - // selected by `denominatorFilter` as - // well as how to combine the retrieved time series together (such as - // when aggregating multiple streams on each resource to a single - // stream for each resource or when aggregating streams across all - // members of a group of resources). - // - // When computing ratios, the `aggregations` and - // `denominator_aggregations` fields must use the same alignment period - // and produce time series that have the same periodicity and labels. - DenominatorAggregations []*Aggregation `protobuf:"bytes,10,rep,name=denominator_aggregations,json=denominatorAggregations,proto3" json:"denominator_aggregations,omitempty"` - // The comparison to apply between the time series (indicated by `filter` - // and `aggregation`) and the threshold (indicated by `threshold_value`). - // The comparison is applied on each time series, with the time series - // on the left-hand side and the threshold on the right-hand side. - // - // Only `COMPARISON_LT` and `COMPARISON_GT` are supported currently. - Comparison ComparisonType `protobuf:"varint,4,opt,name=comparison,proto3,enum=google.monitoring.v3.ComparisonType" json:"comparison,omitempty"` - // A value against which to compare the time series. - 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., 0, 60, 120, or 300 - // seconds--are supported. If an invalid value is given, an - // 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 - // condition will trigger if the comparison is true for any of the - // time series that have been identified by `filter` and `aggregations`, - // or by the ratio, if `denominator_filter` and `denominator_aggregations` - // are specified. - Trigger *AlertPolicy_Condition_Trigger `protobuf:"bytes,7,opt,name=trigger,proto3" json:"trigger,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AlertPolicy_Condition_MetricThreshold) Reset() { *m = AlertPolicy_Condition_MetricThreshold{} } -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_014ef0e1a0f00a00, []int{0, 1, 1} -} - -func (m *AlertPolicy_Condition_MetricThreshold) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AlertPolicy_Condition_MetricThreshold.Unmarshal(m, b) -} -func (m *AlertPolicy_Condition_MetricThreshold) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AlertPolicy_Condition_MetricThreshold.Marshal(b, m, deterministic) -} -func (m *AlertPolicy_Condition_MetricThreshold) XXX_Merge(src proto.Message) { - xxx_messageInfo_AlertPolicy_Condition_MetricThreshold.Merge(m, src) -} -func (m *AlertPolicy_Condition_MetricThreshold) XXX_Size() int { - return xxx_messageInfo_AlertPolicy_Condition_MetricThreshold.Size(m) -} -func (m *AlertPolicy_Condition_MetricThreshold) XXX_DiscardUnknown() { - xxx_messageInfo_AlertPolicy_Condition_MetricThreshold.DiscardUnknown(m) -} - -var xxx_messageInfo_AlertPolicy_Condition_MetricThreshold proto.InternalMessageInfo - -func (m *AlertPolicy_Condition_MetricThreshold) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *AlertPolicy_Condition_MetricThreshold) GetAggregations() []*Aggregation { - if m != nil { - return m.Aggregations - } - return nil -} - -func (m *AlertPolicy_Condition_MetricThreshold) GetDenominatorFilter() string { - if m != nil { - return m.DenominatorFilter - } - return "" -} - -func (m *AlertPolicy_Condition_MetricThreshold) GetDenominatorAggregations() []*Aggregation { - if m != nil { - return m.DenominatorAggregations - } - return nil -} - -func (m *AlertPolicy_Condition_MetricThreshold) GetComparison() ComparisonType { - if m != nil { - return m.Comparison - } - return ComparisonType_COMPARISON_UNSPECIFIED -} - -func (m *AlertPolicy_Condition_MetricThreshold) GetThresholdValue() float64 { - if m != nil { - return m.ThresholdValue - } - return 0 -} - -func (m *AlertPolicy_Condition_MetricThreshold) GetDuration() *duration.Duration { - if m != nil { - return m.Duration - } - return nil -} - -func (m *AlertPolicy_Condition_MetricThreshold) GetTrigger() *AlertPolicy_Condition_Trigger { - if m != nil { - return m.Trigger - } - return nil -} - -// A condition type that checks that monitored resources -// are reporting data. The configuration defines a metric and -// a set of monitored resources. The predicate is considered in violation -// when a time series for the specified metric of a monitored -// resource does not include any data in the specified `duration`. -type AlertPolicy_Condition_MetricAbsence struct { - // A [filter](/monitoring/api/v3/filters) that - // identifies which time series should be compared with the threshold. - // - // The filter is similar to the one that is specified in the - // [`MetricService.ListTimeSeries` - // request](/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list) (that - // call is useful to verify the time series that will be retrieved / - // processed) and must specify the metric type and optionally may contain - // restrictions on resource type, resource labels, and metric labels. - // This field may not exceed 2048 Unicode characters in length. - Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` - // Specifies the alignment of data points in individual time series as - // well as how to combine the retrieved time series together (such as - // when aggregating multiple streams on each resource to a single - // stream for each resource or when aggregating streams across all - // members of a group of resrouces). Multiple aggregations - // are applied in the order specified. - // - // This field is similar to the - // one in the [`MetricService.ListTimeSeries` - // request](/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). It - // is advisable to use the `ListTimeSeries` method when debugging this - // field. - Aggregations []*Aggregation `protobuf:"bytes,5,rep,name=aggregations,proto3" json:"aggregations,omitempty"` - // The amount of time that a time series must fail to report new - // data to be considered failing. Currently, only values that - // are a multiple of a minute--e.g. 60, 120, or 300 - // seconds--are supported. If an invalid value is given, an - // error will be returned. The `Duration.nanos` field is - // ignored. - Duration *duration.Duration `protobuf:"bytes,2,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 - // condition will trigger if the comparison is true for any of the - // time series that have been identified by `filter` and `aggregations`. - Trigger *AlertPolicy_Condition_Trigger `protobuf:"bytes,3,opt,name=trigger,proto3" json:"trigger,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AlertPolicy_Condition_MetricAbsence) Reset() { *m = AlertPolicy_Condition_MetricAbsence{} } -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_014ef0e1a0f00a00, []int{0, 1, 2} -} - -func (m *AlertPolicy_Condition_MetricAbsence) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AlertPolicy_Condition_MetricAbsence.Unmarshal(m, b) -} -func (m *AlertPolicy_Condition_MetricAbsence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AlertPolicy_Condition_MetricAbsence.Marshal(b, m, deterministic) -} -func (m *AlertPolicy_Condition_MetricAbsence) XXX_Merge(src proto.Message) { - xxx_messageInfo_AlertPolicy_Condition_MetricAbsence.Merge(m, src) -} -func (m *AlertPolicy_Condition_MetricAbsence) XXX_Size() int { - return xxx_messageInfo_AlertPolicy_Condition_MetricAbsence.Size(m) -} -func (m *AlertPolicy_Condition_MetricAbsence) XXX_DiscardUnknown() { - xxx_messageInfo_AlertPolicy_Condition_MetricAbsence.DiscardUnknown(m) -} - -var xxx_messageInfo_AlertPolicy_Condition_MetricAbsence proto.InternalMessageInfo - -func (m *AlertPolicy_Condition_MetricAbsence) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *AlertPolicy_Condition_MetricAbsence) GetAggregations() []*Aggregation { - if m != nil { - return m.Aggregations - } - return nil -} - -func (m *AlertPolicy_Condition_MetricAbsence) GetDuration() *duration.Duration { - if m != nil { - return m.Duration - } - return nil -} - -func (m *AlertPolicy_Condition_MetricAbsence) GetTrigger() *AlertPolicy_Condition_Trigger { - if m != nil { - return m.Trigger - } - return nil -} - -func init() { - proto.RegisterEnum("google.monitoring.v3.AlertPolicy_ConditionCombinerType", AlertPolicy_ConditionCombinerType_name, AlertPolicy_ConditionCombinerType_value) - proto.RegisterType((*AlertPolicy)(nil), "google.monitoring.v3.AlertPolicy") - proto.RegisterMapType((map[string]string)(nil), "google.monitoring.v3.AlertPolicy.UserLabelsEntry") - proto.RegisterType((*AlertPolicy_Documentation)(nil), "google.monitoring.v3.AlertPolicy.Documentation") - proto.RegisterType((*AlertPolicy_Condition)(nil), "google.monitoring.v3.AlertPolicy.Condition") - proto.RegisterType((*AlertPolicy_Condition_Trigger)(nil), "google.monitoring.v3.AlertPolicy.Condition.Trigger") - proto.RegisterType((*AlertPolicy_Condition_MetricThreshold)(nil), "google.monitoring.v3.AlertPolicy.Condition.MetricThreshold") - proto.RegisterType((*AlertPolicy_Condition_MetricAbsence)(nil), "google.monitoring.v3.AlertPolicy.Condition.MetricAbsence") -} - -func init() { proto.RegisterFile("google/monitoring/v3/alert.proto", fileDescriptor_014ef0e1a0f00a00) } - -var fileDescriptor_014ef0e1a0f00a00 = []byte{ - // 965 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xfd, 0x6e, 0xe3, 0x44, - 0x10, 0xaf, 0x93, 0xe6, 0x6b, 0xd2, 0x36, 0xb9, 0xbd, 0xde, 0xd5, 0x18, 0xe9, 0x94, 0x9e, 0x90, - 0x88, 0x40, 0x38, 0x22, 0x01, 0xf1, 0x71, 0x02, 0x29, 0x5f, 0xbd, 0x44, 0x90, 0xb4, 0xda, 0xa6, - 0x45, 0x42, 0x95, 0x2c, 0xc7, 0xde, 0xba, 0x16, 0xf6, 0xae, 0xb5, 0xb6, 0x8b, 0xf2, 0x18, 0xbc, - 0x02, 0x7f, 0xf2, 0x28, 0x3c, 0x02, 0x8f, 0x81, 0x78, 0x00, 0xe4, 0xf5, 0x47, 0x9c, 0x5e, 0x7a, - 0x47, 0x8e, 0xff, 0x32, 0x3b, 0xbf, 0xf9, 0xcd, 0xce, 0xcc, 0x6f, 0xd6, 0x81, 0x96, 0xc5, 0x98, - 0xe5, 0x90, 0x8e, 0xcb, 0xa8, 0x1d, 0x30, 0x6e, 0x53, 0xab, 0x73, 0xdf, 0xeb, 0xe8, 0x0e, 0xe1, - 0x81, 0xea, 0x71, 0x16, 0x30, 0x74, 0x1c, 0x23, 0xd4, 0x35, 0x42, 0xbd, 0xef, 0x29, 0xa7, 0x5b, - 0xe3, 0x0c, 0xe6, 0xba, 0x8c, 0xc6, 0x81, 0xca, 0x27, 0x5b, 0x21, 0x6e, 0x18, 0xe8, 0x81, 0xcd, - 0xa8, 0xc6, 0x89, 0xc1, 0xb8, 0x99, 0x60, 0x5f, 0x24, 0x58, 0x61, 0x2d, 0xc3, 0xdb, 0x8e, 0x19, - 0x72, 0x01, 0x7b, 0xcc, 0xff, 0x2b, 0xd7, 0x3d, 0x8f, 0x70, 0x3f, 0xf1, 0x9f, 0x24, 0x7e, 0xee, - 0x19, 0x1d, 0x3f, 0xd0, 0x83, 0x30, 0x71, 0xbc, 0xfc, 0xad, 0x09, 0xf5, 0x7e, 0x54, 0xcd, 0x05, - 0x73, 0x6c, 0x63, 0x85, 0x10, 0xec, 0x53, 0xdd, 0x25, 0xb2, 0xd4, 0x92, 0xda, 0x35, 0x2c, 0x7e, - 0xa3, 0x53, 0x38, 0x30, 0x6d, 0xdf, 0x73, 0xf4, 0x95, 0x26, 0x7c, 0x05, 0xe1, 0xab, 0x27, 0x67, - 0xf3, 0x08, 0x72, 0x05, 0x87, 0x26, 0x33, 0x42, 0x97, 0xd0, 0xf8, 0xf6, 0xf2, 0x61, 0x4b, 0x6a, - 0xd7, 0xbb, 0x1d, 0x75, 0x5b, 0x73, 0xd4, 0x5c, 0x42, 0x75, 0x94, 0x0f, 0xc3, 0x9b, 0x2c, 0x08, - 0x43, 0x3d, 0xf4, 0x09, 0xd7, 0x1c, 0x7d, 0x49, 0x1c, 0x5f, 0x6e, 0xb6, 0x8a, 0xed, 0x7a, 0xf7, - 0xf3, 0x77, 0x93, 0x5e, 0xf9, 0x84, 0xff, 0x28, 0x62, 0xc6, 0x34, 0xe0, 0x2b, 0x0c, 0x61, 0x76, - 0x80, 0x7e, 0x00, 0x30, 0x18, 0x35, 0xed, 0x28, 0x81, 0x2f, 0x1f, 0x08, 0xca, 0x4f, 0xdf, 0x4d, - 0x39, 0x4c, 0x63, 0x70, 0x2e, 0x1c, 0x5d, 0x42, 0xd5, 0x60, 0xee, 0xd2, 0xa6, 0x84, 0xcb, 0xe5, - 0x96, 0xd4, 0x3e, 0xea, 0x7e, 0xb5, 0x03, 0xd5, 0x30, 0x09, 0x5d, 0xac, 0x3c, 0x82, 0x33, 0x22, - 0xf4, 0x05, 0x54,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b, 0x1e, 0x40, 0x5c, 0x73, 0xd4, 0xbc, 0x0b, 0xe9, 0xe7, 0xef, - 0x13, 0x8c, 0xc5, 0x1c, 0x9d, 0x5a, 0x2a, 0xe3, 0x56, 0xc7, 0x22, 0x54, 0xb4, 0xb6, 0x13, 0xbb, - 0x74, 0xcf, 0xf6, 0x37, 0xff, 0xe2, 0xbc, 0x5a, 0x5b, 0x7f, 0x14, 0x94, 0xd7, 0x31, 0xc1, 0xd0, - 0x61, 0xa1, 0xa9, 0xce, 0xd6, 0xa9, 0xae, 0x7b, 0x7f, 0xa6, 0xce, 0x1b, 0xe1, 0xbc, 0x59, 0x3b, - 0x6f, 0xae, 0x7b, 0xcb, 0xb2, 0x48, 0xd2, 0xfb, 0x37, 0x00, 0x00, 0xff, 0xff, 0x41, 0x91, 0x1a, - 0x51, 0xa1, 0x09, 0x00, 0x00, -} 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 deleted file mode 100644 index aed183ea..00000000 --- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/alert_service.pb.go +++ /dev/null @@ -1,700 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/monitoring/v3/alert_service.proto - -package monitoring - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The protocol for the `CreateAlertPolicy` request. -type CreateAlertPolicyRequest struct { - // The project in which to create the alerting policy. The format is - // `projects/[PROJECT_ID]`. - // - // Note that this field names the parent container in which the alerting - // policy will be written, not the name of the created policy. The alerting - // policy that is returned will have a name that contains a normalized - // representation of this name as a prefix but adds a suffix of the form - // `/alertPolicies/[POLICY_ID]`, identifying the policy in the container. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - // The requested alerting policy. You should omit the `name` field in this - // policy. The name will be returned in the new policy, including - // a new [ALERT_POLICY_ID] value. - AlertPolicy *AlertPolicy `protobuf:"bytes,2,opt,name=alert_policy,json=alertPolicy,proto3" json:"alert_policy,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateAlertPolicyRequest) Reset() { *m = CreateAlertPolicyRequest{} } -func (m *CreateAlertPolicyRequest) String() string { return proto.CompactTextString(m) } -func (*CreateAlertPolicyRequest) ProtoMessage() {} -func (*CreateAlertPolicyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c45362b2a456d1bf, []int{0} -} - -func (m *CreateAlertPolicyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateAlertPolicyRequest.Unmarshal(m, b) -} -func (m *CreateAlertPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateAlertPolicyRequest.Marshal(b, m, deterministic) -} -func (m *CreateAlertPolicyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateAlertPolicyRequest.Merge(m, src) -} -func (m *CreateAlertPolicyRequest) XXX_Size() int { - return xxx_messageInfo_CreateAlertPolicyRequest.Size(m) -} -func (m *CreateAlertPolicyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateAlertPolicyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateAlertPolicyRequest proto.InternalMessageInfo - -func (m *CreateAlertPolicyRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *CreateAlertPolicyRequest) GetAlertPolicy() *AlertPolicy { - if m != nil { - return m.AlertPolicy - } - return nil -} - -// The protocol for the `GetAlertPolicy` request. -type GetAlertPolicyRequest struct { - // The alerting policy to retrieve. The format is - // - // projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID] - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c45362b2a456d1bf, []int{1} -} - -func (m *GetAlertPolicyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAlertPolicyRequest.Unmarshal(m, b) -} -func (m *GetAlertPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAlertPolicyRequest.Marshal(b, m, deterministic) -} -func (m *GetAlertPolicyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAlertPolicyRequest.Merge(m, src) -} -func (m *GetAlertPolicyRequest) XXX_Size() int { - return xxx_messageInfo_GetAlertPolicyRequest.Size(m) -} -func (m *GetAlertPolicyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAlertPolicyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetAlertPolicyRequest proto.InternalMessageInfo - -func (m *GetAlertPolicyRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The protocol for the `ListAlertPolicies` request. -type ListAlertPoliciesRequest struct { - // The project whose alert policies are to be listed. The format is - // - // projects/[PROJECT_ID] - // - // Note that this field names the parent container in which the alerting - // policies to be listed are stored. To retrieve a single alerting policy - // by name, use the - // [GetAlertPolicy][google.monitoring.v3.AlertPolicyService.GetAlertPolicy] - // operation, instead. - Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` - // If provided, this field specifies the criteria that must be met by - // alert policies to be included in the response. - // - // For more details, see [sorting and - // filtering](/monitoring/api/v3/sorting-and-filtering). - Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"` - // A comma-separated list of fields by which to sort the result. Supports - // the same set of field references as the `filter` field. Entries can be - // prefixed with a minus sign to sort by the field in descending order. - // - // For more details, see [sorting and - // filtering](/monitoring/api/v3/sorting-and-filtering). - OrderBy string `protobuf:"bytes,6,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` - // The maximum number of results to return in a single response. - PageSize int32 `protobuf:"varint,2,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 - // method to return more results from the previous method call. - 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 *ListAlertPoliciesRequest) Reset() { *m = ListAlertPoliciesRequest{} } -func (m *ListAlertPoliciesRequest) String() string { return proto.CompactTextString(m) } -func (*ListAlertPoliciesRequest) ProtoMessage() {} -func (*ListAlertPoliciesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c45362b2a456d1bf, []int{2} -} - -func (m *ListAlertPoliciesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListAlertPoliciesRequest.Unmarshal(m, b) -} -func (m *ListAlertPoliciesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListAlertPoliciesRequest.Marshal(b, m, deterministic) -} -func (m *ListAlertPoliciesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAlertPoliciesRequest.Merge(m, src) -} -func (m *ListAlertPoliciesRequest) XXX_Size() int { - return xxx_messageInfo_ListAlertPoliciesRequest.Size(m) -} -func (m *ListAlertPoliciesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListAlertPoliciesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListAlertPoliciesRequest proto.InternalMessageInfo - -func (m *ListAlertPoliciesRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ListAlertPoliciesRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListAlertPoliciesRequest) GetOrderBy() string { - if m != nil { - return m.OrderBy - } - return "" -} - -func (m *ListAlertPoliciesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListAlertPoliciesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// The protocol for the `ListAlertPolicies` response. -type ListAlertPoliciesResponse struct { - // The returned alert policies. - AlertPolicies []*AlertPolicy `protobuf:"bytes,3,rep,name=alert_policies,json=alertPolicies,proto3" json:"alert_policies,omitempty"` - // If there might be more results than were 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:"-"` -} - -func (m *ListAlertPoliciesResponse) Reset() { *m = ListAlertPoliciesResponse{} } -func (m *ListAlertPoliciesResponse) String() string { return proto.CompactTextString(m) } -func (*ListAlertPoliciesResponse) ProtoMessage() {} -func (*ListAlertPoliciesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c45362b2a456d1bf, []int{3} -} - -func (m *ListAlertPoliciesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListAlertPoliciesResponse.Unmarshal(m, b) -} -func (m *ListAlertPoliciesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListAlertPoliciesResponse.Marshal(b, m, deterministic) -} -func (m *ListAlertPoliciesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAlertPoliciesResponse.Merge(m, src) -} -func (m *ListAlertPoliciesResponse) XXX_Size() int { - return xxx_messageInfo_ListAlertPoliciesResponse.Size(m) -} -func (m *ListAlertPoliciesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListAlertPoliciesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListAlertPoliciesResponse proto.InternalMessageInfo - -func (m *ListAlertPoliciesResponse) GetAlertPolicies() []*AlertPolicy { - if m != nil { - return m.AlertPolicies - } - return nil -} - -func (m *ListAlertPoliciesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The protocol for the `UpdateAlertPolicy` request. -type UpdateAlertPolicyRequest struct { - // Optional. A list of alerting policy field names. If this field is not - // empty, each listed field in the existing alerting policy is set to the - // value of the corresponding field in the supplied policy (`alert_policy`), - // or to the field's default value if the field is not in the supplied - // alerting policy. Fields not listed retain their previous value. - // - // Examples of valid field masks include `display_name`, `documentation`, - // `documentation.content`, `documentation.mime_type`, `user_labels`, - // `user_label.nameofkey`, `enabled`, `conditions`, `combiner`, etc. - // - // If this field is empty, then the supplied alerting policy replaces the - // existing policy. It is the same as deleting the existing policy and - // adding the supplied policy, except for the following: - // - // + The new policy will have the same `[ALERT_POLICY_ID]` as the former - // policy. This gives you continuity with the former policy in your - // notifications and incidents. - // + Conditions in the new policy will keep their former `[CONDITION_ID]` if - // the supplied condition includes the `name` field with that - // `[CONDITION_ID]`. If the supplied condition omits the `name` field, - // then a new `[CONDITION_ID]` is created. - UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` - // Required. The updated alerting policy or the updated values for the - // fields listed in `update_mask`. - // If `update_mask` is not empty, any fields in this policy that are - // not in `update_mask` are ignored. - AlertPolicy *AlertPolicy `protobuf:"bytes,3,opt,name=alert_policy,json=alertPolicy,proto3" json:"alert_policy,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpdateAlertPolicyRequest) Reset() { *m = UpdateAlertPolicyRequest{} } -func (m *UpdateAlertPolicyRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateAlertPolicyRequest) ProtoMessage() {} -func (*UpdateAlertPolicyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c45362b2a456d1bf, []int{4} -} - -func (m *UpdateAlertPolicyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateAlertPolicyRequest.Unmarshal(m, b) -} -func (m *UpdateAlertPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateAlertPolicyRequest.Marshal(b, m, deterministic) -} -func (m *UpdateAlertPolicyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateAlertPolicyRequest.Merge(m, src) -} -func (m *UpdateAlertPolicyRequest) XXX_Size() int { - return xxx_messageInfo_UpdateAlertPolicyRequest.Size(m) -} -func (m *UpdateAlertPolicyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateAlertPolicyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateAlertPolicyRequest proto.InternalMessageInfo - -func (m *UpdateAlertPolicyRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -func (m *UpdateAlertPolicyRequest) GetAlertPolicy() *AlertPolicy { - if m != nil { - return m.AlertPolicy - } - return nil -} - -// The protocol for the `DeleteAlertPolicy` request. -type DeleteAlertPolicyRequest struct { - // The alerting policy to delete. The format is: - // - // projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID] - // - // For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy]. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DeleteAlertPolicyRequest) Reset() { *m = DeleteAlertPolicyRequest{} } -func (m *DeleteAlertPolicyRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteAlertPolicyRequest) ProtoMessage() {} -func (*DeleteAlertPolicyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c45362b2a456d1bf, []int{5} -} - -func (m *DeleteAlertPolicyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteAlertPolicyRequest.Unmarshal(m, b) -} -func (m *DeleteAlertPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteAlertPolicyRequest.Marshal(b, m, deterministic) -} -func (m *DeleteAlertPolicyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteAlertPolicyRequest.Merge(m, src) -} -func (m *DeleteAlertPolicyRequest) XXX_Size() int { - return xxx_messageInfo_DeleteAlertPolicyRequest.Size(m) -} -func (m *DeleteAlertPolicyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteAlertPolicyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteAlertPolicyRequest proto.InternalMessageInfo - -func (m *DeleteAlertPolicyRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func init() { - proto.RegisterType((*CreateAlertPolicyRequest)(nil), "google.monitoring.v3.CreateAlertPolicyRequest") - proto.RegisterType((*GetAlertPolicyRequest)(nil), "google.monitoring.v3.GetAlertPolicyRequest") - proto.RegisterType((*ListAlertPoliciesRequest)(nil), "google.monitoring.v3.ListAlertPoliciesRequest") - proto.RegisterType((*ListAlertPoliciesResponse)(nil), "google.monitoring.v3.ListAlertPoliciesResponse") - proto.RegisterType((*UpdateAlertPolicyRequest)(nil), "google.monitoring.v3.UpdateAlertPolicyRequest") - proto.RegisterType((*DeleteAlertPolicyRequest)(nil), "google.monitoring.v3.DeleteAlertPolicyRequest") -} - -func init() { - proto.RegisterFile("google/monitoring/v3/alert_service.proto", fileDescriptor_c45362b2a456d1bf) -} - -var fileDescriptor_c45362b2a456d1bf = []byte{ - // 722 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0xcf, 0x4f, 0x13, 0x4d, - 0x18, 0xce, 0xb6, 0xfc, 0x1c, 0x3e, 0xf8, 0xd2, 0xc9, 0xf7, 0xe1, 0xb2, 0x68, 0x52, 0x6b, 0x50, - 0x02, 0xb2, 0x93, 0xb4, 0x27, 0x21, 0x9a, 0x50, 0x50, 0x38, 0x48, 0xd2, 0x14, 0xe5, 0x60, 0x48, - 0x9a, 0xa1, 0x7d, 0xbb, 0x8c, 0x6c, 0x77, 0xd6, 0x9d, 0x29, 0x58, 0x0c, 0x17, 0x6f, 0x9a, 0x18, - 0x0f, 0x9e, 0x3d, 0x78, 0xc4, 0x93, 0x7f, 0x07, 0x47, 0xbd, 0x79, 0xf6, 0x0f, 0x31, 0x3b, 0xbb, - 0x65, 0xb7, 0x74, 0x37, 0xac, 0xde, 0x3a, 0xf3, 0x3e, 0x33, 0xcf, 0x33, 0xcf, 0xfb, 0xbc, 0x5b, - 0xb4, 0x68, 0x71, 0x6e, 0xd9, 0x40, 0x3a, 0xdc, 0x61, 0x92, 0x7b, 0xcc, 0xb1, 0xc8, 0x71, 0x85, - 0x50, 0x1b, 0x3c, 0xd9, 0x10, 0xe0, 0x1d, 0xb3, 0x26, 0x98, 0xae, 0xc7, 0x25, 0xc7, 0xff, 0x05, - 0x48, 0x33, 0x42, 0x9a, 0xc7, 0x15, 0xe3, 0x66, 0x78, 0x9e, 0xba, 0x8c, 0x50, 0xc7, 0xe1, 0x92, - 0x4a, 0xc6, 0x1d, 0x11, 0x9c, 0x31, 0x8a, 0xe9, 0xb7, 0x87, 0x88, 0xf9, 0x10, 0xa1, 0x56, 0x07, - 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, - 0x8c, 0x29, 0x92, 0xca, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x84, 0xce, 0x66, 0xda, 0x0c, 0x08, - 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 - -// AlertPolicyServiceClient is the client API for AlertPolicyService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AlertPolicyServiceClient interface { - // Lists the existing alerting policies for the project. - ListAlertPolicies(ctx context.Context, in *ListAlertPoliciesRequest, opts ...grpc.CallOption) (*ListAlertPoliciesResponse, error) - // Gets a single alerting policy. - GetAlertPolicy(ctx context.Context, in *GetAlertPolicyRequest, opts ...grpc.CallOption) (*AlertPolicy, error) - // Creates a new alerting policy. - CreateAlertPolicy(ctx context.Context, in *CreateAlertPolicyRequest, opts ...grpc.CallOption) (*AlertPolicy, error) - // Deletes an alerting policy. - DeleteAlertPolicy(ctx context.Context, in *DeleteAlertPolicyRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Updates an alerting policy. You can either replace the entire policy with - // a new one or replace only certain fields in the current alerting policy by - // specifying the fields to be updated via `updateMask`. Returns the - // updated alerting policy. - UpdateAlertPolicy(ctx context.Context, in *UpdateAlertPolicyRequest, opts ...grpc.CallOption) (*AlertPolicy, error) -} - -type alertPolicyServiceClient struct { - cc *grpc.ClientConn -} - -func NewAlertPolicyServiceClient(cc *grpc.ClientConn) AlertPolicyServiceClient { - return &alertPolicyServiceClient{cc} -} - -func (c *alertPolicyServiceClient) ListAlertPolicies(ctx context.Context, in *ListAlertPoliciesRequest, opts ...grpc.CallOption) (*ListAlertPoliciesResponse, error) { - out := new(ListAlertPoliciesResponse) - err := c.cc.Invoke(ctx, "/google.monitoring.v3.AlertPolicyService/ListAlertPolicies", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *alertPolicyServiceClient) GetAlertPolicy(ctx context.Context, in *GetAlertPolicyRequest, opts ...grpc.CallOption) (*AlertPolicy, error) { - out := new(AlertPolicy) - err := c.cc.Invoke(ctx, "/google.monitoring.v3.AlertPolicyService/GetAlertPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *alertPolicyServiceClient) CreateAlertPolicy(ctx context.Context, in *CreateAlertPolicyRequest, opts ...grpc.CallOption) (*AlertPolicy, error) { - out := new(AlertPolicy) - err := c.cc.Invoke(ctx, "/google.monitoring.v3.AlertPolicyService/CreateAlertPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *alertPolicyServiceClient) DeleteAlertPolicy(ctx context.Context, in *DeleteAlertPolicyRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.monitoring.v3.AlertPolicyService/DeleteAlertPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *alertPolicyServiceClient) UpdateAlertPolicy(ctx context.Context, in *UpdateAlertPolicyRequest, opts ...grpc.CallOption) (*AlertPolicy, error) { - out := new(AlertPolicy) - err := c.cc.Invoke(ctx, "/google.monitoring.v3.AlertPolicyService/UpdateAlertPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AlertPolicyServiceServer is the server API for AlertPolicyService service. -type AlertPolicyServiceServer interface { - // Lists the existing alerting policies for the project. - ListAlertPolicies(context.Context, *ListAlertPoliciesRequest) (*ListAlertPoliciesResponse, error) - // Gets a single alerting policy. - GetAlertPolicy(context.Context, *GetAlertPolicyRequest) (*AlertPolicy, error) - // Creates a new alerting policy. - CreateAlertPolicy(context.Context, *CreateAlertPolicyRequest) (*AlertPolicy, error) - // Deletes an alerting policy. - DeleteAlertPolicy(context.Context, *DeleteAlertPolicyRequest) (*empty.Empty, error) - // Updates an alerting policy. You can either replace the entire policy with - // a new one or replace only certain fields in the current alerting policy by - // specifying the fields to be updated via `updateMask`. Returns the - // updated alerting policy. - UpdateAlertPolicy(context.Context, *UpdateAlertPolicyRequest) (*AlertPolicy, error) -} - -// UnimplementedAlertPolicyServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAlertPolicyServiceServer struct { -} - -func (*UnimplementedAlertPolicyServiceServer) ListAlertPolicies(ctx context.Context, req *ListAlertPoliciesRequest) (*ListAlertPoliciesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListAlertPolicies not implemented") -} -func (*UnimplementedAlertPolicyServiceServer) GetAlertPolicy(ctx context.Context, req *GetAlertPolicyRequest) (*AlertPolicy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAlertPolicy not implemented") -} -func (*UnimplementedAlertPolicyServiceServer) CreateAlertPolicy(ctx context.Context, req *CreateAlertPolicyRequest) (*AlertPolicy, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateAlertPolicy not implemented") -} -func (*UnimplementedAlertPolicyServiceServer) DeleteAlertPolicy(ctx context.Context, req *DeleteAlertPolicyRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteAlertPolicy not implemented") -} -func (*UnimplementedAlertPolicyServiceServer) UpdateAlertPolicy(ctx context.Context, req *UpdateAlertPolicyRequest) (*AlertPolicy, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateAlertPolicy not implemented") -} - -func RegisterAlertPolicyServiceServer(s *grpc.Server, srv AlertPolicyServiceServer) { - s.RegisterService(&_AlertPolicyService_serviceDesc, srv) -} - -func _AlertPolicyService_ListAlertPolicies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListAlertPoliciesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AlertPolicyServiceServer).ListAlertPolicies(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.monitoring.v3.AlertPolicyService/ListAlertPolicies", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AlertPolicyServiceServer).ListAlertPolicies(ctx, req.(*ListAlertPoliciesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AlertPolicyService_GetAlertPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAlertPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AlertPolicyServiceServer).GetAlertPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.monitoring.v3.AlertPolicyService/GetAlertPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AlertPolicyServiceServer).GetAlertPolicy(ctx, req.(*GetAlertPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AlertPolicyService_CreateAlertPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateAlertPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AlertPolicyServiceServer).CreateAlertPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.monitoring.v3.AlertPolicyService/CreateAlertPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AlertPolicyServiceServer).CreateAlertPolicy(ctx, req.(*CreateAlertPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AlertPolicyService_DeleteAlertPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteAlertPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AlertPolicyServiceServer).DeleteAlertPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.monitoring.v3.AlertPolicyService/DeleteAlertPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AlertPolicyServiceServer).DeleteAlertPolicy(ctx, req.(*DeleteAlertPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AlertPolicyService_UpdateAlertPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateAlertPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AlertPolicyServiceServer).UpdateAlertPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.monitoring.v3.AlertPolicyService/UpdateAlertPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AlertPolicyServiceServer).UpdateAlertPolicy(ctx, req.(*UpdateAlertPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _AlertPolicyService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.monitoring.v3.AlertPolicyService", - HandlerType: (*AlertPolicyServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListAlertPolicies", - Handler: _AlertPolicyService_ListAlertPolicies_Handler, - }, - { - MethodName: "GetAlertPolicy", - Handler: _AlertPolicyService_GetAlertPolicy_Handler, - }, - { - MethodName: "CreateAlertPolicy", - Handler: _AlertPolicyService_CreateAlertPolicy_Handler, - }, - { - MethodName: "DeleteAlertPolicy", - Handler: _AlertPolicyService_DeleteAlertPolicy_Handler, - }, - { - MethodName: "UpdateAlertPolicy", - Handler: _AlertPolicyService_UpdateAlertPolicy_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/monitoring/v3/alert_service.proto", -} 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 deleted file mode 100644 index 558c6523..00000000 --- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/common.pb.go +++ /dev/null @@ -1,810 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/monitoring/v3/common.proto - -package monitoring - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - distribution "google.golang.org/genproto/googleapis/api/distribution" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Specifies an ordering relationship on two arguments, here called left and -// right. -type ComparisonType int32 - -const ( - // No ordering relationship is specified. - ComparisonType_COMPARISON_UNSPECIFIED ComparisonType = 0 - // The left argument is greater than the right argument. - ComparisonType_COMPARISON_GT ComparisonType = 1 - // The left argument is greater than or equal to the right argument. - ComparisonType_COMPARISON_GE ComparisonType = 2 - // The left argument is less than the right argument. - ComparisonType_COMPARISON_LT ComparisonType = 3 - // The left argument is less than or equal to the right argument. - ComparisonType_COMPARISON_LE ComparisonType = 4 - // The left argument is equal to the right argument. - ComparisonType_COMPARISON_EQ ComparisonType = 5 - // The left argument is not equal to the right argument. - ComparisonType_COMPARISON_NE ComparisonType = 6 -) - -var ComparisonType_name = map[int32]string{ - 0: "COMPARISON_UNSPECIFIED", - 1: "COMPARISON_GT", - 2: "COMPARISON_GE", - 3: "COMPARISON_LT", - 4: "COMPARISON_LE", - 5: "COMPARISON_EQ", - 6: "COMPARISON_NE", -} - -var ComparisonType_value = map[string]int32{ - "COMPARISON_UNSPECIFIED": 0, - "COMPARISON_GT": 1, - "COMPARISON_GE": 2, - "COMPARISON_LT": 3, - "COMPARISON_LE": 4, - "COMPARISON_EQ": 5, - "COMPARISON_NE": 6, -} - -func (x ComparisonType) String() string { - return proto.EnumName(ComparisonType_name, int32(x)) -} - -func (ComparisonType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_013c57c1dcbb8d65, []int{0} -} - -// 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 // Deprecated: Do not use. -const ( - // An invalid sentinel value, used to indicate that a tier has not - // been provided explicitly. - ServiceTier_SERVICE_TIER_UNSPECIFIED ServiceTier = 0 - // 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/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/workspaces/tiers). - ServiceTier_SERVICE_TIER_PREMIUM ServiceTier = 2 -) - -var ServiceTier_name = map[int32]string{ - 0: "SERVICE_TIER_UNSPECIFIED", - 1: "SERVICE_TIER_BASIC", - 2: "SERVICE_TIER_PREMIUM", -} - -var ServiceTier_value = map[string]int32{ - "SERVICE_TIER_UNSPECIFIED": 0, - "SERVICE_TIER_BASIC": 1, - "SERVICE_TIER_PREMIUM": 2, -} - -func (x ServiceTier) String() string { - return proto.EnumName(ServiceTier_name, int32(x)) -} - -func (ServiceTier) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_013c57c1dcbb8d65, []int{1} -} - -// The Aligner describes how to bring the data points in a single -// time series into temporal alignment. -type Aggregation_Aligner int32 - -const ( - // No alignment. Raw data is returned. Not valid if cross-time - // series reduction is requested. The value type of the result is - // the same as the value type of the input. - Aggregation_ALIGN_NONE Aggregation_Aligner = 0 - // Align and convert to delta metric type. This alignment is valid - // for cumulative metrics and delta metrics. Aligning an existing - // delta metric to a delta metric requires that the alignment - // period be increased. The value type of the result is the same - // as the value type of the input. - // - // One can think of this aligner as a rate but without time units; that - // is, the output is conceptually (second_point - first_point). - Aggregation_ALIGN_DELTA Aggregation_Aligner = 1 - // Align and convert to a rate. This alignment is valid for - // cumulative metrics and delta metrics with numeric values. The output is a - // gauge metric with value type - // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]. - // - // One can think of this aligner as conceptually providing the slope of - // the line that passes through the value at the start and end of the - // window. In other words, this is conceptually ((y1 - y0)/(t1 - t0)), - // and the output unit is one that has a "/time" dimension. - // - // If, by rate, you are looking for percentage change, see the - // `ALIGN_PERCENT_CHANGE` aligner option. - Aggregation_ALIGN_RATE Aggregation_Aligner = 2 - // Align by interpolating between adjacent points around the - // period boundary. This alignment is valid for gauge - // metrics with numeric values. The value type of the result is the same - // as the value type of the input. - Aggregation_ALIGN_INTERPOLATE Aggregation_Aligner = 3 - // Align by shifting the oldest data point before the period - // boundary to the boundary. This alignment is valid for gauge - // metrics. The value type of the result is the same as the - // value type of the input. - Aggregation_ALIGN_NEXT_OLDER Aggregation_Aligner = 4 - // Align time series via aggregation. The resulting data point in - // the alignment period is the minimum of all data points in the - // period. This alignment is valid for gauge and delta metrics with numeric - // values. The value type of the result is the same as the value - // type of the input. - Aggregation_ALIGN_MIN Aggregation_Aligner = 10 - // Align time series via aggregation. The resulting data point in - // the alignment period is the maximum of all data points in the - // period. This alignment is valid for gauge and delta metrics with numeric - // values. The value type of the result is the same as the value - // type of the input. - Aggregation_ALIGN_MAX Aggregation_Aligner = 11 - // Align time series via aggregation. The resulting data point in - // the alignment period is the average or arithmetic mean of all - // data points in the period. This alignment is valid for gauge and delta - // metrics with numeric values. The value type of the output is - // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]. - Aggregation_ALIGN_MEAN Aggregation_Aligner = 12 - // Align time series via aggregation. The resulting data point in - // the alignment period is the count of all data points in the - // period. This alignment is valid for gauge and delta metrics with numeric - // or Boolean values. The value type of the output is - // [INT64][google.api.MetricDescriptor.ValueType.INT64]. - Aggregation_ALIGN_COUNT Aggregation_Aligner = 13 - // Align time series via aggregation. The resulting data point in - // the alignment period is the sum of all data points in the - // period. This alignment is valid for gauge and delta metrics with numeric - // and distribution values. The value type of the output is the - // same as the value type of the input. - Aggregation_ALIGN_SUM Aggregation_Aligner = 14 - // Align time series via aggregation. The resulting data point in - // the alignment period is the standard deviation of all data - // points in the period. This alignment is valid for gauge and delta metrics - // with numeric values. The value type of the output is - // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]. - Aggregation_ALIGN_STDDEV Aggregation_Aligner = 15 - // Align time series via aggregation. The resulting data point in - // the alignment period is the count of True-valued data points in the - // period. This alignment is valid for gauge metrics with - // Boolean values. The value type of the output is - // [INT64][google.api.MetricDescriptor.ValueType.INT64]. - Aggregation_ALIGN_COUNT_TRUE Aggregation_Aligner = 16 - // Align time series via aggregation. The resulting data point in - // the alignment period is the count of False-valued data points in the - // period. This alignment is valid for gauge metrics with - // Boolean values. The value type of the output is - // [INT64][google.api.MetricDescriptor.ValueType.INT64]. - Aggregation_ALIGN_COUNT_FALSE Aggregation_Aligner = 24 - // Align time series via aggregation. The resulting data point in - // the alignment period is the fraction of True-valued data points in the - // period. This alignment is valid for gauge metrics with Boolean values. - // The output value is in the range [0, 1] and has value type - // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]. - Aggregation_ALIGN_FRACTION_TRUE Aggregation_Aligner = 17 - // Align time series via aggregation. The resulting data point in - // the alignment period is the 99th percentile of all data - // points in the period. This alignment is valid for gauge and delta metrics - // with distribution values. The output is a gauge metric with value type - // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]. - Aggregation_ALIGN_PERCENTILE_99 Aggregation_Aligner = 18 - // Align time series via aggregation. The resulting data point in - // the alignment period is the 95th percentile of all data - // points in the period. This alignment is valid for gauge and delta metrics - // with distribution values. The output is a gauge metric with value type - // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]. - Aggregation_ALIGN_PERCENTILE_95 Aggregation_Aligner = 19 - // Align time series via aggregation. The resulting data point in - // the alignment period is the 50th percentile of all data - // points in the period. This alignment is valid for gauge and delta metrics - // with distribution values. The output is a gauge metric with value type - // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]. - Aggregation_ALIGN_PERCENTILE_50 Aggregation_Aligner = 20 - // Align time series via aggregation. The resulting data point in - // the alignment period is the 5th percentile of all data - // points in the period. This alignment is valid for gauge and delta metrics - // with distribution values. The output is a gauge metric with value type - // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]. - Aggregation_ALIGN_PERCENTILE_05 Aggregation_Aligner = 21 - // Align and convert to a percentage change. This alignment is valid for - // gauge and delta metrics with numeric values. This alignment conceptually - // computes the equivalent of "((current - previous)/previous)*100" - // where previous value is determined based on the alignmentPeriod. - // In the event that previous is 0 the calculated value is infinity with the - // exception that if both (current - previous) and previous are 0 the - // calculated value is 0. - // A 10 minute moving mean is computed at each point of the time window - // prior to the above calculation to smooth the metric and prevent false - // positives from very short lived spikes. - // Only applicable for data that is >= 0. Any values < 0 are treated as - // no data. While delta metrics are accepted by this alignment special care - // should be taken that the values for the metric will always be positive. - // The output is a gauge metric with value type - // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]. - Aggregation_ALIGN_PERCENT_CHANGE Aggregation_Aligner = 23 -) - -var Aggregation_Aligner_name = map[int32]string{ - 0: "ALIGN_NONE", - 1: "ALIGN_DELTA", - 2: "ALIGN_RATE", - 3: "ALIGN_INTERPOLATE", - 4: "ALIGN_NEXT_OLDER", - 10: "ALIGN_MIN", - 11: "ALIGN_MAX", - 12: "ALIGN_MEAN", - 13: "ALIGN_COUNT", - 14: "ALIGN_SUM", - 15: "ALIGN_STDDEV", - 16: "ALIGN_COUNT_TRUE", - 24: "ALIGN_COUNT_FALSE", - 17: "ALIGN_FRACTION_TRUE", - 18: "ALIGN_PERCENTILE_99", - 19: "ALIGN_PERCENTILE_95", - 20: "ALIGN_PERCENTILE_50", - 21: "ALIGN_PERCENTILE_05", - 23: "ALIGN_PERCENT_CHANGE", -} - -var Aggregation_Aligner_value = map[string]int32{ - "ALIGN_NONE": 0, - "ALIGN_DELTA": 1, - "ALIGN_RATE": 2, - "ALIGN_INTERPOLATE": 3, - "ALIGN_NEXT_OLDER": 4, - "ALIGN_MIN": 10, - "ALIGN_MAX": 11, - "ALIGN_MEAN": 12, - "ALIGN_COUNT": 13, - "ALIGN_SUM": 14, - "ALIGN_STDDEV": 15, - "ALIGN_COUNT_TRUE": 16, - "ALIGN_COUNT_FALSE": 24, - "ALIGN_FRACTION_TRUE": 17, - "ALIGN_PERCENTILE_99": 18, - "ALIGN_PERCENTILE_95": 19, - "ALIGN_PERCENTILE_50": 20, - "ALIGN_PERCENTILE_05": 21, - "ALIGN_PERCENT_CHANGE": 23, -} - -func (x Aggregation_Aligner) String() string { - return proto.EnumName(Aggregation_Aligner_name, int32(x)) -} - -func (Aggregation_Aligner) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_013c57c1dcbb8d65, []int{2, 0} -} - -// A Reducer describes how to aggregate data points from multiple -// time series into a single time series. -type Aggregation_Reducer int32 - -const ( - // No cross-time series reduction. The output of the aligner is - // returned. - Aggregation_REDUCE_NONE Aggregation_Reducer = 0 - // Reduce by computing the mean across time series for each - // alignment period. This reducer is valid for delta and - // gauge metrics with numeric or distribution values. The value type of the - // output is [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]. - Aggregation_REDUCE_MEAN Aggregation_Reducer = 1 - // Reduce by computing the minimum across time series for each - // alignment period. This reducer is valid for delta and - // gauge metrics with numeric values. The value type of the output - // is the same as the value type of the input. - Aggregation_REDUCE_MIN Aggregation_Reducer = 2 - // Reduce by computing the maximum across time series for each - // alignment period. This reducer is valid for delta and - // gauge metrics with numeric values. The value type of the output - // is the same as the value type of the input. - Aggregation_REDUCE_MAX Aggregation_Reducer = 3 - // Reduce by computing the sum across time series for each - // alignment period. This reducer is valid for delta and - // gauge metrics with numeric and distribution values. The value type of - // the output is the same as the value type of the input. - Aggregation_REDUCE_SUM Aggregation_Reducer = 4 - // Reduce by computing the standard deviation across time series - // for each alignment period. This reducer is valid for delta - // and gauge metrics with numeric or distribution values. The value type of - // the output is [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]. - Aggregation_REDUCE_STDDEV Aggregation_Reducer = 5 - // Reduce by computing the count of data points across time series - // for each alignment period. This reducer is valid for delta - // and gauge metrics of numeric, Boolean, distribution, and string value - // type. The value type of the output is - // [INT64][google.api.MetricDescriptor.ValueType.INT64]. - Aggregation_REDUCE_COUNT Aggregation_Reducer = 6 - // Reduce by computing the count of True-valued data points across time - // series for each alignment period. This reducer is valid for delta - // and gauge metrics of Boolean value type. The value type of - // the output is [INT64][google.api.MetricDescriptor.ValueType.INT64]. - Aggregation_REDUCE_COUNT_TRUE Aggregation_Reducer = 7 - // Reduce by computing the count of False-valued data points across time - // series for each alignment period. This reducer is valid for delta - // and gauge metrics of Boolean value type. The value type of - // the output is [INT64][google.api.MetricDescriptor.ValueType.INT64]. - Aggregation_REDUCE_COUNT_FALSE Aggregation_Reducer = 15 - // Reduce by computing the fraction of True-valued data points across time - // series for each alignment period. This reducer is valid for delta - // and gauge metrics of Boolean value type. The output value is in the - // range [0, 1] and has value type - // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE]. - Aggregation_REDUCE_FRACTION_TRUE Aggregation_Reducer = 8 - // Reduce by computing 99th percentile of data points across time series - // for each alignment period. This reducer is valid for gauge and delta - // metrics of numeric and distribution type. The value of the output is - // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE] - Aggregation_REDUCE_PERCENTILE_99 Aggregation_Reducer = 9 - // Reduce by computing 95th percentile of data points across time series - // for each alignment period. This reducer is valid for gauge and delta - // metrics of numeric and distribution type. The value of the output is - // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE] - Aggregation_REDUCE_PERCENTILE_95 Aggregation_Reducer = 10 - // Reduce by computing 50th percentile of data points across time series - // for each alignment period. This reducer is valid for gauge and delta - // metrics of numeric and distribution type. The value of the output is - // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE] - Aggregation_REDUCE_PERCENTILE_50 Aggregation_Reducer = 11 - // Reduce by computing 5th percentile of data points across time series - // for each alignment period. This reducer is valid for gauge and delta - // metrics of numeric and distribution type. The value of the output is - // [DOUBLE][google.api.MetricDescriptor.ValueType.DOUBLE] - Aggregation_REDUCE_PERCENTILE_05 Aggregation_Reducer = 12 -) - -var Aggregation_Reducer_name = map[int32]string{ - 0: "REDUCE_NONE", - 1: "REDUCE_MEAN", - 2: "REDUCE_MIN", - 3: "REDUCE_MAX", - 4: "REDUCE_SUM", - 5: "REDUCE_STDDEV", - 6: "REDUCE_COUNT", - 7: "REDUCE_COUNT_TRUE", - 15: "REDUCE_COUNT_FALSE", - 8: "REDUCE_FRACTION_TRUE", - 9: "REDUCE_PERCENTILE_99", - 10: "REDUCE_PERCENTILE_95", - 11: "REDUCE_PERCENTILE_50", - 12: "REDUCE_PERCENTILE_05", -} - -var Aggregation_Reducer_value = map[string]int32{ - "REDUCE_NONE": 0, - "REDUCE_MEAN": 1, - "REDUCE_MIN": 2, - "REDUCE_MAX": 3, - "REDUCE_SUM": 4, - "REDUCE_STDDEV": 5, - "REDUCE_COUNT": 6, - "REDUCE_COUNT_TRUE": 7, - "REDUCE_COUNT_FALSE": 15, - "REDUCE_FRACTION_TRUE": 8, - "REDUCE_PERCENTILE_99": 9, - "REDUCE_PERCENTILE_95": 10, - "REDUCE_PERCENTILE_50": 11, - "REDUCE_PERCENTILE_05": 12, -} - -func (x Aggregation_Reducer) String() string { - return proto.EnumName(Aggregation_Reducer_name, int32(x)) -} - -func (Aggregation_Reducer) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_013c57c1dcbb8d65, []int{2, 1} -} - -// A single strongly-typed value. -type TypedValue struct { - // The typed value field. - // - // Types that are valid to be assigned to Value: - // *TypedValue_BoolValue - // *TypedValue_Int64Value - // *TypedValue_DoubleValue - // *TypedValue_StringValue - // *TypedValue_DistributionValue - Value isTypedValue_Value `protobuf_oneof:"value"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_013c57c1dcbb8d65, []int{0} -} - -func (m *TypedValue) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TypedValue.Unmarshal(m, b) -} -func (m *TypedValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TypedValue.Marshal(b, m, deterministic) -} -func (m *TypedValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_TypedValue.Merge(m, src) -} -func (m *TypedValue) XXX_Size() int { - return xxx_messageInfo_TypedValue.Size(m) -} -func (m *TypedValue) XXX_DiscardUnknown() { - xxx_messageInfo_TypedValue.DiscardUnknown(m) -} - -var xxx_messageInfo_TypedValue proto.InternalMessageInfo - -type isTypedValue_Value interface { - isTypedValue_Value() -} - -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_DistributionValue) isTypedValue_Value() {} - -func (m *TypedValue) GetValue() isTypedValue_Value { - if m != nil { - return m.Value - } - return nil -} - -func (m *TypedValue) GetBoolValue() bool { - if x, ok := m.GetValue().(*TypedValue_BoolValue); ok { - return x.BoolValue - } - return false -} - -func (m *TypedValue) GetInt64Value() int64 { - if x, ok := m.GetValue().(*TypedValue_Int64Value); ok { - return x.Int64Value - } - return 0 -} - -func (m *TypedValue) GetDoubleValue() float64 { - if x, ok := m.GetValue().(*TypedValue_DoubleValue); ok { - return x.DoubleValue - } - return 0 -} - -func (m *TypedValue) GetStringValue() string { - if x, ok := m.GetValue().(*TypedValue_StringValue); ok { - return x.StringValue - } - return "" -} - -func (m *TypedValue) GetDistributionValue() *distribution.Distribution { - if x, ok := m.GetValue().(*TypedValue_DistributionValue); ok { - return x.DistributionValue - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*TypedValue) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*TypedValue_BoolValue)(nil), - (*TypedValue_Int64Value)(nil), - (*TypedValue_DoubleValue)(nil), - (*TypedValue_StringValue)(nil), - (*TypedValue_DistributionValue)(nil), - } -} - -// A closed time interval. It extends from the start time to the end time, and includes both: `[startTime, endTime]`. Valid time intervals depend on the [`MetricKind`](/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors#MetricKind) of the metric value. In no case can the end time be earlier than the start time. -// -// * For a `GAUGE` metric, the `startTime` value is technically optional; if -// no value is specified, the start time defaults to the value of the -// end time, and the interval represents a single point in time. Such an -// interval is valid only for `GAUGE` metrics, which are point-in-time -// measurements. -// -// * For `DELTA` and `CUMULATIVE` metrics, the start time must be earlier -// than the end time. -// -// * In all cases, the start time of the next interval must be -// at least a microsecond after the end time of the previous interval. -// Because the interval is closed, if the start time of a new interval -// is the same as the end time of the previous interval, data written -// at the new start time could overwrite data written at the previous -// end time. -type TimeInterval struct { - // Required. The end of the time interval. - EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - // Optional. The beginning of the time interval. The default value - // for the start time is the end time. The start time must not be - // later than the end time. - StartTime *timestamp.Timestamp `protobuf:"bytes,1,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 *TimeInterval) Reset() { *m = TimeInterval{} } -func (m *TimeInterval) String() string { return proto.CompactTextString(m) } -func (*TimeInterval) ProtoMessage() {} -func (*TimeInterval) Descriptor() ([]byte, []int) { - return fileDescriptor_013c57c1dcbb8d65, []int{1} -} - -func (m *TimeInterval) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TimeInterval.Unmarshal(m, b) -} -func (m *TimeInterval) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TimeInterval.Marshal(b, m, deterministic) -} -func (m *TimeInterval) XXX_Merge(src proto.Message) { - xxx_messageInfo_TimeInterval.Merge(m, src) -} -func (m *TimeInterval) XXX_Size() int { - return xxx_messageInfo_TimeInterval.Size(m) -} -func (m *TimeInterval) XXX_DiscardUnknown() { - xxx_messageInfo_TimeInterval.DiscardUnknown(m) -} - -var xxx_messageInfo_TimeInterval proto.InternalMessageInfo - -func (m *TimeInterval) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -func (m *TimeInterval) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -// Describes how to combine multiple time series to provide different views of -// the data. Aggregation consists of an alignment step on individual time -// series (`alignment_period` and `per_series_aligner`) followed by an optional -// reduction step of the data across the aligned time series -// (`cross_series_reducer` and `group_by_fields`). For more details, see -// [Aggregation](/monitoring/api/learn_more#aggregation). -type Aggregation struct { - // The alignment period for per-[time series][google.monitoring.v3.TimeSeries] - // alignment. If present, `alignmentPeriod` must be at least 60 - // seconds. After per-time series alignment, each time series will - // contain data points only on the period boundaries. If - // `perSeriesAligner` is not specified or equals `ALIGN_NONE`, then - // this field is ignored. If `perSeriesAligner` is specified and - // does not equal `ALIGN_NONE`, then this field must be defined; - // otherwise an error is returned. - AlignmentPeriod *duration.Duration `protobuf:"bytes,1,opt,name=alignment_period,json=alignmentPeriod,proto3" json:"alignment_period,omitempty"` - // The approach to be used to align individual time series. Not all - // alignment functions may be applied to all time series, depending - // on the metric type and value type of the original time - // series. Alignment may change the metric type or the value type of - // the time series. - // - // Time series data must be aligned in order to perform cross-time - // series reduction. If `crossSeriesReducer` is specified, then - // `perSeriesAligner` must be specified and not equal `ALIGN_NONE` - // and `alignmentPeriod` must be specified; otherwise, an error is - // returned. - PerSeriesAligner Aggregation_Aligner `protobuf:"varint,2,opt,name=per_series_aligner,json=perSeriesAligner,proto3,enum=google.monitoring.v3.Aggregation_Aligner" json:"per_series_aligner,omitempty"` - // The approach to be used to combine time series. Not all reducer - // functions may be applied to all time series, depending on the - // metric type and the value type of the original time - // series. Reduction may change the metric type of value type of the - // time series. - // - // Time series data must be aligned in order to perform cross-time - // series reduction. If `crossSeriesReducer` is specified, then - // `perSeriesAligner` must be specified and not equal `ALIGN_NONE` - // and `alignmentPeriod` must be specified; otherwise, an error is - // returned. - CrossSeriesReducer Aggregation_Reducer `protobuf:"varint,4,opt,name=cross_series_reducer,json=crossSeriesReducer,proto3,enum=google.monitoring.v3.Aggregation_Reducer" json:"cross_series_reducer,omitempty"` - // The set of fields to preserve when `crossSeriesReducer` is - // specified. The `groupByFields` determine how the time series are - // partitioned into subsets prior to applying the aggregation - // function. Each subset contains time series that have the same - // value for each of the grouping fields. Each individual time - // series is a member of exactly one subset. The - // `crossSeriesReducer` is applied to each subset of time series. - // It is not possible to reduce across different resource types, so - // this field implicitly contains `resource.type`. Fields not - // specified in `groupByFields` are aggregated away. If - // `groupByFields` is not specified and all the time series have - // the same resource type, then the time series are aggregated into - // a single output time series. If `crossSeriesReducer` is not - // defined, this field is ignored. - GroupByFields []string `protobuf:"bytes,5,rep,name=group_by_fields,json=groupByFields,proto3" json:"group_by_fields,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_013c57c1dcbb8d65, []int{2} -} - -func (m *Aggregation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Aggregation.Unmarshal(m, b) -} -func (m *Aggregation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Aggregation.Marshal(b, m, deterministic) -} -func (m *Aggregation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Aggregation.Merge(m, src) -} -func (m *Aggregation) XXX_Size() int { - return xxx_messageInfo_Aggregation.Size(m) -} -func (m *Aggregation) XXX_DiscardUnknown() { - xxx_messageInfo_Aggregation.DiscardUnknown(m) -} - -var xxx_messageInfo_Aggregation proto.InternalMessageInfo - -func (m *Aggregation) GetAlignmentPeriod() *duration.Duration { - if m != nil { - return m.AlignmentPeriod - } - return nil -} - -func (m *Aggregation) GetPerSeriesAligner() Aggregation_Aligner { - if m != nil { - return m.PerSeriesAligner - } - return Aggregation_ALIGN_NONE -} - -func (m *Aggregation) GetCrossSeriesReducer() Aggregation_Reducer { - if m != nil { - return m.CrossSeriesReducer - } - return Aggregation_REDUCE_NONE -} - -func (m *Aggregation) GetGroupByFields() []string { - if m != nil { - return m.GroupByFields - } - return nil -} - -func init() { - proto.RegisterEnum("google.monitoring.v3.ComparisonType", ComparisonType_name, ComparisonType_value) - proto.RegisterEnum("google.monitoring.v3.ServiceTier", ServiceTier_name, ServiceTier_value) - proto.RegisterEnum("google.monitoring.v3.Aggregation_Aligner", Aggregation_Aligner_name, Aggregation_Aligner_value) - proto.RegisterEnum("google.monitoring.v3.Aggregation_Reducer", Aggregation_Reducer_name, Aggregation_Reducer_value) - proto.RegisterType((*TypedValue)(nil), "google.monitoring.v3.TypedValue") - proto.RegisterType((*TimeInterval)(nil), "google.monitoring.v3.TimeInterval") - proto.RegisterType((*Aggregation)(nil), "google.monitoring.v3.Aggregation") -} - -func init() { proto.RegisterFile("google/monitoring/v3/common.proto", fileDescriptor_013c57c1dcbb8d65) } - -var fileDescriptor_013c57c1dcbb8d65 = []byte{ - // 946 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x95, 0x41, 0x6f, 0xe2, 0xc6, - 0x1b, 0xc6, 0x31, 0x24, 0x21, 0xbc, 0x4e, 0xc2, 0x64, 0x36, 0x9b, 0xe5, 0x8f, 0xfe, 0xed, 0xb2, - 0xa9, 0x54, 0xd1, 0x3d, 0x98, 0x28, 0x29, 0x95, 0xa2, 0x4a, 0x95, 0x1c, 0x33, 0x49, 0x2c, 0x81, - 0xa1, 0x83, 0x49, 0xa3, 0x36, 0x92, 0x65, 0xc2, 0xac, 0x65, 0x09, 0x6c, 0x6b, 0x30, 0x91, 0x72, - 0xeb, 0xbd, 0xdf, 0xa1, 0x97, 0xde, 0x7a, 0xeb, 0xd7, 0xe8, 0x87, 0xe9, 0xa5, 0x5f, 0xa0, 0xf2, - 0x8c, 0xbd, 0x36, 0x94, 0xaa, 0x3d, 0xbe, 0xbf, 0xe7, 0x79, 0xdf, 0x99, 0x79, 0xc6, 0x1a, 0xc3, - 0x3b, 0x2f, 0x0c, 0xbd, 0x39, 0xeb, 0x2c, 0xc2, 0xc0, 0x8f, 0x43, 0xee, 0x07, 0x5e, 0xe7, 0xf9, - 0xb2, 0xf3, 0x14, 0x2e, 0x16, 0x61, 0xa0, 0x45, 0x3c, 0x8c, 0x43, 0x7c, 0x22, 0x2d, 0x5a, 0x6e, - 0xd1, 0x9e, 0x2f, 0x9b, 0x9f, 0xa4,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0xaa, 0x21, 0x7e, 0x87, 0xa3, 0xe4, 0xa9, 0x1b, 0x29, 0xdf, 0x7f, 0x93, 0x9a, 0xbc, 0x70, 0xee, - 0x06, 0x9e, 0x16, 0x72, 0xaf, 0xe3, 0xb1, 0x40, 0x3c, 0x84, 0x1d, 0x29, 0xb9, 0x91, 0xbf, 0x5c, - 0xff, 0xa3, 0x7e, 0x9d, 0x57, 0xbf, 0x96, 0x9b, 0xb7, 0x72, 0x80, 0x31, 0x0f, 0x57, 0x33, 0x6d, - 0x90, 0xaf, 0x75, 0x7f, 0xf9, 0x7b, 0x26, 0x3e, 0x0a, 0xf1, 0x31, 0x17, 0x1f, 0xef, 0x2f, 0xa7, - 0x7b, 0x62, 0x91, 0xcb, 0xbf, 0x02, 0x00, 0x00, 0xff, 0xff, 0xf5, 0x70, 0xc6, 0x75, 0xb5, 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 deleted file mode 100644 index a0f3f699..00000000 --- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/dropped_labels.pb.go +++ /dev/null @@ -1,103 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/monitoring/v3/dropped_labels.proto - -package monitoring - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // 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_15749142c06d7f43, []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 (m *DroppedLabels) XXX_Merge(src proto.Message) { - xxx_messageInfo_DroppedLabels.Merge(m, 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_15749142c06d7f43) -} - -var fileDescriptor_15749142c06d7f43 = []byte{ - // 199 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, 0x56, - 0xea, 0x67, 0xe4, 0xe2, 0x75, 0x81, 0x28, 0xf7, 0x01, 0xab, 0x16, 0x72, 0xe1, 0x62, 0x05, 0xeb, - 0x93, 0x60, 0x54, 0x60, 0xd6, 0xe0, 0x36, 0xd2, 0xd3, 0xc3, 0xa6, 0x4f, 0x0f, 0x45, 0x8f, 0x1e, - 0x98, 0x72, 0xcd, 0x2b, 0x29, 0xaa, 0x0c, 0x82, 0x68, 0x96, 0xb2, 0xe0, 0xe2, 0x42, 0x08, 0x0a, - 0x09, 0x70, 0x31, 0x67, 0xa7, 0x56, 0x4a, 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x06, 0x81, 0x98, 0x42, - 0x22, 0x5c, 0xac, 0x65, 0x89, 0x39, 0xa5, 0xa9, 0x12, 0x4c, 0x60, 0x31, 0x08, 0xc7, 0x8a, 0xc9, - 0x82, 0xd1, 0xc9, 0x21, 0xca, 0x0e, 0x6a, 0x63, 0x7a, 0x7e, 0x4e, 0x62, 0x5e, 0xba, 0x5e, 0x7e, - 0x51, 0xba, 0x7e, 0x7a, 0x6a, 0x1e, 0xd8, 0x17, 0xfa, 0x10, 0xa9, 0xc4, 0x82, 0xcc, 0x62, 0x54, - 0x3f, 0x5b, 0x23, 0x78, 0x49, 0x6c, 0x60, 0xa5, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x97, - 0xe6, 0x1c, 0x2d, 0x1d, 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 deleted file mode 100644 index 6ac56717..00000000 --- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/group.pb.go +++ /dev/null @@ -1,159 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/monitoring/v3/group.proto - -package monitoring - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// The description of a dynamic collection of monitored resources. Each group -// has a filter that is matched against monitored resources and their associated -// metadata. If a group's filter matches an available monitored resource, then -// that resource is a member of that group. Groups can contain any number of -// monitored resources, and each monitored resource can be a member of any -// number of groups. -// -// Groups can be nested in parent-child hierarchies. The `parentName` field -// identifies an optional parent for each group. If a group has a parent, then -// the only monitored resources available to be matched by the group's filter -// are the resources contained in the parent group. In other words, a group -// contains the monitored resources that match its filter and the filters of all -// the group's ancestors. A group without a parent can contain any monitored -// resource. -// -// For example, consider an infrastructure running a set of instances with two -// user-defined tags: `"environment"` and `"role"`. A parent group has a filter, -// `environment="production"`. A child of that parent group has a filter, -// `role="transcoder"`. The parent group contains all instances in the -// production environment, regardless of their roles. The child group contains -// instances that have the transcoder role *and* are in the production -// environment. -// -// The monitored resources contained in a group can change at any moment, -// depending on what resources exist and what filters are associated with the -// group and its ancestors. -type Group struct { - // Output only. The name of this group. The format is - // `"projects/{project_id_or_number}/groups/{group_id}"`. - // When creating a group, this field is ignored and a new name is created - // consisting of the project specified in the call to `CreateGroup` - // and a unique `{group_id}` that is generated automatically. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // A user-assigned name for this group, used only for display purposes. - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // The name of the group's parent, if it has one. - // The format is `"projects/{project_id_or_number}/groups/{group_id}"`. - // For groups with no parent, `parentName` is the empty string, `""`. - ParentName string `protobuf:"bytes,3,opt,name=parent_name,json=parentName,proto3" json:"parent_name,omitempty"` - // The filter used to determine which monitored resources belong to this - // group. - Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"` - // If true, the members of this group are considered to be a cluster. - // The system can perform additional analysis on groups that are clusters. - IsCluster bool `protobuf:"varint,6,opt,name=is_cluster,json=isCluster,proto3" json:"is_cluster,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_907e30c1f087271d, []int{0} -} - -func (m *Group) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Group.Unmarshal(m, b) -} -func (m *Group) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Group.Marshal(b, m, deterministic) -} -func (m *Group) XXX_Merge(src proto.Message) { - xxx_messageInfo_Group.Merge(m, src) -} -func (m *Group) XXX_Size() int { - return xxx_messageInfo_Group.Size(m) -} -func (m *Group) XXX_DiscardUnknown() { - xxx_messageInfo_Group.DiscardUnknown(m) -} - -var xxx_messageInfo_Group proto.InternalMessageInfo - -func (m *Group) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Group) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *Group) GetParentName() string { - if m != nil { - return m.ParentName - } - return "" -} - -func (m *Group) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *Group) GetIsCluster() bool { - if m != nil { - return m.IsCluster - } - return false -} - -func init() { - proto.RegisterType((*Group)(nil), "google.monitoring.v3.Group") -} - -func init() { proto.RegisterFile("google/monitoring/v3/group.proto", fileDescriptor_907e30c1f087271d) } - -var fileDescriptor_907e30c1f087271d = []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, - 0x2c, 0xb2, 0x14, 0x5c, 0xb4, 0x8b, 0xae, 0x94, 0xd2, 0x45, 0x17, 0x32, 0x50, 0x62, 0x1b, 0x43, - 0x20, 0x93, 0x13, 0x92, 0x99, 0x82, 0x2f, 0xe2, 0x03, 0xb8, 0xf4, 0x51, 0x7c, 0x2a, 0x99, 0x93, - 0x91, 0x41, 0x70, 0x97, 0xf3, 0xfb, 0x3e, 0x72, 0xfe, 0x40, 0xa9, 0x11, 0xb5, 0x55, 0x55, 0x83, - 0xce, 0xb4, 0x18, 0x8c, 0xd3, 0xd5, 0x49, 0x54, 0x3a, 0x60, 0xe7, 0xb9, 0x0f, 0xd8, 0x62, 0x7e, - 0x91, 0x0c, 0x3e, 0x1a, 0xfc, 0x24, 0xee, 0xde, 0x19, 0x4c, 0xd7, 0xbd, 0x95, 0xe7, 0xf0, 0xdf, - 0xc9, 0x46, 0x15, 0xac, 0x64, 0x8b, 0xd9, 0x96, 0xde, 0xf9, 0x2d, 0x9c, 0x1f, 0x4d, 0xf4, 0x56, - 0xbe, 0xed, 0x89, 0x4d, 0x88, 0xcd, 0x87, 0xec, 0xa9, 0x57, 0x6e, 0x60, 0xee, 0x65, 0x50, 0xae, - 0x4d, 0xc6, 0x3f, 0x32, 0x20, 0x45, 0x24, 0x5c, 0x42, 0xf6, 0x6a, 0x6c, 0xab, 0x42, 0x31, 0x25, - 0x36, 0x54, 0xf9, 0x35, 0x80, 0x89, 0xfb, 0x83, 0xed, 0x62, 0xcf, 0xb2, 0x92, 0x2d, 0xce, 0xb6, - 0x33, 0x13, 0x57, 0x29, 0x58, 0x7e, 0x30, 0x28, 0x0e, 0xd8, 0xf0, 0xbf, 0xa6, 0x5e, 0x02, 0x8d, - 0xbc, 0xe9, 0xf7, 0xda, 0xb0, 0xe7, 0x87, 0xc1, 0xd1, 0x68, 0xa5, 0xd3, 0x1c, 0x83, 0xae, 0xb4, - 0x72, 0xb4, 0x75, 0x95, 0x90, 0xf4, 0x26, 0xfe, 0x3e, 0xcd, 0xfd, 0x58, 0x7d, 0x4e, 0xae, 0xd6, - 0xe9, 0x83, 0x95, 0xc5, 0xee, 0xc8, 0x1f, 0xc7, 0x56, 0x3b, 0xf1, 0xf5, 0x03, 0x6b, 0x82, 0xf5, - 0x08, 0xeb, 0x9d, 0x78, 0xc9, 0xa8, 0x89, 0xf8, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x95, 0xd1, 0xa1, - 0x34, 0x7e, 0x01, 0x00, 0x00, -} 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 deleted file mode 100644 index 13eb1f6a..00000000 --- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/group_service.pb.go +++ /dev/null @@ -1,919 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/monitoring/v3/group_service.proto - -package monitoring - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - monitoredres "google.golang.org/genproto/googleapis/api/monitoredres" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The `ListGroup` request. -type ListGroupsRequest struct { - // The project whose groups are to be listed. The format is - // `"projects/{project_id_or_number}"`. - Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` - // An optional filter consisting of a single group name. The filters limit - // the groups returned based on their parent-child relationship with the - // specified group. If no filter is specified, all groups are returned. - // - // Types that are valid to be assigned to Filter: - // *ListGroupsRequest_ChildrenOfGroup - // *ListGroupsRequest_AncestorsOfGroup - // *ListGroupsRequest_DescendantsOfGroup - Filter isListGroupsRequest_Filter `protobuf_oneof:"filter"` - // A positive number that is the maximum number of results to return. - PageSize int32 `protobuf:"varint,5,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 - // method to return additional results from the previous method call. - 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 *ListGroupsRequest) Reset() { *m = ListGroupsRequest{} } -func (m *ListGroupsRequest) String() string { return proto.CompactTextString(m) } -func (*ListGroupsRequest) ProtoMessage() {} -func (*ListGroupsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_21ad21d0ed55c55a, []int{0} -} - -func (m *ListGroupsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListGroupsRequest.Unmarshal(m, b) -} -func (m *ListGroupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListGroupsRequest.Marshal(b, m, deterministic) -} -func (m *ListGroupsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListGroupsRequest.Merge(m, src) -} -func (m *ListGroupsRequest) XXX_Size() int { - return xxx_messageInfo_ListGroupsRequest.Size(m) -} -func (m *ListGroupsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListGroupsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListGroupsRequest proto.InternalMessageInfo - -func (m *ListGroupsRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -type isListGroupsRequest_Filter interface { - isListGroupsRequest_Filter() -} - -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_DescendantsOfGroup) isListGroupsRequest_Filter() {} - -func (m *ListGroupsRequest) GetFilter() isListGroupsRequest_Filter { - if m != nil { - return m.Filter - } - return nil -} - -func (m *ListGroupsRequest) GetChildrenOfGroup() string { - if x, ok := m.GetFilter().(*ListGroupsRequest_ChildrenOfGroup); ok { - return x.ChildrenOfGroup - } - return "" -} - -func (m *ListGroupsRequest) GetAncestorsOfGroup() string { - if x, ok := m.GetFilter().(*ListGroupsRequest_AncestorsOfGroup); ok { - return x.AncestorsOfGroup - } - return "" -} - -func (m *ListGroupsRequest) GetDescendantsOfGroup() string { - if x, ok := m.GetFilter().(*ListGroupsRequest_DescendantsOfGroup); ok { - return x.DescendantsOfGroup - } - return "" -} - -func (m *ListGroupsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListGroupsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ListGroupsRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ListGroupsRequest_ChildrenOfGroup)(nil), - (*ListGroupsRequest_AncestorsOfGroup)(nil), - (*ListGroupsRequest_DescendantsOfGroup)(nil), - } -} - -// The `ListGroups` response. -type ListGroupsResponse struct { - // The groups that match the specified filters. - Group []*Group `protobuf:"bytes,1,rep,name=group,proto3" json:"group,omitempty"` - // 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:"-"` -} - -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_21ad21d0ed55c55a, []int{1} -} - -func (m *ListGroupsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListGroupsResponse.Unmarshal(m, b) -} -func (m *ListGroupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListGroupsResponse.Marshal(b, m, deterministic) -} -func (m *ListGroupsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListGroupsResponse.Merge(m, src) -} -func (m *ListGroupsResponse) XXX_Size() int { - return xxx_messageInfo_ListGroupsResponse.Size(m) -} -func (m *ListGroupsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListGroupsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListGroupsResponse proto.InternalMessageInfo - -func (m *ListGroupsResponse) GetGroup() []*Group { - if m != nil { - return m.Group - } - return nil -} - -func (m *ListGroupsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The `GetGroup` request. -type GetGroupRequest struct { - // The group to retrieve. The format is - // `"projects/{project_id_or_number}/groups/{group_id}"`. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_21ad21d0ed55c55a, []int{2} -} - -func (m *GetGroupRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetGroupRequest.Unmarshal(m, b) -} -func (m *GetGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetGroupRequest.Marshal(b, m, deterministic) -} -func (m *GetGroupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGroupRequest.Merge(m, src) -} -func (m *GetGroupRequest) XXX_Size() int { - return xxx_messageInfo_GetGroupRequest.Size(m) -} -func (m *GetGroupRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetGroupRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetGroupRequest proto.InternalMessageInfo - -func (m *GetGroupRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The `CreateGroup` request. -type CreateGroupRequest struct { - // The project in which to create the group. The format is - // `"projects/{project_id_or_number}"`. - Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` - // A group definition. It is an error to define the `name` field because - // the system assigns the name. - Group *Group `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"` - // If true, validate this request but do not create the group. - ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_21ad21d0ed55c55a, []int{3} -} - -func (m *CreateGroupRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateGroupRequest.Unmarshal(m, b) -} -func (m *CreateGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateGroupRequest.Marshal(b, m, deterministic) -} -func (m *CreateGroupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateGroupRequest.Merge(m, src) -} -func (m *CreateGroupRequest) XXX_Size() int { - return xxx_messageInfo_CreateGroupRequest.Size(m) -} -func (m *CreateGroupRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateGroupRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateGroupRequest proto.InternalMessageInfo - -func (m *CreateGroupRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *CreateGroupRequest) GetGroup() *Group { - if m != nil { - return m.Group - } - return nil -} - -func (m *CreateGroupRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// The `UpdateGroup` request. -type UpdateGroupRequest struct { - // The new definition of the group. All fields of the existing group, - // excepting `name`, are replaced with the corresponding fields of this group. - Group *Group `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"` - // If true, validate this request but do not update the existing group. - ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_21ad21d0ed55c55a, []int{4} -} - -func (m *UpdateGroupRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateGroupRequest.Unmarshal(m, b) -} -func (m *UpdateGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateGroupRequest.Marshal(b, m, deterministic) -} -func (m *UpdateGroupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateGroupRequest.Merge(m, src) -} -func (m *UpdateGroupRequest) XXX_Size() int { - return xxx_messageInfo_UpdateGroupRequest.Size(m) -} -func (m *UpdateGroupRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateGroupRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateGroupRequest proto.InternalMessageInfo - -func (m *UpdateGroupRequest) GetGroup() *Group { - if m != nil { - return m.Group - } - return nil -} - -func (m *UpdateGroupRequest) GetValidateOnly() bool { - if m != nil { - return m.ValidateOnly - } - return false -} - -// The `DeleteGroup` request. The default behavior is to be able to delete a -// single group without any descendants. -type DeleteGroupRequest struct { - // The group to delete. The format is - // `"projects/{project_id_or_number}/groups/{group_id}"`. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - // If this field is true, then the request means to delete a group with all - // its descendants. Otherwise, the request means to delete a group only when - // it has no descendants. The default value is false. - Recursive bool `protobuf:"varint,4,opt,name=recursive,proto3" json:"recursive,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_21ad21d0ed55c55a, []int{5} -} - -func (m *DeleteGroupRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteGroupRequest.Unmarshal(m, b) -} -func (m *DeleteGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteGroupRequest.Marshal(b, m, deterministic) -} -func (m *DeleteGroupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteGroupRequest.Merge(m, src) -} -func (m *DeleteGroupRequest) XXX_Size() int { - return xxx_messageInfo_DeleteGroupRequest.Size(m) -} -func (m *DeleteGroupRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteGroupRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteGroupRequest proto.InternalMessageInfo - -func (m *DeleteGroupRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *DeleteGroupRequest) GetRecursive() bool { - if m != nil { - return m.Recursive - } - return false -} - -// The `ListGroupMembers` request. -type ListGroupMembersRequest struct { - // The group whose members are listed. The format is - // `"projects/{project_id_or_number}/groups/{group_id}"`. - Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` - // A positive number that is the maximum number of results to return. - PageSize int32 `protobuf:"varint,3,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 - // method to return additional results from the previous method call. - PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // An optional [list filter](/monitoring/api/learn_more#filtering) describing - // the members to be returned. The filter may reference the type, labels, and - // metadata of monitored resources that comprise the group. - // For example, to return only resources representing Compute Engine VM - // instances, use this filter: - // - // resource.type = "gce_instance" - Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"` - // An optional time interval for which results should be returned. Only - // members that were part of the group during the specified interval are - // included in the response. If no interval is provided then the group - // membership over the last minute is returned. - Interval *TimeInterval `protobuf:"bytes,6,opt,name=interval,proto3" json:"interval,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_21ad21d0ed55c55a, []int{6} -} - -func (m *ListGroupMembersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListGroupMembersRequest.Unmarshal(m, b) -} -func (m *ListGroupMembersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListGroupMembersRequest.Marshal(b, m, deterministic) -} -func (m *ListGroupMembersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListGroupMembersRequest.Merge(m, src) -} -func (m *ListGroupMembersRequest) XXX_Size() int { - return xxx_messageInfo_ListGroupMembersRequest.Size(m) -} -func (m *ListGroupMembersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListGroupMembersRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListGroupMembersRequest proto.InternalMessageInfo - -func (m *ListGroupMembersRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ListGroupMembersRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListGroupMembersRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListGroupMembersRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListGroupMembersRequest) GetInterval() *TimeInterval { - if m != nil { - return m.Interval - } - return nil -} - -// The `ListGroupMembers` response. -type ListGroupMembersResponse struct { - // A set of monitored resources in the group. - Members []*monitoredres.MonitoredResource `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"` - // 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"` - // The total number of elements matching this request. - 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:"-"` -} - -func (m *ListGroupMembersResponse) Reset() { *m = ListGroupMembersResponse{} } -func (m *ListGroupMembersResponse) String() string { return proto.CompactTextString(m) } -func (*ListGroupMembersResponse) ProtoMessage() {} -func (*ListGroupMembersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_21ad21d0ed55c55a, []int{7} -} - -func (m *ListGroupMembersResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListGroupMembersResponse.Unmarshal(m, b) -} -func (m *ListGroupMembersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListGroupMembersResponse.Marshal(b, m, deterministic) -} -func (m *ListGroupMembersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListGroupMembersResponse.Merge(m, src) -} -func (m *ListGroupMembersResponse) XXX_Size() int { - return xxx_messageInfo_ListGroupMembersResponse.Size(m) -} -func (m *ListGroupMembersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListGroupMembersResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListGroupMembersResponse proto.InternalMessageInfo - -func (m *ListGroupMembersResponse) GetMembers() []*monitoredres.MonitoredResource { - if m != nil { - return m.Members - } - return nil -} - -func (m *ListGroupMembersResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -func (m *ListGroupMembersResponse) GetTotalSize() int32 { - if m != nil { - return m.TotalSize - } - return 0 -} - -func init() { - proto.RegisterType((*ListGroupsRequest)(nil), "google.monitoring.v3.ListGroupsRequest") - proto.RegisterType((*ListGroupsResponse)(nil), "google.monitoring.v3.ListGroupsResponse") - proto.RegisterType((*GetGroupRequest)(nil), "google.monitoring.v3.GetGroupRequest") - proto.RegisterType((*CreateGroupRequest)(nil), "google.monitoring.v3.CreateGroupRequest") - proto.RegisterType((*UpdateGroupRequest)(nil), "google.monitoring.v3.UpdateGroupRequest") - proto.RegisterType((*DeleteGroupRequest)(nil), "google.monitoring.v3.DeleteGroupRequest") - proto.RegisterType((*ListGroupMembersRequest)(nil), "google.monitoring.v3.ListGroupMembersRequest") - proto.RegisterType((*ListGroupMembersResponse)(nil), "google.monitoring.v3.ListGroupMembersResponse") -} - -func init() { - proto.RegisterFile("google/monitoring/v3/group_service.proto", fileDescriptor_21ad21d0ed55c55a) -} - -var fileDescriptor_21ad21d0ed55c55a = []byte{ - // 908 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0x4d, 0x6f, 0xdc, 0x44, - 0x18, 0xc6, 0xf9, 0xdc, 0x9d, 0x6d, 0x95, 0x66, 0x54, 0xb5, 0x8b, 0x93, 0x56, 0x8b, 0xdb, 0x84, - 0x55, 0x68, 0x6c, 0x91, 0x3d, 0x20, 0x15, 0x51, 0xa9, 0x29, 0x10, 0x90, 0xa8, 0x1a, 0xb9, 0xa5, - 0x07, 0x14, 0x69, 0x35, 0xf1, 0xbe, 0xeb, 0x0c, 0xd8, 0x33, 0x66, 0x66, 0x76, 0x43, 0x8a, 0x2a, - 0x01, 0x12, 0x87, 0x9e, 0xb9, 0x71, 0xe3, 0x58, 0xfe, 0x05, 0xd7, 0x1c, 0xe1, 0x2f, 0x20, 0xf1, - 0x33, 0x40, 0x1e, 0xcf, 0xc4, 0xce, 0x7e, 0x25, 0x1c, 0x7a, 0x5b, 0xcf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 0x00, 0xd2, 0xdb, 0x7d, 0xed, 0xa0, 0x66, 0xc4, 0xd3, 0x89, 0x19, 0xd9, 0x5d, - 0xad, 0xee, 0x80, 0xfd, 0xbc, 0x60, 0xfb, 0xce, 0x57, 0x0f, 0x0c, 0x34, 0xe6, 0x09, 0x61, 0xb1, - 0xcf, 0x45, 0x1c, 0xc4, 0xc0, 0x74, 0x39, 0x83, 0x92, 0xf1, 0xfc, 0xdf, 0x98, 0x0f, 0xcb, 0xaf, - 0xdf, 0xe7, 0xdc, 0xbd, 0xe2, 0x82, 0x47, 0x79, 0x90, 0x76, 0x99, 0xe5, 0x8c, 0xcf, 0x3b, 0xa7, - 0xd6, 0x78, 0xa0, 0x8d, 0x07, 0xa5, 0xf1, 0xe0, 0x79, 0xe7, 0x70, 0x49, 0x93, 0x74, 0xfe, 0x0b, - 0x00, 0x00, 0xff, 0xff, 0x39, 0x86, 0x4a, 0x89, 0xd0, 0x09, 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 - -// GroupServiceClient is the client API for GroupService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type GroupServiceClient interface { - // Lists the existing groups. - ListGroups(ctx context.Context, in *ListGroupsRequest, opts ...grpc.CallOption) (*ListGroupsResponse, error) - // Gets a single group. - GetGroup(ctx context.Context, in *GetGroupRequest, opts ...grpc.CallOption) (*Group, error) - // Creates a new group. - CreateGroup(ctx context.Context, in *CreateGroupRequest, opts ...grpc.CallOption) (*Group, error) - // Updates an existing group. - // You can change any group attributes except `name`. - UpdateGroup(ctx context.Context, in *UpdateGroupRequest, opts ...grpc.CallOption) (*Group, error) - // Deletes an existing group. - DeleteGroup(ctx context.Context, in *DeleteGroupRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Lists the monitored resources that are members of a group. - ListGroupMembers(ctx context.Context, in *ListGroupMembersRequest, opts ...grpc.CallOption) (*ListGroupMembersResponse, error) -} - -type groupServiceClient struct { - cc *grpc.ClientConn -} - -func NewGroupServiceClient(cc *grpc.ClientConn) GroupServiceClient { - return &groupServiceClient{cc} -} - -func (c *groupServiceClient) ListGroups(ctx context.Context, in *ListGroupsRequest, opts ...grpc.CallOption) (*ListGroupsResponse, error) { - out := new(ListGroupsResponse) - err := c.cc.Invoke(ctx, "/google.monitoring.v3.GroupService/ListGroups", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *groupServiceClient) GetGroup(ctx context.Context, in *GetGroupRequest, opts ...grpc.CallOption) (*Group, error) { - out := new(Group) - err := c.cc.Invoke(ctx, "/google.monitoring.v3.GroupService/GetGroup", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *groupServiceClient) CreateGroup(ctx context.Context, in *CreateGroupRequest, opts ...grpc.CallOption) (*Group, error) { - out := new(Group) - err := c.cc.Invoke(ctx, "/google.monitoring.v3.GroupService/CreateGroup", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *groupServiceClient) UpdateGroup(ctx context.Context, in *UpdateGroupRequest, opts ...grpc.CallOption) (*Group, error) { - out := new(Group) - err := c.cc.Invoke(ctx, "/google.monitoring.v3.GroupService/UpdateGroup", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *groupServiceClient) DeleteGroup(ctx context.Context, in *DeleteGroupRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.monitoring.v3.GroupService/DeleteGroup", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *groupServiceClient) ListGroupMembers(ctx context.Context, in *ListGroupMembersRequest, opts ...grpc.CallOption) (*ListGroupMembersResponse, error) { - out := new(ListGroupMembersResponse) - err := c.cc.Invoke(ctx, "/google.monitoring.v3.GroupService/ListGroupMembers", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// GroupServiceServer is the server API for GroupService service. -type GroupServiceServer interface { - // Lists the existing groups. - ListGroups(context.Context, *ListGroupsRequest) (*ListGroupsResponse, error) - // Gets a single group. - GetGroup(context.Context, *GetGroupRequest) (*Group, error) - // Creates a new group. - CreateGroup(context.Context, *CreateGroupRequest) (*Group, error) - // Updates an existing group. - // You can change any group attributes except `name`. - UpdateGroup(context.Context, *UpdateGroupRequest) (*Group, error) - // Deletes an existing group. - DeleteGroup(context.Context, *DeleteGroupRequest) (*empty.Empty, error) - // Lists the monitored resources that are members of a group. - ListGroupMembers(context.Context, *ListGroupMembersRequest) (*ListGroupMembersResponse, error) -} - -// UnimplementedGroupServiceServer can be embedded to have forward compatible implementations. -type UnimplementedGroupServiceServer struct { -} - -func (*UnimplementedGroupServiceServer) ListGroups(ctx context.Context, req *ListGroupsRequest) (*ListGroupsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListGroups not implemented") -} -func (*UnimplementedGroupServiceServer) GetGroup(ctx context.Context, req *GetGroupRequest) (*Group, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetGroup not implemented") -} -func (*UnimplementedGroupServiceServer) CreateGroup(ctx context.Context, req *CreateGroupRequest) (*Group, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateGroup not implemented") -} -func (*UnimplementedGroupServiceServer) UpdateGroup(ctx context.Context, req *UpdateGroupRequest) (*Group, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateGroup not implemented") -} -func (*UnimplementedGroupServiceServer) DeleteGroup(ctx context.Context, req *DeleteGroupRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteGroup not implemented") -} -func (*UnimplementedGroupServiceServer) ListGroupMembers(ctx context.Context, req *ListGroupMembersRequest) (*ListGroupMembersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListGroupMembers not implemented") -} - -func RegisterGroupServiceServer(s *grpc.Server, srv GroupServiceServer) { - s.RegisterService(&_GroupService_serviceDesc, srv) -} - -func _GroupService_ListGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListGroupsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GroupServiceServer).ListGroups(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.monitoring.v3.GroupService/ListGroups", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GroupServiceServer).ListGroups(ctx, req.(*ListGroupsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GroupService_GetGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GroupServiceServer).GetGroup(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.monitoring.v3.GroupService/GetGroup", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GroupServiceServer).GetGroup(ctx, req.(*GetGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GroupService_CreateGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GroupServiceServer).CreateGroup(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.monitoring.v3.GroupService/CreateGroup", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GroupServiceServer).CreateGroup(ctx, req.(*CreateGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GroupService_UpdateGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GroupServiceServer).UpdateGroup(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.monitoring.v3.GroupService/UpdateGroup", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GroupServiceServer).UpdateGroup(ctx, req.(*UpdateGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GroupService_DeleteGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GroupServiceServer).DeleteGroup(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.monitoring.v3.GroupService/DeleteGroup", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GroupServiceServer).DeleteGroup(ctx, req.(*DeleteGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GroupService_ListGroupMembers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListGroupMembersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GroupServiceServer).ListGroupMembers(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.monitoring.v3.GroupService/ListGroupMembers", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GroupServiceServer).ListGroupMembers(ctx, req.(*ListGroupMembersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _GroupService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.monitoring.v3.GroupService", - HandlerType: (*GroupServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListGroups", - Handler: _GroupService_ListGroups_Handler, - }, - { - MethodName: "GetGroup", - Handler: _GroupService_GetGroup_Handler, - }, - { - MethodName: "CreateGroup", - Handler: _GroupService_CreateGroup_Handler, - }, - { - MethodName: "UpdateGroup", - Handler: _GroupService_UpdateGroup_Handler, - }, - { - MethodName: "DeleteGroup", - Handler: _GroupService_DeleteGroup_Handler, - }, - { - MethodName: "ListGroupMembers", - Handler: _GroupService_ListGroupMembers_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/monitoring/v3/group_service.proto", -} 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 deleted file mode 100644 index 3d6cd323..00000000 --- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/metric.pb.go +++ /dev/null @@ -1,235 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/monitoring/v3/metric.proto - -package monitoring - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/distribution" - _ "google.golang.org/genproto/googleapis/api/label" - metric "google.golang.org/genproto/googleapis/api/metric" - monitoredres "google.golang.org/genproto/googleapis/api/monitoredres" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // 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. - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c76199a3d2c4c21e, []int{0} -} - -func (m *Point) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Point.Unmarshal(m, b) -} -func (m *Point) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Point.Marshal(b, m, deterministic) -} -func (m *Point) XXX_Merge(src proto.Message) { - xxx_messageInfo_Point.Merge(m, src) -} -func (m *Point) XXX_Size() int { - return xxx_messageInfo_Point.Size(m) -} -func (m *Point) XXX_DiscardUnknown() { - xxx_messageInfo_Point.DiscardUnknown(m) -} - -var xxx_messageInfo_Point proto.InternalMessageInfo - -func (m *Point) GetInterval() *TimeInterval { - if m != nil { - return m.Interval - } - return nil -} - -func (m *Point) GetValue() *TypedValue { - if m != nil { - return m.Value - } - return nil -} - -// A collection of data points that describes the time-varying values -// of a metric. A time series is identified by a combination of a -// fully-specified monitored resource and a fully-specified metric. -// This type is used for both listing and creating time series. -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 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. - // - // When creating a time series, this field is optional. If present, it must be - // the same as the metric kind of the associated metric. If the associated - // metric's descriptor must be auto-created, then this field specifies the - // metric kind of the new descriptor and must be either `GAUGE` (the default) - // or `CUMULATIVE`. - MetricKind metric.MetricDescriptor_MetricKind `protobuf:"varint,3,opt,name=metric_kind,json=metricKind,proto3,enum=google.api.MetricDescriptor_MetricKind" json:"metric_kind,omitempty"` - // The value type of the time series. When listing time series, this value - // type might be different from the value type of the associated metric if - // this time series is an alignment or reduction of other time series. - // - // 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, 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 - // metric. If the associated metric's descriptor must be auto-created, then - // the value type of the descriptor is determined by the point's type, which - // must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`. - Points []*Point `protobuf:"bytes,5,rep,name=points,proto3" json:"points,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_c76199a3d2c4c21e, []int{1} -} - -func (m *TimeSeries) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TimeSeries.Unmarshal(m, b) -} -func (m *TimeSeries) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TimeSeries.Marshal(b, m, deterministic) -} -func (m *TimeSeries) XXX_Merge(src proto.Message) { - xxx_messageInfo_TimeSeries.Merge(m, src) -} -func (m *TimeSeries) XXX_Size() int { - return xxx_messageInfo_TimeSeries.Size(m) -} -func (m *TimeSeries) XXX_DiscardUnknown() { - xxx_messageInfo_TimeSeries.DiscardUnknown(m) -} - -var xxx_messageInfo_TimeSeries proto.InternalMessageInfo - -func (m *TimeSeries) GetMetric() *metric.Metric { - if m != nil { - return m.Metric - } - return nil -} - -func (m *TimeSeries) GetResource() *monitoredres.MonitoredResource { - if m != nil { - return m.Resource - } - 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 - } - return metric.MetricDescriptor_METRIC_KIND_UNSPECIFIED -} - -func (m *TimeSeries) GetValueType() metric.MetricDescriptor_ValueType { - if m != nil { - return m.ValueType - } - return metric.MetricDescriptor_VALUE_TYPE_UNSPECIFIED -} - -func (m *TimeSeries) GetPoints() []*Point { - if m != nil { - return m.Points - } - return nil -} - -func init() { - proto.RegisterType((*Point)(nil), "google.monitoring.v3.Point") - proto.RegisterType((*TimeSeries)(nil), "google.monitoring.v3.TimeSeries") -} - -func init() { proto.RegisterFile("google/monitoring/v3/metric.proto", fileDescriptor_c76199a3d2c4c21e) } - -var fileDescriptor_c76199a3d2c4c21e = []byte{ - // 441 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xdf, 0x8a, 0xd3, 0x40, - 0x14, 0xc6, 0x49, 0xd7, 0xd6, 0x3a, 0x05, 0x2f, 0x06, 0xd1, 0x50, 0x59, 0xa8, 0x15, 0xb5, 0x78, - 0x91, 0x40, 0x03, 0x82, 0x08, 0x0b, 0xae, 0x8a, 0x8a, 0x2c, 0x94, 0x51, 0x7a, 0x21, 0x85, 0x32, - 0x4d, 0x0e, 0xe1, 0x60, 0xe6, 0x0f, 0x93, 0x69, 0x60, 0xaf, 0x7c, 0x18, 0xef, 0x7c, 0x14, 0x9f, - 0xc9, 0x0b, 0x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0x00, 0x00, 0xff, - 0xff, 0x06, 0x37, 0xbb, 0x92, 0x7f, 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 deleted file mode 100644 index 8759a468..00000000 --- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/metric_service.pb.go +++ /dev/null @@ -1,1260 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/monitoring/v3/metric_service.proto - -package monitoring - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/duration" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - metric "google.golang.org/genproto/googleapis/api/metric" - monitoredres "google.golang.org/genproto/googleapis/api/monitoredres" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Controls which fields are returned by `ListTimeSeries`. -type ListTimeSeriesRequest_TimeSeriesView int32 - -const ( - // Returns the identity of the metric(s), the time series, - // and the time series data. - ListTimeSeriesRequest_FULL ListTimeSeriesRequest_TimeSeriesView = 0 - // Returns the identity of the metric and the time series resource, - // but not the time series data. - ListTimeSeriesRequest_HEADERS ListTimeSeriesRequest_TimeSeriesView = 1 -) - -var ListTimeSeriesRequest_TimeSeriesView_name = map[int32]string{ - 0: "FULL", - 1: "HEADERS", -} - -var ListTimeSeriesRequest_TimeSeriesView_value = map[string]int32{ - "FULL": 0, - "HEADERS": 1, -} - -func (x ListTimeSeriesRequest_TimeSeriesView) String() string { - return proto.EnumName(ListTimeSeriesRequest_TimeSeriesView_name, int32(x)) -} - -func (ListTimeSeriesRequest_TimeSeriesView) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7b3d47b45a293957, []int{8, 0} -} - -// The `ListMonitoredResourceDescriptors` request. -type ListMonitoredResourceDescriptorsRequest struct { - // The project on which to execute the request. The format is - // `"projects/{project_id_or_number}"`. - Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` - // An optional [filter](/monitoring/api/v3/filters) describing - // the descriptors to be returned. The filter can reference - // the descriptor's type and labels. For example, the - // following filter returns only Google Compute Engine descriptors - // that have an `id` label: - // - // resource.type = starts_with("gce_") AND resource.label:id - Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` - // A positive number that is the maximum number of results to return. - PageSize int32 `protobuf:"varint,3,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 - // method to return additional results from the previous method call. - 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 *ListMonitoredResourceDescriptorsRequest) Reset() { - *m = ListMonitoredResourceDescriptorsRequest{} -} -func (m *ListMonitoredResourceDescriptorsRequest) String() string { return proto.CompactTextString(m) } -func (*ListMonitoredResourceDescriptorsRequest) ProtoMessage() {} -func (*ListMonitoredResourceDescriptorsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7b3d47b45a293957, []int{0} -} - -func (m *ListMonitoredResourceDescriptorsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListMonitoredResourceDescriptorsRequest.Unmarshal(m, b) -} -func (m *ListMonitoredResourceDescriptorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListMonitoredResourceDescriptorsRequest.Marshal(b, m, deterministic) -} -func (m *ListMonitoredResourceDescriptorsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListMonitoredResourceDescriptorsRequest.Merge(m, src) -} -func (m *ListMonitoredResourceDescriptorsRequest) XXX_Size() int { - return xxx_messageInfo_ListMonitoredResourceDescriptorsRequest.Size(m) -} -func (m *ListMonitoredResourceDescriptorsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListMonitoredResourceDescriptorsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListMonitoredResourceDescriptorsRequest proto.InternalMessageInfo - -func (m *ListMonitoredResourceDescriptorsRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ListMonitoredResourceDescriptorsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListMonitoredResourceDescriptorsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListMonitoredResourceDescriptorsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// The `ListMonitoredResourceDescriptors` response. -type ListMonitoredResourceDescriptorsResponse struct { - // The monitored resource descriptors that are available to this project - // and that match `filter`, if present. - ResourceDescriptors []*monitoredres.MonitoredResourceDescriptor `protobuf:"bytes,1,rep,name=resource_descriptors,json=resourceDescriptors,proto3" json:"resource_descriptors,omitempty"` - // 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:"-"` -} - -func (m *ListMonitoredResourceDescriptorsResponse) Reset() { - *m = ListMonitoredResourceDescriptorsResponse{} -} -func (m *ListMonitoredResourceDescriptorsResponse) String() string { return proto.CompactTextString(m) } -func (*ListMonitoredResourceDescriptorsResponse) ProtoMessage() {} -func (*ListMonitoredResourceDescriptorsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7b3d47b45a293957, []int{1} -} - -func (m *ListMonitoredResourceDescriptorsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListMonitoredResourceDescriptorsResponse.Unmarshal(m, b) -} -func (m *ListMonitoredResourceDescriptorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListMonitoredResourceDescriptorsResponse.Marshal(b, m, deterministic) -} -func (m *ListMonitoredResourceDescriptorsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListMonitoredResourceDescriptorsResponse.Merge(m, src) -} -func (m *ListMonitoredResourceDescriptorsResponse) XXX_Size() int { - return xxx_messageInfo_ListMonitoredResourceDescriptorsResponse.Size(m) -} -func (m *ListMonitoredResourceDescriptorsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListMonitoredResourceDescriptorsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListMonitoredResourceDescriptorsResponse proto.InternalMessageInfo - -func (m *ListMonitoredResourceDescriptorsResponse) GetResourceDescriptors() []*monitoredres.MonitoredResourceDescriptor { - if m != nil { - return m.ResourceDescriptors - } - return nil -} - -func (m *ListMonitoredResourceDescriptorsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The `GetMonitoredResourceDescriptor` request. -type GetMonitoredResourceDescriptorRequest struct { - // The monitored resource descriptor to get. The format is - // `"projects/{project_id_or_number}/monitoredResourceDescriptors/{resource_type}"`. - // The `{resource_type}` is a predefined type, such as - // `cloudsql_database`. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetMonitoredResourceDescriptorRequest) Reset() { *m = GetMonitoredResourceDescriptorRequest{} } -func (m *GetMonitoredResourceDescriptorRequest) String() string { return proto.CompactTextString(m) } -func (*GetMonitoredResourceDescriptorRequest) ProtoMessage() {} -func (*GetMonitoredResourceDescriptorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7b3d47b45a293957, []int{2} -} - -func (m *GetMonitoredResourceDescriptorRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetMonitoredResourceDescriptorRequest.Unmarshal(m, b) -} -func (m *GetMonitoredResourceDescriptorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetMonitoredResourceDescriptorRequest.Marshal(b, m, deterministic) -} -func (m *GetMonitoredResourceDescriptorRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetMonitoredResourceDescriptorRequest.Merge(m, src) -} -func (m *GetMonitoredResourceDescriptorRequest) XXX_Size() int { - return xxx_messageInfo_GetMonitoredResourceDescriptorRequest.Size(m) -} -func (m *GetMonitoredResourceDescriptorRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetMonitoredResourceDescriptorRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetMonitoredResourceDescriptorRequest proto.InternalMessageInfo - -func (m *GetMonitoredResourceDescriptorRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The `ListMetricDescriptors` request. -type ListMetricDescriptorsRequest struct { - // The project on which to execute the request. The format is - // `"projects/{project_id_or_number}"`. - Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` - // If this field is empty, all custom and - // system-defined metric descriptors are returned. - // Otherwise, the [filter](/monitoring/api/v3/filters) - // specifies which metric descriptors are to be - // returned. For example, the following filter matches all - // [custom metrics](/monitoring/custom-metrics): - // - // metric.type = starts_with("custom.googleapis.com/") - Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` - // A positive number that is the maximum number of results to return. - PageSize int32 `protobuf:"varint,3,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 - // method to return additional results from the previous method call. - 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 *ListMetricDescriptorsRequest) Reset() { *m = ListMetricDescriptorsRequest{} } -func (m *ListMetricDescriptorsRequest) String() string { return proto.CompactTextString(m) } -func (*ListMetricDescriptorsRequest) ProtoMessage() {} -func (*ListMetricDescriptorsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7b3d47b45a293957, []int{3} -} - -func (m *ListMetricDescriptorsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListMetricDescriptorsRequest.Unmarshal(m, b) -} -func (m *ListMetricDescriptorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListMetricDescriptorsRequest.Marshal(b, m, deterministic) -} -func (m *ListMetricDescriptorsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListMetricDescriptorsRequest.Merge(m, src) -} -func (m *ListMetricDescriptorsRequest) XXX_Size() int { - return xxx_messageInfo_ListMetricDescriptorsRequest.Size(m) -} -func (m *ListMetricDescriptorsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListMetricDescriptorsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListMetricDescriptorsRequest proto.InternalMessageInfo - -func (m *ListMetricDescriptorsRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ListMetricDescriptorsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListMetricDescriptorsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListMetricDescriptorsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// The `ListMetricDescriptors` response. -type ListMetricDescriptorsResponse struct { - // The metric descriptors that are available to the project - // and that match the value of `filter`, if present. - MetricDescriptors []*metric.MetricDescriptor `protobuf:"bytes,1,rep,name=metric_descriptors,json=metricDescriptors,proto3" json:"metric_descriptors,omitempty"` - // 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:"-"` -} - -func (m *ListMetricDescriptorsResponse) Reset() { *m = ListMetricDescriptorsResponse{} } -func (m *ListMetricDescriptorsResponse) String() string { return proto.CompactTextString(m) } -func (*ListMetricDescriptorsResponse) ProtoMessage() {} -func (*ListMetricDescriptorsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7b3d47b45a293957, []int{4} -} - -func (m *ListMetricDescriptorsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListMetricDescriptorsResponse.Unmarshal(m, b) -} -func (m *ListMetricDescriptorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListMetricDescriptorsResponse.Marshal(b, m, deterministic) -} -func (m *ListMetricDescriptorsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListMetricDescriptorsResponse.Merge(m, src) -} -func (m *ListMetricDescriptorsResponse) XXX_Size() int { - return xxx_messageInfo_ListMetricDescriptorsResponse.Size(m) -} -func (m *ListMetricDescriptorsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListMetricDescriptorsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListMetricDescriptorsResponse proto.InternalMessageInfo - -func (m *ListMetricDescriptorsResponse) GetMetricDescriptors() []*metric.MetricDescriptor { - if m != nil { - return m.MetricDescriptors - } - return nil -} - -func (m *ListMetricDescriptorsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The `GetMetricDescriptor` request. -type GetMetricDescriptorRequest struct { - // The metric descriptor on which to execute the request. The format is - // `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`. - // An example value of `{metric_id}` is - // `"compute.googleapis.com/instance/disk/read_bytes_count"`. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetMetricDescriptorRequest) Reset() { *m = GetMetricDescriptorRequest{} } -func (m *GetMetricDescriptorRequest) String() string { return proto.CompactTextString(m) } -func (*GetMetricDescriptorRequest) ProtoMessage() {} -func (*GetMetricDescriptorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7b3d47b45a293957, []int{5} -} - -func (m *GetMetricDescriptorRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetMetricDescriptorRequest.Unmarshal(m, b) -} -func (m *GetMetricDescriptorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetMetricDescriptorRequest.Marshal(b, m, deterministic) -} -func (m *GetMetricDescriptorRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetMetricDescriptorRequest.Merge(m, src) -} -func (m *GetMetricDescriptorRequest) XXX_Size() int { - return xxx_messageInfo_GetMetricDescriptorRequest.Size(m) -} -func (m *GetMetricDescriptorRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetMetricDescriptorRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetMetricDescriptorRequest proto.InternalMessageInfo - -func (m *GetMetricDescriptorRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The `CreateMetricDescriptor` request. -type CreateMetricDescriptorRequest struct { - // The project on which to execute the request. The format is - // `"projects/{project_id_or_number}"`. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - // The new [custom metric](/monitoring/custom-metrics) - // descriptor. - MetricDescriptor *metric.MetricDescriptor `protobuf:"bytes,2,opt,name=metric_descriptor,json=metricDescriptor,proto3" json:"metric_descriptor,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateMetricDescriptorRequest) Reset() { *m = CreateMetricDescriptorRequest{} } -func (m *CreateMetricDescriptorRequest) String() string { return proto.CompactTextString(m) } -func (*CreateMetricDescriptorRequest) ProtoMessage() {} -func (*CreateMetricDescriptorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7b3d47b45a293957, []int{6} -} - -func (m *CreateMetricDescriptorRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateMetricDescriptorRequest.Unmarshal(m, b) -} -func (m *CreateMetricDescriptorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateMetricDescriptorRequest.Marshal(b, m, deterministic) -} -func (m *CreateMetricDescriptorRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateMetricDescriptorRequest.Merge(m, src) -} -func (m *CreateMetricDescriptorRequest) XXX_Size() int { - return xxx_messageInfo_CreateMetricDescriptorRequest.Size(m) -} -func (m *CreateMetricDescriptorRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateMetricDescriptorRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateMetricDescriptorRequest proto.InternalMessageInfo - -func (m *CreateMetricDescriptorRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *CreateMetricDescriptorRequest) GetMetricDescriptor() *metric.MetricDescriptor { - if m != nil { - return m.MetricDescriptor - } - return nil -} - -// The `DeleteMetricDescriptor` request. -type DeleteMetricDescriptorRequest struct { - // The metric descriptor on which to execute the request. The format is - // `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`. - // An example of `{metric_id}` is: - // `"custom.googleapis.com/my_test_metric"`. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DeleteMetricDescriptorRequest) Reset() { *m = DeleteMetricDescriptorRequest{} } -func (m *DeleteMetricDescriptorRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteMetricDescriptorRequest) ProtoMessage() {} -func (*DeleteMetricDescriptorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7b3d47b45a293957, []int{7} -} - -func (m *DeleteMetricDescriptorRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteMetricDescriptorRequest.Unmarshal(m, b) -} -func (m *DeleteMetricDescriptorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteMetricDescriptorRequest.Marshal(b, m, deterministic) -} -func (m *DeleteMetricDescriptorRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteMetricDescriptorRequest.Merge(m, src) -} -func (m *DeleteMetricDescriptorRequest) XXX_Size() int { - return xxx_messageInfo_DeleteMetricDescriptorRequest.Size(m) -} -func (m *DeleteMetricDescriptorRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteMetricDescriptorRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteMetricDescriptorRequest proto.InternalMessageInfo - -func (m *DeleteMetricDescriptorRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The `ListTimeSeries` request. -type ListTimeSeriesRequest struct { - // The project on which to execute the request. The format is - // "projects/{project_id_or_number}". - Name string `protobuf:"bytes,10,opt,name=name,proto3" json:"name,omitempty"` - // A [monitoring filter](/monitoring/api/v3/filters) that specifies which time - // series should be returned. The filter must specify a single metric type, - // and can additionally specify metric labels and other information. For - // example: - // - // metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND - // metric.labels.instance_name = "my-instance-name" - Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` - // The time interval for which results should be returned. Only time series - // that contain data points in the specified interval are included - // in the response. - Interval *TimeInterval `protobuf:"bytes,4,opt,name=interval,proto3" json:"interval,omitempty"` - // By default, the raw time series data is returned. - // 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"` - // 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. 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 - // method to return additional results from the previous method call. - PageToken string `protobuf:"bytes,9,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 *ListTimeSeriesRequest) Reset() { *m = ListTimeSeriesRequest{} } -func (m *ListTimeSeriesRequest) String() string { return proto.CompactTextString(m) } -func (*ListTimeSeriesRequest) ProtoMessage() {} -func (*ListTimeSeriesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7b3d47b45a293957, []int{8} -} - -func (m *ListTimeSeriesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTimeSeriesRequest.Unmarshal(m, b) -} -func (m *ListTimeSeriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTimeSeriesRequest.Marshal(b, m, deterministic) -} -func (m *ListTimeSeriesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTimeSeriesRequest.Merge(m, src) -} -func (m *ListTimeSeriesRequest) XXX_Size() int { - return xxx_messageInfo_ListTimeSeriesRequest.Size(m) -} -func (m *ListTimeSeriesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListTimeSeriesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTimeSeriesRequest proto.InternalMessageInfo - -func (m *ListTimeSeriesRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ListTimeSeriesRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListTimeSeriesRequest) GetInterval() *TimeInterval { - if m != nil { - return m.Interval - } - return nil -} - -func (m *ListTimeSeriesRequest) GetAggregation() *Aggregation { - if m != nil { - return m.Aggregation - } - return nil -} - -func (m *ListTimeSeriesRequest) GetOrderBy() string { - if m != nil { - return m.OrderBy - } - return "" -} - -func (m *ListTimeSeriesRequest) GetView() ListTimeSeriesRequest_TimeSeriesView { - if m != nil { - return m.View - } - return ListTimeSeriesRequest_FULL -} - -func (m *ListTimeSeriesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListTimeSeriesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// The `ListTimeSeries` response. -type ListTimeSeriesResponse struct { - // One or more time series that match the filter included in the request. - TimeSeries []*TimeSeries `protobuf:"bytes,1,rep,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"` - // 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"` - // 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_7b3d47b45a293957, []int{9} -} - -func (m *ListTimeSeriesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTimeSeriesResponse.Unmarshal(m, b) -} -func (m *ListTimeSeriesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTimeSeriesResponse.Marshal(b, m, deterministic) -} -func (m *ListTimeSeriesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTimeSeriesResponse.Merge(m, src) -} -func (m *ListTimeSeriesResponse) XXX_Size() int { - return xxx_messageInfo_ListTimeSeriesResponse.Size(m) -} -func (m *ListTimeSeriesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListTimeSeriesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTimeSeriesResponse proto.InternalMessageInfo - -func (m *ListTimeSeriesResponse) GetTimeSeries() []*TimeSeries { - if m != nil { - return m.TimeSeries - } - return nil -} - -func (m *ListTimeSeriesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - 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 - // `"projects/{project_id_or_number}"`. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - // The new data to be added to a list of time series. - // Adds at most one data point to each of several time series. The new data - // point must be more recent than any other point in its time series. Each - // `TimeSeries` value must fully specify a unique time series by supplying - // all label values for the metric and the monitored resource. - // - // The maximum number of `TimeSeries` objects per `Create` request is 200. - TimeSeries []*TimeSeries `protobuf:"bytes,2,rep,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7b3d47b45a293957, []int{10} -} - -func (m *CreateTimeSeriesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateTimeSeriesRequest.Unmarshal(m, b) -} -func (m *CreateTimeSeriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateTimeSeriesRequest.Marshal(b, m, deterministic) -} -func (m *CreateTimeSeriesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateTimeSeriesRequest.Merge(m, src) -} -func (m *CreateTimeSeriesRequest) XXX_Size() int { - return xxx_messageInfo_CreateTimeSeriesRequest.Size(m) -} -func (m *CreateTimeSeriesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateTimeSeriesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateTimeSeriesRequest proto.InternalMessageInfo - -func (m *CreateTimeSeriesRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *CreateTimeSeriesRequest) GetTimeSeries() []*TimeSeries { - if m != nil { - return m.TimeSeries - } - return nil -} - -// Describes the result of a failed request to write data to a time series. -type CreateTimeSeriesError struct { - // The time series, including the `Metric`, `MonitoredResource`, - // and `Point`s (including timestamp and value) that resulted - // in the error. This field provides all of the context that - // would be needed to retry the operation. - TimeSeries *TimeSeries `protobuf:"bytes,1,opt,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"` - // The status of the requested write operation. - Status *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_7b3d47b45a293957, []int{11} -} - -func (m *CreateTimeSeriesError) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateTimeSeriesError.Unmarshal(m, b) -} -func (m *CreateTimeSeriesError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateTimeSeriesError.Marshal(b, m, deterministic) -} -func (m *CreateTimeSeriesError) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateTimeSeriesError.Merge(m, src) -} -func (m *CreateTimeSeriesError) XXX_Size() int { - return xxx_messageInfo_CreateTimeSeriesError.Size(m) -} -func (m *CreateTimeSeriesError) XXX_DiscardUnknown() { - xxx_messageInfo_CreateTimeSeriesError.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateTimeSeriesError proto.InternalMessageInfo - -func (m *CreateTimeSeriesError) GetTimeSeries() *TimeSeries { - if m != nil { - return m.TimeSeries - } - return nil -} - -func (m *CreateTimeSeriesError) GetStatus() *status.Status { - if m != nil { - return m.Status - } - return nil -} - -func init() { - proto.RegisterEnum("google.monitoring.v3.ListTimeSeriesRequest_TimeSeriesView", ListTimeSeriesRequest_TimeSeriesView_name, ListTimeSeriesRequest_TimeSeriesView_value) - proto.RegisterType((*ListMonitoredResourceDescriptorsRequest)(nil), "google.monitoring.v3.ListMonitoredResourceDescriptorsRequest") - proto.RegisterType((*ListMonitoredResourceDescriptorsResponse)(nil), "google.monitoring.v3.ListMonitoredResourceDescriptorsResponse") - proto.RegisterType((*GetMonitoredResourceDescriptorRequest)(nil), "google.monitoring.v3.GetMonitoredResourceDescriptorRequest") - proto.RegisterType((*ListMetricDescriptorsRequest)(nil), "google.monitoring.v3.ListMetricDescriptorsRequest") - proto.RegisterType((*ListMetricDescriptorsResponse)(nil), "google.monitoring.v3.ListMetricDescriptorsResponse") - proto.RegisterType((*GetMetricDescriptorRequest)(nil), "google.monitoring.v3.GetMetricDescriptorRequest") - proto.RegisterType((*CreateMetricDescriptorRequest)(nil), "google.monitoring.v3.CreateMetricDescriptorRequest") - proto.RegisterType((*DeleteMetricDescriptorRequest)(nil), "google.monitoring.v3.DeleteMetricDescriptorRequest") - proto.RegisterType((*ListTimeSeriesRequest)(nil), "google.monitoring.v3.ListTimeSeriesRequest") - proto.RegisterType((*ListTimeSeriesResponse)(nil), "google.monitoring.v3.ListTimeSeriesResponse") - proto.RegisterType((*CreateTimeSeriesRequest)(nil), "google.monitoring.v3.CreateTimeSeriesRequest") - proto.RegisterType((*CreateTimeSeriesError)(nil), "google.monitoring.v3.CreateTimeSeriesError") -} - -func init() { - proto.RegisterFile("google/monitoring/v3/metric_service.proto", fileDescriptor_7b3d47b45a293957) -} - -var fileDescriptor_7b3d47b45a293957 = []byte{ - // 1126 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0xcf, 0x6f, 0x1b, 0x45, - 0x14, 0x66, 0x92, 0x34, 0x3f, 0xc6, 0x34, 0x4d, 0xa7, 0x6d, 0xea, 0x6e, 0x93, 0xca, 0x5d, 0x54, - 0xe2, 0xba, 0xe9, 0x6e, 0x65, 0x57, 0x1c, 0x92, 0x26, 0x52, 0x7e, 0x51, 0x2a, 0x02, 0x8a, 0x36, - 0x25, 0x87, 0x2a, 0x92, 0xb5, 0x59, 0xbf, 0x6c, 0x07, 0xbc, 0x3b, 0xcb, 0xec, 0x38, 0x6e, 0x8a, - 0xc2, 0x81, 0x43, 0xef, 0x08, 0x90, 0xe0, 0x5f, 0xe8, 0x01, 0xc4, 0x95, 0x23, 0xe2, 0xd4, 0x63, - 0xb9, 0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 0xc5, - 0x9c, 0xb7, 0x1b, 0xbf, 0xa1, 0xe7, 0x42, 0x78, 0xfe, 0x8a, 0xae, 0xb7, 0xdb, 0xed, 0x84, 0x55, - 0x37, 0x5b, 0xe2, 0xb9, 0x6e, 0x35, 0x59, 0xab, 0x71, 0xdf, 0x6b, 0x9a, 0xe2, 0x98, 0x71, 0x67, - 0x79, 0x90, 0x7b, 0x9c, 0x6b, 0x04, 0x57, 0x8d, 0x83, 0xd9, 0x18, 0xc5, 0xbf, 0xcd, 0xa9, 0x80, - 0xcd, 0xd7, 0x08, 0x17, 0x2d, 0xe6, 0xa4, 0xd2, 0xba, 0x49, 0x7a, 0xe4, 0x66, 0x2f, 0xe0, 0x70, - 0x0f, 0x3d, 0x5b, 0x8f, 0x7c, 0x6d, 0xd6, 0x34, 0x5d, 0x5b, 0x63, 0xdc, 0xd6, 0x6d, 0x70, 0x25, - 0xc3, 0x7a, 0x9c, 0xb3, 0xf7, 0xcf, 0xe1, 0x6a, 0xfc, 0xf5, 0x7a, 0x4c, 0x79, 0x1c, 0x06, 0xd8, - 0x0a, 0x68, 0xe9, 0xdc, 0xbb, 0x41, 0xca, 0x83, 0xda, 0x9b, 0x8e, 0xf1, 0x50, 0x1a, 0x0f, 0x63, - 0xe3, 0xe1, 0x41, 0xed, 0x68, 0x52, 0x26, 0xa9, 0xfd, 0x1b, 0x00, 0x00, 0xff, 0xff, 0xd3, 0xd9, - 0x2f, 0x71, 0x62, 0x0f, 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 - -// MetricServiceClient is the client API for MetricService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type MetricServiceClient interface { - // Lists monitored resource descriptors that match a filter. This method does not require a Stackdriver account. - ListMonitoredResourceDescriptors(ctx context.Context, in *ListMonitoredResourceDescriptorsRequest, opts ...grpc.CallOption) (*ListMonitoredResourceDescriptorsResponse, error) - // Gets a single monitored resource descriptor. This method does not require a Stackdriver account. - GetMonitoredResourceDescriptor(ctx context.Context, in *GetMonitoredResourceDescriptorRequest, opts ...grpc.CallOption) (*monitoredres.MonitoredResourceDescriptor, error) - // Lists metric descriptors that match a filter. This method does not require a Stackdriver account. - ListMetricDescriptors(ctx context.Context, in *ListMetricDescriptorsRequest, opts ...grpc.CallOption) (*ListMetricDescriptorsResponse, error) - // Gets a single metric descriptor. This method does not require a Stackdriver account. - GetMetricDescriptor(ctx context.Context, in *GetMetricDescriptorRequest, opts ...grpc.CallOption) (*metric.MetricDescriptor, error) - // Creates a new metric descriptor. - // User-created metric descriptors define - // [custom metrics](/monitoring/custom-metrics). - CreateMetricDescriptor(ctx context.Context, in *CreateMetricDescriptorRequest, opts ...grpc.CallOption) (*metric.MetricDescriptor, error) - // Deletes a metric descriptor. Only user-created - // [custom metrics](/monitoring/custom-metrics) can be deleted. - DeleteMetricDescriptor(ctx context.Context, in *DeleteMetricDescriptorRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Lists time series that match a filter. This method does not require a Stackdriver account. - ListTimeSeries(ctx context.Context, in *ListTimeSeriesRequest, opts ...grpc.CallOption) (*ListTimeSeriesResponse, error) - // Creates or adds data to one or more time series. - // The response is empty if all time series in the request were written. - // If any time series could not be written, a corresponding failure message is - // included in the error response. - CreateTimeSeries(ctx context.Context, in *CreateTimeSeriesRequest, opts ...grpc.CallOption) (*empty.Empty, error) -} - -type metricServiceClient struct { - cc *grpc.ClientConn -} - -func NewMetricServiceClient(cc *grpc.ClientConn) MetricServiceClient { - return &metricServiceClient{cc} -} - -func (c *metricServiceClient) ListMonitoredResourceDescriptors(ctx context.Context, in *ListMonitoredResourceDescriptorsRequest, opts ...grpc.CallOption) (*ListMonitoredResourceDescriptorsResponse, error) { - out := new(ListMonitoredResourceDescriptorsResponse) - err := c.cc.Invoke(ctx, "/google.monitoring.v3.MetricService/ListMonitoredResourceDescriptors", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *metricServiceClient) GetMonitoredResourceDescriptor(ctx context.Context, in *GetMonitoredResourceDescriptorRequest, opts ...grpc.CallOption) (*monitoredres.MonitoredResourceDescriptor, error) { - out := new(monitoredres.MonitoredResourceDescriptor) - err := c.cc.Invoke(ctx, "/google.monitoring.v3.MetricService/GetMonitoredResourceDescriptor", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *metricServiceClient) ListMetricDescriptors(ctx context.Context, in *ListMetricDescriptorsRequest, opts ...grpc.CallOption) (*ListMetricDescriptorsResponse, error) { - out := new(ListMetricDescriptorsResponse) - err := c.cc.Invoke(ctx, "/google.monitoring.v3.MetricService/ListMetricDescriptors", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *metricServiceClient) GetMetricDescriptor(ctx context.Context, in *GetMetricDescriptorRequest, opts ...grpc.CallOption) (*metric.MetricDescriptor, error) { - out := new(metric.MetricDescriptor) - err := c.cc.Invoke(ctx, "/google.monitoring.v3.MetricService/GetMetricDescriptor", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *metricServiceClient) CreateMetricDescriptor(ctx context.Context, in *CreateMetricDescriptorRequest, opts ...grpc.CallOption) (*metric.MetricDescriptor, error) { - out := new(metric.MetricDescriptor) - err := c.cc.Invoke(ctx, "/google.monitoring.v3.MetricService/CreateMetricDescriptor", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *metricServiceClient) DeleteMetricDescriptor(ctx context.Context, in *DeleteMetricDescriptorRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.monitoring.v3.MetricService/DeleteMetricDescriptor", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *metricServiceClient) ListTimeSeries(ctx context.Context, in *ListTimeSeriesRequest, opts ...grpc.CallOption) (*ListTimeSeriesResponse, error) { - out := new(ListTimeSeriesResponse) - err := c.cc.Invoke(ctx, "/google.monitoring.v3.MetricService/ListTimeSeries", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *metricServiceClient) CreateTimeSeries(ctx context.Context, in *CreateTimeSeriesRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.monitoring.v3.MetricService/CreateTimeSeries", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// MetricServiceServer is the server API for MetricService service. -type MetricServiceServer interface { - // Lists monitored resource descriptors that match a filter. This method does not require a Stackdriver account. - ListMonitoredResourceDescriptors(context.Context, *ListMonitoredResourceDescriptorsRequest) (*ListMonitoredResourceDescriptorsResponse, error) - // Gets a single monitored resource descriptor. This method does not require a Stackdriver account. - GetMonitoredResourceDescriptor(context.Context, *GetMonitoredResourceDescriptorRequest) (*monitoredres.MonitoredResourceDescriptor, error) - // Lists metric descriptors that match a filter. This method does not require a Stackdriver account. - ListMetricDescriptors(context.Context, *ListMetricDescriptorsRequest) (*ListMetricDescriptorsResponse, error) - // Gets a single metric descriptor. This method does not require a Stackdriver account. - GetMetricDescriptor(context.Context, *GetMetricDescriptorRequest) (*metric.MetricDescriptor, error) - // Creates a new metric descriptor. - // User-created metric descriptors define - // [custom metrics](/monitoring/custom-metrics). - CreateMetricDescriptor(context.Context, *CreateMetricDescriptorRequest) (*metric.MetricDescriptor, error) - // Deletes a metric descriptor. Only user-created - // [custom metrics](/monitoring/custom-metrics) can be deleted. - DeleteMetricDescriptor(context.Context, *DeleteMetricDescriptorRequest) (*empty.Empty, error) - // Lists time series that match a filter. This method does not require a Stackdriver account. - ListTimeSeries(context.Context, *ListTimeSeriesRequest) (*ListTimeSeriesResponse, error) - // Creates or adds data to one or more time series. - // The response is empty if all time series in the request were written. - // If any time series could not be written, a corresponding failure message is - // included in the error response. - CreateTimeSeries(context.Context, *CreateTimeSeriesRequest) (*empty.Empty, error) -} - -// UnimplementedMetricServiceServer can be embedded to have forward compatible implementations. -type UnimplementedMetricServiceServer struct { -} - -func (*UnimplementedMetricServiceServer) ListMonitoredResourceDescriptors(ctx context.Context, req *ListMonitoredResourceDescriptorsRequest) (*ListMonitoredResourceDescriptorsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListMonitoredResourceDescriptors not implemented") -} -func (*UnimplementedMetricServiceServer) GetMonitoredResourceDescriptor(ctx context.Context, req *GetMonitoredResourceDescriptorRequest) (*monitoredres.MonitoredResourceDescriptor, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetMonitoredResourceDescriptor not implemented") -} -func (*UnimplementedMetricServiceServer) ListMetricDescriptors(ctx context.Context, req *ListMetricDescriptorsRequest) (*ListMetricDescriptorsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListMetricDescriptors not implemented") -} -func (*UnimplementedMetricServiceServer) GetMetricDescriptor(ctx context.Context, req *GetMetricDescriptorRequest) (*metric.MetricDescriptor, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetMetricDescriptor not implemented") -} -func (*UnimplementedMetricServiceServer) CreateMetricDescriptor(ctx context.Context, req *CreateMetricDescriptorRequest) (*metric.MetricDescriptor, error) { - return nil, status1.Errorf(codes.Unimplemented, "method CreateMetricDescriptor not implemented") -} -func (*UnimplementedMetricServiceServer) DeleteMetricDescriptor(ctx context.Context, req *DeleteMetricDescriptorRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method DeleteMetricDescriptor not implemented") -} -func (*UnimplementedMetricServiceServer) ListTimeSeries(ctx context.Context, req *ListTimeSeriesRequest) (*ListTimeSeriesResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListTimeSeries not implemented") -} -func (*UnimplementedMetricServiceServer) CreateTimeSeries(ctx context.Context, req *CreateTimeSeriesRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method CreateTimeSeries not implemented") -} - -func RegisterMetricServiceServer(s *grpc.Server, srv MetricServiceServer) { - s.RegisterService(&_MetricService_serviceDesc, srv) -} - -func _MetricService_ListMonitoredResourceDescriptors_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListMonitoredResourceDescriptorsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MetricServiceServer).ListMonitoredResourceDescriptors(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.monitoring.v3.MetricService/ListMonitoredResourceDescriptors", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MetricServiceServer).ListMonitoredResourceDescriptors(ctx, req.(*ListMonitoredResourceDescriptorsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _MetricService_GetMonitoredResourceDescriptor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetMonitoredResourceDescriptorRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MetricServiceServer).GetMonitoredResourceDescriptor(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.monitoring.v3.MetricService/GetMonitoredResourceDescriptor", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MetricServiceServer).GetMonitoredResourceDescriptor(ctx, req.(*GetMonitoredResourceDescriptorRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _MetricService_ListMetricDescriptors_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListMetricDescriptorsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MetricServiceServer).ListMetricDescriptors(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.monitoring.v3.MetricService/ListMetricDescriptors", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MetricServiceServer).ListMetricDescriptors(ctx, req.(*ListMetricDescriptorsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _MetricService_GetMetricDescriptor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetMetricDescriptorRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MetricServiceServer).GetMetricDescriptor(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.monitoring.v3.MetricService/GetMetricDescriptor", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MetricServiceServer).GetMetricDescriptor(ctx, req.(*GetMetricDescriptorRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _MetricService_CreateMetricDescriptor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateMetricDescriptorRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MetricServiceServer).CreateMetricDescriptor(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.monitoring.v3.MetricService/CreateMetricDescriptor", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MetricServiceServer).CreateMetricDescriptor(ctx, req.(*CreateMetricDescriptorRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _MetricService_DeleteMetricDescriptor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteMetricDescriptorRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MetricServiceServer).DeleteMetricDescriptor(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.monitoring.v3.MetricService/DeleteMetricDescriptor", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MetricServiceServer).DeleteMetricDescriptor(ctx, req.(*DeleteMetricDescriptorRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _MetricService_ListTimeSeries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListTimeSeriesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MetricServiceServer).ListTimeSeries(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.monitoring.v3.MetricService/ListTimeSeries", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MetricServiceServer).ListTimeSeries(ctx, req.(*ListTimeSeriesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _MetricService_CreateTimeSeries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateTimeSeriesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MetricServiceServer).CreateTimeSeries(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.monitoring.v3.MetricService/CreateTimeSeries", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MetricServiceServer).CreateTimeSeries(ctx, req.(*CreateTimeSeriesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _MetricService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.monitoring.v3.MetricService", - HandlerType: (*MetricServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListMonitoredResourceDescriptors", - Handler: _MetricService_ListMonitoredResourceDescriptors_Handler, - }, - { - MethodName: "GetMonitoredResourceDescriptor", - Handler: _MetricService_GetMonitoredResourceDescriptor_Handler, - }, - { - MethodName: "ListMetricDescriptors", - Handler: _MetricService_ListMetricDescriptors_Handler, - }, - { - MethodName: "GetMetricDescriptor", - Handler: _MetricService_GetMetricDescriptor_Handler, - }, - { - MethodName: "CreateMetricDescriptor", - Handler: _MetricService_CreateMetricDescriptor_Handler, - }, - { - MethodName: "DeleteMetricDescriptor", - Handler: _MetricService_DeleteMetricDescriptor_Handler, - }, - { - MethodName: "ListTimeSeries", - Handler: _MetricService_ListTimeSeries_Handler, - }, - { - MethodName: "CreateTimeSeries", - Handler: _MetricService_CreateTimeSeries_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/monitoring/v3/metric_service.proto", -} 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 deleted file mode 100644 index 95c3fd93..00000000 --- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/mutation_record.pb.go +++ /dev/null @@ -1,101 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/monitoring/v3/mutation_record.proto - -package monitoring - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Describes a change made to a configuration. -type MutationRecord struct { - // When the change occurred. - MutateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=mutate_time,json=mutateTime,proto3" json:"mutate_time,omitempty"` - // The email address of the user making the change. - MutatedBy string `protobuf:"bytes,2,opt,name=mutated_by,json=mutatedBy,proto3" json:"mutated_by,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_83c24e690bdb9101, []int{0} -} - -func (m *MutationRecord) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MutationRecord.Unmarshal(m, b) -} -func (m *MutationRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MutationRecord.Marshal(b, m, deterministic) -} -func (m *MutationRecord) XXX_Merge(src proto.Message) { - xxx_messageInfo_MutationRecord.Merge(m, src) -} -func (m *MutationRecord) XXX_Size() int { - return xxx_messageInfo_MutationRecord.Size(m) -} -func (m *MutationRecord) XXX_DiscardUnknown() { - xxx_messageInfo_MutationRecord.DiscardUnknown(m) -} - -var xxx_messageInfo_MutationRecord proto.InternalMessageInfo - -func (m *MutationRecord) GetMutateTime() *timestamp.Timestamp { - if m != nil { - return m.MutateTime - } - return nil -} - -func (m *MutationRecord) GetMutatedBy() string { - if m != nil { - return m.MutatedBy - } - return "" -} - -func init() { - proto.RegisterType((*MutationRecord)(nil), "google.monitoring.v3.MutationRecord") -} - -func init() { - proto.RegisterFile("google/monitoring/v3/mutation_record.proto", fileDescriptor_83c24e690bdb9101) -} - -var fileDescriptor_83c24e690bdb9101 = []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, - 0xd6, 0xcf, 0x2d, 0x2d, 0x49, 0x2c, 0xc9, 0xcc, 0xcf, 0x8b, 0x2f, 0x4a, 0x4d, 0xce, 0x2f, 0x4a, - 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x81, 0xa8, 0xd5, 0x43, 0xa8, 0xd5, 0x2b, 0x33, - 0x96, 0x92, 0x87, 0x9a, 0x00, 0x56, 0x93, 0x54, 0x9a, 0xa6, 0x5f, 0x92, 0x99, 0x9b, 0x5a, 0x5c, - 0x92, 0x98, 0x5b, 0x00, 0xd1, 0xa6, 0x94, 0xc3, 0xc5, 0xe7, 0x0b, 0x35, 0x2f, 0x08, 0x6c, 0x9c, - 0x90, 0x35, 0x17, 0x37, 0xd8, 0x86, 0xd4, 0x78, 0x90, 0x5a, 0x09, 0x46, 0x05, 0x46, 0x0d, 0x6e, - 0x23, 0x29, 0x3d, 0xa8, 0xf1, 0x30, 0x83, 0xf4, 0x42, 0x60, 0x06, 0x05, 0x71, 0x41, 0x94, 0x83, - 0x04, 0x84, 0x64, 0xb9, 0xa0, 0xbc, 0x94, 0xf8, 0xa4, 0x4a, 0x09, 0x26, 0x05, 0x46, 0x0d, 0xce, - 0x20, 0x4e, 0xa8, 0x88, 0x53, 0xa5, 0xd3, 0x6a, 0x46, 0x2e, 0x89, 0xe4, 0xfc, 0x5c, 0x3d, 0x6c, - 0x6e, 0x75, 0x12, 0x46, 0x75, 0x48, 0x00, 0xc8, 0xa6, 0x00, 0xc6, 0x28, 0x3b, 0xa8, 0xe2, 0xf4, - 0xfc, 0x9c, 0xc4, 0xbc, 0x74, 0xbd, 0xfc, 0xa2, 0x74, 0xfd, 0xf4, 0xd4, 0x3c, 0xb0, 0x3b, 0xf4, - 0x21, 0x52, 0x89, 0x05, 0x99, 0xc5, 0xa8, 0x61, 0x64, 0x8d, 0xe0, 0xad, 0x62, 0x92, 0x72, 0x87, - 0x18, 0xe0, 0x9c, 0x93, 0x5f, 0x9a, 0xa2, 0xe7, 0x8b, 0xb0, 0x33, 0xcc, 0xf8, 0x14, 0x4c, 0x32, - 0x06, 0x2c, 0x19, 0x83, 0x90, 0x8c, 0x09, 0x33, 0x4e, 0x62, 0x03, 0x5b, 0x62, 0x0c, 0x08, 0x00, - 0x00, 0xff, 0xff, 0x95, 0xa7, 0xf3, 0xbd, 0x87, 0x01, 0x00, 0x00, -} 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 deleted file mode 100644 index aab34770..00000000 --- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/notification.pb.go +++ /dev/null @@ -1,373 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/monitoring/v3/notification.proto - -package monitoring - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - label "google.golang.org/genproto/googleapis/api/label" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Indicates whether the channel has been verified or not. It is illegal -// to specify this field in a -// [`CreateNotificationChannel`][google.monitoring.v3.NotificationChannelService.CreateNotificationChannel] -// or an -// [`UpdateNotificationChannel`][google.monitoring.v3.NotificationChannelService.UpdateNotificationChannel] -// operation. -type NotificationChannel_VerificationStatus int32 - -const ( - // Sentinel value used to indicate that the state is unknown, omitted, or - // is not applicable (as in the case of channels that neither support - // nor require verification in order to function). - NotificationChannel_VERIFICATION_STATUS_UNSPECIFIED NotificationChannel_VerificationStatus = 0 - // The channel has yet to be verified and requires verification to function. - // Note that this state also applies to the case where the verification - // process has been initiated by sending a verification code but where - // the verification code has not been submitted to complete the process. - NotificationChannel_UNVERIFIED NotificationChannel_VerificationStatus = 1 - // It has been proven that notifications can be received on this - // notification channel and that someone on the project has access - // to messages that are delivered to that channel. - NotificationChannel_VERIFIED NotificationChannel_VerificationStatus = 2 -) - -var NotificationChannel_VerificationStatus_name = map[int32]string{ - 0: "VERIFICATION_STATUS_UNSPECIFIED", - 1: "UNVERIFIED", - 2: "VERIFIED", -} - -var NotificationChannel_VerificationStatus_value = map[string]int32{ - "VERIFICATION_STATUS_UNSPECIFIED": 0, - "UNVERIFIED": 1, - "VERIFIED": 2, -} - -func (x NotificationChannel_VerificationStatus) String() string { - return proto.EnumName(NotificationChannel_VerificationStatus_name, int32(x)) -} - -func (NotificationChannel_VerificationStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4399f1e4bc1a75ef, []int{1, 0} -} - -// A description of a notification channel. The descriptor includes -// the properties of the channel and the set of labels or fields that -// must be specified to configure channels of a given type. -type NotificationChannelDescriptor struct { - // The full REST resource name for this descriptor. The syntax is: - // - // projects/[PROJECT_ID]/notificationChannelDescriptors/[TYPE] - // - // In the above, `[TYPE]` is the value of the `type` field. - Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` - // The type of notification channel, such as "email", "sms", etc. - // Notification channel types are globally unique. - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - // A human-readable name for the notification channel type. This - // form of the name is suitable for a user interface. - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // A human-readable description of the notification channel - // type. The description may include a description of the properties - // of the channel and pointers to external documentation. - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - // The set of labels that must be defined to identify a particular - // channel of the corresponding type. Each label includes a - // description for how that field should be populated. - 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"` // Deprecated: Do not use. - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *NotificationChannelDescriptor) Reset() { *m = NotificationChannelDescriptor{} } -func (m *NotificationChannelDescriptor) String() string { return proto.CompactTextString(m) } -func (*NotificationChannelDescriptor) ProtoMessage() {} -func (*NotificationChannelDescriptor) Descriptor() ([]byte, []int) { - return fileDescriptor_4399f1e4bc1a75ef, []int{0} -} - -func (m *NotificationChannelDescriptor) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NotificationChannelDescriptor.Unmarshal(m, b) -} -func (m *NotificationChannelDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NotificationChannelDescriptor.Marshal(b, m, deterministic) -} -func (m *NotificationChannelDescriptor) XXX_Merge(src proto.Message) { - xxx_messageInfo_NotificationChannelDescriptor.Merge(m, src) -} -func (m *NotificationChannelDescriptor) XXX_Size() int { - return xxx_messageInfo_NotificationChannelDescriptor.Size(m) -} -func (m *NotificationChannelDescriptor) XXX_DiscardUnknown() { - xxx_messageInfo_NotificationChannelDescriptor.DiscardUnknown(m) -} - -var xxx_messageInfo_NotificationChannelDescriptor proto.InternalMessageInfo - -func (m *NotificationChannelDescriptor) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *NotificationChannelDescriptor) GetType() string { - if m != nil { - return m.Type - } - return "" -} - -func (m *NotificationChannelDescriptor) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *NotificationChannelDescriptor) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *NotificationChannelDescriptor) GetLabels() []*label.LabelDescriptor { - if m != nil { - return m.Labels - } - return nil -} - -// Deprecated: Do not use. -func (m *NotificationChannelDescriptor) GetSupportedTiers() []ServiceTier { - if m != nil { - return m.SupportedTiers - } - return nil -} - -// A `NotificationChannel` is a medium through which an alert is -// delivered when a policy violation is detected. Examples of channels -// include email, SMS, and third-party messaging applications. Fields -// containing sensitive information like authentication tokens or -// contact info are only partially populated on retrieval. -type NotificationChannel struct { - // The type of the notification channel. This field matches the - // value of the [NotificationChannelDescriptor.type][google.monitoring.v3.NotificationChannelDescriptor.type] field. - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - // The full REST resource name for this channel. The syntax is: - // - // projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID] - // - // The `[CHANNEL_ID]` is automatically assigned by the server on creation. - Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` - // An optional human-readable name for this notification channel. It is - // recommended that you specify a non-empty and unique name in order to - // make it easier to identify the channels in your project, though this is - // not enforced. The display name is limited to 512 Unicode characters. - DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // An optional human-readable description of this notification channel. This - // description may provide additional details, beyond the display - // name, for the channel. This may not exceed 1024 Unicode characters. - Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` - // Configuration fields that define the channel and its behavior. The - // permissible and required labels are specified in the - // [NotificationChannelDescriptor.labels][google.monitoring.v3.NotificationChannelDescriptor.labels] of the - // `NotificationChannelDescriptor` corresponding to the `type` field. - Labels map[string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // User-supplied key/value data that does not need to conform to - // the corresponding `NotificationChannelDescriptor`'s schema, unlike - // the `labels` field. This field is intended to be used for organizing - // and identifying the `NotificationChannel` objects. - // - // The field can contain up to 64 entries. Each key and value is limited to - // 63 Unicode characters or 128 bytes, whichever is smaller. Labels and - // values can contain only lowercase letters, numerals, underscores, and - // dashes. Keys must begin with a letter. - UserLabels map[string]string `protobuf:"bytes,8,rep,name=user_labels,json=userLabels,proto3" json:"user_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Indicates whether this channel has been verified or not. On a - // [`ListNotificationChannels`][google.monitoring.v3.NotificationChannelService.ListNotificationChannels] - // or - // [`GetNotificationChannel`][google.monitoring.v3.NotificationChannelService.GetNotificationChannel] - // operation, this field is expected to be populated. - // - // If the value is `UNVERIFIED`, then it indicates that the channel is - // non-functioning (it both requires verification and lacks verification); - // otherwise, it is assumed that the channel works. - // - // If the channel is neither `VERIFIED` nor `UNVERIFIED`, it implies that - // the channel is of a type that does not require verification or that - // this specific channel has been exempted from verification because it was - // created prior to verification being required for channels of this type. - // - // This field cannot be modified using a standard - // [`UpdateNotificationChannel`][google.monitoring.v3.NotificationChannelService.UpdateNotificationChannel] - // operation. To change the value of this field, you must call - // [`VerifyNotificationChannel`][google.monitoring.v3.NotificationChannelService.VerifyNotificationChannel]. - VerificationStatus NotificationChannel_VerificationStatus `protobuf:"varint,9,opt,name=verification_status,json=verificationStatus,proto3,enum=google.monitoring.v3.NotificationChannel_VerificationStatus" json:"verification_status,omitempty"` - // Whether notifications are forwarded to the described channel. This makes - // it possible to disable delivery of notifications to a particular channel - // without removing the channel from all alerting policies that reference - // the channel. This is a more convenient approach when the change is - // temporary and you want to receive notifications from the same set - // of alerting policies on the channel at some point in the future. - Enabled *wrappers.BoolValue `protobuf:"bytes,11,opt,name=enabled,proto3" json:"enabled,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_4399f1e4bc1a75ef, []int{1} -} - -func (m *NotificationChannel) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NotificationChannel.Unmarshal(m, b) -} -func (m *NotificationChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NotificationChannel.Marshal(b, m, deterministic) -} -func (m *NotificationChannel) XXX_Merge(src proto.Message) { - xxx_messageInfo_NotificationChannel.Merge(m, src) -} -func (m *NotificationChannel) XXX_Size() int { - return xxx_messageInfo_NotificationChannel.Size(m) -} -func (m *NotificationChannel) XXX_DiscardUnknown() { - xxx_messageInfo_NotificationChannel.DiscardUnknown(m) -} - -var xxx_messageInfo_NotificationChannel proto.InternalMessageInfo - -func (m *NotificationChannel) GetType() string { - if m != nil { - return m.Type - } - return "" -} - -func (m *NotificationChannel) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *NotificationChannel) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *NotificationChannel) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *NotificationChannel) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -func (m *NotificationChannel) GetUserLabels() map[string]string { - if m != nil { - return m.UserLabels - } - return nil -} - -func (m *NotificationChannel) GetVerificationStatus() NotificationChannel_VerificationStatus { - if m != nil { - return m.VerificationStatus - } - return NotificationChannel_VERIFICATION_STATUS_UNSPECIFIED -} - -func (m *NotificationChannel) GetEnabled() *wrappers.BoolValue { - if m != nil { - return m.Enabled - } - return nil -} - -func init() { - proto.RegisterEnum("google.monitoring.v3.NotificationChannel_VerificationStatus", NotificationChannel_VerificationStatus_name, NotificationChannel_VerificationStatus_value) - proto.RegisterType((*NotificationChannelDescriptor)(nil), "google.monitoring.v3.NotificationChannelDescriptor") - proto.RegisterType((*NotificationChannel)(nil), "google.monitoring.v3.NotificationChannel") - proto.RegisterMapType((map[string]string)(nil), "google.monitoring.v3.NotificationChannel.LabelsEntry") - proto.RegisterMapType((map[string]string)(nil), "google.monitoring.v3.NotificationChannel.UserLabelsEntry") -} - -func init() { - proto.RegisterFile("google/monitoring/v3/notification.proto", fileDescriptor_4399f1e4bc1a75ef) -} - -var fileDescriptor_4399f1e4bc1a75ef = []byte{ - // 592 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xdb, 0x6e, 0xd3, 0x40, - 0x10, 0x86, 0xb1, 0xd3, 0x94, 0x76, 0x5d, 0xa5, 0x65, 0x5b, 0x21, 0xcb, 0x08, 0x70, 0xcb,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, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xe7, 0xd2, 0x16, 0xc2, 0x0a, 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 deleted file mode 100644 index 447a7fd0..00000000 --- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/notification_service.pb.go +++ /dev/null @@ -1,1363 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/monitoring/v3/notification_service.proto - -package monitoring - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "github.com/golang/protobuf/ptypes/struct" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The `ListNotificationChannelDescriptors` request. -type ListNotificationChannelDescriptorsRequest struct { - // The REST resource name of the parent from which to retrieve - // the notification channel descriptors. The expected syntax is: - // - // projects/[PROJECT_ID] - // - // Note that this names the parent container in which to look for the - // descriptors; to retrieve a single descriptor by name, use the - // [GetNotificationChannelDescriptor][google.monitoring.v3.NotificationChannelService.GetNotificationChannelDescriptor] - // operation, instead. - Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` - // The maximum number of results to return in a single response. If - // not set to a positive number, a reasonable value will be chosen by the - // service. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // If non-empty, `page_token` must contain a value returned as the - // `next_page_token` in a previous response to request the next set - // 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 *ListNotificationChannelDescriptorsRequest) Reset() { - *m = ListNotificationChannelDescriptorsRequest{} -} -func (m *ListNotificationChannelDescriptorsRequest) String() string { return proto.CompactTextString(m) } -func (*ListNotificationChannelDescriptorsRequest) ProtoMessage() {} -func (*ListNotificationChannelDescriptorsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7e2bcd7194b305fe, []int{0} -} - -func (m *ListNotificationChannelDescriptorsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListNotificationChannelDescriptorsRequest.Unmarshal(m, b) -} -func (m *ListNotificationChannelDescriptorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListNotificationChannelDescriptorsRequest.Marshal(b, m, deterministic) -} -func (m *ListNotificationChannelDescriptorsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNotificationChannelDescriptorsRequest.Merge(m, src) -} -func (m *ListNotificationChannelDescriptorsRequest) XXX_Size() int { - return xxx_messageInfo_ListNotificationChannelDescriptorsRequest.Size(m) -} -func (m *ListNotificationChannelDescriptorsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListNotificationChannelDescriptorsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListNotificationChannelDescriptorsRequest proto.InternalMessageInfo - -func (m *ListNotificationChannelDescriptorsRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ListNotificationChannelDescriptorsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListNotificationChannelDescriptorsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// The `ListNotificationChannelDescriptors` response. -type ListNotificationChannelDescriptorsResponse struct { - // The monitored resource descriptors supported for the specified - // project, optionally filtered. - ChannelDescriptors []*NotificationChannelDescriptor `protobuf:"bytes,1,rep,name=channel_descriptors,json=channelDescriptors,proto3" json:"channel_descriptors,omitempty"` - // If not empty, indicates that there may be more results that match - // the request. Use the value in the `page_token` field in a - // subsequent request to fetch the next set of results. If empty, - // all results have been returned. - 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 *ListNotificationChannelDescriptorsResponse) Reset() { - *m = ListNotificationChannelDescriptorsResponse{} -} -func (m *ListNotificationChannelDescriptorsResponse) String() string { - return proto.CompactTextString(m) -} -func (*ListNotificationChannelDescriptorsResponse) ProtoMessage() {} -func (*ListNotificationChannelDescriptorsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7e2bcd7194b305fe, []int{1} -} - -func (m *ListNotificationChannelDescriptorsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListNotificationChannelDescriptorsResponse.Unmarshal(m, b) -} -func (m *ListNotificationChannelDescriptorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListNotificationChannelDescriptorsResponse.Marshal(b, m, deterministic) -} -func (m *ListNotificationChannelDescriptorsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNotificationChannelDescriptorsResponse.Merge(m, src) -} -func (m *ListNotificationChannelDescriptorsResponse) XXX_Size() int { - return xxx_messageInfo_ListNotificationChannelDescriptorsResponse.Size(m) -} -func (m *ListNotificationChannelDescriptorsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListNotificationChannelDescriptorsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListNotificationChannelDescriptorsResponse proto.InternalMessageInfo - -func (m *ListNotificationChannelDescriptorsResponse) GetChannelDescriptors() []*NotificationChannelDescriptor { - if m != nil { - return m.ChannelDescriptors - } - return nil -} - -func (m *ListNotificationChannelDescriptorsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The `GetNotificationChannelDescriptor` response. -type GetNotificationChannelDescriptorRequest struct { - // The channel type for which to execute the request. The format is - // `projects/[PROJECT_ID]/notificationChannelDescriptors/{channel_type}`. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetNotificationChannelDescriptorRequest) Reset() { - *m = GetNotificationChannelDescriptorRequest{} -} -func (m *GetNotificationChannelDescriptorRequest) String() string { return proto.CompactTextString(m) } -func (*GetNotificationChannelDescriptorRequest) ProtoMessage() {} -func (*GetNotificationChannelDescriptorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7e2bcd7194b305fe, []int{2} -} - -func (m *GetNotificationChannelDescriptorRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetNotificationChannelDescriptorRequest.Unmarshal(m, b) -} -func (m *GetNotificationChannelDescriptorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetNotificationChannelDescriptorRequest.Marshal(b, m, deterministic) -} -func (m *GetNotificationChannelDescriptorRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNotificationChannelDescriptorRequest.Merge(m, src) -} -func (m *GetNotificationChannelDescriptorRequest) XXX_Size() int { - return xxx_messageInfo_GetNotificationChannelDescriptorRequest.Size(m) -} -func (m *GetNotificationChannelDescriptorRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetNotificationChannelDescriptorRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetNotificationChannelDescriptorRequest proto.InternalMessageInfo - -func (m *GetNotificationChannelDescriptorRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The `CreateNotificationChannel` request. -type CreateNotificationChannelRequest struct { - // The project on which to execute the request. The format is: - // - // projects/[PROJECT_ID] - // - // Note that this names the container into which the channel will be - // written. This does not name the newly created channel. The resulting - // channel's name will have a normalized version of this field as a prefix, - // but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - // The definition of the `NotificationChannel` to create. - NotificationChannel *NotificationChannel `protobuf:"bytes,2,opt,name=notification_channel,json=notificationChannel,proto3" json:"notification_channel,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateNotificationChannelRequest) Reset() { *m = CreateNotificationChannelRequest{} } -func (m *CreateNotificationChannelRequest) String() string { return proto.CompactTextString(m) } -func (*CreateNotificationChannelRequest) ProtoMessage() {} -func (*CreateNotificationChannelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7e2bcd7194b305fe, []int{3} -} - -func (m *CreateNotificationChannelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateNotificationChannelRequest.Unmarshal(m, b) -} -func (m *CreateNotificationChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateNotificationChannelRequest.Marshal(b, m, deterministic) -} -func (m *CreateNotificationChannelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateNotificationChannelRequest.Merge(m, src) -} -func (m *CreateNotificationChannelRequest) XXX_Size() int { - return xxx_messageInfo_CreateNotificationChannelRequest.Size(m) -} -func (m *CreateNotificationChannelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateNotificationChannelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateNotificationChannelRequest proto.InternalMessageInfo - -func (m *CreateNotificationChannelRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *CreateNotificationChannelRequest) GetNotificationChannel() *NotificationChannel { - if m != nil { - return m.NotificationChannel - } - return nil -} - -// The `ListNotificationChannels` request. -type ListNotificationChannelsRequest struct { - // The project on which to execute the request. The format is - // `projects/[PROJECT_ID]`. That is, this names the container - // in which to look for the notification channels; it does not name a - // specific channel. To query a specific channel by REST resource name, use - // the - // [`GetNotificationChannel`][google.monitoring.v3.NotificationChannelService.GetNotificationChannel] - // operation. - Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` - // If provided, this field specifies the criteria that must be met by - // notification channels to be included in the response. - // - // For more details, see [sorting and - // filtering](/monitoring/api/v3/sorting-and-filtering). - Filter string `protobuf:"bytes,6,opt,name=filter,proto3" json:"filter,omitempty"` - // A comma-separated list of fields by which to sort the result. Supports - // the same set of fields as in `filter`. Entries can be prefixed with - // a minus sign to sort in descending rather than ascending order. - // - // For more details, see [sorting and - // filtering](/monitoring/api/v3/sorting-and-filtering). - OrderBy string `protobuf:"bytes,7,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` - // The maximum number of results to return in a single response. If - // not set to a positive number, a reasonable value will be chosen by the - // service. - PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // If non-empty, `page_token` must contain a value returned as the - // `next_page_token` in a previous response to request the next set - // 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 *ListNotificationChannelsRequest) Reset() { *m = ListNotificationChannelsRequest{} } -func (m *ListNotificationChannelsRequest) String() string { return proto.CompactTextString(m) } -func (*ListNotificationChannelsRequest) ProtoMessage() {} -func (*ListNotificationChannelsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7e2bcd7194b305fe, []int{4} -} - -func (m *ListNotificationChannelsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListNotificationChannelsRequest.Unmarshal(m, b) -} -func (m *ListNotificationChannelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListNotificationChannelsRequest.Marshal(b, m, deterministic) -} -func (m *ListNotificationChannelsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNotificationChannelsRequest.Merge(m, src) -} -func (m *ListNotificationChannelsRequest) XXX_Size() int { - return xxx_messageInfo_ListNotificationChannelsRequest.Size(m) -} -func (m *ListNotificationChannelsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListNotificationChannelsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListNotificationChannelsRequest proto.InternalMessageInfo - -func (m *ListNotificationChannelsRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ListNotificationChannelsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListNotificationChannelsRequest) GetOrderBy() string { - if m != nil { - return m.OrderBy - } - return "" -} - -func (m *ListNotificationChannelsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListNotificationChannelsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// The `ListNotificationChannels` response. -type ListNotificationChannelsResponse struct { - // The notification channels defined for the specified project. - NotificationChannels []*NotificationChannel `protobuf:"bytes,3,rep,name=notification_channels,json=notificationChannels,proto3" json:"notification_channels,omitempty"` - // If not empty, indicates that there may be more results that match - // the request. Use the value in the `page_token` field in a - // subsequent request to fetch the next set of results. If empty, - // all results have been returned. - 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 *ListNotificationChannelsResponse) Reset() { *m = ListNotificationChannelsResponse{} } -func (m *ListNotificationChannelsResponse) String() string { return proto.CompactTextString(m) } -func (*ListNotificationChannelsResponse) ProtoMessage() {} -func (*ListNotificationChannelsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7e2bcd7194b305fe, []int{5} -} - -func (m *ListNotificationChannelsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListNotificationChannelsResponse.Unmarshal(m, b) -} -func (m *ListNotificationChannelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListNotificationChannelsResponse.Marshal(b, m, deterministic) -} -func (m *ListNotificationChannelsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNotificationChannelsResponse.Merge(m, src) -} -func (m *ListNotificationChannelsResponse) XXX_Size() int { - return xxx_messageInfo_ListNotificationChannelsResponse.Size(m) -} -func (m *ListNotificationChannelsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListNotificationChannelsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListNotificationChannelsResponse proto.InternalMessageInfo - -func (m *ListNotificationChannelsResponse) GetNotificationChannels() []*NotificationChannel { - if m != nil { - return m.NotificationChannels - } - return nil -} - -func (m *ListNotificationChannelsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The `GetNotificationChannel` request. -type GetNotificationChannelRequest struct { - // The channel for which to execute the request. The format is - // `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetNotificationChannelRequest) Reset() { *m = GetNotificationChannelRequest{} } -func (m *GetNotificationChannelRequest) String() string { return proto.CompactTextString(m) } -func (*GetNotificationChannelRequest) ProtoMessage() {} -func (*GetNotificationChannelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7e2bcd7194b305fe, []int{6} -} - -func (m *GetNotificationChannelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetNotificationChannelRequest.Unmarshal(m, b) -} -func (m *GetNotificationChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetNotificationChannelRequest.Marshal(b, m, deterministic) -} -func (m *GetNotificationChannelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNotificationChannelRequest.Merge(m, src) -} -func (m *GetNotificationChannelRequest) XXX_Size() int { - return xxx_messageInfo_GetNotificationChannelRequest.Size(m) -} -func (m *GetNotificationChannelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetNotificationChannelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetNotificationChannelRequest proto.InternalMessageInfo - -func (m *GetNotificationChannelRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The `UpdateNotificationChannel` request. -type UpdateNotificationChannelRequest struct { - // The fields to update. - UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` - // A description of the changes to be applied to the specified - // notification channel. The description must provide a definition for - // fields to be updated; the names of these fields should also be - // included in the `update_mask`. - NotificationChannel *NotificationChannel `protobuf:"bytes,3,opt,name=notification_channel,json=notificationChannel,proto3" json:"notification_channel,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpdateNotificationChannelRequest) Reset() { *m = UpdateNotificationChannelRequest{} } -func (m *UpdateNotificationChannelRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateNotificationChannelRequest) ProtoMessage() {} -func (*UpdateNotificationChannelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7e2bcd7194b305fe, []int{7} -} - -func (m *UpdateNotificationChannelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateNotificationChannelRequest.Unmarshal(m, b) -} -func (m *UpdateNotificationChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateNotificationChannelRequest.Marshal(b, m, deterministic) -} -func (m *UpdateNotificationChannelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateNotificationChannelRequest.Merge(m, src) -} -func (m *UpdateNotificationChannelRequest) XXX_Size() int { - return xxx_messageInfo_UpdateNotificationChannelRequest.Size(m) -} -func (m *UpdateNotificationChannelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateNotificationChannelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateNotificationChannelRequest proto.InternalMessageInfo - -func (m *UpdateNotificationChannelRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -func (m *UpdateNotificationChannelRequest) GetNotificationChannel() *NotificationChannel { - if m != nil { - return m.NotificationChannel - } - return nil -} - -// The `DeleteNotificationChannel` request. -type DeleteNotificationChannelRequest struct { - // The channel for which to execute the request. The format is - // `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`. - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - // If true, the notification channel will be deleted regardless of its - // use in alert policies (the policies will be updated to remove the - // channel). If false, channels that are still referenced by an existing - // alerting policy will fail to be deleted in a delete operation. - Force bool `protobuf:"varint,5,opt,name=force,proto3" json:"force,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DeleteNotificationChannelRequest) Reset() { *m = DeleteNotificationChannelRequest{} } -func (m *DeleteNotificationChannelRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteNotificationChannelRequest) ProtoMessage() {} -func (*DeleteNotificationChannelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7e2bcd7194b305fe, []int{8} -} - -func (m *DeleteNotificationChannelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteNotificationChannelRequest.Unmarshal(m, b) -} -func (m *DeleteNotificationChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteNotificationChannelRequest.Marshal(b, m, deterministic) -} -func (m *DeleteNotificationChannelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteNotificationChannelRequest.Merge(m, src) -} -func (m *DeleteNotificationChannelRequest) XXX_Size() int { - return xxx_messageInfo_DeleteNotificationChannelRequest.Size(m) -} -func (m *DeleteNotificationChannelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteNotificationChannelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteNotificationChannelRequest proto.InternalMessageInfo - -func (m *DeleteNotificationChannelRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *DeleteNotificationChannelRequest) GetForce() bool { - if m != nil { - return m.Force - } - return false -} - -// The `SendNotificationChannelVerificationCode` request. -type SendNotificationChannelVerificationCodeRequest struct { - // The notification channel to which to send a verification code. - 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 *SendNotificationChannelVerificationCodeRequest) Reset() { - *m = SendNotificationChannelVerificationCodeRequest{} -} -func (m *SendNotificationChannelVerificationCodeRequest) String() string { - return proto.CompactTextString(m) -} -func (*SendNotificationChannelVerificationCodeRequest) ProtoMessage() {} -func (*SendNotificationChannelVerificationCodeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7e2bcd7194b305fe, []int{9} -} - -func (m *SendNotificationChannelVerificationCodeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SendNotificationChannelVerificationCodeRequest.Unmarshal(m, b) -} -func (m *SendNotificationChannelVerificationCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SendNotificationChannelVerificationCodeRequest.Marshal(b, m, deterministic) -} -func (m *SendNotificationChannelVerificationCodeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SendNotificationChannelVerificationCodeRequest.Merge(m, src) -} -func (m *SendNotificationChannelVerificationCodeRequest) XXX_Size() int { - return xxx_messageInfo_SendNotificationChannelVerificationCodeRequest.Size(m) -} -func (m *SendNotificationChannelVerificationCodeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SendNotificationChannelVerificationCodeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SendNotificationChannelVerificationCodeRequest proto.InternalMessageInfo - -func (m *SendNotificationChannelVerificationCodeRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The `GetNotificationChannelVerificationCode` request. -type GetNotificationChannelVerificationCodeRequest struct { - // The notification channel for which a verification code is to be generated - // and retrieved. This must name a channel that is already verified; if - // the specified channel is not verified, the request will fail. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The desired expiration time. If specified, the API will guarantee that - // the returned code will not be valid after the specified timestamp; - // however, the API cannot guarantee that the returned code will be - // valid for at least as long as the requested time (the API puts an upper - // bound on the amount of time for which a code may be valid). If omitted, - // a default expiration will be used, which may be less than the max - // permissible expiration (so specifying an expiration may extend the - // code's lifetime over omitting an expiration, even though the API does - // impose an upper limit on the maximum expiration that is permitted). - 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 *GetNotificationChannelVerificationCodeRequest) Reset() { - *m = GetNotificationChannelVerificationCodeRequest{} -} -func (m *GetNotificationChannelVerificationCodeRequest) String() string { - return proto.CompactTextString(m) -} -func (*GetNotificationChannelVerificationCodeRequest) ProtoMessage() {} -func (*GetNotificationChannelVerificationCodeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7e2bcd7194b305fe, []int{10} -} - -func (m *GetNotificationChannelVerificationCodeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetNotificationChannelVerificationCodeRequest.Unmarshal(m, b) -} -func (m *GetNotificationChannelVerificationCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetNotificationChannelVerificationCodeRequest.Marshal(b, m, deterministic) -} -func (m *GetNotificationChannelVerificationCodeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNotificationChannelVerificationCodeRequest.Merge(m, src) -} -func (m *GetNotificationChannelVerificationCodeRequest) XXX_Size() int { - return xxx_messageInfo_GetNotificationChannelVerificationCodeRequest.Size(m) -} -func (m *GetNotificationChannelVerificationCodeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetNotificationChannelVerificationCodeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetNotificationChannelVerificationCodeRequest proto.InternalMessageInfo - -func (m *GetNotificationChannelVerificationCodeRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *GetNotificationChannelVerificationCodeRequest) GetExpireTime() *timestamp.Timestamp { - if m != nil { - return m.ExpireTime - } - return nil -} - -// The `GetNotificationChannelVerificationCode` request. -type GetNotificationChannelVerificationCodeResponse struct { - // The verification code, which may be used to verify other channels - // that have an equivalent identity (i.e. other channels of the same - // type with the same fingerprint such as other email channels with - // the same email address or other sms channels with the same number). - Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` - // The expiration time associated with the code that was returned. If - // an expiration was provided in the request, this is the minimum of the - // requested expiration in the request and the max permitted expiration. - 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 *GetNotificationChannelVerificationCodeResponse) Reset() { - *m = GetNotificationChannelVerificationCodeResponse{} -} -func (m *GetNotificationChannelVerificationCodeResponse) String() string { - return proto.CompactTextString(m) -} -func (*GetNotificationChannelVerificationCodeResponse) ProtoMessage() {} -func (*GetNotificationChannelVerificationCodeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7e2bcd7194b305fe, []int{11} -} - -func (m *GetNotificationChannelVerificationCodeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetNotificationChannelVerificationCodeResponse.Unmarshal(m, b) -} -func (m *GetNotificationChannelVerificationCodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetNotificationChannelVerificationCodeResponse.Marshal(b, m, deterministic) -} -func (m *GetNotificationChannelVerificationCodeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNotificationChannelVerificationCodeResponse.Merge(m, src) -} -func (m *GetNotificationChannelVerificationCodeResponse) XXX_Size() int { - return xxx_messageInfo_GetNotificationChannelVerificationCodeResponse.Size(m) -} -func (m *GetNotificationChannelVerificationCodeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetNotificationChannelVerificationCodeResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GetNotificationChannelVerificationCodeResponse proto.InternalMessageInfo - -func (m *GetNotificationChannelVerificationCodeResponse) GetCode() string { - if m != nil { - return m.Code - } - return "" -} - -func (m *GetNotificationChannelVerificationCodeResponse) GetExpireTime() *timestamp.Timestamp { - if m != nil { - return m.ExpireTime - } - return nil -} - -// The `VerifyNotificationChannel` request. -type VerifyNotificationChannelRequest struct { - // The notification channel to verify. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The verification code that was delivered to the channel as - // a result of invoking the `SendNotificationChannelVerificationCode` API - // method or that was retrieved from a verified channel via - // `GetNotificationChannelVerificationCode`. For example, one might have - // "G-123456" or "TKNZGhhd2EyN3I1MnRnMjRv" (in general, one is only - // guaranteed that the code is valid UTF-8; one should not - // make any assumptions regarding the structure or format of the code). - Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *VerifyNotificationChannelRequest) Reset() { *m = VerifyNotificationChannelRequest{} } -func (m *VerifyNotificationChannelRequest) String() string { return proto.CompactTextString(m) } -func (*VerifyNotificationChannelRequest) ProtoMessage() {} -func (*VerifyNotificationChannelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7e2bcd7194b305fe, []int{12} -} - -func (m *VerifyNotificationChannelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VerifyNotificationChannelRequest.Unmarshal(m, b) -} -func (m *VerifyNotificationChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VerifyNotificationChannelRequest.Marshal(b, m, deterministic) -} -func (m *VerifyNotificationChannelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_VerifyNotificationChannelRequest.Merge(m, src) -} -func (m *VerifyNotificationChannelRequest) XXX_Size() int { - return xxx_messageInfo_VerifyNotificationChannelRequest.Size(m) -} -func (m *VerifyNotificationChannelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_VerifyNotificationChannelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_VerifyNotificationChannelRequest proto.InternalMessageInfo - -func (m *VerifyNotificationChannelRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *VerifyNotificationChannelRequest) GetCode() string { - if m != nil { - return m.Code - } - return "" -} - -func init() { - proto.RegisterType((*ListNotificationChannelDescriptorsRequest)(nil), "google.monitoring.v3.ListNotificationChannelDescriptorsRequest") - proto.RegisterType((*ListNotificationChannelDescriptorsResponse)(nil), "google.monitoring.v3.ListNotificationChannelDescriptorsResponse") - proto.RegisterType((*GetNotificationChannelDescriptorRequest)(nil), "google.monitoring.v3.GetNotificationChannelDescriptorRequest") - proto.RegisterType((*CreateNotificationChannelRequest)(nil), "google.monitoring.v3.CreateNotificationChannelRequest") - proto.RegisterType((*ListNotificationChannelsRequest)(nil), "google.monitoring.v3.ListNotificationChannelsRequest") - proto.RegisterType((*ListNotificationChannelsResponse)(nil), "google.monitoring.v3.ListNotificationChannelsResponse") - proto.RegisterType((*GetNotificationChannelRequest)(nil), "google.monitoring.v3.GetNotificationChannelRequest") - proto.RegisterType((*UpdateNotificationChannelRequest)(nil), "google.monitoring.v3.UpdateNotificationChannelRequest") - proto.RegisterType((*DeleteNotificationChannelRequest)(nil), "google.monitoring.v3.DeleteNotificationChannelRequest") - proto.RegisterType((*SendNotificationChannelVerificationCodeRequest)(nil), "google.monitoring.v3.SendNotificationChannelVerificationCodeRequest") - proto.RegisterType((*GetNotificationChannelVerificationCodeRequest)(nil), "google.monitoring.v3.GetNotificationChannelVerificationCodeRequest") - proto.RegisterType((*GetNotificationChannelVerificationCodeResponse)(nil), "google.monitoring.v3.GetNotificationChannelVerificationCodeResponse") - proto.RegisterType((*VerifyNotificationChannelRequest)(nil), "google.monitoring.v3.VerifyNotificationChannelRequest") -} - -func init() { - proto.RegisterFile("google/monitoring/v3/notification_service.proto", fileDescriptor_7e2bcd7194b305fe) -} - -var fileDescriptor_7e2bcd7194b305fe = []byte{ - // 1087 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0x41, 0x6f, 0x1b, 0x45, - 0x14, 0xd6, 0xd8, 0x49, 0x9a, 0xbe, 0x08, 0x21, 0xa6, 0x21, 0xac, 0xdd, 0x56, 0x5d, 0xed, 0xa1, - 0x49, 0xad, 0x74, 0x57, 0xb2, 0x4b, 0x84, 0x5c, 0x52, 0x9a, 0xc4, 0x6d, 0x11, 0xa4, 0x28, 0x72, - 0x4a, 0x24, 0x50, 0x84, 0xb5, 0xd9, 0x1d, 0x3b, 0x4b, 0xec, 0x99, 0x65, 0x67, 0x9c, 0x34, 0xad, - 0x2a, 0x15, 0x6e, 0x9c, 0xe1, 0x0f, 0x20, 0x71, 0xa1, 0x07, 0xc4, 0x19, 0xa9, 0x9c, 0x51, 0x8f, - 0x20, 0xb8, 0x72, 0x01, 0xf1, 0x37, 0xd0, 0xce, 0x8e, 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7f, 0x42, 0xa0, 0x39, 0xac, 0x97, 0x48, 0xce, 0xba, 0x36, - 0xcc, 0x8e, 0xfa, 0xf8, 0xd9, 0x0a, 0xd5, 0xbf, 0x85, 0x3e, 0xbd, 0xa5, 0x4e, 0x74, 0x58, 0xd7, - 0xa6, 0x1d, 0x93, 0x05, 0x1d, 0xab, 0x43, 0xa8, 0x7c, 0x37, 0xac, 0x38, 0xf1, 0xe9, 0x7f, 0x10, - 0x6e, 0xc6, 0xab, 0x67, 0x85, 0xf2, 0xbd, 0x28, 0xc0, 0x46, 0x58, 0xab, 0x79, 0x3f, 0x4e, 0xbc, - 0x53, 0x7b, 0x31, 0x30, 0xee, 0x4a, 0xe3, 0x6e, 0x6c, 0xdc, 0xdd, 0xa9, 0xed, 0xcd, 0xc8, 0x24, - 0xb5, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0xfe, 0xe6, 0xcc, 0x63, 0x0a, 0x11, 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 - -// NotificationChannelServiceClient is the client API for NotificationChannelService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type NotificationChannelServiceClient interface { - // Lists the descriptors for supported channel types. The use of descriptors - // makes it possible for new channel types to be dynamically added. - ListNotificationChannelDescriptors(ctx context.Context, in *ListNotificationChannelDescriptorsRequest, opts ...grpc.CallOption) (*ListNotificationChannelDescriptorsResponse, error) - // Gets a single channel descriptor. The descriptor indicates which fields - // are expected / permitted for a notification channel of the given type. - GetNotificationChannelDescriptor(ctx context.Context, in *GetNotificationChannelDescriptorRequest, opts ...grpc.CallOption) (*NotificationChannelDescriptor, error) - // Lists the notification channels that have been created for the project. - ListNotificationChannels(ctx context.Context, in *ListNotificationChannelsRequest, opts ...grpc.CallOption) (*ListNotificationChannelsResponse, error) - // Gets a single notification channel. The channel includes the relevant - // configuration details with which the channel was created. However, the - // response may truncate or omit passwords, API keys, or other private key - // matter and thus the response may not be 100% identical to the information - // 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. - CreateNotificationChannel(ctx context.Context, in *CreateNotificationChannelRequest, opts ...grpc.CallOption) (*NotificationChannel, error) - // Updates a notification channel. Fields not specified in the field mask - // remain unchanged. - UpdateNotificationChannel(ctx context.Context, in *UpdateNotificationChannelRequest, opts ...grpc.CallOption) (*NotificationChannel, error) - // Deletes a notification channel. - DeleteNotificationChannel(ctx context.Context, in *DeleteNotificationChannelRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Causes a verification code to be delivered to the channel. The code - // can then be supplied in `VerifyNotificationChannel` to verify the channel. - SendNotificationChannelVerificationCode(ctx context.Context, in *SendNotificationChannelVerificationCodeRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Requests a verification code for an already verified channel that can then - // be used in a call to VerifyNotificationChannel() on a different channel - // with an equivalent identity in the same or in a different project. This - // makes it possible to copy a channel between projects without requiring - // manual reverification of the channel. If the channel is not in the - // verified state, this method will fail (in other words, this may only be - // used if the SendNotificationChannelVerificationCode and - // VerifyNotificationChannel paths have already been used to put the given - // channel into the verified state). - // - // There is no guarantee that the verification codes returned by this method - // will be of a similar structure or form as the ones that are delivered - // to the channel via SendNotificationChannelVerificationCode; while - // VerifyNotificationChannel() will recognize both the codes delivered via - // SendNotificationChannelVerificationCode() and returned from - // GetNotificationChannelVerificationCode(), it is typically the case that - // the verification codes delivered via - // SendNotificationChannelVerificationCode() will be shorter and also - // have a shorter expiration (e.g. codes such as "G-123456") whereas - // GetVerificationCode() will typically return a much longer, websafe base - // 64 encoded string that has a longer expiration time. - GetNotificationChannelVerificationCode(ctx context.Context, in *GetNotificationChannelVerificationCodeRequest, opts ...grpc.CallOption) (*GetNotificationChannelVerificationCodeResponse, error) - // Verifies a `NotificationChannel` by proving receipt of the code - // delivered to the channel as a result of calling - // `SendNotificationChannelVerificationCode`. - VerifyNotificationChannel(ctx context.Context, in *VerifyNotificationChannelRequest, opts ...grpc.CallOption) (*NotificationChannel, error) -} - -type notificationChannelServiceClient struct { - cc *grpc.ClientConn -} - -func NewNotificationChannelServiceClient(cc *grpc.ClientConn) NotificationChannelServiceClient { - return ¬ificationChannelServiceClient{cc} -} - -func (c *notificationChannelServiceClient) ListNotificationChannelDescriptors(ctx context.Context, in *ListNotificationChannelDescriptorsRequest, opts ...grpc.CallOption) (*ListNotificationChannelDescriptorsResponse, error) { - out := new(ListNotificationChannelDescriptorsResponse) - err := c.cc.Invoke(ctx, "/google.monitoring.v3.NotificationChannelService/ListNotificationChannelDescriptors", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *notificationChannelServiceClient) GetNotificationChannelDescriptor(ctx context.Context, in *GetNotificationChannelDescriptorRequest, opts ...grpc.CallOption) (*NotificationChannelDescriptor, error) { - out := new(NotificationChannelDescriptor) - err := c.cc.Invoke(ctx, "/google.monitoring.v3.NotificationChannelService/GetNotificationChannelDescriptor", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *notificationChannelServiceClient) ListNotificationChannels(ctx context.Context, in *ListNotificationChannelsRequest, opts ...grpc.CallOption) (*ListNotificationChannelsResponse, error) { - out := new(ListNotificationChannelsResponse) - err := c.cc.Invoke(ctx, "/google.monitoring.v3.NotificationChannelService/ListNotificationChannels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *notificationChannelServiceClient) GetNotificationChannel(ctx context.Context, in *GetNotificationChannelRequest, opts ...grpc.CallOption) (*NotificationChannel, error) { - out := new(NotificationChannel) - err := c.cc.Invoke(ctx, "/google.monitoring.v3.NotificationChannelService/GetNotificationChannel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *notificationChannelServiceClient) CreateNotificationChannel(ctx context.Context, in *CreateNotificationChannelRequest, opts ...grpc.CallOption) (*NotificationChannel, error) { - out := new(NotificationChannel) - err := c.cc.Invoke(ctx, "/google.monitoring.v3.NotificationChannelService/CreateNotificationChannel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *notificationChannelServiceClient) UpdateNotificationChannel(ctx context.Context, in *UpdateNotificationChannelRequest, opts ...grpc.CallOption) (*NotificationChannel, error) { - out := new(NotificationChannel) - err := c.cc.Invoke(ctx, "/google.monitoring.v3.NotificationChannelService/UpdateNotificationChannel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *notificationChannelServiceClient) DeleteNotificationChannel(ctx context.Context, in *DeleteNotificationChannelRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.monitoring.v3.NotificationChannelService/DeleteNotificationChannel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *notificationChannelServiceClient) SendNotificationChannelVerificationCode(ctx context.Context, in *SendNotificationChannelVerificationCodeRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.monitoring.v3.NotificationChannelService/SendNotificationChannelVerificationCode", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *notificationChannelServiceClient) GetNotificationChannelVerificationCode(ctx context.Context, in *GetNotificationChannelVerificationCodeRequest, opts ...grpc.CallOption) (*GetNotificationChannelVerificationCodeResponse, error) { - out := new(GetNotificationChannelVerificationCodeResponse) - err := c.cc.Invoke(ctx, "/google.monitoring.v3.NotificationChannelService/GetNotificationChannelVerificationCode", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *notificationChannelServiceClient) VerifyNotificationChannel(ctx context.Context, in *VerifyNotificationChannelRequest, opts ...grpc.CallOption) (*NotificationChannel, error) { - out := new(NotificationChannel) - err := c.cc.Invoke(ctx, "/google.monitoring.v3.NotificationChannelService/VerifyNotificationChannel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// NotificationChannelServiceServer is the server API for NotificationChannelService service. -type NotificationChannelServiceServer interface { - // Lists the descriptors for supported channel types. The use of descriptors - // makes it possible for new channel types to be dynamically added. - ListNotificationChannelDescriptors(context.Context, *ListNotificationChannelDescriptorsRequest) (*ListNotificationChannelDescriptorsResponse, error) - // Gets a single channel descriptor. The descriptor indicates which fields - // are expected / permitted for a notification channel of the given type. - GetNotificationChannelDescriptor(context.Context, *GetNotificationChannelDescriptorRequest) (*NotificationChannelDescriptor, error) - // Lists the notification channels that have been created for the project. - ListNotificationChannels(context.Context, *ListNotificationChannelsRequest) (*ListNotificationChannelsResponse, error) - // Gets a single notification channel. The channel includes the relevant - // configuration details with which the channel was created. However, the - // response may truncate or omit passwords, API keys, or other private key - // matter and thus the response may not be 100% identical to the information - // 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. - CreateNotificationChannel(context.Context, *CreateNotificationChannelRequest) (*NotificationChannel, error) - // Updates a notification channel. Fields not specified in the field mask - // remain unchanged. - UpdateNotificationChannel(context.Context, *UpdateNotificationChannelRequest) (*NotificationChannel, error) - // Deletes a notification channel. - DeleteNotificationChannel(context.Context, *DeleteNotificationChannelRequest) (*empty.Empty, error) - // Causes a verification code to be delivered to the channel. The code - // can then be supplied in `VerifyNotificationChannel` to verify the channel. - SendNotificationChannelVerificationCode(context.Context, *SendNotificationChannelVerificationCodeRequest) (*empty.Empty, error) - // Requests a verification code for an already verified channel that can then - // be used in a call to VerifyNotificationChannel() on a different channel - // with an equivalent identity in the same or in a different project. This - // makes it possible to copy a channel between projects without requiring - // manual reverification of the channel. If the channel is not in the - // verified state, this method will fail (in other words, this may only be - // used if the SendNotificationChannelVerificationCode and - // VerifyNotificationChannel paths have already been used to put the given - // channel into the verified state). - // - // There is no guarantee that the verification codes returned by this method - // will be of a similar structure or form as the ones that are delivered - // to the channel via SendNotificationChannelVerificationCode; while - // VerifyNotificationChannel() will recognize both the codes delivered via - // SendNotificationChannelVerificationCode() and returned from - // GetNotificationChannelVerificationCode(), it is typically the case that - // the verification codes delivered via - // SendNotificationChannelVerificationCode() will be shorter and also - // have a shorter expiration (e.g. codes such as "G-123456") whereas - // GetVerificationCode() will typically return a much longer, websafe base - // 64 encoded string that has a longer expiration time. - GetNotificationChannelVerificationCode(context.Context, *GetNotificationChannelVerificationCodeRequest) (*GetNotificationChannelVerificationCodeResponse, error) - // Verifies a `NotificationChannel` by proving receipt of the code - // delivered to the channel as a result of calling - // `SendNotificationChannelVerificationCode`. - VerifyNotificationChannel(context.Context, *VerifyNotificationChannelRequest) (*NotificationChannel, error) -} - -// UnimplementedNotificationChannelServiceServer can be embedded to have forward compatible implementations. -type UnimplementedNotificationChannelServiceServer struct { -} - -func (*UnimplementedNotificationChannelServiceServer) ListNotificationChannelDescriptors(ctx context.Context, req *ListNotificationChannelDescriptorsRequest) (*ListNotificationChannelDescriptorsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListNotificationChannelDescriptors not implemented") -} -func (*UnimplementedNotificationChannelServiceServer) GetNotificationChannelDescriptor(ctx context.Context, req *GetNotificationChannelDescriptorRequest) (*NotificationChannelDescriptor, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNotificationChannelDescriptor not implemented") -} -func (*UnimplementedNotificationChannelServiceServer) ListNotificationChannels(ctx context.Context, req *ListNotificationChannelsRequest) (*ListNotificationChannelsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListNotificationChannels not implemented") -} -func (*UnimplementedNotificationChannelServiceServer) GetNotificationChannel(ctx context.Context, req *GetNotificationChannelRequest) (*NotificationChannel, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNotificationChannel not implemented") -} -func (*UnimplementedNotificationChannelServiceServer) CreateNotificationChannel(ctx context.Context, req *CreateNotificationChannelRequest) (*NotificationChannel, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateNotificationChannel not implemented") -} -func (*UnimplementedNotificationChannelServiceServer) UpdateNotificationChannel(ctx context.Context, req *UpdateNotificationChannelRequest) (*NotificationChannel, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateNotificationChannel not implemented") -} -func (*UnimplementedNotificationChannelServiceServer) DeleteNotificationChannel(ctx context.Context, req *DeleteNotificationChannelRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteNotificationChannel not implemented") -} -func (*UnimplementedNotificationChannelServiceServer) SendNotificationChannelVerificationCode(ctx context.Context, req *SendNotificationChannelVerificationCodeRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method SendNotificationChannelVerificationCode not implemented") -} -func (*UnimplementedNotificationChannelServiceServer) GetNotificationChannelVerificationCode(ctx context.Context, req *GetNotificationChannelVerificationCodeRequest) (*GetNotificationChannelVerificationCodeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNotificationChannelVerificationCode not implemented") -} -func (*UnimplementedNotificationChannelServiceServer) VerifyNotificationChannel(ctx context.Context, req *VerifyNotificationChannelRequest) (*NotificationChannel, error) { - return nil, status.Errorf(codes.Unimplemented, "method VerifyNotificationChannel not implemented") -} - -func RegisterNotificationChannelServiceServer(s *grpc.Server, srv NotificationChannelServiceServer) { - s.RegisterService(&_NotificationChannelService_serviceDesc, srv) -} - -func _NotificationChannelService_ListNotificationChannelDescriptors_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListNotificationChannelDescriptorsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NotificationChannelServiceServer).ListNotificationChannelDescriptors(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.monitoring.v3.NotificationChannelService/ListNotificationChannelDescriptors", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NotificationChannelServiceServer).ListNotificationChannelDescriptors(ctx, req.(*ListNotificationChannelDescriptorsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NotificationChannelService_GetNotificationChannelDescriptor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetNotificationChannelDescriptorRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NotificationChannelServiceServer).GetNotificationChannelDescriptor(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.monitoring.v3.NotificationChannelService/GetNotificationChannelDescriptor", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NotificationChannelServiceServer).GetNotificationChannelDescriptor(ctx, req.(*GetNotificationChannelDescriptorRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NotificationChannelService_ListNotificationChannels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListNotificationChannelsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NotificationChannelServiceServer).ListNotificationChannels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.monitoring.v3.NotificationChannelService/ListNotificationChannels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NotificationChannelServiceServer).ListNotificationChannels(ctx, req.(*ListNotificationChannelsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NotificationChannelService_GetNotificationChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetNotificationChannelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NotificationChannelServiceServer).GetNotificationChannel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.monitoring.v3.NotificationChannelService/GetNotificationChannel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NotificationChannelServiceServer).GetNotificationChannel(ctx, req.(*GetNotificationChannelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NotificationChannelService_CreateNotificationChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateNotificationChannelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NotificationChannelServiceServer).CreateNotificationChannel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.monitoring.v3.NotificationChannelService/CreateNotificationChannel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NotificationChannelServiceServer).CreateNotificationChannel(ctx, req.(*CreateNotificationChannelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NotificationChannelService_UpdateNotificationChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateNotificationChannelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NotificationChannelServiceServer).UpdateNotificationChannel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.monitoring.v3.NotificationChannelService/UpdateNotificationChannel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NotificationChannelServiceServer).UpdateNotificationChannel(ctx, req.(*UpdateNotificationChannelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NotificationChannelService_DeleteNotificationChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteNotificationChannelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NotificationChannelServiceServer).DeleteNotificationChannel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.monitoring.v3.NotificationChannelService/DeleteNotificationChannel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NotificationChannelServiceServer).DeleteNotificationChannel(ctx, req.(*DeleteNotificationChannelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NotificationChannelService_SendNotificationChannelVerificationCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SendNotificationChannelVerificationCodeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NotificationChannelServiceServer).SendNotificationChannelVerificationCode(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.monitoring.v3.NotificationChannelService/SendNotificationChannelVerificationCode", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NotificationChannelServiceServer).SendNotificationChannelVerificationCode(ctx, req.(*SendNotificationChannelVerificationCodeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NotificationChannelService_GetNotificationChannelVerificationCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetNotificationChannelVerificationCodeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NotificationChannelServiceServer).GetNotificationChannelVerificationCode(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.monitoring.v3.NotificationChannelService/GetNotificationChannelVerificationCode", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NotificationChannelServiceServer).GetNotificationChannelVerificationCode(ctx, req.(*GetNotificationChannelVerificationCodeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NotificationChannelService_VerifyNotificationChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(VerifyNotificationChannelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NotificationChannelServiceServer).VerifyNotificationChannel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.monitoring.v3.NotificationChannelService/VerifyNotificationChannel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NotificationChannelServiceServer).VerifyNotificationChannel(ctx, req.(*VerifyNotificationChannelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _NotificationChannelService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.monitoring.v3.NotificationChannelService", - HandlerType: (*NotificationChannelServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListNotificationChannelDescriptors", - Handler: _NotificationChannelService_ListNotificationChannelDescriptors_Handler, - }, - { - MethodName: "GetNotificationChannelDescriptor", - Handler: _NotificationChannelService_GetNotificationChannelDescriptor_Handler, - }, - { - MethodName: "ListNotificationChannels", - Handler: _NotificationChannelService_ListNotificationChannels_Handler, - }, - { - MethodName: "GetNotificationChannel", - Handler: _NotificationChannelService_GetNotificationChannel_Handler, - }, - { - MethodName: "CreateNotificationChannel", - Handler: _NotificationChannelService_CreateNotificationChannel_Handler, - }, - { - MethodName: "UpdateNotificationChannel", - Handler: _NotificationChannelService_UpdateNotificationChannel_Handler, - }, - { - MethodName: "DeleteNotificationChannel", - Handler: _NotificationChannelService_DeleteNotificationChannel_Handler, - }, - { - MethodName: "SendNotificationChannelVerificationCode", - Handler: _NotificationChannelService_SendNotificationChannelVerificationCode_Handler, - }, - { - MethodName: "GetNotificationChannelVerificationCode", - Handler: _NotificationChannelService_GetNotificationChannelVerificationCode_Handler, - }, - { - MethodName: "VerifyNotificationChannel", - Handler: _NotificationChannelService_VerifyNotificationChannel_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/monitoring/v3/notification_service.proto", -} 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 deleted file mode 100644 index 8ba8246b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/span_context.pb.go +++ /dev/null @@ -1,100 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/monitoring/v3/span_context.proto - -package monitoring - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // 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_933032e252f1c5e4, []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 (m *SpanContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpanContext.Merge(m, 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_933032e252f1c5e4) -} - -var fileDescriptor_933032e252f1c5e4 = []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 deleted file mode 100644 index 840f7203..00000000 --- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/uptime.pb.go +++ /dev/null @@ -1,994 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/monitoring/v3/uptime.proto - -package monitoring - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - monitoredres "google.golang.org/genproto/googleapis/api/monitoredres" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// The regions from which an Uptime check can be run. -type UptimeCheckRegion int32 - -const ( - // Default value if no region is specified. Will result in Uptime checks - // running from all regions. - UptimeCheckRegion_REGION_UNSPECIFIED UptimeCheckRegion = 0 - // Allows checks to run from locations within the United States of America. - UptimeCheckRegion_USA UptimeCheckRegion = 1 - // Allows checks to run from locations within the continent of Europe. - UptimeCheckRegion_EUROPE UptimeCheckRegion = 2 - // Allows checks to run from locations within the continent of South - // America. - UptimeCheckRegion_SOUTH_AMERICA UptimeCheckRegion = 3 - // Allows checks to run from locations within the Asia Pacific area (ex: - // Singapore). - UptimeCheckRegion_ASIA_PACIFIC UptimeCheckRegion = 4 -) - -var UptimeCheckRegion_name = map[int32]string{ - 0: "REGION_UNSPECIFIED", - 1: "USA", - 2: "EUROPE", - 3: "SOUTH_AMERICA", - 4: "ASIA_PACIFIC", -} - -var UptimeCheckRegion_value = map[string]int32{ - "REGION_UNSPECIFIED": 0, - "USA": 1, - "EUROPE": 2, - "SOUTH_AMERICA": 3, - "ASIA_PACIFIC": 4, -} - -func (x UptimeCheckRegion) String() string { - return proto.EnumName(UptimeCheckRegion_name, int32(x)) -} - -func (UptimeCheckRegion) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7ca0e36dfc8221d8, []int{0} -} - -// The supported resource types that can be used as values of -// `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 from Google Cloud Platform (GCP) or - // Amazon Web Services (AWS). - GroupResourceType_INSTANCE GroupResourceType = 1 - // A group of Amazon ELB load balancers. - GroupResourceType_AWS_ELB_LOAD_BALANCER GroupResourceType = 2 -) - -var GroupResourceType_name = map[int32]string{ - 0: "RESOURCE_TYPE_UNSPECIFIED", - 1: "INSTANCE", - 2: "AWS_ELB_LOAD_BALANCER", -} - -var GroupResourceType_value = map[string]int32{ - "RESOURCE_TYPE_UNSPECIFIED": 0, - "INSTANCE": 1, - "AWS_ELB_LOAD_BALANCER": 2, -} - -func (x GroupResourceType) String() string { - return proto.EnumName(GroupResourceType_name, int32(x)) -} - -func (GroupResourceType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7ca0e36dfc8221d8, []int{1} -} - -// Operational states for an internal checker. -type InternalChecker_State int32 - -const ( - // An internal checker should never be in the unspecified state. - InternalChecker_UNSPECIFIED InternalChecker_State = 0 - // The checker is being created, provisioned, and configured. A checker in - // this state can be returned by `ListInternalCheckers` or - // `GetInternalChecker`, as well as by examining the [long running - // Operation](https://cloud.google.com/apis/design/design_patterns#long_running_operations) - // that created it. - InternalChecker_CREATING InternalChecker_State = 1 - // The checker is running and available for use. A checker in this state - // can be returned by `ListInternalCheckers` or `GetInternalChecker` as - // well as by examining the [long running - // Operation](https://cloud.google.com/apis/design/design_patterns#long_running_operations) - // that created it. - // If a checker is being torn down, it is neither visible nor usable, so - // there is no "deleting" or "down" state. - InternalChecker_RUNNING InternalChecker_State = 2 -) - -var InternalChecker_State_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "CREATING", - 2: "RUNNING", -} - -var InternalChecker_State_value = map[string]int32{ - "UNSPECIFIED": 0, - "CREATING": 1, - "RUNNING": 2, -} - -func (x InternalChecker_State) String() string { - return proto.EnumName(InternalChecker_State_name, int32(x)) -} - -func (InternalChecker_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7ca0e36dfc8221d8, []int{0, 0} -} - -// Options to perform content matching. -type UptimeCheckConfig_ContentMatcher_ContentMatcherOption int32 - -const ( - // No content matcher type specified (maintained for backward - // compatibility, but deprecated for future use). - // Treated as `CONTAINS_STRING`. - UptimeCheckConfig_ContentMatcher_CONTENT_MATCHER_OPTION_UNSPECIFIED UptimeCheckConfig_ContentMatcher_ContentMatcherOption = 0 - // Selects substring matching (there is a match if the output contains - // the `content` string). This is the default value for checks without - // a `matcher` option, or where the value of `matcher` is - // `CONTENT_MATCHER_OPTION_UNSPECIFIED`. - UptimeCheckConfig_ContentMatcher_CONTAINS_STRING UptimeCheckConfig_ContentMatcher_ContentMatcherOption = 1 - // Selects negation of substring matching (there is a match if the output - // does NOT contain the `content` string). - UptimeCheckConfig_ContentMatcher_NOT_CONTAINS_STRING UptimeCheckConfig_ContentMatcher_ContentMatcherOption = 2 - // Selects regular expression matching (there is a match of the output - // matches the regular expression specified in the `content` string). - UptimeCheckConfig_ContentMatcher_MATCHES_REGEX UptimeCheckConfig_ContentMatcher_ContentMatcherOption = 3 - // Selects negation of regular expression matching (there is a match if - // the output does NOT match the regular expression specified in the - // `content` string). - UptimeCheckConfig_ContentMatcher_NOT_MATCHES_REGEX UptimeCheckConfig_ContentMatcher_ContentMatcherOption = 4 -) - -var UptimeCheckConfig_ContentMatcher_ContentMatcherOption_name = map[int32]string{ - 0: "CONTENT_MATCHER_OPTION_UNSPECIFIED", - 1: "CONTAINS_STRING", - 2: "NOT_CONTAINS_STRING", - 3: "MATCHES_REGEX", - 4: "NOT_MATCHES_REGEX", -} - -var UptimeCheckConfig_ContentMatcher_ContentMatcherOption_value = map[string]int32{ - "CONTENT_MATCHER_OPTION_UNSPECIFIED": 0, - "CONTAINS_STRING": 1, - "NOT_CONTAINS_STRING": 2, - "MATCHES_REGEX": 3, - "NOT_MATCHES_REGEX": 4, -} - -func (x UptimeCheckConfig_ContentMatcher_ContentMatcherOption) String() string { - return proto.EnumName(UptimeCheckConfig_ContentMatcher_ContentMatcherOption_name, int32(x)) -} - -func (UptimeCheckConfig_ContentMatcher_ContentMatcherOption) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7ca0e36dfc8221d8, []int{1, 3, 0} -} - -// An internal checker allows Uptime checks to run on private/internal GCP -// resources. -// -// Deprecated: Do not use. -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"` - // The current operational state of the internal checker. - State InternalChecker_State `protobuf:"varint,7,opt,name=state,proto3,enum=google.monitoring.v3.InternalChecker_State" json:"state,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_7ca0e36dfc8221d8, []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 (m *InternalChecker) XXX_Merge(src proto.Message) { - xxx_messageInfo_InternalChecker.Merge(m, 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 "" -} - -func (m *InternalChecker) GetState() InternalChecker_State { - if m != nil { - return m.State - } - return InternalChecker_UNSPECIFIED -} - -// This message configures which resources and services to monitor for -// availability. -type UptimeCheckConfig struct { - // A unique resource name for this Uptime check configuration. The format is: - // - // `projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]`. - // - // This field should be omitted when creating the Uptime check configuration; - // on create, the resource name is assigned by the server and included in the - // 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 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. - // - // Types that are valid to be assigned to Resource: - // *UptimeCheckConfig_MonitoredResource - // *UptimeCheckConfig_ResourceGroup_ - Resource isUptimeCheckConfig_Resource `protobuf_oneof:"resource"` - // The type of Uptime check request. - // - // Types that are valid to be assigned to CheckRequestType: - // *UptimeCheckConfig_HttpCheck_ - // *UptimeCheckConfig_TcpCheck_ - CheckRequestType isUptimeCheckConfig_CheckRequestType `protobuf_oneof:"check_request_type"` - // 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 `60s`. - 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. - Timeout *duration.Duration `protobuf:"bytes,8,opt,name=timeout,proto3" json:"timeout,omitempty"` - // The content that is expected to appear in the data returned by the target - // server against which the check is run. Currently, only the first entry - // in the `content_matchers` list is supported, and additional entries will - // be ignored. This field is optional and should only be specified if a - // content match is required as part of the/ Uptime check. - 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 must be provided to include a - // minimum of 3 locations. Not specifying this field will result in Uptime - // checks running from all available 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. 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 - // `UptimeCheckConfig`. - InternalCheckers []*InternalChecker `protobuf:"bytes,14,rep,name=internal_checkers,json=internalCheckers,proto3" json:"internal_checkers,omitempty"` // Deprecated: Do not use. - 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_7ca0e36dfc8221d8, []int{1} -} - -func (m *UptimeCheckConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UptimeCheckConfig.Unmarshal(m, b) -} -func (m *UptimeCheckConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UptimeCheckConfig.Marshal(b, m, deterministic) -} -func (m *UptimeCheckConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_UptimeCheckConfig.Merge(m, src) -} -func (m *UptimeCheckConfig) XXX_Size() int { - return xxx_messageInfo_UptimeCheckConfig.Size(m) -} -func (m *UptimeCheckConfig) XXX_DiscardUnknown() { - xxx_messageInfo_UptimeCheckConfig.DiscardUnknown(m) -} - -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 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"` -} - -func (*UptimeCheckConfig_MonitoredResource) isUptimeCheckConfig_Resource() {} - -func (*UptimeCheckConfig_ResourceGroup_) isUptimeCheckConfig_Resource() {} - -func (m *UptimeCheckConfig) GetResource() isUptimeCheckConfig_Resource { - if m != nil { - return m.Resource - } - return nil -} - -func (m *UptimeCheckConfig) GetMonitoredResource() *monitoredres.MonitoredResource { - if x, ok := m.GetResource().(*UptimeCheckConfig_MonitoredResource); ok { - return x.MonitoredResource - } - return nil -} - -func (m *UptimeCheckConfig) GetResourceGroup() *UptimeCheckConfig_ResourceGroup { - if x, ok := m.GetResource().(*UptimeCheckConfig_ResourceGroup_); ok { - return x.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 - } - return nil -} - -func (m *UptimeCheckConfig) GetTcpCheck() *UptimeCheckConfig_TcpCheck { - if x, ok := m.GetCheckRequestType().(*UptimeCheckConfig_TcpCheck_); ok { - return x.TcpCheck - } - return nil -} - -func (m *UptimeCheckConfig) GetPeriod() *duration.Duration { - if m != nil { - return m.Period - } - return nil -} - -func (m *UptimeCheckConfig) GetTimeout() *duration.Duration { - if m != nil { - return m.Timeout - } - return nil -} - -func (m *UptimeCheckConfig) GetContentMatchers() []*UptimeCheckConfig_ContentMatcher { - if m != nil { - return m.ContentMatchers - } - return nil -} - -func (m *UptimeCheckConfig) GetSelectedRegions() []UptimeCheckRegion { - if m != nil { - return m.SelectedRegions - } - return nil -} - -// Deprecated: Do not use. -func (m *UptimeCheckConfig) GetInternalCheckers() []*InternalChecker { - if m != nil { - return m.InternalCheckers - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*UptimeCheckConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*UptimeCheckConfig_MonitoredResource)(nil), - (*UptimeCheckConfig_ResourceGroup_)(nil), - (*UptimeCheckConfig_HttpCheck_)(nil), - (*UptimeCheckConfig_TcpCheck_)(nil), - } -} - -// The resource submessage for group checks. It can be used instead of a -// monitored resource, when multiple resources are being monitored. -type UptimeCheckConfig_ResourceGroup struct { - // The group of resources being monitored. Should be only the `[GROUP_ID]`, - // and not the full-path `projects/[PROJECT_ID]/groups/[GROUP_ID]`. - GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` - // The resource type of the group members. - ResourceType GroupResourceType `protobuf:"varint,2,opt,name=resource_type,json=resourceType,proto3,enum=google.monitoring.v3.GroupResourceType" json:"resource_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UptimeCheckConfig_ResourceGroup) Reset() { *m = UptimeCheckConfig_ResourceGroup{} } -func (m *UptimeCheckConfig_ResourceGroup) String() string { return proto.CompactTextString(m) } -func (*UptimeCheckConfig_ResourceGroup) ProtoMessage() {} -func (*UptimeCheckConfig_ResourceGroup) Descriptor() ([]byte, []int) { - return fileDescriptor_7ca0e36dfc8221d8, []int{1, 0} -} - -func (m *UptimeCheckConfig_ResourceGroup) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UptimeCheckConfig_ResourceGroup.Unmarshal(m, b) -} -func (m *UptimeCheckConfig_ResourceGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UptimeCheckConfig_ResourceGroup.Marshal(b, m, deterministic) -} -func (m *UptimeCheckConfig_ResourceGroup) XXX_Merge(src proto.Message) { - xxx_messageInfo_UptimeCheckConfig_ResourceGroup.Merge(m, src) -} -func (m *UptimeCheckConfig_ResourceGroup) XXX_Size() int { - return xxx_messageInfo_UptimeCheckConfig_ResourceGroup.Size(m) -} -func (m *UptimeCheckConfig_ResourceGroup) XXX_DiscardUnknown() { - xxx_messageInfo_UptimeCheckConfig_ResourceGroup.DiscardUnknown(m) -} - -var xxx_messageInfo_UptimeCheckConfig_ResourceGroup proto.InternalMessageInfo - -func (m *UptimeCheckConfig_ResourceGroup) GetGroupId() string { - if m != nil { - return m.GroupId - } - return "" -} - -func (m *UptimeCheckConfig_ResourceGroup) GetResourceType() GroupResourceType { - if m != nil { - return m.ResourceType - } - return GroupResourceType_RESOURCE_TYPE_UNSPECIFIED -} - -// Information involved in an HTTP/HTTPS Uptime check request. -type UptimeCheckConfig_HttpCheck struct { - // If `true`, use HTTPS instead of HTTP to run the check. - UseSsl bool `protobuf:"varint,1,opt,name=use_ssl,json=useSsl,proto3" json:"use_ssl,omitempty"` - // Optional (defaults to "/"). The path to the page against which to run - // the check. Will be combined with the `host` (specified within the - // `monitored_resource`) and `port` to construct the full URL. If the - // provided path does not begin with "/", a "/" will be prepended - // automatically. - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` - // Optional (defaults to 80 when `use_ssl` is `false`, and 443 when - // `use_ssl` is `true`). The TCP port on the HTTP server against which to - // run the check. Will be combined with host (specified within the - // `monitored_resource`) and `path` to construct the full URL. - Port int32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"` - // The authentication information. Optional when creating an HTTP check; - // defaults to empty. - AuthInfo *UptimeCheckConfig_HttpCheck_BasicAuthentication `protobuf:"bytes,4,opt,name=auth_info,json=authInfo,proto3" json:"auth_info,omitempty"` - // Boolean specifiying whether to encrypt the header information. - // Encryption should be specified for any headers related to authentication - // that you do not wish to be seen when retrieving the configuration. The - // server will be responsible for encrypting the headers. - // On Get/List calls, if `mask_headers` is set to `true` then the headers - // will be obscured with `******.` - MaskHeaders bool `protobuf:"varint,5,opt,name=mask_headers,json=maskHeaders,proto3" json:"mask_headers,omitempty"` - // The list of headers to send as part of the Uptime check request. - // If two headers have the same key and different values, they should - // be entered as a single header, with the value being a comma-separated - // list of all the desired values as described at - // 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"` - // Boolean specifying whether to include SSL certificate validation as a - // part of the Uptime check. Only applies to checks where - // `monitored_resource` is set to `uptime_url`. If `use_ssl` is `false`, - // setting `validate_ssl` to `true` has no effect. - ValidateSsl bool `protobuf:"varint,7,opt,name=validate_ssl,json=validateSsl,proto3" json:"validate_ssl,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UptimeCheckConfig_HttpCheck) Reset() { *m = UptimeCheckConfig_HttpCheck{} } -func (m *UptimeCheckConfig_HttpCheck) String() string { return proto.CompactTextString(m) } -func (*UptimeCheckConfig_HttpCheck) ProtoMessage() {} -func (*UptimeCheckConfig_HttpCheck) Descriptor() ([]byte, []int) { - return fileDescriptor_7ca0e36dfc8221d8, []int{1, 1} -} - -func (m *UptimeCheckConfig_HttpCheck) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UptimeCheckConfig_HttpCheck.Unmarshal(m, b) -} -func (m *UptimeCheckConfig_HttpCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UptimeCheckConfig_HttpCheck.Marshal(b, m, deterministic) -} -func (m *UptimeCheckConfig_HttpCheck) XXX_Merge(src proto.Message) { - xxx_messageInfo_UptimeCheckConfig_HttpCheck.Merge(m, src) -} -func (m *UptimeCheckConfig_HttpCheck) XXX_Size() int { - return xxx_messageInfo_UptimeCheckConfig_HttpCheck.Size(m) -} -func (m *UptimeCheckConfig_HttpCheck) XXX_DiscardUnknown() { - xxx_messageInfo_UptimeCheckConfig_HttpCheck.DiscardUnknown(m) -} - -var xxx_messageInfo_UptimeCheckConfig_HttpCheck proto.InternalMessageInfo - -func (m *UptimeCheckConfig_HttpCheck) GetUseSsl() bool { - if m != nil { - return m.UseSsl - } - return false -} - -func (m *UptimeCheckConfig_HttpCheck) GetPath() string { - if m != nil { - return m.Path - } - return "" -} - -func (m *UptimeCheckConfig_HttpCheck) GetPort() int32 { - if m != nil { - return m.Port - } - return 0 -} - -func (m *UptimeCheckConfig_HttpCheck) GetAuthInfo() *UptimeCheckConfig_HttpCheck_BasicAuthentication { - if m != nil { - return m.AuthInfo - } - return nil -} - -func (m *UptimeCheckConfig_HttpCheck) GetMaskHeaders() bool { - if m != nil { - return m.MaskHeaders - } - return false -} - -func (m *UptimeCheckConfig_HttpCheck) GetHeaders() map[string]string { - if m != nil { - return m.Headers - } - return nil -} - -func (m *UptimeCheckConfig_HttpCheck) GetValidateSsl() bool { - if m != nil { - return m.ValidateSsl - } - return false -} - -// The authentication parameters to provide to the specified resource or -// URL that requires a username and password. Currently, only -// [Basic HTTP authentication](https://tools.ietf.org/html/rfc7617) is -// supported in Uptime checks. -type UptimeCheckConfig_HttpCheck_BasicAuthentication struct { - // The username to use when authenticating with the HTTP server. - Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` - // The password to use when authenticating with the HTTP server. - Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UptimeCheckConfig_HttpCheck_BasicAuthentication) Reset() { - *m = UptimeCheckConfig_HttpCheck_BasicAuthentication{} -} -func (m *UptimeCheckConfig_HttpCheck_BasicAuthentication) String() string { - return proto.CompactTextString(m) -} -func (*UptimeCheckConfig_HttpCheck_BasicAuthentication) ProtoMessage() {} -func (*UptimeCheckConfig_HttpCheck_BasicAuthentication) Descriptor() ([]byte, []int) { - return fileDescriptor_7ca0e36dfc8221d8, []int{1, 1, 0} -} - -func (m *UptimeCheckConfig_HttpCheck_BasicAuthentication) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UptimeCheckConfig_HttpCheck_BasicAuthentication.Unmarshal(m, b) -} -func (m *UptimeCheckConfig_HttpCheck_BasicAuthentication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UptimeCheckConfig_HttpCheck_BasicAuthentication.Marshal(b, m, deterministic) -} -func (m *UptimeCheckConfig_HttpCheck_BasicAuthentication) XXX_Merge(src proto.Message) { - xxx_messageInfo_UptimeCheckConfig_HttpCheck_BasicAuthentication.Merge(m, src) -} -func (m *UptimeCheckConfig_HttpCheck_BasicAuthentication) XXX_Size() int { - return xxx_messageInfo_UptimeCheckConfig_HttpCheck_BasicAuthentication.Size(m) -} -func (m *UptimeCheckConfig_HttpCheck_BasicAuthentication) XXX_DiscardUnknown() { - xxx_messageInfo_UptimeCheckConfig_HttpCheck_BasicAuthentication.DiscardUnknown(m) -} - -var xxx_messageInfo_UptimeCheckConfig_HttpCheck_BasicAuthentication proto.InternalMessageInfo - -func (m *UptimeCheckConfig_HttpCheck_BasicAuthentication) GetUsername() string { - if m != nil { - return m.Username - } - return "" -} - -func (m *UptimeCheckConfig_HttpCheck_BasicAuthentication) GetPassword() string { - if m != nil { - return m.Password - } - return "" -} - -// Information required for a TCP Uptime check request. -type UptimeCheckConfig_TcpCheck struct { - // The TCP port on the server against which to run the check. Will be - // combined with host (specified within the `monitored_resource`) to - // construct the full URL. Required. - Port int32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UptimeCheckConfig_TcpCheck) Reset() { *m = UptimeCheckConfig_TcpCheck{} } -func (m *UptimeCheckConfig_TcpCheck) String() string { return proto.CompactTextString(m) } -func (*UptimeCheckConfig_TcpCheck) ProtoMessage() {} -func (*UptimeCheckConfig_TcpCheck) Descriptor() ([]byte, []int) { - return fileDescriptor_7ca0e36dfc8221d8, []int{1, 2} -} - -func (m *UptimeCheckConfig_TcpCheck) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UptimeCheckConfig_TcpCheck.Unmarshal(m, b) -} -func (m *UptimeCheckConfig_TcpCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UptimeCheckConfig_TcpCheck.Marshal(b, m, deterministic) -} -func (m *UptimeCheckConfig_TcpCheck) XXX_Merge(src proto.Message) { - xxx_messageInfo_UptimeCheckConfig_TcpCheck.Merge(m, src) -} -func (m *UptimeCheckConfig_TcpCheck) XXX_Size() int { - return xxx_messageInfo_UptimeCheckConfig_TcpCheck.Size(m) -} -func (m *UptimeCheckConfig_TcpCheck) XXX_DiscardUnknown() { - xxx_messageInfo_UptimeCheckConfig_TcpCheck.DiscardUnknown(m) -} - -var xxx_messageInfo_UptimeCheckConfig_TcpCheck proto.InternalMessageInfo - -func (m *UptimeCheckConfig_TcpCheck) GetPort() int32 { - if m != nil { - return m.Port - } - return 0 -} - -// Used to perform string matching. It allows substring and regular -// expressions, together with their negations. -type UptimeCheckConfig_ContentMatcher struct { - // String or regex content to match (max 1024 bytes) - Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` - // The type of content matcher that will be applied to the server output, - // compared to the `content` string when the check is run. - Matcher UptimeCheckConfig_ContentMatcher_ContentMatcherOption `protobuf:"varint,2,opt,name=matcher,proto3,enum=google.monitoring.v3.UptimeCheckConfig_ContentMatcher_ContentMatcherOption" json:"matcher,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UptimeCheckConfig_ContentMatcher) Reset() { *m = UptimeCheckConfig_ContentMatcher{} } -func (m *UptimeCheckConfig_ContentMatcher) String() string { return proto.CompactTextString(m) } -func (*UptimeCheckConfig_ContentMatcher) ProtoMessage() {} -func (*UptimeCheckConfig_ContentMatcher) Descriptor() ([]byte, []int) { - return fileDescriptor_7ca0e36dfc8221d8, []int{1, 3} -} - -func (m *UptimeCheckConfig_ContentMatcher) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UptimeCheckConfig_ContentMatcher.Unmarshal(m, b) -} -func (m *UptimeCheckConfig_ContentMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UptimeCheckConfig_ContentMatcher.Marshal(b, m, deterministic) -} -func (m *UptimeCheckConfig_ContentMatcher) XXX_Merge(src proto.Message) { - xxx_messageInfo_UptimeCheckConfig_ContentMatcher.Merge(m, src) -} -func (m *UptimeCheckConfig_ContentMatcher) XXX_Size() int { - return xxx_messageInfo_UptimeCheckConfig_ContentMatcher.Size(m) -} -func (m *UptimeCheckConfig_ContentMatcher) XXX_DiscardUnknown() { - xxx_messageInfo_UptimeCheckConfig_ContentMatcher.DiscardUnknown(m) -} - -var xxx_messageInfo_UptimeCheckConfig_ContentMatcher proto.InternalMessageInfo - -func (m *UptimeCheckConfig_ContentMatcher) GetContent() string { - if m != nil { - return m.Content - } - return "" -} - -func (m *UptimeCheckConfig_ContentMatcher) GetMatcher() UptimeCheckConfig_ContentMatcher_ContentMatcherOption { - if m != nil { - return m.Matcher - } - return UptimeCheckConfig_ContentMatcher_CONTENT_MATCHER_OPTION_UNSPECIFIED -} - -// Contains the region, location, and list of IP -// addresses where checkers in the location run from. -type UptimeCheckIp struct { - // A broad region category in which the IP address is located. - Region UptimeCheckRegion `protobuf:"varint,1,opt,name=region,proto3,enum=google.monitoring.v3.UptimeCheckRegion" json:"region,omitempty"` - // A more specific location within the region that typically encodes - // a particular city/town/metro (and its containing state/province or country) - // within the broader umbrella region category. - Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` - // The IP address from which the Uptime check originates. This is a fully - // specified IP address (not an IP address range). Most IP addresses, as of - // this publication, are in IPv4 format; however, one should not rely on the - // IP addresses being in IPv4 format indefinitely, and should support - // interpreting this field in either IPv4 or IPv6 format. - IpAddress string `protobuf:"bytes,3,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 *UptimeCheckIp) Reset() { *m = UptimeCheckIp{} } -func (m *UptimeCheckIp) String() string { return proto.CompactTextString(m) } -func (*UptimeCheckIp) ProtoMessage() {} -func (*UptimeCheckIp) Descriptor() ([]byte, []int) { - return fileDescriptor_7ca0e36dfc8221d8, []int{2} -} - -func (m *UptimeCheckIp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UptimeCheckIp.Unmarshal(m, b) -} -func (m *UptimeCheckIp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UptimeCheckIp.Marshal(b, m, deterministic) -} -func (m *UptimeCheckIp) XXX_Merge(src proto.Message) { - xxx_messageInfo_UptimeCheckIp.Merge(m, src) -} -func (m *UptimeCheckIp) XXX_Size() int { - return xxx_messageInfo_UptimeCheckIp.Size(m) -} -func (m *UptimeCheckIp) XXX_DiscardUnknown() { - xxx_messageInfo_UptimeCheckIp.DiscardUnknown(m) -} - -var xxx_messageInfo_UptimeCheckIp proto.InternalMessageInfo - -func (m *UptimeCheckIp) GetRegion() UptimeCheckRegion { - if m != nil { - return m.Region - } - return UptimeCheckRegion_REGION_UNSPECIFIED -} - -func (m *UptimeCheckIp) GetLocation() string { - if m != nil { - return m.Location - } - return "" -} - -func (m *UptimeCheckIp) GetIpAddress() string { - if m != nil { - return m.IpAddress - } - return "" -} - -func init() { - proto.RegisterEnum("google.monitoring.v3.UptimeCheckRegion", UptimeCheckRegion_name, UptimeCheckRegion_value) - proto.RegisterEnum("google.monitoring.v3.GroupResourceType", GroupResourceType_name, GroupResourceType_value) - proto.RegisterEnum("google.monitoring.v3.InternalChecker_State", InternalChecker_State_name, InternalChecker_State_value) - proto.RegisterEnum("google.monitoring.v3.UptimeCheckConfig_ContentMatcher_ContentMatcherOption", UptimeCheckConfig_ContentMatcher_ContentMatcherOption_name, UptimeCheckConfig_ContentMatcher_ContentMatcherOption_value) - 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") - proto.RegisterMapType((map[string]string)(nil), "google.monitoring.v3.UptimeCheckConfig.HttpCheck.HeadersEntry") - 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((*UptimeCheckIp)(nil), "google.monitoring.v3.UptimeCheckIp") -} - -func init() { proto.RegisterFile("google/monitoring/v3/uptime.proto", fileDescriptor_7ca0e36dfc8221d8) } - -var fileDescriptor_7ca0e36dfc8221d8 = []byte{ - // 1183 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xdd, 0x6e, 0xdb, 0x36, - 0x14, 0xae, 0xec, 0xc4, 0x3f, 0xc7, 0xf9, 0x51, 0xd8, 0x74, 0x55, 0x0c, 0xb4, 0x48, 0x33, 0xac, - 0x0b, 0x3a, 0xc0, 0x59, 0x63, 0x6c, 0x18, 0x3a, 0xa0, 0x83, 0xec, 0x6a, 0xb1, 0xb0, 0x44, 0x36, - 0x28, 0xbb, 0xeb, 0xba, 0x62, 0x84, 0x2a, 0x31, 0xb6, 0x16, 0x5b, 0xd4, 0x24, 0x2a, 0x5d, 0xf6, - 0x0a, 0xbb, 0xdf, 0xfd, 0xb0, 0xbb, 0x3e, 0xca, 0x5e, 0x61, 0xd8, 0xbb, 0x0c, 0x24, 0x25, 0x27, - 0x4e, 0x32, 0x34, 0xed, 0x1d, 0xbf, 0xf3, 0xf3, 0x91, 0x3c, 0x3c, 0x1f, 0x49, 0x78, 0x30, 0x66, - 0x6c, 0x3c, 0xa5, 0x7b, 0x33, 0x16, 0x85, 0x9c, 0x25, 0x61, 0x34, 0xde, 0x3b, 0x6d, 0xef, 0x65, - 0x31, 0x0f, 0x67, 0xb4, 0x15, 0x27, 0x8c, 0x33, 0xb4, 0xa9, 0x42, 0x5a, 0xe7, 0x21, 0xad, 0xd3, - 0x76, 0xf3, 0xe3, 0x3c, 0xd1, 0x8b, 0xc3, 0x22, 0x99, 0x06, 0x24, 0xa1, 0x29, 0xcb, 0x12, 0x3f, - 0x4f, 0x6d, 0xde, 0xcf, 0x83, 0x24, 0x7a, 0x9d, 0x1d, 0xef, 0x05, 0x59, 0xe2, 0xf1, 0x90, 0x45, - 0xca, 0xbf, 0xf3, 0x67, 0x09, 0xd6, 0xed, 0x88, 0xd3, 0x24, 0xf2, 0xa6, 0xdd, 0x09, 0xf5, 0x4f, - 0x68, 0x82, 0x10, 0x2c, 0x45, 0xde, 0x8c, 0x1a, 0xda, 0xb6, 0xb6, 0x5b, 0xc7, 0x72, 0x8c, 0x1e, - 0xc0, 0x4a, 0x10, 0xa6, 0xf1, 0xd4, 0x3b, 0x23, 0xd2, 0x57, 0x92, 0xbe, 0x46, 0x6e, 0x73, 0x44, - 0x88, 0x01, 0xd5, 0x88, 0xf2, 0x37, 0x2c, 0x39, 0x31, 0xca, 0xd2, 0x5b, 0x40, 0xb4, 0x05, 0xb5, - 0xb1, 0x1f, 0x93, 0xdf, 0x58, 0x44, 0x8d, 0x25, 0xe5, 0x1a, 0xfb, 0xf1, 0x4b, 0x16, 0x51, 0xf4, - 0x10, 0xd6, 0x63, 0x4a, 0x13, 0x12, 0x27, 0xec, 0x67, 0xea, 0x73, 0x12, 0x06, 0x46, 0x45, 0x46, - 0xac, 0x0a, 0xf3, 0x40, 0x59, 0xed, 0x00, 0x99, 0xb0, 0x9c, 0x72, 0x8f, 0x53, 0xa3, 0xba, 0xad, - 0xed, 0xae, 0xed, 0x7f, 0xd6, 0xba, 0xae, 0x24, 0xad, 0x4b, 0x3b, 0x69, 0xb9, 0x22, 0x05, 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, 0xd8, 0x23, 0xe6, 0x91, 0x85, 0xed, 0xae, 0xa9, - 0x97, 0x91, 0x0e, 0x2b, 0xa6, 0x6b, 0x9b, 0x64, 0x60, 0x8a, 0xd4, 0xae, 0xbe, 0xf4, 0xe8, 0x47, - 0xd8, 0xb8, 0x72, 0xc9, 0xa0, 0x7b, 0xb0, 0x85, 0x2d, 0xb7, 0x3f, 0xc2, 0x5d, 0x8b, 0x0c, 0x7f, - 0x18, 0x58, 0xe4, 0xca, 0x3f, 0xc1, 0x76, 0xdc, 0xa1, 0xe9, 0x74, 0x2d, 0x5d, 0x43, 0x5b, 0x70, - 0xc7, 0xfc, 0xde, 0x25, 0xd6, 0x61, 0x87, 0x1c, 0xf6, 0xcd, 0x67, 0xa4, 0x63, 0x1e, 0x0a, 0x0f, - 0xd6, 0x4b, 0x9d, 0xbf, 0x34, 0x30, 0x7c, 0x36, 0xbb, 0xb6, 0x6a, 0x9d, 0x86, 0xda, 0xde, 0x40, - 0x3c, 0x33, 0x03, 0xed, 0xe5, 0xd3, 0x3c, 0x68, 0xcc, 0xa6, 0x5e, 0x34, 0x6e, 0xb1, 0x64, 0xbc, - 0x37, 0xa6, 0x91, 0x7c, 0x84, 0xf6, 0x94, 0xcb, 0x8b, 0xc3, 0x74, 0xf1, 0x7b, 0xf8, 0xf5, 0x39, - 0x7a, 0x5b, 0x6a, 0x1e, 0x28, 0x82, 0xee, 0x94, 0x65, 0x41, 0xf1, 0x6d, 0x10, 0x73, 0x3d, 0x6f, - 0xff, 0x5d, 0x38, 0x5f, 0x49, 0xe7, 0xab, 0x73, 0xe7, 0xab, 0xe7, 0xed, 0xd7, 0x15, 0x39, 0x49, - 0xfb, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x44, 0x42, 0x24, 0x08, 0x82, 0x0a, 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 deleted file mode 100644 index eae78fcf..00000000 --- a/vendor/google.golang.org/genproto/googleapis/monitoring/v3/uptime_service.pb.go +++ /dev/null @@ -1,825 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/monitoring/v3/uptime_service.proto - -package monitoring - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "github.com/golang/protobuf/ptypes/duration" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // 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]`. - 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 - // page. If the page_size is <=0, the server will decide the number of results - // to be returned. - PageSize int32 `protobuf:"varint,3,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 - // method to return more results from the previous method call. - 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 *ListUptimeCheckConfigsRequest) Reset() { *m = ListUptimeCheckConfigsRequest{} } -func (m *ListUptimeCheckConfigsRequest) String() string { return proto.CompactTextString(m) } -func (*ListUptimeCheckConfigsRequest) ProtoMessage() {} -func (*ListUptimeCheckConfigsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6222dd2aa0db8eee, []int{0} -} - -func (m *ListUptimeCheckConfigsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListUptimeCheckConfigsRequest.Unmarshal(m, b) -} -func (m *ListUptimeCheckConfigsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListUptimeCheckConfigsRequest.Marshal(b, m, deterministic) -} -func (m *ListUptimeCheckConfigsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListUptimeCheckConfigsRequest.Merge(m, src) -} -func (m *ListUptimeCheckConfigsRequest) XXX_Size() int { - return xxx_messageInfo_ListUptimeCheckConfigsRequest.Size(m) -} -func (m *ListUptimeCheckConfigsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListUptimeCheckConfigsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListUptimeCheckConfigsRequest proto.InternalMessageInfo - -func (m *ListUptimeCheckConfigsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListUptimeCheckConfigsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListUptimeCheckConfigsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// The protocol for the `ListUptimeCheckConfigs` response. -type ListUptimeCheckConfigsResponse struct { - // The returned Uptime check configurations. - UptimeCheckConfigs []*UptimeCheckConfig `protobuf:"bytes,1,rep,name=uptime_check_configs,json=uptimeCheckConfigs,proto3" json:"uptime_check_configs,omitempty"` - // This field represents the pagination token to retrieve the next page of - // results. If the value is empty, it means no further results for the - // 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"` - // 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:"-"` -} - -func (m *ListUptimeCheckConfigsResponse) Reset() { *m = ListUptimeCheckConfigsResponse{} } -func (m *ListUptimeCheckConfigsResponse) String() string { return proto.CompactTextString(m) } -func (*ListUptimeCheckConfigsResponse) ProtoMessage() {} -func (*ListUptimeCheckConfigsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6222dd2aa0db8eee, []int{1} -} - -func (m *ListUptimeCheckConfigsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListUptimeCheckConfigsResponse.Unmarshal(m, b) -} -func (m *ListUptimeCheckConfigsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListUptimeCheckConfigsResponse.Marshal(b, m, deterministic) -} -func (m *ListUptimeCheckConfigsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListUptimeCheckConfigsResponse.Merge(m, src) -} -func (m *ListUptimeCheckConfigsResponse) XXX_Size() int { - return xxx_messageInfo_ListUptimeCheckConfigsResponse.Size(m) -} -func (m *ListUptimeCheckConfigsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListUptimeCheckConfigsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListUptimeCheckConfigsResponse proto.InternalMessageInfo - -func (m *ListUptimeCheckConfigsResponse) GetUptimeCheckConfigs() []*UptimeCheckConfig { - if m != nil { - return m.UptimeCheckConfigs - } - return nil -} - -func (m *ListUptimeCheckConfigsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - 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]`. - 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 *GetUptimeCheckConfigRequest) Reset() { *m = GetUptimeCheckConfigRequest{} } -func (m *GetUptimeCheckConfigRequest) String() string { return proto.CompactTextString(m) } -func (*GetUptimeCheckConfigRequest) ProtoMessage() {} -func (*GetUptimeCheckConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6222dd2aa0db8eee, []int{2} -} - -func (m *GetUptimeCheckConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetUptimeCheckConfigRequest.Unmarshal(m, b) -} -func (m *GetUptimeCheckConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetUptimeCheckConfigRequest.Marshal(b, m, deterministic) -} -func (m *GetUptimeCheckConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUptimeCheckConfigRequest.Merge(m, src) -} -func (m *GetUptimeCheckConfigRequest) XXX_Size() int { - return xxx_messageInfo_GetUptimeCheckConfigRequest.Size(m) -} -func (m *GetUptimeCheckConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetUptimeCheckConfigRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetUptimeCheckConfigRequest proto.InternalMessageInfo - -func (m *GetUptimeCheckConfigRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The protocol for the `CreateUptimeCheckConfig` request. -type CreateUptimeCheckConfigRequest struct { - // 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateUptimeCheckConfigRequest) Reset() { *m = CreateUptimeCheckConfigRequest{} } -func (m *CreateUptimeCheckConfigRequest) String() string { return proto.CompactTextString(m) } -func (*CreateUptimeCheckConfigRequest) ProtoMessage() {} -func (*CreateUptimeCheckConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6222dd2aa0db8eee, []int{3} -} - -func (m *CreateUptimeCheckConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateUptimeCheckConfigRequest.Unmarshal(m, b) -} -func (m *CreateUptimeCheckConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateUptimeCheckConfigRequest.Marshal(b, m, deterministic) -} -func (m *CreateUptimeCheckConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateUptimeCheckConfigRequest.Merge(m, src) -} -func (m *CreateUptimeCheckConfigRequest) XXX_Size() int { - return xxx_messageInfo_CreateUptimeCheckConfigRequest.Size(m) -} -func (m *CreateUptimeCheckConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateUptimeCheckConfigRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateUptimeCheckConfigRequest proto.InternalMessageInfo - -func (m *CreateUptimeCheckConfigRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateUptimeCheckConfigRequest) GetUptimeCheckConfig() *UptimeCheckConfig { - if m != nil { - return m.UptimeCheckConfig - } - return nil -} - -// The protocol for the `UpdateUptimeCheckConfig` request. -type UpdateUptimeCheckConfigRequest struct { - // Optional. If present, only the listed fields in the current Uptime check - // configuration are updated with values from the new configuration. If this - // field is empty, then the current configuration is completely replaced with - // the new configuration. - UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` - // 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 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:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpdateUptimeCheckConfigRequest) Reset() { *m = UpdateUptimeCheckConfigRequest{} } -func (m *UpdateUptimeCheckConfigRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateUptimeCheckConfigRequest) ProtoMessage() {} -func (*UpdateUptimeCheckConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6222dd2aa0db8eee, []int{4} -} - -func (m *UpdateUptimeCheckConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateUptimeCheckConfigRequest.Unmarshal(m, b) -} -func (m *UpdateUptimeCheckConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateUptimeCheckConfigRequest.Marshal(b, m, deterministic) -} -func (m *UpdateUptimeCheckConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateUptimeCheckConfigRequest.Merge(m, src) -} -func (m *UpdateUptimeCheckConfigRequest) XXX_Size() int { - return xxx_messageInfo_UpdateUptimeCheckConfigRequest.Size(m) -} -func (m *UpdateUptimeCheckConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateUptimeCheckConfigRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateUptimeCheckConfigRequest proto.InternalMessageInfo - -func (m *UpdateUptimeCheckConfigRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -func (m *UpdateUptimeCheckConfigRequest) GetUptimeCheckConfig() *UptimeCheckConfig { - if m != nil { - return m.UptimeCheckConfig - } - return nil -} - -// 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]`. - 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 *DeleteUptimeCheckConfigRequest) Reset() { *m = DeleteUptimeCheckConfigRequest{} } -func (m *DeleteUptimeCheckConfigRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteUptimeCheckConfigRequest) ProtoMessage() {} -func (*DeleteUptimeCheckConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6222dd2aa0db8eee, []int{5} -} - -func (m *DeleteUptimeCheckConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteUptimeCheckConfigRequest.Unmarshal(m, b) -} -func (m *DeleteUptimeCheckConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteUptimeCheckConfigRequest.Marshal(b, m, deterministic) -} -func (m *DeleteUptimeCheckConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteUptimeCheckConfigRequest.Merge(m, src) -} -func (m *DeleteUptimeCheckConfigRequest) XXX_Size() int { - return xxx_messageInfo_DeleteUptimeCheckConfigRequest.Size(m) -} -func (m *DeleteUptimeCheckConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteUptimeCheckConfigRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteUptimeCheckConfigRequest proto.InternalMessageInfo - -func (m *DeleteUptimeCheckConfigRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The protocol for the `ListUptimeCheckIps` request. -type ListUptimeCheckIpsRequest struct { - // 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 - // page. If the page_size is <=0, the server will decide the number of results - // to be returned. - // NOTE: this field is not yet implemented - PageSize int32 `protobuf:"varint,2,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 - // method to return more results from the previous method call. - // NOTE: this field is not yet implemented - 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 *ListUptimeCheckIpsRequest) Reset() { *m = ListUptimeCheckIpsRequest{} } -func (m *ListUptimeCheckIpsRequest) String() string { return proto.CompactTextString(m) } -func (*ListUptimeCheckIpsRequest) ProtoMessage() {} -func (*ListUptimeCheckIpsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6222dd2aa0db8eee, []int{6} -} - -func (m *ListUptimeCheckIpsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListUptimeCheckIpsRequest.Unmarshal(m, b) -} -func (m *ListUptimeCheckIpsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListUptimeCheckIpsRequest.Marshal(b, m, deterministic) -} -func (m *ListUptimeCheckIpsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListUptimeCheckIpsRequest.Merge(m, src) -} -func (m *ListUptimeCheckIpsRequest) XXX_Size() int { - return xxx_messageInfo_ListUptimeCheckIpsRequest.Size(m) -} -func (m *ListUptimeCheckIpsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListUptimeCheckIpsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListUptimeCheckIpsRequest proto.InternalMessageInfo - -func (m *ListUptimeCheckIpsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListUptimeCheckIpsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// The protocol for the `ListUptimeCheckIps` response. -type ListUptimeCheckIpsResponse struct { - // The returned list of IP addresses (including region and location) that the - // checkers run from. - UptimeCheckIps []*UptimeCheckIp `protobuf:"bytes,1,rep,name=uptime_check_ips,json=uptimeCheckIps,proto3" json:"uptime_check_ips,omitempty"` - // This field represents the pagination token to retrieve the next page of - // results. If the value is empty, it means no further results for the - // 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). - // NOTE: this field is not yet implemented - 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 *ListUptimeCheckIpsResponse) Reset() { *m = ListUptimeCheckIpsResponse{} } -func (m *ListUptimeCheckIpsResponse) String() string { return proto.CompactTextString(m) } -func (*ListUptimeCheckIpsResponse) ProtoMessage() {} -func (*ListUptimeCheckIpsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6222dd2aa0db8eee, []int{7} -} - -func (m *ListUptimeCheckIpsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListUptimeCheckIpsResponse.Unmarshal(m, b) -} -func (m *ListUptimeCheckIpsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListUptimeCheckIpsResponse.Marshal(b, m, deterministic) -} -func (m *ListUptimeCheckIpsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListUptimeCheckIpsResponse.Merge(m, src) -} -func (m *ListUptimeCheckIpsResponse) XXX_Size() int { - return xxx_messageInfo_ListUptimeCheckIpsResponse.Size(m) -} -func (m *ListUptimeCheckIpsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListUptimeCheckIpsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListUptimeCheckIpsResponse proto.InternalMessageInfo - -func (m *ListUptimeCheckIpsResponse) GetUptimeCheckIps() []*UptimeCheckIp { - if m != nil { - return m.UptimeCheckIps - } - return nil -} - -func (m *ListUptimeCheckIpsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -func init() { - proto.RegisterType((*ListUptimeCheckConfigsRequest)(nil), "google.monitoring.v3.ListUptimeCheckConfigsRequest") - proto.RegisterType((*ListUptimeCheckConfigsResponse)(nil), "google.monitoring.v3.ListUptimeCheckConfigsResponse") - proto.RegisterType((*GetUptimeCheckConfigRequest)(nil), "google.monitoring.v3.GetUptimeCheckConfigRequest") - proto.RegisterType((*CreateUptimeCheckConfigRequest)(nil), "google.monitoring.v3.CreateUptimeCheckConfigRequest") - proto.RegisterType((*UpdateUptimeCheckConfigRequest)(nil), "google.monitoring.v3.UpdateUptimeCheckConfigRequest") - proto.RegisterType((*DeleteUptimeCheckConfigRequest)(nil), "google.monitoring.v3.DeleteUptimeCheckConfigRequest") - proto.RegisterType((*ListUptimeCheckIpsRequest)(nil), "google.monitoring.v3.ListUptimeCheckIpsRequest") - proto.RegisterType((*ListUptimeCheckIpsResponse)(nil), "google.monitoring.v3.ListUptimeCheckIpsResponse") -} - -func init() { - proto.RegisterFile("google/monitoring/v3/uptime_service.proto", fileDescriptor_6222dd2aa0db8eee) -} - -var fileDescriptor_6222dd2aa0db8eee = []byte{ - // 825 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, 0xd5, 0xcd, 0x54, 0xf7, 0x6f, 0x6e, 0xd4, 0xa4, 0xee, 0x6d, 0x94, 0x9b, - 0x2b, 0x5d, 0x4a, 0x54, 0x6c, 0x9a, 0x74, 0xd5, 0x8a, 0x4a, 0x6d, 0x80, 0xaa, 0x12, 0x95, 0xaa, - 0x94, 0xb6, 0x02, 0x2a, 0x45, 0xae, 0x33, 0x71, 0x4d, 0x6c, 0xcf, 0x60, 0x8f, 0x5b, 0x28, 0xea, - 0x86, 0x1d, 0x4b, 0xd4, 0x25, 0x7b, 0x24, 0xfa, 0x00, 0xb0, 0x86, 0x65, 0x97, 0x20, 0xde, 0x80, - 0x37, 0xe0, 0x05, 0x90, 0xc7, 0x63, 0x9c, 0x1f, 0xdb, 0x4d, 0xc4, 0x2e, 0xf6, 0x39, 0x73, 0xce, - 0x77, 0xbe, 0xf9, 0xce, 0x17, 0xc3, 0xeb, 0x3a, 0x21, 0xba, 0x89, 0x15, 0x8b, 0xd8, 0x06, 0x23, - 0x8e, 0x61, 0xeb, 0xca, 0x71, 0x5d, 0xf1, 0x28, 0x33, 0x2c, 0xdc, 0x72, 0xb1, 0x73, 0x6c, 0x68, - 0x58, 0xa6, 0x0e, 0x61, 0x04, 0xe5, 0x83, 0x54, 0x39, 0x4a, 0x95, 0x8f, 0xeb, 0xd2, 0x3f, 0xa2, - 0x80, 0x4a, 0x0d, 0x45, 0xb5, 0x6d, 0xc2, 0x54, 0x66, 0x10, 0xdb, 0x0d, 0xce, 0x48, 0xff, 0xa6, - 0x94, 0x17, 0x29, 0x25, 0x91, 0xc2, 0x9f, 0x0e, 0xbd, 0x8e, 0xd2, 0xf6, 0x1c, 0x5e, 0x43, 0xc4, - 0x67, 0x07, 0xe3, 0xd8, 0xa2, 0xec, 0x99, 0x08, 0x96, 0x07, 0x83, 0x1d, 0x03, 0x9b, 0xed, 0x96, - 0xa5, 0xba, 0x5d, 0x91, 0x51, 0xe8, 0xc1, 0xa7, 0x99, 0x06, 0xb6, 0x59, 0x10, 0xa8, 0xb8, 0x70, - 0xee, 0x9e, 0xe1, 0xb2, 0x5d, 0x8e, 0xa5, 0x71, 0x84, 0xb5, 0x6e, 0x83, 0xd8, 0x1d, 0x43, 0x77, -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 0x36, 0x95, 0xa8, 0x65, 0xff, 0x17, 0xdc, 0x4a, 0xf4, 0x74, 0x91, 0x91, - 0x36, 0x82, 0x02, 0x0d, 0x7f, 0x4a, 0x79, 0x2b, 0x6a, 0xb9, 0x57, 0xbf, 0x0c, 0x83, 0x07, 0x3c, - 0x78, 0x10, 0x05, 0x0f, 0xf6, 0xea, 0x87, 0x93, 0xbc, 0x49, 0xfd, 0x7b, 0x00, 0x00, 0x00, 0xff, - 0xff, 0x44, 0xf4, 0x57, 0x5e, 0x84, 0x0a, 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 - -// UptimeCheckServiceClient is the client API for UptimeCheckService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type UptimeCheckServiceClient interface { - // Lists the existing valid Uptime check configurations for the project - // (leaving out any invalid configurations). - ListUptimeCheckConfigs(ctx context.Context, in *ListUptimeCheckConfigsRequest, opts ...grpc.CallOption) (*ListUptimeCheckConfigsResponse, error) - // Gets a single Uptime check configuration. - GetUptimeCheckConfig(ctx context.Context, in *GetUptimeCheckConfigRequest, opts ...grpc.CallOption) (*UptimeCheckConfig, error) - // Creates a new Uptime check configuration. - CreateUptimeCheckConfig(ctx context.Context, in *CreateUptimeCheckConfigRequest, opts ...grpc.CallOption) (*UptimeCheckConfig, error) - // Updates an Uptime check configuration. You can either replace the entire - // configuration with a new one or replace only certain fields in the current - // configuration by specifying the fields to be updated via `updateMask`. - // Returns the updated configuration. - UpdateUptimeCheckConfig(ctx context.Context, in *UpdateUptimeCheckConfigRequest, opts ...grpc.CallOption) (*UptimeCheckConfig, error) - // Deletes an Uptime check configuration. Note that this method will fail - // if the Uptime check configuration is referenced by an alert policy or - // other dependent configs that would be rendered invalid by the deletion. - DeleteUptimeCheckConfig(ctx context.Context, in *DeleteUptimeCheckConfigRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Returns the list of IP addresses that checkers run from - ListUptimeCheckIps(ctx context.Context, in *ListUptimeCheckIpsRequest, opts ...grpc.CallOption) (*ListUptimeCheckIpsResponse, error) -} - -type uptimeCheckServiceClient struct { - cc *grpc.ClientConn -} - -func NewUptimeCheckServiceClient(cc *grpc.ClientConn) UptimeCheckServiceClient { - return &uptimeCheckServiceClient{cc} -} - -func (c *uptimeCheckServiceClient) ListUptimeCheckConfigs(ctx context.Context, in *ListUptimeCheckConfigsRequest, opts ...grpc.CallOption) (*ListUptimeCheckConfigsResponse, error) { - out := new(ListUptimeCheckConfigsResponse) - err := c.cc.Invoke(ctx, "/google.monitoring.v3.UptimeCheckService/ListUptimeCheckConfigs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *uptimeCheckServiceClient) GetUptimeCheckConfig(ctx context.Context, in *GetUptimeCheckConfigRequest, opts ...grpc.CallOption) (*UptimeCheckConfig, error) { - out := new(UptimeCheckConfig) - err := c.cc.Invoke(ctx, "/google.monitoring.v3.UptimeCheckService/GetUptimeCheckConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *uptimeCheckServiceClient) CreateUptimeCheckConfig(ctx context.Context, in *CreateUptimeCheckConfigRequest, opts ...grpc.CallOption) (*UptimeCheckConfig, error) { - out := new(UptimeCheckConfig) - err := c.cc.Invoke(ctx, "/google.monitoring.v3.UptimeCheckService/CreateUptimeCheckConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *uptimeCheckServiceClient) UpdateUptimeCheckConfig(ctx context.Context, in *UpdateUptimeCheckConfigRequest, opts ...grpc.CallOption) (*UptimeCheckConfig, error) { - out := new(UptimeCheckConfig) - err := c.cc.Invoke(ctx, "/google.monitoring.v3.UptimeCheckService/UpdateUptimeCheckConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *uptimeCheckServiceClient) DeleteUptimeCheckConfig(ctx context.Context, in *DeleteUptimeCheckConfigRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.monitoring.v3.UptimeCheckService/DeleteUptimeCheckConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *uptimeCheckServiceClient) ListUptimeCheckIps(ctx context.Context, in *ListUptimeCheckIpsRequest, opts ...grpc.CallOption) (*ListUptimeCheckIpsResponse, error) { - out := new(ListUptimeCheckIpsResponse) - err := c.cc.Invoke(ctx, "/google.monitoring.v3.UptimeCheckService/ListUptimeCheckIps", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// UptimeCheckServiceServer is the server API for UptimeCheckService service. -type UptimeCheckServiceServer interface { - // Lists the existing valid Uptime check configurations for the project - // (leaving out any invalid configurations). - ListUptimeCheckConfigs(context.Context, *ListUptimeCheckConfigsRequest) (*ListUptimeCheckConfigsResponse, error) - // Gets a single Uptime check configuration. - GetUptimeCheckConfig(context.Context, *GetUptimeCheckConfigRequest) (*UptimeCheckConfig, error) - // Creates a new Uptime check configuration. - CreateUptimeCheckConfig(context.Context, *CreateUptimeCheckConfigRequest) (*UptimeCheckConfig, error) - // Updates an Uptime check configuration. You can either replace the entire - // configuration with a new one or replace only certain fields in the current - // configuration by specifying the fields to be updated via `updateMask`. - // Returns the updated configuration. - UpdateUptimeCheckConfig(context.Context, *UpdateUptimeCheckConfigRequest) (*UptimeCheckConfig, error) - // Deletes an Uptime check configuration. Note that this method will fail - // if the Uptime check configuration is referenced by an alert policy or - // other dependent configs that would be rendered invalid by the deletion. - DeleteUptimeCheckConfig(context.Context, *DeleteUptimeCheckConfigRequest) (*empty.Empty, error) - // Returns the list of IP addresses that checkers run from - ListUptimeCheckIps(context.Context, *ListUptimeCheckIpsRequest) (*ListUptimeCheckIpsResponse, error) -} - -// UnimplementedUptimeCheckServiceServer can be embedded to have forward compatible implementations. -type UnimplementedUptimeCheckServiceServer struct { -} - -func (*UnimplementedUptimeCheckServiceServer) ListUptimeCheckConfigs(ctx context.Context, req *ListUptimeCheckConfigsRequest) (*ListUptimeCheckConfigsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListUptimeCheckConfigs not implemented") -} -func (*UnimplementedUptimeCheckServiceServer) GetUptimeCheckConfig(ctx context.Context, req *GetUptimeCheckConfigRequest) (*UptimeCheckConfig, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetUptimeCheckConfig not implemented") -} -func (*UnimplementedUptimeCheckServiceServer) CreateUptimeCheckConfig(ctx context.Context, req *CreateUptimeCheckConfigRequest) (*UptimeCheckConfig, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateUptimeCheckConfig not implemented") -} -func (*UnimplementedUptimeCheckServiceServer) UpdateUptimeCheckConfig(ctx context.Context, req *UpdateUptimeCheckConfigRequest) (*UptimeCheckConfig, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateUptimeCheckConfig not implemented") -} -func (*UnimplementedUptimeCheckServiceServer) DeleteUptimeCheckConfig(ctx context.Context, req *DeleteUptimeCheckConfigRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteUptimeCheckConfig not implemented") -} -func (*UnimplementedUptimeCheckServiceServer) ListUptimeCheckIps(ctx context.Context, req *ListUptimeCheckIpsRequest) (*ListUptimeCheckIpsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListUptimeCheckIps not implemented") -} - -func RegisterUptimeCheckServiceServer(s *grpc.Server, srv UptimeCheckServiceServer) { - s.RegisterService(&_UptimeCheckService_serviceDesc, srv) -} - -func _UptimeCheckService_ListUptimeCheckConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListUptimeCheckConfigsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UptimeCheckServiceServer).ListUptimeCheckConfigs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.monitoring.v3.UptimeCheckService/ListUptimeCheckConfigs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UptimeCheckServiceServer).ListUptimeCheckConfigs(ctx, req.(*ListUptimeCheckConfigsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _UptimeCheckService_GetUptimeCheckConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetUptimeCheckConfigRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UptimeCheckServiceServer).GetUptimeCheckConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.monitoring.v3.UptimeCheckService/GetUptimeCheckConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UptimeCheckServiceServer).GetUptimeCheckConfig(ctx, req.(*GetUptimeCheckConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _UptimeCheckService_CreateUptimeCheckConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateUptimeCheckConfigRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UptimeCheckServiceServer).CreateUptimeCheckConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.monitoring.v3.UptimeCheckService/CreateUptimeCheckConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UptimeCheckServiceServer).CreateUptimeCheckConfig(ctx, req.(*CreateUptimeCheckConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _UptimeCheckService_UpdateUptimeCheckConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateUptimeCheckConfigRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UptimeCheckServiceServer).UpdateUptimeCheckConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.monitoring.v3.UptimeCheckService/UpdateUptimeCheckConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UptimeCheckServiceServer).UpdateUptimeCheckConfig(ctx, req.(*UpdateUptimeCheckConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _UptimeCheckService_DeleteUptimeCheckConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteUptimeCheckConfigRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UptimeCheckServiceServer).DeleteUptimeCheckConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.monitoring.v3.UptimeCheckService/DeleteUptimeCheckConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UptimeCheckServiceServer).DeleteUptimeCheckConfig(ctx, req.(*DeleteUptimeCheckConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _UptimeCheckService_ListUptimeCheckIps_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListUptimeCheckIpsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UptimeCheckServiceServer).ListUptimeCheckIps(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.monitoring.v3.UptimeCheckService/ListUptimeCheckIps", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UptimeCheckServiceServer).ListUptimeCheckIps(ctx, req.(*ListUptimeCheckIpsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _UptimeCheckService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.monitoring.v3.UptimeCheckService", - HandlerType: (*UptimeCheckServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListUptimeCheckConfigs", - Handler: _UptimeCheckService_ListUptimeCheckConfigs_Handler, - }, - { - MethodName: "GetUptimeCheckConfig", - Handler: _UptimeCheckService_GetUptimeCheckConfig_Handler, - }, - { - MethodName: "CreateUptimeCheckConfig", - Handler: _UptimeCheckService_CreateUptimeCheckConfig_Handler, - }, - { - MethodName: "UpdateUptimeCheckConfig", - Handler: _UptimeCheckService_UpdateUptimeCheckConfig_Handler, - }, - { - MethodName: "DeleteUptimeCheckConfig", - Handler: _UptimeCheckService_DeleteUptimeCheckConfig_Handler, - }, - { - MethodName: "ListUptimeCheckIps", - Handler: _UptimeCheckService_ListUptimeCheckIps_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/monitoring/v3/uptime_service.proto", -} 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 deleted file mode 100644 index 2eaaef9b..00000000 --- a/vendor/google.golang.org/genproto/googleapis/privacy/dlp/v2/dlp.pb.go +++ /dev/null @@ -1,13522 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/privacy/dlp/v2/dlp.proto - -package dlp - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - empty "github.com/golang/protobuf/ptypes/empty" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - date "google.golang.org/genproto/googleapis/type/date" - dayofweek "google.golang.org/genproto/googleapis/type/dayofweek" - timeofday "google.golang.org/genproto/googleapis/type/timeofday" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Options describing which parts of the provided content should be scanned. -type ContentOption int32 - -const ( - // Includes entire content of a file or a data stream. - ContentOption_CONTENT_UNSPECIFIED ContentOption = 0 - // Text content within the data, excluding any metadata. - ContentOption_CONTENT_TEXT ContentOption = 1 - // Images found in the data. - ContentOption_CONTENT_IMAGE ContentOption = 2 -) - -var ContentOption_name = map[int32]string{ - 0: "CONTENT_UNSPECIFIED", - 1: "CONTENT_TEXT", - 2: "CONTENT_IMAGE", -} - -var ContentOption_value = map[string]int32{ - "CONTENT_UNSPECIFIED": 0, - "CONTENT_TEXT": 1, - "CONTENT_IMAGE": 2, -} - -func (x ContentOption) String() string { - return proto.EnumName(ContentOption_name, int32(x)) -} - -func (ContentOption) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []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_6872a91dcb80f8dc, []int{1} -} - -// Parts of the APIs which use certain infoTypes. -type InfoTypeSupportedBy int32 - -const ( - InfoTypeSupportedBy_ENUM_TYPE_UNSPECIFIED InfoTypeSupportedBy = 0 - // Supported by the inspect operations. - InfoTypeSupportedBy_INSPECT InfoTypeSupportedBy = 1 - // Supported by the risk analysis operations. - InfoTypeSupportedBy_RISK_ANALYSIS InfoTypeSupportedBy = 2 -) - -var InfoTypeSupportedBy_name = map[int32]string{ - 0: "ENUM_TYPE_UNSPECIFIED", - 1: "INSPECT", - 2: "RISK_ANALYSIS", -} - -var InfoTypeSupportedBy_value = map[string]int32{ - "ENUM_TYPE_UNSPECIFIED": 0, - "INSPECT": 1, - "RISK_ANALYSIS": 2, -} - -func (x InfoTypeSupportedBy) String() string { - return proto.EnumName(InfoTypeSupportedBy_name, int32(x)) -} - -func (InfoTypeSupportedBy) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{2} -} - -// Operators available for comparing the value of fields. -type RelationalOperator int32 - -const ( - RelationalOperator_RELATIONAL_OPERATOR_UNSPECIFIED RelationalOperator = 0 - // Equal. Attempts to match even with incompatible types. - RelationalOperator_EQUAL_TO RelationalOperator = 1 - // Not equal to. Attempts to match even with incompatible types. - RelationalOperator_NOT_EQUAL_TO RelationalOperator = 2 - // Greater than. - RelationalOperator_GREATER_THAN RelationalOperator = 3 - // Less than. - RelationalOperator_LESS_THAN RelationalOperator = 4 - // Greater than or equals. - RelationalOperator_GREATER_THAN_OR_EQUALS RelationalOperator = 5 - // Less than or equals. - RelationalOperator_LESS_THAN_OR_EQUALS RelationalOperator = 6 - // Exists - RelationalOperator_EXISTS RelationalOperator = 7 -) - -var RelationalOperator_name = map[int32]string{ - 0: "RELATIONAL_OPERATOR_UNSPECIFIED", - 1: "EQUAL_TO", - 2: "NOT_EQUAL_TO", - 3: "GREATER_THAN", - 4: "LESS_THAN", - 5: "GREATER_THAN_OR_EQUALS", - 6: "LESS_THAN_OR_EQUALS", - 7: "EXISTS", -} - -var RelationalOperator_value = map[string]int32{ - "RELATIONAL_OPERATOR_UNSPECIFIED": 0, - "EQUAL_TO": 1, - "NOT_EQUAL_TO": 2, - "GREATER_THAN": 3, - "LESS_THAN": 4, - "GREATER_THAN_OR_EQUALS": 5, - "LESS_THAN_OR_EQUALS": 6, - "EXISTS": 7, -} - -func (x RelationalOperator) String() string { - return proto.EnumName(RelationalOperator_name, int32(x)) -} - -func (RelationalOperator) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{3} -} - -// An enum to represent the various type of DLP jobs. -type DlpJobType int32 - -const ( - DlpJobType_DLP_JOB_TYPE_UNSPECIFIED DlpJobType = 0 - // The job inspected Google Cloud for sensitive data. - DlpJobType_INSPECT_JOB DlpJobType = 1 - // The job executed a Risk Analysis computation. - DlpJobType_RISK_ANALYSIS_JOB DlpJobType = 2 -) - -var DlpJobType_name = map[int32]string{ - 0: "DLP_JOB_TYPE_UNSPECIFIED", - 1: "INSPECT_JOB", - 2: "RISK_ANALYSIS_JOB", -} - -var DlpJobType_value = map[string]int32{ - "DLP_JOB_TYPE_UNSPECIFIED": 0, - "INSPECT_JOB": 1, - "RISK_ANALYSIS_JOB": 2, -} - -func (x DlpJobType) String() string { - return proto.EnumName(DlpJobType_name, int32(x)) -} - -func (DlpJobType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []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_6872a91dcb80f8dc, []int{5} -} - -type ByteContentItem_BytesType int32 - -const ( - ByteContentItem_BYTES_TYPE_UNSPECIFIED ByteContentItem_BytesType = 0 - ByteContentItem_IMAGE ByteContentItem_BytesType = 6 - ByteContentItem_IMAGE_JPEG ByteContentItem_BytesType = 1 - ByteContentItem_IMAGE_BMP ByteContentItem_BytesType = 2 - ByteContentItem_IMAGE_PNG ByteContentItem_BytesType = 3 - ByteContentItem_IMAGE_SVG ByteContentItem_BytesType = 4 - ByteContentItem_TEXT_UTF8 ByteContentItem_BytesType = 5 - ByteContentItem_AVRO ByteContentItem_BytesType = 11 -) - -var ByteContentItem_BytesType_name = map[int32]string{ - 0: "BYTES_TYPE_UNSPECIFIED", - 6: "IMAGE", - 1: "IMAGE_JPEG", - 2: "IMAGE_BMP", - 3: "IMAGE_PNG", - 4: "IMAGE_SVG", - 5: "TEXT_UTF8", - 11: "AVRO", -} - -var ByteContentItem_BytesType_value = map[string]int32{ - "BYTES_TYPE_UNSPECIFIED": 0, - "IMAGE": 6, - "IMAGE_JPEG": 1, - "IMAGE_BMP": 2, - "IMAGE_PNG": 3, - "IMAGE_SVG": 4, - "TEXT_UTF8": 5, - "AVRO": 11, -} - -func (x ByteContentItem_BytesType) String() string { - return proto.EnumName(ByteContentItem_BytesType_name, int32(x)) -} - -func (ByteContentItem_BytesType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{5, 0} -} - -// Predefined schemas for storing findings. -type OutputStorageConfig_OutputSchema int32 - -const ( - OutputStorageConfig_OUTPUT_SCHEMA_UNSPECIFIED OutputStorageConfig_OutputSchema = 0 - // Basic schema including only `info_type`, `quote`, `certainty`, and - // `timestamp`. - OutputStorageConfig_BASIC_COLUMNS OutputStorageConfig_OutputSchema = 1 - // Schema tailored to findings from scanning Google Cloud Storage. - OutputStorageConfig_GCS_COLUMNS OutputStorageConfig_OutputSchema = 2 - // Schema tailored to findings from scanning Google Datastore. - OutputStorageConfig_DATASTORE_COLUMNS OutputStorageConfig_OutputSchema = 3 - // Schema tailored to findings from scanning Google BigQuery. - OutputStorageConfig_BIG_QUERY_COLUMNS OutputStorageConfig_OutputSchema = 4 - // Schema containing all columns. - OutputStorageConfig_ALL_COLUMNS OutputStorageConfig_OutputSchema = 5 -) - -var OutputStorageConfig_OutputSchema_name = map[int32]string{ - 0: "OUTPUT_SCHEMA_UNSPECIFIED", - 1: "BASIC_COLUMNS", - 2: "GCS_COLUMNS", - 3: "DATASTORE_COLUMNS", - 4: "BIG_QUERY_COLUMNS", - 5: "ALL_COLUMNS", -} - -var OutputStorageConfig_OutputSchema_value = map[string]int32{ - "OUTPUT_SCHEMA_UNSPECIFIED": 0, - "BASIC_COLUMNS": 1, - "GCS_COLUMNS": 2, - "DATASTORE_COLUMNS": 3, - "BIG_QUERY_COLUMNS": 4, - "ALL_COLUMNS": 5, -} - -func (x OutputStorageConfig_OutputSchema) String() string { - return proto.EnumName(OutputStorageConfig_OutputSchema_name, int32(x)) -} - -func (OutputStorageConfig_OutputSchema) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{27, 0} -} - -type TimePartConfig_TimePart int32 - -const ( - TimePartConfig_TIME_PART_UNSPECIFIED TimePartConfig_TimePart = 0 - // [0-9999] - TimePartConfig_YEAR TimePartConfig_TimePart = 1 - // [1-12] - TimePartConfig_MONTH TimePartConfig_TimePart = 2 - // [1-31] - TimePartConfig_DAY_OF_MONTH TimePartConfig_TimePart = 3 - // [1-7] - TimePartConfig_DAY_OF_WEEK TimePartConfig_TimePart = 4 - // [1-52] - TimePartConfig_WEEK_OF_YEAR TimePartConfig_TimePart = 5 - // [0-23] - TimePartConfig_HOUR_OF_DAY TimePartConfig_TimePart = 6 -) - -var TimePartConfig_TimePart_name = map[int32]string{ - 0: "TIME_PART_UNSPECIFIED", - 1: "YEAR", - 2: "MONTH", - 3: "DAY_OF_MONTH", - 4: "DAY_OF_WEEK", - 5: "WEEK_OF_YEAR", - 6: "HOUR_OF_DAY", -} - -var TimePartConfig_TimePart_value = map[string]int32{ - "TIME_PART_UNSPECIFIED": 0, - "YEAR": 1, - "MONTH": 2, - "DAY_OF_MONTH": 3, - "DAY_OF_WEEK": 4, - "WEEK_OF_YEAR": 5, - "HOUR_OF_DAY": 6, -} - -func (x TimePartConfig_TimePart) String() string { - return proto.EnumName(TimePartConfig_TimePart_name, int32(x)) -} - -func (TimePartConfig_TimePart) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{44, 0} -} - -type CharsToIgnore_CommonCharsToIgnore int32 - -const ( - CharsToIgnore_COMMON_CHARS_TO_IGNORE_UNSPECIFIED CharsToIgnore_CommonCharsToIgnore = 0 - // 0-9 - CharsToIgnore_NUMERIC CharsToIgnore_CommonCharsToIgnore = 1 - // A-Z - CharsToIgnore_ALPHA_UPPER_CASE CharsToIgnore_CommonCharsToIgnore = 2 - // a-z - CharsToIgnore_ALPHA_LOWER_CASE CharsToIgnore_CommonCharsToIgnore = 3 - // US Punctuation, one of !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~ - CharsToIgnore_PUNCTUATION CharsToIgnore_CommonCharsToIgnore = 4 - // Whitespace character, one of [ \t\n\x0B\f\r] - CharsToIgnore_WHITESPACE CharsToIgnore_CommonCharsToIgnore = 5 -) - -var CharsToIgnore_CommonCharsToIgnore_name = map[int32]string{ - 0: "COMMON_CHARS_TO_IGNORE_UNSPECIFIED", - 1: "NUMERIC", - 2: "ALPHA_UPPER_CASE", - 3: "ALPHA_LOWER_CASE", - 4: "PUNCTUATION", - 5: "WHITESPACE", -} - -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, -} - -func (x CharsToIgnore_CommonCharsToIgnore) String() string { - return proto.EnumName(CharsToIgnore_CommonCharsToIgnore_name, int32(x)) -} - -func (CharsToIgnore_CommonCharsToIgnore) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{50, 0} -} - -// These are commonly used subsets of the alphabet that the FFX mode -// natively supports. In the algorithm, the alphabet is selected using -// the "radix". Therefore each corresponds to particular radix. -type CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet int32 - -const ( - CryptoReplaceFfxFpeConfig_FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet = 0 - // [0-9] (radix of 10) - CryptoReplaceFfxFpeConfig_NUMERIC CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet = 1 - // [0-9A-F] (radix of 16) - CryptoReplaceFfxFpeConfig_HEXADECIMAL CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet = 2 - // [0-9A-Z] (radix of 36) - CryptoReplaceFfxFpeConfig_UPPER_CASE_ALPHA_NUMERIC CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet = 3 - // [0-9A-Za-z] (radix of 62) - CryptoReplaceFfxFpeConfig_ALPHA_NUMERIC CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet = 4 -) - -var CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet_name = map[int32]string{ - 0: "FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED", - 1: "NUMERIC", - 2: "HEXADECIMAL", - 3: "UPPER_CASE_ALPHA_NUMERIC", - 4: "ALPHA_NUMERIC", -} - -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, -} - -func (x CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) String() string { - return proto.EnumName(CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet_name, int32(x)) -} - -func (CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{54, 0} -} - -type RecordCondition_Expressions_LogicalOperator int32 - -const ( - RecordCondition_Expressions_LOGICAL_OPERATOR_UNSPECIFIED RecordCondition_Expressions_LogicalOperator = 0 - RecordCondition_Expressions_AND RecordCondition_Expressions_LogicalOperator = 1 -) - -var RecordCondition_Expressions_LogicalOperator_name = map[int32]string{ - 0: "LOGICAL_OPERATOR_UNSPECIFIED", - 1: "AND", -} - -var RecordCondition_Expressions_LogicalOperator_value = map[string]int32{ - "LOGICAL_OPERATOR_UNSPECIFIED": 0, - "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_6872a91dcb80f8dc, []int{64, 2, 0} -} - -// Possible outcomes of transformations. -type TransformationSummary_TransformationResultCode int32 - -const ( - TransformationSummary_TRANSFORMATION_RESULT_CODE_UNSPECIFIED TransformationSummary_TransformationResultCode = 0 - TransformationSummary_SUCCESS TransformationSummary_TransformationResultCode = 1 - TransformationSummary_ERROR TransformationSummary_TransformationResultCode = 2 -) - -var TransformationSummary_TransformationResultCode_name = map[int32]string{ - 0: "TRANSFORMATION_RESULT_CODE_UNSPECIFIED", - 1: "SUCCESS", - 2: "ERROR", -} - -var TransformationSummary_TransformationResultCode_value = map[string]int32{ - "TRANSFORMATION_RESULT_CODE_UNSPECIFIED": 0, - "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_6872a91dcb80f8dc, []int{66, 0} -} - -// Whether the trigger is currently active. If PAUSED or CANCELLED, no jobs -// will be created with this configuration. The service may automatically -// pause triggers experiencing frequent errors. To restart a job, set the -// status to HEALTHY after correcting user errors. -type JobTrigger_Status int32 - -const ( - JobTrigger_STATUS_UNSPECIFIED JobTrigger_Status = 0 - // Trigger is healthy. - JobTrigger_HEALTHY JobTrigger_Status = 1 - // Trigger is temporarily paused. - JobTrigger_PAUSED JobTrigger_Status = 2 - // Trigger is cancelled and can not be resumed. - JobTrigger_CANCELLED JobTrigger_Status = 3 -) - -var JobTrigger_Status_name = map[int32]string{ - 0: "STATUS_UNSPECIFIED", - 1: "HEALTHY", - 2: "PAUSED", - 3: "CANCELLED", -} - -var JobTrigger_Status_value = map[string]int32{ - "STATUS_UNSPECIFIED": 0, - "HEALTHY": 1, - "PAUSED": 2, - "CANCELLED": 3, -} - -func (x JobTrigger_Status) String() string { - return proto.EnumName(JobTrigger_Status_name, int32(x)) -} - -func (JobTrigger_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{71, 0} -} - -type DlpJob_JobState int32 - -const ( - DlpJob_JOB_STATE_UNSPECIFIED DlpJob_JobState = 0 - // The job has not yet started. - DlpJob_PENDING DlpJob_JobState = 1 - // The job is currently running. - DlpJob_RUNNING DlpJob_JobState = 2 - // The job is no longer running. - DlpJob_DONE DlpJob_JobState = 3 - // The job was canceled before it could complete. - DlpJob_CANCELED DlpJob_JobState = 4 - // The job had an error and did not complete. - DlpJob_FAILED DlpJob_JobState = 5 -) - -var DlpJob_JobState_name = map[int32]string{ - 0: "JOB_STATE_UNSPECIFIED", - 1: "PENDING", - 2: "RUNNING", - 3: "DONE", - 4: "CANCELED", - 5: "FAILED", -} - -var DlpJob_JobState_value = map[string]int32{ - "JOB_STATE_UNSPECIFIED": 0, - "PENDING": 1, - "RUNNING": 2, - "DONE": 3, - "CANCELED": 4, - "FAILED": 5, -} - -func (x DlpJob_JobState) String() string { - return proto.EnumName(DlpJob_JobState_name, int32(x)) -} - -func (DlpJob_JobState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{88, 0} -} - -// 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 *ExcludeInfoTypes) Reset() { *m = ExcludeInfoTypes{} } -func (m *ExcludeInfoTypes) String() string { return proto.CompactTextString(m) } -func (*ExcludeInfoTypes) ProtoMessage() {} -func (*ExcludeInfoTypes) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{0} -} - -func (m *ExcludeInfoTypes) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExcludeInfoTypes.Unmarshal(m, b) -} -func (m *ExcludeInfoTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExcludeInfoTypes.Marshal(b, m, deterministic) -} -func (m *ExcludeInfoTypes) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExcludeInfoTypes.Merge(m, src) -} -func (m *ExcludeInfoTypes) XXX_Size() int { - return xxx_messageInfo_ExcludeInfoTypes.Size(m) -} -func (m *ExcludeInfoTypes) XXX_DiscardUnknown() { - xxx_messageInfo_ExcludeInfoTypes.DiscardUnknown(m) -} - -var xxx_messageInfo_ExcludeInfoTypes proto.InternalMessageInfo - -func (m *ExcludeInfoTypes) GetInfoTypes() []*InfoType { - if m != nil { - return m.InfoTypes - } - return nil -} - -// 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 *ExclusionRule) Reset() { *m = ExclusionRule{} } -func (m *ExclusionRule) String() string { return proto.CompactTextString(m) } -func (*ExclusionRule) ProtoMessage() {} -func (*ExclusionRule) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []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 (m *ExclusionRule) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExclusionRule.Merge(m, src) -} -func (m *ExclusionRule) XXX_Size() int { - return xxx_messageInfo_ExclusionRule.Size(m) -} -func (m *ExclusionRule) XXX_DiscardUnknown() { - xxx_messageInfo_ExclusionRule.DiscardUnknown(m) -} - -var xxx_messageInfo_ExclusionRule proto.InternalMessageInfo - -type isExclusionRule_Type interface { - isExclusionRule_Type() -} - -type ExclusionRule_Dictionary struct { - Dictionary *CustomInfoType_Dictionary `protobuf:"bytes,1,opt,name=dictionary,proto3,oneof"` -} - -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.Type - } - return nil -} - -func (m *ExclusionRule) GetDictionary() *CustomInfoType_Dictionary { - if x, ok := m.GetType().(*ExclusionRule_Dictionary); ok { - return x.Dictionary - } - return nil -} - -func (m *ExclusionRule) GetRegex() *CustomInfoType_Regex { - if x, ok := m.GetType().(*ExclusionRule_Regex); ok { - return x.Regex - } - return nil -} - -func (m *ExclusionRule) GetExcludeInfoTypes() *ExcludeInfoTypes { - if x, ok := m.GetType().(*ExclusionRule_ExcludeInfoTypes); ok { - return x.ExcludeInfoTypes - } - return nil -} - -func (m *ExclusionRule) GetMatchingType() MatchingType { - if m != nil { - return m.MatchingType - } - return MatchingType_MATCHING_TYPE_UNSPECIFIED -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ExclusionRule) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ExclusionRule_Dictionary)(nil), - (*ExclusionRule_Regex)(nil), - (*ExclusionRule_ExcludeInfoTypes)(nil), - } -} - -// 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 *InspectionRule) Reset() { *m = InspectionRule{} } -func (m *InspectionRule) String() string { return proto.CompactTextString(m) } -func (*InspectionRule) ProtoMessage() {} -func (*InspectionRule) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{2} -} - -func (m *InspectionRule) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InspectionRule.Unmarshal(m, b) -} -func (m *InspectionRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InspectionRule.Marshal(b, m, deterministic) -} -func (m *InspectionRule) XXX_Merge(src proto.Message) { - xxx_messageInfo_InspectionRule.Merge(m, src) -} -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_InspectionRule proto.InternalMessageInfo - -type isInspectionRule_Type interface { - isInspectionRule_Type() -} - -type InspectionRule_HotwordRule struct { - HotwordRule *CustomInfoType_DetectionRule_HotwordRule `protobuf:"bytes,1,opt,name=hotword_rule,json=hotwordRule,proto3,oneof"` -} - -type InspectionRule_ExclusionRule struct { - ExclusionRule *ExclusionRule `protobuf:"bytes,2,opt,name=exclusion_rule,json=exclusionRule,proto3,oneof"` -} - -func (*InspectionRule_HotwordRule) isInspectionRule_Type() {} - -func (*InspectionRule_ExclusionRule) isInspectionRule_Type() {} - -func (m *InspectionRule) GetType() isInspectionRule_Type { - if m != nil { - return m.Type - } - return nil -} - -func (m *InspectionRule) GetHotwordRule() *CustomInfoType_DetectionRule_HotwordRule { - if x, ok := m.GetType().(*InspectionRule_HotwordRule); ok { - return x.HotwordRule - } - return nil -} - -func (m *InspectionRule) GetExclusionRule() *ExclusionRule { - if x, ok := m.GetType().(*InspectionRule_ExclusionRule); ok { - return x.ExclusionRule - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*InspectionRule) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*InspectionRule_HotwordRule)(nil), - (*InspectionRule_ExclusionRule)(nil), - } -} - -// 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 *InspectionRuleSet) Reset() { *m = InspectionRuleSet{} } -func (m *InspectionRuleSet) String() string { return proto.CompactTextString(m) } -func (*InspectionRuleSet) ProtoMessage() {} -func (*InspectionRuleSet) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{3} -} - -func (m *InspectionRuleSet) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InspectionRuleSet.Unmarshal(m, b) -} -func (m *InspectionRuleSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InspectionRuleSet.Marshal(b, m, deterministic) -} -func (m *InspectionRuleSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_InspectionRuleSet.Merge(m, src) -} -func (m *InspectionRuleSet) XXX_Size() int { - return xxx_messageInfo_InspectionRuleSet.Size(m) -} -func (m *InspectionRuleSet) XXX_DiscardUnknown() { - xxx_messageInfo_InspectionRuleSet.DiscardUnknown(m) -} - -var xxx_messageInfo_InspectionRuleSet proto.InternalMessageInfo - -func (m *InspectionRuleSet) GetInfoTypes() []*InfoType { - if m != nil { - return m.InfoTypes - } - return nil -} - -func (m *InspectionRuleSet) GetRules() []*InspectionRule { - if m != nil { - return m.Rules - } - return nil -} - -// 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 *InspectConfig) Reset() { *m = InspectConfig{} } -func (m *InspectConfig) String() string { return proto.CompactTextString(m) } -func (*InspectConfig) ProtoMessage() {} -func (*InspectConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{4} -} - -func (m *InspectConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InspectConfig.Unmarshal(m, b) -} -func (m *InspectConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InspectConfig.Marshal(b, m, deterministic) -} -func (m *InspectConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_InspectConfig.Merge(m, src) -} -func (m *InspectConfig) XXX_Size() int { - return xxx_messageInfo_InspectConfig.Size(m) -} -func (m *InspectConfig) XXX_DiscardUnknown() { - xxx_messageInfo_InspectConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_InspectConfig proto.InternalMessageInfo - -func (m *InspectConfig) 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 -} - -func (m *InspectConfig) GetLimits() *InspectConfig_FindingLimits { - if m != nil { - return m.Limits - } - return nil -} - -func (m *InspectConfig) GetIncludeQuote() bool { - if m != nil { - return m.IncludeQuote - } - return false -} - -func (m *InspectConfig) GetExcludeInfoTypes() bool { - if m != nil { - return m.ExcludeInfoTypes - } - return false -} - -func (m *InspectConfig) GetCustomInfoTypes() []*CustomInfoType { - if m != nil { - return m.CustomInfoTypes - } - return nil -} - -func (m *InspectConfig) GetContentOptions() []ContentOption { - if m != nil { - return m.ContentOptions - } - return nil -} - -func (m *InspectConfig) GetRuleSet() []*InspectionRuleSet { - if m != nil { - return m.RuleSet - } - 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 2000 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 2000 - // 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 *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_6872a91dcb80f8dc, []int{4, 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 (m *InspectConfig_FindingLimits) XXX_Merge(src proto.Message) { - xxx_messageInfo_InspectConfig_FindingLimits.Merge(m, 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) -} - -var xxx_messageInfo_InspectConfig_FindingLimits proto.InternalMessageInfo - -func (m *InspectConfig_FindingLimits) GetMaxFindingsPerItem() int32 { - if m != nil { - return m.MaxFindingsPerItem - } - return 0 -} - -func (m *InspectConfig_FindingLimits) GetMaxFindingsPerRequest() int32 { - if m != nil { - return m.MaxFindingsPerRequest - } - return 0 -} - -func (m *InspectConfig_FindingLimits) GetMaxFindingsPerInfoType() []*InspectConfig_FindingLimits_InfoTypeLimit { - if m != nil { - return m.MaxFindingsPerInfoType - } - 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 (m *InspectConfig_FindingLimits_InfoTypeLimit) Reset() { - *m = InspectConfig_FindingLimits_InfoTypeLimit{} -} -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_6872a91dcb80f8dc, []int{4, 0, 0} -} - -func (m *InspectConfig_FindingLimits_InfoTypeLimit) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InspectConfig_FindingLimits_InfoTypeLimit.Unmarshal(m, b) -} -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 *InspectConfig_FindingLimits_InfoTypeLimit) XXX_Merge(src proto.Message) { - xxx_messageInfo_InspectConfig_FindingLimits_InfoTypeLimit.Merge(m, src) -} -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_InspectConfig_FindingLimits_InfoTypeLimit proto.InternalMessageInfo - -func (m *InspectConfig_FindingLimits_InfoTypeLimit) GetInfoType() *InfoType { - if m != nil { - return m.InfoType - } - return nil -} - -func (m *InspectConfig_FindingLimits_InfoTypeLimit) GetMaxFindings() int32 { - if m != nil { - return m.MaxFindings - } - return 0 -} - -// 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:"-"` -} - -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_6872a91dcb80f8dc, []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 (m *ByteContentItem) XXX_Merge(src proto.Message) { - xxx_messageInfo_ByteContentItem.Merge(m, src) -} -func (m *ByteContentItem) XXX_Size() int { - return xxx_messageInfo_ByteContentItem.Size(m) -} -func (m *ByteContentItem) XXX_DiscardUnknown() { - xxx_messageInfo_ByteContentItem.DiscardUnknown(m) -} - -var xxx_messageInfo_ByteContentItem proto.InternalMessageInfo - -func (m *ByteContentItem) GetType() ByteContentItem_BytesType { - 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_6872a91dcb80f8dc, []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 (m *ContentItem) XXX_Merge(src proto.Message) { - xxx_messageInfo_ContentItem.Merge(m, 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 - } - return nil -} - -func (m *ContentItem) GetByteItem() *ByteContentItem { - if x, ok := m.GetDataItem().(*ContentItem_ByteItem); ok { - return x.ByteItem - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ContentItem) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ContentItem_Value)(nil), - (*ContentItem_Table)(nil), - (*ContentItem_ByteItem)(nil), - } -} - -// 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 *Table) Reset() { *m = Table{} } -func (m *Table) String() string { return proto.CompactTextString(m) } -func (*Table) ProtoMessage() {} -func (*Table) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{7} -} - -func (m *Table) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Table.Unmarshal(m, b) -} -func (m *Table) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Table.Marshal(b, m, deterministic) -} -func (m *Table) XXX_Merge(src proto.Message) { - xxx_messageInfo_Table.Merge(m, src) -} -func (m *Table) XXX_Size() int { - return xxx_messageInfo_Table.Size(m) -} -func (m *Table) XXX_DiscardUnknown() { - xxx_messageInfo_Table.DiscardUnknown(m) -} - -var xxx_messageInfo_Table proto.InternalMessageInfo - -func (m *Table) GetHeaders() []*FieldId { - if m != nil { - return m.Headers - } - return nil -} - -func (m *Table) GetRows() []*Table_Row { - if m != nil { - return m.Rows - } - 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:"-"` -} - -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_6872a91dcb80f8dc, []int{7, 0} -} - -func (m *Table_Row) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Table_Row.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 *Table_Row) XXX_Merge(src proto.Message) { - xxx_messageInfo_Table_Row.Merge(m, 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_6872a91dcb80f8dc, []int{8} -} - -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 (m *InspectResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_InspectResult.Merge(m, src) -} -func (m *InspectResult) XXX_Size() int { - return xxx_messageInfo_InspectResult.Size(m) -} -func (m *InspectResult) XXX_DiscardUnknown() { - xxx_messageInfo_InspectResult.DiscardUnknown(m) -} - -var xxx_messageInfo_InspectResult proto.InternalMessageInfo - -func (m *InspectResult) GetFindings() []*Finding { - if m != nil { - return m.Findings - } - return nil -} - -func (m *InspectResult) GetFindingsTruncated() bool { - if m != nil { - return m.FindingsTruncated - } - 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_6872a91dcb80f8dc, []int{9} -} - -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 (m *Finding) XXX_Merge(src proto.Message) { - xxx_messageInfo_Finding.Merge(m, 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) GetQuote() string { - if m != nil { - return m.Quote - } - return "" -} - -func (m *Finding) GetInfoType() *InfoType { - if m != nil { - return m.InfoType - } - return nil -} - -func (m *Finding) GetLikelihood() Likelihood { - if m != nil { - return m.Likelihood - } - return Likelihood_LIKELIHOOD_UNSPECIFIED -} - -func (m *Finding) GetLocation() *Location { - if m != nil { - return m.Location - } - return nil -} - -func (m *Finding) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *Finding) GetQuoteInfo() *QuoteInfo { - if m != nil { - return m.QuoteInfo - } - 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:"-"` -} - -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_6872a91dcb80f8dc, []int{10} -} - -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 (m *Location) XXX_Merge(src proto.Message) { - xxx_messageInfo_Location.Merge(m, 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) GetByteRange() *Range { - if m != nil { - return m.ByteRange - } - return nil -} - -func (m *Location) GetCodepointRange() *Range { - if m != nil { - return m.CodepointRange - } - return nil -} - -func (m *Location) GetContentLocations() []*ContentLocation { - if m != nil { - return m.ContentLocations - } - 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. Names of some - // common storage containers are formatted as follows: - // - // * 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 *ContentLocation) Reset() { *m = ContentLocation{} } -func (m *ContentLocation) String() string { return proto.CompactTextString(m) } -func (*ContentLocation) ProtoMessage() {} -func (*ContentLocation) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{11} -} - -func (m *ContentLocation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ContentLocation.Unmarshal(m, b) -} -func (m *ContentLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ContentLocation.Marshal(b, m, deterministic) -} -func (m *ContentLocation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ContentLocation.Merge(m, src) -} -func (m *ContentLocation) XXX_Size() int { - return xxx_messageInfo_ContentLocation.Size(m) -} -func (m *ContentLocation) XXX_DiscardUnknown() { - xxx_messageInfo_ContentLocation.DiscardUnknown(m) -} - -var xxx_messageInfo_ContentLocation proto.InternalMessageInfo - -func (m *ContentLocation) GetContainerName() string { - if m != nil { - return m.ContainerName - } - return "" -} - -type isContentLocation_Location interface { - isContentLocation_Location() -} - -type ContentLocation_RecordLocation struct { - RecordLocation *RecordLocation `protobuf:"bytes,2,opt,name=record_location,json=recordLocation,proto3,oneof"` -} - -type ContentLocation_ImageLocation struct { - ImageLocation *ImageLocation `protobuf:"bytes,3,opt,name=image_location,json=imageLocation,proto3,oneof"` -} - -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.Location - } - return nil -} - -func (m *ContentLocation) GetRecordLocation() *RecordLocation { - if x, ok := m.GetLocation().(*ContentLocation_RecordLocation); ok { - return x.RecordLocation - } - return nil -} - -func (m *ContentLocation) GetImageLocation() *ImageLocation { - if x, ok := m.GetLocation().(*ContentLocation_ImageLocation); ok { - return x.ImageLocation - } - return nil -} - -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.ContainerTimestamp - } - return nil -} - -func (m *ContentLocation) GetContainerVersion() string { - if m != nil { - return m.ContainerVersion - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ContentLocation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ContentLocation_RecordLocation)(nil), - (*ContentLocation_ImageLocation)(nil), - (*ContentLocation_DocumentLocation)(nil), - } -} - -// 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_6872a91dcb80f8dc, []int{12} -} - -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 (m *DocumentLocation) XXX_Merge(src proto.Message) { - xxx_messageInfo_DocumentLocation.Merge(m, 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:"-"` -} - -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_6872a91dcb80f8dc, []int{13} -} - -func (m *RecordLocation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RecordLocation.Unmarshal(m, b) -} -func (m *RecordLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RecordLocation.Marshal(b, m, deterministic) -} -func (m *RecordLocation) XXX_Merge(src proto.Message) { - xxx_messageInfo_RecordLocation.Merge(m, src) -} -func (m *RecordLocation) XXX_Size() int { - return xxx_messageInfo_RecordLocation.Size(m) -} -func (m *RecordLocation) XXX_DiscardUnknown() { - xxx_messageInfo_RecordLocation.DiscardUnknown(m) -} - -var xxx_messageInfo_RecordLocation proto.InternalMessageInfo - -func (m *RecordLocation) GetRecordKey() *RecordKey { - if m != nil { - return m.RecordKey - } - return nil -} - -func (m *RecordLocation) GetFieldId() *FieldId { - if m != nil { - return m.FieldId - } - return nil -} - -func (m *RecordLocation) GetTableLocation() *TableLocation { - if m != nil { - return m.TableLocation - } - 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"` - 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_6872a91dcb80f8dc, []int{14} -} - -func (m *TableLocation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TableLocation.Unmarshal(m, b) -} -func (m *TableLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TableLocation.Marshal(b, m, deterministic) -} -func (m *TableLocation) XXX_Merge(src proto.Message) { - xxx_messageInfo_TableLocation.Merge(m, src) -} -func (m *TableLocation) XXX_Size() int { - return xxx_messageInfo_TableLocation.Size(m) -} -func (m *TableLocation) XXX_DiscardUnknown() { - xxx_messageInfo_TableLocation.DiscardUnknown(m) -} - -var xxx_messageInfo_TableLocation proto.InternalMessageInfo - -func (m *TableLocation) GetRowIndex() int64 { - if m != nil { - return m.RowIndex - } - return 0 -} - -// 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 *Range) Reset() { *m = Range{} } -func (m *Range) String() string { return proto.CompactTextString(m) } -func (*Range) ProtoMessage() {} -func (*Range) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []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 (m *Range) XXX_Merge(src proto.Message) { - xxx_messageInfo_Range.Merge(m, src) -} -func (m *Range) XXX_Size() int { - return xxx_messageInfo_Range.Size(m) -} -func (m *Range) XXX_DiscardUnknown() { - xxx_messageInfo_Range.DiscardUnknown(m) -} - -var xxx_messageInfo_Range proto.InternalMessageInfo - -func (m *Range) GetStart() int64 { - if m != nil { - return m.Start - } - return 0 -} - -func (m *Range) GetEnd() int64 { - if m != nil { - return m.End - } - return 0 -} - -// 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_6872a91dcb80f8dc, []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 (m *ImageLocation) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageLocation.Merge(m, 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.BoundingBoxes - } - 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:"-"` -} - -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_6872a91dcb80f8dc, []int{17} -} - -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 (m *BoundingBox) XXX_Merge(src proto.Message) { - xxx_messageInfo_BoundingBox.Merge(m, src) -} -func (m *BoundingBox) XXX_Size() int { - return xxx_messageInfo_BoundingBox.Size(m) -} -func (m *BoundingBox) XXX_DiscardUnknown() { - xxx_messageInfo_BoundingBox.DiscardUnknown(m) -} - -var xxx_messageInfo_BoundingBox proto.InternalMessageInfo - -func (m *BoundingBox) GetTop() int32 { - if m != nil { - return m.Top - } - return 0 -} - -func (m *BoundingBox) GetLeft() int32 { - if m != nil { - return m.Left - } - return 0 -} - -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 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:"-"` -} - -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_6872a91dcb80f8dc, []int{18} -} - -func (m *RedactImageRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RedactImageRequest.Unmarshal(m, b) -} -func (m *RedactImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RedactImageRequest.Marshal(b, m, deterministic) -} -func (m *RedactImageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RedactImageRequest.Merge(m, src) -} -func (m *RedactImageRequest) XXX_Size() int { - return xxx_messageInfo_RedactImageRequest.Size(m) -} -func (m *RedactImageRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RedactImageRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_RedactImageRequest proto.InternalMessageInfo - -func (m *RedactImageRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *RedactImageRequest) GetInspectConfig() *InspectConfig { - if m != nil { - return m.InspectConfig - } - return nil -} - -func (m *RedactImageRequest) GetImageRedactionConfigs() []*RedactImageRequest_ImageRedactionConfig { - if m != nil { - return m.ImageRedactionConfigs - } - return nil -} - -func (m *RedactImageRequest) GetIncludeFindings() bool { - if m != nil { - return m.IncludeFindings - } - return false -} - -func (m *RedactImageRequest) GetByteItem() *ByteContentItem { - if m != nil { - return m.ByteItem - } - return nil -} - -// 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 *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_6872a91dcb80f8dc, []int{18, 0} -} - -func (m *RedactImageRequest_ImageRedactionConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RedactImageRequest_ImageRedactionConfig.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 *RedactImageRequest_ImageRedactionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_RedactImageRequest_ImageRedactionConfig.Merge(m, src) -} -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_RedactImageRequest_ImageRedactionConfig proto.InternalMessageInfo - -type isRedactImageRequest_ImageRedactionConfig_Target interface { - isRedactImageRequest_ImageRedactionConfig_Target() -} - -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"` -} - -func (*RedactImageRequest_ImageRedactionConfig_InfoType) isRedactImageRequest_ImageRedactionConfig_Target() { -} - -func (*RedactImageRequest_ImageRedactionConfig_RedactAllText) isRedactImageRequest_ImageRedactionConfig_Target() { -} - -func (m *RedactImageRequest_ImageRedactionConfig) GetTarget() isRedactImageRequest_ImageRedactionConfig_Target { - if m != nil { - return m.Target - } - return nil -} - -func (m *RedactImageRequest_ImageRedactionConfig) GetInfoType() *InfoType { - if x, ok := m.GetTarget().(*RedactImageRequest_ImageRedactionConfig_InfoType); ok { - return x.InfoType - } - return nil -} - -func (m *RedactImageRequest_ImageRedactionConfig) GetRedactAllText() bool { - if x, ok := m.GetTarget().(*RedactImageRequest_ImageRedactionConfig_RedactAllText); ok { - return x.RedactAllText - } - return false -} - -func (m *RedactImageRequest_ImageRedactionConfig) GetRedactionColor() *Color { - if m != nil { - return m.RedactionColor - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*RedactImageRequest_ImageRedactionConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*RedactImageRequest_ImageRedactionConfig_InfoType)(nil), - (*RedactImageRequest_ImageRedactionConfig_RedactAllText)(nil), - } -} - -// 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 *Color) Reset() { *m = Color{} } -func (m *Color) String() string { return proto.CompactTextString(m) } -func (*Color) ProtoMessage() {} -func (*Color) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{19} -} - -func (m *Color) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Color.Unmarshal(m, b) -} -func (m *Color) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Color.Marshal(b, m, deterministic) -} -func (m *Color) XXX_Merge(src proto.Message) { - xxx_messageInfo_Color.Merge(m, src) -} -func (m *Color) XXX_Size() int { - return xxx_messageInfo_Color.Size(m) -} -func (m *Color) XXX_DiscardUnknown() { - xxx_messageInfo_Color.DiscardUnknown(m) -} - -var xxx_messageInfo_Color proto.InternalMessageInfo - -func (m *Color) GetRed() float32 { - if m != nil { - return m.Red - } - return 0 -} - -func (m *Color) GetGreen() float32 { - if m != nil { - return m.Green - } - return 0 -} - -func (m *Color) GetBlue() float32 { - if m != nil { - return m.Blue - } - 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"` - 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_6872a91dcb80f8dc, []int{20} -} - -func (m *RedactImageResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RedactImageResponse.Unmarshal(m, b) -} -func (m *RedactImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RedactImageResponse.Marshal(b, m, deterministic) -} -func (m *RedactImageResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RedactImageResponse.Merge(m, src) -} -func (m *RedactImageResponse) XXX_Size() int { - return xxx_messageInfo_RedactImageResponse.Size(m) -} -func (m *RedactImageResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RedactImageResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_RedactImageResponse proto.InternalMessageInfo - -func (m *RedactImageResponse) GetRedactedImage() []byte { - if m != nil { - return m.RedactedImage - } - return nil -} - -func (m *RedactImageResponse) GetExtractedText() string { - if m != nil { - return m.ExtractedText - } - return "" -} - -func (m *RedactImageResponse) GetInspectResult() *InspectResult { - if m != nil { - return m.InspectResult - } - 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:"-"` -} - -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_6872a91dcb80f8dc, []int{21} -} - -func (m *DeidentifyContentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeidentifyContentRequest.Unmarshal(m, b) -} -func (m *DeidentifyContentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeidentifyContentRequest.Marshal(b, m, deterministic) -} -func (m *DeidentifyContentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeidentifyContentRequest.Merge(m, src) -} -func (m *DeidentifyContentRequest) XXX_Size() int { - return xxx_messageInfo_DeidentifyContentRequest.Size(m) -} -func (m *DeidentifyContentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeidentifyContentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeidentifyContentRequest proto.InternalMessageInfo - -func (m *DeidentifyContentRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *DeidentifyContentRequest) GetDeidentifyConfig() *DeidentifyConfig { - if m != nil { - return m.DeidentifyConfig - } - return nil -} - -func (m *DeidentifyContentRequest) GetInspectConfig() *InspectConfig { - if m != nil { - return m.InspectConfig - } - return nil -} - -func (m *DeidentifyContentRequest) GetItem() *ContentItem { - if m != nil { - return m.Item - } - return nil -} - -func (m *DeidentifyContentRequest) GetInspectTemplateName() string { - if m != nil { - return m.InspectTemplateName - } - return "" -} - -func (m *DeidentifyContentRequest) GetDeidentifyTemplateName() string { - if m != nil { - return m.DeidentifyTemplateName - } - return "" -} - -// 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 *DeidentifyContentResponse) Reset() { *m = DeidentifyContentResponse{} } -func (m *DeidentifyContentResponse) String() string { return proto.CompactTextString(m) } -func (*DeidentifyContentResponse) ProtoMessage() {} -func (*DeidentifyContentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{22} -} - -func (m *DeidentifyContentResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeidentifyContentResponse.Unmarshal(m, b) -} -func (m *DeidentifyContentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeidentifyContentResponse.Marshal(b, m, deterministic) -} -func (m *DeidentifyContentResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeidentifyContentResponse.Merge(m, src) -} -func (m *DeidentifyContentResponse) XXX_Size() int { - return xxx_messageInfo_DeidentifyContentResponse.Size(m) -} -func (m *DeidentifyContentResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeidentifyContentResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_DeidentifyContentResponse proto.InternalMessageInfo - -func (m *DeidentifyContentResponse) GetItem() *ContentItem { - if m != nil { - return m.Item - } - return nil -} - -func (m *DeidentifyContentResponse) GetOverview() *TransformationOverview { - if m != nil { - return m.Overview - } - return nil -} - -// 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 *ReidentifyContentRequest) Reset() { *m = ReidentifyContentRequest{} } -func (m *ReidentifyContentRequest) String() string { return proto.CompactTextString(m) } -func (*ReidentifyContentRequest) ProtoMessage() {} -func (*ReidentifyContentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{23} -} - -func (m *ReidentifyContentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReidentifyContentRequest.Unmarshal(m, b) -} -func (m *ReidentifyContentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReidentifyContentRequest.Marshal(b, m, deterministic) -} -func (m *ReidentifyContentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReidentifyContentRequest.Merge(m, src) -} -func (m *ReidentifyContentRequest) XXX_Size() int { - return xxx_messageInfo_ReidentifyContentRequest.Size(m) -} -func (m *ReidentifyContentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ReidentifyContentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ReidentifyContentRequest proto.InternalMessageInfo - -func (m *ReidentifyContentRequest) 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 { - if m != nil { - return m.InspectConfig - } - return nil -} - -func (m *ReidentifyContentRequest) GetItem() *ContentItem { - if m != nil { - return m.Item - } - return nil -} - -func (m *ReidentifyContentRequest) GetInspectTemplateName() string { - if m != nil { - return m.InspectTemplateName - } - return "" -} - -func (m *ReidentifyContentRequest) GetReidentifyTemplateName() string { - if m != nil { - return m.ReidentifyTemplateName - } - return "" -} - -// 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 *ReidentifyContentResponse) Reset() { *m = ReidentifyContentResponse{} } -func (m *ReidentifyContentResponse) String() string { return proto.CompactTextString(m) } -func (*ReidentifyContentResponse) ProtoMessage() {} -func (*ReidentifyContentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{24} -} - -func (m *ReidentifyContentResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReidentifyContentResponse.Unmarshal(m, b) -} -func (m *ReidentifyContentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReidentifyContentResponse.Marshal(b, m, deterministic) -} -func (m *ReidentifyContentResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReidentifyContentResponse.Merge(m, src) -} -func (m *ReidentifyContentResponse) XXX_Size() int { - return xxx_messageInfo_ReidentifyContentResponse.Size(m) -} -func (m *ReidentifyContentResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ReidentifyContentResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ReidentifyContentResponse proto.InternalMessageInfo - -func (m *ReidentifyContentResponse) GetItem() *ContentItem { - if m != nil { - return m.Item - } - return nil -} - -func (m *ReidentifyContentResponse) GetOverview() *TransformationOverview { - if m != nil { - return m.Overview - } - 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 *InspectContentRequest) Reset() { *m = InspectContentRequest{} } -func (m *InspectContentRequest) String() string { return proto.CompactTextString(m) } -func (*InspectContentRequest) ProtoMessage() {} -func (*InspectContentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{25} -} - -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 (m *InspectContentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_InspectContentRequest.Merge(m, src) -} -func (m *InspectContentRequest) XXX_Size() int { - return xxx_messageInfo_InspectContentRequest.Size(m) -} -func (m *InspectContentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_InspectContentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_InspectContentRequest proto.InternalMessageInfo - -func (m *InspectContentRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *InspectContentRequest) GetInspectConfig() *InspectConfig { - if m != nil { - return m.InspectConfig - } - return nil -} - -func (m *InspectContentRequest) GetItem() *ContentItem { - if m != nil { - return m.Item - } - return nil -} - -func (m *InspectContentRequest) GetInspectTemplateName() string { - if m != nil { - return m.InspectTemplateName - } - return "" -} - -// 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 *InspectContentResponse) Reset() { *m = InspectContentResponse{} } -func (m *InspectContentResponse) String() string { return proto.CompactTextString(m) } -func (*InspectContentResponse) ProtoMessage() {} -func (*InspectContentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{26} -} - -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 (m *InspectContentResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_InspectContentResponse.Merge(m, 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 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 *OutputStorageConfig) Reset() { *m = OutputStorageConfig{} } -func (m *OutputStorageConfig) String() string { return proto.CompactTextString(m) } -func (*OutputStorageConfig) ProtoMessage() {} -func (*OutputStorageConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{27} -} - -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 (m *OutputStorageConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_OutputStorageConfig.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*OutputStorageConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*OutputStorageConfig_Table)(nil), - } -} - -// 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 *InfoTypeStats) Reset() { *m = InfoTypeStats{} } -func (m *InfoTypeStats) String() string { return proto.CompactTextString(m) } -func (*InfoTypeStats) ProtoMessage() {} -func (*InfoTypeStats) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{28} -} - -func (m *InfoTypeStats) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InfoTypeStats.Unmarshal(m, b) -} -func (m *InfoTypeStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InfoTypeStats.Marshal(b, m, deterministic) -} -func (m *InfoTypeStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_InfoTypeStats.Merge(m, src) -} -func (m *InfoTypeStats) XXX_Size() int { - return xxx_messageInfo_InfoTypeStats.Size(m) -} -func (m *InfoTypeStats) XXX_DiscardUnknown() { - xxx_messageInfo_InfoTypeStats.DiscardUnknown(m) -} - -var xxx_messageInfo_InfoTypeStats proto.InternalMessageInfo - -func (m *InfoTypeStats) GetInfoType() *InfoType { - if m != nil { - return m.InfoType - } - return nil -} - -func (m *InfoTypeStats) GetCount() int64 { - if m != nil { - return m.Count - } - 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 *InspectDataSourceDetails) Reset() { *m = InspectDataSourceDetails{} } -func (m *InspectDataSourceDetails) String() string { return proto.CompactTextString(m) } -func (*InspectDataSourceDetails) ProtoMessage() {} -func (*InspectDataSourceDetails) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{29} -} - -func (m *InspectDataSourceDetails) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InspectDataSourceDetails.Unmarshal(m, b) -} -func (m *InspectDataSourceDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InspectDataSourceDetails.Marshal(b, m, deterministic) -} -func (m *InspectDataSourceDetails) XXX_Merge(src proto.Message) { - xxx_messageInfo_InspectDataSourceDetails.Merge(m, src) -} -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_InspectDataSourceDetails proto.InternalMessageInfo - -func (m *InspectDataSourceDetails) GetRequestedOptions() *InspectDataSourceDetails_RequestedOptions { - if m != nil { - return m.RequestedOptions - } - return nil -} - -func (m *InspectDataSourceDetails) GetResult() *InspectDataSourceDetails_Result { - if m != nil { - return m.Result - } - 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_6872a91dcb80f8dc, []int{29, 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 (m *InspectDataSourceDetails_RequestedOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_InspectDataSourceDetails_RequestedOptions.Merge(m, 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 { - if m != nil { - return m.SnapshotInspectTemplate - } - return nil -} - -func (m *InspectDataSourceDetails_RequestedOptions) GetJobConfig() *InspectJobConfig { - if m != nil { - return m.JobConfig - } - return nil -} - -// All result fields mentioned below are updated while the job is processing. -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 *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_6872a91dcb80f8dc, []int{29, 1} -} - -func (m *InspectDataSourceDetails_Result) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InspectDataSourceDetails_Result.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 *InspectDataSourceDetails_Result) XXX_Merge(src proto.Message) { - xxx_messageInfo_InspectDataSourceDetails_Result.Merge(m, src) -} -func (m *InspectDataSourceDetails_Result) XXX_Size() int { - return xxx_messageInfo_InspectDataSourceDetails_Result.Size(m) -} -func (m *InspectDataSourceDetails_Result) XXX_DiscardUnknown() { - xxx_messageInfo_InspectDataSourceDetails_Result.DiscardUnknown(m) -} - -var xxx_messageInfo_InspectDataSourceDetails_Result proto.InternalMessageInfo - -func (m *InspectDataSourceDetails_Result) GetProcessedBytes() int64 { - if m != nil { - return m.ProcessedBytes - } - return 0 -} - -func (m *InspectDataSourceDetails_Result) GetTotalEstimatedBytes() int64 { - if m != nil { - return m.TotalEstimatedBytes - } - return 0 -} - -func (m *InspectDataSourceDetails_Result) GetInfoTypeStats() []*InfoTypeStats { - if m != nil { - return m.InfoTypeStats - } - 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"` - // Description of the infotype. Translated when language is provided in the - // request. - Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,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_6872a91dcb80f8dc, []int{30} -} - -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 (m *InfoTypeDescription) XXX_Merge(src proto.Message) { - xxx_messageInfo_InfoTypeDescription.Merge(m, 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 { - if m != nil { - return m.Name - } - return "" -} - -func (m *InfoTypeDescription) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *InfoTypeDescription) GetSupportedBy() []InfoTypeSupportedBy { - if m != nil { - return m.SupportedBy - } - return nil -} - -func (m *InfoTypeDescription) GetDescription() string { - if m != nil { - return m.Description - } - 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:"-"` -} - -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_6872a91dcb80f8dc, []int{31} -} - -func (m *ListInfoTypesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListInfoTypesRequest.Unmarshal(m, b) -} -func (m *ListInfoTypesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListInfoTypesRequest.Marshal(b, m, deterministic) -} -func (m *ListInfoTypesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListInfoTypesRequest.Merge(m, src) -} -func (m *ListInfoTypesRequest) XXX_Size() int { - return xxx_messageInfo_ListInfoTypesRequest.Size(m) -} -func (m *ListInfoTypesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListInfoTypesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListInfoTypesRequest proto.InternalMessageInfo - -func (m *ListInfoTypesRequest) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *ListInfoTypesRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -// 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:"-"` -} - -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_6872a91dcb80f8dc, []int{32} -} - -func (m *ListInfoTypesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListInfoTypesResponse.Unmarshal(m, b) -} -func (m *ListInfoTypesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListInfoTypesResponse.Marshal(b, m, deterministic) -} -func (m *ListInfoTypesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListInfoTypesResponse.Merge(m, src) -} -func (m *ListInfoTypesResponse) XXX_Size() int { - return xxx_messageInfo_ListInfoTypesResponse.Size(m) -} -func (m *ListInfoTypesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListInfoTypesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListInfoTypesResponse proto.InternalMessageInfo - -func (m *ListInfoTypesResponse) GetInfoTypes() []*InfoTypeDescription { - if m != nil { - return m.InfoTypes - } - 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_6872a91dcb80f8dc, []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 (m *RiskAnalysisJobConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_RiskAnalysisJobConfig.Merge(m, 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 *RiskAnalysisJobConfig) GetSourceTable() *BigQueryTable { - if m != nil { - return m.SourceTable - } - return nil -} - -func (m *RiskAnalysisJobConfig) GetActions() []*Action { - if m != nil { - return m.Actions - } - 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 *QuasiId) Reset() { *m = QuasiId{} } -func (m *QuasiId) String() string { return proto.CompactTextString(m) } -func (*QuasiId) ProtoMessage() {} -func (*QuasiId) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []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 (m *QuasiId) XXX_Merge(src proto.Message) { - xxx_messageInfo_QuasiId.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*QuasiId) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*QuasiId_InfoType)(nil), - (*QuasiId_CustomTag)(nil), - (*QuasiId_Inferred)(nil), - } -} - -// 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:"-"` -} - -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_6872a91dcb80f8dc, []int{35} -} - -func (m *StatisticalTable) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StatisticalTable.Unmarshal(m, b) -} -func (m *StatisticalTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StatisticalTable.Marshal(b, m, deterministic) -} -func (m *StatisticalTable) XXX_Merge(src proto.Message) { - xxx_messageInfo_StatisticalTable.Merge(m, src) -} -func (m *StatisticalTable) XXX_Size() int { - return xxx_messageInfo_StatisticalTable.Size(m) -} -func (m *StatisticalTable) XXX_DiscardUnknown() { - xxx_messageInfo_StatisticalTable.DiscardUnknown(m) -} - -var xxx_messageInfo_StatisticalTable proto.InternalMessageInfo - -func (m *StatisticalTable) GetTable() *BigQueryTable { - if m != nil { - return m.Table - } - return nil -} - -func (m *StatisticalTable) GetQuasiIds() []*StatisticalTable_QuasiIdentifierField { - if m != nil { - return m.QuasiIds - } - return nil -} - -func (m *StatisticalTable) GetRelativeFrequency() *FieldId { - if m != nil { - return m.RelativeFrequency - } - return nil -} - -// 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 *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_6872a91dcb80f8dc, []int{35, 0} -} - -func (m *StatisticalTable_QuasiIdentifierField) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StatisticalTable_QuasiIdentifierField.Unmarshal(m, b) -} -func (m *StatisticalTable_QuasiIdentifierField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StatisticalTable_QuasiIdentifierField.Marshal(b, m, deterministic) -} -func (m *StatisticalTable_QuasiIdentifierField) XXX_Merge(src proto.Message) { - xxx_messageInfo_StatisticalTable_QuasiIdentifierField.Merge(m, src) -} -func (m *StatisticalTable_QuasiIdentifierField) XXX_Size() int { - return xxx_messageInfo_StatisticalTable_QuasiIdentifierField.Size(m) -} -func (m *StatisticalTable_QuasiIdentifierField) XXX_DiscardUnknown() { - xxx_messageInfo_StatisticalTable_QuasiIdentifierField.DiscardUnknown(m) -} - -var xxx_messageInfo_StatisticalTable_QuasiIdentifierField proto.InternalMessageInfo - -func (m *StatisticalTable_QuasiIdentifierField) GetField() *FieldId { - if m != nil { - return m.Field - } - return nil -} - -func (m *StatisticalTable_QuasiIdentifierField) GetCustomTag() string { - if m != nil { - return m.CustomTag - } - return "" -} - -// 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_6872a91dcb80f8dc, []int{36} -} - -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 (m *PrivacyMetric) XXX_Merge(src proto.Message) { - xxx_messageInfo_PrivacyMetric.Merge(m, 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 { - 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 nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*PrivacyMetric) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*PrivacyMetric_NumericalStatsConfig_)(nil), - (*PrivacyMetric_CategoricalStatsConfig_)(nil), - (*PrivacyMetric_KAnonymityConfig_)(nil), - (*PrivacyMetric_LDiversityConfig_)(nil), - (*PrivacyMetric_KMapEstimationConfig_)(nil), - (*PrivacyMetric_DeltaPresenceEstimationConfig_)(nil), - } -} - -// 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 *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_6872a91dcb80f8dc, []int{36, 0} -} - -func (m *PrivacyMetric_NumericalStatsConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PrivacyMetric_NumericalStatsConfig.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 *PrivacyMetric_NumericalStatsConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_PrivacyMetric_NumericalStatsConfig.Merge(m, src) -} -func (m *PrivacyMetric_NumericalStatsConfig) XXX_Size() int { - return xxx_messageInfo_PrivacyMetric_NumericalStatsConfig.Size(m) -} -func (m *PrivacyMetric_NumericalStatsConfig) XXX_DiscardUnknown() { - xxx_messageInfo_PrivacyMetric_NumericalStatsConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_PrivacyMetric_NumericalStatsConfig proto.InternalMessageInfo - -func (m *PrivacyMetric_NumericalStatsConfig) GetField() *FieldId { - if m != nil { - return m.Field - } - 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 *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_6872a91dcb80f8dc, []int{36, 1} -} - -func (m *PrivacyMetric_CategoricalStatsConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PrivacyMetric_CategoricalStatsConfig.Unmarshal(m, b) -} -func (m *PrivacyMetric_CategoricalStatsConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PrivacyMetric_CategoricalStatsConfig.Marshal(b, m, deterministic) -} -func (m *PrivacyMetric_CategoricalStatsConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_PrivacyMetric_CategoricalStatsConfig.Merge(m, src) -} -func (m *PrivacyMetric_CategoricalStatsConfig) XXX_Size() int { - return xxx_messageInfo_PrivacyMetric_CategoricalStatsConfig.Size(m) -} -func (m *PrivacyMetric_CategoricalStatsConfig) XXX_DiscardUnknown() { - xxx_messageInfo_PrivacyMetric_CategoricalStatsConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_PrivacyMetric_CategoricalStatsConfig proto.InternalMessageInfo - -func (m *PrivacyMetric_CategoricalStatsConfig) GetField() *FieldId { - if m != nil { - return m.Field - } - 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 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 *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_6872a91dcb80f8dc, []int{36, 2} -} - -func (m *PrivacyMetric_KAnonymityConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PrivacyMetric_KAnonymityConfig.Unmarshal(m, b) -} -func (m *PrivacyMetric_KAnonymityConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PrivacyMetric_KAnonymityConfig.Marshal(b, m, deterministic) -} -func (m *PrivacyMetric_KAnonymityConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_PrivacyMetric_KAnonymityConfig.Merge(m, src) -} -func (m *PrivacyMetric_KAnonymityConfig) XXX_Size() int { - return xxx_messageInfo_PrivacyMetric_KAnonymityConfig.Size(m) -} -func (m *PrivacyMetric_KAnonymityConfig) XXX_DiscardUnknown() { - xxx_messageInfo_PrivacyMetric_KAnonymityConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_PrivacyMetric_KAnonymityConfig proto.InternalMessageInfo - -func (m *PrivacyMetric_KAnonymityConfig) GetQuasiIds() []*FieldId { - if m != nil { - return m.QuasiIds - } - return nil -} - -func (m *PrivacyMetric_KAnonymityConfig) GetEntityId() *EntityId { - if m != nil { - return m.EntityId - } - 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:"-"` -} - -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_6872a91dcb80f8dc, []int{36, 3} -} - -func (m *PrivacyMetric_LDiversityConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PrivacyMetric_LDiversityConfig.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 *PrivacyMetric_LDiversityConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_PrivacyMetric_LDiversityConfig.Merge(m, src) -} -func (m *PrivacyMetric_LDiversityConfig) XXX_Size() int { - return xxx_messageInfo_PrivacyMetric_LDiversityConfig.Size(m) -} -func (m *PrivacyMetric_LDiversityConfig) XXX_DiscardUnknown() { - xxx_messageInfo_PrivacyMetric_LDiversityConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_PrivacyMetric_LDiversityConfig proto.InternalMessageInfo - -func (m *PrivacyMetric_LDiversityConfig) GetQuasiIds() []*FieldId { - if m != nil { - return m.QuasiIds - } - return nil -} - -func (m *PrivacyMetric_LDiversityConfig) GetSensitiveAttribute() *FieldId { - if m != nil { - return m.SensitiveAttribute - } - 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:"-"` -} - -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_6872a91dcb80f8dc, []int{36, 4} -} - -func (m *PrivacyMetric_KMapEstimationConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig.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 *PrivacyMetric_KMapEstimationConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_PrivacyMetric_KMapEstimationConfig.Merge(m, src) -} -func (m *PrivacyMetric_KMapEstimationConfig) XXX_Size() int { - return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig.Size(m) -} -func (m *PrivacyMetric_KMapEstimationConfig) XXX_DiscardUnknown() { - xxx_messageInfo_PrivacyMetric_KMapEstimationConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_PrivacyMetric_KMapEstimationConfig proto.InternalMessageInfo - -func (m *PrivacyMetric_KMapEstimationConfig) GetQuasiIds() []*PrivacyMetric_KMapEstimationConfig_TaggedField { - if m != nil { - return m.QuasiIds - } - return nil -} - -func (m *PrivacyMetric_KMapEstimationConfig) GetRegionCode() string { - if m != nil { - return m.RegionCode - } - return "" -} - -func (m *PrivacyMetric_KMapEstimationConfig) GetAuxiliaryTables() []*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable { - if m != nil { - return m.AuxiliaryTables - } - 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:"-"` -} - -func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) Reset() { - *m = PrivacyMetric_KMapEstimationConfig_TaggedField{} -} -func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) String() string { - return proto.CompactTextString(m) -} -func (*PrivacyMetric_KMapEstimationConfig_TaggedField) ProtoMessage() {} -func (*PrivacyMetric_KMapEstimationConfig_TaggedField) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{36, 4, 0} -} - -func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_TaggedField.Unmarshal(m, b) -} -func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_TaggedField.Marshal(b, m, deterministic) -} -func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_Merge(src proto.Message) { - xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_TaggedField.Merge(m, src) -} -func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_Size() int { - return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_TaggedField.Size(m) -} -func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_DiscardUnknown() { - xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_TaggedField.DiscardUnknown(m) -} - -var xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_TaggedField proto.InternalMessageInfo - -func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) GetField() *FieldId { - if m != nil { - return m.Field - } - return nil -} - -type isPrivacyMetric_KMapEstimationConfig_TaggedField_Tag interface { - isPrivacyMetric_KMapEstimationConfig_TaggedField_Tag() -} - -type PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType struct { - InfoType *InfoType `protobuf:"bytes,2,opt,name=info_type,json=infoType,proto3,oneof"` -} - -type PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag struct { - CustomTag string `protobuf:"bytes,3,opt,name=custom_tag,json=customTag,proto3,oneof"` -} - -type PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred struct { - Inferred *empty.Empty `protobuf:"bytes,4,opt,name=inferred,proto3,oneof"` -} - -func (*PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType) isPrivacyMetric_KMapEstimationConfig_TaggedField_Tag() { -} - -func (*PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag) isPrivacyMetric_KMapEstimationConfig_TaggedField_Tag() { -} - -func (*PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred) isPrivacyMetric_KMapEstimationConfig_TaggedField_Tag() { -} - -func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) GetTag() isPrivacyMetric_KMapEstimationConfig_TaggedField_Tag { - if m != nil { - return m.Tag - } - return nil -} - -func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) GetInfoType() *InfoType { - if x, ok := m.GetTag().(*PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType); ok { - return x.InfoType - } - return nil -} - -func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) GetCustomTag() string { - if x, ok := m.GetTag().(*PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag); ok { - return x.CustomTag - } - return "" -} - -func (m *PrivacyMetric_KMapEstimationConfig_TaggedField) GetInferred() *empty.Empty { - if x, ok := m.GetTag().(*PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred); ok { - return x.Inferred - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*PrivacyMetric_KMapEstimationConfig_TaggedField) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*PrivacyMetric_KMapEstimationConfig_TaggedField_InfoType)(nil), - (*PrivacyMetric_KMapEstimationConfig_TaggedField_CustomTag)(nil), - (*PrivacyMetric_KMapEstimationConfig_TaggedField_Inferred)(nil), - } -} - -// 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 *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_6872a91dcb80f8dc, []int{36, 4, 1} -} - -func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable.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 *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) XXX_Merge(src proto.Message) { - xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable.Merge(m, src) -} -func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) XXX_Size() int { - return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable.Size(m) -} -func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) XXX_DiscardUnknown() { - xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable.DiscardUnknown(m) -} - -var xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable proto.InternalMessageInfo - -func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) GetTable() *BigQueryTable { - if m != nil { - return m.Table - } - return nil -} - -func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) GetQuasiIds() []*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField { - if m != nil { - return m.QuasiIds - } - return nil -} - -func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable) GetRelativeFrequency() *FieldId { - if m != nil { - return m.RelativeFrequency - } - return nil -} - -// 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 *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_6872a91dcb80f8dc, []int{36, 4, 1, 0} -} - -func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField.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 *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) XXX_Merge(src proto.Message) { - xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField.Merge(m, src) -} -func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) XXX_Size() int { - return xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField.Size(m) -} -func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) XXX_DiscardUnknown() { - xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField.DiscardUnknown(m) -} - -var xxx_messageInfo_PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField proto.InternalMessageInfo - -func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) GetField() *FieldId { - if m != nil { - return m.Field - } - return nil -} - -func (m *PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField) 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:"-"` -} - -func (m *PrivacyMetric_DeltaPresenceEstimationConfig) Reset() { - *m = PrivacyMetric_DeltaPresenceEstimationConfig{} -} -func (m *PrivacyMetric_DeltaPresenceEstimationConfig) String() string { - return proto.CompactTextString(m) -} -func (*PrivacyMetric_DeltaPresenceEstimationConfig) ProtoMessage() {} -func (*PrivacyMetric_DeltaPresenceEstimationConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{36, 5} -} - -func (m *PrivacyMetric_DeltaPresenceEstimationConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PrivacyMetric_DeltaPresenceEstimationConfig.Unmarshal(m, b) -} -func (m *PrivacyMetric_DeltaPresenceEstimationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PrivacyMetric_DeltaPresenceEstimationConfig.Marshal(b, m, deterministic) -} -func (m *PrivacyMetric_DeltaPresenceEstimationConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_PrivacyMetric_DeltaPresenceEstimationConfig.Merge(m, src) -} -func (m *PrivacyMetric_DeltaPresenceEstimationConfig) XXX_Size() int { - return xxx_messageInfo_PrivacyMetric_DeltaPresenceEstimationConfig.Size(m) -} -func (m *PrivacyMetric_DeltaPresenceEstimationConfig) XXX_DiscardUnknown() { - xxx_messageInfo_PrivacyMetric_DeltaPresenceEstimationConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_PrivacyMetric_DeltaPresenceEstimationConfig proto.InternalMessageInfo - -func (m *PrivacyMetric_DeltaPresenceEstimationConfig) GetQuasiIds() []*QuasiId { - if m != nil { - return m.QuasiIds - } - return nil -} - -func (m *PrivacyMetric_DeltaPresenceEstimationConfig) GetRegionCode() string { - if m != nil { - return m.RegionCode - } - return "" -} - -func (m *PrivacyMetric_DeltaPresenceEstimationConfig) GetAuxiliaryTables() []*StatisticalTable { - if m != nil { - return m.AuxiliaryTables - } - return nil -} - -// 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 (m *AnalyzeDataSourceRiskDetails) Reset() { *m = AnalyzeDataSourceRiskDetails{} } -func (m *AnalyzeDataSourceRiskDetails) String() string { return proto.CompactTextString(m) } -func (*AnalyzeDataSourceRiskDetails) ProtoMessage() {} -func (*AnalyzeDataSourceRiskDetails) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{37} -} - -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 (m *AnalyzeDataSourceRiskDetails) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeDataSourceRiskDetails.Merge(m, src) -} -func (m *AnalyzeDataSourceRiskDetails) XXX_Size() int { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails.Size(m) -} -func (m *AnalyzeDataSourceRiskDetails) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeDataSourceRiskDetails.DiscardUnknown(m) -} - -var xxx_messageInfo_AnalyzeDataSourceRiskDetails proto.InternalMessageInfo - -func (m *AnalyzeDataSourceRiskDetails) GetRequestedPrivacyMetric() *PrivacyMetric { - if m != nil { - return m.RequestedPrivacyMetric - } - return nil -} - -func (m *AnalyzeDataSourceRiskDetails) GetRequestedSourceTable() *BigQueryTable { - if m != nil { - return m.RequestedSourceTable - } - return nil -} - -type isAnalyzeDataSourceRiskDetails_Result interface { - isAnalyzeDataSourceRiskDetails_Result() -} - -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 (*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 (m *AnalyzeDataSourceRiskDetails) GetResult() isAnalyzeDataSourceRiskDetails_Result { - if m != nil { - return m.Result - } - return nil -} - -func (m *AnalyzeDataSourceRiskDetails) GetNumericalStatsResult() *AnalyzeDataSourceRiskDetails_NumericalStatsResult { - if x, ok := m.GetResult().(*AnalyzeDataSourceRiskDetails_NumericalStatsResult_); ok { - return x.NumericalStatsResult - } - return nil -} - -func (m *AnalyzeDataSourceRiskDetails) GetCategoricalStatsResult() *AnalyzeDataSourceRiskDetails_CategoricalStatsResult { - if x, ok := m.GetResult().(*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_); ok { - return x.CategoricalStatsResult - } - return nil -} - -func (m *AnalyzeDataSourceRiskDetails) GetKAnonymityResult() *AnalyzeDataSourceRiskDetails_KAnonymityResult { - if x, ok := m.GetResult().(*AnalyzeDataSourceRiskDetails_KAnonymityResult_); ok { - return x.KAnonymityResult - } - return nil -} - -func (m *AnalyzeDataSourceRiskDetails) GetLDiversityResult() *AnalyzeDataSourceRiskDetails_LDiversityResult { - if x, ok := m.GetResult().(*AnalyzeDataSourceRiskDetails_LDiversityResult_); ok { - return x.LDiversityResult - } - return nil -} - -func (m *AnalyzeDataSourceRiskDetails) GetKMapEstimationResult() *AnalyzeDataSourceRiskDetails_KMapEstimationResult { - if x, ok := m.GetResult().(*AnalyzeDataSourceRiskDetails_KMapEstimationResult_); ok { - return x.KMapEstimationResult - } - return nil -} - -func (m *AnalyzeDataSourceRiskDetails) GetDeltaPresenceEstimationResult() *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult { - if x, ok := m.GetResult().(*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_); ok { - return x.DeltaPresenceEstimationResult - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AnalyzeDataSourceRiskDetails) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AnalyzeDataSourceRiskDetails_NumericalStatsResult_)(nil), - (*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_)(nil), - (*AnalyzeDataSourceRiskDetails_KAnonymityResult_)(nil), - (*AnalyzeDataSourceRiskDetails_LDiversityResult_)(nil), - (*AnalyzeDataSourceRiskDetails_KMapEstimationResult_)(nil), - (*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_)(nil), - } -} - -// 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 *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_6872a91dcb80f8dc, []int{37, 0} -} - -func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_NumericalStatsResult.Unmarshal(m, b) -} -func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_NumericalStatsResult.Marshal(b, m, deterministic) -} -func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_NumericalStatsResult.Merge(m, src) -} -func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) XXX_Size() int { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_NumericalStatsResult.Size(m) -} -func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_NumericalStatsResult.DiscardUnknown(m) -} - -var xxx_messageInfo_AnalyzeDataSourceRiskDetails_NumericalStatsResult proto.InternalMessageInfo - -func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetMinValue() *Value { - if m != nil { - return m.MinValue - } - return nil -} - -func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetMaxValue() *Value { - if m != nil { - return m.MaxValue - } - return nil -} - -func (m *AnalyzeDataSourceRiskDetails_NumericalStatsResult) GetQuantileValues() []*Value { - if m != nil { - return m.QuantileValues - } - 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:"-"` -} - -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_6872a91dcb80f8dc, []int{37, 1} -} - -func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult.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 *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult.Merge(m, src) -} -func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) XXX_Size() int { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult.Size(m) -} -func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) XXX_DiscardUnknown() { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult.DiscardUnknown(m) -} - -var xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult proto.InternalMessageInfo - -func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult) GetValueFrequencyHistogramBuckets() []*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket { - if m != nil { - return m.ValueFrequencyHistogramBuckets - } - 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:"-"` -} - -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_6872a91dcb80f8dc, []int{37, 1, 0} -} - -func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket.Unmarshal(m, b) -} -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 *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket.Merge(m, 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_AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket proto.InternalMessageInfo - -func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetValueFrequencyLowerBound() int64 { - if m != nil { - return m.ValueFrequencyLowerBound - } - return 0 -} - -func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetValueFrequencyUpperBound() int64 { - if m != nil { - return m.ValueFrequencyUpperBound - } - return 0 -} - -func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketSize() int64 { - if m != nil { - return m.BucketSize - } - return 0 -} - -func (m *AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket) GetBucketValues() []*ValueFrequency { - if m != nil { - return m.BucketValues - } - 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:"-"` -} - -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_6872a91dcb80f8dc, []int{37, 2} -} - -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult.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 *AnalyzeDataSourceRiskDetails_KAnonymityResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult.Merge(m, 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) -} - -var xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult proto.InternalMessageInfo - -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult) GetEquivalenceClassHistogramBuckets() []*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket { - if m != nil { - return m.EquivalenceClassHistogramBuckets - } - 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 *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) Reset() { - *m = AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass{} -} -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_6872a91dcb80f8dc, []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 (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass.Merge(m, 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) -} - -var xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass proto.InternalMessageInfo - -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) GetQuasiIdsValues() []*Value { - if m != nil { - return m.QuasiIdsValues - } - return nil -} - -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass) GetEquivalenceClassSize() int64 { - if m != nil { - return m.EquivalenceClassSize - } - return 0 -} - -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 *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) Reset() { - *m = AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket{} -} -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) String() string { - return proto.CompactTextString(m) -} -func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) ProtoMessage() {} -func (*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{37, 2, 1} -} - -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket.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 *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket.Merge(m, src) -} -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_AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket proto.InternalMessageInfo - -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetEquivalenceClassSizeLowerBound() int64 { - if m != nil { - return m.EquivalenceClassSizeLowerBound - } - return 0 -} - -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetEquivalenceClassSizeUpperBound() int64 { - if m != nil { - return m.EquivalenceClassSizeUpperBound - } - return 0 -} - -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketSize() int64 { - if m != nil { - return m.BucketSize - } - return 0 -} - -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketValues() []*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass { - if m != nil { - return m.BucketValues - } - return nil -} - -func (m *AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket) GetBucketValueCount() int64 { - if m != nil { - return m.BucketValueCount - } - return 0 -} - -// 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 (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_6872a91dcb80f8dc, []int{37, 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 (m *AnalyzeDataSourceRiskDetails_LDiversityResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult.Merge(m, 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) -} - -var xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult proto.InternalMessageInfo - -func (m *AnalyzeDataSourceRiskDetails_LDiversityResult) GetSensitiveValueFrequencyHistogramBuckets() []*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket { - if m != nil { - return m.SensitiveValueFrequencyHistogramBuckets - } - 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 *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_6872a91dcb80f8dc, []int{37, 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 (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass.Merge(m, 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) -} - -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 *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetEquivalenceClassSize() int64 { - if m != nil { - return m.EquivalenceClassSize - } - return 0 -} - -func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetNumDistinctSensitiveValues() int64 { - if m != nil { - return m.NumDistinctSensitiveValues - } - return 0 -} - -func (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass) GetTopSensitiveValues() []*ValueFrequency { - if m != nil { - return m.TopSensitiveValues - } - 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"` - 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_6872a91dcb80f8dc, []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 (m *AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket.Merge(m, 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_6872a91dcb80f8dc, []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 (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult.Merge(m, 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_6872a91dcb80f8dc, []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 (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues.Merge(m, 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_6872a91dcb80f8dc, []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 (m *AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket.Merge(m, 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_6872a91dcb80f8dc, []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 (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult.Merge(m, 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_6872a91dcb80f8dc, []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 (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues.Merge(m, 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_6872a91dcb80f8dc, []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 (m *AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket.Merge(m, 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_6872a91dcb80f8dc, []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 (m *ValueFrequency) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValueFrequency.Merge(m, 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_6872a91dcb80f8dc, []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 (m *Value) XXX_Merge(src proto.Message) { - xxx_messageInfo_Value.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*Value) XXX_OneofWrappers() []interface{} { - return []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), - } -} - -// 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_6872a91dcb80f8dc, []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 (m *QuoteInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_QuoteInfo.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*QuoteInfo) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*QuoteInfo_DateTime)(nil), - } -} - -// 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_6872a91dcb80f8dc, []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 (m *DateTime) XXX_Merge(src proto.Message) { - xxx_messageInfo_DateTime.Merge(m, 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_6872a91dcb80f8dc, []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 (m *DateTime_TimeZone) XXX_Merge(src proto.Message) { - xxx_messageInfo_DateTime_TimeZone.Merge(m, 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_6872a91dcb80f8dc, []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 (m *DeidentifyConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeidentifyConfig.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*DeidentifyConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*DeidentifyConfig_InfoTypeTransformations)(nil), - (*DeidentifyConfig_RecordTransformations)(nil), - } -} - -// 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 - // *PrimitiveTransformation_CryptoDeterministicConfig - 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_6872a91dcb80f8dc, []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 (m *PrimitiveTransformation) XXX_Merge(src proto.Message) { - xxx_messageInfo_PrimitiveTransformation.Merge(m, 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"` -} - -type PrimitiveTransformation_CryptoDeterministicConfig struct { - CryptoDeterministicConfig *CryptoDeterministicConfig `protobuf:"bytes,12,opt,name=crypto_deterministic_config,json=cryptoDeterministicConfig,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 (*PrimitiveTransformation_CryptoDeterministicConfig) 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 -} - -func (m *PrimitiveTransformation) GetCryptoDeterministicConfig() *CryptoDeterministicConfig { - if x, ok := m.GetTransformation().(*PrimitiveTransformation_CryptoDeterministicConfig); ok { - return x.CryptoDeterministicConfig - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*PrimitiveTransformation) XXX_OneofWrappers() []interface{} { - return []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), - (*PrimitiveTransformation_CryptoDeterministicConfig)(nil), - } -} - -// 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_6872a91dcb80f8dc, []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 (m *TimePartConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_TimePartConfig.Merge(m, 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 base64 encoded representation of the hashed output -// (for example, L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=). -// Currently, only string and integer values can be hashed. -// See https://cloud.google.com/dlp/docs/pseudonymization to learn more. -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_6872a91dcb80f8dc, []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 (m *CryptoHashConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_CryptoHashConfig.Merge(m, 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 -} - -// Pseudonymization method that generates deterministic encryption for the given -// input. Outputs a base64 encoded representation of the encrypted output. -// Uses AES-SIV based on the RFC https://tools.ietf.org/html/rfc5297. -type CryptoDeterministicConfig struct { - // The key used by the encryption function. - CryptoKey *CryptoKey `protobuf:"bytes,1,opt,name=crypto_key,json=cryptoKey,proto3" json:"crypto_key,omitempty"` - // The custom info type to annotate the surrogate with. - // This annotation will be applied to the surrogate by prefixing it with - // the name of the custom info type followed by the number of - // characters comprising the surrogate. The following scheme defines the - // format: (): - // - // For example, if the name of custom info type 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 info type 'Surrogate'. This facilitates reversal of the - // surrogate when it occurs in free text. - // - // In order for inspection to work properly, the name of this info type must - // not occur naturally anywhere in your data; otherwise, inspection may either - // - // - reverse a surrogate that does not correspond to an actual identifier - // - be unable to parse the surrogate and result in an error - // - // Therefore, choose your custom info type 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,2,opt,name=surrogate_info_type,json=surrogateInfoType,proto3" json:"surrogate_info_type,omitempty"` - // Optional. A context may be used for higher security and maintaining - // referential integrity such that the same identifier in two different - // contexts will be given a distinct surrogate. The context is appended to - // plaintext value being encrypted. On decryption the provided context is - // validated against the value used during encryption. If a context was - // provided during encryption, same context must be provided during decryption - // as well. - // - // If the context is not set, plaintext would be used as is for encryption. - // If the context is set but: - // - // 1. there is no record present when transforming a given value or - // 2. the field is not present when transforming a given value, - // - // plaintext would be used as is for encryption. - // - // Note that case (1) is expected when an `InfoTypeTransformation` is - // applied to both structured and non-structured `ContentItem`s. - Context *FieldId `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CryptoDeterministicConfig) Reset() { *m = CryptoDeterministicConfig{} } -func (m *CryptoDeterministicConfig) String() string { return proto.CompactTextString(m) } -func (*CryptoDeterministicConfig) ProtoMessage() {} -func (*CryptoDeterministicConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{46} -} - -func (m *CryptoDeterministicConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CryptoDeterministicConfig.Unmarshal(m, b) -} -func (m *CryptoDeterministicConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CryptoDeterministicConfig.Marshal(b, m, deterministic) -} -func (m *CryptoDeterministicConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_CryptoDeterministicConfig.Merge(m, src) -} -func (m *CryptoDeterministicConfig) XXX_Size() int { - return xxx_messageInfo_CryptoDeterministicConfig.Size(m) -} -func (m *CryptoDeterministicConfig) XXX_DiscardUnknown() { - xxx_messageInfo_CryptoDeterministicConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_CryptoDeterministicConfig proto.InternalMessageInfo - -func (m *CryptoDeterministicConfig) GetCryptoKey() *CryptoKey { - if m != nil { - return m.CryptoKey - } - return nil -} - -func (m *CryptoDeterministicConfig) GetSurrogateInfoType() *InfoType { - if m != nil { - return m.SurrogateInfoType - } - return nil -} - -func (m *CryptoDeterministicConfig) GetContext() *FieldId { - if m != nil { - return m.Context - } - 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_6872a91dcb80f8dc, []int{47} -} - -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 (m *ReplaceValueConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReplaceValueConfig.Merge(m, 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_6872a91dcb80f8dc, []int{48} -} - -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 (m *ReplaceWithInfoTypeConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReplaceWithInfoTypeConfig.Merge(m, 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_6872a91dcb80f8dc, []int{49} -} - -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 (m *RedactConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_RedactConfig.Merge(m, 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_6872a91dcb80f8dc, []int{50} -} - -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 (m *CharsToIgnore) XXX_Merge(src proto.Message) { - xxx_messageInfo_CharsToIgnore.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*CharsToIgnore) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CharsToIgnore_CharactersToSkip)(nil), - (*CharsToIgnore_CommonCharactersToIgnore)(nil), - } -} - -// 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_6872a91dcb80f8dc, []int{51} -} - -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 (m *CharacterMaskConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_CharacterMaskConfig.Merge(m, 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_6872a91dcb80f8dc, []int{52} -} - -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 (m *FixedSizeBucketingConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_FixedSizeBucketingConfig.Merge(m, 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_6872a91dcb80f8dc, []int{53} -} - -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 (m *BucketingConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_BucketingConfig.Merge(m, 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_6872a91dcb80f8dc, []int{53, 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 (m *BucketingConfig_Bucket) XXX_Merge(src proto.Message) { - xxx_messageInfo_BucketingConfig_Bucket.Merge(m, 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 Format Preserving Encryption -// (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. -// -// Note: We recommend using CryptoDeterministicConfig for all use cases which -// do not require preserving the input alphabet space and size, plus warrant -// referential integrity. -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_6872a91dcb80f8dc, []int{54} -} - -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 (m *CryptoReplaceFfxFpeConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_CryptoReplaceFfxFpeConfig.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*CryptoReplaceFfxFpeConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CryptoReplaceFfxFpeConfig_CommonAlphabet)(nil), - (*CryptoReplaceFfxFpeConfig_CustomAlphabet)(nil), - (*CryptoReplaceFfxFpeConfig_Radix)(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:"-"` -} - -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_6872a91dcb80f8dc, []int{55} -} - -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 (m *CryptoKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_CryptoKey.Merge(m, 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_OneofWrappers is for the internal use of the proto package. -func (*CryptoKey) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CryptoKey_Transient)(nil), - (*CryptoKey_Unwrapped)(nil), - (*CryptoKey_KmsWrapped)(nil), - } -} - -// 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 *TransientCryptoKey) Reset() { *m = TransientCryptoKey{} } -func (m *TransientCryptoKey) String() string { return proto.CompactTextString(m) } -func (*TransientCryptoKey) ProtoMessage() {} -func (*TransientCryptoKey) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{56} -} - -func (m *TransientCryptoKey) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransientCryptoKey.Unmarshal(m, b) -} -func (m *TransientCryptoKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransientCryptoKey.Marshal(b, m, deterministic) -} -func (m *TransientCryptoKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransientCryptoKey.Merge(m, src) -} -func (m *TransientCryptoKey) XXX_Size() int { - return xxx_messageInfo_TransientCryptoKey.Size(m) -} -func (m *TransientCryptoKey) XXX_DiscardUnknown() { - xxx_messageInfo_TransientCryptoKey.DiscardUnknown(m) -} - -var xxx_messageInfo_TransientCryptoKey proto.InternalMessageInfo - -func (m *TransientCryptoKey) GetName() string { - if m != nil { - return m.Name - } - 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 { - // A 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_6872a91dcb80f8dc, []int{57} -} - -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 (m *UnwrappedCryptoKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_UnwrappedCryptoKey.Merge(m, src) -} -func (m *UnwrappedCryptoKey) XXX_Size() int { - return xxx_messageInfo_UnwrappedCryptoKey.Size(m) -} -func (m *UnwrappedCryptoKey) XXX_DiscardUnknown() { - xxx_messageInfo_UnwrappedCryptoKey.DiscardUnknown(m) -} - -var xxx_messageInfo_UnwrappedCryptoKey proto.InternalMessageInfo - -func (m *UnwrappedCryptoKey) GetKey() []byte { - if m != nil { - return m.Key - } - return nil -} - -// Include to use an existing data crypto key wrapped by KMS. -// The wrapped key must be a 128/192/256 bit key. -// 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 *KmsWrappedCryptoKey) Reset() { *m = KmsWrappedCryptoKey{} } -func (m *KmsWrappedCryptoKey) String() string { return proto.CompactTextString(m) } -func (*KmsWrappedCryptoKey) ProtoMessage() {} -func (*KmsWrappedCryptoKey) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{58} -} - -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 (m *KmsWrappedCryptoKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_KmsWrappedCryptoKey.Merge(m, 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_6872a91dcb80f8dc, []int{59} -} - -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 *DateShiftConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_DateShiftConfig.Merge(m, src) -} -func (m *DateShiftConfig) XXX_Size() int { - return xxx_messageInfo_DateShiftConfig.Size(m) -} -func (m *DateShiftConfig) XXX_DiscardUnknown() { - xxx_messageInfo_DateShiftConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_DateShiftConfig proto.InternalMessageInfo - -func (m *DateShiftConfig) GetUpperBoundDays() int32 { - if m != nil { - return m.UpperBoundDays - } - return 0 -} - -func (m *DateShiftConfig) GetLowerBoundDays() int32 { - if m != nil { - return m.LowerBoundDays - } - return 0 -} - -func (m *DateShiftConfig) GetContext() *FieldId { - if m != nil { - return m.Context - } - return nil -} - -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 nil -} - -func (m *DateShiftConfig) GetCryptoKey() *CryptoKey { - if x, ok := m.GetMethod().(*DateShiftConfig_CryptoKey); ok { - return x.CryptoKey - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*DateShiftConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*DateShiftConfig_CryptoKey)(nil), - } -} - -// 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 *InfoTypeTransformations) Reset() { *m = InfoTypeTransformations{} } -func (m *InfoTypeTransformations) String() string { return proto.CompactTextString(m) } -func (*InfoTypeTransformations) ProtoMessage() {} -func (*InfoTypeTransformations) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{60} -} - -func (m *InfoTypeTransformations) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InfoTypeTransformations.Unmarshal(m, b) -} -func (m *InfoTypeTransformations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InfoTypeTransformations.Marshal(b, m, deterministic) -} -func (m *InfoTypeTransformations) XXX_Merge(src proto.Message) { - xxx_messageInfo_InfoTypeTransformations.Merge(m, src) -} -func (m *InfoTypeTransformations) XXX_Size() int { - return xxx_messageInfo_InfoTypeTransformations.Size(m) -} -func (m *InfoTypeTransformations) XXX_DiscardUnknown() { - xxx_messageInfo_InfoTypeTransformations.DiscardUnknown(m) -} - -var xxx_messageInfo_InfoTypeTransformations proto.InternalMessageInfo - -func (m *InfoTypeTransformations) GetTransformations() []*InfoTypeTransformations_InfoTypeTransformation { - if m != nil { - return m.Transformations - } - 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_6872a91dcb80f8dc, []int{60, 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 (m *InfoTypeTransformations_InfoTypeTransformation) XXX_Merge(src proto.Message) { - xxx_messageInfo_InfoTypeTransformations_InfoTypeTransformation.Merge(m, 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_6872a91dcb80f8dc, []int{61} -} - -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 (m *FieldTransformation) XXX_Merge(src proto.Message) { - xxx_messageInfo_FieldTransformation.Merge(m, src) -} -func (m *FieldTransformation) XXX_Size() int { - return xxx_messageInfo_FieldTransformation.Size(m) -} -func (m *FieldTransformation) XXX_DiscardUnknown() { - xxx_messageInfo_FieldTransformation.DiscardUnknown(m) -} - -var xxx_messageInfo_FieldTransformation proto.InternalMessageInfo - -func (m *FieldTransformation) GetFields() []*FieldId { - if m != nil { - return m.Fields - } - return nil -} - -func (m *FieldTransformation) GetCondition() *RecordCondition { - if m != nil { - return m.Condition - } - return nil -} - -type isFieldTransformation_Transformation interface { - isFieldTransformation_Transformation() -} - -type FieldTransformation_PrimitiveTransformation struct { - PrimitiveTransformation *PrimitiveTransformation `protobuf:"bytes,4,opt,name=primitive_transformation,json=primitiveTransformation,proto3,oneof"` -} - -type FieldTransformation_InfoTypeTransformations struct { - InfoTypeTransformations *InfoTypeTransformations `protobuf:"bytes,5,opt,name=info_type_transformations,json=infoTypeTransformations,proto3,oneof"` -} - -func (*FieldTransformation_PrimitiveTransformation) isFieldTransformation_Transformation() {} - -func (*FieldTransformation_InfoTypeTransformations) isFieldTransformation_Transformation() {} - -func (m *FieldTransformation) GetTransformation() isFieldTransformation_Transformation { - if m != nil { - return m.Transformation - } - return nil -} - -func (m *FieldTransformation) GetPrimitiveTransformation() *PrimitiveTransformation { - if x, ok := m.GetTransformation().(*FieldTransformation_PrimitiveTransformation); ok { - return x.PrimitiveTransformation - } - return nil -} - -func (m *FieldTransformation) GetInfoTypeTransformations() *InfoTypeTransformations { - if x, ok := m.GetTransformation().(*FieldTransformation_InfoTypeTransformations); ok { - return x.InfoTypeTransformations - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*FieldTransformation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*FieldTransformation_PrimitiveTransformation)(nil), - (*FieldTransformation_InfoTypeTransformations)(nil), - } -} - -// 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 *RecordTransformations) Reset() { *m = RecordTransformations{} } -func (m *RecordTransformations) String() string { return proto.CompactTextString(m) } -func (*RecordTransformations) ProtoMessage() {} -func (*RecordTransformations) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{62} -} - -func (m *RecordTransformations) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RecordTransformations.Unmarshal(m, b) -} -func (m *RecordTransformations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RecordTransformations.Marshal(b, m, deterministic) -} -func (m *RecordTransformations) XXX_Merge(src proto.Message) { - xxx_messageInfo_RecordTransformations.Merge(m, src) -} -func (m *RecordTransformations) XXX_Size() int { - return xxx_messageInfo_RecordTransformations.Size(m) -} -func (m *RecordTransformations) XXX_DiscardUnknown() { - xxx_messageInfo_RecordTransformations.DiscardUnknown(m) -} - -var xxx_messageInfo_RecordTransformations proto.InternalMessageInfo - -func (m *RecordTransformations) GetFieldTransformations() []*FieldTransformation { - if m != nil { - return m.FieldTransformations - } - return nil -} - -func (m *RecordTransformations) GetRecordSuppressions() []*RecordSuppression { - if m != nil { - return m.RecordSuppressions - } - 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 *RecordSuppression) Reset() { *m = RecordSuppression{} } -func (m *RecordSuppression) String() string { return proto.CompactTextString(m) } -func (*RecordSuppression) ProtoMessage() {} -func (*RecordSuppression) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{63} -} - -func (m *RecordSuppression) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RecordSuppression.Unmarshal(m, b) -} -func (m *RecordSuppression) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RecordSuppression.Marshal(b, m, deterministic) -} -func (m *RecordSuppression) XXX_Merge(src proto.Message) { - xxx_messageInfo_RecordSuppression.Merge(m, src) -} -func (m *RecordSuppression) XXX_Size() int { - return xxx_messageInfo_RecordSuppression.Size(m) -} -func (m *RecordSuppression) XXX_DiscardUnknown() { - xxx_messageInfo_RecordSuppression.DiscardUnknown(m) -} - -var xxx_messageInfo_RecordSuppression proto.InternalMessageInfo - -func (m *RecordSuppression) GetCondition() *RecordCondition { - if m != nil { - return m.Condition - } - return nil -} - -// 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 *RecordCondition) Reset() { *m = RecordCondition{} } -func (m *RecordCondition) String() string { return proto.CompactTextString(m) } -func (*RecordCondition) ProtoMessage() {} -func (*RecordCondition) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{64} -} - -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 (m *RecordCondition) XXX_Merge(src proto.Message) { - xxx_messageInfo_RecordCondition.Merge(m, src) -} -func (m *RecordCondition) XXX_Size() int { - return xxx_messageInfo_RecordCondition.Size(m) -} -func (m *RecordCondition) XXX_DiscardUnknown() { - xxx_messageInfo_RecordCondition.DiscardUnknown(m) -} - -var xxx_messageInfo_RecordCondition proto.InternalMessageInfo - -func (m *RecordCondition) GetExpressions() *RecordCondition_Expressions { - if m != nil { - return m.Expressions - } - return nil -} - -// The field type of `value` and `field` do not need to match to be -// considered equal, but not all comparisons are possible. -// EQUAL_TO and NOT_EQUAL_TO attempt to compare even with incompatible types, -// but all other comparisons are invalid with incompatible types. -// 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 *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_6872a91dcb80f8dc, []int{64, 0} -} - -func (m *RecordCondition_Condition) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RecordCondition_Condition.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 *RecordCondition_Condition) XXX_Merge(src proto.Message) { - xxx_messageInfo_RecordCondition_Condition.Merge(m, src) -} -func (m *RecordCondition_Condition) XXX_Size() int { - return xxx_messageInfo_RecordCondition_Condition.Size(m) -} -func (m *RecordCondition_Condition) XXX_DiscardUnknown() { - xxx_messageInfo_RecordCondition_Condition.DiscardUnknown(m) -} - -var xxx_messageInfo_RecordCondition_Condition proto.InternalMessageInfo - -func (m *RecordCondition_Condition) GetField() *FieldId { - if m != nil { - return m.Field - } - 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 { - if m != nil { - return m.Value - } - 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:"-"` -} - -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_6872a91dcb80f8dc, []int{64, 1} -} - -func (m *RecordCondition_Conditions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RecordCondition_Conditions.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 *RecordCondition_Conditions) XXX_Merge(src proto.Message) { - xxx_messageInfo_RecordCondition_Conditions.Merge(m, src) -} -func (m *RecordCondition_Conditions) XXX_Size() int { - return xxx_messageInfo_RecordCondition_Conditions.Size(m) -} -func (m *RecordCondition_Conditions) XXX_DiscardUnknown() { - xxx_messageInfo_RecordCondition_Conditions.DiscardUnknown(m) -} - -var xxx_messageInfo_RecordCondition_Conditions proto.InternalMessageInfo - -func (m *RecordCondition_Conditions) GetConditions() []*RecordCondition_Condition { - if m != nil { - return m.Conditions - } - 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:"-"` -} - -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_6872a91dcb80f8dc, []int{64, 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 *RecordCondition_Expressions) XXX_Merge(src proto.Message) { - xxx_messageInfo_RecordCondition_Expressions.Merge(m, 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) -} - -var xxx_messageInfo_RecordCondition_Expressions proto.InternalMessageInfo - -func (m *RecordCondition_Expressions) GetLogicalOperator() RecordCondition_Expressions_LogicalOperator { - if m != nil { - return m.LogicalOperator - } - return RecordCondition_Expressions_LOGICAL_OPERATOR_UNSPECIFIED -} - -type isRecordCondition_Expressions_Type interface { - isRecordCondition_Expressions_Type() -} - -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 *RecordCondition_Expressions) GetConditions() *RecordCondition_Conditions { - if x, ok := m.GetType().(*RecordCondition_Expressions_Conditions); ok { - return x.Conditions - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*RecordCondition_Expressions) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*RecordCondition_Expressions_Conditions)(nil), - } -} - -// 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 *TransformationOverview) Reset() { *m = TransformationOverview{} } -func (m *TransformationOverview) String() string { return proto.CompactTextString(m) } -func (*TransformationOverview) ProtoMessage() {} -func (*TransformationOverview) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{65} -} - -func (m *TransformationOverview) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransformationOverview.Unmarshal(m, b) -} -func (m *TransformationOverview) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransformationOverview.Marshal(b, m, deterministic) -} -func (m *TransformationOverview) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransformationOverview.Merge(m, src) -} -func (m *TransformationOverview) XXX_Size() int { - return xxx_messageInfo_TransformationOverview.Size(m) -} -func (m *TransformationOverview) XXX_DiscardUnknown() { - xxx_messageInfo_TransformationOverview.DiscardUnknown(m) -} - -var xxx_messageInfo_TransformationOverview proto.InternalMessageInfo - -func (m *TransformationOverview) GetTransformedBytes() int64 { - if m != nil { - return m.TransformedBytes - } - return 0 -} - -func (m *TransformationOverview) GetTransformationSummaries() []*TransformationSummary { - if m != nil { - return m.TransformationSummaries - } - return nil -} - -// Summary of a single transformation. -// Only one of 'transformation', 'field_transformation', or 'record_suppress' -// will be set. -type TransformationSummary struct { - // Set if the transformation was limited to a specific InfoType. - 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 *TransformationSummary) Reset() { *m = TransformationSummary{} } -func (m *TransformationSummary) String() string { return proto.CompactTextString(m) } -func (*TransformationSummary) ProtoMessage() {} -func (*TransformationSummary) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{66} -} - -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 (m *TransformationSummary) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransformationSummary.Merge(m, src) -} -func (m *TransformationSummary) XXX_Size() int { - return xxx_messageInfo_TransformationSummary.Size(m) -} -func (m *TransformationSummary) XXX_DiscardUnknown() { - xxx_messageInfo_TransformationSummary.DiscardUnknown(m) -} - -var xxx_messageInfo_TransformationSummary proto.InternalMessageInfo - -func (m *TransformationSummary) GetInfoType() *InfoType { - if m != nil { - return m.InfoType - } - return nil -} - -func (m *TransformationSummary) GetField() *FieldId { - if m != nil { - return m.Field - } - return nil -} - -func (m *TransformationSummary) GetTransformation() *PrimitiveTransformation { - if m != nil { - return m.Transformation - } - return nil -} - -func (m *TransformationSummary) GetFieldTransformations() []*FieldTransformation { - if m != nil { - return m.FieldTransformations - } - return nil -} - -func (m *TransformationSummary) GetRecordSuppress() *RecordSuppression { - if m != nil { - return m.RecordSuppress - } - return nil -} - -func (m *TransformationSummary) GetResults() []*TransformationSummary_SummaryResult { - if m != nil { - return m.Results - } - return nil -} - -func (m *TransformationSummary) GetTransformedBytes() int64 { - if m != nil { - return m.TransformedBytes - } - return 0 -} - -// 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 *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_6872a91dcb80f8dc, []int{66, 0} -} - -func (m *TransformationSummary_SummaryResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransformationSummary_SummaryResult.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 *TransformationSummary_SummaryResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransformationSummary_SummaryResult.Merge(m, src) -} -func (m *TransformationSummary_SummaryResult) XXX_Size() int { - return xxx_messageInfo_TransformationSummary_SummaryResult.Size(m) -} -func (m *TransformationSummary_SummaryResult) XXX_DiscardUnknown() { - xxx_messageInfo_TransformationSummary_SummaryResult.DiscardUnknown(m) -} - -var xxx_messageInfo_TransformationSummary_SummaryResult proto.InternalMessageInfo - -func (m *TransformationSummary_SummaryResult) GetCount() int64 { - if m != nil { - return m.Count - } - return 0 -} - -func (m *TransformationSummary_SummaryResult) GetCode() TransformationSummary_TransformationResultCode { - if m != nil { - return m.Code - } - return TransformationSummary_TRANSFORMATION_RESULT_CODE_UNSPECIFIED -} - -func (m *TransformationSummary_SummaryResult) GetDetails() string { - if m != nil { - return m.Details - } - return "" -} - -// 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 *Schedule) Reset() { *m = Schedule{} } -func (m *Schedule) String() string { return proto.CompactTextString(m) } -func (*Schedule) ProtoMessage() {} -func (*Schedule) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{67} -} - -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 (m *Schedule) XXX_Merge(src proto.Message) { - xxx_messageInfo_Schedule.Merge(m, src) -} -func (m *Schedule) XXX_Size() int { - return xxx_messageInfo_Schedule.Size(m) -} -func (m *Schedule) XXX_DiscardUnknown() { - xxx_messageInfo_Schedule.DiscardUnknown(m) -} - -var xxx_messageInfo_Schedule proto.InternalMessageInfo - -type isSchedule_Option interface { - isSchedule_Option() -} - -type Schedule_RecurrencePeriodDuration struct { - RecurrencePeriodDuration *duration.Duration `protobuf:"bytes,1,opt,name=recurrence_period_duration,json=recurrencePeriodDuration,proto3,oneof"` -} - -func (*Schedule_RecurrencePeriodDuration) isSchedule_Option() {} - -func (m *Schedule) GetOption() isSchedule_Option { - if m != nil { - return m.Option - } - return nil -} - -func (m *Schedule) GetRecurrencePeriodDuration() *duration.Duration { - if x, ok := m.GetOption().(*Schedule_RecurrencePeriodDuration); ok { - return x.RecurrencePeriodDuration - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Schedule) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Schedule_RecurrencePeriodDuration)(nil), - } -} - -// 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 *InspectTemplate) Reset() { *m = InspectTemplate{} } -func (m *InspectTemplate) String() string { return proto.CompactTextString(m) } -func (*InspectTemplate) ProtoMessage() {} -func (*InspectTemplate) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{68} -} - -func (m *InspectTemplate) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InspectTemplate.Unmarshal(m, b) -} -func (m *InspectTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InspectTemplate.Marshal(b, m, deterministic) -} -func (m *InspectTemplate) XXX_Merge(src proto.Message) { - xxx_messageInfo_InspectTemplate.Merge(m, src) -} -func (m *InspectTemplate) XXX_Size() int { - return xxx_messageInfo_InspectTemplate.Size(m) -} -func (m *InspectTemplate) XXX_DiscardUnknown() { - xxx_messageInfo_InspectTemplate.DiscardUnknown(m) -} - -var xxx_messageInfo_InspectTemplate proto.InternalMessageInfo - -func (m *InspectTemplate) GetName() string { - if m != nil { - 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 *InspectTemplate) GetUpdateTime() *timestamp.Timestamp { - if m != nil { - return m.UpdateTime - } - return nil -} - -func (m *InspectTemplate) GetInspectConfig() *InspectConfig { - if m != nil { - return m.InspectConfig - } - return nil -} - -// 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 *DeidentifyTemplate) Reset() { *m = DeidentifyTemplate{} } -func (m *DeidentifyTemplate) String() string { return proto.CompactTextString(m) } -func (*DeidentifyTemplate) ProtoMessage() {} -func (*DeidentifyTemplate) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{69} -} - -func (m *DeidentifyTemplate) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeidentifyTemplate.Unmarshal(m, b) -} -func (m *DeidentifyTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeidentifyTemplate.Marshal(b, m, deterministic) -} -func (m *DeidentifyTemplate) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeidentifyTemplate.Merge(m, src) -} -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_DeidentifyTemplate proto.InternalMessageInfo - -func (m *DeidentifyTemplate) 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 { - if m != nil { - return m.UpdateTime - } - return nil -} - -func (m *DeidentifyTemplate) GetDeidentifyConfig() *DeidentifyConfig { - if m != nil { - return m.DeidentifyConfig - } - 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:"-"` -} - -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_6872a91dcb80f8dc, []int{70} -} - -func (m *Error) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Error.Unmarshal(m, b) -} -func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Error.Marshal(b, m, deterministic) -} -func (m *Error) XXX_Merge(src proto.Message) { - xxx_messageInfo_Error.Merge(m, src) -} -func (m *Error) XXX_Size() int { - return xxx_messageInfo_Error.Size(m) -} -func (m *Error) XXX_DiscardUnknown() { - xxx_messageInfo_Error.DiscardUnknown(m) -} - -var xxx_messageInfo_Error proto.InternalMessageInfo - -func (m *Error) GetDetails() *status.Status { - if m != nil { - return m.Details - } - return nil -} - -func (m *Error) GetTimestamps() []*timestamp.Timestamp { - if m != nil { - return m.Timestamps - } - return nil -} - -// 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 *JobTrigger) Reset() { *m = JobTrigger{} } -func (m *JobTrigger) String() string { return proto.CompactTextString(m) } -func (*JobTrigger) ProtoMessage() {} -func (*JobTrigger) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{71} -} - -func (m *JobTrigger) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JobTrigger.Unmarshal(m, b) -} -func (m *JobTrigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JobTrigger.Marshal(b, m, deterministic) -} -func (m *JobTrigger) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobTrigger.Merge(m, src) -} -func (m *JobTrigger) XXX_Size() int { - return xxx_messageInfo_JobTrigger.Size(m) -} -func (m *JobTrigger) XXX_DiscardUnknown() { - xxx_messageInfo_JobTrigger.DiscardUnknown(m) -} - -var xxx_messageInfo_JobTrigger proto.InternalMessageInfo - -func (m *JobTrigger) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *JobTrigger) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *JobTrigger) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -type isJobTrigger_Job interface { - isJobTrigger_Job() -} - -type JobTrigger_InspectJob struct { - InspectJob *InspectJobConfig `protobuf:"bytes,4,opt,name=inspect_job,json=inspectJob,proto3,oneof"` -} - -func (*JobTrigger_InspectJob) isJobTrigger_Job() {} - -func (m *JobTrigger) GetJob() isJobTrigger_Job { - if m != nil { - return m.Job - } - return nil -} - -func (m *JobTrigger) GetInspectJob() *InspectJobConfig { - if x, ok := m.GetJob().(*JobTrigger_InspectJob); ok { - return x.InspectJob - } - return nil -} - -func (m *JobTrigger) GetTriggers() []*JobTrigger_Trigger { - if m != nil { - return m.Triggers - } - return nil -} - -func (m *JobTrigger) GetErrors() []*Error { - if m != nil { - return m.Errors - } - return nil -} - -func (m *JobTrigger) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -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_OneofWrappers is for the internal use of the proto package. -func (*JobTrigger) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*JobTrigger_InspectJob)(nil), - } -} - -// 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 *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_6872a91dcb80f8dc, []int{71, 0} -} - -func (m *JobTrigger_Trigger) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JobTrigger_Trigger.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 *JobTrigger_Trigger) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobTrigger_Trigger.Merge(m, src) -} -func (m *JobTrigger_Trigger) XXX_Size() int { - return xxx_messageInfo_JobTrigger_Trigger.Size(m) -} -func (m *JobTrigger_Trigger) XXX_DiscardUnknown() { - xxx_messageInfo_JobTrigger_Trigger.DiscardUnknown(m) -} - -var xxx_messageInfo_JobTrigger_Trigger proto.InternalMessageInfo - -type isJobTrigger_Trigger_Trigger interface { - isJobTrigger_Trigger_Trigger() -} - -type JobTrigger_Trigger_Schedule struct { - Schedule *Schedule `protobuf:"bytes,1,opt,name=schedule,proto3,oneof"` -} - -func (*JobTrigger_Trigger_Schedule) isJobTrigger_Trigger_Trigger() {} - -func (m *JobTrigger_Trigger) GetTrigger() isJobTrigger_Trigger_Trigger { - if m != nil { - return m.Trigger - } - return nil -} - -func (m *JobTrigger_Trigger) GetSchedule() *Schedule { - if x, ok := m.GetTrigger().(*JobTrigger_Trigger_Schedule); ok { - return x.Schedule - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*JobTrigger_Trigger) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*JobTrigger_Trigger_Schedule)(nil), - } -} - -// 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_PublishFindingsToCloudDataCatalog_ - // *Action_JobNotificationEmails_ - Action isAction_Action `protobuf_oneof:"action"` - 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_6872a91dcb80f8dc, []int{72} -} - -func (m *Action) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Action.Unmarshal(m, b) -} -func (m *Action) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Action.Marshal(b, m, deterministic) -} -func (m *Action) XXX_Merge(src proto.Message) { - xxx_messageInfo_Action.Merge(m, src) -} -func (m *Action) XXX_Size() int { - return xxx_messageInfo_Action.Size(m) -} -func (m *Action) XXX_DiscardUnknown() { - xxx_messageInfo_Action.DiscardUnknown(m) -} - -var xxx_messageInfo_Action proto.InternalMessageInfo - -type isAction_Action interface { - isAction_Action() -} - -type Action_SaveFindings_ struct { - SaveFindings *Action_SaveFindings `protobuf:"bytes,1,opt,name=save_findings,json=saveFindings,proto3,oneof"` -} - -type Action_PubSub struct { - PubSub *Action_PublishToPubSub `protobuf:"bytes,2,opt,name=pub_sub,json=pubSub,proto3,oneof"` -} - -type Action_PublishSummaryToCscc_ struct { - PublishSummaryToCscc *Action_PublishSummaryToCscc `protobuf:"bytes,3,opt,name=publish_summary_to_cscc,json=publishSummaryToCscc,proto3,oneof"` -} - -type Action_PublishFindingsToCloudDataCatalog_ struct { - PublishFindingsToCloudDataCatalog *Action_PublishFindingsToCloudDataCatalog `protobuf:"bytes,5,opt,name=publish_findings_to_cloud_data_catalog,json=publishFindingsToCloudDataCatalog,proto3,oneof"` -} - -type Action_JobNotificationEmails_ struct { - JobNotificationEmails *Action_JobNotificationEmails `protobuf:"bytes,8,opt,name=job_notification_emails,json=jobNotificationEmails,proto3,oneof"` -} - -func (*Action_SaveFindings_) isAction_Action() {} - -func (*Action_PubSub) isAction_Action() {} - -func (*Action_PublishSummaryToCscc_) isAction_Action() {} - -func (*Action_PublishFindingsToCloudDataCatalog_) isAction_Action() {} - -func (*Action_JobNotificationEmails_) isAction_Action() {} - -func (m *Action) GetAction() isAction_Action { - if m != nil { - return m.Action - } - return nil -} - -func (m *Action) GetSaveFindings() *Action_SaveFindings { - if x, ok := m.GetAction().(*Action_SaveFindings_); ok { - return x.SaveFindings - } - return nil -} - -func (m *Action) GetPubSub() *Action_PublishToPubSub { - if x, ok := m.GetAction().(*Action_PubSub); ok { - return x.PubSub - } - return nil -} - -func (m *Action) GetPublishSummaryToCscc() *Action_PublishSummaryToCscc { - if x, ok := m.GetAction().(*Action_PublishSummaryToCscc_); ok { - return x.PublishSummaryToCscc - } - return nil -} - -func (m *Action) GetPublishFindingsToCloudDataCatalog() *Action_PublishFindingsToCloudDataCatalog { - if x, ok := m.GetAction().(*Action_PublishFindingsToCloudDataCatalog_); ok { - return x.PublishFindingsToCloudDataCatalog - } - return nil -} - -func (m *Action) GetJobNotificationEmails() *Action_JobNotificationEmails { - if x, ok := m.GetAction().(*Action_JobNotificationEmails_); ok { - return x.JobNotificationEmails - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Action) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Action_SaveFindings_)(nil), - (*Action_PubSub)(nil), - (*Action_PublishSummaryToCscc_)(nil), - (*Action_PublishFindingsToCloudDataCatalog_)(nil), - (*Action_JobNotificationEmails_)(nil), - } -} - -// 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 *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_6872a91dcb80f8dc, []int{72, 0} -} - -func (m *Action_SaveFindings) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Action_SaveFindings.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 *Action_SaveFindings) XXX_Merge(src proto.Message) { - xxx_messageInfo_Action_SaveFindings.Merge(m, src) -} -func (m *Action_SaveFindings) XXX_Size() int { - return xxx_messageInfo_Action_SaveFindings.Size(m) -} -func (m *Action_SaveFindings) XXX_DiscardUnknown() { - xxx_messageInfo_Action_SaveFindings.DiscardUnknown(m) -} - -var xxx_messageInfo_Action_SaveFindings proto.InternalMessageInfo - -func (m *Action_SaveFindings) GetOutputConfig() *OutputStorageConfig { - if m != nil { - return m.OutputConfig - } - return nil -} - -// Publish a message into given Pub/Sub topic when DlpJob has completed. The -// message contains a single field, `DlpJobName`, which is equal to the -// finished job's -// [`DlpJob.name`](/dlp/docs/reference/rest/v2/projects.dlpJobs#DlpJob). -// 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 *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_6872a91dcb80f8dc, []int{72, 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 (m *Action_PublishToPubSub) XXX_Merge(src proto.Message) { - xxx_messageInfo_Action_PublishToPubSub.Merge(m, 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.Topic - } - 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 { - 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_6872a91dcb80f8dc, []int{72, 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 (m *Action_PublishSummaryToCscc) XXX_Merge(src proto.Message) { - xxx_messageInfo_Action_PublishSummaryToCscc.Merge(m, 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 - -// Publish findings of a DlpJob to Cloud Data Catalog. Labels summarizing the -// results of the DlpJob will be applied to the entry for the resource scanned -// in Cloud Data Catalog. Any labels previously written by another DlpJob will -// be deleted. InfoType naming patterns are strictly enforced when using this -// feature. Note that the findings will be persisted in Cloud Data Catalog -// storage and are governed by Data Catalog service-specific policy, see -// https://cloud.google.com/terms/service-terms -// Only a single instance of this action can be specified and only allowed if -// all resources being scanned are BigQuery tables. -// Compatible with: Inspect -type Action_PublishFindingsToCloudDataCatalog struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Action_PublishFindingsToCloudDataCatalog) Reset() { - *m = Action_PublishFindingsToCloudDataCatalog{} -} -func (m *Action_PublishFindingsToCloudDataCatalog) String() string { return proto.CompactTextString(m) } -func (*Action_PublishFindingsToCloudDataCatalog) ProtoMessage() {} -func (*Action_PublishFindingsToCloudDataCatalog) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{72, 3} -} - -func (m *Action_PublishFindingsToCloudDataCatalog) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Action_PublishFindingsToCloudDataCatalog.Unmarshal(m, b) -} -func (m *Action_PublishFindingsToCloudDataCatalog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Action_PublishFindingsToCloudDataCatalog.Marshal(b, m, deterministic) -} -func (m *Action_PublishFindingsToCloudDataCatalog) XXX_Merge(src proto.Message) { - xxx_messageInfo_Action_PublishFindingsToCloudDataCatalog.Merge(m, src) -} -func (m *Action_PublishFindingsToCloudDataCatalog) XXX_Size() int { - return xxx_messageInfo_Action_PublishFindingsToCloudDataCatalog.Size(m) -} -func (m *Action_PublishFindingsToCloudDataCatalog) XXX_DiscardUnknown() { - xxx_messageInfo_Action_PublishFindingsToCloudDataCatalog.DiscardUnknown(m) -} - -var xxx_messageInfo_Action_PublishFindingsToCloudDataCatalog proto.InternalMessageInfo - -// Enable email notification to project owners and editors on jobs's -// completion/failure. -type Action_JobNotificationEmails struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Action_JobNotificationEmails) Reset() { *m = Action_JobNotificationEmails{} } -func (m *Action_JobNotificationEmails) String() string { return proto.CompactTextString(m) } -func (*Action_JobNotificationEmails) ProtoMessage() {} -func (*Action_JobNotificationEmails) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{72, 4} -} - -func (m *Action_JobNotificationEmails) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Action_JobNotificationEmails.Unmarshal(m, b) -} -func (m *Action_JobNotificationEmails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Action_JobNotificationEmails.Marshal(b, m, deterministic) -} -func (m *Action_JobNotificationEmails) XXX_Merge(src proto.Message) { - xxx_messageInfo_Action_JobNotificationEmails.Merge(m, src) -} -func (m *Action_JobNotificationEmails) XXX_Size() int { - return xxx_messageInfo_Action_JobNotificationEmails.Size(m) -} -func (m *Action_JobNotificationEmails) XXX_DiscardUnknown() { - xxx_messageInfo_Action_JobNotificationEmails.DiscardUnknown(m) -} - -var xxx_messageInfo_Action_JobNotificationEmails 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_6872a91dcb80f8dc, []int{73} -} - -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 (m *CreateInspectTemplateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateInspectTemplateRequest.Merge(m, 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.Parent - } - return "" -} - -func (m *CreateInspectTemplateRequest) GetInspectTemplate() *InspectTemplate { - if m != nil { - return m.InspectTemplate - } - return nil -} - -func (m *CreateInspectTemplateRequest) GetTemplateId() string { - if m != nil { - return m.TemplateId - } - 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:"-"` -} - -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_6872a91dcb80f8dc, []int{74} -} - -func (m *UpdateInspectTemplateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateInspectTemplateRequest.Unmarshal(m, b) -} -func (m *UpdateInspectTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateInspectTemplateRequest.Marshal(b, m, deterministic) -} -func (m *UpdateInspectTemplateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateInspectTemplateRequest.Merge(m, src) -} -func (m *UpdateInspectTemplateRequest) XXX_Size() int { - return xxx_messageInfo_UpdateInspectTemplateRequest.Size(m) -} -func (m *UpdateInspectTemplateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateInspectTemplateRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateInspectTemplateRequest proto.InternalMessageInfo - -func (m *UpdateInspectTemplateRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *UpdateInspectTemplateRequest) GetInspectTemplate() *InspectTemplate { - if m != nil { - return m.InspectTemplate - } - return nil -} - -func (m *UpdateInspectTemplateRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - 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"` - 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_6872a91dcb80f8dc, []int{75} -} - -func (m *GetInspectTemplateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetInspectTemplateRequest.Unmarshal(m, b) -} -func (m *GetInspectTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetInspectTemplateRequest.Marshal(b, m, deterministic) -} -func (m *GetInspectTemplateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetInspectTemplateRequest.Merge(m, src) -} -func (m *GetInspectTemplateRequest) XXX_Size() int { - return xxx_messageInfo_GetInspectTemplateRequest.Size(m) -} -func (m *GetInspectTemplateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetInspectTemplateRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetInspectTemplateRequest proto.InternalMessageInfo - -func (m *GetInspectTemplateRequest) 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"` - // 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 *ListInspectTemplatesRequest) Reset() { *m = ListInspectTemplatesRequest{} } -func (m *ListInspectTemplatesRequest) String() string { return proto.CompactTextString(m) } -func (*ListInspectTemplatesRequest) ProtoMessage() {} -func (*ListInspectTemplatesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{76} -} - -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 *ListInspectTemplatesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListInspectTemplatesRequest.Merge(m, src) -} -func (m *ListInspectTemplatesRequest) XXX_Size() int { - return xxx_messageInfo_ListInspectTemplatesRequest.Size(m) -} -func (m *ListInspectTemplatesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListInspectTemplatesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListInspectTemplatesRequest proto.InternalMessageInfo - -func (m *ListInspectTemplatesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListInspectTemplatesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListInspectTemplatesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListInspectTemplatesRequest) GetOrderBy() string { - if m != nil { - return m.OrderBy - } - 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_6872a91dcb80f8dc, []int{77} -} - -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 (m *ListInspectTemplatesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListInspectTemplatesResponse.Merge(m, src) -} -func (m *ListInspectTemplatesResponse) XXX_Size() int { - return xxx_messageInfo_ListInspectTemplatesResponse.Size(m) -} -func (m *ListInspectTemplatesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListInspectTemplatesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListInspectTemplatesResponse proto.InternalMessageInfo - -func (m *ListInspectTemplatesResponse) GetInspectTemplates() []*InspectTemplate { - if m != nil { - return m.InspectTemplates - } - return nil -} - -func (m *ListInspectTemplatesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - 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 *DeleteInspectTemplateRequest) Reset() { *m = DeleteInspectTemplateRequest{} } -func (m *DeleteInspectTemplateRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteInspectTemplateRequest) ProtoMessage() {} -func (*DeleteInspectTemplateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{78} -} - -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 (m *DeleteInspectTemplateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteInspectTemplateRequest.Merge(m, src) -} -func (m *DeleteInspectTemplateRequest) XXX_Size() int { - return xxx_messageInfo_DeleteInspectTemplateRequest.Size(m) -} -func (m *DeleteInspectTemplateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteInspectTemplateRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteInspectTemplateRequest proto.InternalMessageInfo - -func (m *DeleteInspectTemplateRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// 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 *CreateJobTriggerRequest) Reset() { *m = CreateJobTriggerRequest{} } -func (m *CreateJobTriggerRequest) String() string { return proto.CompactTextString(m) } -func (*CreateJobTriggerRequest) ProtoMessage() {} -func (*CreateJobTriggerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{79} -} - -func (m *CreateJobTriggerRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateJobTriggerRequest.Unmarshal(m, b) -} -func (m *CreateJobTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateJobTriggerRequest.Marshal(b, m, deterministic) -} -func (m *CreateJobTriggerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateJobTriggerRequest.Merge(m, src) -} -func (m *CreateJobTriggerRequest) XXX_Size() int { - return xxx_messageInfo_CreateJobTriggerRequest.Size(m) -} -func (m *CreateJobTriggerRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateJobTriggerRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateJobTriggerRequest proto.InternalMessageInfo - -func (m *CreateJobTriggerRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateJobTriggerRequest) GetJobTrigger() *JobTrigger { - if m != nil { - return m.JobTrigger - } - return nil -} - -func (m *CreateJobTriggerRequest) GetTriggerId() string { - if m != nil { - return m.TriggerId - } - return "" -} - -// Request message for ActivateJobTrigger. -type ActivateJobTriggerRequest struct { - // Resource name of the trigger to activate, 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 *ActivateJobTriggerRequest) Reset() { *m = ActivateJobTriggerRequest{} } -func (m *ActivateJobTriggerRequest) String() string { return proto.CompactTextString(m) } -func (*ActivateJobTriggerRequest) ProtoMessage() {} -func (*ActivateJobTriggerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{80} -} - -func (m *ActivateJobTriggerRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ActivateJobTriggerRequest.Unmarshal(m, b) -} -func (m *ActivateJobTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ActivateJobTriggerRequest.Marshal(b, m, deterministic) -} -func (m *ActivateJobTriggerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ActivateJobTriggerRequest.Merge(m, src) -} -func (m *ActivateJobTriggerRequest) XXX_Size() int { - return xxx_messageInfo_ActivateJobTriggerRequest.Size(m) -} -func (m *ActivateJobTriggerRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ActivateJobTriggerRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ActivateJobTriggerRequest proto.InternalMessageInfo - -func (m *ActivateJobTriggerRequest) GetName() string { - if m != nil { - 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:"-"` -} - -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_6872a91dcb80f8dc, []int{81} -} - -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 (m *UpdateJobTriggerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateJobTriggerRequest.Merge(m, 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 (m *UpdateJobTriggerRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// 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_6872a91dcb80f8dc, []int{82} -} - -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 (m *GetJobTriggerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetJobTriggerRequest.Merge(m, 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 "" -} - -// 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 *CreateDlpJobRequest) Reset() { *m = CreateDlpJobRequest{} } -func (m *CreateDlpJobRequest) String() string { return proto.CompactTextString(m) } -func (*CreateDlpJobRequest) ProtoMessage() {} -func (*CreateDlpJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{83} -} - -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 (m *CreateDlpJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateDlpJobRequest.Merge(m, src) -} -func (m *CreateDlpJobRequest) XXX_Size() int { - return xxx_messageInfo_CreateDlpJobRequest.Size(m) -} -func (m *CreateDlpJobRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateDlpJobRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateDlpJobRequest proto.InternalMessageInfo - -func (m *CreateDlpJobRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -type isCreateDlpJobRequest_Job interface { - isCreateDlpJobRequest_Job() -} - -type CreateDlpJobRequest_InspectJob struct { - InspectJob *InspectJobConfig `protobuf:"bytes,2,opt,name=inspect_job,json=inspectJob,proto3,oneof"` -} - -type CreateDlpJobRequest_RiskJob struct { - RiskJob *RiskAnalysisJobConfig `protobuf:"bytes,3,opt,name=risk_job,json=riskJob,proto3,oneof"` -} - -func (*CreateDlpJobRequest_InspectJob) isCreateDlpJobRequest_Job() {} - -func (*CreateDlpJobRequest_RiskJob) isCreateDlpJobRequest_Job() {} - -func (m *CreateDlpJobRequest) GetJob() isCreateDlpJobRequest_Job { - if m != nil { - return m.Job - } - return nil -} - -func (m *CreateDlpJobRequest) GetInspectJob() *InspectJobConfig { - if x, ok := m.GetJob().(*CreateDlpJobRequest_InspectJob); ok { - return x.InspectJob - } - return nil -} - -func (m *CreateDlpJobRequest) GetRiskJob() *RiskAnalysisJobConfig { - if x, ok := m.GetJob().(*CreateDlpJobRequest_RiskJob); ok { - return x.RiskJob - } - return nil -} - -func (m *CreateDlpJobRequest) GetJobId() string { - if m != nil { - return m.JobId - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CreateDlpJobRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CreateDlpJobRequest_InspectJob)(nil), - (*CreateDlpJobRequest_RiskJob)(nil), - } -} - -// 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. - // - `last_run_time`: corresponds to the last time the JobTrigger ran. - // - `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"` - // 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: - // - `status` - HEALTHY|PAUSED|CANCELLED - // - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - // - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by - // quotation marks. Nanoseconds are ignored. - // - 'error_count' - Number of errors that have occurred while running. - // * The operator must be `=` or `!=` for status and inspected_storage. - // - // Examples: - // - // * inspected_storage = cloud_storage AND status = HEALTHY - // * inspected_storage = cloud_storage OR inspected_storage = bigquery - // * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY) - // * last_run_time > \"2017-12-12T00:00:00+00:00\" - // - // The length of this field should be no more than 500 characters. - Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,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_6872a91dcb80f8dc, []int{84} -} - -func (m *ListJobTriggersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListJobTriggersRequest.Unmarshal(m, b) -} -func (m *ListJobTriggersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListJobTriggersRequest.Marshal(b, m, deterministic) -} -func (m *ListJobTriggersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListJobTriggersRequest.Merge(m, src) -} -func (m *ListJobTriggersRequest) XXX_Size() int { - return xxx_messageInfo_ListJobTriggersRequest.Size(m) -} -func (m *ListJobTriggersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListJobTriggersRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListJobTriggersRequest proto.InternalMessageInfo - -func (m *ListJobTriggersRequest) 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 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListJobTriggersRequest) GetOrderBy() string { - if m != nil { - return m.OrderBy - } - return "" -} - -func (m *ListJobTriggersRequest) GetFilter() string { - if m != nil { - return m.Filter - } - 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:"-"` -} - -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_6872a91dcb80f8dc, []int{85} -} - -func (m *ListJobTriggersResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListJobTriggersResponse.Unmarshal(m, b) -} -func (m *ListJobTriggersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListJobTriggersResponse.Marshal(b, m, deterministic) -} -func (m *ListJobTriggersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListJobTriggersResponse.Merge(m, src) -} -func (m *ListJobTriggersResponse) XXX_Size() int { - return xxx_messageInfo_ListJobTriggersResponse.Size(m) -} -func (m *ListJobTriggersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListJobTriggersResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListJobTriggersResponse proto.InternalMessageInfo - -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 *DeleteJobTriggerRequest) Reset() { *m = DeleteJobTriggerRequest{} } -func (m *DeleteJobTriggerRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteJobTriggerRequest) ProtoMessage() {} -func (*DeleteJobTriggerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{86} -} - -func (m *DeleteJobTriggerRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteJobTriggerRequest.Unmarshal(m, b) -} -func (m *DeleteJobTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteJobTriggerRequest.Marshal(b, m, deterministic) -} -func (m *DeleteJobTriggerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteJobTriggerRequest.Merge(m, src) -} -func (m *DeleteJobTriggerRequest) XXX_Size() int { - return xxx_messageInfo_DeleteJobTriggerRequest.Size(m) -} -func (m *DeleteJobTriggerRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteJobTriggerRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteJobTriggerRequest proto.InternalMessageInfo - -func (m *DeleteJobTriggerRequest) 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. - 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_6872a91dcb80f8dc, []int{87} -} - -func (m *InspectJobConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InspectJobConfig.Unmarshal(m, b) -} -func (m *InspectJobConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InspectJobConfig.Marshal(b, m, deterministic) -} -func (m *InspectJobConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_InspectJobConfig.Merge(m, src) -} -func (m *InspectJobConfig) XXX_Size() int { - return xxx_messageInfo_InspectJobConfig.Size(m) -} -func (m *InspectJobConfig) XXX_DiscardUnknown() { - xxx_messageInfo_InspectJobConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_InspectJobConfig proto.InternalMessageInfo - -func (m *InspectJobConfig) GetStorageConfig() *StorageConfig { - if m != nil { - return m.StorageConfig - } - return nil -} - -func (m *InspectJobConfig) GetInspectConfig() *InspectConfig { - if m != nil { - return m.InspectConfig - } - return nil -} - -func (m *InspectJobConfig) GetInspectTemplateName() string { - if m != nil { - return m.InspectTemplateName - } - return "" -} - -func (m *InspectJobConfig) GetActions() []*Action { - if m != nil { - return m.Actions - } - return nil -} - -// 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 *DlpJob) Reset() { *m = DlpJob{} } -func (m *DlpJob) String() string { return proto.CompactTextString(m) } -func (*DlpJob) ProtoMessage() {} -func (*DlpJob) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{88} -} - -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 (m *DlpJob) XXX_Merge(src proto.Message) { - xxx_messageInfo_DlpJob.Merge(m, src) -} -func (m *DlpJob) XXX_Size() int { - return xxx_messageInfo_DlpJob.Size(m) -} -func (m *DlpJob) XXX_DiscardUnknown() { - xxx_messageInfo_DlpJob.DiscardUnknown(m) -} - -var xxx_messageInfo_DlpJob proto.InternalMessageInfo - -func (m *DlpJob) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *DlpJob) GetType() DlpJobType { - if m != nil { - return m.Type - } - return DlpJobType_DLP_JOB_TYPE_UNSPECIFIED -} - -func (m *DlpJob) GetState() DlpJob_JobState { - if m != nil { - return m.State - } - return DlpJob_JOB_STATE_UNSPECIFIED -} - -type isDlpJob_Details interface { - isDlpJob_Details() -} - -type DlpJob_RiskDetails struct { - RiskDetails *AnalyzeDataSourceRiskDetails `protobuf:"bytes,4,opt,name=risk_details,json=riskDetails,proto3,oneof"` -} - -type DlpJob_InspectDetails struct { - InspectDetails *InspectDataSourceDetails `protobuf:"bytes,5,opt,name=inspect_details,json=inspectDetails,proto3,oneof"` -} - -func (*DlpJob_RiskDetails) isDlpJob_Details() {} - -func (*DlpJob_InspectDetails) isDlpJob_Details() {} - -func (m *DlpJob) GetDetails() isDlpJob_Details { - if m != nil { - return m.Details - } - return nil -} - -func (m *DlpJob) GetRiskDetails() *AnalyzeDataSourceRiskDetails { - if x, ok := m.GetDetails().(*DlpJob_RiskDetails); ok { - return x.RiskDetails - } - return nil -} - -func (m *DlpJob) GetInspectDetails() *InspectDataSourceDetails { - if x, ok := m.GetDetails().(*DlpJob_InspectDetails); ok { - return x.InspectDetails - } - return nil -} - -func (m *DlpJob) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *DlpJob) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *DlpJob) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -func (m *DlpJob) GetJobTriggerName() string { - if m != nil { - return m.JobTriggerName - } - return "" -} - -func (m *DlpJob) GetErrors() []*Error { - if m != nil { - return m.Errors - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*DlpJob) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*DlpJob_RiskDetails)(nil), - (*DlpJob_InspectDetails)(nil), - } -} - -// 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 *GetDlpJobRequest) Reset() { *m = GetDlpJobRequest{} } -func (m *GetDlpJobRequest) String() string { return proto.CompactTextString(m) } -func (*GetDlpJobRequest) ProtoMessage() {} -func (*GetDlpJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{89} -} - -func (m *GetDlpJobRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDlpJobRequest.Unmarshal(m, b) -} -func (m *GetDlpJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDlpJobRequest.Marshal(b, m, deterministic) -} -func (m *GetDlpJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDlpJobRequest.Merge(m, src) -} -func (m *GetDlpJobRequest) XXX_Size() int { - return xxx_messageInfo_GetDlpJobRequest.Size(m) -} -func (m *GetDlpJobRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetDlpJobRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetDlpJobRequest proto.InternalMessageInfo - -func (m *GetDlpJobRequest) GetName() string { - if m != nil { - return m.Name - } - 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. - // - 'end_time` - Corresponds to time the job finished. - // - 'start_time` - Corresponds to time the job finished. - // * Supported fields for risk analysis jobs: - // - `state` - RUNNING|CANCELED|FINISHED|FAILED - // - 'end_time` - Corresponds to time the job finished. - // - 'start_time` - Corresponds to time the job finished. - // * 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) - // * end_time > \"2017-12-12T00:00:00+00:00\" - // - // 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 *ListDlpJobsRequest) Reset() { *m = ListDlpJobsRequest{} } -func (m *ListDlpJobsRequest) String() string { return proto.CompactTextString(m) } -func (*ListDlpJobsRequest) ProtoMessage() {} -func (*ListDlpJobsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{90} -} - -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 (m *ListDlpJobsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDlpJobsRequest.Merge(m, src) -} -func (m *ListDlpJobsRequest) XXX_Size() int { - return xxx_messageInfo_ListDlpJobsRequest.Size(m) -} -func (m *ListDlpJobsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListDlpJobsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDlpJobsRequest proto.InternalMessageInfo - -func (m *ListDlpJobsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListDlpJobsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListDlpJobsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListDlpJobsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListDlpJobsRequest) GetType() DlpJobType { - if m != nil { - return m.Type - } - return DlpJobType_DLP_JOB_TYPE_UNSPECIFIED -} - -func (m *ListDlpJobsRequest) GetOrderBy() string { - if m != nil { - return m.OrderBy - } - return "" -} - -// 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 *ListDlpJobsResponse) Reset() { *m = ListDlpJobsResponse{} } -func (m *ListDlpJobsResponse) String() string { return proto.CompactTextString(m) } -func (*ListDlpJobsResponse) ProtoMessage() {} -func (*ListDlpJobsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{91} -} - -func (m *ListDlpJobsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDlpJobsResponse.Unmarshal(m, b) -} -func (m *ListDlpJobsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDlpJobsResponse.Marshal(b, m, deterministic) -} -func (m *ListDlpJobsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDlpJobsResponse.Merge(m, src) -} -func (m *ListDlpJobsResponse) XXX_Size() int { - return xxx_messageInfo_ListDlpJobsResponse.Size(m) -} -func (m *ListDlpJobsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListDlpJobsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDlpJobsResponse proto.InternalMessageInfo - -func (m *ListDlpJobsResponse) GetJobs() []*DlpJob { - if m != nil { - return m.Jobs - } - return nil -} - -func (m *ListDlpJobsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - 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:"-"` -} - -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_6872a91dcb80f8dc, []int{92} -} - -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 (m *CancelDlpJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CancelDlpJobRequest.Merge(m, src) -} -func (m *CancelDlpJobRequest) XXX_Size() int { - return xxx_messageInfo_CancelDlpJobRequest.Size(m) -} -func (m *CancelDlpJobRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CancelDlpJobRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CancelDlpJobRequest proto.InternalMessageInfo - -func (m *CancelDlpJobRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// 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 (m *DeleteDlpJobRequest) Reset() { *m = DeleteDlpJobRequest{} } -func (m *DeleteDlpJobRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteDlpJobRequest) ProtoMessage() {} -func (*DeleteDlpJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{93} -} - -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 (m *DeleteDlpJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteDlpJobRequest.Merge(m, 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 (m *DeleteDlpJobRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// 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"` - // 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 *CreateDeidentifyTemplateRequest) Reset() { *m = CreateDeidentifyTemplateRequest{} } -func (m *CreateDeidentifyTemplateRequest) String() string { return proto.CompactTextString(m) } -func (*CreateDeidentifyTemplateRequest) ProtoMessage() {} -func (*CreateDeidentifyTemplateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{94} -} - -func (m *CreateDeidentifyTemplateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateDeidentifyTemplateRequest.Unmarshal(m, b) -} -func (m *CreateDeidentifyTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateDeidentifyTemplateRequest.Marshal(b, m, deterministic) -} -func (m *CreateDeidentifyTemplateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateDeidentifyTemplateRequest.Merge(m, src) -} -func (m *CreateDeidentifyTemplateRequest) XXX_Size() int { - return xxx_messageInfo_CreateDeidentifyTemplateRequest.Size(m) -} -func (m *CreateDeidentifyTemplateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateDeidentifyTemplateRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateDeidentifyTemplateRequest proto.InternalMessageInfo - -func (m *CreateDeidentifyTemplateRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateDeidentifyTemplateRequest) GetDeidentifyTemplate() *DeidentifyTemplate { - if m != nil { - return m.DeidentifyTemplate - } - return nil -} - -func (m *CreateDeidentifyTemplateRequest) GetTemplateId() string { - if m != nil { - return m.TemplateId - } - 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. - 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 *UpdateDeidentifyTemplateRequest) Reset() { *m = UpdateDeidentifyTemplateRequest{} } -func (m *UpdateDeidentifyTemplateRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateDeidentifyTemplateRequest) ProtoMessage() {} -func (*UpdateDeidentifyTemplateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{95} -} - -func (m *UpdateDeidentifyTemplateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateDeidentifyTemplateRequest.Unmarshal(m, b) -} -func (m *UpdateDeidentifyTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateDeidentifyTemplateRequest.Marshal(b, m, deterministic) -} -func (m *UpdateDeidentifyTemplateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateDeidentifyTemplateRequest.Merge(m, src) -} -func (m *UpdateDeidentifyTemplateRequest) XXX_Size() int { - return xxx_messageInfo_UpdateDeidentifyTemplateRequest.Size(m) -} -func (m *UpdateDeidentifyTemplateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateDeidentifyTemplateRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateDeidentifyTemplateRequest proto.InternalMessageInfo - -func (m *UpdateDeidentifyTemplateRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *UpdateDeidentifyTemplateRequest) GetDeidentifyTemplate() *DeidentifyTemplate { - if m != nil { - return m.DeidentifyTemplate - } - return nil -} - -func (m *UpdateDeidentifyTemplateRequest) 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. - 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_6872a91dcb80f8dc, []int{96} -} - -func (m *GetDeidentifyTemplateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDeidentifyTemplateRequest.Unmarshal(m, b) -} -func (m *GetDeidentifyTemplateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDeidentifyTemplateRequest.Marshal(b, m, deterministic) -} -func (m *GetDeidentifyTemplateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDeidentifyTemplateRequest.Merge(m, src) -} -func (m *GetDeidentifyTemplateRequest) XXX_Size() int { - return xxx_messageInfo_GetDeidentifyTemplateRequest.Size(m) -} -func (m *GetDeidentifyTemplateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetDeidentifyTemplateRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetDeidentifyTemplateRequest proto.InternalMessageInfo - -func (m *GetDeidentifyTemplateRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// 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 *ListDeidentifyTemplatesRequest) Reset() { *m = ListDeidentifyTemplatesRequest{} } -func (m *ListDeidentifyTemplatesRequest) String() string { return proto.CompactTextString(m) } -func (*ListDeidentifyTemplatesRequest) ProtoMessage() {} -func (*ListDeidentifyTemplatesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{97} -} - -func (m *ListDeidentifyTemplatesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDeidentifyTemplatesRequest.Unmarshal(m, b) -} -func (m *ListDeidentifyTemplatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDeidentifyTemplatesRequest.Marshal(b, m, deterministic) -} -func (m *ListDeidentifyTemplatesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDeidentifyTemplatesRequest.Merge(m, src) -} -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_ListDeidentifyTemplatesRequest proto.InternalMessageInfo - -func (m *ListDeidentifyTemplatesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListDeidentifyTemplatesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListDeidentifyTemplatesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListDeidentifyTemplatesRequest) GetOrderBy() string { - if m != nil { - return m.OrderBy - } - return "" -} - -// 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 *ListDeidentifyTemplatesResponse) Reset() { *m = ListDeidentifyTemplatesResponse{} } -func (m *ListDeidentifyTemplatesResponse) String() string { return proto.CompactTextString(m) } -func (*ListDeidentifyTemplatesResponse) ProtoMessage() {} -func (*ListDeidentifyTemplatesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{98} -} - -func (m *ListDeidentifyTemplatesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDeidentifyTemplatesResponse.Unmarshal(m, b) -} -func (m *ListDeidentifyTemplatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDeidentifyTemplatesResponse.Marshal(b, m, deterministic) -} -func (m *ListDeidentifyTemplatesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDeidentifyTemplatesResponse.Merge(m, src) -} -func (m *ListDeidentifyTemplatesResponse) XXX_Size() int { - return xxx_messageInfo_ListDeidentifyTemplatesResponse.Size(m) -} -func (m *ListDeidentifyTemplatesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListDeidentifyTemplatesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDeidentifyTemplatesResponse proto.InternalMessageInfo - -func (m *ListDeidentifyTemplatesResponse) GetDeidentifyTemplates() []*DeidentifyTemplate { - if m != nil { - return m.DeidentifyTemplates - } - return nil -} - -func (m *ListDeidentifyTemplatesResponse) 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. - 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_6872a91dcb80f8dc, []int{99} -} - -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 (m *DeleteDeidentifyTemplateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteDeidentifyTemplateRequest.Merge(m, 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.Name - } - return "" -} - -// 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 *LargeCustomDictionaryConfig) Reset() { *m = LargeCustomDictionaryConfig{} } -func (m *LargeCustomDictionaryConfig) String() string { return proto.CompactTextString(m) } -func (*LargeCustomDictionaryConfig) ProtoMessage() {} -func (*LargeCustomDictionaryConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{100} -} - -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 (m *LargeCustomDictionaryConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_LargeCustomDictionaryConfig.Merge(m, src) -} -func (m *LargeCustomDictionaryConfig) XXX_Size() int { - return xxx_messageInfo_LargeCustomDictionaryConfig.Size(m) -} -func (m *LargeCustomDictionaryConfig) XXX_DiscardUnknown() { - xxx_messageInfo_LargeCustomDictionaryConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_LargeCustomDictionaryConfig proto.InternalMessageInfo - -func (m *LargeCustomDictionaryConfig) GetOutputPath() *CloudStoragePath { - if m != nil { - return m.OutputPath - } - return nil -} - -type isLargeCustomDictionaryConfig_Source interface { - isLargeCustomDictionaryConfig_Source() -} - -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.Source - } - return nil -} - -func (m *LargeCustomDictionaryConfig) GetCloudStorageFileSet() *CloudStorageFileSet { - if x, ok := m.GetSource().(*LargeCustomDictionaryConfig_CloudStorageFileSet); ok { - return x.CloudStorageFileSet - } - return nil -} - -func (m *LargeCustomDictionaryConfig) GetBigQueryField() *BigQueryField { - if x, ok := m.GetSource().(*LargeCustomDictionaryConfig_BigQueryField); ok { - return x.BigQueryField - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*LargeCustomDictionaryConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*LargeCustomDictionaryConfig_CloudStorageFileSet)(nil), - (*LargeCustomDictionaryConfig_BigQueryField)(nil), - } -} - -// Summary statistics of a custom dictionary. -type LargeCustomDictionaryStats struct { - // Approximate number of distinct phrases in the dictionary. - ApproxNumPhrases int64 `protobuf:"varint,1,opt,name=approx_num_phrases,json=approxNumPhrases,proto3" json:"approx_num_phrases,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LargeCustomDictionaryStats) Reset() { *m = LargeCustomDictionaryStats{} } -func (m *LargeCustomDictionaryStats) String() string { return proto.CompactTextString(m) } -func (*LargeCustomDictionaryStats) ProtoMessage() {} -func (*LargeCustomDictionaryStats) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{101} -} - -func (m *LargeCustomDictionaryStats) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LargeCustomDictionaryStats.Unmarshal(m, b) -} -func (m *LargeCustomDictionaryStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LargeCustomDictionaryStats.Marshal(b, m, deterministic) -} -func (m *LargeCustomDictionaryStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_LargeCustomDictionaryStats.Merge(m, src) -} -func (m *LargeCustomDictionaryStats) XXX_Size() int { - return xxx_messageInfo_LargeCustomDictionaryStats.Size(m) -} -func (m *LargeCustomDictionaryStats) XXX_DiscardUnknown() { - xxx_messageInfo_LargeCustomDictionaryStats.DiscardUnknown(m) -} - -var xxx_messageInfo_LargeCustomDictionaryStats proto.InternalMessageInfo - -func (m *LargeCustomDictionaryStats) GetApproxNumPhrases() int64 { - if m != nil { - return m.ApproxNumPhrases - } - return 0 -} - -// 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 *StoredInfoTypeConfig) Reset() { *m = StoredInfoTypeConfig{} } -func (m *StoredInfoTypeConfig) String() string { return proto.CompactTextString(m) } -func (*StoredInfoTypeConfig) ProtoMessage() {} -func (*StoredInfoTypeConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{102} -} - -func (m *StoredInfoTypeConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StoredInfoTypeConfig.Unmarshal(m, b) -} -func (m *StoredInfoTypeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StoredInfoTypeConfig.Marshal(b, m, deterministic) -} -func (m *StoredInfoTypeConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_StoredInfoTypeConfig.Merge(m, src) -} -func (m *StoredInfoTypeConfig) XXX_Size() int { - return xxx_messageInfo_StoredInfoTypeConfig.Size(m) -} -func (m *StoredInfoTypeConfig) XXX_DiscardUnknown() { - xxx_messageInfo_StoredInfoTypeConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_StoredInfoTypeConfig proto.InternalMessageInfo - -func (m *StoredInfoTypeConfig) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *StoredInfoTypeConfig) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -type isStoredInfoTypeConfig_Type interface { - isStoredInfoTypeConfig_Type() -} - -type StoredInfoTypeConfig_LargeCustomDictionary struct { - LargeCustomDictionary *LargeCustomDictionaryConfig `protobuf:"bytes,3,opt,name=large_custom_dictionary,json=largeCustomDictionary,proto3,oneof"` -} - -func (*StoredInfoTypeConfig_LargeCustomDictionary) isStoredInfoTypeConfig_Type() {} - -func (m *StoredInfoTypeConfig) GetType() isStoredInfoTypeConfig_Type { - if m != nil { - return m.Type - } - return nil -} - -func (m *StoredInfoTypeConfig) GetLargeCustomDictionary() *LargeCustomDictionaryConfig { - if x, ok := m.GetType().(*StoredInfoTypeConfig_LargeCustomDictionary); ok { - return x.LargeCustomDictionary - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*StoredInfoTypeConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*StoredInfoTypeConfig_LargeCustomDictionary)(nil), - } -} - -// Statistics for a StoredInfoType. -type StoredInfoTypeStats struct { - // Types that are valid to be assigned to Type: - // *StoredInfoTypeStats_LargeCustomDictionary - Type isStoredInfoTypeStats_Type `protobuf_oneof:"type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StoredInfoTypeStats) Reset() { *m = StoredInfoTypeStats{} } -func (m *StoredInfoTypeStats) String() string { return proto.CompactTextString(m) } -func (*StoredInfoTypeStats) ProtoMessage() {} -func (*StoredInfoTypeStats) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{103} -} - -func (m *StoredInfoTypeStats) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StoredInfoTypeStats.Unmarshal(m, b) -} -func (m *StoredInfoTypeStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StoredInfoTypeStats.Marshal(b, m, deterministic) -} -func (m *StoredInfoTypeStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_StoredInfoTypeStats.Merge(m, src) -} -func (m *StoredInfoTypeStats) XXX_Size() int { - return xxx_messageInfo_StoredInfoTypeStats.Size(m) -} -func (m *StoredInfoTypeStats) XXX_DiscardUnknown() { - xxx_messageInfo_StoredInfoTypeStats.DiscardUnknown(m) -} - -var xxx_messageInfo_StoredInfoTypeStats proto.InternalMessageInfo - -type isStoredInfoTypeStats_Type interface { - isStoredInfoTypeStats_Type() -} - -type StoredInfoTypeStats_LargeCustomDictionary struct { - LargeCustomDictionary *LargeCustomDictionaryStats `protobuf:"bytes,1,opt,name=large_custom_dictionary,json=largeCustomDictionary,proto3,oneof"` -} - -func (*StoredInfoTypeStats_LargeCustomDictionary) isStoredInfoTypeStats_Type() {} - -func (m *StoredInfoTypeStats) GetType() isStoredInfoTypeStats_Type { - if m != nil { - return m.Type - } - return nil -} - -func (m *StoredInfoTypeStats) GetLargeCustomDictionary() *LargeCustomDictionaryStats { - if x, ok := m.GetType().(*StoredInfoTypeStats_LargeCustomDictionary); ok { - return x.LargeCustomDictionary - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*StoredInfoTypeStats) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*StoredInfoTypeStats_LargeCustomDictionary)(nil), - } -} - -// 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"` - // Statistics about this storedInfoType version. - Stats *StoredInfoTypeStats `protobuf:"bytes,5,opt,name=stats,proto3" json:"stats,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_6872a91dcb80f8dc, []int{104} -} - -func (m *StoredInfoTypeVersion) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StoredInfoTypeVersion.Unmarshal(m, b) -} -func (m *StoredInfoTypeVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StoredInfoTypeVersion.Marshal(b, m, deterministic) -} -func (m *StoredInfoTypeVersion) XXX_Merge(src proto.Message) { - xxx_messageInfo_StoredInfoTypeVersion.Merge(m, src) -} -func (m *StoredInfoTypeVersion) XXX_Size() int { - return xxx_messageInfo_StoredInfoTypeVersion.Size(m) -} -func (m *StoredInfoTypeVersion) XXX_DiscardUnknown() { - xxx_messageInfo_StoredInfoTypeVersion.DiscardUnknown(m) -} - -var xxx_messageInfo_StoredInfoTypeVersion proto.InternalMessageInfo - -func (m *StoredInfoTypeVersion) GetConfig() *StoredInfoTypeConfig { - if m != nil { - return m.Config - } - return nil -} - -func (m *StoredInfoTypeVersion) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *StoredInfoTypeVersion) GetState() StoredInfoTypeState { - if m != nil { - return m.State - } - return StoredInfoTypeState_STORED_INFO_TYPE_STATE_UNSPECIFIED -} - -func (m *StoredInfoTypeVersion) GetErrors() []*Error { - if m != nil { - return m.Errors - } - return nil -} - -func (m *StoredInfoTypeVersion) GetStats() *StoredInfoTypeStats { - if m != nil { - return m.Stats - } - return nil -} - -// 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 *StoredInfoType) Reset() { *m = StoredInfoType{} } -func (m *StoredInfoType) String() string { return proto.CompactTextString(m) } -func (*StoredInfoType) ProtoMessage() {} -func (*StoredInfoType) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{105} -} - -func (m *StoredInfoType) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StoredInfoType.Unmarshal(m, b) -} -func (m *StoredInfoType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StoredInfoType.Marshal(b, m, deterministic) -} -func (m *StoredInfoType) XXX_Merge(src proto.Message) { - xxx_messageInfo_StoredInfoType.Merge(m, src) -} -func (m *StoredInfoType) XXX_Size() int { - return xxx_messageInfo_StoredInfoType.Size(m) -} -func (m *StoredInfoType) XXX_DiscardUnknown() { - xxx_messageInfo_StoredInfoType.DiscardUnknown(m) -} - -var xxx_messageInfo_StoredInfoType proto.InternalMessageInfo - -func (m *StoredInfoType) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -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"` - // 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. - 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 *CreateStoredInfoTypeRequest) Reset() { *m = CreateStoredInfoTypeRequest{} } -func (m *CreateStoredInfoTypeRequest) String() string { return proto.CompactTextString(m) } -func (*CreateStoredInfoTypeRequest) ProtoMessage() {} -func (*CreateStoredInfoTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{106} -} - -func (m *CreateStoredInfoTypeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateStoredInfoTypeRequest.Unmarshal(m, b) -} -func (m *CreateStoredInfoTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateStoredInfoTypeRequest.Marshal(b, m, deterministic) -} -func (m *CreateStoredInfoTypeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateStoredInfoTypeRequest.Merge(m, src) -} -func (m *CreateStoredInfoTypeRequest) XXX_Size() int { - return xxx_messageInfo_CreateStoredInfoTypeRequest.Size(m) -} -func (m *CreateStoredInfoTypeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateStoredInfoTypeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateStoredInfoTypeRequest proto.InternalMessageInfo - -func (m *CreateStoredInfoTypeRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateStoredInfoTypeRequest) GetConfig() *StoredInfoTypeConfig { - if m != nil { - return m.Config - } - return nil -} - -func (m *CreateStoredInfoTypeRequest) GetStoredInfoTypeId() string { - if m != nil { - return m.StoredInfoTypeId - } - return "" -} - -// 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"` - // 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:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_6872a91dcb80f8dc, []int{107} -} - -func (m *UpdateStoredInfoTypeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateStoredInfoTypeRequest.Unmarshal(m, b) -} -func (m *UpdateStoredInfoTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateStoredInfoTypeRequest.Marshal(b, m, deterministic) -} -func (m *UpdateStoredInfoTypeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateStoredInfoTypeRequest.Merge(m, src) -} -func (m *UpdateStoredInfoTypeRequest) XXX_Size() int { - return xxx_messageInfo_UpdateStoredInfoTypeRequest.Size(m) -} -func (m *UpdateStoredInfoTypeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateStoredInfoTypeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateStoredInfoTypeRequest proto.InternalMessageInfo - -func (m *UpdateStoredInfoTypeRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *UpdateStoredInfoTypeRequest) GetConfig() *StoredInfoTypeConfig { - if m != nil { - return m.Config - } - return nil -} - -func (m *UpdateStoredInfoTypeRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// 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 *GetStoredInfoTypeRequest) Reset() { *m = GetStoredInfoTypeRequest{} } -func (m *GetStoredInfoTypeRequest) String() string { return proto.CompactTextString(m) } -func (*GetStoredInfoTypeRequest) ProtoMessage() {} -func (*GetStoredInfoTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{108} -} - -func (m *GetStoredInfoTypeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetStoredInfoTypeRequest.Unmarshal(m, b) -} -func (m *GetStoredInfoTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetStoredInfoTypeRequest.Marshal(b, m, deterministic) -} -func (m *GetStoredInfoTypeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetStoredInfoTypeRequest.Merge(m, src) -} -func (m *GetStoredInfoTypeRequest) XXX_Size() int { - return xxx_messageInfo_GetStoredInfoTypeRequest.Size(m) -} -func (m *GetStoredInfoTypeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetStoredInfoTypeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetStoredInfoTypeRequest proto.InternalMessageInfo - -func (m *GetStoredInfoTypeRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// 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 `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"` - // 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 *ListStoredInfoTypesRequest) Reset() { *m = ListStoredInfoTypesRequest{} } -func (m *ListStoredInfoTypesRequest) String() string { return proto.CompactTextString(m) } -func (*ListStoredInfoTypesRequest) ProtoMessage() {} -func (*ListStoredInfoTypesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{109} -} - -func (m *ListStoredInfoTypesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListStoredInfoTypesRequest.Unmarshal(m, b) -} -func (m *ListStoredInfoTypesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListStoredInfoTypesRequest.Marshal(b, m, deterministic) -} -func (m *ListStoredInfoTypesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListStoredInfoTypesRequest.Merge(m, src) -} -func (m *ListStoredInfoTypesRequest) XXX_Size() int { - return xxx_messageInfo_ListStoredInfoTypesRequest.Size(m) -} -func (m *ListStoredInfoTypesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListStoredInfoTypesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListStoredInfoTypesRequest proto.InternalMessageInfo - -func (m *ListStoredInfoTypesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListStoredInfoTypesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListStoredInfoTypesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -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 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 *ListStoredInfoTypesResponse) Reset() { *m = ListStoredInfoTypesResponse{} } -func (m *ListStoredInfoTypesResponse) String() string { return proto.CompactTextString(m) } -func (*ListStoredInfoTypesResponse) ProtoMessage() {} -func (*ListStoredInfoTypesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{110} -} - -func (m *ListStoredInfoTypesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListStoredInfoTypesResponse.Unmarshal(m, b) -} -func (m *ListStoredInfoTypesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListStoredInfoTypesResponse.Marshal(b, m, deterministic) -} -func (m *ListStoredInfoTypesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListStoredInfoTypesResponse.Merge(m, src) -} -func (m *ListStoredInfoTypesResponse) XXX_Size() int { - return xxx_messageInfo_ListStoredInfoTypesResponse.Size(m) -} -func (m *ListStoredInfoTypesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListStoredInfoTypesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListStoredInfoTypesResponse proto.InternalMessageInfo - -func (m *ListStoredInfoTypesResponse) GetStoredInfoTypes() []*StoredInfoType { - if m != nil { - return m.StoredInfoTypes - } - return nil -} - -func (m *ListStoredInfoTypesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// 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 *DeleteStoredInfoTypeRequest) Reset() { *m = DeleteStoredInfoTypeRequest{} } -func (m *DeleteStoredInfoTypeRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteStoredInfoTypeRequest) ProtoMessage() {} -func (*DeleteStoredInfoTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6872a91dcb80f8dc, []int{111} -} - -func (m *DeleteStoredInfoTypeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteStoredInfoTypeRequest.Unmarshal(m, b) -} -func (m *DeleteStoredInfoTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteStoredInfoTypeRequest.Marshal(b, m, deterministic) -} -func (m *DeleteStoredInfoTypeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteStoredInfoTypeRequest.Merge(m, src) -} -func (m *DeleteStoredInfoTypeRequest) XXX_Size() int { - return xxx_messageInfo_DeleteStoredInfoTypeRequest.Size(m) -} -func (m *DeleteStoredInfoTypeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteStoredInfoTypeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteStoredInfoTypeRequest proto.InternalMessageInfo - -func (m *DeleteStoredInfoTypeRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func init() { - 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) - proto.RegisterEnum("google.privacy.dlp.v2.CharsToIgnore_CommonCharsToIgnore", CharsToIgnore_CommonCharsToIgnore_name, CharsToIgnore_CommonCharsToIgnore_value) - proto.RegisterEnum("google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet", CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet_name, CryptoReplaceFfxFpeConfig_FfxCommonNativeAlphabet_value) - proto.RegisterEnum("google.privacy.dlp.v2.RecordCondition_Expressions_LogicalOperator", RecordCondition_Expressions_LogicalOperator_name, RecordCondition_Expressions_LogicalOperator_value) - proto.RegisterEnum("google.privacy.dlp.v2.TransformationSummary_TransformationResultCode", TransformationSummary_TransformationResultCode_name, TransformationSummary_TransformationResultCode_value) - proto.RegisterEnum("google.privacy.dlp.v2.JobTrigger_Status", JobTrigger_Status_name, JobTrigger_Status_value) - proto.RegisterEnum("google.privacy.dlp.v2.DlpJob_JobState", DlpJob_JobState_name, DlpJob_JobState_value) - 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") - proto.RegisterType((*ByteContentItem)(nil), "google.privacy.dlp.v2.ByteContentItem") - proto.RegisterType((*ContentItem)(nil), "google.privacy.dlp.v2.ContentItem") - proto.RegisterType((*Table)(nil), "google.privacy.dlp.v2.Table") - proto.RegisterType((*Table_Row)(nil), "google.privacy.dlp.v2.Table.Row") - proto.RegisterType((*InspectResult)(nil), "google.privacy.dlp.v2.InspectResult") - proto.RegisterType((*Finding)(nil), "google.privacy.dlp.v2.Finding") - proto.RegisterType((*Location)(nil), "google.privacy.dlp.v2.Location") - proto.RegisterType((*ContentLocation)(nil), "google.privacy.dlp.v2.ContentLocation") - proto.RegisterType((*DocumentLocation)(nil), "google.privacy.dlp.v2.DocumentLocation") - proto.RegisterType((*RecordLocation)(nil), "google.privacy.dlp.v2.RecordLocation") - proto.RegisterType((*TableLocation)(nil), "google.privacy.dlp.v2.TableLocation") - proto.RegisterType((*Range)(nil), "google.privacy.dlp.v2.Range") - proto.RegisterType((*ImageLocation)(nil), "google.privacy.dlp.v2.ImageLocation") - proto.RegisterType((*BoundingBox)(nil), "google.privacy.dlp.v2.BoundingBox") - proto.RegisterType((*RedactImageRequest)(nil), "google.privacy.dlp.v2.RedactImageRequest") - proto.RegisterType((*RedactImageRequest_ImageRedactionConfig)(nil), "google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig") - proto.RegisterType((*Color)(nil), "google.privacy.dlp.v2.Color") - proto.RegisterType((*RedactImageResponse)(nil), "google.privacy.dlp.v2.RedactImageResponse") - proto.RegisterType((*DeidentifyContentRequest)(nil), "google.privacy.dlp.v2.DeidentifyContentRequest") - proto.RegisterType((*DeidentifyContentResponse)(nil), "google.privacy.dlp.v2.DeidentifyContentResponse") - proto.RegisterType((*ReidentifyContentRequest)(nil), "google.privacy.dlp.v2.ReidentifyContentRequest") - proto.RegisterType((*ReidentifyContentResponse)(nil), "google.privacy.dlp.v2.ReidentifyContentResponse") - proto.RegisterType((*InspectContentRequest)(nil), "google.privacy.dlp.v2.InspectContentRequest") - proto.RegisterType((*InspectContentResponse)(nil), "google.privacy.dlp.v2.InspectContentResponse") - proto.RegisterType((*OutputStorageConfig)(nil), "google.privacy.dlp.v2.OutputStorageConfig") - proto.RegisterType((*InfoTypeStats)(nil), "google.privacy.dlp.v2.InfoTypeStats") - proto.RegisterType((*InspectDataSourceDetails)(nil), "google.privacy.dlp.v2.InspectDataSourceDetails") - proto.RegisterType((*InspectDataSourceDetails_RequestedOptions)(nil), "google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions") - proto.RegisterType((*InspectDataSourceDetails_Result)(nil), "google.privacy.dlp.v2.InspectDataSourceDetails.Result") - proto.RegisterType((*InfoTypeDescription)(nil), "google.privacy.dlp.v2.InfoTypeDescription") - proto.RegisterType((*ListInfoTypesRequest)(nil), "google.privacy.dlp.v2.ListInfoTypesRequest") - proto.RegisterType((*ListInfoTypesResponse)(nil), "google.privacy.dlp.v2.ListInfoTypesResponse") - proto.RegisterType((*RiskAnalysisJobConfig)(nil), "google.privacy.dlp.v2.RiskAnalysisJobConfig") - proto.RegisterType((*QuasiId)(nil), "google.privacy.dlp.v2.QuasiId") - proto.RegisterType((*StatisticalTable)(nil), "google.privacy.dlp.v2.StatisticalTable") - proto.RegisterType((*StatisticalTable_QuasiIdentifierField)(nil), "google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField") - proto.RegisterType((*PrivacyMetric)(nil), "google.privacy.dlp.v2.PrivacyMetric") - proto.RegisterType((*PrivacyMetric_NumericalStatsConfig)(nil), "google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig") - proto.RegisterType((*PrivacyMetric_CategoricalStatsConfig)(nil), "google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig") - proto.RegisterType((*PrivacyMetric_KAnonymityConfig)(nil), "google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig") - proto.RegisterType((*PrivacyMetric_LDiversityConfig)(nil), "google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig") - proto.RegisterType((*PrivacyMetric_KMapEstimationConfig)(nil), "google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig") - proto.RegisterType((*PrivacyMetric_KMapEstimationConfig_TaggedField)(nil), "google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField") - proto.RegisterType((*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable)(nil), "google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable") - proto.RegisterType((*PrivacyMetric_KMapEstimationConfig_AuxiliaryTable_QuasiIdField)(nil), "google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField") - proto.RegisterType((*PrivacyMetric_DeltaPresenceEstimationConfig)(nil), "google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig") - proto.RegisterType((*AnalyzeDataSourceRiskDetails)(nil), "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails") - proto.RegisterType((*AnalyzeDataSourceRiskDetails_NumericalStatsResult)(nil), "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult") - proto.RegisterType((*AnalyzeDataSourceRiskDetails_CategoricalStatsResult)(nil), "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult") - proto.RegisterType((*AnalyzeDataSourceRiskDetails_CategoricalStatsResult_CategoricalStatsHistogramBucket)(nil), "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket") - proto.RegisterType((*AnalyzeDataSourceRiskDetails_KAnonymityResult)(nil), "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult") - proto.RegisterType((*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityEquivalenceClass)(nil), "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass") - proto.RegisterType((*AnalyzeDataSourceRiskDetails_KAnonymityResult_KAnonymityHistogramBucket)(nil), "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket") - proto.RegisterType((*AnalyzeDataSourceRiskDetails_LDiversityResult)(nil), "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult") - proto.RegisterType((*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityEquivalenceClass)(nil), "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass") - proto.RegisterType((*AnalyzeDataSourceRiskDetails_LDiversityResult_LDiversityHistogramBucket)(nil), "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket") - proto.RegisterType((*AnalyzeDataSourceRiskDetails_KMapEstimationResult)(nil), "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult") - proto.RegisterType((*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationQuasiIdValues)(nil), "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues") - proto.RegisterType((*AnalyzeDataSourceRiskDetails_KMapEstimationResult_KMapEstimationHistogramBucket)(nil), "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket") - proto.RegisterType((*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult)(nil), "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult") - proto.RegisterType((*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationQuasiIdValues)(nil), "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues") - proto.RegisterType((*AnalyzeDataSourceRiskDetails_DeltaPresenceEstimationResult_DeltaPresenceEstimationHistogramBucket)(nil), "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket") - proto.RegisterType((*ValueFrequency)(nil), "google.privacy.dlp.v2.ValueFrequency") - proto.RegisterType((*Value)(nil), "google.privacy.dlp.v2.Value") - proto.RegisterType((*QuoteInfo)(nil), "google.privacy.dlp.v2.QuoteInfo") - proto.RegisterType((*DateTime)(nil), "google.privacy.dlp.v2.DateTime") - proto.RegisterType((*DateTime_TimeZone)(nil), "google.privacy.dlp.v2.DateTime.TimeZone") - proto.RegisterType((*DeidentifyConfig)(nil), "google.privacy.dlp.v2.DeidentifyConfig") - proto.RegisterType((*PrimitiveTransformation)(nil), "google.privacy.dlp.v2.PrimitiveTransformation") - proto.RegisterType((*TimePartConfig)(nil), "google.privacy.dlp.v2.TimePartConfig") - proto.RegisterType((*CryptoHashConfig)(nil), "google.privacy.dlp.v2.CryptoHashConfig") - proto.RegisterType((*CryptoDeterministicConfig)(nil), "google.privacy.dlp.v2.CryptoDeterministicConfig") - proto.RegisterType((*ReplaceValueConfig)(nil), "google.privacy.dlp.v2.ReplaceValueConfig") - proto.RegisterType((*ReplaceWithInfoTypeConfig)(nil), "google.privacy.dlp.v2.ReplaceWithInfoTypeConfig") - proto.RegisterType((*RedactConfig)(nil), "google.privacy.dlp.v2.RedactConfig") - proto.RegisterType((*CharsToIgnore)(nil), "google.privacy.dlp.v2.CharsToIgnore") - proto.RegisterType((*CharacterMaskConfig)(nil), "google.privacy.dlp.v2.CharacterMaskConfig") - proto.RegisterType((*FixedSizeBucketingConfig)(nil), "google.privacy.dlp.v2.FixedSizeBucketingConfig") - proto.RegisterType((*BucketingConfig)(nil), "google.privacy.dlp.v2.BucketingConfig") - proto.RegisterType((*BucketingConfig_Bucket)(nil), "google.privacy.dlp.v2.BucketingConfig.Bucket") - proto.RegisterType((*CryptoReplaceFfxFpeConfig)(nil), "google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig") - proto.RegisterType((*CryptoKey)(nil), "google.privacy.dlp.v2.CryptoKey") - proto.RegisterType((*TransientCryptoKey)(nil), "google.privacy.dlp.v2.TransientCryptoKey") - proto.RegisterType((*UnwrappedCryptoKey)(nil), "google.privacy.dlp.v2.UnwrappedCryptoKey") - proto.RegisterType((*KmsWrappedCryptoKey)(nil), "google.privacy.dlp.v2.KmsWrappedCryptoKey") - proto.RegisterType((*DateShiftConfig)(nil), "google.privacy.dlp.v2.DateShiftConfig") - proto.RegisterType((*InfoTypeTransformations)(nil), "google.privacy.dlp.v2.InfoTypeTransformations") - proto.RegisterType((*InfoTypeTransformations_InfoTypeTransformation)(nil), "google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation") - proto.RegisterType((*FieldTransformation)(nil), "google.privacy.dlp.v2.FieldTransformation") - proto.RegisterType((*RecordTransformations)(nil), "google.privacy.dlp.v2.RecordTransformations") - proto.RegisterType((*RecordSuppression)(nil), "google.privacy.dlp.v2.RecordSuppression") - proto.RegisterType((*RecordCondition)(nil), "google.privacy.dlp.v2.RecordCondition") - proto.RegisterType((*RecordCondition_Condition)(nil), "google.privacy.dlp.v2.RecordCondition.Condition") - proto.RegisterType((*RecordCondition_Conditions)(nil), "google.privacy.dlp.v2.RecordCondition.Conditions") - proto.RegisterType((*RecordCondition_Expressions)(nil), "google.privacy.dlp.v2.RecordCondition.Expressions") - proto.RegisterType((*TransformationOverview)(nil), "google.privacy.dlp.v2.TransformationOverview") - proto.RegisterType((*TransformationSummary)(nil), "google.privacy.dlp.v2.TransformationSummary") - proto.RegisterType((*TransformationSummary_SummaryResult)(nil), "google.privacy.dlp.v2.TransformationSummary.SummaryResult") - proto.RegisterType((*Schedule)(nil), "google.privacy.dlp.v2.Schedule") - proto.RegisterType((*InspectTemplate)(nil), "google.privacy.dlp.v2.InspectTemplate") - proto.RegisterType((*DeidentifyTemplate)(nil), "google.privacy.dlp.v2.DeidentifyTemplate") - proto.RegisterType((*Error)(nil), "google.privacy.dlp.v2.Error") - proto.RegisterType((*JobTrigger)(nil), "google.privacy.dlp.v2.JobTrigger") - proto.RegisterType((*JobTrigger_Trigger)(nil), "google.privacy.dlp.v2.JobTrigger.Trigger") - proto.RegisterType((*Action)(nil), "google.privacy.dlp.v2.Action") - proto.RegisterType((*Action_SaveFindings)(nil), "google.privacy.dlp.v2.Action.SaveFindings") - proto.RegisterType((*Action_PublishToPubSub)(nil), "google.privacy.dlp.v2.Action.PublishToPubSub") - proto.RegisterType((*Action_PublishSummaryToCscc)(nil), "google.privacy.dlp.v2.Action.PublishSummaryToCscc") - proto.RegisterType((*Action_PublishFindingsToCloudDataCatalog)(nil), "google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog") - proto.RegisterType((*Action_JobNotificationEmails)(nil), "google.privacy.dlp.v2.Action.JobNotificationEmails") - proto.RegisterType((*CreateInspectTemplateRequest)(nil), "google.privacy.dlp.v2.CreateInspectTemplateRequest") - proto.RegisterType((*UpdateInspectTemplateRequest)(nil), "google.privacy.dlp.v2.UpdateInspectTemplateRequest") - proto.RegisterType((*GetInspectTemplateRequest)(nil), "google.privacy.dlp.v2.GetInspectTemplateRequest") - proto.RegisterType((*ListInspectTemplatesRequest)(nil), "google.privacy.dlp.v2.ListInspectTemplatesRequest") - proto.RegisterType((*ListInspectTemplatesResponse)(nil), "google.privacy.dlp.v2.ListInspectTemplatesResponse") - proto.RegisterType((*DeleteInspectTemplateRequest)(nil), "google.privacy.dlp.v2.DeleteInspectTemplateRequest") - proto.RegisterType((*CreateJobTriggerRequest)(nil), "google.privacy.dlp.v2.CreateJobTriggerRequest") - proto.RegisterType((*ActivateJobTriggerRequest)(nil), "google.privacy.dlp.v2.ActivateJobTriggerRequest") - proto.RegisterType((*UpdateJobTriggerRequest)(nil), "google.privacy.dlp.v2.UpdateJobTriggerRequest") - proto.RegisterType((*GetJobTriggerRequest)(nil), "google.privacy.dlp.v2.GetJobTriggerRequest") - proto.RegisterType((*CreateDlpJobRequest)(nil), "google.privacy.dlp.v2.CreateDlpJobRequest") - proto.RegisterType((*ListJobTriggersRequest)(nil), "google.privacy.dlp.v2.ListJobTriggersRequest") - proto.RegisterType((*ListJobTriggersResponse)(nil), "google.privacy.dlp.v2.ListJobTriggersResponse") - proto.RegisterType((*DeleteJobTriggerRequest)(nil), "google.privacy.dlp.v2.DeleteJobTriggerRequest") - proto.RegisterType((*InspectJobConfig)(nil), "google.privacy.dlp.v2.InspectJobConfig") - proto.RegisterType((*DlpJob)(nil), "google.privacy.dlp.v2.DlpJob") - proto.RegisterType((*GetDlpJobRequest)(nil), "google.privacy.dlp.v2.GetDlpJobRequest") - proto.RegisterType((*ListDlpJobsRequest)(nil), "google.privacy.dlp.v2.ListDlpJobsRequest") - proto.RegisterType((*ListDlpJobsResponse)(nil), "google.privacy.dlp.v2.ListDlpJobsResponse") - proto.RegisterType((*CancelDlpJobRequest)(nil), "google.privacy.dlp.v2.CancelDlpJobRequest") - proto.RegisterType((*DeleteDlpJobRequest)(nil), "google.privacy.dlp.v2.DeleteDlpJobRequest") - proto.RegisterType((*CreateDeidentifyTemplateRequest)(nil), "google.privacy.dlp.v2.CreateDeidentifyTemplateRequest") - proto.RegisterType((*UpdateDeidentifyTemplateRequest)(nil), "google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest") - proto.RegisterType((*GetDeidentifyTemplateRequest)(nil), "google.privacy.dlp.v2.GetDeidentifyTemplateRequest") - 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((*LargeCustomDictionaryStats)(nil), "google.privacy.dlp.v2.LargeCustomDictionaryStats") - proto.RegisterType((*StoredInfoTypeConfig)(nil), "google.privacy.dlp.v2.StoredInfoTypeConfig") - proto.RegisterType((*StoredInfoTypeStats)(nil), "google.privacy.dlp.v2.StoredInfoTypeStats") - 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") -} - -func init() { proto.RegisterFile("google/privacy/dlp/v2/dlp.proto", fileDescriptor_6872a91dcb80f8dc) } - -var fileDescriptor_6872a91dcb80f8dc = []byte{ - // 9497 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x7d, 0x6d, 0x8c, 0x1b, 0x49, - 0x76, 0xd8, 0x34, 0x39, 0x9c, 0xe1, 0x3c, 0x0e, 0x39, 0x9c, 0x9a, 0x0f, 0x8d, 0x28, 0xe9, 0x24, - 0xb5, 0x76, 0x25, 0xed, 0x48, 0x9a, 0xd9, 0x9d, 0xfd, 0xd6, 0xee, 0xed, 0x99, 0x43, 0x52, 0x22, - 0xb5, 0xf3, 0xa5, 0x26, 0x47, 0x5a, 0xc9, 0x8b, 0xed, 0xf4, 0x90, 0x35, 0x9c, 0xd6, 0x90, 0x6c, - 0xaa, 0xbb, 0x29, 0xcd, 0xac, 0x6d, 0xe0, 0x6c, 0x24, 0x71, 0x9c, 0x78, 0xe1, 0x43, 0xec, 0xcb, - 0x25, 0xb6, 0x73, 0x71, 0xe2, 0x00, 0x41, 0x0c, 0xd8, 0x49, 0xe0, 0xd8, 0x41, 0x12, 0x3b, 0x3f, - 0xec, 0x20, 0x06, 0x0c, 0x27, 0xb8, 0xf3, 0x06, 0x41, 0x82, 0xe0, 0x80, 0xe4, 0x12, 0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, 0x03, 0xa7, 0xd6, - 0xce, 0x87, 0x48, 0xa3, 0x46, 0x60, 0x08, 0x16, 0x05, 0x46, 0x25, 0x98, 0xda, 0x3b, 0x36, 0x31, - 0x33, 0xd3, 0x04, 0xc5, 0xbc, 0x1a, 0x4d, 0x8e, 0xe5, 0x31, 0x29, 0x49, 0x50, 0xc9, 0xff, 0xf5, - 0x14, 0x4c, 0x11, 0xb9, 0x51, 0x32, 0xe2, 0x3f, 0x15, 0x20, 0x41, 0xab, 0x41, 0xef, 0xc0, 0xe4, - 0x01, 0x56, 0x1a, 0x58, 0xb7, 0xfc, 0xe5, 0x97, 0x42, 0x68, 0xdf, 0x21, 0x01, 0x53, 0xa5, 0x21, - 0x59, 0xe0, 0xe8, 0x0d, 0x18, 0xd7, 0xb5, 0xe7, 0x96, 0xeb, 0xbe, 0x34, 0xa8, 0x31, 0x2b, 0x92, - 0xf6, 0x5c, 0xa2, 0xd0, 0xb9, 0xf7, 0x20, 0x2e, 0x69, 0xcf, 0xd1, 0x1b, 0x30, 0x41, 0x65, 0x62, - 0xd5, 0x1a, 0x26, 0x8b, 0x07, 0x04, 0x48, 0xe2, 0xb0, 0xe2, 0xa7, 0xb6, 0xc3, 0x97, 0xb0, 0xd1, - 0x6b, 0x99, 0xe8, 0x36, 0x24, 0x6d, 0x8b, 0x1c, 0xc6, 0x3e, 0x05, 0x93, 0x6c, 0x78, 0x74, 0x0b, - 0x90, 0xdd, 0x35, 0x4d, 0xbd, 0xd7, 0xa9, 0x2b, 0x26, 0x66, 0x0e, 0x3f, 0x29, 0xcd, 0x5a, 0x25, - 0x35, 0xab, 0x40, 0xfc, 0xcf, 0x31, 0x98, 0xe4, 0x44, 0xd0, 0x3c, 0x24, 0x98, 0x27, 0x26, 0x66, - 0x3d, 0x25, 0xb1, 0x84, 0xb7, 0x83, 0xc5, 0x46, 0xed, 0x60, 0x79, 0x00, 0xd7, 0xb8, 0x13, 0x8f, - 0x3a, 0xee, 0xb8, 0x90, 0xd0, 0x7b, 0x90, 0x6c, 0x69, 0x75, 0x1a, 0x13, 0x73, 0x13, 0x0b, 0xab, - 0x7f, 0x83, 0x83, 0x49, 0x36, 0x02, 0x7a, 0x0f, 0x52, 0x75, 0x1d, 0x2b, 0x26, 0x96, 0x49, 0x34, - 0xba, 0x34, 0x41, 0xf1, 0x73, 0x0e, 0x3e, 0x8b, 0x8a, 0x57, 0x6a, 0x56, 0x54, 0x2c, 0x01, 0x03, - 0x27, 0x19, 0xe8, 0x2b, 0x00, 0x54, 0x06, 0xd4, 0xbf, 0x2d, 0x4d, 0x52, 0xdc, 0x30, 0x8b, 0xa0, - 0xe3, 0x15, 0x11, 0x80, 0x34, 0xf5, 0xd4, 0xfa, 0x2b, 0xfe, 0x37, 0x01, 0x92, 0x1b, 0x0e, 0x2b, - 0x40, 0x2d, 0x5e, 0x57, 0x3a, 0x4d, 0xcb, 0x55, 0x85, 0x19, 0x88, 0x44, 0x60, 0x24, 0xda, 0x43, - 0xe8, 0x5f, 0x54, 0x22, 0xe3, 0x50, 0x03, 0x77, 0x35, 0xb5, 0x63, 0x72, 0x0a, 0xb1, 0x08, 0x14, - 0x32, 0x36, 0x12, 0x23, 0x53, 0x85, 0x59, 0x6b, 0x38, 0xb3, 0x44, 0x64, 0x2c, 0x4d, 0x52, 0x13, - 0xbb, 0x3a, 0x78, 0x40, 0xb3, 0x65, 0x9b, 0xad, 0x7b, 0x33, 0x0c, 0xf1, 0x9f, 0xc5, 0x61, 0xc6, - 0x07, 0x85, 0x5e, 0x06, 0x3a, 0xf4, 0x29, 0x6a, 0x07, 0xeb, 0x72, 0x47, 0x69, 0x5b, 0x46, 0x95, - 0xb6, 0x73, 0xb7, 0x94, 0x36, 0x46, 0x3b, 0x30, 0xa3, 0xe3, 0x3a, 0x89, 0x1d, 0x6d, 0x15, 0xb3, - 0x66, 0x85, 0x8d, 0xd7, 0x12, 0x85, 0xb6, 0xaa, 0x29, 0x8f, 0x49, 0x19, 0xdd, 0x93, 0x43, 0x02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 0x03, 0x66, 0x6c, 0xc3, 0x92, 0x0d, 0x62, 0x6b, 0x7c, 0x65, 0xf9, 0xa5, 0x21, - 0xe6, 0x45, 0xed, 0x92, 0xb8, 0x32, 0x57, 0x52, 0xfc, 0x6d, 0x01, 0xe6, 0x2c, 0x80, 0x22, 0x36, - 0xea, 0xba, 0x4a, 0x45, 0x4f, 0xc2, 0x4c, 0xd7, 0xd2, 0x04, 0xfd, 0x8f, 0x2e, 0xc3, 0x74, 0x43, - 0x35, 0xba, 0x2d, 0xe5, 0x98, 0x79, 0x2d, 0x16, 0x25, 0xa6, 0x78, 0x1e, 0x1d, 0x73, 0x36, 0x61, - 0xda, 0xe8, 0x75, 0xbb, 0x9a, 0xce, 0x9a, 0x42, 0x39, 0xcb, 0xac, 0x2d, 0x0f, 0xe3, 0xcc, 0x42, - 0x59, 0x3f, 0x96, 0x52, 0x86, 0x93, 0x40, 0x97, 0x20, 0xd5, 0x70, 0x98, 0xe2, 0x6e, 0xd2, 0x9d, - 0x25, 0x56, 0x61, 0x7e, 0x43, 0x35, 0x4c, 0x7b, 0x57, 0xc2, 0x1a, 0x07, 0xae, 0x40, 0xba, 0xa5, - 0x74, 0x9a, 0x3d, 0x32, 0x2d, 0xaa, 0x6b, 0x0d, 0xab, 0x21, 0xd3, 0x56, 0x66, 0x41, 0x6b, 0x60, - 0x32, 0x58, 0xec, 0xab, 0x2d, 0x13, 0xeb, 0xbc, 0x29, 0x3c, 0x25, 0xee, 0xc1, 0x82, 0x8f, 0x28, - 0x77, 0xb9, 0x95, 0x80, 0xed, 0xa6, 0x61, 0x8d, 0x73, 0x49, 0xd5, 0xbd, 0x09, 0xfb, 0x3f, 0x04, - 0x58, 0x90, 0x54, 0xe3, 0x30, 0xdf, 0x51, 0x5a, 0xc7, 0x86, 0x6a, 0xd8, 0x36, 0x45, 0x86, 0x2a, - 0x4e, 0x4a, 0x6e, 0x63, 0x53, 0x57, 0xeb, 0x43, 0x5c, 0xf1, 0x0e, 0x4b, 0x6e, 0x52, 0x58, 0x29, - 0xdd, 0x75, 0x27, 0xd1, 0x5d, 0x98, 0x36, 0x68, 0xb7, 0x93, 0x99, 0x57, 0x8f, 0x45, 0xf7, 0xea, - 0x52, 0x8a, 0x61, 0xb2, 0x65, 0xe3, 0xb7, 0x61, 0x92, 0xcd, 0x60, 0x2c, 0x73, 0xbb, 0x10, 0x42, - 0x23, 0xcf, 0x76, 0x66, 0x2c, 0x68, 0xf1, 0x3b, 0x02, 0x4c, 0xde, 0xef, 0x29, 0x86, 0x5a, 0x69, - 0xa0, 0x37, 0x20, 0x41, 0xd7, 0x26, 0x78, 0x8b, 0x86, 0x2d, 0x64, 0x30, 0x60, 0xef, 0xf4, 0x2e, - 0x36, 0xfa, 0xf4, 0xee, 0x22, 0x00, 0xdf, 0xfb, 0x32, 0x95, 0xa6, 0xbd, 0x44, 0x3f, 0xc5, 0xf2, - 0x6a, 0x4a, 0x13, 0xbd, 0x01, 0x04, 0x18, 0xeb, 0x64, 0x02, 0xc6, 0x22, 0xb3, 0xc5, 0xbe, 0x65, - 0xa6, 0x52, 0xbb, 0x6b, 0x1e, 0x73, 0xb2, 0x14, 0x72, 0x3d, 0x01, 0x71, 0x53, 0x69, 0x8a, 0x7f, - 0x14, 0x83, 0x2c, 0xe9, 0x4b, 0xaa, 0x61, 0xaa, 0x75, 0xa5, 0xc5, 0xa4, 0x75, 0xdb, 0x1a, 0x45, - 0xe3, 0x23, 0xc8, 0x9b, 0x8f, 0xa1, 0x8f, 0x60, 0xea, 0x29, 0x91, 0x97, 0xac, 0x36, 0x2c, 0x1b, - 0x7b, 0x3f, 0x04, 0xdf, 0x5f, 0xef, 0x0a, 0x17, 0x34, 0x0d, 0xdc, 0x54, 0xac, 0x53, 0x41, 0x4a, - 0xc9, 0xa7, 0x2c, 0xd7, 0x40, 0x9b, 0x80, 0x74, 0xdc, 0x52, 0x4c, 0xf5, 0x19, 0x96, 0xf7, 0xa9, - 0x4b, 0xef, 0xd4, 0x8f, 0x23, 0xae, 0x2a, 0xcd, 0x5a, 0x98, 0x77, 0x2c, 0xc4, 0xdc, 0x21, 0xcc, - 0x07, 0x55, 0x78, 0x42, 0x35, 0x5f, 0xf0, 0xa8, 0x89, 0xf5, 0x48, 0x47, 0x49, 0xe2, 0x9f, 0xcc, - 0x42, 0xda, 0x63, 0xea, 0xe8, 0x29, 0x2c, 0x76, 0x7a, 0x6d, 0xac, 0x93, 0xe6, 0x33, 0x4f, 0x68, - 0x79, 0x71, 0x56, 0xef, 0xbb, 0x51, 0x3a, 0xcc, 0xca, 0x96, 0x45, 0x82, 0x3a, 0x44, 0xd6, 0x07, - 0xcb, 0x63, 0xd2, 0x7c, 0x27, 0x20, 0x1f, 0x3d, 0x87, 0xa5, 0xba, 0x62, 0xe2, 0xa6, 0x16, 0x50, - 0x29, 0x13, 0xe3, 0x7b, 0x91, 0x2a, 0x2d, 0x38, 0x44, 0xbc, 0xd5, 0x2e, 0xd6, 0x03, 0x4b, 0x10, - 0x06, 0x74, 0x28, 0x2b, 0x1d, 0xad, 0x73, 0xdc, 0x56, 0xcd, 0x63, 0xef, 0x68, 0xf5, 0x66, 0xa4, - 0x2a, 0x3f, 0xcc, 0x5b, 0xd8, 0x76, 0x65, 0xd9, 0x43, 0x5f, 0x1e, 0xa9, 0xa6, 0x25, 0x37, 0x54, - 0xba, 0x50, 0xea, 0x54, 0x33, 0x3e, 0x42, 0x35, 0x1b, 0x45, 0x0b, 0xdb, 0xa9, 0xa6, 0xe5, 0xcb, - 0x43, 0x3a, 0x9c, 0x39, 0x94, 0xdb, 0x4a, 0xd7, 0x1a, 0xf7, 0x9c, 0x25, 0x2b, 0xbe, 0x80, 0x1c, - 0x4d, 0x75, 0x1f, 0x6e, 0x2a, 0xdd, 0x92, 0x4d, 0xc1, 0x51, 0xdd, 0x61, 0x40, 0x3e, 0xfa, 0x4c, - 0x80, 0x4b, 0x0d, 0xdc, 0x32, 0x15, 0xb9, 0xab, 0x63, 0x03, 0x77, 0xea, 0x38,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0xfd, 0xb8, 0x10, 0x10, 0xf4, 0xf1, 0xba, - 0x27, 0x4f, 0xae, 0x78, 0xaf, 0xdb, 0x73, 0x14, 0x7f, 0x18, 0x90, 0x8f, 0x7e, 0x71, 0x60, 0x0c, - 0xc8, 0x99, 0x99, 0xa2, 0xcc, 0xdc, 0x3f, 0x09, 0x33, 0x21, 0x0e, 0xc9, 0xe6, 0x2a, 0x2c, 0x24, - 0x64, 0x00, 0xb9, 0xcf, 0x05, 0x7f, 0x4c, 0xc8, 0xf9, 0x7e, 0x17, 0xa6, 0xda, 0x6a, 0x47, 0x66, - 0x67, 0xcc, 0x06, 0x1f, 0x8f, 0x61, 0xe7, 0xa7, 0x92, 0x6d, 0xb5, 0x43, 0xff, 0x51, 0x54, 0xe5, - 0x88, 0xa3, 0xc6, 0x22, 0xa1, 0x2a, 0x47, 0x0c, 0xb5, 0x04, 0x33, 0x4f, 0x7b, 0x4a, 0xc7, 0x54, - 0x5b, 0x58, 0xe6, 0x67, 0xb7, 0xc6, 0x23, 0x9c, 0xdd, 0xca, 0x58, 0x48, 0x34, 0x69, 0xe4, 0x3e, - 0x1b, 0xef, 0x8f, 0x4d, 0x79, 0xbb, 0x7e, 0x43, 0x80, 0xcb, 0x94, 0xb2, 0x33, 0xec, 0xc8, 0x07, - 0xaa, 0x61, 0x6a, 0x4d, 0x5d, 0x69, 0xcb, 0x7b, 0xbd, 0xfa, 0x21, 0x36, 0xad, 0x4d, 0xec, 0x27, - 0x2f, 0xae, 0x47, 0xf6, 0x65, 0x97, 0xad, 0x3a, 0xd7, 0x69, 0x95, 0xd2, 0x97, 0x28, 0x53, 0xf6, - 0x88, 0xe6, 0x2b, 0x36, 0x72, 0xff, 0x22, 0x06, 0x17, 0x87, 0xd0, 0x40, 0x5f, 0x86, 0x73, 0xfe, - 0xa6, 0xb5, 0xb4, 0xe7, 0x58, 0x97, 0xe9, 0xd9, 0x04, 0xbe, 0x20, 0xb8, 0xe4, 0xad, 0x68, 0x83, - 0x00,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, 0xb6, 0xaf, 0x9a, 0x89, 0xc1, 0x17, 0x57, 0xfa, 0xa8, 0xcf, 0xec, 0xf9, 0x88, 0x9a, - 0x70, 0xc1, 0x92, 0xda, 0x73, 0xd5, 0x3c, 0x70, 0x2e, 0x87, 0x5b, 0x35, 0x4c, 0x0e, 0x14, 0x1e, - 0x97, 0xcc, 0x43, 0xd5, 0x3c, 0xb0, 0x3a, 0x94, 0x23, 0x3c, 0x3d, 0xac, 0x10, 0xdd, 0x87, 0x2c, - 0x75, 0x23, 0x5d, 0x45, 0xb7, 0x6d, 0x2c, 0x39, 0xf0, 0x2a, 0x21, 0x71, 0x17, 0x3b, 0x8a, 0xee, - 0x58, 0x19, 0x1d, 0x48, 0x9c, 0x1c, 0xf4, 0x10, 0x10, 0xb7, 0x82, 0x03, 0xc5, 0x38, 0xb0, 0x88, - 0x4e, 0x0d, 0x3c, 0x3c, 0xc9, 0x54, 0x5f, 0x56, 0x8c, 0x03, 0xe7, 0x64, 0x48, 0xdd, 0x97, 0x47, - 0xaf, 0x78, 0x10, 0xd7, 0x6e, 0x1c, 0xa8, 0xfb, 0x36, 0xb3, 0xa9, 0x81, 0x72, 0x27, 0xae, 0xaf, - 0x4a, 0xc0, 0x1d, 0xb9, 0x37, 0xbc, 0x59, 0x48, 0x87, 0x73, 0x9c, 0xdd, 0x06, 0x36, 0xb1, 0xde, - 0x56, 0x3b, 0x74, 0x23, 0xce, 0xa2, 0x3f, 0x1d, 0xc1, 0x64, 0x8b, 0x6e, 0x44, 0xbf, 0xc9, 0x06, - 0x14, 0x06, 0x38, 0x96, 0xef, 0x09, 0x90, 0xf1, 0x4a, 0x16, 0x3d, 0x80, 0x19, 0xaa, 0x15, 0x53, - 0x93, 0xf9, 0x65, 0x1b, 0x7e, 0x71, 0x7e, 0x25, 0x92, 0x66, 0xec, 0xa4, 0x94, 0x26, 0x64, 0x6a, - 0x5a, 0x89, 0x11, 0x11, 0xbf, 0x2a, 0x30, 0x9f, 0x4f, 0xca, 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b, 0x17, 0xb8, 0xb5, 0x80, 0x11, 0x55, 0xe2, 0x59, 0x9f, 0xc4, - 0x0d, 0x74, 0x15, 0x66, 0x3a, 0xf8, 0xc8, 0x94, 0xfb, 0x5a, 0x94, 0x26, 0xd9, 0x3b, 0x56, 0xab, - 0xc4, 0x35, 0x38, 0x5f, 0xc4, 0x2d, 0x3c, 0x8a, 0x85, 0xd0, 0x9d, 0x1e, 0xd6, 0x07, 0x9c, 0x21, - 0x6d, 0x98, 0x70, 0xd7, 0x21, 0x45, 0x1c, 0x12, 0x1f, 0x9c, 0xb8, 0x41, 0x5d, 0x1e, 0x3a, 0x52, - 0x4a, 0xf0, 0xc4, 0x09, 0xa2, 0x2e, 0x00, 0x70, 0x7c, 0xc7, 0xdc, 0xa7, 0x78, 0x4e, 0xa5, 0x41, - 0x0c, 0x85, 0x78, 0xaf, 0x67, 0x81, 0x7c, 0x05, 0xb5, 0xe3, 0xd7, 0x04, 0x38, 0xc3, 0xba, 0x47, - 0x24, 0xf8, 0x17, 0xd2, 0x86, 0x53, 0x75, 0x85, 0x65, 0x98, 0xbf, 0x8b, 0xcd, 0x68, 0x8d, 0xfb, - 0xae, 0x00, 0x73, 0x4c, 0x49, 0xc5, 0x56, 0xf7, 0x9e, 0xb6, 0x37, 0x4c, 0x41, 0xbe, 0x40, 0x32, - 0x76, 0x9a, 0x40, 0xb2, 0x02, 0x49, 0x5d, 0x35, 0x0e, 0x29, 0xa1, 0xf8, 0xe0, 0x73, 0x93, 0x41, - 0x8f, 0x91, 0x95, 0xc7, 0xa4, 0x49, 0x82, 0x4f, 0x48, 0x2d, 0xc0, 0x04, 0x91, 0xb9, 0xda, 0xe0, - 0xdd, 0x2a, 0xf1, 0x44, 0xdb, 0xab, 0x34, 0xac, 0x90, 0xe4, 0xef, 0x08, 0xb0, 0x48, 0xfa, 0x96, - 0x23, 0x92, 0xef, 0x53, 0x2f, 0x77, 0xbd, 0xea, 0x96, 0xf0, 0xbc, 0xea, 0xf6, 0x93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, 0x77, 0x48, 0xcb, 0x76, 0x84, 0xc7, 0xef, 0x70, 0x90, 0xa6, 0xd6, 0x52, - 0x3a, 0xcd, 0x15, 0x4d, 0x6f, 0xae, 0x36, 0x71, 0x87, 0xb6, 0x7b, 0xd5, 0xa9, 0x68, 0x95, 0x53, - 0x20, 0x0e, 0x6e, 0xf5, 0xd9, 0xda, 0x7b, 0x8d, 0x56, 0xf7, 0x57, 0x62, 0x73, 0x77, 0x19, 0x2a, - 0x3d, 0x01, 0x41, 0x86, 0x86, 0x95, 0x07, 0x6b, 0xbf, 0x6f, 0xe5, 0x7e, 0x4c, 0x73, 0x3f, 0x2e, - 0xb6, 0xba, 0x1f, 0x3f, 0x58, 0xdb, 0x9b, 0xa0, 0x04, 0x5f, 0xff, 0x7f, 0x01, 0x00, 0x00, 0xff, - 0xff, 0x41, 0xb9, 0xdb, 0xfc, 0x2d, 0x98, 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 - -// DlpServiceClient is the client API for DlpService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type DlpServiceClient interface { - // Finds potentially sensitive info in content. - // This method has limits on input size, processing time, and output size. - // - // When no InfoTypes or CustomInfoTypes are specified in this request, the - // system will automatically choose what detectors to run. By default this may - // be all types, but may change over time as detectors are updated. - // - // For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images - // and https://cloud.google.com/dlp/docs/inspecting-text, - InspectContent(ctx context.Context, in *InspectContentRequest, opts ...grpc.CallOption) (*InspectContentResponse, error) - // Redacts potentially sensitive info from an image. - // This method has limits on input size, processing time, and output size. - // See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to - // learn more. - // - // When no InfoTypes or CustomInfoTypes are specified in this request, the - // system will automatically choose what detectors to run. By default this may - // be all types, but may change over time as detectors are updated. - RedactImage(ctx context.Context, in *RedactImageRequest, opts ...grpc.CallOption) (*RedactImageResponse, error) - // De-identifies potentially sensitive info from a ContentItem. - // This method has limits on input size and output size. - // See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to - // learn more. - // - // When no InfoTypes or CustomInfoTypes are specified in this request, the - // system will automatically choose what detectors to run. By default this may - // be all types, but may change over time as detectors are updated. - DeidentifyContent(ctx context.Context, in *DeidentifyContentRequest, opts ...grpc.CallOption) (*DeidentifyContentResponse, error) - // Re-identifies content that has been de-identified. - // See - // https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example - // to learn more. - ReidentifyContent(ctx context.Context, in *ReidentifyContentRequest, opts ...grpc.CallOption) (*ReidentifyContentResponse, error) - // Returns a list of the sensitive information types that the DLP API - // supports. See https://cloud.google.com/dlp/docs/infotypes-reference to - // learn more. - ListInfoTypes(ctx context.Context, in *ListInfoTypesRequest, opts ...grpc.CallOption) (*ListInfoTypesResponse, error) - // Creates an InspectTemplate for re-using frequently used configuration - // for inspecting content, images, and storage. - // See https://cloud.google.com/dlp/docs/creating-templates to learn more. - CreateInspectTemplate(ctx context.Context, in *CreateInspectTemplateRequest, opts ...grpc.CallOption) (*InspectTemplate, error) - // Updates the InspectTemplate. - // See https://cloud.google.com/dlp/docs/creating-templates to learn more. - UpdateInspectTemplate(ctx context.Context, in *UpdateInspectTemplateRequest, opts ...grpc.CallOption) (*InspectTemplate, error) - // Gets an InspectTemplate. - // See https://cloud.google.com/dlp/docs/creating-templates to learn more. - GetInspectTemplate(ctx context.Context, in *GetInspectTemplateRequest, opts ...grpc.CallOption) (*InspectTemplate, error) - // Lists InspectTemplates. - // See https://cloud.google.com/dlp/docs/creating-templates to learn more. - ListInspectTemplates(ctx context.Context, in *ListInspectTemplatesRequest, opts ...grpc.CallOption) (*ListInspectTemplatesResponse, error) - // Deletes an InspectTemplate. - // See https://cloud.google.com/dlp/docs/creating-templates to learn more. - DeleteInspectTemplate(ctx context.Context, in *DeleteInspectTemplateRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Creates a DeidentifyTemplate for re-using frequently used configuration - // for de-identifying content, images, and storage. - // See https://cloud.google.com/dlp/docs/creating-templates-deid to learn - // more. - CreateDeidentifyTemplate(ctx context.Context, in *CreateDeidentifyTemplateRequest, opts ...grpc.CallOption) (*DeidentifyTemplate, error) - // Updates the DeidentifyTemplate. - // See https://cloud.google.com/dlp/docs/creating-templates-deid to learn - // more. - UpdateDeidentifyTemplate(ctx context.Context, in *UpdateDeidentifyTemplateRequest, opts ...grpc.CallOption) (*DeidentifyTemplate, error) - // Gets a DeidentifyTemplate. - // See https://cloud.google.com/dlp/docs/creating-templates-deid to learn - // more. - GetDeidentifyTemplate(ctx context.Context, in *GetDeidentifyTemplateRequest, opts ...grpc.CallOption) (*DeidentifyTemplate, error) - // Lists DeidentifyTemplates. - // See https://cloud.google.com/dlp/docs/creating-templates-deid to learn - // more. - ListDeidentifyTemplates(ctx context.Context, in *ListDeidentifyTemplatesRequest, opts ...grpc.CallOption) (*ListDeidentifyTemplatesResponse, error) - // Deletes a DeidentifyTemplate. - // See https://cloud.google.com/dlp/docs/creating-templates-deid to learn - // more. - DeleteDeidentifyTemplate(ctx context.Context, in *DeleteDeidentifyTemplateRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Creates a job trigger to run DLP actions such as scanning storage for - // sensitive information on a set schedule. - // See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. - CreateJobTrigger(ctx context.Context, in *CreateJobTriggerRequest, opts ...grpc.CallOption) (*JobTrigger, error) - // Updates a job trigger. - // See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. - UpdateJobTrigger(ctx context.Context, in *UpdateJobTriggerRequest, opts ...grpc.CallOption) (*JobTrigger, error) - // Gets a job trigger. - // See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. - GetJobTrigger(ctx context.Context, in *GetJobTriggerRequest, opts ...grpc.CallOption) (*JobTrigger, error) - // Lists job triggers. - // See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. - ListJobTriggers(ctx context.Context, in *ListJobTriggersRequest, opts ...grpc.CallOption) (*ListJobTriggersResponse, error) - // Deletes a job trigger. - // See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. - DeleteJobTrigger(ctx context.Context, in *DeleteJobTriggerRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Activate a job trigger. Causes the immediate execute of a trigger - // instead of waiting on the trigger event to occur. - ActivateJobTrigger(ctx context.Context, in *ActivateJobTriggerRequest, opts ...grpc.CallOption) (*DlpJob, error) - // Creates a new job to inspect storage or calculate risk metrics. - // See https://cloud.google.com/dlp/docs/inspecting-storage and - // https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. - // - // When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the - // system will automatically choose what detectors to run. By default this may - // be all types, but may change over time as detectors are updated. - CreateDlpJob(ctx context.Context, in *CreateDlpJobRequest, opts ...grpc.CallOption) (*DlpJob, error) - // Lists DlpJobs that match the specified filter in the request. - // See https://cloud.google.com/dlp/docs/inspecting-storage and - // https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. - ListDlpJobs(ctx context.Context, in *ListDlpJobsRequest, opts ...grpc.CallOption) (*ListDlpJobsResponse, error) - // Gets the latest state of a long-running DlpJob. - // See https://cloud.google.com/dlp/docs/inspecting-storage and - // https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. - GetDlpJob(ctx context.Context, in *GetDlpJobRequest, opts ...grpc.CallOption) (*DlpJob, error) - // Deletes a long-running DlpJob. This method indicates that the client is - // no longer interested in the DlpJob result. The job will be cancelled if - // possible. - // See https://cloud.google.com/dlp/docs/inspecting-storage and - // https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. - DeleteDlpJob(ctx context.Context, in *DeleteDlpJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Starts asynchronous cancellation on a long-running DlpJob. The server - // makes a best effort to cancel the DlpJob, but success is not - // guaranteed. - // 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 { - cc *grpc.ClientConn -} - -func NewDlpServiceClient(cc *grpc.ClientConn) DlpServiceClient { - return &dlpServiceClient{cc} -} - -func (c *dlpServiceClient) InspectContent(ctx context.Context, in *InspectContentRequest, opts ...grpc.CallOption) (*InspectContentResponse, error) { - out := new(InspectContentResponse) - err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/InspectContent", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dlpServiceClient) RedactImage(ctx context.Context, in *RedactImageRequest, opts ...grpc.CallOption) (*RedactImageResponse, error) { - out := new(RedactImageResponse) - err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/RedactImage", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dlpServiceClient) DeidentifyContent(ctx context.Context, in *DeidentifyContentRequest, opts ...grpc.CallOption) (*DeidentifyContentResponse, error) { - out := new(DeidentifyContentResponse) - err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/DeidentifyContent", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dlpServiceClient) ReidentifyContent(ctx context.Context, in *ReidentifyContentRequest, opts ...grpc.CallOption) (*ReidentifyContentResponse, error) { - out := new(ReidentifyContentResponse) - err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/ReidentifyContent", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dlpServiceClient) ListInfoTypes(ctx context.Context, in *ListInfoTypesRequest, opts ...grpc.CallOption) (*ListInfoTypesResponse, error) { - out := new(ListInfoTypesResponse) - err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/ListInfoTypes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dlpServiceClient) CreateInspectTemplate(ctx context.Context, in *CreateInspectTemplateRequest, opts ...grpc.CallOption) (*InspectTemplate, error) { - out := new(InspectTemplate) - err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/CreateInspectTemplate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dlpServiceClient) UpdateInspectTemplate(ctx context.Context, in *UpdateInspectTemplateRequest, opts ...grpc.CallOption) (*InspectTemplate, error) { - out := new(InspectTemplate) - err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/UpdateInspectTemplate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dlpServiceClient) GetInspectTemplate(ctx context.Context, in *GetInspectTemplateRequest, opts ...grpc.CallOption) (*InspectTemplate, error) { - out := new(InspectTemplate) - err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/GetInspectTemplate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dlpServiceClient) ListInspectTemplates(ctx context.Context, in *ListInspectTemplatesRequest, opts ...grpc.CallOption) (*ListInspectTemplatesResponse, error) { - out := new(ListInspectTemplatesResponse) - err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/ListInspectTemplates", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dlpServiceClient) DeleteInspectTemplate(ctx context.Context, in *DeleteInspectTemplateRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/DeleteInspectTemplate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dlpServiceClient) CreateDeidentifyTemplate(ctx context.Context, in *CreateDeidentifyTemplateRequest, opts ...grpc.CallOption) (*DeidentifyTemplate, error) { - out := new(DeidentifyTemplate) - err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/CreateDeidentifyTemplate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dlpServiceClient) UpdateDeidentifyTemplate(ctx context.Context, in *UpdateDeidentifyTemplateRequest, opts ...grpc.CallOption) (*DeidentifyTemplate, error) { - out := new(DeidentifyTemplate) - err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/UpdateDeidentifyTemplate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dlpServiceClient) GetDeidentifyTemplate(ctx context.Context, in *GetDeidentifyTemplateRequest, opts ...grpc.CallOption) (*DeidentifyTemplate, error) { - out := new(DeidentifyTemplate) - err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/GetDeidentifyTemplate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dlpServiceClient) ListDeidentifyTemplates(ctx context.Context, in *ListDeidentifyTemplatesRequest, opts ...grpc.CallOption) (*ListDeidentifyTemplatesResponse, error) { - out := new(ListDeidentifyTemplatesResponse) - err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/ListDeidentifyTemplates", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dlpServiceClient) DeleteDeidentifyTemplate(ctx context.Context, in *DeleteDeidentifyTemplateRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/DeleteDeidentifyTemplate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dlpServiceClient) CreateJobTrigger(ctx context.Context, in *CreateJobTriggerRequest, opts ...grpc.CallOption) (*JobTrigger, error) { - out := new(JobTrigger) - err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/CreateJobTrigger", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dlpServiceClient) UpdateJobTrigger(ctx context.Context, in *UpdateJobTriggerRequest, opts ...grpc.CallOption) (*JobTrigger, error) { - out := new(JobTrigger) - err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/UpdateJobTrigger", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dlpServiceClient) GetJobTrigger(ctx context.Context, in *GetJobTriggerRequest, opts ...grpc.CallOption) (*JobTrigger, error) { - out := new(JobTrigger) - err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/GetJobTrigger", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dlpServiceClient) ListJobTriggers(ctx context.Context, in *ListJobTriggersRequest, opts ...grpc.CallOption) (*ListJobTriggersResponse, error) { - out := new(ListJobTriggersResponse) - err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/ListJobTriggers", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dlpServiceClient) DeleteJobTrigger(ctx context.Context, in *DeleteJobTriggerRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/DeleteJobTrigger", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dlpServiceClient) ActivateJobTrigger(ctx context.Context, in *ActivateJobTriggerRequest, opts ...grpc.CallOption) (*DlpJob, error) { - out := new(DlpJob) - err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/ActivateJobTrigger", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dlpServiceClient) CreateDlpJob(ctx context.Context, in *CreateDlpJobRequest, opts ...grpc.CallOption) (*DlpJob, error) { - out := new(DlpJob) - err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/CreateDlpJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dlpServiceClient) ListDlpJobs(ctx context.Context, in *ListDlpJobsRequest, opts ...grpc.CallOption) (*ListDlpJobsResponse, error) { - out := new(ListDlpJobsResponse) - err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/ListDlpJobs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dlpServiceClient) GetDlpJob(ctx context.Context, in *GetDlpJobRequest, opts ...grpc.CallOption) (*DlpJob, error) { - out := new(DlpJob) - err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/GetDlpJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dlpServiceClient) DeleteDlpJob(ctx context.Context, in *DeleteDlpJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/DeleteDlpJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dlpServiceClient) CancelDlpJob(ctx context.Context, in *CancelDlpJobRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.privacy.dlp.v2.DlpService/CancelDlpJob", in, out, opts...) - if err != nil { - return nil, err - } - 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. - // This method has limits on input size, processing time, and output size. - // - // When no InfoTypes or CustomInfoTypes are specified in this request, the - // system will automatically choose what detectors to run. By default this may - // be all types, but may change over time as detectors are updated. - // - // For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images - // and https://cloud.google.com/dlp/docs/inspecting-text, - InspectContent(context.Context, *InspectContentRequest) (*InspectContentResponse, error) - // Redacts potentially sensitive info from an image. - // This method has limits on input size, processing time, and output size. - // See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to - // learn more. - // - // When no InfoTypes or CustomInfoTypes are specified in this request, the - // system will automatically choose what detectors to run. By default this may - // be all types, but may change over time as detectors are updated. - RedactImage(context.Context, *RedactImageRequest) (*RedactImageResponse, error) - // De-identifies potentially sensitive info from a ContentItem. - // This method has limits on input size and output size. - // See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to - // learn more. - // - // When no InfoTypes or CustomInfoTypes are specified in this request, the - // system will automatically choose what detectors to run. By default this may - // be all types, but may change over time as detectors are updated. - DeidentifyContent(context.Context, *DeidentifyContentRequest) (*DeidentifyContentResponse, error) - // Re-identifies content that has been de-identified. - // See - // https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example - // to learn more. - ReidentifyContent(context.Context, *ReidentifyContentRequest) (*ReidentifyContentResponse, error) - // Returns a list of the sensitive information types that the DLP API - // supports. See https://cloud.google.com/dlp/docs/infotypes-reference to - // learn more. - ListInfoTypes(context.Context, *ListInfoTypesRequest) (*ListInfoTypesResponse, error) - // Creates an InspectTemplate for re-using frequently used configuration - // for inspecting content, images, and storage. - // See https://cloud.google.com/dlp/docs/creating-templates to learn more. - CreateInspectTemplate(context.Context, *CreateInspectTemplateRequest) (*InspectTemplate, error) - // Updates the InspectTemplate. - // See https://cloud.google.com/dlp/docs/creating-templates to learn more. - UpdateInspectTemplate(context.Context, *UpdateInspectTemplateRequest) (*InspectTemplate, error) - // Gets an InspectTemplate. - // See https://cloud.google.com/dlp/docs/creating-templates to learn more. - GetInspectTemplate(context.Context, *GetInspectTemplateRequest) (*InspectTemplate, error) - // Lists InspectTemplates. - // See https://cloud.google.com/dlp/docs/creating-templates to learn more. - ListInspectTemplates(context.Context, *ListInspectTemplatesRequest) (*ListInspectTemplatesResponse, error) - // Deletes an InspectTemplate. - // See https://cloud.google.com/dlp/docs/creating-templates to learn more. - DeleteInspectTemplate(context.Context, *DeleteInspectTemplateRequest) (*empty.Empty, error) - // Creates a DeidentifyTemplate for re-using frequently used configuration - // for de-identifying content, images, and storage. - // See https://cloud.google.com/dlp/docs/creating-templates-deid to learn - // more. - CreateDeidentifyTemplate(context.Context, *CreateDeidentifyTemplateRequest) (*DeidentifyTemplate, error) - // Updates the DeidentifyTemplate. - // See https://cloud.google.com/dlp/docs/creating-templates-deid to learn - // more. - UpdateDeidentifyTemplate(context.Context, *UpdateDeidentifyTemplateRequest) (*DeidentifyTemplate, error) - // Gets a DeidentifyTemplate. - // See https://cloud.google.com/dlp/docs/creating-templates-deid to learn - // more. - GetDeidentifyTemplate(context.Context, *GetDeidentifyTemplateRequest) (*DeidentifyTemplate, error) - // Lists DeidentifyTemplates. - // See https://cloud.google.com/dlp/docs/creating-templates-deid to learn - // more. - ListDeidentifyTemplates(context.Context, *ListDeidentifyTemplatesRequest) (*ListDeidentifyTemplatesResponse, error) - // Deletes a DeidentifyTemplate. - // See https://cloud.google.com/dlp/docs/creating-templates-deid to learn - // more. - DeleteDeidentifyTemplate(context.Context, *DeleteDeidentifyTemplateRequest) (*empty.Empty, error) - // Creates a job trigger to run DLP actions such as scanning storage for - // sensitive information on a set schedule. - // See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. - CreateJobTrigger(context.Context, *CreateJobTriggerRequest) (*JobTrigger, error) - // Updates a job trigger. - // See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. - UpdateJobTrigger(context.Context, *UpdateJobTriggerRequest) (*JobTrigger, error) - // Gets a job trigger. - // See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. - GetJobTrigger(context.Context, *GetJobTriggerRequest) (*JobTrigger, error) - // Lists job triggers. - // See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. - ListJobTriggers(context.Context, *ListJobTriggersRequest) (*ListJobTriggersResponse, error) - // Deletes a job trigger. - // See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. - DeleteJobTrigger(context.Context, *DeleteJobTriggerRequest) (*empty.Empty, error) - // Activate a job trigger. Causes the immediate execute of a trigger - // instead of waiting on the trigger event to occur. - ActivateJobTrigger(context.Context, *ActivateJobTriggerRequest) (*DlpJob, error) - // Creates a new job to inspect storage or calculate risk metrics. - // See https://cloud.google.com/dlp/docs/inspecting-storage and - // https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. - // - // When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the - // system will automatically choose what detectors to run. By default this may - // be all types, but may change over time as detectors are updated. - CreateDlpJob(context.Context, *CreateDlpJobRequest) (*DlpJob, error) - // Lists DlpJobs that match the specified filter in the request. - // See https://cloud.google.com/dlp/docs/inspecting-storage and - // https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. - ListDlpJobs(context.Context, *ListDlpJobsRequest) (*ListDlpJobsResponse, error) - // Gets the latest state of a long-running DlpJob. - // See https://cloud.google.com/dlp/docs/inspecting-storage and - // https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. - GetDlpJob(context.Context, *GetDlpJobRequest) (*DlpJob, error) - // Deletes a long-running DlpJob. This method indicates that the client is - // no longer interested in the DlpJob result. The job will be cancelled if - // possible. - // See https://cloud.google.com/dlp/docs/inspecting-storage and - // https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. - DeleteDlpJob(context.Context, *DeleteDlpJobRequest) (*empty.Empty, error) - // Starts asynchronous cancellation on a long-running DlpJob. The server - // makes a best effort to cancel the DlpJob, but success is not - // guaranteed. - // 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) -} - -// UnimplementedDlpServiceServer can be embedded to have forward compatible implementations. -type UnimplementedDlpServiceServer struct { -} - -func (*UnimplementedDlpServiceServer) InspectContent(ctx context.Context, req *InspectContentRequest) (*InspectContentResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method InspectContent not implemented") -} -func (*UnimplementedDlpServiceServer) RedactImage(ctx context.Context, req *RedactImageRequest) (*RedactImageResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method RedactImage not implemented") -} -func (*UnimplementedDlpServiceServer) DeidentifyContent(ctx context.Context, req *DeidentifyContentRequest) (*DeidentifyContentResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method DeidentifyContent not implemented") -} -func (*UnimplementedDlpServiceServer) ReidentifyContent(ctx context.Context, req *ReidentifyContentRequest) (*ReidentifyContentResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ReidentifyContent not implemented") -} -func (*UnimplementedDlpServiceServer) ListInfoTypes(ctx context.Context, req *ListInfoTypesRequest) (*ListInfoTypesResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListInfoTypes not implemented") -} -func (*UnimplementedDlpServiceServer) CreateInspectTemplate(ctx context.Context, req *CreateInspectTemplateRequest) (*InspectTemplate, error) { - return nil, status1.Errorf(codes.Unimplemented, "method CreateInspectTemplate not implemented") -} -func (*UnimplementedDlpServiceServer) UpdateInspectTemplate(ctx context.Context, req *UpdateInspectTemplateRequest) (*InspectTemplate, error) { - return nil, status1.Errorf(codes.Unimplemented, "method UpdateInspectTemplate not implemented") -} -func (*UnimplementedDlpServiceServer) GetInspectTemplate(ctx context.Context, req *GetInspectTemplateRequest) (*InspectTemplate, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetInspectTemplate not implemented") -} -func (*UnimplementedDlpServiceServer) ListInspectTemplates(ctx context.Context, req *ListInspectTemplatesRequest) (*ListInspectTemplatesResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListInspectTemplates not implemented") -} -func (*UnimplementedDlpServiceServer) DeleteInspectTemplate(ctx context.Context, req *DeleteInspectTemplateRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method DeleteInspectTemplate not implemented") -} -func (*UnimplementedDlpServiceServer) CreateDeidentifyTemplate(ctx context.Context, req *CreateDeidentifyTemplateRequest) (*DeidentifyTemplate, error) { - return nil, status1.Errorf(codes.Unimplemented, "method CreateDeidentifyTemplate not implemented") -} -func (*UnimplementedDlpServiceServer) UpdateDeidentifyTemplate(ctx context.Context, req *UpdateDeidentifyTemplateRequest) (*DeidentifyTemplate, error) { - return nil, status1.Errorf(codes.Unimplemented, "method UpdateDeidentifyTemplate not implemented") -} -func (*UnimplementedDlpServiceServer) GetDeidentifyTemplate(ctx context.Context, req *GetDeidentifyTemplateRequest) (*DeidentifyTemplate, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetDeidentifyTemplate not implemented") -} -func (*UnimplementedDlpServiceServer) ListDeidentifyTemplates(ctx context.Context, req *ListDeidentifyTemplatesRequest) (*ListDeidentifyTemplatesResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListDeidentifyTemplates not implemented") -} -func (*UnimplementedDlpServiceServer) DeleteDeidentifyTemplate(ctx context.Context, req *DeleteDeidentifyTemplateRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method DeleteDeidentifyTemplate not implemented") -} -func (*UnimplementedDlpServiceServer) CreateJobTrigger(ctx context.Context, req *CreateJobTriggerRequest) (*JobTrigger, error) { - return nil, status1.Errorf(codes.Unimplemented, "method CreateJobTrigger not implemented") -} -func (*UnimplementedDlpServiceServer) UpdateJobTrigger(ctx context.Context, req *UpdateJobTriggerRequest) (*JobTrigger, error) { - return nil, status1.Errorf(codes.Unimplemented, "method UpdateJobTrigger not implemented") -} -func (*UnimplementedDlpServiceServer) GetJobTrigger(ctx context.Context, req *GetJobTriggerRequest) (*JobTrigger, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetJobTrigger not implemented") -} -func (*UnimplementedDlpServiceServer) ListJobTriggers(ctx context.Context, req *ListJobTriggersRequest) (*ListJobTriggersResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListJobTriggers not implemented") -} -func (*UnimplementedDlpServiceServer) DeleteJobTrigger(ctx context.Context, req *DeleteJobTriggerRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method DeleteJobTrigger not implemented") -} -func (*UnimplementedDlpServiceServer) ActivateJobTrigger(ctx context.Context, req *ActivateJobTriggerRequest) (*DlpJob, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ActivateJobTrigger not implemented") -} -func (*UnimplementedDlpServiceServer) CreateDlpJob(ctx context.Context, req *CreateDlpJobRequest) (*DlpJob, error) { - return nil, status1.Errorf(codes.Unimplemented, "method CreateDlpJob not implemented") -} -func (*UnimplementedDlpServiceServer) ListDlpJobs(ctx context.Context, req *ListDlpJobsRequest) (*ListDlpJobsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListDlpJobs not implemented") -} -func (*UnimplementedDlpServiceServer) GetDlpJob(ctx context.Context, req *GetDlpJobRequest) (*DlpJob, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetDlpJob not implemented") -} -func (*UnimplementedDlpServiceServer) DeleteDlpJob(ctx context.Context, req *DeleteDlpJobRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method DeleteDlpJob not implemented") -} -func (*UnimplementedDlpServiceServer) CancelDlpJob(ctx context.Context, req *CancelDlpJobRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method CancelDlpJob not implemented") -} -func (*UnimplementedDlpServiceServer) CreateStoredInfoType(ctx context.Context, req *CreateStoredInfoTypeRequest) (*StoredInfoType, error) { - return nil, status1.Errorf(codes.Unimplemented, "method CreateStoredInfoType not implemented") -} -func (*UnimplementedDlpServiceServer) UpdateStoredInfoType(ctx context.Context, req *UpdateStoredInfoTypeRequest) (*StoredInfoType, error) { - return nil, status1.Errorf(codes.Unimplemented, "method UpdateStoredInfoType not implemented") -} -func (*UnimplementedDlpServiceServer) GetStoredInfoType(ctx context.Context, req *GetStoredInfoTypeRequest) (*StoredInfoType, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetStoredInfoType not implemented") -} -func (*UnimplementedDlpServiceServer) ListStoredInfoTypes(ctx context.Context, req *ListStoredInfoTypesRequest) (*ListStoredInfoTypesResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListStoredInfoTypes not implemented") -} -func (*UnimplementedDlpServiceServer) DeleteStoredInfoType(ctx context.Context, req *DeleteStoredInfoTypeRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method DeleteStoredInfoType not implemented") -} - -func RegisterDlpServiceServer(s *grpc.Server, srv DlpServiceServer) { - s.RegisterService(&_DlpService_serviceDesc, srv) -} - -func _DlpService_InspectContent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InspectContentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DlpServiceServer).InspectContent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.privacy.dlp.v2.DlpService/InspectContent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DlpServiceServer).InspectContent(ctx, req.(*InspectContentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DlpService_RedactImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RedactImageRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DlpServiceServer).RedactImage(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.privacy.dlp.v2.DlpService/RedactImage", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DlpServiceServer).RedactImage(ctx, req.(*RedactImageRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DlpService_DeidentifyContent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeidentifyContentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DlpServiceServer).DeidentifyContent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.privacy.dlp.v2.DlpService/DeidentifyContent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DlpServiceServer).DeidentifyContent(ctx, req.(*DeidentifyContentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DlpService_ReidentifyContent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ReidentifyContentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DlpServiceServer).ReidentifyContent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.privacy.dlp.v2.DlpService/ReidentifyContent", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DlpServiceServer).ReidentifyContent(ctx, req.(*ReidentifyContentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DlpService_ListInfoTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListInfoTypesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DlpServiceServer).ListInfoTypes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.privacy.dlp.v2.DlpService/ListInfoTypes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DlpServiceServer).ListInfoTypes(ctx, req.(*ListInfoTypesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DlpService_CreateInspectTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateInspectTemplateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DlpServiceServer).CreateInspectTemplate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.privacy.dlp.v2.DlpService/CreateInspectTemplate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DlpServiceServer).CreateInspectTemplate(ctx, req.(*CreateInspectTemplateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DlpService_UpdateInspectTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateInspectTemplateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DlpServiceServer).UpdateInspectTemplate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.privacy.dlp.v2.DlpService/UpdateInspectTemplate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DlpServiceServer).UpdateInspectTemplate(ctx, req.(*UpdateInspectTemplateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DlpService_GetInspectTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetInspectTemplateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DlpServiceServer).GetInspectTemplate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.privacy.dlp.v2.DlpService/GetInspectTemplate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DlpServiceServer).GetInspectTemplate(ctx, req.(*GetInspectTemplateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DlpService_ListInspectTemplates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListInspectTemplatesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DlpServiceServer).ListInspectTemplates(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.privacy.dlp.v2.DlpService/ListInspectTemplates", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DlpServiceServer).ListInspectTemplates(ctx, req.(*ListInspectTemplatesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DlpService_DeleteInspectTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteInspectTemplateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DlpServiceServer).DeleteInspectTemplate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.privacy.dlp.v2.DlpService/DeleteInspectTemplate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DlpServiceServer).DeleteInspectTemplate(ctx, req.(*DeleteInspectTemplateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DlpService_CreateDeidentifyTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateDeidentifyTemplateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DlpServiceServer).CreateDeidentifyTemplate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.privacy.dlp.v2.DlpService/CreateDeidentifyTemplate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DlpServiceServer).CreateDeidentifyTemplate(ctx, req.(*CreateDeidentifyTemplateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DlpService_UpdateDeidentifyTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateDeidentifyTemplateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DlpServiceServer).UpdateDeidentifyTemplate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.privacy.dlp.v2.DlpService/UpdateDeidentifyTemplate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DlpServiceServer).UpdateDeidentifyTemplate(ctx, req.(*UpdateDeidentifyTemplateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DlpService_GetDeidentifyTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDeidentifyTemplateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DlpServiceServer).GetDeidentifyTemplate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.privacy.dlp.v2.DlpService/GetDeidentifyTemplate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DlpServiceServer).GetDeidentifyTemplate(ctx, req.(*GetDeidentifyTemplateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DlpService_ListDeidentifyTemplates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListDeidentifyTemplatesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DlpServiceServer).ListDeidentifyTemplates(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.privacy.dlp.v2.DlpService/ListDeidentifyTemplates", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DlpServiceServer).ListDeidentifyTemplates(ctx, req.(*ListDeidentifyTemplatesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DlpService_DeleteDeidentifyTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteDeidentifyTemplateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DlpServiceServer).DeleteDeidentifyTemplate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.privacy.dlp.v2.DlpService/DeleteDeidentifyTemplate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DlpServiceServer).DeleteDeidentifyTemplate(ctx, req.(*DeleteDeidentifyTemplateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DlpService_CreateJobTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateJobTriggerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DlpServiceServer).CreateJobTrigger(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.privacy.dlp.v2.DlpService/CreateJobTrigger", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DlpServiceServer).CreateJobTrigger(ctx, req.(*CreateJobTriggerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DlpService_UpdateJobTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateJobTriggerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DlpServiceServer).UpdateJobTrigger(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.privacy.dlp.v2.DlpService/UpdateJobTrigger", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DlpServiceServer).UpdateJobTrigger(ctx, req.(*UpdateJobTriggerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DlpService_GetJobTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetJobTriggerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DlpServiceServer).GetJobTrigger(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.privacy.dlp.v2.DlpService/GetJobTrigger", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DlpServiceServer).GetJobTrigger(ctx, req.(*GetJobTriggerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DlpService_ListJobTriggers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListJobTriggersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DlpServiceServer).ListJobTriggers(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.privacy.dlp.v2.DlpService/ListJobTriggers", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DlpServiceServer).ListJobTriggers(ctx, req.(*ListJobTriggersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DlpService_DeleteJobTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteJobTriggerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DlpServiceServer).DeleteJobTrigger(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.privacy.dlp.v2.DlpService/DeleteJobTrigger", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DlpServiceServer).DeleteJobTrigger(ctx, req.(*DeleteJobTriggerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DlpService_ActivateJobTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ActivateJobTriggerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DlpServiceServer).ActivateJobTrigger(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.privacy.dlp.v2.DlpService/ActivateJobTrigger", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DlpServiceServer).ActivateJobTrigger(ctx, req.(*ActivateJobTriggerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DlpService_CreateDlpJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateDlpJobRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DlpServiceServer).CreateDlpJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.privacy.dlp.v2.DlpService/CreateDlpJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DlpServiceServer).CreateDlpJob(ctx, req.(*CreateDlpJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DlpService_ListDlpJobs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListDlpJobsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DlpServiceServer).ListDlpJobs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.privacy.dlp.v2.DlpService/ListDlpJobs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DlpServiceServer).ListDlpJobs(ctx, req.(*ListDlpJobsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DlpService_GetDlpJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDlpJobRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DlpServiceServer).GetDlpJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.privacy.dlp.v2.DlpService/GetDlpJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DlpServiceServer).GetDlpJob(ctx, req.(*GetDlpJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DlpService_DeleteDlpJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteDlpJobRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DlpServiceServer).DeleteDlpJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.privacy.dlp.v2.DlpService/DeleteDlpJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DlpServiceServer).DeleteDlpJob(ctx, req.(*DeleteDlpJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DlpService_CancelDlpJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CancelDlpJobRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DlpServiceServer).CancelDlpJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.privacy.dlp.v2.DlpService/CancelDlpJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DlpServiceServer).CancelDlpJob(ctx, req.(*CancelDlpJobRequest)) - } - 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), - Methods: []grpc.MethodDesc{ - { - MethodName: "InspectContent", - Handler: _DlpService_InspectContent_Handler, - }, - { - MethodName: "RedactImage", - Handler: _DlpService_RedactImage_Handler, - }, - { - MethodName: "DeidentifyContent", - Handler: _DlpService_DeidentifyContent_Handler, - }, - { - MethodName: "ReidentifyContent", - Handler: _DlpService_ReidentifyContent_Handler, - }, - { - MethodName: "ListInfoTypes", - Handler: _DlpService_ListInfoTypes_Handler, - }, - { - MethodName: "CreateInspectTemplate", - Handler: _DlpService_CreateInspectTemplate_Handler, - }, - { - MethodName: "UpdateInspectTemplate", - Handler: _DlpService_UpdateInspectTemplate_Handler, - }, - { - MethodName: "GetInspectTemplate", - Handler: _DlpService_GetInspectTemplate_Handler, - }, - { - MethodName: "ListInspectTemplates", - Handler: _DlpService_ListInspectTemplates_Handler, - }, - { - MethodName: "DeleteInspectTemplate", - Handler: _DlpService_DeleteInspectTemplate_Handler, - }, - { - MethodName: "CreateDeidentifyTemplate", - Handler: _DlpService_CreateDeidentifyTemplate_Handler, - }, - { - MethodName: "UpdateDeidentifyTemplate", - Handler: _DlpService_UpdateDeidentifyTemplate_Handler, - }, - { - MethodName: "GetDeidentifyTemplate", - Handler: _DlpService_GetDeidentifyTemplate_Handler, - }, - { - MethodName: "ListDeidentifyTemplates", - Handler: _DlpService_ListDeidentifyTemplates_Handler, - }, - { - MethodName: "DeleteDeidentifyTemplate", - Handler: _DlpService_DeleteDeidentifyTemplate_Handler, - }, - { - MethodName: "CreateJobTrigger", - Handler: _DlpService_CreateJobTrigger_Handler, - }, - { - MethodName: "UpdateJobTrigger", - Handler: _DlpService_UpdateJobTrigger_Handler, - }, - { - MethodName: "GetJobTrigger", - Handler: _DlpService_GetJobTrigger_Handler, - }, - { - MethodName: "ListJobTriggers", - Handler: _DlpService_ListJobTriggers_Handler, - }, - { - MethodName: "DeleteJobTrigger", - Handler: _DlpService_DeleteJobTrigger_Handler, - }, - { - MethodName: "ActivateJobTrigger", - Handler: _DlpService_ActivateJobTrigger_Handler, - }, - { - MethodName: "CreateDlpJob", - Handler: _DlpService_CreateDlpJob_Handler, - }, - { - MethodName: "ListDlpJobs", - Handler: _DlpService_ListDlpJobs_Handler, - }, - { - MethodName: "GetDlpJob", - Handler: _DlpService_GetDlpJob_Handler, - }, - { - MethodName: "DeleteDlpJob", - Handler: _DlpService_DeleteDlpJob_Handler, - }, - { - 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", -} 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 deleted file mode 100644 index 4ec2ba8f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/privacy/dlp/v2/storage.pb.go +++ /dev/null @@ -1,2474 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/privacy/dlp/v2/storage.proto - -package dlp - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Categorization of results based on how likely they are to represent a match, -// based on the number of elements they contain which imply a match. -type Likelihood int32 - -const ( - // Default value; same as POSSIBLE. - Likelihood_LIKELIHOOD_UNSPECIFIED Likelihood = 0 - // Few matching elements. - Likelihood_VERY_UNLIKELY Likelihood = 1 - Likelihood_UNLIKELY Likelihood = 2 - // Some matching elements. - Likelihood_POSSIBLE Likelihood = 3 - Likelihood_LIKELY Likelihood = 4 - // Many matching elements. - 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_ab5e749073e1398d, []int{0} -} - -// Definitions of file type groups to scan. -type FileType int32 - -const ( - // Includes all files. - FileType_FILE_TYPE_UNSPECIFIED FileType = 0 - // Includes all file extensions not covered by text file types. - FileType_BINARY_FILE FileType = 1 - // Included file extensions: - // asc, brf, c, cc, cpp, csv, cxx, c++, cs, css, dart, eml, go, h, hh, hpp, - // hxx, h++, hs, html, htm, shtml, shtm, xhtml, lhs, ini, java, js, json, - // ocaml, md, mkd, markdown, m, ml, mli, pl, pm, php, phtml, pht, py, pyw, - // rb, rbw, rs, rc, scala, sh, sql, tex, txt, text, tsv, vcard, vcs, wml, - // xml, xsl, xsd, yml, yaml. - FileType_TEXT_FILE FileType = 2 - // Included file extensions: - // bmp, gif, jpg, jpeg, jpe, png. - // bytes_limit_per_file has no effect on image files. - FileType_IMAGE FileType = 3 - // Included file extensions: - // avro - FileType_AVRO FileType = 7 -) - -var FileType_name = map[int32]string{ - 0: "FILE_TYPE_UNSPECIFIED", - 1: "BINARY_FILE", - 2: "TEXT_FILE", - 3: "IMAGE", - 7: "AVRO", -} - -var FileType_value = map[string]int32{ - "FILE_TYPE_UNSPECIFIED": 0, - "BINARY_FILE": 1, - "TEXT_FILE": 2, - "IMAGE": 3, - "AVRO": 7, -} - -func (x FileType) String() string { - return proto.EnumName(FileType_name, int32(x)) -} - -func (FileType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ab5e749073e1398d, []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_ab5e749073e1398d, []int{2, 0} -} - -// How to sample bytes if not all bytes are scanned. Meaningful only when used -// in conjunction with bytes_limit_per_file. If not specified, scanning would -// start from the top. -type CloudStorageOptions_SampleMethod int32 - -const ( - CloudStorageOptions_SAMPLE_METHOD_UNSPECIFIED CloudStorageOptions_SampleMethod = 0 - // Scan from the top (default). - CloudStorageOptions_TOP CloudStorageOptions_SampleMethod = 1 - // For each file larger than bytes_limit_per_file, randomly pick the offset - // to start scanning. The scanned bytes are contiguous. - CloudStorageOptions_RANDOM_START CloudStorageOptions_SampleMethod = 2 -) - -var CloudStorageOptions_SampleMethod_name = map[int32]string{ - 0: "SAMPLE_METHOD_UNSPECIFIED", - 1: "TOP", - 2: "RANDOM_START", -} - -var CloudStorageOptions_SampleMethod_value = map[string]int32{ - "SAMPLE_METHOD_UNSPECIFIED": 0, - "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_ab5e749073e1398d, []int{8, 0} -} - -// How to sample rows if not all rows are scanned. Meaningful only when used -// in conjunction with either rows_limit or rows_limit_percent. If not -// specified, scanning would start from the top. -type BigQueryOptions_SampleMethod int32 - -const ( - BigQueryOptions_SAMPLE_METHOD_UNSPECIFIED BigQueryOptions_SampleMethod = 0 - // Scan from the top (default). - BigQueryOptions_TOP BigQueryOptions_SampleMethod = 1 - // Randomly pick the row to start scanning. The scanned rows are contiguous. - BigQueryOptions_RANDOM_START BigQueryOptions_SampleMethod = 2 -) - -var BigQueryOptions_SampleMethod_name = map[int32]string{ - 0: "SAMPLE_METHOD_UNSPECIFIED", - 1: "TOP", - 2: "RANDOM_START", -} - -var BigQueryOptions_SampleMethod_value = map[string]int32{ - "SAMPLE_METHOD_UNSPECIFIED": 0, - "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_ab5e749073e1398d, []int{11, 0} -} - -// Type of information detected by the API. -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. 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:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ab5e749073e1398d, []int{0} -} - -func (m *InfoType) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InfoType.Unmarshal(m, b) -} -func (m *InfoType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InfoType.Marshal(b, m, deterministic) -} -func (m *InfoType) XXX_Merge(src proto.Message) { - xxx_messageInfo_InfoType.Merge(m, src) -} -func (m *InfoType) XXX_Size() int { - return xxx_messageInfo_InfoType.Size(m) -} -func (m *InfoType) XXX_DiscardUnknown() { - xxx_messageInfo_InfoType.DiscardUnknown(m) -} - -var xxx_messageInfo_InfoType proto.InternalMessageInfo - -func (m *InfoType) GetName() string { - if m != nil { - return m.Name - } - 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_ab5e749073e1398d, []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 (m *StoredType) XXX_Merge(src proto.Message) { - xxx_messageInfo_StoredType.Merge(m, 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 { - // 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 - // the rule. Defaults to `VERY_LIKELY` if not specified. - Likelihood Likelihood `protobuf:"varint,6,opt,name=likelihood,proto3,enum=google.privacy.dlp.v2.Likelihood" json:"likelihood,omitempty"` - // Types that are valid to be assigned to Type: - // *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"` - // 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_ab5e749073e1398d, []int{2} -} - -func (m *CustomInfoType) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomInfoType.Unmarshal(m, b) -} -func (m *CustomInfoType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomInfoType.Marshal(b, m, deterministic) -} -func (m *CustomInfoType) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomInfoType.Merge(m, src) -} -func (m *CustomInfoType) XXX_Size() int { - return xxx_messageInfo_CustomInfoType.Size(m) -} -func (m *CustomInfoType) XXX_DiscardUnknown() { - xxx_messageInfo_CustomInfoType.DiscardUnknown(m) -} - -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() -} - -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"` -} - -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 - } - return nil -} - -func (m *CustomInfoType) GetDictionary() *CustomInfoType_Dictionary { - if x, ok := m.GetType().(*CustomInfoType_Dictionary_); ok { - return x.Dictionary - } - return nil -} - -func (m *CustomInfoType) GetRegex() *CustomInfoType_Regex { - if x, ok := m.GetType().(*CustomInfoType_Regex_); ok { - return x.Regex - } - return nil -} - -func (m *CustomInfoType) GetSurrogateType() *CustomInfoType_SurrogateType { - if x, ok := m.GetType().(*CustomInfoType_SurrogateType_); ok { - return x.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 - } - return nil -} - -func (m *CustomInfoType) GetExclusionType() CustomInfoType_ExclusionType { - if m != nil { - return m.ExclusionType - } - return CustomInfoType_EXCLUSION_TYPE_UNSPECIFIED -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CustomInfoType) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CustomInfoType_Dictionary_)(nil), - (*CustomInfoType_Regex_)(nil), - (*CustomInfoType_SurrogateType_)(nil), - (*CustomInfoType_StoredType)(nil), - } -} - -// Custom information type based on a dictionary of words or phrases. This can -// be used to match sensitive information specific to the data, such as a list -// of employee IDs or job titles. -// -// Dictionary words are case-insensitive and all characters other than letters -// and digits in the unicode [Basic Multilingual -// Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29#Basic_Multilingual_Plane) -// will be replaced with whitespace when scanning for matches, so the -// dictionary phrase "Sam Johnson" will match all three phrases "sam johnson", -// "Sam, Johnson", and "Sam (Johnson)". Additionally, the characters -// surrounding any match must be of a different type than the adjacent -// characters within the word, so letters must be next to non-letters and -// digits next to non-digits. For example, the dictionary word "jen" will -// match the first three letters of the text "jen123" but will return no -// matches for "jennifer". -// -// 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. 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_ - // *CustomInfoType_Dictionary_CloudStoragePath - Source isCustomInfoType_Dictionary_Source `protobuf_oneof:"source"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomInfoType_Dictionary) Reset() { *m = CustomInfoType_Dictionary{} } -func (m *CustomInfoType_Dictionary) String() string { return proto.CompactTextString(m) } -func (*CustomInfoType_Dictionary) ProtoMessage() {} -func (*CustomInfoType_Dictionary) Descriptor() ([]byte, []int) { - return fileDescriptor_ab5e749073e1398d, []int{2, 0} -} - -func (m *CustomInfoType_Dictionary) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomInfoType_Dictionary.Unmarshal(m, b) -} -func (m *CustomInfoType_Dictionary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomInfoType_Dictionary.Marshal(b, m, deterministic) -} -func (m *CustomInfoType_Dictionary) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomInfoType_Dictionary.Merge(m, src) -} -func (m *CustomInfoType_Dictionary) XXX_Size() int { - return xxx_messageInfo_CustomInfoType_Dictionary.Size(m) -} -func (m *CustomInfoType_Dictionary) XXX_DiscardUnknown() { - xxx_messageInfo_CustomInfoType_Dictionary.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomInfoType_Dictionary proto.InternalMessageInfo - -type isCustomInfoType_Dictionary_Source interface { - isCustomInfoType_Dictionary_Source() -} - -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_CloudStoragePath) isCustomInfoType_Dictionary_Source() {} - -func (m *CustomInfoType_Dictionary) GetSource() isCustomInfoType_Dictionary_Source { - if m != nil { - return m.Source - } - return nil -} - -func (m *CustomInfoType_Dictionary) GetWordList() *CustomInfoType_Dictionary_WordList { - if x, ok := m.GetSource().(*CustomInfoType_Dictionary_WordList_); ok { - return x.WordList - } - return nil -} - -func (m *CustomInfoType_Dictionary) GetCloudStoragePath() *CloudStoragePath { - if x, ok := m.GetSource().(*CustomInfoType_Dictionary_CloudStoragePath); ok { - return x.CloudStoragePath - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CustomInfoType_Dictionary) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CustomInfoType_Dictionary_WordList_)(nil), - (*CustomInfoType_Dictionary_CloudStoragePath)(nil), - } -} - -// Message defining a list of words or phrases to search for in the data. -type CustomInfoType_Dictionary_WordList struct { - // Words or phrases defining the dictionary. The dictionary must contain - // at least one phrase and every phrase must contain at least 2 characters - // that are letters or digits. [required] - Words []string `protobuf:"bytes,1,rep,name=words,proto3" json:"words,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomInfoType_Dictionary_WordList) Reset() { *m = CustomInfoType_Dictionary_WordList{} } -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_ab5e749073e1398d, []int{2, 0, 0} -} - -func (m *CustomInfoType_Dictionary_WordList) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomInfoType_Dictionary_WordList.Unmarshal(m, b) -} -func (m *CustomInfoType_Dictionary_WordList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomInfoType_Dictionary_WordList.Marshal(b, m, deterministic) -} -func (m *CustomInfoType_Dictionary_WordList) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomInfoType_Dictionary_WordList.Merge(m, src) -} -func (m *CustomInfoType_Dictionary_WordList) XXX_Size() int { - return xxx_messageInfo_CustomInfoType_Dictionary_WordList.Size(m) -} -func (m *CustomInfoType_Dictionary_WordList) XXX_DiscardUnknown() { - xxx_messageInfo_CustomInfoType_Dictionary_WordList.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomInfoType_Dictionary_WordList proto.InternalMessageInfo - -func (m *CustomInfoType_Dictionary_WordList) GetWords() []string { - if m != nil { - return m.Words - } - return nil -} - -// Message defining a custom regular expression. -type CustomInfoType_Regex struct { - // 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"` - // The index of the submatch to extract as findings. When not - // specified, the entire match is returned. No more than 3 may be included. - GroupIndexes []int32 `protobuf:"varint,2,rep,packed,name=group_indexes,json=groupIndexes,proto3" json:"group_indexes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ab5e749073e1398d, []int{2, 1} -} - -func (m *CustomInfoType_Regex) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomInfoType_Regex.Unmarshal(m, b) -} -func (m *CustomInfoType_Regex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomInfoType_Regex.Marshal(b, m, deterministic) -} -func (m *CustomInfoType_Regex) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomInfoType_Regex.Merge(m, src) -} -func (m *CustomInfoType_Regex) XXX_Size() int { - return xxx_messageInfo_CustomInfoType_Regex.Size(m) -} -func (m *CustomInfoType_Regex) XXX_DiscardUnknown() { - xxx_messageInfo_CustomInfoType_Regex.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomInfoType_Regex proto.InternalMessageInfo - -func (m *CustomInfoType_Regex) GetPattern() string { - if m != nil { - return m.Pattern - } - return "" -} - -func (m *CustomInfoType_Regex) GetGroupIndexes() []int32 { - if m != nil { - return m.GroupIndexes - } - return nil -} - -// Message for detecting output from deidentification transformations -// such as -// [`CryptoReplaceFfxFpeConfig`](/dlp/docs/reference/rest/v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig). -// These types of transformations are -// those that perform pseudonymization, thereby producing a "surrogate" as -// output. This should be used in conjunction with a field on the -// transformation such as `surrogate_info_type`. This CustomInfoType does -// not support the use of `detection_rules`. -type CustomInfoType_SurrogateType struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomInfoType_SurrogateType) Reset() { *m = CustomInfoType_SurrogateType{} } -func (m *CustomInfoType_SurrogateType) String() string { return proto.CompactTextString(m) } -func (*CustomInfoType_SurrogateType) ProtoMessage() {} -func (*CustomInfoType_SurrogateType) Descriptor() ([]byte, []int) { - return fileDescriptor_ab5e749073e1398d, []int{2, 2} -} - -func (m *CustomInfoType_SurrogateType) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomInfoType_SurrogateType.Unmarshal(m, b) -} -func (m *CustomInfoType_SurrogateType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomInfoType_SurrogateType.Marshal(b, m, deterministic) -} -func (m *CustomInfoType_SurrogateType) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomInfoType_SurrogateType.Merge(m, src) -} -func (m *CustomInfoType_SurrogateType) XXX_Size() int { - return xxx_messageInfo_CustomInfoType_SurrogateType.Size(m) -} -func (m *CustomInfoType_SurrogateType) XXX_DiscardUnknown() { - xxx_messageInfo_CustomInfoType_SurrogateType.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomInfoType_SurrogateType proto.InternalMessageInfo - -// Deprecated; use `InspectionRuleSet` instead. Rule for modifying a -// `CustomInfoType` to alter behavior under certain circumstances, depending -// on the specific details of the rule. Not supported for the `surrogate_type` -// custom infoType. -type CustomInfoType_DetectionRule struct { - // Types that are valid to be assigned to Type: - // *CustomInfoType_DetectionRule_HotwordRule_ - Type isCustomInfoType_DetectionRule_Type `protobuf_oneof:"type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomInfoType_DetectionRule) Reset() { *m = CustomInfoType_DetectionRule{} } -func (m *CustomInfoType_DetectionRule) String() string { return proto.CompactTextString(m) } -func (*CustomInfoType_DetectionRule) ProtoMessage() {} -func (*CustomInfoType_DetectionRule) Descriptor() ([]byte, []int) { - return fileDescriptor_ab5e749073e1398d, []int{2, 3} -} - -func (m *CustomInfoType_DetectionRule) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomInfoType_DetectionRule.Unmarshal(m, b) -} -func (m *CustomInfoType_DetectionRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomInfoType_DetectionRule.Marshal(b, m, deterministic) -} -func (m *CustomInfoType_DetectionRule) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomInfoType_DetectionRule.Merge(m, src) -} -func (m *CustomInfoType_DetectionRule) XXX_Size() int { - return xxx_messageInfo_CustomInfoType_DetectionRule.Size(m) -} -func (m *CustomInfoType_DetectionRule) XXX_DiscardUnknown() { - xxx_messageInfo_CustomInfoType_DetectionRule.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomInfoType_DetectionRule proto.InternalMessageInfo - -type isCustomInfoType_DetectionRule_Type interface { - isCustomInfoType_DetectionRule_Type() -} - -type CustomInfoType_DetectionRule_HotwordRule_ struct { - HotwordRule *CustomInfoType_DetectionRule_HotwordRule `protobuf:"bytes,1,opt,name=hotword_rule,json=hotwordRule,proto3,oneof"` -} - -func (*CustomInfoType_DetectionRule_HotwordRule_) isCustomInfoType_DetectionRule_Type() {} - -func (m *CustomInfoType_DetectionRule) GetType() isCustomInfoType_DetectionRule_Type { - if m != nil { - return m.Type - } - return nil -} - -func (m *CustomInfoType_DetectionRule) GetHotwordRule() *CustomInfoType_DetectionRule_HotwordRule { - if x, ok := m.GetType().(*CustomInfoType_DetectionRule_HotwordRule_); ok { - return x.HotwordRule - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CustomInfoType_DetectionRule) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CustomInfoType_DetectionRule_HotwordRule_)(nil), - } -} - -// Message for specifying a window around a finding to apply a detection -// rule. -type CustomInfoType_DetectionRule_Proximity struct { - // Number of characters before the finding to consider. - WindowBefore int32 `protobuf:"varint,1,opt,name=window_before,json=windowBefore,proto3" json:"window_before,omitempty"` - // Number of characters after the finding to consider. - WindowAfter int32 `protobuf:"varint,2,opt,name=window_after,json=windowAfter,proto3" json:"window_after,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomInfoType_DetectionRule_Proximity) Reset() { - *m = CustomInfoType_DetectionRule_Proximity{} -} -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_ab5e749073e1398d, []int{2, 3, 0} -} - -func (m *CustomInfoType_DetectionRule_Proximity) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomInfoType_DetectionRule_Proximity.Unmarshal(m, b) -} -func (m *CustomInfoType_DetectionRule_Proximity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomInfoType_DetectionRule_Proximity.Marshal(b, m, deterministic) -} -func (m *CustomInfoType_DetectionRule_Proximity) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomInfoType_DetectionRule_Proximity.Merge(m, src) -} -func (m *CustomInfoType_DetectionRule_Proximity) XXX_Size() int { - return xxx_messageInfo_CustomInfoType_DetectionRule_Proximity.Size(m) -} -func (m *CustomInfoType_DetectionRule_Proximity) XXX_DiscardUnknown() { - xxx_messageInfo_CustomInfoType_DetectionRule_Proximity.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomInfoType_DetectionRule_Proximity proto.InternalMessageInfo - -func (m *CustomInfoType_DetectionRule_Proximity) GetWindowBefore() int32 { - if m != nil { - return m.WindowBefore - } - return 0 -} - -func (m *CustomInfoType_DetectionRule_Proximity) GetWindowAfter() int32 { - if m != nil { - return m.WindowAfter - } - return 0 -} - -// Message for specifying an adjustment to the likelihood of a finding as -// part of a detection rule. -type CustomInfoType_DetectionRule_LikelihoodAdjustment struct { - // Types that are valid to be assigned to Adjustment: - // *CustomInfoType_DetectionRule_LikelihoodAdjustment_FixedLikelihood - // *CustomInfoType_DetectionRule_LikelihoodAdjustment_RelativeLikelihood - Adjustment isCustomInfoType_DetectionRule_LikelihoodAdjustment_Adjustment `protobuf_oneof:"adjustment"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomInfoType_DetectionRule_LikelihoodAdjustment) Reset() { - *m = CustomInfoType_DetectionRule_LikelihoodAdjustment{} -} -func (m *CustomInfoType_DetectionRule_LikelihoodAdjustment) String() string { - return proto.CompactTextString(m) -} -func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) ProtoMessage() {} -func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) Descriptor() ([]byte, []int) { - return fileDescriptor_ab5e749073e1398d, []int{2, 3, 1} -} - -func (m *CustomInfoType_DetectionRule_LikelihoodAdjustment) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomInfoType_DetectionRule_LikelihoodAdjustment.Unmarshal(m, b) -} -func (m *CustomInfoType_DetectionRule_LikelihoodAdjustment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomInfoType_DetectionRule_LikelihoodAdjustment.Marshal(b, m, deterministic) -} -func (m *CustomInfoType_DetectionRule_LikelihoodAdjustment) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomInfoType_DetectionRule_LikelihoodAdjustment.Merge(m, src) -} -func (m *CustomInfoType_DetectionRule_LikelihoodAdjustment) XXX_Size() int { - return xxx_messageInfo_CustomInfoType_DetectionRule_LikelihoodAdjustment.Size(m) -} -func (m *CustomInfoType_DetectionRule_LikelihoodAdjustment) XXX_DiscardUnknown() { - xxx_messageInfo_CustomInfoType_DetectionRule_LikelihoodAdjustment.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomInfoType_DetectionRule_LikelihoodAdjustment proto.InternalMessageInfo - -type isCustomInfoType_DetectionRule_LikelihoodAdjustment_Adjustment interface { - isCustomInfoType_DetectionRule_LikelihoodAdjustment_Adjustment() -} - -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() { -} - -func (m *CustomInfoType_DetectionRule_LikelihoodAdjustment) GetAdjustment() isCustomInfoType_DetectionRule_LikelihoodAdjustment_Adjustment { - if m != nil { - return m.Adjustment - } - return nil -} - -func (m *CustomInfoType_DetectionRule_LikelihoodAdjustment) GetFixedLikelihood() Likelihood { - if x, ok := m.GetAdjustment().(*CustomInfoType_DetectionRule_LikelihoodAdjustment_FixedLikelihood); ok { - return x.FixedLikelihood - } - return Likelihood_LIKELIHOOD_UNSPECIFIED -} - -func (m *CustomInfoType_DetectionRule_LikelihoodAdjustment) GetRelativeLikelihood() int32 { - if x, ok := m.GetAdjustment().(*CustomInfoType_DetectionRule_LikelihoodAdjustment_RelativeLikelihood); ok { - return x.RelativeLikelihood - } - return 0 -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CustomInfoType_DetectionRule_LikelihoodAdjustment) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CustomInfoType_DetectionRule_LikelihoodAdjustment_FixedLikelihood)(nil), - (*CustomInfoType_DetectionRule_LikelihoodAdjustment_RelativeLikelihood)(nil), - } -} - -// The rule that adjusts the likelihood of findings within a certain -// proximity of hotwords. -type CustomInfoType_DetectionRule_HotwordRule struct { - // Regular expression pattern defining what qualifies as a hotword. - HotwordRegex *CustomInfoType_Regex `protobuf:"bytes,1,opt,name=hotword_regex,json=hotwordRegex,proto3" json:"hotword_regex,omitempty"` - // Proximity of the finding within which the entire hotword must reside. - // The total length of the window cannot exceed 1000 characters. Note that - // the finding itself will be included in the window, so that hotwords may - // be used to match substrings of the finding itself. For example, the - // certainty of a phone number regex "\(\d{3}\) \d{3}-\d{4}" could be - // adjusted upwards if the area code is known to be the local area code of - // a company office using the hotword regex "\(xxx\)", where "xxx" - // is the area code in question. - Proximity *CustomInfoType_DetectionRule_Proximity `protobuf:"bytes,2,opt,name=proximity,proto3" json:"proximity,omitempty"` - // Likelihood adjustment to apply to all matching findings. - LikelihoodAdjustment *CustomInfoType_DetectionRule_LikelihoodAdjustment `protobuf:"bytes,3,opt,name=likelihood_adjustment,json=likelihoodAdjustment,proto3" json:"likelihood_adjustment,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CustomInfoType_DetectionRule_HotwordRule) Reset() { - *m = CustomInfoType_DetectionRule_HotwordRule{} -} -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_ab5e749073e1398d, []int{2, 3, 2} -} - -func (m *CustomInfoType_DetectionRule_HotwordRule) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomInfoType_DetectionRule_HotwordRule.Unmarshal(m, b) -} -func (m *CustomInfoType_DetectionRule_HotwordRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomInfoType_DetectionRule_HotwordRule.Marshal(b, m, deterministic) -} -func (m *CustomInfoType_DetectionRule_HotwordRule) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomInfoType_DetectionRule_HotwordRule.Merge(m, src) -} -func (m *CustomInfoType_DetectionRule_HotwordRule) XXX_Size() int { - return xxx_messageInfo_CustomInfoType_DetectionRule_HotwordRule.Size(m) -} -func (m *CustomInfoType_DetectionRule_HotwordRule) XXX_DiscardUnknown() { - xxx_messageInfo_CustomInfoType_DetectionRule_HotwordRule.DiscardUnknown(m) -} - -var xxx_messageInfo_CustomInfoType_DetectionRule_HotwordRule proto.InternalMessageInfo - -func (m *CustomInfoType_DetectionRule_HotwordRule) GetHotwordRegex() *CustomInfoType_Regex { - if m != nil { - return m.HotwordRegex - } - return nil -} - -func (m *CustomInfoType_DetectionRule_HotwordRule) GetProximity() *CustomInfoType_DetectionRule_Proximity { - if m != nil { - return m.Proximity - } - return nil -} - -func (m *CustomInfoType_DetectionRule_HotwordRule) GetLikelihoodAdjustment() *CustomInfoType_DetectionRule_LikelihoodAdjustment { - if m != nil { - return m.LikelihoodAdjustment - } - return nil -} - -// General identifier of a data field in a storage service. -type FieldId struct { - // Name describing the field. - 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 *FieldId) Reset() { *m = FieldId{} } -func (m *FieldId) String() string { return proto.CompactTextString(m) } -func (*FieldId) ProtoMessage() {} -func (*FieldId) Descriptor() ([]byte, []int) { - return fileDescriptor_ab5e749073e1398d, []int{3} -} - -func (m *FieldId) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FieldId.Unmarshal(m, b) -} -func (m *FieldId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FieldId.Marshal(b, m, deterministic) -} -func (m *FieldId) XXX_Merge(src proto.Message) { - xxx_messageInfo_FieldId.Merge(m, src) -} -func (m *FieldId) XXX_Size() int { - return xxx_messageInfo_FieldId.Size(m) -} -func (m *FieldId) XXX_DiscardUnknown() { - xxx_messageInfo_FieldId.DiscardUnknown(m) -} - -var xxx_messageInfo_FieldId proto.InternalMessageInfo - -func (m *FieldId) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Datastore partition ID. -// A partition ID identifies a grouping of entities. The grouping is always -// by project and namespace, however the namespace ID may be empty. -// -// A partition ID contains several dimensions: -// project ID and namespace ID. -type PartitionId struct { - // The ID of the project to which the entities belong. - ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // If not empty, the ID of the namespace to which the entities belong. - NamespaceId string `protobuf:"bytes,4,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ab5e749073e1398d, []int{4} -} - -func (m *PartitionId) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PartitionId.Unmarshal(m, b) -} -func (m *PartitionId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PartitionId.Marshal(b, m, deterministic) -} -func (m *PartitionId) XXX_Merge(src proto.Message) { - xxx_messageInfo_PartitionId.Merge(m, src) -} -func (m *PartitionId) XXX_Size() int { - return xxx_messageInfo_PartitionId.Size(m) -} -func (m *PartitionId) XXX_DiscardUnknown() { - xxx_messageInfo_PartitionId.DiscardUnknown(m) -} - -var xxx_messageInfo_PartitionId proto.InternalMessageInfo - -func (m *PartitionId) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *PartitionId) GetNamespaceId() string { - if m != nil { - return m.NamespaceId - } - return "" -} - -// A representation of a Datastore kind. -type KindExpression struct { - // The name of the kind. - 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 *KindExpression) Reset() { *m = KindExpression{} } -func (m *KindExpression) String() string { return proto.CompactTextString(m) } -func (*KindExpression) ProtoMessage() {} -func (*KindExpression) Descriptor() ([]byte, []int) { - return fileDescriptor_ab5e749073e1398d, []int{5} -} - -func (m *KindExpression) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_KindExpression.Unmarshal(m, b) -} -func (m *KindExpression) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_KindExpression.Marshal(b, m, deterministic) -} -func (m *KindExpression) XXX_Merge(src proto.Message) { - xxx_messageInfo_KindExpression.Merge(m, src) -} -func (m *KindExpression) XXX_Size() int { - return xxx_messageInfo_KindExpression.Size(m) -} -func (m *KindExpression) XXX_DiscardUnknown() { - xxx_messageInfo_KindExpression.DiscardUnknown(m) -} - -var xxx_messageInfo_KindExpression proto.InternalMessageInfo - -func (m *KindExpression) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Options defining a data set within Google Cloud Datastore. -type DatastoreOptions struct { - // A partition ID identifies a grouping of entities. The grouping is always - // by project and namespace, however the namespace ID may be empty. - PartitionId *PartitionId `protobuf:"bytes,1,opt,name=partition_id,json=partitionId,proto3" json:"partition_id,omitempty"` - // The kind to process. - Kind *KindExpression `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ab5e749073e1398d, []int{6} -} - -func (m *DatastoreOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DatastoreOptions.Unmarshal(m, b) -} -func (m *DatastoreOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DatastoreOptions.Marshal(b, m, deterministic) -} -func (m *DatastoreOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_DatastoreOptions.Merge(m, src) -} -func (m *DatastoreOptions) XXX_Size() int { - return xxx_messageInfo_DatastoreOptions.Size(m) -} -func (m *DatastoreOptions) XXX_DiscardUnknown() { - xxx_messageInfo_DatastoreOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_DatastoreOptions proto.InternalMessageInfo - -func (m *DatastoreOptions) GetPartitionId() *PartitionId { - if m != nil { - return m.PartitionId - } - return nil -} - -func (m *DatastoreOptions) GetKind() *KindExpression { - if m != nil { - return m.Kind - } - return nil -} - -// 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_ab5e749073e1398d, []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 (m *CloudStorageRegexFileSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_CloudStorageRegexFileSet.Merge(m, 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. 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. 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. - // Number of files scanned is rounded down. Must be between 0 and 100, - // inclusively. Both 0 and 100 means no limit. Defaults to 0. - FilesLimitPercent int32 `protobuf:"varint,7,opt,name=files_limit_percent,json=filesLimitPercent,proto3" json:"files_limit_percent,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ab5e749073e1398d, []int{8} -} - -func (m *CloudStorageOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CloudStorageOptions.Unmarshal(m, b) -} -func (m *CloudStorageOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CloudStorageOptions.Marshal(b, m, deterministic) -} -func (m *CloudStorageOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_CloudStorageOptions.Merge(m, src) -} -func (m *CloudStorageOptions) XXX_Size() int { - return xxx_messageInfo_CloudStorageOptions.Size(m) -} -func (m *CloudStorageOptions) XXX_DiscardUnknown() { - xxx_messageInfo_CloudStorageOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_CloudStorageOptions proto.InternalMessageInfo - -func (m *CloudStorageOptions) GetFileSet() *CloudStorageOptions_FileSet { - if m != nil { - return m.FileSet - } - return nil -} - -func (m *CloudStorageOptions) GetBytesLimitPerFile() int64 { - if m != nil { - return m.BytesLimitPerFile - } - 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 - } - return nil -} - -func (m *CloudStorageOptions) GetSampleMethod() CloudStorageOptions_SampleMethod { - if m != nil { - return m.SampleMethod - } - return CloudStorageOptions_SAMPLE_METHOD_UNSPECIFIED -} - -func (m *CloudStorageOptions) GetFilesLimitPercent() int32 { - if m != nil { - return m.FilesLimitPercent - } - return 0 -} - -// Set of files to scan. -type CloudStorageOptions_FileSet struct { - // The Cloud Storage url of the file(s) to scan, in the format - // `gs:///`. Trailing wildcard in the path is allowed. - // - // If the url ends in a trailing slash, the bucket or directory represented - // by the url will be scanned non-recursively (content in sub-directories - // will not be scanned). This means that `gs://mybucket/` is equivalent to - // `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to - // `gs://mybucket/directory/*`. - // - // 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_ab5e749073e1398d, []int{8, 0} -} - -func (m *CloudStorageOptions_FileSet) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CloudStorageOptions_FileSet.Unmarshal(m, b) -} -func (m *CloudStorageOptions_FileSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CloudStorageOptions_FileSet.Marshal(b, m, deterministic) -} -func (m *CloudStorageOptions_FileSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_CloudStorageOptions_FileSet.Merge(m, src) -} -func (m *CloudStorageOptions_FileSet) XXX_Size() int { - return xxx_messageInfo_CloudStorageOptions_FileSet.Size(m) -} -func (m *CloudStorageOptions_FileSet) XXX_DiscardUnknown() { - xxx_messageInfo_CloudStorageOptions_FileSet.DiscardUnknown(m) -} - -var xxx_messageInfo_CloudStorageOptions_FileSet proto.InternalMessageInfo - -func (m *CloudStorageOptions_FileSet) GetUrl() string { - if m != nil { - return m.Url - } - 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_ab5e749073e1398d, []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 (m *CloudStorageFileSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_CloudStorageFileSet.Merge(m, 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. - // Example: gs://[BUCKET_NAME]/dictionary.txt - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ab5e749073e1398d, []int{10} -} - -func (m *CloudStoragePath) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CloudStoragePath.Unmarshal(m, b) -} -func (m *CloudStoragePath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CloudStoragePath.Marshal(b, m, deterministic) -} -func (m *CloudStoragePath) XXX_Merge(src proto.Message) { - xxx_messageInfo_CloudStoragePath.Merge(m, src) -} -func (m *CloudStoragePath) XXX_Size() int { - return xxx_messageInfo_CloudStoragePath.Size(m) -} -func (m *CloudStoragePath) XXX_DiscardUnknown() { - xxx_messageInfo_CloudStoragePath.DiscardUnknown(m) -} - -var xxx_messageInfo_CloudStoragePath proto.InternalMessageInfo - -func (m *CloudStoragePath) GetPath() string { - if m != nil { - return m.Path - } - return "" -} - -// Options defining BigQuery table and row identifiers. -type BigQueryOptions struct { - // Complete BigQuery table reference. - TableReference *BigQueryTable `protobuf:"bytes,1,opt,name=table_reference,json=tableReference,proto3" json:"table_reference,omitempty"` - // References to fields uniquely identifying rows within the table. - // Nested fields in the format, like `person.birthdate.year`, are allowed. - 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. 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_ab5e749073e1398d, []int{11} -} - -func (m *BigQueryOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BigQueryOptions.Unmarshal(m, b) -} -func (m *BigQueryOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BigQueryOptions.Marshal(b, m, deterministic) -} -func (m *BigQueryOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_BigQueryOptions.Merge(m, src) -} -func (m *BigQueryOptions) XXX_Size() int { - return xxx_messageInfo_BigQueryOptions.Size(m) -} -func (m *BigQueryOptions) XXX_DiscardUnknown() { - xxx_messageInfo_BigQueryOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_BigQueryOptions proto.InternalMessageInfo - -func (m *BigQueryOptions) GetTableReference() *BigQueryTable { - if m != nil { - return m.TableReference - } - return nil -} - -func (m *BigQueryOptions) GetIdentifyingFields() []*FieldId { - if m != nil { - return m.IdentifyingFields - } - return nil -} - -func (m *BigQueryOptions) GetRowsLimit() int64 { - if m != nil { - return m.RowsLimit - } - 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 - } - 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: - // *StorageConfig_DatastoreOptions - // *StorageConfig_CloudStorageOptions - // *StorageConfig_BigQueryOptions - Type isStorageConfig_Type `protobuf_oneof:"type"` - TimespanConfig *StorageConfig_TimespanConfig `protobuf:"bytes,6,opt,name=timespan_config,json=timespanConfig,proto3" json:"timespan_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ab5e749073e1398d, []int{12} -} - -func (m *StorageConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StorageConfig.Unmarshal(m, b) -} -func (m *StorageConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StorageConfig.Marshal(b, m, deterministic) -} -func (m *StorageConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_StorageConfig.Merge(m, src) -} -func (m *StorageConfig) XXX_Size() int { - return xxx_messageInfo_StorageConfig.Size(m) -} -func (m *StorageConfig) XXX_DiscardUnknown() { - xxx_messageInfo_StorageConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_StorageConfig proto.InternalMessageInfo - -type isStorageConfig_Type interface { - isStorageConfig_Type() -} - -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_CloudStorageOptions) isStorageConfig_Type() {} - -func (*StorageConfig_BigQueryOptions) isStorageConfig_Type() {} - -func (m *StorageConfig) GetType() isStorageConfig_Type { - if m != nil { - return m.Type - } - return nil -} - -func (m *StorageConfig) GetDatastoreOptions() *DatastoreOptions { - if x, ok := m.GetType().(*StorageConfig_DatastoreOptions); ok { - return x.DatastoreOptions - } - return nil -} - -func (m *StorageConfig) GetCloudStorageOptions() *CloudStorageOptions { - if x, ok := m.GetType().(*StorageConfig_CloudStorageOptions); ok { - return x.CloudStorageOptions - } - return nil -} - -func (m *StorageConfig) GetBigQueryOptions() *BigQueryOptions { - if x, ok := m.GetType().(*StorageConfig_BigQueryOptions); ok { - return x.BigQueryOptions - } - return nil -} - -func (m *StorageConfig) GetTimespanConfig() *StorageConfig_TimespanConfig { - if m != nil { - return m.TimespanConfig - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*StorageConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*StorageConfig_DatastoreOptions)(nil), - (*StorageConfig_CloudStorageOptions)(nil), - (*StorageConfig_BigQueryOptions)(nil), - } -} - -// 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 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 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. - // 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. - // Datastore entity will be scanned if the timestamp property does not exist - // or its value is empty or invalid. - TimestampField *FieldId `protobuf:"bytes,3,opt,name=timestamp_field,json=timestampField,proto3" json:"timestamp_field,omitempty"` - // When the job is started by a JobTrigger we will automatically figure out - // a valid start_time to avoid scanning files that have not been modified - // since the last time the JobTrigger executed. This will be based on the - // time of the execution of the last run of the JobTrigger. - EnableAutoPopulationOfTimespanConfig bool `protobuf:"varint,4,opt,name=enable_auto_population_of_timespan_config,json=enableAutoPopulationOfTimespanConfig,proto3" json:"enable_auto_population_of_timespan_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StorageConfig_TimespanConfig) Reset() { *m = StorageConfig_TimespanConfig{} } -func (m *StorageConfig_TimespanConfig) String() string { return proto.CompactTextString(m) } -func (*StorageConfig_TimespanConfig) ProtoMessage() {} -func (*StorageConfig_TimespanConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_ab5e749073e1398d, []int{12, 0} -} - -func (m *StorageConfig_TimespanConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StorageConfig_TimespanConfig.Unmarshal(m, b) -} -func (m *StorageConfig_TimespanConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StorageConfig_TimespanConfig.Marshal(b, m, deterministic) -} -func (m *StorageConfig_TimespanConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_StorageConfig_TimespanConfig.Merge(m, src) -} -func (m *StorageConfig_TimespanConfig) XXX_Size() int { - return xxx_messageInfo_StorageConfig_TimespanConfig.Size(m) -} -func (m *StorageConfig_TimespanConfig) XXX_DiscardUnknown() { - xxx_messageInfo_StorageConfig_TimespanConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_StorageConfig_TimespanConfig proto.InternalMessageInfo - -func (m *StorageConfig_TimespanConfig) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *StorageConfig_TimespanConfig) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -func (m *StorageConfig_TimespanConfig) GetTimestampField() *FieldId { - if m != nil { - return m.TimestampField - } - return nil -} - -func (m *StorageConfig_TimespanConfig) GetEnableAutoPopulationOfTimespanConfig() bool { - if m != nil { - return m.EnableAutoPopulationOfTimespanConfig - } - return false -} - -// Row key for identifying a record in BigQuery table. -type BigQueryKey struct { - // Complete BigQuery table reference. - TableReference *BigQueryTable `protobuf:"bytes,1,opt,name=table_reference,json=tableReference,proto3" json:"table_reference,omitempty"` - // Absolute number of the row from the beginning of the table at the time - // of scanning. - RowNumber int64 `protobuf:"varint,2,opt,name=row_number,json=rowNumber,proto3" json:"row_number,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ab5e749073e1398d, []int{13} -} - -func (m *BigQueryKey) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BigQueryKey.Unmarshal(m, b) -} -func (m *BigQueryKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BigQueryKey.Marshal(b, m, deterministic) -} -func (m *BigQueryKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_BigQueryKey.Merge(m, src) -} -func (m *BigQueryKey) XXX_Size() int { - return xxx_messageInfo_BigQueryKey.Size(m) -} -func (m *BigQueryKey) XXX_DiscardUnknown() { - xxx_messageInfo_BigQueryKey.DiscardUnknown(m) -} - -var xxx_messageInfo_BigQueryKey proto.InternalMessageInfo - -func (m *BigQueryKey) GetTableReference() *BigQueryTable { - if m != nil { - return m.TableReference - } - return nil -} - -func (m *BigQueryKey) GetRowNumber() int64 { - if m != nil { - return m.RowNumber - } - return 0 -} - -// Record key for a finding in Cloud Datastore. -type DatastoreKey struct { - // Datastore entity key. - EntityKey *Key `protobuf:"bytes,1,opt,name=entity_key,json=entityKey,proto3" json:"entity_key,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ab5e749073e1398d, []int{14} -} - -func (m *DatastoreKey) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DatastoreKey.Unmarshal(m, b) -} -func (m *DatastoreKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DatastoreKey.Marshal(b, m, deterministic) -} -func (m *DatastoreKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_DatastoreKey.Merge(m, src) -} -func (m *DatastoreKey) XXX_Size() int { - return xxx_messageInfo_DatastoreKey.Size(m) -} -func (m *DatastoreKey) XXX_DiscardUnknown() { - xxx_messageInfo_DatastoreKey.DiscardUnknown(m) -} - -var xxx_messageInfo_DatastoreKey proto.InternalMessageInfo - -func (m *DatastoreKey) GetEntityKey() *Key { - if m != nil { - return m.EntityKey - } - return nil -} - -// A unique identifier for a Datastore entity. -// If a key's partition ID or any of its path kinds or names are -// reserved/read-only, the key is reserved/read-only. -// A reserved/read-only key is forbidden in certain documented contexts. -type Key struct { - // Entities are partitioned into subsets, currently identified by a project - // ID and namespace ID. - // Queries are scoped to a single partition. - PartitionId *PartitionId `protobuf:"bytes,1,opt,name=partition_id,json=partitionId,proto3" json:"partition_id,omitempty"` - // The entity path. - // An entity path consists of one or more elements composed of a kind and a - // string or numerical identifier, which identify entities. The first - // element identifies a _root entity_, the second element identifies - // a _child_ of the root entity, the third element identifies a child of the - // second entity, and so forth. The entities identified by all prefixes of - // the path are called the element's _ancestors_. - // - // A path can never be empty, and a path can have at most 100 elements. - Path []*Key_PathElement `protobuf:"bytes,2,rep,name=path,proto3" json:"path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ab5e749073e1398d, []int{15} -} - -func (m *Key) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Key.Unmarshal(m, b) -} -func (m *Key) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Key.Marshal(b, m, deterministic) -} -func (m *Key) XXX_Merge(src proto.Message) { - xxx_messageInfo_Key.Merge(m, src) -} -func (m *Key) XXX_Size() int { - return xxx_messageInfo_Key.Size(m) -} -func (m *Key) XXX_DiscardUnknown() { - xxx_messageInfo_Key.DiscardUnknown(m) -} - -var xxx_messageInfo_Key proto.InternalMessageInfo - -func (m *Key) GetPartitionId() *PartitionId { - if m != nil { - return m.PartitionId - } - return nil -} - -func (m *Key) GetPath() []*Key_PathElement { - if m != nil { - return m.Path - } - return nil -} - -// A (kind, ID/name) pair used to construct a key path. -// -// If either name or ID is set, the element is complete. -// If neither is set, the element is incomplete. -type Key_PathElement struct { - // The kind of the entity. - // A kind matching regex `__.*__` is reserved/read-only. - // A kind must not contain more than 1500 bytes when UTF-8 encoded. - // Cannot be `""`. - Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` - // The type of ID. - // - // Types that are valid to be assigned to IdType: - // *Key_PathElement_Id - // *Key_PathElement_Name - IdType isKey_PathElement_IdType `protobuf_oneof:"id_type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ab5e749073e1398d, []int{15, 0} -} - -func (m *Key_PathElement) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Key_PathElement.Unmarshal(m, b) -} -func (m *Key_PathElement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Key_PathElement.Marshal(b, m, deterministic) -} -func (m *Key_PathElement) XXX_Merge(src proto.Message) { - xxx_messageInfo_Key_PathElement.Merge(m, src) -} -func (m *Key_PathElement) XXX_Size() int { - return xxx_messageInfo_Key_PathElement.Size(m) -} -func (m *Key_PathElement) XXX_DiscardUnknown() { - xxx_messageInfo_Key_PathElement.DiscardUnknown(m) -} - -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() -} - -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_Name) isKey_PathElement_IdType() {} - -func (m *Key_PathElement) GetIdType() isKey_PathElement_IdType { - if m != nil { - return m.IdType - } - return nil -} - -func (m *Key_PathElement) GetId() int64 { - if x, ok := m.GetIdType().(*Key_PathElement_Id); ok { - return x.Id - } - return 0 -} - -func (m *Key_PathElement) GetName() string { - if x, ok := m.GetIdType().(*Key_PathElement_Name); ok { - return x.Name - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Key_PathElement) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Key_PathElement_Id)(nil), - (*Key_PathElement_Name)(nil), - } -} - -// Message for a unique key indicating a record that contains a finding. -type RecordKey struct { - // Types that are valid to be assigned to Type: - // *RecordKey_DatastoreKey - // *RecordKey_BigQueryKey - Type isRecordKey_Type `protobuf_oneof:"type"` - // Values of identifying columns in the given row. Order of values matches - // the order of field identifiers specified in the scanning request. - IdValues []string `protobuf:"bytes,5,rep,name=id_values,json=idValues,proto3" json:"id_values,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_ab5e749073e1398d, []int{16} -} - -func (m *RecordKey) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RecordKey.Unmarshal(m, b) -} -func (m *RecordKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RecordKey.Marshal(b, m, deterministic) -} -func (m *RecordKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_RecordKey.Merge(m, src) -} -func (m *RecordKey) XXX_Size() int { - return xxx_messageInfo_RecordKey.Size(m) -} -func (m *RecordKey) XXX_DiscardUnknown() { - xxx_messageInfo_RecordKey.DiscardUnknown(m) -} - -var xxx_messageInfo_RecordKey proto.InternalMessageInfo - -type isRecordKey_Type interface { - isRecordKey_Type() -} - -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 (m *RecordKey) GetType() isRecordKey_Type { - if m != nil { - return m.Type - } - return nil -} - -func (m *RecordKey) GetDatastoreKey() *DatastoreKey { - if x, ok := m.GetType().(*RecordKey_DatastoreKey); ok { - return x.DatastoreKey - } - return nil -} - -func (m *RecordKey) GetBigQueryKey() *BigQueryKey { - if x, ok := m.GetType().(*RecordKey_BigQueryKey); ok { - return x.BigQueryKey - } - return nil -} - -func (m *RecordKey) GetIdValues() []string { - if m != nil { - return m.IdValues - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*RecordKey) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*RecordKey_DatastoreKey)(nil), - (*RecordKey_BigQueryKey)(nil), - } -} - -// Message defining the location of a BigQuery table. A table is uniquely -// identified by its project_id, dataset_id, and table_name. Within a query -// a table is often referenced with a string in the format of: -// `:.` or -// `..`. -type BigQueryTable struct { - // The Google Cloud Platform project ID of the project containing the table. - // If omitted, project ID is inferred from the API call. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Dataset ID of the table. - DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"` - // Name of the table. - 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 *BigQueryTable) Reset() { *m = BigQueryTable{} } -func (m *BigQueryTable) String() string { return proto.CompactTextString(m) } -func (*BigQueryTable) ProtoMessage() {} -func (*BigQueryTable) Descriptor() ([]byte, []int) { - return fileDescriptor_ab5e749073e1398d, []int{17} -} - -func (m *BigQueryTable) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BigQueryTable.Unmarshal(m, b) -} -func (m *BigQueryTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BigQueryTable.Marshal(b, m, deterministic) -} -func (m *BigQueryTable) XXX_Merge(src proto.Message) { - xxx_messageInfo_BigQueryTable.Merge(m, src) -} -func (m *BigQueryTable) XXX_Size() int { - return xxx_messageInfo_BigQueryTable.Size(m) -} -func (m *BigQueryTable) XXX_DiscardUnknown() { - xxx_messageInfo_BigQueryTable.DiscardUnknown(m) -} - -var xxx_messageInfo_BigQueryTable proto.InternalMessageInfo - -func (m *BigQueryTable) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *BigQueryTable) GetDatasetId() string { - if m != nil { - return m.DatasetId - } - return "" -} - -func (m *BigQueryTable) GetTableId() string { - if m != nil { - return m.TableId - } - 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_ab5e749073e1398d, []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 (m *BigQueryField) XXX_Merge(src proto.Message) { - xxx_messageInfo_BigQueryField.Merge(m, 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 -// identifier. This message is used when generalizations or analysis must take -// into account that multiple rows correspond to the same entity. -type EntityId struct { - // Composite key indicating which field contains the entity identifier. - 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 *EntityId) Reset() { *m = EntityId{} } -func (m *EntityId) String() string { return proto.CompactTextString(m) } -func (*EntityId) ProtoMessage() {} -func (*EntityId) Descriptor() ([]byte, []int) { - return fileDescriptor_ab5e749073e1398d, []int{19} -} - -func (m *EntityId) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EntityId.Unmarshal(m, b) -} -func (m *EntityId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EntityId.Marshal(b, m, deterministic) -} -func (m *EntityId) XXX_Merge(src proto.Message) { - xxx_messageInfo_EntityId.Merge(m, src) -} -func (m *EntityId) XXX_Size() int { - return xxx_messageInfo_EntityId.Size(m) -} -func (m *EntityId) XXX_DiscardUnknown() { - xxx_messageInfo_EntityId.DiscardUnknown(m) -} - -var xxx_messageInfo_EntityId proto.InternalMessageInfo - -func (m *EntityId) GetField() *FieldId { - if m != nil { - return m.Field - } - return nil -} - -func init() { - 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) - 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") - proto.RegisterType((*CustomInfoType_Regex)(nil), "google.privacy.dlp.v2.CustomInfoType.Regex") - proto.RegisterType((*CustomInfoType_SurrogateType)(nil), "google.privacy.dlp.v2.CustomInfoType.SurrogateType") - proto.RegisterType((*CustomInfoType_DetectionRule)(nil), "google.privacy.dlp.v2.CustomInfoType.DetectionRule") - proto.RegisterType((*CustomInfoType_DetectionRule_Proximity)(nil), "google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity") - proto.RegisterType((*CustomInfoType_DetectionRule_LikelihoodAdjustment)(nil), "google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment") - proto.RegisterType((*CustomInfoType_DetectionRule_HotwordRule)(nil), "google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule") - proto.RegisterType((*FieldId)(nil), "google.privacy.dlp.v2.FieldId") - 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") - proto.RegisterType((*StorageConfig_TimespanConfig)(nil), "google.privacy.dlp.v2.StorageConfig.TimespanConfig") - proto.RegisterType((*BigQueryKey)(nil), "google.privacy.dlp.v2.BigQueryKey") - proto.RegisterType((*DatastoreKey)(nil), "google.privacy.dlp.v2.DatastoreKey") - proto.RegisterType((*Key)(nil), "google.privacy.dlp.v2.Key") - 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") -} - -func init() { - proto.RegisterFile("google/privacy/dlp/v2/storage.proto", fileDescriptor_ab5e749073e1398d) -} - -var fileDescriptor_ab5e749073e1398d = []byte{ - // 2072 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0xdd, 0x72, 0x1b, 0x49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f, 0xed, 0x17, 0xba, 0xe9, 0xfc, 0x3d, 0xba, 0xf5, 0x54, - 0x40, 0xf9, 0x85, 0x57, 0xae, 0x9b, 0x4e, 0xf9, 0x6c, 0xff, 0x3f, 0xbe, 0xf4, 0x9c, 0x4b, 0xcf, - 0xeb, 0xa6, 0x73, 0x7e, 0xb6, 0xdf, 0x5f, 0xe7, 0x06, 0x3f, 0xfb, 0x26, 0x00, 0x00, 0xff, 0xff, - 0x06, 0x01, 0x23, 0x9a, 0xf1, 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 deleted file mode 100644 index 6d9ec7ed..00000000 --- a/vendor/google.golang.org/genproto/googleapis/pubsub/v1/pubsub.pb.go +++ /dev/null @@ -1,4021 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/pubsub/v1/pubsub.proto - -package pubsub - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - empty "github.com/golang/protobuf/ptypes/empty" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -type MessageStoragePolicy struct { - // A list of IDs of GCP regions where messages that are published to the topic - // may be persisted in storage. Messages published by publishers running in - // non-allowed GCP regions (or running outside of GCP altogether) will be - // routed for storage in one of the allowed regions. An empty list means that - // no regions are allowed, and is not a valid configuration. - AllowedPersistenceRegions []string `protobuf:"bytes,1,rep,name=allowed_persistence_regions,json=allowedPersistenceRegions,proto3" json:"allowed_persistence_regions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f602d910f9a348fe, []int{0} -} - -func (m *MessageStoragePolicy) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MessageStoragePolicy.Unmarshal(m, b) -} -func (m *MessageStoragePolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MessageStoragePolicy.Marshal(b, m, deterministic) -} -func (m *MessageStoragePolicy) XXX_Merge(src proto.Message) { - xxx_messageInfo_MessageStoragePolicy.Merge(m, src) -} -func (m *MessageStoragePolicy) XXX_Size() int { - return xxx_messageInfo_MessageStoragePolicy.Size(m) -} -func (m *MessageStoragePolicy) XXX_DiscardUnknown() { - xxx_messageInfo_MessageStoragePolicy.DiscardUnknown(m) -} - -var xxx_messageInfo_MessageStoragePolicy proto.InternalMessageInfo - -func (m *MessageStoragePolicy) GetAllowedPersistenceRegions() []string { - if m != nil { - return m.AllowedPersistenceRegions - } - return nil -} - -// A topic resource. -type Topic struct { - // The name of the topic. It must have the format - // `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter, - // and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), - // underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent - // 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"` - // 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 the set of Google Cloud Platform regions where messages - // published to the topic may be stored. If not present, then no constraints - // are in effect. - MessageStoragePolicy *MessageStoragePolicy `protobuf:"bytes,3,opt,name=message_storage_policy,json=messageStoragePolicy,proto3" json:"message_storage_policy,omitempty"` - // The resource name of the Cloud KMS CryptoKey to be used to protect access - // to messages published on this topic. - // - // The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`. - KmsKeyName string `protobuf:"bytes,5,opt,name=kms_key_name,json=kmsKeyName,proto3" json:"kms_key_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f602d910f9a348fe, []int{1} -} - -func (m *Topic) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Topic.Unmarshal(m, b) -} -func (m *Topic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Topic.Marshal(b, m, deterministic) -} -func (m *Topic) XXX_Merge(src proto.Message) { - xxx_messageInfo_Topic.Merge(m, src) -} -func (m *Topic) XXX_Size() int { - return xxx_messageInfo_Topic.Size(m) -} -func (m *Topic) XXX_DiscardUnknown() { - xxx_messageInfo_Topic.DiscardUnknown(m) -} - -var xxx_messageInfo_Topic proto.InternalMessageInfo - -func (m *Topic) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Topic) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -func (m *Topic) GetMessageStoragePolicy() *MessageStoragePolicy { - if m != nil { - return m.MessageStoragePolicy - } - return nil -} - -func (m *Topic) GetKmsKeyName() string { - if m != nil { - return m.KmsKeyName - } - return "" -} - -// 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. -// Note that client libraries represent this object differently -// depending on the language. See the corresponding -// client -// library documentation for more information. See -// Quotas and limits -// for more information about message limits. -type PubsubMessage struct { - // 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"` - // ID of this message, assigned by the server when the message is published. - // Guaranteed to be unique within the topic. This value may be read by a - // subscriber that receives a `PubsubMessage` via a `Pull` call or a push - // delivery. It must not be populated by the publisher in a `Publish` call. - MessageId string `protobuf:"bytes,3,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` - // The time at which the message was published, populated by the server when - // it receives the `Publish` call. It must not be populated by the - // publisher in a `Publish` call. - PublishTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=publish_time,json=publishTime,proto3" json:"publish_time,omitempty"` - // Identifies related messages for which publish order should be respected. - // If a `Subscription` has `enable_message_ordering` set to `true`, messages - // published with the same `ordering_key` value will be delivered to - // subscribers in the order in which they are received by the Pub/Sub system. - // EXPERIMENTAL: This feature is part of a closed 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. - OrderingKey string `protobuf:"bytes,5,opt,name=ordering_key,json=orderingKey,proto3" json:"ordering_key,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f602d910f9a348fe, []int{2} -} - -func (m *PubsubMessage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PubsubMessage.Unmarshal(m, b) -} -func (m *PubsubMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PubsubMessage.Marshal(b, m, deterministic) -} -func (m *PubsubMessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_PubsubMessage.Merge(m, src) -} -func (m *PubsubMessage) XXX_Size() int { - return xxx_messageInfo_PubsubMessage.Size(m) -} -func (m *PubsubMessage) XXX_DiscardUnknown() { - xxx_messageInfo_PubsubMessage.DiscardUnknown(m) -} - -var xxx_messageInfo_PubsubMessage proto.InternalMessageInfo - -func (m *PubsubMessage) GetData() []byte { - if m != nil { - return m.Data - } - return nil -} - -func (m *PubsubMessage) GetAttributes() map[string]string { - if m != nil { - return m.Attributes - } - return nil -} - -func (m *PubsubMessage) GetMessageId() string { - if m != nil { - return m.MessageId - } - return "" -} - -func (m *PubsubMessage) GetPublishTime() *timestamp.Timestamp { - if m != nil { - return m.PublishTime - } - return nil -} - -func (m *PubsubMessage) GetOrderingKey() string { - if m != nil { - return m.OrderingKey - } - return "" -} - -// Request for the GetTopic method. -type GetTopicRequest struct { - // The name of the topic to get. - // 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 *GetTopicRequest) Reset() { *m = GetTopicRequest{} } -func (m *GetTopicRequest) String() string { return proto.CompactTextString(m) } -func (*GetTopicRequest) ProtoMessage() {} -func (*GetTopicRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f602d910f9a348fe, []int{3} -} - -func (m *GetTopicRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTopicRequest.Unmarshal(m, b) -} -func (m *GetTopicRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTopicRequest.Marshal(b, m, deterministic) -} -func (m *GetTopicRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTopicRequest.Merge(m, src) -} -func (m *GetTopicRequest) XXX_Size() int { - return xxx_messageInfo_GetTopicRequest.Size(m) -} -func (m *GetTopicRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTopicRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetTopicRequest proto.InternalMessageInfo - -func (m *GetTopicRequest) GetTopic() string { - if m != nil { - return m.Topic - } - return "" -} - -// Request for the UpdateTopic method. -type UpdateTopicRequest struct { - // The updated topic object. - Topic *Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` - // Indicates which fields in the provided topic to update. Must be specified - // and non-empty. Note that if `update_mask` contains - // "message_storage_policy" then the new value will be determined based on the - // policy configured at the project or organization level. The - // `message_storage_policy` must not be set in the `topic` provided above. - 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 *UpdateTopicRequest) Reset() { *m = UpdateTopicRequest{} } -func (m *UpdateTopicRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateTopicRequest) ProtoMessage() {} -func (*UpdateTopicRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f602d910f9a348fe, []int{4} -} - -func (m *UpdateTopicRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateTopicRequest.Unmarshal(m, b) -} -func (m *UpdateTopicRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateTopicRequest.Marshal(b, m, deterministic) -} -func (m *UpdateTopicRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateTopicRequest.Merge(m, src) -} -func (m *UpdateTopicRequest) XXX_Size() int { - return xxx_messageInfo_UpdateTopicRequest.Size(m) -} -func (m *UpdateTopicRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateTopicRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateTopicRequest proto.InternalMessageInfo - -func (m *UpdateTopicRequest) GetTopic() *Topic { - if m != nil { - return m.Topic - } - return nil -} - -func (m *UpdateTopicRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// Request for the Publish method. -type PublishRequest struct { - // The messages in the request will be published on this topic. - // Format is `projects/{project}/topics/{topic}`. - Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` - // The messages to publish. - Messages []*PubsubMessage `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f602d910f9a348fe, []int{5} -} - -func (m *PublishRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PublishRequest.Unmarshal(m, b) -} -func (m *PublishRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PublishRequest.Marshal(b, m, deterministic) -} -func (m *PublishRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PublishRequest.Merge(m, src) -} -func (m *PublishRequest) XXX_Size() int { - return xxx_messageInfo_PublishRequest.Size(m) -} -func (m *PublishRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PublishRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_PublishRequest proto.InternalMessageInfo - -func (m *PublishRequest) GetTopic() string { - if m != nil { - return m.Topic - } - return "" -} - -func (m *PublishRequest) GetMessages() []*PubsubMessage { - if m != nil { - return m.Messages - } - return nil -} - -// Response for the `Publish` method. -type PublishResponse struct { - // The server-assigned ID of each published message, in the same order as - // the messages in the request. IDs are guaranteed to be unique within - // the topic. - MessageIds []string `protobuf:"bytes,1,rep,name=message_ids,json=messageIds,proto3" json:"message_ids,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f602d910f9a348fe, []int{6} -} - -func (m *PublishResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PublishResponse.Unmarshal(m, b) -} -func (m *PublishResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PublishResponse.Marshal(b, m, deterministic) -} -func (m *PublishResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PublishResponse.Merge(m, src) -} -func (m *PublishResponse) XXX_Size() int { - return xxx_messageInfo_PublishResponse.Size(m) -} -func (m *PublishResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PublishResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_PublishResponse proto.InternalMessageInfo - -func (m *PublishResponse) GetMessageIds() []string { - if m != nil { - return m.MessageIds - } - return nil -} - -// Request for the `ListTopics` method. -type ListTopicsRequest struct { - // 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"` - // The value returned by the last `ListTopicsResponse`; indicates that this is - // a continuation of a prior `ListTopics` call, and that 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:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f602d910f9a348fe, []int{7} -} - -func (m *ListTopicsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTopicsRequest.Unmarshal(m, b) -} -func (m *ListTopicsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTopicsRequest.Marshal(b, m, deterministic) -} -func (m *ListTopicsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTopicsRequest.Merge(m, src) -} -func (m *ListTopicsRequest) XXX_Size() int { - return xxx_messageInfo_ListTopicsRequest.Size(m) -} -func (m *ListTopicsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListTopicsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTopicsRequest proto.InternalMessageInfo - -func (m *ListTopicsRequest) GetProject() string { - if m != nil { - return m.Project - } - return "" -} - -func (m *ListTopicsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListTopicsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response for the `ListTopics` method. -type ListTopicsResponse struct { - // The resulting topics. - Topics []*Topic `protobuf:"bytes,1,rep,name=topics,proto3" json:"topics,omitempty"` - // If not empty, indicates that there may be more topics that match the - // request; this value should be passed in a new `ListTopicsRequest`. - 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 *ListTopicsResponse) Reset() { *m = ListTopicsResponse{} } -func (m *ListTopicsResponse) String() string { return proto.CompactTextString(m) } -func (*ListTopicsResponse) ProtoMessage() {} -func (*ListTopicsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f602d910f9a348fe, []int{8} -} - -func (m *ListTopicsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTopicsResponse.Unmarshal(m, b) -} -func (m *ListTopicsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTopicsResponse.Marshal(b, m, deterministic) -} -func (m *ListTopicsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTopicsResponse.Merge(m, src) -} -func (m *ListTopicsResponse) XXX_Size() int { - return xxx_messageInfo_ListTopicsResponse.Size(m) -} -func (m *ListTopicsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListTopicsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTopicsResponse proto.InternalMessageInfo - -func (m *ListTopicsResponse) GetTopics() []*Topic { - if m != nil { - return m.Topics - } - return nil -} - -func (m *ListTopicsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request for the `ListTopicSubscriptions` method. -type ListTopicSubscriptionsRequest struct { - // The name of the topic that subscriptions are attached to. - // Format is `projects/{project}/topics/{topic}`. - Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` - // Maximum number of subscription names to return. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // The value returned by the last `ListTopicSubscriptionsResponse`; indicates - // that this is a continuation of a prior `ListTopicSubscriptions` call, and - // that 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:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListTopicSubscriptionsRequest) Reset() { *m = ListTopicSubscriptionsRequest{} } -func (m *ListTopicSubscriptionsRequest) String() string { return proto.CompactTextString(m) } -func (*ListTopicSubscriptionsRequest) ProtoMessage() {} -func (*ListTopicSubscriptionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f602d910f9a348fe, []int{9} -} - -func (m *ListTopicSubscriptionsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTopicSubscriptionsRequest.Unmarshal(m, b) -} -func (m *ListTopicSubscriptionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTopicSubscriptionsRequest.Marshal(b, m, deterministic) -} -func (m *ListTopicSubscriptionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTopicSubscriptionsRequest.Merge(m, src) -} -func (m *ListTopicSubscriptionsRequest) XXX_Size() int { - return xxx_messageInfo_ListTopicSubscriptionsRequest.Size(m) -} -func (m *ListTopicSubscriptionsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListTopicSubscriptionsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTopicSubscriptionsRequest proto.InternalMessageInfo - -func (m *ListTopicSubscriptionsRequest) GetTopic() string { - if m != nil { - return m.Topic - } - return "" -} - -func (m *ListTopicSubscriptionsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListTopicSubscriptionsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response for the `ListTopicSubscriptions` method. -type ListTopicSubscriptionsResponse struct { - // The names of the subscriptions that match the request. - Subscriptions []string `protobuf:"bytes,1,rep,name=subscriptions,proto3" json:"subscriptions,omitempty"` - // If not empty, indicates that there may be more subscriptions that match - // the request; this value should be passed in a new - // `ListTopicSubscriptionsRequest` to get more subscriptions. - 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 *ListTopicSubscriptionsResponse) Reset() { *m = ListTopicSubscriptionsResponse{} } -func (m *ListTopicSubscriptionsResponse) String() string { return proto.CompactTextString(m) } -func (*ListTopicSubscriptionsResponse) ProtoMessage() {} -func (*ListTopicSubscriptionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f602d910f9a348fe, []int{10} -} - -func (m *ListTopicSubscriptionsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTopicSubscriptionsResponse.Unmarshal(m, b) -} -func (m *ListTopicSubscriptionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTopicSubscriptionsResponse.Marshal(b, m, deterministic) -} -func (m *ListTopicSubscriptionsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTopicSubscriptionsResponse.Merge(m, src) -} -func (m *ListTopicSubscriptionsResponse) XXX_Size() int { - return xxx_messageInfo_ListTopicSubscriptionsResponse.Size(m) -} -func (m *ListTopicSubscriptionsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListTopicSubscriptionsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTopicSubscriptionsResponse proto.InternalMessageInfo - -func (m *ListTopicSubscriptionsResponse) GetSubscriptions() []string { - if m != nil { - return m.Subscriptions - } - return nil -} - -func (m *ListTopicSubscriptionsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request for the `ListTopicSnapshots` method. -type ListTopicSnapshotsRequest struct { - // The name of the topic that snapshots are attached to. - // Format is `projects/{project}/topics/{topic}`. - Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` - // Maximum number of snapshot names to return. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // The value returned by the last `ListTopicSnapshotsResponse`; indicates - // that this is a continuation of a prior `ListTopicSnapshots` call, and - // that 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:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListTopicSnapshotsRequest) Reset() { *m = ListTopicSnapshotsRequest{} } -func (m *ListTopicSnapshotsRequest) String() string { return proto.CompactTextString(m) } -func (*ListTopicSnapshotsRequest) ProtoMessage() {} -func (*ListTopicSnapshotsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f602d910f9a348fe, []int{11} -} - -func (m *ListTopicSnapshotsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTopicSnapshotsRequest.Unmarshal(m, b) -} -func (m *ListTopicSnapshotsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTopicSnapshotsRequest.Marshal(b, m, deterministic) -} -func (m *ListTopicSnapshotsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTopicSnapshotsRequest.Merge(m, src) -} -func (m *ListTopicSnapshotsRequest) XXX_Size() int { - return xxx_messageInfo_ListTopicSnapshotsRequest.Size(m) -} -func (m *ListTopicSnapshotsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListTopicSnapshotsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTopicSnapshotsRequest proto.InternalMessageInfo - -func (m *ListTopicSnapshotsRequest) GetTopic() string { - if m != nil { - return m.Topic - } - return "" -} - -func (m *ListTopicSnapshotsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListTopicSnapshotsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response for the `ListTopicSnapshots` method. -type ListTopicSnapshotsResponse struct { - // The names of the snapshots that match the request. - Snapshots []string `protobuf:"bytes,1,rep,name=snapshots,proto3" json:"snapshots,omitempty"` - // If not empty, indicates that there may be more snapshots that match - // the request; this value should be passed in a new - // `ListTopicSnapshotsRequest` to get more snapshots. - 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 *ListTopicSnapshotsResponse) Reset() { *m = ListTopicSnapshotsResponse{} } -func (m *ListTopicSnapshotsResponse) String() string { return proto.CompactTextString(m) } -func (*ListTopicSnapshotsResponse) ProtoMessage() {} -func (*ListTopicSnapshotsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f602d910f9a348fe, []int{12} -} - -func (m *ListTopicSnapshotsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTopicSnapshotsResponse.Unmarshal(m, b) -} -func (m *ListTopicSnapshotsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTopicSnapshotsResponse.Marshal(b, m, deterministic) -} -func (m *ListTopicSnapshotsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTopicSnapshotsResponse.Merge(m, src) -} -func (m *ListTopicSnapshotsResponse) XXX_Size() int { - return xxx_messageInfo_ListTopicSnapshotsResponse.Size(m) -} -func (m *ListTopicSnapshotsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListTopicSnapshotsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTopicSnapshotsResponse proto.InternalMessageInfo - -func (m *ListTopicSnapshotsResponse) GetSnapshots() []string { - if m != nil { - return m.Snapshots - } - return nil -} - -func (m *ListTopicSnapshotsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request for the `DeleteTopic` method. -type DeleteTopicRequest struct { - // Name of the topic to delete. - // 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 *DeleteTopicRequest) Reset() { *m = DeleteTopicRequest{} } -func (m *DeleteTopicRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteTopicRequest) ProtoMessage() {} -func (*DeleteTopicRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f602d910f9a348fe, []int{13} -} - -func (m *DeleteTopicRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteTopicRequest.Unmarshal(m, b) -} -func (m *DeleteTopicRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteTopicRequest.Marshal(b, m, deterministic) -} -func (m *DeleteTopicRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteTopicRequest.Merge(m, src) -} -func (m *DeleteTopicRequest) XXX_Size() int { - return xxx_messageInfo_DeleteTopicRequest.Size(m) -} -func (m *DeleteTopicRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteTopicRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteTopicRequest proto.InternalMessageInfo - -func (m *DeleteTopicRequest) GetTopic() string { - if m != nil { - return m.Topic - } - return "" -} - -// A subscription resource. -type Subscription struct { - // The name of the subscription. It must have the format - // `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must - // start with a letter, and contain only letters (`[A-Za-z]`), numbers - // (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), - // plus (`+`) or percent 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"` - // The name of the topic from which this subscription is receiving messages. - // Format is `projects/{project}/topics/{topic}`. - // The value of this field will be `_deleted-topic_` if the topic has been - // deleted. - Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"` - // If push delivery is used with this subscription, this field is - // used to configure it. An empty `pushConfig` signifies that the subscriber - // will pull and ack messages using API methods. - PushConfig *PushConfig `protobuf:"bytes,4,opt,name=push_config,json=pushConfig,proto3" json:"push_config,omitempty"` - // The approximate amount of time (on a best-effort basis) Pub/Sub waits for - // the subscriber to acknowledge receipt before resending the message. In the - // interval after the message is delivered and before it is acknowledged, it - // is considered to be outstanding. During that time period, the - // message will not be redelivered (on a best-effort basis). - // - // For pull subscriptions, this value is used as the initial value for the ack - // deadline. To override this value for a given message, call - // `ModifyAckDeadline` with the corresponding `ack_id` if using - // non-streaming pull or send the `ack_id` in a - // `StreamingModifyAckDeadlineRequest` if using streaming pull. - // The minimum custom deadline you can specify is 10 seconds. - // The maximum custom deadline you can specify is 600 seconds (10 minutes). - // If this parameter is 0, a default value of 10 seconds is used. - // - // For push delivery, this value is also used to set the request timeout for - // the call to the push endpoint. - // - // If the subscriber never acknowledges the message, the Pub/Sub - // system will eventually redeliver the message. - AckDeadlineSeconds int32 `protobuf:"varint,5,opt,name=ack_deadline_seconds,json=ackDeadlineSeconds,proto3" json:"ack_deadline_seconds,omitempty"` - // Indicates whether to retain acknowledged messages. If true, then - // messages are not expunged from the subscription's backlog, even if they are - // acknowledged, until they fall out of the `message_retention_duration` - // window. This must be true if you would like to - // - // Seek to a timestamp. - RetainAckedMessages bool `protobuf:"varint,7,opt,name=retain_acked_messages,json=retainAckedMessages,proto3" json:"retain_acked_messages,omitempty"` - // How long to retain unacknowledged messages in the subscription's backlog, - // from the moment a message is published. - // If `retain_acked_messages` is true, then this also configures the retention - // of acknowledged messages, and thus configures how far back in time a `Seek` - // can be done. Defaults to 7 days. Cannot be more than 7 days or less than 10 - // minutes. - MessageRetentionDuration *duration.Duration `protobuf:"bytes,8,opt,name=message_retention_duration,json=messageRetentionDuration,proto3" json:"message_retention_duration,omitempty"` - // 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"` - // If true, messages published with the same `ordering_key` in `PubsubMessage` - // will be delivered to the subscribers in the order in which they - // are received by the Pub/Sub system. Otherwise, they may be delivered in - // any order. - // EXPERIMENTAL: This feature is part of a closed 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. - EnableMessageOrdering bool `protobuf:"varint,10,opt,name=enable_message_ordering,json=enableMessageOrdering,proto3" json:"enable_message_ordering,omitempty"` - // 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. - ExpirationPolicy *ExpirationPolicy `protobuf:"bytes,11,opt,name=expiration_policy,json=expirationPolicy,proto3" json:"expiration_policy,omitempty"` - // A policy that specifies the conditions for dead lettering messages in - // this subscription. If dead_letter_policy is not set, dead lettering - // is disabled. - // - // The Cloud Pub/Sub service account associated with this subscriptions's - // parent project (i.e., - // service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com) must have - // permission to Acknowledge() messages on this subscription. - // EXPERIMENTAL: This feature is part of a closed 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. - DeadLetterPolicy *DeadLetterPolicy `protobuf:"bytes,13,opt,name=dead_letter_policy,json=deadLetterPolicy,proto3" json:"dead_letter_policy,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f602d910f9a348fe, []int{14} -} - -func (m *Subscription) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Subscription.Unmarshal(m, b) -} -func (m *Subscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Subscription.Marshal(b, m, deterministic) -} -func (m *Subscription) XXX_Merge(src proto.Message) { - xxx_messageInfo_Subscription.Merge(m, src) -} -func (m *Subscription) XXX_Size() int { - return xxx_messageInfo_Subscription.Size(m) -} -func (m *Subscription) XXX_DiscardUnknown() { - xxx_messageInfo_Subscription.DiscardUnknown(m) -} - -var xxx_messageInfo_Subscription proto.InternalMessageInfo - -func (m *Subscription) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Subscription) GetTopic() string { - if m != nil { - return m.Topic - } - return "" -} - -func (m *Subscription) GetPushConfig() *PushConfig { - if m != nil { - return m.PushConfig - } - return nil -} - -func (m *Subscription) GetAckDeadlineSeconds() int32 { - if m != nil { - return m.AckDeadlineSeconds - } - return 0 -} - -func (m *Subscription) GetRetainAckedMessages() bool { - if m != nil { - return m.RetainAckedMessages - } - return false -} - -func (m *Subscription) GetMessageRetentionDuration() *duration.Duration { - if m != nil { - return m.MessageRetentionDuration - } - return nil -} - -func (m *Subscription) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -func (m *Subscription) GetEnableMessageOrdering() bool { - if m != nil { - return m.EnableMessageOrdering - } - return false -} - -func (m *Subscription) GetExpirationPolicy() *ExpirationPolicy { - if m != nil { - return m.ExpirationPolicy - } - return nil -} - -func (m *Subscription) GetDeadLetterPolicy() *DeadLetterPolicy { - if m != nil { - return m.DeadLetterPolicy - } - return nil -} - -// Dead lettering is done on a best effort basis. The same message might be -// dead lettered multiple times. -// -// If validation on any of the fields fails at subscription creation/updation, -// the create/update subscription request will fail. -type DeadLetterPolicy struct { - // The name of the topic to which dead letter messages should be published. - // Format is `projects/{project}/topics/{topic}`.The Cloud Pub/Sub service - // account associated with the enclosing subscription's parent project (i.e., - // service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com) must have - // permission to Publish() to this topic. - // - // The operation will fail if the topic does not exist. - // Users should ensure that there is a subscription attached to this topic - // since messages published to a topic with no subscriptions are lost. - DeadLetterTopic string `protobuf:"bytes,1,opt,name=dead_letter_topic,json=deadLetterTopic,proto3" json:"dead_letter_topic,omitempty"` - // The maximum number of delivery attempts for any message. The value must be - // between 5 and 100. - // - // The number of delivery attempts is defined as 1 + (the sum of number of - // NACKs and number of times the acknowledgement deadline has been exceeded - // for the message). - // - // A NACK is any call to ModifyAckDeadline with a 0 deadline. Note that - // client libraries may automatically extend ack_deadlines. - // - // This field will be honored on a best effort basis. - // - // If this parameter is 0, a default value of 5 is used. - MaxDeliveryAttempts int32 `protobuf:"varint,2,opt,name=max_delivery_attempts,json=maxDeliveryAttempts,proto3" json:"max_delivery_attempts,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DeadLetterPolicy) Reset() { *m = DeadLetterPolicy{} } -func (m *DeadLetterPolicy) String() string { return proto.CompactTextString(m) } -func (*DeadLetterPolicy) ProtoMessage() {} -func (*DeadLetterPolicy) Descriptor() ([]byte, []int) { - return fileDescriptor_f602d910f9a348fe, []int{15} -} - -func (m *DeadLetterPolicy) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeadLetterPolicy.Unmarshal(m, b) -} -func (m *DeadLetterPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeadLetterPolicy.Marshal(b, m, deterministic) -} -func (m *DeadLetterPolicy) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeadLetterPolicy.Merge(m, src) -} -func (m *DeadLetterPolicy) XXX_Size() int { - return xxx_messageInfo_DeadLetterPolicy.Size(m) -} -func (m *DeadLetterPolicy) XXX_DiscardUnknown() { - xxx_messageInfo_DeadLetterPolicy.DiscardUnknown(m) -} - -var xxx_messageInfo_DeadLetterPolicy proto.InternalMessageInfo - -func (m *DeadLetterPolicy) GetDeadLetterTopic() string { - if m != nil { - return m.DeadLetterTopic - } - return "" -} - -func (m *DeadLetterPolicy) GetMaxDeliveryAttempts() int32 { - if m != nil { - return m.MaxDeliveryAttempts - } - return 0 -} - -// 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_f602d910f9a348fe, []int{16} -} - -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 (m *ExpirationPolicy) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExpirationPolicy.Merge(m, 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. - // For example, a Webhook endpoint might use "https://example.com/push". - PushEndpoint string `protobuf:"bytes,1,opt,name=push_endpoint,json=pushEndpoint,proto3" json:"push_endpoint,omitempty"` - // Endpoint configuration attributes that can be used to control different - // aspects of the message delivery. - // - // The only currently supported attribute is `x-goog-version`, which you can - // use to change the format of the pushed message. This attribute - // indicates the version of the data expected by the endpoint. This - // controls the shape of the pushed message (i.e., its fields and metadata). - // - // If not present during the `CreateSubscription` call, it will default to - // the version of the Pub/Sub API used to make such call. If not present in a - // `ModifyPushConfig` call, its value will not be changed. `GetSubscription` - // calls will always return a valid version, even if the subscription was - // created without this attribute. - // - // The only supported values for the `x-goog-version` attribute are: - // - // * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. - // * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API. - // - // For example: - //

attributes { "x-goog-version": "v1" } 
- 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"` - // An authentication method used by push endpoints to verify the source of - // push requests. This can be used with push endpoints that are private by - // default to allow requests only from the Cloud Pub/Sub system, for example. - // This field is optional and should be set only by users interested in - // authenticated push. - // - // Types that are valid to be assigned to AuthenticationMethod: - // *PushConfig_OidcToken_ - AuthenticationMethod isPushConfig_AuthenticationMethod `protobuf_oneof:"authentication_method"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f602d910f9a348fe, []int{17} -} - -func (m *PushConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PushConfig.Unmarshal(m, b) -} -func (m *PushConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PushConfig.Marshal(b, m, deterministic) -} -func (m *PushConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_PushConfig.Merge(m, src) -} -func (m *PushConfig) XXX_Size() int { - return xxx_messageInfo_PushConfig.Size(m) -} -func (m *PushConfig) XXX_DiscardUnknown() { - xxx_messageInfo_PushConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_PushConfig proto.InternalMessageInfo - -func (m *PushConfig) GetPushEndpoint() string { - if m != nil { - return m.PushEndpoint - } - return "" -} - -func (m *PushConfig) GetAttributes() map[string]string { - if m != nil { - return m.Attributes - } - return nil -} - -type isPushConfig_AuthenticationMethod interface { - isPushConfig_AuthenticationMethod() -} - -type PushConfig_OidcToken_ struct { - OidcToken *PushConfig_OidcToken `protobuf:"bytes,3,opt,name=oidc_token,json=oidcToken,proto3,oneof"` -} - -func (*PushConfig_OidcToken_) isPushConfig_AuthenticationMethod() {} - -func (m *PushConfig) GetAuthenticationMethod() isPushConfig_AuthenticationMethod { - if m != nil { - return m.AuthenticationMethod - } - return nil -} - -func (m *PushConfig) GetOidcToken() *PushConfig_OidcToken { - if x, ok := m.GetAuthenticationMethod().(*PushConfig_OidcToken_); ok { - return x.OidcToken - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*PushConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*PushConfig_OidcToken_)(nil), - } -} - -// Contains information needed for generating an -// [OpenID Connect -// token](https://developers.google.com/identity/protocols/OpenIDConnect). -type PushConfig_OidcToken struct { - // [Service account - // email](https://cloud.google.com/iam/docs/service-accounts) - // to be used for generating the OIDC token. The caller (for - // CreateSubscription, UpdateSubscription, and ModifyPushConfig RPCs) must - // have the iam.serviceAccounts.actAs permission for the service account. - ServiceAccountEmail string `protobuf:"bytes,1,opt,name=service_account_email,json=serviceAccountEmail,proto3" json:"service_account_email,omitempty"` - // Audience to be used when generating OIDC token. The audience claim - // identifies the recipients that the JWT is intended for. The audience - // value is a single case-sensitive string. Having multiple values (array) - // for the audience field is not supported. More info about the OIDC JWT - // token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3 - // Note: if not specified, the Push endpoint URL will be used. - Audience string `protobuf:"bytes,2,opt,name=audience,proto3" json:"audience,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PushConfig_OidcToken) Reset() { *m = PushConfig_OidcToken{} } -func (m *PushConfig_OidcToken) String() string { return proto.CompactTextString(m) } -func (*PushConfig_OidcToken) ProtoMessage() {} -func (*PushConfig_OidcToken) Descriptor() ([]byte, []int) { - return fileDescriptor_f602d910f9a348fe, []int{17, 0} -} - -func (m *PushConfig_OidcToken) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PushConfig_OidcToken.Unmarshal(m, b) -} -func (m *PushConfig_OidcToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PushConfig_OidcToken.Marshal(b, m, deterministic) -} -func (m *PushConfig_OidcToken) XXX_Merge(src proto.Message) { - xxx_messageInfo_PushConfig_OidcToken.Merge(m, src) -} -func (m *PushConfig_OidcToken) XXX_Size() int { - return xxx_messageInfo_PushConfig_OidcToken.Size(m) -} -func (m *PushConfig_OidcToken) XXX_DiscardUnknown() { - xxx_messageInfo_PushConfig_OidcToken.DiscardUnknown(m) -} - -var xxx_messageInfo_PushConfig_OidcToken proto.InternalMessageInfo - -func (m *PushConfig_OidcToken) GetServiceAccountEmail() string { - if m != nil { - return m.ServiceAccountEmail - } - return "" -} - -func (m *PushConfig_OidcToken) GetAudience() string { - if m != nil { - return m.Audience - } - return "" -} - -// A message and its corresponding acknowledgment ID. -type ReceivedMessage struct { - // This ID can be used to acknowledge the received message. - AckId string `protobuf:"bytes,1,opt,name=ack_id,json=ackId,proto3" json:"ack_id,omitempty"` - // The message. - Message *PubsubMessage `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` - // Delivery attempt counter is 1 + (the sum of number of NACKs and number of - // ack_deadline exceeds) for this message. - // - // A NACK is any call to ModifyAckDeadline with a 0 deadline. An ack_deadline - // exceeds event is whenever a message is not acknowledged within - // ack_deadline. Note that ack_deadline is initially - // Subscription.ackDeadlineSeconds, but may get extended automatically by - // the client library. - // - // The first delivery of a given message will have this value as 1. The value - // is calculated at best effort and is approximate. - // - // If a DeadLetterPolicy is not set on the subscription, this will be 0. - // EXPERIMENTAL: This feature is part of a closed 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. - DeliveryAttempt int32 `protobuf:"varint,3,opt,name=delivery_attempt,json=deliveryAttempt,proto3" json:"delivery_attempt,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f602d910f9a348fe, []int{18} -} - -func (m *ReceivedMessage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReceivedMessage.Unmarshal(m, b) -} -func (m *ReceivedMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReceivedMessage.Marshal(b, m, deterministic) -} -func (m *ReceivedMessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReceivedMessage.Merge(m, src) -} -func (m *ReceivedMessage) XXX_Size() int { - return xxx_messageInfo_ReceivedMessage.Size(m) -} -func (m *ReceivedMessage) XXX_DiscardUnknown() { - xxx_messageInfo_ReceivedMessage.DiscardUnknown(m) -} - -var xxx_messageInfo_ReceivedMessage proto.InternalMessageInfo - -func (m *ReceivedMessage) GetAckId() string { - if m != nil { - return m.AckId - } - return "" -} - -func (m *ReceivedMessage) GetMessage() *PubsubMessage { - if m != nil { - return m.Message - } - return nil -} - -func (m *ReceivedMessage) GetDeliveryAttempt() int32 { - if m != nil { - return m.DeliveryAttempt - } - return 0 -} - -// Request for the GetSubscription method. -type GetSubscriptionRequest struct { - // The name of the subscription to get. - // Format is `projects/{project}/subscriptions/{sub}`. - Subscription string `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f602d910f9a348fe, []int{19} -} - -func (m *GetSubscriptionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetSubscriptionRequest.Unmarshal(m, b) -} -func (m *GetSubscriptionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetSubscriptionRequest.Marshal(b, m, deterministic) -} -func (m *GetSubscriptionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetSubscriptionRequest.Merge(m, src) -} -func (m *GetSubscriptionRequest) XXX_Size() int { - return xxx_messageInfo_GetSubscriptionRequest.Size(m) -} -func (m *GetSubscriptionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetSubscriptionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetSubscriptionRequest proto.InternalMessageInfo - -func (m *GetSubscriptionRequest) GetSubscription() string { - if m != nil { - return m.Subscription - } - return "" -} - -// Request for the UpdateSubscription method. -type UpdateSubscriptionRequest struct { - // The updated subscription object. - Subscription *Subscription `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"` - // Indicates which fields in the provided subscription to update. - // Must be specified and non-empty. - 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 *UpdateSubscriptionRequest) Reset() { *m = UpdateSubscriptionRequest{} } -func (m *UpdateSubscriptionRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateSubscriptionRequest) ProtoMessage() {} -func (*UpdateSubscriptionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f602d910f9a348fe, []int{20} -} - -func (m *UpdateSubscriptionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateSubscriptionRequest.Unmarshal(m, b) -} -func (m *UpdateSubscriptionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateSubscriptionRequest.Marshal(b, m, deterministic) -} -func (m *UpdateSubscriptionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateSubscriptionRequest.Merge(m, src) -} -func (m *UpdateSubscriptionRequest) XXX_Size() int { - return xxx_messageInfo_UpdateSubscriptionRequest.Size(m) -} -func (m *UpdateSubscriptionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateSubscriptionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateSubscriptionRequest proto.InternalMessageInfo - -func (m *UpdateSubscriptionRequest) GetSubscription() *Subscription { - if m != nil { - return m.Subscription - } - return nil -} - -func (m *UpdateSubscriptionRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// Request for the `ListSubscriptions` method. -type ListSubscriptionsRequest struct { - // 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"` - // The value returned by the last `ListSubscriptionsResponse`; indicates that - // this is a continuation of a prior `ListSubscriptions` call, and that 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:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListSubscriptionsRequest) Reset() { *m = ListSubscriptionsRequest{} } -func (m *ListSubscriptionsRequest) String() string { return proto.CompactTextString(m) } -func (*ListSubscriptionsRequest) ProtoMessage() {} -func (*ListSubscriptionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f602d910f9a348fe, []int{21} -} - -func (m *ListSubscriptionsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListSubscriptionsRequest.Unmarshal(m, b) -} -func (m *ListSubscriptionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListSubscriptionsRequest.Marshal(b, m, deterministic) -} -func (m *ListSubscriptionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSubscriptionsRequest.Merge(m, src) -} -func (m *ListSubscriptionsRequest) XXX_Size() int { - return xxx_messageInfo_ListSubscriptionsRequest.Size(m) -} -func (m *ListSubscriptionsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListSubscriptionsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListSubscriptionsRequest proto.InternalMessageInfo - -func (m *ListSubscriptionsRequest) GetProject() string { - if m != nil { - return m.Project - } - return "" -} - -func (m *ListSubscriptionsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListSubscriptionsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response for the `ListSubscriptions` method. -type ListSubscriptionsResponse struct { - // The subscriptions that match the request. - Subscriptions []*Subscription `protobuf:"bytes,1,rep,name=subscriptions,proto3" json:"subscriptions,omitempty"` - // If not empty, indicates that there may be more subscriptions that match - // the request; this value should be passed in a new - // `ListSubscriptionsRequest` to get more subscriptions. - 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 *ListSubscriptionsResponse) Reset() { *m = ListSubscriptionsResponse{} } -func (m *ListSubscriptionsResponse) String() string { return proto.CompactTextString(m) } -func (*ListSubscriptionsResponse) ProtoMessage() {} -func (*ListSubscriptionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f602d910f9a348fe, []int{22} -} - -func (m *ListSubscriptionsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListSubscriptionsResponse.Unmarshal(m, b) -} -func (m *ListSubscriptionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListSubscriptionsResponse.Marshal(b, m, deterministic) -} -func (m *ListSubscriptionsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSubscriptionsResponse.Merge(m, src) -} -func (m *ListSubscriptionsResponse) XXX_Size() int { - return xxx_messageInfo_ListSubscriptionsResponse.Size(m) -} -func (m *ListSubscriptionsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListSubscriptionsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListSubscriptionsResponse proto.InternalMessageInfo - -func (m *ListSubscriptionsResponse) GetSubscriptions() []*Subscription { - if m != nil { - return m.Subscriptions - } - return nil -} - -func (m *ListSubscriptionsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request for the DeleteSubscription method. -type DeleteSubscriptionRequest struct { - // The subscription to delete. - // Format is `projects/{project}/subscriptions/{sub}`. - Subscription string `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DeleteSubscriptionRequest) Reset() { *m = DeleteSubscriptionRequest{} } -func (m *DeleteSubscriptionRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteSubscriptionRequest) ProtoMessage() {} -func (*DeleteSubscriptionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f602d910f9a348fe, []int{23} -} - -func (m *DeleteSubscriptionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteSubscriptionRequest.Unmarshal(m, b) -} -func (m *DeleteSubscriptionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteSubscriptionRequest.Marshal(b, m, deterministic) -} -func (m *DeleteSubscriptionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteSubscriptionRequest.Merge(m, src) -} -func (m *DeleteSubscriptionRequest) XXX_Size() int { - return xxx_messageInfo_DeleteSubscriptionRequest.Size(m) -} -func (m *DeleteSubscriptionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteSubscriptionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteSubscriptionRequest proto.InternalMessageInfo - -func (m *DeleteSubscriptionRequest) GetSubscription() string { - if m != nil { - return m.Subscription - } - return "" -} - -// Request for the ModifyPushConfig method. -type ModifyPushConfigRequest struct { - // The name of the subscription. - // Format is `projects/{project}/subscriptions/{sub}`. - Subscription string `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"` - // The push configuration for future deliveries. - // - // An empty `pushConfig` indicates that the Pub/Sub system should - // stop pushing messages from the given subscription and allow - // messages to be pulled and acknowledged - effectively pausing - // the subscription if `Pull` or `StreamingPull` is not called. - PushConfig *PushConfig `protobuf:"bytes,2,opt,name=push_config,json=pushConfig,proto3" json:"push_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f602d910f9a348fe, []int{24} -} - -func (m *ModifyPushConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ModifyPushConfigRequest.Unmarshal(m, b) -} -func (m *ModifyPushConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ModifyPushConfigRequest.Marshal(b, m, deterministic) -} -func (m *ModifyPushConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ModifyPushConfigRequest.Merge(m, src) -} -func (m *ModifyPushConfigRequest) XXX_Size() int { - return xxx_messageInfo_ModifyPushConfigRequest.Size(m) -} -func (m *ModifyPushConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ModifyPushConfigRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ModifyPushConfigRequest proto.InternalMessageInfo - -func (m *ModifyPushConfigRequest) GetSubscription() string { - if m != nil { - return m.Subscription - } - return "" -} - -func (m *ModifyPushConfigRequest) GetPushConfig() *PushConfig { - if m != nil { - return m.PushConfig - } - return nil -} - -// Request for the `Pull` method. -type PullRequest struct { - // The subscription from which messages should be pulled. - // Format is `projects/{project}/subscriptions/{sub}`. - Subscription string `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"` - // 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. - ReturnImmediately bool `protobuf:"varint,2,opt,name=return_immediately,json=returnImmediately,proto3" json:"return_immediately,omitempty"` - // The maximum number of messages to return for this request. Must be a - // positive integer. The Pub/Sub system may return fewer than the number - // specified. - MaxMessages int32 `protobuf:"varint,3,opt,name=max_messages,json=maxMessages,proto3" json:"max_messages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f602d910f9a348fe, []int{25} -} - -func (m *PullRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PullRequest.Unmarshal(m, b) -} -func (m *PullRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PullRequest.Marshal(b, m, deterministic) -} -func (m *PullRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PullRequest.Merge(m, src) -} -func (m *PullRequest) XXX_Size() int { - return xxx_messageInfo_PullRequest.Size(m) -} -func (m *PullRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PullRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_PullRequest proto.InternalMessageInfo - -func (m *PullRequest) GetSubscription() string { - if m != nil { - return m.Subscription - } - return "" -} - -func (m *PullRequest) GetReturnImmediately() bool { - if m != nil { - return m.ReturnImmediately - } - return false -} - -func (m *PullRequest) GetMaxMessages() int32 { - if m != nil { - return m.MaxMessages - } - return 0 -} - -// Response for the `Pull` method. -type PullResponse struct { - // 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:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f602d910f9a348fe, []int{26} -} - -func (m *PullResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PullResponse.Unmarshal(m, b) -} -func (m *PullResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PullResponse.Marshal(b, m, deterministic) -} -func (m *PullResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PullResponse.Merge(m, src) -} -func (m *PullResponse) XXX_Size() int { - return xxx_messageInfo_PullResponse.Size(m) -} -func (m *PullResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PullResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_PullResponse proto.InternalMessageInfo - -func (m *PullResponse) GetReceivedMessages() []*ReceivedMessage { - if m != nil { - return m.ReceivedMessages - } - return nil -} - -// Request for the ModifyAckDeadline method. -type ModifyAckDeadlineRequest struct { - // The name of the subscription. - // Format is `projects/{project}/subscriptions/{sub}`. - Subscription string `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"` - // List of acknowledgment IDs. - AckIds []string `protobuf:"bytes,4,rep,name=ack_ids,json=ackIds,proto3" json:"ack_ids,omitempty"` - // The new ack deadline with respect to the time this request was sent to - // the Pub/Sub system. For example, if the value is 10, the new - // ack deadline will expire 10 seconds after the `ModifyAckDeadline` call - // was made. Specifying zero might immediately make the message available for - // delivery to another subscriber client. This typically results in an - // increase in the rate of message redeliveries (that is, duplicates). - // The minimum deadline you can specify is 0 seconds. - // The maximum deadline you can specify is 600 seconds (10 minutes). - AckDeadlineSeconds int32 `protobuf:"varint,3,opt,name=ack_deadline_seconds,json=ackDeadlineSeconds,proto3" json:"ack_deadline_seconds,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ModifyAckDeadlineRequest) Reset() { *m = ModifyAckDeadlineRequest{} } -func (m *ModifyAckDeadlineRequest) String() string { return proto.CompactTextString(m) } -func (*ModifyAckDeadlineRequest) ProtoMessage() {} -func (*ModifyAckDeadlineRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f602d910f9a348fe, []int{27} -} - -func (m *ModifyAckDeadlineRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ModifyAckDeadlineRequest.Unmarshal(m, b) -} -func (m *ModifyAckDeadlineRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ModifyAckDeadlineRequest.Marshal(b, m, deterministic) -} -func (m *ModifyAckDeadlineRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ModifyAckDeadlineRequest.Merge(m, src) -} -func (m *ModifyAckDeadlineRequest) XXX_Size() int { - return xxx_messageInfo_ModifyAckDeadlineRequest.Size(m) -} -func (m *ModifyAckDeadlineRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ModifyAckDeadlineRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ModifyAckDeadlineRequest proto.InternalMessageInfo - -func (m *ModifyAckDeadlineRequest) GetSubscription() string { - if m != nil { - return m.Subscription - } - return "" -} - -func (m *ModifyAckDeadlineRequest) GetAckIds() []string { - if m != nil { - return m.AckIds - } - return nil -} - -func (m *ModifyAckDeadlineRequest) GetAckDeadlineSeconds() int32 { - if m != nil { - return m.AckDeadlineSeconds - } - return 0 -} - -// Request for the Acknowledge method. -type AcknowledgeRequest struct { - // The subscription whose message is being acknowledged. - // Format is `projects/{project}/subscriptions/{sub}`. - Subscription string `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"` - // The acknowledgment ID for the messages being acknowledged that was returned - // by the Pub/Sub system in the `Pull` response. Must not be empty. - AckIds []string `protobuf:"bytes,2,rep,name=ack_ids,json=ackIds,proto3" json:"ack_ids,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f602d910f9a348fe, []int{28} -} - -func (m *AcknowledgeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AcknowledgeRequest.Unmarshal(m, b) -} -func (m *AcknowledgeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AcknowledgeRequest.Marshal(b, m, deterministic) -} -func (m *AcknowledgeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AcknowledgeRequest.Merge(m, src) -} -func (m *AcknowledgeRequest) XXX_Size() int { - return xxx_messageInfo_AcknowledgeRequest.Size(m) -} -func (m *AcknowledgeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AcknowledgeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AcknowledgeRequest proto.InternalMessageInfo - -func (m *AcknowledgeRequest) GetSubscription() string { - if m != nil { - return m.Subscription - } - return "" -} - -func (m *AcknowledgeRequest) GetAckIds() []string { - if m != nil { - return m.AckIds - } - return nil -} - -// Request for the `StreamingPull` streaming RPC method. This request is used to -// establish the initial stream as well as to stream acknowledgements and ack -// deadline modifications from the client to the server. -type StreamingPullRequest struct { - // The subscription for which to initialize the new stream. This must be - // provided in the first request on the stream, and must not be set in - // subsequent requests from client to server. - // Format is `projects/{project}/subscriptions/{sub}`. - Subscription string `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"` - // List of acknowledgement IDs for acknowledging previously received messages - // (received on this stream or a different stream). If an ack ID has expired, - // the corresponding message may be redelivered later. Acknowledging a message - // more than once will not result in an error. If the acknowledgement ID is - // malformed, the stream will be aborted with status `INVALID_ARGUMENT`. - AckIds []string `protobuf:"bytes,2,rep,name=ack_ids,json=ackIds,proto3" json:"ack_ids,omitempty"` - // The list of new ack deadlines for the IDs listed in - // `modify_deadline_ack_ids`. The size of this list must be the same as the - // size of `modify_deadline_ack_ids`. If it differs the stream will be aborted - // with `INVALID_ARGUMENT`. Each element in this list is applied to the - // element in the same position in `modify_deadline_ack_ids`. The new ack - // deadline is with respect to the time this request was sent to the Pub/Sub - // system. Must be >= 0. For example, if the value is 10, the new ack deadline - // will expire 10 seconds after this request is received. If the value is 0, - // the message is immediately made available for another streaming or - // non-streaming pull request. If the value is < 0 (an error), the stream will - // be aborted with status `INVALID_ARGUMENT`. - ModifyDeadlineSeconds []int32 `protobuf:"varint,3,rep,packed,name=modify_deadline_seconds,json=modifyDeadlineSeconds,proto3" json:"modify_deadline_seconds,omitempty"` - // List of acknowledgement IDs whose deadline will be modified based on the - // corresponding element in `modify_deadline_seconds`. This field can be used - // to indicate that more time is needed to process a message by the - // subscriber, or to make the message available for redelivery if the - // processing was interrupted. - ModifyDeadlineAckIds []string `protobuf:"bytes,4,rep,name=modify_deadline_ack_ids,json=modifyDeadlineAckIds,proto3" json:"modify_deadline_ack_ids,omitempty"` - // The ack deadline to use for the stream. This must be provided in the - // first request on the stream, but it can also be updated on subsequent - // requests from client to server. The minimum deadline you can specify is 10 - // seconds. The maximum deadline you can specify is 600 seconds (10 minutes). - StreamAckDeadlineSeconds int32 `protobuf:"varint,5,opt,name=stream_ack_deadline_seconds,json=streamAckDeadlineSeconds,proto3" json:"stream_ack_deadline_seconds,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f602d910f9a348fe, []int{29} -} - -func (m *StreamingPullRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingPullRequest.Unmarshal(m, b) -} -func (m *StreamingPullRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingPullRequest.Marshal(b, m, deterministic) -} -func (m *StreamingPullRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingPullRequest.Merge(m, src) -} -func (m *StreamingPullRequest) XXX_Size() int { - return xxx_messageInfo_StreamingPullRequest.Size(m) -} -func (m *StreamingPullRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingPullRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingPullRequest proto.InternalMessageInfo - -func (m *StreamingPullRequest) GetSubscription() string { - if m != nil { - return m.Subscription - } - return "" -} - -func (m *StreamingPullRequest) GetAckIds() []string { - if m != nil { - return m.AckIds - } - return nil -} - -func (m *StreamingPullRequest) GetModifyDeadlineSeconds() []int32 { - if m != nil { - return m.ModifyDeadlineSeconds - } - return nil -} - -func (m *StreamingPullRequest) GetModifyDeadlineAckIds() []string { - if m != nil { - return m.ModifyDeadlineAckIds - } - return nil -} - -func (m *StreamingPullRequest) GetStreamAckDeadlineSeconds() int32 { - if m != nil { - return m.StreamAckDeadlineSeconds - } - return 0 -} - -// Response for the `StreamingPull` method. This response is used to stream -// messages from the server to the client. -type StreamingPullResponse struct { - // Received Pub/Sub messages. This will not be empty. - ReceivedMessages []*ReceivedMessage `protobuf:"bytes,1,rep,name=received_messages,json=receivedMessages,proto3" json:"received_messages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f602d910f9a348fe, []int{30} -} - -func (m *StreamingPullResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingPullResponse.Unmarshal(m, b) -} -func (m *StreamingPullResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingPullResponse.Marshal(b, m, deterministic) -} -func (m *StreamingPullResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingPullResponse.Merge(m, src) -} -func (m *StreamingPullResponse) XXX_Size() int { - return xxx_messageInfo_StreamingPullResponse.Size(m) -} -func (m *StreamingPullResponse) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingPullResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingPullResponse proto.InternalMessageInfo - -func (m *StreamingPullResponse) GetReceivedMessages() []*ReceivedMessage { - if m != nil { - return m.ReceivedMessages - } - return nil -} - -// Request for the `CreateSnapshot` method. -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. 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. - // Specifically, the created snapshot is guaranteed to retain: - // (a) The existing backlog on the subscription. More precisely, this is - // defined as the messages in the subscription's backlog that are - // unacknowledged upon the successful completion of the - // `CreateSnapshot` request; as well as: - // (b) Any messages published to the subscription's topic following the - // successful completion of the CreateSnapshot request. - // Format is `projects/{project}/subscriptions/{sub}`. - Subscription string `protobuf:"bytes,2,opt,name=subscription,proto3" json:"subscription,omitempty"` - // 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:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f602d910f9a348fe, []int{31} -} - -func (m *CreateSnapshotRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateSnapshotRequest.Unmarshal(m, b) -} -func (m *CreateSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateSnapshotRequest.Marshal(b, m, deterministic) -} -func (m *CreateSnapshotRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateSnapshotRequest.Merge(m, src) -} -func (m *CreateSnapshotRequest) XXX_Size() int { - return xxx_messageInfo_CreateSnapshotRequest.Size(m) -} -func (m *CreateSnapshotRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateSnapshotRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateSnapshotRequest proto.InternalMessageInfo - -func (m *CreateSnapshotRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *CreateSnapshotRequest) GetSubscription() string { - if m != nil { - return m.Subscription - } - return "" -} - -func (m *CreateSnapshotRequest) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -// Request for the UpdateSnapshot method. -type UpdateSnapshotRequest struct { - // The updated snapshot object. - Snapshot *Snapshot `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"` - // Indicates which fields in the provided snapshot to update. - // Must be specified and non-empty. - 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 *UpdateSnapshotRequest) Reset() { *m = UpdateSnapshotRequest{} } -func (m *UpdateSnapshotRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateSnapshotRequest) ProtoMessage() {} -func (*UpdateSnapshotRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f602d910f9a348fe, []int{32} -} - -func (m *UpdateSnapshotRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateSnapshotRequest.Unmarshal(m, b) -} -func (m *UpdateSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateSnapshotRequest.Marshal(b, m, deterministic) -} -func (m *UpdateSnapshotRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateSnapshotRequest.Merge(m, src) -} -func (m *UpdateSnapshotRequest) XXX_Size() int { - return xxx_messageInfo_UpdateSnapshotRequest.Size(m) -} -func (m *UpdateSnapshotRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateSnapshotRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateSnapshotRequest proto.InternalMessageInfo - -func (m *UpdateSnapshotRequest) GetSnapshot() *Snapshot { - if m != nil { - return m.Snapshot - } - return nil -} - -func (m *UpdateSnapshotRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// A snapshot resource. Snapshots are used in -// Seek -// operations, which allow -// you to manage message acknowledgments in bulk. That is, you can set the -// acknowledgment state of messages in an existing subscription to the state -// captured by a snapshot. -type Snapshot struct { - // The name of the snapshot. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The name of the topic from which this snapshot is retaining messages. - Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"` - // The snapshot is guaranteed to exist up until this time. - // A newly-created snapshot expires no later than 7 days from the time of its - // creation. Its exact lifetime is determined at creation by the existing - // backlog in the source subscription. Specifically, the lifetime of the - // snapshot is `7 days - (age of oldest unacked message in the subscription)`. - // For example, consider a subscription whose oldest unacked message is 3 days - // old. If a snapshot is created from this subscription, the snapshot -- which - // will always capture this 3-day-old backlog as long as the snapshot - // 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"` - // 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:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f602d910f9a348fe, []int{33} -} - -func (m *Snapshot) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Snapshot.Unmarshal(m, b) -} -func (m *Snapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Snapshot.Marshal(b, m, deterministic) -} -func (m *Snapshot) XXX_Merge(src proto.Message) { - xxx_messageInfo_Snapshot.Merge(m, src) -} -func (m *Snapshot) XXX_Size() int { - return xxx_messageInfo_Snapshot.Size(m) -} -func (m *Snapshot) XXX_DiscardUnknown() { - xxx_messageInfo_Snapshot.DiscardUnknown(m) -} - -var xxx_messageInfo_Snapshot proto.InternalMessageInfo - -func (m *Snapshot) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Snapshot) GetTopic() string { - if m != nil { - return m.Topic - } - return "" -} - -func (m *Snapshot) GetExpireTime() *timestamp.Timestamp { - if m != nil { - return m.ExpireTime - } - return nil -} - -func (m *Snapshot) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -// Request for the GetSnapshot method. -type GetSnapshotRequest struct { - // The name of the snapshot to get. - // Format is `projects/{project}/snapshots/{snap}`. - Snapshot string `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f602d910f9a348fe, []int{34} -} - -func (m *GetSnapshotRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetSnapshotRequest.Unmarshal(m, b) -} -func (m *GetSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetSnapshotRequest.Marshal(b, m, deterministic) -} -func (m *GetSnapshotRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetSnapshotRequest.Merge(m, src) -} -func (m *GetSnapshotRequest) XXX_Size() int { - return xxx_messageInfo_GetSnapshotRequest.Size(m) -} -func (m *GetSnapshotRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetSnapshotRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetSnapshotRequest proto.InternalMessageInfo - -func (m *GetSnapshotRequest) GetSnapshot() string { - if m != nil { - return m.Snapshot - } - return "" -} - -// Request for the `ListSnapshots` method. -type ListSnapshotsRequest struct { - // 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"` - // The value returned by the last `ListSnapshotsResponse`; indicates that this - // is a continuation of a prior `ListSnapshots` call, and that 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:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f602d910f9a348fe, []int{35} -} - -func (m *ListSnapshotsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListSnapshotsRequest.Unmarshal(m, b) -} -func (m *ListSnapshotsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListSnapshotsRequest.Marshal(b, m, deterministic) -} -func (m *ListSnapshotsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSnapshotsRequest.Merge(m, src) -} -func (m *ListSnapshotsRequest) XXX_Size() int { - return xxx_messageInfo_ListSnapshotsRequest.Size(m) -} -func (m *ListSnapshotsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListSnapshotsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListSnapshotsRequest proto.InternalMessageInfo - -func (m *ListSnapshotsRequest) GetProject() string { - if m != nil { - return m.Project - } - return "" -} - -func (m *ListSnapshotsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListSnapshotsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response for the `ListSnapshots` method. -type ListSnapshotsResponse struct { - // The resulting snapshots. - Snapshots []*Snapshot `protobuf:"bytes,1,rep,name=snapshots,proto3" json:"snapshots,omitempty"` - // If not empty, indicates that there may be more snapshot that match the - // request; this value should be passed in a new `ListSnapshotsRequest`. - 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 *ListSnapshotsResponse) Reset() { *m = ListSnapshotsResponse{} } -func (m *ListSnapshotsResponse) String() string { return proto.CompactTextString(m) } -func (*ListSnapshotsResponse) ProtoMessage() {} -func (*ListSnapshotsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f602d910f9a348fe, []int{36} -} - -func (m *ListSnapshotsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListSnapshotsResponse.Unmarshal(m, b) -} -func (m *ListSnapshotsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListSnapshotsResponse.Marshal(b, m, deterministic) -} -func (m *ListSnapshotsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSnapshotsResponse.Merge(m, src) -} -func (m *ListSnapshotsResponse) XXX_Size() int { - return xxx_messageInfo_ListSnapshotsResponse.Size(m) -} -func (m *ListSnapshotsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListSnapshotsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListSnapshotsResponse proto.InternalMessageInfo - -func (m *ListSnapshotsResponse) GetSnapshots() []*Snapshot { - if m != nil { - return m.Snapshots - } - return nil -} - -func (m *ListSnapshotsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request for the `DeleteSnapshot` method. -type DeleteSnapshotRequest struct { - // The name of the snapshot to delete. - // Format is `projects/{project}/snapshots/{snap}`. - Snapshot string `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f602d910f9a348fe, []int{37} -} - -func (m *DeleteSnapshotRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteSnapshotRequest.Unmarshal(m, b) -} -func (m *DeleteSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteSnapshotRequest.Marshal(b, m, deterministic) -} -func (m *DeleteSnapshotRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteSnapshotRequest.Merge(m, src) -} -func (m *DeleteSnapshotRequest) XXX_Size() int { - return xxx_messageInfo_DeleteSnapshotRequest.Size(m) -} -func (m *DeleteSnapshotRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteSnapshotRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteSnapshotRequest proto.InternalMessageInfo - -func (m *DeleteSnapshotRequest) GetSnapshot() string { - if m != nil { - return m.Snapshot - } - return "" -} - -// Request for the `Seek` method. -type SeekRequest struct { - // The subscription to affect. - Subscription string `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"` - // Types that are valid to be assigned to Target: - // *SeekRequest_Time - // *SeekRequest_Snapshot - Target isSeekRequest_Target `protobuf_oneof:"target"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f602d910f9a348fe, []int{38} -} - -func (m *SeekRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SeekRequest.Unmarshal(m, b) -} -func (m *SeekRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SeekRequest.Marshal(b, m, deterministic) -} -func (m *SeekRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SeekRequest.Merge(m, src) -} -func (m *SeekRequest) XXX_Size() int { - return xxx_messageInfo_SeekRequest.Size(m) -} -func (m *SeekRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SeekRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SeekRequest proto.InternalMessageInfo - -func (m *SeekRequest) GetSubscription() string { - if m != nil { - return m.Subscription - } - return "" -} - -type isSeekRequest_Target interface { - isSeekRequest_Target() -} - -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_Snapshot) isSeekRequest_Target() {} - -func (m *SeekRequest) GetTarget() isSeekRequest_Target { - if m != nil { - return m.Target - } - return nil -} - -func (m *SeekRequest) GetTime() *timestamp.Timestamp { - if x, ok := m.GetTarget().(*SeekRequest_Time); ok { - return x.Time - } - return nil -} - -func (m *SeekRequest) GetSnapshot() string { - if x, ok := m.GetTarget().(*SeekRequest_Snapshot); ok { - return x.Snapshot - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*SeekRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*SeekRequest_Time)(nil), - (*SeekRequest_Snapshot)(nil), - } -} - -// Response for the `Seek` method (this response is empty). -type SeekResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f602d910f9a348fe, []int{39} -} - -func (m *SeekResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SeekResponse.Unmarshal(m, b) -} -func (m *SeekResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SeekResponse.Marshal(b, m, deterministic) -} -func (m *SeekResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SeekResponse.Merge(m, src) -} -func (m *SeekResponse) XXX_Size() int { - return xxx_messageInfo_SeekResponse.Size(m) -} -func (m *SeekResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SeekResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SeekResponse proto.InternalMessageInfo - -func init() { - proto.RegisterType((*MessageStoragePolicy)(nil), "google.pubsub.v1.MessageStoragePolicy") - proto.RegisterType((*Topic)(nil), "google.pubsub.v1.Topic") - proto.RegisterMapType((map[string]string)(nil), "google.pubsub.v1.Topic.LabelsEntry") - proto.RegisterType((*PubsubMessage)(nil), "google.pubsub.v1.PubsubMessage") - proto.RegisterMapType((map[string]string)(nil), "google.pubsub.v1.PubsubMessage.AttributesEntry") - proto.RegisterType((*GetTopicRequest)(nil), "google.pubsub.v1.GetTopicRequest") - proto.RegisterType((*UpdateTopicRequest)(nil), "google.pubsub.v1.UpdateTopicRequest") - proto.RegisterType((*PublishRequest)(nil), "google.pubsub.v1.PublishRequest") - proto.RegisterType((*PublishResponse)(nil), "google.pubsub.v1.PublishResponse") - proto.RegisterType((*ListTopicsRequest)(nil), "google.pubsub.v1.ListTopicsRequest") - proto.RegisterType((*ListTopicsResponse)(nil), "google.pubsub.v1.ListTopicsResponse") - proto.RegisterType((*ListTopicSubscriptionsRequest)(nil), "google.pubsub.v1.ListTopicSubscriptionsRequest") - proto.RegisterType((*ListTopicSubscriptionsResponse)(nil), "google.pubsub.v1.ListTopicSubscriptionsResponse") - proto.RegisterType((*ListTopicSnapshotsRequest)(nil), "google.pubsub.v1.ListTopicSnapshotsRequest") - proto.RegisterType((*ListTopicSnapshotsResponse)(nil), "google.pubsub.v1.ListTopicSnapshotsResponse") - 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((*DeadLetterPolicy)(nil), "google.pubsub.v1.DeadLetterPolicy") - 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((*PushConfig_OidcToken)(nil), "google.pubsub.v1.PushConfig.OidcToken") - proto.RegisterType((*ReceivedMessage)(nil), "google.pubsub.v1.ReceivedMessage") - proto.RegisterType((*GetSubscriptionRequest)(nil), "google.pubsub.v1.GetSubscriptionRequest") - proto.RegisterType((*UpdateSubscriptionRequest)(nil), "google.pubsub.v1.UpdateSubscriptionRequest") - proto.RegisterType((*ListSubscriptionsRequest)(nil), "google.pubsub.v1.ListSubscriptionsRequest") - proto.RegisterType((*ListSubscriptionsResponse)(nil), "google.pubsub.v1.ListSubscriptionsResponse") - proto.RegisterType((*DeleteSubscriptionRequest)(nil), "google.pubsub.v1.DeleteSubscriptionRequest") - proto.RegisterType((*ModifyPushConfigRequest)(nil), "google.pubsub.v1.ModifyPushConfigRequest") - proto.RegisterType((*PullRequest)(nil), "google.pubsub.v1.PullRequest") - proto.RegisterType((*PullResponse)(nil), "google.pubsub.v1.PullResponse") - proto.RegisterType((*ModifyAckDeadlineRequest)(nil), "google.pubsub.v1.ModifyAckDeadlineRequest") - proto.RegisterType((*AcknowledgeRequest)(nil), "google.pubsub.v1.AcknowledgeRequest") - proto.RegisterType((*StreamingPullRequest)(nil), "google.pubsub.v1.StreamingPullRequest") - proto.RegisterType((*StreamingPullResponse)(nil), "google.pubsub.v1.StreamingPullResponse") - proto.RegisterType((*CreateSnapshotRequest)(nil), "google.pubsub.v1.CreateSnapshotRequest") - proto.RegisterMapType((map[string]string)(nil), "google.pubsub.v1.CreateSnapshotRequest.LabelsEntry") - proto.RegisterType((*UpdateSnapshotRequest)(nil), "google.pubsub.v1.UpdateSnapshotRequest") - proto.RegisterType((*Snapshot)(nil), "google.pubsub.v1.Snapshot") - proto.RegisterMapType((map[string]string)(nil), "google.pubsub.v1.Snapshot.LabelsEntry") - proto.RegisterType((*GetSnapshotRequest)(nil), "google.pubsub.v1.GetSnapshotRequest") - proto.RegisterType((*ListSnapshotsRequest)(nil), "google.pubsub.v1.ListSnapshotsRequest") - proto.RegisterType((*ListSnapshotsResponse)(nil), "google.pubsub.v1.ListSnapshotsResponse") - proto.RegisterType((*DeleteSnapshotRequest)(nil), "google.pubsub.v1.DeleteSnapshotRequest") - proto.RegisterType((*SeekRequest)(nil), "google.pubsub.v1.SeekRequest") - proto.RegisterType((*SeekResponse)(nil), "google.pubsub.v1.SeekResponse") -} - -func init() { proto.RegisterFile("google/pubsub/v1/pubsub.proto", fileDescriptor_f602d910f9a348fe) } - -var fileDescriptor_f602d910f9a348fe = []byte{ - // 2570 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x5a, 0x4b, 0x73, 0x1b, 0x59, - 0xf5, 0x4f, 0xcb, 0x8f, 0x58, 0x47, 0x76, 0x6c, 0xdf, 0xb1, 0x62, 0xb9, 0xf3, 0x72, 0x3a, 0xf9, - 0xc7, 0x8e, 0x92, 0x48, 0xb6, 0x52, 0x93, 0xff, 0xc4, 0xc1, 0x49, 0xd9, 0x71, 0x48, 0x42, 0x92, - 0x89, 0x91, 0x33, 0xa1, 0x0a, 0x52, 0xa8, 0x5a, 0xdd, 0xd7, 0x72, 0x8f, 0xfa, 0x35, 0xdd, 0x2d, - 0x27, 0x1a, 0x08, 0x15, 0x66, 0x28, 0xaa, 0x28, 0x52, 0xd4, 0xc0, 0x6c, 0x67, 0x41, 0xc1, 0x8e, - 0x05, 0x55, 0x50, 0x7c, 0x8a, 0x59, 0xc2, 0x82, 0x2f, 0xc0, 0x0a, 0xf8, 0x00, 0x6c, 0xa8, 0xa2, - 0xee, 0xa3, 0x5b, 0xdd, 0xad, 0x2b, 0xc9, 0xb2, 0x09, 0x3b, 0xf5, 0x3d, 0xe7, 0xde, 0xf3, 0x3b, - 0xcf, 0x7b, 0xce, 0xb5, 0xe1, 0x4c, 0xc3, 0x71, 0x1a, 0x26, 0x2e, 0xbb, 0xad, 0xba, 0xdf, 0xaa, - 0x97, 0xf7, 0x57, 0xf9, 0xaf, 0x92, 0xeb, 0x39, 0x81, 0x83, 0x66, 0x18, 0xb9, 0xc4, 0x17, 0xf7, - 0x57, 0xe5, 0xd3, 0x7c, 0x83, 0xea, 0x1a, 0x65, 0xd5, 0xb6, 0x9d, 0x40, 0x0d, 0x0c, 0xc7, 0xf6, - 0x19, 0xbf, 0x3c, 0x1f, 0xa3, 0x6a, 0xa6, 0x81, 0xed, 0x80, 0x13, 0xce, 0x86, 0x72, 0xc8, 0x57, - 0xbd, 0x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 0x52, 0xd6, - 0xd6, 0x18, 0x69, 0x6d, 0xed, 0xf9, 0x6a, 0x7d, 0x9c, 0xca, 0xbc, 0xfe, 0x9f, 0x00, 0x00, 0x00, - 0xff, 0xff, 0x84, 0x65, 0xaa, 0x58, 0xd4, 0x25, 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 - -// PublisherClient is the client API for Publisher service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type PublisherClient interface { - // Creates the given topic with the given name. See the - // - // resource name rules. - CreateTopic(ctx context.Context, in *Topic, opts ...grpc.CallOption) (*Topic, error) - // Updates an existing topic. Note that certain properties of a - // 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. - 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) - // Lists matching topics. - ListTopics(ctx context.Context, in *ListTopicsRequest, opts ...grpc.CallOption) (*ListTopicsResponse, error) - // Lists the names of the subscriptions on this topic. - ListTopicSubscriptions(ctx context.Context, in *ListTopicSubscriptionsRequest, opts ...grpc.CallOption) (*ListTopicSubscriptionsResponse, error) - // Lists the names of the snapshots on this topic. Snapshots are used in - // Seek - // operations, which allow - // you to manage message acknowledgments in bulk. That is, you can set the - // acknowledgment state of messages in an existing subscription to the state - // captured by a snapshot. - ListTopicSnapshots(ctx context.Context, in *ListTopicSnapshotsRequest, opts ...grpc.CallOption) (*ListTopicSnapshotsResponse, error) - // Deletes the topic with the given name. Returns `NOT_FOUND` if the topic - // does not exist. After a topic is deleted, a new topic may be created with - // the same name; this is an entirely new topic with none of the old - // configuration or subscriptions. Existing subscriptions to this topic are - // not deleted, but their `topic` field is set to `_deleted-topic_`. - DeleteTopic(ctx context.Context, in *DeleteTopicRequest, opts ...grpc.CallOption) (*empty.Empty, error) -} - -type publisherClient struct { - cc *grpc.ClientConn -} - -func NewPublisherClient(cc *grpc.ClientConn) PublisherClient { - return &publisherClient{cc} -} - -func (c *publisherClient) CreateTopic(ctx context.Context, in *Topic, opts ...grpc.CallOption) (*Topic, error) { - out := new(Topic) - err := c.cc.Invoke(ctx, "/google.pubsub.v1.Publisher/CreateTopic", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *publisherClient) UpdateTopic(ctx context.Context, in *UpdateTopicRequest, opts ...grpc.CallOption) (*Topic, error) { - out := new(Topic) - err := c.cc.Invoke(ctx, "/google.pubsub.v1.Publisher/UpdateTopic", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *publisherClient) Publish(ctx context.Context, in *PublishRequest, opts ...grpc.CallOption) (*PublishResponse, error) { - out := new(PublishResponse) - err := c.cc.Invoke(ctx, "/google.pubsub.v1.Publisher/Publish", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *publisherClient) GetTopic(ctx context.Context, in *GetTopicRequest, opts ...grpc.CallOption) (*Topic, error) { - out := new(Topic) - err := c.cc.Invoke(ctx, "/google.pubsub.v1.Publisher/GetTopic", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *publisherClient) ListTopics(ctx context.Context, in *ListTopicsRequest, opts ...grpc.CallOption) (*ListTopicsResponse, error) { - out := new(ListTopicsResponse) - err := c.cc.Invoke(ctx, "/google.pubsub.v1.Publisher/ListTopics", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *publisherClient) ListTopicSubscriptions(ctx context.Context, in *ListTopicSubscriptionsRequest, opts ...grpc.CallOption) (*ListTopicSubscriptionsResponse, error) { - out := new(ListTopicSubscriptionsResponse) - err := c.cc.Invoke(ctx, "/google.pubsub.v1.Publisher/ListTopicSubscriptions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *publisherClient) ListTopicSnapshots(ctx context.Context, in *ListTopicSnapshotsRequest, opts ...grpc.CallOption) (*ListTopicSnapshotsResponse, error) { - out := new(ListTopicSnapshotsResponse) - err := c.cc.Invoke(ctx, "/google.pubsub.v1.Publisher/ListTopicSnapshots", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *publisherClient) DeleteTopic(ctx context.Context, in *DeleteTopicRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.pubsub.v1.Publisher/DeleteTopic", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// PublisherServer is the server API for Publisher service. -type PublisherServer interface { - // Creates the given topic with the given name. See the - // - // resource name rules. - CreateTopic(context.Context, *Topic) (*Topic, error) - // Updates an existing topic. Note that certain properties of a - // 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. - Publish(context.Context, *PublishRequest) (*PublishResponse, error) - // Gets the configuration of a topic. - GetTopic(context.Context, *GetTopicRequest) (*Topic, error) - // Lists matching topics. - ListTopics(context.Context, *ListTopicsRequest) (*ListTopicsResponse, error) - // Lists the names of the subscriptions on this topic. - ListTopicSubscriptions(context.Context, *ListTopicSubscriptionsRequest) (*ListTopicSubscriptionsResponse, error) - // Lists the names of the snapshots on this topic. Snapshots are used in - // Seek - // operations, which allow - // you to manage message acknowledgments in bulk. That is, you can set the - // acknowledgment state of messages in an existing subscription to the state - // captured by a snapshot. - ListTopicSnapshots(context.Context, *ListTopicSnapshotsRequest) (*ListTopicSnapshotsResponse, error) - // Deletes the topic with the given name. Returns `NOT_FOUND` if the topic - // does not exist. After a topic is deleted, a new topic may be created with - // the same name; this is an entirely new topic with none of the old - // configuration or subscriptions. Existing subscriptions to this topic are - // not deleted, but their `topic` field is set to `_deleted-topic_`. - DeleteTopic(context.Context, *DeleteTopicRequest) (*empty.Empty, error) -} - -// UnimplementedPublisherServer can be embedded to have forward compatible implementations. -type UnimplementedPublisherServer struct { -} - -func (*UnimplementedPublisherServer) CreateTopic(ctx context.Context, req *Topic) (*Topic, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateTopic not implemented") -} -func (*UnimplementedPublisherServer) UpdateTopic(ctx context.Context, req *UpdateTopicRequest) (*Topic, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateTopic not implemented") -} -func (*UnimplementedPublisherServer) Publish(ctx context.Context, req *PublishRequest) (*PublishResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Publish not implemented") -} -func (*UnimplementedPublisherServer) GetTopic(ctx context.Context, req *GetTopicRequest) (*Topic, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTopic not implemented") -} -func (*UnimplementedPublisherServer) ListTopics(ctx context.Context, req *ListTopicsRequest) (*ListTopicsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListTopics not implemented") -} -func (*UnimplementedPublisherServer) ListTopicSubscriptions(ctx context.Context, req *ListTopicSubscriptionsRequest) (*ListTopicSubscriptionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListTopicSubscriptions not implemented") -} -func (*UnimplementedPublisherServer) ListTopicSnapshots(ctx context.Context, req *ListTopicSnapshotsRequest) (*ListTopicSnapshotsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListTopicSnapshots not implemented") -} -func (*UnimplementedPublisherServer) DeleteTopic(ctx context.Context, req *DeleteTopicRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteTopic not implemented") -} - -func RegisterPublisherServer(s *grpc.Server, srv PublisherServer) { - s.RegisterService(&_Publisher_serviceDesc, srv) -} - -func _Publisher_CreateTopic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Topic) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PublisherServer).CreateTopic(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1.Publisher/CreateTopic", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PublisherServer).CreateTopic(ctx, req.(*Topic)) - } - return interceptor(ctx, in, info, handler) -} - -func _Publisher_UpdateTopic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateTopicRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PublisherServer).UpdateTopic(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1.Publisher/UpdateTopic", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PublisherServer).UpdateTopic(ctx, req.(*UpdateTopicRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Publisher_Publish_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PublishRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PublisherServer).Publish(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1.Publisher/Publish", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PublisherServer).Publish(ctx, req.(*PublishRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Publisher_GetTopic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTopicRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PublisherServer).GetTopic(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1.Publisher/GetTopic", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PublisherServer).GetTopic(ctx, req.(*GetTopicRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Publisher_ListTopics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListTopicsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PublisherServer).ListTopics(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1.Publisher/ListTopics", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PublisherServer).ListTopics(ctx, req.(*ListTopicsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Publisher_ListTopicSubscriptions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListTopicSubscriptionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PublisherServer).ListTopicSubscriptions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1.Publisher/ListTopicSubscriptions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PublisherServer).ListTopicSubscriptions(ctx, req.(*ListTopicSubscriptionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Publisher_ListTopicSnapshots_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListTopicSnapshotsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PublisherServer).ListTopicSnapshots(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1.Publisher/ListTopicSnapshots", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PublisherServer).ListTopicSnapshots(ctx, req.(*ListTopicSnapshotsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Publisher_DeleteTopic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteTopicRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PublisherServer).DeleteTopic(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1.Publisher/DeleteTopic", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PublisherServer).DeleteTopic(ctx, req.(*DeleteTopicRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Publisher_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.pubsub.v1.Publisher", - HandlerType: (*PublisherServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateTopic", - Handler: _Publisher_CreateTopic_Handler, - }, - { - MethodName: "UpdateTopic", - Handler: _Publisher_UpdateTopic_Handler, - }, - { - MethodName: "Publish", - Handler: _Publisher_Publish_Handler, - }, - { - MethodName: "GetTopic", - Handler: _Publisher_GetTopic_Handler, - }, - { - MethodName: "ListTopics", - Handler: _Publisher_ListTopics_Handler, - }, - { - MethodName: "ListTopicSubscriptions", - Handler: _Publisher_ListTopicSubscriptions_Handler, - }, - { - MethodName: "ListTopicSnapshots", - Handler: _Publisher_ListTopicSnapshots_Handler, - }, - { - MethodName: "DeleteTopic", - Handler: _Publisher_DeleteTopic_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/pubsub/v1/pubsub.proto", -} - -// SubscriberClient is the client API for Subscriber service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type SubscriberClient interface { - // Creates a subscription to a given topic. See the - // - // resource name rules. - // If the subscription already exists, returns `ALREADY_EXISTS`. - // If the corresponding topic doesn't exist, returns `NOT_FOUND`. - // - // If the name is not provided in the request, the server will assign a random - // name for this subscription on the same project as the topic, conforming - // to the - // [resource name - // format](https://cloud.google.com/pubsub/docs/admin#resource_names). The - // generated name is populated in the returned Subscription object. Note that - // for REST API requests, you must specify a name in the request. - CreateSubscription(ctx context.Context, in *Subscription, opts ...grpc.CallOption) (*Subscription, error) - // Gets the configuration details of a subscription. - GetSubscription(ctx context.Context, in *GetSubscriptionRequest, opts ...grpc.CallOption) (*Subscription, error) - // Updates an existing subscription. Note that certain properties of a - // subscription, such as its topic, are not modifiable. - UpdateSubscription(ctx context.Context, in *UpdateSubscriptionRequest, opts ...grpc.CallOption) (*Subscription, error) - // Lists matching subscriptions. - ListSubscriptions(ctx context.Context, in *ListSubscriptionsRequest, opts ...grpc.CallOption) (*ListSubscriptionsResponse, error) - // Deletes an existing subscription. All messages retained in the subscription - // are immediately dropped. Calls to `Pull` after deletion will return - // `NOT_FOUND`. After a subscription is deleted, a new one may be created with - // the same name, but the new one has no association with the old - // subscription or its topic unless the same topic is specified. - DeleteSubscription(ctx context.Context, in *DeleteSubscriptionRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Modifies the ack deadline for a specific message. This method is useful - // to indicate that more time is needed to process a message by the - // subscriber, or to make the message available for redelivery if the - // processing was interrupted. Note that this does not modify the - // subscription-level `ackDeadlineSeconds` used for subsequent messages. - ModifyAckDeadline(ctx context.Context, in *ModifyAckDeadlineRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Acknowledges the messages associated with the `ack_ids` in the - // `AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages - // from the subscription. - // - // Acknowledging a message whose ack deadline has expired may succeed, - // 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. 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) - // Establishes a stream with the server, which sends messages down to the - // client. The client streams acknowledgements and ack deadline modifications - // back to the server. The server will close the stream and return the status - // on any error. The server may close the stream with status `UNAVAILABLE` to - // reassign server-side resources, in which case, the client should - // re-establish the stream. Flow control can be achieved by configuring the - // underlying RPC channel. - StreamingPull(ctx context.Context, opts ...grpc.CallOption) (Subscriber_StreamingPullClient, error) - // Modifies the `PushConfig` for a specified subscription. - // - // This may be used to change a push subscription to a pull one (signified by - // an empty `PushConfig`) or vice versa, or change the endpoint URL and other - // attributes of a push subscription. Messages will accumulate for delivery - // continuously through the call regardless of changes to the `PushConfig`. - ModifyPushConfig(ctx context.Context, in *ModifyPushConfigRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Gets the configuration details of a snapshot. Snapshots are used in - // Seek - // operations, which allow you to manage message acknowledgments in bulk. That - // is, you can set the acknowledgment state of messages in an existing - // subscription to the state captured by a snapshot. - GetSnapshot(ctx context.Context, in *GetSnapshotRequest, opts ...grpc.CallOption) (*Snapshot, error) - // Lists the existing snapshots. Snapshots are used in - // Seek - // operations, which allow - // you to manage message acknowledgments in bulk. That is, you can set the - // acknowledgment state of messages in an existing subscription to the state - // captured by a snapshot. - ListSnapshots(ctx context.Context, in *ListSnapshotsRequest, opts ...grpc.CallOption) (*ListSnapshotsResponse, error) - // Creates a snapshot from the requested subscription. Snapshots are used in - // Seek - // operations, which allow - // you to manage message acknowledgments in bulk. That is, you can set the - // acknowledgment state of messages in an existing subscription to the state - // captured by a snapshot. - //

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 - // would expire in less than 1 hour -- then `FAILED_PRECONDITION` is returned. - // See also the `Snapshot.expire_time` field. 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, conforming - // to the - // [resource name - // format](https://cloud.google.com/pubsub/docs/admin#resource_names). The - // generated name is populated in the returned Snapshot object. Note that for - // REST API requests, you must specify a name in the request. - CreateSnapshot(ctx context.Context, in *CreateSnapshotRequest, opts ...grpc.CallOption) (*Snapshot, error) - // Updates an existing snapshot. Snapshots are used in - // Seek - // operations, which allow - // you to manage message acknowledgments in bulk. That is, you can set the - // acknowledgment state of messages in an existing subscription to the state - // captured by a snapshot. - UpdateSnapshot(ctx context.Context, in *UpdateSnapshotRequest, opts ...grpc.CallOption) (*Snapshot, error) - // Removes an existing snapshot. Snapshots are used in - // Seek - // operations, which allow - // you to manage message acknowledgments in bulk. That is, you can set the - // acknowledgment state of messages in an existing subscription to the state - // captured by a snapshot.

- // When the snapshot is deleted, all messages retained in the snapshot - // are immediately dropped. After a snapshot is deleted, a new one may be - // created with the same name, but the new one has no association with the old - // snapshot or its subscription, unless the same subscription is specified. - DeleteSnapshot(ctx context.Context, in *DeleteSnapshotRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Seeks an existing subscription to a point in time or to a given snapshot, - // whichever is provided in the request. Snapshots are used in - // Seek - // operations, which allow - // you to manage message acknowledgments in bulk. That is, you can set the - // acknowledgment state of messages in an existing subscription to the state - // captured by a snapshot. Note that both the subscription and the snapshot - // must be on the same topic. - Seek(ctx context.Context, in *SeekRequest, opts ...grpc.CallOption) (*SeekResponse, error) -} - -type subscriberClient struct { - cc *grpc.ClientConn -} - -func NewSubscriberClient(cc *grpc.ClientConn) SubscriberClient { - return &subscriberClient{cc} -} - -func (c *subscriberClient) CreateSubscription(ctx context.Context, in *Subscription, opts ...grpc.CallOption) (*Subscription, error) { - out := new(Subscription) - err := c.cc.Invoke(ctx, "/google.pubsub.v1.Subscriber/CreateSubscription", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *subscriberClient) GetSubscription(ctx context.Context, in *GetSubscriptionRequest, opts ...grpc.CallOption) (*Subscription, error) { - out := new(Subscription) - err := c.cc.Invoke(ctx, "/google.pubsub.v1.Subscriber/GetSubscription", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *subscriberClient) UpdateSubscription(ctx context.Context, in *UpdateSubscriptionRequest, opts ...grpc.CallOption) (*Subscription, error) { - out := new(Subscription) - err := c.cc.Invoke(ctx, "/google.pubsub.v1.Subscriber/UpdateSubscription", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *subscriberClient) ListSubscriptions(ctx context.Context, in *ListSubscriptionsRequest, opts ...grpc.CallOption) (*ListSubscriptionsResponse, error) { - out := new(ListSubscriptionsResponse) - err := c.cc.Invoke(ctx, "/google.pubsub.v1.Subscriber/ListSubscriptions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *subscriberClient) DeleteSubscription(ctx context.Context, in *DeleteSubscriptionRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.pubsub.v1.Subscriber/DeleteSubscription", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *subscriberClient) ModifyAckDeadline(ctx context.Context, in *ModifyAckDeadlineRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.pubsub.v1.Subscriber/ModifyAckDeadline", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *subscriberClient) Acknowledge(ctx context.Context, in *AcknowledgeRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.pubsub.v1.Subscriber/Acknowledge", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *subscriberClient) Pull(ctx context.Context, in *PullRequest, opts ...grpc.CallOption) (*PullResponse, error) { - out := new(PullResponse) - err := c.cc.Invoke(ctx, "/google.pubsub.v1.Subscriber/Pull", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *subscriberClient) StreamingPull(ctx context.Context, opts ...grpc.CallOption) (Subscriber_StreamingPullClient, error) { - stream, err := c.cc.NewStream(ctx, &_Subscriber_serviceDesc.Streams[0], "/google.pubsub.v1.Subscriber/StreamingPull", opts...) - if err != nil { - return nil, err - } - x := &subscriberStreamingPullClient{stream} - return x, nil -} - -type Subscriber_StreamingPullClient interface { - Send(*StreamingPullRequest) error - Recv() (*StreamingPullResponse, error) - grpc.ClientStream -} - -type subscriberStreamingPullClient struct { - grpc.ClientStream -} - -func (x *subscriberStreamingPullClient) Send(m *StreamingPullRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *subscriberStreamingPullClient) Recv() (*StreamingPullResponse, error) { - m := new(StreamingPullResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *subscriberClient) ModifyPushConfig(ctx context.Context, in *ModifyPushConfigRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.pubsub.v1.Subscriber/ModifyPushConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *subscriberClient) GetSnapshot(ctx context.Context, in *GetSnapshotRequest, opts ...grpc.CallOption) (*Snapshot, error) { - out := new(Snapshot) - err := c.cc.Invoke(ctx, "/google.pubsub.v1.Subscriber/GetSnapshot", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *subscriberClient) ListSnapshots(ctx context.Context, in *ListSnapshotsRequest, opts ...grpc.CallOption) (*ListSnapshotsResponse, error) { - out := new(ListSnapshotsResponse) - err := c.cc.Invoke(ctx, "/google.pubsub.v1.Subscriber/ListSnapshots", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *subscriberClient) CreateSnapshot(ctx context.Context, in *CreateSnapshotRequest, opts ...grpc.CallOption) (*Snapshot, error) { - out := new(Snapshot) - err := c.cc.Invoke(ctx, "/google.pubsub.v1.Subscriber/CreateSnapshot", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *subscriberClient) UpdateSnapshot(ctx context.Context, in *UpdateSnapshotRequest, opts ...grpc.CallOption) (*Snapshot, error) { - out := new(Snapshot) - err := c.cc.Invoke(ctx, "/google.pubsub.v1.Subscriber/UpdateSnapshot", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *subscriberClient) DeleteSnapshot(ctx context.Context, in *DeleteSnapshotRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.pubsub.v1.Subscriber/DeleteSnapshot", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *subscriberClient) Seek(ctx context.Context, in *SeekRequest, opts ...grpc.CallOption) (*SeekResponse, error) { - out := new(SeekResponse) - err := c.cc.Invoke(ctx, "/google.pubsub.v1.Subscriber/Seek", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// SubscriberServer is the server API for Subscriber service. -type SubscriberServer interface { - // Creates a subscription to a given topic. See the - // - // resource name rules. - // If the subscription already exists, returns `ALREADY_EXISTS`. - // If the corresponding topic doesn't exist, returns `NOT_FOUND`. - // - // If the name is not provided in the request, the server will assign a random - // name for this subscription on the same project as the topic, conforming - // to the - // [resource name - // format](https://cloud.google.com/pubsub/docs/admin#resource_names). The - // generated name is populated in the returned Subscription object. Note that - // for REST API requests, you must specify a name in the request. - CreateSubscription(context.Context, *Subscription) (*Subscription, error) - // Gets the configuration details of a subscription. - GetSubscription(context.Context, *GetSubscriptionRequest) (*Subscription, error) - // Updates an existing subscription. Note that certain properties of a - // subscription, such as its topic, are not modifiable. - UpdateSubscription(context.Context, *UpdateSubscriptionRequest) (*Subscription, error) - // Lists matching subscriptions. - ListSubscriptions(context.Context, *ListSubscriptionsRequest) (*ListSubscriptionsResponse, error) - // Deletes an existing subscription. All messages retained in the subscription - // are immediately dropped. Calls to `Pull` after deletion will return - // `NOT_FOUND`. After a subscription is deleted, a new one may be created with - // the same name, but the new one has no association with the old - // subscription or its topic unless the same topic is specified. - DeleteSubscription(context.Context, *DeleteSubscriptionRequest) (*empty.Empty, error) - // Modifies the ack deadline for a specific message. This method is useful - // to indicate that more time is needed to process a message by the - // subscriber, or to make the message available for redelivery if the - // processing was interrupted. Note that this does not modify the - // subscription-level `ackDeadlineSeconds` used for subsequent messages. - ModifyAckDeadline(context.Context, *ModifyAckDeadlineRequest) (*empty.Empty, error) - // Acknowledges the messages associated with the `ack_ids` in the - // `AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages - // from the subscription. - // - // Acknowledging a message whose ack deadline has expired may succeed, - // 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. The server may return `UNAVAILABLE` if - // there are too many concurrent pull requests pending for the given - // subscription. - Pull(context.Context, *PullRequest) (*PullResponse, error) - // Establishes a stream with the server, which sends messages down to the - // client. The client streams acknowledgements and ack deadline modifications - // back to the server. The server will close the stream and return the status - // on any error. The server may close the stream with status `UNAVAILABLE` to - // reassign server-side resources, in which case, the client should - // re-establish the stream. Flow control can be achieved by configuring the - // underlying RPC channel. - StreamingPull(Subscriber_StreamingPullServer) error - // Modifies the `PushConfig` for a specified subscription. - // - // This may be used to change a push subscription to a pull one (signified by - // an empty `PushConfig`) or vice versa, or change the endpoint URL and other - // attributes of a push subscription. Messages will accumulate for delivery - // continuously through the call regardless of changes to the `PushConfig`. - ModifyPushConfig(context.Context, *ModifyPushConfigRequest) (*empty.Empty, error) - // Gets the configuration details of a snapshot. Snapshots are used in - // Seek - // operations, which allow you to manage message acknowledgments in bulk. That - // is, you can set the acknowledgment state of messages in an existing - // subscription to the state captured by a snapshot. - GetSnapshot(context.Context, *GetSnapshotRequest) (*Snapshot, error) - // Lists the existing snapshots. Snapshots are used in - // Seek - // operations, which allow - // you to manage message acknowledgments in bulk. That is, you can set the - // acknowledgment state of messages in an existing subscription to the state - // captured by a snapshot. - ListSnapshots(context.Context, *ListSnapshotsRequest) (*ListSnapshotsResponse, error) - // Creates a snapshot from the requested subscription. Snapshots are used in - // Seek - // operations, which allow - // you to manage message acknowledgments in bulk. That is, you can set the - // acknowledgment state of messages in an existing subscription to the state - // captured by a snapshot. - //

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 - // would expire in less than 1 hour -- then `FAILED_PRECONDITION` is returned. - // See also the `Snapshot.expire_time` field. 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, conforming - // to the - // [resource name - // format](https://cloud.google.com/pubsub/docs/admin#resource_names). The - // generated name is populated in the returned Snapshot object. Note that for - // REST API requests, you must specify a name in the request. - CreateSnapshot(context.Context, *CreateSnapshotRequest) (*Snapshot, error) - // Updates an existing snapshot. Snapshots are used in - // Seek - // operations, which allow - // you to manage message acknowledgments in bulk. That is, you can set the - // acknowledgment state of messages in an existing subscription to the state - // captured by a snapshot. - UpdateSnapshot(context.Context, *UpdateSnapshotRequest) (*Snapshot, error) - // Removes an existing snapshot. Snapshots are used in - // Seek - // operations, which allow - // you to manage message acknowledgments in bulk. That is, you can set the - // acknowledgment state of messages in an existing subscription to the state - // captured by a snapshot.

- // When the snapshot is deleted, all messages retained in the snapshot - // are immediately dropped. After a snapshot is deleted, a new one may be - // created with the same name, but the new one has no association with the old - // snapshot or its subscription, unless the same subscription is specified. - DeleteSnapshot(context.Context, *DeleteSnapshotRequest) (*empty.Empty, error) - // Seeks an existing subscription to a point in time or to a given snapshot, - // whichever is provided in the request. Snapshots are used in - // Seek - // operations, which allow - // you to manage message acknowledgments in bulk. That is, you can set the - // acknowledgment state of messages in an existing subscription to the state - // captured by a snapshot. Note that both the subscription and the snapshot - // must be on the same topic. - Seek(context.Context, *SeekRequest) (*SeekResponse, error) -} - -// UnimplementedSubscriberServer can be embedded to have forward compatible implementations. -type UnimplementedSubscriberServer struct { -} - -func (*UnimplementedSubscriberServer) CreateSubscription(ctx context.Context, req *Subscription) (*Subscription, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateSubscription not implemented") -} -func (*UnimplementedSubscriberServer) GetSubscription(ctx context.Context, req *GetSubscriptionRequest) (*Subscription, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetSubscription not implemented") -} -func (*UnimplementedSubscriberServer) UpdateSubscription(ctx context.Context, req *UpdateSubscriptionRequest) (*Subscription, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateSubscription not implemented") -} -func (*UnimplementedSubscriberServer) ListSubscriptions(ctx context.Context, req *ListSubscriptionsRequest) (*ListSubscriptionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListSubscriptions not implemented") -} -func (*UnimplementedSubscriberServer) DeleteSubscription(ctx context.Context, req *DeleteSubscriptionRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteSubscription not implemented") -} -func (*UnimplementedSubscriberServer) ModifyAckDeadline(ctx context.Context, req *ModifyAckDeadlineRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method ModifyAckDeadline not implemented") -} -func (*UnimplementedSubscriberServer) Acknowledge(ctx context.Context, req *AcknowledgeRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method Acknowledge not implemented") -} -func (*UnimplementedSubscriberServer) Pull(ctx context.Context, req *PullRequest) (*PullResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Pull not implemented") -} -func (*UnimplementedSubscriberServer) StreamingPull(srv Subscriber_StreamingPullServer) error { - return status.Errorf(codes.Unimplemented, "method StreamingPull not implemented") -} -func (*UnimplementedSubscriberServer) ModifyPushConfig(ctx context.Context, req *ModifyPushConfigRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method ModifyPushConfig not implemented") -} -func (*UnimplementedSubscriberServer) GetSnapshot(ctx context.Context, req *GetSnapshotRequest) (*Snapshot, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetSnapshot not implemented") -} -func (*UnimplementedSubscriberServer) ListSnapshots(ctx context.Context, req *ListSnapshotsRequest) (*ListSnapshotsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListSnapshots not implemented") -} -func (*UnimplementedSubscriberServer) CreateSnapshot(ctx context.Context, req *CreateSnapshotRequest) (*Snapshot, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateSnapshot not implemented") -} -func (*UnimplementedSubscriberServer) UpdateSnapshot(ctx context.Context, req *UpdateSnapshotRequest) (*Snapshot, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateSnapshot not implemented") -} -func (*UnimplementedSubscriberServer) DeleteSnapshot(ctx context.Context, req *DeleteSnapshotRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteSnapshot not implemented") -} -func (*UnimplementedSubscriberServer) Seek(ctx context.Context, req *SeekRequest) (*SeekResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Seek not implemented") -} - -func RegisterSubscriberServer(s *grpc.Server, srv SubscriberServer) { - s.RegisterService(&_Subscriber_serviceDesc, srv) -} - -func _Subscriber_CreateSubscription_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Subscription) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SubscriberServer).CreateSubscription(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1.Subscriber/CreateSubscription", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SubscriberServer).CreateSubscription(ctx, req.(*Subscription)) - } - return interceptor(ctx, in, info, handler) -} - -func _Subscriber_GetSubscription_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetSubscriptionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SubscriberServer).GetSubscription(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1.Subscriber/GetSubscription", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SubscriberServer).GetSubscription(ctx, req.(*GetSubscriptionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Subscriber_UpdateSubscription_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateSubscriptionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SubscriberServer).UpdateSubscription(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1.Subscriber/UpdateSubscription", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SubscriberServer).UpdateSubscription(ctx, req.(*UpdateSubscriptionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Subscriber_ListSubscriptions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListSubscriptionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SubscriberServer).ListSubscriptions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1.Subscriber/ListSubscriptions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SubscriberServer).ListSubscriptions(ctx, req.(*ListSubscriptionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Subscriber_DeleteSubscription_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteSubscriptionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SubscriberServer).DeleteSubscription(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1.Subscriber/DeleteSubscription", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SubscriberServer).DeleteSubscription(ctx, req.(*DeleteSubscriptionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Subscriber_ModifyAckDeadline_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ModifyAckDeadlineRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SubscriberServer).ModifyAckDeadline(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1.Subscriber/ModifyAckDeadline", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SubscriberServer).ModifyAckDeadline(ctx, req.(*ModifyAckDeadlineRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Subscriber_Acknowledge_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AcknowledgeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SubscriberServer).Acknowledge(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1.Subscriber/Acknowledge", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SubscriberServer).Acknowledge(ctx, req.(*AcknowledgeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Subscriber_Pull_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PullRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SubscriberServer).Pull(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1.Subscriber/Pull", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SubscriberServer).Pull(ctx, req.(*PullRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Subscriber_StreamingPull_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(SubscriberServer).StreamingPull(&subscriberStreamingPullServer{stream}) -} - -type Subscriber_StreamingPullServer interface { - Send(*StreamingPullResponse) error - Recv() (*StreamingPullRequest, error) - grpc.ServerStream -} - -type subscriberStreamingPullServer struct { - grpc.ServerStream -} - -func (x *subscriberStreamingPullServer) Send(m *StreamingPullResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *subscriberStreamingPullServer) Recv() (*StreamingPullRequest, error) { - m := new(StreamingPullRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _Subscriber_ModifyPushConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ModifyPushConfigRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SubscriberServer).ModifyPushConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1.Subscriber/ModifyPushConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SubscriberServer).ModifyPushConfig(ctx, req.(*ModifyPushConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Subscriber_GetSnapshot_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetSnapshotRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SubscriberServer).GetSnapshot(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1.Subscriber/GetSnapshot", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SubscriberServer).GetSnapshot(ctx, req.(*GetSnapshotRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Subscriber_ListSnapshots_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListSnapshotsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SubscriberServer).ListSnapshots(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1.Subscriber/ListSnapshots", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SubscriberServer).ListSnapshots(ctx, req.(*ListSnapshotsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Subscriber_CreateSnapshot_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateSnapshotRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SubscriberServer).CreateSnapshot(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1.Subscriber/CreateSnapshot", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SubscriberServer).CreateSnapshot(ctx, req.(*CreateSnapshotRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Subscriber_UpdateSnapshot_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateSnapshotRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SubscriberServer).UpdateSnapshot(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1.Subscriber/UpdateSnapshot", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SubscriberServer).UpdateSnapshot(ctx, req.(*UpdateSnapshotRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Subscriber_DeleteSnapshot_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteSnapshotRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SubscriberServer).DeleteSnapshot(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1.Subscriber/DeleteSnapshot", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SubscriberServer).DeleteSnapshot(ctx, req.(*DeleteSnapshotRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Subscriber_Seek_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SeekRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SubscriberServer).Seek(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1.Subscriber/Seek", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SubscriberServer).Seek(ctx, req.(*SeekRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Subscriber_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.pubsub.v1.Subscriber", - HandlerType: (*SubscriberServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateSubscription", - Handler: _Subscriber_CreateSubscription_Handler, - }, - { - MethodName: "GetSubscription", - Handler: _Subscriber_GetSubscription_Handler, - }, - { - MethodName: "UpdateSubscription", - Handler: _Subscriber_UpdateSubscription_Handler, - }, - { - MethodName: "ListSubscriptions", - Handler: _Subscriber_ListSubscriptions_Handler, - }, - { - MethodName: "DeleteSubscription", - Handler: _Subscriber_DeleteSubscription_Handler, - }, - { - MethodName: "ModifyAckDeadline", - Handler: _Subscriber_ModifyAckDeadline_Handler, - }, - { - MethodName: "Acknowledge", - Handler: _Subscriber_Acknowledge_Handler, - }, - { - MethodName: "Pull", - Handler: _Subscriber_Pull_Handler, - }, - { - MethodName: "ModifyPushConfig", - Handler: _Subscriber_ModifyPushConfig_Handler, - }, - { - MethodName: "GetSnapshot", - Handler: _Subscriber_GetSnapshot_Handler, - }, - { - MethodName: "ListSnapshots", - Handler: _Subscriber_ListSnapshots_Handler, - }, - { - MethodName: "CreateSnapshot", - Handler: _Subscriber_CreateSnapshot_Handler, - }, - { - MethodName: "UpdateSnapshot", - Handler: _Subscriber_UpdateSnapshot_Handler, - }, - { - MethodName: "DeleteSnapshot", - Handler: _Subscriber_DeleteSnapshot_Handler, - }, - { - MethodName: "Seek", - Handler: _Subscriber_Seek_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "StreamingPull", - Handler: _Subscriber_StreamingPull_Handler, - ServerStreams: true, - ClientStreams: true, - }, - }, - Metadata: "google/pubsub/v1/pubsub.proto", -} 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 deleted file mode 100644 index ba3c4372..00000000 --- a/vendor/google.golang.org/genproto/googleapis/pubsub/v1beta2/pubsub.pb.go +++ /dev/null @@ -1,1991 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/pubsub/v1beta2/pubsub.proto - -package pubsub - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A topic resource. -type Topic struct { - // Name of the topic. - 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 *Topic) Reset() { *m = Topic{} } -func (m *Topic) String() string { return proto.CompactTextString(m) } -func (*Topic) ProtoMessage() {} -func (*Topic) Descriptor() ([]byte, []int) { - return fileDescriptor_2b98a574e1e7c287, []int{0} -} - -func (m *Topic) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Topic.Unmarshal(m, b) -} -func (m *Topic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Topic.Marshal(b, m, deterministic) -} -func (m *Topic) XXX_Merge(src proto.Message) { - xxx_messageInfo_Topic.Merge(m, src) -} -func (m *Topic) XXX_Size() int { - return xxx_messageInfo_Topic.Size(m) -} -func (m *Topic) XXX_DiscardUnknown() { - xxx_messageInfo_Topic.DiscardUnknown(m) -} - -var xxx_messageInfo_Topic proto.InternalMessageInfo - -func (m *Topic) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// A message data and its attributes. -type PubsubMessage struct { - // The message payload. For JSON requests, the value of this field must be - // base64-encoded. - 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"` - // ID of this message assigned by the server at publication time. Guaranteed - // to be unique within the topic. This value may be read by a subscriber - // that receives a PubsubMessage via a Pull call or a push delivery. It must - // not be populated by a publisher in a Publish call. - MessageId string `protobuf:"bytes,3,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2b98a574e1e7c287, []int{1} -} - -func (m *PubsubMessage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PubsubMessage.Unmarshal(m, b) -} -func (m *PubsubMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PubsubMessage.Marshal(b, m, deterministic) -} -func (m *PubsubMessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_PubsubMessage.Merge(m, src) -} -func (m *PubsubMessage) XXX_Size() int { - return xxx_messageInfo_PubsubMessage.Size(m) -} -func (m *PubsubMessage) XXX_DiscardUnknown() { - xxx_messageInfo_PubsubMessage.DiscardUnknown(m) -} - -var xxx_messageInfo_PubsubMessage proto.InternalMessageInfo - -func (m *PubsubMessage) GetData() []byte { - if m != nil { - return m.Data - } - return nil -} - -func (m *PubsubMessage) GetAttributes() map[string]string { - if m != nil { - return m.Attributes - } - return nil -} - -func (m *PubsubMessage) GetMessageId() string { - if m != nil { - return m.MessageId - } - return "" -} - -// Request for the GetTopic method. -type GetTopicRequest struct { - // The name of the topic to get. - 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 *GetTopicRequest) Reset() { *m = GetTopicRequest{} } -func (m *GetTopicRequest) String() string { return proto.CompactTextString(m) } -func (*GetTopicRequest) ProtoMessage() {} -func (*GetTopicRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2b98a574e1e7c287, []int{2} -} - -func (m *GetTopicRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTopicRequest.Unmarshal(m, b) -} -func (m *GetTopicRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTopicRequest.Marshal(b, m, deterministic) -} -func (m *GetTopicRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTopicRequest.Merge(m, src) -} -func (m *GetTopicRequest) XXX_Size() int { - return xxx_messageInfo_GetTopicRequest.Size(m) -} -func (m *GetTopicRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTopicRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetTopicRequest proto.InternalMessageInfo - -func (m *GetTopicRequest) GetTopic() string { - if m != nil { - return m.Topic - } - return "" -} - -// Request for the Publish method. -type PublishRequest struct { - // The messages in the request will be published on this topic. - Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` - // The messages to publish. - Messages []*PubsubMessage `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2b98a574e1e7c287, []int{3} -} - -func (m *PublishRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PublishRequest.Unmarshal(m, b) -} -func (m *PublishRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PublishRequest.Marshal(b, m, deterministic) -} -func (m *PublishRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PublishRequest.Merge(m, src) -} -func (m *PublishRequest) XXX_Size() int { - return xxx_messageInfo_PublishRequest.Size(m) -} -func (m *PublishRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PublishRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_PublishRequest proto.InternalMessageInfo - -func (m *PublishRequest) GetTopic() string { - if m != nil { - return m.Topic - } - return "" -} - -func (m *PublishRequest) GetMessages() []*PubsubMessage { - if m != nil { - return m.Messages - } - return nil -} - -// Response for the Publish method. -type PublishResponse struct { - // The server-assigned ID of each published message, in the same order as - // the messages in the request. IDs are guaranteed to be unique within - // the topic. - MessageIds []string `protobuf:"bytes,1,rep,name=message_ids,json=messageIds,proto3" json:"message_ids,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2b98a574e1e7c287, []int{4} -} - -func (m *PublishResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PublishResponse.Unmarshal(m, b) -} -func (m *PublishResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PublishResponse.Marshal(b, m, deterministic) -} -func (m *PublishResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PublishResponse.Merge(m, src) -} -func (m *PublishResponse) XXX_Size() int { - return xxx_messageInfo_PublishResponse.Size(m) -} -func (m *PublishResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PublishResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_PublishResponse proto.InternalMessageInfo - -func (m *PublishResponse) GetMessageIds() []string { - if m != nil { - return m.MessageIds - } - return nil -} - -// Request for the ListTopics method. -type ListTopicsRequest struct { - // The name of the cloud project that topics belong to. - 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"` - // The value returned by the last ListTopicsResponse; indicates that this is - // a continuation of a prior ListTopics call, and that 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:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2b98a574e1e7c287, []int{5} -} - -func (m *ListTopicsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTopicsRequest.Unmarshal(m, b) -} -func (m *ListTopicsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTopicsRequest.Marshal(b, m, deterministic) -} -func (m *ListTopicsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTopicsRequest.Merge(m, src) -} -func (m *ListTopicsRequest) XXX_Size() int { - return xxx_messageInfo_ListTopicsRequest.Size(m) -} -func (m *ListTopicsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListTopicsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTopicsRequest proto.InternalMessageInfo - -func (m *ListTopicsRequest) GetProject() string { - if m != nil { - return m.Project - } - return "" -} - -func (m *ListTopicsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListTopicsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response for the ListTopics method. -type ListTopicsResponse struct { - // The resulting topics. - Topics []*Topic `protobuf:"bytes,1,rep,name=topics,proto3" json:"topics,omitempty"` - // If not empty, indicates that there may be more topics that match the - // request; this value should be passed in a new ListTopicsRequest. - 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 *ListTopicsResponse) Reset() { *m = ListTopicsResponse{} } -func (m *ListTopicsResponse) String() string { return proto.CompactTextString(m) } -func (*ListTopicsResponse) ProtoMessage() {} -func (*ListTopicsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2b98a574e1e7c287, []int{6} -} - -func (m *ListTopicsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTopicsResponse.Unmarshal(m, b) -} -func (m *ListTopicsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTopicsResponse.Marshal(b, m, deterministic) -} -func (m *ListTopicsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTopicsResponse.Merge(m, src) -} -func (m *ListTopicsResponse) XXX_Size() int { - return xxx_messageInfo_ListTopicsResponse.Size(m) -} -func (m *ListTopicsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListTopicsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTopicsResponse proto.InternalMessageInfo - -func (m *ListTopicsResponse) GetTopics() []*Topic { - if m != nil { - return m.Topics - } - return nil -} - -func (m *ListTopicsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request for the ListTopicSubscriptions method. -type ListTopicSubscriptionsRequest struct { - // The name of the topic that subscriptions are attached to. - Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` - // Maximum number of subscription names to return. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // The value returned by the last ListTopicSubscriptionsResponse; indicates - // that this is a continuation of a prior ListTopicSubscriptions call, and - // that 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:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListTopicSubscriptionsRequest) Reset() { *m = ListTopicSubscriptionsRequest{} } -func (m *ListTopicSubscriptionsRequest) String() string { return proto.CompactTextString(m) } -func (*ListTopicSubscriptionsRequest) ProtoMessage() {} -func (*ListTopicSubscriptionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2b98a574e1e7c287, []int{7} -} - -func (m *ListTopicSubscriptionsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTopicSubscriptionsRequest.Unmarshal(m, b) -} -func (m *ListTopicSubscriptionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTopicSubscriptionsRequest.Marshal(b, m, deterministic) -} -func (m *ListTopicSubscriptionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTopicSubscriptionsRequest.Merge(m, src) -} -func (m *ListTopicSubscriptionsRequest) XXX_Size() int { - return xxx_messageInfo_ListTopicSubscriptionsRequest.Size(m) -} -func (m *ListTopicSubscriptionsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListTopicSubscriptionsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTopicSubscriptionsRequest proto.InternalMessageInfo - -func (m *ListTopicSubscriptionsRequest) GetTopic() string { - if m != nil { - return m.Topic - } - return "" -} - -func (m *ListTopicSubscriptionsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListTopicSubscriptionsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response for the ListTopicSubscriptions method. -type ListTopicSubscriptionsResponse struct { - // The names of the subscriptions that match the request. - Subscriptions []string `protobuf:"bytes,1,rep,name=subscriptions,proto3" json:"subscriptions,omitempty"` - // If not empty, indicates that there may be more subscriptions that match - // the request; this value should be passed in a new - // ListTopicSubscriptionsRequest to get more subscriptions. - 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 *ListTopicSubscriptionsResponse) Reset() { *m = ListTopicSubscriptionsResponse{} } -func (m *ListTopicSubscriptionsResponse) String() string { return proto.CompactTextString(m) } -func (*ListTopicSubscriptionsResponse) ProtoMessage() {} -func (*ListTopicSubscriptionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2b98a574e1e7c287, []int{8} -} - -func (m *ListTopicSubscriptionsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTopicSubscriptionsResponse.Unmarshal(m, b) -} -func (m *ListTopicSubscriptionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTopicSubscriptionsResponse.Marshal(b, m, deterministic) -} -func (m *ListTopicSubscriptionsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTopicSubscriptionsResponse.Merge(m, src) -} -func (m *ListTopicSubscriptionsResponse) XXX_Size() int { - return xxx_messageInfo_ListTopicSubscriptionsResponse.Size(m) -} -func (m *ListTopicSubscriptionsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListTopicSubscriptionsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTopicSubscriptionsResponse proto.InternalMessageInfo - -func (m *ListTopicSubscriptionsResponse) GetSubscriptions() []string { - if m != nil { - return m.Subscriptions - } - return nil -} - -func (m *ListTopicSubscriptionsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request for the DeleteTopic method. -type DeleteTopicRequest struct { - // Name of the topic to delete. - 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 *DeleteTopicRequest) Reset() { *m = DeleteTopicRequest{} } -func (m *DeleteTopicRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteTopicRequest) ProtoMessage() {} -func (*DeleteTopicRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2b98a574e1e7c287, []int{9} -} - -func (m *DeleteTopicRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteTopicRequest.Unmarshal(m, b) -} -func (m *DeleteTopicRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteTopicRequest.Marshal(b, m, deterministic) -} -func (m *DeleteTopicRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteTopicRequest.Merge(m, src) -} -func (m *DeleteTopicRequest) XXX_Size() int { - return xxx_messageInfo_DeleteTopicRequest.Size(m) -} -func (m *DeleteTopicRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteTopicRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteTopicRequest proto.InternalMessageInfo - -func (m *DeleteTopicRequest) GetTopic() string { - if m != nil { - return m.Topic - } - return "" -} - -// A subscription resource. -type Subscription struct { - // Name of the subscription. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The name of the topic from which this subscription is receiving messages. - // This will be present if and only if the subscription has not been detached - // from its topic. - Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"` - // If push delivery is used with this subscription, this field is - // used to configure it. An empty pushConfig signifies that the subscriber - // will pull and ack messages using API methods. - PushConfig *PushConfig `protobuf:"bytes,4,opt,name=push_config,json=pushConfig,proto3" json:"push_config,omitempty"` - // This value is the maximum time after a subscriber receives a message - // before the subscriber should acknowledge the message. After message - // delivery but before the ack deadline expires and before the message is - // acknowledged, it is an outstanding message and will not be delivered - // again during that time (on a best-effort basis). - // - // For pull delivery this value - // is used as the initial value for the ack deadline. It may be overridden - // for a specific message by calling ModifyAckDeadline. - // - // For push delivery, this value is also used to set the request timeout for - // the call to the push endpoint. - // - // If the subscriber never acknowledges the message, the Pub/Sub - // system will eventually redeliver the message. - AckDeadlineSeconds int32 `protobuf:"varint,5,opt,name=ack_deadline_seconds,json=ackDeadlineSeconds,proto3" json:"ack_deadline_seconds,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2b98a574e1e7c287, []int{10} -} - -func (m *Subscription) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Subscription.Unmarshal(m, b) -} -func (m *Subscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Subscription.Marshal(b, m, deterministic) -} -func (m *Subscription) XXX_Merge(src proto.Message) { - xxx_messageInfo_Subscription.Merge(m, src) -} -func (m *Subscription) XXX_Size() int { - return xxx_messageInfo_Subscription.Size(m) -} -func (m *Subscription) XXX_DiscardUnknown() { - xxx_messageInfo_Subscription.DiscardUnknown(m) -} - -var xxx_messageInfo_Subscription proto.InternalMessageInfo - -func (m *Subscription) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Subscription) GetTopic() string { - if m != nil { - return m.Topic - } - return "" -} - -func (m *Subscription) GetPushConfig() *PushConfig { - if m != nil { - return m.PushConfig - } - return nil -} - -func (m *Subscription) GetAckDeadlineSeconds() int32 { - if m != nil { - return m.AckDeadlineSeconds - } - return 0 -} - -// Configuration for a push delivery endpoint. -type PushConfig struct { - // A URL locating the endpoint to which messages should be pushed. - // For example, a Webhook endpoint might use "https://example.com/push". - PushEndpoint string `protobuf:"bytes,1,opt,name=push_endpoint,json=pushEndpoint,proto3" json:"push_endpoint,omitempty"` - // Endpoint configuration attributes. - // - // Every endpoint has a set of API supported attributes that can be used to - // control different aspects of the message delivery. - // - // The currently supported attribute is `x-goog-version`, which you can - // use to change the format of the push message. This attribute - // indicates the version of the data expected by the endpoint. This - // controls the shape of the envelope (i.e. its fields and metadata). - // The endpoint version is based on the version of the Pub/Sub - // API. - // - // If not present during the CreateSubscription call, it will default to - // the version of the API used to make such call. If not present during a - // ModifyPushConfig call, its value will not be changed. GetSubscription - // calls will always return a valid version, even if the subscription was - // created without this attribute. - // - // The possible values for this attribute are: - // - // * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. - // * `v1beta2`: uses the push format defined in the v1beta2 Pub/Sub API. - // - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2b98a574e1e7c287, []int{11} -} - -func (m *PushConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PushConfig.Unmarshal(m, b) -} -func (m *PushConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PushConfig.Marshal(b, m, deterministic) -} -func (m *PushConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_PushConfig.Merge(m, src) -} -func (m *PushConfig) XXX_Size() int { - return xxx_messageInfo_PushConfig.Size(m) -} -func (m *PushConfig) XXX_DiscardUnknown() { - xxx_messageInfo_PushConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_PushConfig proto.InternalMessageInfo - -func (m *PushConfig) GetPushEndpoint() string { - if m != nil { - return m.PushEndpoint - } - return "" -} - -func (m *PushConfig) GetAttributes() map[string]string { - if m != nil { - return m.Attributes - } - return nil -} - -// A message and its corresponding acknowledgment ID. -type ReceivedMessage struct { - // This ID can be used to acknowledge the received message. - AckId string `protobuf:"bytes,1,opt,name=ack_id,json=ackId,proto3" json:"ack_id,omitempty"` - // The message. - Message *PubsubMessage `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2b98a574e1e7c287, []int{12} -} - -func (m *ReceivedMessage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReceivedMessage.Unmarshal(m, b) -} -func (m *ReceivedMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReceivedMessage.Marshal(b, m, deterministic) -} -func (m *ReceivedMessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReceivedMessage.Merge(m, src) -} -func (m *ReceivedMessage) XXX_Size() int { - return xxx_messageInfo_ReceivedMessage.Size(m) -} -func (m *ReceivedMessage) XXX_DiscardUnknown() { - xxx_messageInfo_ReceivedMessage.DiscardUnknown(m) -} - -var xxx_messageInfo_ReceivedMessage proto.InternalMessageInfo - -func (m *ReceivedMessage) GetAckId() string { - if m != nil { - return m.AckId - } - return "" -} - -func (m *ReceivedMessage) GetMessage() *PubsubMessage { - if m != nil { - return m.Message - } - return nil -} - -// Request for the GetSubscription method. -type GetSubscriptionRequest struct { - // The name of the subscription to get. - Subscription string `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2b98a574e1e7c287, []int{13} -} - -func (m *GetSubscriptionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetSubscriptionRequest.Unmarshal(m, b) -} -func (m *GetSubscriptionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetSubscriptionRequest.Marshal(b, m, deterministic) -} -func (m *GetSubscriptionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetSubscriptionRequest.Merge(m, src) -} -func (m *GetSubscriptionRequest) XXX_Size() int { - return xxx_messageInfo_GetSubscriptionRequest.Size(m) -} -func (m *GetSubscriptionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetSubscriptionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetSubscriptionRequest proto.InternalMessageInfo - -func (m *GetSubscriptionRequest) GetSubscription() string { - if m != nil { - return m.Subscription - } - return "" -} - -// Request for the ListSubscriptions method. -type ListSubscriptionsRequest struct { - // The name of the cloud project that subscriptions belong to. - 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"` - // The value returned by the last ListSubscriptionsResponse; indicates that - // this is a continuation of a prior ListSubscriptions call, and that 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:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListSubscriptionsRequest) Reset() { *m = ListSubscriptionsRequest{} } -func (m *ListSubscriptionsRequest) String() string { return proto.CompactTextString(m) } -func (*ListSubscriptionsRequest) ProtoMessage() {} -func (*ListSubscriptionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2b98a574e1e7c287, []int{14} -} - -func (m *ListSubscriptionsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListSubscriptionsRequest.Unmarshal(m, b) -} -func (m *ListSubscriptionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListSubscriptionsRequest.Marshal(b, m, deterministic) -} -func (m *ListSubscriptionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSubscriptionsRequest.Merge(m, src) -} -func (m *ListSubscriptionsRequest) XXX_Size() int { - return xxx_messageInfo_ListSubscriptionsRequest.Size(m) -} -func (m *ListSubscriptionsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListSubscriptionsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListSubscriptionsRequest proto.InternalMessageInfo - -func (m *ListSubscriptionsRequest) GetProject() string { - if m != nil { - return m.Project - } - return "" -} - -func (m *ListSubscriptionsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListSubscriptionsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response for the ListSubscriptions method. -type ListSubscriptionsResponse struct { - // The subscriptions that match the request. - Subscriptions []*Subscription `protobuf:"bytes,1,rep,name=subscriptions,proto3" json:"subscriptions,omitempty"` - // If not empty, indicates that there may be more subscriptions that match - // the request; this value should be passed in a new ListSubscriptionsRequest - // to get more subscriptions. - 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 *ListSubscriptionsResponse) Reset() { *m = ListSubscriptionsResponse{} } -func (m *ListSubscriptionsResponse) String() string { return proto.CompactTextString(m) } -func (*ListSubscriptionsResponse) ProtoMessage() {} -func (*ListSubscriptionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2b98a574e1e7c287, []int{15} -} - -func (m *ListSubscriptionsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListSubscriptionsResponse.Unmarshal(m, b) -} -func (m *ListSubscriptionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListSubscriptionsResponse.Marshal(b, m, deterministic) -} -func (m *ListSubscriptionsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSubscriptionsResponse.Merge(m, src) -} -func (m *ListSubscriptionsResponse) XXX_Size() int { - return xxx_messageInfo_ListSubscriptionsResponse.Size(m) -} -func (m *ListSubscriptionsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListSubscriptionsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListSubscriptionsResponse proto.InternalMessageInfo - -func (m *ListSubscriptionsResponse) GetSubscriptions() []*Subscription { - if m != nil { - return m.Subscriptions - } - return nil -} - -func (m *ListSubscriptionsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request for the DeleteSubscription method. -type DeleteSubscriptionRequest struct { - // The subscription to delete. - Subscription string `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DeleteSubscriptionRequest) Reset() { *m = DeleteSubscriptionRequest{} } -func (m *DeleteSubscriptionRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteSubscriptionRequest) ProtoMessage() {} -func (*DeleteSubscriptionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2b98a574e1e7c287, []int{16} -} - -func (m *DeleteSubscriptionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteSubscriptionRequest.Unmarshal(m, b) -} -func (m *DeleteSubscriptionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteSubscriptionRequest.Marshal(b, m, deterministic) -} -func (m *DeleteSubscriptionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteSubscriptionRequest.Merge(m, src) -} -func (m *DeleteSubscriptionRequest) XXX_Size() int { - return xxx_messageInfo_DeleteSubscriptionRequest.Size(m) -} -func (m *DeleteSubscriptionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteSubscriptionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteSubscriptionRequest proto.InternalMessageInfo - -func (m *DeleteSubscriptionRequest) GetSubscription() string { - if m != nil { - return m.Subscription - } - return "" -} - -// Request for the ModifyPushConfig method. -type ModifyPushConfigRequest struct { - // The name of the subscription. - Subscription string `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"` - // The push configuration for future deliveries. - // - // An empty pushConfig indicates that the Pub/Sub system should - // stop pushing messages from the given subscription and allow - // messages to be pulled and acknowledged - effectively pausing - // the subscription if Pull is not called. - PushConfig *PushConfig `protobuf:"bytes,2,opt,name=push_config,json=pushConfig,proto3" json:"push_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2b98a574e1e7c287, []int{17} -} - -func (m *ModifyPushConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ModifyPushConfigRequest.Unmarshal(m, b) -} -func (m *ModifyPushConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ModifyPushConfigRequest.Marshal(b, m, deterministic) -} -func (m *ModifyPushConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ModifyPushConfigRequest.Merge(m, src) -} -func (m *ModifyPushConfigRequest) XXX_Size() int { - return xxx_messageInfo_ModifyPushConfigRequest.Size(m) -} -func (m *ModifyPushConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ModifyPushConfigRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ModifyPushConfigRequest proto.InternalMessageInfo - -func (m *ModifyPushConfigRequest) GetSubscription() string { - if m != nil { - return m.Subscription - } - return "" -} - -func (m *ModifyPushConfigRequest) GetPushConfig() *PushConfig { - if m != nil { - return m.PushConfig - } - return nil -} - -// Request for the Pull method. -type PullRequest struct { - // The subscription from which messages should be pulled. - Subscription string `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"` - // If this is specified as true the system will respond immediately even if - // it is not able to return a message in the Pull response. Otherwise the - // system is allowed to wait 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. - 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. - MaxMessages int32 `protobuf:"varint,3,opt,name=max_messages,json=maxMessages,proto3" json:"max_messages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2b98a574e1e7c287, []int{18} -} - -func (m *PullRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PullRequest.Unmarshal(m, b) -} -func (m *PullRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PullRequest.Marshal(b, m, deterministic) -} -func (m *PullRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PullRequest.Merge(m, src) -} -func (m *PullRequest) XXX_Size() int { - return xxx_messageInfo_PullRequest.Size(m) -} -func (m *PullRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PullRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_PullRequest proto.InternalMessageInfo - -func (m *PullRequest) GetSubscription() string { - if m != nil { - return m.Subscription - } - return "" -} - -func (m *PullRequest) GetReturnImmediately() bool { - if m != nil { - return m.ReturnImmediately - } - return false -} - -func (m *PullRequest) GetMaxMessages() int32 { - if m != nil { - return m.MaxMessages - } - return 0 -} - -// 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. - ReceivedMessages []*ReceivedMessage `protobuf:"bytes,1,rep,name=received_messages,json=receivedMessages,proto3" json:"received_messages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2b98a574e1e7c287, []int{19} -} - -func (m *PullResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PullResponse.Unmarshal(m, b) -} -func (m *PullResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PullResponse.Marshal(b, m, deterministic) -} -func (m *PullResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PullResponse.Merge(m, src) -} -func (m *PullResponse) XXX_Size() int { - return xxx_messageInfo_PullResponse.Size(m) -} -func (m *PullResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PullResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_PullResponse proto.InternalMessageInfo - -func (m *PullResponse) GetReceivedMessages() []*ReceivedMessage { - if m != nil { - return m.ReceivedMessages - } - return nil -} - -// Request for the ModifyAckDeadline method. -type ModifyAckDeadlineRequest struct { - // The name of the subscription. - Subscription string `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"` - // The acknowledgment ID. - AckId string `protobuf:"bytes,2,opt,name=ack_id,json=ackId,proto3" json:"ack_id,omitempty"` - // The new ack deadline with respect to the time this request was sent to the - // Pub/Sub system. Must be >= 0. For example, if the value is 10, the new ack - // deadline will expire 10 seconds after the ModifyAckDeadline call was made. - // Specifying zero may immediately make the message available for another pull - // request. - AckDeadlineSeconds int32 `protobuf:"varint,3,opt,name=ack_deadline_seconds,json=ackDeadlineSeconds,proto3" json:"ack_deadline_seconds,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ModifyAckDeadlineRequest) Reset() { *m = ModifyAckDeadlineRequest{} } -func (m *ModifyAckDeadlineRequest) String() string { return proto.CompactTextString(m) } -func (*ModifyAckDeadlineRequest) ProtoMessage() {} -func (*ModifyAckDeadlineRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2b98a574e1e7c287, []int{20} -} - -func (m *ModifyAckDeadlineRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ModifyAckDeadlineRequest.Unmarshal(m, b) -} -func (m *ModifyAckDeadlineRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ModifyAckDeadlineRequest.Marshal(b, m, deterministic) -} -func (m *ModifyAckDeadlineRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ModifyAckDeadlineRequest.Merge(m, src) -} -func (m *ModifyAckDeadlineRequest) XXX_Size() int { - return xxx_messageInfo_ModifyAckDeadlineRequest.Size(m) -} -func (m *ModifyAckDeadlineRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ModifyAckDeadlineRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ModifyAckDeadlineRequest proto.InternalMessageInfo - -func (m *ModifyAckDeadlineRequest) GetSubscription() string { - if m != nil { - return m.Subscription - } - return "" -} - -func (m *ModifyAckDeadlineRequest) GetAckId() string { - if m != nil { - return m.AckId - } - return "" -} - -func (m *ModifyAckDeadlineRequest) GetAckDeadlineSeconds() int32 { - if m != nil { - return m.AckDeadlineSeconds - } - return 0 -} - -// Request for the Acknowledge method. -type AcknowledgeRequest struct { - // The subscription whose message is being acknowledged. - Subscription string `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"` - // The acknowledgment ID for the messages being acknowledged that was returned - // by the Pub/Sub system in the Pull response. Must not be empty. - AckIds []string `protobuf:"bytes,2,rep,name=ack_ids,json=ackIds,proto3" json:"ack_ids,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_2b98a574e1e7c287, []int{21} -} - -func (m *AcknowledgeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AcknowledgeRequest.Unmarshal(m, b) -} -func (m *AcknowledgeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AcknowledgeRequest.Marshal(b, m, deterministic) -} -func (m *AcknowledgeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AcknowledgeRequest.Merge(m, src) -} -func (m *AcknowledgeRequest) XXX_Size() int { - return xxx_messageInfo_AcknowledgeRequest.Size(m) -} -func (m *AcknowledgeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AcknowledgeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AcknowledgeRequest proto.InternalMessageInfo - -func (m *AcknowledgeRequest) GetSubscription() string { - if m != nil { - return m.Subscription - } - return "" -} - -func (m *AcknowledgeRequest) GetAckIds() []string { - if m != nil { - return m.AckIds - } - return nil -} - -func init() { - proto.RegisterType((*Topic)(nil), "google.pubsub.v1beta2.Topic") - proto.RegisterType((*PubsubMessage)(nil), "google.pubsub.v1beta2.PubsubMessage") - proto.RegisterMapType((map[string]string)(nil), "google.pubsub.v1beta2.PubsubMessage.AttributesEntry") - proto.RegisterType((*GetTopicRequest)(nil), "google.pubsub.v1beta2.GetTopicRequest") - proto.RegisterType((*PublishRequest)(nil), "google.pubsub.v1beta2.PublishRequest") - proto.RegisterType((*PublishResponse)(nil), "google.pubsub.v1beta2.PublishResponse") - proto.RegisterType((*ListTopicsRequest)(nil), "google.pubsub.v1beta2.ListTopicsRequest") - proto.RegisterType((*ListTopicsResponse)(nil), "google.pubsub.v1beta2.ListTopicsResponse") - proto.RegisterType((*ListTopicSubscriptionsRequest)(nil), "google.pubsub.v1beta2.ListTopicSubscriptionsRequest") - proto.RegisterType((*ListTopicSubscriptionsResponse)(nil), "google.pubsub.v1beta2.ListTopicSubscriptionsResponse") - proto.RegisterType((*DeleteTopicRequest)(nil), "google.pubsub.v1beta2.DeleteTopicRequest") - proto.RegisterType((*Subscription)(nil), "google.pubsub.v1beta2.Subscription") - proto.RegisterType((*PushConfig)(nil), "google.pubsub.v1beta2.PushConfig") - proto.RegisterMapType((map[string]string)(nil), "google.pubsub.v1beta2.PushConfig.AttributesEntry") - proto.RegisterType((*ReceivedMessage)(nil), "google.pubsub.v1beta2.ReceivedMessage") - proto.RegisterType((*GetSubscriptionRequest)(nil), "google.pubsub.v1beta2.GetSubscriptionRequest") - proto.RegisterType((*ListSubscriptionsRequest)(nil), "google.pubsub.v1beta2.ListSubscriptionsRequest") - proto.RegisterType((*ListSubscriptionsResponse)(nil), "google.pubsub.v1beta2.ListSubscriptionsResponse") - proto.RegisterType((*DeleteSubscriptionRequest)(nil), "google.pubsub.v1beta2.DeleteSubscriptionRequest") - proto.RegisterType((*ModifyPushConfigRequest)(nil), "google.pubsub.v1beta2.ModifyPushConfigRequest") - proto.RegisterType((*PullRequest)(nil), "google.pubsub.v1beta2.PullRequest") - proto.RegisterType((*PullResponse)(nil), "google.pubsub.v1beta2.PullResponse") - proto.RegisterType((*ModifyAckDeadlineRequest)(nil), "google.pubsub.v1beta2.ModifyAckDeadlineRequest") - proto.RegisterType((*AcknowledgeRequest)(nil), "google.pubsub.v1beta2.AcknowledgeRequest") -} - -func init() { proto.RegisterFile("google/pubsub/v1beta2/pubsub.proto", fileDescriptor_2b98a574e1e7c287) } - -var fileDescriptor_2b98a574e1e7c287 = []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, - 0x86, 0xb4, 0x64, 0x0b, 0x45, 0x42, 0x8c, 0x7f, 0xed, 0x56, 0x4d, 0x91, 0xa8, 0xc8, 0xdc, 0x3e, - 0xa0, 0x09, 0x2d, 0x72, 0xec, 0x5b, 0xc7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 0x55, 0xae, 0x17, 0x7d, 0x24, 0x7e, 0x6b, 0x33, - 0xeb, 0x7b, 0x73, 0xef, 0x2a, 0x36, 0x9e, 0x8e, 0x3e, 0xac, 0x25, 0x7f, 0x08, 0x68, 0x4f, 0x8c, - 0xa3, 0xec, 0xda, 0x76, 0x85, 0xaf, 0x3a, 0xc0, 0x6c, 0x83, 0x46, 0xad, 0x05, 0x08, 0xc8, 0xed, - 0xf3, 0xcd, 0x87, 0x25, 0x38, 0xb9, 0xd3, 0xbf, 0x49, 0xb0, 0x55, 0xbc, 0xbe, 0xa2, 0xfd, 0xab, - 0xb4, 0x14, 0xe2, 0xf4, 0xb3, 0x6b, 0x4a, 0xa5, 0xc9, 0x93, 0x33, 0x5b, 0xad, 0xb0, 0xdd, 0x2f, - 0x6f, 0xbe, 0xa2, 0x0e, 0x3a, 0xb4, 0x60, 0xdb, 0xf0, 0x26, 0xc5, 0x7a, 0x0e, 0x65, 0xb6, 0x4f, - 0xf5, 0x63, 0x91, 0xbe, 0xf4, 0xea, 0x29, 0xe7, 0xb2, 0x3c, 0x47, 0x77, 0xad, 0xb6, 0x17, 0x58, - 0x1d, 0x0b, 0xbb, 0x54, 0x61, 0x87, 0x5d, 0xe9, 0xbe, 0x4d, 0xe6, 0x7e, 0xa5, 0x9f, 0xb2, 0xe3, - 0x70, 0x85, 0xf2, 0x7d, 0xfa, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe2, 0x2d, 0xb0, 0x67, 0x71, - 0x0f, 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 - -// SubscriberClient is the client API for Subscriber service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type SubscriberClient interface { - // Creates a subscription to a given topic for a given subscriber. - // If the subscription already exists, returns ALREADY_EXISTS. - // If the corresponding topic doesn't exist, returns NOT_FOUND. - // - // If the name is not provided in the request, the server will assign a random - // name for this subscription on the same project as the topic. - CreateSubscription(ctx context.Context, in *Subscription, opts ...grpc.CallOption) (*Subscription, error) - // Gets the configuration details of a subscription. - GetSubscription(ctx context.Context, in *GetSubscriptionRequest, opts ...grpc.CallOption) (*Subscription, error) - // Lists matching subscriptions. - ListSubscriptions(ctx context.Context, in *ListSubscriptionsRequest, opts ...grpc.CallOption) (*ListSubscriptionsResponse, error) - // Deletes an existing subscription. All pending messages in the subscription - // are immediately dropped. Calls to Pull after deletion will return - // NOT_FOUND. After a subscription is deleted, a new one may be created with - // the same name, but the new one has no association with the old - // subscription, or its topic unless the same topic is specified. - DeleteSubscription(ctx context.Context, in *DeleteSubscriptionRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Modifies the ack deadline for a specific message. This method is useful to - // indicate that more time is needed to process a message by the subscriber, - // or to make the message available for redelivery if the processing was - // interrupted. - ModifyAckDeadline(ctx context.Context, in *ModifyAckDeadlineRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Acknowledges the messages associated with the ack tokens in the - // AcknowledgeRequest. The Pub/Sub system can remove the relevant messages - // from the subscription. - // - // Acknowledging a message whose ack deadline has expired may succeed, - // 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 - // there are too many concurrent pull requests pending for the given - // subscription. - Pull(ctx context.Context, in *PullRequest, opts ...grpc.CallOption) (*PullResponse, error) - // Modifies the PushConfig for a specified subscription. - // - // This may be used to change a push subscription to a pull one (signified - // by an empty PushConfig) or vice versa, or change the endpoint URL and other - // attributes of a push subscription. Messages will accumulate for - // delivery continuously through the call regardless of changes to the - // PushConfig. - ModifyPushConfig(ctx context.Context, in *ModifyPushConfigRequest, opts ...grpc.CallOption) (*empty.Empty, error) -} - -type subscriberClient struct { - cc *grpc.ClientConn -} - -func NewSubscriberClient(cc *grpc.ClientConn) SubscriberClient { - return &subscriberClient{cc} -} - -func (c *subscriberClient) CreateSubscription(ctx context.Context, in *Subscription, opts ...grpc.CallOption) (*Subscription, error) { - out := new(Subscription) - err := c.cc.Invoke(ctx, "/google.pubsub.v1beta2.Subscriber/CreateSubscription", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *subscriberClient) GetSubscription(ctx context.Context, in *GetSubscriptionRequest, opts ...grpc.CallOption) (*Subscription, error) { - out := new(Subscription) - err := c.cc.Invoke(ctx, "/google.pubsub.v1beta2.Subscriber/GetSubscription", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *subscriberClient) ListSubscriptions(ctx context.Context, in *ListSubscriptionsRequest, opts ...grpc.CallOption) (*ListSubscriptionsResponse, error) { - out := new(ListSubscriptionsResponse) - err := c.cc.Invoke(ctx, "/google.pubsub.v1beta2.Subscriber/ListSubscriptions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *subscriberClient) DeleteSubscription(ctx context.Context, in *DeleteSubscriptionRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.pubsub.v1beta2.Subscriber/DeleteSubscription", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *subscriberClient) ModifyAckDeadline(ctx context.Context, in *ModifyAckDeadlineRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.pubsub.v1beta2.Subscriber/ModifyAckDeadline", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *subscriberClient) Acknowledge(ctx context.Context, in *AcknowledgeRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.pubsub.v1beta2.Subscriber/Acknowledge", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *subscriberClient) Pull(ctx context.Context, in *PullRequest, opts ...grpc.CallOption) (*PullResponse, error) { - out := new(PullResponse) - err := c.cc.Invoke(ctx, "/google.pubsub.v1beta2.Subscriber/Pull", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *subscriberClient) ModifyPushConfig(ctx context.Context, in *ModifyPushConfigRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.pubsub.v1beta2.Subscriber/ModifyPushConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// SubscriberServer is the server API for Subscriber service. -type SubscriberServer interface { - // Creates a subscription to a given topic for a given subscriber. - // If the subscription already exists, returns ALREADY_EXISTS. - // If the corresponding topic doesn't exist, returns NOT_FOUND. - // - // If the name is not provided in the request, the server will assign a random - // name for this subscription on the same project as the topic. - CreateSubscription(context.Context, *Subscription) (*Subscription, error) - // Gets the configuration details of a subscription. - GetSubscription(context.Context, *GetSubscriptionRequest) (*Subscription, error) - // Lists matching subscriptions. - ListSubscriptions(context.Context, *ListSubscriptionsRequest) (*ListSubscriptionsResponse, error) - // Deletes an existing subscription. All pending messages in the subscription - // are immediately dropped. Calls to Pull after deletion will return - // NOT_FOUND. After a subscription is deleted, a new one may be created with - // the same name, but the new one has no association with the old - // subscription, or its topic unless the same topic is specified. - DeleteSubscription(context.Context, *DeleteSubscriptionRequest) (*empty.Empty, error) - // Modifies the ack deadline for a specific message. This method is useful to - // indicate that more time is needed to process a message by the subscriber, - // or to make the message available for redelivery if the processing was - // interrupted. - ModifyAckDeadline(context.Context, *ModifyAckDeadlineRequest) (*empty.Empty, error) - // Acknowledges the messages associated with the ack tokens in the - // AcknowledgeRequest. The Pub/Sub system can remove the relevant messages - // from the subscription. - // - // Acknowledging a message whose ack deadline has expired may succeed, - // 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 - // there are too many concurrent pull requests pending for the given - // subscription. - Pull(context.Context, *PullRequest) (*PullResponse, error) - // Modifies the PushConfig for a specified subscription. - // - // This may be used to change a push subscription to a pull one (signified - // by an empty PushConfig) or vice versa, or change the endpoint URL and other - // attributes of a push subscription. Messages will accumulate for - // delivery continuously through the call regardless of changes to the - // PushConfig. - ModifyPushConfig(context.Context, *ModifyPushConfigRequest) (*empty.Empty, error) -} - -// UnimplementedSubscriberServer can be embedded to have forward compatible implementations. -type UnimplementedSubscriberServer struct { -} - -func (*UnimplementedSubscriberServer) CreateSubscription(ctx context.Context, req *Subscription) (*Subscription, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateSubscription not implemented") -} -func (*UnimplementedSubscriberServer) GetSubscription(ctx context.Context, req *GetSubscriptionRequest) (*Subscription, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetSubscription not implemented") -} -func (*UnimplementedSubscriberServer) ListSubscriptions(ctx context.Context, req *ListSubscriptionsRequest) (*ListSubscriptionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListSubscriptions not implemented") -} -func (*UnimplementedSubscriberServer) DeleteSubscription(ctx context.Context, req *DeleteSubscriptionRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteSubscription not implemented") -} -func (*UnimplementedSubscriberServer) ModifyAckDeadline(ctx context.Context, req *ModifyAckDeadlineRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method ModifyAckDeadline not implemented") -} -func (*UnimplementedSubscriberServer) Acknowledge(ctx context.Context, req *AcknowledgeRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method Acknowledge not implemented") -} -func (*UnimplementedSubscriberServer) Pull(ctx context.Context, req *PullRequest) (*PullResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Pull not implemented") -} -func (*UnimplementedSubscriberServer) ModifyPushConfig(ctx context.Context, req *ModifyPushConfigRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method ModifyPushConfig not implemented") -} - -func RegisterSubscriberServer(s *grpc.Server, srv SubscriberServer) { - s.RegisterService(&_Subscriber_serviceDesc, srv) -} - -func _Subscriber_CreateSubscription_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Subscription) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SubscriberServer).CreateSubscription(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1beta2.Subscriber/CreateSubscription", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SubscriberServer).CreateSubscription(ctx, req.(*Subscription)) - } - return interceptor(ctx, in, info, handler) -} - -func _Subscriber_GetSubscription_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetSubscriptionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SubscriberServer).GetSubscription(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1beta2.Subscriber/GetSubscription", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SubscriberServer).GetSubscription(ctx, req.(*GetSubscriptionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Subscriber_ListSubscriptions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListSubscriptionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SubscriberServer).ListSubscriptions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1beta2.Subscriber/ListSubscriptions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SubscriberServer).ListSubscriptions(ctx, req.(*ListSubscriptionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Subscriber_DeleteSubscription_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteSubscriptionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SubscriberServer).DeleteSubscription(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1beta2.Subscriber/DeleteSubscription", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SubscriberServer).DeleteSubscription(ctx, req.(*DeleteSubscriptionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Subscriber_ModifyAckDeadline_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ModifyAckDeadlineRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SubscriberServer).ModifyAckDeadline(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1beta2.Subscriber/ModifyAckDeadline", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SubscriberServer).ModifyAckDeadline(ctx, req.(*ModifyAckDeadlineRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Subscriber_Acknowledge_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AcknowledgeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SubscriberServer).Acknowledge(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1beta2.Subscriber/Acknowledge", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SubscriberServer).Acknowledge(ctx, req.(*AcknowledgeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Subscriber_Pull_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PullRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SubscriberServer).Pull(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1beta2.Subscriber/Pull", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SubscriberServer).Pull(ctx, req.(*PullRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Subscriber_ModifyPushConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ModifyPushConfigRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SubscriberServer).ModifyPushConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1beta2.Subscriber/ModifyPushConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SubscriberServer).ModifyPushConfig(ctx, req.(*ModifyPushConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Subscriber_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.pubsub.v1beta2.Subscriber", - HandlerType: (*SubscriberServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateSubscription", - Handler: _Subscriber_CreateSubscription_Handler, - }, - { - MethodName: "GetSubscription", - Handler: _Subscriber_GetSubscription_Handler, - }, - { - MethodName: "ListSubscriptions", - Handler: _Subscriber_ListSubscriptions_Handler, - }, - { - MethodName: "DeleteSubscription", - Handler: _Subscriber_DeleteSubscription_Handler, - }, - { - MethodName: "ModifyAckDeadline", - Handler: _Subscriber_ModifyAckDeadline_Handler, - }, - { - MethodName: "Acknowledge", - Handler: _Subscriber_Acknowledge_Handler, - }, - { - MethodName: "Pull", - Handler: _Subscriber_Pull_Handler, - }, - { - MethodName: "ModifyPushConfig", - Handler: _Subscriber_ModifyPushConfig_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/pubsub/v1beta2/pubsub.proto", -} - -// PublisherClient is the client API for Publisher service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type PublisherClient interface { - // Creates the given topic with the given name. - CreateTopic(ctx context.Context, in *Topic, opts ...grpc.CallOption) (*Topic, error) - // Adds one or more messages to the topic. Returns NOT_FOUND if the topic 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) - // Lists matching topics. - ListTopics(ctx context.Context, in *ListTopicsRequest, opts ...grpc.CallOption) (*ListTopicsResponse, error) - // Lists the name of the subscriptions for this topic. - ListTopicSubscriptions(ctx context.Context, in *ListTopicSubscriptionsRequest, opts ...grpc.CallOption) (*ListTopicSubscriptionsResponse, error) - // Deletes the topic with the given name. Returns NOT_FOUND if the topic does - // not exist. After a topic is deleted, a new topic may be created with the - // same name; this is an entirely new topic with none of the old - // configuration or subscriptions. Existing subscriptions to this topic are - // not deleted. - DeleteTopic(ctx context.Context, in *DeleteTopicRequest, opts ...grpc.CallOption) (*empty.Empty, error) -} - -type publisherClient struct { - cc *grpc.ClientConn -} - -func NewPublisherClient(cc *grpc.ClientConn) PublisherClient { - return &publisherClient{cc} -} - -func (c *publisherClient) CreateTopic(ctx context.Context, in *Topic, opts ...grpc.CallOption) (*Topic, error) { - out := new(Topic) - err := c.cc.Invoke(ctx, "/google.pubsub.v1beta2.Publisher/CreateTopic", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *publisherClient) Publish(ctx context.Context, in *PublishRequest, opts ...grpc.CallOption) (*PublishResponse, error) { - out := new(PublishResponse) - err := c.cc.Invoke(ctx, "/google.pubsub.v1beta2.Publisher/Publish", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *publisherClient) GetTopic(ctx context.Context, in *GetTopicRequest, opts ...grpc.CallOption) (*Topic, error) { - out := new(Topic) - err := c.cc.Invoke(ctx, "/google.pubsub.v1beta2.Publisher/GetTopic", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *publisherClient) ListTopics(ctx context.Context, in *ListTopicsRequest, opts ...grpc.CallOption) (*ListTopicsResponse, error) { - out := new(ListTopicsResponse) - err := c.cc.Invoke(ctx, "/google.pubsub.v1beta2.Publisher/ListTopics", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *publisherClient) ListTopicSubscriptions(ctx context.Context, in *ListTopicSubscriptionsRequest, opts ...grpc.CallOption) (*ListTopicSubscriptionsResponse, error) { - out := new(ListTopicSubscriptionsResponse) - err := c.cc.Invoke(ctx, "/google.pubsub.v1beta2.Publisher/ListTopicSubscriptions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *publisherClient) DeleteTopic(ctx context.Context, in *DeleteTopicRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.pubsub.v1beta2.Publisher/DeleteTopic", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// PublisherServer is the server API for Publisher service. -type PublisherServer interface { - // Creates the given topic with the given name. - CreateTopic(context.Context, *Topic) (*Topic, error) - // Adds one or more messages to the topic. Returns NOT_FOUND if the topic does - // not exist. - Publish(context.Context, *PublishRequest) (*PublishResponse, error) - // Gets the configuration of a topic. - GetTopic(context.Context, *GetTopicRequest) (*Topic, error) - // Lists matching topics. - ListTopics(context.Context, *ListTopicsRequest) (*ListTopicsResponse, error) - // Lists the name of the subscriptions for this topic. - ListTopicSubscriptions(context.Context, *ListTopicSubscriptionsRequest) (*ListTopicSubscriptionsResponse, error) - // Deletes the topic with the given name. Returns NOT_FOUND if the topic does - // not exist. After a topic is deleted, a new topic may be created with the - // same name; this is an entirely new topic with none of the old - // configuration or subscriptions. Existing subscriptions to this topic are - // not deleted. - DeleteTopic(context.Context, *DeleteTopicRequest) (*empty.Empty, error) -} - -// UnimplementedPublisherServer can be embedded to have forward compatible implementations. -type UnimplementedPublisherServer struct { -} - -func (*UnimplementedPublisherServer) CreateTopic(ctx context.Context, req *Topic) (*Topic, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateTopic not implemented") -} -func (*UnimplementedPublisherServer) Publish(ctx context.Context, req *PublishRequest) (*PublishResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Publish not implemented") -} -func (*UnimplementedPublisherServer) GetTopic(ctx context.Context, req *GetTopicRequest) (*Topic, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTopic not implemented") -} -func (*UnimplementedPublisherServer) ListTopics(ctx context.Context, req *ListTopicsRequest) (*ListTopicsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListTopics not implemented") -} -func (*UnimplementedPublisherServer) ListTopicSubscriptions(ctx context.Context, req *ListTopicSubscriptionsRequest) (*ListTopicSubscriptionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListTopicSubscriptions not implemented") -} -func (*UnimplementedPublisherServer) DeleteTopic(ctx context.Context, req *DeleteTopicRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteTopic not implemented") -} - -func RegisterPublisherServer(s *grpc.Server, srv PublisherServer) { - s.RegisterService(&_Publisher_serviceDesc, srv) -} - -func _Publisher_CreateTopic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Topic) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PublisherServer).CreateTopic(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1beta2.Publisher/CreateTopic", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PublisherServer).CreateTopic(ctx, req.(*Topic)) - } - return interceptor(ctx, in, info, handler) -} - -func _Publisher_Publish_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PublishRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PublisherServer).Publish(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1beta2.Publisher/Publish", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PublisherServer).Publish(ctx, req.(*PublishRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Publisher_GetTopic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTopicRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PublisherServer).GetTopic(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1beta2.Publisher/GetTopic", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PublisherServer).GetTopic(ctx, req.(*GetTopicRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Publisher_ListTopics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListTopicsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PublisherServer).ListTopics(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1beta2.Publisher/ListTopics", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PublisherServer).ListTopics(ctx, req.(*ListTopicsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Publisher_ListTopicSubscriptions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListTopicSubscriptionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PublisherServer).ListTopicSubscriptions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1beta2.Publisher/ListTopicSubscriptions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PublisherServer).ListTopicSubscriptions(ctx, req.(*ListTopicSubscriptionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Publisher_DeleteTopic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteTopicRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PublisherServer).DeleteTopic(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.pubsub.v1beta2.Publisher/DeleteTopic", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PublisherServer).DeleteTopic(ctx, req.(*DeleteTopicRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Publisher_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.pubsub.v1beta2.Publisher", - HandlerType: (*PublisherServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateTopic", - Handler: _Publisher_CreateTopic_Handler, - }, - { - MethodName: "Publish", - Handler: _Publisher_Publish_Handler, - }, - { - MethodName: "GetTopic", - Handler: _Publisher_GetTopic_Handler, - }, - { - MethodName: "ListTopics", - Handler: _Publisher_ListTopics_Handler, - }, - { - MethodName: "ListTopicSubscriptions", - Handler: _Publisher_ListTopicSubscriptions_Handler, - }, - { - MethodName: "DeleteTopic", - Handler: _Publisher_DeleteTopic_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/pubsub/v1beta2/pubsub.proto", -} 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 deleted file mode 100644 index 9ff770b5..00000000 --- a/vendor/google.golang.org/genproto/googleapis/rpc/code/code.pb.go +++ /dev/null @@ -1,251 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/rpc/code.proto - -package code - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// The canonical error codes for Google APIs. -// -// -// Sometimes multiple error codes may apply. Services should return -// the most specific error code that applies. For example, prefer -// `OUT_OF_RANGE` over `FAILED_PRECONDITION` if both codes apply. -// Similarly prefer `NOT_FOUND` or `ALREADY_EXISTS` over `FAILED_PRECONDITION`. -type Code int32 - -const ( - // Not an error; returned on success - // - // HTTP Mapping: 200 OK - Code_OK Code = 0 - // The operation was cancelled, typically by the caller. - // - // HTTP Mapping: 499 Client Closed Request - Code_CANCELLED Code = 1 - // Unknown error. For example, this error may be returned when - // a `Status` value received from another address space belongs to - // an error space that is not known in this address space. Also - // errors raised by APIs that do not return enough error information - // may be converted to this error. - // - // HTTP Mapping: 500 Internal Server Error - Code_UNKNOWN Code = 2 - // The client specified an invalid argument. Note that this differs - // from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments - // that are problematic regardless of the state of the system - // (e.g., a malformed file name). - // - // HTTP Mapping: 400 Bad Request - Code_INVALID_ARGUMENT Code = 3 - // The deadline expired before the operation could complete. For operations - // that change the state of the system, this error may be returned - // even if the operation has completed successfully. For example, a - // successful response from a server could have been delayed long - // enough for the deadline to expire. - // - // HTTP Mapping: 504 Gateway Timeout - Code_DEADLINE_EXCEEDED Code = 4 - // Some requested entity (e.g., file or directory) was not found. - // - // Note to server developers: if a request is denied for an entire class - // of users, such as gradual feature rollout or undocumented whitelist, - // `NOT_FOUND` may be used. If a request is denied for some users within - // a class of users, such as user-based access control, `PERMISSION_DENIED` - // must be used. - // - // HTTP Mapping: 404 Not Found - Code_NOT_FOUND Code = 5 - // The entity that a client attempted to create (e.g., file or directory) - // already exists. - // - // HTTP Mapping: 409 Conflict - Code_ALREADY_EXISTS Code = 6 - // The caller does not have permission to execute the specified - // operation. `PERMISSION_DENIED` must not be used for rejections - // caused by exhausting some resource (use `RESOURCE_EXHAUSTED` - // instead for those errors). `PERMISSION_DENIED` must not be - // used if the caller can not be identified (use `UNAUTHENTICATED` - // instead for those errors). This error code does not imply the - // request is valid or the requested entity exists or satisfies - // other pre-conditions. - // - // HTTP Mapping: 403 Forbidden - Code_PERMISSION_DENIED Code = 7 - // The request does not have valid authentication credentials for the - // operation. - // - // HTTP Mapping: 401 Unauthorized - Code_UNAUTHENTICATED Code = 16 - // Some resource has been exhausted, perhaps a per-user quota, or - // perhaps the entire file system is out of space. - // - // HTTP Mapping: 429 Too Many Requests - Code_RESOURCE_EXHAUSTED Code = 8 - // The operation was rejected because the system is not in a state - // required for the operation's execution. For example, the directory - // to be deleted is non-empty, an rmdir operation is applied to - // a non-directory, etc. - // - // Service implementors can use the following guidelines to decide - // between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: - // (a) Use `UNAVAILABLE` if the client can retry just the failing call. - // (b) Use `ABORTED` if the client should retry at a higher level - // (e.g., when a client-specified test-and-set fails, indicating the - // client should restart a read-modify-write sequence). - // (c) Use `FAILED_PRECONDITION` if the client should not retry until - // the system state has been explicitly fixed. E.g., if an "rmdir" - // fails because the directory is non-empty, `FAILED_PRECONDITION` - // should be returned since the client should not retry unless - // the files are deleted from the directory. - // - // HTTP Mapping: 400 Bad Request - Code_FAILED_PRECONDITION Code = 9 - // The operation was aborted, typically due to a concurrency issue such as - // a sequencer check failure or transaction abort. - // - // See the guidelines above for deciding between `FAILED_PRECONDITION`, - // `ABORTED`, and `UNAVAILABLE`. - // - // HTTP Mapping: 409 Conflict - Code_ABORTED Code = 10 - // The operation was attempted past the valid range. E.g., seeking or - // reading past end-of-file. - // - // Unlike `INVALID_ARGUMENT`, this error indicates a problem that may - // be fixed if the system state changes. For example, a 32-bit file - // system will generate `INVALID_ARGUMENT` if asked to read at an - // offset that is not in the range [0,2^32-1], but it will generate - // `OUT_OF_RANGE` if asked to read from an offset past the current - // file size. - // - // There is a fair bit of overlap between `FAILED_PRECONDITION` and - // `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific - // error) when it applies so that callers who are iterating through - // a space can easily look for an `OUT_OF_RANGE` error to detect when - // they are done. - // - // HTTP Mapping: 400 Bad Request - Code_OUT_OF_RANGE Code = 11 - // The operation is not implemented or is not supported/enabled in this - // service. - // - // HTTP Mapping: 501 Not Implemented - Code_UNIMPLEMENTED Code = 12 - // Internal errors. This means that some invariants expected by the - // underlying system have been broken. This error code is reserved - // for serious errors. - // - // HTTP Mapping: 500 Internal Server Error - Code_INTERNAL Code = 13 - // The service is currently unavailable. This is most likely a - // transient condition, which can be corrected by retrying with - // a backoff. - // - // See the guidelines above for deciding between `FAILED_PRECONDITION`, - // `ABORTED`, and `UNAVAILABLE`. - // - // HTTP Mapping: 503 Service Unavailable - Code_UNAVAILABLE Code = 14 - // Unrecoverable data loss or corruption. - // - // HTTP Mapping: 500 Internal Server Error - Code_DATA_LOSS Code = 15 -) - -var Code_name = map[int32]string{ - 0: "OK", - 1: "CANCELLED", - 2: "UNKNOWN", - 3: "INVALID_ARGUMENT", - 4: "DEADLINE_EXCEEDED", - 5: "NOT_FOUND", - 6: "ALREADY_EXISTS", - 7: "PERMISSION_DENIED", - 16: "UNAUTHENTICATED", - 8: "RESOURCE_EXHAUSTED", - 9: "FAILED_PRECONDITION", - 10: "ABORTED", - 11: "OUT_OF_RANGE", - 12: "UNIMPLEMENTED", - 13: "INTERNAL", - 14: "UNAVAILABLE", - 15: "DATA_LOSS", -} - -var Code_value = map[string]int32{ - "OK": 0, - "CANCELLED": 1, - "UNKNOWN": 2, - "INVALID_ARGUMENT": 3, - "DEADLINE_EXCEEDED": 4, - "NOT_FOUND": 5, - "ALREADY_EXISTS": 6, - "PERMISSION_DENIED": 7, - "UNAUTHENTICATED": 16, - "RESOURCE_EXHAUSTED": 8, - "FAILED_PRECONDITION": 9, - "ABORTED": 10, - "OUT_OF_RANGE": 11, - "UNIMPLEMENTED": 12, - "INTERNAL": 13, - "UNAVAILABLE": 14, - "DATA_LOSS": 15, -} - -func (x Code) String() string { - return proto.EnumName(Code_name, int32(x)) -} - -func (Code) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_fe593a732623ccf0, []int{0} -} - -func init() { - proto.RegisterEnum("google.rpc.Code", Code_name, Code_value) -} - -func init() { proto.RegisterFile("google/rpc/code.proto", fileDescriptor_fe593a732623ccf0) } - -var fileDescriptor_fe593a732623ccf0 = []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, - 0x36, 0x9f, 0x37, 0xad, 0x55, 0x67, 0xfd, 0xc9, 0x3f, 0x25, 0x70, 0xb1, 0x4a, 0x1a, 0x7d, 0x42, - 0x2a, 0x75, 0xf4, 0xc1, 0x13, 0xf1, 0x12, 0xbc, 0x1e, 0x72, 0x8b, 0xe8, 0xc5, 0x87, 0x99, 0xf1, - 0xee, 0xce, 0x0c, 0x5c, 0x76, 0xa5, 0x74, 0x8f, 0xfb, 0x65, 0x7f, 0xd8, 0x2d, 0x77, 0xe5, 0x61, - 0xbf, 0x38, 0xf4, 0xe5, 0x57, 0x51, 0xf0, 0x02, 0x2f, 0xfa, 0xc3, 0xee, 0xe3, 0x9f, 0x01, 0x9c, - 0x34, 0xe5, 0x61, 0xaf, 0x86, 0x30, 0x70, 0xb7, 0xf8, 0x46, 0x4d, 0x61, 0xd4, 0x90, 0x34, 0x6c, - 0x2d, 0x6b, 0x3c, 0x52, 0x63, 0x38, 0x4d, 0x72, 0x2b, 0xee, 0xb3, 0xe0, 0x40, 0xbd, 0x03, 0x34, - 0x72, 0x47, 0xd6, 0xe8, 0x4c, 0xfe, 0x3a, 0x6d, 0x58, 0x22, 0x1e, 0xab, 0x4b, 0x38, 0xd7, 0x4c, - 0xda, 0x1a, 0xe1, 0xcc, 0xdb, 0x86, 0x59, 0xb3, 0xc6, 0x93, 0x3a, 0x48, 0x5c, 0xcc, 0x6b, 0x97, - 0x44, 0xe3, 0x5b, 0xa5, 0x60, 0x46, 0xd6, 0x33, 0xe9, 0x2f, 0x99, 0xb7, 0x26, 0xc4, 0x80, 0xc3, - 0xfa, 0xb3, 0x65, 0xbf, 0x31, 0x21, 0x18, 0x27, 0x59, 0xb3, 0x18, 0xd6, 0x78, 0xaa, 0x2e, 0x60, - 0x9e, 0x84, 0x52, 0xbc, 0x61, 0x89, 0xa6, 0xa1, 0xc8, 0x1a, 0x51, 0xbd, 0x07, 0xe5, 0x39, 0xb8, - 0xe4, 0x9b, 0xba, 0xe5, 0x86, 0x52, 0xa8, 0xf8, 0x99, 0xfa, 0x00, 0x17, 0x6b, 0x32, 0x96, 0x75, - 0x6e, 0x3d, 0x37, 0x4e, 0xb4, 0x89, 0xc6, 0x09, 0x8e, 0xea, 0xe5, 0xb4, 0x72, 0xbe, 0xaa, 0x40, - 0x21, 0x4c, 0x5c, 0x8a, 0xd9, 0xad, 0xb3, 0x27, 0xb9, 0x66, 0x1c, 0xab, 0x73, 0x98, 0x26, 0x31, - 0x9b, 0xd6, 0x72, 0xb5, 0xc1, 0x1a, 0x27, 0x6a, 0x02, 0x67, 0x46, 0x22, 0x7b, 0x21, 0x8b, 0x53, - 0x35, 0x87, 0x71, 0x12, 0xba, 0x23, 0x63, 0x69, 0x65, 0x19, 0x67, 0xd5, 0x90, 0xa6, 0x48, 0xd9, - 0xba, 0x10, 0x70, 0xbe, 0xda, 0xc2, 0x6c, 0x57, 0x7e, 0x2c, 0x5e, 0xb3, 0x5c, 0x8d, 0x6a, 0x90, - 0x6d, 0x8d, 0xb8, 0x3d, 0xfa, 0x7a, 0xf5, 0x8f, 0xe8, 0xca, 0xe3, 0xfd, 0x53, 0xb7, 0x28, 0x7d, - 0xb7, 0xec, 0xf6, 0x4f, 0xcf, 0x05, 0x2c, 0x5f, 0xa8, 0xfb, 0xc3, 0xf7, 0x9f, 0xff, 0xab, 0xf9, - 0x54, 0x9f, 0xdf, 0x83, 0x63, 0xdf, 0x36, 0xdf, 0x86, 0xcf, 0xaa, 0xab, 0xbf, 0x01, 0x00, 0x00, - 0xff, 0xff, 0x8e, 0x97, 0x77, 0xc2, 0xbf, 0x01, 0x00, 0x00, -} 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 deleted file mode 100644 index 4e165422..00000000 --- a/vendor/google.golang.org/genproto/googleapis/rpc/errdetails/error_details.pb.go +++ /dev/null @@ -1,779 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/rpc/error_details.proto - -package errdetails - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Describes when the clients can retry a failed request. Clients could ignore -// the recommendation here or retry when this information is missing from error -// responses. -// -// It's always recommended that clients should use exponential backoff when -// retrying. -// -// Clients should wait until `retry_delay` amount of time has passed since -// receiving the error response before retrying. If retrying requests also -// fail, clients should use an exponential backoff scheme to gradually increase -// the delay between retries based on `retry_delay`, until either a maximum -// number of retires have been reached or a maximum retry delay cap has been -// reached. -type RetryInfo struct { - // Clients should wait at least this long between retrying the same request. - RetryDelay *duration.Duration `protobuf:"bytes,1,opt,name=retry_delay,json=retryDelay,proto3" json:"retry_delay,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_851816e4d6b6361a, []int{0} -} - -func (m *RetryInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RetryInfo.Unmarshal(m, b) -} -func (m *RetryInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RetryInfo.Marshal(b, m, deterministic) -} -func (m *RetryInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_RetryInfo.Merge(m, src) -} -func (m *RetryInfo) XXX_Size() int { - return xxx_messageInfo_RetryInfo.Size(m) -} -func (m *RetryInfo) XXX_DiscardUnknown() { - xxx_messageInfo_RetryInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_RetryInfo proto.InternalMessageInfo - -func (m *RetryInfo) GetRetryDelay() *duration.Duration { - if m != nil { - return m.RetryDelay - } - return nil -} - -// Describes additional debugging info. -type DebugInfo struct { - // The stack trace entries indicating where the error occurred. - StackEntries []string `protobuf:"bytes,1,rep,name=stack_entries,json=stackEntries,proto3" json:"stack_entries,omitempty"` - // Additional debugging information provided by the server. - Detail string `protobuf:"bytes,2,opt,name=detail,proto3" json:"detail,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_851816e4d6b6361a, []int{1} -} - -func (m *DebugInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DebugInfo.Unmarshal(m, b) -} -func (m *DebugInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DebugInfo.Marshal(b, m, deterministic) -} -func (m *DebugInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_DebugInfo.Merge(m, src) -} -func (m *DebugInfo) XXX_Size() int { - return xxx_messageInfo_DebugInfo.Size(m) -} -func (m *DebugInfo) XXX_DiscardUnknown() { - xxx_messageInfo_DebugInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_DebugInfo proto.InternalMessageInfo - -func (m *DebugInfo) GetStackEntries() []string { - if m != nil { - return m.StackEntries - } - return nil -} - -func (m *DebugInfo) GetDetail() string { - if m != nil { - return m.Detail - } - return "" -} - -// Describes how a quota check failed. -// -// For example if a daily limit was exceeded for the calling project, -// a service could respond with a QuotaFailure detail containing the project -// id and the description of the quota limit that was exceeded. If the -// calling project hasn't enabled the service in the developer console, then -// a service could respond with the project id and set `service_disabled` -// to true. -// -// Also see RetryDetail and Help types for other details about handling a -// quota failure. -type QuotaFailure struct { - // Describes all quota violations. - Violations []*QuotaFailure_Violation `protobuf:"bytes,1,rep,name=violations,proto3" json:"violations,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_851816e4d6b6361a, []int{2} -} - -func (m *QuotaFailure) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QuotaFailure.Unmarshal(m, b) -} -func (m *QuotaFailure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QuotaFailure.Marshal(b, m, deterministic) -} -func (m *QuotaFailure) XXX_Merge(src proto.Message) { - xxx_messageInfo_QuotaFailure.Merge(m, src) -} -func (m *QuotaFailure) XXX_Size() int { - return xxx_messageInfo_QuotaFailure.Size(m) -} -func (m *QuotaFailure) XXX_DiscardUnknown() { - xxx_messageInfo_QuotaFailure.DiscardUnknown(m) -} - -var xxx_messageInfo_QuotaFailure proto.InternalMessageInfo - -func (m *QuotaFailure) GetViolations() []*QuotaFailure_Violation { - if m != nil { - return m.Violations - } - return nil -} - -// A message type used to describe a single quota violation. For example, a -// daily quota or a custom quota that was exceeded. -type QuotaFailure_Violation struct { - // The subject on which the quota check failed. - // For example, "clientip:" or "project:". - Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` - // A description of how the quota check failed. Clients can use this - // description to find more about the quota configuration in the service's - // public documentation, or find the relevant quota limit to adjust through - // developer console. - // - // For example: "Service disabled" or "Daily Limit for read operations - // exceeded". - 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 *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_851816e4d6b6361a, []int{2, 0} -} - -func (m *QuotaFailure_Violation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QuotaFailure_Violation.Unmarshal(m, b) -} -func (m *QuotaFailure_Violation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QuotaFailure_Violation.Marshal(b, m, deterministic) -} -func (m *QuotaFailure_Violation) XXX_Merge(src proto.Message) { - xxx_messageInfo_QuotaFailure_Violation.Merge(m, src) -} -func (m *QuotaFailure_Violation) XXX_Size() int { - return xxx_messageInfo_QuotaFailure_Violation.Size(m) -} -func (m *QuotaFailure_Violation) XXX_DiscardUnknown() { - xxx_messageInfo_QuotaFailure_Violation.DiscardUnknown(m) -} - -var xxx_messageInfo_QuotaFailure_Violation proto.InternalMessageInfo - -func (m *QuotaFailure_Violation) GetSubject() string { - if m != nil { - return m.Subject - } - return "" -} - -func (m *QuotaFailure_Violation) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -// Describes what preconditions have failed. -// -// For example, if an RPC failed because it required the Terms of Service to be -// acknowledged, it could list the terms of service violation in the -// PreconditionFailure message. -type PreconditionFailure struct { - // Describes all precondition violations. - Violations []*PreconditionFailure_Violation `protobuf:"bytes,1,rep,name=violations,proto3" json:"violations,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_851816e4d6b6361a, []int{3} -} - -func (m *PreconditionFailure) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PreconditionFailure.Unmarshal(m, b) -} -func (m *PreconditionFailure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PreconditionFailure.Marshal(b, m, deterministic) -} -func (m *PreconditionFailure) XXX_Merge(src proto.Message) { - xxx_messageInfo_PreconditionFailure.Merge(m, src) -} -func (m *PreconditionFailure) XXX_Size() int { - return xxx_messageInfo_PreconditionFailure.Size(m) -} -func (m *PreconditionFailure) XXX_DiscardUnknown() { - xxx_messageInfo_PreconditionFailure.DiscardUnknown(m) -} - -var xxx_messageInfo_PreconditionFailure proto.InternalMessageInfo - -func (m *PreconditionFailure) GetViolations() []*PreconditionFailure_Violation { - if m != nil { - return m.Violations - } - return nil -} - -// A message type used to describe a single precondition failure. -type PreconditionFailure_Violation struct { - // The type of PreconditionFailure. We recommend using a service-specific - // enum type to define the supported precondition violation types. For - // example, "TOS" for "Terms of Service violation". - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - // The subject, relative to the type, that failed. - // For example, "google.com/cloud" relative to the "TOS" type would - // indicate which terms of service is being referenced. - Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` - // A description of how the precondition failed. Developers can use this - // description to understand how to fix the failure. - // - // For example: "Terms of service not accepted". - 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 *PreconditionFailure_Violation) Reset() { *m = PreconditionFailure_Violation{} } -func (m *PreconditionFailure_Violation) String() string { return proto.CompactTextString(m) } -func (*PreconditionFailure_Violation) ProtoMessage() {} -func (*PreconditionFailure_Violation) Descriptor() ([]byte, []int) { - return fileDescriptor_851816e4d6b6361a, []int{3, 0} -} - -func (m *PreconditionFailure_Violation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PreconditionFailure_Violation.Unmarshal(m, b) -} -func (m *PreconditionFailure_Violation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PreconditionFailure_Violation.Marshal(b, m, deterministic) -} -func (m *PreconditionFailure_Violation) XXX_Merge(src proto.Message) { - xxx_messageInfo_PreconditionFailure_Violation.Merge(m, src) -} -func (m *PreconditionFailure_Violation) XXX_Size() int { - return xxx_messageInfo_PreconditionFailure_Violation.Size(m) -} -func (m *PreconditionFailure_Violation) XXX_DiscardUnknown() { - xxx_messageInfo_PreconditionFailure_Violation.DiscardUnknown(m) -} - -var xxx_messageInfo_PreconditionFailure_Violation proto.InternalMessageInfo - -func (m *PreconditionFailure_Violation) GetType() string { - if m != nil { - return m.Type - } - return "" -} - -func (m *PreconditionFailure_Violation) GetSubject() string { - if m != nil { - return m.Subject - } - return "" -} - -func (m *PreconditionFailure_Violation) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -// Describes violations in a client request. This error type focuses on the -// syntactic aspects of the request. -type BadRequest struct { - // Describes all violations in a client request. - FieldViolations []*BadRequest_FieldViolation `protobuf:"bytes,1,rep,name=field_violations,json=fieldViolations,proto3" json:"field_violations,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_851816e4d6b6361a, []int{4} -} - -func (m *BadRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BadRequest.Unmarshal(m, b) -} -func (m *BadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BadRequest.Marshal(b, m, deterministic) -} -func (m *BadRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BadRequest.Merge(m, src) -} -func (m *BadRequest) XXX_Size() int { - return xxx_messageInfo_BadRequest.Size(m) -} -func (m *BadRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BadRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BadRequest proto.InternalMessageInfo - -func (m *BadRequest) GetFieldViolations() []*BadRequest_FieldViolation { - if m != nil { - return m.FieldViolations - } - return nil -} - -// A message type used to describe a single bad request field. -type BadRequest_FieldViolation struct { - // A path leading to a field in the request body. The value will be a - // sequence of dot-separated identifiers that identify a protocol buffer - // field. E.g., "field_violations.field" would identify this field. - Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` - // A description of why the request element is bad. - 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 *BadRequest_FieldViolation) Reset() { *m = BadRequest_FieldViolation{} } -func (m *BadRequest_FieldViolation) String() string { return proto.CompactTextString(m) } -func (*BadRequest_FieldViolation) ProtoMessage() {} -func (*BadRequest_FieldViolation) Descriptor() ([]byte, []int) { - return fileDescriptor_851816e4d6b6361a, []int{4, 0} -} - -func (m *BadRequest_FieldViolation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BadRequest_FieldViolation.Unmarshal(m, b) -} -func (m *BadRequest_FieldViolation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BadRequest_FieldViolation.Marshal(b, m, deterministic) -} -func (m *BadRequest_FieldViolation) XXX_Merge(src proto.Message) { - xxx_messageInfo_BadRequest_FieldViolation.Merge(m, src) -} -func (m *BadRequest_FieldViolation) XXX_Size() int { - return xxx_messageInfo_BadRequest_FieldViolation.Size(m) -} -func (m *BadRequest_FieldViolation) XXX_DiscardUnknown() { - xxx_messageInfo_BadRequest_FieldViolation.DiscardUnknown(m) -} - -var xxx_messageInfo_BadRequest_FieldViolation proto.InternalMessageInfo - -func (m *BadRequest_FieldViolation) GetField() string { - if m != nil { - return m.Field - } - return "" -} - -func (m *BadRequest_FieldViolation) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -// Contains metadata about the request that clients can attach when filing a bug -// or providing other forms of feedback. -type RequestInfo struct { - // An opaque string that should only be interpreted by the service generating - // it. For example, it can be used to identify requests in the service's logs. - RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - // Any data that was used to serve this request. For example, an encrypted - // stack trace that can be sent back to the service provider for debugging. - ServingData string `protobuf:"bytes,2,opt,name=serving_data,json=servingData,proto3" json:"serving_data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_851816e4d6b6361a, []int{5} -} - -func (m *RequestInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RequestInfo.Unmarshal(m, b) -} -func (m *RequestInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RequestInfo.Marshal(b, m, deterministic) -} -func (m *RequestInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_RequestInfo.Merge(m, src) -} -func (m *RequestInfo) XXX_Size() int { - return xxx_messageInfo_RequestInfo.Size(m) -} -func (m *RequestInfo) XXX_DiscardUnknown() { - xxx_messageInfo_RequestInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_RequestInfo proto.InternalMessageInfo - -func (m *RequestInfo) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} - -func (m *RequestInfo) GetServingData() string { - if m != nil { - return m.ServingData - } - return "" -} - -// Describes the resource that is being accessed. -type ResourceInfo struct { - // A name for the type of resource being accessed, e.g. "sql table", - // "cloud storage bucket", "file", "Google calendar"; or the type URL - // of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic". - ResourceType string `protobuf:"bytes,1,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"` - // The name of the resource being accessed. For example, a shared calendar - // name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current - // error is - // [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED]. - ResourceName string `protobuf:"bytes,2,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` - // The owner of the resource (optional). - // For example, "user:" or "project:". - Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` - // Describes what error is encountered when accessing this resource. - // For example, updating a cloud project may require the `writer` permission - // on the developer console project. - Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_851816e4d6b6361a, []int{6} -} - -func (m *ResourceInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResourceInfo.Unmarshal(m, b) -} -func (m *ResourceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResourceInfo.Marshal(b, m, deterministic) -} -func (m *ResourceInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResourceInfo.Merge(m, src) -} -func (m *ResourceInfo) XXX_Size() int { - return xxx_messageInfo_ResourceInfo.Size(m) -} -func (m *ResourceInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ResourceInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_ResourceInfo proto.InternalMessageInfo - -func (m *ResourceInfo) GetResourceType() string { - if m != nil { - return m.ResourceType - } - return "" -} - -func (m *ResourceInfo) GetResourceName() string { - if m != nil { - return m.ResourceName - } - return "" -} - -func (m *ResourceInfo) GetOwner() string { - if m != nil { - return m.Owner - } - return "" -} - -func (m *ResourceInfo) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -// Provides links to documentation or for performing an out of band action. -// -// For example, if a quota check failed with an error indicating the calling -// project hasn't enabled the accessed service, this can contain a URL pointing -// directly to the right place in the developer console to flip the bit. -type Help struct { - // URL(s) pointing to additional information on handling the current error. - Links []*Help_Link `protobuf:"bytes,1,rep,name=links,proto3" json:"links,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_851816e4d6b6361a, []int{7} -} - -func (m *Help) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Help.Unmarshal(m, b) -} -func (m *Help) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Help.Marshal(b, m, deterministic) -} -func (m *Help) XXX_Merge(src proto.Message) { - xxx_messageInfo_Help.Merge(m, src) -} -func (m *Help) XXX_Size() int { - return xxx_messageInfo_Help.Size(m) -} -func (m *Help) XXX_DiscardUnknown() { - xxx_messageInfo_Help.DiscardUnknown(m) -} - -var xxx_messageInfo_Help proto.InternalMessageInfo - -func (m *Help) GetLinks() []*Help_Link { - if m != nil { - return m.Links - } - return nil -} - -// Describes a URL link. -type Help_Link struct { - // Describes what the link offers. - Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` - // The URL of the link. - 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 *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_851816e4d6b6361a, []int{7, 0} -} - -func (m *Help_Link) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Help_Link.Unmarshal(m, b) -} -func (m *Help_Link) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Help_Link.Marshal(b, m, deterministic) -} -func (m *Help_Link) XXX_Merge(src proto.Message) { - xxx_messageInfo_Help_Link.Merge(m, src) -} -func (m *Help_Link) XXX_Size() int { - return xxx_messageInfo_Help_Link.Size(m) -} -func (m *Help_Link) XXX_DiscardUnknown() { - xxx_messageInfo_Help_Link.DiscardUnknown(m) -} - -var xxx_messageInfo_Help_Link proto.InternalMessageInfo - -func (m *Help_Link) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *Help_Link) GetUrl() string { - if m != nil { - return m.Url - } - return "" -} - -// Provides a localized error message that is safe to return to the user -// which can be attached to an RPC error. -type LocalizedMessage struct { - // The locale used following the specification defined at - // http://www.rfc-editor.org/rfc/bcp/bcp47.txt. - // Examples are: "en-US", "fr-CH", "es-MX" - Locale string `protobuf:"bytes,1,opt,name=locale,proto3" json:"locale,omitempty"` - // The localized error message in the above locale. - 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 *LocalizedMessage) Reset() { *m = LocalizedMessage{} } -func (m *LocalizedMessage) String() string { return proto.CompactTextString(m) } -func (*LocalizedMessage) ProtoMessage() {} -func (*LocalizedMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_851816e4d6b6361a, []int{8} -} - -func (m *LocalizedMessage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LocalizedMessage.Unmarshal(m, b) -} -func (m *LocalizedMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LocalizedMessage.Marshal(b, m, deterministic) -} -func (m *LocalizedMessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocalizedMessage.Merge(m, src) -} -func (m *LocalizedMessage) XXX_Size() int { - return xxx_messageInfo_LocalizedMessage.Size(m) -} -func (m *LocalizedMessage) XXX_DiscardUnknown() { - xxx_messageInfo_LocalizedMessage.DiscardUnknown(m) -} - -var xxx_messageInfo_LocalizedMessage proto.InternalMessageInfo - -func (m *LocalizedMessage) GetLocale() string { - if m != nil { - return m.Locale - } - return "" -} - -func (m *LocalizedMessage) GetMessage() string { - if m != nil { - return m.Message - } - return "" -} - -func init() { - proto.RegisterType((*RetryInfo)(nil), "google.rpc.RetryInfo") - proto.RegisterType((*DebugInfo)(nil), "google.rpc.DebugInfo") - proto.RegisterType((*QuotaFailure)(nil), "google.rpc.QuotaFailure") - proto.RegisterType((*QuotaFailure_Violation)(nil), "google.rpc.QuotaFailure.Violation") - proto.RegisterType((*PreconditionFailure)(nil), "google.rpc.PreconditionFailure") - proto.RegisterType((*PreconditionFailure_Violation)(nil), "google.rpc.PreconditionFailure.Violation") - proto.RegisterType((*BadRequest)(nil), "google.rpc.BadRequest") - proto.RegisterType((*BadRequest_FieldViolation)(nil), "google.rpc.BadRequest.FieldViolation") - proto.RegisterType((*RequestInfo)(nil), "google.rpc.RequestInfo") - proto.RegisterType((*ResourceInfo)(nil), "google.rpc.ResourceInfo") - proto.RegisterType((*Help)(nil), "google.rpc.Help") - proto.RegisterType((*Help_Link)(nil), "google.rpc.Help.Link") - proto.RegisterType((*LocalizedMessage)(nil), "google.rpc.LocalizedMessage") -} - -func init() { proto.RegisterFile("google/rpc/error_details.proto", fileDescriptor_851816e4d6b6361a) } - -var fileDescriptor_851816e4d6b6361a = []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, - 0x8a, 0x90, 0x1c, 0xa9, 0xec, 0xca, 0x02, 0x29, 0xb8, 0x7f, 0x52, 0x81, 0x60, 0x21, 0x16, 0xb0, - 0xb0, 0x26, 0xf6, 0x8d, 0x35, 0x74, 0xe2, 0x31, 0x33, 0xe3, 0xa2, 0xf0, 0x14, 0xec, 0xd9, 0xb1, - 0xe2, 0x25, 0x78, 0x37, 0x34, 0x9e, 0x99, 0xc6, 0x6d, 0x0a, 0x62, 0x37, 0xe7, 0xcc, 0x99, 0xe3, - 0x73, 0xaf, 0xae, 0x2f, 0x3c, 0x28, 0x38, 0x2f, 0x18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59, 0x15, 0x3c, 0x85, 0x4d, 0x46, 0xcb, 0x33, 0xd7, 0xfc, 0x3b, - 0xed, 0xe6, 0x6b, 0x41, 0x74, 0x4a, 0xcb, 0xb3, 0xc4, 0x68, 0x86, 0xfb, 0xd0, 0xd5, 0xf0, 0xaa, - 0xbd, 0xb7, 0x66, 0x1f, 0xec, 0x40, 0xa7, 0x16, 0xee, 0x07, 0xd3, 0xc7, 0x30, 0x86, 0x9d, 0x53, - 0x9e, 0x11, 0x46, 0xbf, 0x62, 0xfe, 0x0a, 0xa5, 0x24, 0x05, 0xea, 0x3f, 0x91, 0x69, 0xce, 0xd5, - 0x6f, 0x91, 0x9e, 0xb3, 0x85, 0x91, 0xb8, 0x39, 0xb3, 0x70, 0xc2, 0x60, 0x3b, 0xe3, 0x8b, 0x56, - 0xc8, 0xc9, 0xcd, 0x03, 0xbd, 0x89, 0x62, 0xb3, 0x88, 0xa6, 0x7a, 0x55, 0x4c, 0xbd, 0x0f, 0x2f, - 0xac, 0xa0, 0xe0, 0x8c, 0x94, 0x45, 0xc4, 0x45, 0x31, 0x2e, 0xb0, 0x6c, 0x16, 0xc9, 0xd8, 0x5c, - 0x91, 0x8a, 0x4a, 0xb7, 0xc8, 0xec, 0x16, 0x7b, 0xbe, 0x3a, 0xfe, 0xd8, 0xe8, 0x24, 0xd3, 0x97, - 0xb3, 0xad, 0xe6, 0xc5, 0xb3, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x90, 0x15, 0x46, 0x2d, 0xf9, - 0x04, 0x00, 0x00, -} 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 deleted file mode 100644 index 0b9907f8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/rpc/status/status.pb.go +++ /dev/null @@ -1,163 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/rpc/status.proto - -package status - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - any "github.com/golang/protobuf/ptypes/any" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// The `Status` type defines a logical error model that is suitable for -// different programming environments, including REST APIs and RPC APIs. It is -// used by [gRPC](https://github.com/grpc). The error model is designed to be: -// -// - Simple to use and understand for most users -// - Flexible enough to meet unexpected needs -// -// # Overview -// -// The `Status` message contains three pieces of data: error code, error -// message, and error details. The error code should be an enum value of -// [google.rpc.Code][google.rpc.Code], but it may accept additional error codes -// if needed. The error message should be a developer-facing English message -// that helps developers *understand* and *resolve* the error. If a localized -// user-facing error message is needed, put the localized message in the error -// details or localize it in the client. The optional error details may contain -// arbitrary information about the error. There is a predefined set of error -// detail types in the package `google.rpc` that can be used for common error -// conditions. -// -// # Language mapping -// -// The `Status` message is the logical representation of the error model, but it -// is not necessarily the actual wire format. When the `Status` message is -// exposed in different client libraries and different wire protocols, it can be -// mapped differently. For example, it will likely be mapped to some exceptions -// in Java, but more likely mapped to some error codes in C. -// -// # Other uses -// -// The error model and the `Status` message can be used in a variety of -// environments, either with or without APIs, to provide a -// consistent developer experience across different environments. -// -// Example uses of this error model include: -// -// - Partial errors. If a service needs to return partial errors to the client, -// it may embed the `Status` in the normal response to indicate the partial -// errors. -// -// - Workflow errors. A typical workflow has multiple steps. Each step may -// have a `Status` message for error reporting. -// -// - Batch operations. If a client uses batch request and batch response, the -// `Status` message should be used directly inside batch response, one for -// each error sub-response. -// -// - Asynchronous operations. If an API call embeds asynchronous operation -// results in its response, the status of those operations should be -// represented directly using the `Status` message. -// -// - Logging. If some API errors are stored in logs, the message `Status` could -// be used directly after any stripping needed for security/privacy reasons. -type Status struct { - // The status code, which should be an enum value of - // [google.rpc.Code][google.rpc.Code]. - Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` - // A developer-facing error message, which should be in English. Any - // user-facing error message should be localized and sent in the - // [google.rpc.Status.details][google.rpc.Status.details] field, or localized - // by the client. - Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` - // A list of messages that carry the error details. There is a common set of - // message types for APIs to use. - Details []*any.Any `protobuf:"bytes,3,rep,name=details,proto3" json:"details,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_24d244abaf643bfe, []int{0} -} - -func (m *Status) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Status.Unmarshal(m, b) -} -func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Status.Marshal(b, m, deterministic) -} -func (m *Status) XXX_Merge(src proto.Message) { - xxx_messageInfo_Status.Merge(m, src) -} -func (m *Status) XXX_Size() int { - return xxx_messageInfo_Status.Size(m) -} -func (m *Status) XXX_DiscardUnknown() { - xxx_messageInfo_Status.DiscardUnknown(m) -} - -var xxx_messageInfo_Status proto.InternalMessageInfo - -func (m *Status) GetCode() int32 { - if m != nil { - return m.Code - } - return 0 -} - -func (m *Status) GetMessage() string { - if m != nil { - return m.Message - } - return "" -} - -func (m *Status) GetDetails() []*any.Any { - if m != nil { - return m.Details - } - return nil -} - -func init() { - proto.RegisterType((*Status)(nil), "google.rpc.Status") -} - -func init() { proto.RegisterFile("google/rpc/status.proto", fileDescriptor_24d244abaf643bfe) } - -var fileDescriptor_24d244abaf643bfe = []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, - 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x82, 0x48, 0xe8, 0x15, 0x15, 0x24, 0x4b, 0x49, 0x42, 0x15, 0x81, - 0x65, 0x92, 0x4a, 0xd3, 0xf4, 0x13, 0xf3, 0x2a, 0x21, 0xca, 0x94, 0xd2, 0xb8, 0xd8, 0x82, 0xc1, - 0xda, 0x84, 0x84, 0xb8, 0x58, 0x92, 0xf3, 0x53, 0x52, 0x25, 0x18, 0x15, 0x18, 0x35, 0x58, 0x83, - 0xc0, 0x6c, 0x21, 0x09, 0x2e, 0xf6, 0xdc, 0xd4, 0xe2, 0xe2, 0xc4, 0xf4, 0x54, 0x09, 0x26, 0x05, - 0x46, 0x0d, 0xce, 0x20, 0x18, 0x57, 0x48, 0x8f, 0x8b, 0x3d, 0x25, 0xb5, 0x24, 0x31, 0x33, 0xa7, - 0x58, 0x82, 0x59, 0x81, 0x59, 0x83, 0xdb, 0x48, 0x44, 0x0f, 0x6a, 0x21, 0xcc, 0x12, 0x3d, 0xc7, - 0xbc, 0xca, 0x20, 0x98, 0x22, 0xa7, 0x38, 0x2e, 0xbe, 0xe4, 0xfc, 0x5c, 0x3d, 0x84, 0xa3, 0x9c, - 0xb8, 0x21, 0xf6, 0x06, 0x80, 0x94, 0x07, 0x30, 0x46, 0x99, 0x43, 0xa5, 0xd2, 0xf3, 0x73, 0x12, - 0xf3, 0xd2, 0xf5, 0xf2, 0x8b, 0xd2, 0xf5, 0xd3, 0x53, 0xf3, 0xc0, 0x86, 0xe9, 0x43, 0xa4, 0x12, - 0x0b, 0x32, 0x8b, 0x91, 0xfc, 0x69, 0x0d, 0xa1, 0x16, 0x31, 0x31, 0x07, 0x05, 0x38, 0x27, 0xb1, - 0x81, 0x55, 0x1a, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xa4, 0x53, 0xf0, 0x7c, 0x10, 0x01, 0x00, - 0x00, -} 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 deleted file mode 100644 index cbb0da5e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/spanner/admin/database/v1/spanner_database_admin.pb.go +++ /dev/null @@ -1,1205 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/spanner/admin/database/v1/spanner_database_admin.proto - -package database - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - v1 "google.golang.org/genproto/googleapis/iam/v1" - longrunning "google.golang.org/genproto/googleapis/longrunning" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Indicates the current state of the database. -type Database_State int32 - -const ( - // Not specified. - Database_STATE_UNSPECIFIED Database_State = 0 - // The database is still being created. Operations on the database may fail - // with `FAILED_PRECONDITION` in this state. - Database_CREATING Database_State = 1 - // The database is fully created and ready for use. - Database_READY Database_State = 2 -) - -var Database_State_name = map[int32]string{ - 0: "STATE_UNSPECIFIED", - 1: "CREATING", - 2: "READY", -} - -var Database_State_value = map[string]int32{ - "STATE_UNSPECIFIED": 0, - "CREATING": 1, - "READY": 2, -} - -func (x Database_State) String() string { - return proto.EnumName(Database_State_name, int32(x)) -} - -func (Database_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_9422939aee7fc2d7, []int{0, 0} -} - -// A Cloud Spanner database. -type Database struct { - // Required. The name of the database. Values are of the form - // `projects//instances//databases/`, - // where `` is as specified in the `CREATE DATABASE` - // statement. This name can be passed to other API methods to - // identify the database. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Output only. The current database state. - State Database_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.spanner.admin.database.v1.Database_State" json:"state,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9422939aee7fc2d7, []int{0} -} - -func (m *Database) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Database.Unmarshal(m, b) -} -func (m *Database) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Database.Marshal(b, m, deterministic) -} -func (m *Database) XXX_Merge(src proto.Message) { - xxx_messageInfo_Database.Merge(m, src) -} -func (m *Database) XXX_Size() int { - return xxx_messageInfo_Database.Size(m) -} -func (m *Database) XXX_DiscardUnknown() { - xxx_messageInfo_Database.DiscardUnknown(m) -} - -var xxx_messageInfo_Database proto.InternalMessageInfo - -func (m *Database) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Database) GetState() Database_State { - if m != nil { - return m.State - } - return Database_STATE_UNSPECIFIED -} - -// The request for -// [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases]. -type ListDatabasesRequest struct { - // Required. The instance whose databases should be listed. - // Values are of the form `projects//instances/`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Number of databases to be returned in the response. If 0 or less, - // defaults to the server's maximum allowed page size. - PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // If non-empty, `page_token` should contain a - // [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] - // from a previous - // [ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse]. - 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 *ListDatabasesRequest) Reset() { *m = ListDatabasesRequest{} } -func (m *ListDatabasesRequest) String() string { return proto.CompactTextString(m) } -func (*ListDatabasesRequest) ProtoMessage() {} -func (*ListDatabasesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9422939aee7fc2d7, []int{1} -} - -func (m *ListDatabasesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDatabasesRequest.Unmarshal(m, b) -} -func (m *ListDatabasesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDatabasesRequest.Marshal(b, m, deterministic) -} -func (m *ListDatabasesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDatabasesRequest.Merge(m, src) -} -func (m *ListDatabasesRequest) XXX_Size() int { - return xxx_messageInfo_ListDatabasesRequest.Size(m) -} -func (m *ListDatabasesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListDatabasesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDatabasesRequest proto.InternalMessageInfo - -func (m *ListDatabasesRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListDatabasesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListDatabasesRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// The response for -// [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases]. -type ListDatabasesResponse struct { - // Databases that matched the request. - Databases []*Database `protobuf:"bytes,1,rep,name=databases,proto3" json:"databases,omitempty"` - // `next_page_token` can be sent in a subsequent - // [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] - // call to fetch more of the matching databases. - 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 *ListDatabasesResponse) Reset() { *m = ListDatabasesResponse{} } -func (m *ListDatabasesResponse) String() string { return proto.CompactTextString(m) } -func (*ListDatabasesResponse) ProtoMessage() {} -func (*ListDatabasesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9422939aee7fc2d7, []int{2} -} - -func (m *ListDatabasesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListDatabasesResponse.Unmarshal(m, b) -} -func (m *ListDatabasesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListDatabasesResponse.Marshal(b, m, deterministic) -} -func (m *ListDatabasesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDatabasesResponse.Merge(m, src) -} -func (m *ListDatabasesResponse) XXX_Size() int { - return xxx_messageInfo_ListDatabasesResponse.Size(m) -} -func (m *ListDatabasesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListDatabasesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListDatabasesResponse proto.InternalMessageInfo - -func (m *ListDatabasesResponse) GetDatabases() []*Database { - if m != nil { - return m.Databases - } - return nil -} - -func (m *ListDatabasesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The request for -// [CreateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase]. -type CreateDatabaseRequest struct { - // Required. The name of the instance that will serve the new database. - // Values are of the form `projects//instances/`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. A `CREATE DATABASE` statement, which specifies the ID of the - // new database. The database ID must conform to the regular expression - // `[a-z][a-z0-9_\-]*[a-z0-9]` and be between 2 and 30 characters in length. - // If the database ID is a reserved word or if it contains a hyphen, the - // database ID must be enclosed in backticks (`` ` ``). - CreateStatement string `protobuf:"bytes,2,opt,name=create_statement,json=createStatement,proto3" json:"create_statement,omitempty"` - // An optional list of DDL statements to run inside the newly created - // database. Statements can create tables, indexes, etc. These - // statements execute atomically with the creation of the database: - // if there is an error in any statement, the database is not created. - ExtraStatements []string `protobuf:"bytes,3,rep,name=extra_statements,json=extraStatements,proto3" json:"extra_statements,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9422939aee7fc2d7, []int{3} -} - -func (m *CreateDatabaseRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateDatabaseRequest.Unmarshal(m, b) -} -func (m *CreateDatabaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateDatabaseRequest.Marshal(b, m, deterministic) -} -func (m *CreateDatabaseRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateDatabaseRequest.Merge(m, src) -} -func (m *CreateDatabaseRequest) XXX_Size() int { - return xxx_messageInfo_CreateDatabaseRequest.Size(m) -} -func (m *CreateDatabaseRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateDatabaseRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateDatabaseRequest proto.InternalMessageInfo - -func (m *CreateDatabaseRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *CreateDatabaseRequest) GetCreateStatement() string { - if m != nil { - return m.CreateStatement - } - return "" -} - -func (m *CreateDatabaseRequest) GetExtraStatements() []string { - if m != nil { - return m.ExtraStatements - } - return nil -} - -// Metadata type for the operation returned by -// [CreateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase]. -type CreateDatabaseMetadata struct { - // The database being created. - Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9422939aee7fc2d7, []int{4} -} - -func (m *CreateDatabaseMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateDatabaseMetadata.Unmarshal(m, b) -} -func (m *CreateDatabaseMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateDatabaseMetadata.Marshal(b, m, deterministic) -} -func (m *CreateDatabaseMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateDatabaseMetadata.Merge(m, src) -} -func (m *CreateDatabaseMetadata) XXX_Size() int { - return xxx_messageInfo_CreateDatabaseMetadata.Size(m) -} -func (m *CreateDatabaseMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_CreateDatabaseMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateDatabaseMetadata proto.InternalMessageInfo - -func (m *CreateDatabaseMetadata) GetDatabase() string { - if m != nil { - return m.Database - } - return "" -} - -// The request for -// [GetDatabase][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabase]. -type GetDatabaseRequest struct { - // Required. The name of the requested database. Values are of the form - // `projects//instances//databases/`. - 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 *GetDatabaseRequest) Reset() { *m = GetDatabaseRequest{} } -func (m *GetDatabaseRequest) String() string { return proto.CompactTextString(m) } -func (*GetDatabaseRequest) ProtoMessage() {} -func (*GetDatabaseRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9422939aee7fc2d7, []int{5} -} - -func (m *GetDatabaseRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDatabaseRequest.Unmarshal(m, b) -} -func (m *GetDatabaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDatabaseRequest.Marshal(b, m, deterministic) -} -func (m *GetDatabaseRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDatabaseRequest.Merge(m, src) -} -func (m *GetDatabaseRequest) XXX_Size() int { - return xxx_messageInfo_GetDatabaseRequest.Size(m) -} -func (m *GetDatabaseRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetDatabaseRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetDatabaseRequest proto.InternalMessageInfo - -func (m *GetDatabaseRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Enqueues the given DDL statements to be applied, in order but not -// necessarily all at once, to the database schema at some point (or -// points) in the future. The server checks that the statements -// are executable (syntactically valid, name tables that exist, etc.) -// before enqueueing them, but they may still fail upon -// later execution (e.g., if a statement from another batch of -// statements is applied first and it conflicts in some way, or if -// there is some data-related problem like a `NULL` value in a column to -// which `NOT NULL` would be added). If a statement fails, all -// subsequent statements in the batch are automatically cancelled. -// -// Each batch of statements is assigned a name which can be used with -// the [Operations][google.longrunning.Operations] API to monitor -// progress. See the -// [operation_id][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.operation_id] -// field for more details. -type UpdateDatabaseDdlRequest struct { - // Required. The database to update. - Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` - // DDL statements to be applied to the database. - Statements []string `protobuf:"bytes,2,rep,name=statements,proto3" json:"statements,omitempty"` - // If empty, the new update request is assigned an - // automatically-generated operation ID. Otherwise, `operation_id` - // is used to construct the name of the resulting - // [Operation][google.longrunning.Operation]. - // - // Specifying an explicit operation ID simplifies determining - // whether the statements were executed in the event that the - // [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] - // call is replayed, or the return value is otherwise lost: the - // [database][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.database] - // and `operation_id` fields can be combined to form the - // [name][google.longrunning.Operation.name] of the resulting - // [longrunning.Operation][google.longrunning.Operation]: - // `/operations/`. - // - // `operation_id` should be unique within the database, and must be - // a valid identifier: `[a-z][a-z0-9_]*`. Note that - // automatically-generated operation IDs always begin with an - // underscore. If the named operation already exists, - // [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] - // returns `ALREADY_EXISTS`. - OperationId string `protobuf:"bytes,3,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpdateDatabaseDdlRequest) Reset() { *m = UpdateDatabaseDdlRequest{} } -func (m *UpdateDatabaseDdlRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateDatabaseDdlRequest) ProtoMessage() {} -func (*UpdateDatabaseDdlRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9422939aee7fc2d7, []int{6} -} - -func (m *UpdateDatabaseDdlRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateDatabaseDdlRequest.Unmarshal(m, b) -} -func (m *UpdateDatabaseDdlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateDatabaseDdlRequest.Marshal(b, m, deterministic) -} -func (m *UpdateDatabaseDdlRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateDatabaseDdlRequest.Merge(m, src) -} -func (m *UpdateDatabaseDdlRequest) XXX_Size() int { - return xxx_messageInfo_UpdateDatabaseDdlRequest.Size(m) -} -func (m *UpdateDatabaseDdlRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateDatabaseDdlRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateDatabaseDdlRequest proto.InternalMessageInfo - -func (m *UpdateDatabaseDdlRequest) GetDatabase() string { - if m != nil { - return m.Database - } - return "" -} - -func (m *UpdateDatabaseDdlRequest) GetStatements() []string { - if m != nil { - return m.Statements - } - return nil -} - -func (m *UpdateDatabaseDdlRequest) GetOperationId() string { - if m != nil { - return m.OperationId - } - return "" -} - -// Metadata type for the operation returned by -// [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]. -type UpdateDatabaseDdlMetadata struct { - // The database being modified. - Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` - // For an update this list contains all the statements. For an - // individual statement, this list contains only that statement. - Statements []string `protobuf:"bytes,2,rep,name=statements,proto3" json:"statements,omitempty"` - // Reports the commit timestamps of all statements that have - // succeeded so far, where `commit_timestamps[i]` is the commit - // timestamp for the statement `statements[i]`. - CommitTimestamps []*timestamp.Timestamp `protobuf:"bytes,3,rep,name=commit_timestamps,json=commitTimestamps,proto3" json:"commit_timestamps,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpdateDatabaseDdlMetadata) Reset() { *m = UpdateDatabaseDdlMetadata{} } -func (m *UpdateDatabaseDdlMetadata) String() string { return proto.CompactTextString(m) } -func (*UpdateDatabaseDdlMetadata) ProtoMessage() {} -func (*UpdateDatabaseDdlMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_9422939aee7fc2d7, []int{7} -} - -func (m *UpdateDatabaseDdlMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateDatabaseDdlMetadata.Unmarshal(m, b) -} -func (m *UpdateDatabaseDdlMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateDatabaseDdlMetadata.Marshal(b, m, deterministic) -} -func (m *UpdateDatabaseDdlMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateDatabaseDdlMetadata.Merge(m, src) -} -func (m *UpdateDatabaseDdlMetadata) XXX_Size() int { - return xxx_messageInfo_UpdateDatabaseDdlMetadata.Size(m) -} -func (m *UpdateDatabaseDdlMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateDatabaseDdlMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateDatabaseDdlMetadata proto.InternalMessageInfo - -func (m *UpdateDatabaseDdlMetadata) GetDatabase() string { - if m != nil { - return m.Database - } - return "" -} - -func (m *UpdateDatabaseDdlMetadata) GetStatements() []string { - if m != nil { - return m.Statements - } - return nil -} - -func (m *UpdateDatabaseDdlMetadata) GetCommitTimestamps() []*timestamp.Timestamp { - if m != nil { - return m.CommitTimestamps - } - return nil -} - -// The request for -// [DropDatabase][google.spanner.admin.database.v1.DatabaseAdmin.DropDatabase]. -type DropDatabaseRequest struct { - // Required. The database to be dropped. - Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9422939aee7fc2d7, []int{8} -} - -func (m *DropDatabaseRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DropDatabaseRequest.Unmarshal(m, b) -} -func (m *DropDatabaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DropDatabaseRequest.Marshal(b, m, deterministic) -} -func (m *DropDatabaseRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DropDatabaseRequest.Merge(m, src) -} -func (m *DropDatabaseRequest) XXX_Size() int { - return xxx_messageInfo_DropDatabaseRequest.Size(m) -} -func (m *DropDatabaseRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DropDatabaseRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DropDatabaseRequest proto.InternalMessageInfo - -func (m *DropDatabaseRequest) GetDatabase() string { - if m != nil { - return m.Database - } - return "" -} - -// The request for -// [GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl]. -type GetDatabaseDdlRequest struct { - // Required. The database whose schema we wish to get. - Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9422939aee7fc2d7, []int{9} -} - -func (m *GetDatabaseDdlRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDatabaseDdlRequest.Unmarshal(m, b) -} -func (m *GetDatabaseDdlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDatabaseDdlRequest.Marshal(b, m, deterministic) -} -func (m *GetDatabaseDdlRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDatabaseDdlRequest.Merge(m, src) -} -func (m *GetDatabaseDdlRequest) XXX_Size() int { - return xxx_messageInfo_GetDatabaseDdlRequest.Size(m) -} -func (m *GetDatabaseDdlRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetDatabaseDdlRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetDatabaseDdlRequest proto.InternalMessageInfo - -func (m *GetDatabaseDdlRequest) GetDatabase() string { - if m != nil { - return m.Database - } - return "" -} - -// The response for -// [GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl]. -type GetDatabaseDdlResponse struct { - // A list of formatted DDL statements defining the schema of the database - // specified in the request. - Statements []string `protobuf:"bytes,1,rep,name=statements,proto3" json:"statements,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9422939aee7fc2d7, []int{10} -} - -func (m *GetDatabaseDdlResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDatabaseDdlResponse.Unmarshal(m, b) -} -func (m *GetDatabaseDdlResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDatabaseDdlResponse.Marshal(b, m, deterministic) -} -func (m *GetDatabaseDdlResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDatabaseDdlResponse.Merge(m, src) -} -func (m *GetDatabaseDdlResponse) XXX_Size() int { - return xxx_messageInfo_GetDatabaseDdlResponse.Size(m) -} -func (m *GetDatabaseDdlResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetDatabaseDdlResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GetDatabaseDdlResponse proto.InternalMessageInfo - -func (m *GetDatabaseDdlResponse) GetStatements() []string { - if m != nil { - return m.Statements - } - return nil -} - -func init() { - proto.RegisterEnum("google.spanner.admin.database.v1.Database_State", Database_State_name, Database_State_value) - proto.RegisterType((*Database)(nil), "google.spanner.admin.database.v1.Database") - proto.RegisterType((*ListDatabasesRequest)(nil), "google.spanner.admin.database.v1.ListDatabasesRequest") - proto.RegisterType((*ListDatabasesResponse)(nil), "google.spanner.admin.database.v1.ListDatabasesResponse") - proto.RegisterType((*CreateDatabaseRequest)(nil), "google.spanner.admin.database.v1.CreateDatabaseRequest") - proto.RegisterType((*CreateDatabaseMetadata)(nil), "google.spanner.admin.database.v1.CreateDatabaseMetadata") - proto.RegisterType((*GetDatabaseRequest)(nil), "google.spanner.admin.database.v1.GetDatabaseRequest") - proto.RegisterType((*UpdateDatabaseDdlRequest)(nil), "google.spanner.admin.database.v1.UpdateDatabaseDdlRequest") - proto.RegisterType((*UpdateDatabaseDdlMetadata)(nil), "google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata") - proto.RegisterType((*DropDatabaseRequest)(nil), "google.spanner.admin.database.v1.DropDatabaseRequest") - proto.RegisterType((*GetDatabaseDdlRequest)(nil), "google.spanner.admin.database.v1.GetDatabaseDdlRequest") - proto.RegisterType((*GetDatabaseDdlResponse)(nil), "google.spanner.admin.database.v1.GetDatabaseDdlResponse") -} - -func init() { - proto.RegisterFile("google/spanner/admin/database/v1/spanner_database_admin.proto", fileDescriptor_9422939aee7fc2d7) -} - -var fileDescriptor_9422939aee7fc2d7 = []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, - 0x2a, 0xd7, 0x12, 0xbb, 0xd8, 0x69, 0x48, 0x30, 0x0a, 0x22, 0xb5, 0x5d, 0xd7, 0x12, 0xb4, 0x96, - 0xed, 0x56, 0x02, 0x59, 0xb2, 0x26, 0xf6, 0xb0, 0xda, 0xe2, 0xfd, 0xc1, 0xce, 0xb8, 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ff, 0x71, 0xff, - 0x9e, 0xfa, 0xfd, 0x4b, 0xea, 0x66, 0x23, 0x5c, 0xaa, 0x3a, 0xf2, 0xc6, 0x43, 0x23, 0x6a, 0x6a, - 0xc8, 0x6e, 0xd3, 0x6f, 0xd6, 0x47, 0xa5, 0x3f, 0x95, 0xb0, 0x27, 0x85, 0xbd, 0x48, 0xd8, 0x93, - 0xc2, 0x9e, 0x12, 0xf6, 0x1e, 0x95, 0x4e, 0x2f, 0x4b, 0x8c, 0xfd, 0x7f, 0x03, 0x00, 0x00, 0xff, - 0xff, 0x1d, 0xbc, 0x89, 0x54, 0x62, 0x0c, 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 - -// DatabaseAdminClient is the client API for DatabaseAdmin service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type DatabaseAdminClient interface { - // Lists Cloud Spanner databases. - ListDatabases(ctx context.Context, in *ListDatabasesRequest, opts ...grpc.CallOption) (*ListDatabasesResponse, error) - // Creates a new Cloud Spanner database and starts to prepare it for serving. - // The returned [long-running operation][google.longrunning.Operation] will - // have a name of the format `/operations/` and - // can be used to track preparation of the database. The - // [metadata][google.longrunning.Operation.metadata] field type is - // [CreateDatabaseMetadata][google.spanner.admin.database.v1.CreateDatabaseMetadata]. - // The [response][google.longrunning.Operation.response] field type is - // [Database][google.spanner.admin.database.v1.Database], if successful. - CreateDatabase(ctx context.Context, in *CreateDatabaseRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Gets the state of a Cloud Spanner database. - GetDatabase(ctx context.Context, in *GetDatabaseRequest, opts ...grpc.CallOption) (*Database, error) - // Updates the schema of a Cloud Spanner database by - // creating/altering/dropping tables, columns, indexes, etc. The returned - // [long-running operation][google.longrunning.Operation] will have a name of - // the format `/operations/` and can be used to - // track execution of the schema change(s). The - // [metadata][google.longrunning.Operation.metadata] field type is - // [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata]. - // The operation has no response. - UpdateDatabaseDdl(ctx context.Context, in *UpdateDatabaseDdlRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Drops (aka deletes) a Cloud Spanner database. - DropDatabase(ctx context.Context, in *DropDatabaseRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Returns the schema of a Cloud Spanner database as a list of formatted - // DDL statements. This method does not show pending schema updates, those may - // be queried using the [Operations][google.longrunning.Operations] API. - GetDatabaseDdl(ctx context.Context, in *GetDatabaseDdlRequest, opts ...grpc.CallOption) (*GetDatabaseDdlResponse, error) - // Sets the access control policy on a database resource. Replaces any - // existing policy. - // - // Authorization requires `spanner.databases.setIamPolicy` permission on - // [resource][google.iam.v1.SetIamPolicyRequest.resource]. - SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) - // Gets the access control policy for a database resource. Returns an empty - // policy if a database exists but does not have a policy set. - // - // Authorization requires `spanner.databases.getIamPolicy` permission on - // [resource][google.iam.v1.GetIamPolicyRequest.resource]. - GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) - // Returns permissions that the caller has on the specified database resource. - // - // Attempting this RPC on a non-existent Cloud Spanner database will result in - // a NOT_FOUND error if the user has `spanner.databases.list` permission on - // the containing Cloud Spanner instance. Otherwise returns an empty set of - // permissions. - TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) -} - -type databaseAdminClient struct { - cc *grpc.ClientConn -} - -func NewDatabaseAdminClient(cc *grpc.ClientConn) DatabaseAdminClient { - return &databaseAdminClient{cc} -} - -func (c *databaseAdminClient) ListDatabases(ctx context.Context, in *ListDatabasesRequest, opts ...grpc.CallOption) (*ListDatabasesResponse, error) { - out := new(ListDatabasesResponse) - err := c.cc.Invoke(ctx, "/google.spanner.admin.database.v1.DatabaseAdmin/ListDatabases", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *databaseAdminClient) CreateDatabase(ctx context.Context, in *CreateDatabaseRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.spanner.admin.database.v1.DatabaseAdmin/CreateDatabase", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *databaseAdminClient) GetDatabase(ctx context.Context, in *GetDatabaseRequest, opts ...grpc.CallOption) (*Database, error) { - out := new(Database) - err := c.cc.Invoke(ctx, "/google.spanner.admin.database.v1.DatabaseAdmin/GetDatabase", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *databaseAdminClient) UpdateDatabaseDdl(ctx context.Context, in *UpdateDatabaseDdlRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.spanner.admin.database.v1.DatabaseAdmin/UpdateDatabaseDdl", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *databaseAdminClient) DropDatabase(ctx context.Context, in *DropDatabaseRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.spanner.admin.database.v1.DatabaseAdmin/DropDatabase", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *databaseAdminClient) GetDatabaseDdl(ctx context.Context, in *GetDatabaseDdlRequest, opts ...grpc.CallOption) (*GetDatabaseDdlResponse, error) { - out := new(GetDatabaseDdlResponse) - err := c.cc.Invoke(ctx, "/google.spanner.admin.database.v1.DatabaseAdmin/GetDatabaseDdl", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *databaseAdminClient) SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { - out := new(v1.Policy) - err := c.cc.Invoke(ctx, "/google.spanner.admin.database.v1.DatabaseAdmin/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *databaseAdminClient) GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { - out := new(v1.Policy) - err := c.cc.Invoke(ctx, "/google.spanner.admin.database.v1.DatabaseAdmin/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *databaseAdminClient) TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) { - out := new(v1.TestIamPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.spanner.admin.database.v1.DatabaseAdmin/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// DatabaseAdminServer is the server API for DatabaseAdmin service. -type DatabaseAdminServer interface { - // Lists Cloud Spanner databases. - ListDatabases(context.Context, *ListDatabasesRequest) (*ListDatabasesResponse, error) - // Creates a new Cloud Spanner database and starts to prepare it for serving. - // The returned [long-running operation][google.longrunning.Operation] will - // have a name of the format `/operations/` and - // can be used to track preparation of the database. The - // [metadata][google.longrunning.Operation.metadata] field type is - // [CreateDatabaseMetadata][google.spanner.admin.database.v1.CreateDatabaseMetadata]. - // The [response][google.longrunning.Operation.response] field type is - // [Database][google.spanner.admin.database.v1.Database], if successful. - CreateDatabase(context.Context, *CreateDatabaseRequest) (*longrunning.Operation, error) - // Gets the state of a Cloud Spanner database. - GetDatabase(context.Context, *GetDatabaseRequest) (*Database, error) - // Updates the schema of a Cloud Spanner database by - // creating/altering/dropping tables, columns, indexes, etc. The returned - // [long-running operation][google.longrunning.Operation] will have a name of - // the format `/operations/` and can be used to - // track execution of the schema change(s). The - // [metadata][google.longrunning.Operation.metadata] field type is - // [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata]. - // The operation has no response. - UpdateDatabaseDdl(context.Context, *UpdateDatabaseDdlRequest) (*longrunning.Operation, error) - // Drops (aka deletes) a Cloud Spanner database. - DropDatabase(context.Context, *DropDatabaseRequest) (*empty.Empty, error) - // Returns the schema of a Cloud Spanner database as a list of formatted - // DDL statements. This method does not show pending schema updates, those may - // be queried using the [Operations][google.longrunning.Operations] API. - GetDatabaseDdl(context.Context, *GetDatabaseDdlRequest) (*GetDatabaseDdlResponse, error) - // Sets the access control policy on a database resource. Replaces any - // existing policy. - // - // Authorization requires `spanner.databases.setIamPolicy` permission on - // [resource][google.iam.v1.SetIamPolicyRequest.resource]. - SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error) - // Gets the access control policy for a database resource. Returns an empty - // policy if a database exists but does not have a policy set. - // - // Authorization requires `spanner.databases.getIamPolicy` permission on - // [resource][google.iam.v1.GetIamPolicyRequest.resource]. - GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error) - // Returns permissions that the caller has on the specified database resource. - // - // Attempting this RPC on a non-existent Cloud Spanner database will result in - // a NOT_FOUND error if the user has `spanner.databases.list` permission on - // the containing Cloud Spanner instance. Otherwise returns an empty set of - // permissions. - TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) -} - -// UnimplementedDatabaseAdminServer can be embedded to have forward compatible implementations. -type UnimplementedDatabaseAdminServer struct { -} - -func (*UnimplementedDatabaseAdminServer) ListDatabases(ctx context.Context, req *ListDatabasesRequest) (*ListDatabasesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListDatabases not implemented") -} -func (*UnimplementedDatabaseAdminServer) CreateDatabase(ctx context.Context, req *CreateDatabaseRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateDatabase not implemented") -} -func (*UnimplementedDatabaseAdminServer) GetDatabase(ctx context.Context, req *GetDatabaseRequest) (*Database, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDatabase not implemented") -} -func (*UnimplementedDatabaseAdminServer) UpdateDatabaseDdl(ctx context.Context, req *UpdateDatabaseDdlRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateDatabaseDdl not implemented") -} -func (*UnimplementedDatabaseAdminServer) DropDatabase(ctx context.Context, req *DropDatabaseRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DropDatabase not implemented") -} -func (*UnimplementedDatabaseAdminServer) GetDatabaseDdl(ctx context.Context, req *GetDatabaseDdlRequest) (*GetDatabaseDdlResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDatabaseDdl not implemented") -} -func (*UnimplementedDatabaseAdminServer) SetIamPolicy(ctx context.Context, req *v1.SetIamPolicyRequest) (*v1.Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedDatabaseAdminServer) GetIamPolicy(ctx context.Context, req *v1.GetIamPolicyRequest) (*v1.Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedDatabaseAdminServer) TestIamPermissions(ctx context.Context, req *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} - -func RegisterDatabaseAdminServer(s *grpc.Server, srv DatabaseAdminServer) { - s.RegisterService(&_DatabaseAdmin_serviceDesc, srv) -} - -func _DatabaseAdmin_ListDatabases_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListDatabasesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DatabaseAdminServer).ListDatabases(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.spanner.admin.database.v1.DatabaseAdmin/ListDatabases", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatabaseAdminServer).ListDatabases(ctx, req.(*ListDatabasesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DatabaseAdmin_CreateDatabase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateDatabaseRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DatabaseAdminServer).CreateDatabase(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.spanner.admin.database.v1.DatabaseAdmin/CreateDatabase", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatabaseAdminServer).CreateDatabase(ctx, req.(*CreateDatabaseRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DatabaseAdmin_GetDatabase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDatabaseRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DatabaseAdminServer).GetDatabase(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.spanner.admin.database.v1.DatabaseAdmin/GetDatabase", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatabaseAdminServer).GetDatabase(ctx, req.(*GetDatabaseRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DatabaseAdmin_UpdateDatabaseDdl_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateDatabaseDdlRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DatabaseAdminServer).UpdateDatabaseDdl(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.spanner.admin.database.v1.DatabaseAdmin/UpdateDatabaseDdl", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatabaseAdminServer).UpdateDatabaseDdl(ctx, req.(*UpdateDatabaseDdlRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DatabaseAdmin_DropDatabase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DropDatabaseRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DatabaseAdminServer).DropDatabase(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.spanner.admin.database.v1.DatabaseAdmin/DropDatabase", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatabaseAdminServer).DropDatabase(ctx, req.(*DropDatabaseRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DatabaseAdmin_GetDatabaseDdl_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDatabaseDdlRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DatabaseAdminServer).GetDatabaseDdl(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.spanner.admin.database.v1.DatabaseAdmin/GetDatabaseDdl", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatabaseAdminServer).GetDatabaseDdl(ctx, req.(*GetDatabaseDdlRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DatabaseAdmin_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.(DatabaseAdminServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.spanner.admin.database.v1.DatabaseAdmin/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatabaseAdminServer).SetIamPolicy(ctx, req.(*v1.SetIamPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DatabaseAdmin_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.(DatabaseAdminServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.spanner.admin.database.v1.DatabaseAdmin/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatabaseAdminServer).GetIamPolicy(ctx, req.(*v1.GetIamPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DatabaseAdmin_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.(DatabaseAdminServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.spanner.admin.database.v1.DatabaseAdmin/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatabaseAdminServer).TestIamPermissions(ctx, req.(*v1.TestIamPermissionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _DatabaseAdmin_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.spanner.admin.database.v1.DatabaseAdmin", - HandlerType: (*DatabaseAdminServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListDatabases", - Handler: _DatabaseAdmin_ListDatabases_Handler, - }, - { - MethodName: "CreateDatabase", - Handler: _DatabaseAdmin_CreateDatabase_Handler, - }, - { - MethodName: "GetDatabase", - Handler: _DatabaseAdmin_GetDatabase_Handler, - }, - { - MethodName: "UpdateDatabaseDdl", - Handler: _DatabaseAdmin_UpdateDatabaseDdl_Handler, - }, - { - MethodName: "DropDatabase", - Handler: _DatabaseAdmin_DropDatabase_Handler, - }, - { - MethodName: "GetDatabaseDdl", - Handler: _DatabaseAdmin_GetDatabaseDdl_Handler, - }, - { - MethodName: "SetIamPolicy", - Handler: _DatabaseAdmin_SetIamPolicy_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _DatabaseAdmin_GetIamPolicy_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _DatabaseAdmin_TestIamPermissions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/spanner/admin/database/v1/spanner_database_admin.proto", -} 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 deleted file mode 100644 index 3301de34..00000000 --- a/vendor/google.golang.org/genproto/googleapis/spanner/admin/instance/v1/spanner_instance_admin.pb.go +++ /dev/null @@ -1,1620 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/spanner/admin/instance/v1/spanner_instance_admin.proto - -package instance - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - v1 "google.golang.org/genproto/googleapis/iam/v1" - longrunning "google.golang.org/genproto/googleapis/longrunning" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Indicates the current state of the instance. -type Instance_State int32 - -const ( - // Not specified. - Instance_STATE_UNSPECIFIED Instance_State = 0 - // The instance is still being created. Resources may not be - // available yet, and operations such as database creation may not - // work. - Instance_CREATING Instance_State = 1 - // The instance is fully created and ready to do work such as - // creating databases. - Instance_READY Instance_State = 2 -) - -var Instance_State_name = map[int32]string{ - 0: "STATE_UNSPECIFIED", - 1: "CREATING", - 2: "READY", -} - -var Instance_State_value = map[string]int32{ - "STATE_UNSPECIFIED": 0, - "CREATING": 1, - "READY": 2, -} - -func (x Instance_State) String() string { - return proto.EnumName(Instance_State_name, int32(x)) -} - -func (Instance_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_3837da4dfb7336ac, []int{1, 0} -} - -// A possible configuration for a Cloud Spanner instance. Configurations -// define the geographic placement of nodes and their replication. -type InstanceConfig struct { - // A unique identifier for the instance configuration. Values - // are of the form - // `projects//instanceConfigs/[a-z][-a-z0-9]*` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The name of this instance configuration as it appears in UIs. - DisplayName string `protobuf:"bytes,2,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 *InstanceConfig) Reset() { *m = InstanceConfig{} } -func (m *InstanceConfig) String() string { return proto.CompactTextString(m) } -func (*InstanceConfig) ProtoMessage() {} -func (*InstanceConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_3837da4dfb7336ac, []int{0} -} - -func (m *InstanceConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InstanceConfig.Unmarshal(m, b) -} -func (m *InstanceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InstanceConfig.Marshal(b, m, deterministic) -} -func (m *InstanceConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_InstanceConfig.Merge(m, src) -} -func (m *InstanceConfig) XXX_Size() int { - return xxx_messageInfo_InstanceConfig.Size(m) -} -func (m *InstanceConfig) XXX_DiscardUnknown() { - xxx_messageInfo_InstanceConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_InstanceConfig proto.InternalMessageInfo - -func (m *InstanceConfig) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *InstanceConfig) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -// An isolated set of Cloud Spanner resources on which databases can be hosted. -type Instance struct { - // Required. A unique identifier for the instance, which cannot be changed - // after the instance is created. Values are of the form - // `projects//instances/[a-z][-a-z0-9]*[a-z0-9]`. The final - // segment of the name must be between 6 and 30 characters in length. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Required. The name of the instance's configuration. Values are of the form - // `projects//instanceConfigs/`. See - // also [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] and - // [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]. - Config string `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` - // Required. The descriptive name for this instance as it appears in UIs. - // Must be unique per project and between 4 and 30 characters in length. - DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // Required. The number of nodes allocated to this instance. This may be zero - // in API responses for instances that are not yet in state `READY`. - // - // See [the - // documentation](https://cloud.google.com/spanner/docs/instances#node_count) - // for more information about nodes. - NodeCount int32 `protobuf:"varint,5,opt,name=node_count,json=nodeCount,proto3" json:"node_count,omitempty"` - // Output only. The current instance state. For - // [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance], - // the state must be either omitted or set to `CREATING`. For - // [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance], - // the state must be either omitted or set to `READY`. - State Instance_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.spanner.admin.instance.v1.Instance_State" json:"state,omitempty"` - // Cloud Labels are a flexible and lightweight mechanism for organizing cloud - // resources into groups that reflect a customer's organizational needs and - // deployment strategies. Cloud Labels can be used to filter collections of - // resources. They can be used to control how resource metrics are aggregated. - // And they can be used as arguments to policy management rules (e.g. route, - // firewall, load balancing, etc.). - // - // * Label keys must be between 1 and 63 characters long and must conform to - // the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. - // * Label values must be between 0 and 63 characters long and must conform - // to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. - // * No more than 64 labels can be associated with a given resource. - // - // See https://goo.gl/xmQnxf for more information on and examples of labels. - // - // If you plan to use labels in your own code, please note that additional - // characters may be allowed in the future. And so you are advised to use an - // internal label representation, such as JSON, which doesn't rely upon - // specific characters being disallowed. For example, representing labels - // as the string: name + "_" + value would prove problematic if we were to - // allow "_" in a future release. - Labels map[string]string `protobuf:"bytes,7,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 *Instance) Reset() { *m = Instance{} } -func (m *Instance) String() string { return proto.CompactTextString(m) } -func (*Instance) ProtoMessage() {} -func (*Instance) Descriptor() ([]byte, []int) { - return fileDescriptor_3837da4dfb7336ac, []int{1} -} - -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 (m *Instance) XXX_Merge(src proto.Message) { - xxx_messageInfo_Instance.Merge(m, 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) GetConfig() string { - if m != nil { - return m.Config - } - return "" -} - -func (m *Instance) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *Instance) GetNodeCount() int32 { - if m != nil { - return m.NodeCount - } - return 0 -} - -func (m *Instance) GetState() Instance_State { - if m != nil { - return m.State - } - return Instance_STATE_UNSPECIFIED -} - -func (m *Instance) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -// The request for -// [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]. -type ListInstanceConfigsRequest struct { - // Required. The name of the project for which a list of supported instance - // configurations is requested. Values are of the form - // `projects/`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Number of instance configurations to be returned in the response. If 0 or - // less, defaults to the server's maximum allowed page size. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // If non-empty, `page_token` should contain a - // [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token] - // from a previous - // [ListInstanceConfigsResponse][google.spanner.admin.instance.v1.ListInstanceConfigsResponse]. - 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 *ListInstanceConfigsRequest) Reset() { *m = ListInstanceConfigsRequest{} } -func (m *ListInstanceConfigsRequest) String() string { return proto.CompactTextString(m) } -func (*ListInstanceConfigsRequest) ProtoMessage() {} -func (*ListInstanceConfigsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3837da4dfb7336ac, []int{2} -} - -func (m *ListInstanceConfigsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListInstanceConfigsRequest.Unmarshal(m, b) -} -func (m *ListInstanceConfigsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListInstanceConfigsRequest.Marshal(b, m, deterministic) -} -func (m *ListInstanceConfigsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListInstanceConfigsRequest.Merge(m, src) -} -func (m *ListInstanceConfigsRequest) XXX_Size() int { - return xxx_messageInfo_ListInstanceConfigsRequest.Size(m) -} -func (m *ListInstanceConfigsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListInstanceConfigsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListInstanceConfigsRequest proto.InternalMessageInfo - -func (m *ListInstanceConfigsRequest) GetParent() string { - if m != nil { - return m.Parent - } - return "" -} - -func (m *ListInstanceConfigsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListInstanceConfigsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// The response for -// [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]. -type ListInstanceConfigsResponse struct { - // The list of requested instance configurations. - InstanceConfigs []*InstanceConfig `protobuf:"bytes,1,rep,name=instance_configs,json=instanceConfigs,proto3" json:"instance_configs,omitempty"` - // `next_page_token` can be sent in a subsequent - // [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs] - // call to fetch more of the matching instance configurations. - 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 *ListInstanceConfigsResponse) Reset() { *m = ListInstanceConfigsResponse{} } -func (m *ListInstanceConfigsResponse) String() string { return proto.CompactTextString(m) } -func (*ListInstanceConfigsResponse) ProtoMessage() {} -func (*ListInstanceConfigsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3837da4dfb7336ac, []int{3} -} - -func (m *ListInstanceConfigsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListInstanceConfigsResponse.Unmarshal(m, b) -} -func (m *ListInstanceConfigsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListInstanceConfigsResponse.Marshal(b, m, deterministic) -} -func (m *ListInstanceConfigsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListInstanceConfigsResponse.Merge(m, src) -} -func (m *ListInstanceConfigsResponse) XXX_Size() int { - return xxx_messageInfo_ListInstanceConfigsResponse.Size(m) -} -func (m *ListInstanceConfigsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListInstanceConfigsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListInstanceConfigsResponse proto.InternalMessageInfo - -func (m *ListInstanceConfigsResponse) GetInstanceConfigs() []*InstanceConfig { - if m != nil { - return m.InstanceConfigs - } - return nil -} - -func (m *ListInstanceConfigsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The request for -// [GetInstanceConfigRequest][google.spanner.admin.instance.v1.InstanceAdmin.GetInstanceConfig]. -type GetInstanceConfigRequest struct { - // Required. The name of the requested instance configuration. Values are of - // the form `projects//instanceConfigs/`. - 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 *GetInstanceConfigRequest) Reset() { *m = GetInstanceConfigRequest{} } -func (m *GetInstanceConfigRequest) String() string { return proto.CompactTextString(m) } -func (*GetInstanceConfigRequest) ProtoMessage() {} -func (*GetInstanceConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3837da4dfb7336ac, []int{4} -} - -func (m *GetInstanceConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetInstanceConfigRequest.Unmarshal(m, b) -} -func (m *GetInstanceConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetInstanceConfigRequest.Marshal(b, m, deterministic) -} -func (m *GetInstanceConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetInstanceConfigRequest.Merge(m, src) -} -func (m *GetInstanceConfigRequest) XXX_Size() int { - return xxx_messageInfo_GetInstanceConfigRequest.Size(m) -} -func (m *GetInstanceConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetInstanceConfigRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetInstanceConfigRequest proto.InternalMessageInfo - -func (m *GetInstanceConfigRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The request for -// [GetInstance][google.spanner.admin.instance.v1.InstanceAdmin.GetInstance]. -type GetInstanceRequest struct { - // Required. The name of the requested instance. Values are of the form - // `projects//instances/`. - 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_3837da4dfb7336ac, []int{5} -} - -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 (m *GetInstanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetInstanceRequest.Merge(m, 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 "" -} - -// The request for -// [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]. -type CreateInstanceRequest struct { - // Required. The name of the project in which to create the instance. Values - // are of the form `projects/`. - Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` - // Required. The ID of the instance to create. Valid identifiers are of the - // form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 6 and 30 characters in - // length. - InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` - // Required. The instance to create. The name may be omitted, but if - // specified must be `/instances/`. - 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_3837da4dfb7336ac, []int{6} -} - -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 (m *CreateInstanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateInstanceRequest.Merge(m, 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 -} - -// The request for -// [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]. -type ListInstancesRequest struct { - // Required. The 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"` - // Number of instances to be returned in the response. If 0 or less, defaults - // to the server's maximum allowed page size. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // If non-empty, `page_token` should contain a - // [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token] - // from a previous - // [ListInstancesResponse][google.spanner.admin.instance.v1.ListInstancesResponse]. - PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // An expression for filtering the results of the request. Filter rules are - // case insensitive. The fields eligible for filtering are: - // - // * `name` - // * `display_name` - // * `labels.key` where key is the name of a label - // - // Some examples of using filters are: - // - // * `name:*` --> The instance has a name. - // * `name:Howl` --> The instance's name contains the string "howl". - // * `name:HOWL` --> Equivalent to above. - // * `NAME:howl` --> Equivalent to above. - // * `labels.env:*` --> The instance has the label "env". - // * `labels.env:dev` --> The instance has the label "env" and the value of - // the label contains the string "dev". - // * `name:howl labels.env:dev` --> The instance's name contains "howl" and - // it has the label "env" with its value - // containing "dev". - Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,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_3837da4dfb7336ac, []int{7} -} - -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 (m *ListInstancesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListInstancesRequest.Merge(m, 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 "" -} - -func (m *ListInstancesRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -// The response for -// [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]. -type ListInstancesResponse struct { - // The list of requested instances. - Instances []*Instance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"` - // `next_page_token` can be sent in a subsequent - // [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances] - // call to fetch more of the matching instances. - 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_3837da4dfb7336ac, []int{8} -} - -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 (m *ListInstancesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListInstancesResponse.Merge(m, 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 "" -} - -// The request for -// [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]. -type UpdateInstanceRequest struct { - // Required. The instance to update, which must always include the instance - // name. Otherwise, only fields mentioned in - // [][google.spanner.admin.instance.v1.UpdateInstanceRequest.field_mask] need - // be included. - Instance *Instance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` - // Required. A mask specifying which fields in - // [][google.spanner.admin.instance.v1.UpdateInstanceRequest.instance] should - // be updated. The field mask must always be specified; this prevents any - // future fields in - // [][google.spanner.admin.instance.v1.Instance] from being erased - // accidentally by clients that do not know about them. - FieldMask *field_mask.FieldMask `protobuf:"bytes,2,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 *UpdateInstanceRequest) Reset() { *m = UpdateInstanceRequest{} } -func (m *UpdateInstanceRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateInstanceRequest) ProtoMessage() {} -func (*UpdateInstanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3837da4dfb7336ac, []int{9} -} - -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 (m *UpdateInstanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateInstanceRequest.Merge(m, 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) GetInstance() *Instance { - if m != nil { - return m.Instance - } - return nil -} - -func (m *UpdateInstanceRequest) GetFieldMask() *field_mask.FieldMask { - if m != nil { - return m.FieldMask - } - return nil -} - -// The request for -// [DeleteInstance][google.spanner.admin.instance.v1.InstanceAdmin.DeleteInstance]. -type DeleteInstanceRequest struct { - // Required. The name of the instance to be deleted. Values are of the form - // `projects//instances/` - 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_3837da4dfb7336ac, []int{10} -} - -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 (m *DeleteInstanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteInstanceRequest.Merge(m, 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 "" -} - -// Metadata type for the operation returned by -// [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]. -type CreateInstanceMetadata struct { - // The instance being created. - Instance *Instance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` - // The time at which the - // [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance] - // request was received. - StartTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // The time at which this operation was cancelled. If set, this operation is - // in the process of undoing itself (which is guaranteed to succeed) and - // cannot be cancelled again. - CancelTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=cancel_time,json=cancelTime,proto3" json:"cancel_time,omitempty"` - // The time at which this operation failed or was completed successfully. - EndTime *timestamp.Timestamp `protobuf:"bytes,4,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 *CreateInstanceMetadata) Reset() { *m = CreateInstanceMetadata{} } -func (m *CreateInstanceMetadata) String() string { return proto.CompactTextString(m) } -func (*CreateInstanceMetadata) ProtoMessage() {} -func (*CreateInstanceMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_3837da4dfb7336ac, []int{11} -} - -func (m *CreateInstanceMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateInstanceMetadata.Unmarshal(m, b) -} -func (m *CreateInstanceMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateInstanceMetadata.Marshal(b, m, deterministic) -} -func (m *CreateInstanceMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateInstanceMetadata.Merge(m, src) -} -func (m *CreateInstanceMetadata) XXX_Size() int { - return xxx_messageInfo_CreateInstanceMetadata.Size(m) -} -func (m *CreateInstanceMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_CreateInstanceMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateInstanceMetadata proto.InternalMessageInfo - -func (m *CreateInstanceMetadata) GetInstance() *Instance { - if m != nil { - return m.Instance - } - return nil -} - -func (m *CreateInstanceMetadata) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *CreateInstanceMetadata) GetCancelTime() *timestamp.Timestamp { - if m != nil { - return m.CancelTime - } - return nil -} - -func (m *CreateInstanceMetadata) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -// Metadata type for the operation returned by -// [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]. -type UpdateInstanceMetadata struct { - // The desired end state of the update. - Instance *Instance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` - // The time at which - // [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance] - // request was received. - StartTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // The time at which this operation was cancelled. If set, this operation is - // in the process of undoing itself (which is guaranteed to succeed) and - // cannot be cancelled again. - CancelTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=cancel_time,json=cancelTime,proto3" json:"cancel_time,omitempty"` - // The time at which this operation failed or was completed successfully. - EndTime *timestamp.Timestamp `protobuf:"bytes,4,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 *UpdateInstanceMetadata) Reset() { *m = UpdateInstanceMetadata{} } -func (m *UpdateInstanceMetadata) String() string { return proto.CompactTextString(m) } -func (*UpdateInstanceMetadata) ProtoMessage() {} -func (*UpdateInstanceMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_3837da4dfb7336ac, []int{12} -} - -func (m *UpdateInstanceMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateInstanceMetadata.Unmarshal(m, b) -} -func (m *UpdateInstanceMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateInstanceMetadata.Marshal(b, m, deterministic) -} -func (m *UpdateInstanceMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateInstanceMetadata.Merge(m, src) -} -func (m *UpdateInstanceMetadata) XXX_Size() int { - return xxx_messageInfo_UpdateInstanceMetadata.Size(m) -} -func (m *UpdateInstanceMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateInstanceMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateInstanceMetadata proto.InternalMessageInfo - -func (m *UpdateInstanceMetadata) GetInstance() *Instance { - if m != nil { - return m.Instance - } - return nil -} - -func (m *UpdateInstanceMetadata) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *UpdateInstanceMetadata) GetCancelTime() *timestamp.Timestamp { - if m != nil { - return m.CancelTime - } - return nil -} - -func (m *UpdateInstanceMetadata) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -func init() { - proto.RegisterEnum("google.spanner.admin.instance.v1.Instance_State", Instance_State_name, Instance_State_value) - proto.RegisterType((*InstanceConfig)(nil), "google.spanner.admin.instance.v1.InstanceConfig") - proto.RegisterType((*Instance)(nil), "google.spanner.admin.instance.v1.Instance") - proto.RegisterMapType((map[string]string)(nil), "google.spanner.admin.instance.v1.Instance.LabelsEntry") - proto.RegisterType((*ListInstanceConfigsRequest)(nil), "google.spanner.admin.instance.v1.ListInstanceConfigsRequest") - proto.RegisterType((*ListInstanceConfigsResponse)(nil), "google.spanner.admin.instance.v1.ListInstanceConfigsResponse") - proto.RegisterType((*GetInstanceConfigRequest)(nil), "google.spanner.admin.instance.v1.GetInstanceConfigRequest") - proto.RegisterType((*GetInstanceRequest)(nil), "google.spanner.admin.instance.v1.GetInstanceRequest") - proto.RegisterType((*CreateInstanceRequest)(nil), "google.spanner.admin.instance.v1.CreateInstanceRequest") - proto.RegisterType((*ListInstancesRequest)(nil), "google.spanner.admin.instance.v1.ListInstancesRequest") - proto.RegisterType((*ListInstancesResponse)(nil), "google.spanner.admin.instance.v1.ListInstancesResponse") - proto.RegisterType((*UpdateInstanceRequest)(nil), "google.spanner.admin.instance.v1.UpdateInstanceRequest") - proto.RegisterType((*DeleteInstanceRequest)(nil), "google.spanner.admin.instance.v1.DeleteInstanceRequest") - proto.RegisterType((*CreateInstanceMetadata)(nil), "google.spanner.admin.instance.v1.CreateInstanceMetadata") - proto.RegisterType((*UpdateInstanceMetadata)(nil), "google.spanner.admin.instance.v1.UpdateInstanceMetadata") -} - -func init() { - proto.RegisterFile("google/spanner/admin/instance/v1/spanner_instance_admin.proto", fileDescriptor_3837da4dfb7336ac) -} - -var fileDescriptor_3837da4dfb7336ac = []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, - 0x5c, 0x83, 0x76, 0x89, 0xa1, 0xff, 0x52, 0x72, 0x48, 0x5d, 0xc7, 0xb5, 0xd4, 0x86, 0x68, 0xed, - 0x56, 0x02, 0x22, 0x59, 0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x72, 0x20, 0x4d, 0x22, 0x76, 0x45, 0x11, 0xb3, 0xca, 0x25, 0x45, 0xac, - 0x1f, 0xee, 0x28, 0xdd, 0x24, 0xc3, 0x6f, 0x10, 0x2c, 0x27, 0x87, 0xcc, 0x34, 0x0c, 0x47, 0x8e, - 0xa5, 0xc2, 0x99, 0xa1, 0x1e, 0x54, 0x95, 0xbf, 0x26, 0xba, 0x92, 0xa5, 0x29, 0x2a, 0xf9, 0x15, - 0x82, 0xa5, 0x06, 0x15, 0x75, 0xe2, 0xed, 0xaa, 0x1f, 0x23, 0x6c, 0xe8, 0x98, 0x0e, 0xf1, 0x64, - 0xe6, 0x41, 0xa3, 0xce, 0xbb, 0x9a, 0xc2, 0x44, 0x56, 0x63, 0x53, 0xa5, 0xbd, 0x66, 0x94, 0x55, - 0xda, 0x90, 0x72, 0xbf, 0x17, 0xb6, 0xc7, 0x8b, 0xc1, 0x07, 0x22, 0x4b, 0x65, 0x24, 0x95, 0xda, - 0x51, 0x54, 0x6a, 0x2f, 0x8d, 0x4a, 0x37, 0x45, 0xe5, 0x57, 0x04, 0xb8, 0x49, 0xb9, 0xda, 0xa4, - 0xa1, 0xe7, 0x70, 0x2e, 0xff, 0x07, 0x71, 0x31, 0x95, 0x6c, 0x18, 0xa2, 0x69, 0x5d, 0x9e, 0x02, - 0x19, 0xf7, 0x84, 0x8a, 0xa2, 0xba, 0x69, 0x5c, 0x9f, 0x8e, 0xaa, 0x18, 0x8a, 0xb4, 0x81, 0x4a, - 0xb7, 0xfe, 0x42, 0xf0, 0x66, 0xdb, 0xf7, 0x26, 0x5e, 0xa4, 0x5b, 0xaf, 0x35, 0x22, 0x53, 0x62, - 0x2a, 0xed, 0xca, 0xeb, 0xb3, 0x8b, 0x3e, 0xbe, 0x13, 0xbb, 0x77, 0x7d, 0x97, 0xb0, 0xae, 0xe9, - 0x87, 0x5d, 0xab, 0x4b, 0x99, 0xba, 0x5c, 0x56, 0x64, 0x22, 0x81, 0xc3, 0xc7, 0xff, 0xe8, 0xdf, - 0xd4, 0xcf, 0x3f, 0xcf, 0x5d, 0xaa, 0x45, 0xa1, 0x2a, 0xae, 0xdf, 0xeb, 0x98, 0x71, 0x52, 0x53, - 0x65, 0x7b, 0xfe, 0xc7, 0xf6, 0x60, 0xfd, 0x0f, 0x0d, 0xdc, 0x53, 0xc0, 0xbd, 0x18, 0xb8, 0xa7, - 0x80, 0x7b, 0x1a, 0xb8, 0xf7, 0x60, 0xfd, 0xe1, 0x82, 0xa2, 0xf1, 0xde, 0xbf, 0x01, 0x00, 0x00, - 0xff, 0xff, 0x23, 0xcc, 0x85, 0xa9, 0x6e, 0x10, 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 - -// InstanceAdminClient is the client API for InstanceAdmin service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type InstanceAdminClient interface { - // Lists the supported instance configurations for a given project. - ListInstanceConfigs(ctx context.Context, in *ListInstanceConfigsRequest, opts ...grpc.CallOption) (*ListInstanceConfigsResponse, error) - // Gets information about a particular instance configuration. - GetInstanceConfig(ctx context.Context, in *GetInstanceConfigRequest, opts ...grpc.CallOption) (*InstanceConfig, error) - // Lists all instances in the given project. - ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error) - // Gets information about a particular instance. - GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error) - // Creates an instance and begins preparing it to begin serving. The - // returned [long-running operation][google.longrunning.Operation] - // can be used to track the progress of preparing the new - // instance. The instance name is assigned by the caller. If the - // named instance already exists, `CreateInstance` returns - // `ALREADY_EXISTS`. - // - // Immediately upon completion of this request: - // - // * The instance is readable via the API, with all requested attributes - // but no allocated resources. Its state is `CREATING`. - // - // Until completion of the returned operation: - // - // * Cancelling the operation renders the instance immediately unreadable - // via the API. - // * The instance can be deleted. - // * All other attempts to modify the instance are rejected. - // - // Upon completion of the returned operation: - // - // * Billing for all successfully-allocated resources begins (some types - // may have lower than the requested levels). - // * Databases can be created in the instance. - // * The instance's allocated resource levels are readable via the API. - // * The instance's state becomes `READY`. - // - // The returned [long-running operation][google.longrunning.Operation] will - // have a name of the format `/operations/` and - // can be used to track creation of the instance. The - // [metadata][google.longrunning.Operation.metadata] field type is - // [CreateInstanceMetadata][google.spanner.admin.instance.v1.CreateInstanceMetadata]. - // The [response][google.longrunning.Operation.response] field type is - // [Instance][google.spanner.admin.instance.v1.Instance], if successful. - CreateInstance(ctx context.Context, in *CreateInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Updates an instance, and begins allocating or releasing resources - // as requested. The returned [long-running - // operation][google.longrunning.Operation] can be used to track the - // progress of updating the instance. If the named instance does not - // exist, returns `NOT_FOUND`. - // - // Immediately upon completion of this request: - // - // * For resource types for which a decrease in the instance's allocation - // has been requested, billing is based on the newly-requested level. - // - // Until completion of the returned operation: - // - // * Cancelling the operation sets its metadata's - // [cancel_time][google.spanner.admin.instance.v1.UpdateInstanceMetadata.cancel_time], - // and begins restoring resources to their pre-request values. The - // operation is guaranteed to succeed at undoing all resource changes, - // after which point it terminates with a `CANCELLED` status. - // * All other attempts to modify the instance are rejected. - // * Reading the instance via the API continues to give the pre-request - // resource levels. - // - // Upon completion of the returned operation: - // - // * Billing begins for all successfully-allocated resources (some types - // may have lower than the requested levels). - // * All newly-reserved resources are available for serving the instance's - // tables. - // * The instance's new resource levels are readable via the API. - // - // The returned [long-running operation][google.longrunning.Operation] will - // have a name of the format `/operations/` and - // can be used to track the instance modification. The - // [metadata][google.longrunning.Operation.metadata] field type is - // [UpdateInstanceMetadata][google.spanner.admin.instance.v1.UpdateInstanceMetadata]. - // The [response][google.longrunning.Operation.response] field type is - // [Instance][google.spanner.admin.instance.v1.Instance], if successful. - // - // Authorization requires `spanner.instances.update` permission on - // resource [name][google.spanner.admin.instance.v1.Instance.name]. - UpdateInstance(ctx context.Context, in *UpdateInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) - // Deletes an instance. - // - // Immediately upon completion of the request: - // - // * Billing ceases for all of the instance's reserved resources. - // - // Soon afterward: - // - // * The instance and *all of its databases* immediately and - // irrevocably disappear from the API. All data in the databases - // is permanently deleted. - DeleteInstance(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Sets the access control policy on an instance resource. Replaces any - // existing policy. - // - // Authorization requires `spanner.instances.setIamPolicy` on - // [resource][google.iam.v1.SetIamPolicyRequest.resource]. - SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) - // Gets the access control policy for an instance resource. Returns an empty - // policy if an instance exists but does not have a policy set. - // - // Authorization requires `spanner.instances.getIamPolicy` on - // [resource][google.iam.v1.GetIamPolicyRequest.resource]. - GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) - // Returns permissions that the caller has on the specified instance resource. - // - // Attempting this RPC on a non-existent Cloud Spanner instance resource will - // result in a NOT_FOUND error if the user has `spanner.instances.list` - // permission on the containing Google Cloud Project. Otherwise returns an - // empty set of permissions. - TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) -} - -type instanceAdminClient struct { - cc *grpc.ClientConn -} - -func NewInstanceAdminClient(cc *grpc.ClientConn) InstanceAdminClient { - return &instanceAdminClient{cc} -} - -func (c *instanceAdminClient) ListInstanceConfigs(ctx context.Context, in *ListInstanceConfigsRequest, opts ...grpc.CallOption) (*ListInstanceConfigsResponse, error) { - out := new(ListInstanceConfigsResponse) - err := c.cc.Invoke(ctx, "/google.spanner.admin.instance.v1.InstanceAdmin/ListInstanceConfigs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceAdminClient) GetInstanceConfig(ctx context.Context, in *GetInstanceConfigRequest, opts ...grpc.CallOption) (*InstanceConfig, error) { - out := new(InstanceConfig) - err := c.cc.Invoke(ctx, "/google.spanner.admin.instance.v1.InstanceAdmin/GetInstanceConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceAdminClient) ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error) { - out := new(ListInstancesResponse) - err := c.cc.Invoke(ctx, "/google.spanner.admin.instance.v1.InstanceAdmin/ListInstances", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceAdminClient) GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error) { - out := new(Instance) - err := c.cc.Invoke(ctx, "/google.spanner.admin.instance.v1.InstanceAdmin/GetInstance", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceAdminClient) CreateInstance(ctx context.Context, in *CreateInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.spanner.admin.instance.v1.InstanceAdmin/CreateInstance", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceAdminClient) UpdateInstance(ctx context.Context, in *UpdateInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { - out := new(longrunning.Operation) - err := c.cc.Invoke(ctx, "/google.spanner.admin.instance.v1.InstanceAdmin/UpdateInstance", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceAdminClient) DeleteInstance(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.spanner.admin.instance.v1.InstanceAdmin/DeleteInstance", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceAdminClient) SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { - out := new(v1.Policy) - err := c.cc.Invoke(ctx, "/google.spanner.admin.instance.v1.InstanceAdmin/SetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceAdminClient) GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { - out := new(v1.Policy) - err := c.cc.Invoke(ctx, "/google.spanner.admin.instance.v1.InstanceAdmin/GetIamPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *instanceAdminClient) TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) { - out := new(v1.TestIamPermissionsResponse) - err := c.cc.Invoke(ctx, "/google.spanner.admin.instance.v1.InstanceAdmin/TestIamPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// InstanceAdminServer is the server API for InstanceAdmin service. -type InstanceAdminServer interface { - // Lists the supported instance configurations for a given project. - ListInstanceConfigs(context.Context, *ListInstanceConfigsRequest) (*ListInstanceConfigsResponse, error) - // Gets information about a particular instance configuration. - GetInstanceConfig(context.Context, *GetInstanceConfigRequest) (*InstanceConfig, error) - // Lists all instances in the given project. - ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error) - // Gets information about a particular instance. - GetInstance(context.Context, *GetInstanceRequest) (*Instance, error) - // Creates an instance and begins preparing it to begin serving. The - // returned [long-running operation][google.longrunning.Operation] - // can be used to track the progress of preparing the new - // instance. The instance name is assigned by the caller. If the - // named instance already exists, `CreateInstance` returns - // `ALREADY_EXISTS`. - // - // Immediately upon completion of this request: - // - // * The instance is readable via the API, with all requested attributes - // but no allocated resources. Its state is `CREATING`. - // - // Until completion of the returned operation: - // - // * Cancelling the operation renders the instance immediately unreadable - // via the API. - // * The instance can be deleted. - // * All other attempts to modify the instance are rejected. - // - // Upon completion of the returned operation: - // - // * Billing for all successfully-allocated resources begins (some types - // may have lower than the requested levels). - // * Databases can be created in the instance. - // * The instance's allocated resource levels are readable via the API. - // * The instance's state becomes `READY`. - // - // The returned [long-running operation][google.longrunning.Operation] will - // have a name of the format `/operations/` and - // can be used to track creation of the instance. The - // [metadata][google.longrunning.Operation.metadata] field type is - // [CreateInstanceMetadata][google.spanner.admin.instance.v1.CreateInstanceMetadata]. - // The [response][google.longrunning.Operation.response] field type is - // [Instance][google.spanner.admin.instance.v1.Instance], if successful. - CreateInstance(context.Context, *CreateInstanceRequest) (*longrunning.Operation, error) - // Updates an instance, and begins allocating or releasing resources - // as requested. The returned [long-running - // operation][google.longrunning.Operation] can be used to track the - // progress of updating the instance. If the named instance does not - // exist, returns `NOT_FOUND`. - // - // Immediately upon completion of this request: - // - // * For resource types for which a decrease in the instance's allocation - // has been requested, billing is based on the newly-requested level. - // - // Until completion of the returned operation: - // - // * Cancelling the operation sets its metadata's - // [cancel_time][google.spanner.admin.instance.v1.UpdateInstanceMetadata.cancel_time], - // and begins restoring resources to their pre-request values. The - // operation is guaranteed to succeed at undoing all resource changes, - // after which point it terminates with a `CANCELLED` status. - // * All other attempts to modify the instance are rejected. - // * Reading the instance via the API continues to give the pre-request - // resource levels. - // - // Upon completion of the returned operation: - // - // * Billing begins for all successfully-allocated resources (some types - // may have lower than the requested levels). - // * All newly-reserved resources are available for serving the instance's - // tables. - // * The instance's new resource levels are readable via the API. - // - // The returned [long-running operation][google.longrunning.Operation] will - // have a name of the format `/operations/` and - // can be used to track the instance modification. The - // [metadata][google.longrunning.Operation.metadata] field type is - // [UpdateInstanceMetadata][google.spanner.admin.instance.v1.UpdateInstanceMetadata]. - // The [response][google.longrunning.Operation.response] field type is - // [Instance][google.spanner.admin.instance.v1.Instance], if successful. - // - // Authorization requires `spanner.instances.update` permission on - // resource [name][google.spanner.admin.instance.v1.Instance.name]. - UpdateInstance(context.Context, *UpdateInstanceRequest) (*longrunning.Operation, error) - // Deletes an instance. - // - // Immediately upon completion of the request: - // - // * Billing ceases for all of the instance's reserved resources. - // - // Soon afterward: - // - // * The instance and *all of its databases* immediately and - // irrevocably disappear from the API. All data in the databases - // is permanently deleted. - DeleteInstance(context.Context, *DeleteInstanceRequest) (*empty.Empty, error) - // Sets the access control policy on an instance resource. Replaces any - // existing policy. - // - // Authorization requires `spanner.instances.setIamPolicy` on - // [resource][google.iam.v1.SetIamPolicyRequest.resource]. - SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error) - // Gets the access control policy for an instance resource. Returns an empty - // policy if an instance exists but does not have a policy set. - // - // Authorization requires `spanner.instances.getIamPolicy` on - // [resource][google.iam.v1.GetIamPolicyRequest.resource]. - GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error) - // Returns permissions that the caller has on the specified instance resource. - // - // Attempting this RPC on a non-existent Cloud Spanner instance resource will - // result in a NOT_FOUND error if the user has `spanner.instances.list` - // permission on the containing Google Cloud Project. Otherwise returns an - // empty set of permissions. - TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) -} - -// UnimplementedInstanceAdminServer can be embedded to have forward compatible implementations. -type UnimplementedInstanceAdminServer struct { -} - -func (*UnimplementedInstanceAdminServer) ListInstanceConfigs(ctx context.Context, req *ListInstanceConfigsRequest) (*ListInstanceConfigsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListInstanceConfigs not implemented") -} -func (*UnimplementedInstanceAdminServer) GetInstanceConfig(ctx context.Context, req *GetInstanceConfigRequest) (*InstanceConfig, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetInstanceConfig not implemented") -} -func (*UnimplementedInstanceAdminServer) ListInstances(ctx context.Context, req *ListInstancesRequest) (*ListInstancesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListInstances not implemented") -} -func (*UnimplementedInstanceAdminServer) GetInstance(ctx context.Context, req *GetInstanceRequest) (*Instance, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetInstance not implemented") -} -func (*UnimplementedInstanceAdminServer) CreateInstance(ctx context.Context, req *CreateInstanceRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateInstance not implemented") -} -func (*UnimplementedInstanceAdminServer) UpdateInstance(ctx context.Context, req *UpdateInstanceRequest) (*longrunning.Operation, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateInstance not implemented") -} -func (*UnimplementedInstanceAdminServer) DeleteInstance(ctx context.Context, req *DeleteInstanceRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteInstance not implemented") -} -func (*UnimplementedInstanceAdminServer) SetIamPolicy(ctx context.Context, req *v1.SetIamPolicyRequest) (*v1.Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") -} -func (*UnimplementedInstanceAdminServer) GetIamPolicy(ctx context.Context, req *v1.GetIamPolicyRequest) (*v1.Policy, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") -} -func (*UnimplementedInstanceAdminServer) TestIamPermissions(ctx context.Context, req *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") -} - -func RegisterInstanceAdminServer(s *grpc.Server, srv InstanceAdminServer) { - s.RegisterService(&_InstanceAdmin_serviceDesc, srv) -} - -func _InstanceAdmin_ListInstanceConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListInstanceConfigsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceAdminServer).ListInstanceConfigs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.spanner.admin.instance.v1.InstanceAdmin/ListInstanceConfigs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceAdminServer).ListInstanceConfigs(ctx, req.(*ListInstanceConfigsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceAdmin_GetInstanceConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetInstanceConfigRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InstanceAdminServer).GetInstanceConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.spanner.admin.instance.v1.InstanceAdmin/GetInstanceConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceAdminServer).GetInstanceConfig(ctx, req.(*GetInstanceConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceAdmin_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.(InstanceAdminServer).ListInstances(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.spanner.admin.instance.v1.InstanceAdmin/ListInstances", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceAdminServer).ListInstances(ctx, req.(*ListInstancesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceAdmin_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.(InstanceAdminServer).GetInstance(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.spanner.admin.instance.v1.InstanceAdmin/GetInstance", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceAdminServer).GetInstance(ctx, req.(*GetInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceAdmin_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.(InstanceAdminServer).CreateInstance(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.spanner.admin.instance.v1.InstanceAdmin/CreateInstance", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceAdminServer).CreateInstance(ctx, req.(*CreateInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceAdmin_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.(InstanceAdminServer).UpdateInstance(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.spanner.admin.instance.v1.InstanceAdmin/UpdateInstance", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceAdminServer).UpdateInstance(ctx, req.(*UpdateInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceAdmin_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.(InstanceAdminServer).DeleteInstance(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.spanner.admin.instance.v1.InstanceAdmin/DeleteInstance", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceAdminServer).DeleteInstance(ctx, req.(*DeleteInstanceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceAdmin_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.(InstanceAdminServer).SetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.spanner.admin.instance.v1.InstanceAdmin/SetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceAdminServer).SetIamPolicy(ctx, req.(*v1.SetIamPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceAdmin_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.(InstanceAdminServer).GetIamPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.spanner.admin.instance.v1.InstanceAdmin/GetIamPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceAdminServer).GetIamPolicy(ctx, req.(*v1.GetIamPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InstanceAdmin_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.(InstanceAdminServer).TestIamPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.spanner.admin.instance.v1.InstanceAdmin/TestIamPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InstanceAdminServer).TestIamPermissions(ctx, req.(*v1.TestIamPermissionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _InstanceAdmin_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.spanner.admin.instance.v1.InstanceAdmin", - HandlerType: (*InstanceAdminServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListInstanceConfigs", - Handler: _InstanceAdmin_ListInstanceConfigs_Handler, - }, - { - MethodName: "GetInstanceConfig", - Handler: _InstanceAdmin_GetInstanceConfig_Handler, - }, - { - MethodName: "ListInstances", - Handler: _InstanceAdmin_ListInstances_Handler, - }, - { - MethodName: "GetInstance", - Handler: _InstanceAdmin_GetInstance_Handler, - }, - { - MethodName: "CreateInstance", - Handler: _InstanceAdmin_CreateInstance_Handler, - }, - { - MethodName: "UpdateInstance", - Handler: _InstanceAdmin_UpdateInstance_Handler, - }, - { - MethodName: "DeleteInstance", - Handler: _InstanceAdmin_DeleteInstance_Handler, - }, - { - MethodName: "SetIamPolicy", - Handler: _InstanceAdmin_SetIamPolicy_Handler, - }, - { - MethodName: "GetIamPolicy", - Handler: _InstanceAdmin_GetIamPolicy_Handler, - }, - { - MethodName: "TestIamPermissions", - Handler: _InstanceAdmin_TestIamPermissions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/spanner/admin/instance/v1/spanner_instance_admin.proto", -} 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 deleted file mode 100644 index 687e253f..00000000 --- a/vendor/google.golang.org/genproto/googleapis/spanner/v1/keys.pb.go +++ /dev/null @@ -1,345 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/spanner/v1/keys.proto - -package spanner - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _struct "github.com/golang/protobuf/ptypes/struct" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// KeyRange represents a range of rows in a table or index. -// -// A range has a start key and an end key. These keys can be open or -// closed, indicating if the range includes rows with that key. -// -// Keys are represented by lists, where the ith value in the list -// corresponds to the ith component of the table or index primary key. -// Individual values are encoded as described -// [here][google.spanner.v1.TypeCode]. -// -// For example, consider the following table definition: -// -// CREATE TABLE UserEvents ( -// UserName STRING(MAX), -// EventDate STRING(10) -// ) PRIMARY KEY(UserName, EventDate); -// -// The following keys name rows in this table: -// -// ["Bob", "2014-09-23"] -// ["Alfred", "2015-06-12"] -// -// Since the `UserEvents` table's `PRIMARY KEY` clause names two -// columns, each `UserEvents` key has two elements; the first is the -// `UserName`, and the second is the `EventDate`. -// -// Key ranges with multiple components are interpreted -// lexicographically by component using the table or index key's declared -// sort order. For example, the following range returns all events for -// user `"Bob"` that occurred in the year 2015: -// -// "start_closed": ["Bob", "2015-01-01"] -// "end_closed": ["Bob", "2015-12-31"] -// -// Start and end keys can omit trailing key components. This affects the -// inclusion and exclusion of rows that exactly match the provided key -// components: if the key is closed, then rows that exactly match the -// provided components are included; if the key is open, then rows -// that exactly match are not included. -// -// For example, the following range includes all events for `"Bob"` that -// occurred during and after the year 2000: -// -// "start_closed": ["Bob", "2000-01-01"] -// "end_closed": ["Bob"] -// -// The next example retrieves all events for `"Bob"`: -// -// "start_closed": ["Bob"] -// "end_closed": ["Bob"] -// -// To retrieve events before the year 2000: -// -// "start_closed": ["Bob"] -// "end_open": ["Bob", "2000-01-01"] -// -// The following range includes all rows in the table: -// -// "start_closed": [] -// "end_closed": [] -// -// This range returns all users whose `UserName` begins with any -// character from A to C: -// -// "start_closed": ["A"] -// "end_open": ["D"] -// -// This range returns all users whose `UserName` begins with B: -// -// "start_closed": ["B"] -// "end_open": ["C"] -// -// Key ranges honor column sort order. For example, suppose a table is -// defined as follows: -// -// CREATE TABLE DescendingSortedTable { -// Key INT64, -// ... -// ) PRIMARY KEY(Key DESC); -// -// The following range retrieves all rows with key values between 1 -// and 100 inclusive: -// -// "start_closed": ["100"] -// "end_closed": ["1"] -// -// Note that 100 is passed as the start, and 1 is passed as the end, -// because `Key` is a descending column in the schema. -type KeyRange struct { - // The start key must be provided. It can be either closed or open. - // - // Types that are valid to be assigned to StartKeyType: - // *KeyRange_StartClosed - // *KeyRange_StartOpen - StartKeyType isKeyRange_StartKeyType `protobuf_oneof:"start_key_type"` - // The end key must be provided. It can be either closed or open. - // - // Types that are valid to be assigned to EndKeyType: - // *KeyRange_EndClosed - // *KeyRange_EndOpen - EndKeyType isKeyRange_EndKeyType `protobuf_oneof:"end_key_type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_558e8abca28348dd, []int{0} -} - -func (m *KeyRange) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_KeyRange.Unmarshal(m, b) -} -func (m *KeyRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_KeyRange.Marshal(b, m, deterministic) -} -func (m *KeyRange) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeyRange.Merge(m, src) -} -func (m *KeyRange) XXX_Size() int { - return xxx_messageInfo_KeyRange.Size(m) -} -func (m *KeyRange) XXX_DiscardUnknown() { - xxx_messageInfo_KeyRange.DiscardUnknown(m) -} - -var xxx_messageInfo_KeyRange proto.InternalMessageInfo - -type isKeyRange_StartKeyType interface { - isKeyRange_StartKeyType() -} - -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"` -} - -func (*KeyRange_StartClosed) isKeyRange_StartKeyType() {} - -func (*KeyRange_StartOpen) isKeyRange_StartKeyType() {} - -func (m *KeyRange) GetStartKeyType() isKeyRange_StartKeyType { - if m != nil { - return m.StartKeyType - } - return nil -} - -func (m *KeyRange) GetStartClosed() *_struct.ListValue { - if x, ok := m.GetStartKeyType().(*KeyRange_StartClosed); ok { - return x.StartClosed - } - return nil -} - -func (m *KeyRange) GetStartOpen() *_struct.ListValue { - if x, ok := m.GetStartKeyType().(*KeyRange_StartOpen); ok { - return x.StartOpen - } - 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 - } - return nil -} - -func (m *KeyRange) GetEndOpen() *_struct.ListValue { - if x, ok := m.GetEndKeyType().(*KeyRange_EndOpen); ok { - return x.EndOpen - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*KeyRange) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*KeyRange_StartClosed)(nil), - (*KeyRange_StartOpen)(nil), - (*KeyRange_EndClosed)(nil), - (*KeyRange_EndOpen)(nil), - } -} - -// `KeySet` defines a collection of Cloud Spanner keys and/or key ranges. All -// the keys are expected to be in the same table or index. The keys need -// not be sorted in any particular way. -// -// If the same key is specified multiple times in the set (for example -// if two ranges, two keys, or a key and a range overlap), Cloud Spanner -// behaves as if the key were only specified once. -type KeySet struct { - // A list of specific keys. Entries in `keys` should have exactly as - // many elements as there are columns in the primary or index key - // with which this `KeySet` is used. Individual key values are - // encoded as described [here][google.spanner.v1.TypeCode]. - Keys []*_struct.ListValue `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` - // A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more - // information about key range specifications. - Ranges []*KeyRange `protobuf:"bytes,2,rep,name=ranges,proto3" json:"ranges,omitempty"` - // For convenience `all` can be set to `true` to indicate that this - // `KeySet` matches all keys in the table or index. Note that any keys - // specified in `keys` or `ranges` are only yielded once. - All bool `protobuf:"varint,3,opt,name=all,proto3" json:"all,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_558e8abca28348dd, []int{1} -} - -func (m *KeySet) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_KeySet.Unmarshal(m, b) -} -func (m *KeySet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_KeySet.Marshal(b, m, deterministic) -} -func (m *KeySet) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeySet.Merge(m, src) -} -func (m *KeySet) XXX_Size() int { - return xxx_messageInfo_KeySet.Size(m) -} -func (m *KeySet) XXX_DiscardUnknown() { - xxx_messageInfo_KeySet.DiscardUnknown(m) -} - -var xxx_messageInfo_KeySet proto.InternalMessageInfo - -func (m *KeySet) GetKeys() []*_struct.ListValue { - if m != nil { - return m.Keys - } - return nil -} - -func (m *KeySet) GetRanges() []*KeyRange { - if m != nil { - return m.Ranges - } - return nil -} - -func (m *KeySet) GetAll() bool { - if m != nil { - return m.All - } - return false -} - -func init() { - proto.RegisterType((*KeyRange)(nil), "google.spanner.v1.KeyRange") - proto.RegisterType((*KeySet)(nil), "google.spanner.v1.KeySet") -} - -func init() { proto.RegisterFile("google/spanner/v1/keys.proto", fileDescriptor_558e8abca28348dd) } - -var fileDescriptor_558e8abca28348dd = []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, - 0x52, 0x3a, 0x0f, 0x1b, 0x78, 0x18, 0xd4, 0xc3, 0x06, 0x0e, 0x26, 0x15, 0x3c, 0x0c, 0x41, 0xa2, - 0xfd, 0xad, 0x14, 0xb3, 0x24, 0x34, 0xa9, 0xd0, 0xd3, 0xfe, 0x87, 0xfd, 0x05, 0x3b, 0xef, 0x4f, - 0xd9, 0x5f, 0x35, 0x92, 0xa6, 0x63, 0x20, 0x6c, 0xde, 0x12, 0x3e, 0xbf, 0xcf, 0xf7, 0x9b, 0x26, - 0x45, 0x67, 0x29, 0xe7, 0x29, 0x85, 0x40, 0x0a, 0xc2, 0x18, 0xe4, 0xc1, 0x21, 0x0c, 0xf6, 0x50, - 0x4a, 0x2c, 0x72, 0xae, 0xb8, 0xf7, 0xa7, 0xa2, 0xd8, 0x52, 0x7c, 0x08, 0x87, 0xb5, 0x40, 0x44, - 0x16, 0x10, 0xc6, 0xb8, 0x22, 0x2a, 0xe3, 0xcc, 0x0a, 0x9f, 0xd4, 0xec, 0xb6, 0xc5, 0x63, 0x20, - 0x55, 0x5e, 0xec, 0x54, 0x45, 0xc7, 0xaf, 0x2e, 0x6a, 0xcf, 0xa1, 0x8c, 0x09, 0x4b, 0xc1, 0xbb, - 0x46, 0x3d, 0xa9, 0x48, 0xae, 0x36, 0x3b, 0xca, 0x25, 0x24, 0xbe, 0x33, 0x72, 0xce, 0xbb, 0x17, - 0x43, 0x6c, 0x2b, 0xeb, 0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a, 0xac, 0x0d, 0x59, 0x5b, 0xb2, 0x5e, - 0x85, 0xdb, 0x96, 0x09, 0x9e, 0x7c, 0x04, 0x00, 0x00, 0xff, 0xff, 0x27, 0x88, 0xea, 0x11, 0xae, - 0x02, 0x00, 0x00, -} 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 deleted file mode 100644 index 9800bfde..00000000 --- a/vendor/google.golang.org/genproto/googleapis/spanner/v1/mutation.pb.go +++ /dev/null @@ -1,321 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/spanner/v1/mutation.proto - -package spanner - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _struct "github.com/golang/protobuf/ptypes/struct" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A modification to one or more Cloud Spanner rows. Mutations can be -// applied to a Cloud Spanner database by sending them in a -// [Commit][google.spanner.v1.Spanner.Commit] call. -type Mutation struct { - // Required. The operation to perform. - // - // Types that are valid to be assigned to Operation: - // *Mutation_Insert - // *Mutation_Update - // *Mutation_InsertOrUpdate - // *Mutation_Replace - // *Mutation_Delete_ - Operation isMutation_Operation `protobuf_oneof:"operation"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_069356a524fd0232, []int{0} -} - -func (m *Mutation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Mutation.Unmarshal(m, b) -} -func (m *Mutation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Mutation.Marshal(b, m, deterministic) -} -func (m *Mutation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Mutation.Merge(m, src) -} -func (m *Mutation) XXX_Size() int { - return xxx_messageInfo_Mutation.Size(m) -} -func (m *Mutation) XXX_DiscardUnknown() { - xxx_messageInfo_Mutation.DiscardUnknown(m) -} - -var xxx_messageInfo_Mutation proto.InternalMessageInfo - -type isMutation_Operation interface { - isMutation_Operation() -} - -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_InsertOrUpdate) isMutation_Operation() {} - -func (*Mutation_Replace) isMutation_Operation() {} - -func (*Mutation_Delete_) isMutation_Operation() {} - -func (m *Mutation) GetOperation() isMutation_Operation { - if m != nil { - return m.Operation - } - return nil -} - -func (m *Mutation) GetInsert() *Mutation_Write { - if x, ok := m.GetOperation().(*Mutation_Insert); ok { - return x.Insert - } - return nil -} - -func (m *Mutation) GetUpdate() *Mutation_Write { - if x, ok := m.GetOperation().(*Mutation_Update); ok { - return x.Update - } - return nil -} - -func (m *Mutation) GetInsertOrUpdate() *Mutation_Write { - if x, ok := m.GetOperation().(*Mutation_InsertOrUpdate); ok { - return x.InsertOrUpdate - } - return nil -} - -func (m *Mutation) GetReplace() *Mutation_Write { - if x, ok := m.GetOperation().(*Mutation_Replace); ok { - return x.Replace - } - return nil -} - -func (m *Mutation) GetDelete() *Mutation_Delete { - if x, ok := m.GetOperation().(*Mutation_Delete_); ok { - return x.Delete - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Mutation) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Mutation_Insert)(nil), - (*Mutation_Update)(nil), - (*Mutation_InsertOrUpdate)(nil), - (*Mutation_Replace)(nil), - (*Mutation_Delete_)(nil), - } -} - -// Arguments to [insert][google.spanner.v1.Mutation.insert], -// [update][google.spanner.v1.Mutation.update], -// [insert_or_update][google.spanner.v1.Mutation.insert_or_update], and -// [replace][google.spanner.v1.Mutation.replace] operations. -type Mutation_Write struct { - // Required. The table whose rows will be written. - Table string `protobuf:"bytes,1,opt,name=table,proto3" json:"table,omitempty"` - // The names of the columns in - // [table][google.spanner.v1.Mutation.Write.table] to be written. - // - // The list of columns must contain enough columns to allow - // Cloud Spanner to derive values for all primary key columns in the - // row(s) to be modified. - Columns []string `protobuf:"bytes,2,rep,name=columns,proto3" json:"columns,omitempty"` - // The values to be written. `values` can contain more than one - // list of values. If it does, then multiple rows are written, one - // for each entry in `values`. Each list in `values` must have - // exactly as many entries as there are entries in - // [columns][google.spanner.v1.Mutation.Write.columns] above. Sending - // multiple lists is equivalent to sending multiple `Mutation`s, each - // containing one `values` entry and repeating - // [table][google.spanner.v1.Mutation.Write.table] and - // [columns][google.spanner.v1.Mutation.Write.columns]. Individual values in - // each list are encoded as described [here][google.spanner.v1.TypeCode]. - Values []*_struct.ListValue `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_069356a524fd0232, []int{0, 0} -} - -func (m *Mutation_Write) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Mutation_Write.Unmarshal(m, b) -} -func (m *Mutation_Write) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Mutation_Write.Marshal(b, m, deterministic) -} -func (m *Mutation_Write) XXX_Merge(src proto.Message) { - xxx_messageInfo_Mutation_Write.Merge(m, src) -} -func (m *Mutation_Write) XXX_Size() int { - return xxx_messageInfo_Mutation_Write.Size(m) -} -func (m *Mutation_Write) XXX_DiscardUnknown() { - xxx_messageInfo_Mutation_Write.DiscardUnknown(m) -} - -var xxx_messageInfo_Mutation_Write proto.InternalMessageInfo - -func (m *Mutation_Write) GetTable() string { - if m != nil { - return m.Table - } - return "" -} - -func (m *Mutation_Write) GetColumns() []string { - if m != nil { - return m.Columns - } - return nil -} - -func (m *Mutation_Write) GetValues() []*_struct.ListValue { - if m != nil { - return m.Values - } - return nil -} - -// Arguments to [delete][google.spanner.v1.Mutation.delete] operations. -type Mutation_Delete struct { - // Required. The table whose rows will be deleted. - Table string `protobuf:"bytes,1,opt,name=table,proto3" json:"table,omitempty"` - // Required. The primary keys of the rows within - // [table][google.spanner.v1.Mutation.Delete.table] to delete. Delete is - // idempotent. The transaction will succeed even if some or all rows do not - // exist. - KeySet *KeySet `protobuf:"bytes,2,opt,name=key_set,json=keySet,proto3" json:"key_set,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_069356a524fd0232, []int{0, 1} -} - -func (m *Mutation_Delete) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Mutation_Delete.Unmarshal(m, b) -} -func (m *Mutation_Delete) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Mutation_Delete.Marshal(b, m, deterministic) -} -func (m *Mutation_Delete) XXX_Merge(src proto.Message) { - xxx_messageInfo_Mutation_Delete.Merge(m, src) -} -func (m *Mutation_Delete) XXX_Size() int { - return xxx_messageInfo_Mutation_Delete.Size(m) -} -func (m *Mutation_Delete) XXX_DiscardUnknown() { - xxx_messageInfo_Mutation_Delete.DiscardUnknown(m) -} - -var xxx_messageInfo_Mutation_Delete proto.InternalMessageInfo - -func (m *Mutation_Delete) GetTable() string { - if m != nil { - return m.Table - } - return "" -} - -func (m *Mutation_Delete) GetKeySet() *KeySet { - if m != nil { - return m.KeySet - } - return nil -} - -func init() { - proto.RegisterType((*Mutation)(nil), "google.spanner.v1.Mutation") - proto.RegisterType((*Mutation_Write)(nil), "google.spanner.v1.Mutation.Write") - proto.RegisterType((*Mutation_Delete)(nil), "google.spanner.v1.Mutation.Delete") -} - -func init() { proto.RegisterFile("google/spanner/v1/mutation.proto", fileDescriptor_069356a524fd0232) } - -var fileDescriptor_069356a524fd0232 = []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, - 0x69, 0xbd, 0x11, 0xa6, 0x37, 0x53, 0x50, 0xd0, 0xe1, 0xe8, 0x70, 0x82, 0x0c, 0x46, 0xd6, 0x1d, - 0x4b, 0x69, 0x96, 0x94, 0x24, 0x1d, 0xec, 0x45, 0xbc, 0xf4, 0x01, 0x7c, 0x14, 0x9f, 0x4a, 0x9a, - 0xa4, 0x32, 0x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x28, 0x33, 0x85, 0x1f, 0xa0, 0x61, 0xce, - 0x69, 0x73, 0x60, 0x32, 0xe8, 0x45, 0xee, 0x74, 0x94, 0x75, 0xa5, 0x9f, 0x22, 0xef, 0x48, 0x68, - 0x03, 0x32, 0x70, 0x23, 0x77, 0x3a, 0x4e, 0xc3, 0xae, 0x6d, 0x77, 0xb1, 0xf8, 0x63, 0x29, 0xd5, - 0xba, 0xb5, 0x64, 0xd6, 0x19, 0x66, 0xc8, 0x33, 0x03, 0xfc, 0xa7, 0x5b, 0x8a, 0x86, 0x15, 0x9c, - 0xb6, 0x12, 0x94, 0xbd, 0x96, 0xa7, 0xff, 0xd8, 0xe5, 0x03, 0x9c, 0x56, 0xa0, 0x32, 0xaf, 0xd2, - 0xdf, 0xf9, 0x18, 0x8d, 0x78, 0x0d, 0x42, 0xaf, 0x37, 0xff, 0xee, 0xa0, 0xc7, 0x39, 0x3f, 0x5c, - 0x52, 0xf3, 0x7b, 0xdd, 0x11, 0x2c, 0xdb, 0xf1, 0x96, 0xce, 0xd7, 0x97, 0xd6, 0x53, 0x70, 0x4a, - 0x58, 0x81, 0xb9, 0x28, 0xe2, 0x02, 0x98, 0x1e, 0x3e, 0x36, 0x12, 0xa9, 0x4b, 0x79, 0xf6, 0x10, - 0x67, 0xf6, 0xf7, 0x67, 0xef, 0xc9, 0x3b, 0x83, 0xbe, 0xa1, 0xbc, 0xd9, 0xe3, 0x95, 0x6d, 0xb2, - 0x4e, 0x7e, 0x75, 0xca, 0x46, 0x2b, 0x1b, 0xab, 0x6c, 0xd6, 0xc9, 0xce, 0xd3, 0xc1, 0x2f, 0x7e, - 0x07, 0x00, 0x00, 0xff, 0xff, 0x6b, 0x69, 0x1c, 0xbc, 0x51, 0x03, 0x00, 0x00, -} 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 deleted file mode 100644 index ef5430d6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/spanner/v1/query_plan.pb.go +++ /dev/null @@ -1,395 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/spanner/v1/query_plan.proto - -package spanner - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _struct "github.com/golang/protobuf/ptypes/struct" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The kind of [PlanNode][google.spanner.v1.PlanNode]. Distinguishes between -// the two different kinds of nodes that can appear in a query plan. -type PlanNode_Kind int32 - -const ( - // Not specified. - PlanNode_KIND_UNSPECIFIED PlanNode_Kind = 0 - // Denotes a Relational operator node in the expression tree. Relational - // operators represent iterative processing of rows during query execution. - // For example, a `TableScan` operation that reads rows from a table. - PlanNode_RELATIONAL PlanNode_Kind = 1 - // Denotes a Scalar node in the expression tree. Scalar nodes represent - // non-iterable entities in the query plan. For example, constants or - // arithmetic operators appearing inside predicate expressions or references - // to column names. - PlanNode_SCALAR PlanNode_Kind = 2 -) - -var PlanNode_Kind_name = map[int32]string{ - 0: "KIND_UNSPECIFIED", - 1: "RELATIONAL", - 2: "SCALAR", -} - -var PlanNode_Kind_value = map[string]int32{ - "KIND_UNSPECIFIED": 0, - "RELATIONAL": 1, - "SCALAR": 2, -} - -func (x PlanNode_Kind) String() string { - return proto.EnumName(PlanNode_Kind_name, int32(x)) -} - -func (PlanNode_Kind) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_14e5ab0c0507d181, []int{0, 0} -} - -// Node information for nodes appearing in a -// [QueryPlan.plan_nodes][google.spanner.v1.QueryPlan.plan_nodes]. -type PlanNode struct { - // The `PlanNode`'s index in [node - // list][google.spanner.v1.QueryPlan.plan_nodes]. - Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` - // Used to determine the type of node. May be needed for visualizing - // different kinds of nodes differently. For example, If the node is a - // [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] node, it will have a - // condensed representation which can be used to directly embed a description - // of the node in its parent. - Kind PlanNode_Kind `protobuf:"varint,2,opt,name=kind,proto3,enum=google.spanner.v1.PlanNode_Kind" json:"kind,omitempty"` - // The display name for the node. - DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - // List of child node `index`es and their relationship to this parent. - ChildLinks []*PlanNode_ChildLink `protobuf:"bytes,4,rep,name=child_links,json=childLinks,proto3" json:"child_links,omitempty"` - // Condensed representation for - // [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes. - ShortRepresentation *PlanNode_ShortRepresentation `protobuf:"bytes,5,opt,name=short_representation,json=shortRepresentation,proto3" json:"short_representation,omitempty"` - // Attributes relevant to the node contained in a group of key-value pairs. - // For example, a Parameter Reference node could have the following - // information in its metadata: - // - // { - // "parameter_reference": "param1", - // "parameter_type": "array" - // } - Metadata *_struct.Struct `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` - // The execution statistics associated with the node, contained in a group of - // key-value pairs. Only present if the plan was returned as a result of a - // profile query. For example, number of executions, number of rows/time per - // execution etc. - ExecutionStats *_struct.Struct `protobuf:"bytes,7,opt,name=execution_stats,json=executionStats,proto3" json:"execution_stats,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_14e5ab0c0507d181, []int{0} -} - -func (m *PlanNode) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PlanNode.Unmarshal(m, b) -} -func (m *PlanNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PlanNode.Marshal(b, m, deterministic) -} -func (m *PlanNode) XXX_Merge(src proto.Message) { - xxx_messageInfo_PlanNode.Merge(m, src) -} -func (m *PlanNode) XXX_Size() int { - return xxx_messageInfo_PlanNode.Size(m) -} -func (m *PlanNode) XXX_DiscardUnknown() { - xxx_messageInfo_PlanNode.DiscardUnknown(m) -} - -var xxx_messageInfo_PlanNode proto.InternalMessageInfo - -func (m *PlanNode) GetIndex() int32 { - if m != nil { - return m.Index - } - return 0 -} - -func (m *PlanNode) GetKind() PlanNode_Kind { - if m != nil { - return m.Kind - } - return PlanNode_KIND_UNSPECIFIED -} - -func (m *PlanNode) GetDisplayName() string { - if m != nil { - return m.DisplayName - } - return "" -} - -func (m *PlanNode) GetChildLinks() []*PlanNode_ChildLink { - if m != nil { - return m.ChildLinks - } - return nil -} - -func (m *PlanNode) GetShortRepresentation() *PlanNode_ShortRepresentation { - if m != nil { - return m.ShortRepresentation - } - return nil -} - -func (m *PlanNode) GetMetadata() *_struct.Struct { - if m != nil { - return m.Metadata - } - return nil -} - -func (m *PlanNode) GetExecutionStats() *_struct.Struct { - if m != nil { - return m.ExecutionStats - } - return nil -} - -// Metadata associated with a parent-child relationship appearing in a -// [PlanNode][google.spanner.v1.PlanNode]. -type PlanNode_ChildLink struct { - // The node to which the link points. - ChildIndex int32 `protobuf:"varint,1,opt,name=child_index,json=childIndex,proto3" json:"child_index,omitempty"` - // The type of the link. For example, in Hash Joins this could be used to - // distinguish between the build child and the probe child, or in the case - // of the child being an output variable, to represent the tag associated - // with the output variable. - Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` - // Only present if the child node is - // [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds to an - // output variable of the parent node. The field carries the name of the - // output variable. For example, a `TableScan` operator that reads rows from - // a table will have child links to the `SCALAR` nodes representing the - // output variables created for each column that is read by the operator. - // The corresponding `variable` fields will be set to the variable names - // assigned to the columns. - Variable string `protobuf:"bytes,3,opt,name=variable,proto3" json:"variable,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_14e5ab0c0507d181, []int{0, 0} -} - -func (m *PlanNode_ChildLink) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PlanNode_ChildLink.Unmarshal(m, b) -} -func (m *PlanNode_ChildLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PlanNode_ChildLink.Marshal(b, m, deterministic) -} -func (m *PlanNode_ChildLink) XXX_Merge(src proto.Message) { - xxx_messageInfo_PlanNode_ChildLink.Merge(m, src) -} -func (m *PlanNode_ChildLink) XXX_Size() int { - return xxx_messageInfo_PlanNode_ChildLink.Size(m) -} -func (m *PlanNode_ChildLink) XXX_DiscardUnknown() { - xxx_messageInfo_PlanNode_ChildLink.DiscardUnknown(m) -} - -var xxx_messageInfo_PlanNode_ChildLink proto.InternalMessageInfo - -func (m *PlanNode_ChildLink) GetChildIndex() int32 { - if m != nil { - return m.ChildIndex - } - return 0 -} - -func (m *PlanNode_ChildLink) GetType() string { - if m != nil { - return m.Type - } - return "" -} - -func (m *PlanNode_ChildLink) GetVariable() string { - if m != nil { - return m.Variable - } - return "" -} - -// Condensed representation of a node and its subtree. Only present for -// `SCALAR` [PlanNode(s)][google.spanner.v1.PlanNode]. -type PlanNode_ShortRepresentation struct { - // A string representation of the expression subtree rooted at this node. - Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` - // A mapping of (subquery variable name) -> (subquery node id) for cases - // where the `description` string of this node references a `SCALAR` - // subquery contained in the expression subtree rooted at this node. The - // referenced `SCALAR` subquery may not necessarily be a direct child of - // this node. - Subqueries map[string]int32 `protobuf:"bytes,2,rep,name=subqueries,proto3" json:"subqueries,omitempty" protobuf_key:"bytes,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 *PlanNode_ShortRepresentation) Reset() { *m = PlanNode_ShortRepresentation{} } -func (m *PlanNode_ShortRepresentation) String() string { return proto.CompactTextString(m) } -func (*PlanNode_ShortRepresentation) ProtoMessage() {} -func (*PlanNode_ShortRepresentation) Descriptor() ([]byte, []int) { - return fileDescriptor_14e5ab0c0507d181, []int{0, 1} -} - -func (m *PlanNode_ShortRepresentation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PlanNode_ShortRepresentation.Unmarshal(m, b) -} -func (m *PlanNode_ShortRepresentation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PlanNode_ShortRepresentation.Marshal(b, m, deterministic) -} -func (m *PlanNode_ShortRepresentation) XXX_Merge(src proto.Message) { - xxx_messageInfo_PlanNode_ShortRepresentation.Merge(m, src) -} -func (m *PlanNode_ShortRepresentation) XXX_Size() int { - return xxx_messageInfo_PlanNode_ShortRepresentation.Size(m) -} -func (m *PlanNode_ShortRepresentation) XXX_DiscardUnknown() { - xxx_messageInfo_PlanNode_ShortRepresentation.DiscardUnknown(m) -} - -var xxx_messageInfo_PlanNode_ShortRepresentation proto.InternalMessageInfo - -func (m *PlanNode_ShortRepresentation) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *PlanNode_ShortRepresentation) GetSubqueries() map[string]int32 { - if m != nil { - return m.Subqueries - } - return nil -} - -// Contains an ordered list of nodes appearing in the query plan. -type QueryPlan struct { - // The nodes in the query plan. Plan nodes are returned in pre-order starting - // with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` - // corresponds to its index in `plan_nodes`. - PlanNodes []*PlanNode `protobuf:"bytes,1,rep,name=plan_nodes,json=planNodes,proto3" json:"plan_nodes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_14e5ab0c0507d181, []int{1} -} - -func (m *QueryPlan) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryPlan.Unmarshal(m, b) -} -func (m *QueryPlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryPlan.Marshal(b, m, deterministic) -} -func (m *QueryPlan) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryPlan.Merge(m, src) -} -func (m *QueryPlan) XXX_Size() int { - return xxx_messageInfo_QueryPlan.Size(m) -} -func (m *QueryPlan) XXX_DiscardUnknown() { - xxx_messageInfo_QueryPlan.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryPlan proto.InternalMessageInfo - -func (m *QueryPlan) GetPlanNodes() []*PlanNode { - if m != nil { - return m.PlanNodes - } - return nil -} - -func init() { - proto.RegisterEnum("google.spanner.v1.PlanNode_Kind", PlanNode_Kind_name, PlanNode_Kind_value) - proto.RegisterType((*PlanNode)(nil), "google.spanner.v1.PlanNode") - proto.RegisterType((*PlanNode_ChildLink)(nil), "google.spanner.v1.PlanNode.ChildLink") - proto.RegisterType((*PlanNode_ShortRepresentation)(nil), "google.spanner.v1.PlanNode.ShortRepresentation") - proto.RegisterMapType((map[string]int32)(nil), "google.spanner.v1.PlanNode.ShortRepresentation.SubqueriesEntry") - proto.RegisterType((*QueryPlan)(nil), "google.spanner.v1.QueryPlan") -} - -func init() { proto.RegisterFile("google/spanner/v1/query_plan.proto", fileDescriptor_14e5ab0c0507d181) } - -var fileDescriptor_14e5ab0c0507d181 = []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, - 0xca, 0x95, 0xad, 0xb4, 0x5c, 0x54, 0x45, 0x08, 0xd2, 0x34, 0xad, 0xa2, 0x46, 0x21, 0xac, 0xa1, - 0x17, 0x28, 0x92, 0xb5, 0x89, 0x97, 0x74, 0x15, 0x67, 0xd7, 0x78, 0xed, 0xa8, 0x79, 0x09, 0x6e, - 0x79, 0x07, 0x1e, 0x85, 0x17, 0xe0, 0x75, 0xd0, 0xae, 0x7f, 0x28, 0x14, 0x45, 0xe2, 0x6e, 0x66, - 0xe7, 0xcc, 0xf1, 0xce, 0x39, 0xb3, 0x86, 0xf6, 0x42, 0x88, 0x45, 0x40, 0x1d, 0x19, 0x12, 0xce, - 0x69, 0xe4, 0xac, 0xbb, 0xce, 0xe7, 0x84, 0x46, 0x1b, 0x2f, 0x0c, 0x08, 0xb7, 0xc3, 0x48, 0xc4, - 0x02, 0x3d, 0x4c, 0x31, 0x76, 0x86, 0xb1, 0xd7, 0xdd, 0xd6, 0x93, 0xac, 0x8d, 0x84, 0xcc, 0x21, - 0x9c, 0x8b, 0x98, 0xc4, 0x4c, 0x70, 0x99, 0x36, 0x14, 0x55, 0x9d, 0xcd, 0x92, 0x4f, 0x8e, 0x8c, - 0xa3, 0x64, 0x1e, 0xa7, 0xd5, 0xf6, 0x97, 0x2a, 0xec, 0x4e, 0x02, 0xc2, 0xc7, 0xc2, 0xa7, 0xe8, - 0x00, 0x2a, 0x8c, 0xfb, 0xf4, 0xd6, 0x34, 0x2c, 0xa3, 0x53, 0xc1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 0xf1, 0xf1, 0x24, 0x03, 0x2d, 0x44, 0x40, 0xf8, 0xc2, 0x16, 0xd1, - 0xc2, 0x59, 0x50, 0xae, 0x97, 0xc3, 0x49, 0x4b, 0x24, 0x64, 0xf2, 0xce, 0x7f, 0xe1, 0x65, 0x16, - 0x7e, 0x2b, 0x1d, 0x5e, 0xa6, 0xad, 0xfd, 0x40, 0x24, 0xbe, 0xed, 0x66, 0x5f, 0xb9, 0xee, 0x7e, - 0xcf, 0x2b, 0x53, 0x5d, 0x99, 0x66, 0x95, 0xe9, 0x75, 0x77, 0x56, 0xd5, 0xc4, 0xc7, 0x3f, 0x03, - 0x00, 0x00, 0xff, 0xff, 0x53, 0xdb, 0x51, 0xa6, 0x6f, 0x04, 0x00, 0x00, -} 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 deleted file mode 100644 index ddf2c623..00000000 --- a/vendor/google.golang.org/genproto/googleapis/spanner/v1/result_set.pb.go +++ /dev/null @@ -1,478 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/spanner/v1/result_set.proto - -package spanner - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _struct "github.com/golang/protobuf/ptypes/struct" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Results from [Read][google.spanner.v1.Spanner.Read] or -// [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql]. -type ResultSet struct { - // Metadata about the result set, such as row type information. - Metadata *ResultSetMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - // Each element in `rows` is a row whose format is defined by - // [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith - // element in each row matches the ith field in - // [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. Elements - // are 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 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:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e8c1400ddbf24213, []int{0} -} - -func (m *ResultSet) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResultSet.Unmarshal(m, b) -} -func (m *ResultSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResultSet.Marshal(b, m, deterministic) -} -func (m *ResultSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResultSet.Merge(m, src) -} -func (m *ResultSet) XXX_Size() int { - return xxx_messageInfo_ResultSet.Size(m) -} -func (m *ResultSet) XXX_DiscardUnknown() { - xxx_messageInfo_ResultSet.DiscardUnknown(m) -} - -var xxx_messageInfo_ResultSet proto.InternalMessageInfo - -func (m *ResultSet) GetMetadata() *ResultSetMetadata { - if m != nil { - return m.Metadata - } - return nil -} - -func (m *ResultSet) GetRows() []*_struct.ListValue { - if m != nil { - return m.Rows - } - return nil -} - -func (m *ResultSet) GetStats() *ResultSetStats { - if m != nil { - return m.Stats - } - return nil -} - -// Partial results from a streaming read or SQL query. Streaming reads and -// SQL queries better tolerate large result sets, large rows, and large -// values, but are a little trickier to consume. -type PartialResultSet struct { - // Metadata about the result set, such as row type information. - // Only present in the first response. - Metadata *ResultSetMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - // A streamed result set consists of a stream of values, which might - // be split into many `PartialResultSet` messages to accommodate - // large rows and/or large values. Every N complete values defines a - // row, where N is equal to the number of entries in - // [metadata.row_type.fields][google.spanner.v1.StructType.fields]. - // - // Most values are encoded based on type as described - // [here][google.spanner.v1.TypeCode]. - // - // It is possible that the last value in values is "chunked", - // meaning that the rest of the value is sent in subsequent - // `PartialResultSet`(s). This is denoted by the - // [chunked_value][google.spanner.v1.PartialResultSet.chunked_value] field. - // Two or more chunked values can be merged to form a complete value as - // follows: - // - // * `bool/number/null`: cannot be chunked - // * `string`: concatenate the strings - // * `list`: concatenate the lists. If the last element in a list is a - // `string`, `list`, or `object`, merge it with the first element in - // the next list by applying these rules recursively. - // * `object`: concatenate the (field name, field value) pairs. If a - // field name is duplicated, then apply these rules recursively - // to merge the field values. - // - // Some examples of merging: - // - // # Strings are concatenated. - // "foo", "bar" => "foobar" - // - // # Lists of non-strings are concatenated. - // [2, 3], [4] => [2, 3, 4] - // - // # Lists are concatenated, but the last and first elements are merged - // # because they are strings. - // ["a", "b"], ["c", "d"] => ["a", "bc", "d"] - // - // # Lists are concatenated, but the last and first elements are merged - // # because they are lists. Recursively, the last and first elements - // # of the inner lists are merged because they are strings. - // ["a", ["b", "c"]], [["d"], "e"] => ["a", ["b", "cd"], "e"] - // - // # Non-overlapping object fields are combined. - // {"a": "1"}, {"b": "2"} => {"a": "1", "b": 2"} - // - // # Overlapping object fields are merged. - // {"a": "1"}, {"a": "2"} => {"a": "12"} - // - // # Examples of merging objects containing lists of strings. - // {"a": ["1"]}, {"a": ["2"]} => {"a": ["12"]} - // - // For a more complete example, suppose a streaming SQL query is - // yielding a result set whose rows contain a single string - // field. The following `PartialResultSet`s might be yielded: - // - // { - // "metadata": { ... } - // "values": ["Hello", "W"] - // "chunked_value": true - // "resume_token": "Af65..." - // } - // { - // "values": ["orl"] - // "chunked_value": true - // "resume_token": "Bqp2..." - // } - // { - // "values": ["d"] - // "resume_token": "Zx1B..." - // } - // - // This sequence of `PartialResultSet`s encodes two rows, one - // containing the field value `"Hello"`, and a second containing the - // field value `"World" = "W" + "orl" + "d"`. - Values []*_struct.Value `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"` - // If true, then the final value in - // [values][google.spanner.v1.PartialResultSet.values] is chunked, and must be - // combined with more values from subsequent `PartialResultSet`s to obtain a - // complete field value. - ChunkedValue bool `protobuf:"varint,3,opt,name=chunked_value,json=chunkedValue,proto3" json:"chunked_value,omitempty"` - // Streaming calls might be interrupted for a variety of reasons, such - // as TCP connection loss. If this occurs, the stream of results can - // be resumed by re-sending the original request and including - // `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 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:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e8c1400ddbf24213, []int{1} -} - -func (m *PartialResultSet) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PartialResultSet.Unmarshal(m, b) -} -func (m *PartialResultSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PartialResultSet.Marshal(b, m, deterministic) -} -func (m *PartialResultSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_PartialResultSet.Merge(m, src) -} -func (m *PartialResultSet) XXX_Size() int { - return xxx_messageInfo_PartialResultSet.Size(m) -} -func (m *PartialResultSet) XXX_DiscardUnknown() { - xxx_messageInfo_PartialResultSet.DiscardUnknown(m) -} - -var xxx_messageInfo_PartialResultSet proto.InternalMessageInfo - -func (m *PartialResultSet) GetMetadata() *ResultSetMetadata { - if m != nil { - return m.Metadata - } - return nil -} - -func (m *PartialResultSet) GetValues() []*_struct.Value { - if m != nil { - return m.Values - } - return nil -} - -func (m *PartialResultSet) GetChunkedValue() bool { - if m != nil { - return m.ChunkedValue - } - return false -} - -func (m *PartialResultSet) GetResumeToken() []byte { - if m != nil { - return m.ResumeToken - } - return nil -} - -func (m *PartialResultSet) GetStats() *ResultSetStats { - if m != nil { - return m.Stats - } - return nil -} - -// Metadata about a [ResultSet][google.spanner.v1.ResultSet] or -// [PartialResultSet][google.spanner.v1.PartialResultSet]. -type ResultSetMetadata struct { - // Indicates the field names and types for the rows in the result - // set. For example, a SQL query like `"SELECT UserId, UserName FROM - // Users"` could return a `row_type` value like: - // - // "fields": [ - // { "name": "UserId", "type": { "code": "INT64" } }, - // { "name": "UserName", "type": { "code": "STRING" } }, - // ] - RowType *StructType `protobuf:"bytes,1,opt,name=row_type,json=rowType,proto3" json:"row_type,omitempty"` - // If the read or SQL query began a transaction as a side-effect, the - // information about the new transaction is yielded here. - Transaction *Transaction `protobuf:"bytes,2,opt,name=transaction,proto3" json:"transaction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e8c1400ddbf24213, []int{2} -} - -func (m *ResultSetMetadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResultSetMetadata.Unmarshal(m, b) -} -func (m *ResultSetMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResultSetMetadata.Marshal(b, m, deterministic) -} -func (m *ResultSetMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResultSetMetadata.Merge(m, src) -} -func (m *ResultSetMetadata) XXX_Size() int { - return xxx_messageInfo_ResultSetMetadata.Size(m) -} -func (m *ResultSetMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_ResultSetMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_ResultSetMetadata proto.InternalMessageInfo - -func (m *ResultSetMetadata) GetRowType() *StructType { - if m != nil { - return m.RowType - } - return nil -} - -func (m *ResultSetMetadata) GetTransaction() *Transaction { - if m != nil { - return m.Transaction - } - return nil -} - -// Additional statistics about a [ResultSet][google.spanner.v1.ResultSet] or -// [PartialResultSet][google.spanner.v1.PartialResultSet]. -type ResultSetStats struct { - // [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this - // result. - QueryPlan *QueryPlan `protobuf:"bytes,1,opt,name=query_plan,json=queryPlan,proto3" json:"query_plan,omitempty"` - // Aggregated statistics from the execution of the query. Only present when - // the query is profiled. For example, a query could return the statistics as - // follows: - // - // { - // "rows_returned": "3", - // "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"` - // 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_e8c1400ddbf24213, []int{3} -} - -func (m *ResultSetStats) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResultSetStats.Unmarshal(m, b) -} -func (m *ResultSetStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResultSetStats.Marshal(b, m, deterministic) -} -func (m *ResultSetStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResultSetStats.Merge(m, src) -} -func (m *ResultSetStats) XXX_Size() int { - return xxx_messageInfo_ResultSetStats.Size(m) -} -func (m *ResultSetStats) XXX_DiscardUnknown() { - xxx_messageInfo_ResultSetStats.DiscardUnknown(m) -} - -var xxx_messageInfo_ResultSetStats proto.InternalMessageInfo - -func (m *ResultSetStats) GetQueryPlan() *QueryPlan { - if m != nil { - return m.QueryPlan - } - return nil -} - -func (m *ResultSetStats) GetQueryStats() *_struct.Struct { - if m != nil { - return m.QueryStats - } - 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_OneofWrappers is for the internal use of the proto package. -func (*ResultSetStats) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ResultSetStats_RowCountExact)(nil), - (*ResultSetStats_RowCountLowerBound)(nil), - } -} - -func init() { - proto.RegisterType((*ResultSet)(nil), "google.spanner.v1.ResultSet") - proto.RegisterType((*PartialResultSet)(nil), "google.spanner.v1.PartialResultSet") - proto.RegisterType((*ResultSetMetadata)(nil), "google.spanner.v1.ResultSetMetadata") - proto.RegisterType((*ResultSetStats)(nil), "google.spanner.v1.ResultSetStats") -} - -func init() { proto.RegisterFile("google/spanner/v1/result_set.proto", fileDescriptor_e8c1400ddbf24213) } - -var fileDescriptor_e8c1400ddbf24213 = []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, 0xb0, 0xe5, 0xaf, 0xf9, - 0xd7, 0x8e, 0xc5, 0x6b, 0x15, 0xf2, 0xe1, 0x9e, 0xe0, 0x4b, 0x59, 0x2f, 0x35, 0xcb, 0x6d, 0xef, - 0xa2, 0x91, 0xab, 0x73, 0x8f, 0xfe, 0xed, 0x4c, 0xaa, 0x11, 0x49, 0x32, 0x8a, 0x0d, 0x87, 0x9e, - 0xc3, 0x7d, 0xa9, 0x88, 0x92, 0xf5, 0xb2, 0x29, 0x77, 0xf6, 0xa7, 0x72, 0x03, 0x0d, 0x62, 0xcb, - 0xb7, 0x3e, 0x96, 0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 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 deleted file mode 100644 index 45a7050e..00000000 --- a/vendor/google.golang.org/genproto/googleapis/spanner/v1/spanner.pb.go +++ /dev/null @@ -1,2762 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/spanner/v1/spanner.proto - -package spanner - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _struct "github.com/golang/protobuf/ptypes/struct" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - status "google.golang.org/genproto/googleapis/rpc/status" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status1 "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Mode in which the statement must be processed. -type ExecuteSqlRequest_QueryMode int32 - -const ( - // The default mode. Only the statement results are returned. - ExecuteSqlRequest_NORMAL ExecuteSqlRequest_QueryMode = 0 - // 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 results. - ExecuteSqlRequest_PROFILE ExecuteSqlRequest_QueryMode = 2 -) - -var ExecuteSqlRequest_QueryMode_name = map[int32]string{ - 0: "NORMAL", - 1: "PLAN", - 2: "PROFILE", -} - -var ExecuteSqlRequest_QueryMode_value = map[string]int32{ - "NORMAL": 0, - "PLAN": 1, - "PROFILE": 2, -} - -func (x ExecuteSqlRequest_QueryMode) String() string { - return proto.EnumName(ExecuteSqlRequest_QueryMode_name, int32(x)) -} - -func (ExecuteSqlRequest_QueryMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a420fdbb92791b07, []int{8, 0} -} - -// The request for [CreateSession][google.spanner.v1.Spanner.CreateSession]. -type CreateSessionRequest struct { - // Required. The database in which the new session is created. - Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` - // The session to create. - Session *Session `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a420fdbb92791b07, []int{0} -} - -func (m *CreateSessionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateSessionRequest.Unmarshal(m, b) -} -func (m *CreateSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateSessionRequest.Marshal(b, m, deterministic) -} -func (m *CreateSessionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateSessionRequest.Merge(m, src) -} -func (m *CreateSessionRequest) XXX_Size() int { - return xxx_messageInfo_CreateSessionRequest.Size(m) -} -func (m *CreateSessionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateSessionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateSessionRequest proto.InternalMessageInfo - -func (m *CreateSessionRequest) GetDatabase() string { - if m != nil { - return m.Database - } - return "" -} - -func (m *CreateSessionRequest) GetSession() *Session { - if m != nil { - return m.Session - } - return nil -} - -// The request for -// [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions]. -type BatchCreateSessionsRequest struct { - // Required. The database in which the new sessions are created. - Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` - // Parameters to be applied to each created session. - SessionTemplate *Session `protobuf:"bytes,2,opt,name=session_template,json=sessionTemplate,proto3" json:"session_template,omitempty"` - // Required. The number of sessions to be created in this batch call. - // The API may return fewer than the requested number of sessions. If a - // specific number of sessions are desired, the client can make additional - // calls to BatchCreateSessions (adjusting - // [session_count][google.spanner.v1.BatchCreateSessionsRequest.session_count] - // as necessary). - SessionCount int32 `protobuf:"varint,3,opt,name=session_count,json=sessionCount,proto3" json:"session_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchCreateSessionsRequest) Reset() { *m = BatchCreateSessionsRequest{} } -func (m *BatchCreateSessionsRequest) String() string { return proto.CompactTextString(m) } -func (*BatchCreateSessionsRequest) ProtoMessage() {} -func (*BatchCreateSessionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a420fdbb92791b07, []int{1} -} - -func (m *BatchCreateSessionsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchCreateSessionsRequest.Unmarshal(m, b) -} -func (m *BatchCreateSessionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchCreateSessionsRequest.Marshal(b, m, deterministic) -} -func (m *BatchCreateSessionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchCreateSessionsRequest.Merge(m, src) -} -func (m *BatchCreateSessionsRequest) XXX_Size() int { - return xxx_messageInfo_BatchCreateSessionsRequest.Size(m) -} -func (m *BatchCreateSessionsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchCreateSessionsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchCreateSessionsRequest proto.InternalMessageInfo - -func (m *BatchCreateSessionsRequest) GetDatabase() string { - if m != nil { - return m.Database - } - return "" -} - -func (m *BatchCreateSessionsRequest) GetSessionTemplate() *Session { - if m != nil { - return m.SessionTemplate - } - return nil -} - -func (m *BatchCreateSessionsRequest) GetSessionCount() int32 { - if m != nil { - return m.SessionCount - } - return 0 -} - -// The response for -// [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions]. -type BatchCreateSessionsResponse struct { - // The freshly created sessions. - Session []*Session `protobuf:"bytes,1,rep,name=session,proto3" json:"session,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchCreateSessionsResponse) Reset() { *m = BatchCreateSessionsResponse{} } -func (m *BatchCreateSessionsResponse) String() string { return proto.CompactTextString(m) } -func (*BatchCreateSessionsResponse) ProtoMessage() {} -func (*BatchCreateSessionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_a420fdbb92791b07, []int{2} -} - -func (m *BatchCreateSessionsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchCreateSessionsResponse.Unmarshal(m, b) -} -func (m *BatchCreateSessionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchCreateSessionsResponse.Marshal(b, m, deterministic) -} -func (m *BatchCreateSessionsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchCreateSessionsResponse.Merge(m, src) -} -func (m *BatchCreateSessionsResponse) XXX_Size() int { - return xxx_messageInfo_BatchCreateSessionsResponse.Size(m) -} -func (m *BatchCreateSessionsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BatchCreateSessionsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchCreateSessionsResponse proto.InternalMessageInfo - -func (m *BatchCreateSessionsResponse) GetSession() []*Session { - if m != nil { - return m.Session - } - return nil -} - -// A session in the Cloud Spanner API. -type Session struct { - // The name of the session. This is always system-assigned; values provided - // when creating a session are ignored. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The labels for the session. - // - // * Label keys must be between 1 and 63 characters long and must conform to - // the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. - // * Label values must be between 0 and 63 characters long and must conform - // to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. - // * No more than 64 labels can be associated with a given session. - // - // See https://goo.gl/xmQnxf for more information on and examples of 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"` - // Output only. The timestamp when the session is created. - CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // Output only. The approximate timestamp when the session is last used. It is - // typically earlier than the actual last use time. - ApproximateLastUseTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=approximate_last_use_time,json=approximateLastUseTime,proto3" json:"approximate_last_use_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a420fdbb92791b07, []int{3} -} - -func (m *Session) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Session.Unmarshal(m, b) -} -func (m *Session) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Session.Marshal(b, m, deterministic) -} -func (m *Session) XXX_Merge(src proto.Message) { - xxx_messageInfo_Session.Merge(m, src) -} -func (m *Session) XXX_Size() int { - return xxx_messageInfo_Session.Size(m) -} -func (m *Session) XXX_DiscardUnknown() { - xxx_messageInfo_Session.DiscardUnknown(m) -} - -var xxx_messageInfo_Session proto.InternalMessageInfo - -func (m *Session) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Session) GetLabels() map[string]string { - if m != nil { - return m.Labels - } - return nil -} - -func (m *Session) GetCreateTime() *timestamp.Timestamp { - if m != nil { - return m.CreateTime - } - return nil -} - -func (m *Session) GetApproximateLastUseTime() *timestamp.Timestamp { - if m != nil { - return m.ApproximateLastUseTime - } - return nil -} - -// The request for [GetSession][google.spanner.v1.Spanner.GetSession]. -type GetSessionRequest struct { - // Required. The name of the session to retrieve. - 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 *GetSessionRequest) Reset() { *m = GetSessionRequest{} } -func (m *GetSessionRequest) String() string { return proto.CompactTextString(m) } -func (*GetSessionRequest) ProtoMessage() {} -func (*GetSessionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a420fdbb92791b07, []int{4} -} - -func (m *GetSessionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetSessionRequest.Unmarshal(m, b) -} -func (m *GetSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetSessionRequest.Marshal(b, m, deterministic) -} -func (m *GetSessionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetSessionRequest.Merge(m, src) -} -func (m *GetSessionRequest) XXX_Size() int { - return xxx_messageInfo_GetSessionRequest.Size(m) -} -func (m *GetSessionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetSessionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetSessionRequest proto.InternalMessageInfo - -func (m *GetSessionRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The request for [ListSessions][google.spanner.v1.Spanner.ListSessions]. -type ListSessionsRequest struct { - // Required. The database in which to list sessions. - Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` - // Number of sessions to be returned in the response. If 0 or less, defaults - // to the server's maximum allowed page size. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // If non-empty, `page_token` should contain a - // [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token] - // from a previous - // [ListSessionsResponse][google.spanner.v1.ListSessionsResponse]. - PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // An expression for filtering the results of the request. Filter rules are - // case insensitive. The fields eligible for filtering are: - // - // * `labels.key` where key is the name of a label - // - // Some examples of using filters are: - // - // * `labels.env:*` --> The session has the label "env". - // * `labels.env:dev` --> The session has the label "env" and the value of - // the label contains the string "dev". - Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a420fdbb92791b07, []int{5} -} - -func (m *ListSessionsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListSessionsRequest.Unmarshal(m, b) -} -func (m *ListSessionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListSessionsRequest.Marshal(b, m, deterministic) -} -func (m *ListSessionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSessionsRequest.Merge(m, src) -} -func (m *ListSessionsRequest) XXX_Size() int { - return xxx_messageInfo_ListSessionsRequest.Size(m) -} -func (m *ListSessionsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListSessionsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListSessionsRequest proto.InternalMessageInfo - -func (m *ListSessionsRequest) GetDatabase() string { - if m != nil { - return m.Database - } - return "" -} - -func (m *ListSessionsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListSessionsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListSessionsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -// The response for [ListSessions][google.spanner.v1.Spanner.ListSessions]. -type ListSessionsResponse struct { - // The list of requested sessions. - Sessions []*Session `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"` - // `next_page_token` can be sent in a subsequent - // [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more - // of the matching sessions. - 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 *ListSessionsResponse) Reset() { *m = ListSessionsResponse{} } -func (m *ListSessionsResponse) String() string { return proto.CompactTextString(m) } -func (*ListSessionsResponse) ProtoMessage() {} -func (*ListSessionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_a420fdbb92791b07, []int{6} -} - -func (m *ListSessionsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListSessionsResponse.Unmarshal(m, b) -} -func (m *ListSessionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListSessionsResponse.Marshal(b, m, deterministic) -} -func (m *ListSessionsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSessionsResponse.Merge(m, src) -} -func (m *ListSessionsResponse) XXX_Size() int { - return xxx_messageInfo_ListSessionsResponse.Size(m) -} -func (m *ListSessionsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListSessionsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListSessionsResponse proto.InternalMessageInfo - -func (m *ListSessionsResponse) GetSessions() []*Session { - if m != nil { - return m.Sessions - } - return nil -} - -func (m *ListSessionsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// The request for [DeleteSession][google.spanner.v1.Spanner.DeleteSession]. -type DeleteSessionRequest struct { - // Required. The name of the session to delete. - 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 *DeleteSessionRequest) Reset() { *m = DeleteSessionRequest{} } -func (m *DeleteSessionRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteSessionRequest) ProtoMessage() {} -func (*DeleteSessionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a420fdbb92791b07, []int{7} -} - -func (m *DeleteSessionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteSessionRequest.Unmarshal(m, b) -} -func (m *DeleteSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteSessionRequest.Marshal(b, m, deterministic) -} -func (m *DeleteSessionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteSessionRequest.Merge(m, src) -} -func (m *DeleteSessionRequest) XXX_Size() int { - return xxx_messageInfo_DeleteSessionRequest.Size(m) -} -func (m *DeleteSessionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteSessionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteSessionRequest proto.InternalMessageInfo - -func (m *DeleteSessionRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The request for [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] and -// [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql]. -type ExecuteSqlRequest struct { - // Required. The session in which the SQL query should be performed. - Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` - // 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 string. - Sql string `protobuf:"bytes,3,opt,name=sql,proto3" json:"sql,omitempty"` - // 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. - // - // Parameters can appear anywhere that a literal value is expected. The same - // 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 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 - // corresponding parameter values. - Params *_struct.Struct `protobuf:"bytes,4,opt,name=params,proto3" json:"params,omitempty"` - // It is not always possible for Cloud Spanner to infer the right SQL type - // from a JSON value. For example, values of type `BYTES` and values - // 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 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 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 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"` - // Used to control the amount of debugging information returned in - // [ResultSetStats][google.spanner.v1.ResultSetStats]. If - // [partition_token][google.spanner.v1.ExecuteSqlRequest.partition_token] is - // set, [query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode] can only - // be set to - // [QueryMode.NORMAL][google.spanner.v1.ExecuteSqlRequest.QueryMode.NORMAL]. - QueryMode ExecuteSqlRequest_QueryMode `protobuf:"varint,7,opt,name=query_mode,json=queryMode,proto3,enum=google.spanner.v1.ExecuteSqlRequest_QueryMode" json:"query_mode,omitempty"` - // If present, results will be restricted to the specified partition - // 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"` - // 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:"-"` -} - -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_a420fdbb92791b07, []int{8} -} - -func (m *ExecuteSqlRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecuteSqlRequest.Unmarshal(m, b) -} -func (m *ExecuteSqlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecuteSqlRequest.Marshal(b, m, deterministic) -} -func (m *ExecuteSqlRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecuteSqlRequest.Merge(m, src) -} -func (m *ExecuteSqlRequest) XXX_Size() int { - return xxx_messageInfo_ExecuteSqlRequest.Size(m) -} -func (m *ExecuteSqlRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ExecuteSqlRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ExecuteSqlRequest proto.InternalMessageInfo - -func (m *ExecuteSqlRequest) GetSession() string { - if m != nil { - return m.Session - } - return "" -} - -func (m *ExecuteSqlRequest) GetTransaction() *TransactionSelector { - if m != nil { - return m.Transaction - } - return nil -} - -func (m *ExecuteSqlRequest) GetSql() string { - if m != nil { - return m.Sql - } - return "" -} - -func (m *ExecuteSqlRequest) GetParams() *_struct.Struct { - if m != nil { - return m.Params - } - return nil -} - -func (m *ExecuteSqlRequest) GetParamTypes() map[string]*Type { - if m != nil { - return m.ParamTypes - } - return nil -} - -func (m *ExecuteSqlRequest) GetResumeToken() []byte { - if m != nil { - return m.ResumeToken - } - return nil -} - -func (m *ExecuteSqlRequest) GetQueryMode() ExecuteSqlRequest_QueryMode { - if m != nil { - return m.QueryMode - } - return ExecuteSqlRequest_NORMAL -} - -func (m *ExecuteSqlRequest) GetPartitionToken() []byte { - if m != nil { - return m.PartitionToken - } - return nil -} - -func (m *ExecuteSqlRequest) GetSeqno() int64 { - if m != nil { - return m.Seqno - } - return 0 -} - -// The request for [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml] -type ExecuteBatchDmlRequest struct { - // Required. The session in which the DML statements should be performed. - Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` - // The transaction to use. A ReadWrite transaction is required. Single-use - // transactions are not supported (to avoid replay). The caller must either - // supply an existing transaction ID or begin a new transaction. - Transaction *TransactionSelector `protobuf:"bytes,2,opt,name=transaction,proto3" json:"transaction,omitempty"` - // The list of statements to execute in this batch. Statements are executed - // serially, such that the effects of statement i are visible to statement - // i+1. Each statement must be a DML statement. Execution will stop at the - // first failed statement; the remaining statements will not run. - // - // REQUIRES: statements_size() > 0. - Statements []*ExecuteBatchDmlRequest_Statement `protobuf:"bytes,3,rep,name=statements,proto3" json:"statements,omitempty"` - // A per-transaction sequence number used to identify this request. This is - // used in the same space as the seqno in - // [ExecuteSqlRequest][Spanner.ExecuteSqlRequest]. See more details - // in [ExecuteSqlRequest][Spanner.ExecuteSqlRequest]. - Seqno int64 `protobuf:"varint,4,opt,name=seqno,proto3" json:"seqno,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExecuteBatchDmlRequest) Reset() { *m = ExecuteBatchDmlRequest{} } -func (m *ExecuteBatchDmlRequest) String() string { return proto.CompactTextString(m) } -func (*ExecuteBatchDmlRequest) ProtoMessage() {} -func (*ExecuteBatchDmlRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a420fdbb92791b07, []int{9} -} - -func (m *ExecuteBatchDmlRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecuteBatchDmlRequest.Unmarshal(m, b) -} -func (m *ExecuteBatchDmlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecuteBatchDmlRequest.Marshal(b, m, deterministic) -} -func (m *ExecuteBatchDmlRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecuteBatchDmlRequest.Merge(m, src) -} -func (m *ExecuteBatchDmlRequest) XXX_Size() int { - return xxx_messageInfo_ExecuteBatchDmlRequest.Size(m) -} -func (m *ExecuteBatchDmlRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ExecuteBatchDmlRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ExecuteBatchDmlRequest proto.InternalMessageInfo - -func (m *ExecuteBatchDmlRequest) GetSession() string { - if m != nil { - return m.Session - } - return "" -} - -func (m *ExecuteBatchDmlRequest) GetTransaction() *TransactionSelector { - if m != nil { - return m.Transaction - } - return nil -} - -func (m *ExecuteBatchDmlRequest) GetStatements() []*ExecuteBatchDmlRequest_Statement { - if m != nil { - return m.Statements - } - return nil -} - -func (m *ExecuteBatchDmlRequest) GetSeqno() int64 { - if m != nil { - return m.Seqno - } - return 0 -} - -// A single DML statement. -type ExecuteBatchDmlRequest_Statement struct { - // Required. The DML string. - Sql string `protobuf:"bytes,1,opt,name=sql,proto3" json:"sql,omitempty"` - // The DML 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. - // - // Parameters can appear anywhere that a literal value is expected. The - // same 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 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 - // corresponding parameter values. - Params *_struct.Struct `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` - // It is not always possible for Cloud Spanner to infer the right SQL type - // from a JSON value. For example, values of type `BYTES` and values - // of type `STRING` both appear in - // [params][google.spanner.v1.ExecuteBatchDmlRequest.Statement.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 statement parameters. See the - // definition of [Type][google.spanner.v1.Type] for more information - // about SQL types. - ParamTypes map[string]*Type `protobuf:"bytes,3,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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExecuteBatchDmlRequest_Statement) Reset() { *m = ExecuteBatchDmlRequest_Statement{} } -func (m *ExecuteBatchDmlRequest_Statement) String() string { return proto.CompactTextString(m) } -func (*ExecuteBatchDmlRequest_Statement) ProtoMessage() {} -func (*ExecuteBatchDmlRequest_Statement) Descriptor() ([]byte, []int) { - return fileDescriptor_a420fdbb92791b07, []int{9, 0} -} - -func (m *ExecuteBatchDmlRequest_Statement) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecuteBatchDmlRequest_Statement.Unmarshal(m, b) -} -func (m *ExecuteBatchDmlRequest_Statement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecuteBatchDmlRequest_Statement.Marshal(b, m, deterministic) -} -func (m *ExecuteBatchDmlRequest_Statement) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecuteBatchDmlRequest_Statement.Merge(m, src) -} -func (m *ExecuteBatchDmlRequest_Statement) XXX_Size() int { - return xxx_messageInfo_ExecuteBatchDmlRequest_Statement.Size(m) -} -func (m *ExecuteBatchDmlRequest_Statement) XXX_DiscardUnknown() { - xxx_messageInfo_ExecuteBatchDmlRequest_Statement.DiscardUnknown(m) -} - -var xxx_messageInfo_ExecuteBatchDmlRequest_Statement proto.InternalMessageInfo - -func (m *ExecuteBatchDmlRequest_Statement) GetSql() string { - if m != nil { - return m.Sql - } - return "" -} - -func (m *ExecuteBatchDmlRequest_Statement) GetParams() *_struct.Struct { - if m != nil { - return m.Params - } - return nil -} - -func (m *ExecuteBatchDmlRequest_Statement) GetParamTypes() map[string]*Type { - if m != nil { - return m.ParamTypes - } - return nil -} - -// The response for -// [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml]. Contains a list -// of [ResultSet][google.spanner.v1.ResultSet], one for each DML statement that -// has successfully executed. If a statement fails, the error is returned as -// part of the response payload. Clients can determine whether all DML -// statements have run successfully, or if a statement failed, using one of the -// following approaches: -// -// 1. Check if 'status' field is OkStatus. -// 2. Check if result_sets_size() equals the number of statements in -// [ExecuteBatchDmlRequest][Spanner.ExecuteBatchDmlRequest]. -// -// Example 1: A request with 5 DML statements, all executed successfully. -// Result: A response with 5 ResultSets, one for each statement in the same -// order, and an OK status. -// -// Example 2: A request with 5 DML statements. The 3rd statement has a syntax -// error. -// Result: A response with 2 ResultSets, for the first 2 statements that -// run successfully, and a syntax error (INVALID_ARGUMENT) status. From -// result_set_size() client can determine that the 3rd statement has failed. -type ExecuteBatchDmlResponse struct { - // ResultSets, one for each statement in the request that ran successfully, in - // the same order as the statements in the request. Each - // [ResultSet][google.spanner.v1.ResultSet] will not contain any rows. The - // [ResultSetStats][google.spanner.v1.ResultSetStats] in each - // [ResultSet][google.spanner.v1.ResultSet] will contain the number of rows - // modified by the statement. - // - // Only the first ResultSet in the response contains a valid - // [ResultSetMetadata][google.spanner.v1.ResultSetMetadata]. - ResultSets []*ResultSet `protobuf:"bytes,1,rep,name=result_sets,json=resultSets,proto3" json:"result_sets,omitempty"` - // If all DML statements are executed successfully, status will be OK. - // Otherwise, the error status of the first failed statement. - Status *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExecuteBatchDmlResponse) Reset() { *m = ExecuteBatchDmlResponse{} } -func (m *ExecuteBatchDmlResponse) String() string { return proto.CompactTextString(m) } -func (*ExecuteBatchDmlResponse) ProtoMessage() {} -func (*ExecuteBatchDmlResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_a420fdbb92791b07, []int{10} -} - -func (m *ExecuteBatchDmlResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecuteBatchDmlResponse.Unmarshal(m, b) -} -func (m *ExecuteBatchDmlResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecuteBatchDmlResponse.Marshal(b, m, deterministic) -} -func (m *ExecuteBatchDmlResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecuteBatchDmlResponse.Merge(m, src) -} -func (m *ExecuteBatchDmlResponse) XXX_Size() int { - return xxx_messageInfo_ExecuteBatchDmlResponse.Size(m) -} -func (m *ExecuteBatchDmlResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ExecuteBatchDmlResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ExecuteBatchDmlResponse proto.InternalMessageInfo - -func (m *ExecuteBatchDmlResponse) GetResultSets() []*ResultSet { - if m != nil { - return m.ResultSets - } - return nil -} - -func (m *ExecuteBatchDmlResponse) GetStatus() *status.Status { - if m != nil { - return m.Status - } - return nil -} - -// Options for a PartitionQueryRequest and -// PartitionReadRequest. -type PartitionOptions struct { - // **Note:** This hint is currently ignored by PartitionQuery and - // PartitionRead requests. - // - // The desired data size for each partition generated. The default for this - // option is currently 1 GiB. This is only a hint. The actual size of each - // partition may be smaller or larger than this size request. - PartitionSizeBytes int64 `protobuf:"varint,1,opt,name=partition_size_bytes,json=partitionSizeBytes,proto3" json:"partition_size_bytes,omitempty"` - // **Note:** This hint is currently ignored by PartitionQuery and - // PartitionRead requests. - // - // The desired maximum number of partitions to return. For example, this may - // be set to the number of workers available. The default for this option - // is currently 10,000. The maximum value is currently 200,000. This is only - // a hint. The actual number of partitions returned may be smaller or larger - // than this maximum count request. - MaxPartitions int64 `protobuf:"varint,2,opt,name=max_partitions,json=maxPartitions,proto3" json:"max_partitions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a420fdbb92791b07, []int{11} -} - -func (m *PartitionOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PartitionOptions.Unmarshal(m, b) -} -func (m *PartitionOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PartitionOptions.Marshal(b, m, deterministic) -} -func (m *PartitionOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_PartitionOptions.Merge(m, src) -} -func (m *PartitionOptions) XXX_Size() int { - return xxx_messageInfo_PartitionOptions.Size(m) -} -func (m *PartitionOptions) XXX_DiscardUnknown() { - xxx_messageInfo_PartitionOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_PartitionOptions proto.InternalMessageInfo - -func (m *PartitionOptions) GetPartitionSizeBytes() int64 { - if m != nil { - return m.PartitionSizeBytes - } - return 0 -} - -func (m *PartitionOptions) GetMaxPartitions() int64 { - if m != nil { - return m.MaxPartitions - } - return 0 -} - -// The request for [PartitionQuery][google.spanner.v1.Spanner.PartitionQuery] -type PartitionQueryRequest struct { - // Required. The session used to create the partitions. - Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` - // Read only snapshot transactions are supported, read/write and single use - // transactions are not. - Transaction *TransactionSelector `protobuf:"bytes,2,opt,name=transaction,proto3" json:"transaction,omitempty"` - // The query request to generate partitions for. The request will fail if - // the query is not root partitionable. The query plan of a root - // partitionable query has a single distributed union operator. A distributed - // 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 - // name. Parameter names consist of any combination of letters, - // numbers, and underscores. - // - // Parameters can appear anywhere that a literal value is expected. The same - // 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. - // - // Parameter values are specified using `params`, which is a JSON - // object whose keys are parameter names, and whose values are the - // corresponding parameter values. - Params *_struct.Struct `protobuf:"bytes,4,opt,name=params,proto3" json:"params,omitempty"` - // It is not always possible for Cloud Spanner to infer the right SQL type - // from a JSON value. For example, values of type `BYTES` and values - // of type `STRING` both appear in - // [params][google.spanner.v1.PartitionQueryRequest.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 - // 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"` - // Additional options that affect how many partitions are created. - PartitionOptions *PartitionOptions `protobuf:"bytes,6,opt,name=partition_options,json=partitionOptions,proto3" json:"partition_options,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a420fdbb92791b07, []int{12} -} - -func (m *PartitionQueryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PartitionQueryRequest.Unmarshal(m, b) -} -func (m *PartitionQueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PartitionQueryRequest.Marshal(b, m, deterministic) -} -func (m *PartitionQueryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PartitionQueryRequest.Merge(m, src) -} -func (m *PartitionQueryRequest) XXX_Size() int { - return xxx_messageInfo_PartitionQueryRequest.Size(m) -} -func (m *PartitionQueryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PartitionQueryRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_PartitionQueryRequest proto.InternalMessageInfo - -func (m *PartitionQueryRequest) GetSession() string { - if m != nil { - return m.Session - } - return "" -} - -func (m *PartitionQueryRequest) GetTransaction() *TransactionSelector { - if m != nil { - return m.Transaction - } - return nil -} - -func (m *PartitionQueryRequest) GetSql() string { - if m != nil { - return m.Sql - } - return "" -} - -func (m *PartitionQueryRequest) GetParams() *_struct.Struct { - if m != nil { - return m.Params - } - return nil -} - -func (m *PartitionQueryRequest) GetParamTypes() map[string]*Type { - if m != nil { - return m.ParamTypes - } - return nil -} - -func (m *PartitionQueryRequest) GetPartitionOptions() *PartitionOptions { - if m != nil { - return m.PartitionOptions - } - return nil -} - -// The request for [PartitionRead][google.spanner.v1.Spanner.PartitionRead] -type PartitionReadRequest struct { - // Required. The session used to create the partitions. - Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` - // Read only snapshot transactions are supported, read/write and single use - // transactions are not. - Transaction *TransactionSelector `protobuf:"bytes,2,opt,name=transaction,proto3" json:"transaction,omitempty"` - // Required. The name of the table in the database to be read. - Table string `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"` - // If non-empty, the name of an index on - // [table][google.spanner.v1.PartitionReadRequest.table]. This index is used - // instead of the table primary key when interpreting - // [key_set][google.spanner.v1.PartitionReadRequest.key_set] and sorting - // result rows. See [key_set][google.spanner.v1.PartitionReadRequest.key_set] - // for further information. - Index string `protobuf:"bytes,4,opt,name=index,proto3" json:"index,omitempty"` - // The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be - // returned for each row matching this request. - Columns []string `protobuf:"bytes,5,rep,name=columns,proto3" json:"columns,omitempty"` - // Required. `key_set` identifies the rows to be yielded. `key_set` names the - // primary keys of the rows in - // [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless - // [index][google.spanner.v1.PartitionReadRequest.index] is present. If - // [index][google.spanner.v1.PartitionReadRequest.index] is present, then - // [key_set][google.spanner.v1.PartitionReadRequest.key_set] instead names - // index keys in [index][google.spanner.v1.PartitionReadRequest.index]. - // - // It is not an error for the `key_set` to name rows that do not - // exist in the database. Read yields nothing for nonexistent rows. - KeySet *KeySet `protobuf:"bytes,6,opt,name=key_set,json=keySet,proto3" json:"key_set,omitempty"` - // Additional options that affect how many partitions are created. - PartitionOptions *PartitionOptions `protobuf:"bytes,9,opt,name=partition_options,json=partitionOptions,proto3" json:"partition_options,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a420fdbb92791b07, []int{13} -} - -func (m *PartitionReadRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PartitionReadRequest.Unmarshal(m, b) -} -func (m *PartitionReadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PartitionReadRequest.Marshal(b, m, deterministic) -} -func (m *PartitionReadRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PartitionReadRequest.Merge(m, src) -} -func (m *PartitionReadRequest) XXX_Size() int { - return xxx_messageInfo_PartitionReadRequest.Size(m) -} -func (m *PartitionReadRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PartitionReadRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_PartitionReadRequest proto.InternalMessageInfo - -func (m *PartitionReadRequest) GetSession() string { - if m != nil { - return m.Session - } - return "" -} - -func (m *PartitionReadRequest) GetTransaction() *TransactionSelector { - if m != nil { - return m.Transaction - } - return nil -} - -func (m *PartitionReadRequest) GetTable() string { - if m != nil { - return m.Table - } - return "" -} - -func (m *PartitionReadRequest) GetIndex() string { - if m != nil { - return m.Index - } - return "" -} - -func (m *PartitionReadRequest) GetColumns() []string { - if m != nil { - return m.Columns - } - return nil -} - -func (m *PartitionReadRequest) GetKeySet() *KeySet { - if m != nil { - return m.KeySet - } - return nil -} - -func (m *PartitionReadRequest) GetPartitionOptions() *PartitionOptions { - if m != nil { - return m.PartitionOptions - } - return nil -} - -// Information returned for each partition returned in a -// PartitionResponse. -type Partition struct { - // This token can be passed to Read, StreamingRead, ExecuteSql, or - // ExecuteStreamingSql requests to restrict the results to those identified by - // this partition token. - PartitionToken []byte `protobuf:"bytes,1,opt,name=partition_token,json=partitionToken,proto3" json:"partition_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a420fdbb92791b07, []int{14} -} - -func (m *Partition) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Partition.Unmarshal(m, b) -} -func (m *Partition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Partition.Marshal(b, m, deterministic) -} -func (m *Partition) XXX_Merge(src proto.Message) { - xxx_messageInfo_Partition.Merge(m, src) -} -func (m *Partition) XXX_Size() int { - return xxx_messageInfo_Partition.Size(m) -} -func (m *Partition) XXX_DiscardUnknown() { - xxx_messageInfo_Partition.DiscardUnknown(m) -} - -var xxx_messageInfo_Partition proto.InternalMessageInfo - -func (m *Partition) GetPartitionToken() []byte { - if m != nil { - return m.PartitionToken - } - return nil -} - -// The response for [PartitionQuery][google.spanner.v1.Spanner.PartitionQuery] -// or [PartitionRead][google.spanner.v1.Spanner.PartitionRead] -type PartitionResponse struct { - // Partitions created by this request. - Partitions []*Partition `protobuf:"bytes,1,rep,name=partitions,proto3" json:"partitions,omitempty"` - // Transaction created by this request. - Transaction *Transaction `protobuf:"bytes,2,opt,name=transaction,proto3" json:"transaction,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a420fdbb92791b07, []int{15} -} - -func (m *PartitionResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PartitionResponse.Unmarshal(m, b) -} -func (m *PartitionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PartitionResponse.Marshal(b, m, deterministic) -} -func (m *PartitionResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PartitionResponse.Merge(m, src) -} -func (m *PartitionResponse) XXX_Size() int { - return xxx_messageInfo_PartitionResponse.Size(m) -} -func (m *PartitionResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PartitionResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_PartitionResponse proto.InternalMessageInfo - -func (m *PartitionResponse) GetPartitions() []*Partition { - if m != nil { - return m.Partitions - } - return nil -} - -func (m *PartitionResponse) GetTransaction() *Transaction { - if m != nil { - return m.Transaction - } - return nil -} - -// The request for [Read][google.spanner.v1.Spanner.Read] and -// [StreamingRead][google.spanner.v1.Spanner.StreamingRead]. -type ReadRequest struct { - // Required. The session in which the read should be performed. - 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. - Transaction *TransactionSelector `protobuf:"bytes,2,opt,name=transaction,proto3" json:"transaction,omitempty"` - // Required. The name of the table in the database to be read. - Table string `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"` - // If non-empty, the name of an index on - // [table][google.spanner.v1.ReadRequest.table]. This index is used instead of - // the table primary key when interpreting - // [key_set][google.spanner.v1.ReadRequest.key_set] and sorting result rows. - // See [key_set][google.spanner.v1.ReadRequest.key_set] for further - // information. - Index string `protobuf:"bytes,4,opt,name=index,proto3" json:"index,omitempty"` - // The columns of [table][google.spanner.v1.ReadRequest.table] to be returned - // for each row matching this request. - Columns []string `protobuf:"bytes,5,rep,name=columns,proto3" json:"columns,omitempty"` - // Required. `key_set` identifies the rows to be yielded. `key_set` names the - // primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to - // be yielded, unless [index][google.spanner.v1.ReadRequest.index] is present. - // If [index][google.spanner.v1.ReadRequest.index] is present, then - // [key_set][google.spanner.v1.ReadRequest.key_set] instead names index keys - // in [index][google.spanner.v1.ReadRequest.index]. - // - // If the [partition_token][google.spanner.v1.ReadRequest.partition_token] - // field is empty, rows are yielded in table primary key order (if - // [index][google.spanner.v1.ReadRequest.index] is empty) or index key order - // (if [index][google.spanner.v1.ReadRequest.index] is non-empty). If the - // [partition_token][google.spanner.v1.ReadRequest.partition_token] field is - // not empty, rows will be yielded in an unspecified order. - // - // It is not an error for the `key_set` to name rows that do not - // exist in the database. Read yields nothing for nonexistent rows. - KeySet *KeySet `protobuf:"bytes,6,opt,name=key_set,json=keySet,proto3" json:"key_set,omitempty"` - // If greater than zero, only the first `limit` rows are yielded. If `limit` - // is zero, the default is no limit. A limit cannot be specified if - // `partition_token` is set. - Limit int64 `protobuf:"varint,8,opt,name=limit,proto3" json:"limit,omitempty"` - // If this request is resuming a previously interrupted read, - // `resume_token` should be copied from the last - // [PartialResultSet][google.spanner.v1.PartialResultSet] yielded before the - // interruption. Doing this enables the new read to resume where the last read - // left off. The rest of the request parameters must exactly match the request - // that yielded this token. - ResumeToken []byte `protobuf:"bytes,9,opt,name=resume_token,json=resumeToken,proto3" json:"resume_token,omitempty"` - // If present, results will be restricted to the specified partition - // previously created using PartitionRead(). There must be an exact - // match for the values of fields common to this message and the - // PartitionReadRequest message used to create this partition_token. - PartitionToken []byte `protobuf:"bytes,10,opt,name=partition_token,json=partitionToken,proto3" json:"partition_token,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a420fdbb92791b07, []int{16} -} - -func (m *ReadRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReadRequest.Unmarshal(m, b) -} -func (m *ReadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReadRequest.Marshal(b, m, deterministic) -} -func (m *ReadRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReadRequest.Merge(m, src) -} -func (m *ReadRequest) XXX_Size() int { - return xxx_messageInfo_ReadRequest.Size(m) -} -func (m *ReadRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ReadRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ReadRequest proto.InternalMessageInfo - -func (m *ReadRequest) GetSession() string { - if m != nil { - return m.Session - } - return "" -} - -func (m *ReadRequest) GetTransaction() *TransactionSelector { - if m != nil { - return m.Transaction - } - return nil -} - -func (m *ReadRequest) GetTable() string { - if m != nil { - return m.Table - } - return "" -} - -func (m *ReadRequest) GetIndex() string { - if m != nil { - return m.Index - } - return "" -} - -func (m *ReadRequest) GetColumns() []string { - if m != nil { - return m.Columns - } - return nil -} - -func (m *ReadRequest) GetKeySet() *KeySet { - if m != nil { - return m.KeySet - } - return nil -} - -func (m *ReadRequest) GetLimit() int64 { - if m != nil { - return m.Limit - } - return 0 -} - -func (m *ReadRequest) GetResumeToken() []byte { - if m != nil { - return m.ResumeToken - } - return nil -} - -func (m *ReadRequest) GetPartitionToken() []byte { - if m != nil { - return m.PartitionToken - } - return nil -} - -// The request for -// [BeginTransaction][google.spanner.v1.Spanner.BeginTransaction]. -type BeginTransactionRequest struct { - // Required. The session in which the transaction runs. - Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` - // Required. Options for the new transaction. - Options *TransactionOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a420fdbb92791b07, []int{17} -} - -func (m *BeginTransactionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BeginTransactionRequest.Unmarshal(m, b) -} -func (m *BeginTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BeginTransactionRequest.Marshal(b, m, deterministic) -} -func (m *BeginTransactionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BeginTransactionRequest.Merge(m, src) -} -func (m *BeginTransactionRequest) XXX_Size() int { - return xxx_messageInfo_BeginTransactionRequest.Size(m) -} -func (m *BeginTransactionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BeginTransactionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BeginTransactionRequest proto.InternalMessageInfo - -func (m *BeginTransactionRequest) GetSession() string { - if m != nil { - return m.Session - } - return "" -} - -func (m *BeginTransactionRequest) GetOptions() *TransactionOptions { - if m != nil { - return m.Options - } - return nil -} - -// The request for [Commit][google.spanner.v1.Spanner.Commit]. -type CommitRequest struct { - // Required. The session in which the transaction to be committed is running. - Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` - // Required. The transaction in which to commit. - // - // Types that are valid to be assigned to Transaction: - // *CommitRequest_TransactionId - // *CommitRequest_SingleUseTransaction - Transaction isCommitRequest_Transaction `protobuf_oneof:"transaction"` - // The mutations to be executed when this transaction commits. All - // mutations are applied atomically, in the order they appear in - // this list. - Mutations []*Mutation `protobuf:"bytes,4,rep,name=mutations,proto3" json:"mutations,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a420fdbb92791b07, []int{18} -} - -func (m *CommitRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommitRequest.Unmarshal(m, b) -} -func (m *CommitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommitRequest.Marshal(b, m, deterministic) -} -func (m *CommitRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommitRequest.Merge(m, src) -} -func (m *CommitRequest) XXX_Size() int { - return xxx_messageInfo_CommitRequest.Size(m) -} -func (m *CommitRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CommitRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CommitRequest proto.InternalMessageInfo - -func (m *CommitRequest) GetSession() string { - if m != nil { - return m.Session - } - return "" -} - -type isCommitRequest_Transaction interface { - isCommitRequest_Transaction() -} - -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_SingleUseTransaction) isCommitRequest_Transaction() {} - -func (m *CommitRequest) GetTransaction() isCommitRequest_Transaction { - if m != nil { - return m.Transaction - } - return nil -} - -func (m *CommitRequest) GetTransactionId() []byte { - if x, ok := m.GetTransaction().(*CommitRequest_TransactionId); ok { - return x.TransactionId - } - return nil -} - -func (m *CommitRequest) GetSingleUseTransaction() *TransactionOptions { - if x, ok := m.GetTransaction().(*CommitRequest_SingleUseTransaction); ok { - return x.SingleUseTransaction - } - return nil -} - -func (m *CommitRequest) GetMutations() []*Mutation { - if m != nil { - return m.Mutations - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CommitRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CommitRequest_TransactionId)(nil), - (*CommitRequest_SingleUseTransaction)(nil), - } -} - -// The response for [Commit][google.spanner.v1.Spanner.Commit]. -type CommitResponse struct { - // The Cloud Spanner timestamp at which the transaction committed. - CommitTimestamp *timestamp.Timestamp `protobuf:"bytes,1,opt,name=commit_timestamp,json=commitTimestamp,proto3" json:"commit_timestamp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a420fdbb92791b07, []int{19} -} - -func (m *CommitResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommitResponse.Unmarshal(m, b) -} -func (m *CommitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommitResponse.Marshal(b, m, deterministic) -} -func (m *CommitResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommitResponse.Merge(m, src) -} -func (m *CommitResponse) XXX_Size() int { - return xxx_messageInfo_CommitResponse.Size(m) -} -func (m *CommitResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CommitResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_CommitResponse proto.InternalMessageInfo - -func (m *CommitResponse) GetCommitTimestamp() *timestamp.Timestamp { - if m != nil { - return m.CommitTimestamp - } - return nil -} - -// The request for [Rollback][google.spanner.v1.Spanner.Rollback]. -type RollbackRequest struct { - // Required. The session in which the transaction to roll back is running. - Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` - // Required. The transaction to roll back. - TransactionId []byte `protobuf:"bytes,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a420fdbb92791b07, []int{20} -} - -func (m *RollbackRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RollbackRequest.Unmarshal(m, b) -} -func (m *RollbackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RollbackRequest.Marshal(b, m, deterministic) -} -func (m *RollbackRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RollbackRequest.Merge(m, src) -} -func (m *RollbackRequest) XXX_Size() int { - return xxx_messageInfo_RollbackRequest.Size(m) -} -func (m *RollbackRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RollbackRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_RollbackRequest proto.InternalMessageInfo - -func (m *RollbackRequest) GetSession() string { - if m != nil { - return m.Session - } - return "" -} - -func (m *RollbackRequest) GetTransactionId() []byte { - if m != nil { - return m.TransactionId - } - return nil -} - -func init() { - proto.RegisterEnum("google.spanner.v1.ExecuteSqlRequest_QueryMode", ExecuteSqlRequest_QueryMode_name, ExecuteSqlRequest_QueryMode_value) - proto.RegisterType((*CreateSessionRequest)(nil), "google.spanner.v1.CreateSessionRequest") - proto.RegisterType((*BatchCreateSessionsRequest)(nil), "google.spanner.v1.BatchCreateSessionsRequest") - proto.RegisterType((*BatchCreateSessionsResponse)(nil), "google.spanner.v1.BatchCreateSessionsResponse") - proto.RegisterType((*Session)(nil), "google.spanner.v1.Session") - proto.RegisterMapType((map[string]string)(nil), "google.spanner.v1.Session.LabelsEntry") - proto.RegisterType((*GetSessionRequest)(nil), "google.spanner.v1.GetSessionRequest") - proto.RegisterType((*ListSessionsRequest)(nil), "google.spanner.v1.ListSessionsRequest") - proto.RegisterType((*ListSessionsResponse)(nil), "google.spanner.v1.ListSessionsResponse") - proto.RegisterType((*DeleteSessionRequest)(nil), "google.spanner.v1.DeleteSessionRequest") - proto.RegisterType((*ExecuteSqlRequest)(nil), "google.spanner.v1.ExecuteSqlRequest") - proto.RegisterMapType((map[string]*Type)(nil), "google.spanner.v1.ExecuteSqlRequest.ParamTypesEntry") - proto.RegisterType((*ExecuteBatchDmlRequest)(nil), "google.spanner.v1.ExecuteBatchDmlRequest") - proto.RegisterType((*ExecuteBatchDmlRequest_Statement)(nil), "google.spanner.v1.ExecuteBatchDmlRequest.Statement") - proto.RegisterMapType((map[string]*Type)(nil), "google.spanner.v1.ExecuteBatchDmlRequest.Statement.ParamTypesEntry") - proto.RegisterType((*ExecuteBatchDmlResponse)(nil), "google.spanner.v1.ExecuteBatchDmlResponse") - proto.RegisterType((*PartitionOptions)(nil), "google.spanner.v1.PartitionOptions") - proto.RegisterType((*PartitionQueryRequest)(nil), "google.spanner.v1.PartitionQueryRequest") - proto.RegisterMapType((map[string]*Type)(nil), "google.spanner.v1.PartitionQueryRequest.ParamTypesEntry") - proto.RegisterType((*PartitionReadRequest)(nil), "google.spanner.v1.PartitionReadRequest") - proto.RegisterType((*Partition)(nil), "google.spanner.v1.Partition") - proto.RegisterType((*PartitionResponse)(nil), "google.spanner.v1.PartitionResponse") - proto.RegisterType((*ReadRequest)(nil), "google.spanner.v1.ReadRequest") - proto.RegisterType((*BeginTransactionRequest)(nil), "google.spanner.v1.BeginTransactionRequest") - proto.RegisterType((*CommitRequest)(nil), "google.spanner.v1.CommitRequest") - proto.RegisterType((*CommitResponse)(nil), "google.spanner.v1.CommitResponse") - proto.RegisterType((*RollbackRequest)(nil), "google.spanner.v1.RollbackRequest") -} - -func init() { proto.RegisterFile("google/spanner/v1/spanner.proto", fileDescriptor_a420fdbb92791b07) } - -var fileDescriptor_a420fdbb92791b07 = []byte{ - // 1919 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x59, 0xcd, 0x6f, 0x1b, 0xc7, - 0x15, 0xf7, 0x90, 0xfa, 0xe2, 0xa3, 0x3e, 0xc7, 0x8c, 0xc4, 0xd0, 0x6e, 0xc2, 0xac, 0xe3, 0x48, - 0x25, 0x10, 0x32, 0x52, 0x8c, 0xc2, 0x51, 0x92, 0xc6, 0x91, 0xac, 0xd8, 0xae, 0x25, 0x8b, 0x5e, - 0xca, 0x0e, 0x1a, 0xb8, 0x20, 0x96, 0xe4, 0x84, 0xd9, 0x6a, 0xbf, 0xb4, 0x33, 0x14, 0xc4, 0x14, - 0xb9, 0x14, 0xed, 0xad, 0x87, 0xb4, 0x41, 0xd1, 0x43, 0x7b, 0x6b, 0x4f, 0x45, 0x8e, 0x05, 0x72, - 0x2b, 0x0a, 0x14, 0x68, 0x81, 0x00, 0x3d, 0xf5, 0x5f, 0xe8, 0xdf, 0xd0, 0x4b, 0x2f, 0xc5, 0xcc, - 0xce, 0x2c, 0x97, 0xe4, 0x88, 0xa2, 0x4b, 0xc7, 0x40, 0x91, 0x93, 0xe6, 0xe3, 0xcd, 0x7b, 0xbf, - 0x79, 0xef, 0x37, 0x6f, 0xdf, 0xa3, 0xe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3a, 0x0a, 0xf4, 0x57, 0x1e, 0xe7, 0x26, - 0xd4, 0x43, 0x81, 0xeb, 0x9e, 0x71, 0x7b, 0x22, 0x76, 0x4a, 0x63, 0x1c, 0xd9, 0x57, 0x08, 0x16, - 0xfb, 0xfb, 0x60, 0xbc, 0x31, 0x6e, 0xab, 0x5c, 0x78, 0x75, 0x64, 0xef, 0xa2, 0x7c, 0xf9, 0x48, - 0x60, 0x3e, 0x34, 0x7e, 0x30, 0x09, 0xe6, 0xa0, 0x0f, 0x00, 0x47, 0xfe, 0x27, 0x04, 0x0b, 0x7d, - 0x1d, 0xae, 0xf6, 0x73, 0xa5, 0xeb, 0x81, 0xc7, 0xc4, 0xfd, 0x4c, 0x5e, 0x59, 0x90, 0xb4, 0xbf, - 0x8d, 0x4a, 0x3b, 0xbf, 0x46, 0xf0, 0x42, 0xd3, 0x77, 0x87, 0x11, 0xec, 0xcc, 0xcb, 0x4a, 0xb1, - 0xca, 0x43, 0x5e, 0x45, 0x1f, 0xdd, 0x94, 0x22, 0x6d, 0xdf, 0xb1, 0xbc, 0x76, 0xd9, 0x0f, 0xdb, - 0x95, 0x36, 0xf1, 0x04, 0x21, 0x2a, 0xd1, 0x96, 0x15, 0xd8, 0x34, 0xf1, 0x9f, 0xae, 0xb7, 0xe5, - 0xf0, 0x8f, 0xa9, 0xb5, 0x3b, 0xd1, 0xd1, 0x5d, 0xc7, 0xef, 0xb4, 0xca, 0x52, 0x6f, 0xf9, 0xf1, - 0xe6, 0xd7, 0x6a, 0xe7, 0x89, 0xd8, 0x79, 0x22, 0x77, 0x9e, 0x3c, 0xde, 0x6c, 0xcc, 0x08, 0xc5, - 0x6f, 0xfe, 0x37, 0x00, 0x00, 0xff, 0xff, 0xde, 0x30, 0x4f, 0xc9, 0x91, 0x1c, 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 - -// SpannerClient is the client API for Spanner service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type SpannerClient interface { - // Creates a new session. A session can be used to perform - // transactions that read and/or modify data in a Cloud Spanner database. - // Sessions are meant to be reused for many consecutive - // transactions. - // - // Sessions can only execute one transaction at a time. To execute - // multiple concurrent read-write/write-only transactions, create - // multiple sessions. Note that standalone reads and queries use a - // transaction internally, and count toward the one transaction - // limit. - // - // Cloud Spanner limits the number of sessions that can exist at any given - // time; thus, it is a good idea to delete idle and/or unneeded sessions. - // Aside from explicit deletes, Cloud Spanner can delete sessions for which no - // operations are sent for more than an hour. If a session is deleted, - // requests to it return `NOT_FOUND`. - // - // Idle sessions can be kept alive by sending a trivial SQL query - // periodically, e.g., `"SELECT 1"`. - CreateSession(ctx context.Context, in *CreateSessionRequest, opts ...grpc.CallOption) (*Session, error) - // Creates multiple new sessions. - // - // This API can be used to initialize a session cache on the clients. - // See https://goo.gl/TgSFN2 for best practices on session cache management. - BatchCreateSessions(ctx context.Context, in *BatchCreateSessionsRequest, opts ...grpc.CallOption) (*BatchCreateSessionsResponse, error) - // Gets a session. Returns `NOT_FOUND` if the session does not exist. - // This is mainly useful for determining whether a session is still - // alive. - GetSession(ctx context.Context, in *GetSessionRequest, opts ...grpc.CallOption) (*Session, error) - // Lists all sessions in a given database. - ListSessions(ctx context.Context, in *ListSessionsRequest, opts ...grpc.CallOption) (*ListSessionsResponse, error) - // Ends a session, releasing server resources associated with it. This will - // asynchronously trigger cancellation of any operations that are running with - // this session. - DeleteSession(ctx context.Context, in *DeleteSessionRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // 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. - // - // 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. - // - // Larger result sets can be fetched in streaming fashion by calling - // [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql] - // instead. - ExecuteSql(ctx context.Context, in *ExecuteSqlRequest, opts ...grpc.CallOption) (*ResultSet, error) - // Like [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql], except returns the - // result set as a stream. Unlike - // [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql], there is no limit on - // the size of the returned result set. However, no individual row in the - // result set can exceed 100 MiB, and no column value can exceed 10 MiB. - ExecuteStreamingSql(ctx context.Context, in *ExecuteSqlRequest, opts ...grpc.CallOption) (Spanner_ExecuteStreamingSqlClient, error) - // Executes a batch of SQL DML statements. This method allows many statements - // to be run with lower latency than submitting them sequentially with - // [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql]. - // - // Statements are executed in order, sequentially. - // [ExecuteBatchDmlResponse][Spanner.ExecuteBatchDmlResponse] will contain a - // [ResultSet][google.spanner.v1.ResultSet] for each DML statement that has - // successfully executed. If a statement fails, its error status will be - // returned as part of the - // [ExecuteBatchDmlResponse][Spanner.ExecuteBatchDmlResponse]. Execution will - // stop at the first failed statement; the remaining statements will not run. - // - // ExecuteBatchDml is expected to return an OK status with a response even if - // there was an error while processing one of the DML statements. Clients must - // inspect response.status to determine if there were any errors while - // processing the request. - // - // See more details in - // [ExecuteBatchDmlRequest][Spanner.ExecuteBatchDmlRequest] and - // [ExecuteBatchDmlResponse][Spanner.ExecuteBatchDmlResponse]. - ExecuteBatchDml(ctx context.Context, in *ExecuteBatchDmlRequest, opts ...grpc.CallOption) (*ExecuteBatchDmlResponse, error) - // Reads rows from the database using key lookups and scans, as a - // simple key/value style alternative to - // [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql]. This method cannot be - // used to return a result set larger than 10 MiB; if the read matches more - // data than that, the read fails with a `FAILED_PRECONDITION` - // error. - // - // Reads 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. - // - // Larger result sets can be yielded in streaming fashion by calling - // [StreamingRead][google.spanner.v1.Spanner.StreamingRead] instead. - Read(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (*ResultSet, error) - // Like [Read][google.spanner.v1.Spanner.Read], except returns the result set - // as a stream. Unlike [Read][google.spanner.v1.Spanner.Read], there is no - // limit on the size of the returned result set. However, no individual row in - // the result set can exceed 100 MiB, and no column value can exceed - // 10 MiB. - StreamingRead(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (Spanner_StreamingReadClient, error) - // Begins a new transaction. This step can often be skipped: - // [Read][google.spanner.v1.Spanner.Read], - // [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] and - // [Commit][google.spanner.v1.Spanner.Commit] can begin a new transaction as a - // side-effect. - BeginTransaction(ctx context.Context, in *BeginTransactionRequest, opts ...grpc.CallOption) (*Transaction, error) - // Commits a transaction. The request includes the mutations to be - // applied to rows in the database. - // - // `Commit` might return an `ABORTED` error. This can occur at any time; - // commonly, the cause is conflicts with concurrent - // transactions. However, it can also happen for a variety of other - // reasons. If `Commit` returns `ABORTED`, the caller should re-attempt - // the transaction from the beginning, re-using the same session. - Commit(ctx context.Context, in *CommitRequest, opts ...grpc.CallOption) (*CommitResponse, error) - // Rolls back a transaction, releasing any locks it holds. It is a good - // idea to call this for any transaction that includes one or more - // [Read][google.spanner.v1.Spanner.Read] or - // [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] requests and ultimately - // decides not to commit. - // - // `Rollback` returns `OK` if it successfully aborts the transaction, the - // transaction was already aborted, or the transaction is not - // found. `Rollback` never returns `ABORTED`. - Rollback(ctx context.Context, in *RollbackRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Creates a set of partition tokens that can be used to execute a query - // operation in parallel. Each of the returned partition tokens can be used - // by [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql] to - // specify a subset 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, 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. 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, 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) -} - -type spannerClient struct { - cc *grpc.ClientConn -} - -func NewSpannerClient(cc *grpc.ClientConn) SpannerClient { - return &spannerClient{cc} -} - -func (c *spannerClient) CreateSession(ctx context.Context, in *CreateSessionRequest, opts ...grpc.CallOption) (*Session, error) { - out := new(Session) - err := c.cc.Invoke(ctx, "/google.spanner.v1.Spanner/CreateSession", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *spannerClient) BatchCreateSessions(ctx context.Context, in *BatchCreateSessionsRequest, opts ...grpc.CallOption) (*BatchCreateSessionsResponse, error) { - out := new(BatchCreateSessionsResponse) - err := c.cc.Invoke(ctx, "/google.spanner.v1.Spanner/BatchCreateSessions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *spannerClient) GetSession(ctx context.Context, in *GetSessionRequest, opts ...grpc.CallOption) (*Session, error) { - out := new(Session) - err := c.cc.Invoke(ctx, "/google.spanner.v1.Spanner/GetSession", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *spannerClient) ListSessions(ctx context.Context, in *ListSessionsRequest, opts ...grpc.CallOption) (*ListSessionsResponse, error) { - out := new(ListSessionsResponse) - err := c.cc.Invoke(ctx, "/google.spanner.v1.Spanner/ListSessions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *spannerClient) DeleteSession(ctx context.Context, in *DeleteSessionRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.spanner.v1.Spanner/DeleteSession", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *spannerClient) ExecuteSql(ctx context.Context, in *ExecuteSqlRequest, opts ...grpc.CallOption) (*ResultSet, error) { - out := new(ResultSet) - err := c.cc.Invoke(ctx, "/google.spanner.v1.Spanner/ExecuteSql", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *spannerClient) ExecuteStreamingSql(ctx context.Context, in *ExecuteSqlRequest, opts ...grpc.CallOption) (Spanner_ExecuteStreamingSqlClient, error) { - stream, err := c.cc.NewStream(ctx, &_Spanner_serviceDesc.Streams[0], "/google.spanner.v1.Spanner/ExecuteStreamingSql", opts...) - if err != nil { - return nil, err - } - x := &spannerExecuteStreamingSqlClient{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 Spanner_ExecuteStreamingSqlClient interface { - Recv() (*PartialResultSet, error) - grpc.ClientStream -} - -type spannerExecuteStreamingSqlClient struct { - grpc.ClientStream -} - -func (x *spannerExecuteStreamingSqlClient) Recv() (*PartialResultSet, error) { - m := new(PartialResultSet) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *spannerClient) ExecuteBatchDml(ctx context.Context, in *ExecuteBatchDmlRequest, opts ...grpc.CallOption) (*ExecuteBatchDmlResponse, error) { - out := new(ExecuteBatchDmlResponse) - err := c.cc.Invoke(ctx, "/google.spanner.v1.Spanner/ExecuteBatchDml", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *spannerClient) Read(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (*ResultSet, error) { - out := new(ResultSet) - err := c.cc.Invoke(ctx, "/google.spanner.v1.Spanner/Read", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *spannerClient) StreamingRead(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (Spanner_StreamingReadClient, error) { - stream, err := c.cc.NewStream(ctx, &_Spanner_serviceDesc.Streams[1], "/google.spanner.v1.Spanner/StreamingRead", opts...) - if err != nil { - return nil, err - } - x := &spannerStreamingReadClient{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 Spanner_StreamingReadClient interface { - Recv() (*PartialResultSet, error) - grpc.ClientStream -} - -type spannerStreamingReadClient struct { - grpc.ClientStream -} - -func (x *spannerStreamingReadClient) Recv() (*PartialResultSet, error) { - m := new(PartialResultSet) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *spannerClient) BeginTransaction(ctx context.Context, in *BeginTransactionRequest, opts ...grpc.CallOption) (*Transaction, error) { - out := new(Transaction) - err := c.cc.Invoke(ctx, "/google.spanner.v1.Spanner/BeginTransaction", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *spannerClient) Commit(ctx context.Context, in *CommitRequest, opts ...grpc.CallOption) (*CommitResponse, error) { - out := new(CommitResponse) - err := c.cc.Invoke(ctx, "/google.spanner.v1.Spanner/Commit", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *spannerClient) Rollback(ctx context.Context, in *RollbackRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.spanner.v1.Spanner/Rollback", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *spannerClient) PartitionQuery(ctx context.Context, in *PartitionQueryRequest, opts ...grpc.CallOption) (*PartitionResponse, error) { - out := new(PartitionResponse) - err := c.cc.Invoke(ctx, "/google.spanner.v1.Spanner/PartitionQuery", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *spannerClient) PartitionRead(ctx context.Context, in *PartitionReadRequest, opts ...grpc.CallOption) (*PartitionResponse, error) { - out := new(PartitionResponse) - err := c.cc.Invoke(ctx, "/google.spanner.v1.Spanner/PartitionRead", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// SpannerServer is the server API for Spanner service. -type SpannerServer interface { - // Creates a new session. A session can be used to perform - // transactions that read and/or modify data in a Cloud Spanner database. - // Sessions are meant to be reused for many consecutive - // transactions. - // - // Sessions can only execute one transaction at a time. To execute - // multiple concurrent read-write/write-only transactions, create - // multiple sessions. Note that standalone reads and queries use a - // transaction internally, and count toward the one transaction - // limit. - // - // Cloud Spanner limits the number of sessions that can exist at any given - // time; thus, it is a good idea to delete idle and/or unneeded sessions. - // Aside from explicit deletes, Cloud Spanner can delete sessions for which no - // operations are sent for more than an hour. If a session is deleted, - // requests to it return `NOT_FOUND`. - // - // Idle sessions can be kept alive by sending a trivial SQL query - // periodically, e.g., `"SELECT 1"`. - CreateSession(context.Context, *CreateSessionRequest) (*Session, error) - // Creates multiple new sessions. - // - // This API can be used to initialize a session cache on the clients. - // See https://goo.gl/TgSFN2 for best practices on session cache management. - BatchCreateSessions(context.Context, *BatchCreateSessionsRequest) (*BatchCreateSessionsResponse, error) - // Gets a session. Returns `NOT_FOUND` if the session does not exist. - // This is mainly useful for determining whether a session is still - // alive. - GetSession(context.Context, *GetSessionRequest) (*Session, error) - // Lists all sessions in a given database. - ListSessions(context.Context, *ListSessionsRequest) (*ListSessionsResponse, error) - // Ends a session, releasing server resources associated with it. This will - // asynchronously trigger cancellation of any operations that are running with - // this session. - DeleteSession(context.Context, *DeleteSessionRequest) (*empty.Empty, error) - // 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. - // - // 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. - // - // Larger result sets can be fetched in streaming fashion by calling - // [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql] - // instead. - ExecuteSql(context.Context, *ExecuteSqlRequest) (*ResultSet, error) - // Like [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql], except returns the - // result set as a stream. Unlike - // [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql], there is no limit on - // the size of the returned result set. However, no individual row in the - // result set can exceed 100 MiB, and no column value can exceed 10 MiB. - ExecuteStreamingSql(*ExecuteSqlRequest, Spanner_ExecuteStreamingSqlServer) error - // Executes a batch of SQL DML statements. This method allows many statements - // to be run with lower latency than submitting them sequentially with - // [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql]. - // - // Statements are executed in order, sequentially. - // [ExecuteBatchDmlResponse][Spanner.ExecuteBatchDmlResponse] will contain a - // [ResultSet][google.spanner.v1.ResultSet] for each DML statement that has - // successfully executed. If a statement fails, its error status will be - // returned as part of the - // [ExecuteBatchDmlResponse][Spanner.ExecuteBatchDmlResponse]. Execution will - // stop at the first failed statement; the remaining statements will not run. - // - // ExecuteBatchDml is expected to return an OK status with a response even if - // there was an error while processing one of the DML statements. Clients must - // inspect response.status to determine if there were any errors while - // processing the request. - // - // See more details in - // [ExecuteBatchDmlRequest][Spanner.ExecuteBatchDmlRequest] and - // [ExecuteBatchDmlResponse][Spanner.ExecuteBatchDmlResponse]. - ExecuteBatchDml(context.Context, *ExecuteBatchDmlRequest) (*ExecuteBatchDmlResponse, error) - // Reads rows from the database using key lookups and scans, as a - // simple key/value style alternative to - // [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql]. This method cannot be - // used to return a result set larger than 10 MiB; if the read matches more - // data than that, the read fails with a `FAILED_PRECONDITION` - // error. - // - // Reads 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. - // - // Larger result sets can be yielded in streaming fashion by calling - // [StreamingRead][google.spanner.v1.Spanner.StreamingRead] instead. - Read(context.Context, *ReadRequest) (*ResultSet, error) - // Like [Read][google.spanner.v1.Spanner.Read], except returns the result set - // as a stream. Unlike [Read][google.spanner.v1.Spanner.Read], there is no - // limit on the size of the returned result set. However, no individual row in - // the result set can exceed 100 MiB, and no column value can exceed - // 10 MiB. - StreamingRead(*ReadRequest, Spanner_StreamingReadServer) error - // Begins a new transaction. This step can often be skipped: - // [Read][google.spanner.v1.Spanner.Read], - // [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] and - // [Commit][google.spanner.v1.Spanner.Commit] can begin a new transaction as a - // side-effect. - BeginTransaction(context.Context, *BeginTransactionRequest) (*Transaction, error) - // Commits a transaction. The request includes the mutations to be - // applied to rows in the database. - // - // `Commit` might return an `ABORTED` error. This can occur at any time; - // commonly, the cause is conflicts with concurrent - // transactions. However, it can also happen for a variety of other - // reasons. If `Commit` returns `ABORTED`, the caller should re-attempt - // the transaction from the beginning, re-using the same session. - Commit(context.Context, *CommitRequest) (*CommitResponse, error) - // Rolls back a transaction, releasing any locks it holds. It is a good - // idea to call this for any transaction that includes one or more - // [Read][google.spanner.v1.Spanner.Read] or - // [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] requests and ultimately - // decides not to commit. - // - // `Rollback` returns `OK` if it successfully aborts the transaction, the - // transaction was already aborted, or the transaction is not - // found. `Rollback` never returns `ABORTED`. - Rollback(context.Context, *RollbackRequest) (*empty.Empty, error) - // Creates a set of partition tokens that can be used to execute a query - // operation in parallel. Each of the returned partition tokens can be used - // by [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql] to - // specify a subset 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, 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. 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, 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) -} - -// UnimplementedSpannerServer can be embedded to have forward compatible implementations. -type UnimplementedSpannerServer struct { -} - -func (*UnimplementedSpannerServer) CreateSession(ctx context.Context, req *CreateSessionRequest) (*Session, error) { - return nil, status1.Errorf(codes.Unimplemented, "method CreateSession not implemented") -} -func (*UnimplementedSpannerServer) BatchCreateSessions(ctx context.Context, req *BatchCreateSessionsRequest) (*BatchCreateSessionsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method BatchCreateSessions not implemented") -} -func (*UnimplementedSpannerServer) GetSession(ctx context.Context, req *GetSessionRequest) (*Session, error) { - return nil, status1.Errorf(codes.Unimplemented, "method GetSession not implemented") -} -func (*UnimplementedSpannerServer) ListSessions(ctx context.Context, req *ListSessionsRequest) (*ListSessionsResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ListSessions not implemented") -} -func (*UnimplementedSpannerServer) DeleteSession(ctx context.Context, req *DeleteSessionRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method DeleteSession not implemented") -} -func (*UnimplementedSpannerServer) ExecuteSql(ctx context.Context, req *ExecuteSqlRequest) (*ResultSet, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ExecuteSql not implemented") -} -func (*UnimplementedSpannerServer) ExecuteStreamingSql(req *ExecuteSqlRequest, srv Spanner_ExecuteStreamingSqlServer) error { - return status1.Errorf(codes.Unimplemented, "method ExecuteStreamingSql not implemented") -} -func (*UnimplementedSpannerServer) ExecuteBatchDml(ctx context.Context, req *ExecuteBatchDmlRequest) (*ExecuteBatchDmlResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method ExecuteBatchDml not implemented") -} -func (*UnimplementedSpannerServer) Read(ctx context.Context, req *ReadRequest) (*ResultSet, error) { - return nil, status1.Errorf(codes.Unimplemented, "method Read not implemented") -} -func (*UnimplementedSpannerServer) StreamingRead(req *ReadRequest, srv Spanner_StreamingReadServer) error { - return status1.Errorf(codes.Unimplemented, "method StreamingRead not implemented") -} -func (*UnimplementedSpannerServer) BeginTransaction(ctx context.Context, req *BeginTransactionRequest) (*Transaction, error) { - return nil, status1.Errorf(codes.Unimplemented, "method BeginTransaction not implemented") -} -func (*UnimplementedSpannerServer) Commit(ctx context.Context, req *CommitRequest) (*CommitResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method Commit not implemented") -} -func (*UnimplementedSpannerServer) Rollback(ctx context.Context, req *RollbackRequest) (*empty.Empty, error) { - return nil, status1.Errorf(codes.Unimplemented, "method Rollback not implemented") -} -func (*UnimplementedSpannerServer) PartitionQuery(ctx context.Context, req *PartitionQueryRequest) (*PartitionResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method PartitionQuery not implemented") -} -func (*UnimplementedSpannerServer) PartitionRead(ctx context.Context, req *PartitionReadRequest) (*PartitionResponse, error) { - return nil, status1.Errorf(codes.Unimplemented, "method PartitionRead not implemented") -} - -func RegisterSpannerServer(s *grpc.Server, srv SpannerServer) { - s.RegisterService(&_Spanner_serviceDesc, srv) -} - -func _Spanner_CreateSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateSessionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SpannerServer).CreateSession(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.spanner.v1.Spanner/CreateSession", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SpannerServer).CreateSession(ctx, req.(*CreateSessionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Spanner_BatchCreateSessions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchCreateSessionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SpannerServer).BatchCreateSessions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.spanner.v1.Spanner/BatchCreateSessions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SpannerServer).BatchCreateSessions(ctx, req.(*BatchCreateSessionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Spanner_GetSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetSessionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SpannerServer).GetSession(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.spanner.v1.Spanner/GetSession", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SpannerServer).GetSession(ctx, req.(*GetSessionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Spanner_ListSessions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListSessionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SpannerServer).ListSessions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.spanner.v1.Spanner/ListSessions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SpannerServer).ListSessions(ctx, req.(*ListSessionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Spanner_DeleteSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteSessionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SpannerServer).DeleteSession(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.spanner.v1.Spanner/DeleteSession", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SpannerServer).DeleteSession(ctx, req.(*DeleteSessionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Spanner_ExecuteSql_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ExecuteSqlRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SpannerServer).ExecuteSql(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.spanner.v1.Spanner/ExecuteSql", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SpannerServer).ExecuteSql(ctx, req.(*ExecuteSqlRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Spanner_ExecuteStreamingSql_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ExecuteSqlRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(SpannerServer).ExecuteStreamingSql(m, &spannerExecuteStreamingSqlServer{stream}) -} - -type Spanner_ExecuteStreamingSqlServer interface { - Send(*PartialResultSet) error - grpc.ServerStream -} - -type spannerExecuteStreamingSqlServer struct { - grpc.ServerStream -} - -func (x *spannerExecuteStreamingSqlServer) Send(m *PartialResultSet) error { - return x.ServerStream.SendMsg(m) -} - -func _Spanner_ExecuteBatchDml_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ExecuteBatchDmlRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SpannerServer).ExecuteBatchDml(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.spanner.v1.Spanner/ExecuteBatchDml", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SpannerServer).ExecuteBatchDml(ctx, req.(*ExecuteBatchDmlRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Spanner_Read_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ReadRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SpannerServer).Read(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.spanner.v1.Spanner/Read", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SpannerServer).Read(ctx, req.(*ReadRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Spanner_StreamingRead_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ReadRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(SpannerServer).StreamingRead(m, &spannerStreamingReadServer{stream}) -} - -type Spanner_StreamingReadServer interface { - Send(*PartialResultSet) error - grpc.ServerStream -} - -type spannerStreamingReadServer struct { - grpc.ServerStream -} - -func (x *spannerStreamingReadServer) Send(m *PartialResultSet) error { - return x.ServerStream.SendMsg(m) -} - -func _Spanner_BeginTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BeginTransactionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SpannerServer).BeginTransaction(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.spanner.v1.Spanner/BeginTransaction", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SpannerServer).BeginTransaction(ctx, req.(*BeginTransactionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Spanner_Commit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CommitRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SpannerServer).Commit(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.spanner.v1.Spanner/Commit", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SpannerServer).Commit(ctx, req.(*CommitRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Spanner_Rollback_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RollbackRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SpannerServer).Rollback(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.spanner.v1.Spanner/Rollback", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SpannerServer).Rollback(ctx, req.(*RollbackRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Spanner_PartitionQuery_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PartitionQueryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SpannerServer).PartitionQuery(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.spanner.v1.Spanner/PartitionQuery", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SpannerServer).PartitionQuery(ctx, req.(*PartitionQueryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Spanner_PartitionRead_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PartitionReadRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SpannerServer).PartitionRead(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.spanner.v1.Spanner/PartitionRead", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SpannerServer).PartitionRead(ctx, req.(*PartitionReadRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Spanner_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.spanner.v1.Spanner", - HandlerType: (*SpannerServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateSession", - Handler: _Spanner_CreateSession_Handler, - }, - { - MethodName: "BatchCreateSessions", - Handler: _Spanner_BatchCreateSessions_Handler, - }, - { - MethodName: "GetSession", - Handler: _Spanner_GetSession_Handler, - }, - { - MethodName: "ListSessions", - Handler: _Spanner_ListSessions_Handler, - }, - { - MethodName: "DeleteSession", - Handler: _Spanner_DeleteSession_Handler, - }, - { - MethodName: "ExecuteSql", - Handler: _Spanner_ExecuteSql_Handler, - }, - { - MethodName: "ExecuteBatchDml", - Handler: _Spanner_ExecuteBatchDml_Handler, - }, - { - MethodName: "Read", - Handler: _Spanner_Read_Handler, - }, - { - MethodName: "BeginTransaction", - Handler: _Spanner_BeginTransaction_Handler, - }, - { - MethodName: "Commit", - Handler: _Spanner_Commit_Handler, - }, - { - MethodName: "Rollback", - Handler: _Spanner_Rollback_Handler, - }, - { - MethodName: "PartitionQuery", - Handler: _Spanner_PartitionQuery_Handler, - }, - { - MethodName: "PartitionRead", - Handler: _Spanner_PartitionRead_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "ExecuteStreamingSql", - Handler: _Spanner_ExecuteStreamingSql_Handler, - ServerStreams: true, - }, - { - StreamName: "StreamingRead", - Handler: _Spanner_StreamingRead_Handler, - ServerStreams: true, - }, - }, - Metadata: "google/spanner/v1/spanner.proto", -} 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 deleted file mode 100644 index ed1ee8bb..00000000 --- a/vendor/google.golang.org/genproto/googleapis/spanner/v1/transaction.pb.go +++ /dev/null @@ -1,827 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/spanner/v1/transaction.proto - -package spanner - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// # Transactions -// -// -// Each session can have at most one active transaction at a time. After the -// active transaction is completed, the session can immediately be -// re-used for the next transaction. It is not necessary to create a -// new session for each transaction. -// -// # 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 -// pessimistic locking and, if necessary, two-phase commit. -// Locking read-write transactions may abort, requiring the -// application to retry. -// -// 2. Snapshot read-only. This transaction type provides guaranteed -// consistency across several reads, but does not allow -// writes. Snapshot read-only transactions can be configured to -// 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 -// not conflict with read-write transactions. As a consequence of not -// taking locks, they also do not abort, so retry loops are not needed. -// -// Transactions may only read/write data in a single database. They -// may, however, read/write data in different tables within that -// database. -// -// ## Locking Read-Write Transactions -// -// Locking transactions may be used to atomically read-modify-write -// data anywhere in a database. This type of transaction is externally -// consistent. -// -// Clients should attempt to minimize the amount of time a transaction -// is active. Faster transactions commit with higher probability -// and cause less contention. Cloud Spanner attempts to keep read locks -// active as long as the transaction continues to do reads, and the -// transaction has not been terminated by -// [Commit][google.spanner.v1.Spanner.Commit] or -// [Rollback][google.spanner.v1.Spanner.Rollback]. Long periods of -// inactivity at the client may cause Cloud Spanner to release a -// transaction's locks and abort it. -// -// Conceptually, a read-write transaction consists of zero or more -// 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 -// transaction. -// -// ### Semantics -// -// Cloud Spanner can commit the transaction if all read locks it acquired -// are still valid at commit time, and it is able to acquire write -// locks for all writes. Cloud Spanner can abort the transaction for any -// reason. If a commit attempt returns `ABORTED`, Cloud Spanner guarantees -// that the transaction has not modified any user data in Cloud Spanner. -// -// Unless the transaction commits, Cloud Spanner makes no guarantees about -// how long the transaction's locks were held for. It is an error to -// use Cloud Spanner locks for any sort of mutual exclusion other than -// between Cloud Spanner transactions themselves. -// -// ### Retrying Aborted Transactions -// -// When a transaction aborts, the application can choose to retry the -// whole transaction again. To maximize the chances of successfully -// committing the retry, the client should execute the retry in the -// same session as the original attempt. The original session's lock -// priority increases with each consecutive abort, meaning that each -// attempt has a slightly better chance of success than the previous. -// -// Under some circumstances (e.g., many transactions attempting to -// modify the same row(s)), a transaction can abort many times in a -// short period before successfully committing. Thus, it is not a good -// idea to cap the number of retries a transaction can attempt; -// instead, it is better to limit the total amount of wall time spent -// retrying. -// -// ### Idle Transactions -// -// A transaction is considered idle if it has no outstanding reads or -// SQL queries and has not started a read or SQL query within the last 10 -// seconds. Idle transactions can be aborted by Cloud Spanner so that they -// don't hold on to locks indefinitely. In that case, the commit will -// fail with error `ABORTED`. -// -// If this behavior is undesirable, periodically executing a simple -// SQL query in the transaction (e.g., `SELECT 1`) prevents the -// transaction from becoming idle. -// -// ## Snapshot Read-Only Transactions -// -// Snapshot read-only transactions provides a simpler method than -// locking read-write transactions for doing several consistent -// reads. However, this type of transaction does not support writes. -// -// Snapshot transactions do not take locks. Instead, they work by -// choosing a Cloud Spanner timestamp, then executing all reads at that -// timestamp. Since they do not acquire locks, they do not block -// concurrent read-write transactions. -// -// Unlike locking read-write transactions, snapshot read-only -// transactions never abort. They can fail if the chosen read -// timestamp is garbage collected; however, the default garbage -// collection policy is generous enough that most applications do not -// need to worry about this in practice. -// -// Snapshot read-only transactions do not need to call -// [Commit][google.spanner.v1.Spanner.Commit] or -// [Rollback][google.spanner.v1.Spanner.Rollback] (and in fact are not -// permitted to do so). -// -// To execute a snapshot transaction, the client specifies a timestamp -// bound, which tells Cloud Spanner how to choose a read timestamp. -// -// The types of timestamp bound are: -// -// - Strong (the default). -// - Bounded staleness. -// - Exact staleness. -// -// If the Cloud Spanner database to be read is geographically distributed, -// stale read-only transactions can execute more quickly than strong -// or read-write transaction, because they are able to execute far -// from the leader replica. -// -// Each type of timestamp bound is discussed in detail below. -// -// ### Strong -// -// Strong reads are guaranteed to see the effects of all transactions -// that have committed before the start of the read. Furthermore, all -// rows yielded by a single read are consistent with each other -- if -// any part of the read observes a transaction, all parts of the read -// see the transaction. -// -// Strong reads are not repeatable: two consecutive strong read-only -// transactions might return inconsistent results if there are -// concurrent writes. If consistency across reads is required, the -// reads should be executed within a transaction or at an exact read -// timestamp. -// -// See -// [TransactionOptions.ReadOnly.strong][google.spanner.v1.TransactionOptions.ReadOnly.strong]. -// -// ### Exact Staleness -// -// These timestamp bounds execute reads at a user-specified -// timestamp. Reads at a timestamp are guaranteed to see a consistent -// prefix of the global transaction history: they observe -// modifications done by all transactions with a commit timestamp <= -// the read timestamp, and observe none of the modifications done by -// transactions with a larger commit timestamp. They will block until -// all conflicting transactions that may be assigned commit timestamps -// <= the read timestamp have finished. -// -// The timestamp can either be expressed as an absolute Cloud Spanner commit -// timestamp or a staleness relative to the current time. -// -// These modes do not require a "negotiation phase" to pick a -// timestamp. As a result, they execute slightly faster than the -// equivalent boundedly stale concurrency modes. On the other hand, -// boundedly stale reads usually return fresher results. -// -// See -// [TransactionOptions.ReadOnly.read_timestamp][google.spanner.v1.TransactionOptions.ReadOnly.read_timestamp] -// and -// [TransactionOptions.ReadOnly.exact_staleness][google.spanner.v1.TransactionOptions.ReadOnly.exact_staleness]. -// -// ### Bounded Staleness -// -// Bounded staleness modes allow Cloud Spanner to pick the read timestamp, -// subject to a user-provided staleness bound. Cloud Spanner chooses the -// newest timestamp within the staleness bound that allows execution -// of the reads at the closest available replica without blocking. -// -// All rows yielded are consistent with each other -- if any part of -// the read observes a transaction, all parts of the read see the -// transaction. Boundedly stale reads are not repeatable: two stale -// reads, even if they use the same staleness bound, can execute at -// different timestamps and thus return inconsistent results. -// -// Boundedly stale reads execute in two phases: the first phase -// negotiates a timestamp among all replicas needed to serve the -// read. In the second phase, reads are executed at the negotiated -// timestamp. -// -// As a result of the two phase execution, bounded staleness reads are -// usually a little slower than comparable exact staleness -// reads. However, they are typically able to return fresher -// results, and are more likely to execute at the closest replica. -// -// Because the timestamp negotiation requires up-front knowledge of -// which rows will be read, it can only be used with single-use -// read-only transactions. -// -// See -// [TransactionOptions.ReadOnly.max_staleness][google.spanner.v1.TransactionOptions.ReadOnly.max_staleness] -// and -// [TransactionOptions.ReadOnly.min_read_timestamp][google.spanner.v1.TransactionOptions.ReadOnly.min_read_timestamp]. -// -// ### Old Read Timestamps and Garbage Collection -// -// Cloud Spanner continuously garbage collects deleted and overwritten data -// in the background to reclaim storage space. This process is known -// as "version GC". By default, version GC reclaims versions after they -// are one hour old. Because of this, Cloud Spanner cannot perform reads -// at read timestamps more than one hour in the past. This -// 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:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a5743daa0b72b00f, []int{0} -} - -func (m *TransactionOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransactionOptions.Unmarshal(m, b) -} -func (m *TransactionOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransactionOptions.Marshal(b, m, deterministic) -} -func (m *TransactionOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransactionOptions.Merge(m, src) -} -func (m *TransactionOptions) XXX_Size() int { - return xxx_messageInfo_TransactionOptions.Size(m) -} -func (m *TransactionOptions) XXX_DiscardUnknown() { - xxx_messageInfo_TransactionOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_TransactionOptions proto.InternalMessageInfo - -type isTransactionOptions_Mode interface { - isTransactionOptions_Mode() -} - -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_PartitionedDml_) isTransactionOptions_Mode() {} - -func (*TransactionOptions_ReadOnly_) isTransactionOptions_Mode() {} - -func (m *TransactionOptions) GetMode() isTransactionOptions_Mode { - if m != nil { - return m.Mode - } - return nil -} - -func (m *TransactionOptions) GetReadWrite() *TransactionOptions_ReadWrite { - if x, ok := m.GetMode().(*TransactionOptions_ReadWrite_); ok { - return x.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 - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*TransactionOptions) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*TransactionOptions_ReadWrite_)(nil), - (*TransactionOptions_PartitionedDml_)(nil), - (*TransactionOptions_ReadOnly_)(nil), - } -} - -// Message type to initiate a read-write transaction. Currently this -// transaction type has no options. -type TransactionOptions_ReadWrite struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TransactionOptions_ReadWrite) Reset() { *m = TransactionOptions_ReadWrite{} } -func (m *TransactionOptions_ReadWrite) String() string { return proto.CompactTextString(m) } -func (*TransactionOptions_ReadWrite) ProtoMessage() {} -func (*TransactionOptions_ReadWrite) Descriptor() ([]byte, []int) { - return fileDescriptor_a5743daa0b72b00f, []int{0, 0} -} - -func (m *TransactionOptions_ReadWrite) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransactionOptions_ReadWrite.Unmarshal(m, b) -} -func (m *TransactionOptions_ReadWrite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransactionOptions_ReadWrite.Marshal(b, m, deterministic) -} -func (m *TransactionOptions_ReadWrite) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransactionOptions_ReadWrite.Merge(m, src) -} -func (m *TransactionOptions_ReadWrite) XXX_Size() int { - return xxx_messageInfo_TransactionOptions_ReadWrite.Size(m) -} -func (m *TransactionOptions_ReadWrite) XXX_DiscardUnknown() { - xxx_messageInfo_TransactionOptions_ReadWrite.DiscardUnknown(m) -} - -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_a5743daa0b72b00f, []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 (m *TransactionOptions_PartitionedDml) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransactionOptions_PartitionedDml.Merge(m, 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. - // - // Types that are valid to be assigned to TimestampBound: - // *TransactionOptions_ReadOnly_Strong - // *TransactionOptions_ReadOnly_MinReadTimestamp - // *TransactionOptions_ReadOnly_MaxStaleness - // *TransactionOptions_ReadOnly_ReadTimestamp - // *TransactionOptions_ReadOnly_ExactStaleness - TimestampBound isTransactionOptions_ReadOnly_TimestampBound `protobuf_oneof:"timestamp_bound"` - // If true, the Cloud Spanner-selected read timestamp is included in - // the [Transaction][google.spanner.v1.Transaction] message that describes - // the transaction. - ReturnReadTimestamp bool `protobuf:"varint,6,opt,name=return_read_timestamp,json=returnReadTimestamp,proto3" json:"return_read_timestamp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TransactionOptions_ReadOnly) Reset() { *m = TransactionOptions_ReadOnly{} } -func (m *TransactionOptions_ReadOnly) String() string { return proto.CompactTextString(m) } -func (*TransactionOptions_ReadOnly) ProtoMessage() {} -func (*TransactionOptions_ReadOnly) Descriptor() ([]byte, []int) { - return fileDescriptor_a5743daa0b72b00f, []int{0, 2} -} - -func (m *TransactionOptions_ReadOnly) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransactionOptions_ReadOnly.Unmarshal(m, b) -} -func (m *TransactionOptions_ReadOnly) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransactionOptions_ReadOnly.Marshal(b, m, deterministic) -} -func (m *TransactionOptions_ReadOnly) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransactionOptions_ReadOnly.Merge(m, src) -} -func (m *TransactionOptions_ReadOnly) XXX_Size() int { - return xxx_messageInfo_TransactionOptions_ReadOnly.Size(m) -} -func (m *TransactionOptions_ReadOnly) XXX_DiscardUnknown() { - xxx_messageInfo_TransactionOptions_ReadOnly.DiscardUnknown(m) -} - -var xxx_messageInfo_TransactionOptions_ReadOnly proto.InternalMessageInfo - -type isTransactionOptions_ReadOnly_TimestampBound interface { - isTransactionOptions_ReadOnly_TimestampBound() -} - -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_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 (m *TransactionOptions_ReadOnly) GetTimestampBound() isTransactionOptions_ReadOnly_TimestampBound { - if m != nil { - return m.TimestampBound - } - return nil -} - -func (m *TransactionOptions_ReadOnly) GetStrong() bool { - if x, ok := m.GetTimestampBound().(*TransactionOptions_ReadOnly_Strong); ok { - return x.Strong - } - return false -} - -func (m *TransactionOptions_ReadOnly) GetMinReadTimestamp() *timestamp.Timestamp { - if x, ok := m.GetTimestampBound().(*TransactionOptions_ReadOnly_MinReadTimestamp); ok { - return x.MinReadTimestamp - } - return nil -} - -func (m *TransactionOptions_ReadOnly) GetMaxStaleness() *duration.Duration { - if x, ok := m.GetTimestampBound().(*TransactionOptions_ReadOnly_MaxStaleness); ok { - return x.MaxStaleness - } - return nil -} - -func (m *TransactionOptions_ReadOnly) GetReadTimestamp() *timestamp.Timestamp { - if x, ok := m.GetTimestampBound().(*TransactionOptions_ReadOnly_ReadTimestamp); ok { - return x.ReadTimestamp - } - return nil -} - -func (m *TransactionOptions_ReadOnly) GetExactStaleness() *duration.Duration { - if x, ok := m.GetTimestampBound().(*TransactionOptions_ReadOnly_ExactStaleness); ok { - return x.ExactStaleness - } - return nil -} - -func (m *TransactionOptions_ReadOnly) GetReturnReadTimestamp() bool { - if m != nil { - return m.ReturnReadTimestamp - } - return false -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*TransactionOptions_ReadOnly) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*TransactionOptions_ReadOnly_Strong)(nil), - (*TransactionOptions_ReadOnly_MinReadTimestamp)(nil), - (*TransactionOptions_ReadOnly_MaxStaleness)(nil), - (*TransactionOptions_ReadOnly_ReadTimestamp)(nil), - (*TransactionOptions_ReadOnly_ExactStaleness)(nil), - } -} - -// A transaction. -type Transaction struct { - // `id` may be used to identify the transaction in subsequent - // [Read][google.spanner.v1.Spanner.Read], - // [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql], - // [Commit][google.spanner.v1.Spanner.Commit], or - // [Rollback][google.spanner.v1.Spanner.Rollback] calls. - // - // Single-use read-only transactions do not have IDs, because - // single-use transactions do not support multiple requests. - Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // For snapshot read-only transactions, the read timestamp chosen - // for the transaction. Not returned by default: see - // [TransactionOptions.ReadOnly.return_read_timestamp][google.spanner.v1.TransactionOptions.ReadOnly.return_read_timestamp]. - // - // A timestamp in RFC3339 UTC \"Zulu\" format, accurate to nanoseconds. - // Example: `"2014-10-02T15:01:23.045123456Z"`. - ReadTimestamp *timestamp.Timestamp `protobuf:"bytes,2,opt,name=read_timestamp,json=readTimestamp,proto3" json:"read_timestamp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a5743daa0b72b00f, []int{1} -} - -func (m *Transaction) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Transaction.Unmarshal(m, b) -} -func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Transaction.Marshal(b, m, deterministic) -} -func (m *Transaction) XXX_Merge(src proto.Message) { - xxx_messageInfo_Transaction.Merge(m, src) -} -func (m *Transaction) XXX_Size() int { - return xxx_messageInfo_Transaction.Size(m) -} -func (m *Transaction) XXX_DiscardUnknown() { - xxx_messageInfo_Transaction.DiscardUnknown(m) -} - -var xxx_messageInfo_Transaction proto.InternalMessageInfo - -func (m *Transaction) GetId() []byte { - if m != nil { - return m.Id - } - return nil -} - -func (m *Transaction) GetReadTimestamp() *timestamp.Timestamp { - if m != nil { - return m.ReadTimestamp - } - return nil -} - -// This message is used to select the transaction in which a -// [Read][google.spanner.v1.Spanner.Read] or -// [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] call runs. -// -// See [TransactionOptions][google.spanner.v1.TransactionOptions] for more -// information about transactions. -type TransactionSelector struct { - // If no fields are set, the default is a single use transaction - // with strong concurrency. - // - // Types that are valid to be assigned to Selector: - // *TransactionSelector_SingleUse - // *TransactionSelector_Id - // *TransactionSelector_Begin - Selector isTransactionSelector_Selector `protobuf_oneof:"selector"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a5743daa0b72b00f, []int{2} -} - -func (m *TransactionSelector) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransactionSelector.Unmarshal(m, b) -} -func (m *TransactionSelector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransactionSelector.Marshal(b, m, deterministic) -} -func (m *TransactionSelector) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransactionSelector.Merge(m, src) -} -func (m *TransactionSelector) XXX_Size() int { - return xxx_messageInfo_TransactionSelector.Size(m) -} -func (m *TransactionSelector) XXX_DiscardUnknown() { - xxx_messageInfo_TransactionSelector.DiscardUnknown(m) -} - -var xxx_messageInfo_TransactionSelector proto.InternalMessageInfo - -type isTransactionSelector_Selector interface { - isTransactionSelector_Selector() -} - -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 (m *TransactionSelector) GetSelector() isTransactionSelector_Selector { - if m != nil { - return m.Selector - } - return nil -} - -func (m *TransactionSelector) GetSingleUse() *TransactionOptions { - if x, ok := m.GetSelector().(*TransactionSelector_SingleUse); ok { - return x.SingleUse - } - return nil -} - -func (m *TransactionSelector) GetId() []byte { - if x, ok := m.GetSelector().(*TransactionSelector_Id); ok { - return x.Id - } - return nil -} - -func (m *TransactionSelector) GetBegin() *TransactionOptions { - if x, ok := m.GetSelector().(*TransactionSelector_Begin); ok { - return x.Begin - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*TransactionSelector) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*TransactionSelector_SingleUse)(nil), - (*TransactionSelector_Id)(nil), - (*TransactionSelector_Begin)(nil), - } -} - -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_a5743daa0b72b00f) -} - -var fileDescriptor_a5743daa0b72b00f = []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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 0x96, 0x86, 0x7e, 0x0d, 0x47, 0x73, 0x12, 0x51, 0x66, 0xe6, 0xbc, 0xb7, 0x69, - 0xa1, 0x1a, 0x01, 0x34, 0xa5, 0x81, 0x1c, 0xfd, 0xac, 0xc1, 0xf9, 0x82, 0x27, 0x55, 0x87, 0x51, - 0x6f, 0xc3, 0x62, 0x92, 0x37, 0x61, 0x52, 0xfb, 0xf2, 0xd2, 0xa4, 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 deleted file mode 100644 index 174be847..00000000 --- a/vendor/google.golang.org/genproto/googleapis/spanner/v1/type.pb.go +++ /dev/null @@ -1,309 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/spanner/v1/type.proto - -package spanner - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - _ "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.ProtoPackageIsVersion3 // please upgrade the proto package - -// `TypeCode` is used as part of [Type][google.spanner.v1.Type] to -// indicate the type of a Cloud Spanner value. -// -// Each legal value of a type can be encoded to or decoded from a JSON -// value, using the encodings described below. All Cloud Spanner values can -// be `null`, regardless of type; `null`s are always encoded as a JSON -// `null`. -type TypeCode int32 - -const ( - // Not specified. - TypeCode_TYPE_CODE_UNSPECIFIED TypeCode = 0 - // Encoded as JSON `true` or `false`. - TypeCode_BOOL TypeCode = 1 - // Encoded as `string`, in decimal format. - TypeCode_INT64 TypeCode = 2 - // Encoded as `number`, or the strings `"NaN"`, `"Infinity"`, or - // `"-Infinity"`. - TypeCode_FLOAT64 TypeCode = 3 - // Encoded as `string` in RFC 3339 timestamp format. The time zone - // must be present, and must be `"Z"`. - // - // If the schema has the column option - // `allow_commit_timestamp=true`, the placeholder string - // `"spanner.commit_timestamp()"` can be used to instruct the system - // to insert the commit timestamp associated with the transaction - // commit. - TypeCode_TIMESTAMP TypeCode = 4 - // Encoded as `string` in RFC 3339 date format. - TypeCode_DATE TypeCode = 5 - // Encoded as `string`. - TypeCode_STRING TypeCode = 6 - // Encoded as a base64-encoded `string`, as described in RFC 4648, - // section 4. - TypeCode_BYTES TypeCode = 7 - // Encoded as `list`, where the list elements are represented - // according to - // [array_element_type][google.spanner.v1.Type.array_element_type]. - TypeCode_ARRAY TypeCode = 8 - // Encoded as `list`, where list element `i` is represented according - // to [struct_type.fields[i]][google.spanner.v1.StructType.fields]. - TypeCode_STRUCT TypeCode = 9 -) - -var TypeCode_name = map[int32]string{ - 0: "TYPE_CODE_UNSPECIFIED", - 1: "BOOL", - 2: "INT64", - 3: "FLOAT64", - 4: "TIMESTAMP", - 5: "DATE", - 6: "STRING", - 7: "BYTES", - 8: "ARRAY", - 9: "STRUCT", -} - -var TypeCode_value = map[string]int32{ - "TYPE_CODE_UNSPECIFIED": 0, - "BOOL": 1, - "INT64": 2, - "FLOAT64": 3, - "TIMESTAMP": 4, - "DATE": 5, - "STRING": 6, - "BYTES": 7, - "ARRAY": 8, - "STRUCT": 9, -} - -func (x TypeCode) String() string { - return proto.EnumName(TypeCode_name, int32(x)) -} - -func (TypeCode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dc1f2442a7aeba2a, []int{0} -} - -// `Type` indicates the type of a Cloud Spanner value, as might be stored in a -// table cell or returned from an SQL query. -type Type struct { - // Required. The [TypeCode][google.spanner.v1.TypeCode] for this type. - Code TypeCode `protobuf:"varint,1,opt,name=code,proto3,enum=google.spanner.v1.TypeCode" json:"code,omitempty"` - // If [code][google.spanner.v1.Type.code] == - // [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type` is the - // type of the array elements. - ArrayElementType *Type `protobuf:"bytes,2,opt,name=array_element_type,json=arrayElementType,proto3" json:"array_element_type,omitempty"` - // If [code][google.spanner.v1.Type.code] == - // [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type` provides - // type information for the struct's fields. - StructType *StructType `protobuf:"bytes,3,opt,name=struct_type,json=structType,proto3" json:"struct_type,omitempty"` - 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_dc1f2442a7aeba2a, []int{0} -} - -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 (m *Type) XXX_Merge(src proto.Message) { - xxx_messageInfo_Type.Merge(m, 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 - -func (m *Type) GetCode() TypeCode { - if m != nil { - return m.Code - } - return TypeCode_TYPE_CODE_UNSPECIFIED -} - -func (m *Type) GetArrayElementType() *Type { - if m != nil { - return m.ArrayElementType - } - return nil -} - -func (m *Type) GetStructType() *StructType { - if m != nil { - return m.StructType - } - return nil -} - -// `StructType` defines the fields of a -// [STRUCT][google.spanner.v1.TypeCode.STRUCT] type. -type StructType struct { - // The list of fields that make up this struct. Order is - // significant, because values of this struct type are represented as - // lists, where the order of field values matches the order of - // fields in the [StructType][google.spanner.v1.StructType]. In turn, the - // order of fields matches the order of columns in a read request, or the - // order of fields in the `SELECT` clause of a query. - Fields []*StructType_Field `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_dc1f2442a7aeba2a, []int{1} -} - -func (m *StructType) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StructType.Unmarshal(m, b) -} -func (m *StructType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StructType.Marshal(b, m, deterministic) -} -func (m *StructType) XXX_Merge(src proto.Message) { - xxx_messageInfo_StructType.Merge(m, src) -} -func (m *StructType) XXX_Size() int { - return xxx_messageInfo_StructType.Size(m) -} -func (m *StructType) XXX_DiscardUnknown() { - xxx_messageInfo_StructType.DiscardUnknown(m) -} - -var xxx_messageInfo_StructType proto.InternalMessageInfo - -func (m *StructType) GetFields() []*StructType_Field { - if m != nil { - return m.Fields - } - return nil -} - -// Message representing a single field of a struct. -type StructType_Field struct { - // The name of the field. For reads, this is the column name. For - // SQL queries, it is the column alias (e.g., `"Word"` in the - // query `"SELECT 'hello' AS Word"`), or the column name (e.g., - // `"ColName"` in the query `"SELECT ColName FROM Table"`). Some - // columns might have an empty name (e.g., !"SELECT - // UPPER(ColName)"`). Note that a query result can contain - // multiple fields with the same name. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The type of the field. - Type *Type `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_dc1f2442a7aeba2a, []int{1, 0} -} - -func (m *StructType_Field) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StructType_Field.Unmarshal(m, b) -} -func (m *StructType_Field) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StructType_Field.Marshal(b, m, deterministic) -} -func (m *StructType_Field) XXX_Merge(src proto.Message) { - xxx_messageInfo_StructType_Field.Merge(m, src) -} -func (m *StructType_Field) XXX_Size() int { - return xxx_messageInfo_StructType_Field.Size(m) -} -func (m *StructType_Field) XXX_DiscardUnknown() { - xxx_messageInfo_StructType_Field.DiscardUnknown(m) -} - -var xxx_messageInfo_StructType_Field proto.InternalMessageInfo - -func (m *StructType_Field) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *StructType_Field) GetType() *Type { - if m != nil { - return m.Type - } - return nil -} - -func init() { - proto.RegisterEnum("google.spanner.v1.TypeCode", TypeCode_name, TypeCode_value) - proto.RegisterType((*Type)(nil), "google.spanner.v1.Type") - proto.RegisterType((*StructType)(nil), "google.spanner.v1.StructType") - proto.RegisterType((*StructType_Field)(nil), "google.spanner.v1.StructType.Field") -} - -func init() { proto.RegisterFile("google/spanner/v1/type.proto", fileDescriptor_dc1f2442a7aeba2a) } - -var fileDescriptor_dc1f2442a7aeba2a = []byte{ - // 444 bytes of a gzipped FileDescriptorProto - 0x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d, 0x7a, 0x64, - 0xeb, 0x39, 0x43, 0xbd, 0x0c, 0x21, 0x7a, 0xff, 0xa6, 0xe6, 0x89, 0x4a, 0xb9, 0x4c, 0x1c, 0x95, - 0x27, 0x6e, 0x22, 0xa4, 0x59, 0x15, 0xb7, 0x42, 0x3c, 0xdb, 0x14, 0xbf, 0x2d, 0xdf, 0x59, 0x5d, - 0x7e, 0x3d, 0x38, 0x3e, 0xaf, 0x54, 0x3f, 0x55, 0x37, 0x6b, 0x27, 0xae, 0x0f, 0xb8, 0x1e, 0x7c, - 0xdf, 0x93, 0x85, 0x21, 0x8b, 0x9a, 0x2c, 0xae, 0x07, 0x1f, 0x5a, 0xa6, 0xf1, 0xcb, 0x1f, 0x01, - 0x00, 0x00, 0xff, 0xff, 0x55, 0xc4, 0x6e, 0xd4, 0xd4, 0x02, 0x00, 0x00, -} 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 deleted file mode 100644 index e5d6a8f6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/storagetransfer/v1/transfer.pb.go +++ /dev/null @@ -1,843 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/storagetransfer/v1/transfer.proto - -package storagetransfer - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - field_mask "google.golang.org/genproto/protobuf/field_mask" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Request passed to GetGoogleServiceAccount. -type GetGoogleServiceAccountRequest struct { - // The ID of the Google Cloud Platform Console project that the Google service - // account is associated with. - // Required. - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetGoogleServiceAccountRequest) Reset() { *m = GetGoogleServiceAccountRequest{} } -func (m *GetGoogleServiceAccountRequest) String() string { return proto.CompactTextString(m) } -func (*GetGoogleServiceAccountRequest) ProtoMessage() {} -func (*GetGoogleServiceAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9e3f640a3e036c8f, []int{0} -} - -func (m *GetGoogleServiceAccountRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetGoogleServiceAccountRequest.Unmarshal(m, b) -} -func (m *GetGoogleServiceAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetGoogleServiceAccountRequest.Marshal(b, m, deterministic) -} -func (m *GetGoogleServiceAccountRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetGoogleServiceAccountRequest.Merge(m, src) -} -func (m *GetGoogleServiceAccountRequest) XXX_Size() int { - return xxx_messageInfo_GetGoogleServiceAccountRequest.Size(m) -} -func (m *GetGoogleServiceAccountRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetGoogleServiceAccountRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetGoogleServiceAccountRequest proto.InternalMessageInfo - -func (m *GetGoogleServiceAccountRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// Request passed to CreateTransferJob. -type CreateTransferJobRequest struct { - // The job to create. - // Required. - TransferJob *TransferJob `protobuf:"bytes,1,opt,name=transfer_job,json=transferJob,proto3" json:"transfer_job,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateTransferJobRequest) Reset() { *m = CreateTransferJobRequest{} } -func (m *CreateTransferJobRequest) String() string { return proto.CompactTextString(m) } -func (*CreateTransferJobRequest) ProtoMessage() {} -func (*CreateTransferJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9e3f640a3e036c8f, []int{1} -} - -func (m *CreateTransferJobRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateTransferJobRequest.Unmarshal(m, b) -} -func (m *CreateTransferJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateTransferJobRequest.Marshal(b, m, deterministic) -} -func (m *CreateTransferJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateTransferJobRequest.Merge(m, src) -} -func (m *CreateTransferJobRequest) XXX_Size() int { - return xxx_messageInfo_CreateTransferJobRequest.Size(m) -} -func (m *CreateTransferJobRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateTransferJobRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateTransferJobRequest proto.InternalMessageInfo - -func (m *CreateTransferJobRequest) GetTransferJob() *TransferJob { - if m != nil { - return m.TransferJob - } - return nil -} - -// Request passed to UpdateTransferJob. -type UpdateTransferJobRequest struct { - // The name of job to update. - // Required. - JobName string `protobuf:"bytes,1,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"` - // The ID of the Google Cloud Platform Console project that owns the job. - // Required. - ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // The job to update. `transferJob` is expected to specify only three fields: - // `description`, `transferSpec`, and `status`. An UpdateTransferJobRequest - // that specifies other fields will be rejected with an error - // `INVALID_ARGUMENT`. - // Required. - TransferJob *TransferJob `protobuf:"bytes,3,opt,name=transfer_job,json=transferJob,proto3" json:"transfer_job,omitempty"` - // The field mask of the fields in `transferJob` that are to be updated in - // this request. Fields in `transferJob` that can be updated are: - // `description`, `transferSpec`, and `status`. To update the `transferSpec` - // of the job, a complete transfer specification has to be provided. An - // incomplete specification which misses any required fields will be rejected - // with the error `INVALID_ARGUMENT`. - UpdateTransferJobFieldMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_transfer_job_field_mask,json=updateTransferJobFieldMask,proto3" json:"update_transfer_job_field_mask,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpdateTransferJobRequest) Reset() { *m = UpdateTransferJobRequest{} } -func (m *UpdateTransferJobRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateTransferJobRequest) ProtoMessage() {} -func (*UpdateTransferJobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9e3f640a3e036c8f, []int{2} -} - -func (m *UpdateTransferJobRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateTransferJobRequest.Unmarshal(m, b) -} -func (m *UpdateTransferJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateTransferJobRequest.Marshal(b, m, deterministic) -} -func (m *UpdateTransferJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateTransferJobRequest.Merge(m, src) -} -func (m *UpdateTransferJobRequest) XXX_Size() int { - return xxx_messageInfo_UpdateTransferJobRequest.Size(m) -} -func (m *UpdateTransferJobRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateTransferJobRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateTransferJobRequest proto.InternalMessageInfo - -func (m *UpdateTransferJobRequest) GetJobName() string { - if m != nil { - return m.JobName - } - return "" -} - -func (m *UpdateTransferJobRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *UpdateTransferJobRequest) GetTransferJob() *TransferJob { - if m != nil { - return m.TransferJob - } - return nil -} - -func (m *UpdateTransferJobRequest) GetUpdateTransferJobFieldMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateTransferJobFieldMask - } - return nil -} - -// Request passed to GetTransferJob. -type GetTransferJobRequest struct { - // The job to get. - // Required. - JobName string `protobuf:"bytes,1,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"` - // The ID of the Google Cloud Platform Console project that owns the job. - // Required. - ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_9e3f640a3e036c8f, []int{3} -} - -func (m *GetTransferJobRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTransferJobRequest.Unmarshal(m, b) -} -func (m *GetTransferJobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTransferJobRequest.Marshal(b, m, deterministic) -} -func (m *GetTransferJobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTransferJobRequest.Merge(m, src) -} -func (m *GetTransferJobRequest) XXX_Size() int { - return xxx_messageInfo_GetTransferJobRequest.Size(m) -} -func (m *GetTransferJobRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTransferJobRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetTransferJobRequest proto.InternalMessageInfo - -func (m *GetTransferJobRequest) GetJobName() string { - if m != nil { - return m.JobName - } - return "" -} - -func (m *GetTransferJobRequest) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -// `project_id`, `job_names`, and `job_statuses` are query parameters that can -// be specified when listing transfer jobs. -type ListTransferJobsRequest struct { - // A list of query parameters specified as JSON text in the form of - // {"project_id":"my_project_id", - // "job_names":["jobid1","jobid2",...], - // "job_statuses":["status1","status2",...]}. - // Since `job_names` and `job_statuses` support multiple values, their values - // must be specified with array notation. `project_id` is required. - // `job_names` and `job_statuses` are optional. The valid values for - // `job_statuses` are case-insensitive: `ENABLED`, `DISABLED`, and `DELETED`. - Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` - // The list page size. The max allowed value is 256. - PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // The list page token. - 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 *ListTransferJobsRequest) Reset() { *m = ListTransferJobsRequest{} } -func (m *ListTransferJobsRequest) String() string { return proto.CompactTextString(m) } -func (*ListTransferJobsRequest) ProtoMessage() {} -func (*ListTransferJobsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9e3f640a3e036c8f, []int{4} -} - -func (m *ListTransferJobsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTransferJobsRequest.Unmarshal(m, b) -} -func (m *ListTransferJobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTransferJobsRequest.Marshal(b, m, deterministic) -} -func (m *ListTransferJobsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTransferJobsRequest.Merge(m, src) -} -func (m *ListTransferJobsRequest) XXX_Size() int { - return xxx_messageInfo_ListTransferJobsRequest.Size(m) -} -func (m *ListTransferJobsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListTransferJobsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTransferJobsRequest proto.InternalMessageInfo - -func (m *ListTransferJobsRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListTransferJobsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListTransferJobsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -// Response from ListTransferJobs. -type ListTransferJobsResponse struct { - // A list of transfer jobs. - TransferJobs []*TransferJob `protobuf:"bytes,1,rep,name=transfer_jobs,json=transferJobs,proto3" json:"transfer_jobs,omitempty"` - // The 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 *ListTransferJobsResponse) Reset() { *m = ListTransferJobsResponse{} } -func (m *ListTransferJobsResponse) String() string { return proto.CompactTextString(m) } -func (*ListTransferJobsResponse) ProtoMessage() {} -func (*ListTransferJobsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9e3f640a3e036c8f, []int{5} -} - -func (m *ListTransferJobsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTransferJobsResponse.Unmarshal(m, b) -} -func (m *ListTransferJobsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTransferJobsResponse.Marshal(b, m, deterministic) -} -func (m *ListTransferJobsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTransferJobsResponse.Merge(m, src) -} -func (m *ListTransferJobsResponse) XXX_Size() int { - return xxx_messageInfo_ListTransferJobsResponse.Size(m) -} -func (m *ListTransferJobsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListTransferJobsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTransferJobsResponse proto.InternalMessageInfo - -func (m *ListTransferJobsResponse) GetTransferJobs() []*TransferJob { - if m != nil { - return m.TransferJobs - } - return nil -} - -func (m *ListTransferJobsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request passed to PauseTransferOperation. -type PauseTransferOperationRequest struct { - // The name of the transfer operation. - // Required. - 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 *PauseTransferOperationRequest) Reset() { *m = PauseTransferOperationRequest{} } -func (m *PauseTransferOperationRequest) String() string { return proto.CompactTextString(m) } -func (*PauseTransferOperationRequest) ProtoMessage() {} -func (*PauseTransferOperationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9e3f640a3e036c8f, []int{6} -} - -func (m *PauseTransferOperationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PauseTransferOperationRequest.Unmarshal(m, b) -} -func (m *PauseTransferOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PauseTransferOperationRequest.Marshal(b, m, deterministic) -} -func (m *PauseTransferOperationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PauseTransferOperationRequest.Merge(m, src) -} -func (m *PauseTransferOperationRequest) XXX_Size() int { - return xxx_messageInfo_PauseTransferOperationRequest.Size(m) -} -func (m *PauseTransferOperationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PauseTransferOperationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_PauseTransferOperationRequest proto.InternalMessageInfo - -func (m *PauseTransferOperationRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Request passed to ResumeTransferOperation. -type ResumeTransferOperationRequest struct { - // The name of the transfer operation. - // Required. - 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 *ResumeTransferOperationRequest) Reset() { *m = ResumeTransferOperationRequest{} } -func (m *ResumeTransferOperationRequest) String() string { return proto.CompactTextString(m) } -func (*ResumeTransferOperationRequest) ProtoMessage() {} -func (*ResumeTransferOperationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9e3f640a3e036c8f, []int{7} -} - -func (m *ResumeTransferOperationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResumeTransferOperationRequest.Unmarshal(m, b) -} -func (m *ResumeTransferOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResumeTransferOperationRequest.Marshal(b, m, deterministic) -} -func (m *ResumeTransferOperationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResumeTransferOperationRequest.Merge(m, src) -} -func (m *ResumeTransferOperationRequest) XXX_Size() int { - return xxx_messageInfo_ResumeTransferOperationRequest.Size(m) -} -func (m *ResumeTransferOperationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ResumeTransferOperationRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ResumeTransferOperationRequest proto.InternalMessageInfo - -func (m *ResumeTransferOperationRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func init() { - proto.RegisterType((*GetGoogleServiceAccountRequest)(nil), "google.storagetransfer.v1.GetGoogleServiceAccountRequest") - proto.RegisterType((*CreateTransferJobRequest)(nil), "google.storagetransfer.v1.CreateTransferJobRequest") - proto.RegisterType((*UpdateTransferJobRequest)(nil), "google.storagetransfer.v1.UpdateTransferJobRequest") - proto.RegisterType((*GetTransferJobRequest)(nil), "google.storagetransfer.v1.GetTransferJobRequest") - proto.RegisterType((*ListTransferJobsRequest)(nil), "google.storagetransfer.v1.ListTransferJobsRequest") - proto.RegisterType((*ListTransferJobsResponse)(nil), "google.storagetransfer.v1.ListTransferJobsResponse") - proto.RegisterType((*PauseTransferOperationRequest)(nil), "google.storagetransfer.v1.PauseTransferOperationRequest") - proto.RegisterType((*ResumeTransferOperationRequest)(nil), "google.storagetransfer.v1.ResumeTransferOperationRequest") -} - -func init() { - proto.RegisterFile("google/storagetransfer/v1/transfer.proto", fileDescriptor_9e3f640a3e036c8f) -} - -var fileDescriptor_9e3f640a3e036c8f = []byte{ - // 786 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x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c, - 0x8b, 0x5d, 0xfd, 0x00, 0xe0, 0x53, 0xdf, 0xd9, 0xc0, 0x73, 0xb4, 0xa5, 0x26, 0xf5, 0x6a, 0x5a, - 0xcc, 0x0a, 0xb5, 0x8d, 0xc2, 0xd7, 0x30, 0x62, 0x53, 0x44, 0x6c, 0xc6, 0x22, 0x36, 0x37, 0x0a, - 0x95, 0x21, 0x81, 0x5d, 0xfa, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x9e, 0x71, 0x04, 0x73, 0x87, 0x09, - 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 - -// StorageTransferServiceClient is the client API for StorageTransferService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type StorageTransferServiceClient interface { - // Returns the Google service account that is used by Storage Transfer - // Service to access buckets in the project where transfers - // run or in other projects. Each Google service account is associated - // with one Google Cloud Platform Console project. Users - // should add this service account to the Google Cloud Storage bucket - // ACLs to grant access to Storage Transfer Service. This service - // account is created and owned by Storage Transfer Service and can - // only be used by Storage Transfer Service. - GetGoogleServiceAccount(ctx context.Context, in *GetGoogleServiceAccountRequest, opts ...grpc.CallOption) (*GoogleServiceAccount, error) - // Creates a transfer job that runs periodically. - CreateTransferJob(ctx context.Context, in *CreateTransferJobRequest, opts ...grpc.CallOption) (*TransferJob, error) - // Updates a transfer job. Updating a job's transfer spec does not affect - // transfer operations that are running already. Updating the scheduling - // of a job is not allowed. - UpdateTransferJob(ctx context.Context, in *UpdateTransferJobRequest, opts ...grpc.CallOption) (*TransferJob, error) - // Gets a transfer job. - GetTransferJob(ctx context.Context, in *GetTransferJobRequest, opts ...grpc.CallOption) (*TransferJob, error) - // Lists transfer jobs. - ListTransferJobs(ctx context.Context, in *ListTransferJobsRequest, opts ...grpc.CallOption) (*ListTransferJobsResponse, error) - // Pauses a transfer operation. - PauseTransferOperation(ctx context.Context, in *PauseTransferOperationRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Resumes a transfer operation that is paused. - ResumeTransferOperation(ctx context.Context, in *ResumeTransferOperationRequest, opts ...grpc.CallOption) (*empty.Empty, error) -} - -type storageTransferServiceClient struct { - cc *grpc.ClientConn -} - -func NewStorageTransferServiceClient(cc *grpc.ClientConn) StorageTransferServiceClient { - return &storageTransferServiceClient{cc} -} - -func (c *storageTransferServiceClient) GetGoogleServiceAccount(ctx context.Context, in *GetGoogleServiceAccountRequest, opts ...grpc.CallOption) (*GoogleServiceAccount, error) { - out := new(GoogleServiceAccount) - err := c.cc.Invoke(ctx, "/google.storagetransfer.v1.StorageTransferService/GetGoogleServiceAccount", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *storageTransferServiceClient) CreateTransferJob(ctx context.Context, in *CreateTransferJobRequest, opts ...grpc.CallOption) (*TransferJob, error) { - out := new(TransferJob) - err := c.cc.Invoke(ctx, "/google.storagetransfer.v1.StorageTransferService/CreateTransferJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *storageTransferServiceClient) UpdateTransferJob(ctx context.Context, in *UpdateTransferJobRequest, opts ...grpc.CallOption) (*TransferJob, error) { - out := new(TransferJob) - err := c.cc.Invoke(ctx, "/google.storagetransfer.v1.StorageTransferService/UpdateTransferJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *storageTransferServiceClient) GetTransferJob(ctx context.Context, in *GetTransferJobRequest, opts ...grpc.CallOption) (*TransferJob, error) { - out := new(TransferJob) - err := c.cc.Invoke(ctx, "/google.storagetransfer.v1.StorageTransferService/GetTransferJob", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *storageTransferServiceClient) ListTransferJobs(ctx context.Context, in *ListTransferJobsRequest, opts ...grpc.CallOption) (*ListTransferJobsResponse, error) { - out := new(ListTransferJobsResponse) - err := c.cc.Invoke(ctx, "/google.storagetransfer.v1.StorageTransferService/ListTransferJobs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *storageTransferServiceClient) PauseTransferOperation(ctx context.Context, in *PauseTransferOperationRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.storagetransfer.v1.StorageTransferService/PauseTransferOperation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *storageTransferServiceClient) ResumeTransferOperation(ctx context.Context, in *ResumeTransferOperationRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.storagetransfer.v1.StorageTransferService/ResumeTransferOperation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// StorageTransferServiceServer is the server API for StorageTransferService service. -type StorageTransferServiceServer interface { - // Returns the Google service account that is used by Storage Transfer - // Service to access buckets in the project where transfers - // run or in other projects. Each Google service account is associated - // with one Google Cloud Platform Console project. Users - // should add this service account to the Google Cloud Storage bucket - // ACLs to grant access to Storage Transfer Service. This service - // account is created and owned by Storage Transfer Service and can - // only be used by Storage Transfer Service. - GetGoogleServiceAccount(context.Context, *GetGoogleServiceAccountRequest) (*GoogleServiceAccount, error) - // Creates a transfer job that runs periodically. - CreateTransferJob(context.Context, *CreateTransferJobRequest) (*TransferJob, error) - // Updates a transfer job. Updating a job's transfer spec does not affect - // transfer operations that are running already. Updating the scheduling - // of a job is not allowed. - UpdateTransferJob(context.Context, *UpdateTransferJobRequest) (*TransferJob, error) - // Gets a transfer job. - GetTransferJob(context.Context, *GetTransferJobRequest) (*TransferJob, error) - // Lists transfer jobs. - ListTransferJobs(context.Context, *ListTransferJobsRequest) (*ListTransferJobsResponse, error) - // Pauses a transfer operation. - PauseTransferOperation(context.Context, *PauseTransferOperationRequest) (*empty.Empty, error) - // Resumes a transfer operation that is paused. - ResumeTransferOperation(context.Context, *ResumeTransferOperationRequest) (*empty.Empty, error) -} - -// UnimplementedStorageTransferServiceServer can be embedded to have forward compatible implementations. -type UnimplementedStorageTransferServiceServer struct { -} - -func (*UnimplementedStorageTransferServiceServer) GetGoogleServiceAccount(ctx context.Context, req *GetGoogleServiceAccountRequest) (*GoogleServiceAccount, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetGoogleServiceAccount not implemented") -} -func (*UnimplementedStorageTransferServiceServer) CreateTransferJob(ctx context.Context, req *CreateTransferJobRequest) (*TransferJob, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateTransferJob not implemented") -} -func (*UnimplementedStorageTransferServiceServer) UpdateTransferJob(ctx context.Context, req *UpdateTransferJobRequest) (*TransferJob, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateTransferJob not implemented") -} -func (*UnimplementedStorageTransferServiceServer) GetTransferJob(ctx context.Context, req *GetTransferJobRequest) (*TransferJob, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransferJob not implemented") -} -func (*UnimplementedStorageTransferServiceServer) ListTransferJobs(ctx context.Context, req *ListTransferJobsRequest) (*ListTransferJobsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListTransferJobs not implemented") -} -func (*UnimplementedStorageTransferServiceServer) PauseTransferOperation(ctx context.Context, req *PauseTransferOperationRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method PauseTransferOperation not implemented") -} -func (*UnimplementedStorageTransferServiceServer) ResumeTransferOperation(ctx context.Context, req *ResumeTransferOperationRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method ResumeTransferOperation not implemented") -} - -func RegisterStorageTransferServiceServer(s *grpc.Server, srv StorageTransferServiceServer) { - s.RegisterService(&_StorageTransferService_serviceDesc, srv) -} - -func _StorageTransferService_GetGoogleServiceAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetGoogleServiceAccountRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(StorageTransferServiceServer).GetGoogleServiceAccount(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.storagetransfer.v1.StorageTransferService/GetGoogleServiceAccount", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(StorageTransferServiceServer).GetGoogleServiceAccount(ctx, req.(*GetGoogleServiceAccountRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _StorageTransferService_CreateTransferJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateTransferJobRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(StorageTransferServiceServer).CreateTransferJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.storagetransfer.v1.StorageTransferService/CreateTransferJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(StorageTransferServiceServer).CreateTransferJob(ctx, req.(*CreateTransferJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _StorageTransferService_UpdateTransferJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateTransferJobRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(StorageTransferServiceServer).UpdateTransferJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.storagetransfer.v1.StorageTransferService/UpdateTransferJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(StorageTransferServiceServer).UpdateTransferJob(ctx, req.(*UpdateTransferJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _StorageTransferService_GetTransferJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTransferJobRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(StorageTransferServiceServer).GetTransferJob(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.storagetransfer.v1.StorageTransferService/GetTransferJob", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(StorageTransferServiceServer).GetTransferJob(ctx, req.(*GetTransferJobRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _StorageTransferService_ListTransferJobs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListTransferJobsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(StorageTransferServiceServer).ListTransferJobs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.storagetransfer.v1.StorageTransferService/ListTransferJobs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(StorageTransferServiceServer).ListTransferJobs(ctx, req.(*ListTransferJobsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _StorageTransferService_PauseTransferOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PauseTransferOperationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(StorageTransferServiceServer).PauseTransferOperation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.storagetransfer.v1.StorageTransferService/PauseTransferOperation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(StorageTransferServiceServer).PauseTransferOperation(ctx, req.(*PauseTransferOperationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _StorageTransferService_ResumeTransferOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ResumeTransferOperationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(StorageTransferServiceServer).ResumeTransferOperation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.storagetransfer.v1.StorageTransferService/ResumeTransferOperation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(StorageTransferServiceServer).ResumeTransferOperation(ctx, req.(*ResumeTransferOperationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _StorageTransferService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.storagetransfer.v1.StorageTransferService", - HandlerType: (*StorageTransferServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetGoogleServiceAccount", - Handler: _StorageTransferService_GetGoogleServiceAccount_Handler, - }, - { - MethodName: "CreateTransferJob", - Handler: _StorageTransferService_CreateTransferJob_Handler, - }, - { - MethodName: "UpdateTransferJob", - Handler: _StorageTransferService_UpdateTransferJob_Handler, - }, - { - MethodName: "GetTransferJob", - Handler: _StorageTransferService_GetTransferJob_Handler, - }, - { - MethodName: "ListTransferJobs", - Handler: _StorageTransferService_ListTransferJobs_Handler, - }, - { - MethodName: "PauseTransferOperation", - Handler: _StorageTransferService_PauseTransferOperation_Handler, - }, - { - MethodName: "ResumeTransferOperation", - Handler: _StorageTransferService_ResumeTransferOperation_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/storagetransfer/v1/transfer.proto", -} 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 deleted file mode 100644 index 82ef179d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/storagetransfer/v1/transfer_types.pb.go +++ /dev/null @@ -1,1460 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/storagetransfer/v1/transfer_types.proto - -package storagetransfer - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - code "google.golang.org/genproto/googleapis/rpc/code" - date "google.golang.org/genproto/googleapis/type/date" - timeofday "google.golang.org/genproto/googleapis/type/timeofday" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// The status of the transfer job. -type TransferJob_Status int32 - -const ( - // Zero is an illegal value. - TransferJob_STATUS_UNSPECIFIED TransferJob_Status = 0 - // New transfers will be performed based on the schedule. - TransferJob_ENABLED TransferJob_Status = 1 - // New transfers will not be scheduled. - TransferJob_DISABLED TransferJob_Status = 2 - // This is a soft delete state. After a transfer job is set to this - // state, the job and all the transfer executions are subject to - // garbage collection. - TransferJob_DELETED TransferJob_Status = 3 -) - -var TransferJob_Status_name = map[int32]string{ - 0: "STATUS_UNSPECIFIED", - 1: "ENABLED", - 2: "DISABLED", - 3: "DELETED", -} - -var TransferJob_Status_value = map[string]int32{ - "STATUS_UNSPECIFIED": 0, - "ENABLED": 1, - "DISABLED": 2, - "DELETED": 3, -} - -func (x TransferJob_Status) String() string { - return proto.EnumName(TransferJob_Status_name, int32(x)) -} - -func (TransferJob_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_291a6d3205b12034, []int{9, 0} -} - -// The status of a TransferOperation. -type TransferOperation_Status int32 - -const ( - // Zero is an illegal value. - TransferOperation_STATUS_UNSPECIFIED TransferOperation_Status = 0 - // In progress. - TransferOperation_IN_PROGRESS TransferOperation_Status = 1 - // Paused. - TransferOperation_PAUSED TransferOperation_Status = 2 - // Completed successfully. - TransferOperation_SUCCESS TransferOperation_Status = 3 - // Terminated due to an unrecoverable failure. - TransferOperation_FAILED TransferOperation_Status = 4 - // Aborted by the user. - TransferOperation_ABORTED TransferOperation_Status = 5 -) - -var TransferOperation_Status_name = map[int32]string{ - 0: "STATUS_UNSPECIFIED", - 1: "IN_PROGRESS", - 2: "PAUSED", - 3: "SUCCESS", - 4: "FAILED", - 5: "ABORTED", -} - -var TransferOperation_Status_value = map[string]int32{ - "STATUS_UNSPECIFIED": 0, - "IN_PROGRESS": 1, - "PAUSED": 2, - "SUCCESS": 3, - "FAILED": 4, - "ABORTED": 5, -} - -func (x TransferOperation_Status) String() string { - return proto.EnumName(TransferOperation_Status_name, int32(x)) -} - -func (TransferOperation_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_291a6d3205b12034, []int{13, 0} -} - -// Google service account -type GoogleServiceAccount struct { - // Required. - AccountEmail string `protobuf:"bytes,1,opt,name=account_email,json=accountEmail,proto3" json:"account_email,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_291a6d3205b12034, []int{0} -} - -func (m *GoogleServiceAccount) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GoogleServiceAccount.Unmarshal(m, b) -} -func (m *GoogleServiceAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GoogleServiceAccount.Marshal(b, m, deterministic) -} -func (m *GoogleServiceAccount) XXX_Merge(src proto.Message) { - xxx_messageInfo_GoogleServiceAccount.Merge(m, src) -} -func (m *GoogleServiceAccount) XXX_Size() int { - return xxx_messageInfo_GoogleServiceAccount.Size(m) -} -func (m *GoogleServiceAccount) XXX_DiscardUnknown() { - xxx_messageInfo_GoogleServiceAccount.DiscardUnknown(m) -} - -var xxx_messageInfo_GoogleServiceAccount proto.InternalMessageInfo - -func (m *GoogleServiceAccount) GetAccountEmail() string { - if m != nil { - return m.AccountEmail - } - return "" -} - -// AWS access key (see -// [AWS Security -// Credentials](http://docs.aws.amazon.com/general/latest/gr/aws-security-credentials.html)). -type AwsAccessKey struct { - // AWS access key ID. - // Required. - AccessKeyId string `protobuf:"bytes,1,opt,name=access_key_id,json=accessKeyId,proto3" json:"access_key_id,omitempty"` - // AWS secret access key. This field is not returned in RPC responses. - // Required. - SecretAccessKey string `protobuf:"bytes,2,opt,name=secret_access_key,json=secretAccessKey,proto3" json:"secret_access_key,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_291a6d3205b12034, []int{1} -} - -func (m *AwsAccessKey) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AwsAccessKey.Unmarshal(m, b) -} -func (m *AwsAccessKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AwsAccessKey.Marshal(b, m, deterministic) -} -func (m *AwsAccessKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_AwsAccessKey.Merge(m, src) -} -func (m *AwsAccessKey) XXX_Size() int { - return xxx_messageInfo_AwsAccessKey.Size(m) -} -func (m *AwsAccessKey) XXX_DiscardUnknown() { - xxx_messageInfo_AwsAccessKey.DiscardUnknown(m) -} - -var xxx_messageInfo_AwsAccessKey proto.InternalMessageInfo - -func (m *AwsAccessKey) GetAccessKeyId() string { - if m != nil { - return m.AccessKeyId - } - return "" -} - -func (m *AwsAccessKey) GetSecretAccessKey() string { - if m != nil { - return m.SecretAccessKey - } - return "" -} - -// Conditions that determine which objects will be transferred. -type ObjectConditions struct { - // If unspecified, `minTimeElapsedSinceLastModification` takes a zero value - // and `maxTimeElapsedSinceLastModification` takes the maximum possible - // value of Duration. Objects that satisfy the object conditions - // must either have a `lastModificationTime` greater or equal to - // `NOW` - `maxTimeElapsedSinceLastModification` and less than - // `NOW` - `minTimeElapsedSinceLastModification`, or not have a - // `lastModificationTime`. - MinTimeElapsedSinceLastModification *duration.Duration `protobuf:"bytes,1,opt,name=min_time_elapsed_since_last_modification,json=minTimeElapsedSinceLastModification,proto3" json:"min_time_elapsed_since_last_modification,omitempty"` - // `maxTimeElapsedSinceLastModification` is the complement to - // `minTimeElapsedSinceLastModification`. - MaxTimeElapsedSinceLastModification *duration.Duration `protobuf:"bytes,2,opt,name=max_time_elapsed_since_last_modification,json=maxTimeElapsedSinceLastModification,proto3" json:"max_time_elapsed_since_last_modification,omitempty"` - // If `includePrefixes` is specified, objects that satisfy the object - // conditions must have names that start with one of the `includePrefixes` - // and that do not start with any of the `excludePrefixes`. If - // `includePrefixes` is not specified, all objects except those that have - // names starting with one of the `excludePrefixes` must satisfy the object - // conditions. - // - // Requirements: - // - // * Each include-prefix and exclude-prefix can contain any sequence of - // Unicode characters, of max length 1024 bytes when UTF8-encoded, and - // must not contain Carriage Return or Line Feed characters. Wildcard - // matching and regular expression matching are not supported. - // - // * Each include-prefix and exclude-prefix must omit the leading slash. - // For example, to include the `requests.gz` object in a transfer from - // `s3://my-aws-bucket/logs/y=2015/requests.gz`, specify the include - // prefix as `logs/y=2015/requests.gz`. - // - // * None of the include-prefix or the exclude-prefix values can be empty, - // if specified. - // - // * Each include-prefix must include a distinct portion of the object - // namespace, i.e., no include-prefix may be a prefix of another - // include-prefix. - // - // * Each exclude-prefix must exclude a distinct portion of the object - // namespace, i.e., no exclude-prefix may be a prefix of another - // exclude-prefix. - // - // * If `includePrefixes` is specified, then each exclude-prefix must start - // with the value of a path explicitly included by `includePrefixes`. - // - // The max size of `includePrefixes` is 1000. - IncludePrefixes []string `protobuf:"bytes,3,rep,name=include_prefixes,json=includePrefixes,proto3" json:"include_prefixes,omitempty"` - // `excludePrefixes` must follow the requirements described for - // `includePrefixes`. - // - // The max size of `excludePrefixes` is 1000. - ExcludePrefixes []string `protobuf:"bytes,4,rep,name=exclude_prefixes,json=excludePrefixes,proto3" json:"exclude_prefixes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_291a6d3205b12034, []int{2} -} - -func (m *ObjectConditions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ObjectConditions.Unmarshal(m, b) -} -func (m *ObjectConditions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ObjectConditions.Marshal(b, m, deterministic) -} -func (m *ObjectConditions) XXX_Merge(src proto.Message) { - xxx_messageInfo_ObjectConditions.Merge(m, src) -} -func (m *ObjectConditions) XXX_Size() int { - return xxx_messageInfo_ObjectConditions.Size(m) -} -func (m *ObjectConditions) XXX_DiscardUnknown() { - xxx_messageInfo_ObjectConditions.DiscardUnknown(m) -} - -var xxx_messageInfo_ObjectConditions proto.InternalMessageInfo - -func (m *ObjectConditions) GetMinTimeElapsedSinceLastModification() *duration.Duration { - if m != nil { - return m.MinTimeElapsedSinceLastModification - } - return nil -} - -func (m *ObjectConditions) GetMaxTimeElapsedSinceLastModification() *duration.Duration { - if m != nil { - return m.MaxTimeElapsedSinceLastModification - } - return nil -} - -func (m *ObjectConditions) GetIncludePrefixes() []string { - if m != nil { - return m.IncludePrefixes - } - return nil -} - -func (m *ObjectConditions) GetExcludePrefixes() []string { - if m != nil { - return m.ExcludePrefixes - } - return nil -} - -// In a GcsData, an object's name is the Google Cloud Storage object's name and -// its `lastModificationTime` refers to the object's updated time, which changes -// when the content or the metadata of the object is updated. -type GcsData struct { - // Google Cloud Storage bucket name (see - // [Bucket Name - // Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). - // Required. - BucketName string `protobuf:"bytes,1,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_291a6d3205b12034, []int{3} -} - -func (m *GcsData) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GcsData.Unmarshal(m, b) -} -func (m *GcsData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GcsData.Marshal(b, m, deterministic) -} -func (m *GcsData) XXX_Merge(src proto.Message) { - xxx_messageInfo_GcsData.Merge(m, src) -} -func (m *GcsData) XXX_Size() int { - return xxx_messageInfo_GcsData.Size(m) -} -func (m *GcsData) XXX_DiscardUnknown() { - xxx_messageInfo_GcsData.DiscardUnknown(m) -} - -var xxx_messageInfo_GcsData proto.InternalMessageInfo - -func (m *GcsData) GetBucketName() string { - if m != nil { - return m.BucketName - } - return "" -} - -// An AwsS3Data can be a data source, but not a data sink. -// In an AwsS3Data, an object's name is the S3 object's key name. -type AwsS3Data struct { - // S3 Bucket name (see - // [Creating a - // bucket](http://docs.aws.amazon.com/AmazonS3/latest/dev/create-bucket-get-location-example.html)). - // Required. - BucketName string `protobuf:"bytes,1,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` - // AWS access key used to sign the API requests to the AWS S3 bucket. - // Permissions on the bucket must be granted to the access ID of the - // AWS access key. - // Required. - AwsAccessKey *AwsAccessKey `protobuf:"bytes,2,opt,name=aws_access_key,json=awsAccessKey,proto3" json:"aws_access_key,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_291a6d3205b12034, []int{4} -} - -func (m *AwsS3Data) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AwsS3Data.Unmarshal(m, b) -} -func (m *AwsS3Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AwsS3Data.Marshal(b, m, deterministic) -} -func (m *AwsS3Data) XXX_Merge(src proto.Message) { - xxx_messageInfo_AwsS3Data.Merge(m, src) -} -func (m *AwsS3Data) XXX_Size() int { - return xxx_messageInfo_AwsS3Data.Size(m) -} -func (m *AwsS3Data) XXX_DiscardUnknown() { - xxx_messageInfo_AwsS3Data.DiscardUnknown(m) -} - -var xxx_messageInfo_AwsS3Data proto.InternalMessageInfo - -func (m *AwsS3Data) GetBucketName() string { - if m != nil { - return m.BucketName - } - return "" -} - -func (m *AwsS3Data) GetAwsAccessKey() *AwsAccessKey { - if m != nil { - return m.AwsAccessKey - } - return nil -} - -// An HttpData specifies a list of objects on the web to be transferred over -// HTTP. The information of the objects to be transferred is contained in a -// file referenced by a URL. The first line in the file must be -// "TsvHttpData-1.0", which specifies the format of the file. Subsequent lines -// specify the information of the list of objects, one object per list entry. -// Each entry has the following tab-delimited fields: -// -// * HTTP URL - The location of the object. -// -// * Length - The size of the object in bytes. -// -// * MD5 - The base64-encoded MD5 hash of the object. -// -// For an example of a valid TSV file, see -// [Transferring data from -// URLs](https://cloud.google.com/storage/transfer/create-url-list). -// -// When transferring data based on a URL list, keep the following in mind: -// -// * When an object located at `http(s)://hostname:port/` is -// transferred to a data sink, the name of the object at the data sink is -// `/`. -// -// * If the specified size of an object does not match the actual size of the -// object fetched, the object will not be transferred. -// -// * If the specified MD5 does not match the MD5 computed from the transferred -// bytes, the object transfer will fail. For more information, see -// [Generating MD5 hashes](https://cloud.google.com/storage/transfer/#md5) -// -// * Ensure that each URL you specify is publicly accessible. For -// example, in Google Cloud Storage you can -// [share an object publicly] -// (https://cloud.google.com/storage/docs/cloud-console#_sharingdata) and get -// a link to it. -// -// * Storage Transfer Service obeys `robots.txt` rules and requires the source -// HTTP server to support `Range` requests and to return a `Content-Length` -// header in each response. -// -// * [ObjectConditions](#ObjectConditions) have no effect when filtering objects -// to transfer. -type HttpData struct { - // The URL that points to the file that stores the object list entries. - // This file must allow public access. Currently, only URLs with HTTP and - // HTTPS schemes are supported. - // Required. - ListUrl string `protobuf:"bytes,1,opt,name=list_url,json=listUrl,proto3" json:"list_url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_291a6d3205b12034, []int{5} -} - -func (m *HttpData) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HttpData.Unmarshal(m, b) -} -func (m *HttpData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HttpData.Marshal(b, m, deterministic) -} -func (m *HttpData) XXX_Merge(src proto.Message) { - xxx_messageInfo_HttpData.Merge(m, src) -} -func (m *HttpData) XXX_Size() int { - return xxx_messageInfo_HttpData.Size(m) -} -func (m *HttpData) XXX_DiscardUnknown() { - xxx_messageInfo_HttpData.DiscardUnknown(m) -} - -var xxx_messageInfo_HttpData proto.InternalMessageInfo - -func (m *HttpData) GetListUrl() string { - if m != nil { - return m.ListUrl - } - return "" -} - -// TransferOptions uses three boolean parameters to define the actions -// to be performed on objects in a transfer. -type TransferOptions struct { - // Whether overwriting objects that already exist in the sink is allowed. - OverwriteObjectsAlreadyExistingInSink bool `protobuf:"varint,1,opt,name=overwrite_objects_already_existing_in_sink,json=overwriteObjectsAlreadyExistingInSink,proto3" json:"overwrite_objects_already_existing_in_sink,omitempty"` - // Whether objects that exist only in the sink should be deleted. Note that - // this option and `deleteObjectsFromSourceAfterTransfer` are mutually - // exclusive. - DeleteObjectsUniqueInSink bool `protobuf:"varint,2,opt,name=delete_objects_unique_in_sink,json=deleteObjectsUniqueInSink,proto3" json:"delete_objects_unique_in_sink,omitempty"` - // Whether objects should be deleted from the source after they are - // transferred to the sink. Note that this option and - // `deleteObjectsUniqueInSink` are mutually exclusive. - DeleteObjectsFromSourceAfterTransfer bool `protobuf:"varint,3,opt,name=delete_objects_from_source_after_transfer,json=deleteObjectsFromSourceAfterTransfer,proto3" json:"delete_objects_from_source_after_transfer,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_291a6d3205b12034, []int{6} -} - -func (m *TransferOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransferOptions.Unmarshal(m, b) -} -func (m *TransferOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransferOptions.Marshal(b, m, deterministic) -} -func (m *TransferOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransferOptions.Merge(m, src) -} -func (m *TransferOptions) XXX_Size() int { - return xxx_messageInfo_TransferOptions.Size(m) -} -func (m *TransferOptions) XXX_DiscardUnknown() { - xxx_messageInfo_TransferOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_TransferOptions proto.InternalMessageInfo - -func (m *TransferOptions) GetOverwriteObjectsAlreadyExistingInSink() bool { - if m != nil { - return m.OverwriteObjectsAlreadyExistingInSink - } - return false -} - -func (m *TransferOptions) GetDeleteObjectsUniqueInSink() bool { - if m != nil { - return m.DeleteObjectsUniqueInSink - } - return false -} - -func (m *TransferOptions) GetDeleteObjectsFromSourceAfterTransfer() bool { - if m != nil { - return m.DeleteObjectsFromSourceAfterTransfer - } - return false -} - -// Configuration for running a transfer. -type TransferSpec struct { - // The read source of the data. - // - // Types that are valid to be assigned to DataSource: - // *TransferSpec_GcsDataSource - // *TransferSpec_AwsS3DataSource - // *TransferSpec_HttpDataSource - DataSource isTransferSpec_DataSource `protobuf_oneof:"data_source"` - // The write sink for the data. - // - // Types that are valid to be assigned to DataSink: - // *TransferSpec_GcsDataSink - DataSink isTransferSpec_DataSink `protobuf_oneof:"data_sink"` - // Only objects that satisfy these object conditions are included in the set - // of data source and data sink objects. Object conditions based on - // objects' `lastModificationTime` do not exclude objects in a data sink. - ObjectConditions *ObjectConditions `protobuf:"bytes,5,opt,name=object_conditions,json=objectConditions,proto3" json:"object_conditions,omitempty"` - // If the option `deleteObjectsUniqueInSink` is `true`, object conditions - // based on objects' `lastModificationTime` are ignored and do not exclude - // objects in a data source or a data sink. - TransferOptions *TransferOptions `protobuf:"bytes,6,opt,name=transfer_options,json=transferOptions,proto3" json:"transfer_options,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_291a6d3205b12034, []int{7} -} - -func (m *TransferSpec) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransferSpec.Unmarshal(m, b) -} -func (m *TransferSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransferSpec.Marshal(b, m, deterministic) -} -func (m *TransferSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransferSpec.Merge(m, src) -} -func (m *TransferSpec) XXX_Size() int { - return xxx_messageInfo_TransferSpec.Size(m) -} -func (m *TransferSpec) XXX_DiscardUnknown() { - xxx_messageInfo_TransferSpec.DiscardUnknown(m) -} - -var xxx_messageInfo_TransferSpec proto.InternalMessageInfo - -type isTransferSpec_DataSource interface { - isTransferSpec_DataSource() -} - -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"` -} - -func (*TransferSpec_GcsDataSource) isTransferSpec_DataSource() {} - -func (*TransferSpec_AwsS3DataSource) isTransferSpec_DataSource() {} - -func (*TransferSpec_HttpDataSource) isTransferSpec_DataSource() {} - -func (m *TransferSpec) GetDataSource() isTransferSpec_DataSource { - if m != nil { - return m.DataSource - } - return nil -} - -func (m *TransferSpec) GetGcsDataSource() *GcsData { - if x, ok := m.GetDataSource().(*TransferSpec_GcsDataSource); ok { - return x.GcsDataSource - } - return nil -} - -func (m *TransferSpec) GetAwsS3DataSource() *AwsS3Data { - if x, ok := m.GetDataSource().(*TransferSpec_AwsS3DataSource); ok { - return x.AwsS3DataSource - } - return nil -} - -func (m *TransferSpec) GetHttpDataSource() *HttpData { - if x, ok := m.GetDataSource().(*TransferSpec_HttpDataSource); ok { - return x.HttpDataSource - } - 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 - } - return nil -} - -func (m *TransferSpec) GetObjectConditions() *ObjectConditions { - if m != nil { - return m.ObjectConditions - } - return nil -} - -func (m *TransferSpec) GetTransferOptions() *TransferOptions { - if m != nil { - return m.TransferOptions - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*TransferSpec) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*TransferSpec_GcsDataSource)(nil), - (*TransferSpec_AwsS3DataSource)(nil), - (*TransferSpec_HttpDataSource)(nil), - (*TransferSpec_GcsDataSink)(nil), - } -} - -// Transfers can be scheduled to recur or to run just once. -type Schedule struct { - // The first day the recurring transfer is scheduled to run. If - // `scheduleStartDate` is in the past, the transfer will run for the first - // time on the following day. - // Required. - ScheduleStartDate *date.Date `protobuf:"bytes,1,opt,name=schedule_start_date,json=scheduleStartDate,proto3" json:"schedule_start_date,omitempty"` - // The last day the recurring transfer will be run. If `scheduleEndDate` - // is the same as `scheduleStartDate`, the transfer will be executed only - // once. - ScheduleEndDate *date.Date `protobuf:"bytes,2,opt,name=schedule_end_date,json=scheduleEndDate,proto3" json:"schedule_end_date,omitempty"` - // The time in UTC at which the transfer will be scheduled to start in a day. - // Transfers may start later than this time. If not specified, recurring and - // one-time transfers that are scheduled to run today will run immediately; - // recurring transfers that are scheduled to run on a future date will start - // at approximately midnight UTC on that date. Note that when configuring a - // transfer with the Cloud Platform Console, the transfer's start time in a - // day is specified in your local timezone. - StartTimeOfDay *timeofday.TimeOfDay `protobuf:"bytes,3,opt,name=start_time_of_day,json=startTimeOfDay,proto3" json:"start_time_of_day,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_291a6d3205b12034, []int{8} -} - -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 (m *Schedule) XXX_Merge(src proto.Message) { - xxx_messageInfo_Schedule.Merge(m, src) -} -func (m *Schedule) XXX_Size() int { - return xxx_messageInfo_Schedule.Size(m) -} -func (m *Schedule) XXX_DiscardUnknown() { - xxx_messageInfo_Schedule.DiscardUnknown(m) -} - -var xxx_messageInfo_Schedule proto.InternalMessageInfo - -func (m *Schedule) GetScheduleStartDate() *date.Date { - if m != nil { - return m.ScheduleStartDate - } - return nil -} - -func (m *Schedule) GetScheduleEndDate() *date.Date { - if m != nil { - return m.ScheduleEndDate - } - return nil -} - -func (m *Schedule) GetStartTimeOfDay() *timeofday.TimeOfDay { - if m != nil { - return m.StartTimeOfDay - } - return nil -} - -// This resource represents the configuration of a transfer job that runs -// periodically. -type TransferJob struct { - // A globally unique name assigned by Storage Transfer Service when the - // job is created. This field should be left empty in requests to create a new - // transfer job; otherwise, the requests result in an `INVALID_ARGUMENT` - // error. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // A description provided by the user for the job. Its max length is 1024 - // bytes when Unicode-encoded. - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - // The ID of the Google Cloud Platform Console project that owns the job. - ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Transfer specification. - TransferSpec *TransferSpec `protobuf:"bytes,4,opt,name=transfer_spec,json=transferSpec,proto3" json:"transfer_spec,omitempty"` - // Schedule specification. - Schedule *Schedule `protobuf:"bytes,5,opt,name=schedule,proto3" json:"schedule,omitempty"` - // Status of the job. This value MUST be specified for - // `CreateTransferJobRequests`. - // - // NOTE: The effect of the new job status takes place during a subsequent job - // run. For example, if you change the job status from `ENABLED` to - // `DISABLED`, and an operation spawned by the transfer is running, the status - // change would not affect the current operation. - Status TransferJob_Status `protobuf:"varint,6,opt,name=status,proto3,enum=google.storagetransfer.v1.TransferJob_Status" json:"status,omitempty"` - // This field cannot be changed by user requests. - CreationTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"` - // This field cannot be changed by user requests. - LastModificationTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=last_modification_time,json=lastModificationTime,proto3" json:"last_modification_time,omitempty"` - // This field cannot be changed by user requests. - DeletionTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=deletion_time,json=deletionTime,proto3" json:"deletion_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_291a6d3205b12034, []int{9} -} - -func (m *TransferJob) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransferJob.Unmarshal(m, b) -} -func (m *TransferJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransferJob.Marshal(b, m, deterministic) -} -func (m *TransferJob) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransferJob.Merge(m, src) -} -func (m *TransferJob) XXX_Size() int { - return xxx_messageInfo_TransferJob.Size(m) -} -func (m *TransferJob) XXX_DiscardUnknown() { - xxx_messageInfo_TransferJob.DiscardUnknown(m) -} - -var xxx_messageInfo_TransferJob proto.InternalMessageInfo - -func (m *TransferJob) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *TransferJob) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *TransferJob) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *TransferJob) GetTransferSpec() *TransferSpec { - if m != nil { - return m.TransferSpec - } - return nil -} - -func (m *TransferJob) GetSchedule() *Schedule { - if m != nil { - return m.Schedule - } - return nil -} - -func (m *TransferJob) GetStatus() TransferJob_Status { - if m != nil { - return m.Status - } - return TransferJob_STATUS_UNSPECIFIED -} - -func (m *TransferJob) GetCreationTime() *timestamp.Timestamp { - if m != nil { - return m.CreationTime - } - return nil -} - -func (m *TransferJob) GetLastModificationTime() *timestamp.Timestamp { - if m != nil { - return m.LastModificationTime - } - return nil -} - -func (m *TransferJob) GetDeletionTime() *timestamp.Timestamp { - if m != nil { - return m.DeletionTime - } - return nil -} - -// An entry describing an error that has occurred. -type ErrorLogEntry struct { - // A URL that refers to the target (a data source, a data sink, - // or an object) with which the error is associated. - // Required. - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - // A list of messages that carry the error details. - ErrorDetails []string `protobuf:"bytes,3,rep,name=error_details,json=errorDetails,proto3" json:"error_details,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_291a6d3205b12034, []int{10} -} - -func (m *ErrorLogEntry) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ErrorLogEntry.Unmarshal(m, b) -} -func (m *ErrorLogEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ErrorLogEntry.Marshal(b, m, deterministic) -} -func (m *ErrorLogEntry) XXX_Merge(src proto.Message) { - xxx_messageInfo_ErrorLogEntry.Merge(m, src) -} -func (m *ErrorLogEntry) XXX_Size() int { - return xxx_messageInfo_ErrorLogEntry.Size(m) -} -func (m *ErrorLogEntry) XXX_DiscardUnknown() { - xxx_messageInfo_ErrorLogEntry.DiscardUnknown(m) -} - -var xxx_messageInfo_ErrorLogEntry proto.InternalMessageInfo - -func (m *ErrorLogEntry) GetUrl() string { - if m != nil { - return m.Url - } - return "" -} - -func (m *ErrorLogEntry) GetErrorDetails() []string { - if m != nil { - return m.ErrorDetails - } - return nil -} - -// A summary of errors by error code, plus a count and sample error log -// entries. -type ErrorSummary struct { - // Required. - ErrorCode code.Code `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3,enum=google.rpc.Code" json:"error_code,omitempty"` - // Count of this type of error. - // Required. - ErrorCount int64 `protobuf:"varint,2,opt,name=error_count,json=errorCount,proto3" json:"error_count,omitempty"` - // Error samples. - ErrorLogEntries []*ErrorLogEntry `protobuf:"bytes,3,rep,name=error_log_entries,json=errorLogEntries,proto3" json:"error_log_entries,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_291a6d3205b12034, []int{11} -} - -func (m *ErrorSummary) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ErrorSummary.Unmarshal(m, b) -} -func (m *ErrorSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ErrorSummary.Marshal(b, m, deterministic) -} -func (m *ErrorSummary) XXX_Merge(src proto.Message) { - xxx_messageInfo_ErrorSummary.Merge(m, src) -} -func (m *ErrorSummary) XXX_Size() int { - return xxx_messageInfo_ErrorSummary.Size(m) -} -func (m *ErrorSummary) XXX_DiscardUnknown() { - xxx_messageInfo_ErrorSummary.DiscardUnknown(m) -} - -var xxx_messageInfo_ErrorSummary proto.InternalMessageInfo - -func (m *ErrorSummary) GetErrorCode() code.Code { - if m != nil { - return m.ErrorCode - } - return code.Code_OK -} - -func (m *ErrorSummary) GetErrorCount() int64 { - if m != nil { - return m.ErrorCount - } - return 0 -} - -func (m *ErrorSummary) GetErrorLogEntries() []*ErrorLogEntry { - if m != nil { - return m.ErrorLogEntries - } - return nil -} - -// A collection of counters that report the progress of a transfer operation. -type TransferCounters struct { - // Objects found in the data source that are scheduled to be transferred, - // excluding any that are filtered based on object conditions or skipped due - // to sync. - ObjectsFoundFromSource int64 `protobuf:"varint,1,opt,name=objects_found_from_source,json=objectsFoundFromSource,proto3" json:"objects_found_from_source,omitempty"` - // Bytes found in the data source that are scheduled to be transferred, - // excluding any that are filtered based on object conditions or skipped due - // to sync. - BytesFoundFromSource int64 `protobuf:"varint,2,opt,name=bytes_found_from_source,json=bytesFoundFromSource,proto3" json:"bytes_found_from_source,omitempty"` - // Objects found only in the data sink that are scheduled to be deleted. - ObjectsFoundOnlyFromSink int64 `protobuf:"varint,3,opt,name=objects_found_only_from_sink,json=objectsFoundOnlyFromSink,proto3" json:"objects_found_only_from_sink,omitempty"` - // Bytes found only in the data sink that are scheduled to be deleted. - BytesFoundOnlyFromSink int64 `protobuf:"varint,4,opt,name=bytes_found_only_from_sink,json=bytesFoundOnlyFromSink,proto3" json:"bytes_found_only_from_sink,omitempty"` - // Objects in the data source that are not transferred because they already - // exist in the data sink. - ObjectsFromSourceSkippedBySync int64 `protobuf:"varint,5,opt,name=objects_from_source_skipped_by_sync,json=objectsFromSourceSkippedBySync,proto3" json:"objects_from_source_skipped_by_sync,omitempty"` - // Bytes in the data source that are not transferred because they already - // exist in the data sink. - BytesFromSourceSkippedBySync int64 `protobuf:"varint,6,opt,name=bytes_from_source_skipped_by_sync,json=bytesFromSourceSkippedBySync,proto3" json:"bytes_from_source_skipped_by_sync,omitempty"` - // Objects that are copied to the data sink. - ObjectsCopiedToSink int64 `protobuf:"varint,7,opt,name=objects_copied_to_sink,json=objectsCopiedToSink,proto3" json:"objects_copied_to_sink,omitempty"` - // Bytes that are copied to the data sink. - BytesCopiedToSink int64 `protobuf:"varint,8,opt,name=bytes_copied_to_sink,json=bytesCopiedToSink,proto3" json:"bytes_copied_to_sink,omitempty"` - // Objects that are deleted from the data source. - ObjectsDeletedFromSource int64 `protobuf:"varint,9,opt,name=objects_deleted_from_source,json=objectsDeletedFromSource,proto3" json:"objects_deleted_from_source,omitempty"` - // Bytes that are deleted from the data source. - BytesDeletedFromSource int64 `protobuf:"varint,10,opt,name=bytes_deleted_from_source,json=bytesDeletedFromSource,proto3" json:"bytes_deleted_from_source,omitempty"` - // Objects that are deleted from the data sink. - ObjectsDeletedFromSink int64 `protobuf:"varint,11,opt,name=objects_deleted_from_sink,json=objectsDeletedFromSink,proto3" json:"objects_deleted_from_sink,omitempty"` - // Bytes that are deleted from the data sink. - BytesDeletedFromSink int64 `protobuf:"varint,12,opt,name=bytes_deleted_from_sink,json=bytesDeletedFromSink,proto3" json:"bytes_deleted_from_sink,omitempty"` - // Objects in the data source that failed during the transfer. - ObjectsFromSourceFailed int64 `protobuf:"varint,13,opt,name=objects_from_source_failed,json=objectsFromSourceFailed,proto3" json:"objects_from_source_failed,omitempty"` - // Bytes in the data source that failed during the transfer. - BytesFromSourceFailed int64 `protobuf:"varint,14,opt,name=bytes_from_source_failed,json=bytesFromSourceFailed,proto3" json:"bytes_from_source_failed,omitempty"` - // Objects that failed to be deleted from the data sink. - ObjectsFailedToDeleteFromSink int64 `protobuf:"varint,15,opt,name=objects_failed_to_delete_from_sink,json=objectsFailedToDeleteFromSink,proto3" json:"objects_failed_to_delete_from_sink,omitempty"` - // Bytes that failed to be deleted from the data sink. - BytesFailedToDeleteFromSink int64 `protobuf:"varint,16,opt,name=bytes_failed_to_delete_from_sink,json=bytesFailedToDeleteFromSink,proto3" json:"bytes_failed_to_delete_from_sink,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_291a6d3205b12034, []int{12} -} - -func (m *TransferCounters) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransferCounters.Unmarshal(m, b) -} -func (m *TransferCounters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransferCounters.Marshal(b, m, deterministic) -} -func (m *TransferCounters) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransferCounters.Merge(m, src) -} -func (m *TransferCounters) XXX_Size() int { - return xxx_messageInfo_TransferCounters.Size(m) -} -func (m *TransferCounters) XXX_DiscardUnknown() { - xxx_messageInfo_TransferCounters.DiscardUnknown(m) -} - -var xxx_messageInfo_TransferCounters proto.InternalMessageInfo - -func (m *TransferCounters) GetObjectsFoundFromSource() int64 { - if m != nil { - return m.ObjectsFoundFromSource - } - return 0 -} - -func (m *TransferCounters) GetBytesFoundFromSource() int64 { - if m != nil { - return m.BytesFoundFromSource - } - return 0 -} - -func (m *TransferCounters) GetObjectsFoundOnlyFromSink() int64 { - if m != nil { - return m.ObjectsFoundOnlyFromSink - } - return 0 -} - -func (m *TransferCounters) GetBytesFoundOnlyFromSink() int64 { - if m != nil { - return m.BytesFoundOnlyFromSink - } - return 0 -} - -func (m *TransferCounters) GetObjectsFromSourceSkippedBySync() int64 { - if m != nil { - return m.ObjectsFromSourceSkippedBySync - } - return 0 -} - -func (m *TransferCounters) GetBytesFromSourceSkippedBySync() int64 { - if m != nil { - return m.BytesFromSourceSkippedBySync - } - return 0 -} - -func (m *TransferCounters) GetObjectsCopiedToSink() int64 { - if m != nil { - return m.ObjectsCopiedToSink - } - return 0 -} - -func (m *TransferCounters) GetBytesCopiedToSink() int64 { - if m != nil { - return m.BytesCopiedToSink - } - return 0 -} - -func (m *TransferCounters) GetObjectsDeletedFromSource() int64 { - if m != nil { - return m.ObjectsDeletedFromSource - } - return 0 -} - -func (m *TransferCounters) GetBytesDeletedFromSource() int64 { - if m != nil { - return m.BytesDeletedFromSource - } - return 0 -} - -func (m *TransferCounters) GetObjectsDeletedFromSink() int64 { - if m != nil { - return m.ObjectsDeletedFromSink - } - return 0 -} - -func (m *TransferCounters) GetBytesDeletedFromSink() int64 { - if m != nil { - return m.BytesDeletedFromSink - } - return 0 -} - -func (m *TransferCounters) GetObjectsFromSourceFailed() int64 { - if m != nil { - return m.ObjectsFromSourceFailed - } - return 0 -} - -func (m *TransferCounters) GetBytesFromSourceFailed() int64 { - if m != nil { - return m.BytesFromSourceFailed - } - return 0 -} - -func (m *TransferCounters) GetObjectsFailedToDeleteFromSink() int64 { - if m != nil { - return m.ObjectsFailedToDeleteFromSink - } - return 0 -} - -func (m *TransferCounters) GetBytesFailedToDeleteFromSink() int64 { - if m != nil { - return m.BytesFailedToDeleteFromSink - } - return 0 -} - -// A description of the execution of a transfer. -type TransferOperation struct { - // A globally unique ID assigned by the system. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The ID of the Google Cloud Platform Console project that owns the - // operation. Required. - ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` - // Transfer specification. - // Required. - TransferSpec *TransferSpec `protobuf:"bytes,3,opt,name=transfer_spec,json=transferSpec,proto3" json:"transfer_spec,omitempty"` - // Start time of this transfer execution. - StartTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // End time of this transfer execution. - EndTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - // Status of the transfer operation. - Status TransferOperation_Status `protobuf:"varint,6,opt,name=status,proto3,enum=google.storagetransfer.v1.TransferOperation_Status" json:"status,omitempty"` - // Information about the progress of the transfer operation. - Counters *TransferCounters `protobuf:"bytes,7,opt,name=counters,proto3" json:"counters,omitempty"` - // Summarizes errors encountered with sample error log entries. - ErrorBreakdowns []*ErrorSummary `protobuf:"bytes,8,rep,name=error_breakdowns,json=errorBreakdowns,proto3" json:"error_breakdowns,omitempty"` - // The name of the transfer job that triggers this transfer operation. - TransferJobName string `protobuf:"bytes,9,opt,name=transfer_job_name,json=transferJobName,proto3" json:"transfer_job_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_291a6d3205b12034, []int{13} -} - -func (m *TransferOperation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransferOperation.Unmarshal(m, b) -} -func (m *TransferOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransferOperation.Marshal(b, m, deterministic) -} -func (m *TransferOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransferOperation.Merge(m, src) -} -func (m *TransferOperation) XXX_Size() int { - return xxx_messageInfo_TransferOperation.Size(m) -} -func (m *TransferOperation) XXX_DiscardUnknown() { - xxx_messageInfo_TransferOperation.DiscardUnknown(m) -} - -var xxx_messageInfo_TransferOperation proto.InternalMessageInfo - -func (m *TransferOperation) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *TransferOperation) GetProjectId() string { - if m != nil { - return m.ProjectId - } - return "" -} - -func (m *TransferOperation) GetTransferSpec() *TransferSpec { - if m != nil { - return m.TransferSpec - } - return nil -} - -func (m *TransferOperation) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime - } - return nil -} - -func (m *TransferOperation) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime - } - return nil -} - -func (m *TransferOperation) GetStatus() TransferOperation_Status { - if m != nil { - return m.Status - } - return TransferOperation_STATUS_UNSPECIFIED -} - -func (m *TransferOperation) GetCounters() *TransferCounters { - if m != nil { - return m.Counters - } - return nil -} - -func (m *TransferOperation) GetErrorBreakdowns() []*ErrorSummary { - if m != nil { - return m.ErrorBreakdowns - } - return nil -} - -func (m *TransferOperation) GetTransferJobName() string { - if m != nil { - return m.TransferJobName - } - return "" -} - -func init() { - proto.RegisterEnum("google.storagetransfer.v1.TransferJob_Status", TransferJob_Status_name, TransferJob_Status_value) - proto.RegisterEnum("google.storagetransfer.v1.TransferOperation_Status", TransferOperation_Status_name, TransferOperation_Status_value) - proto.RegisterType((*GoogleServiceAccount)(nil), "google.storagetransfer.v1.GoogleServiceAccount") - proto.RegisterType((*AwsAccessKey)(nil), "google.storagetransfer.v1.AwsAccessKey") - proto.RegisterType((*ObjectConditions)(nil), "google.storagetransfer.v1.ObjectConditions") - proto.RegisterType((*GcsData)(nil), "google.storagetransfer.v1.GcsData") - proto.RegisterType((*AwsS3Data)(nil), "google.storagetransfer.v1.AwsS3Data") - proto.RegisterType((*HttpData)(nil), "google.storagetransfer.v1.HttpData") - proto.RegisterType((*TransferOptions)(nil), "google.storagetransfer.v1.TransferOptions") - proto.RegisterType((*TransferSpec)(nil), "google.storagetransfer.v1.TransferSpec") - proto.RegisterType((*Schedule)(nil), "google.storagetransfer.v1.Schedule") - proto.RegisterType((*TransferJob)(nil), "google.storagetransfer.v1.TransferJob") - proto.RegisterType((*ErrorLogEntry)(nil), "google.storagetransfer.v1.ErrorLogEntry") - proto.RegisterType((*ErrorSummary)(nil), "google.storagetransfer.v1.ErrorSummary") - proto.RegisterType((*TransferCounters)(nil), "google.storagetransfer.v1.TransferCounters") - proto.RegisterType((*TransferOperation)(nil), "google.storagetransfer.v1.TransferOperation") -} - -func init() { - proto.RegisterFile("google/storagetransfer/v1/transfer_types.proto", fileDescriptor_291a6d3205b12034) -} - -var fileDescriptor_291a6d3205b12034 = []byte{ - // 1767 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 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0x57, 0xeb, 0xfc, 0xe0, - 0x40, 0x38, 0x0a, 0xc2, 0x71, 0xd8, 0xee, 0x89, 0xb9, 0xbb, 0x22, 0x1c, 0xed, 0xfd, 0x53, 0x53, - 0xcc, 0xdd, 0xfb, 0xfb, 0xff, 0xc8, 0xc1, 0x8e, 0x43, 0xc7, 0x4b, 0x36, 0x24, 0x13, 0xb7, 0x5f, - 0x8d, 0x0f, 0xaa, 0x3f, 0x0d, 0x09, 0xfb, 0xfd, 0xb1, 0xc6, 0x8f, 0xa8, 0x8f, 0x83, 0x51, 0x93, - 0x46, 0xa3, 0xd6, 0x88, 0x04, 0x12, 0xda, 0x52, 0x2e, 0x1c, 0x7a, 0x6c, 0xc1, 0x1f, 0x3a, 0xaf, - 0x33, 0xa6, 0xff, 0xe5, 0x72, 0x7f, 0xcb, 0x3f, 0x51, 0xff, 0x83, 0x34, 0x0f, 0x7c, 0x3a, 0x71, - 0x9b, 0x96, 0x42, 0xc4, 0x01, 0x9b, 0x3f, 0xbc, 0xfc, 0x67, 0x8c, 0x78, 0x2f, 0x11, 0xef, 0x33, - 0x88, 0xf7, 0x3f, 0xbc, 0x1c, 0xac, 0xca, 0xd8, 0x7b, 0xff, 0x0f, 0x00, 0x00, 0xff, 0xff, 0x0c, - 0xec, 0x5b, 0x90, 0x4b, 0x12, 0x00, 0x00, -} 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 deleted file mode 100644 index 243e88ac..00000000 --- a/vendor/google.golang.org/genproto/googleapis/streetview/publish/v1/resources.pb.go +++ /dev/null @@ -1,695 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/streetview/publish/v1/resources.proto - -package publish - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - _ "google.golang.org/genproto/googleapis/api/annotations" - latlng "google.golang.org/genproto/googleapis/type/latlng" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Status of rights transfer. -type Photo_TransferStatus int32 - -const ( - // The status of this transfer is unspecified. - Photo_TRANSFER_STATUS_UNKNOWN Photo_TransferStatus = 0 - // This photo has never been in a transfer. - Photo_NEVER_TRANSFERRED Photo_TransferStatus = 1 - // This photo transfer has been initiated, but the receiver has not yet - // responded. - Photo_PENDING Photo_TransferStatus = 2 - // The photo transfer has been completed, and this photo has been - // transferred to the recipient. - Photo_COMPLETED Photo_TransferStatus = 3 - // The recipient rejected this photo transfer. - Photo_REJECTED Photo_TransferStatus = 4 - // The photo transfer expired before the recipient took any action. - Photo_EXPIRED Photo_TransferStatus = 5 - // The sender cancelled this photo transfer. - Photo_CANCELLED Photo_TransferStatus = 6 - // The recipient owns this photo due to a rights transfer. - Photo_RECEIVED_VIA_TRANSFER Photo_TransferStatus = 7 -) - -var Photo_TransferStatus_name = map[int32]string{ - 0: "TRANSFER_STATUS_UNKNOWN", - 1: "NEVER_TRANSFERRED", - 2: "PENDING", - 3: "COMPLETED", - 4: "REJECTED", - 5: "EXPIRED", - 6: "CANCELLED", - 7: "RECEIVED_VIA_TRANSFER", -} - -var Photo_TransferStatus_value = map[string]int32{ - "TRANSFER_STATUS_UNKNOWN": 0, - "NEVER_TRANSFERRED": 1, - "PENDING": 2, - "COMPLETED": 3, - "REJECTED": 4, - "EXPIRED": 5, - "CANCELLED": 6, - "RECEIVED_VIA_TRANSFER": 7, -} - -func (x Photo_TransferStatus) String() string { - return proto.EnumName(Photo_TransferStatus_name, int32(x)) -} - -func (Photo_TransferStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_56f2b10d5439612a, []int{6, 0} -} - -// Publication status of the photo in Google Maps. -type Photo_MapsPublishStatus int32 - -const ( - // The status of the photo is unknown. - Photo_UNSPECIFIED_MAPS_PUBLISH_STATUS Photo_MapsPublishStatus = 0 - // The photo is published to the public through Google Maps. - Photo_PUBLISHED Photo_MapsPublishStatus = 1 - // The photo has been rejected for an unknown reason. - Photo_REJECTED_UNKNOWN Photo_MapsPublishStatus = 2 -) - -var Photo_MapsPublishStatus_name = map[int32]string{ - 0: "UNSPECIFIED_MAPS_PUBLISH_STATUS", - 1: "PUBLISHED", - 2: "REJECTED_UNKNOWN", -} - -var Photo_MapsPublishStatus_value = map[string]int32{ - "UNSPECIFIED_MAPS_PUBLISH_STATUS": 0, - "PUBLISHED": 1, - "REJECTED_UNKNOWN": 2, -} - -func (x Photo_MapsPublishStatus) String() string { - return proto.EnumName(Photo_MapsPublishStatus_name, int32(x)) -} - -func (Photo_MapsPublishStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_56f2b10d5439612a, []int{6, 1} -} - -// Upload reference for media files. -type UploadRef struct { - // Required. An upload reference should be unique for each user. It follows - // the form: - // "https://streetviewpublish.googleapis.com/media/user/{account_id}/photo/{upload_reference}" - UploadUrl string `protobuf:"bytes,1,opt,name=upload_url,json=uploadUrl,proto3" json:"upload_url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_56f2b10d5439612a, []int{0} -} - -func (m *UploadRef) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UploadRef.Unmarshal(m, b) -} -func (m *UploadRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UploadRef.Marshal(b, m, deterministic) -} -func (m *UploadRef) XXX_Merge(src proto.Message) { - xxx_messageInfo_UploadRef.Merge(m, src) -} -func (m *UploadRef) XXX_Size() int { - return xxx_messageInfo_UploadRef.Size(m) -} -func (m *UploadRef) XXX_DiscardUnknown() { - xxx_messageInfo_UploadRef.DiscardUnknown(m) -} - -var xxx_messageInfo_UploadRef proto.InternalMessageInfo - -func (m *UploadRef) GetUploadUrl() string { - if m != nil { - return m.UploadUrl - } - return "" -} - -// Identifier for a [Photo][google.streetview.publish.v1.Photo]. -type PhotoId struct { - // Required. A unique identifier for a photo. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_56f2b10d5439612a, []int{1} -} - -func (m *PhotoId) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PhotoId.Unmarshal(m, b) -} -func (m *PhotoId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PhotoId.Marshal(b, m, deterministic) -} -func (m *PhotoId) XXX_Merge(src proto.Message) { - xxx_messageInfo_PhotoId.Merge(m, src) -} -func (m *PhotoId) XXX_Size() int { - return xxx_messageInfo_PhotoId.Size(m) -} -func (m *PhotoId) XXX_DiscardUnknown() { - xxx_messageInfo_PhotoId.DiscardUnknown(m) -} - -var xxx_messageInfo_PhotoId proto.InternalMessageInfo - -func (m *PhotoId) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -// Level information containing level number and its corresponding name. -type Level struct { - // Floor number, used for ordering. 0 indicates the ground level, 1 indicates - // the first level above ground level, -1 indicates the first level under - // ground level. Non-integer values are OK. - Number float64 `protobuf:"fixed64,1,opt,name=number,proto3" json:"number,omitempty"` - // Required. A name assigned to this Level, restricted to 3 characters. - // Consider how the elevator buttons would be labeled for this level if there - // was an elevator. - 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 *Level) Reset() { *m = Level{} } -func (m *Level) String() string { return proto.CompactTextString(m) } -func (*Level) ProtoMessage() {} -func (*Level) Descriptor() ([]byte, []int) { - return fileDescriptor_56f2b10d5439612a, []int{2} -} - -func (m *Level) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Level.Unmarshal(m, b) -} -func (m *Level) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Level.Marshal(b, m, deterministic) -} -func (m *Level) XXX_Merge(src proto.Message) { - xxx_messageInfo_Level.Merge(m, src) -} -func (m *Level) XXX_Size() int { - return xxx_messageInfo_Level.Size(m) -} -func (m *Level) XXX_DiscardUnknown() { - xxx_messageInfo_Level.DiscardUnknown(m) -} - -var xxx_messageInfo_Level proto.InternalMessageInfo - -func (m *Level) GetNumber() float64 { - if m != nil { - return m.Number - } - return 0 -} - -func (m *Level) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Raw pose measurement for an entity. -type Pose struct { - // Latitude and longitude pair of the pose, as explained here: - // https://cloud.google.com/datastore/docs/reference/rest/Shared.Types/LatLng - // When creating a [Photo][google.streetview.publish.v1.Photo], if the - // latitude and longitude pair are not provided, the geolocation from the - // exif header is used. A latitude and longitude pair not provided in the - // photo or exif header causes the create photo process to fail. - LatLngPair *latlng.LatLng `protobuf:"bytes,1,opt,name=lat_lng_pair,json=latLngPair,proto3" json:"lat_lng_pair,omitempty"` - // Altitude of the pose in meters above WGS84 ellipsoid. - // NaN indicates an unmeasured quantity. - Altitude float64 `protobuf:"fixed64,2,opt,name=altitude,proto3" json:"altitude,omitempty"` - // Compass heading, measured at the center of the photo in degrees clockwise - // from North. Value must be >=0 and <360. - // NaN indicates an unmeasured quantity. - Heading float64 `protobuf:"fixed64,3,opt,name=heading,proto3" json:"heading,omitempty"` - // Pitch, measured at the center of the photo in degrees. Value must be >=-90 - // and <= 90. A value of -90 means looking directly down, and a value of 90 - // means looking directly up. - // NaN indicates an unmeasured quantity. - Pitch float64 `protobuf:"fixed64,4,opt,name=pitch,proto3" json:"pitch,omitempty"` - // Roll, measured in degrees. Value must be >= 0 and <360. A value of 0 - // means level with the horizon. - // NaN indicates an unmeasured quantity. - Roll float64 `protobuf:"fixed64,5,opt,name=roll,proto3" json:"roll,omitempty"` - // Level (the floor in a building) used to configure vertical navigation. - Level *Level `protobuf:"bytes,7,opt,name=level,proto3" json:"level,omitempty"` - // The estimated horizontal accuracy of this pose in meters with 68% - // confidence (one standard deviation). For example, on Android, this value is - // available from this method: - // https://developer.android.com/reference/android/location/Location#getAccuracy(). - // Other platforms have different methods of obtaining similar accuracy - // estimations. - AccuracyMeters float32 `protobuf:"fixed32,9,opt,name=accuracy_meters,json=accuracyMeters,proto3" json:"accuracy_meters,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_56f2b10d5439612a, []int{3} -} - -func (m *Pose) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Pose.Unmarshal(m, b) -} -func (m *Pose) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Pose.Marshal(b, m, deterministic) -} -func (m *Pose) XXX_Merge(src proto.Message) { - xxx_messageInfo_Pose.Merge(m, src) -} -func (m *Pose) XXX_Size() int { - return xxx_messageInfo_Pose.Size(m) -} -func (m *Pose) XXX_DiscardUnknown() { - xxx_messageInfo_Pose.DiscardUnknown(m) -} - -var xxx_messageInfo_Pose proto.InternalMessageInfo - -func (m *Pose) GetLatLngPair() *latlng.LatLng { - if m != nil { - return m.LatLngPair - } - return nil -} - -func (m *Pose) GetAltitude() float64 { - if m != nil { - return m.Altitude - } - return 0 -} - -func (m *Pose) GetHeading() float64 { - if m != nil { - return m.Heading - } - return 0 -} - -func (m *Pose) GetPitch() float64 { - if m != nil { - return m.Pitch - } - return 0 -} - -func (m *Pose) GetRoll() float64 { - if m != nil { - return m.Roll - } - return 0 -} - -func (m *Pose) GetLevel() *Level { - if m != nil { - return m.Level - } - return nil -} - -func (m *Pose) GetAccuracyMeters() float32 { - if m != nil { - return m.AccuracyMeters - } - return 0 -} - -// Place metadata for an entity. -type Place struct { - // Place identifier, as described in - // https://developers.google.com/places/place-id. - PlaceId string `protobuf:"bytes,1,opt,name=place_id,json=placeId,proto3" json:"place_id,omitempty"` - // Output-only. The name of the place, localized to the language_code. - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - // Output-only. The language_code that the name is localized with. This should - // be the language_code specified in the request, but may be a fallback. - 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 *Place) Reset() { *m = Place{} } -func (m *Place) String() string { return proto.CompactTextString(m) } -func (*Place) ProtoMessage() {} -func (*Place) Descriptor() ([]byte, []int) { - return fileDescriptor_56f2b10d5439612a, []int{4} -} - -func (m *Place) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Place.Unmarshal(m, b) -} -func (m *Place) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Place.Marshal(b, m, deterministic) -} -func (m *Place) XXX_Merge(src proto.Message) { - xxx_messageInfo_Place.Merge(m, src) -} -func (m *Place) XXX_Size() int { - return xxx_messageInfo_Place.Size(m) -} -func (m *Place) XXX_DiscardUnknown() { - xxx_messageInfo_Place.DiscardUnknown(m) -} - -var xxx_messageInfo_Place proto.InternalMessageInfo - -func (m *Place) GetPlaceId() string { - if m != nil { - return m.PlaceId - } - return "" -} - -func (m *Place) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Place) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -// A connection is the link from a source photo to a destination photo. -type Connection struct { - // Required. The destination of the connection from the containing photo to - // another photo. - Target *PhotoId `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_56f2b10d5439612a, []int{5} -} - -func (m *Connection) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Connection.Unmarshal(m, b) -} -func (m *Connection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Connection.Marshal(b, m, deterministic) -} -func (m *Connection) XXX_Merge(src proto.Message) { - xxx_messageInfo_Connection.Merge(m, src) -} -func (m *Connection) XXX_Size() int { - return xxx_messageInfo_Connection.Size(m) -} -func (m *Connection) XXX_DiscardUnknown() { - xxx_messageInfo_Connection.DiscardUnknown(m) -} - -var xxx_messageInfo_Connection proto.InternalMessageInfo - -func (m *Connection) GetTarget() *PhotoId { - if m != nil { - return m.Target - } - return nil -} - -// Photo is used to store 360 photos along with photo metadata. -type Photo struct { - // Required when updating a photo. Output only when creating a photo. - // Identifier for the photo, which is unique among all photos in - // Google. - PhotoId *PhotoId `protobuf:"bytes,1,opt,name=photo_id,json=photoId,proto3" json:"photo_id,omitempty"` - // Required when creating a photo. Input only. The resource URL where the - // photo bytes are uploaded to. - UploadReference *UploadRef `protobuf:"bytes,2,opt,name=upload_reference,json=uploadReference,proto3" json:"upload_reference,omitempty"` - // Output only. The download URL for the photo bytes. This field is set only - // when - // [GetPhotoRequest.view][google.streetview.publish.v1.GetPhotoRequest.view] - // is set to - // [PhotoView.INCLUDE_DOWNLOAD_URL][google.streetview.publish.v1.PhotoView.INCLUDE_DOWNLOAD_URL]. - DownloadUrl string `protobuf:"bytes,3,opt,name=download_url,json=downloadUrl,proto3" json:"download_url,omitempty"` - // Output only. The thumbnail URL for showing a preview of the given photo. - ThumbnailUrl string `protobuf:"bytes,9,opt,name=thumbnail_url,json=thumbnailUrl,proto3" json:"thumbnail_url,omitempty"` - // Output only. The share link for the photo. - ShareLink string `protobuf:"bytes,11,opt,name=share_link,json=shareLink,proto3" json:"share_link,omitempty"` - // Pose of the photo. - Pose *Pose `protobuf:"bytes,4,opt,name=pose,proto3" json:"pose,omitempty"` - // Connections to other photos. A connection represents the link from this - // photo to another photo. - Connections []*Connection `protobuf:"bytes,5,rep,name=connections,proto3" json:"connections,omitempty"` - // Absolute time when the photo was captured. - // When the photo has no exif timestamp, this is used to set a timestamp in - // the photo metadata. - CaptureTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=capture_time,json=captureTime,proto3" json:"capture_time,omitempty"` - // Places where this photo belongs. - Places []*Place `protobuf:"bytes,7,rep,name=places,proto3" json:"places,omitempty"` - // Output only. View count of the photo. - ViewCount int64 `protobuf:"varint,10,opt,name=view_count,json=viewCount,proto3" json:"view_count,omitempty"` - // Output only. Status of rights transfer on this photo. - TransferStatus Photo_TransferStatus `protobuf:"varint,12,opt,name=transfer_status,json=transferStatus,proto3,enum=google.streetview.publish.v1.Photo_TransferStatus" json:"transfer_status,omitempty"` - // Output only. Status in Google Maps, whether this photo was published or - // rejected. - MapsPublishStatus Photo_MapsPublishStatus `protobuf:"varint,13,opt,name=maps_publish_status,json=mapsPublishStatus,proto3,enum=google.streetview.publish.v1.Photo_MapsPublishStatus" json:"maps_publish_status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_56f2b10d5439612a, []int{6} -} - -func (m *Photo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Photo.Unmarshal(m, b) -} -func (m *Photo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Photo.Marshal(b, m, deterministic) -} -func (m *Photo) XXX_Merge(src proto.Message) { - xxx_messageInfo_Photo.Merge(m, src) -} -func (m *Photo) XXX_Size() int { - return xxx_messageInfo_Photo.Size(m) -} -func (m *Photo) XXX_DiscardUnknown() { - xxx_messageInfo_Photo.DiscardUnknown(m) -} - -var xxx_messageInfo_Photo proto.InternalMessageInfo - -func (m *Photo) GetPhotoId() *PhotoId { - if m != nil { - return m.PhotoId - } - return nil -} - -func (m *Photo) GetUploadReference() *UploadRef { - if m != nil { - return m.UploadReference - } - return nil -} - -func (m *Photo) GetDownloadUrl() string { - if m != nil { - return m.DownloadUrl - } - return "" -} - -func (m *Photo) GetThumbnailUrl() string { - if m != nil { - return m.ThumbnailUrl - } - return "" -} - -func (m *Photo) GetShareLink() string { - if m != nil { - return m.ShareLink - } - return "" -} - -func (m *Photo) GetPose() *Pose { - if m != nil { - return m.Pose - } - return nil -} - -func (m *Photo) GetConnections() []*Connection { - if m != nil { - return m.Connections - } - return nil -} - -func (m *Photo) GetCaptureTime() *timestamp.Timestamp { - if m != nil { - return m.CaptureTime - } - return nil -} - -func (m *Photo) GetPlaces() []*Place { - if m != nil { - return m.Places - } - return nil -} - -func (m *Photo) GetViewCount() int64 { - if m != nil { - return m.ViewCount - } - return 0 -} - -func (m *Photo) GetTransferStatus() Photo_TransferStatus { - if m != nil { - return m.TransferStatus - } - return Photo_TRANSFER_STATUS_UNKNOWN -} - -func (m *Photo) GetMapsPublishStatus() Photo_MapsPublishStatus { - if m != nil { - return m.MapsPublishStatus - } - return Photo_UNSPECIFIED_MAPS_PUBLISH_STATUS -} - -func init() { - proto.RegisterEnum("google.streetview.publish.v1.Photo_TransferStatus", Photo_TransferStatus_name, Photo_TransferStatus_value) - proto.RegisterEnum("google.streetview.publish.v1.Photo_MapsPublishStatus", Photo_MapsPublishStatus_name, Photo_MapsPublishStatus_value) - proto.RegisterType((*UploadRef)(nil), "google.streetview.publish.v1.UploadRef") - proto.RegisterType((*PhotoId)(nil), "google.streetview.publish.v1.PhotoId") - proto.RegisterType((*Level)(nil), "google.streetview.publish.v1.Level") - proto.RegisterType((*Pose)(nil), "google.streetview.publish.v1.Pose") - proto.RegisterType((*Place)(nil), "google.streetview.publish.v1.Place") - proto.RegisterType((*Connection)(nil), "google.streetview.publish.v1.Connection") - proto.RegisterType((*Photo)(nil), "google.streetview.publish.v1.Photo") -} - -func init() { - proto.RegisterFile("google/streetview/publish/v1/resources.proto", fileDescriptor_56f2b10d5439612a) -} - -var fileDescriptor_56f2b10d5439612a = []byte{ - // 940 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x55, 0x6f, 0x6f, 0xdb, 0xb6, - 0x13, 0xae, 0x9d, 0xd8, 0x8e, 0xcf, 0x4e, 0xe2, 0xb0, 0xed, 0xef, 0xa7, 0x64, 0x2b, 0x9a, 0x29, - 0x18, 0x6a, 0x0c, 0x83, 0x84, 0xba, 0xe8, 0x80, 0xa1, 0x28, 0xb0, 0xc4, 0x56, 0x37, 0xb7, 0x8e, - 0x2b, 0xd0, 0x76, 0x36, 0xac, 0x18, 0x04, 0x5a, 0x62, 0x64, 0xa1, 0x34, 0x29, 0x50, 0x54, 0x82, - 0xbe, 0xdc, 0xeb, 0x7d, 0x8e, 0x7d, 0xbd, 0x7d, 0x86, 0x41, 0x14, 0xe5, 0xae, 0x5b, 0x90, 0xe6, - 0x95, 0xef, 0x9e, 0x7b, 0x1e, 0xde, 0x1f, 0x9e, 0x29, 0xf8, 0x36, 0x16, 0x22, 0x66, 0xd4, 0xcd, - 0x94, 0xa4, 0x54, 0x5d, 0x25, 0xf4, 0xda, 0x4d, 0xf3, 0x25, 0x4b, 0xb2, 0x95, 0x7b, 0xf5, 0xd4, - 0x95, 0x34, 0x13, 0xb9, 0x0c, 0x69, 0xe6, 0xa4, 0x52, 0x28, 0x81, 0xbe, 0x2c, 0xd9, 0xce, 0x47, - 0xb6, 0x63, 0xd8, 0xce, 0xd5, 0xd3, 0x23, 0x13, 0x75, 0x49, 0x9a, 0xb8, 0x84, 0x73, 0xa1, 0x88, - 0x4a, 0x04, 0x37, 0xda, 0xa3, 0xc7, 0x26, 0xaa, 0xbd, 0x65, 0x7e, 0xe9, 0xaa, 0x64, 0x4d, 0x33, - 0x45, 0xd6, 0xa9, 0x21, 0x58, 0x86, 0xa0, 0x3e, 0xa4, 0xd4, 0x65, 0x44, 0x31, 0x1e, 0x97, 0x11, - 0xfb, 0x1b, 0x68, 0x2f, 0x52, 0x26, 0x48, 0x84, 0xe9, 0x25, 0x7a, 0x04, 0x90, 0x6b, 0x27, 0xc8, - 0x25, 0xb3, 0x6a, 0xc7, 0xb5, 0x7e, 0x1b, 0xb7, 0x4b, 0x64, 0x21, 0x99, 0x7d, 0x08, 0x2d, 0x7f, - 0x25, 0x94, 0x18, 0x47, 0x68, 0x0f, 0xea, 0x49, 0x64, 0x18, 0xf5, 0x24, 0xb2, 0x9f, 0x41, 0x63, - 0x42, 0xaf, 0x28, 0x43, 0xff, 0x83, 0x26, 0xcf, 0xd7, 0x4b, 0x2a, 0x75, 0xb0, 0x86, 0x8d, 0x87, - 0x10, 0x6c, 0x73, 0xb2, 0xa6, 0x56, 0x5d, 0x4b, 0xb4, 0x6d, 0xff, 0x5e, 0x87, 0x6d, 0x5f, 0x64, - 0x14, 0x3d, 0x87, 0x2e, 0x23, 0x2a, 0x60, 0x3c, 0x0e, 0x52, 0x92, 0x94, 0xd2, 0xce, 0xe0, 0xbe, - 0x63, 0x46, 0x52, 0x54, 0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, 0x83, 0xff, 0xf4, 0x83, 0x4e, 0xe0, 0xf1, 0x62, 0x3a, 0xf3, - 0xbd, 0xe1, 0xf8, 0xd5, 0xd8, 0x1b, 0x05, 0xe7, 0xa7, 0xfe, 0x2c, 0xf0, 0x17, 0x67, 0x93, 0xf1, - 0xec, 0x27, 0x53, 0x79, 0xef, 0x5e, 0x91, 0xc3, 0x60, 0xba, 0xd2, 0x07, 0xd0, 0xab, 0xaa, 0xd9, - 0xb4, 0x55, 0x3f, 0xfb, 0xa3, 0x06, 0xfd, 0x50, 0xac, 0xab, 0xb1, 0xc6, 0x54, 0x38, 0x79, 0x1c, - 0xde, 0x3c, 0xde, 0xb3, 0xa3, 0x99, 0x86, 0x2f, 0x12, 0x7a, 0x6d, 0xea, 0xc1, 0xd5, 0x07, 0xee, - 0xd7, 0x61, 0x75, 0x82, 0x28, 0x5e, 0x27, 0x47, 0xc8, 0xd8, 0x8d, 0x29, 0xd7, 0x5b, 0xea, 0x96, - 0x21, 0x92, 0x26, 0xd9, 0xcd, 0xdf, 0xc9, 0x17, 0xc6, 0x5c, 0x36, 0x35, 0xff, 0xd9, 0xdf, 0x01, - 0x00, 0x00, 0xff, 0xff, 0x6d, 0x23, 0x7d, 0x07, 0x56, 0x07, 0x00, 0x00, -} 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 deleted file mode 100644 index d0e4b92d..00000000 --- a/vendor/google.golang.org/genproto/googleapis/streetview/publish/v1/rpcmessages.pb.go +++ /dev/null @@ -1,859 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/streetview/publish/v1/rpcmessages.proto - -package publish - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - status "google.golang.org/genproto/googleapis/rpc/status" - field_mask "google.golang.org/genproto/protobuf/field_mask" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Specifies which view of the [Photo][google.streetview.publish.v1.Photo] -// to include in the response. -type PhotoView int32 - -const ( - // Server reponses do not include the download URL for the photo bytes. - // The default value. - PhotoView_BASIC PhotoView = 0 - // Server responses include the download URL for the photo bytes. - PhotoView_INCLUDE_DOWNLOAD_URL PhotoView = 1 -) - -var PhotoView_name = map[int32]string{ - 0: "BASIC", - 1: "INCLUDE_DOWNLOAD_URL", -} - -var PhotoView_value = map[string]int32{ - "BASIC": 0, - "INCLUDE_DOWNLOAD_URL": 1, -} - -func (x PhotoView) String() string { - return proto.EnumName(PhotoView_name, int32(x)) -} - -func (PhotoView) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e56ff94407a6aca7, []int{0} -} - -// Request to create a [Photo][google.streetview.publish.v1.Photo]. -type CreatePhotoRequest struct { - // Required. Photo to create. - Photo *Photo `protobuf:"bytes,1,opt,name=photo,proto3" json:"photo,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e56ff94407a6aca7, []int{0} -} - -func (m *CreatePhotoRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreatePhotoRequest.Unmarshal(m, b) -} -func (m *CreatePhotoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreatePhotoRequest.Marshal(b, m, deterministic) -} -func (m *CreatePhotoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreatePhotoRequest.Merge(m, src) -} -func (m *CreatePhotoRequest) XXX_Size() int { - return xxx_messageInfo_CreatePhotoRequest.Size(m) -} -func (m *CreatePhotoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreatePhotoRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CreatePhotoRequest proto.InternalMessageInfo - -func (m *CreatePhotoRequest) GetPhoto() *Photo { - if m != nil { - return m.Photo - } - return nil -} - -// Request to get a [Photo][google.streetview.publish.v1.Photo]. -// -// By default -// -// * does not return the download URL for the photo bytes. -// -// Parameters: -// -// * `view` controls if the download URL for the photo bytes is returned. -type GetPhotoRequest struct { - // Required. ID of the [Photo][google.streetview.publish.v1.Photo]. - PhotoId string `protobuf:"bytes,1,opt,name=photo_id,json=photoId,proto3" json:"photo_id,omitempty"` - // Specifies if a download URL for the photo bytes should be returned in the - // [Photo][google.streetview.publish.v1.Photo] response. - View PhotoView `protobuf:"varint,2,opt,name=view,proto3,enum=google.streetview.publish.v1.PhotoView" json:"view,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. - // If language_code is unspecified, the user's language preference for Google - // services is used. - 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 *GetPhotoRequest) Reset() { *m = GetPhotoRequest{} } -func (m *GetPhotoRequest) String() string { return proto.CompactTextString(m) } -func (*GetPhotoRequest) ProtoMessage() {} -func (*GetPhotoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e56ff94407a6aca7, []int{1} -} - -func (m *GetPhotoRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetPhotoRequest.Unmarshal(m, b) -} -func (m *GetPhotoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetPhotoRequest.Marshal(b, m, deterministic) -} -func (m *GetPhotoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetPhotoRequest.Merge(m, src) -} -func (m *GetPhotoRequest) XXX_Size() int { - return xxx_messageInfo_GetPhotoRequest.Size(m) -} -func (m *GetPhotoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetPhotoRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetPhotoRequest proto.InternalMessageInfo - -func (m *GetPhotoRequest) GetPhotoId() string { - if m != nil { - return m.PhotoId - } - return "" -} - -func (m *GetPhotoRequest) GetView() PhotoView { - if m != nil { - return m.View - } - return PhotoView_BASIC -} - -func (m *GetPhotoRequest) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -// Request to get one or more [Photos][google.streetview.publish.v1.Photo]. -// By default -// -// * does not return the download URL for the photo bytes. -// -// Parameters: -// -// * `view` controls if the download URL for the photo bytes is returned. -type BatchGetPhotosRequest struct { - // Required. IDs of the [Photos][google.streetview.publish.v1.Photo]. HTTP GET - // requests require the following syntax for the URL query parameter: - // `photoIds=&photoIds=&...`. - PhotoIds []string `protobuf:"bytes,1,rep,name=photo_ids,json=photoIds,proto3" json:"photo_ids,omitempty"` - // Specifies if a download URL for the photo bytes should be returned in the - // Photo response. - View PhotoView `protobuf:"varint,2,opt,name=view,proto3,enum=google.streetview.publish.v1.PhotoView" json:"view,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. - // If language_code is unspecified, the user's language preference for Google - // services is used. - 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 *BatchGetPhotosRequest) Reset() { *m = BatchGetPhotosRequest{} } -func (m *BatchGetPhotosRequest) String() string { return proto.CompactTextString(m) } -func (*BatchGetPhotosRequest) ProtoMessage() {} -func (*BatchGetPhotosRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e56ff94407a6aca7, []int{2} -} - -func (m *BatchGetPhotosRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchGetPhotosRequest.Unmarshal(m, b) -} -func (m *BatchGetPhotosRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchGetPhotosRequest.Marshal(b, m, deterministic) -} -func (m *BatchGetPhotosRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchGetPhotosRequest.Merge(m, src) -} -func (m *BatchGetPhotosRequest) XXX_Size() int { - return xxx_messageInfo_BatchGetPhotosRequest.Size(m) -} -func (m *BatchGetPhotosRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchGetPhotosRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchGetPhotosRequest proto.InternalMessageInfo - -func (m *BatchGetPhotosRequest) GetPhotoIds() []string { - if m != nil { - return m.PhotoIds - } - return nil -} - -func (m *BatchGetPhotosRequest) GetView() PhotoView { - if m != nil { - return m.View - } - return PhotoView_BASIC -} - -func (m *BatchGetPhotosRequest) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -// Response to batch get of [Photos][google.streetview.publish.v1.Photo]. -type BatchGetPhotosResponse struct { - // List of results for each individual - // [Photo][google.streetview.publish.v1.Photo] requested, in the same order as - // the requests in - // [BatchGetPhotos][google.streetview.publish.v1.StreetViewPublishService.BatchGetPhotos]. - Results []*PhotoResponse `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e56ff94407a6aca7, []int{3} -} - -func (m *BatchGetPhotosResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchGetPhotosResponse.Unmarshal(m, b) -} -func (m *BatchGetPhotosResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchGetPhotosResponse.Marshal(b, m, deterministic) -} -func (m *BatchGetPhotosResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchGetPhotosResponse.Merge(m, src) -} -func (m *BatchGetPhotosResponse) XXX_Size() int { - return xxx_messageInfo_BatchGetPhotosResponse.Size(m) -} -func (m *BatchGetPhotosResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BatchGetPhotosResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchGetPhotosResponse proto.InternalMessageInfo - -func (m *BatchGetPhotosResponse) GetResults() []*PhotoResponse { - if m != nil { - return m.Results - } - return nil -} - -// Response payload for a single -// [Photo][google.streetview.publish.v1.Photo] -// in batch operations including -// [BatchGetPhotos][google.streetview.publish.v1.StreetViewPublishService.BatchGetPhotos] -// and -// [BatchUpdatePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchUpdatePhotos]. -type PhotoResponse struct { - // The status for the operation to get or update a single photo in the batch - // request. - Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` - // The [Photo][google.streetview.publish.v1.Photo] resource, if the request - // was successful. - Photo *Photo `protobuf:"bytes,2,opt,name=photo,proto3" json:"photo,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e56ff94407a6aca7, []int{4} -} - -func (m *PhotoResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PhotoResponse.Unmarshal(m, b) -} -func (m *PhotoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PhotoResponse.Marshal(b, m, deterministic) -} -func (m *PhotoResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PhotoResponse.Merge(m, src) -} -func (m *PhotoResponse) XXX_Size() int { - return xxx_messageInfo_PhotoResponse.Size(m) -} -func (m *PhotoResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PhotoResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_PhotoResponse proto.InternalMessageInfo - -func (m *PhotoResponse) GetStatus() *status.Status { - if m != nil { - return m.Status - } - return nil -} - -func (m *PhotoResponse) GetPhoto() *Photo { - if m != nil { - return m.Photo - } - return nil -} - -// Request to list all photos that belong to the user sending the request. -// -// By default -// -// * does not return the download URL for the photo bytes. -// -// Parameters: -// -// * `view` controls if the download URL for the photo bytes is returned. -// * `pageSize` determines the maximum number of photos to return. -// * `pageToken` is the next page token value returned from a previous -// [ListPhotos][google.streetview.publish.v1.StreetViewPublishService.ListPhotos] -// request, if any. -// * `filter` allows filtering by a given parameter. 'placeId' is the only -// parameter supported at the moment. -type ListPhotosRequest struct { - // Specifies if a download URL for the photos bytes should be returned in the - // Photos response. - View PhotoView `protobuf:"varint,1,opt,name=view,proto3,enum=google.streetview.publish.v1.PhotoView" json:"view,omitempty"` - // The maximum number of photos to return. - // `pageSize` must be non-negative. If `pageSize` is zero or is not provided, - // the default page size of 100 is used. - // The number of photos returned in the response may be less than `pageSize` - // if the number of photos that belong to the user is less than `pageSize`. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // The - // [nextPageToken][google.streetview.publish.v1.ListPhotosResponse.next_page_token] - // value returned from a previous - // [ListPhotos][google.streetview.publish.v1.StreetViewPublishService.ListPhotos] - // request, if any. - PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // The filter expression. For example: `placeId=ChIJj61dQgK6j4AR4GeTYWZsKWw`. - // - // The only filter supported at the moment is `placeId`. - Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,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. - // If language_code is unspecified, the user's language preference for Google - // services is used. - LanguageCode string `protobuf:"bytes,5,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 *ListPhotosRequest) Reset() { *m = ListPhotosRequest{} } -func (m *ListPhotosRequest) String() string { return proto.CompactTextString(m) } -func (*ListPhotosRequest) ProtoMessage() {} -func (*ListPhotosRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e56ff94407a6aca7, []int{5} -} - -func (m *ListPhotosRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListPhotosRequest.Unmarshal(m, b) -} -func (m *ListPhotosRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListPhotosRequest.Marshal(b, m, deterministic) -} -func (m *ListPhotosRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListPhotosRequest.Merge(m, src) -} -func (m *ListPhotosRequest) XXX_Size() int { - return xxx_messageInfo_ListPhotosRequest.Size(m) -} -func (m *ListPhotosRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListPhotosRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListPhotosRequest proto.InternalMessageInfo - -func (m *ListPhotosRequest) GetView() PhotoView { - if m != nil { - return m.View - } - return PhotoView_BASIC -} - -func (m *ListPhotosRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *ListPhotosRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -func (m *ListPhotosRequest) GetFilter() string { - if m != nil { - return m.Filter - } - return "" -} - -func (m *ListPhotosRequest) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -// Response to list all photos that belong to a user. -type ListPhotosResponse struct { - // List of photos. The - // [pageSize][google.streetview.publish.v1.ListPhotosRequest.page_size] field - // in the request determines the number of items returned. - Photos []*Photo `protobuf:"bytes,1,rep,name=photos,proto3" json:"photos,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 *ListPhotosResponse) Reset() { *m = ListPhotosResponse{} } -func (m *ListPhotosResponse) String() string { return proto.CompactTextString(m) } -func (*ListPhotosResponse) ProtoMessage() {} -func (*ListPhotosResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e56ff94407a6aca7, []int{6} -} - -func (m *ListPhotosResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListPhotosResponse.Unmarshal(m, b) -} -func (m *ListPhotosResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListPhotosResponse.Marshal(b, m, deterministic) -} -func (m *ListPhotosResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListPhotosResponse.Merge(m, src) -} -func (m *ListPhotosResponse) XXX_Size() int { - return xxx_messageInfo_ListPhotosResponse.Size(m) -} -func (m *ListPhotosResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListPhotosResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListPhotosResponse proto.InternalMessageInfo - -func (m *ListPhotosResponse) GetPhotos() []*Photo { - if m != nil { - return m.Photos - } - return nil -} - -func (m *ListPhotosResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -// Request to update the metadata of a -// [Photo][google.streetview.publish.v1.Photo]. Updating the pixels of a photo -// is not supported. -type UpdatePhotoRequest struct { - // Required. [Photo][google.streetview.publish.v1.Photo] object containing the - // new metadata. - Photo *Photo `protobuf:"bytes,1,opt,name=photo,proto3" json:"photo,omitempty"` - // Mask that identifies fields on the photo metadata to update. - // If not present, the old [Photo][google.streetview.publish.v1.Photo] - // metadata is entirely replaced with the - // new [Photo][google.streetview.publish.v1.Photo] metadata in this request. - // The update fails if invalid fields are specified. Multiple fields can be - // specified in a comma-delimited list. - // - // The following fields are valid: - // - // * `pose.heading` - // * `pose.latLngPair` - // * `pose.pitch` - // * `pose.roll` - // * `pose.level` - // * `pose.altitude` - // * `connections` - // * `places` - // - // - // - 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 *UpdatePhotoRequest) Reset() { *m = UpdatePhotoRequest{} } -func (m *UpdatePhotoRequest) String() string { return proto.CompactTextString(m) } -func (*UpdatePhotoRequest) ProtoMessage() {} -func (*UpdatePhotoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e56ff94407a6aca7, []int{7} -} - -func (m *UpdatePhotoRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdatePhotoRequest.Unmarshal(m, b) -} -func (m *UpdatePhotoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdatePhotoRequest.Marshal(b, m, deterministic) -} -func (m *UpdatePhotoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdatePhotoRequest.Merge(m, src) -} -func (m *UpdatePhotoRequest) XXX_Size() int { - return xxx_messageInfo_UpdatePhotoRequest.Size(m) -} -func (m *UpdatePhotoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdatePhotoRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdatePhotoRequest proto.InternalMessageInfo - -func (m *UpdatePhotoRequest) GetPhoto() *Photo { - if m != nil { - return m.Photo - } - return nil -} - -func (m *UpdatePhotoRequest) GetUpdateMask() *field_mask.FieldMask { - if m != nil { - return m.UpdateMask - } - return nil -} - -// Request to update the metadata of photos. -// Updating the pixels of photos is not supported. -type BatchUpdatePhotosRequest struct { - // Required. List of - // [UpdatePhotoRequests][google.streetview.publish.v1.UpdatePhotoRequest]. - UpdatePhotoRequests []*UpdatePhotoRequest `protobuf:"bytes,1,rep,name=update_photo_requests,json=updatePhotoRequests,proto3" json:"update_photo_requests,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchUpdatePhotosRequest) Reset() { *m = BatchUpdatePhotosRequest{} } -func (m *BatchUpdatePhotosRequest) String() string { return proto.CompactTextString(m) } -func (*BatchUpdatePhotosRequest) ProtoMessage() {} -func (*BatchUpdatePhotosRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e56ff94407a6aca7, []int{8} -} - -func (m *BatchUpdatePhotosRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchUpdatePhotosRequest.Unmarshal(m, b) -} -func (m *BatchUpdatePhotosRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchUpdatePhotosRequest.Marshal(b, m, deterministic) -} -func (m *BatchUpdatePhotosRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchUpdatePhotosRequest.Merge(m, src) -} -func (m *BatchUpdatePhotosRequest) XXX_Size() int { - return xxx_messageInfo_BatchUpdatePhotosRequest.Size(m) -} -func (m *BatchUpdatePhotosRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchUpdatePhotosRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchUpdatePhotosRequest proto.InternalMessageInfo - -func (m *BatchUpdatePhotosRequest) GetUpdatePhotoRequests() []*UpdatePhotoRequest { - if m != nil { - return m.UpdatePhotoRequests - } - return nil -} - -// Response to batch update of metadata of one or more -// [Photos][google.streetview.publish.v1.Photo]. -type BatchUpdatePhotosResponse struct { - // List of results for each individual - // [Photo][google.streetview.publish.v1.Photo] updated, in the same order as - // the request. - Results []*PhotoResponse `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchUpdatePhotosResponse) Reset() { *m = BatchUpdatePhotosResponse{} } -func (m *BatchUpdatePhotosResponse) String() string { return proto.CompactTextString(m) } -func (*BatchUpdatePhotosResponse) ProtoMessage() {} -func (*BatchUpdatePhotosResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e56ff94407a6aca7, []int{9} -} - -func (m *BatchUpdatePhotosResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchUpdatePhotosResponse.Unmarshal(m, b) -} -func (m *BatchUpdatePhotosResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchUpdatePhotosResponse.Marshal(b, m, deterministic) -} -func (m *BatchUpdatePhotosResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchUpdatePhotosResponse.Merge(m, src) -} -func (m *BatchUpdatePhotosResponse) XXX_Size() int { - return xxx_messageInfo_BatchUpdatePhotosResponse.Size(m) -} -func (m *BatchUpdatePhotosResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BatchUpdatePhotosResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchUpdatePhotosResponse proto.InternalMessageInfo - -func (m *BatchUpdatePhotosResponse) GetResults() []*PhotoResponse { - if m != nil { - return m.Results - } - return nil -} - -// Request to delete a [Photo][google.streetview.publish.v1.Photo]. -type DeletePhotoRequest struct { - // Required. ID of the [Photo][google.streetview.publish.v1.Photo]. - PhotoId string `protobuf:"bytes,1,opt,name=photo_id,json=photoId,proto3" json:"photo_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_e56ff94407a6aca7, []int{10} -} - -func (m *DeletePhotoRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeletePhotoRequest.Unmarshal(m, b) -} -func (m *DeletePhotoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeletePhotoRequest.Marshal(b, m, deterministic) -} -func (m *DeletePhotoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeletePhotoRequest.Merge(m, src) -} -func (m *DeletePhotoRequest) XXX_Size() int { - return xxx_messageInfo_DeletePhotoRequest.Size(m) -} -func (m *DeletePhotoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeletePhotoRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeletePhotoRequest proto.InternalMessageInfo - -func (m *DeletePhotoRequest) GetPhotoId() string { - if m != nil { - return m.PhotoId - } - return "" -} - -// Request to delete multiple [Photos][google.streetview.publish.v1.Photo]. -type BatchDeletePhotosRequest struct { - // Required. IDs of the [Photos][google.streetview.publish.v1.Photo]. HTTP - // GET requests require the following syntax for the URL query parameter: - // `photoIds=&photoIds=&...`. - PhotoIds []string `protobuf:"bytes,1,rep,name=photo_ids,json=photoIds,proto3" json:"photo_ids,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchDeletePhotosRequest) Reset() { *m = BatchDeletePhotosRequest{} } -func (m *BatchDeletePhotosRequest) String() string { return proto.CompactTextString(m) } -func (*BatchDeletePhotosRequest) ProtoMessage() {} -func (*BatchDeletePhotosRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e56ff94407a6aca7, []int{11} -} - -func (m *BatchDeletePhotosRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchDeletePhotosRequest.Unmarshal(m, b) -} -func (m *BatchDeletePhotosRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchDeletePhotosRequest.Marshal(b, m, deterministic) -} -func (m *BatchDeletePhotosRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchDeletePhotosRequest.Merge(m, src) -} -func (m *BatchDeletePhotosRequest) XXX_Size() int { - return xxx_messageInfo_BatchDeletePhotosRequest.Size(m) -} -func (m *BatchDeletePhotosRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchDeletePhotosRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchDeletePhotosRequest proto.InternalMessageInfo - -func (m *BatchDeletePhotosRequest) GetPhotoIds() []string { - if m != nil { - return m.PhotoIds - } - return nil -} - -// Response to batch delete of one or more -// [Photos][google.streetview.publish.v1.Photo]. -type BatchDeletePhotosResponse struct { - // The status for the operation to delete a single - // [Photo][google.streetview.publish.v1.Photo] in the batch request. - Status []*status.Status `protobuf:"bytes,1,rep,name=status,proto3" json:"status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchDeletePhotosResponse) Reset() { *m = BatchDeletePhotosResponse{} } -func (m *BatchDeletePhotosResponse) String() string { return proto.CompactTextString(m) } -func (*BatchDeletePhotosResponse) ProtoMessage() {} -func (*BatchDeletePhotosResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e56ff94407a6aca7, []int{12} -} - -func (m *BatchDeletePhotosResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BatchDeletePhotosResponse.Unmarshal(m, b) -} -func (m *BatchDeletePhotosResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BatchDeletePhotosResponse.Marshal(b, m, deterministic) -} -func (m *BatchDeletePhotosResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchDeletePhotosResponse.Merge(m, src) -} -func (m *BatchDeletePhotosResponse) XXX_Size() int { - return xxx_messageInfo_BatchDeletePhotosResponse.Size(m) -} -func (m *BatchDeletePhotosResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BatchDeletePhotosResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchDeletePhotosResponse proto.InternalMessageInfo - -func (m *BatchDeletePhotosResponse) GetStatus() []*status.Status { - if m != nil { - return m.Status - } - return nil -} - -func init() { - proto.RegisterEnum("google.streetview.publish.v1.PhotoView", PhotoView_name, PhotoView_value) - proto.RegisterType((*CreatePhotoRequest)(nil), "google.streetview.publish.v1.CreatePhotoRequest") - proto.RegisterType((*GetPhotoRequest)(nil), "google.streetview.publish.v1.GetPhotoRequest") - proto.RegisterType((*BatchGetPhotosRequest)(nil), "google.streetview.publish.v1.BatchGetPhotosRequest") - proto.RegisterType((*BatchGetPhotosResponse)(nil), "google.streetview.publish.v1.BatchGetPhotosResponse") - proto.RegisterType((*PhotoResponse)(nil), "google.streetview.publish.v1.PhotoResponse") - proto.RegisterType((*ListPhotosRequest)(nil), "google.streetview.publish.v1.ListPhotosRequest") - proto.RegisterType((*ListPhotosResponse)(nil), "google.streetview.publish.v1.ListPhotosResponse") - proto.RegisterType((*UpdatePhotoRequest)(nil), "google.streetview.publish.v1.UpdatePhotoRequest") - proto.RegisterType((*BatchUpdatePhotosRequest)(nil), "google.streetview.publish.v1.BatchUpdatePhotosRequest") - proto.RegisterType((*BatchUpdatePhotosResponse)(nil), "google.streetview.publish.v1.BatchUpdatePhotosResponse") - proto.RegisterType((*DeletePhotoRequest)(nil), "google.streetview.publish.v1.DeletePhotoRequest") - proto.RegisterType((*BatchDeletePhotosRequest)(nil), "google.streetview.publish.v1.BatchDeletePhotosRequest") - proto.RegisterType((*BatchDeletePhotosResponse)(nil), "google.streetview.publish.v1.BatchDeletePhotosResponse") -} - -func init() { - proto.RegisterFile("google/streetview/publish/v1/rpcmessages.proto", fileDescriptor_e56ff94407a6aca7) -} - -var fileDescriptor_e56ff94407a6aca7 = []byte{ - // 669 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0x5d, 0x4f, 0xd3, 0x5e, - 0x18, 0xff, 0x17, 0xd8, 0x60, 0x0f, 0x7f, 0x04, 0x8f, 0x82, 0x65, 0x62, 0xb2, 0x94, 0x44, 0x17, - 0x34, 0x2d, 0xe0, 0x85, 0x31, 0xbb, 0x62, 0x1b, 0x12, 0x92, 0xf1, 0x92, 0x4e, 0x34, 0xf1, 0xa6, - 0xe9, 0xda, 0x87, 0xd2, 0x50, 0x76, 0x6a, 0xcf, 0xe9, 0x50, 0xae, 0xfc, 0x00, 0xea, 0xa5, 0xdf, - 0xc9, 0x6f, 0x65, 0x7a, 0x7a, 0x0e, 0x8c, 0x6d, 0x2e, 0xd3, 0x10, 0xef, 0x7a, 0x9e, 0x97, 0x5f, - 0x7f, 0xe7, 0xf7, 0xbc, 0x1c, 0x30, 0x03, 0x4a, 0x83, 0x08, 0x2d, 0xc6, 0x13, 0x44, 0xde, 0x0b, - 0xf1, 0xd2, 0x8a, 0xd3, 0x4e, 0x14, 0xb2, 0x33, 0xab, 0xb7, 0x65, 0x25, 0xb1, 0x77, 0x81, 0x8c, - 0xb9, 0x01, 0x32, 0x33, 0x4e, 0x28, 0xa7, 0x64, 0x2d, 0x8f, 0x37, 0x6f, 0xe2, 0x4d, 0x19, 0x6f, - 0xf6, 0xb6, 0xca, 0x15, 0x89, 0x26, 0x62, 0x3b, 0xe9, 0xa9, 0x75, 0x1a, 0x62, 0xe4, 0x3b, 0x17, - 0x2e, 0x3b, 0xcf, 0xf3, 0xcb, 0x8f, 0x64, 0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 0x1d, 0xb2, 0x31, 0xa3, 0x03, 0xab, 0x23, 0x18, 0xdc, 0xed, 0xd0, 0x58, 0x40, - 0x9a, 0x18, 0xe1, 0x80, 0xe8, 0xbf, 0xdf, 0x60, 0xc6, 0x2b, 0x29, 0x4b, 0x5f, 0xd6, 0x44, 0x1b, - 0xc6, 0xd8, 0x93, 0xb7, 0xb9, 0x9d, 0x38, 0x62, 0x54, 0xa7, 0xc7, 0x8f, 0xea, 0xc6, 0x26, 0x94, - 0xae, 0xe7, 0x85, 0x94, 0xa0, 0x50, 0xdf, 0x69, 0xef, 0x37, 0x96, 0xfe, 0x23, 0x3a, 0x3c, 0xdc, - 0x3f, 0x6c, 0xb4, 0x4e, 0x9a, 0xbb, 0x4e, 0xf3, 0xe8, 0xfd, 0x61, 0xeb, 0x68, 0xa7, 0xe9, 0x9c, - 0xd8, 0xad, 0x25, 0xad, 0xfe, 0x4d, 0x83, 0xaa, 0x47, 0x2f, 0x14, 0x66, 0x80, 0xd4, 0x4c, 0x03, - 0x6f, 0xb4, 0x50, 0xf5, 0xb5, 0xb6, 0x30, 0x67, 0xe8, 0xc7, 0xb9, 0xd5, 0x8e, 0xbd, 0x03, 0xf9, - 0x9a, 0x7d, 0x68, 0x28, 0x0c, 0x9a, 0xcd, 0x8d, 0x49, 0x93, 0xc0, 0x0a, 0xb0, 0x2b, 0x7a, 0xc9, - 0xca, 0x5d, 0x6e, 0x1c, 0xb2, 0xd1, 0xaf, 0x51, 0x4d, 0x7e, 0x76, 0x8a, 0x22, 0xfe, 0xe5, 0xaf, - 0x00, 0x00, 0x00, 0xff, 0xff, 0xab, 0x7d, 0x68, 0xfd, 0x45, 0x07, 0x00, 0x00, -} 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 deleted file mode 100644 index 104d43a6..00000000 --- a/vendor/google.golang.org/genproto/googleapis/streetview/publish/v1/streetview_publish.pb.go +++ /dev/null @@ -1,740 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/streetview/publish/v1/streetview_publish.proto - -package publish - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - empty "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -func init() { - proto.RegisterFile("google/streetview/publish/v1/streetview_publish.proto", fileDescriptor_39e5f334059d9d6e) -} - -var fileDescriptor_39e5f334059d9d6e = []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, - 0x6a, 0xd8, 0x1b, 0xe3, 0x8f, 0x54, 0x6e, 0x1d, 0x88, 0x0b, 0x87, 0x69, 0xd5, 0x38, 0x70, 0x99, - 0xdc, 0xf4, 0x5d, 0x6a, 0x29, 0x8d, 0x4d, 0xec, 0x74, 0x42, 0x30, 0x0e, 0xe3, 0xc8, 0x0d, 0x2e, - 0x7c, 0x03, 0x3e, 0x10, 0x5f, 0x81, 0x0f, 0x82, 0xea, 0xd8, 0x4d, 0x36, 0x8a, 0x49, 0x4e, 0x69, - 0xf3, 0x3e, 0xcf, 0xfb, 0xfc, 0xfa, 0xbe, 0xae, 0xd1, 0xd3, 0x44, 0x88, 0x24, 0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, 0x37, 0xb4, 0x19, 0xd0, 0x79, 0xdf, 0xff, - 0x06, 0x54, 0xaa, 0x07, 0x41, 0x7f, 0x78, 0x16, 0xa0, 0x87, 0xb1, 0x98, 0xb9, 0x84, 0x04, 0x04, - 0x29, 0x92, 0x78, 0x75, 0xd2, 0x70, 0xed, 0xaf, 0x7b, 0xf3, 0xdd, 0x9e, 0x33, 0x8a, 0x94, 0x65, - 0x09, 0x11, 0x79, 0x42, 0x13, 0xc8, 0xcc, 0xb0, 0x68, 0x59, 0x62, 0x92, 0xab, 0xd5, 0x97, 0xf3, - 0x0b, 0xfb, 0x71, 0x7c, 0xc5, 0xe8, 0x77, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x7d, 0x9d, 0xfe, - 0x1c, 0x89, 0x06, 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 - -// StreetViewPublishServiceClient is the client API for StreetViewPublishService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type StreetViewPublishServiceClient interface { - // Creates an upload session to start uploading photo bytes. The method uses - // the upload URL of the returned - // [UploadRef][google.streetview.publish.v1.UploadRef] to upload the bytes for - // the [Photo][google.streetview.publish.v1.Photo]. - // - // In addition to the photo requirements shown in - // https://support.google.com/maps/answer/7012050?hl=en&ref_topic=6275604, - // the photo must meet the following requirements: - // - // * Photo Sphere XMP metadata must be included in the photo medadata. See - // https://developers.google.com/streetview/spherical-metadata for the - // required fields. - // * The pixel size of the photo must meet the size requirements listed in - // https://support.google.com/maps/answer/7012050?hl=en&ref_topic=6275604, and - // the photo must be a full 360 horizontally. - // - // After the upload completes, the method uses - // [UploadRef][google.streetview.publish.v1.UploadRef] with - // [CreatePhoto][google.streetview.publish.v1.StreetViewPublishService.CreatePhoto] - // to create the [Photo][google.streetview.publish.v1.Photo] object entry. - StartUpload(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*UploadRef, error) - // After the client finishes uploading the photo with the returned - // [UploadRef][google.streetview.publish.v1.UploadRef], - // [CreatePhoto][google.streetview.publish.v1.StreetViewPublishService.CreatePhoto] - // publishes the uploaded [Photo][google.streetview.publish.v1.Photo] to - // Street View on Google Maps. - // - // Currently, the only way to set heading, pitch, and roll in CreatePhoto is - // through the [Photo Sphere XMP - // metadata](https://developers.google.com/streetview/spherical-metadata) in - // the photo bytes. CreatePhoto ignores the `pose.heading`, `pose.pitch`, - // `pose.roll`, `pose.altitude`, and `pose.level` fields in Pose. - // - // This method returns the following error codes: - // - // * [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] if - // the request is malformed or if the uploaded photo is not a 360 photo. - // * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the upload - // reference does not exist. - // * [google.rpc.Code.RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED] - // if the account has reached the storage limit. - CreatePhoto(ctx context.Context, in *CreatePhotoRequest, opts ...grpc.CallOption) (*Photo, error) - // Gets the metadata of the specified - // [Photo][google.streetview.publish.v1.Photo]. - // - // This method returns the following error codes: - // - // * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if - // the requesting user did not create the requested - // [Photo][google.streetview.publish.v1.Photo]. - // * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the requested - // [Photo][google.streetview.publish.v1.Photo] does not exist. - // * [google.rpc.Code.UNAVAILABLE][google.rpc.Code.UNAVAILABLE] if the - // requested [Photo][google.streetview.publish.v1.Photo] is still being - // indexed. - GetPhoto(ctx context.Context, in *GetPhotoRequest, opts ...grpc.CallOption) (*Photo, error) - // Gets the metadata of the specified - // [Photo][google.streetview.publish.v1.Photo] batch. - // - // Note that if - // [BatchGetPhotos][google.streetview.publish.v1.StreetViewPublishService.BatchGetPhotos] - // fails, either critical fields are missing or there is an authentication - // error. Even if - // [BatchGetPhotos][google.streetview.publish.v1.StreetViewPublishService.BatchGetPhotos] - // succeeds, individual photos in the batch may have failures. - // These failures are specified in each - // [PhotoResponse.status][google.streetview.publish.v1.PhotoResponse.status] - // in - // [BatchGetPhotosResponse.results][google.streetview.publish.v1.BatchGetPhotosResponse.results]. - // See - // [GetPhoto][google.streetview.publish.v1.StreetViewPublishService.GetPhoto] - // for specific failures that can occur per photo. - BatchGetPhotos(ctx context.Context, in *BatchGetPhotosRequest, opts ...grpc.CallOption) (*BatchGetPhotosResponse, error) - // Lists all the [Photos][google.streetview.publish.v1.Photo] that belong to - // the user. - // - // - ListPhotos(ctx context.Context, in *ListPhotosRequest, opts ...grpc.CallOption) (*ListPhotosResponse, error) - // Updates the metadata of a [Photo][google.streetview.publish.v1.Photo], such - // as pose, place association, connections, etc. Changing the pixels of a - // photo is not supported. - // - // Only the fields specified in the - // [updateMask][google.streetview.publish.v1.UpdatePhotoRequest.update_mask] - // field are used. If `updateMask` is not present, the update applies to all - // fields. - // - // This method returns the following error codes: - // - // * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if - // the requesting user did not create the requested photo. - // * [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] if - // the request is malformed. - // * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the requested - // photo does not exist. - // * [google.rpc.Code.UNAVAILABLE][google.rpc.Code.UNAVAILABLE] if the - // requested [Photo][google.streetview.publish.v1.Photo] is still being - // indexed. - UpdatePhoto(ctx context.Context, in *UpdatePhotoRequest, opts ...grpc.CallOption) (*Photo, error) - // Updates the metadata of [Photos][google.streetview.publish.v1.Photo], such - // as pose, place association, connections, etc. Changing the pixels of photos - // is not supported. - // - // Note that if - // [BatchUpdatePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchUpdatePhotos] - // fails, either critical fields are missing or there is an authentication - // error. Even if - // [BatchUpdatePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchUpdatePhotos] - // succeeds, individual photos in the batch may have failures. - // These failures are specified in each - // [PhotoResponse.status][google.streetview.publish.v1.PhotoResponse.status] - // in - // [BatchUpdatePhotosResponse.results][google.streetview.publish.v1.BatchUpdatePhotosResponse.results]. - // See - // [UpdatePhoto][google.streetview.publish.v1.StreetViewPublishService.UpdatePhoto] - // for specific failures that can occur per photo. - // - // Only the fields specified in - // [updateMask][google.streetview.publish.v1.UpdatePhotoRequest.update_mask] - // field are used. If `updateMask` is not present, the update applies to all - // fields. - // - // The number of - // [UpdatePhotoRequest][google.streetview.publish.v1.UpdatePhotoRequest] - // messages in a - // [BatchUpdatePhotosRequest][google.streetview.publish.v1.BatchUpdatePhotosRequest] - // must not exceed 20. - // - // - BatchUpdatePhotos(ctx context.Context, in *BatchUpdatePhotosRequest, opts ...grpc.CallOption) (*BatchUpdatePhotosResponse, error) - // Deletes a [Photo][google.streetview.publish.v1.Photo] and its metadata. - // - // This method returns the following error codes: - // - // * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if - // the requesting user did not create the requested photo. - // * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the photo ID - // does not exist. - DeletePhoto(ctx context.Context, in *DeletePhotoRequest, opts ...grpc.CallOption) (*empty.Empty, error) - // Deletes a list of [Photos][google.streetview.publish.v1.Photo] and their - // metadata. - // - // Note that if - // [BatchDeletePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchDeletePhotos] - // fails, either critical fields are missing or there was an authentication - // error. Even if - // [BatchDeletePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchDeletePhotos] - // succeeds, individual photos in the batch may have failures. - // These failures are specified in each - // [PhotoResponse.status][google.streetview.publish.v1.PhotoResponse.status] - // in - // [BatchDeletePhotosResponse.results][google.streetview.publish.v1.BatchDeletePhotosResponse.status]. - // See - // [DeletePhoto][google.streetview.publish.v1.StreetViewPublishService.DeletePhoto] - // for specific failures that can occur per photo. - BatchDeletePhotos(ctx context.Context, in *BatchDeletePhotosRequest, opts ...grpc.CallOption) (*BatchDeletePhotosResponse, error) -} - -type streetViewPublishServiceClient struct { - cc *grpc.ClientConn -} - -func NewStreetViewPublishServiceClient(cc *grpc.ClientConn) StreetViewPublishServiceClient { - return &streetViewPublishServiceClient{cc} -} - -func (c *streetViewPublishServiceClient) StartUpload(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*UploadRef, error) { - out := new(UploadRef) - err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/StartUpload", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *streetViewPublishServiceClient) CreatePhoto(ctx context.Context, in *CreatePhotoRequest, opts ...grpc.CallOption) (*Photo, error) { - out := new(Photo) - err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/CreatePhoto", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *streetViewPublishServiceClient) GetPhoto(ctx context.Context, in *GetPhotoRequest, opts ...grpc.CallOption) (*Photo, error) { - out := new(Photo) - err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/GetPhoto", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *streetViewPublishServiceClient) BatchGetPhotos(ctx context.Context, in *BatchGetPhotosRequest, opts ...grpc.CallOption) (*BatchGetPhotosResponse, error) { - out := new(BatchGetPhotosResponse) - err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/BatchGetPhotos", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *streetViewPublishServiceClient) ListPhotos(ctx context.Context, in *ListPhotosRequest, opts ...grpc.CallOption) (*ListPhotosResponse, error) { - out := new(ListPhotosResponse) - err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/ListPhotos", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *streetViewPublishServiceClient) UpdatePhoto(ctx context.Context, in *UpdatePhotoRequest, opts ...grpc.CallOption) (*Photo, error) { - out := new(Photo) - err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/UpdatePhoto", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *streetViewPublishServiceClient) BatchUpdatePhotos(ctx context.Context, in *BatchUpdatePhotosRequest, opts ...grpc.CallOption) (*BatchUpdatePhotosResponse, error) { - out := new(BatchUpdatePhotosResponse) - err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/BatchUpdatePhotos", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *streetViewPublishServiceClient) DeletePhoto(ctx context.Context, in *DeletePhotoRequest, opts ...grpc.CallOption) (*empty.Empty, error) { - out := new(empty.Empty) - err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/DeletePhoto", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *streetViewPublishServiceClient) BatchDeletePhotos(ctx context.Context, in *BatchDeletePhotosRequest, opts ...grpc.CallOption) (*BatchDeletePhotosResponse, error) { - out := new(BatchDeletePhotosResponse) - err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/BatchDeletePhotos", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// StreetViewPublishServiceServer is the server API for StreetViewPublishService service. -type StreetViewPublishServiceServer interface { - // Creates an upload session to start uploading photo bytes. The method uses - // the upload URL of the returned - // [UploadRef][google.streetview.publish.v1.UploadRef] to upload the bytes for - // the [Photo][google.streetview.publish.v1.Photo]. - // - // In addition to the photo requirements shown in - // https://support.google.com/maps/answer/7012050?hl=en&ref_topic=6275604, - // the photo must meet the following requirements: - // - // * Photo Sphere XMP metadata must be included in the photo medadata. See - // https://developers.google.com/streetview/spherical-metadata for the - // required fields. - // * The pixel size of the photo must meet the size requirements listed in - // https://support.google.com/maps/answer/7012050?hl=en&ref_topic=6275604, and - // the photo must be a full 360 horizontally. - // - // After the upload completes, the method uses - // [UploadRef][google.streetview.publish.v1.UploadRef] with - // [CreatePhoto][google.streetview.publish.v1.StreetViewPublishService.CreatePhoto] - // to create the [Photo][google.streetview.publish.v1.Photo] object entry. - StartUpload(context.Context, *empty.Empty) (*UploadRef, error) - // After the client finishes uploading the photo with the returned - // [UploadRef][google.streetview.publish.v1.UploadRef], - // [CreatePhoto][google.streetview.publish.v1.StreetViewPublishService.CreatePhoto] - // publishes the uploaded [Photo][google.streetview.publish.v1.Photo] to - // Street View on Google Maps. - // - // Currently, the only way to set heading, pitch, and roll in CreatePhoto is - // through the [Photo Sphere XMP - // metadata](https://developers.google.com/streetview/spherical-metadata) in - // the photo bytes. CreatePhoto ignores the `pose.heading`, `pose.pitch`, - // `pose.roll`, `pose.altitude`, and `pose.level` fields in Pose. - // - // This method returns the following error codes: - // - // * [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] if - // the request is malformed or if the uploaded photo is not a 360 photo. - // * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the upload - // reference does not exist. - // * [google.rpc.Code.RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED] - // if the account has reached the storage limit. - CreatePhoto(context.Context, *CreatePhotoRequest) (*Photo, error) - // Gets the metadata of the specified - // [Photo][google.streetview.publish.v1.Photo]. - // - // This method returns the following error codes: - // - // * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if - // the requesting user did not create the requested - // [Photo][google.streetview.publish.v1.Photo]. - // * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the requested - // [Photo][google.streetview.publish.v1.Photo] does not exist. - // * [google.rpc.Code.UNAVAILABLE][google.rpc.Code.UNAVAILABLE] if the - // requested [Photo][google.streetview.publish.v1.Photo] is still being - // indexed. - GetPhoto(context.Context, *GetPhotoRequest) (*Photo, error) - // Gets the metadata of the specified - // [Photo][google.streetview.publish.v1.Photo] batch. - // - // Note that if - // [BatchGetPhotos][google.streetview.publish.v1.StreetViewPublishService.BatchGetPhotos] - // fails, either critical fields are missing or there is an authentication - // error. Even if - // [BatchGetPhotos][google.streetview.publish.v1.StreetViewPublishService.BatchGetPhotos] - // succeeds, individual photos in the batch may have failures. - // These failures are specified in each - // [PhotoResponse.status][google.streetview.publish.v1.PhotoResponse.status] - // in - // [BatchGetPhotosResponse.results][google.streetview.publish.v1.BatchGetPhotosResponse.results]. - // See - // [GetPhoto][google.streetview.publish.v1.StreetViewPublishService.GetPhoto] - // for specific failures that can occur per photo. - BatchGetPhotos(context.Context, *BatchGetPhotosRequest) (*BatchGetPhotosResponse, error) - // Lists all the [Photos][google.streetview.publish.v1.Photo] that belong to - // the user. - // - // - ListPhotos(context.Context, *ListPhotosRequest) (*ListPhotosResponse, error) - // Updates the metadata of a [Photo][google.streetview.publish.v1.Photo], such - // as pose, place association, connections, etc. Changing the pixels of a - // photo is not supported. - // - // Only the fields specified in the - // [updateMask][google.streetview.publish.v1.UpdatePhotoRequest.update_mask] - // field are used. If `updateMask` is not present, the update applies to all - // fields. - // - // This method returns the following error codes: - // - // * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if - // the requesting user did not create the requested photo. - // * [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] if - // the request is malformed. - // * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the requested - // photo does not exist. - // * [google.rpc.Code.UNAVAILABLE][google.rpc.Code.UNAVAILABLE] if the - // requested [Photo][google.streetview.publish.v1.Photo] is still being - // indexed. - UpdatePhoto(context.Context, *UpdatePhotoRequest) (*Photo, error) - // Updates the metadata of [Photos][google.streetview.publish.v1.Photo], such - // as pose, place association, connections, etc. Changing the pixels of photos - // is not supported. - // - // Note that if - // [BatchUpdatePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchUpdatePhotos] - // fails, either critical fields are missing or there is an authentication - // error. Even if - // [BatchUpdatePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchUpdatePhotos] - // succeeds, individual photos in the batch may have failures. - // These failures are specified in each - // [PhotoResponse.status][google.streetview.publish.v1.PhotoResponse.status] - // in - // [BatchUpdatePhotosResponse.results][google.streetview.publish.v1.BatchUpdatePhotosResponse.results]. - // See - // [UpdatePhoto][google.streetview.publish.v1.StreetViewPublishService.UpdatePhoto] - // for specific failures that can occur per photo. - // - // Only the fields specified in - // [updateMask][google.streetview.publish.v1.UpdatePhotoRequest.update_mask] - // field are used. If `updateMask` is not present, the update applies to all - // fields. - // - // The number of - // [UpdatePhotoRequest][google.streetview.publish.v1.UpdatePhotoRequest] - // messages in a - // [BatchUpdatePhotosRequest][google.streetview.publish.v1.BatchUpdatePhotosRequest] - // must not exceed 20. - // - // - BatchUpdatePhotos(context.Context, *BatchUpdatePhotosRequest) (*BatchUpdatePhotosResponse, error) - // Deletes a [Photo][google.streetview.publish.v1.Photo] and its metadata. - // - // This method returns the following error codes: - // - // * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if - // the requesting user did not create the requested photo. - // * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the photo ID - // does not exist. - DeletePhoto(context.Context, *DeletePhotoRequest) (*empty.Empty, error) - // Deletes a list of [Photos][google.streetview.publish.v1.Photo] and their - // metadata. - // - // Note that if - // [BatchDeletePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchDeletePhotos] - // fails, either critical fields are missing or there was an authentication - // error. Even if - // [BatchDeletePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchDeletePhotos] - // succeeds, individual photos in the batch may have failures. - // These failures are specified in each - // [PhotoResponse.status][google.streetview.publish.v1.PhotoResponse.status] - // in - // [BatchDeletePhotosResponse.results][google.streetview.publish.v1.BatchDeletePhotosResponse.status]. - // See - // [DeletePhoto][google.streetview.publish.v1.StreetViewPublishService.DeletePhoto] - // for specific failures that can occur per photo. - BatchDeletePhotos(context.Context, *BatchDeletePhotosRequest) (*BatchDeletePhotosResponse, error) -} - -// UnimplementedStreetViewPublishServiceServer can be embedded to have forward compatible implementations. -type UnimplementedStreetViewPublishServiceServer struct { -} - -func (*UnimplementedStreetViewPublishServiceServer) StartUpload(ctx context.Context, req *empty.Empty) (*UploadRef, error) { - return nil, status.Errorf(codes.Unimplemented, "method StartUpload not implemented") -} -func (*UnimplementedStreetViewPublishServiceServer) CreatePhoto(ctx context.Context, req *CreatePhotoRequest) (*Photo, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreatePhoto not implemented") -} -func (*UnimplementedStreetViewPublishServiceServer) GetPhoto(ctx context.Context, req *GetPhotoRequest) (*Photo, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetPhoto not implemented") -} -func (*UnimplementedStreetViewPublishServiceServer) BatchGetPhotos(ctx context.Context, req *BatchGetPhotosRequest) (*BatchGetPhotosResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method BatchGetPhotos not implemented") -} -func (*UnimplementedStreetViewPublishServiceServer) ListPhotos(ctx context.Context, req *ListPhotosRequest) (*ListPhotosResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListPhotos not implemented") -} -func (*UnimplementedStreetViewPublishServiceServer) UpdatePhoto(ctx context.Context, req *UpdatePhotoRequest) (*Photo, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdatePhoto not implemented") -} -func (*UnimplementedStreetViewPublishServiceServer) BatchUpdatePhotos(ctx context.Context, req *BatchUpdatePhotosRequest) (*BatchUpdatePhotosResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method BatchUpdatePhotos not implemented") -} -func (*UnimplementedStreetViewPublishServiceServer) DeletePhoto(ctx context.Context, req *DeletePhotoRequest) (*empty.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeletePhoto not implemented") -} -func (*UnimplementedStreetViewPublishServiceServer) BatchDeletePhotos(ctx context.Context, req *BatchDeletePhotosRequest) (*BatchDeletePhotosResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method BatchDeletePhotos not implemented") -} - -func RegisterStreetViewPublishServiceServer(s *grpc.Server, srv StreetViewPublishServiceServer) { - s.RegisterService(&_StreetViewPublishService_serviceDesc, srv) -} - -func _StreetViewPublishService_StartUpload_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.(StreetViewPublishServiceServer).StartUpload(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/StartUpload", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(StreetViewPublishServiceServer).StartUpload(ctx, req.(*empty.Empty)) - } - return interceptor(ctx, in, info, handler) -} - -func _StreetViewPublishService_CreatePhoto_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreatePhotoRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(StreetViewPublishServiceServer).CreatePhoto(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/CreatePhoto", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(StreetViewPublishServiceServer).CreatePhoto(ctx, req.(*CreatePhotoRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _StreetViewPublishService_GetPhoto_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetPhotoRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(StreetViewPublishServiceServer).GetPhoto(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/GetPhoto", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(StreetViewPublishServiceServer).GetPhoto(ctx, req.(*GetPhotoRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _StreetViewPublishService_BatchGetPhotos_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchGetPhotosRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(StreetViewPublishServiceServer).BatchGetPhotos(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/BatchGetPhotos", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(StreetViewPublishServiceServer).BatchGetPhotos(ctx, req.(*BatchGetPhotosRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _StreetViewPublishService_ListPhotos_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListPhotosRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(StreetViewPublishServiceServer).ListPhotos(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/ListPhotos", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(StreetViewPublishServiceServer).ListPhotos(ctx, req.(*ListPhotosRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _StreetViewPublishService_UpdatePhoto_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdatePhotoRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(StreetViewPublishServiceServer).UpdatePhoto(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/UpdatePhoto", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(StreetViewPublishServiceServer).UpdatePhoto(ctx, req.(*UpdatePhotoRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _StreetViewPublishService_BatchUpdatePhotos_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchUpdatePhotosRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(StreetViewPublishServiceServer).BatchUpdatePhotos(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/BatchUpdatePhotos", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(StreetViewPublishServiceServer).BatchUpdatePhotos(ctx, req.(*BatchUpdatePhotosRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _StreetViewPublishService_DeletePhoto_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeletePhotoRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(StreetViewPublishServiceServer).DeletePhoto(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/DeletePhoto", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(StreetViewPublishServiceServer).DeletePhoto(ctx, req.(*DeletePhotoRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _StreetViewPublishService_BatchDeletePhotos_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchDeletePhotosRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(StreetViewPublishServiceServer).BatchDeletePhotos(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/BatchDeletePhotos", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(StreetViewPublishServiceServer).BatchDeletePhotos(ctx, req.(*BatchDeletePhotosRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _StreetViewPublishService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.streetview.publish.v1.StreetViewPublishService", - HandlerType: (*StreetViewPublishServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "StartUpload", - Handler: _StreetViewPublishService_StartUpload_Handler, - }, - { - MethodName: "CreatePhoto", - Handler: _StreetViewPublishService_CreatePhoto_Handler, - }, - { - MethodName: "GetPhoto", - Handler: _StreetViewPublishService_GetPhoto_Handler, - }, - { - MethodName: "BatchGetPhotos", - Handler: _StreetViewPublishService_BatchGetPhotos_Handler, - }, - { - MethodName: "ListPhotos", - Handler: _StreetViewPublishService_ListPhotos_Handler, - }, - { - MethodName: "UpdatePhoto", - Handler: _StreetViewPublishService_UpdatePhoto_Handler, - }, - { - MethodName: "BatchUpdatePhotos", - Handler: _StreetViewPublishService_BatchUpdatePhotos_Handler, - }, - { - MethodName: "DeletePhoto", - Handler: _StreetViewPublishService_DeletePhoto_Handler, - }, - { - MethodName: "BatchDeletePhotos", - Handler: _StreetViewPublishService_BatchDeletePhotos_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "google/streetview/publish/v1/streetview_publish.proto", -} diff --git a/vendor/google.golang.org/genproto/googleapis/type/calendarperiod/calendar_period.pb.go b/vendor/google.golang.org/genproto/googleapis/type/calendarperiod/calendar_period.pb.go deleted file mode 100644 index 0ee0bd15..00000000 --- a/vendor/google.golang.org/genproto/googleapis/type/calendarperiod/calendar_period.pb.go +++ /dev/null @@ -1,106 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/type/calendar_period.proto - -package calendarperiod - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// A `CalendarPeriod` represents the abstract concept of a time period that has -// a canonical start. Grammatically, "the start of the current -// `CalendarPeriod`." All calendar times begin at midnight UTC. -type CalendarPeriod int32 - -const ( - // Undefined period, raises an error. - CalendarPeriod_CALENDAR_PERIOD_UNSPECIFIED CalendarPeriod = 0 - // A day. - CalendarPeriod_DAY CalendarPeriod = 1 - // A week. Weeks begin on Monday, following - // [ISO 8601](https://en.wikipedia.org/wiki/ISO_week_date). - CalendarPeriod_WEEK CalendarPeriod = 2 - // A fortnight. The first calendar fortnight of the year begins at the start - // of week 1 according to - // [ISO 8601](https://en.wikipedia.org/wiki/ISO_week_date). - CalendarPeriod_FORTNIGHT CalendarPeriod = 3 - // A month. - CalendarPeriod_MONTH CalendarPeriod = 4 - // A quarter. Quarters start on dates 1-Jan, 1-Apr, 1-Jul, and 1-Oct of each - // year. - CalendarPeriod_QUARTER CalendarPeriod = 5 - // A half-year. Half-years start on dates 1-Jan and 1-Jul. - CalendarPeriod_HALF CalendarPeriod = 6 - // A year. - CalendarPeriod_YEAR CalendarPeriod = 7 -) - -var CalendarPeriod_name = map[int32]string{ - 0: "CALENDAR_PERIOD_UNSPECIFIED", - 1: "DAY", - 2: "WEEK", - 3: "FORTNIGHT", - 4: "MONTH", - 5: "QUARTER", - 6: "HALF", - 7: "YEAR", -} - -var CalendarPeriod_value = map[string]int32{ - "CALENDAR_PERIOD_UNSPECIFIED": 0, - "DAY": 1, - "WEEK": 2, - "FORTNIGHT": 3, - "MONTH": 4, - "QUARTER": 5, - "HALF": 6, - "YEAR": 7, -} - -func (x CalendarPeriod) String() string { - return proto.EnumName(CalendarPeriod_name, int32(x)) -} - -func (CalendarPeriod) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_52aec33199a3da0e, []int{0} -} - -func init() { - proto.RegisterEnum("google.type.CalendarPeriod", CalendarPeriod_name, CalendarPeriod_value) -} - -func init() { proto.RegisterFile("google/type/calendar_period.proto", fileDescriptor_52aec33199a3da0e) } - -var fileDescriptor_52aec33199a3da0e = []byte{ - // 248 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x8f, 0xb1, 0x4f, 0x83, 0x40, - 0x14, 0x87, 0x6d, 0x69, 0x8b, 0x7d, 0x8d, 0x7a, 0x39, 0x47, 0x07, 0xe3, 0xea, 0x00, 0x83, 0xa3, - 0xd3, 0x15, 0x8e, 0x42, 0xac, 0x70, 0x9e, 0xd7, 0x98, 0xba, 0x10, 0x6c, 0x2f, 0x97, 0x26, 0xc8, - 0x23, 0xd8, 0x41, 0x27, 0xff, 0x17, 0xff, 0x52, 0x73, 0xc0, 0x50, 0xb6, 0xbb, 0xbc, 0xef, 0x97, - 0x7c, 0x1f, 0xdc, 0x19, 0x44, 0x53, 0x6a, 0xff, 0xf8, 0x53, 0x6b, 0x7f, 0x57, 0x94, 0xba, 0xda, - 0x17, 0x4d, 0x5e, 0xeb, 0xe6, 0x80, 0x7b, 0xaf, 0x6e, 0xf0, 0x88, 0x74, 0xd1, 0x21, 0x9e, 0x45, - 0xee, 0x7f, 0xe1, 0x32, 0xe8, 0x29, 0xd1, 0x42, 0xf4, 0x16, 0x6e, 0x02, 0xb6, 0xe6, 0x69, 0xc8, - 0x64, 0x2e, 0xb8, 0x4c, 0xb2, 0x30, 0xdf, 0xa4, 0xaf, 0x82, 0x07, 0x49, 0x94, 0xf0, 0x90, 0x9c, - 0x51, 0x17, 0x9c, 0x90, 0x6d, 0xc9, 0x88, 0x9e, 0xc3, 0xe4, 0x8d, 0xf3, 0x27, 0x32, 0xa6, 0x17, - 0x30, 0x8f, 0x32, 0xa9, 0xd2, 0x64, 0x15, 0x2b, 0xe2, 0xd0, 0x39, 0x4c, 0x9f, 0xb3, 0x54, 0xc5, - 0x64, 0x42, 0x17, 0xe0, 0xbe, 0x6c, 0x98, 0x54, 0x5c, 0x92, 0xa9, 0x1d, 0xc4, 0x6c, 0x1d, 0x91, - 0x99, 0x7d, 0x6d, 0x39, 0x93, 0xc4, 0x5d, 0x7e, 0xc3, 0xd5, 0x0e, 0x3f, 0xbd, 0x13, 0xa7, 0xe5, - 0xf5, 0xd0, 0x48, 0x58, 0x6b, 0x31, 0x7a, 0x8f, 0x7b, 0xc6, 0x60, 0x59, 0x54, 0xc6, 0xc3, 0xc6, - 0xf8, 0x46, 0x57, 0x6d, 0x93, 0xdf, 0x9d, 0x8a, 0xfa, 0xf0, 0x35, 0x2c, 0xef, 0xc2, 0x1f, 0x87, - 0xdf, 0xbf, 0xb1, 0xb3, 0x52, 0xe2, 0x63, 0xd6, 0x4e, 0x1f, 0xfe, 0x03, 0x00, 0x00, 0xff, 0xff, - 0x91, 0x18, 0xaa, 0x3f, 0x33, 0x01, 0x00, 0x00, -} 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 deleted file mode 100644 index 223d5188..00000000 --- a/vendor/google.golang.org/genproto/googleapis/type/color/color.pb.go +++ /dev/null @@ -1,244 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/type/color.proto - -package color - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Represents a color in the RGBA color space. This representation is designed -// for simplicity of conversion to/from color representations in various -// languages over compactness; for example, the fields of this representation -// can be trivially provided to the constructor of "java.awt.Color" in Java; it -// can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha" -// method in iOS; and, with just a little work, it can be easily formatted into -// a CSS "rgba()" string in JavaScript, as well. -// -// Note: this proto does not carry information about the absolute color space -// that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, -// DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color -// space. -// -// Example (Java): -// -// import com.google.type.Color; -// -// // ... -// public static java.awt.Color fromProto(Color protocolor) { -// float alpha = protocolor.hasAlpha() -// ? protocolor.getAlpha().getValue() -// : 1.0; -// -// return new java.awt.Color( -// protocolor.getRed(), -// protocolor.getGreen(), -// protocolor.getBlue(), -// alpha); -// } -// -// public static Color toProto(java.awt.Color color) { -// float red = (float) color.getRed(); -// float green = (float) color.getGreen(); -// float blue = (float) color.getBlue(); -// float denominator = 255.0; -// Color.Builder resultBuilder = -// Color -// .newBuilder() -// .setRed(red / denominator) -// .setGreen(green / denominator) -// .setBlue(blue / denominator); -// int alpha = color.getAlpha(); -// if (alpha != 255) { -// result.setAlpha( -// FloatValue -// .newBuilder() -// .setValue(((float) alpha) / denominator) -// .build()); -// } -// return resultBuilder.build(); -// } -// // ... -// -// Example (iOS / Obj-C): -// -// // ... -// static UIColor* fromProto(Color* protocolor) { -// float red = [protocolor red]; -// float green = [protocolor green]; -// float blue = [protocolor blue]; -// FloatValue* alpha_wrapper = [protocolor alpha]; -// float alpha = 1.0; -// if (alpha_wrapper != nil) { -// alpha = [alpha_wrapper value]; -// } -// return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; -// } -// -// static Color* toProto(UIColor* color) { -// CGFloat red, green, blue, alpha; -// if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { -// return nil; -// } -// Color* result = [[Color alloc] init]; -// [result setRed:red]; -// [result setGreen:green]; -// [result setBlue:blue]; -// if (alpha <= 0.9999) { -// [result setAlpha:floatWrapperWithValue(alpha)]; -// } -// [result autorelease]; -// return result; -// } -// // ... -// -// Example (JavaScript): -// -// // ... -// -// var protoToCssColor = function(rgb_color) { -// var redFrac = rgb_color.red || 0.0; -// var greenFrac = rgb_color.green || 0.0; -// var blueFrac = rgb_color.blue || 0.0; -// var red = Math.floor(redFrac * 255); -// var green = Math.floor(greenFrac * 255); -// var blue = Math.floor(blueFrac * 255); -// -// if (!('alpha' in rgb_color)) { -// return rgbToCssColor_(red, green, blue); -// } -// -// var alphaFrac = rgb_color.alpha.value || 0.0; -// var rgbParams = [red, green, blue].join(','); -// return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); -// }; -// -// var rgbToCssColor_ = function(red, green, blue) { -// var rgbNumber = new Number((red << 16) | (green << 8) | blue); -// var hexString = rgbNumber.toString(16); -// var missingZeros = 6 - hexString.length; -// var resultBuilder = ['#']; -// for (var i = 0; i < missingZeros; i++) { -// resultBuilder.push('0'); -// } -// resultBuilder.push(hexString); -// return resultBuilder.join(''); -// }; -// -// // ... -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"` - // The fraction of this color that should be applied to the pixel. That is, - // the final pixel color is defined by the equation: - // - // pixel color = alpha * (this color) + (1.0 - alpha) * (background color) - // - // This means that a value of 1.0 corresponds to a solid color, whereas - // a value of 0.0 corresponds to a completely transparent color. This - // uses a wrapper message rather than a simple float scalar so that it is - // possible to distinguish between a default value and the value being unset. - // If omitted, this color object is to be rendered as a solid color - // (as if the alpha value had been explicitly given with a value of 1.0). - Alpha *wrappers.FloatValue `protobuf:"bytes,4,opt,name=alpha,proto3" json:"alpha,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_8454902cb8a2d34f, []int{0} -} - -func (m *Color) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Color.Unmarshal(m, b) -} -func (m *Color) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Color.Marshal(b, m, deterministic) -} -func (m *Color) XXX_Merge(src proto.Message) { - xxx_messageInfo_Color.Merge(m, src) -} -func (m *Color) XXX_Size() int { - return xxx_messageInfo_Color.Size(m) -} -func (m *Color) XXX_DiscardUnknown() { - xxx_messageInfo_Color.DiscardUnknown(m) -} - -var xxx_messageInfo_Color proto.InternalMessageInfo - -func (m *Color) GetRed() float32 { - if m != nil { - return m.Red - } - return 0 -} - -func (m *Color) GetGreen() float32 { - if m != nil { - return m.Green - } - return 0 -} - -func (m *Color) GetBlue() float32 { - if m != nil { - return m.Blue - } - return 0 -} - -func (m *Color) GetAlpha() *wrappers.FloatValue { - if m != nil { - return m.Alpha - } - return nil -} - -func init() { - proto.RegisterType((*Color)(nil), "google.type.Color") -} - -func init() { proto.RegisterFile("google/type/color.proto", fileDescriptor_8454902cb8a2d34f) } - -var fileDescriptor_8454902cb8a2d34f = []byte{ - // 228 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, - 0x54, 0x70, 0x71, 0x7b, 0x82, 0xae, 0xa5, 0x88, 0x83, 0x93, 0x69, 0x3d, 0xa3, 0x10, 0x7b, 0x21, - 0x6d, 0x15, 0xbf, 0x8e, 0x9f, 0xd2, 0x51, 0x72, 0xe9, 0x83, 0x2e, 0xe1, 0x72, 0xbf, 0xdf, 0x25, - 0xff, 0x83, 0x13, 0x47, 0xe4, 0x3c, 0x9a, 0xf1, 0x27, 0xa0, 0xe9, 0xc8, 0x53, 0xd4, 0x21, 0xd2, - 0x48, 0x72, 0x9d, 0x81, 0x4e, 0xe0, 0xf4, 0x7c, 0xb6, 0x18, 0xb5, 0xd3, 0x9b, 0xf9, 0x8e, 0x36, - 0x04, 0x8c, 0x43, 0x96, 0x2f, 0xbe, 0xa0, 0xba, 0x4b, 0xb3, 0xf2, 0x08, 0xca, 0x88, 0xaf, 0x4a, - 0x6c, 0xc4, 0xb6, 0x68, 0x52, 0x29, 0x8f, 0xa1, 0x72, 0x11, 0xb1, 0x57, 0x05, 0xf7, 0xf2, 0x45, - 0x4a, 0x58, 0xb5, 0x7e, 0x42, 0x55, 0x72, 0x93, 0x6b, 0x79, 0x09, 0x95, 0xf5, 0xe1, 0xdd, 0xaa, - 0xd5, 0x46, 0x6c, 0xd7, 0x57, 0x67, 0x7a, 0x4e, 0xb0, 0xff, 0x54, 0xdf, 0x7b, 0xb2, 0xe3, 0x93, - 0xf5, 0x13, 0x36, 0xd9, 0xdc, 0xbd, 0xc0, 0x61, 0x47, 0x9f, 0x7a, 0x11, 0x75, 0x07, 0x1c, 0xa4, - 0x4e, 0x33, 0xb5, 0x78, 0xbe, 0x99, 0x91, 0x23, 0x6f, 0x7b, 0xa7, 0x29, 0x3a, 0xe3, 0xb0, 0xe7, - 0x17, 0x4d, 0x46, 0x36, 0x7c, 0x0c, 0x8b, 0xed, 0x6f, 0xf9, 0xfc, 0x13, 0xe2, 0xb7, 0x28, 0x1f, - 0x1e, 0xeb, 0xf6, 0x80, 0xdd, 0xeb, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0xdc, 0x38, 0x5a, 0x5f, - 0x28, 0x01, 0x00, 0x00, -} 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 deleted file mode 100644 index 2a6a27bc..00000000 --- a/vendor/google.golang.org/genproto/googleapis/type/date/date.pb.go +++ /dev/null @@ -1,115 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/type/date.proto - -package date - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Represents a whole or partial calendar date, e.g. a birthday. The time of day -// and time zone are either specified elsewhere or are not significant. The date -// is relative to the Proleptic Gregorian Calendar. This can represent: -// -// * A full date, with non-zero year, month and day values -// * A month and day value, with a zero year, e.g. an anniversary -// * A year on its own, with zero month and day values -// * A year and month value, with a zero day, e.g. a credit card expiration date -// -// Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and `google.protobuf.Timestamp`. -type Date struct { - // Year of date. Must be from 1 to 9999, or 0 if specifying a date without - // a year. - Year int32 `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty"` - // Month of year. Must be from 1 to 12, or 0 if specifying a year without a - // month and day. - Month int32 `protobuf:"varint,2,opt,name=month,proto3" json:"month,omitempty"` - // Day of month. Must be from 1 to 31 and valid for the year and month, or 0 - // if specifying a year by itself or a year and month where the day is not - // significant. - Day int32 `protobuf:"varint,3,opt,name=day,proto3" json:"day,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_92c30699df886e3f, []int{0} -} - -func (m *Date) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Date.Unmarshal(m, b) -} -func (m *Date) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Date.Marshal(b, m, deterministic) -} -func (m *Date) XXX_Merge(src proto.Message) { - xxx_messageInfo_Date.Merge(m, src) -} -func (m *Date) XXX_Size() int { - return xxx_messageInfo_Date.Size(m) -} -func (m *Date) XXX_DiscardUnknown() { - xxx_messageInfo_Date.DiscardUnknown(m) -} - -var xxx_messageInfo_Date proto.InternalMessageInfo - -func (m *Date) GetYear() int32 { - if m != nil { - return m.Year - } - return 0 -} - -func (m *Date) GetMonth() int32 { - if m != nil { - return m.Month - } - return 0 -} - -func (m *Date) GetDay() int32 { - if m != nil { - return m.Day - } - return 0 -} - -func init() { - proto.RegisterType((*Date)(nil), "google.type.Date") -} - -func init() { proto.RegisterFile("google/type/date.proto", fileDescriptor_92c30699df886e3f) } - -var fileDescriptor_92c30699df886e3f = []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, - 0x2f, 0xc9, 0x17, 0xe2, 0x86, 0x88, 0xeb, 0x81, 0xc4, 0x95, 0x9c, 0xb8, 0x58, 0x5c, 0x12, 0x4b, - 0x52, 0x85, 0x84, 0xb8, 0x58, 0x2a, 0x53, 0x13, 0x8b, 0x24, 0x18, 0x15, 0x18, 0x35, 0x58, 0x83, - 0xc0, 0x6c, 0x21, 0x11, 0x2e, 0xd6, 0xdc, 0xfc, 0xbc, 0x92, 0x0c, 0x09, 0x26, 0xb0, 0x20, 0x84, - 0x23, 0x24, 0xc0, 0xc5, 0x9c, 0x92, 0x58, 0x29, 0xc1, 0x0c, 0x16, 0x03, 0x31, 0x9d, 0x62, 0xb9, - 0xf8, 0x93, 0xf3, 0x73, 0xf5, 0x90, 0x8c, 0x75, 0xe2, 0x04, 0x19, 0x1a, 0x00, 0xb2, 0x2e, 0x80, - 0x31, 0xca, 0x04, 0x2a, 0x93, 0x9e, 0x9f, 0x93, 0x98, 0x97, 0xae, 0x97, 0x5f, 0x94, 0xae, 0x9f, - 0x9e, 0x9a, 0x07, 0x76, 0x8c, 0x3e, 0x44, 0x2a, 0xb1, 0x20, 0xb3, 0x18, 0xe1, 0x4e, 0x6b, 0x10, - 0xf1, 0x83, 0x91, 0x71, 0x11, 0x13, 0xb3, 0x7b, 0x48, 0x40, 0x12, 0x1b, 0x58, 0xa5, 0x31, 0x20, - 0x00, 0x00, 0xff, 0xff, 0x84, 0x95, 0xf3, 0x4c, 0xd0, 0x00, 0x00, 0x00, -} 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 deleted file mode 100644 index 05cac227..00000000 --- a/vendor/google.golang.org/genproto/googleapis/type/dayofweek/dayofweek.pb.go +++ /dev/null @@ -1,99 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/type/dayofweek.proto - -package dayofweek - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Represents a day of week. -type DayOfWeek int32 - -const ( - // The unspecified day-of-week. - DayOfWeek_DAY_OF_WEEK_UNSPECIFIED DayOfWeek = 0 - // The day-of-week of Monday. - DayOfWeek_MONDAY DayOfWeek = 1 - // The day-of-week of Tuesday. - DayOfWeek_TUESDAY DayOfWeek = 2 - // The day-of-week of Wednesday. - DayOfWeek_WEDNESDAY DayOfWeek = 3 - // The day-of-week of Thursday. - DayOfWeek_THURSDAY DayOfWeek = 4 - // The day-of-week of Friday. - DayOfWeek_FRIDAY DayOfWeek = 5 - // The day-of-week of Saturday. - DayOfWeek_SATURDAY DayOfWeek = 6 - // The day-of-week of Sunday. - DayOfWeek_SUNDAY DayOfWeek = 7 -) - -var DayOfWeek_name = map[int32]string{ - 0: "DAY_OF_WEEK_UNSPECIFIED", - 1: "MONDAY", - 2: "TUESDAY", - 3: "WEDNESDAY", - 4: "THURSDAY", - 5: "FRIDAY", - 6: "SATURDAY", - 7: "SUNDAY", -} - -var DayOfWeek_value = map[string]int32{ - "DAY_OF_WEEK_UNSPECIFIED": 0, - "MONDAY": 1, - "TUESDAY": 2, - "WEDNESDAY": 3, - "THURSDAY": 4, - "FRIDAY": 5, - "SATURDAY": 6, - "SUNDAY": 7, -} - -func (x DayOfWeek) String() string { - return proto.EnumName(DayOfWeek_name, int32(x)) -} - -func (DayOfWeek) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7d916f1831ff5ed9, []int{0} -} - -func init() { - proto.RegisterEnum("google.type.DayOfWeek", DayOfWeek_name, DayOfWeek_value) -} - -func init() { proto.RegisterFile("google/type/dayofweek.proto", fileDescriptor_7d916f1831ff5ed9) } - -var fileDescriptor_7d916f1831ff5ed9 = []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, - 0xcd, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x86, 0x48, 0xea, 0x81, 0x24, 0xb5, 0x5a, - 0x18, 0xb9, 0x38, 0x5d, 0x12, 0x2b, 0xfd, 0xd3, 0xc2, 0x53, 0x53, 0xb3, 0x85, 0xa4, 0xb9, 0xc4, - 0x5d, 0x1c, 0x23, 0xe3, 0xfd, 0xdd, 0xe2, 0xc3, 0x5d, 0x5d, 0xbd, 0xe3, 0x43, 0xfd, 0x82, 0x03, - 0x5c, 0x9d, 0x3d, 0xdd, 0x3c, 0x5d, 0x5d, 0x04, 0x18, 0x84, 0xb8, 0xb8, 0xd8, 0x7c, 0xfd, 0xfd, - 0x5c, 0x1c, 0x23, 0x05, 0x18, 0x85, 0xb8, 0xb9, 0xd8, 0x43, 0x42, 0x5d, 0x83, 0x41, 0x1c, 0x26, - 0x21, 0x5e, 0x2e, 0xce, 0x70, 0x57, 0x17, 0x3f, 0x08, 0x97, 0x59, 0x88, 0x87, 0x8b, 0x23, 0xc4, - 0x23, 0x34, 0x08, 0xcc, 0x63, 0x01, 0xe9, 0x72, 0x0b, 0xf2, 0x04, 0xb1, 0x59, 0x41, 0x32, 0xc1, - 0x8e, 0x21, 0xa1, 0x41, 0x20, 0x1e, 0x1b, 0x48, 0x26, 0x38, 0x14, 0x6c, 0x1e, 0xbb, 0x53, 0x26, - 0x17, 0x7f, 0x72, 0x7e, 0xae, 0x1e, 0x92, 0xcb, 0x9c, 0xf8, 0xe0, 0xce, 0x0a, 0x00, 0x39, 0x3b, - 0x80, 0x31, 0xca, 0x0e, 0x2a, 0x9d, 0x9e, 0x9f, 0x93, 0x98, 0x97, 0xae, 0x97, 0x5f, 0x94, 0xae, - 0x9f, 0x9e, 0x9a, 0x07, 0xf6, 0x94, 0x3e, 0x44, 0x2a, 0xb1, 0x20, 0xb3, 0x18, 0xcd, 0xd3, 0xd6, - 0x70, 0xd6, 0x22, 0x26, 0x66, 0xf7, 0x90, 0x80, 0x24, 0x36, 0xb0, 0x06, 0x63, 0x40, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x6e, 0x23, 0xb2, 0xb3, 0x24, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/type/expr/expr.pb.go b/vendor/google.golang.org/genproto/googleapis/type/expr/expr.pb.go deleted file mode 100644 index 27d46fe0..00000000 --- a/vendor/google.golang.org/genproto/googleapis/type/expr/expr.pb.go +++ /dev/null @@ -1,125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/type/expr.proto - -package expr - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Represents an expression text. Example: -// -// title: "User account presence" -// description: "Determines whether the request has a user account" -// expression: "size(request.user) > 0" -type Expr struct { - // Textual representation of an expression in - // Common Expression Language syntax. - // - // The application context of the containing message determines which - // well-known feature set of CEL is supported. - Expression string `protobuf:"bytes,1,opt,name=expression,proto3" json:"expression,omitempty"` - // An optional title for the expression, i.e. a short string describing - // its purpose. This can be used e.g. in UIs which allow to enter the - // expression. - Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` - // An optional description of the expression. This is a longer text which - // describes the expression, e.g. when hovered over it in a UI. - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - // An optional string indicating the location of the expression for error - // reporting, e.g. a file name and a position in the file. - Location string `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"` - 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_d7920f1ae7a2722f, []int{0} -} - -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 (m *Expr) XXX_Merge(src proto.Message) { - xxx_messageInfo_Expr.Merge(m, 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) GetExpression() string { - if m != nil { - return m.Expression - } - return "" -} - -func (m *Expr) GetTitle() string { - if m != nil { - return m.Title - } - return "" -} - -func (m *Expr) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *Expr) GetLocation() string { - if m != nil { - return m.Location - } - return "" -} - -func init() { - proto.RegisterType((*Expr)(nil), "google.type.Expr") -} - -func init() { proto.RegisterFile("google/type/expr.proto", fileDescriptor_d7920f1ae7a2722f) } - -var fileDescriptor_d7920f1ae7a2722f = []byte{ - // 195 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, 0xad, 0x28, 0x28, 0xd2, 0x2b, 0x28, 0xca, - 0x2f, 0xc9, 0x17, 0xe2, 0x86, 0x88, 0xeb, 0x81, 0xc4, 0x95, 0xaa, 0xb8, 0x58, 0x5c, 0x2b, 0x0a, - 0x8a, 0x84, 0xe4, 0xb8, 0xb8, 0x40, 0x4a, 0x52, 0x8b, 0x8b, 0x33, 0xf3, 0xf3, 0x24, 0x18, 0x15, - 0x18, 0x35, 0x38, 0x83, 0x90, 0x44, 0x84, 0x44, 0xb8, 0x58, 0x4b, 0x32, 0x4b, 0x72, 0x52, 0x25, - 0x98, 0xc0, 0x52, 0x10, 0x8e, 0x90, 0x02, 0x17, 0x77, 0x4a, 0x6a, 0x71, 0x72, 0x51, 0x66, 0x41, - 0x09, 0x48, 0x1b, 0x33, 0x58, 0x0e, 0x59, 0x48, 0x48, 0x8a, 0x8b, 0x23, 0x27, 0x3f, 0x39, 0x11, - 0x2c, 0xcd, 0x02, 0x96, 0x86, 0xf3, 0x9d, 0xa2, 0xb8, 0xf8, 0x93, 0xf3, 0x73, 0xf5, 0x90, 0x9c, - 0xe3, 0xc4, 0x09, 0x72, 0x4c, 0x00, 0xc8, 0x99, 0x01, 0x8c, 0x51, 0x26, 0x50, 0x99, 0xf4, 0xfc, - 0x9c, 0xc4, 0xbc, 0x74, 0xbd, 0xfc, 0xa2, 0x74, 0xfd, 0xf4, 0xd4, 0x3c, 0xb0, 0x27, 0xf4, 0x21, - 0x52, 0x89, 0x05, 0x99, 0xc5, 0x08, 0xff, 0x59, 0x83, 0x88, 0x45, 0x4c, 0xcc, 0xee, 0x21, 0x01, - 0x49, 0x6c, 0x60, 0x65, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe7, 0x67, 0x9e, 0xf5, 0x05, - 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/type/fraction/fraction.pb.go b/vendor/google.golang.org/genproto/googleapis/type/fraction/fraction.pb.go deleted file mode 100644 index 10bd7ff8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/type/fraction/fraction.pb.go +++ /dev/null @@ -1,94 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/type/fraction.proto - -package fraction - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Represents a fraction in terms of a numerator divided by a denominator. -type Fraction struct { - // The portion of the denominator in the faction, e.g. 2 in 2/3. - Numerator int64 `protobuf:"varint,1,opt,name=numerator,proto3" json:"numerator,omitempty"` - // The value by which the numerator is divided, e.g. 3 in 2/3. Must be - // positive. - Denominator int64 `protobuf:"varint,2,opt,name=denominator,proto3" json:"denominator,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Fraction) Reset() { *m = Fraction{} } -func (m *Fraction) String() string { return proto.CompactTextString(m) } -func (*Fraction) ProtoMessage() {} -func (*Fraction) Descriptor() ([]byte, []int) { - return fileDescriptor_154821c252985829, []int{0} -} - -func (m *Fraction) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Fraction.Unmarshal(m, b) -} -func (m *Fraction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Fraction.Marshal(b, m, deterministic) -} -func (m *Fraction) XXX_Merge(src proto.Message) { - xxx_messageInfo_Fraction.Merge(m, src) -} -func (m *Fraction) XXX_Size() int { - return xxx_messageInfo_Fraction.Size(m) -} -func (m *Fraction) XXX_DiscardUnknown() { - xxx_messageInfo_Fraction.DiscardUnknown(m) -} - -var xxx_messageInfo_Fraction proto.InternalMessageInfo - -func (m *Fraction) GetNumerator() int64 { - if m != nil { - return m.Numerator - } - return 0 -} - -func (m *Fraction) GetDenominator() int64 { - if m != nil { - return m.Denominator - } - return 0 -} - -func init() { - proto.RegisterType((*Fraction)(nil), "google.type.Fraction") -} - -func init() { proto.RegisterFile("google/type/fraction.proto", fileDescriptor_154821c252985829) } - -var fileDescriptor_154821c252985829 = []byte{ - // 168 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4a, 0xcf, 0xcf, 0x4f, - 0xcf, 0x49, 0xd5, 0x2f, 0xa9, 0x2c, 0x48, 0xd5, 0x4f, 0x2b, 0x4a, 0x4c, 0x2e, 0xc9, 0xcc, 0xcf, - 0xd3, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x86, 0xc8, 0xe9, 0x81, 0xe4, 0x94, 0xbc, 0xb8, - 0x38, 0xdc, 0xa0, 0xd2, 0x42, 0x32, 0x5c, 0x9c, 0x79, 0xa5, 0xb9, 0xa9, 0x45, 0x89, 0x25, 0xf9, - 0x45, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0xcc, 0x41, 0x08, 0x01, 0x21, 0x05, 0x2e, 0xee, 0x94, 0xd4, - 0xbc, 0xfc, 0xdc, 0xcc, 0x3c, 0xb0, 0x3c, 0x13, 0x58, 0x1e, 0x59, 0xc8, 0x29, 0x8d, 0x8b, 0x3f, - 0x39, 0x3f, 0x57, 0x0f, 0xc9, 0x78, 0x27, 0x5e, 0x98, 0xe1, 0x01, 0x20, 0xab, 0x03, 0x18, 0xa3, - 0x6c, 0xa0, 0xb2, 0xe9, 0xf9, 0x39, 0x89, 0x79, 0xe9, 0x7a, 0xf9, 0x45, 0xe9, 0xfa, 0xe9, 0xa9, - 0x79, 0x60, 0x87, 0xe9, 0x43, 0xa4, 0x12, 0x0b, 0x32, 0x8b, 0x51, 0xdd, 0x6d, 0x0d, 0x63, 0x2c, - 0x62, 0x62, 0x76, 0x0f, 0x09, 0x48, 0x62, 0x03, 0x2b, 0x37, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, - 0xd9, 0xdd, 0xa8, 0x56, 0xe5, 0x00, 0x00, 0x00, -} 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 deleted file mode 100644 index 2fc2f0a8..00000000 --- a/vendor/google.golang.org/genproto/googleapis/type/latlng/latlng.pb.go +++ /dev/null @@ -1,97 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/type/latlng.proto - -package latlng - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// An object representing a latitude/longitude pair. This is expressed as a pair -// of doubles representing degrees latitude and degrees longitude. Unless -// specified otherwise, this must conform to the -// WGS84 -// standard. Values must be within normalized ranges. -type LatLng struct { - // The latitude in degrees. It must be in the range [-90.0, +90.0]. - Latitude float64 `protobuf:"fixed64,1,opt,name=latitude,proto3" json:"latitude,omitempty"` - // The longitude in degrees. It must be in the range [-180.0, +180.0]. - Longitude float64 `protobuf:"fixed64,2,opt,name=longitude,proto3" json:"longitude,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a087c9a103c281a9, []int{0} -} - -func (m *LatLng) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LatLng.Unmarshal(m, b) -} -func (m *LatLng) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LatLng.Marshal(b, m, deterministic) -} -func (m *LatLng) XXX_Merge(src proto.Message) { - xxx_messageInfo_LatLng.Merge(m, src) -} -func (m *LatLng) XXX_Size() int { - return xxx_messageInfo_LatLng.Size(m) -} -func (m *LatLng) XXX_DiscardUnknown() { - xxx_messageInfo_LatLng.DiscardUnknown(m) -} - -var xxx_messageInfo_LatLng proto.InternalMessageInfo - -func (m *LatLng) GetLatitude() float64 { - if m != nil { - return m.Latitude - } - return 0 -} - -func (m *LatLng) GetLongitude() float64 { - if m != nil { - return m.Longitude - } - return 0 -} - -func init() { - proto.RegisterType((*LatLng)(nil), "google.type.LatLng") -} - -func init() { proto.RegisterFile("google/type/latlng.proto", fileDescriptor_a087c9a103c281a9) } - -var fileDescriptor_a087c9a103c281a9 = []byte{ - // 168 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, - 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x86, 0xc8, 0xe8, 0x81, 0x64, 0x94, 0x9c, 0xb8, 0xd8, 0x7c, - 0x12, 0x4b, 0x7c, 0xf2, 0xd2, 0x85, 0xa4, 0xb8, 0x38, 0x72, 0x12, 0x4b, 0x32, 0x4b, 0x4a, 0x53, - 0x52, 0x25, 0x18, 0x15, 0x18, 0x35, 0x18, 0x83, 0xe0, 0x7c, 0x21, 0x19, 0x2e, 0xce, 0x9c, 0xfc, - 0xbc, 0x74, 0x88, 0x24, 0x13, 0x58, 0x12, 0x21, 0xe0, 0x94, 0xcc, 0xc5, 0x9f, 0x9c, 0x9f, 0xab, - 0x87, 0x64, 0xac, 0x13, 0x37, 0xc4, 0xd0, 0x00, 0x90, 0x85, 0x01, 0x8c, 0x51, 0x16, 0x50, 0xb9, - 0xf4, 0xfc, 0x9c, 0xc4, 0xbc, 0x74, 0xbd, 0xfc, 0xa2, 0x74, 0xfd, 0xf4, 0xd4, 0x3c, 0xb0, 0x73, - 0xf4, 0x21, 0x52, 0x89, 0x05, 0x99, 0xc5, 0xc8, 0x6e, 0xb5, 0x86, 0x50, 0x3f, 0x18, 0x19, 0x17, - 0x31, 0x31, 0xbb, 0x87, 0x04, 0x24, 0xb1, 0x81, 0x55, 0x1b, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, - 0xc0, 0x7b, 0xd0, 0x8b, 0xd8, 0x00, 0x00, 0x00, -} 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 deleted file mode 100644 index 81fdfcfe..00000000 --- a/vendor/google.golang.org/genproto/googleapis/type/money/money.pb.go +++ /dev/null @@ -1,110 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/type/money.proto - -package money - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Represents an amount of money with its currency type. -type Money struct { - // The 3-letter currency code defined in ISO 4217. - CurrencyCode string `protobuf:"bytes,1,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"` - // The whole units of the amount. - // For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. - Units int64 `protobuf:"varint,2,opt,name=units,proto3" json:"units,omitempty"` - // Number of nano (10^-9) units of the amount. - // The value must be between -999,999,999 and +999,999,999 inclusive. - // If `units` is positive, `nanos` must be positive or zero. - // If `units` is zero, `nanos` can be positive, zero, or negative. - // If `units` is negative, `nanos` must be negative or zero. - // For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. - Nanos int32 `protobuf:"varint,3,opt,name=nanos,proto3" json:"nanos,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_f093d3d05ab4bbee, []int{0} -} - -func (m *Money) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Money.Unmarshal(m, b) -} -func (m *Money) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Money.Marshal(b, m, deterministic) -} -func (m *Money) XXX_Merge(src proto.Message) { - xxx_messageInfo_Money.Merge(m, src) -} -func (m *Money) XXX_Size() int { - return xxx_messageInfo_Money.Size(m) -} -func (m *Money) XXX_DiscardUnknown() { - xxx_messageInfo_Money.DiscardUnknown(m) -} - -var xxx_messageInfo_Money proto.InternalMessageInfo - -func (m *Money) GetCurrencyCode() string { - if m != nil { - return m.CurrencyCode - } - return "" -} - -func (m *Money) GetUnits() int64 { - if m != nil { - return m.Units - } - return 0 -} - -func (m *Money) GetNanos() int32 { - if m != nil { - return m.Nanos - } - return 0 -} - -func init() { - proto.RegisterType((*Money)(nil), "google.type.Money") -} - -func init() { proto.RegisterFile("google/type/money.proto", fileDescriptor_f093d3d05ab4bbee) } - -var fileDescriptor_f093d3d05ab4bbee = []byte{ - // 193 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, - 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x86, 0x48, 0xe8, 0x81, 0x24, 0x94, 0x22, 0xb8, 0x58, 0x7d, 0x41, - 0x72, 0x42, 0xca, 0x5c, 0xbc, 0xc9, 0xa5, 0x45, 0x45, 0xa9, 0x79, 0xc9, 0x95, 0xf1, 0xc9, 0xf9, - 0x29, 0xa9, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0x9c, 0x41, 0x3c, 0x30, 0x41, 0xe7, 0xfc, 0x94, 0x54, - 0x21, 0x11, 0x2e, 0xd6, 0xd2, 0xbc, 0xcc, 0x92, 0x62, 0x09, 0x26, 0x05, 0x46, 0x0d, 0xe6, 0x20, - 0x08, 0x07, 0x24, 0x9a, 0x97, 0x98, 0x97, 0x5f, 0x2c, 0xc1, 0xac, 0xc0, 0xa8, 0xc1, 0x1a, 0x04, - 0xe1, 0x38, 0x25, 0x70, 0xf1, 0x27, 0xe7, 0xe7, 0xea, 0x21, 0x59, 0xe6, 0xc4, 0x05, 0xb6, 0x2a, - 0x00, 0xe4, 0x8a, 0x00, 0xc6, 0x28, 0x33, 0xa8, 0x54, 0x7a, 0x7e, 0x4e, 0x62, 0x5e, 0xba, 0x5e, - 0x7e, 0x51, 0xba, 0x7e, 0x7a, 0x6a, 0x1e, 0xd8, 0x8d, 0xfa, 0x10, 0xa9, 0xc4, 0x82, 0xcc, 0x62, - 0x24, 0xf7, 0x5b, 0x83, 0xc9, 0x1f, 0x8c, 0x8c, 0x8b, 0x98, 0x98, 0xdd, 0x43, 0x02, 0x92, 0xd8, - 0xc0, 0x6a, 0x8d, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x2d, 0x5b, 0x21, 0x82, 0xea, 0x00, 0x00, - 0x00, -} 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 deleted file mode 100644 index 5a48e573..00000000 --- a/vendor/google.golang.org/genproto/googleapis/type/postaladdress/postal_address.pb.go +++ /dev/null @@ -1,257 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/type/postal_address.proto - -package postaladdress - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Represents a postal address, e.g. for postal delivery or payments addresses. -// Given a postal address, a postal service can deliver items to a premise, P.O. -// Box or similar. -// It is not intended to model geographical locations (roads, towns, -// mountains). -// -// In typical usage an address would be created via user input or from importing -// existing data, depending on the type of process. -// -// Advice on address input / editing: -// - Use an i18n-ready address widget such as -// https://github.com/google/libaddressinput) -// - Users should not be presented with UI elements for input or editing of -// fields outside countries where that field is used. -// -// For more guidance on how to use this schema, please see: -// https://support.google.com/business/answer/6397478 -type PostalAddress struct { - // The schema revision of the `PostalAddress`. - // All new revisions **must** be backward compatible with old revisions. - Revision int32 `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"` - // Required. CLDR region code of the country/region of the address. This - // is never inferred and it is up to the user to ensure the value is - // correct. See http://cldr.unicode.org/ and - // http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html - // for details. Example: "CH" for Switzerland. - RegionCode string `protobuf:"bytes,2,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"` - // Optional. BCP-47 language code of the contents of this address (if - // known). This is often the UI language of the input form or is expected - // to match one of the languages used in the address' country/region, or their - // transliterated equivalents. - // This can affect formatting in certain countries, but is not critical - // to the correctness of the data and will never affect any validation or - // other non-formatting related operations. - // - // If this value is not known, it should be omitted (rather than specifying a - // possibly incorrect default). - // - // Examples: "zh-Hant", "ja", "ja-Latn", "en". - LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` - // Optional. Postal code of the address. Not all countries use or require - // postal codes to be present, but where they are used, they may trigger - // additional validation with other parts of the address (e.g. state/zip - // validation in the U.S.A.). - PostalCode string `protobuf:"bytes,4,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"` - // Optional. Additional, country-specific, sorting code. This is not used - // in most regions. Where it is used, the value is either a string like - // "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number - // alone, representing the "sector code" (Jamaica), "delivery area indicator" - // (Malawi) or "post office indicator" (e.g. Côte d'Ivoire). - SortingCode string `protobuf:"bytes,5,opt,name=sorting_code,json=sortingCode,proto3" json:"sorting_code,omitempty"` - // Optional. Highest administrative subdivision which is used for postal - // addresses of a country or region. - // For example, this can be a state, a province, an oblast, or a prefecture. - // Specifically, for Spain this is the province and not the autonomous - // community (e.g. "Barcelona" and not "Catalonia"). - // Many countries don't use an administrative area in postal addresses. E.g. - // in Switzerland this should be left unpopulated. - AdministrativeArea string `protobuf:"bytes,6,opt,name=administrative_area,json=administrativeArea,proto3" json:"administrative_area,omitempty"` - // Optional. Generally refers to the city/town portion of the address. - // Examples: US city, IT comune, UK post town. - // In regions of the world where localities are not well defined or do not fit - // into this structure well, leave locality empty and use address_lines. - Locality string `protobuf:"bytes,7,opt,name=locality,proto3" json:"locality,omitempty"` - // Optional. Sublocality of the address. - // For example, this can be neighborhoods, boroughs, districts. - Sublocality string `protobuf:"bytes,8,opt,name=sublocality,proto3" json:"sublocality,omitempty"` - // Unstructured address lines describing the lower levels of an address. - // - // Because values in address_lines do not have type information and may - // sometimes contain multiple values in a single field (e.g. - // "Austin, TX"), it is important that the line order is clear. The order of - // address lines should be "envelope order" for the country/region of the - // address. In places where this can vary (e.g. Japan), address_language is - // used to make it explicit (e.g. "ja" for large-to-small ordering and - // "ja-Latn" or "en" for small-to-large). This way, the most specific line of - // an address can be selected based on the language. - // - // The minimum permitted structural representation of an address consists - // of a region_code with all remaining information placed in the - // address_lines. It would be possible to format such an address very - // approximately without geocoding, but no semantic reasoning could be - // made about any of the address components until it was at least - // partially resolved. - // - // Creating an address only containing a region_code and address_lines, and - // then geocoding is the recommended way to handle completely unstructured - // addresses (as opposed to guessing which parts of the address should be - // localities or administrative areas). - AddressLines []string `protobuf:"bytes,9,rep,name=address_lines,json=addressLines,proto3" json:"address_lines,omitempty"` - // Optional. The recipient at the address. - // This field may, under certain circumstances, contain multiline information. - // For example, it might contain "care of" information. - Recipients []string `protobuf:"bytes,10,rep,name=recipients,proto3" json:"recipients,omitempty"` - // Optional. The name of the organization at the address. - Organization string `protobuf:"bytes,11,opt,name=organization,proto3" json:"organization,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_17c0e9bca935790c, []int{0} -} - -func (m *PostalAddress) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PostalAddress.Unmarshal(m, b) -} -func (m *PostalAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PostalAddress.Marshal(b, m, deterministic) -} -func (m *PostalAddress) XXX_Merge(src proto.Message) { - xxx_messageInfo_PostalAddress.Merge(m, src) -} -func (m *PostalAddress) XXX_Size() int { - return xxx_messageInfo_PostalAddress.Size(m) -} -func (m *PostalAddress) XXX_DiscardUnknown() { - xxx_messageInfo_PostalAddress.DiscardUnknown(m) -} - -var xxx_messageInfo_PostalAddress proto.InternalMessageInfo - -func (m *PostalAddress) GetRevision() int32 { - if m != nil { - return m.Revision - } - return 0 -} - -func (m *PostalAddress) GetRegionCode() string { - if m != nil { - return m.RegionCode - } - return "" -} - -func (m *PostalAddress) GetLanguageCode() string { - if m != nil { - return m.LanguageCode - } - return "" -} - -func (m *PostalAddress) GetPostalCode() string { - if m != nil { - return m.PostalCode - } - return "" -} - -func (m *PostalAddress) GetSortingCode() string { - if m != nil { - return m.SortingCode - } - return "" -} - -func (m *PostalAddress) GetAdministrativeArea() string { - if m != nil { - return m.AdministrativeArea - } - return "" -} - -func (m *PostalAddress) GetLocality() string { - if m != nil { - return m.Locality - } - return "" -} - -func (m *PostalAddress) GetSublocality() string { - if m != nil { - return m.Sublocality - } - return "" -} - -func (m *PostalAddress) GetAddressLines() []string { - if m != nil { - return m.AddressLines - } - return nil -} - -func (m *PostalAddress) GetRecipients() []string { - if m != nil { - return m.Recipients - } - return nil -} - -func (m *PostalAddress) GetOrganization() string { - if m != nil { - return m.Organization - } - return "" -} - -func init() { - proto.RegisterType((*PostalAddress)(nil), "google.type.PostalAddress") -} - -func init() { proto.RegisterFile("google/type/postal_address.proto", fileDescriptor_17c0e9bca935790c) } - -var fileDescriptor_17c0e9bca935790c = []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, - 0x25, 0x43, 0xc7, 0x4e, 0x50, 0xa9, 0x5d, 0x3a, 0x44, 0xa8, 0x53, 0x97, 0xc8, 0x24, 0x27, 0xcb, - 0x52, 0xf0, 0x45, 0xb6, 0x41, 0xa2, 0xdf, 0xa1, 0x5f, 0xa2, 0x9f, 0xb4, 0xb2, 0x9d, 0xd2, 0x30, - 0xde, 0xef, 0x7e, 0x49, 0xee, 0xee, 0x1f, 0xc8, 0x04, 0x91, 0x68, 0xb1, 0xb0, 0xe7, 0x0e, 0x8b, - 0x8e, 0x8c, 0xe5, 0x6d, 0xc5, 0x9b, 0x46, 0xa3, 0x31, 0x79, 0xa7, 0xc9, 0x12, 0x4b, 0x82, 0x91, - 0x3b, 0x63, 0xf5, 0x19, 0xc3, 0xa2, 0xf4, 0xd6, 0x26, 0x48, 0xec, 0x06, 0xa6, 0x1a, 0x4f, 0xd2, - 0x48, 0x52, 0x69, 0x94, 0x45, 0xeb, 0xf1, 0xee, 0x52, 0xb3, 0x25, 0x24, 0x1a, 0x85, 0x24, 0x55, - 0xd5, 0xd4, 0x60, 0x3a, 0xca, 0xa2, 0xf5, 0x6c, 0x07, 0x01, 0x3d, 0x51, 0x83, 0xec, 0x1e, 0x16, - 0x2d, 0x57, 0xe2, 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da, 0x86, 0xd3, 0x22, 0x3e, 0x02, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/genproto/googleapis/type/quaternion/quaternion.pb.go b/vendor/google.golang.org/genproto/googleapis/type/quaternion/quaternion.pb.go deleted file mode 100644 index af40fff1..00000000 --- a/vendor/google.golang.org/genproto/googleapis/type/quaternion/quaternion.pb.go +++ /dev/null @@ -1,167 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/type/quaternion.proto - -package quaternion - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// A quaternion is defined as the quotient of two directed lines in a -// three-dimensional space or equivalently as the quotient of two Euclidean -// vectors (https://en.wikipedia.org/wiki/Quaternion). -// -// Quaternions are often used in calculations involving three-dimensional -// rotations (https://en.wikipedia.org/wiki/Quaternions_and_spatial_rotation), -// as they provide greater mathematical robustness by avoiding the gimbal lock -// problems that can be encountered when using Euler angles -// (https://en.wikipedia.org/wiki/Gimbal_lock). -// -// Quaternions are generally represented in this form: -// -// w + xi + yj + zk -// -// where x, y, z, and w are real numbers, and i, j, and k are three imaginary -// numbers. -// -// Our naming choice (x, y, z, w) comes from the desire to avoid confusion for -// those interested in the geometric properties of the quaternion in the 3D -// Cartesian space. Other texts often use alternative names or subscripts, such -// as (a, b, c, d), (1, i, j, k), or (0, 1, 2, 3), which are perhaps better -// suited for mathematical interpretations. -// -// To avoid any confusion, as well as to maintain compatibility with a large -// number of software libraries, the quaternions represented using the protocol -// buffer below *must* follow the Hamilton convention, which defines ij = k -// (i.e. a right-handed algebra), and therefore: -// -// i^2 = j^2 = k^2 = ijk = −1 -// ij = −ji = k -// jk = −kj = i -// ki = −ik = j -// -// Please DO NOT use this to represent quaternions that follow the JPL -// convention, or any of the other quaternion flavors out there. -// -// Definitions: -// -// - Quaternion norm (or magnitude): sqrt(x^2 + y^2 + z^2 + w^2). -// - Unit (or normalized) quaternion: a quaternion whose norm is 1. -// - Pure quaternion: a quaternion whose scalar component (w) is 0. -// - Rotation quaternion: a unit quaternion used to represent rotation. -// - Orientation quaternion: a unit quaternion used to represent orientation. -// -// A quaternion can be normalized by dividing it by its norm. The resulting -// quaternion maintains the same direction, but has a norm of 1, i.e. it moves -// on the unit sphere. This is generally necessary for rotation and orientation -// quaternions, to avoid rounding errors: -// https://en.wikipedia.org/wiki/Rotation_formalisms_in_three_dimensions -// -// Note that (x, y, z, w) and (-x, -y, -z, -w) represent the same rotation, but -// normalization would be even more useful, e.g. for comparison purposes, if it -// would produce a unique representation. It is thus recommended that w be kept -// positive, which can be achieved by changing all the signs when w is negative. -// -// -// Next available tag: 5 -type Quaternion struct { - // The x component. - X float64 `protobuf:"fixed64,1,opt,name=x,proto3" json:"x,omitempty"` - // The y component. - Y float64 `protobuf:"fixed64,2,opt,name=y,proto3" json:"y,omitempty"` - // The z component. - Z float64 `protobuf:"fixed64,3,opt,name=z,proto3" json:"z,omitempty"` - // The scalar component. - W float64 `protobuf:"fixed64,4,opt,name=w,proto3" json:"w,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Quaternion) Reset() { *m = Quaternion{} } -func (m *Quaternion) String() string { return proto.CompactTextString(m) } -func (*Quaternion) ProtoMessage() {} -func (*Quaternion) Descriptor() ([]byte, []int) { - return fileDescriptor_6b847e1bdd83ff5e, []int{0} -} - -func (m *Quaternion) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Quaternion.Unmarshal(m, b) -} -func (m *Quaternion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Quaternion.Marshal(b, m, deterministic) -} -func (m *Quaternion) XXX_Merge(src proto.Message) { - xxx_messageInfo_Quaternion.Merge(m, src) -} -func (m *Quaternion) XXX_Size() int { - return xxx_messageInfo_Quaternion.Size(m) -} -func (m *Quaternion) XXX_DiscardUnknown() { - xxx_messageInfo_Quaternion.DiscardUnknown(m) -} - -var xxx_messageInfo_Quaternion proto.InternalMessageInfo - -func (m *Quaternion) GetX() float64 { - if m != nil { - return m.X - } - return 0 -} - -func (m *Quaternion) GetY() float64 { - if m != nil { - return m.Y - } - return 0 -} - -func (m *Quaternion) GetZ() float64 { - if m != nil { - return m.Z - } - return 0 -} - -func (m *Quaternion) GetW() float64 { - if m != nil { - return m.W - } - return 0 -} - -func init() { - proto.RegisterType((*Quaternion)(nil), "google.type.Quaternion") -} - -func init() { proto.RegisterFile("google/type/quaternion.proto", fileDescriptor_6b847e1bdd83ff5e) } - -var fileDescriptor_6b847e1bdd83ff5e = []byte{ - // 170 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x49, 0xcf, 0xcf, 0x4f, - 0xcf, 0x49, 0xd5, 0x2f, 0xa9, 0x2c, 0x48, 0xd5, 0x2f, 0x2c, 0x4d, 0x2c, 0x49, 0x2d, 0xca, 0xcb, - 0xcc, 0xcf, 0xd3, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x86, 0xc8, 0xea, 0x81, 0x64, 0x95, - 0x5c, 0xb8, 0xb8, 0x02, 0xe1, 0x0a, 0x84, 0x78, 0xb8, 0x18, 0x2b, 0x24, 0x18, 0x15, 0x18, 0x35, - 0x18, 0x83, 0x18, 0x2b, 0x40, 0xbc, 0x4a, 0x09, 0x26, 0x08, 0xaf, 0x12, 0xc4, 0xab, 0x92, 0x60, - 0x86, 0xf0, 0xaa, 0x40, 0xbc, 0x72, 0x09, 0x16, 0x08, 0xaf, 0xdc, 0x29, 0x9f, 0x8b, 0x3f, 0x39, - 0x3f, 0x57, 0x0f, 0xc9, 0x60, 0x27, 0x7e, 0x84, 0xb1, 0x01, 0x20, 0x6b, 0x03, 0x18, 0xa3, 0x1c, - 0xa0, 0xf2, 0xe9, 0xf9, 0x39, 0x89, 0x79, 0xe9, 0x7a, 0xf9, 0x45, 0xe9, 0xfa, 0xe9, 0xa9, 0x79, - 0x60, 0x47, 0xe9, 0x43, 0xa4, 0x12, 0x0b, 0x32, 0x8b, 0xd1, 0x5d, 0x6d, 0x8d, 0x60, 0xfe, 0x60, - 0x64, 0x5c, 0xc4, 0xc4, 0xec, 0x1e, 0x12, 0x90, 0xc4, 0x06, 0xd6, 0x65, 0x0c, 0x08, 0x00, 0x00, - 0xff, 0xff, 0xc0, 0x0f, 0xce, 0x99, 0xea, 0x00, 0x00, 0x00, -} 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 deleted file mode 100644 index 4e4e7237..00000000 --- a/vendor/google.golang.org/genproto/googleapis/type/timeofday/timeofday.pb.go +++ /dev/null @@ -1,117 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/type/timeofday.proto - -package timeofday - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Represents a time of day. The date and time zone are either not significant -// or are specified elsewhere. An API may choose to allow leap seconds. Related -// types are [google.type.Date][google.type.Date] and `google.protobuf.Timestamp`. -type TimeOfDay struct { - // Hours of day in 24 hour format. Should be from 0 to 23. An API may choose - // to allow the value "24:00:00" for scenarios like business closing time. - Hours int32 `protobuf:"varint,1,opt,name=hours,proto3" json:"hours,omitempty"` - // Minutes of hour of day. Must be from 0 to 59. - Minutes int32 `protobuf:"varint,2,opt,name=minutes,proto3" json:"minutes,omitempty"` - // Seconds of minutes of the time. Must normally be from 0 to 59. An API may - // allow the value 60 if it allows leap-seconds. - Seconds int32 `protobuf:"varint,3,opt,name=seconds,proto3" json:"seconds,omitempty"` - // Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. - Nanos int32 `protobuf:"varint,4,opt,name=nanos,proto3" json:"nanos,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_6c354ab94588cebb, []int{0} -} - -func (m *TimeOfDay) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TimeOfDay.Unmarshal(m, b) -} -func (m *TimeOfDay) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TimeOfDay.Marshal(b, m, deterministic) -} -func (m *TimeOfDay) XXX_Merge(src proto.Message) { - xxx_messageInfo_TimeOfDay.Merge(m, src) -} -func (m *TimeOfDay) XXX_Size() int { - return xxx_messageInfo_TimeOfDay.Size(m) -} -func (m *TimeOfDay) XXX_DiscardUnknown() { - xxx_messageInfo_TimeOfDay.DiscardUnknown(m) -} - -var xxx_messageInfo_TimeOfDay proto.InternalMessageInfo - -func (m *TimeOfDay) GetHours() int32 { - if m != nil { - return m.Hours - } - return 0 -} - -func (m *TimeOfDay) GetMinutes() int32 { - if m != nil { - return m.Minutes - } - return 0 -} - -func (m *TimeOfDay) GetSeconds() int32 { - if m != nil { - return m.Seconds - } - return 0 -} - -func (m *TimeOfDay) GetNanos() int32 { - if m != nil { - return m.Nanos - } - return 0 -} - -func init() { - proto.RegisterType((*TimeOfDay)(nil), "google.type.TimeOfDay") -} - -func init() { proto.RegisterFile("google/type/timeofday.proto", fileDescriptor_6c354ab94588cebb) } - -var fileDescriptor_6c354ab94588cebb = []byte{ - // 201 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, - 0xac, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x86, 0x48, 0xea, 0x81, 0x24, 0x95, 0xb2, - 0xb9, 0x38, 0x43, 0x32, 0x73, 0x53, 0xfd, 0xd3, 0x5c, 0x12, 0x2b, 0x85, 0x44, 0xb8, 0x58, 0x33, - 0xf2, 0x4b, 0x8b, 0x8a, 0x25, 0x18, 0x15, 0x18, 0x35, 0x58, 0x83, 0x20, 0x1c, 0x21, 0x09, 0x2e, - 0xf6, 0xdc, 0xcc, 0xbc, 0xd2, 0x92, 0xd4, 0x62, 0x09, 0x26, 0xb0, 0x38, 0x8c, 0x0b, 0x92, 0x29, - 0x4e, 0x4d, 0xce, 0xcf, 0x4b, 0x29, 0x96, 0x60, 0x86, 0xc8, 0x40, 0xb9, 0x20, 0x93, 0xf2, 0x12, - 0xf3, 0xf2, 0x8b, 0x25, 0x58, 0x20, 0x26, 0x81, 0x39, 0x4e, 0x39, 0x5c, 0xfc, 0xc9, 0xf9, 0xb9, - 0x7a, 0x48, 0xf6, 0x3b, 0xf1, 0xc1, 0x6d, 0x0f, 0x00, 0x39, 0x2e, 0x80, 0x31, 0xca, 0x0e, 0x2a, - 0x9d, 0x9e, 0x9f, 0x93, 0x98, 0x97, 0xae, 0x97, 0x5f, 0x94, 0xae, 0x9f, 0x9e, 0x9a, 0x07, 0x76, - 0xba, 0x3e, 0x44, 0x2a, 0xb1, 0x20, 0xb3, 0x18, 0xcd, 0x6b, 0xd6, 0x70, 0xd6, 0x0f, 0x46, 0xc6, - 0x45, 0x4c, 0xcc, 0xee, 0x21, 0x01, 0x49, 0x6c, 0x60, 0x3d, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, - 0xff, 0x21, 0xc8, 0xc5, 0x17, 0x0d, 0x01, 0x00, 0x00, -} 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 deleted file mode 100644 index 298748b0..00000000 --- a/vendor/google.golang.org/genproto/googleapis/watcher/v1/watch.pb.go +++ /dev/null @@ -1,448 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/watcher/v1/watch.proto - -package watcher - -import ( - context "context" - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - any "github.com/golang/protobuf/ptypes/any" - _ "github.com/golang/protobuf/ptypes/empty" - _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/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.ProtoPackageIsVersion3 // please upgrade the proto package - -// A reported value can be in one of the following states: -type Change_State int32 - -const ( - // The element exists and its full value is included in data. - Change_EXISTS Change_State = 0 - // The element does not exist. - Change_DOES_NOT_EXIST Change_State = 1 - // Element may or may not exist. Used only for initial state delivery when - // the client is not interested in fetching the initial state. See the - // "Initial State" section above. - Change_INITIAL_STATE_SKIPPED Change_State = 2 - // The element may exist, but some error has occurred. More information is - // available in the data field - the value is a serialized Status - // proto (from [google.rpc.Status][]) - Change_ERROR Change_State = 3 -) - -var Change_State_name = map[int32]string{ - 0: "EXISTS", - 1: "DOES_NOT_EXIST", - 2: "INITIAL_STATE_SKIPPED", - 3: "ERROR", -} - -var Change_State_value = map[string]int32{ - "EXISTS": 0, - "DOES_NOT_EXIST": 1, - "INITIAL_STATE_SKIPPED": 2, - "ERROR": 3, -} - -func (x Change_State) String() string { - return proto.EnumName(Change_State_name, int32(x)) -} - -func (Change_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_fbde036e07af626b, []int{2, 0} -} - -// The message used by the client to register interest in an entity. -type Request struct { - // The `target` value **must** be a valid URL path pointing to an entity - // to watch. Note that the service name **must** be - // removed from the target field (e.g., the target field must say - // "/foo/bar", not "myservice.googleapis.com/foo/bar"). A client is - // also allowed to pass system-specific parameters in the URL that - // are only obeyed by some implementations. Some parameters will be - // implementation-specific. However, some have predefined meaning - // and are listed here: - // - // * recursive = true|false [default=false] - // If set to true, indicates that the client wants to watch all elements - // of entities in the subtree rooted at the entity's name in `target`. For - // descendants that are not the immediate children of the target, the - // `Change.element` will contain slashes. - // - // Note that some namespaces and entities will not support recursive - // watching. When watching such an entity, a client must not set recursive - // to true. Otherwise, it will receive an `UNIMPLEMENTED` error. - // - // Normal URL encoding must be used inside `target`. For example, if a query - // parameter name or value, or the non-query parameter portion of `target` - // contains a special character, it must be %-encoded. We recommend that - // clients and servers use their runtime's URL library to produce and consume - // target values. - Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` - // The `resume_marker` specifies how much of the existing underlying state is - // delivered to the client when the watch request is received by the - // system. The client can set this marker in one of the following ways to get - // different semantics: - // - // * Parameter is not specified or has the value "". - // Semantics: Fetch initial state. - // The client wants the entity's initial state to be delivered. See the - // description in "Initial State". - // - // * Parameter is set to the string "now" (UTF-8 encoding). - // Semantics: Fetch new changes only. - // The client just wants to get the changes received by the system after - // the watch point. The system may deliver changes from before the watch - // point as well. - // - // * Parameter is set to a value received in an earlier - // `Change.resume_marker` field while watching the same entity. - // Semantics: Resume from a specific point. - // The client wants to receive the changes from a specific point; this - // value must correspond to a value received in the `Change.resume_marker` - // field. The system may deliver changes from before the `resume_marker` - // as well. If the system cannot resume the stream from this point (e.g., - // if it is too far behind in the stream), it can raise the - // `FAILED_PRECONDITION` error. - // - // An implementation MUST support an unspecified parameter and the - // empty string "" marker (initial state fetching) and the "now" marker. - // It need not support resuming from a specific point. - ResumeMarker []byte `protobuf:"bytes,2,opt,name=resume_marker,json=resumeMarker,proto3" json:"resume_marker,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_fbde036e07af626b, []int{0} -} - -func (m *Request) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Request.Unmarshal(m, b) -} -func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Request.Marshal(b, m, deterministic) -} -func (m *Request) XXX_Merge(src proto.Message) { - xxx_messageInfo_Request.Merge(m, src) -} -func (m *Request) XXX_Size() int { - return xxx_messageInfo_Request.Size(m) -} -func (m *Request) XXX_DiscardUnknown() { - xxx_messageInfo_Request.DiscardUnknown(m) -} - -var xxx_messageInfo_Request proto.InternalMessageInfo - -func (m *Request) GetTarget() string { - if m != nil { - return m.Target - } - return "" -} - -func (m *Request) GetResumeMarker() []byte { - if m != nil { - return m.ResumeMarker - } - return nil -} - -// A batch of Change messages. -type ChangeBatch struct { - // A list of Change messages. - Changes []*Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_fbde036e07af626b, []int{1} -} - -func (m *ChangeBatch) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChangeBatch.Unmarshal(m, b) -} -func (m *ChangeBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChangeBatch.Marshal(b, m, deterministic) -} -func (m *ChangeBatch) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChangeBatch.Merge(m, src) -} -func (m *ChangeBatch) XXX_Size() int { - return xxx_messageInfo_ChangeBatch.Size(m) -} -func (m *ChangeBatch) XXX_DiscardUnknown() { - xxx_messageInfo_ChangeBatch.DiscardUnknown(m) -} - -var xxx_messageInfo_ChangeBatch proto.InternalMessageInfo - -func (m *ChangeBatch) GetChanges() []*Change { - if m != nil { - return m.Changes - } - return nil -} - -// A Change indicates the most recent state of an element. -type Change struct { - // Name of the element, interpreted relative to the entity's actual - // name. "" refers to the entity itself. The element name is a valid - // UTF-8 string. - Element string `protobuf:"bytes,1,opt,name=element,proto3" json:"element,omitempty"` - // The state of the `element`. - State Change_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.watcher.v1.Change_State" json:"state,omitempty"` - // The actual change data. This field is present only when `state() == EXISTS` - // or `state() == ERROR`. Please see - // [google.protobuf.Any][google.protobuf.Any] about how to use the Any type. - Data *any.Any `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"` - // If present, provides a compact representation of all the messages that have - // been received by the caller for the given entity, e.g., it could be a - // sequence number or a multi-part timestamp/version vector. This marker can - // be provided in the Request message, allowing the caller to resume the - // stream watching at a specific point without fetching the initial state. - ResumeMarker []byte `protobuf:"bytes,4,opt,name=resume_marker,json=resumeMarker,proto3" json:"resume_marker,omitempty"` - // If true, this Change is followed by more Changes that are in the same group - // as this Change. - Continued bool `protobuf:"varint,5,opt,name=continued,proto3" json:"continued,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_fbde036e07af626b, []int{2} -} - -func (m *Change) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Change.Unmarshal(m, b) -} -func (m *Change) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Change.Marshal(b, m, deterministic) -} -func (m *Change) XXX_Merge(src proto.Message) { - xxx_messageInfo_Change.Merge(m, src) -} -func (m *Change) XXX_Size() int { - return xxx_messageInfo_Change.Size(m) -} -func (m *Change) XXX_DiscardUnknown() { - xxx_messageInfo_Change.DiscardUnknown(m) -} - -var xxx_messageInfo_Change proto.InternalMessageInfo - -func (m *Change) GetElement() string { - if m != nil { - return m.Element - } - return "" -} - -func (m *Change) GetState() Change_State { - if m != nil { - return m.State - } - return Change_EXISTS -} - -func (m *Change) GetData() *any.Any { - if m != nil { - return m.Data - } - return nil -} - -func (m *Change) GetResumeMarker() []byte { - if m != nil { - return m.ResumeMarker - } - return nil -} - -func (m *Change) GetContinued() bool { - if m != nil { - return m.Continued - } - return false -} - -func init() { - proto.RegisterEnum("google.watcher.v1.Change_State", Change_State_name, Change_State_value) - proto.RegisterType((*Request)(nil), "google.watcher.v1.Request") - proto.RegisterType((*ChangeBatch)(nil), "google.watcher.v1.ChangeBatch") - proto.RegisterType((*Change)(nil), "google.watcher.v1.Change") -} - -func init() { proto.RegisterFile("google/watcher/v1/watch.proto", fileDescriptor_fbde036e07af626b) } - -var fileDescriptor_fbde036e07af626b = []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, 0x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, 0xcc, 0x45, 0xd9, 0x76, 0x4e, 0x41, 0x5d, 0x38, - 0xdf, 0x2c, 0x6a, 0x8e, 0x3e, 0xbe, 0x32, 0x82, 0x42, 0x2c, 0x29, 0x2f, 0x02, 0x51, 0x15, 0x61, - 0xc1, 0xb8, 0x5a, 0x63, 0xa8, 0x29, 0xba, 0x5a, 0xd4, 0xff, 0x7c, 0xeb, 0xd7, 0xa6, 0xbc, 0xb4, - 0x95, 0xe8, 0xe4, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x48, 0x0a, 0xba, 0x6c, 0xfa, 0x02, 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 - -// WatcherClient is the client API for Watcher service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type WatcherClient interface { - // Start a streaming RPC to get watch information from the server. - Watch(ctx context.Context, in *Request, opts ...grpc.CallOption) (Watcher_WatchClient, error) -} - -type watcherClient struct { - cc *grpc.ClientConn -} - -func NewWatcherClient(cc *grpc.ClientConn) WatcherClient { - return &watcherClient{cc} -} - -func (c *watcherClient) Watch(ctx context.Context, in *Request, opts ...grpc.CallOption) (Watcher_WatchClient, error) { - stream, err := c.cc.NewStream(ctx, &_Watcher_serviceDesc.Streams[0], "/google.watcher.v1.Watcher/Watch", opts...) - if err != nil { - return nil, err - } - x := &watcherWatchClient{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 Watcher_WatchClient interface { - Recv() (*ChangeBatch, error) - grpc.ClientStream -} - -type watcherWatchClient struct { - grpc.ClientStream -} - -func (x *watcherWatchClient) Recv() (*ChangeBatch, error) { - m := new(ChangeBatch) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// WatcherServer is the server API for Watcher service. -type WatcherServer interface { - // Start a streaming RPC to get watch information from the server. - Watch(*Request, Watcher_WatchServer) error -} - -// UnimplementedWatcherServer can be embedded to have forward compatible implementations. -type UnimplementedWatcherServer struct { -} - -func (*UnimplementedWatcherServer) Watch(req *Request, srv Watcher_WatchServer) error { - return status.Errorf(codes.Unimplemented, "method Watch not implemented") -} - -func RegisterWatcherServer(s *grpc.Server, srv WatcherServer) { - s.RegisterService(&_Watcher_serviceDesc, srv) -} - -func _Watcher_Watch_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(Request) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(WatcherServer).Watch(m, &watcherWatchServer{stream}) -} - -type Watcher_WatchServer interface { - Send(*ChangeBatch) error - grpc.ServerStream -} - -type watcherWatchServer struct { - grpc.ServerStream -} - -func (x *watcherWatchServer) Send(m *ChangeBatch) error { - return x.ServerStream.SendMsg(m) -} - -var _Watcher_serviceDesc = grpc.ServiceDesc{ - ServiceName: "google.watcher.v1.Watcher", - HandlerType: (*WatcherServer)(nil), - Methods: []grpc.MethodDesc{}, - Streams: []grpc.StreamDesc{ - { - StreamName: "Watch", - Handler: _Watcher_Watch_Handler, - ServerStreams: true, - }, - }, - Metadata: "google/watcher/v1/watch.proto", -} diff --git a/vendor/google.golang.org/genproto/protobuf/api/api.pb.go b/vendor/google.golang.org/genproto/protobuf/api/api.pb.go deleted file mode 100644 index c82cc0ec..00000000 --- a/vendor/google.golang.org/genproto/protobuf/api/api.pb.go +++ /dev/null @@ -1,411 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/protobuf/api.proto - -package api - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - ptype "google.golang.org/genproto/protobuf/ptype" - source_context "google.golang.org/genproto/protobuf/source_context" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// Api is a light-weight descriptor for an API Interface. -// -// Interfaces are also described as "protocol buffer services" in some contexts, -// such as by the "service" keyword in a .proto file, but they are different -// from API Services, which represent a concrete implementation of an interface -// as opposed to simply a description of methods and bindings. They are also -// sometimes simply referred to as "APIs" in other contexts, such as the name of -// this message itself. See https://cloud.google.com/apis/design/glossary for -// detailed terminology. -type Api struct { - // The fully qualified name of this interface, including package name - // followed by the interface's simple name. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The methods of this interface, in unspecified order. - Methods []*Method `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"` - // Any metadata attached to the interface. - Options []*ptype.Option `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"` - // A version string for this interface. If specified, must have the form - // `major-version.minor-version`, as in `1.10`. If the minor version is - // omitted, it defaults to zero. If the entire version field is empty, the - // major version is derived from the package name, as outlined below. If the - // field is not empty, the version in the package name will be verified to be - // consistent with what is provided here. - // - // The versioning schema uses [semantic - // versioning](http://semver.org) where the major version number - // indicates a breaking change and the minor version an additive, - // non-breaking change. Both version numbers are signals to users - // what to expect from different versions, and should be carefully - // chosen based on the product plan. - // - // The major version is also reflected in the package name of the - // interface, which must end in `v`, as in - // `google.feature.v1`. For major versions 0 and 1, the suffix can - // be omitted. Zero major versions must only be used for - // experimental, non-GA interfaces. - // - // - Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` - // Source context for the protocol buffer service represented by this - // message. - SourceContext *source_context.SourceContext `protobuf:"bytes,5,opt,name=source_context,json=sourceContext,proto3" json:"source_context,omitempty"` - // Included interfaces. See [Mixin][]. - Mixins []*Mixin `protobuf:"bytes,6,rep,name=mixins,proto3" json:"mixins,omitempty"` - // The source syntax of the service. - Syntax ptype.Syntax `protobuf:"varint,7,opt,name=syntax,proto3,enum=google.protobuf.Syntax" json:"syntax,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a2ec32096296c143, []int{0} -} - -func (m *Api) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Api.Unmarshal(m, b) -} -func (m *Api) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Api.Marshal(b, m, deterministic) -} -func (m *Api) XXX_Merge(src proto.Message) { - xxx_messageInfo_Api.Merge(m, src) -} -func (m *Api) XXX_Size() int { - return xxx_messageInfo_Api.Size(m) -} -func (m *Api) XXX_DiscardUnknown() { - xxx_messageInfo_Api.DiscardUnknown(m) -} - -var xxx_messageInfo_Api proto.InternalMessageInfo - -func (m *Api) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Api) GetMethods() []*Method { - if m != nil { - return m.Methods - } - return nil -} - -func (m *Api) GetOptions() []*ptype.Option { - if m != nil { - return m.Options - } - return nil -} - -func (m *Api) GetVersion() string { - if m != nil { - return m.Version - } - return "" -} - -func (m *Api) GetSourceContext() *source_context.SourceContext { - if m != nil { - return m.SourceContext - } - return nil -} - -func (m *Api) GetMixins() []*Mixin { - if m != nil { - return m.Mixins - } - return nil -} - -func (m *Api) GetSyntax() ptype.Syntax { - if m != nil { - return m.Syntax - } - return ptype.Syntax_SYNTAX_PROTO2 -} - -// Method represents a method of an API interface. -type Method struct { - // The simple name of this method. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // A URL of the input message type. - RequestTypeUrl string `protobuf:"bytes,2,opt,name=request_type_url,json=requestTypeUrl,proto3" json:"request_type_url,omitempty"` - // If true, the request is streamed. - RequestStreaming bool `protobuf:"varint,3,opt,name=request_streaming,json=requestStreaming,proto3" json:"request_streaming,omitempty"` - // The URL of the output message type. - ResponseTypeUrl string `protobuf:"bytes,4,opt,name=response_type_url,json=responseTypeUrl,proto3" json:"response_type_url,omitempty"` - // If true, the response is streamed. - ResponseStreaming bool `protobuf:"varint,5,opt,name=response_streaming,json=responseStreaming,proto3" json:"response_streaming,omitempty"` - // Any metadata attached to the method. - Options []*ptype.Option `protobuf:"bytes,6,rep,name=options,proto3" json:"options,omitempty"` - // The source syntax of this method. - Syntax ptype.Syntax `protobuf:"varint,7,opt,name=syntax,proto3,enum=google.protobuf.Syntax" json:"syntax,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a2ec32096296c143, []int{1} -} - -func (m *Method) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Method.Unmarshal(m, b) -} -func (m *Method) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Method.Marshal(b, m, deterministic) -} -func (m *Method) XXX_Merge(src proto.Message) { - xxx_messageInfo_Method.Merge(m, src) -} -func (m *Method) XXX_Size() int { - return xxx_messageInfo_Method.Size(m) -} -func (m *Method) XXX_DiscardUnknown() { - xxx_messageInfo_Method.DiscardUnknown(m) -} - -var xxx_messageInfo_Method proto.InternalMessageInfo - -func (m *Method) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Method) GetRequestTypeUrl() string { - if m != nil { - return m.RequestTypeUrl - } - return "" -} - -func (m *Method) GetRequestStreaming() bool { - if m != nil { - return m.RequestStreaming - } - return false -} - -func (m *Method) GetResponseTypeUrl() string { - if m != nil { - return m.ResponseTypeUrl - } - return "" -} - -func (m *Method) GetResponseStreaming() bool { - if m != nil { - return m.ResponseStreaming - } - return false -} - -func (m *Method) GetOptions() []*ptype.Option { - if m != nil { - return m.Options - } - return nil -} - -func (m *Method) GetSyntax() ptype.Syntax { - if m != nil { - return m.Syntax - } - return ptype.Syntax_SYNTAX_PROTO2 -} - -// Declares an API Interface to be included in this interface. The including -// interface must redeclare all the methods from the included interface, but -// documentation and options are inherited as follows: -// -// - If after comment and whitespace stripping, the documentation -// string of the redeclared method is empty, it will be inherited -// from the original method. -// -// - Each annotation belonging to the service config (http, -// visibility) which is not set in the redeclared method will be -// inherited. -// -// - If an http annotation is inherited, the path pattern will be -// modified as follows. Any version prefix will be replaced by the -// version of the including interface plus the [root][] path if -// specified. -// -// Example of a simple mixin: -// -// package google.acl.v1; -// service AccessControl { -// // Get the underlying ACL object. -// rpc GetAcl(GetAclRequest) returns (Acl) { -// option (google.api.http).get = "/v1/{resource=**}:getAcl"; -// } -// } -// -// package google.storage.v2; -// service Storage { -// rpc GetAcl(GetAclRequest) returns (Acl); -// -// // Get a data record. -// rpc GetData(GetDataRequest) returns (Data) { -// option (google.api.http).get = "/v2/{resource=**}"; -// } -// } -// -// Example of a mixin configuration: -// -// apis: -// - name: google.storage.v2.Storage -// mixins: -// - name: google.acl.v1.AccessControl -// -// The mixin construct implies that all methods in `AccessControl` are -// also declared with same name and request/response types in -// `Storage`. A documentation generator or annotation processor will -// see the effective `Storage.GetAcl` method after inherting -// documentation and annotations as follows: -// -// service Storage { -// // Get the underlying ACL object. -// rpc GetAcl(GetAclRequest) returns (Acl) { -// option (google.api.http).get = "/v2/{resource=**}:getAcl"; -// } -// ... -// } -// -// Note how the version in the path pattern changed from `v1` to `v2`. -// -// If the `root` field in the mixin is specified, it should be a -// relative path under which inherited HTTP paths are placed. Example: -// -// apis: -// - name: google.storage.v2.Storage -// mixins: -// - name: google.acl.v1.AccessControl -// root: acls -// -// This implies the following inherited HTTP annotation: -// -// service Storage { -// // Get the underlying ACL object. -// rpc GetAcl(GetAclRequest) returns (Acl) { -// option (google.api.http).get = "/v2/acls/{resource=**}:getAcl"; -// } -// ... -// } -type Mixin struct { - // The fully qualified name of the interface which is included. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // If non-empty specifies a path under which inherited HTTP paths - // are rooted. - Root string `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_a2ec32096296c143, []int{2} -} - -func (m *Mixin) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Mixin.Unmarshal(m, b) -} -func (m *Mixin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Mixin.Marshal(b, m, deterministic) -} -func (m *Mixin) XXX_Merge(src proto.Message) { - xxx_messageInfo_Mixin.Merge(m, src) -} -func (m *Mixin) XXX_Size() int { - return xxx_messageInfo_Mixin.Size(m) -} -func (m *Mixin) XXX_DiscardUnknown() { - xxx_messageInfo_Mixin.DiscardUnknown(m) -} - -var xxx_messageInfo_Mixin proto.InternalMessageInfo - -func (m *Mixin) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Mixin) GetRoot() string { - if m != nil { - return m.Root - } - return "" -} - -func init() { - proto.RegisterType((*Api)(nil), "google.protobuf.Api") - proto.RegisterType((*Method)(nil), "google.protobuf.Method") - proto.RegisterType((*Mixin)(nil), "google.protobuf.Mixin") -} - -func init() { proto.RegisterFile("google/protobuf/api.proto", fileDescriptor_a2ec32096296c143) } - -var fileDescriptor_a2ec32096296c143 = []byte{ - // 432 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0xcf, 0x8e, 0xd3, 0x30, - 0x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0x39, 0xe5, 0x06, - 0x3d, 0xfa, 0x9d, 0x5e, 0x66, 0x82, 0xfd, 0x74, 0xbd, 0x79, 0x32, 0xfb, 0xe5, 0x5e, 0xcf, 0x9b, - 0x9e, 0xc4, 0xce, 0xf9, 0x91, 0x16, 0xc5, 0x1b, 0x0e, 0x3f, 0x78, 0x1d, 0x9e, 0x5a, 0xf9, 0xa6, - 0xf1, 0xc5, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xfe, 0x07, 0x73, 0x11, 0x97, 0x03, 0x00, 0x00, -} 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 deleted file mode 100644 index a0889f0c..00000000 --- a/vendor/google.golang.org/genproto/protobuf/field_mask/field_mask.pb.go +++ /dev/null @@ -1,282 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/protobuf/field_mask.proto - -package field_mask - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// `FieldMask` represents a set of symbolic field paths, for example: -// -// 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, 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 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 -// } -// c: [1] -// } -// -// And an update message: -// -// f { -// b { -// d: 10 -// } -// c: [2] -// } -// -// then if the field mask is: -// -// paths: ["f.b", "f.c"] -// -// then the result will be: -// -// f { -// b { -// d: 10 -// x: 2 -// } -// c: [1, 2] -// } -// -// 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. -// 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. -// -// ## Field Mask Verification -// -// The implementation of any API method which has a FieldMask type field in the -// request should verify the included field paths, and return an -// `INVALID_ARGUMENT` error if any path is duplicated or unmappable. -type FieldMask struct { - // The set of field mask paths. - Paths []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_5158202634f0da48, []int{0} -} - -func (m *FieldMask) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FieldMask.Unmarshal(m, b) -} -func (m *FieldMask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FieldMask.Marshal(b, m, deterministic) -} -func (m *FieldMask) XXX_Merge(src proto.Message) { - xxx_messageInfo_FieldMask.Merge(m, src) -} -func (m *FieldMask) XXX_Size() int { - return xxx_messageInfo_FieldMask.Size(m) -} -func (m *FieldMask) XXX_DiscardUnknown() { - xxx_messageInfo_FieldMask.DiscardUnknown(m) -} - -var xxx_messageInfo_FieldMask proto.InternalMessageInfo - -func (m *FieldMask) GetPaths() []string { - if m != nil { - return m.Paths - } - return nil -} - -func init() { - proto.RegisterType((*FieldMask)(nil), "google.protobuf.FieldMask") -} - -func init() { proto.RegisterFile("google/protobuf/field_mask.proto", fileDescriptor_5158202634f0da48) } - -var fileDescriptor_5158202634f0da48 = []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, 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, 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 deleted file mode 100644 index 03ab0f6c..00000000 --- a/vendor/google.golang.org/genproto/protobuf/ptype/type.pb.go +++ /dev/null @@ -1,655 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/protobuf/type.proto - -package ptype - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" - any "github.com/golang/protobuf/ptypes/any" - source_context "google.golang.org/genproto/protobuf/source_context" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// The syntax in which a protocol buffer element is defined. -type Syntax int32 - -const ( - // Syntax `proto2`. - Syntax_SYNTAX_PROTO2 Syntax = 0 - // Syntax `proto3`. - Syntax_SYNTAX_PROTO3 Syntax = 1 -) - -var Syntax_name = map[int32]string{ - 0: "SYNTAX_PROTO2", - 1: "SYNTAX_PROTO3", -} - -var Syntax_value = map[string]int32{ - "SYNTAX_PROTO2": 0, - "SYNTAX_PROTO3": 1, -} - -func (x Syntax) String() string { - return proto.EnumName(Syntax_name, int32(x)) -} - -func (Syntax) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dd271cc1e348c538, []int{0} -} - -// Basic field types. -type Field_Kind int32 - -const ( - // Field type unknown. - Field_TYPE_UNKNOWN Field_Kind = 0 - // Field type double. - Field_TYPE_DOUBLE Field_Kind = 1 - // Field type float. - Field_TYPE_FLOAT Field_Kind = 2 - // Field type int64. - Field_TYPE_INT64 Field_Kind = 3 - // Field type uint64. - Field_TYPE_UINT64 Field_Kind = 4 - // Field type int32. - Field_TYPE_INT32 Field_Kind = 5 - // Field type fixed64. - Field_TYPE_FIXED64 Field_Kind = 6 - // Field type fixed32. - Field_TYPE_FIXED32 Field_Kind = 7 - // Field type bool. - Field_TYPE_BOOL Field_Kind = 8 - // Field type string. - Field_TYPE_STRING Field_Kind = 9 - // Field type group. Proto2 syntax only, and deprecated. - Field_TYPE_GROUP Field_Kind = 10 - // Field type message. - Field_TYPE_MESSAGE Field_Kind = 11 - // Field type bytes. - Field_TYPE_BYTES Field_Kind = 12 - // Field type uint32. - Field_TYPE_UINT32 Field_Kind = 13 - // Field type enum. - Field_TYPE_ENUM Field_Kind = 14 - // Field type sfixed32. - Field_TYPE_SFIXED32 Field_Kind = 15 - // Field type sfixed64. - Field_TYPE_SFIXED64 Field_Kind = 16 - // Field type sint32. - Field_TYPE_SINT32 Field_Kind = 17 - // Field type sint64. - Field_TYPE_SINT64 Field_Kind = 18 -) - -var Field_Kind_name = map[int32]string{ - 0: "TYPE_UNKNOWN", - 1: "TYPE_DOUBLE", - 2: "TYPE_FLOAT", - 3: "TYPE_INT64", - 4: "TYPE_UINT64", - 5: "TYPE_INT32", - 6: "TYPE_FIXED64", - 7: "TYPE_FIXED32", - 8: "TYPE_BOOL", - 9: "TYPE_STRING", - 10: "TYPE_GROUP", - 11: "TYPE_MESSAGE", - 12: "TYPE_BYTES", - 13: "TYPE_UINT32", - 14: "TYPE_ENUM", - 15: "TYPE_SFIXED32", - 16: "TYPE_SFIXED64", - 17: "TYPE_SINT32", - 18: "TYPE_SINT64", -} - -var Field_Kind_value = map[string]int32{ - "TYPE_UNKNOWN": 0, - "TYPE_DOUBLE": 1, - "TYPE_FLOAT": 2, - "TYPE_INT64": 3, - "TYPE_UINT64": 4, - "TYPE_INT32": 5, - "TYPE_FIXED64": 6, - "TYPE_FIXED32": 7, - "TYPE_BOOL": 8, - "TYPE_STRING": 9, - "TYPE_GROUP": 10, - "TYPE_MESSAGE": 11, - "TYPE_BYTES": 12, - "TYPE_UINT32": 13, - "TYPE_ENUM": 14, - "TYPE_SFIXED32": 15, - "TYPE_SFIXED64": 16, - "TYPE_SINT32": 17, - "TYPE_SINT64": 18, -} - -func (x Field_Kind) String() string { - return proto.EnumName(Field_Kind_name, int32(x)) -} - -func (Field_Kind) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dd271cc1e348c538, []int{1, 0} -} - -// Whether a field is optional, required, or repeated. -type Field_Cardinality int32 - -const ( - // For fields with unknown cardinality. - Field_CARDINALITY_UNKNOWN Field_Cardinality = 0 - // For optional fields. - Field_CARDINALITY_OPTIONAL Field_Cardinality = 1 - // For required fields. Proto2 syntax only. - Field_CARDINALITY_REQUIRED Field_Cardinality = 2 - // For repeated fields. - Field_CARDINALITY_REPEATED Field_Cardinality = 3 -) - -var Field_Cardinality_name = map[int32]string{ - 0: "CARDINALITY_UNKNOWN", - 1: "CARDINALITY_OPTIONAL", - 2: "CARDINALITY_REQUIRED", - 3: "CARDINALITY_REPEATED", -} - -var Field_Cardinality_value = map[string]int32{ - "CARDINALITY_UNKNOWN": 0, - "CARDINALITY_OPTIONAL": 1, - "CARDINALITY_REQUIRED": 2, - "CARDINALITY_REPEATED": 3, -} - -func (x Field_Cardinality) String() string { - return proto.EnumName(Field_Cardinality_name, int32(x)) -} - -func (Field_Cardinality) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dd271cc1e348c538, []int{1, 1} -} - -// A protocol buffer message type. -type Type struct { - // The fully qualified message name. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The list of fields. - Fields []*Field `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` - // The list of types appearing in `oneof` definitions in this type. - Oneofs []string `protobuf:"bytes,3,rep,name=oneofs,proto3" json:"oneofs,omitempty"` - // The protocol buffer options. - Options []*Option `protobuf:"bytes,4,rep,name=options,proto3" json:"options,omitempty"` - // The source context. - SourceContext *source_context.SourceContext `protobuf:"bytes,5,opt,name=source_context,json=sourceContext,proto3" json:"source_context,omitempty"` - // The source syntax. - Syntax Syntax `protobuf:"varint,6,opt,name=syntax,proto3,enum=google.protobuf.Syntax" json:"syntax,omitempty"` - 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_dd271cc1e348c538, []int{0} -} - -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 (m *Type) XXX_Merge(src proto.Message) { - xxx_messageInfo_Type.Merge(m, 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 - -func (m *Type) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Type) GetFields() []*Field { - if m != nil { - return m.Fields - } - return nil -} - -func (m *Type) GetOneofs() []string { - if m != nil { - return m.Oneofs - } - return nil -} - -func (m *Type) GetOptions() []*Option { - if m != nil { - return m.Options - } - return nil -} - -func (m *Type) GetSourceContext() *source_context.SourceContext { - if m != nil { - return m.SourceContext - } - return nil -} - -func (m *Type) GetSyntax() Syntax { - if m != nil { - return m.Syntax - } - return Syntax_SYNTAX_PROTO2 -} - -// A single field of a message type. -type Field struct { - // The field type. - Kind Field_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=google.protobuf.Field_Kind" json:"kind,omitempty"` - // The field cardinality. - Cardinality Field_Cardinality `protobuf:"varint,2,opt,name=cardinality,proto3,enum=google.protobuf.Field_Cardinality" json:"cardinality,omitempty"` - // The field number. - Number int32 `protobuf:"varint,3,opt,name=number,proto3" json:"number,omitempty"` - // The field name. - Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` - // The field type URL, without the scheme, for message or enumeration - // types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`. - TypeUrl string `protobuf:"bytes,6,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"` - // The index of the field type in `Type.oneofs`, for message or enumeration - // types. The first type has index 1; zero means the type is not in the list. - OneofIndex int32 `protobuf:"varint,7,opt,name=oneof_index,json=oneofIndex,proto3" json:"oneof_index,omitempty"` - // Whether to use alternative packed wire representation. - Packed bool `protobuf:"varint,8,opt,name=packed,proto3" json:"packed,omitempty"` - // The protocol buffer options. - Options []*Option `protobuf:"bytes,9,rep,name=options,proto3" json:"options,omitempty"` - // The field JSON name. - JsonName string `protobuf:"bytes,10,opt,name=json_name,json=jsonName,proto3" json:"json_name,omitempty"` - // The string value of the default value of this field. Proto2 syntax only. - DefaultValue string `protobuf:"bytes,11,opt,name=default_value,json=defaultValue,proto3" json:"default_value,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_dd271cc1e348c538, []int{1} -} - -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 (m *Field) XXX_Merge(src proto.Message) { - xxx_messageInfo_Field.Merge(m, 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) GetKind() Field_Kind { - if m != nil { - return m.Kind - } - return Field_TYPE_UNKNOWN -} - -func (m *Field) GetCardinality() Field_Cardinality { - if m != nil { - return m.Cardinality - } - return Field_CARDINALITY_UNKNOWN -} - -func (m *Field) GetNumber() int32 { - if m != nil { - return m.Number - } - return 0 -} - -func (m *Field) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Field) GetTypeUrl() string { - if m != nil { - return m.TypeUrl - } - return "" -} - -func (m *Field) GetOneofIndex() int32 { - if m != nil { - return m.OneofIndex - } - return 0 -} - -func (m *Field) GetPacked() bool { - if m != nil { - return m.Packed - } - return false -} - -func (m *Field) GetOptions() []*Option { - if m != nil { - return m.Options - } - return nil -} - -func (m *Field) GetJsonName() string { - if m != nil { - return m.JsonName - } - return "" -} - -func (m *Field) GetDefaultValue() string { - if m != nil { - return m.DefaultValue - } - return "" -} - -// Enum type definition. -type Enum struct { - // Enum type name. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Enum value definitions. - Enumvalue []*EnumValue `protobuf:"bytes,2,rep,name=enumvalue,proto3" json:"enumvalue,omitempty"` - // Protocol buffer options. - Options []*Option `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"` - // The source context. - SourceContext *source_context.SourceContext `protobuf:"bytes,4,opt,name=source_context,json=sourceContext,proto3" json:"source_context,omitempty"` - // The source syntax. - Syntax Syntax `protobuf:"varint,5,opt,name=syntax,proto3,enum=google.protobuf.Syntax" json:"syntax,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_dd271cc1e348c538, []int{2} -} - -func (m *Enum) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Enum.Unmarshal(m, b) -} -func (m *Enum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Enum.Marshal(b, m, deterministic) -} -func (m *Enum) XXX_Merge(src proto.Message) { - xxx_messageInfo_Enum.Merge(m, src) -} -func (m *Enum) XXX_Size() int { - return xxx_messageInfo_Enum.Size(m) -} -func (m *Enum) XXX_DiscardUnknown() { - xxx_messageInfo_Enum.DiscardUnknown(m) -} - -var xxx_messageInfo_Enum proto.InternalMessageInfo - -func (m *Enum) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Enum) GetEnumvalue() []*EnumValue { - if m != nil { - return m.Enumvalue - } - return nil -} - -func (m *Enum) GetOptions() []*Option { - if m != nil { - return m.Options - } - return nil -} - -func (m *Enum) GetSourceContext() *source_context.SourceContext { - if m != nil { - return m.SourceContext - } - return nil -} - -func (m *Enum) GetSyntax() Syntax { - if m != nil { - return m.Syntax - } - return Syntax_SYNTAX_PROTO2 -} - -// Enum value definition. -type EnumValue struct { - // Enum value name. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Enum value number. - Number int32 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` - // Protocol buffer options. - Options []*Option `protobuf:"bytes,3,rep,name=options,proto3" json:"options,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_dd271cc1e348c538, []int{3} -} - -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 (m *EnumValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_EnumValue.Merge(m, 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) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *EnumValue) GetNumber() int32 { - if m != nil { - return m.Number - } - return 0 -} - -func (m *EnumValue) GetOptions() []*Option { - if m != nil { - return m.Options - } - return nil -} - -// A protocol buffer option, which can be attached to a message, field, -// enumeration, etc. -type Option struct { - // The option's name. For protobuf built-in options (options defined in - // descriptor.proto), this is the short name. For example, `"map_entry"`. - // For custom options, it should be the fully-qualified name. For example, - // `"google.api.http"`. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The option's value packed in an Any message. If the value is a primitive, - // the corresponding wrapper type defined in google/protobuf/wrappers.proto - // should be used. If the value is an enum, it should be stored as an int32 - // value using the google.protobuf.Int32Value type. - Value *any.Any `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_dd271cc1e348c538, []int{4} -} - -func (m *Option) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Option.Unmarshal(m, b) -} -func (m *Option) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Option.Marshal(b, m, deterministic) -} -func (m *Option) XXX_Merge(src proto.Message) { - xxx_messageInfo_Option.Merge(m, src) -} -func (m *Option) XXX_Size() int { - return xxx_messageInfo_Option.Size(m) -} -func (m *Option) XXX_DiscardUnknown() { - xxx_messageInfo_Option.DiscardUnknown(m) -} - -var xxx_messageInfo_Option proto.InternalMessageInfo - -func (m *Option) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Option) GetValue() *any.Any { - if m != nil { - return m.Value - } - return nil -} - -func init() { - proto.RegisterEnum("google.protobuf.Syntax", Syntax_name, Syntax_value) - proto.RegisterEnum("google.protobuf.Field_Kind", Field_Kind_name, Field_Kind_value) - proto.RegisterEnum("google.protobuf.Field_Cardinality", Field_Cardinality_name, Field_Cardinality_value) - proto.RegisterType((*Type)(nil), "google.protobuf.Type") - proto.RegisterType((*Field)(nil), "google.protobuf.Field") - proto.RegisterType((*Enum)(nil), "google.protobuf.Enum") - proto.RegisterType((*EnumValue)(nil), "google.protobuf.EnumValue") - proto.RegisterType((*Option)(nil), "google.protobuf.Option") -} - -func init() { proto.RegisterFile("google/protobuf/type.proto", fileDescriptor_dd271cc1e348c538) } - -var fileDescriptor_dd271cc1e348c538 = []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, - 0x40, 0x59, 0x80, 0x0a, 0xa3, 0x51, 0xa5, 0xae, 0x60, 0xf0, 0x50, 0x6b, 0x88, 0xed, 0x5e, 0x4c, - 0x93, 0xe9, 0x06, 0x79, 0xe0, 0x0e, 0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, 0xfa, 0x9e, 0xfa, - 0xfe, 0x0d, 0x0b, 0x7e, 0x66, 0x3c, 0x41, 0x78, 0xa7, 0x0a, 0xff, 0xd6, 0x3f, 0x01, 0x00, 0x00, - 0xff, 0xff, 0x6d, 0x2b, 0xc0, 0xd8, 0x24, 0x07, 0x00, 0x00, -} 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 deleted file mode 100644 index fe44f7e1..00000000 --- a/vendor/google.golang.org/genproto/protobuf/source_context/source_context.pb.go +++ /dev/null @@ -1,89 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/protobuf/source_context.proto - -package source_context - -import ( - fmt "fmt" - math "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package - -// `SourceContext` represents information about the source of a -// protobuf element, like the file in which it is defined. -type SourceContext struct { - // The path-qualified name of the .proto file that contained the associated - // protobuf element. For example: `"google/protobuf/source_context.proto"`. - FileName string `protobuf:"bytes,1,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` - 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_b686cdb126d509db, []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 (m *SourceContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_SourceContext.Merge(m, 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 - -func (m *SourceContext) GetFileName() string { - if m != nil { - return m.FileName - } - return "" -} - -func init() { - proto.RegisterType((*SourceContext)(nil), "google.protobuf.SourceContext") -} - -func init() { - proto.RegisterFile("google/protobuf/source_context.proto", fileDescriptor_b686cdb126d509db) -} - -var fileDescriptor_b686cdb126d509db = []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, - 0x4a, 0x4e, 0x8d, 0x4f, 0xce, 0xcf, 0x2b, 0x49, 0xad, 0x28, 0xd1, 0x03, 0x8b, 0x0b, 0xf1, 0x43, - 0x54, 0xe9, 0xc1, 0x54, 0x29, 0xe9, 0x70, 0xf1, 0x06, 0x83, 0x15, 0x3a, 0x43, 0xd4, 0x09, 0x49, - 0x73, 0x71, 0xa6, 0x65, 0xe6, 0xa4, 0xc6, 0xe7, 0x25, 0xe6, 0xa6, 0x4a, 0x30, 0x2a, 0x30, 0x6a, - 0x70, 0x06, 0x71, 0x80, 0x04, 0xfc, 0x12, 0x73, 0x53, 0x9d, 0xa6, 0x32, 0x72, 0x09, 0x27, 0xe7, - 0xe7, 0xea, 0xa1, 0x99, 0xe2, 0x24, 0x84, 0x62, 0x46, 0x00, 0x48, 0x38, 0x80, 0x31, 0xca, 0x11, - 0xaa, 0x2c, 0x3d, 0x3f, 0x27, 0x31, 0x2f, 0x5d, 0x2f, 0xbf, 0x28, 0x5d, 0x3f, 0x3d, 0x35, 0x0f, - 0xac, 0x09, 0x97, 0x33, 0xad, 0x51, 0xb9, 0x8b, 0x98, 0x98, 0xdd, 0x03, 0x9c, 0x56, 0x31, 0xc9, - 0xb9, 0x43, 0x4c, 0x0a, 0x80, 0xea, 0xd2, 0x0b, 0x4f, 0xcd, 0xc9, 0xf1, 0xce, 0xcb, 0x2f, 0xcf, - 0x0b, 0xa9, 0x2c, 0x48, 0x2d, 0x4e, 0x62, 0x03, 0x1b, 0x67, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, - 0x5c, 0xbd, 0xa4, 0x22, 0x05, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/grpc/balancer/grpclb/grpc_lb_v1/load_balancer.pb.go b/vendor/google.golang.org/grpc/balancer/grpclb/grpc_lb_v1/load_balancer.pb.go deleted file mode 100644 index 1723e4a3..00000000 --- a/vendor/google.golang.org/grpc/balancer/grpclb/grpc_lb_v1/load_balancer.pb.go +++ /dev/null @@ -1,722 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: grpc/lb/v1/load_balancer.proto - -package grpc_lb_v1 - -import ( - context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type LoadBalanceRequest struct { - // Types that are valid to be assigned to LoadBalanceRequestType: - // *LoadBalanceRequest_InitialRequest - // *LoadBalanceRequest_ClientStats - LoadBalanceRequestType isLoadBalanceRequest_LoadBalanceRequestType `protobuf_oneof:"load_balance_request_type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LoadBalanceRequest) Reset() { *m = LoadBalanceRequest{} } -func (m *LoadBalanceRequest) String() string { return proto.CompactTextString(m) } -func (*LoadBalanceRequest) ProtoMessage() {} -func (*LoadBalanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7cd3f6d792743fdf, []int{0} -} - -func (m *LoadBalanceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LoadBalanceRequest.Unmarshal(m, b) -} -func (m *LoadBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LoadBalanceRequest.Marshal(b, m, deterministic) -} -func (m *LoadBalanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_LoadBalanceRequest.Merge(m, src) -} -func (m *LoadBalanceRequest) XXX_Size() int { - return xxx_messageInfo_LoadBalanceRequest.Size(m) -} -func (m *LoadBalanceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_LoadBalanceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_LoadBalanceRequest proto.InternalMessageInfo - -type isLoadBalanceRequest_LoadBalanceRequestType interface { - isLoadBalanceRequest_LoadBalanceRequestType() -} - -type LoadBalanceRequest_InitialRequest struct { - InitialRequest *InitialLoadBalanceRequest `protobuf:"bytes,1,opt,name=initial_request,json=initialRequest,proto3,oneof"` -} - -type LoadBalanceRequest_ClientStats struct { - ClientStats *ClientStats `protobuf:"bytes,2,opt,name=client_stats,json=clientStats,proto3,oneof"` -} - -func (*LoadBalanceRequest_InitialRequest) isLoadBalanceRequest_LoadBalanceRequestType() {} - -func (*LoadBalanceRequest_ClientStats) isLoadBalanceRequest_LoadBalanceRequestType() {} - -func (m *LoadBalanceRequest) GetLoadBalanceRequestType() isLoadBalanceRequest_LoadBalanceRequestType { - if m != nil { - return m.LoadBalanceRequestType - } - return nil -} - -func (m *LoadBalanceRequest) GetInitialRequest() *InitialLoadBalanceRequest { - if x, ok := m.GetLoadBalanceRequestType().(*LoadBalanceRequest_InitialRequest); ok { - return x.InitialRequest - } - return nil -} - -func (m *LoadBalanceRequest) GetClientStats() *ClientStats { - if x, ok := m.GetLoadBalanceRequestType().(*LoadBalanceRequest_ClientStats); ok { - return x.ClientStats - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*LoadBalanceRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*LoadBalanceRequest_InitialRequest)(nil), - (*LoadBalanceRequest_ClientStats)(nil), - } -} - -type InitialLoadBalanceRequest struct { - // The name of the load balanced service (e.g., service.googleapis.com). Its - // length should be less than 256 bytes. - // The name might include a port number. How to handle the port number is up - // to the balancer. - 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 *InitialLoadBalanceRequest) Reset() { *m = InitialLoadBalanceRequest{} } -func (m *InitialLoadBalanceRequest) String() string { return proto.CompactTextString(m) } -func (*InitialLoadBalanceRequest) ProtoMessage() {} -func (*InitialLoadBalanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7cd3f6d792743fdf, []int{1} -} - -func (m *InitialLoadBalanceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InitialLoadBalanceRequest.Unmarshal(m, b) -} -func (m *InitialLoadBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InitialLoadBalanceRequest.Marshal(b, m, deterministic) -} -func (m *InitialLoadBalanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_InitialLoadBalanceRequest.Merge(m, src) -} -func (m *InitialLoadBalanceRequest) XXX_Size() int { - return xxx_messageInfo_InitialLoadBalanceRequest.Size(m) -} -func (m *InitialLoadBalanceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_InitialLoadBalanceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_InitialLoadBalanceRequest proto.InternalMessageInfo - -func (m *InitialLoadBalanceRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Contains the number of calls finished for a particular load balance token. -type ClientStatsPerToken struct { - // See Server.load_balance_token. - LoadBalanceToken string `protobuf:"bytes,1,opt,name=load_balance_token,json=loadBalanceToken,proto3" json:"load_balance_token,omitempty"` - // The total number of RPCs that finished associated with the token. - NumCalls int64 `protobuf:"varint,2,opt,name=num_calls,json=numCalls,proto3" json:"num_calls,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ClientStatsPerToken) Reset() { *m = ClientStatsPerToken{} } -func (m *ClientStatsPerToken) String() string { return proto.CompactTextString(m) } -func (*ClientStatsPerToken) ProtoMessage() {} -func (*ClientStatsPerToken) Descriptor() ([]byte, []int) { - return fileDescriptor_7cd3f6d792743fdf, []int{2} -} - -func (m *ClientStatsPerToken) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClientStatsPerToken.Unmarshal(m, b) -} -func (m *ClientStatsPerToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClientStatsPerToken.Marshal(b, m, deterministic) -} -func (m *ClientStatsPerToken) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClientStatsPerToken.Merge(m, src) -} -func (m *ClientStatsPerToken) XXX_Size() int { - return xxx_messageInfo_ClientStatsPerToken.Size(m) -} -func (m *ClientStatsPerToken) XXX_DiscardUnknown() { - xxx_messageInfo_ClientStatsPerToken.DiscardUnknown(m) -} - -var xxx_messageInfo_ClientStatsPerToken proto.InternalMessageInfo - -func (m *ClientStatsPerToken) GetLoadBalanceToken() string { - if m != nil { - return m.LoadBalanceToken - } - return "" -} - -func (m *ClientStatsPerToken) GetNumCalls() int64 { - if m != nil { - return m.NumCalls - } - return 0 -} - -// Contains client level statistics that are useful to load balancing. Each -// count except the timestamp should be reset to zero after reporting the stats. -type ClientStats struct { - // The timestamp of generating the report. - Timestamp *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - // The total number of RPCs that started. - NumCallsStarted int64 `protobuf:"varint,2,opt,name=num_calls_started,json=numCallsStarted,proto3" json:"num_calls_started,omitempty"` - // The total number of RPCs that finished. - NumCallsFinished int64 `protobuf:"varint,3,opt,name=num_calls_finished,json=numCallsFinished,proto3" json:"num_calls_finished,omitempty"` - // The total number of RPCs that failed to reach a server except dropped RPCs. - NumCallsFinishedWithClientFailedToSend int64 `protobuf:"varint,6,opt,name=num_calls_finished_with_client_failed_to_send,json=numCallsFinishedWithClientFailedToSend,proto3" json:"num_calls_finished_with_client_failed_to_send,omitempty"` - // The total number of RPCs that finished and are known to have been received - // by a server. - NumCallsFinishedKnownReceived int64 `protobuf:"varint,7,opt,name=num_calls_finished_known_received,json=numCallsFinishedKnownReceived,proto3" json:"num_calls_finished_known_received,omitempty"` - // The list of dropped calls. - CallsFinishedWithDrop []*ClientStatsPerToken `protobuf:"bytes,8,rep,name=calls_finished_with_drop,json=callsFinishedWithDrop,proto3" json:"calls_finished_with_drop,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ClientStats) Reset() { *m = ClientStats{} } -func (m *ClientStats) String() string { return proto.CompactTextString(m) } -func (*ClientStats) ProtoMessage() {} -func (*ClientStats) Descriptor() ([]byte, []int) { - return fileDescriptor_7cd3f6d792743fdf, []int{3} -} - -func (m *ClientStats) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClientStats.Unmarshal(m, b) -} -func (m *ClientStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClientStats.Marshal(b, m, deterministic) -} -func (m *ClientStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClientStats.Merge(m, src) -} -func (m *ClientStats) XXX_Size() int { - return xxx_messageInfo_ClientStats.Size(m) -} -func (m *ClientStats) XXX_DiscardUnknown() { - xxx_messageInfo_ClientStats.DiscardUnknown(m) -} - -var xxx_messageInfo_ClientStats proto.InternalMessageInfo - -func (m *ClientStats) GetTimestamp() *timestamp.Timestamp { - if m != nil { - return m.Timestamp - } - return nil -} - -func (m *ClientStats) GetNumCallsStarted() int64 { - if m != nil { - return m.NumCallsStarted - } - return 0 -} - -func (m *ClientStats) GetNumCallsFinished() int64 { - if m != nil { - return m.NumCallsFinished - } - return 0 -} - -func (m *ClientStats) GetNumCallsFinishedWithClientFailedToSend() int64 { - if m != nil { - return m.NumCallsFinishedWithClientFailedToSend - } - return 0 -} - -func (m *ClientStats) GetNumCallsFinishedKnownReceived() int64 { - if m != nil { - return m.NumCallsFinishedKnownReceived - } - return 0 -} - -func (m *ClientStats) GetCallsFinishedWithDrop() []*ClientStatsPerToken { - if m != nil { - return m.CallsFinishedWithDrop - } - return nil -} - -type LoadBalanceResponse struct { - // Types that are valid to be assigned to LoadBalanceResponseType: - // *LoadBalanceResponse_InitialResponse - // *LoadBalanceResponse_ServerList - LoadBalanceResponseType isLoadBalanceResponse_LoadBalanceResponseType `protobuf_oneof:"load_balance_response_type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LoadBalanceResponse) Reset() { *m = LoadBalanceResponse{} } -func (m *LoadBalanceResponse) String() string { return proto.CompactTextString(m) } -func (*LoadBalanceResponse) ProtoMessage() {} -func (*LoadBalanceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7cd3f6d792743fdf, []int{4} -} - -func (m *LoadBalanceResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LoadBalanceResponse.Unmarshal(m, b) -} -func (m *LoadBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LoadBalanceResponse.Marshal(b, m, deterministic) -} -func (m *LoadBalanceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_LoadBalanceResponse.Merge(m, src) -} -func (m *LoadBalanceResponse) XXX_Size() int { - return xxx_messageInfo_LoadBalanceResponse.Size(m) -} -func (m *LoadBalanceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_LoadBalanceResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_LoadBalanceResponse proto.InternalMessageInfo - -type isLoadBalanceResponse_LoadBalanceResponseType interface { - isLoadBalanceResponse_LoadBalanceResponseType() -} - -type LoadBalanceResponse_InitialResponse struct { - InitialResponse *InitialLoadBalanceResponse `protobuf:"bytes,1,opt,name=initial_response,json=initialResponse,proto3,oneof"` -} - -type LoadBalanceResponse_ServerList struct { - ServerList *ServerList `protobuf:"bytes,2,opt,name=server_list,json=serverList,proto3,oneof"` -} - -func (*LoadBalanceResponse_InitialResponse) isLoadBalanceResponse_LoadBalanceResponseType() {} - -func (*LoadBalanceResponse_ServerList) isLoadBalanceResponse_LoadBalanceResponseType() {} - -func (m *LoadBalanceResponse) GetLoadBalanceResponseType() isLoadBalanceResponse_LoadBalanceResponseType { - if m != nil { - return m.LoadBalanceResponseType - } - return nil -} - -func (m *LoadBalanceResponse) GetInitialResponse() *InitialLoadBalanceResponse { - if x, ok := m.GetLoadBalanceResponseType().(*LoadBalanceResponse_InitialResponse); ok { - return x.InitialResponse - } - return nil -} - -func (m *LoadBalanceResponse) GetServerList() *ServerList { - if x, ok := m.GetLoadBalanceResponseType().(*LoadBalanceResponse_ServerList); ok { - return x.ServerList - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*LoadBalanceResponse) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*LoadBalanceResponse_InitialResponse)(nil), - (*LoadBalanceResponse_ServerList)(nil), - } -} - -type InitialLoadBalanceResponse struct { - // This is an application layer redirect that indicates the client should use - // the specified server for load balancing. When this field is non-empty in - // the response, the client should open a separate connection to the - // load_balancer_delegate and call the BalanceLoad method. Its length should - // be less than 64 bytes. - LoadBalancerDelegate string `protobuf:"bytes,1,opt,name=load_balancer_delegate,json=loadBalancerDelegate,proto3" json:"load_balancer_delegate,omitempty"` - // This interval defines how often the client should send the client stats - // to the load balancer. Stats should only be reported when the duration is - // positive. - ClientStatsReportInterval *duration.Duration `protobuf:"bytes,2,opt,name=client_stats_report_interval,json=clientStatsReportInterval,proto3" json:"client_stats_report_interval,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *InitialLoadBalanceResponse) Reset() { *m = InitialLoadBalanceResponse{} } -func (m *InitialLoadBalanceResponse) String() string { return proto.CompactTextString(m) } -func (*InitialLoadBalanceResponse) ProtoMessage() {} -func (*InitialLoadBalanceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7cd3f6d792743fdf, []int{5} -} - -func (m *InitialLoadBalanceResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InitialLoadBalanceResponse.Unmarshal(m, b) -} -func (m *InitialLoadBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InitialLoadBalanceResponse.Marshal(b, m, deterministic) -} -func (m *InitialLoadBalanceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_InitialLoadBalanceResponse.Merge(m, src) -} -func (m *InitialLoadBalanceResponse) XXX_Size() int { - return xxx_messageInfo_InitialLoadBalanceResponse.Size(m) -} -func (m *InitialLoadBalanceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_InitialLoadBalanceResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_InitialLoadBalanceResponse proto.InternalMessageInfo - -func (m *InitialLoadBalanceResponse) GetLoadBalancerDelegate() string { - if m != nil { - return m.LoadBalancerDelegate - } - return "" -} - -func (m *InitialLoadBalanceResponse) GetClientStatsReportInterval() *duration.Duration { - if m != nil { - return m.ClientStatsReportInterval - } - return nil -} - -type ServerList struct { - // Contains a list of servers selected by the load balancer. The list will - // be updated when server resolutions change or as needed to balance load - // across more servers. The client should consume the server list in order - // unless instructed otherwise via the client_config. - Servers []*Server `protobuf:"bytes,1,rep,name=servers,proto3" json:"servers,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ServerList) Reset() { *m = ServerList{} } -func (m *ServerList) String() string { return proto.CompactTextString(m) } -func (*ServerList) ProtoMessage() {} -func (*ServerList) Descriptor() ([]byte, []int) { - return fileDescriptor_7cd3f6d792743fdf, []int{6} -} - -func (m *ServerList) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServerList.Unmarshal(m, b) -} -func (m *ServerList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServerList.Marshal(b, m, deterministic) -} -func (m *ServerList) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServerList.Merge(m, src) -} -func (m *ServerList) XXX_Size() int { - return xxx_messageInfo_ServerList.Size(m) -} -func (m *ServerList) XXX_DiscardUnknown() { - xxx_messageInfo_ServerList.DiscardUnknown(m) -} - -var xxx_messageInfo_ServerList proto.InternalMessageInfo - -func (m *ServerList) GetServers() []*Server { - if m != nil { - return m.Servers - } - return nil -} - -// Contains server information. When the drop field is not true, use the other -// fields. -type Server struct { - // A resolved address for the server, serialized in network-byte-order. It may - // either be an IPv4 or IPv6 address. - IpAddress []byte `protobuf:"bytes,1,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` - // A resolved port number for the server. - Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` - // An opaque but printable token for load reporting. The client must include - // the token of the picked server into the initial metadata when it starts a - // call to that server. The token is used by the server to verify the request - // and to allow the server to report load to the gRPC LB system. The token is - // also used in client stats for reporting dropped calls. - // - // Its length can be variable but must be less than 50 bytes. - LoadBalanceToken string `protobuf:"bytes,3,opt,name=load_balance_token,json=loadBalanceToken,proto3" json:"load_balance_token,omitempty"` - // Indicates whether this particular request should be dropped by the client. - // If the request is dropped, there will be a corresponding entry in - // ClientStats.calls_finished_with_drop. - Drop bool `protobuf:"varint,4,opt,name=drop,proto3" json:"drop,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Server) Reset() { *m = Server{} } -func (m *Server) String() string { return proto.CompactTextString(m) } -func (*Server) ProtoMessage() {} -func (*Server) Descriptor() ([]byte, []int) { - return fileDescriptor_7cd3f6d792743fdf, []int{7} -} - -func (m *Server) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Server.Unmarshal(m, b) -} -func (m *Server) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Server.Marshal(b, m, deterministic) -} -func (m *Server) XXX_Merge(src proto.Message) { - xxx_messageInfo_Server.Merge(m, src) -} -func (m *Server) XXX_Size() int { - return xxx_messageInfo_Server.Size(m) -} -func (m *Server) XXX_DiscardUnknown() { - xxx_messageInfo_Server.DiscardUnknown(m) -} - -var xxx_messageInfo_Server proto.InternalMessageInfo - -func (m *Server) GetIpAddress() []byte { - if m != nil { - return m.IpAddress - } - return nil -} - -func (m *Server) GetPort() int32 { - if m != nil { - return m.Port - } - return 0 -} - -func (m *Server) GetLoadBalanceToken() string { - if m != nil { - return m.LoadBalanceToken - } - return "" -} - -func (m *Server) GetDrop() bool { - if m != nil { - return m.Drop - } - return false -} - -func init() { - proto.RegisterType((*LoadBalanceRequest)(nil), "grpc.lb.v1.LoadBalanceRequest") - proto.RegisterType((*InitialLoadBalanceRequest)(nil), "grpc.lb.v1.InitialLoadBalanceRequest") - proto.RegisterType((*ClientStatsPerToken)(nil), "grpc.lb.v1.ClientStatsPerToken") - proto.RegisterType((*ClientStats)(nil), "grpc.lb.v1.ClientStats") - proto.RegisterType((*LoadBalanceResponse)(nil), "grpc.lb.v1.LoadBalanceResponse") - proto.RegisterType((*InitialLoadBalanceResponse)(nil), "grpc.lb.v1.InitialLoadBalanceResponse") - proto.RegisterType((*ServerList)(nil), "grpc.lb.v1.ServerList") - proto.RegisterType((*Server)(nil), "grpc.lb.v1.Server") -} - -func init() { proto.RegisterFile("grpc/lb/v1/load_balancer.proto", fileDescriptor_7cd3f6d792743fdf) } - -var fileDescriptor_7cd3f6d792743fdf = []byte{ - // 752 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x55, 0xdd, 0x6e, 0x23, 0x35, - 0x14, 0xee, 0x90, 0x69, 0x36, 0x39, 0x29, 0x34, 0xeb, 0x85, 0x65, 0x92, 0xdd, 0x6d, 0x4b, 0x24, - 0x56, 0x11, 0x2a, 0x13, 0x52, 0xb8, 0x00, 0x89, 0x0b, 0x48, 0xab, 0x2a, 0x2d, 0xbd, 0x88, 0x9c, - 0x4a, 0x45, 0x95, 0x90, 0x99, 0xc9, 0xb8, 0xa9, 0x55, 0xc7, 0x1e, 0x3c, 0x4e, 0x2a, 0xae, 0x79, - 0x1f, 0xc4, 0x2b, 0x20, 0x5e, 0x0c, 0x8d, 0xed, 0x49, 0xa6, 0x49, 0xa3, 0xbd, 0xca, 0xf8, 0x9c, - 0xcf, 0xdf, 0xf9, 0xfd, 0x1c, 0x38, 0x98, 0xaa, 0x74, 0xd2, 0xe3, 0x71, 0x6f, 0xd1, 0xef, 0x71, - 0x19, 0x25, 0x24, 0x8e, 0x78, 0x24, 0x26, 0x54, 0x85, 0xa9, 0x92, 0x5a, 0x22, 0xc8, 0xfd, 0x21, - 0x8f, 0xc3, 0x45, 0xbf, 0x7d, 0x30, 0x95, 0x72, 0xca, 0x69, 0xcf, 0x78, 0xe2, 0xf9, 0x5d, 0x2f, - 0x99, 0xab, 0x48, 0x33, 0x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0x83, 0x72, 0x1d, 0x9b, 0xcf, 0x54, 0xfb, 0x70, 0xab, 0xdf, 0x4e, - 0xae, 0xeb, 0x7d, 0xe3, 0x0d, 0x6e, 0xe0, 0x63, 0x26, 0x4b, 0xc0, 0xc1, 0xcb, 0x72, 0xc8, 0x51, - 0xde, 0xf6, 0x91, 0x77, 0xdb, 0x77, 0x63, 0x98, 0x4a, 0x1e, 0x89, 0x69, 0x28, 0xd5, 0xb4, 0x67, - 0xfe, 0x51, 0x8a, 0x99, 0x9b, 0x13, 0x8f, 0xcd, 0x0f, 0xe1, 0x31, 0x59, 0xf4, 0xe3, 0xaa, 0x19, - 0xd9, 0xb7, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff, 0x81, 0x14, 0xee, 0xd1, 0x7b, 0x06, 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 - -// LoadBalancerClient is the client API for LoadBalancer service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type LoadBalancerClient interface { - // Bidirectional rpc to get a list of servers. - BalanceLoad(ctx context.Context, opts ...grpc.CallOption) (LoadBalancer_BalanceLoadClient, error) -} - -type loadBalancerClient struct { - cc *grpc.ClientConn -} - -func NewLoadBalancerClient(cc *grpc.ClientConn) LoadBalancerClient { - return &loadBalancerClient{cc} -} - -func (c *loadBalancerClient) BalanceLoad(ctx context.Context, opts ...grpc.CallOption) (LoadBalancer_BalanceLoadClient, error) { - stream, err := c.cc.NewStream(ctx, &_LoadBalancer_serviceDesc.Streams[0], "/grpc.lb.v1.LoadBalancer/BalanceLoad", opts...) - if err != nil { - return nil, err - } - x := &loadBalancerBalanceLoadClient{stream} - return x, nil -} - -type LoadBalancer_BalanceLoadClient interface { - Send(*LoadBalanceRequest) error - Recv() (*LoadBalanceResponse, error) - grpc.ClientStream -} - -type loadBalancerBalanceLoadClient struct { - grpc.ClientStream -} - -func (x *loadBalancerBalanceLoadClient) Send(m *LoadBalanceRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *loadBalancerBalanceLoadClient) Recv() (*LoadBalanceResponse, error) { - m := new(LoadBalanceResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// LoadBalancerServer is the server API for LoadBalancer service. -type LoadBalancerServer interface { - // Bidirectional rpc to get a list of servers. - BalanceLoad(LoadBalancer_BalanceLoadServer) error -} - -// UnimplementedLoadBalancerServer can be embedded to have forward compatible implementations. -type UnimplementedLoadBalancerServer struct { -} - -func (*UnimplementedLoadBalancerServer) BalanceLoad(srv LoadBalancer_BalanceLoadServer) error { - return status.Errorf(codes.Unimplemented, "method BalanceLoad not implemented") -} - -func RegisterLoadBalancerServer(s *grpc.Server, srv LoadBalancerServer) { - s.RegisterService(&_LoadBalancer_serviceDesc, srv) -} - -func _LoadBalancer_BalanceLoad_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(LoadBalancerServer).BalanceLoad(&loadBalancerBalanceLoadServer{stream}) -} - -type LoadBalancer_BalanceLoadServer interface { - Send(*LoadBalanceResponse) error - Recv() (*LoadBalanceRequest, error) - grpc.ServerStream -} - -type loadBalancerBalanceLoadServer struct { - grpc.ServerStream -} - -func (x *loadBalancerBalanceLoadServer) Send(m *LoadBalanceResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *loadBalancerBalanceLoadServer) Recv() (*LoadBalanceRequest, error) { - m := new(LoadBalanceRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -var _LoadBalancer_serviceDesc = grpc.ServiceDesc{ - ServiceName: "grpc.lb.v1.LoadBalancer", - HandlerType: (*LoadBalancerServer)(nil), - Methods: []grpc.MethodDesc{}, - Streams: []grpc.StreamDesc{ - { - StreamName: "BalanceLoad", - Handler: _LoadBalancer_BalanceLoad_Handler, - ServerStreams: true, - ClientStreams: true, - }, - }, - Metadata: "grpc/lb/v1/load_balancer.proto", -} diff --git a/vendor/google.golang.org/grpc/benchmark/grpc_testing/control.pb.go b/vendor/google.golang.org/grpc/benchmark/grpc_testing/control.pb.go deleted file mode 100644 index c4af112a..00000000 --- a/vendor/google.golang.org/grpc/benchmark/grpc_testing/control.pb.go +++ /dev/null @@ -1,1355 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: control.proto - -package grpc_testing - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type ClientType int32 - -const ( - ClientType_SYNC_CLIENT ClientType = 0 - ClientType_ASYNC_CLIENT ClientType = 1 -) - -var ClientType_name = map[int32]string{ - 0: "SYNC_CLIENT", - 1: "ASYNC_CLIENT", -} - -var ClientType_value = map[string]int32{ - "SYNC_CLIENT": 0, - "ASYNC_CLIENT": 1, -} - -func (x ClientType) String() string { - return proto.EnumName(ClientType_name, int32(x)) -} - -func (ClientType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0c5120591600887d, []int{0} -} - -type ServerType int32 - -const ( - ServerType_SYNC_SERVER ServerType = 0 - ServerType_ASYNC_SERVER ServerType = 1 - ServerType_ASYNC_GENERIC_SERVER ServerType = 2 -) - -var ServerType_name = map[int32]string{ - 0: "SYNC_SERVER", - 1: "ASYNC_SERVER", - 2: "ASYNC_GENERIC_SERVER", -} - -var ServerType_value = map[string]int32{ - "SYNC_SERVER": 0, - "ASYNC_SERVER": 1, - "ASYNC_GENERIC_SERVER": 2, -} - -func (x ServerType) String() string { - return proto.EnumName(ServerType_name, int32(x)) -} - -func (ServerType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0c5120591600887d, []int{1} -} - -type RpcType int32 - -const ( - RpcType_UNARY RpcType = 0 - RpcType_STREAMING RpcType = 1 -) - -var RpcType_name = map[int32]string{ - 0: "UNARY", - 1: "STREAMING", -} - -var RpcType_value = map[string]int32{ - "UNARY": 0, - "STREAMING": 1, -} - -func (x RpcType) String() string { - return proto.EnumName(RpcType_name, int32(x)) -} - -func (RpcType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0c5120591600887d, []int{2} -} - -// Parameters of poisson process distribution, which is a good representation -// of activity coming in from independent identical stationary sources. -type PoissonParams struct { - // The rate of arrivals (a.k.a. lambda parameter of the exp distribution). - OfferedLoad float64 `protobuf:"fixed64,1,opt,name=offered_load,json=offeredLoad,proto3" json:"offered_load,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PoissonParams) Reset() { *m = PoissonParams{} } -func (m *PoissonParams) String() string { return proto.CompactTextString(m) } -func (*PoissonParams) ProtoMessage() {} -func (*PoissonParams) Descriptor() ([]byte, []int) { - return fileDescriptor_0c5120591600887d, []int{0} -} - -func (m *PoissonParams) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PoissonParams.Unmarshal(m, b) -} -func (m *PoissonParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PoissonParams.Marshal(b, m, deterministic) -} -func (m *PoissonParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_PoissonParams.Merge(m, src) -} -func (m *PoissonParams) XXX_Size() int { - return xxx_messageInfo_PoissonParams.Size(m) -} -func (m *PoissonParams) XXX_DiscardUnknown() { - xxx_messageInfo_PoissonParams.DiscardUnknown(m) -} - -var xxx_messageInfo_PoissonParams proto.InternalMessageInfo - -func (m *PoissonParams) GetOfferedLoad() float64 { - if m != nil { - return m.OfferedLoad - } - return 0 -} - -type UniformParams struct { - InterarrivalLo float64 `protobuf:"fixed64,1,opt,name=interarrival_lo,json=interarrivalLo,proto3" json:"interarrival_lo,omitempty"` - InterarrivalHi float64 `protobuf:"fixed64,2,opt,name=interarrival_hi,json=interarrivalHi,proto3" json:"interarrival_hi,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UniformParams) Reset() { *m = UniformParams{} } -func (m *UniformParams) String() string { return proto.CompactTextString(m) } -func (*UniformParams) ProtoMessage() {} -func (*UniformParams) Descriptor() ([]byte, []int) { - return fileDescriptor_0c5120591600887d, []int{1} -} - -func (m *UniformParams) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UniformParams.Unmarshal(m, b) -} -func (m *UniformParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UniformParams.Marshal(b, m, deterministic) -} -func (m *UniformParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_UniformParams.Merge(m, src) -} -func (m *UniformParams) XXX_Size() int { - return xxx_messageInfo_UniformParams.Size(m) -} -func (m *UniformParams) XXX_DiscardUnknown() { - xxx_messageInfo_UniformParams.DiscardUnknown(m) -} - -var xxx_messageInfo_UniformParams proto.InternalMessageInfo - -func (m *UniformParams) GetInterarrivalLo() float64 { - if m != nil { - return m.InterarrivalLo - } - return 0 -} - -func (m *UniformParams) GetInterarrivalHi() float64 { - if m != nil { - return m.InterarrivalHi - } - return 0 -} - -type DeterministicParams struct { - OfferedLoad float64 `protobuf:"fixed64,1,opt,name=offered_load,json=offeredLoad,proto3" json:"offered_load,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DeterministicParams) Reset() { *m = DeterministicParams{} } -func (m *DeterministicParams) String() string { return proto.CompactTextString(m) } -func (*DeterministicParams) ProtoMessage() {} -func (*DeterministicParams) Descriptor() ([]byte, []int) { - return fileDescriptor_0c5120591600887d, []int{2} -} - -func (m *DeterministicParams) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeterministicParams.Unmarshal(m, b) -} -func (m *DeterministicParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeterministicParams.Marshal(b, m, deterministic) -} -func (m *DeterministicParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeterministicParams.Merge(m, src) -} -func (m *DeterministicParams) XXX_Size() int { - return xxx_messageInfo_DeterministicParams.Size(m) -} -func (m *DeterministicParams) XXX_DiscardUnknown() { - xxx_messageInfo_DeterministicParams.DiscardUnknown(m) -} - -var xxx_messageInfo_DeterministicParams proto.InternalMessageInfo - -func (m *DeterministicParams) GetOfferedLoad() float64 { - if m != nil { - return m.OfferedLoad - } - return 0 -} - -type ParetoParams struct { - InterarrivalBase float64 `protobuf:"fixed64,1,opt,name=interarrival_base,json=interarrivalBase,proto3" json:"interarrival_base,omitempty"` - Alpha float64 `protobuf:"fixed64,2,opt,name=alpha,proto3" json:"alpha,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ParetoParams) Reset() { *m = ParetoParams{} } -func (m *ParetoParams) String() string { return proto.CompactTextString(m) } -func (*ParetoParams) ProtoMessage() {} -func (*ParetoParams) Descriptor() ([]byte, []int) { - return fileDescriptor_0c5120591600887d, []int{3} -} - -func (m *ParetoParams) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ParetoParams.Unmarshal(m, b) -} -func (m *ParetoParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ParetoParams.Marshal(b, m, deterministic) -} -func (m *ParetoParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_ParetoParams.Merge(m, src) -} -func (m *ParetoParams) XXX_Size() int { - return xxx_messageInfo_ParetoParams.Size(m) -} -func (m *ParetoParams) XXX_DiscardUnknown() { - xxx_messageInfo_ParetoParams.DiscardUnknown(m) -} - -var xxx_messageInfo_ParetoParams proto.InternalMessageInfo - -func (m *ParetoParams) GetInterarrivalBase() float64 { - if m != nil { - return m.InterarrivalBase - } - return 0 -} - -func (m *ParetoParams) GetAlpha() float64 { - if m != nil { - return m.Alpha - } - return 0 -} - -// Once an RPC finishes, immediately start a new one. -// No configuration parameters needed. -type ClosedLoopParams struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ClosedLoopParams) Reset() { *m = ClosedLoopParams{} } -func (m *ClosedLoopParams) String() string { return proto.CompactTextString(m) } -func (*ClosedLoopParams) ProtoMessage() {} -func (*ClosedLoopParams) Descriptor() ([]byte, []int) { - return fileDescriptor_0c5120591600887d, []int{4} -} - -func (m *ClosedLoopParams) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClosedLoopParams.Unmarshal(m, b) -} -func (m *ClosedLoopParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClosedLoopParams.Marshal(b, m, deterministic) -} -func (m *ClosedLoopParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClosedLoopParams.Merge(m, src) -} -func (m *ClosedLoopParams) XXX_Size() int { - return xxx_messageInfo_ClosedLoopParams.Size(m) -} -func (m *ClosedLoopParams) XXX_DiscardUnknown() { - xxx_messageInfo_ClosedLoopParams.DiscardUnknown(m) -} - -var xxx_messageInfo_ClosedLoopParams proto.InternalMessageInfo - -type LoadParams struct { - // Types that are valid to be assigned to Load: - // *LoadParams_ClosedLoop - // *LoadParams_Poisson - // *LoadParams_Uniform - // *LoadParams_Determ - // *LoadParams_Pareto - Load isLoadParams_Load `protobuf_oneof:"load"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LoadParams) Reset() { *m = LoadParams{} } -func (m *LoadParams) String() string { return proto.CompactTextString(m) } -func (*LoadParams) ProtoMessage() {} -func (*LoadParams) Descriptor() ([]byte, []int) { - return fileDescriptor_0c5120591600887d, []int{5} -} - -func (m *LoadParams) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LoadParams.Unmarshal(m, b) -} -func (m *LoadParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LoadParams.Marshal(b, m, deterministic) -} -func (m *LoadParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_LoadParams.Merge(m, src) -} -func (m *LoadParams) XXX_Size() int { - return xxx_messageInfo_LoadParams.Size(m) -} -func (m *LoadParams) XXX_DiscardUnknown() { - xxx_messageInfo_LoadParams.DiscardUnknown(m) -} - -var xxx_messageInfo_LoadParams proto.InternalMessageInfo - -type isLoadParams_Load interface { - isLoadParams_Load() -} - -type LoadParams_ClosedLoop struct { - ClosedLoop *ClosedLoopParams `protobuf:"bytes,1,opt,name=closed_loop,json=closedLoop,proto3,oneof"` -} - -type LoadParams_Poisson struct { - Poisson *PoissonParams `protobuf:"bytes,2,opt,name=poisson,proto3,oneof"` -} - -type LoadParams_Uniform struct { - Uniform *UniformParams `protobuf:"bytes,3,opt,name=uniform,proto3,oneof"` -} - -type LoadParams_Determ struct { - Determ *DeterministicParams `protobuf:"bytes,4,opt,name=determ,proto3,oneof"` -} - -type LoadParams_Pareto struct { - Pareto *ParetoParams `protobuf:"bytes,5,opt,name=pareto,proto3,oneof"` -} - -func (*LoadParams_ClosedLoop) isLoadParams_Load() {} - -func (*LoadParams_Poisson) isLoadParams_Load() {} - -func (*LoadParams_Uniform) isLoadParams_Load() {} - -func (*LoadParams_Determ) isLoadParams_Load() {} - -func (*LoadParams_Pareto) isLoadParams_Load() {} - -func (m *LoadParams) GetLoad() isLoadParams_Load { - if m != nil { - return m.Load - } - return nil -} - -func (m *LoadParams) GetClosedLoop() *ClosedLoopParams { - if x, ok := m.GetLoad().(*LoadParams_ClosedLoop); ok { - return x.ClosedLoop - } - return nil -} - -func (m *LoadParams) GetPoisson() *PoissonParams { - if x, ok := m.GetLoad().(*LoadParams_Poisson); ok { - return x.Poisson - } - return nil -} - -func (m *LoadParams) GetUniform() *UniformParams { - if x, ok := m.GetLoad().(*LoadParams_Uniform); ok { - return x.Uniform - } - return nil -} - -func (m *LoadParams) GetDeterm() *DeterministicParams { - if x, ok := m.GetLoad().(*LoadParams_Determ); ok { - return x.Determ - } - return nil -} - -func (m *LoadParams) GetPareto() *ParetoParams { - if x, ok := m.GetLoad().(*LoadParams_Pareto); ok { - return x.Pareto - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*LoadParams) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*LoadParams_ClosedLoop)(nil), - (*LoadParams_Poisson)(nil), - (*LoadParams_Uniform)(nil), - (*LoadParams_Determ)(nil), - (*LoadParams_Pareto)(nil), - } -} - -// presence of SecurityParams implies use of TLS -type SecurityParams struct { - UseTestCa bool `protobuf:"varint,1,opt,name=use_test_ca,json=useTestCa,proto3" json:"use_test_ca,omitempty"` - ServerHostOverride string `protobuf:"bytes,2,opt,name=server_host_override,json=serverHostOverride,proto3" json:"server_host_override,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SecurityParams) Reset() { *m = SecurityParams{} } -func (m *SecurityParams) String() string { return proto.CompactTextString(m) } -func (*SecurityParams) ProtoMessage() {} -func (*SecurityParams) Descriptor() ([]byte, []int) { - return fileDescriptor_0c5120591600887d, []int{6} -} - -func (m *SecurityParams) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SecurityParams.Unmarshal(m, b) -} -func (m *SecurityParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SecurityParams.Marshal(b, m, deterministic) -} -func (m *SecurityParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_SecurityParams.Merge(m, src) -} -func (m *SecurityParams) XXX_Size() int { - return xxx_messageInfo_SecurityParams.Size(m) -} -func (m *SecurityParams) XXX_DiscardUnknown() { - xxx_messageInfo_SecurityParams.DiscardUnknown(m) -} - -var xxx_messageInfo_SecurityParams proto.InternalMessageInfo - -func (m *SecurityParams) GetUseTestCa() bool { - if m != nil { - return m.UseTestCa - } - return false -} - -func (m *SecurityParams) GetServerHostOverride() string { - if m != nil { - return m.ServerHostOverride - } - return "" -} - -type ClientConfig struct { - // List of targets to connect to. At least one target needs to be specified. - ServerTargets []string `protobuf:"bytes,1,rep,name=server_targets,json=serverTargets,proto3" json:"server_targets,omitempty"` - ClientType ClientType `protobuf:"varint,2,opt,name=client_type,json=clientType,proto3,enum=grpc.testing.ClientType" json:"client_type,omitempty"` - SecurityParams *SecurityParams `protobuf:"bytes,3,opt,name=security_params,json=securityParams,proto3" json:"security_params,omitempty"` - // How many concurrent RPCs to start for each channel. - // For synchronous client, use a separate thread for each outstanding RPC. - OutstandingRpcsPerChannel int32 `protobuf:"varint,4,opt,name=outstanding_rpcs_per_channel,json=outstandingRpcsPerChannel,proto3" json:"outstanding_rpcs_per_channel,omitempty"` - // Number of independent client channels to create. - // i-th channel will connect to server_target[i % server_targets.size()] - ClientChannels int32 `protobuf:"varint,5,opt,name=client_channels,json=clientChannels,proto3" json:"client_channels,omitempty"` - // Only for async client. Number of threads to use to start/manage RPCs. - AsyncClientThreads int32 `protobuf:"varint,7,opt,name=async_client_threads,json=asyncClientThreads,proto3" json:"async_client_threads,omitempty"` - RpcType RpcType `protobuf:"varint,8,opt,name=rpc_type,json=rpcType,proto3,enum=grpc.testing.RpcType" json:"rpc_type,omitempty"` - // The requested load for the entire client (aggregated over all the threads). - LoadParams *LoadParams `protobuf:"bytes,10,opt,name=load_params,json=loadParams,proto3" json:"load_params,omitempty"` - PayloadConfig *PayloadConfig `protobuf:"bytes,11,opt,name=payload_config,json=payloadConfig,proto3" json:"payload_config,omitempty"` - HistogramParams *HistogramParams `protobuf:"bytes,12,opt,name=histogram_params,json=histogramParams,proto3" json:"histogram_params,omitempty"` - // Specify the cores we should run the client on, if desired - CoreList []int32 `protobuf:"varint,13,rep,packed,name=core_list,json=coreList,proto3" json:"core_list,omitempty"` - CoreLimit int32 `protobuf:"varint,14,opt,name=core_limit,json=coreLimit,proto3" json:"core_limit,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ClientConfig) Reset() { *m = ClientConfig{} } -func (m *ClientConfig) String() string { return proto.CompactTextString(m) } -func (*ClientConfig) ProtoMessage() {} -func (*ClientConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_0c5120591600887d, []int{7} -} - -func (m *ClientConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClientConfig.Unmarshal(m, b) -} -func (m *ClientConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClientConfig.Marshal(b, m, deterministic) -} -func (m *ClientConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClientConfig.Merge(m, src) -} -func (m *ClientConfig) XXX_Size() int { - return xxx_messageInfo_ClientConfig.Size(m) -} -func (m *ClientConfig) XXX_DiscardUnknown() { - xxx_messageInfo_ClientConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_ClientConfig proto.InternalMessageInfo - -func (m *ClientConfig) GetServerTargets() []string { - if m != nil { - return m.ServerTargets - } - return nil -} - -func (m *ClientConfig) GetClientType() ClientType { - if m != nil { - return m.ClientType - } - return ClientType_SYNC_CLIENT -} - -func (m *ClientConfig) GetSecurityParams() *SecurityParams { - if m != nil { - return m.SecurityParams - } - return nil -} - -func (m *ClientConfig) GetOutstandingRpcsPerChannel() int32 { - if m != nil { - return m.OutstandingRpcsPerChannel - } - return 0 -} - -func (m *ClientConfig) GetClientChannels() int32 { - if m != nil { - return m.ClientChannels - } - return 0 -} - -func (m *ClientConfig) GetAsyncClientThreads() int32 { - if m != nil { - return m.AsyncClientThreads - } - return 0 -} - -func (m *ClientConfig) GetRpcType() RpcType { - if m != nil { - return m.RpcType - } - return RpcType_UNARY -} - -func (m *ClientConfig) GetLoadParams() *LoadParams { - if m != nil { - return m.LoadParams - } - return nil -} - -func (m *ClientConfig) GetPayloadConfig() *PayloadConfig { - if m != nil { - return m.PayloadConfig - } - return nil -} - -func (m *ClientConfig) GetHistogramParams() *HistogramParams { - if m != nil { - return m.HistogramParams - } - return nil -} - -func (m *ClientConfig) GetCoreList() []int32 { - if m != nil { - return m.CoreList - } - return nil -} - -func (m *ClientConfig) GetCoreLimit() int32 { - if m != nil { - return m.CoreLimit - } - return 0 -} - -type ClientStatus struct { - Stats *ClientStats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ClientStatus) Reset() { *m = ClientStatus{} } -func (m *ClientStatus) String() string { return proto.CompactTextString(m) } -func (*ClientStatus) ProtoMessage() {} -func (*ClientStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_0c5120591600887d, []int{8} -} - -func (m *ClientStatus) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClientStatus.Unmarshal(m, b) -} -func (m *ClientStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClientStatus.Marshal(b, m, deterministic) -} -func (m *ClientStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClientStatus.Merge(m, src) -} -func (m *ClientStatus) XXX_Size() int { - return xxx_messageInfo_ClientStatus.Size(m) -} -func (m *ClientStatus) XXX_DiscardUnknown() { - xxx_messageInfo_ClientStatus.DiscardUnknown(m) -} - -var xxx_messageInfo_ClientStatus proto.InternalMessageInfo - -func (m *ClientStatus) GetStats() *ClientStats { - if m != nil { - return m.Stats - } - return nil -} - -// Request current stats -type Mark struct { - // if true, the stats will be reset after taking their snapshot. - Reset_ bool `protobuf:"varint,1,opt,name=reset,proto3" json:"reset,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Mark) Reset() { *m = Mark{} } -func (m *Mark) String() string { return proto.CompactTextString(m) } -func (*Mark) ProtoMessage() {} -func (*Mark) Descriptor() ([]byte, []int) { - return fileDescriptor_0c5120591600887d, []int{9} -} - -func (m *Mark) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Mark.Unmarshal(m, b) -} -func (m *Mark) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Mark.Marshal(b, m, deterministic) -} -func (m *Mark) XXX_Merge(src proto.Message) { - xxx_messageInfo_Mark.Merge(m, src) -} -func (m *Mark) XXX_Size() int { - return xxx_messageInfo_Mark.Size(m) -} -func (m *Mark) XXX_DiscardUnknown() { - xxx_messageInfo_Mark.DiscardUnknown(m) -} - -var xxx_messageInfo_Mark proto.InternalMessageInfo - -func (m *Mark) GetReset_() bool { - if m != nil { - return m.Reset_ - } - return false -} - -type ClientArgs struct { - // Types that are valid to be assigned to Argtype: - // *ClientArgs_Setup - // *ClientArgs_Mark - Argtype isClientArgs_Argtype `protobuf_oneof:"argtype"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ClientArgs) Reset() { *m = ClientArgs{} } -func (m *ClientArgs) String() string { return proto.CompactTextString(m) } -func (*ClientArgs) ProtoMessage() {} -func (*ClientArgs) Descriptor() ([]byte, []int) { - return fileDescriptor_0c5120591600887d, []int{10} -} - -func (m *ClientArgs) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClientArgs.Unmarshal(m, b) -} -func (m *ClientArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClientArgs.Marshal(b, m, deterministic) -} -func (m *ClientArgs) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClientArgs.Merge(m, src) -} -func (m *ClientArgs) XXX_Size() int { - return xxx_messageInfo_ClientArgs.Size(m) -} -func (m *ClientArgs) XXX_DiscardUnknown() { - xxx_messageInfo_ClientArgs.DiscardUnknown(m) -} - -var xxx_messageInfo_ClientArgs proto.InternalMessageInfo - -type isClientArgs_Argtype interface { - isClientArgs_Argtype() -} - -type ClientArgs_Setup struct { - Setup *ClientConfig `protobuf:"bytes,1,opt,name=setup,proto3,oneof"` -} - -type ClientArgs_Mark struct { - Mark *Mark `protobuf:"bytes,2,opt,name=mark,proto3,oneof"` -} - -func (*ClientArgs_Setup) isClientArgs_Argtype() {} - -func (*ClientArgs_Mark) isClientArgs_Argtype() {} - -func (m *ClientArgs) GetArgtype() isClientArgs_Argtype { - if m != nil { - return m.Argtype - } - return nil -} - -func (m *ClientArgs) GetSetup() *ClientConfig { - if x, ok := m.GetArgtype().(*ClientArgs_Setup); ok { - return x.Setup - } - return nil -} - -func (m *ClientArgs) GetMark() *Mark { - if x, ok := m.GetArgtype().(*ClientArgs_Mark); ok { - return x.Mark - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ClientArgs) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ClientArgs_Setup)(nil), - (*ClientArgs_Mark)(nil), - } -} - -type ServerConfig struct { - ServerType ServerType `protobuf:"varint,1,opt,name=server_type,json=serverType,proto3,enum=grpc.testing.ServerType" json:"server_type,omitempty"` - SecurityParams *SecurityParams `protobuf:"bytes,2,opt,name=security_params,json=securityParams,proto3" json:"security_params,omitempty"` - // Port on which to listen. Zero means pick unused port. - Port int32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"` - // Only for async server. Number of threads used to serve the requests. - AsyncServerThreads int32 `protobuf:"varint,7,opt,name=async_server_threads,json=asyncServerThreads,proto3" json:"async_server_threads,omitempty"` - // Specify the number of cores to limit server to, if desired - CoreLimit int32 `protobuf:"varint,8,opt,name=core_limit,json=coreLimit,proto3" json:"core_limit,omitempty"` - // payload config, used in generic server - PayloadConfig *PayloadConfig `protobuf:"bytes,9,opt,name=payload_config,json=payloadConfig,proto3" json:"payload_config,omitempty"` - // Specify the cores we should run the server on, if desired - CoreList []int32 `protobuf:"varint,10,rep,packed,name=core_list,json=coreList,proto3" json:"core_list,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_0c5120591600887d, []int{11} -} - -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 (m *ServerConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServerConfig.Merge(m, 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) GetServerType() ServerType { - if m != nil { - return m.ServerType - } - return ServerType_SYNC_SERVER -} - -func (m *ServerConfig) GetSecurityParams() *SecurityParams { - if m != nil { - return m.SecurityParams - } - return nil -} - -func (m *ServerConfig) GetPort() int32 { - if m != nil { - return m.Port - } - return 0 -} - -func (m *ServerConfig) GetAsyncServerThreads() int32 { - if m != nil { - return m.AsyncServerThreads - } - return 0 -} - -func (m *ServerConfig) GetCoreLimit() int32 { - if m != nil { - return m.CoreLimit - } - return 0 -} - -func (m *ServerConfig) GetPayloadConfig() *PayloadConfig { - if m != nil { - return m.PayloadConfig - } - return nil -} - -func (m *ServerConfig) GetCoreList() []int32 { - if m != nil { - return m.CoreList - } - return nil -} - -type ServerArgs struct { - // Types that are valid to be assigned to Argtype: - // *ServerArgs_Setup - // *ServerArgs_Mark - Argtype isServerArgs_Argtype `protobuf_oneof:"argtype"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ServerArgs) Reset() { *m = ServerArgs{} } -func (m *ServerArgs) String() string { return proto.CompactTextString(m) } -func (*ServerArgs) ProtoMessage() {} -func (*ServerArgs) Descriptor() ([]byte, []int) { - return fileDescriptor_0c5120591600887d, []int{12} -} - -func (m *ServerArgs) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServerArgs.Unmarshal(m, b) -} -func (m *ServerArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServerArgs.Marshal(b, m, deterministic) -} -func (m *ServerArgs) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServerArgs.Merge(m, src) -} -func (m *ServerArgs) XXX_Size() int { - return xxx_messageInfo_ServerArgs.Size(m) -} -func (m *ServerArgs) XXX_DiscardUnknown() { - xxx_messageInfo_ServerArgs.DiscardUnknown(m) -} - -var xxx_messageInfo_ServerArgs proto.InternalMessageInfo - -type isServerArgs_Argtype interface { - isServerArgs_Argtype() -} - -type ServerArgs_Setup struct { - Setup *ServerConfig `protobuf:"bytes,1,opt,name=setup,proto3,oneof"` -} - -type ServerArgs_Mark struct { - Mark *Mark `protobuf:"bytes,2,opt,name=mark,proto3,oneof"` -} - -func (*ServerArgs_Setup) isServerArgs_Argtype() {} - -func (*ServerArgs_Mark) isServerArgs_Argtype() {} - -func (m *ServerArgs) GetArgtype() isServerArgs_Argtype { - if m != nil { - return m.Argtype - } - return nil -} - -func (m *ServerArgs) GetSetup() *ServerConfig { - if x, ok := m.GetArgtype().(*ServerArgs_Setup); ok { - return x.Setup - } - return nil -} - -func (m *ServerArgs) GetMark() *Mark { - if x, ok := m.GetArgtype().(*ServerArgs_Mark); ok { - return x.Mark - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ServerArgs) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ServerArgs_Setup)(nil), - (*ServerArgs_Mark)(nil), - } -} - -type ServerStatus struct { - Stats *ServerStats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"` - // the port bound by the server - Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` - // Number of cores available to the server - Cores int32 `protobuf:"varint,3,opt,name=cores,proto3" json:"cores,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ServerStatus) Reset() { *m = ServerStatus{} } -func (m *ServerStatus) String() string { return proto.CompactTextString(m) } -func (*ServerStatus) ProtoMessage() {} -func (*ServerStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_0c5120591600887d, []int{13} -} - -func (m *ServerStatus) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServerStatus.Unmarshal(m, b) -} -func (m *ServerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServerStatus.Marshal(b, m, deterministic) -} -func (m *ServerStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServerStatus.Merge(m, src) -} -func (m *ServerStatus) XXX_Size() int { - return xxx_messageInfo_ServerStatus.Size(m) -} -func (m *ServerStatus) XXX_DiscardUnknown() { - xxx_messageInfo_ServerStatus.DiscardUnknown(m) -} - -var xxx_messageInfo_ServerStatus proto.InternalMessageInfo - -func (m *ServerStatus) GetStats() *ServerStats { - if m != nil { - return m.Stats - } - return nil -} - -func (m *ServerStatus) GetPort() int32 { - if m != nil { - return m.Port - } - return 0 -} - -func (m *ServerStatus) GetCores() int32 { - if m != nil { - return m.Cores - } - return 0 -} - -type CoreRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CoreRequest) Reset() { *m = CoreRequest{} } -func (m *CoreRequest) String() string { return proto.CompactTextString(m) } -func (*CoreRequest) ProtoMessage() {} -func (*CoreRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0c5120591600887d, []int{14} -} - -func (m *CoreRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CoreRequest.Unmarshal(m, b) -} -func (m *CoreRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CoreRequest.Marshal(b, m, deterministic) -} -func (m *CoreRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CoreRequest.Merge(m, src) -} -func (m *CoreRequest) XXX_Size() int { - return xxx_messageInfo_CoreRequest.Size(m) -} -func (m *CoreRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CoreRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CoreRequest proto.InternalMessageInfo - -type CoreResponse struct { - // Number of cores available on the server - Cores int32 `protobuf:"varint,1,opt,name=cores,proto3" json:"cores,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CoreResponse) Reset() { *m = CoreResponse{} } -func (m *CoreResponse) String() string { return proto.CompactTextString(m) } -func (*CoreResponse) ProtoMessage() {} -func (*CoreResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0c5120591600887d, []int{15} -} - -func (m *CoreResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CoreResponse.Unmarshal(m, b) -} -func (m *CoreResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CoreResponse.Marshal(b, m, deterministic) -} -func (m *CoreResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CoreResponse.Merge(m, src) -} -func (m *CoreResponse) XXX_Size() int { - return xxx_messageInfo_CoreResponse.Size(m) -} -func (m *CoreResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CoreResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_CoreResponse proto.InternalMessageInfo - -func (m *CoreResponse) GetCores() int32 { - if m != nil { - return m.Cores - } - return 0 -} - -type Void struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Void) Reset() { *m = Void{} } -func (m *Void) String() string { return proto.CompactTextString(m) } -func (*Void) ProtoMessage() {} -func (*Void) Descriptor() ([]byte, []int) { - return fileDescriptor_0c5120591600887d, []int{16} -} - -func (m *Void) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Void.Unmarshal(m, b) -} -func (m *Void) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Void.Marshal(b, m, deterministic) -} -func (m *Void) XXX_Merge(src proto.Message) { - xxx_messageInfo_Void.Merge(m, src) -} -func (m *Void) XXX_Size() int { - return xxx_messageInfo_Void.Size(m) -} -func (m *Void) XXX_DiscardUnknown() { - xxx_messageInfo_Void.DiscardUnknown(m) -} - -var xxx_messageInfo_Void proto.InternalMessageInfo - -// A single performance scenario: input to qps_json_driver -type Scenario struct { - // Human readable name for this scenario - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Client configuration - ClientConfig *ClientConfig `protobuf:"bytes,2,opt,name=client_config,json=clientConfig,proto3" json:"client_config,omitempty"` - // Number of clients to start for the test - NumClients int32 `protobuf:"varint,3,opt,name=num_clients,json=numClients,proto3" json:"num_clients,omitempty"` - // Server configuration - ServerConfig *ServerConfig `protobuf:"bytes,4,opt,name=server_config,json=serverConfig,proto3" json:"server_config,omitempty"` - // Number of servers to start for the test - NumServers int32 `protobuf:"varint,5,opt,name=num_servers,json=numServers,proto3" json:"num_servers,omitempty"` - // Warmup period, in seconds - WarmupSeconds int32 `protobuf:"varint,6,opt,name=warmup_seconds,json=warmupSeconds,proto3" json:"warmup_seconds,omitempty"` - // Benchmark time, in seconds - BenchmarkSeconds int32 `protobuf:"varint,7,opt,name=benchmark_seconds,json=benchmarkSeconds,proto3" json:"benchmark_seconds,omitempty"` - // Number of workers to spawn locally (usually zero) - SpawnLocalWorkerCount int32 `protobuf:"varint,8,opt,name=spawn_local_worker_count,json=spawnLocalWorkerCount,proto3" json:"spawn_local_worker_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Scenario) Reset() { *m = Scenario{} } -func (m *Scenario) String() string { return proto.CompactTextString(m) } -func (*Scenario) ProtoMessage() {} -func (*Scenario) Descriptor() ([]byte, []int) { - return fileDescriptor_0c5120591600887d, []int{17} -} - -func (m *Scenario) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Scenario.Unmarshal(m, b) -} -func (m *Scenario) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Scenario.Marshal(b, m, deterministic) -} -func (m *Scenario) XXX_Merge(src proto.Message) { - xxx_messageInfo_Scenario.Merge(m, src) -} -func (m *Scenario) XXX_Size() int { - return xxx_messageInfo_Scenario.Size(m) -} -func (m *Scenario) XXX_DiscardUnknown() { - xxx_messageInfo_Scenario.DiscardUnknown(m) -} - -var xxx_messageInfo_Scenario proto.InternalMessageInfo - -func (m *Scenario) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Scenario) GetClientConfig() *ClientConfig { - if m != nil { - return m.ClientConfig - } - return nil -} - -func (m *Scenario) GetNumClients() int32 { - if m != nil { - return m.NumClients - } - return 0 -} - -func (m *Scenario) GetServerConfig() *ServerConfig { - if m != nil { - return m.ServerConfig - } - return nil -} - -func (m *Scenario) GetNumServers() int32 { - if m != nil { - return m.NumServers - } - return 0 -} - -func (m *Scenario) GetWarmupSeconds() int32 { - if m != nil { - return m.WarmupSeconds - } - return 0 -} - -func (m *Scenario) GetBenchmarkSeconds() int32 { - if m != nil { - return m.BenchmarkSeconds - } - return 0 -} - -func (m *Scenario) GetSpawnLocalWorkerCount() int32 { - if m != nil { - return m.SpawnLocalWorkerCount - } - return 0 -} - -// A set of scenarios to be run with qps_json_driver -type Scenarios struct { - Scenarios []*Scenario `protobuf:"bytes,1,rep,name=scenarios,proto3" json:"scenarios,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Scenarios) Reset() { *m = Scenarios{} } -func (m *Scenarios) String() string { return proto.CompactTextString(m) } -func (*Scenarios) ProtoMessage() {} -func (*Scenarios) Descriptor() ([]byte, []int) { - return fileDescriptor_0c5120591600887d, []int{18} -} - -func (m *Scenarios) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Scenarios.Unmarshal(m, b) -} -func (m *Scenarios) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Scenarios.Marshal(b, m, deterministic) -} -func (m *Scenarios) XXX_Merge(src proto.Message) { - xxx_messageInfo_Scenarios.Merge(m, src) -} -func (m *Scenarios) XXX_Size() int { - return xxx_messageInfo_Scenarios.Size(m) -} -func (m *Scenarios) XXX_DiscardUnknown() { - xxx_messageInfo_Scenarios.DiscardUnknown(m) -} - -var xxx_messageInfo_Scenarios proto.InternalMessageInfo - -func (m *Scenarios) GetScenarios() []*Scenario { - if m != nil { - return m.Scenarios - } - return nil -} - -func init() { - proto.RegisterEnum("grpc.testing.ClientType", ClientType_name, ClientType_value) - proto.RegisterEnum("grpc.testing.ServerType", ServerType_name, ServerType_value) - proto.RegisterEnum("grpc.testing.RpcType", RpcType_name, RpcType_value) - proto.RegisterType((*PoissonParams)(nil), "grpc.testing.PoissonParams") - proto.RegisterType((*UniformParams)(nil), "grpc.testing.UniformParams") - proto.RegisterType((*DeterministicParams)(nil), "grpc.testing.DeterministicParams") - proto.RegisterType((*ParetoParams)(nil), "grpc.testing.ParetoParams") - proto.RegisterType((*ClosedLoopParams)(nil), "grpc.testing.ClosedLoopParams") - proto.RegisterType((*LoadParams)(nil), "grpc.testing.LoadParams") - proto.RegisterType((*SecurityParams)(nil), "grpc.testing.SecurityParams") - proto.RegisterType((*ClientConfig)(nil), "grpc.testing.ClientConfig") - proto.RegisterType((*ClientStatus)(nil), "grpc.testing.ClientStatus") - proto.RegisterType((*Mark)(nil), "grpc.testing.Mark") - proto.RegisterType((*ClientArgs)(nil), "grpc.testing.ClientArgs") - proto.RegisterType((*ServerConfig)(nil), "grpc.testing.ServerConfig") - proto.RegisterType((*ServerArgs)(nil), "grpc.testing.ServerArgs") - proto.RegisterType((*ServerStatus)(nil), "grpc.testing.ServerStatus") - proto.RegisterType((*CoreRequest)(nil), "grpc.testing.CoreRequest") - proto.RegisterType((*CoreResponse)(nil), "grpc.testing.CoreResponse") - proto.RegisterType((*Void)(nil), "grpc.testing.Void") - proto.RegisterType((*Scenario)(nil), "grpc.testing.Scenario") - proto.RegisterType((*Scenarios)(nil), "grpc.testing.Scenarios") -} - -func init() { proto.RegisterFile("control.proto", fileDescriptor_0c5120591600887d) } - -var fileDescriptor_0c5120591600887d = []byte{ - // 1179 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0x6f, 0x6f, 0xdb, 0xb6, - 0x13, 0xb6, 0x1d, 0xdb, 0xb1, 0x4e, 0xb6, 0xe3, 0x1f, 0x7f, 0xe9, 0xa0, 0xa6, 0x69, 0x97, 0x6a, - 0x1b, 0x16, 0x64, 0x40, 0x5a, 0x78, 0x05, 0xba, 0x62, 0x2f, 0x02, 0xc7, 0x33, 0xea, 0x00, 0x69, - 0x96, 0xd1, 0x69, 0x87, 0xbe, 0x12, 0x18, 0x99, 0xb1, 0x85, 0xc8, 0xa2, 0x46, 0x52, 0x09, 0xf2, - 0x15, 0xf6, 0x99, 0xf6, 0x39, 0xf6, 0x35, 0xf6, 0x15, 0x06, 0xfe, 0x91, 0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 0x3f, 0x6a, 0x00, 0x2a, 0x9e, 0x8d, 0x32, 0x00, 0x37, 0xd4, 0x90, 0x20, - 0x66, 0x2c, 0xd5, 0xfb, 0xbb, 0xfd, 0x67, 0x87, 0x45, 0x1d, 0x0e, 0x57, 0xf7, 0x18, 0x57, 0x30, - 0x84, 0x4b, 0x1b, 0x7a, 0x0d, 0x9b, 0xa9, 0x51, 0x42, 0x47, 0x77, 0xfb, 0x4f, 0xca, 0xf4, 0x92, - 0x4c, 0xe3, 0x0a, 0xce, 0xd1, 0x8a, 0x98, 0x19, 0x39, 0xbc, 0x8d, 0x75, 0xc4, 0x92, 0x56, 0x8a, - 0x68, 0xd1, 0xe8, 0x47, 0x68, 0x4e, 0x75, 0x92, 0xbd, 0xba, 0xe6, 0x3d, 0x2f, 0xf3, 0xd6, 0x08, - 0x30, 0xae, 0x60, 0x4b, 0x41, 0xaf, 0xa0, 0x99, 0xea, 0x3c, 0x7b, 0x0d, 0x4d, 0xde, 0x59, 0x39, - 0x6d, 0x41, 0x03, 0xc5, 0x32, 0xd8, 0xe3, 0x26, 0xd4, 0x95, 0x70, 0xfe, 0x25, 0x74, 0x27, 0x34, - 0xcc, 0x78, 0x24, 0xef, 0x6c, 0x06, 0x9f, 0x81, 0x9b, 0x09, 0x1a, 0x28, 0x7e, 0x10, 0x12, 0x9d, - 0xc1, 0x16, 0x76, 0x32, 0x41, 0x2f, 0xa8, 0x90, 0x43, 0x82, 0x5e, 0xc2, 0xb6, 0xa0, 0xfc, 0x86, - 0xf2, 0x60, 0xce, 0x84, 0x0c, 0xd8, 0x0d, 0xe5, 0x3c, 0x9a, 0x52, 0x9d, 0x2b, 0x07, 0x23, 0xe3, - 0x1b, 0x33, 0x21, 0x7f, 0xb6, 0x1e, 0xff, 0xf7, 0x06, 0xb4, 0x87, 0x71, 0x44, 0x13, 0x39, 0x64, - 0xc9, 0x55, 0x34, 0x43, 0xdf, 0x40, 0xd7, 0x6e, 0x21, 0x09, 0x9f, 0x51, 0x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59, 0xf4, 0x03, 0x4e, 0x0b, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/grpc/benchmark/grpc_testing/messages.pb.go b/vendor/google.golang.org/grpc/benchmark/grpc_testing/messages.pb.go deleted file mode 100644 index e2c69450..00000000 --- a/vendor/google.golang.org/grpc/benchmark/grpc_testing/messages.pb.go +++ /dev/null @@ -1,748 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: messages.proto - -package grpc_testing - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The type of payload that should be returned. -type PayloadType int32 - -const ( - // Compressable text format. - PayloadType_COMPRESSABLE PayloadType = 0 - // Uncompressable binary format. - PayloadType_UNCOMPRESSABLE PayloadType = 1 - // Randomly chosen from all other formats defined in this enum. - PayloadType_RANDOM PayloadType = 2 -) - -var PayloadType_name = map[int32]string{ - 0: "COMPRESSABLE", - 1: "UNCOMPRESSABLE", - 2: "RANDOM", -} - -var PayloadType_value = map[string]int32{ - "COMPRESSABLE": 0, - "UNCOMPRESSABLE": 1, - "RANDOM": 2, -} - -func (x PayloadType) String() string { - return proto.EnumName(PayloadType_name, int32(x)) -} - -func (PayloadType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4dc296cbfe5ffcd5, []int{0} -} - -// Compression algorithms -type CompressionType int32 - -const ( - // No compression - CompressionType_NONE CompressionType = 0 - CompressionType_GZIP CompressionType = 1 - CompressionType_DEFLATE CompressionType = 2 -) - -var CompressionType_name = map[int32]string{ - 0: "NONE", - 1: "GZIP", - 2: "DEFLATE", -} - -var CompressionType_value = map[string]int32{ - "NONE": 0, - "GZIP": 1, - "DEFLATE": 2, -} - -func (x CompressionType) String() string { - return proto.EnumName(CompressionType_name, int32(x)) -} - -func (CompressionType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4dc296cbfe5ffcd5, []int{1} -} - -// A block of data, to simply increase gRPC message size. -type Payload struct { - // The type of data in body. - Type PayloadType `protobuf:"varint,1,opt,name=type,proto3,enum=grpc.testing.PayloadType" json:"type,omitempty"` - // Primary contents of payload. - Body []byte `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Payload) Reset() { *m = Payload{} } -func (m *Payload) String() string { return proto.CompactTextString(m) } -func (*Payload) ProtoMessage() {} -func (*Payload) Descriptor() ([]byte, []int) { - return fileDescriptor_4dc296cbfe5ffcd5, []int{0} -} - -func (m *Payload) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Payload.Unmarshal(m, b) -} -func (m *Payload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Payload.Marshal(b, m, deterministic) -} -func (m *Payload) XXX_Merge(src proto.Message) { - xxx_messageInfo_Payload.Merge(m, src) -} -func (m *Payload) XXX_Size() int { - return xxx_messageInfo_Payload.Size(m) -} -func (m *Payload) XXX_DiscardUnknown() { - xxx_messageInfo_Payload.DiscardUnknown(m) -} - -var xxx_messageInfo_Payload proto.InternalMessageInfo - -func (m *Payload) GetType() PayloadType { - if m != nil { - return m.Type - } - return PayloadType_COMPRESSABLE -} - -func (m *Payload) GetBody() []byte { - if m != nil { - return m.Body - } - return nil -} - -// A protobuf representation for grpc status. This is used by test -// clients to specify a status that the server should attempt to return. -type EchoStatus struct { - Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` - 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 *EchoStatus) Reset() { *m = EchoStatus{} } -func (m *EchoStatus) String() string { return proto.CompactTextString(m) } -func (*EchoStatus) ProtoMessage() {} -func (*EchoStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_4dc296cbfe5ffcd5, []int{1} -} - -func (m *EchoStatus) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EchoStatus.Unmarshal(m, b) -} -func (m *EchoStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EchoStatus.Marshal(b, m, deterministic) -} -func (m *EchoStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_EchoStatus.Merge(m, src) -} -func (m *EchoStatus) XXX_Size() int { - return xxx_messageInfo_EchoStatus.Size(m) -} -func (m *EchoStatus) XXX_DiscardUnknown() { - xxx_messageInfo_EchoStatus.DiscardUnknown(m) -} - -var xxx_messageInfo_EchoStatus proto.InternalMessageInfo - -func (m *EchoStatus) GetCode() int32 { - if m != nil { - return m.Code - } - return 0 -} - -func (m *EchoStatus) GetMessage() string { - if m != nil { - return m.Message - } - return "" -} - -// Unary request. -type SimpleRequest struct { - // Desired payload type in the response from the server. - // If response_type is RANDOM, server randomly chooses one from other formats. - ResponseType PayloadType `protobuf:"varint,1,opt,name=response_type,json=responseType,proto3,enum=grpc.testing.PayloadType" json:"response_type,omitempty"` - // Desired payload size in the response from the server. - // If response_type is COMPRESSABLE, this denotes the size before compression. - ResponseSize int32 `protobuf:"varint,2,opt,name=response_size,json=responseSize,proto3" json:"response_size,omitempty"` - // Optional input payload sent along with the request. - Payload *Payload `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` - // Whether SimpleResponse should include username. - FillUsername bool `protobuf:"varint,4,opt,name=fill_username,json=fillUsername,proto3" json:"fill_username,omitempty"` - // Whether SimpleResponse should include OAuth scope. - FillOauthScope bool `protobuf:"varint,5,opt,name=fill_oauth_scope,json=fillOauthScope,proto3" json:"fill_oauth_scope,omitempty"` - // Compression algorithm to be used by the server for the response (stream) - ResponseCompression CompressionType `protobuf:"varint,6,opt,name=response_compression,json=responseCompression,proto3,enum=grpc.testing.CompressionType" json:"response_compression,omitempty"` - // Whether server should return a given status - ResponseStatus *EchoStatus `protobuf:"bytes,7,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 *SimpleRequest) Reset() { *m = SimpleRequest{} } -func (m *SimpleRequest) String() string { return proto.CompactTextString(m) } -func (*SimpleRequest) ProtoMessage() {} -func (*SimpleRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4dc296cbfe5ffcd5, []int{2} -} - -func (m *SimpleRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SimpleRequest.Unmarshal(m, b) -} -func (m *SimpleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SimpleRequest.Marshal(b, m, deterministic) -} -func (m *SimpleRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SimpleRequest.Merge(m, src) -} -func (m *SimpleRequest) XXX_Size() int { - return xxx_messageInfo_SimpleRequest.Size(m) -} -func (m *SimpleRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SimpleRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SimpleRequest proto.InternalMessageInfo - -func (m *SimpleRequest) GetResponseType() PayloadType { - if m != nil { - return m.ResponseType - } - return PayloadType_COMPRESSABLE -} - -func (m *SimpleRequest) GetResponseSize() int32 { - if m != nil { - return m.ResponseSize - } - return 0 -} - -func (m *SimpleRequest) GetPayload() *Payload { - if m != nil { - return m.Payload - } - return nil -} - -func (m *SimpleRequest) GetFillUsername() bool { - if m != nil { - return m.FillUsername - } - return false -} - -func (m *SimpleRequest) GetFillOauthScope() bool { - if m != nil { - return m.FillOauthScope - } - return false -} - -func (m *SimpleRequest) GetResponseCompression() CompressionType { - if m != nil { - return m.ResponseCompression - } - return CompressionType_NONE -} - -func (m *SimpleRequest) GetResponseStatus() *EchoStatus { - if m != nil { - return m.ResponseStatus - } - return nil -} - -// Unary response, as configured by the request. -type SimpleResponse struct { - // Payload to increase message size. - Payload *Payload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` - // The user the request came from, for verifying authentication was - // successful when the client expected it. - Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` - // OAuth scope. - OauthScope string `protobuf:"bytes,3,opt,name=oauth_scope,json=oauthScope,proto3" json:"oauth_scope,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SimpleResponse) Reset() { *m = SimpleResponse{} } -func (m *SimpleResponse) String() string { return proto.CompactTextString(m) } -func (*SimpleResponse) ProtoMessage() {} -func (*SimpleResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4dc296cbfe5ffcd5, []int{3} -} - -func (m *SimpleResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SimpleResponse.Unmarshal(m, b) -} -func (m *SimpleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SimpleResponse.Marshal(b, m, deterministic) -} -func (m *SimpleResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SimpleResponse.Merge(m, src) -} -func (m *SimpleResponse) XXX_Size() int { - return xxx_messageInfo_SimpleResponse.Size(m) -} -func (m *SimpleResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SimpleResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SimpleResponse proto.InternalMessageInfo - -func (m *SimpleResponse) GetPayload() *Payload { - if m != nil { - return m.Payload - } - return nil -} - -func (m *SimpleResponse) GetUsername() string { - if m != nil { - return m.Username - } - return "" -} - -func (m *SimpleResponse) GetOauthScope() string { - if m != nil { - return m.OauthScope - } - return "" -} - -// Client-streaming request. -type StreamingInputCallRequest struct { - // Optional input payload sent along with the request. - Payload *Payload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StreamingInputCallRequest) Reset() { *m = StreamingInputCallRequest{} } -func (m *StreamingInputCallRequest) String() string { return proto.CompactTextString(m) } -func (*StreamingInputCallRequest) ProtoMessage() {} -func (*StreamingInputCallRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4dc296cbfe5ffcd5, []int{4} -} - -func (m *StreamingInputCallRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingInputCallRequest.Unmarshal(m, b) -} -func (m *StreamingInputCallRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingInputCallRequest.Marshal(b, m, deterministic) -} -func (m *StreamingInputCallRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingInputCallRequest.Merge(m, src) -} -func (m *StreamingInputCallRequest) XXX_Size() int { - return xxx_messageInfo_StreamingInputCallRequest.Size(m) -} -func (m *StreamingInputCallRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingInputCallRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingInputCallRequest proto.InternalMessageInfo - -func (m *StreamingInputCallRequest) GetPayload() *Payload { - if m != nil { - return m.Payload - } - return nil -} - -// Client-streaming response. -type StreamingInputCallResponse struct { - // Aggregated size of payloads received from the client. - AggregatedPayloadSize int32 `protobuf:"varint,1,opt,name=aggregated_payload_size,json=aggregatedPayloadSize,proto3" json:"aggregated_payload_size,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StreamingInputCallResponse) Reset() { *m = StreamingInputCallResponse{} } -func (m *StreamingInputCallResponse) String() string { return proto.CompactTextString(m) } -func (*StreamingInputCallResponse) ProtoMessage() {} -func (*StreamingInputCallResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4dc296cbfe5ffcd5, []int{5} -} - -func (m *StreamingInputCallResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingInputCallResponse.Unmarshal(m, b) -} -func (m *StreamingInputCallResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingInputCallResponse.Marshal(b, m, deterministic) -} -func (m *StreamingInputCallResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingInputCallResponse.Merge(m, src) -} -func (m *StreamingInputCallResponse) XXX_Size() int { - return xxx_messageInfo_StreamingInputCallResponse.Size(m) -} -func (m *StreamingInputCallResponse) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingInputCallResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingInputCallResponse proto.InternalMessageInfo - -func (m *StreamingInputCallResponse) GetAggregatedPayloadSize() int32 { - if m != nil { - return m.AggregatedPayloadSize - } - return 0 -} - -// Configuration for a particular response. -type ResponseParameters struct { - // Desired payload sizes in responses from the server. - // If response_type is COMPRESSABLE, this denotes the size before compression. - Size int32 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` - // Desired interval between consecutive responses in the response stream in - // microseconds. - IntervalUs int32 `protobuf:"varint,2,opt,name=interval_us,json=intervalUs,proto3" json:"interval_us,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ResponseParameters) Reset() { *m = ResponseParameters{} } -func (m *ResponseParameters) String() string { return proto.CompactTextString(m) } -func (*ResponseParameters) ProtoMessage() {} -func (*ResponseParameters) Descriptor() ([]byte, []int) { - return fileDescriptor_4dc296cbfe5ffcd5, []int{6} -} - -func (m *ResponseParameters) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResponseParameters.Unmarshal(m, b) -} -func (m *ResponseParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResponseParameters.Marshal(b, m, deterministic) -} -func (m *ResponseParameters) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResponseParameters.Merge(m, src) -} -func (m *ResponseParameters) XXX_Size() int { - return xxx_messageInfo_ResponseParameters.Size(m) -} -func (m *ResponseParameters) XXX_DiscardUnknown() { - xxx_messageInfo_ResponseParameters.DiscardUnknown(m) -} - -var xxx_messageInfo_ResponseParameters proto.InternalMessageInfo - -func (m *ResponseParameters) GetSize() int32 { - if m != nil { - return m.Size - } - return 0 -} - -func (m *ResponseParameters) GetIntervalUs() int32 { - if m != nil { - return m.IntervalUs - } - return 0 -} - -// Server-streaming request. -type StreamingOutputCallRequest struct { - // Desired payload type in the response from the server. - // If response_type is RANDOM, the payload from each response in the stream - // might be of different types. This is to simulate a mixed type of payload - // stream. - ResponseType PayloadType `protobuf:"varint,1,opt,name=response_type,json=responseType,proto3,enum=grpc.testing.PayloadType" json:"response_type,omitempty"` - // Configuration for each expected response message. - ResponseParameters []*ResponseParameters `protobuf:"bytes,2,rep,name=response_parameters,json=responseParameters,proto3" json:"response_parameters,omitempty"` - // Optional input payload sent along with the request. - Payload *Payload `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` - // Compression algorithm to be used by the server for the response (stream) - ResponseCompression CompressionType `protobuf:"varint,6,opt,name=response_compression,json=responseCompression,proto3,enum=grpc.testing.CompressionType" json:"response_compression,omitempty"` - // Whether server should return a given status - ResponseStatus *EchoStatus `protobuf:"bytes,7,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 *StreamingOutputCallRequest) Reset() { *m = StreamingOutputCallRequest{} } -func (m *StreamingOutputCallRequest) String() string { return proto.CompactTextString(m) } -func (*StreamingOutputCallRequest) ProtoMessage() {} -func (*StreamingOutputCallRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4dc296cbfe5ffcd5, []int{7} -} - -func (m *StreamingOutputCallRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingOutputCallRequest.Unmarshal(m, b) -} -func (m *StreamingOutputCallRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingOutputCallRequest.Marshal(b, m, deterministic) -} -func (m *StreamingOutputCallRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingOutputCallRequest.Merge(m, src) -} -func (m *StreamingOutputCallRequest) XXX_Size() int { - return xxx_messageInfo_StreamingOutputCallRequest.Size(m) -} -func (m *StreamingOutputCallRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingOutputCallRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingOutputCallRequest proto.InternalMessageInfo - -func (m *StreamingOutputCallRequest) GetResponseType() PayloadType { - if m != nil { - return m.ResponseType - } - return PayloadType_COMPRESSABLE -} - -func (m *StreamingOutputCallRequest) GetResponseParameters() []*ResponseParameters { - if m != nil { - return m.ResponseParameters - } - return nil -} - -func (m *StreamingOutputCallRequest) GetPayload() *Payload { - if m != nil { - return m.Payload - } - return nil -} - -func (m *StreamingOutputCallRequest) GetResponseCompression() CompressionType { - if m != nil { - return m.ResponseCompression - } - return CompressionType_NONE -} - -func (m *StreamingOutputCallRequest) GetResponseStatus() *EchoStatus { - if m != nil { - return m.ResponseStatus - } - return nil -} - -// Server-streaming response, as configured by the request and parameters. -type StreamingOutputCallResponse struct { - // Payload to increase response size. - Payload *Payload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StreamingOutputCallResponse) Reset() { *m = StreamingOutputCallResponse{} } -func (m *StreamingOutputCallResponse) String() string { return proto.CompactTextString(m) } -func (*StreamingOutputCallResponse) ProtoMessage() {} -func (*StreamingOutputCallResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4dc296cbfe5ffcd5, []int{8} -} - -func (m *StreamingOutputCallResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingOutputCallResponse.Unmarshal(m, b) -} -func (m *StreamingOutputCallResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingOutputCallResponse.Marshal(b, m, deterministic) -} -func (m *StreamingOutputCallResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingOutputCallResponse.Merge(m, src) -} -func (m *StreamingOutputCallResponse) XXX_Size() int { - return xxx_messageInfo_StreamingOutputCallResponse.Size(m) -} -func (m *StreamingOutputCallResponse) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingOutputCallResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingOutputCallResponse proto.InternalMessageInfo - -func (m *StreamingOutputCallResponse) GetPayload() *Payload { - if m != nil { - return m.Payload - } - return nil -} - -// For reconnect interop test only. -// Client tells server what reconnection parameters it used. -type ReconnectParams struct { - MaxReconnectBackoffMs int32 `protobuf:"varint,1,opt,name=max_reconnect_backoff_ms,json=maxReconnectBackoffMs,proto3" json:"max_reconnect_backoff_ms,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ReconnectParams) Reset() { *m = ReconnectParams{} } -func (m *ReconnectParams) String() string { return proto.CompactTextString(m) } -func (*ReconnectParams) ProtoMessage() {} -func (*ReconnectParams) Descriptor() ([]byte, []int) { - return fileDescriptor_4dc296cbfe5ffcd5, []int{9} -} - -func (m *ReconnectParams) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReconnectParams.Unmarshal(m, b) -} -func (m *ReconnectParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReconnectParams.Marshal(b, m, deterministic) -} -func (m *ReconnectParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReconnectParams.Merge(m, src) -} -func (m *ReconnectParams) XXX_Size() int { - return xxx_messageInfo_ReconnectParams.Size(m) -} -func (m *ReconnectParams) XXX_DiscardUnknown() { - xxx_messageInfo_ReconnectParams.DiscardUnknown(m) -} - -var xxx_messageInfo_ReconnectParams proto.InternalMessageInfo - -func (m *ReconnectParams) GetMaxReconnectBackoffMs() int32 { - if m != nil { - return m.MaxReconnectBackoffMs - } - return 0 -} - -// For reconnect interop test only. -// Server tells client whether its reconnects are following the spec and the -// reconnect backoffs it saw. -type ReconnectInfo struct { - Passed bool `protobuf:"varint,1,opt,name=passed,proto3" json:"passed,omitempty"` - BackoffMs []int32 `protobuf:"varint,2,rep,packed,name=backoff_ms,json=backoffMs,proto3" json:"backoff_ms,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ReconnectInfo) Reset() { *m = ReconnectInfo{} } -func (m *ReconnectInfo) String() string { return proto.CompactTextString(m) } -func (*ReconnectInfo) ProtoMessage() {} -func (*ReconnectInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_4dc296cbfe5ffcd5, []int{10} -} - -func (m *ReconnectInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReconnectInfo.Unmarshal(m, b) -} -func (m *ReconnectInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReconnectInfo.Marshal(b, m, deterministic) -} -func (m *ReconnectInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReconnectInfo.Merge(m, src) -} -func (m *ReconnectInfo) XXX_Size() int { - return xxx_messageInfo_ReconnectInfo.Size(m) -} -func (m *ReconnectInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ReconnectInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_ReconnectInfo proto.InternalMessageInfo - -func (m *ReconnectInfo) GetPassed() bool { - if m != nil { - return m.Passed - } - return false -} - -func (m *ReconnectInfo) GetBackoffMs() []int32 { - if m != nil { - return m.BackoffMs - } - return nil -} - -func init() { - proto.RegisterEnum("grpc.testing.PayloadType", PayloadType_name, PayloadType_value) - proto.RegisterEnum("grpc.testing.CompressionType", CompressionType_name, CompressionType_value) - proto.RegisterType((*Payload)(nil), "grpc.testing.Payload") - proto.RegisterType((*EchoStatus)(nil), "grpc.testing.EchoStatus") - proto.RegisterType((*SimpleRequest)(nil), "grpc.testing.SimpleRequest") - proto.RegisterType((*SimpleResponse)(nil), "grpc.testing.SimpleResponse") - proto.RegisterType((*StreamingInputCallRequest)(nil), "grpc.testing.StreamingInputCallRequest") - proto.RegisterType((*StreamingInputCallResponse)(nil), "grpc.testing.StreamingInputCallResponse") - proto.RegisterType((*ResponseParameters)(nil), "grpc.testing.ResponseParameters") - proto.RegisterType((*StreamingOutputCallRequest)(nil), "grpc.testing.StreamingOutputCallRequest") - proto.RegisterType((*StreamingOutputCallResponse)(nil), "grpc.testing.StreamingOutputCallResponse") - proto.RegisterType((*ReconnectParams)(nil), "grpc.testing.ReconnectParams") - proto.RegisterType((*ReconnectInfo)(nil), "grpc.testing.ReconnectInfo") -} - -func init() { proto.RegisterFile("messages.proto", fileDescriptor_4dc296cbfe5ffcd5) } - -var fileDescriptor_4dc296cbfe5ffcd5 = []byte{ - // 652 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x55, 0x4d, 0x6f, 0xd3, 0x40, - 0x10, 0xc5, 0xf9, 0xee, 0x24, 0x4d, 0xa3, 0x85, 0x82, 0x5b, 0x54, 0x11, 0x99, 0x4b, 0x54, 0x89, - 0x20, 0x05, 0x09, 0x24, 0x0e, 0xa0, 0xb4, 0x4d, 0x51, 0x50, 0x9a, 0x84, 0x75, 0x7b, 0xe1, 0x62, - 0x6d, 0x9c, 0x8d, 0x6b, 0x11, 0x7b, 0x8d, 0x77, 0x8d, 0x9a, 0x1e, 0xb8, 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0x43, 0x9f, 0x78, 0x54, 0x2f, 0xb5, 0xb5, 0x4e, 0x0d, 0x37, 0x24, 0x78, 0x91, - 0x60, 0xa8, 0x03, 0x2d, 0x45, 0x62, 0x24, 0x12, 0x97, 0x16, 0xb7, 0x59, 0x40, 0xf5, 0xb2, 0xe2, - 0x35, 0x25, 0x3e, 0x91, 0xb0, 0x29, 0x51, 0x34, 0x85, 0x27, 0x59, 0x93, 0x36, 0xf3, 0x82, 0x90, - 0x72, 0xee, 0x32, 0x5f, 0xaf, 0x28, 0xaf, 0x07, 0x9b, 0xcd, 0x1c, 0xaf, 0x09, 0xca, 0xef, 0xe3, - 0xb4, 0x34, 0xf7, 0x80, 0xfa, 0xb0, 0xb3, 0xb6, 0xad, 0x36, 0xa1, 0x57, 0x95, 0x33, 0x7d, 0x53, - 0x6c, 0xbd, 0x29, 0xdc, 0xcc, 0x46, 0xa2, 0xee, 0xc6, 0x4f, 0x68, 0xa6, 0xab, 0x88, 0xf1, 0xfc, - 0x98, 0xb4, 0x7b, 0x8d, 0x69, 0x1f, 0x6a, 0xd9, 0x84, 0xe2, 0x4d, 0x67, 0x77, 0xf4, 0x02, 0xea, - 0xf9, 0xc1, 0x14, 0xd5, 0x33, 0xb0, 0x6c, 0x28, 0xc6, 0x08, 0xf6, 0x4c, 0x11, 0x52, 0xe2, 0xb9, - 0xbe, 0x33, 0xf4, 0x83, 0x48, 0x1c, 0x93, 0xe5, 0x32, 0x8d, 0xc5, 0x43, 0x5b, 0x31, 0xce, 0x61, - 0xff, 0x2e, 0xb5, 0xc4, 0xd9, 0x5b, 0x78, 0x46, 0x1c, 0x27, 0xa4, 0x0e, 0x11, 0x74, 0x6e, 0x25, - 0x35, 0x71, 0x5e, 0xe2, 0xe0, 0xee, 0xae, 0x9f, 0x13, 0x69, 0x19, 0x1c, 0x63, 0x08, 0x28, 0xd5, - 0x98, 0x92, 0x90, 0x78, 0x54, 0xd0, 0x50, 0x65, 0x3e, 0x57, 0xaa, 0xce, 0xd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x63, 0x59, 0x5c, 0x83, 0xd2, 0xa7, 0xaf, 0xc3, 0x69, 0x4b, 0x43, 0x75, 0xa8, - 0x9e, 0x0c, 0x4e, 0x47, 0xfd, 0xf3, 0x41, 0xab, 0x30, 0xab, 0xa8, 0xbf, 0x9a, 0x37, 0x7f, 0x02, - 0x00, 0x00, 0xff, 0xff, 0xc2, 0x6a, 0xce, 0x1e, 0x7c, 0x06, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/grpc/benchmark/grpc_testing/payloads.pb.go b/vendor/google.golang.org/grpc/benchmark/grpc_testing/payloads.pb.go deleted file mode 100644 index 5e58aace..00000000 --- a/vendor/google.golang.org/grpc/benchmark/grpc_testing/payloads.pb.go +++ /dev/null @@ -1,270 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: payloads.proto - -package grpc_testing - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type ByteBufferParams struct { - ReqSize int32 `protobuf:"varint,1,opt,name=req_size,json=reqSize,proto3" json:"req_size,omitempty"` - RespSize int32 `protobuf:"varint,2,opt,name=resp_size,json=respSize,proto3" json:"resp_size,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ByteBufferParams) Reset() { *m = ByteBufferParams{} } -func (m *ByteBufferParams) String() string { return proto.CompactTextString(m) } -func (*ByteBufferParams) ProtoMessage() {} -func (*ByteBufferParams) Descriptor() ([]byte, []int) { - return fileDescriptor_3a075f58f70088c8, []int{0} -} - -func (m *ByteBufferParams) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ByteBufferParams.Unmarshal(m, b) -} -func (m *ByteBufferParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ByteBufferParams.Marshal(b, m, deterministic) -} -func (m *ByteBufferParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_ByteBufferParams.Merge(m, src) -} -func (m *ByteBufferParams) XXX_Size() int { - return xxx_messageInfo_ByteBufferParams.Size(m) -} -func (m *ByteBufferParams) XXX_DiscardUnknown() { - xxx_messageInfo_ByteBufferParams.DiscardUnknown(m) -} - -var xxx_messageInfo_ByteBufferParams proto.InternalMessageInfo - -func (m *ByteBufferParams) GetReqSize() int32 { - if m != nil { - return m.ReqSize - } - return 0 -} - -func (m *ByteBufferParams) GetRespSize() int32 { - if m != nil { - return m.RespSize - } - return 0 -} - -type SimpleProtoParams struct { - ReqSize int32 `protobuf:"varint,1,opt,name=req_size,json=reqSize,proto3" json:"req_size,omitempty"` - RespSize int32 `protobuf:"varint,2,opt,name=resp_size,json=respSize,proto3" json:"resp_size,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SimpleProtoParams) Reset() { *m = SimpleProtoParams{} } -func (m *SimpleProtoParams) String() string { return proto.CompactTextString(m) } -func (*SimpleProtoParams) ProtoMessage() {} -func (*SimpleProtoParams) Descriptor() ([]byte, []int) { - return fileDescriptor_3a075f58f70088c8, []int{1} -} - -func (m *SimpleProtoParams) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SimpleProtoParams.Unmarshal(m, b) -} -func (m *SimpleProtoParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SimpleProtoParams.Marshal(b, m, deterministic) -} -func (m *SimpleProtoParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_SimpleProtoParams.Merge(m, src) -} -func (m *SimpleProtoParams) XXX_Size() int { - return xxx_messageInfo_SimpleProtoParams.Size(m) -} -func (m *SimpleProtoParams) XXX_DiscardUnknown() { - xxx_messageInfo_SimpleProtoParams.DiscardUnknown(m) -} - -var xxx_messageInfo_SimpleProtoParams proto.InternalMessageInfo - -func (m *SimpleProtoParams) GetReqSize() int32 { - if m != nil { - return m.ReqSize - } - return 0 -} - -func (m *SimpleProtoParams) GetRespSize() int32 { - if m != nil { - return m.RespSize - } - return 0 -} - -type ComplexProtoParams struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ComplexProtoParams) Reset() { *m = ComplexProtoParams{} } -func (m *ComplexProtoParams) String() string { return proto.CompactTextString(m) } -func (*ComplexProtoParams) ProtoMessage() {} -func (*ComplexProtoParams) Descriptor() ([]byte, []int) { - return fileDescriptor_3a075f58f70088c8, []int{2} -} - -func (m *ComplexProtoParams) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ComplexProtoParams.Unmarshal(m, b) -} -func (m *ComplexProtoParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ComplexProtoParams.Marshal(b, m, deterministic) -} -func (m *ComplexProtoParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_ComplexProtoParams.Merge(m, src) -} -func (m *ComplexProtoParams) XXX_Size() int { - return xxx_messageInfo_ComplexProtoParams.Size(m) -} -func (m *ComplexProtoParams) XXX_DiscardUnknown() { - xxx_messageInfo_ComplexProtoParams.DiscardUnknown(m) -} - -var xxx_messageInfo_ComplexProtoParams proto.InternalMessageInfo - -type PayloadConfig struct { - // Types that are valid to be assigned to Payload: - // *PayloadConfig_BytebufParams - // *PayloadConfig_SimpleParams - // *PayloadConfig_ComplexParams - Payload isPayloadConfig_Payload `protobuf_oneof:"payload"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PayloadConfig) Reset() { *m = PayloadConfig{} } -func (m *PayloadConfig) String() string { return proto.CompactTextString(m) } -func (*PayloadConfig) ProtoMessage() {} -func (*PayloadConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_3a075f58f70088c8, []int{3} -} - -func (m *PayloadConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PayloadConfig.Unmarshal(m, b) -} -func (m *PayloadConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PayloadConfig.Marshal(b, m, deterministic) -} -func (m *PayloadConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_PayloadConfig.Merge(m, src) -} -func (m *PayloadConfig) XXX_Size() int { - return xxx_messageInfo_PayloadConfig.Size(m) -} -func (m *PayloadConfig) XXX_DiscardUnknown() { - xxx_messageInfo_PayloadConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_PayloadConfig proto.InternalMessageInfo - -type isPayloadConfig_Payload interface { - isPayloadConfig_Payload() -} - -type PayloadConfig_BytebufParams struct { - BytebufParams *ByteBufferParams `protobuf:"bytes,1,opt,name=bytebuf_params,json=bytebufParams,proto3,oneof"` -} - -type PayloadConfig_SimpleParams struct { - SimpleParams *SimpleProtoParams `protobuf:"bytes,2,opt,name=simple_params,json=simpleParams,proto3,oneof"` -} - -type PayloadConfig_ComplexParams struct { - ComplexParams *ComplexProtoParams `protobuf:"bytes,3,opt,name=complex_params,json=complexParams,proto3,oneof"` -} - -func (*PayloadConfig_BytebufParams) isPayloadConfig_Payload() {} - -func (*PayloadConfig_SimpleParams) isPayloadConfig_Payload() {} - -func (*PayloadConfig_ComplexParams) isPayloadConfig_Payload() {} - -func (m *PayloadConfig) GetPayload() isPayloadConfig_Payload { - if m != nil { - return m.Payload - } - return nil -} - -func (m *PayloadConfig) GetBytebufParams() *ByteBufferParams { - if x, ok := m.GetPayload().(*PayloadConfig_BytebufParams); ok { - return x.BytebufParams - } - return nil -} - -func (m *PayloadConfig) GetSimpleParams() *SimpleProtoParams { - if x, ok := m.GetPayload().(*PayloadConfig_SimpleParams); ok { - return x.SimpleParams - } - return nil -} - -func (m *PayloadConfig) GetComplexParams() *ComplexProtoParams { - if x, ok := m.GetPayload().(*PayloadConfig_ComplexParams); ok { - return x.ComplexParams - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*PayloadConfig) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*PayloadConfig_BytebufParams)(nil), - (*PayloadConfig_SimpleParams)(nil), - (*PayloadConfig_ComplexParams)(nil), - } -} - -func init() { - proto.RegisterType((*ByteBufferParams)(nil), "grpc.testing.ByteBufferParams") - proto.RegisterType((*SimpleProtoParams)(nil), "grpc.testing.SimpleProtoParams") - proto.RegisterType((*ComplexProtoParams)(nil), "grpc.testing.ComplexProtoParams") - proto.RegisterType((*PayloadConfig)(nil), "grpc.testing.PayloadConfig") -} - -func init() { proto.RegisterFile("payloads.proto", fileDescriptor_3a075f58f70088c8) } - -var fileDescriptor_3a075f58f70088c8 = []byte{ - // 254 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x2b, 0x48, 0xac, 0xcc, - 0xc9, 0x4f, 0x4c, 0x29, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x49, 0x2f, 0x2a, 0x48, - 0xd6, 0x2b, 0x49, 0x2d, 0x2e, 0xc9, 0xcc, 0x4b, 0x57, 0xf2, 0xe2, 0x12, 0x70, 0xaa, 0x2c, 0x49, - 0x75, 0x2a, 0x4d, 0x4b, 0x4b, 0x2d, 0x0a, 0x48, 0x2c, 0x4a, 0xcc, 0x2d, 0x16, 0x92, 0xe4, 0xe2, - 0x28, 0x4a, 0x2d, 0x8c, 0x2f, 0xce, 0xac, 0x4a, 0x95, 0x60, 0x54, 0x60, 0xd4, 0x60, 0x0d, 0x62, - 0x2f, 0x4a, 0x2d, 0x0c, 0xce, 0xac, 0x4a, 0x15, 0x92, 0xe6, 0xe2, 0x2c, 0x4a, 0x2d, 0x2e, 0x80, - 0xc8, 0x31, 0x81, 0xe5, 0x38, 0x40, 0x02, 0x20, 0x49, 0x25, 0x6f, 0x2e, 0xc1, 0xe0, 0xcc, 0xdc, - 0x82, 0x9c, 0xd4, 0x00, 0x90, 0x45, 0x14, 0x1a, 0x26, 0xc2, 0x25, 0xe4, 0x9c, 0x0f, 0x32, 0xac, - 0x02, 0xc9, 0x34, 0xa5, 0x6f, 0x8c, 0x5c, 0xbc, 0x01, 0x10, 0xff, 0x38, 0xe7, 0xe7, 0xa5, 0x65, - 0xa6, 0x0b, 0xb9, 0x73, 0xf1, 0x25, 0x55, 0x96, 0xa4, 0x26, 0x95, 0xa6, 0xc5, 0x17, 0x80, 0xd5, - 0x80, 0x6d, 0xe1, 0x36, 0x92, 0xd3, 0x43, 0xf6, 0xa7, 0x1e, 0xba, 0x27, 0x3d, 0x18, 0x82, 0x78, - 0xa1, 0xfa, 0xa0, 0x0e, 0x75, 0xe3, 0xe2, 0x2d, 0x06, 0xbb, 0x1e, 0x66, 0x0e, 0x13, 0xd8, 0x1c, - 0x79, 0x54, 0x73, 0x30, 0x3c, 0xe8, 0xc1, 0x10, 0xc4, 0x03, 0xd1, 0x07, 0x35, 0xc7, 0x93, 0x8b, - 0x2f, 0x19, 0xe2, 0x70, 0x98, 0x41, 0xcc, 0x60, 0x83, 0x14, 0x50, 0x0d, 0xc2, 0xf4, 0x1c, 0xc8, - 0x49, 0x50, 0x9d, 0x10, 0x01, 0x27, 0x4e, 0x2e, 0x76, 0x68, 0xe4, 0x25, 0xb1, 0x81, 0x23, 0xcf, - 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0xb0, 0x8c, 0x18, 0x4e, 0xce, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/grpc/benchmark/grpc_testing/services.pb.go b/vendor/google.golang.org/grpc/benchmark/grpc_testing/services.pb.go deleted file mode 100644 index d2f7d6de..00000000 --- a/vendor/google.golang.org/grpc/benchmark/grpc_testing/services.pb.go +++ /dev/null @@ -1,550 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: services.proto - -package grpc_testing - -import ( - context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -func init() { proto.RegisterFile("services.proto", fileDescriptor_8e16ccb8c5307b32) } - -var fileDescriptor_8e16ccb8c5307b32 = []byte{ - // 271 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x92, 0xc1, 0x4a, 0xc3, 0x40, - 0x10, 0x86, 0x69, 0x0f, 0x42, 0x16, 0x53, 0x64, 0x4f, 0xba, 0xfa, 0x00, 0x9e, 0x82, 0x54, 0x5f, - 0xc0, 0x06, 0x3d, 0x0a, 0x36, 0x54, 0x0f, 0x9e, 0xd6, 0x74, 0x88, 0x4b, 0x93, 0x99, 0x38, 0x33, - 0x11, 0x7c, 0x02, 0x1f, 0xc1, 0xd7, 0x15, 0xb3, 0x56, 0x6a, 0xc8, 0xcd, 0x1e, 0xe7, 0xff, 0x86, - 0x8f, 0xfd, 0x77, 0xd7, 0xcc, 0x04, 0xf8, 0x2d, 0x94, 0x20, 0x59, 0xcb, 0xa4, 0x64, 0x0f, 0x2b, - 0x6e, 0xcb, 0x4c, 0x41, 0x34, 0x60, 0xe5, 0x66, 0x0d, 0x88, 0xf8, 0x6a, 0x4b, 0x5d, 0x5a, 0x12, - 0x2a, 0x53, 0x1d, 0xc7, 0xf9, 0xc7, 0xd4, 0x1c, 0x2d, 0x00, 0xcb, 0x97, 0xc6, 0xf3, 0xa6, 0x88, - 0x22, 0x7b, 0x6b, 0x92, 0x15, 0x7a, 0x7e, 0xcf, 0x7d, 0x5d, 0xdb, 0xd3, 0x6c, 0xd7, 0x97, 0x15, - 0xa1, 0x69, 0x6b, 0x58, 0xc2, 0x6b, 0x07, 0xa2, 0xee, 0x6c, 0x1c, 0x4a, 0x4b, 0x28, 0x60, 0xef, - 0x4c, 0x5a, 0x28, 0x83, 0x6f, 0x02, 0x56, 0xff, 0x74, 0x9d, 0x4f, 0x2e, 0x26, 0xf6, 0xc9, 0xb8, - 0x15, 0x96, 0x84, 0xa2, 0xec, 0x03, 0xc2, 0x7a, 0x9f, 0xf2, 0xf9, 0xe7, 0xd4, 0xa4, 0x8f, 0xc4, - 0x1b, 0xe0, 0xed, 0x35, 0xdc, 0x98, 0x64, 0xd9, 0xe1, 0xf7, 0x04, 0x6c, 0x8f, 0x07, 0x82, 0x3e, - 0xbd, 0xe6, 0x4a, 0x9c, 0x1b, 0x23, 0x85, 0x7a, 0xed, 0xa4, 0x3f, 0x75, 0xd4, 0xe4, 0x75, 0x00, - 0xd4, 0xa1, 0x26, 0xa6, 0x63, 0x9a, 0x48, 0x76, 0x34, 0x0b, 0x93, 0xe4, 0xc4, 0x90, 0x53, 0x87, - 0x6a, 0x4f, 0x06, 0xcb, 0xc4, 0xbf, 0x4d, 0xdd, 0x18, 0xfa, 0x79, 0x90, 0x2b, 0x63, 0xee, 0xbb, - 0xa0, 0xb1, 0xa6, 0xb5, 0x7f, 0x37, 0x1f, 0x28, 0xac, 0xdd, 0x48, 0xf6, 0x7c, 0xd0, 0x7f, 0x95, - 0xcb, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x9a, 0xb4, 0x19, 0x36, 0x69, 0x02, 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 - -// BenchmarkServiceClient is the client API for BenchmarkService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type BenchmarkServiceClient interface { - // One request followed by one response. - // The server returns the client payload as-is. - UnaryCall(ctx context.Context, in *SimpleRequest, opts ...grpc.CallOption) (*SimpleResponse, error) - // One request followed by one response. - // The server returns the client payload as-is. - StreamingCall(ctx context.Context, opts ...grpc.CallOption) (BenchmarkService_StreamingCallClient, error) - // Unconstrainted streaming. - // Both server and client keep sending & receiving simultaneously. - UnconstrainedStreamingCall(ctx context.Context, opts ...grpc.CallOption) (BenchmarkService_UnconstrainedStreamingCallClient, error) -} - -type benchmarkServiceClient struct { - cc *grpc.ClientConn -} - -func NewBenchmarkServiceClient(cc *grpc.ClientConn) BenchmarkServiceClient { - return &benchmarkServiceClient{cc} -} - -func (c *benchmarkServiceClient) UnaryCall(ctx context.Context, in *SimpleRequest, opts ...grpc.CallOption) (*SimpleResponse, error) { - out := new(SimpleResponse) - err := c.cc.Invoke(ctx, "/grpc.testing.BenchmarkService/UnaryCall", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *benchmarkServiceClient) StreamingCall(ctx context.Context, opts ...grpc.CallOption) (BenchmarkService_StreamingCallClient, error) { - stream, err := c.cc.NewStream(ctx, &_BenchmarkService_serviceDesc.Streams[0], "/grpc.testing.BenchmarkService/StreamingCall", opts...) - if err != nil { - return nil, err - } - x := &benchmarkServiceStreamingCallClient{stream} - return x, nil -} - -type BenchmarkService_StreamingCallClient interface { - Send(*SimpleRequest) error - Recv() (*SimpleResponse, error) - grpc.ClientStream -} - -type benchmarkServiceStreamingCallClient struct { - grpc.ClientStream -} - -func (x *benchmarkServiceStreamingCallClient) Send(m *SimpleRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *benchmarkServiceStreamingCallClient) Recv() (*SimpleResponse, error) { - m := new(SimpleResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *benchmarkServiceClient) UnconstrainedStreamingCall(ctx context.Context, opts ...grpc.CallOption) (BenchmarkService_UnconstrainedStreamingCallClient, error) { - stream, err := c.cc.NewStream(ctx, &_BenchmarkService_serviceDesc.Streams[1], "/grpc.testing.BenchmarkService/UnconstrainedStreamingCall", opts...) - if err != nil { - return nil, err - } - x := &benchmarkServiceUnconstrainedStreamingCallClient{stream} - return x, nil -} - -type BenchmarkService_UnconstrainedStreamingCallClient interface { - Send(*SimpleRequest) error - Recv() (*SimpleResponse, error) - grpc.ClientStream -} - -type benchmarkServiceUnconstrainedStreamingCallClient struct { - grpc.ClientStream -} - -func (x *benchmarkServiceUnconstrainedStreamingCallClient) Send(m *SimpleRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *benchmarkServiceUnconstrainedStreamingCallClient) Recv() (*SimpleResponse, error) { - m := new(SimpleResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// BenchmarkServiceServer is the server API for BenchmarkService service. -type BenchmarkServiceServer interface { - // One request followed by one response. - // The server returns the client payload as-is. - UnaryCall(context.Context, *SimpleRequest) (*SimpleResponse, error) - // One request followed by one response. - // The server returns the client payload as-is. - StreamingCall(BenchmarkService_StreamingCallServer) error - // Unconstrainted streaming. - // Both server and client keep sending & receiving simultaneously. - UnconstrainedStreamingCall(BenchmarkService_UnconstrainedStreamingCallServer) error -} - -// UnimplementedBenchmarkServiceServer can be embedded to have forward compatible implementations. -type UnimplementedBenchmarkServiceServer struct { -} - -func (*UnimplementedBenchmarkServiceServer) UnaryCall(ctx context.Context, req *SimpleRequest) (*SimpleResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UnaryCall not implemented") -} -func (*UnimplementedBenchmarkServiceServer) StreamingCall(srv BenchmarkService_StreamingCallServer) error { - return status.Errorf(codes.Unimplemented, "method StreamingCall not implemented") -} -func (*UnimplementedBenchmarkServiceServer) UnconstrainedStreamingCall(srv BenchmarkService_UnconstrainedStreamingCallServer) error { - return status.Errorf(codes.Unimplemented, "method UnconstrainedStreamingCall not implemented") -} - -func RegisterBenchmarkServiceServer(s *grpc.Server, srv BenchmarkServiceServer) { - s.RegisterService(&_BenchmarkService_serviceDesc, srv) -} - -func _BenchmarkService_UnaryCall_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SimpleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BenchmarkServiceServer).UnaryCall(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.testing.BenchmarkService/UnaryCall", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BenchmarkServiceServer).UnaryCall(ctx, req.(*SimpleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _BenchmarkService_StreamingCall_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(BenchmarkServiceServer).StreamingCall(&benchmarkServiceStreamingCallServer{stream}) -} - -type BenchmarkService_StreamingCallServer interface { - Send(*SimpleResponse) error - Recv() (*SimpleRequest, error) - grpc.ServerStream -} - -type benchmarkServiceStreamingCallServer struct { - grpc.ServerStream -} - -func (x *benchmarkServiceStreamingCallServer) Send(m *SimpleResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *benchmarkServiceStreamingCallServer) Recv() (*SimpleRequest, error) { - m := new(SimpleRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _BenchmarkService_UnconstrainedStreamingCall_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(BenchmarkServiceServer).UnconstrainedStreamingCall(&benchmarkServiceUnconstrainedStreamingCallServer{stream}) -} - -type BenchmarkService_UnconstrainedStreamingCallServer interface { - Send(*SimpleResponse) error - Recv() (*SimpleRequest, error) - grpc.ServerStream -} - -type benchmarkServiceUnconstrainedStreamingCallServer struct { - grpc.ServerStream -} - -func (x *benchmarkServiceUnconstrainedStreamingCallServer) Send(m *SimpleResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *benchmarkServiceUnconstrainedStreamingCallServer) Recv() (*SimpleRequest, error) { - m := new(SimpleRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -var _BenchmarkService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "grpc.testing.BenchmarkService", - HandlerType: (*BenchmarkServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "UnaryCall", - Handler: _BenchmarkService_UnaryCall_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "StreamingCall", - Handler: _BenchmarkService_StreamingCall_Handler, - ServerStreams: true, - ClientStreams: true, - }, - { - StreamName: "UnconstrainedStreamingCall", - Handler: _BenchmarkService_UnconstrainedStreamingCall_Handler, - ServerStreams: true, - ClientStreams: true, - }, - }, - Metadata: "services.proto", -} - -// WorkerServiceClient is the client API for WorkerService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type WorkerServiceClient interface { - // Start server with specified workload. - // First request sent specifies the ServerConfig followed by ServerStatus - // response. After that, a "Mark" can be sent anytime to request the latest - // stats. Closing the stream will initiate shutdown of the test server - // and once the shutdown has finished, the OK status is sent to terminate - // this RPC. - RunServer(ctx context.Context, opts ...grpc.CallOption) (WorkerService_RunServerClient, error) - // Start client with specified workload. - // First request sent specifies the ClientConfig followed by ClientStatus - // response. After that, a "Mark" can be sent anytime to request the latest - // stats. Closing the stream will initiate shutdown of the test client - // and once the shutdown has finished, the OK status is sent to terminate - // this RPC. - RunClient(ctx context.Context, opts ...grpc.CallOption) (WorkerService_RunClientClient, error) - // Just return the core count - unary call - CoreCount(ctx context.Context, in *CoreRequest, opts ...grpc.CallOption) (*CoreResponse, error) - // Quit this worker - QuitWorker(ctx context.Context, in *Void, opts ...grpc.CallOption) (*Void, error) -} - -type workerServiceClient struct { - cc *grpc.ClientConn -} - -func NewWorkerServiceClient(cc *grpc.ClientConn) WorkerServiceClient { - return &workerServiceClient{cc} -} - -func (c *workerServiceClient) RunServer(ctx context.Context, opts ...grpc.CallOption) (WorkerService_RunServerClient, error) { - stream, err := c.cc.NewStream(ctx, &_WorkerService_serviceDesc.Streams[0], "/grpc.testing.WorkerService/RunServer", opts...) - if err != nil { - return nil, err - } - x := &workerServiceRunServerClient{stream} - return x, nil -} - -type WorkerService_RunServerClient interface { - Send(*ServerArgs) error - Recv() (*ServerStatus, error) - grpc.ClientStream -} - -type workerServiceRunServerClient struct { - grpc.ClientStream -} - -func (x *workerServiceRunServerClient) Send(m *ServerArgs) error { - return x.ClientStream.SendMsg(m) -} - -func (x *workerServiceRunServerClient) Recv() (*ServerStatus, error) { - m := new(ServerStatus) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *workerServiceClient) RunClient(ctx context.Context, opts ...grpc.CallOption) (WorkerService_RunClientClient, error) { - stream, err := c.cc.NewStream(ctx, &_WorkerService_serviceDesc.Streams[1], "/grpc.testing.WorkerService/RunClient", opts...) - if err != nil { - return nil, err - } - x := &workerServiceRunClientClient{stream} - return x, nil -} - -type WorkerService_RunClientClient interface { - Send(*ClientArgs) error - Recv() (*ClientStatus, error) - grpc.ClientStream -} - -type workerServiceRunClientClient struct { - grpc.ClientStream -} - -func (x *workerServiceRunClientClient) Send(m *ClientArgs) error { - return x.ClientStream.SendMsg(m) -} - -func (x *workerServiceRunClientClient) Recv() (*ClientStatus, error) { - m := new(ClientStatus) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *workerServiceClient) CoreCount(ctx context.Context, in *CoreRequest, opts ...grpc.CallOption) (*CoreResponse, error) { - out := new(CoreResponse) - err := c.cc.Invoke(ctx, "/grpc.testing.WorkerService/CoreCount", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *workerServiceClient) QuitWorker(ctx context.Context, in *Void, opts ...grpc.CallOption) (*Void, error) { - out := new(Void) - err := c.cc.Invoke(ctx, "/grpc.testing.WorkerService/QuitWorker", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// WorkerServiceServer is the server API for WorkerService service. -type WorkerServiceServer interface { - // Start server with specified workload. - // First request sent specifies the ServerConfig followed by ServerStatus - // response. After that, a "Mark" can be sent anytime to request the latest - // stats. Closing the stream will initiate shutdown of the test server - // and once the shutdown has finished, the OK status is sent to terminate - // this RPC. - RunServer(WorkerService_RunServerServer) error - // Start client with specified workload. - // First request sent specifies the ClientConfig followed by ClientStatus - // response. After that, a "Mark" can be sent anytime to request the latest - // stats. Closing the stream will initiate shutdown of the test client - // and once the shutdown has finished, the OK status is sent to terminate - // this RPC. - RunClient(WorkerService_RunClientServer) error - // Just return the core count - unary call - CoreCount(context.Context, *CoreRequest) (*CoreResponse, error) - // Quit this worker - QuitWorker(context.Context, *Void) (*Void, error) -} - -// UnimplementedWorkerServiceServer can be embedded to have forward compatible implementations. -type UnimplementedWorkerServiceServer struct { -} - -func (*UnimplementedWorkerServiceServer) RunServer(srv WorkerService_RunServerServer) error { - return status.Errorf(codes.Unimplemented, "method RunServer not implemented") -} -func (*UnimplementedWorkerServiceServer) RunClient(srv WorkerService_RunClientServer) error { - return status.Errorf(codes.Unimplemented, "method RunClient not implemented") -} -func (*UnimplementedWorkerServiceServer) CoreCount(ctx context.Context, req *CoreRequest) (*CoreResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CoreCount not implemented") -} -func (*UnimplementedWorkerServiceServer) QuitWorker(ctx context.Context, req *Void) (*Void, error) { - return nil, status.Errorf(codes.Unimplemented, "method QuitWorker not implemented") -} - -func RegisterWorkerServiceServer(s *grpc.Server, srv WorkerServiceServer) { - s.RegisterService(&_WorkerService_serviceDesc, srv) -} - -func _WorkerService_RunServer_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(WorkerServiceServer).RunServer(&workerServiceRunServerServer{stream}) -} - -type WorkerService_RunServerServer interface { - Send(*ServerStatus) error - Recv() (*ServerArgs, error) - grpc.ServerStream -} - -type workerServiceRunServerServer struct { - grpc.ServerStream -} - -func (x *workerServiceRunServerServer) Send(m *ServerStatus) error { - return x.ServerStream.SendMsg(m) -} - -func (x *workerServiceRunServerServer) Recv() (*ServerArgs, error) { - m := new(ServerArgs) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _WorkerService_RunClient_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(WorkerServiceServer).RunClient(&workerServiceRunClientServer{stream}) -} - -type WorkerService_RunClientServer interface { - Send(*ClientStatus) error - Recv() (*ClientArgs, error) - grpc.ServerStream -} - -type workerServiceRunClientServer struct { - grpc.ServerStream -} - -func (x *workerServiceRunClientServer) Send(m *ClientStatus) error { - return x.ServerStream.SendMsg(m) -} - -func (x *workerServiceRunClientServer) Recv() (*ClientArgs, error) { - m := new(ClientArgs) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _WorkerService_CoreCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CoreRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkerServiceServer).CoreCount(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.testing.WorkerService/CoreCount", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkerServiceServer).CoreCount(ctx, req.(*CoreRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _WorkerService_QuitWorker_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Void) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WorkerServiceServer).QuitWorker(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.testing.WorkerService/QuitWorker", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WorkerServiceServer).QuitWorker(ctx, req.(*Void)) - } - return interceptor(ctx, in, info, handler) -} - -var _WorkerService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "grpc.testing.WorkerService", - HandlerType: (*WorkerServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CoreCount", - Handler: _WorkerService_CoreCount_Handler, - }, - { - MethodName: "QuitWorker", - Handler: _WorkerService_QuitWorker_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "RunServer", - Handler: _WorkerService_RunServer_Handler, - ServerStreams: true, - ClientStreams: true, - }, - { - StreamName: "RunClient", - Handler: _WorkerService_RunClient_Handler, - ServerStreams: true, - ClientStreams: true, - }, - }, - Metadata: "services.proto", -} diff --git a/vendor/google.golang.org/grpc/benchmark/grpc_testing/stats.pb.go b/vendor/google.golang.org/grpc/benchmark/grpc_testing/stats.pb.go deleted file mode 100644 index 2e6bcc70..00000000 --- a/vendor/google.golang.org/grpc/benchmark/grpc_testing/stats.pb.go +++ /dev/null @@ -1,308 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: stats.proto - -package grpc_testing - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type ServerStats struct { - // wall clock time change in seconds since last reset - TimeElapsed float64 `protobuf:"fixed64,1,opt,name=time_elapsed,json=timeElapsed,proto3" json:"time_elapsed,omitempty"` - // change in user time (in seconds) used by the server since last reset - TimeUser float64 `protobuf:"fixed64,2,opt,name=time_user,json=timeUser,proto3" json:"time_user,omitempty"` - // change in server time (in seconds) used by the server process and all - // threads since last reset - TimeSystem float64 `protobuf:"fixed64,3,opt,name=time_system,json=timeSystem,proto3" json:"time_system,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ServerStats) Reset() { *m = ServerStats{} } -func (m *ServerStats) String() string { return proto.CompactTextString(m) } -func (*ServerStats) ProtoMessage() {} -func (*ServerStats) Descriptor() ([]byte, []int) { - return fileDescriptor_b4756a0aec8b9d44, []int{0} -} - -func (m *ServerStats) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServerStats.Unmarshal(m, b) -} -func (m *ServerStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServerStats.Marshal(b, m, deterministic) -} -func (m *ServerStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServerStats.Merge(m, src) -} -func (m *ServerStats) XXX_Size() int { - return xxx_messageInfo_ServerStats.Size(m) -} -func (m *ServerStats) XXX_DiscardUnknown() { - xxx_messageInfo_ServerStats.DiscardUnknown(m) -} - -var xxx_messageInfo_ServerStats proto.InternalMessageInfo - -func (m *ServerStats) GetTimeElapsed() float64 { - if m != nil { - return m.TimeElapsed - } - return 0 -} - -func (m *ServerStats) GetTimeUser() float64 { - if m != nil { - return m.TimeUser - } - return 0 -} - -func (m *ServerStats) GetTimeSystem() float64 { - if m != nil { - return m.TimeSystem - } - return 0 -} - -// Histogram params based on grpc/support/histogram.c -type HistogramParams struct { - Resolution float64 `protobuf:"fixed64,1,opt,name=resolution,proto3" json:"resolution,omitempty"` - MaxPossible float64 `protobuf:"fixed64,2,opt,name=max_possible,json=maxPossible,proto3" json:"max_possible,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *HistogramParams) Reset() { *m = HistogramParams{} } -func (m *HistogramParams) String() string { return proto.CompactTextString(m) } -func (*HistogramParams) ProtoMessage() {} -func (*HistogramParams) Descriptor() ([]byte, []int) { - return fileDescriptor_b4756a0aec8b9d44, []int{1} -} - -func (m *HistogramParams) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HistogramParams.Unmarshal(m, b) -} -func (m *HistogramParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HistogramParams.Marshal(b, m, deterministic) -} -func (m *HistogramParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_HistogramParams.Merge(m, src) -} -func (m *HistogramParams) XXX_Size() int { - return xxx_messageInfo_HistogramParams.Size(m) -} -func (m *HistogramParams) XXX_DiscardUnknown() { - xxx_messageInfo_HistogramParams.DiscardUnknown(m) -} - -var xxx_messageInfo_HistogramParams proto.InternalMessageInfo - -func (m *HistogramParams) GetResolution() float64 { - if m != nil { - return m.Resolution - } - return 0 -} - -func (m *HistogramParams) GetMaxPossible() float64 { - if m != nil { - return m.MaxPossible - } - return 0 -} - -// Histogram data based on grpc/support/histogram.c -type HistogramData struct { - Bucket []uint32 `protobuf:"varint,1,rep,packed,name=bucket,proto3" json:"bucket,omitempty"` - MinSeen float64 `protobuf:"fixed64,2,opt,name=min_seen,json=minSeen,proto3" json:"min_seen,omitempty"` - MaxSeen float64 `protobuf:"fixed64,3,opt,name=max_seen,json=maxSeen,proto3" json:"max_seen,omitempty"` - Sum float64 `protobuf:"fixed64,4,opt,name=sum,proto3" json:"sum,omitempty"` - SumOfSquares float64 `protobuf:"fixed64,5,opt,name=sum_of_squares,json=sumOfSquares,proto3" json:"sum_of_squares,omitempty"` - Count float64 `protobuf:"fixed64,6,opt,name=count,proto3" json:"count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *HistogramData) Reset() { *m = HistogramData{} } -func (m *HistogramData) String() string { return proto.CompactTextString(m) } -func (*HistogramData) ProtoMessage() {} -func (*HistogramData) Descriptor() ([]byte, []int) { - return fileDescriptor_b4756a0aec8b9d44, []int{2} -} - -func (m *HistogramData) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HistogramData.Unmarshal(m, b) -} -func (m *HistogramData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HistogramData.Marshal(b, m, deterministic) -} -func (m *HistogramData) XXX_Merge(src proto.Message) { - xxx_messageInfo_HistogramData.Merge(m, src) -} -func (m *HistogramData) XXX_Size() int { - return xxx_messageInfo_HistogramData.Size(m) -} -func (m *HistogramData) XXX_DiscardUnknown() { - xxx_messageInfo_HistogramData.DiscardUnknown(m) -} - -var xxx_messageInfo_HistogramData proto.InternalMessageInfo - -func (m *HistogramData) GetBucket() []uint32 { - if m != nil { - return m.Bucket - } - return nil -} - -func (m *HistogramData) GetMinSeen() float64 { - if m != nil { - return m.MinSeen - } - return 0 -} - -func (m *HistogramData) GetMaxSeen() float64 { - if m != nil { - return m.MaxSeen - } - return 0 -} - -func (m *HistogramData) GetSum() float64 { - if m != nil { - return m.Sum - } - return 0 -} - -func (m *HistogramData) GetSumOfSquares() float64 { - if m != nil { - return m.SumOfSquares - } - return 0 -} - -func (m *HistogramData) GetCount() float64 { - if m != nil { - return m.Count - } - return 0 -} - -type ClientStats struct { - // Latency histogram. Data points are in nanoseconds. - Latencies *HistogramData `protobuf:"bytes,1,opt,name=latencies,proto3" json:"latencies,omitempty"` - // See ServerStats for details. - TimeElapsed float64 `protobuf:"fixed64,2,opt,name=time_elapsed,json=timeElapsed,proto3" json:"time_elapsed,omitempty"` - TimeUser float64 `protobuf:"fixed64,3,opt,name=time_user,json=timeUser,proto3" json:"time_user,omitempty"` - TimeSystem float64 `protobuf:"fixed64,4,opt,name=time_system,json=timeSystem,proto3" json:"time_system,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ClientStats) Reset() { *m = ClientStats{} } -func (m *ClientStats) String() string { return proto.CompactTextString(m) } -func (*ClientStats) ProtoMessage() {} -func (*ClientStats) Descriptor() ([]byte, []int) { - return fileDescriptor_b4756a0aec8b9d44, []int{3} -} - -func (m *ClientStats) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClientStats.Unmarshal(m, b) -} -func (m *ClientStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClientStats.Marshal(b, m, deterministic) -} -func (m *ClientStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClientStats.Merge(m, src) -} -func (m *ClientStats) XXX_Size() int { - return xxx_messageInfo_ClientStats.Size(m) -} -func (m *ClientStats) XXX_DiscardUnknown() { - xxx_messageInfo_ClientStats.DiscardUnknown(m) -} - -var xxx_messageInfo_ClientStats proto.InternalMessageInfo - -func (m *ClientStats) GetLatencies() *HistogramData { - if m != nil { - return m.Latencies - } - return nil -} - -func (m *ClientStats) GetTimeElapsed() float64 { - if m != nil { - return m.TimeElapsed - } - return 0 -} - -func (m *ClientStats) GetTimeUser() float64 { - if m != nil { - return m.TimeUser - } - return 0 -} - -func (m *ClientStats) GetTimeSystem() float64 { - if m != nil { - return m.TimeSystem - } - return 0 -} - -func init() { - proto.RegisterType((*ServerStats)(nil), "grpc.testing.ServerStats") - proto.RegisterType((*HistogramParams)(nil), "grpc.testing.HistogramParams") - proto.RegisterType((*HistogramData)(nil), "grpc.testing.HistogramData") - proto.RegisterType((*ClientStats)(nil), "grpc.testing.ClientStats") -} - -func init() { proto.RegisterFile("stats.proto", fileDescriptor_b4756a0aec8b9d44) } - -var fileDescriptor_b4756a0aec8b9d44 = []byte{ - // 341 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xc1, 0x4a, 0xeb, 0x40, - 0x14, 0x86, 0x49, 0xd3, 0xf6, 0xb6, 0x27, 0xed, 0xbd, 0x97, 0x41, 0x24, 0x52, 0xd0, 0x1a, 0x5c, - 0x74, 0x95, 0x85, 0xae, 0x5c, 0xab, 0xe0, 0xce, 0xd2, 0xe8, 0x3a, 0x4c, 0xe3, 0x69, 0x19, 0xcc, - 0xcc, 0xc4, 0x39, 0x33, 0x12, 0x1f, 0x49, 0x7c, 0x49, 0xc9, 0x24, 0x68, 0x55, 0xd0, 0x5d, 0xe6, - 0xfb, 0x7e, 0xe6, 0xe4, 0xe4, 0x0f, 0x44, 0x64, 0xb9, 0xa5, 0xb4, 0x32, 0xda, 0x6a, 0x36, 0xd9, - 0x9a, 0xaa, 0x48, 0x2d, 0x92, 0x15, 0x6a, 0x9b, 0x28, 0x88, 0x32, 0x34, 0x4f, 0x68, 0xb2, 0x26, - 0xc2, 0x8e, 0x61, 0x62, 0x85, 0xc4, 0x1c, 0x4b, 0x5e, 0x11, 0xde, 0xc7, 0xc1, 0x3c, 0x58, 0x04, - 0xab, 0xa8, 0x61, 0x57, 0x2d, 0x62, 0x33, 0x18, 0xfb, 0x88, 0x23, 0x34, 0x71, 0xcf, 0xfb, 0x51, - 0x03, 0xee, 0x08, 0x0d, 0x3b, 0x02, 0x9f, 0xcd, 0xe9, 0x99, 0x2c, 0xca, 0x38, 0xf4, 0x1a, 0x1a, - 0x94, 0x79, 0x92, 0xdc, 0xc2, 0xbf, 0x6b, 0x41, 0x56, 0x6f, 0x0d, 0x97, 0x4b, 0x6e, 0xb8, 0x24, - 0x76, 0x08, 0x60, 0x90, 0x74, 0xe9, 0xac, 0xd0, 0xaa, 0x9b, 0xb8, 0x43, 0x9a, 0x77, 0x92, 0xbc, - 0xce, 0x2b, 0x4d, 0x24, 0xd6, 0x25, 0x76, 0x33, 0x23, 0xc9, 0xeb, 0x65, 0x87, 0x92, 0xd7, 0x00, - 0xa6, 0xef, 0xd7, 0x5e, 0x72, 0xcb, 0xd9, 0x3e, 0x0c, 0xd7, 0xae, 0x78, 0x40, 0x1b, 0x07, 0xf3, - 0x70, 0x31, 0x5d, 0x75, 0x27, 0x76, 0x00, 0x23, 0x29, 0x54, 0x4e, 0x88, 0xaa, 0xbb, 0xe8, 0x8f, - 0x14, 0x2a, 0x43, 0x54, 0x5e, 0xf1, 0xba, 0x55, 0x61, 0xa7, 0x78, 0xed, 0xd5, 0x7f, 0x08, 0xc9, - 0xc9, 0xb8, 0xef, 0x69, 0xf3, 0xc8, 0x4e, 0xe0, 0x2f, 0x39, 0x99, 0xeb, 0x4d, 0x4e, 0x8f, 0x8e, - 0x1b, 0xa4, 0x78, 0xe0, 0xe5, 0x84, 0x9c, 0xbc, 0xd9, 0x64, 0x2d, 0x63, 0x7b, 0x30, 0x28, 0xb4, - 0x53, 0x36, 0x1e, 0x7a, 0xd9, 0x1e, 0x92, 0x97, 0x00, 0xa2, 0x8b, 0x52, 0xa0, 0xb2, 0xed, 0x47, - 0x3f, 0x87, 0x71, 0xc9, 0x2d, 0xaa, 0x42, 0x20, 0xf9, 0xfd, 0xa3, 0xd3, 0x59, 0xba, 0xdb, 0x52, - 0xfa, 0x69, 0xb7, 0xd5, 0x47, 0xfa, 0x5b, 0x5f, 0xbd, 0x5f, 0xfa, 0x0a, 0x7f, 0xee, 0xab, 0xff, - 0xb5, 0xaf, 0xf5, 0xd0, 0xff, 0x34, 0x67, 0x6f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xea, 0x75, 0x34, - 0x90, 0x43, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/grpc/binarylog/grpc_binarylog_v1/binarylog.pb.go b/vendor/google.golang.org/grpc/binarylog/grpc_binarylog_v1/binarylog.pb.go deleted file mode 100644 index f393bb66..00000000 --- a/vendor/google.golang.org/grpc/binarylog/grpc_binarylog_v1/binarylog.pb.go +++ /dev/null @@ -1,900 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: grpc/binarylog/grpc_binarylog_v1/binarylog.proto - -package grpc_binarylog_v1 // import "google.golang.org/grpc/binarylog/grpc_binarylog_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 - -// Enumerates the type of event -// Note the terminology is different from the RPC semantics -// definition, but the same meaning is expressed here. -type GrpcLogEntry_EventType int32 - -const ( - GrpcLogEntry_EVENT_TYPE_UNKNOWN GrpcLogEntry_EventType = 0 - // Header sent from client to server - GrpcLogEntry_EVENT_TYPE_CLIENT_HEADER GrpcLogEntry_EventType = 1 - // Header sent from server to client - GrpcLogEntry_EVENT_TYPE_SERVER_HEADER GrpcLogEntry_EventType = 2 - // Message sent from client to server - GrpcLogEntry_EVENT_TYPE_CLIENT_MESSAGE GrpcLogEntry_EventType = 3 - // Message sent from server to client - GrpcLogEntry_EVENT_TYPE_SERVER_MESSAGE GrpcLogEntry_EventType = 4 - // A signal that client is done sending - GrpcLogEntry_EVENT_TYPE_CLIENT_HALF_CLOSE GrpcLogEntry_EventType = 5 - // Trailer indicates the end of the RPC. - // On client side, this event means a trailer was either received - // from the network or the gRPC library locally generated a status - // to inform the application about a failure. - // On server side, this event means the server application requested - // to send a trailer. Note: EVENT_TYPE_CANCEL may still arrive after - // this due to races on server side. - GrpcLogEntry_EVENT_TYPE_SERVER_TRAILER GrpcLogEntry_EventType = 6 - // A signal that the RPC is cancelled. On client side, this - // indicates the client application requests a cancellation. - // On server side, this indicates that cancellation was detected. - // Note: This marks the end of the RPC. Events may arrive after - // this due to races. For example, on client side a trailer - // may arrive even though the application requested to cancel the RPC. - GrpcLogEntry_EVENT_TYPE_CANCEL GrpcLogEntry_EventType = 7 -) - -var GrpcLogEntry_EventType_name = map[int32]string{ - 0: "EVENT_TYPE_UNKNOWN", - 1: "EVENT_TYPE_CLIENT_HEADER", - 2: "EVENT_TYPE_SERVER_HEADER", - 3: "EVENT_TYPE_CLIENT_MESSAGE", - 4: "EVENT_TYPE_SERVER_MESSAGE", - 5: "EVENT_TYPE_CLIENT_HALF_CLOSE", - 6: "EVENT_TYPE_SERVER_TRAILER", - 7: "EVENT_TYPE_CANCEL", -} -var GrpcLogEntry_EventType_value = map[string]int32{ - "EVENT_TYPE_UNKNOWN": 0, - "EVENT_TYPE_CLIENT_HEADER": 1, - "EVENT_TYPE_SERVER_HEADER": 2, - "EVENT_TYPE_CLIENT_MESSAGE": 3, - "EVENT_TYPE_SERVER_MESSAGE": 4, - "EVENT_TYPE_CLIENT_HALF_CLOSE": 5, - "EVENT_TYPE_SERVER_TRAILER": 6, - "EVENT_TYPE_CANCEL": 7, -} - -func (x GrpcLogEntry_EventType) String() string { - return proto.EnumName(GrpcLogEntry_EventType_name, int32(x)) -} -func (GrpcLogEntry_EventType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_binarylog_264c8c9c551ce911, []int{0, 0} -} - -// Enumerates the entity that generates the log entry -type GrpcLogEntry_Logger int32 - -const ( - GrpcLogEntry_LOGGER_UNKNOWN GrpcLogEntry_Logger = 0 - GrpcLogEntry_LOGGER_CLIENT GrpcLogEntry_Logger = 1 - GrpcLogEntry_LOGGER_SERVER GrpcLogEntry_Logger = 2 -) - -var GrpcLogEntry_Logger_name = map[int32]string{ - 0: "LOGGER_UNKNOWN", - 1: "LOGGER_CLIENT", - 2: "LOGGER_SERVER", -} -var GrpcLogEntry_Logger_value = map[string]int32{ - "LOGGER_UNKNOWN": 0, - "LOGGER_CLIENT": 1, - "LOGGER_SERVER": 2, -} - -func (x GrpcLogEntry_Logger) String() string { - return proto.EnumName(GrpcLogEntry_Logger_name, int32(x)) -} -func (GrpcLogEntry_Logger) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_binarylog_264c8c9c551ce911, []int{0, 1} -} - -type Address_Type int32 - -const ( - Address_TYPE_UNKNOWN Address_Type = 0 - // address is in 1.2.3.4 form - Address_TYPE_IPV4 Address_Type = 1 - // address is in IPv6 canonical form (RFC5952 section 4) - // The scope is NOT included in the address string. - Address_TYPE_IPV6 Address_Type = 2 - // address is UDS string - Address_TYPE_UNIX Address_Type = 3 -) - -var Address_Type_name = map[int32]string{ - 0: "TYPE_UNKNOWN", - 1: "TYPE_IPV4", - 2: "TYPE_IPV6", - 3: "TYPE_UNIX", -} -var Address_Type_value = map[string]int32{ - "TYPE_UNKNOWN": 0, - "TYPE_IPV4": 1, - "TYPE_IPV6": 2, - "TYPE_UNIX": 3, -} - -func (x Address_Type) String() string { - return proto.EnumName(Address_Type_name, int32(x)) -} -func (Address_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_binarylog_264c8c9c551ce911, []int{7, 0} -} - -// Log entry we store in binary logs -type GrpcLogEntry struct { - // The timestamp of the binary log message - Timestamp *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - // Uniquely identifies a call. The value must not be 0 in order to disambiguate - // from an unset value. - // Each call may have several log entries, they will all have the same call_id. - // Nothing is guaranteed about their value other than they are unique across - // different RPCs in the same gRPC process. - CallId uint64 `protobuf:"varint,2,opt,name=call_id,json=callId,proto3" json:"call_id,omitempty"` - // The entry sequence id for this call. The first GrpcLogEntry has a - // value of 1, to disambiguate from an unset value. The purpose of - // this field is to detect missing entries in environments where - // durability or ordering is not guaranteed. - SequenceIdWithinCall uint64 `protobuf:"varint,3,opt,name=sequence_id_within_call,json=sequenceIdWithinCall,proto3" json:"sequence_id_within_call,omitempty"` - Type GrpcLogEntry_EventType `protobuf:"varint,4,opt,name=type,proto3,enum=grpc.binarylog.v1.GrpcLogEntry_EventType" json:"type,omitempty"` - Logger GrpcLogEntry_Logger `protobuf:"varint,5,opt,name=logger,proto3,enum=grpc.binarylog.v1.GrpcLogEntry_Logger" json:"logger,omitempty"` - // The logger uses one of the following fields to record the payload, - // according to the type of the log entry. - // - // Types that are valid to be assigned to Payload: - // *GrpcLogEntry_ClientHeader - // *GrpcLogEntry_ServerHeader - // *GrpcLogEntry_Message - // *GrpcLogEntry_Trailer - Payload isGrpcLogEntry_Payload `protobuf_oneof:"payload"` - // true if payload does not represent the full message or metadata. - PayloadTruncated bool `protobuf:"varint,10,opt,name=payload_truncated,json=payloadTruncated,proto3" json:"payload_truncated,omitempty"` - // Peer address information, will only be recorded on the first - // incoming event. On client side, peer is logged on - // EVENT_TYPE_SERVER_HEADER normally or EVENT_TYPE_SERVER_TRAILER in - // the case of trailers-only. On server side, peer is always - // logged on EVENT_TYPE_CLIENT_HEADER. - Peer *Address `protobuf:"bytes,11,opt,name=peer,proto3" json:"peer,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GrpcLogEntry) Reset() { *m = GrpcLogEntry{} } -func (m *GrpcLogEntry) String() string { return proto.CompactTextString(m) } -func (*GrpcLogEntry) ProtoMessage() {} -func (*GrpcLogEntry) Descriptor() ([]byte, []int) { - return fileDescriptor_binarylog_264c8c9c551ce911, []int{0} -} -func (m *GrpcLogEntry) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GrpcLogEntry.Unmarshal(m, b) -} -func (m *GrpcLogEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GrpcLogEntry.Marshal(b, m, deterministic) -} -func (dst *GrpcLogEntry) XXX_Merge(src proto.Message) { - xxx_messageInfo_GrpcLogEntry.Merge(dst, src) -} -func (m *GrpcLogEntry) XXX_Size() int { - return xxx_messageInfo_GrpcLogEntry.Size(m) -} -func (m *GrpcLogEntry) XXX_DiscardUnknown() { - xxx_messageInfo_GrpcLogEntry.DiscardUnknown(m) -} - -var xxx_messageInfo_GrpcLogEntry proto.InternalMessageInfo - -func (m *GrpcLogEntry) GetTimestamp() *timestamp.Timestamp { - if m != nil { - return m.Timestamp - } - return nil -} - -func (m *GrpcLogEntry) GetCallId() uint64 { - if m != nil { - return m.CallId - } - return 0 -} - -func (m *GrpcLogEntry) GetSequenceIdWithinCall() uint64 { - if m != nil { - return m.SequenceIdWithinCall - } - return 0 -} - -func (m *GrpcLogEntry) GetType() GrpcLogEntry_EventType { - if m != nil { - return m.Type - } - return GrpcLogEntry_EVENT_TYPE_UNKNOWN -} - -func (m *GrpcLogEntry) GetLogger() GrpcLogEntry_Logger { - if m != nil { - return m.Logger - } - return GrpcLogEntry_LOGGER_UNKNOWN -} - -type isGrpcLogEntry_Payload interface { - isGrpcLogEntry_Payload() -} - -type GrpcLogEntry_ClientHeader struct { - ClientHeader *ClientHeader `protobuf:"bytes,6,opt,name=client_header,json=clientHeader,proto3,oneof"` -} - -type GrpcLogEntry_ServerHeader struct { - ServerHeader *ServerHeader `protobuf:"bytes,7,opt,name=server_header,json=serverHeader,proto3,oneof"` -} - -type GrpcLogEntry_Message struct { - Message *Message `protobuf:"bytes,8,opt,name=message,proto3,oneof"` -} - -type GrpcLogEntry_Trailer struct { - Trailer *Trailer `protobuf:"bytes,9,opt,name=trailer,proto3,oneof"` -} - -func (*GrpcLogEntry_ClientHeader) isGrpcLogEntry_Payload() {} - -func (*GrpcLogEntry_ServerHeader) isGrpcLogEntry_Payload() {} - -func (*GrpcLogEntry_Message) isGrpcLogEntry_Payload() {} - -func (*GrpcLogEntry_Trailer) isGrpcLogEntry_Payload() {} - -func (m *GrpcLogEntry) GetPayload() isGrpcLogEntry_Payload { - if m != nil { - return m.Payload - } - return nil -} - -func (m *GrpcLogEntry) GetClientHeader() *ClientHeader { - if x, ok := m.GetPayload().(*GrpcLogEntry_ClientHeader); ok { - return x.ClientHeader - } - return nil -} - -func (m *GrpcLogEntry) GetServerHeader() *ServerHeader { - if x, ok := m.GetPayload().(*GrpcLogEntry_ServerHeader); ok { - return x.ServerHeader - } - return nil -} - -func (m *GrpcLogEntry) GetMessage() *Message { - if x, ok := m.GetPayload().(*GrpcLogEntry_Message); ok { - return x.Message - } - return nil -} - -func (m *GrpcLogEntry) GetTrailer() *Trailer { - if x, ok := m.GetPayload().(*GrpcLogEntry_Trailer); ok { - return x.Trailer - } - return nil -} - -func (m *GrpcLogEntry) GetPayloadTruncated() bool { - if m != nil { - return m.PayloadTruncated - } - return false -} - -func (m *GrpcLogEntry) GetPeer() *Address { - if m != nil { - return m.Peer - } - return nil -} - -// XXX_OneofFuncs is for the internal use of the proto package. -func (*GrpcLogEntry) 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 _GrpcLogEntry_OneofMarshaler, _GrpcLogEntry_OneofUnmarshaler, _GrpcLogEntry_OneofSizer, []interface{}{ - (*GrpcLogEntry_ClientHeader)(nil), - (*GrpcLogEntry_ServerHeader)(nil), - (*GrpcLogEntry_Message)(nil), - (*GrpcLogEntry_Trailer)(nil), - } -} - -func _GrpcLogEntry_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*GrpcLogEntry) - // payload - switch x := m.Payload.(type) { - case *GrpcLogEntry_ClientHeader: - b.EncodeVarint(6<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.ClientHeader); err != nil { - return err - } - case *GrpcLogEntry_ServerHeader: - b.EncodeVarint(7<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.ServerHeader); err != nil { - return err - } - case *GrpcLogEntry_Message: - b.EncodeVarint(8<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Message); err != nil { - return err - } - case *GrpcLogEntry_Trailer: - b.EncodeVarint(9<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Trailer); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("GrpcLogEntry.Payload has unexpected type %T", x) - } - return nil -} - -func _GrpcLogEntry_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*GrpcLogEntry) - switch tag { - case 6: // payload.client_header - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(ClientHeader) - err := b.DecodeMessage(msg) - m.Payload = &GrpcLogEntry_ClientHeader{msg} - return true, err - case 7: // payload.server_header - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(ServerHeader) - err := b.DecodeMessage(msg) - m.Payload = &GrpcLogEntry_ServerHeader{msg} - return true, err - case 8: // payload.message - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(Message) - err := b.DecodeMessage(msg) - m.Payload = &GrpcLogEntry_Message{msg} - return true, err - case 9: // payload.trailer - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(Trailer) - err := b.DecodeMessage(msg) - m.Payload = &GrpcLogEntry_Trailer{msg} - return true, err - default: - return false, nil - } -} - -func _GrpcLogEntry_OneofSizer(msg proto.Message) (n int) { - m := msg.(*GrpcLogEntry) - // payload - switch x := m.Payload.(type) { - case *GrpcLogEntry_ClientHeader: - s := proto.Size(x.ClientHeader) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *GrpcLogEntry_ServerHeader: - s := proto.Size(x.ServerHeader) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *GrpcLogEntry_Message: - s := proto.Size(x.Message) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *GrpcLogEntry_Trailer: - s := proto.Size(x.Trailer) - 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 ClientHeader struct { - // This contains only the metadata from the application. - Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - // The name of the RPC method, which looks something like: - // // - // Note the leading "/" character. - MethodName string `protobuf:"bytes,2,opt,name=method_name,json=methodName,proto3" json:"method_name,omitempty"` - // A single process may be used to run multiple virtual - // servers with different identities. - // The authority is the name of such a server identitiy. - // It is typically a portion of the URI in the form of - // or : . - Authority string `protobuf:"bytes,3,opt,name=authority,proto3" json:"authority,omitempty"` - // the RPC timeout - Timeout *duration.Duration `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ClientHeader) Reset() { *m = ClientHeader{} } -func (m *ClientHeader) String() string { return proto.CompactTextString(m) } -func (*ClientHeader) ProtoMessage() {} -func (*ClientHeader) Descriptor() ([]byte, []int) { - return fileDescriptor_binarylog_264c8c9c551ce911, []int{1} -} -func (m *ClientHeader) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClientHeader.Unmarshal(m, b) -} -func (m *ClientHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClientHeader.Marshal(b, m, deterministic) -} -func (dst *ClientHeader) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClientHeader.Merge(dst, src) -} -func (m *ClientHeader) XXX_Size() int { - return xxx_messageInfo_ClientHeader.Size(m) -} -func (m *ClientHeader) XXX_DiscardUnknown() { - xxx_messageInfo_ClientHeader.DiscardUnknown(m) -} - -var xxx_messageInfo_ClientHeader proto.InternalMessageInfo - -func (m *ClientHeader) GetMetadata() *Metadata { - if m != nil { - return m.Metadata - } - return nil -} - -func (m *ClientHeader) GetMethodName() string { - if m != nil { - return m.MethodName - } - return "" -} - -func (m *ClientHeader) GetAuthority() string { - if m != nil { - return m.Authority - } - return "" -} - -func (m *ClientHeader) GetTimeout() *duration.Duration { - if m != nil { - return m.Timeout - } - return nil -} - -type ServerHeader struct { - // This contains only the metadata from the application. - Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ServerHeader) Reset() { *m = ServerHeader{} } -func (m *ServerHeader) String() string { return proto.CompactTextString(m) } -func (*ServerHeader) ProtoMessage() {} -func (*ServerHeader) Descriptor() ([]byte, []int) { - return fileDescriptor_binarylog_264c8c9c551ce911, []int{2} -} -func (m *ServerHeader) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServerHeader.Unmarshal(m, b) -} -func (m *ServerHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServerHeader.Marshal(b, m, deterministic) -} -func (dst *ServerHeader) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServerHeader.Merge(dst, src) -} -func (m *ServerHeader) XXX_Size() int { - return xxx_messageInfo_ServerHeader.Size(m) -} -func (m *ServerHeader) XXX_DiscardUnknown() { - xxx_messageInfo_ServerHeader.DiscardUnknown(m) -} - -var xxx_messageInfo_ServerHeader proto.InternalMessageInfo - -func (m *ServerHeader) GetMetadata() *Metadata { - if m != nil { - return m.Metadata - } - return nil -} - -type Trailer struct { - // This contains only the metadata from the application. - Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - // The gRPC status code. - StatusCode uint32 `protobuf:"varint,2,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` - // An original status message before any transport specific - // encoding. - StatusMessage string `protobuf:"bytes,3,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` - // The value of the 'grpc-status-details-bin' metadata key. If - // present, this is always an encoded 'google.rpc.Status' message. - StatusDetails []byte `protobuf:"bytes,4,opt,name=status_details,json=statusDetails,proto3" json:"status_details,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Trailer) Reset() { *m = Trailer{} } -func (m *Trailer) String() string { return proto.CompactTextString(m) } -func (*Trailer) ProtoMessage() {} -func (*Trailer) Descriptor() ([]byte, []int) { - return fileDescriptor_binarylog_264c8c9c551ce911, []int{3} -} -func (m *Trailer) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Trailer.Unmarshal(m, b) -} -func (m *Trailer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Trailer.Marshal(b, m, deterministic) -} -func (dst *Trailer) XXX_Merge(src proto.Message) { - xxx_messageInfo_Trailer.Merge(dst, src) -} -func (m *Trailer) XXX_Size() int { - return xxx_messageInfo_Trailer.Size(m) -} -func (m *Trailer) XXX_DiscardUnknown() { - xxx_messageInfo_Trailer.DiscardUnknown(m) -} - -var xxx_messageInfo_Trailer proto.InternalMessageInfo - -func (m *Trailer) GetMetadata() *Metadata { - if m != nil { - return m.Metadata - } - return nil -} - -func (m *Trailer) GetStatusCode() uint32 { - if m != nil { - return m.StatusCode - } - return 0 -} - -func (m *Trailer) GetStatusMessage() string { - if m != nil { - return m.StatusMessage - } - return "" -} - -func (m *Trailer) GetStatusDetails() []byte { - if m != nil { - return m.StatusDetails - } - return nil -} - -// Message payload, used by CLIENT_MESSAGE and SERVER_MESSAGE -type Message struct { - // Length of the message. It may not be the same as the length of the - // data field, as the logging payload can be truncated or omitted. - Length uint32 `protobuf:"varint,1,opt,name=length,proto3" json:"length,omitempty"` - // May be truncated or omitted. - Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Message) Reset() { *m = Message{} } -func (m *Message) String() string { return proto.CompactTextString(m) } -func (*Message) ProtoMessage() {} -func (*Message) Descriptor() ([]byte, []int) { - return fileDescriptor_binarylog_264c8c9c551ce911, []int{4} -} -func (m *Message) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Message.Unmarshal(m, b) -} -func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Message.Marshal(b, m, deterministic) -} -func (dst *Message) XXX_Merge(src proto.Message) { - xxx_messageInfo_Message.Merge(dst, src) -} -func (m *Message) XXX_Size() int { - return xxx_messageInfo_Message.Size(m) -} -func (m *Message) XXX_DiscardUnknown() { - xxx_messageInfo_Message.DiscardUnknown(m) -} - -var xxx_messageInfo_Message proto.InternalMessageInfo - -func (m *Message) GetLength() uint32 { - if m != nil { - return m.Length - } - return 0 -} - -func (m *Message) GetData() []byte { - if m != nil { - return m.Data - } - return nil -} - -// A list of metadata pairs, used in the payload of client header, -// server header, and server trailer. -// Implementations may omit some entries to honor the header limits -// of GRPC_BINARY_LOG_CONFIG. -// -// Header keys added by gRPC are omitted. To be more specific, -// implementations will not log the following entries, and this is -// not to be treated as a truncation: -// - entries handled by grpc that are not user visible, such as those -// that begin with 'grpc-' (with exception of grpc-trace-bin) -// or keys like 'lb-token' -// - transport specific entries, including but not limited to: -// ':path', ':authority', 'content-encoding', 'user-agent', 'te', etc -// - entries added for call credentials -// -// Implementations must always log grpc-trace-bin if it is present. -// Practically speaking it will only be visible on server side because -// grpc-trace-bin is managed by low level client side mechanisms -// inaccessible from the application level. On server side, the -// header is just a normal metadata key. -// The pair will not count towards the size limit. -type Metadata struct { - Entry []*MetadataEntry `protobuf:"bytes,1,rep,name=entry,proto3" json:"entry,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Metadata) Reset() { *m = Metadata{} } -func (m *Metadata) String() string { return proto.CompactTextString(m) } -func (*Metadata) ProtoMessage() {} -func (*Metadata) Descriptor() ([]byte, []int) { - return fileDescriptor_binarylog_264c8c9c551ce911, []int{5} -} -func (m *Metadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Metadata.Unmarshal(m, b) -} -func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Metadata.Marshal(b, m, deterministic) -} -func (dst *Metadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_Metadata.Merge(dst, src) -} -func (m *Metadata) XXX_Size() int { - return xxx_messageInfo_Metadata.Size(m) -} -func (m *Metadata) XXX_DiscardUnknown() { - xxx_messageInfo_Metadata.DiscardUnknown(m) -} - -var xxx_messageInfo_Metadata proto.InternalMessageInfo - -func (m *Metadata) GetEntry() []*MetadataEntry { - if m != nil { - return m.Entry - } - return nil -} - -// A metadata key value pair -type MetadataEntry struct { - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - 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 *MetadataEntry) Reset() { *m = MetadataEntry{} } -func (m *MetadataEntry) String() string { return proto.CompactTextString(m) } -func (*MetadataEntry) ProtoMessage() {} -func (*MetadataEntry) Descriptor() ([]byte, []int) { - return fileDescriptor_binarylog_264c8c9c551ce911, []int{6} -} -func (m *MetadataEntry) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MetadataEntry.Unmarshal(m, b) -} -func (m *MetadataEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MetadataEntry.Marshal(b, m, deterministic) -} -func (dst *MetadataEntry) XXX_Merge(src proto.Message) { - xxx_messageInfo_MetadataEntry.Merge(dst, src) -} -func (m *MetadataEntry) XXX_Size() int { - return xxx_messageInfo_MetadataEntry.Size(m) -} -func (m *MetadataEntry) XXX_DiscardUnknown() { - xxx_messageInfo_MetadataEntry.DiscardUnknown(m) -} - -var xxx_messageInfo_MetadataEntry proto.InternalMessageInfo - -func (m *MetadataEntry) GetKey() string { - if m != nil { - return m.Key - } - return "" -} - -func (m *MetadataEntry) GetValue() []byte { - if m != nil { - return m.Value - } - return nil -} - -// Address information -type Address struct { - Type Address_Type `protobuf:"varint,1,opt,name=type,proto3,enum=grpc.binarylog.v1.Address_Type" json:"type,omitempty"` - Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` - // only for TYPE_IPV4 and TYPE_IPV6 - IpPort uint32 `protobuf:"varint,3,opt,name=ip_port,json=ipPort,proto3" json:"ip_port,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Address) Reset() { *m = Address{} } -func (m *Address) String() string { return proto.CompactTextString(m) } -func (*Address) ProtoMessage() {} -func (*Address) Descriptor() ([]byte, []int) { - return fileDescriptor_binarylog_264c8c9c551ce911, []int{7} -} -func (m *Address) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Address.Unmarshal(m, b) -} -func (m *Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Address.Marshal(b, m, deterministic) -} -func (dst *Address) XXX_Merge(src proto.Message) { - xxx_messageInfo_Address.Merge(dst, src) -} -func (m *Address) XXX_Size() int { - return xxx_messageInfo_Address.Size(m) -} -func (m *Address) XXX_DiscardUnknown() { - xxx_messageInfo_Address.DiscardUnknown(m) -} - -var xxx_messageInfo_Address proto.InternalMessageInfo - -func (m *Address) GetType() Address_Type { - if m != nil { - return m.Type - } - return Address_TYPE_UNKNOWN -} - -func (m *Address) GetAddress() string { - if m != nil { - return m.Address - } - return "" -} - -func (m *Address) GetIpPort() uint32 { - if m != nil { - return m.IpPort - } - return 0 -} - -func init() { - proto.RegisterType((*GrpcLogEntry)(nil), "grpc.binarylog.v1.GrpcLogEntry") - proto.RegisterType((*ClientHeader)(nil), "grpc.binarylog.v1.ClientHeader") - proto.RegisterType((*ServerHeader)(nil), "grpc.binarylog.v1.ServerHeader") - proto.RegisterType((*Trailer)(nil), "grpc.binarylog.v1.Trailer") - proto.RegisterType((*Message)(nil), "grpc.binarylog.v1.Message") - proto.RegisterType((*Metadata)(nil), "grpc.binarylog.v1.Metadata") - proto.RegisterType((*MetadataEntry)(nil), "grpc.binarylog.v1.MetadataEntry") - proto.RegisterType((*Address)(nil), "grpc.binarylog.v1.Address") - proto.RegisterEnum("grpc.binarylog.v1.GrpcLogEntry_EventType", GrpcLogEntry_EventType_name, GrpcLogEntry_EventType_value) - proto.RegisterEnum("grpc.binarylog.v1.GrpcLogEntry_Logger", GrpcLogEntry_Logger_name, GrpcLogEntry_Logger_value) - proto.RegisterEnum("grpc.binarylog.v1.Address_Type", Address_Type_name, Address_Type_value) -} - -func init() { - proto.RegisterFile("grpc/binarylog/grpc_binarylog_v1/binarylog.proto", fileDescriptor_binarylog_264c8c9c551ce911) -} - -var fileDescriptor_binarylog_264c8c9c551ce911 = []byte{ - // 900 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0x51, 0x6f, 0xe3, 0x44, - 0x10, 0x3e, 0x37, 0x69, 0xdc, 0x4c, 0x92, 0xca, 0x5d, 0x95, 0x3b, 0x5f, 0x29, 0x34, 0xb2, 0x04, - 0x0a, 0x42, 0x72, 0xb9, 0x94, 0xeb, 0xf1, 0x02, 0x52, 0x92, 0xfa, 0xd2, 0x88, 0x5c, 0x1a, 0x6d, - 0x72, 0x3d, 0x40, 0x48, 0xd6, 0x36, 0x5e, 0x1c, 0x0b, 0xc7, 0x6b, 0xd6, 0x9b, 0xa0, 0xfc, 0x2c, - 0xde, 0x90, 0xee, 0x77, 0xf1, 0x8e, 0xbc, 0x6b, 0x27, 0xa6, 0x69, 0x0f, 0x09, 0xde, 0x3c, 0xdf, - 0x7c, 0xf3, 0xcd, 0xee, 0x78, 0x66, 0x16, 0xbe, 0xf2, 0x79, 0x3c, 0x3b, 0xbf, 0x0b, 0x22, 0xc2, - 0xd7, 0x21, 0xf3, 0xcf, 0x53, 0xd3, 0xdd, 0x98, 0xee, 0xea, 0xc5, 0xd6, 0x67, 0xc7, 0x9c, 0x09, - 0x86, 0x8e, 0x52, 0x8a, 0xbd, 0x45, 0x57, 0x2f, 0x4e, 0x3e, 0xf5, 0x19, 0xf3, 0x43, 0x7a, 0x2e, - 0x09, 0x77, 0xcb, 0x5f, 0xce,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 0x4f, 0xed, 0xac, 0x71, 0x7d, 0x16, 0x92, 0xc8, 0xb7, 0x19, 0x57, 0x4f, 0xf3, 0x87, 0x5e, - 0xea, 0xbb, 0x8a, 0xec, 0xf2, 0x8b, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xe7, 0xf6, 0x4b, 0x50, - 0xd4, 0x07, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/grpc/channelz/grpc_channelz_v1/channelz.pb.go b/vendor/google.golang.org/grpc/channelz/grpc_channelz_v1/channelz.pb.go deleted file mode 100644 index f5cbb3a5..00000000 --- a/vendor/google.golang.org/grpc/channelz/grpc_channelz_v1/channelz.pb.go +++ /dev/null @@ -1,3239 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: grpc/channelz/v1/channelz.proto - -package grpc_channelz_v1 - -import ( - context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" - any "github.com/golang/protobuf/ptypes/any" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type ChannelConnectivityState_State int32 - -const ( - ChannelConnectivityState_UNKNOWN ChannelConnectivityState_State = 0 - ChannelConnectivityState_IDLE ChannelConnectivityState_State = 1 - ChannelConnectivityState_CONNECTING ChannelConnectivityState_State = 2 - ChannelConnectivityState_READY ChannelConnectivityState_State = 3 - ChannelConnectivityState_TRANSIENT_FAILURE ChannelConnectivityState_State = 4 - ChannelConnectivityState_SHUTDOWN ChannelConnectivityState_State = 5 -) - -var ChannelConnectivityState_State_name = map[int32]string{ - 0: "UNKNOWN", - 1: "IDLE", - 2: "CONNECTING", - 3: "READY", - 4: "TRANSIENT_FAILURE", - 5: "SHUTDOWN", -} - -var ChannelConnectivityState_State_value = map[string]int32{ - "UNKNOWN": 0, - "IDLE": 1, - "CONNECTING": 2, - "READY": 3, - "TRANSIENT_FAILURE": 4, - "SHUTDOWN": 5, -} - -func (x ChannelConnectivityState_State) String() string { - return proto.EnumName(ChannelConnectivityState_State_name, int32(x)) -} - -func (ChannelConnectivityState_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{2, 0} -} - -// The supported severity levels of trace events. -type ChannelTraceEvent_Severity int32 - -const ( - ChannelTraceEvent_CT_UNKNOWN ChannelTraceEvent_Severity = 0 - ChannelTraceEvent_CT_INFO ChannelTraceEvent_Severity = 1 - ChannelTraceEvent_CT_WARNING ChannelTraceEvent_Severity = 2 - ChannelTraceEvent_CT_ERROR ChannelTraceEvent_Severity = 3 -) - -var ChannelTraceEvent_Severity_name = map[int32]string{ - 0: "CT_UNKNOWN", - 1: "CT_INFO", - 2: "CT_WARNING", - 3: "CT_ERROR", -} - -var ChannelTraceEvent_Severity_value = map[string]int32{ - "CT_UNKNOWN": 0, - "CT_INFO": 1, - "CT_WARNING": 2, - "CT_ERROR": 3, -} - -func (x ChannelTraceEvent_Severity) String() string { - return proto.EnumName(ChannelTraceEvent_Severity_name, int32(x)) -} - -func (ChannelTraceEvent_Severity) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{4, 0} -} - -// Channel is a logical grouping of channels, subchannels, and sockets. -type Channel struct { - // The identifier for this channel. This should bet set. - Ref *ChannelRef `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"` - // Data specific to this channel. - Data *ChannelData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - // There are no ordering guarantees on the order of channel refs. - // There may not be cycles in the ref graph. - // A channel ref may be present in more than one channel or subchannel. - ChannelRef []*ChannelRef `protobuf:"bytes,3,rep,name=channel_ref,json=channelRef,proto3" json:"channel_ref,omitempty"` - // At most one of 'channel_ref+subchannel_ref' and 'socket' is set. - // There are no ordering guarantees on the order of subchannel refs. - // There may not be cycles in the ref graph. - // A sub channel ref may be present in more than one channel or subchannel. - SubchannelRef []*SubchannelRef `protobuf:"bytes,4,rep,name=subchannel_ref,json=subchannelRef,proto3" json:"subchannel_ref,omitempty"` - // There are no ordering guarantees on the order of sockets. - SocketRef []*SocketRef `protobuf:"bytes,5,rep,name=socket_ref,json=socketRef,proto3" json:"socket_ref,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Channel) Reset() { *m = Channel{} } -func (m *Channel) String() string { return proto.CompactTextString(m) } -func (*Channel) ProtoMessage() {} -func (*Channel) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{0} -} - -func (m *Channel) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Channel.Unmarshal(m, b) -} -func (m *Channel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Channel.Marshal(b, m, deterministic) -} -func (m *Channel) XXX_Merge(src proto.Message) { - xxx_messageInfo_Channel.Merge(m, src) -} -func (m *Channel) XXX_Size() int { - return xxx_messageInfo_Channel.Size(m) -} -func (m *Channel) XXX_DiscardUnknown() { - xxx_messageInfo_Channel.DiscardUnknown(m) -} - -var xxx_messageInfo_Channel proto.InternalMessageInfo - -func (m *Channel) GetRef() *ChannelRef { - if m != nil { - return m.Ref - } - return nil -} - -func (m *Channel) GetData() *ChannelData { - if m != nil { - return m.Data - } - return nil -} - -func (m *Channel) GetChannelRef() []*ChannelRef { - if m != nil { - return m.ChannelRef - } - return nil -} - -func (m *Channel) GetSubchannelRef() []*SubchannelRef { - if m != nil { - return m.SubchannelRef - } - return nil -} - -func (m *Channel) GetSocketRef() []*SocketRef { - if m != nil { - return m.SocketRef - } - return nil -} - -// Subchannel is a logical grouping of channels, subchannels, and sockets. -// A subchannel is load balanced over by it's ancestor -type Subchannel struct { - // The identifier for this channel. - Ref *SubchannelRef `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"` - // Data specific to this channel. - Data *ChannelData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - // There are no ordering guarantees on the order of channel refs. - // There may not be cycles in the ref graph. - // A channel ref may be present in more than one channel or subchannel. - ChannelRef []*ChannelRef `protobuf:"bytes,3,rep,name=channel_ref,json=channelRef,proto3" json:"channel_ref,omitempty"` - // At most one of 'channel_ref+subchannel_ref' and 'socket' is set. - // There are no ordering guarantees on the order of subchannel refs. - // There may not be cycles in the ref graph. - // A sub channel ref may be present in more than one channel or subchannel. - SubchannelRef []*SubchannelRef `protobuf:"bytes,4,rep,name=subchannel_ref,json=subchannelRef,proto3" json:"subchannel_ref,omitempty"` - // There are no ordering guarantees on the order of sockets. - SocketRef []*SocketRef `protobuf:"bytes,5,rep,name=socket_ref,json=socketRef,proto3" json:"socket_ref,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Subchannel) Reset() { *m = Subchannel{} } -func (m *Subchannel) String() string { return proto.CompactTextString(m) } -func (*Subchannel) ProtoMessage() {} -func (*Subchannel) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{1} -} - -func (m *Subchannel) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Subchannel.Unmarshal(m, b) -} -func (m *Subchannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Subchannel.Marshal(b, m, deterministic) -} -func (m *Subchannel) XXX_Merge(src proto.Message) { - xxx_messageInfo_Subchannel.Merge(m, src) -} -func (m *Subchannel) XXX_Size() int { - return xxx_messageInfo_Subchannel.Size(m) -} -func (m *Subchannel) XXX_DiscardUnknown() { - xxx_messageInfo_Subchannel.DiscardUnknown(m) -} - -var xxx_messageInfo_Subchannel proto.InternalMessageInfo - -func (m *Subchannel) GetRef() *SubchannelRef { - if m != nil { - return m.Ref - } - return nil -} - -func (m *Subchannel) GetData() *ChannelData { - if m != nil { - return m.Data - } - return nil -} - -func (m *Subchannel) GetChannelRef() []*ChannelRef { - if m != nil { - return m.ChannelRef - } - return nil -} - -func (m *Subchannel) GetSubchannelRef() []*SubchannelRef { - if m != nil { - return m.SubchannelRef - } - return nil -} - -func (m *Subchannel) GetSocketRef() []*SocketRef { - if m != nil { - return m.SocketRef - } - return nil -} - -// These come from the specified states in this document: -// https://github.com/grpc/grpc/blob/master/doc/connectivity-semantics-and-api.md -type ChannelConnectivityState struct { - State ChannelConnectivityState_State `protobuf:"varint,1,opt,name=state,proto3,enum=grpc.channelz.v1.ChannelConnectivityState_State" json:"state,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ChannelConnectivityState) Reset() { *m = ChannelConnectivityState{} } -func (m *ChannelConnectivityState) String() string { return proto.CompactTextString(m) } -func (*ChannelConnectivityState) ProtoMessage() {} -func (*ChannelConnectivityState) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{2} -} - -func (m *ChannelConnectivityState) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChannelConnectivityState.Unmarshal(m, b) -} -func (m *ChannelConnectivityState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChannelConnectivityState.Marshal(b, m, deterministic) -} -func (m *ChannelConnectivityState) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChannelConnectivityState.Merge(m, src) -} -func (m *ChannelConnectivityState) XXX_Size() int { - return xxx_messageInfo_ChannelConnectivityState.Size(m) -} -func (m *ChannelConnectivityState) XXX_DiscardUnknown() { - xxx_messageInfo_ChannelConnectivityState.DiscardUnknown(m) -} - -var xxx_messageInfo_ChannelConnectivityState proto.InternalMessageInfo - -func (m *ChannelConnectivityState) GetState() ChannelConnectivityState_State { - if m != nil { - return m.State - } - return ChannelConnectivityState_UNKNOWN -} - -// Channel data is data related to a specific Channel or Subchannel. -type ChannelData struct { - // The connectivity state of the channel or subchannel. Implementations - // should always set this. - State *ChannelConnectivityState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` - // The target this channel originally tried to connect to. May be absent - Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` - // A trace of recent events on the channel. May be absent. - Trace *ChannelTrace `protobuf:"bytes,3,opt,name=trace,proto3" json:"trace,omitempty"` - // The number of calls started on the channel - CallsStarted int64 `protobuf:"varint,4,opt,name=calls_started,json=callsStarted,proto3" json:"calls_started,omitempty"` - // The number of calls that have completed with an OK status - CallsSucceeded int64 `protobuf:"varint,5,opt,name=calls_succeeded,json=callsSucceeded,proto3" json:"calls_succeeded,omitempty"` - // The number of calls that have completed with a non-OK status - CallsFailed int64 `protobuf:"varint,6,opt,name=calls_failed,json=callsFailed,proto3" json:"calls_failed,omitempty"` - // The last time a call was started on the channel. - LastCallStartedTimestamp *timestamp.Timestamp `protobuf:"bytes,7,opt,name=last_call_started_timestamp,json=lastCallStartedTimestamp,proto3" json:"last_call_started_timestamp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ChannelData) Reset() { *m = ChannelData{} } -func (m *ChannelData) String() string { return proto.CompactTextString(m) } -func (*ChannelData) ProtoMessage() {} -func (*ChannelData) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{3} -} - -func (m *ChannelData) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChannelData.Unmarshal(m, b) -} -func (m *ChannelData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChannelData.Marshal(b, m, deterministic) -} -func (m *ChannelData) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChannelData.Merge(m, src) -} -func (m *ChannelData) XXX_Size() int { - return xxx_messageInfo_ChannelData.Size(m) -} -func (m *ChannelData) XXX_DiscardUnknown() { - xxx_messageInfo_ChannelData.DiscardUnknown(m) -} - -var xxx_messageInfo_ChannelData proto.InternalMessageInfo - -func (m *ChannelData) GetState() *ChannelConnectivityState { - if m != nil { - return m.State - } - return nil -} - -func (m *ChannelData) GetTarget() string { - if m != nil { - return m.Target - } - return "" -} - -func (m *ChannelData) GetTrace() *ChannelTrace { - if m != nil { - return m.Trace - } - return nil -} - -func (m *ChannelData) GetCallsStarted() int64 { - if m != nil { - return m.CallsStarted - } - return 0 -} - -func (m *ChannelData) GetCallsSucceeded() int64 { - if m != nil { - return m.CallsSucceeded - } - return 0 -} - -func (m *ChannelData) GetCallsFailed() int64 { - if m != nil { - return m.CallsFailed - } - return 0 -} - -func (m *ChannelData) GetLastCallStartedTimestamp() *timestamp.Timestamp { - if m != nil { - return m.LastCallStartedTimestamp - } - return nil -} - -// A trace event is an interesting thing that happened to a channel or -// subchannel, such as creation, address resolution, subchannel creation, etc. -type ChannelTraceEvent struct { - // High level description of the event. - Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` - // the severity of the trace event - Severity ChannelTraceEvent_Severity `protobuf:"varint,2,opt,name=severity,proto3,enum=grpc.channelz.v1.ChannelTraceEvent_Severity" json:"severity,omitempty"` - // When this event occurred. - Timestamp *timestamp.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - // ref of referenced channel or subchannel. - // Optional, only present if this event refers to a child object. For example, - // this field would be filled if this trace event was for a subchannel being - // created. - // - // Types that are valid to be assigned to ChildRef: - // *ChannelTraceEvent_ChannelRef - // *ChannelTraceEvent_SubchannelRef - ChildRef isChannelTraceEvent_ChildRef `protobuf_oneof:"child_ref"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ChannelTraceEvent) Reset() { *m = ChannelTraceEvent{} } -func (m *ChannelTraceEvent) String() string { return proto.CompactTextString(m) } -func (*ChannelTraceEvent) ProtoMessage() {} -func (*ChannelTraceEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{4} -} - -func (m *ChannelTraceEvent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChannelTraceEvent.Unmarshal(m, b) -} -func (m *ChannelTraceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChannelTraceEvent.Marshal(b, m, deterministic) -} -func (m *ChannelTraceEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChannelTraceEvent.Merge(m, src) -} -func (m *ChannelTraceEvent) XXX_Size() int { - return xxx_messageInfo_ChannelTraceEvent.Size(m) -} -func (m *ChannelTraceEvent) XXX_DiscardUnknown() { - xxx_messageInfo_ChannelTraceEvent.DiscardUnknown(m) -} - -var xxx_messageInfo_ChannelTraceEvent proto.InternalMessageInfo - -func (m *ChannelTraceEvent) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *ChannelTraceEvent) GetSeverity() ChannelTraceEvent_Severity { - if m != nil { - return m.Severity - } - return ChannelTraceEvent_CT_UNKNOWN -} - -func (m *ChannelTraceEvent) GetTimestamp() *timestamp.Timestamp { - if m != nil { - return m.Timestamp - } - return nil -} - -type isChannelTraceEvent_ChildRef interface { - isChannelTraceEvent_ChildRef() -} - -type ChannelTraceEvent_ChannelRef struct { - ChannelRef *ChannelRef `protobuf:"bytes,4,opt,name=channel_ref,json=channelRef,proto3,oneof"` -} - -type ChannelTraceEvent_SubchannelRef struct { - SubchannelRef *SubchannelRef `protobuf:"bytes,5,opt,name=subchannel_ref,json=subchannelRef,proto3,oneof"` -} - -func (*ChannelTraceEvent_ChannelRef) isChannelTraceEvent_ChildRef() {} - -func (*ChannelTraceEvent_SubchannelRef) isChannelTraceEvent_ChildRef() {} - -func (m *ChannelTraceEvent) GetChildRef() isChannelTraceEvent_ChildRef { - if m != nil { - return m.ChildRef - } - return nil -} - -func (m *ChannelTraceEvent) GetChannelRef() *ChannelRef { - if x, ok := m.GetChildRef().(*ChannelTraceEvent_ChannelRef); ok { - return x.ChannelRef - } - return nil -} - -func (m *ChannelTraceEvent) GetSubchannelRef() *SubchannelRef { - if x, ok := m.GetChildRef().(*ChannelTraceEvent_SubchannelRef); ok { - return x.SubchannelRef - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ChannelTraceEvent) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ChannelTraceEvent_ChannelRef)(nil), - (*ChannelTraceEvent_SubchannelRef)(nil), - } -} - -// ChannelTrace represents the recent events that have occurred on the channel. -type ChannelTrace struct { - // Number of events ever logged in this tracing object. This can differ from - // events.size() because events can be overwritten or garbage collected by - // implementations. - NumEventsLogged int64 `protobuf:"varint,1,opt,name=num_events_logged,json=numEventsLogged,proto3" json:"num_events_logged,omitempty"` - // Time that this channel was created. - CreationTimestamp *timestamp.Timestamp `protobuf:"bytes,2,opt,name=creation_timestamp,json=creationTimestamp,proto3" json:"creation_timestamp,omitempty"` - // List of events that have occurred on this channel. - Events []*ChannelTraceEvent `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ChannelTrace) Reset() { *m = ChannelTrace{} } -func (m *ChannelTrace) String() string { return proto.CompactTextString(m) } -func (*ChannelTrace) ProtoMessage() {} -func (*ChannelTrace) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{5} -} - -func (m *ChannelTrace) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChannelTrace.Unmarshal(m, b) -} -func (m *ChannelTrace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChannelTrace.Marshal(b, m, deterministic) -} -func (m *ChannelTrace) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChannelTrace.Merge(m, src) -} -func (m *ChannelTrace) XXX_Size() int { - return xxx_messageInfo_ChannelTrace.Size(m) -} -func (m *ChannelTrace) XXX_DiscardUnknown() { - xxx_messageInfo_ChannelTrace.DiscardUnknown(m) -} - -var xxx_messageInfo_ChannelTrace proto.InternalMessageInfo - -func (m *ChannelTrace) GetNumEventsLogged() int64 { - if m != nil { - return m.NumEventsLogged - } - return 0 -} - -func (m *ChannelTrace) GetCreationTimestamp() *timestamp.Timestamp { - if m != nil { - return m.CreationTimestamp - } - return nil -} - -func (m *ChannelTrace) GetEvents() []*ChannelTraceEvent { - if m != nil { - return m.Events - } - return nil -} - -// ChannelRef is a reference to a Channel. -type ChannelRef struct { - // The globally unique id for this channel. Must be a positive number. - ChannelId int64 `protobuf:"varint,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` - // An optional name associated with the channel. - 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 *ChannelRef) Reset() { *m = ChannelRef{} } -func (m *ChannelRef) String() string { return proto.CompactTextString(m) } -func (*ChannelRef) ProtoMessage() {} -func (*ChannelRef) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{6} -} - -func (m *ChannelRef) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChannelRef.Unmarshal(m, b) -} -func (m *ChannelRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChannelRef.Marshal(b, m, deterministic) -} -func (m *ChannelRef) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChannelRef.Merge(m, src) -} -func (m *ChannelRef) XXX_Size() int { - return xxx_messageInfo_ChannelRef.Size(m) -} -func (m *ChannelRef) XXX_DiscardUnknown() { - xxx_messageInfo_ChannelRef.DiscardUnknown(m) -} - -var xxx_messageInfo_ChannelRef proto.InternalMessageInfo - -func (m *ChannelRef) GetChannelId() int64 { - if m != nil { - return m.ChannelId - } - return 0 -} - -func (m *ChannelRef) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// SubchannelRef is a reference to a Subchannel. -type SubchannelRef struct { - // The globally unique id for this subchannel. Must be a positive number. - SubchannelId int64 `protobuf:"varint,7,opt,name=subchannel_id,json=subchannelId,proto3" json:"subchannel_id,omitempty"` - // An optional name associated with the subchannel. - 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 *SubchannelRef) Reset() { *m = SubchannelRef{} } -func (m *SubchannelRef) String() string { return proto.CompactTextString(m) } -func (*SubchannelRef) ProtoMessage() {} -func (*SubchannelRef) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{7} -} - -func (m *SubchannelRef) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubchannelRef.Unmarshal(m, b) -} -func (m *SubchannelRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubchannelRef.Marshal(b, m, deterministic) -} -func (m *SubchannelRef) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubchannelRef.Merge(m, src) -} -func (m *SubchannelRef) XXX_Size() int { - return xxx_messageInfo_SubchannelRef.Size(m) -} -func (m *SubchannelRef) XXX_DiscardUnknown() { - xxx_messageInfo_SubchannelRef.DiscardUnknown(m) -} - -var xxx_messageInfo_SubchannelRef proto.InternalMessageInfo - -func (m *SubchannelRef) GetSubchannelId() int64 { - if m != nil { - return m.SubchannelId - } - return 0 -} - -func (m *SubchannelRef) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// SocketRef is a reference to a Socket. -type SocketRef struct { - // The globally unique id for this socket. Must be a positive number. - SocketId int64 `protobuf:"varint,3,opt,name=socket_id,json=socketId,proto3" json:"socket_id,omitempty"` - // An optional name associated with the socket. - 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 *SocketRef) Reset() { *m = SocketRef{} } -func (m *SocketRef) String() string { return proto.CompactTextString(m) } -func (*SocketRef) ProtoMessage() {} -func (*SocketRef) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{8} -} - -func (m *SocketRef) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SocketRef.Unmarshal(m, b) -} -func (m *SocketRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SocketRef.Marshal(b, m, deterministic) -} -func (m *SocketRef) XXX_Merge(src proto.Message) { - xxx_messageInfo_SocketRef.Merge(m, src) -} -func (m *SocketRef) XXX_Size() int { - return xxx_messageInfo_SocketRef.Size(m) -} -func (m *SocketRef) XXX_DiscardUnknown() { - xxx_messageInfo_SocketRef.DiscardUnknown(m) -} - -var xxx_messageInfo_SocketRef proto.InternalMessageInfo - -func (m *SocketRef) GetSocketId() int64 { - if m != nil { - return m.SocketId - } - return 0 -} - -func (m *SocketRef) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// ServerRef is a reference to a Server. -type ServerRef struct { - // A globally unique identifier for this server. Must be a positive number. - ServerId int64 `protobuf:"varint,5,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` - // An optional name associated with the server. - 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 *ServerRef) Reset() { *m = ServerRef{} } -func (m *ServerRef) String() string { return proto.CompactTextString(m) } -func (*ServerRef) ProtoMessage() {} -func (*ServerRef) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{9} -} - -func (m *ServerRef) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServerRef.Unmarshal(m, b) -} -func (m *ServerRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServerRef.Marshal(b, m, deterministic) -} -func (m *ServerRef) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServerRef.Merge(m, src) -} -func (m *ServerRef) XXX_Size() int { - return xxx_messageInfo_ServerRef.Size(m) -} -func (m *ServerRef) XXX_DiscardUnknown() { - xxx_messageInfo_ServerRef.DiscardUnknown(m) -} - -var xxx_messageInfo_ServerRef proto.InternalMessageInfo - -func (m *ServerRef) GetServerId() int64 { - if m != nil { - return m.ServerId - } - return 0 -} - -func (m *ServerRef) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// Server represents a single server. There may be multiple servers in a single -// program. -type Server struct { - // The identifier for a Server. This should be set. - Ref *ServerRef `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"` - // The associated data of the Server. - Data *ServerData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - // The sockets that the server is listening on. There are no ordering - // guarantees. This may be absent. - ListenSocket []*SocketRef `protobuf:"bytes,3,rep,name=listen_socket,json=listenSocket,proto3" json:"listen_socket,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Server) Reset() { *m = Server{} } -func (m *Server) String() string { return proto.CompactTextString(m) } -func (*Server) ProtoMessage() {} -func (*Server) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{10} -} - -func (m *Server) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Server.Unmarshal(m, b) -} -func (m *Server) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Server.Marshal(b, m, deterministic) -} -func (m *Server) XXX_Merge(src proto.Message) { - xxx_messageInfo_Server.Merge(m, src) -} -func (m *Server) XXX_Size() int { - return xxx_messageInfo_Server.Size(m) -} -func (m *Server) XXX_DiscardUnknown() { - xxx_messageInfo_Server.DiscardUnknown(m) -} - -var xxx_messageInfo_Server proto.InternalMessageInfo - -func (m *Server) GetRef() *ServerRef { - if m != nil { - return m.Ref - } - return nil -} - -func (m *Server) GetData() *ServerData { - if m != nil { - return m.Data - } - return nil -} - -func (m *Server) GetListenSocket() []*SocketRef { - if m != nil { - return m.ListenSocket - } - return nil -} - -// ServerData is data for a specific Server. -type ServerData struct { - // A trace of recent events on the server. May be absent. - Trace *ChannelTrace `protobuf:"bytes,1,opt,name=trace,proto3" json:"trace,omitempty"` - // The number of incoming calls started on the server - CallsStarted int64 `protobuf:"varint,2,opt,name=calls_started,json=callsStarted,proto3" json:"calls_started,omitempty"` - // The number of incoming calls that have completed with an OK status - CallsSucceeded int64 `protobuf:"varint,3,opt,name=calls_succeeded,json=callsSucceeded,proto3" json:"calls_succeeded,omitempty"` - // The number of incoming calls that have a completed with a non-OK status - CallsFailed int64 `protobuf:"varint,4,opt,name=calls_failed,json=callsFailed,proto3" json:"calls_failed,omitempty"` - // The last time a call was started on the server. - LastCallStartedTimestamp *timestamp.Timestamp `protobuf:"bytes,5,opt,name=last_call_started_timestamp,json=lastCallStartedTimestamp,proto3" json:"last_call_started_timestamp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ServerData) Reset() { *m = ServerData{} } -func (m *ServerData) String() string { return proto.CompactTextString(m) } -func (*ServerData) ProtoMessage() {} -func (*ServerData) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{11} -} - -func (m *ServerData) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServerData.Unmarshal(m, b) -} -func (m *ServerData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServerData.Marshal(b, m, deterministic) -} -func (m *ServerData) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServerData.Merge(m, src) -} -func (m *ServerData) XXX_Size() int { - return xxx_messageInfo_ServerData.Size(m) -} -func (m *ServerData) XXX_DiscardUnknown() { - xxx_messageInfo_ServerData.DiscardUnknown(m) -} - -var xxx_messageInfo_ServerData proto.InternalMessageInfo - -func (m *ServerData) GetTrace() *ChannelTrace { - if m != nil { - return m.Trace - } - return nil -} - -func (m *ServerData) GetCallsStarted() int64 { - if m != nil { - return m.CallsStarted - } - return 0 -} - -func (m *ServerData) GetCallsSucceeded() int64 { - if m != nil { - return m.CallsSucceeded - } - return 0 -} - -func (m *ServerData) GetCallsFailed() int64 { - if m != nil { - return m.CallsFailed - } - return 0 -} - -func (m *ServerData) GetLastCallStartedTimestamp() *timestamp.Timestamp { - if m != nil { - return m.LastCallStartedTimestamp - } - return nil -} - -// Information about an actual connection. Pronounced "sock-ay". -type Socket struct { - // The identifier for the Socket. - Ref *SocketRef `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"` - // Data specific to this Socket. - Data *SocketData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - // The locally bound address. - Local *Address `protobuf:"bytes,3,opt,name=local,proto3" json:"local,omitempty"` - // The remote bound address. May be absent. - Remote *Address `protobuf:"bytes,4,opt,name=remote,proto3" json:"remote,omitempty"` - // Security details for this socket. May be absent if not available, or - // there is no security on the socket. - Security *Security `protobuf:"bytes,5,opt,name=security,proto3" json:"security,omitempty"` - // Optional, represents the name of the remote endpoint, if different than - // the original target name. - RemoteName string `protobuf:"bytes,6,opt,name=remote_name,json=remoteName,proto3" json:"remote_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Socket) Reset() { *m = Socket{} } -func (m *Socket) String() string { return proto.CompactTextString(m) } -func (*Socket) ProtoMessage() {} -func (*Socket) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{12} -} - -func (m *Socket) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Socket.Unmarshal(m, b) -} -func (m *Socket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Socket.Marshal(b, m, deterministic) -} -func (m *Socket) XXX_Merge(src proto.Message) { - xxx_messageInfo_Socket.Merge(m, src) -} -func (m *Socket) XXX_Size() int { - return xxx_messageInfo_Socket.Size(m) -} -func (m *Socket) XXX_DiscardUnknown() { - xxx_messageInfo_Socket.DiscardUnknown(m) -} - -var xxx_messageInfo_Socket proto.InternalMessageInfo - -func (m *Socket) GetRef() *SocketRef { - if m != nil { - return m.Ref - } - return nil -} - -func (m *Socket) GetData() *SocketData { - if m != nil { - return m.Data - } - return nil -} - -func (m *Socket) GetLocal() *Address { - if m != nil { - return m.Local - } - return nil -} - -func (m *Socket) GetRemote() *Address { - if m != nil { - return m.Remote - } - return nil -} - -func (m *Socket) GetSecurity() *Security { - if m != nil { - return m.Security - } - return nil -} - -func (m *Socket) GetRemoteName() string { - if m != nil { - return m.RemoteName - } - return "" -} - -// SocketData is data associated for a specific Socket. The fields present -// are specific to the implementation, so there may be minor differences in -// the semantics. (e.g. flow control windows) -type SocketData struct { - // The number of streams that have been started. - StreamsStarted int64 `protobuf:"varint,1,opt,name=streams_started,json=streamsStarted,proto3" json:"streams_started,omitempty"` - // The number of streams that have ended successfully: - // On client side, received frame with eos bit set; - // On server side, sent frame with eos bit set. - StreamsSucceeded int64 `protobuf:"varint,2,opt,name=streams_succeeded,json=streamsSucceeded,proto3" json:"streams_succeeded,omitempty"` - // The number of streams that have ended unsuccessfully: - // On client side, ended without receiving frame with eos bit set; - // On server side, ended without sending frame with eos bit set. - StreamsFailed int64 `protobuf:"varint,3,opt,name=streams_failed,json=streamsFailed,proto3" json:"streams_failed,omitempty"` - // The number of grpc messages successfully sent on this socket. - MessagesSent int64 `protobuf:"varint,4,opt,name=messages_sent,json=messagesSent,proto3" json:"messages_sent,omitempty"` - // The number of grpc messages received on this socket. - MessagesReceived int64 `protobuf:"varint,5,opt,name=messages_received,json=messagesReceived,proto3" json:"messages_received,omitempty"` - // The number of keep alives sent. This is typically implemented with HTTP/2 - // ping messages. - KeepAlivesSent int64 `protobuf:"varint,6,opt,name=keep_alives_sent,json=keepAlivesSent,proto3" json:"keep_alives_sent,omitempty"` - // The last time a stream was created by this endpoint. Usually unset for - // servers. - LastLocalStreamCreatedTimestamp *timestamp.Timestamp `protobuf:"bytes,7,opt,name=last_local_stream_created_timestamp,json=lastLocalStreamCreatedTimestamp,proto3" json:"last_local_stream_created_timestamp,omitempty"` - // The last time a stream was created by the remote endpoint. Usually unset - // for clients. - LastRemoteStreamCreatedTimestamp *timestamp.Timestamp `protobuf:"bytes,8,opt,name=last_remote_stream_created_timestamp,json=lastRemoteStreamCreatedTimestamp,proto3" json:"last_remote_stream_created_timestamp,omitempty"` - // The last time a message was sent by this endpoint. - LastMessageSentTimestamp *timestamp.Timestamp `protobuf:"bytes,9,opt,name=last_message_sent_timestamp,json=lastMessageSentTimestamp,proto3" json:"last_message_sent_timestamp,omitempty"` - // The last time a message was received by this endpoint. - LastMessageReceivedTimestamp *timestamp.Timestamp `protobuf:"bytes,10,opt,name=last_message_received_timestamp,json=lastMessageReceivedTimestamp,proto3" json:"last_message_received_timestamp,omitempty"` - // The amount of window, granted to the local endpoint by the remote endpoint. - // This may be slightly out of date due to network latency. This does NOT - // include stream level or TCP level flow control info. - LocalFlowControlWindow *wrappers.Int64Value `protobuf:"bytes,11,opt,name=local_flow_control_window,json=localFlowControlWindow,proto3" json:"local_flow_control_window,omitempty"` - // The amount of window, granted to the remote endpoint by the local endpoint. - // This may be slightly out of date due to network latency. This does NOT - // include stream level or TCP level flow control info. - RemoteFlowControlWindow *wrappers.Int64Value `protobuf:"bytes,12,opt,name=remote_flow_control_window,json=remoteFlowControlWindow,proto3" json:"remote_flow_control_window,omitempty"` - // Socket options set on this socket. May be absent if 'summary' is set - // on GetSocketRequest. - Option []*SocketOption `protobuf:"bytes,13,rep,name=option,proto3" json:"option,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SocketData) Reset() { *m = SocketData{} } -func (m *SocketData) String() string { return proto.CompactTextString(m) } -func (*SocketData) ProtoMessage() {} -func (*SocketData) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{13} -} - -func (m *SocketData) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SocketData.Unmarshal(m, b) -} -func (m *SocketData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SocketData.Marshal(b, m, deterministic) -} -func (m *SocketData) XXX_Merge(src proto.Message) { - xxx_messageInfo_SocketData.Merge(m, src) -} -func (m *SocketData) XXX_Size() int { - return xxx_messageInfo_SocketData.Size(m) -} -func (m *SocketData) XXX_DiscardUnknown() { - xxx_messageInfo_SocketData.DiscardUnknown(m) -} - -var xxx_messageInfo_SocketData proto.InternalMessageInfo - -func (m *SocketData) GetStreamsStarted() int64 { - if m != nil { - return m.StreamsStarted - } - return 0 -} - -func (m *SocketData) GetStreamsSucceeded() int64 { - if m != nil { - return m.StreamsSucceeded - } - return 0 -} - -func (m *SocketData) GetStreamsFailed() int64 { - if m != nil { - return m.StreamsFailed - } - return 0 -} - -func (m *SocketData) GetMessagesSent() int64 { - if m != nil { - return m.MessagesSent - } - return 0 -} - -func (m *SocketData) GetMessagesReceived() int64 { - if m != nil { - return m.MessagesReceived - } - return 0 -} - -func (m *SocketData) GetKeepAlivesSent() int64 { - if m != nil { - return m.KeepAlivesSent - } - return 0 -} - -func (m *SocketData) GetLastLocalStreamCreatedTimestamp() *timestamp.Timestamp { - if m != nil { - return m.LastLocalStreamCreatedTimestamp - } - return nil -} - -func (m *SocketData) GetLastRemoteStreamCreatedTimestamp() *timestamp.Timestamp { - if m != nil { - return m.LastRemoteStreamCreatedTimestamp - } - return nil -} - -func (m *SocketData) GetLastMessageSentTimestamp() *timestamp.Timestamp { - if m != nil { - return m.LastMessageSentTimestamp - } - return nil -} - -func (m *SocketData) GetLastMessageReceivedTimestamp() *timestamp.Timestamp { - if m != nil { - return m.LastMessageReceivedTimestamp - } - return nil -} - -func (m *SocketData) GetLocalFlowControlWindow() *wrappers.Int64Value { - if m != nil { - return m.LocalFlowControlWindow - } - return nil -} - -func (m *SocketData) GetRemoteFlowControlWindow() *wrappers.Int64Value { - if m != nil { - return m.RemoteFlowControlWindow - } - return nil -} - -func (m *SocketData) GetOption() []*SocketOption { - if m != nil { - return m.Option - } - return nil -} - -// Address represents the address used to create the socket. -type Address struct { - // Types that are valid to be assigned to Address: - // *Address_TcpipAddress - // *Address_UdsAddress_ - // *Address_OtherAddress_ - Address isAddress_Address `protobuf_oneof:"address"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Address) Reset() { *m = Address{} } -func (m *Address) String() string { return proto.CompactTextString(m) } -func (*Address) ProtoMessage() {} -func (*Address) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{14} -} - -func (m *Address) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Address.Unmarshal(m, b) -} -func (m *Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Address.Marshal(b, m, deterministic) -} -func (m *Address) XXX_Merge(src proto.Message) { - xxx_messageInfo_Address.Merge(m, src) -} -func (m *Address) XXX_Size() int { - return xxx_messageInfo_Address.Size(m) -} -func (m *Address) XXX_DiscardUnknown() { - xxx_messageInfo_Address.DiscardUnknown(m) -} - -var xxx_messageInfo_Address proto.InternalMessageInfo - -type isAddress_Address interface { - isAddress_Address() -} - -type Address_TcpipAddress struct { - TcpipAddress *Address_TcpIpAddress `protobuf:"bytes,1,opt,name=tcpip_address,json=tcpipAddress,proto3,oneof"` -} - -type Address_UdsAddress_ struct { - UdsAddress *Address_UdsAddress `protobuf:"bytes,2,opt,name=uds_address,json=udsAddress,proto3,oneof"` -} - -type Address_OtherAddress_ struct { - OtherAddress *Address_OtherAddress `protobuf:"bytes,3,opt,name=other_address,json=otherAddress,proto3,oneof"` -} - -func (*Address_TcpipAddress) isAddress_Address() {} - -func (*Address_UdsAddress_) isAddress_Address() {} - -func (*Address_OtherAddress_) isAddress_Address() {} - -func (m *Address) GetAddress() isAddress_Address { - if m != nil { - return m.Address - } - return nil -} - -func (m *Address) GetTcpipAddress() *Address_TcpIpAddress { - if x, ok := m.GetAddress().(*Address_TcpipAddress); ok { - return x.TcpipAddress - } - return nil -} - -func (m *Address) GetUdsAddress() *Address_UdsAddress { - if x, ok := m.GetAddress().(*Address_UdsAddress_); ok { - return x.UdsAddress - } - return nil -} - -func (m *Address) GetOtherAddress() *Address_OtherAddress { - if x, ok := m.GetAddress().(*Address_OtherAddress_); ok { - return x.OtherAddress - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Address) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Address_TcpipAddress)(nil), - (*Address_UdsAddress_)(nil), - (*Address_OtherAddress_)(nil), - } -} - -type Address_TcpIpAddress struct { - // Either the IPv4 or IPv6 address in bytes. Will be either 4 bytes or 16 - // bytes in length. - IpAddress []byte `protobuf:"bytes,1,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` - // 0-64k, or -1 if not appropriate. - Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Address_TcpIpAddress) Reset() { *m = Address_TcpIpAddress{} } -func (m *Address_TcpIpAddress) String() string { return proto.CompactTextString(m) } -func (*Address_TcpIpAddress) ProtoMessage() {} -func (*Address_TcpIpAddress) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{14, 0} -} - -func (m *Address_TcpIpAddress) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Address_TcpIpAddress.Unmarshal(m, b) -} -func (m *Address_TcpIpAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Address_TcpIpAddress.Marshal(b, m, deterministic) -} -func (m *Address_TcpIpAddress) XXX_Merge(src proto.Message) { - xxx_messageInfo_Address_TcpIpAddress.Merge(m, src) -} -func (m *Address_TcpIpAddress) XXX_Size() int { - return xxx_messageInfo_Address_TcpIpAddress.Size(m) -} -func (m *Address_TcpIpAddress) XXX_DiscardUnknown() { - xxx_messageInfo_Address_TcpIpAddress.DiscardUnknown(m) -} - -var xxx_messageInfo_Address_TcpIpAddress proto.InternalMessageInfo - -func (m *Address_TcpIpAddress) GetIpAddress() []byte { - if m != nil { - return m.IpAddress - } - return nil -} - -func (m *Address_TcpIpAddress) GetPort() int32 { - if m != nil { - return m.Port - } - return 0 -} - -// A Unix Domain Socket address. -type Address_UdsAddress struct { - Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Address_UdsAddress) Reset() { *m = Address_UdsAddress{} } -func (m *Address_UdsAddress) String() string { return proto.CompactTextString(m) } -func (*Address_UdsAddress) ProtoMessage() {} -func (*Address_UdsAddress) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{14, 1} -} - -func (m *Address_UdsAddress) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Address_UdsAddress.Unmarshal(m, b) -} -func (m *Address_UdsAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Address_UdsAddress.Marshal(b, m, deterministic) -} -func (m *Address_UdsAddress) XXX_Merge(src proto.Message) { - xxx_messageInfo_Address_UdsAddress.Merge(m, src) -} -func (m *Address_UdsAddress) XXX_Size() int { - return xxx_messageInfo_Address_UdsAddress.Size(m) -} -func (m *Address_UdsAddress) XXX_DiscardUnknown() { - xxx_messageInfo_Address_UdsAddress.DiscardUnknown(m) -} - -var xxx_messageInfo_Address_UdsAddress proto.InternalMessageInfo - -func (m *Address_UdsAddress) GetFilename() string { - if m != nil { - return m.Filename - } - return "" -} - -// An address type not included above. -type Address_OtherAddress struct { - // The human readable version of the value. This value should be set. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The actual address message. - Value *any.Any `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Address_OtherAddress) Reset() { *m = Address_OtherAddress{} } -func (m *Address_OtherAddress) String() string { return proto.CompactTextString(m) } -func (*Address_OtherAddress) ProtoMessage() {} -func (*Address_OtherAddress) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{14, 2} -} - -func (m *Address_OtherAddress) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Address_OtherAddress.Unmarshal(m, b) -} -func (m *Address_OtherAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Address_OtherAddress.Marshal(b, m, deterministic) -} -func (m *Address_OtherAddress) XXX_Merge(src proto.Message) { - xxx_messageInfo_Address_OtherAddress.Merge(m, src) -} -func (m *Address_OtherAddress) XXX_Size() int { - return xxx_messageInfo_Address_OtherAddress.Size(m) -} -func (m *Address_OtherAddress) XXX_DiscardUnknown() { - xxx_messageInfo_Address_OtherAddress.DiscardUnknown(m) -} - -var xxx_messageInfo_Address_OtherAddress proto.InternalMessageInfo - -func (m *Address_OtherAddress) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Address_OtherAddress) GetValue() *any.Any { - if m != nil { - return m.Value - } - return nil -} - -// Security represents details about how secure the socket is. -type Security struct { - // Types that are valid to be assigned to Model: - // *Security_Tls_ - // *Security_Other - Model isSecurity_Model `protobuf_oneof:"model"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Security) Reset() { *m = Security{} } -func (m *Security) String() string { return proto.CompactTextString(m) } -func (*Security) ProtoMessage() {} -func (*Security) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{15} -} - -func (m *Security) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Security.Unmarshal(m, b) -} -func (m *Security) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Security.Marshal(b, m, deterministic) -} -func (m *Security) XXX_Merge(src proto.Message) { - xxx_messageInfo_Security.Merge(m, src) -} -func (m *Security) XXX_Size() int { - return xxx_messageInfo_Security.Size(m) -} -func (m *Security) XXX_DiscardUnknown() { - xxx_messageInfo_Security.DiscardUnknown(m) -} - -var xxx_messageInfo_Security proto.InternalMessageInfo - -type isSecurity_Model interface { - isSecurity_Model() -} - -type Security_Tls_ struct { - Tls *Security_Tls `protobuf:"bytes,1,opt,name=tls,proto3,oneof"` -} - -type Security_Other struct { - Other *Security_OtherSecurity `protobuf:"bytes,2,opt,name=other,proto3,oneof"` -} - -func (*Security_Tls_) isSecurity_Model() {} - -func (*Security_Other) isSecurity_Model() {} - -func (m *Security) GetModel() isSecurity_Model { - if m != nil { - return m.Model - } - return nil -} - -func (m *Security) GetTls() *Security_Tls { - if x, ok := m.GetModel().(*Security_Tls_); ok { - return x.Tls - } - return nil -} - -func (m *Security) GetOther() *Security_OtherSecurity { - if x, ok := m.GetModel().(*Security_Other); ok { - return x.Other - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Security) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Security_Tls_)(nil), - (*Security_Other)(nil), - } -} - -type Security_Tls struct { - // Types that are valid to be assigned to CipherSuite: - // *Security_Tls_StandardName - // *Security_Tls_OtherName - CipherSuite isSecurity_Tls_CipherSuite `protobuf_oneof:"cipher_suite"` - // the certificate used by this endpoint. - LocalCertificate []byte `protobuf:"bytes,3,opt,name=local_certificate,json=localCertificate,proto3" json:"local_certificate,omitempty"` - // the certificate used by the remote endpoint. - RemoteCertificate []byte `protobuf:"bytes,4,opt,name=remote_certificate,json=remoteCertificate,proto3" json:"remote_certificate,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Security_Tls) Reset() { *m = Security_Tls{} } -func (m *Security_Tls) String() string { return proto.CompactTextString(m) } -func (*Security_Tls) ProtoMessage() {} -func (*Security_Tls) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{15, 0} -} - -func (m *Security_Tls) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Security_Tls.Unmarshal(m, b) -} -func (m *Security_Tls) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Security_Tls.Marshal(b, m, deterministic) -} -func (m *Security_Tls) XXX_Merge(src proto.Message) { - xxx_messageInfo_Security_Tls.Merge(m, src) -} -func (m *Security_Tls) XXX_Size() int { - return xxx_messageInfo_Security_Tls.Size(m) -} -func (m *Security_Tls) XXX_DiscardUnknown() { - xxx_messageInfo_Security_Tls.DiscardUnknown(m) -} - -var xxx_messageInfo_Security_Tls proto.InternalMessageInfo - -type isSecurity_Tls_CipherSuite interface { - isSecurity_Tls_CipherSuite() -} - -type Security_Tls_StandardName struct { - StandardName string `protobuf:"bytes,1,opt,name=standard_name,json=standardName,proto3,oneof"` -} - -type Security_Tls_OtherName struct { - OtherName string `protobuf:"bytes,2,opt,name=other_name,json=otherName,proto3,oneof"` -} - -func (*Security_Tls_StandardName) isSecurity_Tls_CipherSuite() {} - -func (*Security_Tls_OtherName) isSecurity_Tls_CipherSuite() {} - -func (m *Security_Tls) GetCipherSuite() isSecurity_Tls_CipherSuite { - if m != nil { - return m.CipherSuite - } - return nil -} - -func (m *Security_Tls) GetStandardName() string { - if x, ok := m.GetCipherSuite().(*Security_Tls_StandardName); ok { - return x.StandardName - } - return "" -} - -func (m *Security_Tls) GetOtherName() string { - if x, ok := m.GetCipherSuite().(*Security_Tls_OtherName); ok { - return x.OtherName - } - return "" -} - -func (m *Security_Tls) GetLocalCertificate() []byte { - if m != nil { - return m.LocalCertificate - } - return nil -} - -func (m *Security_Tls) GetRemoteCertificate() []byte { - if m != nil { - return m.RemoteCertificate - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Security_Tls) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Security_Tls_StandardName)(nil), - (*Security_Tls_OtherName)(nil), - } -} - -type Security_OtherSecurity struct { - // The human readable version of the value. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The actual security details message. - Value *any.Any `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Security_OtherSecurity) Reset() { *m = Security_OtherSecurity{} } -func (m *Security_OtherSecurity) String() string { return proto.CompactTextString(m) } -func (*Security_OtherSecurity) ProtoMessage() {} -func (*Security_OtherSecurity) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{15, 1} -} - -func (m *Security_OtherSecurity) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Security_OtherSecurity.Unmarshal(m, b) -} -func (m *Security_OtherSecurity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Security_OtherSecurity.Marshal(b, m, deterministic) -} -func (m *Security_OtherSecurity) XXX_Merge(src proto.Message) { - xxx_messageInfo_Security_OtherSecurity.Merge(m, src) -} -func (m *Security_OtherSecurity) XXX_Size() int { - return xxx_messageInfo_Security_OtherSecurity.Size(m) -} -func (m *Security_OtherSecurity) XXX_DiscardUnknown() { - xxx_messageInfo_Security_OtherSecurity.DiscardUnknown(m) -} - -var xxx_messageInfo_Security_OtherSecurity proto.InternalMessageInfo - -func (m *Security_OtherSecurity) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Security_OtherSecurity) GetValue() *any.Any { - if m != nil { - return m.Value - } - return nil -} - -// SocketOption represents socket options for a socket. Specifically, these -// are the options returned by getsockopt(). -type SocketOption struct { - // The full name of the socket option. Typically this will be the upper case - // name, such as "SO_REUSEPORT". - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The human readable value of this socket option. At least one of value or - // additional will be set. - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - // Additional data associated with the socket option. At least one of value - // or additional will be set. - Additional *any.Any `protobuf:"bytes,3,opt,name=additional,proto3" json:"additional,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SocketOption) Reset() { *m = SocketOption{} } -func (m *SocketOption) String() string { return proto.CompactTextString(m) } -func (*SocketOption) ProtoMessage() {} -func (*SocketOption) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{16} -} - -func (m *SocketOption) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SocketOption.Unmarshal(m, b) -} -func (m *SocketOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SocketOption.Marshal(b, m, deterministic) -} -func (m *SocketOption) XXX_Merge(src proto.Message) { - xxx_messageInfo_SocketOption.Merge(m, src) -} -func (m *SocketOption) XXX_Size() int { - return xxx_messageInfo_SocketOption.Size(m) -} -func (m *SocketOption) XXX_DiscardUnknown() { - xxx_messageInfo_SocketOption.DiscardUnknown(m) -} - -var xxx_messageInfo_SocketOption proto.InternalMessageInfo - -func (m *SocketOption) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *SocketOption) GetValue() string { - if m != nil { - return m.Value - } - return "" -} - -func (m *SocketOption) GetAdditional() *any.Any { - if m != nil { - return m.Additional - } - return nil -} - -// For use with SocketOption's additional field. This is primarily used for -// SO_RCVTIMEO and SO_SNDTIMEO -type SocketOptionTimeout struct { - Duration *duration.Duration `protobuf:"bytes,1,opt,name=duration,proto3" json:"duration,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SocketOptionTimeout) Reset() { *m = SocketOptionTimeout{} } -func (m *SocketOptionTimeout) String() string { return proto.CompactTextString(m) } -func (*SocketOptionTimeout) ProtoMessage() {} -func (*SocketOptionTimeout) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{17} -} - -func (m *SocketOptionTimeout) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SocketOptionTimeout.Unmarshal(m, b) -} -func (m *SocketOptionTimeout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SocketOptionTimeout.Marshal(b, m, deterministic) -} -func (m *SocketOptionTimeout) XXX_Merge(src proto.Message) { - xxx_messageInfo_SocketOptionTimeout.Merge(m, src) -} -func (m *SocketOptionTimeout) XXX_Size() int { - return xxx_messageInfo_SocketOptionTimeout.Size(m) -} -func (m *SocketOptionTimeout) XXX_DiscardUnknown() { - xxx_messageInfo_SocketOptionTimeout.DiscardUnknown(m) -} - -var xxx_messageInfo_SocketOptionTimeout proto.InternalMessageInfo - -func (m *SocketOptionTimeout) GetDuration() *duration.Duration { - if m != nil { - return m.Duration - } - return nil -} - -// For use with SocketOption's additional field. This is primarily used for -// SO_LINGER. -type SocketOptionLinger struct { - // active maps to `struct linger.l_onoff` - Active bool `protobuf:"varint,1,opt,name=active,proto3" json:"active,omitempty"` - // duration maps to `struct linger.l_linger` - Duration *duration.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SocketOptionLinger) Reset() { *m = SocketOptionLinger{} } -func (m *SocketOptionLinger) String() string { return proto.CompactTextString(m) } -func (*SocketOptionLinger) ProtoMessage() {} -func (*SocketOptionLinger) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{18} -} - -func (m *SocketOptionLinger) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SocketOptionLinger.Unmarshal(m, b) -} -func (m *SocketOptionLinger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SocketOptionLinger.Marshal(b, m, deterministic) -} -func (m *SocketOptionLinger) XXX_Merge(src proto.Message) { - xxx_messageInfo_SocketOptionLinger.Merge(m, src) -} -func (m *SocketOptionLinger) XXX_Size() int { - return xxx_messageInfo_SocketOptionLinger.Size(m) -} -func (m *SocketOptionLinger) XXX_DiscardUnknown() { - xxx_messageInfo_SocketOptionLinger.DiscardUnknown(m) -} - -var xxx_messageInfo_SocketOptionLinger proto.InternalMessageInfo - -func (m *SocketOptionLinger) GetActive() bool { - if m != nil { - return m.Active - } - return false -} - -func (m *SocketOptionLinger) GetDuration() *duration.Duration { - if m != nil { - return m.Duration - } - return nil -} - -// For use with SocketOption's additional field. Tcp info for -// SOL_TCP and TCP_INFO. -type SocketOptionTcpInfo struct { - TcpiState uint32 `protobuf:"varint,1,opt,name=tcpi_state,json=tcpiState,proto3" json:"tcpi_state,omitempty"` - TcpiCaState uint32 `protobuf:"varint,2,opt,name=tcpi_ca_state,json=tcpiCaState,proto3" json:"tcpi_ca_state,omitempty"` - TcpiRetransmits uint32 `protobuf:"varint,3,opt,name=tcpi_retransmits,json=tcpiRetransmits,proto3" json:"tcpi_retransmits,omitempty"` - TcpiProbes uint32 `protobuf:"varint,4,opt,name=tcpi_probes,json=tcpiProbes,proto3" json:"tcpi_probes,omitempty"` - TcpiBackoff uint32 `protobuf:"varint,5,opt,name=tcpi_backoff,json=tcpiBackoff,proto3" json:"tcpi_backoff,omitempty"` - TcpiOptions uint32 `protobuf:"varint,6,opt,name=tcpi_options,json=tcpiOptions,proto3" json:"tcpi_options,omitempty"` - TcpiSndWscale uint32 `protobuf:"varint,7,opt,name=tcpi_snd_wscale,json=tcpiSndWscale,proto3" json:"tcpi_snd_wscale,omitempty"` - TcpiRcvWscale uint32 `protobuf:"varint,8,opt,name=tcpi_rcv_wscale,json=tcpiRcvWscale,proto3" json:"tcpi_rcv_wscale,omitempty"` - TcpiRto uint32 `protobuf:"varint,9,opt,name=tcpi_rto,json=tcpiRto,proto3" json:"tcpi_rto,omitempty"` - TcpiAto uint32 `protobuf:"varint,10,opt,name=tcpi_ato,json=tcpiAto,proto3" json:"tcpi_ato,omitempty"` - TcpiSndMss uint32 `protobuf:"varint,11,opt,name=tcpi_snd_mss,json=tcpiSndMss,proto3" json:"tcpi_snd_mss,omitempty"` - TcpiRcvMss uint32 `protobuf:"varint,12,opt,name=tcpi_rcv_mss,json=tcpiRcvMss,proto3" json:"tcpi_rcv_mss,omitempty"` - TcpiUnacked uint32 `protobuf:"varint,13,opt,name=tcpi_unacked,json=tcpiUnacked,proto3" json:"tcpi_unacked,omitempty"` - TcpiSacked uint32 `protobuf:"varint,14,opt,name=tcpi_sacked,json=tcpiSacked,proto3" json:"tcpi_sacked,omitempty"` - TcpiLost uint32 `protobuf:"varint,15,opt,name=tcpi_lost,json=tcpiLost,proto3" json:"tcpi_lost,omitempty"` - TcpiRetrans uint32 `protobuf:"varint,16,opt,name=tcpi_retrans,json=tcpiRetrans,proto3" json:"tcpi_retrans,omitempty"` - TcpiFackets uint32 `protobuf:"varint,17,opt,name=tcpi_fackets,json=tcpiFackets,proto3" json:"tcpi_fackets,omitempty"` - TcpiLastDataSent uint32 `protobuf:"varint,18,opt,name=tcpi_last_data_sent,json=tcpiLastDataSent,proto3" json:"tcpi_last_data_sent,omitempty"` - TcpiLastAckSent uint32 `protobuf:"varint,19,opt,name=tcpi_last_ack_sent,json=tcpiLastAckSent,proto3" json:"tcpi_last_ack_sent,omitempty"` - TcpiLastDataRecv uint32 `protobuf:"varint,20,opt,name=tcpi_last_data_recv,json=tcpiLastDataRecv,proto3" json:"tcpi_last_data_recv,omitempty"` - TcpiLastAckRecv uint32 `protobuf:"varint,21,opt,name=tcpi_last_ack_recv,json=tcpiLastAckRecv,proto3" json:"tcpi_last_ack_recv,omitempty"` - TcpiPmtu uint32 `protobuf:"varint,22,opt,name=tcpi_pmtu,json=tcpiPmtu,proto3" json:"tcpi_pmtu,omitempty"` - TcpiRcvSsthresh uint32 `protobuf:"varint,23,opt,name=tcpi_rcv_ssthresh,json=tcpiRcvSsthresh,proto3" json:"tcpi_rcv_ssthresh,omitempty"` - TcpiRtt uint32 `protobuf:"varint,24,opt,name=tcpi_rtt,json=tcpiRtt,proto3" json:"tcpi_rtt,omitempty"` - TcpiRttvar uint32 `protobuf:"varint,25,opt,name=tcpi_rttvar,json=tcpiRttvar,proto3" json:"tcpi_rttvar,omitempty"` - TcpiSndSsthresh uint32 `protobuf:"varint,26,opt,name=tcpi_snd_ssthresh,json=tcpiSndSsthresh,proto3" json:"tcpi_snd_ssthresh,omitempty"` - TcpiSndCwnd uint32 `protobuf:"varint,27,opt,name=tcpi_snd_cwnd,json=tcpiSndCwnd,proto3" json:"tcpi_snd_cwnd,omitempty"` - TcpiAdvmss uint32 `protobuf:"varint,28,opt,name=tcpi_advmss,json=tcpiAdvmss,proto3" json:"tcpi_advmss,omitempty"` - TcpiReordering uint32 `protobuf:"varint,29,opt,name=tcpi_reordering,json=tcpiReordering,proto3" json:"tcpi_reordering,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SocketOptionTcpInfo) Reset() { *m = SocketOptionTcpInfo{} } -func (m *SocketOptionTcpInfo) String() string { return proto.CompactTextString(m) } -func (*SocketOptionTcpInfo) ProtoMessage() {} -func (*SocketOptionTcpInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{19} -} - -func (m *SocketOptionTcpInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SocketOptionTcpInfo.Unmarshal(m, b) -} -func (m *SocketOptionTcpInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SocketOptionTcpInfo.Marshal(b, m, deterministic) -} -func (m *SocketOptionTcpInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_SocketOptionTcpInfo.Merge(m, src) -} -func (m *SocketOptionTcpInfo) XXX_Size() int { - return xxx_messageInfo_SocketOptionTcpInfo.Size(m) -} -func (m *SocketOptionTcpInfo) XXX_DiscardUnknown() { - xxx_messageInfo_SocketOptionTcpInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_SocketOptionTcpInfo proto.InternalMessageInfo - -func (m *SocketOptionTcpInfo) GetTcpiState() uint32 { - if m != nil { - return m.TcpiState - } - return 0 -} - -func (m *SocketOptionTcpInfo) GetTcpiCaState() uint32 { - if m != nil { - return m.TcpiCaState - } - return 0 -} - -func (m *SocketOptionTcpInfo) GetTcpiRetransmits() uint32 { - if m != nil { - return m.TcpiRetransmits - } - return 0 -} - -func (m *SocketOptionTcpInfo) GetTcpiProbes() uint32 { - if m != nil { - return m.TcpiProbes - } - return 0 -} - -func (m *SocketOptionTcpInfo) GetTcpiBackoff() uint32 { - if m != nil { - return m.TcpiBackoff - } - return 0 -} - -func (m *SocketOptionTcpInfo) GetTcpiOptions() uint32 { - if m != nil { - return m.TcpiOptions - } - return 0 -} - -func (m *SocketOptionTcpInfo) GetTcpiSndWscale() uint32 { - if m != nil { - return m.TcpiSndWscale - } - return 0 -} - -func (m *SocketOptionTcpInfo) GetTcpiRcvWscale() uint32 { - if m != nil { - return m.TcpiRcvWscale - } - return 0 -} - -func (m *SocketOptionTcpInfo) GetTcpiRto() uint32 { - if m != nil { - return m.TcpiRto - } - return 0 -} - -func (m *SocketOptionTcpInfo) GetTcpiAto() uint32 { - if m != nil { - return m.TcpiAto - } - return 0 -} - -func (m *SocketOptionTcpInfo) GetTcpiSndMss() uint32 { - if m != nil { - return m.TcpiSndMss - } - return 0 -} - -func (m *SocketOptionTcpInfo) GetTcpiRcvMss() uint32 { - if m != nil { - return m.TcpiRcvMss - } - return 0 -} - -func (m *SocketOptionTcpInfo) GetTcpiUnacked() uint32 { - if m != nil { - return m.TcpiUnacked - } - return 0 -} - -func (m *SocketOptionTcpInfo) GetTcpiSacked() uint32 { - if m != nil { - return m.TcpiSacked - } - return 0 -} - -func (m *SocketOptionTcpInfo) GetTcpiLost() uint32 { - if m != nil { - return m.TcpiLost - } - return 0 -} - -func (m *SocketOptionTcpInfo) GetTcpiRetrans() uint32 { - if m != nil { - return m.TcpiRetrans - } - return 0 -} - -func (m *SocketOptionTcpInfo) GetTcpiFackets() uint32 { - if m != nil { - return m.TcpiFackets - } - return 0 -} - -func (m *SocketOptionTcpInfo) GetTcpiLastDataSent() uint32 { - if m != nil { - return m.TcpiLastDataSent - } - return 0 -} - -func (m *SocketOptionTcpInfo) GetTcpiLastAckSent() uint32 { - if m != nil { - return m.TcpiLastAckSent - } - return 0 -} - -func (m *SocketOptionTcpInfo) GetTcpiLastDataRecv() uint32 { - if m != nil { - return m.TcpiLastDataRecv - } - return 0 -} - -func (m *SocketOptionTcpInfo) GetTcpiLastAckRecv() uint32 { - if m != nil { - return m.TcpiLastAckRecv - } - return 0 -} - -func (m *SocketOptionTcpInfo) GetTcpiPmtu() uint32 { - if m != nil { - return m.TcpiPmtu - } - return 0 -} - -func (m *SocketOptionTcpInfo) GetTcpiRcvSsthresh() uint32 { - if m != nil { - return m.TcpiRcvSsthresh - } - return 0 -} - -func (m *SocketOptionTcpInfo) GetTcpiRtt() uint32 { - if m != nil { - return m.TcpiRtt - } - return 0 -} - -func (m *SocketOptionTcpInfo) GetTcpiRttvar() uint32 { - if m != nil { - return m.TcpiRttvar - } - return 0 -} - -func (m *SocketOptionTcpInfo) GetTcpiSndSsthresh() uint32 { - if m != nil { - return m.TcpiSndSsthresh - } - return 0 -} - -func (m *SocketOptionTcpInfo) GetTcpiSndCwnd() uint32 { - if m != nil { - return m.TcpiSndCwnd - } - return 0 -} - -func (m *SocketOptionTcpInfo) GetTcpiAdvmss() uint32 { - if m != nil { - return m.TcpiAdvmss - } - return 0 -} - -func (m *SocketOptionTcpInfo) GetTcpiReordering() uint32 { - if m != nil { - return m.TcpiReordering - } - return 0 -} - -type GetTopChannelsRequest struct { - // start_channel_id indicates that only channels at or above this id should be - // included in the results. - // To request the first page, this should be set to 0. To request - // subsequent pages, the client generates this value by adding 1 to - // the highest seen result ID. - StartChannelId int64 `protobuf:"varint,1,opt,name=start_channel_id,json=startChannelId,proto3" json:"start_channel_id,omitempty"` - // If non-zero, the server will return a page of results containing - // at most this many items. If zero, the server will choose a - // reasonable page size. Must never be negative. - MaxResults int64 `protobuf:"varint,2,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetTopChannelsRequest) Reset() { *m = GetTopChannelsRequest{} } -func (m *GetTopChannelsRequest) String() string { return proto.CompactTextString(m) } -func (*GetTopChannelsRequest) ProtoMessage() {} -func (*GetTopChannelsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{20} -} - -func (m *GetTopChannelsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTopChannelsRequest.Unmarshal(m, b) -} -func (m *GetTopChannelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTopChannelsRequest.Marshal(b, m, deterministic) -} -func (m *GetTopChannelsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTopChannelsRequest.Merge(m, src) -} -func (m *GetTopChannelsRequest) XXX_Size() int { - return xxx_messageInfo_GetTopChannelsRequest.Size(m) -} -func (m *GetTopChannelsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTopChannelsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetTopChannelsRequest proto.InternalMessageInfo - -func (m *GetTopChannelsRequest) GetStartChannelId() int64 { - if m != nil { - return m.StartChannelId - } - return 0 -} - -func (m *GetTopChannelsRequest) GetMaxResults() int64 { - if m != nil { - return m.MaxResults - } - return 0 -} - -type GetTopChannelsResponse struct { - // list of channels that the connection detail service knows about. Sorted in - // ascending channel_id order. - // Must contain at least 1 result, otherwise 'end' must be true. - Channel []*Channel `protobuf:"bytes,1,rep,name=channel,proto3" json:"channel,omitempty"` - // If set, indicates that the list of channels is the final list. Requesting - // more channels can only return more if they are created after this RPC - // completes. - End bool `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetTopChannelsResponse) Reset() { *m = GetTopChannelsResponse{} } -func (m *GetTopChannelsResponse) String() string { return proto.CompactTextString(m) } -func (*GetTopChannelsResponse) ProtoMessage() {} -func (*GetTopChannelsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{21} -} - -func (m *GetTopChannelsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTopChannelsResponse.Unmarshal(m, b) -} -func (m *GetTopChannelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTopChannelsResponse.Marshal(b, m, deterministic) -} -func (m *GetTopChannelsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTopChannelsResponse.Merge(m, src) -} -func (m *GetTopChannelsResponse) XXX_Size() int { - return xxx_messageInfo_GetTopChannelsResponse.Size(m) -} -func (m *GetTopChannelsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetTopChannelsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GetTopChannelsResponse proto.InternalMessageInfo - -func (m *GetTopChannelsResponse) GetChannel() []*Channel { - if m != nil { - return m.Channel - } - return nil -} - -func (m *GetTopChannelsResponse) GetEnd() bool { - if m != nil { - return m.End - } - return false -} - -type GetServersRequest struct { - // start_server_id indicates that only servers at or above this id should be - // included in the results. - // To request the first page, this must be set to 0. To request - // subsequent pages, the client generates this value by adding 1 to - // the highest seen result ID. - StartServerId int64 `protobuf:"varint,1,opt,name=start_server_id,json=startServerId,proto3" json:"start_server_id,omitempty"` - // If non-zero, the server will return a page of results containing - // at most this many items. If zero, the server will choose a - // reasonable page size. Must never be negative. - MaxResults int64 `protobuf:"varint,2,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetServersRequest) Reset() { *m = GetServersRequest{} } -func (m *GetServersRequest) String() string { return proto.CompactTextString(m) } -func (*GetServersRequest) ProtoMessage() {} -func (*GetServersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{22} -} - -func (m *GetServersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetServersRequest.Unmarshal(m, b) -} -func (m *GetServersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetServersRequest.Marshal(b, m, deterministic) -} -func (m *GetServersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetServersRequest.Merge(m, src) -} -func (m *GetServersRequest) XXX_Size() int { - return xxx_messageInfo_GetServersRequest.Size(m) -} -func (m *GetServersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetServersRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetServersRequest proto.InternalMessageInfo - -func (m *GetServersRequest) GetStartServerId() int64 { - if m != nil { - return m.StartServerId - } - return 0 -} - -func (m *GetServersRequest) GetMaxResults() int64 { - if m != nil { - return m.MaxResults - } - return 0 -} - -type GetServersResponse struct { - // list of servers that the connection detail service knows about. Sorted in - // ascending server_id order. - // Must contain at least 1 result, otherwise 'end' must be true. - Server []*Server `protobuf:"bytes,1,rep,name=server,proto3" json:"server,omitempty"` - // If set, indicates that the list of servers is the final list. Requesting - // more servers will only return more if they are created after this RPC - // completes. - End bool `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetServersResponse) Reset() { *m = GetServersResponse{} } -func (m *GetServersResponse) String() string { return proto.CompactTextString(m) } -func (*GetServersResponse) ProtoMessage() {} -func (*GetServersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{23} -} - -func (m *GetServersResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetServersResponse.Unmarshal(m, b) -} -func (m *GetServersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetServersResponse.Marshal(b, m, deterministic) -} -func (m *GetServersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetServersResponse.Merge(m, src) -} -func (m *GetServersResponse) XXX_Size() int { - return xxx_messageInfo_GetServersResponse.Size(m) -} -func (m *GetServersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetServersResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GetServersResponse proto.InternalMessageInfo - -func (m *GetServersResponse) GetServer() []*Server { - if m != nil { - return m.Server - } - return nil -} - -func (m *GetServersResponse) GetEnd() bool { - if m != nil { - return m.End - } - return false -} - -type GetServerRequest struct { - // server_id is the identifier of the specific server to get. - ServerId int64 `protobuf:"varint,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetServerRequest) Reset() { *m = GetServerRequest{} } -func (m *GetServerRequest) String() string { return proto.CompactTextString(m) } -func (*GetServerRequest) ProtoMessage() {} -func (*GetServerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{24} -} - -func (m *GetServerRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetServerRequest.Unmarshal(m, b) -} -func (m *GetServerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetServerRequest.Marshal(b, m, deterministic) -} -func (m *GetServerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetServerRequest.Merge(m, src) -} -func (m *GetServerRequest) XXX_Size() int { - return xxx_messageInfo_GetServerRequest.Size(m) -} -func (m *GetServerRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetServerRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetServerRequest proto.InternalMessageInfo - -func (m *GetServerRequest) GetServerId() int64 { - if m != nil { - return m.ServerId - } - return 0 -} - -type GetServerResponse struct { - // The Server that corresponds to the requested server_id. This field - // should be set. - Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetServerResponse) Reset() { *m = GetServerResponse{} } -func (m *GetServerResponse) String() string { return proto.CompactTextString(m) } -func (*GetServerResponse) ProtoMessage() {} -func (*GetServerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{25} -} - -func (m *GetServerResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetServerResponse.Unmarshal(m, b) -} -func (m *GetServerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetServerResponse.Marshal(b, m, deterministic) -} -func (m *GetServerResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetServerResponse.Merge(m, src) -} -func (m *GetServerResponse) XXX_Size() int { - return xxx_messageInfo_GetServerResponse.Size(m) -} -func (m *GetServerResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetServerResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GetServerResponse proto.InternalMessageInfo - -func (m *GetServerResponse) GetServer() *Server { - if m != nil { - return m.Server - } - return nil -} - -type GetServerSocketsRequest struct { - ServerId int64 `protobuf:"varint,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` - // start_socket_id indicates that only sockets at or above this id should be - // included in the results. - // To request the first page, this must be set to 0. To request - // subsequent pages, the client generates this value by adding 1 to - // the highest seen result ID. - StartSocketId int64 `protobuf:"varint,2,opt,name=start_socket_id,json=startSocketId,proto3" json:"start_socket_id,omitempty"` - // If non-zero, the server will return a page of results containing - // at most this many items. If zero, the server will choose a - // reasonable page size. Must never be negative. - MaxResults int64 `protobuf:"varint,3,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetServerSocketsRequest) Reset() { *m = GetServerSocketsRequest{} } -func (m *GetServerSocketsRequest) String() string { return proto.CompactTextString(m) } -func (*GetServerSocketsRequest) ProtoMessage() {} -func (*GetServerSocketsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{26} -} - -func (m *GetServerSocketsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetServerSocketsRequest.Unmarshal(m, b) -} -func (m *GetServerSocketsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetServerSocketsRequest.Marshal(b, m, deterministic) -} -func (m *GetServerSocketsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetServerSocketsRequest.Merge(m, src) -} -func (m *GetServerSocketsRequest) XXX_Size() int { - return xxx_messageInfo_GetServerSocketsRequest.Size(m) -} -func (m *GetServerSocketsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetServerSocketsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetServerSocketsRequest proto.InternalMessageInfo - -func (m *GetServerSocketsRequest) GetServerId() int64 { - if m != nil { - return m.ServerId - } - return 0 -} - -func (m *GetServerSocketsRequest) GetStartSocketId() int64 { - if m != nil { - return m.StartSocketId - } - return 0 -} - -func (m *GetServerSocketsRequest) GetMaxResults() int64 { - if m != nil { - return m.MaxResults - } - return 0 -} - -type GetServerSocketsResponse struct { - // list of socket refs that the connection detail service knows about. Sorted in - // ascending socket_id order. - // Must contain at least 1 result, otherwise 'end' must be true. - SocketRef []*SocketRef `protobuf:"bytes,1,rep,name=socket_ref,json=socketRef,proto3" json:"socket_ref,omitempty"` - // If set, indicates that the list of sockets is the final list. Requesting - // more sockets will only return more if they are created after this RPC - // completes. - End bool `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetServerSocketsResponse) Reset() { *m = GetServerSocketsResponse{} } -func (m *GetServerSocketsResponse) String() string { return proto.CompactTextString(m) } -func (*GetServerSocketsResponse) ProtoMessage() {} -func (*GetServerSocketsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{27} -} - -func (m *GetServerSocketsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetServerSocketsResponse.Unmarshal(m, b) -} -func (m *GetServerSocketsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetServerSocketsResponse.Marshal(b, m, deterministic) -} -func (m *GetServerSocketsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetServerSocketsResponse.Merge(m, src) -} -func (m *GetServerSocketsResponse) XXX_Size() int { - return xxx_messageInfo_GetServerSocketsResponse.Size(m) -} -func (m *GetServerSocketsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetServerSocketsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GetServerSocketsResponse proto.InternalMessageInfo - -func (m *GetServerSocketsResponse) GetSocketRef() []*SocketRef { - if m != nil { - return m.SocketRef - } - return nil -} - -func (m *GetServerSocketsResponse) GetEnd() bool { - if m != nil { - return m.End - } - return false -} - -type GetChannelRequest struct { - // channel_id is the identifier of the specific channel to get. - ChannelId int64 `protobuf:"varint,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 *GetChannelRequest) Reset() { *m = GetChannelRequest{} } -func (m *GetChannelRequest) String() string { return proto.CompactTextString(m) } -func (*GetChannelRequest) ProtoMessage() {} -func (*GetChannelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{28} -} - -func (m *GetChannelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetChannelRequest.Unmarshal(m, b) -} -func (m *GetChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetChannelRequest.Marshal(b, m, deterministic) -} -func (m *GetChannelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetChannelRequest.Merge(m, src) -} -func (m *GetChannelRequest) XXX_Size() int { - return xxx_messageInfo_GetChannelRequest.Size(m) -} -func (m *GetChannelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetChannelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetChannelRequest proto.InternalMessageInfo - -func (m *GetChannelRequest) GetChannelId() int64 { - if m != nil { - return m.ChannelId - } - return 0 -} - -type GetChannelResponse struct { - // The Channel that corresponds to the requested channel_id. This field - // should be set. - Channel *Channel `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetChannelResponse) Reset() { *m = GetChannelResponse{} } -func (m *GetChannelResponse) String() string { return proto.CompactTextString(m) } -func (*GetChannelResponse) ProtoMessage() {} -func (*GetChannelResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{29} -} - -func (m *GetChannelResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetChannelResponse.Unmarshal(m, b) -} -func (m *GetChannelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetChannelResponse.Marshal(b, m, deterministic) -} -func (m *GetChannelResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetChannelResponse.Merge(m, src) -} -func (m *GetChannelResponse) XXX_Size() int { - return xxx_messageInfo_GetChannelResponse.Size(m) -} -func (m *GetChannelResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetChannelResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GetChannelResponse proto.InternalMessageInfo - -func (m *GetChannelResponse) GetChannel() *Channel { - if m != nil { - return m.Channel - } - return nil -} - -type GetSubchannelRequest struct { - // subchannel_id is the identifier of the specific subchannel to get. - SubchannelId int64 `protobuf:"varint,1,opt,name=subchannel_id,json=subchannelId,proto3" json:"subchannel_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetSubchannelRequest) Reset() { *m = GetSubchannelRequest{} } -func (m *GetSubchannelRequest) String() string { return proto.CompactTextString(m) } -func (*GetSubchannelRequest) ProtoMessage() {} -func (*GetSubchannelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{30} -} - -func (m *GetSubchannelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetSubchannelRequest.Unmarshal(m, b) -} -func (m *GetSubchannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetSubchannelRequest.Marshal(b, m, deterministic) -} -func (m *GetSubchannelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetSubchannelRequest.Merge(m, src) -} -func (m *GetSubchannelRequest) XXX_Size() int { - return xxx_messageInfo_GetSubchannelRequest.Size(m) -} -func (m *GetSubchannelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetSubchannelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetSubchannelRequest proto.InternalMessageInfo - -func (m *GetSubchannelRequest) GetSubchannelId() int64 { - if m != nil { - return m.SubchannelId - } - return 0 -} - -type GetSubchannelResponse struct { - // The Subchannel that corresponds to the requested subchannel_id. This - // field should be set. - Subchannel *Subchannel `protobuf:"bytes,1,opt,name=subchannel,proto3" json:"subchannel,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetSubchannelResponse) Reset() { *m = GetSubchannelResponse{} } -func (m *GetSubchannelResponse) String() string { return proto.CompactTextString(m) } -func (*GetSubchannelResponse) ProtoMessage() {} -func (*GetSubchannelResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{31} -} - -func (m *GetSubchannelResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetSubchannelResponse.Unmarshal(m, b) -} -func (m *GetSubchannelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetSubchannelResponse.Marshal(b, m, deterministic) -} -func (m *GetSubchannelResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetSubchannelResponse.Merge(m, src) -} -func (m *GetSubchannelResponse) XXX_Size() int { - return xxx_messageInfo_GetSubchannelResponse.Size(m) -} -func (m *GetSubchannelResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetSubchannelResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GetSubchannelResponse proto.InternalMessageInfo - -func (m *GetSubchannelResponse) GetSubchannel() *Subchannel { - if m != nil { - return m.Subchannel - } - return nil -} - -type GetSocketRequest struct { - // socket_id is the identifier of the specific socket to get. - SocketId int64 `protobuf:"varint,1,opt,name=socket_id,json=socketId,proto3" json:"socket_id,omitempty"` - // If true, the response will contain only high level information - // that is inexpensive to obtain. Fields thay may be omitted are - // documented. - Summary bool `protobuf:"varint,2,opt,name=summary,proto3" json:"summary,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetSocketRequest) Reset() { *m = GetSocketRequest{} } -func (m *GetSocketRequest) String() string { return proto.CompactTextString(m) } -func (*GetSocketRequest) ProtoMessage() {} -func (*GetSocketRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{32} -} - -func (m *GetSocketRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetSocketRequest.Unmarshal(m, b) -} -func (m *GetSocketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetSocketRequest.Marshal(b, m, deterministic) -} -func (m *GetSocketRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetSocketRequest.Merge(m, src) -} -func (m *GetSocketRequest) XXX_Size() int { - return xxx_messageInfo_GetSocketRequest.Size(m) -} -func (m *GetSocketRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetSocketRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetSocketRequest proto.InternalMessageInfo - -func (m *GetSocketRequest) GetSocketId() int64 { - if m != nil { - return m.SocketId - } - return 0 -} - -func (m *GetSocketRequest) GetSummary() bool { - if m != nil { - return m.Summary - } - return false -} - -type GetSocketResponse struct { - // The Socket that corresponds to the requested socket_id. This field - // should be set. - Socket *Socket `protobuf:"bytes,1,opt,name=socket,proto3" json:"socket,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetSocketResponse) Reset() { *m = GetSocketResponse{} } -func (m *GetSocketResponse) String() string { return proto.CompactTextString(m) } -func (*GetSocketResponse) ProtoMessage() {} -func (*GetSocketResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6ee37dfd35a8ab00, []int{33} -} - -func (m *GetSocketResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetSocketResponse.Unmarshal(m, b) -} -func (m *GetSocketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetSocketResponse.Marshal(b, m, deterministic) -} -func (m *GetSocketResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetSocketResponse.Merge(m, src) -} -func (m *GetSocketResponse) XXX_Size() int { - return xxx_messageInfo_GetSocketResponse.Size(m) -} -func (m *GetSocketResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetSocketResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GetSocketResponse proto.InternalMessageInfo - -func (m *GetSocketResponse) GetSocket() *Socket { - if m != nil { - return m.Socket - } - return nil -} - -func init() { - proto.RegisterEnum("grpc.channelz.v1.ChannelConnectivityState_State", ChannelConnectivityState_State_name, ChannelConnectivityState_State_value) - proto.RegisterEnum("grpc.channelz.v1.ChannelTraceEvent_Severity", ChannelTraceEvent_Severity_name, ChannelTraceEvent_Severity_value) - proto.RegisterType((*Channel)(nil), "grpc.channelz.v1.Channel") - proto.RegisterType((*Subchannel)(nil), "grpc.channelz.v1.Subchannel") - proto.RegisterType((*ChannelConnectivityState)(nil), "grpc.channelz.v1.ChannelConnectivityState") - proto.RegisterType((*ChannelData)(nil), "grpc.channelz.v1.ChannelData") - proto.RegisterType((*ChannelTraceEvent)(nil), "grpc.channelz.v1.ChannelTraceEvent") - proto.RegisterType((*ChannelTrace)(nil), "grpc.channelz.v1.ChannelTrace") - proto.RegisterType((*ChannelRef)(nil), "grpc.channelz.v1.ChannelRef") - proto.RegisterType((*SubchannelRef)(nil), "grpc.channelz.v1.SubchannelRef") - proto.RegisterType((*SocketRef)(nil), "grpc.channelz.v1.SocketRef") - proto.RegisterType((*ServerRef)(nil), "grpc.channelz.v1.ServerRef") - proto.RegisterType((*Server)(nil), "grpc.channelz.v1.Server") - proto.RegisterType((*ServerData)(nil), "grpc.channelz.v1.ServerData") - proto.RegisterType((*Socket)(nil), "grpc.channelz.v1.Socket") - proto.RegisterType((*SocketData)(nil), "grpc.channelz.v1.SocketData") - proto.RegisterType((*Address)(nil), "grpc.channelz.v1.Address") - proto.RegisterType((*Address_TcpIpAddress)(nil), "grpc.channelz.v1.Address.TcpIpAddress") - proto.RegisterType((*Address_UdsAddress)(nil), "grpc.channelz.v1.Address.UdsAddress") - proto.RegisterType((*Address_OtherAddress)(nil), "grpc.channelz.v1.Address.OtherAddress") - proto.RegisterType((*Security)(nil), "grpc.channelz.v1.Security") - proto.RegisterType((*Security_Tls)(nil), "grpc.channelz.v1.Security.Tls") - proto.RegisterType((*Security_OtherSecurity)(nil), "grpc.channelz.v1.Security.OtherSecurity") - proto.RegisterType((*SocketOption)(nil), "grpc.channelz.v1.SocketOption") - proto.RegisterType((*SocketOptionTimeout)(nil), "grpc.channelz.v1.SocketOptionTimeout") - proto.RegisterType((*SocketOptionLinger)(nil), "grpc.channelz.v1.SocketOptionLinger") - proto.RegisterType((*SocketOptionTcpInfo)(nil), "grpc.channelz.v1.SocketOptionTcpInfo") - proto.RegisterType((*GetTopChannelsRequest)(nil), "grpc.channelz.v1.GetTopChannelsRequest") - proto.RegisterType((*GetTopChannelsResponse)(nil), "grpc.channelz.v1.GetTopChannelsResponse") - proto.RegisterType((*GetServersRequest)(nil), "grpc.channelz.v1.GetServersRequest") - proto.RegisterType((*GetServersResponse)(nil), "grpc.channelz.v1.GetServersResponse") - proto.RegisterType((*GetServerRequest)(nil), "grpc.channelz.v1.GetServerRequest") - proto.RegisterType((*GetServerResponse)(nil), "grpc.channelz.v1.GetServerResponse") - proto.RegisterType((*GetServerSocketsRequest)(nil), "grpc.channelz.v1.GetServerSocketsRequest") - proto.RegisterType((*GetServerSocketsResponse)(nil), "grpc.channelz.v1.GetServerSocketsResponse") - proto.RegisterType((*GetChannelRequest)(nil), "grpc.channelz.v1.GetChannelRequest") - proto.RegisterType((*GetChannelResponse)(nil), "grpc.channelz.v1.GetChannelResponse") - proto.RegisterType((*GetSubchannelRequest)(nil), "grpc.channelz.v1.GetSubchannelRequest") - proto.RegisterType((*GetSubchannelResponse)(nil), "grpc.channelz.v1.GetSubchannelResponse") - proto.RegisterType((*GetSocketRequest)(nil), "grpc.channelz.v1.GetSocketRequest") - proto.RegisterType((*GetSocketResponse)(nil), "grpc.channelz.v1.GetSocketResponse") -} - -func init() { proto.RegisterFile("grpc/channelz/v1/channelz.proto", fileDescriptor_6ee37dfd35a8ab00) } - -var fileDescriptor_6ee37dfd35a8ab00 = []byte{ - // 2584 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x59, 0x4b, 0x6f, 0xdb, 0xd8, - 0xf5, 0xb7, 0xde, 0xd4, 0xd1, 0x23, 0xf2, 0x4d, 0x26, 0x43, 0x2b, 0x99, 0xb1, 0xff, 0xf4, 0x4c, - 0xc6, 0x93, 0xfc, 0x23, 0xc7, 0x9e, 0x34, 0x28, 0x3a, 0x2d, 0x3a, 0xb6, 0x62, 0xc7, 0x72, 0x1d, - 0x39, 0xa0, 0xe4, 0x49, 0xa6, 0x28, 0xca, 0xa1, 0xc9, 0x6b, 0x99, 0x35, 0x45, 0xaa, 0xbc, 0x57, - 0xf2, 0x24, 0x9b, 0x2e, 0xba, 0xef, 0xb2, 0x28, 0xfa, 0x01, 0xba, 0xe9, 0xa2, 0x40, 0x81, 0x02, - 0xed, 0x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a, 0xb6, 0x21, - 0xe7, 0xfa, 0x96, 0xe9, 0xca, 0xd9, 0xbc, 0x36, 0xad, 0xb2, 0x67, 0xdb, 0x01, 0x26, 0x44, 0x17, - 0x38, 0xb4, 0x03, 0xf9, 0x00, 0xf7, 0x7d, 0x8a, 0xe5, 0x44, 0xbe, 0x41, 0x43, 0x02, 0xd1, 0x33, - 0xb6, 0x9b, 0x58, 0x43, 0xbe, 0x9b, 0x44, 0x71, 0x99, 0x2e, 0x2c, 0x81, 0xd0, 0x23, 0x2c, 0x5a, - 0x87, 0x92, 0x60, 0x30, 0x12, 0x5d, 0x00, 0x42, 0xd4, 0x36, 0xfb, 0x58, 0xfb, 0x7d, 0x01, 0x20, - 0x5e, 0x11, 0x4b, 0x2f, 0xa1, 0x01, 0x36, 0xfb, 0x71, 0x15, 0x88, 0x21, 0x54, 0x95, 0xe2, 0xb0, - 0x0e, 0x1e, 0xc1, 0x6a, 0x04, 0x8c, 0x2a, 0x41, 0x14, 0x4c, 0x2d, 0x84, 0x46, 0xb5, 0xf0, 0x39, - 0x84, 0xea, 0x61, 0x35, 0x88, 0x9a, 0xa9, 0x48, 0xa9, 0xac, 0x87, 0x4d, 0xa8, 0xf4, 0x31, 0x21, - 0x66, 0x0f, 0x13, 0x83, 0x60, 0x8f, 0x86, 0xc7, 0x86, 0x50, 0xd8, 0x61, 0x3b, 0xef, 0x23, 0x58, - 0x8d, 0x40, 0x01, 0xb6, 0xb0, 0x33, 0x8a, 0x0e, 0x0e, 0xb5, 0xf0, 0x85, 0x2e, 0xe5, 0x68, 0x0b, - 0x6a, 0x57, 0x18, 0x0f, 0x0c, 0xd3, 0x75, 0x46, 0x21, 0xa9, 0x38, 0x3e, 0x54, 0x99, 0x7c, 0x8f, - 0x8b, 0x39, 0xed, 0x25, 0x6c, 0xf2, 0x5a, 0xe4, 0x19, 0x32, 0x84, 0x5f, 0x06, 0x1f, 0xf5, 0xef, - 0x79, 0x92, 0x58, 0x67, 0x34, 0x27, 0x8c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0x06, 0x59, 0xc6, 0x7c, - 0x22, 0xa4, 0xd1, 0x1d, 0x50, 0x3a, 0x19, 0xd2, 0xf0, 0x22, 0x68, 0x22, 0xa4, 0x99, 0xa9, 0x90, - 0x5e, 0x82, 0x3a, 0xed, 0x80, 0x5c, 0xce, 0xf8, 0xff, 0x03, 0x52, 0xef, 0xf3, 0xff, 0x80, 0x19, - 0x21, 0xde, 0xe5, 0x11, 0x8b, 0xee, 0xe4, 0xc4, 0x22, 0x6f, 0xbe, 0x97, 0xd3, 0x5a, 0x3c, 0xe1, - 0x91, 0xce, 0xac, 0x5a, 0x4d, 0x2d, 0x57, 0xab, 0xda, 0xd7, 0x70, 0x87, 0x2d, 0x34, 0x71, 0x5b, - 0x27, 0x3c, 0x98, 0xba, 0xb1, 0x4b, 0x4d, 0xdf, 0xd8, 0x69, 0x67, 0xbc, 0x37, 0x93, 0xca, 0xd2, - 0x95, 0x9f, 0x02, 0xc4, 0xc0, 0xf9, 0xff, 0x5b, 0x4b, 0x68, 0x26, 0xf0, 0x5a, 0x4b, 0x54, 0x9d, - 0x0c, 0x5a, 0x9c, 0xf6, 0x28, 0xa7, 0xa9, 0x89, 0x7b, 0x3d, 0x15, 0x0a, 0x64, 0xd8, 0xef, 0x9b, - 0xc1, 0x5b, 0x19, 0xd9, 0xf0, 0x31, 0xac, 0x47, 0x49, 0x95, 0xa8, 0x47, 0x71, 0xf3, 0x35, 0xbf, - 0x1e, 0x85, 0x86, 0xc4, 0xed, 0xfe, 0x39, 0x07, 0x8a, 0x0c, 0xdd, 0x3b, 0x64, 0x41, 0x75, 0x7c, - 0x5a, 0xa0, 0x2f, 0xa6, 0x09, 0x66, 0xce, 0xac, 0xfa, 0xd6, 0x62, 0xa0, 0xf4, 0xf1, 0x35, 0x40, - 0xdc, 0xd3, 0x68, 0x73, 0xa6, 0xde, 0xf8, 0x3c, 0xa9, 0x7f, 0x76, 0x33, 0x48, 0x12, 0x77, 0xa1, - 0x18, 0x49, 0x91, 0x76, 0x83, 0x4a, 0x48, 0xbb, 0x79, 0x23, 0x46, 0xb2, 0x3a, 0x89, 0x41, 0x21, - 0xfb, 0x05, 0x7d, 0x79, 0x83, 0xe2, 0x78, 0x53, 0xd7, 0x1f, 0x2e, 0x03, 0x1d, 0x8b, 0x4c, 0xf8, - 0xef, 0xdb, 0xd9, 0xde, 0x8d, 0xb7, 0xd3, 0x9c, 0xc8, 0x4c, 0xf6, 0xcf, 0xf7, 0x50, 0x19, 0xab, - 0x66, 0xf4, 0x60, 0xb6, 0x57, 0x93, 0xbd, 0x52, 0xff, 0x62, 0x21, 0x6e, 0x3c, 0xf6, 0xe2, 0xa2, - 0x70, 0x4e, 0xec, 0x93, 0x55, 0x3f, 0x2f, 0xf6, 0x63, 0xe5, 0xbc, 0xff, 0x06, 0x6e, 0x3b, 0xfe, - 0x14, 0x70, 0xbf, 0x12, 0x16, 0xec, 0x2b, 0x76, 0x24, 0x7f, 0x95, 0xfa, 0xe5, 0x13, 0x79, 0x44, - 0xef, 0xf9, 0xae, 0xe9, 0xf5, 0x1a, 0x7e, 0xd0, 0xdb, 0x1e, 0xff, 0xb7, 0x3d, 0x7b, 0x0a, 0x77, - 0xd3, 0x77, 0xc6, 0x68, 0xe7, 0x3c, 0xcf, 0x4f, 0xf3, 0x5f, 0xfd, 0x37, 0x00, 0x00, 0xff, 0xff, - 0x54, 0xae, 0x0b, 0x93, 0xdf, 0x1f, 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 - -// ChannelzClient is the client API for Channelz service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ChannelzClient interface { - // Gets all root channels (i.e. channels the application has directly - // created). This does not include subchannels nor non-top level channels. - GetTopChannels(ctx context.Context, in *GetTopChannelsRequest, opts ...grpc.CallOption) (*GetTopChannelsResponse, error) - // Gets all servers that exist in the process. - GetServers(ctx context.Context, in *GetServersRequest, opts ...grpc.CallOption) (*GetServersResponse, error) - // Returns a single Server, or else a NOT_FOUND code. - GetServer(ctx context.Context, in *GetServerRequest, opts ...grpc.CallOption) (*GetServerResponse, error) - // Gets all server sockets that exist in the process. - GetServerSockets(ctx context.Context, in *GetServerSocketsRequest, opts ...grpc.CallOption) (*GetServerSocketsResponse, error) - // Returns a single Channel, or else a NOT_FOUND code. - GetChannel(ctx context.Context, in *GetChannelRequest, opts ...grpc.CallOption) (*GetChannelResponse, error) - // Returns a single Subchannel, or else a NOT_FOUND code. - GetSubchannel(ctx context.Context, in *GetSubchannelRequest, opts ...grpc.CallOption) (*GetSubchannelResponse, error) - // Returns a single Socket or else a NOT_FOUND code. - GetSocket(ctx context.Context, in *GetSocketRequest, opts ...grpc.CallOption) (*GetSocketResponse, error) -} - -type channelzClient struct { - cc *grpc.ClientConn -} - -func NewChannelzClient(cc *grpc.ClientConn) ChannelzClient { - return &channelzClient{cc} -} - -func (c *channelzClient) GetTopChannels(ctx context.Context, in *GetTopChannelsRequest, opts ...grpc.CallOption) (*GetTopChannelsResponse, error) { - out := new(GetTopChannelsResponse) - err := c.cc.Invoke(ctx, "/grpc.channelz.v1.Channelz/GetTopChannels", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *channelzClient) GetServers(ctx context.Context, in *GetServersRequest, opts ...grpc.CallOption) (*GetServersResponse, error) { - out := new(GetServersResponse) - err := c.cc.Invoke(ctx, "/grpc.channelz.v1.Channelz/GetServers", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *channelzClient) GetServer(ctx context.Context, in *GetServerRequest, opts ...grpc.CallOption) (*GetServerResponse, error) { - out := new(GetServerResponse) - err := c.cc.Invoke(ctx, "/grpc.channelz.v1.Channelz/GetServer", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *channelzClient) GetServerSockets(ctx context.Context, in *GetServerSocketsRequest, opts ...grpc.CallOption) (*GetServerSocketsResponse, error) { - out := new(GetServerSocketsResponse) - err := c.cc.Invoke(ctx, "/grpc.channelz.v1.Channelz/GetServerSockets", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *channelzClient) GetChannel(ctx context.Context, in *GetChannelRequest, opts ...grpc.CallOption) (*GetChannelResponse, error) { - out := new(GetChannelResponse) - err := c.cc.Invoke(ctx, "/grpc.channelz.v1.Channelz/GetChannel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *channelzClient) GetSubchannel(ctx context.Context, in *GetSubchannelRequest, opts ...grpc.CallOption) (*GetSubchannelResponse, error) { - out := new(GetSubchannelResponse) - err := c.cc.Invoke(ctx, "/grpc.channelz.v1.Channelz/GetSubchannel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *channelzClient) GetSocket(ctx context.Context, in *GetSocketRequest, opts ...grpc.CallOption) (*GetSocketResponse, error) { - out := new(GetSocketResponse) - err := c.cc.Invoke(ctx, "/grpc.channelz.v1.Channelz/GetSocket", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ChannelzServer is the server API for Channelz service. -type ChannelzServer interface { - // Gets all root channels (i.e. channels the application has directly - // created). This does not include subchannels nor non-top level channels. - GetTopChannels(context.Context, *GetTopChannelsRequest) (*GetTopChannelsResponse, error) - // Gets all servers that exist in the process. - GetServers(context.Context, *GetServersRequest) (*GetServersResponse, error) - // Returns a single Server, or else a NOT_FOUND code. - GetServer(context.Context, *GetServerRequest) (*GetServerResponse, error) - // Gets all server sockets that exist in the process. - GetServerSockets(context.Context, *GetServerSocketsRequest) (*GetServerSocketsResponse, error) - // Returns a single Channel, or else a NOT_FOUND code. - GetChannel(context.Context, *GetChannelRequest) (*GetChannelResponse, error) - // Returns a single Subchannel, or else a NOT_FOUND code. - GetSubchannel(context.Context, *GetSubchannelRequest) (*GetSubchannelResponse, error) - // Returns a single Socket or else a NOT_FOUND code. - GetSocket(context.Context, *GetSocketRequest) (*GetSocketResponse, error) -} - -// UnimplementedChannelzServer can be embedded to have forward compatible implementations. -type UnimplementedChannelzServer struct { -} - -func (*UnimplementedChannelzServer) GetTopChannels(ctx context.Context, req *GetTopChannelsRequest) (*GetTopChannelsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTopChannels not implemented") -} -func (*UnimplementedChannelzServer) GetServers(ctx context.Context, req *GetServersRequest) (*GetServersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetServers not implemented") -} -func (*UnimplementedChannelzServer) GetServer(ctx context.Context, req *GetServerRequest) (*GetServerResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetServer not implemented") -} -func (*UnimplementedChannelzServer) GetServerSockets(ctx context.Context, req *GetServerSocketsRequest) (*GetServerSocketsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetServerSockets not implemented") -} -func (*UnimplementedChannelzServer) GetChannel(ctx context.Context, req *GetChannelRequest) (*GetChannelResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetChannel not implemented") -} -func (*UnimplementedChannelzServer) GetSubchannel(ctx context.Context, req *GetSubchannelRequest) (*GetSubchannelResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetSubchannel not implemented") -} -func (*UnimplementedChannelzServer) GetSocket(ctx context.Context, req *GetSocketRequest) (*GetSocketResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetSocket not implemented") -} - -func RegisterChannelzServer(s *grpc.Server, srv ChannelzServer) { - s.RegisterService(&_Channelz_serviceDesc, srv) -} - -func _Channelz_GetTopChannels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTopChannelsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ChannelzServer).GetTopChannels(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.channelz.v1.Channelz/GetTopChannels", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ChannelzServer).GetTopChannels(ctx, req.(*GetTopChannelsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Channelz_GetServers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetServersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ChannelzServer).GetServers(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.channelz.v1.Channelz/GetServers", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ChannelzServer).GetServers(ctx, req.(*GetServersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Channelz_GetServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetServerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ChannelzServer).GetServer(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.channelz.v1.Channelz/GetServer", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ChannelzServer).GetServer(ctx, req.(*GetServerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Channelz_GetServerSockets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetServerSocketsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ChannelzServer).GetServerSockets(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.channelz.v1.Channelz/GetServerSockets", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ChannelzServer).GetServerSockets(ctx, req.(*GetServerSocketsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Channelz_GetChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetChannelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ChannelzServer).GetChannel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.channelz.v1.Channelz/GetChannel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ChannelzServer).GetChannel(ctx, req.(*GetChannelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Channelz_GetSubchannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetSubchannelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ChannelzServer).GetSubchannel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.channelz.v1.Channelz/GetSubchannel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ChannelzServer).GetSubchannel(ctx, req.(*GetSubchannelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Channelz_GetSocket_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetSocketRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ChannelzServer).GetSocket(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.channelz.v1.Channelz/GetSocket", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ChannelzServer).GetSocket(ctx, req.(*GetSocketRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Channelz_serviceDesc = grpc.ServiceDesc{ - ServiceName: "grpc.channelz.v1.Channelz", - HandlerType: (*ChannelzServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetTopChannels", - Handler: _Channelz_GetTopChannels_Handler, - }, - { - MethodName: "GetServers", - Handler: _Channelz_GetServers_Handler, - }, - { - MethodName: "GetServer", - Handler: _Channelz_GetServer_Handler, - }, - { - MethodName: "GetServerSockets", - Handler: _Channelz_GetServerSockets_Handler, - }, - { - MethodName: "GetChannel", - Handler: _Channelz_GetChannel_Handler, - }, - { - MethodName: "GetSubchannel", - Handler: _Channelz_GetSubchannel_Handler, - }, - { - MethodName: "GetSocket", - Handler: _Channelz_GetSocket_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "grpc/channelz/v1/channelz.proto", -} diff --git a/vendor/google.golang.org/grpc/credentials/alts/internal/proto/grpc_gcp/altscontext.pb.go b/vendor/google.golang.org/grpc/credentials/alts/internal/proto/grpc_gcp/altscontext.pb.go deleted file mode 100644 index 38c4832d..00000000 --- a/vendor/google.golang.org/grpc/credentials/alts/internal/proto/grpc_gcp/altscontext.pb.go +++ /dev/null @@ -1,152 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: grpc/gcp/altscontext.proto - -package grpc_gcp - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type AltsContext struct { - // The application protocol negotiated for this connection. - ApplicationProtocol string `protobuf:"bytes,1,opt,name=application_protocol,json=applicationProtocol,proto3" json:"application_protocol,omitempty"` - // The record protocol negotiated for this connection. - RecordProtocol string `protobuf:"bytes,2,opt,name=record_protocol,json=recordProtocol,proto3" json:"record_protocol,omitempty"` - // The security level of the created secure channel. - SecurityLevel SecurityLevel `protobuf:"varint,3,opt,name=security_level,json=securityLevel,proto3,enum=grpc.gcp.SecurityLevel" json:"security_level,omitempty"` - // The peer service account. - PeerServiceAccount string `protobuf:"bytes,4,opt,name=peer_service_account,json=peerServiceAccount,proto3" json:"peer_service_account,omitempty"` - // The local service account. - LocalServiceAccount string `protobuf:"bytes,5,opt,name=local_service_account,json=localServiceAccount,proto3" json:"local_service_account,omitempty"` - // The RPC protocol versions supported by the peer. - PeerRpcVersions *RpcProtocolVersions `protobuf:"bytes,6,opt,name=peer_rpc_versions,json=peerRpcVersions,proto3" json:"peer_rpc_versions,omitempty"` - // Additional attributes of the peer. - PeerAttributes map[string]string `protobuf:"bytes,7,rep,name=peer_attributes,json=peerAttributes,proto3" json:"peer_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 *AltsContext) Reset() { *m = AltsContext{} } -func (m *AltsContext) String() string { return proto.CompactTextString(m) } -func (*AltsContext) ProtoMessage() {} -func (*AltsContext) Descriptor() ([]byte, []int) { - return fileDescriptor_6647a41e53a575a3, []int{0} -} - -func (m *AltsContext) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AltsContext.Unmarshal(m, b) -} -func (m *AltsContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AltsContext.Marshal(b, m, deterministic) -} -func (m *AltsContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_AltsContext.Merge(m, src) -} -func (m *AltsContext) XXX_Size() int { - return xxx_messageInfo_AltsContext.Size(m) -} -func (m *AltsContext) XXX_DiscardUnknown() { - xxx_messageInfo_AltsContext.DiscardUnknown(m) -} - -var xxx_messageInfo_AltsContext proto.InternalMessageInfo - -func (m *AltsContext) GetApplicationProtocol() string { - if m != nil { - return m.ApplicationProtocol - } - return "" -} - -func (m *AltsContext) GetRecordProtocol() string { - if m != nil { - return m.RecordProtocol - } - return "" -} - -func (m *AltsContext) GetSecurityLevel() SecurityLevel { - if m != nil { - return m.SecurityLevel - } - return SecurityLevel_SECURITY_NONE -} - -func (m *AltsContext) GetPeerServiceAccount() string { - if m != nil { - return m.PeerServiceAccount - } - return "" -} - -func (m *AltsContext) GetLocalServiceAccount() string { - if m != nil { - return m.LocalServiceAccount - } - return "" -} - -func (m *AltsContext) GetPeerRpcVersions() *RpcProtocolVersions { - if m != nil { - return m.PeerRpcVersions - } - return nil -} - -func (m *AltsContext) GetPeerAttributes() map[string]string { - if m != nil { - return m.PeerAttributes - } - return nil -} - -func init() { - proto.RegisterType((*AltsContext)(nil), "grpc.gcp.AltsContext") - proto.RegisterMapType((map[string]string)(nil), "grpc.gcp.AltsContext.PeerAttributesEntry") -} - -func init() { proto.RegisterFile("grpc/gcp/altscontext.proto", fileDescriptor_6647a41e53a575a3) } - -var fileDescriptor_6647a41e53a575a3 = []byte{ - // 411 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0x4d, 0x6f, 0x13, 0x31, - 0x10, 0x86, 0xb5, 0x0d, 0x2d, 0xe0, 0x88, 0xb4, 0xb8, 0xa9, 0x58, 0x45, 0x42, 0x8a, 0xb8, 0xb0, - 0x5c, 0x76, 0x21, 0x5c, 0x10, 0x07, 0x50, 0x8a, 0x38, 0x20, 0x71, 0x88, 0xb6, 0x12, 0x07, 0x2e, - 0x2b, 0x77, 0x3a, 0xb2, 0x2c, 0x5c, 0x8f, 0x35, 0x76, 0x22, 0xf2, 0xb3, 0xf9, 0x07, 0x68, 0xed, - 0xcd, 0x07, 0x1f, 0xb7, 0x9d, 0x79, 0x9f, 0x19, 0xbf, 0xb3, 0x33, 0x62, 0xa6, 0xd9, 0x43, 0xa3, - 0xc1, 0x37, 0xca, 0xc6, 0x00, 0xe4, 0x22, 0xfe, 0x8c, 0xb5, 0x67, 0x8a, 0x24, 0x1f, 0xf5, 0x5a, - 0xad, 0xc1, 0xcf, 0xaa, 0x3d, 0x15, 0x59, 0xb9, 0xe0, 0x89, 0x63, 0x17, 0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, 0xe8, 0xe8, 0xe7, 0xd7, 0x2b, 0x44, 0x5e, 0xee, 0xd9, 0xcf, 0x2e, 0xf2, 0xb6, - 0x9d, 0xf8, 0x3f, 0x92, 0xb3, 0xa5, 0xb8, 0xfc, 0x0f, 0x26, 0x2f, 0xc4, 0xe8, 0x07, 0x6e, 0x87, - 0x35, 0xf5, 0x9f, 0x72, 0x2a, 0x4e, 0x37, 0xca, 0xae, 0x71, 0x58, 0x46, 0x0e, 0xde, 0x9f, 0xbc, - 0x2b, 0xae, 0xad, 0xb8, 0x32, 0x94, 0x1d, 0xf4, 0x47, 0x54, 0x1b, 0x17, 0x91, 0x9d, 0xb2, 0xd7, - 0x17, 0x47, 0x66, 0xd2, 0x74, 0xab, 0xe2, 0xfb, 0x47, 0x4d, 0xa4, 0x2d, 0xd6, 0x9a, 0xac, 0x72, - 0xba, 0x26, 0xd6, 0x4d, 0x3a, 0x2e, 0x60, 0xbc, 0x43, 0x17, 0x8d, 0xb2, 0x21, 0x9d, 0x62, 0xb3, - 0xeb, 0xd2, 0xa4, 0x2b, 0x48, 0x50, 0xa7, 0xc1, 0xdf, 0x9e, 0xa5, 0xf8, 0xed, 0xef, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x9b, 0x8c, 0xe4, 0x6a, 0xba, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/grpc/credentials/alts/internal/proto/grpc_gcp/handshaker.pb.go b/vendor/google.golang.org/grpc/credentials/alts/internal/proto/grpc_gcp/handshaker.pb.go deleted file mode 100644 index 021646ed..00000000 --- a/vendor/google.golang.org/grpc/credentials/alts/internal/proto/grpc_gcp/handshaker.pb.go +++ /dev/null @@ -1,1075 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: grpc/gcp/handshaker.proto - -package grpc_gcp - -import ( - context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type HandshakeProtocol int32 - -const ( - // Default value. - HandshakeProtocol_HANDSHAKE_PROTOCOL_UNSPECIFIED HandshakeProtocol = 0 - // TLS handshake protocol. - HandshakeProtocol_TLS HandshakeProtocol = 1 - // Application Layer Transport Security handshake protocol. - HandshakeProtocol_ALTS HandshakeProtocol = 2 -) - -var HandshakeProtocol_name = map[int32]string{ - 0: "HANDSHAKE_PROTOCOL_UNSPECIFIED", - 1: "TLS", - 2: "ALTS", -} - -var HandshakeProtocol_value = map[string]int32{ - "HANDSHAKE_PROTOCOL_UNSPECIFIED": 0, - "TLS": 1, - "ALTS": 2, -} - -func (x HandshakeProtocol) String() string { - return proto.EnumName(HandshakeProtocol_name, int32(x)) -} - -func (HandshakeProtocol) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_54c074f40c7c7e99, []int{0} -} - -type NetworkProtocol int32 - -const ( - NetworkProtocol_NETWORK_PROTOCOL_UNSPECIFIED NetworkProtocol = 0 - NetworkProtocol_TCP NetworkProtocol = 1 - NetworkProtocol_UDP NetworkProtocol = 2 -) - -var NetworkProtocol_name = map[int32]string{ - 0: "NETWORK_PROTOCOL_UNSPECIFIED", - 1: "TCP", - 2: "UDP", -} - -var NetworkProtocol_value = map[string]int32{ - "NETWORK_PROTOCOL_UNSPECIFIED": 0, - "TCP": 1, - "UDP": 2, -} - -func (x NetworkProtocol) String() string { - return proto.EnumName(NetworkProtocol_name, int32(x)) -} - -func (NetworkProtocol) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_54c074f40c7c7e99, []int{1} -} - -type Endpoint struct { - // IP address. It should contain an IPv4 or IPv6 string literal, e.g. - // "192.168.0.1" or "2001:db8::1". - IpAddress string `protobuf:"bytes,1,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` - // Port number. - Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` - // Network protocol (e.g., TCP, UDP) associated with this endpoint. - Protocol NetworkProtocol `protobuf:"varint,3,opt,name=protocol,proto3,enum=grpc.gcp.NetworkProtocol" json:"protocol,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_54c074f40c7c7e99, []int{0} -} - -func (m *Endpoint) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Endpoint.Unmarshal(m, b) -} -func (m *Endpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Endpoint.Marshal(b, m, deterministic) -} -func (m *Endpoint) XXX_Merge(src proto.Message) { - xxx_messageInfo_Endpoint.Merge(m, src) -} -func (m *Endpoint) XXX_Size() int { - return xxx_messageInfo_Endpoint.Size(m) -} -func (m *Endpoint) XXX_DiscardUnknown() { - xxx_messageInfo_Endpoint.DiscardUnknown(m) -} - -var xxx_messageInfo_Endpoint proto.InternalMessageInfo - -func (m *Endpoint) GetIpAddress() string { - if m != nil { - return m.IpAddress - } - return "" -} - -func (m *Endpoint) GetPort() int32 { - if m != nil { - return m.Port - } - return 0 -} - -func (m *Endpoint) GetProtocol() NetworkProtocol { - if m != nil { - return m.Protocol - } - return NetworkProtocol_NETWORK_PROTOCOL_UNSPECIFIED -} - -type Identity struct { - // Types that are valid to be assigned to IdentityOneof: - // *Identity_ServiceAccount - // *Identity_Hostname - IdentityOneof isIdentity_IdentityOneof `protobuf_oneof:"identity_oneof"` - // Additional attributes of the identity. - Attributes map[string]string `protobuf:"bytes,3,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 *Identity) Reset() { *m = Identity{} } -func (m *Identity) String() string { return proto.CompactTextString(m) } -func (*Identity) ProtoMessage() {} -func (*Identity) Descriptor() ([]byte, []int) { - return fileDescriptor_54c074f40c7c7e99, []int{1} -} - -func (m *Identity) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Identity.Unmarshal(m, b) -} -func (m *Identity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Identity.Marshal(b, m, deterministic) -} -func (m *Identity) XXX_Merge(src proto.Message) { - xxx_messageInfo_Identity.Merge(m, src) -} -func (m *Identity) XXX_Size() int { - return xxx_messageInfo_Identity.Size(m) -} -func (m *Identity) XXX_DiscardUnknown() { - xxx_messageInfo_Identity.DiscardUnknown(m) -} - -var xxx_messageInfo_Identity proto.InternalMessageInfo - -type isIdentity_IdentityOneof interface { - isIdentity_IdentityOneof() -} - -type Identity_ServiceAccount struct { - ServiceAccount string `protobuf:"bytes,1,opt,name=service_account,json=serviceAccount,proto3,oneof"` -} - -type Identity_Hostname struct { - Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3,oneof"` -} - -func (*Identity_ServiceAccount) isIdentity_IdentityOneof() {} - -func (*Identity_Hostname) isIdentity_IdentityOneof() {} - -func (m *Identity) GetIdentityOneof() isIdentity_IdentityOneof { - if m != nil { - return m.IdentityOneof - } - return nil -} - -func (m *Identity) GetServiceAccount() string { - if x, ok := m.GetIdentityOneof().(*Identity_ServiceAccount); ok { - return x.ServiceAccount - } - return "" -} - -func (m *Identity) GetHostname() string { - if x, ok := m.GetIdentityOneof().(*Identity_Hostname); ok { - return x.Hostname - } - return "" -} - -func (m *Identity) GetAttributes() map[string]string { - if m != nil { - return m.Attributes - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Identity) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Identity_ServiceAccount)(nil), - (*Identity_Hostname)(nil), - } -} - -type StartClientHandshakeReq struct { - // Handshake security protocol requested by the client. - HandshakeSecurityProtocol HandshakeProtocol `protobuf:"varint,1,opt,name=handshake_security_protocol,json=handshakeSecurityProtocol,proto3,enum=grpc.gcp.HandshakeProtocol" json:"handshake_security_protocol,omitempty"` - // The application protocols supported by the client, e.g., "h2" (for http2), - // "grpc". - ApplicationProtocols []string `protobuf:"bytes,2,rep,name=application_protocols,json=applicationProtocols,proto3" json:"application_protocols,omitempty"` - // The record protocols supported by the client, e.g., - // "ALTSRP_GCM_AES128". - RecordProtocols []string `protobuf:"bytes,3,rep,name=record_protocols,json=recordProtocols,proto3" json:"record_protocols,omitempty"` - // (Optional) Describes which server identities are acceptable by the client. - // If target identities are provided and none of them matches the peer - // identity of the server, handshake will fail. - TargetIdentities []*Identity `protobuf:"bytes,4,rep,name=target_identities,json=targetIdentities,proto3" json:"target_identities,omitempty"` - // (Optional) Application may specify a local identity. Otherwise, the - // handshaker chooses a default local identity. - LocalIdentity *Identity `protobuf:"bytes,5,opt,name=local_identity,json=localIdentity,proto3" json:"local_identity,omitempty"` - // (Optional) Local endpoint information of the connection to the server, - // such as local IP address, port number, and network protocol. - LocalEndpoint *Endpoint `protobuf:"bytes,6,opt,name=local_endpoint,json=localEndpoint,proto3" json:"local_endpoint,omitempty"` - // (Optional) Endpoint information of the remote server, such as IP address, - // port number, and network protocol. - RemoteEndpoint *Endpoint `protobuf:"bytes,7,opt,name=remote_endpoint,json=remoteEndpoint,proto3" json:"remote_endpoint,omitempty"` - // (Optional) If target name is provided, a secure naming check is performed - // to verify that the peer authenticated identity is indeed authorized to run - // the target name. - TargetName string `protobuf:"bytes,8,opt,name=target_name,json=targetName,proto3" json:"target_name,omitempty"` - // (Optional) RPC protocol versions supported by the client. - RpcVersions *RpcProtocolVersions `protobuf:"bytes,9,opt,name=rpc_versions,json=rpcVersions,proto3" json:"rpc_versions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StartClientHandshakeReq) Reset() { *m = StartClientHandshakeReq{} } -func (m *StartClientHandshakeReq) String() string { return proto.CompactTextString(m) } -func (*StartClientHandshakeReq) ProtoMessage() {} -func (*StartClientHandshakeReq) Descriptor() ([]byte, []int) { - return fileDescriptor_54c074f40c7c7e99, []int{2} -} - -func (m *StartClientHandshakeReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StartClientHandshakeReq.Unmarshal(m, b) -} -func (m *StartClientHandshakeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StartClientHandshakeReq.Marshal(b, m, deterministic) -} -func (m *StartClientHandshakeReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartClientHandshakeReq.Merge(m, src) -} -func (m *StartClientHandshakeReq) XXX_Size() int { - return xxx_messageInfo_StartClientHandshakeReq.Size(m) -} -func (m *StartClientHandshakeReq) XXX_DiscardUnknown() { - xxx_messageInfo_StartClientHandshakeReq.DiscardUnknown(m) -} - -var xxx_messageInfo_StartClientHandshakeReq proto.InternalMessageInfo - -func (m *StartClientHandshakeReq) GetHandshakeSecurityProtocol() HandshakeProtocol { - if m != nil { - return m.HandshakeSecurityProtocol - } - return HandshakeProtocol_HANDSHAKE_PROTOCOL_UNSPECIFIED -} - -func (m *StartClientHandshakeReq) GetApplicationProtocols() []string { - if m != nil { - return m.ApplicationProtocols - } - return nil -} - -func (m *StartClientHandshakeReq) GetRecordProtocols() []string { - if m != nil { - return m.RecordProtocols - } - return nil -} - -func (m *StartClientHandshakeReq) GetTargetIdentities() []*Identity { - if m != nil { - return m.TargetIdentities - } - return nil -} - -func (m *StartClientHandshakeReq) GetLocalIdentity() *Identity { - if m != nil { - return m.LocalIdentity - } - return nil -} - -func (m *StartClientHandshakeReq) GetLocalEndpoint() *Endpoint { - if m != nil { - return m.LocalEndpoint - } - return nil -} - -func (m *StartClientHandshakeReq) GetRemoteEndpoint() *Endpoint { - if m != nil { - return m.RemoteEndpoint - } - return nil -} - -func (m *StartClientHandshakeReq) GetTargetName() string { - if m != nil { - return m.TargetName - } - return "" -} - -func (m *StartClientHandshakeReq) GetRpcVersions() *RpcProtocolVersions { - if m != nil { - return m.RpcVersions - } - return nil -} - -type ServerHandshakeParameters struct { - // The record protocols supported by the server, e.g., - // "ALTSRP_GCM_AES128". - RecordProtocols []string `protobuf:"bytes,1,rep,name=record_protocols,json=recordProtocols,proto3" json:"record_protocols,omitempty"` - // (Optional) A list of local identities supported by the server, if - // specified. Otherwise, the handshaker chooses a default local identity. - LocalIdentities []*Identity `protobuf:"bytes,2,rep,name=local_identities,json=localIdentities,proto3" json:"local_identities,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ServerHandshakeParameters) Reset() { *m = ServerHandshakeParameters{} } -func (m *ServerHandshakeParameters) String() string { return proto.CompactTextString(m) } -func (*ServerHandshakeParameters) ProtoMessage() {} -func (*ServerHandshakeParameters) Descriptor() ([]byte, []int) { - return fileDescriptor_54c074f40c7c7e99, []int{3} -} - -func (m *ServerHandshakeParameters) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServerHandshakeParameters.Unmarshal(m, b) -} -func (m *ServerHandshakeParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServerHandshakeParameters.Marshal(b, m, deterministic) -} -func (m *ServerHandshakeParameters) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServerHandshakeParameters.Merge(m, src) -} -func (m *ServerHandshakeParameters) XXX_Size() int { - return xxx_messageInfo_ServerHandshakeParameters.Size(m) -} -func (m *ServerHandshakeParameters) XXX_DiscardUnknown() { - xxx_messageInfo_ServerHandshakeParameters.DiscardUnknown(m) -} - -var xxx_messageInfo_ServerHandshakeParameters proto.InternalMessageInfo - -func (m *ServerHandshakeParameters) GetRecordProtocols() []string { - if m != nil { - return m.RecordProtocols - } - return nil -} - -func (m *ServerHandshakeParameters) GetLocalIdentities() []*Identity { - if m != nil { - return m.LocalIdentities - } - return nil -} - -type StartServerHandshakeReq struct { - // The application protocols supported by the server, e.g., "h2" (for http2), - // "grpc". - ApplicationProtocols []string `protobuf:"bytes,1,rep,name=application_protocols,json=applicationProtocols,proto3" json:"application_protocols,omitempty"` - // Handshake parameters (record protocols and local identities supported by - // the server) mapped by the handshake protocol. Each handshake security - // protocol (e.g., TLS or ALTS) has its own set of record protocols and local - // identities. Since protobuf does not support enum as key to the map, the key - // to handshake_parameters is the integer value of HandshakeProtocol enum. - HandshakeParameters map[int32]*ServerHandshakeParameters `protobuf:"bytes,2,rep,name=handshake_parameters,json=handshakeParameters,proto3" json:"handshake_parameters,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Bytes in out_frames returned from the peer's HandshakerResp. It is possible - // that the peer's out_frames are split into multiple HandshakReq messages. - InBytes []byte `protobuf:"bytes,3,opt,name=in_bytes,json=inBytes,proto3" json:"in_bytes,omitempty"` - // (Optional) Local endpoint information of the connection to the client, - // such as local IP address, port number, and network protocol. - LocalEndpoint *Endpoint `protobuf:"bytes,4,opt,name=local_endpoint,json=localEndpoint,proto3" json:"local_endpoint,omitempty"` - // (Optional) Endpoint information of the remote client, such as IP address, - // port number, and network protocol. - RemoteEndpoint *Endpoint `protobuf:"bytes,5,opt,name=remote_endpoint,json=remoteEndpoint,proto3" json:"remote_endpoint,omitempty"` - // (Optional) RPC protocol versions supported by the server. - RpcVersions *RpcProtocolVersions `protobuf:"bytes,6,opt,name=rpc_versions,json=rpcVersions,proto3" json:"rpc_versions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StartServerHandshakeReq) Reset() { *m = StartServerHandshakeReq{} } -func (m *StartServerHandshakeReq) String() string { return proto.CompactTextString(m) } -func (*StartServerHandshakeReq) ProtoMessage() {} -func (*StartServerHandshakeReq) Descriptor() ([]byte, []int) { - return fileDescriptor_54c074f40c7c7e99, []int{4} -} - -func (m *StartServerHandshakeReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StartServerHandshakeReq.Unmarshal(m, b) -} -func (m *StartServerHandshakeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StartServerHandshakeReq.Marshal(b, m, deterministic) -} -func (m *StartServerHandshakeReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartServerHandshakeReq.Merge(m, src) -} -func (m *StartServerHandshakeReq) XXX_Size() int { - return xxx_messageInfo_StartServerHandshakeReq.Size(m) -} -func (m *StartServerHandshakeReq) XXX_DiscardUnknown() { - xxx_messageInfo_StartServerHandshakeReq.DiscardUnknown(m) -} - -var xxx_messageInfo_StartServerHandshakeReq proto.InternalMessageInfo - -func (m *StartServerHandshakeReq) GetApplicationProtocols() []string { - if m != nil { - return m.ApplicationProtocols - } - return nil -} - -func (m *StartServerHandshakeReq) GetHandshakeParameters() map[int32]*ServerHandshakeParameters { - if m != nil { - return m.HandshakeParameters - } - return nil -} - -func (m *StartServerHandshakeReq) GetInBytes() []byte { - if m != nil { - return m.InBytes - } - return nil -} - -func (m *StartServerHandshakeReq) GetLocalEndpoint() *Endpoint { - if m != nil { - return m.LocalEndpoint - } - return nil -} - -func (m *StartServerHandshakeReq) GetRemoteEndpoint() *Endpoint { - if m != nil { - return m.RemoteEndpoint - } - return nil -} - -func (m *StartServerHandshakeReq) GetRpcVersions() *RpcProtocolVersions { - if m != nil { - return m.RpcVersions - } - return nil -} - -type NextHandshakeMessageReq struct { - // Bytes in out_frames returned from the peer's HandshakerResp. It is possible - // that the peer's out_frames are split into multiple NextHandshakerMessageReq - // messages. - InBytes []byte `protobuf:"bytes,1,opt,name=in_bytes,json=inBytes,proto3" json:"in_bytes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *NextHandshakeMessageReq) Reset() { *m = NextHandshakeMessageReq{} } -func (m *NextHandshakeMessageReq) String() string { return proto.CompactTextString(m) } -func (*NextHandshakeMessageReq) ProtoMessage() {} -func (*NextHandshakeMessageReq) Descriptor() ([]byte, []int) { - return fileDescriptor_54c074f40c7c7e99, []int{5} -} - -func (m *NextHandshakeMessageReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NextHandshakeMessageReq.Unmarshal(m, b) -} -func (m *NextHandshakeMessageReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NextHandshakeMessageReq.Marshal(b, m, deterministic) -} -func (m *NextHandshakeMessageReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_NextHandshakeMessageReq.Merge(m, src) -} -func (m *NextHandshakeMessageReq) XXX_Size() int { - return xxx_messageInfo_NextHandshakeMessageReq.Size(m) -} -func (m *NextHandshakeMessageReq) XXX_DiscardUnknown() { - xxx_messageInfo_NextHandshakeMessageReq.DiscardUnknown(m) -} - -var xxx_messageInfo_NextHandshakeMessageReq proto.InternalMessageInfo - -func (m *NextHandshakeMessageReq) GetInBytes() []byte { - if m != nil { - return m.InBytes - } - return nil -} - -type HandshakerReq struct { - // Types that are valid to be assigned to ReqOneof: - // *HandshakerReq_ClientStart - // *HandshakerReq_ServerStart - // *HandshakerReq_Next - ReqOneof isHandshakerReq_ReqOneof `protobuf_oneof:"req_oneof"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *HandshakerReq) Reset() { *m = HandshakerReq{} } -func (m *HandshakerReq) String() string { return proto.CompactTextString(m) } -func (*HandshakerReq) ProtoMessage() {} -func (*HandshakerReq) Descriptor() ([]byte, []int) { - return fileDescriptor_54c074f40c7c7e99, []int{6} -} - -func (m *HandshakerReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HandshakerReq.Unmarshal(m, b) -} -func (m *HandshakerReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HandshakerReq.Marshal(b, m, deterministic) -} -func (m *HandshakerReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_HandshakerReq.Merge(m, src) -} -func (m *HandshakerReq) XXX_Size() int { - return xxx_messageInfo_HandshakerReq.Size(m) -} -func (m *HandshakerReq) XXX_DiscardUnknown() { - xxx_messageInfo_HandshakerReq.DiscardUnknown(m) -} - -var xxx_messageInfo_HandshakerReq proto.InternalMessageInfo - -type isHandshakerReq_ReqOneof interface { - isHandshakerReq_ReqOneof() -} - -type HandshakerReq_ClientStart struct { - ClientStart *StartClientHandshakeReq `protobuf:"bytes,1,opt,name=client_start,json=clientStart,proto3,oneof"` -} - -type HandshakerReq_ServerStart struct { - ServerStart *StartServerHandshakeReq `protobuf:"bytes,2,opt,name=server_start,json=serverStart,proto3,oneof"` -} - -type HandshakerReq_Next struct { - Next *NextHandshakeMessageReq `protobuf:"bytes,3,opt,name=next,proto3,oneof"` -} - -func (*HandshakerReq_ClientStart) isHandshakerReq_ReqOneof() {} - -func (*HandshakerReq_ServerStart) isHandshakerReq_ReqOneof() {} - -func (*HandshakerReq_Next) isHandshakerReq_ReqOneof() {} - -func (m *HandshakerReq) GetReqOneof() isHandshakerReq_ReqOneof { - if m != nil { - return m.ReqOneof - } - return nil -} - -func (m *HandshakerReq) GetClientStart() *StartClientHandshakeReq { - if x, ok := m.GetReqOneof().(*HandshakerReq_ClientStart); ok { - return x.ClientStart - } - return nil -} - -func (m *HandshakerReq) GetServerStart() *StartServerHandshakeReq { - if x, ok := m.GetReqOneof().(*HandshakerReq_ServerStart); ok { - return x.ServerStart - } - return nil -} - -func (m *HandshakerReq) GetNext() *NextHandshakeMessageReq { - if x, ok := m.GetReqOneof().(*HandshakerReq_Next); ok { - return x.Next - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*HandshakerReq) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*HandshakerReq_ClientStart)(nil), - (*HandshakerReq_ServerStart)(nil), - (*HandshakerReq_Next)(nil), - } -} - -type HandshakerResult struct { - // The application protocol negotiated for this connection. - ApplicationProtocol string `protobuf:"bytes,1,opt,name=application_protocol,json=applicationProtocol,proto3" json:"application_protocol,omitempty"` - // The record protocol negotiated for this connection. - RecordProtocol string `protobuf:"bytes,2,opt,name=record_protocol,json=recordProtocol,proto3" json:"record_protocol,omitempty"` - // Cryptographic key data. The key data may be more than the key length - // required for the record protocol, thus the client of the handshaker - // service needs to truncate the key data into the right key length. - KeyData []byte `protobuf:"bytes,3,opt,name=key_data,json=keyData,proto3" json:"key_data,omitempty"` - // The authenticated identity of the peer. - PeerIdentity *Identity `protobuf:"bytes,4,opt,name=peer_identity,json=peerIdentity,proto3" json:"peer_identity,omitempty"` - // The local identity used in the handshake. - LocalIdentity *Identity `protobuf:"bytes,5,opt,name=local_identity,json=localIdentity,proto3" json:"local_identity,omitempty"` - // Indicate whether the handshaker service client should keep the channel - // between the handshaker service open, e.g., in order to handle - // post-handshake messages in the future. - KeepChannelOpen bool `protobuf:"varint,6,opt,name=keep_channel_open,json=keepChannelOpen,proto3" json:"keep_channel_open,omitempty"` - // The RPC protocol versions supported by the peer. - PeerRpcVersions *RpcProtocolVersions `protobuf:"bytes,7,opt,name=peer_rpc_versions,json=peerRpcVersions,proto3" json:"peer_rpc_versions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *HandshakerResult) Reset() { *m = HandshakerResult{} } -func (m *HandshakerResult) String() string { return proto.CompactTextString(m) } -func (*HandshakerResult) ProtoMessage() {} -func (*HandshakerResult) Descriptor() ([]byte, []int) { - return fileDescriptor_54c074f40c7c7e99, []int{7} -} - -func (m *HandshakerResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HandshakerResult.Unmarshal(m, b) -} -func (m *HandshakerResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HandshakerResult.Marshal(b, m, deterministic) -} -func (m *HandshakerResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_HandshakerResult.Merge(m, src) -} -func (m *HandshakerResult) XXX_Size() int { - return xxx_messageInfo_HandshakerResult.Size(m) -} -func (m *HandshakerResult) XXX_DiscardUnknown() { - xxx_messageInfo_HandshakerResult.DiscardUnknown(m) -} - -var xxx_messageInfo_HandshakerResult proto.InternalMessageInfo - -func (m *HandshakerResult) GetApplicationProtocol() string { - if m != nil { - return m.ApplicationProtocol - } - return "" -} - -func (m *HandshakerResult) GetRecordProtocol() string { - if m != nil { - return m.RecordProtocol - } - return "" -} - -func (m *HandshakerResult) GetKeyData() []byte { - if m != nil { - return m.KeyData - } - return nil -} - -func (m *HandshakerResult) GetPeerIdentity() *Identity { - if m != nil { - return m.PeerIdentity - } - return nil -} - -func (m *HandshakerResult) GetLocalIdentity() *Identity { - if m != nil { - return m.LocalIdentity - } - return nil -} - -func (m *HandshakerResult) GetKeepChannelOpen() bool { - if m != nil { - return m.KeepChannelOpen - } - return false -} - -func (m *HandshakerResult) GetPeerRpcVersions() *RpcProtocolVersions { - if m != nil { - return m.PeerRpcVersions - } - return nil -} - -type HandshakerStatus struct { - // The status code. This could be the gRPC status code. - Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` - // The status details. - Details string `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *HandshakerStatus) Reset() { *m = HandshakerStatus{} } -func (m *HandshakerStatus) String() string { return proto.CompactTextString(m) } -func (*HandshakerStatus) ProtoMessage() {} -func (*HandshakerStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_54c074f40c7c7e99, []int{8} -} - -func (m *HandshakerStatus) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HandshakerStatus.Unmarshal(m, b) -} -func (m *HandshakerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HandshakerStatus.Marshal(b, m, deterministic) -} -func (m *HandshakerStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_HandshakerStatus.Merge(m, src) -} -func (m *HandshakerStatus) XXX_Size() int { - return xxx_messageInfo_HandshakerStatus.Size(m) -} -func (m *HandshakerStatus) XXX_DiscardUnknown() { - xxx_messageInfo_HandshakerStatus.DiscardUnknown(m) -} - -var xxx_messageInfo_HandshakerStatus proto.InternalMessageInfo - -func (m *HandshakerStatus) GetCode() uint32 { - if m != nil { - return m.Code - } - return 0 -} - -func (m *HandshakerStatus) GetDetails() string { - if m != nil { - return m.Details - } - return "" -} - -type HandshakerResp struct { - // Frames to be given to the peer for the NextHandshakeMessageReq. May be - // empty if no out_frames have to be sent to the peer or if in_bytes in the - // HandshakerReq are incomplete. All the non-empty out frames must be sent to - // the peer even if the handshaker status is not OK as these frames may - // contain the alert frames. - OutFrames []byte `protobuf:"bytes,1,opt,name=out_frames,json=outFrames,proto3" json:"out_frames,omitempty"` - // Number of bytes in the in_bytes consumed by the handshaker. It is possible - // that part of in_bytes in HandshakerReq was unrelated to the handshake - // process. - BytesConsumed uint32 `protobuf:"varint,2,opt,name=bytes_consumed,json=bytesConsumed,proto3" json:"bytes_consumed,omitempty"` - // This is set iff the handshake was successful. out_frames may still be set - // to frames that needs to be forwarded to the peer. - Result *HandshakerResult `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"` - // Status of the handshaker. - Status *HandshakerStatus `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *HandshakerResp) Reset() { *m = HandshakerResp{} } -func (m *HandshakerResp) String() string { return proto.CompactTextString(m) } -func (*HandshakerResp) ProtoMessage() {} -func (*HandshakerResp) Descriptor() ([]byte, []int) { - return fileDescriptor_54c074f40c7c7e99, []int{9} -} - -func (m *HandshakerResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HandshakerResp.Unmarshal(m, b) -} -func (m *HandshakerResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HandshakerResp.Marshal(b, m, deterministic) -} -func (m *HandshakerResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_HandshakerResp.Merge(m, src) -} -func (m *HandshakerResp) XXX_Size() int { - return xxx_messageInfo_HandshakerResp.Size(m) -} -func (m *HandshakerResp) XXX_DiscardUnknown() { - xxx_messageInfo_HandshakerResp.DiscardUnknown(m) -} - -var xxx_messageInfo_HandshakerResp proto.InternalMessageInfo - -func (m *HandshakerResp) GetOutFrames() []byte { - if m != nil { - return m.OutFrames - } - return nil -} - -func (m *HandshakerResp) GetBytesConsumed() uint32 { - if m != nil { - return m.BytesConsumed - } - return 0 -} - -func (m *HandshakerResp) GetResult() *HandshakerResult { - if m != nil { - return m.Result - } - return nil -} - -func (m *HandshakerResp) GetStatus() *HandshakerStatus { - if m != nil { - return m.Status - } - return nil -} - -func init() { - proto.RegisterEnum("grpc.gcp.HandshakeProtocol", HandshakeProtocol_name, HandshakeProtocol_value) - proto.RegisterEnum("grpc.gcp.NetworkProtocol", NetworkProtocol_name, NetworkProtocol_value) - proto.RegisterType((*Endpoint)(nil), "grpc.gcp.Endpoint") - proto.RegisterType((*Identity)(nil), "grpc.gcp.Identity") - proto.RegisterMapType((map[string]string)(nil), "grpc.gcp.Identity.AttributesEntry") - proto.RegisterType((*StartClientHandshakeReq)(nil), "grpc.gcp.StartClientHandshakeReq") - proto.RegisterType((*ServerHandshakeParameters)(nil), "grpc.gcp.ServerHandshakeParameters") - proto.RegisterType((*StartServerHandshakeReq)(nil), "grpc.gcp.StartServerHandshakeReq") - proto.RegisterMapType((map[int32]*ServerHandshakeParameters)(nil), "grpc.gcp.StartServerHandshakeReq.HandshakeParametersEntry") - proto.RegisterType((*NextHandshakeMessageReq)(nil), "grpc.gcp.NextHandshakeMessageReq") - proto.RegisterType((*HandshakerReq)(nil), "grpc.gcp.HandshakerReq") - proto.RegisterType((*HandshakerResult)(nil), "grpc.gcp.HandshakerResult") - proto.RegisterType((*HandshakerStatus)(nil), "grpc.gcp.HandshakerStatus") - proto.RegisterType((*HandshakerResp)(nil), "grpc.gcp.HandshakerResp") -} - -func init() { proto.RegisterFile("grpc/gcp/handshaker.proto", fileDescriptor_54c074f40c7c7e99) } - -var fileDescriptor_54c074f40c7c7e99 = []byte{ - // 1168 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xdf, 0x6e, 0x1a, 0xc7, - 0x17, 0xf6, 0x02, 0xb6, 0xf1, 0xc1, 0xfc, 0xf1, 0xc4, 0x51, 0xd6, 0x4e, 0xf2, 0xfb, 0x51, 0xaa, - 0xaa, 0x24, 0x17, 0xd0, 0x92, 0x56, 0x69, 0x52, 0x45, 0x09, 0x60, 0x2c, 0xdc, 0xa4, 0x18, 0x2d, - 0x4e, 0x2b, 0x35, 0x17, 0xab, 0xc9, 0x32, 0xc1, 0x2b, 0x96, 0x99, 0xf5, 0xcc, 0xe0, 0x86, 0x07, - 0xe8, 0xe3, 0xf4, 0x15, 0xfa, 0x36, 0x95, 0xfa, 0x00, 0xbd, 0x6f, 0xb5, 0xb3, 0xb3, 0x7f, 0xc0, - 0x10, 0x25, 0xea, 0xdd, 0xee, 0x99, 0xef, 0x3b, 0x7b, 0xe6, 0x3b, 0xdf, 0x9c, 0x1d, 0x38, 0x9a, - 0x70, 0xdf, 0x69, 0x4e, 0x1c, 0xbf, 0x79, 0x89, 0xe9, 0x58, 0x5c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0x64, 0x2f, 0x5e, 0x8d, 0x2a, 0x06, 0xca, - 0x43, 0xae, 0xfd, 0xea, 0x62, 0x54, 0xc9, 0x3c, 0xec, 0x41, 0x79, 0xe5, 0x96, 0x86, 0xaa, 0x70, - 0x6f, 0xd0, 0xbb, 0xf8, 0xf9, 0xdc, 0x7a, 0xf9, 0xa1, 0x3c, 0xdd, 0x61, 0xc5, 0x08, 0x1e, 0x5e, - 0x9f, 0x0c, 0x2b, 0x99, 0xd6, 0x9b, 0x54, 0x49, 0x7c, 0x14, 0xde, 0xd9, 0xd0, 0x29, 0x14, 0x4e, - 0x58, 0x1c, 0x46, 0x77, 0xd6, 0xcb, 0x71, 0x75, 0x6c, 0x6e, 0xd0, 0xc9, 0xaf, 0x6d, 0xd5, 0x8d, - 0xaf, 0x8c, 0xce, 0x14, 0x6e, 0xbb, 0x2c, 0xc4, 0x60, 0x4f, 0x8a, 0x86, 0x4b, 0x25, 0xe1, 0x14, - 0x7b, 0x9d, 0x72, 0x02, 0x57, 0xd5, 0x0f, 0x8d, 0x5f, 0x9e, 0x4f, 0x18, 0x9b, 0x78, 0xa4, 0x31, - 0x61, 0x1e, 0xa6, 0x93, 0x06, 0xe3, 0x93, 0xa6, 0xba, 0x0a, 0x3b, 0x9c, 0x28, 0xe3, 0x62, 0x4f, - 0x34, 0x83, 0x24, 0xcd, 0x28, 0x49, 0x53, 0x9d, 0x3a, 0x05, 0xb2, 0x27, 0x8e, 0xff, 0x76, 0x47, - 0xbd, 0x3f, 0xfa, 0x37, 0x00, 0x00, 0xff, 0xff, 0x6e, 0x37, 0x34, 0x9b, 0x67, 0x0b, 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 - -// HandshakerServiceClient is the client API for HandshakerService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type HandshakerServiceClient interface { - // Handshaker service accepts a stream of handshaker request, returning a - // stream of handshaker response. Client is expected to send exactly one - // message with either client_start or server_start followed by one or more - // messages with next. Each time client sends a request, the handshaker - // service expects to respond. Client does not have to wait for service's - // response before sending next request. - DoHandshake(ctx context.Context, opts ...grpc.CallOption) (HandshakerService_DoHandshakeClient, error) -} - -type handshakerServiceClient struct { - cc *grpc.ClientConn -} - -func NewHandshakerServiceClient(cc *grpc.ClientConn) HandshakerServiceClient { - return &handshakerServiceClient{cc} -} - -func (c *handshakerServiceClient) DoHandshake(ctx context.Context, opts ...grpc.CallOption) (HandshakerService_DoHandshakeClient, error) { - stream, err := c.cc.NewStream(ctx, &_HandshakerService_serviceDesc.Streams[0], "/grpc.gcp.HandshakerService/DoHandshake", opts...) - if err != nil { - return nil, err - } - x := &handshakerServiceDoHandshakeClient{stream} - return x, nil -} - -type HandshakerService_DoHandshakeClient interface { - Send(*HandshakerReq) error - Recv() (*HandshakerResp, error) - grpc.ClientStream -} - -type handshakerServiceDoHandshakeClient struct { - grpc.ClientStream -} - -func (x *handshakerServiceDoHandshakeClient) Send(m *HandshakerReq) error { - return x.ClientStream.SendMsg(m) -} - -func (x *handshakerServiceDoHandshakeClient) Recv() (*HandshakerResp, error) { - m := new(HandshakerResp) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// HandshakerServiceServer is the server API for HandshakerService service. -type HandshakerServiceServer interface { - // Handshaker service accepts a stream of handshaker request, returning a - // stream of handshaker response. Client is expected to send exactly one - // message with either client_start or server_start followed by one or more - // messages with next. Each time client sends a request, the handshaker - // service expects to respond. Client does not have to wait for service's - // response before sending next request. - DoHandshake(HandshakerService_DoHandshakeServer) error -} - -// UnimplementedHandshakerServiceServer can be embedded to have forward compatible implementations. -type UnimplementedHandshakerServiceServer struct { -} - -func (*UnimplementedHandshakerServiceServer) DoHandshake(srv HandshakerService_DoHandshakeServer) error { - return status.Errorf(codes.Unimplemented, "method DoHandshake not implemented") -} - -func RegisterHandshakerServiceServer(s *grpc.Server, srv HandshakerServiceServer) { - s.RegisterService(&_HandshakerService_serviceDesc, srv) -} - -func _HandshakerService_DoHandshake_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(HandshakerServiceServer).DoHandshake(&handshakerServiceDoHandshakeServer{stream}) -} - -type HandshakerService_DoHandshakeServer interface { - Send(*HandshakerResp) error - Recv() (*HandshakerReq, error) - grpc.ServerStream -} - -type handshakerServiceDoHandshakeServer struct { - grpc.ServerStream -} - -func (x *handshakerServiceDoHandshakeServer) Send(m *HandshakerResp) error { - return x.ServerStream.SendMsg(m) -} - -func (x *handshakerServiceDoHandshakeServer) Recv() (*HandshakerReq, error) { - m := new(HandshakerReq) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -var _HandshakerService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "grpc.gcp.HandshakerService", - HandlerType: (*HandshakerServiceServer)(nil), - Methods: []grpc.MethodDesc{}, - Streams: []grpc.StreamDesc{ - { - StreamName: "DoHandshake", - Handler: _HandshakerService_DoHandshake_Handler, - ServerStreams: true, - ClientStreams: true, - }, - }, - Metadata: "grpc/gcp/handshaker.proto", -} diff --git a/vendor/google.golang.org/grpc/credentials/alts/internal/proto/grpc_gcp/transport_security_common.pb.go b/vendor/google.golang.org/grpc/credentials/alts/internal/proto/grpc_gcp/transport_security_common.pb.go deleted file mode 100644 index 99280516..00000000 --- a/vendor/google.golang.org/grpc/credentials/alts/internal/proto/grpc_gcp/transport_security_common.pb.go +++ /dev/null @@ -1,184 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: grpc/gcp/transport_security_common.proto - -package grpc_gcp - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The security level of the created channel. The list is sorted in increasing -// level of security. This order must always be maintained. -type SecurityLevel int32 - -const ( - SecurityLevel_SECURITY_NONE SecurityLevel = 0 - SecurityLevel_INTEGRITY_ONLY SecurityLevel = 1 - SecurityLevel_INTEGRITY_AND_PRIVACY SecurityLevel = 2 -) - -var SecurityLevel_name = map[int32]string{ - 0: "SECURITY_NONE", - 1: "INTEGRITY_ONLY", - 2: "INTEGRITY_AND_PRIVACY", -} - -var SecurityLevel_value = map[string]int32{ - "SECURITY_NONE": 0, - "INTEGRITY_ONLY": 1, - "INTEGRITY_AND_PRIVACY": 2, -} - -func (x SecurityLevel) String() string { - return proto.EnumName(SecurityLevel_name, int32(x)) -} - -func (SecurityLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b97e31e3cc23582a, []int{0} -} - -// Max and min supported RPC protocol versions. -type RpcProtocolVersions struct { - // Maximum supported RPC version. - MaxRpcVersion *RpcProtocolVersions_Version `protobuf:"bytes,1,opt,name=max_rpc_version,json=maxRpcVersion,proto3" json:"max_rpc_version,omitempty"` - // Minimum supported RPC version. - MinRpcVersion *RpcProtocolVersions_Version `protobuf:"bytes,2,opt,name=min_rpc_version,json=minRpcVersion,proto3" json:"min_rpc_version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RpcProtocolVersions) Reset() { *m = RpcProtocolVersions{} } -func (m *RpcProtocolVersions) String() string { return proto.CompactTextString(m) } -func (*RpcProtocolVersions) ProtoMessage() {} -func (*RpcProtocolVersions) Descriptor() ([]byte, []int) { - return fileDescriptor_b97e31e3cc23582a, []int{0} -} - -func (m *RpcProtocolVersions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RpcProtocolVersions.Unmarshal(m, b) -} -func (m *RpcProtocolVersions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RpcProtocolVersions.Marshal(b, m, deterministic) -} -func (m *RpcProtocolVersions) XXX_Merge(src proto.Message) { - xxx_messageInfo_RpcProtocolVersions.Merge(m, src) -} -func (m *RpcProtocolVersions) XXX_Size() int { - return xxx_messageInfo_RpcProtocolVersions.Size(m) -} -func (m *RpcProtocolVersions) XXX_DiscardUnknown() { - xxx_messageInfo_RpcProtocolVersions.DiscardUnknown(m) -} - -var xxx_messageInfo_RpcProtocolVersions proto.InternalMessageInfo - -func (m *RpcProtocolVersions) GetMaxRpcVersion() *RpcProtocolVersions_Version { - if m != nil { - return m.MaxRpcVersion - } - return nil -} - -func (m *RpcProtocolVersions) GetMinRpcVersion() *RpcProtocolVersions_Version { - if m != nil { - return m.MinRpcVersion - } - return nil -} - -// RPC version contains a major version and a minor version. -type RpcProtocolVersions_Version struct { - Major uint32 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"` - Minor uint32 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RpcProtocolVersions_Version) Reset() { *m = RpcProtocolVersions_Version{} } -func (m *RpcProtocolVersions_Version) String() string { return proto.CompactTextString(m) } -func (*RpcProtocolVersions_Version) ProtoMessage() {} -func (*RpcProtocolVersions_Version) Descriptor() ([]byte, []int) { - return fileDescriptor_b97e31e3cc23582a, []int{0, 0} -} - -func (m *RpcProtocolVersions_Version) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RpcProtocolVersions_Version.Unmarshal(m, b) -} -func (m *RpcProtocolVersions_Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RpcProtocolVersions_Version.Marshal(b, m, deterministic) -} -func (m *RpcProtocolVersions_Version) XXX_Merge(src proto.Message) { - xxx_messageInfo_RpcProtocolVersions_Version.Merge(m, src) -} -func (m *RpcProtocolVersions_Version) XXX_Size() int { - return xxx_messageInfo_RpcProtocolVersions_Version.Size(m) -} -func (m *RpcProtocolVersions_Version) XXX_DiscardUnknown() { - xxx_messageInfo_RpcProtocolVersions_Version.DiscardUnknown(m) -} - -var xxx_messageInfo_RpcProtocolVersions_Version proto.InternalMessageInfo - -func (m *RpcProtocolVersions_Version) GetMajor() uint32 { - if m != nil { - return m.Major - } - return 0 -} - -func (m *RpcProtocolVersions_Version) GetMinor() uint32 { - if m != nil { - return m.Minor - } - return 0 -} - -func init() { - proto.RegisterEnum("grpc.gcp.SecurityLevel", SecurityLevel_name, SecurityLevel_value) - proto.RegisterType((*RpcProtocolVersions)(nil), "grpc.gcp.RpcProtocolVersions") - proto.RegisterType((*RpcProtocolVersions_Version)(nil), "grpc.gcp.RpcProtocolVersions.Version") -} - -func init() { - proto.RegisterFile("grpc/gcp/transport_security_common.proto", fileDescriptor_b97e31e3cc23582a) -} - -var fileDescriptor_b97e31e3cc23582a = []byte{ - // 323 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x91, 0x41, 0x4b, 0x3b, 0x31, - 0x10, 0xc5, 0xff, 0x5b, 0xf8, 0xab, 0x44, 0x56, 0xeb, 0x6a, 0x41, 0xc5, 0x83, 0x08, 0x42, 0xf1, - 0x90, 0x05, 0xc5, 0xb3, 0xb4, 0xb5, 0x48, 0xa1, 0x6e, 0xeb, 0xb6, 0x16, 0xea, 0x25, 0xc4, 0x18, - 0x42, 0x24, 0x9b, 0x09, 0xb3, 0xb1, 0xd4, 0xaf, 0xec, 0xa7, 0x90, 0x4d, 0xbb, 0x14, 0xc1, 0x8b, - 0xb7, 0xbc, 0xc7, 0xcc, 0x6f, 0x32, 0xf3, 0x48, 0x5b, 0xa1, 0x13, 0xa9, 0x12, 0x2e, 0xf5, 0xc8, - 0x6d, 0xe9, 0x00, 0x3d, 0x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 0x17, 0x12, 0x08, 0x2b, 0x8e, 0xa3, - 0x97, 0x3b, 0x05, 0xa0, 0x8c, 0xa4, 0x0a, 0x0c, 0xb7, 0x8a, 0x02, 0xaa, 0x34, 0xc4, 0x27, 0x50, - 0xbe, 0x49, 0xeb, 0x35, 0x37, 0x65, 0x5a, 0x11, 0xd3, 0x9a, 0x98, 0x86, 0xe8, 0x42, 0x11, 0x53, - 0xc2, 0xbd, 0x6e, 0x05, 0x7d, 0xf3, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x31, 0x14, 0xb4, 0x11, 0xf6, - 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/grpc/examples/features/proto/echo/echo.pb.go b/vendor/google.golang.org/grpc/examples/features/proto/echo/echo.pb.go deleted file mode 100644 index 4f2b7538..00000000 --- a/vendor/google.golang.org/grpc/examples/features/proto/echo/echo.pb.go +++ /dev/null @@ -1,421 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: echo.proto - -package echo - -import ( - context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// EchoRequest is the request for echo. -type EchoRequest 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 *EchoRequest) Reset() { *m = EchoRequest{} } -func (m *EchoRequest) String() string { return proto.CompactTextString(m) } -func (*EchoRequest) ProtoMessage() {} -func (*EchoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_08134aea513e0001, []int{0} -} - -func (m *EchoRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EchoRequest.Unmarshal(m, b) -} -func (m *EchoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EchoRequest.Marshal(b, m, deterministic) -} -func (m *EchoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_EchoRequest.Merge(m, src) -} -func (m *EchoRequest) XXX_Size() int { - return xxx_messageInfo_EchoRequest.Size(m) -} -func (m *EchoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_EchoRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_EchoRequest proto.InternalMessageInfo - -func (m *EchoRequest) GetMessage() string { - if m != nil { - return m.Message - } - return "" -} - -// EchoResponse is the response for echo. -type EchoResponse 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 *EchoResponse) Reset() { *m = EchoResponse{} } -func (m *EchoResponse) String() string { return proto.CompactTextString(m) } -func (*EchoResponse) ProtoMessage() {} -func (*EchoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_08134aea513e0001, []int{1} -} - -func (m *EchoResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EchoResponse.Unmarshal(m, b) -} -func (m *EchoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EchoResponse.Marshal(b, m, deterministic) -} -func (m *EchoResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_EchoResponse.Merge(m, src) -} -func (m *EchoResponse) XXX_Size() int { - return xxx_messageInfo_EchoResponse.Size(m) -} -func (m *EchoResponse) XXX_DiscardUnknown() { - xxx_messageInfo_EchoResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_EchoResponse proto.InternalMessageInfo - -func (m *EchoResponse) GetMessage() string { - if m != nil { - return m.Message - } - return "" -} - -func init() { - proto.RegisterType((*EchoRequest)(nil), "grpc.examples.echo.EchoRequest") - proto.RegisterType((*EchoResponse)(nil), "grpc.examples.echo.EchoResponse") -} - -func init() { proto.RegisterFile("echo.proto", fileDescriptor_08134aea513e0001) } - -var fileDescriptor_08134aea513e0001 = []byte{ - // 234 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x92, 0xb1, 0x4b, 0x03, 0x31, - 0x14, 0x87, 0x3d, 0x11, 0xa5, 0x4f, 0xa7, 0xb8, 0x94, 0x2e, 0x96, 0x5b, 0xbc, 0x29, 0x29, 0x16, - 0xff, 0x81, 0x8a, 0xbb, 0xb4, 0xb8, 0x88, 0x4b, 0x3c, 0x7f, 0xa6, 0x81, 0x5c, 0xde, 0xf9, 0x92, - 0x8a, 0xfe, 0xed, 0x2e, 0x92, 0x2b, 0x05, 0x41, 0xba, 0xd5, 0x2d, 0x8f, 0x7c, 0xef, 0xfb, 0x96, - 0x47, 0x84, 0x76, 0xcd, 0xba, 0x17, 0xce, 0xac, 0x94, 0x93, 0xbe, 0xd5, 0xf8, 0xb4, 0x5d, 0x1f, - 0x90, 0x74, 0xf9, 0xa9, 0xaf, 0xe9, 0xfc, 0xbe, 0x5d, 0xf3, 0x12, 0xef, 0x1b, 0xa4, 0xac, 0xc6, - 0x74, 0xd6, 0x21, 0x25, 0xeb, 0x30, 0xae, 0xa6, 0x55, 0x33, 0x5a, 0xee, 0xc6, 0xba, 0xa1, 0x8b, - 0x2d, 0x98, 0x7a, 0x8e, 0x09, 0xfb, 0xc9, 0x9b, 0xef, 0x63, 0x3a, 0x29, 0xa8, 0x7a, 0xa0, 0xd1, - 0x63, 0xb4, 0xf2, 0x35, 0x0c, 0x57, 0xfa, 0x6f, 0x5d, 0xff, 0x4a, 0x4f, 0xa6, 0xfb, 0x81, 0x6d, - 0xb2, 0x3e, 0x52, 0xcf, 0x74, 0xb9, 0x82, 0x7c, 0x40, 0x56, 0x59, 0x60, 0x3b, 0x1f, 0xdd, 0xc1, - 0xdc, 0xb3, 0xaa, 0xd8, 0xef, 0x82, 0x47, 0xcc, 0x87, 0xb7, 0x37, 0x95, 0x02, 0x4d, 0x16, 0xfe, - 0xd5, 0x0b, 0xda, 0xec, 0x39, 0xda, 0xf0, 0x1f, 0x91, 0x59, 0xb5, 0xb8, 0x7d, 0x9a, 0x3b, 0x66, - 0x17, 0xa0, 0x1d, 0x07, 0x1b, 0x9d, 0x66, 0x71, 0xa6, 0xac, 0x9a, 0xdd, 0xaa, 0x79, 0x83, 0xcd, - 0x1b, 0x41, 0x32, 0xc3, 0x59, 0x98, 0x62, 0x7a, 0x39, 0x1d, 0xde, 0xf3, 0x9f, 0x00, 0x00, 0x00, - 0xff, 0xff, 0x23, 0x14, 0x26, 0x96, 0x30, 0x02, 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 - -// EchoClient is the client API for Echo service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type EchoClient interface { - // UnaryEcho is unary echo. - UnaryEcho(ctx context.Context, in *EchoRequest, opts ...grpc.CallOption) (*EchoResponse, error) - // ServerStreamingEcho is server side streaming. - ServerStreamingEcho(ctx context.Context, in *EchoRequest, opts ...grpc.CallOption) (Echo_ServerStreamingEchoClient, error) - // ClientStreamingEcho is client side streaming. - ClientStreamingEcho(ctx context.Context, opts ...grpc.CallOption) (Echo_ClientStreamingEchoClient, error) - // BidirectionalStreamingEcho is bidi streaming. - BidirectionalStreamingEcho(ctx context.Context, opts ...grpc.CallOption) (Echo_BidirectionalStreamingEchoClient, error) -} - -type echoClient struct { - cc *grpc.ClientConn -} - -func NewEchoClient(cc *grpc.ClientConn) EchoClient { - return &echoClient{cc} -} - -func (c *echoClient) UnaryEcho(ctx context.Context, in *EchoRequest, opts ...grpc.CallOption) (*EchoResponse, error) { - out := new(EchoResponse) - err := c.cc.Invoke(ctx, "/grpc.examples.echo.Echo/UnaryEcho", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *echoClient) ServerStreamingEcho(ctx context.Context, in *EchoRequest, opts ...grpc.CallOption) (Echo_ServerStreamingEchoClient, error) { - stream, err := c.cc.NewStream(ctx, &_Echo_serviceDesc.Streams[0], "/grpc.examples.echo.Echo/ServerStreamingEcho", opts...) - if err != nil { - return nil, err - } - x := &echoServerStreamingEchoClient{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 Echo_ServerStreamingEchoClient interface { - Recv() (*EchoResponse, error) - grpc.ClientStream -} - -type echoServerStreamingEchoClient struct { - grpc.ClientStream -} - -func (x *echoServerStreamingEchoClient) Recv() (*EchoResponse, error) { - m := new(EchoResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *echoClient) ClientStreamingEcho(ctx context.Context, opts ...grpc.CallOption) (Echo_ClientStreamingEchoClient, error) { - stream, err := c.cc.NewStream(ctx, &_Echo_serviceDesc.Streams[1], "/grpc.examples.echo.Echo/ClientStreamingEcho", opts...) - if err != nil { - return nil, err - } - x := &echoClientStreamingEchoClient{stream} - return x, nil -} - -type Echo_ClientStreamingEchoClient interface { - Send(*EchoRequest) error - CloseAndRecv() (*EchoResponse, error) - grpc.ClientStream -} - -type echoClientStreamingEchoClient struct { - grpc.ClientStream -} - -func (x *echoClientStreamingEchoClient) Send(m *EchoRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *echoClientStreamingEchoClient) CloseAndRecv() (*EchoResponse, error) { - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - m := new(EchoResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *echoClient) BidirectionalStreamingEcho(ctx context.Context, opts ...grpc.CallOption) (Echo_BidirectionalStreamingEchoClient, error) { - stream, err := c.cc.NewStream(ctx, &_Echo_serviceDesc.Streams[2], "/grpc.examples.echo.Echo/BidirectionalStreamingEcho", opts...) - if err != nil { - return nil, err - } - x := &echoBidirectionalStreamingEchoClient{stream} - return x, nil -} - -type Echo_BidirectionalStreamingEchoClient interface { - Send(*EchoRequest) error - Recv() (*EchoResponse, error) - grpc.ClientStream -} - -type echoBidirectionalStreamingEchoClient struct { - grpc.ClientStream -} - -func (x *echoBidirectionalStreamingEchoClient) Send(m *EchoRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *echoBidirectionalStreamingEchoClient) Recv() (*EchoResponse, error) { - m := new(EchoResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// EchoServer is the server API for Echo service. -type EchoServer interface { - // UnaryEcho is unary echo. - UnaryEcho(context.Context, *EchoRequest) (*EchoResponse, error) - // ServerStreamingEcho is server side streaming. - ServerStreamingEcho(*EchoRequest, Echo_ServerStreamingEchoServer) error - // ClientStreamingEcho is client side streaming. - ClientStreamingEcho(Echo_ClientStreamingEchoServer) error - // BidirectionalStreamingEcho is bidi streaming. - BidirectionalStreamingEcho(Echo_BidirectionalStreamingEchoServer) error -} - -// UnimplementedEchoServer can be embedded to have forward compatible implementations. -type UnimplementedEchoServer struct { -} - -func (*UnimplementedEchoServer) UnaryEcho(ctx context.Context, req *EchoRequest) (*EchoResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UnaryEcho not implemented") -} -func (*UnimplementedEchoServer) ServerStreamingEcho(req *EchoRequest, srv Echo_ServerStreamingEchoServer) error { - return status.Errorf(codes.Unimplemented, "method ServerStreamingEcho not implemented") -} -func (*UnimplementedEchoServer) ClientStreamingEcho(srv Echo_ClientStreamingEchoServer) error { - return status.Errorf(codes.Unimplemented, "method ClientStreamingEcho not implemented") -} -func (*UnimplementedEchoServer) BidirectionalStreamingEcho(srv Echo_BidirectionalStreamingEchoServer) error { - return status.Errorf(codes.Unimplemented, "method BidirectionalStreamingEcho not implemented") -} - -func RegisterEchoServer(s *grpc.Server, srv EchoServer) { - s.RegisterService(&_Echo_serviceDesc, srv) -} - -func _Echo_UnaryEcho_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EchoRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EchoServer).UnaryEcho(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.examples.echo.Echo/UnaryEcho", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EchoServer).UnaryEcho(ctx, req.(*EchoRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Echo_ServerStreamingEcho_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(EchoRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(EchoServer).ServerStreamingEcho(m, &echoServerStreamingEchoServer{stream}) -} - -type Echo_ServerStreamingEchoServer interface { - Send(*EchoResponse) error - grpc.ServerStream -} - -type echoServerStreamingEchoServer struct { - grpc.ServerStream -} - -func (x *echoServerStreamingEchoServer) Send(m *EchoResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _Echo_ClientStreamingEcho_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(EchoServer).ClientStreamingEcho(&echoClientStreamingEchoServer{stream}) -} - -type Echo_ClientStreamingEchoServer interface { - SendAndClose(*EchoResponse) error - Recv() (*EchoRequest, error) - grpc.ServerStream -} - -type echoClientStreamingEchoServer struct { - grpc.ServerStream -} - -func (x *echoClientStreamingEchoServer) SendAndClose(m *EchoResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *echoClientStreamingEchoServer) Recv() (*EchoRequest, error) { - m := new(EchoRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _Echo_BidirectionalStreamingEcho_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(EchoServer).BidirectionalStreamingEcho(&echoBidirectionalStreamingEchoServer{stream}) -} - -type Echo_BidirectionalStreamingEchoServer interface { - Send(*EchoResponse) error - Recv() (*EchoRequest, error) - grpc.ServerStream -} - -type echoBidirectionalStreamingEchoServer struct { - grpc.ServerStream -} - -func (x *echoBidirectionalStreamingEchoServer) Send(m *EchoResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *echoBidirectionalStreamingEchoServer) Recv() (*EchoRequest, error) { - m := new(EchoRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -var _Echo_serviceDesc = grpc.ServiceDesc{ - ServiceName: "grpc.examples.echo.Echo", - HandlerType: (*EchoServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "UnaryEcho", - Handler: _Echo_UnaryEcho_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "ServerStreamingEcho", - Handler: _Echo_ServerStreamingEcho_Handler, - ServerStreams: true, - }, - { - StreamName: "ClientStreamingEcho", - Handler: _Echo_ClientStreamingEcho_Handler, - ClientStreams: true, - }, - { - StreamName: "BidirectionalStreamingEcho", - Handler: _Echo_BidirectionalStreamingEcho_Handler, - ServerStreams: true, - ClientStreams: true, - }, - }, - Metadata: "echo.proto", -} diff --git a/vendor/google.golang.org/grpc/examples/helloworld/helloworld/helloworld.pb.go b/vendor/google.golang.org/grpc/examples/helloworld/helloworld/helloworld.pb.go deleted file mode 100644 index 0a823946..00000000 --- a/vendor/google.golang.org/grpc/examples/helloworld/helloworld/helloworld.pb.go +++ /dev/null @@ -1,209 +0,0 @@ -// 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" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The request message containing the user's name. -type HelloRequest struct { - 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 *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 "" -} - -// The response message containing the greetings -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{ - // 175 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0xc8, 0x48, 0xcd, 0xc9, - 0xc9, 0x2f, 0xcf, 0x2f, 0xca, 0x49, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x42, 0x88, - 0x28, 0x29, 0x71, 0xf1, 0x78, 0x80, 0x78, 0x41, 0xa9, 0x85, 0xa5, 0xa9, 0xc5, 0x25, 0x42, 0x42, - 0x5c, 0x2c, 0x79, 0x89, 0xb9, 0xa9, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0x9c, 0x41, 0x60, 0xb6, 0x92, - 0x1a, 0x17, 0x17, 0x54, 0x4d, 0x41, 0x4e, 0xa5, 0x90, 0x04, 0x17, 0x7b, 0x6e, 0x6a, 0x71, 0x71, - 0x62, 0x3a, 0x4c, 0x11, 0x8c, 0x6b, 0xe4, 0xc9, 0xc5, 0xee, 0x5e, 0x94, 0x9a, 0x5a, 0x92, 0x5a, - 0x24, 0x64, 0xc7, 0xc5, 0x11, 0x9c, 0x58, 0x09, 0xd6, 0x25, 0x24, 0xa1, 0x87, 0xe4, 0x02, 0x64, - 0xcb, 0xa4, 0xc4, 0xb0, 0xc8, 0x14, 0xe4, 0x54, 0x2a, 0x31, 0x38, 0x19, 0x70, 0x49, 0x67, 0xe6, - 0xeb, 0xa5, 0x17, 0x15, 0x24, 0xeb, 0xa5, 0x56, 0x24, 0xe6, 0x16, 0xe4, 0xa4, 0x16, 0x23, 0xa9, - 0x75, 0xe2, 0x07, 0x2b, 0x0e, 0x07, 0xb1, 0x03, 0x40, 0x5e, 0x0a, 0x60, 0x4c, 0x62, 0x03, 0xfb, - 0xcd, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0x0f, 0xb7, 0xcd, 0xf2, 0xef, 0x00, 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 { - // Sends a greeting - 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 { - // Sends a greeting - SayHello(context.Context, *HelloRequest) (*HelloReply, error) -} - -// UnimplementedGreeterServer can be embedded to have forward compatible implementations. -type UnimplementedGreeterServer struct { -} - -func (*UnimplementedGreeterServer) SayHello(ctx context.Context, req *HelloRequest) (*HelloReply, error) { - return nil, status.Errorf(codes.Unimplemented, "method SayHello not implemented") -} - -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/google.golang.org/grpc/examples/route_guide/routeguide/route_guide.pb.go b/vendor/google.golang.org/grpc/examples/route_guide/routeguide/route_guide.pb.go deleted file mode 100644 index 0031144e..00000000 --- a/vendor/google.golang.org/grpc/examples/route_guide/routeguide/route_guide.pb.go +++ /dev/null @@ -1,663 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: route_guide.proto - -package routeguide - -import ( - context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Points are represented as latitude-longitude pairs in the E7 representation -// (degrees multiplied by 10**7 and rounded to the nearest integer). -// Latitudes should be in the range +/- 90 degrees and longitude should be in -// the range +/- 180 degrees (inclusive). -type Point struct { - Latitude int32 `protobuf:"varint,1,opt,name=latitude,proto3" json:"latitude,omitempty"` - Longitude int32 `protobuf:"varint,2,opt,name=longitude,proto3" json:"longitude,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b7d679f20da65b7b, []int{0} -} - -func (m *Point) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Point.Unmarshal(m, b) -} -func (m *Point) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Point.Marshal(b, m, deterministic) -} -func (m *Point) XXX_Merge(src proto.Message) { - xxx_messageInfo_Point.Merge(m, src) -} -func (m *Point) XXX_Size() int { - return xxx_messageInfo_Point.Size(m) -} -func (m *Point) XXX_DiscardUnknown() { - xxx_messageInfo_Point.DiscardUnknown(m) -} - -var xxx_messageInfo_Point proto.InternalMessageInfo - -func (m *Point) GetLatitude() int32 { - if m != nil { - return m.Latitude - } - return 0 -} - -func (m *Point) GetLongitude() int32 { - if m != nil { - return m.Longitude - } - return 0 -} - -// A latitude-longitude rectangle, represented as two diagonally opposite -// points "lo" and "hi". -type Rectangle struct { - // One corner of the rectangle. - Lo *Point `protobuf:"bytes,1,opt,name=lo,proto3" json:"lo,omitempty"` - // The other corner of the rectangle. - Hi *Point `protobuf:"bytes,2,opt,name=hi,proto3" json:"hi,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Rectangle) Reset() { *m = Rectangle{} } -func (m *Rectangle) String() string { return proto.CompactTextString(m) } -func (*Rectangle) ProtoMessage() {} -func (*Rectangle) Descriptor() ([]byte, []int) { - return fileDescriptor_b7d679f20da65b7b, []int{1} -} - -func (m *Rectangle) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Rectangle.Unmarshal(m, b) -} -func (m *Rectangle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Rectangle.Marshal(b, m, deterministic) -} -func (m *Rectangle) XXX_Merge(src proto.Message) { - xxx_messageInfo_Rectangle.Merge(m, src) -} -func (m *Rectangle) XXX_Size() int { - return xxx_messageInfo_Rectangle.Size(m) -} -func (m *Rectangle) XXX_DiscardUnknown() { - xxx_messageInfo_Rectangle.DiscardUnknown(m) -} - -var xxx_messageInfo_Rectangle proto.InternalMessageInfo - -func (m *Rectangle) GetLo() *Point { - if m != nil { - return m.Lo - } - return nil -} - -func (m *Rectangle) GetHi() *Point { - if m != nil { - return m.Hi - } - return nil -} - -// A feature names something at a given point. -// -// If a feature could not be named, the name is empty. -type Feature struct { - // The name of the feature. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // The point where the feature is detected. - Location *Point `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b7d679f20da65b7b, []int{2} -} - -func (m *Feature) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Feature.Unmarshal(m, b) -} -func (m *Feature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Feature.Marshal(b, m, deterministic) -} -func (m *Feature) XXX_Merge(src proto.Message) { - xxx_messageInfo_Feature.Merge(m, src) -} -func (m *Feature) XXX_Size() int { - return xxx_messageInfo_Feature.Size(m) -} -func (m *Feature) XXX_DiscardUnknown() { - xxx_messageInfo_Feature.DiscardUnknown(m) -} - -var xxx_messageInfo_Feature proto.InternalMessageInfo - -func (m *Feature) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Feature) GetLocation() *Point { - if m != nil { - return m.Location - } - return nil -} - -// A RouteNote is a message sent while at a given point. -type RouteNote struct { - // The location from which the message is sent. - Location *Point `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` - // The message to be sent. - 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 *RouteNote) Reset() { *m = RouteNote{} } -func (m *RouteNote) String() string { return proto.CompactTextString(m) } -func (*RouteNote) ProtoMessage() {} -func (*RouteNote) Descriptor() ([]byte, []int) { - return fileDescriptor_b7d679f20da65b7b, []int{3} -} - -func (m *RouteNote) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RouteNote.Unmarshal(m, b) -} -func (m *RouteNote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RouteNote.Marshal(b, m, deterministic) -} -func (m *RouteNote) XXX_Merge(src proto.Message) { - xxx_messageInfo_RouteNote.Merge(m, src) -} -func (m *RouteNote) XXX_Size() int { - return xxx_messageInfo_RouteNote.Size(m) -} -func (m *RouteNote) XXX_DiscardUnknown() { - xxx_messageInfo_RouteNote.DiscardUnknown(m) -} - -var xxx_messageInfo_RouteNote proto.InternalMessageInfo - -func (m *RouteNote) GetLocation() *Point { - if m != nil { - return m.Location - } - return nil -} - -func (m *RouteNote) GetMessage() string { - if m != nil { - return m.Message - } - return "" -} - -// A RouteSummary is received in response to a RecordRoute rpc. -// -// It contains the number of individual points received, the number of -// detected features, and the total distance covered as the cumulative sum of -// the distance between each point. -type RouteSummary struct { - // The number of points received. - PointCount int32 `protobuf:"varint,1,opt,name=point_count,json=pointCount,proto3" json:"point_count,omitempty"` - // The number of known features passed while traversing the route. - FeatureCount int32 `protobuf:"varint,2,opt,name=feature_count,json=featureCount,proto3" json:"feature_count,omitempty"` - // The distance covered in metres. - Distance int32 `protobuf:"varint,3,opt,name=distance,proto3" json:"distance,omitempty"` - // The duration of the traversal in seconds. - ElapsedTime int32 `protobuf:"varint,4,opt,name=elapsed_time,json=elapsedTime,proto3" json:"elapsed_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RouteSummary) Reset() { *m = RouteSummary{} } -func (m *RouteSummary) String() string { return proto.CompactTextString(m) } -func (*RouteSummary) ProtoMessage() {} -func (*RouteSummary) Descriptor() ([]byte, []int) { - return fileDescriptor_b7d679f20da65b7b, []int{4} -} - -func (m *RouteSummary) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RouteSummary.Unmarshal(m, b) -} -func (m *RouteSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RouteSummary.Marshal(b, m, deterministic) -} -func (m *RouteSummary) XXX_Merge(src proto.Message) { - xxx_messageInfo_RouteSummary.Merge(m, src) -} -func (m *RouteSummary) XXX_Size() int { - return xxx_messageInfo_RouteSummary.Size(m) -} -func (m *RouteSummary) XXX_DiscardUnknown() { - xxx_messageInfo_RouteSummary.DiscardUnknown(m) -} - -var xxx_messageInfo_RouteSummary proto.InternalMessageInfo - -func (m *RouteSummary) GetPointCount() int32 { - if m != nil { - return m.PointCount - } - return 0 -} - -func (m *RouteSummary) GetFeatureCount() int32 { - if m != nil { - return m.FeatureCount - } - return 0 -} - -func (m *RouteSummary) GetDistance() int32 { - if m != nil { - return m.Distance - } - return 0 -} - -func (m *RouteSummary) GetElapsedTime() int32 { - if m != nil { - return m.ElapsedTime - } - return 0 -} - -func init() { - proto.RegisterType((*Point)(nil), "routeguide.Point") - proto.RegisterType((*Rectangle)(nil), "routeguide.Rectangle") - proto.RegisterType((*Feature)(nil), "routeguide.Feature") - proto.RegisterType((*RouteNote)(nil), "routeguide.RouteNote") - proto.RegisterType((*RouteSummary)(nil), "routeguide.RouteSummary") -} - -func init() { proto.RegisterFile("route_guide.proto", fileDescriptor_b7d679f20da65b7b) } - -var fileDescriptor_b7d679f20da65b7b = []byte{ - // 404 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x53, 0xdd, 0xca, 0xd3, 0x40, - 0x10, 0xfd, 0x36, 0x7e, 0x9f, 0x6d, 0x26, 0x11, 0xe9, 0x88, 0x10, 0xa2, 0xa0, 0x8d, 0x37, 0xbd, - 0x31, 0x94, 0x0a, 0x5e, 0x56, 0x6c, 0xc1, 0xde, 0x14, 0xa9, 0xb1, 0xf7, 0x65, 0x4d, 0xc6, 0x74, - 0x61, 0x93, 0x0d, 0xc9, 0x06, 0xf4, 0x01, 0x7c, 0x02, 0x5f, 0x58, 0xb2, 0x49, 0xda, 0x54, 0x5b, - 0xbc, 0xdb, 0x39, 0x73, 0xce, 0xfc, 0x9c, 0x61, 0x61, 0x52, 0xaa, 0x5a, 0xd3, 0x21, 0xad, 0x45, - 0x42, 0x61, 0x51, 0x2a, 0xad, 0x10, 0x0c, 0x64, 0x90, 0xe0, 0x23, 0x3c, 0xec, 0x94, 0xc8, 0x35, - 0xfa, 0x30, 0x96, 0x5c, 0x0b, 0x5d, 0x27, 0xe4, 0xb1, 0xd7, 0x6c, 0xf6, 0x10, 0x9d, 0x62, 0x7c, - 0x09, 0xb6, 0x54, 0x79, 0xda, 0x26, 0x2d, 0x93, 0x3c, 0x03, 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c1, 0x1d, 0x2e, 0xc1, 0xdd, 0x8a, 0xaa, 0x17, 0x56, 0xf8, 0x7c, 0x48, 0x3b, 0x5d, 0xfb, - 0x86, 0x7a, 0xce, 0x70, 0x09, 0x4e, 0x44, 0xb1, 0x2a, 0x13, 0x33, 0xcb, 0xb5, 0xc6, 0xde, 0x45, - 0xc5, 0x81, 0x8f, 0xc1, 0xdd, 0x8c, 0xe1, 0x87, 0xee, 0x64, 0xeb, 0x23, 0xd7, 0x7f, 0x35, 0xef, - 0x2f, 0xe9, 0x5f, 0x87, 0x1b, 0xf9, 0x9c, 0xad, 0xe6, 0xf0, 0x42, 0xa8, 0x30, 0x2d, 0x8b, 0x38, - 0xa4, 0x1f, 0x3c, 0x2b, 0x24, 0x55, 0x03, 0xfa, 0xea, 0xe9, 0xd9, 0xa3, 0x5d, 0xf3, 0x27, 0x76, - 0xec, 0xdb, 0x63, 0xf3, 0x39, 0xde, 0xfd, 0x09, 0x00, 0x00, 0xff, 0xff, 0xc8, 0xe4, 0xef, 0xe6, - 0x31, 0x03, 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 - -// RouteGuideClient is the client API for RouteGuide service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RouteGuideClient interface { - // A simple RPC. - // - // Obtains the feature at a given position. - // - // A feature with an empty name is returned if there's no feature at the given - // position. - GetFeature(ctx context.Context, in *Point, opts ...grpc.CallOption) (*Feature, error) - // A server-to-client streaming RPC. - // - // Obtains the Features available within the given Rectangle. Results are - // streamed rather than returned at once (e.g. in a response message with a - // repeated field), as the rectangle may cover a large area and contain a - // huge number of features. - ListFeatures(ctx context.Context, in *Rectangle, opts ...grpc.CallOption) (RouteGuide_ListFeaturesClient, error) - // A client-to-server streaming RPC. - // - // Accepts a stream of Points on a route being traversed, returning a - // RouteSummary when traversal is completed. - RecordRoute(ctx context.Context, opts ...grpc.CallOption) (RouteGuide_RecordRouteClient, error) - // A Bidirectional streaming RPC. - // - // Accepts a stream of RouteNotes sent while a route is being traversed, - // while receiving other RouteNotes (e.g. from other users). - RouteChat(ctx context.Context, opts ...grpc.CallOption) (RouteGuide_RouteChatClient, error) -} - -type routeGuideClient struct { - cc *grpc.ClientConn -} - -func NewRouteGuideClient(cc *grpc.ClientConn) RouteGuideClient { - return &routeGuideClient{cc} -} - -func (c *routeGuideClient) GetFeature(ctx context.Context, in *Point, opts ...grpc.CallOption) (*Feature, error) { - out := new(Feature) - err := c.cc.Invoke(ctx, "/routeguide.RouteGuide/GetFeature", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *routeGuideClient) ListFeatures(ctx context.Context, in *Rectangle, opts ...grpc.CallOption) (RouteGuide_ListFeaturesClient, error) { - stream, err := c.cc.NewStream(ctx, &_RouteGuide_serviceDesc.Streams[0], "/routeguide.RouteGuide/ListFeatures", opts...) - if err != nil { - return nil, err - } - x := &routeGuideListFeaturesClient{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 RouteGuide_ListFeaturesClient interface { - Recv() (*Feature, error) - grpc.ClientStream -} - -type routeGuideListFeaturesClient struct { - grpc.ClientStream -} - -func (x *routeGuideListFeaturesClient) Recv() (*Feature, error) { - m := new(Feature) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *routeGuideClient) RecordRoute(ctx context.Context, opts ...grpc.CallOption) (RouteGuide_RecordRouteClient, error) { - stream, err := c.cc.NewStream(ctx, &_RouteGuide_serviceDesc.Streams[1], "/routeguide.RouteGuide/RecordRoute", opts...) - if err != nil { - return nil, err - } - x := &routeGuideRecordRouteClient{stream} - return x, nil -} - -type RouteGuide_RecordRouteClient interface { - Send(*Point) error - CloseAndRecv() (*RouteSummary, error) - grpc.ClientStream -} - -type routeGuideRecordRouteClient struct { - grpc.ClientStream -} - -func (x *routeGuideRecordRouteClient) Send(m *Point) error { - return x.ClientStream.SendMsg(m) -} - -func (x *routeGuideRecordRouteClient) CloseAndRecv() (*RouteSummary, error) { - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - m := new(RouteSummary) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *routeGuideClient) RouteChat(ctx context.Context, opts ...grpc.CallOption) (RouteGuide_RouteChatClient, error) { - stream, err := c.cc.NewStream(ctx, &_RouteGuide_serviceDesc.Streams[2], "/routeguide.RouteGuide/RouteChat", opts...) - if err != nil { - return nil, err - } - x := &routeGuideRouteChatClient{stream} - return x, nil -} - -type RouteGuide_RouteChatClient interface { - Send(*RouteNote) error - Recv() (*RouteNote, error) - grpc.ClientStream -} - -type routeGuideRouteChatClient struct { - grpc.ClientStream -} - -func (x *routeGuideRouteChatClient) Send(m *RouteNote) error { - return x.ClientStream.SendMsg(m) -} - -func (x *routeGuideRouteChatClient) Recv() (*RouteNote, error) { - m := new(RouteNote) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// RouteGuideServer is the server API for RouteGuide service. -type RouteGuideServer interface { - // A simple RPC. - // - // Obtains the feature at a given position. - // - // A feature with an empty name is returned if there's no feature at the given - // position. - GetFeature(context.Context, *Point) (*Feature, error) - // A server-to-client streaming RPC. - // - // Obtains the Features available within the given Rectangle. Results are - // streamed rather than returned at once (e.g. in a response message with a - // repeated field), as the rectangle may cover a large area and contain a - // huge number of features. - ListFeatures(*Rectangle, RouteGuide_ListFeaturesServer) error - // A client-to-server streaming RPC. - // - // Accepts a stream of Points on a route being traversed, returning a - // RouteSummary when traversal is completed. - RecordRoute(RouteGuide_RecordRouteServer) error - // A Bidirectional streaming RPC. - // - // Accepts a stream of RouteNotes sent while a route is being traversed, - // while receiving other RouteNotes (e.g. from other users). - RouteChat(RouteGuide_RouteChatServer) error -} - -// UnimplementedRouteGuideServer can be embedded to have forward compatible implementations. -type UnimplementedRouteGuideServer struct { -} - -func (*UnimplementedRouteGuideServer) GetFeature(ctx context.Context, req *Point) (*Feature, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetFeature not implemented") -} -func (*UnimplementedRouteGuideServer) ListFeatures(req *Rectangle, srv RouteGuide_ListFeaturesServer) error { - return status.Errorf(codes.Unimplemented, "method ListFeatures not implemented") -} -func (*UnimplementedRouteGuideServer) RecordRoute(srv RouteGuide_RecordRouteServer) error { - return status.Errorf(codes.Unimplemented, "method RecordRoute not implemented") -} -func (*UnimplementedRouteGuideServer) RouteChat(srv RouteGuide_RouteChatServer) error { - return status.Errorf(codes.Unimplemented, "method RouteChat not implemented") -} - -func RegisterRouteGuideServer(s *grpc.Server, srv RouteGuideServer) { - s.RegisterService(&_RouteGuide_serviceDesc, srv) -} - -func _RouteGuide_GetFeature_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Point) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RouteGuideServer).GetFeature(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/routeguide.RouteGuide/GetFeature", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RouteGuideServer).GetFeature(ctx, req.(*Point)) - } - return interceptor(ctx, in, info, handler) -} - -func _RouteGuide_ListFeatures_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(Rectangle) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(RouteGuideServer).ListFeatures(m, &routeGuideListFeaturesServer{stream}) -} - -type RouteGuide_ListFeaturesServer interface { - Send(*Feature) error - grpc.ServerStream -} - -type routeGuideListFeaturesServer struct { - grpc.ServerStream -} - -func (x *routeGuideListFeaturesServer) Send(m *Feature) error { - return x.ServerStream.SendMsg(m) -} - -func _RouteGuide_RecordRoute_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(RouteGuideServer).RecordRoute(&routeGuideRecordRouteServer{stream}) -} - -type RouteGuide_RecordRouteServer interface { - SendAndClose(*RouteSummary) error - Recv() (*Point, error) - grpc.ServerStream -} - -type routeGuideRecordRouteServer struct { - grpc.ServerStream -} - -func (x *routeGuideRecordRouteServer) SendAndClose(m *RouteSummary) error { - return x.ServerStream.SendMsg(m) -} - -func (x *routeGuideRecordRouteServer) Recv() (*Point, error) { - m := new(Point) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _RouteGuide_RouteChat_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(RouteGuideServer).RouteChat(&routeGuideRouteChatServer{stream}) -} - -type RouteGuide_RouteChatServer interface { - Send(*RouteNote) error - Recv() (*RouteNote, error) - grpc.ServerStream -} - -type routeGuideRouteChatServer struct { - grpc.ServerStream -} - -func (x *routeGuideRouteChatServer) Send(m *RouteNote) error { - return x.ServerStream.SendMsg(m) -} - -func (x *routeGuideRouteChatServer) Recv() (*RouteNote, error) { - m := new(RouteNote) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -var _RouteGuide_serviceDesc = grpc.ServiceDesc{ - ServiceName: "routeguide.RouteGuide", - HandlerType: (*RouteGuideServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetFeature", - Handler: _RouteGuide_GetFeature_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "ListFeatures", - Handler: _RouteGuide_ListFeatures_Handler, - ServerStreams: true, - }, - { - StreamName: "RecordRoute", - Handler: _RouteGuide_RecordRoute_Handler, - ClientStreams: true, - }, - { - StreamName: "RouteChat", - Handler: _RouteGuide_RouteChat_Handler, - ServerStreams: true, - ClientStreams: true, - }, - }, - Metadata: "route_guide.proto", -} diff --git a/vendor/google.golang.org/grpc/health/grpc_health_v1/health.pb.go b/vendor/google.golang.org/grpc/health/grpc_health_v1/health.pb.go deleted file mode 100644 index c99e27ae..00000000 --- a/vendor/google.golang.org/grpc/health/grpc_health_v1/health.pb.go +++ /dev/null @@ -1,343 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: grpc/health/v1/health.proto - -package grpc_health_v1 - -import ( - context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type HealthCheckResponse_ServingStatus int32 - -const ( - HealthCheckResponse_UNKNOWN HealthCheckResponse_ServingStatus = 0 - HealthCheckResponse_SERVING HealthCheckResponse_ServingStatus = 1 - HealthCheckResponse_NOT_SERVING HealthCheckResponse_ServingStatus = 2 - HealthCheckResponse_SERVICE_UNKNOWN HealthCheckResponse_ServingStatus = 3 -) - -var HealthCheckResponse_ServingStatus_name = map[int32]string{ - 0: "UNKNOWN", - 1: "SERVING", - 2: "NOT_SERVING", - 3: "SERVICE_UNKNOWN", -} - -var HealthCheckResponse_ServingStatus_value = map[string]int32{ - "UNKNOWN": 0, - "SERVING": 1, - "NOT_SERVING": 2, - "SERVICE_UNKNOWN": 3, -} - -func (x HealthCheckResponse_ServingStatus) String() string { - return proto.EnumName(HealthCheckResponse_ServingStatus_name, int32(x)) -} - -func (HealthCheckResponse_ServingStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e265fd9d4e077217, []int{1, 0} -} - -type HealthCheckRequest struct { - Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *HealthCheckRequest) Reset() { *m = HealthCheckRequest{} } -func (m *HealthCheckRequest) String() string { return proto.CompactTextString(m) } -func (*HealthCheckRequest) ProtoMessage() {} -func (*HealthCheckRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e265fd9d4e077217, []int{0} -} - -func (m *HealthCheckRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HealthCheckRequest.Unmarshal(m, b) -} -func (m *HealthCheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HealthCheckRequest.Marshal(b, m, deterministic) -} -func (m *HealthCheckRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_HealthCheckRequest.Merge(m, src) -} -func (m *HealthCheckRequest) XXX_Size() int { - return xxx_messageInfo_HealthCheckRequest.Size(m) -} -func (m *HealthCheckRequest) XXX_DiscardUnknown() { - xxx_messageInfo_HealthCheckRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_HealthCheckRequest proto.InternalMessageInfo - -func (m *HealthCheckRequest) GetService() string { - if m != nil { - return m.Service - } - return "" -} - -type HealthCheckResponse struct { - Status HealthCheckResponse_ServingStatus `protobuf:"varint,1,opt,name=status,proto3,enum=grpc.health.v1.HealthCheckResponse_ServingStatus" json:"status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *HealthCheckResponse) Reset() { *m = HealthCheckResponse{} } -func (m *HealthCheckResponse) String() string { return proto.CompactTextString(m) } -func (*HealthCheckResponse) ProtoMessage() {} -func (*HealthCheckResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e265fd9d4e077217, []int{1} -} - -func (m *HealthCheckResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HealthCheckResponse.Unmarshal(m, b) -} -func (m *HealthCheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HealthCheckResponse.Marshal(b, m, deterministic) -} -func (m *HealthCheckResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_HealthCheckResponse.Merge(m, src) -} -func (m *HealthCheckResponse) XXX_Size() int { - return xxx_messageInfo_HealthCheckResponse.Size(m) -} -func (m *HealthCheckResponse) XXX_DiscardUnknown() { - xxx_messageInfo_HealthCheckResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_HealthCheckResponse proto.InternalMessageInfo - -func (m *HealthCheckResponse) GetStatus() HealthCheckResponse_ServingStatus { - if m != nil { - return m.Status - } - return HealthCheckResponse_UNKNOWN -} - -func init() { - proto.RegisterEnum("grpc.health.v1.HealthCheckResponse_ServingStatus", HealthCheckResponse_ServingStatus_name, HealthCheckResponse_ServingStatus_value) - proto.RegisterType((*HealthCheckRequest)(nil), "grpc.health.v1.HealthCheckRequest") - proto.RegisterType((*HealthCheckResponse)(nil), "grpc.health.v1.HealthCheckResponse") -} - -func init() { proto.RegisterFile("grpc/health/v1/health.proto", fileDescriptor_e265fd9d4e077217) } - -var fileDescriptor_e265fd9d4e077217 = []byte{ - // 297 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4e, 0x2f, 0x2a, 0x48, - 0xd6, 0xcf, 0x48, 0x4d, 0xcc, 0x29, 0xc9, 0xd0, 0x2f, 0x33, 0x84, 0xb2, 0xf4, 0x0a, 0x8a, 0xf2, - 0x4b, 0xf2, 0x85, 0xf8, 0x40, 0x92, 0x7a, 0x50, 0xa1, 0x32, 0x43, 0x25, 0x3d, 0x2e, 0x21, 0x0f, - 0x30, 0xc7, 0x39, 0x23, 0x35, 0x39, 0x3b, 0x28, 0xb5, 0xb0, 0x34, 0xb5, 0xb8, 0x44, 0x48, 0x82, - 0x8b, 0xbd, 0x38, 0xb5, 0xa8, 0x2c, 0x33, 0x39, 0x55, 0x82, 0x51, 0x81, 0x51, 0x83, 0x33, 0x08, - 0xc6, 0x55, 0xda, 0xc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0xc3, 0x55, 0x4c, 0x7c, 0xee, 0x20, - 0xd3, 0x20, 0x46, 0xe8, 0x85, 0x19, 0x26, 0xb1, 0x81, 0x93, 0x83, 0x31, 0x20, 0x00, 0x00, 0xff, - 0xff, 0x12, 0x7d, 0x96, 0xcb, 0x2d, 0x02, 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 - -// HealthClient is the client API for Health service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type HealthClient interface { - // If the requested service is unknown, the call will fail with status - // NOT_FOUND. - Check(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (*HealthCheckResponse, error) - // Performs a watch for the serving status of the requested service. - // The server will immediately send back a message indicating the current - // serving status. It will then subsequently send a new message whenever - // the service's serving status changes. - // - // If the requested service is unknown when the call is received, the - // server will send a message setting the serving status to - // SERVICE_UNKNOWN but will *not* terminate the call. If at some - // future point, the serving status of the service becomes known, the - // server will send a new message with the service's serving status. - // - // If the call terminates with status UNIMPLEMENTED, then clients - // should assume this method is not supported and should not retry the - // call. If the call terminates with any other status (including OK), - // clients should retry the call with appropriate exponential backoff. - Watch(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (Health_WatchClient, error) -} - -type healthClient struct { - cc *grpc.ClientConn -} - -func NewHealthClient(cc *grpc.ClientConn) HealthClient { - return &healthClient{cc} -} - -func (c *healthClient) Check(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (*HealthCheckResponse, error) { - out := new(HealthCheckResponse) - err := c.cc.Invoke(ctx, "/grpc.health.v1.Health/Check", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *healthClient) Watch(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (Health_WatchClient, error) { - stream, err := c.cc.NewStream(ctx, &_Health_serviceDesc.Streams[0], "/grpc.health.v1.Health/Watch", opts...) - if err != nil { - return nil, err - } - x := &healthWatchClient{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 Health_WatchClient interface { - Recv() (*HealthCheckResponse, error) - grpc.ClientStream -} - -type healthWatchClient struct { - grpc.ClientStream -} - -func (x *healthWatchClient) Recv() (*HealthCheckResponse, error) { - m := new(HealthCheckResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// HealthServer is the server API for Health service. -type HealthServer interface { - // If the requested service is unknown, the call will fail with status - // NOT_FOUND. - Check(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error) - // Performs a watch for the serving status of the requested service. - // The server will immediately send back a message indicating the current - // serving status. It will then subsequently send a new message whenever - // the service's serving status changes. - // - // If the requested service is unknown when the call is received, the - // server will send a message setting the serving status to - // SERVICE_UNKNOWN but will *not* terminate the call. If at some - // future point, the serving status of the service becomes known, the - // server will send a new message with the service's serving status. - // - // If the call terminates with status UNIMPLEMENTED, then clients - // should assume this method is not supported and should not retry the - // call. If the call terminates with any other status (including OK), - // clients should retry the call with appropriate exponential backoff. - Watch(*HealthCheckRequest, Health_WatchServer) error -} - -// UnimplementedHealthServer can be embedded to have forward compatible implementations. -type UnimplementedHealthServer struct { -} - -func (*UnimplementedHealthServer) Check(ctx context.Context, req *HealthCheckRequest) (*HealthCheckResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Check not implemented") -} -func (*UnimplementedHealthServer) Watch(req *HealthCheckRequest, srv Health_WatchServer) error { - return status.Errorf(codes.Unimplemented, "method Watch not implemented") -} - -func RegisterHealthServer(s *grpc.Server, srv HealthServer) { - s.RegisterService(&_Health_serviceDesc, srv) -} - -func _Health_Check_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(HealthCheckRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(HealthServer).Check(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.health.v1.Health/Check", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(HealthServer).Check(ctx, req.(*HealthCheckRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Health_Watch_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(HealthCheckRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(HealthServer).Watch(m, &healthWatchServer{stream}) -} - -type Health_WatchServer interface { - Send(*HealthCheckResponse) error - grpc.ServerStream -} - -type healthWatchServer struct { - grpc.ServerStream -} - -func (x *healthWatchServer) Send(m *HealthCheckResponse) error { - return x.ServerStream.SendMsg(m) -} - -var _Health_serviceDesc = grpc.ServiceDesc{ - ServiceName: "grpc.health.v1.Health", - HandlerType: (*HealthServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Check", - Handler: _Health_Check_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "Watch", - Handler: _Health_Watch_Handler, - ServerStreams: true, - }, - }, - Metadata: "grpc/health/v1/health.proto", -} diff --git a/vendor/google.golang.org/grpc/interop/grpc_testing/test.pb.go b/vendor/google.golang.org/grpc/interop/grpc_testing/test.pb.go deleted file mode 100644 index 0d951c91..00000000 --- a/vendor/google.golang.org/grpc/interop/grpc_testing/test.pb.go +++ /dev/null @@ -1,1152 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: grpc_testing/test.proto - -package grpc_testing - -import ( - context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The type of payload that should be returned. -type PayloadType int32 - -const ( - // Compressable text format. - PayloadType_COMPRESSABLE PayloadType = 0 - // Uncompressable binary format. - PayloadType_UNCOMPRESSABLE PayloadType = 1 - // Randomly chosen from all other formats defined in this enum. - PayloadType_RANDOM PayloadType = 2 -) - -var PayloadType_name = map[int32]string{ - 0: "COMPRESSABLE", - 1: "UNCOMPRESSABLE", - 2: "RANDOM", -} - -var PayloadType_value = map[string]int32{ - "COMPRESSABLE": 0, - "UNCOMPRESSABLE": 1, - "RANDOM": 2, -} - -func (x PayloadType) String() string { - return proto.EnumName(PayloadType_name, int32(x)) -} - -func (PayloadType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e1cda82041fed8bf, []int{0} -} - -type Empty struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Empty) Reset() { *m = Empty{} } -func (m *Empty) String() string { return proto.CompactTextString(m) } -func (*Empty) ProtoMessage() {} -func (*Empty) Descriptor() ([]byte, []int) { - return fileDescriptor_e1cda82041fed8bf, []int{0} -} - -func (m *Empty) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Empty.Unmarshal(m, b) -} -func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Empty.Marshal(b, m, deterministic) -} -func (m *Empty) XXX_Merge(src proto.Message) { - xxx_messageInfo_Empty.Merge(m, src) -} -func (m *Empty) XXX_Size() int { - return xxx_messageInfo_Empty.Size(m) -} -func (m *Empty) XXX_DiscardUnknown() { - xxx_messageInfo_Empty.DiscardUnknown(m) -} - -var xxx_messageInfo_Empty proto.InternalMessageInfo - -// A block of data, to simply increase gRPC message size. -type Payload struct { - // The type of data in body. - Type PayloadType `protobuf:"varint,1,opt,name=type,proto3,enum=grpc.testing.PayloadType" json:"type,omitempty"` - // Primary contents of payload. - Body []byte `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Payload) Reset() { *m = Payload{} } -func (m *Payload) String() string { return proto.CompactTextString(m) } -func (*Payload) ProtoMessage() {} -func (*Payload) Descriptor() ([]byte, []int) { - return fileDescriptor_e1cda82041fed8bf, []int{1} -} - -func (m *Payload) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Payload.Unmarshal(m, b) -} -func (m *Payload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Payload.Marshal(b, m, deterministic) -} -func (m *Payload) XXX_Merge(src proto.Message) { - xxx_messageInfo_Payload.Merge(m, src) -} -func (m *Payload) XXX_Size() int { - return xxx_messageInfo_Payload.Size(m) -} -func (m *Payload) XXX_DiscardUnknown() { - xxx_messageInfo_Payload.DiscardUnknown(m) -} - -var xxx_messageInfo_Payload proto.InternalMessageInfo - -func (m *Payload) GetType() PayloadType { - if m != nil { - return m.Type - } - return PayloadType_COMPRESSABLE -} - -func (m *Payload) GetBody() []byte { - if m != nil { - return m.Body - } - return nil -} - -// A protobuf representation for grpc status. This is used by test -// clients to specify a status that the server should attempt to return. -type EchoStatus struct { - Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` - 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 *EchoStatus) Reset() { *m = EchoStatus{} } -func (m *EchoStatus) String() string { return proto.CompactTextString(m) } -func (*EchoStatus) ProtoMessage() {} -func (*EchoStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_e1cda82041fed8bf, []int{2} -} - -func (m *EchoStatus) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EchoStatus.Unmarshal(m, b) -} -func (m *EchoStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EchoStatus.Marshal(b, m, deterministic) -} -func (m *EchoStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_EchoStatus.Merge(m, src) -} -func (m *EchoStatus) XXX_Size() int { - return xxx_messageInfo_EchoStatus.Size(m) -} -func (m *EchoStatus) XXX_DiscardUnknown() { - xxx_messageInfo_EchoStatus.DiscardUnknown(m) -} - -var xxx_messageInfo_EchoStatus proto.InternalMessageInfo - -func (m *EchoStatus) GetCode() int32 { - if m != nil { - return m.Code - } - return 0 -} - -func (m *EchoStatus) GetMessage() string { - if m != nil { - return m.Message - } - return "" -} - -// Unary request. -type SimpleRequest struct { - // Desired payload type in the response from the server. - // If response_type is RANDOM, server randomly chooses one from other formats. - ResponseType PayloadType `protobuf:"varint,1,opt,name=response_type,json=responseType,proto3,enum=grpc.testing.PayloadType" json:"response_type,omitempty"` - // Desired payload size in the response from the server. - // If response_type is COMPRESSABLE, this denotes the size before compression. - ResponseSize int32 `protobuf:"varint,2,opt,name=response_size,json=responseSize,proto3" json:"response_size,omitempty"` - // Optional input payload sent along with the request. - Payload *Payload `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` - // Whether SimpleResponse should include username. - FillUsername bool `protobuf:"varint,4,opt,name=fill_username,json=fillUsername,proto3" json:"fill_username,omitempty"` - // Whether SimpleResponse should include OAuth scope. - FillOauthScope bool `protobuf:"varint,5,opt,name=fill_oauth_scope,json=fillOauthScope,proto3" json:"fill_oauth_scope,omitempty"` - // Whether server should return a given status - ResponseStatus *EchoStatus `protobuf:"bytes,7,opt,name=response_status,json=responseStatus,proto3" json:"response_status,omitempty"` - // Whether SimpleResponse should include server_id. - FillServerId bool `protobuf:"varint,9,opt,name=fill_server_id,json=fillServerId,proto3" json:"fill_server_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SimpleRequest) Reset() { *m = SimpleRequest{} } -func (m *SimpleRequest) String() string { return proto.CompactTextString(m) } -func (*SimpleRequest) ProtoMessage() {} -func (*SimpleRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e1cda82041fed8bf, []int{3} -} - -func (m *SimpleRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SimpleRequest.Unmarshal(m, b) -} -func (m *SimpleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SimpleRequest.Marshal(b, m, deterministic) -} -func (m *SimpleRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SimpleRequest.Merge(m, src) -} -func (m *SimpleRequest) XXX_Size() int { - return xxx_messageInfo_SimpleRequest.Size(m) -} -func (m *SimpleRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SimpleRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SimpleRequest proto.InternalMessageInfo - -func (m *SimpleRequest) GetResponseType() PayloadType { - if m != nil { - return m.ResponseType - } - return PayloadType_COMPRESSABLE -} - -func (m *SimpleRequest) GetResponseSize() int32 { - if m != nil { - return m.ResponseSize - } - return 0 -} - -func (m *SimpleRequest) GetPayload() *Payload { - if m != nil { - return m.Payload - } - return nil -} - -func (m *SimpleRequest) GetFillUsername() bool { - if m != nil { - return m.FillUsername - } - return false -} - -func (m *SimpleRequest) GetFillOauthScope() bool { - if m != nil { - return m.FillOauthScope - } - return false -} - -func (m *SimpleRequest) GetResponseStatus() *EchoStatus { - if m != nil { - return m.ResponseStatus - } - return nil -} - -func (m *SimpleRequest) GetFillServerId() bool { - if m != nil { - return m.FillServerId - } - return false -} - -// Unary response, as configured by the request. -type SimpleResponse struct { - // Payload to increase message size. - Payload *Payload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` - // The user the request came from, for verifying authentication was - // successful when the client expected it. - Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` - // OAuth scope. - OauthScope string `protobuf:"bytes,3,opt,name=oauth_scope,json=oauthScope,proto3" json:"oauth_scope,omitempty"` - // Server ID. This must be unique among different server instances, - // but the same across all RPC's made to a particular server instance. - ServerId string `protobuf:"bytes,4,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SimpleResponse) Reset() { *m = SimpleResponse{} } -func (m *SimpleResponse) String() string { return proto.CompactTextString(m) } -func (*SimpleResponse) ProtoMessage() {} -func (*SimpleResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e1cda82041fed8bf, []int{4} -} - -func (m *SimpleResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SimpleResponse.Unmarshal(m, b) -} -func (m *SimpleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SimpleResponse.Marshal(b, m, deterministic) -} -func (m *SimpleResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SimpleResponse.Merge(m, src) -} -func (m *SimpleResponse) XXX_Size() int { - return xxx_messageInfo_SimpleResponse.Size(m) -} -func (m *SimpleResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SimpleResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SimpleResponse proto.InternalMessageInfo - -func (m *SimpleResponse) GetPayload() *Payload { - if m != nil { - return m.Payload - } - return nil -} - -func (m *SimpleResponse) GetUsername() string { - if m != nil { - return m.Username - } - return "" -} - -func (m *SimpleResponse) GetOauthScope() string { - if m != nil { - return m.OauthScope - } - return "" -} - -func (m *SimpleResponse) GetServerId() string { - if m != nil { - return m.ServerId - } - return "" -} - -// Client-streaming request. -type StreamingInputCallRequest struct { - // Optional input payload sent along with the request. - Payload *Payload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StreamingInputCallRequest) Reset() { *m = StreamingInputCallRequest{} } -func (m *StreamingInputCallRequest) String() string { return proto.CompactTextString(m) } -func (*StreamingInputCallRequest) ProtoMessage() {} -func (*StreamingInputCallRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e1cda82041fed8bf, []int{5} -} - -func (m *StreamingInputCallRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingInputCallRequest.Unmarshal(m, b) -} -func (m *StreamingInputCallRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingInputCallRequest.Marshal(b, m, deterministic) -} -func (m *StreamingInputCallRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingInputCallRequest.Merge(m, src) -} -func (m *StreamingInputCallRequest) XXX_Size() int { - return xxx_messageInfo_StreamingInputCallRequest.Size(m) -} -func (m *StreamingInputCallRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingInputCallRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingInputCallRequest proto.InternalMessageInfo - -func (m *StreamingInputCallRequest) GetPayload() *Payload { - if m != nil { - return m.Payload - } - return nil -} - -// Client-streaming response. -type StreamingInputCallResponse struct { - // Aggregated size of payloads received from the client. - AggregatedPayloadSize int32 `protobuf:"varint,1,opt,name=aggregated_payload_size,json=aggregatedPayloadSize,proto3" json:"aggregated_payload_size,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StreamingInputCallResponse) Reset() { *m = StreamingInputCallResponse{} } -func (m *StreamingInputCallResponse) String() string { return proto.CompactTextString(m) } -func (*StreamingInputCallResponse) ProtoMessage() {} -func (*StreamingInputCallResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e1cda82041fed8bf, []int{6} -} - -func (m *StreamingInputCallResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingInputCallResponse.Unmarshal(m, b) -} -func (m *StreamingInputCallResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingInputCallResponse.Marshal(b, m, deterministic) -} -func (m *StreamingInputCallResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingInputCallResponse.Merge(m, src) -} -func (m *StreamingInputCallResponse) XXX_Size() int { - return xxx_messageInfo_StreamingInputCallResponse.Size(m) -} -func (m *StreamingInputCallResponse) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingInputCallResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingInputCallResponse proto.InternalMessageInfo - -func (m *StreamingInputCallResponse) GetAggregatedPayloadSize() int32 { - if m != nil { - return m.AggregatedPayloadSize - } - return 0 -} - -// Configuration for a particular response. -type ResponseParameters struct { - // Desired payload sizes in responses from the server. - // If response_type is COMPRESSABLE, this denotes the size before compression. - Size int32 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` - // Desired interval between consecutive responses in the response stream in - // microseconds. - IntervalUs int32 `protobuf:"varint,2,opt,name=interval_us,json=intervalUs,proto3" json:"interval_us,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ResponseParameters) Reset() { *m = ResponseParameters{} } -func (m *ResponseParameters) String() string { return proto.CompactTextString(m) } -func (*ResponseParameters) ProtoMessage() {} -func (*ResponseParameters) Descriptor() ([]byte, []int) { - return fileDescriptor_e1cda82041fed8bf, []int{7} -} - -func (m *ResponseParameters) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResponseParameters.Unmarshal(m, b) -} -func (m *ResponseParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResponseParameters.Marshal(b, m, deterministic) -} -func (m *ResponseParameters) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResponseParameters.Merge(m, src) -} -func (m *ResponseParameters) XXX_Size() int { - return xxx_messageInfo_ResponseParameters.Size(m) -} -func (m *ResponseParameters) XXX_DiscardUnknown() { - xxx_messageInfo_ResponseParameters.DiscardUnknown(m) -} - -var xxx_messageInfo_ResponseParameters proto.InternalMessageInfo - -func (m *ResponseParameters) GetSize() int32 { - if m != nil { - return m.Size - } - return 0 -} - -func (m *ResponseParameters) GetIntervalUs() int32 { - if m != nil { - return m.IntervalUs - } - return 0 -} - -// Server-streaming request. -type StreamingOutputCallRequest struct { - // Desired payload type in the response from the server. - // If response_type is RANDOM, the payload from each response in the stream - // might be of different types. This is to simulate a mixed type of payload - // stream. - ResponseType PayloadType `protobuf:"varint,1,opt,name=response_type,json=responseType,proto3,enum=grpc.testing.PayloadType" json:"response_type,omitempty"` - // Configuration for each expected response message. - ResponseParameters []*ResponseParameters `protobuf:"bytes,2,rep,name=response_parameters,json=responseParameters,proto3" json:"response_parameters,omitempty"` - // Optional input payload sent along with the request. - Payload *Payload `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` - // Whether server should return a given status - ResponseStatus *EchoStatus `protobuf:"bytes,7,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 *StreamingOutputCallRequest) Reset() { *m = StreamingOutputCallRequest{} } -func (m *StreamingOutputCallRequest) String() string { return proto.CompactTextString(m) } -func (*StreamingOutputCallRequest) ProtoMessage() {} -func (*StreamingOutputCallRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e1cda82041fed8bf, []int{8} -} - -func (m *StreamingOutputCallRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingOutputCallRequest.Unmarshal(m, b) -} -func (m *StreamingOutputCallRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingOutputCallRequest.Marshal(b, m, deterministic) -} -func (m *StreamingOutputCallRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingOutputCallRequest.Merge(m, src) -} -func (m *StreamingOutputCallRequest) XXX_Size() int { - return xxx_messageInfo_StreamingOutputCallRequest.Size(m) -} -func (m *StreamingOutputCallRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingOutputCallRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingOutputCallRequest proto.InternalMessageInfo - -func (m *StreamingOutputCallRequest) GetResponseType() PayloadType { - if m != nil { - return m.ResponseType - } - return PayloadType_COMPRESSABLE -} - -func (m *StreamingOutputCallRequest) GetResponseParameters() []*ResponseParameters { - if m != nil { - return m.ResponseParameters - } - return nil -} - -func (m *StreamingOutputCallRequest) GetPayload() *Payload { - if m != nil { - return m.Payload - } - return nil -} - -func (m *StreamingOutputCallRequest) GetResponseStatus() *EchoStatus { - if m != nil { - return m.ResponseStatus - } - return nil -} - -// Server-streaming response, as configured by the request and parameters. -type StreamingOutputCallResponse struct { - // Payload to increase response size. - Payload *Payload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StreamingOutputCallResponse) Reset() { *m = StreamingOutputCallResponse{} } -func (m *StreamingOutputCallResponse) String() string { return proto.CompactTextString(m) } -func (*StreamingOutputCallResponse) ProtoMessage() {} -func (*StreamingOutputCallResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e1cda82041fed8bf, []int{9} -} - -func (m *StreamingOutputCallResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingOutputCallResponse.Unmarshal(m, b) -} -func (m *StreamingOutputCallResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingOutputCallResponse.Marshal(b, m, deterministic) -} -func (m *StreamingOutputCallResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingOutputCallResponse.Merge(m, src) -} -func (m *StreamingOutputCallResponse) XXX_Size() int { - return xxx_messageInfo_StreamingOutputCallResponse.Size(m) -} -func (m *StreamingOutputCallResponse) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingOutputCallResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingOutputCallResponse proto.InternalMessageInfo - -func (m *StreamingOutputCallResponse) GetPayload() *Payload { - if m != nil { - return m.Payload - } - return nil -} - -func init() { - proto.RegisterEnum("grpc.testing.PayloadType", PayloadType_name, PayloadType_value) - proto.RegisterType((*Empty)(nil), "grpc.testing.Empty") - proto.RegisterType((*Payload)(nil), "grpc.testing.Payload") - proto.RegisterType((*EchoStatus)(nil), "grpc.testing.EchoStatus") - proto.RegisterType((*SimpleRequest)(nil), "grpc.testing.SimpleRequest") - proto.RegisterType((*SimpleResponse)(nil), "grpc.testing.SimpleResponse") - proto.RegisterType((*StreamingInputCallRequest)(nil), "grpc.testing.StreamingInputCallRequest") - proto.RegisterType((*StreamingInputCallResponse)(nil), "grpc.testing.StreamingInputCallResponse") - proto.RegisterType((*ResponseParameters)(nil), "grpc.testing.ResponseParameters") - proto.RegisterType((*StreamingOutputCallRequest)(nil), "grpc.testing.StreamingOutputCallRequest") - proto.RegisterType((*StreamingOutputCallResponse)(nil), "grpc.testing.StreamingOutputCallResponse") -} - -func init() { proto.RegisterFile("grpc_testing/test.proto", fileDescriptor_e1cda82041fed8bf) } - -var fileDescriptor_e1cda82041fed8bf = []byte{ - // 695 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0xdd, 0x6e, 0xd3, 0x4a, - 0x10, 0x3e, 0x4e, 0x93, 0xa6, 0x99, 0xa4, 0x39, 0x39, 0xdb, 0x53, 0xd5, 0x4d, 0x91, 0x88, 0x0c, - 0x12, 0x06, 0x89, 0x14, 0x05, 0xc1, 0x05, 0x12, 0xa0, 0xd2, 0xa6, 0xa2, 0x52, 0xdb, 0x14, 0xbb, - 0xb9, 0x8e, 0xb6, 0xf1, 0xd4, 0xb5, 0xe4, 0x3f, 0xbc, 0xeb, 0x8a, 0xf4, 0x55, 0xb8, 0xe4, 0x31, - 0x78, 0x16, 0xde, 0x05, 0xed, 0xda, 0x8e, 0x9d, 0x34, 0x15, 0x2d, 0x15, 0x5c, 0xc5, 0x3b, 0xf3, - 0xcd, 0xcc, 0xf7, 0x8d, 0xbf, 0x75, 0x60, 0xc3, 0x8e, 0xc2, 0xf1, 0x88, 0x23, 0xe3, 0x8e, 0x6f, - 0x6f, 0x8b, 0xdf, 0x6e, 0x18, 0x05, 0x3c, 0x20, 0x0d, 0x91, 0xe8, 0xa6, 0x09, 0xad, 0x0a, 0x95, - 0xbe, 0x17, 0xf2, 0x89, 0x76, 0x08, 0xd5, 0x13, 0x3a, 0x71, 0x03, 0x6a, 0x91, 0xe7, 0x50, 0xe6, - 0x93, 0x10, 0x55, 0xa5, 0xa3, 0xe8, 0xcd, 0xde, 0x66, 0xb7, 0x58, 0xd0, 0x4d, 0x41, 0xa7, 0x93, - 0x10, 0x0d, 0x09, 0x23, 0x04, 0xca, 0x67, 0x81, 0x35, 0x51, 0x4b, 0x1d, 0x45, 0x6f, 0x18, 0xf2, - 0x59, 0x7b, 0x03, 0xd0, 0x1f, 0x5f, 0x04, 0x26, 0xa7, 0x3c, 0x66, 0x02, 0x31, 0x0e, 0xac, 0xa4, - 0x61, 0xc5, 0x90, 0xcf, 0x44, 0x85, 0xaa, 0x87, 0x8c, 0x51, 0x1b, 0x65, 0x61, 0xcd, 0xc8, 0x8e, - 0xda, 0x8f, 0x12, 0xac, 0x9a, 0x8e, 0x17, 0xba, 0x68, 0xe0, 0xe7, 0x18, 0x19, 0x27, 0xef, 0x60, - 0x35, 0x42, 0x16, 0x06, 0x3e, 0xc3, 0xd1, 0xed, 0x98, 0x35, 0x32, 0xbc, 0x38, 0x91, 0x47, 0x85, - 0x7a, 0xe6, 0x5c, 0x25, 0x13, 0x2b, 0x39, 0xc8, 0x74, 0xae, 0x90, 0x6c, 0x43, 0x35, 0x4c, 0x3a, - 0xa8, 0x4b, 0x1d, 0x45, 0xaf, 0xf7, 0xd6, 0x17, 0xb6, 0x37, 0x32, 0x94, 0xe8, 0x7a, 0xee, 0xb8, - 0xee, 0x28, 0x66, 0x18, 0xf9, 0xd4, 0x43, 0xb5, 0xdc, 0x51, 0xf4, 0x15, 0xa3, 0x21, 0x82, 0xc3, - 0x34, 0x46, 0x74, 0x68, 0x49, 0x50, 0x40, 0x63, 0x7e, 0x31, 0x62, 0xe3, 0x20, 0x44, 0xb5, 0x22, - 0x71, 0x4d, 0x11, 0x1f, 0x88, 0xb0, 0x29, 0xa2, 0x64, 0x07, 0xfe, 0xcd, 0x49, 0xca, 0xbd, 0xa9, - 0x55, 0xc9, 0x43, 0x9d, 0xe5, 0x91, 0xef, 0xd5, 0x68, 0x4e, 0x05, 0x24, 0x7b, 0x7e, 0x0c, 0xb2, - 0xe9, 0x88, 0x61, 0x74, 0x89, 0xd1, 0xc8, 0xb1, 0xd4, 0x5a, 0x4e, 0xc9, 0x94, 0xc1, 0x03, 0x4b, - 0xfb, 0xaa, 0x40, 0x33, 0xdb, 0x6f, 0x52, 0x5e, 0xd4, 0xae, 0xdc, 0x4a, 0x7b, 0x1b, 0x56, 0xa6, - 0xb2, 0x93, 0xd7, 0x37, 0x3d, 0x93, 0x87, 0x50, 0x2f, 0xaa, 0x5d, 0x92, 0x69, 0x08, 0x72, 0xa5, - 0x5b, 0x50, 0xcb, 0x19, 0x96, 0x93, 0x6a, 0x96, 0xb1, 0x3b, 0x84, 0x4d, 0x93, 0x47, 0x48, 0x3d, - 0xc7, 0xb7, 0x0f, 0xfc, 0x30, 0xe6, 0xbb, 0xd4, 0x75, 0x33, 0x23, 0xdc, 0x95, 0xa7, 0x76, 0x0a, - 0xed, 0x45, 0xdd, 0x52, 0xd9, 0xaf, 0x61, 0x83, 0xda, 0x76, 0x84, 0x36, 0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, 0xc1, 0x7e, 0x88, 0x3e, 0x57, 0x74, 0xa3, 0xcf, 0xda, 0x4f, 0x6f, 0x81, - 0x4c, 0x66, 0xbd, 0x50, 0x88, 0x03, 0xe4, 0xfa, 0xa5, 0x22, 0x4f, 0x6e, 0x68, 0x31, 0x7f, 0x89, - 0xdb, 0xfa, 0xaf, 0x81, 0xc9, 0x28, 0x5d, 0x8c, 0x6a, 0xee, 0xc7, 0xae, 0xbb, 0x17, 0x87, 0x2e, - 0x7e, 0xf9, 0x63, 0x9a, 0x74, 0x45, 0xaa, 0x6a, 0x7e, 0xa4, 0xee, 0xf9, 0x5f, 0x18, 0xd5, 0x1b, - 0xc2, 0xff, 0x43, 0x5f, 0xbe, 0x41, 0x0f, 0x7d, 0x8e, 0x56, 0xe6, 0xa2, 0xb7, 0xf0, 0xdf, 0x4c, - 0xfc, 0x6e, 0x6e, 0x3a, 0x5b, 0x96, 0x7f, 0xf0, 0x2f, 0x7f, 0x06, 0x00, 0x00, 0xff, 0xff, 0xf1, - 0xe0, 0xc2, 0x5f, 0xfb, 0x07, 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 - -// TestServiceClient is the client API for TestService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type TestServiceClient interface { - // One empty request followed by one empty response. - EmptyCall(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) - // One request followed by one response. - // The server returns the client payload as-is. - UnaryCall(ctx context.Context, in *SimpleRequest, opts ...grpc.CallOption) (*SimpleResponse, error) - // One request followed by a sequence of responses (streamed download). - // The server returns the payload with client desired type and sizes. - StreamingOutputCall(ctx context.Context, in *StreamingOutputCallRequest, opts ...grpc.CallOption) (TestService_StreamingOutputCallClient, error) - // A sequence of requests followed by one response (streamed upload). - // The server returns the aggregated size of client payload as the result. - StreamingInputCall(ctx context.Context, opts ...grpc.CallOption) (TestService_StreamingInputCallClient, error) - // A sequence of requests with each request served by the server immediately. - // As one request could lead to multiple responses, this interface - // demonstrates the idea of full duplexing. - FullDuplexCall(ctx context.Context, opts ...grpc.CallOption) (TestService_FullDuplexCallClient, error) - // A sequence of requests followed by a sequence of responses. - // The server buffers all the client requests and then serves them in order. A - // stream of responses are returned to the client when the server starts with - // first request. - HalfDuplexCall(ctx context.Context, opts ...grpc.CallOption) (TestService_HalfDuplexCallClient, error) -} - -type testServiceClient struct { - cc *grpc.ClientConn -} - -func NewTestServiceClient(cc *grpc.ClientConn) TestServiceClient { - return &testServiceClient{cc} -} - -func (c *testServiceClient) EmptyCall(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) { - out := new(Empty) - err := c.cc.Invoke(ctx, "/grpc.testing.TestService/EmptyCall", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *testServiceClient) UnaryCall(ctx context.Context, in *SimpleRequest, opts ...grpc.CallOption) (*SimpleResponse, error) { - out := new(SimpleResponse) - err := c.cc.Invoke(ctx, "/grpc.testing.TestService/UnaryCall", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *testServiceClient) StreamingOutputCall(ctx context.Context, in *StreamingOutputCallRequest, opts ...grpc.CallOption) (TestService_StreamingOutputCallClient, error) { - stream, err := c.cc.NewStream(ctx, &_TestService_serviceDesc.Streams[0], "/grpc.testing.TestService/StreamingOutputCall", opts...) - if err != nil { - return nil, err - } - x := &testServiceStreamingOutputCallClient{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 TestService_StreamingOutputCallClient interface { - Recv() (*StreamingOutputCallResponse, error) - grpc.ClientStream -} - -type testServiceStreamingOutputCallClient struct { - grpc.ClientStream -} - -func (x *testServiceStreamingOutputCallClient) Recv() (*StreamingOutputCallResponse, error) { - m := new(StreamingOutputCallResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *testServiceClient) StreamingInputCall(ctx context.Context, opts ...grpc.CallOption) (TestService_StreamingInputCallClient, error) { - stream, err := c.cc.NewStream(ctx, &_TestService_serviceDesc.Streams[1], "/grpc.testing.TestService/StreamingInputCall", opts...) - if err != nil { - return nil, err - } - x := &testServiceStreamingInputCallClient{stream} - return x, nil -} - -type TestService_StreamingInputCallClient interface { - Send(*StreamingInputCallRequest) error - CloseAndRecv() (*StreamingInputCallResponse, error) - grpc.ClientStream -} - -type testServiceStreamingInputCallClient struct { - grpc.ClientStream -} - -func (x *testServiceStreamingInputCallClient) Send(m *StreamingInputCallRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *testServiceStreamingInputCallClient) CloseAndRecv() (*StreamingInputCallResponse, error) { - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - m := new(StreamingInputCallResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *testServiceClient) FullDuplexCall(ctx context.Context, opts ...grpc.CallOption) (TestService_FullDuplexCallClient, error) { - stream, err := c.cc.NewStream(ctx, &_TestService_serviceDesc.Streams[2], "/grpc.testing.TestService/FullDuplexCall", opts...) - if err != nil { - return nil, err - } - x := &testServiceFullDuplexCallClient{stream} - return x, nil -} - -type TestService_FullDuplexCallClient interface { - Send(*StreamingOutputCallRequest) error - Recv() (*StreamingOutputCallResponse, error) - grpc.ClientStream -} - -type testServiceFullDuplexCallClient struct { - grpc.ClientStream -} - -func (x *testServiceFullDuplexCallClient) Send(m *StreamingOutputCallRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *testServiceFullDuplexCallClient) Recv() (*StreamingOutputCallResponse, error) { - m := new(StreamingOutputCallResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *testServiceClient) HalfDuplexCall(ctx context.Context, opts ...grpc.CallOption) (TestService_HalfDuplexCallClient, error) { - stream, err := c.cc.NewStream(ctx, &_TestService_serviceDesc.Streams[3], "/grpc.testing.TestService/HalfDuplexCall", opts...) - if err != nil { - return nil, err - } - x := &testServiceHalfDuplexCallClient{stream} - return x, nil -} - -type TestService_HalfDuplexCallClient interface { - Send(*StreamingOutputCallRequest) error - Recv() (*StreamingOutputCallResponse, error) - grpc.ClientStream -} - -type testServiceHalfDuplexCallClient struct { - grpc.ClientStream -} - -func (x *testServiceHalfDuplexCallClient) Send(m *StreamingOutputCallRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *testServiceHalfDuplexCallClient) Recv() (*StreamingOutputCallResponse, error) { - m := new(StreamingOutputCallResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// TestServiceServer is the server API for TestService service. -type TestServiceServer interface { - // One empty request followed by one empty response. - EmptyCall(context.Context, *Empty) (*Empty, error) - // One request followed by one response. - // The server returns the client payload as-is. - UnaryCall(context.Context, *SimpleRequest) (*SimpleResponse, error) - // One request followed by a sequence of responses (streamed download). - // The server returns the payload with client desired type and sizes. - StreamingOutputCall(*StreamingOutputCallRequest, TestService_StreamingOutputCallServer) error - // A sequence of requests followed by one response (streamed upload). - // The server returns the aggregated size of client payload as the result. - StreamingInputCall(TestService_StreamingInputCallServer) error - // A sequence of requests with each request served by the server immediately. - // As one request could lead to multiple responses, this interface - // demonstrates the idea of full duplexing. - FullDuplexCall(TestService_FullDuplexCallServer) error - // A sequence of requests followed by a sequence of responses. - // The server buffers all the client requests and then serves them in order. A - // stream of responses are returned to the client when the server starts with - // first request. - HalfDuplexCall(TestService_HalfDuplexCallServer) error -} - -// UnimplementedTestServiceServer can be embedded to have forward compatible implementations. -type UnimplementedTestServiceServer struct { -} - -func (*UnimplementedTestServiceServer) EmptyCall(ctx context.Context, req *Empty) (*Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method EmptyCall not implemented") -} -func (*UnimplementedTestServiceServer) UnaryCall(ctx context.Context, req *SimpleRequest) (*SimpleResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UnaryCall not implemented") -} -func (*UnimplementedTestServiceServer) StreamingOutputCall(req *StreamingOutputCallRequest, srv TestService_StreamingOutputCallServer) error { - return status.Errorf(codes.Unimplemented, "method StreamingOutputCall not implemented") -} -func (*UnimplementedTestServiceServer) StreamingInputCall(srv TestService_StreamingInputCallServer) error { - return status.Errorf(codes.Unimplemented, "method StreamingInputCall not implemented") -} -func (*UnimplementedTestServiceServer) FullDuplexCall(srv TestService_FullDuplexCallServer) error { - return status.Errorf(codes.Unimplemented, "method FullDuplexCall not implemented") -} -func (*UnimplementedTestServiceServer) HalfDuplexCall(srv TestService_HalfDuplexCallServer) error { - return status.Errorf(codes.Unimplemented, "method HalfDuplexCall not implemented") -} - -func RegisterTestServiceServer(s *grpc.Server, srv TestServiceServer) { - s.RegisterService(&_TestService_serviceDesc, srv) -} - -func _TestService_EmptyCall_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Empty) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TestServiceServer).EmptyCall(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.testing.TestService/EmptyCall", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TestServiceServer).EmptyCall(ctx, req.(*Empty)) - } - return interceptor(ctx, in, info, handler) -} - -func _TestService_UnaryCall_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SimpleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TestServiceServer).UnaryCall(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.testing.TestService/UnaryCall", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TestServiceServer).UnaryCall(ctx, req.(*SimpleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TestService_StreamingOutputCall_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(StreamingOutputCallRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(TestServiceServer).StreamingOutputCall(m, &testServiceStreamingOutputCallServer{stream}) -} - -type TestService_StreamingOutputCallServer interface { - Send(*StreamingOutputCallResponse) error - grpc.ServerStream -} - -type testServiceStreamingOutputCallServer struct { - grpc.ServerStream -} - -func (x *testServiceStreamingOutputCallServer) Send(m *StreamingOutputCallResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _TestService_StreamingInputCall_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(TestServiceServer).StreamingInputCall(&testServiceStreamingInputCallServer{stream}) -} - -type TestService_StreamingInputCallServer interface { - SendAndClose(*StreamingInputCallResponse) error - Recv() (*StreamingInputCallRequest, error) - grpc.ServerStream -} - -type testServiceStreamingInputCallServer struct { - grpc.ServerStream -} - -func (x *testServiceStreamingInputCallServer) SendAndClose(m *StreamingInputCallResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *testServiceStreamingInputCallServer) Recv() (*StreamingInputCallRequest, error) { - m := new(StreamingInputCallRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _TestService_FullDuplexCall_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(TestServiceServer).FullDuplexCall(&testServiceFullDuplexCallServer{stream}) -} - -type TestService_FullDuplexCallServer interface { - Send(*StreamingOutputCallResponse) error - Recv() (*StreamingOutputCallRequest, error) - grpc.ServerStream -} - -type testServiceFullDuplexCallServer struct { - grpc.ServerStream -} - -func (x *testServiceFullDuplexCallServer) Send(m *StreamingOutputCallResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *testServiceFullDuplexCallServer) Recv() (*StreamingOutputCallRequest, error) { - m := new(StreamingOutputCallRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _TestService_HalfDuplexCall_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(TestServiceServer).HalfDuplexCall(&testServiceHalfDuplexCallServer{stream}) -} - -type TestService_HalfDuplexCallServer interface { - Send(*StreamingOutputCallResponse) error - Recv() (*StreamingOutputCallRequest, error) - grpc.ServerStream -} - -type testServiceHalfDuplexCallServer struct { - grpc.ServerStream -} - -func (x *testServiceHalfDuplexCallServer) Send(m *StreamingOutputCallResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *testServiceHalfDuplexCallServer) Recv() (*StreamingOutputCallRequest, error) { - m := new(StreamingOutputCallRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -var _TestService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "grpc.testing.TestService", - HandlerType: (*TestServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "EmptyCall", - Handler: _TestService_EmptyCall_Handler, - }, - { - MethodName: "UnaryCall", - Handler: _TestService_UnaryCall_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "StreamingOutputCall", - Handler: _TestService_StreamingOutputCall_Handler, - ServerStreams: true, - }, - { - StreamName: "StreamingInputCall", - Handler: _TestService_StreamingInputCall_Handler, - ClientStreams: true, - }, - { - StreamName: "FullDuplexCall", - Handler: _TestService_FullDuplexCall_Handler, - ServerStreams: true, - ClientStreams: true, - }, - { - StreamName: "HalfDuplexCall", - Handler: _TestService_HalfDuplexCall_Handler, - ServerStreams: true, - ClientStreams: true, - }, - }, - Metadata: "grpc_testing/test.proto", -} - -// UnimplementedServiceClient is the client API for UnimplementedService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type UnimplementedServiceClient interface { - // A call that no server should implement - UnimplementedCall(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) -} - -type unimplementedServiceClient struct { - cc *grpc.ClientConn -} - -func NewUnimplementedServiceClient(cc *grpc.ClientConn) UnimplementedServiceClient { - return &unimplementedServiceClient{cc} -} - -func (c *unimplementedServiceClient) UnimplementedCall(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) { - out := new(Empty) - err := c.cc.Invoke(ctx, "/grpc.testing.UnimplementedService/UnimplementedCall", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// UnimplementedServiceServer is the server API for UnimplementedService service. -type UnimplementedServiceServer interface { - // A call that no server should implement - UnimplementedCall(context.Context, *Empty) (*Empty, error) -} - -// UnimplementedUnimplementedServiceServer can be embedded to have forward compatible implementations. -type UnimplementedUnimplementedServiceServer struct { -} - -func (*UnimplementedUnimplementedServiceServer) UnimplementedCall(ctx context.Context, req *Empty) (*Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method UnimplementedCall not implemented") -} - -func RegisterUnimplementedServiceServer(s *grpc.Server, srv UnimplementedServiceServer) { - s.RegisterService(&_UnimplementedService_serviceDesc, srv) -} - -func _UnimplementedService_UnimplementedCall_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Empty) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(UnimplementedServiceServer).UnimplementedCall(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.testing.UnimplementedService/UnimplementedCall", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UnimplementedServiceServer).UnimplementedCall(ctx, req.(*Empty)) - } - return interceptor(ctx, in, info, handler) -} - -var _UnimplementedService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "grpc.testing.UnimplementedService", - HandlerType: (*UnimplementedServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "UnimplementedCall", - Handler: _UnimplementedService_UnimplementedCall_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "grpc_testing/test.proto", -} diff --git a/vendor/google.golang.org/grpc/reflection/grpc_reflection_v1alpha/reflection.pb.go b/vendor/google.golang.org/grpc/reflection/grpc_reflection_v1alpha/reflection.pb.go deleted file mode 100644 index 0a12ad22..00000000 --- a/vendor/google.golang.org/grpc/reflection/grpc_reflection_v1alpha/reflection.pb.go +++ /dev/null @@ -1,750 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: grpc_reflection_v1alpha/reflection.proto - -package grpc_reflection_v1alpha - -import ( - context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The message sent by the client when calling ServerReflectionInfo method. -type ServerReflectionRequest struct { - Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` - // To use reflection service, the client should set one of the following - // fields in message_request. The server distinguishes requests by their - // defined field and then handles them using corresponding methods. - // - // Types that are valid to be assigned to MessageRequest: - // *ServerReflectionRequest_FileByFilename - // *ServerReflectionRequest_FileContainingSymbol - // *ServerReflectionRequest_FileContainingExtension - // *ServerReflectionRequest_AllExtensionNumbersOfType - // *ServerReflectionRequest_ListServices - MessageRequest isServerReflectionRequest_MessageRequest `protobuf_oneof:"message_request"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ServerReflectionRequest) Reset() { *m = ServerReflectionRequest{} } -func (m *ServerReflectionRequest) String() string { return proto.CompactTextString(m) } -func (*ServerReflectionRequest) ProtoMessage() {} -func (*ServerReflectionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_42a8ac412db3cb03, []int{0} -} - -func (m *ServerReflectionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServerReflectionRequest.Unmarshal(m, b) -} -func (m *ServerReflectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServerReflectionRequest.Marshal(b, m, deterministic) -} -func (m *ServerReflectionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServerReflectionRequest.Merge(m, src) -} -func (m *ServerReflectionRequest) XXX_Size() int { - return xxx_messageInfo_ServerReflectionRequest.Size(m) -} -func (m *ServerReflectionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ServerReflectionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ServerReflectionRequest proto.InternalMessageInfo - -func (m *ServerReflectionRequest) GetHost() string { - if m != nil { - return m.Host - } - return "" -} - -type isServerReflectionRequest_MessageRequest interface { - isServerReflectionRequest_MessageRequest() -} - -type ServerReflectionRequest_FileByFilename struct { - FileByFilename string `protobuf:"bytes,3,opt,name=file_by_filename,json=fileByFilename,proto3,oneof"` -} - -type ServerReflectionRequest_FileContainingSymbol struct { - FileContainingSymbol string `protobuf:"bytes,4,opt,name=file_containing_symbol,json=fileContainingSymbol,proto3,oneof"` -} - -type ServerReflectionRequest_FileContainingExtension struct { - FileContainingExtension *ExtensionRequest `protobuf:"bytes,5,opt,name=file_containing_extension,json=fileContainingExtension,proto3,oneof"` -} - -type ServerReflectionRequest_AllExtensionNumbersOfType struct { - AllExtensionNumbersOfType string `protobuf:"bytes,6,opt,name=all_extension_numbers_of_type,json=allExtensionNumbersOfType,proto3,oneof"` -} - -type ServerReflectionRequest_ListServices struct { - ListServices string `protobuf:"bytes,7,opt,name=list_services,json=listServices,proto3,oneof"` -} - -func (*ServerReflectionRequest_FileByFilename) isServerReflectionRequest_MessageRequest() {} - -func (*ServerReflectionRequest_FileContainingSymbol) isServerReflectionRequest_MessageRequest() {} - -func (*ServerReflectionRequest_FileContainingExtension) isServerReflectionRequest_MessageRequest() {} - -func (*ServerReflectionRequest_AllExtensionNumbersOfType) isServerReflectionRequest_MessageRequest() {} - -func (*ServerReflectionRequest_ListServices) isServerReflectionRequest_MessageRequest() {} - -func (m *ServerReflectionRequest) GetMessageRequest() isServerReflectionRequest_MessageRequest { - if m != nil { - return m.MessageRequest - } - return nil -} - -func (m *ServerReflectionRequest) GetFileByFilename() string { - if x, ok := m.GetMessageRequest().(*ServerReflectionRequest_FileByFilename); ok { - return x.FileByFilename - } - return "" -} - -func (m *ServerReflectionRequest) GetFileContainingSymbol() string { - if x, ok := m.GetMessageRequest().(*ServerReflectionRequest_FileContainingSymbol); ok { - return x.FileContainingSymbol - } - return "" -} - -func (m *ServerReflectionRequest) GetFileContainingExtension() *ExtensionRequest { - if x, ok := m.GetMessageRequest().(*ServerReflectionRequest_FileContainingExtension); ok { - return x.FileContainingExtension - } - return nil -} - -func (m *ServerReflectionRequest) GetAllExtensionNumbersOfType() string { - if x, ok := m.GetMessageRequest().(*ServerReflectionRequest_AllExtensionNumbersOfType); ok { - return x.AllExtensionNumbersOfType - } - return "" -} - -func (m *ServerReflectionRequest) GetListServices() string { - if x, ok := m.GetMessageRequest().(*ServerReflectionRequest_ListServices); ok { - return x.ListServices - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ServerReflectionRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ServerReflectionRequest_FileByFilename)(nil), - (*ServerReflectionRequest_FileContainingSymbol)(nil), - (*ServerReflectionRequest_FileContainingExtension)(nil), - (*ServerReflectionRequest_AllExtensionNumbersOfType)(nil), - (*ServerReflectionRequest_ListServices)(nil), - } -} - -// The type name and extension number sent by the client when requesting -// file_containing_extension. -type ExtensionRequest struct { - // Fully-qualified type name. The format should be . - ContainingType string `protobuf:"bytes,1,opt,name=containing_type,json=containingType,proto3" json:"containing_type,omitempty"` - ExtensionNumber int32 `protobuf:"varint,2,opt,name=extension_number,json=extensionNumber,proto3" json:"extension_number,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExtensionRequest) Reset() { *m = ExtensionRequest{} } -func (m *ExtensionRequest) String() string { return proto.CompactTextString(m) } -func (*ExtensionRequest) ProtoMessage() {} -func (*ExtensionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_42a8ac412db3cb03, []int{1} -} - -func (m *ExtensionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExtensionRequest.Unmarshal(m, b) -} -func (m *ExtensionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExtensionRequest.Marshal(b, m, deterministic) -} -func (m *ExtensionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExtensionRequest.Merge(m, src) -} -func (m *ExtensionRequest) XXX_Size() int { - return xxx_messageInfo_ExtensionRequest.Size(m) -} -func (m *ExtensionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ExtensionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ExtensionRequest proto.InternalMessageInfo - -func (m *ExtensionRequest) GetContainingType() string { - if m != nil { - return m.ContainingType - } - return "" -} - -func (m *ExtensionRequest) GetExtensionNumber() int32 { - if m != nil { - return m.ExtensionNumber - } - return 0 -} - -// The message sent by the server to answer ServerReflectionInfo method. -type ServerReflectionResponse struct { - ValidHost string `protobuf:"bytes,1,opt,name=valid_host,json=validHost,proto3" json:"valid_host,omitempty"` - OriginalRequest *ServerReflectionRequest `protobuf:"bytes,2,opt,name=original_request,json=originalRequest,proto3" json:"original_request,omitempty"` - // The server sets one of the following fields according to the - // message_request in the request. - // - // Types that are valid to be assigned to MessageResponse: - // *ServerReflectionResponse_FileDescriptorResponse - // *ServerReflectionResponse_AllExtensionNumbersResponse - // *ServerReflectionResponse_ListServicesResponse - // *ServerReflectionResponse_ErrorResponse - MessageResponse isServerReflectionResponse_MessageResponse `protobuf_oneof:"message_response"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ServerReflectionResponse) Reset() { *m = ServerReflectionResponse{} } -func (m *ServerReflectionResponse) String() string { return proto.CompactTextString(m) } -func (*ServerReflectionResponse) ProtoMessage() {} -func (*ServerReflectionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_42a8ac412db3cb03, []int{2} -} - -func (m *ServerReflectionResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServerReflectionResponse.Unmarshal(m, b) -} -func (m *ServerReflectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServerReflectionResponse.Marshal(b, m, deterministic) -} -func (m *ServerReflectionResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServerReflectionResponse.Merge(m, src) -} -func (m *ServerReflectionResponse) XXX_Size() int { - return xxx_messageInfo_ServerReflectionResponse.Size(m) -} -func (m *ServerReflectionResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ServerReflectionResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ServerReflectionResponse proto.InternalMessageInfo - -func (m *ServerReflectionResponse) GetValidHost() string { - if m != nil { - return m.ValidHost - } - return "" -} - -func (m *ServerReflectionResponse) GetOriginalRequest() *ServerReflectionRequest { - if m != nil { - return m.OriginalRequest - } - return nil -} - -type isServerReflectionResponse_MessageResponse interface { - isServerReflectionResponse_MessageResponse() -} - -type ServerReflectionResponse_FileDescriptorResponse struct { - FileDescriptorResponse *FileDescriptorResponse `protobuf:"bytes,4,opt,name=file_descriptor_response,json=fileDescriptorResponse,proto3,oneof"` -} - -type ServerReflectionResponse_AllExtensionNumbersResponse struct { - AllExtensionNumbersResponse *ExtensionNumberResponse `protobuf:"bytes,5,opt,name=all_extension_numbers_response,json=allExtensionNumbersResponse,proto3,oneof"` -} - -type ServerReflectionResponse_ListServicesResponse struct { - ListServicesResponse *ListServiceResponse `protobuf:"bytes,6,opt,name=list_services_response,json=listServicesResponse,proto3,oneof"` -} - -type ServerReflectionResponse_ErrorResponse struct { - ErrorResponse *ErrorResponse `protobuf:"bytes,7,opt,name=error_response,json=errorResponse,proto3,oneof"` -} - -func (*ServerReflectionResponse_FileDescriptorResponse) isServerReflectionResponse_MessageResponse() {} - -func (*ServerReflectionResponse_AllExtensionNumbersResponse) isServerReflectionResponse_MessageResponse() { -} - -func (*ServerReflectionResponse_ListServicesResponse) isServerReflectionResponse_MessageResponse() {} - -func (*ServerReflectionResponse_ErrorResponse) isServerReflectionResponse_MessageResponse() {} - -func (m *ServerReflectionResponse) GetMessageResponse() isServerReflectionResponse_MessageResponse { - if m != nil { - return m.MessageResponse - } - return nil -} - -func (m *ServerReflectionResponse) GetFileDescriptorResponse() *FileDescriptorResponse { - if x, ok := m.GetMessageResponse().(*ServerReflectionResponse_FileDescriptorResponse); ok { - return x.FileDescriptorResponse - } - return nil -} - -func (m *ServerReflectionResponse) GetAllExtensionNumbersResponse() *ExtensionNumberResponse { - if x, ok := m.GetMessageResponse().(*ServerReflectionResponse_AllExtensionNumbersResponse); ok { - return x.AllExtensionNumbersResponse - } - return nil -} - -func (m *ServerReflectionResponse) GetListServicesResponse() *ListServiceResponse { - if x, ok := m.GetMessageResponse().(*ServerReflectionResponse_ListServicesResponse); ok { - return x.ListServicesResponse - } - return nil -} - -func (m *ServerReflectionResponse) GetErrorResponse() *ErrorResponse { - if x, ok := m.GetMessageResponse().(*ServerReflectionResponse_ErrorResponse); ok { - return x.ErrorResponse - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ServerReflectionResponse) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ServerReflectionResponse_FileDescriptorResponse)(nil), - (*ServerReflectionResponse_AllExtensionNumbersResponse)(nil), - (*ServerReflectionResponse_ListServicesResponse)(nil), - (*ServerReflectionResponse_ErrorResponse)(nil), - } -} - -// Serialized FileDescriptorProto messages sent by the server answering -// a file_by_filename, file_containing_symbol, or file_containing_extension -// request. -type FileDescriptorResponse struct { - // Serialized FileDescriptorProto messages. We avoid taking a dependency on - // descriptor.proto, which uses proto2 only features, by making them opaque - // bytes instead. - FileDescriptorProto [][]byte `protobuf:"bytes,1,rep,name=file_descriptor_proto,json=fileDescriptorProto,proto3" json:"file_descriptor_proto,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FileDescriptorResponse) Reset() { *m = FileDescriptorResponse{} } -func (m *FileDescriptorResponse) String() string { return proto.CompactTextString(m) } -func (*FileDescriptorResponse) ProtoMessage() {} -func (*FileDescriptorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_42a8ac412db3cb03, []int{3} -} - -func (m *FileDescriptorResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FileDescriptorResponse.Unmarshal(m, b) -} -func (m *FileDescriptorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FileDescriptorResponse.Marshal(b, m, deterministic) -} -func (m *FileDescriptorResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FileDescriptorResponse.Merge(m, src) -} -func (m *FileDescriptorResponse) XXX_Size() int { - return xxx_messageInfo_FileDescriptorResponse.Size(m) -} -func (m *FileDescriptorResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FileDescriptorResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_FileDescriptorResponse proto.InternalMessageInfo - -func (m *FileDescriptorResponse) GetFileDescriptorProto() [][]byte { - if m != nil { - return m.FileDescriptorProto - } - return nil -} - -// A list of extension numbers sent by the server answering -// all_extension_numbers_of_type request. -type ExtensionNumberResponse struct { - // Full name of the base type, including the package name. The format - // is . - BaseTypeName string `protobuf:"bytes,1,opt,name=base_type_name,json=baseTypeName,proto3" json:"base_type_name,omitempty"` - ExtensionNumber []int32 `protobuf:"varint,2,rep,packed,name=extension_number,json=extensionNumber,proto3" json:"extension_number,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExtensionNumberResponse) Reset() { *m = ExtensionNumberResponse{} } -func (m *ExtensionNumberResponse) String() string { return proto.CompactTextString(m) } -func (*ExtensionNumberResponse) ProtoMessage() {} -func (*ExtensionNumberResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_42a8ac412db3cb03, []int{4} -} - -func (m *ExtensionNumberResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExtensionNumberResponse.Unmarshal(m, b) -} -func (m *ExtensionNumberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExtensionNumberResponse.Marshal(b, m, deterministic) -} -func (m *ExtensionNumberResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExtensionNumberResponse.Merge(m, src) -} -func (m *ExtensionNumberResponse) XXX_Size() int { - return xxx_messageInfo_ExtensionNumberResponse.Size(m) -} -func (m *ExtensionNumberResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ExtensionNumberResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ExtensionNumberResponse proto.InternalMessageInfo - -func (m *ExtensionNumberResponse) GetBaseTypeName() string { - if m != nil { - return m.BaseTypeName - } - return "" -} - -func (m *ExtensionNumberResponse) GetExtensionNumber() []int32 { - if m != nil { - return m.ExtensionNumber - } - return nil -} - -// A list of ServiceResponse sent by the server answering list_services request. -type ListServiceResponse struct { - // The information of each service may be expanded in the future, so we use - // ServiceResponse message to encapsulate it. - Service []*ServiceResponse `protobuf:"bytes,1,rep,name=service,proto3" json:"service,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListServiceResponse) Reset() { *m = ListServiceResponse{} } -func (m *ListServiceResponse) String() string { return proto.CompactTextString(m) } -func (*ListServiceResponse) ProtoMessage() {} -func (*ListServiceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_42a8ac412db3cb03, []int{5} -} - -func (m *ListServiceResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListServiceResponse.Unmarshal(m, b) -} -func (m *ListServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListServiceResponse.Marshal(b, m, deterministic) -} -func (m *ListServiceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListServiceResponse.Merge(m, src) -} -func (m *ListServiceResponse) XXX_Size() int { - return xxx_messageInfo_ListServiceResponse.Size(m) -} -func (m *ListServiceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListServiceResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListServiceResponse proto.InternalMessageInfo - -func (m *ListServiceResponse) GetService() []*ServiceResponse { - if m != nil { - return m.Service - } - return nil -} - -// The information of a single service used by ListServiceResponse to answer -// list_services request. -type ServiceResponse struct { - // Full name of a registered service, including its package name. The format - // is . - 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 *ServiceResponse) Reset() { *m = ServiceResponse{} } -func (m *ServiceResponse) String() string { return proto.CompactTextString(m) } -func (*ServiceResponse) ProtoMessage() {} -func (*ServiceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_42a8ac412db3cb03, []int{6} -} - -func (m *ServiceResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServiceResponse.Unmarshal(m, b) -} -func (m *ServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServiceResponse.Marshal(b, m, deterministic) -} -func (m *ServiceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceResponse.Merge(m, src) -} -func (m *ServiceResponse) XXX_Size() int { - return xxx_messageInfo_ServiceResponse.Size(m) -} -func (m *ServiceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ServiceResponse proto.InternalMessageInfo - -func (m *ServiceResponse) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -// The error code and error message sent by the server when an error occurs. -type ErrorResponse struct { - // This field uses the error codes defined in grpc::StatusCode. - ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` - ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ErrorResponse) Reset() { *m = ErrorResponse{} } -func (m *ErrorResponse) String() string { return proto.CompactTextString(m) } -func (*ErrorResponse) ProtoMessage() {} -func (*ErrorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_42a8ac412db3cb03, []int{7} -} - -func (m *ErrorResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ErrorResponse.Unmarshal(m, b) -} -func (m *ErrorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ErrorResponse.Marshal(b, m, deterministic) -} -func (m *ErrorResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ErrorResponse.Merge(m, src) -} -func (m *ErrorResponse) XXX_Size() int { - return xxx_messageInfo_ErrorResponse.Size(m) -} -func (m *ErrorResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ErrorResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ErrorResponse proto.InternalMessageInfo - -func (m *ErrorResponse) GetErrorCode() int32 { - if m != nil { - return m.ErrorCode - } - return 0 -} - -func (m *ErrorResponse) GetErrorMessage() string { - if m != nil { - return m.ErrorMessage - } - return "" -} - -func init() { - proto.RegisterType((*ServerReflectionRequest)(nil), "grpc.reflection.v1alpha.ServerReflectionRequest") - proto.RegisterType((*ExtensionRequest)(nil), "grpc.reflection.v1alpha.ExtensionRequest") - proto.RegisterType((*ServerReflectionResponse)(nil), "grpc.reflection.v1alpha.ServerReflectionResponse") - proto.RegisterType((*FileDescriptorResponse)(nil), "grpc.reflection.v1alpha.FileDescriptorResponse") - proto.RegisterType((*ExtensionNumberResponse)(nil), "grpc.reflection.v1alpha.ExtensionNumberResponse") - proto.RegisterType((*ListServiceResponse)(nil), "grpc.reflection.v1alpha.ListServiceResponse") - proto.RegisterType((*ServiceResponse)(nil), "grpc.reflection.v1alpha.ServiceResponse") - proto.RegisterType((*ErrorResponse)(nil), "grpc.reflection.v1alpha.ErrorResponse") -} - -func init() { - proto.RegisterFile("grpc_reflection_v1alpha/reflection.proto", fileDescriptor_42a8ac412db3cb03) -} - -var fileDescriptor_42a8ac412db3cb03 = []byte{ - // 656 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x51, 0x73, 0xd2, 0x40, - 0x10, 0x6e, 0x5a, 0x68, 0x87, 0x85, 0x02, 0x5e, 0x2b, 0xa4, 0x3a, 0x75, 0x98, 0x68, 0x35, 0x75, - 0x1c, 0xda, 0xe2, 0x8c, 0x3f, 0x80, 0xaa, 0x83, 0x33, 0xb5, 0x75, 0x0e, 0x5f, 0x1c, 0x1f, 0x6e, - 0x02, 0x2c, 0x34, 0x1a, 0x72, 0xf1, 0x2e, 0x45, 0x79, 0xf2, 0x47, 0xf8, 0xa3, 0xfc, 0x4b, 0x3e, - 0x3a, 0x77, 0x09, 0x21, 0xa4, 0x44, 0xa7, 0x4f, 0x30, 0xdf, 0xee, 0xde, 0xb7, 0xbb, 0xdf, 0xb7, - 0x01, 0x7b, 0x22, 0x82, 0x21, 0x13, 0x38, 0xf6, 0x70, 0x18, 0xba, 0xdc, 0x67, 0xb3, 0x33, 0xc7, - 0x0b, 0xae, 0x9d, 0x93, 0x25, 0xd4, 0x0e, 0x04, 0x0f, 0x39, 0x69, 0xaa, 0xc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} - -// 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 - -// ServerReflectionClient is the client API for ServerReflection service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ServerReflectionClient interface { - // The reflection service is structured as a bidirectional stream, ensuring - // all related requests go to a single server. - ServerReflectionInfo(ctx context.Context, opts ...grpc.CallOption) (ServerReflection_ServerReflectionInfoClient, error) -} - -type serverReflectionClient struct { - cc *grpc.ClientConn -} - -func NewServerReflectionClient(cc *grpc.ClientConn) ServerReflectionClient { - return &serverReflectionClient{cc} -} - -func (c *serverReflectionClient) ServerReflectionInfo(ctx context.Context, opts ...grpc.CallOption) (ServerReflection_ServerReflectionInfoClient, error) { - stream, err := c.cc.NewStream(ctx, &_ServerReflection_serviceDesc.Streams[0], "/grpc.reflection.v1alpha.ServerReflection/ServerReflectionInfo", opts...) - if err != nil { - return nil, err - } - x := &serverReflectionServerReflectionInfoClient{stream} - return x, nil -} - -type ServerReflection_ServerReflectionInfoClient interface { - Send(*ServerReflectionRequest) error - Recv() (*ServerReflectionResponse, error) - grpc.ClientStream -} - -type serverReflectionServerReflectionInfoClient struct { - grpc.ClientStream -} - -func (x *serverReflectionServerReflectionInfoClient) Send(m *ServerReflectionRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *serverReflectionServerReflectionInfoClient) Recv() (*ServerReflectionResponse, error) { - m := new(ServerReflectionResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// ServerReflectionServer is the server API for ServerReflection service. -type ServerReflectionServer interface { - // The reflection service is structured as a bidirectional stream, ensuring - // all related requests go to a single server. - ServerReflectionInfo(ServerReflection_ServerReflectionInfoServer) error -} - -// UnimplementedServerReflectionServer can be embedded to have forward compatible implementations. -type UnimplementedServerReflectionServer struct { -} - -func (*UnimplementedServerReflectionServer) ServerReflectionInfo(srv ServerReflection_ServerReflectionInfoServer) error { - return status.Errorf(codes.Unimplemented, "method ServerReflectionInfo not implemented") -} - -func RegisterServerReflectionServer(s *grpc.Server, srv ServerReflectionServer) { - s.RegisterService(&_ServerReflection_serviceDesc, srv) -} - -func _ServerReflection_ServerReflectionInfo_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(ServerReflectionServer).ServerReflectionInfo(&serverReflectionServerReflectionInfoServer{stream}) -} - -type ServerReflection_ServerReflectionInfoServer interface { - Send(*ServerReflectionResponse) error - Recv() (*ServerReflectionRequest, error) - grpc.ServerStream -} - -type serverReflectionServerReflectionInfoServer struct { - grpc.ServerStream -} - -func (x *serverReflectionServerReflectionInfoServer) Send(m *ServerReflectionResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *serverReflectionServerReflectionInfoServer) Recv() (*ServerReflectionRequest, error) { - m := new(ServerReflectionRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -var _ServerReflection_serviceDesc = grpc.ServiceDesc{ - ServiceName: "grpc.reflection.v1alpha.ServerReflection", - HandlerType: (*ServerReflectionServer)(nil), - Methods: []grpc.MethodDesc{}, - Streams: []grpc.StreamDesc{ - { - StreamName: "ServerReflectionInfo", - Handler: _ServerReflection_ServerReflectionInfo_Handler, - ServerStreams: true, - ClientStreams: true, - }, - }, - Metadata: "grpc_reflection_v1alpha/reflection.proto", -} diff --git a/vendor/google.golang.org/grpc/reflection/grpc_testing/proto2.pb.go b/vendor/google.golang.org/grpc/reflection/grpc_testing/proto2.pb.go deleted file mode 100644 index 319ea0de..00000000 --- a/vendor/google.golang.org/grpc/reflection/grpc_testing/proto2.pb.go +++ /dev/null @@ -1,85 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: proto2.proto - -package grpc_testing - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type ToBeExtended struct { - Foo *int32 `protobuf:"varint,1,req,name=foo" json:"foo,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - proto.XXX_InternalExtensions `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ToBeExtended) Reset() { *m = ToBeExtended{} } -func (m *ToBeExtended) String() string { return proto.CompactTextString(m) } -func (*ToBeExtended) ProtoMessage() {} -func (*ToBeExtended) Descriptor() ([]byte, []int) { - return fileDescriptor_1f509089572db8e7, []int{0} -} - -var extRange_ToBeExtended = []proto.ExtensionRange{ - {Start: 10, End: 30}, -} - -func (*ToBeExtended) ExtensionRangeArray() []proto.ExtensionRange { - return extRange_ToBeExtended -} - -func (m *ToBeExtended) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ToBeExtended.Unmarshal(m, b) -} -func (m *ToBeExtended) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ToBeExtended.Marshal(b, m, deterministic) -} -func (m *ToBeExtended) XXX_Merge(src proto.Message) { - xxx_messageInfo_ToBeExtended.Merge(m, src) -} -func (m *ToBeExtended) XXX_Size() int { - return xxx_messageInfo_ToBeExtended.Size(m) -} -func (m *ToBeExtended) XXX_DiscardUnknown() { - xxx_messageInfo_ToBeExtended.DiscardUnknown(m) -} - -var xxx_messageInfo_ToBeExtended proto.InternalMessageInfo - -func (m *ToBeExtended) GetFoo() int32 { - if m != nil && m.Foo != nil { - return *m.Foo - } - return 0 -} - -func init() { - proto.RegisterType((*ToBeExtended)(nil), "grpc.testing.ToBeExtended") -} - -func init() { proto.RegisterFile("proto2.proto", fileDescriptor_1f509089572db8e7) } - -var fileDescriptor_1f509089572db8e7 = []byte{ - // 86 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x29, 0x28, 0xca, 0x2f, - 0xc9, 0x37, 0xd2, 0x03, 0x53, 0x42, 0x3c, 0xe9, 0x45, 0x05, 0xc9, 0x7a, 0x25, 0xa9, 0xc5, 0x25, - 0x99, 0x79, 0xe9, 0x4a, 0x6a, 0x5c, 0x3c, 0x21, 0xf9, 0x4e, 0xa9, 0xae, 0x15, 0x25, 0xa9, 0x79, - 0x29, 0xa9, 0x29, 0x42, 0x02, 0x5c, 0xcc, 0x69, 0xf9, 0xf9, 0x12, 0x8c, 0x0a, 0x4c, 0x1a, 0xac, - 0x41, 0x20, 0xa6, 0x16, 0x0b, 0x07, 0x97, 0x80, 0x3c, 0x20, 0x00, 0x00, 0xff, 0xff, 0x74, 0x86, - 0x9c, 0x08, 0x44, 0x00, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/grpc/reflection/grpc_testing/proto2_ext.pb.go b/vendor/google.golang.org/grpc/reflection/grpc_testing/proto2_ext.pb.go deleted file mode 100644 index f2bfe5f3..00000000 --- a/vendor/google.golang.org/grpc/reflection/grpc_testing/proto2_ext.pb.go +++ /dev/null @@ -1,112 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: proto2_ext.proto - -package grpc_testing - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type Extension struct { - Whatzit *int32 `protobuf:"varint,1,opt,name=whatzit" json:"whatzit,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Extension) Reset() { *m = Extension{} } -func (m *Extension) String() string { return proto.CompactTextString(m) } -func (*Extension) ProtoMessage() {} -func (*Extension) Descriptor() ([]byte, []int) { - return fileDescriptor_85b2817ade17959b, []int{0} -} - -func (m *Extension) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Extension.Unmarshal(m, b) -} -func (m *Extension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Extension.Marshal(b, m, deterministic) -} -func (m *Extension) XXX_Merge(src proto.Message) { - xxx_messageInfo_Extension.Merge(m, src) -} -func (m *Extension) XXX_Size() int { - return xxx_messageInfo_Extension.Size(m) -} -func (m *Extension) XXX_DiscardUnknown() { - xxx_messageInfo_Extension.DiscardUnknown(m) -} - -var xxx_messageInfo_Extension proto.InternalMessageInfo - -func (m *Extension) GetWhatzit() int32 { - if m != nil && m.Whatzit != nil { - return *m.Whatzit - } - return 0 -} - -var E_Foo = &proto.ExtensionDesc{ - ExtendedType: (*ToBeExtended)(nil), - ExtensionType: (*int32)(nil), - Field: 13, - Name: "grpc.testing.foo", - Tag: "varint,13,opt,name=foo", - Filename: "proto2_ext.proto", -} - -var E_Bar = &proto.ExtensionDesc{ - ExtendedType: (*ToBeExtended)(nil), - ExtensionType: (*Extension)(nil), - Field: 17, - Name: "grpc.testing.bar", - Tag: "bytes,17,opt,name=bar", - Filename: "proto2_ext.proto", -} - -var E_Baz = &proto.ExtensionDesc{ - ExtendedType: (*ToBeExtended)(nil), - ExtensionType: (*SearchRequest)(nil), - Field: 19, - Name: "grpc.testing.baz", - Tag: "bytes,19,opt,name=baz", - Filename: "proto2_ext.proto", -} - -func init() { - proto.RegisterType((*Extension)(nil), "grpc.testing.Extension") - proto.RegisterExtension(E_Foo) - proto.RegisterExtension(E_Bar) - proto.RegisterExtension(E_Baz) -} - -func init() { proto.RegisterFile("proto2_ext.proto", fileDescriptor_85b2817ade17959b) } - -var fileDescriptor_85b2817ade17959b = []byte{ - // 179 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x28, 0x28, 0xca, 0x2f, - 0xc9, 0x37, 0x8a, 0x4f, 0xad, 0x28, 0xd1, 0x03, 0x33, 0x85, 0x78, 0xd2, 0x8b, 0x0a, 0x92, 0xf5, - 0x4a, 0x52, 0x8b, 0x4b, 0x32, 0xf3, 0xd2, 0xa5, 0x78, 0x20, 0xf2, 0x10, 0x39, 0x29, 0x2e, 0x90, - 0x30, 0x84, 0xad, 0xa4, 0xca, 0xc5, 0xe9, 0x5a, 0x51, 0x92, 0x9a, 0x57, 0x9c, 0x99, 0x9f, 0x27, - 0x24, 0xc1, 0xc5, 0x5e, 0x9e, 0x91, 0x58, 0x52, 0x95, 0x59, 0x22, 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, - 0x1a, 0x04, 0xe3, 0x5a, 0xe9, 0x70, 0x31, 0xa7, 0xe5, 0xe7, 0x0b, 0x49, 0xe9, 0x21, 0x1b, 0xab, - 0x17, 0x92, 0xef, 0x94, 0x0a, 0xd6, 0x9d, 0x92, 0x9a, 0x22, 0xc1, 0x0b, 0xd6, 0x01, 0x52, 0x66, - 0xe5, 0xca, 0xc5, 0x9c, 0x94, 0x58, 0x84, 0x57, 0xb5, 0xa0, 0x02, 0xa3, 0x06, 0xb7, 0x91, 0x38, - 0xaa, 0x0a, 0xb8, 0x4b, 0x82, 0x40, 0xfa, 0xad, 0x3c, 0x41, 0xc6, 0x54, 0xe1, 0x35, 0x46, 0x18, - 0x6c, 0x8c, 0x34, 0xaa, 0x8a, 0xe0, 0xd4, 0xc4, 0xa2, 0xe4, 0x8c, 0xa0, 0xd4, 0xc2, 0xd2, 0xd4, - 0xe2, 0x12, 0x90, 0x51, 0x55, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x71, 0x6b, 0x94, 0x9f, 0x21, - 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/grpc/reflection/grpc_testing/proto2_ext2.pb.go b/vendor/google.golang.org/grpc/reflection/grpc_testing/proto2_ext2.pb.go deleted file mode 100644 index 6601cfc4..00000000 --- a/vendor/google.golang.org/grpc/reflection/grpc_testing/proto2_ext2.pb.go +++ /dev/null @@ -1,101 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: proto2_ext2.proto - -package grpc_testing - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type AnotherExtension struct { - Whatchamacallit *int32 `protobuf:"varint,1,opt,name=whatchamacallit" json:"whatchamacallit,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AnotherExtension) Reset() { *m = AnotherExtension{} } -func (m *AnotherExtension) String() string { return proto.CompactTextString(m) } -func (*AnotherExtension) ProtoMessage() {} -func (*AnotherExtension) Descriptor() ([]byte, []int) { - return fileDescriptor_21d110045b8a354c, []int{0} -} - -func (m *AnotherExtension) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnotherExtension.Unmarshal(m, b) -} -func (m *AnotherExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnotherExtension.Marshal(b, m, deterministic) -} -func (m *AnotherExtension) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnotherExtension.Merge(m, src) -} -func (m *AnotherExtension) XXX_Size() int { - return xxx_messageInfo_AnotherExtension.Size(m) -} -func (m *AnotherExtension) XXX_DiscardUnknown() { - xxx_messageInfo_AnotherExtension.DiscardUnknown(m) -} - -var xxx_messageInfo_AnotherExtension proto.InternalMessageInfo - -func (m *AnotherExtension) GetWhatchamacallit() int32 { - if m != nil && m.Whatchamacallit != nil { - return *m.Whatchamacallit - } - return 0 -} - -var E_Frob = &proto.ExtensionDesc{ - ExtendedType: (*ToBeExtended)(nil), - ExtensionType: (*string)(nil), - Field: 23, - Name: "grpc.testing.frob", - Tag: "bytes,23,opt,name=frob", - Filename: "proto2_ext2.proto", -} - -var E_Nitz = &proto.ExtensionDesc{ - ExtendedType: (*ToBeExtended)(nil), - ExtensionType: (*AnotherExtension)(nil), - Field: 29, - Name: "grpc.testing.nitz", - Tag: "bytes,29,opt,name=nitz", - Filename: "proto2_ext2.proto", -} - -func init() { - proto.RegisterType((*AnotherExtension)(nil), "grpc.testing.AnotherExtension") - proto.RegisterExtension(E_Frob) - proto.RegisterExtension(E_Nitz) -} - -func init() { proto.RegisterFile("proto2_ext2.proto", fileDescriptor_21d110045b8a354c) } - -var fileDescriptor_21d110045b8a354c = []byte{ - // 165 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x2c, 0x28, 0xca, 0x2f, - 0xc9, 0x37, 0x8a, 0x4f, 0xad, 0x28, 0x31, 0xd2, 0x03, 0xb3, 0x85, 0x78, 0xd2, 0x8b, 0x0a, 0x92, - 0xf5, 0x4a, 0x52, 0x8b, 0x4b, 0x32, 0xf3, 0xd2, 0xa5, 0x78, 0x20, 0x0a, 0x20, 0x72, 0x4a, 0x36, - 0x5c, 0x02, 0x8e, 0x79, 0xf9, 0x25, 0x19, 0xa9, 0x45, 0xae, 0x15, 0x25, 0xa9, 0x79, 0xc5, 0x99, - 0xf9, 0x79, 0x42, 0x1a, 0x5c, 0xfc, 0xe5, 0x19, 0x89, 0x25, 0xc9, 0x19, 0x89, 0xb9, 0x89, 0xc9, - 0x89, 0x39, 0x39, 0x99, 0x25, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0xac, 0x41, 0xe8, 0xc2, 0x56, 0x7a, - 0x5c, 0x2c, 0x69, 0x45, 0xf9, 0x49, 0x42, 0x52, 0x7a, 0xc8, 0x56, 0xe8, 0x85, 0xe4, 0x3b, 0xa5, - 0x82, 0x8d, 0x4b, 0x49, 0x4d, 0x91, 0x10, 0x57, 0x60, 0xd4, 0xe0, 0x0c, 0x02, 0xab, 0xb3, 0xf2, - 0xe3, 0x62, 0xc9, 0xcb, 0x2c, 0xa9, 0xc2, 0xab, 0x5e, 0x56, 0x81, 0x51, 0x83, 0xdb, 0x48, 0x0e, - 0x55, 0x05, 0xba, 0x1b, 0x83, 0xc0, 0xe6, 0x00, 0x02, 0x00, 0x00, 0xff, 0xff, 0xf0, 0x7e, 0x0d, - 0x26, 0xed, 0x00, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/grpc/reflection/grpc_testing/test.pb.go b/vendor/google.golang.org/grpc/reflection/grpc_testing/test.pb.go deleted file mode 100644 index b37f0c2c..00000000 --- a/vendor/google.golang.org/grpc/reflection/grpc_testing/test.pb.go +++ /dev/null @@ -1,334 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: test.proto - -package grpc_testing - -import ( - context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type SearchResponse struct { - Results []*SearchResponse_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SearchResponse) Reset() { *m = SearchResponse{} } -func (m *SearchResponse) String() string { return proto.CompactTextString(m) } -func (*SearchResponse) ProtoMessage() {} -func (*SearchResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c161fcfdc0c3ff1e, []int{0} -} - -func (m *SearchResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchResponse.Unmarshal(m, b) -} -func (m *SearchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchResponse.Marshal(b, m, deterministic) -} -func (m *SearchResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchResponse.Merge(m, src) -} -func (m *SearchResponse) XXX_Size() int { - return xxx_messageInfo_SearchResponse.Size(m) -} -func (m *SearchResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SearchResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchResponse proto.InternalMessageInfo - -func (m *SearchResponse) GetResults() []*SearchResponse_Result { - if m != nil { - return m.Results - } - return nil -} - -type SearchResponse_Result struct { - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` - Snippets []string `protobuf:"bytes,3,rep,name=snippets,proto3" json:"snippets,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SearchResponse_Result) Reset() { *m = SearchResponse_Result{} } -func (m *SearchResponse_Result) String() string { return proto.CompactTextString(m) } -func (*SearchResponse_Result) ProtoMessage() {} -func (*SearchResponse_Result) Descriptor() ([]byte, []int) { - return fileDescriptor_c161fcfdc0c3ff1e, []int{0, 0} -} - -func (m *SearchResponse_Result) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchResponse_Result.Unmarshal(m, b) -} -func (m *SearchResponse_Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchResponse_Result.Marshal(b, m, deterministic) -} -func (m *SearchResponse_Result) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchResponse_Result.Merge(m, src) -} -func (m *SearchResponse_Result) XXX_Size() int { - return xxx_messageInfo_SearchResponse_Result.Size(m) -} -func (m *SearchResponse_Result) XXX_DiscardUnknown() { - xxx_messageInfo_SearchResponse_Result.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchResponse_Result proto.InternalMessageInfo - -func (m *SearchResponse_Result) GetUrl() string { - if m != nil { - return m.Url - } - return "" -} - -func (m *SearchResponse_Result) GetTitle() string { - if m != nil { - return m.Title - } - return "" -} - -func (m *SearchResponse_Result) GetSnippets() []string { - if m != nil { - return m.Snippets - } - return nil -} - -type SearchRequest struct { - Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SearchRequest) Reset() { *m = SearchRequest{} } -func (m *SearchRequest) String() string { return proto.CompactTextString(m) } -func (*SearchRequest) ProtoMessage() {} -func (*SearchRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c161fcfdc0c3ff1e, []int{1} -} - -func (m *SearchRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchRequest.Unmarshal(m, b) -} -func (m *SearchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchRequest.Marshal(b, m, deterministic) -} -func (m *SearchRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchRequest.Merge(m, src) -} -func (m *SearchRequest) XXX_Size() int { - return xxx_messageInfo_SearchRequest.Size(m) -} -func (m *SearchRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SearchRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SearchRequest proto.InternalMessageInfo - -func (m *SearchRequest) GetQuery() string { - if m != nil { - return m.Query - } - return "" -} - -func init() { - proto.RegisterType((*SearchResponse)(nil), "grpc.testing.SearchResponse") - proto.RegisterType((*SearchResponse_Result)(nil), "grpc.testing.SearchResponse.Result") - proto.RegisterType((*SearchRequest)(nil), "grpc.testing.SearchRequest") -} - -func init() { proto.RegisterFile("test.proto", fileDescriptor_c161fcfdc0c3ff1e) } - -var fileDescriptor_c161fcfdc0c3ff1e = []byte{ - // 231 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x91, 0xbd, 0x4a, 0xc5, 0x40, - 0x10, 0x85, 0x59, 0x83, 0xd1, 0x3b, 0xfe, 0x32, 0x58, 0x84, 0x68, 0x11, 0xae, 0x08, 0xa9, 0x16, - 0xb9, 0xd6, 0x56, 0xb6, 0x16, 0xb2, 0x79, 0x82, 0x6b, 0x18, 0xe2, 0x42, 0x4c, 0x36, 0x33, 0x13, - 0xc1, 0x87, 0xb1, 0xf5, 0x39, 0x25, 0x59, 0x23, 0x0a, 0x62, 0x63, 0xb7, 0xe7, 0xe3, 0xcc, 0xb7, - 0xbb, 0x0c, 0x80, 0x92, 0xa8, 0x0d, 0xdc, 0x6b, 0x8f, 0x87, 0x0d, 0x87, 0xda, 0x4e, 0xc0, 0x77, - 0xcd, 0xfa, 0xcd, 0xc0, 0x71, 0x45, 0x5b, 0xae, 0x9f, 0x1c, 0x49, 0xe8, 0x3b, 0x21, 0xbc, 0x85, - 0x3d, 0x26, 0x19, 0x5b, 0x95, 0xcc, 0x14, 0x49, 0x79, 0xb0, 0xb9, 0xb4, 0xdf, 0x47, 0xec, 0xcf, - 0xba, 0x75, 0x73, 0xd7, 0x2d, 0x33, 0xf9, 0x3d, 0xa4, 0x11, 0xe1, 0x29, 0x24, 0x23, 0xb7, 0x99, - 0x29, 0x4c, 0xb9, 0x72, 0xd3, 0x11, 0xcf, 0x60, 0x57, 0xbd, 0xb6, 0x94, 0xed, 0xcc, 0x2c, 0x06, - 0xcc, 0x61, 0x5f, 0x3a, 0x1f, 0x02, 0xa9, 0x64, 0x49, 0x91, 0x94, 0x2b, 0xf7, 0x95, 0xd7, 0x57, - 0x70, 0xb4, 0xdc, 0x37, 0x8c, 0x24, 0x3a, 0x29, 0x86, 0x91, 0xf8, 0xf5, 0x53, 0x1b, 0xc3, 0xe6, - 0xdd, 0x2c, 0xbd, 0x8a, 0xf8, 0xc5, 0xd7, 0x84, 0x77, 0x90, 0x46, 0x80, 0xe7, 0xbf, 0x3f, 0x7f, - 0xd6, 0xe5, 0x17, 0x7f, 0xfd, 0x0d, 0x1f, 0xe0, 0xa4, 0x52, 0xa6, 0xed, 0xb3, 0xef, 0x9a, 0x7f, - 0xdb, 0x4a, 0x73, 0x6d, 0x1e, 0xd3, 0x79, 0x09, 0x37, 0x1f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x20, - 0xd6, 0x09, 0xb8, 0x92, 0x01, 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 - -// SearchServiceClient is the client API for SearchService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type SearchServiceClient interface { - Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResponse, error) - StreamingSearch(ctx context.Context, opts ...grpc.CallOption) (SearchService_StreamingSearchClient, error) -} - -type searchServiceClient struct { - cc *grpc.ClientConn -} - -func NewSearchServiceClient(cc *grpc.ClientConn) SearchServiceClient { - return &searchServiceClient{cc} -} - -func (c *searchServiceClient) Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResponse, error) { - out := new(SearchResponse) - err := c.cc.Invoke(ctx, "/grpc.testing.SearchService/Search", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *searchServiceClient) StreamingSearch(ctx context.Context, opts ...grpc.CallOption) (SearchService_StreamingSearchClient, error) { - stream, err := c.cc.NewStream(ctx, &_SearchService_serviceDesc.Streams[0], "/grpc.testing.SearchService/StreamingSearch", opts...) - if err != nil { - return nil, err - } - x := &searchServiceStreamingSearchClient{stream} - return x, nil -} - -type SearchService_StreamingSearchClient interface { - Send(*SearchRequest) error - Recv() (*SearchResponse, error) - grpc.ClientStream -} - -type searchServiceStreamingSearchClient struct { - grpc.ClientStream -} - -func (x *searchServiceStreamingSearchClient) Send(m *SearchRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *searchServiceStreamingSearchClient) Recv() (*SearchResponse, error) { - m := new(SearchResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// SearchServiceServer is the server API for SearchService service. -type SearchServiceServer interface { - Search(context.Context, *SearchRequest) (*SearchResponse, error) - StreamingSearch(SearchService_StreamingSearchServer) error -} - -// UnimplementedSearchServiceServer can be embedded to have forward compatible implementations. -type UnimplementedSearchServiceServer struct { -} - -func (*UnimplementedSearchServiceServer) Search(ctx context.Context, req *SearchRequest) (*SearchResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Search not implemented") -} -func (*UnimplementedSearchServiceServer) StreamingSearch(srv SearchService_StreamingSearchServer) error { - return status.Errorf(codes.Unimplemented, "method StreamingSearch not implemented") -} - -func RegisterSearchServiceServer(s *grpc.Server, srv SearchServiceServer) { - s.RegisterService(&_SearchService_serviceDesc, srv) -} - -func _SearchService_Search_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SearchServiceServer).Search(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.testing.SearchService/Search", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SearchServiceServer).Search(ctx, req.(*SearchRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SearchService_StreamingSearch_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(SearchServiceServer).StreamingSearch(&searchServiceStreamingSearchServer{stream}) -} - -type SearchService_StreamingSearchServer interface { - Send(*SearchResponse) error - Recv() (*SearchRequest, error) - grpc.ServerStream -} - -type searchServiceStreamingSearchServer struct { - grpc.ServerStream -} - -func (x *searchServiceStreamingSearchServer) Send(m *SearchResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *searchServiceStreamingSearchServer) Recv() (*SearchRequest, error) { - m := new(SearchRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -var _SearchService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "grpc.testing.SearchService", - HandlerType: (*SearchServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Search", - Handler: _SearchService_Search_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "StreamingSearch", - Handler: _SearchService_StreamingSearch_Handler, - ServerStreams: true, - ClientStreams: true, - }, - }, - Metadata: "test.proto", -} diff --git a/vendor/google.golang.org/grpc/reflection/grpc_testingv3/testv3.pb.go b/vendor/google.golang.org/grpc/reflection/grpc_testingv3/testv3.pb.go deleted file mode 100644 index 767efddf..00000000 --- a/vendor/google.golang.org/grpc/reflection/grpc_testingv3/testv3.pb.go +++ /dev/null @@ -1,457 +0,0 @@ -// Code generated by protoc-gen-go. -// source: testv3.proto -// DO NOT EDIT! - -/* -Package grpc_testingv3 is a generated protocol buffer package. - -It is generated from these files: - testv3.proto - -It has these top-level messages: - SearchResponseV3 - SearchRequestV3 -*/ -package grpc_testingv3 - -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 - -type SearchResponseV3_State int32 - -const ( - SearchResponseV3_UNKNOWN SearchResponseV3_State = 0 - SearchResponseV3_FRESH SearchResponseV3_State = 1 - SearchResponseV3_STALE SearchResponseV3_State = 2 -) - -var SearchResponseV3_State_name = map[int32]string{ - 0: "UNKNOWN", - 1: "FRESH", - 2: "STALE", -} -var SearchResponseV3_State_value = map[string]int32{ - "UNKNOWN": 0, - "FRESH": 1, - "STALE": 2, -} - -func (x SearchResponseV3_State) String() string { - return proto.EnumName(SearchResponseV3_State_name, int32(x)) -} -func (SearchResponseV3_State) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 0} } - -type SearchResponseV3 struct { - Results []*SearchResponseV3_Result `protobuf:"bytes,1,rep,name=results" json:"results,omitempty"` - State SearchResponseV3_State `protobuf:"varint,2,opt,name=state,enum=grpc.testingv3.SearchResponseV3_State" json:"state,omitempty"` -} - -func (m *SearchResponseV3) Reset() { *m = SearchResponseV3{} } -func (m *SearchResponseV3) String() string { return proto.CompactTextString(m) } -func (*SearchResponseV3) ProtoMessage() {} -func (*SearchResponseV3) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } - -func (m *SearchResponseV3) GetResults() []*SearchResponseV3_Result { - if m != nil { - return m.Results - } - return nil -} - -func (m *SearchResponseV3) GetState() SearchResponseV3_State { - if m != nil { - return m.State - } - return SearchResponseV3_UNKNOWN -} - -type SearchResponseV3_Result struct { - Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` - Title string `protobuf:"bytes,2,opt,name=title" json:"title,omitempty"` - Snippets []string `protobuf:"bytes,3,rep,name=snippets" json:"snippets,omitempty"` - Metadata map[string]*SearchResponseV3_Result_Value `protobuf:"bytes,4,rep,name=metadata" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` -} - -func (m *SearchResponseV3_Result) Reset() { *m = SearchResponseV3_Result{} } -func (m *SearchResponseV3_Result) String() string { return proto.CompactTextString(m) } -func (*SearchResponseV3_Result) ProtoMessage() {} -func (*SearchResponseV3_Result) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 0} } - -func (m *SearchResponseV3_Result) GetUrl() string { - if m != nil { - return m.Url - } - return "" -} - -func (m *SearchResponseV3_Result) GetTitle() string { - if m != nil { - return m.Title - } - return "" -} - -func (m *SearchResponseV3_Result) GetSnippets() []string { - if m != nil { - return m.Snippets - } - return nil -} - -func (m *SearchResponseV3_Result) GetMetadata() map[string]*SearchResponseV3_Result_Value { - if m != nil { - return m.Metadata - } - return nil -} - -type SearchResponseV3_Result_Value struct { - // Types that are valid to be assigned to Val: - // *SearchResponseV3_Result_Value_Str - // *SearchResponseV3_Result_Value_Int - // *SearchResponseV3_Result_Value_Real - Val isSearchResponseV3_Result_Value_Val `protobuf_oneof:"val"` -} - -func (m *SearchResponseV3_Result_Value) Reset() { *m = SearchResponseV3_Result_Value{} } -func (m *SearchResponseV3_Result_Value) String() string { return proto.CompactTextString(m) } -func (*SearchResponseV3_Result_Value) ProtoMessage() {} -func (*SearchResponseV3_Result_Value) Descriptor() ([]byte, []int) { - return fileDescriptor0, []int{0, 0, 0} -} - -type isSearchResponseV3_Result_Value_Val interface { - isSearchResponseV3_Result_Value_Val() -} - -type SearchResponseV3_Result_Value_Str struct { - Str string `protobuf:"bytes,1,opt,name=str,oneof"` -} -type SearchResponseV3_Result_Value_Int struct { - Int int64 `protobuf:"varint,2,opt,name=int,oneof"` -} -type SearchResponseV3_Result_Value_Real struct { - Real float64 `protobuf:"fixed64,3,opt,name=real,oneof"` -} - -func (*SearchResponseV3_Result_Value_Str) isSearchResponseV3_Result_Value_Val() {} -func (*SearchResponseV3_Result_Value_Int) isSearchResponseV3_Result_Value_Val() {} -func (*SearchResponseV3_Result_Value_Real) isSearchResponseV3_Result_Value_Val() {} - -func (m *SearchResponseV3_Result_Value) GetVal() isSearchResponseV3_Result_Value_Val { - if m != nil { - return m.Val - } - return nil -} - -func (m *SearchResponseV3_Result_Value) GetStr() string { - if x, ok := m.GetVal().(*SearchResponseV3_Result_Value_Str); ok { - return x.Str - } - return "" -} - -func (m *SearchResponseV3_Result_Value) GetInt() int64 { - if x, ok := m.GetVal().(*SearchResponseV3_Result_Value_Int); ok { - return x.Int - } - return 0 -} - -func (m *SearchResponseV3_Result_Value) GetReal() float64 { - if x, ok := m.GetVal().(*SearchResponseV3_Result_Value_Real); ok { - return x.Real - } - return 0 -} - -// XXX_OneofFuncs is for the internal use of the proto package. -func (*SearchResponseV3_Result_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 _SearchResponseV3_Result_Value_OneofMarshaler, _SearchResponseV3_Result_Value_OneofUnmarshaler, _SearchResponseV3_Result_Value_OneofSizer, []interface{}{ - (*SearchResponseV3_Result_Value_Str)(nil), - (*SearchResponseV3_Result_Value_Int)(nil), - (*SearchResponseV3_Result_Value_Real)(nil), - } -} - -func _SearchResponseV3_Result_Value_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*SearchResponseV3_Result_Value) - // val - switch x := m.Val.(type) { - case *SearchResponseV3_Result_Value_Str: - b.EncodeVarint(1<<3 | proto.WireBytes) - b.EncodeStringBytes(x.Str) - case *SearchResponseV3_Result_Value_Int: - b.EncodeVarint(2<<3 | proto.WireVarint) - b.EncodeVarint(uint64(x.Int)) - case *SearchResponseV3_Result_Value_Real: - b.EncodeVarint(3<<3 | proto.WireFixed64) - b.EncodeFixed64(math.Float64bits(x.Real)) - case nil: - default: - return fmt.Errorf("SearchResponseV3_Result_Value.Val has unexpected type %T", x) - } - return nil -} - -func _SearchResponseV3_Result_Value_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*SearchResponseV3_Result_Value) - switch tag { - case 1: // val.str - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.Val = &SearchResponseV3_Result_Value_Str{x} - return true, err - case 2: // val.int - if wire != proto.WireVarint { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeVarint() - m.Val = &SearchResponseV3_Result_Value_Int{int64(x)} - return true, err - case 3: // val.real - if wire != proto.WireFixed64 { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeFixed64() - m.Val = &SearchResponseV3_Result_Value_Real{math.Float64frombits(x)} - return true, err - default: - return false, nil - } -} - -func _SearchResponseV3_Result_Value_OneofSizer(msg proto.Message) (n int) { - m := msg.(*SearchResponseV3_Result_Value) - // val - switch x := m.Val.(type) { - case *SearchResponseV3_Result_Value_Str: - n += proto.SizeVarint(1<<3 | proto.WireBytes) - n += proto.SizeVarint(uint64(len(x.Str))) - n += len(x.Str) - case *SearchResponseV3_Result_Value_Int: - n += proto.SizeVarint(2<<3 | proto.WireVarint) - n += proto.SizeVarint(uint64(x.Int)) - case *SearchResponseV3_Result_Value_Real: - n += proto.SizeVarint(3<<3 | proto.WireFixed64) - n += 8 - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - -type SearchRequestV3 struct { - Query string `protobuf:"bytes,1,opt,name=query" json:"query,omitempty"` -} - -func (m *SearchRequestV3) Reset() { *m = SearchRequestV3{} } -func (m *SearchRequestV3) String() string { return proto.CompactTextString(m) } -func (*SearchRequestV3) ProtoMessage() {} -func (*SearchRequestV3) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} } - -func (m *SearchRequestV3) GetQuery() string { - if m != nil { - return m.Query - } - return "" -} - -func init() { - proto.RegisterType((*SearchResponseV3)(nil), "grpc.testingv3.SearchResponseV3") - proto.RegisterType((*SearchResponseV3_Result)(nil), "grpc.testingv3.SearchResponseV3.Result") - proto.RegisterType((*SearchResponseV3_Result_Value)(nil), "grpc.testingv3.SearchResponseV3.Result.Value") - proto.RegisterType((*SearchRequestV3)(nil), "grpc.testingv3.SearchRequestV3") - proto.RegisterEnum("grpc.testingv3.SearchResponseV3_State", SearchResponseV3_State_name, SearchResponseV3_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.SupportPackageIsVersion3 - -// Client API for SearchServiceV3 service - -type SearchServiceV3Client interface { - Search(ctx context.Context, in *SearchRequestV3, opts ...grpc.CallOption) (*SearchResponseV3, error) - StreamingSearch(ctx context.Context, opts ...grpc.CallOption) (SearchServiceV3_StreamingSearchClient, error) -} - -type searchServiceV3Client struct { - cc *grpc.ClientConn -} - -func NewSearchServiceV3Client(cc *grpc.ClientConn) SearchServiceV3Client { - return &searchServiceV3Client{cc} -} - -func (c *searchServiceV3Client) Search(ctx context.Context, in *SearchRequestV3, opts ...grpc.CallOption) (*SearchResponseV3, error) { - out := new(SearchResponseV3) - err := grpc.Invoke(ctx, "/grpc.testingv3.SearchServiceV3/Search", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *searchServiceV3Client) StreamingSearch(ctx context.Context, opts ...grpc.CallOption) (SearchServiceV3_StreamingSearchClient, error) { - stream, err := grpc.NewClientStream(ctx, &_SearchServiceV3_serviceDesc.Streams[0], c.cc, "/grpc.testingv3.SearchServiceV3/StreamingSearch", opts...) - if err != nil { - return nil, err - } - x := &searchServiceV3StreamingSearchClient{stream} - return x, nil -} - -type SearchServiceV3_StreamingSearchClient interface { - Send(*SearchRequestV3) error - Recv() (*SearchResponseV3, error) - grpc.ClientStream -} - -type searchServiceV3StreamingSearchClient struct { - grpc.ClientStream -} - -func (x *searchServiceV3StreamingSearchClient) Send(m *SearchRequestV3) error { - return x.ClientStream.SendMsg(m) -} - -func (x *searchServiceV3StreamingSearchClient) Recv() (*SearchResponseV3, error) { - m := new(SearchResponseV3) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// Server API for SearchServiceV3 service - -type SearchServiceV3Server interface { - Search(context.Context, *SearchRequestV3) (*SearchResponseV3, error) - StreamingSearch(SearchServiceV3_StreamingSearchServer) error -} - -func RegisterSearchServiceV3Server(s *grpc.Server, srv SearchServiceV3Server) { - s.RegisterService(&_SearchServiceV3_serviceDesc, srv) -} - -func _SearchServiceV3_Search_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchRequestV3) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SearchServiceV3Server).Search(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.testingv3.SearchServiceV3/Search", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SearchServiceV3Server).Search(ctx, req.(*SearchRequestV3)) - } - return interceptor(ctx, in, info, handler) -} - -func _SearchServiceV3_StreamingSearch_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(SearchServiceV3Server).StreamingSearch(&searchServiceV3StreamingSearchServer{stream}) -} - -type SearchServiceV3_StreamingSearchServer interface { - Send(*SearchResponseV3) error - Recv() (*SearchRequestV3, error) - grpc.ServerStream -} - -type searchServiceV3StreamingSearchServer struct { - grpc.ServerStream -} - -func (x *searchServiceV3StreamingSearchServer) Send(m *SearchResponseV3) error { - return x.ServerStream.SendMsg(m) -} - -func (x *searchServiceV3StreamingSearchServer) Recv() (*SearchRequestV3, error) { - m := new(SearchRequestV3) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -var _SearchServiceV3_serviceDesc = grpc.ServiceDesc{ - ServiceName: "grpc.testingv3.SearchServiceV3", - HandlerType: (*SearchServiceV3Server)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Search", - Handler: _SearchServiceV3_Search_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "StreamingSearch", - Handler: _SearchServiceV3_StreamingSearch_Handler, - ServerStreams: true, - ClientStreams: true, - }, - }, - Metadata: fileDescriptor0, -} - -func init() { proto.RegisterFile("testv3.proto", fileDescriptor0) } - -var fileDescriptor0 = []byte{ - // 416 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x93, 0xd1, 0x6a, 0xd4, 0x40, - 0x14, 0x86, 0x77, 0x36, 0x9b, 0x6d, 0xf7, 0xac, 0xb6, 0x61, 0xe8, 0x45, 0xc8, 0x8d, 0x61, 0x2f, - 0x6c, 0x10, 0x0c, 0x92, 0x20, 0x88, 0x78, 0x53, 0x65, 0x65, 0xa1, 0x75, 0xc5, 0x89, 0xae, 0xde, - 0x8e, 0xeb, 0x61, 0x8d, 0x4d, 0xb3, 0xe9, 0xcc, 0x49, 0x60, 0x9f, 0xc5, 0x17, 0xf1, 0x55, 0x7c, - 0x1b, 0x99, 0x99, 0xa6, 0x50, 0x41, 0xba, 0x17, 0xde, 0xcd, 0x7f, 0x38, 0xff, 0x37, 0xff, 0x3f, - 0x24, 0xf0, 0x80, 0x50, 0x53, 0x97, 0xa7, 0x8d, 0xda, 0xd2, 0x96, 0x1f, 0x6d, 0x54, 0xb3, 0x4e, - 0xcd, 0xa8, 0xac, 0x37, 0x5d, 0x3e, 0xfb, 0x39, 0x82, 0xa0, 0x40, 0xa9, 0xd6, 0xdf, 0x05, 0xea, - 0x66, 0x5b, 0x6b, 0x5c, 0xe5, 0xfc, 0x0c, 0x0e, 0x14, 0xea, 0xb6, 0x22, 0x1d, 0xb2, 0xd8, 0x4b, - 0xa6, 0xd9, 0x69, 0x7a, 0xd7, 0x96, 0xfe, 0x6d, 0x49, 0x85, 0xdd, 0x17, 0xbd, 0x8f, 0xbf, 0x02, - 0x5f, 0x93, 0x24, 0x0c, 0x87, 0x31, 0x4b, 0x8e, 0xb2, 0xc7, 0xf7, 0x02, 0x0a, 0xb3, 0x2d, 0x9c, - 0x29, 0xfa, 0x3d, 0x84, 0xb1, 0x23, 0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xd7, 0xbf, - 0x6e, 0x51, 0xf5, 0xd9, 0x9c, 0xc8, 0x7e, 0xb1, 0x7e, 0xb3, 0x40, 0xd5, 0x95, 0x6b, 0xf3, 0x15, - 0x9d, 0xc3, 0xd8, 0x8d, 0xf8, 0xa3, 0x7f, 0x85, 0xbd, 0x81, 0x46, 0xf1, 0x7d, 0x6d, 0xf8, 0x17, - 0x38, 0x2e, 0x48, 0xa1, 0xbc, 0x2a, 0xeb, 0xcd, 0x7f, 0xa3, 0x26, 0xec, 0x19, 0xfb, 0x3a, 0xb6, - 0x3f, 0x46, 0xfe, 0x27, 0x00, 0x00, 0xff, 0xff, 0xed, 0xa2, 0x8d, 0x75, 0x28, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/grpc/stats/grpc_testing/test.pb.go b/vendor/google.golang.org/grpc/stats/grpc_testing/test.pb.go deleted file mode 100644 index 6b853798..00000000 --- a/vendor/google.golang.org/grpc/stats/grpc_testing/test.pb.go +++ /dev/null @@ -1,423 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: grpc_testing/test.proto - -package grpc_testing - -import ( - context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -type SimpleRequest struct { - Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SimpleRequest) Reset() { *m = SimpleRequest{} } -func (m *SimpleRequest) String() string { return proto.CompactTextString(m) } -func (*SimpleRequest) ProtoMessage() {} -func (*SimpleRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e1cda82041fed8bf, []int{0} -} - -func (m *SimpleRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SimpleRequest.Unmarshal(m, b) -} -func (m *SimpleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SimpleRequest.Marshal(b, m, deterministic) -} -func (m *SimpleRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SimpleRequest.Merge(m, src) -} -func (m *SimpleRequest) XXX_Size() int { - return xxx_messageInfo_SimpleRequest.Size(m) -} -func (m *SimpleRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SimpleRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SimpleRequest proto.InternalMessageInfo - -func (m *SimpleRequest) GetId() int32 { - if m != nil { - return m.Id - } - return 0 -} - -type SimpleResponse struct { - Id int32 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SimpleResponse) Reset() { *m = SimpleResponse{} } -func (m *SimpleResponse) String() string { return proto.CompactTextString(m) } -func (*SimpleResponse) ProtoMessage() {} -func (*SimpleResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e1cda82041fed8bf, []int{1} -} - -func (m *SimpleResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SimpleResponse.Unmarshal(m, b) -} -func (m *SimpleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SimpleResponse.Marshal(b, m, deterministic) -} -func (m *SimpleResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SimpleResponse.Merge(m, src) -} -func (m *SimpleResponse) XXX_Size() int { - return xxx_messageInfo_SimpleResponse.Size(m) -} -func (m *SimpleResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SimpleResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SimpleResponse proto.InternalMessageInfo - -func (m *SimpleResponse) GetId() int32 { - if m != nil { - return m.Id - } - return 0 -} - -func init() { - proto.RegisterType((*SimpleRequest)(nil), "grpc.testing.SimpleRequest") - proto.RegisterType((*SimpleResponse)(nil), "grpc.testing.SimpleResponse") -} - -func init() { proto.RegisterFile("grpc_testing/test.proto", fileDescriptor_e1cda82041fed8bf) } - -var fileDescriptor_e1cda82041fed8bf = []byte{ - // 202 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4f, 0x2f, 0x2a, 0x48, - 0x8e, 0x2f, 0x49, 0x2d, 0x2e, 0xc9, 0xcc, 0x4b, 0xd7, 0x07, 0xd1, 0x7a, 0x05, 0x45, 0xf9, 0x25, - 0xf9, 0x42, 0x3c, 0x20, 0x09, 0x3d, 0xa8, 0x84, 0x92, 0x3c, 0x17, 0x6f, 0x70, 0x66, 0x6e, 0x41, - 0x4e, 0x6a, 0x50, 0x6a, 0x61, 0x69, 0x6a, 0x71, 0x89, 0x10, 0x1f, 0x17, 0x53, 0x66, 0x8a, 0x04, - 0x93, 0x02, 0xa3, 0x06, 0x6b, 0x10, 0x53, 0x66, 0x8a, 0x92, 0x02, 0x17, 0x1f, 0x4c, 0x41, 0x71, - 0x41, 0x7e, 0x5e, 0x71, 0x2a, 0x54, 0x05, 0x33, 0x4c, 0x85, 0xd1, 0x09, 0x26, 0x2e, 0xee, 0x90, - 0xd4, 0xe2, 0x92, 0xe0, 0xd4, 0xa2, 0xb2, 0xcc, 0xe4, 0x54, 0x21, 0x37, 0x2e, 0xce, 0xd0, 0xbc, - 0xc4, 0xa2, 0x4a, 0xe7, 0xc4, 0x9c, 0x1c, 0x21, 0x69, 0x3d, 0x64, 0xeb, 0xf4, 0x50, 0xec, 0x92, - 0x92, 0xc1, 0x2e, 0x09, 0xb5, 0xc7, 0x9f, 0x8b, 0xcf, 0xad, 0x34, 0x27, 0xc7, 0xa5, 0xb4, 0x20, - 0x27, 0xb5, 0x82, 0x42, 0xc3, 0x34, 0x18, 0x0d, 0x18, 0x85, 0xfc, 0xb9, 0x04, 0x9c, 0x73, 0x32, - 0x53, 0xf3, 0x4a, 0x82, 0x4b, 0x8a, 0x52, 0x13, 0x73, 0x29, 0x36, 0x12, 0x64, 0x20, 0xc8, 0xd3, - 0xa9, 0x45, 0x54, 0x31, 0xd0, 0x80, 0x31, 0x89, 0x0d, 0x1c, 0x45, 0xc6, 0x80, 0x00, 0x00, 0x00, - 0xff, 0xff, 0x4c, 0x43, 0x27, 0x67, 0xbd, 0x01, 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 - -// TestServiceClient is the client API for TestService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type TestServiceClient interface { - // One request followed by one response. - // The server returns the client id as-is. - UnaryCall(ctx context.Context, in *SimpleRequest, opts ...grpc.CallOption) (*SimpleResponse, error) - // A sequence of requests with each request served by the server immediately. - // As one request could lead to multiple responses, this interface - // demonstrates the idea of full duplexing. - FullDuplexCall(ctx context.Context, opts ...grpc.CallOption) (TestService_FullDuplexCallClient, error) - // Client stream - ClientStreamCall(ctx context.Context, opts ...grpc.CallOption) (TestService_ClientStreamCallClient, error) - // Server stream - ServerStreamCall(ctx context.Context, in *SimpleRequest, opts ...grpc.CallOption) (TestService_ServerStreamCallClient, error) -} - -type testServiceClient struct { - cc *grpc.ClientConn -} - -func NewTestServiceClient(cc *grpc.ClientConn) TestServiceClient { - return &testServiceClient{cc} -} - -func (c *testServiceClient) UnaryCall(ctx context.Context, in *SimpleRequest, opts ...grpc.CallOption) (*SimpleResponse, error) { - out := new(SimpleResponse) - err := c.cc.Invoke(ctx, "/grpc.testing.TestService/UnaryCall", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *testServiceClient) FullDuplexCall(ctx context.Context, opts ...grpc.CallOption) (TestService_FullDuplexCallClient, error) { - stream, err := c.cc.NewStream(ctx, &_TestService_serviceDesc.Streams[0], "/grpc.testing.TestService/FullDuplexCall", opts...) - if err != nil { - return nil, err - } - x := &testServiceFullDuplexCallClient{stream} - return x, nil -} - -type TestService_FullDuplexCallClient interface { - Send(*SimpleRequest) error - Recv() (*SimpleResponse, error) - grpc.ClientStream -} - -type testServiceFullDuplexCallClient struct { - grpc.ClientStream -} - -func (x *testServiceFullDuplexCallClient) Send(m *SimpleRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *testServiceFullDuplexCallClient) Recv() (*SimpleResponse, error) { - m := new(SimpleResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *testServiceClient) ClientStreamCall(ctx context.Context, opts ...grpc.CallOption) (TestService_ClientStreamCallClient, error) { - stream, err := c.cc.NewStream(ctx, &_TestService_serviceDesc.Streams[1], "/grpc.testing.TestService/ClientStreamCall", opts...) - if err != nil { - return nil, err - } - x := &testServiceClientStreamCallClient{stream} - return x, nil -} - -type TestService_ClientStreamCallClient interface { - Send(*SimpleRequest) error - CloseAndRecv() (*SimpleResponse, error) - grpc.ClientStream -} - -type testServiceClientStreamCallClient struct { - grpc.ClientStream -} - -func (x *testServiceClientStreamCallClient) Send(m *SimpleRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *testServiceClientStreamCallClient) CloseAndRecv() (*SimpleResponse, error) { - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - m := new(SimpleResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *testServiceClient) ServerStreamCall(ctx context.Context, in *SimpleRequest, opts ...grpc.CallOption) (TestService_ServerStreamCallClient, error) { - stream, err := c.cc.NewStream(ctx, &_TestService_serviceDesc.Streams[2], "/grpc.testing.TestService/ServerStreamCall", opts...) - if err != nil { - return nil, err - } - x := &testServiceServerStreamCallClient{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 TestService_ServerStreamCallClient interface { - Recv() (*SimpleResponse, error) - grpc.ClientStream -} - -type testServiceServerStreamCallClient struct { - grpc.ClientStream -} - -func (x *testServiceServerStreamCallClient) Recv() (*SimpleResponse, error) { - m := new(SimpleResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// TestServiceServer is the server API for TestService service. -type TestServiceServer interface { - // One request followed by one response. - // The server returns the client id as-is. - UnaryCall(context.Context, *SimpleRequest) (*SimpleResponse, error) - // A sequence of requests with each request served by the server immediately. - // As one request could lead to multiple responses, this interface - // demonstrates the idea of full duplexing. - FullDuplexCall(TestService_FullDuplexCallServer) error - // Client stream - ClientStreamCall(TestService_ClientStreamCallServer) error - // Server stream - ServerStreamCall(*SimpleRequest, TestService_ServerStreamCallServer) error -} - -// UnimplementedTestServiceServer can be embedded to have forward compatible implementations. -type UnimplementedTestServiceServer struct { -} - -func (*UnimplementedTestServiceServer) UnaryCall(ctx context.Context, req *SimpleRequest) (*SimpleResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UnaryCall not implemented") -} -func (*UnimplementedTestServiceServer) FullDuplexCall(srv TestService_FullDuplexCallServer) error { - return status.Errorf(codes.Unimplemented, "method FullDuplexCall not implemented") -} -func (*UnimplementedTestServiceServer) ClientStreamCall(srv TestService_ClientStreamCallServer) error { - return status.Errorf(codes.Unimplemented, "method ClientStreamCall not implemented") -} -func (*UnimplementedTestServiceServer) ServerStreamCall(req *SimpleRequest, srv TestService_ServerStreamCallServer) error { - return status.Errorf(codes.Unimplemented, "method ServerStreamCall not implemented") -} - -func RegisterTestServiceServer(s *grpc.Server, srv TestServiceServer) { - s.RegisterService(&_TestService_serviceDesc, srv) -} - -func _TestService_UnaryCall_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SimpleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TestServiceServer).UnaryCall(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.testing.TestService/UnaryCall", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TestServiceServer).UnaryCall(ctx, req.(*SimpleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TestService_FullDuplexCall_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(TestServiceServer).FullDuplexCall(&testServiceFullDuplexCallServer{stream}) -} - -type TestService_FullDuplexCallServer interface { - Send(*SimpleResponse) error - Recv() (*SimpleRequest, error) - grpc.ServerStream -} - -type testServiceFullDuplexCallServer struct { - grpc.ServerStream -} - -func (x *testServiceFullDuplexCallServer) Send(m *SimpleResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *testServiceFullDuplexCallServer) Recv() (*SimpleRequest, error) { - m := new(SimpleRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _TestService_ClientStreamCall_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(TestServiceServer).ClientStreamCall(&testServiceClientStreamCallServer{stream}) -} - -type TestService_ClientStreamCallServer interface { - SendAndClose(*SimpleResponse) error - Recv() (*SimpleRequest, error) - grpc.ServerStream -} - -type testServiceClientStreamCallServer struct { - grpc.ServerStream -} - -func (x *testServiceClientStreamCallServer) SendAndClose(m *SimpleResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *testServiceClientStreamCallServer) Recv() (*SimpleRequest, error) { - m := new(SimpleRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _TestService_ServerStreamCall_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(SimpleRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(TestServiceServer).ServerStreamCall(m, &testServiceServerStreamCallServer{stream}) -} - -type TestService_ServerStreamCallServer interface { - Send(*SimpleResponse) error - grpc.ServerStream -} - -type testServiceServerStreamCallServer struct { - grpc.ServerStream -} - -func (x *testServiceServerStreamCallServer) Send(m *SimpleResponse) error { - return x.ServerStream.SendMsg(m) -} - -var _TestService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "grpc.testing.TestService", - HandlerType: (*TestServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "UnaryCall", - Handler: _TestService_UnaryCall_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "FullDuplexCall", - Handler: _TestService_FullDuplexCall_Handler, - ServerStreams: true, - ClientStreams: true, - }, - { - StreamName: "ClientStreamCall", - Handler: _TestService_ClientStreamCall_Handler, - ClientStreams: true, - }, - { - StreamName: "ServerStreamCall", - Handler: _TestService_ServerStreamCall_Handler, - ServerStreams: true, - }, - }, - Metadata: "grpc_testing/test.proto", -} diff --git a/vendor/google.golang.org/grpc/stress/grpc_testing/metrics.pb.go b/vendor/google.golang.org/grpc/stress/grpc_testing/metrics.pb.go deleted file mode 100644 index 05bfabb1..00000000 --- a/vendor/google.golang.org/grpc/stress/grpc_testing/metrics.pb.go +++ /dev/null @@ -1,378 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: metrics.proto - -package grpc_testing - -import ( - context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Response message containing the gauge name and value -type GaugeResponse struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Types that are valid to be assigned to Value: - // *GaugeResponse_LongValue - // *GaugeResponse_DoubleValue - // *GaugeResponse_StringValue - Value isGaugeResponse_Value `protobuf_oneof:"value"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GaugeResponse) Reset() { *m = GaugeResponse{} } -func (m *GaugeResponse) String() string { return proto.CompactTextString(m) } -func (*GaugeResponse) ProtoMessage() {} -func (*GaugeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6039342a2ba47b72, []int{0} -} - -func (m *GaugeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GaugeResponse.Unmarshal(m, b) -} -func (m *GaugeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GaugeResponse.Marshal(b, m, deterministic) -} -func (m *GaugeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GaugeResponse.Merge(m, src) -} -func (m *GaugeResponse) XXX_Size() int { - return xxx_messageInfo_GaugeResponse.Size(m) -} -func (m *GaugeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GaugeResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GaugeResponse proto.InternalMessageInfo - -func (m *GaugeResponse) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -type isGaugeResponse_Value interface { - isGaugeResponse_Value() -} - -type GaugeResponse_LongValue struct { - LongValue int64 `protobuf:"varint,2,opt,name=long_value,json=longValue,proto3,oneof"` -} - -type GaugeResponse_DoubleValue struct { - DoubleValue float64 `protobuf:"fixed64,3,opt,name=double_value,json=doubleValue,proto3,oneof"` -} - -type GaugeResponse_StringValue struct { - StringValue string `protobuf:"bytes,4,opt,name=string_value,json=stringValue,proto3,oneof"` -} - -func (*GaugeResponse_LongValue) isGaugeResponse_Value() {} - -func (*GaugeResponse_DoubleValue) isGaugeResponse_Value() {} - -func (*GaugeResponse_StringValue) isGaugeResponse_Value() {} - -func (m *GaugeResponse) GetValue() isGaugeResponse_Value { - if m != nil { - return m.Value - } - return nil -} - -func (m *GaugeResponse) GetLongValue() int64 { - if x, ok := m.GetValue().(*GaugeResponse_LongValue); ok { - return x.LongValue - } - return 0 -} - -func (m *GaugeResponse) GetDoubleValue() float64 { - if x, ok := m.GetValue().(*GaugeResponse_DoubleValue); ok { - return x.DoubleValue - } - return 0 -} - -func (m *GaugeResponse) GetStringValue() string { - if x, ok := m.GetValue().(*GaugeResponse_StringValue); ok { - return x.StringValue - } - return "" -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*GaugeResponse) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*GaugeResponse_LongValue)(nil), - (*GaugeResponse_DoubleValue)(nil), - (*GaugeResponse_StringValue)(nil), - } -} - -// Request message containing the gauge name -type GaugeRequest struct { - 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 *GaugeRequest) Reset() { *m = GaugeRequest{} } -func (m *GaugeRequest) String() string { return proto.CompactTextString(m) } -func (*GaugeRequest) ProtoMessage() {} -func (*GaugeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6039342a2ba47b72, []int{1} -} - -func (m *GaugeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GaugeRequest.Unmarshal(m, b) -} -func (m *GaugeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GaugeRequest.Marshal(b, m, deterministic) -} -func (m *GaugeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GaugeRequest.Merge(m, src) -} -func (m *GaugeRequest) XXX_Size() int { - return xxx_messageInfo_GaugeRequest.Size(m) -} -func (m *GaugeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GaugeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GaugeRequest proto.InternalMessageInfo - -func (m *GaugeRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -type EmptyMessage struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *EmptyMessage) Reset() { *m = EmptyMessage{} } -func (m *EmptyMessage) String() string { return proto.CompactTextString(m) } -func (*EmptyMessage) ProtoMessage() {} -func (*EmptyMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_6039342a2ba47b72, []int{2} -} - -func (m *EmptyMessage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EmptyMessage.Unmarshal(m, b) -} -func (m *EmptyMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EmptyMessage.Marshal(b, m, deterministic) -} -func (m *EmptyMessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_EmptyMessage.Merge(m, src) -} -func (m *EmptyMessage) XXX_Size() int { - return xxx_messageInfo_EmptyMessage.Size(m) -} -func (m *EmptyMessage) XXX_DiscardUnknown() { - xxx_messageInfo_EmptyMessage.DiscardUnknown(m) -} - -var xxx_messageInfo_EmptyMessage proto.InternalMessageInfo - -func init() { - proto.RegisterType((*GaugeResponse)(nil), "grpc.testing.GaugeResponse") - proto.RegisterType((*GaugeRequest)(nil), "grpc.testing.GaugeRequest") - proto.RegisterType((*EmptyMessage)(nil), "grpc.testing.EmptyMessage") -} - -func init() { proto.RegisterFile("metrics.proto", fileDescriptor_6039342a2ba47b72) } - -var fileDescriptor_6039342a2ba47b72 = []byte{ - // 256 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x3f, 0x4f, 0xc3, 0x30, - 0x10, 0xc5, 0x6b, 0x5a, 0xfe, 0xf4, 0x70, 0x3b, 0x78, 0xaa, 0xca, 0x40, 0x14,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x32, 0x1d, 0xf6, 0x4f, 0x87, 0xd7, 0x97, 0x57, 0x87, 0xb3, 0x83, 0x7f, 0xb9, - 0x15, 0xea, 0x09, 0x2e, 0x32, 0xe4, 0x40, 0xff, 0xda, 0x0c, 0x93, 0x1e, 0xb5, 0xd9, 0x9c, 0x85, - 0x2d, 0xdc, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x5e, 0x7d, 0xb2, 0xc9, 0x96, 0x01, 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 - -// MetricsServiceClient is the client API for MetricsService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type MetricsServiceClient interface { - // Returns the values of all the gauges that are currently being maintained by - // the service - GetAllGauges(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (MetricsService_GetAllGaugesClient, error) - // Returns the value of one gauge - GetGauge(ctx context.Context, in *GaugeRequest, opts ...grpc.CallOption) (*GaugeResponse, error) -} - -type metricsServiceClient struct { - cc *grpc.ClientConn -} - -func NewMetricsServiceClient(cc *grpc.ClientConn) MetricsServiceClient { - return &metricsServiceClient{cc} -} - -func (c *metricsServiceClient) GetAllGauges(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (MetricsService_GetAllGaugesClient, error) { - stream, err := c.cc.NewStream(ctx, &_MetricsService_serviceDesc.Streams[0], "/grpc.testing.MetricsService/GetAllGauges", opts...) - if err != nil { - return nil, err - } - x := &metricsServiceGetAllGaugesClient{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 MetricsService_GetAllGaugesClient interface { - Recv() (*GaugeResponse, error) - grpc.ClientStream -} - -type metricsServiceGetAllGaugesClient struct { - grpc.ClientStream -} - -func (x *metricsServiceGetAllGaugesClient) Recv() (*GaugeResponse, error) { - m := new(GaugeResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *metricsServiceClient) GetGauge(ctx context.Context, in *GaugeRequest, opts ...grpc.CallOption) (*GaugeResponse, error) { - out := new(GaugeResponse) - err := c.cc.Invoke(ctx, "/grpc.testing.MetricsService/GetGauge", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// MetricsServiceServer is the server API for MetricsService service. -type MetricsServiceServer interface { - // Returns the values of all the gauges that are currently being maintained by - // the service - GetAllGauges(*EmptyMessage, MetricsService_GetAllGaugesServer) error - // Returns the value of one gauge - GetGauge(context.Context, *GaugeRequest) (*GaugeResponse, error) -} - -// UnimplementedMetricsServiceServer can be embedded to have forward compatible implementations. -type UnimplementedMetricsServiceServer struct { -} - -func (*UnimplementedMetricsServiceServer) GetAllGauges(req *EmptyMessage, srv MetricsService_GetAllGaugesServer) error { - return status.Errorf(codes.Unimplemented, "method GetAllGauges not implemented") -} -func (*UnimplementedMetricsServiceServer) GetGauge(ctx context.Context, req *GaugeRequest) (*GaugeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetGauge not implemented") -} - -func RegisterMetricsServiceServer(s *grpc.Server, srv MetricsServiceServer) { - s.RegisterService(&_MetricsService_serviceDesc, srv) -} - -func _MetricsService_GetAllGauges_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(EmptyMessage) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(MetricsServiceServer).GetAllGauges(m, &metricsServiceGetAllGaugesServer{stream}) -} - -type MetricsService_GetAllGaugesServer interface { - Send(*GaugeResponse) error - grpc.ServerStream -} - -type metricsServiceGetAllGaugesServer struct { - grpc.ServerStream -} - -func (x *metricsServiceGetAllGaugesServer) Send(m *GaugeResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _MetricsService_GetGauge_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GaugeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MetricsServiceServer).GetGauge(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.testing.MetricsService/GetGauge", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MetricsServiceServer).GetGauge(ctx, req.(*GaugeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _MetricsService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "grpc.testing.MetricsService", - HandlerType: (*MetricsServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetGauge", - Handler: _MetricsService_GetGauge_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "GetAllGauges", - Handler: _MetricsService_GetAllGauges_Handler, - ServerStreams: true, - }, - }, - Metadata: "metrics.proto", -} diff --git a/vendor/google.golang.org/grpc/test/codec_perf/perf.pb.go b/vendor/google.golang.org/grpc/test/codec_perf/perf.pb.go deleted file mode 100644 index 43737fdd..00000000 --- a/vendor/google.golang.org/grpc/test/codec_perf/perf.pb.go +++ /dev/null @@ -1,78 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: codec_perf/perf.proto - -package codec_perf - -import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// Buffer is a message that contains a body of bytes that is used to exercise -// encoding and decoding overheads. -type Buffer struct { - Body []byte `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Buffer) Reset() { *m = Buffer{} } -func (m *Buffer) String() string { return proto.CompactTextString(m) } -func (*Buffer) ProtoMessage() {} -func (*Buffer) Descriptor() ([]byte, []int) { - return fileDescriptor_afad72ea7772fe3a, []int{0} -} - -func (m *Buffer) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Buffer.Unmarshal(m, b) -} -func (m *Buffer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Buffer.Marshal(b, m, deterministic) -} -func (m *Buffer) XXX_Merge(src proto.Message) { - xxx_messageInfo_Buffer.Merge(m, src) -} -func (m *Buffer) XXX_Size() int { - return xxx_messageInfo_Buffer.Size(m) -} -func (m *Buffer) XXX_DiscardUnknown() { - xxx_messageInfo_Buffer.DiscardUnknown(m) -} - -var xxx_messageInfo_Buffer proto.InternalMessageInfo - -func (m *Buffer) GetBody() []byte { - if m != nil { - return m.Body - } - return nil -} - -func init() { - proto.RegisterType((*Buffer)(nil), "codec.perf.Buffer") -} - -func init() { proto.RegisterFile("codec_perf/perf.proto", fileDescriptor_afad72ea7772fe3a) } - -var fileDescriptor_afad72ea7772fe3a = []byte{ - // 83 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4d, 0xce, 0x4f, 0x49, - 0x4d, 0x8e, 0x2f, 0x48, 0x2d, 0x4a, 0xd3, 0x07, 0x11, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9, 0x42, - 0x5c, 0x60, 0x61, 0x3d, 0x90, 0x88, 0x92, 0x0c, 0x17, 0x9b, 0x53, 0x69, 0x5a, 0x5a, 0x6a, 0x91, - 0x90, 0x10, 0x17, 0x4b, 0x52, 0x7e, 0x4a, 0xa5, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0x4f, 0x10, 0x98, - 0x9d, 0xc4, 0x06, 0xd6, 0x60, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xa3, 0x5f, 0x4f, 0x3c, 0x49, - 0x00, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/grpc/test/grpc_testing/test.pb.go b/vendor/google.golang.org/grpc/test/grpc_testing/test.pb.go deleted file mode 100644 index 5daa33a2..00000000 --- a/vendor/google.golang.org/grpc/test/grpc_testing/test.pb.go +++ /dev/null @@ -1,984 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: grpc_testing/test.proto - -package grpc_testing - -import ( - context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - 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.ProtoPackageIsVersion3 // please upgrade the proto package - -// The type of payload that should be returned. -type PayloadType int32 - -const ( - // Compressable text format. - PayloadType_COMPRESSABLE PayloadType = 0 - // Uncompressable binary format. - PayloadType_UNCOMPRESSABLE PayloadType = 1 - // Randomly chosen from all other formats defined in this enum. - PayloadType_RANDOM PayloadType = 2 -) - -var PayloadType_name = map[int32]string{ - 0: "COMPRESSABLE", - 1: "UNCOMPRESSABLE", - 2: "RANDOM", -} - -var PayloadType_value = map[string]int32{ - "COMPRESSABLE": 0, - "UNCOMPRESSABLE": 1, - "RANDOM": 2, -} - -func (x PayloadType) String() string { - return proto.EnumName(PayloadType_name, int32(x)) -} - -func (PayloadType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e1cda82041fed8bf, []int{0} -} - -type Empty struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Empty) Reset() { *m = Empty{} } -func (m *Empty) String() string { return proto.CompactTextString(m) } -func (*Empty) ProtoMessage() {} -func (*Empty) Descriptor() ([]byte, []int) { - return fileDescriptor_e1cda82041fed8bf, []int{0} -} - -func (m *Empty) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Empty.Unmarshal(m, b) -} -func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Empty.Marshal(b, m, deterministic) -} -func (m *Empty) XXX_Merge(src proto.Message) { - xxx_messageInfo_Empty.Merge(m, src) -} -func (m *Empty) XXX_Size() int { - return xxx_messageInfo_Empty.Size(m) -} -func (m *Empty) XXX_DiscardUnknown() { - xxx_messageInfo_Empty.DiscardUnknown(m) -} - -var xxx_messageInfo_Empty proto.InternalMessageInfo - -// A block of data, to simply increase gRPC message size. -type Payload struct { - // The type of data in body. - Type PayloadType `protobuf:"varint,1,opt,name=type,proto3,enum=grpc.testing.PayloadType" json:"type,omitempty"` - // Primary contents of payload. - Body []byte `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Payload) Reset() { *m = Payload{} } -func (m *Payload) String() string { return proto.CompactTextString(m) } -func (*Payload) ProtoMessage() {} -func (*Payload) Descriptor() ([]byte, []int) { - return fileDescriptor_e1cda82041fed8bf, []int{1} -} - -func (m *Payload) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Payload.Unmarshal(m, b) -} -func (m *Payload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Payload.Marshal(b, m, deterministic) -} -func (m *Payload) XXX_Merge(src proto.Message) { - xxx_messageInfo_Payload.Merge(m, src) -} -func (m *Payload) XXX_Size() int { - return xxx_messageInfo_Payload.Size(m) -} -func (m *Payload) XXX_DiscardUnknown() { - xxx_messageInfo_Payload.DiscardUnknown(m) -} - -var xxx_messageInfo_Payload proto.InternalMessageInfo - -func (m *Payload) GetType() PayloadType { - if m != nil { - return m.Type - } - return PayloadType_COMPRESSABLE -} - -func (m *Payload) GetBody() []byte { - if m != nil { - return m.Body - } - return nil -} - -// Unary request. -type SimpleRequest struct { - // Desired payload type in the response from the server. - // If response_type is RANDOM, server randomly chooses one from other formats. - ResponseType PayloadType `protobuf:"varint,1,opt,name=response_type,json=responseType,proto3,enum=grpc.testing.PayloadType" json:"response_type,omitempty"` - // Desired payload size in the response from the server. - // If response_type is COMPRESSABLE, this denotes the size before compression. - ResponseSize int32 `protobuf:"varint,2,opt,name=response_size,json=responseSize,proto3" json:"response_size,omitempty"` - // Optional input payload sent along with the request. - Payload *Payload `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` - // Whether SimpleResponse should include username. - FillUsername bool `protobuf:"varint,4,opt,name=fill_username,json=fillUsername,proto3" json:"fill_username,omitempty"` - // Whether SimpleResponse should include OAuth scope. - FillOauthScope bool `protobuf:"varint,5,opt,name=fill_oauth_scope,json=fillOauthScope,proto3" json:"fill_oauth_scope,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SimpleRequest) Reset() { *m = SimpleRequest{} } -func (m *SimpleRequest) String() string { return proto.CompactTextString(m) } -func (*SimpleRequest) ProtoMessage() {} -func (*SimpleRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e1cda82041fed8bf, []int{2} -} - -func (m *SimpleRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SimpleRequest.Unmarshal(m, b) -} -func (m *SimpleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SimpleRequest.Marshal(b, m, deterministic) -} -func (m *SimpleRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SimpleRequest.Merge(m, src) -} -func (m *SimpleRequest) XXX_Size() int { - return xxx_messageInfo_SimpleRequest.Size(m) -} -func (m *SimpleRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SimpleRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SimpleRequest proto.InternalMessageInfo - -func (m *SimpleRequest) GetResponseType() PayloadType { - if m != nil { - return m.ResponseType - } - return PayloadType_COMPRESSABLE -} - -func (m *SimpleRequest) GetResponseSize() int32 { - if m != nil { - return m.ResponseSize - } - return 0 -} - -func (m *SimpleRequest) GetPayload() *Payload { - if m != nil { - return m.Payload - } - return nil -} - -func (m *SimpleRequest) GetFillUsername() bool { - if m != nil { - return m.FillUsername - } - return false -} - -func (m *SimpleRequest) GetFillOauthScope() bool { - if m != nil { - return m.FillOauthScope - } - return false -} - -// Unary response, as configured by the request. -type SimpleResponse struct { - // Payload to increase message size. - Payload *Payload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` - // The user the request came from, for verifying authentication was - // successful when the client expected it. - Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` - // OAuth scope. - OauthScope string `protobuf:"bytes,3,opt,name=oauth_scope,json=oauthScope,proto3" json:"oauth_scope,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SimpleResponse) Reset() { *m = SimpleResponse{} } -func (m *SimpleResponse) String() string { return proto.CompactTextString(m) } -func (*SimpleResponse) ProtoMessage() {} -func (*SimpleResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e1cda82041fed8bf, []int{3} -} - -func (m *SimpleResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SimpleResponse.Unmarshal(m, b) -} -func (m *SimpleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SimpleResponse.Marshal(b, m, deterministic) -} -func (m *SimpleResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SimpleResponse.Merge(m, src) -} -func (m *SimpleResponse) XXX_Size() int { - return xxx_messageInfo_SimpleResponse.Size(m) -} -func (m *SimpleResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SimpleResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SimpleResponse proto.InternalMessageInfo - -func (m *SimpleResponse) GetPayload() *Payload { - if m != nil { - return m.Payload - } - return nil -} - -func (m *SimpleResponse) GetUsername() string { - if m != nil { - return m.Username - } - return "" -} - -func (m *SimpleResponse) GetOauthScope() string { - if m != nil { - return m.OauthScope - } - return "" -} - -// Client-streaming request. -type StreamingInputCallRequest struct { - // Optional input payload sent along with the request. - Payload *Payload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StreamingInputCallRequest) Reset() { *m = StreamingInputCallRequest{} } -func (m *StreamingInputCallRequest) String() string { return proto.CompactTextString(m) } -func (*StreamingInputCallRequest) ProtoMessage() {} -func (*StreamingInputCallRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e1cda82041fed8bf, []int{4} -} - -func (m *StreamingInputCallRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingInputCallRequest.Unmarshal(m, b) -} -func (m *StreamingInputCallRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingInputCallRequest.Marshal(b, m, deterministic) -} -func (m *StreamingInputCallRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingInputCallRequest.Merge(m, src) -} -func (m *StreamingInputCallRequest) XXX_Size() int { - return xxx_messageInfo_StreamingInputCallRequest.Size(m) -} -func (m *StreamingInputCallRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingInputCallRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingInputCallRequest proto.InternalMessageInfo - -func (m *StreamingInputCallRequest) GetPayload() *Payload { - if m != nil { - return m.Payload - } - return nil -} - -// Client-streaming response. -type StreamingInputCallResponse struct { - // Aggregated size of payloads received from the client. - AggregatedPayloadSize int32 `protobuf:"varint,1,opt,name=aggregated_payload_size,json=aggregatedPayloadSize,proto3" json:"aggregated_payload_size,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StreamingInputCallResponse) Reset() { *m = StreamingInputCallResponse{} } -func (m *StreamingInputCallResponse) String() string { return proto.CompactTextString(m) } -func (*StreamingInputCallResponse) ProtoMessage() {} -func (*StreamingInputCallResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e1cda82041fed8bf, []int{5} -} - -func (m *StreamingInputCallResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingInputCallResponse.Unmarshal(m, b) -} -func (m *StreamingInputCallResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingInputCallResponse.Marshal(b, m, deterministic) -} -func (m *StreamingInputCallResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingInputCallResponse.Merge(m, src) -} -func (m *StreamingInputCallResponse) XXX_Size() int { - return xxx_messageInfo_StreamingInputCallResponse.Size(m) -} -func (m *StreamingInputCallResponse) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingInputCallResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingInputCallResponse proto.InternalMessageInfo - -func (m *StreamingInputCallResponse) GetAggregatedPayloadSize() int32 { - if m != nil { - return m.AggregatedPayloadSize - } - return 0 -} - -// Configuration for a particular response. -type ResponseParameters struct { - // Desired payload sizes in responses from the server. - // If response_type is COMPRESSABLE, this denotes the size before compression. - Size int32 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` - // Desired interval between consecutive responses in the response stream in - // microseconds. - IntervalUs int32 `protobuf:"varint,2,opt,name=interval_us,json=intervalUs,proto3" json:"interval_us,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ResponseParameters) Reset() { *m = ResponseParameters{} } -func (m *ResponseParameters) String() string { return proto.CompactTextString(m) } -func (*ResponseParameters) ProtoMessage() {} -func (*ResponseParameters) Descriptor() ([]byte, []int) { - return fileDescriptor_e1cda82041fed8bf, []int{6} -} - -func (m *ResponseParameters) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResponseParameters.Unmarshal(m, b) -} -func (m *ResponseParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResponseParameters.Marshal(b, m, deterministic) -} -func (m *ResponseParameters) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResponseParameters.Merge(m, src) -} -func (m *ResponseParameters) XXX_Size() int { - return xxx_messageInfo_ResponseParameters.Size(m) -} -func (m *ResponseParameters) XXX_DiscardUnknown() { - xxx_messageInfo_ResponseParameters.DiscardUnknown(m) -} - -var xxx_messageInfo_ResponseParameters proto.InternalMessageInfo - -func (m *ResponseParameters) GetSize() int32 { - if m != nil { - return m.Size - } - return 0 -} - -func (m *ResponseParameters) GetIntervalUs() int32 { - if m != nil { - return m.IntervalUs - } - return 0 -} - -// Server-streaming request. -type StreamingOutputCallRequest struct { - // Desired payload type in the response from the server. - // If response_type is RANDOM, the payload from each response in the stream - // might be of different types. This is to simulate a mixed type of payload - // stream. - ResponseType PayloadType `protobuf:"varint,1,opt,name=response_type,json=responseType,proto3,enum=grpc.testing.PayloadType" json:"response_type,omitempty"` - // Configuration for each expected response message. - ResponseParameters []*ResponseParameters `protobuf:"bytes,2,rep,name=response_parameters,json=responseParameters,proto3" json:"response_parameters,omitempty"` - // Optional input payload sent along with the request. - Payload *Payload `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StreamingOutputCallRequest) Reset() { *m = StreamingOutputCallRequest{} } -func (m *StreamingOutputCallRequest) String() string { return proto.CompactTextString(m) } -func (*StreamingOutputCallRequest) ProtoMessage() {} -func (*StreamingOutputCallRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e1cda82041fed8bf, []int{7} -} - -func (m *StreamingOutputCallRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingOutputCallRequest.Unmarshal(m, b) -} -func (m *StreamingOutputCallRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingOutputCallRequest.Marshal(b, m, deterministic) -} -func (m *StreamingOutputCallRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingOutputCallRequest.Merge(m, src) -} -func (m *StreamingOutputCallRequest) XXX_Size() int { - return xxx_messageInfo_StreamingOutputCallRequest.Size(m) -} -func (m *StreamingOutputCallRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingOutputCallRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingOutputCallRequest proto.InternalMessageInfo - -func (m *StreamingOutputCallRequest) GetResponseType() PayloadType { - if m != nil { - return m.ResponseType - } - return PayloadType_COMPRESSABLE -} - -func (m *StreamingOutputCallRequest) GetResponseParameters() []*ResponseParameters { - if m != nil { - return m.ResponseParameters - } - return nil -} - -func (m *StreamingOutputCallRequest) GetPayload() *Payload { - if m != nil { - return m.Payload - } - return nil -} - -// Server-streaming response, as configured by the request and parameters. -type StreamingOutputCallResponse struct { - // Payload to increase response size. - Payload *Payload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StreamingOutputCallResponse) Reset() { *m = StreamingOutputCallResponse{} } -func (m *StreamingOutputCallResponse) String() string { return proto.CompactTextString(m) } -func (*StreamingOutputCallResponse) ProtoMessage() {} -func (*StreamingOutputCallResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e1cda82041fed8bf, []int{8} -} - -func (m *StreamingOutputCallResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingOutputCallResponse.Unmarshal(m, b) -} -func (m *StreamingOutputCallResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingOutputCallResponse.Marshal(b, m, deterministic) -} -func (m *StreamingOutputCallResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingOutputCallResponse.Merge(m, src) -} -func (m *StreamingOutputCallResponse) XXX_Size() int { - return xxx_messageInfo_StreamingOutputCallResponse.Size(m) -} -func (m *StreamingOutputCallResponse) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingOutputCallResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingOutputCallResponse proto.InternalMessageInfo - -func (m *StreamingOutputCallResponse) GetPayload() *Payload { - if m != nil { - return m.Payload - } - return nil -} - -func init() { - proto.RegisterEnum("grpc.testing.PayloadType", PayloadType_name, PayloadType_value) - proto.RegisterType((*Empty)(nil), "grpc.testing.Empty") - proto.RegisterType((*Payload)(nil), "grpc.testing.Payload") - proto.RegisterType((*SimpleRequest)(nil), "grpc.testing.SimpleRequest") - proto.RegisterType((*SimpleResponse)(nil), "grpc.testing.SimpleResponse") - proto.RegisterType((*StreamingInputCallRequest)(nil), "grpc.testing.StreamingInputCallRequest") - proto.RegisterType((*StreamingInputCallResponse)(nil), "grpc.testing.StreamingInputCallResponse") - proto.RegisterType((*ResponseParameters)(nil), "grpc.testing.ResponseParameters") - proto.RegisterType((*StreamingOutputCallRequest)(nil), "grpc.testing.StreamingOutputCallRequest") - proto.RegisterType((*StreamingOutputCallResponse)(nil), "grpc.testing.StreamingOutputCallResponse") -} - -func init() { proto.RegisterFile("grpc_testing/test.proto", fileDescriptor_e1cda82041fed8bf) } - -var fileDescriptor_e1cda82041fed8bf = []byte{ - // 587 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0xdb, 0x6e, 0xd3, 0x40,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xb8, 0xf9, 0x0f, 0xad, 0xae, 0x37, 0xd5, 0x7f, 0xd0, 0xeb, 0x5f, 0x01, 0x00, - 0x00, 0xff, 0xff, 0x07, 0xc7, 0x76, 0x69, 0x9e, 0x06, 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 - -// TestServiceClient is the client API for TestService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type TestServiceClient interface { - // One empty request followed by one empty response. - EmptyCall(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) - // One request followed by one response. - // The server returns the client payload as-is. - UnaryCall(ctx context.Context, in *SimpleRequest, opts ...grpc.CallOption) (*SimpleResponse, error) - // One request followed by a sequence of responses (streamed download). - // The server returns the payload with client desired type and sizes. - StreamingOutputCall(ctx context.Context, in *StreamingOutputCallRequest, opts ...grpc.CallOption) (TestService_StreamingOutputCallClient, error) - // A sequence of requests followed by one response (streamed upload). - // The server returns the aggregated size of client payload as the result. - StreamingInputCall(ctx context.Context, opts ...grpc.CallOption) (TestService_StreamingInputCallClient, error) - // A sequence of requests with each request served by the server immediately. - // As one request could lead to multiple responses, this interface - // demonstrates the idea of full duplexing. - FullDuplexCall(ctx context.Context, opts ...grpc.CallOption) (TestService_FullDuplexCallClient, error) - // A sequence of requests followed by a sequence of responses. - // The server buffers all the client requests and then serves them in order. A - // stream of responses are returned to the client when the server starts with - // first request. - HalfDuplexCall(ctx context.Context, opts ...grpc.CallOption) (TestService_HalfDuplexCallClient, error) -} - -type testServiceClient struct { - cc *grpc.ClientConn -} - -func NewTestServiceClient(cc *grpc.ClientConn) TestServiceClient { - return &testServiceClient{cc} -} - -func (c *testServiceClient) EmptyCall(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) { - out := new(Empty) - err := c.cc.Invoke(ctx, "/grpc.testing.TestService/EmptyCall", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *testServiceClient) UnaryCall(ctx context.Context, in *SimpleRequest, opts ...grpc.CallOption) (*SimpleResponse, error) { - out := new(SimpleResponse) - err := c.cc.Invoke(ctx, "/grpc.testing.TestService/UnaryCall", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *testServiceClient) StreamingOutputCall(ctx context.Context, in *StreamingOutputCallRequest, opts ...grpc.CallOption) (TestService_StreamingOutputCallClient, error) { - stream, err := c.cc.NewStream(ctx, &_TestService_serviceDesc.Streams[0], "/grpc.testing.TestService/StreamingOutputCall", opts...) - if err != nil { - return nil, err - } - x := &testServiceStreamingOutputCallClient{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 TestService_StreamingOutputCallClient interface { - Recv() (*StreamingOutputCallResponse, error) - grpc.ClientStream -} - -type testServiceStreamingOutputCallClient struct { - grpc.ClientStream -} - -func (x *testServiceStreamingOutputCallClient) Recv() (*StreamingOutputCallResponse, error) { - m := new(StreamingOutputCallResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *testServiceClient) StreamingInputCall(ctx context.Context, opts ...grpc.CallOption) (TestService_StreamingInputCallClient, error) { - stream, err := c.cc.NewStream(ctx, &_TestService_serviceDesc.Streams[1], "/grpc.testing.TestService/StreamingInputCall", opts...) - if err != nil { - return nil, err - } - x := &testServiceStreamingInputCallClient{stream} - return x, nil -} - -type TestService_StreamingInputCallClient interface { - Send(*StreamingInputCallRequest) error - CloseAndRecv() (*StreamingInputCallResponse, error) - grpc.ClientStream -} - -type testServiceStreamingInputCallClient struct { - grpc.ClientStream -} - -func (x *testServiceStreamingInputCallClient) Send(m *StreamingInputCallRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *testServiceStreamingInputCallClient) CloseAndRecv() (*StreamingInputCallResponse, error) { - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - m := new(StreamingInputCallResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *testServiceClient) FullDuplexCall(ctx context.Context, opts ...grpc.CallOption) (TestService_FullDuplexCallClient, error) { - stream, err := c.cc.NewStream(ctx, &_TestService_serviceDesc.Streams[2], "/grpc.testing.TestService/FullDuplexCall", opts...) - if err != nil { - return nil, err - } - x := &testServiceFullDuplexCallClient{stream} - return x, nil -} - -type TestService_FullDuplexCallClient interface { - Send(*StreamingOutputCallRequest) error - Recv() (*StreamingOutputCallResponse, error) - grpc.ClientStream -} - -type testServiceFullDuplexCallClient struct { - grpc.ClientStream -} - -func (x *testServiceFullDuplexCallClient) Send(m *StreamingOutputCallRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *testServiceFullDuplexCallClient) Recv() (*StreamingOutputCallResponse, error) { - m := new(StreamingOutputCallResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *testServiceClient) HalfDuplexCall(ctx context.Context, opts ...grpc.CallOption) (TestService_HalfDuplexCallClient, error) { - stream, err := c.cc.NewStream(ctx, &_TestService_serviceDesc.Streams[3], "/grpc.testing.TestService/HalfDuplexCall", opts...) - if err != nil { - return nil, err - } - x := &testServiceHalfDuplexCallClient{stream} - return x, nil -} - -type TestService_HalfDuplexCallClient interface { - Send(*StreamingOutputCallRequest) error - Recv() (*StreamingOutputCallResponse, error) - grpc.ClientStream -} - -type testServiceHalfDuplexCallClient struct { - grpc.ClientStream -} - -func (x *testServiceHalfDuplexCallClient) Send(m *StreamingOutputCallRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *testServiceHalfDuplexCallClient) Recv() (*StreamingOutputCallResponse, error) { - m := new(StreamingOutputCallResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// TestServiceServer is the server API for TestService service. -type TestServiceServer interface { - // One empty request followed by one empty response. - EmptyCall(context.Context, *Empty) (*Empty, error) - // One request followed by one response. - // The server returns the client payload as-is. - UnaryCall(context.Context, *SimpleRequest) (*SimpleResponse, error) - // One request followed by a sequence of responses (streamed download). - // The server returns the payload with client desired type and sizes. - StreamingOutputCall(*StreamingOutputCallRequest, TestService_StreamingOutputCallServer) error - // A sequence of requests followed by one response (streamed upload). - // The server returns the aggregated size of client payload as the result. - StreamingInputCall(TestService_StreamingInputCallServer) error - // A sequence of requests with each request served by the server immediately. - // As one request could lead to multiple responses, this interface - // demonstrates the idea of full duplexing. - FullDuplexCall(TestService_FullDuplexCallServer) error - // A sequence of requests followed by a sequence of responses. - // The server buffers all the client requests and then serves them in order. A - // stream of responses are returned to the client when the server starts with - // first request. - HalfDuplexCall(TestService_HalfDuplexCallServer) error -} - -// UnimplementedTestServiceServer can be embedded to have forward compatible implementations. -type UnimplementedTestServiceServer struct { -} - -func (*UnimplementedTestServiceServer) EmptyCall(ctx context.Context, req *Empty) (*Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method EmptyCall not implemented") -} -func (*UnimplementedTestServiceServer) UnaryCall(ctx context.Context, req *SimpleRequest) (*SimpleResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UnaryCall not implemented") -} -func (*UnimplementedTestServiceServer) StreamingOutputCall(req *StreamingOutputCallRequest, srv TestService_StreamingOutputCallServer) error { - return status.Errorf(codes.Unimplemented, "method StreamingOutputCall not implemented") -} -func (*UnimplementedTestServiceServer) StreamingInputCall(srv TestService_StreamingInputCallServer) error { - return status.Errorf(codes.Unimplemented, "method StreamingInputCall not implemented") -} -func (*UnimplementedTestServiceServer) FullDuplexCall(srv TestService_FullDuplexCallServer) error { - return status.Errorf(codes.Unimplemented, "method FullDuplexCall not implemented") -} -func (*UnimplementedTestServiceServer) HalfDuplexCall(srv TestService_HalfDuplexCallServer) error { - return status.Errorf(codes.Unimplemented, "method HalfDuplexCall not implemented") -} - -func RegisterTestServiceServer(s *grpc.Server, srv TestServiceServer) { - s.RegisterService(&_TestService_serviceDesc, srv) -} - -func _TestService_EmptyCall_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Empty) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TestServiceServer).EmptyCall(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.testing.TestService/EmptyCall", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TestServiceServer).EmptyCall(ctx, req.(*Empty)) - } - return interceptor(ctx, in, info, handler) -} - -func _TestService_UnaryCall_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SimpleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TestServiceServer).UnaryCall(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/grpc.testing.TestService/UnaryCall", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TestServiceServer).UnaryCall(ctx, req.(*SimpleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TestService_StreamingOutputCall_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(StreamingOutputCallRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(TestServiceServer).StreamingOutputCall(m, &testServiceStreamingOutputCallServer{stream}) -} - -type TestService_StreamingOutputCallServer interface { - Send(*StreamingOutputCallResponse) error - grpc.ServerStream -} - -type testServiceStreamingOutputCallServer struct { - grpc.ServerStream -} - -func (x *testServiceStreamingOutputCallServer) Send(m *StreamingOutputCallResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _TestService_StreamingInputCall_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(TestServiceServer).StreamingInputCall(&testServiceStreamingInputCallServer{stream}) -} - -type TestService_StreamingInputCallServer interface { - SendAndClose(*StreamingInputCallResponse) error - Recv() (*StreamingInputCallRequest, error) - grpc.ServerStream -} - -type testServiceStreamingInputCallServer struct { - grpc.ServerStream -} - -func (x *testServiceStreamingInputCallServer) SendAndClose(m *StreamingInputCallResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *testServiceStreamingInputCallServer) Recv() (*StreamingInputCallRequest, error) { - m := new(StreamingInputCallRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _TestService_FullDuplexCall_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(TestServiceServer).FullDuplexCall(&testServiceFullDuplexCallServer{stream}) -} - -type TestService_FullDuplexCallServer interface { - Send(*StreamingOutputCallResponse) error - Recv() (*StreamingOutputCallRequest, error) - grpc.ServerStream -} - -type testServiceFullDuplexCallServer struct { - grpc.ServerStream -} - -func (x *testServiceFullDuplexCallServer) Send(m *StreamingOutputCallResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *testServiceFullDuplexCallServer) Recv() (*StreamingOutputCallRequest, error) { - m := new(StreamingOutputCallRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _TestService_HalfDuplexCall_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(TestServiceServer).HalfDuplexCall(&testServiceHalfDuplexCallServer{stream}) -} - -type TestService_HalfDuplexCallServer interface { - Send(*StreamingOutputCallResponse) error - Recv() (*StreamingOutputCallRequest, error) - grpc.ServerStream -} - -type testServiceHalfDuplexCallServer struct { - grpc.ServerStream -} - -func (x *testServiceHalfDuplexCallServer) Send(m *StreamingOutputCallResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *testServiceHalfDuplexCallServer) Recv() (*StreamingOutputCallRequest, error) { - m := new(StreamingOutputCallRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -var _TestService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "grpc.testing.TestService", - HandlerType: (*TestServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "EmptyCall", - Handler: _TestService_EmptyCall_Handler, - }, - { - MethodName: "UnaryCall", - Handler: _TestService_UnaryCall_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "StreamingOutputCall", - Handler: _TestService_StreamingOutputCall_Handler, - ServerStreams: true, - }, - { - StreamName: "StreamingInputCall", - Handler: _TestService_StreamingInputCall_Handler, - ClientStreams: true, - }, - { - StreamName: "FullDuplexCall", - Handler: _TestService_FullDuplexCall_Handler, - ServerStreams: true, - ClientStreams: true, - }, - { - StreamName: "HalfDuplexCall", - Handler: _TestService_HalfDuplexCall_Handler, - ServerStreams: true, - ClientStreams: true, - }, - }, - Metadata: "grpc_testing/test.proto", -} diff --git a/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/auth/cert/cert.pb.go b/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/auth/cert/cert.pb.go deleted file mode 100755 index d39d9317..00000000 --- a/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/auth/cert/cert.pb.go +++ /dev/null @@ -1,1144 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: envoy/api/v2/auth/cert.proto - -package auth - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import wrappers "github.com/golang/protobuf/ptypes/wrappers" -import base "google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/base" -import config_source "google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/config_source" -import _ "google.golang.org/grpc/xds/internal/proto/validate" - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation 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 TlsParameters_TlsProtocol int32 - -const ( - TlsParameters_TLS_AUTO TlsParameters_TlsProtocol = 0 - TlsParameters_TLSv1_0 TlsParameters_TlsProtocol = 1 - TlsParameters_TLSv1_1 TlsParameters_TlsProtocol = 2 - TlsParameters_TLSv1_2 TlsParameters_TlsProtocol = 3 - TlsParameters_TLSv1_3 TlsParameters_TlsProtocol = 4 -) - -var TlsParameters_TlsProtocol_name = map[int32]string{ - 0: "TLS_AUTO", - 1: "TLSv1_0", - 2: "TLSv1_1", - 3: "TLSv1_2", - 4: "TLSv1_3", -} -var TlsParameters_TlsProtocol_value = map[string]int32{ - "TLS_AUTO": 0, - "TLSv1_0": 1, - "TLSv1_1": 2, - "TLSv1_2": 3, - "TLSv1_3": 4, -} - -func (x TlsParameters_TlsProtocol) String() string { - return proto.EnumName(TlsParameters_TlsProtocol_name, int32(x)) -} -func (TlsParameters_TlsProtocol) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cert_f82beca1d890b9d7, []int{0, 0} -} - -type TlsParameters struct { - TlsMinimumProtocolVersion TlsParameters_TlsProtocol `protobuf:"varint,1,opt,name=tls_minimum_protocol_version,json=tlsMinimumProtocolVersion,proto3,enum=envoy.api.v2.auth.TlsParameters_TlsProtocol" json:"tls_minimum_protocol_version,omitempty"` - TlsMaximumProtocolVersion TlsParameters_TlsProtocol `protobuf:"varint,2,opt,name=tls_maximum_protocol_version,json=tlsMaximumProtocolVersion,proto3,enum=envoy.api.v2.auth.TlsParameters_TlsProtocol" json:"tls_maximum_protocol_version,omitempty"` - CipherSuites []string `protobuf:"bytes,3,rep,name=cipher_suites,json=cipherSuites,proto3" json:"cipher_suites,omitempty"` - EcdhCurves []string `protobuf:"bytes,4,rep,name=ecdh_curves,json=ecdhCurves,proto3" json:"ecdh_curves,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TlsParameters) Reset() { *m = TlsParameters{} } -func (m *TlsParameters) String() string { return proto.CompactTextString(m) } -func (*TlsParameters) ProtoMessage() {} -func (*TlsParameters) Descriptor() ([]byte, []int) { - return fileDescriptor_cert_f82beca1d890b9d7, []int{0} -} -func (m *TlsParameters) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TlsParameters.Unmarshal(m, b) -} -func (m *TlsParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TlsParameters.Marshal(b, m, deterministic) -} -func (dst *TlsParameters) XXX_Merge(src proto.Message) { - xxx_messageInfo_TlsParameters.Merge(dst, src) -} -func (m *TlsParameters) XXX_Size() int { - return xxx_messageInfo_TlsParameters.Size(m) -} -func (m *TlsParameters) XXX_DiscardUnknown() { - xxx_messageInfo_TlsParameters.DiscardUnknown(m) -} - -var xxx_messageInfo_TlsParameters proto.InternalMessageInfo - -func (m *TlsParameters) GetTlsMinimumProtocolVersion() TlsParameters_TlsProtocol { - if m != nil { - return m.TlsMinimumProtocolVersion - } - return TlsParameters_TLS_AUTO -} - -func (m *TlsParameters) GetTlsMaximumProtocolVersion() TlsParameters_TlsProtocol { - if m != nil { - return m.TlsMaximumProtocolVersion - } - return TlsParameters_TLS_AUTO -} - -func (m *TlsParameters) GetCipherSuites() []string { - if m != nil { - return m.CipherSuites - } - return nil -} - -func (m *TlsParameters) GetEcdhCurves() []string { - if m != nil { - return m.EcdhCurves - } - return nil -} - -type TlsCertificate struct { - CertificateChain *base.DataSource `protobuf:"bytes,1,opt,name=certificate_chain,json=certificateChain,proto3" json:"certificate_chain,omitempty"` - PrivateKey *base.DataSource `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` - Password *base.DataSource `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` - OcspStaple *base.DataSource `protobuf:"bytes,4,opt,name=ocsp_staple,json=ocspStaple,proto3" json:"ocsp_staple,omitempty"` - SignedCertificateTimestamp []*base.DataSource `protobuf:"bytes,5,rep,name=signed_certificate_timestamp,json=signedCertificateTimestamp,proto3" json:"signed_certificate_timestamp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TlsCertificate) Reset() { *m = TlsCertificate{} } -func (m *TlsCertificate) String() string { return proto.CompactTextString(m) } -func (*TlsCertificate) ProtoMessage() {} -func (*TlsCertificate) Descriptor() ([]byte, []int) { - return fileDescriptor_cert_f82beca1d890b9d7, []int{1} -} -func (m *TlsCertificate) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TlsCertificate.Unmarshal(m, b) -} -func (m *TlsCertificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TlsCertificate.Marshal(b, m, deterministic) -} -func (dst *TlsCertificate) XXX_Merge(src proto.Message) { - xxx_messageInfo_TlsCertificate.Merge(dst, src) -} -func (m *TlsCertificate) XXX_Size() int { - return xxx_messageInfo_TlsCertificate.Size(m) -} -func (m *TlsCertificate) XXX_DiscardUnknown() { - xxx_messageInfo_TlsCertificate.DiscardUnknown(m) -} - -var xxx_messageInfo_TlsCertificate proto.InternalMessageInfo - -func (m *TlsCertificate) GetCertificateChain() *base.DataSource { - if m != nil { - return m.CertificateChain - } - return nil -} - -func (m *TlsCertificate) GetPrivateKey() *base.DataSource { - if m != nil { - return m.PrivateKey - } - return nil -} - -func (m *TlsCertificate) GetPassword() *base.DataSource { - if m != nil { - return m.Password - } - return nil -} - -func (m *TlsCertificate) GetOcspStaple() *base.DataSource { - if m != nil { - return m.OcspStaple - } - return nil -} - -func (m *TlsCertificate) GetSignedCertificateTimestamp() []*base.DataSource { - if m != nil { - return m.SignedCertificateTimestamp - } - return nil -} - -type TlsSessionTicketKeys struct { - Keys []*base.DataSource `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TlsSessionTicketKeys) Reset() { *m = TlsSessionTicketKeys{} } -func (m *TlsSessionTicketKeys) String() string { return proto.CompactTextString(m) } -func (*TlsSessionTicketKeys) ProtoMessage() {} -func (*TlsSessionTicketKeys) Descriptor() ([]byte, []int) { - return fileDescriptor_cert_f82beca1d890b9d7, []int{2} -} -func (m *TlsSessionTicketKeys) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TlsSessionTicketKeys.Unmarshal(m, b) -} -func (m *TlsSessionTicketKeys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TlsSessionTicketKeys.Marshal(b, m, deterministic) -} -func (dst *TlsSessionTicketKeys) XXX_Merge(src proto.Message) { - xxx_messageInfo_TlsSessionTicketKeys.Merge(dst, src) -} -func (m *TlsSessionTicketKeys) XXX_Size() int { - return xxx_messageInfo_TlsSessionTicketKeys.Size(m) -} -func (m *TlsSessionTicketKeys) XXX_DiscardUnknown() { - xxx_messageInfo_TlsSessionTicketKeys.DiscardUnknown(m) -} - -var xxx_messageInfo_TlsSessionTicketKeys proto.InternalMessageInfo - -func (m *TlsSessionTicketKeys) GetKeys() []*base.DataSource { - if m != nil { - return m.Keys - } - return nil -} - -type CertificateValidationContext struct { - TrustedCa *base.DataSource `protobuf:"bytes,1,opt,name=trusted_ca,json=trustedCa,proto3" json:"trusted_ca,omitempty"` - VerifyCertificateSpki []string `protobuf:"bytes,3,rep,name=verify_certificate_spki,json=verifyCertificateSpki,proto3" json:"verify_certificate_spki,omitempty"` - VerifyCertificateHash []string `protobuf:"bytes,2,rep,name=verify_certificate_hash,json=verifyCertificateHash,proto3" json:"verify_certificate_hash,omitempty"` - VerifySubjectAltName []string `protobuf:"bytes,4,rep,name=verify_subject_alt_name,json=verifySubjectAltName,proto3" json:"verify_subject_alt_name,omitempty"` - RequireOcspStaple *wrappers.BoolValue `protobuf:"bytes,5,opt,name=require_ocsp_staple,json=requireOcspStaple,proto3" json:"require_ocsp_staple,omitempty"` - RequireSignedCertificateTimestamp *wrappers.BoolValue `protobuf:"bytes,6,opt,name=require_signed_certificate_timestamp,json=requireSignedCertificateTimestamp,proto3" json:"require_signed_certificate_timestamp,omitempty"` - Crl *base.DataSource `protobuf:"bytes,7,opt,name=crl,proto3" json:"crl,omitempty"` - AllowExpiredCertificate bool `protobuf:"varint,8,opt,name=allow_expired_certificate,json=allowExpiredCertificate,proto3" json:"allow_expired_certificate,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CertificateValidationContext) Reset() { *m = CertificateValidationContext{} } -func (m *CertificateValidationContext) String() string { return proto.CompactTextString(m) } -func (*CertificateValidationContext) ProtoMessage() {} -func (*CertificateValidationContext) Descriptor() ([]byte, []int) { - return fileDescriptor_cert_f82beca1d890b9d7, []int{3} -} -func (m *CertificateValidationContext) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CertificateValidationContext.Unmarshal(m, b) -} -func (m *CertificateValidationContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CertificateValidationContext.Marshal(b, m, deterministic) -} -func (dst *CertificateValidationContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_CertificateValidationContext.Merge(dst, src) -} -func (m *CertificateValidationContext) XXX_Size() int { - return xxx_messageInfo_CertificateValidationContext.Size(m) -} -func (m *CertificateValidationContext) XXX_DiscardUnknown() { - xxx_messageInfo_CertificateValidationContext.DiscardUnknown(m) -} - -var xxx_messageInfo_CertificateValidationContext proto.InternalMessageInfo - -func (m *CertificateValidationContext) GetTrustedCa() *base.DataSource { - if m != nil { - return m.TrustedCa - } - return nil -} - -func (m *CertificateValidationContext) GetVerifyCertificateSpki() []string { - if m != nil { - return m.VerifyCertificateSpki - } - return nil -} - -func (m *CertificateValidationContext) GetVerifyCertificateHash() []string { - if m != nil { - return m.VerifyCertificateHash - } - return nil -} - -func (m *CertificateValidationContext) GetVerifySubjectAltName() []string { - if m != nil { - return m.VerifySubjectAltName - } - return nil -} - -func (m *CertificateValidationContext) GetRequireOcspStaple() *wrappers.BoolValue { - if m != nil { - return m.RequireOcspStaple - } - return nil -} - -func (m *CertificateValidationContext) GetRequireSignedCertificateTimestamp() *wrappers.BoolValue { - if m != nil { - return m.RequireSignedCertificateTimestamp - } - return nil -} - -func (m *CertificateValidationContext) GetCrl() *base.DataSource { - if m != nil { - return m.Crl - } - return nil -} - -func (m *CertificateValidationContext) GetAllowExpiredCertificate() bool { - if m != nil { - return m.AllowExpiredCertificate - } - return false -} - -type CommonTlsContext struct { - TlsParams *TlsParameters `protobuf:"bytes,1,opt,name=tls_params,json=tlsParams,proto3" json:"tls_params,omitempty"` - TlsCertificates []*TlsCertificate `protobuf:"bytes,2,rep,name=tls_certificates,json=tlsCertificates,proto3" json:"tls_certificates,omitempty"` - TlsCertificateSdsSecretConfigs []*SdsSecretConfig `protobuf:"bytes,6,rep,name=tls_certificate_sds_secret_configs,json=tlsCertificateSdsSecretConfigs,proto3" json:"tls_certificate_sds_secret_configs,omitempty"` - // Types that are valid to be assigned to ValidationContextType: - // *CommonTlsContext_ValidationContext - // *CommonTlsContext_ValidationContextSdsSecretConfig - // *CommonTlsContext_CombinedValidationContext - ValidationContextType isCommonTlsContext_ValidationContextType `protobuf_oneof:"validation_context_type"` - AlpnProtocols []string `protobuf:"bytes,4,rep,name=alpn_protocols,json=alpnProtocols,proto3" json:"alpn_protocols,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CommonTlsContext) Reset() { *m = CommonTlsContext{} } -func (m *CommonTlsContext) String() string { return proto.CompactTextString(m) } -func (*CommonTlsContext) ProtoMessage() {} -func (*CommonTlsContext) Descriptor() ([]byte, []int) { - return fileDescriptor_cert_f82beca1d890b9d7, []int{4} -} -func (m *CommonTlsContext) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommonTlsContext.Unmarshal(m, b) -} -func (m *CommonTlsContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommonTlsContext.Marshal(b, m, deterministic) -} -func (dst *CommonTlsContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommonTlsContext.Merge(dst, src) -} -func (m *CommonTlsContext) XXX_Size() int { - return xxx_messageInfo_CommonTlsContext.Size(m) -} -func (m *CommonTlsContext) XXX_DiscardUnknown() { - xxx_messageInfo_CommonTlsContext.DiscardUnknown(m) -} - -var xxx_messageInfo_CommonTlsContext proto.InternalMessageInfo - -func (m *CommonTlsContext) GetTlsParams() *TlsParameters { - if m != nil { - return m.TlsParams - } - return nil -} - -func (m *CommonTlsContext) GetTlsCertificates() []*TlsCertificate { - if m != nil { - return m.TlsCertificates - } - return nil -} - -func (m *CommonTlsContext) GetTlsCertificateSdsSecretConfigs() []*SdsSecretConfig { - if m != nil { - return m.TlsCertificateSdsSecretConfigs - } - return nil -} - -type isCommonTlsContext_ValidationContextType interface { - isCommonTlsContext_ValidationContextType() -} - -type CommonTlsContext_ValidationContext struct { - ValidationContext *CertificateValidationContext `protobuf:"bytes,3,opt,name=validation_context,json=validationContext,proto3,oneof"` -} - -type CommonTlsContext_ValidationContextSdsSecretConfig struct { - ValidationContextSdsSecretConfig *SdsSecretConfig `protobuf:"bytes,7,opt,name=validation_context_sds_secret_config,json=validationContextSdsSecretConfig,proto3,oneof"` -} - -type CommonTlsContext_CombinedValidationContext struct { - CombinedValidationContext *CommonTlsContext_CombinedCertificateValidationContext `protobuf:"bytes,8,opt,name=combined_validation_context,json=combinedValidationContext,proto3,oneof"` -} - -func (*CommonTlsContext_ValidationContext) isCommonTlsContext_ValidationContextType() {} - -func (*CommonTlsContext_ValidationContextSdsSecretConfig) isCommonTlsContext_ValidationContextType() {} - -func (*CommonTlsContext_CombinedValidationContext) isCommonTlsContext_ValidationContextType() {} - -func (m *CommonTlsContext) GetValidationContextType() isCommonTlsContext_ValidationContextType { - if m != nil { - return m.ValidationContextType - } - return nil -} - -func (m *CommonTlsContext) GetValidationContext() *CertificateValidationContext { - if x, ok := m.GetValidationContextType().(*CommonTlsContext_ValidationContext); ok { - return x.ValidationContext - } - return nil -} - -func (m *CommonTlsContext) GetValidationContextSdsSecretConfig() *SdsSecretConfig { - if x, ok := m.GetValidationContextType().(*CommonTlsContext_ValidationContextSdsSecretConfig); ok { - return x.ValidationContextSdsSecretConfig - } - return nil -} - -func (m *CommonTlsContext) GetCombinedValidationContext() *CommonTlsContext_CombinedCertificateValidationContext { - if x, ok := m.GetValidationContextType().(*CommonTlsContext_CombinedValidationContext); ok { - return x.CombinedValidationContext - } - return nil -} - -func (m *CommonTlsContext) GetAlpnProtocols() []string { - if m != nil { - return m.AlpnProtocols - } - return nil -} - -// XXX_OneofFuncs is for the internal use of the proto package. -func (*CommonTlsContext) 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 _CommonTlsContext_OneofMarshaler, _CommonTlsContext_OneofUnmarshaler, _CommonTlsContext_OneofSizer, []interface{}{ - (*CommonTlsContext_ValidationContext)(nil), - (*CommonTlsContext_ValidationContextSdsSecretConfig)(nil), - (*CommonTlsContext_CombinedValidationContext)(nil), - } -} - -func _CommonTlsContext_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*CommonTlsContext) - // validation_context_type - switch x := m.ValidationContextType.(type) { - case *CommonTlsContext_ValidationContext: - b.EncodeVarint(3<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.ValidationContext); err != nil { - return err - } - case *CommonTlsContext_ValidationContextSdsSecretConfig: - b.EncodeVarint(7<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.ValidationContextSdsSecretConfig); err != nil { - return err - } - case *CommonTlsContext_CombinedValidationContext: - b.EncodeVarint(8<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.CombinedValidationContext); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("CommonTlsContext.ValidationContextType has unexpected type %T", x) - } - return nil -} - -func _CommonTlsContext_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*CommonTlsContext) - switch tag { - case 3: // validation_context_type.validation_context - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(CertificateValidationContext) - err := b.DecodeMessage(msg) - m.ValidationContextType = &CommonTlsContext_ValidationContext{msg} - return true, err - case 7: // validation_context_type.validation_context_sds_secret_config - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(SdsSecretConfig) - err := b.DecodeMessage(msg) - m.ValidationContextType = &CommonTlsContext_ValidationContextSdsSecretConfig{msg} - return true, err - case 8: // validation_context_type.combined_validation_context - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(CommonTlsContext_CombinedCertificateValidationContext) - err := b.DecodeMessage(msg) - m.ValidationContextType = &CommonTlsContext_CombinedValidationContext{msg} - return true, err - default: - return false, nil - } -} - -func _CommonTlsContext_OneofSizer(msg proto.Message) (n int) { - m := msg.(*CommonTlsContext) - // validation_context_type - switch x := m.ValidationContextType.(type) { - case *CommonTlsContext_ValidationContext: - s := proto.Size(x.ValidationContext) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *CommonTlsContext_ValidationContextSdsSecretConfig: - s := proto.Size(x.ValidationContextSdsSecretConfig) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *CommonTlsContext_CombinedValidationContext: - s := proto.Size(x.CombinedValidationContext) - 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 CommonTlsContext_CombinedCertificateValidationContext struct { - DefaultValidationContext *CertificateValidationContext `protobuf:"bytes,1,opt,name=default_validation_context,json=defaultValidationContext,proto3" json:"default_validation_context,omitempty"` - ValidationContextSdsSecretConfig *SdsSecretConfig `protobuf:"bytes,2,opt,name=validation_context_sds_secret_config,json=validationContextSdsSecretConfig,proto3" json:"validation_context_sds_secret_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CommonTlsContext_CombinedCertificateValidationContext) Reset() { - *m = CommonTlsContext_CombinedCertificateValidationContext{} -} -func (m *CommonTlsContext_CombinedCertificateValidationContext) String() string { - return proto.CompactTextString(m) -} -func (*CommonTlsContext_CombinedCertificateValidationContext) ProtoMessage() {} -func (*CommonTlsContext_CombinedCertificateValidationContext) Descriptor() ([]byte, []int) { - return fileDescriptor_cert_f82beca1d890b9d7, []int{4, 0} -} -func (m *CommonTlsContext_CombinedCertificateValidationContext) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommonTlsContext_CombinedCertificateValidationContext.Unmarshal(m, b) -} -func (m *CommonTlsContext_CombinedCertificateValidationContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommonTlsContext_CombinedCertificateValidationContext.Marshal(b, m, deterministic) -} -func (dst *CommonTlsContext_CombinedCertificateValidationContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommonTlsContext_CombinedCertificateValidationContext.Merge(dst, src) -} -func (m *CommonTlsContext_CombinedCertificateValidationContext) XXX_Size() int { - return xxx_messageInfo_CommonTlsContext_CombinedCertificateValidationContext.Size(m) -} -func (m *CommonTlsContext_CombinedCertificateValidationContext) XXX_DiscardUnknown() { - xxx_messageInfo_CommonTlsContext_CombinedCertificateValidationContext.DiscardUnknown(m) -} - -var xxx_messageInfo_CommonTlsContext_CombinedCertificateValidationContext proto.InternalMessageInfo - -func (m *CommonTlsContext_CombinedCertificateValidationContext) GetDefaultValidationContext() *CertificateValidationContext { - if m != nil { - return m.DefaultValidationContext - } - return nil -} - -func (m *CommonTlsContext_CombinedCertificateValidationContext) GetValidationContextSdsSecretConfig() *SdsSecretConfig { - if m != nil { - return m.ValidationContextSdsSecretConfig - } - return nil -} - -type UpstreamTlsContext struct { - CommonTlsContext *CommonTlsContext `protobuf:"bytes,1,opt,name=common_tls_context,json=commonTlsContext,proto3" json:"common_tls_context,omitempty"` - Sni string `protobuf:"bytes,2,opt,name=sni,proto3" json:"sni,omitempty"` - AllowRenegotiation bool `protobuf:"varint,3,opt,name=allow_renegotiation,json=allowRenegotiation,proto3" json:"allow_renegotiation,omitempty"` - MaxSessionKeys *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=max_session_keys,json=maxSessionKeys,proto3" json:"max_session_keys,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpstreamTlsContext) Reset() { *m = UpstreamTlsContext{} } -func (m *UpstreamTlsContext) String() string { return proto.CompactTextString(m) } -func (*UpstreamTlsContext) ProtoMessage() {} -func (*UpstreamTlsContext) Descriptor() ([]byte, []int) { - return fileDescriptor_cert_f82beca1d890b9d7, []int{5} -} -func (m *UpstreamTlsContext) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpstreamTlsContext.Unmarshal(m, b) -} -func (m *UpstreamTlsContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpstreamTlsContext.Marshal(b, m, deterministic) -} -func (dst *UpstreamTlsContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpstreamTlsContext.Merge(dst, src) -} -func (m *UpstreamTlsContext) XXX_Size() int { - return xxx_messageInfo_UpstreamTlsContext.Size(m) -} -func (m *UpstreamTlsContext) XXX_DiscardUnknown() { - xxx_messageInfo_UpstreamTlsContext.DiscardUnknown(m) -} - -var xxx_messageInfo_UpstreamTlsContext proto.InternalMessageInfo - -func (m *UpstreamTlsContext) GetCommonTlsContext() *CommonTlsContext { - if m != nil { - return m.CommonTlsContext - } - return nil -} - -func (m *UpstreamTlsContext) GetSni() string { - if m != nil { - return m.Sni - } - return "" -} - -func (m *UpstreamTlsContext) GetAllowRenegotiation() bool { - if m != nil { - return m.AllowRenegotiation - } - return false -} - -func (m *UpstreamTlsContext) GetMaxSessionKeys() *wrappers.UInt32Value { - if m != nil { - return m.MaxSessionKeys - } - return nil -} - -type DownstreamTlsContext struct { - CommonTlsContext *CommonTlsContext `protobuf:"bytes,1,opt,name=common_tls_context,json=commonTlsContext,proto3" json:"common_tls_context,omitempty"` - RequireClientCertificate *wrappers.BoolValue `protobuf:"bytes,2,opt,name=require_client_certificate,json=requireClientCertificate,proto3" json:"require_client_certificate,omitempty"` - RequireSni *wrappers.BoolValue `protobuf:"bytes,3,opt,name=require_sni,json=requireSni,proto3" json:"require_sni,omitempty"` - // Types that are valid to be assigned to SessionTicketKeysType: - // *DownstreamTlsContext_SessionTicketKeys - // *DownstreamTlsContext_SessionTicketKeysSdsSecretConfig - SessionTicketKeysType isDownstreamTlsContext_SessionTicketKeysType `protobuf_oneof:"session_ticket_keys_type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DownstreamTlsContext) Reset() { *m = DownstreamTlsContext{} } -func (m *DownstreamTlsContext) String() string { return proto.CompactTextString(m) } -func (*DownstreamTlsContext) ProtoMessage() {} -func (*DownstreamTlsContext) Descriptor() ([]byte, []int) { - return fileDescriptor_cert_f82beca1d890b9d7, []int{6} -} -func (m *DownstreamTlsContext) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DownstreamTlsContext.Unmarshal(m, b) -} -func (m *DownstreamTlsContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DownstreamTlsContext.Marshal(b, m, deterministic) -} -func (dst *DownstreamTlsContext) XXX_Merge(src proto.Message) { - xxx_messageInfo_DownstreamTlsContext.Merge(dst, src) -} -func (m *DownstreamTlsContext) XXX_Size() int { - return xxx_messageInfo_DownstreamTlsContext.Size(m) -} -func (m *DownstreamTlsContext) XXX_DiscardUnknown() { - xxx_messageInfo_DownstreamTlsContext.DiscardUnknown(m) -} - -var xxx_messageInfo_DownstreamTlsContext proto.InternalMessageInfo - -func (m *DownstreamTlsContext) GetCommonTlsContext() *CommonTlsContext { - if m != nil { - return m.CommonTlsContext - } - return nil -} - -func (m *DownstreamTlsContext) GetRequireClientCertificate() *wrappers.BoolValue { - if m != nil { - return m.RequireClientCertificate - } - return nil -} - -func (m *DownstreamTlsContext) GetRequireSni() *wrappers.BoolValue { - if m != nil { - return m.RequireSni - } - return nil -} - -type isDownstreamTlsContext_SessionTicketKeysType interface { - isDownstreamTlsContext_SessionTicketKeysType() -} - -type DownstreamTlsContext_SessionTicketKeys struct { - SessionTicketKeys *TlsSessionTicketKeys `protobuf:"bytes,4,opt,name=session_ticket_keys,json=sessionTicketKeys,proto3,oneof"` -} - -type DownstreamTlsContext_SessionTicketKeysSdsSecretConfig struct { - SessionTicketKeysSdsSecretConfig *SdsSecretConfig `protobuf:"bytes,5,opt,name=session_ticket_keys_sds_secret_config,json=sessionTicketKeysSdsSecretConfig,proto3,oneof"` -} - -func (*DownstreamTlsContext_SessionTicketKeys) isDownstreamTlsContext_SessionTicketKeysType() {} - -func (*DownstreamTlsContext_SessionTicketKeysSdsSecretConfig) isDownstreamTlsContext_SessionTicketKeysType() { -} - -func (m *DownstreamTlsContext) GetSessionTicketKeysType() isDownstreamTlsContext_SessionTicketKeysType { - if m != nil { - return m.SessionTicketKeysType - } - return nil -} - -func (m *DownstreamTlsContext) GetSessionTicketKeys() *TlsSessionTicketKeys { - if x, ok := m.GetSessionTicketKeysType().(*DownstreamTlsContext_SessionTicketKeys); ok { - return x.SessionTicketKeys - } - return nil -} - -func (m *DownstreamTlsContext) GetSessionTicketKeysSdsSecretConfig() *SdsSecretConfig { - if x, ok := m.GetSessionTicketKeysType().(*DownstreamTlsContext_SessionTicketKeysSdsSecretConfig); ok { - return x.SessionTicketKeysSdsSecretConfig - } - return nil -} - -// XXX_OneofFuncs is for the internal use of the proto package. -func (*DownstreamTlsContext) 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 _DownstreamTlsContext_OneofMarshaler, _DownstreamTlsContext_OneofUnmarshaler, _DownstreamTlsContext_OneofSizer, []interface{}{ - (*DownstreamTlsContext_SessionTicketKeys)(nil), - (*DownstreamTlsContext_SessionTicketKeysSdsSecretConfig)(nil), - } -} - -func _DownstreamTlsContext_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*DownstreamTlsContext) - // session_ticket_keys_type - switch x := m.SessionTicketKeysType.(type) { - case *DownstreamTlsContext_SessionTicketKeys: - b.EncodeVarint(4<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.SessionTicketKeys); err != nil { - return err - } - case *DownstreamTlsContext_SessionTicketKeysSdsSecretConfig: - b.EncodeVarint(5<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.SessionTicketKeysSdsSecretConfig); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("DownstreamTlsContext.SessionTicketKeysType has unexpected type %T", x) - } - return nil -} - -func _DownstreamTlsContext_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*DownstreamTlsContext) - switch tag { - case 4: // session_ticket_keys_type.session_ticket_keys - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(TlsSessionTicketKeys) - err := b.DecodeMessage(msg) - m.SessionTicketKeysType = &DownstreamTlsContext_SessionTicketKeys{msg} - return true, err - case 5: // session_ticket_keys_type.session_ticket_keys_sds_secret_config - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(SdsSecretConfig) - err := b.DecodeMessage(msg) - m.SessionTicketKeysType = &DownstreamTlsContext_SessionTicketKeysSdsSecretConfig{msg} - return true, err - default: - return false, nil - } -} - -func _DownstreamTlsContext_OneofSizer(msg proto.Message) (n int) { - m := msg.(*DownstreamTlsContext) - // session_ticket_keys_type - switch x := m.SessionTicketKeysType.(type) { - case *DownstreamTlsContext_SessionTicketKeys: - s := proto.Size(x.SessionTicketKeys) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *DownstreamTlsContext_SessionTicketKeysSdsSecretConfig: - s := proto.Size(x.SessionTicketKeysSdsSecretConfig) - 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 SdsSecretConfig struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - SdsConfig *config_source.ConfigSource `protobuf:"bytes,2,opt,name=sds_config,json=sdsConfig,proto3" json:"sds_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SdsSecretConfig) Reset() { *m = SdsSecretConfig{} } -func (m *SdsSecretConfig) String() string { return proto.CompactTextString(m) } -func (*SdsSecretConfig) ProtoMessage() {} -func (*SdsSecretConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cert_f82beca1d890b9d7, []int{7} -} -func (m *SdsSecretConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SdsSecretConfig.Unmarshal(m, b) -} -func (m *SdsSecretConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SdsSecretConfig.Marshal(b, m, deterministic) -} -func (dst *SdsSecretConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_SdsSecretConfig.Merge(dst, src) -} -func (m *SdsSecretConfig) XXX_Size() int { - return xxx_messageInfo_SdsSecretConfig.Size(m) -} -func (m *SdsSecretConfig) XXX_DiscardUnknown() { - xxx_messageInfo_SdsSecretConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_SdsSecretConfig proto.InternalMessageInfo - -func (m *SdsSecretConfig) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *SdsSecretConfig) GetSdsConfig() *config_source.ConfigSource { - if m != nil { - return m.SdsConfig - } - return nil -} - -type Secret struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Types that are valid to be assigned to Type: - // *Secret_TlsCertificate - // *Secret_SessionTicketKeys - // *Secret_ValidationContext - Type isSecret_Type `protobuf_oneof:"type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_cert_f82beca1d890b9d7, []int{8} -} -func (m *Secret) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Secret.Unmarshal(m, b) -} -func (m *Secret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Secret.Marshal(b, m, deterministic) -} -func (dst *Secret) XXX_Merge(src proto.Message) { - xxx_messageInfo_Secret.Merge(dst, src) -} -func (m *Secret) XXX_Size() int { - return xxx_messageInfo_Secret.Size(m) -} -func (m *Secret) XXX_DiscardUnknown() { - xxx_messageInfo_Secret.DiscardUnknown(m) -} - -var xxx_messageInfo_Secret proto.InternalMessageInfo - -func (m *Secret) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -type isSecret_Type interface { - isSecret_Type() -} - -type Secret_TlsCertificate struct { - TlsCertificate *TlsCertificate `protobuf:"bytes,2,opt,name=tls_certificate,json=tlsCertificate,proto3,oneof"` -} - -type Secret_SessionTicketKeys struct { - SessionTicketKeys *TlsSessionTicketKeys `protobuf:"bytes,3,opt,name=session_ticket_keys,json=sessionTicketKeys,proto3,oneof"` -} - -type Secret_ValidationContext struct { - ValidationContext *CertificateValidationContext `protobuf:"bytes,4,opt,name=validation_context,json=validationContext,proto3,oneof"` -} - -func (*Secret_TlsCertificate) isSecret_Type() {} - -func (*Secret_SessionTicketKeys) isSecret_Type() {} - -func (*Secret_ValidationContext) isSecret_Type() {} - -func (m *Secret) GetType() isSecret_Type { - if m != nil { - return m.Type - } - return nil -} - -func (m *Secret) GetTlsCertificate() *TlsCertificate { - if x, ok := m.GetType().(*Secret_TlsCertificate); ok { - return x.TlsCertificate - } - return nil -} - -func (m *Secret) GetSessionTicketKeys() *TlsSessionTicketKeys { - if x, ok := m.GetType().(*Secret_SessionTicketKeys); ok { - return x.SessionTicketKeys - } - return nil -} - -func (m *Secret) GetValidationContext() *CertificateValidationContext { - if x, ok := m.GetType().(*Secret_ValidationContext); ok { - return x.ValidationContext - } - return nil -} - -// XXX_OneofFuncs is for the internal use of the proto package. -func (*Secret) 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 _Secret_OneofMarshaler, _Secret_OneofUnmarshaler, _Secret_OneofSizer, []interface{}{ - (*Secret_TlsCertificate)(nil), - (*Secret_SessionTicketKeys)(nil), - (*Secret_ValidationContext)(nil), - } -} - -func _Secret_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*Secret) - // type - switch x := m.Type.(type) { - case *Secret_TlsCertificate: - b.EncodeVarint(2<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.TlsCertificate); err != nil { - return err - } - case *Secret_SessionTicketKeys: - b.EncodeVarint(3<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.SessionTicketKeys); err != nil { - return err - } - case *Secret_ValidationContext: - b.EncodeVarint(4<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.ValidationContext); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("Secret.Type has unexpected type %T", x) - } - return nil -} - -func _Secret_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*Secret) - switch tag { - case 2: // type.tls_certificate - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(TlsCertificate) - err := b.DecodeMessage(msg) - m.Type = &Secret_TlsCertificate{msg} - return true, err - case 3: // type.session_ticket_keys - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(TlsSessionTicketKeys) - err := b.DecodeMessage(msg) - m.Type = &Secret_SessionTicketKeys{msg} - return true, err - case 4: // type.validation_context - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(CertificateValidationContext) - err := b.DecodeMessage(msg) - m.Type = &Secret_ValidationContext{msg} - return true, err - default: - return false, nil - } -} - -func _Secret_OneofSizer(msg proto.Message) (n int) { - m := msg.(*Secret) - // type - switch x := m.Type.(type) { - case *Secret_TlsCertificate: - s := proto.Size(x.TlsCertificate) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *Secret_SessionTicketKeys: - s := proto.Size(x.SessionTicketKeys) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *Secret_ValidationContext: - s := proto.Size(x.ValidationContext) - 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((*TlsParameters)(nil), "envoy.api.v2.auth.TlsParameters") - proto.RegisterType((*TlsCertificate)(nil), "envoy.api.v2.auth.TlsCertificate") - proto.RegisterType((*TlsSessionTicketKeys)(nil), "envoy.api.v2.auth.TlsSessionTicketKeys") - proto.RegisterType((*CertificateValidationContext)(nil), "envoy.api.v2.auth.CertificateValidationContext") - proto.RegisterType((*CommonTlsContext)(nil), "envoy.api.v2.auth.CommonTlsContext") - proto.RegisterType((*CommonTlsContext_CombinedCertificateValidationContext)(nil), "envoy.api.v2.auth.CommonTlsContext.CombinedCertificateValidationContext") - proto.RegisterType((*UpstreamTlsContext)(nil), "envoy.api.v2.auth.UpstreamTlsContext") - proto.RegisterType((*DownstreamTlsContext)(nil), "envoy.api.v2.auth.DownstreamTlsContext") - proto.RegisterType((*SdsSecretConfig)(nil), "envoy.api.v2.auth.SdsSecretConfig") - proto.RegisterType((*Secret)(nil), "envoy.api.v2.auth.Secret") - proto.RegisterEnum("envoy.api.v2.auth.TlsParameters_TlsProtocol", TlsParameters_TlsProtocol_name, TlsParameters_TlsProtocol_value) -} - -func init() { proto.RegisterFile("envoy/api/v2/auth/cert.proto", fileDescriptor_cert_f82beca1d890b9d7) } - -var fileDescriptor_cert_f82beca1d890b9d7 = []byte{ - // 1295 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x56, 0x4d, 0x77, 0xdb, 0x44, - 0x17, 0x8e, 0x6c, 0xc7, 0x75, 0xae, 0xdb, 0x54, 0x99, 0xf6, 0x3d, 0x51, 0xfc, 0x86, 0xd6, 0x55, - 0xdb, 0x43, 0x16, 0x3d, 0x36, 0x75, 0x61, 0xc1, 0x57, 0xa1, 0x76, 0xe1, 0x84, 0x36, 0xd0, 0x22, - 0x3b, 0x3d, 0xc0, 0x46, 0x4c, 0xe4, 0x49, 0x3c, 0x44, 0x5f, 0xcc, 0x8c, 0x9d, 0x98, 0x05, 0x0b, - 0x96, 0x5d, 0x76, 0xcd, 0x86, 0x5f, 0xc0, 0x9e, 0x15, 0x7f, 0x80, 0x1f, 0xc2, 0xa6, 0x6b, 0x56, - 0xc0, 0x99, 0x91, 0x14, 0x4b, 0x96, 0x5a, 0x1b, 0x4e, 0x0f, 0x3b, 0xcd, 0xdc, 0xb9, 0xcf, 0x33, - 0x73, 0xef, 0x73, 0xef, 0x15, 0x6c, 0x13, 0x7f, 0x12, 0x4c, 0xdb, 0x38, 0xa4, 0xed, 0x49, 0xa7, - 0x8d, 0xc7, 0x62, 0xd4, 0x76, 0x08, 0x13, 0xad, 0x90, 0x05, 0x22, 0x40, 0x1b, 0xca, 0xda, 0xc2, - 0x21, 0x6d, 0x4d, 0x3a, 0x2d, 0x69, 0x6d, 0x64, 0x1d, 0x9c, 0x80, 0x91, 0xf6, 0x01, 0x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0x33, 0x77, 0x06, 0x3d, 0xd5, 0xe0, 0xff, 0x4e, 0xe0, 0x1d, 0x50, - 0x29, 0xe6, 0x82, 0x17, 0xd6, 0x14, 0xdb, 0x6e, 0xd1, 0x0b, 0xe7, 0xd4, 0x22, 0x37, 0x14, 0xcc, - 0x82, 0xa7, 0x6f, 0x25, 0x74, 0xf9, 0x9e, 0x75, 0x13, 0xd6, 0xb1, 0x1b, 0xfa, 0x67, 0x13, 0x3b, - 0x99, 0x8d, 0x17, 0xe4, 0x6e, 0x32, 0x0e, 0x79, 0xe3, 0xa7, 0x12, 0xdc, 0x58, 0x86, 0x0c, 0x4d, - 0xa1, 0x31, 0x24, 0x87, 0x78, 0xec, 0x8a, 0xa2, 0xa7, 0x69, 0xff, 0x2a, 0x79, 0xb1, 0x6a, 0x9e, - 0x2a, 0xd5, 0x18, 0x31, 0x7c, 0x9e, 0xfa, 0xfb, 0x25, 0xb3, 0x59, 0x5a, 0x36, 0x9b, 0x19, 0xde, - 0x85, 0x79, 0xed, 0x6e, 0xc1, 0x66, 0x01, 0xbf, 0x98, 0x86, 0xe4, 0x41, 0xa5, 0xb6, 0xaa, 0x57, - 0xcd, 0x3f, 0x35, 0x40, 0xfb, 0x21, 0x17, 0x8c, 0x60, 0x2f, 0x55, 0xf2, 0x9f, 0x03, 0x72, 0x54, - 0x62, 0x6d, 0x55, 0x6a, 0x99, 0x50, 0x5d, 0x5f, 0x42, 0x05, 0x96, 0xee, 0xcc, 0x77, 0x91, 0x6d, - 0x28, 0x73, 0x9f, 0xaa, 0x97, 0xae, 0xc5, 0xaf, 0x60, 0xe5, 0x9d, 0xbf, 0x34, 0x4b, 0x6e, 0xa3, - 0x36, 0x5c, 0x8a, 0x9a, 0x16, 0x23, 0x3e, 0x39, 0x0a, 0x04, 0x55, 0x37, 0x56, 0x95, 0x55, 0xb3, - 0x90, 0x32, 0x59, 0x69, 0x0b, 0xfa, 0x18, 0x74, 0x0f, 0x9f, 0xda, 0x3c, 0x9a, 0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0xb0, 0xfc, 0x0a, 0x32, 0x58, 0x3c, 0xf1, 0x2a, 0xaf, 0x6e, 0xe2, 0x75, 0xab, - 0x50, 0x91, 0x89, 0xe9, 0xbe, 0x09, 0x57, 0x69, 0x10, 0x21, 0x86, 0x2c, 0x38, 0x9d, 0xe6, 0xc1, - 0xbb, 0x6b, 0x12, 0x5d, 0x4d, 0x80, 0xc7, 0xda, 0x57, 0x15, 0xb9, 0x75, 0x50, 0x55, 0xe2, 0xbe, - 0xf3, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x3c, 0x5e, 0x86, 0x05, 0x2a, 0x0f, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/cds/cds.pb.go b/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/cds/cds.pb.go deleted file mode 100755 index 9e7c6adf..00000000 --- a/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/cds/cds.pb.go +++ /dev/null @@ -1,1845 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: envoy/api/v2/cds.proto - -package envoy_api_v2 - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import any "github.com/golang/protobuf/ptypes/any" -import duration "github.com/golang/protobuf/ptypes/duration" -import _struct "github.com/golang/protobuf/ptypes/struct" -import wrappers "github.com/golang/protobuf/ptypes/wrappers" -import _ "google.golang.org/genproto/googleapis/api/annotations" -import cert "google.golang.org/grpc/xds/internal/proto/envoy/api/v2/auth/cert" -import circuit_breaker "google.golang.org/grpc/xds/internal/proto/envoy/api/v2/cluster/circuit_breaker" -import outlier_detection "google.golang.org/grpc/xds/internal/proto/envoy/api/v2/cluster/outlier_detection" -import address "google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/address" -import base "google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/base" -import config_source "google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/config_source" -import health_check "google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/health_check" -import protocol "google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/protocol" -import discovery "google.golang.org/grpc/xds/internal/proto/envoy/api/v2/discovery" -import eds "google.golang.org/grpc/xds/internal/proto/envoy/api/v2/eds" -import percent "google.golang.org/grpc/xds/internal/proto/envoy/type/percent" -import _ "google.golang.org/grpc/xds/internal/proto/validate" - -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 Cluster_DiscoveryType int32 - -const ( - Cluster_STATIC Cluster_DiscoveryType = 0 - Cluster_STRICT_DNS Cluster_DiscoveryType = 1 - Cluster_LOGICAL_DNS Cluster_DiscoveryType = 2 - Cluster_EDS Cluster_DiscoveryType = 3 - Cluster_ORIGINAL_DST Cluster_DiscoveryType = 4 -) - -var Cluster_DiscoveryType_name = map[int32]string{ - 0: "STATIC", - 1: "STRICT_DNS", - 2: "LOGICAL_DNS", - 3: "EDS", - 4: "ORIGINAL_DST", -} -var Cluster_DiscoveryType_value = map[string]int32{ - "STATIC": 0, - "STRICT_DNS": 1, - "LOGICAL_DNS": 2, - "EDS": 3, - "ORIGINAL_DST": 4, -} - -func (x Cluster_DiscoveryType) String() string { - return proto.EnumName(Cluster_DiscoveryType_name, int32(x)) -} -func (Cluster_DiscoveryType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cds_3e3c13a974b77399, []int{0, 0} -} - -type Cluster_LbPolicy int32 - -const ( - Cluster_ROUND_ROBIN Cluster_LbPolicy = 0 - Cluster_LEAST_REQUEST Cluster_LbPolicy = 1 - Cluster_RING_HASH Cluster_LbPolicy = 2 - Cluster_RANDOM Cluster_LbPolicy = 3 - Cluster_ORIGINAL_DST_LB Cluster_LbPolicy = 4 - Cluster_MAGLEV Cluster_LbPolicy = 5 - Cluster_CLUSTER_PROVIDED Cluster_LbPolicy = 6 -) - -var Cluster_LbPolicy_name = map[int32]string{ - 0: "ROUND_ROBIN", - 1: "LEAST_REQUEST", - 2: "RING_HASH", - 3: "RANDOM", - 4: "ORIGINAL_DST_LB", - 5: "MAGLEV", - 6: "CLUSTER_PROVIDED", -} -var Cluster_LbPolicy_value = map[string]int32{ - "ROUND_ROBIN": 0, - "LEAST_REQUEST": 1, - "RING_HASH": 2, - "RANDOM": 3, - "ORIGINAL_DST_LB": 4, - "MAGLEV": 5, - "CLUSTER_PROVIDED": 6, -} - -func (x Cluster_LbPolicy) String() string { - return proto.EnumName(Cluster_LbPolicy_name, int32(x)) -} -func (Cluster_LbPolicy) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cds_3e3c13a974b77399, []int{0, 1} -} - -type Cluster_DnsLookupFamily int32 - -const ( - Cluster_AUTO Cluster_DnsLookupFamily = 0 - Cluster_V4_ONLY Cluster_DnsLookupFamily = 1 - Cluster_V6_ONLY Cluster_DnsLookupFamily = 2 -) - -var Cluster_DnsLookupFamily_name = map[int32]string{ - 0: "AUTO", - 1: "V4_ONLY", - 2: "V6_ONLY", -} -var Cluster_DnsLookupFamily_value = map[string]int32{ - "AUTO": 0, - "V4_ONLY": 1, - "V6_ONLY": 2, -} - -func (x Cluster_DnsLookupFamily) String() string { - return proto.EnumName(Cluster_DnsLookupFamily_name, int32(x)) -} -func (Cluster_DnsLookupFamily) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cds_3e3c13a974b77399, []int{0, 2} -} - -type Cluster_ClusterProtocolSelection int32 - -const ( - Cluster_USE_CONFIGURED_PROTOCOL Cluster_ClusterProtocolSelection = 0 - Cluster_USE_DOWNSTREAM_PROTOCOL Cluster_ClusterProtocolSelection = 1 -) - -var Cluster_ClusterProtocolSelection_name = map[int32]string{ - 0: "USE_CONFIGURED_PROTOCOL", - 1: "USE_DOWNSTREAM_PROTOCOL", -} -var Cluster_ClusterProtocolSelection_value = map[string]int32{ - "USE_CONFIGURED_PROTOCOL": 0, - "USE_DOWNSTREAM_PROTOCOL": 1, -} - -func (x Cluster_ClusterProtocolSelection) String() string { - return proto.EnumName(Cluster_ClusterProtocolSelection_name, int32(x)) -} -func (Cluster_ClusterProtocolSelection) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cds_3e3c13a974b77399, []int{0, 3} -} - -type Cluster_LbSubsetConfig_LbSubsetFallbackPolicy int32 - -const ( - Cluster_LbSubsetConfig_NO_FALLBACK Cluster_LbSubsetConfig_LbSubsetFallbackPolicy = 0 - Cluster_LbSubsetConfig_ANY_ENDPOINT Cluster_LbSubsetConfig_LbSubsetFallbackPolicy = 1 - Cluster_LbSubsetConfig_DEFAULT_SUBSET Cluster_LbSubsetConfig_LbSubsetFallbackPolicy = 2 -) - -var Cluster_LbSubsetConfig_LbSubsetFallbackPolicy_name = map[int32]string{ - 0: "NO_FALLBACK", - 1: "ANY_ENDPOINT", - 2: "DEFAULT_SUBSET", -} -var Cluster_LbSubsetConfig_LbSubsetFallbackPolicy_value = map[string]int32{ - "NO_FALLBACK": 0, - "ANY_ENDPOINT": 1, - "DEFAULT_SUBSET": 2, -} - -func (x Cluster_LbSubsetConfig_LbSubsetFallbackPolicy) String() string { - return proto.EnumName(Cluster_LbSubsetConfig_LbSubsetFallbackPolicy_name, int32(x)) -} -func (Cluster_LbSubsetConfig_LbSubsetFallbackPolicy) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cds_3e3c13a974b77399, []int{0, 4, 0} -} - -type Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy int32 - -const ( - Cluster_LbSubsetConfig_LbSubsetSelector_NOT_DEFINED Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy = 0 - Cluster_LbSubsetConfig_LbSubsetSelector_NO_FALLBACK Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy = 1 - Cluster_LbSubsetConfig_LbSubsetSelector_ANY_ENDPOINT Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy = 2 - Cluster_LbSubsetConfig_LbSubsetSelector_DEFAULT_SUBSET Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy = 3 -) - -var Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy_name = map[int32]string{ - 0: "NOT_DEFINED", - 1: "NO_FALLBACK", - 2: "ANY_ENDPOINT", - 3: "DEFAULT_SUBSET", -} -var Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy_value = map[string]int32{ - "NOT_DEFINED": 0, - "NO_FALLBACK": 1, - "ANY_ENDPOINT": 2, - "DEFAULT_SUBSET": 3, -} - -func (x Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy) String() string { - return proto.EnumName(Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy_name, int32(x)) -} -func (Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cds_3e3c13a974b77399, []int{0, 4, 0, 0} -} - -type Cluster_RingHashLbConfig_HashFunction int32 - -const ( - Cluster_RingHashLbConfig_XX_HASH Cluster_RingHashLbConfig_HashFunction = 0 - Cluster_RingHashLbConfig_MURMUR_HASH_2 Cluster_RingHashLbConfig_HashFunction = 1 -) - -var Cluster_RingHashLbConfig_HashFunction_name = map[int32]string{ - 0: "XX_HASH", - 1: "MURMUR_HASH_2", -} -var Cluster_RingHashLbConfig_HashFunction_value = map[string]int32{ - "XX_HASH": 0, - "MURMUR_HASH_2": 1, -} - -func (x Cluster_RingHashLbConfig_HashFunction) String() string { - return proto.EnumName(Cluster_RingHashLbConfig_HashFunction_name, int32(x)) -} -func (Cluster_RingHashLbConfig_HashFunction) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cds_3e3c13a974b77399, []int{0, 6, 0} -} - -type Cluster struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - AltStatName string `protobuf:"bytes,28,opt,name=alt_stat_name,json=altStatName,proto3" json:"alt_stat_name,omitempty"` - // Types that are valid to be assigned to ClusterDiscoveryType: - // *Cluster_Type - // *Cluster_ClusterType - ClusterDiscoveryType isCluster_ClusterDiscoveryType `protobuf_oneof:"cluster_discovery_type"` - EdsClusterConfig *Cluster_EdsClusterConfig `protobuf:"bytes,3,opt,name=eds_cluster_config,json=edsClusterConfig,proto3" json:"eds_cluster_config,omitempty"` - ConnectTimeout *duration.Duration `protobuf:"bytes,4,opt,name=connect_timeout,json=connectTimeout,proto3" json:"connect_timeout,omitempty"` - PerConnectionBufferLimitBytes *wrappers.UInt32Value `protobuf:"bytes,5,opt,name=per_connection_buffer_limit_bytes,json=perConnectionBufferLimitBytes,proto3" json:"per_connection_buffer_limit_bytes,omitempty"` - LbPolicy Cluster_LbPolicy `protobuf:"varint,6,opt,name=lb_policy,json=lbPolicy,proto3,enum=envoy.api.v2.Cluster_LbPolicy" json:"lb_policy,omitempty"` - Hosts []*address.Address `protobuf:"bytes,7,rep,name=hosts,proto3" json:"hosts,omitempty"` // Deprecated: Do not use. - LoadAssignment *eds.ClusterLoadAssignment `protobuf:"bytes,33,opt,name=load_assignment,json=loadAssignment,proto3" json:"load_assignment,omitempty"` - HealthChecks []*health_check.HealthCheck `protobuf:"bytes,8,rep,name=health_checks,json=healthChecks,proto3" json:"health_checks,omitempty"` - MaxRequestsPerConnection *wrappers.UInt32Value `protobuf:"bytes,9,opt,name=max_requests_per_connection,json=maxRequestsPerConnection,proto3" json:"max_requests_per_connection,omitempty"` - CircuitBreakers *circuit_breaker.CircuitBreakers `protobuf:"bytes,10,opt,name=circuit_breakers,json=circuitBreakers,proto3" json:"circuit_breakers,omitempty"` - TlsContext *cert.UpstreamTlsContext `protobuf:"bytes,11,opt,name=tls_context,json=tlsContext,proto3" json:"tls_context,omitempty"` - CommonHttpProtocolOptions *protocol.HttpProtocolOptions `protobuf:"bytes,29,opt,name=common_http_protocol_options,json=commonHttpProtocolOptions,proto3" json:"common_http_protocol_options,omitempty"` - HttpProtocolOptions *protocol.Http1ProtocolOptions `protobuf:"bytes,13,opt,name=http_protocol_options,json=httpProtocolOptions,proto3" json:"http_protocol_options,omitempty"` - Http2ProtocolOptions *protocol.Http2ProtocolOptions `protobuf:"bytes,14,opt,name=http2_protocol_options,json=http2ProtocolOptions,proto3" json:"http2_protocol_options,omitempty"` - ExtensionProtocolOptions map[string]*_struct.Struct `protobuf:"bytes,35,rep,name=extension_protocol_options,json=extensionProtocolOptions,proto3" json:"extension_protocol_options,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - TypedExtensionProtocolOptions map[string]*any.Any `protobuf:"bytes,36,rep,name=typed_extension_protocol_options,json=typedExtensionProtocolOptions,proto3" json:"typed_extension_protocol_options,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - DnsRefreshRate *duration.Duration `protobuf:"bytes,16,opt,name=dns_refresh_rate,json=dnsRefreshRate,proto3" json:"dns_refresh_rate,omitempty"` - RespectDnsTtl bool `protobuf:"varint,39,opt,name=respect_dns_ttl,json=respectDnsTtl,proto3" json:"respect_dns_ttl,omitempty"` - DnsLookupFamily Cluster_DnsLookupFamily `protobuf:"varint,17,opt,name=dns_lookup_family,json=dnsLookupFamily,proto3,enum=envoy.api.v2.Cluster_DnsLookupFamily" json:"dns_lookup_family,omitempty"` - DnsResolvers []*address.Address `protobuf:"bytes,18,rep,name=dns_resolvers,json=dnsResolvers,proto3" json:"dns_resolvers,omitempty"` - OutlierDetection *outlier_detection.OutlierDetection `protobuf:"bytes,19,opt,name=outlier_detection,json=outlierDetection,proto3" json:"outlier_detection,omitempty"` - CleanupInterval *duration.Duration `protobuf:"bytes,20,opt,name=cleanup_interval,json=cleanupInterval,proto3" json:"cleanup_interval,omitempty"` - UpstreamBindConfig *address.BindConfig `protobuf:"bytes,21,opt,name=upstream_bind_config,json=upstreamBindConfig,proto3" json:"upstream_bind_config,omitempty"` - LbSubsetConfig *Cluster_LbSubsetConfig `protobuf:"bytes,22,opt,name=lb_subset_config,json=lbSubsetConfig,proto3" json:"lb_subset_config,omitempty"` - // Types that are valid to be assigned to LbConfig: - // *Cluster_RingHashLbConfig_ - // *Cluster_OriginalDstLbConfig_ - // *Cluster_LeastRequestLbConfig_ - LbConfig isCluster_LbConfig `protobuf_oneof:"lb_config"` - CommonLbConfig *Cluster_CommonLbConfig `protobuf:"bytes,27,opt,name=common_lb_config,json=commonLbConfig,proto3" json:"common_lb_config,omitempty"` - TransportSocket *base.TransportSocket `protobuf:"bytes,24,opt,name=transport_socket,json=transportSocket,proto3" json:"transport_socket,omitempty"` - Metadata *base.Metadata `protobuf:"bytes,25,opt,name=metadata,proto3" json:"metadata,omitempty"` - ProtocolSelection Cluster_ClusterProtocolSelection `protobuf:"varint,26,opt,name=protocol_selection,json=protocolSelection,proto3,enum=envoy.api.v2.Cluster_ClusterProtocolSelection" json:"protocol_selection,omitempty"` - UpstreamConnectionOptions *UpstreamConnectionOptions `protobuf:"bytes,30,opt,name=upstream_connection_options,json=upstreamConnectionOptions,proto3" json:"upstream_connection_options,omitempty"` - CloseConnectionsOnHostHealthFailure bool `protobuf:"varint,31,opt,name=close_connections_on_host_health_failure,json=closeConnectionsOnHostHealthFailure,proto3" json:"close_connections_on_host_health_failure,omitempty"` - DrainConnectionsOnHostRemoval bool `protobuf:"varint,32,opt,name=drain_connections_on_host_removal,json=drainConnectionsOnHostRemoval,proto3" json:"drain_connections_on_host_removal,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_cds_3e3c13a974b77399, []int{0} -} -func (m *Cluster) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Cluster.Unmarshal(m, b) -} -func (m *Cluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Cluster.Marshal(b, m, deterministic) -} -func (dst *Cluster) XXX_Merge(src proto.Message) { - xxx_messageInfo_Cluster.Merge(dst, src) -} -func (m *Cluster) XXX_Size() int { - return xxx_messageInfo_Cluster.Size(m) -} -func (m *Cluster) XXX_DiscardUnknown() { - xxx_messageInfo_Cluster.DiscardUnknown(m) -} - -var xxx_messageInfo_Cluster proto.InternalMessageInfo - -func (m *Cluster) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Cluster) GetAltStatName() string { - if m != nil { - return m.AltStatName - } - return "" -} - -type isCluster_ClusterDiscoveryType interface { - isCluster_ClusterDiscoveryType() -} - -type Cluster_Type struct { - Type Cluster_DiscoveryType `protobuf:"varint,2,opt,name=type,proto3,enum=envoy.api.v2.Cluster_DiscoveryType,oneof"` -} - -type Cluster_ClusterType struct { - ClusterType *Cluster_CustomClusterType `protobuf:"bytes,38,opt,name=cluster_type,json=clusterType,proto3,oneof"` -} - -func (*Cluster_Type) isCluster_ClusterDiscoveryType() {} - -func (*Cluster_ClusterType) isCluster_ClusterDiscoveryType() {} - -func (m *Cluster) GetClusterDiscoveryType() isCluster_ClusterDiscoveryType { - if m != nil { - return m.ClusterDiscoveryType - } - return nil -} - -func (m *Cluster) GetType() Cluster_DiscoveryType { - if x, ok := m.GetClusterDiscoveryType().(*Cluster_Type); ok { - return x.Type - } - return Cluster_STATIC -} - -func (m *Cluster) GetClusterType() *Cluster_CustomClusterType { - if x, ok := m.GetClusterDiscoveryType().(*Cluster_ClusterType); ok { - return x.ClusterType - } - return nil -} - -func (m *Cluster) GetEdsClusterConfig() *Cluster_EdsClusterConfig { - if m != nil { - return m.EdsClusterConfig - } - return nil -} - -func (m *Cluster) GetConnectTimeout() *duration.Duration { - if m != nil { - return m.ConnectTimeout - } - return nil -} - -func (m *Cluster) GetPerConnectionBufferLimitBytes() *wrappers.UInt32Value { - if m != nil { - return m.PerConnectionBufferLimitBytes - } - return nil -} - -func (m *Cluster) GetLbPolicy() Cluster_LbPolicy { - if m != nil { - return m.LbPolicy - } - return Cluster_ROUND_ROBIN -} - -// Deprecated: Do not use. -func (m *Cluster) GetHosts() []*address.Address { - if m != nil { - return m.Hosts - } - return nil -} - -func (m *Cluster) GetLoadAssignment() *eds.ClusterLoadAssignment { - if m != nil { - return m.LoadAssignment - } - return nil -} - -func (m *Cluster) GetHealthChecks() []*health_check.HealthCheck { - if m != nil { - return m.HealthChecks - } - return nil -} - -func (m *Cluster) GetMaxRequestsPerConnection() *wrappers.UInt32Value { - if m != nil { - return m.MaxRequestsPerConnection - } - return nil -} - -func (m *Cluster) GetCircuitBreakers() *circuit_breaker.CircuitBreakers { - if m != nil { - return m.CircuitBreakers - } - return nil -} - -func (m *Cluster) GetTlsContext() *cert.UpstreamTlsContext { - if m != nil { - return m.TlsContext - } - return nil -} - -func (m *Cluster) GetCommonHttpProtocolOptions() *protocol.HttpProtocolOptions { - if m != nil { - return m.CommonHttpProtocolOptions - } - return nil -} - -func (m *Cluster) GetHttpProtocolOptions() *protocol.Http1ProtocolOptions { - if m != nil { - return m.HttpProtocolOptions - } - return nil -} - -func (m *Cluster) GetHttp2ProtocolOptions() *protocol.Http2ProtocolOptions { - if m != nil { - return m.Http2ProtocolOptions - } - return nil -} - -func (m *Cluster) GetExtensionProtocolOptions() map[string]*_struct.Struct { - if m != nil { - return m.ExtensionProtocolOptions - } - return nil -} - -func (m *Cluster) GetTypedExtensionProtocolOptions() map[string]*any.Any { - if m != nil { - return m.TypedExtensionProtocolOptions - } - return nil -} - -func (m *Cluster) GetDnsRefreshRate() *duration.Duration { - if m != nil { - return m.DnsRefreshRate - } - return nil -} - -func (m *Cluster) GetRespectDnsTtl() bool { - if m != nil { - return m.RespectDnsTtl - } - return false -} - -func (m *Cluster) GetDnsLookupFamily() Cluster_DnsLookupFamily { - if m != nil { - return m.DnsLookupFamily - } - return Cluster_AUTO -} - -func (m *Cluster) GetDnsResolvers() []*address.Address { - if m != nil { - return m.DnsResolvers - } - return nil -} - -func (m *Cluster) GetOutlierDetection() *outlier_detection.OutlierDetection { - if m != nil { - return m.OutlierDetection - } - return nil -} - -func (m *Cluster) GetCleanupInterval() *duration.Duration { - if m != nil { - return m.CleanupInterval - } - return nil -} - -func (m *Cluster) GetUpstreamBindConfig() *address.BindConfig { - if m != nil { - return m.UpstreamBindConfig - } - return nil -} - -func (m *Cluster) GetLbSubsetConfig() *Cluster_LbSubsetConfig { - if m != nil { - return m.LbSubsetConfig - } - return nil -} - -type isCluster_LbConfig interface { - isCluster_LbConfig() -} - -type Cluster_RingHashLbConfig_ struct { - RingHashLbConfig *Cluster_RingHashLbConfig `protobuf:"bytes,23,opt,name=ring_hash_lb_config,json=ringHashLbConfig,proto3,oneof"` -} - -type Cluster_OriginalDstLbConfig_ struct { - OriginalDstLbConfig *Cluster_OriginalDstLbConfig `protobuf:"bytes,34,opt,name=original_dst_lb_config,json=originalDstLbConfig,proto3,oneof"` -} - -type Cluster_LeastRequestLbConfig_ struct { - LeastRequestLbConfig *Cluster_LeastRequestLbConfig `protobuf:"bytes,37,opt,name=least_request_lb_config,json=leastRequestLbConfig,proto3,oneof"` -} - -func (*Cluster_RingHashLbConfig_) isCluster_LbConfig() {} - -func (*Cluster_OriginalDstLbConfig_) isCluster_LbConfig() {} - -func (*Cluster_LeastRequestLbConfig_) isCluster_LbConfig() {} - -func (m *Cluster) GetLbConfig() isCluster_LbConfig { - if m != nil { - return m.LbConfig - } - return nil -} - -func (m *Cluster) GetRingHashLbConfig() *Cluster_RingHashLbConfig { - if x, ok := m.GetLbConfig().(*Cluster_RingHashLbConfig_); ok { - return x.RingHashLbConfig - } - return nil -} - -func (m *Cluster) GetOriginalDstLbConfig() *Cluster_OriginalDstLbConfig { - if x, ok := m.GetLbConfig().(*Cluster_OriginalDstLbConfig_); ok { - return x.OriginalDstLbConfig - } - return nil -} - -func (m *Cluster) GetLeastRequestLbConfig() *Cluster_LeastRequestLbConfig { - if x, ok := m.GetLbConfig().(*Cluster_LeastRequestLbConfig_); ok { - return x.LeastRequestLbConfig - } - return nil -} - -func (m *Cluster) GetCommonLbConfig() *Cluster_CommonLbConfig { - if m != nil { - return m.CommonLbConfig - } - return nil -} - -func (m *Cluster) GetTransportSocket() *base.TransportSocket { - if m != nil { - return m.TransportSocket - } - return nil -} - -func (m *Cluster) GetMetadata() *base.Metadata { - if m != nil { - return m.Metadata - } - return nil -} - -func (m *Cluster) GetProtocolSelection() Cluster_ClusterProtocolSelection { - if m != nil { - return m.ProtocolSelection - } - return Cluster_USE_CONFIGURED_PROTOCOL -} - -func (m *Cluster) GetUpstreamConnectionOptions() *UpstreamConnectionOptions { - if m != nil { - return m.UpstreamConnectionOptions - } - return nil -} - -func (m *Cluster) GetCloseConnectionsOnHostHealthFailure() bool { - if m != nil { - return m.CloseConnectionsOnHostHealthFailure - } - return false -} - -func (m *Cluster) GetDrainConnectionsOnHostRemoval() bool { - if m != nil { - return m.DrainConnectionsOnHostRemoval - } - return false -} - -// XXX_OneofFuncs is for the internal use of the proto package. -func (*Cluster) 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 _Cluster_OneofMarshaler, _Cluster_OneofUnmarshaler, _Cluster_OneofSizer, []interface{}{ - (*Cluster_Type)(nil), - (*Cluster_ClusterType)(nil), - (*Cluster_RingHashLbConfig_)(nil), - (*Cluster_OriginalDstLbConfig_)(nil), - (*Cluster_LeastRequestLbConfig_)(nil), - } -} - -func _Cluster_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*Cluster) - // cluster_discovery_type - switch x := m.ClusterDiscoveryType.(type) { - case *Cluster_Type: - b.EncodeVarint(2<<3 | proto.WireVarint) - b.EncodeVarint(uint64(x.Type)) - case *Cluster_ClusterType: - b.EncodeVarint(38<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.ClusterType); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("Cluster.ClusterDiscoveryType has unexpected type %T", x) - } - // lb_config - switch x := m.LbConfig.(type) { - case *Cluster_RingHashLbConfig_: - b.EncodeVarint(23<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.RingHashLbConfig); err != nil { - return err - } - case *Cluster_OriginalDstLbConfig_: - b.EncodeVarint(34<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.OriginalDstLbConfig); err != nil { - return err - } - case *Cluster_LeastRequestLbConfig_: - b.EncodeVarint(37<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.LeastRequestLbConfig); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("Cluster.LbConfig has unexpected type %T", x) - } - return nil -} - -func _Cluster_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*Cluster) - switch tag { - case 2: // cluster_discovery_type.type - if wire != proto.WireVarint { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeVarint() - m.ClusterDiscoveryType = &Cluster_Type{Cluster_DiscoveryType(x)} - return true, err - case 38: // cluster_discovery_type.cluster_type - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(Cluster_CustomClusterType) - err := b.DecodeMessage(msg) - m.ClusterDiscoveryType = &Cluster_ClusterType{msg} - return true, err - case 23: // lb_config.ring_hash_lb_config - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(Cluster_RingHashLbConfig) - err := b.DecodeMessage(msg) - m.LbConfig = &Cluster_RingHashLbConfig_{msg} - return true, err - case 34: // lb_config.original_dst_lb_config - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(Cluster_OriginalDstLbConfig) - err := b.DecodeMessage(msg) - m.LbConfig = &Cluster_OriginalDstLbConfig_{msg} - return true, err - case 37: // lb_config.least_request_lb_config - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(Cluster_LeastRequestLbConfig) - err := b.DecodeMessage(msg) - m.LbConfig = &Cluster_LeastRequestLbConfig_{msg} - return true, err - default: - return false, nil - } -} - -func _Cluster_OneofSizer(msg proto.Message) (n int) { - m := msg.(*Cluster) - // cluster_discovery_type - switch x := m.ClusterDiscoveryType.(type) { - case *Cluster_Type: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(x.Type)) - case *Cluster_ClusterType: - s := proto.Size(x.ClusterType) - 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)) - } - // lb_config - switch x := m.LbConfig.(type) { - case *Cluster_RingHashLbConfig_: - s := proto.Size(x.RingHashLbConfig) - n += 2 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *Cluster_OriginalDstLbConfig_: - s := proto.Size(x.OriginalDstLbConfig) - n += 2 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *Cluster_LeastRequestLbConfig_: - s := proto.Size(x.LeastRequestLbConfig) - 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 -} - -type Cluster_CustomClusterType struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - TypedConfig *any.Any `protobuf:"bytes,2,opt,name=typed_config,json=typedConfig,proto3" json:"typed_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Cluster_CustomClusterType) Reset() { *m = Cluster_CustomClusterType{} } -func (m *Cluster_CustomClusterType) String() string { return proto.CompactTextString(m) } -func (*Cluster_CustomClusterType) ProtoMessage() {} -func (*Cluster_CustomClusterType) Descriptor() ([]byte, []int) { - return fileDescriptor_cds_3e3c13a974b77399, []int{0, 0} -} -func (m *Cluster_CustomClusterType) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Cluster_CustomClusterType.Unmarshal(m, b) -} -func (m *Cluster_CustomClusterType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Cluster_CustomClusterType.Marshal(b, m, deterministic) -} -func (dst *Cluster_CustomClusterType) XXX_Merge(src proto.Message) { - xxx_messageInfo_Cluster_CustomClusterType.Merge(dst, src) -} -func (m *Cluster_CustomClusterType) XXX_Size() int { - return xxx_messageInfo_Cluster_CustomClusterType.Size(m) -} -func (m *Cluster_CustomClusterType) XXX_DiscardUnknown() { - xxx_messageInfo_Cluster_CustomClusterType.DiscardUnknown(m) -} - -var xxx_messageInfo_Cluster_CustomClusterType proto.InternalMessageInfo - -func (m *Cluster_CustomClusterType) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *Cluster_CustomClusterType) GetTypedConfig() *any.Any { - if m != nil { - return m.TypedConfig - } - return nil -} - -type Cluster_EdsClusterConfig struct { - EdsConfig *config_source.ConfigSource `protobuf:"bytes,1,opt,name=eds_config,json=edsConfig,proto3" json:"eds_config,omitempty"` - ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Cluster_EdsClusterConfig) Reset() { *m = Cluster_EdsClusterConfig{} } -func (m *Cluster_EdsClusterConfig) String() string { return proto.CompactTextString(m) } -func (*Cluster_EdsClusterConfig) ProtoMessage() {} -func (*Cluster_EdsClusterConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cds_3e3c13a974b77399, []int{0, 1} -} -func (m *Cluster_EdsClusterConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Cluster_EdsClusterConfig.Unmarshal(m, b) -} -func (m *Cluster_EdsClusterConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Cluster_EdsClusterConfig.Marshal(b, m, deterministic) -} -func (dst *Cluster_EdsClusterConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_Cluster_EdsClusterConfig.Merge(dst, src) -} -func (m *Cluster_EdsClusterConfig) XXX_Size() int { - return xxx_messageInfo_Cluster_EdsClusterConfig.Size(m) -} -func (m *Cluster_EdsClusterConfig) XXX_DiscardUnknown() { - xxx_messageInfo_Cluster_EdsClusterConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_Cluster_EdsClusterConfig proto.InternalMessageInfo - -func (m *Cluster_EdsClusterConfig) GetEdsConfig() *config_source.ConfigSource { - if m != nil { - return m.EdsConfig - } - return nil -} - -func (m *Cluster_EdsClusterConfig) GetServiceName() string { - if m != nil { - return m.ServiceName - } - return "" -} - -type Cluster_LbSubsetConfig struct { - FallbackPolicy Cluster_LbSubsetConfig_LbSubsetFallbackPolicy `protobuf:"varint,1,opt,name=fallback_policy,json=fallbackPolicy,proto3,enum=envoy.api.v2.Cluster_LbSubsetConfig_LbSubsetFallbackPolicy" json:"fallback_policy,omitempty"` - DefaultSubset *_struct.Struct `protobuf:"bytes,2,opt,name=default_subset,json=defaultSubset,proto3" json:"default_subset,omitempty"` - SubsetSelectors []*Cluster_LbSubsetConfig_LbSubsetSelector `protobuf:"bytes,3,rep,name=subset_selectors,json=subsetSelectors,proto3" json:"subset_selectors,omitempty"` - LocalityWeightAware bool `protobuf:"varint,4,opt,name=locality_weight_aware,json=localityWeightAware,proto3" json:"locality_weight_aware,omitempty"` - ScaleLocalityWeight bool `protobuf:"varint,5,opt,name=scale_locality_weight,json=scaleLocalityWeight,proto3" json:"scale_locality_weight,omitempty"` - PanicModeAny bool `protobuf:"varint,6,opt,name=panic_mode_any,json=panicModeAny,proto3" json:"panic_mode_any,omitempty"` - ListAsAny bool `protobuf:"varint,7,opt,name=list_as_any,json=listAsAny,proto3" json:"list_as_any,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Cluster_LbSubsetConfig) Reset() { *m = Cluster_LbSubsetConfig{} } -func (m *Cluster_LbSubsetConfig) String() string { return proto.CompactTextString(m) } -func (*Cluster_LbSubsetConfig) ProtoMessage() {} -func (*Cluster_LbSubsetConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cds_3e3c13a974b77399, []int{0, 4} -} -func (m *Cluster_LbSubsetConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Cluster_LbSubsetConfig.Unmarshal(m, b) -} -func (m *Cluster_LbSubsetConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Cluster_LbSubsetConfig.Marshal(b, m, deterministic) -} -func (dst *Cluster_LbSubsetConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_Cluster_LbSubsetConfig.Merge(dst, src) -} -func (m *Cluster_LbSubsetConfig) XXX_Size() int { - return xxx_messageInfo_Cluster_LbSubsetConfig.Size(m) -} -func (m *Cluster_LbSubsetConfig) XXX_DiscardUnknown() { - xxx_messageInfo_Cluster_LbSubsetConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_Cluster_LbSubsetConfig proto.InternalMessageInfo - -func (m *Cluster_LbSubsetConfig) GetFallbackPolicy() Cluster_LbSubsetConfig_LbSubsetFallbackPolicy { - if m != nil { - return m.FallbackPolicy - } - return Cluster_LbSubsetConfig_NO_FALLBACK -} - -func (m *Cluster_LbSubsetConfig) GetDefaultSubset() *_struct.Struct { - if m != nil { - return m.DefaultSubset - } - return nil -} - -func (m *Cluster_LbSubsetConfig) GetSubsetSelectors() []*Cluster_LbSubsetConfig_LbSubsetSelector { - if m != nil { - return m.SubsetSelectors - } - return nil -} - -func (m *Cluster_LbSubsetConfig) GetLocalityWeightAware() bool { - if m != nil { - return m.LocalityWeightAware - } - return false -} - -func (m *Cluster_LbSubsetConfig) GetScaleLocalityWeight() bool { - if m != nil { - return m.ScaleLocalityWeight - } - return false -} - -func (m *Cluster_LbSubsetConfig) GetPanicModeAny() bool { - if m != nil { - return m.PanicModeAny - } - return false -} - -func (m *Cluster_LbSubsetConfig) GetListAsAny() bool { - if m != nil { - return m.ListAsAny - } - return false -} - -type Cluster_LbSubsetConfig_LbSubsetSelector struct { - Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` - FallbackPolicy Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy `protobuf:"varint,2,opt,name=fallback_policy,json=fallbackPolicy,proto3,enum=envoy.api.v2.Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy" json:"fallback_policy,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Cluster_LbSubsetConfig_LbSubsetSelector) Reset() { - *m = Cluster_LbSubsetConfig_LbSubsetSelector{} -} -func (m *Cluster_LbSubsetConfig_LbSubsetSelector) String() string { return proto.CompactTextString(m) } -func (*Cluster_LbSubsetConfig_LbSubsetSelector) ProtoMessage() {} -func (*Cluster_LbSubsetConfig_LbSubsetSelector) Descriptor() ([]byte, []int) { - return fileDescriptor_cds_3e3c13a974b77399, []int{0, 4, 0} -} -func (m *Cluster_LbSubsetConfig_LbSubsetSelector) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Cluster_LbSubsetConfig_LbSubsetSelector.Unmarshal(m, b) -} -func (m *Cluster_LbSubsetConfig_LbSubsetSelector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Cluster_LbSubsetConfig_LbSubsetSelector.Marshal(b, m, deterministic) -} -func (dst *Cluster_LbSubsetConfig_LbSubsetSelector) XXX_Merge(src proto.Message) { - xxx_messageInfo_Cluster_LbSubsetConfig_LbSubsetSelector.Merge(dst, src) -} -func (m *Cluster_LbSubsetConfig_LbSubsetSelector) XXX_Size() int { - return xxx_messageInfo_Cluster_LbSubsetConfig_LbSubsetSelector.Size(m) -} -func (m *Cluster_LbSubsetConfig_LbSubsetSelector) XXX_DiscardUnknown() { - xxx_messageInfo_Cluster_LbSubsetConfig_LbSubsetSelector.DiscardUnknown(m) -} - -var xxx_messageInfo_Cluster_LbSubsetConfig_LbSubsetSelector proto.InternalMessageInfo - -func (m *Cluster_LbSubsetConfig_LbSubsetSelector) GetKeys() []string { - if m != nil { - return m.Keys - } - return nil -} - -func (m *Cluster_LbSubsetConfig_LbSubsetSelector) GetFallbackPolicy() Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy { - if m != nil { - return m.FallbackPolicy - } - return Cluster_LbSubsetConfig_LbSubsetSelector_NOT_DEFINED -} - -type Cluster_LeastRequestLbConfig struct { - ChoiceCount *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=choice_count,json=choiceCount,proto3" json:"choice_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Cluster_LeastRequestLbConfig) Reset() { *m = Cluster_LeastRequestLbConfig{} } -func (m *Cluster_LeastRequestLbConfig) String() string { return proto.CompactTextString(m) } -func (*Cluster_LeastRequestLbConfig) ProtoMessage() {} -func (*Cluster_LeastRequestLbConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cds_3e3c13a974b77399, []int{0, 5} -} -func (m *Cluster_LeastRequestLbConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Cluster_LeastRequestLbConfig.Unmarshal(m, b) -} -func (m *Cluster_LeastRequestLbConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Cluster_LeastRequestLbConfig.Marshal(b, m, deterministic) -} -func (dst *Cluster_LeastRequestLbConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_Cluster_LeastRequestLbConfig.Merge(dst, src) -} -func (m *Cluster_LeastRequestLbConfig) XXX_Size() int { - return xxx_messageInfo_Cluster_LeastRequestLbConfig.Size(m) -} -func (m *Cluster_LeastRequestLbConfig) XXX_DiscardUnknown() { - xxx_messageInfo_Cluster_LeastRequestLbConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_Cluster_LeastRequestLbConfig proto.InternalMessageInfo - -func (m *Cluster_LeastRequestLbConfig) GetChoiceCount() *wrappers.UInt32Value { - if m != nil { - return m.ChoiceCount - } - return nil -} - -type Cluster_RingHashLbConfig struct { - MinimumRingSize *wrappers.UInt64Value `protobuf:"bytes,1,opt,name=minimum_ring_size,json=minimumRingSize,proto3" json:"minimum_ring_size,omitempty"` - HashFunction Cluster_RingHashLbConfig_HashFunction `protobuf:"varint,3,opt,name=hash_function,json=hashFunction,proto3,enum=envoy.api.v2.Cluster_RingHashLbConfig_HashFunction" json:"hash_function,omitempty"` - MaximumRingSize *wrappers.UInt64Value `protobuf:"bytes,4,opt,name=maximum_ring_size,json=maximumRingSize,proto3" json:"maximum_ring_size,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Cluster_RingHashLbConfig) Reset() { *m = Cluster_RingHashLbConfig{} } -func (m *Cluster_RingHashLbConfig) String() string { return proto.CompactTextString(m) } -func (*Cluster_RingHashLbConfig) ProtoMessage() {} -func (*Cluster_RingHashLbConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cds_3e3c13a974b77399, []int{0, 6} -} -func (m *Cluster_RingHashLbConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Cluster_RingHashLbConfig.Unmarshal(m, b) -} -func (m *Cluster_RingHashLbConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Cluster_RingHashLbConfig.Marshal(b, m, deterministic) -} -func (dst *Cluster_RingHashLbConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_Cluster_RingHashLbConfig.Merge(dst, src) -} -func (m *Cluster_RingHashLbConfig) XXX_Size() int { - return xxx_messageInfo_Cluster_RingHashLbConfig.Size(m) -} -func (m *Cluster_RingHashLbConfig) XXX_DiscardUnknown() { - xxx_messageInfo_Cluster_RingHashLbConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_Cluster_RingHashLbConfig proto.InternalMessageInfo - -func (m *Cluster_RingHashLbConfig) GetMinimumRingSize() *wrappers.UInt64Value { - if m != nil { - return m.MinimumRingSize - } - return nil -} - -func (m *Cluster_RingHashLbConfig) GetHashFunction() Cluster_RingHashLbConfig_HashFunction { - if m != nil { - return m.HashFunction - } - return Cluster_RingHashLbConfig_XX_HASH -} - -func (m *Cluster_RingHashLbConfig) GetMaximumRingSize() *wrappers.UInt64Value { - if m != nil { - return m.MaximumRingSize - } - return nil -} - -type Cluster_OriginalDstLbConfig struct { - UseHttpHeader bool `protobuf:"varint,1,opt,name=use_http_header,json=useHttpHeader,proto3" json:"use_http_header,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Cluster_OriginalDstLbConfig) Reset() { *m = Cluster_OriginalDstLbConfig{} } -func (m *Cluster_OriginalDstLbConfig) String() string { return proto.CompactTextString(m) } -func (*Cluster_OriginalDstLbConfig) ProtoMessage() {} -func (*Cluster_OriginalDstLbConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cds_3e3c13a974b77399, []int{0, 7} -} -func (m *Cluster_OriginalDstLbConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Cluster_OriginalDstLbConfig.Unmarshal(m, b) -} -func (m *Cluster_OriginalDstLbConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Cluster_OriginalDstLbConfig.Marshal(b, m, deterministic) -} -func (dst *Cluster_OriginalDstLbConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_Cluster_OriginalDstLbConfig.Merge(dst, src) -} -func (m *Cluster_OriginalDstLbConfig) XXX_Size() int { - return xxx_messageInfo_Cluster_OriginalDstLbConfig.Size(m) -} -func (m *Cluster_OriginalDstLbConfig) XXX_DiscardUnknown() { - xxx_messageInfo_Cluster_OriginalDstLbConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_Cluster_OriginalDstLbConfig proto.InternalMessageInfo - -func (m *Cluster_OriginalDstLbConfig) GetUseHttpHeader() bool { - if m != nil { - return m.UseHttpHeader - } - return false -} - -type Cluster_CommonLbConfig struct { - HealthyPanicThreshold *percent.Percent `protobuf:"bytes,1,opt,name=healthy_panic_threshold,json=healthyPanicThreshold,proto3" json:"healthy_panic_threshold,omitempty"` - // Types that are valid to be assigned to LocalityConfigSpecifier: - // *Cluster_CommonLbConfig_ZoneAwareLbConfig_ - // *Cluster_CommonLbConfig_LocalityWeightedLbConfig_ - LocalityConfigSpecifier isCluster_CommonLbConfig_LocalityConfigSpecifier `protobuf_oneof:"locality_config_specifier"` - UpdateMergeWindow *duration.Duration `protobuf:"bytes,4,opt,name=update_merge_window,json=updateMergeWindow,proto3" json:"update_merge_window,omitempty"` - IgnoreNewHostsUntilFirstHc bool `protobuf:"varint,5,opt,name=ignore_new_hosts_until_first_hc,json=ignoreNewHostsUntilFirstHc,proto3" json:"ignore_new_hosts_until_first_hc,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Cluster_CommonLbConfig) Reset() { *m = Cluster_CommonLbConfig{} } -func (m *Cluster_CommonLbConfig) String() string { return proto.CompactTextString(m) } -func (*Cluster_CommonLbConfig) ProtoMessage() {} -func (*Cluster_CommonLbConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cds_3e3c13a974b77399, []int{0, 8} -} -func (m *Cluster_CommonLbConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Cluster_CommonLbConfig.Unmarshal(m, b) -} -func (m *Cluster_CommonLbConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Cluster_CommonLbConfig.Marshal(b, m, deterministic) -} -func (dst *Cluster_CommonLbConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_Cluster_CommonLbConfig.Merge(dst, src) -} -func (m *Cluster_CommonLbConfig) XXX_Size() int { - return xxx_messageInfo_Cluster_CommonLbConfig.Size(m) -} -func (m *Cluster_CommonLbConfig) XXX_DiscardUnknown() { - xxx_messageInfo_Cluster_CommonLbConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_Cluster_CommonLbConfig proto.InternalMessageInfo - -func (m *Cluster_CommonLbConfig) GetHealthyPanicThreshold() *percent.Percent { - if m != nil { - return m.HealthyPanicThreshold - } - return nil -} - -type isCluster_CommonLbConfig_LocalityConfigSpecifier interface { - isCluster_CommonLbConfig_LocalityConfigSpecifier() -} - -type Cluster_CommonLbConfig_ZoneAwareLbConfig_ struct { - ZoneAwareLbConfig *Cluster_CommonLbConfig_ZoneAwareLbConfig `protobuf:"bytes,2,opt,name=zone_aware_lb_config,json=zoneAwareLbConfig,proto3,oneof"` -} - -type Cluster_CommonLbConfig_LocalityWeightedLbConfig_ struct { - LocalityWeightedLbConfig *Cluster_CommonLbConfig_LocalityWeightedLbConfig `protobuf:"bytes,3,opt,name=locality_weighted_lb_config,json=localityWeightedLbConfig,proto3,oneof"` -} - -func (*Cluster_CommonLbConfig_ZoneAwareLbConfig_) isCluster_CommonLbConfig_LocalityConfigSpecifier() {} - -func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig_) isCluster_CommonLbConfig_LocalityConfigSpecifier() { -} - -func (m *Cluster_CommonLbConfig) GetLocalityConfigSpecifier() isCluster_CommonLbConfig_LocalityConfigSpecifier { - if m != nil { - return m.LocalityConfigSpecifier - } - return nil -} - -func (m *Cluster_CommonLbConfig) GetZoneAwareLbConfig() *Cluster_CommonLbConfig_ZoneAwareLbConfig { - if x, ok := m.GetLocalityConfigSpecifier().(*Cluster_CommonLbConfig_ZoneAwareLbConfig_); ok { - return x.ZoneAwareLbConfig - } - return nil -} - -func (m *Cluster_CommonLbConfig) GetLocalityWeightedLbConfig() *Cluster_CommonLbConfig_LocalityWeightedLbConfig { - if x, ok := m.GetLocalityConfigSpecifier().(*Cluster_CommonLbConfig_LocalityWeightedLbConfig_); ok { - return x.LocalityWeightedLbConfig - } - return nil -} - -func (m *Cluster_CommonLbConfig) GetUpdateMergeWindow() *duration.Duration { - if m != nil { - return m.UpdateMergeWindow - } - return nil -} - -func (m *Cluster_CommonLbConfig) GetIgnoreNewHostsUntilFirstHc() bool { - if m != nil { - return m.IgnoreNewHostsUntilFirstHc - } - return false -} - -// XXX_OneofFuncs is for the internal use of the proto package. -func (*Cluster_CommonLbConfig) 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 _Cluster_CommonLbConfig_OneofMarshaler, _Cluster_CommonLbConfig_OneofUnmarshaler, _Cluster_CommonLbConfig_OneofSizer, []interface{}{ - (*Cluster_CommonLbConfig_ZoneAwareLbConfig_)(nil), - (*Cluster_CommonLbConfig_LocalityWeightedLbConfig_)(nil), - } -} - -func _Cluster_CommonLbConfig_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*Cluster_CommonLbConfig) - // locality_config_specifier - switch x := m.LocalityConfigSpecifier.(type) { - case *Cluster_CommonLbConfig_ZoneAwareLbConfig_: - b.EncodeVarint(2<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.ZoneAwareLbConfig); err != nil { - return err - } - case *Cluster_CommonLbConfig_LocalityWeightedLbConfig_: - b.EncodeVarint(3<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.LocalityWeightedLbConfig); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("Cluster_CommonLbConfig.LocalityConfigSpecifier has unexpected type %T", x) - } - return nil -} - -func _Cluster_CommonLbConfig_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*Cluster_CommonLbConfig) - switch tag { - case 2: // locality_config_specifier.zone_aware_lb_config - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(Cluster_CommonLbConfig_ZoneAwareLbConfig) - err := b.DecodeMessage(msg) - m.LocalityConfigSpecifier = &Cluster_CommonLbConfig_ZoneAwareLbConfig_{msg} - return true, err - case 3: // locality_config_specifier.locality_weighted_lb_config - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(Cluster_CommonLbConfig_LocalityWeightedLbConfig) - err := b.DecodeMessage(msg) - m.LocalityConfigSpecifier = &Cluster_CommonLbConfig_LocalityWeightedLbConfig_{msg} - return true, err - default: - return false, nil - } -} - -func _Cluster_CommonLbConfig_OneofSizer(msg proto.Message) (n int) { - m := msg.(*Cluster_CommonLbConfig) - // locality_config_specifier - switch x := m.LocalityConfigSpecifier.(type) { - case *Cluster_CommonLbConfig_ZoneAwareLbConfig_: - s := proto.Size(x.ZoneAwareLbConfig) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *Cluster_CommonLbConfig_LocalityWeightedLbConfig_: - s := proto.Size(x.LocalityWeightedLbConfig) - 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 Cluster_CommonLbConfig_ZoneAwareLbConfig struct { - RoutingEnabled *percent.Percent `protobuf:"bytes,1,opt,name=routing_enabled,json=routingEnabled,proto3" json:"routing_enabled,omitempty"` - MinClusterSize *wrappers.UInt64Value `protobuf:"bytes,2,opt,name=min_cluster_size,json=minClusterSize,proto3" json:"min_cluster_size,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Cluster_CommonLbConfig_ZoneAwareLbConfig) Reset() { - *m = Cluster_CommonLbConfig_ZoneAwareLbConfig{} -} -func (m *Cluster_CommonLbConfig_ZoneAwareLbConfig) String() string { return proto.CompactTextString(m) } -func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) ProtoMessage() {} -func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cds_3e3c13a974b77399, []int{0, 8, 0} -} -func (m *Cluster_CommonLbConfig_ZoneAwareLbConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Cluster_CommonLbConfig_ZoneAwareLbConfig.Unmarshal(m, b) -} -func (m *Cluster_CommonLbConfig_ZoneAwareLbConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Cluster_CommonLbConfig_ZoneAwareLbConfig.Marshal(b, m, deterministic) -} -func (dst *Cluster_CommonLbConfig_ZoneAwareLbConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_Cluster_CommonLbConfig_ZoneAwareLbConfig.Merge(dst, src) -} -func (m *Cluster_CommonLbConfig_ZoneAwareLbConfig) XXX_Size() int { - return xxx_messageInfo_Cluster_CommonLbConfig_ZoneAwareLbConfig.Size(m) -} -func (m *Cluster_CommonLbConfig_ZoneAwareLbConfig) XXX_DiscardUnknown() { - xxx_messageInfo_Cluster_CommonLbConfig_ZoneAwareLbConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_Cluster_CommonLbConfig_ZoneAwareLbConfig proto.InternalMessageInfo - -func (m *Cluster_CommonLbConfig_ZoneAwareLbConfig) GetRoutingEnabled() *percent.Percent { - if m != nil { - return m.RoutingEnabled - } - return nil -} - -func (m *Cluster_CommonLbConfig_ZoneAwareLbConfig) GetMinClusterSize() *wrappers.UInt64Value { - if m != nil { - return m.MinClusterSize - } - return nil -} - -type Cluster_CommonLbConfig_LocalityWeightedLbConfig struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Cluster_CommonLbConfig_LocalityWeightedLbConfig) Reset() { - *m = Cluster_CommonLbConfig_LocalityWeightedLbConfig{} -} -func (m *Cluster_CommonLbConfig_LocalityWeightedLbConfig) String() string { - return proto.CompactTextString(m) -} -func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) ProtoMessage() {} -func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cds_3e3c13a974b77399, []int{0, 8, 1} -} -func (m *Cluster_CommonLbConfig_LocalityWeightedLbConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Cluster_CommonLbConfig_LocalityWeightedLbConfig.Unmarshal(m, b) -} -func (m *Cluster_CommonLbConfig_LocalityWeightedLbConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Cluster_CommonLbConfig_LocalityWeightedLbConfig.Marshal(b, m, deterministic) -} -func (dst *Cluster_CommonLbConfig_LocalityWeightedLbConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_Cluster_CommonLbConfig_LocalityWeightedLbConfig.Merge(dst, src) -} -func (m *Cluster_CommonLbConfig_LocalityWeightedLbConfig) XXX_Size() int { - return xxx_messageInfo_Cluster_CommonLbConfig_LocalityWeightedLbConfig.Size(m) -} -func (m *Cluster_CommonLbConfig_LocalityWeightedLbConfig) XXX_DiscardUnknown() { - xxx_messageInfo_Cluster_CommonLbConfig_LocalityWeightedLbConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_Cluster_CommonLbConfig_LocalityWeightedLbConfig proto.InternalMessageInfo - -type UpstreamBindConfig struct { - SourceAddress *address.Address `protobuf:"bytes,1,opt,name=source_address,json=sourceAddress,proto3" json:"source_address,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpstreamBindConfig) Reset() { *m = UpstreamBindConfig{} } -func (m *UpstreamBindConfig) String() string { return proto.CompactTextString(m) } -func (*UpstreamBindConfig) ProtoMessage() {} -func (*UpstreamBindConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cds_3e3c13a974b77399, []int{1} -} -func (m *UpstreamBindConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpstreamBindConfig.Unmarshal(m, b) -} -func (m *UpstreamBindConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpstreamBindConfig.Marshal(b, m, deterministic) -} -func (dst *UpstreamBindConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpstreamBindConfig.Merge(dst, src) -} -func (m *UpstreamBindConfig) XXX_Size() int { - return xxx_messageInfo_UpstreamBindConfig.Size(m) -} -func (m *UpstreamBindConfig) XXX_DiscardUnknown() { - xxx_messageInfo_UpstreamBindConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_UpstreamBindConfig proto.InternalMessageInfo - -func (m *UpstreamBindConfig) GetSourceAddress() *address.Address { - if m != nil { - return m.SourceAddress - } - return nil -} - -type UpstreamConnectionOptions struct { - TcpKeepalive *address.TcpKeepalive `protobuf:"bytes,1,opt,name=tcp_keepalive,json=tcpKeepalive,proto3" json:"tcp_keepalive,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpstreamConnectionOptions) Reset() { *m = UpstreamConnectionOptions{} } -func (m *UpstreamConnectionOptions) String() string { return proto.CompactTextString(m) } -func (*UpstreamConnectionOptions) ProtoMessage() {} -func (*UpstreamConnectionOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_cds_3e3c13a974b77399, []int{2} -} -func (m *UpstreamConnectionOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpstreamConnectionOptions.Unmarshal(m, b) -} -func (m *UpstreamConnectionOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpstreamConnectionOptions.Marshal(b, m, deterministic) -} -func (dst *UpstreamConnectionOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpstreamConnectionOptions.Merge(dst, src) -} -func (m *UpstreamConnectionOptions) XXX_Size() int { - return xxx_messageInfo_UpstreamConnectionOptions.Size(m) -} -func (m *UpstreamConnectionOptions) XXX_DiscardUnknown() { - xxx_messageInfo_UpstreamConnectionOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_UpstreamConnectionOptions proto.InternalMessageInfo - -func (m *UpstreamConnectionOptions) GetTcpKeepalive() *address.TcpKeepalive { - if m != nil { - return m.TcpKeepalive - } - return nil -} - -func init() { - proto.RegisterType((*Cluster)(nil), "envoy.api.v2.Cluster") - proto.RegisterMapType((map[string]*_struct.Struct)(nil), "envoy.api.v2.Cluster.ExtensionProtocolOptionsEntry") - proto.RegisterMapType((map[string]*any.Any)(nil), "envoy.api.v2.Cluster.TypedExtensionProtocolOptionsEntry") - proto.RegisterType((*Cluster_CustomClusterType)(nil), "envoy.api.v2.Cluster.CustomClusterType") - proto.RegisterType((*Cluster_EdsClusterConfig)(nil), "envoy.api.v2.Cluster.EdsClusterConfig") - proto.RegisterType((*Cluster_LbSubsetConfig)(nil), "envoy.api.v2.Cluster.LbSubsetConfig") - proto.RegisterType((*Cluster_LbSubsetConfig_LbSubsetSelector)(nil), "envoy.api.v2.Cluster.LbSubsetConfig.LbSubsetSelector") - proto.RegisterType((*Cluster_LeastRequestLbConfig)(nil), "envoy.api.v2.Cluster.LeastRequestLbConfig") - proto.RegisterType((*Cluster_RingHashLbConfig)(nil), "envoy.api.v2.Cluster.RingHashLbConfig") - proto.RegisterType((*Cluster_OriginalDstLbConfig)(nil), "envoy.api.v2.Cluster.OriginalDstLbConfig") - proto.RegisterType((*Cluster_CommonLbConfig)(nil), "envoy.api.v2.Cluster.CommonLbConfig") - proto.RegisterType((*Cluster_CommonLbConfig_ZoneAwareLbConfig)(nil), "envoy.api.v2.Cluster.CommonLbConfig.ZoneAwareLbConfig") - proto.RegisterType((*Cluster_CommonLbConfig_LocalityWeightedLbConfig)(nil), "envoy.api.v2.Cluster.CommonLbConfig.LocalityWeightedLbConfig") - proto.RegisterType((*UpstreamBindConfig)(nil), "envoy.api.v2.UpstreamBindConfig") - proto.RegisterType((*UpstreamConnectionOptions)(nil), "envoy.api.v2.UpstreamConnectionOptions") - proto.RegisterEnum("envoy.api.v2.Cluster_DiscoveryType", Cluster_DiscoveryType_name, Cluster_DiscoveryType_value) - proto.RegisterEnum("envoy.api.v2.Cluster_LbPolicy", Cluster_LbPolicy_name, Cluster_LbPolicy_value) - proto.RegisterEnum("envoy.api.v2.Cluster_DnsLookupFamily", Cluster_DnsLookupFamily_name, Cluster_DnsLookupFamily_value) - proto.RegisterEnum("envoy.api.v2.Cluster_ClusterProtocolSelection", Cluster_ClusterProtocolSelection_name, Cluster_ClusterProtocolSelection_value) - proto.RegisterEnum("envoy.api.v2.Cluster_LbSubsetConfig_LbSubsetFallbackPolicy", Cluster_LbSubsetConfig_LbSubsetFallbackPolicy_name, Cluster_LbSubsetConfig_LbSubsetFallbackPolicy_value) - proto.RegisterEnum("envoy.api.v2.Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy", Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy_name, Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy_value) - proto.RegisterEnum("envoy.api.v2.Cluster_RingHashLbConfig_HashFunction", Cluster_RingHashLbConfig_HashFunction_name, Cluster_RingHashLbConfig_HashFunction_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 - -// ClusterDiscoveryServiceClient is the client API for ClusterDiscoveryService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ClusterDiscoveryServiceClient interface { - StreamClusters(ctx context.Context, opts ...grpc.CallOption) (ClusterDiscoveryService_StreamClustersClient, error) - DeltaClusters(ctx context.Context, opts ...grpc.CallOption) (ClusterDiscoveryService_DeltaClustersClient, error) - FetchClusters(ctx context.Context, in *discovery.DiscoveryRequest, opts ...grpc.CallOption) (*discovery.DiscoveryResponse, error) -} - -type clusterDiscoveryServiceClient struct { - cc *grpc.ClientConn -} - -func NewClusterDiscoveryServiceClient(cc *grpc.ClientConn) ClusterDiscoveryServiceClient { - return &clusterDiscoveryServiceClient{cc} -} - -func (c *clusterDiscoveryServiceClient) StreamClusters(ctx context.Context, opts ...grpc.CallOption) (ClusterDiscoveryService_StreamClustersClient, error) { - stream, err := c.cc.NewStream(ctx, &_ClusterDiscoveryService_serviceDesc.Streams[0], "/envoy.api.v2.ClusterDiscoveryService/StreamClusters", opts...) - if err != nil { - return nil, err - } - x := &clusterDiscoveryServiceStreamClustersClient{stream} - return x, nil -} - -type ClusterDiscoveryService_StreamClustersClient interface { - Send(*discovery.DiscoveryRequest) error - Recv() (*discovery.DiscoveryResponse, error) - grpc.ClientStream -} - -type clusterDiscoveryServiceStreamClustersClient struct { - grpc.ClientStream -} - -func (x *clusterDiscoveryServiceStreamClustersClient) Send(m *discovery.DiscoveryRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *clusterDiscoveryServiceStreamClustersClient) Recv() (*discovery.DiscoveryResponse, error) { - m := new(discovery.DiscoveryResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *clusterDiscoveryServiceClient) DeltaClusters(ctx context.Context, opts ...grpc.CallOption) (ClusterDiscoveryService_DeltaClustersClient, error) { - stream, err := c.cc.NewStream(ctx, &_ClusterDiscoveryService_serviceDesc.Streams[1], "/envoy.api.v2.ClusterDiscoveryService/DeltaClusters", opts...) - if err != nil { - return nil, err - } - x := &clusterDiscoveryServiceDeltaClustersClient{stream} - return x, nil -} - -type ClusterDiscoveryService_DeltaClustersClient interface { - Send(*discovery.DeltaDiscoveryRequest) error - Recv() (*discovery.DeltaDiscoveryResponse, error) - grpc.ClientStream -} - -type clusterDiscoveryServiceDeltaClustersClient struct { - grpc.ClientStream -} - -func (x *clusterDiscoveryServiceDeltaClustersClient) Send(m *discovery.DeltaDiscoveryRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *clusterDiscoveryServiceDeltaClustersClient) Recv() (*discovery.DeltaDiscoveryResponse, error) { - m := new(discovery.DeltaDiscoveryResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *clusterDiscoveryServiceClient) FetchClusters(ctx context.Context, in *discovery.DiscoveryRequest, opts ...grpc.CallOption) (*discovery.DiscoveryResponse, error) { - out := new(discovery.DiscoveryResponse) - err := c.cc.Invoke(ctx, "/envoy.api.v2.ClusterDiscoveryService/FetchClusters", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ClusterDiscoveryServiceServer is the server API for ClusterDiscoveryService service. -type ClusterDiscoveryServiceServer interface { - StreamClusters(ClusterDiscoveryService_StreamClustersServer) error - DeltaClusters(ClusterDiscoveryService_DeltaClustersServer) error - FetchClusters(context.Context, *discovery.DiscoveryRequest) (*discovery.DiscoveryResponse, error) -} - -func RegisterClusterDiscoveryServiceServer(s *grpc.Server, srv ClusterDiscoveryServiceServer) { - s.RegisterService(&_ClusterDiscoveryService_serviceDesc, srv) -} - -func _ClusterDiscoveryService_StreamClusters_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(ClusterDiscoveryServiceServer).StreamClusters(&clusterDiscoveryServiceStreamClustersServer{stream}) -} - -type ClusterDiscoveryService_StreamClustersServer interface { - Send(*discovery.DiscoveryResponse) error - Recv() (*discovery.DiscoveryRequest, error) - grpc.ServerStream -} - -type clusterDiscoveryServiceStreamClustersServer struct { - grpc.ServerStream -} - -func (x *clusterDiscoveryServiceStreamClustersServer) Send(m *discovery.DiscoveryResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *clusterDiscoveryServiceStreamClustersServer) Recv() (*discovery.DiscoveryRequest, error) { - m := new(discovery.DiscoveryRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _ClusterDiscoveryService_DeltaClusters_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(ClusterDiscoveryServiceServer).DeltaClusters(&clusterDiscoveryServiceDeltaClustersServer{stream}) -} - -type ClusterDiscoveryService_DeltaClustersServer interface { - Send(*discovery.DeltaDiscoveryResponse) error - Recv() (*discovery.DeltaDiscoveryRequest, error) - grpc.ServerStream -} - -type clusterDiscoveryServiceDeltaClustersServer struct { - grpc.ServerStream -} - -func (x *clusterDiscoveryServiceDeltaClustersServer) Send(m *discovery.DeltaDiscoveryResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *clusterDiscoveryServiceDeltaClustersServer) Recv() (*discovery.DeltaDiscoveryRequest, error) { - m := new(discovery.DeltaDiscoveryRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _ClusterDiscoveryService_FetchClusters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(discovery.DiscoveryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ClusterDiscoveryServiceServer).FetchClusters(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/envoy.api.v2.ClusterDiscoveryService/FetchClusters", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterDiscoveryServiceServer).FetchClusters(ctx, req.(*discovery.DiscoveryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ClusterDiscoveryService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "envoy.api.v2.ClusterDiscoveryService", - HandlerType: (*ClusterDiscoveryServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "FetchClusters", - Handler: _ClusterDiscoveryService_FetchClusters_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "StreamClusters", - Handler: _ClusterDiscoveryService_StreamClusters_Handler, - ServerStreams: true, - ClientStreams: true, - }, - { - StreamName: "DeltaClusters", - Handler: _ClusterDiscoveryService_DeltaClusters_Handler, - ServerStreams: true, - ClientStreams: true, - }, - }, - Metadata: "envoy/api/v2/cds.proto", -} - -func init() { proto.RegisterFile("envoy/api/v2/cds.proto", fileDescriptor_cds_3e3c13a974b77399) } - -var fileDescriptor_cds_3e3c13a974b77399 = []byte{ - // 2682 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x59, 0x4b, 0x73, 0x1b, 0xc7, - 0xf1, 0xe7, 0x82, 0x94, 0x44, 0x0e, 0x09, 0x60, 0x39, 0xa4, 0xa4, 0x15, 0xa8, 0x07, 0x05, 0x4b, - 0x36, 0xff, 0xfa, 0x27, 0x60, 0x42, 0xf9, 0x55, 0x4e, 0xec, 0x14, 0x5e, 0x14, 0x29, 0x83, 0x00, - 0x33, 0x00, 0x24, 0x3b, 0x2e, 0xd7, 0x78, 0xb0, 0x3b, 0x20, 0xb6, 0xb8, 0xd8, 0x5d, 0xef, 0xcc, - 0x52, 0x82, 0x0e, 0x29, 0xc5, 0xa7, 0xe4, 0x9c, 0x53, 0xaa, 0x92, 0x2f, 0x90, 0xaa, 0x7c, 0x81, - 0x9c, 0x52, 0xb9, 0xe5, 0x9c, 0x7b, 0x4e, 0xb9, 0xe4, 0x5b, 0xa4, 0xe6, 0xb1, 0x20, 0x1e, 0x4b, - 0x4a, 0x76, 0xe5, 0x44, 0x4c, 0xf7, 0xaf, 0x7f, 0x3d, 0xdb, 0xd3, 0xd3, 0xd3, 0x33, 0x04, 0x37, - 0xa8, 0x7f, 0x16, 0x8c, 0x76, 0x49, 0xe8, 0xee, 0x9e, 0xed, 0xed, 0xda, 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, 0xe9, 0x85, 0x2f, 0x4e, 0xa9, 0x1b, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/cluster/circuit_breaker/circuit_breaker.pb.go b/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/cluster/circuit_breaker/circuit_breaker.pb.go deleted file mode 100755 index b631f7a7..00000000 --- a/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/cluster/circuit_breaker/circuit_breaker.pb.go +++ /dev/null @@ -1,185 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: envoy/api/v2/cluster/circuit_breaker.proto - -package cluster - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import wrappers "github.com/golang/protobuf/ptypes/wrappers" -import base "google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/base" - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation 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 CircuitBreakers struct { - Thresholds []*CircuitBreakers_Thresholds `protobuf:"bytes,1,rep,name=thresholds,proto3" json:"thresholds,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CircuitBreakers) Reset() { *m = CircuitBreakers{} } -func (m *CircuitBreakers) String() string { return proto.CompactTextString(m) } -func (*CircuitBreakers) ProtoMessage() {} -func (*CircuitBreakers) Descriptor() ([]byte, []int) { - return fileDescriptor_circuit_breaker_6d322bb388c83ee8, []int{0} -} -func (m *CircuitBreakers) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CircuitBreakers.Unmarshal(m, b) -} -func (m *CircuitBreakers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CircuitBreakers.Marshal(b, m, deterministic) -} -func (dst *CircuitBreakers) XXX_Merge(src proto.Message) { - xxx_messageInfo_CircuitBreakers.Merge(dst, src) -} -func (m *CircuitBreakers) XXX_Size() int { - return xxx_messageInfo_CircuitBreakers.Size(m) -} -func (m *CircuitBreakers) XXX_DiscardUnknown() { - xxx_messageInfo_CircuitBreakers.DiscardUnknown(m) -} - -var xxx_messageInfo_CircuitBreakers proto.InternalMessageInfo - -func (m *CircuitBreakers) GetThresholds() []*CircuitBreakers_Thresholds { - if m != nil { - return m.Thresholds - } - return nil -} - -type CircuitBreakers_Thresholds struct { - Priority base.RoutingPriority `protobuf:"varint,1,opt,name=priority,proto3,enum=envoy.api.v2.core.RoutingPriority" json:"priority,omitempty"` - MaxConnections *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=max_connections,json=maxConnections,proto3" json:"max_connections,omitempty"` - MaxPendingRequests *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=max_pending_requests,json=maxPendingRequests,proto3" json:"max_pending_requests,omitempty"` - MaxRequests *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=max_requests,json=maxRequests,proto3" json:"max_requests,omitempty"` - MaxRetries *wrappers.UInt32Value `protobuf:"bytes,5,opt,name=max_retries,json=maxRetries,proto3" json:"max_retries,omitempty"` - TrackRemaining bool `protobuf:"varint,6,opt,name=track_remaining,json=trackRemaining,proto3" json:"track_remaining,omitempty"` - MaxConnectionPools *wrappers.UInt32Value `protobuf:"bytes,7,opt,name=max_connection_pools,json=maxConnectionPools,proto3" json:"max_connection_pools,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CircuitBreakers_Thresholds) Reset() { *m = CircuitBreakers_Thresholds{} } -func (m *CircuitBreakers_Thresholds) String() string { return proto.CompactTextString(m) } -func (*CircuitBreakers_Thresholds) ProtoMessage() {} -func (*CircuitBreakers_Thresholds) Descriptor() ([]byte, []int) { - return fileDescriptor_circuit_breaker_6d322bb388c83ee8, []int{0, 0} -} -func (m *CircuitBreakers_Thresholds) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CircuitBreakers_Thresholds.Unmarshal(m, b) -} -func (m *CircuitBreakers_Thresholds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CircuitBreakers_Thresholds.Marshal(b, m, deterministic) -} -func (dst *CircuitBreakers_Thresholds) XXX_Merge(src proto.Message) { - xxx_messageInfo_CircuitBreakers_Thresholds.Merge(dst, src) -} -func (m *CircuitBreakers_Thresholds) XXX_Size() int { - return xxx_messageInfo_CircuitBreakers_Thresholds.Size(m) -} -func (m *CircuitBreakers_Thresholds) XXX_DiscardUnknown() { - xxx_messageInfo_CircuitBreakers_Thresholds.DiscardUnknown(m) -} - -var xxx_messageInfo_CircuitBreakers_Thresholds proto.InternalMessageInfo - -func (m *CircuitBreakers_Thresholds) GetPriority() base.RoutingPriority { - if m != nil { - return m.Priority - } - return base.RoutingPriority_DEFAULT -} - -func (m *CircuitBreakers_Thresholds) GetMaxConnections() *wrappers.UInt32Value { - if m != nil { - return m.MaxConnections - } - return nil -} - -func (m *CircuitBreakers_Thresholds) GetMaxPendingRequests() *wrappers.UInt32Value { - if m != nil { - return m.MaxPendingRequests - } - return nil -} - -func (m *CircuitBreakers_Thresholds) GetMaxRequests() *wrappers.UInt32Value { - if m != nil { - return m.MaxRequests - } - return nil -} - -func (m *CircuitBreakers_Thresholds) GetMaxRetries() *wrappers.UInt32Value { - if m != nil { - return m.MaxRetries - } - return nil -} - -func (m *CircuitBreakers_Thresholds) GetTrackRemaining() bool { - if m != nil { - return m.TrackRemaining - } - return false -} - -func (m *CircuitBreakers_Thresholds) GetMaxConnectionPools() *wrappers.UInt32Value { - if m != nil { - return m.MaxConnectionPools - } - return nil -} - -func init() { - proto.RegisterType((*CircuitBreakers)(nil), "envoy.api.v2.cluster.CircuitBreakers") - proto.RegisterType((*CircuitBreakers_Thresholds)(nil), "envoy.api.v2.cluster.CircuitBreakers.Thresholds") -} - -func init() { - proto.RegisterFile("envoy/api/v2/cluster/circuit_breaker.proto", fileDescriptor_circuit_breaker_6d322bb388c83ee8) -} - -var fileDescriptor_circuit_breaker_6d322bb388c83ee8 = []byte{ - // 422 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xcf, 0x6e, 0xd3, 0x40, - 0x10, 0x87, 0xe5, 0xa6, 0xb4, 0xd5, 0x06, 0x25, 0xd2, 0x52, 0x21, 0x2b, 0xaa, 0x50, 0x94, 0x0b, - 0x11, 0x87, 0x35, 0x72, 0xcf, 0x80, 0x48, 0xd4, 0x03, 0x97, 0xca, 0x32, 0xd0, 0x03, 0x17, 0x6b, - 0xe3, 0x0e, 0xee, 0xaa, 0xf6, 0xce, 0x32, 0xbb, 0x0e, 0xce, 0x2b, 0xf1, 0x18, 0x3c, 0x07, 0x4f, - 0xc0, 0x53, 0xa0, 0x78, 0xf3, 0x87, 0x56, 0xa9, 0xe4, 0xa3, 0x67, 0xe6, 0xfb, 0xc6, 0xbf, 0xdd, - 0x65, 0x6f, 0x40, 0x2f, 0x71, 0x15, 0x49, 0xa3, 0xa2, 0x65, 0x1c, 0xe5, 0x65, 0x6d, 0x1d, 0x50, - 0x94, 0x2b, 0xca, 0x6b, 0xe5, 0xb2, 0x05, 0x81, 0xbc, 0x07, 0x12, 0x86, 0xd0, 0x21, 0x3f, 0x6f, - 0x67, 0x85, 0x34, 0x4a, 0x2c, 0x63, 0xb1, 0x99, 0x1d, 0x5d, 0x3c, 0x34, 0x20, 0x41, 0xb4, 0x90, - 0x16, 0x3c, 0x33, 0x7a, 0x55, 0x20, 0x16, 0x25, 0x44, 0xed, 0xd7, 0xa2, 0xfe, 0x1e, 0xfd, 0x24, - 0x69, 0x0c, 0x90, 0xf5, 0xfd, 0xc9, 0xef, 0x63, 0x36, 0x9c, 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, 0xf4, - 0x2c, 0x1d, 0xb4, 0xe5, 0x74, 0x5b, 0xdd, 0x06, 0xdf, 0x9f, 0x5f, 0x66, 0x10, 0x4b, 0x1b, 0x9e, - 0x76, 0x0c, 0xbe, 0x3f, 0xc4, 0x64, 0xcd, 0xcd, 0x96, 0x6c, 0xa2, 0xd0, 0xdf, 0xa0, 0x21, 0x6c, - 0x56, 0x07, 0xdf, 0xca, 0xec, 0xc5, 0xc3, 0xc7, 0x92, 0xac, 0xed, 0x49, 0xf0, 0xed, 0x74, 0xd3, - 0xff, 0x75, 0xf4, 0xf2, 0xaa, 0xc5, 0x3e, 0x1a, 0x25, 0x6e, 0x62, 0x31, 0xf7, 0xe5, 0xeb, 0xcf, - 0x7f, 0x9f, 0x6a, 0x2c, 0x4e, 0xda, 0x3f, 0xbc, 0xfc, 0x17, 0x00, 0x00, 0xff, 0xff, 0xb7, 0x50, - 0x58, 0xfa, 0x45, 0x03, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/cluster/outlier_detection/outlier_detection.pb.go b/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/cluster/outlier_detection/outlier_detection.pb.go deleted file mode 100755 index 80ee5353..00000000 --- a/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/cluster/outlier_detection/outlier_detection.pb.go +++ /dev/null @@ -1,224 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: envoy/api/v2/cluster/outlier_detection.proto - -package envoy_api_v2_cluster - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import duration "github.com/golang/protobuf/ptypes/duration" -import wrappers "github.com/golang/protobuf/ptypes/wrappers" -import _ "google.golang.org/grpc/xds/internal/proto/validate" - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation 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 OutlierDetection struct { - Consecutive_5Xx *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=consecutive_5xx,json=consecutive5xx,proto3" json:"consecutive_5xx,omitempty"` - Interval *duration.Duration `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"` - BaseEjectionTime *duration.Duration `protobuf:"bytes,3,opt,name=base_ejection_time,json=baseEjectionTime,proto3" json:"base_ejection_time,omitempty"` - MaxEjectionPercent *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=max_ejection_percent,json=maxEjectionPercent,proto3" json:"max_ejection_percent,omitempty"` - EnforcingConsecutive_5Xx *wrappers.UInt32Value `protobuf:"bytes,5,opt,name=enforcing_consecutive_5xx,json=enforcingConsecutive5xx,proto3" json:"enforcing_consecutive_5xx,omitempty"` - EnforcingSuccessRate *wrappers.UInt32Value `protobuf:"bytes,6,opt,name=enforcing_success_rate,json=enforcingSuccessRate,proto3" json:"enforcing_success_rate,omitempty"` - SuccessRateMinimumHosts *wrappers.UInt32Value `protobuf:"bytes,7,opt,name=success_rate_minimum_hosts,json=successRateMinimumHosts,proto3" json:"success_rate_minimum_hosts,omitempty"` - SuccessRateRequestVolume *wrappers.UInt32Value `protobuf:"bytes,8,opt,name=success_rate_request_volume,json=successRateRequestVolume,proto3" json:"success_rate_request_volume,omitempty"` - SuccessRateStdevFactor *wrappers.UInt32Value `protobuf:"bytes,9,opt,name=success_rate_stdev_factor,json=successRateStdevFactor,proto3" json:"success_rate_stdev_factor,omitempty"` - ConsecutiveGatewayFailure *wrappers.UInt32Value `protobuf:"bytes,10,opt,name=consecutive_gateway_failure,json=consecutiveGatewayFailure,proto3" json:"consecutive_gateway_failure,omitempty"` - EnforcingConsecutiveGatewayFailure *wrappers.UInt32Value `protobuf:"bytes,11,opt,name=enforcing_consecutive_gateway_failure,json=enforcingConsecutiveGatewayFailure,proto3" json:"enforcing_consecutive_gateway_failure,omitempty"` - SplitExternalLocalOriginErrors bool `protobuf:"varint,12,opt,name=split_external_local_origin_errors,json=splitExternalLocalOriginErrors,proto3" json:"split_external_local_origin_errors,omitempty"` - ConsecutiveLocalOriginFailure *wrappers.UInt32Value `protobuf:"bytes,13,opt,name=consecutive_local_origin_failure,json=consecutiveLocalOriginFailure,proto3" json:"consecutive_local_origin_failure,omitempty"` - EnforcingConsecutiveLocalOriginFailure *wrappers.UInt32Value `protobuf:"bytes,14,opt,name=enforcing_consecutive_local_origin_failure,json=enforcingConsecutiveLocalOriginFailure,proto3" json:"enforcing_consecutive_local_origin_failure,omitempty"` - EnforcingLocalOriginSuccessRate *wrappers.UInt32Value `protobuf:"bytes,15,opt,name=enforcing_local_origin_success_rate,json=enforcingLocalOriginSuccessRate,proto3" json:"enforcing_local_origin_success_rate,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OutlierDetection) Reset() { *m = OutlierDetection{} } -func (m *OutlierDetection) String() string { return proto.CompactTextString(m) } -func (*OutlierDetection) ProtoMessage() {} -func (*OutlierDetection) Descriptor() ([]byte, []int) { - return fileDescriptor_outlier_detection_dd7f40a1b13f2024, []int{0} -} -func (m *OutlierDetection) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OutlierDetection.Unmarshal(m, b) -} -func (m *OutlierDetection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OutlierDetection.Marshal(b, m, deterministic) -} -func (dst *OutlierDetection) XXX_Merge(src proto.Message) { - xxx_messageInfo_OutlierDetection.Merge(dst, src) -} -func (m *OutlierDetection) XXX_Size() int { - return xxx_messageInfo_OutlierDetection.Size(m) -} -func (m *OutlierDetection) XXX_DiscardUnknown() { - xxx_messageInfo_OutlierDetection.DiscardUnknown(m) -} - -var xxx_messageInfo_OutlierDetection proto.InternalMessageInfo - -func (m *OutlierDetection) GetConsecutive_5Xx() *wrappers.UInt32Value { - if m != nil { - return m.Consecutive_5Xx - } - return nil -} - -func (m *OutlierDetection) GetInterval() *duration.Duration { - if m != nil { - return m.Interval - } - return nil -} - -func (m *OutlierDetection) GetBaseEjectionTime() *duration.Duration { - if m != nil { - return m.BaseEjectionTime - } - return nil -} - -func (m *OutlierDetection) GetMaxEjectionPercent() *wrappers.UInt32Value { - if m != nil { - return m.MaxEjectionPercent - } - return nil -} - -func (m *OutlierDetection) GetEnforcingConsecutive_5Xx() *wrappers.UInt32Value { - if m != nil { - return m.EnforcingConsecutive_5Xx - } - return nil -} - -func (m *OutlierDetection) GetEnforcingSuccessRate() *wrappers.UInt32Value { - if m != nil { - return m.EnforcingSuccessRate - } - return nil -} - -func (m *OutlierDetection) GetSuccessRateMinimumHosts() *wrappers.UInt32Value { - if m != nil { - return m.SuccessRateMinimumHosts - } - return nil -} - -func (m *OutlierDetection) GetSuccessRateRequestVolume() *wrappers.UInt32Value { - if m != nil { - return m.SuccessRateRequestVolume - } - return nil -} - -func (m *OutlierDetection) GetSuccessRateStdevFactor() *wrappers.UInt32Value { - if m != nil { - return m.SuccessRateStdevFactor - } - return nil -} - -func (m *OutlierDetection) GetConsecutiveGatewayFailure() *wrappers.UInt32Value { - if m != nil { - return m.ConsecutiveGatewayFailure - } - return nil -} - -func (m *OutlierDetection) GetEnforcingConsecutiveGatewayFailure() *wrappers.UInt32Value { - if m != nil { - return m.EnforcingConsecutiveGatewayFailure - } - return nil -} - -func (m *OutlierDetection) GetSplitExternalLocalOriginErrors() bool { - if m != nil { - return m.SplitExternalLocalOriginErrors - } - return false -} - -func (m *OutlierDetection) GetConsecutiveLocalOriginFailure() *wrappers.UInt32Value { - if m != nil { - return m.ConsecutiveLocalOriginFailure - } - return nil -} - -func (m *OutlierDetection) GetEnforcingConsecutiveLocalOriginFailure() *wrappers.UInt32Value { - if m != nil { - return m.EnforcingConsecutiveLocalOriginFailure - } - return nil -} - -func (m *OutlierDetection) GetEnforcingLocalOriginSuccessRate() *wrappers.UInt32Value { - if m != nil { - return m.EnforcingLocalOriginSuccessRate - } - return nil -} - -func init() { - proto.RegisterType((*OutlierDetection)(nil), "envoy.api.v2.cluster.OutlierDetection") -} - -func init() { - proto.RegisterFile("envoy/api/v2/cluster/outlier_detection.proto", fileDescriptor_outlier_detection_dd7f40a1b13f2024) -} - -var fileDescriptor_outlier_detection_dd7f40a1b13f2024 = []byte{ - // 636 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x95, 0xeb, 0x4e, 0x13, 0x4f, - 0x18, 0xc6, 0xff, 0x2d, 0x87, 0x3f, 0x0c, 0x0a, 0x64, 0x82, 0x30, 0x05, 0x45, 0x52, 0xa3, 0x21, - 0xc4, 0xec, 0x26, 0x25, 0x5c, 0x00, 0x85, 0xe2, 0x21, 0x2a, 0xa4, 0x55, 0x8c, 0x51, 0x33, 0x19, - 0xb6, 0x6f, 0xeb, 0x98, 0xd9, 0x9d, 0x75, 0x0e, 0xcb, 0xe2, 0x57, 0xef, 0x06, 0xef, 0xc0, 0x4f, - 0xde, 0x8e, 0x5e, 0x85, 0xd9, 0xdd, 0x1e, 0xb6, 0x65, 0x8d, 0xed, 0xb7, 0x26, 0xef, 0xf3, 0xfc, - 0x9e, 0x67, 0xde, 0x9d, 0xed, 0xa2, 0xc7, 0x10, 0x44, 0xf2, 0xca, 0x65, 0x21, 0x77, 0xa3, 0x9a, - 0xeb, 0x09, 0xab, 0x0d, 0x28, 0x57, 0x5a, 0x23, 0x38, 0x28, 0xda, 0x06, 0x03, 0x9e, 0xe1, 0x32, - 0x70, 0x42, 0x25, 0x8d, 0xc4, 0x6b, 0xa9, 0xda, 0x61, 0x21, 0x77, 0xa2, 0x9a, 0xd3, 0x53, 0x6f, - 0x6e, 0x77, 0xa5, 0xec, 0x0a, 0x70, 0x53, 0xcd, 0x85, 0xed, 0xb8, 0x6d, 0xab, 0xd8, 0xd0, 0x75, - 0x73, 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, 0x68, 0x7d, 0x18, 0xa2, 0xad, 0xe7, 0x81, 0xd6, 0x54, - 0x31, 0x03, 0x64, 0x7e, 0xba, 0x84, 0xb5, 0x01, 0xa6, 0x95, 0x51, 0x9a, 0xcc, 0x24, 0xeb, 0xd9, - 0xcc, 0x43, 0xa9, 0xcf, 0x03, 0xee, 0x5b, 0x9f, 0x7e, 0x92, 0xda, 0x68, 0xf2, 0xff, 0x04, 0x17, - 0x61, 0x43, 0x0f, 0x71, 0x2f, 0x33, 0xf7, 0xd3, 0xc4, 0x8c, 0xdf, 0xa3, 0xad, 0x11, 0xb4, 0x82, - 0x2f, 0x16, 0xb4, 0xa1, 0x91, 0x14, 0xd6, 0x07, 0xb2, 0x30, 0x01, 0x9b, 0xe4, 0xd8, 0xcd, 0xcc, - 0x7e, 0x9e, 0xba, 0xf1, 0x5b, 0x54, 0x19, 0x81, 0x6b, 0xd3, 0x86, 0x88, 0x76, 0x98, 0x67, 0xa4, - 0x22, 0x8b, 0x13, 0xa0, 0xd7, 0x73, 0xe8, 0x56, 0x62, 0x3e, 0x49, 0xbd, 0xf8, 0x03, 0xda, 0xca, - 0x3f, 0xca, 0x2e, 0x33, 0x70, 0xc9, 0xae, 0x68, 0x87, 0x71, 0x61, 0x15, 0x10, 0x34, 0x01, 0xba, - 0x92, 0x03, 0x3c, 0xc9, 0xfc, 0x27, 0x99, 0x1d, 0x7f, 0x45, 0x0f, 0x8b, 0xaf, 0xcc, 0x78, 0xce, - 0xd2, 0x74, 0x0f, 0xb7, 0x5a, 0x74, 0x7d, 0xc6, 0xb2, 0x9f, 0xa3, 0xaa, 0x0e, 0x05, 0x37, 0x14, - 0x62, 0x03, 0x2a, 0x60, 0x82, 0x0a, 0xe9, 0x31, 0x41, 0xa5, 0xe2, 0x5d, 0x1e, 0x50, 0x50, 0x4a, - 0x2a, 0x4d, 0x6e, 0xed, 0x94, 0x76, 0x17, 0x9a, 0xdb, 0xa9, 0xb2, 0xd1, 0x13, 0xbe, 0x48, 0x74, - 0xa7, 0xa9, 0xac, 0x91, 0xaa, 0x30, 0xa0, 0x9d, 0x7c, 0xfb, 0x11, 0x50, 0xff, 0x08, 0xb7, 0x27, - 0x58, 0xd5, 0xbd, 0x1c, 0x25, 0x97, 0xd2, 0xaf, 0xfc, 0xad, 0x84, 0xf6, 0x8a, 0xf7, 0x55, 0x98, - 0xb8, 0x3c, 0xdd, 0xd2, 0x1e, 0x15, 0x2d, 0xad, 0xa0, 0x85, 0x45, 0x0f, 0x86, 0x25, 0x46, 0x82, - 0x47, 0xde, 0xc7, 0x95, 0xe9, 0xd2, 0xef, 0x0f, 0x98, 0xb9, 0xc8, 0xdc, 0xab, 0x59, 0x97, 0xa8, - 0xca, 0xa5, 0x93, 0x7e, 0x21, 0x42, 0x25, 0xe3, 0x2b, 0xa7, 0xe8, 0x63, 0x51, 0xbf, 0x33, 0xfe, - 0x87, 0x7e, 0x96, 0xe4, 0x9e, 0x95, 0xae, 0xcb, 0xeb, 0x8d, 0x54, 0x7f, 0x18, 0x72, 0xe7, 0xbc, - 0xe6, 0x1c, 0x65, 0xfa, 0x57, 0xad, 0xdf, 0x7f, 0x1b, 0x5c, 0xcc, 0xa7, 0x95, 0xf7, 0xff, 0x04, - 0x00, 0x00, 0xff, 0xff, 0x1c, 0xe0, 0x70, 0xdc, 0xc4, 0x06, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/address/address.pb.go b/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/address/address.pb.go deleted file mode 100755 index 5c54813c..00000000 --- a/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/address/address.pb.go +++ /dev/null @@ -1,610 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: envoy/api/v2/core/address.proto - -package envoy_api_v2_core - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import wrappers "github.com/golang/protobuf/ptypes/wrappers" -import base "google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/base" -import _ "google.golang.org/grpc/xds/internal/proto/validate" - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation 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 SocketAddress_Protocol int32 - -const ( - SocketAddress_TCP SocketAddress_Protocol = 0 - SocketAddress_UDP SocketAddress_Protocol = 1 -) - -var SocketAddress_Protocol_name = map[int32]string{ - 0: "TCP", - 1: "UDP", -} -var SocketAddress_Protocol_value = map[string]int32{ - "TCP": 0, - "UDP": 1, -} - -func (x SocketAddress_Protocol) String() string { - return proto.EnumName(SocketAddress_Protocol_name, int32(x)) -} -func (SocketAddress_Protocol) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_address_b91d58d2da3489da, []int{1, 0} -} - -type Pipe struct { - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Pipe) Reset() { *m = Pipe{} } -func (m *Pipe) String() string { return proto.CompactTextString(m) } -func (*Pipe) ProtoMessage() {} -func (*Pipe) Descriptor() ([]byte, []int) { - return fileDescriptor_address_b91d58d2da3489da, []int{0} -} -func (m *Pipe) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Pipe.Unmarshal(m, b) -} -func (m *Pipe) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Pipe.Marshal(b, m, deterministic) -} -func (dst *Pipe) XXX_Merge(src proto.Message) { - xxx_messageInfo_Pipe.Merge(dst, src) -} -func (m *Pipe) XXX_Size() int { - return xxx_messageInfo_Pipe.Size(m) -} -func (m *Pipe) XXX_DiscardUnknown() { - xxx_messageInfo_Pipe.DiscardUnknown(m) -} - -var xxx_messageInfo_Pipe proto.InternalMessageInfo - -func (m *Pipe) GetPath() string { - if m != nil { - return m.Path - } - return "" -} - -type SocketAddress struct { - Protocol SocketAddress_Protocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=envoy.api.v2.core.SocketAddress_Protocol" json:"protocol,omitempty"` - Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` - // Types that are valid to be assigned to PortSpecifier: - // *SocketAddress_PortValue - // *SocketAddress_NamedPort - PortSpecifier isSocketAddress_PortSpecifier `protobuf_oneof:"port_specifier"` - ResolverName string `protobuf:"bytes,5,opt,name=resolver_name,json=resolverName,proto3" json:"resolver_name,omitempty"` - Ipv4Compat bool `protobuf:"varint,6,opt,name=ipv4_compat,json=ipv4Compat,proto3" json:"ipv4_compat,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SocketAddress) Reset() { *m = SocketAddress{} } -func (m *SocketAddress) String() string { return proto.CompactTextString(m) } -func (*SocketAddress) ProtoMessage() {} -func (*SocketAddress) Descriptor() ([]byte, []int) { - return fileDescriptor_address_b91d58d2da3489da, []int{1} -} -func (m *SocketAddress) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SocketAddress.Unmarshal(m, b) -} -func (m *SocketAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SocketAddress.Marshal(b, m, deterministic) -} -func (dst *SocketAddress) XXX_Merge(src proto.Message) { - xxx_messageInfo_SocketAddress.Merge(dst, src) -} -func (m *SocketAddress) XXX_Size() int { - return xxx_messageInfo_SocketAddress.Size(m) -} -func (m *SocketAddress) XXX_DiscardUnknown() { - xxx_messageInfo_SocketAddress.DiscardUnknown(m) -} - -var xxx_messageInfo_SocketAddress proto.InternalMessageInfo - -func (m *SocketAddress) GetProtocol() SocketAddress_Protocol { - if m != nil { - return m.Protocol - } - return SocketAddress_TCP -} - -func (m *SocketAddress) GetAddress() string { - if m != nil { - return m.Address - } - return "" -} - -type isSocketAddress_PortSpecifier interface { - isSocketAddress_PortSpecifier() -} - -type SocketAddress_PortValue struct { - PortValue uint32 `protobuf:"varint,3,opt,name=port_value,json=portValue,proto3,oneof"` -} - -type SocketAddress_NamedPort struct { - NamedPort string `protobuf:"bytes,4,opt,name=named_port,json=namedPort,proto3,oneof"` -} - -func (*SocketAddress_PortValue) isSocketAddress_PortSpecifier() {} - -func (*SocketAddress_NamedPort) isSocketAddress_PortSpecifier() {} - -func (m *SocketAddress) GetPortSpecifier() isSocketAddress_PortSpecifier { - if m != nil { - return m.PortSpecifier - } - return nil -} - -func (m *SocketAddress) GetPortValue() uint32 { - if x, ok := m.GetPortSpecifier().(*SocketAddress_PortValue); ok { - return x.PortValue - } - return 0 -} - -func (m *SocketAddress) GetNamedPort() string { - if x, ok := m.GetPortSpecifier().(*SocketAddress_NamedPort); ok { - return x.NamedPort - } - return "" -} - -func (m *SocketAddress) GetResolverName() string { - if m != nil { - return m.ResolverName - } - return "" -} - -func (m *SocketAddress) GetIpv4Compat() bool { - if m != nil { - return m.Ipv4Compat - } - return false -} - -// XXX_OneofFuncs is for the internal use of the proto package. -func (*SocketAddress) 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 _SocketAddress_OneofMarshaler, _SocketAddress_OneofUnmarshaler, _SocketAddress_OneofSizer, []interface{}{ - (*SocketAddress_PortValue)(nil), - (*SocketAddress_NamedPort)(nil), - } -} - -func _SocketAddress_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*SocketAddress) - // port_specifier - switch x := m.PortSpecifier.(type) { - case *SocketAddress_PortValue: - b.EncodeVarint(3<<3 | proto.WireVarint) - b.EncodeVarint(uint64(x.PortValue)) - case *SocketAddress_NamedPort: - b.EncodeVarint(4<<3 | proto.WireBytes) - b.EncodeStringBytes(x.NamedPort) - case nil: - default: - return fmt.Errorf("SocketAddress.PortSpecifier has unexpected type %T", x) - } - return nil -} - -func _SocketAddress_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*SocketAddress) - switch tag { - case 3: // port_specifier.port_value - if wire != proto.WireVarint { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeVarint() - m.PortSpecifier = &SocketAddress_PortValue{uint32(x)} - return true, err - case 4: // port_specifier.named_port - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.PortSpecifier = &SocketAddress_NamedPort{x} - return true, err - default: - return false, nil - } -} - -func _SocketAddress_OneofSizer(msg proto.Message) (n int) { - m := msg.(*SocketAddress) - // port_specifier - switch x := m.PortSpecifier.(type) { - case *SocketAddress_PortValue: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(x.PortValue)) - case *SocketAddress_NamedPort: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.NamedPort))) - n += len(x.NamedPort) - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - -type TcpKeepalive struct { - KeepaliveProbes *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=keepalive_probes,json=keepaliveProbes,proto3" json:"keepalive_probes,omitempty"` - KeepaliveTime *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=keepalive_time,json=keepaliveTime,proto3" json:"keepalive_time,omitempty"` - KeepaliveInterval *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=keepalive_interval,json=keepaliveInterval,proto3" json:"keepalive_interval,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TcpKeepalive) Reset() { *m = TcpKeepalive{} } -func (m *TcpKeepalive) String() string { return proto.CompactTextString(m) } -func (*TcpKeepalive) ProtoMessage() {} -func (*TcpKeepalive) Descriptor() ([]byte, []int) { - return fileDescriptor_address_b91d58d2da3489da, []int{2} -} -func (m *TcpKeepalive) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TcpKeepalive.Unmarshal(m, b) -} -func (m *TcpKeepalive) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TcpKeepalive.Marshal(b, m, deterministic) -} -func (dst *TcpKeepalive) XXX_Merge(src proto.Message) { - xxx_messageInfo_TcpKeepalive.Merge(dst, src) -} -func (m *TcpKeepalive) XXX_Size() int { - return xxx_messageInfo_TcpKeepalive.Size(m) -} -func (m *TcpKeepalive) XXX_DiscardUnknown() { - xxx_messageInfo_TcpKeepalive.DiscardUnknown(m) -} - -var xxx_messageInfo_TcpKeepalive proto.InternalMessageInfo - -func (m *TcpKeepalive) GetKeepaliveProbes() *wrappers.UInt32Value { - if m != nil { - return m.KeepaliveProbes - } - return nil -} - -func (m *TcpKeepalive) GetKeepaliveTime() *wrappers.UInt32Value { - if m != nil { - return m.KeepaliveTime - } - return nil -} - -func (m *TcpKeepalive) GetKeepaliveInterval() *wrappers.UInt32Value { - if m != nil { - return m.KeepaliveInterval - } - return nil -} - -type BindConfig struct { - SourceAddress *SocketAddress `protobuf:"bytes,1,opt,name=source_address,json=sourceAddress,proto3" json:"source_address,omitempty"` - Freebind *wrappers.BoolValue `protobuf:"bytes,2,opt,name=freebind,proto3" json:"freebind,omitempty"` - SocketOptions []*base.SocketOption `protobuf:"bytes,3,rep,name=socket_options,json=socketOptions,proto3" json:"socket_options,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BindConfig) Reset() { *m = BindConfig{} } -func (m *BindConfig) String() string { return proto.CompactTextString(m) } -func (*BindConfig) ProtoMessage() {} -func (*BindConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_address_b91d58d2da3489da, []int{3} -} -func (m *BindConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BindConfig.Unmarshal(m, b) -} -func (m *BindConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BindConfig.Marshal(b, m, deterministic) -} -func (dst *BindConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_BindConfig.Merge(dst, src) -} -func (m *BindConfig) XXX_Size() int { - return xxx_messageInfo_BindConfig.Size(m) -} -func (m *BindConfig) XXX_DiscardUnknown() { - xxx_messageInfo_BindConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_BindConfig proto.InternalMessageInfo - -func (m *BindConfig) GetSourceAddress() *SocketAddress { - if m != nil { - return m.SourceAddress - } - return nil -} - -func (m *BindConfig) GetFreebind() *wrappers.BoolValue { - if m != nil { - return m.Freebind - } - return nil -} - -func (m *BindConfig) GetSocketOptions() []*base.SocketOption { - if m != nil { - return m.SocketOptions - } - return nil -} - -type Address struct { - // Types that are valid to be assigned to Address: - // *Address_SocketAddress - // *Address_Pipe - Address isAddress_Address `protobuf_oneof:"address"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Address) Reset() { *m = Address{} } -func (m *Address) String() string { return proto.CompactTextString(m) } -func (*Address) ProtoMessage() {} -func (*Address) Descriptor() ([]byte, []int) { - return fileDescriptor_address_b91d58d2da3489da, []int{4} -} -func (m *Address) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Address.Unmarshal(m, b) -} -func (m *Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Address.Marshal(b, m, deterministic) -} -func (dst *Address) XXX_Merge(src proto.Message) { - xxx_messageInfo_Address.Merge(dst, src) -} -func (m *Address) XXX_Size() int { - return xxx_messageInfo_Address.Size(m) -} -func (m *Address) XXX_DiscardUnknown() { - xxx_messageInfo_Address.DiscardUnknown(m) -} - -var xxx_messageInfo_Address proto.InternalMessageInfo - -type isAddress_Address interface { - isAddress_Address() -} - -type Address_SocketAddress struct { - SocketAddress *SocketAddress `protobuf:"bytes,1,opt,name=socket_address,json=socketAddress,proto3,oneof"` -} - -type Address_Pipe struct { - Pipe *Pipe `protobuf:"bytes,2,opt,name=pipe,proto3,oneof"` -} - -func (*Address_SocketAddress) isAddress_Address() {} - -func (*Address_Pipe) isAddress_Address() {} - -func (m *Address) GetAddress() isAddress_Address { - if m != nil { - return m.Address - } - return nil -} - -func (m *Address) GetSocketAddress() *SocketAddress { - if x, ok := m.GetAddress().(*Address_SocketAddress); ok { - return x.SocketAddress - } - return nil -} - -func (m *Address) GetPipe() *Pipe { - if x, ok := m.GetAddress().(*Address_Pipe); ok { - return x.Pipe - } - return nil -} - -// XXX_OneofFuncs is for the internal use of the proto package. -func (*Address) 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 _Address_OneofMarshaler, _Address_OneofUnmarshaler, _Address_OneofSizer, []interface{}{ - (*Address_SocketAddress)(nil), - (*Address_Pipe)(nil), - } -} - -func _Address_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*Address) - // address - switch x := m.Address.(type) { - case *Address_SocketAddress: - b.EncodeVarint(1<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.SocketAddress); err != nil { - return err - } - case *Address_Pipe: - b.EncodeVarint(2<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Pipe); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("Address.Address has unexpected type %T", x) - } - return nil -} - -func _Address_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*Address) - switch tag { - case 1: // address.socket_address - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(SocketAddress) - err := b.DecodeMessage(msg) - m.Address = &Address_SocketAddress{msg} - return true, err - case 2: // address.pipe - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(Pipe) - err := b.DecodeMessage(msg) - m.Address = &Address_Pipe{msg} - return true, err - default: - return false, nil - } -} - -func _Address_OneofSizer(msg proto.Message) (n int) { - m := msg.(*Address) - // address - switch x := m.Address.(type) { - case *Address_SocketAddress: - s := proto.Size(x.SocketAddress) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *Address_Pipe: - s := proto.Size(x.Pipe) - 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 CidrRange struct { - AddressPrefix string `protobuf:"bytes,1,opt,name=address_prefix,json=addressPrefix,proto3" json:"address_prefix,omitempty"` - PrefixLen *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=prefix_len,json=prefixLen,proto3" json:"prefix_len,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CidrRange) Reset() { *m = CidrRange{} } -func (m *CidrRange) String() string { return proto.CompactTextString(m) } -func (*CidrRange) ProtoMessage() {} -func (*CidrRange) Descriptor() ([]byte, []int) { - return fileDescriptor_address_b91d58d2da3489da, []int{5} -} -func (m *CidrRange) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CidrRange.Unmarshal(m, b) -} -func (m *CidrRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CidrRange.Marshal(b, m, deterministic) -} -func (dst *CidrRange) XXX_Merge(src proto.Message) { - xxx_messageInfo_CidrRange.Merge(dst, src) -} -func (m *CidrRange) XXX_Size() int { - return xxx_messageInfo_CidrRange.Size(m) -} -func (m *CidrRange) XXX_DiscardUnknown() { - xxx_messageInfo_CidrRange.DiscardUnknown(m) -} - -var xxx_messageInfo_CidrRange proto.InternalMessageInfo - -func (m *CidrRange) GetAddressPrefix() string { - if m != nil { - return m.AddressPrefix - } - return "" -} - -func (m *CidrRange) GetPrefixLen() *wrappers.UInt32Value { - if m != nil { - return m.PrefixLen - } - return nil -} - -func init() { - proto.RegisterType((*Pipe)(nil), "envoy.api.v2.core.Pipe") - proto.RegisterType((*SocketAddress)(nil), "envoy.api.v2.core.SocketAddress") - proto.RegisterType((*TcpKeepalive)(nil), "envoy.api.v2.core.TcpKeepalive") - proto.RegisterType((*BindConfig)(nil), "envoy.api.v2.core.BindConfig") - proto.RegisterType((*Address)(nil), "envoy.api.v2.core.Address") - proto.RegisterType((*CidrRange)(nil), "envoy.api.v2.core.CidrRange") - proto.RegisterEnum("envoy.api.v2.core.SocketAddress_Protocol", SocketAddress_Protocol_name, SocketAddress_Protocol_value) -} - -func init() { - proto.RegisterFile("envoy/api/v2/core/address.proto", fileDescriptor_address_b91d58d2da3489da) -} - -var fileDescriptor_address_b91d58d2da3489da = []byte{ - // 667 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0x4f, 0x4f, 0xdb, 0x48, - 0x14, 0xcf, 0xc4, 0x01, 0x92, 0x17, 0x92, 0x0d, 0x73, 0xc1, 0x8a, 0xd8, 0x4d, 0x14, 0xb4, 0x52, - 0x16, 0xed, 0x3a, 0xbb, 0x61, 0xb5, 0x77, 0x9c, 0x55, 0x01, 0x51, 0xb5, 0xae, 0x81, 0x5e, 0xad, - 0x49, 0xf2, 0x92, 0x8e, 0x70, 0x3c, 0xa3, 0xb1, 0x71, 0xe1, 0x56, 0xf5, 0xd0, 0x43, 0xef, 0xfd, - 0x2e, 0x55, 0x4f, 0x7c, 0x87, 0x7e, 0x82, 0x1e, 0xf9, 0x14, 0x54, 0x33, 0xb6, 0x83, 0xda, 0xb4, - 0xa2, 0xbd, 0xcd, 0xbc, 0xf7, 0xfb, 0xfd, 0xe6, 0xf7, 0xfe, 0x0c, 0x74, 0x30, 0x4a, 0xc5, 0xf5, - 0x80, 0x49, 0x3e, 0x48, 0x87, 0x83, 0x89, 0x50, 0x38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75, 0xa3, 0xbf, 0xff, 0x39, 0x00, - 0x00, 0xff, 0xff, 0x03, 0x02, 0x9c, 0x89, 0x34, 0x05, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/base/base.pb.go b/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/base/base.pb.go deleted file mode 100755 index 23558047..00000000 --- a/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/base/base.pb.go +++ /dev/null @@ -1,1125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: envoy/api/v2/core/base.proto - -package envoy_api_v2_core - -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" -import wrappers "github.com/golang/protobuf/ptypes/wrappers" -import percent "google.golang.org/grpc/xds/internal/proto/envoy/type/percent" -import _ "google.golang.org/grpc/xds/internal/proto/validate" - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation 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 RoutingPriority int32 - -const ( - RoutingPriority_DEFAULT RoutingPriority = 0 - RoutingPriority_HIGH RoutingPriority = 1 -) - -var RoutingPriority_name = map[int32]string{ - 0: "DEFAULT", - 1: "HIGH", -} -var RoutingPriority_value = map[string]int32{ - "DEFAULT": 0, - "HIGH": 1, -} - -func (x RoutingPriority) String() string { - return proto.EnumName(RoutingPriority_name, int32(x)) -} -func (RoutingPriority) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_base_12218511885b7551, []int{0} -} - -type RequestMethod int32 - -const ( - RequestMethod_METHOD_UNSPECIFIED RequestMethod = 0 - RequestMethod_GET RequestMethod = 1 - RequestMethod_HEAD RequestMethod = 2 - RequestMethod_POST RequestMethod = 3 - RequestMethod_PUT RequestMethod = 4 - RequestMethod_DELETE RequestMethod = 5 - RequestMethod_CONNECT RequestMethod = 6 - RequestMethod_OPTIONS RequestMethod = 7 - RequestMethod_TRACE RequestMethod = 8 - RequestMethod_PATCH RequestMethod = 9 -) - -var RequestMethod_name = map[int32]string{ - 0: "METHOD_UNSPECIFIED", - 1: "GET", - 2: "HEAD", - 3: "POST", - 4: "PUT", - 5: "DELETE", - 6: "CONNECT", - 7: "OPTIONS", - 8: "TRACE", - 9: "PATCH", -} -var RequestMethod_value = map[string]int32{ - "METHOD_UNSPECIFIED": 0, - "GET": 1, - "HEAD": 2, - "POST": 3, - "PUT": 4, - "DELETE": 5, - "CONNECT": 6, - "OPTIONS": 7, - "TRACE": 8, - "PATCH": 9, -} - -func (x RequestMethod) String() string { - return proto.EnumName(RequestMethod_name, int32(x)) -} -func (RequestMethod) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_base_12218511885b7551, []int{1} -} - -type SocketOption_SocketState int32 - -const ( - SocketOption_STATE_PREBIND SocketOption_SocketState = 0 - SocketOption_STATE_BOUND SocketOption_SocketState = 1 - SocketOption_STATE_LISTENING SocketOption_SocketState = 2 -) - -var SocketOption_SocketState_name = map[int32]string{ - 0: "STATE_PREBIND", - 1: "STATE_BOUND", - 2: "STATE_LISTENING", -} -var SocketOption_SocketState_value = map[string]int32{ - "STATE_PREBIND": 0, - "STATE_BOUND": 1, - "STATE_LISTENING": 2, -} - -func (x SocketOption_SocketState) String() string { - return proto.EnumName(SocketOption_SocketState_name, int32(x)) -} -func (SocketOption_SocketState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_base_12218511885b7551, []int{9, 0} -} - -type Locality struct { - Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` - Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` - SubZone string `protobuf:"bytes,3,opt,name=sub_zone,json=subZone,proto3" json:"sub_zone,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Locality) Reset() { *m = Locality{} } -func (m *Locality) String() string { return proto.CompactTextString(m) } -func (*Locality) ProtoMessage() {} -func (*Locality) Descriptor() ([]byte, []int) { - return fileDescriptor_base_12218511885b7551, []int{0} -} -func (m *Locality) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Locality.Unmarshal(m, b) -} -func (m *Locality) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Locality.Marshal(b, m, deterministic) -} -func (dst *Locality) XXX_Merge(src proto.Message) { - xxx_messageInfo_Locality.Merge(dst, src) -} -func (m *Locality) XXX_Size() int { - return xxx_messageInfo_Locality.Size(m) -} -func (m *Locality) XXX_DiscardUnknown() { - xxx_messageInfo_Locality.DiscardUnknown(m) -} - -var xxx_messageInfo_Locality proto.InternalMessageInfo - -func (m *Locality) GetRegion() string { - if m != nil { - return m.Region - } - return "" -} - -func (m *Locality) GetZone() string { - if m != nil { - return m.Zone - } - return "" -} - -func (m *Locality) GetSubZone() string { - if m != nil { - return m.SubZone - } - return "" -} - -type Node struct { - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Cluster string `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"` - Metadata *_struct.Struct `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` - Locality *Locality `protobuf:"bytes,4,opt,name=locality,proto3" json:"locality,omitempty"` - BuildVersion string `protobuf:"bytes,5,opt,name=build_version,json=buildVersion,proto3" json:"build_version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Node) Reset() { *m = Node{} } -func (m *Node) String() string { return proto.CompactTextString(m) } -func (*Node) ProtoMessage() {} -func (*Node) Descriptor() ([]byte, []int) { - return fileDescriptor_base_12218511885b7551, []int{1} -} -func (m *Node) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Node.Unmarshal(m, b) -} -func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Node.Marshal(b, m, deterministic) -} -func (dst *Node) XXX_Merge(src proto.Message) { - xxx_messageInfo_Node.Merge(dst, src) -} -func (m *Node) XXX_Size() int { - return xxx_messageInfo_Node.Size(m) -} -func (m *Node) XXX_DiscardUnknown() { - xxx_messageInfo_Node.DiscardUnknown(m) -} - -var xxx_messageInfo_Node proto.InternalMessageInfo - -func (m *Node) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *Node) GetCluster() string { - if m != nil { - return m.Cluster - } - return "" -} - -func (m *Node) GetMetadata() *_struct.Struct { - if m != nil { - return m.Metadata - } - return nil -} - -func (m *Node) GetLocality() *Locality { - if m != nil { - return m.Locality - } - return nil -} - -func (m *Node) GetBuildVersion() string { - if m != nil { - return m.BuildVersion - } - return "" -} - -type Metadata struct { - FilterMetadata map[string]*_struct.Struct `protobuf:"bytes,1,rep,name=filter_metadata,json=filterMetadata,proto3" json:"filter_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:"-"` -} - -func (m *Metadata) Reset() { *m = Metadata{} } -func (m *Metadata) String() string { return proto.CompactTextString(m) } -func (*Metadata) ProtoMessage() {} -func (*Metadata) Descriptor() ([]byte, []int) { - return fileDescriptor_base_12218511885b7551, []int{2} -} -func (m *Metadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Metadata.Unmarshal(m, b) -} -func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Metadata.Marshal(b, m, deterministic) -} -func (dst *Metadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_Metadata.Merge(dst, src) -} -func (m *Metadata) XXX_Size() int { - return xxx_messageInfo_Metadata.Size(m) -} -func (m *Metadata) XXX_DiscardUnknown() { - xxx_messageInfo_Metadata.DiscardUnknown(m) -} - -var xxx_messageInfo_Metadata proto.InternalMessageInfo - -func (m *Metadata) GetFilterMetadata() map[string]*_struct.Struct { - if m != nil { - return m.FilterMetadata - } - return nil -} - -type RuntimeUInt32 struct { - DefaultValue uint32 `protobuf:"varint,2,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` - RuntimeKey string `protobuf:"bytes,3,opt,name=runtime_key,json=runtimeKey,proto3" json:"runtime_key,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RuntimeUInt32) Reset() { *m = RuntimeUInt32{} } -func (m *RuntimeUInt32) String() string { return proto.CompactTextString(m) } -func (*RuntimeUInt32) ProtoMessage() {} -func (*RuntimeUInt32) Descriptor() ([]byte, []int) { - return fileDescriptor_base_12218511885b7551, []int{3} -} -func (m *RuntimeUInt32) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RuntimeUInt32.Unmarshal(m, b) -} -func (m *RuntimeUInt32) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RuntimeUInt32.Marshal(b, m, deterministic) -} -func (dst *RuntimeUInt32) XXX_Merge(src proto.Message) { - xxx_messageInfo_RuntimeUInt32.Merge(dst, src) -} -func (m *RuntimeUInt32) XXX_Size() int { - return xxx_messageInfo_RuntimeUInt32.Size(m) -} -func (m *RuntimeUInt32) XXX_DiscardUnknown() { - xxx_messageInfo_RuntimeUInt32.DiscardUnknown(m) -} - -var xxx_messageInfo_RuntimeUInt32 proto.InternalMessageInfo - -func (m *RuntimeUInt32) GetDefaultValue() uint32 { - if m != nil { - return m.DefaultValue - } - return 0 -} - -func (m *RuntimeUInt32) GetRuntimeKey() string { - if m != nil { - return m.RuntimeKey - } - return "" -} - -type HeaderValue struct { - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - 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 *HeaderValue) Reset() { *m = HeaderValue{} } -func (m *HeaderValue) String() string { return proto.CompactTextString(m) } -func (*HeaderValue) ProtoMessage() {} -func (*HeaderValue) Descriptor() ([]byte, []int) { - return fileDescriptor_base_12218511885b7551, []int{4} -} -func (m *HeaderValue) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HeaderValue.Unmarshal(m, b) -} -func (m *HeaderValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HeaderValue.Marshal(b, m, deterministic) -} -func (dst *HeaderValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_HeaderValue.Merge(dst, src) -} -func (m *HeaderValue) XXX_Size() int { - return xxx_messageInfo_HeaderValue.Size(m) -} -func (m *HeaderValue) XXX_DiscardUnknown() { - xxx_messageInfo_HeaderValue.DiscardUnknown(m) -} - -var xxx_messageInfo_HeaderValue proto.InternalMessageInfo - -func (m *HeaderValue) GetKey() string { - if m != nil { - return m.Key - } - return "" -} - -func (m *HeaderValue) GetValue() string { - if m != nil { - return m.Value - } - return "" -} - -type HeaderValueOption struct { - Header *HeaderValue `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` - Append *wrappers.BoolValue `protobuf:"bytes,2,opt,name=append,proto3" json:"append,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *HeaderValueOption) Reset() { *m = HeaderValueOption{} } -func (m *HeaderValueOption) String() string { return proto.CompactTextString(m) } -func (*HeaderValueOption) ProtoMessage() {} -func (*HeaderValueOption) Descriptor() ([]byte, []int) { - return fileDescriptor_base_12218511885b7551, []int{5} -} -func (m *HeaderValueOption) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HeaderValueOption.Unmarshal(m, b) -} -func (m *HeaderValueOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HeaderValueOption.Marshal(b, m, deterministic) -} -func (dst *HeaderValueOption) XXX_Merge(src proto.Message) { - xxx_messageInfo_HeaderValueOption.Merge(dst, src) -} -func (m *HeaderValueOption) XXX_Size() int { - return xxx_messageInfo_HeaderValueOption.Size(m) -} -func (m *HeaderValueOption) XXX_DiscardUnknown() { - xxx_messageInfo_HeaderValueOption.DiscardUnknown(m) -} - -var xxx_messageInfo_HeaderValueOption proto.InternalMessageInfo - -func (m *HeaderValueOption) GetHeader() *HeaderValue { - if m != nil { - return m.Header - } - return nil -} - -func (m *HeaderValueOption) GetAppend() *wrappers.BoolValue { - if m != nil { - return m.Append - } - return nil -} - -type HeaderMap struct { - Headers []*HeaderValue `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *HeaderMap) Reset() { *m = HeaderMap{} } -func (m *HeaderMap) String() string { return proto.CompactTextString(m) } -func (*HeaderMap) ProtoMessage() {} -func (*HeaderMap) Descriptor() ([]byte, []int) { - return fileDescriptor_base_12218511885b7551, []int{6} -} -func (m *HeaderMap) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HeaderMap.Unmarshal(m, b) -} -func (m *HeaderMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HeaderMap.Marshal(b, m, deterministic) -} -func (dst *HeaderMap) XXX_Merge(src proto.Message) { - xxx_messageInfo_HeaderMap.Merge(dst, src) -} -func (m *HeaderMap) XXX_Size() int { - return xxx_messageInfo_HeaderMap.Size(m) -} -func (m *HeaderMap) XXX_DiscardUnknown() { - xxx_messageInfo_HeaderMap.DiscardUnknown(m) -} - -var xxx_messageInfo_HeaderMap proto.InternalMessageInfo - -func (m *HeaderMap) GetHeaders() []*HeaderValue { - if m != nil { - return m.Headers - } - return nil -} - -type DataSource struct { - // Types that are valid to be assigned to Specifier: - // *DataSource_Filename - // *DataSource_InlineBytes - // *DataSource_InlineString - Specifier isDataSource_Specifier `protobuf_oneof:"specifier"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_base_12218511885b7551, []int{7} -} -func (m *DataSource) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DataSource.Unmarshal(m, b) -} -func (m *DataSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DataSource.Marshal(b, m, deterministic) -} -func (dst *DataSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_DataSource.Merge(dst, src) -} -func (m *DataSource) XXX_Size() int { - return xxx_messageInfo_DataSource.Size(m) -} -func (m *DataSource) XXX_DiscardUnknown() { - xxx_messageInfo_DataSource.DiscardUnknown(m) -} - -var xxx_messageInfo_DataSource proto.InternalMessageInfo - -type isDataSource_Specifier interface { - isDataSource_Specifier() -} - -type DataSource_Filename struct { - Filename string `protobuf:"bytes,1,opt,name=filename,proto3,oneof"` -} - -type DataSource_InlineBytes struct { - InlineBytes []byte `protobuf:"bytes,2,opt,name=inline_bytes,json=inlineBytes,proto3,oneof"` -} - -type DataSource_InlineString struct { - InlineString string `protobuf:"bytes,3,opt,name=inline_string,json=inlineString,proto3,oneof"` -} - -func (*DataSource_Filename) isDataSource_Specifier() {} - -func (*DataSource_InlineBytes) isDataSource_Specifier() {} - -func (*DataSource_InlineString) isDataSource_Specifier() {} - -func (m *DataSource) GetSpecifier() isDataSource_Specifier { - if m != nil { - return m.Specifier - } - return nil -} - -func (m *DataSource) GetFilename() string { - if x, ok := m.GetSpecifier().(*DataSource_Filename); ok { - return x.Filename - } - return "" -} - -func (m *DataSource) GetInlineBytes() []byte { - if x, ok := m.GetSpecifier().(*DataSource_InlineBytes); ok { - return x.InlineBytes - } - return nil -} - -func (m *DataSource) GetInlineString() string { - if x, ok := m.GetSpecifier().(*DataSource_InlineString); ok { - return x.InlineString - } - return "" -} - -// XXX_OneofFuncs is for the internal use of the proto package. -func (*DataSource) 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 _DataSource_OneofMarshaler, _DataSource_OneofUnmarshaler, _DataSource_OneofSizer, []interface{}{ - (*DataSource_Filename)(nil), - (*DataSource_InlineBytes)(nil), - (*DataSource_InlineString)(nil), - } -} - -func _DataSource_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*DataSource) - // specifier - switch x := m.Specifier.(type) { - case *DataSource_Filename: - b.EncodeVarint(1<<3 | proto.WireBytes) - b.EncodeStringBytes(x.Filename) - case *DataSource_InlineBytes: - b.EncodeVarint(2<<3 | proto.WireBytes) - b.EncodeRawBytes(x.InlineBytes) - case *DataSource_InlineString: - b.EncodeVarint(3<<3 | proto.WireBytes) - b.EncodeStringBytes(x.InlineString) - case nil: - default: - return fmt.Errorf("DataSource.Specifier has unexpected type %T", x) - } - return nil -} - -func _DataSource_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*DataSource) - switch tag { - case 1: // specifier.filename - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.Specifier = &DataSource_Filename{x} - return true, err - case 2: // specifier.inline_bytes - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeRawBytes(true) - m.Specifier = &DataSource_InlineBytes{x} - return true, err - case 3: // specifier.inline_string - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.Specifier = &DataSource_InlineString{x} - return true, err - default: - return false, nil - } -} - -func _DataSource_OneofSizer(msg proto.Message) (n int) { - m := msg.(*DataSource) - // specifier - switch x := m.Specifier.(type) { - case *DataSource_Filename: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.Filename))) - n += len(x.Filename) - case *DataSource_InlineBytes: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.InlineBytes))) - n += len(x.InlineBytes) - case *DataSource_InlineString: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.InlineString))) - n += len(x.InlineString) - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - -type TransportSocket struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Types that are valid to be assigned to ConfigType: - // *TransportSocket_Config - // *TransportSocket_TypedConfig - ConfigType isTransportSocket_ConfigType `protobuf_oneof:"config_type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TransportSocket) Reset() { *m = TransportSocket{} } -func (m *TransportSocket) String() string { return proto.CompactTextString(m) } -func (*TransportSocket) ProtoMessage() {} -func (*TransportSocket) Descriptor() ([]byte, []int) { - return fileDescriptor_base_12218511885b7551, []int{8} -} -func (m *TransportSocket) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransportSocket.Unmarshal(m, b) -} -func (m *TransportSocket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransportSocket.Marshal(b, m, deterministic) -} -func (dst *TransportSocket) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransportSocket.Merge(dst, src) -} -func (m *TransportSocket) XXX_Size() int { - return xxx_messageInfo_TransportSocket.Size(m) -} -func (m *TransportSocket) XXX_DiscardUnknown() { - xxx_messageInfo_TransportSocket.DiscardUnknown(m) -} - -var xxx_messageInfo_TransportSocket proto.InternalMessageInfo - -func (m *TransportSocket) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -type isTransportSocket_ConfigType interface { - isTransportSocket_ConfigType() -} - -type TransportSocket_Config struct { - Config *_struct.Struct `protobuf:"bytes,2,opt,name=config,proto3,oneof"` -} - -type TransportSocket_TypedConfig struct { - TypedConfig *any.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof"` -} - -func (*TransportSocket_Config) isTransportSocket_ConfigType() {} - -func (*TransportSocket_TypedConfig) isTransportSocket_ConfigType() {} - -func (m *TransportSocket) GetConfigType() isTransportSocket_ConfigType { - if m != nil { - return m.ConfigType - } - return nil -} - -func (m *TransportSocket) GetConfig() *_struct.Struct { - if x, ok := m.GetConfigType().(*TransportSocket_Config); ok { - return x.Config - } - return nil -} - -func (m *TransportSocket) GetTypedConfig() *any.Any { - if x, ok := m.GetConfigType().(*TransportSocket_TypedConfig); ok { - return x.TypedConfig - } - return nil -} - -// XXX_OneofFuncs is for the internal use of the proto package. -func (*TransportSocket) 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 _TransportSocket_OneofMarshaler, _TransportSocket_OneofUnmarshaler, _TransportSocket_OneofSizer, []interface{}{ - (*TransportSocket_Config)(nil), - (*TransportSocket_TypedConfig)(nil), - } -} - -func _TransportSocket_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*TransportSocket) - // config_type - switch x := m.ConfigType.(type) { - case *TransportSocket_Config: - b.EncodeVarint(2<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Config); err != nil { - return err - } - case *TransportSocket_TypedConfig: - b.EncodeVarint(3<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.TypedConfig); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("TransportSocket.ConfigType has unexpected type %T", x) - } - return nil -} - -func _TransportSocket_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*TransportSocket) - switch tag { - case 2: // config_type.config - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(_struct.Struct) - err := b.DecodeMessage(msg) - m.ConfigType = &TransportSocket_Config{msg} - return true, err - case 3: // config_type.typed_config - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(any.Any) - err := b.DecodeMessage(msg) - m.ConfigType = &TransportSocket_TypedConfig{msg} - return true, err - default: - return false, nil - } -} - -func _TransportSocket_OneofSizer(msg proto.Message) (n int) { - m := msg.(*TransportSocket) - // config_type - switch x := m.ConfigType.(type) { - case *TransportSocket_Config: - s := proto.Size(x.Config) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *TransportSocket_TypedConfig: - s := proto.Size(x.TypedConfig) - 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 SocketOption struct { - Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` - Level int64 `protobuf:"varint,2,opt,name=level,proto3" json:"level,omitempty"` - Name int64 `protobuf:"varint,3,opt,name=name,proto3" json:"name,omitempty"` - // Types that are valid to be assigned to Value: - // *SocketOption_IntValue - // *SocketOption_BufValue - Value isSocketOption_Value `protobuf_oneof:"value"` - State SocketOption_SocketState `protobuf:"varint,6,opt,name=state,proto3,enum=envoy.api.v2.core.SocketOption_SocketState" json:"state,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SocketOption) Reset() { *m = SocketOption{} } -func (m *SocketOption) String() string { return proto.CompactTextString(m) } -func (*SocketOption) ProtoMessage() {} -func (*SocketOption) Descriptor() ([]byte, []int) { - return fileDescriptor_base_12218511885b7551, []int{9} -} -func (m *SocketOption) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SocketOption.Unmarshal(m, b) -} -func (m *SocketOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SocketOption.Marshal(b, m, deterministic) -} -func (dst *SocketOption) XXX_Merge(src proto.Message) { - xxx_messageInfo_SocketOption.Merge(dst, src) -} -func (m *SocketOption) XXX_Size() int { - return xxx_messageInfo_SocketOption.Size(m) -} -func (m *SocketOption) XXX_DiscardUnknown() { - xxx_messageInfo_SocketOption.DiscardUnknown(m) -} - -var xxx_messageInfo_SocketOption proto.InternalMessageInfo - -func (m *SocketOption) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *SocketOption) GetLevel() int64 { - if m != nil { - return m.Level - } - return 0 -} - -func (m *SocketOption) GetName() int64 { - if m != nil { - return m.Name - } - return 0 -} - -type isSocketOption_Value interface { - isSocketOption_Value() -} - -type SocketOption_IntValue struct { - IntValue int64 `protobuf:"varint,4,opt,name=int_value,json=intValue,proto3,oneof"` -} - -type SocketOption_BufValue struct { - BufValue []byte `protobuf:"bytes,5,opt,name=buf_value,json=bufValue,proto3,oneof"` -} - -func (*SocketOption_IntValue) isSocketOption_Value() {} - -func (*SocketOption_BufValue) isSocketOption_Value() {} - -func (m *SocketOption) GetValue() isSocketOption_Value { - if m != nil { - return m.Value - } - return nil -} - -func (m *SocketOption) GetIntValue() int64 { - if x, ok := m.GetValue().(*SocketOption_IntValue); ok { - return x.IntValue - } - return 0 -} - -func (m *SocketOption) GetBufValue() []byte { - if x, ok := m.GetValue().(*SocketOption_BufValue); ok { - return x.BufValue - } - return nil -} - -func (m *SocketOption) GetState() SocketOption_SocketState { - if m != nil { - return m.State - } - return SocketOption_STATE_PREBIND -} - -// XXX_OneofFuncs is for the internal use of the proto package. -func (*SocketOption) 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 _SocketOption_OneofMarshaler, _SocketOption_OneofUnmarshaler, _SocketOption_OneofSizer, []interface{}{ - (*SocketOption_IntValue)(nil), - (*SocketOption_BufValue)(nil), - } -} - -func _SocketOption_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*SocketOption) - // value - switch x := m.Value.(type) { - case *SocketOption_IntValue: - b.EncodeVarint(4<<3 | proto.WireVarint) - b.EncodeVarint(uint64(x.IntValue)) - case *SocketOption_BufValue: - b.EncodeVarint(5<<3 | proto.WireBytes) - b.EncodeRawBytes(x.BufValue) - case nil: - default: - return fmt.Errorf("SocketOption.Value has unexpected type %T", x) - } - return nil -} - -func _SocketOption_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*SocketOption) - switch tag { - case 4: // value.int_value - if wire != proto.WireVarint { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeVarint() - m.Value = &SocketOption_IntValue{int64(x)} - return true, err - case 5: // value.buf_value - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeRawBytes(true) - m.Value = &SocketOption_BufValue{x} - return true, err - default: - return false, nil - } -} - -func _SocketOption_OneofSizer(msg proto.Message) (n int) { - m := msg.(*SocketOption) - // value - switch x := m.Value.(type) { - case *SocketOption_IntValue: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(x.IntValue)) - case *SocketOption_BufValue: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.BufValue))) - n += len(x.BufValue) - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - -type RuntimeFractionalPercent struct { - DefaultValue *percent.FractionalPercent `protobuf:"bytes,1,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` - RuntimeKey string `protobuf:"bytes,2,opt,name=runtime_key,json=runtimeKey,proto3" json:"runtime_key,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RuntimeFractionalPercent) Reset() { *m = RuntimeFractionalPercent{} } -func (m *RuntimeFractionalPercent) String() string { return proto.CompactTextString(m) } -func (*RuntimeFractionalPercent) ProtoMessage() {} -func (*RuntimeFractionalPercent) Descriptor() ([]byte, []int) { - return fileDescriptor_base_12218511885b7551, []int{10} -} -func (m *RuntimeFractionalPercent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RuntimeFractionalPercent.Unmarshal(m, b) -} -func (m *RuntimeFractionalPercent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RuntimeFractionalPercent.Marshal(b, m, deterministic) -} -func (dst *RuntimeFractionalPercent) XXX_Merge(src proto.Message) { - xxx_messageInfo_RuntimeFractionalPercent.Merge(dst, src) -} -func (m *RuntimeFractionalPercent) XXX_Size() int { - return xxx_messageInfo_RuntimeFractionalPercent.Size(m) -} -func (m *RuntimeFractionalPercent) XXX_DiscardUnknown() { - xxx_messageInfo_RuntimeFractionalPercent.DiscardUnknown(m) -} - -var xxx_messageInfo_RuntimeFractionalPercent proto.InternalMessageInfo - -func (m *RuntimeFractionalPercent) GetDefaultValue() *percent.FractionalPercent { - if m != nil { - return m.DefaultValue - } - return nil -} - -func (m *RuntimeFractionalPercent) GetRuntimeKey() string { - if m != nil { - return m.RuntimeKey - } - return "" -} - -type ControlPlane struct { - Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ControlPlane) Reset() { *m = ControlPlane{} } -func (m *ControlPlane) String() string { return proto.CompactTextString(m) } -func (*ControlPlane) ProtoMessage() {} -func (*ControlPlane) Descriptor() ([]byte, []int) { - return fileDescriptor_base_12218511885b7551, []int{11} -} -func (m *ControlPlane) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ControlPlane.Unmarshal(m, b) -} -func (m *ControlPlane) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ControlPlane.Marshal(b, m, deterministic) -} -func (dst *ControlPlane) XXX_Merge(src proto.Message) { - xxx_messageInfo_ControlPlane.Merge(dst, src) -} -func (m *ControlPlane) XXX_Size() int { - return xxx_messageInfo_ControlPlane.Size(m) -} -func (m *ControlPlane) XXX_DiscardUnknown() { - xxx_messageInfo_ControlPlane.DiscardUnknown(m) -} - -var xxx_messageInfo_ControlPlane proto.InternalMessageInfo - -func (m *ControlPlane) GetIdentifier() string { - if m != nil { - return m.Identifier - } - return "" -} - -func init() { - proto.RegisterType((*Locality)(nil), "envoy.api.v2.core.Locality") - proto.RegisterType((*Node)(nil), "envoy.api.v2.core.Node") - proto.RegisterType((*Metadata)(nil), "envoy.api.v2.core.Metadata") - proto.RegisterMapType((map[string]*_struct.Struct)(nil), "envoy.api.v2.core.Metadata.FilterMetadataEntry") - proto.RegisterType((*RuntimeUInt32)(nil), "envoy.api.v2.core.RuntimeUInt32") - proto.RegisterType((*HeaderValue)(nil), "envoy.api.v2.core.HeaderValue") - proto.RegisterType((*HeaderValueOption)(nil), "envoy.api.v2.core.HeaderValueOption") - proto.RegisterType((*HeaderMap)(nil), "envoy.api.v2.core.HeaderMap") - proto.RegisterType((*DataSource)(nil), "envoy.api.v2.core.DataSource") - proto.RegisterType((*TransportSocket)(nil), "envoy.api.v2.core.TransportSocket") - proto.RegisterType((*SocketOption)(nil), "envoy.api.v2.core.SocketOption") - proto.RegisterType((*RuntimeFractionalPercent)(nil), "envoy.api.v2.core.RuntimeFractionalPercent") - proto.RegisterType((*ControlPlane)(nil), "envoy.api.v2.core.ControlPlane") - proto.RegisterEnum("envoy.api.v2.core.RoutingPriority", RoutingPriority_name, RoutingPriority_value) - proto.RegisterEnum("envoy.api.v2.core.RequestMethod", RequestMethod_name, RequestMethod_value) - proto.RegisterEnum("envoy.api.v2.core.SocketOption_SocketState", SocketOption_SocketState_name, SocketOption_SocketState_value) -} - -func init() { proto.RegisterFile("envoy/api/v2/core/base.proto", fileDescriptor_base_12218511885b7551) } - -var fileDescriptor_base_12218511885b7551 = []byte{ - // 1125 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x55, 0xcd, 0x72, 0x1b, 0x45, - 0x10, 0xf6, 0xea, 0xcf, 0x52, 0x4b, 0xb2, 0x37, 0x93, 0x54, 0xa2, 0x98, 0x38, 0x31, 0xe2, 0x80, - 0x2b, 0x14, 0x2b, 0x50, 0xa8, 0x22, 0x70, 0xf3, 0x4a, 0xeb, 0x48, 0x85, 0x2d, 0x29, 0xab, 0x75, - 0xa0, 0x72, 0x11, 0x23, 0xed, 0xc8, 0x99, 0xca, 0x66, 0x67, 0x99, 0x9d, 0x15, 0x28, 0xa7, 0x14, - 0x37, 0xc8, 0xa3, 0x50, 0xdc, 0x29, 0x4e, 0xa9, 0xe2, 0xc4, 0xa3, 0xe4, 0x2d, 0xa8, 0xf9, 0x91, - 0x23, 0x47, 0x2e, 0x72, 0x9b, 0xf9, 0xfa, 0xfb, 0x7a, 0xbb, 0x7b, 0xba, 0x7b, 0xe1, 0x0e, 0x89, - 0x17, 0x6c, 0xd9, 0xc2, 0x09, 0x6d, 0x2d, 0xda, 0xad, 0x19, 0xe3, 0xa4, 0x35, 0xc5, 0x29, 0x71, - 0x12, 0xce, 0x04, 0x43, 0xd7, 0x94, 0xd5, 0xc1, 0x09, 0x75, 0x16, 0x6d, 0x47, 0x5a, 0xf7, 0x6e, - 0x9f, 0x33, 0x76, 0x1e, 0x91, 0x96, 0x22, 0x4c, 0xb3, 0x79, 0x0b, 0xc7, 0x4b, 0xcd, 0xde, 0xbb, - 0xf3, 0xbe, 0x29, 0x15, 0x3c, 0x9b, 0x09, 0x63, 0xbd, 0xfb, 0xbe, 0xf5, 0x67, 0x8e, 0x93, 0x84, - 0xf0, 0xd4, 0xd8, 0x6f, 0x2d, 0x70, 0x44, 0x43, 0x2c, 0x48, 0x6b, 0x75, 0x30, 0x86, 0x86, 0x0e, - 0x51, 0x2c, 0x13, 0xd2, 0x4a, 0x08, 0x9f, 0x91, 0xd8, 0xb8, 0x6c, 0x3e, 0x86, 0xf2, 0x09, 0x9b, - 0xe1, 0x88, 0x8a, 0x25, 0xba, 0x09, 0x25, 0x4e, 0xce, 0x29, 0x8b, 0x1b, 0xd6, 0x81, 0x75, 0x58, - 0xf1, 0xcd, 0x0d, 0x21, 0x28, 0xbc, 0x64, 0x31, 0x69, 0xe4, 0x14, 0xaa, 0xce, 0xe8, 0x36, 0x94, - 0xd3, 0x6c, 0x3a, 0x51, 0x78, 0x5e, 0xe1, 0xdb, 0x69, 0x36, 0x7d, 0xca, 0x62, 0xd2, 0xfc, 0xc7, - 0x82, 0xc2, 0x80, 0x85, 0x04, 0xed, 0x40, 0x8e, 0x86, 0xc6, 0x57, 0x8e, 0x86, 0xa8, 0x01, 0xdb, - 0xb3, 0x28, 0x4b, 0x05, 0xe1, 0xc6, 0xd5, 0xea, 0x8a, 0x1e, 0x40, 0xf9, 0x05, 0x11, 0x38, 0xc4, - 0x02, 0x2b, 0x6f, 0xd5, 0xf6, 0x2d, 0x47, 0xe7, 0xea, 0xac, 0x72, 0x75, 0xc6, 0xaa, 0x12, 0xfe, - 0x05, 0x11, 0x7d, 0x0d, 0xe5, 0xc8, 0x84, 0xde, 0x28, 0x28, 0xd1, 0x47, 0xce, 0x46, 0xb1, 0x9d, - 0x55, 0x76, 0xfe, 0x05, 0x19, 0x7d, 0x02, 0xf5, 0x69, 0x46, 0xa3, 0x70, 0xb2, 0x20, 0x3c, 0x95, - 0xe9, 0x16, 0x55, 0x34, 0x35, 0x05, 0x3e, 0xd1, 0x58, 0xf3, 0x8d, 0x05, 0xe5, 0xd3, 0xd5, 0xa7, - 0x7e, 0x80, 0xdd, 0x39, 0x8d, 0x04, 0xe1, 0x93, 0x8b, 0x30, 0xad, 0x83, 0xfc, 0x61, 0xb5, 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, 0xaf, 0xe0, 0x1e, 0x65, 0xba, 0x86, 0x09, - 0x67, 0xbf, 0x2c, 0x37, 0x9b, 0xc4, 0xad, 0xb8, 0x38, 0x25, 0x23, 0x39, 0x12, 0x23, 0xeb, 0x69, - 0x41, 0x42, 0xd3, 0x92, 0x9a, 0x90, 0x07, 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, 0xb5, 0x03, 0x41, - 0x71, 0x7f, 0x08, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/config_source/config_source.pb.go b/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/config_source/config_source.pb.go deleted file mode 100755 index 9853ff3d..00000000 --- a/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/config_source/config_source.pb.go +++ /dev/null @@ -1,446 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: envoy/api/v2/core/config_source.proto - -package envoy_api_v2_core - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import duration "github.com/golang/protobuf/ptypes/duration" -import wrappers "github.com/golang/protobuf/ptypes/wrappers" -import grpc_service "google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/grpc_service" -import _ "google.golang.org/grpc/xds/internal/proto/validate" - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation 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 ApiConfigSource_ApiType int32 - -const ( - ApiConfigSource_UNSUPPORTED_REST_LEGACY ApiConfigSource_ApiType = 0 // Deprecated: Do not use. - ApiConfigSource_REST ApiConfigSource_ApiType = 1 - ApiConfigSource_GRPC ApiConfigSource_ApiType = 2 - ApiConfigSource_DELTA_GRPC ApiConfigSource_ApiType = 3 -) - -var ApiConfigSource_ApiType_name = map[int32]string{ - 0: "UNSUPPORTED_REST_LEGACY", - 1: "REST", - 2: "GRPC", - 3: "DELTA_GRPC", -} -var ApiConfigSource_ApiType_value = map[string]int32{ - "UNSUPPORTED_REST_LEGACY": 0, - "REST": 1, - "GRPC": 2, - "DELTA_GRPC": 3, -} - -func (x ApiConfigSource_ApiType) String() string { - return proto.EnumName(ApiConfigSource_ApiType_name, int32(x)) -} -func (ApiConfigSource_ApiType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_config_source_d368846786cd1f7d, []int{0, 0} -} - -type ApiConfigSource struct { - ApiType ApiConfigSource_ApiType `protobuf:"varint,1,opt,name=api_type,json=apiType,proto3,enum=envoy.api.v2.core.ApiConfigSource_ApiType" json:"api_type,omitempty"` - ClusterNames []string `protobuf:"bytes,2,rep,name=cluster_names,json=clusterNames,proto3" json:"cluster_names,omitempty"` - GrpcServices []*grpc_service.GrpcService `protobuf:"bytes,4,rep,name=grpc_services,json=grpcServices,proto3" json:"grpc_services,omitempty"` - RefreshDelay *duration.Duration `protobuf:"bytes,3,opt,name=refresh_delay,json=refreshDelay,proto3" json:"refresh_delay,omitempty"` - RequestTimeout *duration.Duration `protobuf:"bytes,5,opt,name=request_timeout,json=requestTimeout,proto3" json:"request_timeout,omitempty"` - RateLimitSettings *RateLimitSettings `protobuf:"bytes,6,opt,name=rate_limit_settings,json=rateLimitSettings,proto3" json:"rate_limit_settings,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ApiConfigSource) Reset() { *m = ApiConfigSource{} } -func (m *ApiConfigSource) String() string { return proto.CompactTextString(m) } -func (*ApiConfigSource) ProtoMessage() {} -func (*ApiConfigSource) Descriptor() ([]byte, []int) { - return fileDescriptor_config_source_d368846786cd1f7d, []int{0} -} -func (m *ApiConfigSource) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ApiConfigSource.Unmarshal(m, b) -} -func (m *ApiConfigSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ApiConfigSource.Marshal(b, m, deterministic) -} -func (dst *ApiConfigSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApiConfigSource.Merge(dst, src) -} -func (m *ApiConfigSource) XXX_Size() int { - return xxx_messageInfo_ApiConfigSource.Size(m) -} -func (m *ApiConfigSource) XXX_DiscardUnknown() { - xxx_messageInfo_ApiConfigSource.DiscardUnknown(m) -} - -var xxx_messageInfo_ApiConfigSource proto.InternalMessageInfo - -func (m *ApiConfigSource) GetApiType() ApiConfigSource_ApiType { - if m != nil { - return m.ApiType - } - return ApiConfigSource_UNSUPPORTED_REST_LEGACY -} - -func (m *ApiConfigSource) GetClusterNames() []string { - if m != nil { - return m.ClusterNames - } - return nil -} - -func (m *ApiConfigSource) GetGrpcServices() []*grpc_service.GrpcService { - if m != nil { - return m.GrpcServices - } - return nil -} - -func (m *ApiConfigSource) GetRefreshDelay() *duration.Duration { - if m != nil { - return m.RefreshDelay - } - return nil -} - -func (m *ApiConfigSource) GetRequestTimeout() *duration.Duration { - if m != nil { - return m.RequestTimeout - } - return nil -} - -func (m *ApiConfigSource) GetRateLimitSettings() *RateLimitSettings { - if m != nil { - return m.RateLimitSettings - } - return nil -} - -type AggregatedConfigSource struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AggregatedConfigSource) Reset() { *m = AggregatedConfigSource{} } -func (m *AggregatedConfigSource) String() string { return proto.CompactTextString(m) } -func (*AggregatedConfigSource) ProtoMessage() {} -func (*AggregatedConfigSource) Descriptor() ([]byte, []int) { - return fileDescriptor_config_source_d368846786cd1f7d, []int{1} -} -func (m *AggregatedConfigSource) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AggregatedConfigSource.Unmarshal(m, b) -} -func (m *AggregatedConfigSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AggregatedConfigSource.Marshal(b, m, deterministic) -} -func (dst *AggregatedConfigSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_AggregatedConfigSource.Merge(dst, src) -} -func (m *AggregatedConfigSource) XXX_Size() int { - return xxx_messageInfo_AggregatedConfigSource.Size(m) -} -func (m *AggregatedConfigSource) XXX_DiscardUnknown() { - xxx_messageInfo_AggregatedConfigSource.DiscardUnknown(m) -} - -var xxx_messageInfo_AggregatedConfigSource proto.InternalMessageInfo - -type RateLimitSettings struct { - MaxTokens *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=max_tokens,json=maxTokens,proto3" json:"max_tokens,omitempty"` - FillRate *wrappers.DoubleValue `protobuf:"bytes,2,opt,name=fill_rate,json=fillRate,proto3" json:"fill_rate,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RateLimitSettings) Reset() { *m = RateLimitSettings{} } -func (m *RateLimitSettings) String() string { return proto.CompactTextString(m) } -func (*RateLimitSettings) ProtoMessage() {} -func (*RateLimitSettings) Descriptor() ([]byte, []int) { - return fileDescriptor_config_source_d368846786cd1f7d, []int{2} -} -func (m *RateLimitSettings) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RateLimitSettings.Unmarshal(m, b) -} -func (m *RateLimitSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RateLimitSettings.Marshal(b, m, deterministic) -} -func (dst *RateLimitSettings) XXX_Merge(src proto.Message) { - xxx_messageInfo_RateLimitSettings.Merge(dst, src) -} -func (m *RateLimitSettings) XXX_Size() int { - return xxx_messageInfo_RateLimitSettings.Size(m) -} -func (m *RateLimitSettings) XXX_DiscardUnknown() { - xxx_messageInfo_RateLimitSettings.DiscardUnknown(m) -} - -var xxx_messageInfo_RateLimitSettings proto.InternalMessageInfo - -func (m *RateLimitSettings) GetMaxTokens() *wrappers.UInt32Value { - if m != nil { - return m.MaxTokens - } - return nil -} - -func (m *RateLimitSettings) GetFillRate() *wrappers.DoubleValue { - if m != nil { - return m.FillRate - } - return nil -} - -type ConfigSource struct { - // Types that are valid to be assigned to ConfigSourceSpecifier: - // *ConfigSource_Path - // *ConfigSource_ApiConfigSource - // *ConfigSource_Ads - ConfigSourceSpecifier isConfigSource_ConfigSourceSpecifier `protobuf_oneof:"config_source_specifier"` - InitialFetchTimeout *duration.Duration `protobuf:"bytes,4,opt,name=initial_fetch_timeout,json=initialFetchTimeout,proto3" json:"initial_fetch_timeout,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_config_source_d368846786cd1f7d, []int{3} -} -func (m *ConfigSource) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConfigSource.Unmarshal(m, b) -} -func (m *ConfigSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConfigSource.Marshal(b, m, deterministic) -} -func (dst *ConfigSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConfigSource.Merge(dst, src) -} -func (m *ConfigSource) XXX_Size() int { - return xxx_messageInfo_ConfigSource.Size(m) -} -func (m *ConfigSource) XXX_DiscardUnknown() { - xxx_messageInfo_ConfigSource.DiscardUnknown(m) -} - -var xxx_messageInfo_ConfigSource proto.InternalMessageInfo - -type isConfigSource_ConfigSourceSpecifier interface { - isConfigSource_ConfigSourceSpecifier() -} - -type ConfigSource_Path struct { - Path string `protobuf:"bytes,1,opt,name=path,proto3,oneof"` -} - -type ConfigSource_ApiConfigSource struct { - ApiConfigSource *ApiConfigSource `protobuf:"bytes,2,opt,name=api_config_source,json=apiConfigSource,proto3,oneof"` -} - -type ConfigSource_Ads struct { - Ads *AggregatedConfigSource `protobuf:"bytes,3,opt,name=ads,proto3,oneof"` -} - -func (*ConfigSource_Path) isConfigSource_ConfigSourceSpecifier() {} - -func (*ConfigSource_ApiConfigSource) isConfigSource_ConfigSourceSpecifier() {} - -func (*ConfigSource_Ads) isConfigSource_ConfigSourceSpecifier() {} - -func (m *ConfigSource) GetConfigSourceSpecifier() isConfigSource_ConfigSourceSpecifier { - if m != nil { - return m.ConfigSourceSpecifier - } - return nil -} - -func (m *ConfigSource) GetPath() string { - if x, ok := m.GetConfigSourceSpecifier().(*ConfigSource_Path); ok { - return x.Path - } - return "" -} - -func (m *ConfigSource) GetApiConfigSource() *ApiConfigSource { - if x, ok := m.GetConfigSourceSpecifier().(*ConfigSource_ApiConfigSource); ok { - return x.ApiConfigSource - } - return nil -} - -func (m *ConfigSource) GetAds() *AggregatedConfigSource { - if x, ok := m.GetConfigSourceSpecifier().(*ConfigSource_Ads); ok { - return x.Ads - } - return nil -} - -func (m *ConfigSource) GetInitialFetchTimeout() *duration.Duration { - if m != nil { - return m.InitialFetchTimeout - } - return nil -} - -// XXX_OneofFuncs is for the internal use of the proto package. -func (*ConfigSource) 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 _ConfigSource_OneofMarshaler, _ConfigSource_OneofUnmarshaler, _ConfigSource_OneofSizer, []interface{}{ - (*ConfigSource_Path)(nil), - (*ConfigSource_ApiConfigSource)(nil), - (*ConfigSource_Ads)(nil), - } -} - -func _ConfigSource_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*ConfigSource) - // config_source_specifier - switch x := m.ConfigSourceSpecifier.(type) { - case *ConfigSource_Path: - b.EncodeVarint(1<<3 | proto.WireBytes) - b.EncodeStringBytes(x.Path) - case *ConfigSource_ApiConfigSource: - b.EncodeVarint(2<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.ApiConfigSource); err != nil { - return err - } - case *ConfigSource_Ads: - b.EncodeVarint(3<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Ads); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("ConfigSource.ConfigSourceSpecifier has unexpected type %T", x) - } - return nil -} - -func _ConfigSource_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*ConfigSource) - switch tag { - case 1: // config_source_specifier.path - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.ConfigSourceSpecifier = &ConfigSource_Path{x} - return true, err - case 2: // config_source_specifier.api_config_source - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(ApiConfigSource) - err := b.DecodeMessage(msg) - m.ConfigSourceSpecifier = &ConfigSource_ApiConfigSource{msg} - return true, err - case 3: // config_source_specifier.ads - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(AggregatedConfigSource) - err := b.DecodeMessage(msg) - m.ConfigSourceSpecifier = &ConfigSource_Ads{msg} - return true, err - default: - return false, nil - } -} - -func _ConfigSource_OneofSizer(msg proto.Message) (n int) { - m := msg.(*ConfigSource) - // config_source_specifier - switch x := m.ConfigSourceSpecifier.(type) { - case *ConfigSource_Path: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.Path))) - n += len(x.Path) - case *ConfigSource_ApiConfigSource: - s := proto.Size(x.ApiConfigSource) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *ConfigSource_Ads: - s := proto.Size(x.Ads) - 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((*ApiConfigSource)(nil), "envoy.api.v2.core.ApiConfigSource") - proto.RegisterType((*AggregatedConfigSource)(nil), "envoy.api.v2.core.AggregatedConfigSource") - proto.RegisterType((*RateLimitSettings)(nil), "envoy.api.v2.core.RateLimitSettings") - proto.RegisterType((*ConfigSource)(nil), "envoy.api.v2.core.ConfigSource") - proto.RegisterEnum("envoy.api.v2.core.ApiConfigSource_ApiType", ApiConfigSource_ApiType_name, ApiConfigSource_ApiType_value) -} - -func init() { - proto.RegisterFile("envoy/api/v2/core/config_source.proto", fileDescriptor_config_source_d368846786cd1f7d) -} - -var fileDescriptor_config_source_d368846786cd1f7d = []byte{ - // 667 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x53, 0xcd, 0x6e, 0x13, 0x3d, - 0x14, 0xcd, 0x24, 0x69, 0x9b, 0x38, 0x69, 0x9b, 0xb8, 0xdf, 0xf7, 0x75, 0xbe, 0x0a, 0xb5, 0x21, - 0x14, 0x29, 0x74, 0x31, 0x91, 0x52, 0x89, 0x0d, 0x02, 0x29, 0x7f, 0xb4, 0x88, 0x52, 0x82, 0x93, - 0x22, 0xb1, 0xb2, 0xdc, 0xc9, 0xcd, 0xd4, 0x62, 0x32, 0x63, 0x6c, 0x4f, 0x68, 0xb6, 0x2c, 0x78, - 0x0b, 0xb6, 0x2c, 0x78, 0x02, 0xc4, 0xaa, 0xaf, 0xd3, 0xb7, 0x40, 0x9e, 0x4c, 0xa1, 0x6d, 0x52, - 0x35, 0xab, 0xb9, 0xd7, 0xe7, 0x5c, 0x9f, 0x7b, 0x72, 0x8c, 0x1e, 0x43, 0x30, 0x09, 0xa7, 0x75, - 0x26, 0x78, 0x7d, 0xd2, 0xa8, 0xbb, 0xa1, 0x84, 0xba, 0x1b, 0x06, 0x23, 0xee, 0x51, 0x15, 0x46, - 0xd2, 0x05, 0x47, 0xc8, 0x50, 0x87, 0xb8, 0x1c, 0xc3, 0x1c, 0x26, 0xb8, 0x33, 0x69, 0x38, 0x06, - 0xb6, 0xb5, 0x3b, 0xcf, 0xf4, 0xa4, 0x70, 0xa9, 0x02, 0x39, 0xe1, 0x57, 0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9, 0x3b, 0xb8, 0x9d, 0x30, 0x3a, 0xf5, 0x21, 0xe6, 0xb6, - 0x4a, 0xc6, 0xe1, 0x02, 0xce, 0x3f, 0x4c, 0x25, 0x3f, 0x92, 0x33, 0x03, 0x8c, 0xac, 0xea, 0xf7, - 0x34, 0x2a, 0xde, 0xc8, 0xef, 0x3f, 0x28, 0x2b, 0x98, 0x3e, 0x8b, 0x45, 0xe5, 0x0f, 0x53, 0x24, - 0xae, 0x70, 0x0f, 0x95, 0x4d, 0xaa, 0x6f, 0x3c, 0xcb, 0xe4, 0xee, 0xea, 0xfd, 0xf1, 0x3e, 0x4c, - 0x91, 0x75, 0x76, 0xeb, 0x9d, 0x3c, 0x47, 0x19, 0x36, 0x54, 0x49, 0xc0, 0x9e, 0x2c, 0x9a, 0xb1, - 0xd0, 0xd0, 0xc3, 0x14, 0x31, 0x3c, 0xfc, 0x06, 0xfd, 0xcb, 0x03, 0xae, 0x39, 0xf3, 0xe9, 0x08, - 0xb4, 0x7b, 0xf6, 0x27, 0x6f, 0xd9, 0xfb, 0x12, 0xbb, 0x91, 0xf0, 0x5e, 0x1a, 0x5a, 0x12, 0xb3, - 0x56, 0x05, 0x6d, 0xde, 0xd8, 0x8d, 0x2a, 0x01, 0x2e, 0x1f, 0x71, 0x90, 0x78, 0xe9, 0xe7, 0xe5, - 0x45, 0xc6, 0x6a, 0x3d, 0x45, 0x3b, 0x3c, 0x9c, 0xc9, 0x14, 0x32, 0x3c, 0x9f, 0xce, 0x2b, 0x6e, - 0x95, 0xaf, 0x0b, 0xed, 0x99, 0x8b, 0x7b, 0xd6, 0xe9, 0x72, 0xac, 0x60, 0xff, 0x77, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x4c, 0x68, 0x6a, 0x4f, 0xe5, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/grpc_service/grpc_service.pb.go b/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/grpc_service/grpc_service.pb.go deleted file mode 100755 index 0f1d143e..00000000 --- a/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/grpc_service/grpc_service.pb.go +++ /dev/null @@ -1,1196 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: envoy/api/v2/core/grpc_service.proto - -package envoy_api_v2_core - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import any "github.com/golang/protobuf/ptypes/any" -import duration "github.com/golang/protobuf/ptypes/duration" -import empty "github.com/golang/protobuf/ptypes/empty" -import _struct "github.com/golang/protobuf/ptypes/struct" -import base "google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/base" -import _ "google.golang.org/grpc/xds/internal/proto/validate" - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation 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 GrpcService struct { - // Types that are valid to be assigned to TargetSpecifier: - // *GrpcService_EnvoyGrpc_ - // *GrpcService_GoogleGrpc_ - TargetSpecifier isGrpcService_TargetSpecifier `protobuf_oneof:"target_specifier"` - Timeout *duration.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"` - InitialMetadata []*base.HeaderValue `protobuf:"bytes,5,rep,name=initial_metadata,json=initialMetadata,proto3" json:"initial_metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GrpcService) Reset() { *m = GrpcService{} } -func (m *GrpcService) String() string { return proto.CompactTextString(m) } -func (*GrpcService) ProtoMessage() {} -func (*GrpcService) Descriptor() ([]byte, []int) { - return fileDescriptor_grpc_service_b85549433708d753, []int{0} -} -func (m *GrpcService) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GrpcService.Unmarshal(m, b) -} -func (m *GrpcService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GrpcService.Marshal(b, m, deterministic) -} -func (dst *GrpcService) XXX_Merge(src proto.Message) { - xxx_messageInfo_GrpcService.Merge(dst, src) -} -func (m *GrpcService) XXX_Size() int { - return xxx_messageInfo_GrpcService.Size(m) -} -func (m *GrpcService) XXX_DiscardUnknown() { - xxx_messageInfo_GrpcService.DiscardUnknown(m) -} - -var xxx_messageInfo_GrpcService proto.InternalMessageInfo - -type isGrpcService_TargetSpecifier interface { - isGrpcService_TargetSpecifier() -} - -type GrpcService_EnvoyGrpc_ struct { - EnvoyGrpc *GrpcService_EnvoyGrpc `protobuf:"bytes,1,opt,name=envoy_grpc,json=envoyGrpc,proto3,oneof"` -} - -type GrpcService_GoogleGrpc_ struct { - GoogleGrpc *GrpcService_GoogleGrpc `protobuf:"bytes,2,opt,name=google_grpc,json=googleGrpc,proto3,oneof"` -} - -func (*GrpcService_EnvoyGrpc_) isGrpcService_TargetSpecifier() {} - -func (*GrpcService_GoogleGrpc_) isGrpcService_TargetSpecifier() {} - -func (m *GrpcService) GetTargetSpecifier() isGrpcService_TargetSpecifier { - if m != nil { - return m.TargetSpecifier - } - return nil -} - -func (m *GrpcService) GetEnvoyGrpc() *GrpcService_EnvoyGrpc { - if x, ok := m.GetTargetSpecifier().(*GrpcService_EnvoyGrpc_); ok { - return x.EnvoyGrpc - } - return nil -} - -func (m *GrpcService) GetGoogleGrpc() *GrpcService_GoogleGrpc { - if x, ok := m.GetTargetSpecifier().(*GrpcService_GoogleGrpc_); ok { - return x.GoogleGrpc - } - return nil -} - -func (m *GrpcService) GetTimeout() *duration.Duration { - if m != nil { - return m.Timeout - } - return nil -} - -func (m *GrpcService) GetInitialMetadata() []*base.HeaderValue { - if m != nil { - return m.InitialMetadata - } - return nil -} - -// XXX_OneofFuncs is for the internal use of the proto package. -func (*GrpcService) 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 _GrpcService_OneofMarshaler, _GrpcService_OneofUnmarshaler, _GrpcService_OneofSizer, []interface{}{ - (*GrpcService_EnvoyGrpc_)(nil), - (*GrpcService_GoogleGrpc_)(nil), - } -} - -func _GrpcService_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*GrpcService) - // target_specifier - switch x := m.TargetSpecifier.(type) { - case *GrpcService_EnvoyGrpc_: - b.EncodeVarint(1<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.EnvoyGrpc); err != nil { - return err - } - case *GrpcService_GoogleGrpc_: - b.EncodeVarint(2<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.GoogleGrpc); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("GrpcService.TargetSpecifier has unexpected type %T", x) - } - return nil -} - -func _GrpcService_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*GrpcService) - switch tag { - case 1: // target_specifier.envoy_grpc - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(GrpcService_EnvoyGrpc) - err := b.DecodeMessage(msg) - m.TargetSpecifier = &GrpcService_EnvoyGrpc_{msg} - return true, err - case 2: // target_specifier.google_grpc - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(GrpcService_GoogleGrpc) - err := b.DecodeMessage(msg) - m.TargetSpecifier = &GrpcService_GoogleGrpc_{msg} - return true, err - default: - return false, nil - } -} - -func _GrpcService_OneofSizer(msg proto.Message) (n int) { - m := msg.(*GrpcService) - // target_specifier - switch x := m.TargetSpecifier.(type) { - case *GrpcService_EnvoyGrpc_: - s := proto.Size(x.EnvoyGrpc) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *GrpcService_GoogleGrpc_: - s := proto.Size(x.GoogleGrpc) - 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 GrpcService_EnvoyGrpc struct { - ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GrpcService_EnvoyGrpc) Reset() { *m = GrpcService_EnvoyGrpc{} } -func (m *GrpcService_EnvoyGrpc) String() string { return proto.CompactTextString(m) } -func (*GrpcService_EnvoyGrpc) ProtoMessage() {} -func (*GrpcService_EnvoyGrpc) Descriptor() ([]byte, []int) { - return fileDescriptor_grpc_service_b85549433708d753, []int{0, 0} -} -func (m *GrpcService_EnvoyGrpc) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GrpcService_EnvoyGrpc.Unmarshal(m, b) -} -func (m *GrpcService_EnvoyGrpc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GrpcService_EnvoyGrpc.Marshal(b, m, deterministic) -} -func (dst *GrpcService_EnvoyGrpc) XXX_Merge(src proto.Message) { - xxx_messageInfo_GrpcService_EnvoyGrpc.Merge(dst, src) -} -func (m *GrpcService_EnvoyGrpc) XXX_Size() int { - return xxx_messageInfo_GrpcService_EnvoyGrpc.Size(m) -} -func (m *GrpcService_EnvoyGrpc) XXX_DiscardUnknown() { - xxx_messageInfo_GrpcService_EnvoyGrpc.DiscardUnknown(m) -} - -var xxx_messageInfo_GrpcService_EnvoyGrpc proto.InternalMessageInfo - -func (m *GrpcService_EnvoyGrpc) GetClusterName() string { - if m != nil { - return m.ClusterName - } - return "" -} - -type GrpcService_GoogleGrpc struct { - TargetUri string `protobuf:"bytes,1,opt,name=target_uri,json=targetUri,proto3" json:"target_uri,omitempty"` - ChannelCredentials *GrpcService_GoogleGrpc_ChannelCredentials `protobuf:"bytes,2,opt,name=channel_credentials,json=channelCredentials,proto3" json:"channel_credentials,omitempty"` - CallCredentials []*GrpcService_GoogleGrpc_CallCredentials `protobuf:"bytes,3,rep,name=call_credentials,json=callCredentials,proto3" json:"call_credentials,omitempty"` - StatPrefix string `protobuf:"bytes,4,opt,name=stat_prefix,json=statPrefix,proto3" json:"stat_prefix,omitempty"` - CredentialsFactoryName string `protobuf:"bytes,5,opt,name=credentials_factory_name,json=credentialsFactoryName,proto3" json:"credentials_factory_name,omitempty"` - Config *_struct.Struct `protobuf:"bytes,6,opt,name=config,proto3" json:"config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GrpcService_GoogleGrpc) Reset() { *m = GrpcService_GoogleGrpc{} } -func (m *GrpcService_GoogleGrpc) String() string { return proto.CompactTextString(m) } -func (*GrpcService_GoogleGrpc) ProtoMessage() {} -func (*GrpcService_GoogleGrpc) Descriptor() ([]byte, []int) { - return fileDescriptor_grpc_service_b85549433708d753, []int{0, 1} -} -func (m *GrpcService_GoogleGrpc) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GrpcService_GoogleGrpc.Unmarshal(m, b) -} -func (m *GrpcService_GoogleGrpc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GrpcService_GoogleGrpc.Marshal(b, m, deterministic) -} -func (dst *GrpcService_GoogleGrpc) XXX_Merge(src proto.Message) { - xxx_messageInfo_GrpcService_GoogleGrpc.Merge(dst, src) -} -func (m *GrpcService_GoogleGrpc) XXX_Size() int { - return xxx_messageInfo_GrpcService_GoogleGrpc.Size(m) -} -func (m *GrpcService_GoogleGrpc) XXX_DiscardUnknown() { - xxx_messageInfo_GrpcService_GoogleGrpc.DiscardUnknown(m) -} - -var xxx_messageInfo_GrpcService_GoogleGrpc proto.InternalMessageInfo - -func (m *GrpcService_GoogleGrpc) GetTargetUri() string { - if m != nil { - return m.TargetUri - } - return "" -} - -func (m *GrpcService_GoogleGrpc) GetChannelCredentials() *GrpcService_GoogleGrpc_ChannelCredentials { - if m != nil { - return m.ChannelCredentials - } - return nil -} - -func (m *GrpcService_GoogleGrpc) GetCallCredentials() []*GrpcService_GoogleGrpc_CallCredentials { - if m != nil { - return m.CallCredentials - } - return nil -} - -func (m *GrpcService_GoogleGrpc) GetStatPrefix() string { - if m != nil { - return m.StatPrefix - } - return "" -} - -func (m *GrpcService_GoogleGrpc) GetCredentialsFactoryName() string { - if m != nil { - return m.CredentialsFactoryName - } - return "" -} - -func (m *GrpcService_GoogleGrpc) GetConfig() *_struct.Struct { - if m != nil { - return m.Config - } - return nil -} - -type GrpcService_GoogleGrpc_SslCredentials struct { - RootCerts *base.DataSource `protobuf:"bytes,1,opt,name=root_certs,json=rootCerts,proto3" json:"root_certs,omitempty"` - PrivateKey *base.DataSource `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` - CertChain *base.DataSource `protobuf:"bytes,3,opt,name=cert_chain,json=certChain,proto3" json:"cert_chain,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GrpcService_GoogleGrpc_SslCredentials) Reset() { *m = GrpcService_GoogleGrpc_SslCredentials{} } -func (m *GrpcService_GoogleGrpc_SslCredentials) String() string { return proto.CompactTextString(m) } -func (*GrpcService_GoogleGrpc_SslCredentials) ProtoMessage() {} -func (*GrpcService_GoogleGrpc_SslCredentials) Descriptor() ([]byte, []int) { - return fileDescriptor_grpc_service_b85549433708d753, []int{0, 1, 0} -} -func (m *GrpcService_GoogleGrpc_SslCredentials) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GrpcService_GoogleGrpc_SslCredentials.Unmarshal(m, b) -} -func (m *GrpcService_GoogleGrpc_SslCredentials) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GrpcService_GoogleGrpc_SslCredentials.Marshal(b, m, deterministic) -} -func (dst *GrpcService_GoogleGrpc_SslCredentials) XXX_Merge(src proto.Message) { - xxx_messageInfo_GrpcService_GoogleGrpc_SslCredentials.Merge(dst, src) -} -func (m *GrpcService_GoogleGrpc_SslCredentials) XXX_Size() int { - return xxx_messageInfo_GrpcService_GoogleGrpc_SslCredentials.Size(m) -} -func (m *GrpcService_GoogleGrpc_SslCredentials) XXX_DiscardUnknown() { - xxx_messageInfo_GrpcService_GoogleGrpc_SslCredentials.DiscardUnknown(m) -} - -var xxx_messageInfo_GrpcService_GoogleGrpc_SslCredentials proto.InternalMessageInfo - -func (m *GrpcService_GoogleGrpc_SslCredentials) GetRootCerts() *base.DataSource { - if m != nil { - return m.RootCerts - } - return nil -} - -func (m *GrpcService_GoogleGrpc_SslCredentials) GetPrivateKey() *base.DataSource { - if m != nil { - return m.PrivateKey - } - return nil -} - -func (m *GrpcService_GoogleGrpc_SslCredentials) GetCertChain() *base.DataSource { - if m != nil { - return m.CertChain - } - return nil -} - -type GrpcService_GoogleGrpc_GoogleLocalCredentials struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GrpcService_GoogleGrpc_GoogleLocalCredentials) Reset() { - *m = GrpcService_GoogleGrpc_GoogleLocalCredentials{} -} -func (m *GrpcService_GoogleGrpc_GoogleLocalCredentials) String() string { - return proto.CompactTextString(m) -} -func (*GrpcService_GoogleGrpc_GoogleLocalCredentials) ProtoMessage() {} -func (*GrpcService_GoogleGrpc_GoogleLocalCredentials) Descriptor() ([]byte, []int) { - return fileDescriptor_grpc_service_b85549433708d753, []int{0, 1, 1} -} -func (m *GrpcService_GoogleGrpc_GoogleLocalCredentials) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GrpcService_GoogleGrpc_GoogleLocalCredentials.Unmarshal(m, b) -} -func (m *GrpcService_GoogleGrpc_GoogleLocalCredentials) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GrpcService_GoogleGrpc_GoogleLocalCredentials.Marshal(b, m, deterministic) -} -func (dst *GrpcService_GoogleGrpc_GoogleLocalCredentials) XXX_Merge(src proto.Message) { - xxx_messageInfo_GrpcService_GoogleGrpc_GoogleLocalCredentials.Merge(dst, src) -} -func (m *GrpcService_GoogleGrpc_GoogleLocalCredentials) XXX_Size() int { - return xxx_messageInfo_GrpcService_GoogleGrpc_GoogleLocalCredentials.Size(m) -} -func (m *GrpcService_GoogleGrpc_GoogleLocalCredentials) XXX_DiscardUnknown() { - xxx_messageInfo_GrpcService_GoogleGrpc_GoogleLocalCredentials.DiscardUnknown(m) -} - -var xxx_messageInfo_GrpcService_GoogleGrpc_GoogleLocalCredentials proto.InternalMessageInfo - -type GrpcService_GoogleGrpc_ChannelCredentials struct { - // Types that are valid to be assigned to CredentialSpecifier: - // *GrpcService_GoogleGrpc_ChannelCredentials_SslCredentials - // *GrpcService_GoogleGrpc_ChannelCredentials_GoogleDefault - // *GrpcService_GoogleGrpc_ChannelCredentials_LocalCredentials - CredentialSpecifier isGrpcService_GoogleGrpc_ChannelCredentials_CredentialSpecifier `protobuf_oneof:"credential_specifier"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GrpcService_GoogleGrpc_ChannelCredentials) Reset() { - *m = GrpcService_GoogleGrpc_ChannelCredentials{} -} -func (m *GrpcService_GoogleGrpc_ChannelCredentials) String() string { return proto.CompactTextString(m) } -func (*GrpcService_GoogleGrpc_ChannelCredentials) ProtoMessage() {} -func (*GrpcService_GoogleGrpc_ChannelCredentials) Descriptor() ([]byte, []int) { - return fileDescriptor_grpc_service_b85549433708d753, []int{0, 1, 2} -} -func (m *GrpcService_GoogleGrpc_ChannelCredentials) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GrpcService_GoogleGrpc_ChannelCredentials.Unmarshal(m, b) -} -func (m *GrpcService_GoogleGrpc_ChannelCredentials) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GrpcService_GoogleGrpc_ChannelCredentials.Marshal(b, m, deterministic) -} -func (dst *GrpcService_GoogleGrpc_ChannelCredentials) XXX_Merge(src proto.Message) { - xxx_messageInfo_GrpcService_GoogleGrpc_ChannelCredentials.Merge(dst, src) -} -func (m *GrpcService_GoogleGrpc_ChannelCredentials) XXX_Size() int { - return xxx_messageInfo_GrpcService_GoogleGrpc_ChannelCredentials.Size(m) -} -func (m *GrpcService_GoogleGrpc_ChannelCredentials) XXX_DiscardUnknown() { - xxx_messageInfo_GrpcService_GoogleGrpc_ChannelCredentials.DiscardUnknown(m) -} - -var xxx_messageInfo_GrpcService_GoogleGrpc_ChannelCredentials proto.InternalMessageInfo - -type isGrpcService_GoogleGrpc_ChannelCredentials_CredentialSpecifier interface { - isGrpcService_GoogleGrpc_ChannelCredentials_CredentialSpecifier() -} - -type GrpcService_GoogleGrpc_ChannelCredentials_SslCredentials struct { - SslCredentials *GrpcService_GoogleGrpc_SslCredentials `protobuf:"bytes,1,opt,name=ssl_credentials,json=sslCredentials,proto3,oneof"` -} - -type GrpcService_GoogleGrpc_ChannelCredentials_GoogleDefault struct { - GoogleDefault *empty.Empty `protobuf:"bytes,2,opt,name=google_default,json=googleDefault,proto3,oneof"` -} - -type GrpcService_GoogleGrpc_ChannelCredentials_LocalCredentials struct { - LocalCredentials *GrpcService_GoogleGrpc_GoogleLocalCredentials `protobuf:"bytes,3,opt,name=local_credentials,json=localCredentials,proto3,oneof"` -} - -func (*GrpcService_GoogleGrpc_ChannelCredentials_SslCredentials) isGrpcService_GoogleGrpc_ChannelCredentials_CredentialSpecifier() { -} - -func (*GrpcService_GoogleGrpc_ChannelCredentials_GoogleDefault) isGrpcService_GoogleGrpc_ChannelCredentials_CredentialSpecifier() { -} - -func (*GrpcService_GoogleGrpc_ChannelCredentials_LocalCredentials) isGrpcService_GoogleGrpc_ChannelCredentials_CredentialSpecifier() { -} - -func (m *GrpcService_GoogleGrpc_ChannelCredentials) GetCredentialSpecifier() isGrpcService_GoogleGrpc_ChannelCredentials_CredentialSpecifier { - if m != nil { - return m.CredentialSpecifier - } - return nil -} - -func (m *GrpcService_GoogleGrpc_ChannelCredentials) GetSslCredentials() *GrpcService_GoogleGrpc_SslCredentials { - if x, ok := m.GetCredentialSpecifier().(*GrpcService_GoogleGrpc_ChannelCredentials_SslCredentials); ok { - return x.SslCredentials - } - return nil -} - -func (m *GrpcService_GoogleGrpc_ChannelCredentials) GetGoogleDefault() *empty.Empty { - if x, ok := m.GetCredentialSpecifier().(*GrpcService_GoogleGrpc_ChannelCredentials_GoogleDefault); ok { - return x.GoogleDefault - } - return nil -} - -func (m *GrpcService_GoogleGrpc_ChannelCredentials) GetLocalCredentials() *GrpcService_GoogleGrpc_GoogleLocalCredentials { - if x, ok := m.GetCredentialSpecifier().(*GrpcService_GoogleGrpc_ChannelCredentials_LocalCredentials); ok { - return x.LocalCredentials - } - return nil -} - -// XXX_OneofFuncs is for the internal use of the proto package. -func (*GrpcService_GoogleGrpc_ChannelCredentials) 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 _GrpcService_GoogleGrpc_ChannelCredentials_OneofMarshaler, _GrpcService_GoogleGrpc_ChannelCredentials_OneofUnmarshaler, _GrpcService_GoogleGrpc_ChannelCredentials_OneofSizer, []interface{}{ - (*GrpcService_GoogleGrpc_ChannelCredentials_SslCredentials)(nil), - (*GrpcService_GoogleGrpc_ChannelCredentials_GoogleDefault)(nil), - (*GrpcService_GoogleGrpc_ChannelCredentials_LocalCredentials)(nil), - } -} - -func _GrpcService_GoogleGrpc_ChannelCredentials_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*GrpcService_GoogleGrpc_ChannelCredentials) - // credential_specifier - switch x := m.CredentialSpecifier.(type) { - case *GrpcService_GoogleGrpc_ChannelCredentials_SslCredentials: - b.EncodeVarint(1<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.SslCredentials); err != nil { - return err - } - case *GrpcService_GoogleGrpc_ChannelCredentials_GoogleDefault: - b.EncodeVarint(2<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.GoogleDefault); err != nil { - return err - } - case *GrpcService_GoogleGrpc_ChannelCredentials_LocalCredentials: - b.EncodeVarint(3<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.LocalCredentials); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("GrpcService_GoogleGrpc_ChannelCredentials.CredentialSpecifier has unexpected type %T", x) - } - return nil -} - -func _GrpcService_GoogleGrpc_ChannelCredentials_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*GrpcService_GoogleGrpc_ChannelCredentials) - switch tag { - case 1: // credential_specifier.ssl_credentials - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(GrpcService_GoogleGrpc_SslCredentials) - err := b.DecodeMessage(msg) - m.CredentialSpecifier = &GrpcService_GoogleGrpc_ChannelCredentials_SslCredentials{msg} - return true, err - case 2: // credential_specifier.google_default - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(empty.Empty) - err := b.DecodeMessage(msg) - m.CredentialSpecifier = &GrpcService_GoogleGrpc_ChannelCredentials_GoogleDefault{msg} - return true, err - case 3: // credential_specifier.local_credentials - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(GrpcService_GoogleGrpc_GoogleLocalCredentials) - err := b.DecodeMessage(msg) - m.CredentialSpecifier = &GrpcService_GoogleGrpc_ChannelCredentials_LocalCredentials{msg} - return true, err - default: - return false, nil - } -} - -func _GrpcService_GoogleGrpc_ChannelCredentials_OneofSizer(msg proto.Message) (n int) { - m := msg.(*GrpcService_GoogleGrpc_ChannelCredentials) - // credential_specifier - switch x := m.CredentialSpecifier.(type) { - case *GrpcService_GoogleGrpc_ChannelCredentials_SslCredentials: - s := proto.Size(x.SslCredentials) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *GrpcService_GoogleGrpc_ChannelCredentials_GoogleDefault: - s := proto.Size(x.GoogleDefault) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *GrpcService_GoogleGrpc_ChannelCredentials_LocalCredentials: - s := proto.Size(x.LocalCredentials) - 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 GrpcService_GoogleGrpc_CallCredentials struct { - // Types that are valid to be assigned to CredentialSpecifier: - // *GrpcService_GoogleGrpc_CallCredentials_AccessToken - // *GrpcService_GoogleGrpc_CallCredentials_GoogleComputeEngine - // *GrpcService_GoogleGrpc_CallCredentials_GoogleRefreshToken - // *GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJwtAccess - // *GrpcService_GoogleGrpc_CallCredentials_GoogleIam - // *GrpcService_GoogleGrpc_CallCredentials_FromPlugin - CredentialSpecifier isGrpcService_GoogleGrpc_CallCredentials_CredentialSpecifier `protobuf_oneof:"credential_specifier"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GrpcService_GoogleGrpc_CallCredentials) Reset() { - *m = GrpcService_GoogleGrpc_CallCredentials{} -} -func (m *GrpcService_GoogleGrpc_CallCredentials) String() string { return proto.CompactTextString(m) } -func (*GrpcService_GoogleGrpc_CallCredentials) ProtoMessage() {} -func (*GrpcService_GoogleGrpc_CallCredentials) Descriptor() ([]byte, []int) { - return fileDescriptor_grpc_service_b85549433708d753, []int{0, 1, 3} -} -func (m *GrpcService_GoogleGrpc_CallCredentials) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GrpcService_GoogleGrpc_CallCredentials.Unmarshal(m, b) -} -func (m *GrpcService_GoogleGrpc_CallCredentials) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GrpcService_GoogleGrpc_CallCredentials.Marshal(b, m, deterministic) -} -func (dst *GrpcService_GoogleGrpc_CallCredentials) XXX_Merge(src proto.Message) { - xxx_messageInfo_GrpcService_GoogleGrpc_CallCredentials.Merge(dst, src) -} -func (m *GrpcService_GoogleGrpc_CallCredentials) XXX_Size() int { - return xxx_messageInfo_GrpcService_GoogleGrpc_CallCredentials.Size(m) -} -func (m *GrpcService_GoogleGrpc_CallCredentials) XXX_DiscardUnknown() { - xxx_messageInfo_GrpcService_GoogleGrpc_CallCredentials.DiscardUnknown(m) -} - -var xxx_messageInfo_GrpcService_GoogleGrpc_CallCredentials proto.InternalMessageInfo - -type isGrpcService_GoogleGrpc_CallCredentials_CredentialSpecifier interface { - isGrpcService_GoogleGrpc_CallCredentials_CredentialSpecifier() -} - -type GrpcService_GoogleGrpc_CallCredentials_AccessToken struct { - AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3,oneof"` -} - -type GrpcService_GoogleGrpc_CallCredentials_GoogleComputeEngine struct { - GoogleComputeEngine *empty.Empty `protobuf:"bytes,2,opt,name=google_compute_engine,json=googleComputeEngine,proto3,oneof"` -} - -type GrpcService_GoogleGrpc_CallCredentials_GoogleRefreshToken struct { - GoogleRefreshToken string `protobuf:"bytes,3,opt,name=google_refresh_token,json=googleRefreshToken,proto3,oneof"` -} - -type GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJwtAccess struct { - ServiceAccountJwtAccess *GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials `protobuf:"bytes,4,opt,name=service_account_jwt_access,json=serviceAccountJwtAccess,proto3,oneof"` -} - -type GrpcService_GoogleGrpc_CallCredentials_GoogleIam struct { - GoogleIam *GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials `protobuf:"bytes,5,opt,name=google_iam,json=googleIam,proto3,oneof"` -} - -type GrpcService_GoogleGrpc_CallCredentials_FromPlugin struct { - FromPlugin *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin `protobuf:"bytes,6,opt,name=from_plugin,json=fromPlugin,proto3,oneof"` -} - -func (*GrpcService_GoogleGrpc_CallCredentials_AccessToken) isGrpcService_GoogleGrpc_CallCredentials_CredentialSpecifier() { -} - -func (*GrpcService_GoogleGrpc_CallCredentials_GoogleComputeEngine) isGrpcService_GoogleGrpc_CallCredentials_CredentialSpecifier() { -} - -func (*GrpcService_GoogleGrpc_CallCredentials_GoogleRefreshToken) isGrpcService_GoogleGrpc_CallCredentials_CredentialSpecifier() { -} - -func (*GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJwtAccess) isGrpcService_GoogleGrpc_CallCredentials_CredentialSpecifier() { -} - -func (*GrpcService_GoogleGrpc_CallCredentials_GoogleIam) isGrpcService_GoogleGrpc_CallCredentials_CredentialSpecifier() { -} - -func (*GrpcService_GoogleGrpc_CallCredentials_FromPlugin) isGrpcService_GoogleGrpc_CallCredentials_CredentialSpecifier() { -} - -func (m *GrpcService_GoogleGrpc_CallCredentials) GetCredentialSpecifier() isGrpcService_GoogleGrpc_CallCredentials_CredentialSpecifier { - if m != nil { - return m.CredentialSpecifier - } - return nil -} - -func (m *GrpcService_GoogleGrpc_CallCredentials) GetAccessToken() string { - if x, ok := m.GetCredentialSpecifier().(*GrpcService_GoogleGrpc_CallCredentials_AccessToken); ok { - return x.AccessToken - } - return "" -} - -func (m *GrpcService_GoogleGrpc_CallCredentials) GetGoogleComputeEngine() *empty.Empty { - if x, ok := m.GetCredentialSpecifier().(*GrpcService_GoogleGrpc_CallCredentials_GoogleComputeEngine); ok { - return x.GoogleComputeEngine - } - return nil -} - -func (m *GrpcService_GoogleGrpc_CallCredentials) GetGoogleRefreshToken() string { - if x, ok := m.GetCredentialSpecifier().(*GrpcService_GoogleGrpc_CallCredentials_GoogleRefreshToken); ok { - return x.GoogleRefreshToken - } - return "" -} - -func (m *GrpcService_GoogleGrpc_CallCredentials) GetServiceAccountJwtAccess() *GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials { - if x, ok := m.GetCredentialSpecifier().(*GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJwtAccess); ok { - return x.ServiceAccountJwtAccess - } - return nil -} - -func (m *GrpcService_GoogleGrpc_CallCredentials) GetGoogleIam() *GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials { - if x, ok := m.GetCredentialSpecifier().(*GrpcService_GoogleGrpc_CallCredentials_GoogleIam); ok { - return x.GoogleIam - } - return nil -} - -func (m *GrpcService_GoogleGrpc_CallCredentials) GetFromPlugin() *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin { - if x, ok := m.GetCredentialSpecifier().(*GrpcService_GoogleGrpc_CallCredentials_FromPlugin); ok { - return x.FromPlugin - } - return nil -} - -// XXX_OneofFuncs is for the internal use of the proto package. -func (*GrpcService_GoogleGrpc_CallCredentials) 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 _GrpcService_GoogleGrpc_CallCredentials_OneofMarshaler, _GrpcService_GoogleGrpc_CallCredentials_OneofUnmarshaler, _GrpcService_GoogleGrpc_CallCredentials_OneofSizer, []interface{}{ - (*GrpcService_GoogleGrpc_CallCredentials_AccessToken)(nil), - (*GrpcService_GoogleGrpc_CallCredentials_GoogleComputeEngine)(nil), - (*GrpcService_GoogleGrpc_CallCredentials_GoogleRefreshToken)(nil), - (*GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJwtAccess)(nil), - (*GrpcService_GoogleGrpc_CallCredentials_GoogleIam)(nil), - (*GrpcService_GoogleGrpc_CallCredentials_FromPlugin)(nil), - } -} - -func _GrpcService_GoogleGrpc_CallCredentials_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*GrpcService_GoogleGrpc_CallCredentials) - // credential_specifier - switch x := m.CredentialSpecifier.(type) { - case *GrpcService_GoogleGrpc_CallCredentials_AccessToken: - b.EncodeVarint(1<<3 | proto.WireBytes) - b.EncodeStringBytes(x.AccessToken) - case *GrpcService_GoogleGrpc_CallCredentials_GoogleComputeEngine: - b.EncodeVarint(2<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.GoogleComputeEngine); err != nil { - return err - } - case *GrpcService_GoogleGrpc_CallCredentials_GoogleRefreshToken: - b.EncodeVarint(3<<3 | proto.WireBytes) - b.EncodeStringBytes(x.GoogleRefreshToken) - case *GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJwtAccess: - b.EncodeVarint(4<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.ServiceAccountJwtAccess); err != nil { - return err - } - case *GrpcService_GoogleGrpc_CallCredentials_GoogleIam: - b.EncodeVarint(5<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.GoogleIam); err != nil { - return err - } - case *GrpcService_GoogleGrpc_CallCredentials_FromPlugin: - b.EncodeVarint(6<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.FromPlugin); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("GrpcService_GoogleGrpc_CallCredentials.CredentialSpecifier has unexpected type %T", x) - } - return nil -} - -func _GrpcService_GoogleGrpc_CallCredentials_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*GrpcService_GoogleGrpc_CallCredentials) - switch tag { - case 1: // credential_specifier.access_token - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.CredentialSpecifier = &GrpcService_GoogleGrpc_CallCredentials_AccessToken{x} - return true, err - case 2: // credential_specifier.google_compute_engine - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(empty.Empty) - err := b.DecodeMessage(msg) - m.CredentialSpecifier = &GrpcService_GoogleGrpc_CallCredentials_GoogleComputeEngine{msg} - return true, err - case 3: // credential_specifier.google_refresh_token - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.CredentialSpecifier = &GrpcService_GoogleGrpc_CallCredentials_GoogleRefreshToken{x} - return true, err - case 4: // credential_specifier.service_account_jwt_access - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) - err := b.DecodeMessage(msg) - m.CredentialSpecifier = &GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJwtAccess{msg} - return true, err - case 5: // credential_specifier.google_iam - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) - err := b.DecodeMessage(msg) - m.CredentialSpecifier = &GrpcService_GoogleGrpc_CallCredentials_GoogleIam{msg} - return true, err - case 6: // credential_specifier.from_plugin - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) - err := b.DecodeMessage(msg) - m.CredentialSpecifier = &GrpcService_GoogleGrpc_CallCredentials_FromPlugin{msg} - return true, err - default: - return false, nil - } -} - -func _GrpcService_GoogleGrpc_CallCredentials_OneofSizer(msg proto.Message) (n int) { - m := msg.(*GrpcService_GoogleGrpc_CallCredentials) - // credential_specifier - switch x := m.CredentialSpecifier.(type) { - case *GrpcService_GoogleGrpc_CallCredentials_AccessToken: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.AccessToken))) - n += len(x.AccessToken) - case *GrpcService_GoogleGrpc_CallCredentials_GoogleComputeEngine: - s := proto.Size(x.GoogleComputeEngine) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *GrpcService_GoogleGrpc_CallCredentials_GoogleRefreshToken: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.GoogleRefreshToken))) - n += len(x.GoogleRefreshToken) - case *GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJwtAccess: - s := proto.Size(x.ServiceAccountJwtAccess) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *GrpcService_GoogleGrpc_CallCredentials_GoogleIam: - s := proto.Size(x.GoogleIam) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *GrpcService_GoogleGrpc_CallCredentials_FromPlugin: - s := proto.Size(x.FromPlugin) - 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 GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials struct { - JsonKey string `protobuf:"bytes,1,opt,name=json_key,json=jsonKey,proto3" json:"json_key,omitempty"` - TokenLifetimeSeconds uint64 `protobuf:"varint,2,opt,name=token_lifetime_seconds,json=tokenLifetimeSeconds,proto3" json:"token_lifetime_seconds,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) Reset() { - *m = GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials{} -} -func (m *GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) String() string { - return proto.CompactTextString(m) -} -func (*GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) ProtoMessage() {} -func (*GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) Descriptor() ([]byte, []int) { - return fileDescriptor_grpc_service_b85549433708d753, []int{0, 1, 3, 0} -} -func (m *GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials.Unmarshal(m, b) -} -func (m *GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials.Marshal(b, m, deterministic) -} -func (dst *GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) XXX_Merge(src proto.Message) { - xxx_messageInfo_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials.Merge(dst, src) -} -func (m *GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) XXX_Size() int { - return xxx_messageInfo_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials.Size(m) -} -func (m *GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) XXX_DiscardUnknown() { - xxx_messageInfo_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials.DiscardUnknown(m) -} - -var xxx_messageInfo_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials proto.InternalMessageInfo - -func (m *GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) GetJsonKey() string { - if m != nil { - return m.JsonKey - } - return "" -} - -func (m *GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials) GetTokenLifetimeSeconds() uint64 { - if m != nil { - return m.TokenLifetimeSeconds - } - return 0 -} - -type GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials struct { - AuthorizationToken string `protobuf:"bytes,1,opt,name=authorization_token,json=authorizationToken,proto3" json:"authorization_token,omitempty"` - AuthoritySelector string `protobuf:"bytes,2,opt,name=authority_selector,json=authoritySelector,proto3" json:"authority_selector,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) Reset() { - *m = GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials{} -} -func (m *GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) String() string { - return proto.CompactTextString(m) -} -func (*GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) ProtoMessage() {} -func (*GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) Descriptor() ([]byte, []int) { - return fileDescriptor_grpc_service_b85549433708d753, []int{0, 1, 3, 1} -} -func (m *GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials.Unmarshal(m, b) -} -func (m *GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials.Marshal(b, m, deterministic) -} -func (dst *GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) XXX_Merge(src proto.Message) { - xxx_messageInfo_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials.Merge(dst, src) -} -func (m *GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) XXX_Size() int { - return xxx_messageInfo_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials.Size(m) -} -func (m *GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) XXX_DiscardUnknown() { - xxx_messageInfo_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials.DiscardUnknown(m) -} - -var xxx_messageInfo_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials proto.InternalMessageInfo - -func (m *GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) GetAuthorizationToken() string { - if m != nil { - return m.AuthorizationToken - } - return "" -} - -func (m *GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials) GetAuthoritySelector() string { - if m != nil { - return m.AuthoritySelector - } - return "" -} - -type GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Types that are valid to be assigned to ConfigType: - // *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_Config - // *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_TypedConfig - ConfigType isGrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_ConfigType `protobuf_oneof:"config_type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) Reset() { - *m = GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin{} -} -func (m *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) String() string { - return proto.CompactTextString(m) -} -func (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) ProtoMessage() {} -func (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) Descriptor() ([]byte, []int) { - return fileDescriptor_grpc_service_b85549433708d753, []int{0, 1, 3, 2} -} -func (m *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin.Unmarshal(m, b) -} -func (m *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin.Marshal(b, m, deterministic) -} -func (dst *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) XXX_Merge(src proto.Message) { - xxx_messageInfo_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin.Merge(dst, src) -} -func (m *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) XXX_Size() int { - return xxx_messageInfo_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin.Size(m) -} -func (m *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) XXX_DiscardUnknown() { - xxx_messageInfo_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin.DiscardUnknown(m) -} - -var xxx_messageInfo_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin proto.InternalMessageInfo - -func (m *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -type isGrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_ConfigType interface { - isGrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_ConfigType() -} - -type GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_Config struct { - Config *_struct.Struct `protobuf:"bytes,2,opt,name=config,proto3,oneof"` -} - -type GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_TypedConfig struct { - TypedConfig *any.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof"` -} - -func (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_Config) isGrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_ConfigType() { -} - -func (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_TypedConfig) isGrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_ConfigType() { -} - -func (m *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) GetConfigType() isGrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_ConfigType { - if m != nil { - return m.ConfigType - } - return nil -} - -func (m *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) GetConfig() *_struct.Struct { - if x, ok := m.GetConfigType().(*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_Config); ok { - return x.Config - } - return nil -} - -func (m *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) GetTypedConfig() *any.Any { - if x, ok := m.GetConfigType().(*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_TypedConfig); ok { - return x.TypedConfig - } - return nil -} - -// XXX_OneofFuncs is for the internal use of the proto package. -func (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) 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 _GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_OneofMarshaler, _GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_OneofUnmarshaler, _GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_OneofSizer, []interface{}{ - (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_Config)(nil), - (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_TypedConfig)(nil), - } -} - -func _GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) - // config_type - switch x := m.ConfigType.(type) { - case *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_Config: - b.EncodeVarint(2<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Config); err != nil { - return err - } - case *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_TypedConfig: - b.EncodeVarint(3<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.TypedConfig); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin.ConfigType has unexpected type %T", x) - } - return nil -} - -func _GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) - switch tag { - case 2: // config_type.config - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(_struct.Struct) - err := b.DecodeMessage(msg) - m.ConfigType = &GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_Config{msg} - return true, err - case 3: // config_type.typed_config - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(any.Any) - err := b.DecodeMessage(msg) - m.ConfigType = &GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_TypedConfig{msg} - return true, err - default: - return false, nil - } -} - -func _GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_OneofSizer(msg proto.Message) (n int) { - m := msg.(*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin) - // config_type - switch x := m.ConfigType.(type) { - case *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_Config: - s := proto.Size(x.Config) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_TypedConfig: - s := proto.Size(x.TypedConfig) - 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((*GrpcService)(nil), "envoy.api.v2.core.GrpcService") - proto.RegisterType((*GrpcService_EnvoyGrpc)(nil), "envoy.api.v2.core.GrpcService.EnvoyGrpc") - proto.RegisterType((*GrpcService_GoogleGrpc)(nil), "envoy.api.v2.core.GrpcService.GoogleGrpc") - proto.RegisterType((*GrpcService_GoogleGrpc_SslCredentials)(nil), "envoy.api.v2.core.GrpcService.GoogleGrpc.SslCredentials") - proto.RegisterType((*GrpcService_GoogleGrpc_GoogleLocalCredentials)(nil), "envoy.api.v2.core.GrpcService.GoogleGrpc.GoogleLocalCredentials") - proto.RegisterType((*GrpcService_GoogleGrpc_ChannelCredentials)(nil), "envoy.api.v2.core.GrpcService.GoogleGrpc.ChannelCredentials") - proto.RegisterType((*GrpcService_GoogleGrpc_CallCredentials)(nil), "envoy.api.v2.core.GrpcService.GoogleGrpc.CallCredentials") - proto.RegisterType((*GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials)(nil), "envoy.api.v2.core.GrpcService.GoogleGrpc.CallCredentials.ServiceAccountJWTAccessCredentials") - proto.RegisterType((*GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials)(nil), "envoy.api.v2.core.GrpcService.GoogleGrpc.CallCredentials.GoogleIAMCredentials") - proto.RegisterType((*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin)(nil), "envoy.api.v2.core.GrpcService.GoogleGrpc.CallCredentials.MetadataCredentialsFromPlugin") -} - -func init() { - proto.RegisterFile("envoy/api/v2/core/grpc_service.proto", fileDescriptor_grpc_service_b85549433708d753) -} - -var fileDescriptor_grpc_service_b85549433708d753 = []byte{ - // 1052 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0x4f, 0x6f, 0x1b, 0x45, - 0x14, 0xb7, 0x63, 0xa7, 0xad, 0xdf, 0xa6, 0x89, 0x33, 0x09, 0x89, 0xb3, 0x34, 0x25, 0x2a, 0x1c, - 0x02, 0x82, 0xb5, 0x70, 0x41, 0x6a, 0xa4, 0x0a, 0x88, 0x9d, 0xb4, 0x4e, 0x49, 0xab, 0x68, 0x5d, - 0xe8, 0x05, 0x69, 0x34, 0x19, 0x8f, 0x9d, 0x69, 0xd7, 0x3b, 0xab, 0xd9, 0x59, 0xb7, 0xee, 0x99, - 0x6f, 0xc1, 0x97, 0xe0, 0x88, 0x38, 0xf5, 0x8c, 0xf8, 0x0e, 0x5c, 0xb8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, 0xae, 0xcd, 0xdb, 0xe0, 0x59, 0x12, - 0xd6, 0xd6, 0x39, 0x6b, 0xa0, 0xb9, 0x05, 0x55, 0xf7, 0xa4, 0x4f, 0x43, 0x4f, 0xca, 0xb7, 0xca, - 0xd5, 0xc5, 0xe6, 0xb7, 0xf0, 0x09, 0x17, 0x76, 0x98, 0x12, 0x29, 0xde, 0x8c, 0x66, 0xe7, 0xaa, - 0x59, 0x9d, 0x18, 0xac, 0x13, 0x5d, 0xd9, 0x49, 0xf1, 0xf4, 0x86, 0x29, 0xf1, 0xfe, 0x7f, 0x01, - 0x00, 0x00, 0xff, 0xff, 0x5c, 0x77, 0x13, 0x9a, 0x8c, 0x0a, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/health_check/health_check.pb.go b/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/health_check/health_check.pb.go deleted file mode 100755 index 4a2f5086..00000000 --- a/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/health_check/health_check.pb.go +++ /dev/null @@ -1,1007 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: envoy/api/v2/core/health_check.proto - -package envoy_api_v2_core - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import any "github.com/golang/protobuf/ptypes/any" -import duration "github.com/golang/protobuf/ptypes/duration" -import _struct "github.com/golang/protobuf/ptypes/struct" -import wrappers "github.com/golang/protobuf/ptypes/wrappers" -import base "google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/base" -import _range "google.golang.org/grpc/xds/internal/proto/envoy/type/range" -import _ "google.golang.org/grpc/xds/internal/proto/validate" - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation 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 HealthStatus int32 - -const ( - HealthStatus_UNKNOWN HealthStatus = 0 - HealthStatus_HEALTHY HealthStatus = 1 - HealthStatus_UNHEALTHY HealthStatus = 2 - HealthStatus_DRAINING HealthStatus = 3 - HealthStatus_TIMEOUT HealthStatus = 4 - HealthStatus_DEGRADED HealthStatus = 5 -) - -var HealthStatus_name = map[int32]string{ - 0: "UNKNOWN", - 1: "HEALTHY", - 2: "UNHEALTHY", - 3: "DRAINING", - 4: "TIMEOUT", - 5: "DEGRADED", -} -var HealthStatus_value = map[string]int32{ - "UNKNOWN": 0, - "HEALTHY": 1, - "UNHEALTHY": 2, - "DRAINING": 3, - "TIMEOUT": 4, - "DEGRADED": 5, -} - -func (x HealthStatus) String() string { - return proto.EnumName(HealthStatus_name, int32(x)) -} -func (HealthStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_health_check_0d3155ea06758d89, []int{0} -} - -type HealthCheck struct { - Timeout *duration.Duration `protobuf:"bytes,1,opt,name=timeout,proto3" json:"timeout,omitempty"` - Interval *duration.Duration `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"` - InitialJitter *duration.Duration `protobuf:"bytes,20,opt,name=initial_jitter,json=initialJitter,proto3" json:"initial_jitter,omitempty"` - IntervalJitter *duration.Duration `protobuf:"bytes,3,opt,name=interval_jitter,json=intervalJitter,proto3" json:"interval_jitter,omitempty"` - IntervalJitterPercent uint32 `protobuf:"varint,18,opt,name=interval_jitter_percent,json=intervalJitterPercent,proto3" json:"interval_jitter_percent,omitempty"` - UnhealthyThreshold *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=unhealthy_threshold,json=unhealthyThreshold,proto3" json:"unhealthy_threshold,omitempty"` - HealthyThreshold *wrappers.UInt32Value `protobuf:"bytes,5,opt,name=healthy_threshold,json=healthyThreshold,proto3" json:"healthy_threshold,omitempty"` - AltPort *wrappers.UInt32Value `protobuf:"bytes,6,opt,name=alt_port,json=altPort,proto3" json:"alt_port,omitempty"` - ReuseConnection *wrappers.BoolValue `protobuf:"bytes,7,opt,name=reuse_connection,json=reuseConnection,proto3" json:"reuse_connection,omitempty"` - // Types that are valid to be assigned to HealthChecker: - // *HealthCheck_HttpHealthCheck_ - // *HealthCheck_TcpHealthCheck_ - // *HealthCheck_GrpcHealthCheck_ - // *HealthCheck_CustomHealthCheck_ - HealthChecker isHealthCheck_HealthChecker `protobuf_oneof:"health_checker"` - NoTrafficInterval *duration.Duration `protobuf:"bytes,12,opt,name=no_traffic_interval,json=noTrafficInterval,proto3" json:"no_traffic_interval,omitempty"` - UnhealthyInterval *duration.Duration `protobuf:"bytes,14,opt,name=unhealthy_interval,json=unhealthyInterval,proto3" json:"unhealthy_interval,omitempty"` - UnhealthyEdgeInterval *duration.Duration `protobuf:"bytes,15,opt,name=unhealthy_edge_interval,json=unhealthyEdgeInterval,proto3" json:"unhealthy_edge_interval,omitempty"` - HealthyEdgeInterval *duration.Duration `protobuf:"bytes,16,opt,name=healthy_edge_interval,json=healthyEdgeInterval,proto3" json:"healthy_edge_interval,omitempty"` - EventLogPath string `protobuf:"bytes,17,opt,name=event_log_path,json=eventLogPath,proto3" json:"event_log_path,omitempty"` - AlwaysLogHealthCheckFailures bool `protobuf:"varint,19,opt,name=always_log_health_check_failures,json=alwaysLogHealthCheckFailures,proto3" json:"always_log_health_check_failures,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_health_check_0d3155ea06758d89, []int{0} -} -func (m *HealthCheck) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HealthCheck.Unmarshal(m, b) -} -func (m *HealthCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HealthCheck.Marshal(b, m, deterministic) -} -func (dst *HealthCheck) XXX_Merge(src proto.Message) { - xxx_messageInfo_HealthCheck.Merge(dst, src) -} -func (m *HealthCheck) XXX_Size() int { - return xxx_messageInfo_HealthCheck.Size(m) -} -func (m *HealthCheck) XXX_DiscardUnknown() { - xxx_messageInfo_HealthCheck.DiscardUnknown(m) -} - -var xxx_messageInfo_HealthCheck proto.InternalMessageInfo - -func (m *HealthCheck) GetTimeout() *duration.Duration { - if m != nil { - return m.Timeout - } - return nil -} - -func (m *HealthCheck) GetInterval() *duration.Duration { - if m != nil { - return m.Interval - } - return nil -} - -func (m *HealthCheck) GetInitialJitter() *duration.Duration { - if m != nil { - return m.InitialJitter - } - return nil -} - -func (m *HealthCheck) GetIntervalJitter() *duration.Duration { - if m != nil { - return m.IntervalJitter - } - return nil -} - -func (m *HealthCheck) GetIntervalJitterPercent() uint32 { - if m != nil { - return m.IntervalJitterPercent - } - return 0 -} - -func (m *HealthCheck) GetUnhealthyThreshold() *wrappers.UInt32Value { - if m != nil { - return m.UnhealthyThreshold - } - return nil -} - -func (m *HealthCheck) GetHealthyThreshold() *wrappers.UInt32Value { - if m != nil { - return m.HealthyThreshold - } - return nil -} - -func (m *HealthCheck) GetAltPort() *wrappers.UInt32Value { - if m != nil { - return m.AltPort - } - return nil -} - -func (m *HealthCheck) GetReuseConnection() *wrappers.BoolValue { - if m != nil { - return m.ReuseConnection - } - return nil -} - -type isHealthCheck_HealthChecker interface { - isHealthCheck_HealthChecker() -} - -type HealthCheck_HttpHealthCheck_ struct { - HttpHealthCheck *HealthCheck_HttpHealthCheck `protobuf:"bytes,8,opt,name=http_health_check,json=httpHealthCheck,proto3,oneof"` -} - -type HealthCheck_TcpHealthCheck_ struct { - TcpHealthCheck *HealthCheck_TcpHealthCheck `protobuf:"bytes,9,opt,name=tcp_health_check,json=tcpHealthCheck,proto3,oneof"` -} - -type HealthCheck_GrpcHealthCheck_ struct { - GrpcHealthCheck *HealthCheck_GrpcHealthCheck `protobuf:"bytes,11,opt,name=grpc_health_check,json=grpcHealthCheck,proto3,oneof"` -} - -type HealthCheck_CustomHealthCheck_ struct { - CustomHealthCheck *HealthCheck_CustomHealthCheck `protobuf:"bytes,13,opt,name=custom_health_check,json=customHealthCheck,proto3,oneof"` -} - -func (*HealthCheck_HttpHealthCheck_) isHealthCheck_HealthChecker() {} - -func (*HealthCheck_TcpHealthCheck_) isHealthCheck_HealthChecker() {} - -func (*HealthCheck_GrpcHealthCheck_) isHealthCheck_HealthChecker() {} - -func (*HealthCheck_CustomHealthCheck_) isHealthCheck_HealthChecker() {} - -func (m *HealthCheck) GetHealthChecker() isHealthCheck_HealthChecker { - if m != nil { - return m.HealthChecker - } - return nil -} - -func (m *HealthCheck) GetHttpHealthCheck() *HealthCheck_HttpHealthCheck { - if x, ok := m.GetHealthChecker().(*HealthCheck_HttpHealthCheck_); ok { - return x.HttpHealthCheck - } - return nil -} - -func (m *HealthCheck) GetTcpHealthCheck() *HealthCheck_TcpHealthCheck { - if x, ok := m.GetHealthChecker().(*HealthCheck_TcpHealthCheck_); ok { - return x.TcpHealthCheck - } - return nil -} - -func (m *HealthCheck) GetGrpcHealthCheck() *HealthCheck_GrpcHealthCheck { - if x, ok := m.GetHealthChecker().(*HealthCheck_GrpcHealthCheck_); ok { - return x.GrpcHealthCheck - } - return nil -} - -func (m *HealthCheck) GetCustomHealthCheck() *HealthCheck_CustomHealthCheck { - if x, ok := m.GetHealthChecker().(*HealthCheck_CustomHealthCheck_); ok { - return x.CustomHealthCheck - } - return nil -} - -func (m *HealthCheck) GetNoTrafficInterval() *duration.Duration { - if m != nil { - return m.NoTrafficInterval - } - return nil -} - -func (m *HealthCheck) GetUnhealthyInterval() *duration.Duration { - if m != nil { - return m.UnhealthyInterval - } - return nil -} - -func (m *HealthCheck) GetUnhealthyEdgeInterval() *duration.Duration { - if m != nil { - return m.UnhealthyEdgeInterval - } - return nil -} - -func (m *HealthCheck) GetHealthyEdgeInterval() *duration.Duration { - if m != nil { - return m.HealthyEdgeInterval - } - return nil -} - -func (m *HealthCheck) GetEventLogPath() string { - if m != nil { - return m.EventLogPath - } - return "" -} - -func (m *HealthCheck) GetAlwaysLogHealthCheckFailures() bool { - if m != nil { - return m.AlwaysLogHealthCheckFailures - } - return false -} - -// XXX_OneofFuncs is for the internal use of the proto package. -func (*HealthCheck) 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 _HealthCheck_OneofMarshaler, _HealthCheck_OneofUnmarshaler, _HealthCheck_OneofSizer, []interface{}{ - (*HealthCheck_HttpHealthCheck_)(nil), - (*HealthCheck_TcpHealthCheck_)(nil), - (*HealthCheck_GrpcHealthCheck_)(nil), - (*HealthCheck_CustomHealthCheck_)(nil), - } -} - -func _HealthCheck_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*HealthCheck) - // health_checker - switch x := m.HealthChecker.(type) { - case *HealthCheck_HttpHealthCheck_: - b.EncodeVarint(8<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.HttpHealthCheck); err != nil { - return err - } - case *HealthCheck_TcpHealthCheck_: - b.EncodeVarint(9<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.TcpHealthCheck); err != nil { - return err - } - case *HealthCheck_GrpcHealthCheck_: - b.EncodeVarint(11<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.GrpcHealthCheck); err != nil { - return err - } - case *HealthCheck_CustomHealthCheck_: - b.EncodeVarint(13<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.CustomHealthCheck); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("HealthCheck.HealthChecker has unexpected type %T", x) - } - return nil -} - -func _HealthCheck_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*HealthCheck) - switch tag { - case 8: // health_checker.http_health_check - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(HealthCheck_HttpHealthCheck) - err := b.DecodeMessage(msg) - m.HealthChecker = &HealthCheck_HttpHealthCheck_{msg} - return true, err - case 9: // health_checker.tcp_health_check - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(HealthCheck_TcpHealthCheck) - err := b.DecodeMessage(msg) - m.HealthChecker = &HealthCheck_TcpHealthCheck_{msg} - return true, err - case 11: // health_checker.grpc_health_check - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(HealthCheck_GrpcHealthCheck) - err := b.DecodeMessage(msg) - m.HealthChecker = &HealthCheck_GrpcHealthCheck_{msg} - return true, err - case 13: // health_checker.custom_health_check - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(HealthCheck_CustomHealthCheck) - err := b.DecodeMessage(msg) - m.HealthChecker = &HealthCheck_CustomHealthCheck_{msg} - return true, err - default: - return false, nil - } -} - -func _HealthCheck_OneofSizer(msg proto.Message) (n int) { - m := msg.(*HealthCheck) - // health_checker - switch x := m.HealthChecker.(type) { - case *HealthCheck_HttpHealthCheck_: - s := proto.Size(x.HttpHealthCheck) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *HealthCheck_TcpHealthCheck_: - s := proto.Size(x.TcpHealthCheck) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *HealthCheck_GrpcHealthCheck_: - s := proto.Size(x.GrpcHealthCheck) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *HealthCheck_CustomHealthCheck_: - s := proto.Size(x.CustomHealthCheck) - 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 HealthCheck_Payload struct { - // Types that are valid to be assigned to Payload: - // *HealthCheck_Payload_Text - // *HealthCheck_Payload_Binary - Payload isHealthCheck_Payload_Payload `protobuf_oneof:"payload"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *HealthCheck_Payload) Reset() { *m = HealthCheck_Payload{} } -func (m *HealthCheck_Payload) String() string { return proto.CompactTextString(m) } -func (*HealthCheck_Payload) ProtoMessage() {} -func (*HealthCheck_Payload) Descriptor() ([]byte, []int) { - return fileDescriptor_health_check_0d3155ea06758d89, []int{0, 0} -} -func (m *HealthCheck_Payload) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HealthCheck_Payload.Unmarshal(m, b) -} -func (m *HealthCheck_Payload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HealthCheck_Payload.Marshal(b, m, deterministic) -} -func (dst *HealthCheck_Payload) XXX_Merge(src proto.Message) { - xxx_messageInfo_HealthCheck_Payload.Merge(dst, src) -} -func (m *HealthCheck_Payload) XXX_Size() int { - return xxx_messageInfo_HealthCheck_Payload.Size(m) -} -func (m *HealthCheck_Payload) XXX_DiscardUnknown() { - xxx_messageInfo_HealthCheck_Payload.DiscardUnknown(m) -} - -var xxx_messageInfo_HealthCheck_Payload proto.InternalMessageInfo - -type isHealthCheck_Payload_Payload interface { - isHealthCheck_Payload_Payload() -} - -type HealthCheck_Payload_Text struct { - Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"` -} - -type HealthCheck_Payload_Binary struct { - Binary []byte `protobuf:"bytes,2,opt,name=binary,proto3,oneof"` -} - -func (*HealthCheck_Payload_Text) isHealthCheck_Payload_Payload() {} - -func (*HealthCheck_Payload_Binary) isHealthCheck_Payload_Payload() {} - -func (m *HealthCheck_Payload) GetPayload() isHealthCheck_Payload_Payload { - if m != nil { - return m.Payload - } - return nil -} - -func (m *HealthCheck_Payload) GetText() string { - if x, ok := m.GetPayload().(*HealthCheck_Payload_Text); ok { - return x.Text - } - return "" -} - -func (m *HealthCheck_Payload) GetBinary() []byte { - if x, ok := m.GetPayload().(*HealthCheck_Payload_Binary); ok { - return x.Binary - } - return nil -} - -// XXX_OneofFuncs is for the internal use of the proto package. -func (*HealthCheck_Payload) 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 _HealthCheck_Payload_OneofMarshaler, _HealthCheck_Payload_OneofUnmarshaler, _HealthCheck_Payload_OneofSizer, []interface{}{ - (*HealthCheck_Payload_Text)(nil), - (*HealthCheck_Payload_Binary)(nil), - } -} - -func _HealthCheck_Payload_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*HealthCheck_Payload) - // payload - switch x := m.Payload.(type) { - case *HealthCheck_Payload_Text: - b.EncodeVarint(1<<3 | proto.WireBytes) - b.EncodeStringBytes(x.Text) - case *HealthCheck_Payload_Binary: - b.EncodeVarint(2<<3 | proto.WireBytes) - b.EncodeRawBytes(x.Binary) - case nil: - default: - return fmt.Errorf("HealthCheck_Payload.Payload has unexpected type %T", x) - } - return nil -} - -func _HealthCheck_Payload_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*HealthCheck_Payload) - switch tag { - case 1: // payload.text - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.Payload = &HealthCheck_Payload_Text{x} - return true, err - case 2: // payload.binary - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeRawBytes(true) - m.Payload = &HealthCheck_Payload_Binary{x} - return true, err - default: - return false, nil - } -} - -func _HealthCheck_Payload_OneofSizer(msg proto.Message) (n int) { - m := msg.(*HealthCheck_Payload) - // payload - switch x := m.Payload.(type) { - case *HealthCheck_Payload_Text: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.Text))) - n += len(x.Text) - case *HealthCheck_Payload_Binary: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.Binary))) - n += len(x.Binary) - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - -type HealthCheck_HttpHealthCheck struct { - Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` - Send *HealthCheck_Payload `protobuf:"bytes,3,opt,name=send,proto3" json:"send,omitempty"` - Receive *HealthCheck_Payload `protobuf:"bytes,4,opt,name=receive,proto3" json:"receive,omitempty"` - ServiceName string `protobuf:"bytes,5,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` - RequestHeadersToAdd []*base.HeaderValueOption `protobuf:"bytes,6,rep,name=request_headers_to_add,json=requestHeadersToAdd,proto3" json:"request_headers_to_add,omitempty"` - RequestHeadersToRemove []string `protobuf:"bytes,8,rep,name=request_headers_to_remove,json=requestHeadersToRemove,proto3" json:"request_headers_to_remove,omitempty"` - UseHttp2 bool `protobuf:"varint,7,opt,name=use_http2,json=useHttp2,proto3" json:"use_http2,omitempty"` - ExpectedStatuses []*_range.Int64Range `protobuf:"bytes,9,rep,name=expected_statuses,json=expectedStatuses,proto3" json:"expected_statuses,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *HealthCheck_HttpHealthCheck) Reset() { *m = HealthCheck_HttpHealthCheck{} } -func (m *HealthCheck_HttpHealthCheck) String() string { return proto.CompactTextString(m) } -func (*HealthCheck_HttpHealthCheck) ProtoMessage() {} -func (*HealthCheck_HttpHealthCheck) Descriptor() ([]byte, []int) { - return fileDescriptor_health_check_0d3155ea06758d89, []int{0, 1} -} -func (m *HealthCheck_HttpHealthCheck) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HealthCheck_HttpHealthCheck.Unmarshal(m, b) -} -func (m *HealthCheck_HttpHealthCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HealthCheck_HttpHealthCheck.Marshal(b, m, deterministic) -} -func (dst *HealthCheck_HttpHealthCheck) XXX_Merge(src proto.Message) { - xxx_messageInfo_HealthCheck_HttpHealthCheck.Merge(dst, src) -} -func (m *HealthCheck_HttpHealthCheck) XXX_Size() int { - return xxx_messageInfo_HealthCheck_HttpHealthCheck.Size(m) -} -func (m *HealthCheck_HttpHealthCheck) XXX_DiscardUnknown() { - xxx_messageInfo_HealthCheck_HttpHealthCheck.DiscardUnknown(m) -} - -var xxx_messageInfo_HealthCheck_HttpHealthCheck proto.InternalMessageInfo - -func (m *HealthCheck_HttpHealthCheck) GetHost() string { - if m != nil { - return m.Host - } - return "" -} - -func (m *HealthCheck_HttpHealthCheck) GetPath() string { - if m != nil { - return m.Path - } - return "" -} - -func (m *HealthCheck_HttpHealthCheck) GetSend() *HealthCheck_Payload { - if m != nil { - return m.Send - } - return nil -} - -func (m *HealthCheck_HttpHealthCheck) GetReceive() *HealthCheck_Payload { - if m != nil { - return m.Receive - } - return nil -} - -func (m *HealthCheck_HttpHealthCheck) GetServiceName() string { - if m != nil { - return m.ServiceName - } - return "" -} - -func (m *HealthCheck_HttpHealthCheck) GetRequestHeadersToAdd() []*base.HeaderValueOption { - if m != nil { - return m.RequestHeadersToAdd - } - return nil -} - -func (m *HealthCheck_HttpHealthCheck) GetRequestHeadersToRemove() []string { - if m != nil { - return m.RequestHeadersToRemove - } - return nil -} - -func (m *HealthCheck_HttpHealthCheck) GetUseHttp2() bool { - if m != nil { - return m.UseHttp2 - } - return false -} - -func (m *HealthCheck_HttpHealthCheck) GetExpectedStatuses() []*_range.Int64Range { - if m != nil { - return m.ExpectedStatuses - } - return nil -} - -type HealthCheck_TcpHealthCheck struct { - Send *HealthCheck_Payload `protobuf:"bytes,1,opt,name=send,proto3" json:"send,omitempty"` - Receive []*HealthCheck_Payload `protobuf:"bytes,2,rep,name=receive,proto3" json:"receive,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *HealthCheck_TcpHealthCheck) Reset() { *m = HealthCheck_TcpHealthCheck{} } -func (m *HealthCheck_TcpHealthCheck) String() string { return proto.CompactTextString(m) } -func (*HealthCheck_TcpHealthCheck) ProtoMessage() {} -func (*HealthCheck_TcpHealthCheck) Descriptor() ([]byte, []int) { - return fileDescriptor_health_check_0d3155ea06758d89, []int{0, 2} -} -func (m *HealthCheck_TcpHealthCheck) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HealthCheck_TcpHealthCheck.Unmarshal(m, b) -} -func (m *HealthCheck_TcpHealthCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HealthCheck_TcpHealthCheck.Marshal(b, m, deterministic) -} -func (dst *HealthCheck_TcpHealthCheck) XXX_Merge(src proto.Message) { - xxx_messageInfo_HealthCheck_TcpHealthCheck.Merge(dst, src) -} -func (m *HealthCheck_TcpHealthCheck) XXX_Size() int { - return xxx_messageInfo_HealthCheck_TcpHealthCheck.Size(m) -} -func (m *HealthCheck_TcpHealthCheck) XXX_DiscardUnknown() { - xxx_messageInfo_HealthCheck_TcpHealthCheck.DiscardUnknown(m) -} - -var xxx_messageInfo_HealthCheck_TcpHealthCheck proto.InternalMessageInfo - -func (m *HealthCheck_TcpHealthCheck) GetSend() *HealthCheck_Payload { - if m != nil { - return m.Send - } - return nil -} - -func (m *HealthCheck_TcpHealthCheck) GetReceive() []*HealthCheck_Payload { - if m != nil { - return m.Receive - } - return nil -} - -type HealthCheck_RedisHealthCheck struct { - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *HealthCheck_RedisHealthCheck) Reset() { *m = HealthCheck_RedisHealthCheck{} } -func (m *HealthCheck_RedisHealthCheck) String() string { return proto.CompactTextString(m) } -func (*HealthCheck_RedisHealthCheck) ProtoMessage() {} -func (*HealthCheck_RedisHealthCheck) Descriptor() ([]byte, []int) { - return fileDescriptor_health_check_0d3155ea06758d89, []int{0, 3} -} -func (m *HealthCheck_RedisHealthCheck) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HealthCheck_RedisHealthCheck.Unmarshal(m, b) -} -func (m *HealthCheck_RedisHealthCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HealthCheck_RedisHealthCheck.Marshal(b, m, deterministic) -} -func (dst *HealthCheck_RedisHealthCheck) XXX_Merge(src proto.Message) { - xxx_messageInfo_HealthCheck_RedisHealthCheck.Merge(dst, src) -} -func (m *HealthCheck_RedisHealthCheck) XXX_Size() int { - return xxx_messageInfo_HealthCheck_RedisHealthCheck.Size(m) -} -func (m *HealthCheck_RedisHealthCheck) XXX_DiscardUnknown() { - xxx_messageInfo_HealthCheck_RedisHealthCheck.DiscardUnknown(m) -} - -var xxx_messageInfo_HealthCheck_RedisHealthCheck proto.InternalMessageInfo - -func (m *HealthCheck_RedisHealthCheck) GetKey() string { - if m != nil { - return m.Key - } - return "" -} - -type HealthCheck_GrpcHealthCheck struct { - ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` - Authority string `protobuf:"bytes,2,opt,name=authority,proto3" json:"authority,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *HealthCheck_GrpcHealthCheck) Reset() { *m = HealthCheck_GrpcHealthCheck{} } -func (m *HealthCheck_GrpcHealthCheck) String() string { return proto.CompactTextString(m) } -func (*HealthCheck_GrpcHealthCheck) ProtoMessage() {} -func (*HealthCheck_GrpcHealthCheck) Descriptor() ([]byte, []int) { - return fileDescriptor_health_check_0d3155ea06758d89, []int{0, 4} -} -func (m *HealthCheck_GrpcHealthCheck) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HealthCheck_GrpcHealthCheck.Unmarshal(m, b) -} -func (m *HealthCheck_GrpcHealthCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HealthCheck_GrpcHealthCheck.Marshal(b, m, deterministic) -} -func (dst *HealthCheck_GrpcHealthCheck) XXX_Merge(src proto.Message) { - xxx_messageInfo_HealthCheck_GrpcHealthCheck.Merge(dst, src) -} -func (m *HealthCheck_GrpcHealthCheck) XXX_Size() int { - return xxx_messageInfo_HealthCheck_GrpcHealthCheck.Size(m) -} -func (m *HealthCheck_GrpcHealthCheck) XXX_DiscardUnknown() { - xxx_messageInfo_HealthCheck_GrpcHealthCheck.DiscardUnknown(m) -} - -var xxx_messageInfo_HealthCheck_GrpcHealthCheck proto.InternalMessageInfo - -func (m *HealthCheck_GrpcHealthCheck) GetServiceName() string { - if m != nil { - return m.ServiceName - } - return "" -} - -func (m *HealthCheck_GrpcHealthCheck) GetAuthority() string { - if m != nil { - return m.Authority - } - return "" -} - -type HealthCheck_CustomHealthCheck struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Types that are valid to be assigned to ConfigType: - // *HealthCheck_CustomHealthCheck_Config - // *HealthCheck_CustomHealthCheck_TypedConfig - ConfigType isHealthCheck_CustomHealthCheck_ConfigType `protobuf_oneof:"config_type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *HealthCheck_CustomHealthCheck) Reset() { *m = HealthCheck_CustomHealthCheck{} } -func (m *HealthCheck_CustomHealthCheck) String() string { return proto.CompactTextString(m) } -func (*HealthCheck_CustomHealthCheck) ProtoMessage() {} -func (*HealthCheck_CustomHealthCheck) Descriptor() ([]byte, []int) { - return fileDescriptor_health_check_0d3155ea06758d89, []int{0, 5} -} -func (m *HealthCheck_CustomHealthCheck) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HealthCheck_CustomHealthCheck.Unmarshal(m, b) -} -func (m *HealthCheck_CustomHealthCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HealthCheck_CustomHealthCheck.Marshal(b, m, deterministic) -} -func (dst *HealthCheck_CustomHealthCheck) XXX_Merge(src proto.Message) { - xxx_messageInfo_HealthCheck_CustomHealthCheck.Merge(dst, src) -} -func (m *HealthCheck_CustomHealthCheck) XXX_Size() int { - return xxx_messageInfo_HealthCheck_CustomHealthCheck.Size(m) -} -func (m *HealthCheck_CustomHealthCheck) XXX_DiscardUnknown() { - xxx_messageInfo_HealthCheck_CustomHealthCheck.DiscardUnknown(m) -} - -var xxx_messageInfo_HealthCheck_CustomHealthCheck proto.InternalMessageInfo - -func (m *HealthCheck_CustomHealthCheck) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -type isHealthCheck_CustomHealthCheck_ConfigType interface { - isHealthCheck_CustomHealthCheck_ConfigType() -} - -type HealthCheck_CustomHealthCheck_Config struct { - Config *_struct.Struct `protobuf:"bytes,2,opt,name=config,proto3,oneof"` -} - -type HealthCheck_CustomHealthCheck_TypedConfig struct { - TypedConfig *any.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof"` -} - -func (*HealthCheck_CustomHealthCheck_Config) isHealthCheck_CustomHealthCheck_ConfigType() {} - -func (*HealthCheck_CustomHealthCheck_TypedConfig) isHealthCheck_CustomHealthCheck_ConfigType() {} - -func (m *HealthCheck_CustomHealthCheck) GetConfigType() isHealthCheck_CustomHealthCheck_ConfigType { - if m != nil { - return m.ConfigType - } - return nil -} - -func (m *HealthCheck_CustomHealthCheck) GetConfig() *_struct.Struct { - if x, ok := m.GetConfigType().(*HealthCheck_CustomHealthCheck_Config); ok { - return x.Config - } - return nil -} - -func (m *HealthCheck_CustomHealthCheck) GetTypedConfig() *any.Any { - if x, ok := m.GetConfigType().(*HealthCheck_CustomHealthCheck_TypedConfig); ok { - return x.TypedConfig - } - return nil -} - -// XXX_OneofFuncs is for the internal use of the proto package. -func (*HealthCheck_CustomHealthCheck) 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 _HealthCheck_CustomHealthCheck_OneofMarshaler, _HealthCheck_CustomHealthCheck_OneofUnmarshaler, _HealthCheck_CustomHealthCheck_OneofSizer, []interface{}{ - (*HealthCheck_CustomHealthCheck_Config)(nil), - (*HealthCheck_CustomHealthCheck_TypedConfig)(nil), - } -} - -func _HealthCheck_CustomHealthCheck_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*HealthCheck_CustomHealthCheck) - // config_type - switch x := m.ConfigType.(type) { - case *HealthCheck_CustomHealthCheck_Config: - b.EncodeVarint(2<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Config); err != nil { - return err - } - case *HealthCheck_CustomHealthCheck_TypedConfig: - b.EncodeVarint(3<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.TypedConfig); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("HealthCheck_CustomHealthCheck.ConfigType has unexpected type %T", x) - } - return nil -} - -func _HealthCheck_CustomHealthCheck_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*HealthCheck_CustomHealthCheck) - switch tag { - case 2: // config_type.config - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(_struct.Struct) - err := b.DecodeMessage(msg) - m.ConfigType = &HealthCheck_CustomHealthCheck_Config{msg} - return true, err - case 3: // config_type.typed_config - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(any.Any) - err := b.DecodeMessage(msg) - m.ConfigType = &HealthCheck_CustomHealthCheck_TypedConfig{msg} - return true, err - default: - return false, nil - } -} - -func _HealthCheck_CustomHealthCheck_OneofSizer(msg proto.Message) (n int) { - m := msg.(*HealthCheck_CustomHealthCheck) - // config_type - switch x := m.ConfigType.(type) { - case *HealthCheck_CustomHealthCheck_Config: - s := proto.Size(x.Config) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *HealthCheck_CustomHealthCheck_TypedConfig: - s := proto.Size(x.TypedConfig) - 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((*HealthCheck)(nil), "envoy.api.v2.core.HealthCheck") - proto.RegisterType((*HealthCheck_Payload)(nil), "envoy.api.v2.core.HealthCheck.Payload") - proto.RegisterType((*HealthCheck_HttpHealthCheck)(nil), "envoy.api.v2.core.HealthCheck.HttpHealthCheck") - proto.RegisterType((*HealthCheck_TcpHealthCheck)(nil), "envoy.api.v2.core.HealthCheck.TcpHealthCheck") - proto.RegisterType((*HealthCheck_RedisHealthCheck)(nil), "envoy.api.v2.core.HealthCheck.RedisHealthCheck") - proto.RegisterType((*HealthCheck_GrpcHealthCheck)(nil), "envoy.api.v2.core.HealthCheck.GrpcHealthCheck") - proto.RegisterType((*HealthCheck_CustomHealthCheck)(nil), "envoy.api.v2.core.HealthCheck.CustomHealthCheck") - proto.RegisterEnum("envoy.api.v2.core.HealthStatus", HealthStatus_name, HealthStatus_value) -} - -func init() { - proto.RegisterFile("envoy/api/v2/core/health_check.proto", fileDescriptor_health_check_0d3155ea06758d89) -} - -var fileDescriptor_health_check_0d3155ea06758d89 = []byte{ - // 1184 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x96, 0xcf, 0x6e, 0xdb, 0xc6, - 0x13, 0xc7, 0x45, 0x4b, 0xb6, 0xa4, 0x91, 0x2c, 0x53, 0xab, 0xc4, 0x66, 0xf4, 0xf3, 0xaf, 0x51, - 0x0b, 0xa3, 0x30, 0x02, 0x54, 0x6a, 0x95, 0x36, 0x45, 0x7a, 0x8a, 0x65, 0x3b, 0x91, 0xd2, 0x44, - 0x31, 0x36, 0x72, 0x8a, 0x00, 0x2d, 0xd8, 0x35, 0x39, 0x96, 0xd8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a, 0x4c, 0x8e, - 0x8c, 0x6a, 0x43, 0xdb, 0x2d, 0xd2, 0xb2, 0xb2, 0x3e, 0xe3, 0xc3, 0x23, 0x26, 0x47, 0xe4, 0x31, - 0x34, 0x98, 0xfb, 0x96, 0x4d, 0x02, 0x15, 0x36, 0x5f, 0x74, 0xf3, 0x94, 0x39, 0x6e, 0x28, 0x30, - 0x30, 0x6a, 0x0d, 0x6d, 0xb7, 0x40, 0xb7, 0xe3, 0xb8, 0x67, 0x7c, 0x38, 0x57, 0xcc, 0xc7, 0x49, - 0x4c, 0xfd, 0x15, 0xe4, 0x8f, 0xd8, 0xc4, 0xe5, 0xcc, 0x26, 0x77, 0x21, 0x27, 0xf1, 0x3c, 0xde, - 0xdb, 0xc5, 0x4e, 0x31, 0xca, 0x33, 0x27, 0x56, 0x1a, 0x5a, 0x37, 0x43, 0x95, 0x83, 0x18, 0xb0, - 0x76, 0xe2, 0x78, 0x4c, 0x4c, 0xd4, 0x5a, 0x2e, 0x77, 0x33, 0x34, 0x79, 0xef, 0xe8, 0x90, 0xf7, - 0x13, 0xca, 0xea, 0xef, 0x1f, 0xde, 0x67, 0xb5, 0xfa, 0x5f, 0x59, 0xd8, 0x58, 0x1a, 0x38, 0x42, - 0x20, 0x37, 0xe2, 0x41, 0x72, 0x00, 0x55, 0xcf, 0xe4, 0xff, 0x90, 0x53, 0x77, 0x5c, 0x59, 0x3a, - 0x94, 0x2a, 0x33, 0xf9, 0x06, 0x72, 0x01, 0x7a, 0x76, 0xb2, 0x79, 0x3f, 0xbd, 0xa2, 0x91, 0x93, - 0x9b, 0x50, 0xa5, 0x21, 0x8f, 0x20, 0x2f, 0xd0, 0x42, 0x67, 0x8c, 0xc9, 0xe2, 0xbc, 0xae, 0x7c, - 0x2a, 0x23, 0x1f, 0x43, 0x39, 0x40, 0x31, 0x76, 0x2c, 0x34, 0x3d, 0x76, 0x86, 0x6a, 0x65, 0x16, - 0x69, 0x29, 0xb1, 0xf5, 0xd9, 0x19, 0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, 0x7d, 0xee, 0x03, 0x1f, 0x45, 0xd7, 0x3d, 0xd2, 0x4e, 0xd6, 0xd4, - 0xbd, 0xef, 0xff, 0x13, 0x00, 0x00, 0xff, 0xff, 0xd3, 0xe4, 0xc6, 0x74, 0x97, 0x0b, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/protocol/protocol.pb.go b/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/protocol/protocol.pb.go deleted file mode 100755 index d7062868..00000000 --- a/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/protocol/protocol.pb.go +++ /dev/null @@ -1,311 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: envoy/api/v2/core/protocol.proto - -package envoy_api_v2_core - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import duration "github.com/golang/protobuf/ptypes/duration" -import wrappers "github.com/golang/protobuf/ptypes/wrappers" -import _ "google.golang.org/grpc/xds/internal/proto/validate" - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation 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 TcpProtocolOptions struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TcpProtocolOptions) Reset() { *m = TcpProtocolOptions{} } -func (m *TcpProtocolOptions) String() string { return proto.CompactTextString(m) } -func (*TcpProtocolOptions) ProtoMessage() {} -func (*TcpProtocolOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_protocol_2e969372c85b867d, []int{0} -} -func (m *TcpProtocolOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TcpProtocolOptions.Unmarshal(m, b) -} -func (m *TcpProtocolOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TcpProtocolOptions.Marshal(b, m, deterministic) -} -func (dst *TcpProtocolOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_TcpProtocolOptions.Merge(dst, src) -} -func (m *TcpProtocolOptions) XXX_Size() int { - return xxx_messageInfo_TcpProtocolOptions.Size(m) -} -func (m *TcpProtocolOptions) XXX_DiscardUnknown() { - xxx_messageInfo_TcpProtocolOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_TcpProtocolOptions proto.InternalMessageInfo - -type HttpProtocolOptions struct { - IdleTimeout *duration.Duration `protobuf:"bytes,1,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *HttpProtocolOptions) Reset() { *m = HttpProtocolOptions{} } -func (m *HttpProtocolOptions) String() string { return proto.CompactTextString(m) } -func (*HttpProtocolOptions) ProtoMessage() {} -func (*HttpProtocolOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_protocol_2e969372c85b867d, []int{1} -} -func (m *HttpProtocolOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HttpProtocolOptions.Unmarshal(m, b) -} -func (m *HttpProtocolOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HttpProtocolOptions.Marshal(b, m, deterministic) -} -func (dst *HttpProtocolOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_HttpProtocolOptions.Merge(dst, src) -} -func (m *HttpProtocolOptions) XXX_Size() int { - return xxx_messageInfo_HttpProtocolOptions.Size(m) -} -func (m *HttpProtocolOptions) XXX_DiscardUnknown() { - xxx_messageInfo_HttpProtocolOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_HttpProtocolOptions proto.InternalMessageInfo - -func (m *HttpProtocolOptions) GetIdleTimeout() *duration.Duration { - if m != nil { - return m.IdleTimeout - } - return nil -} - -type Http1ProtocolOptions struct { - AllowAbsoluteUrl *wrappers.BoolValue `protobuf:"bytes,1,opt,name=allow_absolute_url,json=allowAbsoluteUrl,proto3" json:"allow_absolute_url,omitempty"` - AcceptHttp_10 bool `protobuf:"varint,2,opt,name=accept_http_10,json=acceptHttp10,proto3" json:"accept_http_10,omitempty"` - DefaultHostForHttp_10 string `protobuf:"bytes,3,opt,name=default_host_for_http_10,json=defaultHostForHttp10,proto3" json:"default_host_for_http_10,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Http1ProtocolOptions) Reset() { *m = Http1ProtocolOptions{} } -func (m *Http1ProtocolOptions) String() string { return proto.CompactTextString(m) } -func (*Http1ProtocolOptions) ProtoMessage() {} -func (*Http1ProtocolOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_protocol_2e969372c85b867d, []int{2} -} -func (m *Http1ProtocolOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Http1ProtocolOptions.Unmarshal(m, b) -} -func (m *Http1ProtocolOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Http1ProtocolOptions.Marshal(b, m, deterministic) -} -func (dst *Http1ProtocolOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_Http1ProtocolOptions.Merge(dst, src) -} -func (m *Http1ProtocolOptions) XXX_Size() int { - return xxx_messageInfo_Http1ProtocolOptions.Size(m) -} -func (m *Http1ProtocolOptions) XXX_DiscardUnknown() { - xxx_messageInfo_Http1ProtocolOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_Http1ProtocolOptions proto.InternalMessageInfo - -func (m *Http1ProtocolOptions) GetAllowAbsoluteUrl() *wrappers.BoolValue { - if m != nil { - return m.AllowAbsoluteUrl - } - return nil -} - -func (m *Http1ProtocolOptions) GetAcceptHttp_10() bool { - if m != nil { - return m.AcceptHttp_10 - } - return false -} - -func (m *Http1ProtocolOptions) GetDefaultHostForHttp_10() string { - if m != nil { - return m.DefaultHostForHttp_10 - } - return "" -} - -type Http2ProtocolOptions struct { - HpackTableSize *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=hpack_table_size,json=hpackTableSize,proto3" json:"hpack_table_size,omitempty"` - MaxConcurrentStreams *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=max_concurrent_streams,json=maxConcurrentStreams,proto3" json:"max_concurrent_streams,omitempty"` - InitialStreamWindowSize *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=initial_stream_window_size,json=initialStreamWindowSize,proto3" json:"initial_stream_window_size,omitempty"` - InitialConnectionWindowSize *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=initial_connection_window_size,json=initialConnectionWindowSize,proto3" json:"initial_connection_window_size,omitempty"` - AllowConnect bool `protobuf:"varint,5,opt,name=allow_connect,json=allowConnect,proto3" json:"allow_connect,omitempty"` - AllowMetadata bool `protobuf:"varint,6,opt,name=allow_metadata,json=allowMetadata,proto3" json:"allow_metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Http2ProtocolOptions) Reset() { *m = Http2ProtocolOptions{} } -func (m *Http2ProtocolOptions) String() string { return proto.CompactTextString(m) } -func (*Http2ProtocolOptions) ProtoMessage() {} -func (*Http2ProtocolOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_protocol_2e969372c85b867d, []int{3} -} -func (m *Http2ProtocolOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Http2ProtocolOptions.Unmarshal(m, b) -} -func (m *Http2ProtocolOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Http2ProtocolOptions.Marshal(b, m, deterministic) -} -func (dst *Http2ProtocolOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_Http2ProtocolOptions.Merge(dst, src) -} -func (m *Http2ProtocolOptions) XXX_Size() int { - return xxx_messageInfo_Http2ProtocolOptions.Size(m) -} -func (m *Http2ProtocolOptions) XXX_DiscardUnknown() { - xxx_messageInfo_Http2ProtocolOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_Http2ProtocolOptions proto.InternalMessageInfo - -func (m *Http2ProtocolOptions) GetHpackTableSize() *wrappers.UInt32Value { - if m != nil { - return m.HpackTableSize - } - return nil -} - -func (m *Http2ProtocolOptions) GetMaxConcurrentStreams() *wrappers.UInt32Value { - if m != nil { - return m.MaxConcurrentStreams - } - return nil -} - -func (m *Http2ProtocolOptions) GetInitialStreamWindowSize() *wrappers.UInt32Value { - if m != nil { - return m.InitialStreamWindowSize - } - return nil -} - -func (m *Http2ProtocolOptions) GetInitialConnectionWindowSize() *wrappers.UInt32Value { - if m != nil { - return m.InitialConnectionWindowSize - } - return nil -} - -func (m *Http2ProtocolOptions) GetAllowConnect() bool { - if m != nil { - return m.AllowConnect - } - return false -} - -func (m *Http2ProtocolOptions) GetAllowMetadata() bool { - if m != nil { - return m.AllowMetadata - } - return false -} - -type GrpcProtocolOptions struct { - Http2ProtocolOptions *Http2ProtocolOptions `protobuf:"bytes,1,opt,name=http2_protocol_options,json=http2ProtocolOptions,proto3" json:"http2_protocol_options,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GrpcProtocolOptions) Reset() { *m = GrpcProtocolOptions{} } -func (m *GrpcProtocolOptions) String() string { return proto.CompactTextString(m) } -func (*GrpcProtocolOptions) ProtoMessage() {} -func (*GrpcProtocolOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_protocol_2e969372c85b867d, []int{4} -} -func (m *GrpcProtocolOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GrpcProtocolOptions.Unmarshal(m, b) -} -func (m *GrpcProtocolOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GrpcProtocolOptions.Marshal(b, m, deterministic) -} -func (dst *GrpcProtocolOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_GrpcProtocolOptions.Merge(dst, src) -} -func (m *GrpcProtocolOptions) XXX_Size() int { - return xxx_messageInfo_GrpcProtocolOptions.Size(m) -} -func (m *GrpcProtocolOptions) XXX_DiscardUnknown() { - xxx_messageInfo_GrpcProtocolOptions.DiscardUnknown(m) -} - -var xxx_messageInfo_GrpcProtocolOptions proto.InternalMessageInfo - -func (m *GrpcProtocolOptions) GetHttp2ProtocolOptions() *Http2ProtocolOptions { - if m != nil { - return m.Http2ProtocolOptions - } - return nil -} - -func init() { - proto.RegisterType((*TcpProtocolOptions)(nil), "envoy.api.v2.core.TcpProtocolOptions") - proto.RegisterType((*HttpProtocolOptions)(nil), "envoy.api.v2.core.HttpProtocolOptions") - proto.RegisterType((*Http1ProtocolOptions)(nil), "envoy.api.v2.core.Http1ProtocolOptions") - proto.RegisterType((*Http2ProtocolOptions)(nil), "envoy.api.v2.core.Http2ProtocolOptions") - proto.RegisterType((*GrpcProtocolOptions)(nil), "envoy.api.v2.core.GrpcProtocolOptions") -} - -func init() { - proto.RegisterFile("envoy/api/v2/core/protocol.proto", fileDescriptor_protocol_2e969372c85b867d) -} - -var fileDescriptor_protocol_2e969372c85b867d = []byte{ - // 556 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x93, 0x4f, 0x6f, 0xd3, 0x4c, - 0x10, 0xc6, 0xe5, 0x37, 0x2f, 0xa5, 0x6c, 0xff, 0xd0, 0xba, 0x51, 0x6b, 0x0a, 0x2a, 0x51, 0x00, - 0x11, 0xf5, 0x60, 0xb7, 0xae, 0xc4, 0x89, 0x0b, 0x29, 0x2a, 0xe5, 0x80, 0xa8, 0xdc, 0x16, 0x4e, - 0x68, 0xb5, 0x59, 0x6f, 0x9a, 0x15, 0x1b, 0xcf, 0x6a, 0x3d, 0x4e, 0xd2, 0x7e, 0x34, 0x0e, 0x88, - 0xaf, 0xc3, 0x99, 0x0f, 0x60, 0x64, 0xef, 0x26, 0x82, 0xa4, 0x12, 0x88, 0x53, 0xac, 0x99, 0xe7, - 0xf9, 0x3d, 0x33, 0xf1, 0x98, 0xb4, 0x44, 0x36, 0x82, 0xeb, 0x88, 0x69, 0x19, 0x8d, 0xe2, 0x88, - 0x83, 0x11, 0x91, 0x36, 0x80, 0xc0, 0x41, 0x85, 0xf5, 0x83, 0xbf, 0x59, 0x2b, 0x42, 0xa6, 0x65, - 0x38, 0x8a, 0xc3, 0x4a, 0xb1, 0xbb, 0x77, 0x05, 0x70, 0xa5, 0x9c, 0xb2, 0x57, 0xf4, 0xa3, 0xb4, - 0x30, 0x0c, 0x25, 0x64, 0xd6, 0xb2, 0xd8, 0x1f, 0x1b, 0xa6, 0xb5, 0x30, 0xb9, 0xeb, 0xef, 0x8c, - 0x98, 0x92, 0x29, 0x43, 0x11, 0x4d, 0x1f, 0x6c, 0xa3, 0xdd, 0x24, 0xfe, 0x05, 0xd7, 0x67, 0x6e, - 0x80, 0xf7, 0xba, 0x62, 0xe6, 0xed, 0x73, 0xb2, 0x75, 0x8a, 0x38, 0x5f, 0xf6, 0x5f, 0x92, 0x55, - 0x99, 0x2a, 0x41, 0x51, 0x0e, 0x05, 0x14, 0x18, 0x78, 0x2d, 0xaf, 0xb3, 0x12, 0x3f, 0x08, 0x6d, - 0x78, 0x38, 0x0d, 0x0f, 0x5f, 0xbb, 0xe1, 0x92, 0x95, 0x4a, 0x7e, 0x61, 0xd5, 0xed, 0xaf, 0x1e, - 0x69, 0x56, 0xd4, 0xc3, 0x79, 0xec, 0x29, 0xf1, 0x99, 0x52, 0x30, 0xa6, 0xac, 0x97, 0x83, 0x2a, - 0x50, 0xd0, 0xc2, 0x28, 0x07, 0xdf, 0x5d, 0x80, 0x77, 0x01, 0xd4, 0x07, 0xa6, 0x0a, 0x91, 0x6c, - 0xd4, 0xae, 0x57, 0xce, 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0xf5, 0x4a, 0x48, 0xf6, 0xa6, 0x69, - 0x1c, 0xb2, 0x4c, 0xf0, 0xea, 0x1f, 0xfb, 0x2d, 0xf1, 0xff, 0x7f, 0x4b, 0x7c, 0xe8, 0xb0, 0xc7, - 0x33, 0xea, 0x2f, 0xa9, 0x4f, 0xc8, 0x9a, 0xbd, 0x28, 0x97, 0x19, 0xdc, 0x71, 0x67, 0x50, 0x15, - 0x9d, 0xc3, 0x7f, 0x46, 0xd6, 0xad, 0x68, 0x28, 0x90, 0xa5, 0x0c, 0x59, 0xb0, 0x54, 0xab, 0xac, - 0xf5, 0x9d, 0x2b, 0xb6, 0x91, 0x6c, 0xbd, 0x31, 0x9a, 0xcf, 0xbf, 0xf3, 0x4f, 0x64, 0xbb, 0xba, - 0x99, 0x98, 0x4e, 0x3f, 0x5e, 0x0a, 0xb6, 0xe3, 0xde, 0xfc, 0xf3, 0x70, 0xe1, 0x2b, 0x0e, 0x6f, - 0x3b, 0x9e, 0xa4, 0x39, 0xb8, 0xa5, 0xda, 0x8d, 0xc9, 0x63, 0x09, 0x16, 0xa1, 0x0d, 0x4c, 0xae, - 0x17, 0x69, 0xdd, 0xb5, 0xa9, 0xa7, 0xfe, 0x3d, 0xf3, 0x7a, 0x4b, 0xf5, 0x28, 0x47, 0x3f, 0x03, - 0x00, 0x00, 0xff, 0xff, 0x8f, 0x72, 0x53, 0x8f, 0x62, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/discovery/discovery.pb.go b/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/discovery/discovery.pb.go deleted file mode 100755 index 49e59c38..00000000 --- a/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/discovery/discovery.pb.go +++ /dev/null @@ -1,455 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: envoy/api/v2/discovery.proto - -package v2 - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import any "github.com/golang/protobuf/ptypes/any" -import status "google.golang.org/genproto/googleapis/rpc/status" -import base "google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/base" - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation 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 DiscoveryRequest struct { - VersionInfo string `protobuf:"bytes,1,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"` - Node *base.Node `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` - ResourceNames []string `protobuf:"bytes,3,rep,name=resource_names,json=resourceNames,proto3" json:"resource_names,omitempty"` - TypeUrl string `protobuf:"bytes,4,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"` - ResponseNonce string `protobuf:"bytes,5,opt,name=response_nonce,json=responseNonce,proto3" json:"response_nonce,omitempty"` - ErrorDetail *status.Status `protobuf:"bytes,6,opt,name=error_detail,json=errorDetail,proto3" json:"error_detail,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DiscoveryRequest) Reset() { *m = DiscoveryRequest{} } -func (m *DiscoveryRequest) String() string { return proto.CompactTextString(m) } -func (*DiscoveryRequest) ProtoMessage() {} -func (*DiscoveryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_discovery_98b4837c589b3df9, []int{0} -} -func (m *DiscoveryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiscoveryRequest.Unmarshal(m, b) -} -func (m *DiscoveryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiscoveryRequest.Marshal(b, m, deterministic) -} -func (dst *DiscoveryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiscoveryRequest.Merge(dst, src) -} -func (m *DiscoveryRequest) XXX_Size() int { - return xxx_messageInfo_DiscoveryRequest.Size(m) -} -func (m *DiscoveryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DiscoveryRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DiscoveryRequest proto.InternalMessageInfo - -func (m *DiscoveryRequest) GetVersionInfo() string { - if m != nil { - return m.VersionInfo - } - return "" -} - -func (m *DiscoveryRequest) GetNode() *base.Node { - if m != nil { - return m.Node - } - return nil -} - -func (m *DiscoveryRequest) GetResourceNames() []string { - if m != nil { - return m.ResourceNames - } - return nil -} - -func (m *DiscoveryRequest) GetTypeUrl() string { - if m != nil { - return m.TypeUrl - } - return "" -} - -func (m *DiscoveryRequest) GetResponseNonce() string { - if m != nil { - return m.ResponseNonce - } - return "" -} - -func (m *DiscoveryRequest) GetErrorDetail() *status.Status { - if m != nil { - return m.ErrorDetail - } - return nil -} - -type DiscoveryResponse struct { - VersionInfo string `protobuf:"bytes,1,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"` - Resources []*any.Any `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"` - Canary bool `protobuf:"varint,3,opt,name=canary,proto3" json:"canary,omitempty"` - TypeUrl string `protobuf:"bytes,4,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"` - Nonce string `protobuf:"bytes,5,opt,name=nonce,proto3" json:"nonce,omitempty"` - ControlPlane *base.ControlPlane `protobuf:"bytes,6,opt,name=control_plane,json=controlPlane,proto3" json:"control_plane,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DiscoveryResponse) Reset() { *m = DiscoveryResponse{} } -func (m *DiscoveryResponse) String() string { return proto.CompactTextString(m) } -func (*DiscoveryResponse) ProtoMessage() {} -func (*DiscoveryResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_discovery_98b4837c589b3df9, []int{1} -} -func (m *DiscoveryResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiscoveryResponse.Unmarshal(m, b) -} -func (m *DiscoveryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiscoveryResponse.Marshal(b, m, deterministic) -} -func (dst *DiscoveryResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiscoveryResponse.Merge(dst, src) -} -func (m *DiscoveryResponse) XXX_Size() int { - return xxx_messageInfo_DiscoveryResponse.Size(m) -} -func (m *DiscoveryResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DiscoveryResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_DiscoveryResponse proto.InternalMessageInfo - -func (m *DiscoveryResponse) GetVersionInfo() string { - if m != nil { - return m.VersionInfo - } - return "" -} - -func (m *DiscoveryResponse) GetResources() []*any.Any { - if m != nil { - return m.Resources - } - return nil -} - -func (m *DiscoveryResponse) GetCanary() bool { - if m != nil { - return m.Canary - } - return false -} - -func (m *DiscoveryResponse) GetTypeUrl() string { - if m != nil { - return m.TypeUrl - } - return "" -} - -func (m *DiscoveryResponse) GetNonce() string { - if m != nil { - return m.Nonce - } - return "" -} - -func (m *DiscoveryResponse) GetControlPlane() *base.ControlPlane { - if m != nil { - return m.ControlPlane - } - return nil -} - -type DeltaDiscoveryRequest struct { - Node *base.Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` - TypeUrl string `protobuf:"bytes,2,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"` - ResourceNamesSubscribe []string `protobuf:"bytes,3,rep,name=resource_names_subscribe,json=resourceNamesSubscribe,proto3" json:"resource_names_subscribe,omitempty"` - ResourceNamesUnsubscribe []string `protobuf:"bytes,4,rep,name=resource_names_unsubscribe,json=resourceNamesUnsubscribe,proto3" json:"resource_names_unsubscribe,omitempty"` - InitialResourceVersions map[string]string `protobuf:"bytes,5,rep,name=initial_resource_versions,json=initialResourceVersions,proto3" json:"initial_resource_versions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - ResponseNonce string `protobuf:"bytes,6,opt,name=response_nonce,json=responseNonce,proto3" json:"response_nonce,omitempty"` - ErrorDetail *status.Status `protobuf:"bytes,7,opt,name=error_detail,json=errorDetail,proto3" json:"error_detail,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DeltaDiscoveryRequest) Reset() { *m = DeltaDiscoveryRequest{} } -func (m *DeltaDiscoveryRequest) String() string { return proto.CompactTextString(m) } -func (*DeltaDiscoveryRequest) ProtoMessage() {} -func (*DeltaDiscoveryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_discovery_98b4837c589b3df9, []int{2} -} -func (m *DeltaDiscoveryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeltaDiscoveryRequest.Unmarshal(m, b) -} -func (m *DeltaDiscoveryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeltaDiscoveryRequest.Marshal(b, m, deterministic) -} -func (dst *DeltaDiscoveryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeltaDiscoveryRequest.Merge(dst, src) -} -func (m *DeltaDiscoveryRequest) XXX_Size() int { - return xxx_messageInfo_DeltaDiscoveryRequest.Size(m) -} -func (m *DeltaDiscoveryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeltaDiscoveryRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeltaDiscoveryRequest proto.InternalMessageInfo - -func (m *DeltaDiscoveryRequest) GetNode() *base.Node { - if m != nil { - return m.Node - } - return nil -} - -func (m *DeltaDiscoveryRequest) GetTypeUrl() string { - if m != nil { - return m.TypeUrl - } - return "" -} - -func (m *DeltaDiscoveryRequest) GetResourceNamesSubscribe() []string { - if m != nil { - return m.ResourceNamesSubscribe - } - return nil -} - -func (m *DeltaDiscoveryRequest) GetResourceNamesUnsubscribe() []string { - if m != nil { - return m.ResourceNamesUnsubscribe - } - return nil -} - -func (m *DeltaDiscoveryRequest) GetInitialResourceVersions() map[string]string { - if m != nil { - return m.InitialResourceVersions - } - return nil -} - -func (m *DeltaDiscoveryRequest) GetResponseNonce() string { - if m != nil { - return m.ResponseNonce - } - return "" -} - -func (m *DeltaDiscoveryRequest) GetErrorDetail() *status.Status { - if m != nil { - return m.ErrorDetail - } - return nil -} - -type DeltaDiscoveryResponse struct { - SystemVersionInfo string `protobuf:"bytes,1,opt,name=system_version_info,json=systemVersionInfo,proto3" json:"system_version_info,omitempty"` - Resources []*Resource `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"` - TypeUrl string `protobuf:"bytes,4,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"` - RemovedResources []string `protobuf:"bytes,6,rep,name=removed_resources,json=removedResources,proto3" json:"removed_resources,omitempty"` - Nonce string `protobuf:"bytes,5,opt,name=nonce,proto3" json:"nonce,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DeltaDiscoveryResponse) Reset() { *m = DeltaDiscoveryResponse{} } -func (m *DeltaDiscoveryResponse) String() string { return proto.CompactTextString(m) } -func (*DeltaDiscoveryResponse) ProtoMessage() {} -func (*DeltaDiscoveryResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_discovery_98b4837c589b3df9, []int{3} -} -func (m *DeltaDiscoveryResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeltaDiscoveryResponse.Unmarshal(m, b) -} -func (m *DeltaDiscoveryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeltaDiscoveryResponse.Marshal(b, m, deterministic) -} -func (dst *DeltaDiscoveryResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeltaDiscoveryResponse.Merge(dst, src) -} -func (m *DeltaDiscoveryResponse) XXX_Size() int { - return xxx_messageInfo_DeltaDiscoveryResponse.Size(m) -} -func (m *DeltaDiscoveryResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeltaDiscoveryResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_DeltaDiscoveryResponse proto.InternalMessageInfo - -func (m *DeltaDiscoveryResponse) GetSystemVersionInfo() string { - if m != nil { - return m.SystemVersionInfo - } - return "" -} - -func (m *DeltaDiscoveryResponse) GetResources() []*Resource { - if m != nil { - return m.Resources - } - return nil -} - -func (m *DeltaDiscoveryResponse) GetTypeUrl() string { - if m != nil { - return m.TypeUrl - } - return "" -} - -func (m *DeltaDiscoveryResponse) GetRemovedResources() []string { - if m != nil { - return m.RemovedResources - } - return nil -} - -func (m *DeltaDiscoveryResponse) GetNonce() string { - if m != nil { - return m.Nonce - } - return "" -} - -type Resource struct { - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - Aliases []string `protobuf:"bytes,4,rep,name=aliases,proto3" json:"aliases,omitempty"` - Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` - Resource *any.Any `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,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_discovery_98b4837c589b3df9, []int{4} -} -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) GetAliases() []string { - if m != nil { - return m.Aliases - } - return nil -} - -func (m *Resource) GetVersion() string { - if m != nil { - return m.Version - } - return "" -} - -func (m *Resource) GetResource() *any.Any { - if m != nil { - return m.Resource - } - return nil -} - -func init() { - proto.RegisterType((*DiscoveryRequest)(nil), "envoy.api.v2.DiscoveryRequest") - proto.RegisterType((*DiscoveryResponse)(nil), "envoy.api.v2.DiscoveryResponse") - proto.RegisterType((*DeltaDiscoveryRequest)(nil), "envoy.api.v2.DeltaDiscoveryRequest") - proto.RegisterMapType((map[string]string)(nil), "envoy.api.v2.DeltaDiscoveryRequest.InitialResourceVersionsEntry") - proto.RegisterType((*DeltaDiscoveryResponse)(nil), "envoy.api.v2.DeltaDiscoveryResponse") - proto.RegisterType((*Resource)(nil), "envoy.api.v2.Resource") -} - -func init() { - proto.RegisterFile("envoy/api/v2/discovery.proto", fileDescriptor_discovery_98b4837c589b3df9) -} - -var fileDescriptor_discovery_98b4837c589b3df9 = []byte{ - // 659 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0x41, 0x6b, 0xdb, 0x4c, - 0x10, 0x45, 0xb6, 0xe3, 0xd8, 0x63, 0x27, 0x24, 0xfb, 0xe5, 0x73, 0x14, 0x13, 0xa8, 0x6b, 0x28, - 0x18, 0x02, 0x52, 0x51, 0x5b, 0x08, 0xa5, 0x87, 0x36, 0x75, 0x0f, 0xe9, 0x21, 0x04, 0x85, 0xe4, - 0xd0, 0x8b, 0x58, 0xcb, 0x93, 0x20, 0xaa, 0xec, 0xaa, 0xbb, 0x92, 0xa8, 0xa0, 0xa7, 0xd2, 0x9f, - 0xd9, 0x3f, 0xd2, 0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x2b, 0xd4, 0x99, 0x03, 0xe3, 0x80, 0x17, 0xbd, 0x88, 0x04, - 0xff, 0x9e, 0xd5, 0xda, 0x72, 0xb6, 0xbb, 0xea, 0xfd, 0x65, 0x7e, 0xfd, 0xd2, 0xf8, 0xd2, 0x4a, - 0x9d, 0x45, 0x57, 0x71, 0xbd, 0xfa, 0x17, 0x00, 0x00, 0xff, 0xff, 0xce, 0x2c, 0x51, 0x59, 0x23, - 0x06, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/eds/eds.pb.go b/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/eds/eds.pb.go deleted file mode 100755 index 3c00b69c..00000000 --- a/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/eds/eds.pb.go +++ /dev/null @@ -1,454 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: envoy/api/v2/eds.proto - -package envoy_api_v2 - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import duration "github.com/golang/protobuf/ptypes/duration" -import wrappers "github.com/golang/protobuf/ptypes/wrappers" -import _ "google.golang.org/genproto/googleapis/api/annotations" -import discovery "google.golang.org/grpc/xds/internal/proto/envoy/api/v2/discovery" -import endpoint "google.golang.org/grpc/xds/internal/proto/envoy/api/v2/endpoint/endpoint" -import percent "google.golang.org/grpc/xds/internal/proto/envoy/type/percent" -import _ "google.golang.org/grpc/xds/internal/proto/validate" - -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 ClusterLoadAssignment struct { - ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` - Endpoints []*endpoint.LocalityLbEndpoints `protobuf:"bytes,2,rep,name=endpoints,proto3" json:"endpoints,omitempty"` - NamedEndpoints map[string]*endpoint.Endpoint `protobuf:"bytes,5,rep,name=named_endpoints,json=namedEndpoints,proto3" json:"named_endpoints,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Policy *ClusterLoadAssignment_Policy `protobuf:"bytes,4,opt,name=policy,proto3" json:"policy,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ClusterLoadAssignment) Reset() { *m = ClusterLoadAssignment{} } -func (m *ClusterLoadAssignment) String() string { return proto.CompactTextString(m) } -func (*ClusterLoadAssignment) ProtoMessage() {} -func (*ClusterLoadAssignment) Descriptor() ([]byte, []int) { - return fileDescriptor_eds_061daabadb4e511d, []int{0} -} -func (m *ClusterLoadAssignment) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClusterLoadAssignment.Unmarshal(m, b) -} -func (m *ClusterLoadAssignment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClusterLoadAssignment.Marshal(b, m, deterministic) -} -func (dst *ClusterLoadAssignment) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClusterLoadAssignment.Merge(dst, src) -} -func (m *ClusterLoadAssignment) XXX_Size() int { - return xxx_messageInfo_ClusterLoadAssignment.Size(m) -} -func (m *ClusterLoadAssignment) XXX_DiscardUnknown() { - xxx_messageInfo_ClusterLoadAssignment.DiscardUnknown(m) -} - -var xxx_messageInfo_ClusterLoadAssignment proto.InternalMessageInfo - -func (m *ClusterLoadAssignment) GetClusterName() string { - if m != nil { - return m.ClusterName - } - return "" -} - -func (m *ClusterLoadAssignment) GetEndpoints() []*endpoint.LocalityLbEndpoints { - if m != nil { - return m.Endpoints - } - return nil -} - -func (m *ClusterLoadAssignment) GetNamedEndpoints() map[string]*endpoint.Endpoint { - if m != nil { - return m.NamedEndpoints - } - return nil -} - -func (m *ClusterLoadAssignment) GetPolicy() *ClusterLoadAssignment_Policy { - if m != nil { - return m.Policy - } - return nil -} - -type ClusterLoadAssignment_Policy struct { - DropOverloads []*ClusterLoadAssignment_Policy_DropOverload `protobuf:"bytes,2,rep,name=drop_overloads,json=dropOverloads,proto3" json:"drop_overloads,omitempty"` - OverprovisioningFactor *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=overprovisioning_factor,json=overprovisioningFactor,proto3" json:"overprovisioning_factor,omitempty"` - EndpointStaleAfter *duration.Duration `protobuf:"bytes,4,opt,name=endpoint_stale_after,json=endpointStaleAfter,proto3" json:"endpoint_stale_after,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ClusterLoadAssignment_Policy) Reset() { *m = ClusterLoadAssignment_Policy{} } -func (m *ClusterLoadAssignment_Policy) String() string { return proto.CompactTextString(m) } -func (*ClusterLoadAssignment_Policy) ProtoMessage() {} -func (*ClusterLoadAssignment_Policy) Descriptor() ([]byte, []int) { - return fileDescriptor_eds_061daabadb4e511d, []int{0, 1} -} -func (m *ClusterLoadAssignment_Policy) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClusterLoadAssignment_Policy.Unmarshal(m, b) -} -func (m *ClusterLoadAssignment_Policy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClusterLoadAssignment_Policy.Marshal(b, m, deterministic) -} -func (dst *ClusterLoadAssignment_Policy) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClusterLoadAssignment_Policy.Merge(dst, src) -} -func (m *ClusterLoadAssignment_Policy) XXX_Size() int { - return xxx_messageInfo_ClusterLoadAssignment_Policy.Size(m) -} -func (m *ClusterLoadAssignment_Policy) XXX_DiscardUnknown() { - xxx_messageInfo_ClusterLoadAssignment_Policy.DiscardUnknown(m) -} - -var xxx_messageInfo_ClusterLoadAssignment_Policy proto.InternalMessageInfo - -func (m *ClusterLoadAssignment_Policy) GetDropOverloads() []*ClusterLoadAssignment_Policy_DropOverload { - if m != nil { - return m.DropOverloads - } - return nil -} - -func (m *ClusterLoadAssignment_Policy) GetOverprovisioningFactor() *wrappers.UInt32Value { - if m != nil { - return m.OverprovisioningFactor - } - return nil -} - -func (m *ClusterLoadAssignment_Policy) GetEndpointStaleAfter() *duration.Duration { - if m != nil { - return m.EndpointStaleAfter - } - return nil -} - -type ClusterLoadAssignment_Policy_DropOverload struct { - Category string `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"` - DropPercentage *percent.FractionalPercent `protobuf:"bytes,2,opt,name=drop_percentage,json=dropPercentage,proto3" json:"drop_percentage,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ClusterLoadAssignment_Policy_DropOverload) Reset() { - *m = ClusterLoadAssignment_Policy_DropOverload{} -} -func (m *ClusterLoadAssignment_Policy_DropOverload) String() string { return proto.CompactTextString(m) } -func (*ClusterLoadAssignment_Policy_DropOverload) ProtoMessage() {} -func (*ClusterLoadAssignment_Policy_DropOverload) Descriptor() ([]byte, []int) { - return fileDescriptor_eds_061daabadb4e511d, []int{0, 1, 0} -} -func (m *ClusterLoadAssignment_Policy_DropOverload) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClusterLoadAssignment_Policy_DropOverload.Unmarshal(m, b) -} -func (m *ClusterLoadAssignment_Policy_DropOverload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClusterLoadAssignment_Policy_DropOverload.Marshal(b, m, deterministic) -} -func (dst *ClusterLoadAssignment_Policy_DropOverload) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClusterLoadAssignment_Policy_DropOverload.Merge(dst, src) -} -func (m *ClusterLoadAssignment_Policy_DropOverload) XXX_Size() int { - return xxx_messageInfo_ClusterLoadAssignment_Policy_DropOverload.Size(m) -} -func (m *ClusterLoadAssignment_Policy_DropOverload) XXX_DiscardUnknown() { - xxx_messageInfo_ClusterLoadAssignment_Policy_DropOverload.DiscardUnknown(m) -} - -var xxx_messageInfo_ClusterLoadAssignment_Policy_DropOverload proto.InternalMessageInfo - -func (m *ClusterLoadAssignment_Policy_DropOverload) GetCategory() string { - if m != nil { - return m.Category - } - return "" -} - -func (m *ClusterLoadAssignment_Policy_DropOverload) GetDropPercentage() *percent.FractionalPercent { - if m != nil { - return m.DropPercentage - } - return nil -} - -func init() { - proto.RegisterType((*ClusterLoadAssignment)(nil), "envoy.api.v2.ClusterLoadAssignment") - proto.RegisterMapType((map[string]*endpoint.Endpoint)(nil), "envoy.api.v2.ClusterLoadAssignment.NamedEndpointsEntry") - proto.RegisterType((*ClusterLoadAssignment_Policy)(nil), "envoy.api.v2.ClusterLoadAssignment.Policy") - proto.RegisterType((*ClusterLoadAssignment_Policy_DropOverload)(nil), "envoy.api.v2.ClusterLoadAssignment.Policy.DropOverload") -} - -// 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 - -// EndpointDiscoveryServiceClient is the client API for EndpointDiscoveryService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type EndpointDiscoveryServiceClient interface { - StreamEndpoints(ctx context.Context, opts ...grpc.CallOption) (EndpointDiscoveryService_StreamEndpointsClient, error) - DeltaEndpoints(ctx context.Context, opts ...grpc.CallOption) (EndpointDiscoveryService_DeltaEndpointsClient, error) - FetchEndpoints(ctx context.Context, in *discovery.DiscoveryRequest, opts ...grpc.CallOption) (*discovery.DiscoveryResponse, error) -} - -type endpointDiscoveryServiceClient struct { - cc *grpc.ClientConn -} - -func NewEndpointDiscoveryServiceClient(cc *grpc.ClientConn) EndpointDiscoveryServiceClient { - return &endpointDiscoveryServiceClient{cc} -} - -func (c *endpointDiscoveryServiceClient) StreamEndpoints(ctx context.Context, opts ...grpc.CallOption) (EndpointDiscoveryService_StreamEndpointsClient, error) { - stream, err := c.cc.NewStream(ctx, &_EndpointDiscoveryService_serviceDesc.Streams[0], "/envoy.api.v2.EndpointDiscoveryService/StreamEndpoints", opts...) - if err != nil { - return nil, err - } - x := &endpointDiscoveryServiceStreamEndpointsClient{stream} - return x, nil -} - -type EndpointDiscoveryService_StreamEndpointsClient interface { - Send(*discovery.DiscoveryRequest) error - Recv() (*discovery.DiscoveryResponse, error) - grpc.ClientStream -} - -type endpointDiscoveryServiceStreamEndpointsClient struct { - grpc.ClientStream -} - -func (x *endpointDiscoveryServiceStreamEndpointsClient) Send(m *discovery.DiscoveryRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *endpointDiscoveryServiceStreamEndpointsClient) Recv() (*discovery.DiscoveryResponse, error) { - m := new(discovery.DiscoveryResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *endpointDiscoveryServiceClient) DeltaEndpoints(ctx context.Context, opts ...grpc.CallOption) (EndpointDiscoveryService_DeltaEndpointsClient, error) { - stream, err := c.cc.NewStream(ctx, &_EndpointDiscoveryService_serviceDesc.Streams[1], "/envoy.api.v2.EndpointDiscoveryService/DeltaEndpoints", opts...) - if err != nil { - return nil, err - } - x := &endpointDiscoveryServiceDeltaEndpointsClient{stream} - return x, nil -} - -type EndpointDiscoveryService_DeltaEndpointsClient interface { - Send(*discovery.DeltaDiscoveryRequest) error - Recv() (*discovery.DeltaDiscoveryResponse, error) - grpc.ClientStream -} - -type endpointDiscoveryServiceDeltaEndpointsClient struct { - grpc.ClientStream -} - -func (x *endpointDiscoveryServiceDeltaEndpointsClient) Send(m *discovery.DeltaDiscoveryRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *endpointDiscoveryServiceDeltaEndpointsClient) Recv() (*discovery.DeltaDiscoveryResponse, error) { - m := new(discovery.DeltaDiscoveryResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *endpointDiscoveryServiceClient) FetchEndpoints(ctx context.Context, in *discovery.DiscoveryRequest, opts ...grpc.CallOption) (*discovery.DiscoveryResponse, error) { - out := new(discovery.DiscoveryResponse) - err := c.cc.Invoke(ctx, "/envoy.api.v2.EndpointDiscoveryService/FetchEndpoints", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// EndpointDiscoveryServiceServer is the server API for EndpointDiscoveryService service. -type EndpointDiscoveryServiceServer interface { - StreamEndpoints(EndpointDiscoveryService_StreamEndpointsServer) error - DeltaEndpoints(EndpointDiscoveryService_DeltaEndpointsServer) error - FetchEndpoints(context.Context, *discovery.DiscoveryRequest) (*discovery.DiscoveryResponse, error) -} - -func RegisterEndpointDiscoveryServiceServer(s *grpc.Server, srv EndpointDiscoveryServiceServer) { - s.RegisterService(&_EndpointDiscoveryService_serviceDesc, srv) -} - -func _EndpointDiscoveryService_StreamEndpoints_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(EndpointDiscoveryServiceServer).StreamEndpoints(&endpointDiscoveryServiceStreamEndpointsServer{stream}) -} - -type EndpointDiscoveryService_StreamEndpointsServer interface { - Send(*discovery.DiscoveryResponse) error - Recv() (*discovery.DiscoveryRequest, error) - grpc.ServerStream -} - -type endpointDiscoveryServiceStreamEndpointsServer struct { - grpc.ServerStream -} - -func (x *endpointDiscoveryServiceStreamEndpointsServer) Send(m *discovery.DiscoveryResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *endpointDiscoveryServiceStreamEndpointsServer) Recv() (*discovery.DiscoveryRequest, error) { - m := new(discovery.DiscoveryRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _EndpointDiscoveryService_DeltaEndpoints_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(EndpointDiscoveryServiceServer).DeltaEndpoints(&endpointDiscoveryServiceDeltaEndpointsServer{stream}) -} - -type EndpointDiscoveryService_DeltaEndpointsServer interface { - Send(*discovery.DeltaDiscoveryResponse) error - Recv() (*discovery.DeltaDiscoveryRequest, error) - grpc.ServerStream -} - -type endpointDiscoveryServiceDeltaEndpointsServer struct { - grpc.ServerStream -} - -func (x *endpointDiscoveryServiceDeltaEndpointsServer) Send(m *discovery.DeltaDiscoveryResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *endpointDiscoveryServiceDeltaEndpointsServer) Recv() (*discovery.DeltaDiscoveryRequest, error) { - m := new(discovery.DeltaDiscoveryRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _EndpointDiscoveryService_FetchEndpoints_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(discovery.DiscoveryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EndpointDiscoveryServiceServer).FetchEndpoints(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/envoy.api.v2.EndpointDiscoveryService/FetchEndpoints", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EndpointDiscoveryServiceServer).FetchEndpoints(ctx, req.(*discovery.DiscoveryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _EndpointDiscoveryService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "envoy.api.v2.EndpointDiscoveryService", - HandlerType: (*EndpointDiscoveryServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "FetchEndpoints", - Handler: _EndpointDiscoveryService_FetchEndpoints_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "StreamEndpoints", - Handler: _EndpointDiscoveryService_StreamEndpoints_Handler, - ServerStreams: true, - ClientStreams: true, - }, - { - StreamName: "DeltaEndpoints", - Handler: _EndpointDiscoveryService_DeltaEndpoints_Handler, - ServerStreams: true, - ClientStreams: true, - }, - }, - Metadata: "envoy/api/v2/eds.proto", -} - -func init() { proto.RegisterFile("envoy/api/v2/eds.proto", fileDescriptor_eds_061daabadb4e511d) } - -var fileDescriptor_eds_061daabadb4e511d = []byte{ - // 686 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x94, 0xcf, 0x6e, 0xd3, 0x40, - 0x10, 0xc6, 0x6b, 0x27, 0x0d, 0xe9, 0x36, 0xa4, 0xd5, 0x02, 0x6d, 0xb0, 0x42, 0x1b, 0x85, 0x22, - 0x55, 0x01, 0x39, 0x28, 0x15, 0x2a, 0xea, 0xad, 0x21, 0x8d, 0x00, 0x55, 0x10, 0xb9, 0x02, 0xc1, - 0x85, 0xb0, 0xb1, 0xb7, 0x61, 0x85, 0xb3, 0xbb, 0xec, 0x6e, 0x0c, 0x3e, 0x70, 0xe1, 0xc4, 0x9d, - 0xb7, 0xe8, 0x23, 0x70, 0xe2, 0xc4, 0x91, 0x0b, 0xaf, 0xc0, 0x85, 0xb7, 0x40, 0xeb, 0x7f, 0xa9, - 0x9b, 0x16, 0x71, 0xe0, 0x66, 0x7b, 0x66, 0x7e, 0xf3, 0xed, 0xcc, 0xb7, 0x06, 0x6b, 0x98, 0x06, - 0x2c, 0x6c, 0x23, 0x4e, 0xda, 0x41, 0xa7, 0x8d, 0x3d, 0x69, 0x73, 0xc1, 0x14, 0x83, 0x95, 0xe8, - 0xbb, 0x8d, 0x38, 0xb1, 0x83, 0x8e, 0x55, 0xcf, 0x65, 0x79, 0x44, 0xba, 0x2c, 0xc0, 0x22, 0x8c, - 0x73, 0xad, 0xad, 0x3c, 0x83, 0x7a, 0x9c, 0x11, 0xaa, 0xb2, 0x87, 0x24, 0xab, 0x16, 0x67, 0xa9, - 0x90, 0xe3, 0x36, 0xc7, 0xc2, 0xc5, 0x59, 0xa4, 0x3e, 0x66, 0x6c, 0xec,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, 0xe3, 0x74, 0x47, 0x37, 0x92, 0xa1, 0xea, 0x5b, - 0x6a, 0xf7, 0x05, 0x72, 0xb5, 0x0e, 0xe4, 0x0f, 0xe2, 0x3c, 0x27, 0xda, 0xc4, 0x20, 0x2b, 0x7a, - 0x5c, 0x2c, 0x1b, 0xab, 0x66, 0xe7, 0x87, 0x09, 0x6a, 0xe9, 0x12, 0x7b, 0xe9, 0xbf, 0xe1, 0x08, - 0x8b, 0x80, 0xb8, 0x18, 0xbe, 0x00, 0x2b, 0x47, 0x4a, 0x60, 0x34, 0x99, 0x99, 0x70, 0x23, 0xbf, - 0xb9, 0xac, 0xc4, 0xc1, 0xef, 0xa6, 0x58, 0x2a, 0x6b, 0xf3, 0xc2, 0xb8, 0xe4, 0x8c, 0x4a, 0xdc, - 0x5c, 0xd8, 0x36, 0xee, 0x1a, 0x10, 0x81, 0x6a, 0x0f, 0xfb, 0x0a, 0xcd, 0xc0, 0x37, 0xcf, 0x14, - 0xea, 0xe8, 0x1c, 0x7d, 0xeb, 0xef, 0x49, 0xb9, 0x16, 0x53, 0x50, 0xed, 0x63, 0xe5, 0xbe, 0xf9, - 0x8f, 0xda, 0x9b, 0x9f, 0x7e, 0xfe, 0xfa, 0x62, 0xd6, 0x9b, 0xeb, 0xb9, 0x3f, 0xe9, 0x5e, 0x76, - 0xe3, 0xf7, 0x8c, 0x56, 0xf7, 0x36, 0xb0, 0x08, 0x8b, 0x41, 0x5c, 0xb0, 0x0f, 0x61, 0x8e, 0xd9, - 0x2d, 0x1f, 0x78, 0x72, 0xa0, 0xbd, 0x32, 0x30, 0x3e, 0x1b, 0xc6, 0xa8, 0x14, 0xf9, 0x66, 0xe7, - 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc0, 0xc3, 0x7c, 0xb6, 0xca, 0x05, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/endpoint/endpoint/endpoint.pb.go b/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/endpoint/endpoint/endpoint.pb.go deleted file mode 100755 index 36f85104..00000000 --- a/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/endpoint/endpoint/endpoint.pb.go +++ /dev/null @@ -1,394 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: envoy/api/v2/endpoint/endpoint.proto - -package endpoint - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import wrappers "github.com/golang/protobuf/ptypes/wrappers" -import address "google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/address" -import base "google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/base" -import health_check "google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/health_check" -import _ "google.golang.org/grpc/xds/internal/proto/validate" - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation 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 Endpoint struct { - Address *address.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - HealthCheckConfig *Endpoint_HealthCheckConfig `protobuf:"bytes,2,opt,name=health_check_config,json=healthCheckConfig,proto3" json:"health_check_config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -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_b466beef426b92ef, []int{0} -} -func (m *Endpoint) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Endpoint.Unmarshal(m, b) -} -func (m *Endpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Endpoint.Marshal(b, m, deterministic) -} -func (dst *Endpoint) XXX_Merge(src proto.Message) { - xxx_messageInfo_Endpoint.Merge(dst, src) -} -func (m *Endpoint) XXX_Size() int { - return xxx_messageInfo_Endpoint.Size(m) -} -func (m *Endpoint) XXX_DiscardUnknown() { - xxx_messageInfo_Endpoint.DiscardUnknown(m) -} - -var xxx_messageInfo_Endpoint proto.InternalMessageInfo - -func (m *Endpoint) GetAddress() *address.Address { - if m != nil { - return m.Address - } - return nil -} - -func (m *Endpoint) GetHealthCheckConfig() *Endpoint_HealthCheckConfig { - if m != nil { - return m.HealthCheckConfig - } - return nil -} - -type Endpoint_HealthCheckConfig struct { - PortValue uint32 `protobuf:"varint,1,opt,name=port_value,json=portValue,proto3" json:"port_value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Endpoint_HealthCheckConfig) Reset() { *m = Endpoint_HealthCheckConfig{} } -func (m *Endpoint_HealthCheckConfig) String() string { return proto.CompactTextString(m) } -func (*Endpoint_HealthCheckConfig) ProtoMessage() {} -func (*Endpoint_HealthCheckConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_endpoint_b466beef426b92ef, []int{0, 0} -} -func (m *Endpoint_HealthCheckConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Endpoint_HealthCheckConfig.Unmarshal(m, b) -} -func (m *Endpoint_HealthCheckConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Endpoint_HealthCheckConfig.Marshal(b, m, deterministic) -} -func (dst *Endpoint_HealthCheckConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_Endpoint_HealthCheckConfig.Merge(dst, src) -} -func (m *Endpoint_HealthCheckConfig) XXX_Size() int { - return xxx_messageInfo_Endpoint_HealthCheckConfig.Size(m) -} -func (m *Endpoint_HealthCheckConfig) XXX_DiscardUnknown() { - xxx_messageInfo_Endpoint_HealthCheckConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_Endpoint_HealthCheckConfig proto.InternalMessageInfo - -func (m *Endpoint_HealthCheckConfig) GetPortValue() uint32 { - if m != nil { - return m.PortValue - } - return 0 -} - -type LbEndpoint struct { - // Types that are valid to be assigned to HostIdentifier: - // *LbEndpoint_Endpoint - // *LbEndpoint_EndpointName - HostIdentifier isLbEndpoint_HostIdentifier `protobuf_oneof:"host_identifier"` - HealthStatus health_check.HealthStatus `protobuf:"varint,2,opt,name=health_status,json=healthStatus,proto3,enum=envoy.api.v2.core.HealthStatus" json:"health_status,omitempty"` - Metadata *base.Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` - LoadBalancingWeight *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=load_balancing_weight,json=loadBalancingWeight,proto3" json:"load_balancing_weight,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LbEndpoint) Reset() { *m = LbEndpoint{} } -func (m *LbEndpoint) String() string { return proto.CompactTextString(m) } -func (*LbEndpoint) ProtoMessage() {} -func (*LbEndpoint) Descriptor() ([]byte, []int) { - return fileDescriptor_endpoint_b466beef426b92ef, []int{1} -} -func (m *LbEndpoint) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LbEndpoint.Unmarshal(m, b) -} -func (m *LbEndpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LbEndpoint.Marshal(b, m, deterministic) -} -func (dst *LbEndpoint) XXX_Merge(src proto.Message) { - xxx_messageInfo_LbEndpoint.Merge(dst, src) -} -func (m *LbEndpoint) XXX_Size() int { - return xxx_messageInfo_LbEndpoint.Size(m) -} -func (m *LbEndpoint) XXX_DiscardUnknown() { - xxx_messageInfo_LbEndpoint.DiscardUnknown(m) -} - -var xxx_messageInfo_LbEndpoint proto.InternalMessageInfo - -type isLbEndpoint_HostIdentifier interface { - isLbEndpoint_HostIdentifier() -} - -type LbEndpoint_Endpoint struct { - Endpoint *Endpoint `protobuf:"bytes,1,opt,name=endpoint,proto3,oneof"` -} - -type LbEndpoint_EndpointName struct { - EndpointName string `protobuf:"bytes,5,opt,name=endpoint_name,json=endpointName,proto3,oneof"` -} - -func (*LbEndpoint_Endpoint) isLbEndpoint_HostIdentifier() {} - -func (*LbEndpoint_EndpointName) isLbEndpoint_HostIdentifier() {} - -func (m *LbEndpoint) GetHostIdentifier() isLbEndpoint_HostIdentifier { - if m != nil { - return m.HostIdentifier - } - return nil -} - -func (m *LbEndpoint) GetEndpoint() *Endpoint { - if x, ok := m.GetHostIdentifier().(*LbEndpoint_Endpoint); ok { - return x.Endpoint - } - return nil -} - -func (m *LbEndpoint) GetEndpointName() string { - if x, ok := m.GetHostIdentifier().(*LbEndpoint_EndpointName); ok { - return x.EndpointName - } - return "" -} - -func (m *LbEndpoint) GetHealthStatus() health_check.HealthStatus { - if m != nil { - return m.HealthStatus - } - return health_check.HealthStatus_UNKNOWN -} - -func (m *LbEndpoint) GetMetadata() *base.Metadata { - if m != nil { - return m.Metadata - } - return nil -} - -func (m *LbEndpoint) GetLoadBalancingWeight() *wrappers.UInt32Value { - if m != nil { - return m.LoadBalancingWeight - } - return nil -} - -// XXX_OneofFuncs is for the internal use of the proto package. -func (*LbEndpoint) 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 _LbEndpoint_OneofMarshaler, _LbEndpoint_OneofUnmarshaler, _LbEndpoint_OneofSizer, []interface{}{ - (*LbEndpoint_Endpoint)(nil), - (*LbEndpoint_EndpointName)(nil), - } -} - -func _LbEndpoint_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*LbEndpoint) - // host_identifier - switch x := m.HostIdentifier.(type) { - case *LbEndpoint_Endpoint: - b.EncodeVarint(1<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Endpoint); err != nil { - return err - } - case *LbEndpoint_EndpointName: - b.EncodeVarint(5<<3 | proto.WireBytes) - b.EncodeStringBytes(x.EndpointName) - case nil: - default: - return fmt.Errorf("LbEndpoint.HostIdentifier has unexpected type %T", x) - } - return nil -} - -func _LbEndpoint_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*LbEndpoint) - switch tag { - case 1: // host_identifier.endpoint - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(Endpoint) - err := b.DecodeMessage(msg) - m.HostIdentifier = &LbEndpoint_Endpoint{msg} - return true, err - case 5: // host_identifier.endpoint_name - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.HostIdentifier = &LbEndpoint_EndpointName{x} - return true, err - default: - return false, nil - } -} - -func _LbEndpoint_OneofSizer(msg proto.Message) (n int) { - m := msg.(*LbEndpoint) - // host_identifier - switch x := m.HostIdentifier.(type) { - case *LbEndpoint_Endpoint: - s := proto.Size(x.Endpoint) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *LbEndpoint_EndpointName: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.EndpointName))) - n += len(x.EndpointName) - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - -type LocalityLbEndpoints struct { - Locality *base.Locality `protobuf:"bytes,1,opt,name=locality,proto3" json:"locality,omitempty"` - LbEndpoints []*LbEndpoint `protobuf:"bytes,2,rep,name=lb_endpoints,json=lbEndpoints,proto3" json:"lb_endpoints,omitempty"` - LoadBalancingWeight *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=load_balancing_weight,json=loadBalancingWeight,proto3" json:"load_balancing_weight,omitempty"` - Priority uint32 `protobuf:"varint,5,opt,name=priority,proto3" json:"priority,omitempty"` - Proximity *wrappers.UInt32Value `protobuf:"bytes,6,opt,name=proximity,proto3" json:"proximity,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LocalityLbEndpoints) Reset() { *m = LocalityLbEndpoints{} } -func (m *LocalityLbEndpoints) String() string { return proto.CompactTextString(m) } -func (*LocalityLbEndpoints) ProtoMessage() {} -func (*LocalityLbEndpoints) Descriptor() ([]byte, []int) { - return fileDescriptor_endpoint_b466beef426b92ef, []int{2} -} -func (m *LocalityLbEndpoints) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LocalityLbEndpoints.Unmarshal(m, b) -} -func (m *LocalityLbEndpoints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LocalityLbEndpoints.Marshal(b, m, deterministic) -} -func (dst *LocalityLbEndpoints) XXX_Merge(src proto.Message) { - xxx_messageInfo_LocalityLbEndpoints.Merge(dst, src) -} -func (m *LocalityLbEndpoints) XXX_Size() int { - return xxx_messageInfo_LocalityLbEndpoints.Size(m) -} -func (m *LocalityLbEndpoints) XXX_DiscardUnknown() { - xxx_messageInfo_LocalityLbEndpoints.DiscardUnknown(m) -} - -var xxx_messageInfo_LocalityLbEndpoints proto.InternalMessageInfo - -func (m *LocalityLbEndpoints) GetLocality() *base.Locality { - if m != nil { - return m.Locality - } - return nil -} - -func (m *LocalityLbEndpoints) GetLbEndpoints() []*LbEndpoint { - if m != nil { - return m.LbEndpoints - } - return nil -} - -func (m *LocalityLbEndpoints) GetLoadBalancingWeight() *wrappers.UInt32Value { - if m != nil { - return m.LoadBalancingWeight - } - return nil -} - -func (m *LocalityLbEndpoints) GetPriority() uint32 { - if m != nil { - return m.Priority - } - return 0 -} - -func (m *LocalityLbEndpoints) GetProximity() *wrappers.UInt32Value { - if m != nil { - return m.Proximity - } - return nil -} - -func init() { - proto.RegisterType((*Endpoint)(nil), "envoy.api.v2.endpoint.Endpoint") - proto.RegisterType((*Endpoint_HealthCheckConfig)(nil), "envoy.api.v2.endpoint.Endpoint.HealthCheckConfig") - proto.RegisterType((*LbEndpoint)(nil), "envoy.api.v2.endpoint.LbEndpoint") - proto.RegisterType((*LocalityLbEndpoints)(nil), "envoy.api.v2.endpoint.LocalityLbEndpoints") -} - -func init() { - proto.RegisterFile("envoy/api/v2/endpoint/endpoint.proto", fileDescriptor_endpoint_b466beef426b92ef) -} - -var fileDescriptor_endpoint_b466beef426b92ef = []byte{ - // 569 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x52, 0x51, 0x6f, 0xd3, 0x3c, - 0x14, 0x5d, 0x9a, 0xad, 0x5f, 0xeb, 0xb6, 0x1f, 0xaa, 0xab, 0x89, 0xa8, 0x4c, 0x6c, 0x94, 0x81, - 0xaa, 0x3e, 0x38, 0xa2, 0x43, 0x42, 0x42, 0x42, 0x40, 0x36, 0xa4, 0x22, 0x0d, 0x34, 0x19, 0x01, - 0x12, 0x3c, 0x44, 0x4e, 0xe2, 0x36, 0x16, 0x69, 0x1c, 0x25, 0x6e, 0x47, 0xdf, 0xf8, 0x5d, 0x3c, - 0xf1, 0x27, 0xf8, 0x01, 0x48, 0xbc, 0xf0, 0x2b, 0x86, 0xec, 0xc4, 0x69, 0xb7, 0x76, 0xda, 0x03, - 0x6f, 0xce, 0xbd, 0xe7, 0xdc, 0x73, 0xcf, 0xc9, 0x05, 0x87, 0x34, 0x9e, 0xf3, 0x85, 0x4d, 0x12, - 0x66, 0xcf, 0x87, 0x36, 0x8d, 0x83, 0x84, 0xb3, 0x58, 0x94, 0x0f, 0x94, 0xa4, 0x5c, 0x70, 0xb8, - 0xab, 0x50, 0x88, 0x24, 0x0c, 0xcd, 0x87, 0x48, 0x37, 0xbb, 0xfb, 0x97, 0xc8, 0x3e, 0x4f, 0xa9, - 0x4d, 0x82, 0x20, 0xa5, 0x59, 0x96, 0xf3, 0xba, 0x7b, 0xeb, 0x00, 0x8f, 0x64, 0xb4, 0xe8, 0x1e, - 0xae, 0x77, 0x43, 0x4a, 0x22, 0x11, 0xba, 0x7e, 0x48, 0xfd, 0x2f, 0x05, 0xea, 0xee, 0x84, 0xf3, - 0x49, 0x44, 0x6d, 0xf5, 0xe5, 0xcd, 0xc6, 0xf6, 0x79, 0x4a, 0x92, 0x84, 0xa6, 0x5a, 0xe3, 0xf6, - 0x9c, 0x44, 0x2c, 0x20, 0x82, 0xda, 0xfa, 0x91, 0x37, 0x7a, 0xbf, 0x0d, 0x50, 0x7b, 0x55, 0xac, - 0x0a, 0x1f, 0x83, 0xff, 0x8a, 0xd5, 0x2c, 0xe3, 0xc0, 0xe8, 0x37, 0x86, 0x5d, 0x74, 0xc9, 0x93, - 0x54, 0x47, 0x2f, 0x73, 0x04, 0xd6, 0x50, 0x48, 0x40, 0x67, 0x75, 0x23, 0xd7, 0xe7, 0xf1, 0x98, - 0x4d, 0xac, 0x8a, 0x9a, 0xf0, 0x08, 0x6d, 0x4c, 0x05, 0x69, 0x4d, 0x34, 0x52, 0xd4, 0x63, 0xc9, - 0x3c, 0x56, 0x44, 0xdc, 0x0e, 0xaf, 0x96, 0xba, 0xcf, 0x41, 0x7b, 0x0d, 0x07, 0x07, 0x00, 0x24, - 0x3c, 0x15, 0xee, 0x9c, 0x44, 0x33, 0xaa, 0x16, 0x6e, 0x39, 0x8d, 0xef, 0x7f, 0x7e, 0x98, 0xd5, - 0xc1, 0xb6, 0x75, 0x71, 0x61, 0xe2, 0xba, 0x6c, 0x7f, 0x90, 0xdd, 0xde, 0xaf, 0x0a, 0x00, 0xa7, - 0x5e, 0x69, 0xf4, 0x19, 0xa8, 0xe9, 0x4d, 0x0a, 0xa7, 0xfb, 0x37, 0xec, 0x39, 0xda, 0xc2, 0x25, - 0x05, 0x3e, 0x00, 0x2d, 0xfd, 0x76, 0x63, 0x32, 0xa5, 0xd6, 0xce, 0x81, 0xd1, 0xaf, 0x8f, 0xb6, - 0x70, 0x53, 0x97, 0xdf, 0x92, 0x29, 0x85, 0x27, 0xa0, 0x55, 0x04, 0x93, 0x09, 0x22, 0x66, 0x99, - 0x8a, 0xe4, 0xff, 0xab, 0x52, 0x2a, 0xd4, 0xdc, 0xdd, 0x3b, 0x05, 0xc3, 0xcd, 0x70, 0xe5, 0x0b, - 0x3e, 0x01, 0xb5, 0x29, 0x15, 0x24, 0x20, 0x82, 0x58, 0xa6, 0xda, 0xf5, 0xce, 0x86, 0x01, 0x6f, - 0x0a, 0x08, 0x2e, 0xc1, 0xf0, 0x33, 0xd8, 0x8d, 0x38, 0x09, 0x5c, 0x8f, 0x44, 0x24, 0xf6, 0x59, - 0x3c, 0x71, 0xcf, 0x29, 0x9b, 0x84, 0xc2, 0xda, 0x56, 0x53, 0xf6, 0x50, 0x7e, 0x33, 0x48, 0xdf, - 0x0c, 0x7a, 0xff, 0x3a, 0x16, 0x47, 0x43, 0x15, 0x98, 0x53, 0x97, 0x41, 0x6e, 0x0f, 0x2a, 0x7d, - 0x03, 0x77, 0xe4, 0x14, 0x47, 0x0f, 0xf9, 0xa8, 0x66, 0x38, 0x6d, 0x70, 0x2b, 0xe4, 0x99, 0x70, - 0x59, 0x40, 0x63, 0xc1, 0xc6, 0x8c, 0xa6, 0xbd, 0x9f, 0x15, 0xd0, 0x39, 0xe5, 0x3e, 0x89, 0x98, - 0x58, 0x2c, 0xb3, 0x56, 0x06, 0xa2, 0xa2, 0x5c, 0x84, 0xbd, 0xc9, 0x80, 0x66, 0xe2, 0x12, 0x0c, - 0x4f, 0x40, 0x33, 0xf2, 0x5c, 0x1d, 0xa9, 0x8c, 0xcf, 0xec, 0x37, 0x86, 0xf7, 0xae, 0xf9, 0x53, - 0x4b, 0x49, 0xdc, 0x88, 0x56, 0xe4, 0xaf, 0x8d, 0xc1, 0xfc, 0xf7, 0x18, 0xe0, 0x43, 0x50, 0x4b, - 0x52, 0xc6, 0x53, 0xe9, 0x6d, 0x47, 0x5d, 0x20, 0x90, 0x8c, 0x9d, 0x81, 0x69, 0x7d, 0x33, 0x70, - 0xd9, 0x83, 0x4f, 0x41, 0x3d, 0x49, 0xf9, 0x57, 0x36, 0x95, 0xc0, 0xea, 0xcd, 0xc2, 0x78, 0x09, - 0x77, 0x5e, 0x80, 0xfb, 0x8c, 0xe7, 0xa6, 0x65, 0x71, 0xb1, 0xd9, 0xbf, 0xd3, 0xd2, 0x96, 0xcf, - 0xe4, 0xbc, 0x33, 0xe3, 0x53, 0x79, 0xaf, 0x5e, 0x55, 0x49, 0x1c, 0xfd, 0x0d, 0x00, 0x00, 0xff, - 0xff, 0xfb, 0x2e, 0x69, 0x4b, 0xc8, 0x04, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/endpoint/load_report/load_report.pb.go b/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/endpoint/load_report/load_report.pb.go deleted file mode 100755 index 5d6217f2..00000000 --- a/vendor/google.golang.org/grpc/xds/internal/proto/envoy/api/v2/endpoint/load_report/load_report.pb.go +++ /dev/null @@ -1,446 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: envoy/api/v2/endpoint/load_report.proto - -package envoy_api_v2_endpoint - -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 address "google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/address" -import base "google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/base" -import _ "google.golang.org/grpc/xds/internal/proto/validate" - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation 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 UpstreamLocalityStats struct { - Locality *base.Locality `protobuf:"bytes,1,opt,name=locality,proto3" json:"locality,omitempty"` - TotalSuccessfulRequests uint64 `protobuf:"varint,2,opt,name=total_successful_requests,json=totalSuccessfulRequests,proto3" json:"total_successful_requests,omitempty"` - TotalRequestsInProgress uint64 `protobuf:"varint,3,opt,name=total_requests_in_progress,json=totalRequestsInProgress,proto3" json:"total_requests_in_progress,omitempty"` - TotalErrorRequests uint64 `protobuf:"varint,4,opt,name=total_error_requests,json=totalErrorRequests,proto3" json:"total_error_requests,omitempty"` - TotalIssuedRequests uint64 `protobuf:"varint,8,opt,name=total_issued_requests,json=totalIssuedRequests,proto3" json:"total_issued_requests,omitempty"` - LoadMetricStats []*EndpointLoadMetricStats `protobuf:"bytes,5,rep,name=load_metric_stats,json=loadMetricStats,proto3" json:"load_metric_stats,omitempty"` - UpstreamEndpointStats []*UpstreamEndpointStats `protobuf:"bytes,7,rep,name=upstream_endpoint_stats,json=upstreamEndpointStats,proto3" json:"upstream_endpoint_stats,omitempty"` - Priority uint32 `protobuf:"varint,6,opt,name=priority,proto3" json:"priority,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpstreamLocalityStats) Reset() { *m = UpstreamLocalityStats{} } -func (m *UpstreamLocalityStats) String() string { return proto.CompactTextString(m) } -func (*UpstreamLocalityStats) ProtoMessage() {} -func (*UpstreamLocalityStats) Descriptor() ([]byte, []int) { - return fileDescriptor_load_report_e278ba272961bcc3, []int{0} -} -func (m *UpstreamLocalityStats) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpstreamLocalityStats.Unmarshal(m, b) -} -func (m *UpstreamLocalityStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpstreamLocalityStats.Marshal(b, m, deterministic) -} -func (dst *UpstreamLocalityStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpstreamLocalityStats.Merge(dst, src) -} -func (m *UpstreamLocalityStats) XXX_Size() int { - return xxx_messageInfo_UpstreamLocalityStats.Size(m) -} -func (m *UpstreamLocalityStats) XXX_DiscardUnknown() { - xxx_messageInfo_UpstreamLocalityStats.DiscardUnknown(m) -} - -var xxx_messageInfo_UpstreamLocalityStats proto.InternalMessageInfo - -func (m *UpstreamLocalityStats) GetLocality() *base.Locality { - if m != nil { - return m.Locality - } - return nil -} - -func (m *UpstreamLocalityStats) GetTotalSuccessfulRequests() uint64 { - if m != nil { - return m.TotalSuccessfulRequests - } - return 0 -} - -func (m *UpstreamLocalityStats) GetTotalRequestsInProgress() uint64 { - if m != nil { - return m.TotalRequestsInProgress - } - return 0 -} - -func (m *UpstreamLocalityStats) GetTotalErrorRequests() uint64 { - if m != nil { - return m.TotalErrorRequests - } - return 0 -} - -func (m *UpstreamLocalityStats) GetTotalIssuedRequests() uint64 { - if m != nil { - return m.TotalIssuedRequests - } - return 0 -} - -func (m *UpstreamLocalityStats) GetLoadMetricStats() []*EndpointLoadMetricStats { - if m != nil { - return m.LoadMetricStats - } - return nil -} - -func (m *UpstreamLocalityStats) GetUpstreamEndpointStats() []*UpstreamEndpointStats { - if m != nil { - return m.UpstreamEndpointStats - } - return nil -} - -func (m *UpstreamLocalityStats) GetPriority() uint32 { - if m != nil { - return m.Priority - } - return 0 -} - -type UpstreamEndpointStats struct { - Address *address.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - Metadata *_struct.Struct `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` - TotalSuccessfulRequests uint64 `protobuf:"varint,2,opt,name=total_successful_requests,json=totalSuccessfulRequests,proto3" json:"total_successful_requests,omitempty"` - TotalRequestsInProgress uint64 `protobuf:"varint,3,opt,name=total_requests_in_progress,json=totalRequestsInProgress,proto3" json:"total_requests_in_progress,omitempty"` - TotalErrorRequests uint64 `protobuf:"varint,4,opt,name=total_error_requests,json=totalErrorRequests,proto3" json:"total_error_requests,omitempty"` - TotalIssuedRequests uint64 `protobuf:"varint,7,opt,name=total_issued_requests,json=totalIssuedRequests,proto3" json:"total_issued_requests,omitempty"` - LoadMetricStats []*EndpointLoadMetricStats `protobuf:"bytes,5,rep,name=load_metric_stats,json=loadMetricStats,proto3" json:"load_metric_stats,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpstreamEndpointStats) Reset() { *m = UpstreamEndpointStats{} } -func (m *UpstreamEndpointStats) String() string { return proto.CompactTextString(m) } -func (*UpstreamEndpointStats) ProtoMessage() {} -func (*UpstreamEndpointStats) Descriptor() ([]byte, []int) { - return fileDescriptor_load_report_e278ba272961bcc3, []int{1} -} -func (m *UpstreamEndpointStats) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpstreamEndpointStats.Unmarshal(m, b) -} -func (m *UpstreamEndpointStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpstreamEndpointStats.Marshal(b, m, deterministic) -} -func (dst *UpstreamEndpointStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpstreamEndpointStats.Merge(dst, src) -} -func (m *UpstreamEndpointStats) XXX_Size() int { - return xxx_messageInfo_UpstreamEndpointStats.Size(m) -} -func (m *UpstreamEndpointStats) XXX_DiscardUnknown() { - xxx_messageInfo_UpstreamEndpointStats.DiscardUnknown(m) -} - -var xxx_messageInfo_UpstreamEndpointStats proto.InternalMessageInfo - -func (m *UpstreamEndpointStats) GetAddress() *address.Address { - if m != nil { - return m.Address - } - return nil -} - -func (m *UpstreamEndpointStats) GetMetadata() *_struct.Struct { - if m != nil { - return m.Metadata - } - return nil -} - -func (m *UpstreamEndpointStats) GetTotalSuccessfulRequests() uint64 { - if m != nil { - return m.TotalSuccessfulRequests - } - return 0 -} - -func (m *UpstreamEndpointStats) GetTotalRequestsInProgress() uint64 { - if m != nil { - return m.TotalRequestsInProgress - } - return 0 -} - -func (m *UpstreamEndpointStats) GetTotalErrorRequests() uint64 { - if m != nil { - return m.TotalErrorRequests - } - return 0 -} - -func (m *UpstreamEndpointStats) GetTotalIssuedRequests() uint64 { - if m != nil { - return m.TotalIssuedRequests - } - return 0 -} - -func (m *UpstreamEndpointStats) GetLoadMetricStats() []*EndpointLoadMetricStats { - if m != nil { - return m.LoadMetricStats - } - return nil -} - -type EndpointLoadMetricStats struct { - MetricName string `protobuf:"bytes,1,opt,name=metric_name,json=metricName,proto3" json:"metric_name,omitempty"` - NumRequestsFinishedWithMetric uint64 `protobuf:"varint,2,opt,name=num_requests_finished_with_metric,json=numRequestsFinishedWithMetric,proto3" json:"num_requests_finished_with_metric,omitempty"` - TotalMetricValue float64 `protobuf:"fixed64,3,opt,name=total_metric_value,json=totalMetricValue,proto3" json:"total_metric_value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *EndpointLoadMetricStats) Reset() { *m = EndpointLoadMetricStats{} } -func (m *EndpointLoadMetricStats) String() string { return proto.CompactTextString(m) } -func (*EndpointLoadMetricStats) ProtoMessage() {} -func (*EndpointLoadMetricStats) Descriptor() ([]byte, []int) { - return fileDescriptor_load_report_e278ba272961bcc3, []int{2} -} -func (m *EndpointLoadMetricStats) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EndpointLoadMetricStats.Unmarshal(m, b) -} -func (m *EndpointLoadMetricStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EndpointLoadMetricStats.Marshal(b, m, deterministic) -} -func (dst *EndpointLoadMetricStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_EndpointLoadMetricStats.Merge(dst, src) -} -func (m *EndpointLoadMetricStats) XXX_Size() int { - return xxx_messageInfo_EndpointLoadMetricStats.Size(m) -} -func (m *EndpointLoadMetricStats) XXX_DiscardUnknown() { - xxx_messageInfo_EndpointLoadMetricStats.DiscardUnknown(m) -} - -var xxx_messageInfo_EndpointLoadMetricStats proto.InternalMessageInfo - -func (m *EndpointLoadMetricStats) GetMetricName() string { - if m != nil { - return m.MetricName - } - return "" -} - -func (m *EndpointLoadMetricStats) GetNumRequestsFinishedWithMetric() uint64 { - if m != nil { - return m.NumRequestsFinishedWithMetric - } - return 0 -} - -func (m *EndpointLoadMetricStats) GetTotalMetricValue() float64 { - if m != nil { - return m.TotalMetricValue - } - return 0 -} - -type ClusterStats struct { - ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` - ClusterServiceName string `protobuf:"bytes,6,opt,name=cluster_service_name,json=clusterServiceName,proto3" json:"cluster_service_name,omitempty"` - UpstreamLocalityStats []*UpstreamLocalityStats `protobuf:"bytes,2,rep,name=upstream_locality_stats,json=upstreamLocalityStats,proto3" json:"upstream_locality_stats,omitempty"` - TotalDroppedRequests uint64 `protobuf:"varint,3,opt,name=total_dropped_requests,json=totalDroppedRequests,proto3" json:"total_dropped_requests,omitempty"` - DroppedRequests []*ClusterStats_DroppedRequests `protobuf:"bytes,5,rep,name=dropped_requests,json=droppedRequests,proto3" json:"dropped_requests,omitempty"` - LoadReportInterval *duration.Duration `protobuf:"bytes,4,opt,name=load_report_interval,json=loadReportInterval,proto3" json:"load_report_interval,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ClusterStats) Reset() { *m = ClusterStats{} } -func (m *ClusterStats) String() string { return proto.CompactTextString(m) } -func (*ClusterStats) ProtoMessage() {} -func (*ClusterStats) Descriptor() ([]byte, []int) { - return fileDescriptor_load_report_e278ba272961bcc3, []int{3} -} -func (m *ClusterStats) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClusterStats.Unmarshal(m, b) -} -func (m *ClusterStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClusterStats.Marshal(b, m, deterministic) -} -func (dst *ClusterStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClusterStats.Merge(dst, src) -} -func (m *ClusterStats) XXX_Size() int { - return xxx_messageInfo_ClusterStats.Size(m) -} -func (m *ClusterStats) XXX_DiscardUnknown() { - xxx_messageInfo_ClusterStats.DiscardUnknown(m) -} - -var xxx_messageInfo_ClusterStats proto.InternalMessageInfo - -func (m *ClusterStats) GetClusterName() string { - if m != nil { - return m.ClusterName - } - return "" -} - -func (m *ClusterStats) GetClusterServiceName() string { - if m != nil { - return m.ClusterServiceName - } - return "" -} - -func (m *ClusterStats) GetUpstreamLocalityStats() []*UpstreamLocalityStats { - if m != nil { - return m.UpstreamLocalityStats - } - return nil -} - -func (m *ClusterStats) GetTotalDroppedRequests() uint64 { - if m != nil { - return m.TotalDroppedRequests - } - return 0 -} - -func (m *ClusterStats) GetDroppedRequests() []*ClusterStats_DroppedRequests { - if m != nil { - return m.DroppedRequests - } - return nil -} - -func (m *ClusterStats) GetLoadReportInterval() *duration.Duration { - if m != nil { - return m.LoadReportInterval - } - return nil -} - -type ClusterStats_DroppedRequests struct { - Category string `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"` - DroppedCount uint64 `protobuf:"varint,2,opt,name=dropped_count,json=droppedCount,proto3" json:"dropped_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ClusterStats_DroppedRequests) Reset() { *m = ClusterStats_DroppedRequests{} } -func (m *ClusterStats_DroppedRequests) String() string { return proto.CompactTextString(m) } -func (*ClusterStats_DroppedRequests) ProtoMessage() {} -func (*ClusterStats_DroppedRequests) Descriptor() ([]byte, []int) { - return fileDescriptor_load_report_e278ba272961bcc3, []int{3, 0} -} -func (m *ClusterStats_DroppedRequests) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClusterStats_DroppedRequests.Unmarshal(m, b) -} -func (m *ClusterStats_DroppedRequests) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClusterStats_DroppedRequests.Marshal(b, m, deterministic) -} -func (dst *ClusterStats_DroppedRequests) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClusterStats_DroppedRequests.Merge(dst, src) -} -func (m *ClusterStats_DroppedRequests) XXX_Size() int { - return xxx_messageInfo_ClusterStats_DroppedRequests.Size(m) -} -func (m *ClusterStats_DroppedRequests) XXX_DiscardUnknown() { - xxx_messageInfo_ClusterStats_DroppedRequests.DiscardUnknown(m) -} - -var xxx_messageInfo_ClusterStats_DroppedRequests proto.InternalMessageInfo - -func (m *ClusterStats_DroppedRequests) GetCategory() string { - if m != nil { - return m.Category - } - return "" -} - -func (m *ClusterStats_DroppedRequests) GetDroppedCount() uint64 { - if m != nil { - return m.DroppedCount - } - return 0 -} - -func init() { - proto.RegisterType((*UpstreamLocalityStats)(nil), "envoy.api.v2.endpoint.UpstreamLocalityStats") - proto.RegisterType((*UpstreamEndpointStats)(nil), "envoy.api.v2.endpoint.UpstreamEndpointStats") - proto.RegisterType((*EndpointLoadMetricStats)(nil), "envoy.api.v2.endpoint.EndpointLoadMetricStats") - proto.RegisterType((*ClusterStats)(nil), "envoy.api.v2.endpoint.ClusterStats") - proto.RegisterType((*ClusterStats_DroppedRequests)(nil), "envoy.api.v2.endpoint.ClusterStats.DroppedRequests") -} - -func init() { - proto.RegisterFile("envoy/api/v2/endpoint/load_report.proto", fileDescriptor_load_report_e278ba272961bcc3) -} - -var fileDescriptor_load_report_e278ba272961bcc3 = []byte{ - // 759 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x55, 0xcb, 0x6e, 0xd3, 0x4a, - 0x18, 0x96, 0x93, 0xb4, 0x4d, 0x27, 0xad, 0xd2, 0x33, 0xa7, 0x39, 0x49, 0x73, 0xce, 0xa1, 0x21, - 0x15, 0x22, 0x8b, 0xca, 0xae, 0xd2, 0x4a, 0x20, 0x58, 0x91, 0xb6, 0x88, 0x8a, 0x82, 0x2a, 0x47, - 0x80, 0x84, 0x04, 0xd6, 0xd4, 0x9e, 0xa6, 0x23, 0x39, 0x1e, 0x33, 0x97, 0x40, 0x1e, 0x82, 0x0d, - 0x8f, 0xc0, 0x23, 0xb0, 0x44, 0x42, 0xe2, 0x75, 0x78, 0x0b, 0xe4, 0xb9, 0x38, 0xd7, 0x4a, 0xec, - 0x90, 0xd8, 0xd9, 0xff, 0xf7, 0x7d, 0xfe, 0x6f, 0xdf, 0x8c, 0xc1, 0x5d, 0x9c, 0x8c, 0xe8, 0xd8, - 0x43, 0x29, 0xf1, 0x46, 0x5d, 0x0f, 0x27, 0x51, 0x4a, 0x49, 0x22, 0xbc, 0x98, 0xa2, 0x28, 0x60, - 0x38, 0xa5, 0x4c, 0xb8, 0x29, 0xa3, 0x82, 0xc2, 0x9a, 0x22, 0xba, 0x28, 0x25, 0xee, 0xa8, 0xeb, - 0x5a, 0x62, 0x73, 0x77, 0x46, 0x1f, 0x52, 0x86, 0x3d, 0x14, 0x45, 0x0c, 0x73, 0xae, 0x75, 0xcd, - 0xff, 0x16, 0x09, 0x97, 0x88, 0x63, 0x83, 0xde, 0x1a, 0x50, 0x3a, 0x88, 0xb1, 0xa7, 0xde, 0x2e, - 0xe5, 0x95, 0x17, 0x49, 0x86, 0x04, 0xa1, 0x89, 0x55, 0xcf, 0xe3, 0x5c, 0x30, 0x19, 0x9a, 0x9a, - 0x9a, 0xf5, 0x11, 0x8a, 0x49, 0x84, 0x04, 0xf6, 0xec, 0x83, 0x06, 0xda, 0x1f, 0x4b, 0xa0, 0xf6, - 0x22, 0xe5, 0x82, 0x61, 0x34, 0x3c, 0xa7, 0x21, 0x8a, 0x89, 0x18, 0xf7, 0x05, 0x12, 0x1c, 0xde, - 0x03, 0xe5, 0xd8, 0x04, 0x1a, 0x4e, 0xcb, 0xe9, 0x54, 0xba, 0xff, 0xba, 0x33, 0x9d, 0x65, 0x15, - 0xba, 0x56, 0xe3, 0xe7, 0x64, 0xf8, 0x00, 0xec, 0x08, 0x2a, 0x50, 0x1c, 0x70, 0x19, 0x86, 0x98, - 0xf3, 0x2b, 0x19, 0x07, 0x0c, 0xbf, 0x93, 0x98, 0x0b, 0xde, 0x28, 0xb4, 0x9c, 0x4e, 0xc9, 0xaf, - 0x2b, 0x42, 0x3f, 0xc7, 0x7d, 0x03, 0xc3, 0x87, 0xa0, 0xa9, 0xb5, 0x56, 0x10, 0x90, 0x24, 0x48, - 0x19, 0x1d, 0x64, 0x73, 0x6a, 0x14, 0xa7, 0xc4, 0x56, 0x72, 0x96, 0x5c, 0x18, 0x18, 0x1e, 0x80, - 0x6d, 0x2d, 0xc6, 0x8c, 0x51, 0x36, 0xc9, 0x59, 0x52, 0x32, 0xa8, 0xb0, 0xd3, 0x0c, 0xca, 0xd3, - 0x75, 0x41, 0x4d, 0x2b, 0x08, 0xe7, 0x12, 0x47, 0x13, 0x49, 0x59, 0x49, 0xfe, 0x56, 0xe0, 0x99, - 0xc2, 0x72, 0xcd, 0x6b, 0xf0, 0x97, 0xda, 0xf9, 0x10, 0x0b, 0x46, 0xc2, 0x80, 0x67, 0xc3, 0x6a, - 0xac, 0xb4, 0x8a, 0x9d, 0x4a, 0xd7, 0x75, 0x97, 0xae, 0xde, 0x3d, 0x35, 0x0f, 0xe7, 0x14, 0x45, - 0xcf, 0x94, 0x4c, 0x8d, 0xd8, 0xaf, 0xc6, 0xb3, 0x01, 0x18, 0x81, 0xba, 0x34, 0xcb, 0x08, 0xac, - 0xda, 0x64, 0x58, 0x53, 0x19, 0xf6, 0x6f, 0xc8, 0x60, 0x57, 0x68, 0x33, 0xe9, 0xef, 0xd7, 0xe4, - 0xb2, 0x30, 0x6c, 0x82, 0x72, 0xca, 0x08, 0x65, 0xd9, 0x66, 0x57, 0x5b, 0x4e, 0x67, 0xd3, 0xcf, - 0xdf, 0xdb, 0xdf, 0x8a, 0x13, 0x3f, 0xcc, 0xaa, 0x8e, 0xc0, 0x9a, 0xf1, 0xab, 0xb1, 0x43, 0x73, - 0x89, 0x1d, 0x1e,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2, 0xc2, 0x56, 0x3e, 0x39, 0x85, 0xb2, - 0x33, 0x39, 0x73, 0xb3, 0xb7, 0xe9, 0x11, 0xf8, 0x47, 0x0f, 0x24, 0x62, 0x34, 0x4d, 0xa7, 0x8d, - 0xa2, 0x2d, 0xa9, 0x7d, 0x77, 0xa2, 0xc1, 0xdc, 0x29, 0x6f, 0xc1, 0xd6, 0x02, 0x5f, 0x1b, 0xe5, - 0xf0, 0x86, 0x02, 0xa7, 0xc7, 0xe8, 0xce, 0x7d, 0xce, 0xaf, 0x46, 0x73, 0xdf, 0x7f, 0x0a, 0xb6, - 0xa7, 0xfe, 0x5f, 0x01, 0x49, 0x04, 0x66, 0x23, 0x14, 0x2b, 0xbf, 0x57, 0xba, 0x3b, 0x0b, 0x27, - 0xf5, 0xc4, 0xfc, 0x73, 0x7c, 0x98, 0xc9, 0x7c, 0xa5, 0x3a, 0x33, 0xa2, 0xe6, 0x1b, 0x50, 0x9d, - 0xaf, 0xff, 0x0e, 0x28, 0x87, 0x48, 0xe0, 0x01, 0x65, 0xe3, 0xc5, 0x1d, 0xe6, 0x10, 0xdc, 0x03, - 0x9b, 0xb6, 0xcd, 0x90, 0xca, 0x44, 0x18, 0x8f, 0x6d, 0x98, 0xe0, 0x71, 0x16, 0xeb, 0xdd, 0x07, - 0x7b, 0x84, 0xea, 0xae, 0x53, 0x46, 0x3f, 0x8c, 0x97, 0x0f, 0xa0, 0x57, 0x3d, 0xcf, 0x2b, 0xbb, - 0xc8, 0xca, 0xbe, 0x70, 0x2e, 0x57, 0x55, 0xfd, 0x87, 0x3f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x0f, - 0x69, 0xa4, 0xdd, 0xc2, 0x07, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/grpc/xds/internal/proto/envoy/service/discovery/v2/ads/ads.pb.go b/vendor/google.golang.org/grpc/xds/internal/proto/envoy/service/discovery/v2/ads/ads.pb.go deleted file mode 100755 index afd80838..00000000 --- a/vendor/google.golang.org/grpc/xds/internal/proto/envoy/service/discovery/v2/ads/ads.pb.go +++ /dev/null @@ -1,251 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: envoy/service/discovery/v2/ads.proto - -package v2 - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import discovery "google.golang.org/grpc/xds/internal/proto/envoy/api/v2/discovery" - -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 AdsDummy struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AdsDummy) Reset() { *m = AdsDummy{} } -func (m *AdsDummy) String() string { return proto.CompactTextString(m) } -func (*AdsDummy) ProtoMessage() {} -func (*AdsDummy) Descriptor() ([]byte, []int) { - return fileDescriptor_ads_e4cd1a296681dd94, []int{0} -} -func (m *AdsDummy) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AdsDummy.Unmarshal(m, b) -} -func (m *AdsDummy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AdsDummy.Marshal(b, m, deterministic) -} -func (dst *AdsDummy) XXX_Merge(src proto.Message) { - xxx_messageInfo_AdsDummy.Merge(dst, src) -} -func (m *AdsDummy) XXX_Size() int { - return xxx_messageInfo_AdsDummy.Size(m) -} -func (m *AdsDummy) XXX_DiscardUnknown() { - xxx_messageInfo_AdsDummy.DiscardUnknown(m) -} - -var xxx_messageInfo_AdsDummy proto.InternalMessageInfo - -func init() { - proto.RegisterType((*AdsDummy)(nil), "envoy.service.discovery.v2.AdsDummy") -} - -// 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 - -// AggregatedDiscoveryServiceClient is the client API for AggregatedDiscoveryService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AggregatedDiscoveryServiceClient interface { - StreamAggregatedResources(ctx context.Context, opts ...grpc.CallOption) (AggregatedDiscoveryService_StreamAggregatedResourcesClient, error) - DeltaAggregatedResources(ctx context.Context, opts ...grpc.CallOption) (AggregatedDiscoveryService_DeltaAggregatedResourcesClient, error) -} - -type aggregatedDiscoveryServiceClient struct { - cc *grpc.ClientConn -} - -func NewAggregatedDiscoveryServiceClient(cc *grpc.ClientConn) AggregatedDiscoveryServiceClient { - return &aggregatedDiscoveryServiceClient{cc} -} - -func (c *aggregatedDiscoveryServiceClient) StreamAggregatedResources(ctx context.Context, opts ...grpc.CallOption) (AggregatedDiscoveryService_StreamAggregatedResourcesClient, error) { - stream, err := c.cc.NewStream(ctx, &_AggregatedDiscoveryService_serviceDesc.Streams[0], "/envoy.service.discovery.v2.AggregatedDiscoveryService/StreamAggregatedResources", opts...) - if err != nil { - return nil, err - } - x := &aggregatedDiscoveryServiceStreamAggregatedResourcesClient{stream} - return x, nil -} - -type AggregatedDiscoveryService_StreamAggregatedResourcesClient interface { - Send(*discovery.DiscoveryRequest) error - Recv() (*discovery.DiscoveryResponse, error) - grpc.ClientStream -} - -type aggregatedDiscoveryServiceStreamAggregatedResourcesClient struct { - grpc.ClientStream -} - -func (x *aggregatedDiscoveryServiceStreamAggregatedResourcesClient) Send(m *discovery.DiscoveryRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *aggregatedDiscoveryServiceStreamAggregatedResourcesClient) Recv() (*discovery.DiscoveryResponse, error) { - m := new(discovery.DiscoveryResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *aggregatedDiscoveryServiceClient) DeltaAggregatedResources(ctx context.Context, opts ...grpc.CallOption) (AggregatedDiscoveryService_DeltaAggregatedResourcesClient, error) { - stream, err := c.cc.NewStream(ctx, &_AggregatedDiscoveryService_serviceDesc.Streams[1], "/envoy.service.discovery.v2.AggregatedDiscoveryService/DeltaAggregatedResources", opts...) - if err != nil { - return nil, err - } - x := &aggregatedDiscoveryServiceDeltaAggregatedResourcesClient{stream} - return x, nil -} - -type AggregatedDiscoveryService_DeltaAggregatedResourcesClient interface { - Send(*discovery.DeltaDiscoveryRequest) error - Recv() (*discovery.DeltaDiscoveryResponse, error) - grpc.ClientStream -} - -type aggregatedDiscoveryServiceDeltaAggregatedResourcesClient struct { - grpc.ClientStream -} - -func (x *aggregatedDiscoveryServiceDeltaAggregatedResourcesClient) Send(m *discovery.DeltaDiscoveryRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *aggregatedDiscoveryServiceDeltaAggregatedResourcesClient) Recv() (*discovery.DeltaDiscoveryResponse, error) { - m := new(discovery.DeltaDiscoveryResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// AggregatedDiscoveryServiceServer is the server API for AggregatedDiscoveryService service. -type AggregatedDiscoveryServiceServer interface { - StreamAggregatedResources(AggregatedDiscoveryService_StreamAggregatedResourcesServer) error - DeltaAggregatedResources(AggregatedDiscoveryService_DeltaAggregatedResourcesServer) error -} - -func RegisterAggregatedDiscoveryServiceServer(s *grpc.Server, srv AggregatedDiscoveryServiceServer) { - s.RegisterService(&_AggregatedDiscoveryService_serviceDesc, srv) -} - -func _AggregatedDiscoveryService_StreamAggregatedResources_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(AggregatedDiscoveryServiceServer).StreamAggregatedResources(&aggregatedDiscoveryServiceStreamAggregatedResourcesServer{stream}) -} - -type AggregatedDiscoveryService_StreamAggregatedResourcesServer interface { - Send(*discovery.DiscoveryResponse) error - Recv() (*discovery.DiscoveryRequest, error) - grpc.ServerStream -} - -type aggregatedDiscoveryServiceStreamAggregatedResourcesServer struct { - grpc.ServerStream -} - -func (x *aggregatedDiscoveryServiceStreamAggregatedResourcesServer) Send(m *discovery.DiscoveryResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *aggregatedDiscoveryServiceStreamAggregatedResourcesServer) Recv() (*discovery.DiscoveryRequest, error) { - m := new(discovery.DiscoveryRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _AggregatedDiscoveryService_DeltaAggregatedResources_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(AggregatedDiscoveryServiceServer).DeltaAggregatedResources(&aggregatedDiscoveryServiceDeltaAggregatedResourcesServer{stream}) -} - -type AggregatedDiscoveryService_DeltaAggregatedResourcesServer interface { - Send(*discovery.DeltaDiscoveryResponse) error - Recv() (*discovery.DeltaDiscoveryRequest, error) - grpc.ServerStream -} - -type aggregatedDiscoveryServiceDeltaAggregatedResourcesServer struct { - grpc.ServerStream -} - -func (x *aggregatedDiscoveryServiceDeltaAggregatedResourcesServer) Send(m *discovery.DeltaDiscoveryResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *aggregatedDiscoveryServiceDeltaAggregatedResourcesServer) Recv() (*discovery.DeltaDiscoveryRequest, error) { - m := new(discovery.DeltaDiscoveryRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -var _AggregatedDiscoveryService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "envoy.service.discovery.v2.AggregatedDiscoveryService", - HandlerType: (*AggregatedDiscoveryServiceServer)(nil), - Methods: []grpc.MethodDesc{}, - Streams: []grpc.StreamDesc{ - { - StreamName: "StreamAggregatedResources", - Handler: _AggregatedDiscoveryService_StreamAggregatedResources_Handler, - ServerStreams: true, - ClientStreams: true, - }, - { - StreamName: "DeltaAggregatedResources", - Handler: _AggregatedDiscoveryService_DeltaAggregatedResources_Handler, - ServerStreams: true, - ClientStreams: true, - }, - }, - Metadata: "envoy/service/discovery/v2/ads.proto", -} - -func init() { - proto.RegisterFile("envoy/service/discovery/v2/ads.proto", fileDescriptor_ads_e4cd1a296681dd94) -} - -var fileDescriptor_ads_e4cd1a296681dd94 = []byte{ - // 236 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xb1, 0x4e, 0xc3, 0x30, - 0x10, 0x86, 0x31, 0x03, 0x42, 0x1e, 0x33, 0x41, 0x84, 0x40, 0x2a, 0x1d, 0x3a, 0x5d, 0x90, 0x99, - 0x19, 0x5a, 0xe5, 0x01, 0xaa, 0x76, 0x63, 0x73, 0x93, 0x53, 0x64, 0x41, 0x7a, 0xc6, 0xe7, 0x58, - 0xf8, 0x0d, 0x78, 0x59, 0xde, 0x01, 0x39, 0x86, 0x16, 0x01, 0x61, 0xbe, 0xef, 0xff, 0xff, 0xd3, - 0x27, 0xe7, 0xb8, 0x0f, 0x14, 0x2b, 0x46, 0x17, 0x4c, 0x83, 0x55, 0x6b, 0xb8, 0xa1, 0x80, 0x2e, - 0x56, 0x41, 0x55, 0xba, 0x65, 0xb0, 0x8e, 0x3c, 0x15, 0xe5, 0x48, 0xc1, 0x27, 0x05, 0x07, 0x0a, - 0x82, 0x2a, 0xaf, 0x72, 0x83, 0xb6, 0x26, 0x65, 0x8e, 0xa7, 0x31, 0x39, 0x93, 0xf2, 0x7c, 0xd9, - 0x72, 0x3d, 0xf4, 0x7d, 0x54, 0xef, 0x42, 0x96, 0xcb, 0xae, 0x73, 0xd8, 0x69, 0x8f, 0x6d, 0xfd, - 0x45, 0x6e, 0x73, 0x6b, 0xb1, 0x93, 0x97, 0x5b, 0xef, 0x50, 0xf7, 0x47, 0x66, 0x83, 0x4c, 0x83, - 0x6b, 0x90, 0x8b, 0x6b, 0xc8, 0x2f, 0x68, 0x6b, 0x20, 0x28, 0x38, 0x84, 0x37, 0xf8, 0x32, 0x20, - 0xfb, 0xf2, 0x66, 0xf2, 0xce, 0x96, 0xf6, 0x8c, 0xb3, 0x93, 0x85, 0xb8, 0x13, 0xc5, 0x93, 0xbc, - 0xa8, 0xf1, 0xd9, 0xeb, 0xbf, 0x26, 0x6e, 0x7f, 0x54, 0x24, 0xee, 0xd7, 0xce, 0xfc, 0x7f, 0xe8, - 0xfb, 0xd8, 0xea, 0x41, 0x2e, 0x0c, 0x65, 0xde, 0x3a, 0x7a, 0x8d, 0x30, 0x6d, 0x71, 0x95, 0x2c, - 0xad, 0x93, 0xb1, 0xb5, 0x78, 0x3c, 0x0d, 0xea, 0x4d, 0x88, 0xdd, 0xd9, 0x68, 0xf0, 0xfe, 0x23, - 0x00, 0x00, 0xff, 0xff, 0x7e, 0x66, 0x01, 0x47, 0xa3, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/grpc/xds/internal/proto/envoy/service/load_stats/v2/lrs/lrs.pb.go b/vendor/google.golang.org/grpc/xds/internal/proto/envoy/service/load_stats/v2/lrs/lrs.pb.go deleted file mode 100755 index b0825d47..00000000 --- a/vendor/google.golang.org/grpc/xds/internal/proto/envoy/service/load_stats/v2/lrs/lrs.pb.go +++ /dev/null @@ -1,272 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: envoy/service/load_stats/v2/lrs.proto - -package v2 - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import duration "github.com/golang/protobuf/ptypes/duration" -import base "google.golang.org/grpc/xds/internal/proto/envoy/api/v2/core/base" -import load_report "google.golang.org/grpc/xds/internal/proto/envoy/api/v2/endpoint/load_report" -import _ "google.golang.org/grpc/xds/internal/proto/validate" - -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 LoadStatsRequest struct { - Node *base.Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` - ClusterStats []*load_report.ClusterStats `protobuf:"bytes,2,rep,name=cluster_stats,json=clusterStats,proto3" json:"cluster_stats,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LoadStatsRequest) Reset() { *m = LoadStatsRequest{} } -func (m *LoadStatsRequest) String() string { return proto.CompactTextString(m) } -func (*LoadStatsRequest) ProtoMessage() {} -func (*LoadStatsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_lrs_0f8f2c1d40a1b9f7, []int{0} -} -func (m *LoadStatsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LoadStatsRequest.Unmarshal(m, b) -} -func (m *LoadStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LoadStatsRequest.Marshal(b, m, deterministic) -} -func (dst *LoadStatsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_LoadStatsRequest.Merge(dst, src) -} -func (m *LoadStatsRequest) XXX_Size() int { - return xxx_messageInfo_LoadStatsRequest.Size(m) -} -func (m *LoadStatsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_LoadStatsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_LoadStatsRequest proto.InternalMessageInfo - -func (m *LoadStatsRequest) GetNode() *base.Node { - if m != nil { - return m.Node - } - return nil -} - -func (m *LoadStatsRequest) GetClusterStats() []*load_report.ClusterStats { - if m != nil { - return m.ClusterStats - } - return nil -} - -type LoadStatsResponse struct { - Clusters []string `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"` - LoadReportingInterval *duration.Duration `protobuf:"bytes,2,opt,name=load_reporting_interval,json=loadReportingInterval,proto3" json:"load_reporting_interval,omitempty"` - ReportEndpointGranularity bool `protobuf:"varint,3,opt,name=report_endpoint_granularity,json=reportEndpointGranularity,proto3" json:"report_endpoint_granularity,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LoadStatsResponse) Reset() { *m = LoadStatsResponse{} } -func (m *LoadStatsResponse) String() string { return proto.CompactTextString(m) } -func (*LoadStatsResponse) ProtoMessage() {} -func (*LoadStatsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_lrs_0f8f2c1d40a1b9f7, []int{1} -} -func (m *LoadStatsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LoadStatsResponse.Unmarshal(m, b) -} -func (m *LoadStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LoadStatsResponse.Marshal(b, m, deterministic) -} -func (dst *LoadStatsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_LoadStatsResponse.Merge(dst, src) -} -func (m *LoadStatsResponse) XXX_Size() int { - return xxx_messageInfo_LoadStatsResponse.Size(m) -} -func (m *LoadStatsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_LoadStatsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_LoadStatsResponse proto.InternalMessageInfo - -func (m *LoadStatsResponse) GetClusters() []string { - if m != nil { - return m.Clusters - } - return nil -} - -func (m *LoadStatsResponse) GetLoadReportingInterval() *duration.Duration { - if m != nil { - return m.LoadReportingInterval - } - return nil -} - -func (m *LoadStatsResponse) GetReportEndpointGranularity() bool { - if m != nil { - return m.ReportEndpointGranularity - } - return false -} - -func init() { - proto.RegisterType((*LoadStatsRequest)(nil), "envoy.service.load_stats.v2.LoadStatsRequest") - proto.RegisterType((*LoadStatsResponse)(nil), "envoy.service.load_stats.v2.LoadStatsResponse") -} - -// 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 - -// LoadReportingServiceClient is the client API for LoadReportingService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type LoadReportingServiceClient interface { - StreamLoadStats(ctx context.Context, opts ...grpc.CallOption) (LoadReportingService_StreamLoadStatsClient, error) -} - -type loadReportingServiceClient struct { - cc *grpc.ClientConn -} - -func NewLoadReportingServiceClient(cc *grpc.ClientConn) LoadReportingServiceClient { - return &loadReportingServiceClient{cc} -} - -func (c *loadReportingServiceClient) StreamLoadStats(ctx context.Context, opts ...grpc.CallOption) (LoadReportingService_StreamLoadStatsClient, error) { - stream, err := c.cc.NewStream(ctx, &_LoadReportingService_serviceDesc.Streams[0], "/envoy.service.load_stats.v2.LoadReportingService/StreamLoadStats", opts...) - if err != nil { - return nil, err - } - x := &loadReportingServiceStreamLoadStatsClient{stream} - return x, nil -} - -type LoadReportingService_StreamLoadStatsClient interface { - Send(*LoadStatsRequest) error - Recv() (*LoadStatsResponse, error) - grpc.ClientStream -} - -type loadReportingServiceStreamLoadStatsClient struct { - grpc.ClientStream -} - -func (x *loadReportingServiceStreamLoadStatsClient) Send(m *LoadStatsRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *loadReportingServiceStreamLoadStatsClient) Recv() (*LoadStatsResponse, error) { - m := new(LoadStatsResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// LoadReportingServiceServer is the server API for LoadReportingService service. -type LoadReportingServiceServer interface { - StreamLoadStats(LoadReportingService_StreamLoadStatsServer) error -} - -func RegisterLoadReportingServiceServer(s *grpc.Server, srv LoadReportingServiceServer) { - s.RegisterService(&_LoadReportingService_serviceDesc, srv) -} - -func _LoadReportingService_StreamLoadStats_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(LoadReportingServiceServer).StreamLoadStats(&loadReportingServiceStreamLoadStatsServer{stream}) -} - -type LoadReportingService_StreamLoadStatsServer interface { - Send(*LoadStatsResponse) error - Recv() (*LoadStatsRequest, error) - grpc.ServerStream -} - -type loadReportingServiceStreamLoadStatsServer struct { - grpc.ServerStream -} - -func (x *loadReportingServiceStreamLoadStatsServer) Send(m *LoadStatsResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *loadReportingServiceStreamLoadStatsServer) Recv() (*LoadStatsRequest, error) { - m := new(LoadStatsRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -var _LoadReportingService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "envoy.service.load_stats.v2.LoadReportingService", - HandlerType: (*LoadReportingServiceServer)(nil), - Methods: []grpc.MethodDesc{}, - Streams: []grpc.StreamDesc{ - { - StreamName: "StreamLoadStats", - Handler: _LoadReportingService_StreamLoadStats_Handler, - ServerStreams: true, - ClientStreams: true, - }, - }, - Metadata: "envoy/service/load_stats/v2/lrs.proto", -} - -func init() { - proto.RegisterFile("envoy/service/load_stats/v2/lrs.proto", fileDescriptor_lrs_0f8f2c1d40a1b9f7) -} - -var fileDescriptor_lrs_0f8f2c1d40a1b9f7 = []byte{ - // 429 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0x41, 0x8e, 0xd3, 0x30, - 0x14, 0x86, 0x71, 0x0b, 0xa8, 0x78, 0x40, 0x80, 0x05, 0x6a, 0xa6, 0x83, 0x50, 0x55, 0x04, 0x04, - 0x21, 0x6c, 0x14, 0xf6, 0xb3, 0x28, 0x20, 0x40, 0xaa, 0xd0, 0x90, 0xee, 0xd8, 0x54, 0x6e, 0xf2, - 0x88, 0x2c, 0x05, 0xbf, 0x60, 0x3b, 0x16, 0xbd, 0x01, 0x6c, 0x58, 0x70, 0x1c, 0x56, 0x9c, 0x80, - 0x7b, 0x70, 0x0b, 0x94, 0x38, 0x99, 0xc9, 0xb0, 0xa8, 0x66, 0x17, 0xeb, 0x7d, 0xff, 0xf3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f9, 0x38, 0xbe, 0xb6, 0xa4, 0xbf, 0xfe, 0xfe, 0x1e, 0x5f, - 0xf9, 0x49, 0x46, 0x13, 0x92, 0x9e, 0xce, 0xd8, 0x07, 0x3a, 0x1d, 0xf4, 0xa2, 0x74, 0xb1, 0x51, - 0xda, 0x81, 0xf1, 0xb2, 0x8c, 0x46, 0x6d, 0x8e, 0x43, 0x1e, 0x4a, 0xe2, 0x7d, 0x49, 0xfc, 0x55, - 0x57, 0x52, 0x7a, 0xb7, 0x51, 0xa6, 0xbd, 0xf0, 0x5d, 0xa7, 0x63, 0xc7, 0xf4, 0x28, 0x6c, 0xdb, - 0xf4, 0xf6, 0x37, 0x85, 0x91, 0xba, 0x2e, 0xa5, 0x51, 0x6e, 0x17, 0x8d, 0xe7, 0x24, 0x9e, 0xa4, - 0x87, 0x01, 0x79, 0xdd, 0x11, 0x6f, 0xce, 0x80, 0xe4, 0x07, 0xa1, 0x77, 0x56, 0xc3, 0xcd, 0xeb, - 0xf0, 0x06, 0x98, 0xa7, 0x37, 0xd7, 0xce, 0x80, 0xfc, 0x7c, 0x1a, 0x97, 0x3d, 0xe3, 0x7b, 0x9e, - 0x09, 0xff, 0xff, 0x17, 0xcd, 0xf8, 0x45, 0xf1, 0xd0, 0xe2, 0xe2, 0x52, 0x4c, 0x9e, 0x93, 0xe5, - 0x31, 0x7d, 0xa2, 0x30, 0x28, 0x2b, 0x83, 0x5f, 0x77, 0xfb, 0x96, 0x2c, 0x27, 0x2b, 0x63, 0x4f, - 0x9a, 0xaa, 0x4e, 0xc8, 0xc7, 0x91, 0x4f, 0xbe, 0x11, 0xb2, 0xbd, 0xda, 0x56, 0xf7, 0xe2, 0x5f, - 0x00, 0x00, 0x00, 0xff, 0xff, 0x44, 0xa2, 0xf5, 0xb3, 0xfa, 0x02, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/grpc/xds/internal/proto/envoy/type/percent/percent.pb.go b/vendor/google.golang.org/grpc/xds/internal/proto/envoy/type/percent/percent.pb.go deleted file mode 100755 index e30f1a57..00000000 --- a/vendor/google.golang.org/grpc/xds/internal/proto/envoy/type/percent/percent.pb.go +++ /dev/null @@ -1,160 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: envoy/type/percent.proto - -package envoy_type - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "google.golang.org/grpc/xds/internal/proto/validate" - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation 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 FractionalPercent_DenominatorType int32 - -const ( - FractionalPercent_HUNDRED FractionalPercent_DenominatorType = 0 - FractionalPercent_TEN_THOUSAND FractionalPercent_DenominatorType = 1 - FractionalPercent_MILLION FractionalPercent_DenominatorType = 2 -) - -var FractionalPercent_DenominatorType_name = map[int32]string{ - 0: "HUNDRED", - 1: "TEN_THOUSAND", - 2: "MILLION", -} -var FractionalPercent_DenominatorType_value = map[string]int32{ - "HUNDRED": 0, - "TEN_THOUSAND": 1, - "MILLION": 2, -} - -func (x FractionalPercent_DenominatorType) String() string { - return proto.EnumName(FractionalPercent_DenominatorType_name, int32(x)) -} -func (FractionalPercent_DenominatorType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_percent_cd85ccaca181f641, []int{1, 0} -} - -type Percent struct { - Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Percent) Reset() { *m = Percent{} } -func (m *Percent) String() string { return proto.CompactTextString(m) } -func (*Percent) ProtoMessage() {} -func (*Percent) Descriptor() ([]byte, []int) { - return fileDescriptor_percent_cd85ccaca181f641, []int{0} -} -func (m *Percent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Percent.Unmarshal(m, b) -} -func (m *Percent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Percent.Marshal(b, m, deterministic) -} -func (dst *Percent) XXX_Merge(src proto.Message) { - xxx_messageInfo_Percent.Merge(dst, src) -} -func (m *Percent) XXX_Size() int { - return xxx_messageInfo_Percent.Size(m) -} -func (m *Percent) XXX_DiscardUnknown() { - xxx_messageInfo_Percent.DiscardUnknown(m) -} - -var xxx_messageInfo_Percent proto.InternalMessageInfo - -func (m *Percent) GetValue() float64 { - if m != nil { - return m.Value - } - return 0 -} - -type FractionalPercent struct { - Numerator uint32 `protobuf:"varint,1,opt,name=numerator,proto3" json:"numerator,omitempty"` - Denominator FractionalPercent_DenominatorType `protobuf:"varint,2,opt,name=denominator,proto3,enum=envoy.type.FractionalPercent_DenominatorType" json:"denominator,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FractionalPercent) Reset() { *m = FractionalPercent{} } -func (m *FractionalPercent) String() string { return proto.CompactTextString(m) } -func (*FractionalPercent) ProtoMessage() {} -func (*FractionalPercent) Descriptor() ([]byte, []int) { - return fileDescriptor_percent_cd85ccaca181f641, []int{1} -} -func (m *FractionalPercent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FractionalPercent.Unmarshal(m, b) -} -func (m *FractionalPercent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FractionalPercent.Marshal(b, m, deterministic) -} -func (dst *FractionalPercent) XXX_Merge(src proto.Message) { - xxx_messageInfo_FractionalPercent.Merge(dst, src) -} -func (m *FractionalPercent) XXX_Size() int { - return xxx_messageInfo_FractionalPercent.Size(m) -} -func (m *FractionalPercent) XXX_DiscardUnknown() { - xxx_messageInfo_FractionalPercent.DiscardUnknown(m) -} - -var xxx_messageInfo_FractionalPercent proto.InternalMessageInfo - -func (m *FractionalPercent) GetNumerator() uint32 { - if m != nil { - return m.Numerator - } - return 0 -} - -func (m *FractionalPercent) GetDenominator() FractionalPercent_DenominatorType { - if m != nil { - return m.Denominator - } - return FractionalPercent_HUNDRED -} - -func init() { - proto.RegisterType((*Percent)(nil), "envoy.type.Percent") - proto.RegisterType((*FractionalPercent)(nil), "envoy.type.FractionalPercent") - proto.RegisterEnum("envoy.type.FractionalPercent_DenominatorType", FractionalPercent_DenominatorType_name, FractionalPercent_DenominatorType_value) -} - -func init() { proto.RegisterFile("envoy/type/percent.proto", fileDescriptor_percent_cd85ccaca181f641) } - -var fileDescriptor_percent_cd85ccaca181f641 = []byte{ - // 277 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x48, 0xcd, 0x2b, 0xcb, - 0xaf, 0xd4, 0x2f, 0xa9, 0x2c, 0x48, 0xd5, 0x2f, 0x48, 0x2d, 0x4a, 0x4e, 0xcd, 0x2b, 0xd1, 0x2b, - 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x02, 0xcb, 0xe8, 0x81, 0x64, 0xa4, 0xc4, 0xcb, 0x12, 0x73, - 0x32, 0x53, 0x12, 0x4b, 0x52, 0xf5, 0x61, 0x0c, 0x88, 0x22, 0x25, 0x2b, 0x2e, 0xf6, 0x00, 0x88, - 0x2e, 0x21, 0x7d, 0x2e, 0xd6, 0xb2, 0xc4, 0x9c, 0xd2, 0x54, 0x09, 0x46, 0x05, 0x46, 0x0d, 0x46, - 0x27, 0xc9, 0x5d, 0x2f, 0x0f, 0x30, 0x8b, 0x08, 0x09, 0x49, 0x32, 0x80, 0x41, 0xa4, 0x83, 0x26, - 0x03, 0x14, 0x04, 0x41, 0xd4, 0x29, 0x9d, 0x65, 0xe4, 0x12, 0x74, 0x2b, 0x4a, 0x4c, 0x2e, 0xc9, - 0xcc, 0xcf, 0x4b, 0xcc, 0x81, 0x19, 0x23, 0xc3, 0xc5, 0x99, 0x57, 0x9a, 0x9b, 0x5a, 0x94, 0x58, - 0x92, 0x5f, 0x04, 0x36, 0x8a, 0x37, 0x08, 0x21, 0x20, 0x14, 0xcd, 0xc5, 0x9d, 0x92, 0x9a, 0x97, - 0x9f, 0x9b, 0x99, 0x07, 0x96, 0x67, 0x52, 0x60, 0xd4, 0xe0, 0x33, 0xd2, 0xd5, 0x43, 0x38, 0x55, - 0x0f, 0xc3, 0x44, 0x3d, 0x17, 0x84, 0x86, 0x90, 0xca, 0x82, 0x54, 0x27, 0x2e, 0x90, 0xcb, 0x58, - 0x9b, 0x18, 0x99, 0x04, 0x18, 0x83, 0x90, 0x4d, 0x53, 0xb2, 0xe5, 0xe2, 0x47, 0x53, 0x2b, 0xc4, - 0xcd, 0xc5, 0xee, 0x11, 0xea, 0xe7, 0x12, 0xe4, 0xea, 0x22, 0xc0, 0x20, 0x24, 0xc0, 0xc5, 0x13, - 0xe2, 0xea, 0x17, 0x1f, 0xe2, 0xe1, 0x1f, 0x1a, 0xec, 0xe8, 0xe7, 0x22, 0xc0, 0x08, 0x92, 0xf6, - 0xf5, 0xf4, 0xf1, 0xf1, 0xf4, 0xf7, 0x13, 0x60, 0x72, 0xd2, 0xe2, 0x92, 0xc8, 0xcc, 0x87, 0x38, - 0xa5, 0xa0, 0x28, 0xbf, 0xa2, 0x12, 0xc9, 0x55, 0x4e, 0x3c, 0x50, 0xc7, 0x04, 0x80, 0x42, 0x2d, - 0x80, 0x31, 0x89, 0x0d, 0x1c, 0x7c, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x3d, 0x79, 0xd6, - 0xbb, 0x7f, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/grpc/xds/internal/proto/envoy/type/range/range.pb.go b/vendor/google.golang.org/grpc/xds/internal/proto/envoy/type/range/range.pb.go deleted file mode 100755 index feee6ac9..00000000 --- a/vendor/google.golang.org/grpc/xds/internal/proto/envoy/type/range/range.pb.go +++ /dev/null @@ -1,132 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: envoy/type/range.proto - -package envoy_type - -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 Int64Range struct { - Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` - 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 *Int64Range) Reset() { *m = Int64Range{} } -func (m *Int64Range) String() string { return proto.CompactTextString(m) } -func (*Int64Range) ProtoMessage() {} -func (*Int64Range) Descriptor() ([]byte, []int) { - return fileDescriptor_range_b0dd53fd27ccc9b2, []int{0} -} -func (m *Int64Range) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Int64Range.Unmarshal(m, b) -} -func (m *Int64Range) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Int64Range.Marshal(b, m, deterministic) -} -func (dst *Int64Range) XXX_Merge(src proto.Message) { - xxx_messageInfo_Int64Range.Merge(dst, src) -} -func (m *Int64Range) XXX_Size() int { - return xxx_messageInfo_Int64Range.Size(m) -} -func (m *Int64Range) XXX_DiscardUnknown() { - xxx_messageInfo_Int64Range.DiscardUnknown(m) -} - -var xxx_messageInfo_Int64Range proto.InternalMessageInfo - -func (m *Int64Range) GetStart() int64 { - if m != nil { - return m.Start - } - return 0 -} - -func (m *Int64Range) GetEnd() int64 { - if m != nil { - return m.End - } - return 0 -} - -type DoubleRange struct { - Start float64 `protobuf:"fixed64,1,opt,name=start,proto3" json:"start,omitempty"` - End float64 `protobuf:"fixed64,2,opt,name=end,proto3" json:"end,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DoubleRange) Reset() { *m = DoubleRange{} } -func (m *DoubleRange) String() string { return proto.CompactTextString(m) } -func (*DoubleRange) ProtoMessage() {} -func (*DoubleRange) Descriptor() ([]byte, []int) { - return fileDescriptor_range_b0dd53fd27ccc9b2, []int{1} -} -func (m *DoubleRange) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DoubleRange.Unmarshal(m, b) -} -func (m *DoubleRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DoubleRange.Marshal(b, m, deterministic) -} -func (dst *DoubleRange) XXX_Merge(src proto.Message) { - xxx_messageInfo_DoubleRange.Merge(dst, src) -} -func (m *DoubleRange) XXX_Size() int { - return xxx_messageInfo_DoubleRange.Size(m) -} -func (m *DoubleRange) XXX_DiscardUnknown() { - xxx_messageInfo_DoubleRange.DiscardUnknown(m) -} - -var xxx_messageInfo_DoubleRange proto.InternalMessageInfo - -func (m *DoubleRange) GetStart() float64 { - if m != nil { - return m.Start - } - return 0 -} - -func (m *DoubleRange) GetEnd() float64 { - if m != nil { - return m.End - } - return 0 -} - -func init() { - proto.RegisterType((*Int64Range)(nil), "envoy.type.Int64Range") - proto.RegisterType((*DoubleRange)(nil), "envoy.type.DoubleRange") -} - -func init() { proto.RegisterFile("envoy/type/range.proto", fileDescriptor_range_b0dd53fd27ccc9b2) } - -var fileDescriptor_range_b0dd53fd27ccc9b2 = []byte{ - // 154 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4b, 0xcd, 0x2b, 0xcb, - 0xaf, 0xd4, 0x2f, 0xa9, 0x2c, 0x48, 0xd5, 0x2f, 0x4a, 0xcc, 0x4b, 0x4f, 0xd5, 0x2b, 0x28, 0xca, - 0x2f, 0xc9, 0x17, 0xe2, 0x02, 0x8b, 0xeb, 0x81, 0xc4, 0x95, 0x4c, 0xb8, 0xb8, 0x3c, 0xf3, 0x4a, - 0xcc, 0x4c, 0x82, 0x40, 0xf2, 0x42, 0x22, 0x5c, 0xac, 0xc5, 0x25, 0x89, 0x45, 0x25, 0x12, 0x8c, - 0x0a, 0x8c, 0x1a, 0xcc, 0x41, 0x10, 0x8e, 0x90, 0x00, 0x17, 0x73, 0x6a, 0x5e, 0x8a, 0x04, 0x13, - 0x58, 0x0c, 0xc4, 0x54, 0x32, 0xe5, 0xe2, 0x76, 0xc9, 0x2f, 0x4d, 0xca, 0x49, 0xc5, 0xa2, 0x8d, - 0x11, 0x8b, 0x36, 0x46, 0xb0, 0x36, 0x27, 0x13, 0x2e, 0x89, 0xcc, 0x7c, 0x3d, 0xb0, 0xed, 0x05, - 0x45, 0xf9, 0x15, 0x95, 0x7a, 0x08, 0x87, 0x38, 0x71, 0x81, 0x8d, 0x0a, 0x00, 0x39, 0x30, 0x80, - 0x31, 0x0a, 0xe2, 0xc4, 0x78, 0x90, 0x4c, 0x12, 0x1b, 0xd8, 0xd5, 0xc6, 0x80, 0x00, 0x00, 0x00, - 0xff, 0xff, 0x7f, 0xad, 0x02, 0xe6, 0xcf, 0x00, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/grpc/xds/internal/proto/udpa/data/orca/v1/orca_load_report/orca_load_report.pb.go b/vendor/google.golang.org/grpc/xds/internal/proto/udpa/data/orca/v1/orca_load_report/orca_load_report.pb.go deleted file mode 100755 index 0ab45d8c..00000000 --- a/vendor/google.golang.org/grpc/xds/internal/proto/udpa/data/orca/v1/orca_load_report/orca_load_report.pb.go +++ /dev/null @@ -1,127 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: udpa/data/orca/v1/orca_load_report.proto - -package v1 - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "google.golang.org/grpc/xds/internal/proto/validate" - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation 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 OrcaLoadReport struct { - CpuUtilization float64 `protobuf:"fixed64,1,opt,name=cpu_utilization,json=cpuUtilization,proto3" json:"cpu_utilization,omitempty"` - MemUtilization float64 `protobuf:"fixed64,2,opt,name=mem_utilization,json=memUtilization,proto3" json:"mem_utilization,omitempty"` - Rps uint64 `protobuf:"varint,3,opt,name=rps,proto3" json:"rps,omitempty"` - RequestCost map[string]float64 `protobuf:"bytes,4,rep,name=request_cost,json=requestCost,proto3" json:"request_cost,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"` - Utilization map[string]float64 `protobuf:"bytes,5,rep,name=utilization,proto3" json:"utilization,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OrcaLoadReport) Reset() { *m = OrcaLoadReport{} } -func (m *OrcaLoadReport) String() string { return proto.CompactTextString(m) } -func (*OrcaLoadReport) ProtoMessage() {} -func (*OrcaLoadReport) Descriptor() ([]byte, []int) { - return fileDescriptor_orca_load_report_f7a8d2b84dee17a7, []int{0} -} -func (m *OrcaLoadReport) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OrcaLoadReport.Unmarshal(m, b) -} -func (m *OrcaLoadReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OrcaLoadReport.Marshal(b, m, deterministic) -} -func (dst *OrcaLoadReport) XXX_Merge(src proto.Message) { - xxx_messageInfo_OrcaLoadReport.Merge(dst, src) -} -func (m *OrcaLoadReport) XXX_Size() int { - return xxx_messageInfo_OrcaLoadReport.Size(m) -} -func (m *OrcaLoadReport) XXX_DiscardUnknown() { - xxx_messageInfo_OrcaLoadReport.DiscardUnknown(m) -} - -var xxx_messageInfo_OrcaLoadReport proto.InternalMessageInfo - -func (m *OrcaLoadReport) GetCpuUtilization() float64 { - if m != nil { - return m.CpuUtilization - } - return 0 -} - -func (m *OrcaLoadReport) GetMemUtilization() float64 { - if m != nil { - return m.MemUtilization - } - return 0 -} - -func (m *OrcaLoadReport) GetRps() uint64 { - if m != nil { - return m.Rps - } - return 0 -} - -func (m *OrcaLoadReport) GetRequestCost() map[string]float64 { - if m != nil { - return m.RequestCost - } - return nil -} - -func (m *OrcaLoadReport) GetUtilization() map[string]float64 { - if m != nil { - return m.Utilization - } - return nil -} - -func init() { - proto.RegisterType((*OrcaLoadReport)(nil), "udpa.data.orca.v1.OrcaLoadReport") - proto.RegisterMapType((map[string]float64)(nil), "udpa.data.orca.v1.OrcaLoadReport.RequestCostEntry") - proto.RegisterMapType((map[string]float64)(nil), "udpa.data.orca.v1.OrcaLoadReport.UtilizationEntry") -} - -func init() { - proto.RegisterFile("udpa/data/orca/v1/orca_load_report.proto", fileDescriptor_orca_load_report_f7a8d2b84dee17a7) -} - -var fileDescriptor_orca_load_report_f7a8d2b84dee17a7 = []byte{ - // 354 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x28, 0x4d, 0x29, 0x48, - 0xd4, 0x4f, 0x49, 0x2c, 0x49, 0xd4, 0xcf, 0x2f, 0x4a, 0x4e, 0xd4, 0x2f, 0x33, 0x04, 0xd3, 0xf1, - 0x39, 0xf9, 0x89, 0x29, 0xf1, 0x45, 0xa9, 0x05, 0xf9, 0x45, 0x25, 0x7a, 0x05, 0x45, 0xf9, 0x25, - 0xf9, 0x42, 0x82, 0x20, 0x95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x24, 0xd7, 0x82, 0x8d, - 0x75, 0xd2, 0x02, 0x79, 0x4a, 0x60, 0x16, 0x23, 0xaf, 0x16, 0xba, 0x4f, 0x61, 0x82, 0x08, 0xef, - 0x22, 0x5b, 0x29, 0x65, 0xc7, 0x25, 0x80, 0xee, 0x46, 0x90, 0xff, 0xb3, 0x53, 0x2b, 0xc1, 0x31, - 0xc1, 0x19, 0x04, 0x62, 0x0a, 0x89, 0x70, 0xb1, 0x96, 0x25, 0xe6, 0x94, 0xa6, 0x42, 0x82, 0x34, - 0x08, 0xc2, 0xb1, 0x62, 0xb2, 0x60, 0x04, 0xe9, 0x47, 0x77, 0x0c, 0x29, 0xfa, 0x9d, 0x6c, 0xb8, - 0xe4, 0x33, 0xf3, 0xf5, 0x52, 0xf3, 0xca, 0xf2, 0x2b, 0x0b, 0x8a, 0xf2, 0x2b, 0x2a, 0x31, 0xfd, - 0xee, 0x24, 0x8c, 0xea, 0xf9, 0x00, 0x50, 0x62, 0x0a, 0x60, 0x8c, 0x62, 0x2a, 0x33, 0x4c, 0x62, - 0x03, 0xa7, 0x2c, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x4f, 0x12, 0xa0, 0x7f, 0xb1, 0x02, - 0x00, 0x00, -} diff --git a/vendor/google.golang.org/grpc/xds/internal/proto/udpa/service/orca/v1/orca/orca.pb.go b/vendor/google.golang.org/grpc/xds/internal/proto/udpa/service/orca/v1/orca/orca.pb.go deleted file mode 100755 index d7613b69..00000000 --- a/vendor/google.golang.org/grpc/xds/internal/proto/udpa/service/orca/v1/orca/orca.pb.go +++ /dev/null @@ -1,203 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: udpa/service/orca/v1/orca.proto - -package v1 - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import duration "github.com/golang/protobuf/ptypes/duration" -import orca_load_report "google.golang.org/grpc/xds/internal/proto/udpa/data/orca/v1/orca_load_report" -import _ "google.golang.org/grpc/xds/internal/proto/validate" - -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 OrcaLoadReportRequest struct { - ReportInterval *duration.Duration `protobuf:"bytes,1,opt,name=report_interval,json=reportInterval,proto3" json:"report_interval,omitempty"` - RequestCostNames []string `protobuf:"bytes,2,rep,name=request_cost_names,json=requestCostNames,proto3" json:"request_cost_names,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *OrcaLoadReportRequest) Reset() { *m = OrcaLoadReportRequest{} } -func (m *OrcaLoadReportRequest) String() string { return proto.CompactTextString(m) } -func (*OrcaLoadReportRequest) ProtoMessage() {} -func (*OrcaLoadReportRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_orca_ca77e509304795c3, []int{0} -} -func (m *OrcaLoadReportRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OrcaLoadReportRequest.Unmarshal(m, b) -} -func (m *OrcaLoadReportRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OrcaLoadReportRequest.Marshal(b, m, deterministic) -} -func (dst *OrcaLoadReportRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_OrcaLoadReportRequest.Merge(dst, src) -} -func (m *OrcaLoadReportRequest) XXX_Size() int { - return xxx_messageInfo_OrcaLoadReportRequest.Size(m) -} -func (m *OrcaLoadReportRequest) XXX_DiscardUnknown() { - xxx_messageInfo_OrcaLoadReportRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_OrcaLoadReportRequest proto.InternalMessageInfo - -func (m *OrcaLoadReportRequest) GetReportInterval() *duration.Duration { - if m != nil { - return m.ReportInterval - } - return nil -} - -func (m *OrcaLoadReportRequest) GetRequestCostNames() []string { - if m != nil { - return m.RequestCostNames - } - return nil -} - -func init() { - proto.RegisterType((*OrcaLoadReportRequest)(nil), "udpa.service.orca.v1.OrcaLoadReportRequest") -} - -// 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 - -// OpenRcaServiceClient is the client API for OpenRcaService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type OpenRcaServiceClient interface { - StreamCoreMetrics(ctx context.Context, in *OrcaLoadReportRequest, opts ...grpc.CallOption) (OpenRcaService_StreamCoreMetricsClient, error) -} - -type openRcaServiceClient struct { - cc *grpc.ClientConn -} - -func NewOpenRcaServiceClient(cc *grpc.ClientConn) OpenRcaServiceClient { - return &openRcaServiceClient{cc} -} - -func (c *openRcaServiceClient) StreamCoreMetrics(ctx context.Context, in *OrcaLoadReportRequest, opts ...grpc.CallOption) (OpenRcaService_StreamCoreMetricsClient, error) { - stream, err := c.cc.NewStream(ctx, &_OpenRcaService_serviceDesc.Streams[0], "/udpa.service.orca.v1.OpenRcaService/StreamCoreMetrics", opts...) - if err != nil { - return nil, err - } - x := &openRcaServiceStreamCoreMetricsClient{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 OpenRcaService_StreamCoreMetricsClient interface { - Recv() (*orca_load_report.OrcaLoadReport, error) - grpc.ClientStream -} - -type openRcaServiceStreamCoreMetricsClient struct { - grpc.ClientStream -} - -func (x *openRcaServiceStreamCoreMetricsClient) Recv() (*orca_load_report.OrcaLoadReport, error) { - m := new(orca_load_report.OrcaLoadReport) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// OpenRcaServiceServer is the server API for OpenRcaService service. -type OpenRcaServiceServer interface { - StreamCoreMetrics(*OrcaLoadReportRequest, OpenRcaService_StreamCoreMetricsServer) error -} - -func RegisterOpenRcaServiceServer(s *grpc.Server, srv OpenRcaServiceServer) { - s.RegisterService(&_OpenRcaService_serviceDesc, srv) -} - -func _OpenRcaService_StreamCoreMetrics_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(OrcaLoadReportRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(OpenRcaServiceServer).StreamCoreMetrics(m, &openRcaServiceStreamCoreMetricsServer{stream}) -} - -type OpenRcaService_StreamCoreMetricsServer interface { - Send(*orca_load_report.OrcaLoadReport) error - grpc.ServerStream -} - -type openRcaServiceStreamCoreMetricsServer struct { - grpc.ServerStream -} - -func (x *openRcaServiceStreamCoreMetricsServer) Send(m *orca_load_report.OrcaLoadReport) error { - return x.ServerStream.SendMsg(m) -} - -var _OpenRcaService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "udpa.service.orca.v1.OpenRcaService", - HandlerType: (*OpenRcaServiceServer)(nil), - Methods: []grpc.MethodDesc{}, - Streams: []grpc.StreamDesc{ - { - StreamName: "StreamCoreMetrics", - Handler: _OpenRcaService_StreamCoreMetrics_Handler, - ServerStreams: true, - }, - }, - Metadata: "udpa/service/orca/v1/orca.proto", -} - -func init() { - proto.RegisterFile("udpa/service/orca/v1/orca.proto", fileDescriptor_orca_ca77e509304795c3) -} - -var fileDescriptor_orca_ca77e509304795c3 = []byte{ - // 300 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x90, 0x4f, 0x4b, 0xc3, 0x40, - 0x10, 0xc5, 0x49, 0x05, 0xa1, 0x2b, 0x54, 0x0d, 0x8a, 0xb5, 0x07, 0xad, 0x3d, 0x15, 0x94, 0x8d, - 0xad, 0xf8, 0x05, 0x5a, 0x2f, 0x82, 0xda, 0x92, 0xde, 0xbc, 0x84, 0x69, 0x32, 0x96, 0x85, 0x34, - 0x13, 0x67, 0x37, 0xab, 0xfd, 0x08, 0x7e, 0x6b, 0xc9, 0x6e, 0x7a, 0x10, 0xe2, 0x69, 0xff, 0xbc, - 0xf7, 0x9b, 0xc7, 0x3c, 0x71, 0x5d, 0x65, 0x25, 0x44, 0x1a, 0xd9, 0xaa, 0x14, 0x23, 0xe2, 0x14, - 0x22, 0x3b, 0x71, 0xa7, 0x2c, 0x99, 0x0c, 0x85, 0x67, 0xb5, 0x41, 0x36, 0x06, 0xe9, 0x04, 0x3b, - 0x19, 0x8c, 0x1d, 0x96, 0x81, 0x81, 0x3f, 0x4c, 0x92, 0x13, 0x64, 0x09, 0x63, 0x49, 0x6c, 0x3c, - 0x3f, 0xb8, 0xda, 0x10, 0x6d, 0x72, 0x8c, 0xdc, 0x6b, 0x5d, 0x7d, 0x44, 0x59, 0xc5, 0x60, 0x14, - 0x15, 0x8d, 0x7e, 0x61, 0x21, 0x57, 0x19, 0x18, 0x8c, 0xf6, 0x17, 0x2f, 0x8c, 0x7e, 0x02, 0x71, - 0xbe, 0xe0, 0x14, 0x5e, 0x08, 0xb2, 0xd8, 0x4d, 0x8c, 0xf1, 0xb3, 0x42, 0x6d, 0xc2, 0x99, 0x38, - 0xf6, 0x11, 0x89, 0x2a, 0x0c, 0xb2, 0x85, 0xbc, 0x1f, 0x0c, 0x83, 0xf1, 0xd1, 0xf4, 0x52, 0xfa, - 0x30, 0xb9, 0x0f, 0x93, 0x4f, 0x4d, 0x58, 0xdc, 0xf3, 0xc4, 0x73, 0x03, 0x84, 0x77, 0x22, 0x64, - 0x3f, 0x2e, 0x49, 0x49, 0x9b, 0xa4, 0x80, 0x2d, 0xea, 0x7e, 0x67, 0x78, 0x30, 0xee, 0xc6, 0x27, - 0x8d, 0x32, 0x27, 0x6d, 0xde, 0xea, 0xff, 0xe9, 0x97, 0xe8, 0x2d, 0x4a, 0x2c, 0xe2, 0x14, 0x56, - 0xbe, 0x88, 0x10, 0xc5, 0xe9, 0xca, 0x30, 0xc2, 0x76, 0x4e, 0x8c, 0xaf, 0x68, 0x58, 0xa5, 0x3a, - 0xbc, 0x95, 0x6d, 0x65, 0xc9, 0xd6, 0x2d, 0x06, 0x37, 0xde, 0x5c, 0x77, 0xf8, 0x8f, 0xf3, 0x3e, - 0x98, 0x3d, 0x8a, 0x91, 0x22, 0x89, 0x85, 0xa5, 0x5d, 0xc9, 0xf4, 0xbd, 0x6b, 0x0d, 0x98, 0x75, - 0x6b, 0x6e, 0x59, 0xef, 0xbc, 0x0c, 0xde, 0x3b, 0x76, 0xb2, 0x3e, 0x74, 0x05, 0x3c, 0xfc, 0x06, - 0x00, 0x00, 0xff, 0xff, 0xac, 0x32, 0x62, 0x96, 0xde, 0x01, 0x00, 0x00, -} diff --git a/vendor/google.golang.org/grpc/xds/internal/proto/validate/validate.pb.go b/vendor/google.golang.org/grpc/xds/internal/proto/validate/validate.pb.go deleted file mode 100755 index f46210c8..00000000 --- a/vendor/google.golang.org/grpc/xds/internal/proto/validate/validate.pb.go +++ /dev/null @@ -1,3214 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: validate/validate.proto - -package validate // import "google.golang.org/grpc/xds/internal/proto/validate" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor" -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 FieldRules struct { - // Types that are valid to be assigned to Type: - // *FieldRules_Float - // *FieldRules_Double - // *FieldRules_Int32 - // *FieldRules_Int64 - // *FieldRules_Uint32 - // *FieldRules_Uint64 - // *FieldRules_Sint32 - // *FieldRules_Sint64 - // *FieldRules_Fixed32 - // *FieldRules_Fixed64 - // *FieldRules_Sfixed32 - // *FieldRules_Sfixed64 - // *FieldRules_Bool - // *FieldRules_String_ - // *FieldRules_Bytes - // *FieldRules_Enum - // *FieldRules_Message - // *FieldRules_Repeated - // *FieldRules_Map - // *FieldRules_Any - // *FieldRules_Duration - // *FieldRules_Timestamp - Type isFieldRules_Type `protobuf_oneof:"type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FieldRules) Reset() { *m = FieldRules{} } -func (m *FieldRules) String() string { return proto.CompactTextString(m) } -func (*FieldRules) ProtoMessage() {} -func (*FieldRules) Descriptor() ([]byte, []int) { - return fileDescriptor_validate_943c924e5dee4604, []int{0} -} -func (m *FieldRules) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FieldRules.Unmarshal(m, b) -} -func (m *FieldRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FieldRules.Marshal(b, m, deterministic) -} -func (dst *FieldRules) XXX_Merge(src proto.Message) { - xxx_messageInfo_FieldRules.Merge(dst, src) -} -func (m *FieldRules) XXX_Size() int { - return xxx_messageInfo_FieldRules.Size(m) -} -func (m *FieldRules) XXX_DiscardUnknown() { - xxx_messageInfo_FieldRules.DiscardUnknown(m) -} - -var xxx_messageInfo_FieldRules proto.InternalMessageInfo - -type isFieldRules_Type interface { - isFieldRules_Type() -} - -type FieldRules_Float struct { - Float *FloatRules `protobuf:"bytes,1,opt,name=float,oneof"` -} - -type FieldRules_Double struct { - Double *DoubleRules `protobuf:"bytes,2,opt,name=double,oneof"` -} - -type FieldRules_Int32 struct { - Int32 *Int32Rules `protobuf:"bytes,3,opt,name=int32,oneof"` -} - -type FieldRules_Int64 struct { - Int64 *Int64Rules `protobuf:"bytes,4,opt,name=int64,oneof"` -} - -type FieldRules_Uint32 struct { - Uint32 *UInt32Rules `protobuf:"bytes,5,opt,name=uint32,oneof"` -} - -type FieldRules_Uint64 struct { - Uint64 *UInt64Rules `protobuf:"bytes,6,opt,name=uint64,oneof"` -} - -type FieldRules_Sint32 struct { - Sint32 *SInt32Rules `protobuf:"bytes,7,opt,name=sint32,oneof"` -} - -type FieldRules_Sint64 struct { - Sint64 *SInt64Rules `protobuf:"bytes,8,opt,name=sint64,oneof"` -} - -type FieldRules_Fixed32 struct { - Fixed32 *Fixed32Rules `protobuf:"bytes,9,opt,name=fixed32,oneof"` -} - -type FieldRules_Fixed64 struct { - Fixed64 *Fixed64Rules `protobuf:"bytes,10,opt,name=fixed64,oneof"` -} - -type FieldRules_Sfixed32 struct { - Sfixed32 *SFixed32Rules `protobuf:"bytes,11,opt,name=sfixed32,oneof"` -} - -type FieldRules_Sfixed64 struct { - Sfixed64 *SFixed64Rules `protobuf:"bytes,12,opt,name=sfixed64,oneof"` -} - -type FieldRules_Bool struct { - Bool *BoolRules `protobuf:"bytes,13,opt,name=bool,oneof"` -} - -type FieldRules_String_ struct { - String_ *StringRules `protobuf:"bytes,14,opt,name=string,oneof"` -} - -type FieldRules_Bytes struct { - Bytes *BytesRules `protobuf:"bytes,15,opt,name=bytes,oneof"` -} - -type FieldRules_Enum struct { - Enum *EnumRules `protobuf:"bytes,16,opt,name=enum,oneof"` -} - -type FieldRules_Message struct { - Message *MessageRules `protobuf:"bytes,17,opt,name=message,oneof"` -} - -type FieldRules_Repeated struct { - Repeated *RepeatedRules `protobuf:"bytes,18,opt,name=repeated,oneof"` -} - -type FieldRules_Map struct { - Map *MapRules `protobuf:"bytes,19,opt,name=map,oneof"` -} - -type FieldRules_Any struct { - Any *AnyRules `protobuf:"bytes,20,opt,name=any,oneof"` -} - -type FieldRules_Duration struct { - Duration *DurationRules `protobuf:"bytes,21,opt,name=duration,oneof"` -} - -type FieldRules_Timestamp struct { - Timestamp *TimestampRules `protobuf:"bytes,22,opt,name=timestamp,oneof"` -} - -func (*FieldRules_Float) isFieldRules_Type() {} - -func (*FieldRules_Double) isFieldRules_Type() {} - -func (*FieldRules_Int32) isFieldRules_Type() {} - -func (*FieldRules_Int64) isFieldRules_Type() {} - -func (*FieldRules_Uint32) isFieldRules_Type() {} - -func (*FieldRules_Uint64) isFieldRules_Type() {} - -func (*FieldRules_Sint32) isFieldRules_Type() {} - -func (*FieldRules_Sint64) isFieldRules_Type() {} - -func (*FieldRules_Fixed32) isFieldRules_Type() {} - -func (*FieldRules_Fixed64) isFieldRules_Type() {} - -func (*FieldRules_Sfixed32) isFieldRules_Type() {} - -func (*FieldRules_Sfixed64) isFieldRules_Type() {} - -func (*FieldRules_Bool) isFieldRules_Type() {} - -func (*FieldRules_String_) isFieldRules_Type() {} - -func (*FieldRules_Bytes) isFieldRules_Type() {} - -func (*FieldRules_Enum) isFieldRules_Type() {} - -func (*FieldRules_Message) isFieldRules_Type() {} - -func (*FieldRules_Repeated) isFieldRules_Type() {} - -func (*FieldRules_Map) isFieldRules_Type() {} - -func (*FieldRules_Any) isFieldRules_Type() {} - -func (*FieldRules_Duration) isFieldRules_Type() {} - -func (*FieldRules_Timestamp) isFieldRules_Type() {} - -func (m *FieldRules) GetType() isFieldRules_Type { - if m != nil { - return m.Type - } - return nil -} - -func (m *FieldRules) GetFloat() *FloatRules { - if x, ok := m.GetType().(*FieldRules_Float); ok { - return x.Float - } - return nil -} - -func (m *FieldRules) GetDouble() *DoubleRules { - if x, ok := m.GetType().(*FieldRules_Double); ok { - return x.Double - } - return nil -} - -func (m *FieldRules) GetInt32() *Int32Rules { - if x, ok := m.GetType().(*FieldRules_Int32); ok { - return x.Int32 - } - return nil -} - -func (m *FieldRules) GetInt64() *Int64Rules { - if x, ok := m.GetType().(*FieldRules_Int64); ok { - return x.Int64 - } - return nil -} - -func (m *FieldRules) GetUint32() *UInt32Rules { - if x, ok := m.GetType().(*FieldRules_Uint32); ok { - return x.Uint32 - } - return nil -} - -func (m *FieldRules) GetUint64() *UInt64Rules { - if x, ok := m.GetType().(*FieldRules_Uint64); ok { - return x.Uint64 - } - return nil -} - -func (m *FieldRules) GetSint32() *SInt32Rules { - if x, ok := m.GetType().(*FieldRules_Sint32); ok { - return x.Sint32 - } - return nil -} - -func (m *FieldRules) GetSint64() *SInt64Rules { - if x, ok := m.GetType().(*FieldRules_Sint64); ok { - return x.Sint64 - } - return nil -} - -func (m *FieldRules) GetFixed32() *Fixed32Rules { - if x, ok := m.GetType().(*FieldRules_Fixed32); ok { - return x.Fixed32 - } - return nil -} - -func (m *FieldRules) GetFixed64() *Fixed64Rules { - if x, ok := m.GetType().(*FieldRules_Fixed64); ok { - return x.Fixed64 - } - return nil -} - -func (m *FieldRules) GetSfixed32() *SFixed32Rules { - if x, ok := m.GetType().(*FieldRules_Sfixed32); ok { - return x.Sfixed32 - } - return nil -} - -func (m *FieldRules) GetSfixed64() *SFixed64Rules { - if x, ok := m.GetType().(*FieldRules_Sfixed64); ok { - return x.Sfixed64 - } - return nil -} - -func (m *FieldRules) GetBool() *BoolRules { - if x, ok := m.GetType().(*FieldRules_Bool); ok { - return x.Bool - } - return nil -} - -func (m *FieldRules) GetString_() *StringRules { - if x, ok := m.GetType().(*FieldRules_String_); ok { - return x.String_ - } - return nil -} - -func (m *FieldRules) GetBytes() *BytesRules { - if x, ok := m.GetType().(*FieldRules_Bytes); ok { - return x.Bytes - } - return nil -} - -func (m *FieldRules) GetEnum() *EnumRules { - if x, ok := m.GetType().(*FieldRules_Enum); ok { - return x.Enum - } - return nil -} - -func (m *FieldRules) GetMessage() *MessageRules { - if x, ok := m.GetType().(*FieldRules_Message); ok { - return x.Message - } - return nil -} - -func (m *FieldRules) GetRepeated() *RepeatedRules { - if x, ok := m.GetType().(*FieldRules_Repeated); ok { - return x.Repeated - } - return nil -} - -func (m *FieldRules) GetMap() *MapRules { - if x, ok := m.GetType().(*FieldRules_Map); ok { - return x.Map - } - return nil -} - -func (m *FieldRules) GetAny() *AnyRules { - if x, ok := m.GetType().(*FieldRules_Any); ok { - return x.Any - } - return nil -} - -func (m *FieldRules) GetDuration() *DurationRules { - if x, ok := m.GetType().(*FieldRules_Duration); ok { - return x.Duration - } - return nil -} - -func (m *FieldRules) GetTimestamp() *TimestampRules { - if x, ok := m.GetType().(*FieldRules_Timestamp); ok { - return x.Timestamp - } - return nil -} - -// XXX_OneofFuncs is for the internal use of the proto package. -func (*FieldRules) 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 _FieldRules_OneofMarshaler, _FieldRules_OneofUnmarshaler, _FieldRules_OneofSizer, []interface{}{ - (*FieldRules_Float)(nil), - (*FieldRules_Double)(nil), - (*FieldRules_Int32)(nil), - (*FieldRules_Int64)(nil), - (*FieldRules_Uint32)(nil), - (*FieldRules_Uint64)(nil), - (*FieldRules_Sint32)(nil), - (*FieldRules_Sint64)(nil), - (*FieldRules_Fixed32)(nil), - (*FieldRules_Fixed64)(nil), - (*FieldRules_Sfixed32)(nil), - (*FieldRules_Sfixed64)(nil), - (*FieldRules_Bool)(nil), - (*FieldRules_String_)(nil), - (*FieldRules_Bytes)(nil), - (*FieldRules_Enum)(nil), - (*FieldRules_Message)(nil), - (*FieldRules_Repeated)(nil), - (*FieldRules_Map)(nil), - (*FieldRules_Any)(nil), - (*FieldRules_Duration)(nil), - (*FieldRules_Timestamp)(nil), - } -} - -func _FieldRules_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*FieldRules) - // type - switch x := m.Type.(type) { - case *FieldRules_Float: - b.EncodeVarint(1<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Float); err != nil { - return err - } - case *FieldRules_Double: - b.EncodeVarint(2<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Double); err != nil { - return err - } - case *FieldRules_Int32: - b.EncodeVarint(3<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Int32); err != nil { - return err - } - case *FieldRules_Int64: - b.EncodeVarint(4<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Int64); err != nil { - return err - } - case *FieldRules_Uint32: - b.EncodeVarint(5<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Uint32); err != nil { - return err - } - case *FieldRules_Uint64: - b.EncodeVarint(6<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Uint64); err != nil { - return err - } - case *FieldRules_Sint32: - b.EncodeVarint(7<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Sint32); err != nil { - return err - } - case *FieldRules_Sint64: - b.EncodeVarint(8<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Sint64); err != nil { - return err - } - case *FieldRules_Fixed32: - b.EncodeVarint(9<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Fixed32); err != nil { - return err - } - case *FieldRules_Fixed64: - b.EncodeVarint(10<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Fixed64); err != nil { - return err - } - case *FieldRules_Sfixed32: - b.EncodeVarint(11<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Sfixed32); err != nil { - return err - } - case *FieldRules_Sfixed64: - b.EncodeVarint(12<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Sfixed64); err != nil { - return err - } - case *FieldRules_Bool: - b.EncodeVarint(13<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Bool); err != nil { - return err - } - case *FieldRules_String_: - b.EncodeVarint(14<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.String_); err != nil { - return err - } - case *FieldRules_Bytes: - b.EncodeVarint(15<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Bytes); err != nil { - return err - } - case *FieldRules_Enum: - b.EncodeVarint(16<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Enum); err != nil { - return err - } - case *FieldRules_Message: - b.EncodeVarint(17<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Message); err != nil { - return err - } - case *FieldRules_Repeated: - b.EncodeVarint(18<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Repeated); err != nil { - return err - } - case *FieldRules_Map: - b.EncodeVarint(19<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Map); err != nil { - return err - } - case *FieldRules_Any: - b.EncodeVarint(20<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Any); err != nil { - return err - } - case *FieldRules_Duration: - b.EncodeVarint(21<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Duration); err != nil { - return err - } - case *FieldRules_Timestamp: - b.EncodeVarint(22<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Timestamp); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("FieldRules.Type has unexpected type %T", x) - } - return nil -} - -func _FieldRules_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*FieldRules) - switch tag { - case 1: // type.float - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(FloatRules) - err := b.DecodeMessage(msg) - m.Type = &FieldRules_Float{msg} - return true, err - case 2: // type.double - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(DoubleRules) - err := b.DecodeMessage(msg) - m.Type = &FieldRules_Double{msg} - return true, err - case 3: // type.int32 - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(Int32Rules) - err := b.DecodeMessage(msg) - m.Type = &FieldRules_Int32{msg} - return true, err - case 4: // type.int64 - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(Int64Rules) - err := b.DecodeMessage(msg) - m.Type = &FieldRules_Int64{msg} - return true, err - case 5: // type.uint32 - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(UInt32Rules) - err := b.DecodeMessage(msg) - m.Type = &FieldRules_Uint32{msg} - return true, err - case 6: // type.uint64 - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(UInt64Rules) - err := b.DecodeMessage(msg) - m.Type = &FieldRules_Uint64{msg} - return true, err - case 7: // type.sint32 - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(SInt32Rules) - err := b.DecodeMessage(msg) - m.Type = &FieldRules_Sint32{msg} - return true, err - case 8: // type.sint64 - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(SInt64Rules) - err := b.DecodeMessage(msg) - m.Type = &FieldRules_Sint64{msg} - return true, err - case 9: // type.fixed32 - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(Fixed32Rules) - err := b.DecodeMessage(msg) - m.Type = &FieldRules_Fixed32{msg} - return true, err - case 10: // type.fixed64 - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(Fixed64Rules) - err := b.DecodeMessage(msg) - m.Type = &FieldRules_Fixed64{msg} - return true, err - case 11: // type.sfixed32 - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(SFixed32Rules) - err := b.DecodeMessage(msg) - m.Type = &FieldRules_Sfixed32{msg} - return true, err - case 12: // type.sfixed64 - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(SFixed64Rules) - err := b.DecodeMessage(msg) - m.Type = &FieldRules_Sfixed64{msg} - return true, err - case 13: // type.bool - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(BoolRules) - err := b.DecodeMessage(msg) - m.Type = &FieldRules_Bool{msg} - return true, err - case 14: // type.string - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(StringRules) - err := b.DecodeMessage(msg) - m.Type = &FieldRules_String_{msg} - return true, err - case 15: // type.bytes - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(BytesRules) - err := b.DecodeMessage(msg) - m.Type = &FieldRules_Bytes{msg} - return true, err - case 16: // type.enum - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(EnumRules) - err := b.DecodeMessage(msg) - m.Type = &FieldRules_Enum{msg} - return true, err - case 17: // type.message - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(MessageRules) - err := b.DecodeMessage(msg) - m.Type = &FieldRules_Message{msg} - return true, err - case 18: // type.repeated - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(RepeatedRules) - err := b.DecodeMessage(msg) - m.Type = &FieldRules_Repeated{msg} - return true, err - case 19: // type.map - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(MapRules) - err := b.DecodeMessage(msg) - m.Type = &FieldRules_Map{msg} - return true, err - case 20: // type.any - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(AnyRules) - err := b.DecodeMessage(msg) - m.Type = &FieldRules_Any{msg} - return true, err - case 21: // type.duration - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(DurationRules) - err := b.DecodeMessage(msg) - m.Type = &FieldRules_Duration{msg} - return true, err - case 22: // type.timestamp - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(TimestampRules) - err := b.DecodeMessage(msg) - m.Type = &FieldRules_Timestamp{msg} - return true, err - default: - return false, nil - } -} - -func _FieldRules_OneofSizer(msg proto.Message) (n int) { - m := msg.(*FieldRules) - // type - switch x := m.Type.(type) { - case *FieldRules_Float: - s := proto.Size(x.Float) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *FieldRules_Double: - s := proto.Size(x.Double) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *FieldRules_Int32: - s := proto.Size(x.Int32) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *FieldRules_Int64: - s := proto.Size(x.Int64) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *FieldRules_Uint32: - s := proto.Size(x.Uint32) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *FieldRules_Uint64: - s := proto.Size(x.Uint64) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *FieldRules_Sint32: - s := proto.Size(x.Sint32) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *FieldRules_Sint64: - s := proto.Size(x.Sint64) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *FieldRules_Fixed32: - s := proto.Size(x.Fixed32) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *FieldRules_Fixed64: - s := proto.Size(x.Fixed64) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *FieldRules_Sfixed32: - s := proto.Size(x.Sfixed32) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *FieldRules_Sfixed64: - s := proto.Size(x.Sfixed64) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *FieldRules_Bool: - s := proto.Size(x.Bool) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *FieldRules_String_: - s := proto.Size(x.String_) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *FieldRules_Bytes: - s := proto.Size(x.Bytes) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *FieldRules_Enum: - s := proto.Size(x.Enum) - n += 2 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *FieldRules_Message: - s := proto.Size(x.Message) - n += 2 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *FieldRules_Repeated: - s := proto.Size(x.Repeated) - n += 2 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *FieldRules_Map: - s := proto.Size(x.Map) - n += 2 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *FieldRules_Any: - s := proto.Size(x.Any) - n += 2 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *FieldRules_Duration: - s := proto.Size(x.Duration) - n += 2 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *FieldRules_Timestamp: - s := proto.Size(x.Timestamp) - 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 -} - -type FloatRules struct { - Const *float32 `protobuf:"fixed32,1,opt,name=const" json:"const,omitempty"` - Lt *float32 `protobuf:"fixed32,2,opt,name=lt" json:"lt,omitempty"` - Lte *float32 `protobuf:"fixed32,3,opt,name=lte" json:"lte,omitempty"` - Gt *float32 `protobuf:"fixed32,4,opt,name=gt" json:"gt,omitempty"` - Gte *float32 `protobuf:"fixed32,5,opt,name=gte" json:"gte,omitempty"` - In []float32 `protobuf:"fixed32,6,rep,name=in" json:"in,omitempty"` - NotIn []float32 `protobuf:"fixed32,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FloatRules) Reset() { *m = FloatRules{} } -func (m *FloatRules) String() string { return proto.CompactTextString(m) } -func (*FloatRules) ProtoMessage() {} -func (*FloatRules) Descriptor() ([]byte, []int) { - return fileDescriptor_validate_943c924e5dee4604, []int{1} -} -func (m *FloatRules) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FloatRules.Unmarshal(m, b) -} -func (m *FloatRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FloatRules.Marshal(b, m, deterministic) -} -func (dst *FloatRules) XXX_Merge(src proto.Message) { - xxx_messageInfo_FloatRules.Merge(dst, src) -} -func (m *FloatRules) XXX_Size() int { - return xxx_messageInfo_FloatRules.Size(m) -} -func (m *FloatRules) XXX_DiscardUnknown() { - xxx_messageInfo_FloatRules.DiscardUnknown(m) -} - -var xxx_messageInfo_FloatRules proto.InternalMessageInfo - -func (m *FloatRules) GetConst() float32 { - if m != nil && m.Const != nil { - return *m.Const - } - return 0 -} - -func (m *FloatRules) GetLt() float32 { - if m != nil && m.Lt != nil { - return *m.Lt - } - return 0 -} - -func (m *FloatRules) GetLte() float32 { - if m != nil && m.Lte != nil { - return *m.Lte - } - return 0 -} - -func (m *FloatRules) GetGt() float32 { - if m != nil && m.Gt != nil { - return *m.Gt - } - return 0 -} - -func (m *FloatRules) GetGte() float32 { - if m != nil && m.Gte != nil { - return *m.Gte - } - return 0 -} - -func (m *FloatRules) GetIn() []float32 { - if m != nil { - return m.In - } - return nil -} - -func (m *FloatRules) GetNotIn() []float32 { - if m != nil { - return m.NotIn - } - return nil -} - -type DoubleRules struct { - Const *float64 `protobuf:"fixed64,1,opt,name=const" json:"const,omitempty"` - Lt *float64 `protobuf:"fixed64,2,opt,name=lt" json:"lt,omitempty"` - Lte *float64 `protobuf:"fixed64,3,opt,name=lte" json:"lte,omitempty"` - Gt *float64 `protobuf:"fixed64,4,opt,name=gt" json:"gt,omitempty"` - Gte *float64 `protobuf:"fixed64,5,opt,name=gte" json:"gte,omitempty"` - In []float64 `protobuf:"fixed64,6,rep,name=in" json:"in,omitempty"` - NotIn []float64 `protobuf:"fixed64,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DoubleRules) Reset() { *m = DoubleRules{} } -func (m *DoubleRules) String() string { return proto.CompactTextString(m) } -func (*DoubleRules) ProtoMessage() {} -func (*DoubleRules) Descriptor() ([]byte, []int) { - return fileDescriptor_validate_943c924e5dee4604, []int{2} -} -func (m *DoubleRules) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DoubleRules.Unmarshal(m, b) -} -func (m *DoubleRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DoubleRules.Marshal(b, m, deterministic) -} -func (dst *DoubleRules) XXX_Merge(src proto.Message) { - xxx_messageInfo_DoubleRules.Merge(dst, src) -} -func (m *DoubleRules) XXX_Size() int { - return xxx_messageInfo_DoubleRules.Size(m) -} -func (m *DoubleRules) XXX_DiscardUnknown() { - xxx_messageInfo_DoubleRules.DiscardUnknown(m) -} - -var xxx_messageInfo_DoubleRules proto.InternalMessageInfo - -func (m *DoubleRules) GetConst() float64 { - if m != nil && m.Const != nil { - return *m.Const - } - return 0 -} - -func (m *DoubleRules) GetLt() float64 { - if m != nil && m.Lt != nil { - return *m.Lt - } - return 0 -} - -func (m *DoubleRules) GetLte() float64 { - if m != nil && m.Lte != nil { - return *m.Lte - } - return 0 -} - -func (m *DoubleRules) GetGt() float64 { - if m != nil && m.Gt != nil { - return *m.Gt - } - return 0 -} - -func (m *DoubleRules) GetGte() float64 { - if m != nil && m.Gte != nil { - return *m.Gte - } - return 0 -} - -func (m *DoubleRules) GetIn() []float64 { - if m != nil { - return m.In - } - return nil -} - -func (m *DoubleRules) GetNotIn() []float64 { - if m != nil { - return m.NotIn - } - return nil -} - -type Int32Rules struct { - Const *int32 `protobuf:"varint,1,opt,name=const" json:"const,omitempty"` - Lt *int32 `protobuf:"varint,2,opt,name=lt" json:"lt,omitempty"` - Lte *int32 `protobuf:"varint,3,opt,name=lte" json:"lte,omitempty"` - Gt *int32 `protobuf:"varint,4,opt,name=gt" json:"gt,omitempty"` - Gte *int32 `protobuf:"varint,5,opt,name=gte" json:"gte,omitempty"` - In []int32 `protobuf:"varint,6,rep,name=in" json:"in,omitempty"` - NotIn []int32 `protobuf:"varint,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Int32Rules) Reset() { *m = Int32Rules{} } -func (m *Int32Rules) String() string { return proto.CompactTextString(m) } -func (*Int32Rules) ProtoMessage() {} -func (*Int32Rules) Descriptor() ([]byte, []int) { - return fileDescriptor_validate_943c924e5dee4604, []int{3} -} -func (m *Int32Rules) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Int32Rules.Unmarshal(m, b) -} -func (m *Int32Rules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Int32Rules.Marshal(b, m, deterministic) -} -func (dst *Int32Rules) XXX_Merge(src proto.Message) { - xxx_messageInfo_Int32Rules.Merge(dst, src) -} -func (m *Int32Rules) XXX_Size() int { - return xxx_messageInfo_Int32Rules.Size(m) -} -func (m *Int32Rules) XXX_DiscardUnknown() { - xxx_messageInfo_Int32Rules.DiscardUnknown(m) -} - -var xxx_messageInfo_Int32Rules proto.InternalMessageInfo - -func (m *Int32Rules) GetConst() int32 { - if m != nil && m.Const != nil { - return *m.Const - } - return 0 -} - -func (m *Int32Rules) GetLt() int32 { - if m != nil && m.Lt != nil { - return *m.Lt - } - return 0 -} - -func (m *Int32Rules) GetLte() int32 { - if m != nil && m.Lte != nil { - return *m.Lte - } - return 0 -} - -func (m *Int32Rules) GetGt() int32 { - if m != nil && m.Gt != nil { - return *m.Gt - } - return 0 -} - -func (m *Int32Rules) GetGte() int32 { - if m != nil && m.Gte != nil { - return *m.Gte - } - return 0 -} - -func (m *Int32Rules) GetIn() []int32 { - if m != nil { - return m.In - } - return nil -} - -func (m *Int32Rules) GetNotIn() []int32 { - if m != nil { - return m.NotIn - } - return nil -} - -type Int64Rules struct { - Const *int64 `protobuf:"varint,1,opt,name=const" json:"const,omitempty"` - Lt *int64 `protobuf:"varint,2,opt,name=lt" json:"lt,omitempty"` - Lte *int64 `protobuf:"varint,3,opt,name=lte" json:"lte,omitempty"` - Gt *int64 `protobuf:"varint,4,opt,name=gt" json:"gt,omitempty"` - Gte *int64 `protobuf:"varint,5,opt,name=gte" json:"gte,omitempty"` - In []int64 `protobuf:"varint,6,rep,name=in" json:"in,omitempty"` - NotIn []int64 `protobuf:"varint,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Int64Rules) Reset() { *m = Int64Rules{} } -func (m *Int64Rules) String() string { return proto.CompactTextString(m) } -func (*Int64Rules) ProtoMessage() {} -func (*Int64Rules) Descriptor() ([]byte, []int) { - return fileDescriptor_validate_943c924e5dee4604, []int{4} -} -func (m *Int64Rules) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Int64Rules.Unmarshal(m, b) -} -func (m *Int64Rules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Int64Rules.Marshal(b, m, deterministic) -} -func (dst *Int64Rules) XXX_Merge(src proto.Message) { - xxx_messageInfo_Int64Rules.Merge(dst, src) -} -func (m *Int64Rules) XXX_Size() int { - return xxx_messageInfo_Int64Rules.Size(m) -} -func (m *Int64Rules) XXX_DiscardUnknown() { - xxx_messageInfo_Int64Rules.DiscardUnknown(m) -} - -var xxx_messageInfo_Int64Rules proto.InternalMessageInfo - -func (m *Int64Rules) GetConst() int64 { - if m != nil && m.Const != nil { - return *m.Const - } - return 0 -} - -func (m *Int64Rules) GetLt() int64 { - if m != nil && m.Lt != nil { - return *m.Lt - } - return 0 -} - -func (m *Int64Rules) GetLte() int64 { - if m != nil && m.Lte != nil { - return *m.Lte - } - return 0 -} - -func (m *Int64Rules) GetGt() int64 { - if m != nil && m.Gt != nil { - return *m.Gt - } - return 0 -} - -func (m *Int64Rules) GetGte() int64 { - if m != nil && m.Gte != nil { - return *m.Gte - } - return 0 -} - -func (m *Int64Rules) GetIn() []int64 { - if m != nil { - return m.In - } - return nil -} - -func (m *Int64Rules) GetNotIn() []int64 { - if m != nil { - return m.NotIn - } - return nil -} - -type UInt32Rules struct { - Const *uint32 `protobuf:"varint,1,opt,name=const" json:"const,omitempty"` - Lt *uint32 `protobuf:"varint,2,opt,name=lt" json:"lt,omitempty"` - Lte *uint32 `protobuf:"varint,3,opt,name=lte" json:"lte,omitempty"` - Gt *uint32 `protobuf:"varint,4,opt,name=gt" json:"gt,omitempty"` - Gte *uint32 `protobuf:"varint,5,opt,name=gte" json:"gte,omitempty"` - In []uint32 `protobuf:"varint,6,rep,name=in" json:"in,omitempty"` - NotIn []uint32 `protobuf:"varint,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UInt32Rules) Reset() { *m = UInt32Rules{} } -func (m *UInt32Rules) String() string { return proto.CompactTextString(m) } -func (*UInt32Rules) ProtoMessage() {} -func (*UInt32Rules) Descriptor() ([]byte, []int) { - return fileDescriptor_validate_943c924e5dee4604, []int{5} -} -func (m *UInt32Rules) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UInt32Rules.Unmarshal(m, b) -} -func (m *UInt32Rules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UInt32Rules.Marshal(b, m, deterministic) -} -func (dst *UInt32Rules) XXX_Merge(src proto.Message) { - xxx_messageInfo_UInt32Rules.Merge(dst, src) -} -func (m *UInt32Rules) XXX_Size() int { - return xxx_messageInfo_UInt32Rules.Size(m) -} -func (m *UInt32Rules) XXX_DiscardUnknown() { - xxx_messageInfo_UInt32Rules.DiscardUnknown(m) -} - -var xxx_messageInfo_UInt32Rules proto.InternalMessageInfo - -func (m *UInt32Rules) GetConst() uint32 { - if m != nil && m.Const != nil { - return *m.Const - } - return 0 -} - -func (m *UInt32Rules) GetLt() uint32 { - if m != nil && m.Lt != nil { - return *m.Lt - } - return 0 -} - -func (m *UInt32Rules) GetLte() uint32 { - if m != nil && m.Lte != nil { - return *m.Lte - } - return 0 -} - -func (m *UInt32Rules) GetGt() uint32 { - if m != nil && m.Gt != nil { - return *m.Gt - } - return 0 -} - -func (m *UInt32Rules) GetGte() uint32 { - if m != nil && m.Gte != nil { - return *m.Gte - } - return 0 -} - -func (m *UInt32Rules) GetIn() []uint32 { - if m != nil { - return m.In - } - return nil -} - -func (m *UInt32Rules) GetNotIn() []uint32 { - if m != nil { - return m.NotIn - } - return nil -} - -type UInt64Rules struct { - Const *uint64 `protobuf:"varint,1,opt,name=const" json:"const,omitempty"` - Lt *uint64 `protobuf:"varint,2,opt,name=lt" json:"lt,omitempty"` - Lte *uint64 `protobuf:"varint,3,opt,name=lte" json:"lte,omitempty"` - Gt *uint64 `protobuf:"varint,4,opt,name=gt" json:"gt,omitempty"` - Gte *uint64 `protobuf:"varint,5,opt,name=gte" json:"gte,omitempty"` - In []uint64 `protobuf:"varint,6,rep,name=in" json:"in,omitempty"` - NotIn []uint64 `protobuf:"varint,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UInt64Rules) Reset() { *m = UInt64Rules{} } -func (m *UInt64Rules) String() string { return proto.CompactTextString(m) } -func (*UInt64Rules) ProtoMessage() {} -func (*UInt64Rules) Descriptor() ([]byte, []int) { - return fileDescriptor_validate_943c924e5dee4604, []int{6} -} -func (m *UInt64Rules) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UInt64Rules.Unmarshal(m, b) -} -func (m *UInt64Rules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UInt64Rules.Marshal(b, m, deterministic) -} -func (dst *UInt64Rules) XXX_Merge(src proto.Message) { - xxx_messageInfo_UInt64Rules.Merge(dst, src) -} -func (m *UInt64Rules) XXX_Size() int { - return xxx_messageInfo_UInt64Rules.Size(m) -} -func (m *UInt64Rules) XXX_DiscardUnknown() { - xxx_messageInfo_UInt64Rules.DiscardUnknown(m) -} - -var xxx_messageInfo_UInt64Rules proto.InternalMessageInfo - -func (m *UInt64Rules) GetConst() uint64 { - if m != nil && m.Const != nil { - return *m.Const - } - return 0 -} - -func (m *UInt64Rules) GetLt() uint64 { - if m != nil && m.Lt != nil { - return *m.Lt - } - return 0 -} - -func (m *UInt64Rules) GetLte() uint64 { - if m != nil && m.Lte != nil { - return *m.Lte - } - return 0 -} - -func (m *UInt64Rules) GetGt() uint64 { - if m != nil && m.Gt != nil { - return *m.Gt - } - return 0 -} - -func (m *UInt64Rules) GetGte() uint64 { - if m != nil && m.Gte != nil { - return *m.Gte - } - return 0 -} - -func (m *UInt64Rules) GetIn() []uint64 { - if m != nil { - return m.In - } - return nil -} - -func (m *UInt64Rules) GetNotIn() []uint64 { - if m != nil { - return m.NotIn - } - return nil -} - -type SInt32Rules struct { - Const *int32 `protobuf:"zigzag32,1,opt,name=const" json:"const,omitempty"` - Lt *int32 `protobuf:"zigzag32,2,opt,name=lt" json:"lt,omitempty"` - Lte *int32 `protobuf:"zigzag32,3,opt,name=lte" json:"lte,omitempty"` - Gt *int32 `protobuf:"zigzag32,4,opt,name=gt" json:"gt,omitempty"` - Gte *int32 `protobuf:"zigzag32,5,opt,name=gte" json:"gte,omitempty"` - In []int32 `protobuf:"zigzag32,6,rep,name=in" json:"in,omitempty"` - NotIn []int32 `protobuf:"zigzag32,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SInt32Rules) Reset() { *m = SInt32Rules{} } -func (m *SInt32Rules) String() string { return proto.CompactTextString(m) } -func (*SInt32Rules) ProtoMessage() {} -func (*SInt32Rules) Descriptor() ([]byte, []int) { - return fileDescriptor_validate_943c924e5dee4604, []int{7} -} -func (m *SInt32Rules) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SInt32Rules.Unmarshal(m, b) -} -func (m *SInt32Rules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SInt32Rules.Marshal(b, m, deterministic) -} -func (dst *SInt32Rules) XXX_Merge(src proto.Message) { - xxx_messageInfo_SInt32Rules.Merge(dst, src) -} -func (m *SInt32Rules) XXX_Size() int { - return xxx_messageInfo_SInt32Rules.Size(m) -} -func (m *SInt32Rules) XXX_DiscardUnknown() { - xxx_messageInfo_SInt32Rules.DiscardUnknown(m) -} - -var xxx_messageInfo_SInt32Rules proto.InternalMessageInfo - -func (m *SInt32Rules) GetConst() int32 { - if m != nil && m.Const != nil { - return *m.Const - } - return 0 -} - -func (m *SInt32Rules) GetLt() int32 { - if m != nil && m.Lt != nil { - return *m.Lt - } - return 0 -} - -func (m *SInt32Rules) GetLte() int32 { - if m != nil && m.Lte != nil { - return *m.Lte - } - return 0 -} - -func (m *SInt32Rules) GetGt() int32 { - if m != nil && m.Gt != nil { - return *m.Gt - } - return 0 -} - -func (m *SInt32Rules) GetGte() int32 { - if m != nil && m.Gte != nil { - return *m.Gte - } - return 0 -} - -func (m *SInt32Rules) GetIn() []int32 { - if m != nil { - return m.In - } - return nil -} - -func (m *SInt32Rules) GetNotIn() []int32 { - if m != nil { - return m.NotIn - } - return nil -} - -type SInt64Rules struct { - Const *int64 `protobuf:"zigzag64,1,opt,name=const" json:"const,omitempty"` - Lt *int64 `protobuf:"zigzag64,2,opt,name=lt" json:"lt,omitempty"` - Lte *int64 `protobuf:"zigzag64,3,opt,name=lte" json:"lte,omitempty"` - Gt *int64 `protobuf:"zigzag64,4,opt,name=gt" json:"gt,omitempty"` - Gte *int64 `protobuf:"zigzag64,5,opt,name=gte" json:"gte,omitempty"` - In []int64 `protobuf:"zigzag64,6,rep,name=in" json:"in,omitempty"` - NotIn []int64 `protobuf:"zigzag64,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SInt64Rules) Reset() { *m = SInt64Rules{} } -func (m *SInt64Rules) String() string { return proto.CompactTextString(m) } -func (*SInt64Rules) ProtoMessage() {} -func (*SInt64Rules) Descriptor() ([]byte, []int) { - return fileDescriptor_validate_943c924e5dee4604, []int{8} -} -func (m *SInt64Rules) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SInt64Rules.Unmarshal(m, b) -} -func (m *SInt64Rules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SInt64Rules.Marshal(b, m, deterministic) -} -func (dst *SInt64Rules) XXX_Merge(src proto.Message) { - xxx_messageInfo_SInt64Rules.Merge(dst, src) -} -func (m *SInt64Rules) XXX_Size() int { - return xxx_messageInfo_SInt64Rules.Size(m) -} -func (m *SInt64Rules) XXX_DiscardUnknown() { - xxx_messageInfo_SInt64Rules.DiscardUnknown(m) -} - -var xxx_messageInfo_SInt64Rules proto.InternalMessageInfo - -func (m *SInt64Rules) GetConst() int64 { - if m != nil && m.Const != nil { - return *m.Const - } - return 0 -} - -func (m *SInt64Rules) GetLt() int64 { - if m != nil && m.Lt != nil { - return *m.Lt - } - return 0 -} - -func (m *SInt64Rules) GetLte() int64 { - if m != nil && m.Lte != nil { - return *m.Lte - } - return 0 -} - -func (m *SInt64Rules) GetGt() int64 { - if m != nil && m.Gt != nil { - return *m.Gt - } - return 0 -} - -func (m *SInt64Rules) GetGte() int64 { - if m != nil && m.Gte != nil { - return *m.Gte - } - return 0 -} - -func (m *SInt64Rules) GetIn() []int64 { - if m != nil { - return m.In - } - return nil -} - -func (m *SInt64Rules) GetNotIn() []int64 { - if m != nil { - return m.NotIn - } - return nil -} - -type Fixed32Rules struct { - Const *uint32 `protobuf:"fixed32,1,opt,name=const" json:"const,omitempty"` - Lt *uint32 `protobuf:"fixed32,2,opt,name=lt" json:"lt,omitempty"` - Lte *uint32 `protobuf:"fixed32,3,opt,name=lte" json:"lte,omitempty"` - Gt *uint32 `protobuf:"fixed32,4,opt,name=gt" json:"gt,omitempty"` - Gte *uint32 `protobuf:"fixed32,5,opt,name=gte" json:"gte,omitempty"` - In []uint32 `protobuf:"fixed32,6,rep,name=in" json:"in,omitempty"` - NotIn []uint32 `protobuf:"fixed32,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Fixed32Rules) Reset() { *m = Fixed32Rules{} } -func (m *Fixed32Rules) String() string { return proto.CompactTextString(m) } -func (*Fixed32Rules) ProtoMessage() {} -func (*Fixed32Rules) Descriptor() ([]byte, []int) { - return fileDescriptor_validate_943c924e5dee4604, []int{9} -} -func (m *Fixed32Rules) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Fixed32Rules.Unmarshal(m, b) -} -func (m *Fixed32Rules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Fixed32Rules.Marshal(b, m, deterministic) -} -func (dst *Fixed32Rules) XXX_Merge(src proto.Message) { - xxx_messageInfo_Fixed32Rules.Merge(dst, src) -} -func (m *Fixed32Rules) XXX_Size() int { - return xxx_messageInfo_Fixed32Rules.Size(m) -} -func (m *Fixed32Rules) XXX_DiscardUnknown() { - xxx_messageInfo_Fixed32Rules.DiscardUnknown(m) -} - -var xxx_messageInfo_Fixed32Rules proto.InternalMessageInfo - -func (m *Fixed32Rules) GetConst() uint32 { - if m != nil && m.Const != nil { - return *m.Const - } - return 0 -} - -func (m *Fixed32Rules) GetLt() uint32 { - if m != nil && m.Lt != nil { - return *m.Lt - } - return 0 -} - -func (m *Fixed32Rules) GetLte() uint32 { - if m != nil && m.Lte != nil { - return *m.Lte - } - return 0 -} - -func (m *Fixed32Rules) GetGt() uint32 { - if m != nil && m.Gt != nil { - return *m.Gt - } - return 0 -} - -func (m *Fixed32Rules) GetGte() uint32 { - if m != nil && m.Gte != nil { - return *m.Gte - } - return 0 -} - -func (m *Fixed32Rules) GetIn() []uint32 { - if m != nil { - return m.In - } - return nil -} - -func (m *Fixed32Rules) GetNotIn() []uint32 { - if m != nil { - return m.NotIn - } - return nil -} - -type Fixed64Rules struct { - Const *uint64 `protobuf:"fixed64,1,opt,name=const" json:"const,omitempty"` - Lt *uint64 `protobuf:"fixed64,2,opt,name=lt" json:"lt,omitempty"` - Lte *uint64 `protobuf:"fixed64,3,opt,name=lte" json:"lte,omitempty"` - Gt *uint64 `protobuf:"fixed64,4,opt,name=gt" json:"gt,omitempty"` - Gte *uint64 `protobuf:"fixed64,5,opt,name=gte" json:"gte,omitempty"` - In []uint64 `protobuf:"fixed64,6,rep,name=in" json:"in,omitempty"` - NotIn []uint64 `protobuf:"fixed64,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Fixed64Rules) Reset() { *m = Fixed64Rules{} } -func (m *Fixed64Rules) String() string { return proto.CompactTextString(m) } -func (*Fixed64Rules) ProtoMessage() {} -func (*Fixed64Rules) Descriptor() ([]byte, []int) { - return fileDescriptor_validate_943c924e5dee4604, []int{10} -} -func (m *Fixed64Rules) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Fixed64Rules.Unmarshal(m, b) -} -func (m *Fixed64Rules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Fixed64Rules.Marshal(b, m, deterministic) -} -func (dst *Fixed64Rules) XXX_Merge(src proto.Message) { - xxx_messageInfo_Fixed64Rules.Merge(dst, src) -} -func (m *Fixed64Rules) XXX_Size() int { - return xxx_messageInfo_Fixed64Rules.Size(m) -} -func (m *Fixed64Rules) XXX_DiscardUnknown() { - xxx_messageInfo_Fixed64Rules.DiscardUnknown(m) -} - -var xxx_messageInfo_Fixed64Rules proto.InternalMessageInfo - -func (m *Fixed64Rules) GetConst() uint64 { - if m != nil && m.Const != nil { - return *m.Const - } - return 0 -} - -func (m *Fixed64Rules) GetLt() uint64 { - if m != nil && m.Lt != nil { - return *m.Lt - } - return 0 -} - -func (m *Fixed64Rules) GetLte() uint64 { - if m != nil && m.Lte != nil { - return *m.Lte - } - return 0 -} - -func (m *Fixed64Rules) GetGt() uint64 { - if m != nil && m.Gt != nil { - return *m.Gt - } - return 0 -} - -func (m *Fixed64Rules) GetGte() uint64 { - if m != nil && m.Gte != nil { - return *m.Gte - } - return 0 -} - -func (m *Fixed64Rules) GetIn() []uint64 { - if m != nil { - return m.In - } - return nil -} - -func (m *Fixed64Rules) GetNotIn() []uint64 { - if m != nil { - return m.NotIn - } - return nil -} - -type SFixed32Rules struct { - Const *int32 `protobuf:"fixed32,1,opt,name=const" json:"const,omitempty"` - Lt *int32 `protobuf:"fixed32,2,opt,name=lt" json:"lt,omitempty"` - Lte *int32 `protobuf:"fixed32,3,opt,name=lte" json:"lte,omitempty"` - Gt *int32 `protobuf:"fixed32,4,opt,name=gt" json:"gt,omitempty"` - Gte *int32 `protobuf:"fixed32,5,opt,name=gte" json:"gte,omitempty"` - In []int32 `protobuf:"fixed32,6,rep,name=in" json:"in,omitempty"` - NotIn []int32 `protobuf:"fixed32,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SFixed32Rules) Reset() { *m = SFixed32Rules{} } -func (m *SFixed32Rules) String() string { return proto.CompactTextString(m) } -func (*SFixed32Rules) ProtoMessage() {} -func (*SFixed32Rules) Descriptor() ([]byte, []int) { - return fileDescriptor_validate_943c924e5dee4604, []int{11} -} -func (m *SFixed32Rules) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SFixed32Rules.Unmarshal(m, b) -} -func (m *SFixed32Rules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SFixed32Rules.Marshal(b, m, deterministic) -} -func (dst *SFixed32Rules) XXX_Merge(src proto.Message) { - xxx_messageInfo_SFixed32Rules.Merge(dst, src) -} -func (m *SFixed32Rules) XXX_Size() int { - return xxx_messageInfo_SFixed32Rules.Size(m) -} -func (m *SFixed32Rules) XXX_DiscardUnknown() { - xxx_messageInfo_SFixed32Rules.DiscardUnknown(m) -} - -var xxx_messageInfo_SFixed32Rules proto.InternalMessageInfo - -func (m *SFixed32Rules) GetConst() int32 { - if m != nil && m.Const != nil { - return *m.Const - } - return 0 -} - -func (m *SFixed32Rules) GetLt() int32 { - if m != nil && m.Lt != nil { - return *m.Lt - } - return 0 -} - -func (m *SFixed32Rules) GetLte() int32 { - if m != nil && m.Lte != nil { - return *m.Lte - } - return 0 -} - -func (m *SFixed32Rules) GetGt() int32 { - if m != nil && m.Gt != nil { - return *m.Gt - } - return 0 -} - -func (m *SFixed32Rules) GetGte() int32 { - if m != nil && m.Gte != nil { - return *m.Gte - } - return 0 -} - -func (m *SFixed32Rules) GetIn() []int32 { - if m != nil { - return m.In - } - return nil -} - -func (m *SFixed32Rules) GetNotIn() []int32 { - if m != nil { - return m.NotIn - } - return nil -} - -type SFixed64Rules struct { - Const *int64 `protobuf:"fixed64,1,opt,name=const" json:"const,omitempty"` - Lt *int64 `protobuf:"fixed64,2,opt,name=lt" json:"lt,omitempty"` - Lte *int64 `protobuf:"fixed64,3,opt,name=lte" json:"lte,omitempty"` - Gt *int64 `protobuf:"fixed64,4,opt,name=gt" json:"gt,omitempty"` - Gte *int64 `protobuf:"fixed64,5,opt,name=gte" json:"gte,omitempty"` - In []int64 `protobuf:"fixed64,6,rep,name=in" json:"in,omitempty"` - NotIn []int64 `protobuf:"fixed64,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SFixed64Rules) Reset() { *m = SFixed64Rules{} } -func (m *SFixed64Rules) String() string { return proto.CompactTextString(m) } -func (*SFixed64Rules) ProtoMessage() {} -func (*SFixed64Rules) Descriptor() ([]byte, []int) { - return fileDescriptor_validate_943c924e5dee4604, []int{12} -} -func (m *SFixed64Rules) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SFixed64Rules.Unmarshal(m, b) -} -func (m *SFixed64Rules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SFixed64Rules.Marshal(b, m, deterministic) -} -func (dst *SFixed64Rules) XXX_Merge(src proto.Message) { - xxx_messageInfo_SFixed64Rules.Merge(dst, src) -} -func (m *SFixed64Rules) XXX_Size() int { - return xxx_messageInfo_SFixed64Rules.Size(m) -} -func (m *SFixed64Rules) XXX_DiscardUnknown() { - xxx_messageInfo_SFixed64Rules.DiscardUnknown(m) -} - -var xxx_messageInfo_SFixed64Rules proto.InternalMessageInfo - -func (m *SFixed64Rules) GetConst() int64 { - if m != nil && m.Const != nil { - return *m.Const - } - return 0 -} - -func (m *SFixed64Rules) GetLt() int64 { - if m != nil && m.Lt != nil { - return *m.Lt - } - return 0 -} - -func (m *SFixed64Rules) GetLte() int64 { - if m != nil && m.Lte != nil { - return *m.Lte - } - return 0 -} - -func (m *SFixed64Rules) GetGt() int64 { - if m != nil && m.Gt != nil { - return *m.Gt - } - return 0 -} - -func (m *SFixed64Rules) GetGte() int64 { - if m != nil && m.Gte != nil { - return *m.Gte - } - return 0 -} - -func (m *SFixed64Rules) GetIn() []int64 { - if m != nil { - return m.In - } - return nil -} - -func (m *SFixed64Rules) GetNotIn() []int64 { - if m != nil { - return m.NotIn - } - return nil -} - -type BoolRules struct { - Const *bool `protobuf:"varint,1,opt,name=const" json:"const,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BoolRules) Reset() { *m = BoolRules{} } -func (m *BoolRules) String() string { return proto.CompactTextString(m) } -func (*BoolRules) ProtoMessage() {} -func (*BoolRules) Descriptor() ([]byte, []int) { - return fileDescriptor_validate_943c924e5dee4604, []int{13} -} -func (m *BoolRules) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BoolRules.Unmarshal(m, b) -} -func (m *BoolRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BoolRules.Marshal(b, m, deterministic) -} -func (dst *BoolRules) XXX_Merge(src proto.Message) { - xxx_messageInfo_BoolRules.Merge(dst, src) -} -func (m *BoolRules) XXX_Size() int { - return xxx_messageInfo_BoolRules.Size(m) -} -func (m *BoolRules) XXX_DiscardUnknown() { - xxx_messageInfo_BoolRules.DiscardUnknown(m) -} - -var xxx_messageInfo_BoolRules proto.InternalMessageInfo - -func (m *BoolRules) GetConst() bool { - if m != nil && m.Const != nil { - return *m.Const - } - return false -} - -type StringRules struct { - Const *string `protobuf:"bytes,1,opt,name=const" json:"const,omitempty"` - Len *uint64 `protobuf:"varint,19,opt,name=len" json:"len,omitempty"` - MinLen *uint64 `protobuf:"varint,2,opt,name=min_len,json=minLen" json:"min_len,omitempty"` - MaxLen *uint64 `protobuf:"varint,3,opt,name=max_len,json=maxLen" json:"max_len,omitempty"` - LenBytes *uint64 `protobuf:"varint,20,opt,name=len_bytes,json=lenBytes" json:"len_bytes,omitempty"` - MinBytes *uint64 `protobuf:"varint,4,opt,name=min_bytes,json=minBytes" json:"min_bytes,omitempty"` - MaxBytes *uint64 `protobuf:"varint,5,opt,name=max_bytes,json=maxBytes" json:"max_bytes,omitempty"` - Pattern *string `protobuf:"bytes,6,opt,name=pattern" json:"pattern,omitempty"` - Prefix *string `protobuf:"bytes,7,opt,name=prefix" json:"prefix,omitempty"` - Suffix *string `protobuf:"bytes,8,opt,name=suffix" json:"suffix,omitempty"` - Contains *string `protobuf:"bytes,9,opt,name=contains" json:"contains,omitempty"` - In []string `protobuf:"bytes,10,rep,name=in" json:"in,omitempty"` - NotIn []string `protobuf:"bytes,11,rep,name=not_in,json=notIn" json:"not_in,omitempty"` - // Types that are valid to be assigned to WellKnown: - // *StringRules_Email - // *StringRules_Hostname - // *StringRules_Ip - // *StringRules_Ipv4 - // *StringRules_Ipv6 - // *StringRules_Uri - // *StringRules_UriRef - WellKnown isStringRules_WellKnown `protobuf_oneof:"well_known"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *StringRules) Reset() { *m = StringRules{} } -func (m *StringRules) String() string { return proto.CompactTextString(m) } -func (*StringRules) ProtoMessage() {} -func (*StringRules) Descriptor() ([]byte, []int) { - return fileDescriptor_validate_943c924e5dee4604, []int{14} -} -func (m *StringRules) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StringRules.Unmarshal(m, b) -} -func (m *StringRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StringRules.Marshal(b, m, deterministic) -} -func (dst *StringRules) XXX_Merge(src proto.Message) { - xxx_messageInfo_StringRules.Merge(dst, src) -} -func (m *StringRules) XXX_Size() int { - return xxx_messageInfo_StringRules.Size(m) -} -func (m *StringRules) XXX_DiscardUnknown() { - xxx_messageInfo_StringRules.DiscardUnknown(m) -} - -var xxx_messageInfo_StringRules proto.InternalMessageInfo - -func (m *StringRules) GetConst() string { - if m != nil && m.Const != nil { - return *m.Const - } - return "" -} - -func (m *StringRules) GetLen() uint64 { - if m != nil && m.Len != nil { - return *m.Len - } - return 0 -} - -func (m *StringRules) GetMinLen() uint64 { - if m != nil && m.MinLen != nil { - return *m.MinLen - } - return 0 -} - -func (m *StringRules) GetMaxLen() uint64 { - if m != nil && m.MaxLen != nil { - return *m.MaxLen - } - return 0 -} - -func (m *StringRules) GetLenBytes() uint64 { - if m != nil && m.LenBytes != nil { - return *m.LenBytes - } - return 0 -} - -func (m *StringRules) GetMinBytes() uint64 { - if m != nil && m.MinBytes != nil { - return *m.MinBytes - } - return 0 -} - -func (m *StringRules) GetMaxBytes() uint64 { - if m != nil && m.MaxBytes != nil { - return *m.MaxBytes - } - return 0 -} - -func (m *StringRules) GetPattern() string { - if m != nil && m.Pattern != nil { - return *m.Pattern - } - return "" -} - -func (m *StringRules) GetPrefix() string { - if m != nil && m.Prefix != nil { - return *m.Prefix - } - return "" -} - -func (m *StringRules) GetSuffix() string { - if m != nil && m.Suffix != nil { - return *m.Suffix - } - return "" -} - -func (m *StringRules) GetContains() string { - if m != nil && m.Contains != nil { - return *m.Contains - } - return "" -} - -func (m *StringRules) GetIn() []string { - if m != nil { - return m.In - } - return nil -} - -func (m *StringRules) GetNotIn() []string { - if m != nil { - return m.NotIn - } - return nil -} - -type isStringRules_WellKnown interface { - isStringRules_WellKnown() -} - -type StringRules_Email struct { - Email bool `protobuf:"varint,12,opt,name=email,oneof"` -} - -type StringRules_Hostname struct { - Hostname bool `protobuf:"varint,13,opt,name=hostname,oneof"` -} - -type StringRules_Ip struct { - Ip bool `protobuf:"varint,14,opt,name=ip,oneof"` -} - -type StringRules_Ipv4 struct { - Ipv4 bool `protobuf:"varint,15,opt,name=ipv4,oneof"` -} - -type StringRules_Ipv6 struct { - Ipv6 bool `protobuf:"varint,16,opt,name=ipv6,oneof"` -} - -type StringRules_Uri struct { - Uri bool `protobuf:"varint,17,opt,name=uri,oneof"` -} - -type StringRules_UriRef struct { - UriRef bool `protobuf:"varint,18,opt,name=uri_ref,json=uriRef,oneof"` -} - -func (*StringRules_Email) isStringRules_WellKnown() {} - -func (*StringRules_Hostname) isStringRules_WellKnown() {} - -func (*StringRules_Ip) isStringRules_WellKnown() {} - -func (*StringRules_Ipv4) isStringRules_WellKnown() {} - -func (*StringRules_Ipv6) isStringRules_WellKnown() {} - -func (*StringRules_Uri) isStringRules_WellKnown() {} - -func (*StringRules_UriRef) isStringRules_WellKnown() {} - -func (m *StringRules) GetWellKnown() isStringRules_WellKnown { - if m != nil { - return m.WellKnown - } - return nil -} - -func (m *StringRules) GetEmail() bool { - if x, ok := m.GetWellKnown().(*StringRules_Email); ok { - return x.Email - } - return false -} - -func (m *StringRules) GetHostname() bool { - if x, ok := m.GetWellKnown().(*StringRules_Hostname); ok { - return x.Hostname - } - return false -} - -func (m *StringRules) GetIp() bool { - if x, ok := m.GetWellKnown().(*StringRules_Ip); ok { - return x.Ip - } - return false -} - -func (m *StringRules) GetIpv4() bool { - if x, ok := m.GetWellKnown().(*StringRules_Ipv4); ok { - return x.Ipv4 - } - return false -} - -func (m *StringRules) GetIpv6() bool { - if x, ok := m.GetWellKnown().(*StringRules_Ipv6); ok { - return x.Ipv6 - } - return false -} - -func (m *StringRules) GetUri() bool { - if x, ok := m.GetWellKnown().(*StringRules_Uri); ok { - return x.Uri - } - return false -} - -func (m *StringRules) GetUriRef() bool { - if x, ok := m.GetWellKnown().(*StringRules_UriRef); ok { - return x.UriRef - } - return false -} - -// XXX_OneofFuncs is for the internal use of the proto package. -func (*StringRules) 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 _StringRules_OneofMarshaler, _StringRules_OneofUnmarshaler, _StringRules_OneofSizer, []interface{}{ - (*StringRules_Email)(nil), - (*StringRules_Hostname)(nil), - (*StringRules_Ip)(nil), - (*StringRules_Ipv4)(nil), - (*StringRules_Ipv6)(nil), - (*StringRules_Uri)(nil), - (*StringRules_UriRef)(nil), - } -} - -func _StringRules_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*StringRules) - // well_known - switch x := m.WellKnown.(type) { - case *StringRules_Email: - t := uint64(0) - if x.Email { - t = 1 - } - b.EncodeVarint(12<<3 | proto.WireVarint) - b.EncodeVarint(t) - case *StringRules_Hostname: - t := uint64(0) - if x.Hostname { - t = 1 - } - b.EncodeVarint(13<<3 | proto.WireVarint) - b.EncodeVarint(t) - case *StringRules_Ip: - t := uint64(0) - if x.Ip { - t = 1 - } - b.EncodeVarint(14<<3 | proto.WireVarint) - b.EncodeVarint(t) - case *StringRules_Ipv4: - t := uint64(0) - if x.Ipv4 { - t = 1 - } - b.EncodeVarint(15<<3 | proto.WireVarint) - b.EncodeVarint(t) - case *StringRules_Ipv6: - t := uint64(0) - if x.Ipv6 { - t = 1 - } - b.EncodeVarint(16<<3 | proto.WireVarint) - b.EncodeVarint(t) - case *StringRules_Uri: - t := uint64(0) - if x.Uri { - t = 1 - } - b.EncodeVarint(17<<3 | proto.WireVarint) - b.EncodeVarint(t) - case *StringRules_UriRef: - t := uint64(0) - if x.UriRef { - t = 1 - } - b.EncodeVarint(18<<3 | proto.WireVarint) - b.EncodeVarint(t) - case nil: - default: - return fmt.Errorf("StringRules.WellKnown has unexpected type %T", x) - } - return nil -} - -func _StringRules_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*StringRules) - switch tag { - case 12: // well_known.email - if wire != proto.WireVarint { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeVarint() - m.WellKnown = &StringRules_Email{x != 0} - return true, err - case 13: // well_known.hostname - if wire != proto.WireVarint { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeVarint() - m.WellKnown = &StringRules_Hostname{x != 0} - return true, err - case 14: // well_known.ip - if wire != proto.WireVarint { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeVarint() - m.WellKnown = &StringRules_Ip{x != 0} - return true, err - case 15: // well_known.ipv4 - if wire != proto.WireVarint { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeVarint() - m.WellKnown = &StringRules_Ipv4{x != 0} - return true, err - case 16: // well_known.ipv6 - if wire != proto.WireVarint { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeVarint() - m.WellKnown = &StringRules_Ipv6{x != 0} - return true, err - case 17: // well_known.uri - if wire != proto.WireVarint { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeVarint() - m.WellKnown = &StringRules_Uri{x != 0} - return true, err - case 18: // well_known.uri_ref - if wire != proto.WireVarint { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeVarint() - m.WellKnown = &StringRules_UriRef{x != 0} - return true, err - default: - return false, nil - } -} - -func _StringRules_OneofSizer(msg proto.Message) (n int) { - m := msg.(*StringRules) - // well_known - switch x := m.WellKnown.(type) { - case *StringRules_Email: - n += 1 // tag and wire - n += 1 - case *StringRules_Hostname: - n += 1 // tag and wire - n += 1 - case *StringRules_Ip: - n += 1 // tag and wire - n += 1 - case *StringRules_Ipv4: - n += 1 // tag and wire - n += 1 - case *StringRules_Ipv6: - n += 2 // tag and wire - n += 1 - case *StringRules_Uri: - n += 2 // tag and wire - n += 1 - case *StringRules_UriRef: - n += 2 // tag and wire - n += 1 - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - -type BytesRules struct { - Const []byte `protobuf:"bytes,1,opt,name=const" json:"const,omitempty"` - Len *uint64 `protobuf:"varint,13,opt,name=len" json:"len,omitempty"` - MinLen *uint64 `protobuf:"varint,2,opt,name=min_len,json=minLen" json:"min_len,omitempty"` - MaxLen *uint64 `protobuf:"varint,3,opt,name=max_len,json=maxLen" json:"max_len,omitempty"` - Pattern *string `protobuf:"bytes,4,opt,name=pattern" json:"pattern,omitempty"` - Prefix []byte `protobuf:"bytes,5,opt,name=prefix" json:"prefix,omitempty"` - Suffix []byte `protobuf:"bytes,6,opt,name=suffix" json:"suffix,omitempty"` - Contains []byte `protobuf:"bytes,7,opt,name=contains" json:"contains,omitempty"` - In [][]byte `protobuf:"bytes,8,rep,name=in" json:"in,omitempty"` - NotIn [][]byte `protobuf:"bytes,9,rep,name=not_in,json=notIn" json:"not_in,omitempty"` - // Types that are valid to be assigned to WellKnown: - // *BytesRules_Ip - // *BytesRules_Ipv4 - // *BytesRules_Ipv6 - WellKnown isBytesRules_WellKnown `protobuf_oneof:"well_known"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BytesRules) Reset() { *m = BytesRules{} } -func (m *BytesRules) String() string { return proto.CompactTextString(m) } -func (*BytesRules) ProtoMessage() {} -func (*BytesRules) Descriptor() ([]byte, []int) { - return fileDescriptor_validate_943c924e5dee4604, []int{15} -} -func (m *BytesRules) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BytesRules.Unmarshal(m, b) -} -func (m *BytesRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BytesRules.Marshal(b, m, deterministic) -} -func (dst *BytesRules) XXX_Merge(src proto.Message) { - xxx_messageInfo_BytesRules.Merge(dst, src) -} -func (m *BytesRules) XXX_Size() int { - return xxx_messageInfo_BytesRules.Size(m) -} -func (m *BytesRules) XXX_DiscardUnknown() { - xxx_messageInfo_BytesRules.DiscardUnknown(m) -} - -var xxx_messageInfo_BytesRules proto.InternalMessageInfo - -func (m *BytesRules) GetConst() []byte { - if m != nil { - return m.Const - } - return nil -} - -func (m *BytesRules) GetLen() uint64 { - if m != nil && m.Len != nil { - return *m.Len - } - return 0 -} - -func (m *BytesRules) GetMinLen() uint64 { - if m != nil && m.MinLen != nil { - return *m.MinLen - } - return 0 -} - -func (m *BytesRules) GetMaxLen() uint64 { - if m != nil && m.MaxLen != nil { - return *m.MaxLen - } - return 0 -} - -func (m *BytesRules) GetPattern() string { - if m != nil && m.Pattern != nil { - return *m.Pattern - } - return "" -} - -func (m *BytesRules) GetPrefix() []byte { - if m != nil { - return m.Prefix - } - return nil -} - -func (m *BytesRules) GetSuffix() []byte { - if m != nil { - return m.Suffix - } - return nil -} - -func (m *BytesRules) GetContains() []byte { - if m != nil { - return m.Contains - } - return nil -} - -func (m *BytesRules) GetIn() [][]byte { - if m != nil { - return m.In - } - return nil -} - -func (m *BytesRules) GetNotIn() [][]byte { - if m != nil { - return m.NotIn - } - return nil -} - -type isBytesRules_WellKnown interface { - isBytesRules_WellKnown() -} - -type BytesRules_Ip struct { - Ip bool `protobuf:"varint,10,opt,name=ip,oneof"` -} - -type BytesRules_Ipv4 struct { - Ipv4 bool `protobuf:"varint,11,opt,name=ipv4,oneof"` -} - -type BytesRules_Ipv6 struct { - Ipv6 bool `protobuf:"varint,12,opt,name=ipv6,oneof"` -} - -func (*BytesRules_Ip) isBytesRules_WellKnown() {} - -func (*BytesRules_Ipv4) isBytesRules_WellKnown() {} - -func (*BytesRules_Ipv6) isBytesRules_WellKnown() {} - -func (m *BytesRules) GetWellKnown() isBytesRules_WellKnown { - if m != nil { - return m.WellKnown - } - return nil -} - -func (m *BytesRules) GetIp() bool { - if x, ok := m.GetWellKnown().(*BytesRules_Ip); ok { - return x.Ip - } - return false -} - -func (m *BytesRules) GetIpv4() bool { - if x, ok := m.GetWellKnown().(*BytesRules_Ipv4); ok { - return x.Ipv4 - } - return false -} - -func (m *BytesRules) GetIpv6() bool { - if x, ok := m.GetWellKnown().(*BytesRules_Ipv6); ok { - return x.Ipv6 - } - return false -} - -// XXX_OneofFuncs is for the internal use of the proto package. -func (*BytesRules) 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 _BytesRules_OneofMarshaler, _BytesRules_OneofUnmarshaler, _BytesRules_OneofSizer, []interface{}{ - (*BytesRules_Ip)(nil), - (*BytesRules_Ipv4)(nil), - (*BytesRules_Ipv6)(nil), - } -} - -func _BytesRules_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*BytesRules) - // well_known - switch x := m.WellKnown.(type) { - case *BytesRules_Ip: - t := uint64(0) - if x.Ip { - t = 1 - } - b.EncodeVarint(10<<3 | proto.WireVarint) - b.EncodeVarint(t) - case *BytesRules_Ipv4: - t := uint64(0) - if x.Ipv4 { - t = 1 - } - b.EncodeVarint(11<<3 | proto.WireVarint) - b.EncodeVarint(t) - case *BytesRules_Ipv6: - t := uint64(0) - if x.Ipv6 { - t = 1 - } - b.EncodeVarint(12<<3 | proto.WireVarint) - b.EncodeVarint(t) - case nil: - default: - return fmt.Errorf("BytesRules.WellKnown has unexpected type %T", x) - } - return nil -} - -func _BytesRules_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*BytesRules) - switch tag { - case 10: // well_known.ip - if wire != proto.WireVarint { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeVarint() - m.WellKnown = &BytesRules_Ip{x != 0} - return true, err - case 11: // well_known.ipv4 - if wire != proto.WireVarint { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeVarint() - m.WellKnown = &BytesRules_Ipv4{x != 0} - return true, err - case 12: // well_known.ipv6 - if wire != proto.WireVarint { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeVarint() - m.WellKnown = &BytesRules_Ipv6{x != 0} - return true, err - default: - return false, nil - } -} - -func _BytesRules_OneofSizer(msg proto.Message) (n int) { - m := msg.(*BytesRules) - // well_known - switch x := m.WellKnown.(type) { - case *BytesRules_Ip: - n += 1 // tag and wire - n += 1 - case *BytesRules_Ipv4: - n += 1 // tag and wire - n += 1 - case *BytesRules_Ipv6: - n += 1 // tag and wire - n += 1 - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - -type EnumRules struct { - Const *int32 `protobuf:"varint,1,opt,name=const" json:"const,omitempty"` - DefinedOnly *bool `protobuf:"varint,2,opt,name=defined_only,json=definedOnly" json:"defined_only,omitempty"` - In []int32 `protobuf:"varint,3,rep,name=in" json:"in,omitempty"` - NotIn []int32 `protobuf:"varint,4,rep,name=not_in,json=notIn" json:"not_in,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *EnumRules) Reset() { *m = EnumRules{} } -func (m *EnumRules) String() string { return proto.CompactTextString(m) } -func (*EnumRules) ProtoMessage() {} -func (*EnumRules) Descriptor() ([]byte, []int) { - return fileDescriptor_validate_943c924e5dee4604, []int{16} -} -func (m *EnumRules) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EnumRules.Unmarshal(m, b) -} -func (m *EnumRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EnumRules.Marshal(b, m, deterministic) -} -func (dst *EnumRules) XXX_Merge(src proto.Message) { - xxx_messageInfo_EnumRules.Merge(dst, src) -} -func (m *EnumRules) XXX_Size() int { - return xxx_messageInfo_EnumRules.Size(m) -} -func (m *EnumRules) XXX_DiscardUnknown() { - xxx_messageInfo_EnumRules.DiscardUnknown(m) -} - -var xxx_messageInfo_EnumRules proto.InternalMessageInfo - -func (m *EnumRules) GetConst() int32 { - if m != nil && m.Const != nil { - return *m.Const - } - return 0 -} - -func (m *EnumRules) GetDefinedOnly() bool { - if m != nil && m.DefinedOnly != nil { - return *m.DefinedOnly - } - return false -} - -func (m *EnumRules) GetIn() []int32 { - if m != nil { - return m.In - } - return nil -} - -func (m *EnumRules) GetNotIn() []int32 { - if m != nil { - return m.NotIn - } - return nil -} - -type MessageRules struct { - Skip *bool `protobuf:"varint,1,opt,name=skip" json:"skip,omitempty"` - Required *bool `protobuf:"varint,2,opt,name=required" json:"required,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MessageRules) Reset() { *m = MessageRules{} } -func (m *MessageRules) String() string { return proto.CompactTextString(m) } -func (*MessageRules) ProtoMessage() {} -func (*MessageRules) Descriptor() ([]byte, []int) { - return fileDescriptor_validate_943c924e5dee4604, []int{17} -} -func (m *MessageRules) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MessageRules.Unmarshal(m, b) -} -func (m *MessageRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MessageRules.Marshal(b, m, deterministic) -} -func (dst *MessageRules) XXX_Merge(src proto.Message) { - xxx_messageInfo_MessageRules.Merge(dst, src) -} -func (m *MessageRules) XXX_Size() int { - return xxx_messageInfo_MessageRules.Size(m) -} -func (m *MessageRules) XXX_DiscardUnknown() { - xxx_messageInfo_MessageRules.DiscardUnknown(m) -} - -var xxx_messageInfo_MessageRules proto.InternalMessageInfo - -func (m *MessageRules) GetSkip() bool { - if m != nil && m.Skip != nil { - return *m.Skip - } - return false -} - -func (m *MessageRules) GetRequired() bool { - if m != nil && m.Required != nil { - return *m.Required - } - return false -} - -type RepeatedRules struct { - MinItems *uint64 `protobuf:"varint,1,opt,name=min_items,json=minItems" json:"min_items,omitempty"` - MaxItems *uint64 `protobuf:"varint,2,opt,name=max_items,json=maxItems" json:"max_items,omitempty"` - Unique *bool `protobuf:"varint,3,opt,name=unique" json:"unique,omitempty"` - Items *FieldRules `protobuf:"bytes,4,opt,name=items" json:"items,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RepeatedRules) Reset() { *m = RepeatedRules{} } -func (m *RepeatedRules) String() string { return proto.CompactTextString(m) } -func (*RepeatedRules) ProtoMessage() {} -func (*RepeatedRules) Descriptor() ([]byte, []int) { - return fileDescriptor_validate_943c924e5dee4604, []int{18} -} -func (m *RepeatedRules) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RepeatedRules.Unmarshal(m, b) -} -func (m *RepeatedRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RepeatedRules.Marshal(b, m, deterministic) -} -func (dst *RepeatedRules) XXX_Merge(src proto.Message) { - xxx_messageInfo_RepeatedRules.Merge(dst, src) -} -func (m *RepeatedRules) XXX_Size() int { - return xxx_messageInfo_RepeatedRules.Size(m) -} -func (m *RepeatedRules) XXX_DiscardUnknown() { - xxx_messageInfo_RepeatedRules.DiscardUnknown(m) -} - -var xxx_messageInfo_RepeatedRules proto.InternalMessageInfo - -func (m *RepeatedRules) GetMinItems() uint64 { - if m != nil && m.MinItems != nil { - return *m.MinItems - } - return 0 -} - -func (m *RepeatedRules) GetMaxItems() uint64 { - if m != nil && m.MaxItems != nil { - return *m.MaxItems - } - return 0 -} - -func (m *RepeatedRules) GetUnique() bool { - if m != nil && m.Unique != nil { - return *m.Unique - } - return false -} - -func (m *RepeatedRules) GetItems() *FieldRules { - if m != nil { - return m.Items - } - return nil -} - -type MapRules struct { - MinPairs *uint64 `protobuf:"varint,1,opt,name=min_pairs,json=minPairs" json:"min_pairs,omitempty"` - MaxPairs *uint64 `protobuf:"varint,2,opt,name=max_pairs,json=maxPairs" json:"max_pairs,omitempty"` - NoSparse *bool `protobuf:"varint,3,opt,name=no_sparse,json=noSparse" json:"no_sparse,omitempty"` - Keys *FieldRules `protobuf:"bytes,4,opt,name=keys" json:"keys,omitempty"` - Values *FieldRules `protobuf:"bytes,5,opt,name=values" json:"values,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *MapRules) Reset() { *m = MapRules{} } -func (m *MapRules) String() string { return proto.CompactTextString(m) } -func (*MapRules) ProtoMessage() {} -func (*MapRules) Descriptor() ([]byte, []int) { - return fileDescriptor_validate_943c924e5dee4604, []int{19} -} -func (m *MapRules) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MapRules.Unmarshal(m, b) -} -func (m *MapRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MapRules.Marshal(b, m, deterministic) -} -func (dst *MapRules) XXX_Merge(src proto.Message) { - xxx_messageInfo_MapRules.Merge(dst, src) -} -func (m *MapRules) XXX_Size() int { - return xxx_messageInfo_MapRules.Size(m) -} -func (m *MapRules) XXX_DiscardUnknown() { - xxx_messageInfo_MapRules.DiscardUnknown(m) -} - -var xxx_messageInfo_MapRules proto.InternalMessageInfo - -func (m *MapRules) GetMinPairs() uint64 { - if m != nil && m.MinPairs != nil { - return *m.MinPairs - } - return 0 -} - -func (m *MapRules) GetMaxPairs() uint64 { - if m != nil && m.MaxPairs != nil { - return *m.MaxPairs - } - return 0 -} - -func (m *MapRules) GetNoSparse() bool { - if m != nil && m.NoSparse != nil { - return *m.NoSparse - } - return false -} - -func (m *MapRules) GetKeys() *FieldRules { - if m != nil { - return m.Keys - } - return nil -} - -func (m *MapRules) GetValues() *FieldRules { - if m != nil { - return m.Values - } - return nil -} - -type AnyRules struct { - Required *bool `protobuf:"varint,1,opt,name=required" json:"required,omitempty"` - In []string `protobuf:"bytes,2,rep,name=in" json:"in,omitempty"` - NotIn []string `protobuf:"bytes,3,rep,name=not_in,json=notIn" json:"not_in,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AnyRules) Reset() { *m = AnyRules{} } -func (m *AnyRules) String() string { return proto.CompactTextString(m) } -func (*AnyRules) ProtoMessage() {} -func (*AnyRules) Descriptor() ([]byte, []int) { - return fileDescriptor_validate_943c924e5dee4604, []int{20} -} -func (m *AnyRules) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AnyRules.Unmarshal(m, b) -} -func (m *AnyRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AnyRules.Marshal(b, m, deterministic) -} -func (dst *AnyRules) XXX_Merge(src proto.Message) { - xxx_messageInfo_AnyRules.Merge(dst, src) -} -func (m *AnyRules) XXX_Size() int { - return xxx_messageInfo_AnyRules.Size(m) -} -func (m *AnyRules) XXX_DiscardUnknown() { - xxx_messageInfo_AnyRules.DiscardUnknown(m) -} - -var xxx_messageInfo_AnyRules proto.InternalMessageInfo - -func (m *AnyRules) GetRequired() bool { - if m != nil && m.Required != nil { - return *m.Required - } - return false -} - -func (m *AnyRules) GetIn() []string { - if m != nil { - return m.In - } - return nil -} - -func (m *AnyRules) GetNotIn() []string { - if m != nil { - return m.NotIn - } - return nil -} - -type DurationRules struct { - Required *bool `protobuf:"varint,1,opt,name=required" json:"required,omitempty"` - Const *duration.Duration `protobuf:"bytes,2,opt,name=const" json:"const,omitempty"` - Lt *duration.Duration `protobuf:"bytes,3,opt,name=lt" json:"lt,omitempty"` - Lte *duration.Duration `protobuf:"bytes,4,opt,name=lte" json:"lte,omitempty"` - Gt *duration.Duration `protobuf:"bytes,5,opt,name=gt" json:"gt,omitempty"` - Gte *duration.Duration `protobuf:"bytes,6,opt,name=gte" json:"gte,omitempty"` - In []*duration.Duration `protobuf:"bytes,7,rep,name=in" json:"in,omitempty"` - NotIn []*duration.Duration `protobuf:"bytes,8,rep,name=not_in,json=notIn" json:"not_in,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DurationRules) Reset() { *m = DurationRules{} } -func (m *DurationRules) String() string { return proto.CompactTextString(m) } -func (*DurationRules) ProtoMessage() {} -func (*DurationRules) Descriptor() ([]byte, []int) { - return fileDescriptor_validate_943c924e5dee4604, []int{21} -} -func (m *DurationRules) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DurationRules.Unmarshal(m, b) -} -func (m *DurationRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DurationRules.Marshal(b, m, deterministic) -} -func (dst *DurationRules) XXX_Merge(src proto.Message) { - xxx_messageInfo_DurationRules.Merge(dst, src) -} -func (m *DurationRules) XXX_Size() int { - return xxx_messageInfo_DurationRules.Size(m) -} -func (m *DurationRules) XXX_DiscardUnknown() { - xxx_messageInfo_DurationRules.DiscardUnknown(m) -} - -var xxx_messageInfo_DurationRules proto.InternalMessageInfo - -func (m *DurationRules) GetRequired() bool { - if m != nil && m.Required != nil { - return *m.Required - } - return false -} - -func (m *DurationRules) GetConst() *duration.Duration { - if m != nil { - return m.Const - } - return nil -} - -func (m *DurationRules) GetLt() *duration.Duration { - if m != nil { - return m.Lt - } - return nil -} - -func (m *DurationRules) GetLte() *duration.Duration { - if m != nil { - return m.Lte - } - return nil -} - -func (m *DurationRules) GetGt() *duration.Duration { - if m != nil { - return m.Gt - } - return nil -} - -func (m *DurationRules) GetGte() *duration.Duration { - if m != nil { - return m.Gte - } - return nil -} - -func (m *DurationRules) GetIn() []*duration.Duration { - if m != nil { - return m.In - } - return nil -} - -func (m *DurationRules) GetNotIn() []*duration.Duration { - if m != nil { - return m.NotIn - } - return nil -} - -type TimestampRules struct { - Required *bool `protobuf:"varint,1,opt,name=required" json:"required,omitempty"` - Const *timestamp.Timestamp `protobuf:"bytes,2,opt,name=const" json:"const,omitempty"` - Lt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=lt" json:"lt,omitempty"` - Lte *timestamp.Timestamp `protobuf:"bytes,4,opt,name=lte" json:"lte,omitempty"` - Gt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=gt" json:"gt,omitempty"` - Gte *timestamp.Timestamp `protobuf:"bytes,6,opt,name=gte" json:"gte,omitempty"` - LtNow *bool `protobuf:"varint,7,opt,name=lt_now,json=ltNow" json:"lt_now,omitempty"` - GtNow *bool `protobuf:"varint,8,opt,name=gt_now,json=gtNow" json:"gt_now,omitempty"` - Within *duration.Duration `protobuf:"bytes,9,opt,name=within" json:"within,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TimestampRules) Reset() { *m = TimestampRules{} } -func (m *TimestampRules) String() string { return proto.CompactTextString(m) } -func (*TimestampRules) ProtoMessage() {} -func (*TimestampRules) Descriptor() ([]byte, []int) { - return fileDescriptor_validate_943c924e5dee4604, []int{22} -} -func (m *TimestampRules) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TimestampRules.Unmarshal(m, b) -} -func (m *TimestampRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TimestampRules.Marshal(b, m, deterministic) -} -func (dst *TimestampRules) XXX_Merge(src proto.Message) { - xxx_messageInfo_TimestampRules.Merge(dst, src) -} -func (m *TimestampRules) XXX_Size() int { - return xxx_messageInfo_TimestampRules.Size(m) -} -func (m *TimestampRules) XXX_DiscardUnknown() { - xxx_messageInfo_TimestampRules.DiscardUnknown(m) -} - -var xxx_messageInfo_TimestampRules proto.InternalMessageInfo - -func (m *TimestampRules) GetRequired() bool { - if m != nil && m.Required != nil { - return *m.Required - } - return false -} - -func (m *TimestampRules) GetConst() *timestamp.Timestamp { - if m != nil { - return m.Const - } - return nil -} - -func (m *TimestampRules) GetLt() *timestamp.Timestamp { - if m != nil { - return m.Lt - } - return nil -} - -func (m *TimestampRules) GetLte() *timestamp.Timestamp { - if m != nil { - return m.Lte - } - return nil -} - -func (m *TimestampRules) GetGt() *timestamp.Timestamp { - if m != nil { - return m.Gt - } - return nil -} - -func (m *TimestampRules) GetGte() *timestamp.Timestamp { - if m != nil { - return m.Gte - } - return nil -} - -func (m *TimestampRules) GetLtNow() bool { - if m != nil && m.LtNow != nil { - return *m.LtNow - } - return false -} - -func (m *TimestampRules) GetGtNow() bool { - if m != nil && m.GtNow != nil { - return *m.GtNow - } - return false -} - -func (m *TimestampRules) GetWithin() *duration.Duration { - if m != nil { - return m.Within - } - return nil -} - -var E_Disabled = &proto.ExtensionDesc{ - ExtendedType: (*descriptor.MessageOptions)(nil), - ExtensionType: (*bool)(nil), - Field: 919191, - Name: "validate.disabled", - Tag: "varint,919191,opt,name=disabled", - Filename: "validate/validate.proto", -} - -var E_Required = &proto.ExtensionDesc{ - ExtendedType: (*descriptor.OneofOptions)(nil), - ExtensionType: (*bool)(nil), - Field: 919191, - Name: "validate.required", - Tag: "varint,919191,opt,name=required", - Filename: "validate/validate.proto", -} - -var E_Rules = &proto.ExtensionDesc{ - ExtendedType: (*descriptor.FieldOptions)(nil), - ExtensionType: (*FieldRules)(nil), - Field: 919191, - Name: "validate.rules", - Tag: "bytes,919191,opt,name=rules", - Filename: "validate/validate.proto", -} - -func init() { - proto.RegisterType((*FieldRules)(nil), "validate.FieldRules") - proto.RegisterType((*FloatRules)(nil), "validate.FloatRules") - proto.RegisterType((*DoubleRules)(nil), "validate.DoubleRules") - proto.RegisterType((*Int32Rules)(nil), "validate.Int32Rules") - proto.RegisterType((*Int64Rules)(nil), "validate.Int64Rules") - proto.RegisterType((*UInt32Rules)(nil), "validate.UInt32Rules") - proto.RegisterType((*UInt64Rules)(nil), "validate.UInt64Rules") - proto.RegisterType((*SInt32Rules)(nil), "validate.SInt32Rules") - proto.RegisterType((*SInt64Rules)(nil), "validate.SInt64Rules") - proto.RegisterType((*Fixed32Rules)(nil), "validate.Fixed32Rules") - proto.RegisterType((*Fixed64Rules)(nil), "validate.Fixed64Rules") - proto.RegisterType((*SFixed32Rules)(nil), "validate.SFixed32Rules") - proto.RegisterType((*SFixed64Rules)(nil), "validate.SFixed64Rules") - proto.RegisterType((*BoolRules)(nil), "validate.BoolRules") - proto.RegisterType((*StringRules)(nil), "validate.StringRules") - proto.RegisterType((*BytesRules)(nil), "validate.BytesRules") - proto.RegisterType((*EnumRules)(nil), "validate.EnumRules") - proto.RegisterType((*MessageRules)(nil), "validate.MessageRules") - proto.RegisterType((*RepeatedRules)(nil), "validate.RepeatedRules") - proto.RegisterType((*MapRules)(nil), "validate.MapRules") - proto.RegisterType((*AnyRules)(nil), "validate.AnyRules") - proto.RegisterType((*DurationRules)(nil), "validate.DurationRules") - proto.RegisterType((*TimestampRules)(nil), "validate.TimestampRules") - proto.RegisterExtension(E_Disabled) - proto.RegisterExtension(E_Required) - proto.RegisterExtension(E_Rules) -} - -func init() { proto.RegisterFile("validate/validate.proto", fileDescriptor_validate_943c924e5dee4604) } - -var fileDescriptor_validate_943c924e5dee4604 = []byte{ - // 1639 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x98, 0x4b, 0x6f, 0xdb, 0xca, - 0x15, 0xc7, 0x2b, 0xbe, 0x44, 0x8d, 0xa5, 0x48, 0x9a, 0x6b, 0x3b, 0xbc, 0xee, 0xe3, 0x3a, 0x5a, - 0x14, 0x4e, 0x1a, 0x58, 0xa9, 0xe3, 0x0a, 0x41, 0x82, 0x16, 0xa8, 0x91, 0x06, 0x0d, 0xda, 0x34, - 0x05, 0xdd, 0x2c, 0xda, 0x8d, 0x40, 0x5b, 0x23, 0x66, 0x60, 0x6a, 0xc8, 0x90, 0x94, 0x2d, 0x7d, - 0x88, 0xb4, 0xdd, 0xf5, 0xb3, 0x74, 0xd5, 0x7d, 0xbf, 0x49, 0xd7, 0xdd, 0x76, 0x51, 0xcc, 0x8b, - 0x8f,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f, 0x0d, 0x79, 0x6c, 0xc8, 0x63, 0x43, 0x1e, 0xbb, 0x85, 0xc7, 0x06, - 0x3c, 0xea, 0xa1, 0xad, 0xf3, 0x98, 0x4d, 0x1e, 0x13, 0xf2, 0x98, 0x90, 0xc7, 0x84, 0x3c, 0x26, - 0xe4, 0x31, 0x5b, 0x78, 0xcc, 0xea, 0x86, 0x7d, 0xba, 0xcf, 0xa0, 0x41, 0x13, 0x68, 0x00, 0x81, - 0x06, 0x10, 0x68, 0x00, 0x81, 0x06, 0x10, 0x68, 0xd0, 0x02, 0x34, 0x80, 0x40, 0xad, 0x0e, 0x59, - 0x4d, 0x20, 0x0b, 0x02, 0x59, 0x10, 0xc8, 0x82, 0x40, 0x16, 0x04, 0xb2, 0x5a, 0x80, 0xac, 0x2a, - 0xd0, 0xe5, 0x7d, 0x0e, 0x8d, 0x9b, 0x40, 0x63, 0x08, 0x34, 0x86, 0x40, 0x63, 0x08, 0x34, 0x86, - 0x40, 0xe3, 0x16, 0xa0, 0x31, 0x04, 0x6a, 0x75, 0x08, 0x37, 0x81, 0x30, 0x04, 0xc2, 0x10, 0x08, - 0x43, 0x20, 0x0c, 0x81, 0x70, 0x0b, 0x10, 0xd6, 0x40, 0x7f, 0xeb, 0xa0, 0x7e, 0xf5, 0x06, 0xab, - 0x13, 0x75, 0x9b, 0x44, 0x5d, 0x48, 0xd4, 0x85, 0x44, 0x5d, 0x48, 0xd4, 0x85, 0x44, 0xdd, 0x16, - 0xa2, 0x6e, 0x83, 0xa8, 0xd5, 0x23, 0xa7, 0x49, 0xe4, 0x40, 0x22, 0x07, 0x12, 0x39, 0x90, 0xc8, - 0x81, 0x44, 0x4e, 0x0b, 0x91, 0xa3, 0x89, 0xfe, 0xde, 0x41, 0x83, 0xcb, 0xfb, 0x4d, 0x1a, 0x36, - 0x91, 0x86, 0x10, 0x69, 0x08, 0x91, 0x86, 0x10, 0x69, 0x08, 0x91, 0x86, 0x2d, 0x48, 0xc3, 0x26, - 0x52, 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 0x97, 0x8d, 0x62, 0x5d, 0xf0, 0xfa, 0x77, - 0xc8, 0x4e, 0xc5, 0x3e, 0x37, 0x2b, 0xc5, 0xa3, 0x5d, 0xaf, 0xbc, 0xf7, 0xd4, 0x12, 0x73, 0x5c, - 0xfc, 0x19, 0x1d, 0xd1, 0xf8, 0x94, 0xb0, 0xdb, 0x78, 0x9b, 0xa4, 0xf1, 0x66, 0x7b, 0x9a, 0x84, - 0xb7, 0x85, 0xfe, 0x2f, 0x6f, 0xd4, 0x02, 0x61, 0x1c, 0x05, 0x2c, 0x3c, 0x8d, 0xd3, 0x70, 0x1a, - 0xa6, 0xc9, 0xf5, 0xf4, 0x2a, 0x88, 0x02, 0x76, 0x4d, 0xd2, 0xe9, 0x66, 0x91, 0x4d, 0x29, 0xe3, - 0x77, 0x5f, 0x10, 0xc9, 0xef, 0x9a, 0xc5, 0x07, 0xd4, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff, 0x09, - 0x25, 0xe8, 0x78, 0x54, 0x15, 0x00, 0x00, -} From 3d56c55d5efaf8ef7af61381f0d0c099ab509772 Mon Sep 17 00:00:00 2001 From: Trinh Dai Phuc <1653068@student.hcmus.edu.vn> Date: Mon, 23 Dec 2019 14:35:12 +0700 Subject: [PATCH 2/3] Change port --- docker-compose.yml | 2 +- server/main.go | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index e3d4b3e4..190d616e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -27,7 +27,7 @@ services: - 8080:8080 environment: - GRPC_VERBOSITY=debug - - SERVER_HOST=grpc_app:51051 + - SERVER_HOST=grpc_app:50051 mongo: image: "mongo:4.2.1" diff --git a/server/main.go b/server/main.go index a4bb6287..386cf60f 100644 --- a/server/main.go +++ b/server/main.go @@ -40,13 +40,13 @@ func main() { flag.Parse() defer glog.Flush() log.SetFlags(log.LstdFlags | log.Lshortfile) - fmt.Println("Starting server on port :51051...") + fmt.Println("Starting server on port :50051...") - // Start our listener, 51051 is the default gRPC port - listener, err := net.Listen("tcp", ":51051") + // Start our listener, 50051 is the default gRPC port + listener, err := net.Listen("tcp", ":50051") // Handle errors if any if err != nil { - log.Fatalf("Unable to listen on port :51051: %v", err) + log.Fatalf("Unable to listen on port :50051: %v", err) } // Set options, here we can configure things like TLS support opts := []grpc.ServerOption{} @@ -89,7 +89,7 @@ func main() { glog.Fatal(err) } }() - fmt.Println("Server succesfully started on port :51051") + fmt.Println("Server succesfully started on port :50051") // Right way to stop the server using a SHUTDOWN HOOK // Create a channel to receive OS signals From cacde4d1d4d1b9079d7d63c34a9f5f8f7466f996 Mon Sep 17 00:00:00 2001 From: Trinh Dai Phuc <1653068@student.hcmus.edu.vn> Date: Sat, 8 Feb 2020 10:22:56 +0700 Subject: [PATCH 3/3] separate package and change list entity into stream response --- Readme.md | 2 +- server/main.go => main.go | 30 +++++++++------------------- models/entity.go | 18 +++++++++++++++++ protos/entity.proto | 2 +- {server => services}/createEntity.go | 9 +++++---- {server => services}/deleteEntity.go | 5 +++-- {server => services}/listEntity.go | 17 ++++++---------- {server => services}/readEntity.go | 8 +++++--- services/service.go | 7 +++++++ {server => services}/updateEntity.go | 7 ++++--- 10 files changed, 59 insertions(+), 46 deletions(-) rename server/main.go => main.go (80%) create mode 100644 models/entity.go rename {server => services}/createEntity.go (88%) rename {server => services}/deleteEntity.go (93%) rename {server => services}/listEntity.go (85%) rename {server => services}/readEntity.go (85%) create mode 100644 services/service.go rename {server => services}/updateEntity.go (86%) diff --git a/Readme.md b/Readme.md index 46704c98..1a51c99b 100644 --- a/Readme.md +++ b/Readme.md @@ -47,7 +47,7 @@ Install MongoDB and make sure it's running on localhost:27017 ## Update entity -`curl -X PUT 'http://localhost:8080/entities' -d '{"id":"5d11e8ee9dadaf6eef8599b9","name":"Phuc qua dep trai","description":"Kha la banh","url":"phucdeptrai.com.vn"}'` +`curl -X PUT 'http://localhost:8080/entities' -d '{"id":"5dff0ab0ac327677d38754dd","name":"Phuc dep trai vai","description":"Qua la banh","url":"phuchotboy.com.vn"}'` ## Delete entity diff --git a/server/main.go b/main.go similarity index 80% rename from server/main.go rename to main.go index 386cf60f..827321d4 100644 --- a/server/main.go +++ b/main.go @@ -9,29 +9,17 @@ import ( "os" "os/signal" + "github.com/golang/glog" "github.com/joho/godotenv" + "github.com/trinhdaiphuc/Example-CRUD-with-Mongo-use-http-transcoding-to-gRPC/models" pb "github.com/trinhdaiphuc/Example-CRUD-with-Mongo-use-http-transcoding-to-gRPC/protos" - - "github.com/golang/glog" - "go.mongodb.org/mongo-driver/bson/primitive" + "github.com/trinhdaiphuc/Example-CRUD-with-Mongo-use-http-transcoding-to-gRPC/services" "go.mongodb.org/mongo-driver/mongo" "go.mongodb.org/mongo-driver/mongo/options" "google.golang.org/grpc" ) // Global variables for db connection , collection and context -var db *mongo.Client -var entitydb *mongo.Collection -var mongoCtx context.Context - -type EntityServiceServer struct{} - -type EntityItem struct { - ID primitive.ObjectID `bson:"_id,omitempty"` - Name string `bson:"name"` - Description string `bson:"description"` - URL string `bson:"url"` -} func main() { // Configure 'log' package to give file name and line number on eg. log.Fatal @@ -53,7 +41,7 @@ func main() { // Create new gRPC server with (blank) options s := grpc.NewServer(opts...) // Create EntityService type - srv := &EntityServiceServer{} + srv := &services.EntityServiceServer{} // Register the service with the server pb.RegisterEntityServiceServer(s, srv) @@ -61,10 +49,10 @@ func main() { fmt.Println("Connecting to MongoDB...") // non-nil empty context - mongoCtx = context.Background() + mongoctx := context.Background() // Connect takes in a context and options, the connection URI is the only option we pass for now - db, err = mongo.Connect(mongoCtx, options.Client().ApplyURI(os.Getenv("DB_HOST"))) + db, err := mongo.Connect(mongoctx, options.Client().ApplyURI(os.Getenv("DB_HOST"))) fmt.Println("DB_HOST ", os.Getenv("DB_HOST")) // Handle potential errors if err != nil { @@ -73,14 +61,14 @@ func main() { } // Check whether the connection was succesful by pinging the MongoDB server - err = db.Ping(mongoCtx, nil) + err = db.Ping(mongoctx, nil) if err != nil { log.Fatalf("Could not connect to MongoDB: %v\n", err) } else { fmt.Println("Connected to Mongodb") } // Bind our collection to our global variable for use in other methods - entitydb = db.Database("mydb").Collection("entity") + srv.EntityCollection = models.NewEntityCollection(db) // Start the server in a child routine go func() { @@ -108,6 +96,6 @@ func main() { s.Stop() listener.Close() fmt.Println("Closing MongoDB connection") - db.Disconnect(mongoCtx) + db.Disconnect(mongoctx) fmt.Println("Done.") } diff --git a/models/entity.go b/models/entity.go new file mode 100644 index 00000000..d47c0f4b --- /dev/null +++ b/models/entity.go @@ -0,0 +1,18 @@ +package models + +import ( + "go.mongodb.org/mongo-driver/bson/primitive" + "go.mongodb.org/mongo-driver/mongo" +) + +type EntityItem struct { + ID primitive.ObjectID `bson:"_id,omitempty"` + Name string `bson:"name"` + Description string `bson:"description"` + URL string `bson:"url"` +} + +func NewEntityCollection(db *mongo.Client) (entityCollection *mongo.Collection) { + entityCollection = db.Database("mydb").Collection("entity") + return +} diff --git a/protos/entity.proto b/protos/entity.proto index 47735df2..d54d0925 100644 --- a/protos/entity.proto +++ b/protos/entity.proto @@ -79,6 +79,6 @@ message DeleteEntityRes { message ListEntitiesReq {} message ListEntitiesRes { - repeated Entity entity = 1; + Entity entity = 1; } diff --git a/server/createEntity.go b/services/createEntity.go similarity index 88% rename from server/createEntity.go rename to services/createEntity.go index 71285c6f..4475aa34 100644 --- a/server/createEntity.go +++ b/services/createEntity.go @@ -1,12 +1,13 @@ -package main +package services import ( "context" "fmt" pb "github.com/trinhdaiphuc/Example-CRUD-with-Mongo-use-http-transcoding-to-gRPC/protos" - "go.mongodb.org/mongo-driver/bson/primitive" + + "github.com/trinhdaiphuc/Example-CRUD-with-Mongo-use-http-transcoding-to-gRPC/models" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) @@ -16,7 +17,7 @@ func (s *EntityServiceServer) CreateEntity(ctx context.Context, req *pb.CreateEn // Essentially doing req.Entity to access the struct with a nil check entity := req.GetEntity() // Now we have to convert this into a EtityItem type to convert into BSON - data := EntityItem{ + data := &models.EntityItem{ // ID: Empty, so it gets omitted and MongoDB generates a unique Object ID upon insertion. Name: entity.GetName(), Description: entity.GetDescription(), @@ -24,7 +25,7 @@ func (s *EntityServiceServer) CreateEntity(ctx context.Context, req *pb.CreateEn } // Insert the data into the database, result contains the newly generated Object ID for the new document - result, err := entitydb.InsertOne(mongoCtx, data) + result, err := s.EntityCollection.InsertOne(ctx, data) // check for potential errors if err != nil { // return internal gRPC error to be handled later diff --git a/server/deleteEntity.go b/services/deleteEntity.go similarity index 93% rename from server/deleteEntity.go rename to services/deleteEntity.go index 831e7e91..d4abc101 100644 --- a/server/deleteEntity.go +++ b/services/deleteEntity.go @@ -1,4 +1,4 @@ -package main +package services import ( "context" @@ -20,9 +20,10 @@ func (s *EntityServiceServer) DeleteEntity(ctx context.Context, req *pb.DeleteEn if err != nil { return nil, status.Errorf(codes.InvalidArgument, fmt.Sprintf("Could not convert to ObjectId: %v", err)) } + // DeleteOne returns DeleteResult which is a struct containing the amount of deleted docs (in this case only 1 always) // So we return a boolean instead - _, err = entitydb.DeleteOne(ctx, bson.M{"_id": oid}) + _, err = s.EntityCollection.DeleteOne(ctx, bson.M{"_id": oid}) // Check for errors if err != nil { return nil, status.Errorf(codes.NotFound, fmt.Sprintf("Could not find/delete Entity with id %s: %v", req.GetId(), err)) diff --git a/server/listEntity.go b/services/listEntity.go similarity index 85% rename from server/listEntity.go rename to services/listEntity.go index d307df3b..7477f000 100644 --- a/server/listEntity.go +++ b/services/listEntity.go @@ -1,9 +1,10 @@ -package main +package services import ( "context" "fmt" + "github.com/trinhdaiphuc/Example-CRUD-with-Mongo-use-http-transcoding-to-gRPC/models" pb "github.com/trinhdaiphuc/Example-CRUD-with-Mongo-use-http-transcoding-to-gRPC/protos" "go.mongodb.org/mongo-driver/bson" @@ -14,9 +15,9 @@ import ( // ListEntities is a gRPC function to list all entities in MongoDB func (s *EntityServiceServer) ListEntities(req *pb.ListEntitiesReq, stream pb.EntityService_ListEntitiesServer) error { // Initiate a EntityItem type to write decoded data to - data := &EntityItem{} + data := &models.EntityItem{} // collection.Find returns a cursor for our (empty) query - cursor, err := entitydb.Find(context.Background(), bson.M{}) + cursor, err := s.EntityCollection.Find(context.Background(), bson.M{}) if cursor == nil { status.New(codes.FailedPrecondition, "No users have been created") } @@ -26,7 +27,6 @@ func (s *EntityServiceServer) ListEntities(req *pb.ListEntitiesReq, stream pb.En // An expression with defer will be called at the end of the function defer cursor.Close(context.Background()) // cursor.Next() returns a boolean, if false there are no more items and loop will break - var Entities []*pb.Entity for cursor.Next(context.Background()) { // Decode the data at the current pointer and write it to data err := cursor.Decode(data) @@ -35,14 +35,12 @@ func (s *EntityServiceServer) ListEntities(req *pb.ListEntitiesReq, stream pb.En return status.Errorf(codes.Unavailable, fmt.Sprintf("Could not decode data: %v", err)) } // If no error is found send Entity over stream - entityItem := &pb.Entity{ + stream.Send(&pb.ListEntitiesRes{Entity: &pb.Entity{ Id: data.ID.Hex(), Name: data.Name, Description: data.Description, Url: data.URL, - } - - Entities = append(Entities, entityItem) + }}) } // Check if the cursor has any errors @@ -50,8 +48,5 @@ func (s *EntityServiceServer) ListEntities(req *pb.ListEntitiesReq, stream pb.En return status.Errorf(codes.Internal, fmt.Sprintf("Unkown cursor error: %v", err)) } - stream.Send(&pb.ListEntitiesRes{ - Entity: Entities, - }) return nil } diff --git a/server/readEntity.go b/services/readEntity.go similarity index 85% rename from server/readEntity.go rename to services/readEntity.go index 8471dd0b..42e5e13e 100644 --- a/server/readEntity.go +++ b/services/readEntity.go @@ -1,9 +1,10 @@ -package main +package services import ( "context" "fmt" + "github.com/trinhdaiphuc/Example-CRUD-with-Mongo-use-http-transcoding-to-gRPC/models" pb "github.com/trinhdaiphuc/Example-CRUD-with-Mongo-use-http-transcoding-to-gRPC/protos" "go.mongodb.org/mongo-driver/bson" @@ -19,9 +20,10 @@ func (s *EntityServiceServer) ReadEntity(ctx context.Context, req *pb.ReadEntity if err != nil { return nil, status.Errorf(codes.InvalidArgument, fmt.Sprintf("Could not convert to ObjectId: %v", err)) } - result := entitydb.FindOne(ctx, bson.M{"_id": oid}) + + result := s.EntityCollection.FindOne(ctx, bson.M{"_id": oid}) // Create an empty EntityItem to write our decode result to - data := EntityItem{} + data := &models.EntityItem{} // decode and write to data if err := result.Decode(&data); err != nil { return nil, status.Errorf(codes.NotFound, fmt.Sprintf("Could not find Entity with Object Id %s: %v", req.GetId(), err)) diff --git a/services/service.go b/services/service.go new file mode 100644 index 00000000..f07863ba --- /dev/null +++ b/services/service.go @@ -0,0 +1,7 @@ +package services + +import "go.mongodb.org/mongo-driver/mongo" + +type EntityServiceServer struct { + EntityCollection *mongo.Collection +} diff --git a/server/updateEntity.go b/services/updateEntity.go similarity index 86% rename from server/updateEntity.go rename to services/updateEntity.go index 1f3dfb4d..c9d20b39 100644 --- a/server/updateEntity.go +++ b/services/updateEntity.go @@ -1,9 +1,10 @@ -package main +package services import ( "context" "fmt" + "github.com/trinhdaiphuc/Example-CRUD-with-Mongo-use-http-transcoding-to-gRPC/models" pb "github.com/trinhdaiphuc/Example-CRUD-with-Mongo-use-http-transcoding-to-gRPC/protos" "go.mongodb.org/mongo-driver/bson" @@ -39,10 +40,10 @@ func (s *EntityServiceServer) UpdateEntity(ctx context.Context, req *pb.UpdateEn // Result is the BSON encoded result // To return the updated document instead of original we have to add options. - result := entitydb.FindOneAndUpdate(ctx, filter, bson.M{"$set": update}, options.FindOneAndUpdate().SetReturnDocument(1)) + result := s.EntityCollection.FindOneAndUpdate(ctx, filter, bson.M{"$set": update}, options.FindOneAndUpdate().SetReturnDocument(1)) // Decode result and write it to 'decoded' - decoded := EntityItem{} + decoded := &models.EntityItem{} err = result.Decode(&decoded) if err != nil { return nil, status.Errorf(